diff --git a/clients/aws-sdk-acm/pyproject.toml b/clients/aws-sdk-acm/pyproject.toml index f5a1e1e3e..56daae43e 100644 --- a/clients/aws-sdk-acm/pyproject.toml +++ b/clients/aws-sdk-acm/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_acm" version = "0.12.0" -description = "aws_sdk_acm client" +description = "Python client for AWS Certificate Manager" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_acm"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas.py b/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas.py index f9bb631f0..df583fd3c 100644 --- a/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas.py +++ b/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas.py @@ -1,3546 +1,326 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.acm" -_SEM = "ServiceErrorMessage" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_M = "Message" -_AAI = "AcmeAccountId" -_A = "Arn" -_CKPO = "CertificateKeyPairOrigin" -_AM = "AWS_MANAGED" -_sV = "smithy.api#enumValue" -_ACME = "ACME" -_CP = "CUSTOMER_PROVIDED" -_TS = "TStamp" -_NB = "NullableBoolean" -_CE = "CertificateExport" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_CMB = "CertificateManagedBy" -_CLOUDFRONT = "CLOUDFRONT" -_RE = "RenewalEligibility" -_ELIGIBLE = "ELIGIBLE" -_INELIGIBLE = "INELIGIBLE" -_RS = "RenewalStatus" -_PAR = "PENDING_AUTO_RENEWAL" -_PV = "PENDING_VALIDATION" -_SUCCESS = "SUCCESS" -_FAILED = "FAILED" -_CS = "CertificateStatus" -_ISSUED = "ISSUED" -_INACTIVE = "INACTIVE" -_EXPIRED = "EXPIRED" -_VTO = "VALIDATION_TIMED_OUT" -_REVOKED = "REVOKED" -_CT = "CertificateType" -_IMPORTED = "IMPORTED" -_AI = "AMAZON_ISSUED" -_PRIVATE = "PRIVATE" -_VM = "ValidationMethod" -_EMAIL = "EMAIL" -_DNS = "DNS" -_HTTP = "HTTP" -_ACM = "AcmCertificateMetadata" -_CA = "CreatedAt" -_E = "Exported" -_IA = "ImportedAt" -_IU = "InUse" -_IAs = "IssuedAt" -_RA = "RevokedAt" -_S = "Status" -_T = "Type" -_EO = "ExportOption" -_MB = "ManagedBy" -_AEA = "AcmeEndpointArn" -_ACMF = "AcmCertificateMetadataFilter" -_AEABA = "AcmeExternalAccountBindingArn" -_CL = "ContactList" -_sm = "smithy.api#sensitive" -_m = "member" -_AAS = "AcmeAccountStatus" -_VALID = "VALID" -_DEACTIVATED = "DEACTIVATED" -_AA = "AcmeAccount" -_AU = "AccountUrl" -_PKT = "PublicKeyThumbprint" -_C = "Contacts" -_AASc = "AcmeAccountSummary" -_AAL = "AcmeAccountList" -_AAB = "AcmeAuthorizationBehavior" -_PA = "PRE_APPROVED" -_AC = "AcmeContact" -_REQUIRED = "REQUIRED" -_NR = "NOT_REQUIRED" -_ADVA = "AcmeDomainValidationArn" -_DN = "DomainName" -_ADVFR = "AcmeDomainValidationFailureReason" -_AD = "ACCESS_DENIED" -_DM = "DOMAIN_MISMATCH" -_DNA = "DOMAIN_NOT_ALLOWED" -_ENA = "ENDPOINT_NOT_ACTIVE" -_HZNF = "HOSTED_ZONE_NOT_FOUND" -_IF = "INTERNAL_FAILURE" -_ICB = "INVALID_CHANGE_BATCH" -_IPD = "INVALID_PUBLIC_DOMAIN" -_TO = "TIMED_OUT" -_FD = "FailureDetails" -_R = "Reason" -_DSO = "DomainScopeOption" -_DS = "DomainScope" -_ED = "ExactDomain" -_Su = "Subdomains" -_W = "Wildcards" -_HZI = "HostedZoneId" -_St = "String" -_RT = "RecordType" -_CNAME = "CNAME" -_RR = "ResourceRecord" -_N = "Name" -_smi = "smithy.api#required" -_V = "Value" -_DPD = "DnsPrevalidationDetails" -_PD = "PrevalidationDetails" -_DP = "DnsPrevalidation" -_PT = "PrevalidationType" -_DP_ = "DNS_PREVALIDATION" -_ADVS = "AcmeDomainValidationStatus" -_VALIDATING = "VALIDATING" -_INVALID = "INVALID" -_DELETING = "DELETING" -_ADV = "AcmeDomainValidation" -_UA = "UpdatedAt" -_ADVSc = "AcmeDomainValidationSummary" -_ADVL = "AcmeDomainValidationList" -_PKA = "PublicKeyAlgorithm" -_R_ = "RSA_2048" -_EPV = "EC_PRIME256_V1" -_Ep = "EC_prime256v1" -_ESR = "EC_SECP384_R1" -_Es = "EC_secp384r1" -_PKAL = "PublicKeyAlgorithmList" -_PCA = "PublicCertificateAuthority" -_AKA = "AllowedKeyAlgorithms" -_CAe = "CertificateAuthority" -_TK = "TagKey" -_TV = "TagValue" -_Ta = "Tag" -_K = "Key" -_TL = "TagList" -_AES = "AcmeEndpointStatus" -_CREATING = "CREATING" -_ACTIVE = "ACTIVE" -_AE = "AcmeEndpoint" -_EU = "EndpointUrl" -_FR = "FailureReason" -_AB = "AuthorizationBehavior" -_Co = "Contact" -_CTe = "CertificateTags" -_AESc = "AcmeEndpointSummary" -_AEL = "AcmeEndpointList" -_RAo = "RoleArn" -_AEAB = "AcmeExternalAccountBinding" -_EA = "ExpiresAt" -_LUA = "LastUsedAt" -_AEABS = "AcmeExternalAccountBindingSummary" -_AEABL = "AcmeExternalAccountBindingList" -_ATTCI = "AddTagsToCertificateInput" -_sSI = "smithy.synthetic#originalShapeId" -_cATTCR = "com.amazonaws.acm#AddTagsToCertificateRequest" -_smit = "smithy.api#input" -_CAer = "CertificateArn" -_Tag = "Tags" -_ATTCO = "AddTagsToCertificateOutput" -_sU = "smithy.api#Unit" -_smith = "smithy.api#output" -_IAE = "InvalidArnException" -_me = "message" -_IPE = "InvalidParameterException" -_ITE = "InvalidTagException" -_RNFE = "ResourceNotFoundException" -_TPE = "TagPolicyException" -_AEM = "AvailabilityErrorMessage" -_CATR = "CoralAvailabilityThrottlingReason" -_CATRo = "CoralAvailabilityThrottledResource" -_TR = "ThrottlingReason" -_r = "reason" -_re = "resource" -_TRL = "ThrottlingReasonList" -_TE = "ThrottlingException" -_tR = "throttlingReasons" -_TMTE = "TooManyTagsException" -_VEM = "ValidationExceptionMessage" -_VE = "ValidationException" -_ATTC = "AddTagsToCertificate" -_sCP = "smithy.rules#staticContextParams" -_CB = "CertificateBody" -_CBB = "CertificateBodyBlob" -_CC = "CertificateChain" -_CCB = "CertificateChainBlob" -_DNSo = "DomainNameString" -_HR = "HttpRedirect" -_RF = "RedirectFrom" -_RTe = "RedirectTo" -_VEL = "ValidationEmailList" -_DSo = "DomainStatus" -_DV = "DomainValidation" -_VEa = "ValidationEmails" -_VD = "ValidationDomain" -_VS = "ValidationStatus" -_DVL = "DomainValidationList" -_EKUN = "ExtendedKeyUsageName" -_TWSA = "TLS_WEB_SERVER_AUTHENTICATION" -_TWCA = "TLS_WEB_CLIENT_AUTHENTICATION" -_CS_ = "CODE_SIGNING" -_EP = "EMAIL_PROTECTION" -_TS_ = "TIME_STAMPING" -_OS = "OCSP_SIGNING" -_IES = "IPSEC_END_SYSTEM" -_IT = "IPSEC_TUNNEL" -_IU_ = "IPSEC_USER" -_ANY = "ANY" -_NONE = "NONE" -_CUSTOM = "CUSTOM" -_EKU = "ExtendedKeyUsage" -_OID = "OID" -_EKUL = "ExtendedKeyUsageList" -_NAC = "NO_AVAILABLE_CONTACTS" -_AVR = "ADDITIONAL_VERIFICATION_REQUIRED" -_DVD = "DOMAIN_VALIDATION_DENIED" -_CE_ = "CAA_ERROR" -_PLE = "PCA_LIMIT_EXCEEDED" -_PIA = "PCA_INVALID_ARN" -_PIS = "PCA_INVALID_STATE" -_PRF = "PCA_REQUEST_FAILED" -_PNCV = "PCA_NAME_CONSTRAINTS_VALIDATION" -_PRNF = "PCA_RESOURCE_NOT_FOUND" -_PIA_ = "PCA_INVALID_ARGS" -_PID = "PCA_INVALID_DURATION" -_PAD = "PCA_ACCESS_DENIED" -_SNF = "SLR_NOT_FOUND" -_OTHER = "OTHER" -_IUL = "InUseList" -_KA = "KeyAlgorithm" -_R__ = "RSA_1024" -_R___ = "RSA_3072" -_R____ = "RSA_4096" -_Es_ = "EC_secp521r1" -_KUN = "KeyUsageName" -_DS_ = "DIGITAL_SIGNATURE" -_NR_ = "NON_REPUDATION" -_NR__ = "NON_REPUDIATION" -_KE = "KEY_ENCIPHERMENT" -_DE = "DATA_ENCIPHERMENT" -_KA_ = "KEY_AGREEMENT" -_CS__ = "CERTIFICATE_SIGNING" -_CS___ = "CRL_SIGNING" -_EO_ = "ENCHIPER_ONLY" -_EO__ = "ENCIPHER_ONLY" -_DO = "DECIPHER_ONLY" -_KU = "KeyUsage" -_KUL = "KeyUsageList" -_CTLP = "CertificateTransparencyLoggingPreference" -_CO = "CertificateOptions" -_Ex = "Export" -_RSe = "RenewalSummary" -_DVO = "DomainValidationOptions" -_RSR = "RenewalStatusReason" -_RRe = "RevocationReason" -_UNSPECIFIED = "UNSPECIFIED" -_KC = "KEY_COMPROMISE" -_CC_ = "CA_COMPROMISE" -_AC_ = "AFFILIATION_CHANGED" -_SUPERCEDED = "SUPERCEDED" -_SUPERSEDED = "SUPERSEDED" -_COO = "CESSATION_OF_OPERATION" -_CH = "CERTIFICATE_HOLD" -_RFC = "REMOVE_FROM_CRL" -_PW = "PRIVILEGE_WITHDRAWN" -_AAC = "A_A_COMPROMISE" -_DL = "DomainList" -_DVMUS = "DomainValidationMethodUpdateSummary" -_F = "From" -_To = "To" -_US = "UpdateStatus" -_PDV = "PENDING_DOMAIN_VALIDATION" -_UT = "UpdateType" -_DVM = "DOMAIN_VALIDATION_METHOD" -_USp = "UpdateSummary" -_RAe = "RequestedAt" -_CD = "CertificateDetail" -_SAN = "SubjectAlternativeNames" -_Se = "Serial" -_Sub = "Subject" -_I = "Issuer" -_NBo = "NotBefore" -_NA = "NotAfter" -_SA = "SignatureAlgorithm" -_IUB = "InUseBy" -_KUe = "KeyUsages" -_EKUx = "ExtendedKeyUsages" -_CAA = "CertificateAuthorityArn" -_O = "Options" -_TRi = "TimestampRange" -_Sta = "Start" -_En = "End" -_SN = "SerialNumber" -_COo = "ComparisonOperator" -_CONTAINS = "CONTAINS" -_EQUALS = "EQUALS" -_FS = "FilterString" -_CNF = "CommonNameFilter" -_SF = "SubjectFilter" -_CN = "CommonName" -_DNF = "DnsNameFilter" -_SANF = "SubjectAlternativeNameFilter" -_DNn = "DnsName" -_XAF = "X509AttributeFilter" -_SANu = "SubjectAlternativeName" -_CF = "CertificateFilter" -_CKPOe = "CertificateKeyPairOrigins" -_CEo = "ConflictException" -_DPO = "DnsPrevalidationOptions" -_PO = "PrevalidationOptions" -_CADVI = "CreateAcmeDomainValidationInput" -_cCADVR = "com.amazonaws.acm#CreateAcmeDomainValidationRequest" -_ITd = "IdempotencyToken" -_sT = "smithy.api#idempotencyToken" -_CADVO = "CreateAcmeDomainValidationOutput" -_cCADVRo = "com.amazonaws.acm#CreateAcmeDomainValidationResponse" -_ISE = "InternalServerException" -_se = "server" -_SQEE = "ServiceQuotaExceededException" -_CADV = "CreateAcmeDomainValidation" -_CAEI = "CreateAcmeEndpointInput" -_cCAER = "com.amazonaws.acm#CreateAcmeEndpointRequest" -_smithy = "smithy.api#default" -_CAEO = "CreateAcmeEndpointOutput" -_cCAERo = "com.amazonaws.acm#CreateAcmeEndpointResponse" -_CAE = "CreateAcmeEndpoint" -_TT = "TimeType" -_MINUTES = "MINUTES" -_HOURS = "HOURS" -_DAYS = "DAYS" -_Exp = "Expiration" -_CAEABI = "CreateAcmeExternalAccountBindingInput" -_cCAEABR = "com.amazonaws.acm#CreateAcmeExternalAccountBindingRequest" -_CAEABO = "CreateAcmeExternalAccountBindingOutput" -_cCAEABRo = "com.amazonaws.acm#CreateAcmeExternalAccountBindingResponse" -_EAB = "ExternalAccountBinding" -_CAEAB = "CreateAcmeExternalAccountBinding" -_DADVI = "DeleteAcmeDomainValidationInput" -_cDADVR = "com.amazonaws.acm#DeleteAcmeDomainValidationRequest" -_DADVO = "DeleteAcmeDomainValidationOutput" -_DADV = "DeleteAcmeDomainValidation" -_DAEI = "DeleteAcmeEndpointInput" -_cDAER = "com.amazonaws.acm#DeleteAcmeEndpointRequest" -_DAEO = "DeleteAcmeEndpointOutput" -_DAE = "DeleteAcmeEndpoint" -_DAEABI = "DeleteAcmeExternalAccountBindingInput" -_cDAEABR = "com.amazonaws.acm#DeleteAcmeExternalAccountBindingRequest" -_DAEABO = "DeleteAcmeExternalAccountBindingOutput" -_DAEAB = "DeleteAcmeExternalAccountBinding" -_DCI = "DeleteCertificateInput" -_cDCR = "com.amazonaws.acm#DeleteCertificateRequest" -_DCO = "DeleteCertificateOutput" -_RIUE = "ResourceInUseException" -_DC = "DeleteCertificate" -_DAAI = "DescribeAcmeAccountInput" -_cDAAR = "com.amazonaws.acm#DescribeAcmeAccountRequest" -_DAAO = "DescribeAcmeAccountOutput" -_cDAARo = "com.amazonaws.acm#DescribeAcmeAccountResponse" -_DAA = "DescribeAcmeAccount" -_DADVIe = "DescribeAcmeDomainValidationInput" -_cDADVRo = "com.amazonaws.acm#DescribeAcmeDomainValidationRequest" -_DADVOe = "DescribeAcmeDomainValidationOutput" -_cDADVRom = "com.amazonaws.acm#DescribeAcmeDomainValidationResponse" -_DADVe = "DescribeAcmeDomainValidation" -_DAEIe = "DescribeAcmeEndpointInput" -_cDAERo = "com.amazonaws.acm#DescribeAcmeEndpointRequest" -_DAEOe = "DescribeAcmeEndpointOutput" -_cDAERom = "com.amazonaws.acm#DescribeAcmeEndpointResponse" -_DAEe = "DescribeAcmeEndpoint" -_DAEABIe = "DescribeAcmeExternalAccountBindingInput" -_cDAEABRo = "com.amazonaws.acm#DescribeAcmeExternalAccountBindingRequest" -_DAEABOe = "DescribeAcmeExternalAccountBindingOutput" -_cDAEABRom = "com.amazonaws.acm#DescribeAcmeExternalAccountBindingResponse" -_DAEABe = "DescribeAcmeExternalAccountBinding" -_DCIe = "DescribeCertificateInput" -_cDCRo = "com.amazonaws.acm#DescribeCertificateRequest" -_DCOe = "DescribeCertificateOutput" -_cDCRom = "com.amazonaws.acm#DescribeCertificateResponse" -_Ce = "Certificate" -_DCe = "DescribeCertificate" -_PB = "PassphraseBlob" -_ECI = "ExportCertificateInput" -_cECR = "com.amazonaws.acm#ExportCertificateRequest" -_P = "Passphrase" -_PK = "PrivateKey" -_ECO = "ExportCertificateOutput" -_cECRo = "com.amazonaws.acm#ExportCertificateResponse" -_RIPE = "RequestInProgressException" -_EC = "ExportCertificate" -_GACI = "GetAccountConfigurationInput" -_PI = "PositiveInteger" -_EEC = "ExpiryEventsConfiguration" -_DBE = "DaysBeforeExpiry" -_GACO = "GetAccountConfigurationOutput" -_cGACR = "com.amazonaws.acm#GetAccountConfigurationResponse" -_EE = "ExpiryEvents" -_GAC = "GetAccountConfiguration" -_GAEABCI = "GetAcmeExternalAccountBindingCredentialsInput" -_cGAEABCR = "com.amazonaws.acm#GetAcmeExternalAccountBindingCredentialsRequest" -_MK = "MacKey" -_GAEABCO = "GetAcmeExternalAccountBindingCredentialsOutput" -_cGAEABCRo = "com.amazonaws.acm#GetAcmeExternalAccountBindingCredentialsResponse" -_KI = "KeyId" -_GAEABC = "GetAcmeExternalAccountBindingCredentials" -_GCI = "GetCertificateInput" -_cGCR = "com.amazonaws.acm#GetCertificateRequest" -_GCO = "GetCertificateOutput" -_cGCRo = "com.amazonaws.acm#GetCertificateResponse" -_GC = "GetCertificate" -_PKB = "PrivateKeyBlob" -_ICI = "ImportCertificateInput" -_cICR = "com.amazonaws.acm#ImportCertificateRequest" -_ICO = "ImportCertificateOutput" -_cICRo = "com.amazonaws.acm#ImportCertificateResponse" -_LEE = "LimitExceededException" -_IC = "ImportCertificate" -_LAAI = "ListAcmeAccountsInput" -_cLAAR = "com.amazonaws.acm#ListAcmeAccountsRequest" -_NT = "NextToken" -_MR = "MaxResults" -_LAAO = "ListAcmeAccountsOutput" -_cLAARo = "com.amazonaws.acm#ListAcmeAccountsResponse" -_AAc = "AcmeAccounts" -_LAA = "ListAcmeAccounts" -_LADVI = "ListAcmeDomainValidationsInput" -_cLADVR = "com.amazonaws.acm#ListAcmeDomainValidationsRequest" -_LADVO = "ListAcmeDomainValidationsOutput" -_cLADVRo = "com.amazonaws.acm#ListAcmeDomainValidationsResponse" -_ADVc = "AcmeDomainValidations" -_LADV = "ListAcmeDomainValidations" -_LAEI = "ListAcmeEndpointsInput" -_cLAER = "com.amazonaws.acm#ListAcmeEndpointsRequest" -_LAEO = "ListAcmeEndpointsOutput" -_cLAERo = "com.amazonaws.acm#ListAcmeEndpointsResponse" -_AEc = "AcmeEndpoints" -_LAE = "ListAcmeEndpoints" -_LAEABI = "ListAcmeExternalAccountBindingsInput" -_cLAEABR = "com.amazonaws.acm#ListAcmeExternalAccountBindingsRequest" -_LAEABO = "ListAcmeExternalAccountBindingsOutput" -_cLAEABRo = "com.amazonaws.acm#ListAcmeExternalAccountBindingsResponse" -_EABx = "ExternalAccountBindings" -_LAEAB = "ListAcmeExternalAccountBindings" -_IAEn = "InvalidArgsException" -_MI = "MaxItems" -_LCDVI = "ListCertificateDomainValidationsInput" -_cLCDVR = "com.amazonaws.acm#ListCertificateDomainValidationsRequest" -_DVC = "DnsValidationChallenge" -_EVC = "EmailValidationChallenge" -_VC = "ValidationChallenge" -_VCa = "ValidationConfiguration" -_DVS = "DomainValidationSummary" -_AVC = "ActiveValidationConfiguration" -_RVC = "RequestedValidationConfiguration" -_DVSL = "DomainValidationSummaryList" -_LCDVO = "ListCertificateDomainValidationsOutput" -_cLCDVRo = "com.amazonaws.acm#ListCertificateDomainValidationsResponse" -_LCDV = "ListCertificateDomainValidations" -_CSe = "CertificateStatuses" -_EKUFL = "ExtendedKeyUsageFilterList" -_KAL = "KeyAlgorithmList" -_KUFL = "KeyUsageFilterList" -_Fi = "Filters" -_eKU = "extendedKeyUsage" -_kU = "keyUsage" -_kT = "keyTypes" -_eO = "exportOption" -_mB = "managedBy" -_SB = "SortBy" -_CA_ = "CREATED_AT" -_SO = "SortOrder" -_ASCENDING = "ASCENDING" -_DESCENDING = "DESCENDING" -_LCI = "ListCertificatesInput" -_cLCR = "com.amazonaws.acm#ListCertificatesRequest" -_In = "Includes" -_EKUNx = "ExtendedKeyUsageNames" -_KUNe = "KeyUsageNames" -_CSer = "CertificateSummary" -_SANS = "SubjectAlternativeNameSummaries" -_HASAN = "HasAdditionalSubjectAlternativeNames" -_CSL = "CertificateSummaryList" -_LCO = "ListCertificatesOutput" -_cLCRo = "com.amazonaws.acm#ListCertificatesResponse" -_LC = "ListCertificates" -_LTFCI = "ListTagsForCertificateInput" -_cLTFCR = "com.amazonaws.acm#ListTagsForCertificateRequest" -_LTFCO = "ListTagsForCertificateOutput" -_cLTFCRo = "com.amazonaws.acm#ListTagsForCertificateResponse" -_LTFC = "ListTagsForCertificate" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.acm#ListTagsForResourceRequest" -_RAes = "ResourceArn" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.acm#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_PACI = "PutAccountConfigurationInput" -_cPACR = "com.amazonaws.acm#PutAccountConfigurationRequest" -_PACO = "PutAccountConfigurationOutput" -_PAC = "PutAccountConfiguration" -_RTFCI = "RemoveTagsFromCertificateInput" -_cRTFCR = "com.amazonaws.acm#RemoveTagsFromCertificateRequest" -_RTFCO = "RemoveTagsFromCertificateOutput" -_RTFC = "RemoveTagsFromCertificate" -_RCI = "RenewCertificateInput" -_cRCR = "com.amazonaws.acm#RenewCertificateRequest" -_RCO = "RenewCertificateOutput" -_RC = "RenewCertificate" -_IDVOE = "InvalidDomainValidationOptionsException" -_PAc = "PcaArn" -_DVOo = "DomainValidationOption" -_DVOL = "DomainValidationOptionList" -_RCIe = "RequestCertificateInput" -_cRCRo = "com.amazonaws.acm#RequestCertificateRequest" -_RCOe = "RequestCertificateOutput" -_cRCRom = "com.amazonaws.acm#RequestCertificateResponse" -_RCe = "RequestCertificate" -_ISEn = "InvalidStateException" -_RVEI = "ResendValidationEmailInput" -_cRVER = "com.amazonaws.acm#ResendValidationEmailRequest" -_D = "Domain" -_RVEO = "ResendValidationEmailOutput" -_RVE = "ResendValidationEmail" -_RAAI = "RevokeAcmeAccountInput" -_cRAAR = "com.amazonaws.acm#RevokeAcmeAccountRequest" -_RAAO = "RevokeAcmeAccountOutput" -_RAA = "RevokeAcmeAccount" -_RAEABI = "RevokeAcmeExternalAccountBindingInput" -_cRAEABR = "com.amazonaws.acm#RevokeAcmeExternalAccountBindingRequest" -_RAEABO = "RevokeAcmeExternalAccountBindingOutput" -_RAEAB = "RevokeAcmeExternalAccountBinding" -_RCIev = "RevokeCertificateInput" -_cRCRoma = "com.amazonaws.acm#RevokeCertificateRequest" -_RCOev = "RevokeCertificateOutput" -_cRCRomam = "com.amazonaws.acm#RevokeCertificateResponse" -_RCev = "RevokeCertificate" -_SMR = "SearchMaxResults" -_SCSB = "SearchCertificatesSortBy" -_NA_ = "NOT_AFTER" -_STATUS = "STATUS" -_RS_ = "RENEWAL_STATUS" -_EXPORTED = "EXPORTED" -_IU__ = "IN_USE" -_NB_ = "NOT_BEFORE" -_KA__ = "KEY_ALGORITHM" -_TYPE = "TYPE" -_CA__ = "CERTIFICATE_ARN" -_CN_ = "COMMON_NAME" -_RA_ = "REVOKED_AT" -_RE_ = "RENEWAL_ELIGIBILITY" -_IA_ = "ISSUED_AT" -_MB_ = "MANAGED_BY" -_EO___ = "EXPORT_OPTION" -_VM_ = "VALIDATION_METHOD" -_IA__ = "IMPORTED_AT" -_AEA_ = "ACME_ENDPOINT_ARN" -_AAI_ = "ACME_ACCOUNT_ID" -_CKPO_ = "CERTIFICATE_KEY_PAIR_ORIGIN" -_SCSO = "SearchCertificatesSortOrder" -_CM = "CertificateMetadata" -_CAu = "CustomAttribute" -_OI = "ObjectIdentifier" -_CAL = "CustomAttributeList" -_DCL = "DomainComponentList" -_DNi = "DistinguishedName" -_DCo = "DomainComponents" -_Cou = "Country" -_CAus = "CustomAttributes" -_DNQ = "DistinguishedNameQualifier" -_GQ = "GenerationQualifier" -_GN = "GivenName" -_Ini = "Initials" -_L = "Locality" -_Or = "Organization" -_OU = "OrganizationalUnit" -_Ps = "Pseudonym" -_Stat = "State" -_Sur = "Surname" -_Ti = "Title" -_ON = "OtherName" -_GNe = "GeneralName" -_DNir = "DirectoryName" -_IAp = "IpAddress" -_RI = "RegisteredId" -_RN = "Rfc822Name" -_URI = "UniformResourceIdentifier" -_GNL = "GeneralNameList" -_XA = "X509Attributes" -_CSR = "CertificateSearchResult" -_CSRL = "CertificateSearchResultList" -_SCO = "SearchCertificatesOutput" -_cSCR = "com.amazonaws.acm#SearchCertificatesResponse" -_Re = "Results" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.acm#TagResourceRequest" -_TRO = "TagResourceOutput" -_TRa = "TagResource" -_TKL = "TagKeyList" -_URIn = "UntagResourceInput" -_cURR = "com.amazonaws.acm#UntagResourceRequest" -_TKa = "TagKeys" -_URO = "UntagResourceOutput" -_UR = "UntagResource" -_UADVI = "UpdateAcmeDomainValidationInput" -_cUADVR = "com.amazonaws.acm#UpdateAcmeDomainValidationRequest" -_UADVO = "UpdateAcmeDomainValidationOutput" -_UADV = "UpdateAcmeDomainValidation" -_UAEI = "UpdateAcmeEndpointInput" -_cUAER = "com.amazonaws.acm#UpdateAcmeEndpointRequest" -_UAEO = "UpdateAcmeEndpointOutput" -_UAE = "UpdateAcmeEndpoint" -_UCOI = "UpdateCertificateOptionsInput" -_cUCOR = "com.amazonaws.acm#UpdateCertificateOptionsRequest" -_UCOO = "UpdateCertificateOptionsOutput" -_UCO = "UpdateCertificateOptions" -_CFS = "CertificateFilterStatement" -_An = "And" -_Or_ = "Or" -_No = "Not" -_Fil = "Filter" -_CFSL = "CertificateFilterStatementList" -_SCI = "SearchCertificatesInput" -_cSCRo = "com.amazonaws.acm#SearchCertificatesRequest" -_FSi = "FilterStatement" -_SC = "SearchCertificates" -_CMe = "CertificateManager" -_a = "aws.auth#sigv4" -_a_ = "aws.protocols#awsJson1_1" -_aw = "aws.api#service" - -SERVICE_ERROR_MESSAGE: StaticSchema = (3, n0, _SEM, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - { - _s: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "AccessDenied", "httpResponseCode": 403}), - }, - (_M,), - ((SERVICE_ERROR_MESSAGE, 0),), -) - -ACME_ACCOUNT_ID: StaticSchema = (3, n0, _AAI, 0) - -ARN: StaticSchema = (3, n0, _A, 0) - -CERTIFICATE_KEY_PAIR_ORIGIN: StaticSchema = ( - 14, - n0, - _CKPO, - 0, - (_AM, _ACME, _CP), - ((-1, {_sV: _AM}), (-1, {_sV: _ACME}), (-1, {_sV: _CP})), -) - -T_STAMP: StaticSchema = (4, n0, _TS, 0) - -NULLABLE_BOOLEAN: StaticSchema = (2, n0, _NB, 0) - -CERTIFICATE_EXPORT: StaticSchema = ( - 14, - n0, - _CE, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -CERTIFICATE_MANAGED_BY: StaticSchema = ( - 14, - n0, - _CMB, - 0, - (_CLOUDFRONT,), - ((-1, {_sV: _CLOUDFRONT}),), -) - -RENEWAL_ELIGIBILITY: StaticSchema = ( - 14, - n0, - _RE, - 0, - (_ELIGIBLE, _INELIGIBLE), - ((-1, {_sV: _ELIGIBLE}), (-1, {_sV: _INELIGIBLE})), -) - -RENEWAL_STATUS: StaticSchema = ( - 14, - n0, - _RS, - 0, - (_PAR, _PV, _SUCCESS, _FAILED), - ((-1, {_sV: _PAR}), (-1, {_sV: _PV}), (-1, {_sV: _SUCCESS}), (-1, {_sV: _FAILED})), -) - -CERTIFICATE_STATUS: StaticSchema = ( - 14, - n0, - _CS, - 0, - (_PV, _ISSUED, _INACTIVE, _EXPIRED, _VTO, _REVOKED, _FAILED), - ( - (-1, {_sV: _PV}), - (-1, {_sV: _ISSUED}), - (-1, {_sV: _INACTIVE}), - (-1, {_sV: _EXPIRED}), - (-1, {_sV: _VTO}), - (-1, {_sV: _REVOKED}), - (-1, {_sV: _FAILED}), - ), -) - -CERTIFICATE_TYPE: StaticSchema = ( - 14, - n0, - _CT, - 0, - (_IMPORTED, _AI, _PRIVATE), - ((-1, {_sV: _IMPORTED}), (-1, {_sV: _AI}), (-1, {_sV: _PRIVATE})), -) - -VALIDATION_METHOD: StaticSchema = ( - 14, - n0, - _VM, - 0, - (_EMAIL, _DNS, _HTTP), - ((-1, {_sV: _EMAIL}), (-1, {_sV: _DNS}), (-1, {_sV: _HTTP})), -) - -ACM_CERTIFICATE_METADATA: StaticSchema = ( - 18, - n0, - _ACM, - 0, - (_CA, _E, _IA, _IU, _IAs, _RE, _RA, _S, _RS, _T, _EO, _MB, _VM, _CKPO, _AEA, _AAI), - ( - (T_STAMP, 0), - (NULLABLE_BOOLEAN, 0), - (T_STAMP, 0), - (NULLABLE_BOOLEAN, 0), - (T_STAMP, 0), - (RENEWAL_ELIGIBILITY, 0), - (T_STAMP, 0), - (CERTIFICATE_STATUS, 0), - (RENEWAL_STATUS, 0), - (CERTIFICATE_TYPE, 0), - (CERTIFICATE_EXPORT, 0), - (CERTIFICATE_MANAGED_BY, 0), - (VALIDATION_METHOD, 0), - (CERTIFICATE_KEY_PAIR_ORIGIN, 0), - (ARN, 0), - (ACME_ACCOUNT_ID, 0), - ), -) - -ACM_CERTIFICATE_METADATA_FILTER: StaticSchema = ( - 19, - n0, - _ACMF, - 0, - (_S, _RS, _T, _IU, _E, _EO, _MB, _VM, _CKPO, _AEA, _AAI), - ( - (CERTIFICATE_STATUS, 0), - (RENEWAL_STATUS, 0), - (CERTIFICATE_TYPE, 0), - (NULLABLE_BOOLEAN, 0), - (NULLABLE_BOOLEAN, 0), - (CERTIFICATE_EXPORT, 0), - (CERTIFICATE_MANAGED_BY, 0), - (VALIDATION_METHOD, 0), - (CERTIFICATE_KEY_PAIR_ORIGIN, 0), - (ARN, 0), - (ACME_ACCOUNT_ID, 0), - ), -) - -ACME_EXTERNAL_ACCOUNT_BINDING_ARN: StaticSchema = (3, n0, _AEABA, 0) - -CONTACT_LIST: StaticSchema = (16, n0, _CL, 4, (_m,), ((3, 0),)) - -ACME_ACCOUNT_STATUS: StaticSchema = ( - 14, - n0, - _AAS, - 0, - (_VALID, _DEACTIVATED, _REVOKED), - ((-1, {_sV: _VALID}), (-1, {_sV: _DEACTIVATED}), (-1, {_sV: _REVOKED})), -) - -ACME_ACCOUNT: StaticSchema = ( - 18, - n0, - _AA, - 0, - (_AU, _PKT, _S, _CA, _AEABA, _C), - ( - (3, 0), - (3, 0), - (ACME_ACCOUNT_STATUS, 0), - (4, 0), - (ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 0), - (CONTACT_LIST, 0), - ), -) - -ACME_ACCOUNT_SUMMARY: StaticSchema = ( - 18, - n0, - _AASc, - 0, - (_AU, _PKT, _S, _CA, _AEABA, _C), - ( - (3, 0), - (3, 0), - (ACME_ACCOUNT_STATUS, 0), - (4, 0), - (ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 0), - (CONTACT_LIST, 0), - ), -) - -ACME_ACCOUNT_LIST: StaticSchema = (16, n0, _AAL, 0, (_m,), ((ACME_ACCOUNT_SUMMARY, 0),)) - -ACME_AUTHORIZATION_BEHAVIOR: StaticSchema = ( - 14, - n0, - _AAB, - 0, - (_PA,), - ((-1, {_sV: _PA}),), -) - -ACME_CONTACT: StaticSchema = ( - 14, - n0, - _AC, - 0, - (_REQUIRED, _NR), - ((-1, {_sV: _REQUIRED}), (-1, {_sV: _NR})), -) - -ACME_DOMAIN_VALIDATION_ARN: StaticSchema = (3, n0, _ADVA, 0) - -ACME_ENDPOINT_ARN: StaticSchema = (3, n0, _AEA, 0) - -DOMAIN_NAME: StaticSchema = (3, n0, _DN, 0) - -ACME_DOMAIN_VALIDATION_FAILURE_REASON: StaticSchema = ( - 14, - n0, - _ADVFR, - 0, - (_AD, _DM, _DNA, _ENA, _HZNF, _IF, _ICB, _IPD, _TO), - ( - (-1, {_sV: _AD}), - (-1, {_sV: _DM}), - (-1, {_sV: _DNA}), - (-1, {_sV: _ENA}), - (-1, {_sV: _HZNF}), - (-1, {_sV: _IF}), - (-1, {_sV: _ICB}), - (-1, {_sV: _IPD}), - (-1, {_sV: _TO}), - ), -) - -FAILURE_DETAILS: StaticSchema = ( - 18, - n0, - _FD, - 0, - (_R, _M), - ((ACME_DOMAIN_VALIDATION_FAILURE_REASON, 0), (3, 0)), -) - -DOMAIN_SCOPE_OPTION: StaticSchema = ( - 14, - n0, - _DSO, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -DOMAIN_SCOPE: StaticSchema = ( - 18, - n0, - _DS, - 0, - (_ED, _Su, _W), - ((DOMAIN_SCOPE_OPTION, 0), (DOMAIN_SCOPE_OPTION, 0), (DOMAIN_SCOPE_OPTION, 0)), -) - -HOSTED_ZONE_ID: StaticSchema = (3, n0, _HZI, 0) - -STRING: StaticSchema = (3, n0, _St, 0) - -RECORD_TYPE: StaticSchema = (14, n0, _RT, 0, (_CNAME,), ((-1, {_sV: _CNAME}),)) - -RESOURCE_RECORD: StaticSchema = ( - 18, - n0, - _RR, - 0, - (_N, _T, _V), - ((STRING, 1), (RECORD_TYPE, 1), (STRING, 1)), -) - -DNS_PREVALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _DPD, - 0, - (_DS, _HZI, _RR), - ((DOMAIN_SCOPE, 0), (HOSTED_ZONE_ID, 0), (RESOURCE_RECORD, 0)), -) - -PREVALIDATION_DETAILS: StaticSchema = ( - 19, - n0, - _PD, - 0, - (_DP,), - ((DNS_PREVALIDATION_DETAILS, 0),), -) - -PREVALIDATION_TYPE: StaticSchema = (14, n0, _PT, 0, (_DP_,), ((-1, {_sV: _DP_}),)) - -ACME_DOMAIN_VALIDATION_STATUS: StaticSchema = ( - 14, - n0, - _ADVS, - 0, - (_VALIDATING, _VALID, _INVALID, _DELETING), - ( - (-1, {_sV: _VALIDATING}), - (-1, {_sV: _VALID}), - (-1, {_sV: _INVALID}), - (-1, {_sV: _DELETING}), - ), -) - -ACME_DOMAIN_VALIDATION: StaticSchema = ( - 18, - n0, - _ADV, - 0, - (_ADVA, _AEA, _DN, _PT, _PD, _S, _FD, _CA, _UA), - ( - (ACME_DOMAIN_VALIDATION_ARN, 0), - (ACME_ENDPOINT_ARN, 0), - (DOMAIN_NAME, 0), - (PREVALIDATION_TYPE, 0), - (PREVALIDATION_DETAILS, 0), - (ACME_DOMAIN_VALIDATION_STATUS, 0), - (FAILURE_DETAILS, 0), - (4, 0), - (4, 0), - ), -) - -ACME_DOMAIN_VALIDATION_SUMMARY: StaticSchema = ( - 18, - n0, - _ADVSc, - 0, - (_ADVA, _AEA, _DN, _PT, _PD, _S, _FD, _CA, _UA), - ( - (ACME_DOMAIN_VALIDATION_ARN, 0), - (ACME_ENDPOINT_ARN, 0), - (DOMAIN_NAME, 0), - (PREVALIDATION_TYPE, 0), - (PREVALIDATION_DETAILS, 0), - (ACME_DOMAIN_VALIDATION_STATUS, 0), - (FAILURE_DETAILS, 0), - (4, 0), - (4, 0), - ), -) - -ACME_DOMAIN_VALIDATION_LIST: StaticSchema = ( - 16, - n0, - _ADVL, - 0, - (_m,), - ((ACME_DOMAIN_VALIDATION_SUMMARY, 0),), -) - -PUBLIC_KEY_ALGORITHM: StaticSchema = ( - 14, - n0, - _PKA, - 0, - (_R_, _EPV, _ESR), - ((-1, {_sV: _R_}), (-1, {_sV: _Ep}), (-1, {_sV: _Es})), -) - -PUBLIC_KEY_ALGORITHM_LIST: StaticSchema = ( - 16, - n0, - _PKAL, - 0, - (_m,), - ((PUBLIC_KEY_ALGORITHM, 0),), -) - -PUBLIC_CERTIFICATE_AUTHORITY: StaticSchema = ( - 18, - n0, - _PCA, - 0, - (_AKA,), - ((PUBLIC_KEY_ALGORITHM_LIST, 0),), -) - -CERTIFICATE_AUTHORITY: StaticSchema = ( - 19, - n0, - _CAe, - 0, - (_PCA,), - ((PUBLIC_CERTIFICATE_AUTHORITY, 0),), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _Ta, 0, (_K, _V), ((TAG_KEY, 1), (TAG_VALUE, 0))) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) - -ACME_ENDPOINT_STATUS: StaticSchema = ( - 14, - n0, - _AES, - 0, - (_CREATING, _ACTIVE, _DELETING, _FAILED), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _FAILED}), - ), -) - -ACME_ENDPOINT: StaticSchema = ( - 18, - n0, - _AE, - 0, - (_AEA, _EU, _S, _FR, _AB, _Co, _CAe, _CTe, _CA, _UA), - ( - (ACME_ENDPOINT_ARN, 0), - (3, 0), - (ACME_ENDPOINT_STATUS, 0), - (3, 0), - (ACME_AUTHORIZATION_BEHAVIOR, 0), - (ACME_CONTACT, 0), - (CERTIFICATE_AUTHORITY, 0), - (TAG_LIST, 0), - (4, 0), - (4, 0), - ), -) - -ACME_ENDPOINT_SUMMARY: StaticSchema = ( - 18, - n0, - _AESc, - 0, - (_AEA, _EU, _S, _FR, _AB, _Co, _CAe, _CTe, _CA, _UA), - ( - (ACME_ENDPOINT_ARN, 0), - (3, 0), - (ACME_ENDPOINT_STATUS, 0), - (3, 0), - (ACME_AUTHORIZATION_BEHAVIOR, 0), - (ACME_CONTACT, 0), - (CERTIFICATE_AUTHORITY, 0), - (TAG_LIST, 0), - (4, 0), - (4, 0), - ), -) - -ACME_ENDPOINT_LIST: StaticSchema = ( - 16, - n0, - _AEL, - 0, - (_m,), - ((ACME_ENDPOINT_SUMMARY, 0),), -) - -ROLE_ARN: StaticSchema = (3, n0, _RAo, 0) - -ACME_EXTERNAL_ACCOUNT_BINDING: StaticSchema = ( - 18, - n0, - _AEAB, - 0, - (_AEABA, _AEA, _RAo, _EA, _RA, _LUA, _CA, _UA), - ( - (ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 0), - (ACME_ENDPOINT_ARN, 0), - (ROLE_ARN, 0), - (4, 0), - (4, 0), - (4, 0), - (4, 0), - (4, 0), - ), -) - -ACME_EXTERNAL_ACCOUNT_BINDING_SUMMARY: StaticSchema = ( - 18, - n0, - _AEABS, - 0, - (_AEABA, _AEA, _RAo, _EA, _RA, _LUA, _CA, _UA), - ( - (ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 0), - (ACME_ENDPOINT_ARN, 0), - (ROLE_ARN, 0), - (4, 0), - (4, 0), - (4, 0), - (4, 0), - (4, 0), - ), -) - -ACME_EXTERNAL_ACCOUNT_BINDING_LIST: StaticSchema = ( - 16, - n0, - _AEABL, - 0, - (_m,), - ((ACME_EXTERNAL_ACCOUNT_BINDING_SUMMARY, 0),), -) - -ADD_TAGS_TO_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _ATTCI, - {_sSI: _cATTCR, _smit: None}, - (_CAer, _Tag), - ((ARN, 1), (TAG_LIST, 1)), -) - -ADD_TAGS_TO_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _ATTCO, - {_sSI: _sU, _smith: None}, -) - -INVALID_ARN_EXCEPTION: StaticSchema = (18, n0, _IAE, {_s: _c}, (_me,), ((STRING, 0),)) - -INVALID_PARAMETER_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPE, - {_s: _c}, - (_me,), - ((STRING, 0),), -) - -INVALID_TAG_EXCEPTION: StaticSchema = (18, n0, _ITE, {_s: _c}, (_me,), ((STRING, 0),)) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c}, - (_me,), - ((STRING, 0),), -) - -TAG_POLICY_EXCEPTION: StaticSchema = (18, n0, _TPE, {_s: _c}, (_me,), ((STRING, 0),)) - -AVAILABILITY_ERROR_MESSAGE: StaticSchema = (3, n0, _AEM, 0) - -CORAL_AVAILABILITY_THROTTLING_REASON: StaticSchema = (3, n0, _CATR, 0) - -CORAL_AVAILABILITY_THROTTLED_RESOURCE: StaticSchema = (3, n0, _CATRo, 0) - -THROTTLING_REASON: StaticSchema = ( - 18, - n0, - _TR, - 0, - (_r, _re), - ( - (CORAL_AVAILABILITY_THROTTLING_REASON, 0), - (CORAL_AVAILABILITY_THROTTLED_RESOURCE, 0), - ), -) - -THROTTLING_REASON_LIST: StaticSchema = ( - 16, - n0, - _TRL, - 0, - (_m,), - ((THROTTLING_REASON, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "Throttling", "httpResponseCode": 400}), - }, - (_me, _tR), - ((AVAILABILITY_ERROR_MESSAGE, 0), (THROTTLING_REASON_LIST, 0)), -) - -TOO_MANY_TAGS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TMTE, - {_s: _c}, - (_me,), - ((STRING, 0),), -) - -VALIDATION_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _VEM, 0) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "ValidationError", "httpResponseCode": 400}), - }, - (_me,), - ((VALIDATION_EXCEPTION_MESSAGE, 0),), -) - -ADD_TAGS_TO_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _ATTC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - ADD_TAGS_TO_CERTIFICATE_INPUT, - ADD_TAGS_TO_CERTIFICATE_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_TAG_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TAG_POLICY_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CERTIFICATE_ARN: StaticSchema = (3, n0, _CAer, 0) - -CERTIFICATE_BODY: StaticSchema = (3, n0, _CB, 0) - -CERTIFICATE_BODY_BLOB: StaticSchema = (1, n0, _CBB, 0) - -CERTIFICATE_CHAIN: StaticSchema = (3, n0, _CC, 0) - -CERTIFICATE_CHAIN_BLOB: StaticSchema = (1, n0, _CCB, 0) - -DOMAIN_NAME_STRING: StaticSchema = (3, n0, _DNSo, 0) - -HTTP_REDIRECT: StaticSchema = (18, n0, _HR, 0, (_RF, _RTe), ((STRING, 0), (STRING, 0))) - -VALIDATION_EMAIL_LIST: StaticSchema = (16, n0, _VEL, 0, (_m,), ((STRING, 0),)) - -DOMAIN_STATUS: StaticSchema = ( - 14, - n0, - _DSo, - 0, - (_PV, _SUCCESS, _FAILED), - ((-1, {_sV: _PV}), (-1, {_sV: _SUCCESS}), (-1, {_sV: _FAILED})), -) - -DOMAIN_VALIDATION: StaticSchema = ( - 18, - n0, - _DV, - 0, - (_DN, _VEa, _VD, _VS, _RR, _HR, _VM), - ( - (DOMAIN_NAME_STRING, 1), - (VALIDATION_EMAIL_LIST, 0), - (DOMAIN_NAME_STRING, 0), - (DOMAIN_STATUS, 0), - (RESOURCE_RECORD, 0), - (HTTP_REDIRECT, 0), - (VALIDATION_METHOD, 0), - ), -) - -DOMAIN_VALIDATION_LIST: StaticSchema = ( - 16, - n0, - _DVL, - 0, - (_m,), - ((DOMAIN_VALIDATION, 0),), -) - -EXTENDED_KEY_USAGE_NAME: StaticSchema = ( - 14, - n0, - _EKUN, - 0, - (_TWSA, _TWCA, _CS_, _EP, _TS_, _OS, _IES, _IT, _IU_, _ANY, _NONE, _CUSTOM), - ( - (-1, {_sV: _TWSA}), - (-1, {_sV: _TWCA}), - (-1, {_sV: _CS_}), - (-1, {_sV: _EP}), - (-1, {_sV: _TS_}), - (-1, {_sV: _OS}), - (-1, {_sV: _IES}), - (-1, {_sV: _IT}), - (-1, {_sV: _IU_}), - (-1, {_sV: _ANY}), - (-1, {_sV: _NONE}), - (-1, {_sV: _CUSTOM}), - ), -) - -EXTENDED_KEY_USAGE: StaticSchema = ( - 18, - n0, - _EKU, - 0, - (_N, _OID), - ((EXTENDED_KEY_USAGE_NAME, 0), (STRING, 0)), -) - -EXTENDED_KEY_USAGE_LIST: StaticSchema = ( - 16, - n0, - _EKUL, - 0, - (_m,), - ((EXTENDED_KEY_USAGE, 0),), -) - -FAILURE_REASON: StaticSchema = ( - 14, - n0, - _FR, - 0, - ( - _NAC, - _AVR, - _DNA, - _IPD, - _DVD, - _CE_, - _PLE, - _PIA, - _PIS, - _PRF, - _PNCV, - _PRNF, - _PIA_, - _PID, - _PAD, - _SNF, - _OTHER, - ), - ( - (-1, {_sV: _NAC}), - (-1, {_sV: _AVR}), - (-1, {_sV: _DNA}), - (-1, {_sV: _IPD}), - (-1, {_sV: _DVD}), - (-1, {_sV: _CE_}), - (-1, {_sV: _PLE}), - (-1, {_sV: _PIA}), - (-1, {_sV: _PIS}), - (-1, {_sV: _PRF}), - (-1, {_sV: _PNCV}), - (-1, {_sV: _PRNF}), - (-1, {_sV: _PIA_}), - (-1, {_sV: _PID}), - (-1, {_sV: _PAD}), - (-1, {_sV: _SNF}), - (-1, {_sV: _OTHER}), - ), -) - -IN_USE_LIST: StaticSchema = (16, n0, _IUL, 0, (_m,), ((STRING, 0),)) - -KEY_ALGORITHM: StaticSchema = ( - 14, - n0, - _KA, - 0, - (_R__, _R_, _R___, _R____, _Ep, _Es, _Es_), - ( - (-1, {_sV: _R__}), - (-1, {_sV: _R_}), - (-1, {_sV: _R___}), - (-1, {_sV: _R____}), - (-1, {_sV: _Ep}), - (-1, {_sV: _Es}), - (-1, {_sV: _Es_}), - ), -) - -KEY_USAGE_NAME: StaticSchema = ( - 14, - n0, - _KUN, - 0, - (_DS_, _NR_, _KE, _DE, _KA_, _CS__, _CS___, _EO_, _DO, _ANY, _CUSTOM), - ( - (-1, {_sV: _DS_}), - (-1, {_sV: _NR__}), - (-1, {_sV: _KE}), - (-1, {_sV: _DE}), - (-1, {_sV: _KA_}), - (-1, {_sV: _CS__}), - (-1, {_sV: _CS___}), - (-1, {_sV: _EO__}), - (-1, {_sV: _DO}), - (-1, {_sV: _ANY}), - (-1, {_sV: _CUSTOM}), - ), -) - -KEY_USAGE: StaticSchema = (18, n0, _KU, 0, (_N,), ((KEY_USAGE_NAME, 0),)) - -KEY_USAGE_LIST: StaticSchema = (16, n0, _KUL, 0, (_m,), ((KEY_USAGE, 0),)) - -CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE: StaticSchema = ( - 14, - n0, - _CTLP, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -CERTIFICATE_OPTIONS: StaticSchema = ( - 18, - n0, - _CO, - 0, - (_CTLP, _Ex, _VM), - ( - (CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE, 0), - (CERTIFICATE_EXPORT, 0), - (VALIDATION_METHOD, 0), - ), -) - -RENEWAL_SUMMARY: StaticSchema = ( - 18, - n0, - _RSe, - 0, - (_RS, _DVO, _RSR, _UA), - ( - (RENEWAL_STATUS, 1), - (DOMAIN_VALIDATION_LIST, 1), - (FAILURE_REASON, 0), - (T_STAMP, 1), - ), -) - -REVOCATION_REASON: StaticSchema = ( - 14, - n0, - _RRe, - 0, - ( - _UNSPECIFIED, - _KC, - _CC_, - _AC_, - _SUPERCEDED, - _SUPERSEDED, - _COO, - _CH, - _RFC, - _PW, - _AAC, - ), - ( - (-1, {_sV: _UNSPECIFIED}), - (-1, {_sV: _KC}), - (-1, {_sV: _CC_}), - (-1, {_sV: _AC_}), - (-1, {_sV: _SUPERCEDED}), - (-1, {_sV: _SUPERSEDED}), - (-1, {_sV: _COO}), - (-1, {_sV: _CH}), - (-1, {_sV: _RFC}), - (-1, {_sV: _PW}), - (-1, {_sV: _AAC}), - ), -) - -DOMAIN_LIST: StaticSchema = (16, n0, _DL, 0, (_m,), ((DOMAIN_NAME_STRING, 0),)) - -DOMAIN_VALIDATION_METHOD_UPDATE_SUMMARY: StaticSchema = ( - 18, - n0, - _DVMUS, - 0, - (_F, _To), - ((VALIDATION_METHOD, 0), (VALIDATION_METHOD, 0)), -) - -UPDATE_STATUS: StaticSchema = ( - 14, - n0, - _US, - 0, - (_PDV, _SUCCESS, _FAILED), - ((-1, {_sV: _PDV}), (-1, {_sV: _SUCCESS}), (-1, {_sV: _FAILED})), -) - -UPDATE_TYPE: StaticSchema = (14, n0, _UT, 0, (_DVM,), ((-1, {_sV: _DVM}),)) - -UPDATE_SUMMARY: StaticSchema = ( - 18, - n0, - _USp, - 0, - (_S, _T, _DVMUS, _RAe, _UA), - ( - (UPDATE_STATUS, 0), - (UPDATE_TYPE, 0), - (DOMAIN_VALIDATION_METHOD_UPDATE_SUMMARY, 0), - (T_STAMP, 0), - (T_STAMP, 0), - ), -) - -CERTIFICATE_DETAIL: StaticSchema = ( - 18, - n0, - _CD, - 0, - ( - _CAer, - _DN, - _SAN, - _MB, - _DVO, - _Se, - _Sub, - _I, - _CA, - _IAs, - _IA, - _S, - _RA, - _RRe, - _NBo, - _NA, - _KA, - _SA, - _IUB, - _FR, - _T, - _RSe, - _KUe, - _EKUx, - _CAA, - _RE, - _O, - _USp, - _CKPO, - _AEA, - _AAI, - ), - ( - (ARN, 0), - (DOMAIN_NAME_STRING, 0), - (DOMAIN_LIST, 0), - (CERTIFICATE_MANAGED_BY, 0), - (DOMAIN_VALIDATION_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (CERTIFICATE_STATUS, 0), - (T_STAMP, 0), - (REVOCATION_REASON, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (KEY_ALGORITHM, 0), - (STRING, 0), - (IN_USE_LIST, 0), - (FAILURE_REASON, 0), - (CERTIFICATE_TYPE, 0), - (RENEWAL_SUMMARY, 0), - (KEY_USAGE_LIST, 0), - (EXTENDED_KEY_USAGE_LIST, 0), - (ARN, 0), - (RENEWAL_ELIGIBILITY, 0), - (CERTIFICATE_OPTIONS, 0), - (UPDATE_SUMMARY, 0), - (CERTIFICATE_KEY_PAIR_ORIGIN, 0), - (ARN, 0), - (ACME_ACCOUNT_ID, 0), - ), -) - -TIMESTAMP_RANGE: StaticSchema = ( - 18, - n0, - _TRi, - 0, - (_Sta, _En), - ((T_STAMP, 0), (T_STAMP, 0)), -) - -SERIAL_NUMBER: StaticSchema = (3, n0, _SN, 0) - -COMPARISON_OPERATOR: StaticSchema = ( - 14, - n0, - _COo, - 0, - (_CONTAINS, _EQUALS), - ((-1, {_sV: _CONTAINS}), (-1, {_sV: _EQUALS})), -) - -FILTER_STRING: StaticSchema = (3, n0, _FS, 0) - -COMMON_NAME_FILTER: StaticSchema = ( - 18, - n0, - _CNF, - 0, - (_V, _COo), - ((FILTER_STRING, 1), (COMPARISON_OPERATOR, 1)), -) - -SUBJECT_FILTER: StaticSchema = (19, n0, _SF, 0, (_CN,), ((COMMON_NAME_FILTER, 0),)) - -DNS_NAME_FILTER: StaticSchema = ( - 18, - n0, - _DNF, - 0, - (_V, _COo), - ((FILTER_STRING, 1), (COMPARISON_OPERATOR, 1)), -) - -SUBJECT_ALTERNATIVE_NAME_FILTER: StaticSchema = ( - 19, - n0, - _SANF, - 0, - (_DNn,), - ((DNS_NAME_FILTER, 0),), -) - -X509_ATTRIBUTE_FILTER: StaticSchema = ( - 19, - n0, - _XAF, - 0, - (_Sub, _SANu, _EKU, _KU, _KA, _SN, _NA, _NBo), - ( - (SUBJECT_FILTER, 0), - (SUBJECT_ALTERNATIVE_NAME_FILTER, 0), - (EXTENDED_KEY_USAGE_NAME, 0), - (KEY_USAGE_NAME, 0), - (KEY_ALGORITHM, 0), - (SERIAL_NUMBER, 0), - (TIMESTAMP_RANGE, 0), - (TIMESTAMP_RANGE, 0), - ), -) - -CERTIFICATE_FILTER: StaticSchema = ( - 19, - n0, - _CF, - 0, - (_CAer, _XAF, _ACMF), - ((ARN, 0), (X509_ATTRIBUTE_FILTER, 0), (ACM_CERTIFICATE_METADATA_FILTER, 0)), -) - -CERTIFICATE_KEY_PAIR_ORIGINS: StaticSchema = ( - 16, - n0, - _CKPOe, - 0, - (_m,), - ((CERTIFICATE_KEY_PAIR_ORIGIN, 0),), -) - -CONFLICT_EXCEPTION: StaticSchema = (18, n0, _CEo, {_s: _c}, (_me,), ((STRING, 0),)) - -DNS_PREVALIDATION_OPTIONS: StaticSchema = ( - 18, - n0, - _DPO, - 0, - (_DS, _HZI), - ((DOMAIN_SCOPE, 0), (HOSTED_ZONE_ID, 0)), -) - -PREVALIDATION_OPTIONS: StaticSchema = ( - 19, - n0, - _PO, - 0, - (_DP,), - ((DNS_PREVALIDATION_OPTIONS, 0),), -) - -CREATE_ACME_DOMAIN_VALIDATION_INPUT: StaticSchema = ( - 18, - n0, - _CADVI, - {_sSI: _cCADVR, _smit: None}, - (_ITd, _AEA, _DN, _PO, _Tag), - ( - (3, 2), - (ACME_ENDPOINT_ARN, 1), - (DOMAIN_NAME, 1), - (PREVALIDATION_OPTIONS, 1), - (TAG_LIST, 0), - ), -) - -CREATE_ACME_DOMAIN_VALIDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CADVO, - {_sSI: _cCADVRo, _smith: None}, - (_ADVA,), - ((ACME_DOMAIN_VALIDATION_ARN, 1),), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_s: _se}, - (_me,), - ((STRING, 0),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_s: _c}, - (_me,), - ((STRING, 0),), -) - -CREATE_ACME_DOMAIN_VALIDATION: StaticOperationSchema = ( - 23, - n0, - _CADV, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - CREATE_ACME_DOMAIN_VALIDATION_INPUT, - CREATE_ACME_DOMAIN_VALIDATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_ACME_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CAEI, - {_sSI: _cCAER, _smit: None}, - (_ITd, _AB, _Co, _CAe, _Tag, _CTe), - ( - (3, 2), - (ACME_AUTHORIZATION_BEHAVIOR, 1), - (ACME_CONTACT, {_smithy: _REQUIRED}), - (CERTIFICATE_AUTHORITY, 1), - (TAG_LIST, 0), - (TAG_LIST, 0), - ), -) - -CREATE_ACME_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CAEO, - {_sSI: _cCAERo, _smith: None}, - (_AEA,), - ((ACME_ENDPOINT_ARN, 0),), -) - -CREATE_ACME_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CAE, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - CREATE_ACME_ENDPOINT_INPUT, - CREATE_ACME_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TIME_TYPE: StaticSchema = ( - 14, - n0, - _TT, - 0, - (_MINUTES, _HOURS, _DAYS), - ((-1, {_sV: _MINUTES}), (-1, {_sV: _HOURS}), (-1, {_sV: _DAYS})), -) - -EXPIRATION: StaticSchema = (18, n0, _Exp, 0, (_V, _T), ((8, 1), (TIME_TYPE, 1))) - -CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT: StaticSchema = ( - 18, - n0, - _CAEABI, - {_sSI: _cCAEABR, _smit: None}, - (_ITd, _AEA, _RAo, _Exp, _Tag), - ((3, 2), (ACME_ENDPOINT_ARN, 1), (ROLE_ARN, 1), (EXPIRATION, 0), (TAG_LIST, 0)), -) - -CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT: StaticSchema = ( - 18, - n0, - _CAEABO, - {_sSI: _cCAEABRo, _smith: None}, - (_EAB,), - ((ACME_EXTERNAL_ACCOUNT_BINDING, 0),), -) - -CREATE_ACME_EXTERNAL_ACCOUNT_BINDING: StaticOperationSchema = ( - 23, - n0, - _CAEAB, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT, - CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_ACME_DOMAIN_VALIDATION_INPUT: StaticSchema = ( - 18, - n0, - _DADVI, - {_sSI: _cDADVR, _smit: None}, - (_ADVA,), - ((ACME_DOMAIN_VALIDATION_ARN, 1),), -) - -DELETE_ACME_DOMAIN_VALIDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DADVO, - {_sSI: _sU, _smith: None}, -) - -DELETE_ACME_DOMAIN_VALIDATION: StaticOperationSchema = ( - 23, - n0, - _DADV, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - DELETE_ACME_DOMAIN_VALIDATION_INPUT, - DELETE_ACME_DOMAIN_VALIDATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_ACME_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DAEI, - {_sSI: _cDAER, _smit: None}, - (_AEA,), - ((ACME_ENDPOINT_ARN, 1),), -) - -DELETE_ACME_ENDPOINT_OUTPUT: StaticSchema = (18, n0, _DAEO, {_sSI: _sU, _smith: None}) - -DELETE_ACME_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DAE, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - DELETE_ACME_ENDPOINT_INPUT, - DELETE_ACME_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT: StaticSchema = ( - 18, - n0, - _DAEABI, - {_sSI: _cDAEABR, _smit: None}, - (_AEABA,), - ((ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 1),), -) - -DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT: StaticSchema = ( - 18, - n0, - _DAEABO, - {_sSI: _sU, _smith: None}, -) - -DELETE_ACME_EXTERNAL_ACCOUNT_BINDING: StaticOperationSchema = ( - 23, - n0, - _DAEAB, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT, - DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _DCI, - {_sSI: _cDCR, _smit: None}, - (_CAer,), - ((ARN, 1),), -) - -DELETE_CERTIFICATE_OUTPUT: StaticSchema = (18, n0, _DCO, {_sSI: _sU, _smith: None}) - -RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _RIUE, - {_s: _c}, - (_me,), - ((STRING, 0),), -) - -DELETE_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _DC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - DELETE_CERTIFICATE_INPUT, - DELETE_CERTIFICATE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INVALID_ARN_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DESCRIBE_ACME_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _DAAI, - {_sSI: _cDAAR, _smit: None}, - (_AEA, _AU), - ((ACME_ENDPOINT_ARN, 1), (3, 1)), -) - -DESCRIBE_ACME_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _DAAO, - {_sSI: _cDAARo, _smith: None}, - (_AA,), - ((ACME_ACCOUNT, 0),), -) - -DESCRIBE_ACME_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _DAA, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - DESCRIBE_ACME_ACCOUNT_INPUT, - DESCRIBE_ACME_ACCOUNT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DESCRIBE_ACME_DOMAIN_VALIDATION_INPUT: StaticSchema = ( - 18, - n0, - _DADVIe, - {_sSI: _cDADVRo, _smit: None}, - (_ADVA,), - ((ACME_DOMAIN_VALIDATION_ARN, 1),), -) - -DESCRIBE_ACME_DOMAIN_VALIDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DADVOe, - {_sSI: _cDADVRom, _smith: None}, - (_ADV,), - ((ACME_DOMAIN_VALIDATION, 0),), -) - -DESCRIBE_ACME_DOMAIN_VALIDATION: StaticOperationSchema = ( - 23, - n0, - _DADVe, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - DESCRIBE_ACME_DOMAIN_VALIDATION_INPUT, - DESCRIBE_ACME_DOMAIN_VALIDATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DESCRIBE_ACME_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DAEIe, - {_sSI: _cDAERo, _smit: None}, - (_AEA,), - ((ACME_ENDPOINT_ARN, 1),), -) - -DESCRIBE_ACME_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DAEOe, - {_sSI: _cDAERom, _smith: None}, - (_AE,), - ((ACME_ENDPOINT, 0),), -) - -DESCRIBE_ACME_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DAEe, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - DESCRIBE_ACME_ENDPOINT_INPUT, - DESCRIBE_ACME_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT: StaticSchema = ( - 18, - n0, - _DAEABIe, - {_sSI: _cDAEABRo, _smit: None}, - (_AEABA,), - ((ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 1),), -) - -DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT: StaticSchema = ( - 18, - n0, - _DAEABOe, - {_sSI: _cDAEABRom, _smith: None}, - (_EAB,), - ((ACME_EXTERNAL_ACCOUNT_BINDING, 0),), -) - -DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING: StaticOperationSchema = ( - 23, - n0, - _DAEABe, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT, - DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DESCRIBE_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _DCIe, - {_sSI: _cDCRo, _smit: None}, - (_CAer,), - ((ARN, 1),), -) - -DESCRIBE_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _DCOe, - {_sSI: _cDCRom, _smith: None}, - (_Ce,), - ((CERTIFICATE_DETAIL, 0),), -) - -DESCRIBE_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _DCe, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - DESCRIBE_CERTIFICATE_INPUT, - DESCRIBE_CERTIFICATE_OUTPUT, - (INVALID_ARN_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION, VALIDATION_EXCEPTION), -) - -PASSPHRASE_BLOB: StaticSchema = (1, n0, _PB, 4) - -EXPORT_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _ECI, - {_sSI: _cECR, _smit: None}, - (_CAer, _P), - ((ARN, 1), (PASSPHRASE_BLOB, 1)), -) - -PRIVATE_KEY: StaticSchema = (3, n0, _PK, 4) - -EXPORT_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _ECO, - {_sSI: _cECRo, _smith: None}, - (_Ce, _CC, _PK), - ((CERTIFICATE_BODY, 0), (CERTIFICATE_CHAIN, 0), (PRIVATE_KEY, 0)), -) - -REQUEST_IN_PROGRESS_EXCEPTION: StaticSchema = ( - 18, - n0, - _RIPE, - {_s: _c}, - (_me,), - ((STRING, 0),), -) - -EXPORT_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _EC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - EXPORT_CERTIFICATE_INPUT, - EXPORT_CERTIFICATE_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - REQUEST_IN_PROGRESS_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_ACCOUNT_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GACI, - {_sSI: _sU, _smit: None}, -) - -POSITIVE_INTEGER: StaticSchema = (7, n0, _PI, 0) - -EXPIRY_EVENTS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EEC, - 0, - (_DBE,), - ((POSITIVE_INTEGER, 0),), -) - -GET_ACCOUNT_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GACO, - {_sSI: _cGACR, _smith: None}, - (_EE,), - ((EXPIRY_EVENTS_CONFIGURATION, 0),), -) - -GET_ACCOUNT_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GAC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - GET_ACCOUNT_CONFIGURATION_INPUT, - GET_ACCOUNT_CONFIGURATION_OUTPUT, - (ACCESS_DENIED_EXCEPTION, THROTTLING_EXCEPTION), -) - -GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_INPUT: StaticSchema = ( - 18, - n0, - _GAEABCI, - {_sSI: _cGAEABCR, _smit: None}, - (_AEABA,), - ((ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 1),), -) - -MAC_KEY: StaticSchema = (3, n0, _MK, 4) - -GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_OUTPUT: StaticSchema = ( - 18, - n0, - _GAEABCO, - {_sSI: _cGAEABCRo, _smith: None}, - (_KI, _MK), - ((3, 0), (MAC_KEY, 0)), -) - -GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS: StaticOperationSchema = ( - 23, - n0, - _GAEABC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_INPUT, - GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _GCI, - {_sSI: _cGCR, _smit: None}, - (_CAer,), - ((ARN, 1),), -) - -GET_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GCO, - {_sSI: _cGCRo, _smith: None}, - (_Ce, _CC), - ((CERTIFICATE_BODY, 0), (CERTIFICATE_CHAIN, 0)), -) - -GET_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _GC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - GET_CERTIFICATE_INPUT, - GET_CERTIFICATE_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - REQUEST_IN_PROGRESS_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PRIVATE_KEY_BLOB: StaticSchema = (1, n0, _PKB, 4) - -IMPORT_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _ICI, - {_sSI: _cICR, _smit: None}, - (_CAer, _Ce, _PK, _CC, _Tag), - ( - (ARN, 0), - (CERTIFICATE_BODY_BLOB, 1), - (PRIVATE_KEY_BLOB, 1), - (CERTIFICATE_CHAIN_BLOB, 0), - (TAG_LIST, 0), - ), -) - -IMPORT_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _ICO, - {_sSI: _cICRo, _smith: None}, - (_CAer,), - ((ARN, 0),), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - {_s: _c}, - (_me,), - ((STRING, 0),), -) - -IMPORT_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _IC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - IMPORT_CERTIFICATE_INPUT, - IMPORT_CERTIFICATE_OUTPUT, - ( - CONFLICT_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_TAG_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TAG_POLICY_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_ACME_ACCOUNTS_INPUT: StaticSchema = ( - 18, - n0, - _LAAI, - {_sSI: _cLAAR, _smit: None}, - (_NT, _MR, _AEA), - ((3, 0), (7, 0), (ACME_ENDPOINT_ARN, 1)), -) - -LIST_ACME_ACCOUNTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAAO, - {_sSI: _cLAARo, _smith: None}, - (_AAc, _NT), - ((ACME_ACCOUNT_LIST, 0), (3, 0)), -) - -LIST_ACME_ACCOUNTS: StaticOperationSchema = ( - 23, - n0, - _LAA, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - LIST_ACME_ACCOUNTS_INPUT, - LIST_ACME_ACCOUNTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_ACME_DOMAIN_VALIDATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LADVI, - {_sSI: _cLADVR, _smit: None}, - (_NT, _MR, _AEA), - ((3, 0), (7, 0), (ACME_ENDPOINT_ARN, 1)), -) - -LIST_ACME_DOMAIN_VALIDATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LADVO, - {_sSI: _cLADVRo, _smith: None}, - (_ADVc, _NT), - ((ACME_DOMAIN_VALIDATION_LIST, 0), (3, 0)), -) - -LIST_ACME_DOMAIN_VALIDATIONS: StaticOperationSchema = ( - 23, - n0, - _LADV, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - LIST_ACME_DOMAIN_VALIDATIONS_INPUT, - LIST_ACME_DOMAIN_VALIDATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_ACME_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _LAEI, - {_sSI: _cLAER, _smit: None}, - (_NT, _MR), - ((3, 0), (7, 0)), -) - -LIST_ACME_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAEO, - {_sSI: _cLAERo, _smith: None}, - (_AEc, _NT), - ((ACME_ENDPOINT_LIST, 0), (3, 0)), -) - -LIST_ACME_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _LAE, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - LIST_ACME_ENDPOINTS_INPUT, - LIST_ACME_ENDPOINTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_INPUT: StaticSchema = ( - 18, - n0, - _LAEABI, - {_sSI: _cLAEABR, _smit: None}, - (_NT, _MR, _AEA), - ((3, 0), (7, 0), (ACME_ENDPOINT_ARN, 1)), -) - -LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAEABO, - {_sSI: _cLAEABRo, _smith: None}, - (_EABx, _NT), - ((ACME_EXTERNAL_ACCOUNT_BINDING_LIST, 0), (3, 0)), -) - -LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS: StaticOperationSchema = ( - 23, - n0, - _LAEAB, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_INPUT, - LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INVALID_ARGS_EXCEPTION: StaticSchema = (18, n0, _IAEn, {_s: _c}, (_me,), ((STRING, 0),)) - -MAX_ITEMS: StaticSchema = (7, n0, _MI, 0) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -LIST_CERTIFICATE_DOMAIN_VALIDATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LCDVI, - {_sSI: _cLCDVR, _smit: None}, - (_CAer, _NT, _MI), - ((CERTIFICATE_ARN, 1), (NEXT_TOKEN, 0), (MAX_ITEMS, 0)), -) - -DNS_VALIDATION_CHALLENGE: StaticSchema = ( - 18, - n0, - _DVC, - 0, - (_RR,), - ((RESOURCE_RECORD, 0),), -) - -EMAIL_VALIDATION_CHALLENGE: StaticSchema = ( - 18, - n0, - _EVC, - 0, - (_VEa, _VD), - ((VALIDATION_EMAIL_LIST, 0), (DOMAIN_NAME_STRING, 0)), -) - -VALIDATION_CHALLENGE: StaticSchema = ( - 19, - n0, - _VC, - 0, - (_EVC, _DVC), - ((EMAIL_VALIDATION_CHALLENGE, 0), (DNS_VALIDATION_CHALLENGE, 0)), -) - -VALIDATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VCa, - 0, - (_VM, _VC, _VS), - ((VALIDATION_METHOD, 0), (VALIDATION_CHALLENGE, 0), (DOMAIN_STATUS, 0)), -) - -DOMAIN_VALIDATION_SUMMARY: StaticSchema = ( - 18, - n0, - _DVS, - 0, - (_DN, _AVC, _RVC), - ( - (DOMAIN_NAME_STRING, 1), - (VALIDATION_CONFIGURATION, 0), - (VALIDATION_CONFIGURATION, 0), - ), -) - -DOMAIN_VALIDATION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _DVSL, - 0, - (_m,), - ((DOMAIN_VALIDATION_SUMMARY, 0),), -) - -LIST_CERTIFICATE_DOMAIN_VALIDATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCDVO, - {_sSI: _cLCDVRo, _smith: None}, - (_DVSL, _NT), - ((DOMAIN_VALIDATION_SUMMARY_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_CERTIFICATE_DOMAIN_VALIDATIONS: StaticOperationSchema = ( - 23, - n0, - _LCDV, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - LIST_CERTIFICATE_DOMAIN_VALIDATIONS_INPUT, - LIST_CERTIFICATE_DOMAIN_VALIDATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGS_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -CERTIFICATE_STATUSES: StaticSchema = ( - 16, - n0, - _CSe, - 0, - (_m,), - ((CERTIFICATE_STATUS, 0),), -) - -EXTENDED_KEY_USAGE_FILTER_LIST: StaticSchema = ( - 16, - n0, - _EKUFL, - 0, - (_m,), - ((EXTENDED_KEY_USAGE_NAME, 0),), -) - -KEY_ALGORITHM_LIST: StaticSchema = (16, n0, _KAL, 0, (_m,), ((KEY_ALGORITHM, 0),)) - -KEY_USAGE_FILTER_LIST: StaticSchema = (16, n0, _KUFL, 0, (_m,), ((KEY_USAGE_NAME, 0),)) - -FILTERS: StaticSchema = ( - 18, - n0, - _Fi, - 0, - (_eKU, _kU, _kT, _eO, _mB), - ( - (EXTENDED_KEY_USAGE_FILTER_LIST, 0), - (KEY_USAGE_FILTER_LIST, 0), - (KEY_ALGORITHM_LIST, 0), - (CERTIFICATE_EXPORT, 0), - (CERTIFICATE_MANAGED_BY, 0), - ), -) - -SORT_BY: StaticSchema = (14, n0, _SB, 0, (_CA_,), ((-1, {_sV: _CA_}),)) - -SORT_ORDER: StaticSchema = ( - 14, - n0, - _SO, - 0, - (_ASCENDING, _DESCENDING), - ((-1, {_sV: _ASCENDING}), (-1, {_sV: _DESCENDING})), -) - -LIST_CERTIFICATES_INPUT: StaticSchema = ( - 18, - n0, - _LCI, - {_sSI: _cLCR, _smit: None}, - (_CSe, _CKPOe, _In, _NT, _MI, _SB, _SO), - ( - (CERTIFICATE_STATUSES, 0), - (CERTIFICATE_KEY_PAIR_ORIGINS, 0), - (FILTERS, 0), - (NEXT_TOKEN, 0), - (MAX_ITEMS, 0), - (SORT_BY, 0), - (SORT_ORDER, 0), - ), -) - -EXTENDED_KEY_USAGE_NAMES: StaticSchema = ( - 16, - n0, - _EKUNx, - 0, - (_m,), - ((EXTENDED_KEY_USAGE_NAME, 0),), -) - -KEY_USAGE_NAMES: StaticSchema = (16, n0, _KUNe, 0, (_m,), ((KEY_USAGE_NAME, 0),)) - -CERTIFICATE_SUMMARY: StaticSchema = ( - 18, - n0, - _CSer, - 0, - ( - _CAer, - _DN, - _SANS, - _HASAN, - _S, - _T, - _KA, - _KUe, - _EKUx, - _EO, - _IU, - _E, - _RE, - _NBo, - _NA, - _CA, - _IAs, - _IA, - _RA, - _MB, - _CKPO, - ), - ( - (ARN, 0), - (DOMAIN_NAME_STRING, 0), - (DOMAIN_LIST, 0), - (NULLABLE_BOOLEAN, 0), - (CERTIFICATE_STATUS, 0), - (CERTIFICATE_TYPE, 0), - (KEY_ALGORITHM, 0), - (KEY_USAGE_NAMES, 0), - (EXTENDED_KEY_USAGE_NAMES, 0), - (CERTIFICATE_EXPORT, 0), - (NULLABLE_BOOLEAN, 0), - (NULLABLE_BOOLEAN, 0), - (RENEWAL_ELIGIBILITY, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (CERTIFICATE_MANAGED_BY, 0), - (CERTIFICATE_KEY_PAIR_ORIGIN, 0), - ), -) - -CERTIFICATE_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CSL, - 0, - (_m,), - ((CERTIFICATE_SUMMARY, 0),), -) - -LIST_CERTIFICATES_OUTPUT: StaticSchema = ( - 18, - n0, - _LCO, - {_sSI: _cLCRo, _smith: None}, - (_NT, _CSL), - ((NEXT_TOKEN, 0), (CERTIFICATE_SUMMARY_LIST, 0)), -) - -LIST_CERTIFICATES: StaticOperationSchema = ( - 23, - n0, - _LC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - LIST_CERTIFICATES_INPUT, - LIST_CERTIFICATES_OUTPUT, - (INVALID_ARGS_EXCEPTION, VALIDATION_EXCEPTION), -) - -LIST_TAGS_FOR_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _LTFCI, - {_sSI: _cLTFCR, _smit: None}, - (_CAer,), - ((ARN, 1),), -) - -LIST_TAGS_FOR_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFCO, - {_sSI: _cLTFCRo, _smith: None}, - (_Tag,), - ((TAG_LIST, 0),), -) - -LIST_TAGS_FOR_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _LTFC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - LIST_TAGS_FOR_CERTIFICATE_INPUT, - LIST_TAGS_FOR_CERTIFICATE_OUTPUT, - (INVALID_ARN_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION, VALIDATION_EXCEPTION), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _smit: None}, - (_RAes,), - ((ARN, 1),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smith: None}, - (_Tag,), - ((TAG_LIST, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - (RESOURCE_NOT_FOUND_EXCEPTION, VALIDATION_EXCEPTION), -) - -IDEMPOTENCY_TOKEN: StaticSchema = (3, n0, _ITd, 0) - -PUT_ACCOUNT_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PACI, - {_sSI: _cPACR, _smit: None}, - (_EE, _ITd), - ((EXPIRY_EVENTS_CONFIGURATION, 0), (IDEMPOTENCY_TOKEN, 1)), -) - -PUT_ACCOUNT_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PACO, - {_sSI: _sU, _smith: None}, -) - -PUT_ACCOUNT_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PAC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - PUT_ACCOUNT_CONFIGURATION_INPUT, - PUT_ACCOUNT_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -REMOVE_TAGS_FROM_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _RTFCI, - {_sSI: _cRTFCR, _smit: None}, - (_CAer, _Tag), - ((ARN, 1), (TAG_LIST, 1)), -) - -REMOVE_TAGS_FROM_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _RTFCO, - {_sSI: _sU, _smith: None}, -) - -REMOVE_TAGS_FROM_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _RTFC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - REMOVE_TAGS_FROM_CERTIFICATE_INPUT, - REMOVE_TAGS_FROM_CERTIFICATE_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_TAG_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TAG_POLICY_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RENEW_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _RCI, - {_sSI: _cRCR, _smit: None}, - (_CAer,), - ((ARN, 1),), -) - -RENEW_CERTIFICATE_OUTPUT: StaticSchema = (18, n0, _RCO, {_sSI: _sU, _smith: None}) - -RENEW_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _RC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - RENEW_CERTIFICATE_INPUT, - RENEW_CERTIFICATE_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - REQUEST_IN_PROGRESS_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INVALID_DOMAIN_VALIDATION_OPTIONS_EXCEPTION: StaticSchema = ( - 18, - n0, - _IDVOE, - {_s: _c}, - (_me,), - ((STRING, 0),), -) - -PCA_ARN: StaticSchema = (3, n0, _PAc, 0) - -DOMAIN_VALIDATION_OPTION: StaticSchema = ( - 18, - n0, - _DVOo, - 0, - (_DN, _VD), - ((DOMAIN_NAME_STRING, 1), (DOMAIN_NAME_STRING, 1)), -) - -DOMAIN_VALIDATION_OPTION_LIST: StaticSchema = ( - 16, - n0, - _DVOL, - 0, - (_m,), - ((DOMAIN_VALIDATION_OPTION, 0),), -) - -REQUEST_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _RCIe, - {_sSI: _cRCRo, _smit: None}, - (_DN, _VM, _SAN, _ITd, _DVO, _O, _CAA, _Tag, _KA, _MB), - ( - (DOMAIN_NAME_STRING, 1), - (VALIDATION_METHOD, 0), - (DOMAIN_LIST, 0), - (IDEMPOTENCY_TOKEN, 0), - (DOMAIN_VALIDATION_OPTION_LIST, 0), - (CERTIFICATE_OPTIONS, 0), - (PCA_ARN, 0), - (TAG_LIST, 0), - (KEY_ALGORITHM, 0), - (CERTIFICATE_MANAGED_BY, 0), - ), -) - -REQUEST_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _RCOe, - {_sSI: _cRCRom, _smith: None}, - (_CAer,), - ((ARN, 0),), -) - -REQUEST_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _RCe, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - REQUEST_CERTIFICATE_INPUT, - REQUEST_CERTIFICATE_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - INVALID_DOMAIN_VALIDATION_OPTIONS_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_TAG_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TAG_POLICY_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - ), -) - -INVALID_STATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISEn, - {_s: _c}, - (_me,), - ((STRING, 0),), -) - -RESEND_VALIDATION_EMAIL_INPUT: StaticSchema = ( - 18, - n0, - _RVEI, - {_sSI: _cRVER, _smit: None}, - (_CAer, _D, _VD), - ((ARN, 1), (DOMAIN_NAME_STRING, 1), (DOMAIN_NAME_STRING, 1)), -) - -RESEND_VALIDATION_EMAIL_OUTPUT: StaticSchema = ( - 18, - n0, - _RVEO, - {_sSI: _sU, _smith: None}, -) - -RESEND_VALIDATION_EMAIL: StaticOperationSchema = ( - 23, - n0, - _RVE, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - RESEND_VALIDATION_EMAIL_INPUT, - RESEND_VALIDATION_EMAIL_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - INVALID_DOMAIN_VALIDATION_OPTIONS_EXCEPTION, - INVALID_STATE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -REVOKE_ACME_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _RAAI, - {_sSI: _cRAAR, _smit: None}, - (_AEA, _AU), - ((ACME_ENDPOINT_ARN, 1), (3, 1)), -) - -REVOKE_ACME_ACCOUNT_OUTPUT: StaticSchema = (18, n0, _RAAO, {_sSI: _sU, _smith: None}) - -REVOKE_ACME_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _RAA, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - REVOKE_ACME_ACCOUNT_INPUT, - REVOKE_ACME_ACCOUNT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT: StaticSchema = ( - 18, - n0, - _RAEABI, - {_sSI: _cRAEABR, _smit: None}, - (_AEABA,), - ((ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 1),), -) - -REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT: StaticSchema = ( - 18, - n0, - _RAEABO, - {_sSI: _sU, _smith: None}, -) - -REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING: StaticOperationSchema = ( - 23, - n0, - _RAEAB, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT, - REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -REVOKE_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _RCIev, - {_sSI: _cRCRoma, _smit: None}, - (_CAer, _RRe), - ((ARN, 1), (REVOCATION_REASON, 1)), -) - -REVOKE_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _RCOev, - {_sSI: _cRCRomam, _smith: None}, - (_CAer,), - ((ARN, 0),), -) - -REVOKE_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _RCev, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - REVOKE_CERTIFICATE_INPUT, - REVOKE_CERTIFICATE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INVALID_ARN_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SEARCH_MAX_RESULTS: StaticSchema = (7, n0, _SMR, {_smithy: 100}) - -SEARCH_CERTIFICATES_SORT_BY: StaticSchema = ( - 14, - n0, - _SCSB, - 0, - ( - _CA_, - _NA_, - _STATUS, - _RS_, - _EXPORTED, - _IU__, - _NB_, - _KA__, - _TYPE, - _CA__, - _CN_, - _RA_, - _RE_, - _IA_, - _MB_, - _EO___, - _VM_, - _IA__, - _AEA_, - _AAI_, - _CKPO_, - ), - ( - (-1, {_sV: _CA_}), - (-1, {_sV: _NA_}), - (-1, {_sV: _STATUS}), - (-1, {_sV: _RS_}), - (-1, {_sV: _EXPORTED}), - (-1, {_sV: _IU__}), - (-1, {_sV: _NB_}), - (-1, {_sV: _KA__}), - (-1, {_sV: _TYPE}), - (-1, {_sV: _CA__}), - (-1, {_sV: _CN_}), - (-1, {_sV: _RA_}), - (-1, {_sV: _RE_}), - (-1, {_sV: _IA_}), - (-1, {_sV: _MB_}), - (-1, {_sV: _EO___}), - (-1, {_sV: _VM_}), - (-1, {_sV: _IA__}), - (-1, {_sV: _AEA_}), - (-1, {_sV: _AAI_}), - (-1, {_sV: _CKPO_}), - ), -) - -SEARCH_CERTIFICATES_SORT_ORDER: StaticSchema = ( - 14, - n0, - _SCSO, - 0, - (_ASCENDING, _DESCENDING), - ((-1, {_sV: _ASCENDING}), (-1, {_sV: _DESCENDING})), -) - -CERTIFICATE_METADATA: StaticSchema = ( - 19, - n0, - _CM, - 0, - (_ACM,), - ((ACM_CERTIFICATE_METADATA, 0),), -) - -CUSTOM_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _CAu, - 0, - (_OI, _V), - ((STRING, 0), (STRING, 0)), -) - -CUSTOM_ATTRIBUTE_LIST: StaticSchema = (16, n0, _CAL, 0, (_m,), ((CUSTOM_ATTRIBUTE, 0),)) - -DOMAIN_COMPONENT_LIST: StaticSchema = (16, n0, _DCL, 0, (_m,), ((STRING, 0),)) - -DISTINGUISHED_NAME: StaticSchema = ( - 18, - n0, - _DNi, - 0, - ( - _CN, - _DCo, - _Cou, - _CAus, - _DNQ, - _GQ, - _GN, - _Ini, - _L, - _Or, - _OU, - _Ps, - _SN, - _Stat, - _Sur, - _Ti, - ), - ( - (STRING, 0), - (DOMAIN_COMPONENT_LIST, 0), - (STRING, 0), - (CUSTOM_ATTRIBUTE_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - ), -) - -OTHER_NAME: StaticSchema = (18, n0, _ON, 0, (_OI, _V), ((STRING, 0), (STRING, 0))) - -GENERAL_NAME: StaticSchema = ( - 19, - n0, - _GNe, - 0, - (_DNir, _DNn, _IAp, _ON, _RI, _RN, _URI), - ( - (DISTINGUISHED_NAME, 0), - (STRING, 0), - (STRING, 0), - (OTHER_NAME, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - ), -) - -GENERAL_NAME_LIST: StaticSchema = (16, n0, _GNL, 0, (_m,), ((GENERAL_NAME, 0),)) - -X509_ATTRIBUTES: StaticSchema = ( - 18, - n0, - _XA, - 0, - (_I, _Sub, _SAN, _EKUx, _KA, _KUe, _SN, _NA, _NBo), - ( - (DISTINGUISHED_NAME, 0), - (DISTINGUISHED_NAME, 0), - (GENERAL_NAME_LIST, 0), - (EXTENDED_KEY_USAGE_NAMES, 0), - (KEY_ALGORITHM, 0), - (KEY_USAGE_NAMES, 0), - (SERIAL_NUMBER, 0), - (T_STAMP, 0), - (T_STAMP, 0), - ), -) - -CERTIFICATE_SEARCH_RESULT: StaticSchema = ( - 18, - n0, - _CSR, - 0, - (_CAer, _XA, _CM), - ((ARN, 0), (X509_ATTRIBUTES, 0), (CERTIFICATE_METADATA, 0)), -) - -CERTIFICATE_SEARCH_RESULT_LIST: StaticSchema = ( - 16, - n0, - _CSRL, - 0, - (_m,), - ((CERTIFICATE_SEARCH_RESULT, 0),), -) - -SEARCH_CERTIFICATES_OUTPUT: StaticSchema = ( - 18, - n0, - _SCO, - {_sSI: _cSCR, _smith: None}, - (_Re, _NT), - ((CERTIFICATE_SEARCH_RESULT_LIST, 0), (NEXT_TOKEN, 0)), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smit: None}, - (_RAes, _Tag), - ((ARN, 1), (TAG_LIST, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smith: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TRa, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_m,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URIn, - {_sSI: _cURR, _smit: None}, - (_RAes, _TKa), - ((ARN, 1), (TAG_KEY_LIST, 1)), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smith: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - (RESOURCE_NOT_FOUND_EXCEPTION, VALIDATION_EXCEPTION), -) - -UPDATE_ACME_DOMAIN_VALIDATION_INPUT: StaticSchema = ( - 18, - n0, - _UADVI, - {_sSI: _cUADVR, _smit: None}, - (_ADVA, _PO), - ((ACME_DOMAIN_VALIDATION_ARN, 1), (PREVALIDATION_OPTIONS, 0)), -) - -UPDATE_ACME_DOMAIN_VALIDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UADVO, - {_sSI: _sU, _smith: None}, -) - -UPDATE_ACME_DOMAIN_VALIDATION: StaticOperationSchema = ( - 23, - n0, - _UADV, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - UPDATE_ACME_DOMAIN_VALIDATION_INPUT, - UPDATE_ACME_DOMAIN_VALIDATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_ACME_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _UAEI, - {_sSI: _cUAER, _smit: None}, - (_AEA, _AB, _Co, _CAe), - ( - (ACME_ENDPOINT_ARN, 1), - (ACME_AUTHORIZATION_BEHAVIOR, 0), - (ACME_CONTACT, 0), - (CERTIFICATE_AUTHORITY, 0), - ), -) - -UPDATE_ACME_ENDPOINT_OUTPUT: StaticSchema = (18, n0, _UAEO, {_sSI: _sU, _smith: None}) - -UPDATE_ACME_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _UAE, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, - UPDATE_ACME_ENDPOINT_INPUT, - UPDATE_ACME_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_CERTIFICATE_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _UCOI, - {_sSI: _cUCOR, _smit: None}, - (_CAer, _O), - ((ARN, 1), (CERTIFICATE_OPTIONS, 1)), -) - -UPDATE_CERTIFICATE_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _UCOO, - {_sSI: _sU, _smith: None}, -) - -UPDATE_CERTIFICATE_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _UCO, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - UPDATE_CERTIFICATE_OPTIONS_INPUT, - UPDATE_CERTIFICATE_OPTIONS_OUTPUT, - ( - CONFLICT_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_STATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CERTIFICATE_FILTER_STATEMENT: StaticSchema = ( - 19, - n0, - _CFS, - 0, - (_An, _Or_, _No, _Fil), - ( - (lambda: CERTIFICATE_FILTER_STATEMENT_LIST, 0), - (lambda: CERTIFICATE_FILTER_STATEMENT_LIST, 0), - (lambda: CERTIFICATE_FILTER_STATEMENT, 0), - (CERTIFICATE_FILTER, 0), - ), -) - -CERTIFICATE_FILTER_STATEMENT_LIST: StaticSchema = ( - 16, - n0, - _CFSL, - 0, - (_m,), - ((CERTIFICATE_FILTER_STATEMENT, 0),), -) - -SEARCH_CERTIFICATES_INPUT: StaticSchema = ( - 18, - n0, - _SCI, - {_sSI: _cSCRo, _smit: None}, - (_FSi, _MR, _NT, _SB, _SO), - ( - (CERTIFICATE_FILTER_STATEMENT, 0), - (SEARCH_MAX_RESULTS, {_smithy: 100}), - (NEXT_TOKEN, 0), - (SEARCH_CERTIFICATES_SORT_BY, {_smithy: _CA_}), - (SEARCH_CERTIFICATES_SORT_ORDER, {_smithy: _ASCENDING}), - ), -) - -SEARCH_CERTIFICATES: StaticOperationSchema = ( - 23, - n0, - _SC, - {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, - SEARCH_CERTIFICATES_INPUT, - SEARCH_CERTIFICATES_OUTPUT, - (ACCESS_DENIED_EXCEPTION, THROTTLING_EXCEPTION, VALIDATION_EXCEPTION), -) - -CERTIFICATE_MANAGER: StaticSchema = ( - 21, - n0, - _CMe, - { - _a: MappingProxyType({"name": "acm"}), - _a_: None, - _aw: MappingProxyType( - { - "sdkId": "ACM", - "endpointPrefix": "acm", - "arnNamespace": "acm", - "cloudTrailEventSource": "acm.amazonaws.com", - "cloudFormationName": "CertificateManager", - } - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "SERVICE_ERROR_MESSAGE", + "ACCESS_DENIED_EXCEPTION", + "ACME_ACCOUNT_ID", + "ARN", + "CERTIFICATE_KEY_PAIR_ORIGIN", + "T_STAMP", + "NULLABLE_BOOLEAN", + "CERTIFICATE_EXPORT", + "CERTIFICATE_MANAGED_BY", + "RENEWAL_ELIGIBILITY", + "RENEWAL_STATUS", + "CERTIFICATE_STATUS", + "CERTIFICATE_TYPE", + "VALIDATION_METHOD", + "ACM_CERTIFICATE_METADATA", + "ACM_CERTIFICATE_METADATA_FILTER", + "ACME_EXTERNAL_ACCOUNT_BINDING_ARN", + "CONTACT_LIST", + "ACME_ACCOUNT_STATUS", + "ACME_ACCOUNT", + "ACME_ACCOUNT_SUMMARY", + "ACME_ACCOUNT_LIST", + "ACME_AUTHORIZATION_BEHAVIOR", + "ACME_CONTACT", + "ACME_DOMAIN_VALIDATION_ARN", + "ACME_ENDPOINT_ARN", + "DOMAIN_NAME", + "ACME_DOMAIN_VALIDATION_FAILURE_REASON", + "FAILURE_DETAILS", + "DOMAIN_SCOPE_OPTION", + "DOMAIN_SCOPE", + "HOSTED_ZONE_ID", + "STRING", + "RECORD_TYPE", + "RESOURCE_RECORD", + "DNS_PREVALIDATION_DETAILS", + "PREVALIDATION_DETAILS", + "PREVALIDATION_TYPE", + "ACME_DOMAIN_VALIDATION_STATUS", + "ACME_DOMAIN_VALIDATION", + "ACME_DOMAIN_VALIDATION_SUMMARY", + "ACME_DOMAIN_VALIDATION_LIST", + "PUBLIC_KEY_ALGORITHM", + "PUBLIC_KEY_ALGORITHM_LIST", + "PUBLIC_CERTIFICATE_AUTHORITY", + "CERTIFICATE_AUTHORITY", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAG_LIST", + "ACME_ENDPOINT_STATUS", + "ACME_ENDPOINT", + "ACME_ENDPOINT_SUMMARY", + "ACME_ENDPOINT_LIST", + "ROLE_ARN", + "ACME_EXTERNAL_ACCOUNT_BINDING", + "ACME_EXTERNAL_ACCOUNT_BINDING_SUMMARY", + "ACME_EXTERNAL_ACCOUNT_BINDING_LIST", + "ADD_TAGS_TO_CERTIFICATE_INPUT", + "ADD_TAGS_TO_CERTIFICATE_OUTPUT", + "ADD_TAGS_TO_CERTIFICATE", + "INVALID_ARN_EXCEPTION", + "INVALID_PARAMETER_EXCEPTION", + "INVALID_TAG_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "TAG_POLICY_EXCEPTION", + "AVAILABILITY_ERROR_MESSAGE", + "CORAL_AVAILABILITY_THROTTLING_REASON", + "CORAL_AVAILABILITY_THROTTLED_RESOURCE", + "THROTTLING_REASON", + "THROTTLING_REASON_LIST", + "THROTTLING_EXCEPTION", + "TOO_MANY_TAGS_EXCEPTION", + "VALIDATION_EXCEPTION_MESSAGE", + "VALIDATION_EXCEPTION", + "CERTIFICATE_ARN", + "CERTIFICATE_BODY", + "CERTIFICATE_BODY_BLOB", + "CERTIFICATE_CHAIN", + "CERTIFICATE_CHAIN_BLOB", + "DOMAIN_NAME_STRING", + "HTTP_REDIRECT", + "VALIDATION_EMAIL_LIST", + "DOMAIN_STATUS", + "DOMAIN_VALIDATION", + "DOMAIN_VALIDATION_LIST", + "EXTENDED_KEY_USAGE_NAME", + "EXTENDED_KEY_USAGE", + "EXTENDED_KEY_USAGE_LIST", + "FAILURE_REASON", + "IN_USE_LIST", + "KEY_ALGORITHM", + "KEY_USAGE_NAME", + "KEY_USAGE", + "KEY_USAGE_LIST", + "CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE", + "CERTIFICATE_OPTIONS", + "RENEWAL_SUMMARY", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "REQUEST_IN_PROGRESS_EXCEPTION", + ), + ( + "REVOCATION_REASON", + "DOMAIN_LIST", + "DOMAIN_VALIDATION_METHOD_UPDATE_SUMMARY", + "UPDATE_STATUS", + "UPDATE_TYPE", + "UPDATE_SUMMARY", + "CERTIFICATE_DETAIL", + "TIMESTAMP_RANGE", + "SERIAL_NUMBER", + "COMPARISON_OPERATOR", + "FILTER_STRING", + "COMMON_NAME_FILTER", + "SUBJECT_FILTER", + "DNS_NAME_FILTER", + "SUBJECT_ALTERNATIVE_NAME_FILTER", + "X509_ATTRIBUTE_FILTER", + "CERTIFICATE_FILTER", + "CERTIFICATE_KEY_PAIR_ORIGINS", + "CONFLICT_EXCEPTION", + "DNS_PREVALIDATION_OPTIONS", + "PREVALIDATION_OPTIONS", + "CREATE_ACME_DOMAIN_VALIDATION_INPUT", + "CREATE_ACME_DOMAIN_VALIDATION_OUTPUT", + "CREATE_ACME_DOMAIN_VALIDATION", + "INTERNAL_SERVER_EXCEPTION", + "CREATE_ACME_ENDPOINT_INPUT", + "CREATE_ACME_ENDPOINT_OUTPUT", + "CREATE_ACME_ENDPOINT", + "TIME_TYPE", + "EXPIRATION", + "CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT", + "CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT", + "CREATE_ACME_EXTERNAL_ACCOUNT_BINDING", + "DELETE_ACME_DOMAIN_VALIDATION_INPUT", + "DELETE_ACME_DOMAIN_VALIDATION_OUTPUT", + "DELETE_ACME_DOMAIN_VALIDATION", + "DELETE_ACME_ENDPOINT_INPUT", + "DELETE_ACME_ENDPOINT_OUTPUT", + "DELETE_ACME_ENDPOINT", + "DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT", + "DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT", + "DELETE_ACME_EXTERNAL_ACCOUNT_BINDING", + "DELETE_CERTIFICATE_INPUT", + "DELETE_CERTIFICATE_OUTPUT", + "DELETE_CERTIFICATE", + "RESOURCE_IN_USE_EXCEPTION", + "DESCRIBE_ACME_ACCOUNT_INPUT", + "DESCRIBE_ACME_ACCOUNT_OUTPUT", + "DESCRIBE_ACME_ACCOUNT", + "DESCRIBE_ACME_DOMAIN_VALIDATION_INPUT", + "DESCRIBE_ACME_DOMAIN_VALIDATION_OUTPUT", + "DESCRIBE_ACME_DOMAIN_VALIDATION", + "DESCRIBE_ACME_ENDPOINT_INPUT", + "DESCRIBE_ACME_ENDPOINT_OUTPUT", + "DESCRIBE_ACME_ENDPOINT", + "DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT", + "DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT", + "DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING", + "DESCRIBE_CERTIFICATE_INPUT", + "DESCRIBE_CERTIFICATE_OUTPUT", + "DESCRIBE_CERTIFICATE", + "PASSPHRASE_BLOB", + "EXPORT_CERTIFICATE_INPUT", + "EXPORT_CERTIFICATE_OUTPUT", + "EXPORT_CERTIFICATE", + "PRIVATE_KEY", + "GET_ACCOUNT_CONFIGURATION_INPUT", + "GET_ACCOUNT_CONFIGURATION_OUTPUT", + "GET_ACCOUNT_CONFIGURATION", + "POSITIVE_INTEGER", + "EXPIRY_EVENTS_CONFIGURATION", + "GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_INPUT", + "GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_OUTPUT", + "GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS", + "MAC_KEY", + "GET_CERTIFICATE_INPUT", + "GET_CERTIFICATE_OUTPUT", + "GET_CERTIFICATE", + "PRIVATE_KEY_BLOB", + "IMPORT_CERTIFICATE_INPUT", + "IMPORT_CERTIFICATE_OUTPUT", + "IMPORT_CERTIFICATE", + "LIMIT_EXCEEDED_EXCEPTION", + "LIST_ACME_ACCOUNTS_INPUT", + "LIST_ACME_ACCOUNTS_OUTPUT", + "LIST_ACME_ACCOUNTS", + "LIST_ACME_DOMAIN_VALIDATIONS_INPUT", + "LIST_ACME_DOMAIN_VALIDATIONS_OUTPUT", + "LIST_ACME_DOMAIN_VALIDATIONS", + "LIST_ACME_ENDPOINTS_INPUT", + "LIST_ACME_ENDPOINTS_OUTPUT", + "LIST_ACME_ENDPOINTS", + "LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_INPUT", + "LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_OUTPUT", + "LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS", + ), + ( + "INVALID_ARGS_EXCEPTION", + "MAX_ITEMS", + "NEXT_TOKEN", + "LIST_CERTIFICATE_DOMAIN_VALIDATIONS_INPUT", + "LIST_CERTIFICATE_DOMAIN_VALIDATIONS_OUTPUT", + "LIST_CERTIFICATE_DOMAIN_VALIDATIONS", + "DNS_VALIDATION_CHALLENGE", + "EMAIL_VALIDATION_CHALLENGE", + "VALIDATION_CHALLENGE", + "VALIDATION_CONFIGURATION", + "DOMAIN_VALIDATION_SUMMARY", + "DOMAIN_VALIDATION_SUMMARY_LIST", + "CERTIFICATE_STATUSES", + "EXTENDED_KEY_USAGE_FILTER_LIST", + "KEY_ALGORITHM_LIST", + "KEY_USAGE_FILTER_LIST", + "FILTERS", + "SORT_BY", + "SORT_ORDER", + "LIST_CERTIFICATES_INPUT", + "LIST_CERTIFICATES_OUTPUT", + "LIST_CERTIFICATES", + "EXTENDED_KEY_USAGE_NAMES", + "KEY_USAGE_NAMES", + "CERTIFICATE_SUMMARY", + "CERTIFICATE_SUMMARY_LIST", + "LIST_TAGS_FOR_CERTIFICATE_INPUT", + "LIST_TAGS_FOR_CERTIFICATE_OUTPUT", + "LIST_TAGS_FOR_CERTIFICATE", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "IDEMPOTENCY_TOKEN", + "PUT_ACCOUNT_CONFIGURATION_INPUT", + "PUT_ACCOUNT_CONFIGURATION_OUTPUT", + "PUT_ACCOUNT_CONFIGURATION", + "REMOVE_TAGS_FROM_CERTIFICATE_INPUT", + "REMOVE_TAGS_FROM_CERTIFICATE_OUTPUT", + "REMOVE_TAGS_FROM_CERTIFICATE", + "RENEW_CERTIFICATE_INPUT", + "RENEW_CERTIFICATE_OUTPUT", + "RENEW_CERTIFICATE", + "INVALID_DOMAIN_VALIDATION_OPTIONS_EXCEPTION", + "PCA_ARN", + "DOMAIN_VALIDATION_OPTION", + "DOMAIN_VALIDATION_OPTION_LIST", + "REQUEST_CERTIFICATE_INPUT", + "REQUEST_CERTIFICATE_OUTPUT", + "REQUEST_CERTIFICATE", + "INVALID_STATE_EXCEPTION", + "RESEND_VALIDATION_EMAIL_INPUT", + "RESEND_VALIDATION_EMAIL_OUTPUT", + "RESEND_VALIDATION_EMAIL", + "REVOKE_ACME_ACCOUNT_INPUT", + "REVOKE_ACME_ACCOUNT_OUTPUT", + "REVOKE_ACME_ACCOUNT", + "REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT", + "REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT", + "REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING", + "REVOKE_CERTIFICATE_INPUT", + "REVOKE_CERTIFICATE_OUTPUT", + "REVOKE_CERTIFICATE", + "SEARCH_MAX_RESULTS", + "SEARCH_CERTIFICATES_SORT_BY", + "SEARCH_CERTIFICATES_SORT_ORDER", + "CERTIFICATE_METADATA", + "CUSTOM_ATTRIBUTE", + "CUSTOM_ATTRIBUTE_LIST", + "DOMAIN_COMPONENT_LIST", + "DISTINGUISHED_NAME", + "OTHER_NAME", + "GENERAL_NAME", + "GENERAL_NAME_LIST", + "X509_ATTRIBUTES", + "CERTIFICATE_SEARCH_RESULT", + "CERTIFICATE_SEARCH_RESULT_LIST", + "SEARCH_CERTIFICATES_OUTPUT", + "SEARCH_CERTIFICATES_INPUT", + "SEARCH_CERTIFICATES", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "UPDATE_ACME_DOMAIN_VALIDATION_INPUT", + "UPDATE_ACME_DOMAIN_VALIDATION_OUTPUT", + "UPDATE_ACME_DOMAIN_VALIDATION", + "UPDATE_ACME_ENDPOINT_INPUT", + "UPDATE_ACME_ENDPOINT_OUTPUT", + "UPDATE_ACME_ENDPOINT", + "UPDATE_CERTIFICATE_OPTIONS_INPUT", + "UPDATE_CERTIFICATE_OPTIONS_OUTPUT", + "UPDATE_CERTIFICATE_OPTIONS", + "CERTIFICATE_FILTER_STATEMENT", + "CERTIFICATE_FILTER_STATEMENT_LIST", + "CERTIFICATE_MANAGER", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas_0.py b/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas_0.py new file mode 100644 index 000000000..a8e942538 --- /dev/null +++ b/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas_0.py @@ -0,0 +1,1131 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.acm" +_SEM = "ServiceErrorMessage" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_AAI = "AcmeAccountId" +_A = "Arn" +_CKPO = "CertificateKeyPairOrigin" +_AM = "AWS_MANAGED" +_sV = "smithy.api#enumValue" +_ACME = "ACME" +_CP = "CUSTOMER_PROVIDED" +_TS = "TStamp" +_NB = "NullableBoolean" +_CE = "CertificateExport" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_CMB = "CertificateManagedBy" +_CLOUDFRONT = "CLOUDFRONT" +_RE = "RenewalEligibility" +_ELIGIBLE = "ELIGIBLE" +_INELIGIBLE = "INELIGIBLE" +_RS = "RenewalStatus" +_PAR = "PENDING_AUTO_RENEWAL" +_PV = "PENDING_VALIDATION" +_SUCCESS = "SUCCESS" +_FAILED = "FAILED" +_CS = "CertificateStatus" +_ISSUED = "ISSUED" +_INACTIVE = "INACTIVE" +_EXPIRED = "EXPIRED" +_VTO = "VALIDATION_TIMED_OUT" +_REVOKED = "REVOKED" +_CT = "CertificateType" +_IMPORTED = "IMPORTED" +_AI = "AMAZON_ISSUED" +_PRIVATE = "PRIVATE" +_VM = "ValidationMethod" +_EMAIL = "EMAIL" +_DNS = "DNS" +_HTTP = "HTTP" +_ACM = "AcmCertificateMetadata" +_CA = "CreatedAt" +_E = "Exported" +_IA = "ImportedAt" +_IU = "InUse" +_IAs = "IssuedAt" +_RA = "RevokedAt" +_S = "Status" +_T = "Type" +_EO = "ExportOption" +_MB = "ManagedBy" +_AEA = "AcmeEndpointArn" +_ACMF = "AcmCertificateMetadataFilter" +_AEABA = "AcmeExternalAccountBindingArn" +_CL = "ContactList" +_sm = "smithy.api#sensitive" +_m = "member" +_AAS = "AcmeAccountStatus" +_VALID = "VALID" +_DEACTIVATED = "DEACTIVATED" +_AA = "AcmeAccount" +_AU = "AccountUrl" +_PKT = "PublicKeyThumbprint" +_C = "Contacts" +_AASc = "AcmeAccountSummary" +_AAL = "AcmeAccountList" +_AAB = "AcmeAuthorizationBehavior" +_PA = "PRE_APPROVED" +_AC = "AcmeContact" +_REQUIRED = "REQUIRED" +_NR = "NOT_REQUIRED" +_ADVA = "AcmeDomainValidationArn" +_DN = "DomainName" +_ADVFR = "AcmeDomainValidationFailureReason" +_AD = "ACCESS_DENIED" +_DM = "DOMAIN_MISMATCH" +_DNA = "DOMAIN_NOT_ALLOWED" +_ENA = "ENDPOINT_NOT_ACTIVE" +_HZNF = "HOSTED_ZONE_NOT_FOUND" +_IF = "INTERNAL_FAILURE" +_ICB = "INVALID_CHANGE_BATCH" +_IPD = "INVALID_PUBLIC_DOMAIN" +_TO = "TIMED_OUT" +_FD = "FailureDetails" +_R = "Reason" +_DSO = "DomainScopeOption" +_DS = "DomainScope" +_ED = "ExactDomain" +_Su = "Subdomains" +_W = "Wildcards" +_HZI = "HostedZoneId" +_St = "String" +_RT = "RecordType" +_CNAME = "CNAME" +_RR = "ResourceRecord" +_N = "Name" +_smi = "smithy.api#required" +_V = "Value" +_DPD = "DnsPrevalidationDetails" +_PD = "PrevalidationDetails" +_DP = "DnsPrevalidation" +_PT = "PrevalidationType" +_DP_ = "DNS_PREVALIDATION" +_ADVS = "AcmeDomainValidationStatus" +_VALIDATING = "VALIDATING" +_INVALID = "INVALID" +_DELETING = "DELETING" +_ADV = "AcmeDomainValidation" +_UA = "UpdatedAt" +_ADVSc = "AcmeDomainValidationSummary" +_ADVL = "AcmeDomainValidationList" +_PKA = "PublicKeyAlgorithm" +_R_ = "RSA_2048" +_EPV = "EC_PRIME256_V1" +_Ep = "EC_prime256v1" +_ESR = "EC_SECP384_R1" +_Es = "EC_secp384r1" +_PKAL = "PublicKeyAlgorithmList" +_PCA = "PublicCertificateAuthority" +_AKA = "AllowedKeyAlgorithms" +_CAe = "CertificateAuthority" +_TK = "TagKey" +_TV = "TagValue" +_Ta = "Tag" +_K = "Key" +_TL = "TagList" +_AES = "AcmeEndpointStatus" +_CREATING = "CREATING" +_ACTIVE = "ACTIVE" +_AE = "AcmeEndpoint" +_EU = "EndpointUrl" +_FR = "FailureReason" +_AB = "AuthorizationBehavior" +_Co = "Contact" +_CTe = "CertificateTags" +_AESc = "AcmeEndpointSummary" +_AEL = "AcmeEndpointList" +_RAo = "RoleArn" +_AEAB = "AcmeExternalAccountBinding" +_EA = "ExpiresAt" +_LUA = "LastUsedAt" +_AEABS = "AcmeExternalAccountBindingSummary" +_AEABL = "AcmeExternalAccountBindingList" +_ATTCI = "AddTagsToCertificateInput" +_sSI = "smithy.synthetic#originalShapeId" +_cATTCR = "com.amazonaws.acm#AddTagsToCertificateRequest" +_smit = "smithy.api#input" +_CAer = "CertificateArn" +_Tag = "Tags" +_ATTCO = "AddTagsToCertificateOutput" +_sU = "smithy.api#Unit" +_smith = "smithy.api#output" +_IAE = "InvalidArnException" +_me = "message" +_IPE = "InvalidParameterException" +_ITE = "InvalidTagException" +_RNFE = "ResourceNotFoundException" +_TPE = "TagPolicyException" +_AEM = "AvailabilityErrorMessage" +_CATR = "CoralAvailabilityThrottlingReason" +_CATRo = "CoralAvailabilityThrottledResource" +_TR = "ThrottlingReason" +_r = "reason" +_re = "resource" +_TRL = "ThrottlingReasonList" +_TE = "ThrottlingException" +_tR = "throttlingReasons" +_TMTE = "TooManyTagsException" +_VEM = "ValidationExceptionMessage" +_VE = "ValidationException" +_ATTC = "AddTagsToCertificate" +_sCP = "smithy.rules#staticContextParams" +_CB = "CertificateBody" +_CBB = "CertificateBodyBlob" +_CC = "CertificateChain" +_CCB = "CertificateChainBlob" +_DNSo = "DomainNameString" +_HR = "HttpRedirect" +_RF = "RedirectFrom" +_RTe = "RedirectTo" +_VEL = "ValidationEmailList" +_DSo = "DomainStatus" +_DV = "DomainValidation" +_VEa = "ValidationEmails" +_VD = "ValidationDomain" +_VS = "ValidationStatus" +_DVL = "DomainValidationList" +_EKUN = "ExtendedKeyUsageName" +_TWSA = "TLS_WEB_SERVER_AUTHENTICATION" +_TWCA = "TLS_WEB_CLIENT_AUTHENTICATION" +_CS_ = "CODE_SIGNING" +_EP = "EMAIL_PROTECTION" +_TS_ = "TIME_STAMPING" +_OS = "OCSP_SIGNING" +_IES = "IPSEC_END_SYSTEM" +_IT = "IPSEC_TUNNEL" +_IU_ = "IPSEC_USER" +_ANY = "ANY" +_NONE = "NONE" +_CUSTOM = "CUSTOM" +_EKU = "ExtendedKeyUsage" +_OID = "OID" +_EKUL = "ExtendedKeyUsageList" +_NAC = "NO_AVAILABLE_CONTACTS" +_AVR = "ADDITIONAL_VERIFICATION_REQUIRED" +_DVD = "DOMAIN_VALIDATION_DENIED" +_CE_ = "CAA_ERROR" +_PLE = "PCA_LIMIT_EXCEEDED" +_PIA = "PCA_INVALID_ARN" +_PIS = "PCA_INVALID_STATE" +_PRF = "PCA_REQUEST_FAILED" +_PNCV = "PCA_NAME_CONSTRAINTS_VALIDATION" +_PRNF = "PCA_RESOURCE_NOT_FOUND" +_PIA_ = "PCA_INVALID_ARGS" +_PID = "PCA_INVALID_DURATION" +_PAD = "PCA_ACCESS_DENIED" +_SNF = "SLR_NOT_FOUND" +_OTHER = "OTHER" +_IUL = "InUseList" +_KA = "KeyAlgorithm" +_R__ = "RSA_1024" +_R___ = "RSA_3072" +_R____ = "RSA_4096" +_Es_ = "EC_secp521r1" +_KUN = "KeyUsageName" +_DS_ = "DIGITAL_SIGNATURE" +_NR_ = "NON_REPUDATION" +_NR__ = "NON_REPUDIATION" +_KE = "KEY_ENCIPHERMENT" +_DE = "DATA_ENCIPHERMENT" +_KA_ = "KEY_AGREEMENT" +_CS__ = "CERTIFICATE_SIGNING" +_CS___ = "CRL_SIGNING" +_EO_ = "ENCHIPER_ONLY" +_EO__ = "ENCIPHER_ONLY" +_DO = "DECIPHER_ONLY" +_KU = "KeyUsage" +_KUL = "KeyUsageList" +_CTLP = "CertificateTransparencyLoggingPreference" +_CO = "CertificateOptions" +_Ex = "Export" +_RSe = "RenewalSummary" +_DVO = "DomainValidationOptions" +_RSR = "RenewalStatusReason" +_SQEE = "ServiceQuotaExceededException" +_RIPE = "RequestInProgressException" + +SERVICE_ERROR_MESSAGE: StaticSchema = (3, n0, _SEM, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + { + _s: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "AccessDenied", "httpResponseCode": 403}), + }, + (_M,), + ((SERVICE_ERROR_MESSAGE, 0),), +) + +ACME_ACCOUNT_ID: StaticSchema = (3, n0, _AAI, 0) + +ARN: StaticSchema = (3, n0, _A, 0) + +CERTIFICATE_KEY_PAIR_ORIGIN: StaticSchema = ( + 14, + n0, + _CKPO, + 0, + (_AM, _ACME, _CP), + ((-1, {_sV: _AM}), (-1, {_sV: _ACME}), (-1, {_sV: _CP})), +) + +T_STAMP: StaticSchema = (4, n0, _TS, 0) + +NULLABLE_BOOLEAN: StaticSchema = (2, n0, _NB, 0) + +CERTIFICATE_EXPORT: StaticSchema = ( + 14, + n0, + _CE, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +CERTIFICATE_MANAGED_BY: StaticSchema = ( + 14, + n0, + _CMB, + 0, + (_CLOUDFRONT,), + ((-1, {_sV: _CLOUDFRONT}),), +) + +RENEWAL_ELIGIBILITY: StaticSchema = ( + 14, + n0, + _RE, + 0, + (_ELIGIBLE, _INELIGIBLE), + ((-1, {_sV: _ELIGIBLE}), (-1, {_sV: _INELIGIBLE})), +) + +RENEWAL_STATUS: StaticSchema = ( + 14, + n0, + _RS, + 0, + (_PAR, _PV, _SUCCESS, _FAILED), + ((-1, {_sV: _PAR}), (-1, {_sV: _PV}), (-1, {_sV: _SUCCESS}), (-1, {_sV: _FAILED})), +) + +CERTIFICATE_STATUS: StaticSchema = ( + 14, + n0, + _CS, + 0, + (_PV, _ISSUED, _INACTIVE, _EXPIRED, _VTO, _REVOKED, _FAILED), + ( + (-1, {_sV: _PV}), + (-1, {_sV: _ISSUED}), + (-1, {_sV: _INACTIVE}), + (-1, {_sV: _EXPIRED}), + (-1, {_sV: _VTO}), + (-1, {_sV: _REVOKED}), + (-1, {_sV: _FAILED}), + ), +) + +CERTIFICATE_TYPE: StaticSchema = ( + 14, + n0, + _CT, + 0, + (_IMPORTED, _AI, _PRIVATE), + ((-1, {_sV: _IMPORTED}), (-1, {_sV: _AI}), (-1, {_sV: _PRIVATE})), +) + +VALIDATION_METHOD: StaticSchema = ( + 14, + n0, + _VM, + 0, + (_EMAIL, _DNS, _HTTP), + ((-1, {_sV: _EMAIL}), (-1, {_sV: _DNS}), (-1, {_sV: _HTTP})), +) + +ACM_CERTIFICATE_METADATA: StaticSchema = ( + 18, + n0, + _ACM, + 0, + (_CA, _E, _IA, _IU, _IAs, _RE, _RA, _S, _RS, _T, _EO, _MB, _VM, _CKPO, _AEA, _AAI), + ( + (T_STAMP, 0), + (NULLABLE_BOOLEAN, 0), + (T_STAMP, 0), + (NULLABLE_BOOLEAN, 0), + (T_STAMP, 0), + (RENEWAL_ELIGIBILITY, 0), + (T_STAMP, 0), + (CERTIFICATE_STATUS, 0), + (RENEWAL_STATUS, 0), + (CERTIFICATE_TYPE, 0), + (CERTIFICATE_EXPORT, 0), + (CERTIFICATE_MANAGED_BY, 0), + (VALIDATION_METHOD, 0), + (CERTIFICATE_KEY_PAIR_ORIGIN, 0), + (ARN, 0), + (ACME_ACCOUNT_ID, 0), + ), +) + +ACM_CERTIFICATE_METADATA_FILTER: StaticSchema = ( + 19, + n0, + _ACMF, + 0, + (_S, _RS, _T, _IU, _E, _EO, _MB, _VM, _CKPO, _AEA, _AAI), + ( + (CERTIFICATE_STATUS, 0), + (RENEWAL_STATUS, 0), + (CERTIFICATE_TYPE, 0), + (NULLABLE_BOOLEAN, 0), + (NULLABLE_BOOLEAN, 0), + (CERTIFICATE_EXPORT, 0), + (CERTIFICATE_MANAGED_BY, 0), + (VALIDATION_METHOD, 0), + (CERTIFICATE_KEY_PAIR_ORIGIN, 0), + (ARN, 0), + (ACME_ACCOUNT_ID, 0), + ), +) + +ACME_EXTERNAL_ACCOUNT_BINDING_ARN: StaticSchema = (3, n0, _AEABA, 0) + +CONTACT_LIST: StaticSchema = (16, n0, _CL, 4, (_m,), ((3, 0),)) + +ACME_ACCOUNT_STATUS: StaticSchema = ( + 14, + n0, + _AAS, + 0, + (_VALID, _DEACTIVATED, _REVOKED), + ((-1, {_sV: _VALID}), (-1, {_sV: _DEACTIVATED}), (-1, {_sV: _REVOKED})), +) + +ACME_ACCOUNT: StaticSchema = ( + 18, + n0, + _AA, + 0, + (_AU, _PKT, _S, _CA, _AEABA, _C), + ( + (3, 0), + (3, 0), + (ACME_ACCOUNT_STATUS, 0), + (4, 0), + (ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 0), + (CONTACT_LIST, 0), + ), +) + +ACME_ACCOUNT_SUMMARY: StaticSchema = ( + 18, + n0, + _AASc, + 0, + (_AU, _PKT, _S, _CA, _AEABA, _C), + ( + (3, 0), + (3, 0), + (ACME_ACCOUNT_STATUS, 0), + (4, 0), + (ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 0), + (CONTACT_LIST, 0), + ), +) + +ACME_ACCOUNT_LIST: StaticSchema = (16, n0, _AAL, 0, (_m,), ((ACME_ACCOUNT_SUMMARY, 0),)) + +ACME_AUTHORIZATION_BEHAVIOR: StaticSchema = ( + 14, + n0, + _AAB, + 0, + (_PA,), + ((-1, {_sV: _PA}),), +) + +ACME_CONTACT: StaticSchema = ( + 14, + n0, + _AC, + 0, + (_REQUIRED, _NR), + ((-1, {_sV: _REQUIRED}), (-1, {_sV: _NR})), +) + +ACME_DOMAIN_VALIDATION_ARN: StaticSchema = (3, n0, _ADVA, 0) + +ACME_ENDPOINT_ARN: StaticSchema = (3, n0, _AEA, 0) + +DOMAIN_NAME: StaticSchema = (3, n0, _DN, 0) + +ACME_DOMAIN_VALIDATION_FAILURE_REASON: StaticSchema = ( + 14, + n0, + _ADVFR, + 0, + (_AD, _DM, _DNA, _ENA, _HZNF, _IF, _ICB, _IPD, _TO), + ( + (-1, {_sV: _AD}), + (-1, {_sV: _DM}), + (-1, {_sV: _DNA}), + (-1, {_sV: _ENA}), + (-1, {_sV: _HZNF}), + (-1, {_sV: _IF}), + (-1, {_sV: _ICB}), + (-1, {_sV: _IPD}), + (-1, {_sV: _TO}), + ), +) + +FAILURE_DETAILS: StaticSchema = ( + 18, + n0, + _FD, + 0, + (_R, _M), + ((ACME_DOMAIN_VALIDATION_FAILURE_REASON, 0), (3, 0)), +) + +DOMAIN_SCOPE_OPTION: StaticSchema = ( + 14, + n0, + _DSO, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +DOMAIN_SCOPE: StaticSchema = ( + 18, + n0, + _DS, + 0, + (_ED, _Su, _W), + ((DOMAIN_SCOPE_OPTION, 0), (DOMAIN_SCOPE_OPTION, 0), (DOMAIN_SCOPE_OPTION, 0)), +) + +HOSTED_ZONE_ID: StaticSchema = (3, n0, _HZI, 0) + +STRING: StaticSchema = (3, n0, _St, 0) + +RECORD_TYPE: StaticSchema = (14, n0, _RT, 0, (_CNAME,), ((-1, {_sV: _CNAME}),)) + +RESOURCE_RECORD: StaticSchema = ( + 18, + n0, + _RR, + 0, + (_N, _T, _V), + ((STRING, 1), (RECORD_TYPE, 1), (STRING, 1)), +) + +DNS_PREVALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _DPD, + 0, + (_DS, _HZI, _RR), + ((DOMAIN_SCOPE, 0), (HOSTED_ZONE_ID, 0), (RESOURCE_RECORD, 0)), +) + +PREVALIDATION_DETAILS: StaticSchema = ( + 19, + n0, + _PD, + 0, + (_DP,), + ((DNS_PREVALIDATION_DETAILS, 0),), +) + +PREVALIDATION_TYPE: StaticSchema = (14, n0, _PT, 0, (_DP_,), ((-1, {_sV: _DP_}),)) + +ACME_DOMAIN_VALIDATION_STATUS: StaticSchema = ( + 14, + n0, + _ADVS, + 0, + (_VALIDATING, _VALID, _INVALID, _DELETING), + ( + (-1, {_sV: _VALIDATING}), + (-1, {_sV: _VALID}), + (-1, {_sV: _INVALID}), + (-1, {_sV: _DELETING}), + ), +) + +ACME_DOMAIN_VALIDATION: StaticSchema = ( + 18, + n0, + _ADV, + 0, + (_ADVA, _AEA, _DN, _PT, _PD, _S, _FD, _CA, _UA), + ( + (ACME_DOMAIN_VALIDATION_ARN, 0), + (ACME_ENDPOINT_ARN, 0), + (DOMAIN_NAME, 0), + (PREVALIDATION_TYPE, 0), + (PREVALIDATION_DETAILS, 0), + (ACME_DOMAIN_VALIDATION_STATUS, 0), + (FAILURE_DETAILS, 0), + (4, 0), + (4, 0), + ), +) + +ACME_DOMAIN_VALIDATION_SUMMARY: StaticSchema = ( + 18, + n0, + _ADVSc, + 0, + (_ADVA, _AEA, _DN, _PT, _PD, _S, _FD, _CA, _UA), + ( + (ACME_DOMAIN_VALIDATION_ARN, 0), + (ACME_ENDPOINT_ARN, 0), + (DOMAIN_NAME, 0), + (PREVALIDATION_TYPE, 0), + (PREVALIDATION_DETAILS, 0), + (ACME_DOMAIN_VALIDATION_STATUS, 0), + (FAILURE_DETAILS, 0), + (4, 0), + (4, 0), + ), +) + +ACME_DOMAIN_VALIDATION_LIST: StaticSchema = ( + 16, + n0, + _ADVL, + 0, + (_m,), + ((ACME_DOMAIN_VALIDATION_SUMMARY, 0),), +) + +PUBLIC_KEY_ALGORITHM: StaticSchema = ( + 14, + n0, + _PKA, + 0, + (_R_, _EPV, _ESR), + ((-1, {_sV: _R_}), (-1, {_sV: _Ep}), (-1, {_sV: _Es})), +) + +PUBLIC_KEY_ALGORITHM_LIST: StaticSchema = ( + 16, + n0, + _PKAL, + 0, + (_m,), + ((PUBLIC_KEY_ALGORITHM, 0),), +) + +PUBLIC_CERTIFICATE_AUTHORITY: StaticSchema = ( + 18, + n0, + _PCA, + 0, + (_AKA,), + ((PUBLIC_KEY_ALGORITHM_LIST, 0),), +) + +CERTIFICATE_AUTHORITY: StaticSchema = ( + 19, + n0, + _CAe, + 0, + (_PCA,), + ((PUBLIC_CERTIFICATE_AUTHORITY, 0),), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _Ta, 0, (_K, _V), ((TAG_KEY, 1), (TAG_VALUE, 0))) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) + +ACME_ENDPOINT_STATUS: StaticSchema = ( + 14, + n0, + _AES, + 0, + (_CREATING, _ACTIVE, _DELETING, _FAILED), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _FAILED}), + ), +) + +ACME_ENDPOINT: StaticSchema = ( + 18, + n0, + _AE, + 0, + (_AEA, _EU, _S, _FR, _AB, _Co, _CAe, _CTe, _CA, _UA), + ( + (ACME_ENDPOINT_ARN, 0), + (3, 0), + (ACME_ENDPOINT_STATUS, 0), + (3, 0), + (ACME_AUTHORIZATION_BEHAVIOR, 0), + (ACME_CONTACT, 0), + (CERTIFICATE_AUTHORITY, 0), + (TAG_LIST, 0), + (4, 0), + (4, 0), + ), +) + +ACME_ENDPOINT_SUMMARY: StaticSchema = ( + 18, + n0, + _AESc, + 0, + (_AEA, _EU, _S, _FR, _AB, _Co, _CAe, _CTe, _CA, _UA), + ( + (ACME_ENDPOINT_ARN, 0), + (3, 0), + (ACME_ENDPOINT_STATUS, 0), + (3, 0), + (ACME_AUTHORIZATION_BEHAVIOR, 0), + (ACME_CONTACT, 0), + (CERTIFICATE_AUTHORITY, 0), + (TAG_LIST, 0), + (4, 0), + (4, 0), + ), +) + +ACME_ENDPOINT_LIST: StaticSchema = ( + 16, + n0, + _AEL, + 0, + (_m,), + ((ACME_ENDPOINT_SUMMARY, 0),), +) + +ROLE_ARN: StaticSchema = (3, n0, _RAo, 0) + +ACME_EXTERNAL_ACCOUNT_BINDING: StaticSchema = ( + 18, + n0, + _AEAB, + 0, + (_AEABA, _AEA, _RAo, _EA, _RA, _LUA, _CA, _UA), + ( + (ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 0), + (ACME_ENDPOINT_ARN, 0), + (ROLE_ARN, 0), + (4, 0), + (4, 0), + (4, 0), + (4, 0), + (4, 0), + ), +) + +ACME_EXTERNAL_ACCOUNT_BINDING_SUMMARY: StaticSchema = ( + 18, + n0, + _AEABS, + 0, + (_AEABA, _AEA, _RAo, _EA, _RA, _LUA, _CA, _UA), + ( + (ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 0), + (ACME_ENDPOINT_ARN, 0), + (ROLE_ARN, 0), + (4, 0), + (4, 0), + (4, 0), + (4, 0), + (4, 0), + ), +) + +ACME_EXTERNAL_ACCOUNT_BINDING_LIST: StaticSchema = ( + 16, + n0, + _AEABL, + 0, + (_m,), + ((ACME_EXTERNAL_ACCOUNT_BINDING_SUMMARY, 0),), +) + +ADD_TAGS_TO_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _ATTCI, + {_sSI: _cATTCR, _smit: None}, + (_CAer, _Tag), + ((ARN, 1), (TAG_LIST, 1)), +) + +ADD_TAGS_TO_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _ATTCO, + {_sSI: _sU, _smith: None}, +) + +ADD_TAGS_TO_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _ATTC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + ADD_TAGS_TO_CERTIFICATE_INPUT, + ADD_TAGS_TO_CERTIFICATE_OUTPUT, + ( + lambda: INVALID_ARN_EXCEPTION, + lambda: INVALID_PARAMETER_EXCEPTION, + lambda: INVALID_TAG_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: TAG_POLICY_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: TOO_MANY_TAGS_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +INVALID_ARN_EXCEPTION: StaticSchema = (18, n0, _IAE, {_s: _c}, (_me,), ((STRING, 0),)) + +INVALID_PARAMETER_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPE, + {_s: _c}, + (_me,), + ((STRING, 0),), +) + +INVALID_TAG_EXCEPTION: StaticSchema = (18, n0, _ITE, {_s: _c}, (_me,), ((STRING, 0),)) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c}, + (_me,), + ((STRING, 0),), +) + +TAG_POLICY_EXCEPTION: StaticSchema = (18, n0, _TPE, {_s: _c}, (_me,), ((STRING, 0),)) + +AVAILABILITY_ERROR_MESSAGE: StaticSchema = (3, n0, _AEM, 0) + +CORAL_AVAILABILITY_THROTTLING_REASON: StaticSchema = (3, n0, _CATR, 0) + +CORAL_AVAILABILITY_THROTTLED_RESOURCE: StaticSchema = (3, n0, _CATRo, 0) + +THROTTLING_REASON: StaticSchema = ( + 18, + n0, + _TR, + 0, + (_r, _re), + ( + (CORAL_AVAILABILITY_THROTTLING_REASON, 0), + (CORAL_AVAILABILITY_THROTTLED_RESOURCE, 0), + ), +) + +THROTTLING_REASON_LIST: StaticSchema = ( + 16, + n0, + _TRL, + 0, + (_m,), + ((THROTTLING_REASON, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "Throttling", "httpResponseCode": 400}), + }, + (_me, _tR), + ((AVAILABILITY_ERROR_MESSAGE, 0), (THROTTLING_REASON_LIST, 0)), +) + +TOO_MANY_TAGS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TMTE, + {_s: _c}, + (_me,), + ((STRING, 0),), +) + +VALIDATION_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _VEM, 0) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "ValidationError", "httpResponseCode": 400}), + }, + (_me,), + ((VALIDATION_EXCEPTION_MESSAGE, 0),), +) + +CERTIFICATE_ARN: StaticSchema = (3, n0, _CAer, 0) + +CERTIFICATE_BODY: StaticSchema = (3, n0, _CB, 0) + +CERTIFICATE_BODY_BLOB: StaticSchema = (1, n0, _CBB, 0) + +CERTIFICATE_CHAIN: StaticSchema = (3, n0, _CC, 0) + +CERTIFICATE_CHAIN_BLOB: StaticSchema = (1, n0, _CCB, 0) + +DOMAIN_NAME_STRING: StaticSchema = (3, n0, _DNSo, 0) + +HTTP_REDIRECT: StaticSchema = (18, n0, _HR, 0, (_RF, _RTe), ((STRING, 0), (STRING, 0))) + +VALIDATION_EMAIL_LIST: StaticSchema = (16, n0, _VEL, 0, (_m,), ((STRING, 0),)) + +DOMAIN_STATUS: StaticSchema = ( + 14, + n0, + _DSo, + 0, + (_PV, _SUCCESS, _FAILED), + ((-1, {_sV: _PV}), (-1, {_sV: _SUCCESS}), (-1, {_sV: _FAILED})), +) + +DOMAIN_VALIDATION: StaticSchema = ( + 18, + n0, + _DV, + 0, + (_DN, _VEa, _VD, _VS, _RR, _HR, _VM), + ( + (DOMAIN_NAME_STRING, 1), + (VALIDATION_EMAIL_LIST, 0), + (DOMAIN_NAME_STRING, 0), + (DOMAIN_STATUS, 0), + (RESOURCE_RECORD, 0), + (HTTP_REDIRECT, 0), + (VALIDATION_METHOD, 0), + ), +) + +DOMAIN_VALIDATION_LIST: StaticSchema = ( + 16, + n0, + _DVL, + 0, + (_m,), + ((DOMAIN_VALIDATION, 0),), +) + +EXTENDED_KEY_USAGE_NAME: StaticSchema = ( + 14, + n0, + _EKUN, + 0, + (_TWSA, _TWCA, _CS_, _EP, _TS_, _OS, _IES, _IT, _IU_, _ANY, _NONE, _CUSTOM), + ( + (-1, {_sV: _TWSA}), + (-1, {_sV: _TWCA}), + (-1, {_sV: _CS_}), + (-1, {_sV: _EP}), + (-1, {_sV: _TS_}), + (-1, {_sV: _OS}), + (-1, {_sV: _IES}), + (-1, {_sV: _IT}), + (-1, {_sV: _IU_}), + (-1, {_sV: _ANY}), + (-1, {_sV: _NONE}), + (-1, {_sV: _CUSTOM}), + ), +) + +EXTENDED_KEY_USAGE: StaticSchema = ( + 18, + n0, + _EKU, + 0, + (_N, _OID), + ((EXTENDED_KEY_USAGE_NAME, 0), (STRING, 0)), +) + +EXTENDED_KEY_USAGE_LIST: StaticSchema = ( + 16, + n0, + _EKUL, + 0, + (_m,), + ((EXTENDED_KEY_USAGE, 0),), +) + +FAILURE_REASON: StaticSchema = ( + 14, + n0, + _FR, + 0, + ( + _NAC, + _AVR, + _DNA, + _IPD, + _DVD, + _CE_, + _PLE, + _PIA, + _PIS, + _PRF, + _PNCV, + _PRNF, + _PIA_, + _PID, + _PAD, + _SNF, + _OTHER, + ), + ( + (-1, {_sV: _NAC}), + (-1, {_sV: _AVR}), + (-1, {_sV: _DNA}), + (-1, {_sV: _IPD}), + (-1, {_sV: _DVD}), + (-1, {_sV: _CE_}), + (-1, {_sV: _PLE}), + (-1, {_sV: _PIA}), + (-1, {_sV: _PIS}), + (-1, {_sV: _PRF}), + (-1, {_sV: _PNCV}), + (-1, {_sV: _PRNF}), + (-1, {_sV: _PIA_}), + (-1, {_sV: _PID}), + (-1, {_sV: _PAD}), + (-1, {_sV: _SNF}), + (-1, {_sV: _OTHER}), + ), +) + +IN_USE_LIST: StaticSchema = (16, n0, _IUL, 0, (_m,), ((STRING, 0),)) + +KEY_ALGORITHM: StaticSchema = ( + 14, + n0, + _KA, + 0, + (_R__, _R_, _R___, _R____, _Ep, _Es, _Es_), + ( + (-1, {_sV: _R__}), + (-1, {_sV: _R_}), + (-1, {_sV: _R___}), + (-1, {_sV: _R____}), + (-1, {_sV: _Ep}), + (-1, {_sV: _Es}), + (-1, {_sV: _Es_}), + ), +) + +KEY_USAGE_NAME: StaticSchema = ( + 14, + n0, + _KUN, + 0, + (_DS_, _NR_, _KE, _DE, _KA_, _CS__, _CS___, _EO_, _DO, _ANY, _CUSTOM), + ( + (-1, {_sV: _DS_}), + (-1, {_sV: _NR__}), + (-1, {_sV: _KE}), + (-1, {_sV: _DE}), + (-1, {_sV: _KA_}), + (-1, {_sV: _CS__}), + (-1, {_sV: _CS___}), + (-1, {_sV: _EO__}), + (-1, {_sV: _DO}), + (-1, {_sV: _ANY}), + (-1, {_sV: _CUSTOM}), + ), +) + +KEY_USAGE: StaticSchema = (18, n0, _KU, 0, (_N,), ((KEY_USAGE_NAME, 0),)) + +KEY_USAGE_LIST: StaticSchema = (16, n0, _KUL, 0, (_m,), ((KEY_USAGE, 0),)) + +CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE: StaticSchema = ( + 14, + n0, + _CTLP, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +CERTIFICATE_OPTIONS: StaticSchema = ( + 18, + n0, + _CO, + 0, + (_CTLP, _Ex, _VM), + ( + (CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE, 0), + (CERTIFICATE_EXPORT, 0), + (VALIDATION_METHOD, 0), + ), +) + +RENEWAL_SUMMARY: StaticSchema = ( + 18, + n0, + _RSe, + 0, + (_RS, _DVO, _RSR, _UA), + ( + (RENEWAL_STATUS, 1), + (DOMAIN_VALIDATION_LIST, 1), + (FAILURE_REASON, 0), + (T_STAMP, 1), + ), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_s: _c}, + (_me,), + ((STRING, 0),), +) + +REQUEST_IN_PROGRESS_EXCEPTION: StaticSchema = ( + 18, + n0, + _RIPE, + {_s: _c}, + (_me,), + ((STRING, 0),), +) diff --git a/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas_1.py b/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas_1.py new file mode 100644 index 000000000..793804821 --- /dev/null +++ b/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas_1.py @@ -0,0 +1,1297 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.acm" +_s = "smithy.api#error" +_c = "client" +_AAI = "AcmeAccountId" +_CKPO = "CertificateKeyPairOrigin" +_sV = "smithy.api#enumValue" +_RE = "RenewalEligibility" +_SUCCESS = "SUCCESS" +_FAILED = "FAILED" +_CA = "CreatedAt" +_IA = "ImportedAt" +_IAs = "IssuedAt" +_RA = "RevokedAt" +_S = "Status" +_T = "Type" +_MB = "ManagedBy" +_AEA = "AcmeEndpointArn" +_ACMF = "AcmCertificateMetadataFilter" +_AEABA = "AcmeExternalAccountBindingArn" +_sm = "smithy.api#sensitive" +_m = "member" +_AA = "AcmeAccount" +_AU = "AccountUrl" +_REQUIRED = "REQUIRED" +_ADVA = "AcmeDomainValidationArn" +_DN = "DomainName" +_DS = "DomainScope" +_HZI = "HostedZoneId" +_smi = "smithy.api#required" +_V = "Value" +_DP = "DnsPrevalidation" +_ADV = "AcmeDomainValidation" +_UA = "UpdatedAt" +_CAe = "CertificateAuthority" +_AE = "AcmeEndpoint" +_FR = "FailureReason" +_AB = "AuthorizationBehavior" +_Co = "Contact" +_CTe = "CertificateTags" +_RAo = "RoleArn" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_CAer = "CertificateArn" +_Tag = "Tags" +_sU = "smithy.api#Unit" +_smith = "smithy.api#output" +_me = "message" +_sCP = "smithy.rules#staticContextParams" +_CC = "CertificateChain" +_EKU = "ExtendedKeyUsage" +_KA = "KeyAlgorithm" +_KU = "KeyUsage" +_RSe = "RenewalSummary" +_DVO = "DomainValidationOptions" +_RRe = "RevocationReason" +_UNSPECIFIED = "UNSPECIFIED" +_KC = "KEY_COMPROMISE" +_CC_ = "CA_COMPROMISE" +_AC_ = "AFFILIATION_CHANGED" +_SUPERCEDED = "SUPERCEDED" +_SUPERSEDED = "SUPERSEDED" +_COO = "CESSATION_OF_OPERATION" +_CH = "CERTIFICATE_HOLD" +_RFC = "REMOVE_FROM_CRL" +_PW = "PRIVILEGE_WITHDRAWN" +_AAC = "A_A_COMPROMISE" +_DL = "DomainList" +_DVMUS = "DomainValidationMethodUpdateSummary" +_F = "From" +_To = "To" +_US = "UpdateStatus" +_PDV = "PENDING_DOMAIN_VALIDATION" +_UT = "UpdateType" +_DVM = "DOMAIN_VALIDATION_METHOD" +_USp = "UpdateSummary" +_RAe = "RequestedAt" +_CD = "CertificateDetail" +_SAN = "SubjectAlternativeNames" +_Se = "Serial" +_Sub = "Subject" +_I = "Issuer" +_NBo = "NotBefore" +_NA = "NotAfter" +_SA = "SignatureAlgorithm" +_IUB = "InUseBy" +_KUe = "KeyUsages" +_EKUx = "ExtendedKeyUsages" +_CAA = "CertificateAuthorityArn" +_O = "Options" +_TRi = "TimestampRange" +_Sta = "Start" +_En = "End" +_SN = "SerialNumber" +_COo = "ComparisonOperator" +_CONTAINS = "CONTAINS" +_EQUALS = "EQUALS" +_FS = "FilterString" +_CNF = "CommonNameFilter" +_SF = "SubjectFilter" +_CN = "CommonName" +_DNF = "DnsNameFilter" +_SANF = "SubjectAlternativeNameFilter" +_DNn = "DnsName" +_XAF = "X509AttributeFilter" +_SANu = "SubjectAlternativeName" +_CF = "CertificateFilter" +_CKPOe = "CertificateKeyPairOrigins" +_CEo = "ConflictException" +_DPO = "DnsPrevalidationOptions" +_PO = "PrevalidationOptions" +_CADVI = "CreateAcmeDomainValidationInput" +_cCADVR = "com.amazonaws.acm#CreateAcmeDomainValidationRequest" +_ITd = "IdempotencyToken" +_sT = "smithy.api#idempotencyToken" +_CADVO = "CreateAcmeDomainValidationOutput" +_cCADVRo = "com.amazonaws.acm#CreateAcmeDomainValidationResponse" +_ISE = "InternalServerException" +_se = "server" +_CADV = "CreateAcmeDomainValidation" +_CAEI = "CreateAcmeEndpointInput" +_cCAER = "com.amazonaws.acm#CreateAcmeEndpointRequest" +_smithy = "smithy.api#default" +_CAEO = "CreateAcmeEndpointOutput" +_cCAERo = "com.amazonaws.acm#CreateAcmeEndpointResponse" +_CAE = "CreateAcmeEndpoint" +_TT = "TimeType" +_MINUTES = "MINUTES" +_HOURS = "HOURS" +_DAYS = "DAYS" +_Exp = "Expiration" +_CAEABI = "CreateAcmeExternalAccountBindingInput" +_cCAEABR = "com.amazonaws.acm#CreateAcmeExternalAccountBindingRequest" +_CAEABO = "CreateAcmeExternalAccountBindingOutput" +_cCAEABRo = "com.amazonaws.acm#CreateAcmeExternalAccountBindingResponse" +_EAB = "ExternalAccountBinding" +_CAEAB = "CreateAcmeExternalAccountBinding" +_DADVI = "DeleteAcmeDomainValidationInput" +_cDADVR = "com.amazonaws.acm#DeleteAcmeDomainValidationRequest" +_DADVO = "DeleteAcmeDomainValidationOutput" +_DADV = "DeleteAcmeDomainValidation" +_DAEI = "DeleteAcmeEndpointInput" +_cDAER = "com.amazonaws.acm#DeleteAcmeEndpointRequest" +_DAEO = "DeleteAcmeEndpointOutput" +_DAE = "DeleteAcmeEndpoint" +_DAEABI = "DeleteAcmeExternalAccountBindingInput" +_cDAEABR = "com.amazonaws.acm#DeleteAcmeExternalAccountBindingRequest" +_DAEABO = "DeleteAcmeExternalAccountBindingOutput" +_DAEAB = "DeleteAcmeExternalAccountBinding" +_DCI = "DeleteCertificateInput" +_cDCR = "com.amazonaws.acm#DeleteCertificateRequest" +_DCO = "DeleteCertificateOutput" +_RIUE = "ResourceInUseException" +_DC = "DeleteCertificate" +_DAAI = "DescribeAcmeAccountInput" +_cDAAR = "com.amazonaws.acm#DescribeAcmeAccountRequest" +_DAAO = "DescribeAcmeAccountOutput" +_cDAARo = "com.amazonaws.acm#DescribeAcmeAccountResponse" +_DAA = "DescribeAcmeAccount" +_DADVIe = "DescribeAcmeDomainValidationInput" +_cDADVRo = "com.amazonaws.acm#DescribeAcmeDomainValidationRequest" +_DADVOe = "DescribeAcmeDomainValidationOutput" +_cDADVRom = "com.amazonaws.acm#DescribeAcmeDomainValidationResponse" +_DADVe = "DescribeAcmeDomainValidation" +_DAEIe = "DescribeAcmeEndpointInput" +_cDAERo = "com.amazonaws.acm#DescribeAcmeEndpointRequest" +_DAEOe = "DescribeAcmeEndpointOutput" +_cDAERom = "com.amazonaws.acm#DescribeAcmeEndpointResponse" +_DAEe = "DescribeAcmeEndpoint" +_DAEABIe = "DescribeAcmeExternalAccountBindingInput" +_cDAEABRo = "com.amazonaws.acm#DescribeAcmeExternalAccountBindingRequest" +_DAEABOe = "DescribeAcmeExternalAccountBindingOutput" +_cDAEABRom = "com.amazonaws.acm#DescribeAcmeExternalAccountBindingResponse" +_DAEABe = "DescribeAcmeExternalAccountBinding" +_DCIe = "DescribeCertificateInput" +_cDCRo = "com.amazonaws.acm#DescribeCertificateRequest" +_DCOe = "DescribeCertificateOutput" +_cDCRom = "com.amazonaws.acm#DescribeCertificateResponse" +_Ce = "Certificate" +_DCe = "DescribeCertificate" +_PB = "PassphraseBlob" +_ECI = "ExportCertificateInput" +_cECR = "com.amazonaws.acm#ExportCertificateRequest" +_P = "Passphrase" +_PK = "PrivateKey" +_ECO = "ExportCertificateOutput" +_cECRo = "com.amazonaws.acm#ExportCertificateResponse" +_EC = "ExportCertificate" +_GACI = "GetAccountConfigurationInput" +_PI = "PositiveInteger" +_EEC = "ExpiryEventsConfiguration" +_DBE = "DaysBeforeExpiry" +_GACO = "GetAccountConfigurationOutput" +_cGACR = "com.amazonaws.acm#GetAccountConfigurationResponse" +_EE = "ExpiryEvents" +_GAC = "GetAccountConfiguration" +_GAEABCI = "GetAcmeExternalAccountBindingCredentialsInput" +_cGAEABCR = "com.amazonaws.acm#GetAcmeExternalAccountBindingCredentialsRequest" +_MK = "MacKey" +_GAEABCO = "GetAcmeExternalAccountBindingCredentialsOutput" +_cGAEABCRo = "com.amazonaws.acm#GetAcmeExternalAccountBindingCredentialsResponse" +_KI = "KeyId" +_GAEABC = "GetAcmeExternalAccountBindingCredentials" +_GCI = "GetCertificateInput" +_cGCR = "com.amazonaws.acm#GetCertificateRequest" +_GCO = "GetCertificateOutput" +_cGCRo = "com.amazonaws.acm#GetCertificateResponse" +_GC = "GetCertificate" +_PKB = "PrivateKeyBlob" +_ICI = "ImportCertificateInput" +_cICR = "com.amazonaws.acm#ImportCertificateRequest" +_ICO = "ImportCertificateOutput" +_cICRo = "com.amazonaws.acm#ImportCertificateResponse" +_LEE = "LimitExceededException" +_IC = "ImportCertificate" +_LAAI = "ListAcmeAccountsInput" +_cLAAR = "com.amazonaws.acm#ListAcmeAccountsRequest" +_NT = "NextToken" +_MR = "MaxResults" +_LAAO = "ListAcmeAccountsOutput" +_cLAARo = "com.amazonaws.acm#ListAcmeAccountsResponse" +_AAc = "AcmeAccounts" +_LAA = "ListAcmeAccounts" +_LADVI = "ListAcmeDomainValidationsInput" +_cLADVR = "com.amazonaws.acm#ListAcmeDomainValidationsRequest" +_LADVO = "ListAcmeDomainValidationsOutput" +_cLADVRo = "com.amazonaws.acm#ListAcmeDomainValidationsResponse" +_ADVc = "AcmeDomainValidations" +_LADV = "ListAcmeDomainValidations" +_LAEI = "ListAcmeEndpointsInput" +_cLAER = "com.amazonaws.acm#ListAcmeEndpointsRequest" +_LAEO = "ListAcmeEndpointsOutput" +_cLAERo = "com.amazonaws.acm#ListAcmeEndpointsResponse" +_AEc = "AcmeEndpoints" +_LAE = "ListAcmeEndpoints" +_LAEABI = "ListAcmeExternalAccountBindingsInput" +_cLAEABR = "com.amazonaws.acm#ListAcmeExternalAccountBindingsRequest" +_LAEABO = "ListAcmeExternalAccountBindingsOutput" +_cLAEABRo = "com.amazonaws.acm#ListAcmeExternalAccountBindingsResponse" +_EABx = "ExternalAccountBindings" +_LAEAB = "ListAcmeExternalAccountBindings" + +REVOCATION_REASON: StaticSchema = ( + 14, + n0, + _RRe, + 0, + ( + _UNSPECIFIED, + _KC, + _CC_, + _AC_, + _SUPERCEDED, + _SUPERSEDED, + _COO, + _CH, + _RFC, + _PW, + _AAC, + ), + ( + (-1, {_sV: _UNSPECIFIED}), + (-1, {_sV: _KC}), + (-1, {_sV: _CC_}), + (-1, {_sV: _AC_}), + (-1, {_sV: _SUPERCEDED}), + (-1, {_sV: _SUPERSEDED}), + (-1, {_sV: _COO}), + (-1, {_sV: _CH}), + (-1, {_sV: _RFC}), + (-1, {_sV: _PW}), + (-1, {_sV: _AAC}), + ), +) + +DOMAIN_LIST: StaticSchema = ( + 16, + n0, + _DL, + 0, + (_m,), + ((lambda: schemas.DOMAIN_NAME_STRING, 0),), +) + +DOMAIN_VALIDATION_METHOD_UPDATE_SUMMARY: StaticSchema = ( + 18, + n0, + _DVMUS, + 0, + (_F, _To), + ((lambda: schemas.VALIDATION_METHOD, 0), (lambda: schemas.VALIDATION_METHOD, 0)), +) + +UPDATE_STATUS: StaticSchema = ( + 14, + n0, + _US, + 0, + (_PDV, _SUCCESS, _FAILED), + ((-1, {_sV: _PDV}), (-1, {_sV: _SUCCESS}), (-1, {_sV: _FAILED})), +) + +UPDATE_TYPE: StaticSchema = (14, n0, _UT, 0, (_DVM,), ((-1, {_sV: _DVM}),)) + +UPDATE_SUMMARY: StaticSchema = ( + 18, + n0, + _USp, + 0, + (_S, _T, _DVMUS, _RAe, _UA), + ( + (UPDATE_STATUS, 0), + (UPDATE_TYPE, 0), + (DOMAIN_VALIDATION_METHOD_UPDATE_SUMMARY, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + ), +) + +CERTIFICATE_DETAIL: StaticSchema = ( + 18, + n0, + _CD, + 0, + ( + _CAer, + _DN, + _SAN, + _MB, + _DVO, + _Se, + _Sub, + _I, + _CA, + _IAs, + _IA, + _S, + _RA, + _RRe, + _NBo, + _NA, + _KA, + _SA, + _IUB, + _FR, + _T, + _RSe, + _KUe, + _EKUx, + _CAA, + _RE, + _O, + _USp, + _CKPO, + _AEA, + _AAI, + ), + ( + (lambda: schemas.ARN, 0), + (lambda: schemas.DOMAIN_NAME_STRING, 0), + (DOMAIN_LIST, 0), + (lambda: schemas.CERTIFICATE_MANAGED_BY, 0), + (lambda: schemas.DOMAIN_VALIDATION_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.CERTIFICATE_STATUS, 0), + (lambda: schemas.T_STAMP, 0), + (REVOCATION_REASON, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.KEY_ALGORITHM, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.IN_USE_LIST, 0), + (lambda: schemas.FAILURE_REASON, 0), + (lambda: schemas.CERTIFICATE_TYPE, 0), + (lambda: schemas.RENEWAL_SUMMARY, 0), + (lambda: schemas.KEY_USAGE_LIST, 0), + (lambda: schemas.EXTENDED_KEY_USAGE_LIST, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.RENEWAL_ELIGIBILITY, 0), + (lambda: schemas.CERTIFICATE_OPTIONS, 0), + (UPDATE_SUMMARY, 0), + (lambda: schemas.CERTIFICATE_KEY_PAIR_ORIGIN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.ACME_ACCOUNT_ID, 0), + ), +) + +TIMESTAMP_RANGE: StaticSchema = ( + 18, + n0, + _TRi, + 0, + (_Sta, _En), + ((lambda: schemas.T_STAMP, 0), (lambda: schemas.T_STAMP, 0)), +) + +SERIAL_NUMBER: StaticSchema = (3, n0, _SN, 0) + +COMPARISON_OPERATOR: StaticSchema = ( + 14, + n0, + _COo, + 0, + (_CONTAINS, _EQUALS), + ((-1, {_sV: _CONTAINS}), (-1, {_sV: _EQUALS})), +) + +FILTER_STRING: StaticSchema = (3, n0, _FS, 0) + +COMMON_NAME_FILTER: StaticSchema = ( + 18, + n0, + _CNF, + 0, + (_V, _COo), + ((FILTER_STRING, 1), (COMPARISON_OPERATOR, 1)), +) + +SUBJECT_FILTER: StaticSchema = (19, n0, _SF, 0, (_CN,), ((COMMON_NAME_FILTER, 0),)) + +DNS_NAME_FILTER: StaticSchema = ( + 18, + n0, + _DNF, + 0, + (_V, _COo), + ((FILTER_STRING, 1), (COMPARISON_OPERATOR, 1)), +) + +SUBJECT_ALTERNATIVE_NAME_FILTER: StaticSchema = ( + 19, + n0, + _SANF, + 0, + (_DNn,), + ((DNS_NAME_FILTER, 0),), +) + +X509_ATTRIBUTE_FILTER: StaticSchema = ( + 19, + n0, + _XAF, + 0, + (_Sub, _SANu, _EKU, _KU, _KA, _SN, _NA, _NBo), + ( + (SUBJECT_FILTER, 0), + (SUBJECT_ALTERNATIVE_NAME_FILTER, 0), + (lambda: schemas.EXTENDED_KEY_USAGE_NAME, 0), + (lambda: schemas.KEY_USAGE_NAME, 0), + (lambda: schemas.KEY_ALGORITHM, 0), + (SERIAL_NUMBER, 0), + (TIMESTAMP_RANGE, 0), + (TIMESTAMP_RANGE, 0), + ), +) + +CERTIFICATE_FILTER: StaticSchema = ( + 19, + n0, + _CF, + 0, + (_CAer, _XAF, _ACMF), + ( + (lambda: schemas.ARN, 0), + (X509_ATTRIBUTE_FILTER, 0), + (lambda: schemas.ACM_CERTIFICATE_METADATA_FILTER, 0), + ), +) + +CERTIFICATE_KEY_PAIR_ORIGINS: StaticSchema = ( + 16, + n0, + _CKPOe, + 0, + (_m,), + ((lambda: schemas.CERTIFICATE_KEY_PAIR_ORIGIN, 0),), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CEo, + {_s: _c}, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +DNS_PREVALIDATION_OPTIONS: StaticSchema = ( + 18, + n0, + _DPO, + 0, + (_DS, _HZI), + ((lambda: schemas.DOMAIN_SCOPE, 0), (lambda: schemas.HOSTED_ZONE_ID, 0)), +) + +PREVALIDATION_OPTIONS: StaticSchema = ( + 19, + n0, + _PO, + 0, + (_DP,), + ((DNS_PREVALIDATION_OPTIONS, 0),), +) + +CREATE_ACME_DOMAIN_VALIDATION_INPUT: StaticSchema = ( + 18, + n0, + _CADVI, + {_sSI: _cCADVR, _smit: None}, + (_ITd, _AEA, _DN, _PO, _Tag), + ( + (3, 2), + (lambda: schemas.ACME_ENDPOINT_ARN, 1), + (lambda: schemas.DOMAIN_NAME, 1), + (PREVALIDATION_OPTIONS, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_ACME_DOMAIN_VALIDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CADVO, + {_sSI: _cCADVRo, _smith: None}, + (_ADVA,), + ((lambda: schemas.ACME_DOMAIN_VALIDATION_ARN, 1),), +) + +CREATE_ACME_DOMAIN_VALIDATION: StaticOperationSchema = ( + 23, + n0, + _CADV, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + CREATE_ACME_DOMAIN_VALIDATION_INPUT, + CREATE_ACME_DOMAIN_VALIDATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_s: _se}, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +CREATE_ACME_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CAEI, + {_sSI: _cCAER, _smit: None}, + (_ITd, _AB, _Co, _CAe, _Tag, _CTe), + ( + (3, 2), + (lambda: schemas.ACME_AUTHORIZATION_BEHAVIOR, 1), + (lambda: schemas.ACME_CONTACT, {_smithy: _REQUIRED}), + (lambda: schemas.CERTIFICATE_AUTHORITY, 1), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_ACME_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CAEO, + {_sSI: _cCAERo, _smith: None}, + (_AEA,), + ((lambda: schemas.ACME_ENDPOINT_ARN, 0),), +) + +CREATE_ACME_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CAE, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + CREATE_ACME_ENDPOINT_INPUT, + CREATE_ACME_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TIME_TYPE: StaticSchema = ( + 14, + n0, + _TT, + 0, + (_MINUTES, _HOURS, _DAYS), + ((-1, {_sV: _MINUTES}), (-1, {_sV: _HOURS}), (-1, {_sV: _DAYS})), +) + +EXPIRATION: StaticSchema = (18, n0, _Exp, 0, (_V, _T), ((8, 1), (TIME_TYPE, 1))) + +CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT: StaticSchema = ( + 18, + n0, + _CAEABI, + {_sSI: _cCAEABR, _smit: None}, + (_ITd, _AEA, _RAo, _Exp, _Tag), + ( + (3, 2), + (lambda: schemas.ACME_ENDPOINT_ARN, 1), + (lambda: schemas.ROLE_ARN, 1), + (EXPIRATION, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT: StaticSchema = ( + 18, + n0, + _CAEABO, + {_sSI: _cCAEABRo, _smith: None}, + (_EAB,), + ((lambda: schemas.ACME_EXTERNAL_ACCOUNT_BINDING, 0),), +) + +CREATE_ACME_EXTERNAL_ACCOUNT_BINDING: StaticOperationSchema = ( + 23, + n0, + _CAEAB, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT, + CREATE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_ACME_DOMAIN_VALIDATION_INPUT: StaticSchema = ( + 18, + n0, + _DADVI, + {_sSI: _cDADVR, _smit: None}, + (_ADVA,), + ((lambda: schemas.ACME_DOMAIN_VALIDATION_ARN, 1),), +) + +DELETE_ACME_DOMAIN_VALIDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DADVO, + {_sSI: _sU, _smith: None}, +) + +DELETE_ACME_DOMAIN_VALIDATION: StaticOperationSchema = ( + 23, + n0, + _DADV, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + DELETE_ACME_DOMAIN_VALIDATION_INPUT, + DELETE_ACME_DOMAIN_VALIDATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_ACME_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DAEI, + {_sSI: _cDAER, _smit: None}, + (_AEA,), + ((lambda: schemas.ACME_ENDPOINT_ARN, 1),), +) + +DELETE_ACME_ENDPOINT_OUTPUT: StaticSchema = (18, n0, _DAEO, {_sSI: _sU, _smith: None}) + +DELETE_ACME_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DAE, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + DELETE_ACME_ENDPOINT_INPUT, + DELETE_ACME_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT: StaticSchema = ( + 18, + n0, + _DAEABI, + {_sSI: _cDAEABR, _smit: None}, + (_AEABA,), + ((lambda: schemas.ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 1),), +) + +DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT: StaticSchema = ( + 18, + n0, + _DAEABO, + {_sSI: _sU, _smith: None}, +) + +DELETE_ACME_EXTERNAL_ACCOUNT_BINDING: StaticOperationSchema = ( + 23, + n0, + _DAEAB, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT, + DELETE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _DCI, + {_sSI: _cDCR, _smit: None}, + (_CAer,), + ((lambda: schemas.ARN, 1),), +) + +DELETE_CERTIFICATE_OUTPUT: StaticSchema = (18, n0, _DCO, {_sSI: _sU, _smith: None}) + +DELETE_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _DC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + DELETE_CERTIFICATE_INPUT, + DELETE_CERTIFICATE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _RIUE, + {_s: _c}, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +DESCRIBE_ACME_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _DAAI, + {_sSI: _cDAAR, _smit: None}, + (_AEA, _AU), + ((lambda: schemas.ACME_ENDPOINT_ARN, 1), (3, 1)), +) + +DESCRIBE_ACME_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _DAAO, + {_sSI: _cDAARo, _smith: None}, + (_AA,), + ((lambda: schemas.ACME_ACCOUNT, 0),), +) + +DESCRIBE_ACME_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _DAA, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + DESCRIBE_ACME_ACCOUNT_INPUT, + DESCRIBE_ACME_ACCOUNT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DESCRIBE_ACME_DOMAIN_VALIDATION_INPUT: StaticSchema = ( + 18, + n0, + _DADVIe, + {_sSI: _cDADVRo, _smit: None}, + (_ADVA,), + ((lambda: schemas.ACME_DOMAIN_VALIDATION_ARN, 1),), +) + +DESCRIBE_ACME_DOMAIN_VALIDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DADVOe, + {_sSI: _cDADVRom, _smith: None}, + (_ADV,), + ((lambda: schemas.ACME_DOMAIN_VALIDATION, 0),), +) + +DESCRIBE_ACME_DOMAIN_VALIDATION: StaticOperationSchema = ( + 23, + n0, + _DADVe, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + DESCRIBE_ACME_DOMAIN_VALIDATION_INPUT, + DESCRIBE_ACME_DOMAIN_VALIDATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DESCRIBE_ACME_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DAEIe, + {_sSI: _cDAERo, _smit: None}, + (_AEA,), + ((lambda: schemas.ACME_ENDPOINT_ARN, 1),), +) + +DESCRIBE_ACME_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DAEOe, + {_sSI: _cDAERom, _smith: None}, + (_AE,), + ((lambda: schemas.ACME_ENDPOINT, 0),), +) + +DESCRIBE_ACME_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DAEe, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + DESCRIBE_ACME_ENDPOINT_INPUT, + DESCRIBE_ACME_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT: StaticSchema = ( + 18, + n0, + _DAEABIe, + {_sSI: _cDAEABRo, _smit: None}, + (_AEABA,), + ((lambda: schemas.ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 1),), +) + +DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT: StaticSchema = ( + 18, + n0, + _DAEABOe, + {_sSI: _cDAEABRom, _smith: None}, + (_EAB,), + ((lambda: schemas.ACME_EXTERNAL_ACCOUNT_BINDING, 0),), +) + +DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING: StaticOperationSchema = ( + 23, + n0, + _DAEABe, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT, + DESCRIBE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DESCRIBE_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _DCIe, + {_sSI: _cDCRo, _smit: None}, + (_CAer,), + ((lambda: schemas.ARN, 1),), +) + +DESCRIBE_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _DCOe, + {_sSI: _cDCRom, _smith: None}, + (_Ce,), + ((CERTIFICATE_DETAIL, 0),), +) + +DESCRIBE_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _DCe, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + DESCRIBE_CERTIFICATE_INPUT, + DESCRIBE_CERTIFICATE_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PASSPHRASE_BLOB: StaticSchema = (1, n0, _PB, 4) + +EXPORT_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _ECI, + {_sSI: _cECR, _smit: None}, + (_CAer, _P), + ((lambda: schemas.ARN, 1), (PASSPHRASE_BLOB, 1)), +) + +EXPORT_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _ECO, + {_sSI: _cECRo, _smith: None}, + (_Ce, _CC, _PK), + ( + (lambda: schemas.CERTIFICATE_BODY, 0), + (lambda: schemas.CERTIFICATE_CHAIN, 0), + (lambda: PRIVATE_KEY, 0), + ), +) + +EXPORT_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _EC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + EXPORT_CERTIFICATE_INPUT, + EXPORT_CERTIFICATE_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.REQUEST_IN_PROGRESS_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PRIVATE_KEY: StaticSchema = (3, n0, _PK, 4) + +GET_ACCOUNT_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GACI, + {_sSI: _sU, _smit: None}, +) + +GET_ACCOUNT_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GACO, + {_sSI: _cGACR, _smith: None}, + (_EE,), + ((lambda: EXPIRY_EVENTS_CONFIGURATION, 0),), +) + +GET_ACCOUNT_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GAC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + GET_ACCOUNT_CONFIGURATION_INPUT, + GET_ACCOUNT_CONFIGURATION_OUTPUT, + (lambda: schemas.ACCESS_DENIED_EXCEPTION, lambda: schemas.THROTTLING_EXCEPTION), +) + +POSITIVE_INTEGER: StaticSchema = (7, n0, _PI, 0) + +EXPIRY_EVENTS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EEC, + 0, + (_DBE,), + ((POSITIVE_INTEGER, 0),), +) + +GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_INPUT: StaticSchema = ( + 18, + n0, + _GAEABCI, + {_sSI: _cGAEABCR, _smit: None}, + (_AEABA,), + ((lambda: schemas.ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 1),), +) + +GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_OUTPUT: StaticSchema = ( + 18, + n0, + _GAEABCO, + {_sSI: _cGAEABCRo, _smith: None}, + (_KI, _MK), + ((3, 0), (lambda: MAC_KEY, 0)), +) + +GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS: StaticOperationSchema = ( + 23, + n0, + _GAEABC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_INPUT, + GET_ACME_EXTERNAL_ACCOUNT_BINDING_CREDENTIALS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAC_KEY: StaticSchema = (3, n0, _MK, 4) + +GET_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _GCI, + {_sSI: _cGCR, _smit: None}, + (_CAer,), + ((lambda: schemas.ARN, 1),), +) + +GET_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GCO, + {_sSI: _cGCRo, _smith: None}, + (_Ce, _CC), + ((lambda: schemas.CERTIFICATE_BODY, 0), (lambda: schemas.CERTIFICATE_CHAIN, 0)), +) + +GET_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _GC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + GET_CERTIFICATE_INPUT, + GET_CERTIFICATE_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.REQUEST_IN_PROGRESS_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PRIVATE_KEY_BLOB: StaticSchema = (1, n0, _PKB, 4) + +IMPORT_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _ICI, + {_sSI: _cICR, _smit: None}, + (_CAer, _Ce, _PK, _CC, _Tag), + ( + (lambda: schemas.ARN, 0), + (lambda: schemas.CERTIFICATE_BODY_BLOB, 1), + (PRIVATE_KEY_BLOB, 1), + (lambda: schemas.CERTIFICATE_CHAIN_BLOB, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +IMPORT_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _ICO, + {_sSI: _cICRo, _smith: None}, + (_CAer,), + ((lambda: schemas.ARN, 0),), +) + +IMPORT_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _IC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + IMPORT_CERTIFICATE_INPUT, + IMPORT_CERTIFICATE_OUTPUT, + ( + CONFLICT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TAG_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TAG_POLICY_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + {_s: _c}, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +LIST_ACME_ACCOUNTS_INPUT: StaticSchema = ( + 18, + n0, + _LAAI, + {_sSI: _cLAAR, _smit: None}, + (_NT, _MR, _AEA), + ((3, 0), (7, 0), (lambda: schemas.ACME_ENDPOINT_ARN, 1)), +) + +LIST_ACME_ACCOUNTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAAO, + {_sSI: _cLAARo, _smith: None}, + (_AAc, _NT), + ((lambda: schemas.ACME_ACCOUNT_LIST, 0), (3, 0)), +) + +LIST_ACME_ACCOUNTS: StaticOperationSchema = ( + 23, + n0, + _LAA, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + LIST_ACME_ACCOUNTS_INPUT, + LIST_ACME_ACCOUNTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_ACME_DOMAIN_VALIDATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LADVI, + {_sSI: _cLADVR, _smit: None}, + (_NT, _MR, _AEA), + ((3, 0), (7, 0), (lambda: schemas.ACME_ENDPOINT_ARN, 1)), +) + +LIST_ACME_DOMAIN_VALIDATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LADVO, + {_sSI: _cLADVRo, _smith: None}, + (_ADVc, _NT), + ((lambda: schemas.ACME_DOMAIN_VALIDATION_LIST, 0), (3, 0)), +) + +LIST_ACME_DOMAIN_VALIDATIONS: StaticOperationSchema = ( + 23, + n0, + _LADV, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + LIST_ACME_DOMAIN_VALIDATIONS_INPUT, + LIST_ACME_DOMAIN_VALIDATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_ACME_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _LAEI, + {_sSI: _cLAER, _smit: None}, + (_NT, _MR), + ((3, 0), (7, 0)), +) + +LIST_ACME_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAEO, + {_sSI: _cLAERo, _smith: None}, + (_AEc, _NT), + ((lambda: schemas.ACME_ENDPOINT_LIST, 0), (3, 0)), +) + +LIST_ACME_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _LAE, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + LIST_ACME_ENDPOINTS_INPUT, + LIST_ACME_ENDPOINTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_INPUT: StaticSchema = ( + 18, + n0, + _LAEABI, + {_sSI: _cLAEABR, _smit: None}, + (_NT, _MR, _AEA), + ((3, 0), (7, 0), (lambda: schemas.ACME_ENDPOINT_ARN, 1)), +) + +LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAEABO, + {_sSI: _cLAEABRo, _smith: None}, + (_EABx, _NT), + ((lambda: schemas.ACME_EXTERNAL_ACCOUNT_BINDING_LIST, 0), (3, 0)), +) + +LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS: StaticOperationSchema = ( + 23, + n0, + _LAEAB, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_INPUT, + LIST_ACME_EXTERNAL_ACCOUNT_BINDINGS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas_2.py b/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas_2.py new file mode 100644 index 000000000..e4995c7b7 --- /dev/null +++ b/clients/aws-sdk-acm/src/aws_sdk_acm/_private/schemas_2.py @@ -0,0 +1,1355 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.acm" +_s = "smithy.api#error" +_c = "client" +_CKPO = "CertificateKeyPairOrigin" +_sV = "smithy.api#enumValue" +_RE = "RenewalEligibility" +_VM = "ValidationMethod" +_ACM = "AcmCertificateMetadata" +_CA = "CreatedAt" +_E = "Exported" +_IA = "ImportedAt" +_IU = "InUse" +_IAs = "IssuedAt" +_RA = "RevokedAt" +_S = "Status" +_T = "Type" +_EO = "ExportOption" +_MB = "ManagedBy" +_AEA = "AcmeEndpointArn" +_AEABA = "AcmeExternalAccountBindingArn" +_m = "member" +_AU = "AccountUrl" +_ADVA = "AcmeDomainValidationArn" +_DN = "DomainName" +_RR = "ResourceRecord" +_smi = "smithy.api#required" +_V = "Value" +_CAe = "CertificateAuthority" +_AB = "AuthorizationBehavior" +_Co = "Contact" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_CAer = "CertificateArn" +_Tag = "Tags" +_sU = "smithy.api#Unit" +_smith = "smithy.api#output" +_me = "message" +_sCP = "smithy.rules#staticContextParams" +_VEa = "ValidationEmails" +_VD = "ValidationDomain" +_VS = "ValidationStatus" +_KA = "KeyAlgorithm" +_DVO = "DomainValidationOptions" +_RRe = "RevocationReason" +_SAN = "SubjectAlternativeNames" +_Sub = "Subject" +_I = "Issuer" +_NBo = "NotBefore" +_NA = "NotAfter" +_KUe = "KeyUsages" +_EKUx = "ExtendedKeyUsages" +_CAA = "CertificateAuthorityArn" +_O = "Options" +_SN = "SerialNumber" +_CN = "CommonName" +_DNn = "DnsName" +_CKPOe = "CertificateKeyPairOrigins" +_PO = "PrevalidationOptions" +_ITd = "IdempotencyToken" +_smithy = "smithy.api#default" +_EE = "ExpiryEvents" +_NT = "NextToken" +_MR = "MaxResults" +_IAEn = "InvalidArgsException" +_MI = "MaxItems" +_LCDVI = "ListCertificateDomainValidationsInput" +_cLCDVR = "com.amazonaws.acm#ListCertificateDomainValidationsRequest" +_DVC = "DnsValidationChallenge" +_EVC = "EmailValidationChallenge" +_VC = "ValidationChallenge" +_VCa = "ValidationConfiguration" +_DVS = "DomainValidationSummary" +_AVC = "ActiveValidationConfiguration" +_RVC = "RequestedValidationConfiguration" +_DVSL = "DomainValidationSummaryList" +_LCDVO = "ListCertificateDomainValidationsOutput" +_cLCDVRo = "com.amazonaws.acm#ListCertificateDomainValidationsResponse" +_LCDV = "ListCertificateDomainValidations" +_CSe = "CertificateStatuses" +_EKUFL = "ExtendedKeyUsageFilterList" +_KAL = "KeyAlgorithmList" +_KUFL = "KeyUsageFilterList" +_Fi = "Filters" +_eKU = "extendedKeyUsage" +_kU = "keyUsage" +_kT = "keyTypes" +_eO = "exportOption" +_mB = "managedBy" +_SB = "SortBy" +_CA_ = "CREATED_AT" +_SO = "SortOrder" +_ASCENDING = "ASCENDING" +_DESCENDING = "DESCENDING" +_LCI = "ListCertificatesInput" +_cLCR = "com.amazonaws.acm#ListCertificatesRequest" +_In = "Includes" +_EKUNx = "ExtendedKeyUsageNames" +_KUNe = "KeyUsageNames" +_CSer = "CertificateSummary" +_SANS = "SubjectAlternativeNameSummaries" +_HASAN = "HasAdditionalSubjectAlternativeNames" +_CSL = "CertificateSummaryList" +_LCO = "ListCertificatesOutput" +_cLCRo = "com.amazonaws.acm#ListCertificatesResponse" +_LC = "ListCertificates" +_LTFCI = "ListTagsForCertificateInput" +_cLTFCR = "com.amazonaws.acm#ListTagsForCertificateRequest" +_LTFCO = "ListTagsForCertificateOutput" +_cLTFCRo = "com.amazonaws.acm#ListTagsForCertificateResponse" +_LTFC = "ListTagsForCertificate" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.acm#ListTagsForResourceRequest" +_RAes = "ResourceArn" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.acm#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_PACI = "PutAccountConfigurationInput" +_cPACR = "com.amazonaws.acm#PutAccountConfigurationRequest" +_PACO = "PutAccountConfigurationOutput" +_PAC = "PutAccountConfiguration" +_RTFCI = "RemoveTagsFromCertificateInput" +_cRTFCR = "com.amazonaws.acm#RemoveTagsFromCertificateRequest" +_RTFCO = "RemoveTagsFromCertificateOutput" +_RTFC = "RemoveTagsFromCertificate" +_RCI = "RenewCertificateInput" +_cRCR = "com.amazonaws.acm#RenewCertificateRequest" +_RCO = "RenewCertificateOutput" +_RC = "RenewCertificate" +_IDVOE = "InvalidDomainValidationOptionsException" +_PAc = "PcaArn" +_DVOo = "DomainValidationOption" +_DVOL = "DomainValidationOptionList" +_RCIe = "RequestCertificateInput" +_cRCRo = "com.amazonaws.acm#RequestCertificateRequest" +_RCOe = "RequestCertificateOutput" +_cRCRom = "com.amazonaws.acm#RequestCertificateResponse" +_RCe = "RequestCertificate" +_ISEn = "InvalidStateException" +_RVEI = "ResendValidationEmailInput" +_cRVER = "com.amazonaws.acm#ResendValidationEmailRequest" +_D = "Domain" +_RVEO = "ResendValidationEmailOutput" +_RVE = "ResendValidationEmail" +_RAAI = "RevokeAcmeAccountInput" +_cRAAR = "com.amazonaws.acm#RevokeAcmeAccountRequest" +_RAAO = "RevokeAcmeAccountOutput" +_RAA = "RevokeAcmeAccount" +_RAEABI = "RevokeAcmeExternalAccountBindingInput" +_cRAEABR = "com.amazonaws.acm#RevokeAcmeExternalAccountBindingRequest" +_RAEABO = "RevokeAcmeExternalAccountBindingOutput" +_RAEAB = "RevokeAcmeExternalAccountBinding" +_RCIev = "RevokeCertificateInput" +_cRCRoma = "com.amazonaws.acm#RevokeCertificateRequest" +_RCOev = "RevokeCertificateOutput" +_cRCRomam = "com.amazonaws.acm#RevokeCertificateResponse" +_RCev = "RevokeCertificate" +_SMR = "SearchMaxResults" +_SCSB = "SearchCertificatesSortBy" +_NA_ = "NOT_AFTER" +_STATUS = "STATUS" +_RS_ = "RENEWAL_STATUS" +_EXPORTED = "EXPORTED" +_IU__ = "IN_USE" +_NB_ = "NOT_BEFORE" +_KA__ = "KEY_ALGORITHM" +_TYPE = "TYPE" +_CA__ = "CERTIFICATE_ARN" +_CN_ = "COMMON_NAME" +_RA_ = "REVOKED_AT" +_RE_ = "RENEWAL_ELIGIBILITY" +_IA_ = "ISSUED_AT" +_MB_ = "MANAGED_BY" +_EO___ = "EXPORT_OPTION" +_VM_ = "VALIDATION_METHOD" +_IA__ = "IMPORTED_AT" +_AEA_ = "ACME_ENDPOINT_ARN" +_AAI_ = "ACME_ACCOUNT_ID" +_CKPO_ = "CERTIFICATE_KEY_PAIR_ORIGIN" +_SCSO = "SearchCertificatesSortOrder" +_CM = "CertificateMetadata" +_CAu = "CustomAttribute" +_OI = "ObjectIdentifier" +_CAL = "CustomAttributeList" +_DCL = "DomainComponentList" +_DNi = "DistinguishedName" +_DCo = "DomainComponents" +_Cou = "Country" +_CAus = "CustomAttributes" +_DNQ = "DistinguishedNameQualifier" +_GQ = "GenerationQualifier" +_GN = "GivenName" +_Ini = "Initials" +_L = "Locality" +_Or = "Organization" +_OU = "OrganizationalUnit" +_Ps = "Pseudonym" +_Stat = "State" +_Sur = "Surname" +_Ti = "Title" +_ON = "OtherName" +_GNe = "GeneralName" +_DNir = "DirectoryName" +_IAp = "IpAddress" +_RI = "RegisteredId" +_RN = "Rfc822Name" +_URI = "UniformResourceIdentifier" +_GNL = "GeneralNameList" +_XA = "X509Attributes" +_CSR = "CertificateSearchResult" +_CSRL = "CertificateSearchResultList" +_SCO = "SearchCertificatesOutput" +_cSCR = "com.amazonaws.acm#SearchCertificatesResponse" +_Re = "Results" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.acm#TagResourceRequest" +_TRO = "TagResourceOutput" +_TRa = "TagResource" +_TKL = "TagKeyList" +_URIn = "UntagResourceInput" +_cURR = "com.amazonaws.acm#UntagResourceRequest" +_TKa = "TagKeys" +_URO = "UntagResourceOutput" +_UR = "UntagResource" +_UADVI = "UpdateAcmeDomainValidationInput" +_cUADVR = "com.amazonaws.acm#UpdateAcmeDomainValidationRequest" +_UADVO = "UpdateAcmeDomainValidationOutput" +_UADV = "UpdateAcmeDomainValidation" +_UAEI = "UpdateAcmeEndpointInput" +_cUAER = "com.amazonaws.acm#UpdateAcmeEndpointRequest" +_UAEO = "UpdateAcmeEndpointOutput" +_UAE = "UpdateAcmeEndpoint" +_UCOI = "UpdateCertificateOptionsInput" +_cUCOR = "com.amazonaws.acm#UpdateCertificateOptionsRequest" +_UCOO = "UpdateCertificateOptionsOutput" +_UCO = "UpdateCertificateOptions" +_CFS = "CertificateFilterStatement" +_An = "And" +_Or_ = "Or" +_No = "Not" +_Fil = "Filter" +_CFSL = "CertificateFilterStatementList" +_SCI = "SearchCertificatesInput" +_cSCRo = "com.amazonaws.acm#SearchCertificatesRequest" +_FSi = "FilterStatement" +_SC = "SearchCertificates" +_CMe = "CertificateManager" +_a = "aws.auth#sigv4" +_a_ = "aws.protocols#awsJson1_1" +_aw = "aws.api#service" + +INVALID_ARGS_EXCEPTION: StaticSchema = ( + 18, + n0, + _IAEn, + {_s: _c}, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +MAX_ITEMS: StaticSchema = (7, n0, _MI, 0) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +LIST_CERTIFICATE_DOMAIN_VALIDATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LCDVI, + {_sSI: _cLCDVR, _smit: None}, + (_CAer, _NT, _MI), + ((lambda: schemas.CERTIFICATE_ARN, 1), (NEXT_TOKEN, 0), (MAX_ITEMS, 0)), +) + +LIST_CERTIFICATE_DOMAIN_VALIDATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCDVO, + {_sSI: _cLCDVRo, _smith: None}, + (_DVSL, _NT), + ((lambda: DOMAIN_VALIDATION_SUMMARY_LIST, 0), (NEXT_TOKEN, 0)), +) + +LIST_CERTIFICATE_DOMAIN_VALIDATIONS: StaticOperationSchema = ( + 23, + n0, + _LCDV, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + LIST_CERTIFICATE_DOMAIN_VALIDATIONS_INPUT, + LIST_CERTIFICATE_DOMAIN_VALIDATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_ARGS_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +DNS_VALIDATION_CHALLENGE: StaticSchema = ( + 18, + n0, + _DVC, + 0, + (_RR,), + ((lambda: schemas.RESOURCE_RECORD, 0),), +) + +EMAIL_VALIDATION_CHALLENGE: StaticSchema = ( + 18, + n0, + _EVC, + 0, + (_VEa, _VD), + ( + (lambda: schemas.VALIDATION_EMAIL_LIST, 0), + (lambda: schemas.DOMAIN_NAME_STRING, 0), + ), +) + +VALIDATION_CHALLENGE: StaticSchema = ( + 19, + n0, + _VC, + 0, + (_EVC, _DVC), + ((EMAIL_VALIDATION_CHALLENGE, 0), (DNS_VALIDATION_CHALLENGE, 0)), +) + +VALIDATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VCa, + 0, + (_VM, _VC, _VS), + ( + (lambda: schemas.VALIDATION_METHOD, 0), + (VALIDATION_CHALLENGE, 0), + (lambda: schemas.DOMAIN_STATUS, 0), + ), +) + +DOMAIN_VALIDATION_SUMMARY: StaticSchema = ( + 18, + n0, + _DVS, + 0, + (_DN, _AVC, _RVC), + ( + (lambda: schemas.DOMAIN_NAME_STRING, 1), + (VALIDATION_CONFIGURATION, 0), + (VALIDATION_CONFIGURATION, 0), + ), +) + +DOMAIN_VALIDATION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _DVSL, + 0, + (_m,), + ((DOMAIN_VALIDATION_SUMMARY, 0),), +) + +CERTIFICATE_STATUSES: StaticSchema = ( + 16, + n0, + _CSe, + 0, + (_m,), + ((lambda: schemas.CERTIFICATE_STATUS, 0),), +) + +EXTENDED_KEY_USAGE_FILTER_LIST: StaticSchema = ( + 16, + n0, + _EKUFL, + 0, + (_m,), + ((lambda: schemas.EXTENDED_KEY_USAGE_NAME, 0),), +) + +KEY_ALGORITHM_LIST: StaticSchema = ( + 16, + n0, + _KAL, + 0, + (_m,), + ((lambda: schemas.KEY_ALGORITHM, 0),), +) + +KEY_USAGE_FILTER_LIST: StaticSchema = ( + 16, + n0, + _KUFL, + 0, + (_m,), + ((lambda: schemas.KEY_USAGE_NAME, 0),), +) + +FILTERS: StaticSchema = ( + 18, + n0, + _Fi, + 0, + (_eKU, _kU, _kT, _eO, _mB), + ( + (EXTENDED_KEY_USAGE_FILTER_LIST, 0), + (KEY_USAGE_FILTER_LIST, 0), + (KEY_ALGORITHM_LIST, 0), + (lambda: schemas.CERTIFICATE_EXPORT, 0), + (lambda: schemas.CERTIFICATE_MANAGED_BY, 0), + ), +) + +SORT_BY: StaticSchema = (14, n0, _SB, 0, (_CA_,), ((-1, {_sV: _CA_}),)) + +SORT_ORDER: StaticSchema = ( + 14, + n0, + _SO, + 0, + (_ASCENDING, _DESCENDING), + ((-1, {_sV: _ASCENDING}), (-1, {_sV: _DESCENDING})), +) + +LIST_CERTIFICATES_INPUT: StaticSchema = ( + 18, + n0, + _LCI, + {_sSI: _cLCR, _smit: None}, + (_CSe, _CKPOe, _In, _NT, _MI, _SB, _SO), + ( + (CERTIFICATE_STATUSES, 0), + (lambda: schemas.CERTIFICATE_KEY_PAIR_ORIGINS, 0), + (FILTERS, 0), + (NEXT_TOKEN, 0), + (MAX_ITEMS, 0), + (SORT_BY, 0), + (SORT_ORDER, 0), + ), +) + +LIST_CERTIFICATES_OUTPUT: StaticSchema = ( + 18, + n0, + _LCO, + {_sSI: _cLCRo, _smith: None}, + (_NT, _CSL), + ((NEXT_TOKEN, 0), (lambda: CERTIFICATE_SUMMARY_LIST, 0)), +) + +LIST_CERTIFICATES: StaticOperationSchema = ( + 23, + n0, + _LC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + LIST_CERTIFICATES_INPUT, + LIST_CERTIFICATES_OUTPUT, + (INVALID_ARGS_EXCEPTION, lambda: schemas.VALIDATION_EXCEPTION), +) + +EXTENDED_KEY_USAGE_NAMES: StaticSchema = ( + 16, + n0, + _EKUNx, + 0, + (_m,), + ((lambda: schemas.EXTENDED_KEY_USAGE_NAME, 0),), +) + +KEY_USAGE_NAMES: StaticSchema = ( + 16, + n0, + _KUNe, + 0, + (_m,), + ((lambda: schemas.KEY_USAGE_NAME, 0),), +) + +CERTIFICATE_SUMMARY: StaticSchema = ( + 18, + n0, + _CSer, + 0, + ( + _CAer, + _DN, + _SANS, + _HASAN, + _S, + _T, + _KA, + _KUe, + _EKUx, + _EO, + _IU, + _E, + _RE, + _NBo, + _NA, + _CA, + _IAs, + _IA, + _RA, + _MB, + _CKPO, + ), + ( + (lambda: schemas.ARN, 0), + (lambda: schemas.DOMAIN_NAME_STRING, 0), + (lambda: schemas.DOMAIN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN, 0), + (lambda: schemas.CERTIFICATE_STATUS, 0), + (lambda: schemas.CERTIFICATE_TYPE, 0), + (lambda: schemas.KEY_ALGORITHM, 0), + (KEY_USAGE_NAMES, 0), + (EXTENDED_KEY_USAGE_NAMES, 0), + (lambda: schemas.CERTIFICATE_EXPORT, 0), + (lambda: schemas.NULLABLE_BOOLEAN, 0), + (lambda: schemas.NULLABLE_BOOLEAN, 0), + (lambda: schemas.RENEWAL_ELIGIBILITY, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.CERTIFICATE_MANAGED_BY, 0), + (lambda: schemas.CERTIFICATE_KEY_PAIR_ORIGIN, 0), + ), +) + +CERTIFICATE_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CSL, + 0, + (_m,), + ((CERTIFICATE_SUMMARY, 0),), +) + +LIST_TAGS_FOR_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _LTFCI, + {_sSI: _cLTFCR, _smit: None}, + (_CAer,), + ((lambda: schemas.ARN, 1),), +) + +LIST_TAGS_FOR_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFCO, + {_sSI: _cLTFCRo, _smith: None}, + (_Tag,), + ((lambda: schemas.TAG_LIST, 0),), +) + +LIST_TAGS_FOR_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _LTFC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + LIST_TAGS_FOR_CERTIFICATE_INPUT, + LIST_TAGS_FOR_CERTIFICATE_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _smit: None}, + (_RAes,), + ((lambda: schemas.ARN, 1),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smith: None}, + (_Tag,), + ((lambda: schemas.TAG_LIST, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +IDEMPOTENCY_TOKEN: StaticSchema = (3, n0, _ITd, 0) + +PUT_ACCOUNT_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PACI, + {_sSI: _cPACR, _smit: None}, + (_EE, _ITd), + ((lambda: schemas.EXPIRY_EVENTS_CONFIGURATION, 0), (IDEMPOTENCY_TOKEN, 1)), +) + +PUT_ACCOUNT_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PACO, + {_sSI: _sU, _smith: None}, +) + +PUT_ACCOUNT_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PAC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + PUT_ACCOUNT_CONFIGURATION_INPUT, + PUT_ACCOUNT_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REMOVE_TAGS_FROM_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _RTFCI, + {_sSI: _cRTFCR, _smit: None}, + (_CAer, _Tag), + ((lambda: schemas.ARN, 1), (lambda: schemas.TAG_LIST, 1)), +) + +REMOVE_TAGS_FROM_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _RTFCO, + {_sSI: _sU, _smith: None}, +) + +REMOVE_TAGS_FROM_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _RTFC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + REMOVE_TAGS_FROM_CERTIFICATE_INPUT, + REMOVE_TAGS_FROM_CERTIFICATE_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TAG_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TAG_POLICY_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RENEW_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _RCI, + {_sSI: _cRCR, _smit: None}, + (_CAer,), + ((lambda: schemas.ARN, 1),), +) + +RENEW_CERTIFICATE_OUTPUT: StaticSchema = (18, n0, _RCO, {_sSI: _sU, _smith: None}) + +RENEW_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _RC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + RENEW_CERTIFICATE_INPUT, + RENEW_CERTIFICATE_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.REQUEST_IN_PROGRESS_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INVALID_DOMAIN_VALIDATION_OPTIONS_EXCEPTION: StaticSchema = ( + 18, + n0, + _IDVOE, + {_s: _c}, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +PCA_ARN: StaticSchema = (3, n0, _PAc, 0) + +DOMAIN_VALIDATION_OPTION: StaticSchema = ( + 18, + n0, + _DVOo, + 0, + (_DN, _VD), + ((lambda: schemas.DOMAIN_NAME_STRING, 1), (lambda: schemas.DOMAIN_NAME_STRING, 1)), +) + +DOMAIN_VALIDATION_OPTION_LIST: StaticSchema = ( + 16, + n0, + _DVOL, + 0, + (_m,), + ((DOMAIN_VALIDATION_OPTION, 0),), +) + +REQUEST_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _RCIe, + {_sSI: _cRCRo, _smit: None}, + (_DN, _VM, _SAN, _ITd, _DVO, _O, _CAA, _Tag, _KA, _MB), + ( + (lambda: schemas.DOMAIN_NAME_STRING, 1), + (lambda: schemas.VALIDATION_METHOD, 0), + (lambda: schemas.DOMAIN_LIST, 0), + (IDEMPOTENCY_TOKEN, 0), + (DOMAIN_VALIDATION_OPTION_LIST, 0), + (lambda: schemas.CERTIFICATE_OPTIONS, 0), + (PCA_ARN, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.KEY_ALGORITHM, 0), + (lambda: schemas.CERTIFICATE_MANAGED_BY, 0), + ), +) + +REQUEST_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _RCOe, + {_sSI: _cRCRom, _smith: None}, + (_CAer,), + ((lambda: schemas.ARN, 0),), +) + +REQUEST_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _RCe, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + REQUEST_CERTIFICATE_INPUT, + REQUEST_CERTIFICATE_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + INVALID_DOMAIN_VALIDATION_OPTIONS_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TAG_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.TAG_POLICY_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + ), +) + +INVALID_STATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISEn, + {_s: _c}, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +RESEND_VALIDATION_EMAIL_INPUT: StaticSchema = ( + 18, + n0, + _RVEI, + {_sSI: _cRVER, _smit: None}, + (_CAer, _D, _VD), + ( + (lambda: schemas.ARN, 1), + (lambda: schemas.DOMAIN_NAME_STRING, 1), + (lambda: schemas.DOMAIN_NAME_STRING, 1), + ), +) + +RESEND_VALIDATION_EMAIL_OUTPUT: StaticSchema = ( + 18, + n0, + _RVEO, + {_sSI: _sU, _smith: None}, +) + +RESEND_VALIDATION_EMAIL: StaticOperationSchema = ( + 23, + n0, + _RVE, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + RESEND_VALIDATION_EMAIL_INPUT, + RESEND_VALIDATION_EMAIL_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + INVALID_DOMAIN_VALIDATION_OPTIONS_EXCEPTION, + INVALID_STATE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REVOKE_ACME_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _RAAI, + {_sSI: _cRAAR, _smit: None}, + (_AEA, _AU), + ((lambda: schemas.ACME_ENDPOINT_ARN, 1), (3, 1)), +) + +REVOKE_ACME_ACCOUNT_OUTPUT: StaticSchema = (18, n0, _RAAO, {_sSI: _sU, _smith: None}) + +REVOKE_ACME_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _RAA, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + REVOKE_ACME_ACCOUNT_INPUT, + REVOKE_ACME_ACCOUNT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT: StaticSchema = ( + 18, + n0, + _RAEABI, + {_sSI: _cRAEABR, _smit: None}, + (_AEABA,), + ((lambda: schemas.ACME_EXTERNAL_ACCOUNT_BINDING_ARN, 1),), +) + +REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT: StaticSchema = ( + 18, + n0, + _RAEABO, + {_sSI: _sU, _smith: None}, +) + +REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING: StaticOperationSchema = ( + 23, + n0, + _RAEAB, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_INPUT, + REVOKE_ACME_EXTERNAL_ACCOUNT_BINDING_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REVOKE_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _RCIev, + {_sSI: _cRCRoma, _smit: None}, + (_CAer, _RRe), + ((lambda: schemas.ARN, 1), (lambda: schemas.REVOCATION_REASON, 1)), +) + +REVOKE_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _RCOev, + {_sSI: _cRCRomam, _smith: None}, + (_CAer,), + ((lambda: schemas.ARN, 0),), +) + +REVOKE_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _RCev, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + REVOKE_CERTIFICATE_INPUT, + REVOKE_CERTIFICATE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SEARCH_MAX_RESULTS: StaticSchema = (7, n0, _SMR, {_smithy: 100}) + +SEARCH_CERTIFICATES_SORT_BY: StaticSchema = ( + 14, + n0, + _SCSB, + 0, + ( + _CA_, + _NA_, + _STATUS, + _RS_, + _EXPORTED, + _IU__, + _NB_, + _KA__, + _TYPE, + _CA__, + _CN_, + _RA_, + _RE_, + _IA_, + _MB_, + _EO___, + _VM_, + _IA__, + _AEA_, + _AAI_, + _CKPO_, + ), + ( + (-1, {_sV: _CA_}), + (-1, {_sV: _NA_}), + (-1, {_sV: _STATUS}), + (-1, {_sV: _RS_}), + (-1, {_sV: _EXPORTED}), + (-1, {_sV: _IU__}), + (-1, {_sV: _NB_}), + (-1, {_sV: _KA__}), + (-1, {_sV: _TYPE}), + (-1, {_sV: _CA__}), + (-1, {_sV: _CN_}), + (-1, {_sV: _RA_}), + (-1, {_sV: _RE_}), + (-1, {_sV: _IA_}), + (-1, {_sV: _MB_}), + (-1, {_sV: _EO___}), + (-1, {_sV: _VM_}), + (-1, {_sV: _IA__}), + (-1, {_sV: _AEA_}), + (-1, {_sV: _AAI_}), + (-1, {_sV: _CKPO_}), + ), +) + +SEARCH_CERTIFICATES_SORT_ORDER: StaticSchema = ( + 14, + n0, + _SCSO, + 0, + (_ASCENDING, _DESCENDING), + ((-1, {_sV: _ASCENDING}), (-1, {_sV: _DESCENDING})), +) + +CERTIFICATE_METADATA: StaticSchema = ( + 19, + n0, + _CM, + 0, + (_ACM,), + ((lambda: schemas.ACM_CERTIFICATE_METADATA, 0),), +) + +CUSTOM_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _CAu, + 0, + (_OI, _V), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CUSTOM_ATTRIBUTE_LIST: StaticSchema = (16, n0, _CAL, 0, (_m,), ((CUSTOM_ATTRIBUTE, 0),)) + +DOMAIN_COMPONENT_LIST: StaticSchema = ( + 16, + n0, + _DCL, + 0, + (_m,), + ((lambda: schemas.STRING, 0),), +) + +DISTINGUISHED_NAME: StaticSchema = ( + 18, + n0, + _DNi, + 0, + ( + _CN, + _DCo, + _Cou, + _CAus, + _DNQ, + _GQ, + _GN, + _Ini, + _L, + _Or, + _OU, + _Ps, + _SN, + _Stat, + _Sur, + _Ti, + ), + ( + (lambda: schemas.STRING, 0), + (DOMAIN_COMPONENT_LIST, 0), + (lambda: schemas.STRING, 0), + (CUSTOM_ATTRIBUTE_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +OTHER_NAME: StaticSchema = ( + 18, + n0, + _ON, + 0, + (_OI, _V), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +GENERAL_NAME: StaticSchema = ( + 19, + n0, + _GNe, + 0, + (_DNir, _DNn, _IAp, _ON, _RI, _RN, _URI), + ( + (DISTINGUISHED_NAME, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (OTHER_NAME, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +GENERAL_NAME_LIST: StaticSchema = (16, n0, _GNL, 0, (_m,), ((GENERAL_NAME, 0),)) + +X509_ATTRIBUTES: StaticSchema = ( + 18, + n0, + _XA, + 0, + (_I, _Sub, _SAN, _EKUx, _KA, _KUe, _SN, _NA, _NBo), + ( + (DISTINGUISHED_NAME, 0), + (DISTINGUISHED_NAME, 0), + (GENERAL_NAME_LIST, 0), + (EXTENDED_KEY_USAGE_NAMES, 0), + (lambda: schemas.KEY_ALGORITHM, 0), + (KEY_USAGE_NAMES, 0), + (lambda: schemas.SERIAL_NUMBER, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + ), +) + +CERTIFICATE_SEARCH_RESULT: StaticSchema = ( + 18, + n0, + _CSR, + 0, + (_CAer, _XA, _CM), + ((lambda: schemas.ARN, 0), (X509_ATTRIBUTES, 0), (CERTIFICATE_METADATA, 0)), +) + +CERTIFICATE_SEARCH_RESULT_LIST: StaticSchema = ( + 16, + n0, + _CSRL, + 0, + (_m,), + ((CERTIFICATE_SEARCH_RESULT, 0),), +) + +SEARCH_CERTIFICATES_OUTPUT: StaticSchema = ( + 18, + n0, + _SCO, + {_sSI: _cSCR, _smith: None}, + (_Re, _NT), + ((CERTIFICATE_SEARCH_RESULT_LIST, 0), (NEXT_TOKEN, 0)), +) + +SEARCH_CERTIFICATES_INPUT: StaticSchema = ( + 18, + n0, + _SCI, + {_sSI: _cSCRo, _smit: None}, + (_FSi, _MR, _NT, _SB, _SO), + ( + (lambda: CERTIFICATE_FILTER_STATEMENT, 0), + (SEARCH_MAX_RESULTS, {_smithy: 100}), + (NEXT_TOKEN, 0), + (SEARCH_CERTIFICATES_SORT_BY, {_smithy: _CA_}), + (SEARCH_CERTIFICATES_SORT_ORDER, {_smithy: _ASCENDING}), + ), +) + +SEARCH_CERTIFICATES: StaticOperationSchema = ( + 23, + n0, + _SC, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + SEARCH_CERTIFICATES_INPUT, + SEARCH_CERTIFICATES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smit: None}, + (_RAes, _Tag), + ((lambda: schemas.ARN, 1), (lambda: schemas.TAG_LIST, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smith: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TRa, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_m,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URIn, + {_sSI: _cURR, _smit: None}, + (_RAes, _TKa), + ((lambda: schemas.ARN, 1), (TAG_KEY_LIST, 1)), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smith: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_ACME_DOMAIN_VALIDATION_INPUT: StaticSchema = ( + 18, + n0, + _UADVI, + {_sSI: _cUADVR, _smit: None}, + (_ADVA, _PO), + ( + (lambda: schemas.ACME_DOMAIN_VALIDATION_ARN, 1), + (lambda: schemas.PREVALIDATION_OPTIONS, 0), + ), +) + +UPDATE_ACME_DOMAIN_VALIDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UADVO, + {_sSI: _sU, _smith: None}, +) + +UPDATE_ACME_DOMAIN_VALIDATION: StaticOperationSchema = ( + 23, + n0, + _UADV, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + UPDATE_ACME_DOMAIN_VALIDATION_INPUT, + UPDATE_ACME_DOMAIN_VALIDATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_ACME_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _UAEI, + {_sSI: _cUAER, _smit: None}, + (_AEA, _AB, _Co, _CAe), + ( + (lambda: schemas.ACME_ENDPOINT_ARN, 1), + (lambda: schemas.ACME_AUTHORIZATION_BEHAVIOR, 0), + (lambda: schemas.ACME_CONTACT, 0), + (lambda: schemas.CERTIFICATE_AUTHORITY, 0), + ), +) + +UPDATE_ACME_ENDPOINT_OUTPUT: StaticSchema = (18, n0, _UAEO, {_sSI: _sU, _smith: None}) + +UPDATE_ACME_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _UAE, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM-ACME"})})}, + UPDATE_ACME_ENDPOINT_INPUT, + UPDATE_ACME_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_CERTIFICATE_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _UCOI, + {_sSI: _cUCOR, _smit: None}, + (_CAer, _O), + ((lambda: schemas.ARN, 1), (lambda: schemas.CERTIFICATE_OPTIONS, 1)), +) + +UPDATE_CERTIFICATE_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _UCOO, + {_sSI: _sU, _smith: None}, +) + +UPDATE_CERTIFICATE_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _UCO, + {_sCP: MappingProxyType({"ServiceType": MappingProxyType({"value": "ACM"})})}, + UPDATE_CERTIFICATE_OPTIONS_INPUT, + UPDATE_CERTIFICATE_OPTIONS_OUTPUT, + ( + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + INVALID_STATE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CERTIFICATE_FILTER_STATEMENT: StaticSchema = ( + 19, + n0, + _CFS, + 0, + (_An, _Or_, _No, _Fil), + ( + (lambda: CERTIFICATE_FILTER_STATEMENT_LIST, 0), + (lambda: CERTIFICATE_FILTER_STATEMENT_LIST, 0), + (lambda: CERTIFICATE_FILTER_STATEMENT, 0), + (lambda: schemas.CERTIFICATE_FILTER, 0), + ), +) + +CERTIFICATE_FILTER_STATEMENT_LIST: StaticSchema = ( + 16, + n0, + _CFSL, + 0, + (_m,), + ((CERTIFICATE_FILTER_STATEMENT, 0),), +) + +CERTIFICATE_MANAGER: StaticSchema = ( + 21, + n0, + _CMe, + { + _a: MappingProxyType({"name": "acm"}), + _a_: None, + _aw: MappingProxyType( + { + "sdkId": "ACM", + "endpointPrefix": "acm", + "arnNamespace": "acm", + "cloudTrailEventSource": "acm.amazonaws.com", + "cloudFormationName": "CertificateManager", + } + ), + }, +) diff --git a/clients/aws-sdk-acm/src/aws_sdk_acm/aio/client.py b/clients/aws-sdk-acm/src/aws_sdk_acm/aio/client.py index efb77144b..477af6881 100644 --- a/clients/aws-sdk-acm/src/aws_sdk_acm/aio/client.py +++ b/clients/aws-sdk-acm/src/aws_sdk_acm/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-acm/src/aws_sdk_acm/aio/config.py b/clients/aws-sdk-acm/src/aws_sdk_acm/aio/config.py index ccc16cd39..87887294a 100644 --- a/clients/aws-sdk-acm/src/aws_sdk_acm/aio/config.py +++ b/clients/aws-sdk-acm/src/aws_sdk_acm/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson11ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-acm/src/aws_sdk_acm/client.py b/clients/aws-sdk-acm/src/aws_sdk_acm/client.py index 5aeb3f2cc..8934ac14b 100644 --- a/clients/aws-sdk-acm/src/aws_sdk_acm/client.py +++ b/clients/aws-sdk-acm/src/aws_sdk_acm/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-acm/src/aws_sdk_acm/config.py b/clients/aws-sdk-acm/src/aws_sdk_acm/config.py index a5b22e75c..e1c032aeb 100644 --- a/clients/aws-sdk-acm/src/aws_sdk_acm/config.py +++ b/clients/aws-sdk-acm/src/aws_sdk_acm/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson11ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-acm/src/aws_sdk_acm/models.pyi b/clients/aws-sdk-acm/src/aws_sdk_acm/models.pyi index 8a6ec9f69..49a2415c8 100644 --- a/clients/aws-sdk-acm/src/aws_sdk_acm/models.pyi +++ b/clients/aws-sdk-acm/src/aws_sdk_acm/models.pyi @@ -1055,6 +1055,8 @@ class CreateAcmeDomainValidationInput(_SerdeShape): """ A unique, case-sensitive identifier to ensure idempotency of the request. + + This field is autopopulated if not provided. """ acme_endpoint_arn: str | None = ... """The Amazon Resource Name (ARN) of the ACME endpoint.""" @@ -1087,6 +1089,8 @@ class CreateAcmeEndpointInput(_SerdeShape): """ A unique, case-sensitive identifier to ensure idempotency of the request. + + This field is autopopulated if not provided. """ authorization_behavior: str | None = ... """The authorization behavior for the ACME endpoint.""" @@ -1127,6 +1131,8 @@ class CreateAcmeExternalAccountBindingInput(_SerdeShape): """ A unique, case-sensitive identifier to ensure idempotency of the request. + + This field is autopopulated if not provided. """ acme_endpoint_arn: str | None = ... """The Amazon Resource Name (ARN) of the ACME endpoint.""" diff --git a/clients/aws-sdk-acm/tests/test_endpoints.py b/clients/aws-sdk-acm/tests/test_endpoints.py index fe26bb2ac..780e8a0d5 100644 --- a/clients/aws-sdk-acm/tests/test_endpoints.py +++ b/clients/aws-sdk-acm/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-api-gateway/pyproject.toml b/clients/aws-sdk-api-gateway/pyproject.toml index 43f2a5600..28b5fcf4c 100644 --- a/clients/aws-sdk-api-gateway/pyproject.toml +++ b/clients/aws-sdk-api-gateway/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_api_gateway" version = "0.12.0" -description = "aws_sdk_api_gateway client" +description = "Python client for Amazon API Gateway" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_api_gateway"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/models_0.pyi b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/models_0.pyi new file mode 100644 index 000000000..81284f36e --- /dev/null +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/models_0.pyi @@ -0,0 +1,6697 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + RestApi, + SdkConfigurationProperty, + SdkType, + ServiceError, + Stage, + StageKey, + ThrottleSettings, + TlsConfig, + UsagePlan, + UsagePlanKey, + VpcLink, + _SerdeShape, +) + +class AccessAssociationSourceType(UnknownEnumMixin, StrEnum): + VPCE = "VPCE" + +@dataclass(kw_only=True) +class AccessLogSettings(_SerdeShape): + """ + Access log settings, including the access log format and access log + destination ARN. + """ + + format: str | None = ... + """ + A single line format of the access logs of data, as specified by + selected $context variables. The format must include at least + `$context.requestId`. + """ + destination_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudWatch Logs log group or + Kinesis Data Firehose delivery stream to receive access logs. If you + specify a Kinesis Data Firehose delivery stream, the stream name must + begin with `amazon-apigateway-`. + """ + +@dataclass(kw_only=True) +class ApiKey(_SerdeShape): + """ + A resource that can be distributed to callers for executing Method + resources that require an API key. API keys can be mapped to any Stage + on any RestApi, which indicates that the callers with the API key can + make requests to that stage. + """ + + id: str | None = ... + """The identifier of the API Key.""" + value: str | None = ... + """The value of the API Key.""" + name: str | None = ... + """The name of the API Key.""" + customer_id: str | None = ... + """ + An Amazon Web Services Marketplace customer identifier, when integrating + with the Amazon Web Services SaaS Marketplace. + """ + description: str | None = ... + """The description of the API Key.""" + enabled: bool = ... + """Specifies whether the API Key can be used by callers.""" + created_date: datetime | None = ... + """The timestamp when the API Key was created.""" + last_updated_date: datetime | None = ... + """The timestamp when the API Key was last updated.""" + stage_keys: list[str] | None = ... + """A list of Stage resources that are associated with the ApiKey resource.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + +class ApiKeysFormat(UnknownEnumMixin, StrEnum): + CSV = "csv" + +class ApiKeySourceType(UnknownEnumMixin, StrEnum): + HEADER = "HEADER" + AUTHORIZER = "AUTHORIZER" + +@dataclass(kw_only=True) +class ApiStage(_SerdeShape): + """API stage name of the associated API stage in a usage plan.""" + + api_id: str | None = ... + """API Id of the associated API stage in a usage plan.""" + stage: str | None = ... + """API stage name of the associated API stage in a usage plan.""" + throttle: dict[str, ThrottleSettings] | None = ... + """ + Map containing method level throttling information for API stage in a + usage plan. + """ + +class ApiStatus(UnknownEnumMixin, StrEnum): + UPDATING = "UPDATING" + AVAILABLE = "AVAILABLE" + PENDING = "PENDING" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class Authorizer(_SerdeShape): + """ + Represents an authorization layer for methods. If enabled on a method, + API Gateway will activate the authorizer when a client calls the method. + """ + + id: str | None = ... + """The identifier for the authorizer resource.""" + name: str | None = ... + """The name of the authorizer.""" + type: str | None = ... + """ + The authorizer type. Valid values are `TOKEN` for a Lambda function + using a single authorization token submitted in a custom header, + `REQUEST` for a Lambda function using incoming request parameters, and + `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. + """ + provider_ar_ns: list[str] | None = ... + """ + A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` + authorizer. Each element is of this format: + `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For + a `TOKEN` or `REQUEST` authorizer, this is not defined. + """ + auth_type: str | None = ... + """ + Optional customer-defined field, used in OpenAPI imports and exports + without functional impact. + """ + authorizer_uri: str | None = ... + """ + Specifies the authorizer's Uniform Resource Identifier (URI). For + `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda + function URI, for example, + `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. + In general, the URI has this form + `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where + `{region}` is the same as the region hosting the Lambda function, `path` + indicates that the remaining substring in the URI should be treated as + the path to the resource, including the initial `/`. For Lambda + functions, this is usually of the form + `/2015-03-31/functions/[FunctionARN]/invocations`. + """ + authorizer_credentials: str | None = ... + """ + Specifies the required credentials as an IAM role for API Gateway to + invoke the authorizer. To specify an IAM role for API Gateway to assume, + use the role's Amazon Resource Name (ARN). To use resource-based + permissions on the Lambda function, specify null. + """ + identity_source: str | None = ... + """ + The identity source for which authorization is requested. For a `TOKEN` + or `COGNITO_USER_POOLS` authorizer, this is required and specifies the + request header mapping expression for the custom header holding the + authorization token submitted by the client. For example, if the token + header name is `Auth`, the header mapping expression is + `method.request.header.Auth`. For the `REQUEST` authorizer, this is + required when authorization caching is enabled. The value is a + comma-separated string of one or more mapping expressions of the + specified request parameters. For example, if an `Auth` header, a `Name` + query string parameter are defined as identity sources, this value is + `method.request.header.Auth`, `method.request.querystring.Name`. These + parameters will be used to derive the authorization caching key and to + perform runtime validation of the `REQUEST` authorizer by verifying all + of the identity-related request parameters are present, not null and + non-empty. Only when this is true does the authorizer invoke the + authorizer Lambda function, otherwise, it returns a 401 Unauthorized + response without calling the Lambda function. The valid value is a + string of comma-separated mapping expressions of the specified request + parameters. When the authorization caching is not enabled, this property + is optional. + """ + identity_validation_expression: str | None = ... + """ + A validation expression for the incoming identity token. For `TOKEN` + authorizers, this value is a regular expression. For + `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field + of the incoming token from the client against the specified regular + expression. It will invoke the authorizer's Lambda function when there + is a match. Otherwise, it will return a 401 Unauthorized response + without calling the Lambda function. The validation expression does not + apply to the `REQUEST` authorizer. + """ + authorizer_result_ttl_in_seconds: int | None = ... + """ + The TTL in seconds of cached authorizer results. If it equals 0, + authorization caching is disabled. If it is greater than 0, API Gateway + will cache authorizer responses. If this field is not set, the default + value is 300. The maximum value is 3600, or 1 hour. + """ + +class AuthorizerType(UnknownEnumMixin, StrEnum): + """ + The authorizer type. Valid values are `TOKEN` for a Lambda function + using a single authorization token submitted in a custom header, + `REQUEST` for a Lambda function using incoming request parameters, and + `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. + """ + + TOKEN = "TOKEN" + REQUEST = "REQUEST" + COGNITO_USER_POOLS = "COGNITO_USER_POOLS" + +@dataclass(kw_only=True) +class BadRequestException(ServiceError, _SerdeShape): + """ + The submitted request is not valid, for example, the input is incomplete + or incorrect. See the accompanying error message for details. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BasePathMapping(_SerdeShape): + """ + Represents the base path that callers of the API must provide as part of + the URL after the domain name. + """ + + base_path: str | None = ... + """ + The base path name that callers of the API must provide as part of the + URL after the domain name. + """ + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage: str | None = ... + """The name of the associated stage.""" + +class CacheClusterSize(UnknownEnumMixin, StrEnum): + """Returns the size of the CacheCluster.""" + + SIZE_0_POINT_5_GB = "0.5" + SIZE_1_POINT_6_GB = "1.6" + SIZE_6_POINT_1_GB = "6.1" + SIZE_13_POINT_5_GB = "13.5" + SIZE_28_POINT_4_GB = "28.4" + SIZE_58_POINT_2_GB = "58.2" + SIZE_118_GB = "118" + SIZE_237_GB = "237" + +class CacheClusterStatus(UnknownEnumMixin, StrEnum): + """Returns the status of the CacheCluster.""" + + CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" + AVAILABLE = "AVAILABLE" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + NOT_AVAILABLE = "NOT_AVAILABLE" + FLUSH_IN_PROGRESS = "FLUSH_IN_PROGRESS" + +@dataclass(kw_only=True) +class CanarySettings(_SerdeShape): + """Configuration settings of a canary deployment.""" + + percent_traffic: float = ... + """The percent (0-100) of traffic diverted to a canary deployment.""" + deployment_id: str | None = ... + """The ID of the canary deployment.""" + stage_variable_overrides: dict[str, str] | None = ... + """ + Stage variables overridden for a canary release deployment, including + new stage variables introduced in the canary. These stage variables are + represented as a string-to-string map between stage variable names and + their values. + """ + use_stage_cache: bool = ... + """ + A Boolean flag to indicate whether the canary deployment uses the stage + cache or not. + """ + +@dataclass(kw_only=True) +class ClientCertificate(_SerdeShape): + """ + Represents a client certificate used to configure client-side SSL + authentication while sending requests to the integration endpoint. + """ + + client_certificate_id: str | None = ... + """The identifier of the client certificate.""" + description: str | None = ... + """The description of the client certificate.""" + pem_encoded_certificate: str | None = ... + """ + The PEM-encoded public key of the client certificate, which can be used + to configure certificate authentication in the integration endpoint . + """ + created_date: datetime | None = ... + """The timestamp when the client certificate was created.""" + expiration_date: datetime | None = ... + """The timestamp when the client certificate will expire.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """ + The request configuration has conflicts. For details, see the + accompanying error message. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ConnectionType(UnknownEnumMixin, StrEnum): + INTERNET = "INTERNET" + VPC_LINK = "VPC_LINK" + +class ContentHandlingStrategy(UnknownEnumMixin, StrEnum): + CONVERT_TO_BINARY = "CONVERT_TO_BINARY" + CONVERT_TO_TEXT = "CONVERT_TO_TEXT" + +@dataclass(kw_only=True) +class CreateApiKeyInput(_SerdeShape): + """Request to create an ApiKey resource.""" + + name: str | None = ... + """The name of the ApiKey.""" + description: str | None = ... + """The description of the ApiKey.""" + enabled: bool = ... + """Specifies whether the ApiKey can be used by callers.""" + generate_distinct_id: bool = ... + """ + Specifies whether (`true`) or not (`false`) the key identifier is + distinct from the created API key value. This parameter is deprecated + and should not be used. + """ + value: str | None = ... + """Specifies a value of the API key.""" + stage_keys: list[StageKey] | None = ... + """ + DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API + key. + """ + customer_id: str | None = ... + """ + An Amazon Web Services Marketplace customer identifier, when integrating + with the Amazon Web Services SaaS Marketplace. + """ + tags: dict[str, str] | None = ... + """ + The key-value map of strings. The valid character set is + [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not + start with `aws:`. The tag value can be up to 256 characters. + """ + +@dataclass(kw_only=True) +class CreateApiKeyOutput(_SerdeShape): + """ + A resource that can be distributed to callers for executing Method + resources that require an API key. API keys can be mapped to any Stage + on any RestApi, which indicates that the callers with the API key can + make requests to that stage. + """ + + id: str | None = ... + """The identifier of the API Key.""" + value: str | None = ... + """The value of the API Key.""" + name: str | None = ... + """The name of the API Key.""" + customer_id: str | None = ... + """ + An Amazon Web Services Marketplace customer identifier, when integrating + with the Amazon Web Services SaaS Marketplace. + """ + description: str | None = ... + """The description of the API Key.""" + enabled: bool = ... + """Specifies whether the API Key can be used by callers.""" + created_date: datetime | None = ... + """The timestamp when the API Key was created.""" + last_updated_date: datetime | None = ... + """The timestamp when the API Key was last updated.""" + stage_keys: list[str] | None = ... + """A list of Stage resources that are associated with the ApiKey resource.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAuthorizerInput(_SerdeShape): + """Request to add a new Authorizer to an existing RestApi resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + name: str | None = ... + """The name of the authorizer.""" + type: str | None = ... + """ + The authorizer type. Valid values are `TOKEN` for a Lambda function + using a single authorization token submitted in a custom header, + `REQUEST` for a Lambda function using incoming request parameters, and + `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. + """ + provider_ar_ns: list[str] | None = ... + """ + A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` + authorizer. Each element is of this format: + `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For + a `TOKEN` or `REQUEST` authorizer, this is not defined. + """ + auth_type: str | None = ... + """ + Optional customer-defined field, used in OpenAPI imports and exports + without functional impact. + """ + authorizer_uri: str | None = ... + """ + Specifies the authorizer's Uniform Resource Identifier (URI). For + `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda + function URI, for example, + `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. + In general, the URI has this form + `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where + `{region}` is the same as the region hosting the Lambda function, `path` + indicates that the remaining substring in the URI should be treated as + the path to the resource, including the initial `/`. For Lambda + functions, this is usually of the form + `/2015-03-31/functions/[FunctionARN]/invocations`. + """ + authorizer_credentials: str | None = ... + """ + Specifies the required credentials as an IAM role for API Gateway to + invoke the authorizer. To specify an IAM role for API Gateway to assume, + use the role's Amazon Resource Name (ARN). To use resource-based + permissions on the Lambda function, specify null. + """ + identity_source: str | None = ... + """ + The identity source for which authorization is requested. For a `TOKEN` + or `COGNITO_USER_POOLS` authorizer, this is required and specifies the + request header mapping expression for the custom header holding the + authorization token submitted by the client. For example, if the token + header name is `Auth`, the header mapping expression is + `method.request.header.Auth`. For the `REQUEST` authorizer, this is + required when authorization caching is enabled. The value is a + comma-separated string of one or more mapping expressions of the + specified request parameters. For example, if an `Auth` header, a `Name` + query string parameter are defined as identity sources, this value is + `method.request.header.Auth, method.request.querystring.Name`. These + parameters will be used to derive the authorization caching key and to + perform runtime validation of the `REQUEST` authorizer by verifying all + of the identity-related request parameters are present, not null and + non-empty. Only when this is true does the authorizer invoke the + authorizer Lambda function, otherwise, it returns a 401 Unauthorized + response without calling the Lambda function. The valid value is a + string of comma-separated mapping expressions of the specified request + parameters. When the authorization caching is not enabled, this property + is optional. + """ + identity_validation_expression: str | None = ... + """ + A validation expression for the incoming identity token. For `TOKEN` + authorizers, this value is a regular expression. For + `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field + of the incoming token from the client against the specified regular + expression. It will invoke the authorizer's Lambda function when there + is a match. Otherwise, it will return a 401 Unauthorized response + without calling the Lambda function. The validation expression does not + apply to the `REQUEST` authorizer. + """ + authorizer_result_ttl_in_seconds: int | None = ... + """ + The TTL in seconds of cached authorizer results. If it equals 0, + authorization caching is disabled. If it is greater than 0, API Gateway + will cache authorizer responses. If this field is not set, the default + value is 300. The maximum value is 3600, or 1 hour. + """ + +@dataclass(kw_only=True) +class CreateAuthorizerOutput(_SerdeShape): + """ + Represents an authorization layer for methods. If enabled on a method, + API Gateway will activate the authorizer when a client calls the method. + """ + + id: str | None = ... + """The identifier for the authorizer resource.""" + name: str | None = ... + """The name of the authorizer.""" + type: str | None = ... + """ + The authorizer type. Valid values are `TOKEN` for a Lambda function + using a single authorization token submitted in a custom header, + `REQUEST` for a Lambda function using incoming request parameters, and + `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. + """ + provider_ar_ns: list[str] | None = ... + """ + A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` + authorizer. Each element is of this format: + `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For + a `TOKEN` or `REQUEST` authorizer, this is not defined. + """ + auth_type: str | None = ... + """ + Optional customer-defined field, used in OpenAPI imports and exports + without functional impact. + """ + authorizer_uri: str | None = ... + """ + Specifies the authorizer's Uniform Resource Identifier (URI). For + `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda + function URI, for example, + `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. + In general, the URI has this form + `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where + `{region}` is the same as the region hosting the Lambda function, `path` + indicates that the remaining substring in the URI should be treated as + the path to the resource, including the initial `/`. For Lambda + functions, this is usually of the form + `/2015-03-31/functions/[FunctionARN]/invocations`. + """ + authorizer_credentials: str | None = ... + """ + Specifies the required credentials as an IAM role for API Gateway to + invoke the authorizer. To specify an IAM role for API Gateway to assume, + use the role's Amazon Resource Name (ARN). To use resource-based + permissions on the Lambda function, specify null. + """ + identity_source: str | None = ... + """ + The identity source for which authorization is requested. For a `TOKEN` + or `COGNITO_USER_POOLS` authorizer, this is required and specifies the + request header mapping expression for the custom header holding the + authorization token submitted by the client. For example, if the token + header name is `Auth`, the header mapping expression is + `method.request.header.Auth`. For the `REQUEST` authorizer, this is + required when authorization caching is enabled. The value is a + comma-separated string of one or more mapping expressions of the + specified request parameters. For example, if an `Auth` header, a `Name` + query string parameter are defined as identity sources, this value is + `method.request.header.Auth`, `method.request.querystring.Name`. These + parameters will be used to derive the authorization caching key and to + perform runtime validation of the `REQUEST` authorizer by verifying all + of the identity-related request parameters are present, not null and + non-empty. Only when this is true does the authorizer invoke the + authorizer Lambda function, otherwise, it returns a 401 Unauthorized + response without calling the Lambda function. The valid value is a + string of comma-separated mapping expressions of the specified request + parameters. When the authorization caching is not enabled, this property + is optional. + """ + identity_validation_expression: str | None = ... + """ + A validation expression for the incoming identity token. For `TOKEN` + authorizers, this value is a regular expression. For + `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field + of the incoming token from the client against the specified regular + expression. It will invoke the authorizer's Lambda function when there + is a match. Otherwise, it will return a 401 Unauthorized response + without calling the Lambda function. The validation expression does not + apply to the `REQUEST` authorizer. + """ + authorizer_result_ttl_in_seconds: int | None = ... + """ + The TTL in seconds of cached authorizer results. If it equals 0, + authorization caching is disabled. If it is greater than 0, API Gateway + will cache authorizer responses. If this field is not set, the default + value is 300. The maximum value is 3600, or 1 hour. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateBasePathMappingInput(_SerdeShape): + """Requests API Gateway to create a new BasePathMapping resource.""" + + domain_name: str | None = ... + """The domain name of the BasePathMapping resource to create.""" + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Required for private custom + domain names. + """ + base_path: str | None = ... + """ + The base path name that callers of the API must provide as part of the + URL after the domain name. This value must be unique for all of the + mappings across a single API. Specify '(none)' if you do not want + callers to specify a base path name after the domain name. + """ + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage: str | None = ... + """ + The name of the API's stage that you want to use for this mapping. + Specify '(none)' if you want callers to explicitly specify the stage + name after any base path name. + """ + +@dataclass(kw_only=True) +class CreateBasePathMappingOutput(_SerdeShape): + """ + Represents the base path that callers of the API must provide as part of + the URL after the domain name. + """ + + base_path: str | None = ... + """ + The base path name that callers of the API must provide as part of the + URL after the domain name. + """ + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage: str | None = ... + """The name of the associated stage.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDeploymentInput(_SerdeShape): + """Requests API Gateway to create a Deployment resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """The name of the Stage resource for the Deployment resource to create.""" + stage_description: str | None = ... + """ + The description of the Stage resource for the Deployment resource to + create. + """ + description: str | None = ... + """The description for the Deployment resource to create.""" + cache_cluster_enabled: bool | None = ... + """Enables a cache cluster for the Stage resource specified in the input.""" + cache_cluster_size: str | None = ... + """ + The stage's cache capacity in GB. For more information about choosing a + cache size, see [Enabling API caching to enhance + responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). + """ + variables: dict[str, str] | None = ... + """ + A map that defines the stage variables for the Stage resource that is + associated with the new deployment. Variable names can have alphanumeric + and underscore characters, and the values must match + `[A-Za-z0-9-._~:/?#&=,]+`. + """ + canary_settings: DeploymentCanarySettings | None = ... + """ + The input configuration for the canary deployment when the deployment is + a canary release deployment. + """ + tracing_enabled: bool | None = ... + """Specifies whether active tracing with X-ray is enabled for the Stage.""" + +@dataclass(kw_only=True) +class CreateDeploymentOutput(_SerdeShape): + """ + An immutable representation of a RestApi resource that can be called by + users using Stages. A deployment must be associated with a Stage for it + to be callable over the Internet. + """ + + id: str | None = ... + """The identifier for the deployment resource.""" + description: str | None = ... + """The description for the deployment resource.""" + created_date: datetime | None = ... + """The date and time that the deployment resource was created.""" + api_summary: dict[str, dict[str, MethodSnapshot]] | None = ... + """ + A summary of the RestApi at the date and time that the deployment + resource was created. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDocumentationPartInput(_SerdeShape): + """Creates a new documentation part of a given API.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + location: DocumentationPartLocation | None = ... + """ + The location of the targeted API entity of the to-be-created + documentation part. + """ + properties: str | None = ... + """ + The new documentation content map of the targeted API entity. Enclosed + key-value pairs are API-specific, but only OpenAPI-compliant key-value + pairs can be exported and, hence, published. + """ + +@dataclass(kw_only=True) +class CreateDocumentationPartOutput(_SerdeShape): + """A documentation part for a targeted API entity.""" + + id: str | None = ... + """ + The DocumentationPart identifier, generated by API Gateway when the + `DocumentationPart` is created. + """ + location: DocumentationPartLocation | None = ... + """ + The location of the API entity to which the documentation applies. Valid + fields depend on the targeted API entity type. All the valid location + fields are not required. If not explicitly specified, a valid location + field is treated as a wildcard and associated documentation content may + be inherited by matching entities, unless overridden. + """ + properties: str | None = ... + """ + A content map of API-specific key-value pairs describing the targeted + API entity. The map must be encoded as a JSON string, e.g., + `"{ \"description\": \"The API does ...\" }"`. Only OpenAPI-compliant + documentation-related fields from the properties map are exported and, + hence, published as part of the API entity definitions, while the + original documentation parts are exported in a OpenAPI extension of + `x-amazon-apigateway-documentation`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDocumentationVersionInput(_SerdeShape): + """Creates a new documentation version of a given API.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + documentation_version: str | None = ... + """The version identifier of the new snapshot.""" + stage_name: str | None = ... + """The stage name to be associated with the new documentation snapshot.""" + description: str | None = ... + """A description about the new documentation snapshot.""" + +@dataclass(kw_only=True) +class CreateDocumentationVersionOutput(_SerdeShape): + """A snapshot of the documentation of an API.""" + + version: str | None = ... + """The version identifier of the API documentation snapshot.""" + created_date: datetime | None = ... + """The date when the API documentation snapshot is created.""" + description: str | None = ... + """The description of the API documentation snapshot.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDomainNameAccessAssociationInput(_SerdeShape): + """Dataclass for CreateDomainNameAccessAssociationInput structure.""" + + domain_name_arn: str | None = ... + """The ARN of the domain name.""" + access_association_source_type: str | None = ... + """The type of the domain name access association source.""" + access_association_source: str | None = ... + """ + The identifier of the domain name access association source. For a VPCE, + the value is the VPC endpoint ID. + """ + tags: dict[str, str] | None = ... + """ + The key-value map of strings. The valid character set is + [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not + start with `aws:`. The tag value can be up to 256 characters. + """ + +@dataclass(kw_only=True) +class CreateDomainNameAccessAssociationOutput(_SerdeShape): + """ + Represents a domain name access association between an access + association source and a private custom domain name. With a domain name + access association, an access association source can invoke a private + custom domain name while isolated from the public internet. + """ + + domain_name_access_association_arn: str | None = ... + """The ARN of the domain name access association resource.""" + domain_name_arn: str | None = ... + """The ARN of the domain name.""" + access_association_source_type: str | None = ... + """The type of the domain name access association source.""" + access_association_source: str | None = ... + """ + The ARN of the domain name access association source. For a VPCE, the + ARN must be a VPC endpoint. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDomainNameInput(_SerdeShape): + """A request to create a new domain name.""" + + domain_name: str | None = ... + """The name of the DomainName resource.""" + certificate_name: str | None = ... + """ + The user-friendly name of the certificate that will be used by + edge-optimized endpoint or private endpoint for this domain name. + """ + certificate_body: str | None = ... + """ + [Deprecated] The body of the server certificate that will be used by + edge-optimized endpoint or private endpoint for this domain name + provided by your certificate authority. + """ + certificate_private_key: str | None = ... + """ + [Deprecated] Your edge-optimized endpoint's domain name + certificate's private key. + """ + certificate_chain: str | None = ... + """ + [Deprecated] The intermediate certificates and optionally the root + certificate, one after the other without any blank lines, used by an + edge-optimized endpoint for this domain name. If you include the root + certificate, your certificate chain must start with intermediate + certificates and end with the root certificate. Use the intermediate + certificates that were provided by your certificate authority. Do not + include any intermediaries that are not in the chain of trust path. + """ + certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used by edge-optimized endpoint or private endpoint for this domain + name. Certificate Manager is the only supported source. + """ + regional_certificate_name: str | None = ... + """ + The user-friendly name of the certificate that will be used by regional + endpoint for this domain name. + """ + regional_certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used by regional endpoint for this domain name. Certificate Manager is + the only supported source. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this DomainName showing the endpoint types + and IP address types of the domain name. + """ + tags: dict[str, str] | None = ... + """ + The key-value map of strings. The valid character set is + [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not + start with `aws:`. The tag value can be up to 256 characters. + """ + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + DomainName. + """ + endpoint_access_mode: str | None = ... + """ + The endpoint access mode of the DomainName. Only available for + DomainNames that use security policies that start with + `SecurityPolicy_`. + """ + mutual_tls_authentication: MutualTlsAuthenticationInput | None = ... + """ + The mutual TLS authentication configuration for a custom domain name. If + specified, API Gateway performs two-way authentication between the + client and the server. Clients must present a trusted certificate to + access your API. + """ + ownership_verification_certificate_arn: str | None = ... + """ + The ARN of the public certificate issued by ACM to validate ownership of + your custom domain. Only required when configuring mutual TLS and using + an ACM imported or private CA certificate ARN as the + regionalCertificateArn. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to the `execute-api` + service for this DomainName regardless of the caller and Method + configuration. Supported only for private custom domain names. + """ + routing_mode: str | None = ... + """ + The routing mode for this domain name. The routing mode determines how + API Gateway sends traffic from your custom domain name to your private + APIs. + """ + +@dataclass(kw_only=True) +class CreateDomainNameOutput(_SerdeShape): + """ + Represents a custom domain name as a user-friendly host name of an API + (RestApi). + """ + + domain_name: str | None = ... + """ + The custom domain name as an API host name, for example, + `my-api.example.com`. + """ + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + domain_name_arn: str | None = ... + """The ARN of the domain name.""" + certificate_name: str | None = ... + """ + The name of the certificate that will be used by edge-optimized endpoint + or private endpoint for this domain name. + """ + certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used by edge-optimized endpoint or private endpoint for this domain + name. Certificate Manager is the only supported source. + """ + certificate_upload_date: datetime | None = ... + """ + The timestamp when the certificate that was used by edge-optimized + endpoint or private endpoint for this domain name was uploaded. + """ + regional_domain_name: str | None = ... + """ + The domain name associated with the regional endpoint for this custom + domain name. You set up this association by adding a DNS record that + points the custom domain name to this regional domain name. The regional + domain name is returned by API Gateway when you create a regional + endpoint. + """ + regional_hosted_zone_id: str | None = ... + """ + The region-specific Amazon Route 53 Hosted Zone ID of the regional + endpoint. For more information, see Set up a Regional Custom Domain Name + and AWS Regions and Endpoints for API Gateway. + """ + regional_certificate_name: str | None = ... + """ + The name of the certificate that will be used for validating the + regional domain name. + """ + regional_certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used for validating the regional domain name. Certificate Manager is the + only supported source. + """ + distribution_domain_name: str | None = ... + """ + The domain name of the Amazon CloudFront distribution associated with + this custom domain name for an edge-optimized endpoint. You set up this + association when adding a DNS record pointing the custom domain name to + this distribution name. For more information about CloudFront + distributions, see the Amazon CloudFront documentation. + """ + distribution_hosted_zone_id: str | None = ... + """ + The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized + endpoint. The valid value is `Z2FDTNDATAQYW2` for all the regions. For + more information, see Set up a Regional Custom Domain Name and AWS + Regions and Endpoints for API Gateway. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this DomainName showing the endpoint types + and IP address types of the domain name. + """ + domain_name_status: str | None = ... + """ + The status of the DomainName migration. The valid values are `AVAILABLE` + and `UPDATING`. If the status is `UPDATING`, the domain cannot be + modified further until the existing operation is complete. If it is + `AVAILABLE`, the domain can be updated. + """ + domain_name_status_message: str | None = ... + """ + An optional text message containing detailed information about status of + the DomainName migration. + """ + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + DomainName. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the DomainName.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + mutual_tls_authentication: MutualTlsAuthentication | None = ... + """ + The mutual TLS authentication configuration for a custom domain name. If + specified, API Gateway performs two-way authentication between the + client and the server. Clients must present a trusted certificate to + access your API. + """ + ownership_verification_certificate_arn: str | None = ... + """ + The ARN of the public certificate issued by ACM to validate ownership of + your custom domain. Only required when configuring mutual TLS and using + an ACM imported or private CA certificate ARN as the + regionalCertificateArn. + """ + management_policy: str | None = ... + """ + A stringified JSON policy document that applies to the API Gateway + Management service for this DomainName. This policy document controls + access for access association sources to create domain name access + associations with this DomainName. Supported only for private custom + domain names. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to the `execute-api` + service for this DomainName regardless of the caller and Method + configuration. Supported only for private custom domain names. + """ + routing_mode: str | None = ... + """ + The routing mode for this domain name. The routing mode determines how + API Gateway sends traffic from your custom domain name to your private + APIs. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateModelInput(_SerdeShape): + """Request to add a new Model to an existing RestApi resource.""" + + rest_api_id: str | None = ... + """The RestApi identifier under which the Model will be created.""" + name: str | None = ... + """The name of the model. Must be alphanumeric.""" + description: str | None = ... + """The description of the model.""" + schema: str | None = ... + """ + The schema for the model. For `application/json` models, this should be + JSON schema draft 4 model. The maximum size of the model is 400 KB. + """ + content_type: str | None = ... + """The content-type for the model.""" + +@dataclass(kw_only=True) +class CreateModelOutput(_SerdeShape): + """ + Represents the data structure of a method's request or response + payload. + """ + + id: str | None = ... + """The identifier for the model resource.""" + name: str | None = ... + """The name of the model. Must be an alphanumeric string.""" + description: str | None = ... + """The description of the model.""" + schema: str | None = ... + """ + The schema for the model. For `application/json` models, this should be + JSON schema draft 4 model. Do not include \"\\*/\" characters in the + description of any properties because such \"\\*/\" characters may be + interpreted as the closing marker for comments in some languages, such + as Java or JavaScript, causing the installation of your API's SDK + generated by API Gateway to fail. + """ + content_type: str | None = ... + """The content-type for the model.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRequestValidatorInput(_SerdeShape): + """Creates a RequestValidator of a given RestApi.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + name: str | None = ... + """The name of the to-be-created RequestValidator.""" + validate_request_body: bool = ... + """ + A Boolean flag to indicate whether to validate request body according to + the configured model schema for the method (`true`) or not (`false`). + """ + validate_request_parameters: bool = ... + """ + A Boolean flag to indicate whether to validate request parameters, + `true`, or not `false`. + """ + +@dataclass(kw_only=True) +class CreateRequestValidatorOutput(_SerdeShape): + """A set of validation rules for incoming Method requests.""" + + id: str | None = ... + """The identifier of this RequestValidator.""" + name: str | None = ... + """The name of this RequestValidator""" + validate_request_body: bool = ... + """ + A Boolean flag to indicate whether to validate a request body according + to the configured Model schema. + """ + validate_request_parameters: bool = ... + """ + A Boolean flag to indicate whether to validate request parameters + (`true`) or not (`false`). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateResourceInput(_SerdeShape): + """Requests API Gateway to create a Resource resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + parent_id: str | None = ... + """The parent resource's identifier.""" + path_part: str | None = ... + """The last path segment for this resource.""" + +@dataclass(kw_only=True) +class CreateResourceOutput(_SerdeShape): + """Represents an API resource.""" + + id: str | None = ... + """The resource's identifier.""" + parent_id: str | None = ... + """The parent resource's identifier.""" + path_part: str | None = ... + """The last path segment for this resource.""" + path: str | None = ... + """The full path for this resource.""" + resource_methods: dict[str, Method] | None = ... + """Gets an API resource's method of a given HTTP verb.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRestApiInput(_SerdeShape): + """The POST Request to add a new RestApi resource to your collection.""" + + name: str | None = ... + """The name of the RestApi.""" + description: str | None = ... + """The description of the RestApi.""" + version: str | None = ... + """A version identifier for the API.""" + clone_from: str | None = ... + """The ID of the RestApi that you want to clone from.""" + binary_media_types: list[str] | None = ... + """ + The list of binary media types supported by the RestApi. By default, the + RestApi supports only UTF-8-encoded text payloads. + """ + minimum_compression_size: int | None = ... + """ + A nullable integer that is used to enable compression (with non-negative + between 0 and 10485760 (10M) bytes, inclusive) or disable compression + (with a null value) on an API. When compression is enabled, compression + or decompression is not applied on the payload if the payload size is + smaller than this value. Setting it to zero allows compression for any + payload size. + """ + api_key_source: str | None = ... + """ + The source of the API key for metering requests according to a usage + plan. Valid values are: `HEADER` to read the API key from the + `X-API-Key` header of a request. `AUTHORIZER` to read the API key from + the `UsageIdentifierKey` from a custom authorizer. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this RestApi showing the endpoint types + and IP address types of the API. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to this RestApi + regardless of the caller and Method configuration. + """ + tags: dict[str, str] | None = ... + """ + The key-value map of strings. The valid character set is + [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not + start with `aws:`. The tag value can be up to 256 characters. + """ + disable_execute_api_endpoint: bool = ... + """ + Specifies whether clients can invoke your API by using the default + `execute-api` endpoint. By default, clients can invoke your API with the + default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. + To require that clients use a custom domain name to invoke your API, + disable the default endpoint + """ + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + RestApi. + """ + endpoint_access_mode: str | None = ... + """ + The endpoint access mode of the RestApi. Only available for RestApis + that use security policies that start with `SecurityPolicy_`. + """ + +@dataclass(kw_only=True) +class CreateRestApiOutput(_SerdeShape): + """Represents a REST API.""" + + id: str | None = ... + """ + The API's identifier. This identifier is unique across all of your APIs + in API Gateway. + """ + name: str | None = ... + """The API's name.""" + description: str | None = ... + """The API's description.""" + created_date: datetime | None = ... + """The timestamp when the API was created.""" + version: str | None = ... + """A version identifier for the API.""" + warnings: list[str] | None = ... + """ + The warning messages reported when `failonwarnings` is turned on during + API import. + """ + binary_media_types: list[str] | None = ... + """ + The list of binary media types supported by the RestApi. By default, the + RestApi supports only UTF-8-encoded text payloads. + """ + minimum_compression_size: int | None = ... + """ + A nullable integer that is used to enable compression (with non-negative + between 0 and 10485760 (10M) bytes, inclusive) or disable compression + (with a null value) on an API. When compression is enabled, compression + or decompression is not applied on the payload if the payload size is + smaller than this value. Setting it to zero allows compression for any + payload size. + """ + api_key_source: str | None = ... + """ + The source of the API key for metering requests according to a usage + plan. Valid values are: >`HEADER` to read the API key from the + `X-API-Key` header of a request. `AUTHORIZER` to read the API key from + the `UsageIdentifierKey` from a custom authorizer. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this RestApi showing the endpoint types + and IP address types of the API. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to this RestApi + regardless of the caller and Method configuration. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + disable_execute_api_endpoint: bool = ... + """ + Specifies whether clients can invoke your API by using the default + `execute-api` endpoint. By default, clients can invoke your API with the + default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. + To require that clients use a custom domain name to invoke your API, + disable the default endpoint. + """ + root_resource_id: str | None = ... + """The API's root resource ID.""" + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + RestApi. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the RestApi.""" + api_status: str | None = ... + """The ApiStatus of the RestApi.""" + api_status_message: str | None = ... + """ + The status message of the RestApi. When the status message is `UPDATING` + you can still invoke it. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateStageInput(_SerdeShape): + """Requests API Gateway to create a Stage resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """ + The name for the Stage resource. Stage names can only contain + alphanumeric characters, hyphens, and underscores. Maximum length is 128 + characters. + """ + deployment_id: str | None = ... + """The identifier of the Deployment resource for the Stage resource.""" + description: str | None = ... + """The description of the Stage resource.""" + cache_cluster_enabled: bool = ... + """Whether cache clustering is enabled for the stage.""" + cache_cluster_size: str | None = ... + """ + The stage's cache capacity in GB. For more information about choosing a + cache size, see [Enabling API caching to enhance + responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). + """ + variables: dict[str, str] | None = ... + """ + A map that defines the stage variables for the new Stage resource. + Variable names can have alphanumeric and underscore characters, and the + values must match `[A-Za-z0-9-._~:/?#&=,]+`. + """ + documentation_version: str | None = ... + """The version of the associated API documentation.""" + canary_settings: CanarySettings | None = ... + """The canary deployment settings of this stage.""" + tracing_enabled: bool = ... + """Specifies whether active tracing with X-ray is enabled for the Stage.""" + tags: dict[str, str] | None = ... + """ + The key-value map of strings. The valid character set is + [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not + start with `aws:`. The tag value can be up to 256 characters. + """ + +@dataclass(kw_only=True) +class CreateStageOutput(_SerdeShape): + """ + Represents a unique identifier for a version of a deployed RestApi that + is callable by users. + """ + + deployment_id: str | None = ... + """The identifier of the Deployment that the stage points to.""" + client_certificate_id: str | None = ... + """The identifier of a client certificate for an API stage.""" + stage_name: str | None = ... + """ + The name of the stage is the first path segment in the Uniform Resource + Identifier (URI) of a call to API Gateway. Stage names can only contain + alphanumeric characters, hyphens, and underscores. Maximum length is 128 + characters. + """ + description: str | None = ... + """The stage's description.""" + cache_cluster_enabled: bool = ... + """ + Specifies whether a cache cluster is enabled for the stage. To activate + a method-level cache, set `CachingEnabled` to `true` for a method. + """ + cache_cluster_size: str | None = ... + """ + The stage's cache capacity in GB. For more information about choosing a + cache size, see [Enabling API caching to enhance + responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). + """ + cache_cluster_status: str | None = ... + """The status of the cache cluster for the stage, if enabled.""" + method_settings: dict[str, MethodSetting] | None = ... + """ + A map that defines the method settings for a Stage resource. Keys + (designated as `/{method_setting_key` below) are method paths defined as + `{resource_path}/{http_method}` for an individual method override, or + `/*/*` for overriding all methods in the stage. + """ + variables: dict[str, str] | None = ... + """ + A map that defines the stage variables for a Stage resource. Variable + names can have alphanumeric and underscore characters, and the values + must match `[A-Za-z0-9-._~:/?#&=,]+`. + """ + documentation_version: str | None = ... + """The version of the associated API documentation.""" + access_log_settings: AccessLogSettings | None = ... + """Settings for logging access in this stage.""" + canary_settings: CanarySettings | None = ... + """Settings for the canary deployment in this stage.""" + tracing_enabled: bool = ... + """Specifies whether active tracing with X-ray is enabled for the Stage.""" + web_acl_arn: str | None = ... + """The ARN of the WebAcl associated with the Stage.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + created_date: datetime | None = ... + """The timestamp when the stage was created.""" + last_updated_date: datetime | None = ... + """The timestamp when the stage last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateUsagePlanInput(_SerdeShape): + """ + The POST request to create a usage plan with the name, description, + throttle limits and quota limits, as well as the associated API stages, + specified in the payload. + """ + + name: str | None = ... + """The name of the usage plan.""" + description: str | None = ... + """The description of the usage plan.""" + api_stages: list[ApiStage] | None = ... + """The associated API stages of the usage plan.""" + throttle: ThrottleSettings | None = ... + """The throttling limits of the usage plan.""" + quota: QuotaSettings | None = ... + """The quota of the usage plan.""" + tags: dict[str, str] | None = ... + """ + The key-value map of strings. The valid character set is + [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not + start with `aws:`. The tag value can be up to 256 characters. + """ + +@dataclass(kw_only=True) +class CreateUsagePlanKeyInput(_SerdeShape): + """ + The POST request to create a usage plan key for adding an existing API + key to a usage plan. + """ + + usage_plan_id: str | None = ... + """ + The Id of the UsagePlan resource representing the usage plan containing + the to-be-created UsagePlanKey resource representing a plan customer. + """ + key_id: str | None = ... + """The identifier of a UsagePlanKey resource for a plan customer.""" + key_type: str | None = ... + """The type of a UsagePlanKey resource for a plan customer.""" + +@dataclass(kw_only=True) +class CreateUsagePlanKeyOutput(_SerdeShape): + """Represents a usage plan key to identify a plan customer.""" + + id: str | None = ... + """The Id of a usage plan key.""" + type: str | None = ... + """ + The type of a usage plan key. Currently, the valid key type is + `API_KEY`. + """ + value: str | None = ... + """The value of a usage plan key.""" + name: str | None = ... + """The name of a usage plan key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateUsagePlanOutput(_SerdeShape): + """ + Represents a usage plan used to specify who can assess associated API + stages. Optionally, target request rate and quota limits can be set. In + some cases clients can exceed the targets that you set. Don't rely on + usage plans to control costs. Consider using [Amazon Web Services + Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) + to monitor costs and + [WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) + to manage API requests. + """ + + id: str | None = ... + """The identifier of a UsagePlan resource.""" + name: str | None = ... + """The name of a usage plan.""" + description: str | None = ... + """The description of a usage plan.""" + api_stages: list[ApiStage] | None = ... + """The associated API stages of a usage plan.""" + throttle: ThrottleSettings | None = ... + """ + A map containing method level throttling information for API stage in a + usage plan. + """ + quota: QuotaSettings | None = ... + """ + The target maximum number of permitted requests per a given unit time + interval. + """ + product_code: str | None = ... + """ + The Amazon Web Services Marketplace product identifier to associate with + the usage plan as a SaaS product on the Amazon Web Services Marketplace. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpcLinkInput(_SerdeShape): + """ + Creates a VPC link, under the caller's account in a selected region, in + an asynchronous operation that typically takes 2-4 minutes to complete + and become operational. The caller must have permissions to create and + update VPC Endpoint services. + """ + + name: str | None = ... + """The name used to label and identify the VPC link.""" + description: str | None = ... + """The description of the VPC link.""" + target_arns: list[str] | None = ... + """ + The ARN of the network load balancer of the VPC targeted by the VPC + link. The network load balancer must be owned by the same Amazon Web + Services account of the API owner. + """ + tags: dict[str, str] | None = ... + """ + The key-value map of strings. The valid character set is + [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not + start with `aws:`. The tag value can be up to 256 characters. + """ + +@dataclass(kw_only=True) +class CreateVpcLinkOutput(_SerdeShape): + """ + An API Gateway VPC link for a RestApi to access resources in an Amazon + Virtual Private Cloud (VPC). + """ + + id: str | None = ... + """ + The identifier of the VpcLink. It is used in an Integration to reference + this VpcLink. + """ + name: str | None = ... + """The name used to label and identify the VPC link.""" + description: str | None = ... + """The description of the VPC link.""" + target_arns: list[str] | None = ... + """ + The ARN of the network load balancer of the VPC targeted by the VPC + link. The network load balancer must be owned by the same Amazon Web + Services account of the API owner. + """ + status: str | None = ... + """ + The status of the VPC link. The valid values are `AVAILABLE`, `PENDING`, + `DELETING`, or `FAILED`. Deploying an API will wait if the status is + `PENDING` and will fail if the status is `DELETING`. + """ + status_message: str | None = ... + """A description about the VPC link status.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteApiKeyInput(_SerdeShape): + """A request to delete the ApiKey resource.""" + + api_key: str | None = ... + """The identifier of the ApiKey resource to be deleted.""" + +@dataclass(kw_only=True) +class DeleteApiKeyOutput(_SerdeShape): + """Dataclass for DeleteApiKeyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAuthorizerInput(_SerdeShape): + """Request to delete an existing Authorizer resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + authorizer_id: str | None = ... + """The identifier of the Authorizer resource.""" + +@dataclass(kw_only=True) +class DeleteAuthorizerOutput(_SerdeShape): + """Dataclass for DeleteAuthorizerOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBasePathMappingInput(_SerdeShape): + """A request to delete the BasePathMapping resource.""" + + domain_name: str | None = ... + """The domain name of the BasePathMapping resource to delete.""" + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + base_path: str | None = ... + """ + The base path name of the BasePathMapping resource to delete. + + To specify an empty base path, set this parameter to `'(none)'`. + """ + +@dataclass(kw_only=True) +class DeleteBasePathMappingOutput(_SerdeShape): + """Dataclass for DeleteBasePathMappingOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteClientCertificateInput(_SerdeShape): + """A request to delete the ClientCertificate resource.""" + + client_certificate_id: str | None = ... + """The identifier of the ClientCertificate resource to be deleted.""" + +@dataclass(kw_only=True) +class DeleteClientCertificateOutput(_SerdeShape): + """Dataclass for DeleteClientCertificateOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDeploymentInput(_SerdeShape): + """Requests API Gateway to delete a Deployment resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + deployment_id: str | None = ... + """The identifier of the Deployment resource to delete.""" + +@dataclass(kw_only=True) +class DeleteDeploymentOutput(_SerdeShape): + """Dataclass for DeleteDeploymentOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDocumentationPartInput(_SerdeShape): + """Deletes an existing documentation part of an API.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + documentation_part_id: str | None = ... + """The identifier of the to-be-deleted documentation part.""" + +@dataclass(kw_only=True) +class DeleteDocumentationPartOutput(_SerdeShape): + """Dataclass for DeleteDocumentationPartOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDocumentationVersionInput(_SerdeShape): + """Deletes an existing documentation version of an API.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + documentation_version: str | None = ... + """The version identifier of a to-be-deleted documentation snapshot.""" + +@dataclass(kw_only=True) +class DeleteDocumentationVersionOutput(_SerdeShape): + """Dataclass for DeleteDocumentationVersionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDomainNameAccessAssociationInput(_SerdeShape): + """Dataclass for DeleteDomainNameAccessAssociationInput structure.""" + + domain_name_access_association_arn: str | None = ... + """The ARN of the domain name access association resource.""" + +@dataclass(kw_only=True) +class DeleteDomainNameAccessAssociationOutput(_SerdeShape): + """Dataclass for DeleteDomainNameAccessAssociationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDomainNameInput(_SerdeShape): + """A request to delete the DomainName resource.""" + + domain_name: str | None = ... + """The name of the DomainName resource to be deleted.""" + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + +@dataclass(kw_only=True) +class DeleteDomainNameOutput(_SerdeShape): + """Dataclass for DeleteDomainNameOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGatewayResponseInput(_SerdeShape): + """ + Clears any customization of a GatewayResponse of a specified response + type on the given RestApi and resets it with the default settings. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + response_type: str | None = ... + """The response type of the associated GatewayResponse.""" + +@dataclass(kw_only=True) +class DeleteGatewayResponseOutput(_SerdeShape): + """Dataclass for DeleteGatewayResponseOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIntegrationInput(_SerdeShape): + """Represents a delete integration request.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """Specifies a delete integration request's resource identifier.""" + http_method: str | None = ... + """Specifies a delete integration request's HTTP method.""" + +@dataclass(kw_only=True) +class DeleteIntegrationOutput(_SerdeShape): + """Dataclass for DeleteIntegrationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIntegrationResponseInput(_SerdeShape): + """Represents a delete integration response request.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """Specifies a delete integration response request's resource identifier.""" + http_method: str | None = ... + """Specifies a delete integration response request's HTTP method.""" + status_code: str | None = ... + """Specifies a delete integration response request's status code.""" + +@dataclass(kw_only=True) +class DeleteIntegrationResponseOutput(_SerdeShape): + """Dataclass for DeleteIntegrationResponseOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteMethodInput(_SerdeShape): + """Request to delete an existing Method resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The Resource identifier for the Method resource.""" + http_method: str | None = ... + """The HTTP verb of the Method resource.""" + +@dataclass(kw_only=True) +class DeleteMethodOutput(_SerdeShape): + """Dataclass for DeleteMethodOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteMethodResponseInput(_SerdeShape): + """A request to delete an existing MethodResponse resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The Resource identifier for the MethodResponse resource.""" + http_method: str | None = ... + """The HTTP verb of the Method resource.""" + status_code: str | None = ... + """The status code identifier for the MethodResponse resource.""" + +@dataclass(kw_only=True) +class DeleteMethodResponseOutput(_SerdeShape): + """Dataclass for DeleteMethodResponseOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteModelInput(_SerdeShape): + """Request to delete an existing model in an existing RestApi resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + model_name: str | None = ... + """The name of the model to delete.""" + +@dataclass(kw_only=True) +class DeleteModelOutput(_SerdeShape): + """Dataclass for DeleteModelOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRequestValidatorInput(_SerdeShape): + """Deletes a specified RequestValidator of a given RestApi.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + request_validator_id: str | None = ... + """The identifier of the RequestValidator to be deleted.""" + +@dataclass(kw_only=True) +class DeleteRequestValidatorOutput(_SerdeShape): + """Dataclass for DeleteRequestValidatorOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteResourceInput(_SerdeShape): + """Request to delete a Resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The identifier of the Resource resource.""" + +@dataclass(kw_only=True) +class DeleteResourceOutput(_SerdeShape): + """Dataclass for DeleteResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRestApiInput(_SerdeShape): + """Request to delete the specified API from your collection.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + +@dataclass(kw_only=True) +class DeleteRestApiOutput(_SerdeShape): + """Dataclass for DeleteRestApiOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteStageInput(_SerdeShape): + """Requests API Gateway to delete a Stage resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """The name of the Stage resource to delete.""" + +@dataclass(kw_only=True) +class DeleteStageOutput(_SerdeShape): + """Dataclass for DeleteStageOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteUsagePlanInput(_SerdeShape): + """The DELETE request to delete a usage plan of a given plan Id.""" + + usage_plan_id: str | None = ... + """The Id of the to-be-deleted usage plan.""" + +@dataclass(kw_only=True) +class DeleteUsagePlanKeyInput(_SerdeShape): + """ + The DELETE request to delete a usage plan key and remove the underlying + API key from the associated usage plan. + """ + + usage_plan_id: str | None = ... + """ + The Id of the UsagePlan resource representing the usage plan containing + the to-be-deleted UsagePlanKey resource representing a plan customer. + """ + key_id: str | None = ... + """The Id of the UsagePlanKey resource to be deleted.""" + +@dataclass(kw_only=True) +class DeleteUsagePlanKeyOutput(_SerdeShape): + """Dataclass for DeleteUsagePlanKeyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteUsagePlanOutput(_SerdeShape): + """Dataclass for DeleteUsagePlanOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcLinkInput(_SerdeShape): + """Deletes an existing VpcLink of a specified identifier.""" + + vpc_link_id: str | None = ... + """ + The identifier of the VpcLink. It is used in an Integration to reference + this VpcLink. + """ + +@dataclass(kw_only=True) +class DeleteVpcLinkOutput(_SerdeShape): + """Dataclass for DeleteVpcLinkOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Deployment(_SerdeShape): + """ + An immutable representation of a RestApi resource that can be called by + users using Stages. A deployment must be associated with a Stage for it + to be callable over the Internet. + """ + + id: str | None = ... + """The identifier for the deployment resource.""" + description: str | None = ... + """The description for the deployment resource.""" + created_date: datetime | None = ... + """The date and time that the deployment resource was created.""" + api_summary: dict[str, dict[str, MethodSnapshot]] | None = ... + """ + A summary of the RestApi at the date and time that the deployment + resource was created. + """ + +@dataclass(kw_only=True) +class DeploymentCanarySettings(_SerdeShape): + """The input configuration for a canary deployment.""" + + percent_traffic: float = ... + """The percentage (0.0-100.0) of traffic routed to the canary deployment.""" + stage_variable_overrides: dict[str, str] | None = ... + """ + A stage variable overrides used for the canary release deployment. They + can override existing stage variables or add new stage variables for the + canary release deployment. These stage variables are represented as a + string-to-string map between stage variable names and their values. + """ + use_stage_cache: bool = ... + """ + A Boolean flag to indicate whether the canary release deployment uses + the stage cache or not. + """ + +@dataclass(kw_only=True) +class DocumentationPart(_SerdeShape): + """A documentation part for a targeted API entity.""" + + id: str | None = ... + """ + The DocumentationPart identifier, generated by API Gateway when the + `DocumentationPart` is created. + """ + location: DocumentationPartLocation | None = ... + """ + The location of the API entity to which the documentation applies. Valid + fields depend on the targeted API entity type. All the valid location + fields are not required. If not explicitly specified, a valid location + field is treated as a wildcard and associated documentation content may + be inherited by matching entities, unless overridden. + """ + properties: str | None = ... + """ + A content map of API-specific key-value pairs describing the targeted + API entity. The map must be encoded as a JSON string, e.g., + `"{ \"description\": \"The API does ...\" }"`. Only OpenAPI-compliant + documentation-related fields from the properties map are exported and, + hence, published as part of the API entity definitions, while the + original documentation parts are exported in a OpenAPI extension of + `x-amazon-apigateway-documentation`. + """ + +@dataclass(kw_only=True) +class DocumentationPartLocation(_SerdeShape): + """Specifies the target API entity to which the documentation applies.""" + + type: str + """ + The type of API entity to which the documentation content applies. Valid + values are `API`, `AUTHORIZER`, `MODEL`, `RESOURCE`, `METHOD`, + `PATH_PARAMETER`, `QUERY_PARAMETER`, `REQUEST_HEADER`, `REQUEST_BODY`, + `RESPONSE`, `RESPONSE_HEADER`, and `RESPONSE_BODY`. Content inheritance + does not apply to any entity of the `API`, `AUTHORIZER`, `METHOD`, + `MODEL`, `REQUEST_BODY`, or `RESOURCE` type. + """ + path: str | None = ... + """ + The URL path of the target. It is a valid field for the API entity types + of `RESOURCE`, `METHOD`, `PATH_PARAMETER`, `QUERY_PARAMETER`, + `REQUEST_HEADER`, `REQUEST_BODY`, `RESPONSE`, `RESPONSE_HEADER`, and + `RESPONSE_BODY`. The default value is `/` for the root resource. When an + applicable child entity inherits the content of another entity of the + same type with more general specifications of the other `location` + attributes, the child entity's `path` attribute must match that of the + parent entity as a prefix. + """ + method: str | None = ... + """ + The HTTP verb of a method. It is a valid field for the API entity types + of `METHOD`, `PATH_PARAMETER`, `QUERY_PARAMETER`, `REQUEST_HEADER`, + `REQUEST_BODY`, `RESPONSE`, `RESPONSE_HEADER`, and `RESPONSE_BODY`. The + default value is `*` for any method. When an applicable child entity + inherits the content of an entity of the same type with more general + specifications of the other `location` attributes, the child entity's + `method` attribute must match that of the parent entity exactly. + """ + status_code: str | None = ... + """ + The HTTP status code of a response. It is a valid field for the API + entity types of `RESPONSE`, `RESPONSE_HEADER`, and `RESPONSE_BODY`. The + default value is `*` for any status code. When an applicable child + entity inherits the content of an entity of the same type with more + general specifications of the other `location` attributes, the child + entity's `statusCode` attribute must match that of the parent entity + exactly. + """ + name: str | None = ... + """ + The name of the targeted API entity. It is a valid and required field + for the API entity types of `AUTHORIZER`, `MODEL`, `PATH_PARAMETER`, + `QUERY_PARAMETER`, `REQUEST_HEADER`, `REQUEST_BODY` and + `RESPONSE_HEADER`. It is an invalid field for any other entity type. + """ + +class DocumentationPartType(UnknownEnumMixin, StrEnum): + API = "API" + AUTHORIZER = "AUTHORIZER" + MODEL = "MODEL" + RESOURCE = "RESOURCE" + METHOD = "METHOD" + PATH_PARAMETER = "PATH_PARAMETER" + QUERY_PARAMETER = "QUERY_PARAMETER" + REQUEST_HEADER = "REQUEST_HEADER" + REQUEST_BODY = "REQUEST_BODY" + RESPONSE = "RESPONSE" + RESPONSE_HEADER = "RESPONSE_HEADER" + RESPONSE_BODY = "RESPONSE_BODY" + +@dataclass(kw_only=True) +class DocumentationVersion(_SerdeShape): + """A snapshot of the documentation of an API.""" + + version: str | None = ... + """The version identifier of the API documentation snapshot.""" + created_date: datetime | None = ... + """The date when the API documentation snapshot is created.""" + description: str | None = ... + """The description of the API documentation snapshot.""" + +@dataclass(kw_only=True) +class DomainName(_SerdeShape): + """ + Represents a custom domain name as a user-friendly host name of an API + (RestApi). + """ + + domain_name: str | None = ... + """ + The custom domain name as an API host name, for example, + `my-api.example.com`. + """ + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + domain_name_arn: str | None = ... + """The ARN of the domain name.""" + certificate_name: str | None = ... + """ + The name of the certificate that will be used by edge-optimized endpoint + or private endpoint for this domain name. + """ + certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used by edge-optimized endpoint or private endpoint for this domain + name. Certificate Manager is the only supported source. + """ + certificate_upload_date: datetime | None = ... + """ + The timestamp when the certificate that was used by edge-optimized + endpoint or private endpoint for this domain name was uploaded. + """ + regional_domain_name: str | None = ... + """ + The domain name associated with the regional endpoint for this custom + domain name. You set up this association by adding a DNS record that + points the custom domain name to this regional domain name. The regional + domain name is returned by API Gateway when you create a regional + endpoint. + """ + regional_hosted_zone_id: str | None = ... + """ + The region-specific Amazon Route 53 Hosted Zone ID of the regional + endpoint. For more information, see Set up a Regional Custom Domain Name + and AWS Regions and Endpoints for API Gateway. + """ + regional_certificate_name: str | None = ... + """ + The name of the certificate that will be used for validating the + regional domain name. + """ + regional_certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used for validating the regional domain name. Certificate Manager is the + only supported source. + """ + distribution_domain_name: str | None = ... + """ + The domain name of the Amazon CloudFront distribution associated with + this custom domain name for an edge-optimized endpoint. You set up this + association when adding a DNS record pointing the custom domain name to + this distribution name. For more information about CloudFront + distributions, see the Amazon CloudFront documentation. + """ + distribution_hosted_zone_id: str | None = ... + """ + The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized + endpoint. The valid value is `Z2FDTNDATAQYW2` for all the regions. For + more information, see Set up a Regional Custom Domain Name and AWS + Regions and Endpoints for API Gateway. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this DomainName showing the endpoint types + and IP address types of the domain name. + """ + domain_name_status: str | None = ... + """ + The status of the DomainName migration. The valid values are `AVAILABLE` + and `UPDATING`. If the status is `UPDATING`, the domain cannot be + modified further until the existing operation is complete. If it is + `AVAILABLE`, the domain can be updated. + """ + domain_name_status_message: str | None = ... + """ + An optional text message containing detailed information about status of + the DomainName migration. + """ + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + DomainName. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the DomainName.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + mutual_tls_authentication: MutualTlsAuthentication | None = ... + """ + The mutual TLS authentication configuration for a custom domain name. If + specified, API Gateway performs two-way authentication between the + client and the server. Clients must present a trusted certificate to + access your API. + """ + ownership_verification_certificate_arn: str | None = ... + """ + The ARN of the public certificate issued by ACM to validate ownership of + your custom domain. Only required when configuring mutual TLS and using + an ACM imported or private CA certificate ARN as the + regionalCertificateArn. + """ + management_policy: str | None = ... + """ + A stringified JSON policy document that applies to the API Gateway + Management service for this DomainName. This policy document controls + access for access association sources to create domain name access + associations with this DomainName. Supported only for private custom + domain names. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to the `execute-api` + service for this DomainName regardless of the caller and Method + configuration. Supported only for private custom domain names. + """ + routing_mode: str | None = ... + """ + The routing mode for this domain name. The routing mode determines how + API Gateway sends traffic from your custom domain name to your private + APIs. + """ + +@dataclass(kw_only=True) +class DomainNameAccessAssociation(_SerdeShape): + """ + Represents a domain name access association between an access + association source and a private custom domain name. With a domain name + access association, an access association source can invoke a private + custom domain name while isolated from the public internet. + """ + + domain_name_access_association_arn: str | None = ... + """The ARN of the domain name access association resource.""" + domain_name_arn: str | None = ... + """The ARN of the domain name.""" + access_association_source_type: str | None = ... + """The type of the domain name access association source.""" + access_association_source: str | None = ... + """ + The ARN of the domain name access association source. For a VPCE, the + ARN must be a VPC endpoint. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + +class DomainNameStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "AVAILABLE" + UPDATING = "UPDATING" + PENDING = "PENDING" + PENDING_CERTIFICATE_REIMPORT = "PENDING_CERTIFICATE_REIMPORT" + PENDING_OWNERSHIP_VERIFICATION = "PENDING_OWNERSHIP_VERIFICATION" + FAILED = "FAILED" + +class EndpointAccessMode(UnknownEnumMixin, StrEnum): + BASIC = "BASIC" + STRICT = "STRICT" + +@dataclass(kw_only=True) +class EndpointConfiguration(_SerdeShape): + """ + The endpoint configuration to indicate the types of endpoints an API + (RestApi) or its custom domain name (DomainName) has and the IP address + types that can invoke it. + """ + + types: list[str] | None = ... + """ + A list of endpoint types of an API (RestApi) or its custom domain name + (DomainName). For an edge-optimized API and its custom domain name, the + endpoint type is `"EDGE"`. For a regional API and its custom domain + name, the endpoint type is `REGIONAL`. For a private API, the endpoint + type is `PRIVATE`. + """ + ip_address_type: str | None = ... + """ + The IP address types that can invoke an API (RestApi) or a DomainName. + Use `ipv4` to allow only IPv4 addresses to invoke an API or DomainName, + or use `dualstack` to allow both IPv4 and IPv6 addresses to invoke an + API or a DomainName. For the `PRIVATE` endpoint type, only `dualstack` + is supported. + """ + vpc_endpoint_ids: list[str] | None = ... + """ + A list of VpcEndpointIds of an API (RestApi) against which to create + Route53 ALIASes. It is only supported for `PRIVATE` endpoint type. + """ + +class EndpointType(UnknownEnumMixin, StrEnum): + """ + The endpoint type. The valid values are `EDGE` for edge-optimized API + setup, most suitable for mobile applications; `REGIONAL` for regional + API endpoint setup, most suitable for calling from AWS Region; and + `PRIVATE` for private APIs. + """ + + REGIONAL = "REGIONAL" + EDGE = "EDGE" + PRIVATE = "PRIVATE" + +@dataclass(kw_only=True) +class FlushStageAuthorizersCacheInput(_SerdeShape): + """Request to flush authorizer cache entries on a specified stage.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """The name of the stage to flush.""" + +@dataclass(kw_only=True) +class FlushStageAuthorizersCacheOutput(_SerdeShape): + """Dataclass for FlushStageAuthorizersCacheOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FlushStageCacheInput(_SerdeShape): + """Requests API Gateway to flush a stage's cache.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """The name of the stage to flush its cache.""" + +@dataclass(kw_only=True) +class FlushStageCacheOutput(_SerdeShape): + """Dataclass for FlushStageCacheOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GatewayResponse(_SerdeShape): + """ + A gateway response of a given response type and status code, with + optional response parameters and mapping templates. + """ + + response_type: str | None = ... + """The response type of the associated GatewayResponse.""" + status_code: str | None = ... + """The HTTP status code for this GatewayResponse.""" + response_parameters: dict[str, str] | None = ... + """ + Response parameters (paths, query strings and headers) of the + GatewayResponse as a string-to-string map of key-value pairs. + """ + response_templates: dict[str, str] | None = ... + """ + Response templates of the GatewayResponse as a string-to-string map of + key-value pairs. + """ + default_response: bool = ... + """ + A Boolean flag to indicate whether this GatewayResponse is the default + gateway response (`true`) or not (`false`). A default gateway response + is one generated by API Gateway without any customization by an API + developer. + """ + +class GatewayResponseType(UnknownEnumMixin, StrEnum): + DEFAULT_4_XX = "DEFAULT_4XX" + DEFAULT_5_XX = "DEFAULT_5XX" + RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND" + UNAUTHORIZED = "UNAUTHORIZED" + INVALID_API_KEY = "INVALID_API_KEY" + ACCESS_DENIED = "ACCESS_DENIED" + AUTHORIZER_FAILURE = "AUTHORIZER_FAILURE" + AUTHORIZER_CONFIGURATION_ERROR = "AUTHORIZER_CONFIGURATION_ERROR" + INVALID_SIGNATURE = "INVALID_SIGNATURE" + EXPIRED_TOKEN = "EXPIRED_TOKEN" + MISSING_AUTHENTICATION_TOKEN = "MISSING_AUTHENTICATION_TOKEN" + INTEGRATION_FAILURE = "INTEGRATION_FAILURE" + INTEGRATION_TIMEOUT = "INTEGRATION_TIMEOUT" + API_CONFIGURATION_ERROR = "API_CONFIGURATION_ERROR" + UNSUPPORTED_MEDIA_TYPE = "UNSUPPORTED_MEDIA_TYPE" + BAD_REQUEST_PARAMETERS = "BAD_REQUEST_PARAMETERS" + BAD_REQUEST_BODY = "BAD_REQUEST_BODY" + REQUEST_TOO_LARGE = "REQUEST_TOO_LARGE" + THROTTLED = "THROTTLED" + QUOTA_EXCEEDED = "QUOTA_EXCEEDED" + WAF_FILTERED = "WAF_FILTERED" + +@dataclass(kw_only=True) +class GenerateClientCertificateInput(_SerdeShape): + """A request to generate a ClientCertificate resource.""" + + description: str | None = ... + """The description of the ClientCertificate.""" + tags: dict[str, str] | None = ... + """ + The key-value map of strings. The valid character set is + [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not + start with `aws:`. The tag value can be up to 256 characters. + """ + +@dataclass(kw_only=True) +class GenerateClientCertificateOutput(_SerdeShape): + """ + Represents a client certificate used to configure client-side SSL + authentication while sending requests to the integration endpoint. + """ + + client_certificate_id: str | None = ... + """The identifier of the client certificate.""" + description: str | None = ... + """The description of the client certificate.""" + pem_encoded_certificate: str | None = ... + """ + The PEM-encoded public key of the client certificate, which can be used + to configure certificate authentication in the integration endpoint . + """ + created_date: datetime | None = ... + """The timestamp when the client certificate was created.""" + expiration_date: datetime | None = ... + """The timestamp when the client certificate will expire.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAccountInput(_SerdeShape): + """ + Requests API Gateway to get information about the current Account + resource. + """ + +@dataclass(kw_only=True) +class GetAccountOutput(_SerdeShape): + """Represents an AWS account that is associated with API Gateway.""" + + cloudwatch_role_arn: str | None = ... + """The ARN of an Amazon CloudWatch role for the current Account.""" + throttle_settings: ThrottleSettings | None = ... + """Specifies the API request limits configured for the current Account.""" + features: list[str] | None = ... + """ + A list of features supported for the account. When usage plans are + enabled, the features list will include an entry of `"UsagePlans"`. + """ + api_key_version: str | None = ... + """The version of the API keys used for the account.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetApiKeyInput(_SerdeShape): + """A request to get information about the current ApiKey resource.""" + + api_key: str | None = ... + """The identifier of the ApiKey resource.""" + include_value: bool | None = ... + """ + A boolean flag to specify whether (`true`) or not (`false`) the result + contains the key value. + """ + +@dataclass(kw_only=True) +class GetApiKeyOutput(_SerdeShape): + """ + A resource that can be distributed to callers for executing Method + resources that require an API key. API keys can be mapped to any Stage + on any RestApi, which indicates that the callers with the API key can + make requests to that stage. + """ + + id: str | None = ... + """The identifier of the API Key.""" + value: str | None = ... + """The value of the API Key.""" + name: str | None = ... + """The name of the API Key.""" + customer_id: str | None = ... + """ + An Amazon Web Services Marketplace customer identifier, when integrating + with the Amazon Web Services SaaS Marketplace. + """ + description: str | None = ... + """The description of the API Key.""" + enabled: bool = ... + """Specifies whether the API Key can be used by callers.""" + created_date: datetime | None = ... + """The timestamp when the API Key was created.""" + last_updated_date: datetime | None = ... + """The timestamp when the API Key was last updated.""" + stage_keys: list[str] | None = ... + """A list of Stage resources that are associated with the ApiKey resource.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetApiKeysInput(_SerdeShape): + """A request to get information about the current ApiKeys resource.""" + + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + name_query: str | None = ... + """The name of queried API keys.""" + customer_id: str | None = ... + """ + The identifier of a customer in Amazon Web Services Marketplace or an + external system, such as a developer portal. + """ + include_values: bool | None = ... + """ + A boolean flag to specify whether (`true`) or not (`false`) the result + contains key values. + """ + +@dataclass(kw_only=True) +class GetApiKeysOutput(_SerdeShape): + """ + Represents a collection of API keys as represented by an ApiKeys + resource. + """ + + warnings: list[str] | None = ... + """ + A list of warning messages logged during the import of API keys when the + `failOnWarnings` option is set to true. + """ + items: list[ApiKey] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAuthorizerInput(_SerdeShape): + """Request to describe an existing Authorizer resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + authorizer_id: str | None = ... + """The identifier of the Authorizer resource.""" + +@dataclass(kw_only=True) +class GetAuthorizerOutput(_SerdeShape): + """ + Represents an authorization layer for methods. If enabled on a method, + API Gateway will activate the authorizer when a client calls the method. + """ + + id: str | None = ... + """The identifier for the authorizer resource.""" + name: str | None = ... + """The name of the authorizer.""" + type: str | None = ... + """ + The authorizer type. Valid values are `TOKEN` for a Lambda function + using a single authorization token submitted in a custom header, + `REQUEST` for a Lambda function using incoming request parameters, and + `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. + """ + provider_ar_ns: list[str] | None = ... + """ + A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` + authorizer. Each element is of this format: + `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For + a `TOKEN` or `REQUEST` authorizer, this is not defined. + """ + auth_type: str | None = ... + """ + Optional customer-defined field, used in OpenAPI imports and exports + without functional impact. + """ + authorizer_uri: str | None = ... + """ + Specifies the authorizer's Uniform Resource Identifier (URI). For + `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda + function URI, for example, + `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. + In general, the URI has this form + `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where + `{region}` is the same as the region hosting the Lambda function, `path` + indicates that the remaining substring in the URI should be treated as + the path to the resource, including the initial `/`. For Lambda + functions, this is usually of the form + `/2015-03-31/functions/[FunctionARN]/invocations`. + """ + authorizer_credentials: str | None = ... + """ + Specifies the required credentials as an IAM role for API Gateway to + invoke the authorizer. To specify an IAM role for API Gateway to assume, + use the role's Amazon Resource Name (ARN). To use resource-based + permissions on the Lambda function, specify null. + """ + identity_source: str | None = ... + """ + The identity source for which authorization is requested. For a `TOKEN` + or `COGNITO_USER_POOLS` authorizer, this is required and specifies the + request header mapping expression for the custom header holding the + authorization token submitted by the client. For example, if the token + header name is `Auth`, the header mapping expression is + `method.request.header.Auth`. For the `REQUEST` authorizer, this is + required when authorization caching is enabled. The value is a + comma-separated string of one or more mapping expressions of the + specified request parameters. For example, if an `Auth` header, a `Name` + query string parameter are defined as identity sources, this value is + `method.request.header.Auth`, `method.request.querystring.Name`. These + parameters will be used to derive the authorization caching key and to + perform runtime validation of the `REQUEST` authorizer by verifying all + of the identity-related request parameters are present, not null and + non-empty. Only when this is true does the authorizer invoke the + authorizer Lambda function, otherwise, it returns a 401 Unauthorized + response without calling the Lambda function. The valid value is a + string of comma-separated mapping expressions of the specified request + parameters. When the authorization caching is not enabled, this property + is optional. + """ + identity_validation_expression: str | None = ... + """ + A validation expression for the incoming identity token. For `TOKEN` + authorizers, this value is a regular expression. For + `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field + of the incoming token from the client against the specified regular + expression. It will invoke the authorizer's Lambda function when there + is a match. Otherwise, it will return a 401 Unauthorized response + without calling the Lambda function. The validation expression does not + apply to the `REQUEST` authorizer. + """ + authorizer_result_ttl_in_seconds: int | None = ... + """ + The TTL in seconds of cached authorizer results. If it equals 0, + authorization caching is disabled. If it is greater than 0, API Gateway + will cache authorizer responses. If this field is not set, the default + value is 300. The maximum value is 3600, or 1 hour. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAuthorizersInput(_SerdeShape): + """Request to describe an existing Authorizers resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetAuthorizersOutput(_SerdeShape): + """Represents a collection of Authorizer resources.""" + + items: list[Authorizer] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBasePathMappingInput(_SerdeShape): + """Request to describe a BasePathMapping resource.""" + + domain_name: str | None = ... + """The domain name of the BasePathMapping resource to be described.""" + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + base_path: str | None = ... + """ + The base path name that callers of the API must provide as part of the + URL after the domain name. This value must be unique for all of the + mappings across a single API. Specify '(none)' if you do not want + callers to specify any base path name after the domain name. + """ + +@dataclass(kw_only=True) +class GetBasePathMappingOutput(_SerdeShape): + """ + Represents the base path that callers of the API must provide as part of + the URL after the domain name. + """ + + base_path: str | None = ... + """ + The base path name that callers of the API must provide as part of the + URL after the domain name. + """ + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage: str | None = ... + """The name of the associated stage.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBasePathMappingsInput(_SerdeShape): + """ + A request to get information about a collection of BasePathMapping + resources. + """ + + domain_name: str | None = ... + """The domain name of a BasePathMapping resource.""" + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetBasePathMappingsOutput(_SerdeShape): + """Represents a collection of BasePathMapping resources.""" + + items: list[BasePathMapping] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetClientCertificateInput(_SerdeShape): + """ + A request to get information about the current ClientCertificate + resource. + """ + + client_certificate_id: str | None = ... + """The identifier of the ClientCertificate resource to be described.""" + +@dataclass(kw_only=True) +class GetClientCertificateOutput(_SerdeShape): + """ + Represents a client certificate used to configure client-side SSL + authentication while sending requests to the integration endpoint. + """ + + client_certificate_id: str | None = ... + """The identifier of the client certificate.""" + description: str | None = ... + """The description of the client certificate.""" + pem_encoded_certificate: str | None = ... + """ + The PEM-encoded public key of the client certificate, which can be used + to configure certificate authentication in the integration endpoint . + """ + created_date: datetime | None = ... + """The timestamp when the client certificate was created.""" + expiration_date: datetime | None = ... + """The timestamp when the client certificate will expire.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetClientCertificatesInput(_SerdeShape): + """ + A request to get information about a collection of ClientCertificate + resources. + """ + + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetClientCertificatesOutput(_SerdeShape): + """Represents a collection of ClientCertificate resources.""" + + items: list[ClientCertificate] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDeploymentInput(_SerdeShape): + """Requests API Gateway to get information about a Deployment resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + deployment_id: str | None = ... + """The identifier of the Deployment resource to get information about.""" + embed: list[str] | None = ... + """ + A query parameter to retrieve the specified embedded resources of the + returned Deployment resource in the response. In a REST API call, this + `embed` parameter value is a list of comma-separated strings, as in + `GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2`. + The SDK and other platform-dependent libraries might use a different + format for the list. Currently, this request supports only retrieval of + the embedded API summary this way. Hence, the parameter value must be a + single-valued list containing only the `"apisummary"` string. For + example, + `GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary`. + """ + +@dataclass(kw_only=True) +class GetDeploymentOutput(_SerdeShape): + """ + An immutable representation of a RestApi resource that can be called by + users using Stages. A deployment must be associated with a Stage for it + to be callable over the Internet. + """ + + id: str | None = ... + """The identifier for the deployment resource.""" + description: str | None = ... + """The description for the deployment resource.""" + created_date: datetime | None = ... + """The date and time that the deployment resource was created.""" + api_summary: dict[str, dict[str, MethodSnapshot]] | None = ... + """ + A summary of the RestApi at the date and time that the deployment + resource was created. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDeploymentsInput(_SerdeShape): + """Requests API Gateway to get information about a Deployments collection.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetDeploymentsOutput(_SerdeShape): + """ + Represents a collection resource that contains zero or more references + to your existing deployments, and links that guide you on how to + interact with your collection. The collection offers a paginated view of + the contained deployments. + """ + + items: list[Deployment] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDocumentationPartInput(_SerdeShape): + """Gets a specified documentation part of a given API.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + documentation_part_id: str | None = ... + """The string identifier of the associated RestApi.""" + +@dataclass(kw_only=True) +class GetDocumentationPartOutput(_SerdeShape): + """A documentation part for a targeted API entity.""" + + id: str | None = ... + """ + The DocumentationPart identifier, generated by API Gateway when the + `DocumentationPart` is created. + """ + location: DocumentationPartLocation | None = ... + """ + The location of the API entity to which the documentation applies. Valid + fields depend on the targeted API entity type. All the valid location + fields are not required. If not explicitly specified, a valid location + field is treated as a wildcard and associated documentation content may + be inherited by matching entities, unless overridden. + """ + properties: str | None = ... + """ + A content map of API-specific key-value pairs describing the targeted + API entity. The map must be encoded as a JSON string, e.g., + `"{ \"description\": \"The API does ...\" }"`. Only OpenAPI-compliant + documentation-related fields from the properties map are exported and, + hence, published as part of the API entity definitions, while the + original documentation parts are exported in a OpenAPI extension of + `x-amazon-apigateway-documentation`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDocumentationPartsInput(_SerdeShape): + """ + Gets the documentation parts of an API. The result may be filtered by + the type, name, or path of API entities (targets). + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + type: str | None = ... + """The type of API entities of the to-be-retrieved documentation parts.""" + name_query: str | None = ... + """The name of API entities of the to-be-retrieved documentation parts.""" + path: str | None = ... + """The path of API entities of the to-be-retrieved documentation parts.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + location_status: str | None = ... + """ + The status of the API documentation parts to retrieve. Valid values are + `DOCUMENTED` for retrieving DocumentationPart resources with content and + `UNDOCUMENTED` for DocumentationPart resources without content. + """ + +@dataclass(kw_only=True) +class GetDocumentationPartsOutput(_SerdeShape): + """The collection of documentation parts of an API.""" + + items: list[DocumentationPart] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDocumentationVersionInput(_SerdeShape): + """Gets a documentation snapshot of an API.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + documentation_version: str | None = ... + """The version identifier of the to-be-retrieved documentation snapshot.""" + +@dataclass(kw_only=True) +class GetDocumentationVersionOutput(_SerdeShape): + """A snapshot of the documentation of an API.""" + + version: str | None = ... + """The version identifier of the API documentation snapshot.""" + created_date: datetime | None = ... + """The date when the API documentation snapshot is created.""" + description: str | None = ... + """The description of the API documentation snapshot.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDocumentationVersionsInput(_SerdeShape): + """Gets the documentation versions of an API.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetDocumentationVersionsOutput(_SerdeShape): + """The collection of documentation snapshots of an API.""" + + items: list[DocumentationVersion] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDomainNameAccessAssociationsInput(_SerdeShape): + """Dataclass for GetDomainNameAccessAssociationsInput structure.""" + + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + resource_owner: str | None = ... + """ + The owner of the domain name access association. Use `SELF` to only list + the domain name access associations owned by your own account. Use + `OTHER_ACCOUNTS` to list the domain name access associations with your + private custom domain names that are owned by other AWS accounts. + """ + +@dataclass(kw_only=True) +class GetDomainNameAccessAssociationsOutput(_SerdeShape): + """Dataclass for GetDomainNameAccessAssociationsOutput structure.""" + + items: list[DomainNameAccessAssociation] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDomainNameInput(_SerdeShape): + """Request to get the name of a DomainName resource.""" + + domain_name: str | None = ... + """The name of the DomainName resource.""" + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Required for private custom + domain names. + """ + +@dataclass(kw_only=True) +class GetDomainNameOutput(_SerdeShape): + """ + Represents a custom domain name as a user-friendly host name of an API + (RestApi). + """ + + domain_name: str | None = ... + """ + The custom domain name as an API host name, for example, + `my-api.example.com`. + """ + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + domain_name_arn: str | None = ... + """The ARN of the domain name.""" + certificate_name: str | None = ... + """ + The name of the certificate that will be used by edge-optimized endpoint + or private endpoint for this domain name. + """ + certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used by edge-optimized endpoint or private endpoint for this domain + name. Certificate Manager is the only supported source. + """ + certificate_upload_date: datetime | None = ... + """ + The timestamp when the certificate that was used by edge-optimized + endpoint or private endpoint for this domain name was uploaded. + """ + regional_domain_name: str | None = ... + """ + The domain name associated with the regional endpoint for this custom + domain name. You set up this association by adding a DNS record that + points the custom domain name to this regional domain name. The regional + domain name is returned by API Gateway when you create a regional + endpoint. + """ + regional_hosted_zone_id: str | None = ... + """ + The region-specific Amazon Route 53 Hosted Zone ID of the regional + endpoint. For more information, see Set up a Regional Custom Domain Name + and AWS Regions and Endpoints for API Gateway. + """ + regional_certificate_name: str | None = ... + """ + The name of the certificate that will be used for validating the + regional domain name. + """ + regional_certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used for validating the regional domain name. Certificate Manager is the + only supported source. + """ + distribution_domain_name: str | None = ... + """ + The domain name of the Amazon CloudFront distribution associated with + this custom domain name for an edge-optimized endpoint. You set up this + association when adding a DNS record pointing the custom domain name to + this distribution name. For more information about CloudFront + distributions, see the Amazon CloudFront documentation. + """ + distribution_hosted_zone_id: str | None = ... + """ + The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized + endpoint. The valid value is `Z2FDTNDATAQYW2` for all the regions. For + more information, see Set up a Regional Custom Domain Name and AWS + Regions and Endpoints for API Gateway. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this DomainName showing the endpoint types + and IP address types of the domain name. + """ + domain_name_status: str | None = ... + """ + The status of the DomainName migration. The valid values are `AVAILABLE` + and `UPDATING`. If the status is `UPDATING`, the domain cannot be + modified further until the existing operation is complete. If it is + `AVAILABLE`, the domain can be updated. + """ + domain_name_status_message: str | None = ... + """ + An optional text message containing detailed information about status of + the DomainName migration. + """ + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + DomainName. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the DomainName.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + mutual_tls_authentication: MutualTlsAuthentication | None = ... + """ + The mutual TLS authentication configuration for a custom domain name. If + specified, API Gateway performs two-way authentication between the + client and the server. Clients must present a trusted certificate to + access your API. + """ + ownership_verification_certificate_arn: str | None = ... + """ + The ARN of the public certificate issued by ACM to validate ownership of + your custom domain. Only required when configuring mutual TLS and using + an ACM imported or private CA certificate ARN as the + regionalCertificateArn. + """ + management_policy: str | None = ... + """ + A stringified JSON policy document that applies to the API Gateway + Management service for this DomainName. This policy document controls + access for access association sources to create domain name access + associations with this DomainName. Supported only for private custom + domain names. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to the `execute-api` + service for this DomainName regardless of the caller and Method + configuration. Supported only for private custom domain names. + """ + routing_mode: str | None = ... + """ + The routing mode for this domain name. The routing mode determines how + API Gateway sends traffic from your custom domain name to your private + APIs. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDomainNamesInput(_SerdeShape): + """Request to describe a collection of DomainName resources.""" + + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + resource_owner: str | None = ... + """The owner of the domain name access association.""" + +@dataclass(kw_only=True) +class GetDomainNamesOutput(_SerdeShape): + """Represents a collection of DomainName resources.""" + + items: list[DomainName] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetExportInput(_SerdeShape): + """Request a new export of a RestApi for a particular Stage.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """The name of the Stage that will be exported.""" + export_type: str | None = ... + """ + The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x + and 'swagger' for Swagger/OpenAPI 2.0. + """ + parameters: dict[str, str] | None = ... + """ + A key-value map of query string parameters that specify properties of + the export, depending on the requested `exportType`. For `exportType` + `oas30` and `swagger`, any combination of the following parameters are + supported: `extensions='integrations'` or `extensions='apigateway'` will + export the API with x-amazon-apigateway-integration extensions. + `extensions='authorizers'` will export the API with + x-amazon-apigateway-authorizer extensions. `postman` will export the API + with Postman extensions, allowing for import to the Postman tool + """ + accepts: str | None = ... + """ + The content-type of the export, for example `application/json`. + Currently `application/json` and `application/yaml` are supported for + `exportType` of`oas30` and `swagger`. This should be specified in the + `Accept` header for direct API requests. + """ + +@dataclass(kw_only=True) +class GetExportOutput(_SerdeShape): + """The binary blob response to GetExport, which contains the generated SDK.""" + + content_type: str | None = ... + """ + The content-type header value in the HTTP response. This will correspond + to a valid 'accept' type in the request. + """ + content_disposition: str | None = ... + """The content-disposition header value in the HTTP response.""" + body: bytes | None = ... + """The binary blob response to GetExport, which contains the export.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGatewayResponseInput(_SerdeShape): + """ + Gets a GatewayResponse of a specified response type on the given + RestApi. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + response_type: str | None = ... + """The response type of the associated GatewayResponse.""" + +@dataclass(kw_only=True) +class GetGatewayResponseOutput(_SerdeShape): + """ + A gateway response of a given response type and status code, with + optional response parameters and mapping templates. + """ + + response_type: str | None = ... + """The response type of the associated GatewayResponse.""" + status_code: str | None = ... + """The HTTP status code for this GatewayResponse.""" + response_parameters: dict[str, str] | None = ... + """ + Response parameters (paths, query strings and headers) of the + GatewayResponse as a string-to-string map of key-value pairs. + """ + response_templates: dict[str, str] | None = ... + """ + Response templates of the GatewayResponse as a string-to-string map of + key-value pairs. + """ + default_response: bool = ... + """ + A Boolean flag to indicate whether this GatewayResponse is the default + gateway response (`true`) or not (`false`). A default gateway response + is one generated by API Gateway without any customization by an API + developer. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGatewayResponsesInput(_SerdeShape): + """ + Gets the GatewayResponses collection on the given RestApi. If an API + developer has not added any definitions for gateway responses, the + result will be the API Gateway-generated default GatewayResponses + collection for the supported response types. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + position: str | None = ... + """ + The current pagination position in the paged result set. The + GatewayResponse collection does not support pagination and the position + does not apply here. + """ + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. The GatewayResponses collection does not + support pagination and the limit does not apply here. + """ + +@dataclass(kw_only=True) +class GetGatewayResponsesOutput(_SerdeShape): + """ + The collection of the GatewayResponse instances of a RestApi as a + `responseType`-to-GatewayResponse object map of key-value pairs. As + such, pagination is not supported for querying this collection. + """ + + items: list[GatewayResponse] | None = ... + """Returns the entire collection, because of no pagination support.""" + position: str | None = ... + """ + The current pagination position in the paged result set. The + GatewayResponse collection does not support pagination and the position + does not apply here. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIntegrationInput(_SerdeShape): + """Represents a request to get the integration configuration.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """Specifies a get integration request's resource identifier""" + http_method: str | None = ... + """Specifies a get integration request's HTTP method.""" + +@dataclass(kw_only=True) +class GetIntegrationOutput(_SerdeShape): + """ + Represents an `HTTP`, `HTTP_PROXY`, `AWS`, `AWS_PROXY`, or Mock + integration. + """ + + type: str | None = ... + """ + Specifies an API method integration type. The valid value is one of the + following: + + For the HTTP and HTTP proxy integrations, each integration can specify a + protocol (`http/https`), port and path. Standard 80 and 443 ports are + supported as well as custom ports above 1024. An HTTP or HTTP proxy + integration with a `connectionType` of `VPC_LINK` is referred to as a + private integration and uses a VpcLink to connect API Gateway to a + network load balancer of a VPC. + """ + http_method: str | None = ... + """ + Specifies the integration's HTTP method type. For the Type property, if + you specify `MOCK`, this property is optional. For Lambda integrations, + you must set the integration method to `POST`. For all other types, you + must specify this property. + """ + uri: str | None = ... + """ + Specifies Uniform Resource Identifier (URI) of the integration endpoint. + + For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully formed, + encoded HTTP(S) URL according to the RFC-3986 specification for standard + integrations. If `connectionType` is `VPC_LINK` specify the Network Load + Balancer DNS name. For `AWS` or `AWS_PROXY` integrations, the URI is of + the form + `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}`. + Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is + the name of the integrated Amazon Web Services service (e.g., s3); and + {subdomain} is a designated subdomain supported by certain Amazon Web + Services service for fast host-name lookup. action can be used for an + Amazon Web Services service action-based API, using an + Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing + {service_api} refers to a supported action {name} plus any required + input parameters. Alternatively, path can be used for an Amazon Web + Services service path-based API. The ensuing service_api refers to the + path to an Amazon Web Services service resource, including the region of + the integrated Amazon Web Services service, if applicable. For example, + for integration with the S3 API of GetObject, the uri can be either + `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` + or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}` + """ + connection_type: str | None = ... + """ + The type of the network connection to the integration endpoint. The + valid value is `INTERNET` for connections through the public routable + internet or `VPC_LINK` for private connections between API Gateway and a + network load balancer in a VPC. The default value is `INTERNET`. + """ + connection_id: str | None = ... + """ + The ID of the VpcLink used for the integration when + `connectionType=VPC_LINK` and undefined, otherwise. + """ + credentials: str | None = ... + """ + Specifies the credentials required for the integration, if any. For AWS + integrations, three options are available. To specify an IAM Role for + API Gateway to assume, use the role's Amazon Resource Name (ARN). To + require that the caller's identity be passed through from the request, + specify the string `arn:aws:iam::*:user/*`. To use resource-based + permissions on supported Amazon Web Services services, specify null. + """ + request_parameters: dict[str, str] | None = ... + """ + A key-value map specifying request parameters that are passed from the + method request to the back end. The key is an integration request + parameter name and the associated value is a method request parameter + value or static value that must be enclosed within single quotes and + pre-encoded as required by the back end. The method request parameter + value must match the pattern of `method.request.{location}.{name}`, + where `location` is `querystring`, `path`, or `header` and `name` must + be a valid and unique method request parameter name. + """ + request_templates: dict[str, str] | None = ... + """ + Represents a map of Velocity templates that are applied on the request + payload based on the value of the Content-Type header sent by the + client. The content type value is the key in this map, and the template + (as a String) is the value. + """ + passthrough_behavior: str | None = ... + """ + Specifies how the method request body of an unmapped content type will + be passed through the integration request to the back end without + transformation. A content type is unmapped if no mapping template is + defined in the integration or the content type does not match any of the + mapped content types, as specified in `requestTemplates`. The valid + value is one of the following: `WHEN_NO_MATCH`: passes the method + request body through the integration request to the back end without + transformation when the method request content type does not match any + content type associated with the mapping templates defined in the + integration request. `WHEN_NO_TEMPLATES`: passes the method request body + through the integration request to the back end without transformation + when no mapping template is defined in the integration request. If a + template is defined when this option is selected, the method request of + an unmapped content-type will be rejected with an HTTP 415 Unsupported + Media Type response. `NEVER`: rejects the method request with an HTTP + 415 Unsupported Media Type response when either the method request + content type does not match any content type associated with the mapping + templates defined in the integration request or no mapping template is + defined in the integration request. + """ + content_handling: str | None = ... + """ + Specifies how to handle request payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the request payload will be passed + through from the method request to integration request without + modification, provided that the `passthroughBehavior` is configured to + support payload pass-through. + """ + timeout_in_millis: int = ... + """ + Custom timeout between 50 and 29,000 milliseconds. The default value is + 29,000 milliseconds or 29 seconds. You can increase the default value to + longer than 29 seconds for Regional or private APIs only. + """ + cache_namespace: str | None = ... + """ + Specifies a group of related cached parameters. By default, API Gateway + uses the resource ID as the `cacheNamespace`. You can specify the same + `cacheNamespace` across resources to return the same cached data for + requests to different resources. + """ + cache_key_parameters: list[str] | None = ... + """ + A list of request parameters whose values API Gateway caches. To be + valid values for `cacheKeyParameters`, these parameters must also be + specified for Method `requestParameters`. + """ + integration_responses: dict[str, IntegrationResponse] | None = ... + """Specifies the integration's responses.""" + tls_config: TlsConfig | None = ... + """Specifies the TLS configuration for an integration.""" + response_transfer_mode: str | None = ... + """The response transfer mode of the integration.""" + integration_target: str | None = ... + """The ALB or NLB listener to send the request to.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIntegrationResponseInput(_SerdeShape): + """Represents a get integration response request.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """Specifies a get integration response request's resource identifier.""" + http_method: str | None = ... + """Specifies a get integration response request's HTTP method.""" + status_code: str | None = ... + """Specifies a get integration response request's status code.""" + +@dataclass(kw_only=True) +class GetIntegrationResponseOutput(_SerdeShape): + """ + Represents an integration response. The status code must map to an + existing MethodResponse, and parameters and templates can be used to + transform the back-end response. + """ + + status_code: str | None = ... + """ + Specifies the status code that is used to map the integration response + to an existing MethodResponse. + """ + selection_pattern: str | None = ... + """ + Specifies the regular expression (regex) pattern used to choose an + integration response based on the response from the back end. For + example, if the success response returns nothing and the error response + returns some string, you could use the `.+` regex to match error + response. However, make sure that the error response does not contain + any newline (`\n`) character in such cases. If the back end is an Lambda + function, the Lambda function error header is matched. For all other + HTTP and Amazon Web Services back ends, the HTTP status code is matched. + """ + response_parameters: dict[str, str] | None = ... + """ + A key-value map specifying response parameters that are passed to the + method response from the back end. The key is a method response header + parameter name and the mapped value is an integration response header + value, a static value enclosed within a pair of single quotes, or a JSON + expression from the integration response body. The mapping key must + match the pattern of `method.response.header.{name}`, where `name` is a + valid and unique header name. The mapped non-static value must match the + pattern of `integration.response.header.{name}` or + `integration.response.body.{JSON-expression}`, where `name` is a valid + and unique response header name and `JSON-expression` is a valid JSON + expression without the `$` prefix. + """ + response_templates: dict[str, str] | None = ... + """ + Specifies the templates used to transform the integration response body. + Response templates are represented as a key/value map, with a + content-type as the key and a template as the value. + """ + content_handling: str | None = ... + """ + Specifies how to handle response payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the response payload will be passed + through from the integration response to the method response without + modification. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMethodInput(_SerdeShape): + """Request to describe an existing Method resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The Resource identifier for the Method resource.""" + http_method: str | None = ... + """Specifies the method request's HTTP method type.""" + +@dataclass(kw_only=True) +class GetMethodOutput(_SerdeShape): + """ + Represents a client-facing interface by which the client calls the API + to access back-end resources. A Method resource is integrated with an + Integration resource. Both consist of a request and one or more + responses. The method request takes the client input that is passed to + the back end through the integration request. A method response returns + the output from the back end to the client through an integration + response. A method request is embodied in a Method resource, whereas an + integration request is embodied in an Integration resource. On the other + hand, a method response is represented by a MethodResponse resource, + whereas an integration response is represented by an IntegrationResponse + resource. + """ + + http_method: str | None = ... + """The method's HTTP verb.""" + authorization_type: str | None = ... + """ + The method's authorization type. Valid values are `NONE` for open + access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a + custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user + pool. + """ + authorizer_id: str | None = ... + """ + The identifier of an Authorizer to use on this method. The + `authorizationType` must be `CUSTOM`. + """ + api_key_required: bool | None = ... + """ + A boolean flag specifying whether a valid ApiKey is required to invoke + this method. + """ + request_validator_id: str | None = ... + """The identifier of a RequestValidator for request validation.""" + operation_name: str | None = ... + """ + A human-friendly operation identifier for the method. For example, you + can assign the `operationName` of `ListPets` for the `GET /pets` method + in the `PetStore` example. + """ + request_parameters: dict[str, bool] | None = ... + """ + A key-value map defining required or optional method request parameters + that can be accepted by API Gateway. A key is a method request parameter + name matching the pattern of `method.request.{location}.{name}`, where + `location` is `querystring`, `path`, or `header` and `name` is a valid + and unique parameter name. The value associated with the key is a + Boolean flag indicating whether the parameter is required (`true`) or + optional (`false`). The method request parameter names defined here are + available in Integration to be mapped to integration request parameters + or templates. + """ + request_models: dict[str, str] | None = ... + """ + A key-value map specifying data schemas, represented by Model resources, + (as the mapped value) of the request payloads of given content types (as + the mapping key). + """ + method_responses: dict[str, MethodResponse] | None = ... + """Gets a method response associated with a given HTTP status code.""" + method_integration: Integration | None = ... + """ + Gets the method's integration responsible for passing the + client-submitted request to the back end and performing necessary + transformations to make the request compliant with the back end. + """ + authorization_scopes: list[str] | None = ... + """ + A list of authorization scopes configured on the method. The scopes are + used with a `COGNITO_USER_POOLS` authorizer to authorize the method + invocation. The authorization works by matching the method scopes + against the scopes parsed from the access token in the incoming request. + The method invocation is authorized if any method scopes matches a + claimed scope in the access token. Otherwise, the invocation is not + authorized. When the method scope is configured, the client must provide + an access token instead of an identity token for authorization purposes. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMethodResponseInput(_SerdeShape): + """Request to describe a MethodResponse resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The Resource identifier for the MethodResponse resource.""" + http_method: str | None = ... + """The HTTP verb of the Method resource.""" + status_code: str | None = ... + """The status code for the MethodResponse resource.""" + +@dataclass(kw_only=True) +class GetMethodResponseOutput(_SerdeShape): + """ + Represents a method response of a given HTTP status code returned to the + client. The method response is passed from the back end through the + associated integration response that can be transformed using a mapping + template. + """ + + status_code: str | None = ... + """The method response's status code.""" + response_parameters: dict[str, bool] | None = ... + """ + A key-value map specifying required or optional response parameters that + API Gateway can send back to the caller. A key defines a method response + header and the value specifies whether the associated method response + header is required or not. The expression of the key must match the + pattern `method.response.header.{name}`, where `name` is a valid and + unique header name. API Gateway passes certain integration response data + to the method response headers specified here according to the mapping + you prescribe in the API's IntegrationResponse. The integration + response data that can be mapped include an integration response header + expressed in `integration.response.header.{name}`, a static value + enclosed within a pair of single quotes (e.g., `'application/json'`), or + a JSON expression from the back-end response payload in the form of + `integration.response.body.{JSON-expression}`, where `JSON-expression` + is a valid JSON expression without the `$` prefix.) + """ + response_models: dict[str, str] | None = ... + """ + Specifies the Model resources used for the response's content-type. + Response models are represented as a key/value map, with a content-type + as the key and a Model name as the value. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetModelInput(_SerdeShape): + """ + Request to list information about a model in an existing RestApi + resource. + """ + + rest_api_id: str | None = ... + """The RestApi identifier under which the Model exists.""" + model_name: str | None = ... + """The name of the model as an identifier.""" + flatten: bool = ... + """ + A query parameter of a Boolean value to resolve (`true`) all external + model references and returns a flattened model schema or not (`false`) + The default is `false`. + """ + +@dataclass(kw_only=True) +class GetModelOutput(_SerdeShape): + """ + Represents the data structure of a method's request or response + payload. + """ + + id: str | None = ... + """The identifier for the model resource.""" + name: str | None = ... + """The name of the model. Must be an alphanumeric string.""" + description: str | None = ... + """The description of the model.""" + schema: str | None = ... + """ + The schema for the model. For `application/json` models, this should be + JSON schema draft 4 model. Do not include \"\\*/\" characters in the + description of any properties because such \"\\*/\" characters may be + interpreted as the closing marker for comments in some languages, such + as Java or JavaScript, causing the installation of your API's SDK + generated by API Gateway to fail. + """ + content_type: str | None = ... + """The content-type for the model.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetModelsInput(_SerdeShape): + """Request to list existing Models defined for a RestApi resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetModelsOutput(_SerdeShape): + """Represents a collection of Model resources.""" + + items: list[Model] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetModelTemplateInput(_SerdeShape): + """ + Request to generate a sample mapping template used to transform the + payload. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + model_name: str | None = ... + """The name of the model for which to generate a template.""" + +@dataclass(kw_only=True) +class GetModelTemplateOutput(_SerdeShape): + """Represents a mapping template used to transform a payload.""" + + value: str | None = ... + """ + The Apache Velocity Template Language (VTL) template content used for + the template resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRequestValidatorInput(_SerdeShape): + """Gets a RequestValidator of a given RestApi.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + request_validator_id: str | None = ... + """The identifier of the RequestValidator to be retrieved.""" + +@dataclass(kw_only=True) +class GetRequestValidatorOutput(_SerdeShape): + """A set of validation rules for incoming Method requests.""" + + id: str | None = ... + """The identifier of this RequestValidator.""" + name: str | None = ... + """The name of this RequestValidator""" + validate_request_body: bool = ... + """ + A Boolean flag to indicate whether to validate a request body according + to the configured Model schema. + """ + validate_request_parameters: bool = ... + """ + A Boolean flag to indicate whether to validate request parameters + (`true`) or not (`false`). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRequestValidatorsInput(_SerdeShape): + """Gets the RequestValidators collection of a given RestApi.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetRequestValidatorsOutput(_SerdeShape): + """A collection of RequestValidator resources of a given RestApi.""" + + items: list[RequestValidator] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourceInput(_SerdeShape): + """Request to list information about a resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The identifier for the Resource resource.""" + embed: list[str] | None = ... + """ + A query parameter to retrieve the specified resources embedded in the + returned Resource representation in the response. This `embed` parameter + value is a list of comma-separated strings. Currently, the request + supports only retrieval of the embedded Method resources this way. The + query parameter value must be a single-valued list and contain the + `"methods"` string. For example, + `GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods`. + """ + +@dataclass(kw_only=True) +class GetResourceOutput(_SerdeShape): + """Represents an API resource.""" + + id: str | None = ... + """The resource's identifier.""" + parent_id: str | None = ... + """The parent resource's identifier.""" + path_part: str | None = ... + """The last path segment for this resource.""" + path: str | None = ... + """The full path for this resource.""" + resource_methods: dict[str, Method] | None = ... + """Gets an API resource's method of a given HTTP verb.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourcesInput(_SerdeShape): + """Request to list information about a collection of resources.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + embed: list[str] | None = ... + """ + A query parameter used to retrieve the specified resources embedded in + the returned Resources resource in the response. This `embed` parameter + value is a list of comma-separated strings. Currently, the request + supports only retrieval of the embedded Method resources this way. The + query parameter value must be a single-valued list and contain the + `"methods"` string. For example, + `GET /restapis/{restapi_id}/resources?embed=methods`. + """ + +@dataclass(kw_only=True) +class GetResourcesOutput(_SerdeShape): + """Represents a collection of Resource resources.""" + + items: list[Resource] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRestApiInput(_SerdeShape): + """The GET request to list an existing RestApi defined for your collection.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + +@dataclass(kw_only=True) +class GetRestApiOutput(_SerdeShape): + """Represents a REST API.""" + + id: str | None = ... + """ + The API's identifier. This identifier is unique across all of your APIs + in API Gateway. + """ + name: str | None = ... + """The API's name.""" + description: str | None = ... + """The API's description.""" + created_date: datetime | None = ... + """The timestamp when the API was created.""" + version: str | None = ... + """A version identifier for the API.""" + warnings: list[str] | None = ... + """ + The warning messages reported when `failonwarnings` is turned on during + API import. + """ + binary_media_types: list[str] | None = ... + """ + The list of binary media types supported by the RestApi. By default, the + RestApi supports only UTF-8-encoded text payloads. + """ + minimum_compression_size: int | None = ... + """ + A nullable integer that is used to enable compression (with non-negative + between 0 and 10485760 (10M) bytes, inclusive) or disable compression + (with a null value) on an API. When compression is enabled, compression + or decompression is not applied on the payload if the payload size is + smaller than this value. Setting it to zero allows compression for any + payload size. + """ + api_key_source: str | None = ... + """ + The source of the API key for metering requests according to a usage + plan. Valid values are: >`HEADER` to read the API key from the + `X-API-Key` header of a request. `AUTHORIZER` to read the API key from + the `UsageIdentifierKey` from a custom authorizer. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this RestApi showing the endpoint types + and IP address types of the API. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to this RestApi + regardless of the caller and Method configuration. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + disable_execute_api_endpoint: bool = ... + """ + Specifies whether clients can invoke your API by using the default + `execute-api` endpoint. By default, clients can invoke your API with the + default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. + To require that clients use a custom domain name to invoke your API, + disable the default endpoint. + """ + root_resource_id: str | None = ... + """The API's root resource ID.""" + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + RestApi. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the RestApi.""" + api_status: str | None = ... + """The ApiStatus of the RestApi.""" + api_status_message: str | None = ... + """ + The status message of the RestApi. When the status message is `UPDATING` + you can still invoke it. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRestApisInput(_SerdeShape): + """The GET request to list existing RestApis defined for your collection.""" + + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetRestApisOutput(_SerdeShape): + """ + Contains references to your APIs and links that guide you in how to + interact with your collection. A collection offers a paginated view of + your APIs. + """ + + items: list[RestApi] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSdkInput(_SerdeShape): + """Request a new generated client SDK for a RestApi and Stage.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """The name of the Stage that the SDK will use.""" + sdk_type: str | None = ... + """ + The language for the generated SDK. Currently `java`, `javascript`, + `android`, `objectivec` (for iOS), `swift` (for iOS), and `ruby` are + supported. + """ + parameters: dict[str, str] | None = ... + """ + A string-to-string key-value map of query parameters `sdkType`-dependent + properties of the SDK. For `sdkType` of `objectivec` or `swift`, a + parameter named `classPrefix` is required. For `sdkType` of `android`, + parameters named `groupId`, `artifactId`, `artifactVersion`, and + `invokerPackage` are required. For `sdkType` of `java`, parameters named + `serviceName` and `javaPackageName` are required. + """ + +@dataclass(kw_only=True) +class GetSdkOutput(_SerdeShape): + """The binary blob response to GetSdk, which contains the generated SDK.""" + + content_type: str | None = ... + """The content-type header value in the HTTP response.""" + content_disposition: str | None = ... + """The content-disposition header value in the HTTP response.""" + body: bytes | None = ... + """The binary blob response to GetSdk, which contains the generated SDK.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSdkTypeInput(_SerdeShape): + """Get an SdkType instance.""" + + id: str | None = ... + """The identifier of the queried SdkType instance.""" + +@dataclass(kw_only=True) +class GetSdkTypeOutput(_SerdeShape): + """A type of SDK that API Gateway can generate.""" + + id: str | None = ... + """The identifier of an SdkType instance.""" + friendly_name: str | None = ... + """The user-friendly name of an SdkType instance.""" + description: str | None = ... + """The description of an SdkType.""" + configuration_properties: list[SdkConfigurationProperty] | None = ... + """A list of configuration properties of an SdkType.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSdkTypesInput(_SerdeShape): + """Get the SdkTypes collection.""" + + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetSdkTypesOutput(_SerdeShape): + """The collection of SdkType instances.""" + + items: list[SdkType] | None = ... + """The current page of elements from this collection.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetStageInput(_SerdeShape): + """Requests API Gateway to get information about a Stage resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """The name of the Stage resource to get information about.""" + +@dataclass(kw_only=True) +class GetStageOutput(_SerdeShape): + """ + Represents a unique identifier for a version of a deployed RestApi that + is callable by users. + """ + + deployment_id: str | None = ... + """The identifier of the Deployment that the stage points to.""" + client_certificate_id: str | None = ... + """The identifier of a client certificate for an API stage.""" + stage_name: str | None = ... + """ + The name of the stage is the first path segment in the Uniform Resource + Identifier (URI) of a call to API Gateway. Stage names can only contain + alphanumeric characters, hyphens, and underscores. Maximum length is 128 + characters. + """ + description: str | None = ... + """The stage's description.""" + cache_cluster_enabled: bool = ... + """ + Specifies whether a cache cluster is enabled for the stage. To activate + a method-level cache, set `CachingEnabled` to `true` for a method. + """ + cache_cluster_size: str | None = ... + """ + The stage's cache capacity in GB. For more information about choosing a + cache size, see [Enabling API caching to enhance + responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). + """ + cache_cluster_status: str | None = ... + """The status of the cache cluster for the stage, if enabled.""" + method_settings: dict[str, MethodSetting] | None = ... + """ + A map that defines the method settings for a Stage resource. Keys + (designated as `/{method_setting_key` below) are method paths defined as + `{resource_path}/{http_method}` for an individual method override, or + `/*/*` for overriding all methods in the stage. + """ + variables: dict[str, str] | None = ... + """ + A map that defines the stage variables for a Stage resource. Variable + names can have alphanumeric and underscore characters, and the values + must match `[A-Za-z0-9-._~:/?#&=,]+`. + """ + documentation_version: str | None = ... + """The version of the associated API documentation.""" + access_log_settings: AccessLogSettings | None = ... + """Settings for logging access in this stage.""" + canary_settings: CanarySettings | None = ... + """Settings for the canary deployment in this stage.""" + tracing_enabled: bool = ... + """Specifies whether active tracing with X-ray is enabled for the Stage.""" + web_acl_arn: str | None = ... + """The ARN of the WebAcl associated with the Stage.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + created_date: datetime | None = ... + """The timestamp when the stage was created.""" + last_updated_date: datetime | None = ... + """The timestamp when the stage last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetStagesInput(_SerdeShape): + """ + Requests API Gateway to get information about one or more Stage + resources. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + deployment_id: str | None = ... + """The stages' deployment identifiers.""" + +@dataclass(kw_only=True) +class GetStagesOutput(_SerdeShape): + """A list of Stage resources that are associated with the ApiKey resource.""" + + item: list[Stage] | None = ... + """The current page of elements from this collection.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTagsInput(_SerdeShape): + """Gets the Tags collection for a given resource.""" + + resource_arn: str | None = ... + """The ARN of a resource that can be tagged.""" + position: str | None = ... + """ + (Not currently supported) The current pagination position in the paged + result set. + """ + limit: int | None = ... + """ + (Not currently supported) The maximum number of returned results per + page. The default value is 25 and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetTagsOutput(_SerdeShape): + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUsageInput(_SerdeShape): + """ + The GET request to get the usage data of a usage plan in a specified + time interval. + """ + + usage_plan_id: str | None = ... + """The Id of the usage plan associated with the usage data.""" + key_id: str | None = ... + """The Id of the API key associated with the resultant usage data.""" + start_date: str | None = ... + """The starting date (e.g., 2016-01-01) of the usage data.""" + end_date: str | None = ... + """The ending date (e.g., 2016-12-31) of the usage data.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetUsageOutput(_SerdeShape): + """Represents the usage data of a usage plan.""" + + usage_plan_id: str | None = ... + """The plan Id associated with this usage data.""" + start_date: str | None = ... + """The starting date of the usage data.""" + end_date: str | None = ... + """The ending date of the usage data.""" + items: dict[str, list[list[int]]] | None = ... + """ + The usage data, as daily logs of used and remaining quotas, over the + specified time interval indexed over the API keys in a usage plan. For + example, + `{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}`, + where `{api_key}` stands for an API key value and the daily log entry is + of the format `[used quota, remaining quota]`. + """ + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUsagePlanInput(_SerdeShape): + """The GET request to get a usage plan of a given plan identifier.""" + + usage_plan_id: str | None = ... + """The identifier of the UsagePlan resource to be retrieved.""" + +@dataclass(kw_only=True) +class GetUsagePlanKeyInput(_SerdeShape): + """The GET request to get a usage plan key of a given key identifier.""" + + usage_plan_id: str | None = ... + """ + The Id of the UsagePlan resource representing the usage plan containing + the to-be-retrieved UsagePlanKey resource representing a plan customer. + """ + key_id: str | None = ... + """ + The key Id of the to-be-retrieved UsagePlanKey resource representing a + plan customer. + """ + +@dataclass(kw_only=True) +class GetUsagePlanKeyOutput(_SerdeShape): + """Represents a usage plan key to identify a plan customer.""" + + id: str | None = ... + """The Id of a usage plan key.""" + type: str | None = ... + """ + The type of a usage plan key. Currently, the valid key type is + `API_KEY`. + """ + value: str | None = ... + """The value of a usage plan key.""" + name: str | None = ... + """The name of a usage plan key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUsagePlanKeysInput(_SerdeShape): + """ + The GET request to get all the usage plan keys representing the API keys + added to a specified usage plan. + """ + + usage_plan_id: str | None = ... + """ + The Id of the UsagePlan resource representing the usage plan containing + the to-be-retrieved UsagePlanKey resource representing a plan customer. + """ + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + name_query: str | None = ... + """ + A query parameter specifying the name of the to-be-returned usage plan + keys. + """ + +@dataclass(kw_only=True) +class GetUsagePlanKeysOutput(_SerdeShape): + """ + Represents the collection of usage plan keys added to usage plans for + the associated API keys and, possibly, other types of keys. + """ + + items: list[UsagePlanKey] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUsagePlanOutput(_SerdeShape): + """ + Represents a usage plan used to specify who can assess associated API + stages. Optionally, target request rate and quota limits can be set. In + some cases clients can exceed the targets that you set. Don't rely on + usage plans to control costs. Consider using [Amazon Web Services + Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) + to monitor costs and + [WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) + to manage API requests. + """ + + id: str | None = ... + """The identifier of a UsagePlan resource.""" + name: str | None = ... + """The name of a usage plan.""" + description: str | None = ... + """The description of a usage plan.""" + api_stages: list[ApiStage] | None = ... + """The associated API stages of a usage plan.""" + throttle: ThrottleSettings | None = ... + """ + A map containing method level throttling information for API stage in a + usage plan. + """ + quota: QuotaSettings | None = ... + """ + The target maximum number of permitted requests per a given unit time + interval. + """ + product_code: str | None = ... + """ + The Amazon Web Services Marketplace product identifier to associate with + the usage plan as a SaaS product on the Amazon Web Services Marketplace. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUsagePlansInput(_SerdeShape): + """The GET request to get all the usage plans of the caller's account.""" + + position: str | None = ... + """The current pagination position in the paged result set.""" + key_id: str | None = ... + """The identifier of the API key associated with the usage plans.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetUsagePlansOutput(_SerdeShape): + """Represents a collection of usage plans for an AWS account.""" + + items: list[UsagePlan] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVpcLinkInput(_SerdeShape): + """Gets a specified VPC link under the caller's account in a region.""" + + vpc_link_id: str | None = ... + """ + The identifier of the VpcLink. It is used in an Integration to reference + this VpcLink. + """ + +@dataclass(kw_only=True) +class GetVpcLinkOutput(_SerdeShape): + """ + An API Gateway VPC link for a RestApi to access resources in an Amazon + Virtual Private Cloud (VPC). + """ + + id: str | None = ... + """ + The identifier of the VpcLink. It is used in an Integration to reference + this VpcLink. + """ + name: str | None = ... + """The name used to label and identify the VPC link.""" + description: str | None = ... + """The description of the VPC link.""" + target_arns: list[str] | None = ... + """ + The ARN of the network load balancer of the VPC targeted by the VPC + link. The network load balancer must be owned by the same Amazon Web + Services account of the API owner. + """ + status: str | None = ... + """ + The status of the VPC link. The valid values are `AVAILABLE`, `PENDING`, + `DELETING`, or `FAILED`. Deploying an API will wait if the status is + `PENDING` and will fail if the status is `DELETING`. + """ + status_message: str | None = ... + """A description about the VPC link status.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVpcLinksInput(_SerdeShape): + """ + Gets the VpcLinks collection under the caller's account in a selected + region. + """ + + position: str | None = ... + """The current pagination position in the paged result set.""" + limit: int | None = ... + """ + The maximum number of returned results per page. The default value is 25 + and the maximum value is 500. + """ + +@dataclass(kw_only=True) +class GetVpcLinksOutput(_SerdeShape): + """The collection of VPC links under the caller's account in a region.""" + + items: list[VpcLink] | None = ... + """The current page of elements from this collection.""" + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportApiKeysInput(_SerdeShape): + """ + The POST request to import API keys from an external source, such as a + CSV-formatted file. + """ + + body: bytes | None = ... + """ + The payload of the POST request to import API keys. For the payload + format, see API Key File Format. + """ + format: str | None = ... + """ + A query parameter to specify the input format to imported API keys. + Currently, only the `csv` format is supported. + """ + fail_on_warnings: bool = ... + """ + A query parameter to indicate whether to rollback ApiKey importation + (`true`) or not (`false`) when error is encountered. + """ + +@dataclass(kw_only=True) +class ImportApiKeysOutput(_SerdeShape): + """The identifier of an ApiKey used in a UsagePlan.""" + + ids: list[str] | None = ... + """A list of all the ApiKey identifiers.""" + warnings: list[str] | None = ... + """A list of warning messages.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportDocumentationPartsInput(_SerdeShape): + """ + Import documentation parts from an external (e.g., OpenAPI) definition + file. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + mode: str | None = ... + """ + A query parameter to indicate whether to overwrite (`overwrite`) any + existing DocumentationParts definition or to merge (`merge`) the new + definition into the existing one. The default value is `merge`. + """ + fail_on_warnings: bool = ... + """ + A query parameter to specify whether to rollback the documentation + importation (`true`) or not (`false`) when a warning is encountered. The + default value is `false`. + """ + body: bytes | None = ... + """ + Raw byte array representing the to-be-imported documentation parts. To + import from an OpenAPI file, this is a JSON object. + """ + +@dataclass(kw_only=True) +class ImportDocumentationPartsOutput(_SerdeShape): + """A collection of the imported DocumentationPart identifiers.""" + + ids: list[str] | None = ... + """A list of the returned documentation part identifiers.""" + warnings: list[str] | None = ... + """ + A list of warning messages reported during import of documentation + parts. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportRestApiInput(_SerdeShape): + """ + A POST request to import an API to API Gateway using an input of an API + definition file. + """ + + fail_on_warnings: bool = ... + """ + A query parameter to indicate whether to rollback the API creation + (`true`) or not (`false`) when a warning is encountered. The default + value is `false`. + """ + parameters: dict[str, str] | None = ... + """ + A key-value map of context-specific query string parameters specifying + the behavior of different API importing operations. The following shows + operation-specific parameters and their supported values. + + To exclude DocumentationParts from the import, set `parameters` as + `ignore=documentation`. + + To configure the endpoint type, set `parameters` as + `endpointConfigurationTypes=EDGE`, + `endpointConfigurationTypes=REGIONAL`, or + `endpointConfigurationTypes=PRIVATE`. The default endpoint type is + `EDGE`. + + To handle imported `basepath`, set `parameters` as `basepath=ignore`, + `basepath=prepend` or `basepath=split`. + """ + body: bytes | None = ... + """ + The POST request body containing external API definitions. Currently, + only OpenAPI definition JSON/YAML files are supported. The maximum size + of the API definition file is 6MB. + """ + +@dataclass(kw_only=True) +class ImportRestApiOutput(_SerdeShape): + """Represents a REST API.""" + + id: str | None = ... + """ + The API's identifier. This identifier is unique across all of your APIs + in API Gateway. + """ + name: str | None = ... + """The API's name.""" + description: str | None = ... + """The API's description.""" + created_date: datetime | None = ... + """The timestamp when the API was created.""" + version: str | None = ... + """A version identifier for the API.""" + warnings: list[str] | None = ... + """ + The warning messages reported when `failonwarnings` is turned on during + API import. + """ + binary_media_types: list[str] | None = ... + """ + The list of binary media types supported by the RestApi. By default, the + RestApi supports only UTF-8-encoded text payloads. + """ + minimum_compression_size: int | None = ... + """ + A nullable integer that is used to enable compression (with non-negative + between 0 and 10485760 (10M) bytes, inclusive) or disable compression + (with a null value) on an API. When compression is enabled, compression + or decompression is not applied on the payload if the payload size is + smaller than this value. Setting it to zero allows compression for any + payload size. + """ + api_key_source: str | None = ... + """ + The source of the API key for metering requests according to a usage + plan. Valid values are: >`HEADER` to read the API key from the + `X-API-Key` header of a request. `AUTHORIZER` to read the API key from + the `UsageIdentifierKey` from a custom authorizer. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this RestApi showing the endpoint types + and IP address types of the API. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to this RestApi + regardless of the caller and Method configuration. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + disable_execute_api_endpoint: bool = ... + """ + Specifies whether clients can invoke your API by using the default + `execute-api` endpoint. By default, clients can invoke your API with the + default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. + To require that clients use a custom domain name to invoke your API, + disable the default endpoint. + """ + root_resource_id: str | None = ... + """The API's root resource ID.""" + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + RestApi. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the RestApi.""" + api_status: str | None = ... + """The ApiStatus of the RestApi.""" + api_status_message: str | None = ... + """ + The status message of the RestApi. When the status message is `UPDATING` + you can still invoke it. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Integration(_SerdeShape): + """ + Represents an `HTTP`, `HTTP_PROXY`, `AWS`, `AWS_PROXY`, or Mock + integration. + """ + + type: str | None = ... + """ + Specifies an API method integration type. The valid value is one of the + following: + + For the HTTP and HTTP proxy integrations, each integration can specify a + protocol (`http/https`), port and path. Standard 80 and 443 ports are + supported as well as custom ports above 1024. An HTTP or HTTP proxy + integration with a `connectionType` of `VPC_LINK` is referred to as a + private integration and uses a VpcLink to connect API Gateway to a + network load balancer of a VPC. + """ + http_method: str | None = ... + """ + Specifies the integration's HTTP method type. For the Type property, if + you specify `MOCK`, this property is optional. For Lambda integrations, + you must set the integration method to `POST`. For all other types, you + must specify this property. + """ + uri: str | None = ... + """ + Specifies Uniform Resource Identifier (URI) of the integration endpoint. + + For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully formed, + encoded HTTP(S) URL according to the RFC-3986 specification for standard + integrations. If `connectionType` is `VPC_LINK` specify the Network Load + Balancer DNS name. For `AWS` or `AWS_PROXY` integrations, the URI is of + the form + `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}`. + Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is + the name of the integrated Amazon Web Services service (e.g., s3); and + {subdomain} is a designated subdomain supported by certain Amazon Web + Services service for fast host-name lookup. action can be used for an + Amazon Web Services service action-based API, using an + Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing + {service_api} refers to a supported action {name} plus any required + input parameters. Alternatively, path can be used for an Amazon Web + Services service path-based API. The ensuing service_api refers to the + path to an Amazon Web Services service resource, including the region of + the integrated Amazon Web Services service, if applicable. For example, + for integration with the S3 API of GetObject, the uri can be either + `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` + or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}` + """ + connection_type: str | None = ... + """ + The type of the network connection to the integration endpoint. The + valid value is `INTERNET` for connections through the public routable + internet or `VPC_LINK` for private connections between API Gateway and a + network load balancer in a VPC. The default value is `INTERNET`. + """ + connection_id: str | None = ... + """ + The ID of the VpcLink used for the integration when + `connectionType=VPC_LINK` and undefined, otherwise. + """ + credentials: str | None = ... + """ + Specifies the credentials required for the integration, if any. For AWS + integrations, three options are available. To specify an IAM Role for + API Gateway to assume, use the role's Amazon Resource Name (ARN). To + require that the caller's identity be passed through from the request, + specify the string `arn:aws:iam::*:user/*`. To use resource-based + permissions on supported Amazon Web Services services, specify null. + """ + request_parameters: dict[str, str] | None = ... + """ + A key-value map specifying request parameters that are passed from the + method request to the back end. The key is an integration request + parameter name and the associated value is a method request parameter + value or static value that must be enclosed within single quotes and + pre-encoded as required by the back end. The method request parameter + value must match the pattern of `method.request.{location}.{name}`, + where `location` is `querystring`, `path`, or `header` and `name` must + be a valid and unique method request parameter name. + """ + request_templates: dict[str, str] | None = ... + """ + Represents a map of Velocity templates that are applied on the request + payload based on the value of the Content-Type header sent by the + client. The content type value is the key in this map, and the template + (as a String) is the value. + """ + passthrough_behavior: str | None = ... + """ + Specifies how the method request body of an unmapped content type will + be passed through the integration request to the back end without + transformation. A content type is unmapped if no mapping template is + defined in the integration or the content type does not match any of the + mapped content types, as specified in `requestTemplates`. The valid + value is one of the following: `WHEN_NO_MATCH`: passes the method + request body through the integration request to the back end without + transformation when the method request content type does not match any + content type associated with the mapping templates defined in the + integration request. `WHEN_NO_TEMPLATES`: passes the method request body + through the integration request to the back end without transformation + when no mapping template is defined in the integration request. If a + template is defined when this option is selected, the method request of + an unmapped content-type will be rejected with an HTTP 415 Unsupported + Media Type response. `NEVER`: rejects the method request with an HTTP + 415 Unsupported Media Type response when either the method request + content type does not match any content type associated with the mapping + templates defined in the integration request or no mapping template is + defined in the integration request. + """ + content_handling: str | None = ... + """ + Specifies how to handle request payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the request payload will be passed + through from the method request to integration request without + modification, provided that the `passthroughBehavior` is configured to + support payload pass-through. + """ + timeout_in_millis: int = ... + """ + Custom timeout between 50 and 29,000 milliseconds. The default value is + 29,000 milliseconds or 29 seconds. You can increase the default value to + longer than 29 seconds for Regional or private APIs only. + """ + cache_namespace: str | None = ... + """ + Specifies a group of related cached parameters. By default, API Gateway + uses the resource ID as the `cacheNamespace`. You can specify the same + `cacheNamespace` across resources to return the same cached data for + requests to different resources. + """ + cache_key_parameters: list[str] | None = ... + """ + A list of request parameters whose values API Gateway caches. To be + valid values for `cacheKeyParameters`, these parameters must also be + specified for Method `requestParameters`. + """ + integration_responses: dict[str, IntegrationResponse] | None = ... + """Specifies the integration's responses.""" + tls_config: TlsConfig | None = ... + """Specifies the TLS configuration for an integration.""" + response_transfer_mode: str | None = ... + """The response transfer mode of the integration.""" + integration_target: str | None = ... + """The ALB or NLB listener to send the request to.""" + +@dataclass(kw_only=True) +class IntegrationResponse(_SerdeShape): + """ + Represents an integration response. The status code must map to an + existing MethodResponse, and parameters and templates can be used to + transform the back-end response. + """ + + status_code: str | None = ... + """ + Specifies the status code that is used to map the integration response + to an existing MethodResponse. + """ + selection_pattern: str | None = ... + """ + Specifies the regular expression (regex) pattern used to choose an + integration response based on the response from the back end. For + example, if the success response returns nothing and the error response + returns some string, you could use the `.+` regex to match error + response. However, make sure that the error response does not contain + any newline (`\n`) character in such cases. If the back end is an Lambda + function, the Lambda function error header is matched. For all other + HTTP and Amazon Web Services back ends, the HTTP status code is matched. + """ + response_parameters: dict[str, str] | None = ... + """ + A key-value map specifying response parameters that are passed to the + method response from the back end. The key is a method response header + parameter name and the mapped value is an integration response header + value, a static value enclosed within a pair of single quotes, or a JSON + expression from the integration response body. The mapping key must + match the pattern of `method.response.header.{name}`, where `name` is a + valid and unique header name. The mapped non-static value must match the + pattern of `integration.response.header.{name}` or + `integration.response.body.{JSON-expression}`, where `name` is a valid + and unique response header name and `JSON-expression` is a valid JSON + expression without the `$` prefix. + """ + response_templates: dict[str, str] | None = ... + """ + Specifies the templates used to transform the integration response body. + Response templates are represented as a key/value map, with a + content-type as the key and a template as the value. + """ + content_handling: str | None = ... + """ + Specifies how to handle response payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the response payload will be passed + through from the integration response to the method response without + modification. + """ + +class IntegrationType(UnknownEnumMixin, StrEnum): + """ + The integration type. The valid value is `HTTP` for integrating an API + method with an HTTP backend; `AWS` with any Amazon Web Services service + endpoints; `MOCK` for testing without actually invoking the backend; + `HTTP_PROXY` for integrating with the HTTP proxy integration; + `AWS_PROXY` for integrating with the Lambda proxy integration. + """ + + HTTP = "HTTP" + AWS = "AWS" + MOCK = "MOCK" + HTTP_PROXY = "HTTP_PROXY" + AWS_PROXY = "AWS_PROXY" + +class IpAddressType(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + DUALSTACK = "dualstack" + +@dataclass(kw_only=True) +class LimitExceededException(ServiceError, _SerdeShape): + """ + The request exceeded the rate limit. Retry after the specified time + period. + """ + + retry_after_seconds: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class LocationStatusType(UnknownEnumMixin, StrEnum): + DOCUMENTED = "DOCUMENTED" + UNDOCUMENTED = "UNDOCUMENTED" + +@dataclass(kw_only=True) +class Method(_SerdeShape): + """ + Represents a client-facing interface by which the client calls the API + to access back-end resources. A Method resource is integrated with an + Integration resource. Both consist of a request and one or more + responses. The method request takes the client input that is passed to + the back end through the integration request. A method response returns + the output from the back end to the client through an integration + response. A method request is embodied in a Method resource, whereas an + integration request is embodied in an Integration resource. On the other + hand, a method response is represented by a MethodResponse resource, + whereas an integration response is represented by an IntegrationResponse + resource. + """ + + http_method: str | None = ... + """The method's HTTP verb.""" + authorization_type: str | None = ... + """ + The method's authorization type. Valid values are `NONE` for open + access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a + custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user + pool. + """ + authorizer_id: str | None = ... + """ + The identifier of an Authorizer to use on this method. The + `authorizationType` must be `CUSTOM`. + """ + api_key_required: bool | None = ... + """ + A boolean flag specifying whether a valid ApiKey is required to invoke + this method. + """ + request_validator_id: str | None = ... + """The identifier of a RequestValidator for request validation.""" + operation_name: str | None = ... + """ + A human-friendly operation identifier for the method. For example, you + can assign the `operationName` of `ListPets` for the `GET /pets` method + in the `PetStore` example. + """ + request_parameters: dict[str, bool] | None = ... + """ + A key-value map defining required or optional method request parameters + that can be accepted by API Gateway. A key is a method request parameter + name matching the pattern of `method.request.{location}.{name}`, where + `location` is `querystring`, `path`, or `header` and `name` is a valid + and unique parameter name. The value associated with the key is a + Boolean flag indicating whether the parameter is required (`true`) or + optional (`false`). The method request parameter names defined here are + available in Integration to be mapped to integration request parameters + or templates. + """ + request_models: dict[str, str] | None = ... + """ + A key-value map specifying data schemas, represented by Model resources, + (as the mapped value) of the request payloads of given content types (as + the mapping key). + """ + method_responses: dict[str, MethodResponse] | None = ... + """Gets a method response associated with a given HTTP status code.""" + method_integration: Integration | None = ... + """ + Gets the method's integration responsible for passing the + client-submitted request to the back end and performing necessary + transformations to make the request compliant with the back end. + """ + authorization_scopes: list[str] | None = ... + """ + A list of authorization scopes configured on the method. The scopes are + used with a `COGNITO_USER_POOLS` authorizer to authorize the method + invocation. The authorization works by matching the method scopes + against the scopes parsed from the access token in the incoming request. + The method invocation is authorized if any method scopes matches a + claimed scope in the access token. Otherwise, the invocation is not + authorized. When the method scope is configured, the client must provide + an access token instead of an identity token for authorization purposes. + """ + +@dataclass(kw_only=True) +class MethodResponse(_SerdeShape): + """ + Represents a method response of a given HTTP status code returned to the + client. The method response is passed from the back end through the + associated integration response that can be transformed using a mapping + template. + """ + + status_code: str | None = ... + """The method response's status code.""" + response_parameters: dict[str, bool] | None = ... + """ + A key-value map specifying required or optional response parameters that + API Gateway can send back to the caller. A key defines a method response + header and the value specifies whether the associated method response + header is required or not. The expression of the key must match the + pattern `method.response.header.{name}`, where `name` is a valid and + unique header name. API Gateway passes certain integration response data + to the method response headers specified here according to the mapping + you prescribe in the API's IntegrationResponse. The integration + response data that can be mapped include an integration response header + expressed in `integration.response.header.{name}`, a static value + enclosed within a pair of single quotes (e.g., `'application/json'`), or + a JSON expression from the back-end response payload in the form of + `integration.response.body.{JSON-expression}`, where `JSON-expression` + is a valid JSON expression without the `$` prefix.) + """ + response_models: dict[str, str] | None = ... + """ + Specifies the Model resources used for the response's content-type. + Response models are represented as a key/value map, with a content-type + as the key and a Model name as the value. + """ + +@dataclass(kw_only=True) +class MethodSetting(_SerdeShape): + """Specifies the method setting properties.""" + + metrics_enabled: bool = ... + """Specifies whether Amazon CloudWatch metrics are enabled for this method.""" + logging_level: str | None = ... + """ + Specifies the logging level for this method, which affects the log + entries pushed to Amazon CloudWatch Logs. Valid values are `OFF`, + `ERROR`, and `INFO`. Choose `ERROR` to write only error-level entries to + CloudWatch Logs, or choose `INFO` to include all `ERROR` events as well + as extra informational events. + """ + data_trace_enabled: bool = ... + """ + Specifies whether data trace logging is enabled for this method, which + affects the log entries pushed to Amazon CloudWatch Logs. This can be + useful to troubleshoot APIs, but can result in logging sensitive data. + We recommend that you don't enable this option for production APIs. + """ + throttling_burst_limit: int = ... + """Specifies the throttling burst limit.""" + throttling_rate_limit: float = ... + """Specifies the throttling rate limit.""" + caching_enabled: bool = ... + """ + Specifies whether responses should be cached and returned for requests. + A cache cluster must be enabled on the stage for responses to be cached. + """ + cache_ttl_in_seconds: int = ... + """ + Specifies the time to live (TTL), in seconds, for cached responses. The + higher the TTL, the longer the response will be cached. + """ + cache_data_encrypted: bool = ... + """Specifies whether the cached responses are encrypted.""" + require_authorization_for_cache_control: bool = ... + """ + Specifies whether authorization is required for a cache invalidation + request. + """ + unauthorized_cache_control_header_strategy: str | None = ... + """Specifies how to handle unauthorized requests for cache invalidation.""" + +@dataclass(kw_only=True) +class MethodSnapshot(_SerdeShape): + """ + Represents a summary of a Method resource, given a particular date and + time. + """ + + authorization_type: str | None = ... + """ + The method's authorization type. Valid values are `NONE` for open + access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a + custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user + pool. + """ + api_key_required: bool = ... + """Specifies whether the method requires a valid ApiKey.""" + +@dataclass(kw_only=True) +class Model(_SerdeShape): + """ + Represents the data structure of a method's request or response + payload. + """ + + id: str | None = ... + """The identifier for the model resource.""" + name: str | None = ... + """The name of the model. Must be an alphanumeric string.""" + description: str | None = ... + """The description of the model.""" + schema: str | None = ... + """ + The schema for the model. For `application/json` models, this should be + JSON schema draft 4 model. Do not include \"\\*/\" characters in the + description of any properties because such \"\\*/\" characters may be + interpreted as the closing marker for comments in some languages, such + as Java or JavaScript, causing the installation of your API's SDK + generated by API Gateway to fail. + """ + content_type: str | None = ... + """The content-type for the model.""" + +@dataclass(kw_only=True) +class MutualTlsAuthentication(_SerdeShape): + """ + The mutual TLS authentication configuration for a custom domain name. If + specified, API Gateway performs two-way authentication between the + client and the server. Clients must present a trusted certificate to + access your API. + """ + + truststore_uri: str | None = ... + """ + An Amazon S3 URL that specifies the truststore for mutual TLS + authentication, for example `s3://bucket-name/key-name`. The truststore + can contain certificates from public or private certificate authorities. + To update the truststore, upload a new version to S3, and then update + your custom domain name to use the new version. To update the + truststore, you must have permissions to access the S3 object. + """ + truststore_version: str | None = ... + """ + The version of the S3 object that contains your truststore. To specify a + version, you must have versioning enabled for the S3 bucket. + """ + truststore_warnings: list[str] | None = ... + """ + A list of warnings that API Gateway returns while processing your + truststore. Invalid certificates produce warnings. Mutual TLS is still + enabled, but some clients might not be able to access your API. To + resolve warnings, upload a new truststore to S3, and then update you + domain name to use the new version. + """ + +@dataclass(kw_only=True) +class MutualTlsAuthenticationInput(_SerdeShape): + """ + The mutual TLS authentication configuration for a custom domain name. If + specified, API Gateway performs two-way authentication between the + client and the server. Clients must present a trusted certificate to + access your API. + """ + + truststore_uri: str | None = ... + """ + An Amazon S3 URL that specifies the truststore for mutual TLS + authentication, for example `s3://bucket-name/key-name`. The truststore + can contain certificates from public or private certificate authorities. + To update the truststore, upload a new version to S3, and then update + your custom domain name to use the new version. To update the + truststore, you must have permissions to access the S3 object. + """ + truststore_version: str | None = ... + """ + The version of the S3 object that contains your truststore. To specify a + version, you must have versioning enabled for the S3 bucket + """ + +@dataclass(kw_only=True) +class NotFoundException(ServiceError, _SerdeShape): + """ + The requested resource is not found. Make sure that the request URI is + correct. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class Op(UnknownEnumMixin, StrEnum): + ADD = "add" + REMOVE = "remove" + REPLACE = "replace" + MOVE = "move" + COPY = "copy" + TEST = "test" + +@dataclass(kw_only=True) +class PatchOperation(_SerdeShape): + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + + op: str | None = ... + """ + An update operation to be performed with this PATCH request. The valid + value can be add, remove, replace or copy. Not all valid operations are + supported for a given resource. Support of the operations depends on + specific operational contexts. Attempts to apply an unsupported + operation on a resource will return an error message.. + """ + path: str | None = ... + """ + The op operation's target, as identified by a JSON Pointer value that + references a location within the targeted resource. For example, if the + target resource has an updateable property of {\"name\":\"value\"}, the + path for this property is /name. If the name property value is a JSON + object (e.g., {\"name\": {\"child/name\": \"child-value\"}}), the path + for the child/name property will be /name/child~1name. Any slash + (\"/\") character appearing in path names must be escaped with \"~1\", + as shown in the example above. Each op operation can have only one path + associated with it. + """ + value: str | None = ... + """ + The new target value of the update operation. It is applicable for the + add or replace operation. When using AWS CLI to update a property of a + JSON value, enclose the JSON object with a pair of single quotes in a + Linux shell, e.g., '{\"a\": ...}'. + """ + from_: str | None = ... + """ + The copy update operation's source as identified by a JSON-Pointer + value referencing the location within the targeted resource to copy the + value from. For example, to promote a canary deployment, you copy the + canary deployment ID to the affiliated deployment ID by calling a PATCH + request on a Stage resource with \"op\":\"copy\", + \"from\":\"/canarySettings/deploymentId\" and + \"path\":\"/deploymentId\". + """ + +@dataclass(kw_only=True) +class PutGatewayResponseInput(_SerdeShape): + """ + Creates a customization of a GatewayResponse of a specified response + type and status code on the given RestApi. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + response_type: str | None = ... + """The response type of the associated GatewayResponse""" + status_code: str | None = ... + """The HTTP status code of the GatewayResponse.""" + response_parameters: dict[str, str] | None = ... + """ + Response parameters (paths, query strings and headers) of the + GatewayResponse as a string-to-string map of key-value pairs. + """ + response_templates: dict[str, str] | None = ... + """ + Response templates of the GatewayResponse as a string-to-string map of + key-value pairs. + """ + +@dataclass(kw_only=True) +class PutGatewayResponseOutput(_SerdeShape): + """ + A gateway response of a given response type and status code, with + optional response parameters and mapping templates. + """ + + response_type: str | None = ... + """The response type of the associated GatewayResponse.""" + status_code: str | None = ... + """The HTTP status code for this GatewayResponse.""" + response_parameters: dict[str, str] | None = ... + """ + Response parameters (paths, query strings and headers) of the + GatewayResponse as a string-to-string map of key-value pairs. + """ + response_templates: dict[str, str] | None = ... + """ + Response templates of the GatewayResponse as a string-to-string map of + key-value pairs. + """ + default_response: bool = ... + """ + A Boolean flag to indicate whether this GatewayResponse is the default + gateway response (`true`) or not (`false`). A default gateway response + is one generated by API Gateway without any customization by an API + developer. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutIntegrationInput(_SerdeShape): + """Sets up a method's integration.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """Specifies a put integration request's resource ID.""" + http_method: str | None = ... + """Specifies the HTTP method for the integration.""" + type: str | None = ... + """Specifies a put integration input's type.""" + integration_http_method: str | None = ... + """The HTTP method for the integration.""" + uri: str | None = ... + """ + Specifies Uniform Resource Identifier (URI) of the integration endpoint. + For HTTP or `HTTP_PROXY` integrations, the URI must be a fully formed, + encoded HTTP(S) URL according to the RFC-3986 specification, for either + standard integration, where `connectionType` is not `VPC_LINK`, or + private integration, where `connectionType` is `VPC_LINK`. For a private + HTTP integration, the URI is not used for routing. For `AWS` or + `AWS_PROXY` integrations, the URI is of the form + `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api`}. + Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is + the name of the integrated Amazon Web Services service (e.g., s3); and + {subdomain} is a designated subdomain supported by certain Amazon Web + Services service for fast host-name lookup. action can be used for an + Amazon Web Services service action-based API, using an + Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing + {service_api} refers to a supported action {name} plus any required + input parameters. Alternatively, path can be used for an Amazon Web + Services service path-based API. The ensuing service_api refers to the + path to an Amazon Web Services service resource, including the region of + the integrated Amazon Web Services service, if applicable. For example, + for integration with the S3 API of `GetObject`, the `uri` can be either + `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` + or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}`. + """ + connection_type: str | None = ... + """ + The type of the network connection to the integration endpoint. The + valid value is `INTERNET` for connections through the public routable + internet or `VPC_LINK` for private connections between API Gateway and a + network load balancer in a VPC. The default value is `INTERNET`. + """ + connection_id: str | None = ... + """ + The ID of the VpcLink used for the integration. Specify this value only + if you specify `VPC_LINK` as the connection type. + """ + credentials: str | None = ... + """Specifies whether credentials are required for a put integration.""" + request_parameters: dict[str, str] | None = ... + """ + A key-value map specifying request parameters that are passed from the + method request to the back end. The key is an integration request + parameter name and the associated value is a method request parameter + value or static value that must be enclosed within single quotes and + pre-encoded as required by the back end. The method request parameter + value must match the pattern of `method.request.{location}.{name}`, + where `location` is `querystring`, `path`, or `header` and `name` must + be a valid and unique method request parameter name. + """ + request_templates: dict[str, str] | None = ... + """ + Represents a map of Velocity templates that are applied on the request + payload based on the value of the Content-Type header sent by the + client. The content type value is the key in this map, and the template + (as a String) is the value. + """ + passthrough_behavior: str | None = ... + """ + Specifies the pass-through behavior for incoming requests based on the + Content-Type header in the request, and the available mapping templates + specified as the `requestTemplates` property on the Integration + resource. There are three valid values: `WHEN_NO_MATCH`, + `WHEN_NO_TEMPLATES`, and `NEVER`. + """ + cache_namespace: str | None = ... + """ + Specifies a group of related cached parameters. By default, API Gateway + uses the resource ID as the `cacheNamespace`. You can specify the same + `cacheNamespace` across resources to return the same cached data for + requests to different resources. + """ + cache_key_parameters: list[str] | None = ... + """ + A list of request parameters whose values API Gateway caches. To be + valid values for `cacheKeyParameters`, these parameters must also be + specified for Method `requestParameters`. + """ + content_handling: str | None = ... + """ + Specifies how to handle request payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the request payload will be passed + through from the method request to integration request without + modification, provided that the `passthroughBehavior` is configured to + support payload pass-through. + """ + timeout_in_millis: int | None = ... + """ + Custom timeout between 50 and 29,000 milliseconds. The default value is + 29,000 milliseconds or 29 seconds. You can increase the default value to + longer than 29 seconds for Regional or private APIs only. + """ + tls_config: TlsConfig | None = ... + """Specifies the TLS configuration for an integration.""" + response_transfer_mode: str | None = ... + """The response transfer mode of the integration.""" + integration_target: str | None = ... + """The ALB or NLB listener to send the request to.""" + +@dataclass(kw_only=True) +class PutIntegrationOutput(_SerdeShape): + """ + Represents an `HTTP`, `HTTP_PROXY`, `AWS`, `AWS_PROXY`, or Mock + integration. + """ + + type: str | None = ... + """ + Specifies an API method integration type. The valid value is one of the + following: + + For the HTTP and HTTP proxy integrations, each integration can specify a + protocol (`http/https`), port and path. Standard 80 and 443 ports are + supported as well as custom ports above 1024. An HTTP or HTTP proxy + integration with a `connectionType` of `VPC_LINK` is referred to as a + private integration and uses a VpcLink to connect API Gateway to a + network load balancer of a VPC. + """ + http_method: str | None = ... + """ + Specifies the integration's HTTP method type. For the Type property, if + you specify `MOCK`, this property is optional. For Lambda integrations, + you must set the integration method to `POST`. For all other types, you + must specify this property. + """ + uri: str | None = ... + """ + Specifies Uniform Resource Identifier (URI) of the integration endpoint. + + For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully formed, + encoded HTTP(S) URL according to the RFC-3986 specification for standard + integrations. If `connectionType` is `VPC_LINK` specify the Network Load + Balancer DNS name. For `AWS` or `AWS_PROXY` integrations, the URI is of + the form + `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}`. + Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is + the name of the integrated Amazon Web Services service (e.g., s3); and + {subdomain} is a designated subdomain supported by certain Amazon Web + Services service for fast host-name lookup. action can be used for an + Amazon Web Services service action-based API, using an + Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing + {service_api} refers to a supported action {name} plus any required + input parameters. Alternatively, path can be used for an Amazon Web + Services service path-based API. The ensuing service_api refers to the + path to an Amazon Web Services service resource, including the region of + the integrated Amazon Web Services service, if applicable. For example, + for integration with the S3 API of GetObject, the uri can be either + `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` + or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}` + """ + connection_type: str | None = ... + """ + The type of the network connection to the integration endpoint. The + valid value is `INTERNET` for connections through the public routable + internet or `VPC_LINK` for private connections between API Gateway and a + network load balancer in a VPC. The default value is `INTERNET`. + """ + connection_id: str | None = ... + """ + The ID of the VpcLink used for the integration when + `connectionType=VPC_LINK` and undefined, otherwise. + """ + credentials: str | None = ... + """ + Specifies the credentials required for the integration, if any. For AWS + integrations, three options are available. To specify an IAM Role for + API Gateway to assume, use the role's Amazon Resource Name (ARN). To + require that the caller's identity be passed through from the request, + specify the string `arn:aws:iam::*:user/*`. To use resource-based + permissions on supported Amazon Web Services services, specify null. + """ + request_parameters: dict[str, str] | None = ... + """ + A key-value map specifying request parameters that are passed from the + method request to the back end. The key is an integration request + parameter name and the associated value is a method request parameter + value or static value that must be enclosed within single quotes and + pre-encoded as required by the back end. The method request parameter + value must match the pattern of `method.request.{location}.{name}`, + where `location` is `querystring`, `path`, or `header` and `name` must + be a valid and unique method request parameter name. + """ + request_templates: dict[str, str] | None = ... + """ + Represents a map of Velocity templates that are applied on the request + payload based on the value of the Content-Type header sent by the + client. The content type value is the key in this map, and the template + (as a String) is the value. + """ + passthrough_behavior: str | None = ... + """ + Specifies how the method request body of an unmapped content type will + be passed through the integration request to the back end without + transformation. A content type is unmapped if no mapping template is + defined in the integration or the content type does not match any of the + mapped content types, as specified in `requestTemplates`. The valid + value is one of the following: `WHEN_NO_MATCH`: passes the method + request body through the integration request to the back end without + transformation when the method request content type does not match any + content type associated with the mapping templates defined in the + integration request. `WHEN_NO_TEMPLATES`: passes the method request body + through the integration request to the back end without transformation + when no mapping template is defined in the integration request. If a + template is defined when this option is selected, the method request of + an unmapped content-type will be rejected with an HTTP 415 Unsupported + Media Type response. `NEVER`: rejects the method request with an HTTP + 415 Unsupported Media Type response when either the method request + content type does not match any content type associated with the mapping + templates defined in the integration request or no mapping template is + defined in the integration request. + """ + content_handling: str | None = ... + """ + Specifies how to handle request payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the request payload will be passed + through from the method request to integration request without + modification, provided that the `passthroughBehavior` is configured to + support payload pass-through. + """ + timeout_in_millis: int = ... + """ + Custom timeout between 50 and 29,000 milliseconds. The default value is + 29,000 milliseconds or 29 seconds. You can increase the default value to + longer than 29 seconds for Regional or private APIs only. + """ + cache_namespace: str | None = ... + """ + Specifies a group of related cached parameters. By default, API Gateway + uses the resource ID as the `cacheNamespace`. You can specify the same + `cacheNamespace` across resources to return the same cached data for + requests to different resources. + """ + cache_key_parameters: list[str] | None = ... + """ + A list of request parameters whose values API Gateway caches. To be + valid values for `cacheKeyParameters`, these parameters must also be + specified for Method `requestParameters`. + """ + integration_responses: dict[str, IntegrationResponse] | None = ... + """Specifies the integration's responses.""" + tls_config: TlsConfig | None = ... + """Specifies the TLS configuration for an integration.""" + response_transfer_mode: str | None = ... + """The response transfer mode of the integration.""" + integration_target: str | None = ... + """The ALB or NLB listener to send the request to.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutIntegrationResponseInput(_SerdeShape): + """Represents a put integration response request.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """Specifies a put integration response request's resource identifier.""" + http_method: str | None = ... + """Specifies a put integration response request's HTTP method.""" + status_code: str | None = ... + """ + Specifies the status code that is used to map the integration response + to an existing MethodResponse. + """ + selection_pattern: str | None = ... + """Specifies the selection pattern of a put integration response.""" + response_parameters: dict[str, str] | None = ... + """ + A key-value map specifying response parameters that are passed to the + method response from the back end. The key is a method response header + parameter name and the mapped value is an integration response header + value, a static value enclosed within a pair of single quotes, or a JSON + expression from the integration response body. The mapping key must + match the pattern of `method.response.header.{name}`, where `name` is a + valid and unique header name. The mapped non-static value must match the + pattern of `integration.response.header.{name}` or + `integration.response.body.{JSON-expression}`, where `name` must be a + valid and unique response header name and `JSON-expression` a valid JSON + expression without the `$` prefix. + """ + response_templates: dict[str, str] | None = ... + """Specifies a put integration response's templates.""" + content_handling: str | None = ... + """ + Specifies how to handle response payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the response payload will be passed + through from the integration response to the method response without + modification. + """ + +@dataclass(kw_only=True) +class PutIntegrationResponseOutput(_SerdeShape): + """ + Represents an integration response. The status code must map to an + existing MethodResponse, and parameters and templates can be used to + transform the back-end response. + """ + + status_code: str | None = ... + """ + Specifies the status code that is used to map the integration response + to an existing MethodResponse. + """ + selection_pattern: str | None = ... + """ + Specifies the regular expression (regex) pattern used to choose an + integration response based on the response from the back end. For + example, if the success response returns nothing and the error response + returns some string, you could use the `.+` regex to match error + response. However, make sure that the error response does not contain + any newline (`\n`) character in such cases. If the back end is an Lambda + function, the Lambda function error header is matched. For all other + HTTP and Amazon Web Services back ends, the HTTP status code is matched. + """ + response_parameters: dict[str, str] | None = ... + """ + A key-value map specifying response parameters that are passed to the + method response from the back end. The key is a method response header + parameter name and the mapped value is an integration response header + value, a static value enclosed within a pair of single quotes, or a JSON + expression from the integration response body. The mapping key must + match the pattern of `method.response.header.{name}`, where `name` is a + valid and unique header name. The mapped non-static value must match the + pattern of `integration.response.header.{name}` or + `integration.response.body.{JSON-expression}`, where `name` is a valid + and unique response header name and `JSON-expression` is a valid JSON + expression without the `$` prefix. + """ + response_templates: dict[str, str] | None = ... + """ + Specifies the templates used to transform the integration response body. + Response templates are represented as a key/value map, with a + content-type as the key and a template as the value. + """ + content_handling: str | None = ... + """ + Specifies how to handle response payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the response payload will be passed + through from the integration response to the method response without + modification. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutMethodInput(_SerdeShape): + """Request to add a method to an existing Resource resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The Resource identifier for the new Method resource.""" + http_method: str | None = ... + """Specifies the method request's HTTP method type.""" + authorization_type: str | None = ... + """ + The method's authorization type. Valid values are `NONE` for open + access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a + custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user + pool. + """ + authorizer_id: str | None = ... + """ + Specifies the identifier of an Authorizer to use on this Method, if the + type is CUSTOM or COGNITO_USER_POOLS. The authorizer identifier is + generated by API Gateway when you created the authorizer. + """ + api_key_required: bool = ... + """Specifies whether the method required a valid ApiKey.""" + operation_name: str | None = ... + """ + A human-friendly operation identifier for the method. For example, you + can assign the `operationName` of `ListPets` for the `GET /pets` method + in the `PetStore` example. + """ + request_parameters: dict[str, bool] | None = ... + """ + A key-value map defining required or optional method request parameters + that can be accepted by API Gateway. A key defines a method request + parameter name matching the pattern of + `method.request.{location}.{name}`, where `location` is `querystring`, + `path`, or `header` and `name` is a valid and unique parameter name. The + value associated with the key is a Boolean flag indicating whether the + parameter is required (`true`) or optional (`false`). The method request + parameter names defined here are available in Integration to be mapped + to integration request parameters or body-mapping templates. + """ + request_models: dict[str, str] | None = ... + """ + Specifies the Model resources used for the request's content type. + Request models are represented as a key/value map, with a content type + as the key and a Model name as the value. + """ + request_validator_id: str | None = ... + """The identifier of a RequestValidator for validating the method request.""" + authorization_scopes: list[str] | None = ... + """ + A list of authorization scopes configured on the method. The scopes are + used with a `COGNITO_USER_POOLS` authorizer to authorize the method + invocation. The authorization works by matching the method scopes + against the scopes parsed from the access token in the incoming request. + The method invocation is authorized if any method scopes matches a + claimed scope in the access token. Otherwise, the invocation is not + authorized. When the method scope is configured, the client must provide + an access token instead of an identity token for authorization purposes. + """ + +@dataclass(kw_only=True) +class PutMethodOutput(_SerdeShape): + """ + Represents a client-facing interface by which the client calls the API + to access back-end resources. A Method resource is integrated with an + Integration resource. Both consist of a request and one or more + responses. The method request takes the client input that is passed to + the back end through the integration request. A method response returns + the output from the back end to the client through an integration + response. A method request is embodied in a Method resource, whereas an + integration request is embodied in an Integration resource. On the other + hand, a method response is represented by a MethodResponse resource, + whereas an integration response is represented by an IntegrationResponse + resource. + """ + + http_method: str | None = ... + """The method's HTTP verb.""" + authorization_type: str | None = ... + """ + The method's authorization type. Valid values are `NONE` for open + access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a + custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user + pool. + """ + authorizer_id: str | None = ... + """ + The identifier of an Authorizer to use on this method. The + `authorizationType` must be `CUSTOM`. + """ + api_key_required: bool | None = ... + """ + A boolean flag specifying whether a valid ApiKey is required to invoke + this method. + """ + request_validator_id: str | None = ... + """The identifier of a RequestValidator for request validation.""" + operation_name: str | None = ... + """ + A human-friendly operation identifier for the method. For example, you + can assign the `operationName` of `ListPets` for the `GET /pets` method + in the `PetStore` example. + """ + request_parameters: dict[str, bool] | None = ... + """ + A key-value map defining required or optional method request parameters + that can be accepted by API Gateway. A key is a method request parameter + name matching the pattern of `method.request.{location}.{name}`, where + `location` is `querystring`, `path`, or `header` and `name` is a valid + and unique parameter name. The value associated with the key is a + Boolean flag indicating whether the parameter is required (`true`) or + optional (`false`). The method request parameter names defined here are + available in Integration to be mapped to integration request parameters + or templates. + """ + request_models: dict[str, str] | None = ... + """ + A key-value map specifying data schemas, represented by Model resources, + (as the mapped value) of the request payloads of given content types (as + the mapping key). + """ + method_responses: dict[str, MethodResponse] | None = ... + """Gets a method response associated with a given HTTP status code.""" + method_integration: Integration | None = ... + """ + Gets the method's integration responsible for passing the + client-submitted request to the back end and performing necessary + transformations to make the request compliant with the back end. + """ + authorization_scopes: list[str] | None = ... + """ + A list of authorization scopes configured on the method. The scopes are + used with a `COGNITO_USER_POOLS` authorizer to authorize the method + invocation. The authorization works by matching the method scopes + against the scopes parsed from the access token in the incoming request. + The method invocation is authorized if any method scopes matches a + claimed scope in the access token. Otherwise, the invocation is not + authorized. When the method scope is configured, the client must provide + an access token instead of an identity token for authorization purposes. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutMethodResponseInput(_SerdeShape): + """Request to add a MethodResponse to an existing Method resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The Resource identifier for the Method resource.""" + http_method: str | None = ... + """The HTTP verb of the Method resource.""" + status_code: str | None = ... + """The method response's status code.""" + response_parameters: dict[str, bool] | None = ... + """ + A key-value map specifying required or optional response parameters that + API Gateway can send back to the caller. A key defines a method response + header name and the associated value is a Boolean flag indicating + whether the method response parameter is required or not. The method + response header names must match the pattern of + `method.response.header.{name}`, where `name` is a valid and unique + header name. The response parameter names defined here are available in + the integration response to be mapped from an integration response + header expressed in `integration.response.header.{name}`, a static value + enclosed within a pair of single quotes (e.g., `'application/json'`), or + a JSON expression from the back-end response payload in the form of + `integration.response.body.{JSON-expression}`, where `JSON-expression` + is a valid JSON expression without the `$` prefix.) + """ + response_models: dict[str, str] | None = ... + """ + Specifies the Model resources used for the response's content type. + Response models are represented as a key/value map, with a content type + as the key and a Model name as the value. + """ + +@dataclass(kw_only=True) +class PutMethodResponseOutput(_SerdeShape): + """ + Represents a method response of a given HTTP status code returned to the + client. The method response is passed from the back end through the + associated integration response that can be transformed using a mapping + template. + """ + + status_code: str | None = ... + """The method response's status code.""" + response_parameters: dict[str, bool] | None = ... + """ + A key-value map specifying required or optional response parameters that + API Gateway can send back to the caller. A key defines a method response + header and the value specifies whether the associated method response + header is required or not. The expression of the key must match the + pattern `method.response.header.{name}`, where `name` is a valid and + unique header name. API Gateway passes certain integration response data + to the method response headers specified here according to the mapping + you prescribe in the API's IntegrationResponse. The integration + response data that can be mapped include an integration response header + expressed in `integration.response.header.{name}`, a static value + enclosed within a pair of single quotes (e.g., `'application/json'`), or + a JSON expression from the back-end response payload in the form of + `integration.response.body.{JSON-expression}`, where `JSON-expression` + is a valid JSON expression without the `$` prefix.) + """ + response_models: dict[str, str] | None = ... + """ + Specifies the Model resources used for the response's content-type. + Response models are represented as a key/value map, with a content-type + as the key and a Model name as the value. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class PutMode(UnknownEnumMixin, StrEnum): + MERGE = "merge" + OVERWRITE = "overwrite" + +@dataclass(kw_only=True) +class PutRestApiInput(_SerdeShape): + """ + A PUT request to update an existing API, with external API definitions + specified as the request body. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + mode: str | None = ... + """ + The `mode` query parameter to specify the update mode. Valid values are + \"merge\" and \"overwrite\". By default, the update mode is \"merge\". + """ + fail_on_warnings: bool = ... + """ + A query parameter to indicate whether to rollback the API update + (`true`) or not (`false`) when a warning is encountered. The default + value is `false`. + """ + parameters: dict[str, str] | None = ... + """ + Custom header parameters as part of the request. For example, to exclude + DocumentationParts from an imported API, set `ignore=documentation` as a + `parameters` value, as in the AWS CLI command of + `aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'`. + """ + body: bytes | None = ... + """ + The PUT request body containing external API definitions. Currently, + only OpenAPI definition JSON/YAML files are supported. The maximum size + of the API definition file is 6MB. + """ + +@dataclass(kw_only=True) +class PutRestApiOutput(_SerdeShape): + """Represents a REST API.""" + + id: str | None = ... + """ + The API's identifier. This identifier is unique across all of your APIs + in API Gateway. + """ + name: str | None = ... + """The API's name.""" + description: str | None = ... + """The API's description.""" + created_date: datetime | None = ... + """The timestamp when the API was created.""" + version: str | None = ... + """A version identifier for the API.""" + warnings: list[str] | None = ... + """ + The warning messages reported when `failonwarnings` is turned on during + API import. + """ + binary_media_types: list[str] | None = ... + """ + The list of binary media types supported by the RestApi. By default, the + RestApi supports only UTF-8-encoded text payloads. + """ + minimum_compression_size: int | None = ... + """ + A nullable integer that is used to enable compression (with non-negative + between 0 and 10485760 (10M) bytes, inclusive) or disable compression + (with a null value) on an API. When compression is enabled, compression + or decompression is not applied on the payload if the payload size is + smaller than this value. Setting it to zero allows compression for any + payload size. + """ + api_key_source: str | None = ... + """ + The source of the API key for metering requests according to a usage + plan. Valid values are: >`HEADER` to read the API key from the + `X-API-Key` header of a request. `AUTHORIZER` to read the API key from + the `UsageIdentifierKey` from a custom authorizer. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this RestApi showing the endpoint types + and IP address types of the API. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to this RestApi + regardless of the caller and Method configuration. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + disable_execute_api_endpoint: bool = ... + """ + Specifies whether clients can invoke your API by using the default + `execute-api` endpoint. By default, clients can invoke your API with the + default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. + To require that clients use a custom domain name to invoke your API, + disable the default endpoint. + """ + root_resource_id: str | None = ... + """The API's root resource ID.""" + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + RestApi. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the RestApi.""" + api_status: str | None = ... + """The ApiStatus of the RestApi.""" + api_status_message: str | None = ... + """ + The status message of the RestApi. When the status message is `UPDATING` + you can still invoke it. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class QuotaPeriodType(UnknownEnumMixin, StrEnum): + DAY = "DAY" + WEEK = "WEEK" + MONTH = "MONTH" + +@dataclass(kw_only=True) +class QuotaSettings(_SerdeShape): + """Quotas configured for a usage plan.""" + + limit: int = ... + """ + The target maximum number of requests that can be made in a given time + period. + """ + offset: int = ... + """ + The number of requests subtracted from the given limit in the initial + time period. + """ + period: str | None = ... + """ + The time period in which the limit applies. Valid values are \"DAY\", + \"WEEK\" or \"MONTH\". + """ + +@dataclass(kw_only=True) +class RejectDomainNameAccessAssociationInput(_SerdeShape): + """Dataclass for RejectDomainNameAccessAssociationInput structure.""" + + domain_name_access_association_arn: str | None = ... + """The ARN of the domain name access association resource.""" + domain_name_arn: str | None = ... + """The ARN of the domain name.""" + +@dataclass(kw_only=True) +class RejectDomainNameAccessAssociationOutput(_SerdeShape): + """Dataclass for RejectDomainNameAccessAssociationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RequestValidator(_SerdeShape): + """A set of validation rules for incoming Method requests.""" + + id: str | None = ... + """The identifier of this RequestValidator.""" + name: str | None = ... + """The name of this RequestValidator""" + validate_request_body: bool = ... + """ + A Boolean flag to indicate whether to validate a request body according + to the configured Model schema. + """ + validate_request_parameters: bool = ... + """ + A Boolean flag to indicate whether to validate request parameters + (`true`) or not (`false`). + """ + +@dataclass(kw_only=True) +class Resource(_SerdeShape): + """Represents an API resource.""" + + id: str | None = ... + """The resource's identifier.""" + parent_id: str | None = ... + """The parent resource's identifier.""" + path_part: str | None = ... + """The last path segment for this resource.""" + path: str | None = ... + """The full path for this resource.""" + resource_methods: dict[str, Method] | None = ... + """Gets an API resource's method of a given HTTP verb.""" + +class ResourceOwner(UnknownEnumMixin, StrEnum): + SELF = "SELF" + OTHER_ACCOUNTS = "OTHER_ACCOUNTS" diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/models_1.pyi b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/models_1.pyi new file mode 100644 index 000000000..652b21bc5 --- /dev/null +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/models_1.pyi @@ -0,0 +1,2150 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccessLogSettings, + ApiStage, + CanarySettings, + DocumentationPartLocation, + EndpointConfiguration, + Integration, + IntegrationResponse, + Method, + MethodResponse, + MethodSetting, + MethodSnapshot, + MutualTlsAuthentication, + PatchOperation, + QuotaSettings, + ServiceError, + _SerdeShape, +) + +class ResponseTransferMode(UnknownEnumMixin, StrEnum): + BUFFERED = "BUFFERED" + STREAM = "STREAM" + +@dataclass(kw_only=True) +class RestApi(_SerdeShape): + """Represents a REST API.""" + + id: str | None = ... + """ + The API's identifier. This identifier is unique across all of your APIs + in API Gateway. + """ + name: str | None = ... + """The API's name.""" + description: str | None = ... + """The API's description.""" + created_date: datetime | None = ... + """The timestamp when the API was created.""" + version: str | None = ... + """A version identifier for the API.""" + warnings: list[str] | None = ... + """ + The warning messages reported when `failonwarnings` is turned on during + API import. + """ + binary_media_types: list[str] | None = ... + """ + The list of binary media types supported by the RestApi. By default, the + RestApi supports only UTF-8-encoded text payloads. + """ + minimum_compression_size: int | None = ... + """ + A nullable integer that is used to enable compression (with non-negative + between 0 and 10485760 (10M) bytes, inclusive) or disable compression + (with a null value) on an API. When compression is enabled, compression + or decompression is not applied on the payload if the payload size is + smaller than this value. Setting it to zero allows compression for any + payload size. + """ + api_key_source: str | None = ... + """ + The source of the API key for metering requests according to a usage + plan. Valid values are: >`HEADER` to read the API key from the + `X-API-Key` header of a request. `AUTHORIZER` to read the API key from + the `UsageIdentifierKey` from a custom authorizer. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this RestApi showing the endpoint types + and IP address types of the API. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to this RestApi + regardless of the caller and Method configuration. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + disable_execute_api_endpoint: bool = ... + """ + Specifies whether clients can invoke your API by using the default + `execute-api` endpoint. By default, clients can invoke your API with the + default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. + To require that clients use a custom domain name to invoke your API, + disable the default endpoint. + """ + root_resource_id: str | None = ... + """The API's root resource ID.""" + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + RestApi. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the RestApi.""" + api_status: str | None = ... + """The ApiStatus of the RestApi.""" + api_status_message: str | None = ... + """ + The status message of the RestApi. When the status message is `UPDATING` + you can still invoke it. + """ + +class RoutingMode(UnknownEnumMixin, StrEnum): + BASE_PATH_MAPPING_ONLY = "BASE_PATH_MAPPING_ONLY" + ROUTING_RULE_ONLY = "ROUTING_RULE_ONLY" + ROUTING_RULE_THEN_BASE_PATH_MAPPING = "ROUTING_RULE_THEN_BASE_PATH_MAPPING" + +@dataclass(kw_only=True) +class SdkConfigurationProperty(_SerdeShape): + """A configuration property of an SDK type.""" + + name: str | None = ... + """The name of a an SdkType configuration property.""" + friendly_name: str | None = ... + """The user-friendly name of an SdkType configuration property.""" + description: str | None = ... + """The description of an SdkType configuration property.""" + required: bool = ... + """ + A boolean flag of an SdkType configuration property to indicate if the + associated SDK configuration property is required (`true`) or not + (`false`). + """ + default_value: str | None = ... + """The default value of an SdkType configuration property.""" + +@dataclass(kw_only=True) +class SdkType(_SerdeShape): + """A type of SDK that API Gateway can generate.""" + + id: str | None = ... + """The identifier of an SdkType instance.""" + friendly_name: str | None = ... + """The user-friendly name of an SdkType instance.""" + description: str | None = ... + """The description of an SdkType.""" + configuration_properties: list[SdkConfigurationProperty] | None = ... + """A list of configuration properties of an SdkType.""" + +class SecurityPolicy(UnknownEnumMixin, StrEnum): + TLS_1_0 = "TLS_1_0" + TLS_1_2 = "TLS_1_2" + SECURITY_POLICY_TLS13_1_3_2025_09 = "SecurityPolicy_TLS13_1_3_2025_09" + SECURITY_POLICY_TLS13_1_3_FIPS_2025_09 = "SecurityPolicy_TLS13_1_3_FIPS_2025_09" + SECURITY_POLICY_TLS13_1_2_PFS_PQ_2025_09 = "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" + SECURITY_POLICY_TLS13_1_2_FIPS_PQ_2025_09 = ( + "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" + ) + SECURITY_POLICY_TLS13_1_2_FIPS_PFS_PQ_2025_09 = ( + "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" + ) + SECURITY_POLICY_TLS13_1_2_EXT2_PQ_2025_09 = ( + "SecurityPolicy_TLS13_1_2_Ext2_PQ_2025_09" + ) + SECURITY_POLICY_TLS13_1_2_EXT2_FIPS_PQ_2025_09 = ( + "SecurityPolicy_TLS13_1_2_Ext2_FIPS_PQ_2025_09" + ) + SECURITY_POLICY_TLS13_1_2_PQ_2025_09 = "SecurityPolicy_TLS13_1_2_PQ_2025_09" + SECURITY_POLICY_TLS13_1_2_2021_06 = "SecurityPolicy_TLS13_1_2_2021_06" + SECURITY_POLICY_TLS13_2025_EDGE = "SecurityPolicy_TLS13_2025_EDGE" + SECURITY_POLICY_TLS12_PFS_2025_EDGE = "SecurityPolicy_TLS12_PFS_2025_EDGE" + SECURITY_POLICY_TLS12_2018_EDGE = "SecurityPolicy_TLS12_2018_EDGE" + +@dataclass(kw_only=True) +class ServiceUnavailableException(ServiceError, _SerdeShape): + """ + The requested service is not available. For details see the accompanying + error message. Retry after the specified time period. + """ + + retry_after_seconds: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Stage(_SerdeShape): + """ + Represents a unique identifier for a version of a deployed RestApi that + is callable by users. + """ + + deployment_id: str | None = ... + """The identifier of the Deployment that the stage points to.""" + client_certificate_id: str | None = ... + """The identifier of a client certificate for an API stage.""" + stage_name: str | None = ... + """ + The name of the stage is the first path segment in the Uniform Resource + Identifier (URI) of a call to API Gateway. Stage names can only contain + alphanumeric characters, hyphens, and underscores. Maximum length is 128 + characters. + """ + description: str | None = ... + """The stage's description.""" + cache_cluster_enabled: bool = ... + """ + Specifies whether a cache cluster is enabled for the stage. To activate + a method-level cache, set `CachingEnabled` to `true` for a method. + """ + cache_cluster_size: str | None = ... + """ + The stage's cache capacity in GB. For more information about choosing a + cache size, see [Enabling API caching to enhance + responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). + """ + cache_cluster_status: str | None = ... + """The status of the cache cluster for the stage, if enabled.""" + method_settings: dict[str, MethodSetting] | None = ... + """ + A map that defines the method settings for a Stage resource. Keys + (designated as `/{method_setting_key` below) are method paths defined as + `{resource_path}/{http_method}` for an individual method override, or + `/*/*` for overriding all methods in the stage. + """ + variables: dict[str, str] | None = ... + """ + A map that defines the stage variables for a Stage resource. Variable + names can have alphanumeric and underscore characters, and the values + must match `[A-Za-z0-9-._~:/?#&=,]+`. + """ + documentation_version: str | None = ... + """The version of the associated API documentation.""" + access_log_settings: AccessLogSettings | None = ... + """Settings for logging access in this stage.""" + canary_settings: CanarySettings | None = ... + """Settings for the canary deployment in this stage.""" + tracing_enabled: bool = ... + """Specifies whether active tracing with X-ray is enabled for the Stage.""" + web_acl_arn: str | None = ... + """The ARN of the WebAcl associated with the Stage.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + created_date: datetime | None = ... + """The timestamp when the stage was created.""" + last_updated_date: datetime | None = ... + """The timestamp when the stage last updated.""" + +@dataclass(kw_only=True) +class StageKey(_SerdeShape): + """ + A reference to a unique stage identified in the format + `{restApiId}/{stage}`. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """The stage name associated with the stage key.""" + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Adds or updates a tag on a given resource.""" + + resource_arn: str | None = ... + """The ARN of a resource that can be tagged.""" + tags: dict[str, str] | None = ... + """ + The key-value map of strings. The valid character set is + [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not + start with `aws:`. The tag value can be up to 256 characters. + """ + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TestInvokeAuthorizerInput(_SerdeShape): + """Make a request to simulate the invocation of an Authorizer.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + authorizer_id: str | None = ... + """Specifies a test invoke authorizer request's Authorizer ID.""" + headers: dict[str, str] | None = ... + """ + A key-value map of headers to simulate an incoming invocation request. + This is where the incoming authorization token, or identity source, + should be specified. + """ + multi_value_headers: dict[str, list[str]] | None = ... + """ + The headers as a map from string to list of values to simulate an + incoming invocation request. This is where the incoming authorization + token, or identity source, may be specified. + """ + path_with_query_string: str | None = ... + """ + The URI path, including query string, of the simulated invocation + request. Use this to specify path parameters and query string + parameters. + """ + body: str | None = ... + """The simulated request body of an incoming invocation request.""" + stage_variables: dict[str, str] | None = ... + """ + A key-value map of stage variables to simulate an invocation on a + deployed Stage. + """ + additional_context: dict[str, str] | None = ... + """A key-value map of additional context variables.""" + +@dataclass(kw_only=True) +class TestInvokeAuthorizerOutput(_SerdeShape): + """ + Represents the response of the test invoke request for a custom + Authorizer + """ + + client_status: int = ... + """ + The HTTP status code that the client would have received. Value is 0 if + the authorizer succeeded. + """ + log: str | None = ... + """The API Gateway execution log for the test authorizer request.""" + latency: int = ... + """The execution latency, in ms, of the test authorizer request.""" + principal_id: str | None = ... + """The principal identity returned by the Authorizer""" + policy: str | None = ... + """The JSON policy document returned by the Authorizer""" + authorization: dict[str, list[str]] | None = ... + """The authorization response.""" + claims: dict[str, str] | None = ... + """ + The open identity claims, with any supported custom attributes, returned + from the Cognito Your User Pool configured for the API. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TestInvokeMethodInput(_SerdeShape): + """Make a request to simulate the invocation of a Method.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """Specifies a test invoke method request's resource ID.""" + http_method: str | None = ... + """Specifies a test invoke method request's HTTP method.""" + path_with_query_string: str | None = ... + """ + The URI path, including query string, of the simulated invocation + request. Use this to specify path parameters and query string + parameters. + """ + body: str | None = ... + """The simulated request body of an incoming invocation request.""" + headers: dict[str, str] | None = ... + """A key-value map of headers to simulate an incoming invocation request.""" + multi_value_headers: dict[str, list[str]] | None = ... + """ + The headers as a map from string to list of values to simulate an + incoming invocation request. + """ + client_certificate_id: str | None = ... + """ + A ClientCertificate identifier to use in the test invocation. API + Gateway will use the certificate when making the HTTPS request to the + defined back-end endpoint. + """ + stage_variables: dict[str, str] | None = ... + """ + A key-value map of stage variables to simulate an invocation on a + deployed Stage. + """ + +@dataclass(kw_only=True) +class TestInvokeMethodOutput(_SerdeShape): + """Represents the response of the test invoke request in the HTTP method.""" + + status: int = ... + """The HTTP status code.""" + body: str | None = ... + """The body of the HTTP response.""" + headers: dict[str, str] | None = ... + """The headers of the HTTP response.""" + multi_value_headers: dict[str, list[str]] | None = ... + """The headers of the HTTP response as a map from string to list of values.""" + log: str | None = ... + """The API Gateway execution log for the test invoke request.""" + latency: int = ... + """The execution latency, in ms, of the test invoke request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ThrottleSettings(_SerdeShape): + """The API request rate limits.""" + + burst_limit: int = ... + """ + The API target request burst rate limit. This allows more requests + through for a period of time than the target rate limit. + """ + rate_limit: float = ... + """The API target request rate limit.""" + +@dataclass(kw_only=True) +class TlsConfig(_SerdeShape): + """Specifies the TLS configuration for an integration.""" + + insecure_skip_verification: bool = ... + """ + Specifies whether or not API Gateway skips verification that the + certificate for an integration endpoint is issued by a supported + certificate authority. This isn't recommended, but it enables you to use + certificates that are signed by private certificate authorities, or + certificates that are self-signed. If enabled, API Gateway still + performs basic certificate validation, which includes checking the + certificate's expiration date, hostname, and presence of a root + certificate authority. Supported only for `HTTP` and `HTTP_PROXY` + integrations. + + Warning: + Enabling `insecureSkipVerification` isn't recommended, especially for + integrations with public HTTPS endpoints. If you enable + `insecureSkipVerification`, you increase the risk of man-in-the-middle + attacks. + """ + +@dataclass(kw_only=True) +class TooManyRequestsException(ServiceError, _SerdeShape): + """ + The request has reached its throttling limit. Retry after the specified + time period. + """ + + retry_after_seconds: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class UnauthorizedCacheControlHeaderStrategy(UnknownEnumMixin, StrEnum): + FAIL_WITH_403 = "FAIL_WITH_403" + SUCCEED_WITH_RESPONSE_HEADER = "SUCCEED_WITH_RESPONSE_HEADER" + SUCCEED_WITHOUT_RESPONSE_HEADER = "SUCCEED_WITHOUT_RESPONSE_HEADER" + +@dataclass(kw_only=True) +class UnauthorizedException(ServiceError, _SerdeShape): + """The request is denied because the caller has insufficient permissions.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Removes a tag from a given resource.""" + + resource_arn: str | None = ... + """The ARN of a resource that can be tagged.""" + tag_keys: list[str] | None = ... + """The Tag keys to delete.""" + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAccountInput(_SerdeShape): + """ + Requests API Gateway to change information about the current Account + resource. + """ + + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateAccountOutput(_SerdeShape): + """Represents an AWS account that is associated with API Gateway.""" + + cloudwatch_role_arn: str | None = ... + """The ARN of an Amazon CloudWatch role for the current Account.""" + throttle_settings: ThrottleSettings | None = ... + """Specifies the API request limits configured for the current Account.""" + features: list[str] | None = ... + """ + A list of features supported for the account. When usage plans are + enabled, the features list will include an entry of `"UsagePlans"`. + """ + api_key_version: str | None = ... + """The version of the API keys used for the account.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateApiKeyInput(_SerdeShape): + """A request to change information about an ApiKey resource.""" + + api_key: str | None = ... + """The identifier of the ApiKey resource to be updated.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateApiKeyOutput(_SerdeShape): + """ + A resource that can be distributed to callers for executing Method + resources that require an API key. API keys can be mapped to any Stage + on any RestApi, which indicates that the callers with the API key can + make requests to that stage. + """ + + id: str | None = ... + """The identifier of the API Key.""" + value: str | None = ... + """The value of the API Key.""" + name: str | None = ... + """The name of the API Key.""" + customer_id: str | None = ... + """ + An Amazon Web Services Marketplace customer identifier, when integrating + with the Amazon Web Services SaaS Marketplace. + """ + description: str | None = ... + """The description of the API Key.""" + enabled: bool = ... + """Specifies whether the API Key can be used by callers.""" + created_date: datetime | None = ... + """The timestamp when the API Key was created.""" + last_updated_date: datetime | None = ... + """The timestamp when the API Key was last updated.""" + stage_keys: list[str] | None = ... + """A list of Stage resources that are associated with the ApiKey resource.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAuthorizerInput(_SerdeShape): + """Request to update an existing Authorizer resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + authorizer_id: str | None = ... + """The identifier of the Authorizer resource.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateAuthorizerOutput(_SerdeShape): + """ + Represents an authorization layer for methods. If enabled on a method, + API Gateway will activate the authorizer when a client calls the method. + """ + + id: str | None = ... + """The identifier for the authorizer resource.""" + name: str | None = ... + """The name of the authorizer.""" + type: str | None = ... + """ + The authorizer type. Valid values are `TOKEN` for a Lambda function + using a single authorization token submitted in a custom header, + `REQUEST` for a Lambda function using incoming request parameters, and + `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. + """ + provider_ar_ns: list[str] | None = ... + """ + A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` + authorizer. Each element is of this format: + `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For + a `TOKEN` or `REQUEST` authorizer, this is not defined. + """ + auth_type: str | None = ... + """ + Optional customer-defined field, used in OpenAPI imports and exports + without functional impact. + """ + authorizer_uri: str | None = ... + """ + Specifies the authorizer's Uniform Resource Identifier (URI). For + `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda + function URI, for example, + `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. + In general, the URI has this form + `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where + `{region}` is the same as the region hosting the Lambda function, `path` + indicates that the remaining substring in the URI should be treated as + the path to the resource, including the initial `/`. For Lambda + functions, this is usually of the form + `/2015-03-31/functions/[FunctionARN]/invocations`. + """ + authorizer_credentials: str | None = ... + """ + Specifies the required credentials as an IAM role for API Gateway to + invoke the authorizer. To specify an IAM role for API Gateway to assume, + use the role's Amazon Resource Name (ARN). To use resource-based + permissions on the Lambda function, specify null. + """ + identity_source: str | None = ... + """ + The identity source for which authorization is requested. For a `TOKEN` + or `COGNITO_USER_POOLS` authorizer, this is required and specifies the + request header mapping expression for the custom header holding the + authorization token submitted by the client. For example, if the token + header name is `Auth`, the header mapping expression is + `method.request.header.Auth`. For the `REQUEST` authorizer, this is + required when authorization caching is enabled. The value is a + comma-separated string of one or more mapping expressions of the + specified request parameters. For example, if an `Auth` header, a `Name` + query string parameter are defined as identity sources, this value is + `method.request.header.Auth`, `method.request.querystring.Name`. These + parameters will be used to derive the authorization caching key and to + perform runtime validation of the `REQUEST` authorizer by verifying all + of the identity-related request parameters are present, not null and + non-empty. Only when this is true does the authorizer invoke the + authorizer Lambda function, otherwise, it returns a 401 Unauthorized + response without calling the Lambda function. The valid value is a + string of comma-separated mapping expressions of the specified request + parameters. When the authorization caching is not enabled, this property + is optional. + """ + identity_validation_expression: str | None = ... + """ + A validation expression for the incoming identity token. For `TOKEN` + authorizers, this value is a regular expression. For + `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field + of the incoming token from the client against the specified regular + expression. It will invoke the authorizer's Lambda function when there + is a match. Otherwise, it will return a 401 Unauthorized response + without calling the Lambda function. The validation expression does not + apply to the `REQUEST` authorizer. + """ + authorizer_result_ttl_in_seconds: int | None = ... + """ + The TTL in seconds of cached authorizer results. If it equals 0, + authorization caching is disabled. If it is greater than 0, API Gateway + will cache authorizer responses. If this field is not set, the default + value is 300. The maximum value is 3600, or 1 hour. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateBasePathMappingInput(_SerdeShape): + """A request to change information about the BasePathMapping resource.""" + + domain_name: str | None = ... + """The domain name of the BasePathMapping resource to change.""" + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + base_path: str | None = ... + """ + The base path of the BasePathMapping resource to change. + + To specify an empty base path, set this parameter to `'(none)'`. + """ + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateBasePathMappingOutput(_SerdeShape): + """ + Represents the base path that callers of the API must provide as part of + the URL after the domain name. + """ + + base_path: str | None = ... + """ + The base path name that callers of the API must provide as part of the + URL after the domain name. + """ + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage: str | None = ... + """The name of the associated stage.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateClientCertificateInput(_SerdeShape): + """A request to change information about an ClientCertificate resource.""" + + client_certificate_id: str | None = ... + """The identifier of the ClientCertificate resource to be updated.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateClientCertificateOutput(_SerdeShape): + """ + Represents a client certificate used to configure client-side SSL + authentication while sending requests to the integration endpoint. + """ + + client_certificate_id: str | None = ... + """The identifier of the client certificate.""" + description: str | None = ... + """The description of the client certificate.""" + pem_encoded_certificate: str | None = ... + """ + The PEM-encoded public key of the client certificate, which can be used + to configure certificate authentication in the integration endpoint . + """ + created_date: datetime | None = ... + """The timestamp when the client certificate was created.""" + expiration_date: datetime | None = ... + """The timestamp when the client certificate will expire.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDeploymentInput(_SerdeShape): + """Requests API Gateway to change information about a Deployment resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + deployment_id: str | None = ... + """ + The replacement identifier for the Deployment resource to change + information about. + """ + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateDeploymentOutput(_SerdeShape): + """ + An immutable representation of a RestApi resource that can be called by + users using Stages. A deployment must be associated with a Stage for it + to be callable over the Internet. + """ + + id: str | None = ... + """The identifier for the deployment resource.""" + description: str | None = ... + """The description for the deployment resource.""" + created_date: datetime | None = ... + """The date and time that the deployment resource was created.""" + api_summary: dict[str, dict[str, MethodSnapshot]] | None = ... + """ + A summary of the RestApi at the date and time that the deployment + resource was created. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDocumentationPartInput(_SerdeShape): + """Updates an existing documentation part of a given API.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + documentation_part_id: str | None = ... + """The identifier of the to-be-updated documentation part.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateDocumentationPartOutput(_SerdeShape): + """A documentation part for a targeted API entity.""" + + id: str | None = ... + """ + The DocumentationPart identifier, generated by API Gateway when the + `DocumentationPart` is created. + """ + location: DocumentationPartLocation | None = ... + """ + The location of the API entity to which the documentation applies. Valid + fields depend on the targeted API entity type. All the valid location + fields are not required. If not explicitly specified, a valid location + field is treated as a wildcard and associated documentation content may + be inherited by matching entities, unless overridden. + """ + properties: str | None = ... + """ + A content map of API-specific key-value pairs describing the targeted + API entity. The map must be encoded as a JSON string, e.g., + `"{ \"description\": \"The API does ...\" }"`. Only OpenAPI-compliant + documentation-related fields from the properties map are exported and, + hence, published as part of the API entity definitions, while the + original documentation parts are exported in a OpenAPI extension of + `x-amazon-apigateway-documentation`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDocumentationVersionInput(_SerdeShape): + """Updates an existing documentation version of an API.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + documentation_version: str | None = ... + """The version identifier of the to-be-updated documentation version.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateDocumentationVersionOutput(_SerdeShape): + """A snapshot of the documentation of an API.""" + + version: str | None = ... + """The version identifier of the API documentation snapshot.""" + created_date: datetime | None = ... + """The date when the API documentation snapshot is created.""" + description: str | None = ... + """The description of the API documentation snapshot.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDomainNameInput(_SerdeShape): + """A request to change information about the DomainName resource.""" + + domain_name: str | None = ... + """The name of the DomainName resource to be changed.""" + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateDomainNameOutput(_SerdeShape): + """ + Represents a custom domain name as a user-friendly host name of an API + (RestApi). + """ + + domain_name: str | None = ... + """ + The custom domain name as an API host name, for example, + `my-api.example.com`. + """ + domain_name_id: str | None = ... + """ + The identifier for the domain name resource. Supported only for private + custom domain names. + """ + domain_name_arn: str | None = ... + """The ARN of the domain name.""" + certificate_name: str | None = ... + """ + The name of the certificate that will be used by edge-optimized endpoint + or private endpoint for this domain name. + """ + certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used by edge-optimized endpoint or private endpoint for this domain + name. Certificate Manager is the only supported source. + """ + certificate_upload_date: datetime | None = ... + """ + The timestamp when the certificate that was used by edge-optimized + endpoint or private endpoint for this domain name was uploaded. + """ + regional_domain_name: str | None = ... + """ + The domain name associated with the regional endpoint for this custom + domain name. You set up this association by adding a DNS record that + points the custom domain name to this regional domain name. The regional + domain name is returned by API Gateway when you create a regional + endpoint. + """ + regional_hosted_zone_id: str | None = ... + """ + The region-specific Amazon Route 53 Hosted Zone ID of the regional + endpoint. For more information, see Set up a Regional Custom Domain Name + and AWS Regions and Endpoints for API Gateway. + """ + regional_certificate_name: str | None = ... + """ + The name of the certificate that will be used for validating the + regional domain name. + """ + regional_certificate_arn: str | None = ... + """ + The reference to an Amazon Web Services-managed certificate that will be + used for validating the regional domain name. Certificate Manager is the + only supported source. + """ + distribution_domain_name: str | None = ... + """ + The domain name of the Amazon CloudFront distribution associated with + this custom domain name for an edge-optimized endpoint. You set up this + association when adding a DNS record pointing the custom domain name to + this distribution name. For more information about CloudFront + distributions, see the Amazon CloudFront documentation. + """ + distribution_hosted_zone_id: str | None = ... + """ + The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized + endpoint. The valid value is `Z2FDTNDATAQYW2` for all the regions. For + more information, see Set up a Regional Custom Domain Name and AWS + Regions and Endpoints for API Gateway. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this DomainName showing the endpoint types + and IP address types of the domain name. + """ + domain_name_status: str | None = ... + """ + The status of the DomainName migration. The valid values are `AVAILABLE` + and `UPDATING`. If the status is `UPDATING`, the domain cannot be + modified further until the existing operation is complete. If it is + `AVAILABLE`, the domain can be updated. + """ + domain_name_status_message: str | None = ... + """ + An optional text message containing detailed information about status of + the DomainName migration. + """ + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + DomainName. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the DomainName.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + mutual_tls_authentication: MutualTlsAuthentication | None = ... + """ + The mutual TLS authentication configuration for a custom domain name. If + specified, API Gateway performs two-way authentication between the + client and the server. Clients must present a trusted certificate to + access your API. + """ + ownership_verification_certificate_arn: str | None = ... + """ + The ARN of the public certificate issued by ACM to validate ownership of + your custom domain. Only required when configuring mutual TLS and using + an ACM imported or private CA certificate ARN as the + regionalCertificateArn. + """ + management_policy: str | None = ... + """ + A stringified JSON policy document that applies to the API Gateway + Management service for this DomainName. This policy document controls + access for access association sources to create domain name access + associations with this DomainName. Supported only for private custom + domain names. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to the `execute-api` + service for this DomainName regardless of the caller and Method + configuration. Supported only for private custom domain names. + """ + routing_mode: str | None = ... + """ + The routing mode for this domain name. The routing mode determines how + API Gateway sends traffic from your custom domain name to your private + APIs. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGatewayResponseInput(_SerdeShape): + """ + Updates a GatewayResponse of a specified response type on the given + RestApi. + """ + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + response_type: str | None = ... + """The response type of the associated GatewayResponse.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateGatewayResponseOutput(_SerdeShape): + """ + A gateway response of a given response type and status code, with + optional response parameters and mapping templates. + """ + + response_type: str | None = ... + """The response type of the associated GatewayResponse.""" + status_code: str | None = ... + """The HTTP status code for this GatewayResponse.""" + response_parameters: dict[str, str] | None = ... + """ + Response parameters (paths, query strings and headers) of the + GatewayResponse as a string-to-string map of key-value pairs. + """ + response_templates: dict[str, str] | None = ... + """ + Response templates of the GatewayResponse as a string-to-string map of + key-value pairs. + """ + default_response: bool = ... + """ + A Boolean flag to indicate whether this GatewayResponse is the default + gateway response (`true`) or not (`false`). A default gateway response + is one generated by API Gateway without any customization by an API + developer. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateIntegrationInput(_SerdeShape): + """Represents an update integration request.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """Represents an update integration request's resource identifier.""" + http_method: str | None = ... + """Represents an update integration request's HTTP method.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateIntegrationOutput(_SerdeShape): + """ + Represents an `HTTP`, `HTTP_PROXY`, `AWS`, `AWS_PROXY`, or Mock + integration. + """ + + type: str | None = ... + """ + Specifies an API method integration type. The valid value is one of the + following: + + For the HTTP and HTTP proxy integrations, each integration can specify a + protocol (`http/https`), port and path. Standard 80 and 443 ports are + supported as well as custom ports above 1024. An HTTP or HTTP proxy + integration with a `connectionType` of `VPC_LINK` is referred to as a + private integration and uses a VpcLink to connect API Gateway to a + network load balancer of a VPC. + """ + http_method: str | None = ... + """ + Specifies the integration's HTTP method type. For the Type property, if + you specify `MOCK`, this property is optional. For Lambda integrations, + you must set the integration method to `POST`. For all other types, you + must specify this property. + """ + uri: str | None = ... + """ + Specifies Uniform Resource Identifier (URI) of the integration endpoint. + + For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully formed, + encoded HTTP(S) URL according to the RFC-3986 specification for standard + integrations. If `connectionType` is `VPC_LINK` specify the Network Load + Balancer DNS name. For `AWS` or `AWS_PROXY` integrations, the URI is of + the form + `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}`. + Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is + the name of the integrated Amazon Web Services service (e.g., s3); and + {subdomain} is a designated subdomain supported by certain Amazon Web + Services service for fast host-name lookup. action can be used for an + Amazon Web Services service action-based API, using an + Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing + {service_api} refers to a supported action {name} plus any required + input parameters. Alternatively, path can be used for an Amazon Web + Services service path-based API. The ensuing service_api refers to the + path to an Amazon Web Services service resource, including the region of + the integrated Amazon Web Services service, if applicable. For example, + for integration with the S3 API of GetObject, the uri can be either + `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` + or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}` + """ + connection_type: str | None = ... + """ + The type of the network connection to the integration endpoint. The + valid value is `INTERNET` for connections through the public routable + internet or `VPC_LINK` for private connections between API Gateway and a + network load balancer in a VPC. The default value is `INTERNET`. + """ + connection_id: str | None = ... + """ + The ID of the VpcLink used for the integration when + `connectionType=VPC_LINK` and undefined, otherwise. + """ + credentials: str | None = ... + """ + Specifies the credentials required for the integration, if any. For AWS + integrations, three options are available. To specify an IAM Role for + API Gateway to assume, use the role's Amazon Resource Name (ARN). To + require that the caller's identity be passed through from the request, + specify the string `arn:aws:iam::*:user/*`. To use resource-based + permissions on supported Amazon Web Services services, specify null. + """ + request_parameters: dict[str, str] | None = ... + """ + A key-value map specifying request parameters that are passed from the + method request to the back end. The key is an integration request + parameter name and the associated value is a method request parameter + value or static value that must be enclosed within single quotes and + pre-encoded as required by the back end. The method request parameter + value must match the pattern of `method.request.{location}.{name}`, + where `location` is `querystring`, `path`, or `header` and `name` must + be a valid and unique method request parameter name. + """ + request_templates: dict[str, str] | None = ... + """ + Represents a map of Velocity templates that are applied on the request + payload based on the value of the Content-Type header sent by the + client. The content type value is the key in this map, and the template + (as a String) is the value. + """ + passthrough_behavior: str | None = ... + """ + Specifies how the method request body of an unmapped content type will + be passed through the integration request to the back end without + transformation. A content type is unmapped if no mapping template is + defined in the integration or the content type does not match any of the + mapped content types, as specified in `requestTemplates`. The valid + value is one of the following: `WHEN_NO_MATCH`: passes the method + request body through the integration request to the back end without + transformation when the method request content type does not match any + content type associated with the mapping templates defined in the + integration request. `WHEN_NO_TEMPLATES`: passes the method request body + through the integration request to the back end without transformation + when no mapping template is defined in the integration request. If a + template is defined when this option is selected, the method request of + an unmapped content-type will be rejected with an HTTP 415 Unsupported + Media Type response. `NEVER`: rejects the method request with an HTTP + 415 Unsupported Media Type response when either the method request + content type does not match any content type associated with the mapping + templates defined in the integration request or no mapping template is + defined in the integration request. + """ + content_handling: str | None = ... + """ + Specifies how to handle request payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the request payload will be passed + through from the method request to integration request without + modification, provided that the `passthroughBehavior` is configured to + support payload pass-through. + """ + timeout_in_millis: int = ... + """ + Custom timeout between 50 and 29,000 milliseconds. The default value is + 29,000 milliseconds or 29 seconds. You can increase the default value to + longer than 29 seconds for Regional or private APIs only. + """ + cache_namespace: str | None = ... + """ + Specifies a group of related cached parameters. By default, API Gateway + uses the resource ID as the `cacheNamespace`. You can specify the same + `cacheNamespace` across resources to return the same cached data for + requests to different resources. + """ + cache_key_parameters: list[str] | None = ... + """ + A list of request parameters whose values API Gateway caches. To be + valid values for `cacheKeyParameters`, these parameters must also be + specified for Method `requestParameters`. + """ + integration_responses: dict[str, IntegrationResponse] | None = ... + """Specifies the integration's responses.""" + tls_config: TlsConfig | None = ... + """Specifies the TLS configuration for an integration.""" + response_transfer_mode: str | None = ... + """The response transfer mode of the integration.""" + integration_target: str | None = ... + """The ALB or NLB listener to send the request to.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateIntegrationResponseInput(_SerdeShape): + """Represents an update integration response request.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """Specifies an update integration response request's resource identifier.""" + http_method: str | None = ... + """Specifies an update integration response request's HTTP method.""" + status_code: str | None = ... + """Specifies an update integration response request's status code.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateIntegrationResponseOutput(_SerdeShape): + """ + Represents an integration response. The status code must map to an + existing MethodResponse, and parameters and templates can be used to + transform the back-end response. + """ + + status_code: str | None = ... + """ + Specifies the status code that is used to map the integration response + to an existing MethodResponse. + """ + selection_pattern: str | None = ... + """ + Specifies the regular expression (regex) pattern used to choose an + integration response based on the response from the back end. For + example, if the success response returns nothing and the error response + returns some string, you could use the `.+` regex to match error + response. However, make sure that the error response does not contain + any newline (`\n`) character in such cases. If the back end is an Lambda + function, the Lambda function error header is matched. For all other + HTTP and Amazon Web Services back ends, the HTTP status code is matched. + """ + response_parameters: dict[str, str] | None = ... + """ + A key-value map specifying response parameters that are passed to the + method response from the back end. The key is a method response header + parameter name and the mapped value is an integration response header + value, a static value enclosed within a pair of single quotes, or a JSON + expression from the integration response body. The mapping key must + match the pattern of `method.response.header.{name}`, where `name` is a + valid and unique header name. The mapped non-static value must match the + pattern of `integration.response.header.{name}` or + `integration.response.body.{JSON-expression}`, where `name` is a valid + and unique response header name and `JSON-expression` is a valid JSON + expression without the `$` prefix. + """ + response_templates: dict[str, str] | None = ... + """ + Specifies the templates used to transform the integration response body. + Response templates are represented as a key/value map, with a + content-type as the key and a template as the value. + """ + content_handling: str | None = ... + """ + Specifies how to handle response payload content type conversions. + Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the + following behaviors: + + If this property is not defined, the response payload will be passed + through from the integration response to the method response without + modification. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateMethodInput(_SerdeShape): + """Request to update an existing Method resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The Resource identifier for the Method resource.""" + http_method: str | None = ... + """The HTTP verb of the Method resource.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateMethodOutput(_SerdeShape): + """ + Represents a client-facing interface by which the client calls the API + to access back-end resources. A Method resource is integrated with an + Integration resource. Both consist of a request and one or more + responses. The method request takes the client input that is passed to + the back end through the integration request. A method response returns + the output from the back end to the client through an integration + response. A method request is embodied in a Method resource, whereas an + integration request is embodied in an Integration resource. On the other + hand, a method response is represented by a MethodResponse resource, + whereas an integration response is represented by an IntegrationResponse + resource. + """ + + http_method: str | None = ... + """The method's HTTP verb.""" + authorization_type: str | None = ... + """ + The method's authorization type. Valid values are `NONE` for open + access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a + custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user + pool. + """ + authorizer_id: str | None = ... + """ + The identifier of an Authorizer to use on this method. The + `authorizationType` must be `CUSTOM`. + """ + api_key_required: bool | None = ... + """ + A boolean flag specifying whether a valid ApiKey is required to invoke + this method. + """ + request_validator_id: str | None = ... + """The identifier of a RequestValidator for request validation.""" + operation_name: str | None = ... + """ + A human-friendly operation identifier for the method. For example, you + can assign the `operationName` of `ListPets` for the `GET /pets` method + in the `PetStore` example. + """ + request_parameters: dict[str, bool] | None = ... + """ + A key-value map defining required or optional method request parameters + that can be accepted by API Gateway. A key is a method request parameter + name matching the pattern of `method.request.{location}.{name}`, where + `location` is `querystring`, `path`, or `header` and `name` is a valid + and unique parameter name. The value associated with the key is a + Boolean flag indicating whether the parameter is required (`true`) or + optional (`false`). The method request parameter names defined here are + available in Integration to be mapped to integration request parameters + or templates. + """ + request_models: dict[str, str] | None = ... + """ + A key-value map specifying data schemas, represented by Model resources, + (as the mapped value) of the request payloads of given content types (as + the mapping key). + """ + method_responses: dict[str, MethodResponse] | None = ... + """Gets a method response associated with a given HTTP status code.""" + method_integration: Integration | None = ... + """ + Gets the method's integration responsible for passing the + client-submitted request to the back end and performing necessary + transformations to make the request compliant with the back end. + """ + authorization_scopes: list[str] | None = ... + """ + A list of authorization scopes configured on the method. The scopes are + used with a `COGNITO_USER_POOLS` authorizer to authorize the method + invocation. The authorization works by matching the method scopes + against the scopes parsed from the access token in the incoming request. + The method invocation is authorized if any method scopes matches a + claimed scope in the access token. Otherwise, the invocation is not + authorized. When the method scope is configured, the client must provide + an access token instead of an identity token for authorization purposes. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateMethodResponseInput(_SerdeShape): + """A request to update an existing MethodResponse resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The Resource identifier for the MethodResponse resource.""" + http_method: str | None = ... + """The HTTP verb of the Method resource.""" + status_code: str | None = ... + """The status code for the MethodResponse resource.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateMethodResponseOutput(_SerdeShape): + """ + Represents a method response of a given HTTP status code returned to the + client. The method response is passed from the back end through the + associated integration response that can be transformed using a mapping + template. + """ + + status_code: str | None = ... + """The method response's status code.""" + response_parameters: dict[str, bool] | None = ... + """ + A key-value map specifying required or optional response parameters that + API Gateway can send back to the caller. A key defines a method response + header and the value specifies whether the associated method response + header is required or not. The expression of the key must match the + pattern `method.response.header.{name}`, where `name` is a valid and + unique header name. API Gateway passes certain integration response data + to the method response headers specified here according to the mapping + you prescribe in the API's IntegrationResponse. The integration + response data that can be mapped include an integration response header + expressed in `integration.response.header.{name}`, a static value + enclosed within a pair of single quotes (e.g., `'application/json'`), or + a JSON expression from the back-end response payload in the form of + `integration.response.body.{JSON-expression}`, where `JSON-expression` + is a valid JSON expression without the `$` prefix.) + """ + response_models: dict[str, str] | None = ... + """ + Specifies the Model resources used for the response's content-type. + Response models are represented as a key/value map, with a content-type + as the key and a Model name as the value. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateModelInput(_SerdeShape): + """Request to update an existing model in an existing RestApi resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + model_name: str | None = ... + """The name of the model to update.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateModelOutput(_SerdeShape): + """ + Represents the data structure of a method's request or response + payload. + """ + + id: str | None = ... + """The identifier for the model resource.""" + name: str | None = ... + """The name of the model. Must be an alphanumeric string.""" + description: str | None = ... + """The description of the model.""" + schema: str | None = ... + """ + The schema for the model. For `application/json` models, this should be + JSON schema draft 4 model. Do not include \"\\*/\" characters in the + description of any properties because such \"\\*/\" characters may be + interpreted as the closing marker for comments in some languages, such + as Java or JavaScript, causing the installation of your API's SDK + generated by API Gateway to fail. + """ + content_type: str | None = ... + """The content-type for the model.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRequestValidatorInput(_SerdeShape): + """Updates a RequestValidator of a given RestApi.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + request_validator_id: str | None = ... + """The identifier of RequestValidator to be updated.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateRequestValidatorOutput(_SerdeShape): + """A set of validation rules for incoming Method requests.""" + + id: str | None = ... + """The identifier of this RequestValidator.""" + name: str | None = ... + """The name of this RequestValidator""" + validate_request_body: bool = ... + """ + A Boolean flag to indicate whether to validate a request body according + to the configured Model schema. + """ + validate_request_parameters: bool = ... + """ + A Boolean flag to indicate whether to validate request parameters + (`true`) or not (`false`). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateResourceInput(_SerdeShape): + """Request to change information about a Resource resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + resource_id: str | None = ... + """The identifier of the Resource resource.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateResourceOutput(_SerdeShape): + """Represents an API resource.""" + + id: str | None = ... + """The resource's identifier.""" + parent_id: str | None = ... + """The parent resource's identifier.""" + path_part: str | None = ... + """The last path segment for this resource.""" + path: str | None = ... + """The full path for this resource.""" + resource_methods: dict[str, Method] | None = ... + """Gets an API resource's method of a given HTTP verb.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRestApiInput(_SerdeShape): + """Request to update an existing RestApi resource in your collection.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateRestApiOutput(_SerdeShape): + """Represents a REST API.""" + + id: str | None = ... + """ + The API's identifier. This identifier is unique across all of your APIs + in API Gateway. + """ + name: str | None = ... + """The API's name.""" + description: str | None = ... + """The API's description.""" + created_date: datetime | None = ... + """The timestamp when the API was created.""" + version: str | None = ... + """A version identifier for the API.""" + warnings: list[str] | None = ... + """ + The warning messages reported when `failonwarnings` is turned on during + API import. + """ + binary_media_types: list[str] | None = ... + """ + The list of binary media types supported by the RestApi. By default, the + RestApi supports only UTF-8-encoded text payloads. + """ + minimum_compression_size: int | None = ... + """ + A nullable integer that is used to enable compression (with non-negative + between 0 and 10485760 (10M) bytes, inclusive) or disable compression + (with a null value) on an API. When compression is enabled, compression + or decompression is not applied on the payload if the payload size is + smaller than this value. Setting it to zero allows compression for any + payload size. + """ + api_key_source: str | None = ... + """ + The source of the API key for metering requests according to a usage + plan. Valid values are: >`HEADER` to read the API key from the + `X-API-Key` header of a request. `AUTHORIZER` to read the API key from + the `UsageIdentifierKey` from a custom authorizer. + """ + endpoint_configuration: EndpointConfiguration | None = ... + """ + The endpoint configuration of this RestApi showing the endpoint types + and IP address types of the API. + """ + policy: str | None = ... + """ + A stringified JSON policy document that applies to this RestApi + regardless of the caller and Method configuration. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + disable_execute_api_endpoint: bool = ... + """ + Specifies whether clients can invoke your API by using the default + `execute-api` endpoint. By default, clients can invoke your API with the + default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. + To require that clients use a custom domain name to invoke your API, + disable the default endpoint. + """ + root_resource_id: str | None = ... + """The API's root resource ID.""" + security_policy: str | None = ... + """ + The Transport Layer Security (TLS) version + cipher suite for this + RestApi. + """ + endpoint_access_mode: str | None = ... + """The endpoint access mode of the RestApi.""" + api_status: str | None = ... + """The ApiStatus of the RestApi.""" + api_status_message: str | None = ... + """ + The status message of the RestApi. When the status message is `UPDATING` + you can still invoke it. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateStageInput(_SerdeShape): + """Requests API Gateway to change information about a Stage resource.""" + + rest_api_id: str | None = ... + """The string identifier of the associated RestApi.""" + stage_name: str | None = ... + """The name of the Stage resource to change information about.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateStageOutput(_SerdeShape): + """ + Represents a unique identifier for a version of a deployed RestApi that + is callable by users. + """ + + deployment_id: str | None = ... + """The identifier of the Deployment that the stage points to.""" + client_certificate_id: str | None = ... + """The identifier of a client certificate for an API stage.""" + stage_name: str | None = ... + """ + The name of the stage is the first path segment in the Uniform Resource + Identifier (URI) of a call to API Gateway. Stage names can only contain + alphanumeric characters, hyphens, and underscores. Maximum length is 128 + characters. + """ + description: str | None = ... + """The stage's description.""" + cache_cluster_enabled: bool = ... + """ + Specifies whether a cache cluster is enabled for the stage. To activate + a method-level cache, set `CachingEnabled` to `true` for a method. + """ + cache_cluster_size: str | None = ... + """ + The stage's cache capacity in GB. For more information about choosing a + cache size, see [Enabling API caching to enhance + responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). + """ + cache_cluster_status: str | None = ... + """The status of the cache cluster for the stage, if enabled.""" + method_settings: dict[str, MethodSetting] | None = ... + """ + A map that defines the method settings for a Stage resource. Keys + (designated as `/{method_setting_key` below) are method paths defined as + `{resource_path}/{http_method}` for an individual method override, or + `/*/*` for overriding all methods in the stage. + """ + variables: dict[str, str] | None = ... + """ + A map that defines the stage variables for a Stage resource. Variable + names can have alphanumeric and underscore characters, and the values + must match `[A-Za-z0-9-._~:/?#&=,]+`. + """ + documentation_version: str | None = ... + """The version of the associated API documentation.""" + access_log_settings: AccessLogSettings | None = ... + """Settings for logging access in this stage.""" + canary_settings: CanarySettings | None = ... + """Settings for the canary deployment in this stage.""" + tracing_enabled: bool = ... + """Specifies whether active tracing with X-ray is enabled for the Stage.""" + web_acl_arn: str | None = ... + """The ARN of the WebAcl associated with the Stage.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + created_date: datetime | None = ... + """The timestamp when the stage was created.""" + last_updated_date: datetime | None = ... + """The timestamp when the stage last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateUsageInput(_SerdeShape): + """ + The PATCH request to grant a temporary extension to the remaining quota + of a usage plan associated with a specified API key. + """ + + usage_plan_id: str | None = ... + """The Id of the usage plan associated with the usage data.""" + key_id: str | None = ... + """ + The identifier of the API key associated with the usage plan in which a + temporary extension is granted to the remaining quota. + """ + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateUsageOutput(_SerdeShape): + """Represents the usage data of a usage plan.""" + + usage_plan_id: str | None = ... + """The plan Id associated with this usage data.""" + start_date: str | None = ... + """The starting date of the usage data.""" + end_date: str | None = ... + """The ending date of the usage data.""" + items: dict[str, list[list[int]]] | None = ... + """ + The usage data, as daily logs of used and remaining quotas, over the + specified time interval indexed over the API keys in a usage plan. For + example, + `{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}`, + where `{api_key}` stands for an API key value and the daily log entry is + of the format `[used quota, remaining quota]`. + """ + position: str | None = ... + """The current pagination position in the paged result set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateUsagePlanInput(_SerdeShape): + """The PATCH request to update a usage plan of a given plan Id.""" + + usage_plan_id: str | None = ... + """The Id of the to-be-updated usage plan.""" + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateUsagePlanOutput(_SerdeShape): + """ + Represents a usage plan used to specify who can assess associated API + stages. Optionally, target request rate and quota limits can be set. In + some cases clients can exceed the targets that you set. Don't rely on + usage plans to control costs. Consider using [Amazon Web Services + Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) + to monitor costs and + [WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) + to manage API requests. + """ + + id: str | None = ... + """The identifier of a UsagePlan resource.""" + name: str | None = ... + """The name of a usage plan.""" + description: str | None = ... + """The description of a usage plan.""" + api_stages: list[ApiStage] | None = ... + """The associated API stages of a usage plan.""" + throttle: ThrottleSettings | None = ... + """ + A map containing method level throttling information for API stage in a + usage plan. + """ + quota: QuotaSettings | None = ... + """ + The target maximum number of permitted requests per a given unit time + interval. + """ + product_code: str | None = ... + """ + The Amazon Web Services Marketplace product identifier to associate with + the usage plan as a SaaS product on the Amazon Web Services Marketplace. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateVpcLinkInput(_SerdeShape): + """Updates an existing VpcLink of a specified identifier.""" + + vpc_link_id: str | None = ... + """ + The identifier of the VpcLink. It is used in an Integration to reference + this VpcLink. + """ + patch_operations: list[PatchOperation] | None = ... + """ + For more information about supported patch operations, see [Patch + Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). + """ + +@dataclass(kw_only=True) +class UpdateVpcLinkOutput(_SerdeShape): + """ + An API Gateway VPC link for a RestApi to access resources in an Amazon + Virtual Private Cloud (VPC). + """ + + id: str | None = ... + """ + The identifier of the VpcLink. It is used in an Integration to reference + this VpcLink. + """ + name: str | None = ... + """The name used to label and identify the VPC link.""" + description: str | None = ... + """The description of the VPC link.""" + target_arns: list[str] | None = ... + """ + The ARN of the network load balancer of the VPC targeted by the VPC + link. The network load balancer must be owned by the same Amazon Web + Services account of the API owner. + """ + status: str | None = ... + """ + The status of the VPC link. The valid values are `AVAILABLE`, `PENDING`, + `DELETING`, or `FAILED`. Deploying an API will wait if the status is + `PENDING` and will fail if the status is `DELETING`. + """ + status_message: str | None = ... + """A description about the VPC link status.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UsagePlan(_SerdeShape): + """ + Represents a usage plan used to specify who can assess associated API + stages. Optionally, target request rate and quota limits can be set. In + some cases clients can exceed the targets that you set. Don't rely on + usage plans to control costs. Consider using [Amazon Web Services + Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) + to monitor costs and + [WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) + to manage API requests. + """ + + id: str | None = ... + """The identifier of a UsagePlan resource.""" + name: str | None = ... + """The name of a usage plan.""" + description: str | None = ... + """The description of a usage plan.""" + api_stages: list[ApiStage] | None = ... + """The associated API stages of a usage plan.""" + throttle: ThrottleSettings | None = ... + """ + A map containing method level throttling information for API stage in a + usage plan. + """ + quota: QuotaSettings | None = ... + """ + The target maximum number of permitted requests per a given unit time + interval. + """ + product_code: str | None = ... + """ + The Amazon Web Services Marketplace product identifier to associate with + the usage plan as a SaaS product on the Amazon Web Services Marketplace. + """ + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + +@dataclass(kw_only=True) +class UsagePlanKey(_SerdeShape): + """Represents a usage plan key to identify a plan customer.""" + + id: str | None = ... + """The Id of a usage plan key.""" + type: str | None = ... + """ + The type of a usage plan key. Currently, the valid key type is + `API_KEY`. + """ + value: str | None = ... + """The value of a usage plan key.""" + name: str | None = ... + """The name of a usage plan key.""" + +@dataclass(kw_only=True) +class VpcLink(_SerdeShape): + """ + An API Gateway VPC link for a RestApi to access resources in an Amazon + Virtual Private Cloud (VPC). + """ + + id: str | None = ... + """ + The identifier of the VpcLink. It is used in an Integration to reference + this VpcLink. + """ + name: str | None = ... + """The name used to label and identify the VPC link.""" + description: str | None = ... + """The description of the VPC link.""" + target_arns: list[str] | None = ... + """ + The ARN of the network load balancer of the VPC targeted by the VPC + link. The network load balancer must be owned by the same Amazon Web + Services account of the API owner. + """ + status: str | None = ... + """ + The status of the VPC link. The valid values are `AVAILABLE`, `PENDING`, + `DELETING`, or `FAILED`. Deploying an API will wait if the status is + `PENDING` and will fail if the status is `DELETING`. + """ + status_message: str | None = ... + """A description about the VPC link status.""" + tags: dict[str, str] | None = ... + """ + The collection of tags. Each tag element is associated with a given + resource. + """ + +class VpcLinkStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "AVAILABLE" + PENDING = "PENDING" + DELETING = "DELETING" + FAILED = "FAILED" diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas.py index fbe1b7f19..50bb99b30 100644 --- a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas.py +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas.py @@ -1,8178 +1,533 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.apigateway" -_AAST = "AccessAssociationSourceType" -_VPCE = "VPCE" -_sV = "smithy.api#enumValue" -_S = "String" -_ALS = "AccessLogSettings" -_f = "format" -_dA = "destinationArn" -_LOS = "ListOfString" -_m = "member" -_I = "Integer" -_s = "smithy.api#default" -_D = "Double" -_TS = "ThrottleSettings" -_bL = "burstLimit" -_rL = "rateLimit" -_T = "Timestamp" -_B = "Boolean" -_MOSTS = "MapOfStringToString" -_k = "key" -_v = "value" -_AK = "ApiKey" -_i = "id" -_n = "name" -_cI = "customerId" -_d = "description" -_e = "enabled" -_cD = "createdDate" -_lUD = "lastUpdatedDate" -_sK = "stageKeys" -_t = "tags" -_AKF = "ApiKeysFormat" -_c = "csv" -_AKST = "ApiKeySourceType" -_HEADER = "HEADER" -_AUTHORIZER = "AUTHORIZER" -_MOASTS = "MapOfApiStageThrottleSettings" -_AS = "ApiStage" -_aI = "apiId" -_st = "stage" -_th = "throttle" -_ASp = "ApiStatus" -_UPDATING = "UPDATING" -_AVAILABLE = "AVAILABLE" -_PENDING = "PENDING" -_FAILED = "FAILED" -_NI = "NullableInteger" -_PARN = "ProviderARN" -_LOARN = "ListOfARNs" -_AT = "AuthorizerType" -_TOKEN = "TOKEN" -_REQUEST = "REQUEST" -_CUP = "COGNITO_USER_POOLS" -_A = "Authorizer" -_ty = "type" -_pARN = "providerARNs" -_aT = "authType" -_aU = "authorizerUri" -_aC = "authorizerCredentials" -_iS = "identitySource" -_iVE = "identityValidationExpression" -_aRTIS = "authorizerResultTtlInSeconds" -_BRE = "BadRequestException" -_sm = "smithy.api#error" -_cl = "client" -_sE = "smithy.api#httpError" -_me = "message" -_CE = "ConflictException" -_SK = "StageKey" -_rAI = "restApiId" -_sN = "stageName" -_LOSK = "ListOfStageKeys" -_CAKI = "CreateApiKeyInput" -_sSI = "smithy.synthetic#originalShapeId" -_cCAKR = "com.amazonaws.apigateway#CreateApiKeyRequest" -_smi = "smithy.api#input" -_gDI = "generateDistinctId" -_CAKO = "CreateApiKeyOutput" -_cAK = "com.amazonaws.apigateway#ApiKey" -_smit = "smithy.api#output" -_LEE = "LimitExceededException" -_rAS = "retryAfterSeconds" -_sH = "smithy.api#httpHeader" -_RA = "Retry-After" -_NFE = "NotFoundException" -_TMRE = "TooManyRequestsException" -_UE = "UnauthorizedException" -_CAK = "CreateApiKey" -_smith = "smithy.api#http" -_CAI = "CreateAuthorizerInput" -_cCAR = "com.amazonaws.apigateway#CreateAuthorizerRequest" -_smithy = "smithy.api#required" -_sL = "smithy.api#httpLabel" -_CAO = "CreateAuthorizerOutput" -_cA = "com.amazonaws.apigateway#Authorizer" -_CA = "CreateAuthorizer" -_CBPMI = "CreateBasePathMappingInput" -_cCBPMR = "com.amazonaws.apigateway#CreateBasePathMappingRequest" -_dN = "domainName" -_dNI = "domainNameId" -_sQ = "smithy.api#httpQuery" -_bP = "basePath" -_CBPMO = "CreateBasePathMappingOutput" -_cBPM = "com.amazonaws.apigateway#BasePathMapping" -_CBPM = "CreateBasePathMapping" -_NB = "NullableBoolean" -_CCS = "CacheClusterSize" -_SPG = "SIZE_0_POINT_5_GB" -_v_ = "0.5" -_SPG_ = "SIZE_1_POINT_6_GB" -_v__ = "1.6" -_SPG__ = "SIZE_6_POINT_1_GB" -_v___ = "6.1" -_SPG___ = "SIZE_13_POINT_5_GB" -_v____ = "13.5" -_SPG____ = "SIZE_28_POINT_4_GB" -_v_____ = "28.4" -_SPG_____ = "SIZE_58_POINT_2_GB" -_v______ = "58.2" -_SG = "SIZE_118_GB" -_v_______ = "118" -_SG_ = "SIZE_237_GB" -_v________ = "237" -_DCS = "DeploymentCanarySettings" -_pT = "percentTraffic" -_sVO = "stageVariableOverrides" -_uSC = "useStageCache" -_CDI = "CreateDeploymentInput" -_cCDR = "com.amazonaws.apigateway#CreateDeploymentRequest" -_sD = "stageDescription" -_cCE = "cacheClusterEnabled" -_cCS = "cacheClusterSize" -_va = "variables" -_cS = "canarySettings" -_tE = "tracingEnabled" -_MS = "MethodSnapshot" -_aTu = "authorizationType" -_aKR = "apiKeyRequired" -_MOMS = "MapOfMethodSnapshot" -_PTMOMS = "PathToMapOfMethodSnapshot" -_CDO = "CreateDeploymentOutput" -_cDo = "com.amazonaws.apigateway#Deployment" -_aS = "apiSummary" -_SUE = "ServiceUnavailableException" -_se = "server" -_CD = "CreateDeployment" -_DPLSC = "DocumentationPartLocationStatusCode" -_DPT = "DocumentationPartType" -_API = "API" -_MODEL = "MODEL" -_RESOURCE = "RESOURCE" -_METHOD = "METHOD" -_PP = "PATH_PARAMETER" -_QP = "QUERY_PARAMETER" -_RH = "REQUEST_HEADER" -_RB = "REQUEST_BODY" -_RESPONSE = "RESPONSE" -_RH_ = "RESPONSE_HEADER" -_RB_ = "RESPONSE_BODY" -_DPL = "DocumentationPartLocation" -_p = "path" -_met = "method" -_sC = "statusCode" -_CDPI = "CreateDocumentationPartInput" -_cCDPR = "com.amazonaws.apigateway#CreateDocumentationPartRequest" -_l = "location" -_pr = "properties" -_CDPO = "CreateDocumentationPartOutput" -_cDP = "com.amazonaws.apigateway#DocumentationPart" -_CDP = "CreateDocumentationPart" -_CDVI = "CreateDocumentationVersionInput" -_cCDVR = "com.amazonaws.apigateway#CreateDocumentationVersionRequest" -_dV = "documentationVersion" -_CDVO = "CreateDocumentationVersionOutput" -_cDV = "com.amazonaws.apigateway#DocumentationVersion" -_ve = "version" -_CDV = "CreateDocumentationVersion" -_EAM = "EndpointAccessMode" -_BASIC = "BASIC" -_STRICT = "STRICT" -_IAT = "IpAddressType" -_ip = "ipv4" -_du = "dualstack" -_ET = "EndpointType" -_REGIONAL = "REGIONAL" -_EDGE = "EDGE" -_PRIVATE = "PRIVATE" -_LOET = "ListOfEndpointType" -_EC = "EndpointConfiguration" -_typ = "types" -_iAT = "ipAddressType" -_vEI = "vpcEndpointIds" -_MTAI = "MutualTlsAuthenticationInput" -_tU = "truststoreUri" -_tV = "truststoreVersion" -_RM = "RoutingMode" -_BPMO = "BASE_PATH_MAPPING_ONLY" -_RRO = "ROUTING_RULE_ONLY" -_RRTBPM = "ROUTING_RULE_THEN_BASE_PATH_MAPPING" -_SP = "SecurityPolicy" -_T_ = "TLS_1_0" -_T__ = "TLS_1_2" -_ST = "SecurityPolicy_TLS13_1_3_2025_09" -_STF = "SecurityPolicy_TLS13_1_3_FIPS_2025_09" -_STPP = "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" -_STFP = "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" -_STFPP = "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" -_STEP = "SecurityPolicy_TLS13_1_2_Ext2_PQ_2025_09" -_STEFP = "SecurityPolicy_TLS13_1_2_Ext2_FIPS_PQ_2025_09" -_STP = "SecurityPolicy_TLS13_1_2_PQ_2025_09" -_ST_ = "SecurityPolicy_TLS13_1_2_2021_06" -_STE = "SecurityPolicy_TLS13_2025_EDGE" -_STPE = "SecurityPolicy_TLS12_PFS_2025_EDGE" -_STE_ = "SecurityPolicy_TLS12_2018_EDGE" -_CDNI = "CreateDomainNameInput" -_cCDNR = "com.amazonaws.apigateway#CreateDomainNameRequest" -_cN = "certificateName" -_cB = "certificateBody" -_cPK = "certificatePrivateKey" -_cC = "certificateChain" -_cAe = "certificateArn" -_rCN = "regionalCertificateName" -_rCA = "regionalCertificateArn" -_eC = "endpointConfiguration" -_sP = "securityPolicy" -_eAM = "endpointAccessMode" -_mTA = "mutualTlsAuthentication" -_oVCA = "ownershipVerificationCertificateArn" -_po = "policy" -_rM = "routingMode" -_DNS = "DomainNameStatus" -_PCR = "PENDING_CERTIFICATE_REIMPORT" -_POV = "PENDING_OWNERSHIP_VERIFICATION" -_MTA = "MutualTlsAuthentication" -_tW = "truststoreWarnings" -_CDNO = "CreateDomainNameOutput" -_cDN = "com.amazonaws.apigateway#DomainName" -_dNA = "domainNameArn" -_cUD = "certificateUploadDate" -_rDN = "regionalDomainName" -_rHZI = "regionalHostedZoneId" -_dDN = "distributionDomainName" -_dHZI = "distributionHostedZoneId" -_dNS = "domainNameStatus" -_dNSM = "domainNameStatusMessage" -_mP = "managementPolicy" -_CDN = "CreateDomainName" -_CDNAAI = "CreateDomainNameAccessAssociationInput" -_cCDNAAR = "com.amazonaws.apigateway#CreateDomainNameAccessAssociationRequest" -_aAST = "accessAssociationSourceType" -_aAS = "accessAssociationSource" -_CDNAAO = "CreateDomainNameAccessAssociationOutput" -_cDNAA = "com.amazonaws.apigateway#DomainNameAccessAssociation" -_dNAAA = "domainNameAccessAssociationArn" -_CDNAA = "CreateDomainNameAccessAssociation" -_CMI = "CreateModelInput" -_cCMR = "com.amazonaws.apigateway#CreateModelRequest" -_sc = "schema" -_cT = "contentType" -_CMO = "CreateModelOutput" -_cM = "com.amazonaws.apigateway#Model" -_CM = "CreateModel" -_CRVI = "CreateRequestValidatorInput" -_cCRVR = "com.amazonaws.apigateway#CreateRequestValidatorRequest" -_vRB = "validateRequestBody" -_vRP = "validateRequestParameters" -_CRVO = "CreateRequestValidatorOutput" -_cRV = "com.amazonaws.apigateway#RequestValidator" -_CRV = "CreateRequestValidator" -_CRI = "CreateResourceInput" -_cCRR = "com.amazonaws.apigateway#CreateResourceRequest" -_pI = "parentId" -_pP = "pathPart" -_CT = "ConnectionType" -_INTERNET = "INTERNET" -_VL = "VPC_LINK" -_CHS = "ContentHandlingStrategy" -_CTB = "CONVERT_TO_BINARY" -_CTT = "CONVERT_TO_TEXT" -_SC = "StatusCode" -_IR = "IntegrationResponse" -_sPe = "selectionPattern" -_rP = "responseParameters" -_rT = "responseTemplates" -_cH = "contentHandling" -_MOIR = "MapOfIntegrationResponse" -_RTM = "ResponseTransferMode" -_BUFFERED = "BUFFERED" -_STREAM = "STREAM" -_TC = "TlsConfig" -_iSV = "insecureSkipVerification" -_IT = "IntegrationType" -_HTTP = "HTTP" -_AWS = "AWS" -_MOCK = "MOCK" -_HP = "HTTP_PROXY" -_AP = "AWS_PROXY" -_In = "Integration" -_hM = "httpMethod" -_u = "uri" -_cTo = "connectionType" -_cIo = "connectionId" -_cr = "credentials" -_rPe = "requestParameters" -_rTe = "requestTemplates" -_pB = "passthroughBehavior" -_tIM = "timeoutInMillis" -_cNa = "cacheNamespace" -_cKP = "cacheKeyParameters" -_iR = "integrationResponses" -_tC = "tlsConfig" -_rTM = "responseTransferMode" -_iT = "integrationTarget" -_MOSTB = "MapOfStringToBoolean" -_MR = "MethodResponse" -_rMe = "responseModels" -_MOMR = "MapOfMethodResponse" -_M = "Method" -_aIu = "authorizerId" -_rVI = "requestValidatorId" -_oN = "operationName" -_rMeq = "requestModels" -_mR = "methodResponses" -_mI = "methodIntegration" -_aSu = "authorizationScopes" -_MOM = "MapOfMethod" -_CRO = "CreateResourceOutput" -_cR = "com.amazonaws.apigateway#Resource" -_rMes = "resourceMethods" -_CR = "CreateResource" -_CRAI = "CreateRestApiInput" -_cCRAR = "com.amazonaws.apigateway#CreateRestApiRequest" -_cF = "cloneFrom" -_bMT = "binaryMediaTypes" -_mCS = "minimumCompressionSize" -_aKS = "apiKeySource" -_dEAE = "disableExecuteApiEndpoint" -_CRAO = "CreateRestApiOutput" -_cRA = "com.amazonaws.apigateway#RestApi" -_w = "warnings" -_rRI = "rootResourceId" -_aSp = "apiStatus" -_aSM = "apiStatusMessage" -_CRA = "CreateRestApi" -_CS = "CanarySettings" -_dI = "deploymentId" -_CSI = "CreateStageInput" -_cCSR = "com.amazonaws.apigateway#CreateStageRequest" -_CCSa = "CacheClusterStatus" -_CIP = "CREATE_IN_PROGRESS" -_DIP = "DELETE_IN_PROGRESS" -_NA = "NOT_AVAILABLE" -_FIP = "FLUSH_IN_PROGRESS" -_UCCHS = "UnauthorizedCacheControlHeaderStrategy" -_FW = "FAIL_WITH_403" -_SWRH = "SUCCEED_WITH_RESPONSE_HEADER" -_SWRH_ = "SUCCEED_WITHOUT_RESPONSE_HEADER" -_MSe = "MethodSetting" -_mE = "metricsEnabled" -_lL = "loggingLevel" -_dTE = "dataTraceEnabled" -_tBL = "throttlingBurstLimit" -_tRL = "throttlingRateLimit" -_cE = "cachingEnabled" -_cTIS = "cacheTtlInSeconds" -_cDE = "cacheDataEncrypted" -_rAFCC = "requireAuthorizationForCacheControl" -_uCCHS = "unauthorizedCacheControlHeaderStrategy" -_MOMSa = "MapOfMethodSettings" -_CSO = "CreateStageOutput" -_cSo = "com.amazonaws.apigateway#Stage" -_cCI = "clientCertificateId" -_cCSa = "cacheClusterStatus" -_mS = "methodSettings" -_aLS = "accessLogSettings" -_wAA = "webAclArn" -_CSr = "CreateStage" -_LOAS = "ListOfApiStage" -_QPT = "QuotaPeriodType" -_DAY = "DAY" -_WEEK = "WEEK" -_MONTH = "MONTH" -_QS = "QuotaSettings" -_li = "limit" -_o = "offset" -_pe = "period" -_CUPI = "CreateUsagePlanInput" -_cCUPR = "com.amazonaws.apigateway#CreateUsagePlanRequest" -_aSpi = "apiStages" -_q = "quota" -_CUPO = "CreateUsagePlanOutput" -_cUP = "com.amazonaws.apigateway#UsagePlan" -_pC = "productCode" -_CUPr = "CreateUsagePlan" -_CUPKI = "CreateUsagePlanKeyInput" -_cCUPKR = "com.amazonaws.apigateway#CreateUsagePlanKeyRequest" -_uPI = "usagePlanId" -_kI = "keyId" -_kT = "keyType" -_CUPKO = "CreateUsagePlanKeyOutput" -_cUPK = "com.amazonaws.apigateway#UsagePlanKey" -_CUPK = "CreateUsagePlanKey" -_CVLI = "CreateVpcLinkInput" -_cCVLR = "com.amazonaws.apigateway#CreateVpcLinkRequest" -_tA = "targetArns" -_VLS = "VpcLinkStatus" -_DELETING = "DELETING" -_CVLO = "CreateVpcLinkOutput" -_cVL = "com.amazonaws.apigateway#VpcLink" -_sta = "status" -_sM = "statusMessage" -_CVL = "CreateVpcLink" -_DAKI = "DeleteApiKeyInput" -_cDAKR = "com.amazonaws.apigateway#DeleteApiKeyRequest" -_aK = "apiKey" -_DAKO = "DeleteApiKeyOutput" -_sU = "smithy.api#Unit" -_DAK = "DeleteApiKey" -_DAI = "DeleteAuthorizerInput" -_cDAR = "com.amazonaws.apigateway#DeleteAuthorizerRequest" -_DAO = "DeleteAuthorizerOutput" -_DA = "DeleteAuthorizer" -_DBPMI = "DeleteBasePathMappingInput" -_cDBPMR = "com.amazonaws.apigateway#DeleteBasePathMappingRequest" -_DBPMO = "DeleteBasePathMappingOutput" -_DBPM = "DeleteBasePathMapping" -_DCCI = "DeleteClientCertificateInput" -_cDCCR = "com.amazonaws.apigateway#DeleteClientCertificateRequest" -_DCCO = "DeleteClientCertificateOutput" -_DCC = "DeleteClientCertificate" -_DDI = "DeleteDeploymentInput" -_cDDR = "com.amazonaws.apigateway#DeleteDeploymentRequest" -_DDO = "DeleteDeploymentOutput" -_DD = "DeleteDeployment" -_DDPI = "DeleteDocumentationPartInput" -_cDDPR = "com.amazonaws.apigateway#DeleteDocumentationPartRequest" -_dPI = "documentationPartId" -_DDPO = "DeleteDocumentationPartOutput" -_DDP = "DeleteDocumentationPart" -_DDVI = "DeleteDocumentationVersionInput" -_cDDVR = "com.amazonaws.apigateway#DeleteDocumentationVersionRequest" -_DDVO = "DeleteDocumentationVersionOutput" -_DDV = "DeleteDocumentationVersion" -_DDNI = "DeleteDomainNameInput" -_cDDNR = "com.amazonaws.apigateway#DeleteDomainNameRequest" -_DDNO = "DeleteDomainNameOutput" -_DDN = "DeleteDomainName" -_DDNAAI = "DeleteDomainNameAccessAssociationInput" -_cDDNAAR = "com.amazonaws.apigateway#DeleteDomainNameAccessAssociationRequest" -_DDNAAO = "DeleteDomainNameAccessAssociationOutput" -_DDNAA = "DeleteDomainNameAccessAssociation" -_GRT = "GatewayResponseType" -_D_ = "DEFAULT_4XX" -_D__ = "DEFAULT_5XX" -_RNF = "RESOURCE_NOT_FOUND" -_UNAUTHORIZED = "UNAUTHORIZED" -_IAK = "INVALID_API_KEY" -_AD = "ACCESS_DENIED" -_AF = "AUTHORIZER_FAILURE" -_ACE = "AUTHORIZER_CONFIGURATION_ERROR" -_IS = "INVALID_SIGNATURE" -_ET_ = "EXPIRED_TOKEN" -_MAT = "MISSING_AUTHENTICATION_TOKEN" -_IF = "INTEGRATION_FAILURE" -_IT_ = "INTEGRATION_TIMEOUT" -_ACE_ = "API_CONFIGURATION_ERROR" -_UMT = "UNSUPPORTED_MEDIA_TYPE" -_BRP = "BAD_REQUEST_PARAMETERS" -_BRB = "BAD_REQUEST_BODY" -_RTL = "REQUEST_TOO_LARGE" -_THROTTLED = "THROTTLED" -_QE = "QUOTA_EXCEEDED" -_WF = "WAF_FILTERED" -_DGRI = "DeleteGatewayResponseInput" -_cDGRR = "com.amazonaws.apigateway#DeleteGatewayResponseRequest" -_rTes = "responseType" -_DGRO = "DeleteGatewayResponseOutput" -_DGR = "DeleteGatewayResponse" -_DII = "DeleteIntegrationInput" -_cDIR = "com.amazonaws.apigateway#DeleteIntegrationRequest" -_rI = "resourceId" -_DIO = "DeleteIntegrationOutput" -_DI = "DeleteIntegration" -_DIRI = "DeleteIntegrationResponseInput" -_cDIRR = "com.amazonaws.apigateway#DeleteIntegrationResponseRequest" -_DIRO = "DeleteIntegrationResponseOutput" -_DIR = "DeleteIntegrationResponse" -_DMI = "DeleteMethodInput" -_cDMR = "com.amazonaws.apigateway#DeleteMethodRequest" -_DMO = "DeleteMethodOutput" -_DM = "DeleteMethod" -_DMRI = "DeleteMethodResponseInput" -_cDMRR = "com.amazonaws.apigateway#DeleteMethodResponseRequest" -_DMRO = "DeleteMethodResponseOutput" -_DMR = "DeleteMethodResponse" -_DMIe = "DeleteModelInput" -_cDMRo = "com.amazonaws.apigateway#DeleteModelRequest" -_mN = "modelName" -_DMOe = "DeleteModelOutput" -_DMe = "DeleteModel" -_DRVI = "DeleteRequestValidatorInput" -_cDRVR = "com.amazonaws.apigateway#DeleteRequestValidatorRequest" -_DRVO = "DeleteRequestValidatorOutput" -_DRV = "DeleteRequestValidator" -_DRI = "DeleteResourceInput" -_cDRR = "com.amazonaws.apigateway#DeleteResourceRequest" -_DRO = "DeleteResourceOutput" -_DR = "DeleteResource" -_DRAI = "DeleteRestApiInput" -_cDRAR = "com.amazonaws.apigateway#DeleteRestApiRequest" -_DRAO = "DeleteRestApiOutput" -_DRA = "DeleteRestApi" -_DSI = "DeleteStageInput" -_cDSR = "com.amazonaws.apigateway#DeleteStageRequest" -_DSO = "DeleteStageOutput" -_DS = "DeleteStage" -_DUPI = "DeleteUsagePlanInput" -_cDUPR = "com.amazonaws.apigateway#DeleteUsagePlanRequest" -_DUPO = "DeleteUsagePlanOutput" -_DUP = "DeleteUsagePlan" -_DUPKI = "DeleteUsagePlanKeyInput" -_cDUPKR = "com.amazonaws.apigateway#DeleteUsagePlanKeyRequest" -_DUPKO = "DeleteUsagePlanKeyOutput" -_DUPK = "DeleteUsagePlanKey" -_DVLI = "DeleteVpcLinkInput" -_cDVLR = "com.amazonaws.apigateway#DeleteVpcLinkRequest" -_vLI = "vpcLinkId" -_DVLO = "DeleteVpcLinkOutput" -_DVL = "DeleteVpcLink" -_FSACI = "FlushStageAuthorizersCacheInput" -_cFSACR = "com.amazonaws.apigateway#FlushStageAuthorizersCacheRequest" -_FSACO = "FlushStageAuthorizersCacheOutput" -_FSAC = "FlushStageAuthorizersCache" -_FSCI = "FlushStageCacheInput" -_cFSCR = "com.amazonaws.apigateway#FlushStageCacheRequest" -_FSCO = "FlushStageCacheOutput" -_FSC = "FlushStageCache" -_GCCI = "GenerateClientCertificateInput" -_cGCCR = "com.amazonaws.apigateway#GenerateClientCertificateRequest" -_GCCO = "GenerateClientCertificateOutput" -_cCC = "com.amazonaws.apigateway#ClientCertificate" -_pEC = "pemEncodedCertificate" -_eD = "expirationDate" -_GCC = "GenerateClientCertificate" -_GAI = "GetAccountInput" -_cGAR = "com.amazonaws.apigateway#GetAccountRequest" -_GAO = "GetAccountOutput" -_cAo = "com.amazonaws.apigateway#Account" -_cRAl = "cloudwatchRoleArn" -_tS = "throttleSettings" -_fe = "features" -_aKV = "apiKeyVersion" -_GA = "GetAccount" -_GAKI = "GetApiKeyInput" -_cGAKR = "com.amazonaws.apigateway#GetApiKeyRequest" -_iV = "includeValue" -_GAKO = "GetApiKeyOutput" -_GAK = "GetApiKey" -_GAKIe = "GetApiKeysInput" -_cGAKRo = "com.amazonaws.apigateway#GetApiKeysRequest" -_pos = "position" -_nQ = "nameQuery" -_iVn = "includeValues" -_LOAK = "ListOfApiKey" -_GAKOe = "GetApiKeysOutput" -_cAKo = "com.amazonaws.apigateway#ApiKeys" -_it = "items" -_sNm = "smithy.api#jsonName" -_ite = "item" -_GAKe = "GetApiKeys" -_GAIe = "GetAuthorizerInput" -_cGARo = "com.amazonaws.apigateway#GetAuthorizerRequest" -_GAOe = "GetAuthorizerOutput" -_GAe = "GetAuthorizer" -_GAIet = "GetAuthorizersInput" -_cGARom = "com.amazonaws.apigateway#GetAuthorizersRequest" -_LOA = "ListOfAuthorizer" -_GAOet = "GetAuthorizersOutput" -_cAom = "com.amazonaws.apigateway#Authorizers" -_GAet = "GetAuthorizers" -_GBPMI = "GetBasePathMappingInput" -_cGBPMR = "com.amazonaws.apigateway#GetBasePathMappingRequest" -_GBPMO = "GetBasePathMappingOutput" -_GBPM = "GetBasePathMapping" -_GBPMIe = "GetBasePathMappingsInput" -_cGBPMRo = "com.amazonaws.apigateway#GetBasePathMappingsRequest" -_BPM = "BasePathMapping" -_LOBPM = "ListOfBasePathMapping" -_GBPMOe = "GetBasePathMappingsOutput" -_cBPMo = "com.amazonaws.apigateway#BasePathMappings" -_GBPMe = "GetBasePathMappings" -_GCCIe = "GetClientCertificateInput" -_cGCCRo = "com.amazonaws.apigateway#GetClientCertificateRequest" -_GCCOe = "GetClientCertificateOutput" -_GCCe = "GetClientCertificate" -_GCCIet = "GetClientCertificatesInput" -_cGCCRom = "com.amazonaws.apigateway#GetClientCertificatesRequest" -_CC = "ClientCertificate" -_LOCC = "ListOfClientCertificate" -_GCCOet = "GetClientCertificatesOutput" -_cCCo = "com.amazonaws.apigateway#ClientCertificates" -_GCCet = "GetClientCertificates" -_GDI = "GetDeploymentInput" -_cGDR = "com.amazonaws.apigateway#GetDeploymentRequest" -_em = "embed" -_GDO = "GetDeploymentOutput" -_GD = "GetDeployment" -_GDIe = "GetDeploymentsInput" -_cGDRo = "com.amazonaws.apigateway#GetDeploymentsRequest" -_De = "Deployment" -_LOD = "ListOfDeployment" -_GDOe = "GetDeploymentsOutput" -_cDom = "com.amazonaws.apigateway#Deployments" -_GDe = "GetDeployments" -_GDPI = "GetDocumentationPartInput" -_cGDPR = "com.amazonaws.apigateway#GetDocumentationPartRequest" -_GDPO = "GetDocumentationPartOutput" -_GDP = "GetDocumentationPart" -_LST = "LocationStatusType" -_DOCUMENTED = "DOCUMENTED" -_UNDOCUMENTED = "UNDOCUMENTED" -_GDPIe = "GetDocumentationPartsInput" -_cGDPRo = "com.amazonaws.apigateway#GetDocumentationPartsRequest" -_lS = "locationStatus" -_DP = "DocumentationPart" -_LODP = "ListOfDocumentationPart" -_GDPOe = "GetDocumentationPartsOutput" -_cDPo = "com.amazonaws.apigateway#DocumentationParts" -_GDPe = "GetDocumentationParts" -_GDVI = "GetDocumentationVersionInput" -_cGDVR = "com.amazonaws.apigateway#GetDocumentationVersionRequest" -_GDVO = "GetDocumentationVersionOutput" -_GDV = "GetDocumentationVersion" -_GDVIe = "GetDocumentationVersionsInput" -_cGDVRo = "com.amazonaws.apigateway#GetDocumentationVersionsRequest" -_DV = "DocumentationVersion" -_LODV = "ListOfDocumentationVersion" -_GDVOe = "GetDocumentationVersionsOutput" -_cDVo = "com.amazonaws.apigateway#DocumentationVersions" -_GDVe = "GetDocumentationVersions" -_GDNI = "GetDomainNameInput" -_cGDNR = "com.amazonaws.apigateway#GetDomainNameRequest" -_GDNO = "GetDomainNameOutput" -_GDN = "GetDomainName" -_RO = "ResourceOwner" -_SELF = "SELF" -_OA = "OTHER_ACCOUNTS" -_GDNAAI = "GetDomainNameAccessAssociationsInput" -_cGDNAAR = "com.amazonaws.apigateway#GetDomainNameAccessAssociationsRequest" -_rO = "resourceOwner" -_DNAA = "DomainNameAccessAssociation" -_LODNAA = "ListOfDomainNameAccessAssociation" -_GDNAAO = "GetDomainNameAccessAssociationsOutput" -_cDNAAo = "com.amazonaws.apigateway#DomainNameAccessAssociations" -_GDNAA = "GetDomainNameAccessAssociations" -_GDNIe = "GetDomainNamesInput" -_cGDNRo = "com.amazonaws.apigateway#GetDomainNamesRequest" -_DN = "DomainName" -_LODN = "ListOfDomainName" -_GDNOe = "GetDomainNamesOutput" -_cDNo = "com.amazonaws.apigateway#DomainNames" -_GDNe = "GetDomainNames" -_GEI = "GetExportInput" -_cGER = "com.amazonaws.apigateway#GetExportRequest" -_eT = "exportType" -_pa = "parameters" -_sQP = "smithy.api#httpQueryParams" -_a = "accepts" -_Ac = "Accept" -_Bl = "Blob" -_GEO = "GetExportOutput" -_cER = "com.amazonaws.apigateway#ExportResponse" -_CT_ = "Content-Type" -_cDon = "contentDisposition" -_CD_ = "Content-Disposition" -_b = "body" -_sPm = "smithy.api#httpPayload" -_GE = "GetExport" -_GGRI = "GetGatewayResponseInput" -_cGGRR = "com.amazonaws.apigateway#GetGatewayResponseRequest" -_GGRO = "GetGatewayResponseOutput" -_cGR = "com.amazonaws.apigateway#GatewayResponse" -_dR = "defaultResponse" -_GGR = "GetGatewayResponse" -_GGRIe = "GetGatewayResponsesInput" -_cGGRRo = "com.amazonaws.apigateway#GetGatewayResponsesRequest" -_GR = "GatewayResponse" -_LOGR = "ListOfGatewayResponse" -_GGROe = "GetGatewayResponsesOutput" -_cGRo = "com.amazonaws.apigateway#GatewayResponses" -_GGRe = "GetGatewayResponses" -_GII = "GetIntegrationInput" -_cGIR = "com.amazonaws.apigateway#GetIntegrationRequest" -_GIO = "GetIntegrationOutput" -_cIom = "com.amazonaws.apigateway#Integration" -_GI = "GetIntegration" -_GIRI = "GetIntegrationResponseInput" -_cGIRR = "com.amazonaws.apigateway#GetIntegrationResponseRequest" -_GIRO = "GetIntegrationResponseOutput" -_cIR = "com.amazonaws.apigateway#IntegrationResponse" -_GIR = "GetIntegrationResponse" -_GMI = "GetMethodInput" -_cGMR = "com.amazonaws.apigateway#GetMethodRequest" -_GMO = "GetMethodOutput" -_cMo = "com.amazonaws.apigateway#Method" -_GM = "GetMethod" -_GMRI = "GetMethodResponseInput" -_cGMRR = "com.amazonaws.apigateway#GetMethodResponseRequest" -_GMRO = "GetMethodResponseOutput" -_cMR = "com.amazonaws.apigateway#MethodResponse" -_GMR = "GetMethodResponse" -_GMIe = "GetModelInput" -_cGMRo = "com.amazonaws.apigateway#GetModelRequest" -_fl = "flatten" -_GMOe = "GetModelOutput" -_GMe = "GetModel" -_GMIet = "GetModelsInput" -_cGMRom = "com.amazonaws.apigateway#GetModelsRequest" -_Mo = "Model" -_LOM = "ListOfModel" -_GMOet = "GetModelsOutput" -_cMom = "com.amazonaws.apigateway#Models" -_GMet = "GetModels" -_GMTI = "GetModelTemplateInput" -_cGMTR = "com.amazonaws.apigateway#GetModelTemplateRequest" -_GMTO = "GetModelTemplateOutput" -_cTom = "com.amazonaws.apigateway#Template" -_GMT = "GetModelTemplate" -_GRVI = "GetRequestValidatorInput" -_cGRVR = "com.amazonaws.apigateway#GetRequestValidatorRequest" -_GRVO = "GetRequestValidatorOutput" -_GRV = "GetRequestValidator" -_GRVIe = "GetRequestValidatorsInput" -_cGRVRo = "com.amazonaws.apigateway#GetRequestValidatorsRequest" -_RV = "RequestValidator" -_LORV = "ListOfRequestValidator" -_GRVOe = "GetRequestValidatorsOutput" -_cRVo = "com.amazonaws.apigateway#RequestValidators" -_GRVe = "GetRequestValidators" -_GRI = "GetResourceInput" -_cGRR = "com.amazonaws.apigateway#GetResourceRequest" -_GRO = "GetResourceOutput" -_GRe = "GetResource" -_GRIe = "GetResourcesInput" -_cGRRo = "com.amazonaws.apigateway#GetResourcesRequest" -_R = "Resource" -_LOR = "ListOfResource" -_GROe = "GetResourcesOutput" -_cRo = "com.amazonaws.apigateway#Resources" -_GRet = "GetResources" -_GRAI = "GetRestApiInput" -_cGRAR = "com.amazonaws.apigateway#GetRestApiRequest" -_GRAO = "GetRestApiOutput" -_GRA = "GetRestApi" -_GRAIe = "GetRestApisInput" -_cGRARo = "com.amazonaws.apigateway#GetRestApisRequest" -_RAe = "RestApi" -_LORA = "ListOfRestApi" -_GRAOe = "GetRestApisOutput" -_cRAo = "com.amazonaws.apigateway#RestApis" -_GRAe = "GetRestApis" -_GSI = "GetSdkInput" -_cGSR = "com.amazonaws.apigateway#GetSdkRequest" -_sT = "sdkType" -_GSO = "GetSdkOutput" -_cSR = "com.amazonaws.apigateway#SdkResponse" -_GS = "GetSdk" -_GSTI = "GetSdkTypeInput" -_cGSTR = "com.amazonaws.apigateway#GetSdkTypeRequest" -_SCP = "SdkConfigurationProperty" -_fN = "friendlyName" -_r = "required" -_dVe = "defaultValue" -_LOSCP = "ListOfSdkConfigurationProperty" -_GSTO = "GetSdkTypeOutput" -_cST = "com.amazonaws.apigateway#SdkType" -_cP = "configurationProperties" -_GST = "GetSdkType" -_GSTIe = "GetSdkTypesInput" -_cGSTRo = "com.amazonaws.apigateway#GetSdkTypesRequest" -_STd = "SdkType" -_LOST = "ListOfSdkType" -_GSTOe = "GetSdkTypesOutput" -_cSTo = "com.amazonaws.apigateway#SdkTypes" -_GSTe = "GetSdkTypes" -_GSIe = "GetStageInput" -_cGSRo = "com.amazonaws.apigateway#GetStageRequest" -_GSOe = "GetStageOutput" -_GSe = "GetStage" -_GSIet = "GetStagesInput" -_cGSRom = "com.amazonaws.apigateway#GetStagesRequest" -_St = "Stage" -_LOSi = "ListOfStage" -_GSOet = "GetStagesOutput" -_cSom = "com.amazonaws.apigateway#Stages" -_GSet = "GetStages" -_GTI = "GetTagsInput" -_cGTR = "com.amazonaws.apigateway#GetTagsRequest" -_rA = "resourceArn" -_GTO = "GetTagsOutput" -_cToma = "com.amazonaws.apigateway#Tags" -_GT = "GetTags" -_GUI = "GetUsageInput" -_cGUR = "com.amazonaws.apigateway#GetUsageRequest" -_sDt = "startDate" -_eDn = "endDate" -_L = "Long" -_LOL = "ListOfLong" -_LOU = "ListOfUsage" -_MOKU = "MapOfKeyUsages" -_GUO = "GetUsageOutput" -_cU = "com.amazonaws.apigateway#Usage" -_val = "values" -_GU = "GetUsage" -_GUPI = "GetUsagePlanInput" -_cGUPR = "com.amazonaws.apigateway#GetUsagePlanRequest" -_GUPO = "GetUsagePlanOutput" -_GUP = "GetUsagePlan" -_GUPKI = "GetUsagePlanKeyInput" -_cGUPKR = "com.amazonaws.apigateway#GetUsagePlanKeyRequest" -_GUPKO = "GetUsagePlanKeyOutput" -_GUPK = "GetUsagePlanKey" -_GUPKIe = "GetUsagePlanKeysInput" -_cGUPKRo = "com.amazonaws.apigateway#GetUsagePlanKeysRequest" -_UPK = "UsagePlanKey" -_LOUPK = "ListOfUsagePlanKey" -_GUPKOe = "GetUsagePlanKeysOutput" -_cUPKo = "com.amazonaws.apigateway#UsagePlanKeys" -_GUPKe = "GetUsagePlanKeys" -_GUPIe = "GetUsagePlansInput" -_cGUPRo = "com.amazonaws.apigateway#GetUsagePlansRequest" -_UP = "UsagePlan" -_LOUP = "ListOfUsagePlan" -_GUPOe = "GetUsagePlansOutput" -_cUPo = "com.amazonaws.apigateway#UsagePlans" -_GUPe = "GetUsagePlans" -_GVLI = "GetVpcLinkInput" -_cGVLR = "com.amazonaws.apigateway#GetVpcLinkRequest" -_GVLO = "GetVpcLinkOutput" -_GVL = "GetVpcLink" -_GVLIe = "GetVpcLinksInput" -_cGVLRo = "com.amazonaws.apigateway#GetVpcLinksRequest" -_VLp = "VpcLink" -_LOVL = "ListOfVpcLink" -_GVLOe = "GetVpcLinksOutput" -_cVLo = "com.amazonaws.apigateway#VpcLinks" -_GVLe = "GetVpcLinks" -_IAKI = "ImportApiKeysInput" -_cIAKR = "com.amazonaws.apigateway#ImportApiKeysRequest" -_fOW = "failOnWarnings" -_fa = "failonwarnings" -_IAKO = "ImportApiKeysOutput" -_cAKI = "com.amazonaws.apigateway#ApiKeyIds" -_id = "ids" -_IAKm = "ImportApiKeys" -_PM = "PutMode" -_Me = "Merge" -_mer = "merge" -_O = "Overwrite" -_ov = "overwrite" -_IDPI = "ImportDocumentationPartsInput" -_cIDPR = "com.amazonaws.apigateway#ImportDocumentationPartsRequest" -_mo = "mode" -_IDPO = "ImportDocumentationPartsOutput" -_cDPI = "com.amazonaws.apigateway#DocumentationPartIds" -_IDP = "ImportDocumentationParts" -_IRAI = "ImportRestApiInput" -_cIRAR = "com.amazonaws.apigateway#ImportRestApiRequest" -_IRAO = "ImportRestApiOutput" -_IRA = "ImportRestApi" -_PGRI = "PutGatewayResponseInput" -_cPGRR = "com.amazonaws.apigateway#PutGatewayResponseRequest" -_PGRO = "PutGatewayResponseOutput" -_PGR = "PutGatewayResponse" -_PII = "PutIntegrationInput" -_cPIR = "com.amazonaws.apigateway#PutIntegrationRequest" -_rHM = "requestHttpMethod" -_iHM = "integrationHttpMethod" -_PIO = "PutIntegrationOutput" -_PI = "PutIntegration" -_PIRI = "PutIntegrationResponseInput" -_cPIRR = "com.amazonaws.apigateway#PutIntegrationResponseRequest" -_PIRO = "PutIntegrationResponseOutput" -_PIR = "PutIntegrationResponse" -_PMI = "PutMethodInput" -_cPMR = "com.amazonaws.apigateway#PutMethodRequest" -_PMO = "PutMethodOutput" -_PMu = "PutMethod" -_PMRI = "PutMethodResponseInput" -_cPMRR = "com.amazonaws.apigateway#PutMethodResponseRequest" -_PMRO = "PutMethodResponseOutput" -_PMR = "PutMethodResponse" -_PRAI = "PutRestApiInput" -_cPRAR = "com.amazonaws.apigateway#PutRestApiRequest" -_PRAO = "PutRestApiOutput" -_PRA = "PutRestApi" -_RDNAAI = "RejectDomainNameAccessAssociationInput" -_cRDNAAR = "com.amazonaws.apigateway#RejectDomainNameAccessAssociationRequest" -_RDNAAO = "RejectDomainNameAccessAssociationOutput" -_RDNAA = "RejectDomainNameAccessAssociation" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.apigateway#TagResourceRequest" -_TRO = "TagResourceOutput" -_TR = "TagResource" -_MOSTL = "MapOfStringToList" -_TIAI = "TestInvokeAuthorizerInput" -_cTIAR = "com.amazonaws.apigateway#TestInvokeAuthorizerRequest" -_h = "headers" -_mVH = "multiValueHeaders" -_pWQS = "pathWithQueryString" -_sVt = "stageVariables" -_aCd = "additionalContext" -_TIAO = "TestInvokeAuthorizerOutput" -_cTIARo = "com.amazonaws.apigateway#TestInvokeAuthorizerResponse" -_cSl = "clientStatus" -_lo = "log" -_la = "latency" -_pIr = "principalId" -_au = "authorization" -_cla = "claims" -_TIA = "TestInvokeAuthorizer" -_TIMI = "TestInvokeMethodInput" -_cTIMR = "com.amazonaws.apigateway#TestInvokeMethodRequest" -_TIMO = "TestInvokeMethodOutput" -_cTIMRo = "com.amazonaws.apigateway#TestInvokeMethodResponse" -_TIM = "TestInvokeMethod" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.apigateway#UntagResourceRequest" -_tK = "tagKeys" -_URO = "UntagResourceOutput" -_UR = "UntagResource" -_Op = "Op" -_ad = "add" -_re = "remove" -_rep = "replace" -_mov = "move" -_co = "copy" -_te = "test" -_PO = "PatchOperation" -_op = "op" -_fr = "from" -_LOPO = "ListOfPatchOperation" -_UAI = "UpdateAccountInput" -_cUAR = "com.amazonaws.apigateway#UpdateAccountRequest" -_pO = "patchOperations" -_UAO = "UpdateAccountOutput" -_UA = "UpdateAccount" -_UAKI = "UpdateApiKeyInput" -_cUAKR = "com.amazonaws.apigateway#UpdateApiKeyRequest" -_UAKO = "UpdateApiKeyOutput" -_UAK = "UpdateApiKey" -_UAIp = "UpdateAuthorizerInput" -_cUARo = "com.amazonaws.apigateway#UpdateAuthorizerRequest" -_UAOp = "UpdateAuthorizerOutput" -_UAp = "UpdateAuthorizer" -_UBPMI = "UpdateBasePathMappingInput" -_cUBPMR = "com.amazonaws.apigateway#UpdateBasePathMappingRequest" -_UBPMO = "UpdateBasePathMappingOutput" -_UBPM = "UpdateBasePathMapping" -_UCCI = "UpdateClientCertificateInput" -_cUCCR = "com.amazonaws.apigateway#UpdateClientCertificateRequest" -_UCCO = "UpdateClientCertificateOutput" -_UCC = "UpdateClientCertificate" -_UDI = "UpdateDeploymentInput" -_cUDR = "com.amazonaws.apigateway#UpdateDeploymentRequest" -_UDO = "UpdateDeploymentOutput" -_UD = "UpdateDeployment" -_UDPI = "UpdateDocumentationPartInput" -_cUDPR = "com.amazonaws.apigateway#UpdateDocumentationPartRequest" -_UDPO = "UpdateDocumentationPartOutput" -_UDP = "UpdateDocumentationPart" -_UDVI = "UpdateDocumentationVersionInput" -_cUDVR = "com.amazonaws.apigateway#UpdateDocumentationVersionRequest" -_UDVO = "UpdateDocumentationVersionOutput" -_UDV = "UpdateDocumentationVersion" -_UDNI = "UpdateDomainNameInput" -_cUDNR = "com.amazonaws.apigateway#UpdateDomainNameRequest" -_UDNO = "UpdateDomainNameOutput" -_UDN = "UpdateDomainName" -_UGRI = "UpdateGatewayResponseInput" -_cUGRR = "com.amazonaws.apigateway#UpdateGatewayResponseRequest" -_UGRO = "UpdateGatewayResponseOutput" -_UGR = "UpdateGatewayResponse" -_UII = "UpdateIntegrationInput" -_cUIR = "com.amazonaws.apigateway#UpdateIntegrationRequest" -_UIO = "UpdateIntegrationOutput" -_UI = "UpdateIntegration" -_UIRI = "UpdateIntegrationResponseInput" -_cUIRR = "com.amazonaws.apigateway#UpdateIntegrationResponseRequest" -_UIRO = "UpdateIntegrationResponseOutput" -_UIR = "UpdateIntegrationResponse" -_UMI = "UpdateMethodInput" -_cUMR = "com.amazonaws.apigateway#UpdateMethodRequest" -_UMO = "UpdateMethodOutput" -_UM = "UpdateMethod" -_UMRI = "UpdateMethodResponseInput" -_cUMRR = "com.amazonaws.apigateway#UpdateMethodResponseRequest" -_UMRO = "UpdateMethodResponseOutput" -_UMR = "UpdateMethodResponse" -_UMIp = "UpdateModelInput" -_cUMRo = "com.amazonaws.apigateway#UpdateModelRequest" -_UMOp = "UpdateModelOutput" -_UMp = "UpdateModel" -_URVI = "UpdateRequestValidatorInput" -_cURVR = "com.amazonaws.apigateway#UpdateRequestValidatorRequest" -_URVO = "UpdateRequestValidatorOutput" -_URV = "UpdateRequestValidator" -_URIp = "UpdateResourceInput" -_cURRo = "com.amazonaws.apigateway#UpdateResourceRequest" -_UROp = "UpdateResourceOutput" -_URp = "UpdateResource" -_URAI = "UpdateRestApiInput" -_cURAR = "com.amazonaws.apigateway#UpdateRestApiRequest" -_URAO = "UpdateRestApiOutput" -_URA = "UpdateRestApi" -_USI = "UpdateStageInput" -_cUSR = "com.amazonaws.apigateway#UpdateStageRequest" -_USO = "UpdateStageOutput" -_US = "UpdateStage" -_UUI = "UpdateUsageInput" -_cUUR = "com.amazonaws.apigateway#UpdateUsageRequest" -_UUO = "UpdateUsageOutput" -_UU = "UpdateUsage" -_UUPI = "UpdateUsagePlanInput" -_cUUPR = "com.amazonaws.apigateway#UpdateUsagePlanRequest" -_UUPO = "UpdateUsagePlanOutput" -_UUP = "UpdateUsagePlan" -_UVLI = "UpdateVpcLinkInput" -_cUVLR = "com.amazonaws.apigateway#UpdateVpcLinkRequest" -_UVLO = "UpdateVpcLinkOutput" -_UVL = "UpdateVpcLink" -_BCS = "BackplaneControlService" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" - -ACCESS_ASSOCIATION_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _AAST, - 0, - (_VPCE,), - ((-1, {_sV: _VPCE}),), -) - -STRING: StaticSchema = (3, n0, _S, 0) - -ACCESS_LOG_SETTINGS: StaticSchema = ( - 18, - n0, - _ALS, - 0, - (_f, _dA), - ((STRING, 0), (STRING, 0)), -) - -LIST_OF_STRING: StaticSchema = (16, n0, _LOS, 0, (_m,), ((STRING, 0),)) - -INTEGER: StaticSchema = (7, n0, _I, {_s: 0}) - -DOUBLE: StaticSchema = (10, n0, _D, {_s: 0}) - -THROTTLE_SETTINGS: StaticSchema = ( - 18, - n0, - _TS, - 0, - (_bL, _rL), - ((INTEGER, {_s: 0}), (DOUBLE, {_s: 0})), -) - -TIMESTAMP: StaticSchema = (4, n0, _T, 0) - -BOOLEAN: StaticSchema = (2, n0, _B, {_s: False}) - -MAP_OF_STRING_TO_STRING: StaticSchema = ( - 17, - n0, - _MOSTS, - 0, - (_k, _v), - ((STRING, 0), (STRING, 0)), -) - -API_KEY: StaticSchema = ( - 18, - n0, - _AK, - 0, - (_i, _v, _n, _cI, _d, _e, _cD, _lUD, _sK, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (LIST_OF_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -API_KEYS_FORMAT: StaticSchema = (14, n0, _AKF, 0, (_c,), ((-1, {_sV: _c}),)) - -API_KEY_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _AKST, - 0, - (_HEADER, _AUTHORIZER), - ((-1, {_sV: _HEADER}), (-1, {_sV: _AUTHORIZER})), -) - -MAP_OF_API_STAGE_THROTTLE_SETTINGS: StaticSchema = ( - 17, - n0, - _MOASTS, - 0, - (_k, _v), - ((STRING, 0), (THROTTLE_SETTINGS, 0)), -) - -API_STAGE: StaticSchema = ( - 18, - n0, - _AS, - 0, - (_aI, _st, _th), - ((STRING, 0), (STRING, 0), (MAP_OF_API_STAGE_THROTTLE_SETTINGS, 0)), -) - -API_STATUS: StaticSchema = ( - 14, - n0, - _ASp, - 0, - (_UPDATING, _AVAILABLE, _PENDING, _FAILED), - ( - (-1, {_sV: _UPDATING}), - (-1, {_sV: _AVAILABLE}), - (-1, {_sV: _PENDING}), - (-1, {_sV: _FAILED}), - ), -) - -NULLABLE_INTEGER: StaticSchema = (7, n0, _NI, 0) - -PROVIDER_ARN: StaticSchema = (3, n0, _PARN, 0) - -LIST_OF_AR_NS: StaticSchema = (16, n0, _LOARN, 0, (_m,), ((PROVIDER_ARN, 0),)) - -AUTHORIZER_TYPE: StaticSchema = ( - 14, - n0, - _AT, - 0, - (_TOKEN, _REQUEST, _CUP), - ((-1, {_sV: _TOKEN}), (-1, {_sV: _REQUEST}), (-1, {_sV: _CUP})), -) - -AUTHORIZER: StaticSchema = ( - 18, - n0, - _A, - 0, - (_i, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), - ( - (STRING, 0), - (STRING, 0), - (AUTHORIZER_TYPE, 0), - (LIST_OF_AR_NS, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_INTEGER, 0), - ), -) - -BAD_REQUEST_EXCEPTION: StaticSchema = ( - 18, - n0, - _BRE, - {_sm: _cl, _sE: 400}, - (_me,), - ((STRING, 0),), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - {_sm: _cl, _sE: 409}, - (_me,), - ((STRING, 0),), -) - -STAGE_KEY: StaticSchema = (18, n0, _SK, 0, (_rAI, _sN), ((STRING, 0), (STRING, 0))) - -LIST_OF_STAGE_KEYS: StaticSchema = (16, n0, _LOSK, 0, (_m,), ((STAGE_KEY, 0),)) - -CREATE_API_KEY_INPUT: StaticSchema = ( - 18, - n0, - _CAKI, - {_sSI: _cCAKR, _smi: None}, - (_n, _d, _e, _gDI, _v, _sK, _cI, _t), - ( - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (BOOLEAN, {_s: False}), - (STRING, 0), - (LIST_OF_STAGE_KEYS, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -CREATE_API_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _CAKO, - {_sSI: _cAK, _smit: None}, - (_i, _v, _n, _cI, _d, _e, _cD, _lUD, _sK, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (LIST_OF_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - {_sm: _cl, _sE: 429}, - (_rAS, _me), - ((STRING, {_sH: _RA}), (STRING, 0)), -) - -NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _NFE, - {_sm: _cl, _sE: 404}, - (_me,), - ((STRING, 0),), -) - -TOO_MANY_REQUESTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TMRE, - {_sm: _cl, _sE: 429}, - (_rAS, _me), - ((STRING, {_sH: _RA}), (STRING, 0)), -) - -UNAUTHORIZED_EXCEPTION: StaticSchema = ( - 18, - n0, - _UE, - {_sm: _cl, _sE: 401}, - (_me,), - ((STRING, 0),), -) - -CREATE_API_KEY: StaticOperationSchema = ( - 23, - n0, - _CAK, - {_smith: MappingProxyType({"method": "POST", "uri": "/apikeys", "code": 201})}, - CREATE_API_KEY_INPUT, - CREATE_API_KEY_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_AUTHORIZER_INPUT: StaticSchema = ( - 18, - n0, - _CAI, - {_sSI: _cCAR, _smi: None}, - (_rAI, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), - ( - (STRING, 9), - (STRING, 1), - (AUTHORIZER_TYPE, 1), - (LIST_OF_AR_NS, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_INTEGER, 0), - ), -) - -CREATE_AUTHORIZER_OUTPUT: StaticSchema = ( - 18, - n0, - _CAO, - {_sSI: _cA, _smit: None}, - (_i, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), - ( - (STRING, 0), - (STRING, 0), - (AUTHORIZER_TYPE, 0), - (LIST_OF_AR_NS, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_INTEGER, 0), - ), -) - -CREATE_AUTHORIZER: StaticOperationSchema = ( - 23, - n0, - _CA, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/restapis/{restApiId}/authorizers", "code": 201} - ) - }, - CREATE_AUTHORIZER_INPUT, - CREATE_AUTHORIZER_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_BASE_PATH_MAPPING_INPUT: StaticSchema = ( - 18, - n0, - _CBPMI, - {_sSI: _cCBPMR, _smi: None}, - (_dN, _dNI, _bP, _rAI, _st), - ((STRING, 9), (STRING, {_sQ: _dNI}), (STRING, 0), (STRING, 1), (STRING, 0)), -) - -CREATE_BASE_PATH_MAPPING_OUTPUT: StaticSchema = ( - 18, - n0, - _CBPMO, - {_sSI: _cBPM, _smit: None}, - (_bP, _rAI, _st), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -CREATE_BASE_PATH_MAPPING: StaticOperationSchema = ( - 23, - n0, - _CBPM, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/domainnames/{domainName}/basepathmappings", - "code": 201, - } - ) - }, - CREATE_BASE_PATH_MAPPING_INPUT, - CREATE_BASE_PATH_MAPPING_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -NULLABLE_BOOLEAN: StaticSchema = (2, n0, _NB, 0) - -CACHE_CLUSTER_SIZE: StaticSchema = ( - 14, - n0, - _CCS, - 0, - (_SPG, _SPG_, _SPG__, _SPG___, _SPG____, _SPG_____, _SG, _SG_), - ( - (-1, {_sV: _v_}), - (-1, {_sV: _v__}), - (-1, {_sV: _v___}), - (-1, {_sV: _v____}), - (-1, {_sV: _v_____}), - (-1, {_sV: _v______}), - (-1, {_sV: _v_______}), - (-1, {_sV: _v________}), - ), -) - -DEPLOYMENT_CANARY_SETTINGS: StaticSchema = ( - 18, - n0, - _DCS, - 0, - (_pT, _sVO, _uSC), - ((DOUBLE, {_s: 0}), (MAP_OF_STRING_TO_STRING, 0), (BOOLEAN, {_s: False})), -) - -CREATE_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _CDI, - {_sSI: _cCDR, _smi: None}, - (_rAI, _sN, _sD, _d, _cCE, _cCS, _va, _cS, _tE), - ( - (STRING, 9), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_BOOLEAN, 0), - (CACHE_CLUSTER_SIZE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (DEPLOYMENT_CANARY_SETTINGS, 0), - (NULLABLE_BOOLEAN, 0), - ), -) - -METHOD_SNAPSHOT: StaticSchema = ( - 18, - n0, - _MS, - 0, - (_aTu, _aKR), - ((STRING, 0), (BOOLEAN, {_s: False})), -) - -MAP_OF_METHOD_SNAPSHOT: StaticSchema = ( - 17, - n0, - _MOMS, - 0, - (_k, _v), - ((STRING, 0), (METHOD_SNAPSHOT, 0)), -) - -PATH_TO_MAP_OF_METHOD_SNAPSHOT: StaticSchema = ( - 17, - n0, - _PTMOMS, - 0, - (_k, _v), - ((STRING, 0), (MAP_OF_METHOD_SNAPSHOT, 0)), -) - -CREATE_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDO, - {_sSI: _cDo, _smit: None}, - (_i, _d, _cD, _aS), - ((STRING, 0), (STRING, 0), (TIMESTAMP, 0), (PATH_TO_MAP_OF_METHOD_SNAPSHOT, 0)), -) - -SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SUE, - {_sm: _se, _sE: 503}, - (_rAS, _me), - ((STRING, {_sH: _RA}), (STRING, 0)), -) - -CREATE_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _CD, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/restapis/{restApiId}/deployments", "code": 201} - ) - }, - CREATE_DEPLOYMENT_INPUT, - CREATE_DEPLOYMENT_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DOCUMENTATION_PART_LOCATION_STATUS_CODE: StaticSchema = (3, n0, _DPLSC, 0) - -DOCUMENTATION_PART_TYPE: StaticSchema = ( - 14, - n0, - _DPT, - 0, - ( - _API, - _AUTHORIZER, - _MODEL, - _RESOURCE, - _METHOD, - _PP, - _QP, - _RH, - _RB, - _RESPONSE, - _RH_, - _RB_, - ), - ( - (-1, {_sV: _API}), - (-1, {_sV: _AUTHORIZER}), - (-1, {_sV: _MODEL}), - (-1, {_sV: _RESOURCE}), - (-1, {_sV: _METHOD}), - (-1, {_sV: _PP}), - (-1, {_sV: _QP}), - (-1, {_sV: _RH}), - (-1, {_sV: _RB}), - (-1, {_sV: _RESPONSE}), - (-1, {_sV: _RH_}), - (-1, {_sV: _RB_}), - ), -) - -DOCUMENTATION_PART_LOCATION: StaticSchema = ( - 18, - n0, - _DPL, - 0, - (_ty, _p, _met, _sC, _n), - ( - (DOCUMENTATION_PART_TYPE, 1), - (STRING, 0), - (STRING, 0), - (DOCUMENTATION_PART_LOCATION_STATUS_CODE, 0), - (STRING, 0), - ), -) - -CREATE_DOCUMENTATION_PART_INPUT: StaticSchema = ( - 18, - n0, - _CDPI, - {_sSI: _cCDPR, _smi: None}, - (_rAI, _l, _pr), - ((STRING, 9), (DOCUMENTATION_PART_LOCATION, 1), (STRING, 1)), -) - -CREATE_DOCUMENTATION_PART_OUTPUT: StaticSchema = ( - 18, - n0, - _CDPO, - {_sSI: _cDP, _smit: None}, - (_i, _l, _pr), - ((STRING, 0), (DOCUMENTATION_PART_LOCATION, 0), (STRING, 0)), -) - -CREATE_DOCUMENTATION_PART: StaticOperationSchema = ( - 23, - n0, - _CDP, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/restapis/{restApiId}/documentation/parts", - "code": 201, - } - ) - }, - CREATE_DOCUMENTATION_PART_INPUT, - CREATE_DOCUMENTATION_PART_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_DOCUMENTATION_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CDVI, - {_sSI: _cCDVR, _smi: None}, - (_rAI, _dV, _sN, _d), - ((STRING, 9), (STRING, 1), (STRING, 0), (STRING, 0)), -) - -CREATE_DOCUMENTATION_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CDVO, - {_sSI: _cDV, _smit: None}, - (_ve, _cD, _d), - ((STRING, 0), (TIMESTAMP, 0), (STRING, 0)), -) - -CREATE_DOCUMENTATION_VERSION: StaticOperationSchema = ( - 23, - n0, - _CDV, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/restapis/{restApiId}/documentation/versions", - "code": 201, - } - ) - }, - CREATE_DOCUMENTATION_VERSION_INPUT, - CREATE_DOCUMENTATION_VERSION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -ENDPOINT_ACCESS_MODE: StaticSchema = ( - 14, - n0, - _EAM, - 0, - (_BASIC, _STRICT), - ((-1, {_sV: _BASIC}), (-1, {_sV: _STRICT})), -) - -IP_ADDRESS_TYPE: StaticSchema = ( - 14, - n0, - _IAT, - 0, - (_ip, _du), - ((-1, {_sV: _ip}), (-1, {_sV: _du})), -) - -ENDPOINT_TYPE: StaticSchema = ( - 14, - n0, - _ET, - 0, - (_REGIONAL, _EDGE, _PRIVATE), - ((-1, {_sV: _REGIONAL}), (-1, {_sV: _EDGE}), (-1, {_sV: _PRIVATE})), -) - -LIST_OF_ENDPOINT_TYPE: StaticSchema = (16, n0, _LOET, 0, (_m,), ((ENDPOINT_TYPE, 0),)) - -ENDPOINT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EC, - 0, - (_typ, _iAT, _vEI), - ((LIST_OF_ENDPOINT_TYPE, 0), (IP_ADDRESS_TYPE, 0), (LIST_OF_STRING, 0)), -) - -MUTUAL_TLS_AUTHENTICATION_INPUT: StaticSchema = ( - 18, - n0, - _MTAI, - 0, - (_tU, _tV), - ((STRING, 0), (STRING, 0)), -) - -ROUTING_MODE: StaticSchema = ( - 14, - n0, - _RM, - 0, - (_BPMO, _RRO, _RRTBPM), - ((-1, {_sV: _BPMO}), (-1, {_sV: _RRO}), (-1, {_sV: _RRTBPM})), -) - -SECURITY_POLICY: StaticSchema = ( - 14, - n0, - _SP, - 0, - ( - _T_, - _T__, - _ST, - _STF, - _STPP, - _STFP, - _STFPP, - _STEP, - _STEFP, - _STP, - _ST_, - _STE, - _STPE, - _STE_, - ), - ( - (-1, {_sV: _T_}), - (-1, {_sV: _T__}), - (-1, {_sV: _ST}), - (-1, {_sV: _STF}), - (-1, {_sV: _STPP}), - (-1, {_sV: _STFP}), - (-1, {_sV: _STFPP}), - (-1, {_sV: _STEP}), - (-1, {_sV: _STEFP}), - (-1, {_sV: _STP}), - (-1, {_sV: _ST_}), - (-1, {_sV: _STE}), - (-1, {_sV: _STPE}), - (-1, {_sV: _STE_}), - ), -) - -CREATE_DOMAIN_NAME_INPUT: StaticSchema = ( - 18, - n0, - _CDNI, - {_sSI: _cCDNR, _smi: None}, - ( - _dN, - _cN, - _cB, - _cPK, - _cC, - _cAe, - _rCN, - _rCA, - _eC, - _t, - _sP, - _eAM, - _mTA, - _oVCA, - _po, - _rM, - ), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ENDPOINT_CONFIGURATION, 0), - (MAP_OF_STRING_TO_STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (MUTUAL_TLS_AUTHENTICATION_INPUT, 0), - (STRING, 0), - (STRING, 0), - (ROUTING_MODE, 0), - ), -) - -DOMAIN_NAME_STATUS: StaticSchema = ( - 14, - n0, - _DNS, - 0, - (_AVAILABLE, _UPDATING, _PENDING, _PCR, _POV, _FAILED), - ( - (-1, {_sV: _AVAILABLE}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _PENDING}), - (-1, {_sV: _PCR}), - (-1, {_sV: _POV}), - (-1, {_sV: _FAILED}), - ), -) - -MUTUAL_TLS_AUTHENTICATION: StaticSchema = ( - 18, - n0, - _MTA, - 0, - (_tU, _tV, _tW), - ((STRING, 0), (STRING, 0), (LIST_OF_STRING, 0)), -) - -CREATE_DOMAIN_NAME_OUTPUT: StaticSchema = ( - 18, - n0, - _CDNO, - {_sSI: _cDN, _smit: None}, - ( - _dN, - _dNI, - _dNA, - _cN, - _cAe, - _cUD, - _rDN, - _rHZI, - _rCN, - _rCA, - _dDN, - _dHZI, - _eC, - _dNS, - _dNSM, - _sP, - _eAM, - _t, - _mTA, - _oVCA, - _mP, - _po, - _rM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ENDPOINT_CONFIGURATION, 0), - (DOMAIN_NAME_STATUS, 0), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MUTUAL_TLS_AUTHENTICATION, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ROUTING_MODE, 0), - ), -) - -CREATE_DOMAIN_NAME: StaticOperationSchema = ( - 23, - n0, - _CDN, - {_smith: MappingProxyType({"method": "POST", "uri": "/domainnames", "code": 201})}, - CREATE_DOMAIN_NAME_INPUT, - CREATE_DOMAIN_NAME_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _CDNAAI, - {_sSI: _cCDNAAR, _smi: None}, - (_dNA, _aAST, _aAS, _t), - ( - (STRING, 1), - (ACCESS_ASSOCIATION_SOURCE_TYPE, 1), - (STRING, 1), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CDNAAO, - {_sSI: _cDNAA, _smit: None}, - (_dNAAA, _dNA, _aAST, _aAS, _t), - ( - (STRING, 0), - (STRING, 0), - (ACCESS_ASSOCIATION_SOURCE_TYPE, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _CDNAA, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/domainnameaccessassociations", "code": 201} - ) - }, - CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT, - CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _CMI, - {_sSI: _cCMR, _smi: None}, - (_rAI, _n, _d, _sc, _cT), - ((STRING, 9), (STRING, 1), (STRING, 0), (STRING, 0), (STRING, 1)), -) - -CREATE_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _CMO, - {_sSI: _cM, _smit: None}, - (_i, _n, _d, _sc, _cT), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -CREATE_MODEL: StaticOperationSchema = ( - 23, - n0, - _CM, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/restapis/{restApiId}/models", "code": 201} - ) - }, - CREATE_MODEL_INPUT, - CREATE_MODEL_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_REQUEST_VALIDATOR_INPUT: StaticSchema = ( - 18, - n0, - _CRVI, - {_sSI: _cCRVR, _smi: None}, - (_rAI, _n, _vRB, _vRP), - ((STRING, 9), (STRING, 0), (BOOLEAN, {_s: False}), (BOOLEAN, {_s: False})), -) - -CREATE_REQUEST_VALIDATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _CRVO, - {_sSI: _cRV, _smit: None}, - (_i, _n, _vRB, _vRP), - ((STRING, 0), (STRING, 0), (BOOLEAN, {_s: False}), (BOOLEAN, {_s: False})), -) - -CREATE_REQUEST_VALIDATOR: StaticOperationSchema = ( - 23, - n0, - _CRV, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/restapis/{restApiId}/requestvalidators", - "code": 201, - } - ) - }, - CREATE_REQUEST_VALIDATOR_INPUT, - CREATE_REQUEST_VALIDATOR_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _CRI, - {_sSI: _cCRR, _smi: None}, - (_rAI, _pI, _pP), - ((STRING, 9), (STRING, 9), (STRING, 1)), -) - -CONNECTION_TYPE: StaticSchema = ( - 14, - n0, - _CT, - 0, - (_INTERNET, _VL), - ((-1, {_sV: _INTERNET}), (-1, {_sV: _VL})), -) - -CONTENT_HANDLING_STRATEGY: StaticSchema = ( - 14, - n0, - _CHS, - 0, - (_CTB, _CTT), - ((-1, {_sV: _CTB}), (-1, {_sV: _CTT})), -) - -STATUS_CODE: StaticSchema = (3, n0, _SC, 0) - -INTEGRATION_RESPONSE: StaticSchema = ( - 18, - n0, - _IR, - 0, - (_sC, _sPe, _rP, _rT, _cH), - ( - (STATUS_CODE, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - ), -) - -MAP_OF_INTEGRATION_RESPONSE: StaticSchema = ( - 17, - n0, - _MOIR, - 0, - (_k, _v), - ((STRING, 0), (INTEGRATION_RESPONSE, 0)), -) - -RESPONSE_TRANSFER_MODE: StaticSchema = ( - 14, - n0, - _RTM, - 0, - (_BUFFERED, _STREAM), - ((-1, {_sV: _BUFFERED}), (-1, {_sV: _STREAM})), -) - -TLS_CONFIG: StaticSchema = (18, n0, _TC, 0, (_iSV,), ((BOOLEAN, {_s: False}),)) - -INTEGRATION_TYPE: StaticSchema = ( - 14, - n0, - _IT, - 0, - (_HTTP, _AWS, _MOCK, _HP, _AP), - ( - (-1, {_sV: _HTTP}), - (-1, {_sV: _AWS}), - (-1, {_sV: _MOCK}), - (-1, {_sV: _HP}), - (-1, {_sV: _AP}), - ), -) - -INTEGRATION: StaticSchema = ( - 18, - n0, - _In, - 0, - ( - _ty, - _hM, - _u, - _cTo, - _cIo, - _cr, - _rPe, - _rTe, - _pB, - _cH, - _tIM, - _cNa, - _cKP, - _iR, - _tC, - _rTM, - _iT, - ), - ( - (INTEGRATION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (CONNECTION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - (INTEGER, {_s: 0}), - (STRING, 0), - (LIST_OF_STRING, 0), - (MAP_OF_INTEGRATION_RESPONSE, 0), - (TLS_CONFIG, 0), - (RESPONSE_TRANSFER_MODE, 0), - (STRING, 0), - ), -) - -MAP_OF_STRING_TO_BOOLEAN: StaticSchema = ( - 17, - n0, - _MOSTB, - 0, - (_k, _v), - ((STRING, 0), (NULLABLE_BOOLEAN, 0)), -) - -METHOD_RESPONSE: StaticSchema = ( - 18, - n0, - _MR, - 0, - (_sC, _rP, _rMe), - ((STATUS_CODE, 0), (MAP_OF_STRING_TO_BOOLEAN, 0), (MAP_OF_STRING_TO_STRING, 0)), -) - -MAP_OF_METHOD_RESPONSE: StaticSchema = ( - 17, - n0, - _MOMR, - 0, - (_k, _v), - ((STRING, 0), (METHOD_RESPONSE, 0)), -) - -METHOD: StaticSchema = ( - 18, - n0, - _M, - 0, - (_hM, _aTu, _aIu, _aKR, _rVI, _oN, _rPe, _rMeq, _mR, _mI, _aSu), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_BOOLEAN, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_METHOD_RESPONSE, 0), - (INTEGRATION, 0), - (LIST_OF_STRING, 0), - ), -) - -MAP_OF_METHOD: StaticSchema = (17, n0, _MOM, 0, (_k, _v), ((STRING, 0), (METHOD, 0))) - -CREATE_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _CRO, - {_sSI: _cR, _smit: None}, - (_i, _pI, _pP, _p, _rMes), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (MAP_OF_METHOD, 0)), -) - -CREATE_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _CR, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/restapis/{restApiId}/resources/{parentId}", - "code": 201, - } - ) - }, - CREATE_RESOURCE_INPUT, - CREATE_RESOURCE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_REST_API_INPUT: StaticSchema = ( - 18, - n0, - _CRAI, - {_sSI: _cCRAR, _smi: None}, - (_n, _d, _ve, _cF, _bMT, _mCS, _aKS, _eC, _po, _t, _dEAE, _sP, _eAM), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (NULLABLE_INTEGER, 0), - (API_KEY_SOURCE_TYPE, 0), - (ENDPOINT_CONFIGURATION, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - ), -) - -CREATE_REST_API_OUTPUT: StaticSchema = ( - 18, - n0, - _CRAO, - {_sSI: _cRA, _smit: None}, - ( - _i, - _n, - _d, - _cD, - _ve, - _w, - _bMT, - _mCS, - _aKS, - _eC, - _po, - _t, - _dEAE, - _rRI, - _sP, - _eAM, - _aSp, - _aSM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (LIST_OF_STRING, 0), - (NULLABLE_INTEGER, 0), - (API_KEY_SOURCE_TYPE, 0), - (ENDPOINT_CONFIGURATION, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (API_STATUS, 0), - (STRING, 0), - ), -) - -CREATE_REST_API: StaticOperationSchema = ( - 23, - n0, - _CRA, - {_smith: MappingProxyType({"method": "POST", "uri": "/restapis", "code": 201})}, - CREATE_REST_API_INPUT, - CREATE_REST_API_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CANARY_SETTINGS: StaticSchema = ( - 18, - n0, - _CS, - 0, - (_pT, _dI, _sVO, _uSC), - ( - (DOUBLE, {_s: 0}), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - ), -) - -CREATE_STAGE_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_sSI: _cCSR, _smi: None}, - (_rAI, _sN, _dI, _d, _cCE, _cCS, _va, _dV, _cS, _tE, _t), - ( - (STRING, 9), - (STRING, 1), - (STRING, 1), - (STRING, 0), - (BOOLEAN, {_s: False}), - (CACHE_CLUSTER_SIZE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (CANARY_SETTINGS, 0), - (BOOLEAN, {_s: False}), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -CACHE_CLUSTER_STATUS: StaticSchema = ( - 14, - n0, - _CCSa, - 0, - (_CIP, _AVAILABLE, _DIP, _NA, _FIP), - ( - (-1, {_sV: _CIP}), - (-1, {_sV: _AVAILABLE}), - (-1, {_sV: _DIP}), - (-1, {_sV: _NA}), - (-1, {_sV: _FIP}), - ), -) - -UNAUTHORIZED_CACHE_CONTROL_HEADER_STRATEGY: StaticSchema = ( - 14, - n0, - _UCCHS, - 0, - (_FW, _SWRH, _SWRH_), - ((-1, {_sV: _FW}), (-1, {_sV: _SWRH}), (-1, {_sV: _SWRH_})), -) - -METHOD_SETTING: StaticSchema = ( - 18, - n0, - _MSe, - 0, - (_mE, _lL, _dTE, _tBL, _tRL, _cE, _cTIS, _cDE, _rAFCC, _uCCHS), - ( - (BOOLEAN, {_s: False}), - (STRING, 0), - (BOOLEAN, {_s: False}), - (INTEGER, {_s: 0}), - (DOUBLE, {_s: 0}), - (BOOLEAN, {_s: False}), - (INTEGER, {_s: 0}), - (BOOLEAN, {_s: False}), - (BOOLEAN, {_s: False}), - (UNAUTHORIZED_CACHE_CONTROL_HEADER_STRATEGY, 0), - ), -) - -MAP_OF_METHOD_SETTINGS: StaticSchema = ( - 17, - n0, - _MOMSa, - 0, - (_k, _v), - ((STRING, 0), (METHOD_SETTING, 0)), -) - -CREATE_STAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_sSI: _cSo, _smit: None}, - ( - _dI, - _cCI, - _sN, - _d, - _cCE, - _cCS, - _cCSa, - _mS, - _va, - _dV, - _aLS, - _cS, - _tE, - _wAA, - _t, - _cD, - _lUD, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (CACHE_CLUSTER_SIZE, 0), - (CACHE_CLUSTER_STATUS, 0), - (MAP_OF_METHOD_SETTINGS, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (ACCESS_LOG_SETTINGS, 0), - (CANARY_SETTINGS, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -CREATE_STAGE: StaticOperationSchema = ( - 23, - n0, - _CSr, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/restapis/{restApiId}/stages", "code": 201} - ) - }, - CREATE_STAGE_INPUT, - CREATE_STAGE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -LIST_OF_API_STAGE: StaticSchema = (16, n0, _LOAS, 0, (_m,), ((API_STAGE, 0),)) - -QUOTA_PERIOD_TYPE: StaticSchema = ( - 14, - n0, - _QPT, - 0, - (_DAY, _WEEK, _MONTH), - ((-1, {_sV: _DAY}), (-1, {_sV: _WEEK}), (-1, {_sV: _MONTH})), -) - -QUOTA_SETTINGS: StaticSchema = ( - 18, - n0, - _QS, - 0, - (_li, _o, _pe), - ((INTEGER, {_s: 0}), (INTEGER, {_s: 0}), (QUOTA_PERIOD_TYPE, 0)), -) - -CREATE_USAGE_PLAN_INPUT: StaticSchema = ( - 18, - n0, - _CUPI, - {_sSI: _cCUPR, _smi: None}, - (_n, _d, _aSpi, _th, _q, _t), - ( - (STRING, 1), - (STRING, 0), - (LIST_OF_API_STAGE, 0), - (THROTTLE_SETTINGS, 0), - (QUOTA_SETTINGS, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -CREATE_USAGE_PLAN_OUTPUT: StaticSchema = ( - 18, - n0, - _CUPO, - {_sSI: _cUP, _smit: None}, - (_i, _n, _d, _aSpi, _th, _q, _pC, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_API_STAGE, 0), - (THROTTLE_SETTINGS, 0), - (QUOTA_SETTINGS, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -CREATE_USAGE_PLAN: StaticOperationSchema = ( - 23, - n0, - _CUPr, - {_smith: MappingProxyType({"method": "POST", "uri": "/usageplans", "code": 201})}, - CREATE_USAGE_PLAN_INPUT, - CREATE_USAGE_PLAN_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_USAGE_PLAN_KEY_INPUT: StaticSchema = ( - 18, - n0, - _CUPKI, - {_sSI: _cCUPKR, _smi: None}, - (_uPI, _kI, _kT), - ((STRING, 9), (STRING, 1), (STRING, 1)), -) - -CREATE_USAGE_PLAN_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _CUPKO, - {_sSI: _cUPK, _smit: None}, - (_i, _ty, _v, _n), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -CREATE_USAGE_PLAN_KEY: StaticOperationSchema = ( - 23, - n0, - _CUPK, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/usageplans/{usagePlanId}/keys", "code": 201} - ) - }, - CREATE_USAGE_PLAN_KEY_INPUT, - CREATE_USAGE_PLAN_KEY_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -CREATE_VPC_LINK_INPUT: StaticSchema = ( - 18, - n0, - _CVLI, - {_sSI: _cCVLR, _smi: None}, - (_n, _d, _tA, _t), - ((STRING, 1), (STRING, 0), (LIST_OF_STRING, 1), (MAP_OF_STRING_TO_STRING, 0)), -) - -VPC_LINK_STATUS: StaticSchema = ( - 14, - n0, - _VLS, - 0, - (_AVAILABLE, _PENDING, _DELETING, _FAILED), - ( - (-1, {_sV: _AVAILABLE}), - (-1, {_sV: _PENDING}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _FAILED}), - ), -) - -CREATE_VPC_LINK_OUTPUT: StaticSchema = ( - 18, - n0, - _CVLO, - {_sSI: _cVL, _smit: None}, - (_i, _n, _d, _tA, _sta, _sM, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (VPC_LINK_STATUS, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -CREATE_VPC_LINK: StaticOperationSchema = ( - 23, - n0, - _CVL, - {_smith: MappingProxyType({"method": "POST", "uri": "/vpclinks", "code": 202})}, - CREATE_VPC_LINK_INPUT, - CREATE_VPC_LINK_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_API_KEY_INPUT: StaticSchema = ( - 18, - n0, - _DAKI, - {_sSI: _cDAKR, _smi: None}, - (_aK,), - ((STRING, 9),), -) - -DELETE_API_KEY_OUTPUT: StaticSchema = (18, n0, _DAKO, {_sSI: _sU, _smit: None}) - -DELETE_API_KEY: StaticOperationSchema = ( - 23, - n0, - _DAK, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/apikeys/{apiKey}", "code": 202} - ) - }, - DELETE_API_KEY_INPUT, - DELETE_API_KEY_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_AUTHORIZER_INPUT: StaticSchema = ( - 18, - n0, - _DAI, - {_sSI: _cDAR, _smi: None}, - (_rAI, _aIu), - ((STRING, 9), (STRING, 9)), -) - -DELETE_AUTHORIZER_OUTPUT: StaticSchema = (18, n0, _DAO, {_sSI: _sU, _smit: None}) - -DELETE_AUTHORIZER: StaticOperationSchema = ( - 23, - n0, - _DA, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", - "code": 202, - } - ) - }, - DELETE_AUTHORIZER_INPUT, - DELETE_AUTHORIZER_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_BASE_PATH_MAPPING_INPUT: StaticSchema = ( - 18, - n0, - _DBPMI, - {_sSI: _cDBPMR, _smi: None}, - (_dN, _dNI, _bP), - ((STRING, 9), (STRING, {_sQ: _dNI}), (STRING, 9)), -) - -DELETE_BASE_PATH_MAPPING_OUTPUT: StaticSchema = ( - 18, - n0, - _DBPMO, - {_sSI: _sU, _smit: None}, -) - -DELETE_BASE_PATH_MAPPING: StaticOperationSchema = ( - 23, - n0, - _DBPM, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", - "code": 202, - } - ) - }, - DELETE_BASE_PATH_MAPPING_INPUT, - DELETE_BASE_PATH_MAPPING_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_CLIENT_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _DCCI, - {_sSI: _cDCCR, _smi: None}, - (_cCI,), - ((STRING, 9),), -) - -DELETE_CLIENT_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _DCCO, - {_sSI: _sU, _smit: None}, -) - -DELETE_CLIENT_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _DCC, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/clientcertificates/{clientCertificateId}", - "code": 202, - } - ) - }, - DELETE_CLIENT_CERTIFICATE_INPUT, - DELETE_CLIENT_CERTIFICATE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _DDI, - {_sSI: _cDDR, _smi: None}, - (_rAI, _dI), - ((STRING, 9), (STRING, 9)), -) - -DELETE_DEPLOYMENT_OUTPUT: StaticSchema = (18, n0, _DDO, {_sSI: _sU, _smit: None}) - -DELETE_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _DD, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/deployments/{deploymentId}", - "code": 202, - } - ) - }, - DELETE_DEPLOYMENT_INPUT, - DELETE_DEPLOYMENT_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_DOCUMENTATION_PART_INPUT: StaticSchema = ( - 18, - n0, - _DDPI, - {_sSI: _cDDPR, _smi: None}, - (_rAI, _dPI), - ((STRING, 9), (STRING, 9)), -) - -DELETE_DOCUMENTATION_PART_OUTPUT: StaticSchema = ( - 18, - n0, - _DDPO, - {_sSI: _sU, _smit: None}, -) - -DELETE_DOCUMENTATION_PART: StaticOperationSchema = ( - 23, - n0, - _DDP, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", - "code": 202, - } - ) - }, - DELETE_DOCUMENTATION_PART_INPUT, - DELETE_DOCUMENTATION_PART_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_DOCUMENTATION_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _DDVI, - {_sSI: _cDDVR, _smi: None}, - (_rAI, _dV), - ((STRING, 9), (STRING, 9)), -) - -DELETE_DOCUMENTATION_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DDVO, - {_sSI: _sU, _smit: None}, -) - -DELETE_DOCUMENTATION_VERSION: StaticOperationSchema = ( - 23, - n0, - _DDV, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", - "code": 202, - } - ) - }, - DELETE_DOCUMENTATION_VERSION_INPUT, - DELETE_DOCUMENTATION_VERSION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_DOMAIN_NAME_INPUT: StaticSchema = ( - 18, - n0, - _DDNI, - {_sSI: _cDDNR, _smi: None}, - (_dN, _dNI), - ((STRING, 9), (STRING, {_sQ: _dNI})), -) - -DELETE_DOMAIN_NAME_OUTPUT: StaticSchema = (18, n0, _DDNO, {_sSI: _sU, _smit: None}) - -DELETE_DOMAIN_NAME: StaticOperationSchema = ( - 23, - n0, - _DDN, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/domainnames/{domainName}", "code": 202} - ) - }, - DELETE_DOMAIN_NAME_INPUT, - DELETE_DOMAIN_NAME_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _DDNAAI, - {_sSI: _cDDNAAR, _smi: None}, - (_dNAAA,), - ((STRING, 9),), -) - -DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DDNAAO, - {_sSI: _sU, _smit: None}, -) - -DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _DDNAA, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/domainnameaccessassociations/{domainNameAccessAssociationArn}", - "code": 202, - } - ) - }, - DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT, - DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GATEWAY_RESPONSE_TYPE: StaticSchema = ( - 14, - n0, - _GRT, - 0, - ( - _D_, - _D__, - _RNF, - _UNAUTHORIZED, - _IAK, - _AD, - _AF, - _ACE, - _IS, - _ET_, - _MAT, - _IF, - _IT_, - _ACE_, - _UMT, - _BRP, - _BRB, - _RTL, - _THROTTLED, - _QE, - _WF, - ), - ( - (-1, {_sV: _D_}), - (-1, {_sV: _D__}), - (-1, {_sV: _RNF}), - (-1, {_sV: _UNAUTHORIZED}), - (-1, {_sV: _IAK}), - (-1, {_sV: _AD}), - (-1, {_sV: _AF}), - (-1, {_sV: _ACE}), - (-1, {_sV: _IS}), - (-1, {_sV: _ET_}), - (-1, {_sV: _MAT}), - (-1, {_sV: _IF}), - (-1, {_sV: _IT_}), - (-1, {_sV: _ACE_}), - (-1, {_sV: _UMT}), - (-1, {_sV: _BRP}), - (-1, {_sV: _BRB}), - (-1, {_sV: _RTL}), - (-1, {_sV: _THROTTLED}), - (-1, {_sV: _QE}), - (-1, {_sV: _WF}), - ), -) - -DELETE_GATEWAY_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _DGRI, - {_sSI: _cDGRR, _smi: None}, - (_rAI, _rTes), - ((STRING, 9), (GATEWAY_RESPONSE_TYPE, 9)), -) - -DELETE_GATEWAY_RESPONSE_OUTPUT: StaticSchema = (18, n0, _DGRO, {_sSI: _sU, _smit: None}) - -DELETE_GATEWAY_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _DGR, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", - "code": 202, - } - ) - }, - DELETE_GATEWAY_RESPONSE_INPUT, - DELETE_GATEWAY_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_INTEGRATION_INPUT: StaticSchema = ( - 18, - n0, - _DII, - {_sSI: _cDIR, _smi: None}, - (_rAI, _rI, _hM), - ((STRING, 9), (STRING, 9), (STRING, 9)), -) - -DELETE_INTEGRATION_OUTPUT: StaticSchema = (18, n0, _DIO, {_sSI: _sU, _smit: None}) - -DELETE_INTEGRATION: StaticOperationSchema = ( - 23, - n0, - _DI, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", - "code": 204, - } - ) - }, - DELETE_INTEGRATION_INPUT, - DELETE_INTEGRATION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_INTEGRATION_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _DIRI, - {_sSI: _cDIRR, _smi: None}, - (_rAI, _rI, _hM, _sC), - ((STRING, 9), (STRING, 9), (STRING, 9), (STATUS_CODE, 9)), -) - -DELETE_INTEGRATION_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _DIRO, - {_sSI: _sU, _smit: None}, -) - -DELETE_INTEGRATION_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _DIR, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", - "code": 204, - } - ) - }, - DELETE_INTEGRATION_RESPONSE_INPUT, - DELETE_INTEGRATION_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_METHOD_INPUT: StaticSchema = ( - 18, - n0, - _DMI, - {_sSI: _cDMR, _smi: None}, - (_rAI, _rI, _hM), - ((STRING, 9), (STRING, 9), (STRING, 9)), -) - -DELETE_METHOD_OUTPUT: StaticSchema = (18, n0, _DMO, {_sSI: _sU, _smit: None}) - -DELETE_METHOD: StaticOperationSchema = ( - 23, - n0, - _DM, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - "code": 204, - } - ) - }, - DELETE_METHOD_INPUT, - DELETE_METHOD_OUTPUT, - ( - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_METHOD_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _DMRI, - {_sSI: _cDMRR, _smi: None}, - (_rAI, _rI, _hM, _sC), - ((STRING, 9), (STRING, 9), (STRING, 9), (STATUS_CODE, 9)), -) - -DELETE_METHOD_RESPONSE_OUTPUT: StaticSchema = (18, n0, _DMRO, {_sSI: _sU, _smit: None}) - -DELETE_METHOD_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _DMR, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", - "code": 204, - } - ) - }, - DELETE_METHOD_RESPONSE_INPUT, - DELETE_METHOD_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _DMIe, - {_sSI: _cDMRo, _smi: None}, - (_rAI, _mN), - ((STRING, 9), (STRING, 9)), -) - -DELETE_MODEL_OUTPUT: StaticSchema = (18, n0, _DMOe, {_sSI: _sU, _smit: None}) - -DELETE_MODEL: StaticOperationSchema = ( - 23, - n0, - _DMe, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/models/{modelName}", - "code": 202, - } - ) - }, - DELETE_MODEL_INPUT, - DELETE_MODEL_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_REQUEST_VALIDATOR_INPUT: StaticSchema = ( - 18, - n0, - _DRVI, - {_sSI: _cDRVR, _smi: None}, - (_rAI, _rVI), - ((STRING, 9), (STRING, 9)), -) - -DELETE_REQUEST_VALIDATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _DRVO, - {_sSI: _sU, _smit: None}, -) - -DELETE_REQUEST_VALIDATOR: StaticOperationSchema = ( - 23, - n0, - _DRV, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", - "code": 202, - } - ) - }, - DELETE_REQUEST_VALIDATOR_INPUT, - DELETE_REQUEST_VALIDATOR_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _DRI, - {_sSI: _cDRR, _smi: None}, - (_rAI, _rI), - ((STRING, 9), (STRING, 9)), -) - -DELETE_RESOURCE_OUTPUT: StaticSchema = (18, n0, _DRO, {_sSI: _sU, _smit: None}) - -DELETE_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _DR, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/resources/{resourceId}", - "code": 202, - } - ) - }, - DELETE_RESOURCE_INPUT, - DELETE_RESOURCE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_REST_API_INPUT: StaticSchema = ( - 18, - n0, - _DRAI, - {_sSI: _cDRAR, _smi: None}, - (_rAI,), - ((STRING, 9),), -) - -DELETE_REST_API_OUTPUT: StaticSchema = (18, n0, _DRAO, {_sSI: _sU, _smit: None}) - -DELETE_REST_API: StaticOperationSchema = ( - 23, - n0, - _DRA, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/restapis/{restApiId}", "code": 202} - ) - }, - DELETE_REST_API_INPUT, - DELETE_REST_API_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_STAGE_INPUT: StaticSchema = ( - 18, - n0, - _DSI, - {_sSI: _cDSR, _smi: None}, - (_rAI, _sN), - ((STRING, 9), (STRING, 9)), -) - -DELETE_STAGE_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _sU, _smit: None}) - -DELETE_STAGE: StaticOperationSchema = ( - 23, - n0, - _DS, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/stages/{stageName}", - "code": 202, - } - ) - }, - DELETE_STAGE_INPUT, - DELETE_STAGE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_USAGE_PLAN_INPUT: StaticSchema = ( - 18, - n0, - _DUPI, - {_sSI: _cDUPR, _smi: None}, - (_uPI,), - ((STRING, 9),), -) - -DELETE_USAGE_PLAN_OUTPUT: StaticSchema = (18, n0, _DUPO, {_sSI: _sU, _smit: None}) - -DELETE_USAGE_PLAN: StaticOperationSchema = ( - 23, - n0, - _DUP, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/usageplans/{usagePlanId}", "code": 202} - ) - }, - DELETE_USAGE_PLAN_INPUT, - DELETE_USAGE_PLAN_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_USAGE_PLAN_KEY_INPUT: StaticSchema = ( - 18, - n0, - _DUPKI, - {_sSI: _cDUPKR, _smi: None}, - (_uPI, _kI), - ((STRING, 9), (STRING, 9)), -) - -DELETE_USAGE_PLAN_KEY_OUTPUT: StaticSchema = (18, n0, _DUPKO, {_sSI: _sU, _smit: None}) - -DELETE_USAGE_PLAN_KEY: StaticOperationSchema = ( - 23, - n0, - _DUPK, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/usageplans/{usagePlanId}/keys/{keyId}", - "code": 202, - } - ) - }, - DELETE_USAGE_PLAN_KEY_INPUT, - DELETE_USAGE_PLAN_KEY_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -DELETE_VPC_LINK_INPUT: StaticSchema = ( - 18, - n0, - _DVLI, - {_sSI: _cDVLR, _smi: None}, - (_vLI,), - ((STRING, 9),), -) - -DELETE_VPC_LINK_OUTPUT: StaticSchema = (18, n0, _DVLO, {_sSI: _sU, _smit: None}) - -DELETE_VPC_LINK: StaticOperationSchema = ( - 23, - n0, - _DVL, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/vpclinks/{vpcLinkId}", "code": 202} - ) - }, - DELETE_VPC_LINK_INPUT, - DELETE_VPC_LINK_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -FLUSH_STAGE_AUTHORIZERS_CACHE_INPUT: StaticSchema = ( - 18, - n0, - _FSACI, - {_sSI: _cFSACR, _smi: None}, - (_rAI, _sN), - ((STRING, 9), (STRING, 9)), -) - -FLUSH_STAGE_AUTHORIZERS_CACHE_OUTPUT: StaticSchema = ( - 18, - n0, - _FSACO, - {_sSI: _sU, _smit: None}, -) - -FLUSH_STAGE_AUTHORIZERS_CACHE: StaticOperationSchema = ( - 23, - n0, - _FSAC, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/stages/{stageName}/cache/authorizers", - "code": 202, - } - ) - }, - FLUSH_STAGE_AUTHORIZERS_CACHE_INPUT, - FLUSH_STAGE_AUTHORIZERS_CACHE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -FLUSH_STAGE_CACHE_INPUT: StaticSchema = ( - 18, - n0, - _FSCI, - {_sSI: _cFSCR, _smi: None}, - (_rAI, _sN), - ((STRING, 9), (STRING, 9)), -) - -FLUSH_STAGE_CACHE_OUTPUT: StaticSchema = (18, n0, _FSCO, {_sSI: _sU, _smit: None}) - -FLUSH_STAGE_CACHE: StaticOperationSchema = ( - 23, - n0, - _FSC, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/restapis/{restApiId}/stages/{stageName}/cache/data", - "code": 202, - } - ) - }, - FLUSH_STAGE_CACHE_INPUT, - FLUSH_STAGE_CACHE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GENERATE_CLIENT_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _GCCI, - {_sSI: _cGCCR, _smi: None}, - (_d, _t), - ((STRING, 0), (MAP_OF_STRING_TO_STRING, 0)), -) - -GENERATE_CLIENT_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GCCO, - {_sSI: _cCC, _smit: None}, - (_cCI, _d, _pEC, _cD, _eD, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -GENERATE_CLIENT_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _GCC, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/clientcertificates", "code": 201} - ) - }, - GENERATE_CLIENT_CERTIFICATE_INPUT, - GENERATE_CLIENT_CERTIFICATE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_ACCOUNT_INPUT: StaticSchema = (18, n0, _GAI, {_sSI: _cGAR, _smi: None}) - -GET_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _GAO, - {_sSI: _cAo, _smit: None}, - (_cRAl, _tS, _fe, _aKV), - ((STRING, 0), (THROTTLE_SETTINGS, 0), (LIST_OF_STRING, 0), (STRING, 0)), -) - -GET_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _GA, - {_smith: MappingProxyType({"method": "GET", "uri": "/account", "code": 200})}, - GET_ACCOUNT_INPUT, - GET_ACCOUNT_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_API_KEY_INPUT: StaticSchema = ( - 18, - n0, - _GAKI, - {_sSI: _cGAKR, _smi: None}, - (_aK, _iV), - ((STRING, 9), (NULLABLE_BOOLEAN, {_sQ: _iV})), -) - -GET_API_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _GAKO, - {_sSI: _cAK, _smit: None}, - (_i, _v, _n, _cI, _d, _e, _cD, _lUD, _sK, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (LIST_OF_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -GET_API_KEY: StaticOperationSchema = ( - 23, - n0, - _GAK, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/apikeys/{apiKey}", "code": 200} - ) - }, - GET_API_KEY_INPUT, - GET_API_KEY_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_API_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _GAKIe, - {_sSI: _cGAKRo, _smi: None}, - (_pos, _li, _nQ, _cI, _iVn), - ( - (STRING, {_sQ: _pos}), - (NULLABLE_INTEGER, {_sQ: _li}), - (STRING, {_sQ: _n}), - (STRING, {_sQ: _cI}), - (NULLABLE_BOOLEAN, {_sQ: _iVn}), - ), -) - -LIST_OF_API_KEY: StaticSchema = (16, n0, _LOAK, 0, (_m,), ((API_KEY, 0),)) - -GET_API_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _GAKOe, - {_sSI: _cAKo, _smit: None}, - (_w, _it, _pos), - ((LIST_OF_STRING, 0), (LIST_OF_API_KEY, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_API_KEYS: StaticOperationSchema = ( - 23, - n0, - _GAKe, - {_smith: MappingProxyType({"method": "GET", "uri": "/apikeys", "code": 200})}, - GET_API_KEYS_INPUT, - GET_API_KEYS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_AUTHORIZER_INPUT: StaticSchema = ( - 18, - n0, - _GAIe, - {_sSI: _cGARo, _smi: None}, - (_rAI, _aIu), - ((STRING, 9), (STRING, 9)), -) - -GET_AUTHORIZER_OUTPUT: StaticSchema = ( - 18, - n0, - _GAOe, - {_sSI: _cA, _smit: None}, - (_i, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), - ( - (STRING, 0), - (STRING, 0), - (AUTHORIZER_TYPE, 0), - (LIST_OF_AR_NS, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_INTEGER, 0), - ), -) - -GET_AUTHORIZER: StaticOperationSchema = ( - 23, - n0, - _GAe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", - "code": 200, - } - ) - }, - GET_AUTHORIZER_INPUT, - GET_AUTHORIZER_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_AUTHORIZERS_INPUT: StaticSchema = ( - 18, - n0, - _GAIet, - {_sSI: _cGARom, _smi: None}, - (_rAI, _pos, _li), - ((STRING, 9), (STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -LIST_OF_AUTHORIZER: StaticSchema = (16, n0, _LOA, 0, (_m,), ((AUTHORIZER, 0),)) - -GET_AUTHORIZERS_OUTPUT: StaticSchema = ( - 18, - n0, - _GAOet, - {_sSI: _cAom, _smit: None}, - (_it, _pos), - ((LIST_OF_AUTHORIZER, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_AUTHORIZERS: StaticOperationSchema = ( - 23, - n0, - _GAet, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/restapis/{restApiId}/authorizers", "code": 200} - ) - }, - GET_AUTHORIZERS_INPUT, - GET_AUTHORIZERS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_BASE_PATH_MAPPING_INPUT: StaticSchema = ( - 18, - n0, - _GBPMI, - {_sSI: _cGBPMR, _smi: None}, - (_dN, _dNI, _bP), - ((STRING, 9), (STRING, {_sQ: _dNI}), (STRING, 9)), -) - -GET_BASE_PATH_MAPPING_OUTPUT: StaticSchema = ( - 18, - n0, - _GBPMO, - {_sSI: _cBPM, _smit: None}, - (_bP, _rAI, _st), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -GET_BASE_PATH_MAPPING: StaticOperationSchema = ( - 23, - n0, - _GBPM, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", - "code": 200, - } - ) - }, - GET_BASE_PATH_MAPPING_INPUT, - GET_BASE_PATH_MAPPING_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_BASE_PATH_MAPPINGS_INPUT: StaticSchema = ( - 18, - n0, - _GBPMIe, - {_sSI: _cGBPMRo, _smi: None}, - (_dN, _dNI, _pos, _li), - ( - (STRING, 9), - (STRING, {_sQ: _dNI}), - (STRING, {_sQ: _pos}), - (NULLABLE_INTEGER, {_sQ: _li}), - ), -) - -BASE_PATH_MAPPING: StaticSchema = ( - 18, - n0, - _BPM, - 0, - (_bP, _rAI, _st), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -LIST_OF_BASE_PATH_MAPPING: StaticSchema = ( - 16, - n0, - _LOBPM, - 0, - (_m,), - ((BASE_PATH_MAPPING, 0),), -) - -GET_BASE_PATH_MAPPINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _GBPMOe, - {_sSI: _cBPMo, _smit: None}, - (_it, _pos), - ((LIST_OF_BASE_PATH_MAPPING, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_BASE_PATH_MAPPINGS: StaticOperationSchema = ( - 23, - n0, - _GBPMe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/domainnames/{domainName}/basepathmappings", - "code": 200, - } - ) - }, - GET_BASE_PATH_MAPPINGS_INPUT, - GET_BASE_PATH_MAPPINGS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_CLIENT_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _GCCIe, - {_sSI: _cGCCRo, _smi: None}, - (_cCI,), - ((STRING, 9),), -) - -GET_CLIENT_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GCCOe, - {_sSI: _cCC, _smit: None}, - (_cCI, _d, _pEC, _cD, _eD, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -GET_CLIENT_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _GCCe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/clientcertificates/{clientCertificateId}", - "code": 200, - } - ) - }, - GET_CLIENT_CERTIFICATE_INPUT, - GET_CLIENT_CERTIFICATE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_CLIENT_CERTIFICATES_INPUT: StaticSchema = ( - 18, - n0, - _GCCIet, - {_sSI: _cGCCRom, _smi: None}, - (_pos, _li), - ((STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -CLIENT_CERTIFICATE: StaticSchema = ( - 18, - n0, - _CC, - 0, - (_cCI, _d, _pEC, _cD, _eD, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -LIST_OF_CLIENT_CERTIFICATE: StaticSchema = ( - 16, - n0, - _LOCC, - 0, - (_m,), - ((CLIENT_CERTIFICATE, 0),), -) - -GET_CLIENT_CERTIFICATES_OUTPUT: StaticSchema = ( - 18, - n0, - _GCCOet, - {_sSI: _cCCo, _smit: None}, - (_it, _pos), - ((LIST_OF_CLIENT_CERTIFICATE, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_CLIENT_CERTIFICATES: StaticOperationSchema = ( - 23, - n0, - _GCCet, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/clientcertificates", "code": 200} - ) - }, - GET_CLIENT_CERTIFICATES_INPUT, - GET_CLIENT_CERTIFICATES_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _GDI, - {_sSI: _cGDR, _smi: None}, - (_rAI, _dI, _em), - ((STRING, 9), (STRING, 9), (LIST_OF_STRING, {_sQ: _em})), -) - -GET_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GDO, - {_sSI: _cDo, _smit: None}, - (_i, _d, _cD, _aS), - ((STRING, 0), (STRING, 0), (TIMESTAMP, 0), (PATH_TO_MAP_OF_METHOD_SNAPSHOT, 0)), -) - -GET_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _GD, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/deployments/{deploymentId}", - "code": 200, - } - ) - }, - GET_DEPLOYMENT_INPUT, - GET_DEPLOYMENT_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_DEPLOYMENTS_INPUT: StaticSchema = ( - 18, - n0, - _GDIe, - {_sSI: _cGDRo, _smi: None}, - (_rAI, _pos, _li), - ((STRING, 9), (STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -DEPLOYMENT: StaticSchema = ( - 18, - n0, - _De, - 0, - (_i, _d, _cD, _aS), - ((STRING, 0), (STRING, 0), (TIMESTAMP, 0), (PATH_TO_MAP_OF_METHOD_SNAPSHOT, 0)), -) - -LIST_OF_DEPLOYMENT: StaticSchema = (16, n0, _LOD, 0, (_m,), ((DEPLOYMENT, 0),)) - -GET_DEPLOYMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _GDOe, - {_sSI: _cDom, _smit: None}, - (_it, _pos), - ((LIST_OF_DEPLOYMENT, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_DEPLOYMENTS: StaticOperationSchema = ( - 23, - n0, - _GDe, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/restapis/{restApiId}/deployments", "code": 200} - ) - }, - GET_DEPLOYMENTS_INPUT, - GET_DEPLOYMENTS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_DOCUMENTATION_PART_INPUT: StaticSchema = ( - 18, - n0, - _GDPI, - {_sSI: _cGDPR, _smi: None}, - (_rAI, _dPI), - ((STRING, 9), (STRING, 9)), -) - -GET_DOCUMENTATION_PART_OUTPUT: StaticSchema = ( - 18, - n0, - _GDPO, - {_sSI: _cDP, _smit: None}, - (_i, _l, _pr), - ((STRING, 0), (DOCUMENTATION_PART_LOCATION, 0), (STRING, 0)), -) - -GET_DOCUMENTATION_PART: StaticOperationSchema = ( - 23, - n0, - _GDP, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", - "code": 200, - } - ) - }, - GET_DOCUMENTATION_PART_INPUT, - GET_DOCUMENTATION_PART_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -LOCATION_STATUS_TYPE: StaticSchema = ( - 14, - n0, - _LST, - 0, - (_DOCUMENTED, _UNDOCUMENTED), - ((-1, {_sV: _DOCUMENTED}), (-1, {_sV: _UNDOCUMENTED})), -) - -GET_DOCUMENTATION_PARTS_INPUT: StaticSchema = ( - 18, - n0, - _GDPIe, - {_sSI: _cGDPRo, _smi: None}, - (_rAI, _ty, _nQ, _p, _pos, _li, _lS), - ( - (STRING, 9), - (DOCUMENTATION_PART_TYPE, {_sQ: _ty}), - (STRING, {_sQ: _n}), - (STRING, {_sQ: _p}), - (STRING, {_sQ: _pos}), - (NULLABLE_INTEGER, {_sQ: _li}), - (LOCATION_STATUS_TYPE, {_sQ: _lS}), - ), -) - -DOCUMENTATION_PART: StaticSchema = ( - 18, - n0, - _DP, - 0, - (_i, _l, _pr), - ((STRING, 0), (DOCUMENTATION_PART_LOCATION, 0), (STRING, 0)), -) - -LIST_OF_DOCUMENTATION_PART: StaticSchema = ( - 16, - n0, - _LODP, - 0, - (_m,), - ((DOCUMENTATION_PART, 0),), -) - -GET_DOCUMENTATION_PARTS_OUTPUT: StaticSchema = ( - 18, - n0, - _GDPOe, - {_sSI: _cDPo, _smit: None}, - (_it, _pos), - ((LIST_OF_DOCUMENTATION_PART, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_DOCUMENTATION_PARTS: StaticOperationSchema = ( - 23, - n0, - _GDPe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/documentation/parts", - "code": 200, - } - ) - }, - GET_DOCUMENTATION_PARTS_INPUT, - GET_DOCUMENTATION_PARTS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_DOCUMENTATION_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _GDVI, - {_sSI: _cGDVR, _smi: None}, - (_rAI, _dV), - ((STRING, 9), (STRING, 9)), -) - -GET_DOCUMENTATION_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GDVO, - {_sSI: _cDV, _smit: None}, - (_ve, _cD, _d), - ((STRING, 0), (TIMESTAMP, 0), (STRING, 0)), -) - -GET_DOCUMENTATION_VERSION: StaticOperationSchema = ( - 23, - n0, - _GDV, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", - "code": 200, - } - ) - }, - GET_DOCUMENTATION_VERSION_INPUT, - GET_DOCUMENTATION_VERSION_OUTPUT, - (NOT_FOUND_EXCEPTION, TOO_MANY_REQUESTS_EXCEPTION, UNAUTHORIZED_EXCEPTION), -) - -GET_DOCUMENTATION_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _GDVIe, - {_sSI: _cGDVRo, _smi: None}, - (_rAI, _pos, _li), - ((STRING, 9), (STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -DOCUMENTATION_VERSION: StaticSchema = ( - 18, - n0, - _DV, - 0, - (_ve, _cD, _d), - ((STRING, 0), (TIMESTAMP, 0), (STRING, 0)), -) - -LIST_OF_DOCUMENTATION_VERSION: StaticSchema = ( - 16, - n0, - _LODV, - 0, - (_m,), - ((DOCUMENTATION_VERSION, 0),), -) - -GET_DOCUMENTATION_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GDVOe, - {_sSI: _cDVo, _smit: None}, - (_it, _pos), - ((LIST_OF_DOCUMENTATION_VERSION, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_DOCUMENTATION_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _GDVe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/documentation/versions", - "code": 200, - } - ) - }, - GET_DOCUMENTATION_VERSIONS_INPUT, - GET_DOCUMENTATION_VERSIONS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_DOMAIN_NAME_INPUT: StaticSchema = ( - 18, - n0, - _GDNI, - {_sSI: _cGDNR, _smi: None}, - (_dN, _dNI), - ((STRING, 9), (STRING, {_sQ: _dNI})), -) - -GET_DOMAIN_NAME_OUTPUT: StaticSchema = ( - 18, - n0, - _GDNO, - {_sSI: _cDN, _smit: None}, - ( - _dN, - _dNI, - _dNA, - _cN, - _cAe, - _cUD, - _rDN, - _rHZI, - _rCN, - _rCA, - _dDN, - _dHZI, - _eC, - _dNS, - _dNSM, - _sP, - _eAM, - _t, - _mTA, - _oVCA, - _mP, - _po, - _rM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ENDPOINT_CONFIGURATION, 0), - (DOMAIN_NAME_STATUS, 0), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MUTUAL_TLS_AUTHENTICATION, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ROUTING_MODE, 0), - ), -) - -GET_DOMAIN_NAME: StaticOperationSchema = ( - 23, - n0, - _GDN, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/domainnames/{domainName}", "code": 200} - ) - }, - GET_DOMAIN_NAME_INPUT, - GET_DOMAIN_NAME_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -RESOURCE_OWNER: StaticSchema = ( - 14, - n0, - _RO, - 0, - (_SELF, _OA), - ((-1, {_sV: _SELF}), (-1, {_sV: _OA})), -) - -GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GDNAAI, - {_sSI: _cGDNAAR, _smi: None}, - (_pos, _li, _rO), - ( - (STRING, {_sQ: _pos}), - (NULLABLE_INTEGER, {_sQ: _li}), - (RESOURCE_OWNER, {_sQ: _rO}), - ), -) - -DOMAIN_NAME_ACCESS_ASSOCIATION: StaticSchema = ( - 18, - n0, - _DNAA, - 0, - (_dNAAA, _dNA, _aAST, _aAS, _t), - ( - (STRING, 0), - (STRING, 0), - (ACCESS_ASSOCIATION_SOURCE_TYPE, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -LIST_OF_DOMAIN_NAME_ACCESS_ASSOCIATION: StaticSchema = ( - 16, - n0, - _LODNAA, - 0, - (_m,), - ((DOMAIN_NAME_ACCESS_ASSOCIATION, 0),), -) - -GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GDNAAO, - {_sSI: _cDNAAo, _smit: None}, - (_it, _pos), - ((LIST_OF_DOMAIN_NAME_ACCESS_ASSOCIATION, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _GDNAA, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/domainnameaccessassociations", "code": 200} - ) - }, - GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_INPUT, - GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_DOMAIN_NAMES_INPUT: StaticSchema = ( - 18, - n0, - _GDNIe, - {_sSI: _cGDNRo, _smi: None}, - (_pos, _li, _rO), - ( - (STRING, {_sQ: _pos}), - (NULLABLE_INTEGER, {_sQ: _li}), - (RESOURCE_OWNER, {_sQ: _rO}), - ), -) - -DOMAIN_NAME: StaticSchema = ( - 18, - n0, - _DN, - 0, - ( - _dN, - _dNI, - _dNA, - _cN, - _cAe, - _cUD, - _rDN, - _rHZI, - _rCN, - _rCA, - _dDN, - _dHZI, - _eC, - _dNS, - _dNSM, - _sP, - _eAM, - _t, - _mTA, - _oVCA, - _mP, - _po, - _rM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ENDPOINT_CONFIGURATION, 0), - (DOMAIN_NAME_STATUS, 0), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MUTUAL_TLS_AUTHENTICATION, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ROUTING_MODE, 0), - ), -) - -LIST_OF_DOMAIN_NAME: StaticSchema = (16, n0, _LODN, 0, (_m,), ((DOMAIN_NAME, 0),)) - -GET_DOMAIN_NAMES_OUTPUT: StaticSchema = ( - 18, - n0, - _GDNOe, - {_sSI: _cDNo, _smit: None}, - (_it, _pos), - ((LIST_OF_DOMAIN_NAME, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_DOMAIN_NAMES: StaticOperationSchema = ( - 23, - n0, - _GDNe, - {_smith: MappingProxyType({"method": "GET", "uri": "/domainnames", "code": 200})}, - GET_DOMAIN_NAMES_INPUT, - GET_DOMAIN_NAMES_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_EXPORT_INPUT: StaticSchema = ( - 18, - n0, - _GEI, - {_sSI: _cGER, _smi: None}, - (_rAI, _sN, _eT, _pa, _a), - ( - (STRING, 9), - (STRING, 9), - (STRING, 9), - (MAP_OF_STRING_TO_STRING, 1024), - (STRING, {_sH: _Ac}), - ), -) - -BLOB: StaticSchema = (1, n0, _Bl, 0) - -GET_EXPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _GEO, - {_sSI: _cER, _smit: None}, - (_cT, _cDon, _b), - ((STRING, {_sH: _CT_}), (STRING, {_sH: _CD_}), (BLOB, 16)), -) - -GET_EXPORT: StaticOperationSchema = ( - 23, - n0, - _GE, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/stages/{stageName}/exports/{exportType}", - "code": 200, - } - ) - }, - GET_EXPORT_INPUT, - GET_EXPORT_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_GATEWAY_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _GGRI, - {_sSI: _cGGRR, _smi: None}, - (_rAI, _rTes), - ((STRING, 9), (GATEWAY_RESPONSE_TYPE, 9)), -) - -GET_GATEWAY_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _GGRO, - {_sSI: _cGR, _smit: None}, - (_rTes, _sC, _rP, _rT, _dR), - ( - (GATEWAY_RESPONSE_TYPE, 0), - (STATUS_CODE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - ), -) - -GET_GATEWAY_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _GGR, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", - "code": 200, - } - ) - }, - GET_GATEWAY_RESPONSE_INPUT, - GET_GATEWAY_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_GATEWAY_RESPONSES_INPUT: StaticSchema = ( - 18, - n0, - _GGRIe, - {_sSI: _cGGRRo, _smi: None}, - (_rAI, _pos, _li), - ((STRING, 9), (STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -GATEWAY_RESPONSE: StaticSchema = ( - 18, - n0, - _GR, - 0, - (_rTes, _sC, _rP, _rT, _dR), - ( - (GATEWAY_RESPONSE_TYPE, 0), - (STATUS_CODE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - ), -) - -LIST_OF_GATEWAY_RESPONSE: StaticSchema = ( - 16, - n0, - _LOGR, - 0, - (_m,), - ((GATEWAY_RESPONSE, 0),), -) - -GET_GATEWAY_RESPONSES_OUTPUT: StaticSchema = ( - 18, - n0, - _GGROe, - {_sSI: _cGRo, _smit: None}, - (_it, _pos), - ((LIST_OF_GATEWAY_RESPONSE, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_GATEWAY_RESPONSES: StaticOperationSchema = ( - 23, - n0, - _GGRe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/gatewayresponses", - "code": 200, - } - ) - }, - GET_GATEWAY_RESPONSES_INPUT, - GET_GATEWAY_RESPONSES_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_INTEGRATION_INPUT: StaticSchema = ( - 18, - n0, - _GII, - {_sSI: _cGIR, _smi: None}, - (_rAI, _rI, _hM), - ((STRING, 9), (STRING, 9), (STRING, 9)), -) - -GET_INTEGRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GIO, - {_sSI: _cIom, _smit: None}, - ( - _ty, - _hM, - _u, - _cTo, - _cIo, - _cr, - _rPe, - _rTe, - _pB, - _cH, - _tIM, - _cNa, - _cKP, - _iR, - _tC, - _rTM, - _iT, - ), - ( - (INTEGRATION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (CONNECTION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - (INTEGER, {_s: 0}), - (STRING, 0), - (LIST_OF_STRING, 0), - (MAP_OF_INTEGRATION_RESPONSE, 0), - (TLS_CONFIG, 0), - (RESPONSE_TRANSFER_MODE, 0), - (STRING, 0), - ), -) - -GET_INTEGRATION: StaticOperationSchema = ( - 23, - n0, - _GI, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", - "code": 200, - } - ) - }, - GET_INTEGRATION_INPUT, - GET_INTEGRATION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_INTEGRATION_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _GIRI, - {_sSI: _cGIRR, _smi: None}, - (_rAI, _rI, _hM, _sC), - ((STRING, 9), (STRING, 9), (STRING, 9), (STATUS_CODE, 9)), -) - -GET_INTEGRATION_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _GIRO, - {_sSI: _cIR, _smit: None}, - (_sC, _sPe, _rP, _rT, _cH), - ( - (STATUS_CODE, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - ), -) - -GET_INTEGRATION_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _GIR, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", - "code": 200, - } - ) - }, - GET_INTEGRATION_RESPONSE_INPUT, - GET_INTEGRATION_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_METHOD_INPUT: StaticSchema = ( - 18, - n0, - _GMI, - {_sSI: _cGMR, _smi: None}, - (_rAI, _rI, _hM), - ((STRING, 9), (STRING, 9), (STRING, 9)), -) - -GET_METHOD_OUTPUT: StaticSchema = ( - 18, - n0, - _GMO, - {_sSI: _cMo, _smit: None}, - (_hM, _aTu, _aIu, _aKR, _rVI, _oN, _rPe, _rMeq, _mR, _mI, _aSu), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_BOOLEAN, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_METHOD_RESPONSE, 0), - (INTEGRATION, 0), - (LIST_OF_STRING, 0), - ), -) - -GET_METHOD: StaticOperationSchema = ( - 23, - n0, - _GM, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - "code": 200, - } - ) - }, - GET_METHOD_INPUT, - GET_METHOD_OUTPUT, - (NOT_FOUND_EXCEPTION, TOO_MANY_REQUESTS_EXCEPTION, UNAUTHORIZED_EXCEPTION), -) - -GET_METHOD_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _GMRI, - {_sSI: _cGMRR, _smi: None}, - (_rAI, _rI, _hM, _sC), - ((STRING, 9), (STRING, 9), (STRING, 9), (STATUS_CODE, 9)), -) - -GET_METHOD_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _GMRO, - {_sSI: _cMR, _smit: None}, - (_sC, _rP, _rMe), - ((STATUS_CODE, 0), (MAP_OF_STRING_TO_BOOLEAN, 0), (MAP_OF_STRING_TO_STRING, 0)), -) - -GET_METHOD_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _GMR, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", - "code": 200, - } - ) - }, - GET_METHOD_RESPONSE_INPUT, - GET_METHOD_RESPONSE_OUTPUT, - (NOT_FOUND_EXCEPTION, TOO_MANY_REQUESTS_EXCEPTION, UNAUTHORIZED_EXCEPTION), -) - -GET_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _GMIe, - {_sSI: _cGMRo, _smi: None}, - (_rAI, _mN, _fl), - ((STRING, 9), (STRING, 9), (BOOLEAN, {_s: False, _sQ: _fl})), -) - -GET_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _GMOe, - {_sSI: _cM, _smit: None}, - (_i, _n, _d, _sc, _cT), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -GET_MODEL: StaticOperationSchema = ( - 23, - n0, - _GMe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/models/{modelName}", - "code": 200, - } - ) - }, - GET_MODEL_INPUT, - GET_MODEL_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_MODELS_INPUT: StaticSchema = ( - 18, - n0, - _GMIet, - {_sSI: _cGMRom, _smi: None}, - (_rAI, _pos, _li), - ((STRING, 9), (STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -MODEL: StaticSchema = ( - 18, - n0, - _Mo, - 0, - (_i, _n, _d, _sc, _cT), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -LIST_OF_MODEL: StaticSchema = (16, n0, _LOM, 0, (_m,), ((MODEL, 0),)) - -GET_MODELS_OUTPUT: StaticSchema = ( - 18, - n0, - _GMOet, - {_sSI: _cMom, _smit: None}, - (_it, _pos), - ((LIST_OF_MODEL, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_MODELS: StaticOperationSchema = ( - 23, - n0, - _GMet, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/restapis/{restApiId}/models", "code": 200} - ) - }, - GET_MODELS_INPUT, - GET_MODELS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_MODEL_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _GMTI, - {_sSI: _cGMTR, _smi: None}, - (_rAI, _mN), - ((STRING, 9), (STRING, 9)), -) - -GET_MODEL_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GMTO, - {_sSI: _cTom, _smit: None}, - (_v,), - ((STRING, 0),), -) - -GET_MODEL_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _GMT, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/models/{modelName}/default_template", - "code": 200, - } - ) - }, - GET_MODEL_TEMPLATE_INPUT, - GET_MODEL_TEMPLATE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_REQUEST_VALIDATOR_INPUT: StaticSchema = ( - 18, - n0, - _GRVI, - {_sSI: _cGRVR, _smi: None}, - (_rAI, _rVI), - ((STRING, 9), (STRING, 9)), -) - -GET_REQUEST_VALIDATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _GRVO, - {_sSI: _cRV, _smit: None}, - (_i, _n, _vRB, _vRP), - ((STRING, 0), (STRING, 0), (BOOLEAN, {_s: False}), (BOOLEAN, {_s: False})), -) - -GET_REQUEST_VALIDATOR: StaticOperationSchema = ( - 23, - n0, - _GRV, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", - "code": 200, - } - ) - }, - GET_REQUEST_VALIDATOR_INPUT, - GET_REQUEST_VALIDATOR_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_REQUEST_VALIDATORS_INPUT: StaticSchema = ( - 18, - n0, - _GRVIe, - {_sSI: _cGRVRo, _smi: None}, - (_rAI, _pos, _li), - ((STRING, 9), (STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -REQUEST_VALIDATOR: StaticSchema = ( - 18, - n0, - _RV, - 0, - (_i, _n, _vRB, _vRP), - ((STRING, 0), (STRING, 0), (BOOLEAN, {_s: False}), (BOOLEAN, {_s: False})), -) - -LIST_OF_REQUEST_VALIDATOR: StaticSchema = ( - 16, - n0, - _LORV, - 0, - (_m,), - ((REQUEST_VALIDATOR, 0),), -) - -GET_REQUEST_VALIDATORS_OUTPUT: StaticSchema = ( - 18, - n0, - _GRVOe, - {_sSI: _cRVo, _smit: None}, - (_it, _pos), - ((LIST_OF_REQUEST_VALIDATOR, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_REQUEST_VALIDATORS: StaticOperationSchema = ( - 23, - n0, - _GRVe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/requestvalidators", - "code": 200, - } - ) - }, - GET_REQUEST_VALIDATORS_INPUT, - GET_REQUEST_VALIDATORS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _GRI, - {_sSI: _cGRR, _smi: None}, - (_rAI, _rI, _em), - ((STRING, 9), (STRING, 9), (LIST_OF_STRING, {_sQ: _em})), -) - -GET_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _GRO, - {_sSI: _cR, _smit: None}, - (_i, _pI, _pP, _p, _rMes), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (MAP_OF_METHOD, 0)), -) - -GET_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _GRe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/resources/{resourceId}", - "code": 200, - } - ) - }, - GET_RESOURCE_INPUT, - GET_RESOURCE_OUTPUT, - (NOT_FOUND_EXCEPTION, TOO_MANY_REQUESTS_EXCEPTION, UNAUTHORIZED_EXCEPTION), -) - -GET_RESOURCES_INPUT: StaticSchema = ( - 18, - n0, - _GRIe, - {_sSI: _cGRRo, _smi: None}, - (_rAI, _pos, _li, _em), - ( - (STRING, 9), - (STRING, {_sQ: _pos}), - (NULLABLE_INTEGER, {_sQ: _li}), - (LIST_OF_STRING, {_sQ: _em}), - ), -) - -RESOURCE: StaticSchema = ( - 18, - n0, - _R, - 0, - (_i, _pI, _pP, _p, _rMes), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (MAP_OF_METHOD, 0)), -) - -LIST_OF_RESOURCE: StaticSchema = (16, n0, _LOR, 0, (_m,), ((RESOURCE, 0),)) - -GET_RESOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _GROe, - {_sSI: _cRo, _smit: None}, - (_it, _pos), - ((LIST_OF_RESOURCE, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_RESOURCES: StaticOperationSchema = ( - 23, - n0, - _GRet, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/restapis/{restApiId}/resources", "code": 200} - ) - }, - GET_RESOURCES_INPUT, - GET_RESOURCES_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_REST_API_INPUT: StaticSchema = ( - 18, - n0, - _GRAI, - {_sSI: _cGRAR, _smi: None}, - (_rAI,), - ((STRING, 9),), -) - -GET_REST_API_OUTPUT: StaticSchema = ( - 18, - n0, - _GRAO, - {_sSI: _cRA, _smit: None}, - ( - _i, - _n, - _d, - _cD, - _ve, - _w, - _bMT, - _mCS, - _aKS, - _eC, - _po, - _t, - _dEAE, - _rRI, - _sP, - _eAM, - _aSp, - _aSM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (LIST_OF_STRING, 0), - (NULLABLE_INTEGER, 0), - (API_KEY_SOURCE_TYPE, 0), - (ENDPOINT_CONFIGURATION, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (API_STATUS, 0), - (STRING, 0), - ), -) - -GET_REST_API: StaticOperationSchema = ( - 23, - n0, - _GRA, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/restapis/{restApiId}", "code": 200} - ) - }, - GET_REST_API_INPUT, - GET_REST_API_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_REST_APIS_INPUT: StaticSchema = ( - 18, - n0, - _GRAIe, - {_sSI: _cGRARo, _smi: None}, - (_pos, _li), - ((STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -REST_API: StaticSchema = ( - 18, - n0, - _RAe, - 0, - ( - _i, - _n, - _d, - _cD, - _ve, - _w, - _bMT, - _mCS, - _aKS, - _eC, - _po, - _t, - _dEAE, - _rRI, - _sP, - _eAM, - _aSp, - _aSM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (LIST_OF_STRING, 0), - (NULLABLE_INTEGER, 0), - (API_KEY_SOURCE_TYPE, 0), - (ENDPOINT_CONFIGURATION, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (API_STATUS, 0), - (STRING, 0), - ), -) - -LIST_OF_REST_API: StaticSchema = (16, n0, _LORA, 0, (_m,), ((REST_API, 0),)) - -GET_REST_APIS_OUTPUT: StaticSchema = ( - 18, - n0, - _GRAOe, - {_sSI: _cRAo, _smit: None}, - (_it, _pos), - ((LIST_OF_REST_API, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_REST_APIS: StaticOperationSchema = ( - 23, - n0, - _GRAe, - {_smith: MappingProxyType({"method": "GET", "uri": "/restapis", "code": 200})}, - GET_REST_APIS_INPUT, - GET_REST_APIS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_SDK_INPUT: StaticSchema = ( - 18, - n0, - _GSI, - {_sSI: _cGSR, _smi: None}, - (_rAI, _sN, _sT, _pa), - ((STRING, 9), (STRING, 9), (STRING, 9), (MAP_OF_STRING_TO_STRING, 1024)), -) - -GET_SDK_OUTPUT: StaticSchema = ( - 18, - n0, - _GSO, - {_sSI: _cSR, _smit: None}, - (_cT, _cDon, _b), - ((STRING, {_sH: _CT_}), (STRING, {_sH: _CD_}), (BLOB, 16)), -) - -GET_SDK: StaticOperationSchema = ( - 23, - n0, - _GS, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/stages/{stageName}/sdks/{sdkType}", - "code": 200, - } - ) - }, - GET_SDK_INPUT, - GET_SDK_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_SDK_TYPE_INPUT: StaticSchema = ( - 18, - n0, - _GSTI, - {_sSI: _cGSTR, _smi: None}, - (_i,), - ((STRING, 9),), -) - -SDK_CONFIGURATION_PROPERTY: StaticSchema = ( - 18, - n0, - _SCP, - 0, - (_n, _fN, _d, _r, _dVe), - ((STRING, 0), (STRING, 0), (STRING, 0), (BOOLEAN, {_s: False}), (STRING, 0)), -) - -LIST_OF_SDK_CONFIGURATION_PROPERTY: StaticSchema = ( - 16, - n0, - _LOSCP, - 0, - (_m,), - ((SDK_CONFIGURATION_PROPERTY, 0),), -) - -GET_SDK_TYPE_OUTPUT: StaticSchema = ( - 18, - n0, - _GSTO, - {_sSI: _cST, _smit: None}, - (_i, _fN, _d, _cP), - ((STRING, 0), (STRING, 0), (STRING, 0), (LIST_OF_SDK_CONFIGURATION_PROPERTY, 0)), -) - -GET_SDK_TYPE: StaticOperationSchema = ( - 23, - n0, - _GST, - {_smith: MappingProxyType({"method": "GET", "uri": "/sdktypes/{id}", "code": 200})}, - GET_SDK_TYPE_INPUT, - GET_SDK_TYPE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_SDK_TYPES_INPUT: StaticSchema = ( - 18, - n0, - _GSTIe, - {_sSI: _cGSTRo, _smi: None}, - (_pos, _li), - ((STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -SDK_TYPE: StaticSchema = ( - 18, - n0, - _STd, - 0, - (_i, _fN, _d, _cP), - ((STRING, 0), (STRING, 0), (STRING, 0), (LIST_OF_SDK_CONFIGURATION_PROPERTY, 0)), -) - -LIST_OF_SDK_TYPE: StaticSchema = (16, n0, _LOST, 0, (_m,), ((SDK_TYPE, 0),)) - -GET_SDK_TYPES_OUTPUT: StaticSchema = ( - 18, - n0, - _GSTOe, - {_sSI: _cSTo, _smit: None}, - (_it,), - ((LIST_OF_SDK_TYPE, {_sNm: _ite}),), -) - -GET_SDK_TYPES: StaticOperationSchema = ( - 23, - n0, - _GSTe, - {_smith: MappingProxyType({"method": "GET", "uri": "/sdktypes", "code": 200})}, - GET_SDK_TYPES_INPUT, - GET_SDK_TYPES_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_STAGE_INPUT: StaticSchema = ( - 18, - n0, - _GSIe, - {_sSI: _cGSRo, _smi: None}, - (_rAI, _sN), - ((STRING, 9), (STRING, 9)), -) - -GET_STAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _GSOe, - {_sSI: _cSo, _smit: None}, - ( - _dI, - _cCI, - _sN, - _d, - _cCE, - _cCS, - _cCSa, - _mS, - _va, - _dV, - _aLS, - _cS, - _tE, - _wAA, - _t, - _cD, - _lUD, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (CACHE_CLUSTER_SIZE, 0), - (CACHE_CLUSTER_STATUS, 0), - (MAP_OF_METHOD_SETTINGS, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (ACCESS_LOG_SETTINGS, 0), - (CANARY_SETTINGS, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -GET_STAGE: StaticOperationSchema = ( - 23, - n0, - _GSe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/restapis/{restApiId}/stages/{stageName}", - "code": 200, - } - ) - }, - GET_STAGE_INPUT, - GET_STAGE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_STAGES_INPUT: StaticSchema = ( - 18, - n0, - _GSIet, - {_sSI: _cGSRom, _smi: None}, - (_rAI, _dI), - ((STRING, 9), (STRING, {_sQ: _dI})), -) - -STAGE: StaticSchema = ( - 18, - n0, - _St, - 0, - ( - _dI, - _cCI, - _sN, - _d, - _cCE, - _cCS, - _cCSa, - _mS, - _va, - _dV, - _aLS, - _cS, - _tE, - _wAA, - _t, - _cD, - _lUD, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (CACHE_CLUSTER_SIZE, 0), - (CACHE_CLUSTER_STATUS, 0), - (MAP_OF_METHOD_SETTINGS, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (ACCESS_LOG_SETTINGS, 0), - (CANARY_SETTINGS, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -LIST_OF_STAGE: StaticSchema = (16, n0, _LOSi, 0, (_m,), ((STAGE, 0),)) - -GET_STAGES_OUTPUT: StaticSchema = ( - 18, - n0, - _GSOet, - {_sSI: _cSom, _smit: None}, - (_ite,), - ((LIST_OF_STAGE, 0),), -) - -GET_STAGES: StaticOperationSchema = ( - 23, - n0, - _GSet, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/restapis/{restApiId}/stages", "code": 200} - ) - }, - GET_STAGES_INPUT, - GET_STAGES_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _GTI, - {_sSI: _cGTR, _smi: None}, - (_rA, _pos, _li), - ((STRING, 9), (STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -GET_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _GTO, - {_sSI: _cToma, _smit: None}, - (_t,), - ((MAP_OF_STRING_TO_STRING, 0),), -) - -GET_TAGS: StaticOperationSchema = ( - 23, - n0, - _GT, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/tags/{resourceArn}", "code": 200} - ) - }, - GET_TAGS_INPUT, - GET_TAGS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_USAGE_INPUT: StaticSchema = ( - 18, - n0, - _GUI, - {_sSI: _cGUR, _smi: None}, - (_uPI, _kI, _sDt, _eDn, _pos, _li), - ( - (STRING, 9), - (STRING, {_sQ: _kI}), - (STRING, {_sQ: _sDt, _smithy: None}), - (STRING, {_sQ: _eDn, _smithy: None}), - (STRING, {_sQ: _pos}), - (NULLABLE_INTEGER, {_sQ: _li}), - ), -) - -LONG: StaticSchema = (8, n0, _L, {_s: 0}) - -LIST_OF_LONG: StaticSchema = (16, n0, _LOL, 0, (_m,), ((LONG, 0),)) - -LIST_OF_USAGE: StaticSchema = (16, n0, _LOU, 0, (_m,), ((LIST_OF_LONG, 0),)) - -MAP_OF_KEY_USAGES: StaticSchema = ( - 17, - n0, - _MOKU, - 0, - (_k, _v), - ((STRING, 0), (LIST_OF_USAGE, 0)), -) - -GET_USAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _GUO, - {_sSI: _cU, _smit: None}, - (_uPI, _sDt, _eDn, _it, _pos), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_KEY_USAGES, {_sNm: _val}), - (STRING, {_sQ: _pos}), - ), -) - -GET_USAGE: StaticOperationSchema = ( - 23, - n0, - _GU, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/usageplans/{usagePlanId}/usage", "code": 200} - ) - }, - GET_USAGE_INPUT, - GET_USAGE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_USAGE_PLAN_INPUT: StaticSchema = ( - 18, - n0, - _GUPI, - {_sSI: _cGUPR, _smi: None}, - (_uPI,), - ((STRING, 9),), -) - -GET_USAGE_PLAN_OUTPUT: StaticSchema = ( - 18, - n0, - _GUPO, - {_sSI: _cUP, _smit: None}, - (_i, _n, _d, _aSpi, _th, _q, _pC, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_API_STAGE, 0), - (THROTTLE_SETTINGS, 0), - (QUOTA_SETTINGS, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -GET_USAGE_PLAN: StaticOperationSchema = ( - 23, - n0, - _GUP, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/usageplans/{usagePlanId}", "code": 200} - ) - }, - GET_USAGE_PLAN_INPUT, - GET_USAGE_PLAN_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_USAGE_PLAN_KEY_INPUT: StaticSchema = ( - 18, - n0, - _GUPKI, - {_sSI: _cGUPKR, _smi: None}, - (_uPI, _kI), - ((STRING, 9), (STRING, 9)), -) - -GET_USAGE_PLAN_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _GUPKO, - {_sSI: _cUPK, _smit: None}, - (_i, _ty, _v, _n), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -GET_USAGE_PLAN_KEY: StaticOperationSchema = ( - 23, - n0, - _GUPK, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/usageplans/{usagePlanId}/keys/{keyId}", - "code": 200, - } - ) - }, - GET_USAGE_PLAN_KEY_INPUT, - GET_USAGE_PLAN_KEY_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_USAGE_PLAN_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _GUPKIe, - {_sSI: _cGUPKRo, _smi: None}, - (_uPI, _pos, _li, _nQ), - ( - (STRING, 9), - (STRING, {_sQ: _pos}), - (NULLABLE_INTEGER, {_sQ: _li}), - (STRING, {_sQ: _n}), - ), -) - -USAGE_PLAN_KEY: StaticSchema = ( - 18, - n0, - _UPK, - 0, - (_i, _ty, _v, _n), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -LIST_OF_USAGE_PLAN_KEY: StaticSchema = ( - 16, - n0, - _LOUPK, - 0, - (_m,), - ((USAGE_PLAN_KEY, 0),), -) - -GET_USAGE_PLAN_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _GUPKOe, - {_sSI: _cUPKo, _smit: None}, - (_it, _pos), - ((LIST_OF_USAGE_PLAN_KEY, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_USAGE_PLAN_KEYS: StaticOperationSchema = ( - 23, - n0, - _GUPKe, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/usageplans/{usagePlanId}/keys", "code": 200} - ) - }, - GET_USAGE_PLAN_KEYS_INPUT, - GET_USAGE_PLAN_KEYS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_USAGE_PLANS_INPUT: StaticSchema = ( - 18, - n0, - _GUPIe, - {_sSI: _cGUPRo, _smi: None}, - (_pos, _kI, _li), - ((STRING, {_sQ: _pos}), (STRING, {_sQ: _kI}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -USAGE_PLAN: StaticSchema = ( - 18, - n0, - _UP, - 0, - (_i, _n, _d, _aSpi, _th, _q, _pC, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_API_STAGE, 0), - (THROTTLE_SETTINGS, 0), - (QUOTA_SETTINGS, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -LIST_OF_USAGE_PLAN: StaticSchema = (16, n0, _LOUP, 0, (_m,), ((USAGE_PLAN, 0),)) - -GET_USAGE_PLANS_OUTPUT: StaticSchema = ( - 18, - n0, - _GUPOe, - {_sSI: _cUPo, _smit: None}, - (_it, _pos), - ((LIST_OF_USAGE_PLAN, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_USAGE_PLANS: StaticOperationSchema = ( - 23, - n0, - _GUPe, - {_smith: MappingProxyType({"method": "GET", "uri": "/usageplans", "code": 200})}, - GET_USAGE_PLANS_INPUT, - GET_USAGE_PLANS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_VPC_LINK_INPUT: StaticSchema = ( - 18, - n0, - _GVLI, - {_sSI: _cGVLR, _smi: None}, - (_vLI,), - ((STRING, 9),), -) - -GET_VPC_LINK_OUTPUT: StaticSchema = ( - 18, - n0, - _GVLO, - {_sSI: _cVL, _smit: None}, - (_i, _n, _d, _tA, _sta, _sM, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (VPC_LINK_STATUS, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -GET_VPC_LINK: StaticOperationSchema = ( - 23, - n0, - _GVL, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/vpclinks/{vpcLinkId}", "code": 200} - ) - }, - GET_VPC_LINK_INPUT, - GET_VPC_LINK_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -GET_VPC_LINKS_INPUT: StaticSchema = ( - 18, - n0, - _GVLIe, - {_sSI: _cGVLRo, _smi: None}, - (_pos, _li), - ((STRING, {_sQ: _pos}), (NULLABLE_INTEGER, {_sQ: _li})), -) - -VPC_LINK: StaticSchema = ( - 18, - n0, - _VLp, - 0, - (_i, _n, _d, _tA, _sta, _sM, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (VPC_LINK_STATUS, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -LIST_OF_VPC_LINK: StaticSchema = (16, n0, _LOVL, 0, (_m,), ((VPC_LINK, 0),)) - -GET_VPC_LINKS_OUTPUT: StaticSchema = ( - 18, - n0, - _GVLOe, - {_sSI: _cVLo, _smit: None}, - (_it, _pos), - ((LIST_OF_VPC_LINK, {_sNm: _ite}), (STRING, {_sQ: _pos})), -) - -GET_VPC_LINKS: StaticOperationSchema = ( - 23, - n0, - _GVLe, - {_smith: MappingProxyType({"method": "GET", "uri": "/vpclinks", "code": 200})}, - GET_VPC_LINKS_INPUT, - GET_VPC_LINKS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -IMPORT_API_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _IAKI, - {_sSI: _cIAKR, _smi: None}, - (_b, _f, _fOW), - ( - (BLOB, 17), - (API_KEYS_FORMAT, {_sQ: _f, _smithy: None}), - (BOOLEAN, {_s: False, _sQ: _fa}), - ), -) - -IMPORT_API_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _IAKO, - {_sSI: _cAKI, _smit: None}, - (_id, _w), - ((LIST_OF_STRING, 0), (LIST_OF_STRING, 0)), -) - -IMPORT_API_KEYS: StaticOperationSchema = ( - 23, - n0, - _IAKm, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/apikeys?mode=import", "code": 201} - ) - }, - IMPORT_API_KEYS_INPUT, - IMPORT_API_KEYS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -PUT_MODE: StaticSchema = ( - 14, - n0, - _PM, - 0, - (_Me, _O), - ((-1, {_sV: _mer}), (-1, {_sV: _ov})), -) - -IMPORT_DOCUMENTATION_PARTS_INPUT: StaticSchema = ( - 18, - n0, - _IDPI, - {_sSI: _cIDPR, _smi: None}, - (_rAI, _mo, _fOW, _b), - ((STRING, 9), (PUT_MODE, {_sQ: _mo}), (BOOLEAN, {_s: False, _sQ: _fa}), (BLOB, 17)), -) - -IMPORT_DOCUMENTATION_PARTS_OUTPUT: StaticSchema = ( - 18, - n0, - _IDPO, - {_sSI: _cDPI, _smit: None}, - (_id, _w), - ((LIST_OF_STRING, 0), (LIST_OF_STRING, 0)), -) - -IMPORT_DOCUMENTATION_PARTS: StaticOperationSchema = ( - 23, - n0, - _IDP, - { - _smith: MappingProxyType( - { - "method": "PUT", - "uri": "/restapis/{restApiId}/documentation/parts", - "code": 200, - } - ) - }, - IMPORT_DOCUMENTATION_PARTS_INPUT, - IMPORT_DOCUMENTATION_PARTS_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -IMPORT_REST_API_INPUT: StaticSchema = ( - 18, - n0, - _IRAI, - {_sSI: _cIRAR, _smi: None}, - (_fOW, _pa, _b), - ((BOOLEAN, {_s: False, _sQ: _fa}), (MAP_OF_STRING_TO_STRING, 1024), (BLOB, 17)), -) - -IMPORT_REST_API_OUTPUT: StaticSchema = ( - 18, - n0, - _IRAO, - {_sSI: _cRA, _smit: None}, - ( - _i, - _n, - _d, - _cD, - _ve, - _w, - _bMT, - _mCS, - _aKS, - _eC, - _po, - _t, - _dEAE, - _rRI, - _sP, - _eAM, - _aSp, - _aSM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (LIST_OF_STRING, 0), - (NULLABLE_INTEGER, 0), - (API_KEY_SOURCE_TYPE, 0), - (ENDPOINT_CONFIGURATION, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (API_STATUS, 0), - (STRING, 0), - ), -) - -IMPORT_REST_API: StaticOperationSchema = ( - 23, - n0, - _IRA, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/restapis?mode=import", "code": 201} - ) - }, - IMPORT_REST_API_INPUT, - IMPORT_REST_API_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -PUT_GATEWAY_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _PGRI, - {_sSI: _cPGRR, _smi: None}, - (_rAI, _rTes, _sC, _rP, _rT), - ( - (STRING, 9), - (GATEWAY_RESPONSE_TYPE, 9), - (STATUS_CODE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -PUT_GATEWAY_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _PGRO, - {_sSI: _cGR, _smit: None}, - (_rTes, _sC, _rP, _rT, _dR), - ( - (GATEWAY_RESPONSE_TYPE, 0), - (STATUS_CODE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - ), -) - -PUT_GATEWAY_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _PGR, - { - _smith: MappingProxyType( - { - "method": "PUT", - "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", - "code": 201, - } - ) - }, - PUT_GATEWAY_RESPONSE_INPUT, - PUT_GATEWAY_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -PUT_INTEGRATION_INPUT: StaticSchema = ( - 18, - n0, - _PII, - {_sSI: _cPIR, _smi: None}, - ( - _rAI, - _rI, - _hM, - _ty, - _iHM, - _u, - _cTo, - _cIo, - _cr, - _rPe, - _rTe, - _pB, - _cNa, - _cKP, - _cH, - _tIM, - _tC, - _rTM, - _iT, - ), - ( - (STRING, 9), - (STRING, 9), - (STRING, {_sNm: _rHM, _smithy: None, _sL: None}), - (INTEGRATION_TYPE, 1), - (STRING, {_sNm: _hM}), - (STRING, 0), - (CONNECTION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - (NULLABLE_INTEGER, 0), - (TLS_CONFIG, 0), - (RESPONSE_TRANSFER_MODE, 0), - (STRING, 0), - ), -) - -PUT_INTEGRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PIO, - {_sSI: _cIom, _smit: None}, - ( - _ty, - _hM, - _u, - _cTo, - _cIo, - _cr, - _rPe, - _rTe, - _pB, - _cH, - _tIM, - _cNa, - _cKP, - _iR, - _tC, - _rTM, - _iT, - ), - ( - (INTEGRATION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (CONNECTION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - (INTEGER, {_s: 0}), - (STRING, 0), - (LIST_OF_STRING, 0), - (MAP_OF_INTEGRATION_RESPONSE, 0), - (TLS_CONFIG, 0), - (RESPONSE_TRANSFER_MODE, 0), - (STRING, 0), - ), -) - -PUT_INTEGRATION: StaticOperationSchema = ( - 23, - n0, - _PI, - { - _smith: MappingProxyType( - { - "method": "PUT", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", - "code": 201, - } - ) - }, - PUT_INTEGRATION_INPUT, - PUT_INTEGRATION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -PUT_INTEGRATION_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _PIRI, - {_sSI: _cPIRR, _smi: None}, - (_rAI, _rI, _hM, _sC, _sPe, _rP, _rT, _cH), - ( - (STRING, 9), - (STRING, 9), - (STRING, 9), - (STATUS_CODE, 9), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - ), -) - -PUT_INTEGRATION_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _PIRO, - {_sSI: _cIR, _smit: None}, - (_sC, _sPe, _rP, _rT, _cH), - ( - (STATUS_CODE, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - ), -) - -PUT_INTEGRATION_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _PIR, - { - _smith: MappingProxyType( - { - "method": "PUT", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", - "code": 201, - } - ) - }, - PUT_INTEGRATION_RESPONSE_INPUT, - PUT_INTEGRATION_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -PUT_METHOD_INPUT: StaticSchema = ( - 18, - n0, - _PMI, - {_sSI: _cPMR, _smi: None}, - (_rAI, _rI, _hM, _aTu, _aIu, _aKR, _oN, _rPe, _rMeq, _rVI, _aSu), - ( - (STRING, 9), - (STRING, 9), - (STRING, 9), - (STRING, 1), - (STRING, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (MAP_OF_STRING_TO_BOOLEAN, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - ), -) - -PUT_METHOD_OUTPUT: StaticSchema = ( - 18, - n0, - _PMO, - {_sSI: _cMo, _smit: None}, - (_hM, _aTu, _aIu, _aKR, _rVI, _oN, _rPe, _rMeq, _mR, _mI, _aSu), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_BOOLEAN, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_METHOD_RESPONSE, 0), - (INTEGRATION, 0), - (LIST_OF_STRING, 0), - ), -) - -PUT_METHOD: StaticOperationSchema = ( - 23, - n0, - _PMu, - { - _smith: MappingProxyType( - { - "method": "PUT", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - "code": 201, - } - ) - }, - PUT_METHOD_INPUT, - PUT_METHOD_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -PUT_METHOD_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _PMRI, - {_sSI: _cPMRR, _smi: None}, - (_rAI, _rI, _hM, _sC, _rP, _rMe), - ( - (STRING, 9), - (STRING, 9), - (STRING, 9), - (STATUS_CODE, 9), - (MAP_OF_STRING_TO_BOOLEAN, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -PUT_METHOD_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _PMRO, - {_sSI: _cMR, _smit: None}, - (_sC, _rP, _rMe), - ((STATUS_CODE, 0), (MAP_OF_STRING_TO_BOOLEAN, 0), (MAP_OF_STRING_TO_STRING, 0)), -) - -PUT_METHOD_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _PMR, - { - _smith: MappingProxyType( - { - "method": "PUT", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", - "code": 201, - } - ) - }, - PUT_METHOD_RESPONSE_INPUT, - PUT_METHOD_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -PUT_REST_API_INPUT: StaticSchema = ( - 18, - n0, - _PRAI, - {_sSI: _cPRAR, _smi: None}, - (_rAI, _mo, _fOW, _pa, _b), - ( - (STRING, 9), - (PUT_MODE, {_sQ: _mo}), - (BOOLEAN, {_s: False, _sQ: _fa}), - (MAP_OF_STRING_TO_STRING, 1024), - (BLOB, 17), - ), -) - -PUT_REST_API_OUTPUT: StaticSchema = ( - 18, - n0, - _PRAO, - {_sSI: _cRA, _smit: None}, - ( - _i, - _n, - _d, - _cD, - _ve, - _w, - _bMT, - _mCS, - _aKS, - _eC, - _po, - _t, - _dEAE, - _rRI, - _sP, - _eAM, - _aSp, - _aSM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (LIST_OF_STRING, 0), - (NULLABLE_INTEGER, 0), - (API_KEY_SOURCE_TYPE, 0), - (ENDPOINT_CONFIGURATION, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (API_STATUS, 0), - (STRING, 0), - ), -) - -PUT_REST_API: StaticOperationSchema = ( - 23, - n0, - _PRA, - { - _smith: MappingProxyType( - {"method": "PUT", "uri": "/restapis/{restApiId}", "code": 200} - ) - }, - PUT_REST_API_INPUT, - PUT_REST_API_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _RDNAAI, - {_sSI: _cRDNAAR, _smi: None}, - (_dNAAA, _dNA), - ((STRING, {_sQ: _dNAAA, _smithy: None}), (STRING, {_sQ: _dNA, _smithy: None})), -) - -REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _RDNAAO, - {_sSI: _sU, _smit: None}, -) - -REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _RDNAA, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/rejectdomainnameaccessassociations", - "code": 202, - } - ) - }, - REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT, - REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smi: None}, - (_rA, _t), - ((STRING, 9), (MAP_OF_STRING_TO_STRING, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smit: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - { - _smith: MappingProxyType( - {"method": "PUT", "uri": "/tags/{resourceArn}", "code": 204} - ) - }, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -MAP_OF_STRING_TO_LIST: StaticSchema = ( - 17, - n0, - _MOSTL, - 0, - (_k, _v), - ((STRING, 0), (LIST_OF_STRING, 0)), -) - -TEST_INVOKE_AUTHORIZER_INPUT: StaticSchema = ( - 18, - n0, - _TIAI, - {_sSI: _cTIAR, _smi: None}, - (_rAI, _aIu, _h, _mVH, _pWQS, _b, _sVt, _aCd), - ( - (STRING, 9), - (STRING, 9), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_LIST, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -TEST_INVOKE_AUTHORIZER_OUTPUT: StaticSchema = ( - 18, - n0, - _TIAO, - {_sSI: _cTIARo, _smit: None}, - (_cSl, _lo, _la, _pIr, _po, _au, _cla), - ( - (INTEGER, {_s: 0}), - (STRING, 0), - (LONG, {_s: 0}), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_LIST, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -TEST_INVOKE_AUTHORIZER: StaticOperationSchema = ( - 23, - n0, - _TIA, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", - "code": 200, - } - ) - }, - TEST_INVOKE_AUTHORIZER_INPUT, - TEST_INVOKE_AUTHORIZER_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -TEST_INVOKE_METHOD_INPUT: StaticSchema = ( - 18, - n0, - _TIMI, - {_sSI: _cTIMR, _smi: None}, - (_rAI, _rI, _hM, _pWQS, _b, _h, _mVH, _cCI, _sVt), - ( - (STRING, 9), - (STRING, 9), - (STRING, 9), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_LIST, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -TEST_INVOKE_METHOD_OUTPUT: StaticSchema = ( - 18, - n0, - _TIMO, - {_sSI: _cTIMRo, _smit: None}, - (_sta, _b, _h, _mVH, _lo, _la), - ( - (INTEGER, {_s: 0}), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_LIST, 0), - (STRING, 0), - (LONG, {_s: 0}), - ), -) - -TEST_INVOKE_METHOD: StaticOperationSchema = ( - 23, - n0, - _TIM, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - "code": 200, - } - ) - }, - TEST_INVOKE_METHOD_INPUT, - TEST_INVOKE_METHOD_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _smi: None}, - (_rA, _tK), - ((STRING, 9), (LIST_OF_STRING, {_sQ: _tK, _smithy: None})), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smit: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/tags/{resourceArn}", "code": 204} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -OP: StaticSchema = ( - 14, - n0, - _Op, - 0, - (_ad, _re, _rep, _mov, _co, _te), - ( - (-1, {_sV: _ad}), - (-1, {_sV: _re}), - (-1, {_sV: _rep}), - (-1, {_sV: _mov}), - (-1, {_sV: _co}), - (-1, {_sV: _te}), - ), -) - -PATCH_OPERATION: StaticSchema = ( - 18, - n0, - _PO, - 0, - (_op, _p, _v, _fr), - ((OP, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -LIST_OF_PATCH_OPERATION: StaticSchema = ( - 16, - n0, - _LOPO, - 0, - (_m,), - ((PATCH_OPERATION, 0),), -) - -UPDATE_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _UAI, - {_sSI: _cUAR, _smi: None}, - (_pO,), - ((LIST_OF_PATCH_OPERATION, 0),), -) - -UPDATE_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _UAO, - {_sSI: _cAo, _smit: None}, - (_cRAl, _tS, _fe, _aKV), - ((STRING, 0), (THROTTLE_SETTINGS, 0), (LIST_OF_STRING, 0), (STRING, 0)), -) - -UPDATE_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _UA, - {_smith: MappingProxyType({"method": "PATCH", "uri": "/account", "code": 200})}, - UPDATE_ACCOUNT_INPUT, - UPDATE_ACCOUNT_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_API_KEY_INPUT: StaticSchema = ( - 18, - n0, - _UAKI, - {_sSI: _cUAKR, _smi: None}, - (_aK, _pO), - ((STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_API_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _UAKO, - {_sSI: _cAK, _smit: None}, - (_i, _v, _n, _cI, _d, _e, _cD, _lUD, _sK, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (LIST_OF_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -UPDATE_API_KEY: StaticOperationSchema = ( - 23, - n0, - _UAK, - { - _smith: MappingProxyType( - {"method": "PATCH", "uri": "/apikeys/{apiKey}", "code": 200} - ) - }, - UPDATE_API_KEY_INPUT, - UPDATE_API_KEY_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_AUTHORIZER_INPUT: StaticSchema = ( - 18, - n0, - _UAIp, - {_sSI: _cUARo, _smi: None}, - (_rAI, _aIu, _pO), - ((STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_AUTHORIZER_OUTPUT: StaticSchema = ( - 18, - n0, - _UAOp, - {_sSI: _cA, _smit: None}, - (_i, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), - ( - (STRING, 0), - (STRING, 0), - (AUTHORIZER_TYPE, 0), - (LIST_OF_AR_NS, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_INTEGER, 0), - ), -) - -UPDATE_AUTHORIZER: StaticOperationSchema = ( - 23, - n0, - _UAp, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", - "code": 200, - } - ) - }, - UPDATE_AUTHORIZER_INPUT, - UPDATE_AUTHORIZER_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_BASE_PATH_MAPPING_INPUT: StaticSchema = ( - 18, - n0, - _UBPMI, - {_sSI: _cUBPMR, _smi: None}, - (_dN, _dNI, _bP, _pO), - ((STRING, 9), (STRING, {_sQ: _dNI}), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_BASE_PATH_MAPPING_OUTPUT: StaticSchema = ( - 18, - n0, - _UBPMO, - {_sSI: _cBPM, _smit: None}, - (_bP, _rAI, _st), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -UPDATE_BASE_PATH_MAPPING: StaticOperationSchema = ( - 23, - n0, - _UBPM, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", - "code": 200, - } - ) - }, - UPDATE_BASE_PATH_MAPPING_INPUT, - UPDATE_BASE_PATH_MAPPING_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_CLIENT_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _UCCI, - {_sSI: _cUCCR, _smi: None}, - (_cCI, _pO), - ((STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_CLIENT_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _UCCO, - {_sSI: _cCC, _smit: None}, - (_cCI, _d, _pEC, _cD, _eD, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -UPDATE_CLIENT_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _UCC, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/clientcertificates/{clientCertificateId}", - "code": 200, - } - ) - }, - UPDATE_CLIENT_CERTIFICATE_INPUT, - UPDATE_CLIENT_CERTIFICATE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _UDI, - {_sSI: _cUDR, _smi: None}, - (_rAI, _dI, _pO), - ((STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _UDO, - {_sSI: _cDo, _smit: None}, - (_i, _d, _cD, _aS), - ((STRING, 0), (STRING, 0), (TIMESTAMP, 0), (PATH_TO_MAP_OF_METHOD_SNAPSHOT, 0)), -) - -UPDATE_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _UD, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/deployments/{deploymentId}", - "code": 200, - } - ) - }, - UPDATE_DEPLOYMENT_INPUT, - UPDATE_DEPLOYMENT_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_DOCUMENTATION_PART_INPUT: StaticSchema = ( - 18, - n0, - _UDPI, - {_sSI: _cUDPR, _smi: None}, - (_rAI, _dPI, _pO), - ((STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_DOCUMENTATION_PART_OUTPUT: StaticSchema = ( - 18, - n0, - _UDPO, - {_sSI: _cDP, _smit: None}, - (_i, _l, _pr), - ((STRING, 0), (DOCUMENTATION_PART_LOCATION, 0), (STRING, 0)), -) - -UPDATE_DOCUMENTATION_PART: StaticOperationSchema = ( - 23, - n0, - _UDP, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", - "code": 200, - } - ) - }, - UPDATE_DOCUMENTATION_PART_INPUT, - UPDATE_DOCUMENTATION_PART_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_DOCUMENTATION_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _UDVI, - {_sSI: _cUDVR, _smi: None}, - (_rAI, _dV, _pO), - ((STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_DOCUMENTATION_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _UDVO, - {_sSI: _cDV, _smit: None}, - (_ve, _cD, _d), - ((STRING, 0), (TIMESTAMP, 0), (STRING, 0)), -) - -UPDATE_DOCUMENTATION_VERSION: StaticOperationSchema = ( - 23, - n0, - _UDV, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", - "code": 200, - } - ) - }, - UPDATE_DOCUMENTATION_VERSION_INPUT, - UPDATE_DOCUMENTATION_VERSION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_DOMAIN_NAME_INPUT: StaticSchema = ( - 18, - n0, - _UDNI, - {_sSI: _cUDNR, _smi: None}, - (_dN, _dNI, _pO), - ((STRING, 9), (STRING, {_sQ: _dNI}), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_DOMAIN_NAME_OUTPUT: StaticSchema = ( - 18, - n0, - _UDNO, - {_sSI: _cDN, _smit: None}, - ( - _dN, - _dNI, - _dNA, - _cN, - _cAe, - _cUD, - _rDN, - _rHZI, - _rCN, - _rCA, - _dDN, - _dHZI, - _eC, - _dNS, - _dNSM, - _sP, - _eAM, - _t, - _mTA, - _oVCA, - _mP, - _po, - _rM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ENDPOINT_CONFIGURATION, 0), - (DOMAIN_NAME_STATUS, 0), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MUTUAL_TLS_AUTHENTICATION, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ROUTING_MODE, 0), - ), -) - -UPDATE_DOMAIN_NAME: StaticOperationSchema = ( - 23, - n0, - _UDN, - { - _smith: MappingProxyType( - {"method": "PATCH", "uri": "/domainnames/{domainName}", "code": 200} - ) - }, - UPDATE_DOMAIN_NAME_INPUT, - UPDATE_DOMAIN_NAME_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_GATEWAY_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _UGRI, - {_sSI: _cUGRR, _smi: None}, - (_rAI, _rTes, _pO), - ((STRING, 9), (GATEWAY_RESPONSE_TYPE, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_GATEWAY_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _UGRO, - {_sSI: _cGR, _smit: None}, - (_rTes, _sC, _rP, _rT, _dR), - ( - (GATEWAY_RESPONSE_TYPE, 0), - (STATUS_CODE, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - ), -) - -UPDATE_GATEWAY_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _UGR, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", - "code": 200, - } - ) - }, - UPDATE_GATEWAY_RESPONSE_INPUT, - UPDATE_GATEWAY_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_INTEGRATION_INPUT: StaticSchema = ( - 18, - n0, - _UII, - {_sSI: _cUIR, _smi: None}, - (_rAI, _rI, _hM, _pO), - ((STRING, 9), (STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_INTEGRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UIO, - {_sSI: _cIom, _smit: None}, - ( - _ty, - _hM, - _u, - _cTo, - _cIo, - _cr, - _rPe, - _rTe, - _pB, - _cH, - _tIM, - _cNa, - _cKP, - _iR, - _tC, - _rTM, - _iT, - ), - ( - (INTEGRATION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (CONNECTION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - (INTEGER, {_s: 0}), - (STRING, 0), - (LIST_OF_STRING, 0), - (MAP_OF_INTEGRATION_RESPONSE, 0), - (TLS_CONFIG, 0), - (RESPONSE_TRANSFER_MODE, 0), - (STRING, 0), - ), -) - -UPDATE_INTEGRATION: StaticOperationSchema = ( - 23, - n0, - _UI, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", - "code": 200, - } - ) - }, - UPDATE_INTEGRATION_INPUT, - UPDATE_INTEGRATION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_INTEGRATION_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _UIRI, - {_sSI: _cUIRR, _smi: None}, - (_rAI, _rI, _hM, _sC, _pO), - ( - (STRING, 9), - (STRING, 9), - (STRING, 9), - (STATUS_CODE, 9), - (LIST_OF_PATCH_OPERATION, 0), - ), -) - -UPDATE_INTEGRATION_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _UIRO, - {_sSI: _cIR, _smit: None}, - (_sC, _sPe, _rP, _rT, _cH), - ( - (STATUS_CODE, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (CONTENT_HANDLING_STRATEGY, 0), - ), -) - -UPDATE_INTEGRATION_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _UIR, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", - "code": 200, - } - ) - }, - UPDATE_INTEGRATION_RESPONSE_INPUT, - UPDATE_INTEGRATION_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_METHOD_INPUT: StaticSchema = ( - 18, - n0, - _UMI, - {_sSI: _cUMR, _smi: None}, - (_rAI, _rI, _hM, _pO), - ((STRING, 9), (STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_METHOD_OUTPUT: StaticSchema = ( - 18, - n0, - _UMO, - {_sSI: _cMo, _smit: None}, - (_hM, _aTu, _aIu, _aKR, _rVI, _oN, _rPe, _rMeq, _mR, _mI, _aSu), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_STRING_TO_BOOLEAN, 0), - (MAP_OF_STRING_TO_STRING, 0), - (MAP_OF_METHOD_RESPONSE, 0), - (INTEGRATION, 0), - (LIST_OF_STRING, 0), - ), -) - -UPDATE_METHOD: StaticOperationSchema = ( - 23, - n0, - _UM, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - "code": 200, - } - ) - }, - UPDATE_METHOD_INPUT, - UPDATE_METHOD_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_METHOD_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _UMRI, - {_sSI: _cUMRR, _smi: None}, - (_rAI, _rI, _hM, _sC, _pO), - ( - (STRING, 9), - (STRING, 9), - (STRING, 9), - (STATUS_CODE, 9), - (LIST_OF_PATCH_OPERATION, 0), - ), -) - -UPDATE_METHOD_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _UMRO, - {_sSI: _cMR, _smit: None}, - (_sC, _rP, _rMe), - ((STATUS_CODE, 0), (MAP_OF_STRING_TO_BOOLEAN, 0), (MAP_OF_STRING_TO_STRING, 0)), -) - -UPDATE_METHOD_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _UMR, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", - "code": 201, - } - ) - }, - UPDATE_METHOD_RESPONSE_INPUT, - UPDATE_METHOD_RESPONSE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _UMIp, - {_sSI: _cUMRo, _smi: None}, - (_rAI, _mN, _pO), - ((STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _UMOp, - {_sSI: _cM, _smit: None}, - (_i, _n, _d, _sc, _cT), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -UPDATE_MODEL: StaticOperationSchema = ( - 23, - n0, - _UMp, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/models/{modelName}", - "code": 200, - } - ) - }, - UPDATE_MODEL_INPUT, - UPDATE_MODEL_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_REQUEST_VALIDATOR_INPUT: StaticSchema = ( - 18, - n0, - _URVI, - {_sSI: _cURVR, _smi: None}, - (_rAI, _rVI, _pO), - ((STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_REQUEST_VALIDATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _URVO, - {_sSI: _cRV, _smit: None}, - (_i, _n, _vRB, _vRP), - ((STRING, 0), (STRING, 0), (BOOLEAN, {_s: False}), (BOOLEAN, {_s: False})), -) - -UPDATE_REQUEST_VALIDATOR: StaticOperationSchema = ( - 23, - n0, - _URV, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", - "code": 200, - } - ) - }, - UPDATE_REQUEST_VALIDATOR_INPUT, - UPDATE_REQUEST_VALIDATOR_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URIp, - {_sSI: _cURRo, _smi: None}, - (_rAI, _rI, _pO), - ((STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _UROp, - {_sSI: _cR, _smit: None}, - (_i, _pI, _pP, _p, _rMes), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (MAP_OF_METHOD, 0)), -) - -UPDATE_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _URp, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/resources/{resourceId}", - "code": 200, - } - ) - }, - UPDATE_RESOURCE_INPUT, - UPDATE_RESOURCE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_REST_API_INPUT: StaticSchema = ( - 18, - n0, - _URAI, - {_sSI: _cURAR, _smi: None}, - (_rAI, _pO), - ((STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_REST_API_OUTPUT: StaticSchema = ( - 18, - n0, - _URAO, - {_sSI: _cRA, _smit: None}, - ( - _i, - _n, - _d, - _cD, - _ve, - _w, - _bMT, - _mCS, - _aKS, - _eC, - _po, - _t, - _dEAE, - _rRI, - _sP, - _eAM, - _aSp, - _aSM, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (LIST_OF_STRING, 0), - (NULLABLE_INTEGER, 0), - (API_KEY_SOURCE_TYPE, 0), - (ENDPOINT_CONFIGURATION, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (SECURITY_POLICY, 0), - (ENDPOINT_ACCESS_MODE, 0), - (API_STATUS, 0), - (STRING, 0), - ), -) - -UPDATE_REST_API: StaticOperationSchema = ( - 23, - n0, - _URA, - { - _smith: MappingProxyType( - {"method": "PATCH", "uri": "/restapis/{restApiId}", "code": 200} - ) - }, - UPDATE_REST_API_INPUT, - UPDATE_REST_API_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_STAGE_INPUT: StaticSchema = ( - 18, - n0, - _USI, - {_sSI: _cUSR, _smi: None}, - (_rAI, _sN, _pO), - ((STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_STAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _USO, - {_sSI: _cSo, _smit: None}, - ( - _dI, - _cCI, - _sN, - _d, - _cCE, - _cCS, - _cCSa, - _mS, - _va, - _dV, - _aLS, - _cS, - _tE, - _wAA, - _t, - _cD, - _lUD, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (CACHE_CLUSTER_SIZE, 0), - (CACHE_CLUSTER_STATUS, 0), - (MAP_OF_METHOD_SETTINGS, 0), - (MAP_OF_STRING_TO_STRING, 0), - (STRING, 0), - (ACCESS_LOG_SETTINGS, 0), - (CANARY_SETTINGS, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -UPDATE_STAGE: StaticOperationSchema = ( - 23, - n0, - _US, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/restapis/{restApiId}/stages/{stageName}", - "code": 200, - } - ) - }, - UPDATE_STAGE_INPUT, - UPDATE_STAGE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_USAGE_INPUT: StaticSchema = ( - 18, - n0, - _UUI, - {_sSI: _cUUR, _smi: None}, - (_uPI, _kI, _pO), - ((STRING, 9), (STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_USAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _UUO, - {_sSI: _cU, _smit: None}, - (_uPI, _sDt, _eDn, _it, _pos), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (MAP_OF_KEY_USAGES, {_sNm: _val}), - (STRING, {_sQ: _pos}), - ), -) - -UPDATE_USAGE: StaticOperationSchema = ( - 23, - n0, - _UU, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/usageplans/{usagePlanId}/keys/{keyId}/usage", - "code": 200, - } - ) - }, - UPDATE_USAGE_INPUT, - UPDATE_USAGE_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_USAGE_PLAN_INPUT: StaticSchema = ( - 18, - n0, - _UUPI, - {_sSI: _cUUPR, _smi: None}, - (_uPI, _pO), - ((STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_USAGE_PLAN_OUTPUT: StaticSchema = ( - 18, - n0, - _UUPO, - {_sSI: _cUP, _smit: None}, - (_i, _n, _d, _aSpi, _th, _q, _pC, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_API_STAGE, 0), - (THROTTLE_SETTINGS, 0), - (QUOTA_SETTINGS, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -UPDATE_USAGE_PLAN: StaticOperationSchema = ( - 23, - n0, - _UUP, - { - _smith: MappingProxyType( - {"method": "PATCH", "uri": "/usageplans/{usagePlanId}", "code": 200} - ) - }, - UPDATE_USAGE_PLAN_INPUT, - UPDATE_USAGE_PLAN_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -UPDATE_VPC_LINK_INPUT: StaticSchema = ( - 18, - n0, - _UVLI, - {_sSI: _cUVLR, _smi: None}, - (_vLI, _pO), - ((STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), -) - -UPDATE_VPC_LINK_OUTPUT: StaticSchema = ( - 18, - n0, - _UVLO, - {_sSI: _cVL, _smit: None}, - (_i, _n, _d, _tA, _sta, _sM, _t), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LIST_OF_STRING, 0), - (VPC_LINK_STATUS, 0), - (STRING, 0), - (MAP_OF_STRING_TO_STRING, 0), - ), -) - -UPDATE_VPC_LINK: StaticOperationSchema = ( - 23, - n0, - _UVL, - { - _smith: MappingProxyType( - {"method": "PATCH", "uri": "/vpclinks/{vpcLinkId}", "code": 200} - ) - }, - UPDATE_VPC_LINK_INPUT, - UPDATE_VPC_LINK_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - ), -) - -BACKPLANE_CONTROL_SERVICE: StaticSchema = ( - 21, - n0, - _BCS, - { - _aw: MappingProxyType({"name": "apigateway"}), - _aws: MappingProxyType( - { - "sdkId": "API Gateway", - "arnNamespace": "apigateway", - "cloudFormationName": "ApiGateway", - "cloudTrailEventSource": "apigateway.amazonaws.com", - "docId": "apigateway-2015-07-09", - "endpointPrefix": "apigateway", - } - ), - _aJ: None, - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ACCESS_ASSOCIATION_SOURCE_TYPE", + "STRING", + "ACCESS_LOG_SETTINGS", + "LIST_OF_STRING", + "INTEGER", + "DOUBLE", + "THROTTLE_SETTINGS", + "TIMESTAMP", + "BOOLEAN", + "MAP_OF_STRING_TO_STRING", + "API_KEY", + "API_KEYS_FORMAT", + "API_KEY_SOURCE_TYPE", + "MAP_OF_API_STAGE_THROTTLE_SETTINGS", + "API_STAGE", + "API_STATUS", + "NULLABLE_INTEGER", + "PROVIDER_ARN", + "LIST_OF_AR_NS", + "AUTHORIZER_TYPE", + "AUTHORIZER", + "BAD_REQUEST_EXCEPTION", + "CONFLICT_EXCEPTION", + "STAGE_KEY", + "LIST_OF_STAGE_KEYS", + "CREATE_API_KEY_INPUT", + "CREATE_API_KEY_OUTPUT", + "CREATE_API_KEY", + "LIMIT_EXCEEDED_EXCEPTION", + "NOT_FOUND_EXCEPTION", + "TOO_MANY_REQUESTS_EXCEPTION", + "UNAUTHORIZED_EXCEPTION", + "CREATE_AUTHORIZER_INPUT", + "CREATE_AUTHORIZER_OUTPUT", + "CREATE_AUTHORIZER", + "CREATE_BASE_PATH_MAPPING_INPUT", + "CREATE_BASE_PATH_MAPPING_OUTPUT", + "CREATE_BASE_PATH_MAPPING", + "NULLABLE_BOOLEAN", + "CACHE_CLUSTER_SIZE", + "DEPLOYMENT_CANARY_SETTINGS", + "CREATE_DEPLOYMENT_INPUT", + "CREATE_DEPLOYMENT_OUTPUT", + "CREATE_DEPLOYMENT", + "METHOD_SNAPSHOT", + "MAP_OF_METHOD_SNAPSHOT", + "PATH_TO_MAP_OF_METHOD_SNAPSHOT", + "SERVICE_UNAVAILABLE_EXCEPTION", + "DOCUMENTATION_PART_LOCATION_STATUS_CODE", + "DOCUMENTATION_PART_TYPE", + "DOCUMENTATION_PART_LOCATION", + "CREATE_DOCUMENTATION_PART_INPUT", + "CREATE_DOCUMENTATION_PART_OUTPUT", + "CREATE_DOCUMENTATION_PART", + "CREATE_DOCUMENTATION_VERSION_INPUT", + "CREATE_DOCUMENTATION_VERSION_OUTPUT", + "CREATE_DOCUMENTATION_VERSION", + "ENDPOINT_ACCESS_MODE", + "IP_ADDRESS_TYPE", + "ENDPOINT_TYPE", + "LIST_OF_ENDPOINT_TYPE", + "ENDPOINT_CONFIGURATION", + "MUTUAL_TLS_AUTHENTICATION_INPUT", + "ROUTING_MODE", + "SECURITY_POLICY", + "CREATE_DOMAIN_NAME_INPUT", + "CREATE_DOMAIN_NAME_OUTPUT", + "CREATE_DOMAIN_NAME", + "DOMAIN_NAME_STATUS", + "MUTUAL_TLS_AUTHENTICATION", + "CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT", + "CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT", + "CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION", + "CREATE_MODEL_INPUT", + "CREATE_MODEL_OUTPUT", + "CREATE_MODEL", + "CREATE_REQUEST_VALIDATOR_INPUT", + "CREATE_REQUEST_VALIDATOR_OUTPUT", + "CREATE_REQUEST_VALIDATOR", + "CREATE_RESOURCE_INPUT", + "CREATE_RESOURCE_OUTPUT", + "CREATE_RESOURCE", + "CONNECTION_TYPE", + "CONTENT_HANDLING_STRATEGY", + "STATUS_CODE", + "INTEGRATION_RESPONSE", + "MAP_OF_INTEGRATION_RESPONSE", + "RESPONSE_TRANSFER_MODE", + "TLS_CONFIG", + "INTEGRATION_TYPE", + "INTEGRATION", + "MAP_OF_STRING_TO_BOOLEAN", + "METHOD_RESPONSE", + "MAP_OF_METHOD_RESPONSE", + "METHOD", + "MAP_OF_METHOD", + "CREATE_REST_API_INPUT", + "CREATE_REST_API_OUTPUT", + "CREATE_REST_API", + "VPC_LINK_STATUS", + "GATEWAY_RESPONSE_TYPE", + "BLOB", + "LONG", + ), + ( + "CANARY_SETTINGS", + "CREATE_STAGE_INPUT", + "CREATE_STAGE_OUTPUT", + "CREATE_STAGE", + "CACHE_CLUSTER_STATUS", + "UNAUTHORIZED_CACHE_CONTROL_HEADER_STRATEGY", + "METHOD_SETTING", + "MAP_OF_METHOD_SETTINGS", + "LIST_OF_API_STAGE", + "QUOTA_PERIOD_TYPE", + "QUOTA_SETTINGS", + "CREATE_USAGE_PLAN_INPUT", + "CREATE_USAGE_PLAN_OUTPUT", + "CREATE_USAGE_PLAN", + "CREATE_USAGE_PLAN_KEY_INPUT", + "CREATE_USAGE_PLAN_KEY_OUTPUT", + "CREATE_USAGE_PLAN_KEY", + "CREATE_VPC_LINK_INPUT", + "CREATE_VPC_LINK_OUTPUT", + "CREATE_VPC_LINK", + "DELETE_API_KEY_INPUT", + "DELETE_API_KEY_OUTPUT", + "DELETE_API_KEY", + "DELETE_AUTHORIZER_INPUT", + "DELETE_AUTHORIZER_OUTPUT", + "DELETE_AUTHORIZER", + "DELETE_BASE_PATH_MAPPING_INPUT", + "DELETE_BASE_PATH_MAPPING_OUTPUT", + "DELETE_BASE_PATH_MAPPING", + "DELETE_CLIENT_CERTIFICATE_INPUT", + "DELETE_CLIENT_CERTIFICATE_OUTPUT", + "DELETE_CLIENT_CERTIFICATE", + "DELETE_DEPLOYMENT_INPUT", + "DELETE_DEPLOYMENT_OUTPUT", + "DELETE_DEPLOYMENT", + "DELETE_DOCUMENTATION_PART_INPUT", + "DELETE_DOCUMENTATION_PART_OUTPUT", + "DELETE_DOCUMENTATION_PART", + "DELETE_DOCUMENTATION_VERSION_INPUT", + "DELETE_DOCUMENTATION_VERSION_OUTPUT", + "DELETE_DOCUMENTATION_VERSION", + "DELETE_DOMAIN_NAME_INPUT", + "DELETE_DOMAIN_NAME_OUTPUT", + "DELETE_DOMAIN_NAME", + "DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT", + "DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT", + "DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION", + "DELETE_GATEWAY_RESPONSE_INPUT", + "DELETE_GATEWAY_RESPONSE_OUTPUT", + "DELETE_GATEWAY_RESPONSE", + "DELETE_INTEGRATION_INPUT", + "DELETE_INTEGRATION_OUTPUT", + "DELETE_INTEGRATION", + "DELETE_INTEGRATION_RESPONSE_INPUT", + "DELETE_INTEGRATION_RESPONSE_OUTPUT", + "DELETE_INTEGRATION_RESPONSE", + "DELETE_METHOD_INPUT", + "DELETE_METHOD_OUTPUT", + "DELETE_METHOD", + "DELETE_METHOD_RESPONSE_INPUT", + "DELETE_METHOD_RESPONSE_OUTPUT", + "DELETE_METHOD_RESPONSE", + "DELETE_MODEL_INPUT", + "DELETE_MODEL_OUTPUT", + "DELETE_MODEL", + "DELETE_REQUEST_VALIDATOR_INPUT", + "DELETE_REQUEST_VALIDATOR_OUTPUT", + "DELETE_REQUEST_VALIDATOR", + "DELETE_RESOURCE_INPUT", + "DELETE_RESOURCE_OUTPUT", + "DELETE_RESOURCE", + "DELETE_REST_API_INPUT", + "DELETE_REST_API_OUTPUT", + "DELETE_REST_API", + "DELETE_STAGE_INPUT", + "DELETE_STAGE_OUTPUT", + "DELETE_STAGE", + "DELETE_USAGE_PLAN_INPUT", + "DELETE_USAGE_PLAN_OUTPUT", + "DELETE_USAGE_PLAN", + "DELETE_USAGE_PLAN_KEY_INPUT", + "DELETE_USAGE_PLAN_KEY_OUTPUT", + "DELETE_USAGE_PLAN_KEY", + "DELETE_VPC_LINK_INPUT", + "DELETE_VPC_LINK_OUTPUT", + "DELETE_VPC_LINK", + "FLUSH_STAGE_AUTHORIZERS_CACHE_INPUT", + "FLUSH_STAGE_AUTHORIZERS_CACHE_OUTPUT", + "FLUSH_STAGE_AUTHORIZERS_CACHE", + "FLUSH_STAGE_CACHE_INPUT", + "FLUSH_STAGE_CACHE_OUTPUT", + "FLUSH_STAGE_CACHE", + "GENERATE_CLIENT_CERTIFICATE_INPUT", + "GENERATE_CLIENT_CERTIFICATE_OUTPUT", + "GENERATE_CLIENT_CERTIFICATE", + "GET_ACCOUNT_INPUT", + "GET_ACCOUNT_OUTPUT", + "GET_ACCOUNT", + "GET_API_KEY_INPUT", + "GET_API_KEY_OUTPUT", + "GET_API_KEY", + "GET_API_KEYS_INPUT", + "GET_API_KEYS_OUTPUT", + "GET_API_KEYS", + "LIST_OF_API_KEY", + "GET_AUTHORIZER_INPUT", + "GET_AUTHORIZER_OUTPUT", + "GET_AUTHORIZER", + "GET_AUTHORIZERS_INPUT", + "GET_AUTHORIZERS_OUTPUT", + "GET_AUTHORIZERS", + "LIST_OF_AUTHORIZER", + "GET_BASE_PATH_MAPPING_INPUT", + "GET_BASE_PATH_MAPPING_OUTPUT", + "GET_BASE_PATH_MAPPING", + ), + ( + "GET_BASE_PATH_MAPPINGS_INPUT", + "GET_BASE_PATH_MAPPINGS_OUTPUT", + "GET_BASE_PATH_MAPPINGS", + "BASE_PATH_MAPPING", + "LIST_OF_BASE_PATH_MAPPING", + "GET_CLIENT_CERTIFICATE_INPUT", + "GET_CLIENT_CERTIFICATE_OUTPUT", + "GET_CLIENT_CERTIFICATE", + "GET_CLIENT_CERTIFICATES_INPUT", + "GET_CLIENT_CERTIFICATES_OUTPUT", + "GET_CLIENT_CERTIFICATES", + "CLIENT_CERTIFICATE", + "LIST_OF_CLIENT_CERTIFICATE", + "GET_DEPLOYMENT_INPUT", + "GET_DEPLOYMENT_OUTPUT", + "GET_DEPLOYMENT", + "GET_DEPLOYMENTS_INPUT", + "GET_DEPLOYMENTS_OUTPUT", + "GET_DEPLOYMENTS", + "DEPLOYMENT", + "LIST_OF_DEPLOYMENT", + "GET_DOCUMENTATION_PART_INPUT", + "GET_DOCUMENTATION_PART_OUTPUT", + "GET_DOCUMENTATION_PART", + "LOCATION_STATUS_TYPE", + "GET_DOCUMENTATION_PARTS_INPUT", + "GET_DOCUMENTATION_PARTS_OUTPUT", + "GET_DOCUMENTATION_PARTS", + "DOCUMENTATION_PART", + "LIST_OF_DOCUMENTATION_PART", + "GET_DOCUMENTATION_VERSION_INPUT", + "GET_DOCUMENTATION_VERSION_OUTPUT", + "GET_DOCUMENTATION_VERSION", + "GET_DOCUMENTATION_VERSIONS_INPUT", + "GET_DOCUMENTATION_VERSIONS_OUTPUT", + "GET_DOCUMENTATION_VERSIONS", + "DOCUMENTATION_VERSION", + "LIST_OF_DOCUMENTATION_VERSION", + "GET_DOMAIN_NAME_INPUT", + "GET_DOMAIN_NAME_OUTPUT", + "GET_DOMAIN_NAME", + "RESOURCE_OWNER", + "GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_INPUT", + "GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_OUTPUT", + "GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS", + "DOMAIN_NAME_ACCESS_ASSOCIATION", + "LIST_OF_DOMAIN_NAME_ACCESS_ASSOCIATION", + "GET_DOMAIN_NAMES_INPUT", + "GET_DOMAIN_NAMES_OUTPUT", + "GET_DOMAIN_NAMES", + "DOMAIN_NAME", + "LIST_OF_DOMAIN_NAME", + "GET_EXPORT_INPUT", + "GET_EXPORT_OUTPUT", + "GET_EXPORT", + "GET_GATEWAY_RESPONSE_INPUT", + "GET_GATEWAY_RESPONSE_OUTPUT", + "GET_GATEWAY_RESPONSE", + "GET_GATEWAY_RESPONSES_INPUT", + "GET_GATEWAY_RESPONSES_OUTPUT", + "GET_GATEWAY_RESPONSES", + "GATEWAY_RESPONSE", + "LIST_OF_GATEWAY_RESPONSE", + "GET_INTEGRATION_INPUT", + "GET_INTEGRATION_OUTPUT", + "GET_INTEGRATION", + "GET_INTEGRATION_RESPONSE_INPUT", + "GET_INTEGRATION_RESPONSE_OUTPUT", + "GET_INTEGRATION_RESPONSE", + "GET_METHOD_INPUT", + "GET_METHOD_OUTPUT", + "GET_METHOD", + "GET_METHOD_RESPONSE_INPUT", + "GET_METHOD_RESPONSE_OUTPUT", + "GET_METHOD_RESPONSE", + "GET_MODEL_INPUT", + "GET_MODEL_OUTPUT", + "GET_MODEL", + "GET_MODELS_INPUT", + "GET_MODELS_OUTPUT", + "GET_MODELS", + "MODEL", + "LIST_OF_MODEL", + "GET_MODEL_TEMPLATE_INPUT", + "GET_MODEL_TEMPLATE_OUTPUT", + "GET_MODEL_TEMPLATE", + "GET_REQUEST_VALIDATOR_INPUT", + "GET_REQUEST_VALIDATOR_OUTPUT", + "GET_REQUEST_VALIDATOR", + "GET_REQUEST_VALIDATORS_INPUT", + "GET_REQUEST_VALIDATORS_OUTPUT", + "GET_REQUEST_VALIDATORS", + "REQUEST_VALIDATOR", + "LIST_OF_REQUEST_VALIDATOR", + "GET_RESOURCE_INPUT", + "GET_RESOURCE_OUTPUT", + "GET_RESOURCE", + "GET_RESOURCES_INPUT", + "GET_RESOURCES_OUTPUT", + "GET_RESOURCES", + "RESOURCE", + ), + ( + "LIST_OF_RESOURCE", + "GET_REST_API_INPUT", + "GET_REST_API_OUTPUT", + "GET_REST_API", + "GET_REST_APIS_INPUT", + "GET_REST_APIS_OUTPUT", + "GET_REST_APIS", + "REST_API", + "LIST_OF_REST_API", + "GET_SDK_INPUT", + "GET_SDK_OUTPUT", + "GET_SDK", + "GET_SDK_TYPE_INPUT", + "GET_SDK_TYPE_OUTPUT", + "GET_SDK_TYPE", + "SDK_CONFIGURATION_PROPERTY", + "LIST_OF_SDK_CONFIGURATION_PROPERTY", + "GET_SDK_TYPES_INPUT", + "GET_SDK_TYPES_OUTPUT", + "GET_SDK_TYPES", + "SDK_TYPE", + "LIST_OF_SDK_TYPE", + "GET_STAGE_INPUT", + "GET_STAGE_OUTPUT", + "GET_STAGE", + "GET_STAGES_INPUT", + "GET_STAGES_OUTPUT", + "GET_STAGES", + "STAGE", + "LIST_OF_STAGE", + "GET_TAGS_INPUT", + "GET_TAGS_OUTPUT", + "GET_TAGS", + "GET_USAGE_INPUT", + "GET_USAGE_OUTPUT", + "GET_USAGE", + "LIST_OF_LONG", + "LIST_OF_USAGE", + "MAP_OF_KEY_USAGES", + "GET_USAGE_PLAN_INPUT", + "GET_USAGE_PLAN_OUTPUT", + "GET_USAGE_PLAN", + "GET_USAGE_PLAN_KEY_INPUT", + "GET_USAGE_PLAN_KEY_OUTPUT", + "GET_USAGE_PLAN_KEY", + "GET_USAGE_PLAN_KEYS_INPUT", + "GET_USAGE_PLAN_KEYS_OUTPUT", + "GET_USAGE_PLAN_KEYS", + "USAGE_PLAN_KEY", + "LIST_OF_USAGE_PLAN_KEY", + "GET_USAGE_PLANS_INPUT", + "GET_USAGE_PLANS_OUTPUT", + "GET_USAGE_PLANS", + "USAGE_PLAN", + "LIST_OF_USAGE_PLAN", + "GET_VPC_LINK_INPUT", + "GET_VPC_LINK_OUTPUT", + "GET_VPC_LINK", + "GET_VPC_LINKS_INPUT", + "GET_VPC_LINKS_OUTPUT", + "GET_VPC_LINKS", + "VPC_LINK", + "LIST_OF_VPC_LINK", + "IMPORT_API_KEYS_INPUT", + "IMPORT_API_KEYS_OUTPUT", + "IMPORT_API_KEYS", + "PUT_MODE", + "IMPORT_DOCUMENTATION_PARTS_INPUT", + "IMPORT_DOCUMENTATION_PARTS_OUTPUT", + "IMPORT_DOCUMENTATION_PARTS", + "IMPORT_REST_API_INPUT", + "IMPORT_REST_API_OUTPUT", + "IMPORT_REST_API", + "PUT_GATEWAY_RESPONSE_INPUT", + "PUT_GATEWAY_RESPONSE_OUTPUT", + "PUT_GATEWAY_RESPONSE", + "PUT_INTEGRATION_INPUT", + "PUT_INTEGRATION_OUTPUT", + "PUT_INTEGRATION", + "PUT_INTEGRATION_RESPONSE_INPUT", + "PUT_INTEGRATION_RESPONSE_OUTPUT", + "PUT_INTEGRATION_RESPONSE", + "PUT_METHOD_INPUT", + "PUT_METHOD_OUTPUT", + "PUT_METHOD", + "PUT_METHOD_RESPONSE_INPUT", + "PUT_METHOD_RESPONSE_OUTPUT", + "PUT_METHOD_RESPONSE", + "PUT_REST_API_INPUT", + "PUT_REST_API_OUTPUT", + "PUT_REST_API", + ), + ( + "REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT", + "REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT", + "REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "MAP_OF_STRING_TO_LIST", + "TEST_INVOKE_AUTHORIZER_INPUT", + "TEST_INVOKE_AUTHORIZER_OUTPUT", + "TEST_INVOKE_AUTHORIZER", + "TEST_INVOKE_METHOD_INPUT", + "TEST_INVOKE_METHOD_OUTPUT", + "TEST_INVOKE_METHOD", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "OP", + "PATCH_OPERATION", + "LIST_OF_PATCH_OPERATION", + "UPDATE_ACCOUNT_INPUT", + "UPDATE_ACCOUNT_OUTPUT", + "UPDATE_ACCOUNT", + "UPDATE_API_KEY_INPUT", + "UPDATE_API_KEY_OUTPUT", + "UPDATE_API_KEY", + "UPDATE_AUTHORIZER_INPUT", + "UPDATE_AUTHORIZER_OUTPUT", + "UPDATE_AUTHORIZER", + "UPDATE_BASE_PATH_MAPPING_INPUT", + "UPDATE_BASE_PATH_MAPPING_OUTPUT", + "UPDATE_BASE_PATH_MAPPING", + "UPDATE_CLIENT_CERTIFICATE_INPUT", + "UPDATE_CLIENT_CERTIFICATE_OUTPUT", + "UPDATE_CLIENT_CERTIFICATE", + "UPDATE_DEPLOYMENT_INPUT", + "UPDATE_DEPLOYMENT_OUTPUT", + "UPDATE_DEPLOYMENT", + "UPDATE_DOCUMENTATION_PART_INPUT", + "UPDATE_DOCUMENTATION_PART_OUTPUT", + "UPDATE_DOCUMENTATION_PART", + "UPDATE_DOCUMENTATION_VERSION_INPUT", + "UPDATE_DOCUMENTATION_VERSION_OUTPUT", + "UPDATE_DOCUMENTATION_VERSION", + "UPDATE_DOMAIN_NAME_INPUT", + "UPDATE_DOMAIN_NAME_OUTPUT", + "UPDATE_DOMAIN_NAME", + "UPDATE_GATEWAY_RESPONSE_INPUT", + "UPDATE_GATEWAY_RESPONSE_OUTPUT", + "UPDATE_GATEWAY_RESPONSE", + "UPDATE_INTEGRATION_INPUT", + "UPDATE_INTEGRATION_OUTPUT", + "UPDATE_INTEGRATION", + "UPDATE_INTEGRATION_RESPONSE_INPUT", + "UPDATE_INTEGRATION_RESPONSE_OUTPUT", + "UPDATE_INTEGRATION_RESPONSE", + "UPDATE_METHOD_INPUT", + "UPDATE_METHOD_OUTPUT", + "UPDATE_METHOD", + "UPDATE_METHOD_RESPONSE_INPUT", + "UPDATE_METHOD_RESPONSE_OUTPUT", + "UPDATE_METHOD_RESPONSE", + "UPDATE_MODEL_INPUT", + "UPDATE_MODEL_OUTPUT", + "UPDATE_MODEL", + "UPDATE_REQUEST_VALIDATOR_INPUT", + "UPDATE_REQUEST_VALIDATOR_OUTPUT", + "UPDATE_REQUEST_VALIDATOR", + "UPDATE_RESOURCE_INPUT", + "UPDATE_RESOURCE_OUTPUT", + "UPDATE_RESOURCE", + "UPDATE_REST_API_INPUT", + "UPDATE_REST_API_OUTPUT", + "UPDATE_REST_API", + "UPDATE_STAGE_INPUT", + "UPDATE_STAGE_OUTPUT", + "UPDATE_STAGE", + "UPDATE_USAGE_INPUT", + "UPDATE_USAGE_OUTPUT", + "UPDATE_USAGE", + "UPDATE_USAGE_PLAN_INPUT", + "UPDATE_USAGE_PLAN_OUTPUT", + "UPDATE_USAGE_PLAN", + "UPDATE_VPC_LINK_INPUT", + "UPDATE_VPC_LINK_OUTPUT", + "UPDATE_VPC_LINK", + "BACKPLANE_CONTROL_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_0.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_0.py new file mode 100644 index 000000000..26bee664b --- /dev/null +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_0.py @@ -0,0 +1,1730 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.apigateway" +_AAST = "AccessAssociationSourceType" +_VPCE = "VPCE" +_sV = "smithy.api#enumValue" +_S = "String" +_ALS = "AccessLogSettings" +_f = "format" +_dA = "destinationArn" +_LOS = "ListOfString" +_m = "member" +_I = "Integer" +_s = "smithy.api#default" +_D = "Double" +_TS = "ThrottleSettings" +_bL = "burstLimit" +_rL = "rateLimit" +_T = "Timestamp" +_B = "Boolean" +_MOSTS = "MapOfStringToString" +_k = "key" +_v = "value" +_AK = "ApiKey" +_i = "id" +_n = "name" +_cI = "customerId" +_d = "description" +_e = "enabled" +_cD = "createdDate" +_lUD = "lastUpdatedDate" +_sK = "stageKeys" +_t = "tags" +_AKF = "ApiKeysFormat" +_c = "csv" +_AKST = "ApiKeySourceType" +_HEADER = "HEADER" +_AUTHORIZER = "AUTHORIZER" +_MOASTS = "MapOfApiStageThrottleSettings" +_AS = "ApiStage" +_aI = "apiId" +_st = "stage" +_th = "throttle" +_ASp = "ApiStatus" +_UPDATING = "UPDATING" +_AVAILABLE = "AVAILABLE" +_PENDING = "PENDING" +_FAILED = "FAILED" +_NI = "NullableInteger" +_PARN = "ProviderARN" +_LOARN = "ListOfARNs" +_AT = "AuthorizerType" +_TOKEN = "TOKEN" +_REQUEST = "REQUEST" +_CUP = "COGNITO_USER_POOLS" +_A = "Authorizer" +_ty = "type" +_pARN = "providerARNs" +_aT = "authType" +_aU = "authorizerUri" +_aC = "authorizerCredentials" +_iS = "identitySource" +_iVE = "identityValidationExpression" +_aRTIS = "authorizerResultTtlInSeconds" +_BRE = "BadRequestException" +_sm = "smithy.api#error" +_cl = "client" +_sE = "smithy.api#httpError" +_me = "message" +_CE = "ConflictException" +_SK = "StageKey" +_rAI = "restApiId" +_sN = "stageName" +_LOSK = "ListOfStageKeys" +_CAKI = "CreateApiKeyInput" +_sSI = "smithy.synthetic#originalShapeId" +_cCAKR = "com.amazonaws.apigateway#CreateApiKeyRequest" +_smi = "smithy.api#input" +_gDI = "generateDistinctId" +_CAKO = "CreateApiKeyOutput" +_cAK = "com.amazonaws.apigateway#ApiKey" +_smit = "smithy.api#output" +_LEE = "LimitExceededException" +_rAS = "retryAfterSeconds" +_sH = "smithy.api#httpHeader" +_RA = "Retry-After" +_NFE = "NotFoundException" +_TMRE = "TooManyRequestsException" +_UE = "UnauthorizedException" +_CAK = "CreateApiKey" +_smith = "smithy.api#http" +_CAI = "CreateAuthorizerInput" +_cCAR = "com.amazonaws.apigateway#CreateAuthorizerRequest" +_smithy = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_CAO = "CreateAuthorizerOutput" +_cA = "com.amazonaws.apigateway#Authorizer" +_CA = "CreateAuthorizer" +_CBPMI = "CreateBasePathMappingInput" +_cCBPMR = "com.amazonaws.apigateway#CreateBasePathMappingRequest" +_dN = "domainName" +_dNI = "domainNameId" +_sQ = "smithy.api#httpQuery" +_bP = "basePath" +_CBPMO = "CreateBasePathMappingOutput" +_cBPM = "com.amazonaws.apigateway#BasePathMapping" +_CBPM = "CreateBasePathMapping" +_NB = "NullableBoolean" +_CCS = "CacheClusterSize" +_SPG = "SIZE_0_POINT_5_GB" +_v_ = "0.5" +_SPG_ = "SIZE_1_POINT_6_GB" +_v__ = "1.6" +_SPG__ = "SIZE_6_POINT_1_GB" +_v___ = "6.1" +_SPG___ = "SIZE_13_POINT_5_GB" +_v____ = "13.5" +_SPG____ = "SIZE_28_POINT_4_GB" +_v_____ = "28.4" +_SPG_____ = "SIZE_58_POINT_2_GB" +_v______ = "58.2" +_SG = "SIZE_118_GB" +_v_______ = "118" +_SG_ = "SIZE_237_GB" +_v________ = "237" +_DCS = "DeploymentCanarySettings" +_pT = "percentTraffic" +_sVO = "stageVariableOverrides" +_uSC = "useStageCache" +_CDI = "CreateDeploymentInput" +_cCDR = "com.amazonaws.apigateway#CreateDeploymentRequest" +_sD = "stageDescription" +_cCE = "cacheClusterEnabled" +_cCS = "cacheClusterSize" +_va = "variables" +_cS = "canarySettings" +_tE = "tracingEnabled" +_MS = "MethodSnapshot" +_aTu = "authorizationType" +_aKR = "apiKeyRequired" +_MOMS = "MapOfMethodSnapshot" +_PTMOMS = "PathToMapOfMethodSnapshot" +_CDO = "CreateDeploymentOutput" +_cDo = "com.amazonaws.apigateway#Deployment" +_aS = "apiSummary" +_SUE = "ServiceUnavailableException" +_se = "server" +_CD = "CreateDeployment" +_DPLSC = "DocumentationPartLocationStatusCode" +_DPT = "DocumentationPartType" +_API = "API" +_MODEL = "MODEL" +_RESOURCE = "RESOURCE" +_METHOD = "METHOD" +_PP = "PATH_PARAMETER" +_QP = "QUERY_PARAMETER" +_RH = "REQUEST_HEADER" +_RB = "REQUEST_BODY" +_RESPONSE = "RESPONSE" +_RH_ = "RESPONSE_HEADER" +_RB_ = "RESPONSE_BODY" +_DPL = "DocumentationPartLocation" +_p = "path" +_met = "method" +_sC = "statusCode" +_CDPI = "CreateDocumentationPartInput" +_cCDPR = "com.amazonaws.apigateway#CreateDocumentationPartRequest" +_l = "location" +_pr = "properties" +_CDPO = "CreateDocumentationPartOutput" +_cDP = "com.amazonaws.apigateway#DocumentationPart" +_CDP = "CreateDocumentationPart" +_CDVI = "CreateDocumentationVersionInput" +_cCDVR = "com.amazonaws.apigateway#CreateDocumentationVersionRequest" +_dV = "documentationVersion" +_CDVO = "CreateDocumentationVersionOutput" +_cDV = "com.amazonaws.apigateway#DocumentationVersion" +_ve = "version" +_CDV = "CreateDocumentationVersion" +_EAM = "EndpointAccessMode" +_BASIC = "BASIC" +_STRICT = "STRICT" +_IAT = "IpAddressType" +_ip = "ipv4" +_du = "dualstack" +_ET = "EndpointType" +_REGIONAL = "REGIONAL" +_EDGE = "EDGE" +_PRIVATE = "PRIVATE" +_LOET = "ListOfEndpointType" +_EC = "EndpointConfiguration" +_typ = "types" +_iAT = "ipAddressType" +_vEI = "vpcEndpointIds" +_MTAI = "MutualTlsAuthenticationInput" +_tU = "truststoreUri" +_tV = "truststoreVersion" +_RM = "RoutingMode" +_BPMO = "BASE_PATH_MAPPING_ONLY" +_RRO = "ROUTING_RULE_ONLY" +_RRTBPM = "ROUTING_RULE_THEN_BASE_PATH_MAPPING" +_SP = "SecurityPolicy" +_T_ = "TLS_1_0" +_T__ = "TLS_1_2" +_ST = "SecurityPolicy_TLS13_1_3_2025_09" +_STF = "SecurityPolicy_TLS13_1_3_FIPS_2025_09" +_STPP = "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" +_STFP = "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" +_STFPP = "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" +_STEP = "SecurityPolicy_TLS13_1_2_Ext2_PQ_2025_09" +_STEFP = "SecurityPolicy_TLS13_1_2_Ext2_FIPS_PQ_2025_09" +_STP = "SecurityPolicy_TLS13_1_2_PQ_2025_09" +_ST_ = "SecurityPolicy_TLS13_1_2_2021_06" +_STE = "SecurityPolicy_TLS13_2025_EDGE" +_STPE = "SecurityPolicy_TLS12_PFS_2025_EDGE" +_STE_ = "SecurityPolicy_TLS12_2018_EDGE" +_CDNI = "CreateDomainNameInput" +_cCDNR = "com.amazonaws.apigateway#CreateDomainNameRequest" +_cN = "certificateName" +_cB = "certificateBody" +_cPK = "certificatePrivateKey" +_cC = "certificateChain" +_cAe = "certificateArn" +_rCN = "regionalCertificateName" +_rCA = "regionalCertificateArn" +_eC = "endpointConfiguration" +_sP = "securityPolicy" +_eAM = "endpointAccessMode" +_mTA = "mutualTlsAuthentication" +_oVCA = "ownershipVerificationCertificateArn" +_po = "policy" +_rM = "routingMode" +_DNS = "DomainNameStatus" +_PCR = "PENDING_CERTIFICATE_REIMPORT" +_POV = "PENDING_OWNERSHIP_VERIFICATION" +_MTA = "MutualTlsAuthentication" +_tW = "truststoreWarnings" +_CDNO = "CreateDomainNameOutput" +_cDN = "com.amazonaws.apigateway#DomainName" +_dNA = "domainNameArn" +_cUD = "certificateUploadDate" +_rDN = "regionalDomainName" +_rHZI = "regionalHostedZoneId" +_dDN = "distributionDomainName" +_dHZI = "distributionHostedZoneId" +_dNS = "domainNameStatus" +_dNSM = "domainNameStatusMessage" +_mP = "managementPolicy" +_CDN = "CreateDomainName" +_CDNAAI = "CreateDomainNameAccessAssociationInput" +_cCDNAAR = "com.amazonaws.apigateway#CreateDomainNameAccessAssociationRequest" +_aAST = "accessAssociationSourceType" +_aAS = "accessAssociationSource" +_CDNAAO = "CreateDomainNameAccessAssociationOutput" +_cDNAA = "com.amazonaws.apigateway#DomainNameAccessAssociation" +_dNAAA = "domainNameAccessAssociationArn" +_CDNAA = "CreateDomainNameAccessAssociation" +_CMI = "CreateModelInput" +_cCMR = "com.amazonaws.apigateway#CreateModelRequest" +_sc = "schema" +_cT = "contentType" +_CMO = "CreateModelOutput" +_cM = "com.amazonaws.apigateway#Model" +_CM = "CreateModel" +_CRVI = "CreateRequestValidatorInput" +_cCRVR = "com.amazonaws.apigateway#CreateRequestValidatorRequest" +_vRB = "validateRequestBody" +_vRP = "validateRequestParameters" +_CRVO = "CreateRequestValidatorOutput" +_cRV = "com.amazonaws.apigateway#RequestValidator" +_CRV = "CreateRequestValidator" +_CRI = "CreateResourceInput" +_cCRR = "com.amazonaws.apigateway#CreateResourceRequest" +_pI = "parentId" +_pP = "pathPart" +_CT = "ConnectionType" +_INTERNET = "INTERNET" +_VL = "VPC_LINK" +_CHS = "ContentHandlingStrategy" +_CTB = "CONVERT_TO_BINARY" +_CTT = "CONVERT_TO_TEXT" +_SC = "StatusCode" +_IR = "IntegrationResponse" +_sPe = "selectionPattern" +_rP = "responseParameters" +_rT = "responseTemplates" +_cH = "contentHandling" +_MOIR = "MapOfIntegrationResponse" +_RTM = "ResponseTransferMode" +_BUFFERED = "BUFFERED" +_STREAM = "STREAM" +_TC = "TlsConfig" +_iSV = "insecureSkipVerification" +_IT = "IntegrationType" +_HTTP = "HTTP" +_AWS = "AWS" +_MOCK = "MOCK" +_HP = "HTTP_PROXY" +_AP = "AWS_PROXY" +_In = "Integration" +_hM = "httpMethod" +_u = "uri" +_cTo = "connectionType" +_cIo = "connectionId" +_cr = "credentials" +_rPe = "requestParameters" +_rTe = "requestTemplates" +_pB = "passthroughBehavior" +_tIM = "timeoutInMillis" +_cNa = "cacheNamespace" +_cKP = "cacheKeyParameters" +_iR = "integrationResponses" +_tC = "tlsConfig" +_rTM = "responseTransferMode" +_iT = "integrationTarget" +_MOSTB = "MapOfStringToBoolean" +_MR = "MethodResponse" +_rMe = "responseModels" +_MOMR = "MapOfMethodResponse" +_M = "Method" +_aIu = "authorizerId" +_rVI = "requestValidatorId" +_oN = "operationName" +_rMeq = "requestModels" +_mR = "methodResponses" +_mI = "methodIntegration" +_aSu = "authorizationScopes" +_MOM = "MapOfMethod" +_CRO = "CreateResourceOutput" +_cR = "com.amazonaws.apigateway#Resource" +_rMes = "resourceMethods" +_CR = "CreateResource" +_CRAI = "CreateRestApiInput" +_cCRAR = "com.amazonaws.apigateway#CreateRestApiRequest" +_cF = "cloneFrom" +_bMT = "binaryMediaTypes" +_mCS = "minimumCompressionSize" +_aKS = "apiKeySource" +_dEAE = "disableExecuteApiEndpoint" +_CRAO = "CreateRestApiOutput" +_cRA = "com.amazonaws.apigateway#RestApi" +_w = "warnings" +_rRI = "rootResourceId" +_aSp = "apiStatus" +_aSM = "apiStatusMessage" +_CRA = "CreateRestApi" +_VLS = "VpcLinkStatus" +_DELETING = "DELETING" +_GRT = "GatewayResponseType" +_D_ = "DEFAULT_4XX" +_D__ = "DEFAULT_5XX" +_RNF = "RESOURCE_NOT_FOUND" +_UNAUTHORIZED = "UNAUTHORIZED" +_IAK = "INVALID_API_KEY" +_AD = "ACCESS_DENIED" +_AF = "AUTHORIZER_FAILURE" +_ACE = "AUTHORIZER_CONFIGURATION_ERROR" +_IS = "INVALID_SIGNATURE" +_ET_ = "EXPIRED_TOKEN" +_MAT = "MISSING_AUTHENTICATION_TOKEN" +_IF = "INTEGRATION_FAILURE" +_IT_ = "INTEGRATION_TIMEOUT" +_ACE_ = "API_CONFIGURATION_ERROR" +_UMT = "UNSUPPORTED_MEDIA_TYPE" +_BRP = "BAD_REQUEST_PARAMETERS" +_BRB = "BAD_REQUEST_BODY" +_RTL = "REQUEST_TOO_LARGE" +_THROTTLED = "THROTTLED" +_QE = "QUOTA_EXCEEDED" +_WF = "WAF_FILTERED" +_Bl = "Blob" +_L = "Long" + +ACCESS_ASSOCIATION_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _AAST, + 0, + (_VPCE,), + ((-1, {_sV: _VPCE}),), +) + +STRING: StaticSchema = (3, n0, _S, 0) + +ACCESS_LOG_SETTINGS: StaticSchema = ( + 18, + n0, + _ALS, + 0, + (_f, _dA), + ((STRING, 0), (STRING, 0)), +) + +LIST_OF_STRING: StaticSchema = (16, n0, _LOS, 0, (_m,), ((STRING, 0),)) + +INTEGER: StaticSchema = (7, n0, _I, {_s: 0}) + +DOUBLE: StaticSchema = (10, n0, _D, {_s: 0}) + +THROTTLE_SETTINGS: StaticSchema = ( + 18, + n0, + _TS, + 0, + (_bL, _rL), + ((INTEGER, {_s: 0}), (DOUBLE, {_s: 0})), +) + +TIMESTAMP: StaticSchema = (4, n0, _T, 0) + +BOOLEAN: StaticSchema = (2, n0, _B, {_s: False}) + +MAP_OF_STRING_TO_STRING: StaticSchema = ( + 17, + n0, + _MOSTS, + 0, + (_k, _v), + ((STRING, 0), (STRING, 0)), +) + +API_KEY: StaticSchema = ( + 18, + n0, + _AK, + 0, + (_i, _v, _n, _cI, _d, _e, _cD, _lUD, _sK, _t), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (BOOLEAN, {_s: False}), + (TIMESTAMP, 0), + (TIMESTAMP, 0), + (LIST_OF_STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + ), +) + +API_KEYS_FORMAT: StaticSchema = (14, n0, _AKF, 0, (_c,), ((-1, {_sV: _c}),)) + +API_KEY_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _AKST, + 0, + (_HEADER, _AUTHORIZER), + ((-1, {_sV: _HEADER}), (-1, {_sV: _AUTHORIZER})), +) + +MAP_OF_API_STAGE_THROTTLE_SETTINGS: StaticSchema = ( + 17, + n0, + _MOASTS, + 0, + (_k, _v), + ((STRING, 0), (THROTTLE_SETTINGS, 0)), +) + +API_STAGE: StaticSchema = ( + 18, + n0, + _AS, + 0, + (_aI, _st, _th), + ((STRING, 0), (STRING, 0), (MAP_OF_API_STAGE_THROTTLE_SETTINGS, 0)), +) + +API_STATUS: StaticSchema = ( + 14, + n0, + _ASp, + 0, + (_UPDATING, _AVAILABLE, _PENDING, _FAILED), + ( + (-1, {_sV: _UPDATING}), + (-1, {_sV: _AVAILABLE}), + (-1, {_sV: _PENDING}), + (-1, {_sV: _FAILED}), + ), +) + +NULLABLE_INTEGER: StaticSchema = (7, n0, _NI, 0) + +PROVIDER_ARN: StaticSchema = (3, n0, _PARN, 0) + +LIST_OF_AR_NS: StaticSchema = (16, n0, _LOARN, 0, (_m,), ((PROVIDER_ARN, 0),)) + +AUTHORIZER_TYPE: StaticSchema = ( + 14, + n0, + _AT, + 0, + (_TOKEN, _REQUEST, _CUP), + ((-1, {_sV: _TOKEN}), (-1, {_sV: _REQUEST}), (-1, {_sV: _CUP})), +) + +AUTHORIZER: StaticSchema = ( + 18, + n0, + _A, + 0, + (_i, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), + ( + (STRING, 0), + (STRING, 0), + (AUTHORIZER_TYPE, 0), + (LIST_OF_AR_NS, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (NULLABLE_INTEGER, 0), + ), +) + +BAD_REQUEST_EXCEPTION: StaticSchema = ( + 18, + n0, + _BRE, + {_sm: _cl, _sE: 400}, + (_me,), + ((STRING, 0),), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + {_sm: _cl, _sE: 409}, + (_me,), + ((STRING, 0),), +) + +STAGE_KEY: StaticSchema = (18, n0, _SK, 0, (_rAI, _sN), ((STRING, 0), (STRING, 0))) + +LIST_OF_STAGE_KEYS: StaticSchema = (16, n0, _LOSK, 0, (_m,), ((STAGE_KEY, 0),)) + +CREATE_API_KEY_INPUT: StaticSchema = ( + 18, + n0, + _CAKI, + {_sSI: _cCAKR, _smi: None}, + (_n, _d, _e, _gDI, _v, _sK, _cI, _t), + ( + (STRING, 0), + (STRING, 0), + (BOOLEAN, {_s: False}), + (BOOLEAN, {_s: False}), + (STRING, 0), + (LIST_OF_STAGE_KEYS, 0), + (STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + ), +) + +CREATE_API_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _CAKO, + {_sSI: _cAK, _smit: None}, + (_i, _v, _n, _cI, _d, _e, _cD, _lUD, _sK, _t), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (BOOLEAN, {_s: False}), + (TIMESTAMP, 0), + (TIMESTAMP, 0), + (LIST_OF_STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + ), +) + +CREATE_API_KEY: StaticOperationSchema = ( + 23, + n0, + _CAK, + {_smith: MappingProxyType({"method": "POST", "uri": "/apikeys", "code": 201})}, + CREATE_API_KEY_INPUT, + CREATE_API_KEY_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + lambda: NOT_FOUND_EXCEPTION, + lambda: TOO_MANY_REQUESTS_EXCEPTION, + lambda: UNAUTHORIZED_EXCEPTION, + ), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + {_sm: _cl, _sE: 429}, + (_rAS, _me), + ((STRING, {_sH: _RA}), (STRING, 0)), +) + +NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _NFE, + {_sm: _cl, _sE: 404}, + (_me,), + ((STRING, 0),), +) + +TOO_MANY_REQUESTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TMRE, + {_sm: _cl, _sE: 429}, + (_rAS, _me), + ((STRING, {_sH: _RA}), (STRING, 0)), +) + +UNAUTHORIZED_EXCEPTION: StaticSchema = ( + 18, + n0, + _UE, + {_sm: _cl, _sE: 401}, + (_me,), + ((STRING, 0),), +) + +CREATE_AUTHORIZER_INPUT: StaticSchema = ( + 18, + n0, + _CAI, + {_sSI: _cCAR, _smi: None}, + (_rAI, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), + ( + (STRING, 9), + (STRING, 1), + (AUTHORIZER_TYPE, 1), + (LIST_OF_AR_NS, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (NULLABLE_INTEGER, 0), + ), +) + +CREATE_AUTHORIZER_OUTPUT: StaticSchema = ( + 18, + n0, + _CAO, + {_sSI: _cA, _smit: None}, + (_i, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), + ( + (STRING, 0), + (STRING, 0), + (AUTHORIZER_TYPE, 0), + (LIST_OF_AR_NS, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (NULLABLE_INTEGER, 0), + ), +) + +CREATE_AUTHORIZER: StaticOperationSchema = ( + 23, + n0, + _CA, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/restapis/{restApiId}/authorizers", "code": 201} + ) + }, + CREATE_AUTHORIZER_INPUT, + CREATE_AUTHORIZER_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +CREATE_BASE_PATH_MAPPING_INPUT: StaticSchema = ( + 18, + n0, + _CBPMI, + {_sSI: _cCBPMR, _smi: None}, + (_dN, _dNI, _bP, _rAI, _st), + ((STRING, 9), (STRING, {_sQ: _dNI}), (STRING, 0), (STRING, 1), (STRING, 0)), +) + +CREATE_BASE_PATH_MAPPING_OUTPUT: StaticSchema = ( + 18, + n0, + _CBPMO, + {_sSI: _cBPM, _smit: None}, + (_bP, _rAI, _st), + ((STRING, 0), (STRING, 0), (STRING, 0)), +) + +CREATE_BASE_PATH_MAPPING: StaticOperationSchema = ( + 23, + n0, + _CBPM, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/domainnames/{domainName}/basepathmappings", + "code": 201, + } + ) + }, + CREATE_BASE_PATH_MAPPING_INPUT, + CREATE_BASE_PATH_MAPPING_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +NULLABLE_BOOLEAN: StaticSchema = (2, n0, _NB, 0) + +CACHE_CLUSTER_SIZE: StaticSchema = ( + 14, + n0, + _CCS, + 0, + (_SPG, _SPG_, _SPG__, _SPG___, _SPG____, _SPG_____, _SG, _SG_), + ( + (-1, {_sV: _v_}), + (-1, {_sV: _v__}), + (-1, {_sV: _v___}), + (-1, {_sV: _v____}), + (-1, {_sV: _v_____}), + (-1, {_sV: _v______}), + (-1, {_sV: _v_______}), + (-1, {_sV: _v________}), + ), +) + +DEPLOYMENT_CANARY_SETTINGS: StaticSchema = ( + 18, + n0, + _DCS, + 0, + (_pT, _sVO, _uSC), + ((DOUBLE, {_s: 0}), (MAP_OF_STRING_TO_STRING, 0), (BOOLEAN, {_s: False})), +) + +CREATE_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _CDI, + {_sSI: _cCDR, _smi: None}, + (_rAI, _sN, _sD, _d, _cCE, _cCS, _va, _cS, _tE), + ( + (STRING, 9), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (NULLABLE_BOOLEAN, 0), + (CACHE_CLUSTER_SIZE, 0), + (MAP_OF_STRING_TO_STRING, 0), + (DEPLOYMENT_CANARY_SETTINGS, 0), + (NULLABLE_BOOLEAN, 0), + ), +) + +CREATE_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDO, + {_sSI: _cDo, _smit: None}, + (_i, _d, _cD, _aS), + ( + (STRING, 0), + (STRING, 0), + (TIMESTAMP, 0), + (lambda: PATH_TO_MAP_OF_METHOD_SNAPSHOT, 0), + ), +) + +CREATE_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _CD, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/restapis/{restApiId}/deployments", "code": 201} + ) + }, + CREATE_DEPLOYMENT_INPUT, + CREATE_DEPLOYMENT_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + lambda: SERVICE_UNAVAILABLE_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +METHOD_SNAPSHOT: StaticSchema = ( + 18, + n0, + _MS, + 0, + (_aTu, _aKR), + ((STRING, 0), (BOOLEAN, {_s: False})), +) + +MAP_OF_METHOD_SNAPSHOT: StaticSchema = ( + 17, + n0, + _MOMS, + 0, + (_k, _v), + ((STRING, 0), (METHOD_SNAPSHOT, 0)), +) + +PATH_TO_MAP_OF_METHOD_SNAPSHOT: StaticSchema = ( + 17, + n0, + _PTMOMS, + 0, + (_k, _v), + ((STRING, 0), (MAP_OF_METHOD_SNAPSHOT, 0)), +) + +SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SUE, + {_sm: _se, _sE: 503}, + (_rAS, _me), + ((STRING, {_sH: _RA}), (STRING, 0)), +) + +DOCUMENTATION_PART_LOCATION_STATUS_CODE: StaticSchema = (3, n0, _DPLSC, 0) + +DOCUMENTATION_PART_TYPE: StaticSchema = ( + 14, + n0, + _DPT, + 0, + ( + _API, + _AUTHORIZER, + _MODEL, + _RESOURCE, + _METHOD, + _PP, + _QP, + _RH, + _RB, + _RESPONSE, + _RH_, + _RB_, + ), + ( + (-1, {_sV: _API}), + (-1, {_sV: _AUTHORIZER}), + (-1, {_sV: _MODEL}), + (-1, {_sV: _RESOURCE}), + (-1, {_sV: _METHOD}), + (-1, {_sV: _PP}), + (-1, {_sV: _QP}), + (-1, {_sV: _RH}), + (-1, {_sV: _RB}), + (-1, {_sV: _RESPONSE}), + (-1, {_sV: _RH_}), + (-1, {_sV: _RB_}), + ), +) + +DOCUMENTATION_PART_LOCATION: StaticSchema = ( + 18, + n0, + _DPL, + 0, + (_ty, _p, _met, _sC, _n), + ( + (DOCUMENTATION_PART_TYPE, 1), + (STRING, 0), + (STRING, 0), + (DOCUMENTATION_PART_LOCATION_STATUS_CODE, 0), + (STRING, 0), + ), +) + +CREATE_DOCUMENTATION_PART_INPUT: StaticSchema = ( + 18, + n0, + _CDPI, + {_sSI: _cCDPR, _smi: None}, + (_rAI, _l, _pr), + ((STRING, 9), (DOCUMENTATION_PART_LOCATION, 1), (STRING, 1)), +) + +CREATE_DOCUMENTATION_PART_OUTPUT: StaticSchema = ( + 18, + n0, + _CDPO, + {_sSI: _cDP, _smit: None}, + (_i, _l, _pr), + ((STRING, 0), (DOCUMENTATION_PART_LOCATION, 0), (STRING, 0)), +) + +CREATE_DOCUMENTATION_PART: StaticOperationSchema = ( + 23, + n0, + _CDP, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/restapis/{restApiId}/documentation/parts", + "code": 201, + } + ) + }, + CREATE_DOCUMENTATION_PART_INPUT, + CREATE_DOCUMENTATION_PART_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +CREATE_DOCUMENTATION_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CDVI, + {_sSI: _cCDVR, _smi: None}, + (_rAI, _dV, _sN, _d), + ((STRING, 9), (STRING, 1), (STRING, 0), (STRING, 0)), +) + +CREATE_DOCUMENTATION_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CDVO, + {_sSI: _cDV, _smit: None}, + (_ve, _cD, _d), + ((STRING, 0), (TIMESTAMP, 0), (STRING, 0)), +) + +CREATE_DOCUMENTATION_VERSION: StaticOperationSchema = ( + 23, + n0, + _CDV, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/restapis/{restApiId}/documentation/versions", + "code": 201, + } + ) + }, + CREATE_DOCUMENTATION_VERSION_INPUT, + CREATE_DOCUMENTATION_VERSION_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +ENDPOINT_ACCESS_MODE: StaticSchema = ( + 14, + n0, + _EAM, + 0, + (_BASIC, _STRICT), + ((-1, {_sV: _BASIC}), (-1, {_sV: _STRICT})), +) + +IP_ADDRESS_TYPE: StaticSchema = ( + 14, + n0, + _IAT, + 0, + (_ip, _du), + ((-1, {_sV: _ip}), (-1, {_sV: _du})), +) + +ENDPOINT_TYPE: StaticSchema = ( + 14, + n0, + _ET, + 0, + (_REGIONAL, _EDGE, _PRIVATE), + ((-1, {_sV: _REGIONAL}), (-1, {_sV: _EDGE}), (-1, {_sV: _PRIVATE})), +) + +LIST_OF_ENDPOINT_TYPE: StaticSchema = (16, n0, _LOET, 0, (_m,), ((ENDPOINT_TYPE, 0),)) + +ENDPOINT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EC, + 0, + (_typ, _iAT, _vEI), + ((LIST_OF_ENDPOINT_TYPE, 0), (IP_ADDRESS_TYPE, 0), (LIST_OF_STRING, 0)), +) + +MUTUAL_TLS_AUTHENTICATION_INPUT: StaticSchema = ( + 18, + n0, + _MTAI, + 0, + (_tU, _tV), + ((STRING, 0), (STRING, 0)), +) + +ROUTING_MODE: StaticSchema = ( + 14, + n0, + _RM, + 0, + (_BPMO, _RRO, _RRTBPM), + ((-1, {_sV: _BPMO}), (-1, {_sV: _RRO}), (-1, {_sV: _RRTBPM})), +) + +SECURITY_POLICY: StaticSchema = ( + 14, + n0, + _SP, + 0, + ( + _T_, + _T__, + _ST, + _STF, + _STPP, + _STFP, + _STFPP, + _STEP, + _STEFP, + _STP, + _ST_, + _STE, + _STPE, + _STE_, + ), + ( + (-1, {_sV: _T_}), + (-1, {_sV: _T__}), + (-1, {_sV: _ST}), + (-1, {_sV: _STF}), + (-1, {_sV: _STPP}), + (-1, {_sV: _STFP}), + (-1, {_sV: _STFPP}), + (-1, {_sV: _STEP}), + (-1, {_sV: _STEFP}), + (-1, {_sV: _STP}), + (-1, {_sV: _ST_}), + (-1, {_sV: _STE}), + (-1, {_sV: _STPE}), + (-1, {_sV: _STE_}), + ), +) + +CREATE_DOMAIN_NAME_INPUT: StaticSchema = ( + 18, + n0, + _CDNI, + {_sSI: _cCDNR, _smi: None}, + ( + _dN, + _cN, + _cB, + _cPK, + _cC, + _cAe, + _rCN, + _rCA, + _eC, + _t, + _sP, + _eAM, + _mTA, + _oVCA, + _po, + _rM, + ), + ( + (STRING, 1), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (ENDPOINT_CONFIGURATION, 0), + (MAP_OF_STRING_TO_STRING, 0), + (SECURITY_POLICY, 0), + (ENDPOINT_ACCESS_MODE, 0), + (MUTUAL_TLS_AUTHENTICATION_INPUT, 0), + (STRING, 0), + (STRING, 0), + (ROUTING_MODE, 0), + ), +) + +CREATE_DOMAIN_NAME_OUTPUT: StaticSchema = ( + 18, + n0, + _CDNO, + {_sSI: _cDN, _smit: None}, + ( + _dN, + _dNI, + _dNA, + _cN, + _cAe, + _cUD, + _rDN, + _rHZI, + _rCN, + _rCA, + _dDN, + _dHZI, + _eC, + _dNS, + _dNSM, + _sP, + _eAM, + _t, + _mTA, + _oVCA, + _mP, + _po, + _rM, + ), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (TIMESTAMP, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (ENDPOINT_CONFIGURATION, 0), + (lambda: DOMAIN_NAME_STATUS, 0), + (STRING, 0), + (SECURITY_POLICY, 0), + (ENDPOINT_ACCESS_MODE, 0), + (MAP_OF_STRING_TO_STRING, 0), + (lambda: MUTUAL_TLS_AUTHENTICATION, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (ROUTING_MODE, 0), + ), +) + +CREATE_DOMAIN_NAME: StaticOperationSchema = ( + 23, + n0, + _CDN, + {_smith: MappingProxyType({"method": "POST", "uri": "/domainnames", "code": 201})}, + CREATE_DOMAIN_NAME_INPUT, + CREATE_DOMAIN_NAME_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +DOMAIN_NAME_STATUS: StaticSchema = ( + 14, + n0, + _DNS, + 0, + (_AVAILABLE, _UPDATING, _PENDING, _PCR, _POV, _FAILED), + ( + (-1, {_sV: _AVAILABLE}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _PENDING}), + (-1, {_sV: _PCR}), + (-1, {_sV: _POV}), + (-1, {_sV: _FAILED}), + ), +) + +MUTUAL_TLS_AUTHENTICATION: StaticSchema = ( + 18, + n0, + _MTA, + 0, + (_tU, _tV, _tW), + ((STRING, 0), (STRING, 0), (LIST_OF_STRING, 0)), +) + +CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _CDNAAI, + {_sSI: _cCDNAAR, _smi: None}, + (_dNA, _aAST, _aAS, _t), + ( + (STRING, 1), + (ACCESS_ASSOCIATION_SOURCE_TYPE, 1), + (STRING, 1), + (MAP_OF_STRING_TO_STRING, 0), + ), +) + +CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CDNAAO, + {_sSI: _cDNAA, _smit: None}, + (_dNAAA, _dNA, _aAST, _aAS, _t), + ( + (STRING, 0), + (STRING, 0), + (ACCESS_ASSOCIATION_SOURCE_TYPE, 0), + (STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + ), +) + +CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _CDNAA, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/domainnameaccessassociations", "code": 201} + ) + }, + CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT, + CREATE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +CREATE_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _CMI, + {_sSI: _cCMR, _smi: None}, + (_rAI, _n, _d, _sc, _cT), + ((STRING, 9), (STRING, 1), (STRING, 0), (STRING, 0), (STRING, 1)), +) + +CREATE_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _CMO, + {_sSI: _cM, _smit: None}, + (_i, _n, _d, _sc, _cT), + ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), +) + +CREATE_MODEL: StaticOperationSchema = ( + 23, + n0, + _CM, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/restapis/{restApiId}/models", "code": 201} + ) + }, + CREATE_MODEL_INPUT, + CREATE_MODEL_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +CREATE_REQUEST_VALIDATOR_INPUT: StaticSchema = ( + 18, + n0, + _CRVI, + {_sSI: _cCRVR, _smi: None}, + (_rAI, _n, _vRB, _vRP), + ((STRING, 9), (STRING, 0), (BOOLEAN, {_s: False}), (BOOLEAN, {_s: False})), +) + +CREATE_REQUEST_VALIDATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _CRVO, + {_sSI: _cRV, _smit: None}, + (_i, _n, _vRB, _vRP), + ((STRING, 0), (STRING, 0), (BOOLEAN, {_s: False}), (BOOLEAN, {_s: False})), +) + +CREATE_REQUEST_VALIDATOR: StaticOperationSchema = ( + 23, + n0, + _CRV, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/restapis/{restApiId}/requestvalidators", + "code": 201, + } + ) + }, + CREATE_REQUEST_VALIDATOR_INPUT, + CREATE_REQUEST_VALIDATOR_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +CREATE_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _CRI, + {_sSI: _cCRR, _smi: None}, + (_rAI, _pI, _pP), + ((STRING, 9), (STRING, 9), (STRING, 1)), +) + +CREATE_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _CRO, + {_sSI: _cR, _smit: None}, + (_i, _pI, _pP, _p, _rMes), + ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (lambda: MAP_OF_METHOD, 0)), +) + +CREATE_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _CR, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/restapis/{restApiId}/resources/{parentId}", + "code": 201, + } + ) + }, + CREATE_RESOURCE_INPUT, + CREATE_RESOURCE_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +CONNECTION_TYPE: StaticSchema = ( + 14, + n0, + _CT, + 0, + (_INTERNET, _VL), + ((-1, {_sV: _INTERNET}), (-1, {_sV: _VL})), +) + +CONTENT_HANDLING_STRATEGY: StaticSchema = ( + 14, + n0, + _CHS, + 0, + (_CTB, _CTT), + ((-1, {_sV: _CTB}), (-1, {_sV: _CTT})), +) + +STATUS_CODE: StaticSchema = (3, n0, _SC, 0) + +INTEGRATION_RESPONSE: StaticSchema = ( + 18, + n0, + _IR, + 0, + (_sC, _sPe, _rP, _rT, _cH), + ( + (STATUS_CODE, 0), + (STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + (CONTENT_HANDLING_STRATEGY, 0), + ), +) + +MAP_OF_INTEGRATION_RESPONSE: StaticSchema = ( + 17, + n0, + _MOIR, + 0, + (_k, _v), + ((STRING, 0), (INTEGRATION_RESPONSE, 0)), +) + +RESPONSE_TRANSFER_MODE: StaticSchema = ( + 14, + n0, + _RTM, + 0, + (_BUFFERED, _STREAM), + ((-1, {_sV: _BUFFERED}), (-1, {_sV: _STREAM})), +) + +TLS_CONFIG: StaticSchema = (18, n0, _TC, 0, (_iSV,), ((BOOLEAN, {_s: False}),)) + +INTEGRATION_TYPE: StaticSchema = ( + 14, + n0, + _IT, + 0, + (_HTTP, _AWS, _MOCK, _HP, _AP), + ( + (-1, {_sV: _HTTP}), + (-1, {_sV: _AWS}), + (-1, {_sV: _MOCK}), + (-1, {_sV: _HP}), + (-1, {_sV: _AP}), + ), +) + +INTEGRATION: StaticSchema = ( + 18, + n0, + _In, + 0, + ( + _ty, + _hM, + _u, + _cTo, + _cIo, + _cr, + _rPe, + _rTe, + _pB, + _cH, + _tIM, + _cNa, + _cKP, + _iR, + _tC, + _rTM, + _iT, + ), + ( + (INTEGRATION_TYPE, 0), + (STRING, 0), + (STRING, 0), + (CONNECTION_TYPE, 0), + (STRING, 0), + (STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + (STRING, 0), + (CONTENT_HANDLING_STRATEGY, 0), + (INTEGER, {_s: 0}), + (STRING, 0), + (LIST_OF_STRING, 0), + (MAP_OF_INTEGRATION_RESPONSE, 0), + (TLS_CONFIG, 0), + (RESPONSE_TRANSFER_MODE, 0), + (STRING, 0), + ), +) + +MAP_OF_STRING_TO_BOOLEAN: StaticSchema = ( + 17, + n0, + _MOSTB, + 0, + (_k, _v), + ((STRING, 0), (NULLABLE_BOOLEAN, 0)), +) + +METHOD_RESPONSE: StaticSchema = ( + 18, + n0, + _MR, + 0, + (_sC, _rP, _rMe), + ((STATUS_CODE, 0), (MAP_OF_STRING_TO_BOOLEAN, 0), (MAP_OF_STRING_TO_STRING, 0)), +) + +MAP_OF_METHOD_RESPONSE: StaticSchema = ( + 17, + n0, + _MOMR, + 0, + (_k, _v), + ((STRING, 0), (METHOD_RESPONSE, 0)), +) + +METHOD: StaticSchema = ( + 18, + n0, + _M, + 0, + (_hM, _aTu, _aIu, _aKR, _rVI, _oN, _rPe, _rMeq, _mR, _mI, _aSu), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (NULLABLE_BOOLEAN, 0), + (STRING, 0), + (STRING, 0), + (MAP_OF_STRING_TO_BOOLEAN, 0), + (MAP_OF_STRING_TO_STRING, 0), + (MAP_OF_METHOD_RESPONSE, 0), + (INTEGRATION, 0), + (LIST_OF_STRING, 0), + ), +) + +MAP_OF_METHOD: StaticSchema = (17, n0, _MOM, 0, (_k, _v), ((STRING, 0), (METHOD, 0))) + +CREATE_REST_API_INPUT: StaticSchema = ( + 18, + n0, + _CRAI, + {_sSI: _cCRAR, _smi: None}, + (_n, _d, _ve, _cF, _bMT, _mCS, _aKS, _eC, _po, _t, _dEAE, _sP, _eAM), + ( + (STRING, 1), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (LIST_OF_STRING, 0), + (NULLABLE_INTEGER, 0), + (API_KEY_SOURCE_TYPE, 0), + (ENDPOINT_CONFIGURATION, 0), + (STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + (BOOLEAN, {_s: False}), + (SECURITY_POLICY, 0), + (ENDPOINT_ACCESS_MODE, 0), + ), +) + +CREATE_REST_API_OUTPUT: StaticSchema = ( + 18, + n0, + _CRAO, + {_sSI: _cRA, _smit: None}, + ( + _i, + _n, + _d, + _cD, + _ve, + _w, + _bMT, + _mCS, + _aKS, + _eC, + _po, + _t, + _dEAE, + _rRI, + _sP, + _eAM, + _aSp, + _aSM, + ), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (TIMESTAMP, 0), + (STRING, 0), + (LIST_OF_STRING, 0), + (LIST_OF_STRING, 0), + (NULLABLE_INTEGER, 0), + (API_KEY_SOURCE_TYPE, 0), + (ENDPOINT_CONFIGURATION, 0), + (STRING, 0), + (MAP_OF_STRING_TO_STRING, 0), + (BOOLEAN, {_s: False}), + (STRING, 0), + (SECURITY_POLICY, 0), + (ENDPOINT_ACCESS_MODE, 0), + (API_STATUS, 0), + (STRING, 0), + ), +) + +CREATE_REST_API: StaticOperationSchema = ( + 23, + n0, + _CRA, + {_smith: MappingProxyType({"method": "POST", "uri": "/restapis", "code": 201})}, + CREATE_REST_API_INPUT, + CREATE_REST_API_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + ), +) + +VPC_LINK_STATUS: StaticSchema = ( + 14, + n0, + _VLS, + 0, + (_AVAILABLE, _PENDING, _DELETING, _FAILED), + ( + (-1, {_sV: _AVAILABLE}), + (-1, {_sV: _PENDING}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _FAILED}), + ), +) + +GATEWAY_RESPONSE_TYPE: StaticSchema = ( + 14, + n0, + _GRT, + 0, + ( + _D_, + _D__, + _RNF, + _UNAUTHORIZED, + _IAK, + _AD, + _AF, + _ACE, + _IS, + _ET_, + _MAT, + _IF, + _IT_, + _ACE_, + _UMT, + _BRP, + _BRB, + _RTL, + _THROTTLED, + _QE, + _WF, + ), + ( + (-1, {_sV: _D_}), + (-1, {_sV: _D__}), + (-1, {_sV: _RNF}), + (-1, {_sV: _UNAUTHORIZED}), + (-1, {_sV: _IAK}), + (-1, {_sV: _AD}), + (-1, {_sV: _AF}), + (-1, {_sV: _ACE}), + (-1, {_sV: _IS}), + (-1, {_sV: _ET_}), + (-1, {_sV: _MAT}), + (-1, {_sV: _IF}), + (-1, {_sV: _IT_}), + (-1, {_sV: _ACE_}), + (-1, {_sV: _UMT}), + (-1, {_sV: _BRP}), + (-1, {_sV: _BRB}), + (-1, {_sV: _RTL}), + (-1, {_sV: _THROTTLED}), + (-1, {_sV: _QE}), + (-1, {_sV: _WF}), + ), +) + +BLOB: StaticSchema = (1, n0, _Bl, 0) + +LONG: StaticSchema = (8, n0, _L, {_s: 0}) diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_1.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_1.py new file mode 100644 index 000000000..80236a765 --- /dev/null +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_1.py @@ -0,0 +1,1824 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.apigateway" +_sV = "smithy.api#enumValue" +_m = "member" +_s = "smithy.api#default" +_k = "key" +_v = "value" +_i = "id" +_n = "name" +_cI = "customerId" +_d = "description" +_e = "enabled" +_cD = "createdDate" +_lUD = "lastUpdatedDate" +_sK = "stageKeys" +_t = "tags" +_st = "stage" +_th = "throttle" +_AVAILABLE = "AVAILABLE" +_ty = "type" +_pARN = "providerARNs" +_aT = "authType" +_aU = "authorizerUri" +_aC = "authorizerCredentials" +_iS = "identitySource" +_iVE = "identityValidationExpression" +_aRTIS = "authorizerResultTtlInSeconds" +_rAI = "restApiId" +_sN = "stageName" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_cAK = "com.amazonaws.apigateway#ApiKey" +_smit = "smithy.api#output" +_smith = "smithy.api#http" +_smithy = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_cA = "com.amazonaws.apigateway#Authorizer" +_dN = "domainName" +_dNI = "domainNameId" +_sQ = "smithy.api#httpQuery" +_bP = "basePath" +_cBPM = "com.amazonaws.apigateway#BasePathMapping" +_pT = "percentTraffic" +_sVO = "stageVariableOverrides" +_uSC = "useStageCache" +_cCE = "cacheClusterEnabled" +_cCS = "cacheClusterSize" +_va = "variables" +_cS = "canarySettings" +_tE = "tracingEnabled" +_sC = "statusCode" +_dV = "documentationVersion" +_dNAAA = "domainNameAccessAssociationArn" +_hM = "httpMethod" +_aIu = "authorizerId" +_rVI = "requestValidatorId" +_w = "warnings" +_CS = "CanarySettings" +_dI = "deploymentId" +_CSI = "CreateStageInput" +_cCSR = "com.amazonaws.apigateway#CreateStageRequest" +_CCSa = "CacheClusterStatus" +_CIP = "CREATE_IN_PROGRESS" +_DIP = "DELETE_IN_PROGRESS" +_NA = "NOT_AVAILABLE" +_FIP = "FLUSH_IN_PROGRESS" +_UCCHS = "UnauthorizedCacheControlHeaderStrategy" +_FW = "FAIL_WITH_403" +_SWRH = "SUCCEED_WITH_RESPONSE_HEADER" +_SWRH_ = "SUCCEED_WITHOUT_RESPONSE_HEADER" +_MSe = "MethodSetting" +_mE = "metricsEnabled" +_lL = "loggingLevel" +_dTE = "dataTraceEnabled" +_tBL = "throttlingBurstLimit" +_tRL = "throttlingRateLimit" +_cE = "cachingEnabled" +_cTIS = "cacheTtlInSeconds" +_cDE = "cacheDataEncrypted" +_rAFCC = "requireAuthorizationForCacheControl" +_uCCHS = "unauthorizedCacheControlHeaderStrategy" +_MOMSa = "MapOfMethodSettings" +_CSO = "CreateStageOutput" +_cSo = "com.amazonaws.apigateway#Stage" +_cCI = "clientCertificateId" +_cCSa = "cacheClusterStatus" +_mS = "methodSettings" +_aLS = "accessLogSettings" +_wAA = "webAclArn" +_CSr = "CreateStage" +_LOAS = "ListOfApiStage" +_QPT = "QuotaPeriodType" +_DAY = "DAY" +_WEEK = "WEEK" +_MONTH = "MONTH" +_QS = "QuotaSettings" +_li = "limit" +_o = "offset" +_pe = "period" +_CUPI = "CreateUsagePlanInput" +_cCUPR = "com.amazonaws.apigateway#CreateUsagePlanRequest" +_aSpi = "apiStages" +_q = "quota" +_CUPO = "CreateUsagePlanOutput" +_cUP = "com.amazonaws.apigateway#UsagePlan" +_pC = "productCode" +_CUPr = "CreateUsagePlan" +_CUPKI = "CreateUsagePlanKeyInput" +_cCUPKR = "com.amazonaws.apigateway#CreateUsagePlanKeyRequest" +_uPI = "usagePlanId" +_kI = "keyId" +_kT = "keyType" +_CUPKO = "CreateUsagePlanKeyOutput" +_cUPK = "com.amazonaws.apigateway#UsagePlanKey" +_CUPK = "CreateUsagePlanKey" +_CVLI = "CreateVpcLinkInput" +_cCVLR = "com.amazonaws.apigateway#CreateVpcLinkRequest" +_tA = "targetArns" +_CVLO = "CreateVpcLinkOutput" +_cVL = "com.amazonaws.apigateway#VpcLink" +_sta = "status" +_sM = "statusMessage" +_CVL = "CreateVpcLink" +_DAKI = "DeleteApiKeyInput" +_cDAKR = "com.amazonaws.apigateway#DeleteApiKeyRequest" +_aK = "apiKey" +_DAKO = "DeleteApiKeyOutput" +_sU = "smithy.api#Unit" +_DAK = "DeleteApiKey" +_DAI = "DeleteAuthorizerInput" +_cDAR = "com.amazonaws.apigateway#DeleteAuthorizerRequest" +_DAO = "DeleteAuthorizerOutput" +_DA = "DeleteAuthorizer" +_DBPMI = "DeleteBasePathMappingInput" +_cDBPMR = "com.amazonaws.apigateway#DeleteBasePathMappingRequest" +_DBPMO = "DeleteBasePathMappingOutput" +_DBPM = "DeleteBasePathMapping" +_DCCI = "DeleteClientCertificateInput" +_cDCCR = "com.amazonaws.apigateway#DeleteClientCertificateRequest" +_DCCO = "DeleteClientCertificateOutput" +_DCC = "DeleteClientCertificate" +_DDI = "DeleteDeploymentInput" +_cDDR = "com.amazonaws.apigateway#DeleteDeploymentRequest" +_DDO = "DeleteDeploymentOutput" +_DD = "DeleteDeployment" +_DDPI = "DeleteDocumentationPartInput" +_cDDPR = "com.amazonaws.apigateway#DeleteDocumentationPartRequest" +_dPI = "documentationPartId" +_DDPO = "DeleteDocumentationPartOutput" +_DDP = "DeleteDocumentationPart" +_DDVI = "DeleteDocumentationVersionInput" +_cDDVR = "com.amazonaws.apigateway#DeleteDocumentationVersionRequest" +_DDVO = "DeleteDocumentationVersionOutput" +_DDV = "DeleteDocumentationVersion" +_DDNI = "DeleteDomainNameInput" +_cDDNR = "com.amazonaws.apigateway#DeleteDomainNameRequest" +_DDNO = "DeleteDomainNameOutput" +_DDN = "DeleteDomainName" +_DDNAAI = "DeleteDomainNameAccessAssociationInput" +_cDDNAAR = "com.amazonaws.apigateway#DeleteDomainNameAccessAssociationRequest" +_DDNAAO = "DeleteDomainNameAccessAssociationOutput" +_DDNAA = "DeleteDomainNameAccessAssociation" +_DGRI = "DeleteGatewayResponseInput" +_cDGRR = "com.amazonaws.apigateway#DeleteGatewayResponseRequest" +_rTes = "responseType" +_DGRO = "DeleteGatewayResponseOutput" +_DGR = "DeleteGatewayResponse" +_DII = "DeleteIntegrationInput" +_cDIR = "com.amazonaws.apigateway#DeleteIntegrationRequest" +_rI = "resourceId" +_DIO = "DeleteIntegrationOutput" +_DI = "DeleteIntegration" +_DIRI = "DeleteIntegrationResponseInput" +_cDIRR = "com.amazonaws.apigateway#DeleteIntegrationResponseRequest" +_DIRO = "DeleteIntegrationResponseOutput" +_DIR = "DeleteIntegrationResponse" +_DMI = "DeleteMethodInput" +_cDMR = "com.amazonaws.apigateway#DeleteMethodRequest" +_DMO = "DeleteMethodOutput" +_DM = "DeleteMethod" +_DMRI = "DeleteMethodResponseInput" +_cDMRR = "com.amazonaws.apigateway#DeleteMethodResponseRequest" +_DMRO = "DeleteMethodResponseOutput" +_DMR = "DeleteMethodResponse" +_DMIe = "DeleteModelInput" +_cDMRo = "com.amazonaws.apigateway#DeleteModelRequest" +_mN = "modelName" +_DMOe = "DeleteModelOutput" +_DMe = "DeleteModel" +_DRVI = "DeleteRequestValidatorInput" +_cDRVR = "com.amazonaws.apigateway#DeleteRequestValidatorRequest" +_DRVO = "DeleteRequestValidatorOutput" +_DRV = "DeleteRequestValidator" +_DRI = "DeleteResourceInput" +_cDRR = "com.amazonaws.apigateway#DeleteResourceRequest" +_DRO = "DeleteResourceOutput" +_DR = "DeleteResource" +_DRAI = "DeleteRestApiInput" +_cDRAR = "com.amazonaws.apigateway#DeleteRestApiRequest" +_DRAO = "DeleteRestApiOutput" +_DRA = "DeleteRestApi" +_DSI = "DeleteStageInput" +_cDSR = "com.amazonaws.apigateway#DeleteStageRequest" +_DSO = "DeleteStageOutput" +_DS = "DeleteStage" +_DUPI = "DeleteUsagePlanInput" +_cDUPR = "com.amazonaws.apigateway#DeleteUsagePlanRequest" +_DUPO = "DeleteUsagePlanOutput" +_DUP = "DeleteUsagePlan" +_DUPKI = "DeleteUsagePlanKeyInput" +_cDUPKR = "com.amazonaws.apigateway#DeleteUsagePlanKeyRequest" +_DUPKO = "DeleteUsagePlanKeyOutput" +_DUPK = "DeleteUsagePlanKey" +_DVLI = "DeleteVpcLinkInput" +_cDVLR = "com.amazonaws.apigateway#DeleteVpcLinkRequest" +_vLI = "vpcLinkId" +_DVLO = "DeleteVpcLinkOutput" +_DVL = "DeleteVpcLink" +_FSACI = "FlushStageAuthorizersCacheInput" +_cFSACR = "com.amazonaws.apigateway#FlushStageAuthorizersCacheRequest" +_FSACO = "FlushStageAuthorizersCacheOutput" +_FSAC = "FlushStageAuthorizersCache" +_FSCI = "FlushStageCacheInput" +_cFSCR = "com.amazonaws.apigateway#FlushStageCacheRequest" +_FSCO = "FlushStageCacheOutput" +_FSC = "FlushStageCache" +_GCCI = "GenerateClientCertificateInput" +_cGCCR = "com.amazonaws.apigateway#GenerateClientCertificateRequest" +_GCCO = "GenerateClientCertificateOutput" +_cCC = "com.amazonaws.apigateway#ClientCertificate" +_pEC = "pemEncodedCertificate" +_eD = "expirationDate" +_GCC = "GenerateClientCertificate" +_GAI = "GetAccountInput" +_cGAR = "com.amazonaws.apigateway#GetAccountRequest" +_GAO = "GetAccountOutput" +_cAo = "com.amazonaws.apigateway#Account" +_cRAl = "cloudwatchRoleArn" +_tS = "throttleSettings" +_fe = "features" +_aKV = "apiKeyVersion" +_GA = "GetAccount" +_GAKI = "GetApiKeyInput" +_cGAKR = "com.amazonaws.apigateway#GetApiKeyRequest" +_iV = "includeValue" +_GAKO = "GetApiKeyOutput" +_GAK = "GetApiKey" +_GAKIe = "GetApiKeysInput" +_cGAKRo = "com.amazonaws.apigateway#GetApiKeysRequest" +_pos = "position" +_nQ = "nameQuery" +_iVn = "includeValues" +_LOAK = "ListOfApiKey" +_GAKOe = "GetApiKeysOutput" +_cAKo = "com.amazonaws.apigateway#ApiKeys" +_it = "items" +_sNm = "smithy.api#jsonName" +_ite = "item" +_GAKe = "GetApiKeys" +_GAIe = "GetAuthorizerInput" +_cGARo = "com.amazonaws.apigateway#GetAuthorizerRequest" +_GAOe = "GetAuthorizerOutput" +_GAe = "GetAuthorizer" +_GAIet = "GetAuthorizersInput" +_cGARom = "com.amazonaws.apigateway#GetAuthorizersRequest" +_LOA = "ListOfAuthorizer" +_GAOet = "GetAuthorizersOutput" +_cAom = "com.amazonaws.apigateway#Authorizers" +_GAet = "GetAuthorizers" +_GBPMI = "GetBasePathMappingInput" +_cGBPMR = "com.amazonaws.apigateway#GetBasePathMappingRequest" +_GBPMO = "GetBasePathMappingOutput" +_GBPM = "GetBasePathMapping" + +CANARY_SETTINGS: StaticSchema = ( + 18, + n0, + _CS, + 0, + (_pT, _dI, _sVO, _uSC), + ( + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + ), +) + +CREATE_STAGE_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_sSI: _cCSR, _smi: None}, + (_rAI, _sN, _dI, _d, _cCE, _cCS, _va, _dV, _cS, _tE, _t), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.CACHE_CLUSTER_SIZE, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (CANARY_SETTINGS, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +CREATE_STAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_sSI: _cSo, _smit: None}, + ( + _dI, + _cCI, + _sN, + _d, + _cCE, + _cCS, + _cCSa, + _mS, + _va, + _dV, + _aLS, + _cS, + _tE, + _wAA, + _t, + _cD, + _lUD, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.CACHE_CLUSTER_SIZE, 0), + (lambda: CACHE_CLUSTER_STATUS, 0), + (lambda: MAP_OF_METHOD_SETTINGS, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACCESS_LOG_SETTINGS, 0), + (CANARY_SETTINGS, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +CREATE_STAGE: StaticOperationSchema = ( + 23, + n0, + _CSr, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/restapis/{restApiId}/stages", "code": 201} + ) + }, + CREATE_STAGE_INPUT, + CREATE_STAGE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +CACHE_CLUSTER_STATUS: StaticSchema = ( + 14, + n0, + _CCSa, + 0, + (_CIP, _AVAILABLE, _DIP, _NA, _FIP), + ( + (-1, {_sV: _CIP}), + (-1, {_sV: _AVAILABLE}), + (-1, {_sV: _DIP}), + (-1, {_sV: _NA}), + (-1, {_sV: _FIP}), + ), +) + +UNAUTHORIZED_CACHE_CONTROL_HEADER_STRATEGY: StaticSchema = ( + 14, + n0, + _UCCHS, + 0, + (_FW, _SWRH, _SWRH_), + ((-1, {_sV: _FW}), (-1, {_sV: _SWRH}), (-1, {_sV: _SWRH_})), +) + +METHOD_SETTING: StaticSchema = ( + 18, + n0, + _MSe, + 0, + (_mE, _lL, _dTE, _tBL, _tRL, _cE, _cTIS, _cDE, _rAFCC, _uCCHS), + ( + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.INTEGER, {_s: 0}), + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.INTEGER, {_s: 0}), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.BOOLEAN, {_s: False}), + (UNAUTHORIZED_CACHE_CONTROL_HEADER_STRATEGY, 0), + ), +) + +MAP_OF_METHOD_SETTINGS: StaticSchema = ( + 17, + n0, + _MOMSa, + 0, + (_k, _v), + ((lambda: schemas.STRING, 0), (METHOD_SETTING, 0)), +) + +LIST_OF_API_STAGE: StaticSchema = ( + 16, + n0, + _LOAS, + 0, + (_m,), + ((lambda: schemas.API_STAGE, 0),), +) + +QUOTA_PERIOD_TYPE: StaticSchema = ( + 14, + n0, + _QPT, + 0, + (_DAY, _WEEK, _MONTH), + ((-1, {_sV: _DAY}), (-1, {_sV: _WEEK}), (-1, {_sV: _MONTH})), +) + +QUOTA_SETTINGS: StaticSchema = ( + 18, + n0, + _QS, + 0, + (_li, _o, _pe), + ( + (lambda: schemas.INTEGER, {_s: 0}), + (lambda: schemas.INTEGER, {_s: 0}), + (QUOTA_PERIOD_TYPE, 0), + ), +) + +CREATE_USAGE_PLAN_INPUT: StaticSchema = ( + 18, + n0, + _CUPI, + {_sSI: _cCUPR, _smi: None}, + (_n, _d, _aSpi, _th, _q, _t), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (LIST_OF_API_STAGE, 0), + (lambda: schemas.THROTTLE_SETTINGS, 0), + (QUOTA_SETTINGS, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +CREATE_USAGE_PLAN_OUTPUT: StaticSchema = ( + 18, + n0, + _CUPO, + {_sSI: _cUP, _smit: None}, + (_i, _n, _d, _aSpi, _th, _q, _pC, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (LIST_OF_API_STAGE, 0), + (lambda: schemas.THROTTLE_SETTINGS, 0), + (QUOTA_SETTINGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +CREATE_USAGE_PLAN: StaticOperationSchema = ( + 23, + n0, + _CUPr, + {_smith: MappingProxyType({"method": "POST", "uri": "/usageplans", "code": 201})}, + CREATE_USAGE_PLAN_INPUT, + CREATE_USAGE_PLAN_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +CREATE_USAGE_PLAN_KEY_INPUT: StaticSchema = ( + 18, + n0, + _CUPKI, + {_sSI: _cCUPKR, _smi: None}, + (_uPI, _kI, _kT), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + ), +) + +CREATE_USAGE_PLAN_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _CUPKO, + {_sSI: _cUPK, _smit: None}, + (_i, _ty, _v, _n), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_USAGE_PLAN_KEY: StaticOperationSchema = ( + 23, + n0, + _CUPK, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/usageplans/{usagePlanId}/keys", "code": 201} + ) + }, + CREATE_USAGE_PLAN_KEY_INPUT, + CREATE_USAGE_PLAN_KEY_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +CREATE_VPC_LINK_INPUT: StaticSchema = ( + 18, + n0, + _CVLI, + {_sSI: _cCVLR, _smi: None}, + (_n, _d, _tA, _t), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 1), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +CREATE_VPC_LINK_OUTPUT: StaticSchema = ( + 18, + n0, + _CVLO, + {_sSI: _cVL, _smit: None}, + (_i, _n, _d, _tA, _sta, _sM, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.VPC_LINK_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +CREATE_VPC_LINK: StaticOperationSchema = ( + 23, + n0, + _CVL, + {_smith: MappingProxyType({"method": "POST", "uri": "/vpclinks", "code": 202})}, + CREATE_VPC_LINK_INPUT, + CREATE_VPC_LINK_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_API_KEY_INPUT: StaticSchema = ( + 18, + n0, + _DAKI, + {_sSI: _cDAKR, _smi: None}, + (_aK,), + ((lambda: schemas.STRING, 9),), +) + +DELETE_API_KEY_OUTPUT: StaticSchema = (18, n0, _DAKO, {_sSI: _sU, _smit: None}) + +DELETE_API_KEY: StaticOperationSchema = ( + 23, + n0, + _DAK, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/apikeys/{apiKey}", "code": 202} + ) + }, + DELETE_API_KEY_INPUT, + DELETE_API_KEY_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_AUTHORIZER_INPUT: StaticSchema = ( + 18, + n0, + _DAI, + {_sSI: _cDAR, _smi: None}, + (_rAI, _aIu), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_AUTHORIZER_OUTPUT: StaticSchema = (18, n0, _DAO, {_sSI: _sU, _smit: None}) + +DELETE_AUTHORIZER: StaticOperationSchema = ( + 23, + n0, + _DA, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", + "code": 202, + } + ) + }, + DELETE_AUTHORIZER_INPUT, + DELETE_AUTHORIZER_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_BASE_PATH_MAPPING_INPUT: StaticSchema = ( + 18, + n0, + _DBPMI, + {_sSI: _cDBPMR, _smi: None}, + (_dN, _dNI, _bP), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _dNI}), + (lambda: schemas.STRING, 9), + ), +) + +DELETE_BASE_PATH_MAPPING_OUTPUT: StaticSchema = ( + 18, + n0, + _DBPMO, + {_sSI: _sU, _smit: None}, +) + +DELETE_BASE_PATH_MAPPING: StaticOperationSchema = ( + 23, + n0, + _DBPM, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", + "code": 202, + } + ) + }, + DELETE_BASE_PATH_MAPPING_INPUT, + DELETE_BASE_PATH_MAPPING_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_CLIENT_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _DCCI, + {_sSI: _cDCCR, _smi: None}, + (_cCI,), + ((lambda: schemas.STRING, 9),), +) + +DELETE_CLIENT_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _DCCO, + {_sSI: _sU, _smit: None}, +) + +DELETE_CLIENT_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _DCC, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/clientcertificates/{clientCertificateId}", + "code": 202, + } + ) + }, + DELETE_CLIENT_CERTIFICATE_INPUT, + DELETE_CLIENT_CERTIFICATE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _DDI, + {_sSI: _cDDR, _smi: None}, + (_rAI, _dI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_DEPLOYMENT_OUTPUT: StaticSchema = (18, n0, _DDO, {_sSI: _sU, _smit: None}) + +DELETE_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _DD, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/deployments/{deploymentId}", + "code": 202, + } + ) + }, + DELETE_DEPLOYMENT_INPUT, + DELETE_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_DOCUMENTATION_PART_INPUT: StaticSchema = ( + 18, + n0, + _DDPI, + {_sSI: _cDDPR, _smi: None}, + (_rAI, _dPI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_DOCUMENTATION_PART_OUTPUT: StaticSchema = ( + 18, + n0, + _DDPO, + {_sSI: _sU, _smit: None}, +) + +DELETE_DOCUMENTATION_PART: StaticOperationSchema = ( + 23, + n0, + _DDP, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", + "code": 202, + } + ) + }, + DELETE_DOCUMENTATION_PART_INPUT, + DELETE_DOCUMENTATION_PART_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_DOCUMENTATION_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _DDVI, + {_sSI: _cDDVR, _smi: None}, + (_rAI, _dV), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_DOCUMENTATION_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DDVO, + {_sSI: _sU, _smit: None}, +) + +DELETE_DOCUMENTATION_VERSION: StaticOperationSchema = ( + 23, + n0, + _DDV, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", + "code": 202, + } + ) + }, + DELETE_DOCUMENTATION_VERSION_INPUT, + DELETE_DOCUMENTATION_VERSION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_DOMAIN_NAME_INPUT: StaticSchema = ( + 18, + n0, + _DDNI, + {_sSI: _cDDNR, _smi: None}, + (_dN, _dNI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sQ: _dNI})), +) + +DELETE_DOMAIN_NAME_OUTPUT: StaticSchema = (18, n0, _DDNO, {_sSI: _sU, _smit: None}) + +DELETE_DOMAIN_NAME: StaticOperationSchema = ( + 23, + n0, + _DDN, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/domainnames/{domainName}", "code": 202} + ) + }, + DELETE_DOMAIN_NAME_INPUT, + DELETE_DOMAIN_NAME_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _DDNAAI, + {_sSI: _cDDNAAR, _smi: None}, + (_dNAAA,), + ((lambda: schemas.STRING, 9),), +) + +DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DDNAAO, + {_sSI: _sU, _smit: None}, +) + +DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _DDNAA, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/domainnameaccessassociations/{domainNameAccessAssociationArn}", + "code": 202, + } + ) + }, + DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT, + DELETE_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_GATEWAY_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _DGRI, + {_sSI: _cDGRR, _smi: None}, + (_rAI, _rTes), + ((lambda: schemas.STRING, 9), (lambda: schemas.GATEWAY_RESPONSE_TYPE, 9)), +) + +DELETE_GATEWAY_RESPONSE_OUTPUT: StaticSchema = (18, n0, _DGRO, {_sSI: _sU, _smit: None}) + +DELETE_GATEWAY_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _DGR, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", + "code": 202, + } + ) + }, + DELETE_GATEWAY_RESPONSE_INPUT, + DELETE_GATEWAY_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_INTEGRATION_INPUT: StaticSchema = ( + 18, + n0, + _DII, + {_sSI: _cDIR, _smi: None}, + (_rAI, _rI, _hM), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + ), +) + +DELETE_INTEGRATION_OUTPUT: StaticSchema = (18, n0, _DIO, {_sSI: _sU, _smit: None}) + +DELETE_INTEGRATION: StaticOperationSchema = ( + 23, + n0, + _DI, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", + "code": 204, + } + ) + }, + DELETE_INTEGRATION_INPUT, + DELETE_INTEGRATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_INTEGRATION_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _DIRI, + {_sSI: _cDIRR, _smi: None}, + (_rAI, _rI, _hM, _sC), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STATUS_CODE, 9), + ), +) + +DELETE_INTEGRATION_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _DIRO, + {_sSI: _sU, _smit: None}, +) + +DELETE_INTEGRATION_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _DIR, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", + "code": 204, + } + ) + }, + DELETE_INTEGRATION_RESPONSE_INPUT, + DELETE_INTEGRATION_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_METHOD_INPUT: StaticSchema = ( + 18, + n0, + _DMI, + {_sSI: _cDMR, _smi: None}, + (_rAI, _rI, _hM), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + ), +) + +DELETE_METHOD_OUTPUT: StaticSchema = (18, n0, _DMO, {_sSI: _sU, _smit: None}) + +DELETE_METHOD: StaticOperationSchema = ( + 23, + n0, + _DM, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "code": 204, + } + ) + }, + DELETE_METHOD_INPUT, + DELETE_METHOD_OUTPUT, + ( + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_METHOD_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _DMRI, + {_sSI: _cDMRR, _smi: None}, + (_rAI, _rI, _hM, _sC), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STATUS_CODE, 9), + ), +) + +DELETE_METHOD_RESPONSE_OUTPUT: StaticSchema = (18, n0, _DMRO, {_sSI: _sU, _smit: None}) + +DELETE_METHOD_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _DMR, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", + "code": 204, + } + ) + }, + DELETE_METHOD_RESPONSE_INPUT, + DELETE_METHOD_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _DMIe, + {_sSI: _cDMRo, _smi: None}, + (_rAI, _mN), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_MODEL_OUTPUT: StaticSchema = (18, n0, _DMOe, {_sSI: _sU, _smit: None}) + +DELETE_MODEL: StaticOperationSchema = ( + 23, + n0, + _DMe, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/models/{modelName}", + "code": 202, + } + ) + }, + DELETE_MODEL_INPUT, + DELETE_MODEL_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_REQUEST_VALIDATOR_INPUT: StaticSchema = ( + 18, + n0, + _DRVI, + {_sSI: _cDRVR, _smi: None}, + (_rAI, _rVI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_REQUEST_VALIDATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _DRVO, + {_sSI: _sU, _smit: None}, +) + +DELETE_REQUEST_VALIDATOR: StaticOperationSchema = ( + 23, + n0, + _DRV, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", + "code": 202, + } + ) + }, + DELETE_REQUEST_VALIDATOR_INPUT, + DELETE_REQUEST_VALIDATOR_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _DRI, + {_sSI: _cDRR, _smi: None}, + (_rAI, _rI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_RESOURCE_OUTPUT: StaticSchema = (18, n0, _DRO, {_sSI: _sU, _smit: None}) + +DELETE_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _DR, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/resources/{resourceId}", + "code": 202, + } + ) + }, + DELETE_RESOURCE_INPUT, + DELETE_RESOURCE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_REST_API_INPUT: StaticSchema = ( + 18, + n0, + _DRAI, + {_sSI: _cDRAR, _smi: None}, + (_rAI,), + ((lambda: schemas.STRING, 9),), +) + +DELETE_REST_API_OUTPUT: StaticSchema = (18, n0, _DRAO, {_sSI: _sU, _smit: None}) + +DELETE_REST_API: StaticOperationSchema = ( + 23, + n0, + _DRA, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/restapis/{restApiId}", "code": 202} + ) + }, + DELETE_REST_API_INPUT, + DELETE_REST_API_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_STAGE_INPUT: StaticSchema = ( + 18, + n0, + _DSI, + {_sSI: _cDSR, _smi: None}, + (_rAI, _sN), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_STAGE_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _sU, _smit: None}) + +DELETE_STAGE: StaticOperationSchema = ( + 23, + n0, + _DS, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/stages/{stageName}", + "code": 202, + } + ) + }, + DELETE_STAGE_INPUT, + DELETE_STAGE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_USAGE_PLAN_INPUT: StaticSchema = ( + 18, + n0, + _DUPI, + {_sSI: _cDUPR, _smi: None}, + (_uPI,), + ((lambda: schemas.STRING, 9),), +) + +DELETE_USAGE_PLAN_OUTPUT: StaticSchema = (18, n0, _DUPO, {_sSI: _sU, _smit: None}) + +DELETE_USAGE_PLAN: StaticOperationSchema = ( + 23, + n0, + _DUP, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/usageplans/{usagePlanId}", "code": 202} + ) + }, + DELETE_USAGE_PLAN_INPUT, + DELETE_USAGE_PLAN_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_USAGE_PLAN_KEY_INPUT: StaticSchema = ( + 18, + n0, + _DUPKI, + {_sSI: _cDUPKR, _smi: None}, + (_uPI, _kI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_USAGE_PLAN_KEY_OUTPUT: StaticSchema = (18, n0, _DUPKO, {_sSI: _sU, _smit: None}) + +DELETE_USAGE_PLAN_KEY: StaticOperationSchema = ( + 23, + n0, + _DUPK, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/usageplans/{usagePlanId}/keys/{keyId}", + "code": 202, + } + ) + }, + DELETE_USAGE_PLAN_KEY_INPUT, + DELETE_USAGE_PLAN_KEY_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DELETE_VPC_LINK_INPUT: StaticSchema = ( + 18, + n0, + _DVLI, + {_sSI: _cDVLR, _smi: None}, + (_vLI,), + ((lambda: schemas.STRING, 9),), +) + +DELETE_VPC_LINK_OUTPUT: StaticSchema = (18, n0, _DVLO, {_sSI: _sU, _smit: None}) + +DELETE_VPC_LINK: StaticOperationSchema = ( + 23, + n0, + _DVL, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/vpclinks/{vpcLinkId}", "code": 202} + ) + }, + DELETE_VPC_LINK_INPUT, + DELETE_VPC_LINK_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +FLUSH_STAGE_AUTHORIZERS_CACHE_INPUT: StaticSchema = ( + 18, + n0, + _FSACI, + {_sSI: _cFSACR, _smi: None}, + (_rAI, _sN), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +FLUSH_STAGE_AUTHORIZERS_CACHE_OUTPUT: StaticSchema = ( + 18, + n0, + _FSACO, + {_sSI: _sU, _smit: None}, +) + +FLUSH_STAGE_AUTHORIZERS_CACHE: StaticOperationSchema = ( + 23, + n0, + _FSAC, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/stages/{stageName}/cache/authorizers", + "code": 202, + } + ) + }, + FLUSH_STAGE_AUTHORIZERS_CACHE_INPUT, + FLUSH_STAGE_AUTHORIZERS_CACHE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +FLUSH_STAGE_CACHE_INPUT: StaticSchema = ( + 18, + n0, + _FSCI, + {_sSI: _cFSCR, _smi: None}, + (_rAI, _sN), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +FLUSH_STAGE_CACHE_OUTPUT: StaticSchema = (18, n0, _FSCO, {_sSI: _sU, _smit: None}) + +FLUSH_STAGE_CACHE: StaticOperationSchema = ( + 23, + n0, + _FSC, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/restapis/{restApiId}/stages/{stageName}/cache/data", + "code": 202, + } + ) + }, + FLUSH_STAGE_CACHE_INPUT, + FLUSH_STAGE_CACHE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GENERATE_CLIENT_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _GCCI, + {_sSI: _cGCCR, _smi: None}, + (_d, _t), + ((lambda: schemas.STRING, 0), (lambda: schemas.MAP_OF_STRING_TO_STRING, 0)), +) + +GENERATE_CLIENT_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GCCO, + {_sSI: _cCC, _smit: None}, + (_cCI, _d, _pEC, _cD, _eD, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +GENERATE_CLIENT_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _GCC, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/clientcertificates", "code": 201} + ) + }, + GENERATE_CLIENT_CERTIFICATE_INPUT, + GENERATE_CLIENT_CERTIFICATE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_ACCOUNT_INPUT: StaticSchema = (18, n0, _GAI, {_sSI: _cGAR, _smi: None}) + +GET_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _GAO, + {_sSI: _cAo, _smit: None}, + (_cRAl, _tS, _fe, _aKV), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.THROTTLE_SETTINGS, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _GA, + {_smith: MappingProxyType({"method": "GET", "uri": "/account", "code": 200})}, + GET_ACCOUNT_INPUT, + GET_ACCOUNT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_API_KEY_INPUT: StaticSchema = ( + 18, + n0, + _GAKI, + {_sSI: _cGAKR, _smi: None}, + (_aK, _iV), + ((lambda: schemas.STRING, 9), (lambda: schemas.NULLABLE_BOOLEAN, {_sQ: _iV})), +) + +GET_API_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _GAKO, + {_sSI: _cAK, _smit: None}, + (_i, _v, _n, _cI, _d, _e, _cD, _lUD, _sK, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +GET_API_KEY: StaticOperationSchema = ( + 23, + n0, + _GAK, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/apikeys/{apiKey}", "code": 200} + ) + }, + GET_API_KEY_INPUT, + GET_API_KEY_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_API_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _GAKIe, + {_sSI: _cGAKRo, _smi: None}, + (_pos, _li, _nQ, _cI, _iVn), + ( + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + (lambda: schemas.STRING, {_sQ: _n}), + (lambda: schemas.STRING, {_sQ: _cI}), + (lambda: schemas.NULLABLE_BOOLEAN, {_sQ: _iVn}), + ), +) + +GET_API_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _GAKOe, + {_sSI: _cAKo, _smit: None}, + (_w, _it, _pos), + ( + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: LIST_OF_API_KEY, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_API_KEYS: StaticOperationSchema = ( + 23, + n0, + _GAKe, + {_smith: MappingProxyType({"method": "GET", "uri": "/apikeys", "code": 200})}, + GET_API_KEYS_INPUT, + GET_API_KEYS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +LIST_OF_API_KEY: StaticSchema = ( + 16, + n0, + _LOAK, + 0, + (_m,), + ((lambda: schemas.API_KEY, 0),), +) + +GET_AUTHORIZER_INPUT: StaticSchema = ( + 18, + n0, + _GAIe, + {_sSI: _cGARo, _smi: None}, + (_rAI, _aIu), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +GET_AUTHORIZER_OUTPUT: StaticSchema = ( + 18, + n0, + _GAOe, + {_sSI: _cA, _smit: None}, + (_i, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.AUTHORIZER_TYPE, 0), + (lambda: schemas.LIST_OF_AR_NS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + ), +) + +GET_AUTHORIZER: StaticOperationSchema = ( + 23, + n0, + _GAe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", + "code": 200, + } + ) + }, + GET_AUTHORIZER_INPUT, + GET_AUTHORIZER_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_AUTHORIZERS_INPUT: StaticSchema = ( + 18, + n0, + _GAIet, + {_sSI: _cGARom, _smi: None}, + (_rAI, _pos, _li), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_AUTHORIZERS_OUTPUT: StaticSchema = ( + 18, + n0, + _GAOet, + {_sSI: _cAom, _smit: None}, + (_it, _pos), + ((lambda: LIST_OF_AUTHORIZER, {_sNm: _ite}), (lambda: schemas.STRING, {_sQ: _pos})), +) + +GET_AUTHORIZERS: StaticOperationSchema = ( + 23, + n0, + _GAet, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/restapis/{restApiId}/authorizers", "code": 200} + ) + }, + GET_AUTHORIZERS_INPUT, + GET_AUTHORIZERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +LIST_OF_AUTHORIZER: StaticSchema = ( + 16, + n0, + _LOA, + 0, + (_m,), + ((lambda: schemas.AUTHORIZER, 0),), +) + +GET_BASE_PATH_MAPPING_INPUT: StaticSchema = ( + 18, + n0, + _GBPMI, + {_sSI: _cGBPMR, _smi: None}, + (_dN, _dNI, _bP), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _dNI}), + (lambda: schemas.STRING, 9), + ), +) + +GET_BASE_PATH_MAPPING_OUTPUT: StaticSchema = ( + 18, + n0, + _GBPMO, + {_sSI: _cBPM, _smit: None}, + (_bP, _rAI, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_BASE_PATH_MAPPING: StaticOperationSchema = ( + 23, + n0, + _GBPM, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", + "code": 200, + } + ) + }, + GET_BASE_PATH_MAPPING_INPUT, + GET_BASE_PATH_MAPPING_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_2.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_2.py new file mode 100644 index 000000000..2be8fdc05 --- /dev/null +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_2.py @@ -0,0 +1,1872 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.apigateway" +_sV = "smithy.api#enumValue" +_m = "member" +_s = "smithy.api#default" +_v = "value" +_i = "id" +_n = "name" +_d = "description" +_cD = "createdDate" +_t = "tags" +_st = "stage" +_ty = "type" +_rAI = "restApiId" +_sN = "stageName" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_smit = "smithy.api#output" +_sH = "smithy.api#httpHeader" +_smith = "smithy.api#http" +_smithy = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_dN = "domainName" +_dNI = "domainNameId" +_sQ = "smithy.api#httpQuery" +_bP = "basePath" +_aTu = "authorizationType" +_aKR = "apiKeyRequired" +_cDo = "com.amazonaws.apigateway#Deployment" +_aS = "apiSummary" +_p = "path" +_sC = "statusCode" +_l = "location" +_pr = "properties" +_cDP = "com.amazonaws.apigateway#DocumentationPart" +_dV = "documentationVersion" +_cDV = "com.amazonaws.apigateway#DocumentationVersion" +_ve = "version" +_cN = "certificateName" +_cAe = "certificateArn" +_rCN = "regionalCertificateName" +_rCA = "regionalCertificateArn" +_eC = "endpointConfiguration" +_sP = "securityPolicy" +_eAM = "endpointAccessMode" +_mTA = "mutualTlsAuthentication" +_oVCA = "ownershipVerificationCertificateArn" +_po = "policy" +_rM = "routingMode" +_cDN = "com.amazonaws.apigateway#DomainName" +_dNA = "domainNameArn" +_cUD = "certificateUploadDate" +_rDN = "regionalDomainName" +_rHZI = "regionalHostedZoneId" +_dDN = "distributionDomainName" +_dHZI = "distributionHostedZoneId" +_dNS = "domainNameStatus" +_dNSM = "domainNameStatusMessage" +_mP = "managementPolicy" +_aAST = "accessAssociationSourceType" +_aAS = "accessAssociationSource" +_dNAAA = "domainNameAccessAssociationArn" +_sc = "schema" +_cT = "contentType" +_cM = "com.amazonaws.apigateway#Model" +_vRB = "validateRequestBody" +_vRP = "validateRequestParameters" +_cRV = "com.amazonaws.apigateway#RequestValidator" +_pI = "parentId" +_pP = "pathPart" +_sPe = "selectionPattern" +_rP = "responseParameters" +_rT = "responseTemplates" +_cH = "contentHandling" +_hM = "httpMethod" +_u = "uri" +_cTo = "connectionType" +_cIo = "connectionId" +_cr = "credentials" +_rPe = "requestParameters" +_rTe = "requestTemplates" +_pB = "passthroughBehavior" +_tIM = "timeoutInMillis" +_cNa = "cacheNamespace" +_cKP = "cacheKeyParameters" +_iR = "integrationResponses" +_tC = "tlsConfig" +_rTM = "responseTransferMode" +_iT = "integrationTarget" +_rMe = "responseModels" +_aIu = "authorizerId" +_rVI = "requestValidatorId" +_oN = "operationName" +_rMeq = "requestModels" +_mR = "methodResponses" +_mI = "methodIntegration" +_aSu = "authorizationScopes" +_cR = "com.amazonaws.apigateway#Resource" +_rMes = "resourceMethods" +_dI = "deploymentId" +_cCI = "clientCertificateId" +_li = "limit" +_dPI = "documentationPartId" +_rTes = "responseType" +_rI = "resourceId" +_mN = "modelName" +_cCC = "com.amazonaws.apigateway#ClientCertificate" +_pEC = "pemEncodedCertificate" +_eD = "expirationDate" +_pos = "position" +_nQ = "nameQuery" +_it = "items" +_sNm = "smithy.api#jsonName" +_ite = "item" +_GBPMIe = "GetBasePathMappingsInput" +_cGBPMRo = "com.amazonaws.apigateway#GetBasePathMappingsRequest" +_BPM = "BasePathMapping" +_LOBPM = "ListOfBasePathMapping" +_GBPMOe = "GetBasePathMappingsOutput" +_cBPMo = "com.amazonaws.apigateway#BasePathMappings" +_GBPMe = "GetBasePathMappings" +_GCCIe = "GetClientCertificateInput" +_cGCCRo = "com.amazonaws.apigateway#GetClientCertificateRequest" +_GCCOe = "GetClientCertificateOutput" +_GCCe = "GetClientCertificate" +_GCCIet = "GetClientCertificatesInput" +_cGCCRom = "com.amazonaws.apigateway#GetClientCertificatesRequest" +_CC = "ClientCertificate" +_LOCC = "ListOfClientCertificate" +_GCCOet = "GetClientCertificatesOutput" +_cCCo = "com.amazonaws.apigateway#ClientCertificates" +_GCCet = "GetClientCertificates" +_GDI = "GetDeploymentInput" +_cGDR = "com.amazonaws.apigateway#GetDeploymentRequest" +_em = "embed" +_GDO = "GetDeploymentOutput" +_GD = "GetDeployment" +_GDIe = "GetDeploymentsInput" +_cGDRo = "com.amazonaws.apigateway#GetDeploymentsRequest" +_De = "Deployment" +_LOD = "ListOfDeployment" +_GDOe = "GetDeploymentsOutput" +_cDom = "com.amazonaws.apigateway#Deployments" +_GDe = "GetDeployments" +_GDPI = "GetDocumentationPartInput" +_cGDPR = "com.amazonaws.apigateway#GetDocumentationPartRequest" +_GDPO = "GetDocumentationPartOutput" +_GDP = "GetDocumentationPart" +_LST = "LocationStatusType" +_DOCUMENTED = "DOCUMENTED" +_UNDOCUMENTED = "UNDOCUMENTED" +_GDPIe = "GetDocumentationPartsInput" +_cGDPRo = "com.amazonaws.apigateway#GetDocumentationPartsRequest" +_lS = "locationStatus" +_DP = "DocumentationPart" +_LODP = "ListOfDocumentationPart" +_GDPOe = "GetDocumentationPartsOutput" +_cDPo = "com.amazonaws.apigateway#DocumentationParts" +_GDPe = "GetDocumentationParts" +_GDVI = "GetDocumentationVersionInput" +_cGDVR = "com.amazonaws.apigateway#GetDocumentationVersionRequest" +_GDVO = "GetDocumentationVersionOutput" +_GDV = "GetDocumentationVersion" +_GDVIe = "GetDocumentationVersionsInput" +_cGDVRo = "com.amazonaws.apigateway#GetDocumentationVersionsRequest" +_DV = "DocumentationVersion" +_LODV = "ListOfDocumentationVersion" +_GDVOe = "GetDocumentationVersionsOutput" +_cDVo = "com.amazonaws.apigateway#DocumentationVersions" +_GDVe = "GetDocumentationVersions" +_GDNI = "GetDomainNameInput" +_cGDNR = "com.amazonaws.apigateway#GetDomainNameRequest" +_GDNO = "GetDomainNameOutput" +_GDN = "GetDomainName" +_RO = "ResourceOwner" +_SELF = "SELF" +_OA = "OTHER_ACCOUNTS" +_GDNAAI = "GetDomainNameAccessAssociationsInput" +_cGDNAAR = "com.amazonaws.apigateway#GetDomainNameAccessAssociationsRequest" +_rO = "resourceOwner" +_DNAA = "DomainNameAccessAssociation" +_LODNAA = "ListOfDomainNameAccessAssociation" +_GDNAAO = "GetDomainNameAccessAssociationsOutput" +_cDNAAo = "com.amazonaws.apigateway#DomainNameAccessAssociations" +_GDNAA = "GetDomainNameAccessAssociations" +_GDNIe = "GetDomainNamesInput" +_cGDNRo = "com.amazonaws.apigateway#GetDomainNamesRequest" +_DN = "DomainName" +_LODN = "ListOfDomainName" +_GDNOe = "GetDomainNamesOutput" +_cDNo = "com.amazonaws.apigateway#DomainNames" +_GDNe = "GetDomainNames" +_GEI = "GetExportInput" +_cGER = "com.amazonaws.apigateway#GetExportRequest" +_eT = "exportType" +_pa = "parameters" +_sQP = "smithy.api#httpQueryParams" +_a = "accepts" +_Ac = "Accept" +_GEO = "GetExportOutput" +_cER = "com.amazonaws.apigateway#ExportResponse" +_CT_ = "Content-Type" +_cDon = "contentDisposition" +_CD_ = "Content-Disposition" +_b = "body" +_sPm = "smithy.api#httpPayload" +_GE = "GetExport" +_GGRI = "GetGatewayResponseInput" +_cGGRR = "com.amazonaws.apigateway#GetGatewayResponseRequest" +_GGRO = "GetGatewayResponseOutput" +_cGR = "com.amazonaws.apigateway#GatewayResponse" +_dR = "defaultResponse" +_GGR = "GetGatewayResponse" +_GGRIe = "GetGatewayResponsesInput" +_cGGRRo = "com.amazonaws.apigateway#GetGatewayResponsesRequest" +_GR = "GatewayResponse" +_LOGR = "ListOfGatewayResponse" +_GGROe = "GetGatewayResponsesOutput" +_cGRo = "com.amazonaws.apigateway#GatewayResponses" +_GGRe = "GetGatewayResponses" +_GII = "GetIntegrationInput" +_cGIR = "com.amazonaws.apigateway#GetIntegrationRequest" +_GIO = "GetIntegrationOutput" +_cIom = "com.amazonaws.apigateway#Integration" +_GI = "GetIntegration" +_GIRI = "GetIntegrationResponseInput" +_cGIRR = "com.amazonaws.apigateway#GetIntegrationResponseRequest" +_GIRO = "GetIntegrationResponseOutput" +_cIR = "com.amazonaws.apigateway#IntegrationResponse" +_GIR = "GetIntegrationResponse" +_GMI = "GetMethodInput" +_cGMR = "com.amazonaws.apigateway#GetMethodRequest" +_GMO = "GetMethodOutput" +_cMo = "com.amazonaws.apigateway#Method" +_GM = "GetMethod" +_GMRI = "GetMethodResponseInput" +_cGMRR = "com.amazonaws.apigateway#GetMethodResponseRequest" +_GMRO = "GetMethodResponseOutput" +_cMR = "com.amazonaws.apigateway#MethodResponse" +_GMR = "GetMethodResponse" +_GMIe = "GetModelInput" +_cGMRo = "com.amazonaws.apigateway#GetModelRequest" +_fl = "flatten" +_GMOe = "GetModelOutput" +_GMe = "GetModel" +_GMIet = "GetModelsInput" +_cGMRom = "com.amazonaws.apigateway#GetModelsRequest" +_Mo = "Model" +_LOM = "ListOfModel" +_GMOet = "GetModelsOutput" +_cMom = "com.amazonaws.apigateway#Models" +_GMet = "GetModels" +_GMTI = "GetModelTemplateInput" +_cGMTR = "com.amazonaws.apigateway#GetModelTemplateRequest" +_GMTO = "GetModelTemplateOutput" +_cTom = "com.amazonaws.apigateway#Template" +_GMT = "GetModelTemplate" +_GRVI = "GetRequestValidatorInput" +_cGRVR = "com.amazonaws.apigateway#GetRequestValidatorRequest" +_GRVO = "GetRequestValidatorOutput" +_GRV = "GetRequestValidator" +_GRVIe = "GetRequestValidatorsInput" +_cGRVRo = "com.amazonaws.apigateway#GetRequestValidatorsRequest" +_RV = "RequestValidator" +_LORV = "ListOfRequestValidator" +_GRVOe = "GetRequestValidatorsOutput" +_cRVo = "com.amazonaws.apigateway#RequestValidators" +_GRVe = "GetRequestValidators" +_GRI = "GetResourceInput" +_cGRR = "com.amazonaws.apigateway#GetResourceRequest" +_GRO = "GetResourceOutput" +_GRe = "GetResource" +_GRIe = "GetResourcesInput" +_cGRRo = "com.amazonaws.apigateway#GetResourcesRequest" +_R = "Resource" +_GROe = "GetResourcesOutput" +_cRo = "com.amazonaws.apigateway#Resources" +_GRet = "GetResources" + +GET_BASE_PATH_MAPPINGS_INPUT: StaticSchema = ( + 18, + n0, + _GBPMIe, + {_sSI: _cGBPMRo, _smi: None}, + (_dN, _dNI, _pos, _li), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _dNI}), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_BASE_PATH_MAPPINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _GBPMOe, + {_sSI: _cBPMo, _smit: None}, + (_it, _pos), + ( + (lambda: LIST_OF_BASE_PATH_MAPPING, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_BASE_PATH_MAPPINGS: StaticOperationSchema = ( + 23, + n0, + _GBPMe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/domainnames/{domainName}/basepathmappings", + "code": 200, + } + ) + }, + GET_BASE_PATH_MAPPINGS_INPUT, + GET_BASE_PATH_MAPPINGS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +BASE_PATH_MAPPING: StaticSchema = ( + 18, + n0, + _BPM, + 0, + (_bP, _rAI, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_OF_BASE_PATH_MAPPING: StaticSchema = ( + 16, + n0, + _LOBPM, + 0, + (_m,), + ((BASE_PATH_MAPPING, 0),), +) + +GET_CLIENT_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _GCCIe, + {_sSI: _cGCCRo, _smi: None}, + (_cCI,), + ((lambda: schemas.STRING, 9),), +) + +GET_CLIENT_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GCCOe, + {_sSI: _cCC, _smit: None}, + (_cCI, _d, _pEC, _cD, _eD, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +GET_CLIENT_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _GCCe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/clientcertificates/{clientCertificateId}", + "code": 200, + } + ) + }, + GET_CLIENT_CERTIFICATE_INPUT, + GET_CLIENT_CERTIFICATE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_CLIENT_CERTIFICATES_INPUT: StaticSchema = ( + 18, + n0, + _GCCIet, + {_sSI: _cGCCRom, _smi: None}, + (_pos, _li), + ( + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_CLIENT_CERTIFICATES_OUTPUT: StaticSchema = ( + 18, + n0, + _GCCOet, + {_sSI: _cCCo, _smit: None}, + (_it, _pos), + ( + (lambda: LIST_OF_CLIENT_CERTIFICATE, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_CLIENT_CERTIFICATES: StaticOperationSchema = ( + 23, + n0, + _GCCet, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/clientcertificates", "code": 200} + ) + }, + GET_CLIENT_CERTIFICATES_INPUT, + GET_CLIENT_CERTIFICATES_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +CLIENT_CERTIFICATE: StaticSchema = ( + 18, + n0, + _CC, + 0, + (_cCI, _d, _pEC, _cD, _eD, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +LIST_OF_CLIENT_CERTIFICATE: StaticSchema = ( + 16, + n0, + _LOCC, + 0, + (_m,), + ((CLIENT_CERTIFICATE, 0),), +) + +GET_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _GDI, + {_sSI: _cGDR, _smi: None}, + (_rAI, _dI, _em), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.LIST_OF_STRING, {_sQ: _em}), + ), +) + +GET_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GDO, + {_sSI: _cDo, _smit: None}, + (_i, _d, _cD, _aS), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.PATH_TO_MAP_OF_METHOD_SNAPSHOT, 0), + ), +) + +GET_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _GD, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/deployments/{deploymentId}", + "code": 200, + } + ) + }, + GET_DEPLOYMENT_INPUT, + GET_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_DEPLOYMENTS_INPUT: StaticSchema = ( + 18, + n0, + _GDIe, + {_sSI: _cGDRo, _smi: None}, + (_rAI, _pos, _li), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_DEPLOYMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _GDOe, + {_sSI: _cDom, _smit: None}, + (_it, _pos), + ((lambda: LIST_OF_DEPLOYMENT, {_sNm: _ite}), (lambda: schemas.STRING, {_sQ: _pos})), +) + +GET_DEPLOYMENTS: StaticOperationSchema = ( + 23, + n0, + _GDe, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/restapis/{restApiId}/deployments", "code": 200} + ) + }, + GET_DEPLOYMENTS_INPUT, + GET_DEPLOYMENTS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DEPLOYMENT: StaticSchema = ( + 18, + n0, + _De, + 0, + (_i, _d, _cD, _aS), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.PATH_TO_MAP_OF_METHOD_SNAPSHOT, 0), + ), +) + +LIST_OF_DEPLOYMENT: StaticSchema = (16, n0, _LOD, 0, (_m,), ((DEPLOYMENT, 0),)) + +GET_DOCUMENTATION_PART_INPUT: StaticSchema = ( + 18, + n0, + _GDPI, + {_sSI: _cGDPR, _smi: None}, + (_rAI, _dPI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +GET_DOCUMENTATION_PART_OUTPUT: StaticSchema = ( + 18, + n0, + _GDPO, + {_sSI: _cDP, _smit: None}, + (_i, _l, _pr), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DOCUMENTATION_PART_LOCATION, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_DOCUMENTATION_PART: StaticOperationSchema = ( + 23, + n0, + _GDP, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", + "code": 200, + } + ) + }, + GET_DOCUMENTATION_PART_INPUT, + GET_DOCUMENTATION_PART_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +LOCATION_STATUS_TYPE: StaticSchema = ( + 14, + n0, + _LST, + 0, + (_DOCUMENTED, _UNDOCUMENTED), + ((-1, {_sV: _DOCUMENTED}), (-1, {_sV: _UNDOCUMENTED})), +) + +GET_DOCUMENTATION_PARTS_INPUT: StaticSchema = ( + 18, + n0, + _GDPIe, + {_sSI: _cGDPRo, _smi: None}, + (_rAI, _ty, _nQ, _p, _pos, _li, _lS), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.DOCUMENTATION_PART_TYPE, {_sQ: _ty}), + (lambda: schemas.STRING, {_sQ: _n}), + (lambda: schemas.STRING, {_sQ: _p}), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + (LOCATION_STATUS_TYPE, {_sQ: _lS}), + ), +) + +GET_DOCUMENTATION_PARTS_OUTPUT: StaticSchema = ( + 18, + n0, + _GDPOe, + {_sSI: _cDPo, _smit: None}, + (_it, _pos), + ( + (lambda: LIST_OF_DOCUMENTATION_PART, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_DOCUMENTATION_PARTS: StaticOperationSchema = ( + 23, + n0, + _GDPe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/documentation/parts", + "code": 200, + } + ) + }, + GET_DOCUMENTATION_PARTS_INPUT, + GET_DOCUMENTATION_PARTS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DOCUMENTATION_PART: StaticSchema = ( + 18, + n0, + _DP, + 0, + (_i, _l, _pr), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DOCUMENTATION_PART_LOCATION, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_OF_DOCUMENTATION_PART: StaticSchema = ( + 16, + n0, + _LODP, + 0, + (_m,), + ((DOCUMENTATION_PART, 0),), +) + +GET_DOCUMENTATION_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _GDVI, + {_sSI: _cGDVR, _smi: None}, + (_rAI, _dV), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +GET_DOCUMENTATION_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GDVO, + {_sSI: _cDV, _smit: None}, + (_ve, _cD, _d), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_DOCUMENTATION_VERSION: StaticOperationSchema = ( + 23, + n0, + _GDV, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", + "code": 200, + } + ) + }, + GET_DOCUMENTATION_VERSION_INPUT, + GET_DOCUMENTATION_VERSION_OUTPUT, + ( + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_DOCUMENTATION_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _GDVIe, + {_sSI: _cGDVRo, _smi: None}, + (_rAI, _pos, _li), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_DOCUMENTATION_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GDVOe, + {_sSI: _cDVo, _smit: None}, + (_it, _pos), + ( + (lambda: LIST_OF_DOCUMENTATION_VERSION, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_DOCUMENTATION_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _GDVe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/documentation/versions", + "code": 200, + } + ) + }, + GET_DOCUMENTATION_VERSIONS_INPUT, + GET_DOCUMENTATION_VERSIONS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DOCUMENTATION_VERSION: StaticSchema = ( + 18, + n0, + _DV, + 0, + (_ve, _cD, _d), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_OF_DOCUMENTATION_VERSION: StaticSchema = ( + 16, + n0, + _LODV, + 0, + (_m,), + ((DOCUMENTATION_VERSION, 0),), +) + +GET_DOMAIN_NAME_INPUT: StaticSchema = ( + 18, + n0, + _GDNI, + {_sSI: _cGDNR, _smi: None}, + (_dN, _dNI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sQ: _dNI})), +) + +GET_DOMAIN_NAME_OUTPUT: StaticSchema = ( + 18, + n0, + _GDNO, + {_sSI: _cDN, _smit: None}, + ( + _dN, + _dNI, + _dNA, + _cN, + _cAe, + _cUD, + _rDN, + _rHZI, + _rCN, + _rCA, + _dDN, + _dHZI, + _eC, + _dNS, + _dNSM, + _sP, + _eAM, + _t, + _mTA, + _oVCA, + _mP, + _po, + _rM, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ENDPOINT_CONFIGURATION, 0), + (lambda: schemas.DOMAIN_NAME_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SECURITY_POLICY, 0), + (lambda: schemas.ENDPOINT_ACCESS_MODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MUTUAL_TLS_AUTHENTICATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ROUTING_MODE, 0), + ), +) + +GET_DOMAIN_NAME: StaticOperationSchema = ( + 23, + n0, + _GDN, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/domainnames/{domainName}", "code": 200} + ) + }, + GET_DOMAIN_NAME_INPUT, + GET_DOMAIN_NAME_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +RESOURCE_OWNER: StaticSchema = ( + 14, + n0, + _RO, + 0, + (_SELF, _OA), + ((-1, {_sV: _SELF}), (-1, {_sV: _OA})), +) + +GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GDNAAI, + {_sSI: _cGDNAAR, _smi: None}, + (_pos, _li, _rO), + ( + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + (RESOURCE_OWNER, {_sQ: _rO}), + ), +) + +GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GDNAAO, + {_sSI: _cDNAAo, _smit: None}, + (_it, _pos), + ( + (lambda: LIST_OF_DOMAIN_NAME_ACCESS_ASSOCIATION, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _GDNAA, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/domainnameaccessassociations", "code": 200} + ) + }, + GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_INPUT, + GET_DOMAIN_NAME_ACCESS_ASSOCIATIONS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DOMAIN_NAME_ACCESS_ASSOCIATION: StaticSchema = ( + 18, + n0, + _DNAA, + 0, + (_dNAAA, _dNA, _aAST, _aAS, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACCESS_ASSOCIATION_SOURCE_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +LIST_OF_DOMAIN_NAME_ACCESS_ASSOCIATION: StaticSchema = ( + 16, + n0, + _LODNAA, + 0, + (_m,), + ((DOMAIN_NAME_ACCESS_ASSOCIATION, 0),), +) + +GET_DOMAIN_NAMES_INPUT: StaticSchema = ( + 18, + n0, + _GDNIe, + {_sSI: _cGDNRo, _smi: None}, + (_pos, _li, _rO), + ( + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + (RESOURCE_OWNER, {_sQ: _rO}), + ), +) + +GET_DOMAIN_NAMES_OUTPUT: StaticSchema = ( + 18, + n0, + _GDNOe, + {_sSI: _cDNo, _smit: None}, + (_it, _pos), + ( + (lambda: LIST_OF_DOMAIN_NAME, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_DOMAIN_NAMES: StaticOperationSchema = ( + 23, + n0, + _GDNe, + {_smith: MappingProxyType({"method": "GET", "uri": "/domainnames", "code": 200})}, + GET_DOMAIN_NAMES_INPUT, + GET_DOMAIN_NAMES_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +DOMAIN_NAME: StaticSchema = ( + 18, + n0, + _DN, + 0, + ( + _dN, + _dNI, + _dNA, + _cN, + _cAe, + _cUD, + _rDN, + _rHZI, + _rCN, + _rCA, + _dDN, + _dHZI, + _eC, + _dNS, + _dNSM, + _sP, + _eAM, + _t, + _mTA, + _oVCA, + _mP, + _po, + _rM, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ENDPOINT_CONFIGURATION, 0), + (lambda: schemas.DOMAIN_NAME_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SECURITY_POLICY, 0), + (lambda: schemas.ENDPOINT_ACCESS_MODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MUTUAL_TLS_AUTHENTICATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ROUTING_MODE, 0), + ), +) + +LIST_OF_DOMAIN_NAME: StaticSchema = (16, n0, _LODN, 0, (_m,), ((DOMAIN_NAME, 0),)) + +GET_EXPORT_INPUT: StaticSchema = ( + 18, + n0, + _GEI, + {_sSI: _cGER, _smi: None}, + (_rAI, _sN, _eT, _pa, _a), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 1024), + (lambda: schemas.STRING, {_sH: _Ac}), + ), +) + +GET_EXPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _GEO, + {_sSI: _cER, _smit: None}, + (_cT, _cDon, _b), + ( + (lambda: schemas.STRING, {_sH: _CT_}), + (lambda: schemas.STRING, {_sH: _CD_}), + (lambda: schemas.BLOB, 16), + ), +) + +GET_EXPORT: StaticOperationSchema = ( + 23, + n0, + _GE, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/stages/{stageName}/exports/{exportType}", + "code": 200, + } + ) + }, + GET_EXPORT_INPUT, + GET_EXPORT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_GATEWAY_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _GGRI, + {_sSI: _cGGRR, _smi: None}, + (_rAI, _rTes), + ((lambda: schemas.STRING, 9), (lambda: schemas.GATEWAY_RESPONSE_TYPE, 9)), +) + +GET_GATEWAY_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _GGRO, + {_sSI: _cGR, _smit: None}, + (_rTes, _sC, _rP, _rT, _dR), + ( + (lambda: schemas.GATEWAY_RESPONSE_TYPE, 0), + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + ), +) + +GET_GATEWAY_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _GGR, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", + "code": 200, + } + ) + }, + GET_GATEWAY_RESPONSE_INPUT, + GET_GATEWAY_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_GATEWAY_RESPONSES_INPUT: StaticSchema = ( + 18, + n0, + _GGRIe, + {_sSI: _cGGRRo, _smi: None}, + (_rAI, _pos, _li), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_GATEWAY_RESPONSES_OUTPUT: StaticSchema = ( + 18, + n0, + _GGROe, + {_sSI: _cGRo, _smit: None}, + (_it, _pos), + ( + (lambda: LIST_OF_GATEWAY_RESPONSE, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_GATEWAY_RESPONSES: StaticOperationSchema = ( + 23, + n0, + _GGRe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/gatewayresponses", + "code": 200, + } + ) + }, + GET_GATEWAY_RESPONSES_INPUT, + GET_GATEWAY_RESPONSES_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GATEWAY_RESPONSE: StaticSchema = ( + 18, + n0, + _GR, + 0, + (_rTes, _sC, _rP, _rT, _dR), + ( + (lambda: schemas.GATEWAY_RESPONSE_TYPE, 0), + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + ), +) + +LIST_OF_GATEWAY_RESPONSE: StaticSchema = ( + 16, + n0, + _LOGR, + 0, + (_m,), + ((GATEWAY_RESPONSE, 0),), +) + +GET_INTEGRATION_INPUT: StaticSchema = ( + 18, + n0, + _GII, + {_sSI: _cGIR, _smi: None}, + (_rAI, _rI, _hM), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + ), +) + +GET_INTEGRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GIO, + {_sSI: _cIom, _smit: None}, + ( + _ty, + _hM, + _u, + _cTo, + _cIo, + _cr, + _rPe, + _rTe, + _pB, + _cH, + _tIM, + _cNa, + _cKP, + _iR, + _tC, + _rTM, + _iT, + ), + ( + (lambda: schemas.INTEGRATION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONNECTION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONTENT_HANDLING_STRATEGY, 0), + (lambda: schemas.INTEGER, {_s: 0}), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.MAP_OF_INTEGRATION_RESPONSE, 0), + (lambda: schemas.TLS_CONFIG, 0), + (lambda: schemas.RESPONSE_TRANSFER_MODE, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_INTEGRATION: StaticOperationSchema = ( + 23, + n0, + _GI, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", + "code": 200, + } + ) + }, + GET_INTEGRATION_INPUT, + GET_INTEGRATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_INTEGRATION_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _GIRI, + {_sSI: _cGIRR, _smi: None}, + (_rAI, _rI, _hM, _sC), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STATUS_CODE, 9), + ), +) + +GET_INTEGRATION_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _GIRO, + {_sSI: _cIR, _smit: None}, + (_sC, _sPe, _rP, _rT, _cH), + ( + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.CONTENT_HANDLING_STRATEGY, 0), + ), +) + +GET_INTEGRATION_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _GIR, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", + "code": 200, + } + ) + }, + GET_INTEGRATION_RESPONSE_INPUT, + GET_INTEGRATION_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_METHOD_INPUT: StaticSchema = ( + 18, + n0, + _GMI, + {_sSI: _cGMR, _smi: None}, + (_rAI, _rI, _hM), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + ), +) + +GET_METHOD_OUTPUT: StaticSchema = ( + 18, + n0, + _GMO, + {_sSI: _cMo, _smit: None}, + (_hM, _aTu, _aIu, _aKR, _rVI, _oN, _rPe, _rMeq, _mR, _mI, _aSu), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.NULLABLE_BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_BOOLEAN, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_METHOD_RESPONSE, 0), + (lambda: schemas.INTEGRATION, 0), + (lambda: schemas.LIST_OF_STRING, 0), + ), +) + +GET_METHOD: StaticOperationSchema = ( + 23, + n0, + _GM, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "code": 200, + } + ) + }, + GET_METHOD_INPUT, + GET_METHOD_OUTPUT, + ( + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_METHOD_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _GMRI, + {_sSI: _cGMRR, _smi: None}, + (_rAI, _rI, _hM, _sC), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STATUS_CODE, 9), + ), +) + +GET_METHOD_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _GMRO, + {_sSI: _cMR, _smit: None}, + (_sC, _rP, _rMe), + ( + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_BOOLEAN, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +GET_METHOD_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _GMR, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", + "code": 200, + } + ) + }, + GET_METHOD_RESPONSE_INPUT, + GET_METHOD_RESPONSE_OUTPUT, + ( + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _GMIe, + {_sSI: _cGMRo, _smi: None}, + (_rAI, _mN, _fl), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.BOOLEAN, {_s: False, _sQ: _fl}), + ), +) + +GET_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _GMOe, + {_sSI: _cM, _smit: None}, + (_i, _n, _d, _sc, _cT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_MODEL: StaticOperationSchema = ( + 23, + n0, + _GMe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/models/{modelName}", + "code": 200, + } + ) + }, + GET_MODEL_INPUT, + GET_MODEL_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_MODELS_INPUT: StaticSchema = ( + 18, + n0, + _GMIet, + {_sSI: _cGMRom, _smi: None}, + (_rAI, _pos, _li), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_MODELS_OUTPUT: StaticSchema = ( + 18, + n0, + _GMOet, + {_sSI: _cMom, _smit: None}, + (_it, _pos), + ((lambda: LIST_OF_MODEL, {_sNm: _ite}), (lambda: schemas.STRING, {_sQ: _pos})), +) + +GET_MODELS: StaticOperationSchema = ( + 23, + n0, + _GMet, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/restapis/{restApiId}/models", "code": 200} + ) + }, + GET_MODELS_INPUT, + GET_MODELS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +MODEL: StaticSchema = ( + 18, + n0, + _Mo, + 0, + (_i, _n, _d, _sc, _cT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_OF_MODEL: StaticSchema = (16, n0, _LOM, 0, (_m,), ((MODEL, 0),)) + +GET_MODEL_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _GMTI, + {_sSI: _cGMTR, _smi: None}, + (_rAI, _mN), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +GET_MODEL_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GMTO, + {_sSI: _cTom, _smit: None}, + (_v,), + ((lambda: schemas.STRING, 0),), +) + +GET_MODEL_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _GMT, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/models/{modelName}/default_template", + "code": 200, + } + ) + }, + GET_MODEL_TEMPLATE_INPUT, + GET_MODEL_TEMPLATE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_REQUEST_VALIDATOR_INPUT: StaticSchema = ( + 18, + n0, + _GRVI, + {_sSI: _cGRVR, _smi: None}, + (_rAI, _rVI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +GET_REQUEST_VALIDATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _GRVO, + {_sSI: _cRV, _smit: None}, + (_i, _n, _vRB, _vRP), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.BOOLEAN, {_s: False}), + ), +) + +GET_REQUEST_VALIDATOR: StaticOperationSchema = ( + 23, + n0, + _GRV, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", + "code": 200, + } + ) + }, + GET_REQUEST_VALIDATOR_INPUT, + GET_REQUEST_VALIDATOR_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_REQUEST_VALIDATORS_INPUT: StaticSchema = ( + 18, + n0, + _GRVIe, + {_sSI: _cGRVRo, _smi: None}, + (_rAI, _pos, _li), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_REQUEST_VALIDATORS_OUTPUT: StaticSchema = ( + 18, + n0, + _GRVOe, + {_sSI: _cRVo, _smit: None}, + (_it, _pos), + ( + (lambda: LIST_OF_REQUEST_VALIDATOR, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_REQUEST_VALIDATORS: StaticOperationSchema = ( + 23, + n0, + _GRVe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/requestvalidators", + "code": 200, + } + ) + }, + GET_REQUEST_VALIDATORS_INPUT, + GET_REQUEST_VALIDATORS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +REQUEST_VALIDATOR: StaticSchema = ( + 18, + n0, + _RV, + 0, + (_i, _n, _vRB, _vRP), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.BOOLEAN, {_s: False}), + ), +) + +LIST_OF_REQUEST_VALIDATOR: StaticSchema = ( + 16, + n0, + _LORV, + 0, + (_m,), + ((REQUEST_VALIDATOR, 0),), +) + +GET_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _GRI, + {_sSI: _cGRR, _smi: None}, + (_rAI, _rI, _em), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.LIST_OF_STRING, {_sQ: _em}), + ), +) + +GET_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _GRO, + {_sSI: _cR, _smit: None}, + (_i, _pI, _pP, _p, _rMes), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_METHOD, 0), + ), +) + +GET_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _GRe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/resources/{resourceId}", + "code": 200, + } + ) + }, + GET_RESOURCE_INPUT, + GET_RESOURCE_OUTPUT, + ( + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_RESOURCES_INPUT: StaticSchema = ( + 18, + n0, + _GRIe, + {_sSI: _cGRRo, _smi: None}, + (_rAI, _pos, _li, _em), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + (lambda: schemas.LIST_OF_STRING, {_sQ: _em}), + ), +) + +GET_RESOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _GROe, + {_sSI: _cRo, _smit: None}, + (_it, _pos), + ( + (lambda: schemas.LIST_OF_RESOURCE, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_RESOURCES: StaticOperationSchema = ( + 23, + n0, + _GRet, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/restapis/{restApiId}/resources", "code": 200} + ) + }, + GET_RESOURCES_INPUT, + GET_RESOURCES_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +RESOURCE: StaticSchema = ( + 18, + n0, + _R, + 0, + (_i, _pI, _pP, _p, _rMes), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_METHOD, 0), + ), +) diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_3.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_3.py new file mode 100644 index 000000000..0c4e0f137 --- /dev/null +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_3.py @@ -0,0 +1,1809 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.apigateway" +_sV = "smithy.api#enumValue" +_f = "format" +_m = "member" +_s = "smithy.api#default" +_k = "key" +_v = "value" +_i = "id" +_n = "name" +_d = "description" +_cD = "createdDate" +_lUD = "lastUpdatedDate" +_t = "tags" +_th = "throttle" +_ty = "type" +_rAI = "restApiId" +_sN = "stageName" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_smit = "smithy.api#output" +_sH = "smithy.api#httpHeader" +_smith = "smithy.api#http" +_smithy = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_cCE = "cacheClusterEnabled" +_cCS = "cacheClusterSize" +_va = "variables" +_cS = "canarySettings" +_tE = "tracingEnabled" +_aTu = "authorizationType" +_aKR = "apiKeyRequired" +_sC = "statusCode" +_dV = "documentationVersion" +_ve = "version" +_eC = "endpointConfiguration" +_sP = "securityPolicy" +_eAM = "endpointAccessMode" +_po = "policy" +_cT = "contentType" +_sPe = "selectionPattern" +_rP = "responseParameters" +_rT = "responseTemplates" +_cH = "contentHandling" +_hM = "httpMethod" +_u = "uri" +_cTo = "connectionType" +_cIo = "connectionId" +_cr = "credentials" +_rPe = "requestParameters" +_rTe = "requestTemplates" +_pB = "passthroughBehavior" +_tIM = "timeoutInMillis" +_cNa = "cacheNamespace" +_cKP = "cacheKeyParameters" +_iR = "integrationResponses" +_tC = "tlsConfig" +_rTM = "responseTransferMode" +_iT = "integrationTarget" +_rMe = "responseModels" +_aIu = "authorizerId" +_rVI = "requestValidatorId" +_oN = "operationName" +_rMeq = "requestModels" +_mR = "methodResponses" +_mI = "methodIntegration" +_aSu = "authorizationScopes" +_bMT = "binaryMediaTypes" +_mCS = "minimumCompressionSize" +_aKS = "apiKeySource" +_dEAE = "disableExecuteApiEndpoint" +_cRA = "com.amazonaws.apigateway#RestApi" +_w = "warnings" +_rRI = "rootResourceId" +_aSp = "apiStatus" +_aSM = "apiStatusMessage" +_dI = "deploymentId" +_cSo = "com.amazonaws.apigateway#Stage" +_cCI = "clientCertificateId" +_cCSa = "cacheClusterStatus" +_mS = "methodSettings" +_aLS = "accessLogSettings" +_wAA = "webAclArn" +_li = "limit" +_aSpi = "apiStages" +_q = "quota" +_cUP = "com.amazonaws.apigateway#UsagePlan" +_pC = "productCode" +_uPI = "usagePlanId" +_kI = "keyId" +_cUPK = "com.amazonaws.apigateway#UsagePlanKey" +_tA = "targetArns" +_cVL = "com.amazonaws.apigateway#VpcLink" +_sta = "status" +_sM = "statusMessage" +_rTes = "responseType" +_rI = "resourceId" +_vLI = "vpcLinkId" +_pos = "position" +_nQ = "nameQuery" +_it = "items" +_sNm = "smithy.api#jsonName" +_ite = "item" +_pa = "parameters" +_sQP = "smithy.api#httpQueryParams" +_CT_ = "Content-Type" +_cDon = "contentDisposition" +_CD_ = "Content-Disposition" +_b = "body" +_sPm = "smithy.api#httpPayload" +_cGR = "com.amazonaws.apigateway#GatewayResponse" +_dR = "defaultResponse" +_cIom = "com.amazonaws.apigateway#Integration" +_cIR = "com.amazonaws.apigateway#IntegrationResponse" +_cMo = "com.amazonaws.apigateway#Method" +_cMR = "com.amazonaws.apigateway#MethodResponse" +_LOR = "ListOfResource" +_GRAI = "GetRestApiInput" +_cGRAR = "com.amazonaws.apigateway#GetRestApiRequest" +_GRAO = "GetRestApiOutput" +_GRA = "GetRestApi" +_GRAIe = "GetRestApisInput" +_cGRARo = "com.amazonaws.apigateway#GetRestApisRequest" +_RAe = "RestApi" +_LORA = "ListOfRestApi" +_GRAOe = "GetRestApisOutput" +_cRAo = "com.amazonaws.apigateway#RestApis" +_GRAe = "GetRestApis" +_GSI = "GetSdkInput" +_cGSR = "com.amazonaws.apigateway#GetSdkRequest" +_sT = "sdkType" +_GSO = "GetSdkOutput" +_cSR = "com.amazonaws.apigateway#SdkResponse" +_GS = "GetSdk" +_GSTI = "GetSdkTypeInput" +_cGSTR = "com.amazonaws.apigateway#GetSdkTypeRequest" +_SCP = "SdkConfigurationProperty" +_fN = "friendlyName" +_r = "required" +_dVe = "defaultValue" +_LOSCP = "ListOfSdkConfigurationProperty" +_GSTO = "GetSdkTypeOutput" +_cST = "com.amazonaws.apigateway#SdkType" +_cP = "configurationProperties" +_GST = "GetSdkType" +_GSTIe = "GetSdkTypesInput" +_cGSTRo = "com.amazonaws.apigateway#GetSdkTypesRequest" +_STd = "SdkType" +_LOST = "ListOfSdkType" +_GSTOe = "GetSdkTypesOutput" +_cSTo = "com.amazonaws.apigateway#SdkTypes" +_GSTe = "GetSdkTypes" +_GSIe = "GetStageInput" +_cGSRo = "com.amazonaws.apigateway#GetStageRequest" +_GSOe = "GetStageOutput" +_GSe = "GetStage" +_GSIet = "GetStagesInput" +_cGSRom = "com.amazonaws.apigateway#GetStagesRequest" +_St = "Stage" +_LOSi = "ListOfStage" +_GSOet = "GetStagesOutput" +_cSom = "com.amazonaws.apigateway#Stages" +_GSet = "GetStages" +_GTI = "GetTagsInput" +_cGTR = "com.amazonaws.apigateway#GetTagsRequest" +_rA = "resourceArn" +_GTO = "GetTagsOutput" +_cToma = "com.amazonaws.apigateway#Tags" +_GT = "GetTags" +_GUI = "GetUsageInput" +_cGUR = "com.amazonaws.apigateway#GetUsageRequest" +_sDt = "startDate" +_eDn = "endDate" +_LOL = "ListOfLong" +_LOU = "ListOfUsage" +_MOKU = "MapOfKeyUsages" +_GUO = "GetUsageOutput" +_cU = "com.amazonaws.apigateway#Usage" +_val = "values" +_GU = "GetUsage" +_GUPI = "GetUsagePlanInput" +_cGUPR = "com.amazonaws.apigateway#GetUsagePlanRequest" +_GUPO = "GetUsagePlanOutput" +_GUP = "GetUsagePlan" +_GUPKI = "GetUsagePlanKeyInput" +_cGUPKR = "com.amazonaws.apigateway#GetUsagePlanKeyRequest" +_GUPKO = "GetUsagePlanKeyOutput" +_GUPK = "GetUsagePlanKey" +_GUPKIe = "GetUsagePlanKeysInput" +_cGUPKRo = "com.amazonaws.apigateway#GetUsagePlanKeysRequest" +_UPK = "UsagePlanKey" +_LOUPK = "ListOfUsagePlanKey" +_GUPKOe = "GetUsagePlanKeysOutput" +_cUPKo = "com.amazonaws.apigateway#UsagePlanKeys" +_GUPKe = "GetUsagePlanKeys" +_GUPIe = "GetUsagePlansInput" +_cGUPRo = "com.amazonaws.apigateway#GetUsagePlansRequest" +_UP = "UsagePlan" +_LOUP = "ListOfUsagePlan" +_GUPOe = "GetUsagePlansOutput" +_cUPo = "com.amazonaws.apigateway#UsagePlans" +_GUPe = "GetUsagePlans" +_GVLI = "GetVpcLinkInput" +_cGVLR = "com.amazonaws.apigateway#GetVpcLinkRequest" +_GVLO = "GetVpcLinkOutput" +_GVL = "GetVpcLink" +_GVLIe = "GetVpcLinksInput" +_cGVLRo = "com.amazonaws.apigateway#GetVpcLinksRequest" +_VLp = "VpcLink" +_LOVL = "ListOfVpcLink" +_GVLOe = "GetVpcLinksOutput" +_cVLo = "com.amazonaws.apigateway#VpcLinks" +_GVLe = "GetVpcLinks" +_IAKI = "ImportApiKeysInput" +_cIAKR = "com.amazonaws.apigateway#ImportApiKeysRequest" +_fOW = "failOnWarnings" +_fa = "failonwarnings" +_IAKO = "ImportApiKeysOutput" +_cAKI = "com.amazonaws.apigateway#ApiKeyIds" +_id = "ids" +_IAKm = "ImportApiKeys" +_PM = "PutMode" +_Me = "Merge" +_mer = "merge" +_O = "Overwrite" +_ov = "overwrite" +_IDPI = "ImportDocumentationPartsInput" +_cIDPR = "com.amazonaws.apigateway#ImportDocumentationPartsRequest" +_mo = "mode" +_IDPO = "ImportDocumentationPartsOutput" +_cDPI = "com.amazonaws.apigateway#DocumentationPartIds" +_IDP = "ImportDocumentationParts" +_IRAI = "ImportRestApiInput" +_cIRAR = "com.amazonaws.apigateway#ImportRestApiRequest" +_IRAO = "ImportRestApiOutput" +_IRA = "ImportRestApi" +_PGRI = "PutGatewayResponseInput" +_cPGRR = "com.amazonaws.apigateway#PutGatewayResponseRequest" +_PGRO = "PutGatewayResponseOutput" +_PGR = "PutGatewayResponse" +_PII = "PutIntegrationInput" +_cPIR = "com.amazonaws.apigateway#PutIntegrationRequest" +_rHM = "requestHttpMethod" +_iHM = "integrationHttpMethod" +_PIO = "PutIntegrationOutput" +_PI = "PutIntegration" +_PIRI = "PutIntegrationResponseInput" +_cPIRR = "com.amazonaws.apigateway#PutIntegrationResponseRequest" +_PIRO = "PutIntegrationResponseOutput" +_PIR = "PutIntegrationResponse" +_PMI = "PutMethodInput" +_cPMR = "com.amazonaws.apigateway#PutMethodRequest" +_PMO = "PutMethodOutput" +_PMu = "PutMethod" +_PMRI = "PutMethodResponseInput" +_cPMRR = "com.amazonaws.apigateway#PutMethodResponseRequest" +_PMRO = "PutMethodResponseOutput" +_PMR = "PutMethodResponse" +_PRAI = "PutRestApiInput" +_cPRAR = "com.amazonaws.apigateway#PutRestApiRequest" +_PRAO = "PutRestApiOutput" +_PRA = "PutRestApi" + +LIST_OF_RESOURCE: StaticSchema = ( + 16, + n0, + _LOR, + 0, + (_m,), + ((lambda: schemas.RESOURCE, 0),), +) + +GET_REST_API_INPUT: StaticSchema = ( + 18, + n0, + _GRAI, + {_sSI: _cGRAR, _smi: None}, + (_rAI,), + ((lambda: schemas.STRING, 9),), +) + +GET_REST_API_OUTPUT: StaticSchema = ( + 18, + n0, + _GRAO, + {_sSI: _cRA, _smit: None}, + ( + _i, + _n, + _d, + _cD, + _ve, + _w, + _bMT, + _mCS, + _aKS, + _eC, + _po, + _t, + _dEAE, + _rRI, + _sP, + _eAM, + _aSp, + _aSM, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.API_KEY_SOURCE_TYPE, 0), + (lambda: schemas.ENDPOINT_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.SECURITY_POLICY, 0), + (lambda: schemas.ENDPOINT_ACCESS_MODE, 0), + (lambda: schemas.API_STATUS, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_REST_API: StaticOperationSchema = ( + 23, + n0, + _GRA, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/restapis/{restApiId}", "code": 200} + ) + }, + GET_REST_API_INPUT, + GET_REST_API_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_REST_APIS_INPUT: StaticSchema = ( + 18, + n0, + _GRAIe, + {_sSI: _cGRARo, _smi: None}, + (_pos, _li), + ( + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_REST_APIS_OUTPUT: StaticSchema = ( + 18, + n0, + _GRAOe, + {_sSI: _cRAo, _smit: None}, + (_it, _pos), + ((lambda: LIST_OF_REST_API, {_sNm: _ite}), (lambda: schemas.STRING, {_sQ: _pos})), +) + +GET_REST_APIS: StaticOperationSchema = ( + 23, + n0, + _GRAe, + {_smith: MappingProxyType({"method": "GET", "uri": "/restapis", "code": 200})}, + GET_REST_APIS_INPUT, + GET_REST_APIS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +REST_API: StaticSchema = ( + 18, + n0, + _RAe, + 0, + ( + _i, + _n, + _d, + _cD, + _ve, + _w, + _bMT, + _mCS, + _aKS, + _eC, + _po, + _t, + _dEAE, + _rRI, + _sP, + _eAM, + _aSp, + _aSM, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.API_KEY_SOURCE_TYPE, 0), + (lambda: schemas.ENDPOINT_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.SECURITY_POLICY, 0), + (lambda: schemas.ENDPOINT_ACCESS_MODE, 0), + (lambda: schemas.API_STATUS, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_OF_REST_API: StaticSchema = (16, n0, _LORA, 0, (_m,), ((REST_API, 0),)) + +GET_SDK_INPUT: StaticSchema = ( + 18, + n0, + _GSI, + {_sSI: _cGSR, _smi: None}, + (_rAI, _sN, _sT, _pa), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 1024), + ), +) + +GET_SDK_OUTPUT: StaticSchema = ( + 18, + n0, + _GSO, + {_sSI: _cSR, _smit: None}, + (_cT, _cDon, _b), + ( + (lambda: schemas.STRING, {_sH: _CT_}), + (lambda: schemas.STRING, {_sH: _CD_}), + (lambda: schemas.BLOB, 16), + ), +) + +GET_SDK: StaticOperationSchema = ( + 23, + n0, + _GS, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/stages/{stageName}/sdks/{sdkType}", + "code": 200, + } + ) + }, + GET_SDK_INPUT, + GET_SDK_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_SDK_TYPE_INPUT: StaticSchema = ( + 18, + n0, + _GSTI, + {_sSI: _cGSTR, _smi: None}, + (_i,), + ((lambda: schemas.STRING, 9),), +) + +GET_SDK_TYPE_OUTPUT: StaticSchema = ( + 18, + n0, + _GSTO, + {_sSI: _cST, _smit: None}, + (_i, _fN, _d, _cP), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: LIST_OF_SDK_CONFIGURATION_PROPERTY, 0), + ), +) + +GET_SDK_TYPE: StaticOperationSchema = ( + 23, + n0, + _GST, + {_smith: MappingProxyType({"method": "GET", "uri": "/sdktypes/{id}", "code": 200})}, + GET_SDK_TYPE_INPUT, + GET_SDK_TYPE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +SDK_CONFIGURATION_PROPERTY: StaticSchema = ( + 18, + n0, + _SCP, + 0, + (_n, _fN, _d, _r, _dVe), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + ), +) + +LIST_OF_SDK_CONFIGURATION_PROPERTY: StaticSchema = ( + 16, + n0, + _LOSCP, + 0, + (_m,), + ((SDK_CONFIGURATION_PROPERTY, 0),), +) + +GET_SDK_TYPES_INPUT: StaticSchema = ( + 18, + n0, + _GSTIe, + {_sSI: _cGSTRo, _smi: None}, + (_pos, _li), + ( + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_SDK_TYPES_OUTPUT: StaticSchema = ( + 18, + n0, + _GSTOe, + {_sSI: _cSTo, _smit: None}, + (_it,), + ((lambda: LIST_OF_SDK_TYPE, {_sNm: _ite}),), +) + +GET_SDK_TYPES: StaticOperationSchema = ( + 23, + n0, + _GSTe, + {_smith: MappingProxyType({"method": "GET", "uri": "/sdktypes", "code": 200})}, + GET_SDK_TYPES_INPUT, + GET_SDK_TYPES_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +SDK_TYPE: StaticSchema = ( + 18, + n0, + _STd, + 0, + (_i, _fN, _d, _cP), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (LIST_OF_SDK_CONFIGURATION_PROPERTY, 0), + ), +) + +LIST_OF_SDK_TYPE: StaticSchema = (16, n0, _LOST, 0, (_m,), ((SDK_TYPE, 0),)) + +GET_STAGE_INPUT: StaticSchema = ( + 18, + n0, + _GSIe, + {_sSI: _cGSRo, _smi: None}, + (_rAI, _sN), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +GET_STAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _GSOe, + {_sSI: _cSo, _smit: None}, + ( + _dI, + _cCI, + _sN, + _d, + _cCE, + _cCS, + _cCSa, + _mS, + _va, + _dV, + _aLS, + _cS, + _tE, + _wAA, + _t, + _cD, + _lUD, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.CACHE_CLUSTER_SIZE, 0), + (lambda: schemas.CACHE_CLUSTER_STATUS, 0), + (lambda: schemas.MAP_OF_METHOD_SETTINGS, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACCESS_LOG_SETTINGS, 0), + (lambda: schemas.CANARY_SETTINGS, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +GET_STAGE: StaticOperationSchema = ( + 23, + n0, + _GSe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/restapis/{restApiId}/stages/{stageName}", + "code": 200, + } + ) + }, + GET_STAGE_INPUT, + GET_STAGE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_STAGES_INPUT: StaticSchema = ( + 18, + n0, + _GSIet, + {_sSI: _cGSRom, _smi: None}, + (_rAI, _dI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sQ: _dI})), +) + +GET_STAGES_OUTPUT: StaticSchema = ( + 18, + n0, + _GSOet, + {_sSI: _cSom, _smit: None}, + (_ite,), + ((lambda: LIST_OF_STAGE, 0),), +) + +GET_STAGES: StaticOperationSchema = ( + 23, + n0, + _GSet, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/restapis/{restApiId}/stages", "code": 200} + ) + }, + GET_STAGES_INPUT, + GET_STAGES_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +STAGE: StaticSchema = ( + 18, + n0, + _St, + 0, + ( + _dI, + _cCI, + _sN, + _d, + _cCE, + _cCS, + _cCSa, + _mS, + _va, + _dV, + _aLS, + _cS, + _tE, + _wAA, + _t, + _cD, + _lUD, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.CACHE_CLUSTER_SIZE, 0), + (lambda: schemas.CACHE_CLUSTER_STATUS, 0), + (lambda: schemas.MAP_OF_METHOD_SETTINGS, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACCESS_LOG_SETTINGS, 0), + (lambda: schemas.CANARY_SETTINGS, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +LIST_OF_STAGE: StaticSchema = (16, n0, _LOSi, 0, (_m,), ((STAGE, 0),)) + +GET_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _GTI, + {_sSI: _cGTR, _smi: None}, + (_rA, _pos, _li), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _GTO, + {_sSI: _cToma, _smit: None}, + (_t,), + ((lambda: schemas.MAP_OF_STRING_TO_STRING, 0),), +) + +GET_TAGS: StaticOperationSchema = ( + 23, + n0, + _GT, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/tags/{resourceArn}", "code": 200} + ) + }, + GET_TAGS_INPUT, + GET_TAGS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_USAGE_INPUT: StaticSchema = ( + 18, + n0, + _GUI, + {_sSI: _cGUR, _smi: None}, + (_uPI, _kI, _sDt, _eDn, _pos, _li), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _kI}), + (lambda: schemas.STRING, {_sQ: _sDt, _smithy: None}), + (lambda: schemas.STRING, {_sQ: _eDn, _smithy: None}), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_USAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _GUO, + {_sSI: _cU, _smit: None}, + (_uPI, _sDt, _eDn, _it, _pos), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: MAP_OF_KEY_USAGES, {_sNm: _val}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_USAGE: StaticOperationSchema = ( + 23, + n0, + _GU, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/usageplans/{usagePlanId}/usage", "code": 200} + ) + }, + GET_USAGE_INPUT, + GET_USAGE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +LIST_OF_LONG: StaticSchema = (16, n0, _LOL, 0, (_m,), ((lambda: schemas.LONG, 0),)) + +LIST_OF_USAGE: StaticSchema = (16, n0, _LOU, 0, (_m,), ((LIST_OF_LONG, 0),)) + +MAP_OF_KEY_USAGES: StaticSchema = ( + 17, + n0, + _MOKU, + 0, + (_k, _v), + ((lambda: schemas.STRING, 0), (LIST_OF_USAGE, 0)), +) + +GET_USAGE_PLAN_INPUT: StaticSchema = ( + 18, + n0, + _GUPI, + {_sSI: _cGUPR, _smi: None}, + (_uPI,), + ((lambda: schemas.STRING, 9),), +) + +GET_USAGE_PLAN_OUTPUT: StaticSchema = ( + 18, + n0, + _GUPO, + {_sSI: _cUP, _smit: None}, + (_i, _n, _d, _aSpi, _th, _q, _pC, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_API_STAGE, 0), + (lambda: schemas.THROTTLE_SETTINGS, 0), + (lambda: schemas.QUOTA_SETTINGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +GET_USAGE_PLAN: StaticOperationSchema = ( + 23, + n0, + _GUP, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/usageplans/{usagePlanId}", "code": 200} + ) + }, + GET_USAGE_PLAN_INPUT, + GET_USAGE_PLAN_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_USAGE_PLAN_KEY_INPUT: StaticSchema = ( + 18, + n0, + _GUPKI, + {_sSI: _cGUPKR, _smi: None}, + (_uPI, _kI), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +GET_USAGE_PLAN_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _GUPKO, + {_sSI: _cUPK, _smit: None}, + (_i, _ty, _v, _n), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_USAGE_PLAN_KEY: StaticOperationSchema = ( + 23, + n0, + _GUPK, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/usageplans/{usagePlanId}/keys/{keyId}", + "code": 200, + } + ) + }, + GET_USAGE_PLAN_KEY_INPUT, + GET_USAGE_PLAN_KEY_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_USAGE_PLAN_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _GUPKIe, + {_sSI: _cGUPKRo, _smi: None}, + (_uPI, _pos, _li, _nQ), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + (lambda: schemas.STRING, {_sQ: _n}), + ), +) + +GET_USAGE_PLAN_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _GUPKOe, + {_sSI: _cUPKo, _smit: None}, + (_it, _pos), + ( + (lambda: LIST_OF_USAGE_PLAN_KEY, {_sNm: _ite}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +GET_USAGE_PLAN_KEYS: StaticOperationSchema = ( + 23, + n0, + _GUPKe, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/usageplans/{usagePlanId}/keys", "code": 200} + ) + }, + GET_USAGE_PLAN_KEYS_INPUT, + GET_USAGE_PLAN_KEYS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +USAGE_PLAN_KEY: StaticSchema = ( + 18, + n0, + _UPK, + 0, + (_i, _ty, _v, _n), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_OF_USAGE_PLAN_KEY: StaticSchema = ( + 16, + n0, + _LOUPK, + 0, + (_m,), + ((USAGE_PLAN_KEY, 0),), +) + +GET_USAGE_PLANS_INPUT: StaticSchema = ( + 18, + n0, + _GUPIe, + {_sSI: _cGUPRo, _smi: None}, + (_pos, _kI, _li), + ( + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.STRING, {_sQ: _kI}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_USAGE_PLANS_OUTPUT: StaticSchema = ( + 18, + n0, + _GUPOe, + {_sSI: _cUPo, _smit: None}, + (_it, _pos), + ((lambda: LIST_OF_USAGE_PLAN, {_sNm: _ite}), (lambda: schemas.STRING, {_sQ: _pos})), +) + +GET_USAGE_PLANS: StaticOperationSchema = ( + 23, + n0, + _GUPe, + {_smith: MappingProxyType({"method": "GET", "uri": "/usageplans", "code": 200})}, + GET_USAGE_PLANS_INPUT, + GET_USAGE_PLANS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +USAGE_PLAN: StaticSchema = ( + 18, + n0, + _UP, + 0, + (_i, _n, _d, _aSpi, _th, _q, _pC, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_API_STAGE, 0), + (lambda: schemas.THROTTLE_SETTINGS, 0), + (lambda: schemas.QUOTA_SETTINGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +LIST_OF_USAGE_PLAN: StaticSchema = (16, n0, _LOUP, 0, (_m,), ((USAGE_PLAN, 0),)) + +GET_VPC_LINK_INPUT: StaticSchema = ( + 18, + n0, + _GVLI, + {_sSI: _cGVLR, _smi: None}, + (_vLI,), + ((lambda: schemas.STRING, 9),), +) + +GET_VPC_LINK_OUTPUT: StaticSchema = ( + 18, + n0, + _GVLO, + {_sSI: _cVL, _smit: None}, + (_i, _n, _d, _tA, _sta, _sM, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.VPC_LINK_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +GET_VPC_LINK: StaticOperationSchema = ( + 23, + n0, + _GVL, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/vpclinks/{vpcLinkId}", "code": 200} + ) + }, + GET_VPC_LINK_INPUT, + GET_VPC_LINK_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +GET_VPC_LINKS_INPUT: StaticSchema = ( + 18, + n0, + _GVLIe, + {_sSI: _cGVLRo, _smi: None}, + (_pos, _li), + ( + (lambda: schemas.STRING, {_sQ: _pos}), + (lambda: schemas.NULLABLE_INTEGER, {_sQ: _li}), + ), +) + +GET_VPC_LINKS_OUTPUT: StaticSchema = ( + 18, + n0, + _GVLOe, + {_sSI: _cVLo, _smit: None}, + (_it, _pos), + ((lambda: LIST_OF_VPC_LINK, {_sNm: _ite}), (lambda: schemas.STRING, {_sQ: _pos})), +) + +GET_VPC_LINKS: StaticOperationSchema = ( + 23, + n0, + _GVLe, + {_smith: MappingProxyType({"method": "GET", "uri": "/vpclinks", "code": 200})}, + GET_VPC_LINKS_INPUT, + GET_VPC_LINKS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +VPC_LINK: StaticSchema = ( + 18, + n0, + _VLp, + 0, + (_i, _n, _d, _tA, _sta, _sM, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.VPC_LINK_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +LIST_OF_VPC_LINK: StaticSchema = (16, n0, _LOVL, 0, (_m,), ((VPC_LINK, 0),)) + +IMPORT_API_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _IAKI, + {_sSI: _cIAKR, _smi: None}, + (_b, _f, _fOW), + ( + (lambda: schemas.BLOB, 17), + (lambda: schemas.API_KEYS_FORMAT, {_sQ: _f, _smithy: None}), + (lambda: schemas.BOOLEAN, {_s: False, _sQ: _fa}), + ), +) + +IMPORT_API_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _IAKO, + {_sSI: _cAKI, _smit: None}, + (_id, _w), + ((lambda: schemas.LIST_OF_STRING, 0), (lambda: schemas.LIST_OF_STRING, 0)), +) + +IMPORT_API_KEYS: StaticOperationSchema = ( + 23, + n0, + _IAKm, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/apikeys?mode=import", "code": 201} + ) + }, + IMPORT_API_KEYS_INPUT, + IMPORT_API_KEYS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +PUT_MODE: StaticSchema = ( + 14, + n0, + _PM, + 0, + (_Me, _O), + ((-1, {_sV: _mer}), (-1, {_sV: _ov})), +) + +IMPORT_DOCUMENTATION_PARTS_INPUT: StaticSchema = ( + 18, + n0, + _IDPI, + {_sSI: _cIDPR, _smi: None}, + (_rAI, _mo, _fOW, _b), + ( + (lambda: schemas.STRING, 9), + (PUT_MODE, {_sQ: _mo}), + (lambda: schemas.BOOLEAN, {_s: False, _sQ: _fa}), + (lambda: schemas.BLOB, 17), + ), +) + +IMPORT_DOCUMENTATION_PARTS_OUTPUT: StaticSchema = ( + 18, + n0, + _IDPO, + {_sSI: _cDPI, _smit: None}, + (_id, _w), + ((lambda: schemas.LIST_OF_STRING, 0), (lambda: schemas.LIST_OF_STRING, 0)), +) + +IMPORT_DOCUMENTATION_PARTS: StaticOperationSchema = ( + 23, + n0, + _IDP, + { + _smith: MappingProxyType( + { + "method": "PUT", + "uri": "/restapis/{restApiId}/documentation/parts", + "code": 200, + } + ) + }, + IMPORT_DOCUMENTATION_PARTS_INPUT, + IMPORT_DOCUMENTATION_PARTS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +IMPORT_REST_API_INPUT: StaticSchema = ( + 18, + n0, + _IRAI, + {_sSI: _cIRAR, _smi: None}, + (_fOW, _pa, _b), + ( + (lambda: schemas.BOOLEAN, {_s: False, _sQ: _fa}), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 1024), + (lambda: schemas.BLOB, 17), + ), +) + +IMPORT_REST_API_OUTPUT: StaticSchema = ( + 18, + n0, + _IRAO, + {_sSI: _cRA, _smit: None}, + ( + _i, + _n, + _d, + _cD, + _ve, + _w, + _bMT, + _mCS, + _aKS, + _eC, + _po, + _t, + _dEAE, + _rRI, + _sP, + _eAM, + _aSp, + _aSM, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.API_KEY_SOURCE_TYPE, 0), + (lambda: schemas.ENDPOINT_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.SECURITY_POLICY, 0), + (lambda: schemas.ENDPOINT_ACCESS_MODE, 0), + (lambda: schemas.API_STATUS, 0), + (lambda: schemas.STRING, 0), + ), +) + +IMPORT_REST_API: StaticOperationSchema = ( + 23, + n0, + _IRA, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/restapis?mode=import", "code": 201} + ) + }, + IMPORT_REST_API_INPUT, + IMPORT_REST_API_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +PUT_GATEWAY_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _PGRI, + {_sSI: _cPGRR, _smi: None}, + (_rAI, _rTes, _sC, _rP, _rT), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.GATEWAY_RESPONSE_TYPE, 9), + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +PUT_GATEWAY_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _PGRO, + {_sSI: _cGR, _smit: None}, + (_rTes, _sC, _rP, _rT, _dR), + ( + (lambda: schemas.GATEWAY_RESPONSE_TYPE, 0), + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + ), +) + +PUT_GATEWAY_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _PGR, + { + _smith: MappingProxyType( + { + "method": "PUT", + "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", + "code": 201, + } + ) + }, + PUT_GATEWAY_RESPONSE_INPUT, + PUT_GATEWAY_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +PUT_INTEGRATION_INPUT: StaticSchema = ( + 18, + n0, + _PII, + {_sSI: _cPIR, _smi: None}, + ( + _rAI, + _rI, + _hM, + _ty, + _iHM, + _u, + _cTo, + _cIo, + _cr, + _rPe, + _rTe, + _pB, + _cNa, + _cKP, + _cH, + _tIM, + _tC, + _rTM, + _iT, + ), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sNm: _rHM, _smithy: None, _sL: None}), + (lambda: schemas.INTEGRATION_TYPE, 1), + (lambda: schemas.STRING, {_sNm: _hM}), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONNECTION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.CONTENT_HANDLING_STRATEGY, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.TLS_CONFIG, 0), + (lambda: schemas.RESPONSE_TRANSFER_MODE, 0), + (lambda: schemas.STRING, 0), + ), +) + +PUT_INTEGRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PIO, + {_sSI: _cIom, _smit: None}, + ( + _ty, + _hM, + _u, + _cTo, + _cIo, + _cr, + _rPe, + _rTe, + _pB, + _cH, + _tIM, + _cNa, + _cKP, + _iR, + _tC, + _rTM, + _iT, + ), + ( + (lambda: schemas.INTEGRATION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONNECTION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONTENT_HANDLING_STRATEGY, 0), + (lambda: schemas.INTEGER, {_s: 0}), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.MAP_OF_INTEGRATION_RESPONSE, 0), + (lambda: schemas.TLS_CONFIG, 0), + (lambda: schemas.RESPONSE_TRANSFER_MODE, 0), + (lambda: schemas.STRING, 0), + ), +) + +PUT_INTEGRATION: StaticOperationSchema = ( + 23, + n0, + _PI, + { + _smith: MappingProxyType( + { + "method": "PUT", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", + "code": 201, + } + ) + }, + PUT_INTEGRATION_INPUT, + PUT_INTEGRATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +PUT_INTEGRATION_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _PIRI, + {_sSI: _cPIRR, _smi: None}, + (_rAI, _rI, _hM, _sC, _sPe, _rP, _rT, _cH), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STATUS_CODE, 9), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.CONTENT_HANDLING_STRATEGY, 0), + ), +) + +PUT_INTEGRATION_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _PIRO, + {_sSI: _cIR, _smit: None}, + (_sC, _sPe, _rP, _rT, _cH), + ( + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.CONTENT_HANDLING_STRATEGY, 0), + ), +) + +PUT_INTEGRATION_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _PIR, + { + _smith: MappingProxyType( + { + "method": "PUT", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", + "code": 201, + } + ) + }, + PUT_INTEGRATION_RESPONSE_INPUT, + PUT_INTEGRATION_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +PUT_METHOD_INPUT: StaticSchema = ( + 18, + n0, + _PMI, + {_sSI: _cPMR, _smi: None}, + (_rAI, _rI, _hM, _aTu, _aIu, _aKR, _oN, _rPe, _rMeq, _rVI, _aSu), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_BOOLEAN, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + ), +) + +PUT_METHOD_OUTPUT: StaticSchema = ( + 18, + n0, + _PMO, + {_sSI: _cMo, _smit: None}, + (_hM, _aTu, _aIu, _aKR, _rVI, _oN, _rPe, _rMeq, _mR, _mI, _aSu), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.NULLABLE_BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_BOOLEAN, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_METHOD_RESPONSE, 0), + (lambda: schemas.INTEGRATION, 0), + (lambda: schemas.LIST_OF_STRING, 0), + ), +) + +PUT_METHOD: StaticOperationSchema = ( + 23, + n0, + _PMu, + { + _smith: MappingProxyType( + { + "method": "PUT", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "code": 201, + } + ) + }, + PUT_METHOD_INPUT, + PUT_METHOD_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +PUT_METHOD_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _PMRI, + {_sSI: _cPMRR, _smi: None}, + (_rAI, _rI, _hM, _sC, _rP, _rMe), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STATUS_CODE, 9), + (lambda: schemas.MAP_OF_STRING_TO_BOOLEAN, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +PUT_METHOD_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _PMRO, + {_sSI: _cMR, _smit: None}, + (_sC, _rP, _rMe), + ( + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_BOOLEAN, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +PUT_METHOD_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _PMR, + { + _smith: MappingProxyType( + { + "method": "PUT", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", + "code": 201, + } + ) + }, + PUT_METHOD_RESPONSE_INPUT, + PUT_METHOD_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +PUT_REST_API_INPUT: StaticSchema = ( + 18, + n0, + _PRAI, + {_sSI: _cPRAR, _smi: None}, + (_rAI, _mo, _fOW, _pa, _b), + ( + (lambda: schemas.STRING, 9), + (PUT_MODE, {_sQ: _mo}), + (lambda: schemas.BOOLEAN, {_s: False, _sQ: _fa}), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 1024), + (lambda: schemas.BLOB, 17), + ), +) + +PUT_REST_API_OUTPUT: StaticSchema = ( + 18, + n0, + _PRAO, + {_sSI: _cRA, _smit: None}, + ( + _i, + _n, + _d, + _cD, + _ve, + _w, + _bMT, + _mCS, + _aKS, + _eC, + _po, + _t, + _dEAE, + _rRI, + _sP, + _eAM, + _aSp, + _aSM, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.API_KEY_SOURCE_TYPE, 0), + (lambda: schemas.ENDPOINT_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.SECURITY_POLICY, 0), + (lambda: schemas.ENDPOINT_ACCESS_MODE, 0), + (lambda: schemas.API_STATUS, 0), + (lambda: schemas.STRING, 0), + ), +) + +PUT_REST_API: StaticOperationSchema = ( + 23, + n0, + _PRA, + { + _smith: MappingProxyType( + {"method": "PUT", "uri": "/restapis/{restApiId}", "code": 200} + ) + }, + PUT_REST_API_INPUT, + PUT_REST_API_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_4.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_4.py new file mode 100644 index 000000000..ee7531722 --- /dev/null +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/_private/schemas_4.py @@ -0,0 +1,1879 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.apigateway" +_sV = "smithy.api#enumValue" +_m = "member" +_s = "smithy.api#default" +_k = "key" +_v = "value" +_i = "id" +_n = "name" +_cI = "customerId" +_d = "description" +_e = "enabled" +_cD = "createdDate" +_lUD = "lastUpdatedDate" +_sK = "stageKeys" +_t = "tags" +_st = "stage" +_th = "throttle" +_ty = "type" +_pARN = "providerARNs" +_aT = "authType" +_aU = "authorizerUri" +_aC = "authorizerCredentials" +_iS = "identitySource" +_iVE = "identityValidationExpression" +_aRTIS = "authorizerResultTtlInSeconds" +_rAI = "restApiId" +_sN = "stageName" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_cAK = "com.amazonaws.apigateway#ApiKey" +_smit = "smithy.api#output" +_smith = "smithy.api#http" +_smithy = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_cA = "com.amazonaws.apigateway#Authorizer" +_dN = "domainName" +_dNI = "domainNameId" +_sQ = "smithy.api#httpQuery" +_bP = "basePath" +_cBPM = "com.amazonaws.apigateway#BasePathMapping" +_cCE = "cacheClusterEnabled" +_cCS = "cacheClusterSize" +_va = "variables" +_cS = "canarySettings" +_tE = "tracingEnabled" +_aTu = "authorizationType" +_aKR = "apiKeyRequired" +_cDo = "com.amazonaws.apigateway#Deployment" +_aS = "apiSummary" +_p = "path" +_sC = "statusCode" +_l = "location" +_pr = "properties" +_cDP = "com.amazonaws.apigateway#DocumentationPart" +_dV = "documentationVersion" +_cDV = "com.amazonaws.apigateway#DocumentationVersion" +_ve = "version" +_cN = "certificateName" +_cAe = "certificateArn" +_rCN = "regionalCertificateName" +_rCA = "regionalCertificateArn" +_eC = "endpointConfiguration" +_sP = "securityPolicy" +_eAM = "endpointAccessMode" +_mTA = "mutualTlsAuthentication" +_oVCA = "ownershipVerificationCertificateArn" +_po = "policy" +_rM = "routingMode" +_cDN = "com.amazonaws.apigateway#DomainName" +_dNA = "domainNameArn" +_cUD = "certificateUploadDate" +_rDN = "regionalDomainName" +_rHZI = "regionalHostedZoneId" +_dDN = "distributionDomainName" +_dHZI = "distributionHostedZoneId" +_dNS = "domainNameStatus" +_dNSM = "domainNameStatusMessage" +_mP = "managementPolicy" +_dNAAA = "domainNameAccessAssociationArn" +_sc = "schema" +_cT = "contentType" +_cM = "com.amazonaws.apigateway#Model" +_vRB = "validateRequestBody" +_vRP = "validateRequestParameters" +_cRV = "com.amazonaws.apigateway#RequestValidator" +_pI = "parentId" +_pP = "pathPart" +_sPe = "selectionPattern" +_rP = "responseParameters" +_rT = "responseTemplates" +_cH = "contentHandling" +_hM = "httpMethod" +_u = "uri" +_cTo = "connectionType" +_cIo = "connectionId" +_cr = "credentials" +_rPe = "requestParameters" +_rTe = "requestTemplates" +_pB = "passthroughBehavior" +_tIM = "timeoutInMillis" +_cNa = "cacheNamespace" +_cKP = "cacheKeyParameters" +_iR = "integrationResponses" +_tC = "tlsConfig" +_rTM = "responseTransferMode" +_iT = "integrationTarget" +_rMe = "responseModels" +_aIu = "authorizerId" +_rVI = "requestValidatorId" +_oN = "operationName" +_rMeq = "requestModels" +_mR = "methodResponses" +_mI = "methodIntegration" +_aSu = "authorizationScopes" +_cR = "com.amazonaws.apigateway#Resource" +_rMes = "resourceMethods" +_bMT = "binaryMediaTypes" +_mCS = "minimumCompressionSize" +_aKS = "apiKeySource" +_dEAE = "disableExecuteApiEndpoint" +_cRA = "com.amazonaws.apigateway#RestApi" +_w = "warnings" +_rRI = "rootResourceId" +_aSp = "apiStatus" +_aSM = "apiStatusMessage" +_dI = "deploymentId" +_cSo = "com.amazonaws.apigateway#Stage" +_cCI = "clientCertificateId" +_cCSa = "cacheClusterStatus" +_mS = "methodSettings" +_aLS = "accessLogSettings" +_wAA = "webAclArn" +_aSpi = "apiStages" +_q = "quota" +_cUP = "com.amazonaws.apigateway#UsagePlan" +_pC = "productCode" +_uPI = "usagePlanId" +_kI = "keyId" +_tA = "targetArns" +_cVL = "com.amazonaws.apigateway#VpcLink" +_sta = "status" +_sM = "statusMessage" +_aK = "apiKey" +_sU = "smithy.api#Unit" +_dPI = "documentationPartId" +_rTes = "responseType" +_rI = "resourceId" +_mN = "modelName" +_vLI = "vpcLinkId" +_cCC = "com.amazonaws.apigateway#ClientCertificate" +_pEC = "pemEncodedCertificate" +_eD = "expirationDate" +_cAo = "com.amazonaws.apigateway#Account" +_cRAl = "cloudwatchRoleArn" +_tS = "throttleSettings" +_fe = "features" +_aKV = "apiKeyVersion" +_pos = "position" +_it = "items" +_sNm = "smithy.api#jsonName" +_b = "body" +_cGR = "com.amazonaws.apigateway#GatewayResponse" +_dR = "defaultResponse" +_cIom = "com.amazonaws.apigateway#Integration" +_cIR = "com.amazonaws.apigateway#IntegrationResponse" +_cMo = "com.amazonaws.apigateway#Method" +_cMR = "com.amazonaws.apigateway#MethodResponse" +_rA = "resourceArn" +_sDt = "startDate" +_eDn = "endDate" +_cU = "com.amazonaws.apigateway#Usage" +_val = "values" +_RDNAAI = "RejectDomainNameAccessAssociationInput" +_cRDNAAR = "com.amazonaws.apigateway#RejectDomainNameAccessAssociationRequest" +_RDNAAO = "RejectDomainNameAccessAssociationOutput" +_RDNAA = "RejectDomainNameAccessAssociation" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.apigateway#TagResourceRequest" +_TRO = "TagResourceOutput" +_TR = "TagResource" +_MOSTL = "MapOfStringToList" +_TIAI = "TestInvokeAuthorizerInput" +_cTIAR = "com.amazonaws.apigateway#TestInvokeAuthorizerRequest" +_h = "headers" +_mVH = "multiValueHeaders" +_pWQS = "pathWithQueryString" +_sVt = "stageVariables" +_aCd = "additionalContext" +_TIAO = "TestInvokeAuthorizerOutput" +_cTIARo = "com.amazonaws.apigateway#TestInvokeAuthorizerResponse" +_cSl = "clientStatus" +_lo = "log" +_la = "latency" +_pIr = "principalId" +_au = "authorization" +_cla = "claims" +_TIA = "TestInvokeAuthorizer" +_TIMI = "TestInvokeMethodInput" +_cTIMR = "com.amazonaws.apigateway#TestInvokeMethodRequest" +_TIMO = "TestInvokeMethodOutput" +_cTIMRo = "com.amazonaws.apigateway#TestInvokeMethodResponse" +_TIM = "TestInvokeMethod" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.apigateway#UntagResourceRequest" +_tK = "tagKeys" +_URO = "UntagResourceOutput" +_UR = "UntagResource" +_Op = "Op" +_ad = "add" +_re = "remove" +_rep = "replace" +_mov = "move" +_co = "copy" +_te = "test" +_PO = "PatchOperation" +_op = "op" +_fr = "from" +_LOPO = "ListOfPatchOperation" +_UAI = "UpdateAccountInput" +_cUAR = "com.amazonaws.apigateway#UpdateAccountRequest" +_pO = "patchOperations" +_UAO = "UpdateAccountOutput" +_UA = "UpdateAccount" +_UAKI = "UpdateApiKeyInput" +_cUAKR = "com.amazonaws.apigateway#UpdateApiKeyRequest" +_UAKO = "UpdateApiKeyOutput" +_UAK = "UpdateApiKey" +_UAIp = "UpdateAuthorizerInput" +_cUARo = "com.amazonaws.apigateway#UpdateAuthorizerRequest" +_UAOp = "UpdateAuthorizerOutput" +_UAp = "UpdateAuthorizer" +_UBPMI = "UpdateBasePathMappingInput" +_cUBPMR = "com.amazonaws.apigateway#UpdateBasePathMappingRequest" +_UBPMO = "UpdateBasePathMappingOutput" +_UBPM = "UpdateBasePathMapping" +_UCCI = "UpdateClientCertificateInput" +_cUCCR = "com.amazonaws.apigateway#UpdateClientCertificateRequest" +_UCCO = "UpdateClientCertificateOutput" +_UCC = "UpdateClientCertificate" +_UDI = "UpdateDeploymentInput" +_cUDR = "com.amazonaws.apigateway#UpdateDeploymentRequest" +_UDO = "UpdateDeploymentOutput" +_UD = "UpdateDeployment" +_UDPI = "UpdateDocumentationPartInput" +_cUDPR = "com.amazonaws.apigateway#UpdateDocumentationPartRequest" +_UDPO = "UpdateDocumentationPartOutput" +_UDP = "UpdateDocumentationPart" +_UDVI = "UpdateDocumentationVersionInput" +_cUDVR = "com.amazonaws.apigateway#UpdateDocumentationVersionRequest" +_UDVO = "UpdateDocumentationVersionOutput" +_UDV = "UpdateDocumentationVersion" +_UDNI = "UpdateDomainNameInput" +_cUDNR = "com.amazonaws.apigateway#UpdateDomainNameRequest" +_UDNO = "UpdateDomainNameOutput" +_UDN = "UpdateDomainName" +_UGRI = "UpdateGatewayResponseInput" +_cUGRR = "com.amazonaws.apigateway#UpdateGatewayResponseRequest" +_UGRO = "UpdateGatewayResponseOutput" +_UGR = "UpdateGatewayResponse" +_UII = "UpdateIntegrationInput" +_cUIR = "com.amazonaws.apigateway#UpdateIntegrationRequest" +_UIO = "UpdateIntegrationOutput" +_UI = "UpdateIntegration" +_UIRI = "UpdateIntegrationResponseInput" +_cUIRR = "com.amazonaws.apigateway#UpdateIntegrationResponseRequest" +_UIRO = "UpdateIntegrationResponseOutput" +_UIR = "UpdateIntegrationResponse" +_UMI = "UpdateMethodInput" +_cUMR = "com.amazonaws.apigateway#UpdateMethodRequest" +_UMO = "UpdateMethodOutput" +_UM = "UpdateMethod" +_UMRI = "UpdateMethodResponseInput" +_cUMRR = "com.amazonaws.apigateway#UpdateMethodResponseRequest" +_UMRO = "UpdateMethodResponseOutput" +_UMR = "UpdateMethodResponse" +_UMIp = "UpdateModelInput" +_cUMRo = "com.amazonaws.apigateway#UpdateModelRequest" +_UMOp = "UpdateModelOutput" +_UMp = "UpdateModel" +_URVI = "UpdateRequestValidatorInput" +_cURVR = "com.amazonaws.apigateway#UpdateRequestValidatorRequest" +_URVO = "UpdateRequestValidatorOutput" +_URV = "UpdateRequestValidator" +_URIp = "UpdateResourceInput" +_cURRo = "com.amazonaws.apigateway#UpdateResourceRequest" +_UROp = "UpdateResourceOutput" +_URp = "UpdateResource" +_URAI = "UpdateRestApiInput" +_cURAR = "com.amazonaws.apigateway#UpdateRestApiRequest" +_URAO = "UpdateRestApiOutput" +_URA = "UpdateRestApi" +_USI = "UpdateStageInput" +_cUSR = "com.amazonaws.apigateway#UpdateStageRequest" +_USO = "UpdateStageOutput" +_US = "UpdateStage" +_UUI = "UpdateUsageInput" +_cUUR = "com.amazonaws.apigateway#UpdateUsageRequest" +_UUO = "UpdateUsageOutput" +_UU = "UpdateUsage" +_UUPI = "UpdateUsagePlanInput" +_cUUPR = "com.amazonaws.apigateway#UpdateUsagePlanRequest" +_UUPO = "UpdateUsagePlanOutput" +_UUP = "UpdateUsagePlan" +_UVLI = "UpdateVpcLinkInput" +_cUVLR = "com.amazonaws.apigateway#UpdateVpcLinkRequest" +_UVLO = "UpdateVpcLinkOutput" +_UVL = "UpdateVpcLink" +_BCS = "BackplaneControlService" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" + +REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _RDNAAI, + {_sSI: _cRDNAAR, _smi: None}, + (_dNAAA, _dNA), + ( + (lambda: schemas.STRING, {_sQ: _dNAAA, _smithy: None}), + (lambda: schemas.STRING, {_sQ: _dNA, _smithy: None}), + ), +) + +REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _RDNAAO, + {_sSI: _sU, _smit: None}, +) + +REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _RDNAA, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/rejectdomainnameaccessassociations", + "code": 202, + } + ) + }, + REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_INPUT, + REJECT_DOMAIN_NAME_ACCESS_ASSOCIATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smi: None}, + (_rA, _t), + ((lambda: schemas.STRING, 9), (lambda: schemas.MAP_OF_STRING_TO_STRING, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smit: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + { + _smith: MappingProxyType( + {"method": "PUT", "uri": "/tags/{resourceArn}", "code": 204} + ) + }, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +MAP_OF_STRING_TO_LIST: StaticSchema = ( + 17, + n0, + _MOSTL, + 0, + (_k, _v), + ((lambda: schemas.STRING, 0), (lambda: schemas.LIST_OF_STRING, 0)), +) + +TEST_INVOKE_AUTHORIZER_INPUT: StaticSchema = ( + 18, + n0, + _TIAI, + {_sSI: _cTIAR, _smi: None}, + (_rAI, _aIu, _h, _mVH, _pWQS, _b, _sVt, _aCd), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (MAP_OF_STRING_TO_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +TEST_INVOKE_AUTHORIZER_OUTPUT: StaticSchema = ( + 18, + n0, + _TIAO, + {_sSI: _cTIARo, _smit: None}, + (_cSl, _lo, _la, _pIr, _po, _au, _cla), + ( + (lambda: schemas.INTEGER, {_s: 0}), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, {_s: 0}), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (MAP_OF_STRING_TO_LIST, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +TEST_INVOKE_AUTHORIZER: StaticOperationSchema = ( + 23, + n0, + _TIA, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", + "code": 200, + } + ) + }, + TEST_INVOKE_AUTHORIZER_INPUT, + TEST_INVOKE_AUTHORIZER_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +TEST_INVOKE_METHOD_INPUT: StaticSchema = ( + 18, + n0, + _TIMI, + {_sSI: _cTIMR, _smi: None}, + (_rAI, _rI, _hM, _pWQS, _b, _h, _mVH, _cCI, _sVt), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (MAP_OF_STRING_TO_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +TEST_INVOKE_METHOD_OUTPUT: StaticSchema = ( + 18, + n0, + _TIMO, + {_sSI: _cTIMRo, _smit: None}, + (_sta, _b, _h, _mVH, _lo, _la), + ( + (lambda: schemas.INTEGER, {_s: 0}), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (MAP_OF_STRING_TO_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, {_s: 0}), + ), +) + +TEST_INVOKE_METHOD: StaticOperationSchema = ( + 23, + n0, + _TIM, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "code": 200, + } + ) + }, + TEST_INVOKE_METHOD_INPUT, + TEST_INVOKE_METHOD_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _smi: None}, + (_rA, _tK), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.LIST_OF_STRING, {_sQ: _tK, _smithy: None}), + ), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smit: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/tags/{resourceArn}", "code": 204} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +OP: StaticSchema = ( + 14, + n0, + _Op, + 0, + (_ad, _re, _rep, _mov, _co, _te), + ( + (-1, {_sV: _ad}), + (-1, {_sV: _re}), + (-1, {_sV: _rep}), + (-1, {_sV: _mov}), + (-1, {_sV: _co}), + (-1, {_sV: _te}), + ), +) + +PATCH_OPERATION: StaticSchema = ( + 18, + n0, + _PO, + 0, + (_op, _p, _v, _fr), + ( + (OP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_OF_PATCH_OPERATION: StaticSchema = ( + 16, + n0, + _LOPO, + 0, + (_m,), + ((PATCH_OPERATION, 0),), +) + +UPDATE_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _UAI, + {_sSI: _cUAR, _smi: None}, + (_pO,), + ((LIST_OF_PATCH_OPERATION, 0),), +) + +UPDATE_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _UAO, + {_sSI: _cAo, _smit: None}, + (_cRAl, _tS, _fe, _aKV), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.THROTTLE_SETTINGS, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _UA, + {_smith: MappingProxyType({"method": "PATCH", "uri": "/account", "code": 200})}, + UPDATE_ACCOUNT_INPUT, + UPDATE_ACCOUNT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_API_KEY_INPUT: StaticSchema = ( + 18, + n0, + _UAKI, + {_sSI: _cUAKR, _smi: None}, + (_aK, _pO), + ((lambda: schemas.STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), +) + +UPDATE_API_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _UAKO, + {_sSI: _cAK, _smit: None}, + (_i, _v, _n, _cI, _d, _e, _cD, _lUD, _sK, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +UPDATE_API_KEY: StaticOperationSchema = ( + 23, + n0, + _UAK, + { + _smith: MappingProxyType( + {"method": "PATCH", "uri": "/apikeys/{apiKey}", "code": 200} + ) + }, + UPDATE_API_KEY_INPUT, + UPDATE_API_KEY_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_AUTHORIZER_INPUT: StaticSchema = ( + 18, + n0, + _UAIp, + {_sSI: _cUARo, _smi: None}, + (_rAI, _aIu, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_AUTHORIZER_OUTPUT: StaticSchema = ( + 18, + n0, + _UAOp, + {_sSI: _cA, _smit: None}, + (_i, _n, _ty, _pARN, _aT, _aU, _aC, _iS, _iVE, _aRTIS), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.AUTHORIZER_TYPE, 0), + (lambda: schemas.LIST_OF_AR_NS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + ), +) + +UPDATE_AUTHORIZER: StaticOperationSchema = ( + 23, + n0, + _UAp, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/authorizers/{authorizerId}", + "code": 200, + } + ) + }, + UPDATE_AUTHORIZER_INPUT, + UPDATE_AUTHORIZER_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_BASE_PATH_MAPPING_INPUT: StaticSchema = ( + 18, + n0, + _UBPMI, + {_sSI: _cUBPMR, _smi: None}, + (_dN, _dNI, _bP, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _dNI}), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_BASE_PATH_MAPPING_OUTPUT: StaticSchema = ( + 18, + n0, + _UBPMO, + {_sSI: _cBPM, _smit: None}, + (_bP, _rAI, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_BASE_PATH_MAPPING: StaticOperationSchema = ( + 23, + n0, + _UBPM, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/domainnames/{domainName}/basepathmappings/{basePath}", + "code": 200, + } + ) + }, + UPDATE_BASE_PATH_MAPPING_INPUT, + UPDATE_BASE_PATH_MAPPING_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_CLIENT_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _UCCI, + {_sSI: _cUCCR, _smi: None}, + (_cCI, _pO), + ((lambda: schemas.STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), +) + +UPDATE_CLIENT_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _UCCO, + {_sSI: _cCC, _smit: None}, + (_cCI, _d, _pEC, _cD, _eD, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +UPDATE_CLIENT_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _UCC, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/clientcertificates/{clientCertificateId}", + "code": 200, + } + ) + }, + UPDATE_CLIENT_CERTIFICATE_INPUT, + UPDATE_CLIENT_CERTIFICATE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _UDI, + {_sSI: _cUDR, _smi: None}, + (_rAI, _dI, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _UDO, + {_sSI: _cDo, _smit: None}, + (_i, _d, _cD, _aS), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.PATH_TO_MAP_OF_METHOD_SNAPSHOT, 0), + ), +) + +UPDATE_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _UD, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/deployments/{deploymentId}", + "code": 200, + } + ) + }, + UPDATE_DEPLOYMENT_INPUT, + UPDATE_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_DOCUMENTATION_PART_INPUT: StaticSchema = ( + 18, + n0, + _UDPI, + {_sSI: _cUDPR, _smi: None}, + (_rAI, _dPI, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_DOCUMENTATION_PART_OUTPUT: StaticSchema = ( + 18, + n0, + _UDPO, + {_sSI: _cDP, _smit: None}, + (_i, _l, _pr), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DOCUMENTATION_PART_LOCATION, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_DOCUMENTATION_PART: StaticOperationSchema = ( + 23, + n0, + _UDP, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/documentation/parts/{documentationPartId}", + "code": 200, + } + ) + }, + UPDATE_DOCUMENTATION_PART_INPUT, + UPDATE_DOCUMENTATION_PART_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_DOCUMENTATION_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _UDVI, + {_sSI: _cUDVR, _smi: None}, + (_rAI, _dV, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_DOCUMENTATION_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _UDVO, + {_sSI: _cDV, _smit: None}, + (_ve, _cD, _d), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_DOCUMENTATION_VERSION: StaticOperationSchema = ( + 23, + n0, + _UDV, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/documentation/versions/{documentationVersion}", + "code": 200, + } + ) + }, + UPDATE_DOCUMENTATION_VERSION_INPUT, + UPDATE_DOCUMENTATION_VERSION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_DOMAIN_NAME_INPUT: StaticSchema = ( + 18, + n0, + _UDNI, + {_sSI: _cUDNR, _smi: None}, + (_dN, _dNI, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _dNI}), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_DOMAIN_NAME_OUTPUT: StaticSchema = ( + 18, + n0, + _UDNO, + {_sSI: _cDN, _smit: None}, + ( + _dN, + _dNI, + _dNA, + _cN, + _cAe, + _cUD, + _rDN, + _rHZI, + _rCN, + _rCA, + _dDN, + _dHZI, + _eC, + _dNS, + _dNSM, + _sP, + _eAM, + _t, + _mTA, + _oVCA, + _mP, + _po, + _rM, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ENDPOINT_CONFIGURATION, 0), + (lambda: schemas.DOMAIN_NAME_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SECURITY_POLICY, 0), + (lambda: schemas.ENDPOINT_ACCESS_MODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MUTUAL_TLS_AUTHENTICATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ROUTING_MODE, 0), + ), +) + +UPDATE_DOMAIN_NAME: StaticOperationSchema = ( + 23, + n0, + _UDN, + { + _smith: MappingProxyType( + {"method": "PATCH", "uri": "/domainnames/{domainName}", "code": 200} + ) + }, + UPDATE_DOMAIN_NAME_INPUT, + UPDATE_DOMAIN_NAME_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_GATEWAY_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _UGRI, + {_sSI: _cUGRR, _smi: None}, + (_rAI, _rTes, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.GATEWAY_RESPONSE_TYPE, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_GATEWAY_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _UGRO, + {_sSI: _cGR, _smit: None}, + (_rTes, _sC, _rP, _rT, _dR), + ( + (lambda: schemas.GATEWAY_RESPONSE_TYPE, 0), + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + ), +) + +UPDATE_GATEWAY_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _UGR, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/gatewayresponses/{responseType}", + "code": 200, + } + ) + }, + UPDATE_GATEWAY_RESPONSE_INPUT, + UPDATE_GATEWAY_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_INTEGRATION_INPUT: StaticSchema = ( + 18, + n0, + _UII, + {_sSI: _cUIR, _smi: None}, + (_rAI, _rI, _hM, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_INTEGRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UIO, + {_sSI: _cIom, _smit: None}, + ( + _ty, + _hM, + _u, + _cTo, + _cIo, + _cr, + _rPe, + _rTe, + _pB, + _cH, + _tIM, + _cNa, + _cKP, + _iR, + _tC, + _rTM, + _iT, + ), + ( + (lambda: schemas.INTEGRATION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONNECTION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONTENT_HANDLING_STRATEGY, 0), + (lambda: schemas.INTEGER, {_s: 0}), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.MAP_OF_INTEGRATION_RESPONSE, 0), + (lambda: schemas.TLS_CONFIG, 0), + (lambda: schemas.RESPONSE_TRANSFER_MODE, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_INTEGRATION: StaticOperationSchema = ( + 23, + n0, + _UI, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", + "code": 200, + } + ) + }, + UPDATE_INTEGRATION_INPUT, + UPDATE_INTEGRATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_INTEGRATION_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _UIRI, + {_sSI: _cUIRR, _smi: None}, + (_rAI, _rI, _hM, _sC, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STATUS_CODE, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_INTEGRATION_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _UIRO, + {_sSI: _cIR, _smit: None}, + (_sC, _sPe, _rP, _rT, _cH), + ( + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.CONTENT_HANDLING_STRATEGY, 0), + ), +) + +UPDATE_INTEGRATION_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _UIR, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", + "code": 200, + } + ) + }, + UPDATE_INTEGRATION_RESPONSE_INPUT, + UPDATE_INTEGRATION_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_METHOD_INPUT: StaticSchema = ( + 18, + n0, + _UMI, + {_sSI: _cUMR, _smi: None}, + (_rAI, _rI, _hM, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_METHOD_OUTPUT: StaticSchema = ( + 18, + n0, + _UMO, + {_sSI: _cMo, _smit: None}, + (_hM, _aTu, _aIu, _aKR, _rVI, _oN, _rPe, _rMeq, _mR, _mI, _aSu), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.NULLABLE_BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_BOOLEAN, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.MAP_OF_METHOD_RESPONSE, 0), + (lambda: schemas.INTEGRATION, 0), + (lambda: schemas.LIST_OF_STRING, 0), + ), +) + +UPDATE_METHOD: StaticOperationSchema = ( + 23, + n0, + _UM, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "code": 200, + } + ) + }, + UPDATE_METHOD_INPUT, + UPDATE_METHOD_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_METHOD_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _UMRI, + {_sSI: _cUMRR, _smi: None}, + (_rAI, _rI, _hM, _sC, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.STATUS_CODE, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_METHOD_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _UMRO, + {_sSI: _cMR, _smit: None}, + (_sC, _rP, _rMe), + ( + (lambda: schemas.STATUS_CODE, 0), + (lambda: schemas.MAP_OF_STRING_TO_BOOLEAN, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +UPDATE_METHOD_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _UMR, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", + "code": 201, + } + ) + }, + UPDATE_METHOD_RESPONSE_INPUT, + UPDATE_METHOD_RESPONSE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _UMIp, + {_sSI: _cUMRo, _smi: None}, + (_rAI, _mN, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _UMOp, + {_sSI: _cM, _smit: None}, + (_i, _n, _d, _sc, _cT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_MODEL: StaticOperationSchema = ( + 23, + n0, + _UMp, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/models/{modelName}", + "code": 200, + } + ) + }, + UPDATE_MODEL_INPUT, + UPDATE_MODEL_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_REQUEST_VALIDATOR_INPUT: StaticSchema = ( + 18, + n0, + _URVI, + {_sSI: _cURVR, _smi: None}, + (_rAI, _rVI, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_REQUEST_VALIDATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _URVO, + {_sSI: _cRV, _smit: None}, + (_i, _n, _vRB, _vRP), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.BOOLEAN, {_s: False}), + ), +) + +UPDATE_REQUEST_VALIDATOR: StaticOperationSchema = ( + 23, + n0, + _URV, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/requestvalidators/{requestValidatorId}", + "code": 200, + } + ) + }, + UPDATE_REQUEST_VALIDATOR_INPUT, + UPDATE_REQUEST_VALIDATOR_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URIp, + {_sSI: _cURRo, _smi: None}, + (_rAI, _rI, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _UROp, + {_sSI: _cR, _smit: None}, + (_i, _pI, _pP, _p, _rMes), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_METHOD, 0), + ), +) + +UPDATE_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _URp, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/resources/{resourceId}", + "code": 200, + } + ) + }, + UPDATE_RESOURCE_INPUT, + UPDATE_RESOURCE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_REST_API_INPUT: StaticSchema = ( + 18, + n0, + _URAI, + {_sSI: _cURAR, _smi: None}, + (_rAI, _pO), + ((lambda: schemas.STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), +) + +UPDATE_REST_API_OUTPUT: StaticSchema = ( + 18, + n0, + _URAO, + {_sSI: _cRA, _smit: None}, + ( + _i, + _n, + _d, + _cD, + _ve, + _w, + _bMT, + _mCS, + _aKS, + _eC, + _po, + _t, + _dEAE, + _rRI, + _sP, + _eAM, + _aSp, + _aSM, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.API_KEY_SOURCE_TYPE, 0), + (lambda: schemas.ENDPOINT_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.SECURITY_POLICY, 0), + (lambda: schemas.ENDPOINT_ACCESS_MODE, 0), + (lambda: schemas.API_STATUS, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_REST_API: StaticOperationSchema = ( + 23, + n0, + _URA, + { + _smith: MappingProxyType( + {"method": "PATCH", "uri": "/restapis/{restApiId}", "code": 200} + ) + }, + UPDATE_REST_API_INPUT, + UPDATE_REST_API_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_STAGE_INPUT: StaticSchema = ( + 18, + n0, + _USI, + {_sSI: _cUSR, _smi: None}, + (_rAI, _sN, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_STAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _USO, + {_sSI: _cSo, _smit: None}, + ( + _dI, + _cCI, + _sN, + _d, + _cCE, + _cCS, + _cCSa, + _mS, + _va, + _dV, + _aLS, + _cS, + _tE, + _wAA, + _t, + _cD, + _lUD, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.CACHE_CLUSTER_SIZE, 0), + (lambda: schemas.CACHE_CLUSTER_STATUS, 0), + (lambda: schemas.MAP_OF_METHOD_SETTINGS, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACCESS_LOG_SETTINGS, 0), + (lambda: schemas.CANARY_SETTINGS, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +UPDATE_STAGE: StaticOperationSchema = ( + 23, + n0, + _US, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/restapis/{restApiId}/stages/{stageName}", + "code": 200, + } + ) + }, + UPDATE_STAGE_INPUT, + UPDATE_STAGE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_USAGE_INPUT: StaticSchema = ( + 18, + n0, + _UUI, + {_sSI: _cUUR, _smi: None}, + (_uPI, _kI, _pO), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 9), + (LIST_OF_PATCH_OPERATION, 0), + ), +) + +UPDATE_USAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _UUO, + {_sSI: _cU, _smit: None}, + (_uPI, _sDt, _eDn, _it, _pos), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_KEY_USAGES, {_sNm: _val}), + (lambda: schemas.STRING, {_sQ: _pos}), + ), +) + +UPDATE_USAGE: StaticOperationSchema = ( + 23, + n0, + _UU, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/usageplans/{usagePlanId}/keys/{keyId}/usage", + "code": 200, + } + ) + }, + UPDATE_USAGE_INPUT, + UPDATE_USAGE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_USAGE_PLAN_INPUT: StaticSchema = ( + 18, + n0, + _UUPI, + {_sSI: _cUUPR, _smi: None}, + (_uPI, _pO), + ((lambda: schemas.STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), +) + +UPDATE_USAGE_PLAN_OUTPUT: StaticSchema = ( + 18, + n0, + _UUPO, + {_sSI: _cUP, _smit: None}, + (_i, _n, _d, _aSpi, _th, _q, _pC, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_API_STAGE, 0), + (lambda: schemas.THROTTLE_SETTINGS, 0), + (lambda: schemas.QUOTA_SETTINGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +UPDATE_USAGE_PLAN: StaticOperationSchema = ( + 23, + n0, + _UUP, + { + _smith: MappingProxyType( + {"method": "PATCH", "uri": "/usageplans/{usagePlanId}", "code": 200} + ) + }, + UPDATE_USAGE_PLAN_INPUT, + UPDATE_USAGE_PLAN_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +UPDATE_VPC_LINK_INPUT: StaticSchema = ( + 18, + n0, + _UVLI, + {_sSI: _cUVLR, _smi: None}, + (_vLI, _pO), + ((lambda: schemas.STRING, 9), (LIST_OF_PATCH_OPERATION, 0)), +) + +UPDATE_VPC_LINK_OUTPUT: StaticSchema = ( + 18, + n0, + _UVLO, + {_sSI: _cVL, _smit: None}, + (_i, _n, _d, _tA, _sta, _sM, _t), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LIST_OF_STRING, 0), + (lambda: schemas.VPC_LINK_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAP_OF_STRING_TO_STRING, 0), + ), +) + +UPDATE_VPC_LINK: StaticOperationSchema = ( + 23, + n0, + _UVL, + { + _smith: MappingProxyType( + {"method": "PATCH", "uri": "/vpclinks/{vpcLinkId}", "code": 200} + ) + }, + UPDATE_VPC_LINK_INPUT, + UPDATE_VPC_LINK_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + ), +) + +BACKPLANE_CONTROL_SERVICE: StaticSchema = ( + 21, + n0, + _BCS, + { + _aw: MappingProxyType({"name": "apigateway"}), + _aws: MappingProxyType( + { + "sdkId": "API Gateway", + "arnNamespace": "apigateway", + "cloudFormationName": "ApiGateway", + "cloudTrailEventSource": "apigateway.amazonaws.com", + "docId": "apigateway-2015-07-09", + "endpointPrefix": "apigateway", + } + ), + _aJ: None, + }, +) diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/aio/client.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/aio/client.py index c0ef1dfb8..3bc088b5b 100644 --- a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/aio/client.py +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/aio/config.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/aio/config.py index beb680d62..a6fd93469 100644 --- a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/aio/config.py +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/client.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/client.py index e9dcdd305..8ecf1181f 100644 --- a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/client.py +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/config.py b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/config.py index 61de13bbb..2db8c5366 100644 --- a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/config.py +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/models.pyi b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/models.pyi index 047a0eb02..2154f3571 100644 --- a/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/models.pyi +++ b/clients/aws-sdk-api-gateway/src/aws_sdk_api_gateway/models.pyi @@ -1,16 +1,337 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum from typing import Self from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AccessAssociationSourceType as AccessAssociationSourceType, + AccessLogSettings as AccessLogSettings, + ApiKey as ApiKey, + ApiKeysFormat as ApiKeysFormat, + ApiKeySourceType as ApiKeySourceType, + ApiStage as ApiStage, + ApiStatus as ApiStatus, + Authorizer as Authorizer, + AuthorizerType as AuthorizerType, + BadRequestException as BadRequestException, + BasePathMapping as BasePathMapping, + CacheClusterSize as CacheClusterSize, + CacheClusterStatus as CacheClusterStatus, + CanarySettings as CanarySettings, + ClientCertificate as ClientCertificate, + ConflictException as ConflictException, + ConnectionType as ConnectionType, + ContentHandlingStrategy as ContentHandlingStrategy, + CreateApiKeyInput as CreateApiKeyInput, + CreateApiKeyOutput as CreateApiKeyOutput, + CreateAuthorizerInput as CreateAuthorizerInput, + CreateAuthorizerOutput as CreateAuthorizerOutput, + CreateBasePathMappingInput as CreateBasePathMappingInput, + CreateBasePathMappingOutput as CreateBasePathMappingOutput, + CreateDeploymentInput as CreateDeploymentInput, + CreateDeploymentOutput as CreateDeploymentOutput, + CreateDocumentationPartInput as CreateDocumentationPartInput, + CreateDocumentationPartOutput as CreateDocumentationPartOutput, + CreateDocumentationVersionInput as CreateDocumentationVersionInput, + CreateDocumentationVersionOutput as CreateDocumentationVersionOutput, + CreateDomainNameAccessAssociationInput as CreateDomainNameAccessAssociationInput, + CreateDomainNameAccessAssociationOutput as CreateDomainNameAccessAssociationOutput, + CreateDomainNameInput as CreateDomainNameInput, + CreateDomainNameOutput as CreateDomainNameOutput, + CreateModelInput as CreateModelInput, + CreateModelOutput as CreateModelOutput, + CreateRequestValidatorInput as CreateRequestValidatorInput, + CreateRequestValidatorOutput as CreateRequestValidatorOutput, + CreateResourceInput as CreateResourceInput, + CreateResourceOutput as CreateResourceOutput, + CreateRestApiInput as CreateRestApiInput, + CreateRestApiOutput as CreateRestApiOutput, + CreateStageInput as CreateStageInput, + CreateStageOutput as CreateStageOutput, + CreateUsagePlanInput as CreateUsagePlanInput, + CreateUsagePlanKeyInput as CreateUsagePlanKeyInput, + CreateUsagePlanKeyOutput as CreateUsagePlanKeyOutput, + CreateUsagePlanOutput as CreateUsagePlanOutput, + CreateVpcLinkInput as CreateVpcLinkInput, + CreateVpcLinkOutput as CreateVpcLinkOutput, + DeleteApiKeyInput as DeleteApiKeyInput, + DeleteApiKeyOutput as DeleteApiKeyOutput, + DeleteAuthorizerInput as DeleteAuthorizerInput, + DeleteAuthorizerOutput as DeleteAuthorizerOutput, + DeleteBasePathMappingInput as DeleteBasePathMappingInput, + DeleteBasePathMappingOutput as DeleteBasePathMappingOutput, + DeleteClientCertificateInput as DeleteClientCertificateInput, + DeleteClientCertificateOutput as DeleteClientCertificateOutput, + DeleteDeploymentInput as DeleteDeploymentInput, + DeleteDeploymentOutput as DeleteDeploymentOutput, + DeleteDocumentationPartInput as DeleteDocumentationPartInput, + DeleteDocumentationPartOutput as DeleteDocumentationPartOutput, + DeleteDocumentationVersionInput as DeleteDocumentationVersionInput, + DeleteDocumentationVersionOutput as DeleteDocumentationVersionOutput, + DeleteDomainNameAccessAssociationInput as DeleteDomainNameAccessAssociationInput, + DeleteDomainNameAccessAssociationOutput as DeleteDomainNameAccessAssociationOutput, + DeleteDomainNameInput as DeleteDomainNameInput, + DeleteDomainNameOutput as DeleteDomainNameOutput, + DeleteGatewayResponseInput as DeleteGatewayResponseInput, + DeleteGatewayResponseOutput as DeleteGatewayResponseOutput, + DeleteIntegrationInput as DeleteIntegrationInput, + DeleteIntegrationOutput as DeleteIntegrationOutput, + DeleteIntegrationResponseInput as DeleteIntegrationResponseInput, + DeleteIntegrationResponseOutput as DeleteIntegrationResponseOutput, + DeleteMethodInput as DeleteMethodInput, + DeleteMethodOutput as DeleteMethodOutput, + DeleteMethodResponseInput as DeleteMethodResponseInput, + DeleteMethodResponseOutput as DeleteMethodResponseOutput, + DeleteModelInput as DeleteModelInput, + DeleteModelOutput as DeleteModelOutput, + DeleteRequestValidatorInput as DeleteRequestValidatorInput, + DeleteRequestValidatorOutput as DeleteRequestValidatorOutput, + DeleteResourceInput as DeleteResourceInput, + DeleteResourceOutput as DeleteResourceOutput, + DeleteRestApiInput as DeleteRestApiInput, + DeleteRestApiOutput as DeleteRestApiOutput, + DeleteStageInput as DeleteStageInput, + DeleteStageOutput as DeleteStageOutput, + DeleteUsagePlanInput as DeleteUsagePlanInput, + DeleteUsagePlanKeyInput as DeleteUsagePlanKeyInput, + DeleteUsagePlanKeyOutput as DeleteUsagePlanKeyOutput, + DeleteUsagePlanOutput as DeleteUsagePlanOutput, + DeleteVpcLinkInput as DeleteVpcLinkInput, + DeleteVpcLinkOutput as DeleteVpcLinkOutput, + Deployment as Deployment, + DeploymentCanarySettings as DeploymentCanarySettings, + DocumentationPart as DocumentationPart, + DocumentationPartLocation as DocumentationPartLocation, + DocumentationPartType as DocumentationPartType, + DocumentationVersion as DocumentationVersion, + DomainName as DomainName, + DomainNameAccessAssociation as DomainNameAccessAssociation, + DomainNameStatus as DomainNameStatus, + EndpointAccessMode as EndpointAccessMode, + EndpointConfiguration as EndpointConfiguration, + EndpointType as EndpointType, + FlushStageAuthorizersCacheInput as FlushStageAuthorizersCacheInput, + FlushStageAuthorizersCacheOutput as FlushStageAuthorizersCacheOutput, + FlushStageCacheInput as FlushStageCacheInput, + FlushStageCacheOutput as FlushStageCacheOutput, + GatewayResponse as GatewayResponse, + GatewayResponseType as GatewayResponseType, + GenerateClientCertificateInput as GenerateClientCertificateInput, + GenerateClientCertificateOutput as GenerateClientCertificateOutput, + GetAccountInput as GetAccountInput, + GetAccountOutput as GetAccountOutput, + GetApiKeyInput as GetApiKeyInput, + GetApiKeyOutput as GetApiKeyOutput, + GetApiKeysInput as GetApiKeysInput, + GetApiKeysOutput as GetApiKeysOutput, + GetAuthorizerInput as GetAuthorizerInput, + GetAuthorizerOutput as GetAuthorizerOutput, + GetAuthorizersInput as GetAuthorizersInput, + GetAuthorizersOutput as GetAuthorizersOutput, + GetBasePathMappingInput as GetBasePathMappingInput, + GetBasePathMappingOutput as GetBasePathMappingOutput, + GetBasePathMappingsInput as GetBasePathMappingsInput, + GetBasePathMappingsOutput as GetBasePathMappingsOutput, + GetClientCertificateInput as GetClientCertificateInput, + GetClientCertificateOutput as GetClientCertificateOutput, + GetClientCertificatesInput as GetClientCertificatesInput, + GetClientCertificatesOutput as GetClientCertificatesOutput, + GetDeploymentInput as GetDeploymentInput, + GetDeploymentOutput as GetDeploymentOutput, + GetDeploymentsInput as GetDeploymentsInput, + GetDeploymentsOutput as GetDeploymentsOutput, + GetDocumentationPartInput as GetDocumentationPartInput, + GetDocumentationPartOutput as GetDocumentationPartOutput, + GetDocumentationPartsInput as GetDocumentationPartsInput, + GetDocumentationPartsOutput as GetDocumentationPartsOutput, + GetDocumentationVersionInput as GetDocumentationVersionInput, + GetDocumentationVersionOutput as GetDocumentationVersionOutput, + GetDocumentationVersionsInput as GetDocumentationVersionsInput, + GetDocumentationVersionsOutput as GetDocumentationVersionsOutput, + GetDomainNameAccessAssociationsInput as GetDomainNameAccessAssociationsInput, + GetDomainNameAccessAssociationsOutput as GetDomainNameAccessAssociationsOutput, + GetDomainNameInput as GetDomainNameInput, + GetDomainNameOutput as GetDomainNameOutput, + GetDomainNamesInput as GetDomainNamesInput, + GetDomainNamesOutput as GetDomainNamesOutput, + GetExportInput as GetExportInput, + GetExportOutput as GetExportOutput, + GetGatewayResponseInput as GetGatewayResponseInput, + GetGatewayResponseOutput as GetGatewayResponseOutput, + GetGatewayResponsesInput as GetGatewayResponsesInput, + GetGatewayResponsesOutput as GetGatewayResponsesOutput, + GetIntegrationInput as GetIntegrationInput, + GetIntegrationOutput as GetIntegrationOutput, + GetIntegrationResponseInput as GetIntegrationResponseInput, + GetIntegrationResponseOutput as GetIntegrationResponseOutput, + GetMethodInput as GetMethodInput, + GetMethodOutput as GetMethodOutput, + GetMethodResponseInput as GetMethodResponseInput, + GetMethodResponseOutput as GetMethodResponseOutput, + GetModelInput as GetModelInput, + GetModelOutput as GetModelOutput, + GetModelsInput as GetModelsInput, + GetModelsOutput as GetModelsOutput, + GetModelTemplateInput as GetModelTemplateInput, + GetModelTemplateOutput as GetModelTemplateOutput, + GetRequestValidatorInput as GetRequestValidatorInput, + GetRequestValidatorOutput as GetRequestValidatorOutput, + GetRequestValidatorsInput as GetRequestValidatorsInput, + GetRequestValidatorsOutput as GetRequestValidatorsOutput, + GetResourceInput as GetResourceInput, + GetResourceOutput as GetResourceOutput, + GetResourcesInput as GetResourcesInput, + GetResourcesOutput as GetResourcesOutput, + GetRestApiInput as GetRestApiInput, + GetRestApiOutput as GetRestApiOutput, + GetRestApisInput as GetRestApisInput, + GetRestApisOutput as GetRestApisOutput, + GetSdkInput as GetSdkInput, + GetSdkOutput as GetSdkOutput, + GetSdkTypeInput as GetSdkTypeInput, + GetSdkTypeOutput as GetSdkTypeOutput, + GetSdkTypesInput as GetSdkTypesInput, + GetSdkTypesOutput as GetSdkTypesOutput, + GetStageInput as GetStageInput, + GetStageOutput as GetStageOutput, + GetStagesInput as GetStagesInput, + GetStagesOutput as GetStagesOutput, + GetTagsInput as GetTagsInput, + GetTagsOutput as GetTagsOutput, + GetUsageInput as GetUsageInput, + GetUsageOutput as GetUsageOutput, + GetUsagePlanInput as GetUsagePlanInput, + GetUsagePlanKeyInput as GetUsagePlanKeyInput, + GetUsagePlanKeyOutput as GetUsagePlanKeyOutput, + GetUsagePlanKeysInput as GetUsagePlanKeysInput, + GetUsagePlanKeysOutput as GetUsagePlanKeysOutput, + GetUsagePlanOutput as GetUsagePlanOutput, + GetUsagePlansInput as GetUsagePlansInput, + GetUsagePlansOutput as GetUsagePlansOutput, + GetVpcLinkInput as GetVpcLinkInput, + GetVpcLinkOutput as GetVpcLinkOutput, + GetVpcLinksInput as GetVpcLinksInput, + GetVpcLinksOutput as GetVpcLinksOutput, + ImportApiKeysInput as ImportApiKeysInput, + ImportApiKeysOutput as ImportApiKeysOutput, + ImportDocumentationPartsInput as ImportDocumentationPartsInput, + ImportDocumentationPartsOutput as ImportDocumentationPartsOutput, + ImportRestApiInput as ImportRestApiInput, + ImportRestApiOutput as ImportRestApiOutput, + Integration as Integration, + IntegrationResponse as IntegrationResponse, + IntegrationType as IntegrationType, + IpAddressType as IpAddressType, + LimitExceededException as LimitExceededException, + LocationStatusType as LocationStatusType, + Method as Method, + MethodResponse as MethodResponse, + MethodSetting as MethodSetting, + MethodSnapshot as MethodSnapshot, + Model as Model, + MutualTlsAuthentication as MutualTlsAuthentication, + MutualTlsAuthenticationInput as MutualTlsAuthenticationInput, + NotFoundException as NotFoundException, + Op as Op, + PatchOperation as PatchOperation, + PutGatewayResponseInput as PutGatewayResponseInput, + PutGatewayResponseOutput as PutGatewayResponseOutput, + PutIntegrationInput as PutIntegrationInput, + PutIntegrationOutput as PutIntegrationOutput, + PutIntegrationResponseInput as PutIntegrationResponseInput, + PutIntegrationResponseOutput as PutIntegrationResponseOutput, + PutMethodInput as PutMethodInput, + PutMethodOutput as PutMethodOutput, + PutMethodResponseInput as PutMethodResponseInput, + PutMethodResponseOutput as PutMethodResponseOutput, + PutMode as PutMode, + PutRestApiInput as PutRestApiInput, + PutRestApiOutput as PutRestApiOutput, + QuotaPeriodType as QuotaPeriodType, + QuotaSettings as QuotaSettings, + RejectDomainNameAccessAssociationInput as RejectDomainNameAccessAssociationInput, + RejectDomainNameAccessAssociationOutput as RejectDomainNameAccessAssociationOutput, + RequestValidator as RequestValidator, + Resource as Resource, + ResourceOwner as ResourceOwner, +) + +from ._private.models_1 import ( + ResponseTransferMode as ResponseTransferMode, + RestApi as RestApi, + RoutingMode as RoutingMode, + SdkConfigurationProperty as SdkConfigurationProperty, + SdkType as SdkType, + SecurityPolicy as SecurityPolicy, + ServiceUnavailableException as ServiceUnavailableException, + Stage as Stage, + StageKey as StageKey, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + TestInvokeAuthorizerInput as TestInvokeAuthorizerInput, + TestInvokeAuthorizerOutput as TestInvokeAuthorizerOutput, + TestInvokeMethodInput as TestInvokeMethodInput, + TestInvokeMethodOutput as TestInvokeMethodOutput, + ThrottleSettings as ThrottleSettings, + TlsConfig as TlsConfig, + TooManyRequestsException as TooManyRequestsException, + UnauthorizedCacheControlHeaderStrategy as UnauthorizedCacheControlHeaderStrategy, + UnauthorizedException as UnauthorizedException, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateAccountInput as UpdateAccountInput, + UpdateAccountOutput as UpdateAccountOutput, + UpdateApiKeyInput as UpdateApiKeyInput, + UpdateApiKeyOutput as UpdateApiKeyOutput, + UpdateAuthorizerInput as UpdateAuthorizerInput, + UpdateAuthorizerOutput as UpdateAuthorizerOutput, + UpdateBasePathMappingInput as UpdateBasePathMappingInput, + UpdateBasePathMappingOutput as UpdateBasePathMappingOutput, + UpdateClientCertificateInput as UpdateClientCertificateInput, + UpdateClientCertificateOutput as UpdateClientCertificateOutput, + UpdateDeploymentInput as UpdateDeploymentInput, + UpdateDeploymentOutput as UpdateDeploymentOutput, + UpdateDocumentationPartInput as UpdateDocumentationPartInput, + UpdateDocumentationPartOutput as UpdateDocumentationPartOutput, + UpdateDocumentationVersionInput as UpdateDocumentationVersionInput, + UpdateDocumentationVersionOutput as UpdateDocumentationVersionOutput, + UpdateDomainNameInput as UpdateDomainNameInput, + UpdateDomainNameOutput as UpdateDomainNameOutput, + UpdateGatewayResponseInput as UpdateGatewayResponseInput, + UpdateGatewayResponseOutput as UpdateGatewayResponseOutput, + UpdateIntegrationInput as UpdateIntegrationInput, + UpdateIntegrationOutput as UpdateIntegrationOutput, + UpdateIntegrationResponseInput as UpdateIntegrationResponseInput, + UpdateIntegrationResponseOutput as UpdateIntegrationResponseOutput, + UpdateMethodInput as UpdateMethodInput, + UpdateMethodOutput as UpdateMethodOutput, + UpdateMethodResponseInput as UpdateMethodResponseInput, + UpdateMethodResponseOutput as UpdateMethodResponseOutput, + UpdateModelInput as UpdateModelInput, + UpdateModelOutput as UpdateModelOutput, + UpdateRequestValidatorInput as UpdateRequestValidatorInput, + UpdateRequestValidatorOutput as UpdateRequestValidatorOutput, + UpdateResourceInput as UpdateResourceInput, + UpdateResourceOutput as UpdateResourceOutput, + UpdateRestApiInput as UpdateRestApiInput, + UpdateRestApiOutput as UpdateRestApiOutput, + UpdateStageInput as UpdateStageInput, + UpdateStageOutput as UpdateStageOutput, + UpdateUsageInput as UpdateUsageInput, + UpdateUsageOutput as UpdateUsageOutput, + UpdateUsagePlanInput as UpdateUsagePlanInput, + UpdateUsagePlanOutput as UpdateUsagePlanOutput, + UpdateVpcLinkInput as UpdateVpcLinkInput, + UpdateVpcLinkOutput as UpdateVpcLinkOutput, + UsagePlan as UsagePlan, + UsagePlanKey as UsagePlanKey, + VpcLink as VpcLink, + VpcLinkStatus as VpcLinkStatus, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -26,8803 +347,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -class AccessAssociationSourceType(UnknownEnumMixin, StrEnum): - VPCE = "VPCE" - -@dataclass(kw_only=True) -class AccessLogSettings(_SerdeShape): - """ - Access log settings, including the access log format and access log - destination ARN. - """ - - format: str | None = ... - """ - A single line format of the access logs of data, as specified by - selected $context variables. The format must include at least - `$context.requestId`. - """ - destination_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or - Kinesis Data Firehose delivery stream to receive access logs. If you - specify a Kinesis Data Firehose delivery stream, the stream name must - begin with `amazon-apigateway-`. - """ - -@dataclass(kw_only=True) -class ApiKey(_SerdeShape): - """ - A resource that can be distributed to callers for executing Method - resources that require an API key. API keys can be mapped to any Stage - on any RestApi, which indicates that the callers with the API key can - make requests to that stage. - """ - - id: str | None = ... - """The identifier of the API Key.""" - value: str | None = ... - """The value of the API Key.""" - name: str | None = ... - """The name of the API Key.""" - customer_id: str | None = ... - """ - An Amazon Web Services Marketplace customer identifier, when integrating - with the Amazon Web Services SaaS Marketplace. - """ - description: str | None = ... - """The description of the API Key.""" - enabled: bool = ... - """Specifies whether the API Key can be used by callers.""" - created_date: datetime | None = ... - """The timestamp when the API Key was created.""" - last_updated_date: datetime | None = ... - """The timestamp when the API Key was last updated.""" - stage_keys: list[str] | None = ... - """A list of Stage resources that are associated with the ApiKey resource.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - -class ApiKeysFormat(UnknownEnumMixin, StrEnum): - CSV = "csv" - -class ApiKeySourceType(UnknownEnumMixin, StrEnum): - HEADER = "HEADER" - AUTHORIZER = "AUTHORIZER" - -@dataclass(kw_only=True) -class ApiStage(_SerdeShape): - """API stage name of the associated API stage in a usage plan.""" - - api_id: str | None = ... - """API Id of the associated API stage in a usage plan.""" - stage: str | None = ... - """API stage name of the associated API stage in a usage plan.""" - throttle: dict[str, ThrottleSettings] | None = ... - """ - Map containing method level throttling information for API stage in a - usage plan. - """ - -class ApiStatus(UnknownEnumMixin, StrEnum): - UPDATING = "UPDATING" - AVAILABLE = "AVAILABLE" - PENDING = "PENDING" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class Authorizer(_SerdeShape): - """ - Represents an authorization layer for methods. If enabled on a method, - API Gateway will activate the authorizer when a client calls the method. - """ - - id: str | None = ... - """The identifier for the authorizer resource.""" - name: str | None = ... - """The name of the authorizer.""" - type: str | None = ... - """ - The authorizer type. Valid values are `TOKEN` for a Lambda function - using a single authorization token submitted in a custom header, - `REQUEST` for a Lambda function using incoming request parameters, and - `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. - """ - provider_ar_ns: list[str] | None = ... - """ - A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` - authorizer. Each element is of this format: - `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For - a `TOKEN` or `REQUEST` authorizer, this is not defined. - """ - auth_type: str | None = ... - """ - Optional customer-defined field, used in OpenAPI imports and exports - without functional impact. - """ - authorizer_uri: str | None = ... - """ - Specifies the authorizer's Uniform Resource Identifier (URI). For - `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda - function URI, for example, - `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. - In general, the URI has this form - `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where - `{region}` is the same as the region hosting the Lambda function, `path` - indicates that the remaining substring in the URI should be treated as - the path to the resource, including the initial `/`. For Lambda - functions, this is usually of the form - `/2015-03-31/functions/[FunctionARN]/invocations`. - """ - authorizer_credentials: str | None = ... - """ - Specifies the required credentials as an IAM role for API Gateway to - invoke the authorizer. To specify an IAM role for API Gateway to assume, - use the role's Amazon Resource Name (ARN). To use resource-based - permissions on the Lambda function, specify null. - """ - identity_source: str | None = ... - """ - The identity source for which authorization is requested. For a `TOKEN` - or `COGNITO_USER_POOLS` authorizer, this is required and specifies the - request header mapping expression for the custom header holding the - authorization token submitted by the client. For example, if the token - header name is `Auth`, the header mapping expression is - `method.request.header.Auth`. For the `REQUEST` authorizer, this is - required when authorization caching is enabled. The value is a - comma-separated string of one or more mapping expressions of the - specified request parameters. For example, if an `Auth` header, a `Name` - query string parameter are defined as identity sources, this value is - `method.request.header.Auth`, `method.request.querystring.Name`. These - parameters will be used to derive the authorization caching key and to - perform runtime validation of the `REQUEST` authorizer by verifying all - of the identity-related request parameters are present, not null and - non-empty. Only when this is true does the authorizer invoke the - authorizer Lambda function, otherwise, it returns a 401 Unauthorized - response without calling the Lambda function. The valid value is a - string of comma-separated mapping expressions of the specified request - parameters. When the authorization caching is not enabled, this property - is optional. - """ - identity_validation_expression: str | None = ... - """ - A validation expression for the incoming identity token. For `TOKEN` - authorizers, this value is a regular expression. For - `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field - of the incoming token from the client against the specified regular - expression. It will invoke the authorizer's Lambda function when there - is a match. Otherwise, it will return a 401 Unauthorized response - without calling the Lambda function. The validation expression does not - apply to the `REQUEST` authorizer. - """ - authorizer_result_ttl_in_seconds: int | None = ... - """ - The TTL in seconds of cached authorizer results. If it equals 0, - authorization caching is disabled. If it is greater than 0, API Gateway - will cache authorizer responses. If this field is not set, the default - value is 300. The maximum value is 3600, or 1 hour. - """ - -class AuthorizerType(UnknownEnumMixin, StrEnum): - """ - The authorizer type. Valid values are `TOKEN` for a Lambda function - using a single authorization token submitted in a custom header, - `REQUEST` for a Lambda function using incoming request parameters, and - `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. - """ - - TOKEN = "TOKEN" - REQUEST = "REQUEST" - COGNITO_USER_POOLS = "COGNITO_USER_POOLS" - -@dataclass(kw_only=True) -class BadRequestException(ServiceError, _SerdeShape): - """ - The submitted request is not valid, for example, the input is incomplete - or incorrect. See the accompanying error message for details. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BasePathMapping(_SerdeShape): - """ - Represents the base path that callers of the API must provide as part of - the URL after the domain name. - """ - - base_path: str | None = ... - """ - The base path name that callers of the API must provide as part of the - URL after the domain name. - """ - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage: str | None = ... - """The name of the associated stage.""" - -class CacheClusterSize(UnknownEnumMixin, StrEnum): - """Returns the size of the CacheCluster.""" - - SIZE_0_POINT_5_GB = "0.5" - SIZE_1_POINT_6_GB = "1.6" - SIZE_6_POINT_1_GB = "6.1" - SIZE_13_POINT_5_GB = "13.5" - SIZE_28_POINT_4_GB = "28.4" - SIZE_58_POINT_2_GB = "58.2" - SIZE_118_GB = "118" - SIZE_237_GB = "237" - -class CacheClusterStatus(UnknownEnumMixin, StrEnum): - """Returns the status of the CacheCluster.""" - - CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" - AVAILABLE = "AVAILABLE" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - NOT_AVAILABLE = "NOT_AVAILABLE" - FLUSH_IN_PROGRESS = "FLUSH_IN_PROGRESS" - -@dataclass(kw_only=True) -class CanarySettings(_SerdeShape): - """Configuration settings of a canary deployment.""" - - percent_traffic: float = ... - """The percent (0-100) of traffic diverted to a canary deployment.""" - deployment_id: str | None = ... - """The ID of the canary deployment.""" - stage_variable_overrides: dict[str, str] | None = ... - """ - Stage variables overridden for a canary release deployment, including - new stage variables introduced in the canary. These stage variables are - represented as a string-to-string map between stage variable names and - their values. - """ - use_stage_cache: bool = ... - """ - A Boolean flag to indicate whether the canary deployment uses the stage - cache or not. - """ - -@dataclass(kw_only=True) -class ClientCertificate(_SerdeShape): - """ - Represents a client certificate used to configure client-side SSL - authentication while sending requests to the integration endpoint. - """ - - client_certificate_id: str | None = ... - """The identifier of the client certificate.""" - description: str | None = ... - """The description of the client certificate.""" - pem_encoded_certificate: str | None = ... - """ - The PEM-encoded public key of the client certificate, which can be used - to configure certificate authentication in the integration endpoint . - """ - created_date: datetime | None = ... - """The timestamp when the client certificate was created.""" - expiration_date: datetime | None = ... - """The timestamp when the client certificate will expire.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """ - The request configuration has conflicts. For details, see the - accompanying error message. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ConnectionType(UnknownEnumMixin, StrEnum): - INTERNET = "INTERNET" - VPC_LINK = "VPC_LINK" - -class ContentHandlingStrategy(UnknownEnumMixin, StrEnum): - CONVERT_TO_BINARY = "CONVERT_TO_BINARY" - CONVERT_TO_TEXT = "CONVERT_TO_TEXT" - -@dataclass(kw_only=True) -class CreateApiKeyInput(_SerdeShape): - """Request to create an ApiKey resource.""" - - name: str | None = ... - """The name of the ApiKey.""" - description: str | None = ... - """The description of the ApiKey.""" - enabled: bool = ... - """Specifies whether the ApiKey can be used by callers.""" - generate_distinct_id: bool = ... - """ - Specifies whether (`true`) or not (`false`) the key identifier is - distinct from the created API key value. This parameter is deprecated - and should not be used. - """ - value: str | None = ... - """Specifies a value of the API key.""" - stage_keys: list[StageKey] | None = ... - """ - DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API - key. - """ - customer_id: str | None = ... - """ - An Amazon Web Services Marketplace customer identifier, when integrating - with the Amazon Web Services SaaS Marketplace. - """ - tags: dict[str, str] | None = ... - """ - The key-value map of strings. The valid character set is - [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not - start with `aws:`. The tag value can be up to 256 characters. - """ - -@dataclass(kw_only=True) -class CreateApiKeyOutput(_SerdeShape): - """ - A resource that can be distributed to callers for executing Method - resources that require an API key. API keys can be mapped to any Stage - on any RestApi, which indicates that the callers with the API key can - make requests to that stage. - """ - - id: str | None = ... - """The identifier of the API Key.""" - value: str | None = ... - """The value of the API Key.""" - name: str | None = ... - """The name of the API Key.""" - customer_id: str | None = ... - """ - An Amazon Web Services Marketplace customer identifier, when integrating - with the Amazon Web Services SaaS Marketplace. - """ - description: str | None = ... - """The description of the API Key.""" - enabled: bool = ... - """Specifies whether the API Key can be used by callers.""" - created_date: datetime | None = ... - """The timestamp when the API Key was created.""" - last_updated_date: datetime | None = ... - """The timestamp when the API Key was last updated.""" - stage_keys: list[str] | None = ... - """A list of Stage resources that are associated with the ApiKey resource.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAuthorizerInput(_SerdeShape): - """Request to add a new Authorizer to an existing RestApi resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - name: str | None = ... - """The name of the authorizer.""" - type: str | None = ... - """ - The authorizer type. Valid values are `TOKEN` for a Lambda function - using a single authorization token submitted in a custom header, - `REQUEST` for a Lambda function using incoming request parameters, and - `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. - """ - provider_ar_ns: list[str] | None = ... - """ - A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` - authorizer. Each element is of this format: - `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For - a `TOKEN` or `REQUEST` authorizer, this is not defined. - """ - auth_type: str | None = ... - """ - Optional customer-defined field, used in OpenAPI imports and exports - without functional impact. - """ - authorizer_uri: str | None = ... - """ - Specifies the authorizer's Uniform Resource Identifier (URI). For - `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda - function URI, for example, - `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. - In general, the URI has this form - `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where - `{region}` is the same as the region hosting the Lambda function, `path` - indicates that the remaining substring in the URI should be treated as - the path to the resource, including the initial `/`. For Lambda - functions, this is usually of the form - `/2015-03-31/functions/[FunctionARN]/invocations`. - """ - authorizer_credentials: str | None = ... - """ - Specifies the required credentials as an IAM role for API Gateway to - invoke the authorizer. To specify an IAM role for API Gateway to assume, - use the role's Amazon Resource Name (ARN). To use resource-based - permissions on the Lambda function, specify null. - """ - identity_source: str | None = ... - """ - The identity source for which authorization is requested. For a `TOKEN` - or `COGNITO_USER_POOLS` authorizer, this is required and specifies the - request header mapping expression for the custom header holding the - authorization token submitted by the client. For example, if the token - header name is `Auth`, the header mapping expression is - `method.request.header.Auth`. For the `REQUEST` authorizer, this is - required when authorization caching is enabled. The value is a - comma-separated string of one or more mapping expressions of the - specified request parameters. For example, if an `Auth` header, a `Name` - query string parameter are defined as identity sources, this value is - `method.request.header.Auth, method.request.querystring.Name`. These - parameters will be used to derive the authorization caching key and to - perform runtime validation of the `REQUEST` authorizer by verifying all - of the identity-related request parameters are present, not null and - non-empty. Only when this is true does the authorizer invoke the - authorizer Lambda function, otherwise, it returns a 401 Unauthorized - response without calling the Lambda function. The valid value is a - string of comma-separated mapping expressions of the specified request - parameters. When the authorization caching is not enabled, this property - is optional. - """ - identity_validation_expression: str | None = ... - """ - A validation expression for the incoming identity token. For `TOKEN` - authorizers, this value is a regular expression. For - `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field - of the incoming token from the client against the specified regular - expression. It will invoke the authorizer's Lambda function when there - is a match. Otherwise, it will return a 401 Unauthorized response - without calling the Lambda function. The validation expression does not - apply to the `REQUEST` authorizer. - """ - authorizer_result_ttl_in_seconds: int | None = ... - """ - The TTL in seconds of cached authorizer results. If it equals 0, - authorization caching is disabled. If it is greater than 0, API Gateway - will cache authorizer responses. If this field is not set, the default - value is 300. The maximum value is 3600, or 1 hour. - """ - -@dataclass(kw_only=True) -class CreateAuthorizerOutput(_SerdeShape): - """ - Represents an authorization layer for methods. If enabled on a method, - API Gateway will activate the authorizer when a client calls the method. - """ - - id: str | None = ... - """The identifier for the authorizer resource.""" - name: str | None = ... - """The name of the authorizer.""" - type: str | None = ... - """ - The authorizer type. Valid values are `TOKEN` for a Lambda function - using a single authorization token submitted in a custom header, - `REQUEST` for a Lambda function using incoming request parameters, and - `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. - """ - provider_ar_ns: list[str] | None = ... - """ - A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` - authorizer. Each element is of this format: - `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For - a `TOKEN` or `REQUEST` authorizer, this is not defined. - """ - auth_type: str | None = ... - """ - Optional customer-defined field, used in OpenAPI imports and exports - without functional impact. - """ - authorizer_uri: str | None = ... - """ - Specifies the authorizer's Uniform Resource Identifier (URI). For - `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda - function URI, for example, - `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. - In general, the URI has this form - `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where - `{region}` is the same as the region hosting the Lambda function, `path` - indicates that the remaining substring in the URI should be treated as - the path to the resource, including the initial `/`. For Lambda - functions, this is usually of the form - `/2015-03-31/functions/[FunctionARN]/invocations`. - """ - authorizer_credentials: str | None = ... - """ - Specifies the required credentials as an IAM role for API Gateway to - invoke the authorizer. To specify an IAM role for API Gateway to assume, - use the role's Amazon Resource Name (ARN). To use resource-based - permissions on the Lambda function, specify null. - """ - identity_source: str | None = ... - """ - The identity source for which authorization is requested. For a `TOKEN` - or `COGNITO_USER_POOLS` authorizer, this is required and specifies the - request header mapping expression for the custom header holding the - authorization token submitted by the client. For example, if the token - header name is `Auth`, the header mapping expression is - `method.request.header.Auth`. For the `REQUEST` authorizer, this is - required when authorization caching is enabled. The value is a - comma-separated string of one or more mapping expressions of the - specified request parameters. For example, if an `Auth` header, a `Name` - query string parameter are defined as identity sources, this value is - `method.request.header.Auth`, `method.request.querystring.Name`. These - parameters will be used to derive the authorization caching key and to - perform runtime validation of the `REQUEST` authorizer by verifying all - of the identity-related request parameters are present, not null and - non-empty. Only when this is true does the authorizer invoke the - authorizer Lambda function, otherwise, it returns a 401 Unauthorized - response without calling the Lambda function. The valid value is a - string of comma-separated mapping expressions of the specified request - parameters. When the authorization caching is not enabled, this property - is optional. - """ - identity_validation_expression: str | None = ... - """ - A validation expression for the incoming identity token. For `TOKEN` - authorizers, this value is a regular expression. For - `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field - of the incoming token from the client against the specified regular - expression. It will invoke the authorizer's Lambda function when there - is a match. Otherwise, it will return a 401 Unauthorized response - without calling the Lambda function. The validation expression does not - apply to the `REQUEST` authorizer. - """ - authorizer_result_ttl_in_seconds: int | None = ... - """ - The TTL in seconds of cached authorizer results. If it equals 0, - authorization caching is disabled. If it is greater than 0, API Gateway - will cache authorizer responses. If this field is not set, the default - value is 300. The maximum value is 3600, or 1 hour. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateBasePathMappingInput(_SerdeShape): - """Requests API Gateway to create a new BasePathMapping resource.""" - - domain_name: str | None = ... - """The domain name of the BasePathMapping resource to create.""" - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Required for private custom - domain names. - """ - base_path: str | None = ... - """ - The base path name that callers of the API must provide as part of the - URL after the domain name. This value must be unique for all of the - mappings across a single API. Specify '(none)' if you do not want - callers to specify a base path name after the domain name. - """ - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage: str | None = ... - """ - The name of the API's stage that you want to use for this mapping. - Specify '(none)' if you want callers to explicitly specify the stage - name after any base path name. - """ - -@dataclass(kw_only=True) -class CreateBasePathMappingOutput(_SerdeShape): - """ - Represents the base path that callers of the API must provide as part of - the URL after the domain name. - """ - - base_path: str | None = ... - """ - The base path name that callers of the API must provide as part of the - URL after the domain name. - """ - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage: str | None = ... - """The name of the associated stage.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDeploymentInput(_SerdeShape): - """Requests API Gateway to create a Deployment resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """The name of the Stage resource for the Deployment resource to create.""" - stage_description: str | None = ... - """ - The description of the Stage resource for the Deployment resource to - create. - """ - description: str | None = ... - """The description for the Deployment resource to create.""" - cache_cluster_enabled: bool | None = ... - """Enables a cache cluster for the Stage resource specified in the input.""" - cache_cluster_size: str | None = ... - """ - The stage's cache capacity in GB. For more information about choosing a - cache size, see [Enabling API caching to enhance - responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). - """ - variables: dict[str, str] | None = ... - """ - A map that defines the stage variables for the Stage resource that is - associated with the new deployment. Variable names can have alphanumeric - and underscore characters, and the values must match - `[A-Za-z0-9-._~:/?#&=,]+`. - """ - canary_settings: DeploymentCanarySettings | None = ... - """ - The input configuration for the canary deployment when the deployment is - a canary release deployment. - """ - tracing_enabled: bool | None = ... - """Specifies whether active tracing with X-ray is enabled for the Stage.""" - -@dataclass(kw_only=True) -class CreateDeploymentOutput(_SerdeShape): - """ - An immutable representation of a RestApi resource that can be called by - users using Stages. A deployment must be associated with a Stage for it - to be callable over the Internet. - """ - - id: str | None = ... - """The identifier for the deployment resource.""" - description: str | None = ... - """The description for the deployment resource.""" - created_date: datetime | None = ... - """The date and time that the deployment resource was created.""" - api_summary: dict[str, dict[str, MethodSnapshot]] | None = ... - """ - A summary of the RestApi at the date and time that the deployment - resource was created. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDocumentationPartInput(_SerdeShape): - """Creates a new documentation part of a given API.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - location: DocumentationPartLocation | None = ... - """ - The location of the targeted API entity of the to-be-created - documentation part. - """ - properties: str | None = ... - """ - The new documentation content map of the targeted API entity. Enclosed - key-value pairs are API-specific, but only OpenAPI-compliant key-value - pairs can be exported and, hence, published. - """ - -@dataclass(kw_only=True) -class CreateDocumentationPartOutput(_SerdeShape): - """A documentation part for a targeted API entity.""" - - id: str | None = ... - """ - The DocumentationPart identifier, generated by API Gateway when the - `DocumentationPart` is created. - """ - location: DocumentationPartLocation | None = ... - """ - The location of the API entity to which the documentation applies. Valid - fields depend on the targeted API entity type. All the valid location - fields are not required. If not explicitly specified, a valid location - field is treated as a wildcard and associated documentation content may - be inherited by matching entities, unless overridden. - """ - properties: str | None = ... - """ - A content map of API-specific key-value pairs describing the targeted - API entity. The map must be encoded as a JSON string, e.g., - `"{ \"description\": \"The API does ...\" }"`. Only OpenAPI-compliant - documentation-related fields from the properties map are exported and, - hence, published as part of the API entity definitions, while the - original documentation parts are exported in a OpenAPI extension of - `x-amazon-apigateway-documentation`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDocumentationVersionInput(_SerdeShape): - """Creates a new documentation version of a given API.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - documentation_version: str | None = ... - """The version identifier of the new snapshot.""" - stage_name: str | None = ... - """The stage name to be associated with the new documentation snapshot.""" - description: str | None = ... - """A description about the new documentation snapshot.""" - -@dataclass(kw_only=True) -class CreateDocumentationVersionOutput(_SerdeShape): - """A snapshot of the documentation of an API.""" - - version: str | None = ... - """The version identifier of the API documentation snapshot.""" - created_date: datetime | None = ... - """The date when the API documentation snapshot is created.""" - description: str | None = ... - """The description of the API documentation snapshot.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDomainNameAccessAssociationInput(_SerdeShape): - """Dataclass for CreateDomainNameAccessAssociationInput structure.""" - - domain_name_arn: str | None = ... - """The ARN of the domain name.""" - access_association_source_type: str | None = ... - """The type of the domain name access association source.""" - access_association_source: str | None = ... - """ - The identifier of the domain name access association source. For a VPCE, - the value is the VPC endpoint ID. - """ - tags: dict[str, str] | None = ... - """ - The key-value map of strings. The valid character set is - [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not - start with `aws:`. The tag value can be up to 256 characters. - """ - -@dataclass(kw_only=True) -class CreateDomainNameAccessAssociationOutput(_SerdeShape): - """ - Represents a domain name access association between an access - association source and a private custom domain name. With a domain name - access association, an access association source can invoke a private - custom domain name while isolated from the public internet. - """ - - domain_name_access_association_arn: str | None = ... - """The ARN of the domain name access association resource.""" - domain_name_arn: str | None = ... - """The ARN of the domain name.""" - access_association_source_type: str | None = ... - """The type of the domain name access association source.""" - access_association_source: str | None = ... - """ - The ARN of the domain name access association source. For a VPCE, the - ARN must be a VPC endpoint. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDomainNameInput(_SerdeShape): - """A request to create a new domain name.""" - - domain_name: str | None = ... - """The name of the DomainName resource.""" - certificate_name: str | None = ... - """ - The user-friendly name of the certificate that will be used by - edge-optimized endpoint or private endpoint for this domain name. - """ - certificate_body: str | None = ... - """ - [Deprecated] The body of the server certificate that will be used by - edge-optimized endpoint or private endpoint for this domain name - provided by your certificate authority. - """ - certificate_private_key: str | None = ... - """ - [Deprecated] Your edge-optimized endpoint's domain name - certificate's private key. - """ - certificate_chain: str | None = ... - """ - [Deprecated] The intermediate certificates and optionally the root - certificate, one after the other without any blank lines, used by an - edge-optimized endpoint for this domain name. If you include the root - certificate, your certificate chain must start with intermediate - certificates and end with the root certificate. Use the intermediate - certificates that were provided by your certificate authority. Do not - include any intermediaries that are not in the chain of trust path. - """ - certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used by edge-optimized endpoint or private endpoint for this domain - name. Certificate Manager is the only supported source. - """ - regional_certificate_name: str | None = ... - """ - The user-friendly name of the certificate that will be used by regional - endpoint for this domain name. - """ - regional_certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used by regional endpoint for this domain name. Certificate Manager is - the only supported source. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this DomainName showing the endpoint types - and IP address types of the domain name. - """ - tags: dict[str, str] | None = ... - """ - The key-value map of strings. The valid character set is - [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not - start with `aws:`. The tag value can be up to 256 characters. - """ - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - DomainName. - """ - endpoint_access_mode: str | None = ... - """ - The endpoint access mode of the DomainName. Only available for - DomainNames that use security policies that start with - `SecurityPolicy_`. - """ - mutual_tls_authentication: MutualTlsAuthenticationInput | None = ... - """ - The mutual TLS authentication configuration for a custom domain name. If - specified, API Gateway performs two-way authentication between the - client and the server. Clients must present a trusted certificate to - access your API. - """ - ownership_verification_certificate_arn: str | None = ... - """ - The ARN of the public certificate issued by ACM to validate ownership of - your custom domain. Only required when configuring mutual TLS and using - an ACM imported or private CA certificate ARN as the - regionalCertificateArn. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to the `execute-api` - service for this DomainName regardless of the caller and Method - configuration. Supported only for private custom domain names. - """ - routing_mode: str | None = ... - """ - The routing mode for this domain name. The routing mode determines how - API Gateway sends traffic from your custom domain name to your private - APIs. - """ - -@dataclass(kw_only=True) -class CreateDomainNameOutput(_SerdeShape): - """ - Represents a custom domain name as a user-friendly host name of an API - (RestApi). - """ - - domain_name: str | None = ... - """ - The custom domain name as an API host name, for example, - `my-api.example.com`. - """ - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - domain_name_arn: str | None = ... - """The ARN of the domain name.""" - certificate_name: str | None = ... - """ - The name of the certificate that will be used by edge-optimized endpoint - or private endpoint for this domain name. - """ - certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used by edge-optimized endpoint or private endpoint for this domain - name. Certificate Manager is the only supported source. - """ - certificate_upload_date: datetime | None = ... - """ - The timestamp when the certificate that was used by edge-optimized - endpoint or private endpoint for this domain name was uploaded. - """ - regional_domain_name: str | None = ... - """ - The domain name associated with the regional endpoint for this custom - domain name. You set up this association by adding a DNS record that - points the custom domain name to this regional domain name. The regional - domain name is returned by API Gateway when you create a regional - endpoint. - """ - regional_hosted_zone_id: str | None = ... - """ - The region-specific Amazon Route 53 Hosted Zone ID of the regional - endpoint. For more information, see Set up a Regional Custom Domain Name - and AWS Regions and Endpoints for API Gateway. - """ - regional_certificate_name: str | None = ... - """ - The name of the certificate that will be used for validating the - regional domain name. - """ - regional_certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used for validating the regional domain name. Certificate Manager is the - only supported source. - """ - distribution_domain_name: str | None = ... - """ - The domain name of the Amazon CloudFront distribution associated with - this custom domain name for an edge-optimized endpoint. You set up this - association when adding a DNS record pointing the custom domain name to - this distribution name. For more information about CloudFront - distributions, see the Amazon CloudFront documentation. - """ - distribution_hosted_zone_id: str | None = ... - """ - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized - endpoint. The valid value is `Z2FDTNDATAQYW2` for all the regions. For - more information, see Set up a Regional Custom Domain Name and AWS - Regions and Endpoints for API Gateway. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this DomainName showing the endpoint types - and IP address types of the domain name. - """ - domain_name_status: str | None = ... - """ - The status of the DomainName migration. The valid values are `AVAILABLE` - and `UPDATING`. If the status is `UPDATING`, the domain cannot be - modified further until the existing operation is complete. If it is - `AVAILABLE`, the domain can be updated. - """ - domain_name_status_message: str | None = ... - """ - An optional text message containing detailed information about status of - the DomainName migration. - """ - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - DomainName. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the DomainName.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - mutual_tls_authentication: MutualTlsAuthentication | None = ... - """ - The mutual TLS authentication configuration for a custom domain name. If - specified, API Gateway performs two-way authentication between the - client and the server. Clients must present a trusted certificate to - access your API. - """ - ownership_verification_certificate_arn: str | None = ... - """ - The ARN of the public certificate issued by ACM to validate ownership of - your custom domain. Only required when configuring mutual TLS and using - an ACM imported or private CA certificate ARN as the - regionalCertificateArn. - """ - management_policy: str | None = ... - """ - A stringified JSON policy document that applies to the API Gateway - Management service for this DomainName. This policy document controls - access for access association sources to create domain name access - associations with this DomainName. Supported only for private custom - domain names. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to the `execute-api` - service for this DomainName regardless of the caller and Method - configuration. Supported only for private custom domain names. - """ - routing_mode: str | None = ... - """ - The routing mode for this domain name. The routing mode determines how - API Gateway sends traffic from your custom domain name to your private - APIs. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateModelInput(_SerdeShape): - """Request to add a new Model to an existing RestApi resource.""" - - rest_api_id: str | None = ... - """The RestApi identifier under which the Model will be created.""" - name: str | None = ... - """The name of the model. Must be alphanumeric.""" - description: str | None = ... - """The description of the model.""" - schema: str | None = ... - """ - The schema for the model. For `application/json` models, this should be - JSON schema draft 4 model. The maximum size of the model is 400 KB. - """ - content_type: str | None = ... - """The content-type for the model.""" - -@dataclass(kw_only=True) -class CreateModelOutput(_SerdeShape): - """ - Represents the data structure of a method's request or response - payload. - """ - - id: str | None = ... - """The identifier for the model resource.""" - name: str | None = ... - """The name of the model. Must be an alphanumeric string.""" - description: str | None = ... - """The description of the model.""" - schema: str | None = ... - """ - The schema for the model. For `application/json` models, this should be - JSON schema draft 4 model. Do not include \"\\*/\" characters in the - description of any properties because such \"\\*/\" characters may be - interpreted as the closing marker for comments in some languages, such - as Java or JavaScript, causing the installation of your API's SDK - generated by API Gateway to fail. - """ - content_type: str | None = ... - """The content-type for the model.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRequestValidatorInput(_SerdeShape): - """Creates a RequestValidator of a given RestApi.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - name: str | None = ... - """The name of the to-be-created RequestValidator.""" - validate_request_body: bool = ... - """ - A Boolean flag to indicate whether to validate request body according to - the configured model schema for the method (`true`) or not (`false`). - """ - validate_request_parameters: bool = ... - """ - A Boolean flag to indicate whether to validate request parameters, - `true`, or not `false`. - """ - -@dataclass(kw_only=True) -class CreateRequestValidatorOutput(_SerdeShape): - """A set of validation rules for incoming Method requests.""" - - id: str | None = ... - """The identifier of this RequestValidator.""" - name: str | None = ... - """The name of this RequestValidator""" - validate_request_body: bool = ... - """ - A Boolean flag to indicate whether to validate a request body according - to the configured Model schema. - """ - validate_request_parameters: bool = ... - """ - A Boolean flag to indicate whether to validate request parameters - (`true`) or not (`false`). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateResourceInput(_SerdeShape): - """Requests API Gateway to create a Resource resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - parent_id: str | None = ... - """The parent resource's identifier.""" - path_part: str | None = ... - """The last path segment for this resource.""" - -@dataclass(kw_only=True) -class CreateResourceOutput(_SerdeShape): - """Represents an API resource.""" - - id: str | None = ... - """The resource's identifier.""" - parent_id: str | None = ... - """The parent resource's identifier.""" - path_part: str | None = ... - """The last path segment for this resource.""" - path: str | None = ... - """The full path for this resource.""" - resource_methods: dict[str, Method] | None = ... - """Gets an API resource's method of a given HTTP verb.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRestApiInput(_SerdeShape): - """The POST Request to add a new RestApi resource to your collection.""" - - name: str | None = ... - """The name of the RestApi.""" - description: str | None = ... - """The description of the RestApi.""" - version: str | None = ... - """A version identifier for the API.""" - clone_from: str | None = ... - """The ID of the RestApi that you want to clone from.""" - binary_media_types: list[str] | None = ... - """ - The list of binary media types supported by the RestApi. By default, the - RestApi supports only UTF-8-encoded text payloads. - """ - minimum_compression_size: int | None = ... - """ - A nullable integer that is used to enable compression (with non-negative - between 0 and 10485760 (10M) bytes, inclusive) or disable compression - (with a null value) on an API. When compression is enabled, compression - or decompression is not applied on the payload if the payload size is - smaller than this value. Setting it to zero allows compression for any - payload size. - """ - api_key_source: str | None = ... - """ - The source of the API key for metering requests according to a usage - plan. Valid values are: `HEADER` to read the API key from the - `X-API-Key` header of a request. `AUTHORIZER` to read the API key from - the `UsageIdentifierKey` from a custom authorizer. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this RestApi showing the endpoint types - and IP address types of the API. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to this RestApi - regardless of the caller and Method configuration. - """ - tags: dict[str, str] | None = ... - """ - The key-value map of strings. The valid character set is - [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not - start with `aws:`. The tag value can be up to 256 characters. - """ - disable_execute_api_endpoint: bool = ... - """ - Specifies whether clients can invoke your API by using the default - `execute-api` endpoint. By default, clients can invoke your API with the - default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. - To require that clients use a custom domain name to invoke your API, - disable the default endpoint - """ - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - RestApi. - """ - endpoint_access_mode: str | None = ... - """ - The endpoint access mode of the RestApi. Only available for RestApis - that use security policies that start with `SecurityPolicy_`. - """ - -@dataclass(kw_only=True) -class CreateRestApiOutput(_SerdeShape): - """Represents a REST API.""" - - id: str | None = ... - """ - The API's identifier. This identifier is unique across all of your APIs - in API Gateway. - """ - name: str | None = ... - """The API's name.""" - description: str | None = ... - """The API's description.""" - created_date: datetime | None = ... - """The timestamp when the API was created.""" - version: str | None = ... - """A version identifier for the API.""" - warnings: list[str] | None = ... - """ - The warning messages reported when `failonwarnings` is turned on during - API import. - """ - binary_media_types: list[str] | None = ... - """ - The list of binary media types supported by the RestApi. By default, the - RestApi supports only UTF-8-encoded text payloads. - """ - minimum_compression_size: int | None = ... - """ - A nullable integer that is used to enable compression (with non-negative - between 0 and 10485760 (10M) bytes, inclusive) or disable compression - (with a null value) on an API. When compression is enabled, compression - or decompression is not applied on the payload if the payload size is - smaller than this value. Setting it to zero allows compression for any - payload size. - """ - api_key_source: str | None = ... - """ - The source of the API key for metering requests according to a usage - plan. Valid values are: >`HEADER` to read the API key from the - `X-API-Key` header of a request. `AUTHORIZER` to read the API key from - the `UsageIdentifierKey` from a custom authorizer. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this RestApi showing the endpoint types - and IP address types of the API. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to this RestApi - regardless of the caller and Method configuration. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - disable_execute_api_endpoint: bool = ... - """ - Specifies whether clients can invoke your API by using the default - `execute-api` endpoint. By default, clients can invoke your API with the - default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. - To require that clients use a custom domain name to invoke your API, - disable the default endpoint. - """ - root_resource_id: str | None = ... - """The API's root resource ID.""" - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - RestApi. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the RestApi.""" - api_status: str | None = ... - """The ApiStatus of the RestApi.""" - api_status_message: str | None = ... - """ - The status message of the RestApi. When the status message is `UPDATING` - you can still invoke it. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateStageInput(_SerdeShape): - """Requests API Gateway to create a Stage resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """ - The name for the Stage resource. Stage names can only contain - alphanumeric characters, hyphens, and underscores. Maximum length is 128 - characters. - """ - deployment_id: str | None = ... - """The identifier of the Deployment resource for the Stage resource.""" - description: str | None = ... - """The description of the Stage resource.""" - cache_cluster_enabled: bool = ... - """Whether cache clustering is enabled for the stage.""" - cache_cluster_size: str | None = ... - """ - The stage's cache capacity in GB. For more information about choosing a - cache size, see [Enabling API caching to enhance - responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). - """ - variables: dict[str, str] | None = ... - """ - A map that defines the stage variables for the new Stage resource. - Variable names can have alphanumeric and underscore characters, and the - values must match `[A-Za-z0-9-._~:/?#&=,]+`. - """ - documentation_version: str | None = ... - """The version of the associated API documentation.""" - canary_settings: CanarySettings | None = ... - """The canary deployment settings of this stage.""" - tracing_enabled: bool = ... - """Specifies whether active tracing with X-ray is enabled for the Stage.""" - tags: dict[str, str] | None = ... - """ - The key-value map of strings. The valid character set is - [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not - start with `aws:`. The tag value can be up to 256 characters. - """ - -@dataclass(kw_only=True) -class CreateStageOutput(_SerdeShape): - """ - Represents a unique identifier for a version of a deployed RestApi that - is callable by users. - """ - - deployment_id: str | None = ... - """The identifier of the Deployment that the stage points to.""" - client_certificate_id: str | None = ... - """The identifier of a client certificate for an API stage.""" - stage_name: str | None = ... - """ - The name of the stage is the first path segment in the Uniform Resource - Identifier (URI) of a call to API Gateway. Stage names can only contain - alphanumeric characters, hyphens, and underscores. Maximum length is 128 - characters. - """ - description: str | None = ... - """The stage's description.""" - cache_cluster_enabled: bool = ... - """ - Specifies whether a cache cluster is enabled for the stage. To activate - a method-level cache, set `CachingEnabled` to `true` for a method. - """ - cache_cluster_size: str | None = ... - """ - The stage's cache capacity in GB. For more information about choosing a - cache size, see [Enabling API caching to enhance - responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). - """ - cache_cluster_status: str | None = ... - """The status of the cache cluster for the stage, if enabled.""" - method_settings: dict[str, MethodSetting] | None = ... - """ - A map that defines the method settings for a Stage resource. Keys - (designated as `/{method_setting_key` below) are method paths defined as - `{resource_path}/{http_method}` for an individual method override, or - `/*/*` for overriding all methods in the stage. - """ - variables: dict[str, str] | None = ... - """ - A map that defines the stage variables for a Stage resource. Variable - names can have alphanumeric and underscore characters, and the values - must match `[A-Za-z0-9-._~:/?#&=,]+`. - """ - documentation_version: str | None = ... - """The version of the associated API documentation.""" - access_log_settings: AccessLogSettings | None = ... - """Settings for logging access in this stage.""" - canary_settings: CanarySettings | None = ... - """Settings for the canary deployment in this stage.""" - tracing_enabled: bool = ... - """Specifies whether active tracing with X-ray is enabled for the Stage.""" - web_acl_arn: str | None = ... - """The ARN of the WebAcl associated with the Stage.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - created_date: datetime | None = ... - """The timestamp when the stage was created.""" - last_updated_date: datetime | None = ... - """The timestamp when the stage last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateUsagePlanInput(_SerdeShape): - """ - The POST request to create a usage plan with the name, description, - throttle limits and quota limits, as well as the associated API stages, - specified in the payload. - """ - - name: str | None = ... - """The name of the usage plan.""" - description: str | None = ... - """The description of the usage plan.""" - api_stages: list[ApiStage] | None = ... - """The associated API stages of the usage plan.""" - throttle: ThrottleSettings | None = ... - """The throttling limits of the usage plan.""" - quota: QuotaSettings | None = ... - """The quota of the usage plan.""" - tags: dict[str, str] | None = ... - """ - The key-value map of strings. The valid character set is - [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not - start with `aws:`. The tag value can be up to 256 characters. - """ - -@dataclass(kw_only=True) -class CreateUsagePlanKeyInput(_SerdeShape): - """ - The POST request to create a usage plan key for adding an existing API - key to a usage plan. - """ - - usage_plan_id: str | None = ... - """ - The Id of the UsagePlan resource representing the usage plan containing - the to-be-created UsagePlanKey resource representing a plan customer. - """ - key_id: str | None = ... - """The identifier of a UsagePlanKey resource for a plan customer.""" - key_type: str | None = ... - """The type of a UsagePlanKey resource for a plan customer.""" - -@dataclass(kw_only=True) -class CreateUsagePlanKeyOutput(_SerdeShape): - """Represents a usage plan key to identify a plan customer.""" - - id: str | None = ... - """The Id of a usage plan key.""" - type: str | None = ... - """ - The type of a usage plan key. Currently, the valid key type is - `API_KEY`. - """ - value: str | None = ... - """The value of a usage plan key.""" - name: str | None = ... - """The name of a usage plan key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateUsagePlanOutput(_SerdeShape): - """ - Represents a usage plan used to specify who can assess associated API - stages. Optionally, target request rate and quota limits can be set. In - some cases clients can exceed the targets that you set. Don't rely on - usage plans to control costs. Consider using [Amazon Web Services - Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) - to monitor costs and - [WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) - to manage API requests. - """ - - id: str | None = ... - """The identifier of a UsagePlan resource.""" - name: str | None = ... - """The name of a usage plan.""" - description: str | None = ... - """The description of a usage plan.""" - api_stages: list[ApiStage] | None = ... - """The associated API stages of a usage plan.""" - throttle: ThrottleSettings | None = ... - """ - A map containing method level throttling information for API stage in a - usage plan. - """ - quota: QuotaSettings | None = ... - """ - The target maximum number of permitted requests per a given unit time - interval. - """ - product_code: str | None = ... - """ - The Amazon Web Services Marketplace product identifier to associate with - the usage plan as a SaaS product on the Amazon Web Services Marketplace. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpcLinkInput(_SerdeShape): - """ - Creates a VPC link, under the caller's account in a selected region, in - an asynchronous operation that typically takes 2-4 minutes to complete - and become operational. The caller must have permissions to create and - update VPC Endpoint services. - """ - - name: str | None = ... - """The name used to label and identify the VPC link.""" - description: str | None = ... - """The description of the VPC link.""" - target_arns: list[str] | None = ... - """ - The ARN of the network load balancer of the VPC targeted by the VPC - link. The network load balancer must be owned by the same Amazon Web - Services account of the API owner. - """ - tags: dict[str, str] | None = ... - """ - The key-value map of strings. The valid character set is - [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not - start with `aws:`. The tag value can be up to 256 characters. - """ - -@dataclass(kw_only=True) -class CreateVpcLinkOutput(_SerdeShape): - """ - An API Gateway VPC link for a RestApi to access resources in an Amazon - Virtual Private Cloud (VPC). - """ - - id: str | None = ... - """ - The identifier of the VpcLink. It is used in an Integration to reference - this VpcLink. - """ - name: str | None = ... - """The name used to label and identify the VPC link.""" - description: str | None = ... - """The description of the VPC link.""" - target_arns: list[str] | None = ... - """ - The ARN of the network load balancer of the VPC targeted by the VPC - link. The network load balancer must be owned by the same Amazon Web - Services account of the API owner. - """ - status: str | None = ... - """ - The status of the VPC link. The valid values are `AVAILABLE`, `PENDING`, - `DELETING`, or `FAILED`. Deploying an API will wait if the status is - `PENDING` and will fail if the status is `DELETING`. - """ - status_message: str | None = ... - """A description about the VPC link status.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteApiKeyInput(_SerdeShape): - """A request to delete the ApiKey resource.""" - - api_key: str | None = ... - """The identifier of the ApiKey resource to be deleted.""" - -@dataclass(kw_only=True) -class DeleteApiKeyOutput(_SerdeShape): - """Dataclass for DeleteApiKeyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAuthorizerInput(_SerdeShape): - """Request to delete an existing Authorizer resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - authorizer_id: str | None = ... - """The identifier of the Authorizer resource.""" - -@dataclass(kw_only=True) -class DeleteAuthorizerOutput(_SerdeShape): - """Dataclass for DeleteAuthorizerOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBasePathMappingInput(_SerdeShape): - """A request to delete the BasePathMapping resource.""" - - domain_name: str | None = ... - """The domain name of the BasePathMapping resource to delete.""" - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - base_path: str | None = ... - """ - The base path name of the BasePathMapping resource to delete. - - To specify an empty base path, set this parameter to `'(none)'`. - """ - -@dataclass(kw_only=True) -class DeleteBasePathMappingOutput(_SerdeShape): - """Dataclass for DeleteBasePathMappingOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteClientCertificateInput(_SerdeShape): - """A request to delete the ClientCertificate resource.""" - - client_certificate_id: str | None = ... - """The identifier of the ClientCertificate resource to be deleted.""" - -@dataclass(kw_only=True) -class DeleteClientCertificateOutput(_SerdeShape): - """Dataclass for DeleteClientCertificateOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDeploymentInput(_SerdeShape): - """Requests API Gateway to delete a Deployment resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - deployment_id: str | None = ... - """The identifier of the Deployment resource to delete.""" - -@dataclass(kw_only=True) -class DeleteDeploymentOutput(_SerdeShape): - """Dataclass for DeleteDeploymentOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDocumentationPartInput(_SerdeShape): - """Deletes an existing documentation part of an API.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - documentation_part_id: str | None = ... - """The identifier of the to-be-deleted documentation part.""" - -@dataclass(kw_only=True) -class DeleteDocumentationPartOutput(_SerdeShape): - """Dataclass for DeleteDocumentationPartOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDocumentationVersionInput(_SerdeShape): - """Deletes an existing documentation version of an API.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - documentation_version: str | None = ... - """The version identifier of a to-be-deleted documentation snapshot.""" - -@dataclass(kw_only=True) -class DeleteDocumentationVersionOutput(_SerdeShape): - """Dataclass for DeleteDocumentationVersionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDomainNameAccessAssociationInput(_SerdeShape): - """Dataclass for DeleteDomainNameAccessAssociationInput structure.""" - - domain_name_access_association_arn: str | None = ... - """The ARN of the domain name access association resource.""" - -@dataclass(kw_only=True) -class DeleteDomainNameAccessAssociationOutput(_SerdeShape): - """Dataclass for DeleteDomainNameAccessAssociationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDomainNameInput(_SerdeShape): - """A request to delete the DomainName resource.""" - - domain_name: str | None = ... - """The name of the DomainName resource to be deleted.""" - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - -@dataclass(kw_only=True) -class DeleteDomainNameOutput(_SerdeShape): - """Dataclass for DeleteDomainNameOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGatewayResponseInput(_SerdeShape): - """ - Clears any customization of a GatewayResponse of a specified response - type on the given RestApi and resets it with the default settings. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - response_type: str | None = ... - """The response type of the associated GatewayResponse.""" - -@dataclass(kw_only=True) -class DeleteGatewayResponseOutput(_SerdeShape): - """Dataclass for DeleteGatewayResponseOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIntegrationInput(_SerdeShape): - """Represents a delete integration request.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """Specifies a delete integration request's resource identifier.""" - http_method: str | None = ... - """Specifies a delete integration request's HTTP method.""" - -@dataclass(kw_only=True) -class DeleteIntegrationOutput(_SerdeShape): - """Dataclass for DeleteIntegrationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIntegrationResponseInput(_SerdeShape): - """Represents a delete integration response request.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """Specifies a delete integration response request's resource identifier.""" - http_method: str | None = ... - """Specifies a delete integration response request's HTTP method.""" - status_code: str | None = ... - """Specifies a delete integration response request's status code.""" - -@dataclass(kw_only=True) -class DeleteIntegrationResponseOutput(_SerdeShape): - """Dataclass for DeleteIntegrationResponseOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteMethodInput(_SerdeShape): - """Request to delete an existing Method resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The Resource identifier for the Method resource.""" - http_method: str | None = ... - """The HTTP verb of the Method resource.""" - -@dataclass(kw_only=True) -class DeleteMethodOutput(_SerdeShape): - """Dataclass for DeleteMethodOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteMethodResponseInput(_SerdeShape): - """A request to delete an existing MethodResponse resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The Resource identifier for the MethodResponse resource.""" - http_method: str | None = ... - """The HTTP verb of the Method resource.""" - status_code: str | None = ... - """The status code identifier for the MethodResponse resource.""" - -@dataclass(kw_only=True) -class DeleteMethodResponseOutput(_SerdeShape): - """Dataclass for DeleteMethodResponseOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteModelInput(_SerdeShape): - """Request to delete an existing model in an existing RestApi resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - model_name: str | None = ... - """The name of the model to delete.""" - -@dataclass(kw_only=True) -class DeleteModelOutput(_SerdeShape): - """Dataclass for DeleteModelOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRequestValidatorInput(_SerdeShape): - """Deletes a specified RequestValidator of a given RestApi.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - request_validator_id: str | None = ... - """The identifier of the RequestValidator to be deleted.""" - -@dataclass(kw_only=True) -class DeleteRequestValidatorOutput(_SerdeShape): - """Dataclass for DeleteRequestValidatorOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteResourceInput(_SerdeShape): - """Request to delete a Resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The identifier of the Resource resource.""" - -@dataclass(kw_only=True) -class DeleteResourceOutput(_SerdeShape): - """Dataclass for DeleteResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRestApiInput(_SerdeShape): - """Request to delete the specified API from your collection.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - -@dataclass(kw_only=True) -class DeleteRestApiOutput(_SerdeShape): - """Dataclass for DeleteRestApiOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteStageInput(_SerdeShape): - """Requests API Gateway to delete a Stage resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """The name of the Stage resource to delete.""" - -@dataclass(kw_only=True) -class DeleteStageOutput(_SerdeShape): - """Dataclass for DeleteStageOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteUsagePlanInput(_SerdeShape): - """The DELETE request to delete a usage plan of a given plan Id.""" - - usage_plan_id: str | None = ... - """The Id of the to-be-deleted usage plan.""" - -@dataclass(kw_only=True) -class DeleteUsagePlanKeyInput(_SerdeShape): - """ - The DELETE request to delete a usage plan key and remove the underlying - API key from the associated usage plan. - """ - - usage_plan_id: str | None = ... - """ - The Id of the UsagePlan resource representing the usage plan containing - the to-be-deleted UsagePlanKey resource representing a plan customer. - """ - key_id: str | None = ... - """The Id of the UsagePlanKey resource to be deleted.""" - -@dataclass(kw_only=True) -class DeleteUsagePlanKeyOutput(_SerdeShape): - """Dataclass for DeleteUsagePlanKeyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteUsagePlanOutput(_SerdeShape): - """Dataclass for DeleteUsagePlanOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcLinkInput(_SerdeShape): - """Deletes an existing VpcLink of a specified identifier.""" - - vpc_link_id: str | None = ... - """ - The identifier of the VpcLink. It is used in an Integration to reference - this VpcLink. - """ - -@dataclass(kw_only=True) -class DeleteVpcLinkOutput(_SerdeShape): - """Dataclass for DeleteVpcLinkOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Deployment(_SerdeShape): - """ - An immutable representation of a RestApi resource that can be called by - users using Stages. A deployment must be associated with a Stage for it - to be callable over the Internet. - """ - - id: str | None = ... - """The identifier for the deployment resource.""" - description: str | None = ... - """The description for the deployment resource.""" - created_date: datetime | None = ... - """The date and time that the deployment resource was created.""" - api_summary: dict[str, dict[str, MethodSnapshot]] | None = ... - """ - A summary of the RestApi at the date and time that the deployment - resource was created. - """ - -@dataclass(kw_only=True) -class DeploymentCanarySettings(_SerdeShape): - """The input configuration for a canary deployment.""" - - percent_traffic: float = ... - """The percentage (0.0-100.0) of traffic routed to the canary deployment.""" - stage_variable_overrides: dict[str, str] | None = ... - """ - A stage variable overrides used for the canary release deployment. They - can override existing stage variables or add new stage variables for the - canary release deployment. These stage variables are represented as a - string-to-string map between stage variable names and their values. - """ - use_stage_cache: bool = ... - """ - A Boolean flag to indicate whether the canary release deployment uses - the stage cache or not. - """ - -@dataclass(kw_only=True) -class DocumentationPart(_SerdeShape): - """A documentation part for a targeted API entity.""" - - id: str | None = ... - """ - The DocumentationPart identifier, generated by API Gateway when the - `DocumentationPart` is created. - """ - location: DocumentationPartLocation | None = ... - """ - The location of the API entity to which the documentation applies. Valid - fields depend on the targeted API entity type. All the valid location - fields are not required. If not explicitly specified, a valid location - field is treated as a wildcard and associated documentation content may - be inherited by matching entities, unless overridden. - """ - properties: str | None = ... - """ - A content map of API-specific key-value pairs describing the targeted - API entity. The map must be encoded as a JSON string, e.g., - `"{ \"description\": \"The API does ...\" }"`. Only OpenAPI-compliant - documentation-related fields from the properties map are exported and, - hence, published as part of the API entity definitions, while the - original documentation parts are exported in a OpenAPI extension of - `x-amazon-apigateway-documentation`. - """ - -@dataclass(kw_only=True) -class DocumentationPartLocation(_SerdeShape): - """Specifies the target API entity to which the documentation applies.""" - - type: str - """ - The type of API entity to which the documentation content applies. Valid - values are `API`, `AUTHORIZER`, `MODEL`, `RESOURCE`, `METHOD`, - `PATH_PARAMETER`, `QUERY_PARAMETER`, `REQUEST_HEADER`, `REQUEST_BODY`, - `RESPONSE`, `RESPONSE_HEADER`, and `RESPONSE_BODY`. Content inheritance - does not apply to any entity of the `API`, `AUTHORIZER`, `METHOD`, - `MODEL`, `REQUEST_BODY`, or `RESOURCE` type. - """ - path: str | None = ... - """ - The URL path of the target. It is a valid field for the API entity types - of `RESOURCE`, `METHOD`, `PATH_PARAMETER`, `QUERY_PARAMETER`, - `REQUEST_HEADER`, `REQUEST_BODY`, `RESPONSE`, `RESPONSE_HEADER`, and - `RESPONSE_BODY`. The default value is `/` for the root resource. When an - applicable child entity inherits the content of another entity of the - same type with more general specifications of the other `location` - attributes, the child entity's `path` attribute must match that of the - parent entity as a prefix. - """ - method: str | None = ... - """ - The HTTP verb of a method. It is a valid field for the API entity types - of `METHOD`, `PATH_PARAMETER`, `QUERY_PARAMETER`, `REQUEST_HEADER`, - `REQUEST_BODY`, `RESPONSE`, `RESPONSE_HEADER`, and `RESPONSE_BODY`. The - default value is `*` for any method. When an applicable child entity - inherits the content of an entity of the same type with more general - specifications of the other `location` attributes, the child entity's - `method` attribute must match that of the parent entity exactly. - """ - status_code: str | None = ... - """ - The HTTP status code of a response. It is a valid field for the API - entity types of `RESPONSE`, `RESPONSE_HEADER`, and `RESPONSE_BODY`. The - default value is `*` for any status code. When an applicable child - entity inherits the content of an entity of the same type with more - general specifications of the other `location` attributes, the child - entity's `statusCode` attribute must match that of the parent entity - exactly. - """ - name: str | None = ... - """ - The name of the targeted API entity. It is a valid and required field - for the API entity types of `AUTHORIZER`, `MODEL`, `PATH_PARAMETER`, - `QUERY_PARAMETER`, `REQUEST_HEADER`, `REQUEST_BODY` and - `RESPONSE_HEADER`. It is an invalid field for any other entity type. - """ - -class DocumentationPartType(UnknownEnumMixin, StrEnum): - API = "API" - AUTHORIZER = "AUTHORIZER" - MODEL = "MODEL" - RESOURCE = "RESOURCE" - METHOD = "METHOD" - PATH_PARAMETER = "PATH_PARAMETER" - QUERY_PARAMETER = "QUERY_PARAMETER" - REQUEST_HEADER = "REQUEST_HEADER" - REQUEST_BODY = "REQUEST_BODY" - RESPONSE = "RESPONSE" - RESPONSE_HEADER = "RESPONSE_HEADER" - RESPONSE_BODY = "RESPONSE_BODY" - -@dataclass(kw_only=True) -class DocumentationVersion(_SerdeShape): - """A snapshot of the documentation of an API.""" - - version: str | None = ... - """The version identifier of the API documentation snapshot.""" - created_date: datetime | None = ... - """The date when the API documentation snapshot is created.""" - description: str | None = ... - """The description of the API documentation snapshot.""" - -@dataclass(kw_only=True) -class DomainName(_SerdeShape): - """ - Represents a custom domain name as a user-friendly host name of an API - (RestApi). - """ - - domain_name: str | None = ... - """ - The custom domain name as an API host name, for example, - `my-api.example.com`. - """ - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - domain_name_arn: str | None = ... - """The ARN of the domain name.""" - certificate_name: str | None = ... - """ - The name of the certificate that will be used by edge-optimized endpoint - or private endpoint for this domain name. - """ - certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used by edge-optimized endpoint or private endpoint for this domain - name. Certificate Manager is the only supported source. - """ - certificate_upload_date: datetime | None = ... - """ - The timestamp when the certificate that was used by edge-optimized - endpoint or private endpoint for this domain name was uploaded. - """ - regional_domain_name: str | None = ... - """ - The domain name associated with the regional endpoint for this custom - domain name. You set up this association by adding a DNS record that - points the custom domain name to this regional domain name. The regional - domain name is returned by API Gateway when you create a regional - endpoint. - """ - regional_hosted_zone_id: str | None = ... - """ - The region-specific Amazon Route 53 Hosted Zone ID of the regional - endpoint. For more information, see Set up a Regional Custom Domain Name - and AWS Regions and Endpoints for API Gateway. - """ - regional_certificate_name: str | None = ... - """ - The name of the certificate that will be used for validating the - regional domain name. - """ - regional_certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used for validating the regional domain name. Certificate Manager is the - only supported source. - """ - distribution_domain_name: str | None = ... - """ - The domain name of the Amazon CloudFront distribution associated with - this custom domain name for an edge-optimized endpoint. You set up this - association when adding a DNS record pointing the custom domain name to - this distribution name. For more information about CloudFront - distributions, see the Amazon CloudFront documentation. - """ - distribution_hosted_zone_id: str | None = ... - """ - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized - endpoint. The valid value is `Z2FDTNDATAQYW2` for all the regions. For - more information, see Set up a Regional Custom Domain Name and AWS - Regions and Endpoints for API Gateway. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this DomainName showing the endpoint types - and IP address types of the domain name. - """ - domain_name_status: str | None = ... - """ - The status of the DomainName migration. The valid values are `AVAILABLE` - and `UPDATING`. If the status is `UPDATING`, the domain cannot be - modified further until the existing operation is complete. If it is - `AVAILABLE`, the domain can be updated. - """ - domain_name_status_message: str | None = ... - """ - An optional text message containing detailed information about status of - the DomainName migration. - """ - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - DomainName. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the DomainName.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - mutual_tls_authentication: MutualTlsAuthentication | None = ... - """ - The mutual TLS authentication configuration for a custom domain name. If - specified, API Gateway performs two-way authentication between the - client and the server. Clients must present a trusted certificate to - access your API. - """ - ownership_verification_certificate_arn: str | None = ... - """ - The ARN of the public certificate issued by ACM to validate ownership of - your custom domain. Only required when configuring mutual TLS and using - an ACM imported or private CA certificate ARN as the - regionalCertificateArn. - """ - management_policy: str | None = ... - """ - A stringified JSON policy document that applies to the API Gateway - Management service for this DomainName. This policy document controls - access for access association sources to create domain name access - associations with this DomainName. Supported only for private custom - domain names. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to the `execute-api` - service for this DomainName regardless of the caller and Method - configuration. Supported only for private custom domain names. - """ - routing_mode: str | None = ... - """ - The routing mode for this domain name. The routing mode determines how - API Gateway sends traffic from your custom domain name to your private - APIs. - """ - -@dataclass(kw_only=True) -class DomainNameAccessAssociation(_SerdeShape): - """ - Represents a domain name access association between an access - association source and a private custom domain name. With a domain name - access association, an access association source can invoke a private - custom domain name while isolated from the public internet. - """ - - domain_name_access_association_arn: str | None = ... - """The ARN of the domain name access association resource.""" - domain_name_arn: str | None = ... - """The ARN of the domain name.""" - access_association_source_type: str | None = ... - """The type of the domain name access association source.""" - access_association_source: str | None = ... - """ - The ARN of the domain name access association source. For a VPCE, the - ARN must be a VPC endpoint. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - -class DomainNameStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "AVAILABLE" - UPDATING = "UPDATING" - PENDING = "PENDING" - PENDING_CERTIFICATE_REIMPORT = "PENDING_CERTIFICATE_REIMPORT" - PENDING_OWNERSHIP_VERIFICATION = "PENDING_OWNERSHIP_VERIFICATION" - FAILED = "FAILED" - -class EndpointAccessMode(UnknownEnumMixin, StrEnum): - BASIC = "BASIC" - STRICT = "STRICT" - -@dataclass(kw_only=True) -class EndpointConfiguration(_SerdeShape): - """ - The endpoint configuration to indicate the types of endpoints an API - (RestApi) or its custom domain name (DomainName) has and the IP address - types that can invoke it. - """ - - types: list[str] | None = ... - """ - A list of endpoint types of an API (RestApi) or its custom domain name - (DomainName). For an edge-optimized API and its custom domain name, the - endpoint type is `"EDGE"`. For a regional API and its custom domain - name, the endpoint type is `REGIONAL`. For a private API, the endpoint - type is `PRIVATE`. - """ - ip_address_type: str | None = ... - """ - The IP address types that can invoke an API (RestApi) or a DomainName. - Use `ipv4` to allow only IPv4 addresses to invoke an API or DomainName, - or use `dualstack` to allow both IPv4 and IPv6 addresses to invoke an - API or a DomainName. For the `PRIVATE` endpoint type, only `dualstack` - is supported. - """ - vpc_endpoint_ids: list[str] | None = ... - """ - A list of VpcEndpointIds of an API (RestApi) against which to create - Route53 ALIASes. It is only supported for `PRIVATE` endpoint type. - """ - -class EndpointType(UnknownEnumMixin, StrEnum): - """ - The endpoint type. The valid values are `EDGE` for edge-optimized API - setup, most suitable for mobile applications; `REGIONAL` for regional - API endpoint setup, most suitable for calling from AWS Region; and - `PRIVATE` for private APIs. - """ - - REGIONAL = "REGIONAL" - EDGE = "EDGE" - PRIVATE = "PRIVATE" - -@dataclass(kw_only=True) -class FlushStageAuthorizersCacheInput(_SerdeShape): - """Request to flush authorizer cache entries on a specified stage.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """The name of the stage to flush.""" - -@dataclass(kw_only=True) -class FlushStageAuthorizersCacheOutput(_SerdeShape): - """Dataclass for FlushStageAuthorizersCacheOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FlushStageCacheInput(_SerdeShape): - """Requests API Gateway to flush a stage's cache.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """The name of the stage to flush its cache.""" - -@dataclass(kw_only=True) -class FlushStageCacheOutput(_SerdeShape): - """Dataclass for FlushStageCacheOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GatewayResponse(_SerdeShape): - """ - A gateway response of a given response type and status code, with - optional response parameters and mapping templates. - """ - - response_type: str | None = ... - """The response type of the associated GatewayResponse.""" - status_code: str | None = ... - """The HTTP status code for this GatewayResponse.""" - response_parameters: dict[str, str] | None = ... - """ - Response parameters (paths, query strings and headers) of the - GatewayResponse as a string-to-string map of key-value pairs. - """ - response_templates: dict[str, str] | None = ... - """ - Response templates of the GatewayResponse as a string-to-string map of - key-value pairs. - """ - default_response: bool = ... - """ - A Boolean flag to indicate whether this GatewayResponse is the default - gateway response (`true`) or not (`false`). A default gateway response - is one generated by API Gateway without any customization by an API - developer. - """ - -class GatewayResponseType(UnknownEnumMixin, StrEnum): - DEFAULT_4_XX = "DEFAULT_4XX" - DEFAULT_5_XX = "DEFAULT_5XX" - RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND" - UNAUTHORIZED = "UNAUTHORIZED" - INVALID_API_KEY = "INVALID_API_KEY" - ACCESS_DENIED = "ACCESS_DENIED" - AUTHORIZER_FAILURE = "AUTHORIZER_FAILURE" - AUTHORIZER_CONFIGURATION_ERROR = "AUTHORIZER_CONFIGURATION_ERROR" - INVALID_SIGNATURE = "INVALID_SIGNATURE" - EXPIRED_TOKEN = "EXPIRED_TOKEN" - MISSING_AUTHENTICATION_TOKEN = "MISSING_AUTHENTICATION_TOKEN" - INTEGRATION_FAILURE = "INTEGRATION_FAILURE" - INTEGRATION_TIMEOUT = "INTEGRATION_TIMEOUT" - API_CONFIGURATION_ERROR = "API_CONFIGURATION_ERROR" - UNSUPPORTED_MEDIA_TYPE = "UNSUPPORTED_MEDIA_TYPE" - BAD_REQUEST_PARAMETERS = "BAD_REQUEST_PARAMETERS" - BAD_REQUEST_BODY = "BAD_REQUEST_BODY" - REQUEST_TOO_LARGE = "REQUEST_TOO_LARGE" - THROTTLED = "THROTTLED" - QUOTA_EXCEEDED = "QUOTA_EXCEEDED" - WAF_FILTERED = "WAF_FILTERED" - -@dataclass(kw_only=True) -class GenerateClientCertificateInput(_SerdeShape): - """A request to generate a ClientCertificate resource.""" - - description: str | None = ... - """The description of the ClientCertificate.""" - tags: dict[str, str] | None = ... - """ - The key-value map of strings. The valid character set is - [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not - start with `aws:`. The tag value can be up to 256 characters. - """ - -@dataclass(kw_only=True) -class GenerateClientCertificateOutput(_SerdeShape): - """ - Represents a client certificate used to configure client-side SSL - authentication while sending requests to the integration endpoint. - """ - - client_certificate_id: str | None = ... - """The identifier of the client certificate.""" - description: str | None = ... - """The description of the client certificate.""" - pem_encoded_certificate: str | None = ... - """ - The PEM-encoded public key of the client certificate, which can be used - to configure certificate authentication in the integration endpoint . - """ - created_date: datetime | None = ... - """The timestamp when the client certificate was created.""" - expiration_date: datetime | None = ... - """The timestamp when the client certificate will expire.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAccountInput(_SerdeShape): - """ - Requests API Gateway to get information about the current Account - resource. - """ - -@dataclass(kw_only=True) -class GetAccountOutput(_SerdeShape): - """Represents an AWS account that is associated with API Gateway.""" - - cloudwatch_role_arn: str | None = ... - """The ARN of an Amazon CloudWatch role for the current Account.""" - throttle_settings: ThrottleSettings | None = ... - """Specifies the API request limits configured for the current Account.""" - features: list[str] | None = ... - """ - A list of features supported for the account. When usage plans are - enabled, the features list will include an entry of `"UsagePlans"`. - """ - api_key_version: str | None = ... - """The version of the API keys used for the account.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetApiKeyInput(_SerdeShape): - """A request to get information about the current ApiKey resource.""" - - api_key: str | None = ... - """The identifier of the ApiKey resource.""" - include_value: bool | None = ... - """ - A boolean flag to specify whether (`true`) or not (`false`) the result - contains the key value. - """ - -@dataclass(kw_only=True) -class GetApiKeyOutput(_SerdeShape): - """ - A resource that can be distributed to callers for executing Method - resources that require an API key. API keys can be mapped to any Stage - on any RestApi, which indicates that the callers with the API key can - make requests to that stage. - """ - - id: str | None = ... - """The identifier of the API Key.""" - value: str | None = ... - """The value of the API Key.""" - name: str | None = ... - """The name of the API Key.""" - customer_id: str | None = ... - """ - An Amazon Web Services Marketplace customer identifier, when integrating - with the Amazon Web Services SaaS Marketplace. - """ - description: str | None = ... - """The description of the API Key.""" - enabled: bool = ... - """Specifies whether the API Key can be used by callers.""" - created_date: datetime | None = ... - """The timestamp when the API Key was created.""" - last_updated_date: datetime | None = ... - """The timestamp when the API Key was last updated.""" - stage_keys: list[str] | None = ... - """A list of Stage resources that are associated with the ApiKey resource.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetApiKeysInput(_SerdeShape): - """A request to get information about the current ApiKeys resource.""" - - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - name_query: str | None = ... - """The name of queried API keys.""" - customer_id: str | None = ... - """ - The identifier of a customer in Amazon Web Services Marketplace or an - external system, such as a developer portal. - """ - include_values: bool | None = ... - """ - A boolean flag to specify whether (`true`) or not (`false`) the result - contains key values. - """ - -@dataclass(kw_only=True) -class GetApiKeysOutput(_SerdeShape): - """ - Represents a collection of API keys as represented by an ApiKeys - resource. - """ - - warnings: list[str] | None = ... - """ - A list of warning messages logged during the import of API keys when the - `failOnWarnings` option is set to true. - """ - items: list[ApiKey] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAuthorizerInput(_SerdeShape): - """Request to describe an existing Authorizer resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - authorizer_id: str | None = ... - """The identifier of the Authorizer resource.""" - -@dataclass(kw_only=True) -class GetAuthorizerOutput(_SerdeShape): - """ - Represents an authorization layer for methods. If enabled on a method, - API Gateway will activate the authorizer when a client calls the method. - """ - - id: str | None = ... - """The identifier for the authorizer resource.""" - name: str | None = ... - """The name of the authorizer.""" - type: str | None = ... - """ - The authorizer type. Valid values are `TOKEN` for a Lambda function - using a single authorization token submitted in a custom header, - `REQUEST` for a Lambda function using incoming request parameters, and - `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. - """ - provider_ar_ns: list[str] | None = ... - """ - A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` - authorizer. Each element is of this format: - `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For - a `TOKEN` or `REQUEST` authorizer, this is not defined. - """ - auth_type: str | None = ... - """ - Optional customer-defined field, used in OpenAPI imports and exports - without functional impact. - """ - authorizer_uri: str | None = ... - """ - Specifies the authorizer's Uniform Resource Identifier (URI). For - `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda - function URI, for example, - `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. - In general, the URI has this form - `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where - `{region}` is the same as the region hosting the Lambda function, `path` - indicates that the remaining substring in the URI should be treated as - the path to the resource, including the initial `/`. For Lambda - functions, this is usually of the form - `/2015-03-31/functions/[FunctionARN]/invocations`. - """ - authorizer_credentials: str | None = ... - """ - Specifies the required credentials as an IAM role for API Gateway to - invoke the authorizer. To specify an IAM role for API Gateway to assume, - use the role's Amazon Resource Name (ARN). To use resource-based - permissions on the Lambda function, specify null. - """ - identity_source: str | None = ... - """ - The identity source for which authorization is requested. For a `TOKEN` - or `COGNITO_USER_POOLS` authorizer, this is required and specifies the - request header mapping expression for the custom header holding the - authorization token submitted by the client. For example, if the token - header name is `Auth`, the header mapping expression is - `method.request.header.Auth`. For the `REQUEST` authorizer, this is - required when authorization caching is enabled. The value is a - comma-separated string of one or more mapping expressions of the - specified request parameters. For example, if an `Auth` header, a `Name` - query string parameter are defined as identity sources, this value is - `method.request.header.Auth`, `method.request.querystring.Name`. These - parameters will be used to derive the authorization caching key and to - perform runtime validation of the `REQUEST` authorizer by verifying all - of the identity-related request parameters are present, not null and - non-empty. Only when this is true does the authorizer invoke the - authorizer Lambda function, otherwise, it returns a 401 Unauthorized - response without calling the Lambda function. The valid value is a - string of comma-separated mapping expressions of the specified request - parameters. When the authorization caching is not enabled, this property - is optional. - """ - identity_validation_expression: str | None = ... - """ - A validation expression for the incoming identity token. For `TOKEN` - authorizers, this value is a regular expression. For - `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field - of the incoming token from the client against the specified regular - expression. It will invoke the authorizer's Lambda function when there - is a match. Otherwise, it will return a 401 Unauthorized response - without calling the Lambda function. The validation expression does not - apply to the `REQUEST` authorizer. - """ - authorizer_result_ttl_in_seconds: int | None = ... - """ - The TTL in seconds of cached authorizer results. If it equals 0, - authorization caching is disabled. If it is greater than 0, API Gateway - will cache authorizer responses. If this field is not set, the default - value is 300. The maximum value is 3600, or 1 hour. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAuthorizersInput(_SerdeShape): - """Request to describe an existing Authorizers resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetAuthorizersOutput(_SerdeShape): - """Represents a collection of Authorizer resources.""" - - items: list[Authorizer] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBasePathMappingInput(_SerdeShape): - """Request to describe a BasePathMapping resource.""" - - domain_name: str | None = ... - """The domain name of the BasePathMapping resource to be described.""" - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - base_path: str | None = ... - """ - The base path name that callers of the API must provide as part of the - URL after the domain name. This value must be unique for all of the - mappings across a single API. Specify '(none)' if you do not want - callers to specify any base path name after the domain name. - """ - -@dataclass(kw_only=True) -class GetBasePathMappingOutput(_SerdeShape): - """ - Represents the base path that callers of the API must provide as part of - the URL after the domain name. - """ - - base_path: str | None = ... - """ - The base path name that callers of the API must provide as part of the - URL after the domain name. - """ - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage: str | None = ... - """The name of the associated stage.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBasePathMappingsInput(_SerdeShape): - """ - A request to get information about a collection of BasePathMapping - resources. - """ - - domain_name: str | None = ... - """The domain name of a BasePathMapping resource.""" - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetBasePathMappingsOutput(_SerdeShape): - """Represents a collection of BasePathMapping resources.""" - - items: list[BasePathMapping] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetClientCertificateInput(_SerdeShape): - """ - A request to get information about the current ClientCertificate - resource. - """ - - client_certificate_id: str | None = ... - """The identifier of the ClientCertificate resource to be described.""" - -@dataclass(kw_only=True) -class GetClientCertificateOutput(_SerdeShape): - """ - Represents a client certificate used to configure client-side SSL - authentication while sending requests to the integration endpoint. - """ - - client_certificate_id: str | None = ... - """The identifier of the client certificate.""" - description: str | None = ... - """The description of the client certificate.""" - pem_encoded_certificate: str | None = ... - """ - The PEM-encoded public key of the client certificate, which can be used - to configure certificate authentication in the integration endpoint . - """ - created_date: datetime | None = ... - """The timestamp when the client certificate was created.""" - expiration_date: datetime | None = ... - """The timestamp when the client certificate will expire.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetClientCertificatesInput(_SerdeShape): - """ - A request to get information about a collection of ClientCertificate - resources. - """ - - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetClientCertificatesOutput(_SerdeShape): - """Represents a collection of ClientCertificate resources.""" - - items: list[ClientCertificate] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDeploymentInput(_SerdeShape): - """Requests API Gateway to get information about a Deployment resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - deployment_id: str | None = ... - """The identifier of the Deployment resource to get information about.""" - embed: list[str] | None = ... - """ - A query parameter to retrieve the specified embedded resources of the - returned Deployment resource in the response. In a REST API call, this - `embed` parameter value is a list of comma-separated strings, as in - `GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2`. - The SDK and other platform-dependent libraries might use a different - format for the list. Currently, this request supports only retrieval of - the embedded API summary this way. Hence, the parameter value must be a - single-valued list containing only the `"apisummary"` string. For - example, - `GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary`. - """ - -@dataclass(kw_only=True) -class GetDeploymentOutput(_SerdeShape): - """ - An immutable representation of a RestApi resource that can be called by - users using Stages. A deployment must be associated with a Stage for it - to be callable over the Internet. - """ - - id: str | None = ... - """The identifier for the deployment resource.""" - description: str | None = ... - """The description for the deployment resource.""" - created_date: datetime | None = ... - """The date and time that the deployment resource was created.""" - api_summary: dict[str, dict[str, MethodSnapshot]] | None = ... - """ - A summary of the RestApi at the date and time that the deployment - resource was created. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDeploymentsInput(_SerdeShape): - """Requests API Gateway to get information about a Deployments collection.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetDeploymentsOutput(_SerdeShape): - """ - Represents a collection resource that contains zero or more references - to your existing deployments, and links that guide you on how to - interact with your collection. The collection offers a paginated view of - the contained deployments. - """ - - items: list[Deployment] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDocumentationPartInput(_SerdeShape): - """Gets a specified documentation part of a given API.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - documentation_part_id: str | None = ... - """The string identifier of the associated RestApi.""" - -@dataclass(kw_only=True) -class GetDocumentationPartOutput(_SerdeShape): - """A documentation part for a targeted API entity.""" - - id: str | None = ... - """ - The DocumentationPart identifier, generated by API Gateway when the - `DocumentationPart` is created. - """ - location: DocumentationPartLocation | None = ... - """ - The location of the API entity to which the documentation applies. Valid - fields depend on the targeted API entity type. All the valid location - fields are not required. If not explicitly specified, a valid location - field is treated as a wildcard and associated documentation content may - be inherited by matching entities, unless overridden. - """ - properties: str | None = ... - """ - A content map of API-specific key-value pairs describing the targeted - API entity. The map must be encoded as a JSON string, e.g., - `"{ \"description\": \"The API does ...\" }"`. Only OpenAPI-compliant - documentation-related fields from the properties map are exported and, - hence, published as part of the API entity definitions, while the - original documentation parts are exported in a OpenAPI extension of - `x-amazon-apigateway-documentation`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDocumentationPartsInput(_SerdeShape): - """ - Gets the documentation parts of an API. The result may be filtered by - the type, name, or path of API entities (targets). - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - type: str | None = ... - """The type of API entities of the to-be-retrieved documentation parts.""" - name_query: str | None = ... - """The name of API entities of the to-be-retrieved documentation parts.""" - path: str | None = ... - """The path of API entities of the to-be-retrieved documentation parts.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - location_status: str | None = ... - """ - The status of the API documentation parts to retrieve. Valid values are - `DOCUMENTED` for retrieving DocumentationPart resources with content and - `UNDOCUMENTED` for DocumentationPart resources without content. - """ - -@dataclass(kw_only=True) -class GetDocumentationPartsOutput(_SerdeShape): - """The collection of documentation parts of an API.""" - - items: list[DocumentationPart] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDocumentationVersionInput(_SerdeShape): - """Gets a documentation snapshot of an API.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - documentation_version: str | None = ... - """The version identifier of the to-be-retrieved documentation snapshot.""" - -@dataclass(kw_only=True) -class GetDocumentationVersionOutput(_SerdeShape): - """A snapshot of the documentation of an API.""" - - version: str | None = ... - """The version identifier of the API documentation snapshot.""" - created_date: datetime | None = ... - """The date when the API documentation snapshot is created.""" - description: str | None = ... - """The description of the API documentation snapshot.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDocumentationVersionsInput(_SerdeShape): - """Gets the documentation versions of an API.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetDocumentationVersionsOutput(_SerdeShape): - """The collection of documentation snapshots of an API.""" - - items: list[DocumentationVersion] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDomainNameAccessAssociationsInput(_SerdeShape): - """Dataclass for GetDomainNameAccessAssociationsInput structure.""" - - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - resource_owner: str | None = ... - """ - The owner of the domain name access association. Use `SELF` to only list - the domain name access associations owned by your own account. Use - `OTHER_ACCOUNTS` to list the domain name access associations with your - private custom domain names that are owned by other AWS accounts. - """ - -@dataclass(kw_only=True) -class GetDomainNameAccessAssociationsOutput(_SerdeShape): - """Dataclass for GetDomainNameAccessAssociationsOutput structure.""" - - items: list[DomainNameAccessAssociation] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDomainNameInput(_SerdeShape): - """Request to get the name of a DomainName resource.""" - - domain_name: str | None = ... - """The name of the DomainName resource.""" - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Required for private custom - domain names. - """ - -@dataclass(kw_only=True) -class GetDomainNameOutput(_SerdeShape): - """ - Represents a custom domain name as a user-friendly host name of an API - (RestApi). - """ - - domain_name: str | None = ... - """ - The custom domain name as an API host name, for example, - `my-api.example.com`. - """ - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - domain_name_arn: str | None = ... - """The ARN of the domain name.""" - certificate_name: str | None = ... - """ - The name of the certificate that will be used by edge-optimized endpoint - or private endpoint for this domain name. - """ - certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used by edge-optimized endpoint or private endpoint for this domain - name. Certificate Manager is the only supported source. - """ - certificate_upload_date: datetime | None = ... - """ - The timestamp when the certificate that was used by edge-optimized - endpoint or private endpoint for this domain name was uploaded. - """ - regional_domain_name: str | None = ... - """ - The domain name associated with the regional endpoint for this custom - domain name. You set up this association by adding a DNS record that - points the custom domain name to this regional domain name. The regional - domain name is returned by API Gateway when you create a regional - endpoint. - """ - regional_hosted_zone_id: str | None = ... - """ - The region-specific Amazon Route 53 Hosted Zone ID of the regional - endpoint. For more information, see Set up a Regional Custom Domain Name - and AWS Regions and Endpoints for API Gateway. - """ - regional_certificate_name: str | None = ... - """ - The name of the certificate that will be used for validating the - regional domain name. - """ - regional_certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used for validating the regional domain name. Certificate Manager is the - only supported source. - """ - distribution_domain_name: str | None = ... - """ - The domain name of the Amazon CloudFront distribution associated with - this custom domain name for an edge-optimized endpoint. You set up this - association when adding a DNS record pointing the custom domain name to - this distribution name. For more information about CloudFront - distributions, see the Amazon CloudFront documentation. - """ - distribution_hosted_zone_id: str | None = ... - """ - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized - endpoint. The valid value is `Z2FDTNDATAQYW2` for all the regions. For - more information, see Set up a Regional Custom Domain Name and AWS - Regions and Endpoints for API Gateway. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this DomainName showing the endpoint types - and IP address types of the domain name. - """ - domain_name_status: str | None = ... - """ - The status of the DomainName migration. The valid values are `AVAILABLE` - and `UPDATING`. If the status is `UPDATING`, the domain cannot be - modified further until the existing operation is complete. If it is - `AVAILABLE`, the domain can be updated. - """ - domain_name_status_message: str | None = ... - """ - An optional text message containing detailed information about status of - the DomainName migration. - """ - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - DomainName. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the DomainName.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - mutual_tls_authentication: MutualTlsAuthentication | None = ... - """ - The mutual TLS authentication configuration for a custom domain name. If - specified, API Gateway performs two-way authentication between the - client and the server. Clients must present a trusted certificate to - access your API. - """ - ownership_verification_certificate_arn: str | None = ... - """ - The ARN of the public certificate issued by ACM to validate ownership of - your custom domain. Only required when configuring mutual TLS and using - an ACM imported or private CA certificate ARN as the - regionalCertificateArn. - """ - management_policy: str | None = ... - """ - A stringified JSON policy document that applies to the API Gateway - Management service for this DomainName. This policy document controls - access for access association sources to create domain name access - associations with this DomainName. Supported only for private custom - domain names. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to the `execute-api` - service for this DomainName regardless of the caller and Method - configuration. Supported only for private custom domain names. - """ - routing_mode: str | None = ... - """ - The routing mode for this domain name. The routing mode determines how - API Gateway sends traffic from your custom domain name to your private - APIs. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDomainNamesInput(_SerdeShape): - """Request to describe a collection of DomainName resources.""" - - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - resource_owner: str | None = ... - """The owner of the domain name access association.""" - -@dataclass(kw_only=True) -class GetDomainNamesOutput(_SerdeShape): - """Represents a collection of DomainName resources.""" - - items: list[DomainName] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetExportInput(_SerdeShape): - """Request a new export of a RestApi for a particular Stage.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """The name of the Stage that will be exported.""" - export_type: str | None = ... - """ - The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x - and 'swagger' for Swagger/OpenAPI 2.0. - """ - parameters: dict[str, str] | None = ... - """ - A key-value map of query string parameters that specify properties of - the export, depending on the requested `exportType`. For `exportType` - `oas30` and `swagger`, any combination of the following parameters are - supported: `extensions='integrations'` or `extensions='apigateway'` will - export the API with x-amazon-apigateway-integration extensions. - `extensions='authorizers'` will export the API with - x-amazon-apigateway-authorizer extensions. `postman` will export the API - with Postman extensions, allowing for import to the Postman tool - """ - accepts: str | None = ... - """ - The content-type of the export, for example `application/json`. - Currently `application/json` and `application/yaml` are supported for - `exportType` of`oas30` and `swagger`. This should be specified in the - `Accept` header for direct API requests. - """ - -@dataclass(kw_only=True) -class GetExportOutput(_SerdeShape): - """The binary blob response to GetExport, which contains the generated SDK.""" - - content_type: str | None = ... - """ - The content-type header value in the HTTP response. This will correspond - to a valid 'accept' type in the request. - """ - content_disposition: str | None = ... - """The content-disposition header value in the HTTP response.""" - body: bytes | None = ... - """The binary blob response to GetExport, which contains the export.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGatewayResponseInput(_SerdeShape): - """ - Gets a GatewayResponse of a specified response type on the given - RestApi. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - response_type: str | None = ... - """The response type of the associated GatewayResponse.""" - -@dataclass(kw_only=True) -class GetGatewayResponseOutput(_SerdeShape): - """ - A gateway response of a given response type and status code, with - optional response parameters and mapping templates. - """ - - response_type: str | None = ... - """The response type of the associated GatewayResponse.""" - status_code: str | None = ... - """The HTTP status code for this GatewayResponse.""" - response_parameters: dict[str, str] | None = ... - """ - Response parameters (paths, query strings and headers) of the - GatewayResponse as a string-to-string map of key-value pairs. - """ - response_templates: dict[str, str] | None = ... - """ - Response templates of the GatewayResponse as a string-to-string map of - key-value pairs. - """ - default_response: bool = ... - """ - A Boolean flag to indicate whether this GatewayResponse is the default - gateway response (`true`) or not (`false`). A default gateway response - is one generated by API Gateway without any customization by an API - developer. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGatewayResponsesInput(_SerdeShape): - """ - Gets the GatewayResponses collection on the given RestApi. If an API - developer has not added any definitions for gateway responses, the - result will be the API Gateway-generated default GatewayResponses - collection for the supported response types. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - position: str | None = ... - """ - The current pagination position in the paged result set. The - GatewayResponse collection does not support pagination and the position - does not apply here. - """ - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. The GatewayResponses collection does not - support pagination and the limit does not apply here. - """ - -@dataclass(kw_only=True) -class GetGatewayResponsesOutput(_SerdeShape): - """ - The collection of the GatewayResponse instances of a RestApi as a - `responseType`-to-GatewayResponse object map of key-value pairs. As - such, pagination is not supported for querying this collection. - """ - - items: list[GatewayResponse] | None = ... - """Returns the entire collection, because of no pagination support.""" - position: str | None = ... - """ - The current pagination position in the paged result set. The - GatewayResponse collection does not support pagination and the position - does not apply here. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIntegrationInput(_SerdeShape): - """Represents a request to get the integration configuration.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """Specifies a get integration request's resource identifier""" - http_method: str | None = ... - """Specifies a get integration request's HTTP method.""" - -@dataclass(kw_only=True) -class GetIntegrationOutput(_SerdeShape): - """ - Represents an `HTTP`, `HTTP_PROXY`, `AWS`, `AWS_PROXY`, or Mock - integration. - """ - - type: str | None = ... - """ - Specifies an API method integration type. The valid value is one of the - following: - - For the HTTP and HTTP proxy integrations, each integration can specify a - protocol (`http/https`), port and path. Standard 80 and 443 ports are - supported as well as custom ports above 1024. An HTTP or HTTP proxy - integration with a `connectionType` of `VPC_LINK` is referred to as a - private integration and uses a VpcLink to connect API Gateway to a - network load balancer of a VPC. - """ - http_method: str | None = ... - """ - Specifies the integration's HTTP method type. For the Type property, if - you specify `MOCK`, this property is optional. For Lambda integrations, - you must set the integration method to `POST`. For all other types, you - must specify this property. - """ - uri: str | None = ... - """ - Specifies Uniform Resource Identifier (URI) of the integration endpoint. - - For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully formed, - encoded HTTP(S) URL according to the RFC-3986 specification for standard - integrations. If `connectionType` is `VPC_LINK` specify the Network Load - Balancer DNS name. For `AWS` or `AWS_PROXY` integrations, the URI is of - the form - `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}`. - Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is - the name of the integrated Amazon Web Services service (e.g., s3); and - {subdomain} is a designated subdomain supported by certain Amazon Web - Services service for fast host-name lookup. action can be used for an - Amazon Web Services service action-based API, using an - Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing - {service_api} refers to a supported action {name} plus any required - input parameters. Alternatively, path can be used for an Amazon Web - Services service path-based API. The ensuing service_api refers to the - path to an Amazon Web Services service resource, including the region of - the integrated Amazon Web Services service, if applicable. For example, - for integration with the S3 API of GetObject, the uri can be either - `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` - or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}` - """ - connection_type: str | None = ... - """ - The type of the network connection to the integration endpoint. The - valid value is `INTERNET` for connections through the public routable - internet or `VPC_LINK` for private connections between API Gateway and a - network load balancer in a VPC. The default value is `INTERNET`. - """ - connection_id: str | None = ... - """ - The ID of the VpcLink used for the integration when - `connectionType=VPC_LINK` and undefined, otherwise. - """ - credentials: str | None = ... - """ - Specifies the credentials required for the integration, if any. For AWS - integrations, three options are available. To specify an IAM Role for - API Gateway to assume, use the role's Amazon Resource Name (ARN). To - require that the caller's identity be passed through from the request, - specify the string `arn:aws:iam::*:user/*`. To use resource-based - permissions on supported Amazon Web Services services, specify null. - """ - request_parameters: dict[str, str] | None = ... - """ - A key-value map specifying request parameters that are passed from the - method request to the back end. The key is an integration request - parameter name and the associated value is a method request parameter - value or static value that must be enclosed within single quotes and - pre-encoded as required by the back end. The method request parameter - value must match the pattern of `method.request.{location}.{name}`, - where `location` is `querystring`, `path`, or `header` and `name` must - be a valid and unique method request parameter name. - """ - request_templates: dict[str, str] | None = ... - """ - Represents a map of Velocity templates that are applied on the request - payload based on the value of the Content-Type header sent by the - client. The content type value is the key in this map, and the template - (as a String) is the value. - """ - passthrough_behavior: str | None = ... - """ - Specifies how the method request body of an unmapped content type will - be passed through the integration request to the back end without - transformation. A content type is unmapped if no mapping template is - defined in the integration or the content type does not match any of the - mapped content types, as specified in `requestTemplates`. The valid - value is one of the following: `WHEN_NO_MATCH`: passes the method - request body through the integration request to the back end without - transformation when the method request content type does not match any - content type associated with the mapping templates defined in the - integration request. `WHEN_NO_TEMPLATES`: passes the method request body - through the integration request to the back end without transformation - when no mapping template is defined in the integration request. If a - template is defined when this option is selected, the method request of - an unmapped content-type will be rejected with an HTTP 415 Unsupported - Media Type response. `NEVER`: rejects the method request with an HTTP - 415 Unsupported Media Type response when either the method request - content type does not match any content type associated with the mapping - templates defined in the integration request or no mapping template is - defined in the integration request. - """ - content_handling: str | None = ... - """ - Specifies how to handle request payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the request payload will be passed - through from the method request to integration request without - modification, provided that the `passthroughBehavior` is configured to - support payload pass-through. - """ - timeout_in_millis: int = ... - """ - Custom timeout between 50 and 29,000 milliseconds. The default value is - 29,000 milliseconds or 29 seconds. You can increase the default value to - longer than 29 seconds for Regional or private APIs only. - """ - cache_namespace: str | None = ... - """ - Specifies a group of related cached parameters. By default, API Gateway - uses the resource ID as the `cacheNamespace`. You can specify the same - `cacheNamespace` across resources to return the same cached data for - requests to different resources. - """ - cache_key_parameters: list[str] | None = ... - """ - A list of request parameters whose values API Gateway caches. To be - valid values for `cacheKeyParameters`, these parameters must also be - specified for Method `requestParameters`. - """ - integration_responses: dict[str, IntegrationResponse] | None = ... - """Specifies the integration's responses.""" - tls_config: TlsConfig | None = ... - """Specifies the TLS configuration for an integration.""" - response_transfer_mode: str | None = ... - """The response transfer mode of the integration.""" - integration_target: str | None = ... - """The ALB or NLB listener to send the request to.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIntegrationResponseInput(_SerdeShape): - """Represents a get integration response request.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """Specifies a get integration response request's resource identifier.""" - http_method: str | None = ... - """Specifies a get integration response request's HTTP method.""" - status_code: str | None = ... - """Specifies a get integration response request's status code.""" - -@dataclass(kw_only=True) -class GetIntegrationResponseOutput(_SerdeShape): - """ - Represents an integration response. The status code must map to an - existing MethodResponse, and parameters and templates can be used to - transform the back-end response. - """ - - status_code: str | None = ... - """ - Specifies the status code that is used to map the integration response - to an existing MethodResponse. - """ - selection_pattern: str | None = ... - """ - Specifies the regular expression (regex) pattern used to choose an - integration response based on the response from the back end. For - example, if the success response returns nothing and the error response - returns some string, you could use the `.+` regex to match error - response. However, make sure that the error response does not contain - any newline (`\n`) character in such cases. If the back end is an Lambda - function, the Lambda function error header is matched. For all other - HTTP and Amazon Web Services back ends, the HTTP status code is matched. - """ - response_parameters: dict[str, str] | None = ... - """ - A key-value map specifying response parameters that are passed to the - method response from the back end. The key is a method response header - parameter name and the mapped value is an integration response header - value, a static value enclosed within a pair of single quotes, or a JSON - expression from the integration response body. The mapping key must - match the pattern of `method.response.header.{name}`, where `name` is a - valid and unique header name. The mapped non-static value must match the - pattern of `integration.response.header.{name}` or - `integration.response.body.{JSON-expression}`, where `name` is a valid - and unique response header name and `JSON-expression` is a valid JSON - expression without the `$` prefix. - """ - response_templates: dict[str, str] | None = ... - """ - Specifies the templates used to transform the integration response body. - Response templates are represented as a key/value map, with a - content-type as the key and a template as the value. - """ - content_handling: str | None = ... - """ - Specifies how to handle response payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the response payload will be passed - through from the integration response to the method response without - modification. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMethodInput(_SerdeShape): - """Request to describe an existing Method resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The Resource identifier for the Method resource.""" - http_method: str | None = ... - """Specifies the method request's HTTP method type.""" - -@dataclass(kw_only=True) -class GetMethodOutput(_SerdeShape): - """ - Represents a client-facing interface by which the client calls the API - to access back-end resources. A Method resource is integrated with an - Integration resource. Both consist of a request and one or more - responses. The method request takes the client input that is passed to - the back end through the integration request. A method response returns - the output from the back end to the client through an integration - response. A method request is embodied in a Method resource, whereas an - integration request is embodied in an Integration resource. On the other - hand, a method response is represented by a MethodResponse resource, - whereas an integration response is represented by an IntegrationResponse - resource. - """ - - http_method: str | None = ... - """The method's HTTP verb.""" - authorization_type: str | None = ... - """ - The method's authorization type. Valid values are `NONE` for open - access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a - custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user - pool. - """ - authorizer_id: str | None = ... - """ - The identifier of an Authorizer to use on this method. The - `authorizationType` must be `CUSTOM`. - """ - api_key_required: bool | None = ... - """ - A boolean flag specifying whether a valid ApiKey is required to invoke - this method. - """ - request_validator_id: str | None = ... - """The identifier of a RequestValidator for request validation.""" - operation_name: str | None = ... - """ - A human-friendly operation identifier for the method. For example, you - can assign the `operationName` of `ListPets` for the `GET /pets` method - in the `PetStore` example. - """ - request_parameters: dict[str, bool] | None = ... - """ - A key-value map defining required or optional method request parameters - that can be accepted by API Gateway. A key is a method request parameter - name matching the pattern of `method.request.{location}.{name}`, where - `location` is `querystring`, `path`, or `header` and `name` is a valid - and unique parameter name. The value associated with the key is a - Boolean flag indicating whether the parameter is required (`true`) or - optional (`false`). The method request parameter names defined here are - available in Integration to be mapped to integration request parameters - or templates. - """ - request_models: dict[str, str] | None = ... - """ - A key-value map specifying data schemas, represented by Model resources, - (as the mapped value) of the request payloads of given content types (as - the mapping key). - """ - method_responses: dict[str, MethodResponse] | None = ... - """Gets a method response associated with a given HTTP status code.""" - method_integration: Integration | None = ... - """ - Gets the method's integration responsible for passing the - client-submitted request to the back end and performing necessary - transformations to make the request compliant with the back end. - """ - authorization_scopes: list[str] | None = ... - """ - A list of authorization scopes configured on the method. The scopes are - used with a `COGNITO_USER_POOLS` authorizer to authorize the method - invocation. The authorization works by matching the method scopes - against the scopes parsed from the access token in the incoming request. - The method invocation is authorized if any method scopes matches a - claimed scope in the access token. Otherwise, the invocation is not - authorized. When the method scope is configured, the client must provide - an access token instead of an identity token for authorization purposes. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMethodResponseInput(_SerdeShape): - """Request to describe a MethodResponse resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The Resource identifier for the MethodResponse resource.""" - http_method: str | None = ... - """The HTTP verb of the Method resource.""" - status_code: str | None = ... - """The status code for the MethodResponse resource.""" - -@dataclass(kw_only=True) -class GetMethodResponseOutput(_SerdeShape): - """ - Represents a method response of a given HTTP status code returned to the - client. The method response is passed from the back end through the - associated integration response that can be transformed using a mapping - template. - """ - - status_code: str | None = ... - """The method response's status code.""" - response_parameters: dict[str, bool] | None = ... - """ - A key-value map specifying required or optional response parameters that - API Gateway can send back to the caller. A key defines a method response - header and the value specifies whether the associated method response - header is required or not. The expression of the key must match the - pattern `method.response.header.{name}`, where `name` is a valid and - unique header name. API Gateway passes certain integration response data - to the method response headers specified here according to the mapping - you prescribe in the API's IntegrationResponse. The integration - response data that can be mapped include an integration response header - expressed in `integration.response.header.{name}`, a static value - enclosed within a pair of single quotes (e.g., `'application/json'`), or - a JSON expression from the back-end response payload in the form of - `integration.response.body.{JSON-expression}`, where `JSON-expression` - is a valid JSON expression without the `$` prefix.) - """ - response_models: dict[str, str] | None = ... - """ - Specifies the Model resources used for the response's content-type. - Response models are represented as a key/value map, with a content-type - as the key and a Model name as the value. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetModelInput(_SerdeShape): - """ - Request to list information about a model in an existing RestApi - resource. - """ - - rest_api_id: str | None = ... - """The RestApi identifier under which the Model exists.""" - model_name: str | None = ... - """The name of the model as an identifier.""" - flatten: bool = ... - """ - A query parameter of a Boolean value to resolve (`true`) all external - model references and returns a flattened model schema or not (`false`) - The default is `false`. - """ - -@dataclass(kw_only=True) -class GetModelOutput(_SerdeShape): - """ - Represents the data structure of a method's request or response - payload. - """ - - id: str | None = ... - """The identifier for the model resource.""" - name: str | None = ... - """The name of the model. Must be an alphanumeric string.""" - description: str | None = ... - """The description of the model.""" - schema: str | None = ... - """ - The schema for the model. For `application/json` models, this should be - JSON schema draft 4 model. Do not include \"\\*/\" characters in the - description of any properties because such \"\\*/\" characters may be - interpreted as the closing marker for comments in some languages, such - as Java or JavaScript, causing the installation of your API's SDK - generated by API Gateway to fail. - """ - content_type: str | None = ... - """The content-type for the model.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetModelsInput(_SerdeShape): - """Request to list existing Models defined for a RestApi resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetModelsOutput(_SerdeShape): - """Represents a collection of Model resources.""" - - items: list[Model] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetModelTemplateInput(_SerdeShape): - """ - Request to generate a sample mapping template used to transform the - payload. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - model_name: str | None = ... - """The name of the model for which to generate a template.""" - -@dataclass(kw_only=True) -class GetModelTemplateOutput(_SerdeShape): - """Represents a mapping template used to transform a payload.""" - - value: str | None = ... - """ - The Apache Velocity Template Language (VTL) template content used for - the template resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRequestValidatorInput(_SerdeShape): - """Gets a RequestValidator of a given RestApi.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - request_validator_id: str | None = ... - """The identifier of the RequestValidator to be retrieved.""" - -@dataclass(kw_only=True) -class GetRequestValidatorOutput(_SerdeShape): - """A set of validation rules for incoming Method requests.""" - - id: str | None = ... - """The identifier of this RequestValidator.""" - name: str | None = ... - """The name of this RequestValidator""" - validate_request_body: bool = ... - """ - A Boolean flag to indicate whether to validate a request body according - to the configured Model schema. - """ - validate_request_parameters: bool = ... - """ - A Boolean flag to indicate whether to validate request parameters - (`true`) or not (`false`). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRequestValidatorsInput(_SerdeShape): - """Gets the RequestValidators collection of a given RestApi.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetRequestValidatorsOutput(_SerdeShape): - """A collection of RequestValidator resources of a given RestApi.""" - - items: list[RequestValidator] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourceInput(_SerdeShape): - """Request to list information about a resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The identifier for the Resource resource.""" - embed: list[str] | None = ... - """ - A query parameter to retrieve the specified resources embedded in the - returned Resource representation in the response. This `embed` parameter - value is a list of comma-separated strings. Currently, the request - supports only retrieval of the embedded Method resources this way. The - query parameter value must be a single-valued list and contain the - `"methods"` string. For example, - `GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods`. - """ - -@dataclass(kw_only=True) -class GetResourceOutput(_SerdeShape): - """Represents an API resource.""" - - id: str | None = ... - """The resource's identifier.""" - parent_id: str | None = ... - """The parent resource's identifier.""" - path_part: str | None = ... - """The last path segment for this resource.""" - path: str | None = ... - """The full path for this resource.""" - resource_methods: dict[str, Method] | None = ... - """Gets an API resource's method of a given HTTP verb.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourcesInput(_SerdeShape): - """Request to list information about a collection of resources.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - embed: list[str] | None = ... - """ - A query parameter used to retrieve the specified resources embedded in - the returned Resources resource in the response. This `embed` parameter - value is a list of comma-separated strings. Currently, the request - supports only retrieval of the embedded Method resources this way. The - query parameter value must be a single-valued list and contain the - `"methods"` string. For example, - `GET /restapis/{restapi_id}/resources?embed=methods`. - """ - -@dataclass(kw_only=True) -class GetResourcesOutput(_SerdeShape): - """Represents a collection of Resource resources.""" - - items: list[Resource] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRestApiInput(_SerdeShape): - """The GET request to list an existing RestApi defined for your collection.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - -@dataclass(kw_only=True) -class GetRestApiOutput(_SerdeShape): - """Represents a REST API.""" - - id: str | None = ... - """ - The API's identifier. This identifier is unique across all of your APIs - in API Gateway. - """ - name: str | None = ... - """The API's name.""" - description: str | None = ... - """The API's description.""" - created_date: datetime | None = ... - """The timestamp when the API was created.""" - version: str | None = ... - """A version identifier for the API.""" - warnings: list[str] | None = ... - """ - The warning messages reported when `failonwarnings` is turned on during - API import. - """ - binary_media_types: list[str] | None = ... - """ - The list of binary media types supported by the RestApi. By default, the - RestApi supports only UTF-8-encoded text payloads. - """ - minimum_compression_size: int | None = ... - """ - A nullable integer that is used to enable compression (with non-negative - between 0 and 10485760 (10M) bytes, inclusive) or disable compression - (with a null value) on an API. When compression is enabled, compression - or decompression is not applied on the payload if the payload size is - smaller than this value. Setting it to zero allows compression for any - payload size. - """ - api_key_source: str | None = ... - """ - The source of the API key for metering requests according to a usage - plan. Valid values are: >`HEADER` to read the API key from the - `X-API-Key` header of a request. `AUTHORIZER` to read the API key from - the `UsageIdentifierKey` from a custom authorizer. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this RestApi showing the endpoint types - and IP address types of the API. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to this RestApi - regardless of the caller and Method configuration. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - disable_execute_api_endpoint: bool = ... - """ - Specifies whether clients can invoke your API by using the default - `execute-api` endpoint. By default, clients can invoke your API with the - default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. - To require that clients use a custom domain name to invoke your API, - disable the default endpoint. - """ - root_resource_id: str | None = ... - """The API's root resource ID.""" - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - RestApi. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the RestApi.""" - api_status: str | None = ... - """The ApiStatus of the RestApi.""" - api_status_message: str | None = ... - """ - The status message of the RestApi. When the status message is `UPDATING` - you can still invoke it. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRestApisInput(_SerdeShape): - """The GET request to list existing RestApis defined for your collection.""" - - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetRestApisOutput(_SerdeShape): - """ - Contains references to your APIs and links that guide you in how to - interact with your collection. A collection offers a paginated view of - your APIs. - """ - - items: list[RestApi] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSdkInput(_SerdeShape): - """Request a new generated client SDK for a RestApi and Stage.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """The name of the Stage that the SDK will use.""" - sdk_type: str | None = ... - """ - The language for the generated SDK. Currently `java`, `javascript`, - `android`, `objectivec` (for iOS), `swift` (for iOS), and `ruby` are - supported. - """ - parameters: dict[str, str] | None = ... - """ - A string-to-string key-value map of query parameters `sdkType`-dependent - properties of the SDK. For `sdkType` of `objectivec` or `swift`, a - parameter named `classPrefix` is required. For `sdkType` of `android`, - parameters named `groupId`, `artifactId`, `artifactVersion`, and - `invokerPackage` are required. For `sdkType` of `java`, parameters named - `serviceName` and `javaPackageName` are required. - """ - -@dataclass(kw_only=True) -class GetSdkOutput(_SerdeShape): - """The binary blob response to GetSdk, which contains the generated SDK.""" - - content_type: str | None = ... - """The content-type header value in the HTTP response.""" - content_disposition: str | None = ... - """The content-disposition header value in the HTTP response.""" - body: bytes | None = ... - """The binary blob response to GetSdk, which contains the generated SDK.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSdkTypeInput(_SerdeShape): - """Get an SdkType instance.""" - - id: str | None = ... - """The identifier of the queried SdkType instance.""" - -@dataclass(kw_only=True) -class GetSdkTypeOutput(_SerdeShape): - """A type of SDK that API Gateway can generate.""" - - id: str | None = ... - """The identifier of an SdkType instance.""" - friendly_name: str | None = ... - """The user-friendly name of an SdkType instance.""" - description: str | None = ... - """The description of an SdkType.""" - configuration_properties: list[SdkConfigurationProperty] | None = ... - """A list of configuration properties of an SdkType.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSdkTypesInput(_SerdeShape): - """Get the SdkTypes collection.""" - - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetSdkTypesOutput(_SerdeShape): - """The collection of SdkType instances.""" - - items: list[SdkType] | None = ... - """The current page of elements from this collection.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetStageInput(_SerdeShape): - """Requests API Gateway to get information about a Stage resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """The name of the Stage resource to get information about.""" - -@dataclass(kw_only=True) -class GetStageOutput(_SerdeShape): - """ - Represents a unique identifier for a version of a deployed RestApi that - is callable by users. - """ - - deployment_id: str | None = ... - """The identifier of the Deployment that the stage points to.""" - client_certificate_id: str | None = ... - """The identifier of a client certificate for an API stage.""" - stage_name: str | None = ... - """ - The name of the stage is the first path segment in the Uniform Resource - Identifier (URI) of a call to API Gateway. Stage names can only contain - alphanumeric characters, hyphens, and underscores. Maximum length is 128 - characters. - """ - description: str | None = ... - """The stage's description.""" - cache_cluster_enabled: bool = ... - """ - Specifies whether a cache cluster is enabled for the stage. To activate - a method-level cache, set `CachingEnabled` to `true` for a method. - """ - cache_cluster_size: str | None = ... - """ - The stage's cache capacity in GB. For more information about choosing a - cache size, see [Enabling API caching to enhance - responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). - """ - cache_cluster_status: str | None = ... - """The status of the cache cluster for the stage, if enabled.""" - method_settings: dict[str, MethodSetting] | None = ... - """ - A map that defines the method settings for a Stage resource. Keys - (designated as `/{method_setting_key` below) are method paths defined as - `{resource_path}/{http_method}` for an individual method override, or - `/*/*` for overriding all methods in the stage. - """ - variables: dict[str, str] | None = ... - """ - A map that defines the stage variables for a Stage resource. Variable - names can have alphanumeric and underscore characters, and the values - must match `[A-Za-z0-9-._~:/?#&=,]+`. - """ - documentation_version: str | None = ... - """The version of the associated API documentation.""" - access_log_settings: AccessLogSettings | None = ... - """Settings for logging access in this stage.""" - canary_settings: CanarySettings | None = ... - """Settings for the canary deployment in this stage.""" - tracing_enabled: bool = ... - """Specifies whether active tracing with X-ray is enabled for the Stage.""" - web_acl_arn: str | None = ... - """The ARN of the WebAcl associated with the Stage.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - created_date: datetime | None = ... - """The timestamp when the stage was created.""" - last_updated_date: datetime | None = ... - """The timestamp when the stage last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetStagesInput(_SerdeShape): - """ - Requests API Gateway to get information about one or more Stage - resources. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - deployment_id: str | None = ... - """The stages' deployment identifiers.""" - -@dataclass(kw_only=True) -class GetStagesOutput(_SerdeShape): - """A list of Stage resources that are associated with the ApiKey resource.""" - - item: list[Stage] | None = ... - """The current page of elements from this collection.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTagsInput(_SerdeShape): - """Gets the Tags collection for a given resource.""" - - resource_arn: str | None = ... - """The ARN of a resource that can be tagged.""" - position: str | None = ... - """ - (Not currently supported) The current pagination position in the paged - result set. - """ - limit: int | None = ... - """ - (Not currently supported) The maximum number of returned results per - page. The default value is 25 and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetTagsOutput(_SerdeShape): - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUsageInput(_SerdeShape): - """ - The GET request to get the usage data of a usage plan in a specified - time interval. - """ - - usage_plan_id: str | None = ... - """The Id of the usage plan associated with the usage data.""" - key_id: str | None = ... - """The Id of the API key associated with the resultant usage data.""" - start_date: str | None = ... - """The starting date (e.g., 2016-01-01) of the usage data.""" - end_date: str | None = ... - """The ending date (e.g., 2016-12-31) of the usage data.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetUsageOutput(_SerdeShape): - """Represents the usage data of a usage plan.""" - - usage_plan_id: str | None = ... - """The plan Id associated with this usage data.""" - start_date: str | None = ... - """The starting date of the usage data.""" - end_date: str | None = ... - """The ending date of the usage data.""" - items: dict[str, list[list[int]]] | None = ... - """ - The usage data, as daily logs of used and remaining quotas, over the - specified time interval indexed over the API keys in a usage plan. For - example, - `{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}`, - where `{api_key}` stands for an API key value and the daily log entry is - of the format `[used quota, remaining quota]`. - """ - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUsagePlanInput(_SerdeShape): - """The GET request to get a usage plan of a given plan identifier.""" - - usage_plan_id: str | None = ... - """The identifier of the UsagePlan resource to be retrieved.""" - -@dataclass(kw_only=True) -class GetUsagePlanKeyInput(_SerdeShape): - """The GET request to get a usage plan key of a given key identifier.""" - - usage_plan_id: str | None = ... - """ - The Id of the UsagePlan resource representing the usage plan containing - the to-be-retrieved UsagePlanKey resource representing a plan customer. - """ - key_id: str | None = ... - """ - The key Id of the to-be-retrieved UsagePlanKey resource representing a - plan customer. - """ - -@dataclass(kw_only=True) -class GetUsagePlanKeyOutput(_SerdeShape): - """Represents a usage plan key to identify a plan customer.""" - - id: str | None = ... - """The Id of a usage plan key.""" - type: str | None = ... - """ - The type of a usage plan key. Currently, the valid key type is - `API_KEY`. - """ - value: str | None = ... - """The value of a usage plan key.""" - name: str | None = ... - """The name of a usage plan key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUsagePlanKeysInput(_SerdeShape): - """ - The GET request to get all the usage plan keys representing the API keys - added to a specified usage plan. - """ - - usage_plan_id: str | None = ... - """ - The Id of the UsagePlan resource representing the usage plan containing - the to-be-retrieved UsagePlanKey resource representing a plan customer. - """ - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - name_query: str | None = ... - """ - A query parameter specifying the name of the to-be-returned usage plan - keys. - """ - -@dataclass(kw_only=True) -class GetUsagePlanKeysOutput(_SerdeShape): - """ - Represents the collection of usage plan keys added to usage plans for - the associated API keys and, possibly, other types of keys. - """ - - items: list[UsagePlanKey] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUsagePlanOutput(_SerdeShape): - """ - Represents a usage plan used to specify who can assess associated API - stages. Optionally, target request rate and quota limits can be set. In - some cases clients can exceed the targets that you set. Don't rely on - usage plans to control costs. Consider using [Amazon Web Services - Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) - to monitor costs and - [WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) - to manage API requests. - """ - - id: str | None = ... - """The identifier of a UsagePlan resource.""" - name: str | None = ... - """The name of a usage plan.""" - description: str | None = ... - """The description of a usage plan.""" - api_stages: list[ApiStage] | None = ... - """The associated API stages of a usage plan.""" - throttle: ThrottleSettings | None = ... - """ - A map containing method level throttling information for API stage in a - usage plan. - """ - quota: QuotaSettings | None = ... - """ - The target maximum number of permitted requests per a given unit time - interval. - """ - product_code: str | None = ... - """ - The Amazon Web Services Marketplace product identifier to associate with - the usage plan as a SaaS product on the Amazon Web Services Marketplace. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUsagePlansInput(_SerdeShape): - """The GET request to get all the usage plans of the caller's account.""" - - position: str | None = ... - """The current pagination position in the paged result set.""" - key_id: str | None = ... - """The identifier of the API key associated with the usage plans.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetUsagePlansOutput(_SerdeShape): - """Represents a collection of usage plans for an AWS account.""" - - items: list[UsagePlan] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVpcLinkInput(_SerdeShape): - """Gets a specified VPC link under the caller's account in a region.""" - - vpc_link_id: str | None = ... - """ - The identifier of the VpcLink. It is used in an Integration to reference - this VpcLink. - """ - -@dataclass(kw_only=True) -class GetVpcLinkOutput(_SerdeShape): - """ - An API Gateway VPC link for a RestApi to access resources in an Amazon - Virtual Private Cloud (VPC). - """ - - id: str | None = ... - """ - The identifier of the VpcLink. It is used in an Integration to reference - this VpcLink. - """ - name: str | None = ... - """The name used to label and identify the VPC link.""" - description: str | None = ... - """The description of the VPC link.""" - target_arns: list[str] | None = ... - """ - The ARN of the network load balancer of the VPC targeted by the VPC - link. The network load balancer must be owned by the same Amazon Web - Services account of the API owner. - """ - status: str | None = ... - """ - The status of the VPC link. The valid values are `AVAILABLE`, `PENDING`, - `DELETING`, or `FAILED`. Deploying an API will wait if the status is - `PENDING` and will fail if the status is `DELETING`. - """ - status_message: str | None = ... - """A description about the VPC link status.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVpcLinksInput(_SerdeShape): - """ - Gets the VpcLinks collection under the caller's account in a selected - region. - """ - - position: str | None = ... - """The current pagination position in the paged result set.""" - limit: int | None = ... - """ - The maximum number of returned results per page. The default value is 25 - and the maximum value is 500. - """ - -@dataclass(kw_only=True) -class GetVpcLinksOutput(_SerdeShape): - """The collection of VPC links under the caller's account in a region.""" - - items: list[VpcLink] | None = ... - """The current page of elements from this collection.""" - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportApiKeysInput(_SerdeShape): - """ - The POST request to import API keys from an external source, such as a - CSV-formatted file. - """ - - body: bytes | None = ... - """ - The payload of the POST request to import API keys. For the payload - format, see API Key File Format. - """ - format: str | None = ... - """ - A query parameter to specify the input format to imported API keys. - Currently, only the `csv` format is supported. - """ - fail_on_warnings: bool = ... - """ - A query parameter to indicate whether to rollback ApiKey importation - (`true`) or not (`false`) when error is encountered. - """ - -@dataclass(kw_only=True) -class ImportApiKeysOutput(_SerdeShape): - """The identifier of an ApiKey used in a UsagePlan.""" - - ids: list[str] | None = ... - """A list of all the ApiKey identifiers.""" - warnings: list[str] | None = ... - """A list of warning messages.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportDocumentationPartsInput(_SerdeShape): - """ - Import documentation parts from an external (e.g., OpenAPI) definition - file. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - mode: str | None = ... - """ - A query parameter to indicate whether to overwrite (`overwrite`) any - existing DocumentationParts definition or to merge (`merge`) the new - definition into the existing one. The default value is `merge`. - """ - fail_on_warnings: bool = ... - """ - A query parameter to specify whether to rollback the documentation - importation (`true`) or not (`false`) when a warning is encountered. The - default value is `false`. - """ - body: bytes | None = ... - """ - Raw byte array representing the to-be-imported documentation parts. To - import from an OpenAPI file, this is a JSON object. - """ - -@dataclass(kw_only=True) -class ImportDocumentationPartsOutput(_SerdeShape): - """A collection of the imported DocumentationPart identifiers.""" - - ids: list[str] | None = ... - """A list of the returned documentation part identifiers.""" - warnings: list[str] | None = ... - """ - A list of warning messages reported during import of documentation - parts. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportRestApiInput(_SerdeShape): - """ - A POST request to import an API to API Gateway using an input of an API - definition file. - """ - - fail_on_warnings: bool = ... - """ - A query parameter to indicate whether to rollback the API creation - (`true`) or not (`false`) when a warning is encountered. The default - value is `false`. - """ - parameters: dict[str, str] | None = ... - """ - A key-value map of context-specific query string parameters specifying - the behavior of different API importing operations. The following shows - operation-specific parameters and their supported values. - - To exclude DocumentationParts from the import, set `parameters` as - `ignore=documentation`. - - To configure the endpoint type, set `parameters` as - `endpointConfigurationTypes=EDGE`, - `endpointConfigurationTypes=REGIONAL`, or - `endpointConfigurationTypes=PRIVATE`. The default endpoint type is - `EDGE`. - - To handle imported `basepath`, set `parameters` as `basepath=ignore`, - `basepath=prepend` or `basepath=split`. - """ - body: bytes | None = ... - """ - The POST request body containing external API definitions. Currently, - only OpenAPI definition JSON/YAML files are supported. The maximum size - of the API definition file is 6MB. - """ - -@dataclass(kw_only=True) -class ImportRestApiOutput(_SerdeShape): - """Represents a REST API.""" - - id: str | None = ... - """ - The API's identifier. This identifier is unique across all of your APIs - in API Gateway. - """ - name: str | None = ... - """The API's name.""" - description: str | None = ... - """The API's description.""" - created_date: datetime | None = ... - """The timestamp when the API was created.""" - version: str | None = ... - """A version identifier for the API.""" - warnings: list[str] | None = ... - """ - The warning messages reported when `failonwarnings` is turned on during - API import. - """ - binary_media_types: list[str] | None = ... - """ - The list of binary media types supported by the RestApi. By default, the - RestApi supports only UTF-8-encoded text payloads. - """ - minimum_compression_size: int | None = ... - """ - A nullable integer that is used to enable compression (with non-negative - between 0 and 10485760 (10M) bytes, inclusive) or disable compression - (with a null value) on an API. When compression is enabled, compression - or decompression is not applied on the payload if the payload size is - smaller than this value. Setting it to zero allows compression for any - payload size. - """ - api_key_source: str | None = ... - """ - The source of the API key for metering requests according to a usage - plan. Valid values are: >`HEADER` to read the API key from the - `X-API-Key` header of a request. `AUTHORIZER` to read the API key from - the `UsageIdentifierKey` from a custom authorizer. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this RestApi showing the endpoint types - and IP address types of the API. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to this RestApi - regardless of the caller and Method configuration. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - disable_execute_api_endpoint: bool = ... - """ - Specifies whether clients can invoke your API by using the default - `execute-api` endpoint. By default, clients can invoke your API with the - default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. - To require that clients use a custom domain name to invoke your API, - disable the default endpoint. - """ - root_resource_id: str | None = ... - """The API's root resource ID.""" - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - RestApi. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the RestApi.""" - api_status: str | None = ... - """The ApiStatus of the RestApi.""" - api_status_message: str | None = ... - """ - The status message of the RestApi. When the status message is `UPDATING` - you can still invoke it. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Integration(_SerdeShape): - """ - Represents an `HTTP`, `HTTP_PROXY`, `AWS`, `AWS_PROXY`, or Mock - integration. - """ - - type: str | None = ... - """ - Specifies an API method integration type. The valid value is one of the - following: - - For the HTTP and HTTP proxy integrations, each integration can specify a - protocol (`http/https`), port and path. Standard 80 and 443 ports are - supported as well as custom ports above 1024. An HTTP or HTTP proxy - integration with a `connectionType` of `VPC_LINK` is referred to as a - private integration and uses a VpcLink to connect API Gateway to a - network load balancer of a VPC. - """ - http_method: str | None = ... - """ - Specifies the integration's HTTP method type. For the Type property, if - you specify `MOCK`, this property is optional. For Lambda integrations, - you must set the integration method to `POST`. For all other types, you - must specify this property. - """ - uri: str | None = ... - """ - Specifies Uniform Resource Identifier (URI) of the integration endpoint. - - For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully formed, - encoded HTTP(S) URL according to the RFC-3986 specification for standard - integrations. If `connectionType` is `VPC_LINK` specify the Network Load - Balancer DNS name. For `AWS` or `AWS_PROXY` integrations, the URI is of - the form - `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}`. - Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is - the name of the integrated Amazon Web Services service (e.g., s3); and - {subdomain} is a designated subdomain supported by certain Amazon Web - Services service for fast host-name lookup. action can be used for an - Amazon Web Services service action-based API, using an - Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing - {service_api} refers to a supported action {name} plus any required - input parameters. Alternatively, path can be used for an Amazon Web - Services service path-based API. The ensuing service_api refers to the - path to an Amazon Web Services service resource, including the region of - the integrated Amazon Web Services service, if applicable. For example, - for integration with the S3 API of GetObject, the uri can be either - `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` - or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}` - """ - connection_type: str | None = ... - """ - The type of the network connection to the integration endpoint. The - valid value is `INTERNET` for connections through the public routable - internet or `VPC_LINK` for private connections between API Gateway and a - network load balancer in a VPC. The default value is `INTERNET`. - """ - connection_id: str | None = ... - """ - The ID of the VpcLink used for the integration when - `connectionType=VPC_LINK` and undefined, otherwise. - """ - credentials: str | None = ... - """ - Specifies the credentials required for the integration, if any. For AWS - integrations, three options are available. To specify an IAM Role for - API Gateway to assume, use the role's Amazon Resource Name (ARN). To - require that the caller's identity be passed through from the request, - specify the string `arn:aws:iam::*:user/*`. To use resource-based - permissions on supported Amazon Web Services services, specify null. - """ - request_parameters: dict[str, str] | None = ... - """ - A key-value map specifying request parameters that are passed from the - method request to the back end. The key is an integration request - parameter name and the associated value is a method request parameter - value or static value that must be enclosed within single quotes and - pre-encoded as required by the back end. The method request parameter - value must match the pattern of `method.request.{location}.{name}`, - where `location` is `querystring`, `path`, or `header` and `name` must - be a valid and unique method request parameter name. - """ - request_templates: dict[str, str] | None = ... - """ - Represents a map of Velocity templates that are applied on the request - payload based on the value of the Content-Type header sent by the - client. The content type value is the key in this map, and the template - (as a String) is the value. - """ - passthrough_behavior: str | None = ... - """ - Specifies how the method request body of an unmapped content type will - be passed through the integration request to the back end without - transformation. A content type is unmapped if no mapping template is - defined in the integration or the content type does not match any of the - mapped content types, as specified in `requestTemplates`. The valid - value is one of the following: `WHEN_NO_MATCH`: passes the method - request body through the integration request to the back end without - transformation when the method request content type does not match any - content type associated with the mapping templates defined in the - integration request. `WHEN_NO_TEMPLATES`: passes the method request body - through the integration request to the back end without transformation - when no mapping template is defined in the integration request. If a - template is defined when this option is selected, the method request of - an unmapped content-type will be rejected with an HTTP 415 Unsupported - Media Type response. `NEVER`: rejects the method request with an HTTP - 415 Unsupported Media Type response when either the method request - content type does not match any content type associated with the mapping - templates defined in the integration request or no mapping template is - defined in the integration request. - """ - content_handling: str | None = ... - """ - Specifies how to handle request payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the request payload will be passed - through from the method request to integration request without - modification, provided that the `passthroughBehavior` is configured to - support payload pass-through. - """ - timeout_in_millis: int = ... - """ - Custom timeout between 50 and 29,000 milliseconds. The default value is - 29,000 milliseconds or 29 seconds. You can increase the default value to - longer than 29 seconds for Regional or private APIs only. - """ - cache_namespace: str | None = ... - """ - Specifies a group of related cached parameters. By default, API Gateway - uses the resource ID as the `cacheNamespace`. You can specify the same - `cacheNamespace` across resources to return the same cached data for - requests to different resources. - """ - cache_key_parameters: list[str] | None = ... - """ - A list of request parameters whose values API Gateway caches. To be - valid values for `cacheKeyParameters`, these parameters must also be - specified for Method `requestParameters`. - """ - integration_responses: dict[str, IntegrationResponse] | None = ... - """Specifies the integration's responses.""" - tls_config: TlsConfig | None = ... - """Specifies the TLS configuration for an integration.""" - response_transfer_mode: str | None = ... - """The response transfer mode of the integration.""" - integration_target: str | None = ... - """The ALB or NLB listener to send the request to.""" - -@dataclass(kw_only=True) -class IntegrationResponse(_SerdeShape): - """ - Represents an integration response. The status code must map to an - existing MethodResponse, and parameters and templates can be used to - transform the back-end response. - """ - - status_code: str | None = ... - """ - Specifies the status code that is used to map the integration response - to an existing MethodResponse. - """ - selection_pattern: str | None = ... - """ - Specifies the regular expression (regex) pattern used to choose an - integration response based on the response from the back end. For - example, if the success response returns nothing and the error response - returns some string, you could use the `.+` regex to match error - response. However, make sure that the error response does not contain - any newline (`\n`) character in such cases. If the back end is an Lambda - function, the Lambda function error header is matched. For all other - HTTP and Amazon Web Services back ends, the HTTP status code is matched. - """ - response_parameters: dict[str, str] | None = ... - """ - A key-value map specifying response parameters that are passed to the - method response from the back end. The key is a method response header - parameter name and the mapped value is an integration response header - value, a static value enclosed within a pair of single quotes, or a JSON - expression from the integration response body. The mapping key must - match the pattern of `method.response.header.{name}`, where `name` is a - valid and unique header name. The mapped non-static value must match the - pattern of `integration.response.header.{name}` or - `integration.response.body.{JSON-expression}`, where `name` is a valid - and unique response header name and `JSON-expression` is a valid JSON - expression without the `$` prefix. - """ - response_templates: dict[str, str] | None = ... - """ - Specifies the templates used to transform the integration response body. - Response templates are represented as a key/value map, with a - content-type as the key and a template as the value. - """ - content_handling: str | None = ... - """ - Specifies how to handle response payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the response payload will be passed - through from the integration response to the method response without - modification. - """ - -class IntegrationType(UnknownEnumMixin, StrEnum): - """ - The integration type. The valid value is `HTTP` for integrating an API - method with an HTTP backend; `AWS` with any Amazon Web Services service - endpoints; `MOCK` for testing without actually invoking the backend; - `HTTP_PROXY` for integrating with the HTTP proxy integration; - `AWS_PROXY` for integrating with the Lambda proxy integration. - """ - - HTTP = "HTTP" - AWS = "AWS" - MOCK = "MOCK" - HTTP_PROXY = "HTTP_PROXY" - AWS_PROXY = "AWS_PROXY" - -class IpAddressType(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - DUALSTACK = "dualstack" - -@dataclass(kw_only=True) -class LimitExceededException(ServiceError, _SerdeShape): - """ - The request exceeded the rate limit. Retry after the specified time - period. - """ - - retry_after_seconds: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class LocationStatusType(UnknownEnumMixin, StrEnum): - DOCUMENTED = "DOCUMENTED" - UNDOCUMENTED = "UNDOCUMENTED" - -@dataclass(kw_only=True) -class Method(_SerdeShape): - """ - Represents a client-facing interface by which the client calls the API - to access back-end resources. A Method resource is integrated with an - Integration resource. Both consist of a request and one or more - responses. The method request takes the client input that is passed to - the back end through the integration request. A method response returns - the output from the back end to the client through an integration - response. A method request is embodied in a Method resource, whereas an - integration request is embodied in an Integration resource. On the other - hand, a method response is represented by a MethodResponse resource, - whereas an integration response is represented by an IntegrationResponse - resource. - """ - - http_method: str | None = ... - """The method's HTTP verb.""" - authorization_type: str | None = ... - """ - The method's authorization type. Valid values are `NONE` for open - access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a - custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user - pool. - """ - authorizer_id: str | None = ... - """ - The identifier of an Authorizer to use on this method. The - `authorizationType` must be `CUSTOM`. - """ - api_key_required: bool | None = ... - """ - A boolean flag specifying whether a valid ApiKey is required to invoke - this method. - """ - request_validator_id: str | None = ... - """The identifier of a RequestValidator for request validation.""" - operation_name: str | None = ... - """ - A human-friendly operation identifier for the method. For example, you - can assign the `operationName` of `ListPets` for the `GET /pets` method - in the `PetStore` example. - """ - request_parameters: dict[str, bool] | None = ... - """ - A key-value map defining required or optional method request parameters - that can be accepted by API Gateway. A key is a method request parameter - name matching the pattern of `method.request.{location}.{name}`, where - `location` is `querystring`, `path`, or `header` and `name` is a valid - and unique parameter name. The value associated with the key is a - Boolean flag indicating whether the parameter is required (`true`) or - optional (`false`). The method request parameter names defined here are - available in Integration to be mapped to integration request parameters - or templates. - """ - request_models: dict[str, str] | None = ... - """ - A key-value map specifying data schemas, represented by Model resources, - (as the mapped value) of the request payloads of given content types (as - the mapping key). - """ - method_responses: dict[str, MethodResponse] | None = ... - """Gets a method response associated with a given HTTP status code.""" - method_integration: Integration | None = ... - """ - Gets the method's integration responsible for passing the - client-submitted request to the back end and performing necessary - transformations to make the request compliant with the back end. - """ - authorization_scopes: list[str] | None = ... - """ - A list of authorization scopes configured on the method. The scopes are - used with a `COGNITO_USER_POOLS` authorizer to authorize the method - invocation. The authorization works by matching the method scopes - against the scopes parsed from the access token in the incoming request. - The method invocation is authorized if any method scopes matches a - claimed scope in the access token. Otherwise, the invocation is not - authorized. When the method scope is configured, the client must provide - an access token instead of an identity token for authorization purposes. - """ - -@dataclass(kw_only=True) -class MethodResponse(_SerdeShape): - """ - Represents a method response of a given HTTP status code returned to the - client. The method response is passed from the back end through the - associated integration response that can be transformed using a mapping - template. - """ - - status_code: str | None = ... - """The method response's status code.""" - response_parameters: dict[str, bool] | None = ... - """ - A key-value map specifying required or optional response parameters that - API Gateway can send back to the caller. A key defines a method response - header and the value specifies whether the associated method response - header is required or not. The expression of the key must match the - pattern `method.response.header.{name}`, where `name` is a valid and - unique header name. API Gateway passes certain integration response data - to the method response headers specified here according to the mapping - you prescribe in the API's IntegrationResponse. The integration - response data that can be mapped include an integration response header - expressed in `integration.response.header.{name}`, a static value - enclosed within a pair of single quotes (e.g., `'application/json'`), or - a JSON expression from the back-end response payload in the form of - `integration.response.body.{JSON-expression}`, where `JSON-expression` - is a valid JSON expression without the `$` prefix.) - """ - response_models: dict[str, str] | None = ... - """ - Specifies the Model resources used for the response's content-type. - Response models are represented as a key/value map, with a content-type - as the key and a Model name as the value. - """ - -@dataclass(kw_only=True) -class MethodSetting(_SerdeShape): - """Specifies the method setting properties.""" - - metrics_enabled: bool = ... - """Specifies whether Amazon CloudWatch metrics are enabled for this method.""" - logging_level: str | None = ... - """ - Specifies the logging level for this method, which affects the log - entries pushed to Amazon CloudWatch Logs. Valid values are `OFF`, - `ERROR`, and `INFO`. Choose `ERROR` to write only error-level entries to - CloudWatch Logs, or choose `INFO` to include all `ERROR` events as well - as extra informational events. - """ - data_trace_enabled: bool = ... - """ - Specifies whether data trace logging is enabled for this method, which - affects the log entries pushed to Amazon CloudWatch Logs. This can be - useful to troubleshoot APIs, but can result in logging sensitive data. - We recommend that you don't enable this option for production APIs. - """ - throttling_burst_limit: int = ... - """Specifies the throttling burst limit.""" - throttling_rate_limit: float = ... - """Specifies the throttling rate limit.""" - caching_enabled: bool = ... - """ - Specifies whether responses should be cached and returned for requests. - A cache cluster must be enabled on the stage for responses to be cached. - """ - cache_ttl_in_seconds: int = ... - """ - Specifies the time to live (TTL), in seconds, for cached responses. The - higher the TTL, the longer the response will be cached. - """ - cache_data_encrypted: bool = ... - """Specifies whether the cached responses are encrypted.""" - require_authorization_for_cache_control: bool = ... - """ - Specifies whether authorization is required for a cache invalidation - request. - """ - unauthorized_cache_control_header_strategy: str | None = ... - """Specifies how to handle unauthorized requests for cache invalidation.""" - -@dataclass(kw_only=True) -class MethodSnapshot(_SerdeShape): - """ - Represents a summary of a Method resource, given a particular date and - time. - """ - - authorization_type: str | None = ... - """ - The method's authorization type. Valid values are `NONE` for open - access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a - custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user - pool. - """ - api_key_required: bool = ... - """Specifies whether the method requires a valid ApiKey.""" - -@dataclass(kw_only=True) -class Model(_SerdeShape): - """ - Represents the data structure of a method's request or response - payload. - """ - - id: str | None = ... - """The identifier for the model resource.""" - name: str | None = ... - """The name of the model. Must be an alphanumeric string.""" - description: str | None = ... - """The description of the model.""" - schema: str | None = ... - """ - The schema for the model. For `application/json` models, this should be - JSON schema draft 4 model. Do not include \"\\*/\" characters in the - description of any properties because such \"\\*/\" characters may be - interpreted as the closing marker for comments in some languages, such - as Java or JavaScript, causing the installation of your API's SDK - generated by API Gateway to fail. - """ - content_type: str | None = ... - """The content-type for the model.""" - -@dataclass(kw_only=True) -class MutualTlsAuthentication(_SerdeShape): - """ - The mutual TLS authentication configuration for a custom domain name. If - specified, API Gateway performs two-way authentication between the - client and the server. Clients must present a trusted certificate to - access your API. - """ - - truststore_uri: str | None = ... - """ - An Amazon S3 URL that specifies the truststore for mutual TLS - authentication, for example `s3://bucket-name/key-name`. The truststore - can contain certificates from public or private certificate authorities. - To update the truststore, upload a new version to S3, and then update - your custom domain name to use the new version. To update the - truststore, you must have permissions to access the S3 object. - """ - truststore_version: str | None = ... - """ - The version of the S3 object that contains your truststore. To specify a - version, you must have versioning enabled for the S3 bucket. - """ - truststore_warnings: list[str] | None = ... - """ - A list of warnings that API Gateway returns while processing your - truststore. Invalid certificates produce warnings. Mutual TLS is still - enabled, but some clients might not be able to access your API. To - resolve warnings, upload a new truststore to S3, and then update you - domain name to use the new version. - """ - -@dataclass(kw_only=True) -class MutualTlsAuthenticationInput(_SerdeShape): - """ - The mutual TLS authentication configuration for a custom domain name. If - specified, API Gateway performs two-way authentication between the - client and the server. Clients must present a trusted certificate to - access your API. - """ - - truststore_uri: str | None = ... - """ - An Amazon S3 URL that specifies the truststore for mutual TLS - authentication, for example `s3://bucket-name/key-name`. The truststore - can contain certificates from public or private certificate authorities. - To update the truststore, upload a new version to S3, and then update - your custom domain name to use the new version. To update the - truststore, you must have permissions to access the S3 object. - """ - truststore_version: str | None = ... - """ - The version of the S3 object that contains your truststore. To specify a - version, you must have versioning enabled for the S3 bucket - """ - -@dataclass(kw_only=True) -class NotFoundException(ServiceError, _SerdeShape): - """ - The requested resource is not found. Make sure that the request URI is - correct. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class Op(UnknownEnumMixin, StrEnum): - ADD = "add" - REMOVE = "remove" - REPLACE = "replace" - MOVE = "move" - COPY = "copy" - TEST = "test" - -@dataclass(kw_only=True) -class PatchOperation(_SerdeShape): - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - - op: str | None = ... - """ - An update operation to be performed with this PATCH request. The valid - value can be add, remove, replace or copy. Not all valid operations are - supported for a given resource. Support of the operations depends on - specific operational contexts. Attempts to apply an unsupported - operation on a resource will return an error message.. - """ - path: str | None = ... - """ - The op operation's target, as identified by a JSON Pointer value that - references a location within the targeted resource. For example, if the - target resource has an updateable property of {\"name\":\"value\"}, the - path for this property is /name. If the name property value is a JSON - object (e.g., {\"name\": {\"child/name\": \"child-value\"}}), the path - for the child/name property will be /name/child~1name. Any slash - (\"/\") character appearing in path names must be escaped with \"~1\", - as shown in the example above. Each op operation can have only one path - associated with it. - """ - value: str | None = ... - """ - The new target value of the update operation. It is applicable for the - add or replace operation. When using AWS CLI to update a property of a - JSON value, enclose the JSON object with a pair of single quotes in a - Linux shell, e.g., '{\"a\": ...}'. - """ - from_: str | None = ... - """ - The copy update operation's source as identified by a JSON-Pointer - value referencing the location within the targeted resource to copy the - value from. For example, to promote a canary deployment, you copy the - canary deployment ID to the affiliated deployment ID by calling a PATCH - request on a Stage resource with \"op\":\"copy\", - \"from\":\"/canarySettings/deploymentId\" and - \"path\":\"/deploymentId\". - """ - -@dataclass(kw_only=True) -class PutGatewayResponseInput(_SerdeShape): - """ - Creates a customization of a GatewayResponse of a specified response - type and status code on the given RestApi. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - response_type: str | None = ... - """The response type of the associated GatewayResponse""" - status_code: str | None = ... - """The HTTP status code of the GatewayResponse.""" - response_parameters: dict[str, str] | None = ... - """ - Response parameters (paths, query strings and headers) of the - GatewayResponse as a string-to-string map of key-value pairs. - """ - response_templates: dict[str, str] | None = ... - """ - Response templates of the GatewayResponse as a string-to-string map of - key-value pairs. - """ - -@dataclass(kw_only=True) -class PutGatewayResponseOutput(_SerdeShape): - """ - A gateway response of a given response type and status code, with - optional response parameters and mapping templates. - """ - - response_type: str | None = ... - """The response type of the associated GatewayResponse.""" - status_code: str | None = ... - """The HTTP status code for this GatewayResponse.""" - response_parameters: dict[str, str] | None = ... - """ - Response parameters (paths, query strings and headers) of the - GatewayResponse as a string-to-string map of key-value pairs. - """ - response_templates: dict[str, str] | None = ... - """ - Response templates of the GatewayResponse as a string-to-string map of - key-value pairs. - """ - default_response: bool = ... - """ - A Boolean flag to indicate whether this GatewayResponse is the default - gateway response (`true`) or not (`false`). A default gateway response - is one generated by API Gateway without any customization by an API - developer. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutIntegrationInput(_SerdeShape): - """Sets up a method's integration.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """Specifies a put integration request's resource ID.""" - http_method: str | None = ... - """Specifies the HTTP method for the integration.""" - type: str | None = ... - """Specifies a put integration input's type.""" - integration_http_method: str | None = ... - """The HTTP method for the integration.""" - uri: str | None = ... - """ - Specifies Uniform Resource Identifier (URI) of the integration endpoint. - For HTTP or `HTTP_PROXY` integrations, the URI must be a fully formed, - encoded HTTP(S) URL according to the RFC-3986 specification, for either - standard integration, where `connectionType` is not `VPC_LINK`, or - private integration, where `connectionType` is `VPC_LINK`. For a private - HTTP integration, the URI is not used for routing. For `AWS` or - `AWS_PROXY` integrations, the URI is of the form - `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api`}. - Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is - the name of the integrated Amazon Web Services service (e.g., s3); and - {subdomain} is a designated subdomain supported by certain Amazon Web - Services service for fast host-name lookup. action can be used for an - Amazon Web Services service action-based API, using an - Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing - {service_api} refers to a supported action {name} plus any required - input parameters. Alternatively, path can be used for an Amazon Web - Services service path-based API. The ensuing service_api refers to the - path to an Amazon Web Services service resource, including the region of - the integrated Amazon Web Services service, if applicable. For example, - for integration with the S3 API of `GetObject`, the `uri` can be either - `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` - or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}`. - """ - connection_type: str | None = ... - """ - The type of the network connection to the integration endpoint. The - valid value is `INTERNET` for connections through the public routable - internet or `VPC_LINK` for private connections between API Gateway and a - network load balancer in a VPC. The default value is `INTERNET`. - """ - connection_id: str | None = ... - """ - The ID of the VpcLink used for the integration. Specify this value only - if you specify `VPC_LINK` as the connection type. - """ - credentials: str | None = ... - """Specifies whether credentials are required for a put integration.""" - request_parameters: dict[str, str] | None = ... - """ - A key-value map specifying request parameters that are passed from the - method request to the back end. The key is an integration request - parameter name and the associated value is a method request parameter - value or static value that must be enclosed within single quotes and - pre-encoded as required by the back end. The method request parameter - value must match the pattern of `method.request.{location}.{name}`, - where `location` is `querystring`, `path`, or `header` and `name` must - be a valid and unique method request parameter name. - """ - request_templates: dict[str, str] | None = ... - """ - Represents a map of Velocity templates that are applied on the request - payload based on the value of the Content-Type header sent by the - client. The content type value is the key in this map, and the template - (as a String) is the value. - """ - passthrough_behavior: str | None = ... - """ - Specifies the pass-through behavior for incoming requests based on the - Content-Type header in the request, and the available mapping templates - specified as the `requestTemplates` property on the Integration - resource. There are three valid values: `WHEN_NO_MATCH`, - `WHEN_NO_TEMPLATES`, and `NEVER`. - """ - cache_namespace: str | None = ... - """ - Specifies a group of related cached parameters. By default, API Gateway - uses the resource ID as the `cacheNamespace`. You can specify the same - `cacheNamespace` across resources to return the same cached data for - requests to different resources. - """ - cache_key_parameters: list[str] | None = ... - """ - A list of request parameters whose values API Gateway caches. To be - valid values for `cacheKeyParameters`, these parameters must also be - specified for Method `requestParameters`. - """ - content_handling: str | None = ... - """ - Specifies how to handle request payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the request payload will be passed - through from the method request to integration request without - modification, provided that the `passthroughBehavior` is configured to - support payload pass-through. - """ - timeout_in_millis: int | None = ... - """ - Custom timeout between 50 and 29,000 milliseconds. The default value is - 29,000 milliseconds or 29 seconds. You can increase the default value to - longer than 29 seconds for Regional or private APIs only. - """ - tls_config: TlsConfig | None = ... - """Specifies the TLS configuration for an integration.""" - response_transfer_mode: str | None = ... - """The response transfer mode of the integration.""" - integration_target: str | None = ... - """The ALB or NLB listener to send the request to.""" - -@dataclass(kw_only=True) -class PutIntegrationOutput(_SerdeShape): - """ - Represents an `HTTP`, `HTTP_PROXY`, `AWS`, `AWS_PROXY`, or Mock - integration. - """ - - type: str | None = ... - """ - Specifies an API method integration type. The valid value is one of the - following: - - For the HTTP and HTTP proxy integrations, each integration can specify a - protocol (`http/https`), port and path. Standard 80 and 443 ports are - supported as well as custom ports above 1024. An HTTP or HTTP proxy - integration with a `connectionType` of `VPC_LINK` is referred to as a - private integration and uses a VpcLink to connect API Gateway to a - network load balancer of a VPC. - """ - http_method: str | None = ... - """ - Specifies the integration's HTTP method type. For the Type property, if - you specify `MOCK`, this property is optional. For Lambda integrations, - you must set the integration method to `POST`. For all other types, you - must specify this property. - """ - uri: str | None = ... - """ - Specifies Uniform Resource Identifier (URI) of the integration endpoint. - - For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully formed, - encoded HTTP(S) URL according to the RFC-3986 specification for standard - integrations. If `connectionType` is `VPC_LINK` specify the Network Load - Balancer DNS name. For `AWS` or `AWS_PROXY` integrations, the URI is of - the form - `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}`. - Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is - the name of the integrated Amazon Web Services service (e.g., s3); and - {subdomain} is a designated subdomain supported by certain Amazon Web - Services service for fast host-name lookup. action can be used for an - Amazon Web Services service action-based API, using an - Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing - {service_api} refers to a supported action {name} plus any required - input parameters. Alternatively, path can be used for an Amazon Web - Services service path-based API. The ensuing service_api refers to the - path to an Amazon Web Services service resource, including the region of - the integrated Amazon Web Services service, if applicable. For example, - for integration with the S3 API of GetObject, the uri can be either - `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` - or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}` - """ - connection_type: str | None = ... - """ - The type of the network connection to the integration endpoint. The - valid value is `INTERNET` for connections through the public routable - internet or `VPC_LINK` for private connections between API Gateway and a - network load balancer in a VPC. The default value is `INTERNET`. - """ - connection_id: str | None = ... - """ - The ID of the VpcLink used for the integration when - `connectionType=VPC_LINK` and undefined, otherwise. - """ - credentials: str | None = ... - """ - Specifies the credentials required for the integration, if any. For AWS - integrations, three options are available. To specify an IAM Role for - API Gateway to assume, use the role's Amazon Resource Name (ARN). To - require that the caller's identity be passed through from the request, - specify the string `arn:aws:iam::*:user/*`. To use resource-based - permissions on supported Amazon Web Services services, specify null. - """ - request_parameters: dict[str, str] | None = ... - """ - A key-value map specifying request parameters that are passed from the - method request to the back end. The key is an integration request - parameter name and the associated value is a method request parameter - value or static value that must be enclosed within single quotes and - pre-encoded as required by the back end. The method request parameter - value must match the pattern of `method.request.{location}.{name}`, - where `location` is `querystring`, `path`, or `header` and `name` must - be a valid and unique method request parameter name. - """ - request_templates: dict[str, str] | None = ... - """ - Represents a map of Velocity templates that are applied on the request - payload based on the value of the Content-Type header sent by the - client. The content type value is the key in this map, and the template - (as a String) is the value. - """ - passthrough_behavior: str | None = ... - """ - Specifies how the method request body of an unmapped content type will - be passed through the integration request to the back end without - transformation. A content type is unmapped if no mapping template is - defined in the integration or the content type does not match any of the - mapped content types, as specified in `requestTemplates`. The valid - value is one of the following: `WHEN_NO_MATCH`: passes the method - request body through the integration request to the back end without - transformation when the method request content type does not match any - content type associated with the mapping templates defined in the - integration request. `WHEN_NO_TEMPLATES`: passes the method request body - through the integration request to the back end without transformation - when no mapping template is defined in the integration request. If a - template is defined when this option is selected, the method request of - an unmapped content-type will be rejected with an HTTP 415 Unsupported - Media Type response. `NEVER`: rejects the method request with an HTTP - 415 Unsupported Media Type response when either the method request - content type does not match any content type associated with the mapping - templates defined in the integration request or no mapping template is - defined in the integration request. - """ - content_handling: str | None = ... - """ - Specifies how to handle request payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the request payload will be passed - through from the method request to integration request without - modification, provided that the `passthroughBehavior` is configured to - support payload pass-through. - """ - timeout_in_millis: int = ... - """ - Custom timeout between 50 and 29,000 milliseconds. The default value is - 29,000 milliseconds or 29 seconds. You can increase the default value to - longer than 29 seconds for Regional or private APIs only. - """ - cache_namespace: str | None = ... - """ - Specifies a group of related cached parameters. By default, API Gateway - uses the resource ID as the `cacheNamespace`. You can specify the same - `cacheNamespace` across resources to return the same cached data for - requests to different resources. - """ - cache_key_parameters: list[str] | None = ... - """ - A list of request parameters whose values API Gateway caches. To be - valid values for `cacheKeyParameters`, these parameters must also be - specified for Method `requestParameters`. - """ - integration_responses: dict[str, IntegrationResponse] | None = ... - """Specifies the integration's responses.""" - tls_config: TlsConfig | None = ... - """Specifies the TLS configuration for an integration.""" - response_transfer_mode: str | None = ... - """The response transfer mode of the integration.""" - integration_target: str | None = ... - """The ALB or NLB listener to send the request to.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutIntegrationResponseInput(_SerdeShape): - """Represents a put integration response request.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """Specifies a put integration response request's resource identifier.""" - http_method: str | None = ... - """Specifies a put integration response request's HTTP method.""" - status_code: str | None = ... - """ - Specifies the status code that is used to map the integration response - to an existing MethodResponse. - """ - selection_pattern: str | None = ... - """Specifies the selection pattern of a put integration response.""" - response_parameters: dict[str, str] | None = ... - """ - A key-value map specifying response parameters that are passed to the - method response from the back end. The key is a method response header - parameter name and the mapped value is an integration response header - value, a static value enclosed within a pair of single quotes, or a JSON - expression from the integration response body. The mapping key must - match the pattern of `method.response.header.{name}`, where `name` is a - valid and unique header name. The mapped non-static value must match the - pattern of `integration.response.header.{name}` or - `integration.response.body.{JSON-expression}`, where `name` must be a - valid and unique response header name and `JSON-expression` a valid JSON - expression without the `$` prefix. - """ - response_templates: dict[str, str] | None = ... - """Specifies a put integration response's templates.""" - content_handling: str | None = ... - """ - Specifies how to handle response payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the response payload will be passed - through from the integration response to the method response without - modification. - """ - -@dataclass(kw_only=True) -class PutIntegrationResponseOutput(_SerdeShape): - """ - Represents an integration response. The status code must map to an - existing MethodResponse, and parameters and templates can be used to - transform the back-end response. - """ - - status_code: str | None = ... - """ - Specifies the status code that is used to map the integration response - to an existing MethodResponse. - """ - selection_pattern: str | None = ... - """ - Specifies the regular expression (regex) pattern used to choose an - integration response based on the response from the back end. For - example, if the success response returns nothing and the error response - returns some string, you could use the `.+` regex to match error - response. However, make sure that the error response does not contain - any newline (`\n`) character in such cases. If the back end is an Lambda - function, the Lambda function error header is matched. For all other - HTTP and Amazon Web Services back ends, the HTTP status code is matched. - """ - response_parameters: dict[str, str] | None = ... - """ - A key-value map specifying response parameters that are passed to the - method response from the back end. The key is a method response header - parameter name and the mapped value is an integration response header - value, a static value enclosed within a pair of single quotes, or a JSON - expression from the integration response body. The mapping key must - match the pattern of `method.response.header.{name}`, where `name` is a - valid and unique header name. The mapped non-static value must match the - pattern of `integration.response.header.{name}` or - `integration.response.body.{JSON-expression}`, where `name` is a valid - and unique response header name and `JSON-expression` is a valid JSON - expression without the `$` prefix. - """ - response_templates: dict[str, str] | None = ... - """ - Specifies the templates used to transform the integration response body. - Response templates are represented as a key/value map, with a - content-type as the key and a template as the value. - """ - content_handling: str | None = ... - """ - Specifies how to handle response payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the response payload will be passed - through from the integration response to the method response without - modification. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutMethodInput(_SerdeShape): - """Request to add a method to an existing Resource resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The Resource identifier for the new Method resource.""" - http_method: str | None = ... - """Specifies the method request's HTTP method type.""" - authorization_type: str | None = ... - """ - The method's authorization type. Valid values are `NONE` for open - access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a - custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user - pool. - """ - authorizer_id: str | None = ... - """ - Specifies the identifier of an Authorizer to use on this Method, if the - type is CUSTOM or COGNITO_USER_POOLS. The authorizer identifier is - generated by API Gateway when you created the authorizer. - """ - api_key_required: bool = ... - """Specifies whether the method required a valid ApiKey.""" - operation_name: str | None = ... - """ - A human-friendly operation identifier for the method. For example, you - can assign the `operationName` of `ListPets` for the `GET /pets` method - in the `PetStore` example. - """ - request_parameters: dict[str, bool] | None = ... - """ - A key-value map defining required or optional method request parameters - that can be accepted by API Gateway. A key defines a method request - parameter name matching the pattern of - `method.request.{location}.{name}`, where `location` is `querystring`, - `path`, or `header` and `name` is a valid and unique parameter name. The - value associated with the key is a Boolean flag indicating whether the - parameter is required (`true`) or optional (`false`). The method request - parameter names defined here are available in Integration to be mapped - to integration request parameters or body-mapping templates. - """ - request_models: dict[str, str] | None = ... - """ - Specifies the Model resources used for the request's content type. - Request models are represented as a key/value map, with a content type - as the key and a Model name as the value. - """ - request_validator_id: str | None = ... - """The identifier of a RequestValidator for validating the method request.""" - authorization_scopes: list[str] | None = ... - """ - A list of authorization scopes configured on the method. The scopes are - used with a `COGNITO_USER_POOLS` authorizer to authorize the method - invocation. The authorization works by matching the method scopes - against the scopes parsed from the access token in the incoming request. - The method invocation is authorized if any method scopes matches a - claimed scope in the access token. Otherwise, the invocation is not - authorized. When the method scope is configured, the client must provide - an access token instead of an identity token for authorization purposes. - """ - -@dataclass(kw_only=True) -class PutMethodOutput(_SerdeShape): - """ - Represents a client-facing interface by which the client calls the API - to access back-end resources. A Method resource is integrated with an - Integration resource. Both consist of a request and one or more - responses. The method request takes the client input that is passed to - the back end through the integration request. A method response returns - the output from the back end to the client through an integration - response. A method request is embodied in a Method resource, whereas an - integration request is embodied in an Integration resource. On the other - hand, a method response is represented by a MethodResponse resource, - whereas an integration response is represented by an IntegrationResponse - resource. - """ - - http_method: str | None = ... - """The method's HTTP verb.""" - authorization_type: str | None = ... - """ - The method's authorization type. Valid values are `NONE` for open - access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a - custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user - pool. - """ - authorizer_id: str | None = ... - """ - The identifier of an Authorizer to use on this method. The - `authorizationType` must be `CUSTOM`. - """ - api_key_required: bool | None = ... - """ - A boolean flag specifying whether a valid ApiKey is required to invoke - this method. - """ - request_validator_id: str | None = ... - """The identifier of a RequestValidator for request validation.""" - operation_name: str | None = ... - """ - A human-friendly operation identifier for the method. For example, you - can assign the `operationName` of `ListPets` for the `GET /pets` method - in the `PetStore` example. - """ - request_parameters: dict[str, bool] | None = ... - """ - A key-value map defining required or optional method request parameters - that can be accepted by API Gateway. A key is a method request parameter - name matching the pattern of `method.request.{location}.{name}`, where - `location` is `querystring`, `path`, or `header` and `name` is a valid - and unique parameter name. The value associated with the key is a - Boolean flag indicating whether the parameter is required (`true`) or - optional (`false`). The method request parameter names defined here are - available in Integration to be mapped to integration request parameters - or templates. - """ - request_models: dict[str, str] | None = ... - """ - A key-value map specifying data schemas, represented by Model resources, - (as the mapped value) of the request payloads of given content types (as - the mapping key). - """ - method_responses: dict[str, MethodResponse] | None = ... - """Gets a method response associated with a given HTTP status code.""" - method_integration: Integration | None = ... - """ - Gets the method's integration responsible for passing the - client-submitted request to the back end and performing necessary - transformations to make the request compliant with the back end. - """ - authorization_scopes: list[str] | None = ... - """ - A list of authorization scopes configured on the method. The scopes are - used with a `COGNITO_USER_POOLS` authorizer to authorize the method - invocation. The authorization works by matching the method scopes - against the scopes parsed from the access token in the incoming request. - The method invocation is authorized if any method scopes matches a - claimed scope in the access token. Otherwise, the invocation is not - authorized. When the method scope is configured, the client must provide - an access token instead of an identity token for authorization purposes. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutMethodResponseInput(_SerdeShape): - """Request to add a MethodResponse to an existing Method resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The Resource identifier for the Method resource.""" - http_method: str | None = ... - """The HTTP verb of the Method resource.""" - status_code: str | None = ... - """The method response's status code.""" - response_parameters: dict[str, bool] | None = ... - """ - A key-value map specifying required or optional response parameters that - API Gateway can send back to the caller. A key defines a method response - header name and the associated value is a Boolean flag indicating - whether the method response parameter is required or not. The method - response header names must match the pattern of - `method.response.header.{name}`, where `name` is a valid and unique - header name. The response parameter names defined here are available in - the integration response to be mapped from an integration response - header expressed in `integration.response.header.{name}`, a static value - enclosed within a pair of single quotes (e.g., `'application/json'`), or - a JSON expression from the back-end response payload in the form of - `integration.response.body.{JSON-expression}`, where `JSON-expression` - is a valid JSON expression without the `$` prefix.) - """ - response_models: dict[str, str] | None = ... - """ - Specifies the Model resources used for the response's content type. - Response models are represented as a key/value map, with a content type - as the key and a Model name as the value. - """ - -@dataclass(kw_only=True) -class PutMethodResponseOutput(_SerdeShape): - """ - Represents a method response of a given HTTP status code returned to the - client. The method response is passed from the back end through the - associated integration response that can be transformed using a mapping - template. - """ - - status_code: str | None = ... - """The method response's status code.""" - response_parameters: dict[str, bool] | None = ... - """ - A key-value map specifying required or optional response parameters that - API Gateway can send back to the caller. A key defines a method response - header and the value specifies whether the associated method response - header is required or not. The expression of the key must match the - pattern `method.response.header.{name}`, where `name` is a valid and - unique header name. API Gateway passes certain integration response data - to the method response headers specified here according to the mapping - you prescribe in the API's IntegrationResponse. The integration - response data that can be mapped include an integration response header - expressed in `integration.response.header.{name}`, a static value - enclosed within a pair of single quotes (e.g., `'application/json'`), or - a JSON expression from the back-end response payload in the form of - `integration.response.body.{JSON-expression}`, where `JSON-expression` - is a valid JSON expression without the `$` prefix.) - """ - response_models: dict[str, str] | None = ... - """ - Specifies the Model resources used for the response's content-type. - Response models are represented as a key/value map, with a content-type - as the key and a Model name as the value. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class PutMode(UnknownEnumMixin, StrEnum): - MERGE = "merge" - OVERWRITE = "overwrite" - -@dataclass(kw_only=True) -class PutRestApiInput(_SerdeShape): - """ - A PUT request to update an existing API, with external API definitions - specified as the request body. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - mode: str | None = ... - """ - The `mode` query parameter to specify the update mode. Valid values are - \"merge\" and \"overwrite\". By default, the update mode is \"merge\". - """ - fail_on_warnings: bool = ... - """ - A query parameter to indicate whether to rollback the API update - (`true`) or not (`false`) when a warning is encountered. The default - value is `false`. - """ - parameters: dict[str, str] | None = ... - """ - Custom header parameters as part of the request. For example, to exclude - DocumentationParts from an imported API, set `ignore=documentation` as a - `parameters` value, as in the AWS CLI command of - `aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'`. - """ - body: bytes | None = ... - """ - The PUT request body containing external API definitions. Currently, - only OpenAPI definition JSON/YAML files are supported. The maximum size - of the API definition file is 6MB. - """ - -@dataclass(kw_only=True) -class PutRestApiOutput(_SerdeShape): - """Represents a REST API.""" - - id: str | None = ... - """ - The API's identifier. This identifier is unique across all of your APIs - in API Gateway. - """ - name: str | None = ... - """The API's name.""" - description: str | None = ... - """The API's description.""" - created_date: datetime | None = ... - """The timestamp when the API was created.""" - version: str | None = ... - """A version identifier for the API.""" - warnings: list[str] | None = ... - """ - The warning messages reported when `failonwarnings` is turned on during - API import. - """ - binary_media_types: list[str] | None = ... - """ - The list of binary media types supported by the RestApi. By default, the - RestApi supports only UTF-8-encoded text payloads. - """ - minimum_compression_size: int | None = ... - """ - A nullable integer that is used to enable compression (with non-negative - between 0 and 10485760 (10M) bytes, inclusive) or disable compression - (with a null value) on an API. When compression is enabled, compression - or decompression is not applied on the payload if the payload size is - smaller than this value. Setting it to zero allows compression for any - payload size. - """ - api_key_source: str | None = ... - """ - The source of the API key for metering requests according to a usage - plan. Valid values are: >`HEADER` to read the API key from the - `X-API-Key` header of a request. `AUTHORIZER` to read the API key from - the `UsageIdentifierKey` from a custom authorizer. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this RestApi showing the endpoint types - and IP address types of the API. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to this RestApi - regardless of the caller and Method configuration. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - disable_execute_api_endpoint: bool = ... - """ - Specifies whether clients can invoke your API by using the default - `execute-api` endpoint. By default, clients can invoke your API with the - default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. - To require that clients use a custom domain name to invoke your API, - disable the default endpoint. - """ - root_resource_id: str | None = ... - """The API's root resource ID.""" - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - RestApi. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the RestApi.""" - api_status: str | None = ... - """The ApiStatus of the RestApi.""" - api_status_message: str | None = ... - """ - The status message of the RestApi. When the status message is `UPDATING` - you can still invoke it. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class QuotaPeriodType(UnknownEnumMixin, StrEnum): - DAY = "DAY" - WEEK = "WEEK" - MONTH = "MONTH" - -@dataclass(kw_only=True) -class QuotaSettings(_SerdeShape): - """Quotas configured for a usage plan.""" - - limit: int = ... - """ - The target maximum number of requests that can be made in a given time - period. - """ - offset: int = ... - """ - The number of requests subtracted from the given limit in the initial - time period. - """ - period: str | None = ... - """ - The time period in which the limit applies. Valid values are \"DAY\", - \"WEEK\" or \"MONTH\". - """ - -@dataclass(kw_only=True) -class RejectDomainNameAccessAssociationInput(_SerdeShape): - """Dataclass for RejectDomainNameAccessAssociationInput structure.""" - - domain_name_access_association_arn: str | None = ... - """The ARN of the domain name access association resource.""" - domain_name_arn: str | None = ... - """The ARN of the domain name.""" - -@dataclass(kw_only=True) -class RejectDomainNameAccessAssociationOutput(_SerdeShape): - """Dataclass for RejectDomainNameAccessAssociationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RequestValidator(_SerdeShape): - """A set of validation rules for incoming Method requests.""" - - id: str | None = ... - """The identifier of this RequestValidator.""" - name: str | None = ... - """The name of this RequestValidator""" - validate_request_body: bool = ... - """ - A Boolean flag to indicate whether to validate a request body according - to the configured Model schema. - """ - validate_request_parameters: bool = ... - """ - A Boolean flag to indicate whether to validate request parameters - (`true`) or not (`false`). - """ - -@dataclass(kw_only=True) -class Resource(_SerdeShape): - """Represents an API resource.""" - - id: str | None = ... - """The resource's identifier.""" - parent_id: str | None = ... - """The parent resource's identifier.""" - path_part: str | None = ... - """The last path segment for this resource.""" - path: str | None = ... - """The full path for this resource.""" - resource_methods: dict[str, Method] | None = ... - """Gets an API resource's method of a given HTTP verb.""" - -class ResourceOwner(UnknownEnumMixin, StrEnum): - SELF = "SELF" - OTHER_ACCOUNTS = "OTHER_ACCOUNTS" - -class ResponseTransferMode(UnknownEnumMixin, StrEnum): - BUFFERED = "BUFFERED" - STREAM = "STREAM" - -@dataclass(kw_only=True) -class RestApi(_SerdeShape): - """Represents a REST API.""" - - id: str | None = ... - """ - The API's identifier. This identifier is unique across all of your APIs - in API Gateway. - """ - name: str | None = ... - """The API's name.""" - description: str | None = ... - """The API's description.""" - created_date: datetime | None = ... - """The timestamp when the API was created.""" - version: str | None = ... - """A version identifier for the API.""" - warnings: list[str] | None = ... - """ - The warning messages reported when `failonwarnings` is turned on during - API import. - """ - binary_media_types: list[str] | None = ... - """ - The list of binary media types supported by the RestApi. By default, the - RestApi supports only UTF-8-encoded text payloads. - """ - minimum_compression_size: int | None = ... - """ - A nullable integer that is used to enable compression (with non-negative - between 0 and 10485760 (10M) bytes, inclusive) or disable compression - (with a null value) on an API. When compression is enabled, compression - or decompression is not applied on the payload if the payload size is - smaller than this value. Setting it to zero allows compression for any - payload size. - """ - api_key_source: str | None = ... - """ - The source of the API key for metering requests according to a usage - plan. Valid values are: >`HEADER` to read the API key from the - `X-API-Key` header of a request. `AUTHORIZER` to read the API key from - the `UsageIdentifierKey` from a custom authorizer. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this RestApi showing the endpoint types - and IP address types of the API. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to this RestApi - regardless of the caller and Method configuration. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - disable_execute_api_endpoint: bool = ... - """ - Specifies whether clients can invoke your API by using the default - `execute-api` endpoint. By default, clients can invoke your API with the - default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. - To require that clients use a custom domain name to invoke your API, - disable the default endpoint. - """ - root_resource_id: str | None = ... - """The API's root resource ID.""" - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - RestApi. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the RestApi.""" - api_status: str | None = ... - """The ApiStatus of the RestApi.""" - api_status_message: str | None = ... - """ - The status message of the RestApi. When the status message is `UPDATING` - you can still invoke it. - """ - -class RoutingMode(UnknownEnumMixin, StrEnum): - BASE_PATH_MAPPING_ONLY = "BASE_PATH_MAPPING_ONLY" - ROUTING_RULE_ONLY = "ROUTING_RULE_ONLY" - ROUTING_RULE_THEN_BASE_PATH_MAPPING = "ROUTING_RULE_THEN_BASE_PATH_MAPPING" - -@dataclass(kw_only=True) -class SdkConfigurationProperty(_SerdeShape): - """A configuration property of an SDK type.""" - - name: str | None = ... - """The name of a an SdkType configuration property.""" - friendly_name: str | None = ... - """The user-friendly name of an SdkType configuration property.""" - description: str | None = ... - """The description of an SdkType configuration property.""" - required: bool = ... - """ - A boolean flag of an SdkType configuration property to indicate if the - associated SDK configuration property is required (`true`) or not - (`false`). - """ - default_value: str | None = ... - """The default value of an SdkType configuration property.""" - -@dataclass(kw_only=True) -class SdkType(_SerdeShape): - """A type of SDK that API Gateway can generate.""" - - id: str | None = ... - """The identifier of an SdkType instance.""" - friendly_name: str | None = ... - """The user-friendly name of an SdkType instance.""" - description: str | None = ... - """The description of an SdkType.""" - configuration_properties: list[SdkConfigurationProperty] | None = ... - """A list of configuration properties of an SdkType.""" - -class SecurityPolicy(UnknownEnumMixin, StrEnum): - TLS_1_0 = "TLS_1_0" - TLS_1_2 = "TLS_1_2" - SECURITY_POLICY_TLS13_1_3_2025_09 = "SecurityPolicy_TLS13_1_3_2025_09" - SECURITY_POLICY_TLS13_1_3_FIPS_2025_09 = "SecurityPolicy_TLS13_1_3_FIPS_2025_09" - SECURITY_POLICY_TLS13_1_2_PFS_PQ_2025_09 = "SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09" - SECURITY_POLICY_TLS13_1_2_FIPS_PQ_2025_09 = ( - "SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09" - ) - SECURITY_POLICY_TLS13_1_2_FIPS_PFS_PQ_2025_09 = ( - "SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09" - ) - SECURITY_POLICY_TLS13_1_2_EXT2_PQ_2025_09 = ( - "SecurityPolicy_TLS13_1_2_Ext2_PQ_2025_09" - ) - SECURITY_POLICY_TLS13_1_2_EXT2_FIPS_PQ_2025_09 = ( - "SecurityPolicy_TLS13_1_2_Ext2_FIPS_PQ_2025_09" - ) - SECURITY_POLICY_TLS13_1_2_PQ_2025_09 = "SecurityPolicy_TLS13_1_2_PQ_2025_09" - SECURITY_POLICY_TLS13_1_2_2021_06 = "SecurityPolicy_TLS13_1_2_2021_06" - SECURITY_POLICY_TLS13_2025_EDGE = "SecurityPolicy_TLS13_2025_EDGE" - SECURITY_POLICY_TLS12_PFS_2025_EDGE = "SecurityPolicy_TLS12_PFS_2025_EDGE" - SECURITY_POLICY_TLS12_2018_EDGE = "SecurityPolicy_TLS12_2018_EDGE" - -@dataclass(kw_only=True) -class ServiceUnavailableException(ServiceError, _SerdeShape): - """ - The requested service is not available. For details see the accompanying - error message. Retry after the specified time period. - """ - - retry_after_seconds: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Stage(_SerdeShape): - """ - Represents a unique identifier for a version of a deployed RestApi that - is callable by users. - """ - - deployment_id: str | None = ... - """The identifier of the Deployment that the stage points to.""" - client_certificate_id: str | None = ... - """The identifier of a client certificate for an API stage.""" - stage_name: str | None = ... - """ - The name of the stage is the first path segment in the Uniform Resource - Identifier (URI) of a call to API Gateway. Stage names can only contain - alphanumeric characters, hyphens, and underscores. Maximum length is 128 - characters. - """ - description: str | None = ... - """The stage's description.""" - cache_cluster_enabled: bool = ... - """ - Specifies whether a cache cluster is enabled for the stage. To activate - a method-level cache, set `CachingEnabled` to `true` for a method. - """ - cache_cluster_size: str | None = ... - """ - The stage's cache capacity in GB. For more information about choosing a - cache size, see [Enabling API caching to enhance - responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). - """ - cache_cluster_status: str | None = ... - """The status of the cache cluster for the stage, if enabled.""" - method_settings: dict[str, MethodSetting] | None = ... - """ - A map that defines the method settings for a Stage resource. Keys - (designated as `/{method_setting_key` below) are method paths defined as - `{resource_path}/{http_method}` for an individual method override, or - `/*/*` for overriding all methods in the stage. - """ - variables: dict[str, str] | None = ... - """ - A map that defines the stage variables for a Stage resource. Variable - names can have alphanumeric and underscore characters, and the values - must match `[A-Za-z0-9-._~:/?#&=,]+`. - """ - documentation_version: str | None = ... - """The version of the associated API documentation.""" - access_log_settings: AccessLogSettings | None = ... - """Settings for logging access in this stage.""" - canary_settings: CanarySettings | None = ... - """Settings for the canary deployment in this stage.""" - tracing_enabled: bool = ... - """Specifies whether active tracing with X-ray is enabled for the Stage.""" - web_acl_arn: str | None = ... - """The ARN of the WebAcl associated with the Stage.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - created_date: datetime | None = ... - """The timestamp when the stage was created.""" - last_updated_date: datetime | None = ... - """The timestamp when the stage last updated.""" - -@dataclass(kw_only=True) -class StageKey(_SerdeShape): - """ - A reference to a unique stage identified in the format - `{restApiId}/{stage}`. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """The stage name associated with the stage key.""" - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Adds or updates a tag on a given resource.""" - - resource_arn: str | None = ... - """The ARN of a resource that can be tagged.""" - tags: dict[str, str] | None = ... - """ - The key-value map of strings. The valid character set is - [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not - start with `aws:`. The tag value can be up to 256 characters. - """ - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TestInvokeAuthorizerInput(_SerdeShape): - """Make a request to simulate the invocation of an Authorizer.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - authorizer_id: str | None = ... - """Specifies a test invoke authorizer request's Authorizer ID.""" - headers: dict[str, str] | None = ... - """ - A key-value map of headers to simulate an incoming invocation request. - This is where the incoming authorization token, or identity source, - should be specified. - """ - multi_value_headers: dict[str, list[str]] | None = ... - """ - The headers as a map from string to list of values to simulate an - incoming invocation request. This is where the incoming authorization - token, or identity source, may be specified. - """ - path_with_query_string: str | None = ... - """ - The URI path, including query string, of the simulated invocation - request. Use this to specify path parameters and query string - parameters. - """ - body: str | None = ... - """The simulated request body of an incoming invocation request.""" - stage_variables: dict[str, str] | None = ... - """ - A key-value map of stage variables to simulate an invocation on a - deployed Stage. - """ - additional_context: dict[str, str] | None = ... - """A key-value map of additional context variables.""" - -@dataclass(kw_only=True) -class TestInvokeAuthorizerOutput(_SerdeShape): - """ - Represents the response of the test invoke request for a custom - Authorizer - """ - - client_status: int = ... - """ - The HTTP status code that the client would have received. Value is 0 if - the authorizer succeeded. - """ - log: str | None = ... - """The API Gateway execution log for the test authorizer request.""" - latency: int = ... - """The execution latency, in ms, of the test authorizer request.""" - principal_id: str | None = ... - """The principal identity returned by the Authorizer""" - policy: str | None = ... - """The JSON policy document returned by the Authorizer""" - authorization: dict[str, list[str]] | None = ... - """The authorization response.""" - claims: dict[str, str] | None = ... - """ - The open identity claims, with any supported custom attributes, returned - from the Cognito Your User Pool configured for the API. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TestInvokeMethodInput(_SerdeShape): - """Make a request to simulate the invocation of a Method.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """Specifies a test invoke method request's resource ID.""" - http_method: str | None = ... - """Specifies a test invoke method request's HTTP method.""" - path_with_query_string: str | None = ... - """ - The URI path, including query string, of the simulated invocation - request. Use this to specify path parameters and query string - parameters. - """ - body: str | None = ... - """The simulated request body of an incoming invocation request.""" - headers: dict[str, str] | None = ... - """A key-value map of headers to simulate an incoming invocation request.""" - multi_value_headers: dict[str, list[str]] | None = ... - """ - The headers as a map from string to list of values to simulate an - incoming invocation request. - """ - client_certificate_id: str | None = ... - """ - A ClientCertificate identifier to use in the test invocation. API - Gateway will use the certificate when making the HTTPS request to the - defined back-end endpoint. - """ - stage_variables: dict[str, str] | None = ... - """ - A key-value map of stage variables to simulate an invocation on a - deployed Stage. - """ - -@dataclass(kw_only=True) -class TestInvokeMethodOutput(_SerdeShape): - """Represents the response of the test invoke request in the HTTP method.""" - - status: int = ... - """The HTTP status code.""" - body: str | None = ... - """The body of the HTTP response.""" - headers: dict[str, str] | None = ... - """The headers of the HTTP response.""" - multi_value_headers: dict[str, list[str]] | None = ... - """The headers of the HTTP response as a map from string to list of values.""" - log: str | None = ... - """The API Gateway execution log for the test invoke request.""" - latency: int = ... - """The execution latency, in ms, of the test invoke request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ThrottleSettings(_SerdeShape): - """The API request rate limits.""" - - burst_limit: int = ... - """ - The API target request burst rate limit. This allows more requests - through for a period of time than the target rate limit. - """ - rate_limit: float = ... - """The API target request rate limit.""" - -@dataclass(kw_only=True) -class TlsConfig(_SerdeShape): - """Specifies the TLS configuration for an integration.""" - - insecure_skip_verification: bool = ... - """ - Specifies whether or not API Gateway skips verification that the - certificate for an integration endpoint is issued by a supported - certificate authority. This isn't recommended, but it enables you to use - certificates that are signed by private certificate authorities, or - certificates that are self-signed. If enabled, API Gateway still - performs basic certificate validation, which includes checking the - certificate's expiration date, hostname, and presence of a root - certificate authority. Supported only for `HTTP` and `HTTP_PROXY` - integrations. - - Warning: - Enabling `insecureSkipVerification` isn't recommended, especially for - integrations with public HTTPS endpoints. If you enable - `insecureSkipVerification`, you increase the risk of man-in-the-middle - attacks. - """ - -@dataclass(kw_only=True) -class TooManyRequestsException(ServiceError, _SerdeShape): - """ - The request has reached its throttling limit. Retry after the specified - time period. - """ - - retry_after_seconds: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class UnauthorizedCacheControlHeaderStrategy(UnknownEnumMixin, StrEnum): - FAIL_WITH_403 = "FAIL_WITH_403" - SUCCEED_WITH_RESPONSE_HEADER = "SUCCEED_WITH_RESPONSE_HEADER" - SUCCEED_WITHOUT_RESPONSE_HEADER = "SUCCEED_WITHOUT_RESPONSE_HEADER" - -@dataclass(kw_only=True) -class UnauthorizedException(ServiceError, _SerdeShape): - """The request is denied because the caller has insufficient permissions.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Removes a tag from a given resource.""" - - resource_arn: str | None = ... - """The ARN of a resource that can be tagged.""" - tag_keys: list[str] | None = ... - """The Tag keys to delete.""" - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAccountInput(_SerdeShape): - """ - Requests API Gateway to change information about the current Account - resource. - """ - - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateAccountOutput(_SerdeShape): - """Represents an AWS account that is associated with API Gateway.""" - - cloudwatch_role_arn: str | None = ... - """The ARN of an Amazon CloudWatch role for the current Account.""" - throttle_settings: ThrottleSettings | None = ... - """Specifies the API request limits configured for the current Account.""" - features: list[str] | None = ... - """ - A list of features supported for the account. When usage plans are - enabled, the features list will include an entry of `"UsagePlans"`. - """ - api_key_version: str | None = ... - """The version of the API keys used for the account.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateApiKeyInput(_SerdeShape): - """A request to change information about an ApiKey resource.""" - - api_key: str | None = ... - """The identifier of the ApiKey resource to be updated.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateApiKeyOutput(_SerdeShape): - """ - A resource that can be distributed to callers for executing Method - resources that require an API key. API keys can be mapped to any Stage - on any RestApi, which indicates that the callers with the API key can - make requests to that stage. - """ - - id: str | None = ... - """The identifier of the API Key.""" - value: str | None = ... - """The value of the API Key.""" - name: str | None = ... - """The name of the API Key.""" - customer_id: str | None = ... - """ - An Amazon Web Services Marketplace customer identifier, when integrating - with the Amazon Web Services SaaS Marketplace. - """ - description: str | None = ... - """The description of the API Key.""" - enabled: bool = ... - """Specifies whether the API Key can be used by callers.""" - created_date: datetime | None = ... - """The timestamp when the API Key was created.""" - last_updated_date: datetime | None = ... - """The timestamp when the API Key was last updated.""" - stage_keys: list[str] | None = ... - """A list of Stage resources that are associated with the ApiKey resource.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAuthorizerInput(_SerdeShape): - """Request to update an existing Authorizer resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - authorizer_id: str | None = ... - """The identifier of the Authorizer resource.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateAuthorizerOutput(_SerdeShape): - """ - Represents an authorization layer for methods. If enabled on a method, - API Gateway will activate the authorizer when a client calls the method. - """ - - id: str | None = ... - """The identifier for the authorizer resource.""" - name: str | None = ... - """The name of the authorizer.""" - type: str | None = ... - """ - The authorizer type. Valid values are `TOKEN` for a Lambda function - using a single authorization token submitted in a custom header, - `REQUEST` for a Lambda function using incoming request parameters, and - `COGNITO_USER_POOLS` for using an Amazon Cognito user pool. - """ - provider_ar_ns: list[str] | None = ... - """ - A list of the Amazon Cognito user pool ARNs for the `COGNITO_USER_POOLS` - authorizer. Each element is of this format: - `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`. For - a `TOKEN` or `REQUEST` authorizer, this is not defined. - """ - auth_type: str | None = ... - """ - Optional customer-defined field, used in OpenAPI imports and exports - without functional impact. - """ - authorizer_uri: str | None = ... - """ - Specifies the authorizer's Uniform Resource Identifier (URI). For - `TOKEN` or `REQUEST` authorizers, this must be a well-formed Lambda - function URI, for example, - `arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations`. - In general, the URI has this form - `arn:aws:apigateway:{region}:lambda:path/{service_api}`, where - `{region}` is the same as the region hosting the Lambda function, `path` - indicates that the remaining substring in the URI should be treated as - the path to the resource, including the initial `/`. For Lambda - functions, this is usually of the form - `/2015-03-31/functions/[FunctionARN]/invocations`. - """ - authorizer_credentials: str | None = ... - """ - Specifies the required credentials as an IAM role for API Gateway to - invoke the authorizer. To specify an IAM role for API Gateway to assume, - use the role's Amazon Resource Name (ARN). To use resource-based - permissions on the Lambda function, specify null. - """ - identity_source: str | None = ... - """ - The identity source for which authorization is requested. For a `TOKEN` - or `COGNITO_USER_POOLS` authorizer, this is required and specifies the - request header mapping expression for the custom header holding the - authorization token submitted by the client. For example, if the token - header name is `Auth`, the header mapping expression is - `method.request.header.Auth`. For the `REQUEST` authorizer, this is - required when authorization caching is enabled. The value is a - comma-separated string of one or more mapping expressions of the - specified request parameters. For example, if an `Auth` header, a `Name` - query string parameter are defined as identity sources, this value is - `method.request.header.Auth`, `method.request.querystring.Name`. These - parameters will be used to derive the authorization caching key and to - perform runtime validation of the `REQUEST` authorizer by verifying all - of the identity-related request parameters are present, not null and - non-empty. Only when this is true does the authorizer invoke the - authorizer Lambda function, otherwise, it returns a 401 Unauthorized - response without calling the Lambda function. The valid value is a - string of comma-separated mapping expressions of the specified request - parameters. When the authorization caching is not enabled, this property - is optional. - """ - identity_validation_expression: str | None = ... - """ - A validation expression for the incoming identity token. For `TOKEN` - authorizers, this value is a regular expression. For - `COGNITO_USER_POOLS` authorizers, API Gateway will match the `aud` field - of the incoming token from the client against the specified regular - expression. It will invoke the authorizer's Lambda function when there - is a match. Otherwise, it will return a 401 Unauthorized response - without calling the Lambda function. The validation expression does not - apply to the `REQUEST` authorizer. - """ - authorizer_result_ttl_in_seconds: int | None = ... - """ - The TTL in seconds of cached authorizer results. If it equals 0, - authorization caching is disabled. If it is greater than 0, API Gateway - will cache authorizer responses. If this field is not set, the default - value is 300. The maximum value is 3600, or 1 hour. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateBasePathMappingInput(_SerdeShape): - """A request to change information about the BasePathMapping resource.""" - - domain_name: str | None = ... - """The domain name of the BasePathMapping resource to change.""" - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - base_path: str | None = ... - """ - The base path of the BasePathMapping resource to change. - - To specify an empty base path, set this parameter to `'(none)'`. - """ - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateBasePathMappingOutput(_SerdeShape): - """ - Represents the base path that callers of the API must provide as part of - the URL after the domain name. - """ - - base_path: str | None = ... - """ - The base path name that callers of the API must provide as part of the - URL after the domain name. - """ - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage: str | None = ... - """The name of the associated stage.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateClientCertificateInput(_SerdeShape): - """A request to change information about an ClientCertificate resource.""" - - client_certificate_id: str | None = ... - """The identifier of the ClientCertificate resource to be updated.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateClientCertificateOutput(_SerdeShape): - """ - Represents a client certificate used to configure client-side SSL - authentication while sending requests to the integration endpoint. - """ - - client_certificate_id: str | None = ... - """The identifier of the client certificate.""" - description: str | None = ... - """The description of the client certificate.""" - pem_encoded_certificate: str | None = ... - """ - The PEM-encoded public key of the client certificate, which can be used - to configure certificate authentication in the integration endpoint . - """ - created_date: datetime | None = ... - """The timestamp when the client certificate was created.""" - expiration_date: datetime | None = ... - """The timestamp when the client certificate will expire.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDeploymentInput(_SerdeShape): - """Requests API Gateway to change information about a Deployment resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - deployment_id: str | None = ... - """ - The replacement identifier for the Deployment resource to change - information about. - """ - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateDeploymentOutput(_SerdeShape): - """ - An immutable representation of a RestApi resource that can be called by - users using Stages. A deployment must be associated with a Stage for it - to be callable over the Internet. - """ - - id: str | None = ... - """The identifier for the deployment resource.""" - description: str | None = ... - """The description for the deployment resource.""" - created_date: datetime | None = ... - """The date and time that the deployment resource was created.""" - api_summary: dict[str, dict[str, MethodSnapshot]] | None = ... - """ - A summary of the RestApi at the date and time that the deployment - resource was created. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDocumentationPartInput(_SerdeShape): - """Updates an existing documentation part of a given API.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - documentation_part_id: str | None = ... - """The identifier of the to-be-updated documentation part.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateDocumentationPartOutput(_SerdeShape): - """A documentation part for a targeted API entity.""" - - id: str | None = ... - """ - The DocumentationPart identifier, generated by API Gateway when the - `DocumentationPart` is created. - """ - location: DocumentationPartLocation | None = ... - """ - The location of the API entity to which the documentation applies. Valid - fields depend on the targeted API entity type. All the valid location - fields are not required. If not explicitly specified, a valid location - field is treated as a wildcard and associated documentation content may - be inherited by matching entities, unless overridden. - """ - properties: str | None = ... - """ - A content map of API-specific key-value pairs describing the targeted - API entity. The map must be encoded as a JSON string, e.g., - `"{ \"description\": \"The API does ...\" }"`. Only OpenAPI-compliant - documentation-related fields from the properties map are exported and, - hence, published as part of the API entity definitions, while the - original documentation parts are exported in a OpenAPI extension of - `x-amazon-apigateway-documentation`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDocumentationVersionInput(_SerdeShape): - """Updates an existing documentation version of an API.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - documentation_version: str | None = ... - """The version identifier of the to-be-updated documentation version.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateDocumentationVersionOutput(_SerdeShape): - """A snapshot of the documentation of an API.""" - - version: str | None = ... - """The version identifier of the API documentation snapshot.""" - created_date: datetime | None = ... - """The date when the API documentation snapshot is created.""" - description: str | None = ... - """The description of the API documentation snapshot.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDomainNameInput(_SerdeShape): - """A request to change information about the DomainName resource.""" - - domain_name: str | None = ... - """The name of the DomainName resource to be changed.""" - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateDomainNameOutput(_SerdeShape): - """ - Represents a custom domain name as a user-friendly host name of an API - (RestApi). - """ - - domain_name: str | None = ... - """ - The custom domain name as an API host name, for example, - `my-api.example.com`. - """ - domain_name_id: str | None = ... - """ - The identifier for the domain name resource. Supported only for private - custom domain names. - """ - domain_name_arn: str | None = ... - """The ARN of the domain name.""" - certificate_name: str | None = ... - """ - The name of the certificate that will be used by edge-optimized endpoint - or private endpoint for this domain name. - """ - certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used by edge-optimized endpoint or private endpoint for this domain - name. Certificate Manager is the only supported source. - """ - certificate_upload_date: datetime | None = ... - """ - The timestamp when the certificate that was used by edge-optimized - endpoint or private endpoint for this domain name was uploaded. - """ - regional_domain_name: str | None = ... - """ - The domain name associated with the regional endpoint for this custom - domain name. You set up this association by adding a DNS record that - points the custom domain name to this regional domain name. The regional - domain name is returned by API Gateway when you create a regional - endpoint. - """ - regional_hosted_zone_id: str | None = ... - """ - The region-specific Amazon Route 53 Hosted Zone ID of the regional - endpoint. For more information, see Set up a Regional Custom Domain Name - and AWS Regions and Endpoints for API Gateway. - """ - regional_certificate_name: str | None = ... - """ - The name of the certificate that will be used for validating the - regional domain name. - """ - regional_certificate_arn: str | None = ... - """ - The reference to an Amazon Web Services-managed certificate that will be - used for validating the regional domain name. Certificate Manager is the - only supported source. - """ - distribution_domain_name: str | None = ... - """ - The domain name of the Amazon CloudFront distribution associated with - this custom domain name for an edge-optimized endpoint. You set up this - association when adding a DNS record pointing the custom domain name to - this distribution name. For more information about CloudFront - distributions, see the Amazon CloudFront documentation. - """ - distribution_hosted_zone_id: str | None = ... - """ - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized - endpoint. The valid value is `Z2FDTNDATAQYW2` for all the regions. For - more information, see Set up a Regional Custom Domain Name and AWS - Regions and Endpoints for API Gateway. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this DomainName showing the endpoint types - and IP address types of the domain name. - """ - domain_name_status: str | None = ... - """ - The status of the DomainName migration. The valid values are `AVAILABLE` - and `UPDATING`. If the status is `UPDATING`, the domain cannot be - modified further until the existing operation is complete. If it is - `AVAILABLE`, the domain can be updated. - """ - domain_name_status_message: str | None = ... - """ - An optional text message containing detailed information about status of - the DomainName migration. - """ - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - DomainName. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the DomainName.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - mutual_tls_authentication: MutualTlsAuthentication | None = ... - """ - The mutual TLS authentication configuration for a custom domain name. If - specified, API Gateway performs two-way authentication between the - client and the server. Clients must present a trusted certificate to - access your API. - """ - ownership_verification_certificate_arn: str | None = ... - """ - The ARN of the public certificate issued by ACM to validate ownership of - your custom domain. Only required when configuring mutual TLS and using - an ACM imported or private CA certificate ARN as the - regionalCertificateArn. - """ - management_policy: str | None = ... - """ - A stringified JSON policy document that applies to the API Gateway - Management service for this DomainName. This policy document controls - access for access association sources to create domain name access - associations with this DomainName. Supported only for private custom - domain names. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to the `execute-api` - service for this DomainName regardless of the caller and Method - configuration. Supported only for private custom domain names. - """ - routing_mode: str | None = ... - """ - The routing mode for this domain name. The routing mode determines how - API Gateway sends traffic from your custom domain name to your private - APIs. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGatewayResponseInput(_SerdeShape): - """ - Updates a GatewayResponse of a specified response type on the given - RestApi. - """ - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - response_type: str | None = ... - """The response type of the associated GatewayResponse.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateGatewayResponseOutput(_SerdeShape): - """ - A gateway response of a given response type and status code, with - optional response parameters and mapping templates. - """ - - response_type: str | None = ... - """The response type of the associated GatewayResponse.""" - status_code: str | None = ... - """The HTTP status code for this GatewayResponse.""" - response_parameters: dict[str, str] | None = ... - """ - Response parameters (paths, query strings and headers) of the - GatewayResponse as a string-to-string map of key-value pairs. - """ - response_templates: dict[str, str] | None = ... - """ - Response templates of the GatewayResponse as a string-to-string map of - key-value pairs. - """ - default_response: bool = ... - """ - A Boolean flag to indicate whether this GatewayResponse is the default - gateway response (`true`) or not (`false`). A default gateway response - is one generated by API Gateway without any customization by an API - developer. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateIntegrationInput(_SerdeShape): - """Represents an update integration request.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """Represents an update integration request's resource identifier.""" - http_method: str | None = ... - """Represents an update integration request's HTTP method.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateIntegrationOutput(_SerdeShape): - """ - Represents an `HTTP`, `HTTP_PROXY`, `AWS`, `AWS_PROXY`, or Mock - integration. - """ - - type: str | None = ... - """ - Specifies an API method integration type. The valid value is one of the - following: - - For the HTTP and HTTP proxy integrations, each integration can specify a - protocol (`http/https`), port and path. Standard 80 and 443 ports are - supported as well as custom ports above 1024. An HTTP or HTTP proxy - integration with a `connectionType` of `VPC_LINK` is referred to as a - private integration and uses a VpcLink to connect API Gateway to a - network load balancer of a VPC. - """ - http_method: str | None = ... - """ - Specifies the integration's HTTP method type. For the Type property, if - you specify `MOCK`, this property is optional. For Lambda integrations, - you must set the integration method to `POST`. For all other types, you - must specify this property. - """ - uri: str | None = ... - """ - Specifies Uniform Resource Identifier (URI) of the integration endpoint. - - For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully formed, - encoded HTTP(S) URL according to the RFC-3986 specification for standard - integrations. If `connectionType` is `VPC_LINK` specify the Network Load - Balancer DNS name. For `AWS` or `AWS_PROXY` integrations, the URI is of - the form - `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}`. - Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is - the name of the integrated Amazon Web Services service (e.g., s3); and - {subdomain} is a designated subdomain supported by certain Amazon Web - Services service for fast host-name lookup. action can be used for an - Amazon Web Services service action-based API, using an - Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing - {service_api} refers to a supported action {name} plus any required - input parameters. Alternatively, path can be used for an Amazon Web - Services service path-based API. The ensuing service_api refers to the - path to an Amazon Web Services service resource, including the region of - the integrated Amazon Web Services service, if applicable. For example, - for integration with the S3 API of GetObject, the uri can be either - `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` - or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}` - """ - connection_type: str | None = ... - """ - The type of the network connection to the integration endpoint. The - valid value is `INTERNET` for connections through the public routable - internet or `VPC_LINK` for private connections between API Gateway and a - network load balancer in a VPC. The default value is `INTERNET`. - """ - connection_id: str | None = ... - """ - The ID of the VpcLink used for the integration when - `connectionType=VPC_LINK` and undefined, otherwise. - """ - credentials: str | None = ... - """ - Specifies the credentials required for the integration, if any. For AWS - integrations, three options are available. To specify an IAM Role for - API Gateway to assume, use the role's Amazon Resource Name (ARN). To - require that the caller's identity be passed through from the request, - specify the string `arn:aws:iam::*:user/*`. To use resource-based - permissions on supported Amazon Web Services services, specify null. - """ - request_parameters: dict[str, str] | None = ... - """ - A key-value map specifying request parameters that are passed from the - method request to the back end. The key is an integration request - parameter name and the associated value is a method request parameter - value or static value that must be enclosed within single quotes and - pre-encoded as required by the back end. The method request parameter - value must match the pattern of `method.request.{location}.{name}`, - where `location` is `querystring`, `path`, or `header` and `name` must - be a valid and unique method request parameter name. - """ - request_templates: dict[str, str] | None = ... - """ - Represents a map of Velocity templates that are applied on the request - payload based on the value of the Content-Type header sent by the - client. The content type value is the key in this map, and the template - (as a String) is the value. - """ - passthrough_behavior: str | None = ... - """ - Specifies how the method request body of an unmapped content type will - be passed through the integration request to the back end without - transformation. A content type is unmapped if no mapping template is - defined in the integration or the content type does not match any of the - mapped content types, as specified in `requestTemplates`. The valid - value is one of the following: `WHEN_NO_MATCH`: passes the method - request body through the integration request to the back end without - transformation when the method request content type does not match any - content type associated with the mapping templates defined in the - integration request. `WHEN_NO_TEMPLATES`: passes the method request body - through the integration request to the back end without transformation - when no mapping template is defined in the integration request. If a - template is defined when this option is selected, the method request of - an unmapped content-type will be rejected with an HTTP 415 Unsupported - Media Type response. `NEVER`: rejects the method request with an HTTP - 415 Unsupported Media Type response when either the method request - content type does not match any content type associated with the mapping - templates defined in the integration request or no mapping template is - defined in the integration request. - """ - content_handling: str | None = ... - """ - Specifies how to handle request payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the request payload will be passed - through from the method request to integration request without - modification, provided that the `passthroughBehavior` is configured to - support payload pass-through. - """ - timeout_in_millis: int = ... - """ - Custom timeout between 50 and 29,000 milliseconds. The default value is - 29,000 milliseconds or 29 seconds. You can increase the default value to - longer than 29 seconds for Regional or private APIs only. - """ - cache_namespace: str | None = ... - """ - Specifies a group of related cached parameters. By default, API Gateway - uses the resource ID as the `cacheNamespace`. You can specify the same - `cacheNamespace` across resources to return the same cached data for - requests to different resources. - """ - cache_key_parameters: list[str] | None = ... - """ - A list of request parameters whose values API Gateway caches. To be - valid values for `cacheKeyParameters`, these parameters must also be - specified for Method `requestParameters`. - """ - integration_responses: dict[str, IntegrationResponse] | None = ... - """Specifies the integration's responses.""" - tls_config: TlsConfig | None = ... - """Specifies the TLS configuration for an integration.""" - response_transfer_mode: str | None = ... - """The response transfer mode of the integration.""" - integration_target: str | None = ... - """The ALB or NLB listener to send the request to.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateIntegrationResponseInput(_SerdeShape): - """Represents an update integration response request.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """Specifies an update integration response request's resource identifier.""" - http_method: str | None = ... - """Specifies an update integration response request's HTTP method.""" - status_code: str | None = ... - """Specifies an update integration response request's status code.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateIntegrationResponseOutput(_SerdeShape): - """ - Represents an integration response. The status code must map to an - existing MethodResponse, and parameters and templates can be used to - transform the back-end response. - """ - - status_code: str | None = ... - """ - Specifies the status code that is used to map the integration response - to an existing MethodResponse. - """ - selection_pattern: str | None = ... - """ - Specifies the regular expression (regex) pattern used to choose an - integration response based on the response from the back end. For - example, if the success response returns nothing and the error response - returns some string, you could use the `.+` regex to match error - response. However, make sure that the error response does not contain - any newline (`\n`) character in such cases. If the back end is an Lambda - function, the Lambda function error header is matched. For all other - HTTP and Amazon Web Services back ends, the HTTP status code is matched. - """ - response_parameters: dict[str, str] | None = ... - """ - A key-value map specifying response parameters that are passed to the - method response from the back end. The key is a method response header - parameter name and the mapped value is an integration response header - value, a static value enclosed within a pair of single quotes, or a JSON - expression from the integration response body. The mapping key must - match the pattern of `method.response.header.{name}`, where `name` is a - valid and unique header name. The mapped non-static value must match the - pattern of `integration.response.header.{name}` or - `integration.response.body.{JSON-expression}`, where `name` is a valid - and unique response header name and `JSON-expression` is a valid JSON - expression without the `$` prefix. - """ - response_templates: dict[str, str] | None = ... - """ - Specifies the templates used to transform the integration response body. - Response templates are represented as a key/value map, with a - content-type as the key and a template as the value. - """ - content_handling: str | None = ... - """ - Specifies how to handle response payload content type conversions. - Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the - following behaviors: - - If this property is not defined, the response payload will be passed - through from the integration response to the method response without - modification. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateMethodInput(_SerdeShape): - """Request to update an existing Method resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The Resource identifier for the Method resource.""" - http_method: str | None = ... - """The HTTP verb of the Method resource.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateMethodOutput(_SerdeShape): - """ - Represents a client-facing interface by which the client calls the API - to access back-end resources. A Method resource is integrated with an - Integration resource. Both consist of a request and one or more - responses. The method request takes the client input that is passed to - the back end through the integration request. A method response returns - the output from the back end to the client through an integration - response. A method request is embodied in a Method resource, whereas an - integration request is embodied in an Integration resource. On the other - hand, a method response is represented by a MethodResponse resource, - whereas an integration response is represented by an IntegrationResponse - resource. - """ - - http_method: str | None = ... - """The method's HTTP verb.""" - authorization_type: str | None = ... - """ - The method's authorization type. Valid values are `NONE` for open - access, `AWS_IAM` for using AWS IAM permissions, `CUSTOM` for using a - custom authorizer, or `COGNITO_USER_POOLS` for using a Cognito user - pool. - """ - authorizer_id: str | None = ... - """ - The identifier of an Authorizer to use on this method. The - `authorizationType` must be `CUSTOM`. - """ - api_key_required: bool | None = ... - """ - A boolean flag specifying whether a valid ApiKey is required to invoke - this method. - """ - request_validator_id: str | None = ... - """The identifier of a RequestValidator for request validation.""" - operation_name: str | None = ... - """ - A human-friendly operation identifier for the method. For example, you - can assign the `operationName` of `ListPets` for the `GET /pets` method - in the `PetStore` example. - """ - request_parameters: dict[str, bool] | None = ... - """ - A key-value map defining required or optional method request parameters - that can be accepted by API Gateway. A key is a method request parameter - name matching the pattern of `method.request.{location}.{name}`, where - `location` is `querystring`, `path`, or `header` and `name` is a valid - and unique parameter name. The value associated with the key is a - Boolean flag indicating whether the parameter is required (`true`) or - optional (`false`). The method request parameter names defined here are - available in Integration to be mapped to integration request parameters - or templates. - """ - request_models: dict[str, str] | None = ... - """ - A key-value map specifying data schemas, represented by Model resources, - (as the mapped value) of the request payloads of given content types (as - the mapping key). - """ - method_responses: dict[str, MethodResponse] | None = ... - """Gets a method response associated with a given HTTP status code.""" - method_integration: Integration | None = ... - """ - Gets the method's integration responsible for passing the - client-submitted request to the back end and performing necessary - transformations to make the request compliant with the back end. - """ - authorization_scopes: list[str] | None = ... - """ - A list of authorization scopes configured on the method. The scopes are - used with a `COGNITO_USER_POOLS` authorizer to authorize the method - invocation. The authorization works by matching the method scopes - against the scopes parsed from the access token in the incoming request. - The method invocation is authorized if any method scopes matches a - claimed scope in the access token. Otherwise, the invocation is not - authorized. When the method scope is configured, the client must provide - an access token instead of an identity token for authorization purposes. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateMethodResponseInput(_SerdeShape): - """A request to update an existing MethodResponse resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The Resource identifier for the MethodResponse resource.""" - http_method: str | None = ... - """The HTTP verb of the Method resource.""" - status_code: str | None = ... - """The status code for the MethodResponse resource.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateMethodResponseOutput(_SerdeShape): - """ - Represents a method response of a given HTTP status code returned to the - client. The method response is passed from the back end through the - associated integration response that can be transformed using a mapping - template. - """ - - status_code: str | None = ... - """The method response's status code.""" - response_parameters: dict[str, bool] | None = ... - """ - A key-value map specifying required or optional response parameters that - API Gateway can send back to the caller. A key defines a method response - header and the value specifies whether the associated method response - header is required or not. The expression of the key must match the - pattern `method.response.header.{name}`, where `name` is a valid and - unique header name. API Gateway passes certain integration response data - to the method response headers specified here according to the mapping - you prescribe in the API's IntegrationResponse. The integration - response data that can be mapped include an integration response header - expressed in `integration.response.header.{name}`, a static value - enclosed within a pair of single quotes (e.g., `'application/json'`), or - a JSON expression from the back-end response payload in the form of - `integration.response.body.{JSON-expression}`, where `JSON-expression` - is a valid JSON expression without the `$` prefix.) - """ - response_models: dict[str, str] | None = ... - """ - Specifies the Model resources used for the response's content-type. - Response models are represented as a key/value map, with a content-type - as the key and a Model name as the value. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateModelInput(_SerdeShape): - """Request to update an existing model in an existing RestApi resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - model_name: str | None = ... - """The name of the model to update.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateModelOutput(_SerdeShape): - """ - Represents the data structure of a method's request or response - payload. - """ - - id: str | None = ... - """The identifier for the model resource.""" - name: str | None = ... - """The name of the model. Must be an alphanumeric string.""" - description: str | None = ... - """The description of the model.""" - schema: str | None = ... - """ - The schema for the model. For `application/json` models, this should be - JSON schema draft 4 model. Do not include \"\\*/\" characters in the - description of any properties because such \"\\*/\" characters may be - interpreted as the closing marker for comments in some languages, such - as Java or JavaScript, causing the installation of your API's SDK - generated by API Gateway to fail. - """ - content_type: str | None = ... - """The content-type for the model.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRequestValidatorInput(_SerdeShape): - """Updates a RequestValidator of a given RestApi.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - request_validator_id: str | None = ... - """The identifier of RequestValidator to be updated.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateRequestValidatorOutput(_SerdeShape): - """A set of validation rules for incoming Method requests.""" - - id: str | None = ... - """The identifier of this RequestValidator.""" - name: str | None = ... - """The name of this RequestValidator""" - validate_request_body: bool = ... - """ - A Boolean flag to indicate whether to validate a request body according - to the configured Model schema. - """ - validate_request_parameters: bool = ... - """ - A Boolean flag to indicate whether to validate request parameters - (`true`) or not (`false`). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateResourceInput(_SerdeShape): - """Request to change information about a Resource resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - resource_id: str | None = ... - """The identifier of the Resource resource.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateResourceOutput(_SerdeShape): - """Represents an API resource.""" - - id: str | None = ... - """The resource's identifier.""" - parent_id: str | None = ... - """The parent resource's identifier.""" - path_part: str | None = ... - """The last path segment for this resource.""" - path: str | None = ... - """The full path for this resource.""" - resource_methods: dict[str, Method] | None = ... - """Gets an API resource's method of a given HTTP verb.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRestApiInput(_SerdeShape): - """Request to update an existing RestApi resource in your collection.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateRestApiOutput(_SerdeShape): - """Represents a REST API.""" - - id: str | None = ... - """ - The API's identifier. This identifier is unique across all of your APIs - in API Gateway. - """ - name: str | None = ... - """The API's name.""" - description: str | None = ... - """The API's description.""" - created_date: datetime | None = ... - """The timestamp when the API was created.""" - version: str | None = ... - """A version identifier for the API.""" - warnings: list[str] | None = ... - """ - The warning messages reported when `failonwarnings` is turned on during - API import. - """ - binary_media_types: list[str] | None = ... - """ - The list of binary media types supported by the RestApi. By default, the - RestApi supports only UTF-8-encoded text payloads. - """ - minimum_compression_size: int | None = ... - """ - A nullable integer that is used to enable compression (with non-negative - between 0 and 10485760 (10M) bytes, inclusive) or disable compression - (with a null value) on an API. When compression is enabled, compression - or decompression is not applied on the payload if the payload size is - smaller than this value. Setting it to zero allows compression for any - payload size. - """ - api_key_source: str | None = ... - """ - The source of the API key for metering requests according to a usage - plan. Valid values are: >`HEADER` to read the API key from the - `X-API-Key` header of a request. `AUTHORIZER` to read the API key from - the `UsageIdentifierKey` from a custom authorizer. - """ - endpoint_configuration: EndpointConfiguration | None = ... - """ - The endpoint configuration of this RestApi showing the endpoint types - and IP address types of the API. - """ - policy: str | None = ... - """ - A stringified JSON policy document that applies to this RestApi - regardless of the caller and Method configuration. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - disable_execute_api_endpoint: bool = ... - """ - Specifies whether clients can invoke your API by using the default - `execute-api` endpoint. By default, clients can invoke your API with the - default `https://{api_id}.execute-api.{region}.amazonaws.com` endpoint. - To require that clients use a custom domain name to invoke your API, - disable the default endpoint. - """ - root_resource_id: str | None = ... - """The API's root resource ID.""" - security_policy: str | None = ... - """ - The Transport Layer Security (TLS) version + cipher suite for this - RestApi. - """ - endpoint_access_mode: str | None = ... - """The endpoint access mode of the RestApi.""" - api_status: str | None = ... - """The ApiStatus of the RestApi.""" - api_status_message: str | None = ... - """ - The status message of the RestApi. When the status message is `UPDATING` - you can still invoke it. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateStageInput(_SerdeShape): - """Requests API Gateway to change information about a Stage resource.""" - - rest_api_id: str | None = ... - """The string identifier of the associated RestApi.""" - stage_name: str | None = ... - """The name of the Stage resource to change information about.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateStageOutput(_SerdeShape): - """ - Represents a unique identifier for a version of a deployed RestApi that - is callable by users. - """ - - deployment_id: str | None = ... - """The identifier of the Deployment that the stage points to.""" - client_certificate_id: str | None = ... - """The identifier of a client certificate for an API stage.""" - stage_name: str | None = ... - """ - The name of the stage is the first path segment in the Uniform Resource - Identifier (URI) of a call to API Gateway. Stage names can only contain - alphanumeric characters, hyphens, and underscores. Maximum length is 128 - characters. - """ - description: str | None = ... - """The stage's description.""" - cache_cluster_enabled: bool = ... - """ - Specifies whether a cache cluster is enabled for the stage. To activate - a method-level cache, set `CachingEnabled` to `true` for a method. - """ - cache_cluster_size: str | None = ... - """ - The stage's cache capacity in GB. For more information about choosing a - cache size, see [Enabling API caching to enhance - responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). - """ - cache_cluster_status: str | None = ... - """The status of the cache cluster for the stage, if enabled.""" - method_settings: dict[str, MethodSetting] | None = ... - """ - A map that defines the method settings for a Stage resource. Keys - (designated as `/{method_setting_key` below) are method paths defined as - `{resource_path}/{http_method}` for an individual method override, or - `/*/*` for overriding all methods in the stage. - """ - variables: dict[str, str] | None = ... - """ - A map that defines the stage variables for a Stage resource. Variable - names can have alphanumeric and underscore characters, and the values - must match `[A-Za-z0-9-._~:/?#&=,]+`. - """ - documentation_version: str | None = ... - """The version of the associated API documentation.""" - access_log_settings: AccessLogSettings | None = ... - """Settings for logging access in this stage.""" - canary_settings: CanarySettings | None = ... - """Settings for the canary deployment in this stage.""" - tracing_enabled: bool = ... - """Specifies whether active tracing with X-ray is enabled for the Stage.""" - web_acl_arn: str | None = ... - """The ARN of the WebAcl associated with the Stage.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - created_date: datetime | None = ... - """The timestamp when the stage was created.""" - last_updated_date: datetime | None = ... - """The timestamp when the stage last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateUsageInput(_SerdeShape): - """ - The PATCH request to grant a temporary extension to the remaining quota - of a usage plan associated with a specified API key. - """ - - usage_plan_id: str | None = ... - """The Id of the usage plan associated with the usage data.""" - key_id: str | None = ... - """ - The identifier of the API key associated with the usage plan in which a - temporary extension is granted to the remaining quota. - """ - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateUsageOutput(_SerdeShape): - """Represents the usage data of a usage plan.""" - - usage_plan_id: str | None = ... - """The plan Id associated with this usage data.""" - start_date: str | None = ... - """The starting date of the usage data.""" - end_date: str | None = ... - """The ending date of the usage data.""" - items: dict[str, list[list[int]]] | None = ... - """ - The usage data, as daily logs of used and remaining quotas, over the - specified time interval indexed over the API keys in a usage plan. For - example, - `{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}`, - where `{api_key}` stands for an API key value and the daily log entry is - of the format `[used quota, remaining quota]`. - """ - position: str | None = ... - """The current pagination position in the paged result set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateUsagePlanInput(_SerdeShape): - """The PATCH request to update a usage plan of a given plan Id.""" - - usage_plan_id: str | None = ... - """The Id of the to-be-updated usage plan.""" - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateUsagePlanOutput(_SerdeShape): - """ - Represents a usage plan used to specify who can assess associated API - stages. Optionally, target request rate and quota limits can be set. In - some cases clients can exceed the targets that you set. Don't rely on - usage plans to control costs. Consider using [Amazon Web Services - Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) - to monitor costs and - [WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) - to manage API requests. - """ - - id: str | None = ... - """The identifier of a UsagePlan resource.""" - name: str | None = ... - """The name of a usage plan.""" - description: str | None = ... - """The description of a usage plan.""" - api_stages: list[ApiStage] | None = ... - """The associated API stages of a usage plan.""" - throttle: ThrottleSettings | None = ... - """ - A map containing method level throttling information for API stage in a - usage plan. - """ - quota: QuotaSettings | None = ... - """ - The target maximum number of permitted requests per a given unit time - interval. - """ - product_code: str | None = ... - """ - The Amazon Web Services Marketplace product identifier to associate with - the usage plan as a SaaS product on the Amazon Web Services Marketplace. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateVpcLinkInput(_SerdeShape): - """Updates an existing VpcLink of a specified identifier.""" - - vpc_link_id: str | None = ... - """ - The identifier of the VpcLink. It is used in an Integration to reference - this VpcLink. - """ - patch_operations: list[PatchOperation] | None = ... - """ - For more information about supported patch operations, see [Patch - Operations](https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html). - """ - -@dataclass(kw_only=True) -class UpdateVpcLinkOutput(_SerdeShape): - """ - An API Gateway VPC link for a RestApi to access resources in an Amazon - Virtual Private Cloud (VPC). - """ - - id: str | None = ... - """ - The identifier of the VpcLink. It is used in an Integration to reference - this VpcLink. - """ - name: str | None = ... - """The name used to label and identify the VPC link.""" - description: str | None = ... - """The description of the VPC link.""" - target_arns: list[str] | None = ... - """ - The ARN of the network load balancer of the VPC targeted by the VPC - link. The network load balancer must be owned by the same Amazon Web - Services account of the API owner. - """ - status: str | None = ... - """ - The status of the VPC link. The valid values are `AVAILABLE`, `PENDING`, - `DELETING`, or `FAILED`. Deploying an API will wait if the status is - `PENDING` and will fail if the status is `DELETING`. - """ - status_message: str | None = ... - """A description about the VPC link status.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UsagePlan(_SerdeShape): - """ - Represents a usage plan used to specify who can assess associated API - stages. Optionally, target request rate and quota limits can be set. In - some cases clients can exceed the targets that you set. Don't rely on - usage plans to control costs. Consider using [Amazon Web Services - Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) - to monitor costs and - [WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) - to manage API requests. - """ - - id: str | None = ... - """The identifier of a UsagePlan resource.""" - name: str | None = ... - """The name of a usage plan.""" - description: str | None = ... - """The description of a usage plan.""" - api_stages: list[ApiStage] | None = ... - """The associated API stages of a usage plan.""" - throttle: ThrottleSettings | None = ... - """ - A map containing method level throttling information for API stage in a - usage plan. - """ - quota: QuotaSettings | None = ... - """ - The target maximum number of permitted requests per a given unit time - interval. - """ - product_code: str | None = ... - """ - The Amazon Web Services Marketplace product identifier to associate with - the usage plan as a SaaS product on the Amazon Web Services Marketplace. - """ - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - -@dataclass(kw_only=True) -class UsagePlanKey(_SerdeShape): - """Represents a usage plan key to identify a plan customer.""" - - id: str | None = ... - """The Id of a usage plan key.""" - type: str | None = ... - """ - The type of a usage plan key. Currently, the valid key type is - `API_KEY`. - """ - value: str | None = ... - """The value of a usage plan key.""" - name: str | None = ... - """The name of a usage plan key.""" - -@dataclass(kw_only=True) -class VpcLink(_SerdeShape): - """ - An API Gateway VPC link for a RestApi to access resources in an Amazon - Virtual Private Cloud (VPC). - """ - - id: str | None = ... - """ - The identifier of the VpcLink. It is used in an Integration to reference - this VpcLink. - """ - name: str | None = ... - """The name used to label and identify the VPC link.""" - description: str | None = ... - """The description of the VPC link.""" - target_arns: list[str] | None = ... - """ - The ARN of the network load balancer of the VPC targeted by the VPC - link. The network load balancer must be owned by the same Amazon Web - Services account of the API owner. - """ - status: str | None = ... - """ - The status of the VPC link. The valid values are `AVAILABLE`, `PENDING`, - `DELETING`, or `FAILED`. Deploying an API will wait if the status is - `PENDING` and will fail if the status is `DELETING`. - """ - status_message: str | None = ... - """A description about the VPC link status.""" - tags: dict[str, str] | None = ... - """ - The collection of tags. Each tag element is associated with a given - resource. - """ - -class VpcLinkStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "AVAILABLE" - PENDING = "PENDING" - DELETING = "DELETING" - FAILED = "FAILED" - CREATE_API_KEY: APIOperation[CreateApiKeyInput, CreateApiKeyOutput] CREATE_AUTHORIZER: APIOperation[CreateAuthorizerInput, CreateAuthorizerOutput] CREATE_BASE_PATH_MAPPING: APIOperation[ diff --git a/clients/aws-sdk-api-gateway/tests/test_endpoints.py b/clients/aws-sdk-api-gateway/tests/test_endpoints.py index c7a98ba2b..d6b95cccf 100644 --- a/clients/aws-sdk-api-gateway/tests/test_endpoints.py +++ b/clients/aws-sdk-api-gateway/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-appconfigdata/pyproject.toml b/clients/aws-sdk-appconfigdata/pyproject.toml index f278b0c3e..d8c7b65a6 100644 --- a/clients/aws-sdk-appconfigdata/pyproject.toml +++ b/clients/aws-sdk-appconfigdata/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_appconfigdata" version = "0.12.0" -description = "aws_sdk_appconfigdata client" +description = "Python client for AWS AppConfig Data" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_appconfigdata"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/aio/client.py b/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/aio/client.py index 448687570..2aa69bbfd 100644 --- a/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/aio/client.py +++ b/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/aio/config.py b/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/aio/config.py index a9f1d253a..f601e2a4a 100644 --- a/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/aio/config.py +++ b/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/client.py b/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/client.py index cda36a3c1..54121a6ed 100644 --- a/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/client.py +++ b/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/config.py b/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/config.py index 6d7bf384a..5f4f0bea2 100644 --- a/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/config.py +++ b/clients/aws-sdk-appconfigdata/src/aws_sdk_appconfigdata/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-appconfigdata/tests/test_endpoints.py b/clients/aws-sdk-appconfigdata/tests/test_endpoints.py index 9771f424b..780509881 100644 --- a/clients/aws-sdk-appconfigdata/tests/test_endpoints.py +++ b/clients/aws-sdk-appconfigdata/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-bedrock-agent-runtime/pyproject.toml b/clients/aws-sdk-bedrock-agent-runtime/pyproject.toml index 6d16b63cf..e71938a63 100644 --- a/clients/aws-sdk-bedrock-agent-runtime/pyproject.toml +++ b/clients/aws-sdk-bedrock-agent-runtime/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_bedrock_agent_runtime" version = "0.12.0" -description = "aws_sdk_bedrock_agent_runtime client" +description = "Python client for Agents for Amazon Bedrock Runtime" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_bedrock_agent_runtime"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/models_0.pyi b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/models_0.pyi new file mode 100644 index 000000000..d29de369e --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/models_0.pyi @@ -0,0 +1,4633 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + InvocationResultMember, + InvocationStep, + KnowledgeBase, + KnowledgeBaseLookupInput, + MantleFoundationModelConfiguration, + Memory, + Message, + Metadata, + MetadataAttributeSchema, + NodeActionEvent, + NodeDependencyEvent, + NodeFailureEvent, + NodeInputEvent, + NodeOutputEvent, + OrchestrationExecutor, + OutputFile, + Parameter, + ParameterDetail, + PerformanceConfiguration, + PromptOverrideConfiguration, + PromptTemplate, + PropertyParameters, + QueryGenerationInput, + RequestBody, + ResourceNotFoundException, + RetrievalContent, + RetrievedReference, + RetrieverConfiguration, + ReturnControlPayload, + ReturnControlResults, + S3Identifier, + S3Location, + S3ObjectDoc, + S3ObjectFile, + SatisfiedCondition, + ServiceError, + ServiceQuotaExceededException, + TextInferenceConfig, + TextPrompt, + TextResponsePart, + ThrottlingException, + Trace, + TraceElements, + TransformationConfiguration, + UserContext, + ValidationException, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AccessDeniedException(ServiceError, _SerdeShape): + """ + The request is denied because of missing access permissions. Check your + permissions and retry your request. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ActionGroupExecutorLambda(_SerdeShape): + """ + The Amazon Resource Name (ARN) of the Lambda function containing the + business logic that is carried out upon invoking the action. + """ + + value: str + +@dataclass +class ActionGroupExecutorCustomControl(_SerdeShape): + """ + To return the action group invocation results directly in the + `InvokeInlineAgent` response, specify `RETURN_CONTROL`. + """ + + value: str + +@dataclass +class ActionGroupExecutorUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ActionGroupExecutor = Union[ + ActionGroupExecutorLambda + | ActionGroupExecutorCustomControl + | ActionGroupExecutorUnknown +] +""" +Contains details about the Lambda function containing the business logic +that is carried out upon invoking the action or the custom control +method for handling the information elicited from the user. +""" + +class _ActionGroupExecutorDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ActionGroupExecutor: ... + +@dataclass(kw_only=True) +class ActionGroupInvocationInput(_SerdeShape): + """ + Contains information about the action group being invoked. For more + information about the possible structures, see the InvocationInput tab + in + [OrchestrationTrace](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-orchestration.html) + in the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). + """ + + action_group_name: str | None = ... + """The name of the action group.""" + verb: str | None = ... + """The API method being used, based off the action group.""" + api_path: str | None = ... + """The path to the API to call, based off the action group.""" + parameters: list[Parameter] | None = ... + """The parameters in the Lambda input event.""" + request_body: RequestBody | None = ... + """The parameters in the request body for the Lambda input event.""" + function: str | None = ... + """The function in the action group to call.""" + execution_type: str | None = ... + """ + How fulfillment of the action is handled. For more information, see + [Handling fulfillment of the + action](https://docs.aws.amazon.com/bedrock/latest/userguide/action-handle.html). + """ + invocation_id: str | None = ... + """ + The unique identifier of the invocation. Only returned if the + `executionType` is `RETURN_CONTROL`. + """ + +@dataclass(kw_only=True) +class ActionGroupInvocationOutput(_SerdeShape): + """ + Contains the JSON-formatted string returned by the API invoked by the + action group. + """ + + text: str | None = ... + """ + The JSON-formatted string returned by the API invoked by the action + group. + """ + metadata: Metadata | None = ... + """Contains information about the action group output.""" + +class ActionGroupSignature(UnknownEnumMixin, StrEnum): + AMAZON_USERINPUT = "AMAZON.UserInput" + AMAZON_CODEINTERPRETER = "AMAZON.CodeInterpreter" + ANTHROPIC_COMPUTER = "ANTHROPIC.Computer" + ANTHROPIC_BASH = "ANTHROPIC.Bash" + ANTHROPIC_TEXTEDITOR = "ANTHROPIC.TextEditor" + +class ActionInvocationType(UnknownEnumMixin, StrEnum): + RESULT = "RESULT" + USER_CONFIRMATION = "USER_CONFIRMATION" + USER_CONFIRMATION_AND_RESULT = "USER_CONFIRMATION_AND_RESULT" + +@dataclass(kw_only=True) +class AgentActionGroup(_SerdeShape): + """Contains details of the inline agent's action group.""" + + action_group_name: str + """The name of the action group.""" + description: str | None = ... + """A description of the action group.""" + parent_action_group_signature: str | None = ... + """ + Specify a built-in or computer use action for this action group. If you + specify a value, you must leave the `description`, `apiSchema`, and + `actionGroupExecutor` fields empty for this action group. + + - To allow your agent to request the user for additional information + when trying to complete a task, set this field to `AMAZON.UserInput`. + + - To allow your agent to generate, run, and troubleshoot code when + trying to complete a task, set this field to `AMAZON.CodeInterpreter`. + + - To allow your agent to use an Anthropic computer use tool, specify one + of the following values. + + Warning: + Computer use is a new Anthropic Claude model capability (in beta) + available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 + only. When operating computer use functionality, we recommend taking + additional security precautions, such as executing computer actions in + virtual environments with restricted data access and limited internet + connectivity. For more information, see [Configure an Amazon Bedrock + Agent to complete tasks with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). + + - `ANTHROPIC.Computer` - Gives the agent permission to use the mouse + and keyboard and take screenshots. + + - `ANTHROPIC.TextEditor` - Gives the agent permission to view, create + and edit files. + + - `ANTHROPIC.Bash` - Gives the agent permission to run commands in a + bash shell. + """ + action_group_executor: ActionGroupExecutor | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda function containing the + business logic that is carried out upon invoking the action or the + custom control method for handling the information elicited from the + user. + """ + api_schema: APISchema | None = ... + """ + Contains either details about the S3 object containing the OpenAPI + schema for the action group or the JSON or YAML-formatted payload + defining the schema. For more information, see [Action group OpenAPI + schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). + """ + function_schema: FunctionSchema | None = ... + """ + Contains details about the function schema for the action group or the + JSON or YAML-formatted payload defining the schema. + """ + parent_action_group_signature_params: dict[str, str] | None = ... + """ + The configuration settings for a computer use action. + + Warning: + Computer use is a new Anthropic Claude model capability (in beta) + available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more + information, see [Configure an Amazon Bedrock Agent to complete tasks + with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). + """ + +class AgentCollaboration(UnknownEnumMixin, StrEnum): + SUPERVISOR = "SUPERVISOR" + SUPERVISOR_ROUTER = "SUPERVISOR_ROUTER" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class AgentCollaboratorInputPayload(_SerdeShape): + """ + Input for an agent collaborator. The input can be text or an action + invocation result. + """ + + type: str | None = ... + """The input type.""" + text: str | None = ... + """Input text.""" + return_control_results: ReturnControlResults | None = ... + """An action invocation result.""" + +@dataclass(kw_only=True) +class AgentCollaboratorInvocationInput(_SerdeShape): + """An agent collaborator invocation input.""" + + agent_collaborator_name: str | None = ... + """The collaborator's name.""" + agent_collaborator_alias_arn: str | None = ... + """The collaborator's alias ARN.""" + input: AgentCollaboratorInputPayload | None = ... + """Text or action invocation result input for the collaborator.""" + +@dataclass(kw_only=True) +class AgentCollaboratorInvocationOutput(_SerdeShape): + """Output from an agent collaborator.""" + + agent_collaborator_name: str | None = ... + """The output's agent collaborator name.""" + agent_collaborator_alias_arn: str | None = ... + """The output's agent collaborator alias ARN.""" + output: AgentCollaboratorOutputPayload | None = ... + """The output's output.""" + metadata: Metadata | None = ... + """Contains information about the output from the agent collaborator.""" + +@dataclass(kw_only=True) +class AgentCollaboratorOutputPayload(_SerdeShape): + """ + Output from an agent collaborator. The output can be text or an action + invocation result. + """ + + type: str | None = ... + """The type of output.""" + text: str | None = ... + """Text output.""" + return_control_payload: ReturnControlPayload | None = ... + """An action invocation result.""" + +@dataclass(kw_only=True) +class AgenticRetrieveAction(_SerdeShape): + """An action taken during agentic retrieval.""" + + retrieve: AgenticRetrieveActionDetails | None = ... + """Details of the retrieve action.""" + full_document_expansion: AgenticRetrieveFullDocExpansionDetails | None = ... + """Details of a full document expansion action.""" + memory_retrieve: AgenticRetrieveMemoryRetrieveDetails | None = ... + """ + The details of a long-term memory retrieval that the agent chose to + perform. + """ + code_execution: AgenticRetrieveCodeExecutionDetails | None = ... + """The details of code that the agent chose to run.""" + +@dataclass(kw_only=True) +class AgenticRetrieveActionDetails(_SerdeShape): + """Details of a retrieve action including the query and target retrievers.""" + + input_query: AgenticRetrieveMessageContent + """The input query used for retrieval.""" + source_retrievers: list[AgenticRetrieveSourceRetriever] + """The list of source retrievers targeted by this action.""" + +@dataclass(kw_only=True) +class AgenticRetrieveAppliedInstruction(_SerdeShape): + """ + The retrieval instruction, identified by its ID and version, that was + applied to the request. + """ + + id: str + """The identifier of the retrieval instruction applied.""" + version: str | None = ... + """ + The version that was applied: a version number, or DRAFT. The service + reports this version whenever it reports appliedInstruction, including + DRAFT when the request did not specify a version. + """ + +@dataclass(kw_only=True) +class AgenticRetrieveBedrockGuardrailConfiguration(_SerdeShape): + """Configuration for a Bedrock guardrail applied during agentic retrieval.""" + + guardrail_id: str + """The unique identifier of the guardrail.""" + guardrail_version: str + """The version of the guardrail to use.""" + +@dataclass(kw_only=True) +class AgenticRetrieveBedrockRerankingConfiguration(_SerdeShape): + """Configuration for a Bedrock reranking model.""" + + model_configuration: AgenticRetrieveBedrockRerankingModelConfiguration + """The model configuration containing the model ARN.""" + +@dataclass(kw_only=True) +class AgenticRetrieveBedrockRerankingModelConfiguration(_SerdeShape): + """Model configuration for a Bedrock reranking model.""" + + model_arn: str + """The ARN of the Bedrock reranking model.""" + +@dataclass(kw_only=True) +class AgenticRetrieveCitation(_SerdeShape): + """A citation mapping a span of the generated answer to supporting results.""" + + start_index: int + """Character offset start in the answer text.""" + end_index: int + """Character offset end (exclusive) in the answer text.""" + references: list[AgenticRetrieveCitationReference] + """References to results that support this span.""" + +@dataclass(kw_only=True) +class AgenticRetrieveCitationReference(_SerdeShape): + """A reference to a specific result item.""" + + result_index: int + """Index into the results array on the same event.""" + +@dataclass(kw_only=True) +class AgenticRetrieveCodeExecutionDetails(_SerdeShape): + """ + The details of code that the agent chose to run in an isolated sandbox. + The record includes the documents that the code reads. The corresponding + CodeExecution step reports the outcome. + """ + + documents: list[AgenticRetrieveCodeExecutionDocument] | None = ... + """ + The documents that the code reads. This field is present when the code + reads documents. + """ + +@dataclass(kw_only=True) +class AgenticRetrieveCodeExecutionDocument(_SerdeShape): + """A document that a code execution action reads.""" + + document_id: str | None = ... + """The identifier of the document.""" + source_retriever: AgenticRetrieveSourceRetriever | None = ... + """The source retriever associated with the document.""" + +@dataclass(kw_only=True) +class AgenticRetrieveConfiguration(_SerdeShape): + """Configuration settings for the agentic retrieval operation.""" + + foundation_model_type: str = ... + """ + The type of foundation model to use. CUSTOM uses a specified model, + MANAGED uses the service default. + """ + foundation_model_configuration: FoundationModelConfiguration | None = ... + """ + The foundation model configuration. Required when foundationModelType is + CUSTOM. + """ + reranking_model_type: str | None = ... + """ + The type of reranking model to use. CUSTOM uses a specified model, + MANAGED uses the service default. If not specified, defaults to MANAGED + for managed embedding knowledge bases and NONE for custom embedding + knowledge bases. + """ + reranking_configuration: AgenticRetrieveRerankingConfiguration | None = ... + """ + The reranking model configuration. Required when rerankingModelType is + CUSTOM. + """ + max_agent_iteration: int = ... + """The maximum number of agent iterations for retrieval.""" + +@dataclass(kw_only=True) +class AgenticRetrieveFailure(_SerdeShape): + """A failure that occurred during agentic retrieval.""" + + message: str + """A message describing the failure.""" + +@dataclass(kw_only=True) +class AgenticRetrieveFullDocExpansionDetails(_SerdeShape): + """Details of a full document expansion action.""" + + document_id: str | None = ... + """The identifier of the document to expand.""" + source_retriever: AgenticRetrieveSourceRetriever | None = ... + """The source retriever associated with the document.""" + +@dataclass(kw_only=True) +class AgenticRetrieveGeneratedResponse(_SerdeShape): + """The generated response synthesized from retrieved results.""" + + answer: str + """The generated answer text.""" + citations: list[AgenticRetrieveCitation] | None = ... + """Citations mapping spans of the answer to supporting results.""" + +@dataclass(kw_only=True) +class AgenticRetrieveGuardrailWarning(_SerdeShape): + """A warning generated by a guardrail during agentic retrieval.""" + + id: str + """The unique identifier of the guardrail.""" + version: str + """The version of the guardrail.""" + action: str + """The action taken by the guardrail.""" + message: str | None = ... + """A message describing the guardrail evaluation result.""" + +@dataclass(kw_only=True) +class AgenticRetrieveInstructionConfiguration(_SerdeShape): + """ + The retrieval instruction, identified by its ID and optional version, to + apply to this request. + """ + + retrieval_instruction_id: str + """ + The identifier of the retrieval instruction. The instruction must exist + in the caller's account and its status must be ACTIVE. + """ + version: str | None = ... + """ + The version of the retrieval instruction to apply: a version number, or + DRAFT for the instruction's current reviewed content. When omitted, + DRAFT is used. This default is permanent. + """ + +@dataclass(kw_only=True) +class AgenticRetrieveMemoryConfiguration(_SerdeShape): + """ + Specifies an AgentCore Memory resource and how this retrieval uses it. + Set sessionBinding to restore and continue a session. Set + retrievalConfigs to let the agent retrieve from long-term memory. You + must specify at least one of the two. + """ + + memory_id: str + """ + The identifier of the AgentCore Memory resource to use. The resource + must exist in your account and be in the ACTIVE state. + """ + session_binding: AgenticRetrieveMemorySessionBinding | None = ... + """ + The short-term memory session whose history is restored for this + retrieval. To persist the agent-generated answer to the session, omit + persistenceMode or set it to DEFAULT. To leave the session unchanged, + set persistenceMode to NONE. Supply session history through the existing + messages parameter or through short-term memory, but not both. + """ + retrieval_configs: list[AgenticRetrieveMemoryRetrievalConfig] | None = ... + """ + Specifies the long-term memory configuration the agent can retrieve + from. The agent decides whether to retrieve and composes its own query. + This field currently accepts at most one entry. + """ + persistence_mode: str | None = ... + """ + Specifies whether the agent-generated answer is written back to the + given short-term memory session, and applies only when sessionBinding is + set. Valid values: + + - `DEFAULT` (default) -- Specifies that the question and the + agent-generated answer are persisted to the session as a single event. + This value requires generateResponse to be true. + + - `NONE` -- Specifies that the session is left unchanged. + """ + +@dataclass(kw_only=True) +class AgenticRetrieveMemoryMetadataFilter(_SerdeShape): + """ + A metadata filter expression, in the form accepted by the AgentCore + Memory RetrieveMemoryRecords operation. The expression has a left + operand that names the metadata key, an operator, and a right operand. + For the EXISTS and NOT_EXISTS operators, omit the right operand. + """ + + left: AgenticRetrieveMemoryMetadataFilterLeft + """The metadata key that the expression evaluates.""" + operator: str + """ + The relationship that the metadata key and value must have for a memory + record to match. + """ + right: AgenticRetrieveMemoryMetadataFilterRight | None = ... + """ + The value that the expression compares the metadata key against. Supply + this value for every operator except EXISTS and NOT_EXISTS. + """ + +@dataclass +class AgenticRetrieveMemoryMetadataFilterLeftMetadataKey(_SerdeShape): + """The metadata key to filter on.""" + + value: str + +@dataclass +class AgenticRetrieveMemoryMetadataFilterLeftUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AgenticRetrieveMemoryMetadataFilterLeft = Union[ + AgenticRetrieveMemoryMetadataFilterLeftMetadataKey + | AgenticRetrieveMemoryMetadataFilterLeftUnknown +] +""" +The left operand of a metadata filter expression. Set exactly one +member. +""" + +class _AgenticRetrieveMemoryMetadataFilterLeftDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AgenticRetrieveMemoryMetadataFilterLeft: ... + +class AgenticRetrieveMemoryMetadataFilterOperator(UnknownEnumMixin, StrEnum): + """ + Specifies the relationship that a metadata key and value must have for a + memory record to match a filter expression. + """ + + EQUALS_TO = "EQUALS_TO" + """ + The EQUALS_TO operator matches memory records whose metadata value + equals the supplied value. + """ + EXISTS = "EXISTS" + """ + The EXISTS operator matches memory records that carry the metadata key, + whatever its value. This operator takes no right operand. + """ + NOT_EXISTS = "NOT_EXISTS" + """ + The NOT_EXISTS operator matches memory records that do not carry the + metadata key. This operator takes no right operand. + """ + BEFORE = "BEFORE" + """ + The BEFORE operator matches memory records whose timestamp metadata + value falls before the supplied value. + """ + AFTER = "AFTER" + """ + The AFTER operator matches memory records whose timestamp metadata value + falls after the supplied value. + """ + CONTAINS = "CONTAINS" + """ + The CONTAINS operator matches memory records whose metadata value + contains the supplied value. + """ + GREATER_THAN = "GREATER_THAN" + """ + The GREATER_THAN operator matches memory records whose numeric metadata + value is greater than the supplied value. + """ + GREATER_THAN_OR_EQUALS = "GREATER_THAN_OR_EQUALS" + """ + The GREATER_THAN_OR_EQUALS operator matches memory records whose numeric + metadata value is greater than or equal to the supplied value. + """ + LESS_THAN = "LESS_THAN" + """ + The LESS_THAN operator matches memory records whose numeric metadata + value is less than the supplied value. + """ + LESS_THAN_OR_EQUALS = "LESS_THAN_OR_EQUALS" + """ + The LESS_THAN_OR_EQUALS operator matches memory records whose numeric + metadata value is less than or equal to the supplied value. + """ + +@dataclass +class AgenticRetrieveMemoryMetadataFilterRightMetadataValue(_SerdeShape): + """The value to compare the metadata key against.""" + + value: AgenticRetrieveMemoryMetadataValue + +@dataclass +class AgenticRetrieveMemoryMetadataFilterRightUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AgenticRetrieveMemoryMetadataFilterRight = Union[ + AgenticRetrieveMemoryMetadataFilterRightMetadataValue + | AgenticRetrieveMemoryMetadataFilterRightUnknown +] +""" +The right operand of a metadata filter expression. Set exactly one +member. +""" + +class _AgenticRetrieveMemoryMetadataFilterRightDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AgenticRetrieveMemoryMetadataFilterRight: ... + +@dataclass +class AgenticRetrieveMemoryMetadataValueStringValue(_SerdeShape): + """A string value.""" + + value: str + +@dataclass +class AgenticRetrieveMemoryMetadataValueNumberValue(_SerdeShape): + """A numeric value.""" + + value: float + +@dataclass +class AgenticRetrieveMemoryMetadataValueStringListValue(_SerdeShape): + """A list of string values.""" + + value: list[str] + +@dataclass +class AgenticRetrieveMemoryMetadataValueDateTimeValue(_SerdeShape): + """A timestamp value in ISO 8601 UTC format.""" + + value: datetime + +@dataclass +class AgenticRetrieveMemoryMetadataValueUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AgenticRetrieveMemoryMetadataValue = Union[ + AgenticRetrieveMemoryMetadataValueStringValue + | AgenticRetrieveMemoryMetadataValueNumberValue + | AgenticRetrieveMemoryMetadataValueStringListValue + | AgenticRetrieveMemoryMetadataValueDateTimeValue + | AgenticRetrieveMemoryMetadataValueUnknown +] +""" +A metadata value that a filter expression compares against. Set exactly +one member. +""" + +class _AgenticRetrieveMemoryMetadataValueDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AgenticRetrieveMemoryMetadataValue: ... + +class AgenticRetrieveMemoryPersistenceMode(UnknownEnumMixin, StrEnum): + """ + Specifies whether the agent-generated answer is written back to a + short-term memory session. + """ + + DEFAULT = "DEFAULT" + """ + Specifies that the question and the agent-generated answer are persisted + to the session. This is the default when persistenceMode is omitted. + """ + NONE = "NONE" + """Specifies that the session is left unchanged.""" + +@dataclass(kw_only=True) +class AgenticRetrieveMemoryRetrievalConfig(_SerdeShape): + """ + The long-term memory namespace that the agent might retrieve memory + records from, and the filters applied to that retrieval. You must + specify either namespace or namespacePath. + """ + + namespace: str | None = ... + """ + The namespace prefix to filter memory records by. The agent retrieves + memory records in namespaces that start with the provided prefix. You + must specify either namespace or namespacePath. + """ + namespace_path: str | None = ... + """ + The parent namespace to use for hierarchical retrievals. The agent + retrieves all memory records whose namespace falls under the same parent + hierarchy. You must specify either namespace or namespacePath. + """ + strategy_id: str | None = ... + """ + The extraction strategy ID that restricts retrieval to memory records + produced by a single strategy. Omit this parameter to retrieve records + from every strategy on the memory resource. + """ + metadata_filters: list[AgenticRetrieveMemoryMetadataFilter] | None = ... + """ + The metadata filter expressions that restrict retrieval to matching + memory records. You can specify a maximum of 5 expressions. + """ + +@dataclass(kw_only=True) +class AgenticRetrieveMemoryRetrieveDetails(_SerdeShape): + """ + A long-term memory retrieval that the agent chose to perform. The record + reports the query and the namespace. The corresponding Retrieval step + reports the results. + """ + + input_query: AgenticRetrieveMessageContent + """The query that the agent composed.""" + memory_id: str + """The identifier of the AgentCore Memory resource retrieved from.""" + namespace: str | None = ... + """ + The namespace prefix retrieved from, as supplied in the request. This + field is present when the request specified namespace. + """ + namespace_path: str | None = ... + """ + The parent namespace retrieved from hierarchically, as supplied in the + request. This field is present when the request specified namespacePath. + """ + strategy_id: str | None = ... + """ + The extraction strategy that restricted retrieval, if the request + specified one. + """ + +@dataclass(kw_only=True) +class AgenticRetrieveMemorySessionBinding(_SerdeShape): + """ + The short-term memory session that this retrieval reads from and writes + to. + """ + + actor_id: str + """ + The identifier of the end user or agent that the session belongs to. + This identifier scopes session history so that one actor's history is + never returned for another. You are responsible for sending the correct + actor value. + """ + session_id: str + """ + The identifier of the session to restore and continue. You are + responsible for sending the correct session value. + """ + +@dataclass(kw_only=True) +class AgenticRetrieveMessage(_SerdeShape): + """A message in the agentic retrieval conversation.""" + + content: AgenticRetrieveMessageContent + """The content of the message.""" + role: str + """The role of the message sender (e.g., user or assistant).""" + +@dataclass(kw_only=True) +class AgenticRetrieveMessageContent(_SerdeShape): + """The content of an agentic retrieval message.""" + + text: str | None = ... + """The text content of the message.""" + +@dataclass(kw_only=True) +class AgenticRetrievePolicyConfiguration(_SerdeShape): + """Policy configuration for agentic retrieval.""" + + bedrock_guardrail_configuration: ( + AgenticRetrieveBedrockGuardrailConfiguration | None + ) = ... + """Configuration for Bedrock guardrails to apply during retrieval.""" + +@dataclass(kw_only=True) +class AgenticRetriever(_SerdeShape): + """A retriever used in agentic retrieval.""" + + description: str | None = ... + """A description of the retriever's purpose.""" + configuration: RetrieverConfiguration + """The configuration for this retriever.""" + +@dataclass(kw_only=True) +class AgenticRetrieveRerankingConfiguration(_SerdeShape): + """Configuration for the reranking model.""" + + type: str + """The type of reranking configuration.""" + bedrock_reranking_configuration: ( + AgenticRetrieveBedrockRerankingConfiguration | None + ) = ... + """The Bedrock reranking model configuration.""" + +class AgenticRetrieveRerankingConfigurationType(UnknownEnumMixin, StrEnum): + """The type of reranking configuration.""" + + BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" + +class AgenticRetrieveRerankingModelType(UnknownEnumMixin, StrEnum): + """The type of reranking model.""" + + CUSTOM = "CUSTOM" + MANAGED = "MANAGED" + NONE = "NONE" + +@dataclass(kw_only=True) +class AgenticRetrieveResponseEvent(_SerdeShape): + """A chunk of the generated answer text.""" + + text: str + """The generated text chunk.""" + +@dataclass(kw_only=True) +class AgenticRetrieveResultEvent(_SerdeShape): + """An event containing agentic retrieval results.""" + + results: list[AgenticRetrieveResultItem] + """The list of retrieved result items.""" + generated_response: AgenticRetrieveGeneratedResponse | None = ... + """The generated response. Present only when generateResponse is true.""" + next_token: str | None = ... + """Opaque continuation token for paginated results.""" + +@dataclass(kw_only=True) +class AgenticRetrieveResultItem(_SerdeShape): + """A single item from the agentic retrieval results.""" + + content: RetrievalContent + """The retrieved content.""" + metadata: dict[str, Document] | None = ... + """Metadata associated with the retrieved item.""" + source_retriever: AgenticRetrieveSourceRetriever + """The source retriever that produced this result.""" + +@dataclass(kw_only=True) +class AgenticRetrieveSourceMetadata(_SerdeShape): + """Metadata about a retrieval source.""" + + identifier: str | None = ... + """The identifier of the retrieval source.""" + retrieval_type: str | None = ... + """The type of retrieval source.""" + +@dataclass(kw_only=True) +class AgenticRetrieveSourceRetriever(_SerdeShape): + """A source retriever that produced retrieval results.""" + + identifier: str + """The unique identifier of the source retriever.""" + +class AgenticRetrieveStatus(UnknownEnumMixin, StrEnum): + """The status of an agentic retrieval step.""" + + IN_PROGRESS = "IN_PROGRESS" + """The step is currently in progress.""" + SUCCEEDED = "SUCCEEDED" + """The step completed successfully.""" + FAILED = "FAILED" + """The step failed.""" + +class AgenticRetrieveStep(UnknownEnumMixin, StrEnum): + """The step in the agentic retrieval process.""" + + PLANNING = "Planning" + """The planning phase of retrieval.""" + RETRIEVAL = "Retrieval" + """The retrieval phase where data is fetched.""" + SPECULATIVE_RETRIEVAL = "SpeculativeRetrieval" + """A speculative retrieval phase for optimization.""" + FULL_DOCUMENT_EXPANSION = "FullDocumentExpansion" + """The full document expansion phase.""" + SESSION_HISTORY_LOAD = "SessionHistoryLoad" + """ + The phase that restores prior session history from AgentCore Memory + short-term memory, before the agent begins work. + """ + CODE_EXECUTION = "CodeExecution" + """ + The phase that runs agent-generated code in an isolated sandbox. The + code can read documents retrieved earlier in the same request. + """ + +@dataclass(kw_only=True) +class AgenticRetrieveStreamInput(_SerdeShape): + """Request structure for the agentic retrieve stream operation.""" + + messages: list[AgenticRetrieveMessage] | None = ... + """The list of messages for the agentic retrieval conversation.""" + retrievers: list[AgenticRetriever] | None = ... + """The list of retrievers to use for agentic retrieval.""" + agentic_retrieve_configuration: AgenticRetrieveConfiguration | None = ... + """Configuration settings for the agentic retrieval operation.""" + policy_configuration: AgenticRetrievePolicyConfiguration | None = ... + """Policy configuration for guardrails and content filtering.""" + next_token: str | None = ... + """Opaque continuation token for paginated results.""" + user_context: UserContext | None = ... + """ + Contains information about the user making the request. This is used for + access control filtering to ensure that retrieval results only include + documents the user is authorized to access. + """ + memory_configuration: AgenticRetrieveMemoryConfiguration | None = ... + """ + The configuration for using an Amazon Bedrock AgentCore Memory resource + with this retrieval. + """ + retrieval_instruction_configuration: ( + AgenticRetrieveInstructionConfiguration | None + ) = ... + """A retrieval instruction to apply to this request.""" + generate_response: bool = ... + """Whether to generate a response based on the retrieved results.""" + +@dataclass(kw_only=True) +class AgenticRetrieveStreamOutput(_SerdeShape): + """Response structure for the agentic retrieve stream operation.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class AgenticRetrieveStreamResponseOutputResult(_SerdeShape): + """A retrieval result event containing the retrieved items.""" + + value: AgenticRetrieveResultEvent + +@dataclass +class AgenticRetrieveStreamResponseOutputTraceEvent(_SerdeShape): + """A trace event providing visibility into the retrieval process.""" + + value: AgenticRetrieveTraceEvent + +@dataclass +class AgenticRetrieveStreamResponseOutputResponseEvent(_SerdeShape): + """ + A chunk of the generated answer. Emitted only when generateResponse is + true. + """ + + value: AgenticRetrieveResponseEvent + +@dataclass +class AgenticRetrieveStreamResponseOutputInternalServerException(_SerdeShape): + """An internal server error occurred.""" + + value: InternalServerException + +@dataclass +class AgenticRetrieveStreamResponseOutputValidationException(_SerdeShape): + """The request validation failed.""" + + value: ValidationException + +@dataclass +class AgenticRetrieveStreamResponseOutputResourceNotFoundException(_SerdeShape): + """The specified resource was not found.""" + + value: ResourceNotFoundException + +@dataclass +class AgenticRetrieveStreamResponseOutputServiceQuotaExceededException(_SerdeShape): + """The service quota has been exceeded.""" + + value: ServiceQuotaExceededException + +@dataclass +class AgenticRetrieveStreamResponseOutputThrottlingException(_SerdeShape): + """The request was throttled.""" + + value: ThrottlingException + +@dataclass +class AgenticRetrieveStreamResponseOutputAccessDeniedException(_SerdeShape): + """Access to the resource was denied.""" + + value: AccessDeniedException + +@dataclass +class AgenticRetrieveStreamResponseOutputConflictException(_SerdeShape): + """A conflict occurred with the current state of the resource.""" + + value: ConflictException + +@dataclass +class AgenticRetrieveStreamResponseOutputDependencyFailedException(_SerdeShape): + """A dependency failed during the operation.""" + + value: DependencyFailedException + +@dataclass +class AgenticRetrieveStreamResponseOutputBadGatewayException(_SerdeShape): + """A bad gateway error occurred.""" + + value: BadGatewayException + +@dataclass +class AgenticRetrieveStreamResponseOutputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AgenticRetrieveStreamResponseOutput = Union[ + AgenticRetrieveStreamResponseOutputResult + | AgenticRetrieveStreamResponseOutputTraceEvent + | AgenticRetrieveStreamResponseOutputResponseEvent + | AgenticRetrieveStreamResponseOutputInternalServerException + | AgenticRetrieveStreamResponseOutputValidationException + | AgenticRetrieveStreamResponseOutputResourceNotFoundException + | AgenticRetrieveStreamResponseOutputServiceQuotaExceededException + | AgenticRetrieveStreamResponseOutputThrottlingException + | AgenticRetrieveStreamResponseOutputAccessDeniedException + | AgenticRetrieveStreamResponseOutputConflictException + | AgenticRetrieveStreamResponseOutputDependencyFailedException + | AgenticRetrieveStreamResponseOutputBadGatewayException + | AgenticRetrieveStreamResponseOutputUnknown +] +""" +The streaming output for agentic retrieval, containing results, traces, +and errors. +""" + +class _AgenticRetrieveStreamResponseOutputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AgenticRetrieveStreamResponseOutput: ... + +@dataclass(kw_only=True) +class AgenticRetrieveTraceEvent(_SerdeShape): + """A trace event providing visibility into the agentic retrieval process.""" + + id: str + """The unique identifier of the trace event.""" + timestamp: int + """The timestamp when the trace event occurred.""" + attributes: AgenticRetrieveTraceEventAttributes + """The attributes describing the trace event details.""" + +@dataclass(kw_only=True) +class AgenticRetrieveTraceEventAttributes(_SerdeShape): + """Attributes describing the details of an agentic retrieval trace event.""" + + step: str + """The current step in the retrieval process.""" + status: str + """The status of the current step.""" + message: str + """A human-readable message describing the trace event.""" + actions: list[AgenticRetrieveAction] | None = ... + """The list of actions taken during this step.""" + warnings: list[AgenticRetrieveWarning] | None = ... + """Warnings generated during this step.""" + failures: list[AgenticRetrieveFailure] | None = ... + """Failures that occurred during this step.""" + retrieval_metadata: list[AgenticRetrieveSourceMetadata] | None = ... + """Metadata about the retrieval sources used.""" + retrieval_response: list[AgenticRetrieveTraceResultItem] | None = ... + """The retrieval results from this step.""" + applied_instruction: AgenticRetrieveAppliedInstruction | None = ... + """ + The agent reports the retrieval instruction applied to this request on + the first planning step. + """ + +@dataclass(kw_only=True) +class AgenticRetrieveTraceResultItem(_SerdeShape): + """A result item from an agentic retrieval trace.""" + + content: RetrievalContent | None = ... + """The retrieved content.""" + metadata: dict[str, Document] | None = ... + """Metadata associated with the retrieved item.""" + source_retriever: AgenticRetrieveSourceRetriever | None = ... + """The source retriever that produced this result.""" + +class AgenticRetrieveType(UnknownEnumMixin, StrEnum): + """The type of retrieval source.""" + + BEDROCK_KNOWLEDGE_BASE = "BedrockKnowledgeBase" + """A Bedrock knowledge base retrieval source.""" + BEDROCK_AGENT_CORE_MEMORY = "BedrockAgentCoreMemory" + """ + An AgentCore Memory resource. Long-term memory retrievals report under + the Retrieval step with this source type. + """ + +@dataclass +class AgenticRetrieveWarning_Message(_SerdeShape): + """A general warning message.""" + + value: AgenticRetrieveWarningMessage + +@dataclass +class AgenticRetrieveWarningGuardrail(_SerdeShape): + """A warning from a guardrail evaluation.""" + + value: AgenticRetrieveGuardrailWarning + +@dataclass +class AgenticRetrieveWarningUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AgenticRetrieveWarning = Union[ + AgenticRetrieveWarning_Message + | AgenticRetrieveWarningGuardrail + | AgenticRetrieveWarningUnknown +] +"""A warning generated during agentic retrieval.""" + +class _AgenticRetrieveWarningDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AgenticRetrieveWarning: ... + +@dataclass(kw_only=True) +class AgenticRetrieveWarningMessage(_SerdeShape): + """A general warning message from agentic retrieval.""" + + message: str + """The warning message text.""" + +@dataclass(kw_only=True) +class AnalyzePromptEvent(_SerdeShape): + """ + An event in which the prompt was analyzed in preparation for + optimization. + """ + + message: str | None = ... + """A message describing the analysis of the prompt.""" + +@dataclass(kw_only=True) +class ApiInvocationInput(_SerdeShape): + """ + Contains information about the API operation that the agent predicts + should be called. + + This data type is used in the following API operations: + + - In the `returnControl` field of the [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + """ + + action_group: str + """The action group that the API operation belongs to.""" + http_method: str | None = ... + """The HTTP method of the API operation.""" + api_path: str | None = ... + """The path to the API operation.""" + parameters: list[ApiParameter] | None = ... + """ + The parameters to provide for the API request, as the agent elicited + from the user. + """ + request_body: ApiRequestBody | None = ... + """ + The request body to provide for the API request, as the agent elicited + from the user. + """ + action_invocation_type: str | None = ... + """Contains information about the API operation to invoke.""" + agent_id: str | None = ... + """The agent's ID.""" + collaborator_name: str | None = ... + """The agent collaborator's name.""" + +@dataclass(kw_only=True) +class ApiParameter(_SerdeShape): + """ + Information about a parameter to provide to the API request. + + This data type is used in the following API operations: + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + """ + + name: str | None = ... + """The name of the parameter.""" + type: str | None = ... + """The data type for the parameter.""" + value: str | None = ... + """The value of the parameter.""" + +@dataclass(kw_only=True) +class ApiRequestBody(_SerdeShape): + """ + The request body to provide for the API request, as the agent elicited + from the user. + + This data type is used in the following API operations: + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + """ + + content: dict[str, PropertyParameters] | None = ... + """ + The content of the request body. The key of the object in this field is + a media type defining the format of the request body. + """ + +@dataclass(kw_only=True) +class ApiResult(_SerdeShape): + """ + Contains information about the API operation that was called from the + action group and the response body that was returned. + + This data type is used in the following API operations: + + - In the `returnControlInvocationResults` of the [InvokeAgent + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) + """ + + action_group: str + """The action group that the API operation belongs to.""" + http_method: str | None = ... + """The HTTP method for the API operation.""" + api_path: str | None = ... + """The path to the API operation.""" + confirmation_state: str | None = ... + """ + Controls the API operations or functions to invoke based on the user + confirmation. + """ + response_state: str | None = ... + """ + Controls the final response state returned to end user when API/Function + execution failed. When this state is FAILURE, the request would fail + with dependency failure exception. When this state is REPROMPT, the + API/function response will be sent to model for re-prompt + """ + http_status_code: int | None = ... + """ + http status code from API execution response (for example: 200, 400, + 500). + """ + response_body: dict[str, ContentBody] | None = ... + """ + The response body from the API operation. The key of the object is the + content type (currently, only `TEXT` is supported). The response may be + returned directly or from the Lambda function. + """ + agent_id: str | None = ... + """The agent's ID.""" + +@dataclass +class APISchemaS3(_SerdeShape): + """ + Contains details about the S3 object containing the OpenAPI schema for + the action group. + """ + + value: S3Identifier + +@dataclass +class APISchemaPayload(_SerdeShape): + """ + The JSON or YAML-formatted payload defining the OpenAPI schema for the + action group. + """ + + value: str + +@dataclass +class APISchemaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +APISchema = Union[APISchemaS3 | APISchemaPayload | APISchemaUnknown] +""" +Contains details about the OpenAPI schema for the action group. For more +information, see [Action group OpenAPI +schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). +You can either include the schema directly in the payload field or you +can upload it to an S3 bucket and specify the S3 bucket location in the +s3 field. +""" + +class _APISchemaDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> APISchema: ... + +class AttributeType(UnknownEnumMixin, StrEnum): + STRING = "STRING" + NUMBER = "NUMBER" + BOOLEAN = "BOOLEAN" + STRING_LIST = "STRING_LIST" + +@dataclass(kw_only=True) +class Attribution(_SerdeShape): + """Contains citations for a part of an agent response.""" + + citations: list[Citation] | None = ... + """ + A list of citations and related information for a part of an agent + response. + """ + +@dataclass(kw_only=True) +class AudioSegment(_SerdeShape): + """ + Contains information about an audio segment retrieved from a knowledge + base, including its location and transcription. + + This data type is used in the following API operations: + + - [Retrieve + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) + -- in the `audio` field + """ + + s3_uri: str + """ + The S3 URI where this specific audio segment is stored in the multimodal + storage destination. + """ + transcription: str | None = ... + """The text transcription of the audio segment content.""" + +@dataclass(kw_only=True) +class BadGatewayException(ServiceError, _SerdeShape): + """ + There was an issue with a dependency due to a server issue. Retry your + request. + """ + + resource_name: str | None = ... + """ + The name of the dependency that caused the issue, such as Amazon + Bedrock, Lambda, or STS. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BedrockFoundationModelConfiguration(_SerdeShape): + """Configuration for a Bedrock foundation model.""" + + model_configuration: BedrockFoundationModelModelConfiguration + """The model configuration containing the model ARN.""" + +@dataclass(kw_only=True) +class BedrockFoundationModelModelConfiguration(_SerdeShape): + """Model configuration for a Bedrock foundation model.""" + + model_arn: str + """The ARN of the Bedrock foundation model.""" + +@dataclass(kw_only=True) +class BedrockModelConfigurations(_SerdeShape): + """Settings for a model called with InvokeAgent.""" + + performance_config: PerformanceConfiguration | None = ... + """The performance configuration for the model.""" + +@dataclass(kw_only=True) +class BedrockRerankingConfiguration(_SerdeShape): + """Contains configurations for an Amazon Bedrock reranker model.""" + + number_of_results: int | None = ... + """The number of results to return after reranking.""" + model_configuration: BedrockRerankingModelConfiguration + """Contains configurations for a reranker model.""" + +@dataclass(kw_only=True) +class BedrockRerankingModelConfiguration(_SerdeShape): + """Contains configurations for a reranker model.""" + + model_arn: str + """The ARN of the reranker model.""" + additional_model_request_fields: dict[str, Document] | None = ... + """ + A JSON object whose keys are request fields for the model and whose + values are values for those fields. + """ + +@dataclass +class BedrockSessionContentBlockText(_SerdeShape): + """The text in the invocation step.""" + + value: str + +@dataclass +class BedrockSessionContentBlockImage(_SerdeShape): + """The image in the invocation step.""" + + value: ImageBlock + +@dataclass +class BedrockSessionContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +BedrockSessionContentBlock = Union[ + BedrockSessionContentBlockText + | BedrockSessionContentBlockImage + | BedrockSessionContentBlockUnknown +] +""" +A block of content that you pass to, or receive from, a Amazon Bedrock +session in an invocation step. You pass the content to a session in the +`payLoad` of the +[PutInvocationStep](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_PutInvocationStep.html) +API operation. You retrieve the content with the +[GetInvocationStep](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetInvocationStep.html) +API operation. + +For more information about sessions, see [Store and retrieve +conversation history and context with Amazon Bedrock +sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). +""" + +class _BedrockSessionContentBlockDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> BedrockSessionContentBlock: ... + +@dataclass(kw_only=True) +class ByteContentDoc(_SerdeShape): + """ + This property contains the document to chat with, along with its + attributes. + """ + + identifier: str + """The file name of the document contained in the wrapper object.""" + content_type: str + """The MIME type of the document contained in the wrapper object.""" + data: bytes + """The byte value of the file to upload, encoded as a Base-64 string.""" + +@dataclass(kw_only=True) +class ByteContentFile(_SerdeShape): + """The property contains the file to chat with, along with its attributes.""" + + media_type: str + """The MIME type of data contained in the file used for chat.""" + data: bytes + """ + The raw bytes of the file to attach. The maximum size of all files that + is attached is 10MB. You can attach a maximum of 5 files. + """ + +@dataclass +class CallerAgentAliasArn(_SerdeShape): + """The caller's agent alias ARN.""" + + value: str + +@dataclass +class CallerUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Caller = Union[CallerAgentAliasArn | CallerUnknown] +"""Details about a caller.""" + +class _CallerDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Caller: ... + +@dataclass(kw_only=True) +class CheckIngestedDocumentAclInput(_SerdeShape): + """Dataclass for CheckIngestedDocumentAclInput structure.""" + + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base that contains the document.""" + data_source_id: str | None = ... + """The unique identifier of the data source that contains the document.""" + document_id: str | None = ... + """The unique identifier of the document to check access for.""" + user_context: UserContext | None = ... + """ + The context object containing identity information for access control + filtering, including user ID and optional group memberships used to + evaluate the document access control list (ACL). + """ + +@dataclass(kw_only=True) +class CheckIngestedDocumentAclOutput(_SerdeShape): + """Dataclass for CheckIngestedDocumentAclOutput structure.""" + + has_access: bool + """ + Specifies whether the user has access to the document based on the + ingested access control list (ACL). Returns `true` if the user is + allowed access, and `false` otherwise. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Citation(_SerdeShape): + """ + An object containing a segment of the generated response that is based + on a source in the knowledge base, alongside information about the + source. + + This data type is used in the following API operations: + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + -- in the `citations` field + + - [RetrieveAndGenerate + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) + -- in the `citations` field + """ + + generated_response_part: GeneratedResponsePart | None = ... + """Contains the generated response and metadata""" + retrieved_references: list[RetrievedReference] | None = ... + """Contains metadata about the sources cited for the generated response.""" + +@dataclass(kw_only=True) +class CitationEvent(_SerdeShape): + """A citation event.""" + + citation: Citation | None = ... + """The citation.""" + generated_response_part: GeneratedResponsePart | None = ... + """The generated response to the citation event.""" + retrieved_references: list[RetrievedReference] | None = ... + """The retrieved references of the citation event.""" + +@dataclass(kw_only=True) +class CodeInterpreterInvocationInput(_SerdeShape): + """Contains information about the code interpreter being invoked.""" + + code: str | None = ... + """The code for the code interpreter to use.""" + files: list[str] | None = ... + """Files that are uploaded for code interpreter to use.""" + +@dataclass(kw_only=True) +class CodeInterpreterInvocationOutput(_SerdeShape): + """ + Contains the JSON-formatted string returned by the API invoked by the + code interpreter. + """ + + execution_output: str | None = ... + """Contains the successful output returned from code execution""" + execution_error: str | None = ... + """Contains the error returned from code execution.""" + files: list[str] | None = ... + """Contains output files, if generated by code execution.""" + execution_timeout: bool | None = ... + """Indicates if the execution of the code timed out.""" + metadata: Metadata | None = ... + """Contains information about the output from the code interpreter.""" + +@dataclass(kw_only=True) +class Collaborator(_SerdeShape): + """List of inline collaborators.""" + + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the + inline collaborator. + """ + foundation_model: str + """The foundation model used by the inline collaborator agent.""" + instruction: str + """ + Instruction that tell the inline collaborator agent what it should do + and how it should interact with users. + """ + idle_session_ttl_in_seconds: int | None = ... + """ + The number of seconds for which the Amazon Bedrock keeps information + about the user's conversation with the inline collaborator agent. + + A user interaction remains active for the amount of time specified. If + no conversation occurs during this time, the session expires and Amazon + Bedrock deletes any data provided before the timeout. + """ + action_groups: list[AgentActionGroup] | None = ... + """ + List of action groups with each action group defining tasks the inline + collaborator agent needs to carry out. + """ + knowledge_bases: list[KnowledgeBase] | None = ... + """Knowledge base associated with the inline collaborator agent.""" + guardrail_configuration: GuardrailConfigurationWithArn | None = ... + """Details of the guardwrail associated with the inline collaborator.""" + prompt_override_configuration: PromptOverrideConfiguration | None = ... + """ + Contains configurations to override prompt templates in different parts + of an inline collaborator sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + agent_collaboration: str | None = ... + """ + Defines how the inline supervisor agent handles information across + multiple collaborator agents to coordinate a final response. + """ + collaborator_configurations: list[CollaboratorConfiguration] | None = ... + """Settings of the collaborator agent.""" + agent_name: str | None = ... + """ + Name of the inline collaborator agent which must be the same name as + specified for `collaboratorName`. + """ + +@dataclass(kw_only=True) +class CollaboratorConfiguration(_SerdeShape): + """Settings of an inline collaborator agent.""" + + collaborator_name: str + """ + Name of the inline collaborator agent which must be the same name as + specified for `agentName`. + """ + collaborator_instruction: str + """ + Instructions that tell the inline collaborator agent what it should do + and how it should interact with users. + """ + agent_alias_arn: str | None = ... + """The Amazon Resource Name (ARN) of the inline collaborator agent.""" + relay_conversation_history: str | None = ... + """A relay conversation history for the inline collaborator agent.""" + +@dataclass(kw_only=True) +class ConditionResultEvent(_SerdeShape): + """ + Contains information about a condition evaluation result during a flow + execution. This event is generated when a condition node in the flow + evaluates its conditions. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + node_name: str + """The name of the condition node that evaluated the conditions.""" + timestamp: datetime + """The timestamp when the condition evaluation occurred.""" + satisfied_conditions: list[SatisfiedCondition] + """A list of conditions that were satisfied during the evaluation.""" + +class ConfirmationState(UnknownEnumMixin, StrEnum): + CONFIRM = "CONFIRM" + DENY = "DENY" + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """ + There was a conflict performing an operation. Resolve the conflict and + retry your request. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ContentBlockText(_SerdeShape): + """The block's text.""" + + value: str + +@dataclass +class ContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ContentBlock = Union[ContentBlockText | ContentBlockUnknown] +"""A content block.""" + +class _ContentBlockDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ContentBlock: ... + +@dataclass(kw_only=True) +class ContentBody(_SerdeShape): + """ + Contains the body of the API response. + + This data type is used in the following API operations: + + - In the `returnControlInvocationResults` field of the [InvokeAgent + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) + """ + + body: str | None = ... + """The body of the API response.""" + images: list[ImageInput] | None = ... + """ + Lists details, including format and source, for the image in the + response from the function call. You can specify only one image and the + function in the `returnControlInvocationResults` must be a computer use + action. For more information, see [Configure an Amazon Bedrock Agent to + complete tasks with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). + """ + +@dataclass(kw_only=True) +class ConversationHistory(_SerdeShape): + """A conversation history.""" + + messages: list[Message] | None = ... + """The conversation's messages.""" + +class ConversationRole(UnknownEnumMixin, StrEnum): + USER = "user" + ASSISTANT = "assistant" + +@dataclass(kw_only=True) +class CreateInvocationInput(_SerdeShape): + """Dataclass for CreateInvocationInput structure.""" + + invocation_id: str | None = ... + """A unique identifier for the invocation in UUID format.""" + description: str | None = ... + """ + A description for the interactions in the invocation. For example, + \"User asking about weather in Seattle\". + """ + session_identifier: str | None = ... + """ + The unique identifier for the associated session for the invocation. You + can specify either the session's `sessionId` or its Amazon Resource + Name (ARN). + """ + +@dataclass(kw_only=True) +class CreateInvocationOutput(_SerdeShape): + """Dataclass for CreateInvocationOutput structure.""" + + session_id: str + """The unique identifier for the session associated with the invocation.""" + invocation_id: str + """The unique identifier for the invocation.""" + created_at: datetime + """The timestamp for when the invocation was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSessionInput(_SerdeShape): + """Dataclass for CreateSessionInput structure.""" + + session_metadata: dict[str, str] | None = ... + """ + A map of key-value pairs containing attributes to be persisted across + the session. For example, the user's ID, their language preference, and + the type of device they are using. + """ + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key to use to encrypt the + session data. The user or role creating the session must have permission + to use the key. For more information, see [Amazon Bedrock session + encryption](https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html). + """ + tags: dict[str, str] | None = ... + """ + Specify the key-value pairs for the tags that you want to attach to the + session. + """ + +@dataclass(kw_only=True) +class CreateSessionOutput(_SerdeShape): + """Dataclass for CreateSessionOutput structure.""" + + session_id: str + """The unique identifier for the session.""" + session_arn: str + """The Amazon Resource Name (ARN) of the created session.""" + session_status: str + """The current status of the session.""" + created_at: datetime + """The timestamp for when the session was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CreationMode(UnknownEnumMixin, StrEnum): + DEFAULT = "DEFAULT" + OVERRIDDEN = "OVERRIDDEN" + +class CustomControlMethod(UnknownEnumMixin, StrEnum): + RETURN_CONTROL = "RETURN_CONTROL" + +@dataclass(kw_only=True) +class CustomOrchestration(_SerdeShape): + """Contains details of the custom orchestration configured for the agent.""" + + executor: OrchestrationExecutor | None = ... + """ + The structure of the executor invoking the actions in custom + orchestration. + """ + +@dataclass(kw_only=True) +class CustomOrchestrationTrace(_SerdeShape): + """The trace behavior for the custom orchestration.""" + + trace_id: str | None = ... + """The unique identifier of the trace.""" + event: CustomOrchestrationTraceEvent | None = ... + """The event details used with the custom orchestration.""" + +@dataclass(kw_only=True) +class CustomOrchestrationTraceEvent(_SerdeShape): + """ + The event in the custom orchestration sequence. Events are the responses + which the custom orchestration Lambda function sends as response to the + agent. + """ + + text: str | None = ... + """The text that prompted the event at this step.""" + +@dataclass(kw_only=True) +class DeleteAgentMemoryInput(_SerdeShape): + """Dataclass for DeleteAgentMemoryInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent to which the alias belongs.""" + agent_alias_id: str | None = ... + """The unique identifier of an alias of an agent.""" + memory_id: str | None = ... + """The unique identifier of the memory.""" + session_id: str | None = ... + """The unique session identifier of the memory.""" + +@dataclass(kw_only=True) +class DeleteAgentMemoryOutput(_SerdeShape): + """Dataclass for DeleteAgentMemoryOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSessionInput(_SerdeShape): + """Dataclass for DeleteSessionInput structure.""" + + session_identifier: str | None = ... + """ + The unique identifier for the session to be deleted. You can specify + either the session's `sessionId` or its Amazon Resource Name (ARN). + """ + +@dataclass(kw_only=True) +class DeleteSessionOutput(_SerdeShape): + """Dataclass for DeleteSessionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DependencyFailedException(ServiceError, _SerdeShape): + """ + There was an issue with a dependency. Check the resource configurations + and retry the request. + """ + + resource_name: str | None = ... + """ + The name of the dependency that caused the issue, such as Amazon + Bedrock, Lambda, or STS. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DocumentAcl(_SerdeShape): + """ + The access control list for a document, containing allow and deny + membership lists. Each list specifies conditions that determine which + users and groups are granted or denied access. + """ + + allow_list: DocumentAclMembership | None = ... + """The list of principals allowed access to the document.""" + deny_list: DocumentAclMembership | None = ... + """The list of principals denied access to the document.""" + +@dataclass(kw_only=True) +class DocumentAclCondition(_SerdeShape): + """ + A condition within a document access control list (ACL) membership, + specifying users and groups that are evaluated together. + """ + + condition_operator: str | None = ... + """ + The logical operator for combining users and groups within this + condition. Valid values: `AND` -- Both a user match and a group match + are required. `OR` -- Either a user match or a group match is + sufficient. + """ + users: list[DocumentAclUser] | None = ... + """The list of user entries in this condition.""" + groups: list[DocumentAclGroup] | None = ... + """The list of group entries in this condition.""" + +@dataclass(kw_only=True) +class DocumentAclGroup(_SerdeShape): + """A group entry within a document access control list (ACL) condition.""" + + id: str + """The identifier of the group.""" + type: str + """The membership type indicating the scope of the group entry.""" + +class DocumentAclMemberRelation(UnknownEnumMixin, StrEnum): + """ + The logical relation for combining access control list (ACL) membership + conditions. + """ + + AND_ = "AND" + OR_ = "OR" + +@dataclass(kw_only=True) +class DocumentAclMembership(_SerdeShape): + """ + The membership entry for a document access control list (ACL), + containing conditions and their logical relation. + """ + + member_relation: str | None = ... + """ + The logical relation between conditions. Valid values: `AND` -- All + conditions must match. `OR` -- At least one condition must match. + """ + conditions: list[DocumentAclCondition] | None = ... + """The list of conditions that determine membership.""" + +class DocumentAclMembershipType(UnknownEnumMixin, StrEnum): + """ + The scope type for a document access control list (ACL) membership + condition. Valid values: `KNOWLEDGE_BASE` -- The entry applies at the + knowledge base level. `DATA_SOURCE` -- The entry applies at the data + source level. + """ + + KNOWLEDGE_BASE = "KNOWLEDGE_BASE" + DATA_SOURCE = "DATA_SOURCE" + +@dataclass(kw_only=True) +class DocumentAclUser(_SerdeShape): + """A user entry within a document access control list (ACL) condition.""" + + id: str + """The identifier of the user.""" + type: str + """The membership type indicating the scope of the user entry.""" + +class DocumentOutputFormat(UnknownEnumMixin, StrEnum): + RAW = "RAW" + EXTRACTED = "EXTRACTED" + +@dataclass(kw_only=True) +class EndSessionInput(_SerdeShape): + """Dataclass for EndSessionInput structure.""" + + session_identifier: str | None = ... + """ + The unique identifier for the session to end. You can specify either the + session's `sessionId` or its Amazon Resource Name (ARN). + """ + +@dataclass(kw_only=True) +class EndSessionOutput(_SerdeShape): + """Dataclass for EndSessionOutput structure.""" + + session_id: str + """The unique identifier of the session you ended.""" + session_arn: str + """The Amazon Resource Name (ARN) of the session you ended.""" + session_status: str + """The current status of the session you ended.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ExecutionType(UnknownEnumMixin, StrEnum): + LAMBDA_ = "LAMBDA" + RETURN_CONTROL = "RETURN_CONTROL" + +@dataclass(kw_only=True) +class ExternalSource(_SerdeShape): + """ + The unique external source of the content contained in the wrapper + object. + """ + + source_type: str + """The source type of the external source wrapper object.""" + s3_location: S3ObjectDoc | None = ... + """The S3 location of the external source wrapper object.""" + byte_content: ByteContentDoc | None = ... + """ + The identifier, contentType, and data of the external source wrapper + object. + """ + +@dataclass(kw_only=True) +class ExternalSourcesGenerationConfiguration(_SerdeShape): + """ + Contains the generation configuration of the external source wrapper + object. + """ + + prompt_template: PromptTemplate | None = ... + """ + Contain the textPromptTemplate string for the external source wrapper + object. + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """The configuration details for the guardrail.""" + inference_config: InferenceConfig | None = ... + """ + Configuration settings for inference when using RetrieveAndGenerate to + generate responses while using an external source. + """ + additional_model_request_fields: dict[str, Document] | None = ... + """ + Additional model parameters and their corresponding values not included + in the textInferenceConfig structure for an external source. Takes in + custom model parameters specific to the language model being used. + """ + performance_config: PerformanceConfiguration | None = ... + """The latency configuration for the model.""" + +@dataclass(kw_only=True) +class ExternalSourcesRetrieveAndGenerateConfiguration(_SerdeShape): + """ + The configurations of the external source wrapper object in the + `retrieveAndGenerate` function. + """ + + model_arn: str + """ + The model Amazon Resource Name (ARN) for the external source wrapper + object in the `retrieveAndGenerate` function. + """ + sources: list[ExternalSource] + """ + The document for the external source wrapper object in the + `retrieveAndGenerate` function. + """ + generation_configuration: ExternalSourcesGenerationConfiguration | None = ... + """ + The prompt used with the external source wrapper object with the + `retrieveAndGenerate` function. + """ + +class ExternalSourceType(UnknownEnumMixin, StrEnum): + S3 = "S3" + BYTE_CONTENT = "BYTE_CONTENT" + +@dataclass(kw_only=True) +class FailureTrace(_SerdeShape): + """Contains information about the failure of the interaction.""" + + trace_id: str | None = ... + """The unique identifier of the trace.""" + failure_reason: str | None = ... + """The reason the interaction failed.""" + failure_code: int | None = ... + """The failure code for the trace.""" + metadata: Metadata | None = ... + """Information about the failure that occurred.""" + +@dataclass(kw_only=True) +class FieldForReranking(_SerdeShape): + """ + Contains information for a metadata field to include in or exclude from + consideration when reranking. + """ + + field_name: str + """ + The name of a metadata field to include in or exclude from consideration + when reranking. + """ + +@dataclass(kw_only=True) +class FilePart(_SerdeShape): + """ + Contains intermediate response for code interpreter if any files have + been generated. + """ + + files: list[OutputFile] | None = ... + """Files containing intermediate response for the user.""" + +@dataclass(kw_only=True) +class FileSource(_SerdeShape): + """The source file of the content contained in the wrapper object.""" + + source_type: str + """The source type of the files to attach.""" + s3_location: S3ObjectFile | None = ... + """The s3 location of the files to attach.""" + byte_content: ByteContentFile | None = ... + """The data and the text of the attached files.""" + +class FileSourceType(UnknownEnumMixin, StrEnum): + S3 = "S3" + BYTE_CONTENT = "BYTE_CONTENT" + +class FileUseCase(UnknownEnumMixin, StrEnum): + CODE_INTERPRETER = "CODE_INTERPRETER" + CHAT = "CHAT" + +@dataclass(kw_only=True) +class FilterAttribute(_SerdeShape): + """ + Specifies the name that the metadata attribute must match and the value + to which to compare the value of the metadata attribute. For more + information, see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + """ + + key: str + """The name that the metadata attribute must match.""" + value: Document + """The value to which to compare the value of the metadata attribute.""" + +@dataclass(kw_only=True) +class FinalResponse(_SerdeShape): + """Contains details about the response to the user.""" + + text: str | None = ... + """The text in the response to the user.""" + metadata: Metadata | None = ... + """Contains information about the invoke agent operation.""" + +@dataclass(kw_only=True) +class FlowCompletionEvent(_SerdeShape): + """Contains information about why a flow completed.""" + + completion_reason: str + """The reason that the flow completed.""" + +class FlowCompletionReason(UnknownEnumMixin, StrEnum): + SUCCESS = "SUCCESS" + INPUT_REQUIRED = "INPUT_REQUIRED" + +class FlowControlNodeType(UnknownEnumMixin, StrEnum): + ITERATOR = "Iterator" + LOOP = "Loop" + +class FlowErrorCode(UnknownEnumMixin, StrEnum): + VALIDATION = "VALIDATION" + INTERNAL_SERVER = "INTERNAL_SERVER" + NODE_EXECUTION_FAILED = "NODE_EXECUTION_FAILED" + +@dataclass +class FlowExecutionContentDocument(_SerdeShape): + """ + The document content of the field, which can contain text or structured + data. + """ + + value: Document + +@dataclass +class FlowExecutionContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowExecutionContent = Union[FlowExecutionContentDocument | FlowExecutionContentUnknown] +""" +Contains the content of an flow execution input or output field. + +Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. +""" + +class _FlowExecutionContentDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FlowExecutionContent: ... + +@dataclass(kw_only=True) +class FlowExecutionError(_SerdeShape): + """ + Contains information about an error that occurred during an flow + execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + node_name: str | None = ... + """ + The name of the node in the flow where the error occurred (if + applicable). + """ + error: str | None = ... + """The error code for the type of error that occurred.""" + message: str | None = ... + """A descriptive message that provides details about the error.""" + +class FlowExecutionErrorType(UnknownEnumMixin, StrEnum): + TIMED_OUT = "ExecutionTimedOut" + +@dataclass +class FlowExecutionEventFlowInputEvent(_SerdeShape): + """ + Contains information about the inputs provided to the flow at the start + of execution. + """ + + value: FlowExecutionInputEvent + +@dataclass +class FlowExecutionEventFlowOutputEvent(_SerdeShape): + """ + Contains information about the outputs produced by the flow at the end + of execution. + """ + + value: FlowExecutionOutputEvent + +@dataclass +class FlowExecutionEventNodeInputEvent(_SerdeShape): + """ + Contains information about the inputs provided to a specific node during + execution. + """ + + value: NodeInputEvent + +@dataclass +class FlowExecutionEventNodeOutputEvent(_SerdeShape): + """ + Contains information about the outputs produced by a specific node + during execution. + """ + + value: NodeOutputEvent + +@dataclass +class FlowExecutionEventConditionResultEvent(_SerdeShape): + """ + Contains information about a condition evaluation result during the flow + execution. This event is generated when a condition node in the flow + evaluates its conditions. + """ + + value: ConditionResultEvent + +@dataclass +class FlowExecutionEventNodeFailureEvent(_SerdeShape): + """ + Contains information about a failure that occurred at a specific node + during execution. + """ + + value: NodeFailureEvent + +@dataclass +class FlowExecutionEventFlowFailureEvent(_SerdeShape): + """ + Contains information about a failure that occurred at the flow level + during execution. + """ + + value: FlowFailureEvent + +@dataclass +class FlowExecutionEventNodeActionEvent(_SerdeShape): + """ + Contains information about an action (operation) called by a node during + execution. + """ + + value: NodeActionEvent + +@dataclass +class FlowExecutionEventNodeDependencyEvent(_SerdeShape): + """ + Contains information about an internal trace of a specific node during + execution. + """ + + value: NodeDependencyEvent + +@dataclass +class FlowExecutionEventUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowExecutionEvent = Union[ + FlowExecutionEventFlowInputEvent + | FlowExecutionEventFlowOutputEvent + | FlowExecutionEventNodeInputEvent + | FlowExecutionEventNodeOutputEvent + | FlowExecutionEventConditionResultEvent + | FlowExecutionEventNodeFailureEvent + | FlowExecutionEventFlowFailureEvent + | FlowExecutionEventNodeActionEvent + | FlowExecutionEventNodeDependencyEvent + | FlowExecutionEventUnknown +] +""" +Represents an event that occurred during an flow execution. This is a +union type that can contain one of several event types, such as node +input and output events; flow input and output events; condition node +result events, or failure events. + +Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. +""" + +class _FlowExecutionEventDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FlowExecutionEvent: ... + +class FlowExecutionEventType(UnknownEnumMixin, StrEnum): + NODE = "Node" + FLOW = "Flow" + +@dataclass(kw_only=True) +class FlowExecutionInputEvent(_SerdeShape): + """ + Contains information about the inputs provided to the flow at the start + of a flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + node_name: str + """The name of the node that receives the inputs.""" + timestamp: datetime + """The timestamp when the inputs are provided.""" + fields: list[FlowInputField] + """A list of input fields provided to the flow.""" + +@dataclass(kw_only=True) +class FlowExecutionOutputEvent(_SerdeShape): + """ + Contains information about the outputs produced by the flow during a + flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + node_name: str + """The name of the node that produces the outputs.""" + timestamp: datetime + """The timestamp when the outputs are produced.""" + fields: list[FlowOutputField] + """A list of output fields produced by the flow.""" + +class FlowExecutionStatus(UnknownEnumMixin, StrEnum): + RUNNING = "Running" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + TIMED_OUT = "TimedOut" + ABORTED = "Aborted" + +@dataclass(kw_only=True) +class FlowExecutionSummary(_SerdeShape): + """ + Contains summary information about a flow execution, including its + status, timestamps, and identifiers. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + execution_arn: str + """ + The Amazon Resource Name (ARN) that uniquely identifies the flow + execution. + """ + flow_alias_identifier: str + """The unique identifier of the flow alias used for the execution.""" + flow_identifier: str + """The unique identifier of the flow.""" + flow_version: str + """The version of the flow used for the execution.""" + status: str + """ + The current status of the flow execution. + + Flow executions time out after 24 hours. + """ + created_at: datetime + """The timestamp when the flow execution was created.""" + ended_at: datetime | None = ... + """ + The timestamp when the flow execution ended. This field is only + populated when the execution has completed, failed, timed out, or been + aborted. + """ + +@dataclass(kw_only=True) +class FlowFailureEvent(_SerdeShape): + """ + Contains information about a failure that occurred at the flow level + during a flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + timestamp: datetime + """The timestamp when the failure occurred.""" + error_code: str + """The error code that identifies the type of failure that occurred.""" + error_message: str + """A descriptive message that provides details about the failure.""" + +@dataclass(kw_only=True) +class FlowInput(_SerdeShape): + """ + Contains information about an input into the prompt flow and where to + send it. + """ + + node_name: str + """The name of the flow input node that begins the prompt flow.""" + node_output_name: str | None = ... + """ + The name of the output from the flow input node that begins the prompt + flow. + """ + content: FlowInputContent + """Contains information about an input into the prompt flow.""" + node_input_name: str | None = ... + """The name of the input from the flow input node.""" + +@dataclass +class FlowInputContentDocument(_SerdeShape): + """The input to send to the prompt flow input node.""" + + value: Document + +@dataclass +class FlowInputContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowInputContent = Union[FlowInputContentDocument | FlowInputContentUnknown] +"""Contains information about an input into the flow.""" + +class _FlowInputContentDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FlowInputContent: ... + +@dataclass(kw_only=True) +class FlowInputField(_SerdeShape): + """ + Represents an input field provided to a flow during a flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + name: str + """The name of the input field as defined in the flow's input schema.""" + content: FlowExecutionContent + """ + The content of the input field, which can contain text or structured + data. + """ + +@dataclass +class FlowMultiTurnInputContentDocument(_SerdeShape): + """The requested additional input to send back to the multi-turn flow node.""" + + value: Document + +@dataclass +class FlowMultiTurnInputContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowMultiTurnInputContent = Union[ + FlowMultiTurnInputContentDocument | FlowMultiTurnInputContentUnknown +] +""" +The content structure containing input information for multi-turn flow +interactions. +""" + +class _FlowMultiTurnInputContentDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> FlowMultiTurnInputContent: ... + +@dataclass(kw_only=True) +class FlowMultiTurnInputRequestEvent(_SerdeShape): + """ + Response object from the flow multi-turn node requesting additional + information. + """ + + node_name: str + """The name of the node in the flow that is requesting the input.""" + node_type: str + """The type of the node in the flow that is requesting the input.""" + content: FlowMultiTurnInputContent + """ + The content payload containing the input request details for the + multi-turn interaction. + """ + +class FlowNodeInputCategory(UnknownEnumMixin, StrEnum): + LOOP_CONDITION = "LoopCondition" + RETURN_VALUE_TO_LOOP_START = "ReturnValueToLoopStart" + EXIT_LOOP = "ExitLoop" + +class FlowNodeIODataType(UnknownEnumMixin, StrEnum): + STRING = "String" + NUMBER = "Number" + BOOLEAN = "Boolean" + OBJECT = "Object" + ARRAY = "Array" + +@dataclass +class FlowOutputContentDocument(_SerdeShape): + """The content in the output.""" + + value: Document + +@dataclass +class FlowOutputContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowOutputContent = Union[FlowOutputContentDocument | FlowOutputContentUnknown] +""" +Contains information about the content in an output from prompt flow +invocation. +""" + +class _FlowOutputContentDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FlowOutputContent: ... + +@dataclass(kw_only=True) +class FlowOutputEvent(_SerdeShape): + """Contains information about an output from prompt flow invoction.""" + + node_name: str + """The name of the flow output node that the output is from.""" + node_type: str + """The type of the node that the output is from.""" + content: FlowOutputContent + """The content in the output.""" + +@dataclass(kw_only=True) +class FlowOutputField(_SerdeShape): + """ + Represents an output field produced by a flow during a flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + name: str + """The name of the output field as defined in the flow's output schema.""" + content: FlowExecutionContent + """ + The content of the output field, which can contain text or structured + data. + """ + +@dataclass +class FlowResponseStreamFlowOutputEvent(_SerdeShape): + """Contains information about an output from flow invocation.""" + + value: FlowOutputEvent + +@dataclass +class FlowResponseStreamFlowCompletionEvent(_SerdeShape): + """Contains information about why the flow completed.""" + + value: FlowCompletionEvent + +@dataclass +class FlowResponseStreamFlowTraceEvent(_SerdeShape): + """ + Contains information about a trace, which tracks an input or output for + a node in the flow. + """ + + value: FlowTraceEvent + +@dataclass +class FlowResponseStreamInternalServerException(_SerdeShape): + """An internal server error occurred. Retry your request.""" + + value: InternalServerException + +@dataclass +class FlowResponseStreamValidationException(_SerdeShape): + """ + Input validation failed. Check your request parameters and retry the + request. + """ + + value: ValidationException + +@dataclass +class FlowResponseStreamResourceNotFoundException(_SerdeShape): + """ + The specified resource Amazon Resource Name (ARN) was not found. Check + the Amazon Resource Name (ARN) and try your request again. + """ + + value: ResourceNotFoundException + +@dataclass +class FlowResponseStreamServiceQuotaExceededException(_SerdeShape): + """ + The number of requests exceeds the service quota. Resubmit your request + later. + """ + + value: ServiceQuotaExceededException + +@dataclass +class FlowResponseStreamThrottlingException(_SerdeShape): + """The number of requests exceeds the limit. Resubmit your request later.""" + + value: ThrottlingException + +@dataclass +class FlowResponseStreamAccessDeniedException(_SerdeShape): + """ + The request is denied because of missing access permissions. Check your + permissions and retry your request. + """ + + value: AccessDeniedException + +@dataclass +class FlowResponseStreamConflictException(_SerdeShape): + """ + There was a conflict performing an operation. Resolve the conflict and + retry your request. + """ + + value: ConflictException + +@dataclass +class FlowResponseStreamDependencyFailedException(_SerdeShape): + """ + There was an issue with a dependency. Check the resource configurations + and retry the request. + """ + + value: DependencyFailedException + +@dataclass +class FlowResponseStreamBadGatewayException(_SerdeShape): + """ + There was an issue with a dependency due to a server issue. Retry your + request. + """ + + value: BadGatewayException + +@dataclass +class FlowResponseStreamFlowMultiTurnInputRequestEvent(_SerdeShape): + """ + The event stream containing the multi-turn input request information + from the flow. + """ + + value: FlowMultiTurnInputRequestEvent + +@dataclass +class FlowResponseStreamUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowResponseStream = Union[ + FlowResponseStreamFlowOutputEvent + | FlowResponseStreamFlowCompletionEvent + | FlowResponseStreamFlowTraceEvent + | FlowResponseStreamInternalServerException + | FlowResponseStreamValidationException + | FlowResponseStreamResourceNotFoundException + | FlowResponseStreamServiceQuotaExceededException + | FlowResponseStreamThrottlingException + | FlowResponseStreamAccessDeniedException + | FlowResponseStreamConflictException + | FlowResponseStreamDependencyFailedException + | FlowResponseStreamBadGatewayException + | FlowResponseStreamFlowMultiTurnInputRequestEvent + | FlowResponseStreamUnknown +] +"""The output of the flow.""" + +class _FlowResponseStreamDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FlowResponseStream: ... + +@dataclass +class FlowTraceNodeInputTrace(_SerdeShape): + """Contains information about the input into a node.""" + + value: FlowTraceNodeInputEvent + +@dataclass +class FlowTraceNodeOutputTrace(_SerdeShape): + """Contains information about the output from a node.""" + + value: FlowTraceNodeOutputEvent + +@dataclass +class FlowTraceConditionNodeResultTrace(_SerdeShape): + """Contains information about an output from a condition node.""" + + value: FlowTraceConditionNodeResultEvent + +@dataclass +class FlowTraceNodeActionTrace(_SerdeShape): + """Contains information about an action (operation) called by a node.""" + + value: FlowTraceNodeActionEvent + +@dataclass +class FlowTraceNodeDependencyTrace(_SerdeShape): + """Contains information about an internal trace of a node.""" + + value: FlowTraceDependencyEvent + +@dataclass +class FlowTraceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowTrace = Union[ + FlowTraceNodeInputTrace + | FlowTraceNodeOutputTrace + | FlowTraceConditionNodeResultTrace + | FlowTraceNodeActionTrace + | FlowTraceNodeDependencyTrace + | FlowTraceUnknown +] +""" +Contains information about an input or output for a node in the flow. +For more information, see [Track each step in your prompt flow by +viewing its trace in Amazon +Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). +""" + +class _FlowTraceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FlowTrace: ... + +@dataclass(kw_only=True) +class FlowTraceCondition(_SerdeShape): + """ + Contains information about a condition that was satisfied. For more + information, see [Track each step in your prompt flow by viewing its + trace in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). + """ + + condition_name: str + """The name of the condition.""" + +@dataclass(kw_only=True) +class FlowTraceConditionNodeResultEvent(_SerdeShape): + """ + Contains information about an output from a condition node. For more + information, see [Track each step in your prompt flow by viewing its + trace in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). + """ + + node_name: str + """The name of the condition node.""" + timestamp: datetime + """The date and time that the trace was returned.""" + satisfied_conditions: list[FlowTraceCondition] + """ + An array of objects containing information about the conditions that + were satisfied. + """ + +@dataclass(kw_only=True) +class FlowTraceDependencyEvent(_SerdeShape): + """Contains information about a dependency trace event in the flow.""" + + node_name: str + """The name of the node that generated the dependency trace.""" + timestamp: datetime + """The date and time that the dependency trace was generated.""" + trace_elements: TraceElements + """The trace elements containing detailed information about the dependency.""" + +@dataclass(kw_only=True) +class FlowTraceEvent(_SerdeShape): + """ + Contains information about a trace, which tracks an input or output for + a node in the flow. For more information, see [Track each step in your + prompt flow by viewing its trace in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). + """ + + trace: FlowTrace + """ + The trace object containing information about an input or output for a + node in the flow. + """ + +@dataclass(kw_only=True) +class FlowTraceNodeActionEvent(_SerdeShape): + """ + Contains information about an action (operation) called by a node in an + Amazon Bedrock flow. The service generates action events for calls made + by prompt nodes, agent nodes, and Amazon Web Services Lambda nodes. + """ + + node_name: str + """The name of the node that called the operation.""" + timestamp: datetime + """The date and time that the operation was called.""" + request_id: str + """The ID of the request that the node made to the operation.""" + service_name: str + """The name of the service that the node called.""" + operation_name: str + """The name of the operation that the node called.""" + operation_request: Document | None = ... + """The request payload sent to the downstream service.""" + operation_response: Document | None = ... + """The response payload received from the downstream service.""" + +@dataclass +class FlowTraceNodeInputContentDocument(_SerdeShape): + """The content of the node input.""" + + value: Document + +@dataclass +class FlowTraceNodeInputContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowTraceNodeInputContent = Union[ + FlowTraceNodeInputContentDocument | FlowTraceNodeInputContentUnknown +] +""" +Contains the content of the node input. For more information, see [Track +each step in your prompt flow by viewing its trace in Amazon +Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). +""" + +class _FlowTraceNodeInputContentDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> FlowTraceNodeInputContent: ... + +@dataclass(kw_only=True) +class FlowTraceNodeInputEvent(_SerdeShape): + """ + Contains information about the input into a node. For more information, + see [Track each step in your prompt flow by viewing its trace in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). + """ + + node_name: str + """The name of the node that received the input.""" + timestamp: datetime + """The date and time that the trace was returned.""" + fields: list[FlowTraceNodeInputField] + """ + An array of objects containing information about each field in the + input. + """ + +@dataclass(kw_only=True) +class FlowTraceNodeInputExecutionChainItem(_SerdeShape): + """ + Represents an item in the execution chain for flow trace node input + tracking. + """ + + node_name: str + """The name of the node in the execution chain.""" + index: int | None = ... + """The index position of this item in the execution chain.""" + type: str + """ + The type of execution chain item. Supported values are Iterator and + Loop. + """ + +@dataclass(kw_only=True) +class FlowTraceNodeInputField(_SerdeShape): + """ + Contains information about a field in the input into a node. For more + information, see [Track each step in your prompt flow by viewing its + trace in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). + """ + + node_input_name: str + """The name of the node input.""" + content: FlowTraceNodeInputContent + """The content of the node input.""" + source: FlowTraceNodeInputSource | None = ... + """The source node that provides input data to this field.""" + type: str | None = ... + """The data type of the input field for compatibility validation.""" + category: str | None = ... + """The category of the input field.""" + execution_chain: list[FlowTraceNodeInputExecutionChainItem] | None = ... + """The execution path through nested nodes like iterators and loops.""" + +@dataclass(kw_only=True) +class FlowTraceNodeInputSource(_SerdeShape): + """Represents the source of input data for a flow trace node field.""" + + node_name: str + """The name of the source node that provides the input data.""" + output_field_name: str + """The name of the output field from the source node.""" + expression: str + """The expression used to extract data from the source.""" + +@dataclass +class FlowTraceNodeOutputContentDocument(_SerdeShape): + """The content of the node output.""" + + value: Document + +@dataclass +class FlowTraceNodeOutputContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowTraceNodeOutputContent = Union[ + FlowTraceNodeOutputContentDocument | FlowTraceNodeOutputContentUnknown +] +""" +Contains the content of the node output. For more information, see +[Track each step in your prompt flow by viewing its trace in Amazon +Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). +""" + +class _FlowTraceNodeOutputContentDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> FlowTraceNodeOutputContent: ... + +@dataclass(kw_only=True) +class FlowTraceNodeOutputEvent(_SerdeShape): + """ + Contains information about the output from a node. For more information, + see [Track each step in your prompt flow by viewing its trace in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). + """ + + node_name: str + """The name of the node that yielded the output.""" + timestamp: datetime + """The date and time that the trace was returned.""" + fields: list[FlowTraceNodeOutputField] + """ + An array of objects containing information about each field in the + output. + """ + +@dataclass(kw_only=True) +class FlowTraceNodeOutputField(_SerdeShape): + """ + Contains information about a field in the output from a node. For more + information, see [Track each step in your prompt flow by viewing its + trace in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). + """ + + node_output_name: str + """The name of the node output.""" + content: FlowTraceNodeOutputContent + """The content of the node output.""" + next: list[FlowTraceNodeOutputNext] | None = ... + """The next node that receives output data from this field.""" + type: str | None = ... + """The data type of the output field for compatibility validation.""" + +@dataclass(kw_only=True) +class FlowTraceNodeOutputNext(_SerdeShape): + """Represents the next node that receives output data from a flow trace.""" + + node_name: str + """The name of the next node that receives the output data.""" + input_field_name: str + """The name of the input field in the next node that receives the data.""" + +@dataclass(kw_only=True) +class FoundationModelConfiguration(_SerdeShape): + """Configuration for the foundation model.""" + + type: str + """The type of foundation model configuration.""" + bedrock_foundation_model_configuration: ( + BedrockFoundationModelConfiguration | None + ) = ... + """The Bedrock foundation model configuration.""" + mantle_foundation_model_configuration: ( + MantleFoundationModelConfiguration | None + ) = ... + """The Mantle foundation model configuration.""" + +class FoundationModelConfigurationType(UnknownEnumMixin, StrEnum): + """The type of foundation model configuration.""" + + BEDROCK_FOUNDATION_MODEL = "BEDROCK_FOUNDATION_MODEL" + MANTLE_FOUNDATION_MODEL = "MANTLE_FOUNDATION_MODEL" + +class FoundationModelType(UnknownEnumMixin, StrEnum): + """The type of foundation model.""" + + CUSTOM = "CUSTOM" + MANAGED = "MANAGED" + +@dataclass(kw_only=True) +class FunctionDefinition(_SerdeShape): + """ + Defines parameters that the agent needs to invoke from the user to + complete the function. Corresponds to an action in an action group. + """ + + name: str + """A name for the function.""" + description: str | None = ... + """A description of the function and its purpose.""" + parameters: dict[str, ParameterDetail] | None = ... + """ + The parameters that the agent elicits from the user to fulfill the + function. + """ + require_confirmation: str | None = ... + """ + Contains information if user confirmation is required to invoke the + function. + """ + +@dataclass(kw_only=True) +class FunctionInvocationInput(_SerdeShape): + """ + Contains information about the function that the agent predicts should + be called. + + This data type is used in the following API operations: + + - In the `returnControl` field of the [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + """ + + action_group: str + """The action group that the function belongs to.""" + parameters: list[FunctionParameter] | None = ... + """A list of parameters of the function.""" + function: str | None = ... + """The name of the function.""" + action_invocation_type: str | None = ... + """Contains information about the function to invoke,""" + agent_id: str | None = ... + """The agent's ID.""" + collaborator_name: str | None = ... + """The collaborator's name.""" + +@dataclass(kw_only=True) +class FunctionParameter(_SerdeShape): + """ + Contains information about a parameter of the function. + + This data type is used in the following API operations: + + - In the `returnControl` field of the [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + """ + + name: str | None = ... + """The name of the parameter.""" + type: str | None = ... + """The data type of the parameter.""" + value: str | None = ... + """The value of the parameter.""" + +@dataclass(kw_only=True) +class FunctionResult(_SerdeShape): + """ + Contains information about the function that was called from the action + group and the response that was returned. + + This data type is used in the following API operations: + + - In the `returnControlInvocationResults` of the [InvokeAgent + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) + """ + + action_group: str + """The action group that the function belongs to.""" + confirmation_state: str | None = ... + """ + Contains the user confirmation information about the function that was + called. + """ + function: str | None = ... + """The name of the function that was called.""" + response_body: dict[str, ContentBody] | None = ... + """ + The response from the function call using the parameters. The response + might be returned directly or from the Lambda function. Specify `TEXT` + or `IMAGES`. The key of the object is the content type. You can only + specify one type. If you specify `IMAGES`, you can specify only one + image. You can specify images only when the function in the + `returnControlInvocationResults` is a computer use action. For more + information, see [Configure an Amazon Bedrock Agent to complete tasks + with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). + """ + response_state: str | None = ... + """ + Controls the final response state returned to end user when API/Function + execution failed. When this state is FAILURE, the request would fail + with dependency failure exception. When this state is REPROMPT, the + API/function response will be sent to model for re-prompt + """ + agent_id: str | None = ... + """The agent's ID.""" + +@dataclass +class FunctionSchemaFunctions(_SerdeShape): + """A list of functions that each define an action in the action group.""" + + value: list[FunctionDefinition] + +@dataclass +class FunctionSchemaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FunctionSchema = Union[FunctionSchemaFunctions | FunctionSchemaUnknown] +""" +Contains details about the function schema for the action group or the +JSON or YAML-formatted payload defining the schema. +""" + +class _FunctionSchemaDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FunctionSchema: ... + +@dataclass(kw_only=True) +class GeneratedQuery(_SerdeShape): + """ + Contains information about a query generated for a natural language + query. + """ + + type: str | None = ... + """The type of transformed query.""" + sql: str | None = ... + """An SQL query that corresponds to the natural language query.""" + +class GeneratedQueryType(UnknownEnumMixin, StrEnum): + REDSHIFT_SQL = "REDSHIFT_SQL" + +@dataclass(kw_only=True) +class GeneratedResponsePart(_SerdeShape): + """ + Contains metadata about a part of the generated response that is + accompanied by a citation. + + This data type is used in the following API operations: + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + -- in the `generatedResponsePart` field + + - [RetrieveAndGenerate + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) + -- in the `generatedResponsePart` field + """ + + text_response_part: TextResponsePart | None = ... + """ + Contains metadata about a textual part of the generated response that is + accompanied by a citation. + """ + +@dataclass(kw_only=True) +class GenerateQueryInput(_SerdeShape): + """Dataclass for GenerateQueryInput structure.""" + + query_generation_input: QueryGenerationInput | None = ... + """ + Specifies information about a natural language query to transform into + SQL. + """ + transformation_configuration: TransformationConfiguration | None = ... + """ + Specifies configurations for transforming the natural language query + into SQL. + """ + +@dataclass(kw_only=True) +class GenerateQueryOutput(_SerdeShape): + """Dataclass for GenerateQueryOutput structure.""" + + queries: list[GeneratedQuery] | None = ... + """ + A list of objects, each of which defines a generated query that can + correspond to the natural language queries. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GenerationConfiguration(_SerdeShape): + """ + Contains configurations for response generation based on the knowledge + base query results. + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + """ + + prompt_template: PromptTemplate | None = ... + """ + Contains the template for the prompt that's sent to the model for + response generation. Generation prompts must include the + `$search_results$` variable. For more information, see [Use placeholder + variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html) + in the user guide. + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """The configuration details for the guardrail.""" + inference_config: InferenceConfig | None = ... + """ + Configuration settings for inference when using RetrieveAndGenerate to + generate responses while using a knowledge base as a source. + """ + additional_model_request_fields: dict[str, Document] | None = ... + """ + Additional model parameters and corresponding values not included in the + textInferenceConfig structure for a knowledge base. This allows users to + provide custom model parameters specific to the language model being + used. + """ + performance_config: PerformanceConfiguration | None = ... + """The latency configuration for the model.""" + +@dataclass(kw_only=True) +class GetAgentMemoryInput(_SerdeShape): + """Dataclass for GetAgentMemoryInput structure.""" + + next_token: str | None = ... + """ + If the total number of results is greater than the maxItems value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + max_items: int | None = ... + """ + The maximum number of items to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + agent_id: str | None = ... + """The unique identifier of the agent to which the alias belongs.""" + agent_alias_id: str | None = ... + """The unique identifier of an alias of an agent.""" + memory_type: str | None = ... + """The type of memory.""" + memory_id: str | None = ... + """The unique identifier of the memory.""" + +@dataclass(kw_only=True) +class GetAgentMemoryOutput(_SerdeShape): + """Dataclass for GetAgentMemoryOutput structure.""" + + next_token: str | None = ... + """ + If the total number of results is greater than the maxItems value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + memory_contents: list[Memory] | None = ... + """Contains details of the sessions stored in the memory""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDocumentContentInput(_SerdeShape): + """Dataclass for GetDocumentContentInput structure.""" + + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base that contains the document.""" + data_source_id: str | None = ... + """The unique identifier of the data source that contains the document.""" + document_id: str | None = ... + """The unique identifier of the document to retrieve content for.""" + media_id: str | None = ... + """ + The unique identifier (in UUID format) of an image embedded in the + specified document. Set this parameter to the `_media_id` value in the + metadata of the corresponding `Retrieve` result. If you specify this + parameter, the response contains a pre-signed URL for the image instead + of the document, and you must omit `outputFormat` or set it to `RAW`. + """ + output_format: str | None = ... + """ + The output format for the content. You can specify one of the following + values: + + RAW + + : Returns the original document, or the selected image if you specify + `mediaId`. + + EXTRACTED + + : Returns parsed document text as JSON. + + If you omit this parameter, the default is `RAW`. You can't use + `EXTRACTED` with `mediaId`. + """ + user_context: UserContext | None = ... + """ + Contains information about the user making the request. This is used for + access control filtering to ensure that results only include documents + the user is authorized to access. + """ + +@dataclass(kw_only=True) +class GetDocumentContentOutput(_SerdeShape): + """Dataclass for GetDocumentContentOutput structure.""" + + mime_type: str + """ + The MIME type of the returned content. For `RAW` format, this is the + original file type (for example, `application/pdf`), or the image type + (for example, `image/png`) if you specify `mediaId`. For `EXTRACTED` + format, this is always `application/json`. + """ + presigned_url: str + """ + A pre-signed URL for downloading the document content, or the selected + image if you specify `mediaId`. The URL expires after 5 minutes. + """ + document_content_length: int | None = ... + """The size, in bytes, of the content available at the pre-signed URL.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetExecutionFlowSnapshotInput(_SerdeShape): + """Dataclass for GetExecutionFlowSnapshotInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + flow_alias_identifier: str | None = ... + """The unique identifier of the flow alias used for the flow execution.""" + execution_identifier: str | None = ... + """The unique identifier of the flow execution.""" + +@dataclass(kw_only=True) +class GetExecutionFlowSnapshotOutput(_SerdeShape): + """Dataclass for GetExecutionFlowSnapshotOutput structure.""" + + flow_identifier: str + """The unique identifier of the flow.""" + flow_alias_identifier: str + """The unique identifier of the flow alias used for the flow execution.""" + flow_version: str + """The version of the flow used for the flow execution.""" + execution_role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM service role that's used by + the flow execution. + """ + definition: str + """ + The flow definition used for the flow execution, including the nodes, + connections, and configuration at the time when the execution started. + + The definition returns as a string that follows the structure of a + [FlowDefinition](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_FlowDefinition.html) + object. + """ + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the customer managed KMS key that's + used to encrypt the flow snapshot. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFlowExecutionInput(_SerdeShape): + """Dataclass for GetFlowExecutionInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + flow_alias_identifier: str | None = ... + """The unique identifier of the flow alias used for the execution.""" + execution_identifier: str | None = ... + """The unique identifier of the flow execution to retrieve.""" + +@dataclass(kw_only=True) +class GetFlowExecutionOutput(_SerdeShape): + """Dataclass for GetFlowExecutionOutput structure.""" + + execution_arn: str + """ + The Amazon Resource Name (ARN) that uniquely identifies the flow + execution. + """ + status: str + """ + The current status of the flow execution. + + Flow executions time out after 24 hours. + """ + started_at: datetime + """The timestamp when the flow execution started.""" + ended_at: datetime | None = ... + """ + The timestamp when the flow execution ended. This field is only + populated when the execution has completed, failed, timed out, or been + aborted. + """ + errors: list[FlowExecutionError] | None = ... + """ + A list of errors that occurred during the flow execution. Each error + includes an error code, message, and the node where the error occurred, + if applicable. + """ + flow_alias_identifier: str + """The unique identifier of the flow alias used for the execution.""" + flow_identifier: str + """The unique identifier of the flow.""" + flow_version: str + """The version of the flow used for the execution.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIngestedDocumentAclInput(_SerdeShape): + """Dataclass for GetIngestedDocumentAclInput structure.""" + + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base that contains the document.""" + data_source_id: str | None = ... + """The unique identifier of the data source that contains the document.""" + document_id: str | None = ... + """ + The unique identifier of the document to retrieve the ingested access + control list (ACL) for. + """ + +@dataclass(kw_only=True) +class GetIngestedDocumentAclOutput(_SerdeShape): + """Dataclass for GetIngestedDocumentAclOutput structure.""" + + document_acl: DocumentAcl + """ + The ingested document access control list (ACL) containing allow and + deny membership information. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInvocationStepInput(_SerdeShape): + """Dataclass for GetInvocationStepInput structure.""" + + invocation_identifier: str | None = ... + """The unique identifier for the invocation in UUID format.""" + invocation_step_id: str | None = ... + """ + The unique identifier (in UUID format) for the specific invocation step + to retrieve. + """ + session_identifier: str | None = ... + """ + The unique identifier for the invocation step's associated session. You + can specify either the session's `sessionId` or its Amazon Resource + Name (ARN). + """ + +@dataclass(kw_only=True) +class GetInvocationStepOutput(_SerdeShape): + """Dataclass for GetInvocationStepOutput structure.""" + + invocation_step: InvocationStep + """The complete details of the requested invocation step.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSessionInput(_SerdeShape): + """Dataclass for GetSessionInput structure.""" + + session_identifier: str | None = ... + """ + A unique identifier for the session to retrieve. You can specify either + the session's `sessionId` or its Amazon Resource Name (ARN). + """ + +@dataclass(kw_only=True) +class GetSessionOutput(_SerdeShape): + """Dataclass for GetSessionOutput structure.""" + + session_id: str + """The unique identifier for the session in UUID format.""" + session_arn: str + """The Amazon Resource Name (ARN) of the session.""" + session_status: str + """The current status of the session.""" + created_at: datetime + """The timestamp for when the session was created.""" + last_updated_at: datetime + """The timestamp for when the session was last modified.""" + session_metadata: dict[str, str] | None = ... + """ + A map of key-value pairs containing attributes persisted across the + session. + """ + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Key Management Service key used to + encrypt the session data. For more information, see [Amazon Bedrock + session + encryption](https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class GuadrailAction(UnknownEnumMixin, StrEnum): + INTERVENED = "INTERVENED" + NONE = "NONE" + +class GuardrailAction(UnknownEnumMixin, StrEnum): + INTERVENED = "INTERVENED" + NONE = "NONE" + +@dataclass(kw_only=True) +class GuardrailAssessment(_SerdeShape): + """Assessment details of the content analyzed by Guardrails.""" + + topic_policy: GuardrailTopicPolicyAssessment | None = ... + """Topic policy details of the Guardrail.""" + content_policy: GuardrailContentPolicyAssessment | None = ... + """Content policy details of the Guardrail.""" + word_policy: GuardrailWordPolicyAssessment | None = ... + """Word policy details of the Guardrail.""" + sensitive_information_policy: ( + GuardrailSensitiveInformationPolicyAssessment | None + ) = ... + """Sensitive Information policy details of Guardrail.""" + +@dataclass(kw_only=True) +class GuardrailConfiguration(_SerdeShape): + """The configuration details for the guardrail.""" + + guardrail_id: str + """The unique identifier for the guardrail.""" + guardrail_version: str + """The version of the guardrail.""" + +@dataclass(kw_only=True) +class GuardrailConfigurationWithArn(_SerdeShape): + """The configuration details for the guardrail.""" + + guardrail_identifier: str + """The unique identifier for the guardrail.""" + guardrail_version: str + """The version of the guardrail.""" + +@dataclass(kw_only=True) +class GuardrailContentFilter(_SerdeShape): + """Details of the content filter used in the Guardrail.""" + + type: str | None = ... + """The type of content detected in the filter by the Guardrail.""" + confidence: str | None = ... + """ + The confidence level regarding the content detected in the filter by the + Guardrail. + """ + action: str | None = ... + """The action placed on the content by the Guardrail filter.""" + +class GuardrailContentFilterConfidence(UnknownEnumMixin, StrEnum): + NONE = "NONE" + LOW = "LOW" + MEDIUM = "MEDIUM" + HIGH = "HIGH" + +class GuardrailContentFilterType(UnknownEnumMixin, StrEnum): + INSULTS = "INSULTS" + HATE = "HATE" + SEXUAL = "SEXUAL" + VIOLENCE = "VIOLENCE" + MISCONDUCT = "MISCONDUCT" + PROMPT_ATTACK = "PROMPT_ATTACK" + +class GuardrailContentPolicyAction(UnknownEnumMixin, StrEnum): + BLOCKED = "BLOCKED" + +@dataclass(kw_only=True) +class GuardrailContentPolicyAssessment(_SerdeShape): + """The details of the policy assessment in the Guardrails filter.""" + + filters: list[GuardrailContentFilter] | None = ... + """ + The filter details of the policy assessment used in the Guardrails + filter. + """ + +@dataclass(kw_only=True) +class GuardrailCustomWord(_SerdeShape): + """The custom word details for the filter in the Guardrail.""" + + match: str | None = ... + """The match details for the custom word filter in the Guardrail.""" + action: str | None = ... + """The action details for the custom word filter in the Guardrail.""" + +@dataclass(kw_only=True) +class GuardrailEvent(_SerdeShape): + """A guardrail event.""" + + action: str | None = ... + """The guardrail action.""" + +@dataclass(kw_only=True) +class GuardrailManagedWord(_SerdeShape): + """The managed word details for the filter in the Guardrail.""" + + match: str | None = ... + """The match details for the managed word filter in the Guardrail.""" + type: str | None = ... + """The type details for the managed word filter in the Guardrail.""" + action: str | None = ... + """The action details for the managed word filter in the Guardrail.""" + +class GuardrailManagedWordType(UnknownEnumMixin, StrEnum): + PROFANITY = "PROFANITY" + +@dataclass(kw_only=True) +class GuardrailPiiEntityFilter(_SerdeShape): + """ + The Guardrail filter to identify and remove personally identifiable + information (PII). + """ + + type: str | None = ... + """The type of PII the Guardrail filter has identified and removed.""" + match: str | None = ... + """ + The match to settings in the Guardrail filter to identify and remove + PII. + """ + action: str | None = ... + """The action of the Guardrail filter to identify and remove PII.""" + +class GuardrailPiiEntityType(UnknownEnumMixin, StrEnum): + ADDRESS = "ADDRESS" + AGE = "AGE" + AWS_ACCESS_KEY = "AWS_ACCESS_KEY" + AWS_SECRET_KEY = "AWS_SECRET_KEY" + CA_HEALTH_NUMBER = "CA_HEALTH_NUMBER" + CA_SOCIAL_INSURANCE_NUMBER = "CA_SOCIAL_INSURANCE_NUMBER" + CREDIT_DEBIT_CARD_CVV = "CREDIT_DEBIT_CARD_CVV" + CREDIT_DEBIT_CARD_EXPIRY = "CREDIT_DEBIT_CARD_EXPIRY" + CREDIT_DEBIT_CARD_NUMBER = "CREDIT_DEBIT_CARD_NUMBER" + DRIVER_ID = "DRIVER_ID" + EMAIL = "EMAIL" + INTERNATIONAL_BANK_ACCOUNT_NUMBER = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" + IP_ADDRESS = "IP_ADDRESS" + LICENSE_PLATE = "LICENSE_PLATE" + MAC_ADDRESS = "MAC_ADDRESS" + NAME = "NAME" + PASSWORD = "PASSWORD" + PHONE = "PHONE" + PIN = "PIN" + SWIFT_CODE = "SWIFT_CODE" + UK_NATIONAL_HEALTH_SERVICE_NUMBER = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" + UK_NATIONAL_INSURANCE_NUMBER = "UK_NATIONAL_INSURANCE_NUMBER" + UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" + URL = "URL" + USERNAME = "USERNAME" + US_BANK_ACCOUNT_NUMBER = "US_BANK_ACCOUNT_NUMBER" + US_BANK_ROUTING_NUMBER = "US_BANK_ROUTING_NUMBER" + US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" + US_PASSPORT_NUMBER = "US_PASSPORT_NUMBER" + US_SOCIAL_SECURITY_NUMBER = "US_SOCIAL_SECURITY_NUMBER" + VEHICLE_IDENTIFICATION_NUMBER = "VEHICLE_IDENTIFICATION_NUMBER" + +@dataclass(kw_only=True) +class GuardrailRegexFilter(_SerdeShape): + """The details for the regex filter used in the Guardrail.""" + + name: str | None = ... + """The name details for the regex filter used in the Guardrail.""" + regex: str | None = ... + """The regex details for the regex filter used in the Guardrail.""" + match: str | None = ... + """The match details for the regex filter used in the Guardrail.""" + action: str | None = ... + """The action details for the regex filter used in the Guardrail.""" + +class GuardrailSensitiveInformationPolicyAction(UnknownEnumMixin, StrEnum): + BLOCKED = "BLOCKED" + ANONYMIZED = "ANONYMIZED" + +@dataclass(kw_only=True) +class GuardrailSensitiveInformationPolicyAssessment(_SerdeShape): + """The details of the sensitive policy assessment used in the Guardrail.""" + + pii_entities: list[GuardrailPiiEntityFilter] | None = ... + """ + The details of the PII entities used in the sensitive policy assessment + for the Guardrail. + """ + regexes: list[GuardrailRegexFilter] | None = ... + """ + The details of the regexes used in the sensitive policy assessment for + the Guardrail. + """ + +@dataclass(kw_only=True) +class GuardrailTopic(_SerdeShape): + """The details for a specific topic defined in the Guardrail.""" + + name: str | None = ... + """The name details on a specific topic in the Guardrail.""" + type: str | None = ... + """The type details on a specific topic in the Guardrail.""" + action: str | None = ... + """The action details on a specific topic in the Guardrail.""" + +class GuardrailTopicPolicyAction(UnknownEnumMixin, StrEnum): + BLOCKED = "BLOCKED" + +@dataclass(kw_only=True) +class GuardrailTopicPolicyAssessment(_SerdeShape): + """The details of the policy assessment used in the Guardrail.""" + + topics: list[GuardrailTopic] | None = ... + """The topic details of the policy assessment used in the Guardrail.""" + +class GuardrailTopicType(UnknownEnumMixin, StrEnum): + DENY = "DENY" + +@dataclass(kw_only=True) +class GuardrailTrace(_SerdeShape): + """The trace details used in the Guardrail.""" + + action: str | None = ... + """The trace action details used with the Guardrail.""" + trace_id: str | None = ... + """The details of the trace Id used in the Guardrail Trace.""" + input_assessments: list[GuardrailAssessment] | None = ... + """The details of the input assessments used in the Guardrail Trace.""" + output_assessments: list[GuardrailAssessment] | None = ... + """The details of the output assessments used in the Guardrail Trace.""" + metadata: Metadata | None = ... + """Contains information about the Guardrail output.""" + +class GuardrailWordPolicyAction(UnknownEnumMixin, StrEnum): + BLOCKED = "BLOCKED" + +@dataclass(kw_only=True) +class GuardrailWordPolicyAssessment(_SerdeShape): + """The assessment details for words defined in the Guardrail filter.""" + + custom_words: list[GuardrailCustomWord] | None = ... + """The custom word details for words defined in the Guardrail filter.""" + managed_word_lists: list[GuardrailManagedWord] | None = ... + """The managed word lists for words defined in the Guardrail filter.""" + +@dataclass(kw_only=True) +class ImageBlock(_SerdeShape): + """Image content for an invocation step.""" + + format: str + """The format of the image.""" + source: ImageSource + """The source for the image.""" + +class ImageFormat(UnknownEnumMixin, StrEnum): + PNG = "png" + JPEG = "jpeg" + GIF = "gif" + WEBP = "webp" + +@dataclass(kw_only=True) +class ImageInput(_SerdeShape): + """ + Details about an image in the result from a function in the action group + invocation. You can specify images only when the function is a computer + use action. For more information, see [Configure an Amazon Bedrock Agent + to complete tasks with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). + """ + + format: str + """The type of image in the result.""" + source: ImageInputSource + """The source of the image in the result.""" + +class ImageInputFormat(UnknownEnumMixin, StrEnum): + PNG = "png" + JPEG = "jpeg" + GIF = "gif" + WEBP = "webp" + +@dataclass +class ImageInputSourceBytes(_SerdeShape): + """ + The raw image bytes for the image. If you use an Amazon Web Services + SDK, you don't need to encode the image bytes in base64. + """ + + value: bytes + +@dataclass +class ImageInputSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ImageInputSource = Union[ImageInputSourceBytes | ImageInputSourceUnknown] +""" +Details about the source of an input image in the result from a function +in the action group invocation. +""" + +class _ImageInputSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ImageInputSource: ... + +@dataclass +class ImageSourceBytes(_SerdeShape): + """ + The raw image bytes for the image. If you use an Amazon Web Services + SDK, you don't need to encode the image bytes in base64. + """ + + value: bytes + +@dataclass +class ImageSourceS3Location(_SerdeShape): + """The path to the Amazon S3 bucket where the image is stored.""" + + value: S3Location + +@dataclass +class ImageSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ImageSource = Union[ImageSourceBytes | ImageSourceS3Location | ImageSourceUnknown] +"""The source for an image.""" + +class _ImageSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ImageSource: ... + +@dataclass(kw_only=True) +class ImplicitFilterConfiguration(_SerdeShape): + """ + Settings for implicit filtering, where a model generates a metadata + filter based on the prompt. + """ + + metadata_attributes: list[MetadataAttributeSchema] + """Metadata that can be used in a filter.""" + model_arn: str + """The model that generates the filter.""" + +@dataclass(kw_only=True) +class InferenceConfig(_SerdeShape): + """ + The configuration for inference settings when generating responses using + RetrieveAndGenerate. + """ + + text_inference_config: TextInferenceConfig | None = ... + """ + Configuration settings specific to text generation while generating + responses using RetrieveAndGenerate. + """ + +@dataclass(kw_only=True) +class InferenceConfiguration(_SerdeShape): + """ + Specifications about the inference parameters that were provided + alongside the prompt. These are specified in the + [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + object that was set when the agent was created or updated. For more + information, see [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + """ + + temperature: float | None = ... + """ + The likelihood of the model selecting higher-probability options while + generating a response. A lower value makes the model more likely to + choose higher-probability options, while a higher value makes the model + more likely to choose lower-probability options. + """ + top_p: float | None = ... + """ + While generating a response, the model determines the probability of the + following token at each point of generation. The value that you set for + `Top P` determines the number of most-likely candidates from which the + model chooses the next token in the sequence. For example, if you set + `topP` to 0.8, the model only selects the next token from the top 80% of + the probability distribution of next tokens. + """ + top_k: int | None = ... + """ + While generating a response, the model determines the probability of the + following token at each point of generation. The value that you set for + `topK` is the number of most-likely candidates from which the model + chooses the next token in the sequence. For example, if you set `topK` + to 50, the model selects the next token from among the top 50 most + likely choices. + """ + maximum_length: int | None = ... + """The maximum number of tokens allowed in the generated response.""" + stop_sequences: list[str] | None = ... + """ + A list of stop sequences. A stop sequence is a sequence of characters + that causes the model to stop generating the response. + """ + +@dataclass(kw_only=True) +class InlineAgentFilePart(_SerdeShape): + """ + Contains intermediate response for code interpreter if any files have + been generated. + """ + + files: list[OutputFile] | None = ... + """Files containing intermediate response for the user.""" + +@dataclass(kw_only=True) +class InlineAgentPayloadPart(_SerdeShape): + """Contains a part of an agent response and citations for it.""" + + bytes_: bytes | None = ... + """A part of the agent response in bytes.""" + attribution: Attribution | None = ... + """Contains citations for a part of an agent response.""" + +@dataclass +class InlineAgentResponseStreamChunk(_SerdeShape): + """Contains a part of an agent response and citations for it.""" + + value: InlineAgentPayloadPart + +@dataclass +class InlineAgentResponseStreamTrace(_SerdeShape): + """ + Contains information about the agent and session, alongside the agent's + reasoning process and results from calling actions and querying + knowledge bases and metadata about the trace. You can use the trace to + understand how the agent arrived at the response it provided the + customer. For more information, see [Trace + events](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html). + """ + + value: InlineAgentTracePart + +@dataclass +class InlineAgentResponseStreamReturnControl(_SerdeShape): + """ + Contains the parameters and information that the agent elicited from the + customer to carry out an action. This information is returned to the + system and can be used in your own setup for fulfilling the action. + """ + + value: InlineAgentReturnControlPayload + +@dataclass +class InlineAgentResponseStreamInternalServerException(_SerdeShape): + """An internal server error occurred. Retry your request.""" + + value: InternalServerException + +@dataclass +class InlineAgentResponseStreamValidationException(_SerdeShape): + """ + Input validation failed. Check your request parameters and retry the + request. + """ + + value: ValidationException + +@dataclass +class InlineAgentResponseStreamResourceNotFoundException(_SerdeShape): + """ + The specified resource Amazon Resource Name (ARN) was not found. Check + the Amazon Resource Name (ARN) and try your request again. + """ + + value: ResourceNotFoundException + +@dataclass +class InlineAgentResponseStreamServiceQuotaExceededException(_SerdeShape): + """ + The number of requests exceeds the service quota. Resubmit your request + later. + """ + + value: ServiceQuotaExceededException + +@dataclass +class InlineAgentResponseStreamThrottlingException(_SerdeShape): + """The number of requests exceeds the limit. Resubmit your request later.""" + + value: ThrottlingException + +@dataclass +class InlineAgentResponseStreamAccessDeniedException(_SerdeShape): + """ + The request is denied because of missing access permissions. Check your + permissions and retry your request. + """ + + value: AccessDeniedException + +@dataclass +class InlineAgentResponseStreamConflictException(_SerdeShape): + """ + There was a conflict performing an operation. Resolve the conflict and + retry your request. + """ + + value: ConflictException + +@dataclass +class InlineAgentResponseStreamDependencyFailedException(_SerdeShape): + """ + There was an issue with a dependency. Check the resource configurations + and retry the request. + """ + + value: DependencyFailedException + +@dataclass +class InlineAgentResponseStreamBadGatewayException(_SerdeShape): + """ + There was an issue with a dependency due to a server issue. Retry your + request. + """ + + value: BadGatewayException + +@dataclass +class InlineAgentResponseStreamFiles(_SerdeShape): + """ + Contains intermediate response for code interpreter if any files have + been generated. + """ + + value: InlineAgentFilePart + +@dataclass +class InlineAgentResponseStreamUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InlineAgentResponseStream = Union[ + InlineAgentResponseStreamChunk + | InlineAgentResponseStreamTrace + | InlineAgentResponseStreamReturnControl + | InlineAgentResponseStreamInternalServerException + | InlineAgentResponseStreamValidationException + | InlineAgentResponseStreamResourceNotFoundException + | InlineAgentResponseStreamServiceQuotaExceededException + | InlineAgentResponseStreamThrottlingException + | InlineAgentResponseStreamAccessDeniedException + | InlineAgentResponseStreamConflictException + | InlineAgentResponseStreamDependencyFailedException + | InlineAgentResponseStreamBadGatewayException + | InlineAgentResponseStreamFiles + | InlineAgentResponseStreamUnknown +] +""" +The response from invoking the agent and associated citations and trace +information. +""" + +class _InlineAgentResponseStreamDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> InlineAgentResponseStream: ... + +@dataclass(kw_only=True) +class InlineAgentReturnControlPayload(_SerdeShape): + """ + Contains information to return from the action group that the agent has + predicted to invoke. + + This data type is used in the [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + API operation. + """ + + invocation_inputs: list[InvocationInputMember] | None = ... + """ + A list of objects that contain information about the parameters and + inputs that need to be sent into the API operation or function, based on + what the agent determines from its session with the user. + """ + invocation_id: str | None = ... + """The identifier of the action group invocation.""" + +@dataclass(kw_only=True) +class InlineAgentTracePart(_SerdeShape): + """ + Contains information about the agent and session, alongside the agent's + reasoning process and results from calling API actions and querying + knowledge bases and metadata about the trace. You can use the trace to + understand how the agent arrived at the response it provided the + customer. For more information, see [Trace + enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). + """ + + session_id: str | None = ... + """The unique identifier of the session with the agent.""" + trace: Trace | None = ... + """ + Contains one part of the agent's reasoning process and results from + calling API actions and querying knowledge bases. You can use the trace + to understand how the agent arrived at the response it provided the + customer. For more information, see [Trace + enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). + """ + caller_chain: list[Caller] | None = ... + """The caller chain for the trace part.""" + event_time: datetime | None = ... + """The time that trace occurred.""" + collaborator_name: str | None = ... + """The collaborator name for the trace part.""" + +@dataclass(kw_only=True) +class InlineBedrockModelConfigurations(_SerdeShape): + """Settings for a model called with InvokeInlineAgent.""" + + performance_config: PerformanceConfiguration | None = ... + """The latency configuration for the model.""" + +@dataclass(kw_only=True) +class InlineSessionState(_SerdeShape): + """ + Contains parameters that specify various attributes that persist across + a session or prompt. You can define session state attributes as + key-value pairs when writing a [Lambda + function](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html) + for an action group or pass them when making an `InvokeInlineAgent` + request. Use session state attributes to control and provide + conversational context for your inline agent and to help customize your + agent's behavior. For more information, see [Control session + context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html) + """ + + session_attributes: dict[str, str] | None = ... + """ + Contains attributes that persist across a session and the values of + those attributes. + """ + prompt_session_attributes: dict[str, str] | None = ... + """ + Contains attributes that persist across a session and the values of + those attributes. + """ + return_control_invocation_results: list[InvocationResultMember] | None = ... + """ + Contains information about the results from the action group invocation. + For more information, see [Return control to the agent + developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html). + + Note: + If you include this field in the `sessionState` field, the `inputText` + field will be ignored. + """ + invocation_id: str | None = ... + """ + The identifier of the invocation of an action. This value must match the + `invocationId` returned in the `InvokeInlineAgent` response for the + action whose results are provided in the + `returnControlInvocationResults` field. For more information, see + [Return control to the agent + developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html). + """ + files: list[InputFile] | None = ... + """Contains information about the files used by code interpreter.""" + conversation_history: ConversationHistory | None = ... + """Contains the conversation history that persist across sessions.""" + +@dataclass(kw_only=True) +class InputFile(_SerdeShape): + """Contains details of the source files.""" + + name: str + """The name of the source file.""" + source: FileSource + """Specifies where the files are located.""" + use_case: str + """Specifies how the source files will be used by the code interpreter.""" + +@dataclass(kw_only=True) +class InputImage(_SerdeShape): + """ + Contains the image data for multimodal knowledge base queries, including + format and content. + + This data type is used in the following API operations: + + - [Retrieve + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) + -- in the `image` field + """ + + format: str + """ + The format of the input image. Supported formats include png, gif, jpeg, + and webp. + """ + inline_content: bytes + """ + The base64-encoded image data for inline image content. Maximum size is + 5MB. + """ + +class InputImageFormat(UnknownEnumMixin, StrEnum): + PNG = "png" + JPEG = "jpeg" + GIF = "gif" + WEBP = "webp" + +@dataclass +class InputPromptTextPrompt(_SerdeShape): + """Contains information about the text prompt to optimize.""" + + value: TextPrompt + +@dataclass +class InputPromptUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InputPrompt = Union[InputPromptTextPrompt | InputPromptUnknown] +"""Contains information about the prompt to optimize.""" + +class _InputPromptDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> InputPrompt: ... + +class InputQueryType(UnknownEnumMixin, StrEnum): + TEXT = "TEXT" + +@dataclass(kw_only=True) +class InternalServerException(ServiceError, _SerdeShape): + """An internal server error occurred. Retry your request.""" + + reason: str | None = ... + """ + The reason for the exception. If the reason is + `BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE`, the model invocation + service is unavailable. Retry your request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvocationInput(_SerdeShape): + """ + Contains information pertaining to the action group or knowledge base + that is being invoked. + """ + + trace_id: str | None = ... + """The unique identifier of the trace.""" + invocation_type: str | None = ... + """ + Specifies whether the agent is invoking an action group or a knowledge + base. + """ + action_group_invocation_input: ActionGroupInvocationInput | None = ... + """Contains information about the action group to be invoked.""" + knowledge_base_lookup_input: KnowledgeBaseLookupInput | None = ... + """ + Contains details about the knowledge base to look up and the query to be + made. + """ + code_interpreter_invocation_input: CodeInterpreterInvocationInput | None = ... + """Contains information about the code interpreter to be invoked.""" + agent_collaborator_invocation_input: AgentCollaboratorInvocationInput | None = ... + """The collaborator's invocation input.""" + +@dataclass +class InvocationInputMemberApiInvocationInput(_SerdeShape): + """ + Contains information about the API operation that the agent predicts + should be called. + """ + + value: ApiInvocationInput + +@dataclass +class InvocationInputMemberFunctionInvocationInput(_SerdeShape): + """ + Contains information about the function that the agent predicts should + be called. + """ + + value: FunctionInvocationInput + +@dataclass +class InvocationInputMemberUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InvocationInputMember = Union[ + InvocationInputMemberApiInvocationInput + | InvocationInputMemberFunctionInvocationInput + | InvocationInputMemberUnknown +] +""" +Contains details about the API operation or function that the agent +predicts should be called. + +This data type is used in the following API operations: + +- In the `returnControl` field of the [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) +""" + +class _InvocationInputMemberDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> InvocationInputMember: ... diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/models_1.pyi b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/models_1.pyi new file mode 100644 index 000000000..1f3288856 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/models_1.pyi @@ -0,0 +1,4538 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccessDeniedException, + ActionGroupInvocationOutput, + AgentActionGroup, + AgentCollaboratorInvocationOutput, + AnalyzePromptEvent, + ApiResult, + Attribution, + AudioSegment, + BadGatewayException, + BedrockModelConfigurations, + BedrockRerankingConfiguration, + BedrockSessionContentBlock, + Caller, + Citation, + CitationEvent, + CodeInterpreterInvocationOutput, + Collaborator, + CollaboratorConfiguration, + ConflictException, + ContentBlock, + ConversationHistory, + CustomOrchestration, + CustomOrchestrationTrace, + DependencyFailedException, + ExternalSourcesRetrieveAndGenerateConfiguration, + FailureTrace, + FieldForReranking, + FilePart, + FilterAttribute, + FinalResponse, + FlowExecutionEvent, + FlowExecutionSummary, + FlowInput, + FunctionResult, + GenerationConfiguration, + GuardrailConfiguration, + GuardrailConfigurationWithArn, + GuardrailEvent, + GuardrailTrace, + ImplicitFilterConfiguration, + InferenceConfig, + InferenceConfiguration, + InlineBedrockModelConfigurations, + InlineSessionState, + InputFile, + InputImage, + InputPrompt, + InternalServerException, + InvocationInput, + InvocationInputMember, + ServiceError, + _SerdeShape, +) + +@dataclass +class InvocationResultMemberApiResult(_SerdeShape): + """The result from the API response from the action group invocation.""" + + value: ApiResult + +@dataclass +class InvocationResultMemberFunctionResult(_SerdeShape): + """The result from the function from the action group invocation.""" + + value: FunctionResult + +@dataclass +class InvocationResultMemberUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InvocationResultMember = Union[ + InvocationResultMemberApiResult + | InvocationResultMemberFunctionResult + | InvocationResultMemberUnknown +] +""" +A result from the invocation of an action. For more information, see +[Return control to the agent +developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) +and [Control session +context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). + +This data type is used in the following API operations: + +- [InvokeAgent + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) +""" + +class _InvocationResultMemberDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> InvocationResultMember: ... + +@dataclass(kw_only=True) +class InvocationStep(_SerdeShape): + """ + Stores fine-grained state checkpoints, including text and images, for + each interaction in an invocation in a session. For more information + about sessions, see [Store and retrieve conversation history and context + with Amazon Bedrock + sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). + """ + + session_id: str + """The unique identifier of the session containing the invocation step.""" + invocation_id: str + """ + The unique identifier (in UUID format) for the invocation that includes + the invocation step. + """ + invocation_step_id: str + """The unique identifier (in UUID format) for the invocation step.""" + invocation_step_time: datetime + """The timestamp for when the invocation step was created.""" + payload: InvocationStepPayload + """Payload content, such as text and images, for the invocation step.""" + +@dataclass +class InvocationStepPayloadContentBlocks(_SerdeShape): + """The content for the invocation step.""" + + value: list[BedrockSessionContentBlock] + +@dataclass +class InvocationStepPayloadUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InvocationStepPayload = Union[ + InvocationStepPayloadContentBlocks | InvocationStepPayloadUnknown +] +"""Payload content, such as text and images, for the invocation step.""" + +class _InvocationStepPayloadDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> InvocationStepPayload: ... + +@dataclass(kw_only=True) +class InvocationStepSummary(_SerdeShape): + """ + Contains details about an invocation step within an invocation in a + session. For more information about sessions, see [Store and retrieve + conversation history and context with Amazon Bedrock + sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). + """ + + session_id: str + """ + The unique identifier for the session associated with the invocation + step. + """ + invocation_id: str + """A unique identifier for the invocation in UUID format.""" + invocation_step_id: str + """The unique identifier (in UUID format) for the invocation step.""" + invocation_step_time: datetime + """The timestamp for when the invocation step was created.""" + +@dataclass(kw_only=True) +class InvocationSummary(_SerdeShape): + """ + Contains details about an invocation in a session. For more information + about sessions, see [Store and retrieve conversation history and context + with Amazon Bedrock + sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). + """ + + session_id: str + """The unique identifier for the session associated with the invocation.""" + invocation_id: str + """A unique identifier for the invocation in UUID format.""" + created_at: datetime + """The timestamp for when the invocation was created.""" + +class InvocationType(UnknownEnumMixin, StrEnum): + ACTION_GROUP = "ACTION_GROUP" + KNOWLEDGE_BASE = "KNOWLEDGE_BASE" + FINISH = "FINISH" + ACTION_GROUP_CODE_INTERPRETER = "ACTION_GROUP_CODE_INTERPRETER" + AGENT_COLLABORATOR = "AGENT_COLLABORATOR" + +@dataclass(kw_only=True) +class InvokeAgentInput(_SerdeShape): + """Dataclass for InvokeAgentInput structure.""" + + session_state: SessionState | None = ... + """ + Contains parameters that specify various attributes of the session. For + more information, see [Control session + context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). + + Note: + If you include `returnControlInvocationResults` in the `sessionState` + field, the `inputText` field will be ignored. + """ + agent_id: str | None = ... + """The unique identifier of the agent to use.""" + agent_alias_id: str | None = ... + """The alias of the agent to use.""" + session_id: str | None = ... + """ + The unique identifier of the session. Use the same value across requests + to continue the same conversation. + """ + end_session: bool | None = ... + """Specifies whether to end the session with the agent or not.""" + enable_trace: bool | None = ... + """ + Specifies whether to turn on the trace or not to track the agent's + reasoning process. For more information, see [Trace + enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events). + """ + input_text: str | None = ... + """ + The prompt text to send the agent. + + Note: + If you include `returnControlInvocationResults` in the `sessionState` + field, the `inputText` field will be ignored. + """ + memory_id: str | None = ... + """The unique identifier of the agent memory.""" + bedrock_model_configurations: BedrockModelConfigurations | None = ... + """Model performance settings for the request.""" + streaming_configurations: StreamingConfigurations | None = ... + """ + Specifies the configurations for streaming. + + Note: + To use agent streaming, you need permissions to perform the + `bedrock:InvokeModelWithResponseStream` action. + """ + prompt_creation_configurations: PromptCreationConfigurations | None = ... + """ + Specifies parameters that control how the service populates the agent + prompt for an `InvokeAgent` request. You can control which aspects of + previous invocations in the same agent session the service uses to + populate the agent prompt. This gives you more granular control over the + contextual history that is used to process the current request. + """ + source_arn: str | None = ... + """The ARN of the resource making the request.""" + +@dataclass(kw_only=True) +class InvokeAgentOutput(_SerdeShape): + """Dataclass for InvokeAgentOutput structure.""" + + content_type: str + """ + The MIME type of the input data in the request. The default value is + `application/json`. + """ + session_id: str + """The unique identifier of the session with the agent.""" + memory_id: str | None = ... + """The unique identifier of the agent memory.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvokeFlowInput(_SerdeShape): + """Dataclass for InvokeFlowInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + flow_alias_identifier: str | None = ... + """The unique identifier of the flow alias.""" + inputs: list[FlowInput] | None = ... + """ + A list of objects, each containing information about an input into the + flow. + """ + enable_trace: bool | None = ... + """ + Specifies whether to return the trace for the flow or not. Traces track + inputs and outputs for nodes in the flow. For more information, see + [Track each step in your prompt flow by viewing its trace in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). + """ + model_performance_configuration: ModelPerformanceConfiguration | None = ... + """Model performance settings for the request.""" + execution_id: str | None = ... + """ + The unique identifier for the current flow execution. If you don't + provide a value, Amazon Bedrock creates the identifier for you. + """ + +@dataclass(kw_only=True) +class InvokeFlowOutput(_SerdeShape): + """Dataclass for InvokeFlowOutput structure.""" + + execution_id: str | None = ... + """The unique identifier for the current flow execution.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvokeInlineAgentInput(_SerdeShape): + """Dataclass for InvokeInlineAgentInput structure.""" + + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use + to encrypt your inline agent. + """ + foundation_model: str | None = ... + """ + The [model identifier + (ID)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) + of the model to use for orchestration by the inline agent. For example, + `meta.llama3-1-70b-instruct-v1:0`. + """ + instruction: str | None = ... + """ + The instructions that tell the inline agent what it should do and how it + should interact with users. + """ + idle_session_ttl_in_seconds: int | None = ... + """ + The number of seconds for which the inline agent should maintain session + information. After this time expires, the subsequent `InvokeInlineAgent` + request begins a new session. + + A user interaction remains active for the amount of time specified. If + no conversation occurs during this time, the session expires and the + data provided before the timeout is deleted. + """ + action_groups: list[AgentActionGroup] | None = ... + """ + A list of action groups with each action group defining the action the + inline agent needs to carry out. + """ + knowledge_bases: list[KnowledgeBase] | None = ... + """Contains information of the knowledge bases to associate with.""" + guardrail_configuration: GuardrailConfigurationWithArn | None = ... + """ + The + [guardrails](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) + to assign to the inline agent. + """ + prompt_override_configuration: PromptOverrideConfiguration | None = ... + """ + Configurations for advanced prompts used to override the default prompts + to enhance the accuracy of the inline agent. + """ + agent_collaboration: str | None = ... + """ + Defines how the inline collaborator agent handles information across + multiple collaborator agents to coordinate a final response. The inline + collaborator agent can also be the supervisor. + """ + collaborator_configurations: list[CollaboratorConfiguration] | None = ... + """ + Settings for an inline agent collaborator called with + [InvokeInlineAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeInlineAgent.html). + """ + agent_name: str | None = ... + """The name for the agent.""" + session_id: str | None = ... + """ + The unique identifier of the session. Use the same value across requests + to continue the same conversation. + """ + end_session: bool | None = ... + """Specifies whether to end the session with the inline agent or not.""" + enable_trace: bool | None = ... + """ + Specifies whether to turn on the trace or not to track the agent's + reasoning process. For more information, see [Using + trace](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html). + """ + input_text: str | None = ... + """ + The prompt text to send to the agent. + + Note: + If you include `returnControlInvocationResults` in the `sessionState` + field, the `inputText` field will be ignored. + """ + streaming_configurations: StreamingConfigurations | None = ... + """ + Specifies the configurations for streaming. + + Note: + To use agent streaming, you need permissions to perform the + `bedrock:InvokeModelWithResponseStream` action. + """ + prompt_creation_configurations: PromptCreationConfigurations | None = ... + """ + Specifies parameters that control how the service populates the agent + prompt for an `InvokeInlineAgent` request. You can control which aspects + of previous invocations in the same agent session the service uses to + populate the agent prompt. This gives you more granular control over the + contextual history that is used to process the current request. + """ + inline_session_state: InlineSessionState | None = ... + """ + Parameters that specify the various attributes of a sessions. You can + include attributes for the session or prompt or, if you configured an + action group to return control, results from invocation of the action + group. For more information, see [Control session + context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). + + Note: + If you include `returnControlInvocationResults` in the `sessionState` + field, the `inputText` field will be ignored. + """ + collaborators: list[Collaborator] | None = ... + """List of collaborator inline agents.""" + bedrock_model_configurations: InlineBedrockModelConfigurations | None = ... + """Model settings for the request.""" + orchestration_type: str | None = ... + """ + Specifies the type of orchestration strategy for the agent. This is set + to DEFAULT orchestration type, by default. + """ + custom_orchestration: CustomOrchestration | None = ... + """Contains details of the custom orchestration configured for the agent.""" + +@dataclass(kw_only=True) +class InvokeInlineAgentOutput(_SerdeShape): + """Dataclass for InvokeInlineAgentOutput structure.""" + + content_type: str + """ + The MIME type of the input data in the request. The default value is + application/json. + """ + session_id: str + """The unique identifier of the session with the agent.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KnowledgeBase(_SerdeShape): + """Details of the knowledge base associated withe inline agent.""" + + knowledge_base_id: str + """ + The unique identifier for a knowledge base associated with the inline + agent. + """ + description: str + """The description of the knowledge base associated with the inline agent.""" + retrieval_configuration: KnowledgeBaseRetrievalConfiguration | None = ... + """ + The configurations to apply to the knowledge base during query. For more + information, see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + """ + +@dataclass(kw_only=True) +class KnowledgeBaseConfiguration(_SerdeShape): + """ + Configurations to apply to a knowledge base attached to the agent during + query. For more information, see [Knowledge base retrieval + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html#session-state-kb). + """ + + knowledge_base_id: str + """The unique identifier for a knowledge base attached to the agent.""" + retrieval_configuration: KnowledgeBaseRetrievalConfiguration + """ + The configurations to apply to the knowledge base during query. For more + information, see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + """ + +@dataclass(kw_only=True) +class KnowledgeBaseLookupInput(_SerdeShape): + """ + Contains details about the knowledge base to look up and the query to be + made. + """ + + text: str | None = ... + """The query made to the knowledge base.""" + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base to look up.""" + +@dataclass(kw_only=True) +class KnowledgeBaseLookupOutput(_SerdeShape): + """Contains details about the results from looking up the knowledge base.""" + + retrieved_references: list[RetrievedReference] | None = ... + """Contains metadata about the sources cited for the generated response.""" + metadata: Metadata | None = ... + """Contains information about the knowledge base output.""" + +@dataclass(kw_only=True) +class KnowledgeBaseQuery(_SerdeShape): + """ + Contains the query made to the knowledge base. + + This data type is used in the following API operations: + + - [Retrieve + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) + -- in the `retrievalQuery` field + """ + + type: str = ... + """The type of query being performed.""" + text: str = ... + """The text of the query made to the knowledge base.""" + image: InputImage | None = ... + """ + An image to include in the knowledge base query for multimodal + retrieval. + """ + +class KnowledgeBaseQueryType(UnknownEnumMixin, StrEnum): + TEXT = "TEXT" + IMAGE = "IMAGE" + +@dataclass(kw_only=True) +class KnowledgeBaseRetrievalConfiguration(_SerdeShape): + """ + Contains configurations for knowledge base query. For more information, + see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + + This data type is used in the following API operations: + + - [Retrieve + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) + -- in the `retrievalConfiguration` field + + - [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + -- in the `retrievalConfiguration` field + """ + + vector_search_configuration: KnowledgeBaseVectorSearchConfiguration | None = ... + """ + Contains details about how the results from the vector search should be + returned. For more information, see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + """ + managed_search_configuration: ManagedSearchConfiguration | None = ... + """ + Contains configurations for managed search. For more information, see + [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + """ + +@dataclass(kw_only=True) +class KnowledgeBaseRetrievalResult(_SerdeShape): + """ + Details about a result from querying the knowledge base. + + This data type is used in the following API operations: + + - [Retrieve + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) + -- in the `retrievalResults` field + """ + + content: RetrievalResultContent + """Contains information about the content of the chunk.""" + location: RetrievalResultLocation | None = ... + """Contains information about the location of the data source.""" + score: float | None = ... + """The level of relevance of the result to the query.""" + metadata: dict[str, Document] | None = ... + """ + Contains metadata attributes and their values for the file in the data + source. For more information, see [Metadata and + filtering](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-ds.html#kb-ds-metadata). + """ + document_id: str | None = ... + """ + The unique identifier of the document. Use with `GetDocumentContent` to + retrieve the full document. + """ + +@dataclass(kw_only=True) +class KnowledgeBaseRetrieveAndGenerateConfiguration(_SerdeShape): + """ + Contains details about the resource being queried. + + This data type is used in the following API operations: + + - [Retrieve + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) + -- in the `knowledgeBaseConfiguration` field + + - [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + -- in the `knowledgeBaseConfiguration` field + """ + + knowledge_base_id: str + """The unique identifier of the knowledge base that is queried.""" + model_arn: str + """ + The ARN of the foundation model or [inference + profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) + used to generate a response. + """ + retrieval_configuration: KnowledgeBaseRetrievalConfiguration | None = ... + """ + Contains configurations for how to retrieve and return the knowledge + base query. + """ + generation_configuration: GenerationConfiguration | None = ... + """ + Contains configurations for response generation based on the knowledge + base query results. + """ + orchestration_configuration: OrchestrationConfiguration | None = ... + """ + Settings for how the model processes the prompt prior to retrieval and + generation. + """ + +@dataclass(kw_only=True) +class KnowledgeBaseRetrieverConfiguration(_SerdeShape): + """Configuration for retrieving from a Bedrock knowledge base.""" + + knowledge_base_id: str + """The unique identifier of the knowledge base.""" + retrieval_overrides: RetrievalOverrides | None = ... + """Overrides for retrieval behavior such as filters and result limits.""" + +@dataclass(kw_only=True) +class KnowledgeBaseVectorSearchConfiguration(_SerdeShape): + """ + Configurations for how to perform the search query and return results. + For more information, see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + + This data type is used in the following API operations: + + - [Retrieve + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) + -- in the `vectorSearchConfiguration` field + + - [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + -- in the `vectorSearchConfiguration` field + """ + + number_of_results: int = ... + """The number of source chunks to retrieve.""" + override_search_type: str | None = ... + """ + By default, Amazon Bedrock decides a search strategy for you. If you're + using an Amazon OpenSearch Serverless vector store that contains a + filterable text field, you can specify whether to query the knowledge + base with a `HYBRID` search using both vector embeddings and raw text, + or `SEMANTIC` search using only vector embeddings. For other vector + store configurations, only `SEMANTIC` search is available. For more + information, see [Test a knowledge + base](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-test.html). + """ + filter: RetrievalFilter | None = ... + """ + Specifies the filters to use on the metadata in the knowledge base data + sources before returning results. For more information, see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + """ + reranking_configuration: VectorSearchRerankingConfiguration | None = ... + """ + Contains configurations for reranking the retrieved results. For more + information, see [Improve the relevance of query responses with a + reranker + model](https://docs.aws.amazon.com/bedrock/latest/userguide/rerank.html). + """ + implicit_filter_configuration: ImplicitFilterConfiguration | None = ... + """Settings for implicit filtering.""" + +@dataclass(kw_only=True) +class ListFlowExecutionEventsInput(_SerdeShape): + """Dataclass for ListFlowExecutionEventsInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + flow_alias_identifier: str | None = ... + """The unique identifier of the flow alias used for the execution.""" + execution_identifier: str | None = ... + """The unique identifier of the flow execution.""" + max_results: int | None = ... + """ + The maximum number of events to return in a single response. If more + events exist than the specified maxResults value, a token is included in + the response so that the remaining results can be retrieved. + """ + next_token: str | None = ... + """ + A token to retrieve the next set of results. This value is returned in + the response if more results are available. + """ + event_type: str | None = ... + """ + The type of events to retrieve. Specify `Node` for node-level events or + `Flow` for flow-level events. + """ + +@dataclass(kw_only=True) +class ListFlowExecutionEventsOutput(_SerdeShape): + """Dataclass for ListFlowExecutionEventsOutput structure.""" + + flow_execution_events: list[FlowExecutionEvent] + """ + A list of events that occurred during the flow execution. Events can + include node inputs and outputs, flow inputs and outputs, condition + results, and failure events. + """ + next_token: str | None = ... + """ + A token to retrieve the next set of results. This value is returned if + more results are available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFlowExecutionsInput(_SerdeShape): + """Dataclass for ListFlowExecutionsInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow to list executions for.""" + flow_alias_identifier: str | None = ... + """The unique identifier of the flow alias to list executions for.""" + max_results: int | None = ... + """ + The maximum number of flow executions to return in a single response. If + more executions exist than the specified `maxResults` value, a token is + included in the response so that the remaining results can be retrieved. + """ + next_token: str | None = ... + """ + A token to retrieve the next set of results. This value is returned in + the response if more results are available. + """ + +@dataclass(kw_only=True) +class ListFlowExecutionsOutput(_SerdeShape): + """Dataclass for ListFlowExecutionsOutput structure.""" + + flow_execution_summaries: list[FlowExecutionSummary] + """ + A list of flow execution summaries. Each summary includes the execution + ARN, flow identifier, flow alias identifier, flow version, status, and + timestamps. + """ + next_token: str | None = ... + """ + A token to retrieve the next set of results. This value is returned if + more results are available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInvocationsInput(_SerdeShape): + """Dataclass for ListInvocationsInput structure.""" + + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + max_results: int = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + session_identifier: str | None = ... + """ + The unique identifier for the session to list invocations for. You can + specify either the session's `sessionId` or its Amazon Resource Name + (ARN). + """ + +@dataclass(kw_only=True) +class ListInvocationsOutput(_SerdeShape): + """Dataclass for ListInvocationsOutput structure.""" + + invocation_summaries: list[InvocationSummary] + """A list of invocation summaries associated with the session.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInvocationStepsInput(_SerdeShape): + """Dataclass for ListInvocationStepsInput structure.""" + + invocation_identifier: str | None = ... + """ + The unique identifier (in UUID format) for the invocation to list + invocation steps for. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + max_results: int = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + session_identifier: str | None = ... + """ + The unique identifier for the session associated with the invocation + steps. You can specify either the session's `sessionId` or its Amazon + Resource Name (ARN). + """ + +@dataclass(kw_only=True) +class ListInvocationStepsOutput(_SerdeShape): + """Dataclass for ListInvocationStepsOutput structure.""" + + invocation_step_summaries: list[InvocationStepSummary] + """ + A list of summaries for each invocation step associated with a session + and if you specified it, an invocation within the session. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListSessionsInput(_SerdeShape): + """Dataclass for ListSessionsInput structure.""" + + max_results: int = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListSessionsOutput(_SerdeShape): + """Dataclass for ListSessionsOutput structure.""" + + session_summaries: list[SessionSummary] + """ + A list of summaries for each session in your Amazon Web Services + account. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceInput(_SerdeShape): + """Dataclass for ListTagsForResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource for which to list tags.""" + +@dataclass(kw_only=True) +class ListTagsForResourceOutput(_SerdeShape): + """Dataclass for ListTagsForResourceOutput structure.""" + + tags: dict[str, str] | None = ... + """The key-value pairs for the tags associated with the resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ManagedSearchBedrockRerankingConfiguration(_SerdeShape): + """Configuration for a Bedrock reranking model used in managed search.""" + + model_configuration: ManagedSearchBedrockRerankingModelConfiguration + """The model configuration containing the model ARN for reranking.""" + number_of_reranked_results: int | None = ... + """The number of results to return after reranking.""" + metadata_configuration: MetadataConfigurationForReranking | None = ... + """The metadata configuration for reranking.""" + +@dataclass(kw_only=True) +class ManagedSearchBedrockRerankingModelConfiguration(_SerdeShape): + """ + Model configuration for a Bedrock reranking model used in managed + search. + """ + + model_arn: str + """The ARN of the Bedrock reranking model.""" + additional_model_request_fields: dict[str, Document] | None = ... + """Additional request fields to pass to the reranking model.""" + +@dataclass(kw_only=True) +class ManagedSearchConfiguration(_SerdeShape): + """ + Configuration for managed search in a knowledge base. Managed search + automatically determines the best search strategy based on your data + store configuration. + """ + + number_of_results: int | None = ... + """The number of results to retrieve.""" + filter: RetrievalFilter | None = ... + """ + Filters the metadata of the retrieved results so that Amazon Bedrock + returns only results that match the filter. + """ + reranking_model_type: str | None = ... + """ + The type of reranking model to use when reranking results retrieved from + the managed search. Use `CUSTOM` to specify a model, `MANAGED` to use + the service default, or `NONE` to disable reranking. + """ + reranking_configuration: ManagedSearchRerankingConfiguration | None = ... + """ + Contains configurations for reranking the results retrieved from the + managed search. + """ + +@dataclass(kw_only=True) +class ManagedSearchRerankingConfiguration(_SerdeShape): + """Configuration for the reranking model used in managed search.""" + + type: str + """The type of reranking configuration.""" + bedrock_reranking_configuration: ( + ManagedSearchBedrockRerankingConfiguration | None + ) = ... + """The Bedrock reranking model configuration for managed search.""" + +class ManagedSearchRerankingConfigurationType(UnknownEnumMixin, StrEnum): + """The type of reranking configuration for managed search.""" + + BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" + +@dataclass(kw_only=True) +class MantleFoundationModelConfiguration(_SerdeShape): + """Configuration for a Mantle foundation model.""" + + model_configuration: MantleFoundationModelModelConfiguration + """The model configuration containing the model ARN and project ID.""" + +@dataclass(kw_only=True) +class MantleFoundationModelModelConfiguration(_SerdeShape): + """Model configuration for a Mantle foundation model.""" + + model_arn: str + """The ARN of the Mantle foundation model.""" + project_id: str | None = ... + """ + The Amazon Bedrock project ID used for billing and usage attribution. If + you don't specify a value, the service uses the default project. + """ + +@dataclass +class Memory_SessionSummary(_SerdeShape): + """Contains summary of a session.""" + + value: MemorySessionSummary + +@dataclass +class MemoryUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Memory = Union[Memory_SessionSummary | MemoryUnknown] +"""Contains sessions summaries.""" + +class _MemoryDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Memory: ... + +@dataclass(kw_only=True) +class MemorySessionSummary(_SerdeShape): + """Contains details of a session summary.""" + + memory_id: str | None = ... + """The unique identifier of the memory where the session summary is stored.""" + session_id: str | None = ... + """The identifier for this session.""" + session_start_time: datetime | None = ... + """The start time for this session.""" + session_expiry_time: datetime | None = ... + """The time when the memory duration for the session is set to end.""" + summary_text: str | None = ... + """The summarized text for this session.""" + +class MemoryType(UnknownEnumMixin, StrEnum): + SESSION_SUMMARY = "SESSION_SUMMARY" + +@dataclass(kw_only=True) +class Message(_SerdeShape): + """Details about a message.""" + + role: str + """The message's role.""" + content: list[ContentBlock] + """The message's content.""" + +@dataclass(kw_only=True) +class Metadata(_SerdeShape): + """ + Provides information about the execution process for different types of + invocations, such as model invocation, knowledge base invocation, agent + collaborator invocation, guardrail invocation, and code interpreter + Invocation. + """ + + start_time: datetime | None = ... + """ + In the final response, `startTime` is the start time of the agent + invocation operation. + """ + end_time: datetime | None = ... + """ + In the final response, `endTime` is the end time of the agent invocation + operation. + """ + total_time_ms: int | None = ... + """ + The total execution time for the specific invocation being processed + (model, knowledge base, guardrail, agent collaborator, or code + interpreter). It represents how long the individual invocation took. + """ + operation_total_time_ms: int | None = ... + """ + The total time it took for the agent to complete execution. This field + is only set for the final response. + """ + client_request_id: str | None = ... + """ + A unique identifier associated with the downstream invocation. This ID + can be used for tracing, debugging, and identifying specific invocations + in customer logs or systems. + """ + usage: Usage | None = ... + """ + Specific to model invocation and contains details about the usage of a + foundation model. + """ + +@dataclass(kw_only=True) +class MetadataAttributeSchema(_SerdeShape): + """Details about a metadata attribute.""" + + key: str + """The attribute's key.""" + type: str + """The attribute's type.""" + description: str + """The attribute's description.""" + +@dataclass(kw_only=True) +class MetadataConfigurationForReranking(_SerdeShape): + """Contains configurations for the metadata to use in reranking.""" + + selection_mode: str + """ + Specifies whether to consider all metadata when reranking, or only the + metadata that you select. If you specify `SELECTIVE`, include the + `selectiveModeConfiguration` field. + """ + selective_mode_configuration: ( + RerankingMetadataSelectiveModeConfiguration | None + ) = ... + """ + Contains configurations for the metadata fields to include or exclude + when considering reranking. + """ + +@dataclass(kw_only=True) +class ModelInvocationInput(_SerdeShape): + """ + The input for the pre-processing step. + + - The `type` matches the agent step. + + - The `text` contains the prompt. + + - The `inferenceConfiguration`, `parserMode`, and `overrideLambda` + values are set in the + [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + object that was set when the agent was created or updated. + """ + + trace_id: str | None = ... + """The unique identifier of the trace.""" + text: str | None = ... + """The text that prompted the agent at this step.""" + type: str | None = ... + """The step in the agent sequence.""" + override_lambda: str | None = ... + """ + The ARN of the Lambda function to use when parsing the raw foundation + model output in parts of the agent sequence. + """ + prompt_creation_mode: str | None = ... + """ + Specifies whether the default prompt template was `OVERRIDDEN`. If it + was, the `basePromptTemplate` that was set in the + [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + object when the agent was created or updated is used instead. + """ + inference_configuration: InferenceConfiguration | None = ... + """ + Specifications about the inference parameters that were provided + alongside the prompt. These are specified in the + [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + object that was set when the agent was created or updated. For more + information, see [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + """ + parser_mode: str | None = ... + """ + Specifies whether to override the default parser Lambda function when + parsing the raw foundation model output in the part of the agent + sequence defined by the `promptType`. + """ + foundation_model: str | None = ... + """The identifier of a foundation model.""" + +@dataclass(kw_only=True) +class ModelNotReadyException(ServiceError, _SerdeShape): + """ + The model specified in the request is not ready to serve inference + requests. The AWS SDK will automatically retry the operation up to 5 + times. For information about configuring automatic retries, see [Retry + behavior](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html) + in the *AWS SDKs and Tools* reference guide. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModelPerformanceConfiguration(_SerdeShape): + """The performance configuration for a model called with InvokeFlow.""" + + performance_config: PerformanceConfiguration | None = ... + """The latency configuration for the model.""" + +@dataclass(kw_only=True) +class NodeActionEvent(_SerdeShape): + """ + Contains information about an action (operation) called by a node during + execution. + """ + + node_name: str + """The name of the node that called the operation.""" + timestamp: datetime + """The date and time that the operation was called.""" + request_id: str + """The ID of the request that the node made to the operation.""" + service_name: str + """The name of the service that the node called.""" + operation_name: str + """The name of the operation that the node called.""" + operation_request: Document | None = ... + """The request payload sent to the downstream service.""" + operation_response: Document | None = ... + """The response payload received from the downstream service.""" + +@dataclass(kw_only=True) +class NodeDependencyEvent(_SerdeShape): + """ + Contains information about an internal trace of a specific node during + execution. + """ + + node_name: str + """The name of the node that generated the dependency trace.""" + timestamp: datetime + """The date and time that the dependency trace was generated.""" + trace_elements: NodeTraceElements + """ + The trace elements containing detailed information about the node + execution. + """ + +class NodeErrorCode(UnknownEnumMixin, StrEnum): + VALIDATION = "VALIDATION" + DEPENDENCY_FAILED = "DEPENDENCY_FAILED" + BAD_GATEWAY = "BAD_GATEWAY" + INTERNAL_SERVER = "INTERNAL_SERVER" + +@dataclass +class NodeExecutionContentDocument(_SerdeShape): + """ + The document content of the field, which can contain text or structured + data. + """ + + value: Document + +@dataclass +class NodeExecutionContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +NodeExecutionContent = Union[NodeExecutionContentDocument | NodeExecutionContentUnknown] +""" +Contains the content of a flow node's input or output field for a flow +execution. + +Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. +""" + +class _NodeExecutionContentDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> NodeExecutionContent: ... + +@dataclass(kw_only=True) +class NodeFailureEvent(_SerdeShape): + """ + Contains information about a failure that occurred at a specific node + during a flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + node_name: str + """The name of the node where the failure occurred.""" + timestamp: datetime + """The timestamp when the node failure occurred.""" + error_code: str + """ + The error code that identifies the type of failure that occurred at the + node. + """ + error_message: str + """A descriptive message that provides details about the node failure.""" + +@dataclass(kw_only=True) +class NodeInputEvent(_SerdeShape): + """ + Contains information about the inputs provided to a specific node during + a flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + node_name: str + """The name of the node that received the inputs.""" + timestamp: datetime + """The timestamp when the inputs were provided to the node.""" + fields: list[NodeInputField] + """A list of input fields provided to the node.""" + +@dataclass(kw_only=True) +class NodeInputExecutionChainItem(_SerdeShape): + """Represents an item in the execution chain for node input tracking.""" + + node_name: str + """The name of the node in the execution chain.""" + index: int | None = ... + """The index position of this item in the execution chain.""" + type: str + """ + The type of execution chain item. Supported values are Iterator and + Loop. + """ + +@dataclass(kw_only=True) +class NodeInputField(_SerdeShape): + """Represents an input field provided to a node during a flow execution.""" + + name: str + """The name of the input field as defined in the node's input schema.""" + content: NodeExecutionContent + """ + The content of the input field, which can contain text or structured + data. + """ + source: NodeInputSource | None = ... + """The source node that provides input data to this field.""" + type: str | None = ... + """The data type of the input field for compatibility validation.""" + category: str | None = ... + """The category of the input field.""" + execution_chain: list[NodeInputExecutionChainItem] | None = ... + """The execution path through nested nodes like iterators and loops.""" + +@dataclass(kw_only=True) +class NodeInputSource(_SerdeShape): + """Represents the source of input data for a node field.""" + + node_name: str + """The name of the source node that provides the input data.""" + output_field_name: str + """The name of the output field from the source node.""" + expression: str + """The expression used to extract data from the source.""" + +@dataclass(kw_only=True) +class NodeOutputEvent(_SerdeShape): + """ + Contains information about the outputs produced by a specific node + during a flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + node_name: str + """The name of the node that produced the outputs.""" + timestamp: datetime + """The timestamp when the outputs were produced by the node.""" + fields: list[NodeOutputField] + """A list of output fields produced by the node.""" + +@dataclass(kw_only=True) +class NodeOutputField(_SerdeShape): + """ + Represents an output field produced by a node during a flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + name: str + """The name of the output field as defined in the node's output schema.""" + content: NodeExecutionContent + """ + The content of the output field, which can contain text or structured + data. + """ + next: list[NodeOutputNext] | None = ... + """The next node that receives output data from this field.""" + type: str | None = ... + """The data type of the output field for compatibility validation.""" + +@dataclass(kw_only=True) +class NodeOutputNext(_SerdeShape): + """Represents the next node that receives output data.""" + + node_name: str + """The name of the next node that receives the output data.""" + input_field_name: str + """The name of the input field in the next node that receives the data.""" + +@dataclass +class NodeTraceElementsAgentTraces(_SerdeShape): + """Agent trace information for the node execution.""" + + value: list[TracePart] + +@dataclass +class NodeTraceElementsUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +NodeTraceElements = Union[NodeTraceElementsAgentTraces | NodeTraceElementsUnknown] +"""Contains trace elements for node execution tracking.""" + +class _NodeTraceElementsDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> NodeTraceElements: ... + +class NodeType(UnknownEnumMixin, StrEnum): + FLOW_INPUT_NODE = "FlowInputNode" + FLOW_OUTPUT_NODE = "FlowOutputNode" + LAMBDA_FUNCTION_NODE = "LambdaFunctionNode" + KNOWLEDGE_BASE_NODE = "KnowledgeBaseNode" + PROMPT_NODE = "PromptNode" + CONDITION_NODE = "ConditionNode" + LEX_NODE = "LexNode" + +@dataclass(kw_only=True) +class Observation(_SerdeShape): + """ + Contains the result or output of an action group or knowledge base, or + the response to the user. + """ + + trace_id: str | None = ... + """The unique identifier of the trace.""" + type: str | None = ... + """ + Specifies what kind of information the agent returns in the observation. + The following values are possible. + + - `ACTION_GROUP` -- The agent returns the result of an action group. + + - `KNOWLEDGE_BASE` -- The agent returns information from a knowledge + base. + + - `FINISH` -- The agent returns a final response to the user with no + follow-up. + + - `ASK_USER` -- The agent asks the user a question. + + - `REPROMPT` -- The agent prompts the user again for the same + information. + """ + action_group_invocation_output: ActionGroupInvocationOutput | None = ... + """ + Contains the JSON-formatted string returned by the API invoked by the + action group. + """ + agent_collaborator_invocation_output: AgentCollaboratorInvocationOutput | None = ... + """A collaborator's invocation output.""" + knowledge_base_lookup_output: KnowledgeBaseLookupOutput | None = ... + """Contains details about the results from looking up the knowledge base.""" + final_response: FinalResponse | None = ... + """Contains details about the response to the user.""" + reprompt_response: RepromptResponse | None = ... + """Contains details about the response to reprompt the input.""" + code_interpreter_invocation_output: CodeInterpreterInvocationOutput | None = ... + """ + Contains the JSON-formatted string returned by the API invoked by the + code interpreter. + """ + +@dataclass +class OptimizedPromptTextPrompt(_SerdeShape): + """Contains information about the text in the prompt that was optimized.""" + + value: TextPrompt + +@dataclass +class OptimizedPromptUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +OptimizedPrompt = Union[OptimizedPromptTextPrompt | OptimizedPromptUnknown] +"""Contains information about the optimized prompt.""" + +class _OptimizedPromptDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> OptimizedPrompt: ... + +@dataclass(kw_only=True) +class OptimizedPromptEvent(_SerdeShape): + """An event in which the prompt was optimized.""" + + optimized_prompt: OptimizedPrompt | None = ... + """Contains information about the optimized prompt.""" + +@dataclass +class OptimizedPromptStreamOptimizedPromptEvent(_SerdeShape): + """An event in which the prompt was optimized.""" + + value: OptimizedPromptEvent + +@dataclass +class OptimizedPromptStreamAnalyzePromptEvent(_SerdeShape): + """ + An event in which the prompt was analyzed in preparation for + optimization. + """ + + value: AnalyzePromptEvent + +@dataclass +class OptimizedPromptStreamInternalServerException(_SerdeShape): + """An internal server error occurred. Retry your request.""" + + value: InternalServerException + +@dataclass +class OptimizedPromptStreamThrottlingException(_SerdeShape): + """ + Your request was throttled because of service-wide limitations. Resubmit + your request later or in a different region. You can also purchase + [Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html) + to increase the rate or number of tokens you can process. + """ + + value: ThrottlingException + +@dataclass +class OptimizedPromptStreamValidationException(_SerdeShape): + """ + Input validation failed. Check your request parameters and retry the + request. + """ + + value: ValidationException + +@dataclass +class OptimizedPromptStreamDependencyFailedException(_SerdeShape): + """ + There was an issue with a dependency. Check the resource configurations + and retry the request. + """ + + value: DependencyFailedException + +@dataclass +class OptimizedPromptStreamAccessDeniedException(_SerdeShape): + """ + The request is denied because of missing access permissions. Check your + permissions and retry your request. + """ + + value: AccessDeniedException + +@dataclass +class OptimizedPromptStreamBadGatewayException(_SerdeShape): + """ + There was an issue with a dependency due to a server issue. Retry your + request. + """ + + value: BadGatewayException + +@dataclass +class OptimizedPromptStreamUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +OptimizedPromptStream = Union[ + OptimizedPromptStreamOptimizedPromptEvent + | OptimizedPromptStreamAnalyzePromptEvent + | OptimizedPromptStreamInternalServerException + | OptimizedPromptStreamThrottlingException + | OptimizedPromptStreamValidationException + | OptimizedPromptStreamDependencyFailedException + | OptimizedPromptStreamAccessDeniedException + | OptimizedPromptStreamBadGatewayException + | OptimizedPromptStreamUnknown +] +"""The stream containing events in the prompt optimization process.""" + +class _OptimizedPromptStreamDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> OptimizedPromptStream: ... + +@dataclass(kw_only=True) +class OptimizePromptInput(_SerdeShape): + """Dataclass for OptimizePromptInput structure.""" + + input: InputPrompt | None = ... + """Contains the prompt to optimize.""" + target_model_id: str | None = ... + """ + The unique identifier of the model that you want to optimize the prompt + for. + """ + +@dataclass(kw_only=True) +class OptimizePromptOutput(_SerdeShape): + """Dataclass for OptimizePromptOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OrchestrationConfiguration(_SerdeShape): + """ + Settings for how the model processes the prompt prior to retrieval and + generation. + """ + + prompt_template: PromptTemplate | None = ... + """ + Contains the template for the prompt that's sent to the model. + Orchestration prompts must include the `$conversation_history$` and + `$output_format_instructions$` variables. For more information, see [Use + placeholder + variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html) + in the user guide. + """ + inference_config: InferenceConfig | None = ... + """ + Configuration settings for inference when using RetrieveAndGenerate to + generate responses while using a knowledge base as a source. + """ + additional_model_request_fields: dict[str, Document] | None = ... + """ + Additional model parameters and corresponding values not included in the + textInferenceConfig structure for a knowledge base. This allows users to + provide custom model parameters specific to the language model being + used. + """ + query_transformation_configuration: QueryTransformationConfiguration | None = ... + """ + To split up the prompt and retrieve multiple sources, set the + transformation type to `QUERY_DECOMPOSITION`. + """ + performance_config: PerformanceConfiguration | None = ... + """The latency configuration for the model.""" + +@dataclass +class OrchestrationExecutorLambda(_SerdeShape): + """ + The Amazon Resource Name (ARN) of the Lambda function containing the + business logic that is carried out upon invoking the action. + """ + + value: str + +@dataclass +class OrchestrationExecutorUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +OrchestrationExecutor = Union[ + OrchestrationExecutorLambda | OrchestrationExecutorUnknown +] +""" +The structure of the executor invoking the actions in custom +orchestration. +""" + +class _OrchestrationExecutorDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> OrchestrationExecutor: ... + +@dataclass(kw_only=True) +class OrchestrationModelInvocationOutput(_SerdeShape): + """The foundation model output from the orchestration step.""" + + trace_id: str | None = ... + """The unique identifier of the trace.""" + raw_response: RawResponse | None = ... + """Contains details of the raw response from the foundation model output.""" + metadata: Metadata | None = ... + """ + Contains information about the foundation model output from the + orchestration step. + """ + reasoning_content: ReasoningContentBlock | None = ... + """ + Contains content about the reasoning that the model made during the + orchestration step. + """ + +@dataclass +class OrchestrationTraceRationale(_SerdeShape): + """ + Details about the reasoning, based on the input, that the agent uses to + justify carrying out an action group or getting information from a + knowledge base. + """ + + value: Rationale + +@dataclass +class OrchestrationTraceInvocationInput(_SerdeShape): + """ + Contains information pertaining to the action group or knowledge base + that is being invoked. + """ + + value: InvocationInput + +@dataclass +class OrchestrationTraceObservation(_SerdeShape): + """ + Details about the observation (the output of the action group Lambda or + knowledge base) made by the agent. + """ + + value: Observation + +@dataclass +class OrchestrationTraceModelInvocationInput(_SerdeShape): + """ + The input for the orchestration step. + + - The `type` is `ORCHESTRATION`. + + - The `text` contains the prompt. + + - The `inferenceConfiguration`, `parserMode`, and `overrideLambda` + values are set in the + [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + object that was set when the agent was created or updated. + """ + + value: ModelInvocationInput + +@dataclass +class OrchestrationTraceModelInvocationOutput(_SerdeShape): + """ + Contains information pertaining to the output from the foundation model + that is being invoked. + """ + + value: OrchestrationModelInvocationOutput + +@dataclass +class OrchestrationTraceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +OrchestrationTrace = Union[ + OrchestrationTraceRationale + | OrchestrationTraceInvocationInput + | OrchestrationTraceObservation + | OrchestrationTraceModelInvocationInput + | OrchestrationTraceModelInvocationOutput + | OrchestrationTraceUnknown +] +""" +Details about the orchestration step, in which the agent determines the +order in which actions are executed and which knowledge bases are +retrieved. +""" + +class _OrchestrationTraceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> OrchestrationTrace: ... + +class OrchestrationType(UnknownEnumMixin, StrEnum): + DEFAULT = "DEFAULT" + CUSTOM_ORCHESTRATION = "CUSTOM_ORCHESTRATION" + +@dataclass(kw_only=True) +class OutputFile(_SerdeShape): + """Contains details of the response from code interpreter.""" + + name: str | None = ... + """The name of the file containing response from code interpreter.""" + type: str | None = ... + """The type of file that contains response from the code interpreter.""" + bytes_: bytes | None = ... + """The byte count of files that contains response from code interpreter.""" + +@dataclass(kw_only=True) +class Parameter(_SerdeShape): + """A parameter for the API request or function.""" + + name: str | None = ... + """The name of the parameter.""" + type: str | None = ... + """The type of the parameter.""" + value: str | None = ... + """The value of the parameter.""" + +@dataclass(kw_only=True) +class ParameterDetail(_SerdeShape): + """Contains details about a parameter in a function for an action group.""" + + description: str | None = ... + """ + A description of the parameter. Helps the foundation model determine how + to elicit the parameters from the user. + """ + type: str + """The data type of the parameter.""" + required: bool | None = ... + """ + Whether the parameter is required for the agent to complete the function + for action group invocation. + """ + +class ParameterType(UnknownEnumMixin, StrEnum): + STRING = "string" + NUMBER = "number" + INTEGER = "integer" + BOOLEAN = "boolean" + ARRAY = "array" + +@dataclass(kw_only=True) +class PayloadPart(_SerdeShape): + """Contains a part of an agent response and citations for it.""" + + bytes_: bytes | None = ... + """A part of the agent response in bytes.""" + attribution: Attribution | None = ... + """Contains citations for a part of an agent response.""" + +class PayloadType(UnknownEnumMixin, StrEnum): + TEXT = "TEXT" + RETURN_CONTROL = "RETURN_CONTROL" + +class PerformanceConfigLatency(UnknownEnumMixin, StrEnum): + STANDARD = "standard" + OPTIMIZED = "optimized" + +@dataclass(kw_only=True) +class PerformanceConfiguration(_SerdeShape): + """Performance settings for a model.""" + + latency: str = ... + """To use a latency-optimized version of the model, set to `optimized`.""" + +@dataclass(kw_only=True) +class PostProcessingModelInvocationOutput(_SerdeShape): + """The foundation model output from the post-processing step.""" + + trace_id: str | None = ... + """The unique identifier of the trace.""" + parsed_response: PostProcessingParsedResponse | None = ... + """ + Details about the response from the Lambda parsing of the output of the + post-processing step. + """ + raw_response: RawResponse | None = ... + """Details of the raw response from the foundation model output.""" + metadata: Metadata | None = ... + """ + Contains information about the foundation model output from the + post-processing step. + """ + reasoning_content: ReasoningContentBlock | None = ... + """ + Contains content about the reasoning that the model made during the + post-processing step. + """ + +@dataclass(kw_only=True) +class PostProcessingParsedResponse(_SerdeShape): + """ + Details about the response from the Lambda parsing of the output from + the post-processing step. + """ + + text: str | None = ... + """The text returned by the parser.""" + +@dataclass +class PostProcessingTraceModelInvocationInput(_SerdeShape): + """ + The input for the post-processing step. + + - The `type` is `POST_PROCESSING`. + + - The `text` contains the prompt. + + - The `inferenceConfiguration`, `parserMode`, and `overrideLambda` + values are set in the + [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + object that was set when the agent was created or updated. + """ + + value: ModelInvocationInput + +@dataclass +class PostProcessingTraceModelInvocationOutput(_SerdeShape): + """The foundation model output from the post-processing step.""" + + value: PostProcessingModelInvocationOutput + +@dataclass +class PostProcessingTraceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PostProcessingTrace = Union[ + PostProcessingTraceModelInvocationInput + | PostProcessingTraceModelInvocationOutput + | PostProcessingTraceUnknown +] +""" +Details about the post-processing step, in which the agent shapes the +response. +""" + +class _PostProcessingTraceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PostProcessingTrace: ... + +@dataclass(kw_only=True) +class PreProcessingModelInvocationOutput(_SerdeShape): + """The foundation model output from the pre-processing step.""" + + trace_id: str | None = ... + """The unique identifier of the trace.""" + parsed_response: PreProcessingParsedResponse | None = ... + """ + Details about the response from the Lambda parsing of the output of the + pre-processing step. + """ + raw_response: RawResponse | None = ... + """Details of the raw response from the foundation model output.""" + metadata: Metadata | None = ... + """ + Contains information about the foundation model output from the + pre-processing step. + """ + reasoning_content: ReasoningContentBlock | None = ... + """ + Contains content about the reasoning that the model made during the + pre-processing step. + """ + +@dataclass(kw_only=True) +class PreProcessingParsedResponse(_SerdeShape): + """ + Details about the response from the Lambda parsing of the output from + the pre-processing step. + """ + + rationale: str | None = ... + """ + The text returned by the parsing of the pre-processing step, explaining + the steps that the agent plans to take in orchestration, if the user + input is valid. + """ + is_valid: bool | None = ... + """ + Whether the user input is valid or not. If `false`, the agent doesn't + proceed to orchestration. + """ + +@dataclass +class PreProcessingTraceModelInvocationInput(_SerdeShape): + """ + The input for the pre-processing step. + + - The `type` is `PRE_PROCESSING`. + + - The `text` contains the prompt. + + - The `inferenceConfiguration`, `parserMode`, and `overrideLambda` + values are set in the + [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + object that was set when the agent was created or updated. + """ + + value: ModelInvocationInput + +@dataclass +class PreProcessingTraceModelInvocationOutput(_SerdeShape): + """The foundation model output from the pre-processing step.""" + + value: PreProcessingModelInvocationOutput + +@dataclass +class PreProcessingTraceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PreProcessingTrace = Union[ + PreProcessingTraceModelInvocationInput + | PreProcessingTraceModelInvocationOutput + | PreProcessingTraceUnknown +] +""" +Details about the pre-processing step, in which the agent contextualizes +and categorizes user inputs. +""" + +class _PreProcessingTraceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PreProcessingTrace: ... + +@dataclass(kw_only=True) +class PromptConfiguration(_SerdeShape): + """ + Contains configurations to override a prompt template in one part of an + agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + + prompt_type: str | None = ... + """ + The step in the agent sequence that this prompt configuration applies + to. + """ + prompt_creation_mode: str | None = ... + """ + Specifies whether to override the default prompt template for this + `promptType`. Set this value to `OVERRIDDEN` to use the prompt that you + provide in the `basePromptTemplate`. If you leave it as `DEFAULT`, the + agent uses a default prompt template. + """ + prompt_state: str | None = ... + """ + Specifies whether to allow the inline agent to carry out the step + specified in the `promptType`. If you set this value to `DISABLED`, the + agent skips that step. The default state for each `promptType` is as + follows. + + - `PRE_PROCESSING` -- `ENABLED` + + - `ORCHESTRATION` -- `ENABLED` + + - `KNOWLEDGE_BASE_RESPONSE_GENERATION` -- `ENABLED` + + - `POST_PROCESSING` -- `DISABLED` + """ + base_prompt_template: str | None = ... + """ + Defines the prompt template with which to replace the default prompt + template. You can use placeholder variables in the base prompt template + to customize the prompt. For more information, see [Prompt template + placeholder + variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + For more information, see [Configure the prompt + templates](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts-configure.html). + """ + inference_configuration: InferenceConfiguration | None = ... + """ + Contains inference parameters to use when the agent invokes a foundation + model in the part of the agent sequence defined by the `promptType`. For + more information, see [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + """ + parser_mode: str | None = ... + """ + Specifies whether to override the default parser Lambda function when + parsing the raw foundation model output in the part of the agent + sequence defined by the `promptType`. If you set the field as + `OVERRIDDEN`, the `overrideLambda` field in the + [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + must be specified with the ARN of a Lambda function. + """ + foundation_model: str | None = ... + """The foundation model to use.""" + additional_model_request_fields: Document | None = ... + """ + If the Converse or ConverseStream operations support the model, + `additionalModelRequestFields` contains additional inference parameters, + beyond the base set of inference parameters in the + `inferenceConfiguration` field. + + For more information, see *Inference request parameters and response + fields for foundation models* in the Amazon Bedrock user guide. + """ + +@dataclass(kw_only=True) +class PromptCreationConfigurations(_SerdeShape): + """ + Specifies parameters that control how the service populates the agent + prompt for an `InvokeAgent` or `InvokeInlineAgent` request. You can + control which aspects of previous invocations in the same agent session + the service uses to populate the agent prompt. This gives you more + granular control over the contextual history that is used to process the + current request. + """ + + previous_conversation_turns_to_include: int | None = ... + """ + The number of previous conversations from the ongoing agent session to + include in the conversation history of the agent prompt, during the + current invocation. This gives you more granular control over the + context that the model is made aware of, and helps the model remove + older context which is no longer useful during the ongoing agent + session. + """ + exclude_previous_thinking_steps: bool = ... + """ + If `true`, the service removes any content between `` tags + from previous conversations in an agent session. The service will only + remove content from already processed turns. This helps you remove + content which might not be useful for current and subsequent + invocations. This can reduce the input token count and potentially save + costs. The default value is `false`. + """ + +@dataclass(kw_only=True) +class PromptOverrideConfiguration(_SerdeShape): + """ + Contains configurations to override prompts in different parts of an + agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + + prompt_configurations: list[PromptConfiguration] + """ + Contains configurations to override a prompt template in one part of an + agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + override_lambda: str | None = ... + """ + The ARN of the Lambda function to use when parsing the raw foundation + model output in parts of the agent sequence. If you specify this field, + at least one of the `promptConfigurations` must contain a `parserMode` + value that is set to `OVERRIDDEN`. For more information, see [Parser + Lambda function in Amazon Bedrock + Agents](https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html). + """ + +class PromptState(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class PromptTemplate(_SerdeShape): + """ + Contains the template for the prompt that's sent to the model for + response generation. For more information, see [Knowledge base prompt + templates](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html#kb-test-config-sysprompt). + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + -- in the `filter` field + """ + + text_prompt_template: str | None = ... + """ + The template for the prompt that's sent to the model for response + generation. You can include prompt placeholders, which become replaced + before the prompt is sent to the model to provide instructions and + context to the model. In addition, you can include XML tags to delineate + meaningful sections of the prompt template. + + For more information, see the following resources: + + - [Knowledge base prompt + templates](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html#kb-test-config-sysprompt) + + - [Use XML tags with Anthropic Claude + models](https://docs.claude.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags) + """ + +class PromptType(UnknownEnumMixin, StrEnum): + PRE_PROCESSING = "PRE_PROCESSING" + ORCHESTRATION = "ORCHESTRATION" + KNOWLEDGE_BASE_RESPONSE_GENERATION = "KNOWLEDGE_BASE_RESPONSE_GENERATION" + POST_PROCESSING = "POST_PROCESSING" + ROUTING_CLASSIFIER = "ROUTING_CLASSIFIER" + +@dataclass(kw_only=True) +class PropertyParameters(_SerdeShape): + """Contains the parameters in the request body.""" + + properties: list[Parameter] | None = ... + """A list of parameters in the request body.""" + +@dataclass(kw_only=True) +class PutInvocationStepInput(_SerdeShape): + """Dataclass for PutInvocationStepInput structure.""" + + session_identifier: str | None = ... + """ + The unique identifier for the session to add the invocation step to. You + can specify either the session's `sessionId` or its Amazon Resource + Name (ARN). + """ + invocation_identifier: str | None = ... + """ + The unique identifier (in UUID format) of the invocation to add the + invocation step to. + """ + invocation_step_time: datetime | None = ... + """The timestamp for when the invocation step occurred.""" + payload: InvocationStepPayload | None = ... + """ + The payload for the invocation step, including text and images for the + interaction. + """ + invocation_step_id: str | None = ... + """The unique identifier of the invocation step in UUID format.""" + +@dataclass(kw_only=True) +class PutInvocationStepOutput(_SerdeShape): + """Dataclass for PutInvocationStepOutput structure.""" + + invocation_step_id: str + """The unique identifier of the invocation step in UUID format.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class QueryGenerationInput(_SerdeShape): + """ + Contains information about a natural language query to transform into + SQL. + """ + + type: str + """The type of the query.""" + text: str + """The text of the query.""" + +@dataclass(kw_only=True) +class QueryTransformationConfiguration(_SerdeShape): + """ + To split up the prompt and retrieve multiple sources, set the + transformation type to `QUERY_DECOMPOSITION`. + """ + + type: str + """The type of transformation to apply to the prompt.""" + +class QueryTransformationMode(UnknownEnumMixin, StrEnum): + TEXT_TO_SQL = "TEXT_TO_SQL" + +class QueryTransformationType(UnknownEnumMixin, StrEnum): + QUERY_DECOMPOSITION = "QUERY_DECOMPOSITION" + +@dataclass(kw_only=True) +class Rationale(_SerdeShape): + """ + Contains the reasoning, based on the input, that the agent uses to + justify carrying out an action group or getting information from a + knowledge base. + """ + + trace_id: str | None = ... + """The unique identifier of the trace step.""" + text: str | None = ... + """The reasoning or thought process of the agent, based on the input.""" + +@dataclass(kw_only=True) +class RawResponse(_SerdeShape): + """Contains the raw output from the foundation model.""" + + content: str | None = ... + """The foundation model's raw output content.""" + +@dataclass +class ReasoningContentBlockReasoningText(_SerdeShape): + """ + Contains information about the reasoning that the model used to return + the content in the content block. + """ + + value: ReasoningTextBlock + +@dataclass +class ReasoningContentBlockRedactedContent(_SerdeShape): + """ + The content in the reasoning that was encrypted by the model provider + for trust and safety reasons. + """ + + value: bytes + +@dataclass +class ReasoningContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ReasoningContentBlock = Union[ + ReasoningContentBlockReasoningText + | ReasoningContentBlockRedactedContent + | ReasoningContentBlockUnknown +] +""" +Contains content regarding the reasoning that the foundation model made +with respect to the content in the content block. Reasoning refers to a +Chain of Thought (CoT) that the model generates to enhance the accuracy +of its final response. +""" + +class _ReasoningContentBlockDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ReasoningContentBlock: ... + +@dataclass(kw_only=True) +class ReasoningTextBlock(_SerdeShape): + """ + Contains information about the reasoning that the model used to return + the content in the content block. + """ + + text: str + """ + Text describing the reasoning that the model used to return the content + in the content block. + """ + signature: str | None = ... + """ + A hash of all the messages in the conversation to ensure that the + content in the reasoning text block isn't tampered with. You must + submit the signature in subsequent `Converse` requests, in addition to + the previous messages. If the previous messages are tampered with, the + response throws an error. + """ + +class RelayConversationHistory(UnknownEnumMixin, StrEnum): + TO_COLLABORATOR = "TO_COLLABORATOR" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class RepromptResponse(_SerdeShape): + """Contains details about the agent's response to reprompt the input.""" + + text: str | None = ... + """The text reprompting the input.""" + source: str | None = ... + """Specifies what output is prompting the agent to reprompt the input.""" + +@dataclass(kw_only=True) +class RequestBody(_SerdeShape): + """The parameters in the API request body.""" + + content: dict[str, list[Parameter]] | None = ... + """The content in the request body.""" + +class RequireConfirmation(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class RerankDocument(_SerdeShape): + """ + Contains information about a document to rerank. Choose the `type` to + define and include the field that corresponds to the type. + """ + + type: str + """The type of document to rerank.""" + text_document: RerankTextDocument | None = ... + """Contains information about a text document to rerank.""" + json_document: Document | None = ... + """Contains a JSON document to rerank.""" + +class RerankDocumentType(UnknownEnumMixin, StrEnum): + TEXT = "TEXT" + JSON = "JSON" + +@dataclass(kw_only=True) +class RerankingConfiguration(_SerdeShape): + """Contains configurations for reranking.""" + + type: str + """The type of reranker that the configurations apply to.""" + bedrock_reranking_configuration: BedrockRerankingConfiguration + """Contains configurations for an Amazon Bedrock reranker.""" + +class RerankingConfigurationType(UnknownEnumMixin, StrEnum): + BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" + +class RerankingMetadataSelectionMode(UnknownEnumMixin, StrEnum): + SELECTIVE = "SELECTIVE" + ALL = "ALL" + +@dataclass +class RerankingMetadataSelectiveModeConfigurationFieldsToInclude(_SerdeShape): + """ + An array of objects, each of which specifies a metadata field to include + in consideration when reranking. The remaining metadata fields are + ignored. + """ + + value: list[FieldForReranking] + +@dataclass +class RerankingMetadataSelectiveModeConfigurationFieldsToExclude(_SerdeShape): + """ + An array of objects, each of which specifies a metadata field to exclude + from consideration when reranking. + """ + + value: list[FieldForReranking] + +@dataclass +class RerankingMetadataSelectiveModeConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RerankingMetadataSelectiveModeConfiguration = Union[ + RerankingMetadataSelectiveModeConfigurationFieldsToInclude + | RerankingMetadataSelectiveModeConfigurationFieldsToExclude + | RerankingMetadataSelectiveModeConfigurationUnknown +] +""" +Contains configurations for the metadata fields to include or exclude +when considering reranking. If you include the `fieldsToExclude` field, +the reranker ignores all the metadata fields that you specify. If you +include the `fieldsToInclude` field, the reranker uses only the metadata +fields that you specify and ignores all others. You can include only one +of these fields. +""" + +class _RerankingMetadataSelectiveModeConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RerankingMetadataSelectiveModeConfiguration: ... + +class RerankingModelType(UnknownEnumMixin, StrEnum): + CUSTOM = "CUSTOM" + MANAGED = "MANAGED" + NONE = "NONE" + +@dataclass(kw_only=True) +class RerankInput(_SerdeShape): + """Dataclass for RerankInput structure.""" + + queries: list[RerankQuery] | None = ... + """ + An array of objects, each of which contains information about a query to + submit to the reranker model. + """ + sources: list[RerankSource] | None = ... + """ + An array of objects, each of which contains information about the + sources to rerank. + """ + reranking_configuration: RerankingConfiguration | None = ... + """Contains configurations for reranking.""" + next_token: str | None = ... + """ + If the total number of results was greater than could fit in a response, + a token is returned in the `nextToken` field. You can enter that token + in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class RerankOutput(_SerdeShape): + """Dataclass for RerankOutput structure.""" + + results: list[RerankResult] + """ + An array of objects, each of which contains information about the + results of reranking. + """ + next_token: str | None = ... + """ + If the total number of results is greater than can fit in the response, + use this token in the `nextToken` field when making another request to + return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RerankQuery(_SerdeShape): + """Contains information about a query to submit to the reranker model.""" + + type: str + """The type of the query.""" + text_query: RerankTextDocument + """Contains information about a text query.""" + +class RerankQueryContentType(UnknownEnumMixin, StrEnum): + TEXT = "TEXT" + +@dataclass(kw_only=True) +class RerankResult(_SerdeShape): + """Contains information about a document that was reranked.""" + + index: int + """The original index of the document from the input sources array.""" + relevance_score: float + """The relevance score of the document.""" + document: RerankDocument | None = ... + """Contains information about the document.""" + +@dataclass(kw_only=True) +class RerankSource(_SerdeShape): + """Contains information about a source for reranking.""" + + type: str + """The type of the source.""" + inline_document_source: RerankDocument + """Contains an inline definition of a source for reranking.""" + +class RerankSourceType(UnknownEnumMixin, StrEnum): + INLINE = "INLINE" + +@dataclass(kw_only=True) +class RerankTextDocument(_SerdeShape): + """Contains information about a text document to rerank.""" + + text: str | None = ... + """The text of the document.""" + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """ + The specified resource Amazon Resource Name (ARN) was not found. Check + the Amazon Resource Name (ARN) and try your request again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ResponseState(UnknownEnumMixin, StrEnum): + FAILURE = "FAILURE" + REPROMPT = "REPROMPT" + +@dataclass +class ResponseStreamChunk(_SerdeShape): + """Contains a part of an agent response and citations for it.""" + + value: PayloadPart + +@dataclass +class ResponseStreamTrace(_SerdeShape): + """ + Contains information about the agent and session, alongside the agent's + reasoning process and results from calling actions and querying + knowledge bases and metadata about the trace. You can use the trace to + understand how the agent arrived at the response it provided the + customer. For more information, see [Trace + events](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html). + """ + + value: TracePart + +@dataclass +class ResponseStreamReturnControl(_SerdeShape): + """ + Contains the parameters and information that the agent elicited from the + customer to carry out an action. This information is returned to the + system and can be used in your own setup for fulfilling the action. + """ + + value: ReturnControlPayload + +@dataclass +class ResponseStreamInternalServerException(_SerdeShape): + """An internal server error occurred. Retry your request.""" + + value: InternalServerException + +@dataclass +class ResponseStreamValidationException(_SerdeShape): + """ + Input validation failed. Check your request parameters and retry the + request. + """ + + value: ValidationException + +@dataclass +class ResponseStreamResourceNotFoundException(_SerdeShape): + """ + The specified resource Amazon Resource Name (ARN) was not found. Check + the Amazon Resource Name (ARN) and try your request again. + """ + + value: ResourceNotFoundException + +@dataclass +class ResponseStreamServiceQuotaExceededException(_SerdeShape): + """ + The number of requests exceeds the service quota. Resubmit your request + later. + """ + + value: ServiceQuotaExceededException + +@dataclass +class ResponseStreamThrottlingException(_SerdeShape): + """The number of requests exceeds the limit. Resubmit your request later.""" + + value: ThrottlingException + +@dataclass +class ResponseStreamAccessDeniedException(_SerdeShape): + """ + The request is denied because of missing access permissions. Check your + permissions and retry your request. + """ + + value: AccessDeniedException + +@dataclass +class ResponseStreamConflictException(_SerdeShape): + """ + There was a conflict performing an operation. Resolve the conflict and + retry your request. + """ + + value: ConflictException + +@dataclass +class ResponseStreamDependencyFailedException(_SerdeShape): + """ + There was an issue with a dependency. Check the resource configurations + and retry the request. + """ + + value: DependencyFailedException + +@dataclass +class ResponseStreamBadGatewayException(_SerdeShape): + """ + There was an issue with a dependency due to a server issue. Retry your + request. + """ + + value: BadGatewayException + +@dataclass +class ResponseStreamModelNotReadyException(_SerdeShape): + """ + The model specified in the request is not ready to serve Inference + requests. The AWS SDK will automatically retry the operation up to 5 + times. For information about configuring automatic retries, see [Retry + behavior](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html) + in the *AWS SDKs and Tools* reference guide. + """ + + value: ModelNotReadyException + +@dataclass +class ResponseStreamFiles(_SerdeShape): + """ + Contains intermediate response for code interpreter if any files have + been generated. + """ + + value: FilePart + +@dataclass +class ResponseStreamUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ResponseStream = Union[ + ResponseStreamChunk + | ResponseStreamTrace + | ResponseStreamReturnControl + | ResponseStreamInternalServerException + | ResponseStreamValidationException + | ResponseStreamResourceNotFoundException + | ResponseStreamServiceQuotaExceededException + | ResponseStreamThrottlingException + | ResponseStreamAccessDeniedException + | ResponseStreamConflictException + | ResponseStreamDependencyFailedException + | ResponseStreamBadGatewayException + | ResponseStreamModelNotReadyException + | ResponseStreamFiles + | ResponseStreamUnknown +] +""" +The response from invoking the agent and associated citations and trace +information. +""" + +class _ResponseStreamDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ResponseStream: ... + +@dataclass(kw_only=True) +class RetrievalContent(_SerdeShape): + """The content retrieved from a knowledge source.""" + + byte_content: bytes | None = ... + """The binary content of the retrieved item.""" + text: str | None = ... + """The text content of the retrieved item.""" + mime_type: str + """The MIME type of the retrieved content.""" + +@dataclass +class RetrievalFilterEquals(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value matches the + `value` in this object. + + The following example would return data sources with an `animal` + attribute whose value is `cat`: + + `"equals": { "key": "animal", "value": "cat" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterNotEquals(_SerdeShape): + """ + Knowledge base data sources are returned when: + + - It contains a metadata attribute whose name matches the `key` and + whose value doesn't match the `value` in this object. + + - The key is not present in the document. + + The following example would return data sources that don't contain an + `animal` attribute whose value is `cat`. + + `"notEquals": { "key": "animal", "value": "cat" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterGreaterThan(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value is greater than + the `value` in this object. + + The following example would return data sources with an `year` attribute + whose value is greater than `1989`: + + `"greaterThan": { "key": "year", "value": 1989 }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterGreaterThanOrEquals(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value is greater than + or equal to the `value` in this object. + + The following example would return data sources with an `year` attribute + whose value is greater than or equal to `1989`: + + `"greaterThanOrEquals": { "key": "year", "value": 1989 }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterLessThan(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value is less than the + `value` in this object. + + The following example would return data sources with an `year` attribute + whose value is less than to `1989`. + + `"lessThan": { "key": "year", "value": 1989 }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterLessThanOrEquals(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value is less than or + equal to the `value` in this object. + + The following example would return data sources with an `year` attribute + whose value is less than or equal to `1989`. + + `"lessThanOrEquals": { "key": "year", "value": 1989 }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterIn(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value is in the list + specified in the `value` in this object. + + The following example would return data sources with an `animal` + attribute that is either `cat` or `dog`: + + `"in": { "key": "animal", "value": ["cat", "dog"] }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterNotIn(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value isn't in the + list specified in the `value` in this object. + + The following example would return data sources whose `animal` attribute + is neither `cat` nor `dog`. + + `"notIn": { "key": "animal", "value": ["cat", "dog"] }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterStartsWith(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value starts with the + `value` in this object. This filter is currently only supported for + Amazon OpenSearch Serverless vector stores. + + The following example would return data sources with an `animal` + attribute starts with `ca` (for example, `cat` or `camel`). + + `"startsWith": { "key": "animal", "value": "ca" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterListContains(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value is a list that + contains the `value` as one of its members. + + The following example would return data sources with an `animals` + attribute that is a list containing a `cat` member (for example + `["dog", "cat"]`). + + `"listContains": { "key": "animals", "value": "cat" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterStringContains(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the `key` and whose value is one of the + following: + + - A string that contains the `value` as a substring. The following + example would return data sources with an `animal` attribute that + contains the substring `at` (for example `cat`). + + `"stringContains": { "key": "animal", "value": "at" }` + + - A list with a member that contains the `value` as a substring. The + following example would return data sources with an `animals` + attribute that is a list containing a member that contains the + substring `at` (for example `["dog", "cat"]`). + + `"stringContains": { "key": "animals", "value": "at" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterAndAll(_SerdeShape): + """ + Knowledge base data sources are returned if their metadata attributes + fulfill all the filter conditions inside this list. + """ + + value: list[RetrievalFilter] + +@dataclass +class RetrievalFilterOrAll(_SerdeShape): + """ + Knowledge base data sources are returned if their metadata attributes + fulfill at least one of the filter conditions inside this list. + """ + + value: list[RetrievalFilter] + +@dataclass +class RetrievalFilterUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RetrievalFilter = Union[ + RetrievalFilterEquals + | RetrievalFilterNotEquals + | RetrievalFilterGreaterThan + | RetrievalFilterGreaterThanOrEquals + | RetrievalFilterLessThan + | RetrievalFilterLessThanOrEquals + | RetrievalFilterIn + | RetrievalFilterNotIn + | RetrievalFilterStartsWith + | RetrievalFilterListContains + | RetrievalFilterStringContains + | RetrievalFilterAndAll + | RetrievalFilterOrAll + | RetrievalFilterUnknown +] +""" +Specifies the filters to use on the metadata attributes in the knowledge +base data sources before returning results. For more information, see +[Query +configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). +See the examples below to see how to use these filters. + +This data type is used in the following API operations: + +- [Retrieve + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) + -- in the `filter` field + +- [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + -- in the `filter` field +""" + +class _RetrievalFilterDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RetrievalFilter: ... + +@dataclass(kw_only=True) +class RetrievalOverrides(_SerdeShape): + """Overrides for retrieval behavior.""" + + filter: RetrievalFilter | None = ... + """A filter to apply to the retrieval results.""" + max_number_of_results: int | None = ... + """The maximum number of results to return.""" + +@dataclass(kw_only=True) +class RetrievalResultConfluenceLocation(_SerdeShape): + """The Confluence data source location.""" + + url: str | None = ... + """The Confluence host URL for the data source location.""" + +@dataclass(kw_only=True) +class RetrievalResultContent(_SerdeShape): + """ + Contains information about a chunk of text from a data source in the + knowledge base. If the result is from a structured data source, the cell + in the database and the type of the value is also identified. + + This data type is used in the following API operations: + + - [Retrieve + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) + -- in the `content` field + + - [RetrieveAndGenerate + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) + -- in the `content` field + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + -- in the `content` field + """ + + type: str | None = ... + """The type of content in the retrieval result.""" + text: str = ... + """The cited text from the data source.""" + byte_content: str | None = ... + """ + A data URI with base64-encoded content from the data source. The URI is + in the following format: returned in the following format: + `data:image/jpeg;base64,${base64-encoded string}`. + """ + video: VideoSegment | None = ... + """ + Video segment information when the retrieval result contains video + content. + """ + audio: AudioSegment | None = ... + """ + Audio segment information when the retrieval result contains audio + content. + """ + row: list[RetrievalResultContentColumn] | None = ... + """ + Specifies information about the rows with the cells to return in + retrieval. + """ + +@dataclass(kw_only=True) +class RetrievalResultContentColumn(_SerdeShape): + """Contains information about a column with a cell to return in retrieval.""" + + column_name: str | None = ... + """The name of the column.""" + column_value: str | None = ... + """The value in the column.""" + type: str | None = ... + """The data type of the value.""" + +class RetrievalResultContentColumnType(UnknownEnumMixin, StrEnum): + BLOB = "BLOB" + BOOLEAN = "BOOLEAN" + DOUBLE = "DOUBLE" + NULL = "NULL" + LONG = "LONG" + STRING = "STRING" + +class RetrievalResultContentType(UnknownEnumMixin, StrEnum): + TEXT = "TEXT" + IMAGE = "IMAGE" + ROW = "ROW" + AUDIO = "AUDIO" + VIDEO = "VIDEO" + +@dataclass(kw_only=True) +class RetrievalResultCustomDocumentLocation(_SerdeShape): + """ + Contains information about the location of a document in a custom data + source. + """ + + id: str | None = ... + """The ID of the document.""" + +@dataclass(kw_only=True) +class RetrievalResultGoogleDriveLocation(_SerdeShape): + """The Google Drive location of a retrieval result.""" + + url: str | None = ... + """The Google Drive URL for the data source location.""" + +@dataclass(kw_only=True) +class RetrievalResultKendraDocumentLocation(_SerdeShape): + """The location of a result in Amazon Kendra.""" + + uri: str | None = ... + """The document's uri.""" + +@dataclass(kw_only=True) +class RetrievalResultLocation(_SerdeShape): + """ + Contains information about the data source location. + + This data type is used in the following API operations: + + - [Retrieve + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) + -- in the `location` field + + - [RetrieveAndGenerate + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) + -- in the `location` field + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + -- in the `location` field + """ + + type: str + """The type of data source location.""" + s3_location: RetrievalResultS3Location | None = ... + """The S3 data source location.""" + web_location: RetrievalResultWebLocation | None = ... + """The web URL/URLs data source location.""" + confluence_location: RetrievalResultConfluenceLocation | None = ... + """The Confluence data source location.""" + salesforce_location: RetrievalResultSalesforceLocation | None = ... + """The Salesforce data source location.""" + share_point_location: RetrievalResultSharePointLocation | None = ... + """The SharePoint data source location.""" + custom_document_location: RetrievalResultCustomDocumentLocation | None = ... + """Specifies the location of a document in a custom data source.""" + kendra_document_location: RetrievalResultKendraDocumentLocation | None = ... + """The location of a document in Amazon Kendra.""" + sql_location: RetrievalResultSqlLocation | None = ... + """Specifies information about the SQL query used to retrieve the result.""" + one_drive_location: RetrievalResultOneDriveLocation | None = ... + """The Microsoft OneDrive data source location.""" + google_drive_location: RetrievalResultGoogleDriveLocation | None = ... + """The Google Drive data source location.""" + +class RetrievalResultLocationType(UnknownEnumMixin, StrEnum): + S3 = "S3" + WEB = "WEB" + CONFLUENCE = "CONFLUENCE" + SALESFORCE = "SALESFORCE" + SHAREPOINT = "SHAREPOINT" + CUSTOM = "CUSTOM" + KENDRA = "KENDRA" + SQL = "SQL" + ONEDRIVE = "ONEDRIVE" + GOOGLEDRIVE = "GOOGLEDRIVE" + +@dataclass(kw_only=True) +class RetrievalResultOneDriveLocation(_SerdeShape): + """The Microsoft OneDrive location of a retrieval result.""" + + url: str | None = ... + """The OneDrive URL for the data source location.""" + +@dataclass(kw_only=True) +class RetrievalResultS3Location(_SerdeShape): + """ + The S3 data source location. + + This data type is used in the following API operations: + + - [Retrieve + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) + -- in the `s3Location` field + + - [RetrieveAndGenerate + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) + -- in the `s3Location` field + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + -- in the `s3Location` field + """ + + uri: str | None = ... + """The S3 URI for the data source location.""" + +@dataclass(kw_only=True) +class RetrievalResultSalesforceLocation(_SerdeShape): + """The Salesforce data source location.""" + + url: str | None = ... + """The Salesforce host URL for the data source location.""" + +@dataclass(kw_only=True) +class RetrievalResultSharePointLocation(_SerdeShape): + """The SharePoint data source location.""" + + url: str | None = ... + """The SharePoint site URL for the data source location.""" + +@dataclass(kw_only=True) +class RetrievalResultSqlLocation(_SerdeShape): + """Contains information about the SQL query used to retrieve the result.""" + + query: str | None = ... + """The SQL query used to retrieve the result.""" + +@dataclass(kw_only=True) +class RetrievalResultWebLocation(_SerdeShape): + """The web URL/URLs data source location.""" + + url: str | None = ... + """The web URL/URLs for the data source location.""" + +@dataclass(kw_only=True) +class RetrieveAndGenerateConfiguration(_SerdeShape): + """ + Contains details about the resource being queried. + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + -- in the `retrieveAndGenerateConfiguration` field + """ + + type: str + """ + The type of resource that contains your data for retrieving information + and generating responses. + + Note: + If you choose to use `EXTERNAL_SOURCES`, then currently only Anthropic + Claude 3 Sonnet models for knowledge bases are supported. + """ + knowledge_base_configuration: ( + KnowledgeBaseRetrieveAndGenerateConfiguration | None + ) = ... + """ + Contains details about the knowledge base for retrieving information and + generating responses. + """ + external_sources_configuration: ( + ExternalSourcesRetrieveAndGenerateConfiguration | None + ) = ... + """ + The configuration for the external source wrapper object in the + `retrieveAndGenerate` function. + """ + +@dataclass(kw_only=True) +class RetrieveAndGenerateInput(_SerdeShape): + """ + Contains the query made to the knowledge base. + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + -- in the `input` field + """ + + text: str + """The query made to the knowledge base, in characters.""" + +@dataclass(kw_only=True) +class RetrieveAndGenerateOperationInput(_SerdeShape): + """Dataclass for RetrieveAndGenerateOperationInput structure.""" + + session_id: str | None = ... + """ + The unique identifier of the session. When you first make a + `RetrieveAndGenerate` request, Amazon Bedrock automatically generates + this value. You must reuse this value for all subsequent requests in the + same conversational session. This value allows Amazon Bedrock to + maintain context and knowledge from previous interactions. You can't + explicitly set the `sessionId` yourself. + """ + input: RetrieveAndGenerateInput | None = ... + """Contains the query to be made to the knowledge base.""" + retrieve_and_generate_configuration: RetrieveAndGenerateConfiguration | None = ... + """ + Contains configurations for the knowledge base query and retrieval + process. For more information, see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + """ + session_configuration: RetrieveAndGenerateSessionConfiguration | None = ... + """Contains details about the session with the knowledge base.""" + user_context: UserContext | None = ... + """ + Contains information about the user making the request. This is used for + access control filtering to ensure that retrieval results only include + documents the user is authorized to access. + """ + +@dataclass(kw_only=True) +class RetrieveAndGenerateOperationOutput(_SerdeShape): + """Dataclass for RetrieveAndGenerateOperationOutput structure.""" + + session_id: str + """ + The unique identifier of the session. When you first make a + `RetrieveAndGenerate` request, Amazon Bedrock automatically generates + this value. You must reuse this value for all subsequent requests in the + same conversational session. This value allows Amazon Bedrock to + maintain context and knowledge from previous interactions. You can't + explicitly set the `sessionId` yourself. + """ + output: RetrieveAndGenerateOutput + """Contains the response generated from querying the knowledge base.""" + citations: list[Citation] | None = ... + """ + A list of segments of the generated response that are based on sources + in the knowledge base, alongside information about the sources. + """ + guardrail_action: str | None = ... + """Specifies if there is a guardrail intervention in the response.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RetrieveAndGenerateOutput(_SerdeShape): + """ + Contains the response generated from querying the knowledge base. + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) + -- in the `output` field + """ + + text: str + """The response generated from querying the knowledge base.""" + +@dataclass(kw_only=True) +class RetrieveAndGenerateOutputEvent(_SerdeShape): + """A retrieve and generate output event.""" + + text: str + """A text response.""" + +@dataclass(kw_only=True) +class RetrieveAndGenerateSessionConfiguration(_SerdeShape): + """ + Contains configuration about the session with the knowledge base. + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) + -- in the `sessionConfiguration` field + """ + + kms_key_arn: str + """The ARN of the KMS key encrypting the session.""" + +@dataclass(kw_only=True) +class RetrieveAndGenerateStreamInput(_SerdeShape): + """Dataclass for RetrieveAndGenerateStreamInput structure.""" + + session_id: str | None = ... + """ + The unique identifier of the session. When you first make a + `RetrieveAndGenerate` request, Amazon Bedrock automatically generates + this value. You must reuse this value for all subsequent requests in the + same conversational session. This value allows Amazon Bedrock to + maintain context and knowledge from previous interactions. You can't + explicitly set the `sessionId` yourself. + """ + input: RetrieveAndGenerateInput | None = ... + """Contains the query to be made to the knowledge base.""" + retrieve_and_generate_configuration: RetrieveAndGenerateConfiguration | None = ... + """ + Contains configurations for the knowledge base query and retrieval + process. For more information, see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + """ + session_configuration: RetrieveAndGenerateSessionConfiguration | None = ... + """Contains details about the session with the knowledge base.""" + user_context: UserContext | None = ... + """ + Contains information about the user making the request. This is used for + access control filtering to ensure that retrieval results only include + documents the user is authorized to access. + """ + +@dataclass(kw_only=True) +class RetrieveAndGenerateStreamOutput(_SerdeShape): + """Dataclass for RetrieveAndGenerateStreamOutput structure.""" + + session_id: str + """The session ID.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class RetrieveAndGenerateStreamResponseOutputOutput(_SerdeShape): + """An output event.""" + + value: RetrieveAndGenerateOutputEvent + +@dataclass +class RetrieveAndGenerateStreamResponseOutputCitation(_SerdeShape): + """A citation event.""" + + value: CitationEvent + +@dataclass +class RetrieveAndGenerateStreamResponseOutputGuardrail(_SerdeShape): + """A guardrail event.""" + + value: GuardrailEvent + +@dataclass +class RetrieveAndGenerateStreamResponseOutputInternalServerException(_SerdeShape): + """An internal server error occurred. Retry your request.""" + + value: InternalServerException + +@dataclass +class RetrieveAndGenerateStreamResponseOutputValidationException(_SerdeShape): + """ + The input fails to satisfy the constraints specified by *Amazon + Bedrock*. For troubleshooting this error, see + [ValidationError](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-validation-error) + in the Amazon Bedrock User Guide. + """ + + value: ValidationException + +@dataclass +class RetrieveAndGenerateStreamResponseOutputResourceNotFoundException(_SerdeShape): + """ + The specified resource ARN was not found. For troubleshooting this + error, see + [ResourceNotFound](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-resource-not-found) + in the Amazon Bedrock User Guide. + """ + + value: ResourceNotFoundException + +@dataclass +class RetrieveAndGenerateStreamResponseOutputServiceQuotaExceededException(_SerdeShape): + """ + Your request exceeds the service quota for your account. You can view + your quotas at [Viewing service + quotas](https://docs.aws.amazon.com/servicequotas/latest/userguide/gs-request-quota.html). + You can resubmit your request later. + """ + + value: ServiceQuotaExceededException + +@dataclass +class RetrieveAndGenerateStreamResponseOutputThrottlingException(_SerdeShape): + """ + Your request was denied due to exceeding the account quotas for *Amazon + Bedrock*. For troubleshooting this error, see + [ThrottlingException](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-throttling-exception) + in the Amazon Bedrock User Guide. + """ + + value: ThrottlingException + +@dataclass +class RetrieveAndGenerateStreamResponseOutputAccessDeniedException(_SerdeShape): + """ + The request is denied because you do not have sufficient permissions to + perform the requested action. For troubleshooting this error, see + [AccessDeniedException](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-access-denied) + in the Amazon Bedrock User Guide. + """ + + value: AccessDeniedException + +@dataclass +class RetrieveAndGenerateStreamResponseOutputConflictException(_SerdeShape): + """Error occurred because of a conflict while performing an operation.""" + + value: ConflictException + +@dataclass +class RetrieveAndGenerateStreamResponseOutputDependencyFailedException(_SerdeShape): + """The request failed due to a dependency error.""" + + value: DependencyFailedException + +@dataclass +class RetrieveAndGenerateStreamResponseOutputBadGatewayException(_SerdeShape): + """The request failed due to a bad gateway error.""" + + value: BadGatewayException + +@dataclass +class RetrieveAndGenerateStreamResponseOutputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RetrieveAndGenerateStreamResponseOutput = Union[ + RetrieveAndGenerateStreamResponseOutputOutput + | RetrieveAndGenerateStreamResponseOutputCitation + | RetrieveAndGenerateStreamResponseOutputGuardrail + | RetrieveAndGenerateStreamResponseOutputInternalServerException + | RetrieveAndGenerateStreamResponseOutputValidationException + | RetrieveAndGenerateStreamResponseOutputResourceNotFoundException + | RetrieveAndGenerateStreamResponseOutputServiceQuotaExceededException + | RetrieveAndGenerateStreamResponseOutputThrottlingException + | RetrieveAndGenerateStreamResponseOutputAccessDeniedException + | RetrieveAndGenerateStreamResponseOutputConflictException + | RetrieveAndGenerateStreamResponseOutputDependencyFailedException + | RetrieveAndGenerateStreamResponseOutputBadGatewayException + | RetrieveAndGenerateStreamResponseOutputUnknown +] +"""A retrieve and generate stream response output.""" + +class _RetrieveAndGenerateStreamResponseOutputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RetrieveAndGenerateStreamResponseOutput: ... + +class RetrieveAndGenerateType(UnknownEnumMixin, StrEnum): + KNOWLEDGE_BASE = "KNOWLEDGE_BASE" + EXTERNAL_SOURCES = "EXTERNAL_SOURCES" + +@dataclass(kw_only=True) +class RetrievedReference(_SerdeShape): + """ + Contains metadata about a source cited for the generated response. + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) + -- in the `retrievedReferences` field + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + -- in the `retrievedReferences` field + """ + + content: RetrievalResultContent | None = ... + """Contains the cited text from the data source.""" + location: RetrievalResultLocation | None = ... + """Contains information about the location of the data source.""" + metadata: dict[str, Document] | None = ... + """ + Contains metadata attributes and their values for the file in the data + source. For more information, see [Metadata and + filtering](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-ds.html#kb-ds-metadata). + """ + +@dataclass(kw_only=True) +class RetrieveInput(_SerdeShape): + """Dataclass for RetrieveInput structure.""" + + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base to query.""" + retrieval_query: KnowledgeBaseQuery | None = ... + """Contains the query to send the knowledge base.""" + retrieval_configuration: KnowledgeBaseRetrievalConfiguration | None = ... + """ + Contains configurations for the knowledge base query and retrieval + process. For more information, see [Query + configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """Guardrail settings.""" + next_token: str | None = ... + """ + If there are more results than can fit in the response, the response + returns a `nextToken`. Use this token in the `nextToken` field of + another request to retrieve the next batch of results. + """ + user_context: UserContext | None = ... + """ + Contains information about the user making the request. This is used for + access control filtering to ensure that retrieval results only include + documents the user is authorized to access. + """ + +@dataclass(kw_only=True) +class RetrieveOutput(_SerdeShape): + """Dataclass for RetrieveOutput structure.""" + + retrieval_results: list[KnowledgeBaseRetrievalResult] + """A list of results from querying the knowledge base.""" + guardrail_action: str | None = ... + """Specifies if there is a guardrail intervention in the response.""" + next_token: str | None = ... + """ + If there are more results than can fit in the response, the response + returns a `nextToken`. Use this token in the `nextToken` field of + another request to retrieve the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class RetrieverConfigurationKnowledgeBase(_SerdeShape): + """Configuration for a knowledge base retriever.""" + + value: KnowledgeBaseRetrieverConfiguration + +@dataclass +class RetrieverConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RetrieverConfiguration = Union[ + RetrieverConfigurationKnowledgeBase | RetrieverConfigurationUnknown +] +"""Configuration for a retriever, specified as a union of retriever types.""" + +class _RetrieverConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RetrieverConfiguration: ... + +@dataclass(kw_only=True) +class ReturnControlPayload(_SerdeShape): + """ + Contains information to return from the action group that the agent has + predicted to invoke. + + This data type is used in the following API operations: + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + """ + + invocation_inputs: list[InvocationInputMember] | None = ... + """ + A list of objects that contain information about the parameters and + inputs that need to be sent into the API operation or function, based on + what the agent determines from its session with the user. + """ + invocation_id: str | None = ... + """The identifier of the action group invocation.""" + +@dataclass(kw_only=True) +class ReturnControlResults(_SerdeShape): + """An action invocation result.""" + + invocation_id: str | None = ... + """The action's invocation ID.""" + return_control_invocation_results: list[InvocationResultMember] | None = ... + """The action invocation result.""" + +@dataclass(kw_only=True) +class RoutingClassifierModelInvocationOutput(_SerdeShape): + """Invocation output from a routing classifier model.""" + + trace_id: str | None = ... + """The invocation's trace ID.""" + raw_response: RawResponse | None = ... + """The invocation's raw response.""" + metadata: Metadata | None = ... + """The invocation's metadata.""" + +@dataclass +class RoutingClassifierTraceInvocationInput(_SerdeShape): + """The classifier's invocation input.""" + + value: InvocationInput + +@dataclass +class RoutingClassifierTraceObservation(_SerdeShape): + """The classifier's observation.""" + + value: Observation + +@dataclass +class RoutingClassifierTraceModelInvocationInput(_SerdeShape): + """The classifier's model invocation input.""" + + value: ModelInvocationInput + +@dataclass +class RoutingClassifierTraceModelInvocationOutput(_SerdeShape): + """The classifier's model invocation output.""" + + value: RoutingClassifierModelInvocationOutput + +@dataclass +class RoutingClassifierTraceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RoutingClassifierTrace = Union[ + RoutingClassifierTraceInvocationInput + | RoutingClassifierTraceObservation + | RoutingClassifierTraceModelInvocationInput + | RoutingClassifierTraceModelInvocationOutput + | RoutingClassifierTraceUnknown +] +"""A trace for a routing classifier.""" + +class _RoutingClassifierTraceDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RoutingClassifierTrace: ... + +@dataclass(kw_only=True) +class S3Identifier(_SerdeShape): + """The identifier information for an Amazon S3 bucket.""" + + s3_bucket_name: str | None = ... + """The name of the S3 bucket.""" + s3_object_key: str | None = ... + """The S3 object key for the S3 resource.""" + +@dataclass(kw_only=True) +class S3Location(_SerdeShape): + """Information about the Amazon S3 bucket where the image is stored.""" + + uri: str + """The path to the Amazon S3 bucket where the image is stored.""" + +@dataclass(kw_only=True) +class S3ObjectDoc(_SerdeShape): + """The unique wrapper object of the document from the S3 location.""" + + uri: str + """The file location of the S3 wrapper object.""" + +@dataclass(kw_only=True) +class S3ObjectFile(_SerdeShape): + """Contains details of the s3 object where the source file is located.""" + + uri: str + """The uri of the s3 object.""" + +@dataclass(kw_only=True) +class SatisfiedCondition(_SerdeShape): + """ + Represents a condition that was satisfied during a condition node + evaluation in a flow execution. + + Note: + Flow executions is in preview release for Amazon Bedrock and is subject + to change. + """ + + condition_name: str + """The name of the condition that was satisfied.""" + +class SearchType(UnknownEnumMixin, StrEnum): + HYBRID = "HYBRID" + SEMANTIC = "SEMANTIC" + +@dataclass(kw_only=True) +class ServiceQuotaExceededException(ServiceError, _SerdeShape): + """ + The number of requests exceeds the service quota. Resubmit your request + later. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SessionState(_SerdeShape): + """ + Contains parameters that specify various attributes that persist across + a session or prompt. You can define session state attributes as + key-value pairs when writing a [Lambda + function](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html) + for an action group or pass them when making an + [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) + request. Use session state attributes to control and provide + conversational context for your agent and to help customize your + agent's behavior. For more information, see [Control session + context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). + """ + + session_attributes: dict[str, str] | None = ... + """ + Contains attributes that persist across a session and the values of + those attributes. If `sessionAttributes` are passed to a supervisor + agent in [multi-agent + collaboration](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-multi-agent-collaboration.html), + it will be forwarded to all agent collaborators. + """ + prompt_session_attributes: dict[str, str] | None = ... + """ + Contains attributes that persist across a prompt and the values of those + attributes. + + - In orchestration prompt template, these attributes replace the + $prompt_session_attributes$ placeholder variable. For more + information, see [Prompt template placeholder + variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + + - In [multi-agent + collaboration](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-multi-agent-collaboration.html), + the `promptSessionAttributes` will only be used by supervisor agent + when $prompt_session_attributes$ is present in prompt template. + """ + return_control_invocation_results: list[InvocationResultMember] | None = ... + """ + Contains information about the results from the action group invocation. + For more information, see [Return control to the agent + developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) + and [Control session + context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). + + Note: + If you include this field, the `inputText` field will be ignored. + """ + invocation_id: str | None = ... + """ + The identifier of the invocation of an action. This value must match the + `invocationId` returned in the `InvokeAgent` response for the action + whose results are provided in the `returnControlInvocationResults` + field. For more information, see [Return control to the agent + developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) + and [Control session + context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). + """ + files: list[InputFile] | None = ... + """Contains information about the files used by code interpreter.""" + knowledge_base_configurations: list[KnowledgeBaseConfiguration] | None = ... + """ + An array of configurations, each of which applies to a knowledge base + attached to the agent. + """ + conversation_history: ConversationHistory | None = ... + """The state's conversation history.""" + +class SessionStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + EXPIRED = "EXPIRED" + ENDED = "ENDED" + +@dataclass(kw_only=True) +class SessionSummary(_SerdeShape): + """ + Contains details about a session. For more information about sessions, + see [Store and retrieve conversation history and context with Amazon + Bedrock + sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). + """ + + session_id: str + """The unique identifier for the session.""" + session_arn: str + """The Amazon Resource Name (ARN) of the session.""" + session_status: str + """The current status of the session.""" + created_at: datetime + """The timestamp for when the session was created.""" + last_updated_at: datetime + """The timestamp for when the session was last modified.""" + +class Source(UnknownEnumMixin, StrEnum): + ACTION_GROUP = "ACTION_GROUP" + KNOWLEDGE_BASE = "KNOWLEDGE_BASE" + PARSER = "PARSER" + +@dataclass(kw_only=True) +class Span(_SerdeShape): + """ + Contains information about where the text with a citation begins and + ends in the generated output. + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) + -- in the `span` field + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + -- in the `span` field + """ + + start: int | None = ... + """Where the text with a citation starts in the generated output.""" + end: int | None = ... + """Where the text with a citation ends in the generated output.""" + +@dataclass(kw_only=True) +class StartFlowExecutionInput(_SerdeShape): + """Dataclass for StartFlowExecutionInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow to execute.""" + flow_alias_identifier: str | None = ... + """The unique identifier of the flow alias to use for the flow execution.""" + flow_execution_name: str | None = ... + """ + The unique name for the flow execution. If you don't provide one, a + system-generated name is used. + """ + inputs: list[FlowInput] | None = ... + """ + The input data required for the flow execution. This must match the + input schema defined in the flow. + """ + model_performance_configuration: ModelPerformanceConfiguration | None = ... + """ + The performance settings for the foundation model used in the flow + execution. + """ + +@dataclass(kw_only=True) +class StartFlowExecutionOutput(_SerdeShape): + """Dataclass for StartFlowExecutionOutput structure.""" + + execution_arn: str | None = ... + """ + The Amazon Resource Name (ARN) that uniquely identifies the flow + execution. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopFlowExecutionInput(_SerdeShape): + """Dataclass for StopFlowExecutionInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + flow_alias_identifier: str | None = ... + """The unique identifier of the flow alias used for the execution.""" + execution_identifier: str | None = ... + """The unique identifier of the flow execution to stop.""" + +@dataclass(kw_only=True) +class StopFlowExecutionOutput(_SerdeShape): + """Dataclass for StopFlowExecutionOutput structure.""" + + execution_arn: str | None = ... + """ + The Amazon Resource Name (ARN) that uniquely identifies the flow + execution that was stopped. + """ + status: str + """ + The updated status of the flow execution after the stop request. This + will typically be ABORTED if the execution was successfully stopped. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StreamingConfigurations(_SerdeShape): + """Configurations for streaming.""" + + stream_final_response: bool = ... + """ + Specifies whether to enable streaming for the final response. This is + set to `false` by default. + """ + apply_guardrail_interval: int | None = ... + """ + The guardrail interval to apply as response is generated. By default, + the guardrail interval is set to 50 characters. If a larger interval is + specified, the response will be generated in larger chunks with fewer + `ApplyGuardrail` calls. The following examples show the response + generated for *Hello, I am an agent* input string. + + **Example response in chunks: Interval set to 3 characters** + + `'Hel', 'lo, ','I am', ' an', ' Age', 'nt'` + + Each chunk has at least 3 characters except for the last chunk + + **Example response in chunks: Interval set to 20 or more characters** + + `Hello, I am an Agent` + """ + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Dataclass for TagResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource to tag.""" + tags: dict[str, str] | None = ... + """ + An object containing key-value pairs that define the tags to attach to + the resource. + """ + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TextInferenceConfig(_SerdeShape): + """ + Configuration settings for text generation using a language model via + the RetrieveAndGenerate operation. Includes parameters like temperature, + top-p, maximum token count, and stop sequences. + + Note: + The valid range of `maxTokens` depends on the accepted values for your + chosen model's inference parameters. To see the inference parameters + for your model, see [Inference parameters for foundation + models.](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html) + """ + + temperature: float | None = ... + """ + Controls the random-ness of text generated by the language model, + influencing how much the model sticks to the most predictable next words + versus exploring more surprising options. A lower temperature value + (e.g. 0.2 or 0.3) makes model outputs more deterministic or predictable, + while a higher temperature (e.g. 0.8 or 0.9) makes the outputs more + creative or unpredictable. + """ + top_p: float | None = ... + """ + A probability distribution threshold which controls what the model + considers for the set of possible next tokens. The model will only + consider the top p% of the probability distribution when generating the + next token. + """ + max_tokens: int | None = ... + """ + The maximum number of tokens to generate in the output text. Do not use + the minimum of 0 or the maximum of 65536. The limit values described + here are arbitary values, for actual values consult the limits defined + by your specific model. + """ + stop_sequences: list[str] | None = ... + """ + A list of sequences of characters that, if generated, will cause the + model to stop generating further tokens. Do not use a minimum length of + 1 or a maximum length of 1000. The limit values described here are + arbitary values, for actual values consult the limits defined by your + specific model. + """ + +@dataclass(kw_only=True) +class TextPrompt(_SerdeShape): + """Contains information about the text prompt to optimize.""" + + text: str + """The text in the text prompt to optimize.""" + +@dataclass(kw_only=True) +class TextResponsePart(_SerdeShape): + """ + Contains the part of the generated text that contains a citation, + alongside where it begins and ends. + + This data type is used in the following API operations: + + - [RetrieveAndGenerate + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) + -- in the `textResponsePart` field + + - [InvokeAgent + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) + -- in the `textResponsePart` field + """ + + text: str | None = ... + """The part of the generated text that contains a citation.""" + span: Span | None = ... + """ + Contains information about where the text with a citation begins and + ends in the generated output. + """ + +@dataclass(kw_only=True) +class TextToSqlConfiguration(_SerdeShape): + """Contains configurations for transforming text to SQL.""" + + type: str + """The type of resource to use in transformation.""" + knowledge_base_configuration: TextToSqlKnowledgeBaseConfiguration | None = ... + """Specifies configurations for a knowledge base to use in transformation.""" + +class TextToSqlConfigurationType(UnknownEnumMixin, StrEnum): + KNOWLEDGE_BASE = "KNOWLEDGE_BASE" + +@dataclass(kw_only=True) +class TextToSqlKnowledgeBaseConfiguration(_SerdeShape): + """Contains configurations for a knowledge base to use in transformation.""" + + knowledge_base_arn: str + """The ARN of the knowledge base""" + +@dataclass(kw_only=True) +class ThrottlingException(ServiceError, _SerdeShape): + """The number of requests exceeds the limit. Resubmit your request later.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class TraceGuardrailTrace(_SerdeShape): + """The trace details for a trace defined in the Guardrail filter.""" + + value: GuardrailTrace + +@dataclass +class TracePreProcessingTrace(_SerdeShape): + """ + Details about the pre-processing step, in which the agent contextualizes + and categorizes user inputs. + """ + + value: PreProcessingTrace + +@dataclass +class TraceOrchestrationTrace(_SerdeShape): + """ + Details about the orchestration step, in which the agent determines the + order in which actions are executed and which knowledge bases are + retrieved. + """ + + value: OrchestrationTrace + +@dataclass +class TracePostProcessingTrace(_SerdeShape): + """ + Details about the post-processing step, in which the agent shapes the + response.. + """ + + value: PostProcessingTrace + +@dataclass +class TraceRoutingClassifierTrace(_SerdeShape): + """A routing classifier's trace.""" + + value: RoutingClassifierTrace + +@dataclass +class TraceFailureTrace(_SerdeShape): + """Contains information about the failure of the interaction.""" + + value: FailureTrace + +@dataclass +class TraceCustomOrchestrationTrace(_SerdeShape): + """ + Details about the custom orchestration step in which the agent + determines the order in which actions are executed. + """ + + value: CustomOrchestrationTrace + +@dataclass +class TraceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Trace = Union[ + TraceGuardrailTrace + | TracePreProcessingTrace + | TraceOrchestrationTrace + | TracePostProcessingTrace + | TraceRoutingClassifierTrace + | TraceFailureTrace + | TraceCustomOrchestrationTrace + | TraceUnknown +] +""" +Contains one part of the agent's reasoning process and results from +calling API actions and querying knowledge bases. You can use the trace +to understand how the agent arrived at the response it provided the +customer. For more information, see [Trace +enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). +""" + +class _TraceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Trace: ... + +@dataclass +class TraceElementsAgentTraces(_SerdeShape): + """Agent trace information for the flow execution.""" + + value: list[TracePart] + +@dataclass +class TraceElementsUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +TraceElements = Union[TraceElementsAgentTraces | TraceElementsUnknown] +"""Contains trace elements for flow execution tracking.""" + +class _TraceElementsDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> TraceElements: ... + +@dataclass(kw_only=True) +class TracePart(_SerdeShape): + """ + Contains information about the agent and session, alongside the agent's + reasoning process and results from calling API actions and querying + knowledge bases and metadata about the trace. You can use the trace to + understand how the agent arrived at the response it provided the + customer. For more information, see [Trace + enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). + """ + + session_id: str | None = ... + """The unique identifier of the session with the agent.""" + trace: Trace | None = ... + """ + Contains one part of the agent's reasoning process and results from + calling API actions and querying knowledge bases. You can use the trace + to understand how the agent arrived at the response it provided the + customer. For more information, see [Trace + enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). + """ + caller_chain: list[Caller] | None = ... + """The part's caller chain.""" + event_time: datetime | None = ... + """The time of the trace.""" + collaborator_name: str | None = ... + """The part's collaborator name.""" + agent_id: str | None = ... + """The unique identifier of the agent.""" + agent_alias_id: str | None = ... + """The unique identifier of the alias of the agent.""" + agent_version: str | None = ... + """The version of the agent.""" + +@dataclass(kw_only=True) +class TransformationConfiguration(_SerdeShape): + """ + Contains configurations for transforming the natural language query into + SQL. + """ + + mode: str + """The mode of the transformation.""" + text_to_sql_configuration: TextToSqlConfiguration | None = ... + """Specifies configurations for transforming text to SQL.""" + +class Type(UnknownEnumMixin, StrEnum): + ACTION_GROUP = "ACTION_GROUP" + AGENT_COLLABORATOR = "AGENT_COLLABORATOR" + KNOWLEDGE_BASE = "KNOWLEDGE_BASE" + FINISH = "FINISH" + ASK_USER = "ASK_USER" + REPROMPT = "REPROMPT" + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Dataclass for UntagResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource from which to remove + tags. + """ + tag_keys: list[str] | None = ... + """A list of keys of the tags to remove from the resource.""" + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateSessionInput(_SerdeShape): + """Dataclass for UpdateSessionInput structure.""" + + session_metadata: dict[str, str] | None = ... + """ + A map of key-value pairs containing attributes to be persisted across + the session. For example the user's ID, their language preference, and + the type of device they are using. + """ + session_identifier: str | None = ... + """ + The unique identifier of the session to modify. You can specify either + the session's `sessionId` or its Amazon Resource Name (ARN). + """ + +@dataclass(kw_only=True) +class UpdateSessionOutput(_SerdeShape): + """Dataclass for UpdateSessionOutput structure.""" + + session_id: str + """The unique identifier of the session you updated.""" + session_arn: str + """The Amazon Resource Name (ARN) of the session that was updated.""" + session_status: str + """The status of the session you updated.""" + created_at: datetime + """The timestamp for when the session was created.""" + last_updated_at: datetime + """The timestamp for when the session was last modified.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Usage(_SerdeShape): + """Contains information of the usage of the foundation model.""" + + input_tokens: int | None = ... + """ + Contains information about the input tokens from the foundation model + usage. + """ + output_tokens: int | None = ... + """ + Contains information about the output tokens from the foundation model + usage. + """ + +@dataclass(kw_only=True) +class UserContext(_SerdeShape): + """ + Contains information about the user making the request. Use this to pass + user identity information for access control filtering, so that + retrieval results only include documents the user is authorized to + access. + """ + + user_id: str + """The identifier of the user making the retrieval request.""" + +@dataclass(kw_only=True) +class ValidationException(ServiceError, _SerdeShape): + """ + Input validation failed. Check your request parameters and retry the + request. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class VectorSearchBedrockRerankingConfiguration(_SerdeShape): + """ + Contains configurations for reranking with an Amazon Bedrock reranker + model. + """ + + model_configuration: VectorSearchBedrockRerankingModelConfiguration + """Contains configurations for the reranker model.""" + number_of_reranked_results: int | None = ... + """The number of results to return after reranking.""" + metadata_configuration: MetadataConfigurationForReranking | None = ... + """Contains configurations for the metadata to use in reranking.""" + +@dataclass(kw_only=True) +class VectorSearchBedrockRerankingModelConfiguration(_SerdeShape): + """Contains configurations for an Amazon Bedrock reranker model.""" + + model_arn: str + """The ARN of the reranker model to use.""" + additional_model_request_fields: dict[str, Document] | None = ... + """ + A JSON object whose keys are request fields for the model and whose + values are values for those fields. + """ + +@dataclass(kw_only=True) +class VectorSearchRerankingConfiguration(_SerdeShape): + """Contains configurations for reranking the retrieved results.""" + + type: str + """The type of reranker model.""" + bedrock_reranking_configuration: ( + VectorSearchBedrockRerankingConfiguration | None + ) = ... + """Contains configurations for an Amazon Bedrock reranker model.""" + +class VectorSearchRerankingConfigurationType(UnknownEnumMixin, StrEnum): + BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" + +@dataclass(kw_only=True) +class VideoSegment(_SerdeShape): + """ + Contains information about a video segment retrieved from a knowledge + base, including its location and summary. + + This data type is used in the following API operations: + + - [Retrieve + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) + -- in the `video` field + """ + + s3_uri: str + """ + The S3 URI where this specific video segment is stored in the multimodal + storage destination. + """ + summary: str | None = ... + """A text summary describing the content of the video segment.""" diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas.py index 68409e932..eb1bf4049 100644 --- a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas.py +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas.py @@ -1,7780 +1,742 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.bedrockagentruntime" -_NBS = "NonBlankString" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_m = "message" -_CCM = "CustomControlMethod" -_RC = "RETURN_CONTROL" -_sV = "smithy.api#enumValue" -_LRA = "LambdaResourceArn" -_AGE = "ActionGroupExecutor" -_l = "lambda" -_cC = "customControl" -_AGN = "ActionGroupName" -_sm = "smithy.api#sensitive" -_AP = "ApiPath" -_ET = "ExecutionType" -_LAMBDA = "LAMBDA" -_F = "Function" -_P = "Parameter" -_n = "name" -_t = "type" -_v = "value" -_Pa = "Parameters" -_me = "member" -_CM = "ContentMap" -_k = "key" -_RB = "RequestBody" -_co = "content" -_V = "Verb" -_AGII = "ActionGroupInvocationInput" -_aGN = "actionGroupName" -_ve = "verb" -_aP = "apiPath" -_p = "parameters" -_rB = "requestBody" -_f = "function" -_eT = "executionType" -_iI = "invocationId" -_DT = "DateTimestamp" -_sF = "smithy.api#timestampFormat" -_dt = "date-time" -_U = "Usage" -_iT = "inputTokens" -_oT = "outputTokens" -_M = "Metadata" -_sT = "startTime" -_eTn = "endTime" -_tTM = "totalTimeMs" -_oTTM = "operationTotalTimeMs" -_cRI = "clientRequestId" -_u = "usage" -_AGOS = "ActionGroupOutputString" -_AGIO = "ActionGroupInvocationOutput" -_te = "text" -_met = "metadata" -_AGS = "ActionGroupSignature" -_AU = "AMAZON_USERINPUT" -_AMAZONUI = "AMAZON.UserInput" -_AC = "AMAZON_CODEINTERPRETER" -_AMAZONCI = "AMAZON.CodeInterpreter" -_AC_ = "ANTHROPIC_COMPUTER" -_ANTHROPICC = "ANTHROPIC.Computer" -_AB = "ANTHROPIC_BASH" -_ANTHROPICB = "ANTHROPIC.Bash" -_AT = "ANTHROPIC_TEXTEDITOR" -_ANTHROPICTE = "ANTHROPIC.TextEditor" -_AGSP = "ActionGroupSignatureParams" -_AIT = "ActionInvocationType" -_RESULT = "RESULT" -_UC = "USER_CONFIRMATION" -_UCAR = "USER_CONFIRMATION_AND_RESULT" -_AMRFK = "AdditionalModelRequestFieldsKey" -_AMRFV = "AdditionalModelRequestFieldsValue" -_AMRF = "AdditionalModelRequestFields" -_RN = "ResourceName" -_Pay = "Payload" -_SBN = "S3BucketName" -_SOK = "S3ObjectKey" -_SI = "S3Identifier" -_sBN = "s3BucketName" -_sOK = "s3ObjectKey" -_APIS = "APISchema" -_s_ = "s3" -_pa = "payload" -_RD = "ResourceDescription" -_FD = "FunctionDescription" -_PN = "ParameterName" -_PD = "ParameterDescription" -_PT = "ParameterType" -_STRING = "STRING" -_st = "string" -_NUMBER = "NUMBER" -_nu = "number" -_INTEGER = "INTEGER" -_i = "integer" -_BOOLEAN = "BOOLEAN" -_b = "boolean" -_ARRAY = "ARRAY" -_a = "array" -_PDa = "ParameterDetail" -_d = "description" -_smi = "smithy.api#required" -_r = "required" -_PM = "ParameterMap" -_RCe = "RequireConfirmation" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_FDu = "FunctionDefinition" -_rC = "requireConfirmation" -_Fu = "Functions" -_FS = "FunctionSchema" -_fu = "functions" -_AAG = "AgentActionGroup" -_pAGS = "parentActionGroupSignature" -_aGE = "actionGroupExecutor" -_aS = "apiSchema" -_fS = "functionSchema" -_pAGSP = "parentActionGroupSignatureParams" -_AAGg = "AgentActionGroups" -_AAA = "AgentAliasArn" -_AAI = "AgentAliasId" -_ACg = "AgentCollaboration" -_SUPERVISOR = "SUPERVISOR" -_SR = "SUPERVISOR_ROUTER" -_CS = "ConfirmationState" -_CONFIRM = "CONFIRM" -_DENY = "DENY" -_IIF = "ImageInputFormat" -_PNG = "PNG" -_pn = "png" -_JPEG = "JPEG" -_j = "jpeg" -_GIF = "GIF" -_g = "gif" -_WEBP = "WEBP" -_w = "webp" -_IIS = "ImageInputSource" -_by = "bytes" -_II = "ImageInput" -_fo = "format" -_so = "source" -_IIm = "ImageInputs" -_CB = "ContentBody" -_bo = "body" -_im = "images" -_RBe = "ResponseBody" -_RS = "ResponseState" -_FAILURE = "FAILURE" -_REPROMPT = "REPROMPT" -_AR = "ApiResult" -_aG = "actionGroup" -_hM = "httpMethod" -_cS = "confirmationState" -_rS = "responseState" -_hSC = "httpStatusCode" -_rBe = "responseBody" -_aI = "agentId" -_FR = "FunctionResult" -_IRM = "InvocationResultMember" -_aR = "apiResult" -_fR = "functionResult" -_RCIR = "ReturnControlInvocationResults" -_RCR = "ReturnControlResults" -_rCIR = "returnControlInvocationResults" -_ACPS = "AgentCollaboratorPayloadString" -_PTa = "PayloadType" -_TEXT = "TEXT" -_ACIP = "AgentCollaboratorInputPayload" -_rCR = "returnControlResults" -_ACII = "AgentCollaboratorInvocationInput" -_aCN = "agentCollaboratorName" -_aCAA = "agentCollaboratorAliasArn" -_in = "input" -_N = "Name" -_APp = "ApiParameter" -_APpi = "ApiParameters" -_PL = "ParameterList" -_PP = "PropertyParameters" -_pr = "properties" -_ACM = "ApiContentMap" -_ARB = "ApiRequestBody" -_AII = "ApiInvocationInput" -_aIT = "actionInvocationType" -_cN = "collaboratorName" -_FP = "FunctionParameter" -_FPu = "FunctionParameters" -_FII = "FunctionInvocationInput" -_IIM = "InvocationInputMember" -_aII = "apiInvocationInput" -_fII = "functionInvocationInput" -_IIn = "InvocationInputs" -_RCP = "ReturnControlPayload" -_iIn = "invocationInputs" -_ACOP = "AgentCollaboratorOutputPayload" -_rCP = "returnControlPayload" -_ACIO = "AgentCollaboratorInvocationOutput" -_o = "output" -_ACMAI = "AgentCoreMemoryActorId" -_ACMI = "AgentCoreMemoryId" -_ACMSI = "AgentCoreMemorySessionId" -_ARSR = "AgenticRetrieveSourceRetriever" -_id = "identifier" -_ARCED = "AgenticRetrieveCodeExecutionDocument" -_dI = "documentId" -_sR = "sourceRetriever" -_ARCEDL = "AgenticRetrieveCodeExecutionDocumentList" -_ARCEDg = "AgenticRetrieveCodeExecutionDetails" -_do = "documents" -_ARFDED = "AgenticRetrieveFullDocExpansionDetails" -_ARMC = "AgenticRetrieveMessageContent" -_ARMRD = "AgenticRetrieveMemoryRetrieveDetails" -_iQ = "inputQuery" -_mI = "memoryId" -_na = "namespace" -_nP = "namespacePath" -_sI = "strategyId" -_ARSRL = "AgenticRetrieveSourceRetrieverList" -_ARAD = "AgenticRetrieveActionDetails" -_sRo = "sourceRetrievers" -_ARA = "AgenticRetrieveAction" -_re = "retrieve" -_fDE = "fullDocumentExpansion" -_mR = "memoryRetrieve" -_cE = "codeExecution" -_ARAg = "AgenticRetrieveActions" -_RII = "RetrievalInstructionId" -_RIV = "RetrievalInstructionVersion" -_ARAI = "AgenticRetrieveAppliedInstruction" -_id_ = "id" -_ver = "version" -_ARBGC = "AgenticRetrieveBedrockGuardrailConfiguration" -_gI = "guardrailId" -_gV = "guardrailVersion" -_BMA = "BedrockModelArn" -_ARBRMC = "AgenticRetrieveBedrockRerankingModelConfiguration" -_mA = "modelArn" -_ARBRC = "AgenticRetrieveBedrockRerankingConfiguration" -_mC = "modelConfiguration" -_ARCR = "AgenticRetrieveCitationReference" -_rI = "resultIndex" -_ARCRL = "AgenticRetrieveCitationReferenceList" -_ARC = "AgenticRetrieveCitation" -_sIt = "startIndex" -_eI = "endIndex" -_ref = "references" -_ARCL = "AgenticRetrieveCitationList" -_BFMMC = "BedrockFoundationModelModelConfiguration" -_BFMC = "BedrockFoundationModelConfiguration" -_MPI = "MantleProjectId" -_MFMMC = "MantleFoundationModelModelConfiguration" -_pI = "projectId" -_MFMC = "MantleFoundationModelConfiguration" -_FMCT = "FoundationModelConfigurationType" -_BFM = "BEDROCK_FOUNDATION_MODEL" -_MFM = "MANTLE_FOUNDATION_MODEL" -_FMC = "FoundationModelConfiguration" -_bFMC = "bedrockFoundationModelConfiguration" -_mFMC = "mantleFoundationModelConfiguration" -_FMT = "FoundationModelType" -_CUSTOM = "CUSTOM" -_MANAGED = "MANAGED" -_ARRCT = "AgenticRetrieveRerankingConfigurationType" -_BRM = "BEDROCK_RERANKING_MODEL" -_ARRC = "AgenticRetrieveRerankingConfiguration" -_bRC = "bedrockRerankingConfiguration" -_ARRMT = "AgenticRetrieveRerankingModelType" -_NONE = "NONE" -_ARCg = "AgenticRetrieveConfiguration" -_fMT = "foundationModelType" -_smit = "smithy.api#default" -_fMC = "foundationModelConfiguration" -_rMT = "rerankingModelType" -_rCe = "rerankingConfiguration" -_mAI = "maxAgentIteration" -_ARF = "AgenticRetrieveFailure" -_ARFg = "AgenticRetrieveFailures" -_ARGR = "AgenticRetrieveGeneratedResponse" -_an = "answer" -_ci = "citations" -_GA = "GuardrailAction" -_INTERVENED = "INTERVENED" -_ARGW = "AgenticRetrieveGuardrailWarning" -_ac = "action" -_ARIC = "AgenticRetrieveInstructionConfiguration" -_rII = "retrievalInstructionId" -_ARMPM = "AgenticRetrieveMemoryPersistenceMode" -_DEFAULT = "DEFAULT" -_ARMMK = "AgenticRetrieveMemoryMetadataKey" -_ARMMFL = "AgenticRetrieveMemoryMetadataFilterLeft" -_mK = "metadataKey" -_ARMMFO = "AgenticRetrieveMemoryMetadataFilterOperator" -_ET_ = "EQUALS_TO" -_EXISTS = "EXISTS" -_NE = "NOT_EXISTS" -_BEFORE = "BEFORE" -_AFTER = "AFTER" -_CONTAINS = "CONTAINS" -_GT = "GREATER_THAN" -_GTOE = "GREATER_THAN_OR_EQUALS" -_LT = "LESS_THAN" -_LTOE = "LESS_THAN_OR_EQUALS" -_ARMMSLI = "AgenticRetrieveMemoryMetadataStringListItem" -_ARMMSL = "AgenticRetrieveMemoryMetadataStringList" -_ARMMSV = "AgenticRetrieveMemoryMetadataStringValue" -_ARMMV = "AgenticRetrieveMemoryMetadataValue" -_sVt = "stringValue" -_nV = "numberValue" -_sLV = "stringListValue" -_dTV = "dateTimeValue" -_ARMMFR = "AgenticRetrieveMemoryMetadataFilterRight" -_mV = "metadataValue" -_ARMMF = "AgenticRetrieveMemoryMetadataFilter" -_le = "left" -_op = "operator" -_ri = "right" -_ARMMFLg = "AgenticRetrieveMemoryMetadataFilterList" -_MN = "MemoryNamespace" -_MSI = "MemoryStrategyId" -_ARMRC = "AgenticRetrieveMemoryRetrievalConfig" -_mF = "metadataFilters" -_ARMRCL = "AgenticRetrieveMemoryRetrievalConfigList" -_ARMSB = "AgenticRetrieveMemorySessionBinding" -_aIc = "actorId" -_sIe = "sessionId" -_ARMCg = "AgenticRetrieveMemoryConfiguration" -_sB = "sessionBinding" -_rCet = "retrievalConfigs" -_pM = "persistenceMode" -_CR = "ConversationRole" -_USER = "USER" -_us = "user" -_ASSISTANT = "ASSISTANT" -_as = "assistant" -_ARM = "AgenticRetrieveMessage" -_ro = "role" -_ARMg = "AgenticRetrieveMessages" -_ARMge = "AgenticRetrieveMetadata" -_ARPC = "AgenticRetrievePolicyConfiguration" -_bGC = "bedrockGuardrailConfiguration" -_KBI = "KnowledgeBaseId" -_FK = "FilterKey" -_FV = "FilterValue" -_FA = "FilterAttribute" -_ARRE = "AgenticRetrieveResponseEvent" -_NT = "NextToken" -_MT = "MimeType" -_RCet = "RetrievalContent" -_bC = "byteContent" -_mT = "mimeType" -_ARRI = "AgenticRetrieveResultItem" -_ARR = "AgenticRetrieveResults" -_ARREg = "AgenticRetrieveResultEvent" -_res = "results" -_gR = "generatedResponse" -_nT = "nextToken" -_ART = "AgenticRetrieveType" -_BKB = "BEDROCK_KNOWLEDGE_BASE" -_BKBe = "BedrockKnowledgeBase" -_BACM = "BEDROCK_AGENT_CORE_MEMORY" -_BACMe = "BedrockAgentCoreMemory" -_ARSM = "AgenticRetrieveSourceMetadata" -_rT = "retrievalType" -_ARSML = "AgenticRetrieveSourceMetadataList" -_ARS = "AgenticRetrieveStatus" -_IP = "IN_PROGRESS" -_SUCCEEDED = "SUCCEEDED" -_FAILED = "FAILED" -_ARSg = "AgenticRetrieveStep" -_PLANNING = "PLANNING" -_Pl = "Planning" -_RETRIEVAL = "RETRIEVAL" -_R = "Retrieval" -_SR_ = "SPECULATIVE_RETRIEVAL" -_SRp = "SpeculativeRetrieval" -_FDE = "FULL_DOCUMENT_EXPANSION" -_FDEu = "FullDocumentExpansion" -_SHL = "SESSION_HISTORY_LOAD" -_SHLe = "SessionHistoryLoad" -_CE = "CODE_EXECUTION" -_CEo = "CodeExecution" -_UCs = "UserContext" -_uI = "userId" -_BGE = "BadGatewayException" -_se = "server" -_rN = "resourceName" -_CEon = "ConflictException" -_DFE = "DependencyFailedException" -_ISE = "InternalServerException" -_rea = "reason" -_RNFE = "ResourceNotFoundException" -_SQEE = "ServiceQuotaExceededException" -_TE = "ThrottlingException" -_ARTRI = "AgenticRetrieveTraceResultItem" -_ARTR = "AgenticRetrieveTraceResults" -_ARWM = "AgenticRetrieveWarningMessage" -_ARW = "AgenticRetrieveWarning" -_gu = "guardrail" -_ARWg = "AgenticRetrieveWarnings" -_ARTEA = "AgenticRetrieveTraceEventAttributes" -_ste = "step" -_sta = "status" -_act = "actions" -_wa = "warnings" -_fa = "failures" -_rM = "retrievalMetadata" -_rR = "retrievalResponse" -_aIp = "appliedInstruction" -_ARTE = "AgenticRetrieveTraceEvent" -_ti = "timestamp" -_at = "attributes" -_VE = "ValidationException" -_ARSRO = "AgenticRetrieveStreamResponseOutput" -_smith = "smithy.api#streaming" -_resu = "result" -_tE = "traceEvent" -_rE = "responseEvent" -_iSE = "internalServerException" -_vE = "validationException" -_rNFE = "resourceNotFoundException" -_sQEE = "serviceQuotaExceededException" -_tEh = "throttlingException" -_aDE = "accessDeniedException" -_cEo = "conflictException" -_dFE = "dependencyFailedException" -_bGE = "badGatewayException" -_ARSO = "AgenticRetrieveStreamOutput" -_sSI = "smithy.synthetic#originalShapeId" -_cARSR = "com.amazonaws.bedrockagentruntime#AgenticRetrieveStreamResponse" -_smithy = "smithy.api#output" -_str = "stream" -_sP = "smithy.api#httpPayload" -_AI = "AgentId" -_AV = "AgentVersion" -_C = "Caller" -_aAA = "agentAliasArn" -_CC = "CallerChain" -_SIe = "SessionId" -_COTE = "CustomOrchestrationTraceEvent" -_TI = "TraceId" -_COT = "CustomOrchestrationTrace" -_tI = "traceId" -_e = "event" -_FRS = "FailureReasonString" -_FT = "FailureTrace" -_fRa = "failureReason" -_fC = "failureCode" -_GCPA = "GuardrailContentPolicyAction" -_BLOCKED = "BLOCKED" -_GCFC = "GuardrailContentFilterConfidence" -_LOW = "LOW" -_MEDIUM = "MEDIUM" -_HIGH = "HIGH" -_GCFT = "GuardrailContentFilterType" -_INSULTS = "INSULTS" -_HATE = "HATE" -_SEXUAL = "SEXUAL" -_VIOLENCE = "VIOLENCE" -_MISCONDUCT = "MISCONDUCT" -_PA = "PROMPT_ATTACK" -_GCF = "GuardrailContentFilter" -_con = "confidence" -_GCFL = "GuardrailContentFilterList" -_GCPAu = "GuardrailContentPolicyAssessment" -_fi = "filters" -_GSIPA = "GuardrailSensitiveInformationPolicyAction" -_ANONYMIZED = "ANONYMIZED" -_GPET = "GuardrailPiiEntityType" -_ADDRESS = "ADDRESS" -_AGE_ = "AGE" -_AAK = "AWS_ACCESS_KEY" -_ASK = "AWS_SECRET_KEY" -_CHN = "CA_HEALTH_NUMBER" -_CSIN = "CA_SOCIAL_INSURANCE_NUMBER" -_CDCC = "CREDIT_DEBIT_CARD_CVV" -_CDCE = "CREDIT_DEBIT_CARD_EXPIRY" -_CDCN = "CREDIT_DEBIT_CARD_NUMBER" -_DI = "DRIVER_ID" -_EMAIL = "EMAIL" -_IBAN = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" -_IA = "IP_ADDRESS" -_LP = "LICENSE_PLATE" -_MA = "MAC_ADDRESS" -_NAME = "NAME" -_PASSWORD = "PASSWORD" -_PHONE = "PHONE" -_PIN = "PIN" -_SC = "SWIFT_CODE" -_UNHSN = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" -_UNIN = "UK_NATIONAL_INSURANCE_NUMBER" -_UUTRN = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" -_URL = "URL" -_USERNAME = "USERNAME" -_UBAN = "US_BANK_ACCOUNT_NUMBER" -_UBRN = "US_BANK_ROUTING_NUMBER" -_UITIN = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" -_UPN = "US_PASSPORT_NUMBER" -_USSN = "US_SOCIAL_SECURITY_NUMBER" -_VIN = "VEHICLE_IDENTIFICATION_NUMBER" -_GPEF = "GuardrailPiiEntityFilter" -_ma = "match" -_GPEFL = "GuardrailPiiEntityFilterList" -_GRF = "GuardrailRegexFilter" -_reg = "regex" -_GRFL = "GuardrailRegexFilterList" -_GSIPAu = "GuardrailSensitiveInformationPolicyAssessment" -_pE = "piiEntities" -_rege = "regexes" -_GTPA = "GuardrailTopicPolicyAction" -_GTT = "GuardrailTopicType" -_GTu = "GuardrailTopic" -_GTL = "GuardrailTopicList" -_GTPAu = "GuardrailTopicPolicyAssessment" -_to = "topics" -_GWPA = "GuardrailWordPolicyAction" -_GCW = "GuardrailCustomWord" -_GCWL = "GuardrailCustomWordList" -_GMWT = "GuardrailManagedWordType" -_PROFANITY = "PROFANITY" -_GMW = "GuardrailManagedWord" -_GMWL = "GuardrailManagedWordList" -_GWPAu = "GuardrailWordPolicyAssessment" -_cW = "customWords" -_mWL = "managedWordLists" -_GAu = "GuardrailAssessment" -_tP = "topicPolicy" -_cP = "contentPolicy" -_wP = "wordPolicy" -_sIP = "sensitiveInformationPolicy" -_GAL = "GuardrailAssessmentList" -_GTua = "GuardrailTrace" -_iA = "inputAssessments" -_oA = "outputAssessments" -_Fi = "Files" -_CIII = "CodeInterpreterInvocationInput" -_cod = "code" -_fil = "files" -_IT = "InvocationType" -_AG = "ACTION_GROUP" -_KB = "KNOWLEDGE_BASE" -_FINISH = "FINISH" -_AGCI = "ACTION_GROUP_CODE_INTERPRETER" -_AC__ = "AGENT_COLLABORATOR" -_TKBI = "TraceKnowledgeBaseId" -_KBLIS = "KnowledgeBaseLookupInputString" -_KBLI = "KnowledgeBaseLookupInput" -_kBI = "knowledgeBaseId" -_IInv = "InvocationInput" -_iTn = "invocationType" -_aGII = "actionGroupInvocationInput" -_kBLI = "knowledgeBaseLookupInput" -_cIII = "codeInterpreterInvocationInput" -_aCII = "agentCollaboratorInvocationInput" -_MI = "ModelIdentifier" -_ML = "MaximumLength" -_SS = "StopSequences" -_T = "Temperature" -_TK = "TopK" -_TP = "TopP" -_IC = "InferenceConfiguration" -_tem = "temperature" -_tPo = "topP" -_tK = "topK" -_mL = "maximumLength" -_sS = "stopSequences" -_LA = "LambdaArn" -_CMr = "CreationMode" -_OVERRIDDEN = "OVERRIDDEN" -_PTr = "PromptText" -_PTro = "PromptType" -_PP_ = "PRE_PROCESSING" -_ORCHESTRATION = "ORCHESTRATION" -_KBRG = "KNOWLEDGE_BASE_RESPONSE_GENERATION" -_PP__ = "POST_PROCESSING" -_RC_ = "ROUTING_CLASSIFIER" -_MII = "ModelInvocationInput" -_oL = "overrideLambda" -_pCM = "promptCreationMode" -_iC = "inferenceConfiguration" -_pMa = "parserMode" -_fM = "foundationModel" -_RR = "RawResponse" -_RTB = "ReasoningTextBlock" -_si = "signature" -_RCB = "ReasoningContentBlock" -_rTe = "reasoningText" -_rCed = "redactedContent" -_OMIO = "OrchestrationModelInvocationOutput" -_rRa = "rawResponse" -_rCea = "reasoningContent" -_CIIO = "CodeInterpreterInvocationOutput" -_eO = "executionOutput" -_eE = "executionError" -_eTx = "executionTimeout" -_FRSi = "FinalResponseString" -_FRi = "FinalResponse" -_AS = "AudioSegment" -_sU = "s3Uri" -_tr = "transcription" -_RRCCT = "RetrievalResultContentColumnType" -_BLOB = "BLOB" -_DOUBLE = "DOUBLE" -_NULL = "NULL" -_LONG = "LONG" -_RRCC = "RetrievalResultContentColumn" -_cNo = "columnName" -_cV = "columnValue" -_RRCR = "RetrievalResultContentRow" -_RRCT = "RetrievalResultContentType" -_IMAGE = "IMAGE" -_ROW = "ROW" -_AUDIO = "AUDIO" -_VIDEO = "VIDEO" -_VS = "VideoSegment" -_su = "summary" -_RRC = "RetrievalResultContent" -_v_ = "" -_vi = "video" -_au = "audio" -_row = "row" -_RRCL = "RetrievalResultConfluenceLocation" -_ur = "url" -_RRCDL = "RetrievalResultCustomDocumentLocation" -_RRGDL = "RetrievalResultGoogleDriveLocation" -_RRKDL = "RetrievalResultKendraDocumentLocation" -_uri = "uri" -_RRODL = "RetrievalResultOneDriveLocation" -_RRSL = "RetrievalResultS3Location" -_RRSLe = "RetrievalResultSalesforceLocation" -_RRSPL = "RetrievalResultSharePointLocation" -_RRSLet = "RetrievalResultSqlLocation" -_q = "query" -_RRLT = "RetrievalResultLocationType" -_S = "S3" -_WEB = "WEB" -_CONFLUENCE = "CONFLUENCE" -_SALESFORCE = "SALESFORCE" -_SHAREPOINT = "SHAREPOINT" -_KENDRA = "KENDRA" -_SQL = "SQL" -_ONEDRIVE = "ONEDRIVE" -_GOOGLEDRIVE = "GOOGLEDRIVE" -_RRWL = "RetrievalResultWebLocation" -_RRL = "RetrievalResultLocation" -_sL = "s3Location" -_wL = "webLocation" -_cL = "confluenceLocation" -_sLa = "salesforceLocation" -_sPL = "sharePointLocation" -_cDL = "customDocumentLocation" -_kDL = "kendraDocumentLocation" -_sLq = "sqlLocation" -_oDL = "oneDriveLocation" -_gDL = "googleDriveLocation" -_RRMK = "RetrievalResultMetadataKey" -_RRMV = "RetrievalResultMetadataValue" -_RRM = "RetrievalResultMetadata" -_RRe = "RetrievedReference" -_lo = "location" -_RRet = "RetrievedReferences" -_KBLO = "KnowledgeBaseLookupOutput" -_rRe = "retrievedReferences" -_So = "Source" -_PARSER = "PARSER" -_RRep = "RepromptResponse" -_Ty = "Type" -_AU_ = "ASK_USER" -_O = "Observation" -_aGIO = "actionGroupInvocationOutput" -_aCIO = "agentCollaboratorInvocationOutput" -_kBLO = "knowledgeBaseLookupOutput" -_fRi = "finalResponse" -_rRep = "repromptResponse" -_cIIO = "codeInterpreterInvocationOutput" -_RSa = "RationaleString" -_Ra = "Rationale" -_OT = "OrchestrationTrace" -_ra = "rationale" -_iInv = "invocationInput" -_ob = "observation" -_mII = "modelInvocationInput" -_mIO = "modelInvocationOutput" -_OS = "OutputString" -_PPPR = "PostProcessingParsedResponse" -_PPMIO = "PostProcessingModelInvocationOutput" -_pR = "parsedResponse" -_PPT = "PostProcessingTrace" -_PPPRr = "PreProcessingParsedResponse" -_iV = "isValid" -_PPMIOr = "PreProcessingModelInvocationOutput" -_PPTr = "PreProcessingTrace" -_RCMIO = "RoutingClassifierModelInvocationOutput" -_RCT = "RoutingClassifierTrace" -_Tr = "Trace" -_gT = "guardrailTrace" -_pPT = "preProcessingTrace" -_oTr = "orchestrationTrace" -_pPTo = "postProcessingTrace" -_rCT = "routingClassifierTrace" -_fT = "failureTrace" -_cOT = "customOrchestrationTrace" -_TPr = "TracePart" -_tra = "trace" -_cCa = "callerChain" -_eTv = "eventTime" -_aAI = "agentAliasId" -_aV = "agentVersion" -_ATg = "AgentTraces" -_DSI = "DataSourceId" -_DIo = "DocumentId" -_KBIn = "KnowledgeBaseIdentifier" -_CIDAI = "CheckIngestedDocumentAclInput" -_cCIDAR = "com.amazonaws.bedrockagentruntime#CheckIngestedDocumentAclRequest" -_smithya = "smithy.api#input" -_sLm = "smithy.api#httpLabel" -_dSI = "dataSourceId" -_uC = "userContext" -_CIDAO = "CheckIngestedDocumentAclOutput" -_cCIDARo = "com.amazonaws.bedrockagentruntime#CheckIngestedDocumentAclResponse" -_hA = "hasAccess" -_CIDA = "CheckIngestedDocumentAcl" -_smithyap = "smithy.api#http" -_FEI = "FlowExecutionIdentifier" -_FAI = "FlowAliasIdentifier" -_FI = "FlowIdentifier" -_GEFSI = "GetExecutionFlowSnapshotInput" -_cGEFSR = "com.amazonaws.bedrockagentruntime#GetExecutionFlowSnapshotRequest" -_fI = "flowIdentifier" -_fAI = "flowAliasIdentifier" -_eIx = "executionIdentifier" -_KKA = "KmsKeyArn" -_FERA = "FlowExecutionRoleArn" -_Ve = "Version" -_GEFSO = "GetExecutionFlowSnapshotOutput" -_cGEFSRo = "com.amazonaws.bedrockagentruntime#GetExecutionFlowSnapshotResponse" -_fV = "flowVersion" -_eRA = "executionRoleArn" -_de = "definition" -_cEKA = "customerEncryptionKeyArn" -_GEFS = "GetExecutionFlowSnapshot" -_GFEI = "GetFlowExecutionInput" -_cGFER = "com.amazonaws.bedrockagentruntime#GetFlowExecutionRequest" -_FEET = "FlowExecutionErrorType" -_TO = "TIMED_OUT" -_ETO = "ExecutionTimedOut" -_NN = "NodeName" -_FEE = "FlowExecutionError" -_nN = "nodeName" -_er = "error" -_FEEl = "FlowExecutionErrors" -_FES = "FlowExecutionStatus" -_RUNNING = "RUNNING" -_Ru = "Running" -_Su = "Succeeded" -_Fa = "Failed" -_TOi = "TimedOut" -_ABORTED = "ABORTED" -_A = "Aborted" -_GFEO = "GetFlowExecutionOutput" -_cGFERo = "com.amazonaws.bedrockagentruntime#GetFlowExecutionResponse" -_eA = "executionArn" -_sA = "startedAt" -_eAn = "endedAt" -_err = "errors" -_GFE = "GetFlowExecution" -_FEETl = "FlowExecutionEventType" -_NODE = "NODE" -_No = "Node" -_FLOW = "FLOW" -_Fl = "Flow" -_MR = "MaxResults" -_LFEEI = "ListFlowExecutionEventsInput" -_cLFEER = "com.amazonaws.bedrockagentruntime#ListFlowExecutionEventsRequest" -_mRa = "maxResults" -_sQ = "smithy.api#httpQuery" -_eTve = "eventType" -_SCa = "SatisfiedCondition" -_cNon = "conditionName" -_SCat = "SatisfiedConditions" -_CRE = "ConditionResultEvent" -_sC = "satisfiedConditions" -_FEC = "FlowErrorCode" -_VALIDATION = "VALIDATION" -_IS = "INTERNAL_SERVER" -_NEF = "NODE_EXECUTION_FAILED" -_FFE = "FlowFailureEvent" -_eC = "errorCode" -_eM = "errorMessage" -_FECl = "FlowExecutionContent" -_doc = "document" -_NIN = "NodeInputName" -_FIF = "FlowInputField" -_FIFl = "FlowInputFields" -_FEIE = "FlowExecutionInputEvent" -_fie = "fields" -_NON = "NodeOutputName" -_FOF = "FlowOutputField" -_FOFl = "FlowOutputFields" -_FEOE = "FlowExecutionOutputEvent" -_NAE = "NodeActionEvent" -_rIe = "requestId" -_sN = "serviceName" -_oN = "operationName" -_oR = "operationRequest" -_oRp = "operationResponse" -_NTE = "NodeTraceElements" -_aT = "agentTraces" -_NDE = "NodeDependencyEvent" -_tEr = "traceElements" -_NEC = "NodeErrorCode" -_DF = "DEPENDENCY_FAILED" -_BG = "BAD_GATEWAY" -_NFE = "NodeFailureEvent" -_FNIC = "FlowNodeInputCategory" -_LC = "LOOP_CONDITION" -_LCo = "LoopCondition" -_RVTLS = "RETURN_VALUE_TO_LOOP_START" -_RVTLSe = "ReturnValueToLoopStart" -_EL = "EXIT_LOOP" -_ELx = "ExitLoop" -_NECo = "NodeExecutionContent" -_FCNT = "FlowControlNodeType" -_ITERATOR = "ITERATOR" -_I = "Iterator" -_LOOP = "LOOP" -_L = "Loop" -_NIECI = "NodeInputExecutionChainItem" -_ind = "index" -_NIEC = "NodeInputExecutionChain" -_FNIE = "FlowNodeInputExpression" -_FNON = "FlowNodeOutputName" -_NIS = "NodeInputSource" -_oFN = "outputFieldName" -_ex = "expression" -_FNIODT = "FlowNodeIODataType" -_St = "String" -_Nu = "Number" -_B = "Boolean" -_OBJECT = "OBJECT" -_Ob = "Object" -_Ar = "Array" -_NIF = "NodeInputField" -_ca = "category" -_eCx = "executionChain" -_NIFo = "NodeInputFields" -_NIE = "NodeInputEvent" -_FNIN = "FlowNodeInputName" -_NONo = "NodeOutputNext" -_iFN = "inputFieldName" -_NONL = "NodeOutputNextList" -_NOF = "NodeOutputField" -_ne = "next" -_NOFo = "NodeOutputFields" -_NOE = "NodeOutputEvent" -_FEElo = "FlowExecutionEvent" -_fIE = "flowInputEvent" -_fOE = "flowOutputEvent" -_nIE = "nodeInputEvent" -_nOE = "nodeOutputEvent" -_cRE = "conditionResultEvent" -_nFE = "nodeFailureEvent" -_fFE = "flowFailureEvent" -_nAE = "nodeActionEvent" -_nDE = "nodeDependencyEvent" -_FEElow = "FlowExecutionEvents" -_LFEEO = "ListFlowExecutionEventsOutput" -_cLFEERo = "com.amazonaws.bedrockagentruntime#ListFlowExecutionEventsResponse" -_fEE = "flowExecutionEvents" -_LFEE = "ListFlowExecutionEvents" -_LFEI = "ListFlowExecutionsInput" -_cLFER = "com.amazonaws.bedrockagentruntime#ListFlowExecutionsRequest" -_FESl = "FlowExecutionSummary" -_cA = "createdAt" -_FESlo = "FlowExecutionSummaries" -_LFEO = "ListFlowExecutionsOutput" -_cLFERo = "com.amazonaws.bedrockagentruntime#ListFlowExecutionsResponse" -_fES = "flowExecutionSummaries" -_LFE = "ListFlowExecutions" -_FEN = "FlowExecutionName" -_FIC = "FlowInputContent" -_FIl = "FlowInput" -_nON = "nodeOutputName" -_nIN = "nodeInputName" -_FIlo = "FlowInputs" -_PCL = "PerformanceConfigLatency" -_STANDARD = "STANDARD" -_stan = "standard" -_OPTIMIZED = "OPTIMIZED" -_opt = "optimized" -_PC = "PerformanceConfiguration" -_la = "latency" -_MPC = "ModelPerformanceConfiguration" -_pC = "performanceConfig" -_SFEI = "StartFlowExecutionInput" -_cSFER = "com.amazonaws.bedrockagentruntime#StartFlowExecutionRequest" -_fEN = "flowExecutionName" -_inp = "inputs" -_mPC = "modelPerformanceConfiguration" -_SFEO = "StartFlowExecutionOutput" -_cSFERo = "com.amazonaws.bedrockagentruntime#StartFlowExecutionResponse" -_SFE = "StartFlowExecution" -_SFEIt = "StopFlowExecutionInput" -_cSFERom = "com.amazonaws.bedrockagentruntime#StopFlowExecutionRequest" -_SFEOt = "StopFlowExecutionOutput" -_cSFERoma = "com.amazonaws.bedrockagentruntime#StopFlowExecutionResponse" -_SFEt = "StopFlowExecution" -_FEIl = "FlowExecutionId" -_IFI = "InvokeFlowInput" -_cIFR = "com.amazonaws.bedrockagentruntime#InvokeFlowRequest" -_eTna = "enableTrace" -_eIxe = "executionId" -_FCR = "FlowCompletionReason" -_SUCCESS = "SUCCESS" -_IR = "INPUT_REQUIRED" -_FCE = "FlowCompletionEvent" -_cR = "completionReason" -_FMTIC = "FlowMultiTurnInputContent" -_NTo = "NodeType" -_FIN = "FLOW_INPUT_NODE" -_FINl = "FlowInputNode" -_FON = "FLOW_OUTPUT_NODE" -_FONl = "FlowOutputNode" -_LFN = "LAMBDA_FUNCTION_NODE" -_LFNa = "LambdaFunctionNode" -_KBN = "KNOWLEDGE_BASE_NODE" -_KBNn = "KnowledgeBaseNode" -_PN_ = "PROMPT_NODE" -_PNr = "PromptNode" -_CN = "CONDITION_NODE" -_CNo = "ConditionNode" -_LN = "LEX_NODE" -_LNe = "LexNode" -_FMTIRE = "FlowMultiTurnInputRequestEvent" -_nTo = "nodeType" -_FOC = "FlowOutputContent" -_FOE = "FlowOutputEvent" -_FTC = "FlowTraceCondition" -_FTCl = "FlowTraceConditions" -_FTCNRE = "FlowTraceConditionNodeResultEvent" -_FTNAE = "FlowTraceNodeActionEvent" -_TEr = "TraceElements" -_FTDE = "FlowTraceDependencyEvent" -_FTNIC = "FlowTraceNodeInputContent" -_FTNIECI = "FlowTraceNodeInputExecutionChainItem" -_FTNIEC = "FlowTraceNodeInputExecutionChain" -_FTNIS = "FlowTraceNodeInputSource" -_FTNIF = "FlowTraceNodeInputField" -_FTNIFl = "FlowTraceNodeInputFields" -_FTNIE = "FlowTraceNodeInputEvent" -_FTNOC = "FlowTraceNodeOutputContent" -_FTNON = "FlowTraceNodeOutputNext" -_FTNONL = "FlowTraceNodeOutputNextList" -_FTNOF = "FlowTraceNodeOutputField" -_FTNOFl = "FlowTraceNodeOutputFields" -_FTNOE = "FlowTraceNodeOutputEvent" -_FTl = "FlowTrace" -_nIT = "nodeInputTrace" -_nOT = "nodeOutputTrace" -_cNRT = "conditionNodeResultTrace" -_nAT = "nodeActionTrace" -_nDT = "nodeDependencyTrace" -_FTE = "FlowTraceEvent" -_FRSl = "FlowResponseStream" -_fCE = "flowCompletionEvent" -_fTE = "flowTraceEvent" -_fMTIRE = "flowMultiTurnInputRequestEvent" -_IFO = "InvokeFlowOutput" -_cIFRo = "com.amazonaws.bedrockagentruntime#InvokeFlowResponse" -_rSe = "responseStream" -_sH = "smithy.api#httpHeader" -_xabfei = "x-amz-bedrock-flow-execution-id" -_IF = "InvokeFlow" -_IQT = "InputQueryType" -_QGI = "QueryGenerationInput" -_QTM = "QueryTransformationMode" -_TTS = "TEXT_TO_SQL" -_KBA = "KnowledgeBaseArn" -_TTSKBC = "TextToSqlKnowledgeBaseConfiguration" -_kBA = "knowledgeBaseArn" -_TTSCT = "TextToSqlConfigurationType" -_TTSC = "TextToSqlConfiguration" -_kBC = "knowledgeBaseConfiguration" -_TC = "TransformationConfiguration" -_mo = "mode" -_tTSC = "textToSqlConfiguration" -_GQI = "GenerateQueryInput" -_cGQR = "com.amazonaws.bedrockagentruntime#GenerateQueryRequest" -_qGI = "queryGenerationInput" -_tC = "transformationConfiguration" -_GQT = "GeneratedQueryType" -_RS_ = "REDSHIFT_SQL" -_GQ = "GeneratedQuery" -_sq = "sql" -_GQe = "GeneratedQueries" -_GQO = "GenerateQueryOutput" -_cGQRo = "com.amazonaws.bedrockagentruntime#GenerateQueryResponse" -_qu = "queries" -_GQen = "GenerateQuery" -_MIe = "MediaId" -_DOF = "DocumentOutputFormat" -_RAW = "RAW" -_EXTRACTED = "EXTRACTED" -_GDCI = "GetDocumentContentInput" -_cGDCR = "com.amazonaws.bedrockagentruntime#GetDocumentContentRequest" -_mIe = "mediaId" -_oF = "outputFormat" -_PU = "PresignedUrl" -_GDCO = "GetDocumentContentOutput" -_cGDCRo = "com.amazonaws.bedrockagentruntime#GetDocumentContentResponse" -_pU = "presignedUrl" -_dCL = "documentContentLength" -_GDC = "GetDocumentContent" -_GIDAI = "GetIngestedDocumentAclInput" -_cGIDAR = "com.amazonaws.bedrockagentruntime#GetIngestedDocumentAclRequest" -_DAMR = "DocumentAclMemberRelation" -_AND = "AND" -_OR = "OR" -_DAMT = "DocumentAclMembershipType" -_DS = "DATA_SOURCE" -_DAG = "DocumentAclGroup" -_DAGL = "DocumentAclGroupList" -_DAU = "DocumentAclUser" -_DAUL = "DocumentAclUserList" -_DAC = "DocumentAclCondition" -_cO = "conditionOperator" -_use = "users" -_gr = "groups" -_DACL = "DocumentAclConditionList" -_DAM = "DocumentAclMembership" -_mRe = "memberRelation" -_cond = "conditions" -_DA = "DocumentAcl" -_aL = "allowList" -_dL = "denyList" -_GIDAO = "GetIngestedDocumentAclOutput" -_cGIDARo = "com.amazonaws.bedrockagentruntime#GetIngestedDocumentAclResponse" -_dA = "documentAcl" -_GIDA = "GetIngestedDocumentAcl" -_BMC = "BedrockModelConfigurations" -_ITn = "InputText" -_MIem = "MemoryId" -_PCC = "PromptCreationConfigurations" -_pCTTI = "previousConversationTurnsToInclude" -_ePTS = "excludePreviousThinkingSteps" -_CBo = "ContentBlock" -_CBon = "ContentBlocks" -_Me = "Message" -_Mes = "Messages" -_CH = "ConversationHistory" -_mes = "messages" -_BCB = "ByteContentBlob" -_BCF = "ByteContentFile" -_mTe = "mediaType" -_da = "data" -_SU = "S3Uri" -_SOF = "S3ObjectFile" -_FST = "FileSourceType" -_BC = "BYTE_CONTENT" -_FSi = "FileSource" -_sTo = "sourceType" -_FUC = "FileUseCase" -_CI = "CODE_INTERPRETER" -_CHAT = "CHAT" -_IFn = "InputFile" -_uCs = "useCase" -_IFnp = "InputFiles" -_RMSM = "RerankingMetadataSelectionMode" -_SELECTIVE = "SELECTIVE" -_ALL = "ALL" -_FFR = "FieldForReranking" -_fN = "fieldName" -_FFRi = "FieldsForReranking" -_RMSMC = "RerankingMetadataSelectiveModeConfiguration" -_fTI = "fieldsToInclude" -_fTEi = "fieldsToExclude" -_MCFR = "MetadataConfigurationForReranking" -_sM = "selectionMode" -_sMC = "selectiveModeConfiguration" -_BRMA = "BedrockRerankingModelArn" -_MSBRMC = "ManagedSearchBedrockRerankingModelConfiguration" -_aMRF = "additionalModelRequestFields" -_MSBRC = "ManagedSearchBedrockRerankingConfiguration" -_nORR = "numberOfRerankedResults" -_mCe = "metadataConfiguration" -_MSRCT = "ManagedSearchRerankingConfigurationType" -_MSRC = "ManagedSearchRerankingConfiguration" -_RMT = "RerankingModelType" -_ATt = "AttributeType" -_SL = "STRING_LIST" -_MAS = "MetadataAttributeSchema" -_MASL = "MetadataAttributeSchemaList" -_IFC = "ImplicitFilterConfiguration" -_mAe = "metadataAttributes" -_ST = "SearchType" -_HYBRID = "HYBRID" -_SEMANTIC = "SEMANTIC" -_VSBRMC = "VectorSearchBedrockRerankingModelConfiguration" -_VSBRC = "VectorSearchBedrockRerankingConfiguration" -_VSRCT = "VectorSearchRerankingConfigurationType" -_VSRC = "VectorSearchRerankingConfiguration" -_PSAM = "PromptSessionAttributesMap" -_SAM = "SessionAttributesMap" -_AWSRARN = "AWSResourceARN" -_SCt = "StreamingConfigurations" -_sFR = "streamFinalResponse" -_aGI = "applyGuardrailInterval" -_Sp = "Span" -_star = "start" -_en = "end" -_TRP = "TextResponsePart" -_sp = "span" -_GRP = "GeneratedResponsePart" -_tRP = "textResponsePart" -_Ci = "Citation" -_gRP = "generatedResponsePart" -_Cit = "Citations" -_At = "Attribution" -_PB = "PartBody" -_PPa = "PayloadPart" -_att = "attribution" -_FB = "FileBody" -_OF = "OutputFile" -_OFu = "OutputFiles" -_FPi = "FilePart" -_MNRE = "ModelNotReadyException" -_RSe = "ResponseStream" -_ch = "chunk" -_rCetu = "returnControl" -_mNRE = "modelNotReadyException" -_IAO = "InvokeAgentOutput" -_cIAR = "com.amazonaws.bedrockagentruntime#InvokeAgentResponse" -_com = "completion" -_cT = "contentType" -_xabact = "x-amzn-bedrock-agent-content-type" -_xabasi = "x-amz-bedrock-agent-session-id" -_xabami = "x-amz-bedrock-agent-memory-id" -_IBMC = "InlineBedrockModelConfigurations" -_CIo = "CollaborationInstruction" -_RCH = "RelayConversationHistory" -_TC_ = "TO_COLLABORATOR" -_CCo = "CollaboratorConfiguration" -_cI = "collaboratorInstruction" -_rCH = "relayConversationHistory" -_CCol = "CollaboratorConfigurations" -_GIWA = "GuardrailIdentifierWithArn" -_GV = "GuardrailVersion" -_GCWA = "GuardrailConfigurationWithArn" -_gIu = "guardrailIdentifier" -_STTL = "SessionTTL" -_In = "Instruction" -_BPT = "BasePromptTemplate" -_PS = "PromptState" -_PCr = "PromptConfiguration" -_pT = "promptType" -_pS = "promptState" -_bPT = "basePromptTemplate" -_PCro = "PromptConfigurations" -_POC = "PromptOverrideConfiguration" -_pCr = "promptConfigurations" -_OE = "OrchestrationExecutor" -_CO = "CustomOrchestration" -_exe = "executor" -_ISS = "InlineSessionState" -_sAe = "sessionAttributes" -_pSA = "promptSessionAttributes" -_cH = "conversationHistory" -_OTr = "OrchestrationType" -_CO_ = "CUSTOM_ORCHESTRATION" -_IAPP = "InlineAgentPayloadPart" -_IAFP = "InlineAgentFilePart" -_IARCP = "InlineAgentReturnControlPayload" -_IATP = "InlineAgentTracePart" -_IARS = "InlineAgentResponseStream" -_IIAO = "InvokeInlineAgentOutput" -_cIIAR = "com.amazonaws.bedrockagentruntime#InvokeInlineAgentResponse" -_DAMI = "DeleteAgentMemoryInput" -_cDAMR = "com.amazonaws.bedrockagentruntime#DeleteAgentMemoryRequest" -_DAMO = "DeleteAgentMemoryOutput" -_cDAMRo = "com.amazonaws.bedrockagentruntime#DeleteAgentMemoryResponse" -_DAMe = "DeleteAgentMemory" -_MTe = "MemoryType" -_SS_ = "SESSION_SUMMARY" -_GAMI = "GetAgentMemoryInput" -_cGAMR = "com.amazonaws.bedrockagentruntime#GetAgentMemoryRequest" -_mIa = "maxItems" -_mTem = "memoryType" -_STu = "SummaryText" -_MSS = "MemorySessionSummary" -_sST = "sessionStartTime" -_sET = "sessionExpiryTime" -_sTu = "summaryText" -_Mem = "Memory" -_sSe = "sessionSummary" -_Memo = "Memories" -_GAMO = "GetAgentMemoryOutput" -_cGAMRo = "com.amazonaws.bedrockagentruntime#GetAgentMemoryResponse" -_mCem = "memoryContents" -_GAM = "GetAgentMemory" -_TPe = "TextPrompt" -_IPn = "InputPrompt" -_tPe = "textPrompt" -_OPI = "OptimizePromptInput" -_cOPR = "com.amazonaws.bedrockagentruntime#OptimizePromptRequest" -_tMI = "targetModelId" -_APE = "AnalyzePromptEvent" -_OP = "OptimizedPrompt" -_OPE = "OptimizedPromptEvent" -_oP = "optimizedPrompt" -_OPS = "OptimizedPromptStream" -_oPE = "optimizedPromptEvent" -_aPE = "analyzePromptEvent" -_OPO = "OptimizePromptOutput" -_cOPRo = "com.amazonaws.bedrockagentruntime#OptimizePromptResponse" -_OPp = "OptimizePrompt" -_RTD = "RerankTextDocument" -_RQCT = "RerankQueryContentType" -_RQ = "RerankQuery" -_tQ = "textQuery" -_RQL = "RerankQueriesList" -_BRMC = "BedrockRerankingModelConfiguration" -_BRC = "BedrockRerankingConfiguration" -_nOR = "numberOfResults" -_RCTe = "RerankingConfigurationType" -_RCer = "RerankingConfiguration" -_RDT = "RerankDocumentType" -_JSON = "JSON" -_RDe = "RerankDocument" -_tD = "textDocument" -_jD = "jsonDocument" -_RST = "RerankSourceType" -_INLINE = "INLINE" -_RSer = "RerankSource" -_iDS = "inlineDocumentSource" -_RSL = "RerankSourcesList" -_RI = "RerankInput" -_cRR = "com.amazonaws.bedrockagentruntime#RerankRequest" -_sou = "sources" -_RRer = "RerankResult" -_rSel = "relevanceScore" -_RRLe = "RerankResultsList" -_RO = "RerankOutput" -_cRRo = "com.amazonaws.bedrockagentruntime#RerankResponse" -_Re = "Rerank" -_RAGI = "RetrieveAndGenerateInput" -_GC = "GuardrailConfiguration" -_MTa = "MaxTokens" -_RAGSS = "RAGStopSequences" -_TIC = "TextInferenceConfig" -_mTa = "maxTokens" -_ICn = "InferenceConfig" -_tIC = "textInferenceConfig" -_TPT = "TextPromptTemplate" -_PTrom = "PromptTemplate" -_tPT = "textPromptTemplate" -_ESGC = "ExternalSourcesGenerationConfiguration" -_pTr = "promptTemplate" -_gC = "guardrailConfiguration" -_iCn = "inferenceConfig" -_CT = "ContentType" -_Id = "Identifier" -_BCD = "ByteContentDoc" -_SOD = "S3ObjectDoc" -_EST = "ExternalSourceType" -_ES = "ExternalSource" -_ESx = "ExternalSources" -_ESRAGC = "ExternalSourcesRetrieveAndGenerateConfiguration" -_gCe = "generationConfiguration" -_GCe = "GenerationConfiguration" -_QTT = "QueryTransformationType" -_QD = "QUERY_DECOMPOSITION" -_QTC = "QueryTransformationConfiguration" -_OC = "OrchestrationConfiguration" -_qTC = "queryTransformationConfiguration" -_RAGT = "RetrieveAndGenerateType" -_ES_ = "EXTERNAL_SOURCES" -_RAGSC = "RetrieveAndGenerateSessionConfiguration" -_kKA = "kmsKeyArn" -_GAua = "GuadrailAction" -_RAGO = "RetrieveAndGenerateOutput" -_RAGOO = "RetrieveAndGenerateOperationOutput" -_cRAGR = "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateResponse" -_gA = "guardrailAction" -_CEi = "CitationEvent" -_cit = "citation" -_GE = "GuardrailEvent" -_RAGOE = "RetrieveAndGenerateOutputEvent" -_RAGSRO = "RetrieveAndGenerateStreamResponseOutput" -_RAGSO = "RetrieveAndGenerateStreamOutput" -_cRAGSR = "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateStreamResponse" -_xabkbsi = "x-amzn-bedrock-knowledge-base-session-id" -_IIFn = "InputImageFormat" -_IInp = "InputImage" -_iCnl = "inlineContent" -_KBQT = "KnowledgeBaseQueryType" -_KBQ = "KnowledgeBaseQuery" -_ima = "image" -_KBRR = "KnowledgeBaseRetrievalResult" -_sc = "score" -_KBRRn = "KnowledgeBaseRetrievalResults" -_ROe = "RetrieveOutput" -_cRRom = "com.amazonaws.bedrockagentruntime#RetrieveResponse" -_rRet = "retrievalResults" -_SMK = "SessionMetadataKey" -_SMV = "SessionMetadataValue" -_SMM = "SessionMetadataMap" -_TKa = "TagKey" -_TV = "TagValue" -_TM = "TagsMap" -_CSI = "CreateSessionInput" -_cCSR = "com.amazonaws.bedrockagentruntime#CreateSessionRequest" -_sMe = "sessionMetadata" -_eKA = "encryptionKeyArn" -_ta = "tags" -_SA = "SessionArn" -_Uu = "Uuid" -_SSe = "SessionStatus" -_ACTIVE = "ACTIVE" -_EXPIRED = "EXPIRED" -_ENDED = "ENDED" -_CSO = "CreateSessionOutput" -_cCSRo = "com.amazonaws.bedrockagentruntime#CreateSessionResponse" -_sAes = "sessionArn" -_sSes = "sessionStatus" -_CSr = "CreateSession" -_SIes = "SessionIdentifier" -_DSIe = "DeleteSessionInput" -_cDSR = "com.amazonaws.bedrockagentruntime#DeleteSessionRequest" -_sIes = "sessionIdentifier" -_DSO = "DeleteSessionOutput" -_cDSRo = "com.amazonaws.bedrockagentruntime#DeleteSessionResponse" -_DSe = "DeleteSession" -_ESI = "EndSessionInput" -_cESR = "com.amazonaws.bedrockagentruntime#EndSessionRequest" -_ESO = "EndSessionOutput" -_cESRo = "com.amazonaws.bedrockagentruntime#EndSessionResponse" -_ESn = "EndSession" -_GSI = "GetSessionInput" -_cGSR = "com.amazonaws.bedrockagentruntime#GetSessionRequest" -_GSO = "GetSessionOutput" -_cGSRo = "com.amazonaws.bedrockagentruntime#GetSessionResponse" -_lUA = "lastUpdatedAt" -_GS = "GetSession" -_ID = "InvocationDescription" -_CII = "CreateInvocationInput" -_cCIR = "com.amazonaws.bedrockagentruntime#CreateInvocationRequest" -_CIO = "CreateInvocationOutput" -_cCIRo = "com.amazonaws.bedrockagentruntime#CreateInvocationResponse" -_CIr = "CreateInvocation" -_IInvo = "InvocationIdentifier" -_LII = "ListInvocationsInput" -_cLIR = "com.amazonaws.bedrockagentruntime#ListInvocationsRequest" -_ISn = "InvocationSummary" -_ISnv = "InvocationSummaries" -_LIO = "ListInvocationsOutput" -_cLIRo = "com.amazonaws.bedrockagentruntime#ListInvocationsResponse" -_iS = "invocationSummaries" -_LI = "ListInvocations" -_GISI = "GetInvocationStepInput" -_cGISR = "com.amazonaws.bedrockagentruntime#GetInvocationStepRequest" -_iInvo = "invocationIdentifier" -_iSI = "invocationStepId" -_IFm = "ImageFormat" -_SLo = "S3Location" -_ISm = "ImageSource" -_IB = "ImageBlock" -_BSCB = "BedrockSessionContentBlock" -_BSCBe = "BedrockSessionContentBlocks" -_ISP = "InvocationStepPayload" -_cB = "contentBlocks" -_ISnvo = "InvocationStep" -_iST = "invocationStepTime" -_GISO = "GetInvocationStepOutput" -_cGISRo = "com.amazonaws.bedrockagentruntime#GetInvocationStepResponse" -_iSn = "invocationStep" -_GIS = "GetInvocationStep" -_LISI = "ListInvocationStepsInput" -_cLISR = "com.amazonaws.bedrockagentruntime#ListInvocationStepsRequest" -_ISSn = "InvocationStepSummary" -_ISSnv = "InvocationStepSummaries" -_LISO = "ListInvocationStepsOutput" -_cLISRo = "com.amazonaws.bedrockagentruntime#ListInvocationStepsResponse" -_iSS = "invocationStepSummaries" -_LIS = "ListInvocationSteps" -_PISI = "PutInvocationStepInput" -_cPISR = "com.amazonaws.bedrockagentruntime#PutInvocationStepRequest" -_PISO = "PutInvocationStepOutput" -_cPISRo = "com.amazonaws.bedrockagentruntime#PutInvocationStepResponse" -_PIS = "PutInvocationStep" -_LSI = "ListSessionsInput" -_cLSR = "com.amazonaws.bedrockagentruntime#ListSessionsRequest" -_SSes = "SessionSummary" -_SSess = "SessionSummaries" -_LSO = "ListSessionsOutput" -_cLSRo = "com.amazonaws.bedrockagentruntime#ListSessionsResponse" -_sSess = "sessionSummaries" -_LS = "ListSessions" -_USI = "UpdateSessionInput" -_cUSR = "com.amazonaws.bedrockagentruntime#UpdateSessionRequest" -_USO = "UpdateSessionOutput" -_cUSRo = "com.amazonaws.bedrockagentruntime#UpdateSessionResponse" -_US = "UpdateSession" -_TRA = "TaggableResourcesArn" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.bedrockagentruntime#ListTagsForResourceRequest" -_rA = "resourceArn" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.bedrockagentruntime#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.bedrockagentruntime#TagResourceRequest" -_TRO = "TagResourceOutput" -_cTRRo = "com.amazonaws.bedrockagentruntime#TagResourceResponse" -_TR = "TagResource" -_TKL = "TagKeyList" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.bedrockagentruntime#UntagResourceRequest" -_tKa = "tagKeys" -_URO = "UntagResourceOutput" -_cURRo = "com.amazonaws.bedrockagentruntime#UntagResourceResponse" -_UR = "UntagResource" -_RF = "RetrievalFilter" -_eq = "equals" -_nE = "notEquals" -_gTr = "greaterThan" -_gTOE = "greaterThanOrEquals" -_lT = "lessThan" -_lTOE = "lessThanOrEquals" -_in_ = "in" -_nI = "notIn" -_sW = "startsWith" -_lC = "listContains" -_sCt = "stringContains" -_aA = "andAll" -_oAr = "orAll" -_RFL = "RetrievalFilterList" -_KBVSC = "KnowledgeBaseVectorSearchConfiguration" -_oST = "overrideSearchType" -_filt = "filter" -_iFC = "implicitFilterConfiguration" -_MSC = "ManagedSearchConfiguration" -_ROet = "RetrievalOverrides" -_mNOR = "maxNumberOfResults" -_KBRC = "KnowledgeBaseRetrieverConfiguration" -_rO = "retrievalOverrides" -_RCetr = "RetrieverConfiguration" -_kB = "knowledgeBase" -_ARg = "AgenticRetriever" -_conf = "configuration" -_ARge = "AgenticRetrievers" -_ARSI = "AgenticRetrieveStreamInput" -_cARSRo = "com.amazonaws.bedrockagentruntime#AgenticRetrieveStreamRequest" -_ret = "retrievers" -_aRC = "agenticRetrieveConfiguration" -_pCo = "policyConfiguration" -_mCemo = "memoryConfiguration" -_rIC = "retrievalInstructionConfiguration" -_gRe = "generateResponse" -_KBRCn = "KnowledgeBaseRetrievalConfiguration" -_vSC = "vectorSearchConfiguration" -_mSC = "managedSearchConfiguration" -_ARSge = "AgenticRetrieveStream" -_KBn = "KnowledgeBase" -_rCetr = "retrievalConfiguration" -_KBC = "KnowledgeBaseConfiguration" -_KBRAGC = "KnowledgeBaseRetrieveAndGenerateConfiguration" -_oC = "orchestrationConfiguration" -_RIe = "RetrieveInput" -_cRRoma = "com.amazonaws.bedrockagentruntime#RetrieveRequest" -_rQ = "retrievalQuery" -_Ret = "Retrieve" -_KBCn = "KnowledgeBaseConfigurations" -_KBno = "KnowledgeBases" -_RAGC = "RetrieveAndGenerateConfiguration" -_eSC = "externalSourcesConfiguration" -_Co = "Collaborator" -_ins = "instruction" -_iSTTLIS = "idleSessionTTLInSeconds" -_aGc = "actionGroups" -_kBn = "knowledgeBases" -_pOC = "promptOverrideConfiguration" -_aC = "agentCollaboration" -_cCo = "collaboratorConfigurations" -_aN = "agentName" -_RAGOI = "RetrieveAndGenerateOperationInput" -_cRAGRo = "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateRequest" -_rAGC = "retrieveAndGenerateConfiguration" -_sCe = "sessionConfiguration" -_RAGSI = "RetrieveAndGenerateStreamInput" -_cRAGSRo = "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateStreamRequest" -_SSessi = "SessionState" -_kBCn = "knowledgeBaseConfigurations" -_RAG = "RetrieveAndGenerate" -_RAGS = "RetrieveAndGenerateStream" -_Col = "Collaborators" -_IAI = "InvokeAgentInput" -_cIARo = "com.amazonaws.bedrockagentruntime#InvokeAgentRequest" -_sSessi = "sessionState" -_eS = "endSession" -_iTnp = "inputText" -_bMC = "bedrockModelConfigurations" -_sCtr = "streamingConfigurations" -_pCC = "promptCreationConfigurations" -_sAo = "sourceArn" -_xasa = "x-amz-source-arn" -_IAn = "InvokeAgent" -_IIAI = "InvokeInlineAgentInput" -_cIIARo = "com.amazonaws.bedrockagentruntime#InvokeInlineAgentRequest" -_iSSn = "inlineSessionState" -_col = "collaborators" -_oTrc = "orchestrationType" -_cOu = "customOrchestration" -_IIA = "InvokeInlineAgent" -_ABARTS = "AmazonBedrockAgentRunTimeService" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" - -NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c, _sE: 403}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -CUSTOM_CONTROL_METHOD: StaticSchema = (14, n0, _CCM, 0, (_RC,), ((-1, {_sV: _RC}),)) - -LAMBDA_RESOURCE_ARN: StaticSchema = (3, n0, _LRA, 0) - -ACTION_GROUP_EXECUTOR: StaticSchema = ( - 19, - n0, - _AGE, - 0, - (_l, _cC), - ((LAMBDA_RESOURCE_ARN, 0), (CUSTOM_CONTROL_METHOD, 0)), -) - -ACTION_GROUP_NAME: StaticSchema = (3, n0, _AGN, 4) - -API_PATH: StaticSchema = (3, n0, _AP, 4) - -EXECUTION_TYPE: StaticSchema = ( - 14, - n0, - _ET, - 0, - (_LAMBDA, _RC), - ((-1, {_sV: _LAMBDA}), (-1, {_sV: _RC})), -) - -FUNCTION: StaticSchema = (3, n0, _F, 4) - -PARAMETER: StaticSchema = (18, n0, _P, 0, (_n, _t, _v), ((3, 0), (3, 0), (3, 0))) - -PARAMETERS: StaticSchema = (16, n0, _Pa, 0, (_me,), ((PARAMETER, 0),)) - -CONTENT_MAP: StaticSchema = (17, n0, _CM, 0, (_k, _v), ((3, 0), (PARAMETERS, 0))) - -REQUEST_BODY: StaticSchema = (18, n0, _RB, 0, (_co,), ((CONTENT_MAP, 0),)) - -VERB: StaticSchema = (3, n0, _V, 4) - -ACTION_GROUP_INVOCATION_INPUT: StaticSchema = ( - 18, - n0, - _AGII, - 0, - (_aGN, _ve, _aP, _p, _rB, _f, _eT, _iI), - ( - (ACTION_GROUP_NAME, 0), - (VERB, 0), - (API_PATH, 0), - (PARAMETERS, 0), - (REQUEST_BODY, 0), - (FUNCTION, 0), - (EXECUTION_TYPE, 0), - (3, 0), - ), -) - -DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) - -USAGE: StaticSchema = (18, n0, _U, 4, (_iT, _oT), ((7, 0), (7, 0))) - -METADATA: StaticSchema = ( - 18, - n0, - _M, - 4, - (_sT, _eTn, _tTM, _oTTM, _cRI, _u), - ( - (DATE_TIMESTAMP, {_sF: _dt}), - (DATE_TIMESTAMP, {_sF: _dt}), - (8, 0), - (8, 0), - (3, 0), - (USAGE, 0), - ), -) - -ACTION_GROUP_OUTPUT_STRING: StaticSchema = (3, n0, _AGOS, 4) - -ACTION_GROUP_INVOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _AGIO, - 0, - (_te, _met), - ((ACTION_GROUP_OUTPUT_STRING, 0), (METADATA, 0)), -) - -ACTION_GROUP_SIGNATURE: StaticSchema = ( - 14, - n0, - _AGS, - 0, - (_AU, _AC, _AC_, _AB, _AT), - ( - (-1, {_sV: _AMAZONUI}), - (-1, {_sV: _AMAZONCI}), - (-1, {_sV: _ANTHROPICC}), - (-1, {_sV: _ANTHROPICB}), - (-1, {_sV: _ANTHROPICTE}), - ), -) - -ACTION_GROUP_SIGNATURE_PARAMS: StaticSchema = ( - 17, - n0, - _AGSP, - 0, - (_k, _v), - ((3, 0), (3, 0)), -) - -ACTION_INVOCATION_TYPE: StaticSchema = ( - 14, - n0, - _AIT, - 0, - (_RESULT, _UC, _UCAR), - ((-1, {_sV: _RESULT}), (-1, {_sV: _UC}), (-1, {_sV: _UCAR})), -) - -ADDITIONAL_MODEL_REQUEST_FIELDS_KEY: StaticSchema = (3, n0, _AMRFK, 0) - -ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE: StaticSchema = (13, n0, _AMRFV, 0) - -ADDITIONAL_MODEL_REQUEST_FIELDS: StaticSchema = ( - 17, - n0, - _AMRF, - 0, - (_k, _v), - ( - (ADDITIONAL_MODEL_REQUEST_FIELDS_KEY, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE, 0), - ), -) - -RESOURCE_NAME: StaticSchema = (3, n0, _RN, 4) - -PAYLOAD: StaticSchema = (3, n0, _Pay, 4) - -S3_BUCKET_NAME: StaticSchema = (3, n0, _SBN, 0) - -S3_OBJECT_KEY: StaticSchema = (3, n0, _SOK, 0) - -S3_IDENTIFIER: StaticSchema = ( - 18, - n0, - _SI, - 0, - (_sBN, _sOK), - ((S3_BUCKET_NAME, 0), (S3_OBJECT_KEY, 0)), -) - -API_SCHEMA: StaticSchema = ( - 19, - n0, - _APIS, - 0, - (_s_, _pa), - ((S3_IDENTIFIER, 0), (PAYLOAD, 0)), -) - -RESOURCE_DESCRIPTION: StaticSchema = (3, n0, _RD, 4) - -FUNCTION_DESCRIPTION: StaticSchema = (3, n0, _FD, 0) - -PARAMETER_NAME: StaticSchema = (3, n0, _PN, 0) - -PARAMETER_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) - -PARAMETER_TYPE: StaticSchema = ( - 14, - n0, - _PT, - 0, - (_STRING, _NUMBER, _INTEGER, _BOOLEAN, _ARRAY), - ( - (-1, {_sV: _st}), - (-1, {_sV: _nu}), - (-1, {_sV: _i}), - (-1, {_sV: _b}), - (-1, {_sV: _a}), - ), -) - -PARAMETER_DETAIL: StaticSchema = ( - 18, - n0, - _PDa, - 0, - (_d, _t, _r), - ((PARAMETER_DESCRIPTION, 0), (PARAMETER_TYPE, 1), (2, 0)), -) - -PARAMETER_MAP: StaticSchema = ( - 17, - n0, - _PM, - 0, - (_k, _v), - ((PARAMETER_NAME, 0), (PARAMETER_DETAIL, 0)), -) - -REQUIRE_CONFIRMATION: StaticSchema = ( - 14, - n0, - _RCe, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -FUNCTION_DEFINITION: StaticSchema = ( - 18, - n0, - _FDu, - 0, - (_n, _d, _p, _rC), - ( - (RESOURCE_NAME, 1), - (FUNCTION_DESCRIPTION, 0), - (PARAMETER_MAP, 0), - (REQUIRE_CONFIRMATION, 0), - ), -) - -FUNCTIONS: StaticSchema = (16, n0, _Fu, 0, (_me,), ((FUNCTION_DEFINITION, 0),)) - -FUNCTION_SCHEMA: StaticSchema = (19, n0, _FS, 0, (_fu,), ((FUNCTIONS, 0),)) - -AGENT_ACTION_GROUP: StaticSchema = ( - 18, - n0, - _AAG, - 0, - (_aGN, _d, _pAGS, _aGE, _aS, _fS, _pAGSP), - ( - (RESOURCE_NAME, 1), - (RESOURCE_DESCRIPTION, 0), - (ACTION_GROUP_SIGNATURE, 0), - (ACTION_GROUP_EXECUTOR, 0), - (API_SCHEMA, 0), - (FUNCTION_SCHEMA, 0), - (ACTION_GROUP_SIGNATURE_PARAMS, 0), - ), -) - -AGENT_ACTION_GROUPS: StaticSchema = ( - 16, - n0, - _AAGg, - 0, - (_me,), - ((AGENT_ACTION_GROUP, 0),), -) - -AGENT_ALIAS_ARN: StaticSchema = (3, n0, _AAA, 0) - -AGENT_ALIAS_ID: StaticSchema = (3, n0, _AAI, 0) - -AGENT_COLLABORATION: StaticSchema = ( - 14, - n0, - _ACg, - 0, - (_SUPERVISOR, _SR, _DISABLED), - ((-1, {_sV: _SUPERVISOR}), (-1, {_sV: _SR}), (-1, {_sV: _DISABLED})), -) - -CONFIRMATION_STATE: StaticSchema = ( - 14, - n0, - _CS, - 0, - (_CONFIRM, _DENY), - ((-1, {_sV: _CONFIRM}), (-1, {_sV: _DENY})), -) - -IMAGE_INPUT_FORMAT: StaticSchema = ( - 14, - n0, - _IIF, - 0, - (_PNG, _JPEG, _GIF, _WEBP), - ((-1, {_sV: _pn}), (-1, {_sV: _j}), (-1, {_sV: _g}), (-1, {_sV: _w})), -) - -IMAGE_INPUT_SOURCE: StaticSchema = (19, n0, _IIS, 0, (_by,), ((1, 0),)) - -IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _II, - 0, - (_fo, _so), - ((IMAGE_INPUT_FORMAT, 1), (IMAGE_INPUT_SOURCE, 1)), -) - -IMAGE_INPUTS: StaticSchema = (16, n0, _IIm, 0, (_me,), ((IMAGE_INPUT, 0),)) - -CONTENT_BODY: StaticSchema = (18, n0, _CB, 0, (_bo, _im), ((3, 0), (IMAGE_INPUTS, 0))) - -RESPONSE_BODY: StaticSchema = (17, n0, _RBe, 0, (_k, _v), ((3, 0), (CONTENT_BODY, 0))) - -RESPONSE_STATE: StaticSchema = ( - 14, - n0, - _RS, - 0, - (_FAILURE, _REPROMPT), - ((-1, {_sV: _FAILURE}), (-1, {_sV: _REPROMPT})), -) - -API_RESULT: StaticSchema = ( - 18, - n0, - _AR, - 0, - (_aG, _hM, _aP, _cS, _rS, _hSC, _rBe, _aI), - ( - (3, 1), - (3, 0), - (API_PATH, 0), - (CONFIRMATION_STATE, 0), - (RESPONSE_STATE, 0), - (7, 0), - (RESPONSE_BODY, 0), - (3, 0), - ), -) - -FUNCTION_RESULT: StaticSchema = ( - 18, - n0, - _FR, - 0, - (_aG, _cS, _f, _rBe, _rS, _aI), - ( - (3, 1), - (CONFIRMATION_STATE, 0), - (3, 0), - (RESPONSE_BODY, 0), - (RESPONSE_STATE, 0), - (3, 0), - ), -) - -INVOCATION_RESULT_MEMBER: StaticSchema = ( - 19, - n0, - _IRM, - 0, - (_aR, _fR), - ((API_RESULT, 0), (FUNCTION_RESULT, 0)), -) - -RETURN_CONTROL_INVOCATION_RESULTS: StaticSchema = ( - 16, - n0, - _RCIR, - 0, - (_me,), - ((INVOCATION_RESULT_MEMBER, 0),), -) - -RETURN_CONTROL_RESULTS: StaticSchema = ( - 18, - n0, - _RCR, - 0, - (_iI, _rCIR), - ((3, 0), (RETURN_CONTROL_INVOCATION_RESULTS, 0)), -) - -AGENT_COLLABORATOR_PAYLOAD_STRING: StaticSchema = (3, n0, _ACPS, 4) - -PAYLOAD_TYPE: StaticSchema = ( - 14, - n0, - _PTa, - 0, - (_TEXT, _RC), - ((-1, {_sV: _TEXT}), (-1, {_sV: _RC})), -) - -AGENT_COLLABORATOR_INPUT_PAYLOAD: StaticSchema = ( - 18, - n0, - _ACIP, - 0, - (_t, _te, _rCR), - ( - (PAYLOAD_TYPE, 0), - (AGENT_COLLABORATOR_PAYLOAD_STRING, 0), - (RETURN_CONTROL_RESULTS, 0), - ), -) - -AGENT_COLLABORATOR_INVOCATION_INPUT: StaticSchema = ( - 18, - n0, - _ACII, - 0, - (_aCN, _aCAA, _in), - ((3, 0), (AGENT_ALIAS_ARN, 0), (AGENT_COLLABORATOR_INPUT_PAYLOAD, 0)), -) - -NAME: StaticSchema = (3, n0, _N, 4) - -API_PARAMETER: StaticSchema = (18, n0, _APp, 0, (_n, _t, _v), ((3, 0), (3, 0), (3, 0))) - -API_PARAMETERS: StaticSchema = (16, n0, _APpi, 0, (_me,), ((API_PARAMETER, 0),)) - -PARAMETER_LIST: StaticSchema = (16, n0, _PL, 0, (_me,), ((PARAMETER, 0),)) - -PROPERTY_PARAMETERS: StaticSchema = (18, n0, _PP, 0, (_pr,), ((PARAMETER_LIST, 0),)) - -API_CONTENT_MAP: StaticSchema = ( - 17, - n0, - _ACM, - 0, - (_k, _v), - ((3, 0), (PROPERTY_PARAMETERS, 0)), -) - -API_REQUEST_BODY: StaticSchema = (18, n0, _ARB, 0, (_co,), ((API_CONTENT_MAP, 0),)) - -API_INVOCATION_INPUT: StaticSchema = ( - 18, - n0, - _AII, - 0, - (_aG, _hM, _aP, _p, _rB, _aIT, _aI, _cN), - ( - (3, 1), - (3, 0), - (API_PATH, 0), - (API_PARAMETERS, 0), - (API_REQUEST_BODY, 0), - (ACTION_INVOCATION_TYPE, 0), - (3, 0), - (NAME, 0), - ), -) - -FUNCTION_PARAMETER: StaticSchema = ( - 18, - n0, - _FP, - 0, - (_n, _t, _v), - ((3, 0), (3, 0), (3, 0)), -) - -FUNCTION_PARAMETERS: StaticSchema = ( - 16, - n0, - _FPu, - 0, - (_me,), - ((FUNCTION_PARAMETER, 0),), -) - -FUNCTION_INVOCATION_INPUT: StaticSchema = ( - 18, - n0, - _FII, - 0, - (_aG, _p, _f, _aIT, _aI, _cN), - ( - (3, 1), - (FUNCTION_PARAMETERS, 0), - (3, 0), - (ACTION_INVOCATION_TYPE, 0), - (3, 0), - (NAME, 0), - ), -) - -INVOCATION_INPUT_MEMBER: StaticSchema = ( - 19, - n0, - _IIM, - 0, - (_aII, _fII), - ((API_INVOCATION_INPUT, 0), (FUNCTION_INVOCATION_INPUT, 0)), -) - -INVOCATION_INPUTS: StaticSchema = ( - 16, - n0, - _IIn, - 0, - (_me,), - ((INVOCATION_INPUT_MEMBER, 0),), -) - -RETURN_CONTROL_PAYLOAD: StaticSchema = ( - 18, - n0, - _RCP, - 4, - (_iIn, _iI), - ((INVOCATION_INPUTS, 0), (3, 0)), -) - -AGENT_COLLABORATOR_OUTPUT_PAYLOAD: StaticSchema = ( - 18, - n0, - _ACOP, - 0, - (_t, _te, _rCP), - ( - (PAYLOAD_TYPE, 0), - (AGENT_COLLABORATOR_PAYLOAD_STRING, 0), - (RETURN_CONTROL_PAYLOAD, 0), - ), -) - -AGENT_COLLABORATOR_INVOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _ACIO, - 0, - (_aCN, _aCAA, _o, _met), - ( - (3, 0), - (AGENT_ALIAS_ARN, 0), - (AGENT_COLLABORATOR_OUTPUT_PAYLOAD, 0), - (METADATA, 0), - ), -) - -AGENT_CORE_MEMORY_ACTOR_ID: StaticSchema = (3, n0, _ACMAI, 0) - -AGENT_CORE_MEMORY_ID: StaticSchema = (3, n0, _ACMI, 0) - -AGENT_CORE_MEMORY_SESSION_ID: StaticSchema = (3, n0, _ACMSI, 0) - -AGENTIC_RETRIEVE_SOURCE_RETRIEVER: StaticSchema = (18, n0, _ARSR, 0, (_id,), ((3, 1),)) - -AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT: StaticSchema = ( - 18, - n0, - _ARCED, - 0, - (_dI, _sR), - ((3, 0), (AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 0)), -) - -AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT_LIST: StaticSchema = ( - 16, - n0, - _ARCEDL, - 0, - (_me,), - ((AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT, 0),), -) - -AGENTIC_RETRIEVE_CODE_EXECUTION_DETAILS: StaticSchema = ( - 18, - n0, - _ARCEDg, - 0, - (_do,), - ((AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT_LIST, 0),), -) - -AGENTIC_RETRIEVE_FULL_DOC_EXPANSION_DETAILS: StaticSchema = ( - 18, - n0, - _ARFDED, - 0, - (_dI, _sR), - ((3, 0), (AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 0)), -) - -AGENTIC_RETRIEVE_MESSAGE_CONTENT: StaticSchema = (18, n0, _ARMC, 4, (_te,), ((3, 0),)) - -AGENTIC_RETRIEVE_MEMORY_RETRIEVE_DETAILS: StaticSchema = ( - 18, - n0, - _ARMRD, - 0, - (_iQ, _mI, _na, _nP, _sI), - ((AGENTIC_RETRIEVE_MESSAGE_CONTENT, 1), (3, 1), (3, 0), (3, 0), (3, 0)), -) - -AGENTIC_RETRIEVE_SOURCE_RETRIEVER_LIST: StaticSchema = ( - 16, - n0, - _ARSRL, - 0, - (_me,), - ((AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 0),), -) - -AGENTIC_RETRIEVE_ACTION_DETAILS: StaticSchema = ( - 18, - n0, - _ARAD, - 0, - (_iQ, _sRo), - ( - (AGENTIC_RETRIEVE_MESSAGE_CONTENT, 1), - (AGENTIC_RETRIEVE_SOURCE_RETRIEVER_LIST, 1), - ), -) - -AGENTIC_RETRIEVE_ACTION: StaticSchema = ( - 18, - n0, - _ARA, - 0, - (_re, _fDE, _mR, _cE), - ( - (AGENTIC_RETRIEVE_ACTION_DETAILS, 0), - (AGENTIC_RETRIEVE_FULL_DOC_EXPANSION_DETAILS, 0), - (AGENTIC_RETRIEVE_MEMORY_RETRIEVE_DETAILS, 0), - (AGENTIC_RETRIEVE_CODE_EXECUTION_DETAILS, 0), - ), -) - -AGENTIC_RETRIEVE_ACTIONS: StaticSchema = ( - 16, - n0, - _ARAg, - 0, - (_me,), - ((AGENTIC_RETRIEVE_ACTION, 0),), -) - -RETRIEVAL_INSTRUCTION_ID: StaticSchema = (3, n0, _RII, 0) - -RETRIEVAL_INSTRUCTION_VERSION: StaticSchema = (3, n0, _RIV, 0) - -AGENTIC_RETRIEVE_APPLIED_INSTRUCTION: StaticSchema = ( - 18, - n0, - _ARAI, - 0, - (_id_, _ver), - ((RETRIEVAL_INSTRUCTION_ID, 1), (RETRIEVAL_INSTRUCTION_VERSION, 0)), -) - -AGENTIC_RETRIEVE_BEDROCK_GUARDRAIL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARBGC, - 0, - (_gI, _gV), - ((3, 1), (3, 1)), -) - -BEDROCK_MODEL_ARN: StaticSchema = (3, n0, _BMA, 0) - -AGENTIC_RETRIEVE_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARBRMC, - 0, - (_mA,), - ((BEDROCK_MODEL_ARN, 1),), -) - -AGENTIC_RETRIEVE_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARBRC, - 0, - (_mC,), - ((AGENTIC_RETRIEVE_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1),), -) - -AGENTIC_RETRIEVE_CITATION_REFERENCE: StaticSchema = ( - 18, - n0, - _ARCR, - 0, - (_rI,), - ((7, 1),), -) - -AGENTIC_RETRIEVE_CITATION_REFERENCE_LIST: StaticSchema = ( - 16, - n0, - _ARCRL, - 0, - (_me,), - ((AGENTIC_RETRIEVE_CITATION_REFERENCE, 0),), -) - -AGENTIC_RETRIEVE_CITATION: StaticSchema = ( - 18, - n0, - _ARC, - 0, - (_sIt, _eI, _ref), - ((7, 1), (7, 1), (AGENTIC_RETRIEVE_CITATION_REFERENCE_LIST, 1)), -) - -AGENTIC_RETRIEVE_CITATION_LIST: StaticSchema = ( - 16, - n0, - _ARCL, - 0, - (_me,), - ((AGENTIC_RETRIEVE_CITATION, 0),), -) - -BEDROCK_FOUNDATION_MODEL_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BFMMC, - 0, - (_mA,), - ((BEDROCK_MODEL_ARN, 1),), -) - -BEDROCK_FOUNDATION_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BFMC, - 0, - (_mC,), - ((BEDROCK_FOUNDATION_MODEL_MODEL_CONFIGURATION, 1),), -) - -MANTLE_PROJECT_ID: StaticSchema = (3, n0, _MPI, 0) - -MANTLE_FOUNDATION_MODEL_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MFMMC, - 0, - (_mA, _pI), - ((BEDROCK_MODEL_ARN, 1), (MANTLE_PROJECT_ID, 0)), -) - -MANTLE_FOUNDATION_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MFMC, - 0, - (_mC,), - ((MANTLE_FOUNDATION_MODEL_MODEL_CONFIGURATION, 1),), -) - -FOUNDATION_MODEL_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _FMCT, - 0, - (_BFM, _MFM), - ((-1, {_sV: _BFM}), (-1, {_sV: _MFM})), -) - -FOUNDATION_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FMC, - 0, - (_t, _bFMC, _mFMC), - ( - (FOUNDATION_MODEL_CONFIGURATION_TYPE, 1), - (BEDROCK_FOUNDATION_MODEL_CONFIGURATION, 0), - (MANTLE_FOUNDATION_MODEL_CONFIGURATION, 0), - ), -) - -FOUNDATION_MODEL_TYPE: StaticSchema = ( - 14, - n0, - _FMT, - 0, - (_CUSTOM, _MANAGED), - ((-1, {_sV: _CUSTOM}), (-1, {_sV: _MANAGED})), -) - -AGENTIC_RETRIEVE_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _ARRCT, - 0, - (_BRM,), - ((-1, {_sV: _BRM}),), -) - -AGENTIC_RETRIEVE_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARRC, - 0, - (_t, _bRC), - ( - (AGENTIC_RETRIEVE_RERANKING_CONFIGURATION_TYPE, 1), - (AGENTIC_RETRIEVE_BEDROCK_RERANKING_CONFIGURATION, 0), - ), -) - -AGENTIC_RETRIEVE_RERANKING_MODEL_TYPE: StaticSchema = ( - 14, - n0, - _ARRMT, - 0, - (_CUSTOM, _MANAGED, _NONE), - ((-1, {_sV: _CUSTOM}), (-1, {_sV: _MANAGED}), (-1, {_sV: _NONE})), -) - -AGENTIC_RETRIEVE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARCg, - 0, - (_fMT, _fMC, _rMT, _rCe, _mAI), - ( - (FOUNDATION_MODEL_TYPE, {_smit: _MANAGED}), - (FOUNDATION_MODEL_CONFIGURATION, 0), - (AGENTIC_RETRIEVE_RERANKING_MODEL_TYPE, 0), - (AGENTIC_RETRIEVE_RERANKING_CONFIGURATION, 0), - (7, {_smit: 5}), - ), -) - -AGENTIC_RETRIEVE_FAILURE: StaticSchema = (18, n0, _ARF, 0, (_m,), ((3, 1),)) - -AGENTIC_RETRIEVE_FAILURES: StaticSchema = ( - 16, - n0, - _ARFg, - 0, - (_me,), - ((AGENTIC_RETRIEVE_FAILURE, 0),), -) - -AGENTIC_RETRIEVE_GENERATED_RESPONSE: StaticSchema = ( - 18, - n0, - _ARGR, - 0, - (_an, _ci), - ((3, 1), (AGENTIC_RETRIEVE_CITATION_LIST, 0)), -) - -GUARDRAIL_ACTION: StaticSchema = ( - 14, - n0, - _GA, - 0, - (_INTERVENED, _NONE), - ((-1, {_sV: _INTERVENED}), (-1, {_sV: _NONE})), -) - -AGENTIC_RETRIEVE_GUARDRAIL_WARNING: StaticSchema = ( - 18, - n0, - _ARGW, - 0, - (_id_, _ver, _ac, _m), - ((3, 1), (3, 1), (GUARDRAIL_ACTION, 1), (3, 0)), -) - -AGENTIC_RETRIEVE_INSTRUCTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARIC, - 0, - (_rII, _ver), - ((RETRIEVAL_INSTRUCTION_ID, 1), (RETRIEVAL_INSTRUCTION_VERSION, 0)), -) - -AGENTIC_RETRIEVE_MEMORY_PERSISTENCE_MODE: StaticSchema = ( - 14, - n0, - _ARMPM, - 0, - (_DEFAULT, _NONE), - ((-1, {_sV: _DEFAULT}), (-1, {_sV: _NONE})), -) - -AGENTIC_RETRIEVE_MEMORY_METADATA_KEY: StaticSchema = (3, n0, _ARMMK, 0) - -AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LEFT: StaticSchema = ( - 19, - n0, - _ARMMFL, - 0, - (_mK,), - ((AGENTIC_RETRIEVE_MEMORY_METADATA_KEY, 0),), -) - -AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_OPERATOR: StaticSchema = ( - 14, - n0, - _ARMMFO, - 0, - (_ET_, _EXISTS, _NE, _BEFORE, _AFTER, _CONTAINS, _GT, _GTOE, _LT, _LTOE), - ( - (-1, {_sV: _ET_}), - (-1, {_sV: _EXISTS}), - (-1, {_sV: _NE}), - (-1, {_sV: _BEFORE}), - (-1, {_sV: _AFTER}), - (-1, {_sV: _CONTAINS}), - (-1, {_sV: _GT}), - (-1, {_sV: _GTOE}), - (-1, {_sV: _LT}), - (-1, {_sV: _LTOE}), - ), -) - -AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST_ITEM: StaticSchema = (3, n0, _ARMMSLI, 0) - -AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST: StaticSchema = ( - 16, - n0, - _ARMMSL, - 0, - (_me,), - ((AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST_ITEM, 0),), -) - -AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_VALUE: StaticSchema = (3, n0, _ARMMSV, 0) - -AGENTIC_RETRIEVE_MEMORY_METADATA_VALUE: StaticSchema = ( - 19, - n0, - _ARMMV, - 0, - (_sVt, _nV, _sLV, _dTV), - ( - (AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_VALUE, 0), - (10, 0), - (AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST, 0), - (4, 0), - ), -) - -AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_RIGHT: StaticSchema = ( - 19, - n0, - _ARMMFR, - 0, - (_mV,), - ((AGENTIC_RETRIEVE_MEMORY_METADATA_VALUE, 0),), -) - -AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER: StaticSchema = ( - 18, - n0, - _ARMMF, - 0, - (_le, _op, _ri), - ( - (AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LEFT, 1), - (AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_OPERATOR, 1), - (AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_RIGHT, 0), - ), -) - -AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LIST: StaticSchema = ( - 16, - n0, - _ARMMFLg, - 0, - (_me,), - ((AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER, 0),), -) - -MEMORY_NAMESPACE: StaticSchema = (3, n0, _MN, 0) - -MEMORY_STRATEGY_ID: StaticSchema = (3, n0, _MSI, 0) - -AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG: StaticSchema = ( - 18, - n0, - _ARMRC, - 0, - (_na, _nP, _sI, _mF), - ( - (MEMORY_NAMESPACE, 0), - (MEMORY_NAMESPACE, 0), - (MEMORY_STRATEGY_ID, 0), - (AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LIST, 0), - ), -) - -AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _ARMRCL, - 0, - (_me,), - ((AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG, 0),), -) - -AGENTIC_RETRIEVE_MEMORY_SESSION_BINDING: StaticSchema = ( - 18, - n0, - _ARMSB, - 0, - (_aIc, _sIe), - ((AGENT_CORE_MEMORY_ACTOR_ID, 1), (AGENT_CORE_MEMORY_SESSION_ID, 1)), -) - -AGENTIC_RETRIEVE_MEMORY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARMCg, - 0, - (_mI, _sB, _rCet, _pM), - ( - (AGENT_CORE_MEMORY_ID, 1), - (AGENTIC_RETRIEVE_MEMORY_SESSION_BINDING, 0), - (AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG_LIST, 0), - (AGENTIC_RETRIEVE_MEMORY_PERSISTENCE_MODE, 0), - ), -) - -CONVERSATION_ROLE: StaticSchema = ( - 14, - n0, - _CR, - 0, - (_USER, _ASSISTANT), - ((-1, {_sV: _us}), (-1, {_sV: _as})), -) - -AGENTIC_RETRIEVE_MESSAGE: StaticSchema = ( - 18, - n0, - _ARM, - 0, - (_co, _ro), - ((AGENTIC_RETRIEVE_MESSAGE_CONTENT, 1), (CONVERSATION_ROLE, 1)), -) - -AGENTIC_RETRIEVE_MESSAGES: StaticSchema = ( - 16, - n0, - _ARMg, - 0, - (_me,), - ((AGENTIC_RETRIEVE_MESSAGE, 0),), -) - -AGENTIC_RETRIEVE_METADATA: StaticSchema = ( - 17, - n0, - _ARMge, - 0, - (_k, _v), - ((3, 0), (13, 0)), -) - -AGENTIC_RETRIEVE_POLICY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARPC, - 0, - (_bGC,), - ((AGENTIC_RETRIEVE_BEDROCK_GUARDRAIL_CONFIGURATION, 0),), -) - -KNOWLEDGE_BASE_ID: StaticSchema = (3, n0, _KBI, 0) - -FILTER_KEY: StaticSchema = (3, n0, _FK, 0) - -FILTER_VALUE: StaticSchema = (13, n0, _FV, 0) - -FILTER_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _FA, - 0, - (_k, _v), - ((FILTER_KEY, 1), (FILTER_VALUE, 1)), -) - -AGENTIC_RETRIEVE_RESPONSE_EVENT: StaticSchema = (18, n0, _ARRE, 0, (_te,), ((3, 1),)) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -MIME_TYPE: StaticSchema = (3, n0, _MT, 0) - -RETRIEVAL_CONTENT: StaticSchema = ( - 18, - n0, - _RCet, - 0, - (_bC, _te, _mT), - ((1, 0), (3, 0), (MIME_TYPE, 1)), -) - -AGENTIC_RETRIEVE_RESULT_ITEM: StaticSchema = ( - 18, - n0, - _ARRI, - 0, - (_co, _met, _sR), - ( - (RETRIEVAL_CONTENT, 1), - (AGENTIC_RETRIEVE_METADATA, 0), - (AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 1), - ), -) - -AGENTIC_RETRIEVE_RESULTS: StaticSchema = ( - 16, - n0, - _ARR, - 0, - (_me,), - ((AGENTIC_RETRIEVE_RESULT_ITEM, 0),), -) - -AGENTIC_RETRIEVE_RESULT_EVENT: StaticSchema = ( - 18, - n0, - _ARREg, - 0, - (_res, _gR, _nT), - ( - (AGENTIC_RETRIEVE_RESULTS, 1), - (AGENTIC_RETRIEVE_GENERATED_RESPONSE, 0), - (NEXT_TOKEN, 0), - ), -) - -AGENTIC_RETRIEVE_TYPE: StaticSchema = ( - 14, - n0, - _ART, - 0, - (_BKB, _BACM), - ((-1, {_sV: _BKBe}), (-1, {_sV: _BACMe})), -) - -AGENTIC_RETRIEVE_SOURCE_METADATA: StaticSchema = ( - 18, - n0, - _ARSM, - 0, - (_id, _rT), - ((3, 0), (AGENTIC_RETRIEVE_TYPE, 0)), -) - -AGENTIC_RETRIEVE_SOURCE_METADATA_LIST: StaticSchema = ( - 16, - n0, - _ARSML, - 0, - (_me,), - ((AGENTIC_RETRIEVE_SOURCE_METADATA, 0),), -) - -AGENTIC_RETRIEVE_STATUS: StaticSchema = ( - 14, - n0, - _ARS, - 0, - (_IP, _SUCCEEDED, _FAILED), - ((-1, {_sV: _IP}), (-1, {_sV: _SUCCEEDED}), (-1, {_sV: _FAILED})), -) - -AGENTIC_RETRIEVE_STEP: StaticSchema = ( - 14, - n0, - _ARSg, - 0, - (_PLANNING, _RETRIEVAL, _SR_, _FDE, _SHL, _CE), - ( - (-1, {_sV: _Pl}), - (-1, {_sV: _R}), - (-1, {_sV: _SRp}), - (-1, {_sV: _FDEu}), - (-1, {_sV: _SHLe}), - (-1, {_sV: _CEo}), - ), -) - -USER_CONTEXT: StaticSchema = (18, n0, _UCs, 4, (_uI,), ((3, 1),)) - -BAD_GATEWAY_EXCEPTION: StaticSchema = ( - 18, - n0, - _BGE, - {_s: _se, _sE: 502}, - (_m, _rN), - ((NON_BLANK_STRING, 0), (NON_BLANK_STRING, 0)), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CEon, - {_s: _c, _sE: 409}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -DEPENDENCY_FAILED_EXCEPTION: StaticSchema = ( - 18, - n0, - _DFE, - {_s: _c, _sE: 424}, - (_m, _rN), - ((NON_BLANK_STRING, 0), (NON_BLANK_STRING, 0)), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_s: _se, _sE: 500}, - (_m, _rea), - ((NON_BLANK_STRING, 0), (3, 0)), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c, _sE: 404}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_s: _c, _sE: 400}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - {_s: _c, _sE: 429}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -AGENTIC_RETRIEVE_TRACE_RESULT_ITEM: StaticSchema = ( - 18, - n0, - _ARTRI, - 0, - (_co, _met, _sR), - ( - (RETRIEVAL_CONTENT, 0), - (AGENTIC_RETRIEVE_METADATA, 0), - (AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 0), - ), -) - -AGENTIC_RETRIEVE_TRACE_RESULTS: StaticSchema = ( - 16, - n0, - _ARTR, - 0, - (_me,), - ((AGENTIC_RETRIEVE_TRACE_RESULT_ITEM, 0),), -) - -AGENTIC_RETRIEVE_WARNING_MESSAGE: StaticSchema = (18, n0, _ARWM, 0, (_m,), ((3, 1),)) - -AGENTIC_RETRIEVE_WARNING: StaticSchema = ( - 19, - n0, - _ARW, - 0, - (_m, _gu), - ((AGENTIC_RETRIEVE_WARNING_MESSAGE, 0), (AGENTIC_RETRIEVE_GUARDRAIL_WARNING, 0)), -) - -AGENTIC_RETRIEVE_WARNINGS: StaticSchema = ( - 16, - n0, - _ARWg, - 0, - (_me,), - ((AGENTIC_RETRIEVE_WARNING, 0),), -) - -AGENTIC_RETRIEVE_TRACE_EVENT_ATTRIBUTES: StaticSchema = ( - 18, - n0, - _ARTEA, - 0, - (_ste, _sta, _m, _act, _wa, _fa, _rM, _rR, _aIp), - ( - (AGENTIC_RETRIEVE_STEP, 1), - (AGENTIC_RETRIEVE_STATUS, 1), - (3, 1), - (AGENTIC_RETRIEVE_ACTIONS, 0), - (AGENTIC_RETRIEVE_WARNINGS, 0), - (AGENTIC_RETRIEVE_FAILURES, 0), - (AGENTIC_RETRIEVE_SOURCE_METADATA_LIST, 0), - (AGENTIC_RETRIEVE_TRACE_RESULTS, 0), - (AGENTIC_RETRIEVE_APPLIED_INSTRUCTION, 0), - ), -) - -AGENTIC_RETRIEVE_TRACE_EVENT: StaticSchema = ( - 18, - n0, - _ARTE, - 0, - (_id_, _ti, _at), - ((3, 1), (8, 1), (AGENTIC_RETRIEVE_TRACE_EVENT_ATTRIBUTES, 1)), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_s: _c, _sE: 400}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -AGENTIC_RETRIEVE_STREAM_RESPONSE_OUTPUT: StaticSchema = ( - 19, - n0, - _ARSRO, - {_smith: None}, - (_resu, _tE, _rE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE), - ( - (AGENTIC_RETRIEVE_RESULT_EVENT, 0), - (AGENTIC_RETRIEVE_TRACE_EVENT, 0), - (AGENTIC_RETRIEVE_RESPONSE_EVENT, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (RESOURCE_NOT_FOUND_EXCEPTION, 0), - (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (ACCESS_DENIED_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (DEPENDENCY_FAILED_EXCEPTION, 0), - (BAD_GATEWAY_EXCEPTION, 0), - ), -) - -AGENTIC_RETRIEVE_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _ARSO, - {_sSI: _cARSR, _smithy: None}, - (_str,), - ((AGENTIC_RETRIEVE_STREAM_RESPONSE_OUTPUT, 17),), -) - -AGENT_ID: StaticSchema = (3, n0, _AI, 0) - -AGENT_VERSION: StaticSchema = (3, n0, _AV, 0) - -CALLER: StaticSchema = (19, n0, _C, 0, (_aAA,), ((AGENT_ALIAS_ARN, 0),)) - -CALLER_CHAIN: StaticSchema = (16, n0, _CC, 0, (_me,), ((CALLER, 0),)) - -SESSION_ID: StaticSchema = (3, n0, _SIe, 0) - -CUSTOM_ORCHESTRATION_TRACE_EVENT: StaticSchema = (18, n0, _COTE, 4, (_te,), ((3, 0),)) - -TRACE_ID: StaticSchema = (3, n0, _TI, 0) - -CUSTOM_ORCHESTRATION_TRACE: StaticSchema = ( - 18, - n0, - _COT, - 4, - (_tI, _e), - ((TRACE_ID, 0), (CUSTOM_ORCHESTRATION_TRACE_EVENT, 0)), -) - -FAILURE_REASON_STRING: StaticSchema = (3, n0, _FRS, 4) - -FAILURE_TRACE: StaticSchema = ( - 18, - n0, - _FT, - 4, - (_tI, _fRa, _fC, _met), - ((TRACE_ID, 0), (FAILURE_REASON_STRING, 0), (7, 0), (METADATA, 0)), -) - -GUARDRAIL_CONTENT_POLICY_ACTION: StaticSchema = ( - 14, - n0, - _GCPA, - 0, - (_BLOCKED,), - ((-1, {_sV: _BLOCKED}),), -) - -GUARDRAIL_CONTENT_FILTER_CONFIDENCE: StaticSchema = ( - 14, - n0, - _GCFC, - 0, - (_NONE, _LOW, _MEDIUM, _HIGH), - ((-1, {_sV: _NONE}), (-1, {_sV: _LOW}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _HIGH})), -) - -GUARDRAIL_CONTENT_FILTER_TYPE: StaticSchema = ( - 14, - n0, - _GCFT, - 0, - (_INSULTS, _HATE, _SEXUAL, _VIOLENCE, _MISCONDUCT, _PA), - ( - (-1, {_sV: _INSULTS}), - (-1, {_sV: _HATE}), - (-1, {_sV: _SEXUAL}), - (-1, {_sV: _VIOLENCE}), - (-1, {_sV: _MISCONDUCT}), - (-1, {_sV: _PA}), - ), -) - -GUARDRAIL_CONTENT_FILTER: StaticSchema = ( - 18, - n0, - _GCF, - 4, - (_t, _con, _ac), - ( - (GUARDRAIL_CONTENT_FILTER_TYPE, 0), - (GUARDRAIL_CONTENT_FILTER_CONFIDENCE, 0), - (GUARDRAIL_CONTENT_POLICY_ACTION, 0), - ), -) - -GUARDRAIL_CONTENT_FILTER_LIST: StaticSchema = ( - 16, - n0, - _GCFL, - 4, - (_me,), - ((GUARDRAIL_CONTENT_FILTER, 0),), -) - -GUARDRAIL_CONTENT_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GCPAu, - 4, - (_fi,), - ((GUARDRAIL_CONTENT_FILTER_LIST, 0),), -) - -GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION: StaticSchema = ( - 14, - n0, - _GSIPA, - 0, - (_BLOCKED, _ANONYMIZED), - ((-1, {_sV: _BLOCKED}), (-1, {_sV: _ANONYMIZED})), -) - -GUARDRAIL_PII_ENTITY_TYPE: StaticSchema = ( - 14, - n0, - _GPET, - 0, - ( - _ADDRESS, - _AGE_, - _AAK, - _ASK, - _CHN, - _CSIN, - _CDCC, - _CDCE, - _CDCN, - _DI, - _EMAIL, - _IBAN, - _IA, - _LP, - _MA, - _NAME, - _PASSWORD, - _PHONE, - _PIN, - _SC, - _UNHSN, - _UNIN, - _UUTRN, - _URL, - _USERNAME, - _UBAN, - _UBRN, - _UITIN, - _UPN, - _USSN, - _VIN, - ), - ( - (-1, {_sV: _ADDRESS}), - (-1, {_sV: _AGE_}), - (-1, {_sV: _AAK}), - (-1, {_sV: _ASK}), - (-1, {_sV: _CHN}), - (-1, {_sV: _CSIN}), - (-1, {_sV: _CDCC}), - (-1, {_sV: _CDCE}), - (-1, {_sV: _CDCN}), - (-1, {_sV: _DI}), - (-1, {_sV: _EMAIL}), - (-1, {_sV: _IBAN}), - (-1, {_sV: _IA}), - (-1, {_sV: _LP}), - (-1, {_sV: _MA}), - (-1, {_sV: _NAME}), - (-1, {_sV: _PASSWORD}), - (-1, {_sV: _PHONE}), - (-1, {_sV: _PIN}), - (-1, {_sV: _SC}), - (-1, {_sV: _UNHSN}), - (-1, {_sV: _UNIN}), - (-1, {_sV: _UUTRN}), - (-1, {_sV: _URL}), - (-1, {_sV: _USERNAME}), - (-1, {_sV: _UBAN}), - (-1, {_sV: _UBRN}), - (-1, {_sV: _UITIN}), - (-1, {_sV: _UPN}), - (-1, {_sV: _USSN}), - (-1, {_sV: _VIN}), - ), -) - -GUARDRAIL_PII_ENTITY_FILTER: StaticSchema = ( - 18, - n0, - _GPEF, - 4, - (_t, _ma, _ac), - ( - (GUARDRAIL_PII_ENTITY_TYPE, 0), - (3, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION, 0), - ), -) - -GUARDRAIL_PII_ENTITY_FILTER_LIST: StaticSchema = ( - 16, - n0, - _GPEFL, - 4, - (_me,), - ((GUARDRAIL_PII_ENTITY_FILTER, 0),), -) - -GUARDRAIL_REGEX_FILTER: StaticSchema = ( - 18, - n0, - _GRF, - 4, - (_n, _reg, _ma, _ac), - ((3, 0), (3, 0), (3, 0), (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION, 0)), -) - -GUARDRAIL_REGEX_FILTER_LIST: StaticSchema = ( - 16, - n0, - _GRFL, - 4, - (_me,), - ((GUARDRAIL_REGEX_FILTER, 0),), -) - -GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GSIPAu, - 4, - (_pE, _rege), - ((GUARDRAIL_PII_ENTITY_FILTER_LIST, 0), (GUARDRAIL_REGEX_FILTER_LIST, 0)), -) - -GUARDRAIL_TOPIC_POLICY_ACTION: StaticSchema = ( - 14, - n0, - _GTPA, - 0, - (_BLOCKED,), - ((-1, {_sV: _BLOCKED}),), -) - -GUARDRAIL_TOPIC_TYPE: StaticSchema = (14, n0, _GTT, 0, (_DENY,), ((-1, {_sV: _DENY}),)) - -GUARDRAIL_TOPIC: StaticSchema = ( - 18, - n0, - _GTu, - 4, - (_n, _t, _ac), - ((3, 0), (GUARDRAIL_TOPIC_TYPE, 0), (GUARDRAIL_TOPIC_POLICY_ACTION, 0)), -) - -GUARDRAIL_TOPIC_LIST: StaticSchema = (16, n0, _GTL, 4, (_me,), ((GUARDRAIL_TOPIC, 0),)) - -GUARDRAIL_TOPIC_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GTPAu, - 4, - (_to,), - ((GUARDRAIL_TOPIC_LIST, 0),), -) - -GUARDRAIL_WORD_POLICY_ACTION: StaticSchema = ( - 14, - n0, - _GWPA, - 0, - (_BLOCKED,), - ((-1, {_sV: _BLOCKED}),), -) - -GUARDRAIL_CUSTOM_WORD: StaticSchema = ( - 18, - n0, - _GCW, - 4, - (_ma, _ac), - ((3, 0), (GUARDRAIL_WORD_POLICY_ACTION, 0)), -) - -GUARDRAIL_CUSTOM_WORD_LIST: StaticSchema = ( - 16, - n0, - _GCWL, - 4, - (_me,), - ((GUARDRAIL_CUSTOM_WORD, 0),), -) - -GUARDRAIL_MANAGED_WORD_TYPE: StaticSchema = ( - 14, - n0, - _GMWT, - 0, - (_PROFANITY,), - ((-1, {_sV: _PROFANITY}),), -) - -GUARDRAIL_MANAGED_WORD: StaticSchema = ( - 18, - n0, - _GMW, - 4, - (_ma, _t, _ac), - ((3, 0), (GUARDRAIL_MANAGED_WORD_TYPE, 0), (GUARDRAIL_WORD_POLICY_ACTION, 0)), -) - -GUARDRAIL_MANAGED_WORD_LIST: StaticSchema = ( - 16, - n0, - _GMWL, - 4, - (_me,), - ((GUARDRAIL_MANAGED_WORD, 0),), -) - -GUARDRAIL_WORD_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GWPAu, - 4, - (_cW, _mWL), - ((GUARDRAIL_CUSTOM_WORD_LIST, 0), (GUARDRAIL_MANAGED_WORD_LIST, 0)), -) - -GUARDRAIL_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GAu, - 4, - (_tP, _cP, _wP, _sIP), - ( - (GUARDRAIL_TOPIC_POLICY_ASSESSMENT, 0), - (GUARDRAIL_CONTENT_POLICY_ASSESSMENT, 0), - (GUARDRAIL_WORD_POLICY_ASSESSMENT, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT, 0), - ), -) - -GUARDRAIL_ASSESSMENT_LIST: StaticSchema = ( - 16, - n0, - _GAL, - 0, - (_me,), - ((GUARDRAIL_ASSESSMENT, 0),), -) - -GUARDRAIL_TRACE: StaticSchema = ( - 18, - n0, - _GTua, - 4, - (_ac, _tI, _iA, _oA, _met), - ( - (GUARDRAIL_ACTION, 0), - (TRACE_ID, 0), - (GUARDRAIL_ASSESSMENT_LIST, 0), - (GUARDRAIL_ASSESSMENT_LIST, 0), - (METADATA, 0), - ), -) - -FILES: StaticSchema = (16, n0, _Fi, 0, (_me,), ((3, 0),)) - -CODE_INTERPRETER_INVOCATION_INPUT: StaticSchema = ( - 18, - n0, - _CIII, - 0, - (_cod, _fil), - ((3, 0), (FILES, 0)), -) - -INVOCATION_TYPE: StaticSchema = ( - 14, - n0, - _IT, - 0, - (_AG, _KB, _FINISH, _AGCI, _AC__), - ( - (-1, {_sV: _AG}), - (-1, {_sV: _KB}), - (-1, {_sV: _FINISH}), - (-1, {_sV: _AGCI}), - (-1, {_sV: _AC__}), - ), -) - -TRACE_KNOWLEDGE_BASE_ID: StaticSchema = (3, n0, _TKBI, 4) - -KNOWLEDGE_BASE_LOOKUP_INPUT_STRING: StaticSchema = (3, n0, _KBLIS, 4) - -KNOWLEDGE_BASE_LOOKUP_INPUT: StaticSchema = ( - 18, - n0, - _KBLI, - 0, - (_te, _kBI), - ((KNOWLEDGE_BASE_LOOKUP_INPUT_STRING, 0), (TRACE_KNOWLEDGE_BASE_ID, 0)), -) - -INVOCATION_INPUT: StaticSchema = ( - 18, - n0, - _IInv, - 4, - (_tI, _iTn, _aGII, _kBLI, _cIII, _aCII), - ( - (TRACE_ID, 0), - (INVOCATION_TYPE, 0), - (ACTION_GROUP_INVOCATION_INPUT, 0), - (KNOWLEDGE_BASE_LOOKUP_INPUT, 0), - (CODE_INTERPRETER_INVOCATION_INPUT, 0), - (AGENT_COLLABORATOR_INVOCATION_INPUT, 0), - ), -) - -MODEL_IDENTIFIER: StaticSchema = (3, n0, _MI, 0) - -MAXIMUM_LENGTH: StaticSchema = (7, n0, _ML, 0) - -STOP_SEQUENCES: StaticSchema = (16, n0, _SS, 0, (_me,), ((3, 0),)) - -TEMPERATURE: StaticSchema = (9, n0, _T, 0) - -TOP_K: StaticSchema = (7, n0, _TK, 0) - -TOP_P: StaticSchema = (9, n0, _TP, 0) - -INFERENCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IC, - 0, - (_tem, _tPo, _tK, _mL, _sS), - ( - (TEMPERATURE, 0), - (TOP_P, 0), - (TOP_K, 0), - (MAXIMUM_LENGTH, 0), - (STOP_SEQUENCES, 0), - ), -) - -LAMBDA_ARN: StaticSchema = (3, n0, _LA, 0) - -CREATION_MODE: StaticSchema = ( - 14, - n0, - _CMr, - 0, - (_DEFAULT, _OVERRIDDEN), - ((-1, {_sV: _DEFAULT}), (-1, {_sV: _OVERRIDDEN})), -) - -PROMPT_TEXT: StaticSchema = (3, n0, _PTr, 4) - -PROMPT_TYPE: StaticSchema = ( - 14, - n0, - _PTro, - 0, - (_PP_, _ORCHESTRATION, _KBRG, _PP__, _RC_), - ( - (-1, {_sV: _PP_}), - (-1, {_sV: _ORCHESTRATION}), - (-1, {_sV: _KBRG}), - (-1, {_sV: _PP__}), - (-1, {_sV: _RC_}), - ), -) - -MODEL_INVOCATION_INPUT: StaticSchema = ( - 18, - n0, - _MII, - 4, - (_tI, _te, _t, _oL, _pCM, _iC, _pMa, _fM), - ( - (TRACE_ID, 0), - (PROMPT_TEXT, 0), - (PROMPT_TYPE, 0), - (LAMBDA_ARN, 0), - (CREATION_MODE, 0), - (INFERENCE_CONFIGURATION, 0), - (CREATION_MODE, 0), - (MODEL_IDENTIFIER, 0), - ), -) - -RAW_RESPONSE: StaticSchema = (18, n0, _RR, 4, (_co,), ((3, 0),)) - -REASONING_TEXT_BLOCK: StaticSchema = (18, n0, _RTB, 4, (_te, _si), ((3, 1), (3, 0))) - -REASONING_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _RCB, - 4, - (_rTe, _rCed), - ((REASONING_TEXT_BLOCK, 0), (1, 0)), -) - -ORCHESTRATION_MODEL_INVOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _OMIO, - 4, - (_tI, _rRa, _met, _rCea), - ((TRACE_ID, 0), (RAW_RESPONSE, 0), (METADATA, 0), (REASONING_CONTENT_BLOCK, 0)), -) - -CODE_INTERPRETER_INVOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CIIO, - 0, - (_eO, _eE, _fil, _eTx, _met), - ((3, 0), (3, 0), (FILES, 0), (2, 0), (METADATA, 0)), -) - -FINAL_RESPONSE_STRING: StaticSchema = (3, n0, _FRSi, 4) - -FINAL_RESPONSE: StaticSchema = ( - 18, - n0, - _FRi, - 0, - (_te, _met), - ((FINAL_RESPONSE_STRING, 0), (METADATA, 0)), -) - -AUDIO_SEGMENT: StaticSchema = (18, n0, _AS, 0, (_sU, _tr), ((3, 1), (3, 0))) - -RETRIEVAL_RESULT_CONTENT_COLUMN_TYPE: StaticSchema = ( - 14, - n0, - _RRCCT, - 0, - (_BLOB, _BOOLEAN, _DOUBLE, _NULL, _LONG, _STRING), - ( - (-1, {_sV: _BLOB}), - (-1, {_sV: _BOOLEAN}), - (-1, {_sV: _DOUBLE}), - (-1, {_sV: _NULL}), - (-1, {_sV: _LONG}), - (-1, {_sV: _STRING}), - ), -) - -RETRIEVAL_RESULT_CONTENT_COLUMN: StaticSchema = ( - 18, - n0, - _RRCC, - 4, - (_cNo, _cV, _t), - ((3, 0), (3, 0), (RETRIEVAL_RESULT_CONTENT_COLUMN_TYPE, 0)), -) - -RETRIEVAL_RESULT_CONTENT_ROW: StaticSchema = ( - 16, - n0, - _RRCR, - 4, - (_me,), - ((RETRIEVAL_RESULT_CONTENT_COLUMN, 0),), -) - -RETRIEVAL_RESULT_CONTENT_TYPE: StaticSchema = ( - 14, - n0, - _RRCT, - 0, - (_TEXT, _IMAGE, _ROW, _AUDIO, _VIDEO), - ( - (-1, {_sV: _TEXT}), - (-1, {_sV: _IMAGE}), - (-1, {_sV: _ROW}), - (-1, {_sV: _AUDIO}), - (-1, {_sV: _VIDEO}), - ), -) - -VIDEO_SEGMENT: StaticSchema = (18, n0, _VS, 0, (_sU, _su), ((3, 1), (3, 0))) - -RETRIEVAL_RESULT_CONTENT: StaticSchema = ( - 18, - n0, - _RRC, - 4, - (_t, _te, _bC, _vi, _au, _row), - ( - (RETRIEVAL_RESULT_CONTENT_TYPE, 0), - (3, {_smit: _v_}), - (3, 0), - (VIDEO_SEGMENT, 0), - (AUDIO_SEGMENT, 0), - (RETRIEVAL_RESULT_CONTENT_ROW, 0), - ), -) - -RETRIEVAL_RESULT_CONFLUENCE_LOCATION: StaticSchema = ( - 18, - n0, - _RRCL, - 0, - (_ur,), - ((3, 0),), -) - -RETRIEVAL_RESULT_CUSTOM_DOCUMENT_LOCATION: StaticSchema = ( - 18, - n0, - _RRCDL, - 0, - (_id_,), - ((3, 0),), -) - -RETRIEVAL_RESULT_GOOGLE_DRIVE_LOCATION: StaticSchema = ( - 18, - n0, - _RRGDL, - 0, - (_ur,), - ((3, 0),), -) - -RETRIEVAL_RESULT_KENDRA_DOCUMENT_LOCATION: StaticSchema = ( - 18, - n0, - _RRKDL, - 0, - (_uri,), - ((3, 0),), -) - -RETRIEVAL_RESULT_ONE_DRIVE_LOCATION: StaticSchema = ( - 18, - n0, - _RRODL, - 0, - (_ur,), - ((3, 0),), -) - -RETRIEVAL_RESULT_S3_LOCATION: StaticSchema = (18, n0, _RRSL, 0, (_uri,), ((3, 0),)) - -RETRIEVAL_RESULT_SALESFORCE_LOCATION: StaticSchema = ( - 18, - n0, - _RRSLe, - 0, - (_ur,), - ((3, 0),), -) - -RETRIEVAL_RESULT_SHARE_POINT_LOCATION: StaticSchema = ( - 18, - n0, - _RRSPL, - 0, - (_ur,), - ((3, 0),), -) - -RETRIEVAL_RESULT_SQL_LOCATION: StaticSchema = (18, n0, _RRSLet, 0, (_q,), ((3, 0),)) - -RETRIEVAL_RESULT_LOCATION_TYPE: StaticSchema = ( - 14, - n0, - _RRLT, - 0, - ( - _S, - _WEB, - _CONFLUENCE, - _SALESFORCE, - _SHAREPOINT, - _CUSTOM, - _KENDRA, - _SQL, - _ONEDRIVE, - _GOOGLEDRIVE, - ), - ( - (-1, {_sV: _S}), - (-1, {_sV: _WEB}), - (-1, {_sV: _CONFLUENCE}), - (-1, {_sV: _SALESFORCE}), - (-1, {_sV: _SHAREPOINT}), - (-1, {_sV: _CUSTOM}), - (-1, {_sV: _KENDRA}), - (-1, {_sV: _SQL}), - (-1, {_sV: _ONEDRIVE}), - (-1, {_sV: _GOOGLEDRIVE}), - ), -) - -RETRIEVAL_RESULT_WEB_LOCATION: StaticSchema = (18, n0, _RRWL, 0, (_ur,), ((3, 0),)) - -RETRIEVAL_RESULT_LOCATION: StaticSchema = ( - 18, - n0, - _RRL, - 4, - (_t, _sL, _wL, _cL, _sLa, _sPL, _cDL, _kDL, _sLq, _oDL, _gDL), - ( - (RETRIEVAL_RESULT_LOCATION_TYPE, 1), - (RETRIEVAL_RESULT_S3_LOCATION, 0), - (RETRIEVAL_RESULT_WEB_LOCATION, 0), - (RETRIEVAL_RESULT_CONFLUENCE_LOCATION, 0), - (RETRIEVAL_RESULT_SALESFORCE_LOCATION, 0), - (RETRIEVAL_RESULT_SHARE_POINT_LOCATION, 0), - (RETRIEVAL_RESULT_CUSTOM_DOCUMENT_LOCATION, 0), - (RETRIEVAL_RESULT_KENDRA_DOCUMENT_LOCATION, 0), - (RETRIEVAL_RESULT_SQL_LOCATION, 0), - (RETRIEVAL_RESULT_ONE_DRIVE_LOCATION, 0), - (RETRIEVAL_RESULT_GOOGLE_DRIVE_LOCATION, 0), - ), -) - -RETRIEVAL_RESULT_METADATA_KEY: StaticSchema = (3, n0, _RRMK, 0) - -RETRIEVAL_RESULT_METADATA_VALUE: StaticSchema = (13, n0, _RRMV, 0) - -RETRIEVAL_RESULT_METADATA: StaticSchema = ( - 17, - n0, - _RRM, - 4, - (_k, _v), - ((RETRIEVAL_RESULT_METADATA_KEY, 0), (RETRIEVAL_RESULT_METADATA_VALUE, 0)), -) - -RETRIEVED_REFERENCE: StaticSchema = ( - 18, - n0, - _RRe, - 0, - (_co, _lo, _met), - ( - (RETRIEVAL_RESULT_CONTENT, 0), - (RETRIEVAL_RESULT_LOCATION, 0), - (RETRIEVAL_RESULT_METADATA, 0), - ), -) - -RETRIEVED_REFERENCES: StaticSchema = ( - 16, - n0, - _RRet, - 0, - (_me,), - ((RETRIEVED_REFERENCE, 0),), -) - -KNOWLEDGE_BASE_LOOKUP_OUTPUT: StaticSchema = ( - 18, - n0, - _KBLO, - 0, - (_rRe, _met), - ((RETRIEVED_REFERENCES, 0), (METADATA, 0)), -) - -SOURCE: StaticSchema = ( - 14, - n0, - _So, - 4, - (_AG, _KB, _PARSER), - ((-1, {_sV: _AG}), (-1, {_sV: _KB}), (-1, {_sV: _PARSER})), -) - -REPROMPT_RESPONSE: StaticSchema = (18, n0, _RRep, 4, (_te, _so), ((3, 0), (SOURCE, 0))) - -TYPE: StaticSchema = ( - 14, - n0, - _Ty, - 0, - (_AG, _AC__, _KB, _FINISH, _AU_, _REPROMPT), - ( - (-1, {_sV: _AG}), - (-1, {_sV: _AC__}), - (-1, {_sV: _KB}), - (-1, {_sV: _FINISH}), - (-1, {_sV: _AU_}), - (-1, {_sV: _REPROMPT}), - ), -) - -OBSERVATION: StaticSchema = ( - 18, - n0, - _O, - 4, - (_tI, _t, _aGIO, _aCIO, _kBLO, _fRi, _rRep, _cIIO), - ( - (TRACE_ID, 0), - (TYPE, 0), - (ACTION_GROUP_INVOCATION_OUTPUT, 0), - (AGENT_COLLABORATOR_INVOCATION_OUTPUT, 0), - (KNOWLEDGE_BASE_LOOKUP_OUTPUT, 0), - (FINAL_RESPONSE, 0), - (REPROMPT_RESPONSE, 0), - (CODE_INTERPRETER_INVOCATION_OUTPUT, 0), - ), -) - -RATIONALE_STRING: StaticSchema = (3, n0, _RSa, 4) - -RATIONALE: StaticSchema = ( - 18, - n0, - _Ra, - 4, - (_tI, _te), - ((TRACE_ID, 0), (RATIONALE_STRING, 0)), -) - -ORCHESTRATION_TRACE: StaticSchema = ( - 19, - n0, - _OT, - 4, - (_ra, _iInv, _ob, _mII, _mIO), - ( - (RATIONALE, 0), - (INVOCATION_INPUT, 0), - (OBSERVATION, 0), - (MODEL_INVOCATION_INPUT, 0), - (ORCHESTRATION_MODEL_INVOCATION_OUTPUT, 0), - ), -) - -OUTPUT_STRING: StaticSchema = (3, n0, _OS, 4) - -POST_PROCESSING_PARSED_RESPONSE: StaticSchema = ( - 18, - n0, - _PPPR, - 4, - (_te,), - ((OUTPUT_STRING, 0),), -) - -POST_PROCESSING_MODEL_INVOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PPMIO, - 4, - (_tI, _pR, _rRa, _met, _rCea), - ( - (TRACE_ID, 0), - (POST_PROCESSING_PARSED_RESPONSE, 0), - (RAW_RESPONSE, 0), - (METADATA, 0), - (REASONING_CONTENT_BLOCK, 0), - ), -) - -POST_PROCESSING_TRACE: StaticSchema = ( - 19, - n0, - _PPT, - 4, - (_mII, _mIO), - ((MODEL_INVOCATION_INPUT, 0), (POST_PROCESSING_MODEL_INVOCATION_OUTPUT, 0)), -) - -PRE_PROCESSING_PARSED_RESPONSE: StaticSchema = ( - 18, - n0, - _PPPRr, - 4, - (_ra, _iV), - ((RATIONALE_STRING, 0), (2, 0)), -) - -PRE_PROCESSING_MODEL_INVOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PPMIOr, - 4, - (_tI, _pR, _rRa, _met, _rCea), - ( - (TRACE_ID, 0), - (PRE_PROCESSING_PARSED_RESPONSE, 0), - (RAW_RESPONSE, 0), - (METADATA, 0), - (REASONING_CONTENT_BLOCK, 0), - ), -) - -PRE_PROCESSING_TRACE: StaticSchema = ( - 19, - n0, - _PPTr, - 4, - (_mII, _mIO), - ((MODEL_INVOCATION_INPUT, 0), (PRE_PROCESSING_MODEL_INVOCATION_OUTPUT, 0)), -) - -ROUTING_CLASSIFIER_MODEL_INVOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _RCMIO, - 4, - (_tI, _rRa, _met), - ((TRACE_ID, 0), (RAW_RESPONSE, 0), (METADATA, 0)), -) - -ROUTING_CLASSIFIER_TRACE: StaticSchema = ( - 19, - n0, - _RCT, - 4, - (_iInv, _ob, _mII, _mIO), - ( - (INVOCATION_INPUT, 0), - (OBSERVATION, 0), - (MODEL_INVOCATION_INPUT, 0), - (ROUTING_CLASSIFIER_MODEL_INVOCATION_OUTPUT, 0), - ), -) - -TRACE: StaticSchema = ( - 19, - n0, - _Tr, - 4, - (_gT, _pPT, _oTr, _pPTo, _rCT, _fT, _cOT), - ( - (GUARDRAIL_TRACE, 0), - (PRE_PROCESSING_TRACE, 0), - (ORCHESTRATION_TRACE, 0), - (POST_PROCESSING_TRACE, 0), - (ROUTING_CLASSIFIER_TRACE, 0), - (FAILURE_TRACE, 0), - (CUSTOM_ORCHESTRATION_TRACE, 0), - ), -) - -TRACE_PART: StaticSchema = ( - 18, - n0, - _TPr, - 4, - (_sIe, _tra, _cCa, _eTv, _cN, _aI, _aAI, _aV), - ( - (SESSION_ID, 0), - (TRACE, 0), - (CALLER_CHAIN, 0), - (DATE_TIMESTAMP, {_sF: _dt}), - (NAME, 0), - (AGENT_ID, 0), - (AGENT_ALIAS_ID, 0), - (AGENT_VERSION, 0), - ), -) - -AGENT_TRACES: StaticSchema = (16, n0, _ATg, 0, (_me,), ((TRACE_PART, 0),)) - -DATA_SOURCE_ID: StaticSchema = (3, n0, _DSI, 0) - -DOCUMENT_ID: StaticSchema = (3, n0, _DIo, 0) - -KNOWLEDGE_BASE_IDENTIFIER: StaticSchema = (3, n0, _KBIn, 0) - -CHECK_INGESTED_DOCUMENT_ACL_INPUT: StaticSchema = ( - 18, - n0, - _CIDAI, - {_sSI: _cCIDAR, _smithya: None}, - (_kBI, _dSI, _dI, _uC), - ( - (KNOWLEDGE_BASE_IDENTIFIER, 9), - (DATA_SOURCE_ID, 9), - (DOCUMENT_ID, 1), - (USER_CONTEXT, 1), - ), -) - -CHECK_INGESTED_DOCUMENT_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _CIDAO, - {_sSI: _cCIDARo, _smithy: None}, - (_hA,), - ((2, 1),), -) - -CHECK_INGESTED_DOCUMENT_ACL: StaticOperationSchema = ( - 23, - n0, - _CIDA, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/check-ingested-document-acl", - } - ) - }, - CHECK_INGESTED_DOCUMENT_ACL_INPUT, - CHECK_INGESTED_DOCUMENT_ACL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FLOW_EXECUTION_IDENTIFIER: StaticSchema = (3, n0, _FEI, 0) - -FLOW_ALIAS_IDENTIFIER: StaticSchema = (3, n0, _FAI, 0) - -FLOW_IDENTIFIER: StaticSchema = (3, n0, _FI, 0) - -GET_EXECUTION_FLOW_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _GEFSI, - {_sSI: _cGEFSR, _smithya: None}, - (_fI, _fAI, _eIx), - ((FLOW_IDENTIFIER, 9), (FLOW_ALIAS_IDENTIFIER, 9), (FLOW_EXECUTION_IDENTIFIER, 9)), -) - -KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) - -FLOW_EXECUTION_ROLE_ARN: StaticSchema = (3, n0, _FERA, 0) - -VERSION: StaticSchema = (3, n0, _Ve, 0) - -GET_EXECUTION_FLOW_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _GEFSO, - {_sSI: _cGEFSRo, _smithy: None}, - (_fI, _fAI, _fV, _eRA, _de, _cEKA), - ( - (FLOW_IDENTIFIER, 1), - (FLOW_ALIAS_IDENTIFIER, 1), - (VERSION, 1), - (FLOW_EXECUTION_ROLE_ARN, 1), - (3, 1), - (KMS_KEY_ARN, 0), - ), -) - -GET_EXECUTION_FLOW_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _GEFS, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/flowsnapshot", - } - ) - }, - GET_EXECUTION_FLOW_SNAPSHOT_INPUT, - GET_EXECUTION_FLOW_SNAPSHOT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_FLOW_EXECUTION_INPUT: StaticSchema = ( - 18, - n0, - _GFEI, - {_sSI: _cGFER, _smithya: None}, - (_fI, _fAI, _eIx), - ((FLOW_IDENTIFIER, 9), (FLOW_ALIAS_IDENTIFIER, 9), (FLOW_EXECUTION_IDENTIFIER, 9)), -) - -FLOW_EXECUTION_ERROR_TYPE: StaticSchema = ( - 14, - n0, - _FEET, - 0, - (_TO,), - ((-1, {_sV: _ETO}),), -) - -NODE_NAME: StaticSchema = (3, n0, _NN, 0) - -FLOW_EXECUTION_ERROR: StaticSchema = ( - 18, - n0, - _FEE, - 0, - (_nN, _er, _m), - ((NODE_NAME, 0), (FLOW_EXECUTION_ERROR_TYPE, 0), (3, 0)), -) - -FLOW_EXECUTION_ERRORS: StaticSchema = ( - 16, - n0, - _FEEl, - 0, - (_me,), - ((FLOW_EXECUTION_ERROR, 0),), -) - -FLOW_EXECUTION_STATUS: StaticSchema = ( - 14, - n0, - _FES, - 0, - (_RUNNING, _SUCCEEDED, _FAILED, _TO, _ABORTED), - ( - (-1, {_sV: _Ru}), - (-1, {_sV: _Su}), - (-1, {_sV: _Fa}), - (-1, {_sV: _TOi}), - (-1, {_sV: _A}), - ), -) - -GET_FLOW_EXECUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GFEO, - {_sSI: _cGFERo, _smithy: None}, - (_eA, _sta, _sA, _eAn, _err, _fAI, _fI, _fV), - ( - (FLOW_EXECUTION_IDENTIFIER, 1), - (FLOW_EXECUTION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - (FLOW_EXECUTION_ERRORS, 0), - (FLOW_ALIAS_IDENTIFIER, 1), - (FLOW_IDENTIFIER, 1), - (VERSION, 1), - ), -) - -GET_FLOW_EXECUTION: StaticOperationSchema = ( - 23, - n0, - _GFE, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}", - } - ) - }, - GET_FLOW_EXECUTION_INPUT, - GET_FLOW_EXECUTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FLOW_EXECUTION_EVENT_TYPE: StaticSchema = ( - 14, - n0, - _FEETl, - 0, - (_NODE, _FLOW), - ((-1, {_sV: _No}), (-1, {_sV: _Fl})), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -LIST_FLOW_EXECUTION_EVENTS_INPUT: StaticSchema = ( - 18, - n0, - _LFEEI, - {_sSI: _cLFEER, _smithya: None}, - (_fI, _fAI, _eIx, _mRa, _nT, _eTve), - ( - (FLOW_IDENTIFIER, 9), - (FLOW_ALIAS_IDENTIFIER, 9), - (FLOW_EXECUTION_IDENTIFIER, 9), - (MAX_RESULTS, {_sQ: _mRa}), - (NEXT_TOKEN, {_sQ: _nT}), - (FLOW_EXECUTION_EVENT_TYPE, {_sQ: _eTve, _smi: None}), - ), -) - -SATISFIED_CONDITION: StaticSchema = (18, n0, _SCa, 4, (_cNon,), ((3, 1),)) - -SATISFIED_CONDITIONS: StaticSchema = ( - 16, - n0, - _SCat, - 0, - (_me,), - ((SATISFIED_CONDITION, 0),), -) - -CONDITION_RESULT_EVENT: StaticSchema = ( - 18, - n0, - _CRE, - 4, - (_nN, _ti, _sC), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (SATISFIED_CONDITIONS, 1)), -) - -FLOW_ERROR_CODE: StaticSchema = ( - 14, - n0, - _FEC, - 0, - (_VALIDATION, _IS, _NEF), - ((-1, {_sV: _VALIDATION}), (-1, {_sV: _IS}), (-1, {_sV: _NEF})), -) - -FLOW_FAILURE_EVENT: StaticSchema = ( - 18, - n0, - _FFE, - 4, - (_ti, _eC, _eM), - ((DATE_TIMESTAMP, 1), (FLOW_ERROR_CODE, 1), (3, 1)), -) - -FLOW_EXECUTION_CONTENT: StaticSchema = (19, n0, _FECl, 4, (_doc,), ((13, 0),)) - -NODE_INPUT_NAME: StaticSchema = (3, n0, _NIN, 0) - -FLOW_INPUT_FIELD: StaticSchema = ( - 18, - n0, - _FIF, - 4, - (_n, _co), - ((NODE_INPUT_NAME, 1), (FLOW_EXECUTION_CONTENT, 1)), -) - -FLOW_INPUT_FIELDS: StaticSchema = (16, n0, _FIFl, 0, (_me,), ((FLOW_INPUT_FIELD, 0),)) - -FLOW_EXECUTION_INPUT_EVENT: StaticSchema = ( - 18, - n0, - _FEIE, - 4, - (_nN, _ti, _fie), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (FLOW_INPUT_FIELDS, 1)), -) - -NODE_OUTPUT_NAME: StaticSchema = (3, n0, _NON, 0) - -FLOW_OUTPUT_FIELD: StaticSchema = ( - 18, - n0, - _FOF, - 4, - (_n, _co), - ((NODE_OUTPUT_NAME, 1), (FLOW_EXECUTION_CONTENT, 1)), -) - -FLOW_OUTPUT_FIELDS: StaticSchema = (16, n0, _FOFl, 0, (_me,), ((FLOW_OUTPUT_FIELD, 0),)) - -FLOW_EXECUTION_OUTPUT_EVENT: StaticSchema = ( - 18, - n0, - _FEOE, - 4, - (_nN, _ti, _fie), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (FLOW_OUTPUT_FIELDS, 1)), -) - -NODE_ACTION_EVENT: StaticSchema = ( - 18, - n0, - _NAE, - 4, - (_nN, _ti, _rIe, _sN, _oN, _oR, _oRp), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (3, 1), (3, 1), (3, 1), (13, 0), (13, 0)), -) - -NODE_TRACE_ELEMENTS: StaticSchema = (19, n0, _NTE, 4, (_aT,), ((AGENT_TRACES, 0),)) - -NODE_DEPENDENCY_EVENT: StaticSchema = ( - 18, - n0, - _NDE, - 4, - (_nN, _ti, _tEr), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (NODE_TRACE_ELEMENTS, 1)), -) - -NODE_ERROR_CODE: StaticSchema = ( - 14, - n0, - _NEC, - 0, - (_VALIDATION, _DF, _BG, _IS), - ((-1, {_sV: _VALIDATION}), (-1, {_sV: _DF}), (-1, {_sV: _BG}), (-1, {_sV: _IS})), -) - -NODE_FAILURE_EVENT: StaticSchema = ( - 18, - n0, - _NFE, - 4, - (_nN, _ti, _eC, _eM), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (NODE_ERROR_CODE, 1), (3, 1)), -) - -FLOW_NODE_INPUT_CATEGORY: StaticSchema = ( - 14, - n0, - _FNIC, - 0, - (_LC, _RVTLS, _EL), - ((-1, {_sV: _LCo}), (-1, {_sV: _RVTLSe}), (-1, {_sV: _ELx})), -) - -NODE_EXECUTION_CONTENT: StaticSchema = (19, n0, _NECo, 4, (_doc,), ((13, 0),)) - -FLOW_CONTROL_NODE_TYPE: StaticSchema = ( - 14, - n0, - _FCNT, - 0, - (_ITERATOR, _LOOP), - ((-1, {_sV: _I}), (-1, {_sV: _L})), -) - -NODE_INPUT_EXECUTION_CHAIN_ITEM: StaticSchema = ( - 18, - n0, - _NIECI, - 0, - (_nN, _ind, _t), - ((NODE_NAME, 1), (7, 0), (FLOW_CONTROL_NODE_TYPE, 1)), -) - -NODE_INPUT_EXECUTION_CHAIN: StaticSchema = ( - 16, - n0, - _NIEC, - 0, - (_me,), - ((NODE_INPUT_EXECUTION_CHAIN_ITEM, 0),), -) - -FLOW_NODE_INPUT_EXPRESSION: StaticSchema = (3, n0, _FNIE, 4) - -FLOW_NODE_OUTPUT_NAME: StaticSchema = (3, n0, _FNON, 0) - -NODE_INPUT_SOURCE: StaticSchema = ( - 18, - n0, - _NIS, - 0, - (_nN, _oFN, _ex), - ((NODE_NAME, 1), (FLOW_NODE_OUTPUT_NAME, 1), (FLOW_NODE_INPUT_EXPRESSION, 1)), -) - -FLOW_NODE_IO_DATA_TYPE: StaticSchema = ( - 14, - n0, - _FNIODT, - 0, - (_STRING, _NUMBER, _BOOLEAN, _OBJECT, _ARRAY), - ( - (-1, {_sV: _St}), - (-1, {_sV: _Nu}), - (-1, {_sV: _B}), - (-1, {_sV: _Ob}), - (-1, {_sV: _Ar}), - ), -) - -NODE_INPUT_FIELD: StaticSchema = ( - 18, - n0, - _NIF, - 4, - (_n, _co, _so, _t, _ca, _eCx), - ( - (NODE_INPUT_NAME, 1), - (NODE_EXECUTION_CONTENT, 1), - (NODE_INPUT_SOURCE, 0), - (FLOW_NODE_IO_DATA_TYPE, 0), - (FLOW_NODE_INPUT_CATEGORY, 0), - (NODE_INPUT_EXECUTION_CHAIN, 0), - ), -) - -NODE_INPUT_FIELDS: StaticSchema = (16, n0, _NIFo, 0, (_me,), ((NODE_INPUT_FIELD, 0),)) - -NODE_INPUT_EVENT: StaticSchema = ( - 18, - n0, - _NIE, - 4, - (_nN, _ti, _fie), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (NODE_INPUT_FIELDS, 1)), -) - -FLOW_NODE_INPUT_NAME: StaticSchema = (3, n0, _FNIN, 0) - -NODE_OUTPUT_NEXT: StaticSchema = ( - 18, - n0, - _NONo, - 4, - (_nN, _iFN), - ((NODE_NAME, 1), (FLOW_NODE_INPUT_NAME, 1)), -) - -NODE_OUTPUT_NEXT_LIST: StaticSchema = ( - 16, - n0, - _NONL, - 0, - (_me,), - ((NODE_OUTPUT_NEXT, 0),), -) - -NODE_OUTPUT_FIELD: StaticSchema = ( - 18, - n0, - _NOF, - 4, - (_n, _co, _ne, _t), - ( - (NODE_OUTPUT_NAME, 1), - (NODE_EXECUTION_CONTENT, 1), - (NODE_OUTPUT_NEXT_LIST, 0), - (FLOW_NODE_IO_DATA_TYPE, 0), - ), -) - -NODE_OUTPUT_FIELDS: StaticSchema = (16, n0, _NOFo, 0, (_me,), ((NODE_OUTPUT_FIELD, 0),)) - -NODE_OUTPUT_EVENT: StaticSchema = ( - 18, - n0, - _NOE, - 4, - (_nN, _ti, _fie), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (NODE_OUTPUT_FIELDS, 1)), -) - -FLOW_EXECUTION_EVENT: StaticSchema = ( - 19, - n0, - _FEElo, - 0, - (_fIE, _fOE, _nIE, _nOE, _cRE, _nFE, _fFE, _nAE, _nDE), - ( - (FLOW_EXECUTION_INPUT_EVENT, 0), - (FLOW_EXECUTION_OUTPUT_EVENT, 0), - (NODE_INPUT_EVENT, 0), - (NODE_OUTPUT_EVENT, 0), - (CONDITION_RESULT_EVENT, 0), - (NODE_FAILURE_EVENT, 0), - (FLOW_FAILURE_EVENT, 0), - (NODE_ACTION_EVENT, 0), - (NODE_DEPENDENCY_EVENT, 0), - ), -) - -FLOW_EXECUTION_EVENTS: StaticSchema = ( - 16, - n0, - _FEElow, - 0, - (_me,), - ((FLOW_EXECUTION_EVENT, 0),), -) - -LIST_FLOW_EXECUTION_EVENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFEEO, - {_sSI: _cLFEERo, _smithy: None}, - (_fEE, _nT), - ((FLOW_EXECUTION_EVENTS, 1), (NEXT_TOKEN, 0)), -) - -LIST_FLOW_EXECUTION_EVENTS: StaticOperationSchema = ( - 23, - n0, - _LFEE, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/events", - } - ) - }, - LIST_FLOW_EXECUTION_EVENTS_INPUT, - LIST_FLOW_EXECUTION_EVENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_FLOW_EXECUTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LFEI, - {_sSI: _cLFER, _smithya: None}, - (_fI, _fAI, _mRa, _nT), - ( - (FLOW_IDENTIFIER, 9), - (FLOW_ALIAS_IDENTIFIER, {_sQ: _fAI}), - (MAX_RESULTS, {_sQ: _mRa}), - (NEXT_TOKEN, {_sQ: _nT}), - ), -) - -FLOW_EXECUTION_SUMMARY: StaticSchema = ( - 18, - n0, - _FESl, - 0, - (_eA, _fAI, _fI, _fV, _sta, _cA, _eAn), - ( - (FLOW_EXECUTION_IDENTIFIER, 1), - (FLOW_ALIAS_IDENTIFIER, 1), - (FLOW_IDENTIFIER, 1), - (VERSION, 1), - (FLOW_EXECUTION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - ), -) - -FLOW_EXECUTION_SUMMARIES: StaticSchema = ( - 16, - n0, - _FESlo, - 0, - (_me,), - ((FLOW_EXECUTION_SUMMARY, 0),), -) - -LIST_FLOW_EXECUTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFEO, - {_sSI: _cLFERo, _smithy: None}, - (_fES, _nT), - ((FLOW_EXECUTION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_FLOW_EXECUTIONS: StaticOperationSchema = ( - 23, - n0, - _LFE, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/flows/{flowIdentifier}/executions"} - ) - }, - LIST_FLOW_EXECUTIONS_INPUT, - LIST_FLOW_EXECUTIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FLOW_EXECUTION_NAME: StaticSchema = (3, n0, _FEN, 0) - -FLOW_INPUT_CONTENT: StaticSchema = (19, n0, _FIC, 4, (_doc,), ((13, 0),)) - -FLOW_INPUT: StaticSchema = ( - 18, - n0, - _FIl, - 0, - (_nN, _nON, _co, _nIN), - ( - (NODE_NAME, 1), - (NODE_OUTPUT_NAME, 0), - (FLOW_INPUT_CONTENT, 1), - (NODE_INPUT_NAME, 0), - ), -) - -FLOW_INPUTS: StaticSchema = (16, n0, _FIlo, 0, (_me,), ((FLOW_INPUT, 0),)) - -PERFORMANCE_CONFIG_LATENCY: StaticSchema = ( - 14, - n0, - _PCL, - 0, - (_STANDARD, _OPTIMIZED), - ((-1, {_sV: _stan}), (-1, {_sV: _opt})), -) - -PERFORMANCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PC, - 0, - (_la,), - ((PERFORMANCE_CONFIG_LATENCY, {_smit: _stan}),), -) - -MODEL_PERFORMANCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MPC, - 0, - (_pC,), - ((PERFORMANCE_CONFIGURATION, 0),), -) - -START_FLOW_EXECUTION_INPUT: StaticSchema = ( - 18, - n0, - _SFEI, - {_sSI: _cSFER, _smithya: None}, - (_fI, _fAI, _fEN, _inp, _mPC), - ( - (FLOW_IDENTIFIER, 9), - (FLOW_ALIAS_IDENTIFIER, 9), - (FLOW_EXECUTION_NAME, 0), - (FLOW_INPUTS, 1), - (MODEL_PERFORMANCE_CONFIGURATION, 0), - ), -) - -START_FLOW_EXECUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _SFEO, - {_sSI: _cSFERo, _smithy: None}, - (_eA,), - ((FLOW_EXECUTION_IDENTIFIER, 0),), -) - -START_FLOW_EXECUTION: StaticOperationSchema = ( - 23, - n0, - _SFE, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions", - } - ) - }, - START_FLOW_EXECUTION_INPUT, - START_FLOW_EXECUTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_FLOW_EXECUTION_INPUT: StaticSchema = ( - 18, - n0, - _SFEIt, - {_sSI: _cSFERom, _smithya: None}, - (_fI, _fAI, _eIx), - ((FLOW_IDENTIFIER, 9), (FLOW_ALIAS_IDENTIFIER, 9), (FLOW_EXECUTION_IDENTIFIER, 9)), -) - -STOP_FLOW_EXECUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _SFEOt, - {_sSI: _cSFERoma, _smithy: None}, - (_eA, _sta), - ((FLOW_EXECUTION_IDENTIFIER, 0), (FLOW_EXECUTION_STATUS, 1)), -) - -STOP_FLOW_EXECUTION: StaticOperationSchema = ( - 23, - n0, - _SFEt, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/stop", - } - ) - }, - STOP_FLOW_EXECUTION_INPUT, - STOP_FLOW_EXECUTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FLOW_EXECUTION_ID: StaticSchema = (3, n0, _FEIl, 0) - -INVOKE_FLOW_INPUT: StaticSchema = ( - 18, - n0, - _IFI, - {_sSI: _cIFR, _smithya: None}, - (_fI, _fAI, _inp, _eTna, _mPC, _eIxe), - ( - (FLOW_IDENTIFIER, 9), - (FLOW_ALIAS_IDENTIFIER, 9), - (FLOW_INPUTS, 1), - (2, 0), - (MODEL_PERFORMANCE_CONFIGURATION, 0), - (FLOW_EXECUTION_ID, 0), - ), -) - -FLOW_COMPLETION_REASON: StaticSchema = ( - 14, - n0, - _FCR, - 0, - (_SUCCESS, _IR), - ((-1, {_sV: _SUCCESS}), (-1, {_sV: _IR})), -) - -FLOW_COMPLETION_EVENT: StaticSchema = ( - 18, - n0, - _FCE, - 4, - (_cR,), - ((FLOW_COMPLETION_REASON, 1),), -) - -FLOW_MULTI_TURN_INPUT_CONTENT: StaticSchema = (19, n0, _FMTIC, 0, (_doc,), ((13, 0),)) - -NODE_TYPE: StaticSchema = ( - 14, - n0, - _NTo, - 0, - (_FIN, _FON, _LFN, _KBN, _PN_, _CN, _LN), - ( - (-1, {_sV: _FINl}), - (-1, {_sV: _FONl}), - (-1, {_sV: _LFNa}), - (-1, {_sV: _KBNn}), - (-1, {_sV: _PNr}), - (-1, {_sV: _CNo}), - (-1, {_sV: _LNe}), - ), -) - -FLOW_MULTI_TURN_INPUT_REQUEST_EVENT: StaticSchema = ( - 18, - n0, - _FMTIRE, - 4, - (_nN, _nTo, _co), - ((NODE_NAME, 1), (NODE_TYPE, 1), (FLOW_MULTI_TURN_INPUT_CONTENT, 1)), -) - -FLOW_OUTPUT_CONTENT: StaticSchema = (19, n0, _FOC, 0, (_doc,), ((13, 0),)) - -FLOW_OUTPUT_EVENT: StaticSchema = ( - 18, - n0, - _FOE, - 4, - (_nN, _nTo, _co), - ((NODE_NAME, 1), (NODE_TYPE, 1), (FLOW_OUTPUT_CONTENT, 1)), -) - -FLOW_TRACE_CONDITION: StaticSchema = (18, n0, _FTC, 4, (_cNon,), ((3, 1),)) - -FLOW_TRACE_CONDITIONS: StaticSchema = ( - 16, - n0, - _FTCl, - 0, - (_me,), - ((FLOW_TRACE_CONDITION, 0),), -) - -FLOW_TRACE_CONDITION_NODE_RESULT_EVENT: StaticSchema = ( - 18, - n0, - _FTCNRE, - 4, - (_nN, _ti, _sC), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (FLOW_TRACE_CONDITIONS, 1)), -) - -FLOW_TRACE_NODE_ACTION_EVENT: StaticSchema = ( - 18, - n0, - _FTNAE, - 4, - (_nN, _ti, _rIe, _sN, _oN, _oR, _oRp), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (3, 1), (3, 1), (3, 1), (13, 0), (13, 0)), -) - -TRACE_ELEMENTS: StaticSchema = (19, n0, _TEr, 4, (_aT,), ((AGENT_TRACES, 0),)) - -FLOW_TRACE_DEPENDENCY_EVENT: StaticSchema = ( - 18, - n0, - _FTDE, - 4, - (_nN, _ti, _tEr), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (TRACE_ELEMENTS, 1)), -) - -FLOW_TRACE_NODE_INPUT_CONTENT: StaticSchema = (19, n0, _FTNIC, 4, (_doc,), ((13, 0),)) - -FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN_ITEM: StaticSchema = ( - 18, - n0, - _FTNIECI, - 4, - (_nN, _ind, _t), - ((NODE_NAME, 1), (7, 0), (FLOW_CONTROL_NODE_TYPE, 1)), -) - -FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN: StaticSchema = ( - 16, - n0, - _FTNIEC, - 4, - (_me,), - ((FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN_ITEM, 0),), -) - -FLOW_TRACE_NODE_INPUT_SOURCE: StaticSchema = ( - 18, - n0, - _FTNIS, - 4, - (_nN, _oFN, _ex), - ((NODE_NAME, 1), (FLOW_NODE_OUTPUT_NAME, 1), (FLOW_NODE_INPUT_EXPRESSION, 1)), -) - -FLOW_TRACE_NODE_INPUT_FIELD: StaticSchema = ( - 18, - n0, - _FTNIF, - 4, - (_nIN, _co, _so, _t, _ca, _eCx), - ( - (NODE_INPUT_NAME, 1), - (FLOW_TRACE_NODE_INPUT_CONTENT, 1), - (FLOW_TRACE_NODE_INPUT_SOURCE, 0), - (FLOW_NODE_IO_DATA_TYPE, 0), - (FLOW_NODE_INPUT_CATEGORY, 0), - (FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN, 0), - ), -) - -FLOW_TRACE_NODE_INPUT_FIELDS: StaticSchema = ( - 16, - n0, - _FTNIFl, - 0, - (_me,), - ((FLOW_TRACE_NODE_INPUT_FIELD, 0),), -) - -FLOW_TRACE_NODE_INPUT_EVENT: StaticSchema = ( - 18, - n0, - _FTNIE, - 4, - (_nN, _ti, _fie), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (FLOW_TRACE_NODE_INPUT_FIELDS, 1)), -) - -FLOW_TRACE_NODE_OUTPUT_CONTENT: StaticSchema = (19, n0, _FTNOC, 0, (_doc,), ((13, 0),)) - -FLOW_TRACE_NODE_OUTPUT_NEXT: StaticSchema = ( - 18, - n0, - _FTNON, - 4, - (_nN, _iFN), - ((NODE_NAME, 1), (FLOW_NODE_INPUT_NAME, 1)), -) - -FLOW_TRACE_NODE_OUTPUT_NEXT_LIST: StaticSchema = ( - 16, - n0, - _FTNONL, - 0, - (_me,), - ((FLOW_TRACE_NODE_OUTPUT_NEXT, 0),), -) - -FLOW_TRACE_NODE_OUTPUT_FIELD: StaticSchema = ( - 18, - n0, - _FTNOF, - 4, - (_nON, _co, _ne, _t), - ( - (NODE_OUTPUT_NAME, 1), - (FLOW_TRACE_NODE_OUTPUT_CONTENT, 1), - (FLOW_TRACE_NODE_OUTPUT_NEXT_LIST, 0), - (FLOW_NODE_IO_DATA_TYPE, 0), - ), -) - -FLOW_TRACE_NODE_OUTPUT_FIELDS: StaticSchema = ( - 16, - n0, - _FTNOFl, - 0, - (_me,), - ((FLOW_TRACE_NODE_OUTPUT_FIELD, 0),), -) - -FLOW_TRACE_NODE_OUTPUT_EVENT: StaticSchema = ( - 18, - n0, - _FTNOE, - 4, - (_nN, _ti, _fie), - ((NODE_NAME, 1), (DATE_TIMESTAMP, 1), (FLOW_TRACE_NODE_OUTPUT_FIELDS, 1)), -) - -FLOW_TRACE: StaticSchema = ( - 19, - n0, - _FTl, - 4, - (_nIT, _nOT, _cNRT, _nAT, _nDT), - ( - (FLOW_TRACE_NODE_INPUT_EVENT, 0), - (FLOW_TRACE_NODE_OUTPUT_EVENT, 0), - (FLOW_TRACE_CONDITION_NODE_RESULT_EVENT, 0), - (FLOW_TRACE_NODE_ACTION_EVENT, 0), - (FLOW_TRACE_DEPENDENCY_EVENT, 0), - ), -) - -FLOW_TRACE_EVENT: StaticSchema = (18, n0, _FTE, 0, (_tra,), ((FLOW_TRACE, 1),)) - -FLOW_RESPONSE_STREAM: StaticSchema = ( - 19, - n0, - _FRSl, - {_smith: None}, - (_fOE, _fCE, _fTE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _fMTIRE), - ( - (FLOW_OUTPUT_EVENT, 0), - (FLOW_COMPLETION_EVENT, 0), - (FLOW_TRACE_EVENT, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (RESOURCE_NOT_FOUND_EXCEPTION, 0), - (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (ACCESS_DENIED_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (DEPENDENCY_FAILED_EXCEPTION, 0), - (BAD_GATEWAY_EXCEPTION, 0), - (FLOW_MULTI_TURN_INPUT_REQUEST_EVENT, 0), - ), -) - -INVOKE_FLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _IFO, - {_sSI: _cIFRo, _smithy: None}, - (_rSe, _eIxe), - ((FLOW_RESPONSE_STREAM, 17), (FLOW_EXECUTION_ID, {_sH: _xabfei})), -) - -INVOKE_FLOW: StaticOperationSchema = ( - 23, - n0, - _IF, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}", - } - ) - }, - INVOKE_FLOW_INPUT, - INVOKE_FLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INPUT_QUERY_TYPE: StaticSchema = (14, n0, _IQT, 0, (_TEXT,), ((-1, {_sV: _TEXT}),)) - -QUERY_GENERATION_INPUT: StaticSchema = ( - 18, - n0, - _QGI, - 4, - (_t, _te), - ((INPUT_QUERY_TYPE, 1), (3, 1)), -) - -QUERY_TRANSFORMATION_MODE: StaticSchema = ( - 14, - n0, - _QTM, - 0, - (_TTS,), - ((-1, {_sV: _TTS}),), -) - -KNOWLEDGE_BASE_ARN: StaticSchema = (3, n0, _KBA, 0) - -TEXT_TO_SQL_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TTSKBC, - 0, - (_kBA,), - ((KNOWLEDGE_BASE_ARN, 1),), -) - -TEXT_TO_SQL_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _TTSCT, - 0, - (_KB,), - ((-1, {_sV: _KB}),), -) - -TEXT_TO_SQL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TTSC, - 0, - (_t, _kBC), - ( - (TEXT_TO_SQL_CONFIGURATION_TYPE, 1), - (TEXT_TO_SQL_KNOWLEDGE_BASE_CONFIGURATION, 0), - ), -) - -TRANSFORMATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TC, - 0, - (_mo, _tTSC), - ((QUERY_TRANSFORMATION_MODE, 1), (TEXT_TO_SQL_CONFIGURATION, 0)), -) - -GENERATE_QUERY_INPUT: StaticSchema = ( - 18, - n0, - _GQI, - {_sSI: _cGQR, _smithya: None}, - (_qGI, _tC), - ((QUERY_GENERATION_INPUT, 1), (TRANSFORMATION_CONFIGURATION, 1)), -) - -GENERATED_QUERY_TYPE: StaticSchema = (14, n0, _GQT, 0, (_RS_,), ((-1, {_sV: _RS_}),)) - -GENERATED_QUERY: StaticSchema = ( - 18, - n0, - _GQ, - 4, - (_t, _sq), - ((GENERATED_QUERY_TYPE, 0), (3, 0)), -) - -GENERATED_QUERIES: StaticSchema = (16, n0, _GQe, 0, (_me,), ((GENERATED_QUERY, 0),)) - -GENERATE_QUERY_OUTPUT: StaticSchema = ( - 18, - n0, - _GQO, - {_sSI: _cGQRo, _smithy: None}, - (_qu,), - ((GENERATED_QUERIES, 0),), -) - -GENERATE_QUERY: StaticOperationSchema = ( - 23, - n0, - _GQen, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/generateQuery"} - ) - }, - GENERATE_QUERY_INPUT, - GENERATE_QUERY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MEDIA_ID: StaticSchema = (3, n0, _MIe, 0) - -DOCUMENT_OUTPUT_FORMAT: StaticSchema = ( - 14, - n0, - _DOF, - 0, - (_RAW, _EXTRACTED), - ((-1, {_sV: _RAW}), (-1, {_sV: _EXTRACTED})), -) - -GET_DOCUMENT_CONTENT_INPUT: StaticSchema = ( - 18, - n0, - _GDCI, - {_sSI: _cGDCR, _smithya: None}, - (_kBI, _dSI, _dI, _mIe, _oF, _uC), - ( - (KNOWLEDGE_BASE_IDENTIFIER, 9), - (DATA_SOURCE_ID, 9), - (DOCUMENT_ID, 9), - (MEDIA_ID, 0), - (DOCUMENT_OUTPUT_FORMAT, 0), - (USER_CONTEXT, 0), - ), -) - -PRESIGNED_URL: StaticSchema = (3, n0, _PU, 4) - -GET_DOCUMENT_CONTENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GDCO, - {_sSI: _cGDCRo, _smithy: None}, - (_mT, _pU, _dCL), - ((3, 1), (PRESIGNED_URL, 1), (8, 0)), -) - -GET_DOCUMENT_CONTENT: StaticOperationSchema = ( - 23, - n0, - _GDC, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/{documentId}/content", - } - ) - }, - GET_DOCUMENT_CONTENT_INPUT, - GET_DOCUMENT_CONTENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_INGESTED_DOCUMENT_ACL_INPUT: StaticSchema = ( - 18, - n0, - _GIDAI, - {_sSI: _cGIDAR, _smithya: None}, - (_kBI, _dSI, _dI), - ((KNOWLEDGE_BASE_IDENTIFIER, 9), (DATA_SOURCE_ID, 9), (DOCUMENT_ID, 1)), -) - -DOCUMENT_ACL_MEMBER_RELATION: StaticSchema = ( - 14, - n0, - _DAMR, - 0, - (_AND, _OR), - ((-1, {_sV: _AND}), (-1, {_sV: _OR})), -) - -DOCUMENT_ACL_MEMBERSHIP_TYPE: StaticSchema = ( - 14, - n0, - _DAMT, - 0, - (_KB, _DS), - ((-1, {_sV: _KB}), (-1, {_sV: _DS})), -) - -DOCUMENT_ACL_GROUP: StaticSchema = ( - 18, - n0, - _DAG, - 0, - (_id_, _t), - ((3, 1), (DOCUMENT_ACL_MEMBERSHIP_TYPE, 1)), -) - -DOCUMENT_ACL_GROUP_LIST: StaticSchema = ( - 16, - n0, - _DAGL, - 0, - (_me,), - ((DOCUMENT_ACL_GROUP, 0),), -) - -DOCUMENT_ACL_USER: StaticSchema = ( - 18, - n0, - _DAU, - 0, - (_id_, _t), - ((3, 1), (DOCUMENT_ACL_MEMBERSHIP_TYPE, 1)), -) - -DOCUMENT_ACL_USER_LIST: StaticSchema = ( - 16, - n0, - _DAUL, - 0, - (_me,), - ((DOCUMENT_ACL_USER, 0),), -) - -DOCUMENT_ACL_CONDITION: StaticSchema = ( - 18, - n0, - _DAC, - 0, - (_cO, _use, _gr), - ( - (DOCUMENT_ACL_MEMBER_RELATION, 0), - (DOCUMENT_ACL_USER_LIST, 0), - (DOCUMENT_ACL_GROUP_LIST, 0), - ), -) - -DOCUMENT_ACL_CONDITION_LIST: StaticSchema = ( - 16, - n0, - _DACL, - 0, - (_me,), - ((DOCUMENT_ACL_CONDITION, 0),), -) - -DOCUMENT_ACL_MEMBERSHIP: StaticSchema = ( - 18, - n0, - _DAM, - 0, - (_mRe, _cond), - ((DOCUMENT_ACL_MEMBER_RELATION, 0), (DOCUMENT_ACL_CONDITION_LIST, 0)), -) - -DOCUMENT_ACL: StaticSchema = ( - 18, - n0, - _DA, - 4, - (_aL, _dL), - ((DOCUMENT_ACL_MEMBERSHIP, 0), (DOCUMENT_ACL_MEMBERSHIP, 0)), -) - -GET_INGESTED_DOCUMENT_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _GIDAO, - {_sSI: _cGIDARo, _smithy: None}, - (_dA,), - ((DOCUMENT_ACL, 1),), -) - -GET_INGESTED_DOCUMENT_ACL: StaticOperationSchema = ( - 23, - n0, - _GIDA, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/get-ingested-document-acl", - } - ) - }, - GET_INGESTED_DOCUMENT_ACL_INPUT, - GET_INGESTED_DOCUMENT_ACL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BEDROCK_MODEL_CONFIGURATIONS: StaticSchema = ( - 18, - n0, - _BMC, - 0, - (_pC,), - ((PERFORMANCE_CONFIGURATION, 0),), -) - -INPUT_TEXT: StaticSchema = (3, n0, _ITn, 4) - -MEMORY_ID: StaticSchema = (3, n0, _MIem, 0) - -PROMPT_CREATION_CONFIGURATIONS: StaticSchema = ( - 18, - n0, - _PCC, - 0, - (_pCTTI, _ePTS), - ((7, 0), (2, {_smit: False})), -) - -CONTENT_BLOCK: StaticSchema = (19, n0, _CBo, 4, (_te,), ((3, 0),)) - -CONTENT_BLOCKS: StaticSchema = (16, n0, _CBon, 0, (_me,), ((CONTENT_BLOCK, 0),)) - -MESSAGE: StaticSchema = ( - 18, - n0, - _Me, - 0, - (_ro, _co), - ((CONVERSATION_ROLE, 1), (CONTENT_BLOCKS, 1)), -) - -MESSAGES: StaticSchema = (16, n0, _Mes, 0, (_me,), ((MESSAGE, 0),)) - -CONVERSATION_HISTORY: StaticSchema = (18, n0, _CH, 0, (_mes,), ((MESSAGES, 0),)) - -BYTE_CONTENT_BLOB: StaticSchema = (1, n0, _BCB, 4) - -BYTE_CONTENT_FILE: StaticSchema = ( - 18, - n0, - _BCF, - 0, - (_mTe, _da), - ((MIME_TYPE, 1), (BYTE_CONTENT_BLOB, 1)), -) - -S3_URI: StaticSchema = (3, n0, _SU, 0) - -S3_OBJECT_FILE: StaticSchema = (18, n0, _SOF, 0, (_uri,), ((S3_URI, 1),)) - -FILE_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _FST, - 0, - (_S, _BC), - ((-1, {_sV: _S}), (-1, {_sV: _BC})), -) - -FILE_SOURCE: StaticSchema = ( - 18, - n0, - _FSi, - 0, - (_sTo, _sL, _bC), - ((FILE_SOURCE_TYPE, 1), (S3_OBJECT_FILE, 0), (BYTE_CONTENT_FILE, 0)), -) - -FILE_USE_CASE: StaticSchema = ( - 14, - n0, - _FUC, - 0, - (_CI, _CHAT), - ((-1, {_sV: _CI}), (-1, {_sV: _CHAT})), -) - -INPUT_FILE: StaticSchema = ( - 18, - n0, - _IFn, - 0, - (_n, _so, _uCs), - ((3, 1), (FILE_SOURCE, 1), (FILE_USE_CASE, 1)), -) - -INPUT_FILES: StaticSchema = (16, n0, _IFnp, 0, (_me,), ((INPUT_FILE, 0),)) - -RERANKING_METADATA_SELECTION_MODE: StaticSchema = ( - 14, - n0, - _RMSM, - 0, - (_SELECTIVE, _ALL), - ((-1, {_sV: _SELECTIVE}), (-1, {_sV: _ALL})), -) - -FIELD_FOR_RERANKING: StaticSchema = (18, n0, _FFR, 0, (_fN,), ((3, 1),)) - -FIELDS_FOR_RERANKING: StaticSchema = ( - 16, - n0, - _FFRi, - 4, - (_me,), - ((FIELD_FOR_RERANKING, 0),), -) - -RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _RMSMC, - 0, - (_fTI, _fTEi), - ((FIELDS_FOR_RERANKING, 0), (FIELDS_FOR_RERANKING, 0)), -) - -METADATA_CONFIGURATION_FOR_RERANKING: StaticSchema = ( - 18, - n0, - _MCFR, - 0, - (_sM, _sMC), - ( - (RERANKING_METADATA_SELECTION_MODE, 1), - (RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION, 0), - ), -) - -BEDROCK_RERANKING_MODEL_ARN: StaticSchema = (3, n0, _BRMA, 0) - -MANAGED_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MSBRMC, - 0, - (_mA, _aMRF), - ((BEDROCK_RERANKING_MODEL_ARN, 1), (ADDITIONAL_MODEL_REQUEST_FIELDS, 0)), -) - -MANAGED_SEARCH_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MSBRC, - 0, - (_mC, _nORR, _mCe), - ( - (MANAGED_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1), - (7, 0), - (METADATA_CONFIGURATION_FOR_RERANKING, 0), - ), -) - -MANAGED_SEARCH_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _MSRCT, - 0, - (_BRM,), - ((-1, {_sV: _BRM}),), -) - -MANAGED_SEARCH_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MSRC, - 0, - (_t, _bRC), - ( - (MANAGED_SEARCH_RERANKING_CONFIGURATION_TYPE, 1), - (MANAGED_SEARCH_BEDROCK_RERANKING_CONFIGURATION, 0), - ), -) - -RERANKING_MODEL_TYPE: StaticSchema = ( - 14, - n0, - _RMT, - 0, - (_CUSTOM, _MANAGED, _NONE), - ((-1, {_sV: _CUSTOM}), (-1, {_sV: _MANAGED}), (-1, {_sV: _NONE})), -) - -ATTRIBUTE_TYPE: StaticSchema = ( - 14, - n0, - _ATt, - 0, - (_STRING, _NUMBER, _BOOLEAN, _SL), - ( - (-1, {_sV: _STRING}), - (-1, {_sV: _NUMBER}), - (-1, {_sV: _BOOLEAN}), - (-1, {_sV: _SL}), - ), -) - -METADATA_ATTRIBUTE_SCHEMA: StaticSchema = ( - 18, - n0, - _MAS, - 4, - (_k, _t, _d), - ((3, 1), (ATTRIBUTE_TYPE, 1), (3, 1)), -) - -METADATA_ATTRIBUTE_SCHEMA_LIST: StaticSchema = ( - 16, - n0, - _MASL, - 0, - (_me,), - ((METADATA_ATTRIBUTE_SCHEMA, 0),), -) - -IMPLICIT_FILTER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IFC, - 0, - (_mAe, _mA), - ((METADATA_ATTRIBUTE_SCHEMA_LIST, 1), (BEDROCK_MODEL_ARN, 1)), -) - -SEARCH_TYPE: StaticSchema = ( - 14, - n0, - _ST, - 0, - (_HYBRID, _SEMANTIC), - ((-1, {_sV: _HYBRID}), (-1, {_sV: _SEMANTIC})), -) - -VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSBRMC, - 0, - (_mA, _aMRF), - ((BEDROCK_RERANKING_MODEL_ARN, 1), (ADDITIONAL_MODEL_REQUEST_FIELDS, 0)), -) - -VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSBRC, - 0, - (_mC, _nORR, _mCe), - ( - (VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1), - (7, 0), - (METADATA_CONFIGURATION_FOR_RERANKING, 0), - ), -) - -VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _VSRCT, - 0, - (_BRM,), - ((-1, {_sV: _BRM}),), -) - -VECTOR_SEARCH_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSRC, - 0, - (_t, _bRC), - ( - (VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE, 1), - (VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION, 0), - ), -) - -PROMPT_SESSION_ATTRIBUTES_MAP: StaticSchema = ( - 17, - n0, - _PSAM, - 0, - (_k, _v), - ((3, 0), (3, 0)), -) - -SESSION_ATTRIBUTES_MAP: StaticSchema = (17, n0, _SAM, 0, (_k, _v), ((3, 0), (3, 0))) - -AWS_RESOURCE_ARN: StaticSchema = (3, n0, _AWSRARN, 0) - -STREAMING_CONFIGURATIONS: StaticSchema = ( - 18, - n0, - _SCt, - 0, - (_sFR, _aGI), - ((2, {_smit: False}), (7, 0)), -) - -SPAN: StaticSchema = (18, n0, _Sp, 0, (_star, _en), ((7, 0), (7, 0))) - -TEXT_RESPONSE_PART: StaticSchema = (18, n0, _TRP, 4, (_te, _sp), ((3, 0), (SPAN, 0))) - -GENERATED_RESPONSE_PART: StaticSchema = ( - 18, - n0, - _GRP, - 0, - (_tRP,), - ((TEXT_RESPONSE_PART, 0),), -) - -CITATION: StaticSchema = ( - 18, - n0, - _Ci, - 0, - (_gRP, _rRe), - ((GENERATED_RESPONSE_PART, 0), (RETRIEVED_REFERENCES, 0)), -) - -CITATIONS: StaticSchema = (16, n0, _Cit, 0, (_me,), ((CITATION, 0),)) - -ATTRIBUTION: StaticSchema = (18, n0, _At, 0, (_ci,), ((CITATIONS, 0),)) - -PART_BODY: StaticSchema = (1, n0, _PB, 4) - -PAYLOAD_PART: StaticSchema = ( - 18, - n0, - _PPa, - 4, - (_by, _att), - ((PART_BODY, 0), (ATTRIBUTION, 0)), -) - -FILE_BODY: StaticSchema = (1, n0, _FB, 4) - -OUTPUT_FILE: StaticSchema = ( - 18, - n0, - _OF, - 4, - (_n, _t, _by), - ((3, 0), (MIME_TYPE, 0), (FILE_BODY, 0)), -) - -OUTPUT_FILES: StaticSchema = (16, n0, _OFu, 0, (_me,), ((OUTPUT_FILE, 0),)) - -FILE_PART: StaticSchema = (18, n0, _FPi, 0, (_fil,), ((OUTPUT_FILES, 0),)) - -MODEL_NOT_READY_EXCEPTION: StaticSchema = ( - 18, - n0, - _MNRE, - {_s: _c, _sE: 424}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -RESPONSE_STREAM: StaticSchema = ( - 19, - n0, - _RSe, - {_smith: None}, - ( - _ch, - _tra, - _rCetu, - _iSE, - _vE, - _rNFE, - _sQEE, - _tEh, - _aDE, - _cEo, - _dFE, - _bGE, - _mNRE, - _fil, - ), - ( - (PAYLOAD_PART, 0), - (TRACE_PART, 0), - (RETURN_CONTROL_PAYLOAD, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (RESOURCE_NOT_FOUND_EXCEPTION, 0), - (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (ACCESS_DENIED_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (DEPENDENCY_FAILED_EXCEPTION, 0), - (BAD_GATEWAY_EXCEPTION, 0), - (MODEL_NOT_READY_EXCEPTION, 0), - (FILE_PART, 0), - ), -) - -INVOKE_AGENT_OUTPUT: StaticSchema = ( - 18, - n0, - _IAO, - {_sSI: _cIAR, _smithy: None}, - (_com, _cT, _sIe, _mI), - ( - (RESPONSE_STREAM, 17), - (MIME_TYPE, {_sH: _xabact, _smi: None}), - (SESSION_ID, {_sH: _xabasi, _smi: None}), - (MEMORY_ID, {_sH: _xabami}), - ), -) - -INLINE_BEDROCK_MODEL_CONFIGURATIONS: StaticSchema = ( - 18, - n0, - _IBMC, - 0, - (_pC,), - ((PERFORMANCE_CONFIGURATION, 0),), -) - -COLLABORATION_INSTRUCTION: StaticSchema = (3, n0, _CIo, 4) - -RELAY_CONVERSATION_HISTORY: StaticSchema = ( - 14, - n0, - _RCH, - 0, - (_TC_, _DISABLED), - ((-1, {_sV: _TC_}), (-1, {_sV: _DISABLED})), -) - -COLLABORATOR_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CCo, - 0, - (_cN, _cI, _aAA, _rCH), - ( - (NAME, 1), - (COLLABORATION_INSTRUCTION, 1), - (AGENT_ALIAS_ARN, 0), - (RELAY_CONVERSATION_HISTORY, 0), - ), -) - -COLLABORATOR_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _CCol, - 0, - (_me,), - ((COLLABORATOR_CONFIGURATION, 0),), -) - -GUARDRAIL_IDENTIFIER_WITH_ARN: StaticSchema = (3, n0, _GIWA, 0) - -GUARDRAIL_VERSION: StaticSchema = (3, n0, _GV, 0) - -GUARDRAIL_CONFIGURATION_WITH_ARN: StaticSchema = ( - 18, - n0, - _GCWA, - 0, - (_gIu, _gV), - ((GUARDRAIL_IDENTIFIER_WITH_ARN, 1), (GUARDRAIL_VERSION, 1)), -) - -SESSION_TTL: StaticSchema = (7, n0, _STTL, 0) - -INSTRUCTION: StaticSchema = (3, n0, _In, 4) - -BASE_PROMPT_TEMPLATE: StaticSchema = (3, n0, _BPT, 4) - -PROMPT_STATE: StaticSchema = ( - 14, - n0, - _PS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -PROMPT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PCr, - 0, - (_pT, _pCM, _pS, _bPT, _iC, _pMa, _fM, _aMRF), - ( - (PROMPT_TYPE, 0), - (CREATION_MODE, 0), - (PROMPT_STATE, 0), - (BASE_PROMPT_TEMPLATE, 0), - (INFERENCE_CONFIGURATION, 0), - (CREATION_MODE, 0), - (MODEL_IDENTIFIER, 0), - (13, 0), - ), -) - -PROMPT_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _PCro, - 0, - (_me,), - ((PROMPT_CONFIGURATION, 0),), -) - -PROMPT_OVERRIDE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _POC, - 4, - (_pCr, _oL), - ((PROMPT_CONFIGURATIONS, 1), (LAMBDA_RESOURCE_ARN, 0)), -) - -ORCHESTRATION_EXECUTOR: StaticSchema = (19, n0, _OE, 0, (_l,), ((LAMBDA_ARN, 0),)) - -CUSTOM_ORCHESTRATION: StaticSchema = ( - 18, - n0, - _CO, - 0, - (_exe,), - ((ORCHESTRATION_EXECUTOR, 0),), -) - -INLINE_SESSION_STATE: StaticSchema = ( - 18, - n0, - _ISS, - 0, - (_sAe, _pSA, _rCIR, _iI, _fil, _cH), - ( - (SESSION_ATTRIBUTES_MAP, 0), - (PROMPT_SESSION_ATTRIBUTES_MAP, 0), - (RETURN_CONTROL_INVOCATION_RESULTS, 0), - (3, 0), - (INPUT_FILES, 0), - (CONVERSATION_HISTORY, 0), - ), -) - -ORCHESTRATION_TYPE: StaticSchema = ( - 14, - n0, - _OTr, - 0, - (_DEFAULT, _CO_), - ((-1, {_sV: _DEFAULT}), (-1, {_sV: _CO_})), -) - -INLINE_AGENT_PAYLOAD_PART: StaticSchema = ( - 18, - n0, - _IAPP, - 4, - (_by, _att), - ((PART_BODY, 0), (ATTRIBUTION, 0)), -) - -INLINE_AGENT_FILE_PART: StaticSchema = (18, n0, _IAFP, 0, (_fil,), ((OUTPUT_FILES, 0),)) - -INLINE_AGENT_RETURN_CONTROL_PAYLOAD: StaticSchema = ( - 18, - n0, - _IARCP, - 4, - (_iIn, _iI), - ((INVOCATION_INPUTS, 0), (3, 0)), -) - -INLINE_AGENT_TRACE_PART: StaticSchema = ( - 18, - n0, - _IATP, - 4, - (_sIe, _tra, _cCa, _eTv, _cN), - ( - (SESSION_ID, 0), - (TRACE, 0), - (CALLER_CHAIN, 0), - (DATE_TIMESTAMP, {_sF: _dt}), - (NAME, 0), - ), -) - -INLINE_AGENT_RESPONSE_STREAM: StaticSchema = ( - 19, - n0, - _IARS, - {_smith: None}, - (_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _fil), - ( - (INLINE_AGENT_PAYLOAD_PART, 0), - (INLINE_AGENT_TRACE_PART, 0), - (INLINE_AGENT_RETURN_CONTROL_PAYLOAD, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (RESOURCE_NOT_FOUND_EXCEPTION, 0), - (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (ACCESS_DENIED_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (DEPENDENCY_FAILED_EXCEPTION, 0), - (BAD_GATEWAY_EXCEPTION, 0), - (INLINE_AGENT_FILE_PART, 0), - ), -) - -INVOKE_INLINE_AGENT_OUTPUT: StaticSchema = ( - 18, - n0, - _IIAO, - {_sSI: _cIIAR, _smithy: None}, - (_com, _cT, _sIe), - ( - (INLINE_AGENT_RESPONSE_STREAM, 17), - (MIME_TYPE, {_sH: _xabact, _smi: None}), - (SESSION_ID, {_sH: _xabasi, _smi: None}), - ), -) - -DELETE_AGENT_MEMORY_INPUT: StaticSchema = ( - 18, - n0, - _DAMI, - {_sSI: _cDAMR, _smithya: None}, - (_aI, _aAI, _mI, _sIe), - ( - (AGENT_ID, 9), - (AGENT_ALIAS_ID, 9), - (MEMORY_ID, {_sQ: _mI}), - (SESSION_ID, {_sQ: _sIe}), - ), -) - -DELETE_AGENT_MEMORY_OUTPUT: StaticSchema = ( - 18, - n0, - _DAMO, - {_sSI: _cDAMRo, _smithy: None}, -) - -DELETE_AGENT_MEMORY: StaticOperationSchema = ( - 23, - n0, - _DAMe, - { - _smithyap: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/agents/{agentId}/agentAliases/{agentAliasId}/memories", - } - ) - }, - DELETE_AGENT_MEMORY_INPUT, - DELETE_AGENT_MEMORY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MEMORY_TYPE: StaticSchema = (14, n0, _MTe, 0, (_SS_,), ((-1, {_sV: _SS_}),)) - -GET_AGENT_MEMORY_INPUT: StaticSchema = ( - 18, - n0, - _GAMI, - {_sSI: _cGAMR, _smithya: None}, - (_nT, _mIa, _aI, _aAI, _mTem, _mI), - ( - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS, {_sQ: _mIa}), - (AGENT_ID, 9), - (AGENT_ALIAS_ID, 9), - (MEMORY_TYPE, {_sQ: _mTem, _smi: None}), - (MEMORY_ID, {_sQ: _mI, _smi: None}), - ), -) - -SUMMARY_TEXT: StaticSchema = (3, n0, _STu, 0) - -MEMORY_SESSION_SUMMARY: StaticSchema = ( - 18, - n0, - _MSS, - 0, - (_mI, _sIe, _sST, _sET, _sTu), - ( - (MEMORY_ID, 0), - (SESSION_ID, 0), - (DATE_TIMESTAMP, 0), - (DATE_TIMESTAMP, 0), - (SUMMARY_TEXT, 0), - ), -) - -MEMORY: StaticSchema = (19, n0, _Mem, 0, (_sSe,), ((MEMORY_SESSION_SUMMARY, 0),)) - -MEMORIES: StaticSchema = (16, n0, _Memo, 0, (_me,), ((MEMORY, 0),)) - -GET_AGENT_MEMORY_OUTPUT: StaticSchema = ( - 18, - n0, - _GAMO, - {_sSI: _cGAMRo, _smithy: None}, - (_nT, _mCem), - ((NEXT_TOKEN, 0), (MEMORIES, 0)), -) - -GET_AGENT_MEMORY: StaticOperationSchema = ( - 23, - n0, - _GAM, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/agents/{agentId}/agentAliases/{agentAliasId}/memories", - } - ) - }, - GET_AGENT_MEMORY_INPUT, - GET_AGENT_MEMORY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TEXT_PROMPT: StaticSchema = (18, n0, _TPe, 4, (_te,), ((3, 1),)) - -INPUT_PROMPT: StaticSchema = (19, n0, _IPn, 0, (_tPe,), ((TEXT_PROMPT, 0),)) - -OPTIMIZE_PROMPT_INPUT: StaticSchema = ( - 18, - n0, - _OPI, - {_sSI: _cOPR, _smithya: None}, - (_in, _tMI), - ((INPUT_PROMPT, 1), (3, 1)), -) - -ANALYZE_PROMPT_EVENT: StaticSchema = (18, n0, _APE, 4, (_m,), ((3, 0),)) - -OPTIMIZED_PROMPT: StaticSchema = (19, n0, _OP, 0, (_tPe,), ((TEXT_PROMPT, 0),)) - -OPTIMIZED_PROMPT_EVENT: StaticSchema = ( - 18, - n0, - _OPE, - 4, - (_oP,), - ((OPTIMIZED_PROMPT, 0),), -) - -OPTIMIZED_PROMPT_STREAM: StaticSchema = ( - 19, - n0, - _OPS, - {_smith: None}, - (_oPE, _aPE, _iSE, _tEh, _vE, _dFE, _aDE, _bGE), - ( - (OPTIMIZED_PROMPT_EVENT, 0), - (ANALYZE_PROMPT_EVENT, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (DEPENDENCY_FAILED_EXCEPTION, 0), - (ACCESS_DENIED_EXCEPTION, 0), - (BAD_GATEWAY_EXCEPTION, 0), - ), -) - -OPTIMIZE_PROMPT_OUTPUT: StaticSchema = ( - 18, - n0, - _OPO, - {_sSI: _cOPRo, _smithy: None}, - (_oP,), - ((OPTIMIZED_PROMPT_STREAM, 17),), -) - -OPTIMIZE_PROMPT: StaticOperationSchema = ( - 23, - n0, - _OPp, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/optimize-prompt"} - ) - }, - OPTIMIZE_PROMPT_INPUT, - OPTIMIZE_PROMPT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RERANK_TEXT_DOCUMENT: StaticSchema = (18, n0, _RTD, 4, (_te,), ((3, 0),)) - -RERANK_QUERY_CONTENT_TYPE: StaticSchema = ( - 14, - n0, - _RQCT, - 0, - (_TEXT,), - ((-1, {_sV: _TEXT}),), -) - -RERANK_QUERY: StaticSchema = ( - 18, - n0, - _RQ, - 4, - (_t, _tQ), - ((RERANK_QUERY_CONTENT_TYPE, 1), (RERANK_TEXT_DOCUMENT, 1)), -) - -RERANK_QUERIES_LIST: StaticSchema = (16, n0, _RQL, 4, (_me,), ((RERANK_QUERY, 0),)) - -BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BRMC, - 0, - (_mA, _aMRF), - ((BEDROCK_MODEL_ARN, 1), (ADDITIONAL_MODEL_REQUEST_FIELDS, 0)), -) - -BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BRC, - 0, - (_nOR, _mC), - ((7, 0), (BEDROCK_RERANKING_MODEL_CONFIGURATION, 1)), -) - -RERANKING_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _RCTe, - 0, - (_BRM,), - ((-1, {_sV: _BRM}),), -) - -RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RCer, - 0, - (_t, _bRC), - ((RERANKING_CONFIGURATION_TYPE, 1), (BEDROCK_RERANKING_CONFIGURATION, 1)), -) - -RERANK_DOCUMENT_TYPE: StaticSchema = ( - 14, - n0, - _RDT, - 0, - (_TEXT, _JSON), - ((-1, {_sV: _TEXT}), (-1, {_sV: _JSON})), -) - -RERANK_DOCUMENT: StaticSchema = ( - 18, - n0, - _RDe, - 4, - (_t, _tD, _jD), - ((RERANK_DOCUMENT_TYPE, 1), (RERANK_TEXT_DOCUMENT, 0), (13, 0)), -) - -RERANK_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _RST, - 0, - (_INLINE,), - ((-1, {_sV: _INLINE}),), -) - -RERANK_SOURCE: StaticSchema = ( - 18, - n0, - _RSer, - 4, - (_t, _iDS), - ((RERANK_SOURCE_TYPE, 1), (RERANK_DOCUMENT, 1)), -) - -RERANK_SOURCES_LIST: StaticSchema = (16, n0, _RSL, 4, (_me,), ((RERANK_SOURCE, 0),)) - -RERANK_INPUT: StaticSchema = ( - 18, - n0, - _RI, - {_sSI: _cRR, _smithya: None}, - (_qu, _sou, _rCe, _nT), - ( - (RERANK_QUERIES_LIST, 1), - (RERANK_SOURCES_LIST, 1), - (RERANKING_CONFIGURATION, 1), - (NEXT_TOKEN, 0), - ), -) - -RERANK_RESULT: StaticSchema = ( - 18, - n0, - _RRer, - 0, - (_ind, _rSel, _doc), - ((7, 1), (9, 1), (RERANK_DOCUMENT, 0)), -) - -RERANK_RESULTS_LIST: StaticSchema = (16, n0, _RRLe, 0, (_me,), ((RERANK_RESULT, 0),)) - -RERANK_OUTPUT: StaticSchema = ( - 18, - n0, - _RO, - {_sSI: _cRRo, _smithy: None}, - (_res, _nT), - ((RERANK_RESULTS_LIST, 1), (NEXT_TOKEN, 0)), -) - -RERANK: StaticOperationSchema = ( - 23, - n0, - _Re, - {_smithyap: MappingProxyType({"code": 200, "method": "POST", "uri": "/rerank"})}, - RERANK_INPUT, - RERANK_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RETRIEVE_AND_GENERATE_INPUT: StaticSchema = (18, n0, _RAGI, 4, (_te,), ((3, 1),)) - -GUARDRAIL_CONFIGURATION: StaticSchema = (18, n0, _GC, 0, (_gI, _gV), ((3, 1), (3, 1))) - -MAX_TOKENS: StaticSchema = (7, n0, _MTa, 0) - -RAG_STOP_SEQUENCES: StaticSchema = (16, n0, _RAGSS, 0, (_me,), ((3, 0),)) - -TEXT_INFERENCE_CONFIG: StaticSchema = ( - 18, - n0, - _TIC, - 0, - (_tem, _tPo, _mTa, _sS), - ((TEMPERATURE, 0), (TOP_P, 0), (MAX_TOKENS, 0), (RAG_STOP_SEQUENCES, 0)), -) - -INFERENCE_CONFIG: StaticSchema = ( - 18, - n0, - _ICn, - 0, - (_tIC,), - ((TEXT_INFERENCE_CONFIG, 0),), -) - -TEXT_PROMPT_TEMPLATE: StaticSchema = (3, n0, _TPT, 4) - -PROMPT_TEMPLATE: StaticSchema = ( - 18, - n0, - _PTrom, - 0, - (_tPT,), - ((TEXT_PROMPT_TEMPLATE, 0),), -) - -EXTERNAL_SOURCES_GENERATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ESGC, - 0, - (_pTr, _gC, _iCn, _aMRF, _pC), - ( - (PROMPT_TEMPLATE, 0), - (GUARDRAIL_CONFIGURATION, 0), - (INFERENCE_CONFIG, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS, 0), - (PERFORMANCE_CONFIGURATION, 0), - ), -) - -CONTENT_TYPE: StaticSchema = (3, n0, _CT, 0) - -IDENTIFIER: StaticSchema = (3, n0, _Id, 4) - -BYTE_CONTENT_DOC: StaticSchema = ( - 18, - n0, - _BCD, - 0, - (_id, _cT, _da), - ((IDENTIFIER, 1), (CONTENT_TYPE, 1), (BYTE_CONTENT_BLOB, 1)), -) - -S3_OBJECT_DOC: StaticSchema = (18, n0, _SOD, 0, (_uri,), ((S3_URI, 1),)) - -EXTERNAL_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _EST, - 0, - (_S, _BC), - ((-1, {_sV: _S}), (-1, {_sV: _BC})), -) - -EXTERNAL_SOURCE: StaticSchema = ( - 18, - n0, - _ES, - 0, - (_sTo, _sL, _bC), - ((EXTERNAL_SOURCE_TYPE, 1), (S3_OBJECT_DOC, 0), (BYTE_CONTENT_DOC, 0)), -) - -EXTERNAL_SOURCES: StaticSchema = (16, n0, _ESx, 0, (_me,), ((EXTERNAL_SOURCE, 0),)) - -EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ESRAGC, - 0, - (_mA, _sou, _gCe), - ( - (BEDROCK_MODEL_ARN, 1), - (EXTERNAL_SOURCES, 1), - (EXTERNAL_SOURCES_GENERATION_CONFIGURATION, 0), - ), -) - -GENERATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _GCe, - 0, - (_pTr, _gC, _iCn, _aMRF, _pC), - ( - (PROMPT_TEMPLATE, 0), - (GUARDRAIL_CONFIGURATION, 0), - (INFERENCE_CONFIG, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS, 0), - (PERFORMANCE_CONFIGURATION, 0), - ), -) - -QUERY_TRANSFORMATION_TYPE: StaticSchema = (14, n0, _QTT, 0, (_QD,), ((-1, {_sV: _QD}),)) - -QUERY_TRANSFORMATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _QTC, - 0, - (_t,), - ((QUERY_TRANSFORMATION_TYPE, 1),), -) - -ORCHESTRATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OC, - 0, - (_pTr, _iCn, _aMRF, _qTC, _pC), - ( - (PROMPT_TEMPLATE, 0), - (INFERENCE_CONFIG, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS, 0), - (QUERY_TRANSFORMATION_CONFIGURATION, 0), - (PERFORMANCE_CONFIGURATION, 0), - ), -) - -RETRIEVE_AND_GENERATE_TYPE: StaticSchema = ( - 14, - n0, - _RAGT, - 0, - (_KB, _ES_), - ((-1, {_sV: _KB}), (-1, {_sV: _ES_})), -) - -RETRIEVE_AND_GENERATE_SESSION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RAGSC, - 0, - (_kKA,), - ((KMS_KEY_ARN, 1),), -) - -GUADRAIL_ACTION: StaticSchema = ( - 14, - n0, - _GAua, - 0, - (_INTERVENED, _NONE), - ((-1, {_sV: _INTERVENED}), (-1, {_sV: _NONE})), -) - -RETRIEVE_AND_GENERATE_OUTPUT: StaticSchema = (18, n0, _RAGO, 4, (_te,), ((3, 1),)) - -RETRIEVE_AND_GENERATE_OPERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _RAGOO, - {_sSI: _cRAGR, _smithy: None}, - (_sIe, _o, _ci, _gA), - ( - (SESSION_ID, 1), - (RETRIEVE_AND_GENERATE_OUTPUT, 1), - (CITATIONS, 0), - (GUADRAIL_ACTION, 0), - ), -) - -CITATION_EVENT: StaticSchema = ( - 18, - n0, - _CEi, - 0, - (_cit, _gRP, _rRe), - ((CITATION, 0), (GENERATED_RESPONSE_PART, 0), (RETRIEVED_REFERENCES, 0)), -) - -GUARDRAIL_EVENT: StaticSchema = (18, n0, _GE, 0, (_ac,), ((GUADRAIL_ACTION, 0),)) - -RETRIEVE_AND_GENERATE_OUTPUT_EVENT: StaticSchema = ( - 18, - n0, - _RAGOE, - 4, - (_te,), - ((3, 1),), -) - -RETRIEVE_AND_GENERATE_STREAM_RESPONSE_OUTPUT: StaticSchema = ( - 19, - n0, - _RAGSRO, - {_smith: None}, - (_o, _cit, _gu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE), - ( - (RETRIEVE_AND_GENERATE_OUTPUT_EVENT, 0), - (CITATION_EVENT, 0), - (GUARDRAIL_EVENT, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (RESOURCE_NOT_FOUND_EXCEPTION, 0), - (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (ACCESS_DENIED_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (DEPENDENCY_FAILED_EXCEPTION, 0), - (BAD_GATEWAY_EXCEPTION, 0), - ), -) - -RETRIEVE_AND_GENERATE_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _RAGSO, - {_sSI: _cRAGSR, _smithy: None}, - (_str, _sIe), - ( - (RETRIEVE_AND_GENERATE_STREAM_RESPONSE_OUTPUT, 17), - (SESSION_ID, {_sH: _xabkbsi, _smi: None}), - ), -) - -INPUT_IMAGE_FORMAT: StaticSchema = ( - 14, - n0, - _IIFn, - 0, - (_pn, _j, _g, _w), - ((-1, {_sV: _pn}), (-1, {_sV: _j}), (-1, {_sV: _g}), (-1, {_sV: _w})), -) - -INPUT_IMAGE: StaticSchema = ( - 18, - n0, - _IInp, - 0, - (_fo, _iCnl), - ((INPUT_IMAGE_FORMAT, 1), (BYTE_CONTENT_BLOB, 1)), -) - -KNOWLEDGE_BASE_QUERY_TYPE: StaticSchema = ( - 14, - n0, - _KBQT, - 0, - (_TEXT, _IMAGE), - ((-1, {_sV: _TEXT}), (-1, {_sV: _IMAGE})), -) - -KNOWLEDGE_BASE_QUERY: StaticSchema = ( - 18, - n0, - _KBQ, - 4, - (_t, _te, _ima), - ((KNOWLEDGE_BASE_QUERY_TYPE, {_smit: _TEXT}), (3, {_smit: _v_}), (INPUT_IMAGE, 0)), -) - -KNOWLEDGE_BASE_RETRIEVAL_RESULT: StaticSchema = ( - 18, - n0, - _KBRR, - 0, - (_co, _lo, _sc, _met, _dI), - ( - (RETRIEVAL_RESULT_CONTENT, 1), - (RETRIEVAL_RESULT_LOCATION, 0), - (10, 0), - (RETRIEVAL_RESULT_METADATA, 0), - (DOCUMENT_ID, 0), - ), -) - -KNOWLEDGE_BASE_RETRIEVAL_RESULTS: StaticSchema = ( - 16, - n0, - _KBRRn, - 4, - (_me,), - ((KNOWLEDGE_BASE_RETRIEVAL_RESULT, 0),), -) - -RETRIEVE_OUTPUT: StaticSchema = ( - 18, - n0, - _ROe, - {_sSI: _cRRom, _smithy: None}, - (_rRet, _gA, _nT), - ((KNOWLEDGE_BASE_RETRIEVAL_RESULTS, 1), (GUADRAIL_ACTION, 0), (NEXT_TOKEN, 0)), -) - -SESSION_METADATA_KEY: StaticSchema = (3, n0, _SMK, 0) - -SESSION_METADATA_VALUE: StaticSchema = (3, n0, _SMV, 0) - -SESSION_METADATA_MAP: StaticSchema = ( - 17, - n0, - _SMM, - 0, - (_k, _v), - ((SESSION_METADATA_KEY, 0), (SESSION_METADATA_VALUE, 0)), -) - -TAG_KEY: StaticSchema = (3, n0, _TKa, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAGS_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -CREATE_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_sSI: _cCSR, _smithya: None}, - (_sMe, _eKA, _ta), - ((SESSION_METADATA_MAP, 0), (KMS_KEY_ARN, 0), (TAGS_MAP, 0)), -) - -SESSION_ARN: StaticSchema = (3, n0, _SA, 0) - -UUID: StaticSchema = (3, n0, _Uu, 0) - -SESSION_STATUS: StaticSchema = ( - 14, - n0, - _SSe, - 0, - (_ACTIVE, _EXPIRED, _ENDED), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _EXPIRED}), (-1, {_sV: _ENDED})), -) - -CREATE_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_sSI: _cCSRo, _smithy: None}, - (_sIe, _sAes, _sSes, _cA), - ((UUID, 1), (SESSION_ARN, 1), (SESSION_STATUS, 1), (DATE_TIMESTAMP, 1)), -) - -CREATE_SESSION: StaticOperationSchema = ( - 23, - n0, - _CSr, - {_smithyap: MappingProxyType({"code": 201, "method": "PUT", "uri": "/sessions/"})}, - CREATE_SESSION_INPUT, - CREATE_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SESSION_IDENTIFIER: StaticSchema = (3, n0, _SIes, 0) - -DELETE_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _DSIe, - {_sSI: _cDSR, _smithya: None}, - (_sIes,), - ((SESSION_IDENTIFIER, 9),), -) - -DELETE_SESSION_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _cDSRo, _smithy: None}) - -DELETE_SESSION: StaticOperationSchema = ( - 23, - n0, - _DSe, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/sessions/{sessionIdentifier}/"} - ) - }, - DELETE_SESSION_INPUT, - DELETE_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -END_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _ESI, - {_sSI: _cESR, _smithya: None}, - (_sIes,), - ((SESSION_IDENTIFIER, 9),), -) - -END_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _ESO, - {_sSI: _cESRo, _smithy: None}, - (_sIe, _sAes, _sSes), - ((UUID, 1), (SESSION_ARN, 1), (SESSION_STATUS, 1)), -) - -END_SESSION: StaticOperationSchema = ( - 23, - n0, - _ESn, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "PATCH", "uri": "/sessions/{sessionIdentifier}"} - ) - }, - END_SESSION_INPUT, - END_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _GSI, - {_sSI: _cGSR, _smithya: None}, - (_sIes,), - ((SESSION_IDENTIFIER, 9),), -) - -GET_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GSO, - {_sSI: _cGSRo, _smithy: None}, - (_sIe, _sAes, _sSes, _cA, _lUA, _sMe, _eKA), - ( - (UUID, 1), - (SESSION_ARN, 1), - (SESSION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (SESSION_METADATA_MAP, 0), - (KMS_KEY_ARN, 0), - ), -) - -GET_SESSION: StaticOperationSchema = ( - 23, - n0, - _GS, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/sessions/{sessionIdentifier}/"} - ) - }, - GET_SESSION_INPUT, - GET_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INVOCATION_DESCRIPTION: StaticSchema = (3, n0, _ID, 0) - -CREATE_INVOCATION_INPUT: StaticSchema = ( - 18, - n0, - _CII, - {_sSI: _cCIR, _smithya: None}, - (_iI, _d, _sIes), - ((UUID, 0), (INVOCATION_DESCRIPTION, 0), (SESSION_IDENTIFIER, 9)), -) - -CREATE_INVOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CIO, - {_sSI: _cCIRo, _smithy: None}, - (_sIe, _iI, _cA), - ((UUID, 1), (UUID, 1), (DATE_TIMESTAMP, 1)), -) - -CREATE_INVOCATION: StaticOperationSchema = ( - 23, - n0, - _CIr, - { - _smithyap: MappingProxyType( - { - "code": 201, - "method": "PUT", - "uri": "/sessions/{sessionIdentifier}/invocations/", - } - ) - }, - CREATE_INVOCATION_INPUT, - CREATE_INVOCATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INVOCATION_IDENTIFIER: StaticSchema = (3, n0, _IInvo, 0) - -LIST_INVOCATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LII, - {_sSI: _cLIR, _smithya: None}, - (_nT, _mRa, _sIes), - ( - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS, {_smit: 10, _sQ: _mRa}), - (SESSION_IDENTIFIER, 9), - ), -) - -INVOCATION_SUMMARY: StaticSchema = ( - 18, - n0, - _ISn, - 0, - (_sIe, _iI, _cA), - ((UUID, 1), (UUID, 1), (DATE_TIMESTAMP, 1)), -) - -INVOCATION_SUMMARIES: StaticSchema = ( - 16, - n0, - _ISnv, - 0, - (_me,), - ((INVOCATION_SUMMARY, 0),), -) - -LIST_INVOCATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIO, - {_sSI: _cLIRo, _smithy: None}, - (_iS, _nT), - ((INVOCATION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_INVOCATIONS: StaticOperationSchema = ( - 23, - n0, - _LI, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/sessions/{sessionIdentifier}/invocations/", - } - ) - }, - LIST_INVOCATIONS_INPUT, - LIST_INVOCATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_INVOCATION_STEP_INPUT: StaticSchema = ( - 18, - n0, - _GISI, - {_sSI: _cGISR, _smithya: None}, - (_iInvo, _iSI, _sIes), - ((INVOCATION_IDENTIFIER, 1), (UUID, 9), (SESSION_IDENTIFIER, 9)), -) - -IMAGE_FORMAT: StaticSchema = ( - 14, - n0, - _IFm, - 0, - (_PNG, _JPEG, _GIF, _WEBP), - ((-1, {_sV: _pn}), (-1, {_sV: _j}), (-1, {_sV: _g}), (-1, {_sV: _w})), -) - -S3_LOCATION: StaticSchema = (18, n0, _SLo, 0, (_uri,), ((S3_URI, 1),)) - -IMAGE_SOURCE: StaticSchema = (19, n0, _ISm, 0, (_by, _sL), ((1, 0), (S3_LOCATION, 0))) - -IMAGE_BLOCK: StaticSchema = ( - 18, - n0, - _IB, - 0, - (_fo, _so), - ((IMAGE_FORMAT, 1), (IMAGE_SOURCE, 1)), -) - -BEDROCK_SESSION_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _BSCB, - 4, - (_te, _ima), - ((3, 0), (IMAGE_BLOCK, 0)), -) - -BEDROCK_SESSION_CONTENT_BLOCKS: StaticSchema = ( - 16, - n0, - _BSCBe, - 0, - (_me,), - ((BEDROCK_SESSION_CONTENT_BLOCK, 0),), -) - -INVOCATION_STEP_PAYLOAD: StaticSchema = ( - 19, - n0, - _ISP, - 0, - (_cB,), - ((BEDROCK_SESSION_CONTENT_BLOCKS, 0),), -) - -INVOCATION_STEP: StaticSchema = ( - 18, - n0, - _ISnvo, - 0, - (_sIe, _iI, _iSI, _iST, _pa), - ( - (UUID, 1), - (UUID, 1), - (UUID, 1), - (DATE_TIMESTAMP, 1), - (INVOCATION_STEP_PAYLOAD, 1), - ), -) - -GET_INVOCATION_STEP_OUTPUT: StaticSchema = ( - 18, - n0, - _GISO, - {_sSI: _cGISRo, _smithy: None}, - (_iSn,), - ((INVOCATION_STEP, 1),), -) - -GET_INVOCATION_STEP: StaticOperationSchema = ( - 23, - n0, - _GIS, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/sessions/{sessionIdentifier}/invocationSteps/{invocationStepId}", - } - ) - }, - GET_INVOCATION_STEP_INPUT, - GET_INVOCATION_STEP_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_INVOCATION_STEPS_INPUT: StaticSchema = ( - 18, - n0, - _LISI, - {_sSI: _cLISR, _smithya: None}, - (_iInvo, _nT, _mRa, _sIes), - ( - (INVOCATION_IDENTIFIER, 0), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS, {_smit: 10, _sQ: _mRa}), - (SESSION_IDENTIFIER, 9), - ), -) - -INVOCATION_STEP_SUMMARY: StaticSchema = ( - 18, - n0, - _ISSn, - 0, - (_sIe, _iI, _iSI, _iST), - ((UUID, 1), (UUID, 1), (UUID, 1), (DATE_TIMESTAMP, 1)), -) - -INVOCATION_STEP_SUMMARIES: StaticSchema = ( - 16, - n0, - _ISSnv, - 0, - (_me,), - ((INVOCATION_STEP_SUMMARY, 0),), -) - -LIST_INVOCATION_STEPS_OUTPUT: StaticSchema = ( - 18, - n0, - _LISO, - {_sSI: _cLISRo, _smithy: None}, - (_iSS, _nT), - ((INVOCATION_STEP_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_INVOCATION_STEPS: StaticOperationSchema = ( - 23, - n0, - _LIS, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/sessions/{sessionIdentifier}/invocationSteps/", - } - ) - }, - LIST_INVOCATION_STEPS_INPUT, - LIST_INVOCATION_STEPS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PUT_INVOCATION_STEP_INPUT: StaticSchema = ( - 18, - n0, - _PISI, - {_sSI: _cPISR, _smithya: None}, - (_sIes, _iInvo, _iST, _pa, _iSI), - ( - (SESSION_IDENTIFIER, 9), - (INVOCATION_IDENTIFIER, 1), - (DATE_TIMESTAMP, 1), - (INVOCATION_STEP_PAYLOAD, 1), - (UUID, 0), - ), -) - -PUT_INVOCATION_STEP_OUTPUT: StaticSchema = ( - 18, - n0, - _PISO, - {_sSI: _cPISRo, _smithy: None}, - (_iSI,), - ((UUID, 1),), -) - -PUT_INVOCATION_STEP: StaticOperationSchema = ( - 23, - n0, - _PIS, - { - _smithyap: MappingProxyType( - { - "code": 201, - "method": "PUT", - "uri": "/sessions/{sessionIdentifier}/invocationSteps/", - } - ) - }, - PUT_INVOCATION_STEP_INPUT, - PUT_INVOCATION_STEP_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_SESSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LSI, - {_sSI: _cLSR, _smithya: None}, - (_mRa, _nT), - ((MAX_RESULTS, {_smit: 10, _sQ: _mRa}), (NEXT_TOKEN, {_sQ: _nT})), -) - -SESSION_SUMMARY: StaticSchema = ( - 18, - n0, - _SSes, - 0, - (_sIe, _sAes, _sSes, _cA, _lUA), - ( - (UUID, 1), - (SESSION_ARN, 1), - (SESSION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -SESSION_SUMMARIES: StaticSchema = (16, n0, _SSess, 0, (_me,), ((SESSION_SUMMARY, 0),)) - -LIST_SESSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_sSI: _cLSRo, _smithy: None}, - (_sSess, _nT), - ((SESSION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_SESSIONS: StaticOperationSchema = ( - 23, - n0, - _LS, - {_smithyap: MappingProxyType({"code": 200, "method": "POST", "uri": "/sessions/"})}, - LIST_SESSIONS_INPUT, - LIST_SESSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _USI, - {_sSI: _cUSR, _smithya: None}, - (_sMe, _sIes), - ((SESSION_METADATA_MAP, 0), (SESSION_IDENTIFIER, 9)), -) - -UPDATE_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _USO, - {_sSI: _cUSRo, _smithy: None}, - (_sIe, _sAes, _sSes, _cA, _lUA), - ( - (UUID, 1), - (SESSION_ARN, 1), - (SESSION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -UPDATE_SESSION: StaticOperationSchema = ( - 23, - n0, - _US, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "PUT", "uri": "/sessions/{sessionIdentifier}/"} - ) - }, - UPDATE_SESSION_INPUT, - UPDATE_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAGGABLE_RESOURCES_ARN: StaticSchema = (3, n0, _TRA, 0) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _smithya: None}, - (_rA,), - ((TAGGABLE_RESOURCES_ARN, 9),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smithy: None}, - (_ta,), - ((TAGS_MAP, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/tags/{resourceArn}"} - ) - }, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smithya: None}, - (_rA, _ta), - ((TAGGABLE_RESOURCES_ARN, 9), (TAGS_MAP, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smithy: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/tags/{resourceArn}"} - ) - }, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _smithya: None}, - (_rA, _tKa), - ((TAGGABLE_RESOURCES_ARN, 9), (TAG_KEY_LIST, {_sQ: _tKa, _smi: None})), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smithy: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/tags/{resourceArn}"} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RETRIEVAL_FILTER: StaticSchema = ( - 19, - n0, - _RF, - 4, - (_eq, _nE, _gTr, _gTOE, _lT, _lTOE, _in_, _nI, _sW, _lC, _sCt, _aA, _oAr), - ( - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (lambda: RETRIEVAL_FILTER_LIST, 0), - (lambda: RETRIEVAL_FILTER_LIST, 0), - ), -) - -RETRIEVAL_FILTER_LIST: StaticSchema = ( - 16, - n0, - _RFL, - 0, - (_me,), - ((RETRIEVAL_FILTER, 0),), -) - -KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBVSC, - 0, - (_nOR, _oST, _filt, _rCe, _iFC), - ( - (7, {_smit: 5}), - (SEARCH_TYPE, 0), - (RETRIEVAL_FILTER, 0), - (VECTOR_SEARCH_RERANKING_CONFIGURATION, 0), - (IMPLICIT_FILTER_CONFIGURATION, 0), - ), -) - -MANAGED_SEARCH_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MSC, - 0, - (_nOR, _filt, _rMT, _rCe), - ( - (7, 0), - (RETRIEVAL_FILTER, 0), - (RERANKING_MODEL_TYPE, 0), - (MANAGED_SEARCH_RERANKING_CONFIGURATION, 0), - ), -) - -RETRIEVAL_OVERRIDES: StaticSchema = ( - 18, - n0, - _ROet, - 0, - (_filt, _mNOR), - ((RETRIEVAL_FILTER, 0), (7, 0)), -) - -KNOWLEDGE_BASE_RETRIEVER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBRC, - 0, - (_kBI, _rO), - ((KNOWLEDGE_BASE_ID, 1), (RETRIEVAL_OVERRIDES, 0)), -) - -RETRIEVER_CONFIGURATION: StaticSchema = ( - 19, - n0, - _RCetr, - 0, - (_kB,), - ((KNOWLEDGE_BASE_RETRIEVER_CONFIGURATION, 0),), -) - -AGENTIC_RETRIEVER: StaticSchema = ( - 18, - n0, - _ARg, - 0, - (_d, _conf), - ((3, 0), (RETRIEVER_CONFIGURATION, 1)), -) - -AGENTIC_RETRIEVERS: StaticSchema = (16, n0, _ARge, 0, (_me,), ((AGENTIC_RETRIEVER, 0),)) - -AGENTIC_RETRIEVE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _ARSI, - {_sSI: _cARSRo, _smithya: None}, - (_mes, _ret, _aRC, _pCo, _nT, _uC, _mCemo, _rIC, _gRe), - ( - (AGENTIC_RETRIEVE_MESSAGES, 1), - (AGENTIC_RETRIEVERS, 1), - (AGENTIC_RETRIEVE_CONFIGURATION, 1), - (AGENTIC_RETRIEVE_POLICY_CONFIGURATION, 0), - (NEXT_TOKEN, 0), - (USER_CONTEXT, 0), - (AGENTIC_RETRIEVE_MEMORY_CONFIGURATION, 0), - (AGENTIC_RETRIEVE_INSTRUCTION_CONFIGURATION, 0), - (2, {_smit: True}), - ), -) - -KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBRCn, - 0, - (_vSC, _mSC), - ( - (KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION, 0), - (MANAGED_SEARCH_CONFIGURATION, 0), - ), -) - -AGENTIC_RETRIEVE_STREAM: StaticOperationSchema = ( - 23, - n0, - _ARSge, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/agenticRetrieveStream"} - ) - }, - AGENTIC_RETRIEVE_STREAM_INPUT, - AGENTIC_RETRIEVE_STREAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -KNOWLEDGE_BASE: StaticSchema = ( - 18, - n0, - _KBn, - 0, - (_kBI, _d, _rCetr), - ( - (KNOWLEDGE_BASE_ID, 1), - (RESOURCE_DESCRIPTION, 1), - (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 0), - ), -) - -KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBC, - 0, - (_kBI, _rCetr), - ((KNOWLEDGE_BASE_ID, 1), (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 1)), -) - -KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBRAGC, - 0, - (_kBI, _mA, _rCetr, _gCe, _oC), - ( - (KNOWLEDGE_BASE_ID, 1), - (BEDROCK_MODEL_ARN, 1), - (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 0), - (GENERATION_CONFIGURATION, 0), - (ORCHESTRATION_CONFIGURATION, 0), - ), -) - -RETRIEVE_INPUT: StaticSchema = ( - 18, - n0, - _RIe, - {_sSI: _cRRoma, _smithya: None}, - (_kBI, _rQ, _rCetr, _gC, _nT, _uC), - ( - (KNOWLEDGE_BASE_IDENTIFIER, 9), - (KNOWLEDGE_BASE_QUERY, 1), - (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 0), - (GUARDRAIL_CONFIGURATION, 0), - (NEXT_TOKEN, 0), - (USER_CONTEXT, 0), - ), -) - -RETRIEVE: StaticOperationSchema = ( - 23, - n0, - _Ret, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/retrieve", - } - ) - }, - RETRIEVE_INPUT, - RETRIEVE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -KNOWLEDGE_BASE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _KBCn, - 0, - (_me,), - ((KNOWLEDGE_BASE_CONFIGURATION, 0),), -) - -KNOWLEDGE_BASES: StaticSchema = (16, n0, _KBno, 0, (_me,), ((KNOWLEDGE_BASE, 0),)) - -RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RAGC, - 0, - (_t, _kBC, _eSC), - ( - (RETRIEVE_AND_GENERATE_TYPE, 1), - (KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION, 0), - (EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION, 0), - ), -) - -COLLABORATOR: StaticSchema = ( - 18, - n0, - _Co, - 0, - (_cEKA, _fM, _ins, _iSTTLIS, _aGc, _kBn, _gC, _pOC, _aC, _cCo, _aN), - ( - (KMS_KEY_ARN, 0), - (MODEL_IDENTIFIER, 1), - (INSTRUCTION, 1), - (SESSION_TTL, 0), - (AGENT_ACTION_GROUPS, 0), - (KNOWLEDGE_BASES, 0), - (GUARDRAIL_CONFIGURATION_WITH_ARN, 0), - (PROMPT_OVERRIDE_CONFIGURATION, 0), - (AGENT_COLLABORATION, 0), - (COLLABORATOR_CONFIGURATIONS, 0), - (NAME, 0), - ), -) - -RETRIEVE_AND_GENERATE_OPERATION_INPUT: StaticSchema = ( - 18, - n0, - _RAGOI, - {_sSI: _cRAGRo, _smithya: None}, - (_sIe, _in, _rAGC, _sCe, _uC), - ( - (SESSION_ID, 0), - (RETRIEVE_AND_GENERATE_INPUT, 1), - (RETRIEVE_AND_GENERATE_CONFIGURATION, 0), - (RETRIEVE_AND_GENERATE_SESSION_CONFIGURATION, 0), - (USER_CONTEXT, 0), - ), -) - -RETRIEVE_AND_GENERATE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _RAGSI, - {_sSI: _cRAGSRo, _smithya: None}, - (_sIe, _in, _rAGC, _sCe, _uC), - ( - (SESSION_ID, 0), - (RETRIEVE_AND_GENERATE_INPUT, 1), - (RETRIEVE_AND_GENERATE_CONFIGURATION, 0), - (RETRIEVE_AND_GENERATE_SESSION_CONFIGURATION, 0), - (USER_CONTEXT, 0), - ), -) - -SESSION_STATE: StaticSchema = ( - 18, - n0, - _SSessi, - 0, - (_sAe, _pSA, _rCIR, _iI, _fil, _kBCn, _cH), - ( - (SESSION_ATTRIBUTES_MAP, 0), - (PROMPT_SESSION_ATTRIBUTES_MAP, 0), - (RETURN_CONTROL_INVOCATION_RESULTS, 0), - (3, 0), - (INPUT_FILES, 0), - (KNOWLEDGE_BASE_CONFIGURATIONS, 0), - (CONVERSATION_HISTORY, 0), - ), -) - -RETRIEVE_AND_GENERATE: StaticOperationSchema = ( - 23, - n0, - _RAG, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/retrieveAndGenerate"} - ) - }, - RETRIEVE_AND_GENERATE_OPERATION_INPUT, - RETRIEVE_AND_GENERATE_OPERATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RETRIEVE_AND_GENERATE_STREAM: StaticOperationSchema = ( - 23, - n0, - _RAGS, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/retrieveAndGenerateStream"} - ) - }, - RETRIEVE_AND_GENERATE_STREAM_INPUT, - RETRIEVE_AND_GENERATE_STREAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -COLLABORATORS: StaticSchema = (16, n0, _Col, 0, (_me,), ((COLLABORATOR, 0),)) - -INVOKE_AGENT_INPUT: StaticSchema = ( - 18, - n0, - _IAI, - {_sSI: _cIARo, _smithya: None}, - (_sSessi, _aI, _aAI, _sIe, _eS, _eTna, _iTnp, _mI, _bMC, _sCtr, _pCC, _sAo), - ( - (SESSION_STATE, 0), - (AGENT_ID, 9), - (AGENT_ALIAS_ID, 9), - (SESSION_ID, 9), - (2, 0), - (2, 0), - (INPUT_TEXT, 0), - (MEMORY_ID, 0), - (BEDROCK_MODEL_CONFIGURATIONS, 0), - (STREAMING_CONFIGURATIONS, 0), - (PROMPT_CREATION_CONFIGURATIONS, 0), - (AWS_RESOURCE_ARN, {_sH: _xasa}), - ), -) - -INVOKE_AGENT: StaticOperationSchema = ( - 23, - n0, - _IAn, - { - _smithyap: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/agents/{agentId}/agentAliases/{agentAliasId}/sessions/{sessionId}/text", - } - ) - }, - INVOKE_AGENT_INPUT, - INVOKE_AGENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - MODEL_NOT_READY_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INVOKE_INLINE_AGENT_INPUT: StaticSchema = ( - 18, - n0, - _IIAI, - {_sSI: _cIIARo, _smithya: None}, - ( - _cEKA, - _fM, - _ins, - _iSTTLIS, - _aGc, - _kBn, - _gC, - _pOC, - _aC, - _cCo, - _aN, - _sIe, - _eS, - _eTna, - _iTnp, - _sCtr, - _pCC, - _iSSn, - _col, - _bMC, - _oTrc, - _cOu, - ), - ( - (KMS_KEY_ARN, 0), - (MODEL_IDENTIFIER, 1), - (INSTRUCTION, 1), - (SESSION_TTL, 0), - (AGENT_ACTION_GROUPS, 0), - (KNOWLEDGE_BASES, 0), - (GUARDRAIL_CONFIGURATION_WITH_ARN, 0), - (PROMPT_OVERRIDE_CONFIGURATION, 0), - (AGENT_COLLABORATION, 0), - (COLLABORATOR_CONFIGURATIONS, 0), - (NAME, 0), - (SESSION_ID, 9), - (2, 0), - (2, 0), - (INPUT_TEXT, 0), - (STREAMING_CONFIGURATIONS, 0), - (PROMPT_CREATION_CONFIGURATIONS, 0), - (INLINE_SESSION_STATE, 0), - (COLLABORATORS, 0), - (INLINE_BEDROCK_MODEL_CONFIGURATIONS, 0), - (ORCHESTRATION_TYPE, 0), - (CUSTOM_ORCHESTRATION, 0), - ), -) - -INVOKE_INLINE_AGENT: StaticOperationSchema = ( - 23, - n0, - _IIA, - { - _smithyap: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/agents/{sessionId}"} - ) - }, - INVOKE_INLINE_AGENT_INPUT, - INVOKE_INLINE_AGENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AMAZON_BEDROCK_AGENT_RUN_TIME_SERVICE: StaticSchema = ( - 21, - n0, - _ABARTS, - { - _aw: MappingProxyType({"name": "bedrock"}), - _aws: MappingProxyType( - { - "sdkId": "Bedrock Agent Runtime", - "arnNamespace": "bedrock", - "endpointPrefix": "bedrock-agent-runtime", - "cloudTrailEventSource": "bedrock.amazonaws.com", - } - ), - _aJ: MappingProxyType( - {"http": ("h2", "http/1.1"), "eventStreamHttp": ("h2", "http/1.1")} - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "NON_BLANK_STRING", + "ACCESS_DENIED_EXCEPTION", + "CUSTOM_CONTROL_METHOD", + "LAMBDA_RESOURCE_ARN", + "ACTION_GROUP_EXECUTOR", + "ACTION_GROUP_NAME", + "API_PATH", + "EXECUTION_TYPE", + "FUNCTION", + "PARAMETER", + "PARAMETERS", + "CONTENT_MAP", + "REQUEST_BODY", + "VERB", + "ACTION_GROUP_INVOCATION_INPUT", + "DATE_TIMESTAMP", + "USAGE", + "METADATA", + "ACTION_GROUP_OUTPUT_STRING", + "ACTION_GROUP_INVOCATION_OUTPUT", + "ACTION_GROUP_SIGNATURE", + "ACTION_GROUP_SIGNATURE_PARAMS", + "ACTION_INVOCATION_TYPE", + "ADDITIONAL_MODEL_REQUEST_FIELDS_KEY", + "ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE", + "ADDITIONAL_MODEL_REQUEST_FIELDS", + "RESOURCE_NAME", + "PAYLOAD", + "S3_BUCKET_NAME", + "S3_OBJECT_KEY", + "S3_IDENTIFIER", + "API_SCHEMA", + "RESOURCE_DESCRIPTION", + "FUNCTION_DESCRIPTION", + "PARAMETER_NAME", + "PARAMETER_DESCRIPTION", + "PARAMETER_TYPE", + "PARAMETER_DETAIL", + "PARAMETER_MAP", + "REQUIRE_CONFIRMATION", + "FUNCTION_DEFINITION", + "FUNCTIONS", + "FUNCTION_SCHEMA", + "AGENT_ACTION_GROUP", + "AGENT_ACTION_GROUPS", + "AGENT_ALIAS_ARN", + "AGENT_ALIAS_ID", + "AGENT_COLLABORATION", + "CONFIRMATION_STATE", + "IMAGE_INPUT_FORMAT", + "IMAGE_INPUT_SOURCE", + "IMAGE_INPUT", + "IMAGE_INPUTS", + "CONTENT_BODY", + "RESPONSE_BODY", + "RESPONSE_STATE", + "API_RESULT", + "FUNCTION_RESULT", + "INVOCATION_RESULT_MEMBER", + "RETURN_CONTROL_INVOCATION_RESULTS", + "RETURN_CONTROL_RESULTS", + "AGENT_COLLABORATOR_PAYLOAD_STRING", + "PAYLOAD_TYPE", + "AGENT_COLLABORATOR_INPUT_PAYLOAD", + "AGENT_COLLABORATOR_INVOCATION_INPUT", + "NAME", + "API_PARAMETER", + "API_PARAMETERS", + "PARAMETER_LIST", + "PROPERTY_PARAMETERS", + "API_CONTENT_MAP", + "API_REQUEST_BODY", + "API_INVOCATION_INPUT", + "FUNCTION_PARAMETER", + "FUNCTION_PARAMETERS", + "FUNCTION_INVOCATION_INPUT", + "INVOCATION_INPUT_MEMBER", + "INVOCATION_INPUTS", + "RETURN_CONTROL_PAYLOAD", + "AGENT_COLLABORATOR_OUTPUT_PAYLOAD", + "AGENT_COLLABORATOR_INVOCATION_OUTPUT", + "AGENT_CORE_MEMORY_ACTOR_ID", + "AGENT_CORE_MEMORY_ID", + "AGENT_CORE_MEMORY_SESSION_ID", + "AGENTIC_RETRIEVE_SOURCE_RETRIEVER", + "AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT", + "AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT_LIST", + "AGENTIC_RETRIEVE_CODE_EXECUTION_DETAILS", + "AGENTIC_RETRIEVE_FULL_DOC_EXPANSION_DETAILS", + "AGENTIC_RETRIEVE_MESSAGE_CONTENT", + "AGENTIC_RETRIEVE_MEMORY_RETRIEVE_DETAILS", + "AGENTIC_RETRIEVE_SOURCE_RETRIEVER_LIST", + "AGENTIC_RETRIEVE_ACTION_DETAILS", + "AGENTIC_RETRIEVE_ACTION", + "AGENTIC_RETRIEVE_ACTIONS", + "RETRIEVAL_INSTRUCTION_ID", + "RETRIEVAL_INSTRUCTION_VERSION", + "AGENTIC_RETRIEVE_APPLIED_INSTRUCTION", + "AGENTIC_RETRIEVE_BEDROCK_GUARDRAIL_CONFIGURATION", + "BEDROCK_MODEL_ARN", + "AGENTIC_RETRIEVE_BEDROCK_RERANKING_MODEL_CONFIGURATION", + "AGENTIC_RETRIEVE_BEDROCK_RERANKING_CONFIGURATION", + "AGENTIC_RETRIEVE_CITATION_REFERENCE", + "AGENTIC_RETRIEVE_CITATION_REFERENCE_LIST", + "AGENTIC_RETRIEVE_CITATION", + "AGENTIC_RETRIEVE_CITATION_LIST", + "KMS_KEY_ARN", + "TAG_KEY", + ), + ( + "BEDROCK_FOUNDATION_MODEL_MODEL_CONFIGURATION", + "BEDROCK_FOUNDATION_MODEL_CONFIGURATION", + "MANTLE_PROJECT_ID", + "MANTLE_FOUNDATION_MODEL_MODEL_CONFIGURATION", + "MANTLE_FOUNDATION_MODEL_CONFIGURATION", + "FOUNDATION_MODEL_CONFIGURATION_TYPE", + "FOUNDATION_MODEL_CONFIGURATION", + "FOUNDATION_MODEL_TYPE", + "AGENTIC_RETRIEVE_RERANKING_CONFIGURATION_TYPE", + "AGENTIC_RETRIEVE_RERANKING_CONFIGURATION", + "AGENTIC_RETRIEVE_RERANKING_MODEL_TYPE", + "AGENTIC_RETRIEVE_CONFIGURATION", + "AGENTIC_RETRIEVE_FAILURE", + "AGENTIC_RETRIEVE_FAILURES", + "AGENTIC_RETRIEVE_GENERATED_RESPONSE", + "GUARDRAIL_ACTION", + "AGENTIC_RETRIEVE_GUARDRAIL_WARNING", + "AGENTIC_RETRIEVE_INSTRUCTION_CONFIGURATION", + "AGENTIC_RETRIEVE_MEMORY_PERSISTENCE_MODE", + "AGENTIC_RETRIEVE_MEMORY_METADATA_KEY", + "AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LEFT", + "AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_OPERATOR", + "AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST_ITEM", + "AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST", + "AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_VALUE", + "AGENTIC_RETRIEVE_MEMORY_METADATA_VALUE", + "AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_RIGHT", + "AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER", + "AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LIST", + "MEMORY_NAMESPACE", + "MEMORY_STRATEGY_ID", + "AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG", + "AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG_LIST", + "AGENTIC_RETRIEVE_MEMORY_SESSION_BINDING", + "AGENTIC_RETRIEVE_MEMORY_CONFIGURATION", + "CONVERSATION_ROLE", + "AGENTIC_RETRIEVE_MESSAGE", + "AGENTIC_RETRIEVE_MESSAGES", + "AGENTIC_RETRIEVE_METADATA", + "AGENTIC_RETRIEVE_POLICY_CONFIGURATION", + "KNOWLEDGE_BASE_ID", + "FILTER_KEY", + "FILTER_VALUE", + "FILTER_ATTRIBUTE", + "AGENTIC_RETRIEVE_RESPONSE_EVENT", + "NEXT_TOKEN", + "MIME_TYPE", + "RETRIEVAL_CONTENT", + "AGENTIC_RETRIEVE_RESULT_ITEM", + "AGENTIC_RETRIEVE_RESULTS", + "AGENTIC_RETRIEVE_RESULT_EVENT", + "AGENTIC_RETRIEVE_TYPE", + "AGENTIC_RETRIEVE_SOURCE_METADATA", + "AGENTIC_RETRIEVE_SOURCE_METADATA_LIST", + "AGENTIC_RETRIEVE_STATUS", + "AGENTIC_RETRIEVE_STEP", + "USER_CONTEXT", + "BAD_GATEWAY_EXCEPTION", + "CONFLICT_EXCEPTION", + "DEPENDENCY_FAILED_EXCEPTION", + "INTERNAL_SERVER_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "THROTTLING_EXCEPTION", + "AGENTIC_RETRIEVE_TRACE_RESULT_ITEM", + "AGENTIC_RETRIEVE_TRACE_RESULTS", + "AGENTIC_RETRIEVE_WARNING_MESSAGE", + "AGENTIC_RETRIEVE_WARNING", + "AGENTIC_RETRIEVE_WARNINGS", + "AGENTIC_RETRIEVE_TRACE_EVENT_ATTRIBUTES", + "AGENTIC_RETRIEVE_TRACE_EVENT", + "VALIDATION_EXCEPTION", + "AGENTIC_RETRIEVE_STREAM_RESPONSE_OUTPUT", + "AGENTIC_RETRIEVE_STREAM_OUTPUT", + "AGENTIC_RETRIEVE_STREAM_INPUT", + "AGENTIC_RETRIEVE_STREAM", + "AGENT_ID", + "AGENT_VERSION", + "CALLER", + "CALLER_CHAIN", + "SESSION_ID", + "CUSTOM_ORCHESTRATION_TRACE_EVENT", + "TRACE_ID", + "CUSTOM_ORCHESTRATION_TRACE", + "FAILURE_REASON_STRING", + "FAILURE_TRACE", + "GUARDRAIL_CONTENT_POLICY_ACTION", + "GUARDRAIL_CONTENT_FILTER_CONFIDENCE", + "GUARDRAIL_CONTENT_FILTER_TYPE", + "MAX_RESULTS", + ), + ( + "GUARDRAIL_CONTENT_FILTER", + "GUARDRAIL_CONTENT_FILTER_LIST", + "GUARDRAIL_CONTENT_POLICY_ASSESSMENT", + "GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION", + "GUARDRAIL_PII_ENTITY_TYPE", + "GUARDRAIL_PII_ENTITY_FILTER", + "GUARDRAIL_PII_ENTITY_FILTER_LIST", + "GUARDRAIL_REGEX_FILTER", + "GUARDRAIL_REGEX_FILTER_LIST", + "GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT", + "GUARDRAIL_TOPIC_POLICY_ACTION", + "GUARDRAIL_TOPIC_TYPE", + "GUARDRAIL_TOPIC", + "GUARDRAIL_TOPIC_LIST", + "GUARDRAIL_TOPIC_POLICY_ASSESSMENT", + "GUARDRAIL_WORD_POLICY_ACTION", + "GUARDRAIL_CUSTOM_WORD", + "GUARDRAIL_CUSTOM_WORD_LIST", + "GUARDRAIL_MANAGED_WORD_TYPE", + "GUARDRAIL_MANAGED_WORD", + "GUARDRAIL_MANAGED_WORD_LIST", + "GUARDRAIL_WORD_POLICY_ASSESSMENT", + "GUARDRAIL_ASSESSMENT", + "GUARDRAIL_ASSESSMENT_LIST", + "GUARDRAIL_TRACE", + "FILES", + "CODE_INTERPRETER_INVOCATION_INPUT", + "INVOCATION_TYPE", + "TRACE_KNOWLEDGE_BASE_ID", + "KNOWLEDGE_BASE_LOOKUP_INPUT_STRING", + "KNOWLEDGE_BASE_LOOKUP_INPUT", + "INVOCATION_INPUT", + "MODEL_IDENTIFIER", + "MAXIMUM_LENGTH", + "STOP_SEQUENCES", + "TEMPERATURE", + "TOP_K", + "TOP_P", + "INFERENCE_CONFIGURATION", + "LAMBDA_ARN", + "CREATION_MODE", + "PROMPT_TEXT", + "PROMPT_TYPE", + "MODEL_INVOCATION_INPUT", + "RAW_RESPONSE", + "REASONING_TEXT_BLOCK", + "REASONING_CONTENT_BLOCK", + "ORCHESTRATION_MODEL_INVOCATION_OUTPUT", + "CODE_INTERPRETER_INVOCATION_OUTPUT", + "FINAL_RESPONSE_STRING", + "FINAL_RESPONSE", + "AUDIO_SEGMENT", + "RETRIEVAL_RESULT_CONTENT_COLUMN_TYPE", + "RETRIEVAL_RESULT_CONTENT_COLUMN", + "RETRIEVAL_RESULT_CONTENT_ROW", + "RETRIEVAL_RESULT_CONTENT_TYPE", + "VIDEO_SEGMENT", + "RETRIEVAL_RESULT_CONTENT", + "RETRIEVAL_RESULT_CONFLUENCE_LOCATION", + "RETRIEVAL_RESULT_CUSTOM_DOCUMENT_LOCATION", + "RETRIEVAL_RESULT_GOOGLE_DRIVE_LOCATION", + "RETRIEVAL_RESULT_KENDRA_DOCUMENT_LOCATION", + "RETRIEVAL_RESULT_ONE_DRIVE_LOCATION", + "RETRIEVAL_RESULT_S3_LOCATION", + "RETRIEVAL_RESULT_SALESFORCE_LOCATION", + "RETRIEVAL_RESULT_SHARE_POINT_LOCATION", + "RETRIEVAL_RESULT_SQL_LOCATION", + "RETRIEVAL_RESULT_LOCATION_TYPE", + "RETRIEVAL_RESULT_WEB_LOCATION", + "RETRIEVAL_RESULT_LOCATION", + "RETRIEVAL_RESULT_METADATA_KEY", + "RETRIEVAL_RESULT_METADATA_VALUE", + "RETRIEVAL_RESULT_METADATA", + "RETRIEVED_REFERENCE", + "RETRIEVED_REFERENCES", + "KNOWLEDGE_BASE_LOOKUP_OUTPUT", + "SOURCE", + "REPROMPT_RESPONSE", + "TYPE", + "OBSERVATION", + "RATIONALE_STRING", + "RATIONALE", + "ORCHESTRATION_TRACE", + "OUTPUT_STRING", + ), + ( + "POST_PROCESSING_PARSED_RESPONSE", + "POST_PROCESSING_MODEL_INVOCATION_OUTPUT", + "POST_PROCESSING_TRACE", + "PRE_PROCESSING_PARSED_RESPONSE", + "PRE_PROCESSING_MODEL_INVOCATION_OUTPUT", + "PRE_PROCESSING_TRACE", + "ROUTING_CLASSIFIER_MODEL_INVOCATION_OUTPUT", + "ROUTING_CLASSIFIER_TRACE", + "TRACE", + "TRACE_PART", + "AGENT_TRACES", + "DATA_SOURCE_ID", + "DOCUMENT_ID", + "KNOWLEDGE_BASE_IDENTIFIER", + "CHECK_INGESTED_DOCUMENT_ACL_INPUT", + "CHECK_INGESTED_DOCUMENT_ACL_OUTPUT", + "CHECK_INGESTED_DOCUMENT_ACL", + "FLOW_EXECUTION_IDENTIFIER", + "FLOW_ALIAS_IDENTIFIER", + "FLOW_IDENTIFIER", + "GET_EXECUTION_FLOW_SNAPSHOT_INPUT", + "GET_EXECUTION_FLOW_SNAPSHOT_OUTPUT", + "GET_EXECUTION_FLOW_SNAPSHOT", + "FLOW_EXECUTION_ROLE_ARN", + "VERSION", + "GET_FLOW_EXECUTION_INPUT", + "GET_FLOW_EXECUTION_OUTPUT", + "GET_FLOW_EXECUTION", + "FLOW_EXECUTION_ERROR_TYPE", + "NODE_NAME", + "FLOW_EXECUTION_ERROR", + "FLOW_EXECUTION_ERRORS", + "FLOW_EXECUTION_STATUS", + "FLOW_EXECUTION_EVENT_TYPE", + "LIST_FLOW_EXECUTION_EVENTS_INPUT", + "LIST_FLOW_EXECUTION_EVENTS_OUTPUT", + "LIST_FLOW_EXECUTION_EVENTS", + "SATISFIED_CONDITION", + "SATISFIED_CONDITIONS", + "CONDITION_RESULT_EVENT", + "FLOW_ERROR_CODE", + "FLOW_FAILURE_EVENT", + "FLOW_EXECUTION_CONTENT", + "NODE_INPUT_NAME", + "FLOW_INPUT_FIELD", + "FLOW_INPUT_FIELDS", + "FLOW_EXECUTION_INPUT_EVENT", + "NODE_OUTPUT_NAME", + "FLOW_OUTPUT_FIELD", + "FLOW_OUTPUT_FIELDS", + "FLOW_EXECUTION_OUTPUT_EVENT", + "NODE_ACTION_EVENT", + "NODE_TRACE_ELEMENTS", + "NODE_DEPENDENCY_EVENT", + "NODE_ERROR_CODE", + "NODE_FAILURE_EVENT", + "FLOW_NODE_INPUT_CATEGORY", + "NODE_EXECUTION_CONTENT", + "FLOW_CONTROL_NODE_TYPE", + "NODE_INPUT_EXECUTION_CHAIN_ITEM", + "NODE_INPUT_EXECUTION_CHAIN", + "FLOW_NODE_INPUT_EXPRESSION", + "FLOW_NODE_OUTPUT_NAME", + "NODE_INPUT_SOURCE", + "FLOW_NODE_IO_DATA_TYPE", + "NODE_INPUT_FIELD", + "NODE_INPUT_FIELDS", + "NODE_INPUT_EVENT", + "FLOW_NODE_INPUT_NAME", + "NODE_OUTPUT_NEXT", + "NODE_OUTPUT_NEXT_LIST", + "NODE_OUTPUT_FIELD", + "NODE_OUTPUT_FIELDS", + "NODE_OUTPUT_EVENT", + "FLOW_EXECUTION_EVENT", + "FLOW_EXECUTION_EVENTS", + "LIST_FLOW_EXECUTIONS_INPUT", + "LIST_FLOW_EXECUTIONS_OUTPUT", + "LIST_FLOW_EXECUTIONS", + "FLOW_EXECUTION_SUMMARY", + "FLOW_EXECUTION_SUMMARIES", + "FLOW_EXECUTION_NAME", + "FLOW_INPUT_CONTENT", + ), + ( + "FLOW_INPUT", + "FLOW_INPUTS", + "PERFORMANCE_CONFIG_LATENCY", + "PERFORMANCE_CONFIGURATION", + "MODEL_PERFORMANCE_CONFIGURATION", + "START_FLOW_EXECUTION_INPUT", + "START_FLOW_EXECUTION_OUTPUT", + "START_FLOW_EXECUTION", + "STOP_FLOW_EXECUTION_INPUT", + "STOP_FLOW_EXECUTION_OUTPUT", + "STOP_FLOW_EXECUTION", + "FLOW_EXECUTION_ID", + "INVOKE_FLOW_INPUT", + "INVOKE_FLOW_OUTPUT", + "INVOKE_FLOW", + "FLOW_COMPLETION_REASON", + "FLOW_COMPLETION_EVENT", + "FLOW_MULTI_TURN_INPUT_CONTENT", + "NODE_TYPE", + "FLOW_MULTI_TURN_INPUT_REQUEST_EVENT", + "FLOW_OUTPUT_CONTENT", + "FLOW_OUTPUT_EVENT", + "FLOW_TRACE_CONDITION", + "FLOW_TRACE_CONDITIONS", + "FLOW_TRACE_CONDITION_NODE_RESULT_EVENT", + "FLOW_TRACE_NODE_ACTION_EVENT", + "TRACE_ELEMENTS", + "FLOW_TRACE_DEPENDENCY_EVENT", + "FLOW_TRACE_NODE_INPUT_CONTENT", + "FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN_ITEM", + "FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN", + "FLOW_TRACE_NODE_INPUT_SOURCE", + "FLOW_TRACE_NODE_INPUT_FIELD", + "FLOW_TRACE_NODE_INPUT_FIELDS", + "FLOW_TRACE_NODE_INPUT_EVENT", + "FLOW_TRACE_NODE_OUTPUT_CONTENT", + "FLOW_TRACE_NODE_OUTPUT_NEXT", + "FLOW_TRACE_NODE_OUTPUT_NEXT_LIST", + "FLOW_TRACE_NODE_OUTPUT_FIELD", + "FLOW_TRACE_NODE_OUTPUT_FIELDS", + "FLOW_TRACE_NODE_OUTPUT_EVENT", + "FLOW_TRACE", + "FLOW_TRACE_EVENT", + "FLOW_RESPONSE_STREAM", + "INPUT_QUERY_TYPE", + "QUERY_GENERATION_INPUT", + "QUERY_TRANSFORMATION_MODE", + "KNOWLEDGE_BASE_ARN", + "TEXT_TO_SQL_KNOWLEDGE_BASE_CONFIGURATION", + "TEXT_TO_SQL_CONFIGURATION_TYPE", + "TEXT_TO_SQL_CONFIGURATION", + "TRANSFORMATION_CONFIGURATION", + "GENERATE_QUERY_INPUT", + "GENERATE_QUERY_OUTPUT", + "GENERATE_QUERY", + "GENERATED_QUERY_TYPE", + "GENERATED_QUERY", + "GENERATED_QUERIES", + "MEDIA_ID", + "DOCUMENT_OUTPUT_FORMAT", + "GET_DOCUMENT_CONTENT_INPUT", + "GET_DOCUMENT_CONTENT_OUTPUT", + "GET_DOCUMENT_CONTENT", + "PRESIGNED_URL", + "GET_INGESTED_DOCUMENT_ACL_INPUT", + "GET_INGESTED_DOCUMENT_ACL_OUTPUT", + "GET_INGESTED_DOCUMENT_ACL", + "DOCUMENT_ACL_MEMBER_RELATION", + "DOCUMENT_ACL_MEMBERSHIP_TYPE", + "DOCUMENT_ACL_GROUP", + "DOCUMENT_ACL_GROUP_LIST", + "DOCUMENT_ACL_USER", + "DOCUMENT_ACL_USER_LIST", + "DOCUMENT_ACL_CONDITION", + "DOCUMENT_ACL_CONDITION_LIST", + "DOCUMENT_ACL_MEMBERSHIP", + "DOCUMENT_ACL", + "BEDROCK_MODEL_CONFIGURATIONS", + "INPUT_TEXT", + "PROMPT_CREATION_CONFIGURATIONS", + "CONTENT_BLOCK", + "CONTENT_BLOCKS", + "MESSAGE", + "MESSAGES", + "CONVERSATION_HISTORY", + ), + ( + "MEMORY_ID", + "BYTE_CONTENT_BLOB", + "BYTE_CONTENT_FILE", + "S3_OBJECT_FILE", + "FILE_SOURCE_TYPE", + "FILE_SOURCE", + "FILE_USE_CASE", + "INPUT_FILE", + "INPUT_FILES", + "RERANKING_METADATA_SELECTION_MODE", + "FIELD_FOR_RERANKING", + "FIELDS_FOR_RERANKING", + "RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION", + "METADATA_CONFIGURATION_FOR_RERANKING", + "BEDROCK_RERANKING_MODEL_ARN", + "MANAGED_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION", + "MANAGED_SEARCH_BEDROCK_RERANKING_CONFIGURATION", + "MANAGED_SEARCH_RERANKING_CONFIGURATION_TYPE", + "MANAGED_SEARCH_RERANKING_CONFIGURATION", + "RERANKING_MODEL_TYPE", + "ATTRIBUTE_TYPE", + "METADATA_ATTRIBUTE_SCHEMA", + "METADATA_ATTRIBUTE_SCHEMA_LIST", + "IMPLICIT_FILTER_CONFIGURATION", + "SEARCH_TYPE", + "VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION", + "VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION", + "VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE", + "VECTOR_SEARCH_RERANKING_CONFIGURATION", + "PROMPT_SESSION_ATTRIBUTES_MAP", + "SESSION_ATTRIBUTES_MAP", + "AWS_RESOURCE_ARN", + "STREAMING_CONFIGURATIONS", + "SPAN", + "TEXT_RESPONSE_PART", + "GENERATED_RESPONSE_PART", + "CITATION", + "CITATIONS", + "ATTRIBUTION", + "PART_BODY", + "PAYLOAD_PART", + "FILE_BODY", + "OUTPUT_FILE", + "OUTPUT_FILES", + "FILE_PART", + "MODEL_NOT_READY_EXCEPTION", + "RESPONSE_STREAM", + "INVOKE_AGENT_OUTPUT", + "INVOKE_AGENT_INPUT", + "INVOKE_AGENT", + "INLINE_BEDROCK_MODEL_CONFIGURATIONS", + "COLLABORATION_INSTRUCTION", + "RELAY_CONVERSATION_HISTORY", + "COLLABORATOR_CONFIGURATION", + "COLLABORATOR_CONFIGURATIONS", + "GUARDRAIL_IDENTIFIER_WITH_ARN", + "GUARDRAIL_VERSION", + "GUARDRAIL_CONFIGURATION_WITH_ARN", + "SESSION_TTL", + "INSTRUCTION", + "BASE_PROMPT_TEMPLATE", + "PROMPT_STATE", + "PROMPT_CONFIGURATION", + "PROMPT_CONFIGURATIONS", + "PROMPT_OVERRIDE_CONFIGURATION", + "ORCHESTRATION_EXECUTOR", + "CUSTOM_ORCHESTRATION", + "INLINE_SESSION_STATE", + "ORCHESTRATION_TYPE", + "INLINE_AGENT_PAYLOAD_PART", + "INLINE_AGENT_FILE_PART", + "INLINE_AGENT_RETURN_CONTROL_PAYLOAD", + "INLINE_AGENT_TRACE_PART", + "INLINE_AGENT_RESPONSE_STREAM", + "INVOKE_INLINE_AGENT_OUTPUT", + "INVOKE_INLINE_AGENT_INPUT", + "INVOKE_INLINE_AGENT", + "DELETE_AGENT_MEMORY_INPUT", + "DELETE_AGENT_MEMORY_OUTPUT", + "DELETE_AGENT_MEMORY", + "MEMORY_TYPE", + ), + ( + "GET_AGENT_MEMORY_INPUT", + "GET_AGENT_MEMORY_OUTPUT", + "GET_AGENT_MEMORY", + "SUMMARY_TEXT", + "MEMORY_SESSION_SUMMARY", + "MEMORY", + "MEMORIES", + "TEXT_PROMPT", + "INPUT_PROMPT", + "OPTIMIZE_PROMPT_INPUT", + "OPTIMIZE_PROMPT_OUTPUT", + "OPTIMIZE_PROMPT", + "ANALYZE_PROMPT_EVENT", + "OPTIMIZED_PROMPT", + "OPTIMIZED_PROMPT_EVENT", + "OPTIMIZED_PROMPT_STREAM", + "RERANK_TEXT_DOCUMENT", + "RERANK_QUERY_CONTENT_TYPE", + "RERANK_QUERY", + "RERANK_QUERIES_LIST", + "BEDROCK_RERANKING_MODEL_CONFIGURATION", + "BEDROCK_RERANKING_CONFIGURATION", + "RERANKING_CONFIGURATION_TYPE", + "RERANKING_CONFIGURATION", + "RERANK_DOCUMENT_TYPE", + "RERANK_DOCUMENT", + "RERANK_SOURCE_TYPE", + "RERANK_SOURCE", + "RERANK_SOURCES_LIST", + "RERANK_INPUT", + "RERANK_OUTPUT", + "RERANK", + "RERANK_RESULT", + "RERANK_RESULTS_LIST", + "RETRIEVE_AND_GENERATE_INPUT", + "GUARDRAIL_CONFIGURATION", + "MAX_TOKENS", + "RAG_STOP_SEQUENCES", + "TEXT_INFERENCE_CONFIG", + "INFERENCE_CONFIG", + "TEXT_PROMPT_TEMPLATE", + "PROMPT_TEMPLATE", + "EXTERNAL_SOURCES_GENERATION_CONFIGURATION", + "CONTENT_TYPE", + "IDENTIFIER", + "BYTE_CONTENT_DOC", + "S3_OBJECT_DOC", + "EXTERNAL_SOURCE_TYPE", + "EXTERNAL_SOURCE", + "EXTERNAL_SOURCES", + "EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION", + "GENERATION_CONFIGURATION", + "QUERY_TRANSFORMATION_TYPE", + "QUERY_TRANSFORMATION_CONFIGURATION", + "ORCHESTRATION_CONFIGURATION", + "RETRIEVE_AND_GENERATE_TYPE", + "RETRIEVE_AND_GENERATE_SESSION_CONFIGURATION", + "GUADRAIL_ACTION", + "RETRIEVE_AND_GENERATE_OUTPUT", + "RETRIEVE_AND_GENERATE_OPERATION_OUTPUT", + "RETRIEVE_AND_GENERATE_OPERATION_INPUT", + "RETRIEVE_AND_GENERATE", + "CITATION_EVENT", + "GUARDRAIL_EVENT", + "RETRIEVE_AND_GENERATE_OUTPUT_EVENT", + "RETRIEVE_AND_GENERATE_STREAM_RESPONSE_OUTPUT", + "RETRIEVE_AND_GENERATE_STREAM_OUTPUT", + "RETRIEVE_AND_GENERATE_STREAM_INPUT", + "RETRIEVE_AND_GENERATE_STREAM", + "INPUT_IMAGE_FORMAT", + "INPUT_IMAGE", + "KNOWLEDGE_BASE_QUERY_TYPE", + "KNOWLEDGE_BASE_QUERY", + "KNOWLEDGE_BASE_RETRIEVAL_RESULT", + "KNOWLEDGE_BASE_RETRIEVAL_RESULTS", + "RETRIEVE_OUTPUT", + "RETRIEVE_INPUT", + "RETRIEVE", + "SESSION_METADATA_KEY", + "SESSION_METADATA_VALUE", + "SESSION_METADATA_MAP", + "TAG_VALUE", + "TAGS_MAP", + "CREATE_SESSION_INPUT", + "CREATE_SESSION_OUTPUT", + "CREATE_SESSION", + ), + ( + "S3_URI", + "SESSION_ARN", + "UUID", + "SESSION_STATUS", + "SESSION_IDENTIFIER", + "DELETE_SESSION_INPUT", + "DELETE_SESSION_OUTPUT", + "DELETE_SESSION", + "END_SESSION_INPUT", + "END_SESSION_OUTPUT", + "END_SESSION", + "GET_SESSION_INPUT", + "GET_SESSION_OUTPUT", + "GET_SESSION", + "INVOCATION_DESCRIPTION", + "CREATE_INVOCATION_INPUT", + "CREATE_INVOCATION_OUTPUT", + "CREATE_INVOCATION", + "INVOCATION_IDENTIFIER", + "LIST_INVOCATIONS_INPUT", + "LIST_INVOCATIONS_OUTPUT", + "LIST_INVOCATIONS", + "INVOCATION_SUMMARY", + "INVOCATION_SUMMARIES", + "GET_INVOCATION_STEP_INPUT", + "GET_INVOCATION_STEP_OUTPUT", + "GET_INVOCATION_STEP", + "IMAGE_FORMAT", + "S3_LOCATION", + "IMAGE_SOURCE", + "IMAGE_BLOCK", + "BEDROCK_SESSION_CONTENT_BLOCK", + "BEDROCK_SESSION_CONTENT_BLOCKS", + "INVOCATION_STEP_PAYLOAD", + "INVOCATION_STEP", + "LIST_INVOCATION_STEPS_INPUT", + "LIST_INVOCATION_STEPS_OUTPUT", + "LIST_INVOCATION_STEPS", + "INVOCATION_STEP_SUMMARY", + "INVOCATION_STEP_SUMMARIES", + "PUT_INVOCATION_STEP_INPUT", + "PUT_INVOCATION_STEP_OUTPUT", + "PUT_INVOCATION_STEP", + "LIST_SESSIONS_INPUT", + "LIST_SESSIONS_OUTPUT", + "LIST_SESSIONS", + "SESSION_SUMMARY", + "SESSION_SUMMARIES", + "UPDATE_SESSION_INPUT", + "UPDATE_SESSION_OUTPUT", + "UPDATE_SESSION", + "TAGGABLE_RESOURCES_ARN", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "RETRIEVAL_FILTER", + "RETRIEVAL_FILTER_LIST", + "KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION", + "MANAGED_SEARCH_CONFIGURATION", + "RETRIEVAL_OVERRIDES", + "KNOWLEDGE_BASE_RETRIEVER_CONFIGURATION", + "RETRIEVER_CONFIGURATION", + "AGENTIC_RETRIEVER", + "AGENTIC_RETRIEVERS", + "KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION", + "KNOWLEDGE_BASE", + "KNOWLEDGE_BASE_CONFIGURATION", + "KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION", + "KNOWLEDGE_BASE_CONFIGURATIONS", + "KNOWLEDGE_BASES", + "RETRIEVE_AND_GENERATE_CONFIGURATION", + "COLLABORATOR", + "SESSION_STATE", + "COLLABORATORS", + "AMAZON_BEDROCK_AGENT_RUN_TIME_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_0.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_0.py new file mode 100644 index 000000000..46d142886 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_0.py @@ -0,0 +1,981 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticSchema + + +n0 = "com.amazonaws.bedrockagentruntime" +_NBS = "NonBlankString" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_CCM = "CustomControlMethod" +_RC = "RETURN_CONTROL" +_sV = "smithy.api#enumValue" +_LRA = "LambdaResourceArn" +_AGE = "ActionGroupExecutor" +_l = "lambda" +_cC = "customControl" +_AGN = "ActionGroupName" +_sm = "smithy.api#sensitive" +_AP = "ApiPath" +_ET = "ExecutionType" +_LAMBDA = "LAMBDA" +_F = "Function" +_P = "Parameter" +_n = "name" +_t = "type" +_v = "value" +_Pa = "Parameters" +_me = "member" +_CM = "ContentMap" +_k = "key" +_RB = "RequestBody" +_co = "content" +_V = "Verb" +_AGII = "ActionGroupInvocationInput" +_aGN = "actionGroupName" +_ve = "verb" +_aP = "apiPath" +_p = "parameters" +_rB = "requestBody" +_f = "function" +_eT = "executionType" +_iI = "invocationId" +_DT = "DateTimestamp" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_U = "Usage" +_iT = "inputTokens" +_oT = "outputTokens" +_M = "Metadata" +_sT = "startTime" +_eTn = "endTime" +_tTM = "totalTimeMs" +_oTTM = "operationTotalTimeMs" +_cRI = "clientRequestId" +_u = "usage" +_AGOS = "ActionGroupOutputString" +_AGIO = "ActionGroupInvocationOutput" +_te = "text" +_met = "metadata" +_AGS = "ActionGroupSignature" +_AU = "AMAZON_USERINPUT" +_AMAZONUI = "AMAZON.UserInput" +_AC = "AMAZON_CODEINTERPRETER" +_AMAZONCI = "AMAZON.CodeInterpreter" +_AC_ = "ANTHROPIC_COMPUTER" +_ANTHROPICC = "ANTHROPIC.Computer" +_AB = "ANTHROPIC_BASH" +_ANTHROPICB = "ANTHROPIC.Bash" +_AT = "ANTHROPIC_TEXTEDITOR" +_ANTHROPICTE = "ANTHROPIC.TextEditor" +_AGSP = "ActionGroupSignatureParams" +_AIT = "ActionInvocationType" +_RESULT = "RESULT" +_UC = "USER_CONFIRMATION" +_UCAR = "USER_CONFIRMATION_AND_RESULT" +_AMRFK = "AdditionalModelRequestFieldsKey" +_AMRFV = "AdditionalModelRequestFieldsValue" +_AMRF = "AdditionalModelRequestFields" +_RN = "ResourceName" +_Pay = "Payload" +_SBN = "S3BucketName" +_SOK = "S3ObjectKey" +_SI = "S3Identifier" +_sBN = "s3BucketName" +_sOK = "s3ObjectKey" +_APIS = "APISchema" +_s_ = "s3" +_pa = "payload" +_RD = "ResourceDescription" +_FD = "FunctionDescription" +_PN = "ParameterName" +_PD = "ParameterDescription" +_PT = "ParameterType" +_STRING = "STRING" +_st = "string" +_NUMBER = "NUMBER" +_nu = "number" +_INTEGER = "INTEGER" +_i = "integer" +_BOOLEAN = "BOOLEAN" +_b = "boolean" +_ARRAY = "ARRAY" +_a = "array" +_PDa = "ParameterDetail" +_d = "description" +_smi = "smithy.api#required" +_r = "required" +_PM = "ParameterMap" +_RCe = "RequireConfirmation" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_FDu = "FunctionDefinition" +_rC = "requireConfirmation" +_Fu = "Functions" +_FS = "FunctionSchema" +_fu = "functions" +_AAG = "AgentActionGroup" +_pAGS = "parentActionGroupSignature" +_aGE = "actionGroupExecutor" +_aS = "apiSchema" +_fS = "functionSchema" +_pAGSP = "parentActionGroupSignatureParams" +_AAGg = "AgentActionGroups" +_AAA = "AgentAliasArn" +_AAI = "AgentAliasId" +_ACg = "AgentCollaboration" +_SUPERVISOR = "SUPERVISOR" +_SR = "SUPERVISOR_ROUTER" +_CS = "ConfirmationState" +_CONFIRM = "CONFIRM" +_DENY = "DENY" +_IIF = "ImageInputFormat" +_PNG = "PNG" +_pn = "png" +_JPEG = "JPEG" +_j = "jpeg" +_GIF = "GIF" +_g = "gif" +_WEBP = "WEBP" +_w = "webp" +_IIS = "ImageInputSource" +_by = "bytes" +_II = "ImageInput" +_fo = "format" +_so = "source" +_IIm = "ImageInputs" +_CB = "ContentBody" +_bo = "body" +_im = "images" +_RBe = "ResponseBody" +_RS = "ResponseState" +_FAILURE = "FAILURE" +_REPROMPT = "REPROMPT" +_AR = "ApiResult" +_aG = "actionGroup" +_hM = "httpMethod" +_cS = "confirmationState" +_rS = "responseState" +_hSC = "httpStatusCode" +_rBe = "responseBody" +_aI = "agentId" +_FR = "FunctionResult" +_IRM = "InvocationResultMember" +_aR = "apiResult" +_fR = "functionResult" +_RCIR = "ReturnControlInvocationResults" +_RCR = "ReturnControlResults" +_rCIR = "returnControlInvocationResults" +_ACPS = "AgentCollaboratorPayloadString" +_PTa = "PayloadType" +_TEXT = "TEXT" +_ACIP = "AgentCollaboratorInputPayload" +_rCR = "returnControlResults" +_ACII = "AgentCollaboratorInvocationInput" +_aCN = "agentCollaboratorName" +_aCAA = "agentCollaboratorAliasArn" +_in = "input" +_N = "Name" +_APp = "ApiParameter" +_APpi = "ApiParameters" +_PL = "ParameterList" +_PP = "PropertyParameters" +_pr = "properties" +_ACM = "ApiContentMap" +_ARB = "ApiRequestBody" +_AII = "ApiInvocationInput" +_aIT = "actionInvocationType" +_cN = "collaboratorName" +_FP = "FunctionParameter" +_FPu = "FunctionParameters" +_FII = "FunctionInvocationInput" +_IIM = "InvocationInputMember" +_aII = "apiInvocationInput" +_fII = "functionInvocationInput" +_IIn = "InvocationInputs" +_RCP = "ReturnControlPayload" +_iIn = "invocationInputs" +_ACOP = "AgentCollaboratorOutputPayload" +_rCP = "returnControlPayload" +_ACIO = "AgentCollaboratorInvocationOutput" +_o = "output" +_ACMAI = "AgentCoreMemoryActorId" +_ACMI = "AgentCoreMemoryId" +_ACMSI = "AgentCoreMemorySessionId" +_ARSR = "AgenticRetrieveSourceRetriever" +_id = "identifier" +_ARCED = "AgenticRetrieveCodeExecutionDocument" +_dI = "documentId" +_sR = "sourceRetriever" +_ARCEDL = "AgenticRetrieveCodeExecutionDocumentList" +_ARCEDg = "AgenticRetrieveCodeExecutionDetails" +_do = "documents" +_ARFDED = "AgenticRetrieveFullDocExpansionDetails" +_ARMC = "AgenticRetrieveMessageContent" +_ARMRD = "AgenticRetrieveMemoryRetrieveDetails" +_iQ = "inputQuery" +_mI = "memoryId" +_na = "namespace" +_nP = "namespacePath" +_sI = "strategyId" +_ARSRL = "AgenticRetrieveSourceRetrieverList" +_ARAD = "AgenticRetrieveActionDetails" +_sRo = "sourceRetrievers" +_ARA = "AgenticRetrieveAction" +_re = "retrieve" +_fDE = "fullDocumentExpansion" +_mR = "memoryRetrieve" +_cE = "codeExecution" +_ARAg = "AgenticRetrieveActions" +_RII = "RetrievalInstructionId" +_RIV = "RetrievalInstructionVersion" +_ARAI = "AgenticRetrieveAppliedInstruction" +_id_ = "id" +_ver = "version" +_ARBGC = "AgenticRetrieveBedrockGuardrailConfiguration" +_gI = "guardrailId" +_gV = "guardrailVersion" +_BMA = "BedrockModelArn" +_ARBRMC = "AgenticRetrieveBedrockRerankingModelConfiguration" +_mA = "modelArn" +_ARBRC = "AgenticRetrieveBedrockRerankingConfiguration" +_mC = "modelConfiguration" +_ARCR = "AgenticRetrieveCitationReference" +_rI = "resultIndex" +_ARCRL = "AgenticRetrieveCitationReferenceList" +_ARC = "AgenticRetrieveCitation" +_sIt = "startIndex" +_eI = "endIndex" +_ref = "references" +_ARCL = "AgenticRetrieveCitationList" +_KKA = "KmsKeyArn" +_TKa = "TagKey" + +NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c, _sE: 403}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +CUSTOM_CONTROL_METHOD: StaticSchema = (14, n0, _CCM, 0, (_RC,), ((-1, {_sV: _RC}),)) + +LAMBDA_RESOURCE_ARN: StaticSchema = (3, n0, _LRA, 0) + +ACTION_GROUP_EXECUTOR: StaticSchema = ( + 19, + n0, + _AGE, + 0, + (_l, _cC), + ((LAMBDA_RESOURCE_ARN, 0), (CUSTOM_CONTROL_METHOD, 0)), +) + +ACTION_GROUP_NAME: StaticSchema = (3, n0, _AGN, 4) + +API_PATH: StaticSchema = (3, n0, _AP, 4) + +EXECUTION_TYPE: StaticSchema = ( + 14, + n0, + _ET, + 0, + (_LAMBDA, _RC), + ((-1, {_sV: _LAMBDA}), (-1, {_sV: _RC})), +) + +FUNCTION: StaticSchema = (3, n0, _F, 4) + +PARAMETER: StaticSchema = (18, n0, _P, 0, (_n, _t, _v), ((3, 0), (3, 0), (3, 0))) + +PARAMETERS: StaticSchema = (16, n0, _Pa, 0, (_me,), ((PARAMETER, 0),)) + +CONTENT_MAP: StaticSchema = (17, n0, _CM, 0, (_k, _v), ((3, 0), (PARAMETERS, 0))) + +REQUEST_BODY: StaticSchema = (18, n0, _RB, 0, (_co,), ((CONTENT_MAP, 0),)) + +VERB: StaticSchema = (3, n0, _V, 4) + +ACTION_GROUP_INVOCATION_INPUT: StaticSchema = ( + 18, + n0, + _AGII, + 0, + (_aGN, _ve, _aP, _p, _rB, _f, _eT, _iI), + ( + (ACTION_GROUP_NAME, 0), + (VERB, 0), + (API_PATH, 0), + (PARAMETERS, 0), + (REQUEST_BODY, 0), + (FUNCTION, 0), + (EXECUTION_TYPE, 0), + (3, 0), + ), +) + +DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) + +USAGE: StaticSchema = (18, n0, _U, 4, (_iT, _oT), ((7, 0), (7, 0))) + +METADATA: StaticSchema = ( + 18, + n0, + _M, + 4, + (_sT, _eTn, _tTM, _oTTM, _cRI, _u), + ( + (DATE_TIMESTAMP, {_sF: _dt}), + (DATE_TIMESTAMP, {_sF: _dt}), + (8, 0), + (8, 0), + (3, 0), + (USAGE, 0), + ), +) + +ACTION_GROUP_OUTPUT_STRING: StaticSchema = (3, n0, _AGOS, 4) + +ACTION_GROUP_INVOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _AGIO, + 0, + (_te, _met), + ((ACTION_GROUP_OUTPUT_STRING, 0), (METADATA, 0)), +) + +ACTION_GROUP_SIGNATURE: StaticSchema = ( + 14, + n0, + _AGS, + 0, + (_AU, _AC, _AC_, _AB, _AT), + ( + (-1, {_sV: _AMAZONUI}), + (-1, {_sV: _AMAZONCI}), + (-1, {_sV: _ANTHROPICC}), + (-1, {_sV: _ANTHROPICB}), + (-1, {_sV: _ANTHROPICTE}), + ), +) + +ACTION_GROUP_SIGNATURE_PARAMS: StaticSchema = ( + 17, + n0, + _AGSP, + 0, + (_k, _v), + ((3, 0), (3, 0)), +) + +ACTION_INVOCATION_TYPE: StaticSchema = ( + 14, + n0, + _AIT, + 0, + (_RESULT, _UC, _UCAR), + ((-1, {_sV: _RESULT}), (-1, {_sV: _UC}), (-1, {_sV: _UCAR})), +) + +ADDITIONAL_MODEL_REQUEST_FIELDS_KEY: StaticSchema = (3, n0, _AMRFK, 0) + +ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE: StaticSchema = (13, n0, _AMRFV, 0) + +ADDITIONAL_MODEL_REQUEST_FIELDS: StaticSchema = ( + 17, + n0, + _AMRF, + 0, + (_k, _v), + ( + (ADDITIONAL_MODEL_REQUEST_FIELDS_KEY, 0), + (ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE, 0), + ), +) + +RESOURCE_NAME: StaticSchema = (3, n0, _RN, 4) + +PAYLOAD: StaticSchema = (3, n0, _Pay, 4) + +S3_BUCKET_NAME: StaticSchema = (3, n0, _SBN, 0) + +S3_OBJECT_KEY: StaticSchema = (3, n0, _SOK, 0) + +S3_IDENTIFIER: StaticSchema = ( + 18, + n0, + _SI, + 0, + (_sBN, _sOK), + ((S3_BUCKET_NAME, 0), (S3_OBJECT_KEY, 0)), +) + +API_SCHEMA: StaticSchema = ( + 19, + n0, + _APIS, + 0, + (_s_, _pa), + ((S3_IDENTIFIER, 0), (PAYLOAD, 0)), +) + +RESOURCE_DESCRIPTION: StaticSchema = (3, n0, _RD, 4) + +FUNCTION_DESCRIPTION: StaticSchema = (3, n0, _FD, 0) + +PARAMETER_NAME: StaticSchema = (3, n0, _PN, 0) + +PARAMETER_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) + +PARAMETER_TYPE: StaticSchema = ( + 14, + n0, + _PT, + 0, + (_STRING, _NUMBER, _INTEGER, _BOOLEAN, _ARRAY), + ( + (-1, {_sV: _st}), + (-1, {_sV: _nu}), + (-1, {_sV: _i}), + (-1, {_sV: _b}), + (-1, {_sV: _a}), + ), +) + +PARAMETER_DETAIL: StaticSchema = ( + 18, + n0, + _PDa, + 0, + (_d, _t, _r), + ((PARAMETER_DESCRIPTION, 0), (PARAMETER_TYPE, 1), (2, 0)), +) + +PARAMETER_MAP: StaticSchema = ( + 17, + n0, + _PM, + 0, + (_k, _v), + ((PARAMETER_NAME, 0), (PARAMETER_DETAIL, 0)), +) + +REQUIRE_CONFIRMATION: StaticSchema = ( + 14, + n0, + _RCe, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +FUNCTION_DEFINITION: StaticSchema = ( + 18, + n0, + _FDu, + 0, + (_n, _d, _p, _rC), + ( + (RESOURCE_NAME, 1), + (FUNCTION_DESCRIPTION, 0), + (PARAMETER_MAP, 0), + (REQUIRE_CONFIRMATION, 0), + ), +) + +FUNCTIONS: StaticSchema = (16, n0, _Fu, 0, (_me,), ((FUNCTION_DEFINITION, 0),)) + +FUNCTION_SCHEMA: StaticSchema = (19, n0, _FS, 0, (_fu,), ((FUNCTIONS, 0),)) + +AGENT_ACTION_GROUP: StaticSchema = ( + 18, + n0, + _AAG, + 0, + (_aGN, _d, _pAGS, _aGE, _aS, _fS, _pAGSP), + ( + (RESOURCE_NAME, 1), + (RESOURCE_DESCRIPTION, 0), + (ACTION_GROUP_SIGNATURE, 0), + (ACTION_GROUP_EXECUTOR, 0), + (API_SCHEMA, 0), + (FUNCTION_SCHEMA, 0), + (ACTION_GROUP_SIGNATURE_PARAMS, 0), + ), +) + +AGENT_ACTION_GROUPS: StaticSchema = ( + 16, + n0, + _AAGg, + 0, + (_me,), + ((AGENT_ACTION_GROUP, 0),), +) + +AGENT_ALIAS_ARN: StaticSchema = (3, n0, _AAA, 0) + +AGENT_ALIAS_ID: StaticSchema = (3, n0, _AAI, 0) + +AGENT_COLLABORATION: StaticSchema = ( + 14, + n0, + _ACg, + 0, + (_SUPERVISOR, _SR, _DISABLED), + ((-1, {_sV: _SUPERVISOR}), (-1, {_sV: _SR}), (-1, {_sV: _DISABLED})), +) + +CONFIRMATION_STATE: StaticSchema = ( + 14, + n0, + _CS, + 0, + (_CONFIRM, _DENY), + ((-1, {_sV: _CONFIRM}), (-1, {_sV: _DENY})), +) + +IMAGE_INPUT_FORMAT: StaticSchema = ( + 14, + n0, + _IIF, + 0, + (_PNG, _JPEG, _GIF, _WEBP), + ((-1, {_sV: _pn}), (-1, {_sV: _j}), (-1, {_sV: _g}), (-1, {_sV: _w})), +) + +IMAGE_INPUT_SOURCE: StaticSchema = (19, n0, _IIS, 0, (_by,), ((1, 0),)) + +IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _II, + 0, + (_fo, _so), + ((IMAGE_INPUT_FORMAT, 1), (IMAGE_INPUT_SOURCE, 1)), +) + +IMAGE_INPUTS: StaticSchema = (16, n0, _IIm, 0, (_me,), ((IMAGE_INPUT, 0),)) + +CONTENT_BODY: StaticSchema = (18, n0, _CB, 0, (_bo, _im), ((3, 0), (IMAGE_INPUTS, 0))) + +RESPONSE_BODY: StaticSchema = (17, n0, _RBe, 0, (_k, _v), ((3, 0), (CONTENT_BODY, 0))) + +RESPONSE_STATE: StaticSchema = ( + 14, + n0, + _RS, + 0, + (_FAILURE, _REPROMPT), + ((-1, {_sV: _FAILURE}), (-1, {_sV: _REPROMPT})), +) + +API_RESULT: StaticSchema = ( + 18, + n0, + _AR, + 0, + (_aG, _hM, _aP, _cS, _rS, _hSC, _rBe, _aI), + ( + (3, 1), + (3, 0), + (API_PATH, 0), + (CONFIRMATION_STATE, 0), + (RESPONSE_STATE, 0), + (7, 0), + (RESPONSE_BODY, 0), + (3, 0), + ), +) + +FUNCTION_RESULT: StaticSchema = ( + 18, + n0, + _FR, + 0, + (_aG, _cS, _f, _rBe, _rS, _aI), + ( + (3, 1), + (CONFIRMATION_STATE, 0), + (3, 0), + (RESPONSE_BODY, 0), + (RESPONSE_STATE, 0), + (3, 0), + ), +) + +INVOCATION_RESULT_MEMBER: StaticSchema = ( + 19, + n0, + _IRM, + 0, + (_aR, _fR), + ((API_RESULT, 0), (FUNCTION_RESULT, 0)), +) + +RETURN_CONTROL_INVOCATION_RESULTS: StaticSchema = ( + 16, + n0, + _RCIR, + 0, + (_me,), + ((INVOCATION_RESULT_MEMBER, 0),), +) + +RETURN_CONTROL_RESULTS: StaticSchema = ( + 18, + n0, + _RCR, + 0, + (_iI, _rCIR), + ((3, 0), (RETURN_CONTROL_INVOCATION_RESULTS, 0)), +) + +AGENT_COLLABORATOR_PAYLOAD_STRING: StaticSchema = (3, n0, _ACPS, 4) + +PAYLOAD_TYPE: StaticSchema = ( + 14, + n0, + _PTa, + 0, + (_TEXT, _RC), + ((-1, {_sV: _TEXT}), (-1, {_sV: _RC})), +) + +AGENT_COLLABORATOR_INPUT_PAYLOAD: StaticSchema = ( + 18, + n0, + _ACIP, + 0, + (_t, _te, _rCR), + ( + (PAYLOAD_TYPE, 0), + (AGENT_COLLABORATOR_PAYLOAD_STRING, 0), + (RETURN_CONTROL_RESULTS, 0), + ), +) + +AGENT_COLLABORATOR_INVOCATION_INPUT: StaticSchema = ( + 18, + n0, + _ACII, + 0, + (_aCN, _aCAA, _in), + ((3, 0), (AGENT_ALIAS_ARN, 0), (AGENT_COLLABORATOR_INPUT_PAYLOAD, 0)), +) + +NAME: StaticSchema = (3, n0, _N, 4) + +API_PARAMETER: StaticSchema = (18, n0, _APp, 0, (_n, _t, _v), ((3, 0), (3, 0), (3, 0))) + +API_PARAMETERS: StaticSchema = (16, n0, _APpi, 0, (_me,), ((API_PARAMETER, 0),)) + +PARAMETER_LIST: StaticSchema = (16, n0, _PL, 0, (_me,), ((PARAMETER, 0),)) + +PROPERTY_PARAMETERS: StaticSchema = (18, n0, _PP, 0, (_pr,), ((PARAMETER_LIST, 0),)) + +API_CONTENT_MAP: StaticSchema = ( + 17, + n0, + _ACM, + 0, + (_k, _v), + ((3, 0), (PROPERTY_PARAMETERS, 0)), +) + +API_REQUEST_BODY: StaticSchema = (18, n0, _ARB, 0, (_co,), ((API_CONTENT_MAP, 0),)) + +API_INVOCATION_INPUT: StaticSchema = ( + 18, + n0, + _AII, + 0, + (_aG, _hM, _aP, _p, _rB, _aIT, _aI, _cN), + ( + (3, 1), + (3, 0), + (API_PATH, 0), + (API_PARAMETERS, 0), + (API_REQUEST_BODY, 0), + (ACTION_INVOCATION_TYPE, 0), + (3, 0), + (NAME, 0), + ), +) + +FUNCTION_PARAMETER: StaticSchema = ( + 18, + n0, + _FP, + 0, + (_n, _t, _v), + ((3, 0), (3, 0), (3, 0)), +) + +FUNCTION_PARAMETERS: StaticSchema = ( + 16, + n0, + _FPu, + 0, + (_me,), + ((FUNCTION_PARAMETER, 0),), +) + +FUNCTION_INVOCATION_INPUT: StaticSchema = ( + 18, + n0, + _FII, + 0, + (_aG, _p, _f, _aIT, _aI, _cN), + ( + (3, 1), + (FUNCTION_PARAMETERS, 0), + (3, 0), + (ACTION_INVOCATION_TYPE, 0), + (3, 0), + (NAME, 0), + ), +) + +INVOCATION_INPUT_MEMBER: StaticSchema = ( + 19, + n0, + _IIM, + 0, + (_aII, _fII), + ((API_INVOCATION_INPUT, 0), (FUNCTION_INVOCATION_INPUT, 0)), +) + +INVOCATION_INPUTS: StaticSchema = ( + 16, + n0, + _IIn, + 0, + (_me,), + ((INVOCATION_INPUT_MEMBER, 0),), +) + +RETURN_CONTROL_PAYLOAD: StaticSchema = ( + 18, + n0, + _RCP, + 4, + (_iIn, _iI), + ((INVOCATION_INPUTS, 0), (3, 0)), +) + +AGENT_COLLABORATOR_OUTPUT_PAYLOAD: StaticSchema = ( + 18, + n0, + _ACOP, + 0, + (_t, _te, _rCP), + ( + (PAYLOAD_TYPE, 0), + (AGENT_COLLABORATOR_PAYLOAD_STRING, 0), + (RETURN_CONTROL_PAYLOAD, 0), + ), +) + +AGENT_COLLABORATOR_INVOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _ACIO, + 0, + (_aCN, _aCAA, _o, _met), + ( + (3, 0), + (AGENT_ALIAS_ARN, 0), + (AGENT_COLLABORATOR_OUTPUT_PAYLOAD, 0), + (METADATA, 0), + ), +) + +AGENT_CORE_MEMORY_ACTOR_ID: StaticSchema = (3, n0, _ACMAI, 0) + +AGENT_CORE_MEMORY_ID: StaticSchema = (3, n0, _ACMI, 0) + +AGENT_CORE_MEMORY_SESSION_ID: StaticSchema = (3, n0, _ACMSI, 0) + +AGENTIC_RETRIEVE_SOURCE_RETRIEVER: StaticSchema = (18, n0, _ARSR, 0, (_id,), ((3, 1),)) + +AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT: StaticSchema = ( + 18, + n0, + _ARCED, + 0, + (_dI, _sR), + ((3, 0), (AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 0)), +) + +AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT_LIST: StaticSchema = ( + 16, + n0, + _ARCEDL, + 0, + (_me,), + ((AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT, 0),), +) + +AGENTIC_RETRIEVE_CODE_EXECUTION_DETAILS: StaticSchema = ( + 18, + n0, + _ARCEDg, + 0, + (_do,), + ((AGENTIC_RETRIEVE_CODE_EXECUTION_DOCUMENT_LIST, 0),), +) + +AGENTIC_RETRIEVE_FULL_DOC_EXPANSION_DETAILS: StaticSchema = ( + 18, + n0, + _ARFDED, + 0, + (_dI, _sR), + ((3, 0), (AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 0)), +) + +AGENTIC_RETRIEVE_MESSAGE_CONTENT: StaticSchema = (18, n0, _ARMC, 4, (_te,), ((3, 0),)) + +AGENTIC_RETRIEVE_MEMORY_RETRIEVE_DETAILS: StaticSchema = ( + 18, + n0, + _ARMRD, + 0, + (_iQ, _mI, _na, _nP, _sI), + ((AGENTIC_RETRIEVE_MESSAGE_CONTENT, 1), (3, 1), (3, 0), (3, 0), (3, 0)), +) + +AGENTIC_RETRIEVE_SOURCE_RETRIEVER_LIST: StaticSchema = ( + 16, + n0, + _ARSRL, + 0, + (_me,), + ((AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 0),), +) + +AGENTIC_RETRIEVE_ACTION_DETAILS: StaticSchema = ( + 18, + n0, + _ARAD, + 0, + (_iQ, _sRo), + ( + (AGENTIC_RETRIEVE_MESSAGE_CONTENT, 1), + (AGENTIC_RETRIEVE_SOURCE_RETRIEVER_LIST, 1), + ), +) + +AGENTIC_RETRIEVE_ACTION: StaticSchema = ( + 18, + n0, + _ARA, + 0, + (_re, _fDE, _mR, _cE), + ( + (AGENTIC_RETRIEVE_ACTION_DETAILS, 0), + (AGENTIC_RETRIEVE_FULL_DOC_EXPANSION_DETAILS, 0), + (AGENTIC_RETRIEVE_MEMORY_RETRIEVE_DETAILS, 0), + (AGENTIC_RETRIEVE_CODE_EXECUTION_DETAILS, 0), + ), +) + +AGENTIC_RETRIEVE_ACTIONS: StaticSchema = ( + 16, + n0, + _ARAg, + 0, + (_me,), + ((AGENTIC_RETRIEVE_ACTION, 0),), +) + +RETRIEVAL_INSTRUCTION_ID: StaticSchema = (3, n0, _RII, 0) + +RETRIEVAL_INSTRUCTION_VERSION: StaticSchema = (3, n0, _RIV, 0) + +AGENTIC_RETRIEVE_APPLIED_INSTRUCTION: StaticSchema = ( + 18, + n0, + _ARAI, + 0, + (_id_, _ver), + ((RETRIEVAL_INSTRUCTION_ID, 1), (RETRIEVAL_INSTRUCTION_VERSION, 0)), +) + +AGENTIC_RETRIEVE_BEDROCK_GUARDRAIL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARBGC, + 0, + (_gI, _gV), + ((3, 1), (3, 1)), +) + +BEDROCK_MODEL_ARN: StaticSchema = (3, n0, _BMA, 0) + +AGENTIC_RETRIEVE_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARBRMC, + 0, + (_mA,), + ((BEDROCK_MODEL_ARN, 1),), +) + +AGENTIC_RETRIEVE_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARBRC, + 0, + (_mC,), + ((AGENTIC_RETRIEVE_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1),), +) + +AGENTIC_RETRIEVE_CITATION_REFERENCE: StaticSchema = ( + 18, + n0, + _ARCR, + 0, + (_rI,), + ((7, 1),), +) + +AGENTIC_RETRIEVE_CITATION_REFERENCE_LIST: StaticSchema = ( + 16, + n0, + _ARCRL, + 0, + (_me,), + ((AGENTIC_RETRIEVE_CITATION_REFERENCE, 0),), +) + +AGENTIC_RETRIEVE_CITATION: StaticSchema = ( + 18, + n0, + _ARC, + 0, + (_sIt, _eI, _ref), + ((7, 1), (7, 1), (AGENTIC_RETRIEVE_CITATION_REFERENCE_LIST, 1)), +) + +AGENTIC_RETRIEVE_CITATION_LIST: StaticSchema = ( + 16, + n0, + _ARCL, + 0, + (_me,), + ((AGENTIC_RETRIEVE_CITATION, 0),), +) + +KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) + +TAG_KEY: StaticSchema = (3, n0, _TKa, 0) diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_1.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_1.py new file mode 100644 index 000000000..3e645b7da --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_1.py @@ -0,0 +1,1026 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentruntime" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#sensitive" +_t = "type" +_v = "value" +_me = "member" +_k = "key" +_co = "content" +_te = "text" +_met = "metadata" +_smi = "smithy.api#required" +_id = "identifier" +_sR = "sourceRetriever" +_mI = "memoryId" +_na = "namespace" +_nP = "namespacePath" +_sI = "strategyId" +_id_ = "id" +_ver = "version" +_mA = "modelArn" +_mC = "modelConfiguration" +_BFMMC = "BedrockFoundationModelModelConfiguration" +_BFMC = "BedrockFoundationModelConfiguration" +_MPI = "MantleProjectId" +_MFMMC = "MantleFoundationModelModelConfiguration" +_pI = "projectId" +_MFMC = "MantleFoundationModelConfiguration" +_FMCT = "FoundationModelConfigurationType" +_BFM = "BEDROCK_FOUNDATION_MODEL" +_MFM = "MANTLE_FOUNDATION_MODEL" +_FMC = "FoundationModelConfiguration" +_bFMC = "bedrockFoundationModelConfiguration" +_mFMC = "mantleFoundationModelConfiguration" +_FMT = "FoundationModelType" +_CUSTOM = "CUSTOM" +_MANAGED = "MANAGED" +_ARRCT = "AgenticRetrieveRerankingConfigurationType" +_BRM = "BEDROCK_RERANKING_MODEL" +_ARRC = "AgenticRetrieveRerankingConfiguration" +_bRC = "bedrockRerankingConfiguration" +_ARRMT = "AgenticRetrieveRerankingModelType" +_NONE = "NONE" +_ARCg = "AgenticRetrieveConfiguration" +_fMT = "foundationModelType" +_smit = "smithy.api#default" +_fMC = "foundationModelConfiguration" +_rMT = "rerankingModelType" +_rCe = "rerankingConfiguration" +_mAI = "maxAgentIteration" +_ARF = "AgenticRetrieveFailure" +_ARFg = "AgenticRetrieveFailures" +_ARGR = "AgenticRetrieveGeneratedResponse" +_an = "answer" +_ci = "citations" +_GA = "GuardrailAction" +_INTERVENED = "INTERVENED" +_ARGW = "AgenticRetrieveGuardrailWarning" +_ac = "action" +_ARIC = "AgenticRetrieveInstructionConfiguration" +_rII = "retrievalInstructionId" +_ARMPM = "AgenticRetrieveMemoryPersistenceMode" +_DEFAULT = "DEFAULT" +_ARMMK = "AgenticRetrieveMemoryMetadataKey" +_ARMMFL = "AgenticRetrieveMemoryMetadataFilterLeft" +_mK = "metadataKey" +_ARMMFO = "AgenticRetrieveMemoryMetadataFilterOperator" +_ET_ = "EQUALS_TO" +_EXISTS = "EXISTS" +_NE = "NOT_EXISTS" +_BEFORE = "BEFORE" +_AFTER = "AFTER" +_CONTAINS = "CONTAINS" +_GT = "GREATER_THAN" +_GTOE = "GREATER_THAN_OR_EQUALS" +_LT = "LESS_THAN" +_LTOE = "LESS_THAN_OR_EQUALS" +_ARMMSLI = "AgenticRetrieveMemoryMetadataStringListItem" +_ARMMSL = "AgenticRetrieveMemoryMetadataStringList" +_ARMMSV = "AgenticRetrieveMemoryMetadataStringValue" +_ARMMV = "AgenticRetrieveMemoryMetadataValue" +_sVt = "stringValue" +_nV = "numberValue" +_sLV = "stringListValue" +_dTV = "dateTimeValue" +_ARMMFR = "AgenticRetrieveMemoryMetadataFilterRight" +_mV = "metadataValue" +_ARMMF = "AgenticRetrieveMemoryMetadataFilter" +_le = "left" +_op = "operator" +_ri = "right" +_ARMMFLg = "AgenticRetrieveMemoryMetadataFilterList" +_MN = "MemoryNamespace" +_MSI = "MemoryStrategyId" +_ARMRC = "AgenticRetrieveMemoryRetrievalConfig" +_mF = "metadataFilters" +_ARMRCL = "AgenticRetrieveMemoryRetrievalConfigList" +_ARMSB = "AgenticRetrieveMemorySessionBinding" +_aIc = "actorId" +_sIe = "sessionId" +_ARMCg = "AgenticRetrieveMemoryConfiguration" +_sB = "sessionBinding" +_rCet = "retrievalConfigs" +_pM = "persistenceMode" +_CR = "ConversationRole" +_USER = "USER" +_us = "user" +_ASSISTANT = "ASSISTANT" +_as = "assistant" +_ARM = "AgenticRetrieveMessage" +_ro = "role" +_ARMg = "AgenticRetrieveMessages" +_ARMge = "AgenticRetrieveMetadata" +_ARPC = "AgenticRetrievePolicyConfiguration" +_bGC = "bedrockGuardrailConfiguration" +_KBI = "KnowledgeBaseId" +_FK = "FilterKey" +_FV = "FilterValue" +_FA = "FilterAttribute" +_ARRE = "AgenticRetrieveResponseEvent" +_NT = "NextToken" +_MT = "MimeType" +_RCet = "RetrievalContent" +_bC = "byteContent" +_mT = "mimeType" +_ARRI = "AgenticRetrieveResultItem" +_ARR = "AgenticRetrieveResults" +_ARREg = "AgenticRetrieveResultEvent" +_res = "results" +_gR = "generatedResponse" +_nT = "nextToken" +_ART = "AgenticRetrieveType" +_BKB = "BEDROCK_KNOWLEDGE_BASE" +_BKBe = "BedrockKnowledgeBase" +_BACM = "BEDROCK_AGENT_CORE_MEMORY" +_BACMe = "BedrockAgentCoreMemory" +_ARSM = "AgenticRetrieveSourceMetadata" +_rT = "retrievalType" +_ARSML = "AgenticRetrieveSourceMetadataList" +_ARS = "AgenticRetrieveStatus" +_IP = "IN_PROGRESS" +_SUCCEEDED = "SUCCEEDED" +_FAILED = "FAILED" +_ARSg = "AgenticRetrieveStep" +_PLANNING = "PLANNING" +_Pl = "Planning" +_RETRIEVAL = "RETRIEVAL" +_R = "Retrieval" +_SR_ = "SPECULATIVE_RETRIEVAL" +_SRp = "SpeculativeRetrieval" +_FDE = "FULL_DOCUMENT_EXPANSION" +_FDEu = "FullDocumentExpansion" +_SHL = "SESSION_HISTORY_LOAD" +_SHLe = "SessionHistoryLoad" +_CE = "CODE_EXECUTION" +_CEo = "CodeExecution" +_UCs = "UserContext" +_uI = "userId" +_BGE = "BadGatewayException" +_se = "server" +_rN = "resourceName" +_CEon = "ConflictException" +_DFE = "DependencyFailedException" +_ISE = "InternalServerException" +_rea = "reason" +_RNFE = "ResourceNotFoundException" +_SQEE = "ServiceQuotaExceededException" +_TE = "ThrottlingException" +_ARTRI = "AgenticRetrieveTraceResultItem" +_ARTR = "AgenticRetrieveTraceResults" +_ARWM = "AgenticRetrieveWarningMessage" +_ARW = "AgenticRetrieveWarning" +_gu = "guardrail" +_ARWg = "AgenticRetrieveWarnings" +_ARTEA = "AgenticRetrieveTraceEventAttributes" +_ste = "step" +_sta = "status" +_act = "actions" +_wa = "warnings" +_fa = "failures" +_rM = "retrievalMetadata" +_rR = "retrievalResponse" +_aIp = "appliedInstruction" +_ARTE = "AgenticRetrieveTraceEvent" +_ti = "timestamp" +_at = "attributes" +_VE = "ValidationException" +_ARSRO = "AgenticRetrieveStreamResponseOutput" +_smith = "smithy.api#streaming" +_resu = "result" +_tE = "traceEvent" +_rE = "responseEvent" +_iSE = "internalServerException" +_vE = "validationException" +_rNFE = "resourceNotFoundException" +_sQEE = "serviceQuotaExceededException" +_tEh = "throttlingException" +_aDE = "accessDeniedException" +_cEo = "conflictException" +_dFE = "dependencyFailedException" +_bGE = "badGatewayException" +_ARSO = "AgenticRetrieveStreamOutput" +_sSI = "smithy.synthetic#originalShapeId" +_cARSR = "com.amazonaws.bedrockagentruntime#AgenticRetrieveStreamResponse" +_smithy = "smithy.api#output" +_str = "stream" +_sP = "smithy.api#httpPayload" +_AI = "AgentId" +_AV = "AgentVersion" +_C = "Caller" +_aAA = "agentAliasArn" +_CC = "CallerChain" +_SIe = "SessionId" +_COTE = "CustomOrchestrationTraceEvent" +_TI = "TraceId" +_COT = "CustomOrchestrationTrace" +_tI = "traceId" +_e = "event" +_FRS = "FailureReasonString" +_FT = "FailureTrace" +_fRa = "failureReason" +_fC = "failureCode" +_GCPA = "GuardrailContentPolicyAction" +_BLOCKED = "BLOCKED" +_GCFC = "GuardrailContentFilterConfidence" +_LOW = "LOW" +_MEDIUM = "MEDIUM" +_HIGH = "HIGH" +_GCFT = "GuardrailContentFilterType" +_INSULTS = "INSULTS" +_HATE = "HATE" +_SEXUAL = "SEXUAL" +_VIOLENCE = "VIOLENCE" +_MISCONDUCT = "MISCONDUCT" +_PA = "PROMPT_ATTACK" +_smithya = "smithy.api#input" +_uC = "userContext" +_smithyap = "smithy.api#http" +_MR = "MaxResults" +_mes = "messages" +_ARSI = "AgenticRetrieveStreamInput" +_cARSRo = "com.amazonaws.bedrockagentruntime#AgenticRetrieveStreamRequest" +_ret = "retrievers" +_aRC = "agenticRetrieveConfiguration" +_pCo = "policyConfiguration" +_mCemo = "memoryConfiguration" +_rIC = "retrievalInstructionConfiguration" +_gRe = "generateResponse" +_ARSge = "AgenticRetrieveStream" + +BEDROCK_FOUNDATION_MODEL_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BFMMC, + 0, + (_mA,), + ((lambda: schemas.BEDROCK_MODEL_ARN, 1),), +) + +BEDROCK_FOUNDATION_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BFMC, + 0, + (_mC,), + ((BEDROCK_FOUNDATION_MODEL_MODEL_CONFIGURATION, 1),), +) + +MANTLE_PROJECT_ID: StaticSchema = (3, n0, _MPI, 0) + +MANTLE_FOUNDATION_MODEL_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MFMMC, + 0, + (_mA, _pI), + ((lambda: schemas.BEDROCK_MODEL_ARN, 1), (MANTLE_PROJECT_ID, 0)), +) + +MANTLE_FOUNDATION_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MFMC, + 0, + (_mC,), + ((MANTLE_FOUNDATION_MODEL_MODEL_CONFIGURATION, 1),), +) + +FOUNDATION_MODEL_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _FMCT, + 0, + (_BFM, _MFM), + ((-1, {_sV: _BFM}), (-1, {_sV: _MFM})), +) + +FOUNDATION_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FMC, + 0, + (_t, _bFMC, _mFMC), + ( + (FOUNDATION_MODEL_CONFIGURATION_TYPE, 1), + (BEDROCK_FOUNDATION_MODEL_CONFIGURATION, 0), + (MANTLE_FOUNDATION_MODEL_CONFIGURATION, 0), + ), +) + +FOUNDATION_MODEL_TYPE: StaticSchema = ( + 14, + n0, + _FMT, + 0, + (_CUSTOM, _MANAGED), + ((-1, {_sV: _CUSTOM}), (-1, {_sV: _MANAGED})), +) + +AGENTIC_RETRIEVE_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _ARRCT, + 0, + (_BRM,), + ((-1, {_sV: _BRM}),), +) + +AGENTIC_RETRIEVE_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARRC, + 0, + (_t, _bRC), + ( + (AGENTIC_RETRIEVE_RERANKING_CONFIGURATION_TYPE, 1), + (lambda: schemas.AGENTIC_RETRIEVE_BEDROCK_RERANKING_CONFIGURATION, 0), + ), +) + +AGENTIC_RETRIEVE_RERANKING_MODEL_TYPE: StaticSchema = ( + 14, + n0, + _ARRMT, + 0, + (_CUSTOM, _MANAGED, _NONE), + ((-1, {_sV: _CUSTOM}), (-1, {_sV: _MANAGED}), (-1, {_sV: _NONE})), +) + +AGENTIC_RETRIEVE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARCg, + 0, + (_fMT, _fMC, _rMT, _rCe, _mAI), + ( + (FOUNDATION_MODEL_TYPE, {_smit: _MANAGED}), + (FOUNDATION_MODEL_CONFIGURATION, 0), + (AGENTIC_RETRIEVE_RERANKING_MODEL_TYPE, 0), + (AGENTIC_RETRIEVE_RERANKING_CONFIGURATION, 0), + (7, {_smit: 5}), + ), +) + +AGENTIC_RETRIEVE_FAILURE: StaticSchema = (18, n0, _ARF, 0, (_m,), ((3, 1),)) + +AGENTIC_RETRIEVE_FAILURES: StaticSchema = ( + 16, + n0, + _ARFg, + 0, + (_me,), + ((AGENTIC_RETRIEVE_FAILURE, 0),), +) + +AGENTIC_RETRIEVE_GENERATED_RESPONSE: StaticSchema = ( + 18, + n0, + _ARGR, + 0, + (_an, _ci), + ((3, 1), (lambda: schemas.AGENTIC_RETRIEVE_CITATION_LIST, 0)), +) + +GUARDRAIL_ACTION: StaticSchema = ( + 14, + n0, + _GA, + 0, + (_INTERVENED, _NONE), + ((-1, {_sV: _INTERVENED}), (-1, {_sV: _NONE})), +) + +AGENTIC_RETRIEVE_GUARDRAIL_WARNING: StaticSchema = ( + 18, + n0, + _ARGW, + 0, + (_id_, _ver, _ac, _m), + ((3, 1), (3, 1), (GUARDRAIL_ACTION, 1), (3, 0)), +) + +AGENTIC_RETRIEVE_INSTRUCTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARIC, + 0, + (_rII, _ver), + ( + (lambda: schemas.RETRIEVAL_INSTRUCTION_ID, 1), + (lambda: schemas.RETRIEVAL_INSTRUCTION_VERSION, 0), + ), +) + +AGENTIC_RETRIEVE_MEMORY_PERSISTENCE_MODE: StaticSchema = ( + 14, + n0, + _ARMPM, + 0, + (_DEFAULT, _NONE), + ((-1, {_sV: _DEFAULT}), (-1, {_sV: _NONE})), +) + +AGENTIC_RETRIEVE_MEMORY_METADATA_KEY: StaticSchema = (3, n0, _ARMMK, 0) + +AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LEFT: StaticSchema = ( + 19, + n0, + _ARMMFL, + 0, + (_mK,), + ((AGENTIC_RETRIEVE_MEMORY_METADATA_KEY, 0),), +) + +AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_OPERATOR: StaticSchema = ( + 14, + n0, + _ARMMFO, + 0, + (_ET_, _EXISTS, _NE, _BEFORE, _AFTER, _CONTAINS, _GT, _GTOE, _LT, _LTOE), + ( + (-1, {_sV: _ET_}), + (-1, {_sV: _EXISTS}), + (-1, {_sV: _NE}), + (-1, {_sV: _BEFORE}), + (-1, {_sV: _AFTER}), + (-1, {_sV: _CONTAINS}), + (-1, {_sV: _GT}), + (-1, {_sV: _GTOE}), + (-1, {_sV: _LT}), + (-1, {_sV: _LTOE}), + ), +) + +AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST_ITEM: StaticSchema = (3, n0, _ARMMSLI, 0) + +AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST: StaticSchema = ( + 16, + n0, + _ARMMSL, + 0, + (_me,), + ((AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST_ITEM, 0),), +) + +AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_VALUE: StaticSchema = (3, n0, _ARMMSV, 0) + +AGENTIC_RETRIEVE_MEMORY_METADATA_VALUE: StaticSchema = ( + 19, + n0, + _ARMMV, + 0, + (_sVt, _nV, _sLV, _dTV), + ( + (AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_VALUE, 0), + (10, 0), + (AGENTIC_RETRIEVE_MEMORY_METADATA_STRING_LIST, 0), + (4, 0), + ), +) + +AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_RIGHT: StaticSchema = ( + 19, + n0, + _ARMMFR, + 0, + (_mV,), + ((AGENTIC_RETRIEVE_MEMORY_METADATA_VALUE, 0),), +) + +AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER: StaticSchema = ( + 18, + n0, + _ARMMF, + 0, + (_le, _op, _ri), + ( + (AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LEFT, 1), + (AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_OPERATOR, 1), + (AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_RIGHT, 0), + ), +) + +AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LIST: StaticSchema = ( + 16, + n0, + _ARMMFLg, + 0, + (_me,), + ((AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER, 0),), +) + +MEMORY_NAMESPACE: StaticSchema = (3, n0, _MN, 0) + +MEMORY_STRATEGY_ID: StaticSchema = (3, n0, _MSI, 0) + +AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG: StaticSchema = ( + 18, + n0, + _ARMRC, + 0, + (_na, _nP, _sI, _mF), + ( + (MEMORY_NAMESPACE, 0), + (MEMORY_NAMESPACE, 0), + (MEMORY_STRATEGY_ID, 0), + (AGENTIC_RETRIEVE_MEMORY_METADATA_FILTER_LIST, 0), + ), +) + +AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _ARMRCL, + 0, + (_me,), + ((AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG, 0),), +) + +AGENTIC_RETRIEVE_MEMORY_SESSION_BINDING: StaticSchema = ( + 18, + n0, + _ARMSB, + 0, + (_aIc, _sIe), + ( + (lambda: schemas.AGENT_CORE_MEMORY_ACTOR_ID, 1), + (lambda: schemas.AGENT_CORE_MEMORY_SESSION_ID, 1), + ), +) + +AGENTIC_RETRIEVE_MEMORY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARMCg, + 0, + (_mI, _sB, _rCet, _pM), + ( + (lambda: schemas.AGENT_CORE_MEMORY_ID, 1), + (AGENTIC_RETRIEVE_MEMORY_SESSION_BINDING, 0), + (AGENTIC_RETRIEVE_MEMORY_RETRIEVAL_CONFIG_LIST, 0), + (AGENTIC_RETRIEVE_MEMORY_PERSISTENCE_MODE, 0), + ), +) + +CONVERSATION_ROLE: StaticSchema = ( + 14, + n0, + _CR, + 0, + (_USER, _ASSISTANT), + ((-1, {_sV: _us}), (-1, {_sV: _as})), +) + +AGENTIC_RETRIEVE_MESSAGE: StaticSchema = ( + 18, + n0, + _ARM, + 0, + (_co, _ro), + ((lambda: schemas.AGENTIC_RETRIEVE_MESSAGE_CONTENT, 1), (CONVERSATION_ROLE, 1)), +) + +AGENTIC_RETRIEVE_MESSAGES: StaticSchema = ( + 16, + n0, + _ARMg, + 0, + (_me,), + ((AGENTIC_RETRIEVE_MESSAGE, 0),), +) + +AGENTIC_RETRIEVE_METADATA: StaticSchema = ( + 17, + n0, + _ARMge, + 0, + (_k, _v), + ((3, 0), (13, 0)), +) + +AGENTIC_RETRIEVE_POLICY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARPC, + 0, + (_bGC,), + ((lambda: schemas.AGENTIC_RETRIEVE_BEDROCK_GUARDRAIL_CONFIGURATION, 0),), +) + +KNOWLEDGE_BASE_ID: StaticSchema = (3, n0, _KBI, 0) + +FILTER_KEY: StaticSchema = (3, n0, _FK, 0) + +FILTER_VALUE: StaticSchema = (13, n0, _FV, 0) + +FILTER_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _FA, + 0, + (_k, _v), + ((FILTER_KEY, 1), (FILTER_VALUE, 1)), +) + +AGENTIC_RETRIEVE_RESPONSE_EVENT: StaticSchema = (18, n0, _ARRE, 0, (_te,), ((3, 1),)) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +MIME_TYPE: StaticSchema = (3, n0, _MT, 0) + +RETRIEVAL_CONTENT: StaticSchema = ( + 18, + n0, + _RCet, + 0, + (_bC, _te, _mT), + ((1, 0), (3, 0), (MIME_TYPE, 1)), +) + +AGENTIC_RETRIEVE_RESULT_ITEM: StaticSchema = ( + 18, + n0, + _ARRI, + 0, + (_co, _met, _sR), + ( + (RETRIEVAL_CONTENT, 1), + (AGENTIC_RETRIEVE_METADATA, 0), + (lambda: schemas.AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 1), + ), +) + +AGENTIC_RETRIEVE_RESULTS: StaticSchema = ( + 16, + n0, + _ARR, + 0, + (_me,), + ((AGENTIC_RETRIEVE_RESULT_ITEM, 0),), +) + +AGENTIC_RETRIEVE_RESULT_EVENT: StaticSchema = ( + 18, + n0, + _ARREg, + 0, + (_res, _gR, _nT), + ( + (AGENTIC_RETRIEVE_RESULTS, 1), + (AGENTIC_RETRIEVE_GENERATED_RESPONSE, 0), + (NEXT_TOKEN, 0), + ), +) + +AGENTIC_RETRIEVE_TYPE: StaticSchema = ( + 14, + n0, + _ART, + 0, + (_BKB, _BACM), + ((-1, {_sV: _BKBe}), (-1, {_sV: _BACMe})), +) + +AGENTIC_RETRIEVE_SOURCE_METADATA: StaticSchema = ( + 18, + n0, + _ARSM, + 0, + (_id, _rT), + ((3, 0), (AGENTIC_RETRIEVE_TYPE, 0)), +) + +AGENTIC_RETRIEVE_SOURCE_METADATA_LIST: StaticSchema = ( + 16, + n0, + _ARSML, + 0, + (_me,), + ((AGENTIC_RETRIEVE_SOURCE_METADATA, 0),), +) + +AGENTIC_RETRIEVE_STATUS: StaticSchema = ( + 14, + n0, + _ARS, + 0, + (_IP, _SUCCEEDED, _FAILED), + ((-1, {_sV: _IP}), (-1, {_sV: _SUCCEEDED}), (-1, {_sV: _FAILED})), +) + +AGENTIC_RETRIEVE_STEP: StaticSchema = ( + 14, + n0, + _ARSg, + 0, + (_PLANNING, _RETRIEVAL, _SR_, _FDE, _SHL, _CE), + ( + (-1, {_sV: _Pl}), + (-1, {_sV: _R}), + (-1, {_sV: _SRp}), + (-1, {_sV: _FDEu}), + (-1, {_sV: _SHLe}), + (-1, {_sV: _CEo}), + ), +) + +USER_CONTEXT: StaticSchema = (18, n0, _UCs, 4, (_uI,), ((3, 1),)) + +BAD_GATEWAY_EXCEPTION: StaticSchema = ( + 18, + n0, + _BGE, + {_s: _se, _sE: 502}, + (_m, _rN), + ((lambda: schemas.NON_BLANK_STRING, 0), (lambda: schemas.NON_BLANK_STRING, 0)), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CEon, + {_s: _c, _sE: 409}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +DEPENDENCY_FAILED_EXCEPTION: StaticSchema = ( + 18, + n0, + _DFE, + {_s: _c, _sE: 424}, + (_m, _rN), + ((lambda: schemas.NON_BLANK_STRING, 0), (lambda: schemas.NON_BLANK_STRING, 0)), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_s: _se, _sE: 500}, + (_m, _rea), + ((lambda: schemas.NON_BLANK_STRING, 0), (3, 0)), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c, _sE: 404}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_s: _c, _sE: 400}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + {_s: _c, _sE: 429}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +AGENTIC_RETRIEVE_TRACE_RESULT_ITEM: StaticSchema = ( + 18, + n0, + _ARTRI, + 0, + (_co, _met, _sR), + ( + (RETRIEVAL_CONTENT, 0), + (AGENTIC_RETRIEVE_METADATA, 0), + (lambda: schemas.AGENTIC_RETRIEVE_SOURCE_RETRIEVER, 0), + ), +) + +AGENTIC_RETRIEVE_TRACE_RESULTS: StaticSchema = ( + 16, + n0, + _ARTR, + 0, + (_me,), + ((AGENTIC_RETRIEVE_TRACE_RESULT_ITEM, 0),), +) + +AGENTIC_RETRIEVE_WARNING_MESSAGE: StaticSchema = (18, n0, _ARWM, 0, (_m,), ((3, 1),)) + +AGENTIC_RETRIEVE_WARNING: StaticSchema = ( + 19, + n0, + _ARW, + 0, + (_m, _gu), + ((AGENTIC_RETRIEVE_WARNING_MESSAGE, 0), (AGENTIC_RETRIEVE_GUARDRAIL_WARNING, 0)), +) + +AGENTIC_RETRIEVE_WARNINGS: StaticSchema = ( + 16, + n0, + _ARWg, + 0, + (_me,), + ((AGENTIC_RETRIEVE_WARNING, 0),), +) + +AGENTIC_RETRIEVE_TRACE_EVENT_ATTRIBUTES: StaticSchema = ( + 18, + n0, + _ARTEA, + 0, + (_ste, _sta, _m, _act, _wa, _fa, _rM, _rR, _aIp), + ( + (AGENTIC_RETRIEVE_STEP, 1), + (AGENTIC_RETRIEVE_STATUS, 1), + (3, 1), + (lambda: schemas.AGENTIC_RETRIEVE_ACTIONS, 0), + (AGENTIC_RETRIEVE_WARNINGS, 0), + (AGENTIC_RETRIEVE_FAILURES, 0), + (AGENTIC_RETRIEVE_SOURCE_METADATA_LIST, 0), + (AGENTIC_RETRIEVE_TRACE_RESULTS, 0), + (lambda: schemas.AGENTIC_RETRIEVE_APPLIED_INSTRUCTION, 0), + ), +) + +AGENTIC_RETRIEVE_TRACE_EVENT: StaticSchema = ( + 18, + n0, + _ARTE, + 0, + (_id_, _ti, _at), + ((3, 1), (8, 1), (AGENTIC_RETRIEVE_TRACE_EVENT_ATTRIBUTES, 1)), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_s: _c, _sE: 400}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +AGENTIC_RETRIEVE_STREAM_RESPONSE_OUTPUT: StaticSchema = ( + 19, + n0, + _ARSRO, + {_smith: None}, + (_resu, _tE, _rE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE), + ( + (AGENTIC_RETRIEVE_RESULT_EVENT, 0), + (AGENTIC_RETRIEVE_TRACE_EVENT, 0), + (AGENTIC_RETRIEVE_RESPONSE_EVENT, 0), + (INTERNAL_SERVER_EXCEPTION, 0), + (VALIDATION_EXCEPTION, 0), + (RESOURCE_NOT_FOUND_EXCEPTION, 0), + (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), + (THROTTLING_EXCEPTION, 0), + (lambda: schemas.ACCESS_DENIED_EXCEPTION, 0), + (CONFLICT_EXCEPTION, 0), + (DEPENDENCY_FAILED_EXCEPTION, 0), + (BAD_GATEWAY_EXCEPTION, 0), + ), +) + +AGENTIC_RETRIEVE_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _ARSO, + {_sSI: _cARSR, _smithy: None}, + (_str,), + ((AGENTIC_RETRIEVE_STREAM_RESPONSE_OUTPUT, 17),), +) + +AGENTIC_RETRIEVE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _ARSI, + {_sSI: _cARSRo, _smithya: None}, + (_mes, _ret, _aRC, _pCo, _nT, _uC, _mCemo, _rIC, _gRe), + ( + (AGENTIC_RETRIEVE_MESSAGES, 1), + (lambda: schemas.AGENTIC_RETRIEVERS, 1), + (AGENTIC_RETRIEVE_CONFIGURATION, 1), + (AGENTIC_RETRIEVE_POLICY_CONFIGURATION, 0), + (NEXT_TOKEN, 0), + (USER_CONTEXT, 0), + (AGENTIC_RETRIEVE_MEMORY_CONFIGURATION, 0), + (AGENTIC_RETRIEVE_INSTRUCTION_CONFIGURATION, 0), + (2, {_smit: True}), + ), +) + +AGENTIC_RETRIEVE_STREAM: StaticOperationSchema = ( + 23, + n0, + _ARSge, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/agenticRetrieveStream"} + ) + }, + AGENTIC_RETRIEVE_STREAM_INPUT, + AGENTIC_RETRIEVE_STREAM_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + BAD_GATEWAY_EXCEPTION, + CONFLICT_EXCEPTION, + DEPENDENCY_FAILED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +AGENT_ID: StaticSchema = (3, n0, _AI, 0) + +AGENT_VERSION: StaticSchema = (3, n0, _AV, 0) + +CALLER: StaticSchema = (19, n0, _C, 0, (_aAA,), ((lambda: schemas.AGENT_ALIAS_ARN, 0),)) + +CALLER_CHAIN: StaticSchema = (16, n0, _CC, 0, (_me,), ((CALLER, 0),)) + +SESSION_ID: StaticSchema = (3, n0, _SIe, 0) + +CUSTOM_ORCHESTRATION_TRACE_EVENT: StaticSchema = (18, n0, _COTE, 4, (_te,), ((3, 0),)) + +TRACE_ID: StaticSchema = (3, n0, _TI, 0) + +CUSTOM_ORCHESTRATION_TRACE: StaticSchema = ( + 18, + n0, + _COT, + 4, + (_tI, _e), + ((TRACE_ID, 0), (CUSTOM_ORCHESTRATION_TRACE_EVENT, 0)), +) + +FAILURE_REASON_STRING: StaticSchema = (3, n0, _FRS, 4) + +FAILURE_TRACE: StaticSchema = ( + 18, + n0, + _FT, + 4, + (_tI, _fRa, _fC, _met), + ((TRACE_ID, 0), (FAILURE_REASON_STRING, 0), (7, 0), (lambda: schemas.METADATA, 0)), +) + +GUARDRAIL_CONTENT_POLICY_ACTION: StaticSchema = ( + 14, + n0, + _GCPA, + 0, + (_BLOCKED,), + ((-1, {_sV: _BLOCKED}),), +) + +GUARDRAIL_CONTENT_FILTER_CONFIDENCE: StaticSchema = ( + 14, + n0, + _GCFC, + 0, + (_NONE, _LOW, _MEDIUM, _HIGH), + ((-1, {_sV: _NONE}), (-1, {_sV: _LOW}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _HIGH})), +) + +GUARDRAIL_CONTENT_FILTER_TYPE: StaticSchema = ( + 14, + n0, + _GCFT, + 0, + (_INSULTS, _HATE, _SEXUAL, _VIOLENCE, _MISCONDUCT, _PA), + ( + (-1, {_sV: _INSULTS}), + (-1, {_sV: _HATE}), + (-1, {_sV: _SEXUAL}), + (-1, {_sV: _VIOLENCE}), + (-1, {_sV: _MISCONDUCT}), + (-1, {_sV: _PA}), + ), +) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_2.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_2.py new file mode 100644 index 000000000..6e2e0f6e9 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_2.py @@ -0,0 +1,1032 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentruntime" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#sensitive" +_n = "name" +_t = "type" +_v = "value" +_me = "member" +_k = "key" +_co = "content" +_te = "text" +_met = "metadata" +_STRING = "STRING" +_BOOLEAN = "BOOLEAN" +_smi = "smithy.api#required" +_DENY = "DENY" +_so = "source" +_REPROMPT = "REPROMPT" +_TEXT = "TEXT" +_id_ = "id" +_CUSTOM = "CUSTOM" +_smit = "smithy.api#default" +_ac = "action" +_DEFAULT = "DEFAULT" +_bC = "byteContent" +_tI = "traceId" +_BLOCKED = "BLOCKED" +_GCF = "GuardrailContentFilter" +_con = "confidence" +_GCFL = "GuardrailContentFilterList" +_GCPAu = "GuardrailContentPolicyAssessment" +_fi = "filters" +_GSIPA = "GuardrailSensitiveInformationPolicyAction" +_ANONYMIZED = "ANONYMIZED" +_GPET = "GuardrailPiiEntityType" +_ADDRESS = "ADDRESS" +_AGE_ = "AGE" +_AAK = "AWS_ACCESS_KEY" +_ASK = "AWS_SECRET_KEY" +_CHN = "CA_HEALTH_NUMBER" +_CSIN = "CA_SOCIAL_INSURANCE_NUMBER" +_CDCC = "CREDIT_DEBIT_CARD_CVV" +_CDCE = "CREDIT_DEBIT_CARD_EXPIRY" +_CDCN = "CREDIT_DEBIT_CARD_NUMBER" +_DI = "DRIVER_ID" +_EMAIL = "EMAIL" +_IBAN = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" +_IA = "IP_ADDRESS" +_LP = "LICENSE_PLATE" +_MA = "MAC_ADDRESS" +_NAME = "NAME" +_PASSWORD = "PASSWORD" +_PHONE = "PHONE" +_PIN = "PIN" +_SC = "SWIFT_CODE" +_UNHSN = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" +_UNIN = "UK_NATIONAL_INSURANCE_NUMBER" +_UUTRN = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" +_URL = "URL" +_USERNAME = "USERNAME" +_UBAN = "US_BANK_ACCOUNT_NUMBER" +_UBRN = "US_BANK_ROUTING_NUMBER" +_UITIN = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" +_UPN = "US_PASSPORT_NUMBER" +_USSN = "US_SOCIAL_SECURITY_NUMBER" +_VIN = "VEHICLE_IDENTIFICATION_NUMBER" +_GPEF = "GuardrailPiiEntityFilter" +_ma = "match" +_GPEFL = "GuardrailPiiEntityFilterList" +_GRF = "GuardrailRegexFilter" +_reg = "regex" +_GRFL = "GuardrailRegexFilterList" +_GSIPAu = "GuardrailSensitiveInformationPolicyAssessment" +_pE = "piiEntities" +_rege = "regexes" +_GTPA = "GuardrailTopicPolicyAction" +_GTT = "GuardrailTopicType" +_GTu = "GuardrailTopic" +_GTL = "GuardrailTopicList" +_GTPAu = "GuardrailTopicPolicyAssessment" +_to = "topics" +_GWPA = "GuardrailWordPolicyAction" +_GCW = "GuardrailCustomWord" +_GCWL = "GuardrailCustomWordList" +_GMWT = "GuardrailManagedWordType" +_PROFANITY = "PROFANITY" +_GMW = "GuardrailManagedWord" +_GMWL = "GuardrailManagedWordList" +_GWPAu = "GuardrailWordPolicyAssessment" +_cW = "customWords" +_mWL = "managedWordLists" +_GAu = "GuardrailAssessment" +_tP = "topicPolicy" +_cP = "contentPolicy" +_wP = "wordPolicy" +_sIP = "sensitiveInformationPolicy" +_GAL = "GuardrailAssessmentList" +_GTua = "GuardrailTrace" +_iA = "inputAssessments" +_oA = "outputAssessments" +_Fi = "Files" +_CIII = "CodeInterpreterInvocationInput" +_cod = "code" +_fil = "files" +_IT = "InvocationType" +_AG = "ACTION_GROUP" +_KB = "KNOWLEDGE_BASE" +_FINISH = "FINISH" +_AGCI = "ACTION_GROUP_CODE_INTERPRETER" +_AC__ = "AGENT_COLLABORATOR" +_TKBI = "TraceKnowledgeBaseId" +_KBLIS = "KnowledgeBaseLookupInputString" +_KBLI = "KnowledgeBaseLookupInput" +_kBI = "knowledgeBaseId" +_IInv = "InvocationInput" +_iTn = "invocationType" +_aGII = "actionGroupInvocationInput" +_kBLI = "knowledgeBaseLookupInput" +_cIII = "codeInterpreterInvocationInput" +_aCII = "agentCollaboratorInvocationInput" +_MI = "ModelIdentifier" +_ML = "MaximumLength" +_SS = "StopSequences" +_T = "Temperature" +_TK = "TopK" +_TP = "TopP" +_IC = "InferenceConfiguration" +_tem = "temperature" +_tPo = "topP" +_tK = "topK" +_mL = "maximumLength" +_sS = "stopSequences" +_LA = "LambdaArn" +_CMr = "CreationMode" +_OVERRIDDEN = "OVERRIDDEN" +_PTr = "PromptText" +_PTro = "PromptType" +_PP_ = "PRE_PROCESSING" +_ORCHESTRATION = "ORCHESTRATION" +_KBRG = "KNOWLEDGE_BASE_RESPONSE_GENERATION" +_PP__ = "POST_PROCESSING" +_RC_ = "ROUTING_CLASSIFIER" +_MII = "ModelInvocationInput" +_oL = "overrideLambda" +_pCM = "promptCreationMode" +_iC = "inferenceConfiguration" +_pMa = "parserMode" +_fM = "foundationModel" +_RR = "RawResponse" +_RTB = "ReasoningTextBlock" +_si = "signature" +_RCB = "ReasoningContentBlock" +_rTe = "reasoningText" +_rCed = "redactedContent" +_OMIO = "OrchestrationModelInvocationOutput" +_rRa = "rawResponse" +_rCea = "reasoningContent" +_CIIO = "CodeInterpreterInvocationOutput" +_eO = "executionOutput" +_eE = "executionError" +_eTx = "executionTimeout" +_FRSi = "FinalResponseString" +_FRi = "FinalResponse" +_AS = "AudioSegment" +_sU = "s3Uri" +_tr = "transcription" +_RRCCT = "RetrievalResultContentColumnType" +_BLOB = "BLOB" +_DOUBLE = "DOUBLE" +_NULL = "NULL" +_LONG = "LONG" +_RRCC = "RetrievalResultContentColumn" +_cNo = "columnName" +_cV = "columnValue" +_RRCR = "RetrievalResultContentRow" +_RRCT = "RetrievalResultContentType" +_IMAGE = "IMAGE" +_ROW = "ROW" +_AUDIO = "AUDIO" +_VIDEO = "VIDEO" +_VS = "VideoSegment" +_su = "summary" +_RRC = "RetrievalResultContent" +_v_ = "" +_vi = "video" +_au = "audio" +_row = "row" +_RRCL = "RetrievalResultConfluenceLocation" +_ur = "url" +_RRCDL = "RetrievalResultCustomDocumentLocation" +_RRGDL = "RetrievalResultGoogleDriveLocation" +_RRKDL = "RetrievalResultKendraDocumentLocation" +_uri = "uri" +_RRODL = "RetrievalResultOneDriveLocation" +_RRSL = "RetrievalResultS3Location" +_RRSLe = "RetrievalResultSalesforceLocation" +_RRSPL = "RetrievalResultSharePointLocation" +_RRSLet = "RetrievalResultSqlLocation" +_q = "query" +_RRLT = "RetrievalResultLocationType" +_S = "S3" +_WEB = "WEB" +_CONFLUENCE = "CONFLUENCE" +_SALESFORCE = "SALESFORCE" +_SHAREPOINT = "SHAREPOINT" +_KENDRA = "KENDRA" +_SQL = "SQL" +_ONEDRIVE = "ONEDRIVE" +_GOOGLEDRIVE = "GOOGLEDRIVE" +_RRWL = "RetrievalResultWebLocation" +_RRL = "RetrievalResultLocation" +_sL = "s3Location" +_wL = "webLocation" +_cL = "confluenceLocation" +_sLa = "salesforceLocation" +_sPL = "sharePointLocation" +_cDL = "customDocumentLocation" +_kDL = "kendraDocumentLocation" +_sLq = "sqlLocation" +_oDL = "oneDriveLocation" +_gDL = "googleDriveLocation" +_RRMK = "RetrievalResultMetadataKey" +_RRMV = "RetrievalResultMetadataValue" +_RRM = "RetrievalResultMetadata" +_RRe = "RetrievedReference" +_lo = "location" +_RRet = "RetrievedReferences" +_KBLO = "KnowledgeBaseLookupOutput" +_rRe = "retrievedReferences" +_So = "Source" +_PARSER = "PARSER" +_RRep = "RepromptResponse" +_Ty = "Type" +_AU_ = "ASK_USER" +_O = "Observation" +_aGIO = "actionGroupInvocationOutput" +_aCIO = "agentCollaboratorInvocationOutput" +_kBLO = "knowledgeBaseLookupOutput" +_fRi = "finalResponse" +_rRep = "repromptResponse" +_cIIO = "codeInterpreterInvocationOutput" +_RSa = "RationaleString" +_Ra = "Rationale" +_OT = "OrchestrationTrace" +_ra = "rationale" +_iInv = "invocationInput" +_ob = "observation" +_mII = "modelInvocationInput" +_mIO = "modelInvocationOutput" +_OS = "OutputString" + +GUARDRAIL_CONTENT_FILTER: StaticSchema = ( + 18, + n0, + _GCF, + 4, + (_t, _con, _ac), + ( + (lambda: schemas.GUARDRAIL_CONTENT_FILTER_TYPE, 0), + (lambda: schemas.GUARDRAIL_CONTENT_FILTER_CONFIDENCE, 0), + (lambda: schemas.GUARDRAIL_CONTENT_POLICY_ACTION, 0), + ), +) + +GUARDRAIL_CONTENT_FILTER_LIST: StaticSchema = ( + 16, + n0, + _GCFL, + 4, + (_me,), + ((GUARDRAIL_CONTENT_FILTER, 0),), +) + +GUARDRAIL_CONTENT_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GCPAu, + 4, + (_fi,), + ((GUARDRAIL_CONTENT_FILTER_LIST, 0),), +) + +GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION: StaticSchema = ( + 14, + n0, + _GSIPA, + 0, + (_BLOCKED, _ANONYMIZED), + ((-1, {_sV: _BLOCKED}), (-1, {_sV: _ANONYMIZED})), +) + +GUARDRAIL_PII_ENTITY_TYPE: StaticSchema = ( + 14, + n0, + _GPET, + 0, + ( + _ADDRESS, + _AGE_, + _AAK, + _ASK, + _CHN, + _CSIN, + _CDCC, + _CDCE, + _CDCN, + _DI, + _EMAIL, + _IBAN, + _IA, + _LP, + _MA, + _NAME, + _PASSWORD, + _PHONE, + _PIN, + _SC, + _UNHSN, + _UNIN, + _UUTRN, + _URL, + _USERNAME, + _UBAN, + _UBRN, + _UITIN, + _UPN, + _USSN, + _VIN, + ), + ( + (-1, {_sV: _ADDRESS}), + (-1, {_sV: _AGE_}), + (-1, {_sV: _AAK}), + (-1, {_sV: _ASK}), + (-1, {_sV: _CHN}), + (-1, {_sV: _CSIN}), + (-1, {_sV: _CDCC}), + (-1, {_sV: _CDCE}), + (-1, {_sV: _CDCN}), + (-1, {_sV: _DI}), + (-1, {_sV: _EMAIL}), + (-1, {_sV: _IBAN}), + (-1, {_sV: _IA}), + (-1, {_sV: _LP}), + (-1, {_sV: _MA}), + (-1, {_sV: _NAME}), + (-1, {_sV: _PASSWORD}), + (-1, {_sV: _PHONE}), + (-1, {_sV: _PIN}), + (-1, {_sV: _SC}), + (-1, {_sV: _UNHSN}), + (-1, {_sV: _UNIN}), + (-1, {_sV: _UUTRN}), + (-1, {_sV: _URL}), + (-1, {_sV: _USERNAME}), + (-1, {_sV: _UBAN}), + (-1, {_sV: _UBRN}), + (-1, {_sV: _UITIN}), + (-1, {_sV: _UPN}), + (-1, {_sV: _USSN}), + (-1, {_sV: _VIN}), + ), +) + +GUARDRAIL_PII_ENTITY_FILTER: StaticSchema = ( + 18, + n0, + _GPEF, + 4, + (_t, _ma, _ac), + ( + (GUARDRAIL_PII_ENTITY_TYPE, 0), + (3, 0), + (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION, 0), + ), +) + +GUARDRAIL_PII_ENTITY_FILTER_LIST: StaticSchema = ( + 16, + n0, + _GPEFL, + 4, + (_me,), + ((GUARDRAIL_PII_ENTITY_FILTER, 0),), +) + +GUARDRAIL_REGEX_FILTER: StaticSchema = ( + 18, + n0, + _GRF, + 4, + (_n, _reg, _ma, _ac), + ((3, 0), (3, 0), (3, 0), (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION, 0)), +) + +GUARDRAIL_REGEX_FILTER_LIST: StaticSchema = ( + 16, + n0, + _GRFL, + 4, + (_me,), + ((GUARDRAIL_REGEX_FILTER, 0),), +) + +GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GSIPAu, + 4, + (_pE, _rege), + ((GUARDRAIL_PII_ENTITY_FILTER_LIST, 0), (GUARDRAIL_REGEX_FILTER_LIST, 0)), +) + +GUARDRAIL_TOPIC_POLICY_ACTION: StaticSchema = ( + 14, + n0, + _GTPA, + 0, + (_BLOCKED,), + ((-1, {_sV: _BLOCKED}),), +) + +GUARDRAIL_TOPIC_TYPE: StaticSchema = (14, n0, _GTT, 0, (_DENY,), ((-1, {_sV: _DENY}),)) + +GUARDRAIL_TOPIC: StaticSchema = ( + 18, + n0, + _GTu, + 4, + (_n, _t, _ac), + ((3, 0), (GUARDRAIL_TOPIC_TYPE, 0), (GUARDRAIL_TOPIC_POLICY_ACTION, 0)), +) + +GUARDRAIL_TOPIC_LIST: StaticSchema = (16, n0, _GTL, 4, (_me,), ((GUARDRAIL_TOPIC, 0),)) + +GUARDRAIL_TOPIC_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GTPAu, + 4, + (_to,), + ((GUARDRAIL_TOPIC_LIST, 0),), +) + +GUARDRAIL_WORD_POLICY_ACTION: StaticSchema = ( + 14, + n0, + _GWPA, + 0, + (_BLOCKED,), + ((-1, {_sV: _BLOCKED}),), +) + +GUARDRAIL_CUSTOM_WORD: StaticSchema = ( + 18, + n0, + _GCW, + 4, + (_ma, _ac), + ((3, 0), (GUARDRAIL_WORD_POLICY_ACTION, 0)), +) + +GUARDRAIL_CUSTOM_WORD_LIST: StaticSchema = ( + 16, + n0, + _GCWL, + 4, + (_me,), + ((GUARDRAIL_CUSTOM_WORD, 0),), +) + +GUARDRAIL_MANAGED_WORD_TYPE: StaticSchema = ( + 14, + n0, + _GMWT, + 0, + (_PROFANITY,), + ((-1, {_sV: _PROFANITY}),), +) + +GUARDRAIL_MANAGED_WORD: StaticSchema = ( + 18, + n0, + _GMW, + 4, + (_ma, _t, _ac), + ((3, 0), (GUARDRAIL_MANAGED_WORD_TYPE, 0), (GUARDRAIL_WORD_POLICY_ACTION, 0)), +) + +GUARDRAIL_MANAGED_WORD_LIST: StaticSchema = ( + 16, + n0, + _GMWL, + 4, + (_me,), + ((GUARDRAIL_MANAGED_WORD, 0),), +) + +GUARDRAIL_WORD_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GWPAu, + 4, + (_cW, _mWL), + ((GUARDRAIL_CUSTOM_WORD_LIST, 0), (GUARDRAIL_MANAGED_WORD_LIST, 0)), +) + +GUARDRAIL_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GAu, + 4, + (_tP, _cP, _wP, _sIP), + ( + (GUARDRAIL_TOPIC_POLICY_ASSESSMENT, 0), + (GUARDRAIL_CONTENT_POLICY_ASSESSMENT, 0), + (GUARDRAIL_WORD_POLICY_ASSESSMENT, 0), + (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT, 0), + ), +) + +GUARDRAIL_ASSESSMENT_LIST: StaticSchema = ( + 16, + n0, + _GAL, + 0, + (_me,), + ((GUARDRAIL_ASSESSMENT, 0),), +) + +GUARDRAIL_TRACE: StaticSchema = ( + 18, + n0, + _GTua, + 4, + (_ac, _tI, _iA, _oA, _met), + ( + (lambda: schemas.GUARDRAIL_ACTION, 0), + (lambda: schemas.TRACE_ID, 0), + (GUARDRAIL_ASSESSMENT_LIST, 0), + (GUARDRAIL_ASSESSMENT_LIST, 0), + (lambda: schemas.METADATA, 0), + ), +) + +FILES: StaticSchema = (16, n0, _Fi, 0, (_me,), ((3, 0),)) + +CODE_INTERPRETER_INVOCATION_INPUT: StaticSchema = ( + 18, + n0, + _CIII, + 0, + (_cod, _fil), + ((3, 0), (FILES, 0)), +) + +INVOCATION_TYPE: StaticSchema = ( + 14, + n0, + _IT, + 0, + (_AG, _KB, _FINISH, _AGCI, _AC__), + ( + (-1, {_sV: _AG}), + (-1, {_sV: _KB}), + (-1, {_sV: _FINISH}), + (-1, {_sV: _AGCI}), + (-1, {_sV: _AC__}), + ), +) + +TRACE_KNOWLEDGE_BASE_ID: StaticSchema = (3, n0, _TKBI, 4) + +KNOWLEDGE_BASE_LOOKUP_INPUT_STRING: StaticSchema = (3, n0, _KBLIS, 4) + +KNOWLEDGE_BASE_LOOKUP_INPUT: StaticSchema = ( + 18, + n0, + _KBLI, + 0, + (_te, _kBI), + ((KNOWLEDGE_BASE_LOOKUP_INPUT_STRING, 0), (TRACE_KNOWLEDGE_BASE_ID, 0)), +) + +INVOCATION_INPUT: StaticSchema = ( + 18, + n0, + _IInv, + 4, + (_tI, _iTn, _aGII, _kBLI, _cIII, _aCII), + ( + (lambda: schemas.TRACE_ID, 0), + (INVOCATION_TYPE, 0), + (lambda: schemas.ACTION_GROUP_INVOCATION_INPUT, 0), + (KNOWLEDGE_BASE_LOOKUP_INPUT, 0), + (CODE_INTERPRETER_INVOCATION_INPUT, 0), + (lambda: schemas.AGENT_COLLABORATOR_INVOCATION_INPUT, 0), + ), +) + +MODEL_IDENTIFIER: StaticSchema = (3, n0, _MI, 0) + +MAXIMUM_LENGTH: StaticSchema = (7, n0, _ML, 0) + +STOP_SEQUENCES: StaticSchema = (16, n0, _SS, 0, (_me,), ((3, 0),)) + +TEMPERATURE: StaticSchema = (9, n0, _T, 0) + +TOP_K: StaticSchema = (7, n0, _TK, 0) + +TOP_P: StaticSchema = (9, n0, _TP, 0) + +INFERENCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IC, + 0, + (_tem, _tPo, _tK, _mL, _sS), + ( + (TEMPERATURE, 0), + (TOP_P, 0), + (TOP_K, 0), + (MAXIMUM_LENGTH, 0), + (STOP_SEQUENCES, 0), + ), +) + +LAMBDA_ARN: StaticSchema = (3, n0, _LA, 0) + +CREATION_MODE: StaticSchema = ( + 14, + n0, + _CMr, + 0, + (_DEFAULT, _OVERRIDDEN), + ((-1, {_sV: _DEFAULT}), (-1, {_sV: _OVERRIDDEN})), +) + +PROMPT_TEXT: StaticSchema = (3, n0, _PTr, 4) + +PROMPT_TYPE: StaticSchema = ( + 14, + n0, + _PTro, + 0, + (_PP_, _ORCHESTRATION, _KBRG, _PP__, _RC_), + ( + (-1, {_sV: _PP_}), + (-1, {_sV: _ORCHESTRATION}), + (-1, {_sV: _KBRG}), + (-1, {_sV: _PP__}), + (-1, {_sV: _RC_}), + ), +) + +MODEL_INVOCATION_INPUT: StaticSchema = ( + 18, + n0, + _MII, + 4, + (_tI, _te, _t, _oL, _pCM, _iC, _pMa, _fM), + ( + (lambda: schemas.TRACE_ID, 0), + (PROMPT_TEXT, 0), + (PROMPT_TYPE, 0), + (LAMBDA_ARN, 0), + (CREATION_MODE, 0), + (INFERENCE_CONFIGURATION, 0), + (CREATION_MODE, 0), + (MODEL_IDENTIFIER, 0), + ), +) + +RAW_RESPONSE: StaticSchema = (18, n0, _RR, 4, (_co,), ((3, 0),)) + +REASONING_TEXT_BLOCK: StaticSchema = (18, n0, _RTB, 4, (_te, _si), ((3, 1), (3, 0))) + +REASONING_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _RCB, + 4, + (_rTe, _rCed), + ((REASONING_TEXT_BLOCK, 0), (1, 0)), +) + +ORCHESTRATION_MODEL_INVOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _OMIO, + 4, + (_tI, _rRa, _met, _rCea), + ( + (lambda: schemas.TRACE_ID, 0), + (RAW_RESPONSE, 0), + (lambda: schemas.METADATA, 0), + (REASONING_CONTENT_BLOCK, 0), + ), +) + +CODE_INTERPRETER_INVOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CIIO, + 0, + (_eO, _eE, _fil, _eTx, _met), + ((3, 0), (3, 0), (FILES, 0), (2, 0), (lambda: schemas.METADATA, 0)), +) + +FINAL_RESPONSE_STRING: StaticSchema = (3, n0, _FRSi, 4) + +FINAL_RESPONSE: StaticSchema = ( + 18, + n0, + _FRi, + 0, + (_te, _met), + ((FINAL_RESPONSE_STRING, 0), (lambda: schemas.METADATA, 0)), +) + +AUDIO_SEGMENT: StaticSchema = (18, n0, _AS, 0, (_sU, _tr), ((3, 1), (3, 0))) + +RETRIEVAL_RESULT_CONTENT_COLUMN_TYPE: StaticSchema = ( + 14, + n0, + _RRCCT, + 0, + (_BLOB, _BOOLEAN, _DOUBLE, _NULL, _LONG, _STRING), + ( + (-1, {_sV: _BLOB}), + (-1, {_sV: _BOOLEAN}), + (-1, {_sV: _DOUBLE}), + (-1, {_sV: _NULL}), + (-1, {_sV: _LONG}), + (-1, {_sV: _STRING}), + ), +) + +RETRIEVAL_RESULT_CONTENT_COLUMN: StaticSchema = ( + 18, + n0, + _RRCC, + 4, + (_cNo, _cV, _t), + ((3, 0), (3, 0), (RETRIEVAL_RESULT_CONTENT_COLUMN_TYPE, 0)), +) + +RETRIEVAL_RESULT_CONTENT_ROW: StaticSchema = ( + 16, + n0, + _RRCR, + 4, + (_me,), + ((RETRIEVAL_RESULT_CONTENT_COLUMN, 0),), +) + +RETRIEVAL_RESULT_CONTENT_TYPE: StaticSchema = ( + 14, + n0, + _RRCT, + 0, + (_TEXT, _IMAGE, _ROW, _AUDIO, _VIDEO), + ( + (-1, {_sV: _TEXT}), + (-1, {_sV: _IMAGE}), + (-1, {_sV: _ROW}), + (-1, {_sV: _AUDIO}), + (-1, {_sV: _VIDEO}), + ), +) + +VIDEO_SEGMENT: StaticSchema = (18, n0, _VS, 0, (_sU, _su), ((3, 1), (3, 0))) + +RETRIEVAL_RESULT_CONTENT: StaticSchema = ( + 18, + n0, + _RRC, + 4, + (_t, _te, _bC, _vi, _au, _row), + ( + (RETRIEVAL_RESULT_CONTENT_TYPE, 0), + (3, {_smit: _v_}), + (3, 0), + (VIDEO_SEGMENT, 0), + (AUDIO_SEGMENT, 0), + (RETRIEVAL_RESULT_CONTENT_ROW, 0), + ), +) + +RETRIEVAL_RESULT_CONFLUENCE_LOCATION: StaticSchema = ( + 18, + n0, + _RRCL, + 0, + (_ur,), + ((3, 0),), +) + +RETRIEVAL_RESULT_CUSTOM_DOCUMENT_LOCATION: StaticSchema = ( + 18, + n0, + _RRCDL, + 0, + (_id_,), + ((3, 0),), +) + +RETRIEVAL_RESULT_GOOGLE_DRIVE_LOCATION: StaticSchema = ( + 18, + n0, + _RRGDL, + 0, + (_ur,), + ((3, 0),), +) + +RETRIEVAL_RESULT_KENDRA_DOCUMENT_LOCATION: StaticSchema = ( + 18, + n0, + _RRKDL, + 0, + (_uri,), + ((3, 0),), +) + +RETRIEVAL_RESULT_ONE_DRIVE_LOCATION: StaticSchema = ( + 18, + n0, + _RRODL, + 0, + (_ur,), + ((3, 0),), +) + +RETRIEVAL_RESULT_S3_LOCATION: StaticSchema = (18, n0, _RRSL, 0, (_uri,), ((3, 0),)) + +RETRIEVAL_RESULT_SALESFORCE_LOCATION: StaticSchema = ( + 18, + n0, + _RRSLe, + 0, + (_ur,), + ((3, 0),), +) + +RETRIEVAL_RESULT_SHARE_POINT_LOCATION: StaticSchema = ( + 18, + n0, + _RRSPL, + 0, + (_ur,), + ((3, 0),), +) + +RETRIEVAL_RESULT_SQL_LOCATION: StaticSchema = (18, n0, _RRSLet, 0, (_q,), ((3, 0),)) + +RETRIEVAL_RESULT_LOCATION_TYPE: StaticSchema = ( + 14, + n0, + _RRLT, + 0, + ( + _S, + _WEB, + _CONFLUENCE, + _SALESFORCE, + _SHAREPOINT, + _CUSTOM, + _KENDRA, + _SQL, + _ONEDRIVE, + _GOOGLEDRIVE, + ), + ( + (-1, {_sV: _S}), + (-1, {_sV: _WEB}), + (-1, {_sV: _CONFLUENCE}), + (-1, {_sV: _SALESFORCE}), + (-1, {_sV: _SHAREPOINT}), + (-1, {_sV: _CUSTOM}), + (-1, {_sV: _KENDRA}), + (-1, {_sV: _SQL}), + (-1, {_sV: _ONEDRIVE}), + (-1, {_sV: _GOOGLEDRIVE}), + ), +) + +RETRIEVAL_RESULT_WEB_LOCATION: StaticSchema = (18, n0, _RRWL, 0, (_ur,), ((3, 0),)) + +RETRIEVAL_RESULT_LOCATION: StaticSchema = ( + 18, + n0, + _RRL, + 4, + (_t, _sL, _wL, _cL, _sLa, _sPL, _cDL, _kDL, _sLq, _oDL, _gDL), + ( + (RETRIEVAL_RESULT_LOCATION_TYPE, 1), + (RETRIEVAL_RESULT_S3_LOCATION, 0), + (RETRIEVAL_RESULT_WEB_LOCATION, 0), + (RETRIEVAL_RESULT_CONFLUENCE_LOCATION, 0), + (RETRIEVAL_RESULT_SALESFORCE_LOCATION, 0), + (RETRIEVAL_RESULT_SHARE_POINT_LOCATION, 0), + (RETRIEVAL_RESULT_CUSTOM_DOCUMENT_LOCATION, 0), + (RETRIEVAL_RESULT_KENDRA_DOCUMENT_LOCATION, 0), + (RETRIEVAL_RESULT_SQL_LOCATION, 0), + (RETRIEVAL_RESULT_ONE_DRIVE_LOCATION, 0), + (RETRIEVAL_RESULT_GOOGLE_DRIVE_LOCATION, 0), + ), +) + +RETRIEVAL_RESULT_METADATA_KEY: StaticSchema = (3, n0, _RRMK, 0) + +RETRIEVAL_RESULT_METADATA_VALUE: StaticSchema = (13, n0, _RRMV, 0) + +RETRIEVAL_RESULT_METADATA: StaticSchema = ( + 17, + n0, + _RRM, + 4, + (_k, _v), + ((RETRIEVAL_RESULT_METADATA_KEY, 0), (RETRIEVAL_RESULT_METADATA_VALUE, 0)), +) + +RETRIEVED_REFERENCE: StaticSchema = ( + 18, + n0, + _RRe, + 0, + (_co, _lo, _met), + ( + (RETRIEVAL_RESULT_CONTENT, 0), + (RETRIEVAL_RESULT_LOCATION, 0), + (RETRIEVAL_RESULT_METADATA, 0), + ), +) + +RETRIEVED_REFERENCES: StaticSchema = ( + 16, + n0, + _RRet, + 0, + (_me,), + ((RETRIEVED_REFERENCE, 0),), +) + +KNOWLEDGE_BASE_LOOKUP_OUTPUT: StaticSchema = ( + 18, + n0, + _KBLO, + 0, + (_rRe, _met), + ((RETRIEVED_REFERENCES, 0), (lambda: schemas.METADATA, 0)), +) + +SOURCE: StaticSchema = ( + 14, + n0, + _So, + 4, + (_AG, _KB, _PARSER), + ((-1, {_sV: _AG}), (-1, {_sV: _KB}), (-1, {_sV: _PARSER})), +) + +REPROMPT_RESPONSE: StaticSchema = (18, n0, _RRep, 4, (_te, _so), ((3, 0), (SOURCE, 0))) + +TYPE: StaticSchema = ( + 14, + n0, + _Ty, + 0, + (_AG, _AC__, _KB, _FINISH, _AU_, _REPROMPT), + ( + (-1, {_sV: _AG}), + (-1, {_sV: _AC__}), + (-1, {_sV: _KB}), + (-1, {_sV: _FINISH}), + (-1, {_sV: _AU_}), + (-1, {_sV: _REPROMPT}), + ), +) + +OBSERVATION: StaticSchema = ( + 18, + n0, + _O, + 4, + (_tI, _t, _aGIO, _aCIO, _kBLO, _fRi, _rRep, _cIIO), + ( + (lambda: schemas.TRACE_ID, 0), + (TYPE, 0), + (lambda: schemas.ACTION_GROUP_INVOCATION_OUTPUT, 0), + (lambda: schemas.AGENT_COLLABORATOR_INVOCATION_OUTPUT, 0), + (KNOWLEDGE_BASE_LOOKUP_OUTPUT, 0), + (FINAL_RESPONSE, 0), + (REPROMPT_RESPONSE, 0), + (CODE_INTERPRETER_INVOCATION_OUTPUT, 0), + ), +) + +RATIONALE_STRING: StaticSchema = (3, n0, _RSa, 4) + +RATIONALE: StaticSchema = ( + 18, + n0, + _Ra, + 4, + (_tI, _te), + ((lambda: schemas.TRACE_ID, 0), (RATIONALE_STRING, 0)), +) + +ORCHESTRATION_TRACE: StaticSchema = ( + 19, + n0, + _OT, + 4, + (_ra, _iInv, _ob, _mII, _mIO), + ( + (RATIONALE, 0), + (INVOCATION_INPUT, 0), + (OBSERVATION, 0), + (MODEL_INVOCATION_INPUT, 0), + (ORCHESTRATION_MODEL_INVOCATION_OUTPUT, 0), + ), +) + +OUTPUT_STRING: StaticSchema = (3, n0, _OS, 4) diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_3.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_3.py new file mode 100644 index 000000000..7c21391ce --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_3.py @@ -0,0 +1,1012 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentruntime" +_m = "message" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#sensitive" +_n = "name" +_t = "type" +_me = "member" +_co = "content" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_te = "text" +_met = "metadata" +_STRING = "STRING" +_NUMBER = "NUMBER" +_BOOLEAN = "BOOLEAN" +_ARRAY = "ARRAY" +_smi = "smithy.api#required" +_so = "source" +_aI = "agentId" +_cN = "collaboratorName" +_dI = "documentId" +_sIe = "sessionId" +_nT = "nextToken" +_SUCCEEDED = "SUCCEEDED" +_FAILED = "FAILED" +_sta = "status" +_ti = "timestamp" +_sSI = "smithy.synthetic#originalShapeId" +_smithy = "smithy.api#output" +_tI = "traceId" +_kBI = "knowledgeBaseId" +_rRa = "rawResponse" +_rCea = "reasoningContent" +_ra = "rationale" +_iInv = "invocationInput" +_ob = "observation" +_mII = "modelInvocationInput" +_mIO = "modelInvocationOutput" +_PPPR = "PostProcessingParsedResponse" +_PPMIO = "PostProcessingModelInvocationOutput" +_pR = "parsedResponse" +_PPT = "PostProcessingTrace" +_PPPRr = "PreProcessingParsedResponse" +_iV = "isValid" +_PPMIOr = "PreProcessingModelInvocationOutput" +_PPTr = "PreProcessingTrace" +_RCMIO = "RoutingClassifierModelInvocationOutput" +_RCT = "RoutingClassifierTrace" +_Tr = "Trace" +_gT = "guardrailTrace" +_pPT = "preProcessingTrace" +_oTr = "orchestrationTrace" +_pPTo = "postProcessingTrace" +_rCT = "routingClassifierTrace" +_fT = "failureTrace" +_cOT = "customOrchestrationTrace" +_TPr = "TracePart" +_tra = "trace" +_cCa = "callerChain" +_eTv = "eventTime" +_aAI = "agentAliasId" +_aV = "agentVersion" +_ATg = "AgentTraces" +_DSI = "DataSourceId" +_DIo = "DocumentId" +_KBIn = "KnowledgeBaseIdentifier" +_CIDAI = "CheckIngestedDocumentAclInput" +_cCIDAR = "com.amazonaws.bedrockagentruntime#CheckIngestedDocumentAclRequest" +_smithya = "smithy.api#input" +_sLm = "smithy.api#httpLabel" +_dSI = "dataSourceId" +_uC = "userContext" +_CIDAO = "CheckIngestedDocumentAclOutput" +_cCIDARo = "com.amazonaws.bedrockagentruntime#CheckIngestedDocumentAclResponse" +_hA = "hasAccess" +_CIDA = "CheckIngestedDocumentAcl" +_smithyap = "smithy.api#http" +_FEI = "FlowExecutionIdentifier" +_FAI = "FlowAliasIdentifier" +_FI = "FlowIdentifier" +_GEFSI = "GetExecutionFlowSnapshotInput" +_cGEFSR = "com.amazonaws.bedrockagentruntime#GetExecutionFlowSnapshotRequest" +_fI = "flowIdentifier" +_fAI = "flowAliasIdentifier" +_eIx = "executionIdentifier" +_FERA = "FlowExecutionRoleArn" +_Ve = "Version" +_GEFSO = "GetExecutionFlowSnapshotOutput" +_cGEFSRo = "com.amazonaws.bedrockagentruntime#GetExecutionFlowSnapshotResponse" +_fV = "flowVersion" +_eRA = "executionRoleArn" +_de = "definition" +_cEKA = "customerEncryptionKeyArn" +_GEFS = "GetExecutionFlowSnapshot" +_GFEI = "GetFlowExecutionInput" +_cGFER = "com.amazonaws.bedrockagentruntime#GetFlowExecutionRequest" +_FEET = "FlowExecutionErrorType" +_TO = "TIMED_OUT" +_ETO = "ExecutionTimedOut" +_NN = "NodeName" +_FEE = "FlowExecutionError" +_nN = "nodeName" +_er = "error" +_FEEl = "FlowExecutionErrors" +_FES = "FlowExecutionStatus" +_RUNNING = "RUNNING" +_Ru = "Running" +_Su = "Succeeded" +_Fa = "Failed" +_TOi = "TimedOut" +_ABORTED = "ABORTED" +_A = "Aborted" +_GFEO = "GetFlowExecutionOutput" +_cGFERo = "com.amazonaws.bedrockagentruntime#GetFlowExecutionResponse" +_eA = "executionArn" +_sA = "startedAt" +_eAn = "endedAt" +_err = "errors" +_GFE = "GetFlowExecution" +_FEETl = "FlowExecutionEventType" +_NODE = "NODE" +_No = "Node" +_FLOW = "FLOW" +_Fl = "Flow" +_LFEEI = "ListFlowExecutionEventsInput" +_cLFEER = "com.amazonaws.bedrockagentruntime#ListFlowExecutionEventsRequest" +_mRa = "maxResults" +_sQ = "smithy.api#httpQuery" +_eTve = "eventType" +_SCa = "SatisfiedCondition" +_cNon = "conditionName" +_SCat = "SatisfiedConditions" +_CRE = "ConditionResultEvent" +_sC = "satisfiedConditions" +_FEC = "FlowErrorCode" +_VALIDATION = "VALIDATION" +_IS = "INTERNAL_SERVER" +_NEF = "NODE_EXECUTION_FAILED" +_FFE = "FlowFailureEvent" +_eC = "errorCode" +_eM = "errorMessage" +_FECl = "FlowExecutionContent" +_doc = "document" +_NIN = "NodeInputName" +_FIF = "FlowInputField" +_FIFl = "FlowInputFields" +_FEIE = "FlowExecutionInputEvent" +_fie = "fields" +_NON = "NodeOutputName" +_FOF = "FlowOutputField" +_FOFl = "FlowOutputFields" +_FEOE = "FlowExecutionOutputEvent" +_NAE = "NodeActionEvent" +_rIe = "requestId" +_sN = "serviceName" +_oN = "operationName" +_oR = "operationRequest" +_oRp = "operationResponse" +_NTE = "NodeTraceElements" +_aT = "agentTraces" +_NDE = "NodeDependencyEvent" +_tEr = "traceElements" +_NEC = "NodeErrorCode" +_DF = "DEPENDENCY_FAILED" +_BG = "BAD_GATEWAY" +_NFE = "NodeFailureEvent" +_FNIC = "FlowNodeInputCategory" +_LC = "LOOP_CONDITION" +_LCo = "LoopCondition" +_RVTLS = "RETURN_VALUE_TO_LOOP_START" +_RVTLSe = "ReturnValueToLoopStart" +_EL = "EXIT_LOOP" +_ELx = "ExitLoop" +_NECo = "NodeExecutionContent" +_FCNT = "FlowControlNodeType" +_ITERATOR = "ITERATOR" +_I = "Iterator" +_LOOP = "LOOP" +_L = "Loop" +_NIECI = "NodeInputExecutionChainItem" +_ind = "index" +_NIEC = "NodeInputExecutionChain" +_FNIE = "FlowNodeInputExpression" +_FNON = "FlowNodeOutputName" +_NIS = "NodeInputSource" +_oFN = "outputFieldName" +_ex = "expression" +_FNIODT = "FlowNodeIODataType" +_St = "String" +_Nu = "Number" +_B = "Boolean" +_OBJECT = "OBJECT" +_Ob = "Object" +_Ar = "Array" +_NIF = "NodeInputField" +_ca = "category" +_eCx = "executionChain" +_NIFo = "NodeInputFields" +_NIE = "NodeInputEvent" +_FNIN = "FlowNodeInputName" +_NONo = "NodeOutputNext" +_iFN = "inputFieldName" +_NONL = "NodeOutputNextList" +_NOF = "NodeOutputField" +_ne = "next" +_NOFo = "NodeOutputFields" +_NOE = "NodeOutputEvent" +_FEElo = "FlowExecutionEvent" +_fIE = "flowInputEvent" +_fOE = "flowOutputEvent" +_nIE = "nodeInputEvent" +_nOE = "nodeOutputEvent" +_cRE = "conditionResultEvent" +_nFE = "nodeFailureEvent" +_fFE = "flowFailureEvent" +_nAE = "nodeActionEvent" +_nDE = "nodeDependencyEvent" +_FEElow = "FlowExecutionEvents" +_LFEEO = "ListFlowExecutionEventsOutput" +_cLFEERo = "com.amazonaws.bedrockagentruntime#ListFlowExecutionEventsResponse" +_fEE = "flowExecutionEvents" +_LFEE = "ListFlowExecutionEvents" +_LFEI = "ListFlowExecutionsInput" +_cLFER = "com.amazonaws.bedrockagentruntime#ListFlowExecutionsRequest" +_FESl = "FlowExecutionSummary" +_cA = "createdAt" +_FESlo = "FlowExecutionSummaries" +_LFEO = "ListFlowExecutionsOutput" +_cLFERo = "com.amazonaws.bedrockagentruntime#ListFlowExecutionsResponse" +_fES = "flowExecutionSummaries" +_LFE = "ListFlowExecutions" +_FEN = "FlowExecutionName" +_FIC = "FlowInputContent" + +POST_PROCESSING_PARSED_RESPONSE: StaticSchema = ( + 18, + n0, + _PPPR, + 4, + (_te,), + ((lambda: schemas.OUTPUT_STRING, 0),), +) + +POST_PROCESSING_MODEL_INVOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PPMIO, + 4, + (_tI, _pR, _rRa, _met, _rCea), + ( + (lambda: schemas.TRACE_ID, 0), + (POST_PROCESSING_PARSED_RESPONSE, 0), + (lambda: schemas.RAW_RESPONSE, 0), + (lambda: schemas.METADATA, 0), + (lambda: schemas.REASONING_CONTENT_BLOCK, 0), + ), +) + +POST_PROCESSING_TRACE: StaticSchema = ( + 19, + n0, + _PPT, + 4, + (_mII, _mIO), + ( + (lambda: schemas.MODEL_INVOCATION_INPUT, 0), + (POST_PROCESSING_MODEL_INVOCATION_OUTPUT, 0), + ), +) + +PRE_PROCESSING_PARSED_RESPONSE: StaticSchema = ( + 18, + n0, + _PPPRr, + 4, + (_ra, _iV), + ((lambda: schemas.RATIONALE_STRING, 0), (2, 0)), +) + +PRE_PROCESSING_MODEL_INVOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PPMIOr, + 4, + (_tI, _pR, _rRa, _met, _rCea), + ( + (lambda: schemas.TRACE_ID, 0), + (PRE_PROCESSING_PARSED_RESPONSE, 0), + (lambda: schemas.RAW_RESPONSE, 0), + (lambda: schemas.METADATA, 0), + (lambda: schemas.REASONING_CONTENT_BLOCK, 0), + ), +) + +PRE_PROCESSING_TRACE: StaticSchema = ( + 19, + n0, + _PPTr, + 4, + (_mII, _mIO), + ( + (lambda: schemas.MODEL_INVOCATION_INPUT, 0), + (PRE_PROCESSING_MODEL_INVOCATION_OUTPUT, 0), + ), +) + +ROUTING_CLASSIFIER_MODEL_INVOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _RCMIO, + 4, + (_tI, _rRa, _met), + ( + (lambda: schemas.TRACE_ID, 0), + (lambda: schemas.RAW_RESPONSE, 0), + (lambda: schemas.METADATA, 0), + ), +) + +ROUTING_CLASSIFIER_TRACE: StaticSchema = ( + 19, + n0, + _RCT, + 4, + (_iInv, _ob, _mII, _mIO), + ( + (lambda: schemas.INVOCATION_INPUT, 0), + (lambda: schemas.OBSERVATION, 0), + (lambda: schemas.MODEL_INVOCATION_INPUT, 0), + (ROUTING_CLASSIFIER_MODEL_INVOCATION_OUTPUT, 0), + ), +) + +TRACE: StaticSchema = ( + 19, + n0, + _Tr, + 4, + (_gT, _pPT, _oTr, _pPTo, _rCT, _fT, _cOT), + ( + (lambda: schemas.GUARDRAIL_TRACE, 0), + (PRE_PROCESSING_TRACE, 0), + (lambda: schemas.ORCHESTRATION_TRACE, 0), + (POST_PROCESSING_TRACE, 0), + (ROUTING_CLASSIFIER_TRACE, 0), + (lambda: schemas.FAILURE_TRACE, 0), + (lambda: schemas.CUSTOM_ORCHESTRATION_TRACE, 0), + ), +) + +TRACE_PART: StaticSchema = ( + 18, + n0, + _TPr, + 4, + (_sIe, _tra, _cCa, _eTv, _cN, _aI, _aAI, _aV), + ( + (lambda: schemas.SESSION_ID, 0), + (TRACE, 0), + (lambda: schemas.CALLER_CHAIN, 0), + (lambda: schemas.DATE_TIMESTAMP, {_sF: _dt}), + (lambda: schemas.NAME, 0), + (lambda: schemas.AGENT_ID, 0), + (lambda: schemas.AGENT_ALIAS_ID, 0), + (lambda: schemas.AGENT_VERSION, 0), + ), +) + +AGENT_TRACES: StaticSchema = (16, n0, _ATg, 0, (_me,), ((TRACE_PART, 0),)) + +DATA_SOURCE_ID: StaticSchema = (3, n0, _DSI, 0) + +DOCUMENT_ID: StaticSchema = (3, n0, _DIo, 0) + +KNOWLEDGE_BASE_IDENTIFIER: StaticSchema = (3, n0, _KBIn, 0) + +CHECK_INGESTED_DOCUMENT_ACL_INPUT: StaticSchema = ( + 18, + n0, + _CIDAI, + {_sSI: _cCIDAR, _smithya: None}, + (_kBI, _dSI, _dI, _uC), + ( + (KNOWLEDGE_BASE_IDENTIFIER, 9), + (DATA_SOURCE_ID, 9), + (DOCUMENT_ID, 1), + (lambda: schemas.USER_CONTEXT, 1), + ), +) + +CHECK_INGESTED_DOCUMENT_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _CIDAO, + {_sSI: _cCIDARo, _smithy: None}, + (_hA,), + ((2, 1),), +) + +CHECK_INGESTED_DOCUMENT_ACL: StaticOperationSchema = ( + 23, + n0, + _CIDA, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/check-ingested-document-acl", + } + ) + }, + CHECK_INGESTED_DOCUMENT_ACL_INPUT, + CHECK_INGESTED_DOCUMENT_ACL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_EXECUTION_IDENTIFIER: StaticSchema = (3, n0, _FEI, 0) + +FLOW_ALIAS_IDENTIFIER: StaticSchema = (3, n0, _FAI, 0) + +FLOW_IDENTIFIER: StaticSchema = (3, n0, _FI, 0) + +GET_EXECUTION_FLOW_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _GEFSI, + {_sSI: _cGEFSR, _smithya: None}, + (_fI, _fAI, _eIx), + ((FLOW_IDENTIFIER, 9), (FLOW_ALIAS_IDENTIFIER, 9), (FLOW_EXECUTION_IDENTIFIER, 9)), +) + +GET_EXECUTION_FLOW_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _GEFSO, + {_sSI: _cGEFSRo, _smithy: None}, + (_fI, _fAI, _fV, _eRA, _de, _cEKA), + ( + (FLOW_IDENTIFIER, 1), + (FLOW_ALIAS_IDENTIFIER, 1), + (lambda: VERSION, 1), + (lambda: FLOW_EXECUTION_ROLE_ARN, 1), + (3, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +GET_EXECUTION_FLOW_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _GEFS, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/flowsnapshot", + } + ) + }, + GET_EXECUTION_FLOW_SNAPSHOT_INPUT, + GET_EXECUTION_FLOW_SNAPSHOT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_EXECUTION_ROLE_ARN: StaticSchema = (3, n0, _FERA, 0) + +VERSION: StaticSchema = (3, n0, _Ve, 0) + +GET_FLOW_EXECUTION_INPUT: StaticSchema = ( + 18, + n0, + _GFEI, + {_sSI: _cGFER, _smithya: None}, + (_fI, _fAI, _eIx), + ((FLOW_IDENTIFIER, 9), (FLOW_ALIAS_IDENTIFIER, 9), (FLOW_EXECUTION_IDENTIFIER, 9)), +) + +GET_FLOW_EXECUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GFEO, + {_sSI: _cGFERo, _smithy: None}, + (_eA, _sta, _sA, _eAn, _err, _fAI, _fI, _fV), + ( + (FLOW_EXECUTION_IDENTIFIER, 1), + (lambda: FLOW_EXECUTION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + (lambda: FLOW_EXECUTION_ERRORS, 0), + (FLOW_ALIAS_IDENTIFIER, 1), + (FLOW_IDENTIFIER, 1), + (VERSION, 1), + ), +) + +GET_FLOW_EXECUTION: StaticOperationSchema = ( + 23, + n0, + _GFE, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}", + } + ) + }, + GET_FLOW_EXECUTION_INPUT, + GET_FLOW_EXECUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_EXECUTION_ERROR_TYPE: StaticSchema = ( + 14, + n0, + _FEET, + 0, + (_TO,), + ((-1, {_sV: _ETO}),), +) + +NODE_NAME: StaticSchema = (3, n0, _NN, 0) + +FLOW_EXECUTION_ERROR: StaticSchema = ( + 18, + n0, + _FEE, + 0, + (_nN, _er, _m), + ((NODE_NAME, 0), (FLOW_EXECUTION_ERROR_TYPE, 0), (3, 0)), +) + +FLOW_EXECUTION_ERRORS: StaticSchema = ( + 16, + n0, + _FEEl, + 0, + (_me,), + ((FLOW_EXECUTION_ERROR, 0),), +) + +FLOW_EXECUTION_STATUS: StaticSchema = ( + 14, + n0, + _FES, + 0, + (_RUNNING, _SUCCEEDED, _FAILED, _TO, _ABORTED), + ( + (-1, {_sV: _Ru}), + (-1, {_sV: _Su}), + (-1, {_sV: _Fa}), + (-1, {_sV: _TOi}), + (-1, {_sV: _A}), + ), +) + +FLOW_EXECUTION_EVENT_TYPE: StaticSchema = ( + 14, + n0, + _FEETl, + 0, + (_NODE, _FLOW), + ((-1, {_sV: _No}), (-1, {_sV: _Fl})), +) + +LIST_FLOW_EXECUTION_EVENTS_INPUT: StaticSchema = ( + 18, + n0, + _LFEEI, + {_sSI: _cLFEER, _smithya: None}, + (_fI, _fAI, _eIx, _mRa, _nT, _eTve), + ( + (FLOW_IDENTIFIER, 9), + (FLOW_ALIAS_IDENTIFIER, 9), + (FLOW_EXECUTION_IDENTIFIER, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mRa}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (FLOW_EXECUTION_EVENT_TYPE, {_sQ: _eTve, _smi: None}), + ), +) + +LIST_FLOW_EXECUTION_EVENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFEEO, + {_sSI: _cLFEERo, _smithy: None}, + (_fEE, _nT), + ((lambda: FLOW_EXECUTION_EVENTS, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_FLOW_EXECUTION_EVENTS: StaticOperationSchema = ( + 23, + n0, + _LFEE, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/events", + } + ) + }, + LIST_FLOW_EXECUTION_EVENTS_INPUT, + LIST_FLOW_EXECUTION_EVENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SATISFIED_CONDITION: StaticSchema = (18, n0, _SCa, 4, (_cNon,), ((3, 1),)) + +SATISFIED_CONDITIONS: StaticSchema = ( + 16, + n0, + _SCat, + 0, + (_me,), + ((SATISFIED_CONDITION, 0),), +) + +CONDITION_RESULT_EVENT: StaticSchema = ( + 18, + n0, + _CRE, + 4, + (_nN, _ti, _sC), + ((NODE_NAME, 1), (lambda: schemas.DATE_TIMESTAMP, 1), (SATISFIED_CONDITIONS, 1)), +) + +FLOW_ERROR_CODE: StaticSchema = ( + 14, + n0, + _FEC, + 0, + (_VALIDATION, _IS, _NEF), + ((-1, {_sV: _VALIDATION}), (-1, {_sV: _IS}), (-1, {_sV: _NEF})), +) + +FLOW_FAILURE_EVENT: StaticSchema = ( + 18, + n0, + _FFE, + 4, + (_ti, _eC, _eM), + ((lambda: schemas.DATE_TIMESTAMP, 1), (FLOW_ERROR_CODE, 1), (3, 1)), +) + +FLOW_EXECUTION_CONTENT: StaticSchema = (19, n0, _FECl, 4, (_doc,), ((13, 0),)) + +NODE_INPUT_NAME: StaticSchema = (3, n0, _NIN, 0) + +FLOW_INPUT_FIELD: StaticSchema = ( + 18, + n0, + _FIF, + 4, + (_n, _co), + ((NODE_INPUT_NAME, 1), (FLOW_EXECUTION_CONTENT, 1)), +) + +FLOW_INPUT_FIELDS: StaticSchema = (16, n0, _FIFl, 0, (_me,), ((FLOW_INPUT_FIELD, 0),)) + +FLOW_EXECUTION_INPUT_EVENT: StaticSchema = ( + 18, + n0, + _FEIE, + 4, + (_nN, _ti, _fie), + ((NODE_NAME, 1), (lambda: schemas.DATE_TIMESTAMP, 1), (FLOW_INPUT_FIELDS, 1)), +) + +NODE_OUTPUT_NAME: StaticSchema = (3, n0, _NON, 0) + +FLOW_OUTPUT_FIELD: StaticSchema = ( + 18, + n0, + _FOF, + 4, + (_n, _co), + ((NODE_OUTPUT_NAME, 1), (FLOW_EXECUTION_CONTENT, 1)), +) + +FLOW_OUTPUT_FIELDS: StaticSchema = (16, n0, _FOFl, 0, (_me,), ((FLOW_OUTPUT_FIELD, 0),)) + +FLOW_EXECUTION_OUTPUT_EVENT: StaticSchema = ( + 18, + n0, + _FEOE, + 4, + (_nN, _ti, _fie), + ((NODE_NAME, 1), (lambda: schemas.DATE_TIMESTAMP, 1), (FLOW_OUTPUT_FIELDS, 1)), +) + +NODE_ACTION_EVENT: StaticSchema = ( + 18, + n0, + _NAE, + 4, + (_nN, _ti, _rIe, _sN, _oN, _oR, _oRp), + ( + (NODE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (3, 1), + (3, 1), + (3, 1), + (13, 0), + (13, 0), + ), +) + +NODE_TRACE_ELEMENTS: StaticSchema = (19, n0, _NTE, 4, (_aT,), ((AGENT_TRACES, 0),)) + +NODE_DEPENDENCY_EVENT: StaticSchema = ( + 18, + n0, + _NDE, + 4, + (_nN, _ti, _tEr), + ((NODE_NAME, 1), (lambda: schemas.DATE_TIMESTAMP, 1), (NODE_TRACE_ELEMENTS, 1)), +) + +NODE_ERROR_CODE: StaticSchema = ( + 14, + n0, + _NEC, + 0, + (_VALIDATION, _DF, _BG, _IS), + ((-1, {_sV: _VALIDATION}), (-1, {_sV: _DF}), (-1, {_sV: _BG}), (-1, {_sV: _IS})), +) + +NODE_FAILURE_EVENT: StaticSchema = ( + 18, + n0, + _NFE, + 4, + (_nN, _ti, _eC, _eM), + ((NODE_NAME, 1), (lambda: schemas.DATE_TIMESTAMP, 1), (NODE_ERROR_CODE, 1), (3, 1)), +) + +FLOW_NODE_INPUT_CATEGORY: StaticSchema = ( + 14, + n0, + _FNIC, + 0, + (_LC, _RVTLS, _EL), + ((-1, {_sV: _LCo}), (-1, {_sV: _RVTLSe}), (-1, {_sV: _ELx})), +) + +NODE_EXECUTION_CONTENT: StaticSchema = (19, n0, _NECo, 4, (_doc,), ((13, 0),)) + +FLOW_CONTROL_NODE_TYPE: StaticSchema = ( + 14, + n0, + _FCNT, + 0, + (_ITERATOR, _LOOP), + ((-1, {_sV: _I}), (-1, {_sV: _L})), +) + +NODE_INPUT_EXECUTION_CHAIN_ITEM: StaticSchema = ( + 18, + n0, + _NIECI, + 0, + (_nN, _ind, _t), + ((NODE_NAME, 1), (7, 0), (FLOW_CONTROL_NODE_TYPE, 1)), +) + +NODE_INPUT_EXECUTION_CHAIN: StaticSchema = ( + 16, + n0, + _NIEC, + 0, + (_me,), + ((NODE_INPUT_EXECUTION_CHAIN_ITEM, 0),), +) + +FLOW_NODE_INPUT_EXPRESSION: StaticSchema = (3, n0, _FNIE, 4) + +FLOW_NODE_OUTPUT_NAME: StaticSchema = (3, n0, _FNON, 0) + +NODE_INPUT_SOURCE: StaticSchema = ( + 18, + n0, + _NIS, + 0, + (_nN, _oFN, _ex), + ((NODE_NAME, 1), (FLOW_NODE_OUTPUT_NAME, 1), (FLOW_NODE_INPUT_EXPRESSION, 1)), +) + +FLOW_NODE_IO_DATA_TYPE: StaticSchema = ( + 14, + n0, + _FNIODT, + 0, + (_STRING, _NUMBER, _BOOLEAN, _OBJECT, _ARRAY), + ( + (-1, {_sV: _St}), + (-1, {_sV: _Nu}), + (-1, {_sV: _B}), + (-1, {_sV: _Ob}), + (-1, {_sV: _Ar}), + ), +) + +NODE_INPUT_FIELD: StaticSchema = ( + 18, + n0, + _NIF, + 4, + (_n, _co, _so, _t, _ca, _eCx), + ( + (NODE_INPUT_NAME, 1), + (NODE_EXECUTION_CONTENT, 1), + (NODE_INPUT_SOURCE, 0), + (FLOW_NODE_IO_DATA_TYPE, 0), + (FLOW_NODE_INPUT_CATEGORY, 0), + (NODE_INPUT_EXECUTION_CHAIN, 0), + ), +) + +NODE_INPUT_FIELDS: StaticSchema = (16, n0, _NIFo, 0, (_me,), ((NODE_INPUT_FIELD, 0),)) + +NODE_INPUT_EVENT: StaticSchema = ( + 18, + n0, + _NIE, + 4, + (_nN, _ti, _fie), + ((NODE_NAME, 1), (lambda: schemas.DATE_TIMESTAMP, 1), (NODE_INPUT_FIELDS, 1)), +) + +FLOW_NODE_INPUT_NAME: StaticSchema = (3, n0, _FNIN, 0) + +NODE_OUTPUT_NEXT: StaticSchema = ( + 18, + n0, + _NONo, + 4, + (_nN, _iFN), + ((NODE_NAME, 1), (FLOW_NODE_INPUT_NAME, 1)), +) + +NODE_OUTPUT_NEXT_LIST: StaticSchema = ( + 16, + n0, + _NONL, + 0, + (_me,), + ((NODE_OUTPUT_NEXT, 0),), +) + +NODE_OUTPUT_FIELD: StaticSchema = ( + 18, + n0, + _NOF, + 4, + (_n, _co, _ne, _t), + ( + (NODE_OUTPUT_NAME, 1), + (NODE_EXECUTION_CONTENT, 1), + (NODE_OUTPUT_NEXT_LIST, 0), + (FLOW_NODE_IO_DATA_TYPE, 0), + ), +) + +NODE_OUTPUT_FIELDS: StaticSchema = (16, n0, _NOFo, 0, (_me,), ((NODE_OUTPUT_FIELD, 0),)) + +NODE_OUTPUT_EVENT: StaticSchema = ( + 18, + n0, + _NOE, + 4, + (_nN, _ti, _fie), + ((NODE_NAME, 1), (lambda: schemas.DATE_TIMESTAMP, 1), (NODE_OUTPUT_FIELDS, 1)), +) + +FLOW_EXECUTION_EVENT: StaticSchema = ( + 19, + n0, + _FEElo, + 0, + (_fIE, _fOE, _nIE, _nOE, _cRE, _nFE, _fFE, _nAE, _nDE), + ( + (FLOW_EXECUTION_INPUT_EVENT, 0), + (FLOW_EXECUTION_OUTPUT_EVENT, 0), + (NODE_INPUT_EVENT, 0), + (NODE_OUTPUT_EVENT, 0), + (CONDITION_RESULT_EVENT, 0), + (NODE_FAILURE_EVENT, 0), + (FLOW_FAILURE_EVENT, 0), + (NODE_ACTION_EVENT, 0), + (NODE_DEPENDENCY_EVENT, 0), + ), +) + +FLOW_EXECUTION_EVENTS: StaticSchema = ( + 16, + n0, + _FEElow, + 0, + (_me,), + ((FLOW_EXECUTION_EVENT, 0),), +) + +LIST_FLOW_EXECUTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LFEI, + {_sSI: _cLFER, _smithya: None}, + (_fI, _fAI, _mRa, _nT), + ( + (FLOW_IDENTIFIER, 9), + (FLOW_ALIAS_IDENTIFIER, {_sQ: _fAI}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mRa}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_FLOW_EXECUTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFEO, + {_sSI: _cLFERo, _smithy: None}, + (_fES, _nT), + ((lambda: FLOW_EXECUTION_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_FLOW_EXECUTIONS: StaticOperationSchema = ( + 23, + n0, + _LFE, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/flows/{flowIdentifier}/executions"} + ) + }, + LIST_FLOW_EXECUTIONS_INPUT, + LIST_FLOW_EXECUTIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_EXECUTION_SUMMARY: StaticSchema = ( + 18, + n0, + _FESl, + 0, + (_eA, _fAI, _fI, _fV, _sta, _cA, _eAn), + ( + (FLOW_EXECUTION_IDENTIFIER, 1), + (FLOW_ALIAS_IDENTIFIER, 1), + (FLOW_IDENTIFIER, 1), + (VERSION, 1), + (FLOW_EXECUTION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +FLOW_EXECUTION_SUMMARIES: StaticSchema = ( + 16, + n0, + _FESlo, + 0, + (_me,), + ((FLOW_EXECUTION_SUMMARY, 0),), +) + +FLOW_EXECUTION_NAME: StaticSchema = (3, n0, _FEN, 0) + +FLOW_INPUT_CONTENT: StaticSchema = (19, n0, _FIC, 4, (_doc,), ((13, 0),)) diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_4.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_4.py new file mode 100644 index 000000000..4bcc1322d --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_4.py @@ -0,0 +1,1092 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentruntime" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#sensitive" +_t = "type" +_me = "member" +_co = "content" +_te = "text" +_smi = "smithy.api#required" +_so = "source" +_TEXT = "TEXT" +_dI = "documentId" +_id_ = "id" +_smit = "smithy.api#default" +_ro = "role" +_mT = "mimeType" +_sta = "status" +_ti = "timestamp" +_smith = "smithy.api#streaming" +_iSE = "internalServerException" +_vE = "validationException" +_rNFE = "resourceNotFoundException" +_sQEE = "serviceQuotaExceededException" +_tEh = "throttlingException" +_aDE = "accessDeniedException" +_cEo = "conflictException" +_dFE = "dependencyFailedException" +_bGE = "badGatewayException" +_sSI = "smithy.synthetic#originalShapeId" +_smithy = "smithy.api#output" +_sP = "smithy.api#httpPayload" +_KB = "KNOWLEDGE_BASE" +_kBI = "knowledgeBaseId" +_tra = "trace" +_smithya = "smithy.api#input" +_sLm = "smithy.api#httpLabel" +_dSI = "dataSourceId" +_uC = "userContext" +_smithyap = "smithy.api#http" +_fI = "flowIdentifier" +_fAI = "flowAliasIdentifier" +_eIx = "executionIdentifier" +_nN = "nodeName" +_eA = "executionArn" +_cNon = "conditionName" +_sC = "satisfiedConditions" +_doc = "document" +_fie = "fields" +_rIe = "requestId" +_sN = "serviceName" +_oN = "operationName" +_oR = "operationRequest" +_oRp = "operationResponse" +_aT = "agentTraces" +_tEr = "traceElements" +_ind = "index" +_oFN = "outputFieldName" +_ex = "expression" +_ca = "category" +_eCx = "executionChain" +_iFN = "inputFieldName" +_ne = "next" +_fOE = "flowOutputEvent" +_FIl = "FlowInput" +_nON = "nodeOutputName" +_nIN = "nodeInputName" +_FIlo = "FlowInputs" +_PCL = "PerformanceConfigLatency" +_STANDARD = "STANDARD" +_stan = "standard" +_OPTIMIZED = "OPTIMIZED" +_opt = "optimized" +_PC = "PerformanceConfiguration" +_la = "latency" +_MPC = "ModelPerformanceConfiguration" +_pC = "performanceConfig" +_SFEI = "StartFlowExecutionInput" +_cSFER = "com.amazonaws.bedrockagentruntime#StartFlowExecutionRequest" +_fEN = "flowExecutionName" +_inp = "inputs" +_mPC = "modelPerformanceConfiguration" +_SFEO = "StartFlowExecutionOutput" +_cSFERo = "com.amazonaws.bedrockagentruntime#StartFlowExecutionResponse" +_SFE = "StartFlowExecution" +_SFEIt = "StopFlowExecutionInput" +_cSFERom = "com.amazonaws.bedrockagentruntime#StopFlowExecutionRequest" +_SFEOt = "StopFlowExecutionOutput" +_cSFERoma = "com.amazonaws.bedrockagentruntime#StopFlowExecutionResponse" +_SFEt = "StopFlowExecution" +_FEIl = "FlowExecutionId" +_IFI = "InvokeFlowInput" +_cIFR = "com.amazonaws.bedrockagentruntime#InvokeFlowRequest" +_eTna = "enableTrace" +_eIxe = "executionId" +_FCR = "FlowCompletionReason" +_SUCCESS = "SUCCESS" +_IR = "INPUT_REQUIRED" +_FCE = "FlowCompletionEvent" +_cR = "completionReason" +_FMTIC = "FlowMultiTurnInputContent" +_NTo = "NodeType" +_FIN = "FLOW_INPUT_NODE" +_FINl = "FlowInputNode" +_FON = "FLOW_OUTPUT_NODE" +_FONl = "FlowOutputNode" +_LFN = "LAMBDA_FUNCTION_NODE" +_LFNa = "LambdaFunctionNode" +_KBN = "KNOWLEDGE_BASE_NODE" +_KBNn = "KnowledgeBaseNode" +_PN_ = "PROMPT_NODE" +_PNr = "PromptNode" +_CN = "CONDITION_NODE" +_CNo = "ConditionNode" +_LN = "LEX_NODE" +_LNe = "LexNode" +_FMTIRE = "FlowMultiTurnInputRequestEvent" +_nTo = "nodeType" +_FOC = "FlowOutputContent" +_FOE = "FlowOutputEvent" +_FTC = "FlowTraceCondition" +_FTCl = "FlowTraceConditions" +_FTCNRE = "FlowTraceConditionNodeResultEvent" +_FTNAE = "FlowTraceNodeActionEvent" +_TEr = "TraceElements" +_FTDE = "FlowTraceDependencyEvent" +_FTNIC = "FlowTraceNodeInputContent" +_FTNIECI = "FlowTraceNodeInputExecutionChainItem" +_FTNIEC = "FlowTraceNodeInputExecutionChain" +_FTNIS = "FlowTraceNodeInputSource" +_FTNIF = "FlowTraceNodeInputField" +_FTNIFl = "FlowTraceNodeInputFields" +_FTNIE = "FlowTraceNodeInputEvent" +_FTNOC = "FlowTraceNodeOutputContent" +_FTNON = "FlowTraceNodeOutputNext" +_FTNONL = "FlowTraceNodeOutputNextList" +_FTNOF = "FlowTraceNodeOutputField" +_FTNOFl = "FlowTraceNodeOutputFields" +_FTNOE = "FlowTraceNodeOutputEvent" +_FTl = "FlowTrace" +_nIT = "nodeInputTrace" +_nOT = "nodeOutputTrace" +_cNRT = "conditionNodeResultTrace" +_nAT = "nodeActionTrace" +_nDT = "nodeDependencyTrace" +_FTE = "FlowTraceEvent" +_FRSl = "FlowResponseStream" +_fCE = "flowCompletionEvent" +_fTE = "flowTraceEvent" +_fMTIRE = "flowMultiTurnInputRequestEvent" +_IFO = "InvokeFlowOutput" +_cIFRo = "com.amazonaws.bedrockagentruntime#InvokeFlowResponse" +_rSe = "responseStream" +_sH = "smithy.api#httpHeader" +_xabfei = "x-amz-bedrock-flow-execution-id" +_IF = "InvokeFlow" +_IQT = "InputQueryType" +_QGI = "QueryGenerationInput" +_QTM = "QueryTransformationMode" +_TTS = "TEXT_TO_SQL" +_KBA = "KnowledgeBaseArn" +_TTSKBC = "TextToSqlKnowledgeBaseConfiguration" +_kBA = "knowledgeBaseArn" +_TTSCT = "TextToSqlConfigurationType" +_TTSC = "TextToSqlConfiguration" +_kBC = "knowledgeBaseConfiguration" +_TC = "TransformationConfiguration" +_mo = "mode" +_tTSC = "textToSqlConfiguration" +_GQI = "GenerateQueryInput" +_cGQR = "com.amazonaws.bedrockagentruntime#GenerateQueryRequest" +_qGI = "queryGenerationInput" +_tC = "transformationConfiguration" +_GQT = "GeneratedQueryType" +_RS_ = "REDSHIFT_SQL" +_GQ = "GeneratedQuery" +_sq = "sql" +_GQe = "GeneratedQueries" +_GQO = "GenerateQueryOutput" +_cGQRo = "com.amazonaws.bedrockagentruntime#GenerateQueryResponse" +_qu = "queries" +_GQen = "GenerateQuery" +_MIe = "MediaId" +_DOF = "DocumentOutputFormat" +_RAW = "RAW" +_EXTRACTED = "EXTRACTED" +_GDCI = "GetDocumentContentInput" +_cGDCR = "com.amazonaws.bedrockagentruntime#GetDocumentContentRequest" +_mIe = "mediaId" +_oF = "outputFormat" +_PU = "PresignedUrl" +_GDCO = "GetDocumentContentOutput" +_cGDCRo = "com.amazonaws.bedrockagentruntime#GetDocumentContentResponse" +_pU = "presignedUrl" +_dCL = "documentContentLength" +_GDC = "GetDocumentContent" +_GIDAI = "GetIngestedDocumentAclInput" +_cGIDAR = "com.amazonaws.bedrockagentruntime#GetIngestedDocumentAclRequest" +_DAMR = "DocumentAclMemberRelation" +_AND = "AND" +_OR = "OR" +_DAMT = "DocumentAclMembershipType" +_DS = "DATA_SOURCE" +_DAG = "DocumentAclGroup" +_DAGL = "DocumentAclGroupList" +_DAU = "DocumentAclUser" +_DAUL = "DocumentAclUserList" +_DAC = "DocumentAclCondition" +_cO = "conditionOperator" +_use = "users" +_gr = "groups" +_DACL = "DocumentAclConditionList" +_DAM = "DocumentAclMembership" +_mRe = "memberRelation" +_cond = "conditions" +_DA = "DocumentAcl" +_aL = "allowList" +_dL = "denyList" +_GIDAO = "GetIngestedDocumentAclOutput" +_cGIDARo = "com.amazonaws.bedrockagentruntime#GetIngestedDocumentAclResponse" +_dA = "documentAcl" +_GIDA = "GetIngestedDocumentAcl" +_BMC = "BedrockModelConfigurations" +_ITn = "InputText" +_PCC = "PromptCreationConfigurations" +_pCTTI = "previousConversationTurnsToInclude" +_ePTS = "excludePreviousThinkingSteps" +_CBo = "ContentBlock" +_CBon = "ContentBlocks" +_Me = "Message" +_Mes = "Messages" +_CH = "ConversationHistory" +_mes = "messages" + +FLOW_INPUT: StaticSchema = ( + 18, + n0, + _FIl, + 0, + (_nN, _nON, _co, _nIN), + ( + (lambda: schemas.NODE_NAME, 1), + (lambda: schemas.NODE_OUTPUT_NAME, 0), + (lambda: schemas.FLOW_INPUT_CONTENT, 1), + (lambda: schemas.NODE_INPUT_NAME, 0), + ), +) + +FLOW_INPUTS: StaticSchema = (16, n0, _FIlo, 0, (_me,), ((FLOW_INPUT, 0),)) + +PERFORMANCE_CONFIG_LATENCY: StaticSchema = ( + 14, + n0, + _PCL, + 0, + (_STANDARD, _OPTIMIZED), + ((-1, {_sV: _stan}), (-1, {_sV: _opt})), +) + +PERFORMANCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PC, + 0, + (_la,), + ((PERFORMANCE_CONFIG_LATENCY, {_smit: _stan}),), +) + +MODEL_PERFORMANCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MPC, + 0, + (_pC,), + ((PERFORMANCE_CONFIGURATION, 0),), +) + +START_FLOW_EXECUTION_INPUT: StaticSchema = ( + 18, + n0, + _SFEI, + {_sSI: _cSFER, _smithya: None}, + (_fI, _fAI, _fEN, _inp, _mPC), + ( + (lambda: schemas.FLOW_IDENTIFIER, 9), + (lambda: schemas.FLOW_ALIAS_IDENTIFIER, 9), + (lambda: schemas.FLOW_EXECUTION_NAME, 0), + (FLOW_INPUTS, 1), + (MODEL_PERFORMANCE_CONFIGURATION, 0), + ), +) + +START_FLOW_EXECUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _SFEO, + {_sSI: _cSFERo, _smithy: None}, + (_eA,), + ((lambda: schemas.FLOW_EXECUTION_IDENTIFIER, 0),), +) + +START_FLOW_EXECUTION: StaticOperationSchema = ( + 23, + n0, + _SFE, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions", + } + ) + }, + START_FLOW_EXECUTION_INPUT, + START_FLOW_EXECUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +STOP_FLOW_EXECUTION_INPUT: StaticSchema = ( + 18, + n0, + _SFEIt, + {_sSI: _cSFERom, _smithya: None}, + (_fI, _fAI, _eIx), + ( + (lambda: schemas.FLOW_IDENTIFIER, 9), + (lambda: schemas.FLOW_ALIAS_IDENTIFIER, 9), + (lambda: schemas.FLOW_EXECUTION_IDENTIFIER, 9), + ), +) + +STOP_FLOW_EXECUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _SFEOt, + {_sSI: _cSFERoma, _smithy: None}, + (_eA, _sta), + ( + (lambda: schemas.FLOW_EXECUTION_IDENTIFIER, 0), + (lambda: schemas.FLOW_EXECUTION_STATUS, 1), + ), +) + +STOP_FLOW_EXECUTION: StaticOperationSchema = ( + 23, + n0, + _SFEt, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/stop", + } + ) + }, + STOP_FLOW_EXECUTION_INPUT, + STOP_FLOW_EXECUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_EXECUTION_ID: StaticSchema = (3, n0, _FEIl, 0) + +INVOKE_FLOW_INPUT: StaticSchema = ( + 18, + n0, + _IFI, + {_sSI: _cIFR, _smithya: None}, + (_fI, _fAI, _inp, _eTna, _mPC, _eIxe), + ( + (lambda: schemas.FLOW_IDENTIFIER, 9), + (lambda: schemas.FLOW_ALIAS_IDENTIFIER, 9), + (FLOW_INPUTS, 1), + (2, 0), + (MODEL_PERFORMANCE_CONFIGURATION, 0), + (FLOW_EXECUTION_ID, 0), + ), +) + +INVOKE_FLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _IFO, + {_sSI: _cIFRo, _smithy: None}, + (_rSe, _eIxe), + ((lambda: FLOW_RESPONSE_STREAM, 17), (FLOW_EXECUTION_ID, {_sH: _xabfei})), +) + +INVOKE_FLOW: StaticOperationSchema = ( + 23, + n0, + _IF, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}", + } + ) + }, + INVOKE_FLOW_INPUT, + INVOKE_FLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_COMPLETION_REASON: StaticSchema = ( + 14, + n0, + _FCR, + 0, + (_SUCCESS, _IR), + ((-1, {_sV: _SUCCESS}), (-1, {_sV: _IR})), +) + +FLOW_COMPLETION_EVENT: StaticSchema = ( + 18, + n0, + _FCE, + 4, + (_cR,), + ((FLOW_COMPLETION_REASON, 1),), +) + +FLOW_MULTI_TURN_INPUT_CONTENT: StaticSchema = (19, n0, _FMTIC, 0, (_doc,), ((13, 0),)) + +NODE_TYPE: StaticSchema = ( + 14, + n0, + _NTo, + 0, + (_FIN, _FON, _LFN, _KBN, _PN_, _CN, _LN), + ( + (-1, {_sV: _FINl}), + (-1, {_sV: _FONl}), + (-1, {_sV: _LFNa}), + (-1, {_sV: _KBNn}), + (-1, {_sV: _PNr}), + (-1, {_sV: _CNo}), + (-1, {_sV: _LNe}), + ), +) + +FLOW_MULTI_TURN_INPUT_REQUEST_EVENT: StaticSchema = ( + 18, + n0, + _FMTIRE, + 4, + (_nN, _nTo, _co), + ( + (lambda: schemas.NODE_NAME, 1), + (NODE_TYPE, 1), + (FLOW_MULTI_TURN_INPUT_CONTENT, 1), + ), +) + +FLOW_OUTPUT_CONTENT: StaticSchema = (19, n0, _FOC, 0, (_doc,), ((13, 0),)) + +FLOW_OUTPUT_EVENT: StaticSchema = ( + 18, + n0, + _FOE, + 4, + (_nN, _nTo, _co), + ((lambda: schemas.NODE_NAME, 1), (NODE_TYPE, 1), (FLOW_OUTPUT_CONTENT, 1)), +) + +FLOW_TRACE_CONDITION: StaticSchema = (18, n0, _FTC, 4, (_cNon,), ((3, 1),)) + +FLOW_TRACE_CONDITIONS: StaticSchema = ( + 16, + n0, + _FTCl, + 0, + (_me,), + ((FLOW_TRACE_CONDITION, 0),), +) + +FLOW_TRACE_CONDITION_NODE_RESULT_EVENT: StaticSchema = ( + 18, + n0, + _FTCNRE, + 4, + (_nN, _ti, _sC), + ( + (lambda: schemas.NODE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (FLOW_TRACE_CONDITIONS, 1), + ), +) + +FLOW_TRACE_NODE_ACTION_EVENT: StaticSchema = ( + 18, + n0, + _FTNAE, + 4, + (_nN, _ti, _rIe, _sN, _oN, _oR, _oRp), + ( + (lambda: schemas.NODE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (3, 1), + (3, 1), + (3, 1), + (13, 0), + (13, 0), + ), +) + +TRACE_ELEMENTS: StaticSchema = ( + 19, + n0, + _TEr, + 4, + (_aT,), + ((lambda: schemas.AGENT_TRACES, 0),), +) + +FLOW_TRACE_DEPENDENCY_EVENT: StaticSchema = ( + 18, + n0, + _FTDE, + 4, + (_nN, _ti, _tEr), + ( + (lambda: schemas.NODE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (TRACE_ELEMENTS, 1), + ), +) + +FLOW_TRACE_NODE_INPUT_CONTENT: StaticSchema = (19, n0, _FTNIC, 4, (_doc,), ((13, 0),)) + +FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN_ITEM: StaticSchema = ( + 18, + n0, + _FTNIECI, + 4, + (_nN, _ind, _t), + ( + (lambda: schemas.NODE_NAME, 1), + (7, 0), + (lambda: schemas.FLOW_CONTROL_NODE_TYPE, 1), + ), +) + +FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN: StaticSchema = ( + 16, + n0, + _FTNIEC, + 4, + (_me,), + ((FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN_ITEM, 0),), +) + +FLOW_TRACE_NODE_INPUT_SOURCE: StaticSchema = ( + 18, + n0, + _FTNIS, + 4, + (_nN, _oFN, _ex), + ( + (lambda: schemas.NODE_NAME, 1), + (lambda: schemas.FLOW_NODE_OUTPUT_NAME, 1), + (lambda: schemas.FLOW_NODE_INPUT_EXPRESSION, 1), + ), +) + +FLOW_TRACE_NODE_INPUT_FIELD: StaticSchema = ( + 18, + n0, + _FTNIF, + 4, + (_nIN, _co, _so, _t, _ca, _eCx), + ( + (lambda: schemas.NODE_INPUT_NAME, 1), + (FLOW_TRACE_NODE_INPUT_CONTENT, 1), + (FLOW_TRACE_NODE_INPUT_SOURCE, 0), + (lambda: schemas.FLOW_NODE_IO_DATA_TYPE, 0), + (lambda: schemas.FLOW_NODE_INPUT_CATEGORY, 0), + (FLOW_TRACE_NODE_INPUT_EXECUTION_CHAIN, 0), + ), +) + +FLOW_TRACE_NODE_INPUT_FIELDS: StaticSchema = ( + 16, + n0, + _FTNIFl, + 0, + (_me,), + ((FLOW_TRACE_NODE_INPUT_FIELD, 0),), +) + +FLOW_TRACE_NODE_INPUT_EVENT: StaticSchema = ( + 18, + n0, + _FTNIE, + 4, + (_nN, _ti, _fie), + ( + (lambda: schemas.NODE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (FLOW_TRACE_NODE_INPUT_FIELDS, 1), + ), +) + +FLOW_TRACE_NODE_OUTPUT_CONTENT: StaticSchema = (19, n0, _FTNOC, 0, (_doc,), ((13, 0),)) + +FLOW_TRACE_NODE_OUTPUT_NEXT: StaticSchema = ( + 18, + n0, + _FTNON, + 4, + (_nN, _iFN), + ((lambda: schemas.NODE_NAME, 1), (lambda: schemas.FLOW_NODE_INPUT_NAME, 1)), +) + +FLOW_TRACE_NODE_OUTPUT_NEXT_LIST: StaticSchema = ( + 16, + n0, + _FTNONL, + 0, + (_me,), + ((FLOW_TRACE_NODE_OUTPUT_NEXT, 0),), +) + +FLOW_TRACE_NODE_OUTPUT_FIELD: StaticSchema = ( + 18, + n0, + _FTNOF, + 4, + (_nON, _co, _ne, _t), + ( + (lambda: schemas.NODE_OUTPUT_NAME, 1), + (FLOW_TRACE_NODE_OUTPUT_CONTENT, 1), + (FLOW_TRACE_NODE_OUTPUT_NEXT_LIST, 0), + (lambda: schemas.FLOW_NODE_IO_DATA_TYPE, 0), + ), +) + +FLOW_TRACE_NODE_OUTPUT_FIELDS: StaticSchema = ( + 16, + n0, + _FTNOFl, + 0, + (_me,), + ((FLOW_TRACE_NODE_OUTPUT_FIELD, 0),), +) + +FLOW_TRACE_NODE_OUTPUT_EVENT: StaticSchema = ( + 18, + n0, + _FTNOE, + 4, + (_nN, _ti, _fie), + ( + (lambda: schemas.NODE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (FLOW_TRACE_NODE_OUTPUT_FIELDS, 1), + ), +) + +FLOW_TRACE: StaticSchema = ( + 19, + n0, + _FTl, + 4, + (_nIT, _nOT, _cNRT, _nAT, _nDT), + ( + (FLOW_TRACE_NODE_INPUT_EVENT, 0), + (FLOW_TRACE_NODE_OUTPUT_EVENT, 0), + (FLOW_TRACE_CONDITION_NODE_RESULT_EVENT, 0), + (FLOW_TRACE_NODE_ACTION_EVENT, 0), + (FLOW_TRACE_DEPENDENCY_EVENT, 0), + ), +) + +FLOW_TRACE_EVENT: StaticSchema = (18, n0, _FTE, 0, (_tra,), ((FLOW_TRACE, 1),)) + +FLOW_RESPONSE_STREAM: StaticSchema = ( + 19, + n0, + _FRSl, + {_smith: None}, + (_fOE, _fCE, _fTE, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _fMTIRE), + ( + (FLOW_OUTPUT_EVENT, 0), + (FLOW_COMPLETION_EVENT, 0), + (FLOW_TRACE_EVENT, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, 0), + (lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (lambda: schemas.ACCESS_DENIED_EXCEPTION, 0), + (lambda: schemas.CONFLICT_EXCEPTION, 0), + (lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, 0), + (lambda: schemas.BAD_GATEWAY_EXCEPTION, 0), + (FLOW_MULTI_TURN_INPUT_REQUEST_EVENT, 0), + ), +) + +INPUT_QUERY_TYPE: StaticSchema = (14, n0, _IQT, 0, (_TEXT,), ((-1, {_sV: _TEXT}),)) + +QUERY_GENERATION_INPUT: StaticSchema = ( + 18, + n0, + _QGI, + 4, + (_t, _te), + ((INPUT_QUERY_TYPE, 1), (3, 1)), +) + +QUERY_TRANSFORMATION_MODE: StaticSchema = ( + 14, + n0, + _QTM, + 0, + (_TTS,), + ((-1, {_sV: _TTS}),), +) + +KNOWLEDGE_BASE_ARN: StaticSchema = (3, n0, _KBA, 0) + +TEXT_TO_SQL_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TTSKBC, + 0, + (_kBA,), + ((KNOWLEDGE_BASE_ARN, 1),), +) + +TEXT_TO_SQL_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _TTSCT, + 0, + (_KB,), + ((-1, {_sV: _KB}),), +) + +TEXT_TO_SQL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TTSC, + 0, + (_t, _kBC), + ( + (TEXT_TO_SQL_CONFIGURATION_TYPE, 1), + (TEXT_TO_SQL_KNOWLEDGE_BASE_CONFIGURATION, 0), + ), +) + +TRANSFORMATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TC, + 0, + (_mo, _tTSC), + ((QUERY_TRANSFORMATION_MODE, 1), (TEXT_TO_SQL_CONFIGURATION, 0)), +) + +GENERATE_QUERY_INPUT: StaticSchema = ( + 18, + n0, + _GQI, + {_sSI: _cGQR, _smithya: None}, + (_qGI, _tC), + ((QUERY_GENERATION_INPUT, 1), (TRANSFORMATION_CONFIGURATION, 1)), +) + +GENERATE_QUERY_OUTPUT: StaticSchema = ( + 18, + n0, + _GQO, + {_sSI: _cGQRo, _smithy: None}, + (_qu,), + ((lambda: GENERATED_QUERIES, 0),), +) + +GENERATE_QUERY: StaticOperationSchema = ( + 23, + n0, + _GQen, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/generateQuery"} + ) + }, + GENERATE_QUERY_INPUT, + GENERATE_QUERY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GENERATED_QUERY_TYPE: StaticSchema = (14, n0, _GQT, 0, (_RS_,), ((-1, {_sV: _RS_}),)) + +GENERATED_QUERY: StaticSchema = ( + 18, + n0, + _GQ, + 4, + (_t, _sq), + ((GENERATED_QUERY_TYPE, 0), (3, 0)), +) + +GENERATED_QUERIES: StaticSchema = (16, n0, _GQe, 0, (_me,), ((GENERATED_QUERY, 0),)) + +MEDIA_ID: StaticSchema = (3, n0, _MIe, 0) + +DOCUMENT_OUTPUT_FORMAT: StaticSchema = ( + 14, + n0, + _DOF, + 0, + (_RAW, _EXTRACTED), + ((-1, {_sV: _RAW}), (-1, {_sV: _EXTRACTED})), +) + +GET_DOCUMENT_CONTENT_INPUT: StaticSchema = ( + 18, + n0, + _GDCI, + {_sSI: _cGDCR, _smithya: None}, + (_kBI, _dSI, _dI, _mIe, _oF, _uC), + ( + (lambda: schemas.KNOWLEDGE_BASE_IDENTIFIER, 9), + (lambda: schemas.DATA_SOURCE_ID, 9), + (lambda: schemas.DOCUMENT_ID, 9), + (MEDIA_ID, 0), + (DOCUMENT_OUTPUT_FORMAT, 0), + (lambda: schemas.USER_CONTEXT, 0), + ), +) + +GET_DOCUMENT_CONTENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GDCO, + {_sSI: _cGDCRo, _smithy: None}, + (_mT, _pU, _dCL), + ((3, 1), (lambda: PRESIGNED_URL, 1), (8, 0)), +) + +GET_DOCUMENT_CONTENT: StaticOperationSchema = ( + 23, + n0, + _GDC, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/{documentId}/content", + } + ) + }, + GET_DOCUMENT_CONTENT_INPUT, + GET_DOCUMENT_CONTENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PRESIGNED_URL: StaticSchema = (3, n0, _PU, 4) + +GET_INGESTED_DOCUMENT_ACL_INPUT: StaticSchema = ( + 18, + n0, + _GIDAI, + {_sSI: _cGIDAR, _smithya: None}, + (_kBI, _dSI, _dI), + ( + (lambda: schemas.KNOWLEDGE_BASE_IDENTIFIER, 9), + (lambda: schemas.DATA_SOURCE_ID, 9), + (lambda: schemas.DOCUMENT_ID, 1), + ), +) + +GET_INGESTED_DOCUMENT_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _GIDAO, + {_sSI: _cGIDARo, _smithy: None}, + (_dA,), + ((lambda: DOCUMENT_ACL, 1),), +) + +GET_INGESTED_DOCUMENT_ACL: StaticOperationSchema = ( + 23, + n0, + _GIDA, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/get-ingested-document-acl", + } + ) + }, + GET_INGESTED_DOCUMENT_ACL_INPUT, + GET_INGESTED_DOCUMENT_ACL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DOCUMENT_ACL_MEMBER_RELATION: StaticSchema = ( + 14, + n0, + _DAMR, + 0, + (_AND, _OR), + ((-1, {_sV: _AND}), (-1, {_sV: _OR})), +) + +DOCUMENT_ACL_MEMBERSHIP_TYPE: StaticSchema = ( + 14, + n0, + _DAMT, + 0, + (_KB, _DS), + ((-1, {_sV: _KB}), (-1, {_sV: _DS})), +) + +DOCUMENT_ACL_GROUP: StaticSchema = ( + 18, + n0, + _DAG, + 0, + (_id_, _t), + ((3, 1), (DOCUMENT_ACL_MEMBERSHIP_TYPE, 1)), +) + +DOCUMENT_ACL_GROUP_LIST: StaticSchema = ( + 16, + n0, + _DAGL, + 0, + (_me,), + ((DOCUMENT_ACL_GROUP, 0),), +) + +DOCUMENT_ACL_USER: StaticSchema = ( + 18, + n0, + _DAU, + 0, + (_id_, _t), + ((3, 1), (DOCUMENT_ACL_MEMBERSHIP_TYPE, 1)), +) + +DOCUMENT_ACL_USER_LIST: StaticSchema = ( + 16, + n0, + _DAUL, + 0, + (_me,), + ((DOCUMENT_ACL_USER, 0),), +) + +DOCUMENT_ACL_CONDITION: StaticSchema = ( + 18, + n0, + _DAC, + 0, + (_cO, _use, _gr), + ( + (DOCUMENT_ACL_MEMBER_RELATION, 0), + (DOCUMENT_ACL_USER_LIST, 0), + (DOCUMENT_ACL_GROUP_LIST, 0), + ), +) + +DOCUMENT_ACL_CONDITION_LIST: StaticSchema = ( + 16, + n0, + _DACL, + 0, + (_me,), + ((DOCUMENT_ACL_CONDITION, 0),), +) + +DOCUMENT_ACL_MEMBERSHIP: StaticSchema = ( + 18, + n0, + _DAM, + 0, + (_mRe, _cond), + ((DOCUMENT_ACL_MEMBER_RELATION, 0), (DOCUMENT_ACL_CONDITION_LIST, 0)), +) + +DOCUMENT_ACL: StaticSchema = ( + 18, + n0, + _DA, + 4, + (_aL, _dL), + ((DOCUMENT_ACL_MEMBERSHIP, 0), (DOCUMENT_ACL_MEMBERSHIP, 0)), +) + +BEDROCK_MODEL_CONFIGURATIONS: StaticSchema = ( + 18, + n0, + _BMC, + 0, + (_pC,), + ((PERFORMANCE_CONFIGURATION, 0),), +) + +INPUT_TEXT: StaticSchema = (3, n0, _ITn, 4) + +PROMPT_CREATION_CONFIGURATIONS: StaticSchema = ( + 18, + n0, + _PCC, + 0, + (_pCTTI, _ePTS), + ((7, 0), (2, {_smit: False})), +) + +CONTENT_BLOCK: StaticSchema = (19, n0, _CBo, 4, (_te,), ((3, 0),)) + +CONTENT_BLOCKS: StaticSchema = (16, n0, _CBon, 0, (_me,), ((CONTENT_BLOCK, 0),)) + +MESSAGE: StaticSchema = ( + 18, + n0, + _Me, + 0, + (_ro, _co), + ((lambda: schemas.CONVERSATION_ROLE, 1), (CONTENT_BLOCKS, 1)), +) + +MESSAGES: StaticSchema = (16, n0, _Mes, 0, (_me,), ((MESSAGE, 0),)) + +CONVERSATION_HISTORY: StaticSchema = (18, n0, _CH, 0, (_mes,), ((MESSAGES, 0),)) diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_5.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_5.py new file mode 100644 index 000000000..baf4a3fd3 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_5.py @@ -0,0 +1,1040 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentruntime" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_sV = "smithy.api#enumValue" +_l = "lambda" +_sm = "smithy.api#sensitive" +_n = "name" +_t = "type" +_v = "value" +_me = "member" +_k = "key" +_iI = "invocationId" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_te = "text" +_STRING = "STRING" +_NUMBER = "NUMBER" +_BOOLEAN = "BOOLEAN" +_d = "description" +_smi = "smithy.api#required" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_by = "bytes" +_so = "source" +_aI = "agentId" +_rCIR = "returnControlInvocationResults" +_cN = "collaboratorName" +_iIn = "invocationInputs" +_mI = "memoryId" +_gV = "guardrailVersion" +_mA = "modelArn" +_mC = "modelConfiguration" +_CUSTOM = "CUSTOM" +_MANAGED = "MANAGED" +_BRM = "BEDROCK_RERANKING_MODEL" +_bRC = "bedrockRerankingConfiguration" +_NONE = "NONE" +_smit = "smithy.api#default" +_ci = "citations" +_DEFAULT = "DEFAULT" +_sIe = "sessionId" +_bC = "byteContent" +_smith = "smithy.api#streaming" +_iSE = "internalServerException" +_vE = "validationException" +_rNFE = "resourceNotFoundException" +_sQEE = "serviceQuotaExceededException" +_tEh = "throttlingException" +_aDE = "accessDeniedException" +_cEo = "conflictException" +_dFE = "dependencyFailedException" +_bGE = "badGatewayException" +_sSI = "smithy.synthetic#originalShapeId" +_smithy = "smithy.api#output" +_sP = "smithy.api#httpPayload" +_aAA = "agentAliasArn" +_fil = "files" +_oL = "overrideLambda" +_pCM = "promptCreationMode" +_iC = "inferenceConfiguration" +_pMa = "parserMode" +_fM = "foundationModel" +_uri = "uri" +_S = "S3" +_sL = "s3Location" +_rRe = "retrievedReferences" +_tra = "trace" +_cCa = "callerChain" +_eTv = "eventTime" +_aAI = "agentAliasId" +_smithya = "smithy.api#input" +_sLm = "smithy.api#httpLabel" +_smithyap = "smithy.api#http" +_cEKA = "customerEncryptionKeyArn" +_sQ = "smithy.api#httpQuery" +_pC = "performanceConfig" +_eTna = "enableTrace" +_sH = "smithy.api#httpHeader" +_MIem = "MemoryId" +_BCB = "ByteContentBlob" +_BCF = "ByteContentFile" +_mTe = "mediaType" +_da = "data" +_SOF = "S3ObjectFile" +_FST = "FileSourceType" +_BC = "BYTE_CONTENT" +_FSi = "FileSource" +_sTo = "sourceType" +_FUC = "FileUseCase" +_CI = "CODE_INTERPRETER" +_CHAT = "CHAT" +_IFn = "InputFile" +_uCs = "useCase" +_IFnp = "InputFiles" +_RMSM = "RerankingMetadataSelectionMode" +_SELECTIVE = "SELECTIVE" +_ALL = "ALL" +_FFR = "FieldForReranking" +_fN = "fieldName" +_FFRi = "FieldsForReranking" +_RMSMC = "RerankingMetadataSelectiveModeConfiguration" +_fTI = "fieldsToInclude" +_fTEi = "fieldsToExclude" +_MCFR = "MetadataConfigurationForReranking" +_sM = "selectionMode" +_sMC = "selectiveModeConfiguration" +_BRMA = "BedrockRerankingModelArn" +_MSBRMC = "ManagedSearchBedrockRerankingModelConfiguration" +_aMRF = "additionalModelRequestFields" +_MSBRC = "ManagedSearchBedrockRerankingConfiguration" +_nORR = "numberOfRerankedResults" +_mCe = "metadataConfiguration" +_MSRCT = "ManagedSearchRerankingConfigurationType" +_MSRC = "ManagedSearchRerankingConfiguration" +_RMT = "RerankingModelType" +_ATt = "AttributeType" +_SL = "STRING_LIST" +_MAS = "MetadataAttributeSchema" +_MASL = "MetadataAttributeSchemaList" +_IFC = "ImplicitFilterConfiguration" +_mAe = "metadataAttributes" +_ST = "SearchType" +_HYBRID = "HYBRID" +_SEMANTIC = "SEMANTIC" +_VSBRMC = "VectorSearchBedrockRerankingModelConfiguration" +_VSBRC = "VectorSearchBedrockRerankingConfiguration" +_VSRCT = "VectorSearchRerankingConfigurationType" +_VSRC = "VectorSearchRerankingConfiguration" +_PSAM = "PromptSessionAttributesMap" +_SAM = "SessionAttributesMap" +_AWSRARN = "AWSResourceARN" +_SCt = "StreamingConfigurations" +_sFR = "streamFinalResponse" +_aGI = "applyGuardrailInterval" +_Sp = "Span" +_star = "start" +_en = "end" +_TRP = "TextResponsePart" +_sp = "span" +_GRP = "GeneratedResponsePart" +_tRP = "textResponsePart" +_Ci = "Citation" +_gRP = "generatedResponsePart" +_Cit = "Citations" +_At = "Attribution" +_PB = "PartBody" +_PPa = "PayloadPart" +_att = "attribution" +_FB = "FileBody" +_OF = "OutputFile" +_OFu = "OutputFiles" +_FPi = "FilePart" +_MNRE = "ModelNotReadyException" +_RSe = "ResponseStream" +_ch = "chunk" +_rCetu = "returnControl" +_mNRE = "modelNotReadyException" +_IAO = "InvokeAgentOutput" +_cIAR = "com.amazonaws.bedrockagentruntime#InvokeAgentResponse" +_com = "completion" +_cT = "contentType" +_xabact = "x-amzn-bedrock-agent-content-type" +_xabasi = "x-amz-bedrock-agent-session-id" +_xabami = "x-amz-bedrock-agent-memory-id" +_IBMC = "InlineBedrockModelConfigurations" +_CIo = "CollaborationInstruction" +_RCH = "RelayConversationHistory" +_TC_ = "TO_COLLABORATOR" +_CCo = "CollaboratorConfiguration" +_cI = "collaboratorInstruction" +_rCH = "relayConversationHistory" +_CCol = "CollaboratorConfigurations" +_GIWA = "GuardrailIdentifierWithArn" +_GV = "GuardrailVersion" +_GCWA = "GuardrailConfigurationWithArn" +_gIu = "guardrailIdentifier" +_STTL = "SessionTTL" +_In = "Instruction" +_BPT = "BasePromptTemplate" +_PS = "PromptState" +_PCr = "PromptConfiguration" +_pT = "promptType" +_pS = "promptState" +_bPT = "basePromptTemplate" +_PCro = "PromptConfigurations" +_POC = "PromptOverrideConfiguration" +_pCr = "promptConfigurations" +_OE = "OrchestrationExecutor" +_CO = "CustomOrchestration" +_exe = "executor" +_ISS = "InlineSessionState" +_sAe = "sessionAttributes" +_pSA = "promptSessionAttributes" +_cH = "conversationHistory" +_OTr = "OrchestrationType" +_CO_ = "CUSTOM_ORCHESTRATION" +_IAPP = "InlineAgentPayloadPart" +_IAFP = "InlineAgentFilePart" +_IARCP = "InlineAgentReturnControlPayload" +_IATP = "InlineAgentTracePart" +_IARS = "InlineAgentResponseStream" +_IIAO = "InvokeInlineAgentOutput" +_cIIAR = "com.amazonaws.bedrockagentruntime#InvokeInlineAgentResponse" +_DAMI = "DeleteAgentMemoryInput" +_cDAMR = "com.amazonaws.bedrockagentruntime#DeleteAgentMemoryRequest" +_DAMO = "DeleteAgentMemoryOutput" +_cDAMRo = "com.amazonaws.bedrockagentruntime#DeleteAgentMemoryResponse" +_DAMe = "DeleteAgentMemory" +_MTe = "MemoryType" +_SS_ = "SESSION_SUMMARY" +_gC = "guardrailConfiguration" +_ins = "instruction" +_iSTTLIS = "idleSessionTTLInSeconds" +_aGc = "actionGroups" +_kBn = "knowledgeBases" +_pOC = "promptOverrideConfiguration" +_aC = "agentCollaboration" +_cCo = "collaboratorConfigurations" +_aN = "agentName" +_IAI = "InvokeAgentInput" +_cIARo = "com.amazonaws.bedrockagentruntime#InvokeAgentRequest" +_sSessi = "sessionState" +_eS = "endSession" +_iTnp = "inputText" +_bMC = "bedrockModelConfigurations" +_sCtr = "streamingConfigurations" +_pCC = "promptCreationConfigurations" +_sAo = "sourceArn" +_xasa = "x-amz-source-arn" +_IAn = "InvokeAgent" +_IIAI = "InvokeInlineAgentInput" +_cIIARo = "com.amazonaws.bedrockagentruntime#InvokeInlineAgentRequest" +_iSSn = "inlineSessionState" +_col = "collaborators" +_oTrc = "orchestrationType" +_cOu = "customOrchestration" +_IIA = "InvokeInlineAgent" + +MEMORY_ID: StaticSchema = (3, n0, _MIem, 0) + +BYTE_CONTENT_BLOB: StaticSchema = (1, n0, _BCB, 4) + +BYTE_CONTENT_FILE: StaticSchema = ( + 18, + n0, + _BCF, + 0, + (_mTe, _da), + ((lambda: schemas.MIME_TYPE, 1), (BYTE_CONTENT_BLOB, 1)), +) + +S3_OBJECT_FILE: StaticSchema = ( + 18, + n0, + _SOF, + 0, + (_uri,), + ((lambda: schemas.S3_URI, 1),), +) + +FILE_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _FST, + 0, + (_S, _BC), + ((-1, {_sV: _S}), (-1, {_sV: _BC})), +) + +FILE_SOURCE: StaticSchema = ( + 18, + n0, + _FSi, + 0, + (_sTo, _sL, _bC), + ((FILE_SOURCE_TYPE, 1), (S3_OBJECT_FILE, 0), (BYTE_CONTENT_FILE, 0)), +) + +FILE_USE_CASE: StaticSchema = ( + 14, + n0, + _FUC, + 0, + (_CI, _CHAT), + ((-1, {_sV: _CI}), (-1, {_sV: _CHAT})), +) + +INPUT_FILE: StaticSchema = ( + 18, + n0, + _IFn, + 0, + (_n, _so, _uCs), + ((3, 1), (FILE_SOURCE, 1), (FILE_USE_CASE, 1)), +) + +INPUT_FILES: StaticSchema = (16, n0, _IFnp, 0, (_me,), ((INPUT_FILE, 0),)) + +RERANKING_METADATA_SELECTION_MODE: StaticSchema = ( + 14, + n0, + _RMSM, + 0, + (_SELECTIVE, _ALL), + ((-1, {_sV: _SELECTIVE}), (-1, {_sV: _ALL})), +) + +FIELD_FOR_RERANKING: StaticSchema = (18, n0, _FFR, 0, (_fN,), ((3, 1),)) + +FIELDS_FOR_RERANKING: StaticSchema = ( + 16, + n0, + _FFRi, + 4, + (_me,), + ((FIELD_FOR_RERANKING, 0),), +) + +RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _RMSMC, + 0, + (_fTI, _fTEi), + ((FIELDS_FOR_RERANKING, 0), (FIELDS_FOR_RERANKING, 0)), +) + +METADATA_CONFIGURATION_FOR_RERANKING: StaticSchema = ( + 18, + n0, + _MCFR, + 0, + (_sM, _sMC), + ( + (RERANKING_METADATA_SELECTION_MODE, 1), + (RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION, 0), + ), +) + +BEDROCK_RERANKING_MODEL_ARN: StaticSchema = (3, n0, _BRMA, 0) + +MANAGED_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MSBRMC, + 0, + (_mA, _aMRF), + ( + (BEDROCK_RERANKING_MODEL_ARN, 1), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + ), +) + +MANAGED_SEARCH_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MSBRC, + 0, + (_mC, _nORR, _mCe), + ( + (MANAGED_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1), + (7, 0), + (METADATA_CONFIGURATION_FOR_RERANKING, 0), + ), +) + +MANAGED_SEARCH_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _MSRCT, + 0, + (_BRM,), + ((-1, {_sV: _BRM}),), +) + +MANAGED_SEARCH_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MSRC, + 0, + (_t, _bRC), + ( + (MANAGED_SEARCH_RERANKING_CONFIGURATION_TYPE, 1), + (MANAGED_SEARCH_BEDROCK_RERANKING_CONFIGURATION, 0), + ), +) + +RERANKING_MODEL_TYPE: StaticSchema = ( + 14, + n0, + _RMT, + 0, + (_CUSTOM, _MANAGED, _NONE), + ((-1, {_sV: _CUSTOM}), (-1, {_sV: _MANAGED}), (-1, {_sV: _NONE})), +) + +ATTRIBUTE_TYPE: StaticSchema = ( + 14, + n0, + _ATt, + 0, + (_STRING, _NUMBER, _BOOLEAN, _SL), + ( + (-1, {_sV: _STRING}), + (-1, {_sV: _NUMBER}), + (-1, {_sV: _BOOLEAN}), + (-1, {_sV: _SL}), + ), +) + +METADATA_ATTRIBUTE_SCHEMA: StaticSchema = ( + 18, + n0, + _MAS, + 4, + (_k, _t, _d), + ((3, 1), (ATTRIBUTE_TYPE, 1), (3, 1)), +) + +METADATA_ATTRIBUTE_SCHEMA_LIST: StaticSchema = ( + 16, + n0, + _MASL, + 0, + (_me,), + ((METADATA_ATTRIBUTE_SCHEMA, 0),), +) + +IMPLICIT_FILTER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IFC, + 0, + (_mAe, _mA), + ((METADATA_ATTRIBUTE_SCHEMA_LIST, 1), (lambda: schemas.BEDROCK_MODEL_ARN, 1)), +) + +SEARCH_TYPE: StaticSchema = ( + 14, + n0, + _ST, + 0, + (_HYBRID, _SEMANTIC), + ((-1, {_sV: _HYBRID}), (-1, {_sV: _SEMANTIC})), +) + +VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSBRMC, + 0, + (_mA, _aMRF), + ( + (BEDROCK_RERANKING_MODEL_ARN, 1), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + ), +) + +VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSBRC, + 0, + (_mC, _nORR, _mCe), + ( + (VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1), + (7, 0), + (METADATA_CONFIGURATION_FOR_RERANKING, 0), + ), +) + +VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _VSRCT, + 0, + (_BRM,), + ((-1, {_sV: _BRM}),), +) + +VECTOR_SEARCH_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSRC, + 0, + (_t, _bRC), + ( + (VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE, 1), + (VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION, 0), + ), +) + +PROMPT_SESSION_ATTRIBUTES_MAP: StaticSchema = ( + 17, + n0, + _PSAM, + 0, + (_k, _v), + ((3, 0), (3, 0)), +) + +SESSION_ATTRIBUTES_MAP: StaticSchema = (17, n0, _SAM, 0, (_k, _v), ((3, 0), (3, 0))) + +AWS_RESOURCE_ARN: StaticSchema = (3, n0, _AWSRARN, 0) + +STREAMING_CONFIGURATIONS: StaticSchema = ( + 18, + n0, + _SCt, + 0, + (_sFR, _aGI), + ((2, {_smit: False}), (7, 0)), +) + +SPAN: StaticSchema = (18, n0, _Sp, 0, (_star, _en), ((7, 0), (7, 0))) + +TEXT_RESPONSE_PART: StaticSchema = (18, n0, _TRP, 4, (_te, _sp), ((3, 0), (SPAN, 0))) + +GENERATED_RESPONSE_PART: StaticSchema = ( + 18, + n0, + _GRP, + 0, + (_tRP,), + ((TEXT_RESPONSE_PART, 0),), +) + +CITATION: StaticSchema = ( + 18, + n0, + _Ci, + 0, + (_gRP, _rRe), + ((GENERATED_RESPONSE_PART, 0), (lambda: schemas.RETRIEVED_REFERENCES, 0)), +) + +CITATIONS: StaticSchema = (16, n0, _Cit, 0, (_me,), ((CITATION, 0),)) + +ATTRIBUTION: StaticSchema = (18, n0, _At, 0, (_ci,), ((CITATIONS, 0),)) + +PART_BODY: StaticSchema = (1, n0, _PB, 4) + +PAYLOAD_PART: StaticSchema = ( + 18, + n0, + _PPa, + 4, + (_by, _att), + ((PART_BODY, 0), (ATTRIBUTION, 0)), +) + +FILE_BODY: StaticSchema = (1, n0, _FB, 4) + +OUTPUT_FILE: StaticSchema = ( + 18, + n0, + _OF, + 4, + (_n, _t, _by), + ((3, 0), (lambda: schemas.MIME_TYPE, 0), (FILE_BODY, 0)), +) + +OUTPUT_FILES: StaticSchema = (16, n0, _OFu, 0, (_me,), ((OUTPUT_FILE, 0),)) + +FILE_PART: StaticSchema = (18, n0, _FPi, 0, (_fil,), ((OUTPUT_FILES, 0),)) + +MODEL_NOT_READY_EXCEPTION: StaticSchema = ( + 18, + n0, + _MNRE, + {_s: _c, _sE: 424}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +RESPONSE_STREAM: StaticSchema = ( + 19, + n0, + _RSe, + {_smith: None}, + ( + _ch, + _tra, + _rCetu, + _iSE, + _vE, + _rNFE, + _sQEE, + _tEh, + _aDE, + _cEo, + _dFE, + _bGE, + _mNRE, + _fil, + ), + ( + (PAYLOAD_PART, 0), + (lambda: schemas.TRACE_PART, 0), + (lambda: schemas.RETURN_CONTROL_PAYLOAD, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, 0), + (lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (lambda: schemas.ACCESS_DENIED_EXCEPTION, 0), + (lambda: schemas.CONFLICT_EXCEPTION, 0), + (lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, 0), + (lambda: schemas.BAD_GATEWAY_EXCEPTION, 0), + (MODEL_NOT_READY_EXCEPTION, 0), + (FILE_PART, 0), + ), +) + +INVOKE_AGENT_OUTPUT: StaticSchema = ( + 18, + n0, + _IAO, + {_sSI: _cIAR, _smithy: None}, + (_com, _cT, _sIe, _mI), + ( + (RESPONSE_STREAM, 17), + (lambda: schemas.MIME_TYPE, {_sH: _xabact, _smi: None}), + (lambda: schemas.SESSION_ID, {_sH: _xabasi, _smi: None}), + (MEMORY_ID, {_sH: _xabami}), + ), +) + +INVOKE_AGENT_INPUT: StaticSchema = ( + 18, + n0, + _IAI, + {_sSI: _cIARo, _smithya: None}, + (_sSessi, _aI, _aAI, _sIe, _eS, _eTna, _iTnp, _mI, _bMC, _sCtr, _pCC, _sAo), + ( + (lambda: schemas.SESSION_STATE, 0), + (lambda: schemas.AGENT_ID, 9), + (lambda: schemas.AGENT_ALIAS_ID, 9), + (lambda: schemas.SESSION_ID, 9), + (2, 0), + (2, 0), + (lambda: schemas.INPUT_TEXT, 0), + (MEMORY_ID, 0), + (lambda: schemas.BEDROCK_MODEL_CONFIGURATIONS, 0), + (STREAMING_CONFIGURATIONS, 0), + (lambda: schemas.PROMPT_CREATION_CONFIGURATIONS, 0), + (AWS_RESOURCE_ARN, {_sH: _xasa}), + ), +) + +INVOKE_AGENT: StaticOperationSchema = ( + 23, + n0, + _IAn, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/agents/{agentId}/agentAliases/{agentAliasId}/sessions/{sessionId}/text", + } + ) + }, + INVOKE_AGENT_INPUT, + INVOKE_AGENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + MODEL_NOT_READY_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INLINE_BEDROCK_MODEL_CONFIGURATIONS: StaticSchema = ( + 18, + n0, + _IBMC, + 0, + (_pC,), + ((lambda: schemas.PERFORMANCE_CONFIGURATION, 0),), +) + +COLLABORATION_INSTRUCTION: StaticSchema = (3, n0, _CIo, 4) + +RELAY_CONVERSATION_HISTORY: StaticSchema = ( + 14, + n0, + _RCH, + 0, + (_TC_, _DISABLED), + ((-1, {_sV: _TC_}), (-1, {_sV: _DISABLED})), +) + +COLLABORATOR_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CCo, + 0, + (_cN, _cI, _aAA, _rCH), + ( + (lambda: schemas.NAME, 1), + (COLLABORATION_INSTRUCTION, 1), + (lambda: schemas.AGENT_ALIAS_ARN, 0), + (RELAY_CONVERSATION_HISTORY, 0), + ), +) + +COLLABORATOR_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _CCol, + 0, + (_me,), + ((COLLABORATOR_CONFIGURATION, 0),), +) + +GUARDRAIL_IDENTIFIER_WITH_ARN: StaticSchema = (3, n0, _GIWA, 0) + +GUARDRAIL_VERSION: StaticSchema = (3, n0, _GV, 0) + +GUARDRAIL_CONFIGURATION_WITH_ARN: StaticSchema = ( + 18, + n0, + _GCWA, + 0, + (_gIu, _gV), + ((GUARDRAIL_IDENTIFIER_WITH_ARN, 1), (GUARDRAIL_VERSION, 1)), +) + +SESSION_TTL: StaticSchema = (7, n0, _STTL, 0) + +INSTRUCTION: StaticSchema = (3, n0, _In, 4) + +BASE_PROMPT_TEMPLATE: StaticSchema = (3, n0, _BPT, 4) + +PROMPT_STATE: StaticSchema = ( + 14, + n0, + _PS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +PROMPT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCr, + 0, + (_pT, _pCM, _pS, _bPT, _iC, _pMa, _fM, _aMRF), + ( + (lambda: schemas.PROMPT_TYPE, 0), + (lambda: schemas.CREATION_MODE, 0), + (PROMPT_STATE, 0), + (BASE_PROMPT_TEMPLATE, 0), + (lambda: schemas.INFERENCE_CONFIGURATION, 0), + (lambda: schemas.CREATION_MODE, 0), + (lambda: schemas.MODEL_IDENTIFIER, 0), + (13, 0), + ), +) + +PROMPT_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _PCro, + 0, + (_me,), + ((PROMPT_CONFIGURATION, 0),), +) + +PROMPT_OVERRIDE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _POC, + 4, + (_pCr, _oL), + ((PROMPT_CONFIGURATIONS, 1), (lambda: schemas.LAMBDA_RESOURCE_ARN, 0)), +) + +ORCHESTRATION_EXECUTOR: StaticSchema = ( + 19, + n0, + _OE, + 0, + (_l,), + ((lambda: schemas.LAMBDA_ARN, 0),), +) + +CUSTOM_ORCHESTRATION: StaticSchema = ( + 18, + n0, + _CO, + 0, + (_exe,), + ((ORCHESTRATION_EXECUTOR, 0),), +) + +INLINE_SESSION_STATE: StaticSchema = ( + 18, + n0, + _ISS, + 0, + (_sAe, _pSA, _rCIR, _iI, _fil, _cH), + ( + (SESSION_ATTRIBUTES_MAP, 0), + (PROMPT_SESSION_ATTRIBUTES_MAP, 0), + (lambda: schemas.RETURN_CONTROL_INVOCATION_RESULTS, 0), + (3, 0), + (INPUT_FILES, 0), + (lambda: schemas.CONVERSATION_HISTORY, 0), + ), +) + +ORCHESTRATION_TYPE: StaticSchema = ( + 14, + n0, + _OTr, + 0, + (_DEFAULT, _CO_), + ((-1, {_sV: _DEFAULT}), (-1, {_sV: _CO_})), +) + +INLINE_AGENT_PAYLOAD_PART: StaticSchema = ( + 18, + n0, + _IAPP, + 4, + (_by, _att), + ((PART_BODY, 0), (ATTRIBUTION, 0)), +) + +INLINE_AGENT_FILE_PART: StaticSchema = (18, n0, _IAFP, 0, (_fil,), ((OUTPUT_FILES, 0),)) + +INLINE_AGENT_RETURN_CONTROL_PAYLOAD: StaticSchema = ( + 18, + n0, + _IARCP, + 4, + (_iIn, _iI), + ((lambda: schemas.INVOCATION_INPUTS, 0), (3, 0)), +) + +INLINE_AGENT_TRACE_PART: StaticSchema = ( + 18, + n0, + _IATP, + 4, + (_sIe, _tra, _cCa, _eTv, _cN), + ( + (lambda: schemas.SESSION_ID, 0), + (lambda: schemas.TRACE, 0), + (lambda: schemas.CALLER_CHAIN, 0), + (lambda: schemas.DATE_TIMESTAMP, {_sF: _dt}), + (lambda: schemas.NAME, 0), + ), +) + +INLINE_AGENT_RESPONSE_STREAM: StaticSchema = ( + 19, + n0, + _IARS, + {_smith: None}, + (_ch, _tra, _rCetu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE, _fil), + ( + (INLINE_AGENT_PAYLOAD_PART, 0), + (INLINE_AGENT_TRACE_PART, 0), + (INLINE_AGENT_RETURN_CONTROL_PAYLOAD, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, 0), + (lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (lambda: schemas.ACCESS_DENIED_EXCEPTION, 0), + (lambda: schemas.CONFLICT_EXCEPTION, 0), + (lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, 0), + (lambda: schemas.BAD_GATEWAY_EXCEPTION, 0), + (INLINE_AGENT_FILE_PART, 0), + ), +) + +INVOKE_INLINE_AGENT_OUTPUT: StaticSchema = ( + 18, + n0, + _IIAO, + {_sSI: _cIIAR, _smithy: None}, + (_com, _cT, _sIe), + ( + (INLINE_AGENT_RESPONSE_STREAM, 17), + (lambda: schemas.MIME_TYPE, {_sH: _xabact, _smi: None}), + (lambda: schemas.SESSION_ID, {_sH: _xabasi, _smi: None}), + ), +) + +INVOKE_INLINE_AGENT_INPUT: StaticSchema = ( + 18, + n0, + _IIAI, + {_sSI: _cIIARo, _smithya: None}, + ( + _cEKA, + _fM, + _ins, + _iSTTLIS, + _aGc, + _kBn, + _gC, + _pOC, + _aC, + _cCo, + _aN, + _sIe, + _eS, + _eTna, + _iTnp, + _sCtr, + _pCC, + _iSSn, + _col, + _bMC, + _oTrc, + _cOu, + ), + ( + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.MODEL_IDENTIFIER, 1), + (INSTRUCTION, 1), + (SESSION_TTL, 0), + (lambda: schemas.AGENT_ACTION_GROUPS, 0), + (lambda: schemas.KNOWLEDGE_BASES, 0), + (GUARDRAIL_CONFIGURATION_WITH_ARN, 0), + (PROMPT_OVERRIDE_CONFIGURATION, 0), + (lambda: schemas.AGENT_COLLABORATION, 0), + (COLLABORATOR_CONFIGURATIONS, 0), + (lambda: schemas.NAME, 0), + (lambda: schemas.SESSION_ID, 9), + (2, 0), + (2, 0), + (lambda: schemas.INPUT_TEXT, 0), + (STREAMING_CONFIGURATIONS, 0), + (lambda: schemas.PROMPT_CREATION_CONFIGURATIONS, 0), + (INLINE_SESSION_STATE, 0), + (lambda: schemas.COLLABORATORS, 0), + (INLINE_BEDROCK_MODEL_CONFIGURATIONS, 0), + (ORCHESTRATION_TYPE, 0), + (CUSTOM_ORCHESTRATION, 0), + ), +) + +INVOKE_INLINE_AGENT: StaticOperationSchema = ( + 23, + n0, + _IIA, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/agents/{sessionId}"} + ) + }, + INVOKE_INLINE_AGENT_INPUT, + INVOKE_INLINE_AGENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_AGENT_MEMORY_INPUT: StaticSchema = ( + 18, + n0, + _DAMI, + {_sSI: _cDAMR, _smithya: None}, + (_aI, _aAI, _mI, _sIe), + ( + (lambda: schemas.AGENT_ID, 9), + (lambda: schemas.AGENT_ALIAS_ID, 9), + (MEMORY_ID, {_sQ: _mI}), + (lambda: schemas.SESSION_ID, {_sQ: _sIe}), + ), +) + +DELETE_AGENT_MEMORY_OUTPUT: StaticSchema = ( + 18, + n0, + _DAMO, + {_sSI: _cDAMRo, _smithy: None}, +) + +DELETE_AGENT_MEMORY: StaticOperationSchema = ( + 23, + n0, + _DAMe, + { + _smithyap: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/agents/{agentId}/agentAliases/{agentAliasId}/memories", + } + ) + }, + DELETE_AGENT_MEMORY_INPUT, + DELETE_AGENT_MEMORY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEMORY_TYPE: StaticSchema = (14, n0, _MTe, 0, (_SS_,), ((-1, {_sV: _SS_}),)) diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_6.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_6.py new file mode 100644 index 000000000..5611b1015 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_6.py @@ -0,0 +1,1049 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentruntime" +_m = "message" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#sensitive" +_t = "type" +_v = "value" +_me = "member" +_k = "key" +_co = "content" +_te = "text" +_met = "metadata" +_smi = "smithy.api#required" +_pn = "png" +_j = "jpeg" +_g = "gif" +_w = "webp" +_fo = "format" +_aI = "agentId" +_TEXT = "TEXT" +_in = "input" +_o = "output" +_id = "identifier" +_dI = "documentId" +_mI = "memoryId" +_gI = "guardrailId" +_gV = "guardrailVersion" +_mA = "modelArn" +_mC = "modelConfiguration" +_BRM = "BEDROCK_RERANKING_MODEL" +_bRC = "bedrockRerankingConfiguration" +_NONE = "NONE" +_smit = "smithy.api#default" +_rCe = "rerankingConfiguration" +_ci = "citations" +_INTERVENED = "INTERVENED" +_ac = "action" +_sIe = "sessionId" +_bC = "byteContent" +_res = "results" +_nT = "nextToken" +_gu = "guardrail" +_smith = "smithy.api#streaming" +_iSE = "internalServerException" +_vE = "validationException" +_rNFE = "resourceNotFoundException" +_sQEE = "serviceQuotaExceededException" +_tEh = "throttlingException" +_aDE = "accessDeniedException" +_cEo = "conflictException" +_dFE = "dependencyFailedException" +_bGE = "badGatewayException" +_sSI = "smithy.synthetic#originalShapeId" +_smithy = "smithy.api#output" +_str = "stream" +_sP = "smithy.api#httpPayload" +_KB = "KNOWLEDGE_BASE" +_kBI = "knowledgeBaseId" +_tem = "temperature" +_tPo = "topP" +_sS = "stopSequences" +_IMAGE = "IMAGE" +_v_ = "" +_uri = "uri" +_S = "S3" +_sL = "s3Location" +_lo = "location" +_rRe = "retrievedReferences" +_aAI = "agentAliasId" +_smithya = "smithy.api#input" +_sLm = "smithy.api#httpLabel" +_uC = "userContext" +_smithyap = "smithy.api#http" +_sQ = "smithy.api#httpQuery" +_doc = "document" +_ind = "index" +_cA = "createdAt" +_pC = "performanceConfig" +_sH = "smithy.api#httpHeader" +_qu = "queries" +_da = "data" +_BC = "BYTE_CONTENT" +_sTo = "sourceType" +_aMRF = "additionalModelRequestFields" +_gRP = "generatedResponsePart" +_cT = "contentType" +_GAMI = "GetAgentMemoryInput" +_cGAMR = "com.amazonaws.bedrockagentruntime#GetAgentMemoryRequest" +_mIa = "maxItems" +_mTem = "memoryType" +_STu = "SummaryText" +_MSS = "MemorySessionSummary" +_sST = "sessionStartTime" +_sET = "sessionExpiryTime" +_sTu = "summaryText" +_Mem = "Memory" +_sSe = "sessionSummary" +_Memo = "Memories" +_GAMO = "GetAgentMemoryOutput" +_cGAMRo = "com.amazonaws.bedrockagentruntime#GetAgentMemoryResponse" +_mCem = "memoryContents" +_GAM = "GetAgentMemory" +_TPe = "TextPrompt" +_IPn = "InputPrompt" +_tPe = "textPrompt" +_OPI = "OptimizePromptInput" +_cOPR = "com.amazonaws.bedrockagentruntime#OptimizePromptRequest" +_tMI = "targetModelId" +_APE = "AnalyzePromptEvent" +_OP = "OptimizedPrompt" +_OPE = "OptimizedPromptEvent" +_oP = "optimizedPrompt" +_OPS = "OptimizedPromptStream" +_oPE = "optimizedPromptEvent" +_aPE = "analyzePromptEvent" +_OPO = "OptimizePromptOutput" +_cOPRo = "com.amazonaws.bedrockagentruntime#OptimizePromptResponse" +_OPp = "OptimizePrompt" +_RTD = "RerankTextDocument" +_RQCT = "RerankQueryContentType" +_RQ = "RerankQuery" +_tQ = "textQuery" +_RQL = "RerankQueriesList" +_BRMC = "BedrockRerankingModelConfiguration" +_BRC = "BedrockRerankingConfiguration" +_nOR = "numberOfResults" +_RCTe = "RerankingConfigurationType" +_RCer = "RerankingConfiguration" +_RDT = "RerankDocumentType" +_JSON = "JSON" +_RDe = "RerankDocument" +_tD = "textDocument" +_jD = "jsonDocument" +_RST = "RerankSourceType" +_INLINE = "INLINE" +_RSer = "RerankSource" +_iDS = "inlineDocumentSource" +_RSL = "RerankSourcesList" +_RI = "RerankInput" +_cRR = "com.amazonaws.bedrockagentruntime#RerankRequest" +_sou = "sources" +_RRer = "RerankResult" +_rSel = "relevanceScore" +_RRLe = "RerankResultsList" +_RO = "RerankOutput" +_cRRo = "com.amazonaws.bedrockagentruntime#RerankResponse" +_Re = "Rerank" +_RAGI = "RetrieveAndGenerateInput" +_GC = "GuardrailConfiguration" +_MTa = "MaxTokens" +_RAGSS = "RAGStopSequences" +_TIC = "TextInferenceConfig" +_mTa = "maxTokens" +_ICn = "InferenceConfig" +_tIC = "textInferenceConfig" +_TPT = "TextPromptTemplate" +_PTrom = "PromptTemplate" +_tPT = "textPromptTemplate" +_ESGC = "ExternalSourcesGenerationConfiguration" +_pTr = "promptTemplate" +_gC = "guardrailConfiguration" +_iCn = "inferenceConfig" +_CT = "ContentType" +_Id = "Identifier" +_BCD = "ByteContentDoc" +_SOD = "S3ObjectDoc" +_EST = "ExternalSourceType" +_ES = "ExternalSource" +_ESx = "ExternalSources" +_ESRAGC = "ExternalSourcesRetrieveAndGenerateConfiguration" +_gCe = "generationConfiguration" +_GCe = "GenerationConfiguration" +_QTT = "QueryTransformationType" +_QD = "QUERY_DECOMPOSITION" +_QTC = "QueryTransformationConfiguration" +_OC = "OrchestrationConfiguration" +_qTC = "queryTransformationConfiguration" +_RAGT = "RetrieveAndGenerateType" +_ES_ = "EXTERNAL_SOURCES" +_RAGSC = "RetrieveAndGenerateSessionConfiguration" +_kKA = "kmsKeyArn" +_GAua = "GuadrailAction" +_RAGO = "RetrieveAndGenerateOutput" +_RAGOO = "RetrieveAndGenerateOperationOutput" +_cRAGR = "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateResponse" +_gA = "guardrailAction" +_CEi = "CitationEvent" +_cit = "citation" +_GE = "GuardrailEvent" +_RAGOE = "RetrieveAndGenerateOutputEvent" +_RAGSRO = "RetrieveAndGenerateStreamResponseOutput" +_RAGSO = "RetrieveAndGenerateStreamOutput" +_cRAGSR = "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateStreamResponse" +_xabkbsi = "x-amzn-bedrock-knowledge-base-session-id" +_IIFn = "InputImageFormat" +_IInp = "InputImage" +_iCnl = "inlineContent" +_KBQT = "KnowledgeBaseQueryType" +_KBQ = "KnowledgeBaseQuery" +_ima = "image" +_KBRR = "KnowledgeBaseRetrievalResult" +_sc = "score" +_KBRRn = "KnowledgeBaseRetrievalResults" +_ROe = "RetrieveOutput" +_cRRom = "com.amazonaws.bedrockagentruntime#RetrieveResponse" +_rRet = "retrievalResults" +_SMK = "SessionMetadataKey" +_SMV = "SessionMetadataValue" +_SMM = "SessionMetadataMap" +_TV = "TagValue" +_TM = "TagsMap" +_CSI = "CreateSessionInput" +_cCSR = "com.amazonaws.bedrockagentruntime#CreateSessionRequest" +_sMe = "sessionMetadata" +_eKA = "encryptionKeyArn" +_ta = "tags" +_CSO = "CreateSessionOutput" +_cCSRo = "com.amazonaws.bedrockagentruntime#CreateSessionResponse" +_sAes = "sessionArn" +_sSes = "sessionStatus" +_CSr = "CreateSession" +_rCetr = "retrievalConfiguration" +_RIe = "RetrieveInput" +_cRRoma = "com.amazonaws.bedrockagentruntime#RetrieveRequest" +_rQ = "retrievalQuery" +_Ret = "Retrieve" +_RAGOI = "RetrieveAndGenerateOperationInput" +_cRAGRo = "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateRequest" +_rAGC = "retrieveAndGenerateConfiguration" +_sCe = "sessionConfiguration" +_RAGSI = "RetrieveAndGenerateStreamInput" +_cRAGSRo = "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateStreamRequest" +_RAG = "RetrieveAndGenerate" +_RAGS = "RetrieveAndGenerateStream" + +GET_AGENT_MEMORY_INPUT: StaticSchema = ( + 18, + n0, + _GAMI, + {_sSI: _cGAMR, _smithya: None}, + (_nT, _mIa, _aI, _aAI, _mTem, _mI), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mIa}), + (lambda: schemas.AGENT_ID, 9), + (lambda: schemas.AGENT_ALIAS_ID, 9), + (lambda: schemas.MEMORY_TYPE, {_sQ: _mTem, _smi: None}), + (lambda: schemas.MEMORY_ID, {_sQ: _mI, _smi: None}), + ), +) + +GET_AGENT_MEMORY_OUTPUT: StaticSchema = ( + 18, + n0, + _GAMO, + {_sSI: _cGAMRo, _smithy: None}, + (_nT, _mCem), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: MEMORIES, 0)), +) + +GET_AGENT_MEMORY: StaticOperationSchema = ( + 23, + n0, + _GAM, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/agents/{agentId}/agentAliases/{agentAliasId}/memories", + } + ) + }, + GET_AGENT_MEMORY_INPUT, + GET_AGENT_MEMORY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SUMMARY_TEXT: StaticSchema = (3, n0, _STu, 0) + +MEMORY_SESSION_SUMMARY: StaticSchema = ( + 18, + n0, + _MSS, + 0, + (_mI, _sIe, _sST, _sET, _sTu), + ( + (lambda: schemas.MEMORY_ID, 0), + (lambda: schemas.SESSION_ID, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + (SUMMARY_TEXT, 0), + ), +) + +MEMORY: StaticSchema = (19, n0, _Mem, 0, (_sSe,), ((MEMORY_SESSION_SUMMARY, 0),)) + +MEMORIES: StaticSchema = (16, n0, _Memo, 0, (_me,), ((MEMORY, 0),)) + +TEXT_PROMPT: StaticSchema = (18, n0, _TPe, 4, (_te,), ((3, 1),)) + +INPUT_PROMPT: StaticSchema = (19, n0, _IPn, 0, (_tPe,), ((TEXT_PROMPT, 0),)) + +OPTIMIZE_PROMPT_INPUT: StaticSchema = ( + 18, + n0, + _OPI, + {_sSI: _cOPR, _smithya: None}, + (_in, _tMI), + ((INPUT_PROMPT, 1), (3, 1)), +) + +OPTIMIZE_PROMPT_OUTPUT: StaticSchema = ( + 18, + n0, + _OPO, + {_sSI: _cOPRo, _smithy: None}, + (_oP,), + ((lambda: OPTIMIZED_PROMPT_STREAM, 17),), +) + +OPTIMIZE_PROMPT: StaticOperationSchema = ( + 23, + n0, + _OPp, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/optimize-prompt"} + ) + }, + OPTIMIZE_PROMPT_INPUT, + OPTIMIZE_PROMPT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ANALYZE_PROMPT_EVENT: StaticSchema = (18, n0, _APE, 4, (_m,), ((3, 0),)) + +OPTIMIZED_PROMPT: StaticSchema = (19, n0, _OP, 0, (_tPe,), ((TEXT_PROMPT, 0),)) + +OPTIMIZED_PROMPT_EVENT: StaticSchema = ( + 18, + n0, + _OPE, + 4, + (_oP,), + ((OPTIMIZED_PROMPT, 0),), +) + +OPTIMIZED_PROMPT_STREAM: StaticSchema = ( + 19, + n0, + _OPS, + {_smith: None}, + (_oPE, _aPE, _iSE, _tEh, _vE, _dFE, _aDE, _bGE), + ( + (OPTIMIZED_PROMPT_EVENT, 0), + (ANALYZE_PROMPT_EVENT, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, 0), + (lambda: schemas.ACCESS_DENIED_EXCEPTION, 0), + (lambda: schemas.BAD_GATEWAY_EXCEPTION, 0), + ), +) + +RERANK_TEXT_DOCUMENT: StaticSchema = (18, n0, _RTD, 4, (_te,), ((3, 0),)) + +RERANK_QUERY_CONTENT_TYPE: StaticSchema = ( + 14, + n0, + _RQCT, + 0, + (_TEXT,), + ((-1, {_sV: _TEXT}),), +) + +RERANK_QUERY: StaticSchema = ( + 18, + n0, + _RQ, + 4, + (_t, _tQ), + ((RERANK_QUERY_CONTENT_TYPE, 1), (RERANK_TEXT_DOCUMENT, 1)), +) + +RERANK_QUERIES_LIST: StaticSchema = (16, n0, _RQL, 4, (_me,), ((RERANK_QUERY, 0),)) + +BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BRMC, + 0, + (_mA, _aMRF), + ( + (lambda: schemas.BEDROCK_MODEL_ARN, 1), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + ), +) + +BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BRC, + 0, + (_nOR, _mC), + ((7, 0), (BEDROCK_RERANKING_MODEL_CONFIGURATION, 1)), +) + +RERANKING_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _RCTe, + 0, + (_BRM,), + ((-1, {_sV: _BRM}),), +) + +RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RCer, + 0, + (_t, _bRC), + ((RERANKING_CONFIGURATION_TYPE, 1), (BEDROCK_RERANKING_CONFIGURATION, 1)), +) + +RERANK_DOCUMENT_TYPE: StaticSchema = ( + 14, + n0, + _RDT, + 0, + (_TEXT, _JSON), + ((-1, {_sV: _TEXT}), (-1, {_sV: _JSON})), +) + +RERANK_DOCUMENT: StaticSchema = ( + 18, + n0, + _RDe, + 4, + (_t, _tD, _jD), + ((RERANK_DOCUMENT_TYPE, 1), (RERANK_TEXT_DOCUMENT, 0), (13, 0)), +) + +RERANK_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _RST, + 0, + (_INLINE,), + ((-1, {_sV: _INLINE}),), +) + +RERANK_SOURCE: StaticSchema = ( + 18, + n0, + _RSer, + 4, + (_t, _iDS), + ((RERANK_SOURCE_TYPE, 1), (RERANK_DOCUMENT, 1)), +) + +RERANK_SOURCES_LIST: StaticSchema = (16, n0, _RSL, 4, (_me,), ((RERANK_SOURCE, 0),)) + +RERANK_INPUT: StaticSchema = ( + 18, + n0, + _RI, + {_sSI: _cRR, _smithya: None}, + (_qu, _sou, _rCe, _nT), + ( + (RERANK_QUERIES_LIST, 1), + (RERANK_SOURCES_LIST, 1), + (RERANKING_CONFIGURATION, 1), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +RERANK_OUTPUT: StaticSchema = ( + 18, + n0, + _RO, + {_sSI: _cRRo, _smithy: None}, + (_res, _nT), + ((lambda: RERANK_RESULTS_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +RERANK: StaticOperationSchema = ( + 23, + n0, + _Re, + {_smithyap: MappingProxyType({"code": 200, "method": "POST", "uri": "/rerank"})}, + RERANK_INPUT, + RERANK_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RERANK_RESULT: StaticSchema = ( + 18, + n0, + _RRer, + 0, + (_ind, _rSel, _doc), + ((7, 1), (9, 1), (RERANK_DOCUMENT, 0)), +) + +RERANK_RESULTS_LIST: StaticSchema = (16, n0, _RRLe, 0, (_me,), ((RERANK_RESULT, 0),)) + +RETRIEVE_AND_GENERATE_INPUT: StaticSchema = (18, n0, _RAGI, 4, (_te,), ((3, 1),)) + +GUARDRAIL_CONFIGURATION: StaticSchema = (18, n0, _GC, 0, (_gI, _gV), ((3, 1), (3, 1))) + +MAX_TOKENS: StaticSchema = (7, n0, _MTa, 0) + +RAG_STOP_SEQUENCES: StaticSchema = (16, n0, _RAGSS, 0, (_me,), ((3, 0),)) + +TEXT_INFERENCE_CONFIG: StaticSchema = ( + 18, + n0, + _TIC, + 0, + (_tem, _tPo, _mTa, _sS), + ( + (lambda: schemas.TEMPERATURE, 0), + (lambda: schemas.TOP_P, 0), + (MAX_TOKENS, 0), + (RAG_STOP_SEQUENCES, 0), + ), +) + +INFERENCE_CONFIG: StaticSchema = ( + 18, + n0, + _ICn, + 0, + (_tIC,), + ((TEXT_INFERENCE_CONFIG, 0),), +) + +TEXT_PROMPT_TEMPLATE: StaticSchema = (3, n0, _TPT, 4) + +PROMPT_TEMPLATE: StaticSchema = ( + 18, + n0, + _PTrom, + 0, + (_tPT,), + ((TEXT_PROMPT_TEMPLATE, 0),), +) + +EXTERNAL_SOURCES_GENERATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ESGC, + 0, + (_pTr, _gC, _iCn, _aMRF, _pC), + ( + (PROMPT_TEMPLATE, 0), + (GUARDRAIL_CONFIGURATION, 0), + (INFERENCE_CONFIG, 0), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + (lambda: schemas.PERFORMANCE_CONFIGURATION, 0), + ), +) + +CONTENT_TYPE: StaticSchema = (3, n0, _CT, 0) + +IDENTIFIER: StaticSchema = (3, n0, _Id, 4) + +BYTE_CONTENT_DOC: StaticSchema = ( + 18, + n0, + _BCD, + 0, + (_id, _cT, _da), + ((IDENTIFIER, 1), (CONTENT_TYPE, 1), (lambda: schemas.BYTE_CONTENT_BLOB, 1)), +) + +S3_OBJECT_DOC: StaticSchema = (18, n0, _SOD, 0, (_uri,), ((lambda: schemas.S3_URI, 1),)) + +EXTERNAL_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _EST, + 0, + (_S, _BC), + ((-1, {_sV: _S}), (-1, {_sV: _BC})), +) + +EXTERNAL_SOURCE: StaticSchema = ( + 18, + n0, + _ES, + 0, + (_sTo, _sL, _bC), + ((EXTERNAL_SOURCE_TYPE, 1), (S3_OBJECT_DOC, 0), (BYTE_CONTENT_DOC, 0)), +) + +EXTERNAL_SOURCES: StaticSchema = (16, n0, _ESx, 0, (_me,), ((EXTERNAL_SOURCE, 0),)) + +EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ESRAGC, + 0, + (_mA, _sou, _gCe), + ( + (lambda: schemas.BEDROCK_MODEL_ARN, 1), + (EXTERNAL_SOURCES, 1), + (EXTERNAL_SOURCES_GENERATION_CONFIGURATION, 0), + ), +) + +GENERATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _GCe, + 0, + (_pTr, _gC, _iCn, _aMRF, _pC), + ( + (PROMPT_TEMPLATE, 0), + (GUARDRAIL_CONFIGURATION, 0), + (INFERENCE_CONFIG, 0), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + (lambda: schemas.PERFORMANCE_CONFIGURATION, 0), + ), +) + +QUERY_TRANSFORMATION_TYPE: StaticSchema = (14, n0, _QTT, 0, (_QD,), ((-1, {_sV: _QD}),)) + +QUERY_TRANSFORMATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _QTC, + 0, + (_t,), + ((QUERY_TRANSFORMATION_TYPE, 1),), +) + +ORCHESTRATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OC, + 0, + (_pTr, _iCn, _aMRF, _qTC, _pC), + ( + (PROMPT_TEMPLATE, 0), + (INFERENCE_CONFIG, 0), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + (QUERY_TRANSFORMATION_CONFIGURATION, 0), + (lambda: schemas.PERFORMANCE_CONFIGURATION, 0), + ), +) + +RETRIEVE_AND_GENERATE_TYPE: StaticSchema = ( + 14, + n0, + _RAGT, + 0, + (_KB, _ES_), + ((-1, {_sV: _KB}), (-1, {_sV: _ES_})), +) + +RETRIEVE_AND_GENERATE_SESSION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RAGSC, + 0, + (_kKA,), + ((lambda: schemas.KMS_KEY_ARN, 1),), +) + +GUADRAIL_ACTION: StaticSchema = ( + 14, + n0, + _GAua, + 0, + (_INTERVENED, _NONE), + ((-1, {_sV: _INTERVENED}), (-1, {_sV: _NONE})), +) + +RETRIEVE_AND_GENERATE_OUTPUT: StaticSchema = (18, n0, _RAGO, 4, (_te,), ((3, 1),)) + +RETRIEVE_AND_GENERATE_OPERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _RAGOO, + {_sSI: _cRAGR, _smithy: None}, + (_sIe, _o, _ci, _gA), + ( + (lambda: schemas.SESSION_ID, 1), + (RETRIEVE_AND_GENERATE_OUTPUT, 1), + (lambda: schemas.CITATIONS, 0), + (GUADRAIL_ACTION, 0), + ), +) + +RETRIEVE_AND_GENERATE_OPERATION_INPUT: StaticSchema = ( + 18, + n0, + _RAGOI, + {_sSI: _cRAGRo, _smithya: None}, + (_sIe, _in, _rAGC, _sCe, _uC), + ( + (lambda: schemas.SESSION_ID, 0), + (RETRIEVE_AND_GENERATE_INPUT, 1), + (lambda: schemas.RETRIEVE_AND_GENERATE_CONFIGURATION, 0), + (RETRIEVE_AND_GENERATE_SESSION_CONFIGURATION, 0), + (lambda: schemas.USER_CONTEXT, 0), + ), +) + +RETRIEVE_AND_GENERATE: StaticOperationSchema = ( + 23, + n0, + _RAG, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/retrieveAndGenerate"} + ) + }, + RETRIEVE_AND_GENERATE_OPERATION_INPUT, + RETRIEVE_AND_GENERATE_OPERATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CITATION_EVENT: StaticSchema = ( + 18, + n0, + _CEi, + 0, + (_cit, _gRP, _rRe), + ( + (lambda: schemas.CITATION, 0), + (lambda: schemas.GENERATED_RESPONSE_PART, 0), + (lambda: schemas.RETRIEVED_REFERENCES, 0), + ), +) + +GUARDRAIL_EVENT: StaticSchema = (18, n0, _GE, 0, (_ac,), ((GUADRAIL_ACTION, 0),)) + +RETRIEVE_AND_GENERATE_OUTPUT_EVENT: StaticSchema = ( + 18, + n0, + _RAGOE, + 4, + (_te,), + ((3, 1),), +) + +RETRIEVE_AND_GENERATE_STREAM_RESPONSE_OUTPUT: StaticSchema = ( + 19, + n0, + _RAGSRO, + {_smith: None}, + (_o, _cit, _gu, _iSE, _vE, _rNFE, _sQEE, _tEh, _aDE, _cEo, _dFE, _bGE), + ( + (RETRIEVE_AND_GENERATE_OUTPUT_EVENT, 0), + (CITATION_EVENT, 0), + (GUARDRAIL_EVENT, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, 0), + (lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (lambda: schemas.ACCESS_DENIED_EXCEPTION, 0), + (lambda: schemas.CONFLICT_EXCEPTION, 0), + (lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, 0), + (lambda: schemas.BAD_GATEWAY_EXCEPTION, 0), + ), +) + +RETRIEVE_AND_GENERATE_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _RAGSO, + {_sSI: _cRAGSR, _smithy: None}, + (_str, _sIe), + ( + (RETRIEVE_AND_GENERATE_STREAM_RESPONSE_OUTPUT, 17), + (lambda: schemas.SESSION_ID, {_sH: _xabkbsi, _smi: None}), + ), +) + +RETRIEVE_AND_GENERATE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _RAGSI, + {_sSI: _cRAGSRo, _smithya: None}, + (_sIe, _in, _rAGC, _sCe, _uC), + ( + (lambda: schemas.SESSION_ID, 0), + (RETRIEVE_AND_GENERATE_INPUT, 1), + (lambda: schemas.RETRIEVE_AND_GENERATE_CONFIGURATION, 0), + (RETRIEVE_AND_GENERATE_SESSION_CONFIGURATION, 0), + (lambda: schemas.USER_CONTEXT, 0), + ), +) + +RETRIEVE_AND_GENERATE_STREAM: StaticOperationSchema = ( + 23, + n0, + _RAGS, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/retrieveAndGenerateStream"} + ) + }, + RETRIEVE_AND_GENERATE_STREAM_INPUT, + RETRIEVE_AND_GENERATE_STREAM_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INPUT_IMAGE_FORMAT: StaticSchema = ( + 14, + n0, + _IIFn, + 0, + (_pn, _j, _g, _w), + ((-1, {_sV: _pn}), (-1, {_sV: _j}), (-1, {_sV: _g}), (-1, {_sV: _w})), +) + +INPUT_IMAGE: StaticSchema = ( + 18, + n0, + _IInp, + 0, + (_fo, _iCnl), + ((INPUT_IMAGE_FORMAT, 1), (lambda: schemas.BYTE_CONTENT_BLOB, 1)), +) + +KNOWLEDGE_BASE_QUERY_TYPE: StaticSchema = ( + 14, + n0, + _KBQT, + 0, + (_TEXT, _IMAGE), + ((-1, {_sV: _TEXT}), (-1, {_sV: _IMAGE})), +) + +KNOWLEDGE_BASE_QUERY: StaticSchema = ( + 18, + n0, + _KBQ, + 4, + (_t, _te, _ima), + ((KNOWLEDGE_BASE_QUERY_TYPE, {_smit: _TEXT}), (3, {_smit: _v_}), (INPUT_IMAGE, 0)), +) + +KNOWLEDGE_BASE_RETRIEVAL_RESULT: StaticSchema = ( + 18, + n0, + _KBRR, + 0, + (_co, _lo, _sc, _met, _dI), + ( + (lambda: schemas.RETRIEVAL_RESULT_CONTENT, 1), + (lambda: schemas.RETRIEVAL_RESULT_LOCATION, 0), + (10, 0), + (lambda: schemas.RETRIEVAL_RESULT_METADATA, 0), + (lambda: schemas.DOCUMENT_ID, 0), + ), +) + +KNOWLEDGE_BASE_RETRIEVAL_RESULTS: StaticSchema = ( + 16, + n0, + _KBRRn, + 4, + (_me,), + ((KNOWLEDGE_BASE_RETRIEVAL_RESULT, 0),), +) + +RETRIEVE_OUTPUT: StaticSchema = ( + 18, + n0, + _ROe, + {_sSI: _cRRom, _smithy: None}, + (_rRet, _gA, _nT), + ( + (KNOWLEDGE_BASE_RETRIEVAL_RESULTS, 1), + (GUADRAIL_ACTION, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +RETRIEVE_INPUT: StaticSchema = ( + 18, + n0, + _RIe, + {_sSI: _cRRoma, _smithya: None}, + (_kBI, _rQ, _rCetr, _gC, _nT, _uC), + ( + (lambda: schemas.KNOWLEDGE_BASE_IDENTIFIER, 9), + (KNOWLEDGE_BASE_QUERY, 1), + (lambda: schemas.KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 0), + (GUARDRAIL_CONFIGURATION, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.USER_CONTEXT, 0), + ), +) + +RETRIEVE: StaticOperationSchema = ( + 23, + n0, + _Ret, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/retrieve", + } + ) + }, + RETRIEVE_INPUT, + RETRIEVE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SESSION_METADATA_KEY: StaticSchema = (3, n0, _SMK, 0) + +SESSION_METADATA_VALUE: StaticSchema = (3, n0, _SMV, 0) + +SESSION_METADATA_MAP: StaticSchema = ( + 17, + n0, + _SMM, + 0, + (_k, _v), + ((SESSION_METADATA_KEY, 0), (SESSION_METADATA_VALUE, 0)), +) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAGS_MAP: StaticSchema = ( + 17, + n0, + _TM, + 0, + (_k, _v), + ((lambda: schemas.TAG_KEY, 0), (TAG_VALUE, 0)), +) + +CREATE_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_sSI: _cCSR, _smithya: None}, + (_sMe, _eKA, _ta), + ((SESSION_METADATA_MAP, 0), (lambda: schemas.KMS_KEY_ARN, 0), (TAGS_MAP, 0)), +) + +CREATE_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_sSI: _cCSRo, _smithy: None}, + (_sIe, _sAes, _sSes, _cA), + ( + (lambda: schemas.UUID, 1), + (lambda: schemas.SESSION_ARN, 1), + (lambda: schemas.SESSION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +CREATE_SESSION: StaticOperationSchema = ( + 23, + n0, + _CSr, + {_smithyap: MappingProxyType({"code": 201, "method": "PUT", "uri": "/sessions/"})}, + CREATE_SESSION_INPUT, + CREATE_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_7.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_7.py new file mode 100644 index 000000000..49a4ec6ff --- /dev/null +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/_private/schemas_7.py @@ -0,0 +1,1129 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentruntime" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#sensitive" +_t = "type" +_me = "member" +_iI = "invocationId" +_te = "text" +_pa = "payload" +_d = "description" +_smi = "smithy.api#required" +_PNG = "PNG" +_pn = "png" +_JPEG = "JPEG" +_j = "jpeg" +_GIF = "GIF" +_g = "gif" +_WEBP = "WEBP" +_w = "webp" +_by = "bytes" +_fo = "format" +_so = "source" +_rCIR = "returnControlInvocationResults" +_mA = "modelArn" +_smit = "smithy.api#default" +_rMT = "rerankingModelType" +_rCe = "rerankingConfiguration" +_sIe = "sessionId" +_nT = "nextToken" +_sSI = "smithy.synthetic#originalShapeId" +_smithy = "smithy.api#output" +_fil = "files" +_kBI = "knowledgeBaseId" +_fM = "foundationModel" +_uri = "uri" +_sL = "s3Location" +_smithya = "smithy.api#input" +_sLm = "smithy.api#httpLabel" +_smithyap = "smithy.api#http" +_cEKA = "customerEncryptionKeyArn" +_mRa = "maxResults" +_sQ = "smithy.api#httpQuery" +_cA = "createdAt" +_kBC = "knowledgeBaseConfiguration" +_SU = "S3Uri" +_sAe = "sessionAttributes" +_pSA = "promptSessionAttributes" +_cH = "conversationHistory" +_nOR = "numberOfResults" +_gC = "guardrailConfiguration" +_gCe = "generationConfiguration" +_ima = "image" +_sMe = "sessionMetadata" +_eKA = "encryptionKeyArn" +_ta = "tags" +_SA = "SessionArn" +_Uu = "Uuid" +_SSe = "SessionStatus" +_ACTIVE = "ACTIVE" +_EXPIRED = "EXPIRED" +_ENDED = "ENDED" +_sAes = "sessionArn" +_sSes = "sessionStatus" +_SIes = "SessionIdentifier" +_DSIe = "DeleteSessionInput" +_cDSR = "com.amazonaws.bedrockagentruntime#DeleteSessionRequest" +_sIes = "sessionIdentifier" +_DSO = "DeleteSessionOutput" +_cDSRo = "com.amazonaws.bedrockagentruntime#DeleteSessionResponse" +_DSe = "DeleteSession" +_ESI = "EndSessionInput" +_cESR = "com.amazonaws.bedrockagentruntime#EndSessionRequest" +_ESO = "EndSessionOutput" +_cESRo = "com.amazonaws.bedrockagentruntime#EndSessionResponse" +_ESn = "EndSession" +_GSI = "GetSessionInput" +_cGSR = "com.amazonaws.bedrockagentruntime#GetSessionRequest" +_GSO = "GetSessionOutput" +_cGSRo = "com.amazonaws.bedrockagentruntime#GetSessionResponse" +_lUA = "lastUpdatedAt" +_GS = "GetSession" +_ID = "InvocationDescription" +_CII = "CreateInvocationInput" +_cCIR = "com.amazonaws.bedrockagentruntime#CreateInvocationRequest" +_CIO = "CreateInvocationOutput" +_cCIRo = "com.amazonaws.bedrockagentruntime#CreateInvocationResponse" +_CIr = "CreateInvocation" +_IInvo = "InvocationIdentifier" +_LII = "ListInvocationsInput" +_cLIR = "com.amazonaws.bedrockagentruntime#ListInvocationsRequest" +_ISn = "InvocationSummary" +_ISnv = "InvocationSummaries" +_LIO = "ListInvocationsOutput" +_cLIRo = "com.amazonaws.bedrockagentruntime#ListInvocationsResponse" +_iS = "invocationSummaries" +_LI = "ListInvocations" +_GISI = "GetInvocationStepInput" +_cGISR = "com.amazonaws.bedrockagentruntime#GetInvocationStepRequest" +_iInvo = "invocationIdentifier" +_iSI = "invocationStepId" +_IFm = "ImageFormat" +_SLo = "S3Location" +_ISm = "ImageSource" +_IB = "ImageBlock" +_BSCB = "BedrockSessionContentBlock" +_BSCBe = "BedrockSessionContentBlocks" +_ISP = "InvocationStepPayload" +_cB = "contentBlocks" +_ISnvo = "InvocationStep" +_iST = "invocationStepTime" +_GISO = "GetInvocationStepOutput" +_cGISRo = "com.amazonaws.bedrockagentruntime#GetInvocationStepResponse" +_iSn = "invocationStep" +_GIS = "GetInvocationStep" +_LISI = "ListInvocationStepsInput" +_cLISR = "com.amazonaws.bedrockagentruntime#ListInvocationStepsRequest" +_ISSn = "InvocationStepSummary" +_ISSnv = "InvocationStepSummaries" +_LISO = "ListInvocationStepsOutput" +_cLISRo = "com.amazonaws.bedrockagentruntime#ListInvocationStepsResponse" +_iSS = "invocationStepSummaries" +_LIS = "ListInvocationSteps" +_PISI = "PutInvocationStepInput" +_cPISR = "com.amazonaws.bedrockagentruntime#PutInvocationStepRequest" +_PISO = "PutInvocationStepOutput" +_cPISRo = "com.amazonaws.bedrockagentruntime#PutInvocationStepResponse" +_PIS = "PutInvocationStep" +_LSI = "ListSessionsInput" +_cLSR = "com.amazonaws.bedrockagentruntime#ListSessionsRequest" +_SSes = "SessionSummary" +_SSess = "SessionSummaries" +_LSO = "ListSessionsOutput" +_cLSRo = "com.amazonaws.bedrockagentruntime#ListSessionsResponse" +_sSess = "sessionSummaries" +_LS = "ListSessions" +_USI = "UpdateSessionInput" +_cUSR = "com.amazonaws.bedrockagentruntime#UpdateSessionRequest" +_USO = "UpdateSessionOutput" +_cUSRo = "com.amazonaws.bedrockagentruntime#UpdateSessionResponse" +_US = "UpdateSession" +_TRA = "TaggableResourcesArn" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.bedrockagentruntime#ListTagsForResourceRequest" +_rA = "resourceArn" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.bedrockagentruntime#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.bedrockagentruntime#TagResourceRequest" +_TRO = "TagResourceOutput" +_cTRRo = "com.amazonaws.bedrockagentruntime#TagResourceResponse" +_TR = "TagResource" +_TKL = "TagKeyList" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.bedrockagentruntime#UntagResourceRequest" +_tKa = "tagKeys" +_URO = "UntagResourceOutput" +_cURRo = "com.amazonaws.bedrockagentruntime#UntagResourceResponse" +_UR = "UntagResource" +_RF = "RetrievalFilter" +_eq = "equals" +_nE = "notEquals" +_gTr = "greaterThan" +_gTOE = "greaterThanOrEquals" +_lT = "lessThan" +_lTOE = "lessThanOrEquals" +_in_ = "in" +_nI = "notIn" +_sW = "startsWith" +_lC = "listContains" +_sCt = "stringContains" +_aA = "andAll" +_oAr = "orAll" +_RFL = "RetrievalFilterList" +_KBVSC = "KnowledgeBaseVectorSearchConfiguration" +_oST = "overrideSearchType" +_filt = "filter" +_iFC = "implicitFilterConfiguration" +_MSC = "ManagedSearchConfiguration" +_ROet = "RetrievalOverrides" +_mNOR = "maxNumberOfResults" +_KBRC = "KnowledgeBaseRetrieverConfiguration" +_rO = "retrievalOverrides" +_RCetr = "RetrieverConfiguration" +_kB = "knowledgeBase" +_ARg = "AgenticRetriever" +_conf = "configuration" +_ARge = "AgenticRetrievers" +_KBRCn = "KnowledgeBaseRetrievalConfiguration" +_vSC = "vectorSearchConfiguration" +_mSC = "managedSearchConfiguration" +_KBn = "KnowledgeBase" +_rCetr = "retrievalConfiguration" +_KBC = "KnowledgeBaseConfiguration" +_KBRAGC = "KnowledgeBaseRetrieveAndGenerateConfiguration" +_oC = "orchestrationConfiguration" +_KBCn = "KnowledgeBaseConfigurations" +_KBno = "KnowledgeBases" +_RAGC = "RetrieveAndGenerateConfiguration" +_eSC = "externalSourcesConfiguration" +_Co = "Collaborator" +_ins = "instruction" +_iSTTLIS = "idleSessionTTLInSeconds" +_aGc = "actionGroups" +_kBn = "knowledgeBases" +_pOC = "promptOverrideConfiguration" +_aC = "agentCollaboration" +_cCo = "collaboratorConfigurations" +_aN = "agentName" +_SSessi = "SessionState" +_kBCn = "knowledgeBaseConfigurations" +_Col = "Collaborators" +_ABARTS = "AmazonBedrockAgentRunTimeService" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" + +S3_URI: StaticSchema = (3, n0, _SU, 0) + +SESSION_ARN: StaticSchema = (3, n0, _SA, 0) + +UUID: StaticSchema = (3, n0, _Uu, 0) + +SESSION_STATUS: StaticSchema = ( + 14, + n0, + _SSe, + 0, + (_ACTIVE, _EXPIRED, _ENDED), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _EXPIRED}), (-1, {_sV: _ENDED})), +) + +SESSION_IDENTIFIER: StaticSchema = (3, n0, _SIes, 0) + +DELETE_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _DSIe, + {_sSI: _cDSR, _smithya: None}, + (_sIes,), + ((SESSION_IDENTIFIER, 9),), +) + +DELETE_SESSION_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _cDSRo, _smithy: None}) + +DELETE_SESSION: StaticOperationSchema = ( + 23, + n0, + _DSe, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/sessions/{sessionIdentifier}/"} + ) + }, + DELETE_SESSION_INPUT, + DELETE_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +END_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _ESI, + {_sSI: _cESR, _smithya: None}, + (_sIes,), + ((SESSION_IDENTIFIER, 9),), +) + +END_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _ESO, + {_sSI: _cESRo, _smithy: None}, + (_sIe, _sAes, _sSes), + ((UUID, 1), (SESSION_ARN, 1), (SESSION_STATUS, 1)), +) + +END_SESSION: StaticOperationSchema = ( + 23, + n0, + _ESn, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "PATCH", "uri": "/sessions/{sessionIdentifier}"} + ) + }, + END_SESSION_INPUT, + END_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _GSI, + {_sSI: _cGSR, _smithya: None}, + (_sIes,), + ((SESSION_IDENTIFIER, 9),), +) + +GET_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GSO, + {_sSI: _cGSRo, _smithy: None}, + (_sIe, _sAes, _sSes, _cA, _lUA, _sMe, _eKA), + ( + (UUID, 1), + (SESSION_ARN, 1), + (SESSION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.SESSION_METADATA_MAP, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +GET_SESSION: StaticOperationSchema = ( + 23, + n0, + _GS, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/sessions/{sessionIdentifier}/"} + ) + }, + GET_SESSION_INPUT, + GET_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INVOCATION_DESCRIPTION: StaticSchema = (3, n0, _ID, 0) + +CREATE_INVOCATION_INPUT: StaticSchema = ( + 18, + n0, + _CII, + {_sSI: _cCIR, _smithya: None}, + (_iI, _d, _sIes), + ((UUID, 0), (INVOCATION_DESCRIPTION, 0), (SESSION_IDENTIFIER, 9)), +) + +CREATE_INVOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CIO, + {_sSI: _cCIRo, _smithy: None}, + (_sIe, _iI, _cA), + ((UUID, 1), (UUID, 1), (lambda: schemas.DATE_TIMESTAMP, 1)), +) + +CREATE_INVOCATION: StaticOperationSchema = ( + 23, + n0, + _CIr, + { + _smithyap: MappingProxyType( + { + "code": 201, + "method": "PUT", + "uri": "/sessions/{sessionIdentifier}/invocations/", + } + ) + }, + CREATE_INVOCATION_INPUT, + CREATE_INVOCATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INVOCATION_IDENTIFIER: StaticSchema = (3, n0, _IInvo, 0) + +LIST_INVOCATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LII, + {_sSI: _cLIR, _smithya: None}, + (_nT, _mRa, _sIes), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_smit: 10, _sQ: _mRa}), + (SESSION_IDENTIFIER, 9), + ), +) + +LIST_INVOCATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIO, + {_sSI: _cLIRo, _smithy: None}, + (_iS, _nT), + ((lambda: INVOCATION_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_INVOCATIONS: StaticOperationSchema = ( + 23, + n0, + _LI, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/sessions/{sessionIdentifier}/invocations/", + } + ) + }, + LIST_INVOCATIONS_INPUT, + LIST_INVOCATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INVOCATION_SUMMARY: StaticSchema = ( + 18, + n0, + _ISn, + 0, + (_sIe, _iI, _cA), + ((UUID, 1), (UUID, 1), (lambda: schemas.DATE_TIMESTAMP, 1)), +) + +INVOCATION_SUMMARIES: StaticSchema = ( + 16, + n0, + _ISnv, + 0, + (_me,), + ((INVOCATION_SUMMARY, 0),), +) + +GET_INVOCATION_STEP_INPUT: StaticSchema = ( + 18, + n0, + _GISI, + {_sSI: _cGISR, _smithya: None}, + (_iInvo, _iSI, _sIes), + ((INVOCATION_IDENTIFIER, 1), (UUID, 9), (SESSION_IDENTIFIER, 9)), +) + +GET_INVOCATION_STEP_OUTPUT: StaticSchema = ( + 18, + n0, + _GISO, + {_sSI: _cGISRo, _smithy: None}, + (_iSn,), + ((lambda: INVOCATION_STEP, 1),), +) + +GET_INVOCATION_STEP: StaticOperationSchema = ( + 23, + n0, + _GIS, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/sessions/{sessionIdentifier}/invocationSteps/{invocationStepId}", + } + ) + }, + GET_INVOCATION_STEP_INPUT, + GET_INVOCATION_STEP_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +IMAGE_FORMAT: StaticSchema = ( + 14, + n0, + _IFm, + 0, + (_PNG, _JPEG, _GIF, _WEBP), + ((-1, {_sV: _pn}), (-1, {_sV: _j}), (-1, {_sV: _g}), (-1, {_sV: _w})), +) + +S3_LOCATION: StaticSchema = (18, n0, _SLo, 0, (_uri,), ((S3_URI, 1),)) + +IMAGE_SOURCE: StaticSchema = (19, n0, _ISm, 0, (_by, _sL), ((1, 0), (S3_LOCATION, 0))) + +IMAGE_BLOCK: StaticSchema = ( + 18, + n0, + _IB, + 0, + (_fo, _so), + ((IMAGE_FORMAT, 1), (IMAGE_SOURCE, 1)), +) + +BEDROCK_SESSION_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _BSCB, + 4, + (_te, _ima), + ((3, 0), (IMAGE_BLOCK, 0)), +) + +BEDROCK_SESSION_CONTENT_BLOCKS: StaticSchema = ( + 16, + n0, + _BSCBe, + 0, + (_me,), + ((BEDROCK_SESSION_CONTENT_BLOCK, 0),), +) + +INVOCATION_STEP_PAYLOAD: StaticSchema = ( + 19, + n0, + _ISP, + 0, + (_cB,), + ((BEDROCK_SESSION_CONTENT_BLOCKS, 0),), +) + +INVOCATION_STEP: StaticSchema = ( + 18, + n0, + _ISnvo, + 0, + (_sIe, _iI, _iSI, _iST, _pa), + ( + (UUID, 1), + (UUID, 1), + (UUID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (INVOCATION_STEP_PAYLOAD, 1), + ), +) + +LIST_INVOCATION_STEPS_INPUT: StaticSchema = ( + 18, + n0, + _LISI, + {_sSI: _cLISR, _smithya: None}, + (_iInvo, _nT, _mRa, _sIes), + ( + (INVOCATION_IDENTIFIER, 0), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_smit: 10, _sQ: _mRa}), + (SESSION_IDENTIFIER, 9), + ), +) + +LIST_INVOCATION_STEPS_OUTPUT: StaticSchema = ( + 18, + n0, + _LISO, + {_sSI: _cLISRo, _smithy: None}, + (_iSS, _nT), + ((lambda: INVOCATION_STEP_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_INVOCATION_STEPS: StaticOperationSchema = ( + 23, + n0, + _LIS, + { + _smithyap: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/sessions/{sessionIdentifier}/invocationSteps/", + } + ) + }, + LIST_INVOCATION_STEPS_INPUT, + LIST_INVOCATION_STEPS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INVOCATION_STEP_SUMMARY: StaticSchema = ( + 18, + n0, + _ISSn, + 0, + (_sIe, _iI, _iSI, _iST), + ((UUID, 1), (UUID, 1), (UUID, 1), (lambda: schemas.DATE_TIMESTAMP, 1)), +) + +INVOCATION_STEP_SUMMARIES: StaticSchema = ( + 16, + n0, + _ISSnv, + 0, + (_me,), + ((INVOCATION_STEP_SUMMARY, 0),), +) + +PUT_INVOCATION_STEP_INPUT: StaticSchema = ( + 18, + n0, + _PISI, + {_sSI: _cPISR, _smithya: None}, + (_sIes, _iInvo, _iST, _pa, _iSI), + ( + (SESSION_IDENTIFIER, 9), + (INVOCATION_IDENTIFIER, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (INVOCATION_STEP_PAYLOAD, 1), + (UUID, 0), + ), +) + +PUT_INVOCATION_STEP_OUTPUT: StaticSchema = ( + 18, + n0, + _PISO, + {_sSI: _cPISRo, _smithy: None}, + (_iSI,), + ((UUID, 1),), +) + +PUT_INVOCATION_STEP: StaticOperationSchema = ( + 23, + n0, + _PIS, + { + _smithyap: MappingProxyType( + { + "code": 201, + "method": "PUT", + "uri": "/sessions/{sessionIdentifier}/invocationSteps/", + } + ) + }, + PUT_INVOCATION_STEP_INPUT, + PUT_INVOCATION_STEP_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_SESSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LSI, + {_sSI: _cLSR, _smithya: None}, + (_mRa, _nT), + ( + (lambda: schemas.MAX_RESULTS, {_smit: 10, _sQ: _mRa}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_SESSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_sSI: _cLSRo, _smithy: None}, + (_sSess, _nT), + ((lambda: SESSION_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_SESSIONS: StaticOperationSchema = ( + 23, + n0, + _LS, + {_smithyap: MappingProxyType({"code": 200, "method": "POST", "uri": "/sessions/"})}, + LIST_SESSIONS_INPUT, + LIST_SESSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SESSION_SUMMARY: StaticSchema = ( + 18, + n0, + _SSes, + 0, + (_sIe, _sAes, _sSes, _cA, _lUA), + ( + (UUID, 1), + (SESSION_ARN, 1), + (SESSION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +SESSION_SUMMARIES: StaticSchema = (16, n0, _SSess, 0, (_me,), ((SESSION_SUMMARY, 0),)) + +UPDATE_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _USI, + {_sSI: _cUSR, _smithya: None}, + (_sMe, _sIes), + ((lambda: schemas.SESSION_METADATA_MAP, 0), (SESSION_IDENTIFIER, 9)), +) + +UPDATE_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _USO, + {_sSI: _cUSRo, _smithy: None}, + (_sIe, _sAes, _sSes, _cA, _lUA), + ( + (UUID, 1), + (SESSION_ARN, 1), + (SESSION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +UPDATE_SESSION: StaticOperationSchema = ( + 23, + n0, + _US, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "PUT", "uri": "/sessions/{sessionIdentifier}/"} + ) + }, + UPDATE_SESSION_INPUT, + UPDATE_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAGGABLE_RESOURCES_ARN: StaticSchema = (3, n0, _TRA, 0) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _smithya: None}, + (_rA,), + ((TAGGABLE_RESOURCES_ARN, 9),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smithy: None}, + (_ta,), + ((lambda: schemas.TAGS_MAP, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/tags/{resourceArn}"} + ) + }, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smithya: None}, + (_rA, _ta), + ((TAGGABLE_RESOURCES_ARN, 9), (lambda: schemas.TAGS_MAP, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smithy: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/tags/{resourceArn}"} + ) + }, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _smithya: None}, + (_rA, _tKa), + ((TAGGABLE_RESOURCES_ARN, 9), (TAG_KEY_LIST, {_sQ: _tKa, _smi: None})), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smithy: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smithyap: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/tags/{resourceArn}"} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVAL_FILTER: StaticSchema = ( + 19, + n0, + _RF, + 4, + (_eq, _nE, _gTr, _gTOE, _lT, _lTOE, _in_, _nI, _sW, _lC, _sCt, _aA, _oAr), + ( + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: RETRIEVAL_FILTER_LIST, 0), + (lambda: RETRIEVAL_FILTER_LIST, 0), + ), +) + +RETRIEVAL_FILTER_LIST: StaticSchema = ( + 16, + n0, + _RFL, + 0, + (_me,), + ((RETRIEVAL_FILTER, 0),), +) + +KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBVSC, + 0, + (_nOR, _oST, _filt, _rCe, _iFC), + ( + (7, {_smit: 5}), + (lambda: schemas.SEARCH_TYPE, 0), + (RETRIEVAL_FILTER, 0), + (lambda: schemas.VECTOR_SEARCH_RERANKING_CONFIGURATION, 0), + (lambda: schemas.IMPLICIT_FILTER_CONFIGURATION, 0), + ), +) + +MANAGED_SEARCH_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MSC, + 0, + (_nOR, _filt, _rMT, _rCe), + ( + (7, 0), + (RETRIEVAL_FILTER, 0), + (lambda: schemas.RERANKING_MODEL_TYPE, 0), + (lambda: schemas.MANAGED_SEARCH_RERANKING_CONFIGURATION, 0), + ), +) + +RETRIEVAL_OVERRIDES: StaticSchema = ( + 18, + n0, + _ROet, + 0, + (_filt, _mNOR), + ((RETRIEVAL_FILTER, 0), (7, 0)), +) + +KNOWLEDGE_BASE_RETRIEVER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBRC, + 0, + (_kBI, _rO), + ((lambda: schemas.KNOWLEDGE_BASE_ID, 1), (RETRIEVAL_OVERRIDES, 0)), +) + +RETRIEVER_CONFIGURATION: StaticSchema = ( + 19, + n0, + _RCetr, + 0, + (_kB,), + ((KNOWLEDGE_BASE_RETRIEVER_CONFIGURATION, 0),), +) + +AGENTIC_RETRIEVER: StaticSchema = ( + 18, + n0, + _ARg, + 0, + (_d, _conf), + ((3, 0), (RETRIEVER_CONFIGURATION, 1)), +) + +AGENTIC_RETRIEVERS: StaticSchema = (16, n0, _ARge, 0, (_me,), ((AGENTIC_RETRIEVER, 0),)) + +KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBRCn, + 0, + (_vSC, _mSC), + ( + (KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION, 0), + (MANAGED_SEARCH_CONFIGURATION, 0), + ), +) + +KNOWLEDGE_BASE: StaticSchema = ( + 18, + n0, + _KBn, + 0, + (_kBI, _d, _rCetr), + ( + (lambda: schemas.KNOWLEDGE_BASE_ID, 1), + (lambda: schemas.RESOURCE_DESCRIPTION, 1), + (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 0), + ), +) + +KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBC, + 0, + (_kBI, _rCetr), + ( + (lambda: schemas.KNOWLEDGE_BASE_ID, 1), + (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 1), + ), +) + +KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBRAGC, + 0, + (_kBI, _mA, _rCetr, _gCe, _oC), + ( + (lambda: schemas.KNOWLEDGE_BASE_ID, 1), + (lambda: schemas.BEDROCK_MODEL_ARN, 1), + (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 0), + (lambda: schemas.GENERATION_CONFIGURATION, 0), + (lambda: schemas.ORCHESTRATION_CONFIGURATION, 0), + ), +) + +KNOWLEDGE_BASE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _KBCn, + 0, + (_me,), + ((KNOWLEDGE_BASE_CONFIGURATION, 0),), +) + +KNOWLEDGE_BASES: StaticSchema = (16, n0, _KBno, 0, (_me,), ((KNOWLEDGE_BASE, 0),)) + +RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RAGC, + 0, + (_t, _kBC, _eSC), + ( + (lambda: schemas.RETRIEVE_AND_GENERATE_TYPE, 1), + (KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION, 0), + (lambda: schemas.EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION, 0), + ), +) + +COLLABORATOR: StaticSchema = ( + 18, + n0, + _Co, + 0, + (_cEKA, _fM, _ins, _iSTTLIS, _aGc, _kBn, _gC, _pOC, _aC, _cCo, _aN), + ( + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.MODEL_IDENTIFIER, 1), + (lambda: schemas.INSTRUCTION, 1), + (lambda: schemas.SESSION_TTL, 0), + (lambda: schemas.AGENT_ACTION_GROUPS, 0), + (KNOWLEDGE_BASES, 0), + (lambda: schemas.GUARDRAIL_CONFIGURATION_WITH_ARN, 0), + (lambda: schemas.PROMPT_OVERRIDE_CONFIGURATION, 0), + (lambda: schemas.AGENT_COLLABORATION, 0), + (lambda: schemas.COLLABORATOR_CONFIGURATIONS, 0), + (lambda: schemas.NAME, 0), + ), +) + +SESSION_STATE: StaticSchema = ( + 18, + n0, + _SSessi, + 0, + (_sAe, _pSA, _rCIR, _iI, _fil, _kBCn, _cH), + ( + (lambda: schemas.SESSION_ATTRIBUTES_MAP, 0), + (lambda: schemas.PROMPT_SESSION_ATTRIBUTES_MAP, 0), + (lambda: schemas.RETURN_CONTROL_INVOCATION_RESULTS, 0), + (3, 0), + (lambda: schemas.INPUT_FILES, 0), + (KNOWLEDGE_BASE_CONFIGURATIONS, 0), + (lambda: schemas.CONVERSATION_HISTORY, 0), + ), +) + +COLLABORATORS: StaticSchema = (16, n0, _Col, 0, (_me,), ((COLLABORATOR, 0),)) + +AMAZON_BEDROCK_AGENT_RUN_TIME_SERVICE: StaticSchema = ( + 21, + n0, + _ABARTS, + { + _aw: MappingProxyType({"name": "bedrock"}), + _aws: MappingProxyType( + { + "sdkId": "Bedrock Agent Runtime", + "arnNamespace": "bedrock", + "endpointPrefix": "bedrock-agent-runtime", + "cloudTrailEventSource": "bedrock.amazonaws.com", + } + ), + _aJ: MappingProxyType( + {"http": ("h2", "http/1.1"), "eventStreamHttp": ("h2", "http/1.1")} + ), + }, +) diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/aio/client.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/aio/client.py index 9fff3aa6d..fa7d60cc0 100644 --- a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/aio/client.py +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncOutputEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/aio/config.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/aio/config.py index 6caa773a9..69ca1f43a 100644 --- a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/aio/config.py +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/client.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/client.py index bb5f3dba0..672068cda 100644 --- a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/client.py +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/config.py b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/config.py index b2d69d25f..5bf65243f 100644 --- a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/config.py +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/models.pyi b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/models.pyi index 5d3d86061..2e93afffe 100644 --- a/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/models.pyi +++ b/clients/aws-sdk-bedrock-agent-runtime/src/aws_sdk_bedrock_agent_runtime/models.pyi @@ -1,17 +1,730 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self from smithy_core.deserializers import ShapeDeserializer -from smithy_core.documents import Document from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AccessDeniedException as AccessDeniedException, + ActionGroupExecutorLambda as ActionGroupExecutorLambda, + ActionGroupExecutorCustomControl as ActionGroupExecutorCustomControl, + ActionGroupExecutorUnknown as ActionGroupExecutorUnknown, + ActionGroupExecutor as ActionGroupExecutor, + _ActionGroupExecutorDeserializer as _ActionGroupExecutorDeserializer, + ActionGroupInvocationInput as ActionGroupInvocationInput, + ActionGroupInvocationOutput as ActionGroupInvocationOutput, + ActionGroupSignature as ActionGroupSignature, + ActionInvocationType as ActionInvocationType, + AgentActionGroup as AgentActionGroup, + AgentCollaboration as AgentCollaboration, + AgentCollaboratorInputPayload as AgentCollaboratorInputPayload, + AgentCollaboratorInvocationInput as AgentCollaboratorInvocationInput, + AgentCollaboratorInvocationOutput as AgentCollaboratorInvocationOutput, + AgentCollaboratorOutputPayload as AgentCollaboratorOutputPayload, + AgenticRetrieveAction as AgenticRetrieveAction, + AgenticRetrieveActionDetails as AgenticRetrieveActionDetails, + AgenticRetrieveAppliedInstruction as AgenticRetrieveAppliedInstruction, + AgenticRetrieveBedrockGuardrailConfiguration as AgenticRetrieveBedrockGuardrailConfiguration, + AgenticRetrieveBedrockRerankingConfiguration as AgenticRetrieveBedrockRerankingConfiguration, + AgenticRetrieveBedrockRerankingModelConfiguration as AgenticRetrieveBedrockRerankingModelConfiguration, + AgenticRetrieveCitation as AgenticRetrieveCitation, + AgenticRetrieveCitationReference as AgenticRetrieveCitationReference, + AgenticRetrieveCodeExecutionDetails as AgenticRetrieveCodeExecutionDetails, + AgenticRetrieveCodeExecutionDocument as AgenticRetrieveCodeExecutionDocument, + AgenticRetrieveConfiguration as AgenticRetrieveConfiguration, + AgenticRetrieveFailure as AgenticRetrieveFailure, + AgenticRetrieveFullDocExpansionDetails as AgenticRetrieveFullDocExpansionDetails, + AgenticRetrieveGeneratedResponse as AgenticRetrieveGeneratedResponse, + AgenticRetrieveGuardrailWarning as AgenticRetrieveGuardrailWarning, + AgenticRetrieveInstructionConfiguration as AgenticRetrieveInstructionConfiguration, + AgenticRetrieveMemoryConfiguration as AgenticRetrieveMemoryConfiguration, + AgenticRetrieveMemoryMetadataFilter as AgenticRetrieveMemoryMetadataFilter, + AgenticRetrieveMemoryMetadataFilterLeftMetadataKey as AgenticRetrieveMemoryMetadataFilterLeftMetadataKey, + AgenticRetrieveMemoryMetadataFilterLeftUnknown as AgenticRetrieveMemoryMetadataFilterLeftUnknown, + AgenticRetrieveMemoryMetadataFilterLeft as AgenticRetrieveMemoryMetadataFilterLeft, + _AgenticRetrieveMemoryMetadataFilterLeftDeserializer as _AgenticRetrieveMemoryMetadataFilterLeftDeserializer, + AgenticRetrieveMemoryMetadataFilterOperator as AgenticRetrieveMemoryMetadataFilterOperator, + AgenticRetrieveMemoryMetadataFilterRightMetadataValue as AgenticRetrieveMemoryMetadataFilterRightMetadataValue, + AgenticRetrieveMemoryMetadataFilterRightUnknown as AgenticRetrieveMemoryMetadataFilterRightUnknown, + AgenticRetrieveMemoryMetadataFilterRight as AgenticRetrieveMemoryMetadataFilterRight, + _AgenticRetrieveMemoryMetadataFilterRightDeserializer as _AgenticRetrieveMemoryMetadataFilterRightDeserializer, + AgenticRetrieveMemoryMetadataValueStringValue as AgenticRetrieveMemoryMetadataValueStringValue, + AgenticRetrieveMemoryMetadataValueNumberValue as AgenticRetrieveMemoryMetadataValueNumberValue, + AgenticRetrieveMemoryMetadataValueStringListValue as AgenticRetrieveMemoryMetadataValueStringListValue, + AgenticRetrieveMemoryMetadataValueDateTimeValue as AgenticRetrieveMemoryMetadataValueDateTimeValue, + AgenticRetrieveMemoryMetadataValueUnknown as AgenticRetrieveMemoryMetadataValueUnknown, + AgenticRetrieveMemoryMetadataValue as AgenticRetrieveMemoryMetadataValue, + _AgenticRetrieveMemoryMetadataValueDeserializer as _AgenticRetrieveMemoryMetadataValueDeserializer, + AgenticRetrieveMemoryPersistenceMode as AgenticRetrieveMemoryPersistenceMode, + AgenticRetrieveMemoryRetrievalConfig as AgenticRetrieveMemoryRetrievalConfig, + AgenticRetrieveMemoryRetrieveDetails as AgenticRetrieveMemoryRetrieveDetails, + AgenticRetrieveMemorySessionBinding as AgenticRetrieveMemorySessionBinding, + AgenticRetrieveMessage as AgenticRetrieveMessage, + AgenticRetrieveMessageContent as AgenticRetrieveMessageContent, + AgenticRetrievePolicyConfiguration as AgenticRetrievePolicyConfiguration, + AgenticRetriever as AgenticRetriever, + AgenticRetrieveRerankingConfiguration as AgenticRetrieveRerankingConfiguration, + AgenticRetrieveRerankingConfigurationType as AgenticRetrieveRerankingConfigurationType, + AgenticRetrieveRerankingModelType as AgenticRetrieveRerankingModelType, + AgenticRetrieveResponseEvent as AgenticRetrieveResponseEvent, + AgenticRetrieveResultEvent as AgenticRetrieveResultEvent, + AgenticRetrieveResultItem as AgenticRetrieveResultItem, + AgenticRetrieveSourceMetadata as AgenticRetrieveSourceMetadata, + AgenticRetrieveSourceRetriever as AgenticRetrieveSourceRetriever, + AgenticRetrieveStatus as AgenticRetrieveStatus, + AgenticRetrieveStep as AgenticRetrieveStep, + AgenticRetrieveStreamInput as AgenticRetrieveStreamInput, + AgenticRetrieveStreamOutput as AgenticRetrieveStreamOutput, + AgenticRetrieveStreamResponseOutputResult as AgenticRetrieveStreamResponseOutputResult, + AgenticRetrieveStreamResponseOutputTraceEvent as AgenticRetrieveStreamResponseOutputTraceEvent, + AgenticRetrieveStreamResponseOutputResponseEvent as AgenticRetrieveStreamResponseOutputResponseEvent, + AgenticRetrieveStreamResponseOutputInternalServerException as AgenticRetrieveStreamResponseOutputInternalServerException, + AgenticRetrieveStreamResponseOutputValidationException as AgenticRetrieveStreamResponseOutputValidationException, + AgenticRetrieveStreamResponseOutputResourceNotFoundException as AgenticRetrieveStreamResponseOutputResourceNotFoundException, + AgenticRetrieveStreamResponseOutputServiceQuotaExceededException as AgenticRetrieveStreamResponseOutputServiceQuotaExceededException, + AgenticRetrieveStreamResponseOutputThrottlingException as AgenticRetrieveStreamResponseOutputThrottlingException, + AgenticRetrieveStreamResponseOutputAccessDeniedException as AgenticRetrieveStreamResponseOutputAccessDeniedException, + AgenticRetrieveStreamResponseOutputConflictException as AgenticRetrieveStreamResponseOutputConflictException, + AgenticRetrieveStreamResponseOutputDependencyFailedException as AgenticRetrieveStreamResponseOutputDependencyFailedException, + AgenticRetrieveStreamResponseOutputBadGatewayException as AgenticRetrieveStreamResponseOutputBadGatewayException, + AgenticRetrieveStreamResponseOutputUnknown as AgenticRetrieveStreamResponseOutputUnknown, + AgenticRetrieveStreamResponseOutput as AgenticRetrieveStreamResponseOutput, + _AgenticRetrieveStreamResponseOutputDeserializer as _AgenticRetrieveStreamResponseOutputDeserializer, + AgenticRetrieveTraceEvent as AgenticRetrieveTraceEvent, + AgenticRetrieveTraceEventAttributes as AgenticRetrieveTraceEventAttributes, + AgenticRetrieveTraceResultItem as AgenticRetrieveTraceResultItem, + AgenticRetrieveType as AgenticRetrieveType, + AgenticRetrieveWarning_Message as AgenticRetrieveWarning_Message, + AgenticRetrieveWarningGuardrail as AgenticRetrieveWarningGuardrail, + AgenticRetrieveWarningUnknown as AgenticRetrieveWarningUnknown, + AgenticRetrieveWarning as AgenticRetrieveWarning, + _AgenticRetrieveWarningDeserializer as _AgenticRetrieveWarningDeserializer, + AgenticRetrieveWarningMessage as AgenticRetrieveWarningMessage, + AnalyzePromptEvent as AnalyzePromptEvent, + ApiInvocationInput as ApiInvocationInput, + ApiParameter as ApiParameter, + ApiRequestBody as ApiRequestBody, + ApiResult as ApiResult, + APISchemaS3 as APISchemaS3, + APISchemaPayload as APISchemaPayload, + APISchemaUnknown as APISchemaUnknown, + APISchema as APISchema, + _APISchemaDeserializer as _APISchemaDeserializer, + AttributeType as AttributeType, + Attribution as Attribution, + AudioSegment as AudioSegment, + BadGatewayException as BadGatewayException, + BedrockFoundationModelConfiguration as BedrockFoundationModelConfiguration, + BedrockFoundationModelModelConfiguration as BedrockFoundationModelModelConfiguration, + BedrockModelConfigurations as BedrockModelConfigurations, + BedrockRerankingConfiguration as BedrockRerankingConfiguration, + BedrockRerankingModelConfiguration as BedrockRerankingModelConfiguration, + BedrockSessionContentBlockText as BedrockSessionContentBlockText, + BedrockSessionContentBlockImage as BedrockSessionContentBlockImage, + BedrockSessionContentBlockUnknown as BedrockSessionContentBlockUnknown, + BedrockSessionContentBlock as BedrockSessionContentBlock, + _BedrockSessionContentBlockDeserializer as _BedrockSessionContentBlockDeserializer, + ByteContentDoc as ByteContentDoc, + ByteContentFile as ByteContentFile, + CallerAgentAliasArn as CallerAgentAliasArn, + CallerUnknown as CallerUnknown, + Caller as Caller, + _CallerDeserializer as _CallerDeserializer, + CheckIngestedDocumentAclInput as CheckIngestedDocumentAclInput, + CheckIngestedDocumentAclOutput as CheckIngestedDocumentAclOutput, + Citation as Citation, + CitationEvent as CitationEvent, + CodeInterpreterInvocationInput as CodeInterpreterInvocationInput, + CodeInterpreterInvocationOutput as CodeInterpreterInvocationOutput, + Collaborator as Collaborator, + CollaboratorConfiguration as CollaboratorConfiguration, + ConditionResultEvent as ConditionResultEvent, + ConfirmationState as ConfirmationState, + ConflictException as ConflictException, + ContentBlockText as ContentBlockText, + ContentBlockUnknown as ContentBlockUnknown, + ContentBlock as ContentBlock, + _ContentBlockDeserializer as _ContentBlockDeserializer, + ContentBody as ContentBody, + ConversationHistory as ConversationHistory, + ConversationRole as ConversationRole, + CreateInvocationInput as CreateInvocationInput, + CreateInvocationOutput as CreateInvocationOutput, + CreateSessionInput as CreateSessionInput, + CreateSessionOutput as CreateSessionOutput, + CreationMode as CreationMode, + CustomControlMethod as CustomControlMethod, + CustomOrchestration as CustomOrchestration, + CustomOrchestrationTrace as CustomOrchestrationTrace, + CustomOrchestrationTraceEvent as CustomOrchestrationTraceEvent, + DeleteAgentMemoryInput as DeleteAgentMemoryInput, + DeleteAgentMemoryOutput as DeleteAgentMemoryOutput, + DeleteSessionInput as DeleteSessionInput, + DeleteSessionOutput as DeleteSessionOutput, + DependencyFailedException as DependencyFailedException, + DocumentAcl as DocumentAcl, + DocumentAclCondition as DocumentAclCondition, + DocumentAclGroup as DocumentAclGroup, + DocumentAclMemberRelation as DocumentAclMemberRelation, + DocumentAclMembership as DocumentAclMembership, + DocumentAclMembershipType as DocumentAclMembershipType, + DocumentAclUser as DocumentAclUser, + DocumentOutputFormat as DocumentOutputFormat, + EndSessionInput as EndSessionInput, + EndSessionOutput as EndSessionOutput, + ExecutionType as ExecutionType, + ExternalSource as ExternalSource, + ExternalSourcesGenerationConfiguration as ExternalSourcesGenerationConfiguration, + ExternalSourcesRetrieveAndGenerateConfiguration as ExternalSourcesRetrieveAndGenerateConfiguration, + ExternalSourceType as ExternalSourceType, + FailureTrace as FailureTrace, + FieldForReranking as FieldForReranking, + FilePart as FilePart, + FileSource as FileSource, + FileSourceType as FileSourceType, + FileUseCase as FileUseCase, + FilterAttribute as FilterAttribute, + FinalResponse as FinalResponse, + FlowCompletionEvent as FlowCompletionEvent, + FlowCompletionReason as FlowCompletionReason, + FlowControlNodeType as FlowControlNodeType, + FlowErrorCode as FlowErrorCode, + FlowExecutionContentDocument as FlowExecutionContentDocument, + FlowExecutionContentUnknown as FlowExecutionContentUnknown, + FlowExecutionContent as FlowExecutionContent, + _FlowExecutionContentDeserializer as _FlowExecutionContentDeserializer, + FlowExecutionError as FlowExecutionError, + FlowExecutionErrorType as FlowExecutionErrorType, + FlowExecutionEventFlowInputEvent as FlowExecutionEventFlowInputEvent, + FlowExecutionEventFlowOutputEvent as FlowExecutionEventFlowOutputEvent, + FlowExecutionEventNodeInputEvent as FlowExecutionEventNodeInputEvent, + FlowExecutionEventNodeOutputEvent as FlowExecutionEventNodeOutputEvent, + FlowExecutionEventConditionResultEvent as FlowExecutionEventConditionResultEvent, + FlowExecutionEventNodeFailureEvent as FlowExecutionEventNodeFailureEvent, + FlowExecutionEventFlowFailureEvent as FlowExecutionEventFlowFailureEvent, + FlowExecutionEventNodeActionEvent as FlowExecutionEventNodeActionEvent, + FlowExecutionEventNodeDependencyEvent as FlowExecutionEventNodeDependencyEvent, + FlowExecutionEventUnknown as FlowExecutionEventUnknown, + FlowExecutionEvent as FlowExecutionEvent, + _FlowExecutionEventDeserializer as _FlowExecutionEventDeserializer, + FlowExecutionEventType as FlowExecutionEventType, + FlowExecutionInputEvent as FlowExecutionInputEvent, + FlowExecutionOutputEvent as FlowExecutionOutputEvent, + FlowExecutionStatus as FlowExecutionStatus, + FlowExecutionSummary as FlowExecutionSummary, + FlowFailureEvent as FlowFailureEvent, + FlowInput as FlowInput, + FlowInputContentDocument as FlowInputContentDocument, + FlowInputContentUnknown as FlowInputContentUnknown, + FlowInputContent as FlowInputContent, + _FlowInputContentDeserializer as _FlowInputContentDeserializer, + FlowInputField as FlowInputField, + FlowMultiTurnInputContentDocument as FlowMultiTurnInputContentDocument, + FlowMultiTurnInputContentUnknown as FlowMultiTurnInputContentUnknown, + FlowMultiTurnInputContent as FlowMultiTurnInputContent, + _FlowMultiTurnInputContentDeserializer as _FlowMultiTurnInputContentDeserializer, + FlowMultiTurnInputRequestEvent as FlowMultiTurnInputRequestEvent, + FlowNodeInputCategory as FlowNodeInputCategory, + FlowNodeIODataType as FlowNodeIODataType, + FlowOutputContentDocument as FlowOutputContentDocument, + FlowOutputContentUnknown as FlowOutputContentUnknown, + FlowOutputContent as FlowOutputContent, + _FlowOutputContentDeserializer as _FlowOutputContentDeserializer, + FlowOutputEvent as FlowOutputEvent, + FlowOutputField as FlowOutputField, + FlowResponseStreamFlowOutputEvent as FlowResponseStreamFlowOutputEvent, + FlowResponseStreamFlowCompletionEvent as FlowResponseStreamFlowCompletionEvent, + FlowResponseStreamFlowTraceEvent as FlowResponseStreamFlowTraceEvent, + FlowResponseStreamInternalServerException as FlowResponseStreamInternalServerException, + FlowResponseStreamValidationException as FlowResponseStreamValidationException, + FlowResponseStreamResourceNotFoundException as FlowResponseStreamResourceNotFoundException, + FlowResponseStreamServiceQuotaExceededException as FlowResponseStreamServiceQuotaExceededException, + FlowResponseStreamThrottlingException as FlowResponseStreamThrottlingException, + FlowResponseStreamAccessDeniedException as FlowResponseStreamAccessDeniedException, + FlowResponseStreamConflictException as FlowResponseStreamConflictException, + FlowResponseStreamDependencyFailedException as FlowResponseStreamDependencyFailedException, + FlowResponseStreamBadGatewayException as FlowResponseStreamBadGatewayException, + FlowResponseStreamFlowMultiTurnInputRequestEvent as FlowResponseStreamFlowMultiTurnInputRequestEvent, + FlowResponseStreamUnknown as FlowResponseStreamUnknown, + FlowResponseStream as FlowResponseStream, + _FlowResponseStreamDeserializer as _FlowResponseStreamDeserializer, + FlowTraceNodeInputTrace as FlowTraceNodeInputTrace, + FlowTraceNodeOutputTrace as FlowTraceNodeOutputTrace, + FlowTraceConditionNodeResultTrace as FlowTraceConditionNodeResultTrace, + FlowTraceNodeActionTrace as FlowTraceNodeActionTrace, + FlowTraceNodeDependencyTrace as FlowTraceNodeDependencyTrace, + FlowTraceUnknown as FlowTraceUnknown, + FlowTrace as FlowTrace, + _FlowTraceDeserializer as _FlowTraceDeserializer, + FlowTraceCondition as FlowTraceCondition, + FlowTraceConditionNodeResultEvent as FlowTraceConditionNodeResultEvent, + FlowTraceDependencyEvent as FlowTraceDependencyEvent, + FlowTraceEvent as FlowTraceEvent, + FlowTraceNodeActionEvent as FlowTraceNodeActionEvent, + FlowTraceNodeInputContentDocument as FlowTraceNodeInputContentDocument, + FlowTraceNodeInputContentUnknown as FlowTraceNodeInputContentUnknown, + FlowTraceNodeInputContent as FlowTraceNodeInputContent, + _FlowTraceNodeInputContentDeserializer as _FlowTraceNodeInputContentDeserializer, + FlowTraceNodeInputEvent as FlowTraceNodeInputEvent, + FlowTraceNodeInputExecutionChainItem as FlowTraceNodeInputExecutionChainItem, + FlowTraceNodeInputField as FlowTraceNodeInputField, + FlowTraceNodeInputSource as FlowTraceNodeInputSource, + FlowTraceNodeOutputContentDocument as FlowTraceNodeOutputContentDocument, + FlowTraceNodeOutputContentUnknown as FlowTraceNodeOutputContentUnknown, + FlowTraceNodeOutputContent as FlowTraceNodeOutputContent, + _FlowTraceNodeOutputContentDeserializer as _FlowTraceNodeOutputContentDeserializer, + FlowTraceNodeOutputEvent as FlowTraceNodeOutputEvent, + FlowTraceNodeOutputField as FlowTraceNodeOutputField, + FlowTraceNodeOutputNext as FlowTraceNodeOutputNext, + FoundationModelConfiguration as FoundationModelConfiguration, + FoundationModelConfigurationType as FoundationModelConfigurationType, + FoundationModelType as FoundationModelType, + FunctionDefinition as FunctionDefinition, + FunctionInvocationInput as FunctionInvocationInput, + FunctionParameter as FunctionParameter, + FunctionResult as FunctionResult, + FunctionSchemaFunctions as FunctionSchemaFunctions, + FunctionSchemaUnknown as FunctionSchemaUnknown, + FunctionSchema as FunctionSchema, + _FunctionSchemaDeserializer as _FunctionSchemaDeserializer, + GeneratedQuery as GeneratedQuery, + GeneratedQueryType as GeneratedQueryType, + GeneratedResponsePart as GeneratedResponsePart, + GenerateQueryInput as GenerateQueryInput, + GenerateQueryOutput as GenerateQueryOutput, + GenerationConfiguration as GenerationConfiguration, + GetAgentMemoryInput as GetAgentMemoryInput, + GetAgentMemoryOutput as GetAgentMemoryOutput, + GetDocumentContentInput as GetDocumentContentInput, + GetDocumentContentOutput as GetDocumentContentOutput, + GetExecutionFlowSnapshotInput as GetExecutionFlowSnapshotInput, + GetExecutionFlowSnapshotOutput as GetExecutionFlowSnapshotOutput, + GetFlowExecutionInput as GetFlowExecutionInput, + GetFlowExecutionOutput as GetFlowExecutionOutput, + GetIngestedDocumentAclInput as GetIngestedDocumentAclInput, + GetIngestedDocumentAclOutput as GetIngestedDocumentAclOutput, + GetInvocationStepInput as GetInvocationStepInput, + GetInvocationStepOutput as GetInvocationStepOutput, + GetSessionInput as GetSessionInput, + GetSessionOutput as GetSessionOutput, + GuadrailAction as GuadrailAction, + GuardrailAction as GuardrailAction, + GuardrailAssessment as GuardrailAssessment, + GuardrailConfiguration as GuardrailConfiguration, + GuardrailConfigurationWithArn as GuardrailConfigurationWithArn, + GuardrailContentFilter as GuardrailContentFilter, + GuardrailContentFilterConfidence as GuardrailContentFilterConfidence, + GuardrailContentFilterType as GuardrailContentFilterType, + GuardrailContentPolicyAction as GuardrailContentPolicyAction, + GuardrailContentPolicyAssessment as GuardrailContentPolicyAssessment, + GuardrailCustomWord as GuardrailCustomWord, + GuardrailEvent as GuardrailEvent, + GuardrailManagedWord as GuardrailManagedWord, + GuardrailManagedWordType as GuardrailManagedWordType, + GuardrailPiiEntityFilter as GuardrailPiiEntityFilter, + GuardrailPiiEntityType as GuardrailPiiEntityType, + GuardrailRegexFilter as GuardrailRegexFilter, + GuardrailSensitiveInformationPolicyAction as GuardrailSensitiveInformationPolicyAction, + GuardrailSensitiveInformationPolicyAssessment as GuardrailSensitiveInformationPolicyAssessment, + GuardrailTopic as GuardrailTopic, + GuardrailTopicPolicyAction as GuardrailTopicPolicyAction, + GuardrailTopicPolicyAssessment as GuardrailTopicPolicyAssessment, + GuardrailTopicType as GuardrailTopicType, + GuardrailTrace as GuardrailTrace, + GuardrailWordPolicyAction as GuardrailWordPolicyAction, + GuardrailWordPolicyAssessment as GuardrailWordPolicyAssessment, + ImageBlock as ImageBlock, + ImageFormat as ImageFormat, + ImageInput as ImageInput, + ImageInputFormat as ImageInputFormat, + ImageInputSourceBytes as ImageInputSourceBytes, + ImageInputSourceUnknown as ImageInputSourceUnknown, + ImageInputSource as ImageInputSource, + _ImageInputSourceDeserializer as _ImageInputSourceDeserializer, + ImageSourceBytes as ImageSourceBytes, + ImageSourceS3Location as ImageSourceS3Location, + ImageSourceUnknown as ImageSourceUnknown, + ImageSource as ImageSource, + _ImageSourceDeserializer as _ImageSourceDeserializer, + ImplicitFilterConfiguration as ImplicitFilterConfiguration, + InferenceConfig as InferenceConfig, + InferenceConfiguration as InferenceConfiguration, + InlineAgentFilePart as InlineAgentFilePart, + InlineAgentPayloadPart as InlineAgentPayloadPart, + InlineAgentResponseStreamChunk as InlineAgentResponseStreamChunk, + InlineAgentResponseStreamTrace as InlineAgentResponseStreamTrace, + InlineAgentResponseStreamReturnControl as InlineAgentResponseStreamReturnControl, + InlineAgentResponseStreamInternalServerException as InlineAgentResponseStreamInternalServerException, + InlineAgentResponseStreamValidationException as InlineAgentResponseStreamValidationException, + InlineAgentResponseStreamResourceNotFoundException as InlineAgentResponseStreamResourceNotFoundException, + InlineAgentResponseStreamServiceQuotaExceededException as InlineAgentResponseStreamServiceQuotaExceededException, + InlineAgentResponseStreamThrottlingException as InlineAgentResponseStreamThrottlingException, + InlineAgentResponseStreamAccessDeniedException as InlineAgentResponseStreamAccessDeniedException, + InlineAgentResponseStreamConflictException as InlineAgentResponseStreamConflictException, + InlineAgentResponseStreamDependencyFailedException as InlineAgentResponseStreamDependencyFailedException, + InlineAgentResponseStreamBadGatewayException as InlineAgentResponseStreamBadGatewayException, + InlineAgentResponseStreamFiles as InlineAgentResponseStreamFiles, + InlineAgentResponseStreamUnknown as InlineAgentResponseStreamUnknown, + InlineAgentResponseStream as InlineAgentResponseStream, + _InlineAgentResponseStreamDeserializer as _InlineAgentResponseStreamDeserializer, + InlineAgentReturnControlPayload as InlineAgentReturnControlPayload, + InlineAgentTracePart as InlineAgentTracePart, + InlineBedrockModelConfigurations as InlineBedrockModelConfigurations, + InlineSessionState as InlineSessionState, + InputFile as InputFile, + InputImage as InputImage, + InputImageFormat as InputImageFormat, + InputPromptTextPrompt as InputPromptTextPrompt, + InputPromptUnknown as InputPromptUnknown, + InputPrompt as InputPrompt, + _InputPromptDeserializer as _InputPromptDeserializer, + InputQueryType as InputQueryType, + InternalServerException as InternalServerException, + InvocationInput as InvocationInput, + InvocationInputMemberApiInvocationInput as InvocationInputMemberApiInvocationInput, + InvocationInputMemberFunctionInvocationInput as InvocationInputMemberFunctionInvocationInput, + InvocationInputMemberUnknown as InvocationInputMemberUnknown, + InvocationInputMember as InvocationInputMember, + _InvocationInputMemberDeserializer as _InvocationInputMemberDeserializer, +) + +from ._private.models_1 import ( + InvocationResultMemberApiResult as InvocationResultMemberApiResult, + InvocationResultMemberFunctionResult as InvocationResultMemberFunctionResult, + InvocationResultMemberUnknown as InvocationResultMemberUnknown, + InvocationResultMember as InvocationResultMember, + _InvocationResultMemberDeserializer as _InvocationResultMemberDeserializer, + InvocationStep as InvocationStep, + InvocationStepPayloadContentBlocks as InvocationStepPayloadContentBlocks, + InvocationStepPayloadUnknown as InvocationStepPayloadUnknown, + InvocationStepPayload as InvocationStepPayload, + _InvocationStepPayloadDeserializer as _InvocationStepPayloadDeserializer, + InvocationStepSummary as InvocationStepSummary, + InvocationSummary as InvocationSummary, + InvocationType as InvocationType, + InvokeAgentInput as InvokeAgentInput, + InvokeAgentOutput as InvokeAgentOutput, + InvokeFlowInput as InvokeFlowInput, + InvokeFlowOutput as InvokeFlowOutput, + InvokeInlineAgentInput as InvokeInlineAgentInput, + InvokeInlineAgentOutput as InvokeInlineAgentOutput, + KnowledgeBase as KnowledgeBase, + KnowledgeBaseConfiguration as KnowledgeBaseConfiguration, + KnowledgeBaseLookupInput as KnowledgeBaseLookupInput, + KnowledgeBaseLookupOutput as KnowledgeBaseLookupOutput, + KnowledgeBaseQuery as KnowledgeBaseQuery, + KnowledgeBaseQueryType as KnowledgeBaseQueryType, + KnowledgeBaseRetrievalConfiguration as KnowledgeBaseRetrievalConfiguration, + KnowledgeBaseRetrievalResult as KnowledgeBaseRetrievalResult, + KnowledgeBaseRetrieveAndGenerateConfiguration as KnowledgeBaseRetrieveAndGenerateConfiguration, + KnowledgeBaseRetrieverConfiguration as KnowledgeBaseRetrieverConfiguration, + KnowledgeBaseVectorSearchConfiguration as KnowledgeBaseVectorSearchConfiguration, + ListFlowExecutionEventsInput as ListFlowExecutionEventsInput, + ListFlowExecutionEventsOutput as ListFlowExecutionEventsOutput, + ListFlowExecutionsInput as ListFlowExecutionsInput, + ListFlowExecutionsOutput as ListFlowExecutionsOutput, + ListInvocationsInput as ListInvocationsInput, + ListInvocationsOutput as ListInvocationsOutput, + ListInvocationStepsInput as ListInvocationStepsInput, + ListInvocationStepsOutput as ListInvocationStepsOutput, + ListSessionsInput as ListSessionsInput, + ListSessionsOutput as ListSessionsOutput, + ListTagsForResourceInput as ListTagsForResourceInput, + ListTagsForResourceOutput as ListTagsForResourceOutput, + ManagedSearchBedrockRerankingConfiguration as ManagedSearchBedrockRerankingConfiguration, + ManagedSearchBedrockRerankingModelConfiguration as ManagedSearchBedrockRerankingModelConfiguration, + ManagedSearchConfiguration as ManagedSearchConfiguration, + ManagedSearchRerankingConfiguration as ManagedSearchRerankingConfiguration, + ManagedSearchRerankingConfigurationType as ManagedSearchRerankingConfigurationType, + MantleFoundationModelConfiguration as MantleFoundationModelConfiguration, + MantleFoundationModelModelConfiguration as MantleFoundationModelModelConfiguration, + Memory_SessionSummary as Memory_SessionSummary, + MemoryUnknown as MemoryUnknown, + Memory as Memory, + _MemoryDeserializer as _MemoryDeserializer, + MemorySessionSummary as MemorySessionSummary, + MemoryType as MemoryType, + Message as Message, + Metadata as Metadata, + MetadataAttributeSchema as MetadataAttributeSchema, + MetadataConfigurationForReranking as MetadataConfigurationForReranking, + ModelInvocationInput as ModelInvocationInput, + ModelNotReadyException as ModelNotReadyException, + ModelPerformanceConfiguration as ModelPerformanceConfiguration, + NodeActionEvent as NodeActionEvent, + NodeDependencyEvent as NodeDependencyEvent, + NodeErrorCode as NodeErrorCode, + NodeExecutionContentDocument as NodeExecutionContentDocument, + NodeExecutionContentUnknown as NodeExecutionContentUnknown, + NodeExecutionContent as NodeExecutionContent, + _NodeExecutionContentDeserializer as _NodeExecutionContentDeserializer, + NodeFailureEvent as NodeFailureEvent, + NodeInputEvent as NodeInputEvent, + NodeInputExecutionChainItem as NodeInputExecutionChainItem, + NodeInputField as NodeInputField, + NodeInputSource as NodeInputSource, + NodeOutputEvent as NodeOutputEvent, + NodeOutputField as NodeOutputField, + NodeOutputNext as NodeOutputNext, + NodeTraceElementsAgentTraces as NodeTraceElementsAgentTraces, + NodeTraceElementsUnknown as NodeTraceElementsUnknown, + NodeTraceElements as NodeTraceElements, + _NodeTraceElementsDeserializer as _NodeTraceElementsDeserializer, + NodeType as NodeType, + Observation as Observation, + OptimizedPromptTextPrompt as OptimizedPromptTextPrompt, + OptimizedPromptUnknown as OptimizedPromptUnknown, + OptimizedPrompt as OptimizedPrompt, + _OptimizedPromptDeserializer as _OptimizedPromptDeserializer, + OptimizedPromptEvent as OptimizedPromptEvent, + OptimizedPromptStreamOptimizedPromptEvent as OptimizedPromptStreamOptimizedPromptEvent, + OptimizedPromptStreamAnalyzePromptEvent as OptimizedPromptStreamAnalyzePromptEvent, + OptimizedPromptStreamInternalServerException as OptimizedPromptStreamInternalServerException, + OptimizedPromptStreamThrottlingException as OptimizedPromptStreamThrottlingException, + OptimizedPromptStreamValidationException as OptimizedPromptStreamValidationException, + OptimizedPromptStreamDependencyFailedException as OptimizedPromptStreamDependencyFailedException, + OptimizedPromptStreamAccessDeniedException as OptimizedPromptStreamAccessDeniedException, + OptimizedPromptStreamBadGatewayException as OptimizedPromptStreamBadGatewayException, + OptimizedPromptStreamUnknown as OptimizedPromptStreamUnknown, + OptimizedPromptStream as OptimizedPromptStream, + _OptimizedPromptStreamDeserializer as _OptimizedPromptStreamDeserializer, + OptimizePromptInput as OptimizePromptInput, + OptimizePromptOutput as OptimizePromptOutput, + OrchestrationConfiguration as OrchestrationConfiguration, + OrchestrationExecutorLambda as OrchestrationExecutorLambda, + OrchestrationExecutorUnknown as OrchestrationExecutorUnknown, + OrchestrationExecutor as OrchestrationExecutor, + _OrchestrationExecutorDeserializer as _OrchestrationExecutorDeserializer, + OrchestrationModelInvocationOutput as OrchestrationModelInvocationOutput, + OrchestrationTraceRationale as OrchestrationTraceRationale, + OrchestrationTraceInvocationInput as OrchestrationTraceInvocationInput, + OrchestrationTraceObservation as OrchestrationTraceObservation, + OrchestrationTraceModelInvocationInput as OrchestrationTraceModelInvocationInput, + OrchestrationTraceModelInvocationOutput as OrchestrationTraceModelInvocationOutput, + OrchestrationTraceUnknown as OrchestrationTraceUnknown, + OrchestrationTrace as OrchestrationTrace, + _OrchestrationTraceDeserializer as _OrchestrationTraceDeserializer, + OrchestrationType as OrchestrationType, + OutputFile as OutputFile, + Parameter as Parameter, + ParameterDetail as ParameterDetail, + ParameterType as ParameterType, + PayloadPart as PayloadPart, + PayloadType as PayloadType, + PerformanceConfigLatency as PerformanceConfigLatency, + PerformanceConfiguration as PerformanceConfiguration, + PostProcessingModelInvocationOutput as PostProcessingModelInvocationOutput, + PostProcessingParsedResponse as PostProcessingParsedResponse, + PostProcessingTraceModelInvocationInput as PostProcessingTraceModelInvocationInput, + PostProcessingTraceModelInvocationOutput as PostProcessingTraceModelInvocationOutput, + PostProcessingTraceUnknown as PostProcessingTraceUnknown, + PostProcessingTrace as PostProcessingTrace, + _PostProcessingTraceDeserializer as _PostProcessingTraceDeserializer, + PreProcessingModelInvocationOutput as PreProcessingModelInvocationOutput, + PreProcessingParsedResponse as PreProcessingParsedResponse, + PreProcessingTraceModelInvocationInput as PreProcessingTraceModelInvocationInput, + PreProcessingTraceModelInvocationOutput as PreProcessingTraceModelInvocationOutput, + PreProcessingTraceUnknown as PreProcessingTraceUnknown, + PreProcessingTrace as PreProcessingTrace, + _PreProcessingTraceDeserializer as _PreProcessingTraceDeserializer, + PromptConfiguration as PromptConfiguration, + PromptCreationConfigurations as PromptCreationConfigurations, + PromptOverrideConfiguration as PromptOverrideConfiguration, + PromptState as PromptState, + PromptTemplate as PromptTemplate, + PromptType as PromptType, + PropertyParameters as PropertyParameters, + PutInvocationStepInput as PutInvocationStepInput, + PutInvocationStepOutput as PutInvocationStepOutput, + QueryGenerationInput as QueryGenerationInput, + QueryTransformationConfiguration as QueryTransformationConfiguration, + QueryTransformationMode as QueryTransformationMode, + QueryTransformationType as QueryTransformationType, + Rationale as Rationale, + RawResponse as RawResponse, + ReasoningContentBlockReasoningText as ReasoningContentBlockReasoningText, + ReasoningContentBlockRedactedContent as ReasoningContentBlockRedactedContent, + ReasoningContentBlockUnknown as ReasoningContentBlockUnknown, + ReasoningContentBlock as ReasoningContentBlock, + _ReasoningContentBlockDeserializer as _ReasoningContentBlockDeserializer, + ReasoningTextBlock as ReasoningTextBlock, + RelayConversationHistory as RelayConversationHistory, + RepromptResponse as RepromptResponse, + RequestBody as RequestBody, + RequireConfirmation as RequireConfirmation, + RerankDocument as RerankDocument, + RerankDocumentType as RerankDocumentType, + RerankingConfiguration as RerankingConfiguration, + RerankingConfigurationType as RerankingConfigurationType, + RerankingMetadataSelectionMode as RerankingMetadataSelectionMode, + RerankingMetadataSelectiveModeConfigurationFieldsToInclude as RerankingMetadataSelectiveModeConfigurationFieldsToInclude, + RerankingMetadataSelectiveModeConfigurationFieldsToExclude as RerankingMetadataSelectiveModeConfigurationFieldsToExclude, + RerankingMetadataSelectiveModeConfigurationUnknown as RerankingMetadataSelectiveModeConfigurationUnknown, + RerankingMetadataSelectiveModeConfiguration as RerankingMetadataSelectiveModeConfiguration, + _RerankingMetadataSelectiveModeConfigurationDeserializer as _RerankingMetadataSelectiveModeConfigurationDeserializer, + RerankingModelType as RerankingModelType, + RerankInput as RerankInput, + RerankOutput as RerankOutput, + RerankQuery as RerankQuery, + RerankQueryContentType as RerankQueryContentType, + RerankResult as RerankResult, + RerankSource as RerankSource, + RerankSourceType as RerankSourceType, + RerankTextDocument as RerankTextDocument, + ResourceNotFoundException as ResourceNotFoundException, + ResponseState as ResponseState, + ResponseStreamChunk as ResponseStreamChunk, + ResponseStreamTrace as ResponseStreamTrace, + ResponseStreamReturnControl as ResponseStreamReturnControl, + ResponseStreamInternalServerException as ResponseStreamInternalServerException, + ResponseStreamValidationException as ResponseStreamValidationException, + ResponseStreamResourceNotFoundException as ResponseStreamResourceNotFoundException, + ResponseStreamServiceQuotaExceededException as ResponseStreamServiceQuotaExceededException, + ResponseStreamThrottlingException as ResponseStreamThrottlingException, + ResponseStreamAccessDeniedException as ResponseStreamAccessDeniedException, + ResponseStreamConflictException as ResponseStreamConflictException, + ResponseStreamDependencyFailedException as ResponseStreamDependencyFailedException, + ResponseStreamBadGatewayException as ResponseStreamBadGatewayException, + ResponseStreamModelNotReadyException as ResponseStreamModelNotReadyException, + ResponseStreamFiles as ResponseStreamFiles, + ResponseStreamUnknown as ResponseStreamUnknown, + ResponseStream as ResponseStream, + _ResponseStreamDeserializer as _ResponseStreamDeserializer, + RetrievalContent as RetrievalContent, + RetrievalFilterEquals as RetrievalFilterEquals, + RetrievalFilterNotEquals as RetrievalFilterNotEquals, + RetrievalFilterGreaterThan as RetrievalFilterGreaterThan, + RetrievalFilterGreaterThanOrEquals as RetrievalFilterGreaterThanOrEquals, + RetrievalFilterLessThan as RetrievalFilterLessThan, + RetrievalFilterLessThanOrEquals as RetrievalFilterLessThanOrEquals, + RetrievalFilterIn as RetrievalFilterIn, + RetrievalFilterNotIn as RetrievalFilterNotIn, + RetrievalFilterStartsWith as RetrievalFilterStartsWith, + RetrievalFilterListContains as RetrievalFilterListContains, + RetrievalFilterStringContains as RetrievalFilterStringContains, + RetrievalFilterAndAll as RetrievalFilterAndAll, + RetrievalFilterOrAll as RetrievalFilterOrAll, + RetrievalFilterUnknown as RetrievalFilterUnknown, + RetrievalFilter as RetrievalFilter, + _RetrievalFilterDeserializer as _RetrievalFilterDeserializer, + RetrievalOverrides as RetrievalOverrides, + RetrievalResultConfluenceLocation as RetrievalResultConfluenceLocation, + RetrievalResultContent as RetrievalResultContent, + RetrievalResultContentColumn as RetrievalResultContentColumn, + RetrievalResultContentColumnType as RetrievalResultContentColumnType, + RetrievalResultContentType as RetrievalResultContentType, + RetrievalResultCustomDocumentLocation as RetrievalResultCustomDocumentLocation, + RetrievalResultGoogleDriveLocation as RetrievalResultGoogleDriveLocation, + RetrievalResultKendraDocumentLocation as RetrievalResultKendraDocumentLocation, + RetrievalResultLocation as RetrievalResultLocation, + RetrievalResultLocationType as RetrievalResultLocationType, + RetrievalResultOneDriveLocation as RetrievalResultOneDriveLocation, + RetrievalResultS3Location as RetrievalResultS3Location, + RetrievalResultSalesforceLocation as RetrievalResultSalesforceLocation, + RetrievalResultSharePointLocation as RetrievalResultSharePointLocation, + RetrievalResultSqlLocation as RetrievalResultSqlLocation, + RetrievalResultWebLocation as RetrievalResultWebLocation, + RetrieveAndGenerateConfiguration as RetrieveAndGenerateConfiguration, + RetrieveAndGenerateInput as RetrieveAndGenerateInput, + RetrieveAndGenerateOperationInput as RetrieveAndGenerateOperationInput, + RetrieveAndGenerateOperationOutput as RetrieveAndGenerateOperationOutput, + RetrieveAndGenerateOutput as RetrieveAndGenerateOutput, + RetrieveAndGenerateOutputEvent as RetrieveAndGenerateOutputEvent, + RetrieveAndGenerateSessionConfiguration as RetrieveAndGenerateSessionConfiguration, + RetrieveAndGenerateStreamInput as RetrieveAndGenerateStreamInput, + RetrieveAndGenerateStreamOutput as RetrieveAndGenerateStreamOutput, + RetrieveAndGenerateStreamResponseOutputOutput as RetrieveAndGenerateStreamResponseOutputOutput, + RetrieveAndGenerateStreamResponseOutputCitation as RetrieveAndGenerateStreamResponseOutputCitation, + RetrieveAndGenerateStreamResponseOutputGuardrail as RetrieveAndGenerateStreamResponseOutputGuardrail, + RetrieveAndGenerateStreamResponseOutputInternalServerException as RetrieveAndGenerateStreamResponseOutputInternalServerException, + RetrieveAndGenerateStreamResponseOutputValidationException as RetrieveAndGenerateStreamResponseOutputValidationException, + RetrieveAndGenerateStreamResponseOutputResourceNotFoundException as RetrieveAndGenerateStreamResponseOutputResourceNotFoundException, + RetrieveAndGenerateStreamResponseOutputServiceQuotaExceededException as RetrieveAndGenerateStreamResponseOutputServiceQuotaExceededException, + RetrieveAndGenerateStreamResponseOutputThrottlingException as RetrieveAndGenerateStreamResponseOutputThrottlingException, + RetrieveAndGenerateStreamResponseOutputAccessDeniedException as RetrieveAndGenerateStreamResponseOutputAccessDeniedException, + RetrieveAndGenerateStreamResponseOutputConflictException as RetrieveAndGenerateStreamResponseOutputConflictException, + RetrieveAndGenerateStreamResponseOutputDependencyFailedException as RetrieveAndGenerateStreamResponseOutputDependencyFailedException, + RetrieveAndGenerateStreamResponseOutputBadGatewayException as RetrieveAndGenerateStreamResponseOutputBadGatewayException, + RetrieveAndGenerateStreamResponseOutputUnknown as RetrieveAndGenerateStreamResponseOutputUnknown, + RetrieveAndGenerateStreamResponseOutput as RetrieveAndGenerateStreamResponseOutput, + _RetrieveAndGenerateStreamResponseOutputDeserializer as _RetrieveAndGenerateStreamResponseOutputDeserializer, + RetrieveAndGenerateType as RetrieveAndGenerateType, + RetrievedReference as RetrievedReference, + RetrieveInput as RetrieveInput, + RetrieveOutput as RetrieveOutput, + RetrieverConfigurationKnowledgeBase as RetrieverConfigurationKnowledgeBase, + RetrieverConfigurationUnknown as RetrieverConfigurationUnknown, + RetrieverConfiguration as RetrieverConfiguration, + _RetrieverConfigurationDeserializer as _RetrieverConfigurationDeserializer, + ReturnControlPayload as ReturnControlPayload, + ReturnControlResults as ReturnControlResults, + RoutingClassifierModelInvocationOutput as RoutingClassifierModelInvocationOutput, + RoutingClassifierTraceInvocationInput as RoutingClassifierTraceInvocationInput, + RoutingClassifierTraceObservation as RoutingClassifierTraceObservation, + RoutingClassifierTraceModelInvocationInput as RoutingClassifierTraceModelInvocationInput, + RoutingClassifierTraceModelInvocationOutput as RoutingClassifierTraceModelInvocationOutput, + RoutingClassifierTraceUnknown as RoutingClassifierTraceUnknown, + RoutingClassifierTrace as RoutingClassifierTrace, + _RoutingClassifierTraceDeserializer as _RoutingClassifierTraceDeserializer, + S3Identifier as S3Identifier, + S3Location as S3Location, + S3ObjectDoc as S3ObjectDoc, + S3ObjectFile as S3ObjectFile, + SatisfiedCondition as SatisfiedCondition, + SearchType as SearchType, + ServiceQuotaExceededException as ServiceQuotaExceededException, + SessionState as SessionState, + SessionStatus as SessionStatus, + SessionSummary as SessionSummary, + Source as Source, + Span as Span, + StartFlowExecutionInput as StartFlowExecutionInput, + StartFlowExecutionOutput as StartFlowExecutionOutput, + StopFlowExecutionInput as StopFlowExecutionInput, + StopFlowExecutionOutput as StopFlowExecutionOutput, + StreamingConfigurations as StreamingConfigurations, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + TextInferenceConfig as TextInferenceConfig, + TextPrompt as TextPrompt, + TextResponsePart as TextResponsePart, + TextToSqlConfiguration as TextToSqlConfiguration, + TextToSqlConfigurationType as TextToSqlConfigurationType, + TextToSqlKnowledgeBaseConfiguration as TextToSqlKnowledgeBaseConfiguration, + ThrottlingException as ThrottlingException, + TraceGuardrailTrace as TraceGuardrailTrace, + TracePreProcessingTrace as TracePreProcessingTrace, + TraceOrchestrationTrace as TraceOrchestrationTrace, + TracePostProcessingTrace as TracePostProcessingTrace, + TraceRoutingClassifierTrace as TraceRoutingClassifierTrace, + TraceFailureTrace as TraceFailureTrace, + TraceCustomOrchestrationTrace as TraceCustomOrchestrationTrace, + TraceUnknown as TraceUnknown, + Trace as Trace, + _TraceDeserializer as _TraceDeserializer, + TraceElementsAgentTraces as TraceElementsAgentTraces, + TraceElementsUnknown as TraceElementsUnknown, + TraceElements as TraceElements, + _TraceElementsDeserializer as _TraceElementsDeserializer, + TracePart as TracePart, + TransformationConfiguration as TransformationConfiguration, + Type as Type, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateSessionInput as UpdateSessionInput, + UpdateSessionOutput as UpdateSessionOutput, + Usage as Usage, + UserContext as UserContext, + ValidationException as ValidationException, + VectorSearchBedrockRerankingConfiguration as VectorSearchBedrockRerankingConfiguration, + VectorSearchBedrockRerankingModelConfiguration as VectorSearchBedrockRerankingModelConfiguration, + VectorSearchRerankingConfiguration as VectorSearchRerankingConfiguration, + VectorSearchRerankingConfigurationType as VectorSearchRerankingConfigurationType, + VideoSegment as VideoSegment, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -27,9050 +740,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AccessDeniedException(ServiceError, _SerdeShape): - """ - The request is denied because of missing access permissions. Check your - permissions and retry your request. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ActionGroupExecutorLambda(_SerdeShape): - """ - The Amazon Resource Name (ARN) of the Lambda function containing the - business logic that is carried out upon invoking the action. - """ - - value: str - -@dataclass -class ActionGroupExecutorCustomControl(_SerdeShape): - """ - To return the action group invocation results directly in the - `InvokeInlineAgent` response, specify `RETURN_CONTROL`. - """ - - value: str - -@dataclass -class ActionGroupExecutorUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ActionGroupExecutor = Union[ - ActionGroupExecutorLambda - | ActionGroupExecutorCustomControl - | ActionGroupExecutorUnknown -] -""" -Contains details about the Lambda function containing the business logic -that is carried out upon invoking the action or the custom control -method for handling the information elicited from the user. -""" - -class _ActionGroupExecutorDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ActionGroupExecutor: ... - -@dataclass(kw_only=True) -class ActionGroupInvocationInput(_SerdeShape): - """ - Contains information about the action group being invoked. For more - information about the possible structures, see the InvocationInput tab - in - [OrchestrationTrace](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-orchestration.html) - in the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). - """ - - action_group_name: str | None = ... - """The name of the action group.""" - verb: str | None = ... - """The API method being used, based off the action group.""" - api_path: str | None = ... - """The path to the API to call, based off the action group.""" - parameters: list[Parameter] | None = ... - """The parameters in the Lambda input event.""" - request_body: RequestBody | None = ... - """The parameters in the request body for the Lambda input event.""" - function: str | None = ... - """The function in the action group to call.""" - execution_type: str | None = ... - """ - How fulfillment of the action is handled. For more information, see - [Handling fulfillment of the - action](https://docs.aws.amazon.com/bedrock/latest/userguide/action-handle.html). - """ - invocation_id: str | None = ... - """ - The unique identifier of the invocation. Only returned if the - `executionType` is `RETURN_CONTROL`. - """ - -@dataclass(kw_only=True) -class ActionGroupInvocationOutput(_SerdeShape): - """ - Contains the JSON-formatted string returned by the API invoked by the - action group. - """ - - text: str | None = ... - """ - The JSON-formatted string returned by the API invoked by the action - group. - """ - metadata: Metadata | None = ... - """Contains information about the action group output.""" - -class ActionGroupSignature(UnknownEnumMixin, StrEnum): - AMAZON_USERINPUT = "AMAZON.UserInput" - AMAZON_CODEINTERPRETER = "AMAZON.CodeInterpreter" - ANTHROPIC_COMPUTER = "ANTHROPIC.Computer" - ANTHROPIC_BASH = "ANTHROPIC.Bash" - ANTHROPIC_TEXTEDITOR = "ANTHROPIC.TextEditor" - -class ActionInvocationType(UnknownEnumMixin, StrEnum): - RESULT = "RESULT" - USER_CONFIRMATION = "USER_CONFIRMATION" - USER_CONFIRMATION_AND_RESULT = "USER_CONFIRMATION_AND_RESULT" - -@dataclass(kw_only=True) -class AgentActionGroup(_SerdeShape): - """Contains details of the inline agent's action group.""" - - action_group_name: str - """The name of the action group.""" - description: str | None = ... - """A description of the action group.""" - parent_action_group_signature: str | None = ... - """ - Specify a built-in or computer use action for this action group. If you - specify a value, you must leave the `description`, `apiSchema`, and - `actionGroupExecutor` fields empty for this action group. - - - To allow your agent to request the user for additional information - when trying to complete a task, set this field to `AMAZON.UserInput`. - - - To allow your agent to generate, run, and troubleshoot code when - trying to complete a task, set this field to `AMAZON.CodeInterpreter`. - - - To allow your agent to use an Anthropic computer use tool, specify one - of the following values. - - Warning: - Computer use is a new Anthropic Claude model capability (in beta) - available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 - only. When operating computer use functionality, we recommend taking - additional security precautions, such as executing computer actions in - virtual environments with restricted data access and limited internet - connectivity. For more information, see [Configure an Amazon Bedrock - Agent to complete tasks with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). - - - `ANTHROPIC.Computer` - Gives the agent permission to use the mouse - and keyboard and take screenshots. - - - `ANTHROPIC.TextEditor` - Gives the agent permission to view, create - and edit files. - - - `ANTHROPIC.Bash` - Gives the agent permission to run commands in a - bash shell. - """ - action_group_executor: ActionGroupExecutor | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda function containing the - business logic that is carried out upon invoking the action or the - custom control method for handling the information elicited from the - user. - """ - api_schema: APISchema | None = ... - """ - Contains either details about the S3 object containing the OpenAPI - schema for the action group or the JSON or YAML-formatted payload - defining the schema. For more information, see [Action group OpenAPI - schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). - """ - function_schema: FunctionSchema | None = ... - """ - Contains details about the function schema for the action group or the - JSON or YAML-formatted payload defining the schema. - """ - parent_action_group_signature_params: dict[str, str] | None = ... - """ - The configuration settings for a computer use action. - - Warning: - Computer use is a new Anthropic Claude model capability (in beta) - available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more - information, see [Configure an Amazon Bedrock Agent to complete tasks - with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). - """ - -class AgentCollaboration(UnknownEnumMixin, StrEnum): - SUPERVISOR = "SUPERVISOR" - SUPERVISOR_ROUTER = "SUPERVISOR_ROUTER" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class AgentCollaboratorInputPayload(_SerdeShape): - """ - Input for an agent collaborator. The input can be text or an action - invocation result. - """ - - type: str | None = ... - """The input type.""" - text: str | None = ... - """Input text.""" - return_control_results: ReturnControlResults | None = ... - """An action invocation result.""" - -@dataclass(kw_only=True) -class AgentCollaboratorInvocationInput(_SerdeShape): - """An agent collaborator invocation input.""" - - agent_collaborator_name: str | None = ... - """The collaborator's name.""" - agent_collaborator_alias_arn: str | None = ... - """The collaborator's alias ARN.""" - input: AgentCollaboratorInputPayload | None = ... - """Text or action invocation result input for the collaborator.""" - -@dataclass(kw_only=True) -class AgentCollaboratorInvocationOutput(_SerdeShape): - """Output from an agent collaborator.""" - - agent_collaborator_name: str | None = ... - """The output's agent collaborator name.""" - agent_collaborator_alias_arn: str | None = ... - """The output's agent collaborator alias ARN.""" - output: AgentCollaboratorOutputPayload | None = ... - """The output's output.""" - metadata: Metadata | None = ... - """Contains information about the output from the agent collaborator.""" - -@dataclass(kw_only=True) -class AgentCollaboratorOutputPayload(_SerdeShape): - """ - Output from an agent collaborator. The output can be text or an action - invocation result. - """ - - type: str | None = ... - """The type of output.""" - text: str | None = ... - """Text output.""" - return_control_payload: ReturnControlPayload | None = ... - """An action invocation result.""" - -@dataclass(kw_only=True) -class AgenticRetrieveAction(_SerdeShape): - """An action taken during agentic retrieval.""" - - retrieve: AgenticRetrieveActionDetails | None = ... - """Details of the retrieve action.""" - full_document_expansion: AgenticRetrieveFullDocExpansionDetails | None = ... - """Details of a full document expansion action.""" - memory_retrieve: AgenticRetrieveMemoryRetrieveDetails | None = ... - """ - The details of a long-term memory retrieval that the agent chose to - perform. - """ - code_execution: AgenticRetrieveCodeExecutionDetails | None = ... - """The details of code that the agent chose to run.""" - -@dataclass(kw_only=True) -class AgenticRetrieveActionDetails(_SerdeShape): - """Details of a retrieve action including the query and target retrievers.""" - - input_query: AgenticRetrieveMessageContent - """The input query used for retrieval.""" - source_retrievers: list[AgenticRetrieveSourceRetriever] - """The list of source retrievers targeted by this action.""" - -@dataclass(kw_only=True) -class AgenticRetrieveAppliedInstruction(_SerdeShape): - """ - The retrieval instruction, identified by its ID and version, that was - applied to the request. - """ - - id: str - """The identifier of the retrieval instruction applied.""" - version: str | None = ... - """ - The version that was applied: a version number, or DRAFT. The service - reports this version whenever it reports appliedInstruction, including - DRAFT when the request did not specify a version. - """ - -@dataclass(kw_only=True) -class AgenticRetrieveBedrockGuardrailConfiguration(_SerdeShape): - """Configuration for a Bedrock guardrail applied during agentic retrieval.""" - - guardrail_id: str - """The unique identifier of the guardrail.""" - guardrail_version: str - """The version of the guardrail to use.""" - -@dataclass(kw_only=True) -class AgenticRetrieveBedrockRerankingConfiguration(_SerdeShape): - """Configuration for a Bedrock reranking model.""" - - model_configuration: AgenticRetrieveBedrockRerankingModelConfiguration - """The model configuration containing the model ARN.""" - -@dataclass(kw_only=True) -class AgenticRetrieveBedrockRerankingModelConfiguration(_SerdeShape): - """Model configuration for a Bedrock reranking model.""" - - model_arn: str - """The ARN of the Bedrock reranking model.""" - -@dataclass(kw_only=True) -class AgenticRetrieveCitation(_SerdeShape): - """A citation mapping a span of the generated answer to supporting results.""" - - start_index: int - """Character offset start in the answer text.""" - end_index: int - """Character offset end (exclusive) in the answer text.""" - references: list[AgenticRetrieveCitationReference] - """References to results that support this span.""" - -@dataclass(kw_only=True) -class AgenticRetrieveCitationReference(_SerdeShape): - """A reference to a specific result item.""" - - result_index: int - """Index into the results array on the same event.""" - -@dataclass(kw_only=True) -class AgenticRetrieveCodeExecutionDetails(_SerdeShape): - """ - The details of code that the agent chose to run in an isolated sandbox. - The record includes the documents that the code reads. The corresponding - CodeExecution step reports the outcome. - """ - - documents: list[AgenticRetrieveCodeExecutionDocument] | None = ... - """ - The documents that the code reads. This field is present when the code - reads documents. - """ - -@dataclass(kw_only=True) -class AgenticRetrieveCodeExecutionDocument(_SerdeShape): - """A document that a code execution action reads.""" - - document_id: str | None = ... - """The identifier of the document.""" - source_retriever: AgenticRetrieveSourceRetriever | None = ... - """The source retriever associated with the document.""" - -@dataclass(kw_only=True) -class AgenticRetrieveConfiguration(_SerdeShape): - """Configuration settings for the agentic retrieval operation.""" - - foundation_model_type: str = ... - """ - The type of foundation model to use. CUSTOM uses a specified model, - MANAGED uses the service default. - """ - foundation_model_configuration: FoundationModelConfiguration | None = ... - """ - The foundation model configuration. Required when foundationModelType is - CUSTOM. - """ - reranking_model_type: str | None = ... - """ - The type of reranking model to use. CUSTOM uses a specified model, - MANAGED uses the service default. If not specified, defaults to MANAGED - for managed embedding knowledge bases and NONE for custom embedding - knowledge bases. - """ - reranking_configuration: AgenticRetrieveRerankingConfiguration | None = ... - """ - The reranking model configuration. Required when rerankingModelType is - CUSTOM. - """ - max_agent_iteration: int = ... - """The maximum number of agent iterations for retrieval.""" - -@dataclass(kw_only=True) -class AgenticRetrieveFailure(_SerdeShape): - """A failure that occurred during agentic retrieval.""" - - message: str - """A message describing the failure.""" - -@dataclass(kw_only=True) -class AgenticRetrieveFullDocExpansionDetails(_SerdeShape): - """Details of a full document expansion action.""" - - document_id: str | None = ... - """The identifier of the document to expand.""" - source_retriever: AgenticRetrieveSourceRetriever | None = ... - """The source retriever associated with the document.""" - -@dataclass(kw_only=True) -class AgenticRetrieveGeneratedResponse(_SerdeShape): - """The generated response synthesized from retrieved results.""" - - answer: str - """The generated answer text.""" - citations: list[AgenticRetrieveCitation] | None = ... - """Citations mapping spans of the answer to supporting results.""" - -@dataclass(kw_only=True) -class AgenticRetrieveGuardrailWarning(_SerdeShape): - """A warning generated by a guardrail during agentic retrieval.""" - - id: str - """The unique identifier of the guardrail.""" - version: str - """The version of the guardrail.""" - action: str - """The action taken by the guardrail.""" - message: str | None = ... - """A message describing the guardrail evaluation result.""" - -@dataclass(kw_only=True) -class AgenticRetrieveInstructionConfiguration(_SerdeShape): - """ - The retrieval instruction, identified by its ID and optional version, to - apply to this request. - """ - - retrieval_instruction_id: str - """ - The identifier of the retrieval instruction. The instruction must exist - in the caller's account and its status must be ACTIVE. - """ - version: str | None = ... - """ - The version of the retrieval instruction to apply: a version number, or - DRAFT for the instruction's current reviewed content. When omitted, - DRAFT is used. This default is permanent. - """ - -@dataclass(kw_only=True) -class AgenticRetrieveMemoryConfiguration(_SerdeShape): - """ - Specifies an AgentCore Memory resource and how this retrieval uses it. - Set sessionBinding to restore and continue a session. Set - retrievalConfigs to let the agent retrieve from long-term memory. You - must specify at least one of the two. - """ - - memory_id: str - """ - The identifier of the AgentCore Memory resource to use. The resource - must exist in your account and be in the ACTIVE state. - """ - session_binding: AgenticRetrieveMemorySessionBinding | None = ... - """ - The short-term memory session whose history is restored for this - retrieval. To persist the agent-generated answer to the session, omit - persistenceMode or set it to DEFAULT. To leave the session unchanged, - set persistenceMode to NONE. Supply session history through the existing - messages parameter or through short-term memory, but not both. - """ - retrieval_configs: list[AgenticRetrieveMemoryRetrievalConfig] | None = ... - """ - Specifies the long-term memory configuration the agent can retrieve - from. The agent decides whether to retrieve and composes its own query. - This field currently accepts at most one entry. - """ - persistence_mode: str | None = ... - """ - Specifies whether the agent-generated answer is written back to the - given short-term memory session, and applies only when sessionBinding is - set. Valid values: - - - `DEFAULT` (default) -- Specifies that the question and the - agent-generated answer are persisted to the session as a single event. - This value requires generateResponse to be true. - - - `NONE` -- Specifies that the session is left unchanged. - """ - -@dataclass(kw_only=True) -class AgenticRetrieveMemoryMetadataFilter(_SerdeShape): - """ - A metadata filter expression, in the form accepted by the AgentCore - Memory RetrieveMemoryRecords operation. The expression has a left - operand that names the metadata key, an operator, and a right operand. - For the EXISTS and NOT_EXISTS operators, omit the right operand. - """ - - left: AgenticRetrieveMemoryMetadataFilterLeft - """The metadata key that the expression evaluates.""" - operator: str - """ - The relationship that the metadata key and value must have for a memory - record to match. - """ - right: AgenticRetrieveMemoryMetadataFilterRight | None = ... - """ - The value that the expression compares the metadata key against. Supply - this value for every operator except EXISTS and NOT_EXISTS. - """ - -@dataclass -class AgenticRetrieveMemoryMetadataFilterLeftMetadataKey(_SerdeShape): - """The metadata key to filter on.""" - - value: str - -@dataclass -class AgenticRetrieveMemoryMetadataFilterLeftUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AgenticRetrieveMemoryMetadataFilterLeft = Union[ - AgenticRetrieveMemoryMetadataFilterLeftMetadataKey - | AgenticRetrieveMemoryMetadataFilterLeftUnknown -] -""" -The left operand of a metadata filter expression. Set exactly one -member. -""" - -class _AgenticRetrieveMemoryMetadataFilterLeftDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AgenticRetrieveMemoryMetadataFilterLeft: ... - -class AgenticRetrieveMemoryMetadataFilterOperator(UnknownEnumMixin, StrEnum): - """ - Specifies the relationship that a metadata key and value must have for a - memory record to match a filter expression. - """ - - EQUALS_TO = "EQUALS_TO" - """ - The EQUALS_TO operator matches memory records whose metadata value - equals the supplied value. - """ - EXISTS = "EXISTS" - """ - The EXISTS operator matches memory records that carry the metadata key, - whatever its value. This operator takes no right operand. - """ - NOT_EXISTS = "NOT_EXISTS" - """ - The NOT_EXISTS operator matches memory records that do not carry the - metadata key. This operator takes no right operand. - """ - BEFORE = "BEFORE" - """ - The BEFORE operator matches memory records whose timestamp metadata - value falls before the supplied value. - """ - AFTER = "AFTER" - """ - The AFTER operator matches memory records whose timestamp metadata value - falls after the supplied value. - """ - CONTAINS = "CONTAINS" - """ - The CONTAINS operator matches memory records whose metadata value - contains the supplied value. - """ - GREATER_THAN = "GREATER_THAN" - """ - The GREATER_THAN operator matches memory records whose numeric metadata - value is greater than the supplied value. - """ - GREATER_THAN_OR_EQUALS = "GREATER_THAN_OR_EQUALS" - """ - The GREATER_THAN_OR_EQUALS operator matches memory records whose numeric - metadata value is greater than or equal to the supplied value. - """ - LESS_THAN = "LESS_THAN" - """ - The LESS_THAN operator matches memory records whose numeric metadata - value is less than the supplied value. - """ - LESS_THAN_OR_EQUALS = "LESS_THAN_OR_EQUALS" - """ - The LESS_THAN_OR_EQUALS operator matches memory records whose numeric - metadata value is less than or equal to the supplied value. - """ - -@dataclass -class AgenticRetrieveMemoryMetadataFilterRightMetadataValue(_SerdeShape): - """The value to compare the metadata key against.""" - - value: AgenticRetrieveMemoryMetadataValue - -@dataclass -class AgenticRetrieveMemoryMetadataFilterRightUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AgenticRetrieveMemoryMetadataFilterRight = Union[ - AgenticRetrieveMemoryMetadataFilterRightMetadataValue - | AgenticRetrieveMemoryMetadataFilterRightUnknown -] -""" -The right operand of a metadata filter expression. Set exactly one -member. -""" - -class _AgenticRetrieveMemoryMetadataFilterRightDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AgenticRetrieveMemoryMetadataFilterRight: ... - -@dataclass -class AgenticRetrieveMemoryMetadataValueStringValue(_SerdeShape): - """A string value.""" - - value: str - -@dataclass -class AgenticRetrieveMemoryMetadataValueNumberValue(_SerdeShape): - """A numeric value.""" - - value: float - -@dataclass -class AgenticRetrieveMemoryMetadataValueStringListValue(_SerdeShape): - """A list of string values.""" - - value: list[str] - -@dataclass -class AgenticRetrieveMemoryMetadataValueDateTimeValue(_SerdeShape): - """A timestamp value in ISO 8601 UTC format.""" - - value: datetime - -@dataclass -class AgenticRetrieveMemoryMetadataValueUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AgenticRetrieveMemoryMetadataValue = Union[ - AgenticRetrieveMemoryMetadataValueStringValue - | AgenticRetrieveMemoryMetadataValueNumberValue - | AgenticRetrieveMemoryMetadataValueStringListValue - | AgenticRetrieveMemoryMetadataValueDateTimeValue - | AgenticRetrieveMemoryMetadataValueUnknown -] -""" -A metadata value that a filter expression compares against. Set exactly -one member. -""" - -class _AgenticRetrieveMemoryMetadataValueDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AgenticRetrieveMemoryMetadataValue: ... - -class AgenticRetrieveMemoryPersistenceMode(UnknownEnumMixin, StrEnum): - """ - Specifies whether the agent-generated answer is written back to a - short-term memory session. - """ - - DEFAULT = "DEFAULT" - """ - Specifies that the question and the agent-generated answer are persisted - to the session. This is the default when persistenceMode is omitted. - """ - NONE = "NONE" - """Specifies that the session is left unchanged.""" - -@dataclass(kw_only=True) -class AgenticRetrieveMemoryRetrievalConfig(_SerdeShape): - """ - The long-term memory namespace that the agent might retrieve memory - records from, and the filters applied to that retrieval. You must - specify either namespace or namespacePath. - """ - - namespace: str | None = ... - """ - The namespace prefix to filter memory records by. The agent retrieves - memory records in namespaces that start with the provided prefix. You - must specify either namespace or namespacePath. - """ - namespace_path: str | None = ... - """ - The parent namespace to use for hierarchical retrievals. The agent - retrieves all memory records whose namespace falls under the same parent - hierarchy. You must specify either namespace or namespacePath. - """ - strategy_id: str | None = ... - """ - The extraction strategy ID that restricts retrieval to memory records - produced by a single strategy. Omit this parameter to retrieve records - from every strategy on the memory resource. - """ - metadata_filters: list[AgenticRetrieveMemoryMetadataFilter] | None = ... - """ - The metadata filter expressions that restrict retrieval to matching - memory records. You can specify a maximum of 5 expressions. - """ - -@dataclass(kw_only=True) -class AgenticRetrieveMemoryRetrieveDetails(_SerdeShape): - """ - A long-term memory retrieval that the agent chose to perform. The record - reports the query and the namespace. The corresponding Retrieval step - reports the results. - """ - - input_query: AgenticRetrieveMessageContent - """The query that the agent composed.""" - memory_id: str - """The identifier of the AgentCore Memory resource retrieved from.""" - namespace: str | None = ... - """ - The namespace prefix retrieved from, as supplied in the request. This - field is present when the request specified namespace. - """ - namespace_path: str | None = ... - """ - The parent namespace retrieved from hierarchically, as supplied in the - request. This field is present when the request specified namespacePath. - """ - strategy_id: str | None = ... - """ - The extraction strategy that restricted retrieval, if the request - specified one. - """ - -@dataclass(kw_only=True) -class AgenticRetrieveMemorySessionBinding(_SerdeShape): - """ - The short-term memory session that this retrieval reads from and writes - to. - """ - - actor_id: str - """ - The identifier of the end user or agent that the session belongs to. - This identifier scopes session history so that one actor's history is - never returned for another. You are responsible for sending the correct - actor value. - """ - session_id: str - """ - The identifier of the session to restore and continue. You are - responsible for sending the correct session value. - """ - -@dataclass(kw_only=True) -class AgenticRetrieveMessage(_SerdeShape): - """A message in the agentic retrieval conversation.""" - - content: AgenticRetrieveMessageContent - """The content of the message.""" - role: str - """The role of the message sender (e.g., user or assistant).""" - -@dataclass(kw_only=True) -class AgenticRetrieveMessageContent(_SerdeShape): - """The content of an agentic retrieval message.""" - - text: str | None = ... - """The text content of the message.""" - -@dataclass(kw_only=True) -class AgenticRetrievePolicyConfiguration(_SerdeShape): - """Policy configuration for agentic retrieval.""" - - bedrock_guardrail_configuration: ( - AgenticRetrieveBedrockGuardrailConfiguration | None - ) = ... - """Configuration for Bedrock guardrails to apply during retrieval.""" - -@dataclass(kw_only=True) -class AgenticRetriever(_SerdeShape): - """A retriever used in agentic retrieval.""" - - description: str | None = ... - """A description of the retriever's purpose.""" - configuration: RetrieverConfiguration - """The configuration for this retriever.""" - -@dataclass(kw_only=True) -class AgenticRetrieveRerankingConfiguration(_SerdeShape): - """Configuration for the reranking model.""" - - type: str - """The type of reranking configuration.""" - bedrock_reranking_configuration: ( - AgenticRetrieveBedrockRerankingConfiguration | None - ) = ... - """The Bedrock reranking model configuration.""" - -class AgenticRetrieveRerankingConfigurationType(UnknownEnumMixin, StrEnum): - """The type of reranking configuration.""" - - BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" - -class AgenticRetrieveRerankingModelType(UnknownEnumMixin, StrEnum): - """The type of reranking model.""" - - CUSTOM = "CUSTOM" - MANAGED = "MANAGED" - NONE = "NONE" - -@dataclass(kw_only=True) -class AgenticRetrieveResponseEvent(_SerdeShape): - """A chunk of the generated answer text.""" - - text: str - """The generated text chunk.""" - -@dataclass(kw_only=True) -class AgenticRetrieveResultEvent(_SerdeShape): - """An event containing agentic retrieval results.""" - - results: list[AgenticRetrieveResultItem] - """The list of retrieved result items.""" - generated_response: AgenticRetrieveGeneratedResponse | None = ... - """The generated response. Present only when generateResponse is true.""" - next_token: str | None = ... - """Opaque continuation token for paginated results.""" - -@dataclass(kw_only=True) -class AgenticRetrieveResultItem(_SerdeShape): - """A single item from the agentic retrieval results.""" - - content: RetrievalContent - """The retrieved content.""" - metadata: dict[str, Document] | None = ... - """Metadata associated with the retrieved item.""" - source_retriever: AgenticRetrieveSourceRetriever - """The source retriever that produced this result.""" - -@dataclass(kw_only=True) -class AgenticRetrieveSourceMetadata(_SerdeShape): - """Metadata about a retrieval source.""" - - identifier: str | None = ... - """The identifier of the retrieval source.""" - retrieval_type: str | None = ... - """The type of retrieval source.""" - -@dataclass(kw_only=True) -class AgenticRetrieveSourceRetriever(_SerdeShape): - """A source retriever that produced retrieval results.""" - - identifier: str - """The unique identifier of the source retriever.""" - -class AgenticRetrieveStatus(UnknownEnumMixin, StrEnum): - """The status of an agentic retrieval step.""" - - IN_PROGRESS = "IN_PROGRESS" - """The step is currently in progress.""" - SUCCEEDED = "SUCCEEDED" - """The step completed successfully.""" - FAILED = "FAILED" - """The step failed.""" - -class AgenticRetrieveStep(UnknownEnumMixin, StrEnum): - """The step in the agentic retrieval process.""" - - PLANNING = "Planning" - """The planning phase of retrieval.""" - RETRIEVAL = "Retrieval" - """The retrieval phase where data is fetched.""" - SPECULATIVE_RETRIEVAL = "SpeculativeRetrieval" - """A speculative retrieval phase for optimization.""" - FULL_DOCUMENT_EXPANSION = "FullDocumentExpansion" - """The full document expansion phase.""" - SESSION_HISTORY_LOAD = "SessionHistoryLoad" - """ - The phase that restores prior session history from AgentCore Memory - short-term memory, before the agent begins work. - """ - CODE_EXECUTION = "CodeExecution" - """ - The phase that runs agent-generated code in an isolated sandbox. The - code can read documents retrieved earlier in the same request. - """ - -@dataclass(kw_only=True) -class AgenticRetrieveStreamInput(_SerdeShape): - """Request structure for the agentic retrieve stream operation.""" - - messages: list[AgenticRetrieveMessage] | None = ... - """The list of messages for the agentic retrieval conversation.""" - retrievers: list[AgenticRetriever] | None = ... - """The list of retrievers to use for agentic retrieval.""" - agentic_retrieve_configuration: AgenticRetrieveConfiguration | None = ... - """Configuration settings for the agentic retrieval operation.""" - policy_configuration: AgenticRetrievePolicyConfiguration | None = ... - """Policy configuration for guardrails and content filtering.""" - next_token: str | None = ... - """Opaque continuation token for paginated results.""" - user_context: UserContext | None = ... - """ - Contains information about the user making the request. This is used for - access control filtering to ensure that retrieval results only include - documents the user is authorized to access. - """ - memory_configuration: AgenticRetrieveMemoryConfiguration | None = ... - """ - The configuration for using an Amazon Bedrock AgentCore Memory resource - with this retrieval. - """ - retrieval_instruction_configuration: ( - AgenticRetrieveInstructionConfiguration | None - ) = ... - """A retrieval instruction to apply to this request.""" - generate_response: bool = ... - """Whether to generate a response based on the retrieved results.""" - -@dataclass(kw_only=True) -class AgenticRetrieveStreamOutput(_SerdeShape): - """Response structure for the agentic retrieve stream operation.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class AgenticRetrieveStreamResponseOutputResult(_SerdeShape): - """A retrieval result event containing the retrieved items.""" - - value: AgenticRetrieveResultEvent - -@dataclass -class AgenticRetrieveStreamResponseOutputTraceEvent(_SerdeShape): - """A trace event providing visibility into the retrieval process.""" - - value: AgenticRetrieveTraceEvent - -@dataclass -class AgenticRetrieveStreamResponseOutputResponseEvent(_SerdeShape): - """ - A chunk of the generated answer. Emitted only when generateResponse is - true. - """ - - value: AgenticRetrieveResponseEvent - -@dataclass -class AgenticRetrieveStreamResponseOutputInternalServerException(_SerdeShape): - """An internal server error occurred.""" - - value: InternalServerException - -@dataclass -class AgenticRetrieveStreamResponseOutputValidationException(_SerdeShape): - """The request validation failed.""" - - value: ValidationException - -@dataclass -class AgenticRetrieveStreamResponseOutputResourceNotFoundException(_SerdeShape): - """The specified resource was not found.""" - - value: ResourceNotFoundException - -@dataclass -class AgenticRetrieveStreamResponseOutputServiceQuotaExceededException(_SerdeShape): - """The service quota has been exceeded.""" - - value: ServiceQuotaExceededException - -@dataclass -class AgenticRetrieveStreamResponseOutputThrottlingException(_SerdeShape): - """The request was throttled.""" - - value: ThrottlingException - -@dataclass -class AgenticRetrieveStreamResponseOutputAccessDeniedException(_SerdeShape): - """Access to the resource was denied.""" - - value: AccessDeniedException - -@dataclass -class AgenticRetrieveStreamResponseOutputConflictException(_SerdeShape): - """A conflict occurred with the current state of the resource.""" - - value: ConflictException - -@dataclass -class AgenticRetrieveStreamResponseOutputDependencyFailedException(_SerdeShape): - """A dependency failed during the operation.""" - - value: DependencyFailedException - -@dataclass -class AgenticRetrieveStreamResponseOutputBadGatewayException(_SerdeShape): - """A bad gateway error occurred.""" - - value: BadGatewayException - -@dataclass -class AgenticRetrieveStreamResponseOutputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AgenticRetrieveStreamResponseOutput = Union[ - AgenticRetrieveStreamResponseOutputResult - | AgenticRetrieveStreamResponseOutputTraceEvent - | AgenticRetrieveStreamResponseOutputResponseEvent - | AgenticRetrieveStreamResponseOutputInternalServerException - | AgenticRetrieveStreamResponseOutputValidationException - | AgenticRetrieveStreamResponseOutputResourceNotFoundException - | AgenticRetrieveStreamResponseOutputServiceQuotaExceededException - | AgenticRetrieveStreamResponseOutputThrottlingException - | AgenticRetrieveStreamResponseOutputAccessDeniedException - | AgenticRetrieveStreamResponseOutputConflictException - | AgenticRetrieveStreamResponseOutputDependencyFailedException - | AgenticRetrieveStreamResponseOutputBadGatewayException - | AgenticRetrieveStreamResponseOutputUnknown -] -""" -The streaming output for agentic retrieval, containing results, traces, -and errors. -""" - -class _AgenticRetrieveStreamResponseOutputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AgenticRetrieveStreamResponseOutput: ... - -@dataclass(kw_only=True) -class AgenticRetrieveTraceEvent(_SerdeShape): - """A trace event providing visibility into the agentic retrieval process.""" - - id: str - """The unique identifier of the trace event.""" - timestamp: int - """The timestamp when the trace event occurred.""" - attributes: AgenticRetrieveTraceEventAttributes - """The attributes describing the trace event details.""" - -@dataclass(kw_only=True) -class AgenticRetrieveTraceEventAttributes(_SerdeShape): - """Attributes describing the details of an agentic retrieval trace event.""" - - step: str - """The current step in the retrieval process.""" - status: str - """The status of the current step.""" - message: str - """A human-readable message describing the trace event.""" - actions: list[AgenticRetrieveAction] | None = ... - """The list of actions taken during this step.""" - warnings: list[AgenticRetrieveWarning] | None = ... - """Warnings generated during this step.""" - failures: list[AgenticRetrieveFailure] | None = ... - """Failures that occurred during this step.""" - retrieval_metadata: list[AgenticRetrieveSourceMetadata] | None = ... - """Metadata about the retrieval sources used.""" - retrieval_response: list[AgenticRetrieveTraceResultItem] | None = ... - """The retrieval results from this step.""" - applied_instruction: AgenticRetrieveAppliedInstruction | None = ... - """ - The agent reports the retrieval instruction applied to this request on - the first planning step. - """ - -@dataclass(kw_only=True) -class AgenticRetrieveTraceResultItem(_SerdeShape): - """A result item from an agentic retrieval trace.""" - - content: RetrievalContent | None = ... - """The retrieved content.""" - metadata: dict[str, Document] | None = ... - """Metadata associated with the retrieved item.""" - source_retriever: AgenticRetrieveSourceRetriever | None = ... - """The source retriever that produced this result.""" - -class AgenticRetrieveType(UnknownEnumMixin, StrEnum): - """The type of retrieval source.""" - - BEDROCK_KNOWLEDGE_BASE = "BedrockKnowledgeBase" - """A Bedrock knowledge base retrieval source.""" - BEDROCK_AGENT_CORE_MEMORY = "BedrockAgentCoreMemory" - """ - An AgentCore Memory resource. Long-term memory retrievals report under - the Retrieval step with this source type. - """ - -@dataclass -class AgenticRetrieveWarning_Message(_SerdeShape): - """A general warning message.""" - - value: AgenticRetrieveWarningMessage - -@dataclass -class AgenticRetrieveWarningGuardrail(_SerdeShape): - """A warning from a guardrail evaluation.""" - - value: AgenticRetrieveGuardrailWarning - -@dataclass -class AgenticRetrieveWarningUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AgenticRetrieveWarning = Union[ - AgenticRetrieveWarning_Message - | AgenticRetrieveWarningGuardrail - | AgenticRetrieveWarningUnknown -] -"""A warning generated during agentic retrieval.""" - -class _AgenticRetrieveWarningDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AgenticRetrieveWarning: ... - -@dataclass(kw_only=True) -class AgenticRetrieveWarningMessage(_SerdeShape): - """A general warning message from agentic retrieval.""" - - message: str - """The warning message text.""" - -@dataclass(kw_only=True) -class AnalyzePromptEvent(_SerdeShape): - """ - An event in which the prompt was analyzed in preparation for - optimization. - """ - - message: str | None = ... - """A message describing the analysis of the prompt.""" - -@dataclass(kw_only=True) -class ApiInvocationInput(_SerdeShape): - """ - Contains information about the API operation that the agent predicts - should be called. - - This data type is used in the following API operations: - - - In the `returnControl` field of the [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - """ - - action_group: str - """The action group that the API operation belongs to.""" - http_method: str | None = ... - """The HTTP method of the API operation.""" - api_path: str | None = ... - """The path to the API operation.""" - parameters: list[ApiParameter] | None = ... - """ - The parameters to provide for the API request, as the agent elicited - from the user. - """ - request_body: ApiRequestBody | None = ... - """ - The request body to provide for the API request, as the agent elicited - from the user. - """ - action_invocation_type: str | None = ... - """Contains information about the API operation to invoke.""" - agent_id: str | None = ... - """The agent's ID.""" - collaborator_name: str | None = ... - """The agent collaborator's name.""" - -@dataclass(kw_only=True) -class ApiParameter(_SerdeShape): - """ - Information about a parameter to provide to the API request. - - This data type is used in the following API operations: - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - """ - - name: str | None = ... - """The name of the parameter.""" - type: str | None = ... - """The data type for the parameter.""" - value: str | None = ... - """The value of the parameter.""" - -@dataclass(kw_only=True) -class ApiRequestBody(_SerdeShape): - """ - The request body to provide for the API request, as the agent elicited - from the user. - - This data type is used in the following API operations: - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - """ - - content: dict[str, PropertyParameters] | None = ... - """ - The content of the request body. The key of the object in this field is - a media type defining the format of the request body. - """ - -@dataclass(kw_only=True) -class ApiResult(_SerdeShape): - """ - Contains information about the API operation that was called from the - action group and the response body that was returned. - - This data type is used in the following API operations: - - - In the `returnControlInvocationResults` of the [InvokeAgent - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) - """ - - action_group: str - """The action group that the API operation belongs to.""" - http_method: str | None = ... - """The HTTP method for the API operation.""" - api_path: str | None = ... - """The path to the API operation.""" - confirmation_state: str | None = ... - """ - Controls the API operations or functions to invoke based on the user - confirmation. - """ - response_state: str | None = ... - """ - Controls the final response state returned to end user when API/Function - execution failed. When this state is FAILURE, the request would fail - with dependency failure exception. When this state is REPROMPT, the - API/function response will be sent to model for re-prompt - """ - http_status_code: int | None = ... - """ - http status code from API execution response (for example: 200, 400, - 500). - """ - response_body: dict[str, ContentBody] | None = ... - """ - The response body from the API operation. The key of the object is the - content type (currently, only `TEXT` is supported). The response may be - returned directly or from the Lambda function. - """ - agent_id: str | None = ... - """The agent's ID.""" - -@dataclass -class APISchemaS3(_SerdeShape): - """ - Contains details about the S3 object containing the OpenAPI schema for - the action group. - """ - - value: S3Identifier - -@dataclass -class APISchemaPayload(_SerdeShape): - """ - The JSON or YAML-formatted payload defining the OpenAPI schema for the - action group. - """ - - value: str - -@dataclass -class APISchemaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -APISchema = Union[APISchemaS3 | APISchemaPayload | APISchemaUnknown] -""" -Contains details about the OpenAPI schema for the action group. For more -information, see [Action group OpenAPI -schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). -You can either include the schema directly in the payload field or you -can upload it to an S3 bucket and specify the S3 bucket location in the -s3 field. -""" - -class _APISchemaDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> APISchema: ... - -class AttributeType(UnknownEnumMixin, StrEnum): - STRING = "STRING" - NUMBER = "NUMBER" - BOOLEAN = "BOOLEAN" - STRING_LIST = "STRING_LIST" - -@dataclass(kw_only=True) -class Attribution(_SerdeShape): - """Contains citations for a part of an agent response.""" - - citations: list[Citation] | None = ... - """ - A list of citations and related information for a part of an agent - response. - """ - -@dataclass(kw_only=True) -class AudioSegment(_SerdeShape): - """ - Contains information about an audio segment retrieved from a knowledge - base, including its location and transcription. - - This data type is used in the following API operations: - - - [Retrieve - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) - -- in the `audio` field - """ - - s3_uri: str - """ - The S3 URI where this specific audio segment is stored in the multimodal - storage destination. - """ - transcription: str | None = ... - """The text transcription of the audio segment content.""" - -@dataclass(kw_only=True) -class BadGatewayException(ServiceError, _SerdeShape): - """ - There was an issue with a dependency due to a server issue. Retry your - request. - """ - - resource_name: str | None = ... - """ - The name of the dependency that caused the issue, such as Amazon - Bedrock, Lambda, or STS. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BedrockFoundationModelConfiguration(_SerdeShape): - """Configuration for a Bedrock foundation model.""" - - model_configuration: BedrockFoundationModelModelConfiguration - """The model configuration containing the model ARN.""" - -@dataclass(kw_only=True) -class BedrockFoundationModelModelConfiguration(_SerdeShape): - """Model configuration for a Bedrock foundation model.""" - - model_arn: str - """The ARN of the Bedrock foundation model.""" - -@dataclass(kw_only=True) -class BedrockModelConfigurations(_SerdeShape): - """Settings for a model called with InvokeAgent.""" - - performance_config: PerformanceConfiguration | None = ... - """The performance configuration for the model.""" - -@dataclass(kw_only=True) -class BedrockRerankingConfiguration(_SerdeShape): - """Contains configurations for an Amazon Bedrock reranker model.""" - - number_of_results: int | None = ... - """The number of results to return after reranking.""" - model_configuration: BedrockRerankingModelConfiguration - """Contains configurations for a reranker model.""" - -@dataclass(kw_only=True) -class BedrockRerankingModelConfiguration(_SerdeShape): - """Contains configurations for a reranker model.""" - - model_arn: str - """The ARN of the reranker model.""" - additional_model_request_fields: dict[str, Document] | None = ... - """ - A JSON object whose keys are request fields for the model and whose - values are values for those fields. - """ - -@dataclass -class BedrockSessionContentBlockText(_SerdeShape): - """The text in the invocation step.""" - - value: str - -@dataclass -class BedrockSessionContentBlockImage(_SerdeShape): - """The image in the invocation step.""" - - value: ImageBlock - -@dataclass -class BedrockSessionContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -BedrockSessionContentBlock = Union[ - BedrockSessionContentBlockText - | BedrockSessionContentBlockImage - | BedrockSessionContentBlockUnknown -] -""" -A block of content that you pass to, or receive from, a Amazon Bedrock -session in an invocation step. You pass the content to a session in the -`payLoad` of the -[PutInvocationStep](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_PutInvocationStep.html) -API operation. You retrieve the content with the -[GetInvocationStep](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetInvocationStep.html) -API operation. - -For more information about sessions, see [Store and retrieve -conversation history and context with Amazon Bedrock -sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). -""" - -class _BedrockSessionContentBlockDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> BedrockSessionContentBlock: ... - -@dataclass(kw_only=True) -class ByteContentDoc(_SerdeShape): - """ - This property contains the document to chat with, along with its - attributes. - """ - - identifier: str - """The file name of the document contained in the wrapper object.""" - content_type: str - """The MIME type of the document contained in the wrapper object.""" - data: bytes - """The byte value of the file to upload, encoded as a Base-64 string.""" - -@dataclass(kw_only=True) -class ByteContentFile(_SerdeShape): - """The property contains the file to chat with, along with its attributes.""" - - media_type: str - """The MIME type of data contained in the file used for chat.""" - data: bytes - """ - The raw bytes of the file to attach. The maximum size of all files that - is attached is 10MB. You can attach a maximum of 5 files. - """ - -@dataclass -class CallerAgentAliasArn(_SerdeShape): - """The caller's agent alias ARN.""" - - value: str - -@dataclass -class CallerUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Caller = Union[CallerAgentAliasArn | CallerUnknown] -"""Details about a caller.""" - -class _CallerDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Caller: ... - -@dataclass(kw_only=True) -class CheckIngestedDocumentAclInput(_SerdeShape): - """Dataclass for CheckIngestedDocumentAclInput structure.""" - - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base that contains the document.""" - data_source_id: str | None = ... - """The unique identifier of the data source that contains the document.""" - document_id: str | None = ... - """The unique identifier of the document to check access for.""" - user_context: UserContext | None = ... - """ - The context object containing identity information for access control - filtering, including user ID and optional group memberships used to - evaluate the document access control list (ACL). - """ - -@dataclass(kw_only=True) -class CheckIngestedDocumentAclOutput(_SerdeShape): - """Dataclass for CheckIngestedDocumentAclOutput structure.""" - - has_access: bool - """ - Specifies whether the user has access to the document based on the - ingested access control list (ACL). Returns `true` if the user is - allowed access, and `false` otherwise. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Citation(_SerdeShape): - """ - An object containing a segment of the generated response that is based - on a source in the knowledge base, alongside information about the - source. - - This data type is used in the following API operations: - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - -- in the `citations` field - - - [RetrieveAndGenerate - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) - -- in the `citations` field - """ - - generated_response_part: GeneratedResponsePart | None = ... - """Contains the generated response and metadata""" - retrieved_references: list[RetrievedReference] | None = ... - """Contains metadata about the sources cited for the generated response.""" - -@dataclass(kw_only=True) -class CitationEvent(_SerdeShape): - """A citation event.""" - - citation: Citation | None = ... - """The citation.""" - generated_response_part: GeneratedResponsePart | None = ... - """The generated response to the citation event.""" - retrieved_references: list[RetrievedReference] | None = ... - """The retrieved references of the citation event.""" - -@dataclass(kw_only=True) -class CodeInterpreterInvocationInput(_SerdeShape): - """Contains information about the code interpreter being invoked.""" - - code: str | None = ... - """The code for the code interpreter to use.""" - files: list[str] | None = ... - """Files that are uploaded for code interpreter to use.""" - -@dataclass(kw_only=True) -class CodeInterpreterInvocationOutput(_SerdeShape): - """ - Contains the JSON-formatted string returned by the API invoked by the - code interpreter. - """ - - execution_output: str | None = ... - """Contains the successful output returned from code execution""" - execution_error: str | None = ... - """Contains the error returned from code execution.""" - files: list[str] | None = ... - """Contains output files, if generated by code execution.""" - execution_timeout: bool | None = ... - """Indicates if the execution of the code timed out.""" - metadata: Metadata | None = ... - """Contains information about the output from the code interpreter.""" - -@dataclass(kw_only=True) -class Collaborator(_SerdeShape): - """List of inline collaborators.""" - - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the - inline collaborator. - """ - foundation_model: str - """The foundation model used by the inline collaborator agent.""" - instruction: str - """ - Instruction that tell the inline collaborator agent what it should do - and how it should interact with users. - """ - idle_session_ttl_in_seconds: int | None = ... - """ - The number of seconds for which the Amazon Bedrock keeps information - about the user's conversation with the inline collaborator agent. - - A user interaction remains active for the amount of time specified. If - no conversation occurs during this time, the session expires and Amazon - Bedrock deletes any data provided before the timeout. - """ - action_groups: list[AgentActionGroup] | None = ... - """ - List of action groups with each action group defining tasks the inline - collaborator agent needs to carry out. - """ - knowledge_bases: list[KnowledgeBase] | None = ... - """Knowledge base associated with the inline collaborator agent.""" - guardrail_configuration: GuardrailConfigurationWithArn | None = ... - """Details of the guardwrail associated with the inline collaborator.""" - prompt_override_configuration: PromptOverrideConfiguration | None = ... - """ - Contains configurations to override prompt templates in different parts - of an inline collaborator sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - agent_collaboration: str | None = ... - """ - Defines how the inline supervisor agent handles information across - multiple collaborator agents to coordinate a final response. - """ - collaborator_configurations: list[CollaboratorConfiguration] | None = ... - """Settings of the collaborator agent.""" - agent_name: str | None = ... - """ - Name of the inline collaborator agent which must be the same name as - specified for `collaboratorName`. - """ - -@dataclass(kw_only=True) -class CollaboratorConfiguration(_SerdeShape): - """Settings of an inline collaborator agent.""" - - collaborator_name: str - """ - Name of the inline collaborator agent which must be the same name as - specified for `agentName`. - """ - collaborator_instruction: str - """ - Instructions that tell the inline collaborator agent what it should do - and how it should interact with users. - """ - agent_alias_arn: str | None = ... - """The Amazon Resource Name (ARN) of the inline collaborator agent.""" - relay_conversation_history: str | None = ... - """A relay conversation history for the inline collaborator agent.""" - -@dataclass(kw_only=True) -class ConditionResultEvent(_SerdeShape): - """ - Contains information about a condition evaluation result during a flow - execution. This event is generated when a condition node in the flow - evaluates its conditions. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - node_name: str - """The name of the condition node that evaluated the conditions.""" - timestamp: datetime - """The timestamp when the condition evaluation occurred.""" - satisfied_conditions: list[SatisfiedCondition] - """A list of conditions that were satisfied during the evaluation.""" - -class ConfirmationState(UnknownEnumMixin, StrEnum): - CONFIRM = "CONFIRM" - DENY = "DENY" - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """ - There was a conflict performing an operation. Resolve the conflict and - retry your request. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ContentBlockText(_SerdeShape): - """The block's text.""" - - value: str - -@dataclass -class ContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ContentBlock = Union[ContentBlockText | ContentBlockUnknown] -"""A content block.""" - -class _ContentBlockDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ContentBlock: ... - -@dataclass(kw_only=True) -class ContentBody(_SerdeShape): - """ - Contains the body of the API response. - - This data type is used in the following API operations: - - - In the `returnControlInvocationResults` field of the [InvokeAgent - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) - """ - - body: str | None = ... - """The body of the API response.""" - images: list[ImageInput] | None = ... - """ - Lists details, including format and source, for the image in the - response from the function call. You can specify only one image and the - function in the `returnControlInvocationResults` must be a computer use - action. For more information, see [Configure an Amazon Bedrock Agent to - complete tasks with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). - """ - -@dataclass(kw_only=True) -class ConversationHistory(_SerdeShape): - """A conversation history.""" - - messages: list[Message] | None = ... - """The conversation's messages.""" - -class ConversationRole(UnknownEnumMixin, StrEnum): - USER = "user" - ASSISTANT = "assistant" - -@dataclass(kw_only=True) -class CreateInvocationInput(_SerdeShape): - """Dataclass for CreateInvocationInput structure.""" - - invocation_id: str | None = ... - """A unique identifier for the invocation in UUID format.""" - description: str | None = ... - """ - A description for the interactions in the invocation. For example, - \"User asking about weather in Seattle\". - """ - session_identifier: str | None = ... - """ - The unique identifier for the associated session for the invocation. You - can specify either the session's `sessionId` or its Amazon Resource - Name (ARN). - """ - -@dataclass(kw_only=True) -class CreateInvocationOutput(_SerdeShape): - """Dataclass for CreateInvocationOutput structure.""" - - session_id: str - """The unique identifier for the session associated with the invocation.""" - invocation_id: str - """The unique identifier for the invocation.""" - created_at: datetime - """The timestamp for when the invocation was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSessionInput(_SerdeShape): - """Dataclass for CreateSessionInput structure.""" - - session_metadata: dict[str, str] | None = ... - """ - A map of key-value pairs containing attributes to be persisted across - the session. For example, the user's ID, their language preference, and - the type of device they are using. - """ - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key to use to encrypt the - session data. The user or role creating the session must have permission - to use the key. For more information, see [Amazon Bedrock session - encryption](https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html). - """ - tags: dict[str, str] | None = ... - """ - Specify the key-value pairs for the tags that you want to attach to the - session. - """ - -@dataclass(kw_only=True) -class CreateSessionOutput(_SerdeShape): - """Dataclass for CreateSessionOutput structure.""" - - session_id: str - """The unique identifier for the session.""" - session_arn: str - """The Amazon Resource Name (ARN) of the created session.""" - session_status: str - """The current status of the session.""" - created_at: datetime - """The timestamp for when the session was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CreationMode(UnknownEnumMixin, StrEnum): - DEFAULT = "DEFAULT" - OVERRIDDEN = "OVERRIDDEN" - -class CustomControlMethod(UnknownEnumMixin, StrEnum): - RETURN_CONTROL = "RETURN_CONTROL" - -@dataclass(kw_only=True) -class CustomOrchestration(_SerdeShape): - """Contains details of the custom orchestration configured for the agent.""" - - executor: OrchestrationExecutor | None = ... - """ - The structure of the executor invoking the actions in custom - orchestration. - """ - -@dataclass(kw_only=True) -class CustomOrchestrationTrace(_SerdeShape): - """The trace behavior for the custom orchestration.""" - - trace_id: str | None = ... - """The unique identifier of the trace.""" - event: CustomOrchestrationTraceEvent | None = ... - """The event details used with the custom orchestration.""" - -@dataclass(kw_only=True) -class CustomOrchestrationTraceEvent(_SerdeShape): - """ - The event in the custom orchestration sequence. Events are the responses - which the custom orchestration Lambda function sends as response to the - agent. - """ - - text: str | None = ... - """The text that prompted the event at this step.""" - -@dataclass(kw_only=True) -class DeleteAgentMemoryInput(_SerdeShape): - """Dataclass for DeleteAgentMemoryInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent to which the alias belongs.""" - agent_alias_id: str | None = ... - """The unique identifier of an alias of an agent.""" - memory_id: str | None = ... - """The unique identifier of the memory.""" - session_id: str | None = ... - """The unique session identifier of the memory.""" - -@dataclass(kw_only=True) -class DeleteAgentMemoryOutput(_SerdeShape): - """Dataclass for DeleteAgentMemoryOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSessionInput(_SerdeShape): - """Dataclass for DeleteSessionInput structure.""" - - session_identifier: str | None = ... - """ - The unique identifier for the session to be deleted. You can specify - either the session's `sessionId` or its Amazon Resource Name (ARN). - """ - -@dataclass(kw_only=True) -class DeleteSessionOutput(_SerdeShape): - """Dataclass for DeleteSessionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DependencyFailedException(ServiceError, _SerdeShape): - """ - There was an issue with a dependency. Check the resource configurations - and retry the request. - """ - - resource_name: str | None = ... - """ - The name of the dependency that caused the issue, such as Amazon - Bedrock, Lambda, or STS. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DocumentAcl(_SerdeShape): - """ - The access control list for a document, containing allow and deny - membership lists. Each list specifies conditions that determine which - users and groups are granted or denied access. - """ - - allow_list: DocumentAclMembership | None = ... - """The list of principals allowed access to the document.""" - deny_list: DocumentAclMembership | None = ... - """The list of principals denied access to the document.""" - -@dataclass(kw_only=True) -class DocumentAclCondition(_SerdeShape): - """ - A condition within a document access control list (ACL) membership, - specifying users and groups that are evaluated together. - """ - - condition_operator: str | None = ... - """ - The logical operator for combining users and groups within this - condition. Valid values: `AND` -- Both a user match and a group match - are required. `OR` -- Either a user match or a group match is - sufficient. - """ - users: list[DocumentAclUser] | None = ... - """The list of user entries in this condition.""" - groups: list[DocumentAclGroup] | None = ... - """The list of group entries in this condition.""" - -@dataclass(kw_only=True) -class DocumentAclGroup(_SerdeShape): - """A group entry within a document access control list (ACL) condition.""" - - id: str - """The identifier of the group.""" - type: str - """The membership type indicating the scope of the group entry.""" - -class DocumentAclMemberRelation(UnknownEnumMixin, StrEnum): - """ - The logical relation for combining access control list (ACL) membership - conditions. - """ - - AND_ = "AND" - OR_ = "OR" - -@dataclass(kw_only=True) -class DocumentAclMembership(_SerdeShape): - """ - The membership entry for a document access control list (ACL), - containing conditions and their logical relation. - """ - - member_relation: str | None = ... - """ - The logical relation between conditions. Valid values: `AND` -- All - conditions must match. `OR` -- At least one condition must match. - """ - conditions: list[DocumentAclCondition] | None = ... - """The list of conditions that determine membership.""" - -class DocumentAclMembershipType(UnknownEnumMixin, StrEnum): - """ - The scope type for a document access control list (ACL) membership - condition. Valid values: `KNOWLEDGE_BASE` -- The entry applies at the - knowledge base level. `DATA_SOURCE` -- The entry applies at the data - source level. - """ - - KNOWLEDGE_BASE = "KNOWLEDGE_BASE" - DATA_SOURCE = "DATA_SOURCE" - -@dataclass(kw_only=True) -class DocumentAclUser(_SerdeShape): - """A user entry within a document access control list (ACL) condition.""" - - id: str - """The identifier of the user.""" - type: str - """The membership type indicating the scope of the user entry.""" - -class DocumentOutputFormat(UnknownEnumMixin, StrEnum): - RAW = "RAW" - EXTRACTED = "EXTRACTED" - -@dataclass(kw_only=True) -class EndSessionInput(_SerdeShape): - """Dataclass for EndSessionInput structure.""" - - session_identifier: str | None = ... - """ - The unique identifier for the session to end. You can specify either the - session's `sessionId` or its Amazon Resource Name (ARN). - """ - -@dataclass(kw_only=True) -class EndSessionOutput(_SerdeShape): - """Dataclass for EndSessionOutput structure.""" - - session_id: str - """The unique identifier of the session you ended.""" - session_arn: str - """The Amazon Resource Name (ARN) of the session you ended.""" - session_status: str - """The current status of the session you ended.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ExecutionType(UnknownEnumMixin, StrEnum): - LAMBDA_ = "LAMBDA" - RETURN_CONTROL = "RETURN_CONTROL" - -@dataclass(kw_only=True) -class ExternalSource(_SerdeShape): - """ - The unique external source of the content contained in the wrapper - object. - """ - - source_type: str - """The source type of the external source wrapper object.""" - s3_location: S3ObjectDoc | None = ... - """The S3 location of the external source wrapper object.""" - byte_content: ByteContentDoc | None = ... - """ - The identifier, contentType, and data of the external source wrapper - object. - """ - -@dataclass(kw_only=True) -class ExternalSourcesGenerationConfiguration(_SerdeShape): - """ - Contains the generation configuration of the external source wrapper - object. - """ - - prompt_template: PromptTemplate | None = ... - """ - Contain the textPromptTemplate string for the external source wrapper - object. - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """The configuration details for the guardrail.""" - inference_config: InferenceConfig | None = ... - """ - Configuration settings for inference when using RetrieveAndGenerate to - generate responses while using an external source. - """ - additional_model_request_fields: dict[str, Document] | None = ... - """ - Additional model parameters and their corresponding values not included - in the textInferenceConfig structure for an external source. Takes in - custom model parameters specific to the language model being used. - """ - performance_config: PerformanceConfiguration | None = ... - """The latency configuration for the model.""" - -@dataclass(kw_only=True) -class ExternalSourcesRetrieveAndGenerateConfiguration(_SerdeShape): - """ - The configurations of the external source wrapper object in the - `retrieveAndGenerate` function. - """ - - model_arn: str - """ - The model Amazon Resource Name (ARN) for the external source wrapper - object in the `retrieveAndGenerate` function. - """ - sources: list[ExternalSource] - """ - The document for the external source wrapper object in the - `retrieveAndGenerate` function. - """ - generation_configuration: ExternalSourcesGenerationConfiguration | None = ... - """ - The prompt used with the external source wrapper object with the - `retrieveAndGenerate` function. - """ - -class ExternalSourceType(UnknownEnumMixin, StrEnum): - S3 = "S3" - BYTE_CONTENT = "BYTE_CONTENT" - -@dataclass(kw_only=True) -class FailureTrace(_SerdeShape): - """Contains information about the failure of the interaction.""" - - trace_id: str | None = ... - """The unique identifier of the trace.""" - failure_reason: str | None = ... - """The reason the interaction failed.""" - failure_code: int | None = ... - """The failure code for the trace.""" - metadata: Metadata | None = ... - """Information about the failure that occurred.""" - -@dataclass(kw_only=True) -class FieldForReranking(_SerdeShape): - """ - Contains information for a metadata field to include in or exclude from - consideration when reranking. - """ - - field_name: str - """ - The name of a metadata field to include in or exclude from consideration - when reranking. - """ - -@dataclass(kw_only=True) -class FilePart(_SerdeShape): - """ - Contains intermediate response for code interpreter if any files have - been generated. - """ - - files: list[OutputFile] | None = ... - """Files containing intermediate response for the user.""" - -@dataclass(kw_only=True) -class FileSource(_SerdeShape): - """The source file of the content contained in the wrapper object.""" - - source_type: str - """The source type of the files to attach.""" - s3_location: S3ObjectFile | None = ... - """The s3 location of the files to attach.""" - byte_content: ByteContentFile | None = ... - """The data and the text of the attached files.""" - -class FileSourceType(UnknownEnumMixin, StrEnum): - S3 = "S3" - BYTE_CONTENT = "BYTE_CONTENT" - -class FileUseCase(UnknownEnumMixin, StrEnum): - CODE_INTERPRETER = "CODE_INTERPRETER" - CHAT = "CHAT" - -@dataclass(kw_only=True) -class FilterAttribute(_SerdeShape): - """ - Specifies the name that the metadata attribute must match and the value - to which to compare the value of the metadata attribute. For more - information, see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - """ - - key: str - """The name that the metadata attribute must match.""" - value: Document - """The value to which to compare the value of the metadata attribute.""" - -@dataclass(kw_only=True) -class FinalResponse(_SerdeShape): - """Contains details about the response to the user.""" - - text: str | None = ... - """The text in the response to the user.""" - metadata: Metadata | None = ... - """Contains information about the invoke agent operation.""" - -@dataclass(kw_only=True) -class FlowCompletionEvent(_SerdeShape): - """Contains information about why a flow completed.""" - - completion_reason: str - """The reason that the flow completed.""" - -class FlowCompletionReason(UnknownEnumMixin, StrEnum): - SUCCESS = "SUCCESS" - INPUT_REQUIRED = "INPUT_REQUIRED" - -class FlowControlNodeType(UnknownEnumMixin, StrEnum): - ITERATOR = "Iterator" - LOOP = "Loop" - -class FlowErrorCode(UnknownEnumMixin, StrEnum): - VALIDATION = "VALIDATION" - INTERNAL_SERVER = "INTERNAL_SERVER" - NODE_EXECUTION_FAILED = "NODE_EXECUTION_FAILED" - -@dataclass -class FlowExecutionContentDocument(_SerdeShape): - """ - The document content of the field, which can contain text or structured - data. - """ - - value: Document - -@dataclass -class FlowExecutionContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowExecutionContent = Union[FlowExecutionContentDocument | FlowExecutionContentUnknown] -""" -Contains the content of an flow execution input or output field. - -Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. -""" - -class _FlowExecutionContentDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FlowExecutionContent: ... - -@dataclass(kw_only=True) -class FlowExecutionError(_SerdeShape): - """ - Contains information about an error that occurred during an flow - execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - node_name: str | None = ... - """ - The name of the node in the flow where the error occurred (if - applicable). - """ - error: str | None = ... - """The error code for the type of error that occurred.""" - message: str | None = ... - """A descriptive message that provides details about the error.""" - -class FlowExecutionErrorType(UnknownEnumMixin, StrEnum): - TIMED_OUT = "ExecutionTimedOut" - -@dataclass -class FlowExecutionEventFlowInputEvent(_SerdeShape): - """ - Contains information about the inputs provided to the flow at the start - of execution. - """ - - value: FlowExecutionInputEvent - -@dataclass -class FlowExecutionEventFlowOutputEvent(_SerdeShape): - """ - Contains information about the outputs produced by the flow at the end - of execution. - """ - - value: FlowExecutionOutputEvent - -@dataclass -class FlowExecutionEventNodeInputEvent(_SerdeShape): - """ - Contains information about the inputs provided to a specific node during - execution. - """ - - value: NodeInputEvent - -@dataclass -class FlowExecutionEventNodeOutputEvent(_SerdeShape): - """ - Contains information about the outputs produced by a specific node - during execution. - """ - - value: NodeOutputEvent - -@dataclass -class FlowExecutionEventConditionResultEvent(_SerdeShape): - """ - Contains information about a condition evaluation result during the flow - execution. This event is generated when a condition node in the flow - evaluates its conditions. - """ - - value: ConditionResultEvent - -@dataclass -class FlowExecutionEventNodeFailureEvent(_SerdeShape): - """ - Contains information about a failure that occurred at a specific node - during execution. - """ - - value: NodeFailureEvent - -@dataclass -class FlowExecutionEventFlowFailureEvent(_SerdeShape): - """ - Contains information about a failure that occurred at the flow level - during execution. - """ - - value: FlowFailureEvent - -@dataclass -class FlowExecutionEventNodeActionEvent(_SerdeShape): - """ - Contains information about an action (operation) called by a node during - execution. - """ - - value: NodeActionEvent - -@dataclass -class FlowExecutionEventNodeDependencyEvent(_SerdeShape): - """ - Contains information about an internal trace of a specific node during - execution. - """ - - value: NodeDependencyEvent - -@dataclass -class FlowExecutionEventUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowExecutionEvent = Union[ - FlowExecutionEventFlowInputEvent - | FlowExecutionEventFlowOutputEvent - | FlowExecutionEventNodeInputEvent - | FlowExecutionEventNodeOutputEvent - | FlowExecutionEventConditionResultEvent - | FlowExecutionEventNodeFailureEvent - | FlowExecutionEventFlowFailureEvent - | FlowExecutionEventNodeActionEvent - | FlowExecutionEventNodeDependencyEvent - | FlowExecutionEventUnknown -] -""" -Represents an event that occurred during an flow execution. This is a -union type that can contain one of several event types, such as node -input and output events; flow input and output events; condition node -result events, or failure events. - -Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. -""" - -class _FlowExecutionEventDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FlowExecutionEvent: ... - -class FlowExecutionEventType(UnknownEnumMixin, StrEnum): - NODE = "Node" - FLOW = "Flow" - -@dataclass(kw_only=True) -class FlowExecutionInputEvent(_SerdeShape): - """ - Contains information about the inputs provided to the flow at the start - of a flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - node_name: str - """The name of the node that receives the inputs.""" - timestamp: datetime - """The timestamp when the inputs are provided.""" - fields: list[FlowInputField] - """A list of input fields provided to the flow.""" - -@dataclass(kw_only=True) -class FlowExecutionOutputEvent(_SerdeShape): - """ - Contains information about the outputs produced by the flow during a - flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - node_name: str - """The name of the node that produces the outputs.""" - timestamp: datetime - """The timestamp when the outputs are produced.""" - fields: list[FlowOutputField] - """A list of output fields produced by the flow.""" - -class FlowExecutionStatus(UnknownEnumMixin, StrEnum): - RUNNING = "Running" - SUCCEEDED = "Succeeded" - FAILED = "Failed" - TIMED_OUT = "TimedOut" - ABORTED = "Aborted" - -@dataclass(kw_only=True) -class FlowExecutionSummary(_SerdeShape): - """ - Contains summary information about a flow execution, including its - status, timestamps, and identifiers. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - execution_arn: str - """ - The Amazon Resource Name (ARN) that uniquely identifies the flow - execution. - """ - flow_alias_identifier: str - """The unique identifier of the flow alias used for the execution.""" - flow_identifier: str - """The unique identifier of the flow.""" - flow_version: str - """The version of the flow used for the execution.""" - status: str - """ - The current status of the flow execution. - - Flow executions time out after 24 hours. - """ - created_at: datetime - """The timestamp when the flow execution was created.""" - ended_at: datetime | None = ... - """ - The timestamp when the flow execution ended. This field is only - populated when the execution has completed, failed, timed out, or been - aborted. - """ - -@dataclass(kw_only=True) -class FlowFailureEvent(_SerdeShape): - """ - Contains information about a failure that occurred at the flow level - during a flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - timestamp: datetime - """The timestamp when the failure occurred.""" - error_code: str - """The error code that identifies the type of failure that occurred.""" - error_message: str - """A descriptive message that provides details about the failure.""" - -@dataclass(kw_only=True) -class FlowInput(_SerdeShape): - """ - Contains information about an input into the prompt flow and where to - send it. - """ - - node_name: str - """The name of the flow input node that begins the prompt flow.""" - node_output_name: str | None = ... - """ - The name of the output from the flow input node that begins the prompt - flow. - """ - content: FlowInputContent - """Contains information about an input into the prompt flow.""" - node_input_name: str | None = ... - """The name of the input from the flow input node.""" - -@dataclass -class FlowInputContentDocument(_SerdeShape): - """The input to send to the prompt flow input node.""" - - value: Document - -@dataclass -class FlowInputContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowInputContent = Union[FlowInputContentDocument | FlowInputContentUnknown] -"""Contains information about an input into the flow.""" - -class _FlowInputContentDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FlowInputContent: ... - -@dataclass(kw_only=True) -class FlowInputField(_SerdeShape): - """ - Represents an input field provided to a flow during a flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - name: str - """The name of the input field as defined in the flow's input schema.""" - content: FlowExecutionContent - """ - The content of the input field, which can contain text or structured - data. - """ - -@dataclass -class FlowMultiTurnInputContentDocument(_SerdeShape): - """The requested additional input to send back to the multi-turn flow node.""" - - value: Document - -@dataclass -class FlowMultiTurnInputContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowMultiTurnInputContent = Union[ - FlowMultiTurnInputContentDocument | FlowMultiTurnInputContentUnknown -] -""" -The content structure containing input information for multi-turn flow -interactions. -""" - -class _FlowMultiTurnInputContentDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> FlowMultiTurnInputContent: ... - -@dataclass(kw_only=True) -class FlowMultiTurnInputRequestEvent(_SerdeShape): - """ - Response object from the flow multi-turn node requesting additional - information. - """ - - node_name: str - """The name of the node in the flow that is requesting the input.""" - node_type: str - """The type of the node in the flow that is requesting the input.""" - content: FlowMultiTurnInputContent - """ - The content payload containing the input request details for the - multi-turn interaction. - """ - -class FlowNodeInputCategory(UnknownEnumMixin, StrEnum): - LOOP_CONDITION = "LoopCondition" - RETURN_VALUE_TO_LOOP_START = "ReturnValueToLoopStart" - EXIT_LOOP = "ExitLoop" - -class FlowNodeIODataType(UnknownEnumMixin, StrEnum): - STRING = "String" - NUMBER = "Number" - BOOLEAN = "Boolean" - OBJECT = "Object" - ARRAY = "Array" - -@dataclass -class FlowOutputContentDocument(_SerdeShape): - """The content in the output.""" - - value: Document - -@dataclass -class FlowOutputContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowOutputContent = Union[FlowOutputContentDocument | FlowOutputContentUnknown] -""" -Contains information about the content in an output from prompt flow -invocation. -""" - -class _FlowOutputContentDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FlowOutputContent: ... - -@dataclass(kw_only=True) -class FlowOutputEvent(_SerdeShape): - """Contains information about an output from prompt flow invoction.""" - - node_name: str - """The name of the flow output node that the output is from.""" - node_type: str - """The type of the node that the output is from.""" - content: FlowOutputContent - """The content in the output.""" - -@dataclass(kw_only=True) -class FlowOutputField(_SerdeShape): - """ - Represents an output field produced by a flow during a flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - name: str - """The name of the output field as defined in the flow's output schema.""" - content: FlowExecutionContent - """ - The content of the output field, which can contain text or structured - data. - """ - -@dataclass -class FlowResponseStreamFlowOutputEvent(_SerdeShape): - """Contains information about an output from flow invocation.""" - - value: FlowOutputEvent - -@dataclass -class FlowResponseStreamFlowCompletionEvent(_SerdeShape): - """Contains information about why the flow completed.""" - - value: FlowCompletionEvent - -@dataclass -class FlowResponseStreamFlowTraceEvent(_SerdeShape): - """ - Contains information about a trace, which tracks an input or output for - a node in the flow. - """ - - value: FlowTraceEvent - -@dataclass -class FlowResponseStreamInternalServerException(_SerdeShape): - """An internal server error occurred. Retry your request.""" - - value: InternalServerException - -@dataclass -class FlowResponseStreamValidationException(_SerdeShape): - """ - Input validation failed. Check your request parameters and retry the - request. - """ - - value: ValidationException - -@dataclass -class FlowResponseStreamResourceNotFoundException(_SerdeShape): - """ - The specified resource Amazon Resource Name (ARN) was not found. Check - the Amazon Resource Name (ARN) and try your request again. - """ - - value: ResourceNotFoundException - -@dataclass -class FlowResponseStreamServiceQuotaExceededException(_SerdeShape): - """ - The number of requests exceeds the service quota. Resubmit your request - later. - """ - - value: ServiceQuotaExceededException - -@dataclass -class FlowResponseStreamThrottlingException(_SerdeShape): - """The number of requests exceeds the limit. Resubmit your request later.""" - - value: ThrottlingException - -@dataclass -class FlowResponseStreamAccessDeniedException(_SerdeShape): - """ - The request is denied because of missing access permissions. Check your - permissions and retry your request. - """ - - value: AccessDeniedException - -@dataclass -class FlowResponseStreamConflictException(_SerdeShape): - """ - There was a conflict performing an operation. Resolve the conflict and - retry your request. - """ - - value: ConflictException - -@dataclass -class FlowResponseStreamDependencyFailedException(_SerdeShape): - """ - There was an issue with a dependency. Check the resource configurations - and retry the request. - """ - - value: DependencyFailedException - -@dataclass -class FlowResponseStreamBadGatewayException(_SerdeShape): - """ - There was an issue with a dependency due to a server issue. Retry your - request. - """ - - value: BadGatewayException - -@dataclass -class FlowResponseStreamFlowMultiTurnInputRequestEvent(_SerdeShape): - """ - The event stream containing the multi-turn input request information - from the flow. - """ - - value: FlowMultiTurnInputRequestEvent - -@dataclass -class FlowResponseStreamUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowResponseStream = Union[ - FlowResponseStreamFlowOutputEvent - | FlowResponseStreamFlowCompletionEvent - | FlowResponseStreamFlowTraceEvent - | FlowResponseStreamInternalServerException - | FlowResponseStreamValidationException - | FlowResponseStreamResourceNotFoundException - | FlowResponseStreamServiceQuotaExceededException - | FlowResponseStreamThrottlingException - | FlowResponseStreamAccessDeniedException - | FlowResponseStreamConflictException - | FlowResponseStreamDependencyFailedException - | FlowResponseStreamBadGatewayException - | FlowResponseStreamFlowMultiTurnInputRequestEvent - | FlowResponseStreamUnknown -] -"""The output of the flow.""" - -class _FlowResponseStreamDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FlowResponseStream: ... - -@dataclass -class FlowTraceNodeInputTrace(_SerdeShape): - """Contains information about the input into a node.""" - - value: FlowTraceNodeInputEvent - -@dataclass -class FlowTraceNodeOutputTrace(_SerdeShape): - """Contains information about the output from a node.""" - - value: FlowTraceNodeOutputEvent - -@dataclass -class FlowTraceConditionNodeResultTrace(_SerdeShape): - """Contains information about an output from a condition node.""" - - value: FlowTraceConditionNodeResultEvent - -@dataclass -class FlowTraceNodeActionTrace(_SerdeShape): - """Contains information about an action (operation) called by a node.""" - - value: FlowTraceNodeActionEvent - -@dataclass -class FlowTraceNodeDependencyTrace(_SerdeShape): - """Contains information about an internal trace of a node.""" - - value: FlowTraceDependencyEvent - -@dataclass -class FlowTraceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowTrace = Union[ - FlowTraceNodeInputTrace - | FlowTraceNodeOutputTrace - | FlowTraceConditionNodeResultTrace - | FlowTraceNodeActionTrace - | FlowTraceNodeDependencyTrace - | FlowTraceUnknown -] -""" -Contains information about an input or output for a node in the flow. -For more information, see [Track each step in your prompt flow by -viewing its trace in Amazon -Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). -""" - -class _FlowTraceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FlowTrace: ... - -@dataclass(kw_only=True) -class FlowTraceCondition(_SerdeShape): - """ - Contains information about a condition that was satisfied. For more - information, see [Track each step in your prompt flow by viewing its - trace in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). - """ - - condition_name: str - """The name of the condition.""" - -@dataclass(kw_only=True) -class FlowTraceConditionNodeResultEvent(_SerdeShape): - """ - Contains information about an output from a condition node. For more - information, see [Track each step in your prompt flow by viewing its - trace in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). - """ - - node_name: str - """The name of the condition node.""" - timestamp: datetime - """The date and time that the trace was returned.""" - satisfied_conditions: list[FlowTraceCondition] - """ - An array of objects containing information about the conditions that - were satisfied. - """ - -@dataclass(kw_only=True) -class FlowTraceDependencyEvent(_SerdeShape): - """Contains information about a dependency trace event in the flow.""" - - node_name: str - """The name of the node that generated the dependency trace.""" - timestamp: datetime - """The date and time that the dependency trace was generated.""" - trace_elements: TraceElements - """The trace elements containing detailed information about the dependency.""" - -@dataclass(kw_only=True) -class FlowTraceEvent(_SerdeShape): - """ - Contains information about a trace, which tracks an input or output for - a node in the flow. For more information, see [Track each step in your - prompt flow by viewing its trace in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). - """ - - trace: FlowTrace - """ - The trace object containing information about an input or output for a - node in the flow. - """ - -@dataclass(kw_only=True) -class FlowTraceNodeActionEvent(_SerdeShape): - """ - Contains information about an action (operation) called by a node in an - Amazon Bedrock flow. The service generates action events for calls made - by prompt nodes, agent nodes, and Amazon Web Services Lambda nodes. - """ - - node_name: str - """The name of the node that called the operation.""" - timestamp: datetime - """The date and time that the operation was called.""" - request_id: str - """The ID of the request that the node made to the operation.""" - service_name: str - """The name of the service that the node called.""" - operation_name: str - """The name of the operation that the node called.""" - operation_request: Document | None = ... - """The request payload sent to the downstream service.""" - operation_response: Document | None = ... - """The response payload received from the downstream service.""" - -@dataclass -class FlowTraceNodeInputContentDocument(_SerdeShape): - """The content of the node input.""" - - value: Document - -@dataclass -class FlowTraceNodeInputContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowTraceNodeInputContent = Union[ - FlowTraceNodeInputContentDocument | FlowTraceNodeInputContentUnknown -] -""" -Contains the content of the node input. For more information, see [Track -each step in your prompt flow by viewing its trace in Amazon -Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). -""" - -class _FlowTraceNodeInputContentDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> FlowTraceNodeInputContent: ... - -@dataclass(kw_only=True) -class FlowTraceNodeInputEvent(_SerdeShape): - """ - Contains information about the input into a node. For more information, - see [Track each step in your prompt flow by viewing its trace in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). - """ - - node_name: str - """The name of the node that received the input.""" - timestamp: datetime - """The date and time that the trace was returned.""" - fields: list[FlowTraceNodeInputField] - """ - An array of objects containing information about each field in the - input. - """ - -@dataclass(kw_only=True) -class FlowTraceNodeInputExecutionChainItem(_SerdeShape): - """ - Represents an item in the execution chain for flow trace node input - tracking. - """ - - node_name: str - """The name of the node in the execution chain.""" - index: int | None = ... - """The index position of this item in the execution chain.""" - type: str - """ - The type of execution chain item. Supported values are Iterator and - Loop. - """ - -@dataclass(kw_only=True) -class FlowTraceNodeInputField(_SerdeShape): - """ - Contains information about a field in the input into a node. For more - information, see [Track each step in your prompt flow by viewing its - trace in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). - """ - - node_input_name: str - """The name of the node input.""" - content: FlowTraceNodeInputContent - """The content of the node input.""" - source: FlowTraceNodeInputSource | None = ... - """The source node that provides input data to this field.""" - type: str | None = ... - """The data type of the input field for compatibility validation.""" - category: str | None = ... - """The category of the input field.""" - execution_chain: list[FlowTraceNodeInputExecutionChainItem] | None = ... - """The execution path through nested nodes like iterators and loops.""" - -@dataclass(kw_only=True) -class FlowTraceNodeInputSource(_SerdeShape): - """Represents the source of input data for a flow trace node field.""" - - node_name: str - """The name of the source node that provides the input data.""" - output_field_name: str - """The name of the output field from the source node.""" - expression: str - """The expression used to extract data from the source.""" - -@dataclass -class FlowTraceNodeOutputContentDocument(_SerdeShape): - """The content of the node output.""" - - value: Document - -@dataclass -class FlowTraceNodeOutputContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowTraceNodeOutputContent = Union[ - FlowTraceNodeOutputContentDocument | FlowTraceNodeOutputContentUnknown -] -""" -Contains the content of the node output. For more information, see -[Track each step in your prompt flow by viewing its trace in Amazon -Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). -""" - -class _FlowTraceNodeOutputContentDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> FlowTraceNodeOutputContent: ... - -@dataclass(kw_only=True) -class FlowTraceNodeOutputEvent(_SerdeShape): - """ - Contains information about the output from a node. For more information, - see [Track each step in your prompt flow by viewing its trace in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). - """ - - node_name: str - """The name of the node that yielded the output.""" - timestamp: datetime - """The date and time that the trace was returned.""" - fields: list[FlowTraceNodeOutputField] - """ - An array of objects containing information about each field in the - output. - """ - -@dataclass(kw_only=True) -class FlowTraceNodeOutputField(_SerdeShape): - """ - Contains information about a field in the output from a node. For more - information, see [Track each step in your prompt flow by viewing its - trace in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). - """ - - node_output_name: str - """The name of the node output.""" - content: FlowTraceNodeOutputContent - """The content of the node output.""" - next: list[FlowTraceNodeOutputNext] | None = ... - """The next node that receives output data from this field.""" - type: str | None = ... - """The data type of the output field for compatibility validation.""" - -@dataclass(kw_only=True) -class FlowTraceNodeOutputNext(_SerdeShape): - """Represents the next node that receives output data from a flow trace.""" - - node_name: str - """The name of the next node that receives the output data.""" - input_field_name: str - """The name of the input field in the next node that receives the data.""" - -@dataclass(kw_only=True) -class FoundationModelConfiguration(_SerdeShape): - """Configuration for the foundation model.""" - - type: str - """The type of foundation model configuration.""" - bedrock_foundation_model_configuration: ( - BedrockFoundationModelConfiguration | None - ) = ... - """The Bedrock foundation model configuration.""" - mantle_foundation_model_configuration: ( - MantleFoundationModelConfiguration | None - ) = ... - """The Mantle foundation model configuration.""" - -class FoundationModelConfigurationType(UnknownEnumMixin, StrEnum): - """The type of foundation model configuration.""" - - BEDROCK_FOUNDATION_MODEL = "BEDROCK_FOUNDATION_MODEL" - MANTLE_FOUNDATION_MODEL = "MANTLE_FOUNDATION_MODEL" - -class FoundationModelType(UnknownEnumMixin, StrEnum): - """The type of foundation model.""" - - CUSTOM = "CUSTOM" - MANAGED = "MANAGED" - -@dataclass(kw_only=True) -class FunctionDefinition(_SerdeShape): - """ - Defines parameters that the agent needs to invoke from the user to - complete the function. Corresponds to an action in an action group. - """ - - name: str - """A name for the function.""" - description: str | None = ... - """A description of the function and its purpose.""" - parameters: dict[str, ParameterDetail] | None = ... - """ - The parameters that the agent elicits from the user to fulfill the - function. - """ - require_confirmation: str | None = ... - """ - Contains information if user confirmation is required to invoke the - function. - """ - -@dataclass(kw_only=True) -class FunctionInvocationInput(_SerdeShape): - """ - Contains information about the function that the agent predicts should - be called. - - This data type is used in the following API operations: - - - In the `returnControl` field of the [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - """ - - action_group: str - """The action group that the function belongs to.""" - parameters: list[FunctionParameter] | None = ... - """A list of parameters of the function.""" - function: str | None = ... - """The name of the function.""" - action_invocation_type: str | None = ... - """Contains information about the function to invoke,""" - agent_id: str | None = ... - """The agent's ID.""" - collaborator_name: str | None = ... - """The collaborator's name.""" - -@dataclass(kw_only=True) -class FunctionParameter(_SerdeShape): - """ - Contains information about a parameter of the function. - - This data type is used in the following API operations: - - - In the `returnControl` field of the [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - """ - - name: str | None = ... - """The name of the parameter.""" - type: str | None = ... - """The data type of the parameter.""" - value: str | None = ... - """The value of the parameter.""" - -@dataclass(kw_only=True) -class FunctionResult(_SerdeShape): - """ - Contains information about the function that was called from the action - group and the response that was returned. - - This data type is used in the following API operations: - - - In the `returnControlInvocationResults` of the [InvokeAgent - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) - """ - - action_group: str - """The action group that the function belongs to.""" - confirmation_state: str | None = ... - """ - Contains the user confirmation information about the function that was - called. - """ - function: str | None = ... - """The name of the function that was called.""" - response_body: dict[str, ContentBody] | None = ... - """ - The response from the function call using the parameters. The response - might be returned directly or from the Lambda function. Specify `TEXT` - or `IMAGES`. The key of the object is the content type. You can only - specify one type. If you specify `IMAGES`, you can specify only one - image. You can specify images only when the function in the - `returnControlInvocationResults` is a computer use action. For more - information, see [Configure an Amazon Bedrock Agent to complete tasks - with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). - """ - response_state: str | None = ... - """ - Controls the final response state returned to end user when API/Function - execution failed. When this state is FAILURE, the request would fail - with dependency failure exception. When this state is REPROMPT, the - API/function response will be sent to model for re-prompt - """ - agent_id: str | None = ... - """The agent's ID.""" - -@dataclass -class FunctionSchemaFunctions(_SerdeShape): - """A list of functions that each define an action in the action group.""" - - value: list[FunctionDefinition] - -@dataclass -class FunctionSchemaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FunctionSchema = Union[FunctionSchemaFunctions | FunctionSchemaUnknown] -""" -Contains details about the function schema for the action group or the -JSON or YAML-formatted payload defining the schema. -""" - -class _FunctionSchemaDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FunctionSchema: ... - -@dataclass(kw_only=True) -class GeneratedQuery(_SerdeShape): - """ - Contains information about a query generated for a natural language - query. - """ - - type: str | None = ... - """The type of transformed query.""" - sql: str | None = ... - """An SQL query that corresponds to the natural language query.""" - -class GeneratedQueryType(UnknownEnumMixin, StrEnum): - REDSHIFT_SQL = "REDSHIFT_SQL" - -@dataclass(kw_only=True) -class GeneratedResponsePart(_SerdeShape): - """ - Contains metadata about a part of the generated response that is - accompanied by a citation. - - This data type is used in the following API operations: - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - -- in the `generatedResponsePart` field - - - [RetrieveAndGenerate - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) - -- in the `generatedResponsePart` field - """ - - text_response_part: TextResponsePart | None = ... - """ - Contains metadata about a textual part of the generated response that is - accompanied by a citation. - """ - -@dataclass(kw_only=True) -class GenerateQueryInput(_SerdeShape): - """Dataclass for GenerateQueryInput structure.""" - - query_generation_input: QueryGenerationInput | None = ... - """ - Specifies information about a natural language query to transform into - SQL. - """ - transformation_configuration: TransformationConfiguration | None = ... - """ - Specifies configurations for transforming the natural language query - into SQL. - """ - -@dataclass(kw_only=True) -class GenerateQueryOutput(_SerdeShape): - """Dataclass for GenerateQueryOutput structure.""" - - queries: list[GeneratedQuery] | None = ... - """ - A list of objects, each of which defines a generated query that can - correspond to the natural language queries. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GenerationConfiguration(_SerdeShape): - """ - Contains configurations for response generation based on the knowledge - base query results. - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - """ - - prompt_template: PromptTemplate | None = ... - """ - Contains the template for the prompt that's sent to the model for - response generation. Generation prompts must include the - `$search_results$` variable. For more information, see [Use placeholder - variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html) - in the user guide. - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """The configuration details for the guardrail.""" - inference_config: InferenceConfig | None = ... - """ - Configuration settings for inference when using RetrieveAndGenerate to - generate responses while using a knowledge base as a source. - """ - additional_model_request_fields: dict[str, Document] | None = ... - """ - Additional model parameters and corresponding values not included in the - textInferenceConfig structure for a knowledge base. This allows users to - provide custom model parameters specific to the language model being - used. - """ - performance_config: PerformanceConfiguration | None = ... - """The latency configuration for the model.""" - -@dataclass(kw_only=True) -class GetAgentMemoryInput(_SerdeShape): - """Dataclass for GetAgentMemoryInput structure.""" - - next_token: str | None = ... - """ - If the total number of results is greater than the maxItems value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - max_items: int | None = ... - """ - The maximum number of items to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - agent_id: str | None = ... - """The unique identifier of the agent to which the alias belongs.""" - agent_alias_id: str | None = ... - """The unique identifier of an alias of an agent.""" - memory_type: str | None = ... - """The type of memory.""" - memory_id: str | None = ... - """The unique identifier of the memory.""" - -@dataclass(kw_only=True) -class GetAgentMemoryOutput(_SerdeShape): - """Dataclass for GetAgentMemoryOutput structure.""" - - next_token: str | None = ... - """ - If the total number of results is greater than the maxItems value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - memory_contents: list[Memory] | None = ... - """Contains details of the sessions stored in the memory""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDocumentContentInput(_SerdeShape): - """Dataclass for GetDocumentContentInput structure.""" - - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base that contains the document.""" - data_source_id: str | None = ... - """The unique identifier of the data source that contains the document.""" - document_id: str | None = ... - """The unique identifier of the document to retrieve content for.""" - media_id: str | None = ... - """ - The unique identifier (in UUID format) of an image embedded in the - specified document. Set this parameter to the `_media_id` value in the - metadata of the corresponding `Retrieve` result. If you specify this - parameter, the response contains a pre-signed URL for the image instead - of the document, and you must omit `outputFormat` or set it to `RAW`. - """ - output_format: str | None = ... - """ - The output format for the content. You can specify one of the following - values: - - RAW - - : Returns the original document, or the selected image if you specify - `mediaId`. - - EXTRACTED - - : Returns parsed document text as JSON. - - If you omit this parameter, the default is `RAW`. You can't use - `EXTRACTED` with `mediaId`. - """ - user_context: UserContext | None = ... - """ - Contains information about the user making the request. This is used for - access control filtering to ensure that results only include documents - the user is authorized to access. - """ - -@dataclass(kw_only=True) -class GetDocumentContentOutput(_SerdeShape): - """Dataclass for GetDocumentContentOutput structure.""" - - mime_type: str - """ - The MIME type of the returned content. For `RAW` format, this is the - original file type (for example, `application/pdf`), or the image type - (for example, `image/png`) if you specify `mediaId`. For `EXTRACTED` - format, this is always `application/json`. - """ - presigned_url: str - """ - A pre-signed URL for downloading the document content, or the selected - image if you specify `mediaId`. The URL expires after 5 minutes. - """ - document_content_length: int | None = ... - """The size, in bytes, of the content available at the pre-signed URL.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetExecutionFlowSnapshotInput(_SerdeShape): - """Dataclass for GetExecutionFlowSnapshotInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - flow_alias_identifier: str | None = ... - """The unique identifier of the flow alias used for the flow execution.""" - execution_identifier: str | None = ... - """The unique identifier of the flow execution.""" - -@dataclass(kw_only=True) -class GetExecutionFlowSnapshotOutput(_SerdeShape): - """Dataclass for GetExecutionFlowSnapshotOutput structure.""" - - flow_identifier: str - """The unique identifier of the flow.""" - flow_alias_identifier: str - """The unique identifier of the flow alias used for the flow execution.""" - flow_version: str - """The version of the flow used for the flow execution.""" - execution_role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM service role that's used by - the flow execution. - """ - definition: str - """ - The flow definition used for the flow execution, including the nodes, - connections, and configuration at the time when the execution started. - - The definition returns as a string that follows the structure of a - [FlowDefinition](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_FlowDefinition.html) - object. - """ - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the customer managed KMS key that's - used to encrypt the flow snapshot. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFlowExecutionInput(_SerdeShape): - """Dataclass for GetFlowExecutionInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - flow_alias_identifier: str | None = ... - """The unique identifier of the flow alias used for the execution.""" - execution_identifier: str | None = ... - """The unique identifier of the flow execution to retrieve.""" - -@dataclass(kw_only=True) -class GetFlowExecutionOutput(_SerdeShape): - """Dataclass for GetFlowExecutionOutput structure.""" - - execution_arn: str - """ - The Amazon Resource Name (ARN) that uniquely identifies the flow - execution. - """ - status: str - """ - The current status of the flow execution. - - Flow executions time out after 24 hours. - """ - started_at: datetime - """The timestamp when the flow execution started.""" - ended_at: datetime | None = ... - """ - The timestamp when the flow execution ended. This field is only - populated when the execution has completed, failed, timed out, or been - aborted. - """ - errors: list[FlowExecutionError] | None = ... - """ - A list of errors that occurred during the flow execution. Each error - includes an error code, message, and the node where the error occurred, - if applicable. - """ - flow_alias_identifier: str - """The unique identifier of the flow alias used for the execution.""" - flow_identifier: str - """The unique identifier of the flow.""" - flow_version: str - """The version of the flow used for the execution.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIngestedDocumentAclInput(_SerdeShape): - """Dataclass for GetIngestedDocumentAclInput structure.""" - - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base that contains the document.""" - data_source_id: str | None = ... - """The unique identifier of the data source that contains the document.""" - document_id: str | None = ... - """ - The unique identifier of the document to retrieve the ingested access - control list (ACL) for. - """ - -@dataclass(kw_only=True) -class GetIngestedDocumentAclOutput(_SerdeShape): - """Dataclass for GetIngestedDocumentAclOutput structure.""" - - document_acl: DocumentAcl - """ - The ingested document access control list (ACL) containing allow and - deny membership information. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInvocationStepInput(_SerdeShape): - """Dataclass for GetInvocationStepInput structure.""" - - invocation_identifier: str | None = ... - """The unique identifier for the invocation in UUID format.""" - invocation_step_id: str | None = ... - """ - The unique identifier (in UUID format) for the specific invocation step - to retrieve. - """ - session_identifier: str | None = ... - """ - The unique identifier for the invocation step's associated session. You - can specify either the session's `sessionId` or its Amazon Resource - Name (ARN). - """ - -@dataclass(kw_only=True) -class GetInvocationStepOutput(_SerdeShape): - """Dataclass for GetInvocationStepOutput structure.""" - - invocation_step: InvocationStep - """The complete details of the requested invocation step.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSessionInput(_SerdeShape): - """Dataclass for GetSessionInput structure.""" - - session_identifier: str | None = ... - """ - A unique identifier for the session to retrieve. You can specify either - the session's `sessionId` or its Amazon Resource Name (ARN). - """ - -@dataclass(kw_only=True) -class GetSessionOutput(_SerdeShape): - """Dataclass for GetSessionOutput structure.""" - - session_id: str - """The unique identifier for the session in UUID format.""" - session_arn: str - """The Amazon Resource Name (ARN) of the session.""" - session_status: str - """The current status of the session.""" - created_at: datetime - """The timestamp for when the session was created.""" - last_updated_at: datetime - """The timestamp for when the session was last modified.""" - session_metadata: dict[str, str] | None = ... - """ - A map of key-value pairs containing attributes persisted across the - session. - """ - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Key Management Service key used to - encrypt the session data. For more information, see [Amazon Bedrock - session - encryption](https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class GuadrailAction(UnknownEnumMixin, StrEnum): - INTERVENED = "INTERVENED" - NONE = "NONE" - -class GuardrailAction(UnknownEnumMixin, StrEnum): - INTERVENED = "INTERVENED" - NONE = "NONE" - -@dataclass(kw_only=True) -class GuardrailAssessment(_SerdeShape): - """Assessment details of the content analyzed by Guardrails.""" - - topic_policy: GuardrailTopicPolicyAssessment | None = ... - """Topic policy details of the Guardrail.""" - content_policy: GuardrailContentPolicyAssessment | None = ... - """Content policy details of the Guardrail.""" - word_policy: GuardrailWordPolicyAssessment | None = ... - """Word policy details of the Guardrail.""" - sensitive_information_policy: ( - GuardrailSensitiveInformationPolicyAssessment | None - ) = ... - """Sensitive Information policy details of Guardrail.""" - -@dataclass(kw_only=True) -class GuardrailConfiguration(_SerdeShape): - """The configuration details for the guardrail.""" - - guardrail_id: str - """The unique identifier for the guardrail.""" - guardrail_version: str - """The version of the guardrail.""" - -@dataclass(kw_only=True) -class GuardrailConfigurationWithArn(_SerdeShape): - """The configuration details for the guardrail.""" - - guardrail_identifier: str - """The unique identifier for the guardrail.""" - guardrail_version: str - """The version of the guardrail.""" - -@dataclass(kw_only=True) -class GuardrailContentFilter(_SerdeShape): - """Details of the content filter used in the Guardrail.""" - - type: str | None = ... - """The type of content detected in the filter by the Guardrail.""" - confidence: str | None = ... - """ - The confidence level regarding the content detected in the filter by the - Guardrail. - """ - action: str | None = ... - """The action placed on the content by the Guardrail filter.""" - -class GuardrailContentFilterConfidence(UnknownEnumMixin, StrEnum): - NONE = "NONE" - LOW = "LOW" - MEDIUM = "MEDIUM" - HIGH = "HIGH" - -class GuardrailContentFilterType(UnknownEnumMixin, StrEnum): - INSULTS = "INSULTS" - HATE = "HATE" - SEXUAL = "SEXUAL" - VIOLENCE = "VIOLENCE" - MISCONDUCT = "MISCONDUCT" - PROMPT_ATTACK = "PROMPT_ATTACK" - -class GuardrailContentPolicyAction(UnknownEnumMixin, StrEnum): - BLOCKED = "BLOCKED" - -@dataclass(kw_only=True) -class GuardrailContentPolicyAssessment(_SerdeShape): - """The details of the policy assessment in the Guardrails filter.""" - - filters: list[GuardrailContentFilter] | None = ... - """ - The filter details of the policy assessment used in the Guardrails - filter. - """ - -@dataclass(kw_only=True) -class GuardrailCustomWord(_SerdeShape): - """The custom word details for the filter in the Guardrail.""" - - match: str | None = ... - """The match details for the custom word filter in the Guardrail.""" - action: str | None = ... - """The action details for the custom word filter in the Guardrail.""" - -@dataclass(kw_only=True) -class GuardrailEvent(_SerdeShape): - """A guardrail event.""" - - action: str | None = ... - """The guardrail action.""" - -@dataclass(kw_only=True) -class GuardrailManagedWord(_SerdeShape): - """The managed word details for the filter in the Guardrail.""" - - match: str | None = ... - """The match details for the managed word filter in the Guardrail.""" - type: str | None = ... - """The type details for the managed word filter in the Guardrail.""" - action: str | None = ... - """The action details for the managed word filter in the Guardrail.""" - -class GuardrailManagedWordType(UnknownEnumMixin, StrEnum): - PROFANITY = "PROFANITY" - -@dataclass(kw_only=True) -class GuardrailPiiEntityFilter(_SerdeShape): - """ - The Guardrail filter to identify and remove personally identifiable - information (PII). - """ - - type: str | None = ... - """The type of PII the Guardrail filter has identified and removed.""" - match: str | None = ... - """ - The match to settings in the Guardrail filter to identify and remove - PII. - """ - action: str | None = ... - """The action of the Guardrail filter to identify and remove PII.""" - -class GuardrailPiiEntityType(UnknownEnumMixin, StrEnum): - ADDRESS = "ADDRESS" - AGE = "AGE" - AWS_ACCESS_KEY = "AWS_ACCESS_KEY" - AWS_SECRET_KEY = "AWS_SECRET_KEY" - CA_HEALTH_NUMBER = "CA_HEALTH_NUMBER" - CA_SOCIAL_INSURANCE_NUMBER = "CA_SOCIAL_INSURANCE_NUMBER" - CREDIT_DEBIT_CARD_CVV = "CREDIT_DEBIT_CARD_CVV" - CREDIT_DEBIT_CARD_EXPIRY = "CREDIT_DEBIT_CARD_EXPIRY" - CREDIT_DEBIT_CARD_NUMBER = "CREDIT_DEBIT_CARD_NUMBER" - DRIVER_ID = "DRIVER_ID" - EMAIL = "EMAIL" - INTERNATIONAL_BANK_ACCOUNT_NUMBER = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" - IP_ADDRESS = "IP_ADDRESS" - LICENSE_PLATE = "LICENSE_PLATE" - MAC_ADDRESS = "MAC_ADDRESS" - NAME = "NAME" - PASSWORD = "PASSWORD" - PHONE = "PHONE" - PIN = "PIN" - SWIFT_CODE = "SWIFT_CODE" - UK_NATIONAL_HEALTH_SERVICE_NUMBER = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" - UK_NATIONAL_INSURANCE_NUMBER = "UK_NATIONAL_INSURANCE_NUMBER" - UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" - URL = "URL" - USERNAME = "USERNAME" - US_BANK_ACCOUNT_NUMBER = "US_BANK_ACCOUNT_NUMBER" - US_BANK_ROUTING_NUMBER = "US_BANK_ROUTING_NUMBER" - US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" - US_PASSPORT_NUMBER = "US_PASSPORT_NUMBER" - US_SOCIAL_SECURITY_NUMBER = "US_SOCIAL_SECURITY_NUMBER" - VEHICLE_IDENTIFICATION_NUMBER = "VEHICLE_IDENTIFICATION_NUMBER" - -@dataclass(kw_only=True) -class GuardrailRegexFilter(_SerdeShape): - """The details for the regex filter used in the Guardrail.""" - - name: str | None = ... - """The name details for the regex filter used in the Guardrail.""" - regex: str | None = ... - """The regex details for the regex filter used in the Guardrail.""" - match: str | None = ... - """The match details for the regex filter used in the Guardrail.""" - action: str | None = ... - """The action details for the regex filter used in the Guardrail.""" - -class GuardrailSensitiveInformationPolicyAction(UnknownEnumMixin, StrEnum): - BLOCKED = "BLOCKED" - ANONYMIZED = "ANONYMIZED" - -@dataclass(kw_only=True) -class GuardrailSensitiveInformationPolicyAssessment(_SerdeShape): - """The details of the sensitive policy assessment used in the Guardrail.""" - - pii_entities: list[GuardrailPiiEntityFilter] | None = ... - """ - The details of the PII entities used in the sensitive policy assessment - for the Guardrail. - """ - regexes: list[GuardrailRegexFilter] | None = ... - """ - The details of the regexes used in the sensitive policy assessment for - the Guardrail. - """ - -@dataclass(kw_only=True) -class GuardrailTopic(_SerdeShape): - """The details for a specific topic defined in the Guardrail.""" - - name: str | None = ... - """The name details on a specific topic in the Guardrail.""" - type: str | None = ... - """The type details on a specific topic in the Guardrail.""" - action: str | None = ... - """The action details on a specific topic in the Guardrail.""" - -class GuardrailTopicPolicyAction(UnknownEnumMixin, StrEnum): - BLOCKED = "BLOCKED" - -@dataclass(kw_only=True) -class GuardrailTopicPolicyAssessment(_SerdeShape): - """The details of the policy assessment used in the Guardrail.""" - - topics: list[GuardrailTopic] | None = ... - """The topic details of the policy assessment used in the Guardrail.""" - -class GuardrailTopicType(UnknownEnumMixin, StrEnum): - DENY = "DENY" - -@dataclass(kw_only=True) -class GuardrailTrace(_SerdeShape): - """The trace details used in the Guardrail.""" - - action: str | None = ... - """The trace action details used with the Guardrail.""" - trace_id: str | None = ... - """The details of the trace Id used in the Guardrail Trace.""" - input_assessments: list[GuardrailAssessment] | None = ... - """The details of the input assessments used in the Guardrail Trace.""" - output_assessments: list[GuardrailAssessment] | None = ... - """The details of the output assessments used in the Guardrail Trace.""" - metadata: Metadata | None = ... - """Contains information about the Guardrail output.""" - -class GuardrailWordPolicyAction(UnknownEnumMixin, StrEnum): - BLOCKED = "BLOCKED" - -@dataclass(kw_only=True) -class GuardrailWordPolicyAssessment(_SerdeShape): - """The assessment details for words defined in the Guardrail filter.""" - - custom_words: list[GuardrailCustomWord] | None = ... - """The custom word details for words defined in the Guardrail filter.""" - managed_word_lists: list[GuardrailManagedWord] | None = ... - """The managed word lists for words defined in the Guardrail filter.""" - -@dataclass(kw_only=True) -class ImageBlock(_SerdeShape): - """Image content for an invocation step.""" - - format: str - """The format of the image.""" - source: ImageSource - """The source for the image.""" - -class ImageFormat(UnknownEnumMixin, StrEnum): - PNG = "png" - JPEG = "jpeg" - GIF = "gif" - WEBP = "webp" - -@dataclass(kw_only=True) -class ImageInput(_SerdeShape): - """ - Details about an image in the result from a function in the action group - invocation. You can specify images only when the function is a computer - use action. For more information, see [Configure an Amazon Bedrock Agent - to complete tasks with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html). - """ - - format: str - """The type of image in the result.""" - source: ImageInputSource - """The source of the image in the result.""" - -class ImageInputFormat(UnknownEnumMixin, StrEnum): - PNG = "png" - JPEG = "jpeg" - GIF = "gif" - WEBP = "webp" - -@dataclass -class ImageInputSourceBytes(_SerdeShape): - """ - The raw image bytes for the image. If you use an Amazon Web Services - SDK, you don't need to encode the image bytes in base64. - """ - - value: bytes - -@dataclass -class ImageInputSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ImageInputSource = Union[ImageInputSourceBytes | ImageInputSourceUnknown] -""" -Details about the source of an input image in the result from a function -in the action group invocation. -""" - -class _ImageInputSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ImageInputSource: ... - -@dataclass -class ImageSourceBytes(_SerdeShape): - """ - The raw image bytes for the image. If you use an Amazon Web Services - SDK, you don't need to encode the image bytes in base64. - """ - - value: bytes - -@dataclass -class ImageSourceS3Location(_SerdeShape): - """The path to the Amazon S3 bucket where the image is stored.""" - - value: S3Location - -@dataclass -class ImageSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ImageSource = Union[ImageSourceBytes | ImageSourceS3Location | ImageSourceUnknown] -"""The source for an image.""" - -class _ImageSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ImageSource: ... - -@dataclass(kw_only=True) -class ImplicitFilterConfiguration(_SerdeShape): - """ - Settings for implicit filtering, where a model generates a metadata - filter based on the prompt. - """ - - metadata_attributes: list[MetadataAttributeSchema] - """Metadata that can be used in a filter.""" - model_arn: str - """The model that generates the filter.""" - -@dataclass(kw_only=True) -class InferenceConfig(_SerdeShape): - """ - The configuration for inference settings when generating responses using - RetrieveAndGenerate. - """ - - text_inference_config: TextInferenceConfig | None = ... - """ - Configuration settings specific to text generation while generating - responses using RetrieveAndGenerate. - """ - -@dataclass(kw_only=True) -class InferenceConfiguration(_SerdeShape): - """ - Specifications about the inference parameters that were provided - alongside the prompt. These are specified in the - [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) - object that was set when the agent was created or updated. For more - information, see [Inference parameters for foundation - models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - """ - - temperature: float | None = ... - """ - The likelihood of the model selecting higher-probability options while - generating a response. A lower value makes the model more likely to - choose higher-probability options, while a higher value makes the model - more likely to choose lower-probability options. - """ - top_p: float | None = ... - """ - While generating a response, the model determines the probability of the - following token at each point of generation. The value that you set for - `Top P` determines the number of most-likely candidates from which the - model chooses the next token in the sequence. For example, if you set - `topP` to 0.8, the model only selects the next token from the top 80% of - the probability distribution of next tokens. - """ - top_k: int | None = ... - """ - While generating a response, the model determines the probability of the - following token at each point of generation. The value that you set for - `topK` is the number of most-likely candidates from which the model - chooses the next token in the sequence. For example, if you set `topK` - to 50, the model selects the next token from among the top 50 most - likely choices. - """ - maximum_length: int | None = ... - """The maximum number of tokens allowed in the generated response.""" - stop_sequences: list[str] | None = ... - """ - A list of stop sequences. A stop sequence is a sequence of characters - that causes the model to stop generating the response. - """ - -@dataclass(kw_only=True) -class InlineAgentFilePart(_SerdeShape): - """ - Contains intermediate response for code interpreter if any files have - been generated. - """ - - files: list[OutputFile] | None = ... - """Files containing intermediate response for the user.""" - -@dataclass(kw_only=True) -class InlineAgentPayloadPart(_SerdeShape): - """Contains a part of an agent response and citations for it.""" - - bytes_: bytes | None = ... - """A part of the agent response in bytes.""" - attribution: Attribution | None = ... - """Contains citations for a part of an agent response.""" - -@dataclass -class InlineAgentResponseStreamChunk(_SerdeShape): - """Contains a part of an agent response and citations for it.""" - - value: InlineAgentPayloadPart - -@dataclass -class InlineAgentResponseStreamTrace(_SerdeShape): - """ - Contains information about the agent and session, alongside the agent's - reasoning process and results from calling actions and querying - knowledge bases and metadata about the trace. You can use the trace to - understand how the agent arrived at the response it provided the - customer. For more information, see [Trace - events](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html). - """ - - value: InlineAgentTracePart - -@dataclass -class InlineAgentResponseStreamReturnControl(_SerdeShape): - """ - Contains the parameters and information that the agent elicited from the - customer to carry out an action. This information is returned to the - system and can be used in your own setup for fulfilling the action. - """ - - value: InlineAgentReturnControlPayload - -@dataclass -class InlineAgentResponseStreamInternalServerException(_SerdeShape): - """An internal server error occurred. Retry your request.""" - - value: InternalServerException - -@dataclass -class InlineAgentResponseStreamValidationException(_SerdeShape): - """ - Input validation failed. Check your request parameters and retry the - request. - """ - - value: ValidationException - -@dataclass -class InlineAgentResponseStreamResourceNotFoundException(_SerdeShape): - """ - The specified resource Amazon Resource Name (ARN) was not found. Check - the Amazon Resource Name (ARN) and try your request again. - """ - - value: ResourceNotFoundException - -@dataclass -class InlineAgentResponseStreamServiceQuotaExceededException(_SerdeShape): - """ - The number of requests exceeds the service quota. Resubmit your request - later. - """ - - value: ServiceQuotaExceededException - -@dataclass -class InlineAgentResponseStreamThrottlingException(_SerdeShape): - """The number of requests exceeds the limit. Resubmit your request later.""" - - value: ThrottlingException - -@dataclass -class InlineAgentResponseStreamAccessDeniedException(_SerdeShape): - """ - The request is denied because of missing access permissions. Check your - permissions and retry your request. - """ - - value: AccessDeniedException - -@dataclass -class InlineAgentResponseStreamConflictException(_SerdeShape): - """ - There was a conflict performing an operation. Resolve the conflict and - retry your request. - """ - - value: ConflictException - -@dataclass -class InlineAgentResponseStreamDependencyFailedException(_SerdeShape): - """ - There was an issue with a dependency. Check the resource configurations - and retry the request. - """ - - value: DependencyFailedException - -@dataclass -class InlineAgentResponseStreamBadGatewayException(_SerdeShape): - """ - There was an issue with a dependency due to a server issue. Retry your - request. - """ - - value: BadGatewayException - -@dataclass -class InlineAgentResponseStreamFiles(_SerdeShape): - """ - Contains intermediate response for code interpreter if any files have - been generated. - """ - - value: InlineAgentFilePart - -@dataclass -class InlineAgentResponseStreamUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InlineAgentResponseStream = Union[ - InlineAgentResponseStreamChunk - | InlineAgentResponseStreamTrace - | InlineAgentResponseStreamReturnControl - | InlineAgentResponseStreamInternalServerException - | InlineAgentResponseStreamValidationException - | InlineAgentResponseStreamResourceNotFoundException - | InlineAgentResponseStreamServiceQuotaExceededException - | InlineAgentResponseStreamThrottlingException - | InlineAgentResponseStreamAccessDeniedException - | InlineAgentResponseStreamConflictException - | InlineAgentResponseStreamDependencyFailedException - | InlineAgentResponseStreamBadGatewayException - | InlineAgentResponseStreamFiles - | InlineAgentResponseStreamUnknown -] -""" -The response from invoking the agent and associated citations and trace -information. -""" - -class _InlineAgentResponseStreamDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> InlineAgentResponseStream: ... - -@dataclass(kw_only=True) -class InlineAgentReturnControlPayload(_SerdeShape): - """ - Contains information to return from the action group that the agent has - predicted to invoke. - - This data type is used in the [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - API operation. - """ - - invocation_inputs: list[InvocationInputMember] | None = ... - """ - A list of objects that contain information about the parameters and - inputs that need to be sent into the API operation or function, based on - what the agent determines from its session with the user. - """ - invocation_id: str | None = ... - """The identifier of the action group invocation.""" - -@dataclass(kw_only=True) -class InlineAgentTracePart(_SerdeShape): - """ - Contains information about the agent and session, alongside the agent's - reasoning process and results from calling API actions and querying - knowledge bases and metadata about the trace. You can use the trace to - understand how the agent arrived at the response it provided the - customer. For more information, see [Trace - enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). - """ - - session_id: str | None = ... - """The unique identifier of the session with the agent.""" - trace: Trace | None = ... - """ - Contains one part of the agent's reasoning process and results from - calling API actions and querying knowledge bases. You can use the trace - to understand how the agent arrived at the response it provided the - customer. For more information, see [Trace - enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). - """ - caller_chain: list[Caller] | None = ... - """The caller chain for the trace part.""" - event_time: datetime | None = ... - """The time that trace occurred.""" - collaborator_name: str | None = ... - """The collaborator name for the trace part.""" - -@dataclass(kw_only=True) -class InlineBedrockModelConfigurations(_SerdeShape): - """Settings for a model called with InvokeInlineAgent.""" - - performance_config: PerformanceConfiguration | None = ... - """The latency configuration for the model.""" - -@dataclass(kw_only=True) -class InlineSessionState(_SerdeShape): - """ - Contains parameters that specify various attributes that persist across - a session or prompt. You can define session state attributes as - key-value pairs when writing a [Lambda - function](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html) - for an action group or pass them when making an `InvokeInlineAgent` - request. Use session state attributes to control and provide - conversational context for your inline agent and to help customize your - agent's behavior. For more information, see [Control session - context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html) - """ - - session_attributes: dict[str, str] | None = ... - """ - Contains attributes that persist across a session and the values of - those attributes. - """ - prompt_session_attributes: dict[str, str] | None = ... - """ - Contains attributes that persist across a session and the values of - those attributes. - """ - return_control_invocation_results: list[InvocationResultMember] | None = ... - """ - Contains information about the results from the action group invocation. - For more information, see [Return control to the agent - developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html). - - Note: - If you include this field in the `sessionState` field, the `inputText` - field will be ignored. - """ - invocation_id: str | None = ... - """ - The identifier of the invocation of an action. This value must match the - `invocationId` returned in the `InvokeInlineAgent` response for the - action whose results are provided in the - `returnControlInvocationResults` field. For more information, see - [Return control to the agent - developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html). - """ - files: list[InputFile] | None = ... - """Contains information about the files used by code interpreter.""" - conversation_history: ConversationHistory | None = ... - """Contains the conversation history that persist across sessions.""" - -@dataclass(kw_only=True) -class InputFile(_SerdeShape): - """Contains details of the source files.""" - - name: str - """The name of the source file.""" - source: FileSource - """Specifies where the files are located.""" - use_case: str - """Specifies how the source files will be used by the code interpreter.""" - -@dataclass(kw_only=True) -class InputImage(_SerdeShape): - """ - Contains the image data for multimodal knowledge base queries, including - format and content. - - This data type is used in the following API operations: - - - [Retrieve - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) - -- in the `image` field - """ - - format: str - """ - The format of the input image. Supported formats include png, gif, jpeg, - and webp. - """ - inline_content: bytes - """ - The base64-encoded image data for inline image content. Maximum size is - 5MB. - """ - -class InputImageFormat(UnknownEnumMixin, StrEnum): - PNG = "png" - JPEG = "jpeg" - GIF = "gif" - WEBP = "webp" - -@dataclass -class InputPromptTextPrompt(_SerdeShape): - """Contains information about the text prompt to optimize.""" - - value: TextPrompt - -@dataclass -class InputPromptUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InputPrompt = Union[InputPromptTextPrompt | InputPromptUnknown] -"""Contains information about the prompt to optimize.""" - -class _InputPromptDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> InputPrompt: ... - -class InputQueryType(UnknownEnumMixin, StrEnum): - TEXT = "TEXT" - -@dataclass(kw_only=True) -class InternalServerException(ServiceError, _SerdeShape): - """An internal server error occurred. Retry your request.""" - - reason: str | None = ... - """ - The reason for the exception. If the reason is - `BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE`, the model invocation - service is unavailable. Retry your request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvocationInput(_SerdeShape): - """ - Contains information pertaining to the action group or knowledge base - that is being invoked. - """ - - trace_id: str | None = ... - """The unique identifier of the trace.""" - invocation_type: str | None = ... - """ - Specifies whether the agent is invoking an action group or a knowledge - base. - """ - action_group_invocation_input: ActionGroupInvocationInput | None = ... - """Contains information about the action group to be invoked.""" - knowledge_base_lookup_input: KnowledgeBaseLookupInput | None = ... - """ - Contains details about the knowledge base to look up and the query to be - made. - """ - code_interpreter_invocation_input: CodeInterpreterInvocationInput | None = ... - """Contains information about the code interpreter to be invoked.""" - agent_collaborator_invocation_input: AgentCollaboratorInvocationInput | None = ... - """The collaborator's invocation input.""" - -@dataclass -class InvocationInputMemberApiInvocationInput(_SerdeShape): - """ - Contains information about the API operation that the agent predicts - should be called. - """ - - value: ApiInvocationInput - -@dataclass -class InvocationInputMemberFunctionInvocationInput(_SerdeShape): - """ - Contains information about the function that the agent predicts should - be called. - """ - - value: FunctionInvocationInput - -@dataclass -class InvocationInputMemberUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InvocationInputMember = Union[ - InvocationInputMemberApiInvocationInput - | InvocationInputMemberFunctionInvocationInput - | InvocationInputMemberUnknown -] -""" -Contains details about the API operation or function that the agent -predicts should be called. - -This data type is used in the following API operations: - -- In the `returnControl` field of the [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) -""" - -class _InvocationInputMemberDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> InvocationInputMember: ... - -@dataclass -class InvocationResultMemberApiResult(_SerdeShape): - """The result from the API response from the action group invocation.""" - - value: ApiResult - -@dataclass -class InvocationResultMemberFunctionResult(_SerdeShape): - """The result from the function from the action group invocation.""" - - value: FunctionResult - -@dataclass -class InvocationResultMemberUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InvocationResultMember = Union[ - InvocationResultMemberApiResult - | InvocationResultMemberFunctionResult - | InvocationResultMemberUnknown -] -""" -A result from the invocation of an action. For more information, see -[Return control to the agent -developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) -and [Control session -context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). - -This data type is used in the following API operations: - -- [InvokeAgent - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_RequestSyntax) -""" - -class _InvocationResultMemberDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> InvocationResultMember: ... - -@dataclass(kw_only=True) -class InvocationStep(_SerdeShape): - """ - Stores fine-grained state checkpoints, including text and images, for - each interaction in an invocation in a session. For more information - about sessions, see [Store and retrieve conversation history and context - with Amazon Bedrock - sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). - """ - - session_id: str - """The unique identifier of the session containing the invocation step.""" - invocation_id: str - """ - The unique identifier (in UUID format) for the invocation that includes - the invocation step. - """ - invocation_step_id: str - """The unique identifier (in UUID format) for the invocation step.""" - invocation_step_time: datetime - """The timestamp for when the invocation step was created.""" - payload: InvocationStepPayload - """Payload content, such as text and images, for the invocation step.""" - -@dataclass -class InvocationStepPayloadContentBlocks(_SerdeShape): - """The content for the invocation step.""" - - value: list[BedrockSessionContentBlock] - -@dataclass -class InvocationStepPayloadUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InvocationStepPayload = Union[ - InvocationStepPayloadContentBlocks | InvocationStepPayloadUnknown -] -"""Payload content, such as text and images, for the invocation step.""" - -class _InvocationStepPayloadDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> InvocationStepPayload: ... - -@dataclass(kw_only=True) -class InvocationStepSummary(_SerdeShape): - """ - Contains details about an invocation step within an invocation in a - session. For more information about sessions, see [Store and retrieve - conversation history and context with Amazon Bedrock - sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). - """ - - session_id: str - """ - The unique identifier for the session associated with the invocation - step. - """ - invocation_id: str - """A unique identifier for the invocation in UUID format.""" - invocation_step_id: str - """The unique identifier (in UUID format) for the invocation step.""" - invocation_step_time: datetime - """The timestamp for when the invocation step was created.""" - -@dataclass(kw_only=True) -class InvocationSummary(_SerdeShape): - """ - Contains details about an invocation in a session. For more information - about sessions, see [Store and retrieve conversation history and context - with Amazon Bedrock - sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). - """ - - session_id: str - """The unique identifier for the session associated with the invocation.""" - invocation_id: str - """A unique identifier for the invocation in UUID format.""" - created_at: datetime - """The timestamp for when the invocation was created.""" - -class InvocationType(UnknownEnumMixin, StrEnum): - ACTION_GROUP = "ACTION_GROUP" - KNOWLEDGE_BASE = "KNOWLEDGE_BASE" - FINISH = "FINISH" - ACTION_GROUP_CODE_INTERPRETER = "ACTION_GROUP_CODE_INTERPRETER" - AGENT_COLLABORATOR = "AGENT_COLLABORATOR" - -@dataclass(kw_only=True) -class InvokeAgentInput(_SerdeShape): - """Dataclass for InvokeAgentInput structure.""" - - session_state: SessionState | None = ... - """ - Contains parameters that specify various attributes of the session. For - more information, see [Control session - context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). - - Note: - If you include `returnControlInvocationResults` in the `sessionState` - field, the `inputText` field will be ignored. - """ - agent_id: str | None = ... - """The unique identifier of the agent to use.""" - agent_alias_id: str | None = ... - """The alias of the agent to use.""" - session_id: str | None = ... - """ - The unique identifier of the session. Use the same value across requests - to continue the same conversation. - """ - end_session: bool | None = ... - """Specifies whether to end the session with the agent or not.""" - enable_trace: bool | None = ... - """ - Specifies whether to turn on the trace or not to track the agent's - reasoning process. For more information, see [Trace - enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events). - """ - input_text: str | None = ... - """ - The prompt text to send the agent. - - Note: - If you include `returnControlInvocationResults` in the `sessionState` - field, the `inputText` field will be ignored. - """ - memory_id: str | None = ... - """The unique identifier of the agent memory.""" - bedrock_model_configurations: BedrockModelConfigurations | None = ... - """Model performance settings for the request.""" - streaming_configurations: StreamingConfigurations | None = ... - """ - Specifies the configurations for streaming. - - Note: - To use agent streaming, you need permissions to perform the - `bedrock:InvokeModelWithResponseStream` action. - """ - prompt_creation_configurations: PromptCreationConfigurations | None = ... - """ - Specifies parameters that control how the service populates the agent - prompt for an `InvokeAgent` request. You can control which aspects of - previous invocations in the same agent session the service uses to - populate the agent prompt. This gives you more granular control over the - contextual history that is used to process the current request. - """ - source_arn: str | None = ... - """The ARN of the resource making the request.""" - -@dataclass(kw_only=True) -class InvokeAgentOutput(_SerdeShape): - """Dataclass for InvokeAgentOutput structure.""" - - content_type: str - """ - The MIME type of the input data in the request. The default value is - `application/json`. - """ - session_id: str - """The unique identifier of the session with the agent.""" - memory_id: str | None = ... - """The unique identifier of the agent memory.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvokeFlowInput(_SerdeShape): - """Dataclass for InvokeFlowInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - flow_alias_identifier: str | None = ... - """The unique identifier of the flow alias.""" - inputs: list[FlowInput] | None = ... - """ - A list of objects, each containing information about an input into the - flow. - """ - enable_trace: bool | None = ... - """ - Specifies whether to return the trace for the flow or not. Traces track - inputs and outputs for nodes in the flow. For more information, see - [Track each step in your prompt flow by viewing its trace in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html). - """ - model_performance_configuration: ModelPerformanceConfiguration | None = ... - """Model performance settings for the request.""" - execution_id: str | None = ... - """ - The unique identifier for the current flow execution. If you don't - provide a value, Amazon Bedrock creates the identifier for you. - """ - -@dataclass(kw_only=True) -class InvokeFlowOutput(_SerdeShape): - """Dataclass for InvokeFlowOutput structure.""" - - execution_id: str | None = ... - """The unique identifier for the current flow execution.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvokeInlineAgentInput(_SerdeShape): - """Dataclass for InvokeInlineAgentInput structure.""" - - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use - to encrypt your inline agent. - """ - foundation_model: str | None = ... - """ - The [model identifier - (ID)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) - of the model to use for orchestration by the inline agent. For example, - `meta.llama3-1-70b-instruct-v1:0`. - """ - instruction: str | None = ... - """ - The instructions that tell the inline agent what it should do and how it - should interact with users. - """ - idle_session_ttl_in_seconds: int | None = ... - """ - The number of seconds for which the inline agent should maintain session - information. After this time expires, the subsequent `InvokeInlineAgent` - request begins a new session. - - A user interaction remains active for the amount of time specified. If - no conversation occurs during this time, the session expires and the - data provided before the timeout is deleted. - """ - action_groups: list[AgentActionGroup] | None = ... - """ - A list of action groups with each action group defining the action the - inline agent needs to carry out. - """ - knowledge_bases: list[KnowledgeBase] | None = ... - """Contains information of the knowledge bases to associate with.""" - guardrail_configuration: GuardrailConfigurationWithArn | None = ... - """ - The - [guardrails](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) - to assign to the inline agent. - """ - prompt_override_configuration: PromptOverrideConfiguration | None = ... - """ - Configurations for advanced prompts used to override the default prompts - to enhance the accuracy of the inline agent. - """ - agent_collaboration: str | None = ... - """ - Defines how the inline collaborator agent handles information across - multiple collaborator agents to coordinate a final response. The inline - collaborator agent can also be the supervisor. - """ - collaborator_configurations: list[CollaboratorConfiguration] | None = ... - """ - Settings for an inline agent collaborator called with - [InvokeInlineAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeInlineAgent.html). - """ - agent_name: str | None = ... - """The name for the agent.""" - session_id: str | None = ... - """ - The unique identifier of the session. Use the same value across requests - to continue the same conversation. - """ - end_session: bool | None = ... - """Specifies whether to end the session with the inline agent or not.""" - enable_trace: bool | None = ... - """ - Specifies whether to turn on the trace or not to track the agent's - reasoning process. For more information, see [Using - trace](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html). - """ - input_text: str | None = ... - """ - The prompt text to send to the agent. - - Note: - If you include `returnControlInvocationResults` in the `sessionState` - field, the `inputText` field will be ignored. - """ - streaming_configurations: StreamingConfigurations | None = ... - """ - Specifies the configurations for streaming. - - Note: - To use agent streaming, you need permissions to perform the - `bedrock:InvokeModelWithResponseStream` action. - """ - prompt_creation_configurations: PromptCreationConfigurations | None = ... - """ - Specifies parameters that control how the service populates the agent - prompt for an `InvokeInlineAgent` request. You can control which aspects - of previous invocations in the same agent session the service uses to - populate the agent prompt. This gives you more granular control over the - contextual history that is used to process the current request. - """ - inline_session_state: InlineSessionState | None = ... - """ - Parameters that specify the various attributes of a sessions. You can - include attributes for the session or prompt or, if you configured an - action group to return control, results from invocation of the action - group. For more information, see [Control session - context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). - - Note: - If you include `returnControlInvocationResults` in the `sessionState` - field, the `inputText` field will be ignored. - """ - collaborators: list[Collaborator] | None = ... - """List of collaborator inline agents.""" - bedrock_model_configurations: InlineBedrockModelConfigurations | None = ... - """Model settings for the request.""" - orchestration_type: str | None = ... - """ - Specifies the type of orchestration strategy for the agent. This is set - to DEFAULT orchestration type, by default. - """ - custom_orchestration: CustomOrchestration | None = ... - """Contains details of the custom orchestration configured for the agent.""" - -@dataclass(kw_only=True) -class InvokeInlineAgentOutput(_SerdeShape): - """Dataclass for InvokeInlineAgentOutput structure.""" - - content_type: str - """ - The MIME type of the input data in the request. The default value is - application/json. - """ - session_id: str - """The unique identifier of the session with the agent.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KnowledgeBase(_SerdeShape): - """Details of the knowledge base associated withe inline agent.""" - - knowledge_base_id: str - """ - The unique identifier for a knowledge base associated with the inline - agent. - """ - description: str - """The description of the knowledge base associated with the inline agent.""" - retrieval_configuration: KnowledgeBaseRetrievalConfiguration | None = ... - """ - The configurations to apply to the knowledge base during query. For more - information, see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - """ - -@dataclass(kw_only=True) -class KnowledgeBaseConfiguration(_SerdeShape): - """ - Configurations to apply to a knowledge base attached to the agent during - query. For more information, see [Knowledge base retrieval - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html#session-state-kb). - """ - - knowledge_base_id: str - """The unique identifier for a knowledge base attached to the agent.""" - retrieval_configuration: KnowledgeBaseRetrievalConfiguration - """ - The configurations to apply to the knowledge base during query. For more - information, see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - """ - -@dataclass(kw_only=True) -class KnowledgeBaseLookupInput(_SerdeShape): - """ - Contains details about the knowledge base to look up and the query to be - made. - """ - - text: str | None = ... - """The query made to the knowledge base.""" - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base to look up.""" - -@dataclass(kw_only=True) -class KnowledgeBaseLookupOutput(_SerdeShape): - """Contains details about the results from looking up the knowledge base.""" - - retrieved_references: list[RetrievedReference] | None = ... - """Contains metadata about the sources cited for the generated response.""" - metadata: Metadata | None = ... - """Contains information about the knowledge base output.""" - -@dataclass(kw_only=True) -class KnowledgeBaseQuery(_SerdeShape): - """ - Contains the query made to the knowledge base. - - This data type is used in the following API operations: - - - [Retrieve - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) - -- in the `retrievalQuery` field - """ - - type: str = ... - """The type of query being performed.""" - text: str = ... - """The text of the query made to the knowledge base.""" - image: InputImage | None = ... - """ - An image to include in the knowledge base query for multimodal - retrieval. - """ - -class KnowledgeBaseQueryType(UnknownEnumMixin, StrEnum): - TEXT = "TEXT" - IMAGE = "IMAGE" - -@dataclass(kw_only=True) -class KnowledgeBaseRetrievalConfiguration(_SerdeShape): - """ - Contains configurations for knowledge base query. For more information, - see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - - This data type is used in the following API operations: - - - [Retrieve - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) - -- in the `retrievalConfiguration` field - - - [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - -- in the `retrievalConfiguration` field - """ - - vector_search_configuration: KnowledgeBaseVectorSearchConfiguration | None = ... - """ - Contains details about how the results from the vector search should be - returned. For more information, see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - """ - managed_search_configuration: ManagedSearchConfiguration | None = ... - """ - Contains configurations for managed search. For more information, see - [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - """ - -@dataclass(kw_only=True) -class KnowledgeBaseRetrievalResult(_SerdeShape): - """ - Details about a result from querying the knowledge base. - - This data type is used in the following API operations: - - - [Retrieve - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) - -- in the `retrievalResults` field - """ - - content: RetrievalResultContent - """Contains information about the content of the chunk.""" - location: RetrievalResultLocation | None = ... - """Contains information about the location of the data source.""" - score: float | None = ... - """The level of relevance of the result to the query.""" - metadata: dict[str, Document] | None = ... - """ - Contains metadata attributes and their values for the file in the data - source. For more information, see [Metadata and - filtering](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-ds.html#kb-ds-metadata). - """ - document_id: str | None = ... - """ - The unique identifier of the document. Use with `GetDocumentContent` to - retrieve the full document. - """ - -@dataclass(kw_only=True) -class KnowledgeBaseRetrieveAndGenerateConfiguration(_SerdeShape): - """ - Contains details about the resource being queried. - - This data type is used in the following API operations: - - - [Retrieve - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) - -- in the `knowledgeBaseConfiguration` field - - - [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - -- in the `knowledgeBaseConfiguration` field - """ - - knowledge_base_id: str - """The unique identifier of the knowledge base that is queried.""" - model_arn: str - """ - The ARN of the foundation model or [inference - profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) - used to generate a response. - """ - retrieval_configuration: KnowledgeBaseRetrievalConfiguration | None = ... - """ - Contains configurations for how to retrieve and return the knowledge - base query. - """ - generation_configuration: GenerationConfiguration | None = ... - """ - Contains configurations for response generation based on the knowledge - base query results. - """ - orchestration_configuration: OrchestrationConfiguration | None = ... - """ - Settings for how the model processes the prompt prior to retrieval and - generation. - """ - -@dataclass(kw_only=True) -class KnowledgeBaseRetrieverConfiguration(_SerdeShape): - """Configuration for retrieving from a Bedrock knowledge base.""" - - knowledge_base_id: str - """The unique identifier of the knowledge base.""" - retrieval_overrides: RetrievalOverrides | None = ... - """Overrides for retrieval behavior such as filters and result limits.""" - -@dataclass(kw_only=True) -class KnowledgeBaseVectorSearchConfiguration(_SerdeShape): - """ - Configurations for how to perform the search query and return results. - For more information, see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - - This data type is used in the following API operations: - - - [Retrieve - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) - -- in the `vectorSearchConfiguration` field - - - [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - -- in the `vectorSearchConfiguration` field - """ - - number_of_results: int = ... - """The number of source chunks to retrieve.""" - override_search_type: str | None = ... - """ - By default, Amazon Bedrock decides a search strategy for you. If you're - using an Amazon OpenSearch Serverless vector store that contains a - filterable text field, you can specify whether to query the knowledge - base with a `HYBRID` search using both vector embeddings and raw text, - or `SEMANTIC` search using only vector embeddings. For other vector - store configurations, only `SEMANTIC` search is available. For more - information, see [Test a knowledge - base](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-test.html). - """ - filter: RetrievalFilter | None = ... - """ - Specifies the filters to use on the metadata in the knowledge base data - sources before returning results. For more information, see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - """ - reranking_configuration: VectorSearchRerankingConfiguration | None = ... - """ - Contains configurations for reranking the retrieved results. For more - information, see [Improve the relevance of query responses with a - reranker - model](https://docs.aws.amazon.com/bedrock/latest/userguide/rerank.html). - """ - implicit_filter_configuration: ImplicitFilterConfiguration | None = ... - """Settings for implicit filtering.""" - -@dataclass(kw_only=True) -class ListFlowExecutionEventsInput(_SerdeShape): - """Dataclass for ListFlowExecutionEventsInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - flow_alias_identifier: str | None = ... - """The unique identifier of the flow alias used for the execution.""" - execution_identifier: str | None = ... - """The unique identifier of the flow execution.""" - max_results: int | None = ... - """ - The maximum number of events to return in a single response. If more - events exist than the specified maxResults value, a token is included in - the response so that the remaining results can be retrieved. - """ - next_token: str | None = ... - """ - A token to retrieve the next set of results. This value is returned in - the response if more results are available. - """ - event_type: str | None = ... - """ - The type of events to retrieve. Specify `Node` for node-level events or - `Flow` for flow-level events. - """ - -@dataclass(kw_only=True) -class ListFlowExecutionEventsOutput(_SerdeShape): - """Dataclass for ListFlowExecutionEventsOutput structure.""" - - flow_execution_events: list[FlowExecutionEvent] - """ - A list of events that occurred during the flow execution. Events can - include node inputs and outputs, flow inputs and outputs, condition - results, and failure events. - """ - next_token: str | None = ... - """ - A token to retrieve the next set of results. This value is returned if - more results are available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFlowExecutionsInput(_SerdeShape): - """Dataclass for ListFlowExecutionsInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow to list executions for.""" - flow_alias_identifier: str | None = ... - """The unique identifier of the flow alias to list executions for.""" - max_results: int | None = ... - """ - The maximum number of flow executions to return in a single response. If - more executions exist than the specified `maxResults` value, a token is - included in the response so that the remaining results can be retrieved. - """ - next_token: str | None = ... - """ - A token to retrieve the next set of results. This value is returned in - the response if more results are available. - """ - -@dataclass(kw_only=True) -class ListFlowExecutionsOutput(_SerdeShape): - """Dataclass for ListFlowExecutionsOutput structure.""" - - flow_execution_summaries: list[FlowExecutionSummary] - """ - A list of flow execution summaries. Each summary includes the execution - ARN, flow identifier, flow alias identifier, flow version, status, and - timestamps. - """ - next_token: str | None = ... - """ - A token to retrieve the next set of results. This value is returned if - more results are available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInvocationsInput(_SerdeShape): - """Dataclass for ListInvocationsInput structure.""" - - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - max_results: int = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - session_identifier: str | None = ... - """ - The unique identifier for the session to list invocations for. You can - specify either the session's `sessionId` or its Amazon Resource Name - (ARN). - """ - -@dataclass(kw_only=True) -class ListInvocationsOutput(_SerdeShape): - """Dataclass for ListInvocationsOutput structure.""" - - invocation_summaries: list[InvocationSummary] - """A list of invocation summaries associated with the session.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInvocationStepsInput(_SerdeShape): - """Dataclass for ListInvocationStepsInput structure.""" - - invocation_identifier: str | None = ... - """ - The unique identifier (in UUID format) for the invocation to list - invocation steps for. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - max_results: int = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - session_identifier: str | None = ... - """ - The unique identifier for the session associated with the invocation - steps. You can specify either the session's `sessionId` or its Amazon - Resource Name (ARN). - """ - -@dataclass(kw_only=True) -class ListInvocationStepsOutput(_SerdeShape): - """Dataclass for ListInvocationStepsOutput structure.""" - - invocation_step_summaries: list[InvocationStepSummary] - """ - A list of summaries for each invocation step associated with a session - and if you specified it, an invocation within the session. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListSessionsInput(_SerdeShape): - """Dataclass for ListSessionsInput structure.""" - - max_results: int = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListSessionsOutput(_SerdeShape): - """Dataclass for ListSessionsOutput structure.""" - - session_summaries: list[SessionSummary] - """ - A list of summaries for each session in your Amazon Web Services - account. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceInput(_SerdeShape): - """Dataclass for ListTagsForResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource for which to list tags.""" - -@dataclass(kw_only=True) -class ListTagsForResourceOutput(_SerdeShape): - """Dataclass for ListTagsForResourceOutput structure.""" - - tags: dict[str, str] | None = ... - """The key-value pairs for the tags associated with the resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ManagedSearchBedrockRerankingConfiguration(_SerdeShape): - """Configuration for a Bedrock reranking model used in managed search.""" - - model_configuration: ManagedSearchBedrockRerankingModelConfiguration - """The model configuration containing the model ARN for reranking.""" - number_of_reranked_results: int | None = ... - """The number of results to return after reranking.""" - metadata_configuration: MetadataConfigurationForReranking | None = ... - """The metadata configuration for reranking.""" - -@dataclass(kw_only=True) -class ManagedSearchBedrockRerankingModelConfiguration(_SerdeShape): - """ - Model configuration for a Bedrock reranking model used in managed - search. - """ - - model_arn: str - """The ARN of the Bedrock reranking model.""" - additional_model_request_fields: dict[str, Document] | None = ... - """Additional request fields to pass to the reranking model.""" - -@dataclass(kw_only=True) -class ManagedSearchConfiguration(_SerdeShape): - """ - Configuration for managed search in a knowledge base. Managed search - automatically determines the best search strategy based on your data - store configuration. - """ - - number_of_results: int | None = ... - """The number of results to retrieve.""" - filter: RetrievalFilter | None = ... - """ - Filters the metadata of the retrieved results so that Amazon Bedrock - returns only results that match the filter. - """ - reranking_model_type: str | None = ... - """ - The type of reranking model to use when reranking results retrieved from - the managed search. Use `CUSTOM` to specify a model, `MANAGED` to use - the service default, or `NONE` to disable reranking. - """ - reranking_configuration: ManagedSearchRerankingConfiguration | None = ... - """ - Contains configurations for reranking the results retrieved from the - managed search. - """ - -@dataclass(kw_only=True) -class ManagedSearchRerankingConfiguration(_SerdeShape): - """Configuration for the reranking model used in managed search.""" - - type: str - """The type of reranking configuration.""" - bedrock_reranking_configuration: ( - ManagedSearchBedrockRerankingConfiguration | None - ) = ... - """The Bedrock reranking model configuration for managed search.""" - -class ManagedSearchRerankingConfigurationType(UnknownEnumMixin, StrEnum): - """The type of reranking configuration for managed search.""" - - BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" - -@dataclass(kw_only=True) -class MantleFoundationModelConfiguration(_SerdeShape): - """Configuration for a Mantle foundation model.""" - - model_configuration: MantleFoundationModelModelConfiguration - """The model configuration containing the model ARN and project ID.""" - -@dataclass(kw_only=True) -class MantleFoundationModelModelConfiguration(_SerdeShape): - """Model configuration for a Mantle foundation model.""" - - model_arn: str - """The ARN of the Mantle foundation model.""" - project_id: str | None = ... - """ - The Amazon Bedrock project ID used for billing and usage attribution. If - you don't specify a value, the service uses the default project. - """ - -@dataclass -class Memory_SessionSummary(_SerdeShape): - """Contains summary of a session.""" - - value: MemorySessionSummary - -@dataclass -class MemoryUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Memory = Union[Memory_SessionSummary | MemoryUnknown] -"""Contains sessions summaries.""" - -class _MemoryDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Memory: ... - -@dataclass(kw_only=True) -class MemorySessionSummary(_SerdeShape): - """Contains details of a session summary.""" - - memory_id: str | None = ... - """The unique identifier of the memory where the session summary is stored.""" - session_id: str | None = ... - """The identifier for this session.""" - session_start_time: datetime | None = ... - """The start time for this session.""" - session_expiry_time: datetime | None = ... - """The time when the memory duration for the session is set to end.""" - summary_text: str | None = ... - """The summarized text for this session.""" - -class MemoryType(UnknownEnumMixin, StrEnum): - SESSION_SUMMARY = "SESSION_SUMMARY" - -@dataclass(kw_only=True) -class Message(_SerdeShape): - """Details about a message.""" - - role: str - """The message's role.""" - content: list[ContentBlock] - """The message's content.""" - -@dataclass(kw_only=True) -class Metadata(_SerdeShape): - """ - Provides information about the execution process for different types of - invocations, such as model invocation, knowledge base invocation, agent - collaborator invocation, guardrail invocation, and code interpreter - Invocation. - """ - - start_time: datetime | None = ... - """ - In the final response, `startTime` is the start time of the agent - invocation operation. - """ - end_time: datetime | None = ... - """ - In the final response, `endTime` is the end time of the agent invocation - operation. - """ - total_time_ms: int | None = ... - """ - The total execution time for the specific invocation being processed - (model, knowledge base, guardrail, agent collaborator, or code - interpreter). It represents how long the individual invocation took. - """ - operation_total_time_ms: int | None = ... - """ - The total time it took for the agent to complete execution. This field - is only set for the final response. - """ - client_request_id: str | None = ... - """ - A unique identifier associated with the downstream invocation. This ID - can be used for tracing, debugging, and identifying specific invocations - in customer logs or systems. - """ - usage: Usage | None = ... - """ - Specific to model invocation and contains details about the usage of a - foundation model. - """ - -@dataclass(kw_only=True) -class MetadataAttributeSchema(_SerdeShape): - """Details about a metadata attribute.""" - - key: str - """The attribute's key.""" - type: str - """The attribute's type.""" - description: str - """The attribute's description.""" - -@dataclass(kw_only=True) -class MetadataConfigurationForReranking(_SerdeShape): - """Contains configurations for the metadata to use in reranking.""" - - selection_mode: str - """ - Specifies whether to consider all metadata when reranking, or only the - metadata that you select. If you specify `SELECTIVE`, include the - `selectiveModeConfiguration` field. - """ - selective_mode_configuration: ( - RerankingMetadataSelectiveModeConfiguration | None - ) = ... - """ - Contains configurations for the metadata fields to include or exclude - when considering reranking. - """ - -@dataclass(kw_only=True) -class ModelInvocationInput(_SerdeShape): - """ - The input for the pre-processing step. - - - The `type` matches the agent step. - - - The `text` contains the prompt. - - - The `inferenceConfiguration`, `parserMode`, and `overrideLambda` - values are set in the - [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) - object that was set when the agent was created or updated. - """ - - trace_id: str | None = ... - """The unique identifier of the trace.""" - text: str | None = ... - """The text that prompted the agent at this step.""" - type: str | None = ... - """The step in the agent sequence.""" - override_lambda: str | None = ... - """ - The ARN of the Lambda function to use when parsing the raw foundation - model output in parts of the agent sequence. - """ - prompt_creation_mode: str | None = ... - """ - Specifies whether the default prompt template was `OVERRIDDEN`. If it - was, the `basePromptTemplate` that was set in the - [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) - object when the agent was created or updated is used instead. - """ - inference_configuration: InferenceConfiguration | None = ... - """ - Specifications about the inference parameters that were provided - alongside the prompt. These are specified in the - [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) - object that was set when the agent was created or updated. For more - information, see [Inference parameters for foundation - models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - """ - parser_mode: str | None = ... - """ - Specifies whether to override the default parser Lambda function when - parsing the raw foundation model output in the part of the agent - sequence defined by the `promptType`. - """ - foundation_model: str | None = ... - """The identifier of a foundation model.""" - -@dataclass(kw_only=True) -class ModelNotReadyException(ServiceError, _SerdeShape): - """ - The model specified in the request is not ready to serve inference - requests. The AWS SDK will automatically retry the operation up to 5 - times. For information about configuring automatic retries, see [Retry - behavior](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html) - in the *AWS SDKs and Tools* reference guide. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModelPerformanceConfiguration(_SerdeShape): - """The performance configuration for a model called with InvokeFlow.""" - - performance_config: PerformanceConfiguration | None = ... - """The latency configuration for the model.""" - -@dataclass(kw_only=True) -class NodeActionEvent(_SerdeShape): - """ - Contains information about an action (operation) called by a node during - execution. - """ - - node_name: str - """The name of the node that called the operation.""" - timestamp: datetime - """The date and time that the operation was called.""" - request_id: str - """The ID of the request that the node made to the operation.""" - service_name: str - """The name of the service that the node called.""" - operation_name: str - """The name of the operation that the node called.""" - operation_request: Document | None = ... - """The request payload sent to the downstream service.""" - operation_response: Document | None = ... - """The response payload received from the downstream service.""" - -@dataclass(kw_only=True) -class NodeDependencyEvent(_SerdeShape): - """ - Contains information about an internal trace of a specific node during - execution. - """ - - node_name: str - """The name of the node that generated the dependency trace.""" - timestamp: datetime - """The date and time that the dependency trace was generated.""" - trace_elements: NodeTraceElements - """ - The trace elements containing detailed information about the node - execution. - """ - -class NodeErrorCode(UnknownEnumMixin, StrEnum): - VALIDATION = "VALIDATION" - DEPENDENCY_FAILED = "DEPENDENCY_FAILED" - BAD_GATEWAY = "BAD_GATEWAY" - INTERNAL_SERVER = "INTERNAL_SERVER" - -@dataclass -class NodeExecutionContentDocument(_SerdeShape): - """ - The document content of the field, which can contain text or structured - data. - """ - - value: Document - -@dataclass -class NodeExecutionContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -NodeExecutionContent = Union[NodeExecutionContentDocument | NodeExecutionContentUnknown] -""" -Contains the content of a flow node's input or output field for a flow -execution. - -Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. -""" - -class _NodeExecutionContentDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> NodeExecutionContent: ... - -@dataclass(kw_only=True) -class NodeFailureEvent(_SerdeShape): - """ - Contains information about a failure that occurred at a specific node - during a flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - node_name: str - """The name of the node where the failure occurred.""" - timestamp: datetime - """The timestamp when the node failure occurred.""" - error_code: str - """ - The error code that identifies the type of failure that occurred at the - node. - """ - error_message: str - """A descriptive message that provides details about the node failure.""" - -@dataclass(kw_only=True) -class NodeInputEvent(_SerdeShape): - """ - Contains information about the inputs provided to a specific node during - a flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - node_name: str - """The name of the node that received the inputs.""" - timestamp: datetime - """The timestamp when the inputs were provided to the node.""" - fields: list[NodeInputField] - """A list of input fields provided to the node.""" - -@dataclass(kw_only=True) -class NodeInputExecutionChainItem(_SerdeShape): - """Represents an item in the execution chain for node input tracking.""" - - node_name: str - """The name of the node in the execution chain.""" - index: int | None = ... - """The index position of this item in the execution chain.""" - type: str - """ - The type of execution chain item. Supported values are Iterator and - Loop. - """ - -@dataclass(kw_only=True) -class NodeInputField(_SerdeShape): - """Represents an input field provided to a node during a flow execution.""" - - name: str - """The name of the input field as defined in the node's input schema.""" - content: NodeExecutionContent - """ - The content of the input field, which can contain text or structured - data. - """ - source: NodeInputSource | None = ... - """The source node that provides input data to this field.""" - type: str | None = ... - """The data type of the input field for compatibility validation.""" - category: str | None = ... - """The category of the input field.""" - execution_chain: list[NodeInputExecutionChainItem] | None = ... - """The execution path through nested nodes like iterators and loops.""" - -@dataclass(kw_only=True) -class NodeInputSource(_SerdeShape): - """Represents the source of input data for a node field.""" - - node_name: str - """The name of the source node that provides the input data.""" - output_field_name: str - """The name of the output field from the source node.""" - expression: str - """The expression used to extract data from the source.""" - -@dataclass(kw_only=True) -class NodeOutputEvent(_SerdeShape): - """ - Contains information about the outputs produced by a specific node - during a flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - node_name: str - """The name of the node that produced the outputs.""" - timestamp: datetime - """The timestamp when the outputs were produced by the node.""" - fields: list[NodeOutputField] - """A list of output fields produced by the node.""" - -@dataclass(kw_only=True) -class NodeOutputField(_SerdeShape): - """ - Represents an output field produced by a node during a flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - name: str - """The name of the output field as defined in the node's output schema.""" - content: NodeExecutionContent - """ - The content of the output field, which can contain text or structured - data. - """ - next: list[NodeOutputNext] | None = ... - """The next node that receives output data from this field.""" - type: str | None = ... - """The data type of the output field for compatibility validation.""" - -@dataclass(kw_only=True) -class NodeOutputNext(_SerdeShape): - """Represents the next node that receives output data.""" - - node_name: str - """The name of the next node that receives the output data.""" - input_field_name: str - """The name of the input field in the next node that receives the data.""" - -@dataclass -class NodeTraceElementsAgentTraces(_SerdeShape): - """Agent trace information for the node execution.""" - - value: list[TracePart] - -@dataclass -class NodeTraceElementsUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -NodeTraceElements = Union[NodeTraceElementsAgentTraces | NodeTraceElementsUnknown] -"""Contains trace elements for node execution tracking.""" - -class _NodeTraceElementsDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> NodeTraceElements: ... - -class NodeType(UnknownEnumMixin, StrEnum): - FLOW_INPUT_NODE = "FlowInputNode" - FLOW_OUTPUT_NODE = "FlowOutputNode" - LAMBDA_FUNCTION_NODE = "LambdaFunctionNode" - KNOWLEDGE_BASE_NODE = "KnowledgeBaseNode" - PROMPT_NODE = "PromptNode" - CONDITION_NODE = "ConditionNode" - LEX_NODE = "LexNode" - -@dataclass(kw_only=True) -class Observation(_SerdeShape): - """ - Contains the result or output of an action group or knowledge base, or - the response to the user. - """ - - trace_id: str | None = ... - """The unique identifier of the trace.""" - type: str | None = ... - """ - Specifies what kind of information the agent returns in the observation. - The following values are possible. - - - `ACTION_GROUP` -- The agent returns the result of an action group. - - - `KNOWLEDGE_BASE` -- The agent returns information from a knowledge - base. - - - `FINISH` -- The agent returns a final response to the user with no - follow-up. - - - `ASK_USER` -- The agent asks the user a question. - - - `REPROMPT` -- The agent prompts the user again for the same - information. - """ - action_group_invocation_output: ActionGroupInvocationOutput | None = ... - """ - Contains the JSON-formatted string returned by the API invoked by the - action group. - """ - agent_collaborator_invocation_output: AgentCollaboratorInvocationOutput | None = ... - """A collaborator's invocation output.""" - knowledge_base_lookup_output: KnowledgeBaseLookupOutput | None = ... - """Contains details about the results from looking up the knowledge base.""" - final_response: FinalResponse | None = ... - """Contains details about the response to the user.""" - reprompt_response: RepromptResponse | None = ... - """Contains details about the response to reprompt the input.""" - code_interpreter_invocation_output: CodeInterpreterInvocationOutput | None = ... - """ - Contains the JSON-formatted string returned by the API invoked by the - code interpreter. - """ - -@dataclass -class OptimizedPromptTextPrompt(_SerdeShape): - """Contains information about the text in the prompt that was optimized.""" - - value: TextPrompt - -@dataclass -class OptimizedPromptUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -OptimizedPrompt = Union[OptimizedPromptTextPrompt | OptimizedPromptUnknown] -"""Contains information about the optimized prompt.""" - -class _OptimizedPromptDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> OptimizedPrompt: ... - -@dataclass(kw_only=True) -class OptimizedPromptEvent(_SerdeShape): - """An event in which the prompt was optimized.""" - - optimized_prompt: OptimizedPrompt | None = ... - """Contains information about the optimized prompt.""" - -@dataclass -class OptimizedPromptStreamOptimizedPromptEvent(_SerdeShape): - """An event in which the prompt was optimized.""" - - value: OptimizedPromptEvent - -@dataclass -class OptimizedPromptStreamAnalyzePromptEvent(_SerdeShape): - """ - An event in which the prompt was analyzed in preparation for - optimization. - """ - - value: AnalyzePromptEvent - -@dataclass -class OptimizedPromptStreamInternalServerException(_SerdeShape): - """An internal server error occurred. Retry your request.""" - - value: InternalServerException - -@dataclass -class OptimizedPromptStreamThrottlingException(_SerdeShape): - """ - Your request was throttled because of service-wide limitations. Resubmit - your request later or in a different region. You can also purchase - [Provisioned - Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html) - to increase the rate or number of tokens you can process. - """ - - value: ThrottlingException - -@dataclass -class OptimizedPromptStreamValidationException(_SerdeShape): - """ - Input validation failed. Check your request parameters and retry the - request. - """ - - value: ValidationException - -@dataclass -class OptimizedPromptStreamDependencyFailedException(_SerdeShape): - """ - There was an issue with a dependency. Check the resource configurations - and retry the request. - """ - - value: DependencyFailedException - -@dataclass -class OptimizedPromptStreamAccessDeniedException(_SerdeShape): - """ - The request is denied because of missing access permissions. Check your - permissions and retry your request. - """ - - value: AccessDeniedException - -@dataclass -class OptimizedPromptStreamBadGatewayException(_SerdeShape): - """ - There was an issue with a dependency due to a server issue. Retry your - request. - """ - - value: BadGatewayException - -@dataclass -class OptimizedPromptStreamUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -OptimizedPromptStream = Union[ - OptimizedPromptStreamOptimizedPromptEvent - | OptimizedPromptStreamAnalyzePromptEvent - | OptimizedPromptStreamInternalServerException - | OptimizedPromptStreamThrottlingException - | OptimizedPromptStreamValidationException - | OptimizedPromptStreamDependencyFailedException - | OptimizedPromptStreamAccessDeniedException - | OptimizedPromptStreamBadGatewayException - | OptimizedPromptStreamUnknown -] -"""The stream containing events in the prompt optimization process.""" - -class _OptimizedPromptStreamDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> OptimizedPromptStream: ... - -@dataclass(kw_only=True) -class OptimizePromptInput(_SerdeShape): - """Dataclass for OptimizePromptInput structure.""" - - input: InputPrompt | None = ... - """Contains the prompt to optimize.""" - target_model_id: str | None = ... - """ - The unique identifier of the model that you want to optimize the prompt - for. - """ - -@dataclass(kw_only=True) -class OptimizePromptOutput(_SerdeShape): - """Dataclass for OptimizePromptOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OrchestrationConfiguration(_SerdeShape): - """ - Settings for how the model processes the prompt prior to retrieval and - generation. - """ - - prompt_template: PromptTemplate | None = ... - """ - Contains the template for the prompt that's sent to the model. - Orchestration prompts must include the `$conversation_history$` and - `$output_format_instructions$` variables. For more information, see [Use - placeholder - variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html) - in the user guide. - """ - inference_config: InferenceConfig | None = ... - """ - Configuration settings for inference when using RetrieveAndGenerate to - generate responses while using a knowledge base as a source. - """ - additional_model_request_fields: dict[str, Document] | None = ... - """ - Additional model parameters and corresponding values not included in the - textInferenceConfig structure for a knowledge base. This allows users to - provide custom model parameters specific to the language model being - used. - """ - query_transformation_configuration: QueryTransformationConfiguration | None = ... - """ - To split up the prompt and retrieve multiple sources, set the - transformation type to `QUERY_DECOMPOSITION`. - """ - performance_config: PerformanceConfiguration | None = ... - """The latency configuration for the model.""" - -@dataclass -class OrchestrationExecutorLambda(_SerdeShape): - """ - The Amazon Resource Name (ARN) of the Lambda function containing the - business logic that is carried out upon invoking the action. - """ - - value: str - -@dataclass -class OrchestrationExecutorUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -OrchestrationExecutor = Union[ - OrchestrationExecutorLambda | OrchestrationExecutorUnknown -] -""" -The structure of the executor invoking the actions in custom -orchestration. -""" - -class _OrchestrationExecutorDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> OrchestrationExecutor: ... - -@dataclass(kw_only=True) -class OrchestrationModelInvocationOutput(_SerdeShape): - """The foundation model output from the orchestration step.""" - - trace_id: str | None = ... - """The unique identifier of the trace.""" - raw_response: RawResponse | None = ... - """Contains details of the raw response from the foundation model output.""" - metadata: Metadata | None = ... - """ - Contains information about the foundation model output from the - orchestration step. - """ - reasoning_content: ReasoningContentBlock | None = ... - """ - Contains content about the reasoning that the model made during the - orchestration step. - """ - -@dataclass -class OrchestrationTraceRationale(_SerdeShape): - """ - Details about the reasoning, based on the input, that the agent uses to - justify carrying out an action group or getting information from a - knowledge base. - """ - - value: Rationale - -@dataclass -class OrchestrationTraceInvocationInput(_SerdeShape): - """ - Contains information pertaining to the action group or knowledge base - that is being invoked. - """ - - value: InvocationInput - -@dataclass -class OrchestrationTraceObservation(_SerdeShape): - """ - Details about the observation (the output of the action group Lambda or - knowledge base) made by the agent. - """ - - value: Observation - -@dataclass -class OrchestrationTraceModelInvocationInput(_SerdeShape): - """ - The input for the orchestration step. - - - The `type` is `ORCHESTRATION`. - - - The `text` contains the prompt. - - - The `inferenceConfiguration`, `parserMode`, and `overrideLambda` - values are set in the - [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) - object that was set when the agent was created or updated. - """ - - value: ModelInvocationInput - -@dataclass -class OrchestrationTraceModelInvocationOutput(_SerdeShape): - """ - Contains information pertaining to the output from the foundation model - that is being invoked. - """ - - value: OrchestrationModelInvocationOutput - -@dataclass -class OrchestrationTraceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -OrchestrationTrace = Union[ - OrchestrationTraceRationale - | OrchestrationTraceInvocationInput - | OrchestrationTraceObservation - | OrchestrationTraceModelInvocationInput - | OrchestrationTraceModelInvocationOutput - | OrchestrationTraceUnknown -] -""" -Details about the orchestration step, in which the agent determines the -order in which actions are executed and which knowledge bases are -retrieved. -""" - -class _OrchestrationTraceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> OrchestrationTrace: ... - -class OrchestrationType(UnknownEnumMixin, StrEnum): - DEFAULT = "DEFAULT" - CUSTOM_ORCHESTRATION = "CUSTOM_ORCHESTRATION" - -@dataclass(kw_only=True) -class OutputFile(_SerdeShape): - """Contains details of the response from code interpreter.""" - - name: str | None = ... - """The name of the file containing response from code interpreter.""" - type: str | None = ... - """The type of file that contains response from the code interpreter.""" - bytes_: bytes | None = ... - """The byte count of files that contains response from code interpreter.""" - -@dataclass(kw_only=True) -class Parameter(_SerdeShape): - """A parameter for the API request or function.""" - - name: str | None = ... - """The name of the parameter.""" - type: str | None = ... - """The type of the parameter.""" - value: str | None = ... - """The value of the parameter.""" - -@dataclass(kw_only=True) -class ParameterDetail(_SerdeShape): - """Contains details about a parameter in a function for an action group.""" - - description: str | None = ... - """ - A description of the parameter. Helps the foundation model determine how - to elicit the parameters from the user. - """ - type: str - """The data type of the parameter.""" - required: bool | None = ... - """ - Whether the parameter is required for the agent to complete the function - for action group invocation. - """ - -class ParameterType(UnknownEnumMixin, StrEnum): - STRING = "string" - NUMBER = "number" - INTEGER = "integer" - BOOLEAN = "boolean" - ARRAY = "array" - -@dataclass(kw_only=True) -class PayloadPart(_SerdeShape): - """Contains a part of an agent response and citations for it.""" - - bytes_: bytes | None = ... - """A part of the agent response in bytes.""" - attribution: Attribution | None = ... - """Contains citations for a part of an agent response.""" - -class PayloadType(UnknownEnumMixin, StrEnum): - TEXT = "TEXT" - RETURN_CONTROL = "RETURN_CONTROL" - -class PerformanceConfigLatency(UnknownEnumMixin, StrEnum): - STANDARD = "standard" - OPTIMIZED = "optimized" - -@dataclass(kw_only=True) -class PerformanceConfiguration(_SerdeShape): - """Performance settings for a model.""" - - latency: str = ... - """To use a latency-optimized version of the model, set to `optimized`.""" - -@dataclass(kw_only=True) -class PostProcessingModelInvocationOutput(_SerdeShape): - """The foundation model output from the post-processing step.""" - - trace_id: str | None = ... - """The unique identifier of the trace.""" - parsed_response: PostProcessingParsedResponse | None = ... - """ - Details about the response from the Lambda parsing of the output of the - post-processing step. - """ - raw_response: RawResponse | None = ... - """Details of the raw response from the foundation model output.""" - metadata: Metadata | None = ... - """ - Contains information about the foundation model output from the - post-processing step. - """ - reasoning_content: ReasoningContentBlock | None = ... - """ - Contains content about the reasoning that the model made during the - post-processing step. - """ - -@dataclass(kw_only=True) -class PostProcessingParsedResponse(_SerdeShape): - """ - Details about the response from the Lambda parsing of the output from - the post-processing step. - """ - - text: str | None = ... - """The text returned by the parser.""" - -@dataclass -class PostProcessingTraceModelInvocationInput(_SerdeShape): - """ - The input for the post-processing step. - - - The `type` is `POST_PROCESSING`. - - - The `text` contains the prompt. - - - The `inferenceConfiguration`, `parserMode`, and `overrideLambda` - values are set in the - [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) - object that was set when the agent was created or updated. - """ - - value: ModelInvocationInput - -@dataclass -class PostProcessingTraceModelInvocationOutput(_SerdeShape): - """The foundation model output from the post-processing step.""" - - value: PostProcessingModelInvocationOutput - -@dataclass -class PostProcessingTraceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PostProcessingTrace = Union[ - PostProcessingTraceModelInvocationInput - | PostProcessingTraceModelInvocationOutput - | PostProcessingTraceUnknown -] -""" -Details about the post-processing step, in which the agent shapes the -response. -""" - -class _PostProcessingTraceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PostProcessingTrace: ... - -@dataclass(kw_only=True) -class PreProcessingModelInvocationOutput(_SerdeShape): - """The foundation model output from the pre-processing step.""" - - trace_id: str | None = ... - """The unique identifier of the trace.""" - parsed_response: PreProcessingParsedResponse | None = ... - """ - Details about the response from the Lambda parsing of the output of the - pre-processing step. - """ - raw_response: RawResponse | None = ... - """Details of the raw response from the foundation model output.""" - metadata: Metadata | None = ... - """ - Contains information about the foundation model output from the - pre-processing step. - """ - reasoning_content: ReasoningContentBlock | None = ... - """ - Contains content about the reasoning that the model made during the - pre-processing step. - """ - -@dataclass(kw_only=True) -class PreProcessingParsedResponse(_SerdeShape): - """ - Details about the response from the Lambda parsing of the output from - the pre-processing step. - """ - - rationale: str | None = ... - """ - The text returned by the parsing of the pre-processing step, explaining - the steps that the agent plans to take in orchestration, if the user - input is valid. - """ - is_valid: bool | None = ... - """ - Whether the user input is valid or not. If `false`, the agent doesn't - proceed to orchestration. - """ - -@dataclass -class PreProcessingTraceModelInvocationInput(_SerdeShape): - """ - The input for the pre-processing step. - - - The `type` is `PRE_PROCESSING`. - - - The `text` contains the prompt. - - - The `inferenceConfiguration`, `parserMode`, and `overrideLambda` - values are set in the - [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) - object that was set when the agent was created or updated. - """ - - value: ModelInvocationInput - -@dataclass -class PreProcessingTraceModelInvocationOutput(_SerdeShape): - """The foundation model output from the pre-processing step.""" - - value: PreProcessingModelInvocationOutput - -@dataclass -class PreProcessingTraceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PreProcessingTrace = Union[ - PreProcessingTraceModelInvocationInput - | PreProcessingTraceModelInvocationOutput - | PreProcessingTraceUnknown -] -""" -Details about the pre-processing step, in which the agent contextualizes -and categorizes user inputs. -""" - -class _PreProcessingTraceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PreProcessingTrace: ... - -@dataclass(kw_only=True) -class PromptConfiguration(_SerdeShape): - """ - Contains configurations to override a prompt template in one part of an - agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - - prompt_type: str | None = ... - """ - The step in the agent sequence that this prompt configuration applies - to. - """ - prompt_creation_mode: str | None = ... - """ - Specifies whether to override the default prompt template for this - `promptType`. Set this value to `OVERRIDDEN` to use the prompt that you - provide in the `basePromptTemplate`. If you leave it as `DEFAULT`, the - agent uses a default prompt template. - """ - prompt_state: str | None = ... - """ - Specifies whether to allow the inline agent to carry out the step - specified in the `promptType`. If you set this value to `DISABLED`, the - agent skips that step. The default state for each `promptType` is as - follows. - - - `PRE_PROCESSING` -- `ENABLED` - - - `ORCHESTRATION` -- `ENABLED` - - - `KNOWLEDGE_BASE_RESPONSE_GENERATION` -- `ENABLED` - - - `POST_PROCESSING` -- `DISABLED` - """ - base_prompt_template: str | None = ... - """ - Defines the prompt template with which to replace the default prompt - template. You can use placeholder variables in the base prompt template - to customize the prompt. For more information, see [Prompt template - placeholder - variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). - For more information, see [Configure the prompt - templates](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts-configure.html). - """ - inference_configuration: InferenceConfiguration | None = ... - """ - Contains inference parameters to use when the agent invokes a foundation - model in the part of the agent sequence defined by the `promptType`. For - more information, see [Inference parameters for foundation - models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - """ - parser_mode: str | None = ... - """ - Specifies whether to override the default parser Lambda function when - parsing the raw foundation model output in the part of the agent - sequence defined by the `promptType`. If you set the field as - `OVERRIDDEN`, the `overrideLambda` field in the - [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) - must be specified with the ARN of a Lambda function. - """ - foundation_model: str | None = ... - """The foundation model to use.""" - additional_model_request_fields: Document | None = ... - """ - If the Converse or ConverseStream operations support the model, - `additionalModelRequestFields` contains additional inference parameters, - beyond the base set of inference parameters in the - `inferenceConfiguration` field. - - For more information, see *Inference request parameters and response - fields for foundation models* in the Amazon Bedrock user guide. - """ - -@dataclass(kw_only=True) -class PromptCreationConfigurations(_SerdeShape): - """ - Specifies parameters that control how the service populates the agent - prompt for an `InvokeAgent` or `InvokeInlineAgent` request. You can - control which aspects of previous invocations in the same agent session - the service uses to populate the agent prompt. This gives you more - granular control over the contextual history that is used to process the - current request. - """ - - previous_conversation_turns_to_include: int | None = ... - """ - The number of previous conversations from the ongoing agent session to - include in the conversation history of the agent prompt, during the - current invocation. This gives you more granular control over the - context that the model is made aware of, and helps the model remove - older context which is no longer useful during the ongoing agent - session. - """ - exclude_previous_thinking_steps: bool = ... - """ - If `true`, the service removes any content between `` tags - from previous conversations in an agent session. The service will only - remove content from already processed turns. This helps you remove - content which might not be useful for current and subsequent - invocations. This can reduce the input token count and potentially save - costs. The default value is `false`. - """ - -@dataclass(kw_only=True) -class PromptOverrideConfiguration(_SerdeShape): - """ - Contains configurations to override prompts in different parts of an - agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - - prompt_configurations: list[PromptConfiguration] - """ - Contains configurations to override a prompt template in one part of an - agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - override_lambda: str | None = ... - """ - The ARN of the Lambda function to use when parsing the raw foundation - model output in parts of the agent sequence. If you specify this field, - at least one of the `promptConfigurations` must contain a `parserMode` - value that is set to `OVERRIDDEN`. For more information, see [Parser - Lambda function in Amazon Bedrock - Agents](https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html). - """ - -class PromptState(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class PromptTemplate(_SerdeShape): - """ - Contains the template for the prompt that's sent to the model for - response generation. For more information, see [Knowledge base prompt - templates](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html#kb-test-config-sysprompt). - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - -- in the `filter` field - """ - - text_prompt_template: str | None = ... - """ - The template for the prompt that's sent to the model for response - generation. You can include prompt placeholders, which become replaced - before the prompt is sent to the model to provide instructions and - context to the model. In addition, you can include XML tags to delineate - meaningful sections of the prompt template. - - For more information, see the following resources: - - - [Knowledge base prompt - templates](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html#kb-test-config-sysprompt) - - - [Use XML tags with Anthropic Claude - models](https://docs.claude.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags) - """ - -class PromptType(UnknownEnumMixin, StrEnum): - PRE_PROCESSING = "PRE_PROCESSING" - ORCHESTRATION = "ORCHESTRATION" - KNOWLEDGE_BASE_RESPONSE_GENERATION = "KNOWLEDGE_BASE_RESPONSE_GENERATION" - POST_PROCESSING = "POST_PROCESSING" - ROUTING_CLASSIFIER = "ROUTING_CLASSIFIER" - -@dataclass(kw_only=True) -class PropertyParameters(_SerdeShape): - """Contains the parameters in the request body.""" - - properties: list[Parameter] | None = ... - """A list of parameters in the request body.""" - -@dataclass(kw_only=True) -class PutInvocationStepInput(_SerdeShape): - """Dataclass for PutInvocationStepInput structure.""" - - session_identifier: str | None = ... - """ - The unique identifier for the session to add the invocation step to. You - can specify either the session's `sessionId` or its Amazon Resource - Name (ARN). - """ - invocation_identifier: str | None = ... - """ - The unique identifier (in UUID format) of the invocation to add the - invocation step to. - """ - invocation_step_time: datetime | None = ... - """The timestamp for when the invocation step occurred.""" - payload: InvocationStepPayload | None = ... - """ - The payload for the invocation step, including text and images for the - interaction. - """ - invocation_step_id: str | None = ... - """The unique identifier of the invocation step in UUID format.""" - -@dataclass(kw_only=True) -class PutInvocationStepOutput(_SerdeShape): - """Dataclass for PutInvocationStepOutput structure.""" - - invocation_step_id: str - """The unique identifier of the invocation step in UUID format.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class QueryGenerationInput(_SerdeShape): - """ - Contains information about a natural language query to transform into - SQL. - """ - - type: str - """The type of the query.""" - text: str - """The text of the query.""" - -@dataclass(kw_only=True) -class QueryTransformationConfiguration(_SerdeShape): - """ - To split up the prompt and retrieve multiple sources, set the - transformation type to `QUERY_DECOMPOSITION`. - """ - - type: str - """The type of transformation to apply to the prompt.""" - -class QueryTransformationMode(UnknownEnumMixin, StrEnum): - TEXT_TO_SQL = "TEXT_TO_SQL" - -class QueryTransformationType(UnknownEnumMixin, StrEnum): - QUERY_DECOMPOSITION = "QUERY_DECOMPOSITION" - -@dataclass(kw_only=True) -class Rationale(_SerdeShape): - """ - Contains the reasoning, based on the input, that the agent uses to - justify carrying out an action group or getting information from a - knowledge base. - """ - - trace_id: str | None = ... - """The unique identifier of the trace step.""" - text: str | None = ... - """The reasoning or thought process of the agent, based on the input.""" - -@dataclass(kw_only=True) -class RawResponse(_SerdeShape): - """Contains the raw output from the foundation model.""" - - content: str | None = ... - """The foundation model's raw output content.""" - -@dataclass -class ReasoningContentBlockReasoningText(_SerdeShape): - """ - Contains information about the reasoning that the model used to return - the content in the content block. - """ - - value: ReasoningTextBlock - -@dataclass -class ReasoningContentBlockRedactedContent(_SerdeShape): - """ - The content in the reasoning that was encrypted by the model provider - for trust and safety reasons. - """ - - value: bytes - -@dataclass -class ReasoningContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ReasoningContentBlock = Union[ - ReasoningContentBlockReasoningText - | ReasoningContentBlockRedactedContent - | ReasoningContentBlockUnknown -] -""" -Contains content regarding the reasoning that the foundation model made -with respect to the content in the content block. Reasoning refers to a -Chain of Thought (CoT) that the model generates to enhance the accuracy -of its final response. -""" - -class _ReasoningContentBlockDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ReasoningContentBlock: ... - -@dataclass(kw_only=True) -class ReasoningTextBlock(_SerdeShape): - """ - Contains information about the reasoning that the model used to return - the content in the content block. - """ - - text: str - """ - Text describing the reasoning that the model used to return the content - in the content block. - """ - signature: str | None = ... - """ - A hash of all the messages in the conversation to ensure that the - content in the reasoning text block isn't tampered with. You must - submit the signature in subsequent `Converse` requests, in addition to - the previous messages. If the previous messages are tampered with, the - response throws an error. - """ - -class RelayConversationHistory(UnknownEnumMixin, StrEnum): - TO_COLLABORATOR = "TO_COLLABORATOR" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class RepromptResponse(_SerdeShape): - """Contains details about the agent's response to reprompt the input.""" - - text: str | None = ... - """The text reprompting the input.""" - source: str | None = ... - """Specifies what output is prompting the agent to reprompt the input.""" - -@dataclass(kw_only=True) -class RequestBody(_SerdeShape): - """The parameters in the API request body.""" - - content: dict[str, list[Parameter]] | None = ... - """The content in the request body.""" - -class RequireConfirmation(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class RerankDocument(_SerdeShape): - """ - Contains information about a document to rerank. Choose the `type` to - define and include the field that corresponds to the type. - """ - - type: str - """The type of document to rerank.""" - text_document: RerankTextDocument | None = ... - """Contains information about a text document to rerank.""" - json_document: Document | None = ... - """Contains a JSON document to rerank.""" - -class RerankDocumentType(UnknownEnumMixin, StrEnum): - TEXT = "TEXT" - JSON = "JSON" - -@dataclass(kw_only=True) -class RerankingConfiguration(_SerdeShape): - """Contains configurations for reranking.""" - - type: str - """The type of reranker that the configurations apply to.""" - bedrock_reranking_configuration: BedrockRerankingConfiguration - """Contains configurations for an Amazon Bedrock reranker.""" - -class RerankingConfigurationType(UnknownEnumMixin, StrEnum): - BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" - -class RerankingMetadataSelectionMode(UnknownEnumMixin, StrEnum): - SELECTIVE = "SELECTIVE" - ALL = "ALL" - -@dataclass -class RerankingMetadataSelectiveModeConfigurationFieldsToInclude(_SerdeShape): - """ - An array of objects, each of which specifies a metadata field to include - in consideration when reranking. The remaining metadata fields are - ignored. - """ - - value: list[FieldForReranking] - -@dataclass -class RerankingMetadataSelectiveModeConfigurationFieldsToExclude(_SerdeShape): - """ - An array of objects, each of which specifies a metadata field to exclude - from consideration when reranking. - """ - - value: list[FieldForReranking] - -@dataclass -class RerankingMetadataSelectiveModeConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RerankingMetadataSelectiveModeConfiguration = Union[ - RerankingMetadataSelectiveModeConfigurationFieldsToInclude - | RerankingMetadataSelectiveModeConfigurationFieldsToExclude - | RerankingMetadataSelectiveModeConfigurationUnknown -] -""" -Contains configurations for the metadata fields to include or exclude -when considering reranking. If you include the `fieldsToExclude` field, -the reranker ignores all the metadata fields that you specify. If you -include the `fieldsToInclude` field, the reranker uses only the metadata -fields that you specify and ignores all others. You can include only one -of these fields. -""" - -class _RerankingMetadataSelectiveModeConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RerankingMetadataSelectiveModeConfiguration: ... - -class RerankingModelType(UnknownEnumMixin, StrEnum): - CUSTOM = "CUSTOM" - MANAGED = "MANAGED" - NONE = "NONE" - -@dataclass(kw_only=True) -class RerankInput(_SerdeShape): - """Dataclass for RerankInput structure.""" - - queries: list[RerankQuery] | None = ... - """ - An array of objects, each of which contains information about a query to - submit to the reranker model. - """ - sources: list[RerankSource] | None = ... - """ - An array of objects, each of which contains information about the - sources to rerank. - """ - reranking_configuration: RerankingConfiguration | None = ... - """Contains configurations for reranking.""" - next_token: str | None = ... - """ - If the total number of results was greater than could fit in a response, - a token is returned in the `nextToken` field. You can enter that token - in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class RerankOutput(_SerdeShape): - """Dataclass for RerankOutput structure.""" - - results: list[RerankResult] - """ - An array of objects, each of which contains information about the - results of reranking. - """ - next_token: str | None = ... - """ - If the total number of results is greater than can fit in the response, - use this token in the `nextToken` field when making another request to - return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RerankQuery(_SerdeShape): - """Contains information about a query to submit to the reranker model.""" - - type: str - """The type of the query.""" - text_query: RerankTextDocument - """Contains information about a text query.""" - -class RerankQueryContentType(UnknownEnumMixin, StrEnum): - TEXT = "TEXT" - -@dataclass(kw_only=True) -class RerankResult(_SerdeShape): - """Contains information about a document that was reranked.""" - - index: int - """The original index of the document from the input sources array.""" - relevance_score: float - """The relevance score of the document.""" - document: RerankDocument | None = ... - """Contains information about the document.""" - -@dataclass(kw_only=True) -class RerankSource(_SerdeShape): - """Contains information about a source for reranking.""" - - type: str - """The type of the source.""" - inline_document_source: RerankDocument - """Contains an inline definition of a source for reranking.""" - -class RerankSourceType(UnknownEnumMixin, StrEnum): - INLINE = "INLINE" - -@dataclass(kw_only=True) -class RerankTextDocument(_SerdeShape): - """Contains information about a text document to rerank.""" - - text: str | None = ... - """The text of the document.""" - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """ - The specified resource Amazon Resource Name (ARN) was not found. Check - the Amazon Resource Name (ARN) and try your request again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ResponseState(UnknownEnumMixin, StrEnum): - FAILURE = "FAILURE" - REPROMPT = "REPROMPT" - -@dataclass -class ResponseStreamChunk(_SerdeShape): - """Contains a part of an agent response and citations for it.""" - - value: PayloadPart - -@dataclass -class ResponseStreamTrace(_SerdeShape): - """ - Contains information about the agent and session, alongside the agent's - reasoning process and results from calling actions and querying - knowledge bases and metadata about the trace. You can use the trace to - understand how the agent arrived at the response it provided the - customer. For more information, see [Trace - events](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html). - """ - - value: TracePart - -@dataclass -class ResponseStreamReturnControl(_SerdeShape): - """ - Contains the parameters and information that the agent elicited from the - customer to carry out an action. This information is returned to the - system and can be used in your own setup for fulfilling the action. - """ - - value: ReturnControlPayload - -@dataclass -class ResponseStreamInternalServerException(_SerdeShape): - """An internal server error occurred. Retry your request.""" - - value: InternalServerException - -@dataclass -class ResponseStreamValidationException(_SerdeShape): - """ - Input validation failed. Check your request parameters and retry the - request. - """ - - value: ValidationException - -@dataclass -class ResponseStreamResourceNotFoundException(_SerdeShape): - """ - The specified resource Amazon Resource Name (ARN) was not found. Check - the Amazon Resource Name (ARN) and try your request again. - """ - - value: ResourceNotFoundException - -@dataclass -class ResponseStreamServiceQuotaExceededException(_SerdeShape): - """ - The number of requests exceeds the service quota. Resubmit your request - later. - """ - - value: ServiceQuotaExceededException - -@dataclass -class ResponseStreamThrottlingException(_SerdeShape): - """The number of requests exceeds the limit. Resubmit your request later.""" - - value: ThrottlingException - -@dataclass -class ResponseStreamAccessDeniedException(_SerdeShape): - """ - The request is denied because of missing access permissions. Check your - permissions and retry your request. - """ - - value: AccessDeniedException - -@dataclass -class ResponseStreamConflictException(_SerdeShape): - """ - There was a conflict performing an operation. Resolve the conflict and - retry your request. - """ - - value: ConflictException - -@dataclass -class ResponseStreamDependencyFailedException(_SerdeShape): - """ - There was an issue with a dependency. Check the resource configurations - and retry the request. - """ - - value: DependencyFailedException - -@dataclass -class ResponseStreamBadGatewayException(_SerdeShape): - """ - There was an issue with a dependency due to a server issue. Retry your - request. - """ - - value: BadGatewayException - -@dataclass -class ResponseStreamModelNotReadyException(_SerdeShape): - """ - The model specified in the request is not ready to serve Inference - requests. The AWS SDK will automatically retry the operation up to 5 - times. For information about configuring automatic retries, see [Retry - behavior](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html) - in the *AWS SDKs and Tools* reference guide. - """ - - value: ModelNotReadyException - -@dataclass -class ResponseStreamFiles(_SerdeShape): - """ - Contains intermediate response for code interpreter if any files have - been generated. - """ - - value: FilePart - -@dataclass -class ResponseStreamUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ResponseStream = Union[ - ResponseStreamChunk - | ResponseStreamTrace - | ResponseStreamReturnControl - | ResponseStreamInternalServerException - | ResponseStreamValidationException - | ResponseStreamResourceNotFoundException - | ResponseStreamServiceQuotaExceededException - | ResponseStreamThrottlingException - | ResponseStreamAccessDeniedException - | ResponseStreamConflictException - | ResponseStreamDependencyFailedException - | ResponseStreamBadGatewayException - | ResponseStreamModelNotReadyException - | ResponseStreamFiles - | ResponseStreamUnknown -] -""" -The response from invoking the agent and associated citations and trace -information. -""" - -class _ResponseStreamDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ResponseStream: ... - -@dataclass(kw_only=True) -class RetrievalContent(_SerdeShape): - """The content retrieved from a knowledge source.""" - - byte_content: bytes | None = ... - """The binary content of the retrieved item.""" - text: str | None = ... - """The text content of the retrieved item.""" - mime_type: str - """The MIME type of the retrieved content.""" - -@dataclass -class RetrievalFilterEquals(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value matches the - `value` in this object. - - The following example would return data sources with an `animal` - attribute whose value is `cat`: - - `"equals": { "key": "animal", "value": "cat" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterNotEquals(_SerdeShape): - """ - Knowledge base data sources are returned when: - - - It contains a metadata attribute whose name matches the `key` and - whose value doesn't match the `value` in this object. - - - The key is not present in the document. - - The following example would return data sources that don't contain an - `animal` attribute whose value is `cat`. - - `"notEquals": { "key": "animal", "value": "cat" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterGreaterThan(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value is greater than - the `value` in this object. - - The following example would return data sources with an `year` attribute - whose value is greater than `1989`: - - `"greaterThan": { "key": "year", "value": 1989 }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterGreaterThanOrEquals(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value is greater than - or equal to the `value` in this object. - - The following example would return data sources with an `year` attribute - whose value is greater than or equal to `1989`: - - `"greaterThanOrEquals": { "key": "year", "value": 1989 }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterLessThan(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value is less than the - `value` in this object. - - The following example would return data sources with an `year` attribute - whose value is less than to `1989`. - - `"lessThan": { "key": "year", "value": 1989 }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterLessThanOrEquals(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value is less than or - equal to the `value` in this object. - - The following example would return data sources with an `year` attribute - whose value is less than or equal to `1989`. - - `"lessThanOrEquals": { "key": "year", "value": 1989 }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterIn(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value is in the list - specified in the `value` in this object. - - The following example would return data sources with an `animal` - attribute that is either `cat` or `dog`: - - `"in": { "key": "animal", "value": ["cat", "dog"] }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterNotIn(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value isn't in the - list specified in the `value` in this object. - - The following example would return data sources whose `animal` attribute - is neither `cat` nor `dog`. - - `"notIn": { "key": "animal", "value": ["cat", "dog"] }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterStartsWith(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value starts with the - `value` in this object. This filter is currently only supported for - Amazon OpenSearch Serverless vector stores. - - The following example would return data sources with an `animal` - attribute starts with `ca` (for example, `cat` or `camel`). - - `"startsWith": { "key": "animal", "value": "ca" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterListContains(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value is a list that - contains the `value` as one of its members. - - The following example would return data sources with an `animals` - attribute that is a list containing a `cat` member (for example - `["dog", "cat"]`). - - `"listContains": { "key": "animals", "value": "cat" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterStringContains(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the `key` and whose value is one of the - following: - - - A string that contains the `value` as a substring. The following - example would return data sources with an `animal` attribute that - contains the substring `at` (for example `cat`). - - `"stringContains": { "key": "animal", "value": "at" }` - - - A list with a member that contains the `value` as a substring. The - following example would return data sources with an `animals` - attribute that is a list containing a member that contains the - substring `at` (for example `["dog", "cat"]`). - - `"stringContains": { "key": "animals", "value": "at" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterAndAll(_SerdeShape): - """ - Knowledge base data sources are returned if their metadata attributes - fulfill all the filter conditions inside this list. - """ - - value: list[RetrievalFilter] - -@dataclass -class RetrievalFilterOrAll(_SerdeShape): - """ - Knowledge base data sources are returned if their metadata attributes - fulfill at least one of the filter conditions inside this list. - """ - - value: list[RetrievalFilter] - -@dataclass -class RetrievalFilterUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RetrievalFilter = Union[ - RetrievalFilterEquals - | RetrievalFilterNotEquals - | RetrievalFilterGreaterThan - | RetrievalFilterGreaterThanOrEquals - | RetrievalFilterLessThan - | RetrievalFilterLessThanOrEquals - | RetrievalFilterIn - | RetrievalFilterNotIn - | RetrievalFilterStartsWith - | RetrievalFilterListContains - | RetrievalFilterStringContains - | RetrievalFilterAndAll - | RetrievalFilterOrAll - | RetrievalFilterUnknown -] -""" -Specifies the filters to use on the metadata attributes in the knowledge -base data sources before returning results. For more information, see -[Query -configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). -See the examples below to see how to use these filters. - -This data type is used in the following API operations: - -- [Retrieve - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) - -- in the `filter` field - -- [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - -- in the `filter` field -""" - -class _RetrievalFilterDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RetrievalFilter: ... - -@dataclass(kw_only=True) -class RetrievalOverrides(_SerdeShape): - """Overrides for retrieval behavior.""" - - filter: RetrievalFilter | None = ... - """A filter to apply to the retrieval results.""" - max_number_of_results: int | None = ... - """The maximum number of results to return.""" - -@dataclass(kw_only=True) -class RetrievalResultConfluenceLocation(_SerdeShape): - """The Confluence data source location.""" - - url: str | None = ... - """The Confluence host URL for the data source location.""" - -@dataclass(kw_only=True) -class RetrievalResultContent(_SerdeShape): - """ - Contains information about a chunk of text from a data source in the - knowledge base. If the result is from a structured data source, the cell - in the database and the type of the value is also identified. - - This data type is used in the following API operations: - - - [Retrieve - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) - -- in the `content` field - - - [RetrieveAndGenerate - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) - -- in the `content` field - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - -- in the `content` field - """ - - type: str | None = ... - """The type of content in the retrieval result.""" - text: str = ... - """The cited text from the data source.""" - byte_content: str | None = ... - """ - A data URI with base64-encoded content from the data source. The URI is - in the following format: returned in the following format: - `data:image/jpeg;base64,${base64-encoded string}`. - """ - video: VideoSegment | None = ... - """ - Video segment information when the retrieval result contains video - content. - """ - audio: AudioSegment | None = ... - """ - Audio segment information when the retrieval result contains audio - content. - """ - row: list[RetrievalResultContentColumn] | None = ... - """ - Specifies information about the rows with the cells to return in - retrieval. - """ - -@dataclass(kw_only=True) -class RetrievalResultContentColumn(_SerdeShape): - """Contains information about a column with a cell to return in retrieval.""" - - column_name: str | None = ... - """The name of the column.""" - column_value: str | None = ... - """The value in the column.""" - type: str | None = ... - """The data type of the value.""" - -class RetrievalResultContentColumnType(UnknownEnumMixin, StrEnum): - BLOB = "BLOB" - BOOLEAN = "BOOLEAN" - DOUBLE = "DOUBLE" - NULL = "NULL" - LONG = "LONG" - STRING = "STRING" - -class RetrievalResultContentType(UnknownEnumMixin, StrEnum): - TEXT = "TEXT" - IMAGE = "IMAGE" - ROW = "ROW" - AUDIO = "AUDIO" - VIDEO = "VIDEO" - -@dataclass(kw_only=True) -class RetrievalResultCustomDocumentLocation(_SerdeShape): - """ - Contains information about the location of a document in a custom data - source. - """ - - id: str | None = ... - """The ID of the document.""" - -@dataclass(kw_only=True) -class RetrievalResultGoogleDriveLocation(_SerdeShape): - """The Google Drive location of a retrieval result.""" - - url: str | None = ... - """The Google Drive URL for the data source location.""" - -@dataclass(kw_only=True) -class RetrievalResultKendraDocumentLocation(_SerdeShape): - """The location of a result in Amazon Kendra.""" - - uri: str | None = ... - """The document's uri.""" - -@dataclass(kw_only=True) -class RetrievalResultLocation(_SerdeShape): - """ - Contains information about the data source location. - - This data type is used in the following API operations: - - - [Retrieve - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) - -- in the `location` field - - - [RetrieveAndGenerate - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) - -- in the `location` field - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - -- in the `location` field - """ - - type: str - """The type of data source location.""" - s3_location: RetrievalResultS3Location | None = ... - """The S3 data source location.""" - web_location: RetrievalResultWebLocation | None = ... - """The web URL/URLs data source location.""" - confluence_location: RetrievalResultConfluenceLocation | None = ... - """The Confluence data source location.""" - salesforce_location: RetrievalResultSalesforceLocation | None = ... - """The Salesforce data source location.""" - share_point_location: RetrievalResultSharePointLocation | None = ... - """The SharePoint data source location.""" - custom_document_location: RetrievalResultCustomDocumentLocation | None = ... - """Specifies the location of a document in a custom data source.""" - kendra_document_location: RetrievalResultKendraDocumentLocation | None = ... - """The location of a document in Amazon Kendra.""" - sql_location: RetrievalResultSqlLocation | None = ... - """Specifies information about the SQL query used to retrieve the result.""" - one_drive_location: RetrievalResultOneDriveLocation | None = ... - """The Microsoft OneDrive data source location.""" - google_drive_location: RetrievalResultGoogleDriveLocation | None = ... - """The Google Drive data source location.""" - -class RetrievalResultLocationType(UnknownEnumMixin, StrEnum): - S3 = "S3" - WEB = "WEB" - CONFLUENCE = "CONFLUENCE" - SALESFORCE = "SALESFORCE" - SHAREPOINT = "SHAREPOINT" - CUSTOM = "CUSTOM" - KENDRA = "KENDRA" - SQL = "SQL" - ONEDRIVE = "ONEDRIVE" - GOOGLEDRIVE = "GOOGLEDRIVE" - -@dataclass(kw_only=True) -class RetrievalResultOneDriveLocation(_SerdeShape): - """The Microsoft OneDrive location of a retrieval result.""" - - url: str | None = ... - """The OneDrive URL for the data source location.""" - -@dataclass(kw_only=True) -class RetrievalResultS3Location(_SerdeShape): - """ - The S3 data source location. - - This data type is used in the following API operations: - - - [Retrieve - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) - -- in the `s3Location` field - - - [RetrieveAndGenerate - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) - -- in the `s3Location` field - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - -- in the `s3Location` field - """ - - uri: str | None = ... - """The S3 URI for the data source location.""" - -@dataclass(kw_only=True) -class RetrievalResultSalesforceLocation(_SerdeShape): - """The Salesforce data source location.""" - - url: str | None = ... - """The Salesforce host URL for the data source location.""" - -@dataclass(kw_only=True) -class RetrievalResultSharePointLocation(_SerdeShape): - """The SharePoint data source location.""" - - url: str | None = ... - """The SharePoint site URL for the data source location.""" - -@dataclass(kw_only=True) -class RetrievalResultSqlLocation(_SerdeShape): - """Contains information about the SQL query used to retrieve the result.""" - - query: str | None = ... - """The SQL query used to retrieve the result.""" - -@dataclass(kw_only=True) -class RetrievalResultWebLocation(_SerdeShape): - """The web URL/URLs data source location.""" - - url: str | None = ... - """The web URL/URLs for the data source location.""" - -@dataclass(kw_only=True) -class RetrieveAndGenerateConfiguration(_SerdeShape): - """ - Contains details about the resource being queried. - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - -- in the `retrieveAndGenerateConfiguration` field - """ - - type: str - """ - The type of resource that contains your data for retrieving information - and generating responses. - - Note: - If you choose to use `EXTERNAL_SOURCES`, then currently only Anthropic - Claude 3 Sonnet models for knowledge bases are supported. - """ - knowledge_base_configuration: ( - KnowledgeBaseRetrieveAndGenerateConfiguration | None - ) = ... - """ - Contains details about the knowledge base for retrieving information and - generating responses. - """ - external_sources_configuration: ( - ExternalSourcesRetrieveAndGenerateConfiguration | None - ) = ... - """ - The configuration for the external source wrapper object in the - `retrieveAndGenerate` function. - """ - -@dataclass(kw_only=True) -class RetrieveAndGenerateInput(_SerdeShape): - """ - Contains the query made to the knowledge base. - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - -- in the `input` field - """ - - text: str - """The query made to the knowledge base, in characters.""" - -@dataclass(kw_only=True) -class RetrieveAndGenerateOperationInput(_SerdeShape): - """Dataclass for RetrieveAndGenerateOperationInput structure.""" - - session_id: str | None = ... - """ - The unique identifier of the session. When you first make a - `RetrieveAndGenerate` request, Amazon Bedrock automatically generates - this value. You must reuse this value for all subsequent requests in the - same conversational session. This value allows Amazon Bedrock to - maintain context and knowledge from previous interactions. You can't - explicitly set the `sessionId` yourself. - """ - input: RetrieveAndGenerateInput | None = ... - """Contains the query to be made to the knowledge base.""" - retrieve_and_generate_configuration: RetrieveAndGenerateConfiguration | None = ... - """ - Contains configurations for the knowledge base query and retrieval - process. For more information, see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - """ - session_configuration: RetrieveAndGenerateSessionConfiguration | None = ... - """Contains details about the session with the knowledge base.""" - user_context: UserContext | None = ... - """ - Contains information about the user making the request. This is used for - access control filtering to ensure that retrieval results only include - documents the user is authorized to access. - """ - -@dataclass(kw_only=True) -class RetrieveAndGenerateOperationOutput(_SerdeShape): - """Dataclass for RetrieveAndGenerateOperationOutput structure.""" - - session_id: str - """ - The unique identifier of the session. When you first make a - `RetrieveAndGenerate` request, Amazon Bedrock automatically generates - this value. You must reuse this value for all subsequent requests in the - same conversational session. This value allows Amazon Bedrock to - maintain context and knowledge from previous interactions. You can't - explicitly set the `sessionId` yourself. - """ - output: RetrieveAndGenerateOutput - """Contains the response generated from querying the knowledge base.""" - citations: list[Citation] | None = ... - """ - A list of segments of the generated response that are based on sources - in the knowledge base, alongside information about the sources. - """ - guardrail_action: str | None = ... - """Specifies if there is a guardrail intervention in the response.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RetrieveAndGenerateOutput(_SerdeShape): - """ - Contains the response generated from querying the knowledge base. - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) - -- in the `output` field - """ - - text: str - """The response generated from querying the knowledge base.""" - -@dataclass(kw_only=True) -class RetrieveAndGenerateOutputEvent(_SerdeShape): - """A retrieve and generate output event.""" - - text: str - """A text response.""" - -@dataclass(kw_only=True) -class RetrieveAndGenerateSessionConfiguration(_SerdeShape): - """ - Contains configuration about the session with the knowledge base. - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) - -- in the `sessionConfiguration` field - """ - - kms_key_arn: str - """The ARN of the KMS key encrypting the session.""" - -@dataclass(kw_only=True) -class RetrieveAndGenerateStreamInput(_SerdeShape): - """Dataclass for RetrieveAndGenerateStreamInput structure.""" - - session_id: str | None = ... - """ - The unique identifier of the session. When you first make a - `RetrieveAndGenerate` request, Amazon Bedrock automatically generates - this value. You must reuse this value for all subsequent requests in the - same conversational session. This value allows Amazon Bedrock to - maintain context and knowledge from previous interactions. You can't - explicitly set the `sessionId` yourself. - """ - input: RetrieveAndGenerateInput | None = ... - """Contains the query to be made to the knowledge base.""" - retrieve_and_generate_configuration: RetrieveAndGenerateConfiguration | None = ... - """ - Contains configurations for the knowledge base query and retrieval - process. For more information, see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - """ - session_configuration: RetrieveAndGenerateSessionConfiguration | None = ... - """Contains details about the session with the knowledge base.""" - user_context: UserContext | None = ... - """ - Contains information about the user making the request. This is used for - access control filtering to ensure that retrieval results only include - documents the user is authorized to access. - """ - -@dataclass(kw_only=True) -class RetrieveAndGenerateStreamOutput(_SerdeShape): - """Dataclass for RetrieveAndGenerateStreamOutput structure.""" - - session_id: str - """The session ID.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class RetrieveAndGenerateStreamResponseOutputOutput(_SerdeShape): - """An output event.""" - - value: RetrieveAndGenerateOutputEvent - -@dataclass -class RetrieveAndGenerateStreamResponseOutputCitation(_SerdeShape): - """A citation event.""" - - value: CitationEvent - -@dataclass -class RetrieveAndGenerateStreamResponseOutputGuardrail(_SerdeShape): - """A guardrail event.""" - - value: GuardrailEvent - -@dataclass -class RetrieveAndGenerateStreamResponseOutputInternalServerException(_SerdeShape): - """An internal server error occurred. Retry your request.""" - - value: InternalServerException - -@dataclass -class RetrieveAndGenerateStreamResponseOutputValidationException(_SerdeShape): - """ - The input fails to satisfy the constraints specified by *Amazon - Bedrock*. For troubleshooting this error, see - [ValidationError](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-validation-error) - in the Amazon Bedrock User Guide. - """ - - value: ValidationException - -@dataclass -class RetrieveAndGenerateStreamResponseOutputResourceNotFoundException(_SerdeShape): - """ - The specified resource ARN was not found. For troubleshooting this - error, see - [ResourceNotFound](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-resource-not-found) - in the Amazon Bedrock User Guide. - """ - - value: ResourceNotFoundException - -@dataclass -class RetrieveAndGenerateStreamResponseOutputServiceQuotaExceededException(_SerdeShape): - """ - Your request exceeds the service quota for your account. You can view - your quotas at [Viewing service - quotas](https://docs.aws.amazon.com/servicequotas/latest/userguide/gs-request-quota.html). - You can resubmit your request later. - """ - - value: ServiceQuotaExceededException - -@dataclass -class RetrieveAndGenerateStreamResponseOutputThrottlingException(_SerdeShape): - """ - Your request was denied due to exceeding the account quotas for *Amazon - Bedrock*. For troubleshooting this error, see - [ThrottlingException](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-throttling-exception) - in the Amazon Bedrock User Guide. - """ - - value: ThrottlingException - -@dataclass -class RetrieveAndGenerateStreamResponseOutputAccessDeniedException(_SerdeShape): - """ - The request is denied because you do not have sufficient permissions to - perform the requested action. For troubleshooting this error, see - [AccessDeniedException](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-access-denied) - in the Amazon Bedrock User Guide. - """ - - value: AccessDeniedException - -@dataclass -class RetrieveAndGenerateStreamResponseOutputConflictException(_SerdeShape): - """Error occurred because of a conflict while performing an operation.""" - - value: ConflictException - -@dataclass -class RetrieveAndGenerateStreamResponseOutputDependencyFailedException(_SerdeShape): - """The request failed due to a dependency error.""" - - value: DependencyFailedException - -@dataclass -class RetrieveAndGenerateStreamResponseOutputBadGatewayException(_SerdeShape): - """The request failed due to a bad gateway error.""" - - value: BadGatewayException - -@dataclass -class RetrieveAndGenerateStreamResponseOutputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RetrieveAndGenerateStreamResponseOutput = Union[ - RetrieveAndGenerateStreamResponseOutputOutput - | RetrieveAndGenerateStreamResponseOutputCitation - | RetrieveAndGenerateStreamResponseOutputGuardrail - | RetrieveAndGenerateStreamResponseOutputInternalServerException - | RetrieveAndGenerateStreamResponseOutputValidationException - | RetrieveAndGenerateStreamResponseOutputResourceNotFoundException - | RetrieveAndGenerateStreamResponseOutputServiceQuotaExceededException - | RetrieveAndGenerateStreamResponseOutputThrottlingException - | RetrieveAndGenerateStreamResponseOutputAccessDeniedException - | RetrieveAndGenerateStreamResponseOutputConflictException - | RetrieveAndGenerateStreamResponseOutputDependencyFailedException - | RetrieveAndGenerateStreamResponseOutputBadGatewayException - | RetrieveAndGenerateStreamResponseOutputUnknown -] -"""A retrieve and generate stream response output.""" - -class _RetrieveAndGenerateStreamResponseOutputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RetrieveAndGenerateStreamResponseOutput: ... - -class RetrieveAndGenerateType(UnknownEnumMixin, StrEnum): - KNOWLEDGE_BASE = "KNOWLEDGE_BASE" - EXTERNAL_SOURCES = "EXTERNAL_SOURCES" - -@dataclass(kw_only=True) -class RetrievedReference(_SerdeShape): - """ - Contains metadata about a source cited for the generated response. - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) - -- in the `retrievedReferences` field - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - -- in the `retrievedReferences` field - """ - - content: RetrievalResultContent | None = ... - """Contains the cited text from the data source.""" - location: RetrievalResultLocation | None = ... - """Contains information about the location of the data source.""" - metadata: dict[str, Document] | None = ... - """ - Contains metadata attributes and their values for the file in the data - source. For more information, see [Metadata and - filtering](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-ds.html#kb-ds-metadata). - """ - -@dataclass(kw_only=True) -class RetrieveInput(_SerdeShape): - """Dataclass for RetrieveInput structure.""" - - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base to query.""" - retrieval_query: KnowledgeBaseQuery | None = ... - """Contains the query to send the knowledge base.""" - retrieval_configuration: KnowledgeBaseRetrievalConfiguration | None = ... - """ - Contains configurations for the knowledge base query and retrieval - process. For more information, see [Query - configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html). - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """Guardrail settings.""" - next_token: str | None = ... - """ - If there are more results than can fit in the response, the response - returns a `nextToken`. Use this token in the `nextToken` field of - another request to retrieve the next batch of results. - """ - user_context: UserContext | None = ... - """ - Contains information about the user making the request. This is used for - access control filtering to ensure that retrieval results only include - documents the user is authorized to access. - """ - -@dataclass(kw_only=True) -class RetrieveOutput(_SerdeShape): - """Dataclass for RetrieveOutput structure.""" - - retrieval_results: list[KnowledgeBaseRetrievalResult] - """A list of results from querying the knowledge base.""" - guardrail_action: str | None = ... - """Specifies if there is a guardrail intervention in the response.""" - next_token: str | None = ... - """ - If there are more results than can fit in the response, the response - returns a `nextToken`. Use this token in the `nextToken` field of - another request to retrieve the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class RetrieverConfigurationKnowledgeBase(_SerdeShape): - """Configuration for a knowledge base retriever.""" - - value: KnowledgeBaseRetrieverConfiguration - -@dataclass -class RetrieverConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RetrieverConfiguration = Union[ - RetrieverConfigurationKnowledgeBase | RetrieverConfigurationUnknown -] -"""Configuration for a retriever, specified as a union of retriever types.""" - -class _RetrieverConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RetrieverConfiguration: ... - -@dataclass(kw_only=True) -class ReturnControlPayload(_SerdeShape): - """ - Contains information to return from the action group that the agent has - predicted to invoke. - - This data type is used in the following API operations: - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - """ - - invocation_inputs: list[InvocationInputMember] | None = ... - """ - A list of objects that contain information about the parameters and - inputs that need to be sent into the API operation or function, based on - what the agent determines from its session with the user. - """ - invocation_id: str | None = ... - """The identifier of the action group invocation.""" - -@dataclass(kw_only=True) -class ReturnControlResults(_SerdeShape): - """An action invocation result.""" - - invocation_id: str | None = ... - """The action's invocation ID.""" - return_control_invocation_results: list[InvocationResultMember] | None = ... - """The action invocation result.""" - -@dataclass(kw_only=True) -class RoutingClassifierModelInvocationOutput(_SerdeShape): - """Invocation output from a routing classifier model.""" - - trace_id: str | None = ... - """The invocation's trace ID.""" - raw_response: RawResponse | None = ... - """The invocation's raw response.""" - metadata: Metadata | None = ... - """The invocation's metadata.""" - -@dataclass -class RoutingClassifierTraceInvocationInput(_SerdeShape): - """The classifier's invocation input.""" - - value: InvocationInput - -@dataclass -class RoutingClassifierTraceObservation(_SerdeShape): - """The classifier's observation.""" - - value: Observation - -@dataclass -class RoutingClassifierTraceModelInvocationInput(_SerdeShape): - """The classifier's model invocation input.""" - - value: ModelInvocationInput - -@dataclass -class RoutingClassifierTraceModelInvocationOutput(_SerdeShape): - """The classifier's model invocation output.""" - - value: RoutingClassifierModelInvocationOutput - -@dataclass -class RoutingClassifierTraceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RoutingClassifierTrace = Union[ - RoutingClassifierTraceInvocationInput - | RoutingClassifierTraceObservation - | RoutingClassifierTraceModelInvocationInput - | RoutingClassifierTraceModelInvocationOutput - | RoutingClassifierTraceUnknown -] -"""A trace for a routing classifier.""" - -class _RoutingClassifierTraceDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RoutingClassifierTrace: ... - -@dataclass(kw_only=True) -class S3Identifier(_SerdeShape): - """The identifier information for an Amazon S3 bucket.""" - - s3_bucket_name: str | None = ... - """The name of the S3 bucket.""" - s3_object_key: str | None = ... - """The S3 object key for the S3 resource.""" - -@dataclass(kw_only=True) -class S3Location(_SerdeShape): - """Information about the Amazon S3 bucket where the image is stored.""" - - uri: str - """The path to the Amazon S3 bucket where the image is stored.""" - -@dataclass(kw_only=True) -class S3ObjectDoc(_SerdeShape): - """The unique wrapper object of the document from the S3 location.""" - - uri: str - """The file location of the S3 wrapper object.""" - -@dataclass(kw_only=True) -class S3ObjectFile(_SerdeShape): - """Contains details of the s3 object where the source file is located.""" - - uri: str - """The uri of the s3 object.""" - -@dataclass(kw_only=True) -class SatisfiedCondition(_SerdeShape): - """ - Represents a condition that was satisfied during a condition node - evaluation in a flow execution. - - Note: - Flow executions is in preview release for Amazon Bedrock and is subject - to change. - """ - - condition_name: str - """The name of the condition that was satisfied.""" - -class SearchType(UnknownEnumMixin, StrEnum): - HYBRID = "HYBRID" - SEMANTIC = "SEMANTIC" - -@dataclass(kw_only=True) -class ServiceQuotaExceededException(ServiceError, _SerdeShape): - """ - The number of requests exceeds the service quota. Resubmit your request - later. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SessionState(_SerdeShape): - """ - Contains parameters that specify various attributes that persist across - a session or prompt. You can define session state attributes as - key-value pairs when writing a [Lambda - function](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html) - for an action group or pass them when making an - [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) - request. Use session state attributes to control and provide - conversational context for your agent and to help customize your - agent's behavior. For more information, see [Control session - context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). - """ - - session_attributes: dict[str, str] | None = ... - """ - Contains attributes that persist across a session and the values of - those attributes. If `sessionAttributes` are passed to a supervisor - agent in [multi-agent - collaboration](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-multi-agent-collaboration.html), - it will be forwarded to all agent collaborators. - """ - prompt_session_attributes: dict[str, str] | None = ... - """ - Contains attributes that persist across a prompt and the values of those - attributes. - - - In orchestration prompt template, these attributes replace the - $prompt_session_attributes$ placeholder variable. For more - information, see [Prompt template placeholder - variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). - - - In [multi-agent - collaboration](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-multi-agent-collaboration.html), - the `promptSessionAttributes` will only be used by supervisor agent - when $prompt_session_attributes$ is present in prompt template. - """ - return_control_invocation_results: list[InvocationResultMember] | None = ... - """ - Contains information about the results from the action group invocation. - For more information, see [Return control to the agent - developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) - and [Control session - context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). - - Note: - If you include this field, the `inputText` field will be ignored. - """ - invocation_id: str | None = ... - """ - The identifier of the invocation of an action. This value must match the - `invocationId` returned in the `InvokeAgent` response for the action - whose results are provided in the `returnControlInvocationResults` - field. For more information, see [Return control to the agent - developer](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-returncontrol.html) - and [Control session - context](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html). - """ - files: list[InputFile] | None = ... - """Contains information about the files used by code interpreter.""" - knowledge_base_configurations: list[KnowledgeBaseConfiguration] | None = ... - """ - An array of configurations, each of which applies to a knowledge base - attached to the agent. - """ - conversation_history: ConversationHistory | None = ... - """The state's conversation history.""" - -class SessionStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - EXPIRED = "EXPIRED" - ENDED = "ENDED" - -@dataclass(kw_only=True) -class SessionSummary(_SerdeShape): - """ - Contains details about a session. For more information about sessions, - see [Store and retrieve conversation history and context with Amazon - Bedrock - sessions](https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html). - """ - - session_id: str - """The unique identifier for the session.""" - session_arn: str - """The Amazon Resource Name (ARN) of the session.""" - session_status: str - """The current status of the session.""" - created_at: datetime - """The timestamp for when the session was created.""" - last_updated_at: datetime - """The timestamp for when the session was last modified.""" - -class Source(UnknownEnumMixin, StrEnum): - ACTION_GROUP = "ACTION_GROUP" - KNOWLEDGE_BASE = "KNOWLEDGE_BASE" - PARSER = "PARSER" - -@dataclass(kw_only=True) -class Span(_SerdeShape): - """ - Contains information about where the text with a citation begins and - ends in the generated output. - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) - -- in the `span` field - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - -- in the `span` field - """ - - start: int | None = ... - """Where the text with a citation starts in the generated output.""" - end: int | None = ... - """Where the text with a citation ends in the generated output.""" - -@dataclass(kw_only=True) -class StartFlowExecutionInput(_SerdeShape): - """Dataclass for StartFlowExecutionInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow to execute.""" - flow_alias_identifier: str | None = ... - """The unique identifier of the flow alias to use for the flow execution.""" - flow_execution_name: str | None = ... - """ - The unique name for the flow execution. If you don't provide one, a - system-generated name is used. - """ - inputs: list[FlowInput] | None = ... - """ - The input data required for the flow execution. This must match the - input schema defined in the flow. - """ - model_performance_configuration: ModelPerformanceConfiguration | None = ... - """ - The performance settings for the foundation model used in the flow - execution. - """ - -@dataclass(kw_only=True) -class StartFlowExecutionOutput(_SerdeShape): - """Dataclass for StartFlowExecutionOutput structure.""" - - execution_arn: str | None = ... - """ - The Amazon Resource Name (ARN) that uniquely identifies the flow - execution. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopFlowExecutionInput(_SerdeShape): - """Dataclass for StopFlowExecutionInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - flow_alias_identifier: str | None = ... - """The unique identifier of the flow alias used for the execution.""" - execution_identifier: str | None = ... - """The unique identifier of the flow execution to stop.""" - -@dataclass(kw_only=True) -class StopFlowExecutionOutput(_SerdeShape): - """Dataclass for StopFlowExecutionOutput structure.""" - - execution_arn: str | None = ... - """ - The Amazon Resource Name (ARN) that uniquely identifies the flow - execution that was stopped. - """ - status: str - """ - The updated status of the flow execution after the stop request. This - will typically be ABORTED if the execution was successfully stopped. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StreamingConfigurations(_SerdeShape): - """Configurations for streaming.""" - - stream_final_response: bool = ... - """ - Specifies whether to enable streaming for the final response. This is - set to `false` by default. - """ - apply_guardrail_interval: int | None = ... - """ - The guardrail interval to apply as response is generated. By default, - the guardrail interval is set to 50 characters. If a larger interval is - specified, the response will be generated in larger chunks with fewer - `ApplyGuardrail` calls. The following examples show the response - generated for *Hello, I am an agent* input string. - - **Example response in chunks: Interval set to 3 characters** - - `'Hel', 'lo, ','I am', ' an', ' Age', 'nt'` - - Each chunk has at least 3 characters except for the last chunk - - **Example response in chunks: Interval set to 20 or more characters** - - `Hello, I am an Agent` - """ - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Dataclass for TagResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource to tag.""" - tags: dict[str, str] | None = ... - """ - An object containing key-value pairs that define the tags to attach to - the resource. - """ - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TextInferenceConfig(_SerdeShape): - """ - Configuration settings for text generation using a language model via - the RetrieveAndGenerate operation. Includes parameters like temperature, - top-p, maximum token count, and stop sequences. - - Note: - The valid range of `maxTokens` depends on the accepted values for your - chosen model's inference parameters. To see the inference parameters - for your model, see [Inference parameters for foundation - models.](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html) - """ - - temperature: float | None = ... - """ - Controls the random-ness of text generated by the language model, - influencing how much the model sticks to the most predictable next words - versus exploring more surprising options. A lower temperature value - (e.g. 0.2 or 0.3) makes model outputs more deterministic or predictable, - while a higher temperature (e.g. 0.8 or 0.9) makes the outputs more - creative or unpredictable. - """ - top_p: float | None = ... - """ - A probability distribution threshold which controls what the model - considers for the set of possible next tokens. The model will only - consider the top p% of the probability distribution when generating the - next token. - """ - max_tokens: int | None = ... - """ - The maximum number of tokens to generate in the output text. Do not use - the minimum of 0 or the maximum of 65536. The limit values described - here are arbitary values, for actual values consult the limits defined - by your specific model. - """ - stop_sequences: list[str] | None = ... - """ - A list of sequences of characters that, if generated, will cause the - model to stop generating further tokens. Do not use a minimum length of - 1 or a maximum length of 1000. The limit values described here are - arbitary values, for actual values consult the limits defined by your - specific model. - """ - -@dataclass(kw_only=True) -class TextPrompt(_SerdeShape): - """Contains information about the text prompt to optimize.""" - - text: str - """The text in the text prompt to optimize.""" - -@dataclass(kw_only=True) -class TextResponsePart(_SerdeShape): - """ - Contains the part of the generated text that contains a citation, - alongside where it begins and ends. - - This data type is used in the following API operations: - - - [RetrieveAndGenerate - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_ResponseSyntax) - -- in the `textResponsePart` field - - - [InvokeAgent - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html#API_agent-runtime_InvokeAgent_ResponseSyntax) - -- in the `textResponsePart` field - """ - - text: str | None = ... - """The part of the generated text that contains a citation.""" - span: Span | None = ... - """ - Contains information about where the text with a citation begins and - ends in the generated output. - """ - -@dataclass(kw_only=True) -class TextToSqlConfiguration(_SerdeShape): - """Contains configurations for transforming text to SQL.""" - - type: str - """The type of resource to use in transformation.""" - knowledge_base_configuration: TextToSqlKnowledgeBaseConfiguration | None = ... - """Specifies configurations for a knowledge base to use in transformation.""" - -class TextToSqlConfigurationType(UnknownEnumMixin, StrEnum): - KNOWLEDGE_BASE = "KNOWLEDGE_BASE" - -@dataclass(kw_only=True) -class TextToSqlKnowledgeBaseConfiguration(_SerdeShape): - """Contains configurations for a knowledge base to use in transformation.""" - - knowledge_base_arn: str - """The ARN of the knowledge base""" - -@dataclass(kw_only=True) -class ThrottlingException(ServiceError, _SerdeShape): - """The number of requests exceeds the limit. Resubmit your request later.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class TraceGuardrailTrace(_SerdeShape): - """The trace details for a trace defined in the Guardrail filter.""" - - value: GuardrailTrace - -@dataclass -class TracePreProcessingTrace(_SerdeShape): - """ - Details about the pre-processing step, in which the agent contextualizes - and categorizes user inputs. - """ - - value: PreProcessingTrace - -@dataclass -class TraceOrchestrationTrace(_SerdeShape): - """ - Details about the orchestration step, in which the agent determines the - order in which actions are executed and which knowledge bases are - retrieved. - """ - - value: OrchestrationTrace - -@dataclass -class TracePostProcessingTrace(_SerdeShape): - """ - Details about the post-processing step, in which the agent shapes the - response.. - """ - - value: PostProcessingTrace - -@dataclass -class TraceRoutingClassifierTrace(_SerdeShape): - """A routing classifier's trace.""" - - value: RoutingClassifierTrace - -@dataclass -class TraceFailureTrace(_SerdeShape): - """Contains information about the failure of the interaction.""" - - value: FailureTrace - -@dataclass -class TraceCustomOrchestrationTrace(_SerdeShape): - """ - Details about the custom orchestration step in which the agent - determines the order in which actions are executed. - """ - - value: CustomOrchestrationTrace - -@dataclass -class TraceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Trace = Union[ - TraceGuardrailTrace - | TracePreProcessingTrace - | TraceOrchestrationTrace - | TracePostProcessingTrace - | TraceRoutingClassifierTrace - | TraceFailureTrace - | TraceCustomOrchestrationTrace - | TraceUnknown -] -""" -Contains one part of the agent's reasoning process and results from -calling API actions and querying knowledge bases. You can use the trace -to understand how the agent arrived at the response it provided the -customer. For more information, see [Trace -enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). -""" - -class _TraceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Trace: ... - -@dataclass -class TraceElementsAgentTraces(_SerdeShape): - """Agent trace information for the flow execution.""" - - value: list[TracePart] - -@dataclass -class TraceElementsUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -TraceElements = Union[TraceElementsAgentTraces | TraceElementsUnknown] -"""Contains trace elements for flow execution tracking.""" - -class _TraceElementsDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> TraceElements: ... - -@dataclass(kw_only=True) -class TracePart(_SerdeShape): - """ - Contains information about the agent and session, alongside the agent's - reasoning process and results from calling API actions and querying - knowledge bases and metadata about the trace. You can use the trace to - understand how the agent arrived at the response it provided the - customer. For more information, see [Trace - enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). - """ - - session_id: str | None = ... - """The unique identifier of the session with the agent.""" - trace: Trace | None = ... - """ - Contains one part of the agent's reasoning process and results from - calling API actions and querying knowledge bases. You can use the trace - to understand how the agent arrived at the response it provided the - customer. For more information, see [Trace - enablement](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). - """ - caller_chain: list[Caller] | None = ... - """The part's caller chain.""" - event_time: datetime | None = ... - """The time of the trace.""" - collaborator_name: str | None = ... - """The part's collaborator name.""" - agent_id: str | None = ... - """The unique identifier of the agent.""" - agent_alias_id: str | None = ... - """The unique identifier of the alias of the agent.""" - agent_version: str | None = ... - """The version of the agent.""" - -@dataclass(kw_only=True) -class TransformationConfiguration(_SerdeShape): - """ - Contains configurations for transforming the natural language query into - SQL. - """ - - mode: str - """The mode of the transformation.""" - text_to_sql_configuration: TextToSqlConfiguration | None = ... - """Specifies configurations for transforming text to SQL.""" - -class Type(UnknownEnumMixin, StrEnum): - ACTION_GROUP = "ACTION_GROUP" - AGENT_COLLABORATOR = "AGENT_COLLABORATOR" - KNOWLEDGE_BASE = "KNOWLEDGE_BASE" - FINISH = "FINISH" - ASK_USER = "ASK_USER" - REPROMPT = "REPROMPT" - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Dataclass for UntagResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource from which to remove - tags. - """ - tag_keys: list[str] | None = ... - """A list of keys of the tags to remove from the resource.""" - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateSessionInput(_SerdeShape): - """Dataclass for UpdateSessionInput structure.""" - - session_metadata: dict[str, str] | None = ... - """ - A map of key-value pairs containing attributes to be persisted across - the session. For example the user's ID, their language preference, and - the type of device they are using. - """ - session_identifier: str | None = ... - """ - The unique identifier of the session to modify. You can specify either - the session's `sessionId` or its Amazon Resource Name (ARN). - """ - -@dataclass(kw_only=True) -class UpdateSessionOutput(_SerdeShape): - """Dataclass for UpdateSessionOutput structure.""" - - session_id: str - """The unique identifier of the session you updated.""" - session_arn: str - """The Amazon Resource Name (ARN) of the session that was updated.""" - session_status: str - """The status of the session you updated.""" - created_at: datetime - """The timestamp for when the session was created.""" - last_updated_at: datetime - """The timestamp for when the session was last modified.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Usage(_SerdeShape): - """Contains information of the usage of the foundation model.""" - - input_tokens: int | None = ... - """ - Contains information about the input tokens from the foundation model - usage. - """ - output_tokens: int | None = ... - """ - Contains information about the output tokens from the foundation model - usage. - """ - -@dataclass(kw_only=True) -class UserContext(_SerdeShape): - """ - Contains information about the user making the request. Use this to pass - user identity information for access control filtering, so that - retrieval results only include documents the user is authorized to - access. - """ - - user_id: str - """The identifier of the user making the retrieval request.""" - -@dataclass(kw_only=True) -class ValidationException(ServiceError, _SerdeShape): - """ - Input validation failed. Check your request parameters and retry the - request. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class VectorSearchBedrockRerankingConfiguration(_SerdeShape): - """ - Contains configurations for reranking with an Amazon Bedrock reranker - model. - """ - - model_configuration: VectorSearchBedrockRerankingModelConfiguration - """Contains configurations for the reranker model.""" - number_of_reranked_results: int | None = ... - """The number of results to return after reranking.""" - metadata_configuration: MetadataConfigurationForReranking | None = ... - """Contains configurations for the metadata to use in reranking.""" - -@dataclass(kw_only=True) -class VectorSearchBedrockRerankingModelConfiguration(_SerdeShape): - """Contains configurations for an Amazon Bedrock reranker model.""" - - model_arn: str - """The ARN of the reranker model to use.""" - additional_model_request_fields: dict[str, Document] | None = ... - """ - A JSON object whose keys are request fields for the model and whose - values are values for those fields. - """ - -@dataclass(kw_only=True) -class VectorSearchRerankingConfiguration(_SerdeShape): - """Contains configurations for reranking the retrieved results.""" - - type: str - """The type of reranker model.""" - bedrock_reranking_configuration: ( - VectorSearchBedrockRerankingConfiguration | None - ) = ... - """Contains configurations for an Amazon Bedrock reranker model.""" - -class VectorSearchRerankingConfigurationType(UnknownEnumMixin, StrEnum): - BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" - -@dataclass(kw_only=True) -class VideoSegment(_SerdeShape): - """ - Contains information about a video segment retrieved from a knowledge - base, including its location and summary. - - This data type is used in the following API operations: - - - [Retrieve - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax) - -- in the `video` field - """ - - s3_uri: str - """ - The S3 URI where this specific video segment is stored in the multimodal - storage destination. - """ - summary: str | None = ... - """A text summary describing the content of the video segment.""" - AGENTIC_RETRIEVE_STREAM: APIOperation[ AgenticRetrieveStreamInput, AgenticRetrieveStreamOutput ] diff --git a/clients/aws-sdk-bedrock-agent-runtime/tests/test_endpoints.py b/clients/aws-sdk-bedrock-agent-runtime/tests/test_endpoints.py index eae91fc48..cc8946dae 100644 --- a/clients/aws-sdk-bedrock-agent-runtime/tests/test_endpoints.py +++ b/clients/aws-sdk-bedrock-agent-runtime/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-bedrock-agent/pyproject.toml b/clients/aws-sdk-bedrock-agent/pyproject.toml index 142719613..1c5281330 100644 --- a/clients/aws-sdk-bedrock-agent/pyproject.toml +++ b/clients/aws-sdk-bedrock-agent/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_bedrock_agent" version = "0.12.0" -description = "aws_sdk_bedrock_agent client" +description = "Python client for Agents for Amazon Bedrock" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_bedrock_agent"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/models_0.pyi b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/models_0.pyi new file mode 100644 index 000000000..098b1ed1d --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/models_0.pyi @@ -0,0 +1,5543 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import JsonString, UnknownEnumMixin + +from ..models import ( + KnowledgeBaseOrchestrationConfiguration, + KnowledgeBasePromptTemplate, + LambdaFunctionFlowNodeConfiguration, + LastDayOfMonth, + LexFlowNodeConfiguration, + LoopControllerFlowNodeConfiguration, + LoopFlowNodeConfiguration, + LoopIncompatibleNodeTypeFlowValidationDetails, + LoopInputFlowNodeConfiguration, + MalformedConditionExpressionFlowValidationDetails, + MalformedNodeInputExpressionFlowValidationDetails, + ManagedKnowledgeBaseConfiguration, + ManagedKnowledgeBaseConnectorConfiguration, + MemoryConfiguration, + Message, + MetadataAttribute, + MetadataConfiguration, + MismatchedNodeInputTypeFlowValidationDetails, + MismatchedNodeOutputTypeFlowValidationDetails, + MissingConnectionConfigurationFlowValidationDetails, + MissingDefaultConditionFlowValidationDetails, + MissingEndingNodesFlowValidationDetails, + MissingLoopControllerNodeFlowValidationDetails, + MissingLoopInputNodeFlowValidationDetails, + MissingNodeConfigurationFlowValidationDetails, + MissingNodeInputFlowValidationDetails, + MissingNodeOutputFlowValidationDetails, + MissingStartingNodesFlowValidationDetails, + MultipleLoopControllerNodesFlowValidationDetails, + MultipleLoopInputNodesFlowValidationDetails, + MultipleNodeInputConnectionsFlowValidationDetails, + OrchestrationExecutor, + OutputFlowNodeConfiguration, + ParameterDetail, + ParsingPrompt, + PatternObjectFilterConfiguration, + PromptFlowNodeConfiguration, + PromptInferenceConfiguration, + PromptInputVariable, + PromptOverrideConfiguration, + PromptVariant, + RetrievalFlowNodeConfiguration, + RetrievalInstructionContent, + RetrievalInstructionFailureReason, + S3Content, + S3DataSourceConfiguration, + S3Identifier, + S3Location, + SalesforceDataSourceConfiguration, + SemanticChunkingConfiguration, + ServerSideEncryptionConfiguration, + ServiceError, + SharePointDataSourceConfiguration, + SqlKnowledgeBaseConfiguration, + StorageConfiguration, + StorageFlowNodeConfiguration, + SystemContentBlock, + TextContentDoc, + ToolConfiguration, + Transformation, + UnfulfilledNodeInputFlowValidationDetails, + UnknownConnectionConditionFlowValidationDetails, + UnknownConnectionSourceFlowValidationDetails, + UnknownConnectionSourceOutputFlowValidationDetails, + UnknownConnectionTargetFlowValidationDetails, + UnknownConnectionTargetInputFlowValidationDetails, + UnknownNodeInputFlowValidationDetails, + UnknownNodeOutputFlowValidationDetails, + UnreachableNodeFlowValidationDetails, + UnsatisfiedConnectionConditionsFlowValidationDetails, + UnspecifiedFlowValidationDetails, + VectorIngestionConfiguration, + VectorKnowledgeBaseConfiguration, + VectorSearchRerankingConfiguration, + VideoConfiguration, + VpcConfiguration, + WebDataSourceConfiguration, + _SerdeShape, +) + +class AccessControlAccess(UnknownEnumMixin, StrEnum): + """The access level for an access control entry.""" + + ALLOW = "ALLOW" + DENY = "DENY" + +class AccessControlPrincipalType(UnknownEnumMixin, StrEnum): + """The type of principal in an access control entry.""" + + USER = "USER" + +@dataclass(kw_only=True) +class AccessDeniedException(ServiceError, _SerdeShape): + """The request is denied because of missing access permissions.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ActionGroupExecutorLambda(_SerdeShape): + """ + The Amazon Resource Name (ARN) of the Lambda function containing the + business logic that is carried out upon invoking the action. + """ + + value: str + +@dataclass +class ActionGroupExecutorCustomControl(_SerdeShape): + """ + To return the action group invocation results directly in the + `InvokeAgent` response, specify `RETURN_CONTROL`. + """ + + value: str + +@dataclass +class ActionGroupExecutorUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ActionGroupExecutor = Union[ + ActionGroupExecutorLambda + | ActionGroupExecutorCustomControl + | ActionGroupExecutorUnknown +] +""" +Contains details about the Lambda function containing the business logic +that is carried out upon invoking the action or the custom control +method for handling the information elicited from the user. +""" + +class _ActionGroupExecutorDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ActionGroupExecutor: ... + +class ActionGroupSignature(UnknownEnumMixin, StrEnum): + AMAZON_USERINPUT = "AMAZON.UserInput" + AMAZON_CODEINTERPRETER = "AMAZON.CodeInterpreter" + ANTHROPIC_COMPUTER = "ANTHROPIC.Computer" + ANTHROPIC_BASH = "ANTHROPIC.Bash" + ANTHROPIC_TEXTEDITOR = "ANTHROPIC.TextEditor" + +class ActionGroupState(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class ActionGroupSummary(_SerdeShape): + """Contains details about an action group.""" + + action_group_id: str + """The unique identifier of the action group.""" + action_group_name: str + """The name of the action group.""" + action_group_state: str + """ + Specifies whether the action group is available for the agent to invoke + or not when sending an + [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) + request. + """ + description: str | None = ... + """The description of the action group.""" + updated_at: datetime + """The time at which the action group was last updated.""" + +@dataclass(kw_only=True) +class Agent(_SerdeShape): + """Contains details about an agent.""" + + agent_id: str + """The unique identifier of the agent.""" + agent_name: str + """The name of the agent.""" + agent_arn: str + """The Amazon Resource Name (ARN) of the agent.""" + agent_version: str + """The version of the agent.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + instruction: str | None = ... + """ + Instructions that tell the agent what it should do and how it should + interact with users. + """ + agent_status: str + """ + The status of the agent and whether it is ready for use. The following + statuses are possible: + + - CREATING -- The agent is being created. + + - PREPARING -- The agent is being prepared. + + - PREPARED -- The agent is prepared and ready to be invoked. + + - NOT_PREPARED -- The agent has been created but not yet prepared. + + - FAILED -- The agent API operation failed. + + - UPDATING -- The agent is being updated. + + - DELETING -- The agent is being deleted. + """ + foundation_model: str | None = ... + """The foundation model used for orchestration by the agent.""" + description: str | None = ... + """The description of the agent.""" + orchestration_type: str | None = ... + """Specifies the orchestration strategy for the agent.""" + custom_orchestration: CustomOrchestration | None = ... + """Contains custom orchestration configurations for the agent.""" + idle_session_ttl_in_seconds: int + """ + The number of seconds for which Amazon Bedrock keeps information about a + user's conversation with the agent. + + A user interaction remains active for the amount of time specified. If + no conversation occurs during this time, the session expires and Amazon + Bedrock deletes any data provided before the timeout. + """ + agent_resource_role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role with permissions to + invoke API operations on the agent. + """ + customer_encryption_key_arn: str | None = ... + """The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.""" + created_at: datetime + """The time at which the agent was created.""" + updated_at: datetime + """The time at which the agent was last updated.""" + prepared_at: datetime | None = ... + """The time at which the agent was last prepared.""" + failure_reasons: list[str] | None = ... + """Contains reasons that the agent-related API that you invoked failed.""" + recommended_actions: list[str] | None = ... + """ + Contains recommended actions to take for the agent-related API that you + invoked to succeed. + """ + prompt_override_configuration: PromptOverrideConfiguration | None = ... + """ + Contains configurations to override prompt templates in different parts + of an agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """Details about the guardrail associated with the agent.""" + memory_configuration: MemoryConfiguration | None = ... + """Contains memory configuration for the agent.""" + agent_collaboration: str | None = ... + """The agent's collaboration settings.""" + +@dataclass(kw_only=True) +class AgentActionGroup(_SerdeShape): + """Contains details about an action group.""" + + agent_id: str + """The unique identifier of the agent to which the action group belongs.""" + agent_version: str + """The version of the agent to which the action group belongs.""" + action_group_id: str + """The unique identifier of the action group.""" + action_group_name: str + """The name of the action group.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + description: str | None = ... + """The description of the action group.""" + created_at: datetime + """The time at which the action group was created.""" + updated_at: datetime + """The time at which the action group was last updated.""" + parent_action_signature: str | None = ... + """ + If this field is set as `AMAZON.UserInput`, the agent can request the + user for additional information when trying to complete a task. The + `description`, `apiSchema`, and `actionGroupExecutor` fields must be + blank for this action group. + + During orchestration, if the agent determines that it needs to invoke an + API in an action group, but doesn't have enough information to complete + the API request, it will invoke this action group instead and return an + [Observation](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html) + reprompting the user for more information. + """ + parent_action_group_signature_params: dict[str, str] | None = ... + """ + The configuration settings for a computer use action. + + Warning: + Computer use is a new Anthropic Claude model capability (in beta) + available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more + information, see [Configure an Amazon Bedrock Agent to complete tasks + with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). + """ + action_group_executor: ActionGroupExecutor | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda function containing the + business logic that is carried out upon invoking the action or the + custom control method for handling the information elicited from the + user. + """ + api_schema: APISchema | None = ... + """ + Contains either details about the S3 object containing the OpenAPI + schema for the action group or the JSON or YAML-formatted payload + defining the schema. For more information, see [Action group OpenAPI + schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). + """ + function_schema: FunctionSchema | None = ... + """ + Defines functions that each define parameters that the agent needs to + invoke from the user. Each function represents an action in an action + group. + """ + action_group_state: str + """ + Specifies whether the action group is available for the agent to invoke + or not when sending an + [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) + request. + """ + +@dataclass(kw_only=True) +class AgentAlias(_SerdeShape): + """Contains details about an alias of an agent.""" + + agent_id: str + """The unique identifier of the agent.""" + agent_alias_id: str + """The unique identifier of the alias of the agent.""" + agent_alias_name: str + """The name of the alias of the agent.""" + agent_alias_arn: str + """The Amazon Resource Name (ARN) of the alias of the agent.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + description: str | None = ... + """The description of the alias of the agent.""" + routing_configuration: list[AgentAliasRoutingConfigurationListItem] + """Contains details about the routing configuration of the alias.""" + created_at: datetime + """The time at which the alias of the agent was created.""" + updated_at: datetime + """The time at which the alias was last updated.""" + agent_alias_history_events: list[AgentAliasHistoryEvent] | None = ... + """Contains details about the history of the alias.""" + agent_alias_status: str + """ + The status of the alias of the agent and whether it is ready for use. + The following statuses are possible: + + - CREATING -- The agent alias is being created. + + - PREPARED -- The agent alias is finished being created or updated and + is ready to be invoked. + + - FAILED -- The agent alias API operation failed. + + - UPDATING -- The agent alias is being updated. + + - DELETING -- The agent alias is being deleted. + + - DISSOCIATED - The agent alias has no version associated with it. + """ + failure_reasons: list[str] | None = ... + """ + Information on the failure of Provisioned Throughput assigned to an + agent alias. + """ + alias_invocation_state: str | None = ... + """ + The invocation state for the agent alias. If the agent alias is running, + the value is `ACCEPT_INVOCATIONS`. If the agent alias is paused, the + value is `REJECT_INVOCATIONS`. Use the `UpdateAgentAlias` operation to + change the invocation state. + """ + +@dataclass(kw_only=True) +class AgentAliasHistoryEvent(_SerdeShape): + """Contains details about the history of the alias.""" + + routing_configuration: list[AgentAliasRoutingConfigurationListItem] | None = ... + """ + Contains details about the version of the agent with which the alias is + associated. + """ + end_date: datetime | None = ... + """ + The date that the alias stopped being associated to the version in the + `routingConfiguration` object + """ + start_date: datetime | None = ... + """ + The date that the alias began being associated to the version in the + `routingConfiguration` object. + """ + +@dataclass(kw_only=True) +class AgentAliasRoutingConfigurationListItem(_SerdeShape): + """Contains details about the routing configuration of the alias.""" + + agent_version: str | None = ... + """The version of the agent with which the alias is associated.""" + provisioned_throughput: str | None = ... + """Information on the Provisioned Throughput assigned to an agent alias.""" + +class AgentAliasStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + PREPARED = "PREPARED" + FAILED = "FAILED" + UPDATING = "UPDATING" + DELETING = "DELETING" + DISSOCIATED = "DISSOCIATED" + +@dataclass(kw_only=True) +class AgentAliasSummary(_SerdeShape): + """Contains details about an alias of an agent.""" + + agent_alias_id: str + """Contains details about""" + agent_alias_name: str + """The name of the alias.""" + description: str | None = ... + """The description of the alias.""" + routing_configuration: list[AgentAliasRoutingConfigurationListItem] | None = ... + """ + Contains details about the version of the agent with which the alias is + associated. + """ + agent_alias_status: str + """The status of the alias.""" + created_at: datetime + """The time at which the alias of the agent was created.""" + updated_at: datetime + """The time at which the alias was last updated.""" + alias_invocation_state: str | None = ... + """ + The invocation state for the agent alias. If the agent alias is running, + the value is `ACCEPT_INVOCATIONS`. If the agent alias is paused, the + value is `REJECT_INVOCATIONS`. Use the `UpdateAgentAlias` operation to + change the invocation state. + """ + +class AgentCollaboration(UnknownEnumMixin, StrEnum): + SUPERVISOR = "SUPERVISOR" + SUPERVISOR_ROUTER = "SUPERVISOR_ROUTER" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class AgentCollaborator(_SerdeShape): + """An agent collaborator.""" + + agent_id: str + """The collaborator's agent ID.""" + agent_version: str + """The collaborator's agent version.""" + agent_descriptor: AgentDescriptor + """The collaborator's agent descriptor.""" + collaborator_id: str + """The collaborator's collaborator ID.""" + collaboration_instruction: str + """The collaborator's instructions.""" + collaborator_name: str + """The collaborator's collaborator name.""" + created_at: datetime + """When the collaborator was created.""" + last_updated_at: datetime + """When the collaborator was updated.""" + relay_conversation_history: str | None = ... + """The collaborator's relay conversation history.""" + client_token: str | None = ... + """The collaborator's client token.""" + +@dataclass(kw_only=True) +class AgentCollaboratorSummary(_SerdeShape): + """An agent collaborator summary.""" + + agent_id: str + """The collaborator's agent ID.""" + agent_version: str + """The collaborator's agent version.""" + collaborator_id: str + """The collaborator's ID.""" + agent_descriptor: AgentDescriptor + """The collaborator's agent descriptor.""" + collaboration_instruction: str + """The collaborator's collaboration instruction.""" + relay_conversation_history: str + """The collaborator's relay conversation history.""" + collaborator_name: str + """The collaborator's name.""" + created_at: datetime + """When the collaborator was created.""" + last_updated_at: datetime + """When the collaborator was last updated.""" + +@dataclass(kw_only=True) +class AgentDescriptor(_SerdeShape): + """An agent descriptor.""" + + alias_arn: str | None = ... + """The agent's alias ARN.""" + +@dataclass(kw_only=True) +class AgentFlowNodeConfiguration(_SerdeShape): + """ + Defines an agent node in your flow. You specify the agent to invoke at + this point in the flow. For more information, see [Node types in a + flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) + in the Amazon Bedrock User Guide. + """ + + agent_alias_arn: str = ... + """The Amazon Resource Name (ARN) of the alias of the agent to invoke.""" + +@dataclass(kw_only=True) +class AgentKnowledgeBase(_SerdeShape): + """ + Contains details about a knowledge base that is associated with an + agent. + """ + + agent_id: str + """ + The unique identifier of the agent with which the knowledge base is + associated. + """ + agent_version: str + """The version of the agent with which the knowledge base is associated.""" + knowledge_base_id: str + """ + The unique identifier of the association between the agent and the + knowledge base. + """ + description: str + """ + The description of the association between the agent and the knowledge + base. + """ + created_at: datetime + """ + The time at which the association between the agent and the knowledge + base was created. + """ + updated_at: datetime + """ + The time at which the association between the agent and the knowledge + base was last updated. + """ + knowledge_base_state: str + """ + Specifies whether to use the knowledge base or not when sending an + [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) + request. + """ + +@dataclass(kw_only=True) +class AgentKnowledgeBaseSummary(_SerdeShape): + """Contains details about a knowledge base associated with an agent.""" + + knowledge_base_id: str + """The unique identifier of the knowledge base associated with an agent.""" + description: str | None = ... + """The description of the knowledge base associated with an agent.""" + knowledge_base_state: str + """ + Specifies whether the agent uses the knowledge base or not when sending + an + [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) + request. + """ + updated_at: datetime + """ + The time at which the knowledge base associated with an agent was last + updated. + """ + +class AgentStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + PREPARING = "PREPARING" + PREPARED = "PREPARED" + NOT_PREPARED = "NOT_PREPARED" + DELETING = "DELETING" + FAILED = "FAILED" + VERSIONING = "VERSIONING" + UPDATING = "UPDATING" + +@dataclass(kw_only=True) +class AgentSummary(_SerdeShape): + """Contains details about an agent.""" + + agent_id: str + """The unique identifier of the agent.""" + agent_name: str + """The name of the agent.""" + agent_status: str + """The status of the agent.""" + description: str | None = ... + """The description of the agent.""" + updated_at: datetime + """The time at which the agent was last updated.""" + latest_agent_version: str | None = ... + """The latest version of the agent.""" + guardrail_configuration: GuardrailConfiguration | None = ... + """Details about the guardrail associated with the agent.""" + +@dataclass(kw_only=True) +class AgentVersion(_SerdeShape): + """Contains details about a version of an agent.""" + + agent_id: str + """The unique identifier of the agent that the version belongs to.""" + agent_name: str + """The name of the agent that the version belongs to.""" + agent_arn: str + """The Amazon Resource Name (ARN) of the agent that the version belongs to.""" + version: str + """The version number.""" + instruction: str | None = ... + """The instructions provided to the agent.""" + agent_status: str + """The status of the agent that the version belongs to.""" + foundation_model: str | None = ... + """The foundation model that the version invokes.""" + description: str | None = ... + """The description of the version.""" + idle_session_ttl_in_seconds: int + """ + The number of seconds for which Amazon Bedrock keeps information about a + user's conversation with the agent. + + A user interaction remains active for the amount of time specified. If + no conversation occurs during this time, the session expires and Amazon + Bedrock deletes any data provided before the timeout. + """ + agent_resource_role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role with permissions to + invoke API operations on the agent. + """ + customer_encryption_key_arn: str | None = ... + """The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.""" + created_at: datetime + """The time at which the version was created.""" + updated_at: datetime + """The time at which the version was last updated.""" + failure_reasons: list[str] | None = ... + """A list of reasons that the API operation on the version failed.""" + recommended_actions: list[str] | None = ... + """ + A list of recommended actions to take for the failed API operation on + the version to succeed. + """ + prompt_override_configuration: PromptOverrideConfiguration | None = ... + """ + Contains configurations to override prompt templates in different parts + of an agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """Details about the guardrail associated with the agent.""" + memory_configuration: MemoryConfiguration | None = ... + """ + Contains details of the memory configuration on the version of the + agent. + """ + agent_collaboration: str | None = ... + """The agent's collaboration settings.""" + +@dataclass(kw_only=True) +class AgentVersionSummary(_SerdeShape): + """Contains details about a version of an agent.""" + + agent_name: str + """The name of the agent to which the version belongs.""" + agent_status: str + """The status of the agent to which the version belongs.""" + agent_version: str + """The version of the agent.""" + created_at: datetime + """The time at which the version was created.""" + updated_at: datetime + """The time at which the version was last updated.""" + description: str | None = ... + """The description of the version of the agent.""" + guardrail_configuration: GuardrailConfiguration | None = ... + """Details about the guardrail associated with the agent.""" + +class AliasInvocationState(UnknownEnumMixin, StrEnum): + """Enum representing the invocation state of an agent alias""" + + ACCEPT_INVOCATIONS = "ACCEPT_INVOCATIONS" + """Agent is actively processing requests""" + REJECT_INVOCATIONS = "REJECT_INVOCATIONS" + """Agent is paused and will not accept new requests""" + +@dataclass(kw_only=True) +class AnyToolChoice(_SerdeShape): + """ + Defines tools, at least one of which must be requested by the model. No + text is generated but the results of tool use are sent back to the model + to help generate a response. For more information, see [Use a tool to + complete an Amazon Bedrock model + response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). + """ + +@dataclass +class APISchemaS3(_SerdeShape): + """ + Contains details about the S3 object containing the OpenAPI schema for + the action group. For more information, see [Action group OpenAPI + schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). + """ + + value: S3Identifier + +@dataclass +class APISchemaPayload(_SerdeShape): + """ + The JSON or YAML-formatted payload defining the OpenAPI schema for the + action group. For more information, see [Action group OpenAPI + schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). + """ + + value: str + +@dataclass +class APISchemaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +APISchema = Union[APISchemaS3 | APISchemaPayload | APISchemaUnknown] +""" +Contains details about the OpenAPI schema for the action group. For more +information, see [Action group OpenAPI +schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). +You can either include the schema directly in the `payload` field or you +can upload it to an S3 bucket and specify the S3 bucket location in the +`s3` field. +""" + +class _APISchemaDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> APISchema: ... + +@dataclass(kw_only=True) +class AssociateAgentCollaboratorInput(_SerdeShape): + """Dataclass for AssociateAgentCollaboratorInput structure.""" + + agent_id: str | None = ... + """The agent's ID.""" + agent_version: str | None = ... + """An agent version.""" + agent_descriptor: AgentDescriptor | None = ... + """The alias of the collaborator agent.""" + collaborator_name: str | None = ... + """A name for the collaborator.""" + collaboration_instruction: str | None = ... + """Instruction for the collaborator.""" + relay_conversation_history: str | None = ... + """A relay conversation history for the collaborator.""" + client_token: str | None = ... + """ + A client token. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class AssociateAgentCollaboratorOutput(_SerdeShape): + """Dataclass for AssociateAgentCollaboratorOutput structure.""" + + agent_collaborator: AgentCollaborator + """Details about the collaborator.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateAgentKnowledgeBaseInput(_SerdeShape): + """Dataclass for AssociateAgentKnowledgeBaseInput structure.""" + + agent_id: str | None = ... + """ + The unique identifier of the agent with which you want to associate the + knowledge base. + """ + agent_version: str | None = ... + """ + The version of the agent with which you want to associate the knowledge + base. + """ + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base to associate with the agent.""" + description: str | None = ... + """A description of what the agent should use the knowledge base for.""" + knowledge_base_state: str | None = ... + """ + Specifies whether to use the knowledge base or not when sending an + [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) + request. + """ + +@dataclass(kw_only=True) +class AssociateAgentKnowledgeBaseOutput(_SerdeShape): + """Dataclass for AssociateAgentKnowledgeBaseOutput structure.""" + + agent_knowledge_base: AgentKnowledgeBase + """ + Contains details about the knowledge base that has been associated with + the agent. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AudioConfiguration(_SerdeShape): + """ + Configuration settings for processing audio content in multimodal + knowledge bases. + """ + + segmentation_configuration: AudioSegmentationConfiguration + """Configuration for segmenting audio content during processing.""" + +@dataclass(kw_only=True) +class AudioExtractionConfiguration(_SerdeShape): + """Configuration for audio extraction.""" + + audio_extraction_status: str + """Whether audio extraction is enabled or disabled.""" + +@dataclass(kw_only=True) +class AudioSegmentationConfiguration(_SerdeShape): + """ + Configuration for segmenting audio content during multimodal knowledge + base ingestion. Determines how audio files are divided into chunks for + processing. + """ + + fixed_length_duration: int + """ + The duration in seconds for each audio segment. Audio files will be + divided into chunks of this length for processing. + """ + +@dataclass(kw_only=True) +class AutoToolChoice(_SerdeShape): + """ + Defines tools. The model automatically decides whether to call a tool or + to generate text instead. For more information, see [Use a tool to + complete an Amazon Bedrock model + response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). + """ + +@dataclass(kw_only=True) +class BedrockDataAutomationConfiguration(_SerdeShape): + """ + Contains configurations for using Amazon Bedrock Data Automation as the + parser for ingesting your data sources. + """ + + parsing_modality: str | None = ... + """ + Specifies whether to enable parsing of multimodal data, including both + text and/or images. + """ + +@dataclass(kw_only=True) +class BedrockEmbeddingModelConfiguration(_SerdeShape): + """The vector configuration details for the Bedrock embeddings model.""" + + dimensions: int | None = ... + """ + The dimensions details for the vector configuration used on the Bedrock + embeddings model. + """ + embedding_data_type: str | None = ... + """ + The data type for the vectors when using a model to convert text into + vector embeddings. The model must support the specified data type for + vector embeddings. Floating-point (float32) is the default data type, + and is supported by most models for vector embeddings. See [Supported + embeddings + models](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html) + for information on the available models and their vector data types. + """ + audio: list[AudioConfiguration] | None = ... + """ + Configuration settings for processing audio content in multimodal + knowledge bases. + + Warning: + This field is deprecated. Use `modelConfiguration` instead. + """ + video: list[VideoConfiguration] | None = ... + """ + Configuration settings for processing video content in multimodal + knowledge bases. + + Warning: + This field is deprecated. Use `modelConfiguration` instead. + """ + model_configuration: Document | None = ... + """ + Model-specific configuration for the embedding model, provided as a JSON + object. Use this field to specify settings that apply to the embedding + model that you selected, such as how audio and video files are divided + into segments. + + The fields that this object accepts depend on the embedding model. For + the settings that each model accepts, see the documentation for that + model. + + For an example of a + [CreateKnowledgeBase](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html) + request that uses this field to configure a multimodal embedding model, + see the + [Examples](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html#API_agent_CreateKnowledgeBase_Examples) + section of + [CreateKnowledgeBase](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html). + """ + +@dataclass(kw_only=True) +class BedrockFoundationModelConfiguration(_SerdeShape): + """ + Settings for a foundation model used to parse documents for a data + source. + """ + + model_arn: str + """The ARN of the foundation model to use for parsing.""" + parsing_prompt: ParsingPrompt | None = ... + """Instructions for interpreting the contents of a document.""" + parsing_modality: str | None = ... + """ + Specifies whether to enable parsing of multimodal data, including both + text and/or images. + """ + +@dataclass(kw_only=True) +class BedrockFoundationModelContextEnrichmentConfiguration(_SerdeShape): + """ + Context enrichment configuration is used to provide additional context + to the RAG application using Amazon Bedrock foundation models. + """ + + enrichment_strategy_configuration: EnrichmentStrategyConfiguration + """ + The enrichment stategy used to provide additional context. For example, + Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk + entity extraction. + """ + model_arn: str + """ + The Amazon Resource Name (ARN) of the model used to create vector + embeddings for the knowledge base. + """ + +@dataclass(kw_only=True) +class ByteContentDoc(_SerdeShape): + """Contains information about content defined inline in bytes.""" + + mime_type: str + """ + The MIME type of the content. For a list of MIME types, see [Media + Types](https://www.iana.org/assignments/media-types/media-types.xhtml). + The following MIME types are supported: + + - text/plain + + - text/html + + - text/csv + + - text/vtt + + - message/rfc822 + + - application/xhtml+xml + + - application/pdf + + - application/msword + + - application/vnd.ms-word.document.macroenabled.12 + + - application/vnd.ms-word.template.macroenabled.12 + + - application/vnd.ms-excel + + - application/vnd.ms-excel.addin.macroenabled.12 + + - application/vnd.ms-excel.sheet.macroenabled.12 + + - application/vnd.ms-excel.template.macroenabled.12 + + - application/vnd.ms-excel.sheet.binary.macroenabled.12 + + - application/vnd.ms-spreadsheetml + + - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + + - application/vnd.openxmlformats-officedocument.spreadsheetml.template + + - application/vnd.openxmlformats-officedocument.wordprocessingml.document + + - application/vnd.openxmlformats-officedocument.wordprocessingml.template + """ + data: bytes + """The base64-encoded string of the content.""" + +@dataclass(kw_only=True) +class CachePointBlock(_SerdeShape): + """ + Indicates where a cache checkpoint is located. All information before + this checkpoint is cached to be accessed on subsequent requests. + """ + + type: str + """Indicates that the CachePointBlock is of the default type""" + +class CachePointType(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + +@dataclass(kw_only=True) +class ChatPromptTemplateConfiguration(_SerdeShape): + """ + Contains configurations to use a prompt in a conversational format. For + more information, see [Create a prompt using Prompt + management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). + """ + + messages: list[Message] + """Contains messages in the chat for the prompt.""" + system: list[SystemContentBlock] | None = ... + """ + Contains system prompts to provide context to the model or to describe + how it should behave. + """ + input_variables: list[PromptInputVariable] | None = ... + """An array of the variables in the prompt template.""" + tool_configuration: ToolConfiguration | None = ... + """ + Configuration information for the tools that the model can use when + generating a response. + """ + +@dataclass(kw_only=True) +class ChunkingConfiguration(_SerdeShape): + """ + Details about how to chunk the documents in the data source. A *chunk* + refers to an excerpt from a data source that is returned when the + knowledge base that it belongs to is queried. + """ + + chunking_strategy: str + """ + Knowledge base can split your source data into chunks. A *chunk* refers + to an excerpt from a data source that is returned when the knowledge + base that it belongs to is queried. You have the following options for + chunking your data. If you opt for `NONE`, then you may want to + pre-process your files by splitting them up such that each file + corresponds to a chunk. + + - `FIXED_SIZE` -- Amazon Bedrock splits your source data into chunks of + the approximate size that you set in the + `fixedSizeChunkingConfiguration`. + + - `HIERARCHICAL` -- Split documents into layers of chunks where the + first layer contains large chunks, and the second layer contains + smaller chunks derived from the first layer. + + - `SEMANTIC` -- Split documents into chunks based on groups of similar + content derived with natural language processing. + + - `NONE` -- Amazon Bedrock treats each file as one chunk. If you choose + this option, you may want to pre-process your documents by splitting + them into separate files. + """ + fixed_size_chunking_configuration: FixedSizeChunkingConfiguration | None = ... + """ + Configurations for when you choose fixed-size chunking. If you set the + `chunkingStrategy` as `NONE`, exclude this field. + """ + hierarchical_chunking_configuration: HierarchicalChunkingConfiguration | None = ... + """ + Settings for hierarchical document chunking for a data source. + Hierarchical chunking splits documents into layers of chunks where the + first layer contains large chunks, and the second layer contains smaller + chunks derived from the first layer. + """ + semantic_chunking_configuration: SemanticChunkingConfiguration | None = ... + """ + Settings for semantic document chunking for a data source. Semantic + chunking splits a document into into smaller documents based on groups + of similar content derived from the text with natural language + processing. + """ + +class ChunkingStrategy(UnknownEnumMixin, StrEnum): + FIXED_SIZE = "FIXED_SIZE" + NONE = "NONE" + HIERARCHICAL = "HIERARCHICAL" + SEMANTIC = "SEMANTIC" + +@dataclass(kw_only=True) +class CollectorFlowNodeConfiguration(_SerdeShape): + """ + Defines a collector node in your flow. This node takes an iteration of + inputs and consolidates them into an array in the output. For more + information, see [Node types in a + flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) + in the Amazon Bedrock User Guide. + """ + +class ConcurrencyType(UnknownEnumMixin, StrEnum): + AUTOMATIC = "Automatic" + MANUAL = "Manual" + +@dataclass(kw_only=True) +class ConditionFlowNodeConfiguration(_SerdeShape): + """ + Defines a condition node in your flow. You can specify conditions that + determine which node comes next in the flow. For more information, see + [Node types in a + flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) + in the Amazon Bedrock User Guide. + """ + + conditions: list[FlowCondition] + """ + An array of conditions. Each member contains the name of a condition and + an expression that defines the condition. + """ + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """There was a conflict performing an operation.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ConfluenceAuthType(UnknownEnumMixin, StrEnum): + BASIC = "BASIC" + OAUTH2_CLIENT_CREDENTIALS = "OAUTH2_CLIENT_CREDENTIALS" + +@dataclass(kw_only=True) +class ConfluenceCrawlerConfiguration(_SerdeShape): + """ + The configuration of the Confluence content. For example, configuring + specific types of Confluence content. + """ + + filter_configuration: CrawlFilterConfiguration | None = ... + """ + The configuration of filtering the Confluence content. For example, + configuring regular expression patterns to include or exclude certain + content. + """ + +@dataclass(kw_only=True) +class ConfluenceDataSourceConfiguration(_SerdeShape): + """ + The configuration information to connect to Confluence as your data + source for self-managed knowledge bases. + """ + + source_configuration: ConfluenceSourceConfiguration + """The endpoint information to connect to your Confluence data source.""" + crawler_configuration: ConfluenceCrawlerConfiguration | None = ... + """ + The configuration of the Confluence content. For example, configuring + specific types of Confluence content. + """ + +class ConfluenceHostType(UnknownEnumMixin, StrEnum): + SAAS = "SAAS" + +@dataclass(kw_only=True) +class ConfluenceSourceConfiguration(_SerdeShape): + """The endpoint information to connect to your Confluence data source.""" + + host_url: str + """The Confluence host URL or instance URL.""" + host_type: str + """The supported host type, whether online/cloud or server/on-premises.""" + auth_type: str + """ + The supported authentication type to authenticate and connect to your + Confluence instance. + """ + credentials_secret_arn: str + """ + The Amazon Resource Name of an Secrets Manager secret that stores your + authentication credentials for your Confluence instance URL. For more + information on the key-value pairs that must be included in your secret, + depending on your authentication type, see [Confluence connection + configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/confluence-data-source-connector.html#configuration-confluence-connector). + """ + +@dataclass +class ContentBlockText(_SerdeShape): + """The text in the message.""" + + value: str + +@dataclass +class ContentBlockCachePoint(_SerdeShape): + """Creates a cache checkpoint within a message.""" + + value: CachePointBlock + +@dataclass +class ContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ContentBlock = Union[ContentBlockText | ContentBlockCachePoint | ContentBlockUnknown] +""" +Contains the content for the message you pass to, or receive from a +model. For more information, see [Create a prompt using Prompt +management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). +""" + +class _ContentBlockDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ContentBlock: ... + +class ContentDataSourceType(UnknownEnumMixin, StrEnum): + CUSTOM = "CUSTOM" + S3 = "S3" + +@dataclass(kw_only=True) +class ContextEnrichmentConfiguration(_SerdeShape): + """ + Context enrichment configuration is used to provide additional context + to the RAG application. + """ + + type: str + """ + The method used for context enrichment. It must be Amazon Bedrock + foundation models. + """ + bedrock_foundation_model_configuration: ( + BedrockFoundationModelContextEnrichmentConfiguration | None + ) = ... + """ + The configuration of the Amazon Bedrock foundation model used for + context enrichment. + """ + +class ContextEnrichmentType(UnknownEnumMixin, StrEnum): + BEDROCK_FOUNDATION_MODEL = "BEDROCK_FOUNDATION_MODEL" + +class ConversationRole(UnknownEnumMixin, StrEnum): + USER = "user" + ASSISTANT = "assistant" + +@dataclass(kw_only=True) +class CrawlFilterConfiguration(_SerdeShape): + """ + The configuration of filtering the data source content. For example, + configuring regular expression patterns to include or exclude certain + content. + """ + + type: str + """ + The type of filtering that you want to apply to certain objects or + content of the data source. For example, the `PATTERN` type is regular + expression patterns you can apply to filter your content. + """ + pattern_object_filter: PatternObjectFilterConfiguration | None = ... + """ + The configuration of filtering certain objects or content types of the + data source. + """ + +class CrawlFilterConfigurationType(UnknownEnumMixin, StrEnum): + PATTERN = "PATTERN" + +@dataclass(kw_only=True) +class CreateAgentActionGroupInput(_SerdeShape): + """Dataclass for CreateAgentActionGroupInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent for which to create the action group.""" + agent_version: str | None = ... + """The version of the agent for which to create the action group.""" + action_group_name: str | None = ... + """The name to give the action group.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + description: str | None = ... + """A description of the action group.""" + parent_action_group_signature: str | None = ... + """ + Specify a built-in or computer use action for this action group. If you + specify a value, you must leave the `description`, `apiSchema`, and + `actionGroupExecutor` fields empty for this action group. + + - To allow your agent to request the user for additional information + when trying to complete a task, set this field to `AMAZON.UserInput`. + + - To allow your agent to generate, run, and troubleshoot code when + trying to complete a task, set this field to `AMAZON.CodeInterpreter`. + + - To allow your agent to use an Anthropic computer use tool, specify one + of the following values. + + Warning: + Computer use is a new Anthropic Claude model capability (in beta) + available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 + only. When operating computer use functionality, we recommend taking + additional security precautions, such as executing computer actions in + virtual environments with restricted data access and limited internet + connectivity. For more information, see [Configure an Amazon Bedrock + Agent to complete tasks with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). + + - `ANTHROPIC.Computer` - Gives the agent permission to use the mouse + and keyboard and take screenshots. + + - `ANTHROPIC.TextEditor` - Gives the agent permission to view, create + and edit files. + + - `ANTHROPIC.Bash` - Gives the agent permission to run commands in a + bash shell. + """ + parent_action_group_signature_params: dict[str, str] | None = ... + """ + The configuration settings for a computer use action. + + Warning: + Computer use is a new Anthropic Claude model capability (in beta) + available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 + only. For more information, see [Configure an Amazon Bedrock Agent to + complete tasks with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). + """ + action_group_executor: ActionGroupExecutor | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda function containing the + business logic that is carried out upon invoking the action or the + custom control method for handling the information elicited from the + user. + """ + api_schema: APISchema | None = ... + """ + Contains either details about the S3 object containing the OpenAPI + schema for the action group or the JSON or YAML-formatted payload + defining the schema. For more information, see [Action group OpenAPI + schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). + """ + action_group_state: str | None = ... + """ + Specifies whether the action group is available for the agent to invoke + or not when sending an + [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) + request. + """ + function_schema: FunctionSchema | None = ... + """ + Contains details about the function schema for the action group or the + JSON or YAML-formatted payload defining the schema. + """ + +@dataclass(kw_only=True) +class CreateAgentActionGroupOutput(_SerdeShape): + """Dataclass for CreateAgentActionGroupOutput structure.""" + + agent_action_group: AgentActionGroup + """Contains details about the action group that was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAgentAliasInput(_SerdeShape): + """Dataclass for CreateAgentAliasInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent.""" + agent_alias_name: str | None = ... + """The name of the alias.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + description: str | None = ... + """A description of the alias of the agent.""" + routing_configuration: list[AgentAliasRoutingConfigurationListItem] | None = ... + """Contains details about the routing configuration of the alias.""" + tags: dict[str, str] | None = ... + """Any tags that you want to attach to the alias of the agent.""" + +@dataclass(kw_only=True) +class CreateAgentAliasOutput(_SerdeShape): + """Dataclass for CreateAgentAliasOutput structure.""" + + agent_alias: AgentAlias + """Contains details about the alias that was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAgentInput(_SerdeShape): + """Dataclass for CreateAgentInput structure.""" + + agent_name: str | None = ... + """A name for the agent that you create.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + instruction: str | None = ... + """ + Instructions that tell the agent what it should do and how it should + interact with users. + """ + foundation_model: str | None = ... + """ + The identifier for the model that you want to be used for orchestration + by the agent you create. + + The `modelId` to provide depends on the type of model or throughput that + you use: + + - If you use a base model, specify the model ID or its ARN. For a list + of model IDs for base models, see [Amazon Bedrock base model IDs + (on-demand + throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) + in the Amazon Bedrock User Guide. + + - If you use an inference profile, specify the inference profile ID or + its ARN. For a list of inference profile IDs, see [Supported Regions + and models for cross-region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) + in the Amazon Bedrock User Guide. + + - If you use a provisioned model, specify the ARN of the Provisioned + Throughput. For more information, see [Run inference using a + Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) + in the Amazon Bedrock User Guide. + + - If you use a custom model, first purchase Provisioned Throughput for + it. Then specify the ARN of the resulting provisioned model. For more + information, see [Use a custom model in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) + in the Amazon Bedrock User Guide. + + - If you use an [imported + model](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html), + specify the ARN of the imported model. You can get the model ARN from + a successful call to + [CreateModelImportJob](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html) + or from the Imported models page in the Amazon Bedrock console. + """ + description: str | None = ... + """A description of the agent.""" + orchestration_type: str | None = ... + """ + Specifies the type of orchestration strategy for the agent. This is set + to `DEFAULT` orchestration type, by default. + """ + custom_orchestration: CustomOrchestration | None = ... + """Contains details of the custom orchestration configured for the agent.""" + idle_session_ttl_in_seconds: int | None = ... + """ + The number of seconds for which Amazon Bedrock keeps information about a + user's conversation with the agent. + + A user interaction remains active for the amount of time specified. If + no conversation occurs during this time, the session expires and Amazon + Bedrock deletes any data provided before the timeout. + """ + agent_resource_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role with permissions to + invoke API operations on the agent. + """ + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key with which to encrypt the + agent. + """ + tags: dict[str, str] | None = ... + """Any tags that you want to attach to the agent.""" + prompt_override_configuration: PromptOverrideConfiguration | None = ... + """ + Contains configurations to override prompts in different parts of an + agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """ + The unique Guardrail configuration assigned to the agent when it is + created. + """ + memory_configuration: MemoryConfiguration | None = ... + """Contains the details of the memory configured for the agent.""" + agent_collaboration: str | None = ... + """The agent's collaboration role.""" + +@dataclass(kw_only=True) +class CreateAgentOutput(_SerdeShape): + """Dataclass for CreateAgentOutput structure.""" + + agent: Agent + """Contains details about the agent created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDataSourceInput(_SerdeShape): + """Dataclass for CreateDataSourceInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base to which to add the data + source. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + name: str | None = ... + """The name of the data source.""" + description: str | None = ... + """A description of the data source.""" + data_source_configuration: DataSourceConfiguration | None = ... + """The connection configuration for the data source.""" + data_deletion_policy: str | None = ... + """ + The data deletion policy for the data source. + + You can set the data deletion policy to: + + - DELETE: Deletes all data from your data source that's converted into + vector embeddings upon deletion of a knowledge base or data source + resource. Note that the **vector store itself is not deleted**, only + the data. This flag is ignored if an Amazon Web Services account is + deleted. + + - RETAIN: Retains all data from your data source that's converted into + vector embeddings upon deletion of a knowledge base or data source + resource. Note that the **vector store itself is not deleted** if you + delete a knowledge base or data source resource. + + Note: + For managed knowledge bases, the only supported option is `DELETE`, + which is also the default. + """ + server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... + """Contains details about the server-side encryption for the data source.""" + vector_ingestion_configuration: VectorIngestionConfiguration | None = ... + """Contains details about how to ingest the documents in the data source.""" + +@dataclass(kw_only=True) +class CreateDataSourceOutput(_SerdeShape): + """Dataclass for CreateDataSourceOutput structure.""" + + data_source: DataSource + """Contains details about the data source.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFlowAliasInput(_SerdeShape): + """Dataclass for CreateFlowAliasInput structure.""" + + name: str | None = ... + """A name for the alias.""" + description: str | None = ... + """A description for the alias.""" + routing_configuration: list[FlowAliasRoutingConfigurationListItem] | None = ... + """Contains information about the version to which to map the alias.""" + concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... + """ + The configuration that specifies how nodes in the flow are executed in + parallel. + """ + flow_identifier: str | None = ... + """The unique identifier of the flow for which to create an alias.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + Any tags that you want to attach to the alias of the flow. For more + information, see [Tagging resources in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). + """ + +@dataclass(kw_only=True) +class CreateFlowAliasOutput(_SerdeShape): + """Dataclass for CreateFlowAliasOutput structure.""" + + name: str + """The name of the alias.""" + description: str | None = ... + """The description of the alias.""" + routing_configuration: list[FlowAliasRoutingConfigurationListItem] + """Contains information about the version that the alias is mapped to.""" + concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... + """ + The configuration that specifies how nodes in the flow are executed in + parallel. + """ + flow_id: str + """The unique identifier of the flow that the alias belongs to.""" + id: str + """The unique identifier of the alias.""" + arn: str + """The Amazon Resource Name (ARN) of the alias.""" + created_at: datetime + """The time at which the alias was created.""" + updated_at: datetime + """The time at which the alias of the flow was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFlowInput(_SerdeShape): + """Dataclass for CreateFlowInput structure.""" + + name: str | None = ... + """A name for the flow.""" + description: str | None = ... + """A description for the flow.""" + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the service role with permissions to + create and manage a flow. For more information, see [Create a service + role for flows in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) + in the Amazon Bedrock User Guide. + """ + customer_encryption_key_arn: str | None = ... + """The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.""" + definition: FlowDefinition | None = ... + """A definition of the nodes and connections between nodes in the flow.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + Any tags that you want to attach to the flow. For more information, see + [Tagging resources in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). + """ + +@dataclass(kw_only=True) +class CreateFlowOutput(_SerdeShape): + """Dataclass for CreateFlowOutput structure.""" + + name: str + """The name of the flow.""" + description: str | None = ... + """The description of the flow.""" + execution_role_arn: str + """ + The Amazon Resource Name (ARN) of the service role with permissions to + create a flow. For more information, see [Create a service role for + flows in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) + in the Amazon Bedrock User Guide. + """ + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that you encrypted the + flow with. + """ + id: str + """The unique identifier of the flow.""" + arn: str + """The Amazon Resource Name (ARN) of the flow.""" + status: str + """ + The status of the flow. When you submit this request, the status will be + `NotPrepared`. If creation fails, the status becomes `Failed`. + """ + created_at: datetime + """The time at which the flow was created.""" + updated_at: datetime + """The time at which the flow was last updated.""" + version: str + """ + The version of the flow. When you create a flow, the version created is + the `DRAFT` version. + """ + definition: FlowDefinition | None = ... + """A definition of the nodes and connections between nodes in the flow.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFlowVersionInput(_SerdeShape): + """Dataclass for CreateFlowVersionInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow that you want to create a version of.""" + description: str | None = ... + """A description of the version of the flow.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateFlowVersionOutput(_SerdeShape): + """Dataclass for CreateFlowVersionOutput structure.""" + + name: str + """The name of the version.""" + description: str | None = ... + """The description of the version.""" + execution_role_arn: str + """ + The Amazon Resource Name (ARN) of the service role with permissions to + create a flow. For more information, see [Create a service role for + flows in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) + in the Amazon Bedrock User Guide. + """ + customer_encryption_key_arn: str | None = ... + """The KMS key that the flow is encrypted with.""" + id: str + """The unique identifier of the flow.""" + arn: str + """The Amazon Resource Name (ARN) of the flow.""" + status: str + """The status of the flow.""" + created_at: datetime + """The time at which the flow was created.""" + version: str + """ + The version of the flow that was created. Versions are numbered + incrementally, starting from 1. + """ + definition: FlowDefinition | None = ... + """A definition of the nodes and connections in the flow.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateKnowledgeBaseInput(_SerdeShape): + """Dataclass for CreateKnowledgeBaseInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + name: str | None = ... + """A name for the knowledge base.""" + description: str | None = ... + """A description of the knowledge base.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role with permissions to + invoke API operations on the knowledge base. + """ + knowledge_base_configuration: KnowledgeBaseConfiguration | None = ... + """Contains details about the embeddings model used for the knowledge base.""" + storage_configuration: StorageConfiguration | None = ... + """ + Contains details about the configuration of the vector database used for + the knowledge base. + """ + tags: dict[str, str] | None = ... + """ + Specify the key-value pairs for the tags that you want to attach to your + knowledge base in this object. + """ + +@dataclass(kw_only=True) +class CreateKnowledgeBaseOutput(_SerdeShape): + """Dataclass for CreateKnowledgeBaseOutput structure.""" + + knowledge_base: KnowledgeBase + """Contains details about the knowledge base.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePromptInput(_SerdeShape): + """Dataclass for CreatePromptInput structure.""" + + name: str | None = ... + """A name for the prompt.""" + description: str | None = ... + """A description for the prompt.""" + customer_encryption_key_arn: str | None = ... + """The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.""" + default_variant: str | None = ... + """ + The name of the default variant for the prompt. This value must match + the `name` field in the relevant + [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) + object. + """ + variants: list[PromptVariant] | None = ... + """ + A list of objects, each containing details about a variant of the + prompt. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + Any tags that you want to attach to the prompt. For more information, + see [Tagging resources in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). + """ + +@dataclass(kw_only=True) +class CreatePromptOutput(_SerdeShape): + """Dataclass for CreatePromptOutput structure.""" + + name: str + """The name of the prompt.""" + description: str | None = ... + """The description of the prompt.""" + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that you encrypted the + prompt with. + """ + default_variant: str | None = ... + """The name of the default variant for your prompt.""" + variants: list[PromptVariant] | None = ... + """ + A list of objects, each containing details about a variant of the + prompt. + """ + id: str + """The unique identifier of the prompt.""" + arn: str + """The Amazon Resource Name (ARN) of the prompt.""" + version: str + """ + The version of the prompt. When you create a prompt, the version created + is the `DRAFT` version. + """ + created_at: datetime + """The time at which the prompt was created.""" + updated_at: datetime + """The time at which the prompt was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePromptVersionInput(_SerdeShape): + """Dataclass for CreatePromptVersionInput structure.""" + + prompt_identifier: str | None = ... + """ + The unique identifier of the prompt that you want to create a version + of. + """ + description: str | None = ... + """A description for the version of the prompt.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + Any tags that you want to attach to the version of the prompt. For more + information, see [Tagging resources in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). + """ + +@dataclass(kw_only=True) +class CreatePromptVersionOutput(_SerdeShape): + """Dataclass for CreatePromptVersionOutput structure.""" + + name: str + """The name of the prompt.""" + description: str | None = ... + """A description for the version.""" + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key to encrypt the version of + the prompt. + """ + default_variant: str | None = ... + """ + The name of the default variant for the prompt. This value must match + the `name` field in the relevant + [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) + object. + """ + variants: list[PromptVariant] | None = ... + """ + A list of objects, each containing details about a variant of the + prompt. + """ + id: str + """The unique identifier of the prompt.""" + arn: str + """The Amazon Resource Name (ARN) of the version of the prompt.""" + version: str + """ + The version of the prompt that was created. Versions are numbered + incrementally, starting from 1. + """ + created_at: datetime + """The time at which the prompt was created.""" + updated_at: datetime + """The time at which the prompt was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRetrievalInstructionInput(_SerdeShape): + """Dataclass for CreateRetrievalInstructionInput structure.""" + + client_token: str | None = ... + """ + A caller-supplied token that makes a retried create return the existing + resource rather than a second one. The window is 8 hours. + + This field is autopopulated if not provided. + """ + name: str | None = ... + """Specifies the name of the retrieval instruction.""" + instruction: RetrievalInstructionContent | None = ... + """ + The instruction content, as a set of named fields. Get does not return + this field until the create review passes. + """ + description: str | None = ... + """Specifies a description of the retrieval instruction.""" + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a customer managed AWS Key Management + Service (AWS KMS) key used to encrypt the instruction content at rest. + If you omit it, the service uses an AWS owned key. You fix the key at + create and cannot change it later. + """ + tags: dict[str, str] | None = ... + """Tags for the retrieval instruction.""" + +@dataclass(kw_only=True) +class CreateRetrievalInstructionOutput(_SerdeShape): + """Dataclass for CreateRetrievalInstructionOutput structure.""" + + retrieval_instruction_id: str + """The identifier of the newly created retrieval instruction.""" + retrieval_instruction_arn: str + """The ARN of the newly created retrieval instruction.""" + name: str + """The name of the retrieval instruction.""" + status: str + """ + Always INACTIVE on this response. The content review has not run when + this call returns, so the resource is not yet usable. + """ + last_transition_status: str + """ + Always CREATING on this response. Poll GetRetrievalInstruction until + this member is neither CREATING nor UPDATING, then read the outcome from + it. + """ + created_at: datetime + """When you created the retrieval instruction.""" + updated_at: datetime + """When the retrieval instruction was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRetrievalInstructionVersionInput(_SerdeShape): + """Dataclass for CreateRetrievalInstructionVersionInput structure.""" + + retrieval_instruction_id: str | None = ... + """The identifier of the retrieval instruction to version.""" + description: str | None = ... + """ + A description of this version. Independent of the retrieval + instruction's own description. + """ + client_token: str | None = ... + """ + A caller-supplied token that makes a retried call return the version + created by the first call rather than a second version. The window is 8 + hours. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateRetrievalInstructionVersionOutput(_SerdeShape): + """Dataclass for CreateRetrievalInstructionVersionOutput structure.""" + + retrieval_instruction_id: str + """The identifier of the retrieval instruction.""" + retrieval_instruction_arn: str + """ + The ARN of the retrieval instruction. Versions do not have their own + ARN. + """ + version: str + """ + The number of the version created. Versions are numbered from 1 and + allocated monotonically; a number is never reused, even after the + version is deleted. + """ + created_at: datetime + """When this version was created.""" + description: str | None = ... + """The description of this version, when one was supplied.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpcConfigurationInput(_SerdeShape): + """Dataclass for CreateVpcConfigurationInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base to associate this VPC + configuration with. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, the service ignores the request but does not return an error. + + This field is autopopulated if not provided. + """ + vpc_id: str | None = ... + """ + The identifier of the VPC that the knowledge base connects through to + reach the resource. + """ + subnet_ids: list[str] | None = ... + """ + The subnets, in the VPC identified by `vpcId`, that the knowledge base + uses to connect to the resource. + """ + resource_target: str | None = ... + """ + The private IPv4 address or DNS name of the resource you want the + knowledge base to reach. The target must be privately reachable from + inside your VPC, such as an internal load balancer or a private IP. The + following are not supported: + + - Internet-facing endpoints + + - Loopback addresses + + - Link-local addresses + + - Wildcard addresses + + - Multicast addresses + + - IPv6 literals + """ + port: int | None = ... + """The port on which to reach the resource.""" + protocol: str | None = ... + """ + The protocol used to connect to the resource. Specify `HTTP` for + plaintext or `HTTPS` for TLS. When you specify `HTTPS`, you must also + provide `tlsServerName`. + """ + resolution_mode: str | None = ... + """ + Controls how a domain-name `resourceTarget` is resolved. This applies + only when the target is a domain name; it has no effect for IP-address + targets, which have no name to resolve. In all cases the resolved + address must be reachable from inside your VPC. Valid values: + + - `IN_VPC` (default, recommended) -- The target domain name is resolved + privately, using the DNS resolvers of the VPC, such as private Route + 53 hosted zones or on-premises DNS reachable from the VPC. Use this + for targets that are private to your VPC, such as internal load + balancers, private hosted-zone names, or on-premises hosts. + + - `PUBLIC` -- The target domain name is resolved against public DNS + resolvers. Select this only when the target's domain name must be + resolved through public DNS and the resulting address is still + reachable from the VPC, an uncommon split-horizon configuration. If + you are unsure, use `IN_VPC`. + """ + host_header: str | None = ... + """ + An optional HTTP `Host` header value to send when invoking the resource. + Set this only if your resource (or an upstream router or ingress) routes + by the `Host` header and that host differs from the target. This setting + is independent of `tlsServerName`. + """ + tls_server_name: str | None = ... + """ + The expected TLS server name. The service matches this value against the + Subject Alternative Names on your resource's TLS certificate during + invocation. This field is required when `protocol` is `HTTPS`. Set it to + a hostname on your certificate, such as `app.internal.example.com`. You + can use a single leftmost wildcard, such as `*.example.com`. The value + must be a hostname without a port. + """ + name: str | None = ... + """ + An optional human-readable name for the VPC configuration. If you don't + specify a name, the VPC configuration has no name. + """ + description: str | None = ... + """ + An optional description of the VPC configuration. If you don't specify + a description, the VPC configuration has no description. + """ + +@dataclass(kw_only=True) +class CreateVpcConfigurationOutput(_SerdeShape): + """Dataclass for CreateVpcConfigurationOutput structure.""" + + vpc_configuration_id: str + """The unique identifier of the VPC configuration that was created.""" + status: str + """ + The current status of the VPC configuration. Immediately after creation + this is `CREATING`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CreationMode(UnknownEnumMixin, StrEnum): + DEFAULT = "DEFAULT" + OVERRIDDEN = "OVERRIDDEN" + +@dataclass(kw_only=True) +class CuratedQuery(_SerdeShape): + """ + Contains configurations for a query, each of which defines information + about example queries to help the query engine generate appropriate SQL + queries. + """ + + natural_language: str + """An example natural language query.""" + sql: str + """The SQL equivalent of the natural language query.""" + +@dataclass(kw_only=True) +class CustomContent(_SerdeShape): + """ + Contains information about the content to ingest into a knowledge base + connected to a custom data source. Choose a `sourceType` and include the + field that corresponds to it. + """ + + custom_document_identifier: CustomDocumentIdentifier + """A unique identifier for the document.""" + source_type: str + """The source of the data to ingest.""" + s3_location: CustomS3Location | None = ... + """ + Contains information about the Amazon S3 location of the file from which + to ingest data. + """ + inline_content: InlineContent | None = ... + """ + Contains information about content defined inline to ingest into a + knowledge base. + """ + +class CustomControlMethod(UnknownEnumMixin, StrEnum): + RETURN_CONTROL = "RETURN_CONTROL" + +@dataclass(kw_only=True) +class CustomDocumentIdentifier(_SerdeShape): + """ + Contains information about the identifier of the document to ingest into + a custom data source. + """ + + id: str + """The identifier of the document to ingest into a custom data source.""" + +@dataclass(kw_only=True) +class CustomOrchestration(_SerdeShape): + """Details of custom orchestration.""" + + executor: OrchestrationExecutor | None = ... + """ + The structure of the executor invoking the actions in custom + orchestration. + """ + +@dataclass(kw_only=True) +class CustomS3Location(_SerdeShape): + """ + Contains information about the Amazon S3 location of the file containing + the content to ingest into a knowledge base connected to a custom data + source. + """ + + uri: str + """The S3 URI of the file containing the content to ingest.""" + bucket_owner_account_id: str | None = ... + """ + The identifier of the Amazon Web Services account that owns the S3 + bucket containing the content to ingest. + """ + +class CustomSourceType(UnknownEnumMixin, StrEnum): + IN_LINE = "IN_LINE" + S3_LOCATION = "S3_LOCATION" + +@dataclass(kw_only=True) +class CustomTransformationConfiguration(_SerdeShape): + """ + Settings for customizing steps in the data source content ingestion + pipeline. + + You can configure the data source to process documents with a Lambda + function after they are parsed and converted into chunks. When you add a + post-chunking transformation, the service stores chunked documents in an + S3 bucket and invokes a Lambda function to process them. + + To process chunked documents with a Lambda function, define an S3 bucket + path for input and output objects, and a transformation that specifies + the Lambda function to invoke. You can use the Lambda function to + customize how chunks are split, and the metadata for each chunk. + """ + + intermediate_storage: IntermediateStorage + """An S3 bucket path for input and output objects.""" + transformations: list[Transformation] + """A Lambda function that processes documents.""" + +@dataclass(kw_only=True) +class CyclicConnectionFlowValidationDetails(_SerdeShape): + """Details about a cyclic connection detected in the flow.""" + + connection: str + """The name of the connection that causes the cycle in the flow.""" + +@dataclass(kw_only=True) +class DailySchedule(_SerdeShape): + """ + A daily sync. The run time is system-chosen (off-peak) and not + configurable. + """ + +class DataDeletionPolicy(UnknownEnumMixin, StrEnum): + RETAIN = "RETAIN" + DELETE = "DELETE" + +@dataclass(kw_only=True) +class DataSource(_SerdeShape): + """Contains details about a data source.""" + + knowledge_base_id: str + """ + The unique identifier of the knowledge base to which the data source + belongs. + """ + data_source_id: str + """The unique identifier of the data source.""" + name: str + """The name of the data source.""" + status: str + """ + The status of the data source. The following statuses are possible: + + - Available -- The data source has been created and is ready for + ingestion into the knowledge base. + + - Deleting -- The data source is being deleted. + """ + description: str | None = ... + """The description of the data source.""" + data_source_configuration: DataSourceConfiguration + """The connection configuration for the data source.""" + server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... + """Contains details about the configuration of the server-side encryption.""" + vector_ingestion_configuration: VectorIngestionConfiguration | None = ... + """Contains details about how to ingest the documents in the data source.""" + data_deletion_policy: str | None = ... + """The data deletion policy for the data source.""" + created_at: datetime + """The time at which the data source was created.""" + updated_at: datetime + """The time at which the data source was last updated.""" + failure_reasons: list[str] | None = ... + """The detailed reasons on the failure to delete a data source.""" + +@dataclass(kw_only=True) +class DataSourceConfiguration(_SerdeShape): + """The connection configuration for the data source.""" + + type: str + """The type of data source.""" + managed_knowledge_base_connector_configuration: ( + ManagedKnowledgeBaseConnectorConfiguration | None + ) = ... + """ + Contains the configuration for a data source that connects a managed + knowledge base to a supported data source connector. Specify this object + when the data source type is `MANAGED_KNOWLEDGE_BASE_CONNECTOR`. + """ + s3_configuration: S3DataSourceConfiguration | None = ... + """ + The configuration information to connect to Amazon S3 as your data + source for self-managed knowledge bases. To configure this data source + for managed knowledge bases, use + [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). + """ + web_configuration: WebDataSourceConfiguration | None = ... + """ + The configuration of web URLs to crawl for your data source. You should + be authorized to crawl the URLs. + + Note: + To configure this data source for managed knowledge bases, use + [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). + Web crawler data source connector for self-managed knowledge bases is in + preview release and is subject to change. + """ + confluence_configuration: ConfluenceDataSourceConfiguration | None = ... + """ + The configuration information to connect to Confluence as your data + source for self-managed knowledge bases. + + Note: + To configure this data source for managed knowledge bases, use + [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). + Confluence data source connector for self-managed knowledge bases is in + preview release and is subject to change. + """ + salesforce_configuration: SalesforceDataSourceConfiguration | None = ... + """ + The configuration information to connect to Salesforce as your data + source. + + Note: + Salesforce data source connector for self-managed knowledge bases is in + preview release and is subject to change. + """ + share_point_configuration: SharePointDataSourceConfiguration | None = ... + """ + The configuration information to connect to SharePoint as your data + source for self-managed knowledge bases. + + Note: + To configure this data source for managed knowledge bases, use + [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). + SharePoint data source connector for self-managed knowledge bases is in + preview release and is subject to change. + """ + +class DataSourceStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "AVAILABLE" + DELETING = "DELETING" + DELETE_UNSUCCESSFUL = "DELETE_UNSUCCESSFUL" + CREATING = "CREATING" + UPDATING = "UPDATING" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class DataSourceSummary(_SerdeShape): + """Contains details about a data source.""" + + knowledge_base_id: str + """ + The unique identifier of the knowledge base to which the data source + belongs. + """ + data_source_id: str + """The unique identifier of the data source.""" + name: str + """The name of the data source.""" + status: str + """The status of the data source.""" + description: str | None = ... + """The description of the data source.""" + updated_at: datetime + """The time at which the data source was last updated.""" + +class DataSourceType(UnknownEnumMixin, StrEnum): + S3 = "S3" + WEB = "WEB" + CONFLUENCE = "CONFLUENCE" + SALESFORCE = "SALESFORCE" + SHAREPOINT = "SHAREPOINT" + CUSTOM = "CUSTOM" + REDSHIFT_METADATA = "REDSHIFT_METADATA" + MANAGED_KNOWLEDGE_BASE_CONNECTOR = "MANAGED_KNOWLEDGE_BASE_CONNECTOR" + +@dataclass +class DayOfMonthDayNumber(_SerdeShape): + """ + A specific day of the month, from 1 to 28. Values are capped at 28, so a + monthly sync runs in every month, including February. + """ + + value: int + +@dataclass +class DayOfMonthLastDayOfMonth(_SerdeShape): + """ + Set this option to run the monthly sync on the last calendar day of each + month. + """ + + value: LastDayOfMonth + +@dataclass +class DayOfMonthUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DayOfMonth = Union[DayOfMonthDayNumber | DayOfMonthLastDayOfMonth | DayOfMonthUnknown] +""" +The day of the month on which a monthly sync runs. Specify exactly one +of `dayNumber` or `lastDayOfMonth`. +""" + +class _DayOfMonthDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> DayOfMonth: ... + +class DayOfWeek(UnknownEnumMixin, StrEnum): + """ + The day of the week on which a weekly sync runs. Valid values are the + standard English day names, for example, MONDAY or TUESDAY. + """ + + SUNDAY = "SUNDAY" + MONDAY = "MONDAY" + TUESDAY = "TUESDAY" + WEDNESDAY = "WEDNESDAY" + THURSDAY = "THURSDAY" + FRIDAY = "FRIDAY" + SATURDAY = "SATURDAY" + +@dataclass(kw_only=True) +class DeleteAgentActionGroupInput(_SerdeShape): + """Dataclass for DeleteAgentActionGroupInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent that the action group belongs to.""" + agent_version: str | None = ... + """The version of the agent that the action group belongs to.""" + action_group_id: str | None = ... + """The unique identifier of the action group to delete.""" + skip_resource_in_use_check: bool = ... + """ + By default, this value is `false` and deletion is stopped if the + resource is in use. If you set it to `true`, the resource will be + deleted even if the resource is in use. + """ + +@dataclass(kw_only=True) +class DeleteAgentActionGroupOutput(_SerdeShape): + """Dataclass for DeleteAgentActionGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAgentAliasInput(_SerdeShape): + """Dataclass for DeleteAgentAliasInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent that the alias belongs to.""" + agent_alias_id: str | None = ... + """The unique identifier of the alias to delete.""" + +@dataclass(kw_only=True) +class DeleteAgentAliasOutput(_SerdeShape): + """Dataclass for DeleteAgentAliasOutput structure.""" + + agent_id: str + """The unique identifier of the agent that the alias belongs to.""" + agent_alias_id: str + """The unique identifier of the alias that was deleted.""" + agent_alias_status: str + """The status of the alias.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAgentInput(_SerdeShape): + """Dataclass for DeleteAgentInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent to delete.""" + skip_resource_in_use_check: bool = ... + """ + By default, this value is `false` and deletion is stopped if the + resource is in use. If you set it to `true`, the resource will be + deleted even if the resource is in use. + """ + +@dataclass(kw_only=True) +class DeleteAgentOutput(_SerdeShape): + """Dataclass for DeleteAgentOutput structure.""" + + agent_id: str + """The unique identifier of the agent that was deleted.""" + agent_status: str + """The status of the agent.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAgentVersionInput(_SerdeShape): + """Dataclass for DeleteAgentVersionInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent that the version belongs to.""" + agent_version: str | None = ... + """The version of the agent to delete.""" + skip_resource_in_use_check: bool = ... + """ + By default, this value is `false` and deletion is stopped if the + resource is in use. If you set it to `true`, the resource will be + deleted even if the resource is in use. + """ + +@dataclass(kw_only=True) +class DeleteAgentVersionOutput(_SerdeShape): + """Dataclass for DeleteAgentVersionOutput structure.""" + + agent_id: str + """The unique identifier of the agent that the version belongs to.""" + agent_version: str + """The version that was deleted.""" + agent_status: str + """The status of the agent version.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDataSourceInput(_SerdeShape): + """Dataclass for DeleteDataSourceInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base from which to delete the + data source. + """ + data_source_id: str | None = ... + """The unique identifier of the data source to delete.""" + +@dataclass(kw_only=True) +class DeleteDataSourceOutput(_SerdeShape): + """Dataclass for DeleteDataSourceOutput structure.""" + + knowledge_base_id: str + """ + The unique identifier of the knowledge base to which the data source + that was deleted belonged. + """ + data_source_id: str + """The unique identifier of the data source that was deleted.""" + status: str + """The status of the data source.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFlowAliasInput(_SerdeShape): + """Dataclass for DeleteFlowAliasInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow that the alias belongs to.""" + alias_identifier: str | None = ... + """The unique identifier of the alias to be deleted.""" + +@dataclass(kw_only=True) +class DeleteFlowAliasOutput(_SerdeShape): + """Dataclass for DeleteFlowAliasOutput structure.""" + + flow_id: str + """The unique identifier of the flow that the alias belongs to.""" + id: str + """The unique identifier of the flow.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFlowInput(_SerdeShape): + """Dataclass for DeleteFlowInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + skip_resource_in_use_check: bool = ... + """ + By default, this value is `false` and deletion is stopped if the + resource is in use. If you set it to `true`, the resource will be + deleted even if the resource is in use. + """ + +@dataclass(kw_only=True) +class DeleteFlowOutput(_SerdeShape): + """Dataclass for DeleteFlowOutput structure.""" + + id: str + """The unique identifier of the flow.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFlowVersionInput(_SerdeShape): + """Dataclass for DeleteFlowVersionInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow whose version that you want to delete""" + flow_version: str | None = ... + """The version of the flow that you want to delete.""" + skip_resource_in_use_check: bool = ... + """ + By default, this value is `false` and deletion is stopped if the + resource is in use. If you set it to `true`, the resource will be + deleted even if the resource is in use. + """ + +@dataclass(kw_only=True) +class DeleteFlowVersionOutput(_SerdeShape): + """Dataclass for DeleteFlowVersionOutput structure.""" + + id: str + """The unique identifier of the flow.""" + version: str + """The version of the flow being deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteKnowledgeBaseDocumentsInput(_SerdeShape): + """Dataclass for DeleteKnowledgeBaseDocumentsInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base that is connected to the + data source. + """ + data_source_id: str | None = ... + """The unique identifier of the data source that contains the documents.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + document_identifiers: list[DocumentIdentifier] | None = ... + """ + A list of objects, each of which contains information to identify a + document to delete. + """ + +@dataclass(kw_only=True) +class DeleteKnowledgeBaseDocumentsOutput(_SerdeShape): + """Dataclass for DeleteKnowledgeBaseDocumentsOutput structure.""" + + document_details: list[KnowledgeBaseDocumentDetail] | None = ... + """ + A list of objects, each of which contains information about the + documents that were deleted. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteKnowledgeBaseInput(_SerdeShape): + """Dataclass for DeleteKnowledgeBaseInput structure.""" + + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base to delete.""" + +@dataclass(kw_only=True) +class DeleteKnowledgeBaseOutput(_SerdeShape): + """Dataclass for DeleteKnowledgeBaseOutput structure.""" + + knowledge_base_id: str + """The unique identifier of the knowledge base that was deleted.""" + status: str + """ + The status of the knowledge base and whether it has been successfully + deleted. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePromptInput(_SerdeShape): + """Dataclass for DeletePromptInput structure.""" + + prompt_identifier: str | None = ... + """The unique identifier of the prompt.""" + prompt_version: str | None = ... + """ + The version of the prompt to delete. To delete the prompt, omit this + field. + """ + +@dataclass(kw_only=True) +class DeletePromptOutput(_SerdeShape): + """Dataclass for DeletePromptOutput structure.""" + + id: str + """The unique identifier of the prompt that was deleted.""" + version: str | None = ... + """The version of the prompt that was deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyInput(_SerdeShape): + """Dataclass for DeleteResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the knowledge base to remove the + resource policy from. + """ + expected_revision_id: str | None = ... + """ + The expected revision identifier of the resource policy. Use this to + prevent conflicts when multiple users update the same policy + concurrently. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyOutput(_SerdeShape): + """Dataclass for DeleteResourcePolicyOutput structure.""" + + resource_arn: str + """The ARN of the knowledge base that the resource policy was removed from.""" + revision_id: str | None = ... + """The revision identifier after the resource policy was deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRetrievalInstructionInput(_SerdeShape): + """Dataclass for DeleteRetrievalInstructionInput structure.""" + + retrieval_instruction_id: str | None = ... + """The identifier of the retrieval instruction to delete.""" + retrieval_instruction_version: str | None = ... + """ + The version to delete. Omit this field to delete the retrieval + instruction itself, which you can do only when it has no versions; while + any version exists the service rejects the request with + ConflictException. You cannot delete DRAFT on its own; deleting the + retrieval instruction removes it. + """ + +@dataclass(kw_only=True) +class DeleteRetrievalInstructionOutput(_SerdeShape): + """Dataclass for DeleteRetrievalInstructionOutput structure.""" + + retrieval_instruction_id: str + """The identifier of the deleted retrieval instruction.""" + retrieval_instruction_arn: str + """The ARN of the retrieval instruction.""" + version: str | None = ... + """ + The version that you deleted. Absent when you deleted the whole + retrieval instruction. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcConfigurationInput(_SerdeShape): + """Dataclass for DeleteVpcConfigurationInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base that owns the VPC + configuration. + """ + vpc_configuration_id: str | None = ... + """The unique identifier of the VPC configuration to delete.""" + +@dataclass(kw_only=True) +class DeleteVpcConfigurationOutput(_SerdeShape): + """Dataclass for DeleteVpcConfigurationOutput structure.""" + + vpc_configuration_id: str + """The unique identifier of the VPC configuration being deleted.""" + status: str + """ + The current status of the VPC configuration. Immediately after a delete + request this is `DELETING`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletionProtectionConfiguration(_SerdeShape): + """Configuration for deletion protection.""" + + deletion_protection_status: str + """Enable or disable deletion protection for the connector.""" + deletion_protection_threshold: int = ... + """ + The threshold is the maximum percentage of documents that a sync job can + delete from your index. If a sync would delete more than this + percentage, the sync skips its delete phase, leaving your indexed + documents in place. Not supported for the Custom connector. + """ + +@dataclass(kw_only=True) +class DisassociateAgentCollaboratorInput(_SerdeShape): + """Dataclass for DisassociateAgentCollaboratorInput structure.""" + + agent_id: str | None = ... + """An agent ID.""" + agent_version: str | None = ... + """The agent's version.""" + collaborator_id: str | None = ... + """The collaborator's ID.""" + +@dataclass(kw_only=True) +class DisassociateAgentCollaboratorOutput(_SerdeShape): + """Dataclass for DisassociateAgentCollaboratorOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateAgentKnowledgeBaseInput(_SerdeShape): + """Dataclass for DisassociateAgentKnowledgeBaseInput structure.""" + + agent_id: str | None = ... + """ + The unique identifier of the agent from which to disassociate the + knowledge base. + """ + agent_version: str | None = ... + """The version of the agent from which to disassociate the knowledge base.""" + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base to disassociate.""" + +@dataclass(kw_only=True) +class DisassociateAgentKnowledgeBaseOutput(_SerdeShape): + """Dataclass for DisassociateAgentKnowledgeBaseOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DocumentAccessControlEntry(_SerdeShape): + """An access control entry specifying a principal and their access level.""" + + name: str + """The user identifier.""" + type: str + """The type of principal.""" + access: str + """Whether to allow or deny access.""" + +@dataclass(kw_only=True) +class DocumentContent(_SerdeShape): + """ + Contains information about the content of a document. Choose a + `dataSourceType` and include the field that corresponds to it. + """ + + data_source_type: str + """ + The type of data source that is connected to the knowledge base to which + to ingest this document. + """ + custom: CustomContent | None = ... + """ + Contains information about the content to ingest into a knowledge base + connected to a custom data source. + """ + s3: S3Content | None = ... + """ + Contains information about the content to ingest into a knowledge base + connected to an Amazon S3 data source + """ + +@dataclass(kw_only=True) +class DocumentIdentifier(_SerdeShape): + """Contains information that identifies the document.""" + + data_source_type: str + """ + The type of data source connected to the knowledge base that contains + the document. + """ + s3: S3Location | None = ... + """Contains information that identifies the document in an S3 data source.""" + custom: CustomDocumentIdentifier | None = ... + """ + Contains information that identifies the document in a custom data + source. + """ + +@dataclass(kw_only=True) +class DocumentMetadata(_SerdeShape): + """ + Contains information about the metadata associate with the content to + ingest into a knowledge base. Choose a `type` and include the field that + corresponds to it. + """ + + type: str + """The type of the source source from which to add metadata.""" + inline_attributes: list[MetadataAttribute] | None = ... + """ + An array of objects, each of which defines a metadata attribute to + associate with the content to ingest. You define the attributes inline. + """ + s3_location: CustomS3Location | None = ... + """ + The Amazon S3 location of the file containing metadata to associate with + the content to ingest. + """ + access_control_list: list[DocumentAccessControlEntry] | None = ... + """ + Access control list for the document. Used when metadata type is + IN_LINE_ATTRIBUTE. + """ + +class DocumentStatus(UnknownEnumMixin, StrEnum): + INDEXED = "INDEXED" + PARTIALLY_INDEXED = "PARTIALLY_INDEXED" + PENDING = "PENDING" + FAILED = "FAILED" + METADATA_PARTIALLY_INDEXED = "METADATA_PARTIALLY_INDEXED" + METADATA_UPDATE_FAILED = "METADATA_UPDATE_FAILED" + IGNORED = "IGNORED" + NOT_FOUND = "NOT_FOUND" + STARTING = "STARTING" + IN_PROGRESS = "IN_PROGRESS" + DELETING = "DELETING" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + +@dataclass(kw_only=True) +class DuplicateConditionExpressionFlowValidationDetails(_SerdeShape): + """Details about duplicate condition expressions found in a condition node.""" + + node: str + """The name of the node containing the duplicate condition expressions.""" + expression: str + """The duplicated condition expression.""" + +@dataclass(kw_only=True) +class DuplicateConnectionsFlowValidationDetails(_SerdeShape): + """Details about duplicate connections found between two nodes in the flow.""" + + source: str + """The name of the source node where the duplicate connection starts.""" + target: str + """The name of the target node where the duplicate connection ends.""" + +class EmbeddingDataType(UnknownEnumMixin, StrEnum): + """Bedrock models embedding data type. Can be either float32 or binary.""" + + FLOAT32 = "FLOAT32" + BINARY = "BINARY" + +@dataclass(kw_only=True) +class EmbeddingModelConfiguration(_SerdeShape): + """The configuration details for the embeddings model.""" + + bedrock_embedding_model_configuration: ( + BedrockEmbeddingModelConfiguration | None + ) = ... + """The vector configuration details on the Bedrock embeddings model.""" + +class EmbeddingModelType(UnknownEnumMixin, StrEnum): + """ + Choose `CUSTOM` to provide your own Bedrock embedding model ARN. Choose + `MANAGED` to use a service-managed embedding model. For more + information, see [Embedding model + options](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-create.html#kb-managed-embedding-models). + """ + + CUSTOM = "CUSTOM" + MANAGED = "MANAGED" + +class EnabledOrDisabledState(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class EnrichmentStrategyConfiguration(_SerdeShape): + """The strategy used for performing context enrichment.""" + + method: str + """The method used for the context enrichment strategy.""" + +class EnrichmentStrategyMethod(UnknownEnumMixin, StrEnum): + CHUNK_ENTITY_EXTRACTION = "CHUNK_ENTITY_EXTRACTION" + +@dataclass(kw_only=True) +class FieldForReranking(_SerdeShape): + """ + Specifies a metadata field to include or exclude during the reranking + process. + """ + + field_name: str + """The name of the metadata field to include or exclude during reranking.""" + +class FieldType(UnknownEnumMixin, StrEnum): + """ + The data type of a custom metadata field. Valid values: + + - `STRING` -- The field holds a single string value. + + - `STRING_LIST` -- The field holds a list of string values. + """ + + STRING = "STRING" + STRING_LIST = "STRING_LIST" + +@dataclass(kw_only=True) +class FixedSizeChunkingConfiguration(_SerdeShape): + """ + Configurations for when you choose fixed-size chunking. If you set the + `chunkingStrategy` as `NONE`, exclude this field. + """ + + max_tokens: int + """The maximum number of tokens to include in a chunk.""" + overlap_percentage: int + """The percentage of overlap between adjacent chunks of a data source.""" + +@dataclass(kw_only=True) +class FlowAliasConcurrencyConfiguration(_SerdeShape): + """ + Determines how multiple nodes in a flow can run in parallel. Running + nodes concurrently can improve your flow's performance. + """ + + type: str + """ + The type of concurrency to use for parallel node execution. Specify one + of the following options: + + - `Automatic` - Amazon Bedrock determines which nodes can be executed in + parallel based on the flow definition and its dependencies. + + - `Manual` - You specify which nodes can be executed in parallel. + """ + max_concurrency: int | None = ... + """ + The maximum number of nodes that can be executed concurrently in the + flow. + """ + +@dataclass(kw_only=True) +class FlowAliasRoutingConfigurationListItem(_SerdeShape): + """Contains information about a version that the alias maps to.""" + + flow_version: str | None = ... + """The version that the alias maps to.""" + +@dataclass(kw_only=True) +class FlowAliasSummary(_SerdeShape): + """ + Contains information about an alias of a flow. + + This data type is used in the following API operations: + + - [ListFlowAliases + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListFlowAliases.html#API_agent_ListFlowAliases_ResponseSyntax) + """ + + name: str + """The name of the alias.""" + description: str | None = ... + """A description of the alias.""" + routing_configuration: list[FlowAliasRoutingConfigurationListItem] + """ + A list of configurations about the versions that the alias maps to. + Currently, you can only specify one. + """ + concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... + """ + The configuration that specifies how nodes in the flow are executed + concurrently. + """ + flow_id: str + """The unique identifier of the flow.""" + id: str + """The unique identifier of the alias of the flow.""" + arn: str + """The Amazon Resource Name (ARN) of the alias.""" + created_at: datetime + """The time at which the alias was created.""" + updated_at: datetime + """The time at which the alias was last updated.""" + +@dataclass(kw_only=True) +class FlowCondition(_SerdeShape): + """Defines a condition in the condition node.""" + + name: str + """A name for the condition that you can reference.""" + expression: str | None = ... + """ + Defines the condition. You must refer to at least one of the inputs in + the condition. For more information, expand the Condition node section + in [Node types in prompt + flows](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html#flows-nodes). + """ + +@dataclass(kw_only=True) +class FlowConditionalConnectionConfiguration(_SerdeShape): + """ + The configuration of a connection between a condition node and another + node. + """ + + condition: str + """ + The condition that triggers this connection. For more information about + how to write conditions, see the **Condition** node type in the [Node + types](https://docs.aws.amazon.com/bedrock/latest/userguide/node-types.html) + topic in the Amazon Bedrock User Guide. + """ + +@dataclass(kw_only=True) +class FlowConnection(_SerdeShape): + """Contains information about a connection between two nodes in the flow.""" + + type: str + """ + Whether the source node that the connection begins from is a condition + node (`Conditional`) or not (`Data`). + """ + name: str + """A name for the connection that you can reference.""" + source: str + """The node that the connection starts at.""" + target: str + """The node that the connection ends at.""" + configuration: FlowConnectionConfiguration | None = ... + """The configuration of the connection.""" + +@dataclass +class FlowConnectionConfigurationData(_SerdeShape): + """ + The configuration of a connection originating from a node that isn't a + Condition node. + """ + + value: FlowDataConnectionConfiguration + +@dataclass +class FlowConnectionConfigurationConditional(_SerdeShape): + """The configuration of a connection originating from a Condition node.""" + + value: FlowConditionalConnectionConfiguration + +@dataclass +class FlowConnectionConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowConnectionConfiguration = Union[ + FlowConnectionConfigurationData + | FlowConnectionConfigurationConditional + | FlowConnectionConfigurationUnknown +] +"""The configuration of the connection.""" + +class _FlowConnectionConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> FlowConnectionConfiguration: ... + +class FlowConnectionType(UnknownEnumMixin, StrEnum): + DATA = "Data" + CONDITIONAL = "Conditional" + +@dataclass(kw_only=True) +class FlowDataConnectionConfiguration(_SerdeShape): + """ + The configuration of a connection originating from a node that isn't a + Condition node. + """ + + source_output: str + """ + The name of the output in the source node that the connection begins + from. + """ + target_input: str + """The name of the input in the target node that the connection ends at.""" + +@dataclass(kw_only=True) +class FlowDefinition(_SerdeShape): + """The definition of the nodes and connections between nodes in the flow.""" + + nodes: list[FlowNode] | None = ... + """An array of node definitions in the flow.""" + connections: list[FlowConnection] | None = ... + """An array of connection definitions in the flow.""" + +@dataclass(kw_only=True) +class FlowNode(_SerdeShape): + """Contains configurations about a node in the flow.""" + + name: str + """A name for the node.""" + type: str + """ + The type of node. This value must match the name of the key that you + provide in the configuration you provide in the `FlowNodeConfiguration` + field. + """ + configuration: FlowNodeConfiguration | None = ... + """Contains configurations for the node.""" + inputs: list[FlowNodeInput] | None = ... + """ + An array of objects, each of which contains information about an input + into the node. + """ + outputs: list[FlowNodeOutput] | None = ... + """ + A list of objects, each of which contains information about an output + from the node. + """ + +@dataclass +class FlowNodeConfigurationInput(_SerdeShape): + """ + Contains configurations for an input flow node in your flow. The first + node in the flow. `inputs` can't be specified for this node. + """ + + value: InputFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationOutput(_SerdeShape): + """ + Contains configurations for an output flow node in your flow. The last + node in the flow. `outputs` can't be specified for this node. + """ + + value: OutputFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationKnowledgeBase(_SerdeShape): + """ + Contains configurations for a knowledge base node in your flow. Queries + a knowledge base and returns the retrieved results or generated + response. + """ + + value: KnowledgeBaseFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationCondition(_SerdeShape): + """ + Contains configurations for a condition node in your flow. Defines + conditions that lead to different branches of the flow. + """ + + value: ConditionFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationLex(_SerdeShape): + """ + Contains configurations for a Lex node in your flow. Invokes an Amazon + Lex bot to identify the intent of the input and return the intent as the + output. + """ + + value: LexFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationPrompt(_SerdeShape): + """ + Contains configurations for a prompt node in your flow. Runs a prompt + and generates the model response as the output. You can use a prompt + from Prompt management or you can configure one in this node. + """ + + value: PromptFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationLambdaFunction(_SerdeShape): + """ + Contains configurations for a Lambda function node in your flow. Invokes + an Lambda function. + """ + + value: LambdaFunctionFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationStorage(_SerdeShape): + """ + Contains configurations for a storage node in your flow. Stores an input + in an Amazon S3 location. + """ + + value: StorageFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationAgent(_SerdeShape): + """ + Contains configurations for an agent node in your flow. Invokes an alias + of an agent and returns the response. + """ + + value: AgentFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationRetrieval(_SerdeShape): + """ + Contains configurations for a retrieval node in your flow. Retrieves + data from an Amazon S3 location and returns it as the output. + """ + + value: RetrievalFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationIterator(_SerdeShape): + """ + Contains configurations for an iterator node in your flow. Takes an + input that is an array and iteratively sends each item of the array as + an output to the following node. The size of the array is also returned + in the output. + + The output flow node at the end of the flow iteration will return a + response for each member of the array. To return only one response, you + can include a collector node downstream from the iterator node. + """ + + value: IteratorFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationCollector(_SerdeShape): + """ + Contains configurations for a collector node in your flow. Collects an + iteration of inputs and consolidates them into an array of outputs. + """ + + value: CollectorFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationInlineCode(_SerdeShape): + """ + Contains configurations for an inline code node in your flow. Inline + code nodes let you write and execute code directly within your flow, + enabling data transformations, custom logic, and integrations without + needing an external Lambda function. + """ + + value: InlineCodeFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationLoop(_SerdeShape): + """Contains configurations for a DoWhile loop in your flow.""" + + value: LoopFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationLoopInput(_SerdeShape): + """Contains input node configurations for a DoWhile loop in your flow.""" + + value: LoopInputFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationLoopController(_SerdeShape): + """Contains controller node configurations for a DoWhile loop in your flow.""" + + value: LoopControllerFlowNodeConfiguration + +@dataclass +class FlowNodeConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowNodeConfiguration = Union[ + FlowNodeConfigurationInput + | FlowNodeConfigurationOutput + | FlowNodeConfigurationKnowledgeBase + | FlowNodeConfigurationCondition + | FlowNodeConfigurationLex + | FlowNodeConfigurationPrompt + | FlowNodeConfigurationLambdaFunction + | FlowNodeConfigurationStorage + | FlowNodeConfigurationAgent + | FlowNodeConfigurationRetrieval + | FlowNodeConfigurationIterator + | FlowNodeConfigurationCollector + | FlowNodeConfigurationInlineCode + | FlowNodeConfigurationLoop + | FlowNodeConfigurationLoopInput + | FlowNodeConfigurationLoopController + | FlowNodeConfigurationUnknown +] +""" +Contains configurations for a node in your flow. For more information, +see [Node types in a +flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) +in the Amazon Bedrock User Guide. +""" + +class _FlowNodeConfigurationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FlowNodeConfiguration: ... + +@dataclass(kw_only=True) +class FlowNodeInput(_SerdeShape): + """Contains configurations for an input in an Amazon Bedrock Flows node.""" + + name: str + """Specifies a name for the input that you can reference.""" + type: str + """ + Specifies the data type of the input. If the input doesn't match this + type at runtime, a validation error will be thrown. + """ + expression: str + """ + An expression that formats the input for the node. For an explanation of + how to create expressions, see [Expressions in Prompt flows in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-expressions.html). + """ + category: str | None = ... + """ + Specifies how input data flows between iterations in a DoWhile loop. + + - `LoopCondition` - Controls whether the loop continues by evaluating + condition expressions against the input data. Use this category to + define the condition that determines if the loop should continue. + + - `ReturnValueToLoopStart` - Defines data to pass back to the start of + the loop's next iteration. Use this category for variables that you + want to update for each loop iteration. + + - `ExitLoop` - Defines the value that's available once the loop ends. + Use this category to expose loop results to nodes outside the loop. + """ + +class FlowNodeInputCategory(UnknownEnumMixin, StrEnum): + LOOP_CONDITION = "LoopCondition" + RETURN_VALUE_TO_LOOP_START = "ReturnValueToLoopStart" + EXIT_LOOP = "ExitLoop" + +class FlowNodeIODataType(UnknownEnumMixin, StrEnum): + STRING = "String" + NUMBER = "Number" + BOOLEAN = "Boolean" + OBJECT = "Object" + ARRAY = "Array" + +@dataclass(kw_only=True) +class FlowNodeOutput(_SerdeShape): + """Contains configurations for an output from a node.""" + + name: str + """A name for the output that you can reference.""" + type: str + """ + The data type of the output. If the output doesn't match this type at + runtime, a validation error will be thrown. + """ + +class FlowNodeType(UnknownEnumMixin, StrEnum): + INPUT = "Input" + OUTPUT = "Output" + KNOWLEDGE_BASE = "KnowledgeBase" + CONDITION = "Condition" + LEX = "Lex" + PROMPT = "Prompt" + LAMBDA_FUNCTION = "LambdaFunction" + STORAGE = "Storage" + AGENT = "Agent" + RETRIEVAL = "Retrieval" + ITERATOR = "Iterator" + COLLECTOR = "Collector" + INLINE_CODE = "InlineCode" + LOOP = "Loop" + LOOP_INPUT = "LoopInput" + LOOP_CONTROLLER = "LoopController" + +class FlowStatus(UnknownEnumMixin, StrEnum): + FAILED = "Failed" + PREPARED = "Prepared" + PREPARING = "Preparing" + NOT_PREPARED = "NotPrepared" + +@dataclass(kw_only=True) +class FlowSummary(_SerdeShape): + """Contains the definition of a flow.""" + + name: str + """The name of the flow.""" + description: str | None = ... + """A description of the flow.""" + id: str + """The unique identifier of the flow.""" + arn: str + """The Amazon Resource Name (ARN) of the flow.""" + status: str + """ + The status of the flow. The following statuses are possible: + + - NotPrepared -- The flow has been created or updated, but hasn't been + prepared. If you just created the flow, you can't test it. If you + updated the flow, the `DRAFT` version won't contain the latest + changes for testing. Send a + [PrepareFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PrepareFlow.html) + request to package the latest changes into the `DRAFT` version. + + - Preparing -- The flow is being prepared so that the `DRAFT` version + contains the latest changes for testing. + + - Prepared -- The flow is prepared and the `DRAFT` version contains the + latest changes for testing. + + - Failed -- The last API operation that you invoked on the flow failed. + Send a + [GetFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html) + request and check the error message in the `validations` field. + """ + created_at: datetime + """The time at which the flow was created.""" + updated_at: datetime + """The time at which the flow was last updated.""" + version: str + """The latest version of the flow.""" + +@dataclass(kw_only=True) +class FlowValidation(_SerdeShape): + """ + Contains information about validation of the flow. + + This data type is used in the following API operations: + + - [GetFlow + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html#API_agent_GetFlow_ResponseSyntax) + + - [GetFlowVersion + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlowVersion.html#API_agent_GetFlowVersion_ResponseSyntax) + """ + + message: str + """A message describing the validation error.""" + severity: str + """The severity of the issue described in the message.""" + details: FlowValidationDetails | None = ... + """Specific details about the validation issue encountered in the flow.""" + type: str | None = ... + """The type of validation issue encountered in the flow.""" + +@dataclass +class FlowValidationDetailsCyclicConnection(_SerdeShape): + """Details about a cyclic connection in the flow.""" + + value: CyclicConnectionFlowValidationDetails + +@dataclass +class FlowValidationDetailsDuplicateConnections(_SerdeShape): + """Details about duplicate connections between nodes.""" + + value: DuplicateConnectionsFlowValidationDetails + +@dataclass +class FlowValidationDetailsDuplicateConditionExpression(_SerdeShape): + """Details about duplicate condition expressions in a node.""" + + value: DuplicateConditionExpressionFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnreachableNode(_SerdeShape): + """Details about an unreachable node in the flow.""" + + value: UnreachableNodeFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnknownConnectionSource(_SerdeShape): + """Details about an unknown source node for a connection.""" + + value: UnknownConnectionSourceFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnknownConnectionSourceOutput(_SerdeShape): + """Details about an unknown source output for a connection.""" + + value: UnknownConnectionSourceOutputFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnknownConnectionTarget(_SerdeShape): + """Details about an unknown target node for a connection.""" + + value: UnknownConnectionTargetFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnknownConnectionTargetInput(_SerdeShape): + """Details about an unknown target input for a connection.""" + + value: UnknownConnectionTargetInputFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnknownConnectionCondition(_SerdeShape): + """Details about an unknown condition for a connection.""" + + value: UnknownConnectionConditionFlowValidationDetails + +@dataclass +class FlowValidationDetailsMalformedConditionExpression(_SerdeShape): + """Details about a malformed condition expression in a node.""" + + value: MalformedConditionExpressionFlowValidationDetails + +@dataclass +class FlowValidationDetailsMalformedNodeInputExpression(_SerdeShape): + """Details about a malformed input expression in a node.""" + + value: MalformedNodeInputExpressionFlowValidationDetails + +@dataclass +class FlowValidationDetailsMismatchedNodeInputType(_SerdeShape): + """Details about mismatched input data types in a node.""" + + value: MismatchedNodeInputTypeFlowValidationDetails + +@dataclass +class FlowValidationDetailsMismatchedNodeOutputType(_SerdeShape): + """Details about mismatched output data types in a node.""" + + value: MismatchedNodeOutputTypeFlowValidationDetails + +@dataclass +class FlowValidationDetailsIncompatibleConnectionDataType(_SerdeShape): + """Details about incompatible data types in a connection.""" + + value: IncompatibleConnectionDataTypeFlowValidationDetails + +@dataclass +class FlowValidationDetailsMissingConnectionConfiguration(_SerdeShape): + """Details about missing configuration for a connection.""" + + value: MissingConnectionConfigurationFlowValidationDetails + +@dataclass +class FlowValidationDetailsMissingDefaultCondition(_SerdeShape): + """Details about a missing default condition in a conditional node.""" + + value: MissingDefaultConditionFlowValidationDetails + +@dataclass +class FlowValidationDetailsMissingEndingNodes(_SerdeShape): + """Details about missing ending nodes in the flow.""" + + value: MissingEndingNodesFlowValidationDetails + +@dataclass +class FlowValidationDetailsMissingNodeConfiguration(_SerdeShape): + """Details about missing configuration for a node.""" + + value: MissingNodeConfigurationFlowValidationDetails + +@dataclass +class FlowValidationDetailsMissingNodeInput(_SerdeShape): + """Details about a missing required input in a node.""" + + value: MissingNodeInputFlowValidationDetails + +@dataclass +class FlowValidationDetailsMissingNodeOutput(_SerdeShape): + """Details about a missing required output in a node.""" + + value: MissingNodeOutputFlowValidationDetails + +@dataclass +class FlowValidationDetailsMissingStartingNodes(_SerdeShape): + """Details about missing starting nodes in the flow.""" + + value: MissingStartingNodesFlowValidationDetails + +@dataclass +class FlowValidationDetailsMultipleNodeInputConnections(_SerdeShape): + """Details about multiple connections to a single node input.""" + + value: MultipleNodeInputConnectionsFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnfulfilledNodeInput(_SerdeShape): + """Details about an unfulfilled node input with no valid connections.""" + + value: UnfulfilledNodeInputFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnsatisfiedConnectionConditions(_SerdeShape): + """Details about unsatisfied conditions for a connection.""" + + value: UnsatisfiedConnectionConditionsFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnspecified(_SerdeShape): + """Details about an unspecified validation.""" + + value: UnspecifiedFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnknownNodeInput(_SerdeShape): + """Details about an unknown input for a node.""" + + value: UnknownNodeInputFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnknownNodeOutput(_SerdeShape): + """Details about an unknown output for a node.""" + + value: UnknownNodeOutputFlowValidationDetails + +@dataclass +class FlowValidationDetailsMissingLoopInputNode(_SerdeShape): + """ + Details about a flow that's missing a required `LoopInput` node in a + DoWhile loop. + """ + + value: MissingLoopInputNodeFlowValidationDetails + +@dataclass +class FlowValidationDetailsMissingLoopControllerNode(_SerdeShape): + """ + Details about a flow that's missing a required `LoopController` node in + a DoWhile loop. + """ + + value: MissingLoopControllerNodeFlowValidationDetails + +@dataclass +class FlowValidationDetailsMultipleLoopInputNodes(_SerdeShape): + """ + Details about a flow that contains multiple `LoopInput` nodes in a + DoWhile loop. + """ + + value: MultipleLoopInputNodesFlowValidationDetails + +@dataclass +class FlowValidationDetailsMultipleLoopControllerNodes(_SerdeShape): + """ + Details about a flow that contains multiple `LoopController` nodes in a + DoWhile loop. + """ + + value: MultipleLoopControllerNodesFlowValidationDetails + +@dataclass +class FlowValidationDetailsLoopIncompatibleNodeType(_SerdeShape): + """ + Details about a flow that includes incompatible node types in a DoWhile + loop. + """ + + value: LoopIncompatibleNodeTypeFlowValidationDetails + +@dataclass +class FlowValidationDetailsInvalidLoopBoundary(_SerdeShape): + """ + Details about a flow that includes connections that violate loop + boundary rules. + """ + + value: InvalidLoopBoundaryFlowValidationDetails + +@dataclass +class FlowValidationDetailsUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FlowValidationDetails = Union[ + FlowValidationDetailsCyclicConnection + | FlowValidationDetailsDuplicateConnections + | FlowValidationDetailsDuplicateConditionExpression + | FlowValidationDetailsUnreachableNode + | FlowValidationDetailsUnknownConnectionSource + | FlowValidationDetailsUnknownConnectionSourceOutput + | FlowValidationDetailsUnknownConnectionTarget + | FlowValidationDetailsUnknownConnectionTargetInput + | FlowValidationDetailsUnknownConnectionCondition + | FlowValidationDetailsMalformedConditionExpression + | FlowValidationDetailsMalformedNodeInputExpression + | FlowValidationDetailsMismatchedNodeInputType + | FlowValidationDetailsMismatchedNodeOutputType + | FlowValidationDetailsIncompatibleConnectionDataType + | FlowValidationDetailsMissingConnectionConfiguration + | FlowValidationDetailsMissingDefaultCondition + | FlowValidationDetailsMissingEndingNodes + | FlowValidationDetailsMissingNodeConfiguration + | FlowValidationDetailsMissingNodeInput + | FlowValidationDetailsMissingNodeOutput + | FlowValidationDetailsMissingStartingNodes + | FlowValidationDetailsMultipleNodeInputConnections + | FlowValidationDetailsUnfulfilledNodeInput + | FlowValidationDetailsUnsatisfiedConnectionConditions + | FlowValidationDetailsUnspecified + | FlowValidationDetailsUnknownNodeInput + | FlowValidationDetailsUnknownNodeOutput + | FlowValidationDetailsMissingLoopInputNode + | FlowValidationDetailsMissingLoopControllerNode + | FlowValidationDetailsMultipleLoopInputNodes + | FlowValidationDetailsMultipleLoopControllerNodes + | FlowValidationDetailsLoopIncompatibleNodeType + | FlowValidationDetailsInvalidLoopBoundary + | FlowValidationDetailsUnknown +] +"""A union type containing various possible validation issues in the flow.""" + +class _FlowValidationDetailsDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FlowValidationDetails: ... + +class FlowValidationSeverity(UnknownEnumMixin, StrEnum): + WARNING = "Warning" + ERROR = "Error" + +class FlowValidationType(UnknownEnumMixin, StrEnum): + CYCLIC_CONNECTION = "CyclicConnection" + DUPLICATE_CONNECTIONS = "DuplicateConnections" + DUPLICATE_CONDITION_EXPRESSION = "DuplicateConditionExpression" + UNREACHABLE_NODE = "UnreachableNode" + UNKNOWN_CONNECTION_SOURCE = "UnknownConnectionSource" + UNKNOWN_CONNECTION_SOURCE_OUTPUT = "UnknownConnectionSourceOutput" + UNKNOWN_CONNECTION_TARGET = "UnknownConnectionTarget" + UNKNOWN_CONNECTION_TARGET_INPUT = "UnknownConnectionTargetInput" + UNKNOWN_CONNECTION_CONDITION = "UnknownConnectionCondition" + MALFORMED_CONDITION_EXPRESSION = "MalformedConditionExpression" + MALFORMED_NODE_INPUT_EXPRESSION = "MalformedNodeInputExpression" + MISMATCHED_NODE_INPUT_TYPE = "MismatchedNodeInputType" + MISMATCHED_NODE_OUTPUT_TYPE = "MismatchedNodeOutputType" + INCOMPATIBLE_CONNECTION_DATA_TYPE = "IncompatibleConnectionDataType" + MISSING_CONNECTION_CONFIGURATION = "MissingConnectionConfiguration" + MISSING_DEFAULT_CONDITION = "MissingDefaultCondition" + MISSING_ENDING_NODES = "MissingEndingNodes" + MISSING_NODE_CONFIGURATION = "MissingNodeConfiguration" + MISSING_NODE_INPUT = "MissingNodeInput" + MISSING_NODE_OUTPUT = "MissingNodeOutput" + MISSING_STARTING_NODES = "MissingStartingNodes" + MULTIPLE_NODE_INPUT_CONNECTIONS = "MultipleNodeInputConnections" + UNFULFILLED_NODE_INPUT = "UnfulfilledNodeInput" + UNSATISFIED_CONNECTION_CONDITIONS = "UnsatisfiedConnectionConditions" + UNSPECIFIED = "Unspecified" + UNKNOWN_NODE_INPUT = "UnknownNodeInput" + UNKNOWN_NODE_OUTPUT = "UnknownNodeOutput" + MISSING_LOOP_INPUT_NODE = "MissingLoopInputNode" + MISSING_LOOP_CONTROLLER_NODE = "MissingLoopControllerNode" + MULTIPLE_LOOP_INPUT_NODES = "MultipleLoopInputNodes" + MULTIPLE_LOOP_CONTROLLER_NODES = "MultipleLoopControllerNodes" + LOOP_INCOMPATIBLE_NODE_TYPE = "LoopIncompatibleNodeType" + INVALID_LOOP_BOUNDARY = "InvalidLoopBoundary" + +@dataclass(kw_only=True) +class FlowVersionSummary(_SerdeShape): + """ + Contains information about a version of a flow. + + This data type is used in the following API operations: + + - [ListFlowVersions + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListFlowVersions.html#API_agent_ListFlowVersions_ResponseSyntax) + """ + + id: str + """The unique identifier of the flow.""" + arn: str + """The Amazon Resource Name (ARN) of the flow that the version belongs to.""" + status: str + """The status of the flow.""" + created_at: datetime + """The time at the version was created.""" + version: str + """The version of the flow.""" + +@dataclass(kw_only=True) +class Function(_SerdeShape): + """ + Defines parameters that the agent needs to invoke from the user to + complete the function. Corresponds to an action in an action group. + + This data type is used in the following API operations: + + - [CreateAgentActionGroup + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_RequestSyntax) + + - [CreateAgentActionGroup + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_ResponseSyntax) + + - [UpdateAgentActionGroup + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_RequestSyntax) + + - [UpdateAgentActionGroup + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_ResponseSyntax) + + - [GetAgentActionGroup + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentActionGroup.html#API_agent_GetAgentActionGroup_ResponseSyntax) + """ + + name: str + """A name for the function.""" + description: str | None = ... + """A description of the function and its purpose.""" + parameters: dict[str, ParameterDetail] | None = ... + """ + The parameters that the agent elicits from the user to fulfill the + function. + """ + require_confirmation: str | None = ... + """ + Contains information if user confirmation is required to invoke the + function. + """ + +@dataclass +class FunctionSchemaFunctions(_SerdeShape): + """A list of functions that each define an action in the action group.""" + + value: list[Function] + +@dataclass +class FunctionSchemaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FunctionSchema = Union[FunctionSchemaFunctions | FunctionSchemaUnknown] +""" +Defines functions that each define parameters that the agent needs to +invoke from the user. Each function represents an action in an action +group. + +This data type is used in the following API operations: + +- [CreateAgentActionGroup + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_RequestSyntax) + +- [CreateAgentActionGroup + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_ResponseSyntax) + +- [UpdateAgentActionGroup + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_RequestSyntax) + +- [UpdateAgentActionGroup + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_ResponseSyntax) + +- [GetAgentActionGroup + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentActionGroup.html#API_agent_GetAgentActionGroup_ResponseSyntax) +""" + +class _FunctionSchemaDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FunctionSchema: ... + +@dataclass(kw_only=True) +class GetAgentActionGroupInput(_SerdeShape): + """Dataclass for GetAgentActionGroupInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent that the action group belongs to.""" + agent_version: str | None = ... + """The version of the agent that the action group belongs to.""" + action_group_id: str | None = ... + """The unique identifier of the action group for which to get information.""" + +@dataclass(kw_only=True) +class GetAgentActionGroupOutput(_SerdeShape): + """Dataclass for GetAgentActionGroupOutput structure.""" + + agent_action_group: AgentActionGroup + """Contains details about the action group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAgentAliasInput(_SerdeShape): + """Dataclass for GetAgentAliasInput structure.""" + + agent_id: str | None = ... + """ + The unique identifier of the agent to which the alias to get information + belongs. + """ + agent_alias_id: str | None = ... + """The unique identifier of the alias for which to get information.""" + +@dataclass(kw_only=True) +class GetAgentAliasOutput(_SerdeShape): + """Dataclass for GetAgentAliasOutput structure.""" + + agent_alias: AgentAlias + """Contains information about the alias.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAgentCollaboratorInput(_SerdeShape): + """Dataclass for GetAgentCollaboratorInput structure.""" + + agent_id: str | None = ... + """The agent's ID.""" + agent_version: str | None = ... + """The agent's version.""" + collaborator_id: str | None = ... + """The collaborator's ID.""" + +@dataclass(kw_only=True) +class GetAgentCollaboratorOutput(_SerdeShape): + """Dataclass for GetAgentCollaboratorOutput structure.""" + + agent_collaborator: AgentCollaborator + """Details about the collaborator.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAgentInput(_SerdeShape): + """Dataclass for GetAgentInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent.""" + +@dataclass(kw_only=True) +class GetAgentKnowledgeBaseInput(_SerdeShape): + """Dataclass for GetAgentKnowledgeBaseInput structure.""" + + agent_id: str | None = ... + """ + The unique identifier of the agent with which the knowledge base is + associated. + """ + agent_version: str | None = ... + """The version of the agent with which the knowledge base is associated.""" + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base associated with the agent.""" + +@dataclass(kw_only=True) +class GetAgentKnowledgeBaseOutput(_SerdeShape): + """Dataclass for GetAgentKnowledgeBaseOutput structure.""" + + agent_knowledge_base: AgentKnowledgeBase + """Contains details about a knowledge base attached to an agent.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAgentOutput(_SerdeShape): + """Dataclass for GetAgentOutput structure.""" + + agent: Agent + """Contains details about the agent.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAgentVersionInput(_SerdeShape): + """Dataclass for GetAgentVersionInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent.""" + agent_version: str | None = ... + """The version of the agent.""" + +@dataclass(kw_only=True) +class GetAgentVersionOutput(_SerdeShape): + """Dataclass for GetAgentVersionOutput structure.""" + + agent_version: AgentVersion + """Contains details about the version of the agent.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDataSourceInput(_SerdeShape): + """Dataclass for GetDataSourceInput structure.""" + + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base for the data source.""" + data_source_id: str | None = ... + """The unique identifier of the data source.""" + +@dataclass(kw_only=True) +class GetDataSourceOutput(_SerdeShape): + """Dataclass for GetDataSourceOutput structure.""" + + data_source: DataSource + """Contains details about the data source.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFlowAliasInput(_SerdeShape): + """Dataclass for GetFlowAliasInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow that the alias belongs to.""" + alias_identifier: str | None = ... + """The unique identifier of the alias for which to retrieve information.""" + +@dataclass(kw_only=True) +class GetFlowAliasOutput(_SerdeShape): + """Dataclass for GetFlowAliasOutput structure.""" + + name: str + """The name of the alias.""" + description: str | None = ... + """The description of the flow.""" + routing_configuration: list[FlowAliasRoutingConfigurationListItem] + """Contains information about the version that the alias is mapped to.""" + concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... + """ + The configuration that specifies how nodes in the flow are executed in + parallel. + """ + flow_id: str + """The unique identifier of the flow that the alias belongs to.""" + id: str + """The unique identifier of the alias of the flow.""" + arn: str + """The Amazon Resource Name (ARN) of the flow.""" + created_at: datetime + """The time at which the flow was created.""" + updated_at: datetime + """The time at which the alias was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFlowInput(_SerdeShape): + """Dataclass for GetFlowInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + included_data: str | None = ... + """ + Controls the scope of data returned. Set to `METADATA_ONLY` to return + only resource metadata. Set to `ALL_DATA` or omit this field to return + the full response. + """ + +@dataclass(kw_only=True) +class GetFlowOutput(_SerdeShape): + """Dataclass for GetFlowOutput structure.""" + + name: str + """The name of the flow.""" + description: str | None = ... + """The description of the flow.""" + execution_role_arn: str + """ + The Amazon Resource Name (ARN) of the service role with permissions to + create a flow. For more information, see [Create a service row for + flows](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) + in the Amazon Bedrock User Guide. + """ + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted + with. + """ + id: str + """The unique identifier of the flow.""" + arn: str + """The Amazon Resource Name (ARN) of the flow.""" + status: str + """ + The status of the flow. The following statuses are possible: + + - NotPrepared -- The flow has been created or updated, but hasn't been + prepared. If you just created the flow, you can't test it. If you + updated the flow, the `DRAFT` version won't contain the latest + changes for testing. Send a + [PrepareFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PrepareFlow.html) + request to package the latest changes into the `DRAFT` version. + + - Preparing -- The flow is being prepared so that the `DRAFT` version + contains the latest changes for testing. + + - Prepared -- The flow is prepared and the `DRAFT` version contains the + latest changes for testing. + + - Failed -- The last API operation that you invoked on the flow failed. + Send a + [GetFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html) + request and check the error message in the `validations` field. + """ + created_at: datetime + """The time at which the flow was created.""" + updated_at: datetime + """The time at which the flow was last updated.""" + version: str + """The version of the flow for which information was retrieved.""" + definition: FlowDefinition | None = ... + """ + The definition of the nodes and connections between the nodes in the + flow. + """ + validations: list[FlowValidation] | None = ... + """ + A list of validation error messages related to the last failed operation + on the flow. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFlowVersionInput(_SerdeShape): + """Dataclass for GetFlowVersionInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow for which to get information.""" + flow_version: str | None = ... + """The version of the flow for which to get information.""" + included_data: str | None = ... + """ + Controls the scope of data returned. Set to `METADATA_ONLY` to return + only resource metadata. Set to `ALL_DATA` or omit this field to return + the full response. + """ + +@dataclass(kw_only=True) +class GetFlowVersionOutput(_SerdeShape): + """Dataclass for GetFlowVersionOutput structure.""" + + name: str + """The name of the version.""" + description: str | None = ... + """The description of the flow.""" + execution_role_arn: str + """ + The Amazon Resource Name (ARN) of the service role with permissions to + create a flow. For more information, see [Create a service role for + flows in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) + in the Amazon Bedrock User Guide. + """ + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that the version of the + flow is encrypted with. + """ + id: str + """The unique identifier of the flow.""" + arn: str + """The Amazon Resource Name (ARN) of the flow.""" + status: str + """The status of the flow.""" + created_at: datetime + """The time at which the flow was created.""" + version: str + """The version of the flow for which information was retrieved.""" + definition: FlowDefinition | None = ... + """The definition of the nodes and connections between nodes in the flow.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIngestionJobInput(_SerdeShape): + """Dataclass for GetIngestionJobInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base for the data ingestion job + you want to get information on. + """ + data_source_id: str | None = ... + """ + The unique identifier of the data source for the data ingestion job you + want to get information on. + """ + ingestion_job_id: str | None = ... + """ + The unique identifier of the data ingestion job you want to get + information on. + """ + +@dataclass(kw_only=True) +class GetIngestionJobOutput(_SerdeShape): + """Dataclass for GetIngestionJobOutput structure.""" + + ingestion_job: IngestionJob + """Contains details about the data ingestion job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetKnowledgeBaseDocumentsInput(_SerdeShape): + """Dataclass for GetKnowledgeBaseDocumentsInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base that is connected to the + data source. + """ + data_source_id: str | None = ... + """The unique identifier of the data source that contains the documents.""" + document_identifiers: list[DocumentIdentifier] | None = ... + """ + A list of objects, each of which contains information to identify a + document for which to retrieve information. + """ + +@dataclass(kw_only=True) +class GetKnowledgeBaseDocumentsOutput(_SerdeShape): + """Dataclass for GetKnowledgeBaseDocumentsOutput structure.""" + + document_details: list[KnowledgeBaseDocumentDetail] | None = ... + """ + A list of objects, each of which contains information about the + documents that were retrieved. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetKnowledgeBaseInput(_SerdeShape): + """Dataclass for GetKnowledgeBaseInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base you want to get information + on. + """ + +@dataclass(kw_only=True) +class GetKnowledgeBaseOutput(_SerdeShape): + """Dataclass for GetKnowledgeBaseOutput structure.""" + + knowledge_base: KnowledgeBase + """Contains details about the knowledge base.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPromptInput(_SerdeShape): + """Dataclass for GetPromptInput structure.""" + + prompt_identifier: str | None = ... + """The unique identifier of the prompt.""" + prompt_version: str | None = ... + """ + The version of the prompt about which you want to retrieve information. + Omit this field to return information about the working draft of the + prompt. + """ + included_data: str | None = ... + """ + Controls the scope of data returned. Set to `METADATA_ONLY` to return + only resource metadata. Set to `ALL_DATA` or omit this field to return + the full response. + """ + +@dataclass(kw_only=True) +class GetPromptOutput(_SerdeShape): + """Dataclass for GetPromptOutput structure.""" + + name: str + """The name of the prompt.""" + description: str | None = ... + """The descriptino of the prompt.""" + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that the prompt is + encrypted with. + """ + default_variant: str | None = ... + """ + The name of the default variant for the prompt. This value must match + the `name` field in the relevant + [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) + object. + """ + variants: list[PromptVariant] | None = ... + """ + A list of objects, each containing details about a variant of the + prompt. + """ + id: str + """The unique identifier of the prompt.""" + arn: str + """ + The Amazon Resource Name (ARN) of the prompt or the prompt version (if + you specified a version in the request). + """ + version: str + """The version of the prompt.""" + created_at: datetime + """The time at which the prompt was created.""" + updated_at: datetime + """The time at which the prompt was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyInput(_SerdeShape): + """Dataclass for GetResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the knowledge base to retrieve the + resource policy for. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyOutput(_SerdeShape): + """Dataclass for GetResourcePolicyOutput structure.""" + + resource_arn: str + """ + The ARN of the knowledge base that the resource policy is associated + with. + """ + policy: str | JsonString + """The JSON-formatted resource policy associated with the knowledge base.""" + revision_id: str + """The revision identifier of the resource policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRetrievalInstructionInput(_SerdeShape): + """Dataclass for GetRetrievalInstructionInput structure.""" + + retrieval_instruction_id: str | None = ... + """The identifier of the retrieval instruction to get.""" + retrieval_instruction_version: str | None = ... + """ + The version to return: a version number, or DRAFT for the retrieval + instruction's current reviewed content. When omitted, DRAFT is used. + This default is permanent: omitting retrievalInstructionVersion will + never resolve to a numbered version. + """ + +@dataclass(kw_only=True) +class GetRetrievalInstructionOutput(_SerdeShape): + """Dataclass for GetRetrievalInstructionOutput structure.""" + + retrieval_instruction_id: str + """The identifier of the retrieval instruction.""" + retrieval_instruction_arn: str + """The ARN of the retrieval instruction.""" + name: str + """The name of the retrieval instruction.""" + status: str + """ + Specifies whether you can use the instruction. You can resolve only an + ACTIVE instruction at retrieval time. Monotone: INACTIVE to ACTIVE once, + never back. Numbered versions are always ACTIVE. + """ + last_transition_status: str + """ + The outcome or in-progress state of the most recent create or update. + CREATING or UPDATING means the operation is still running. Independent + of status. Always has a value from the create 202 onward. On a numbered + version this is always CREATE_SUCCESSFUL: a version is created once, + from reviewed content, and is immutable. + """ + instruction: RetrievalInstructionContent | None = ... + """ + The reviewed content this instruction serves --- what + AgenticRetrieveStream resolves while status is ACTIVE. Absent until the + first create review passes. Always present on a numbered version. + """ + created_at: datetime + """ + When the retrieval instruction was created. On a numbered version, when + that version was created. + """ + updated_at: datetime + """ + When the retrieval instruction was last updated. Equal to createdAt on a + numbered version, which is immutable. + """ + description: str | None = ... + """ + A description of the retrieval instruction. On a numbered version, the + description of that version. + """ + customer_encryption_key_arn: str | None = ... + """ + The ARN of the customer managed KMS key protecting this content, when + one was supplied at create. + """ + last_transition_status_reasons: list[RetrievalInstructionFailureReason] | None = ... + """ + Why the most recent create or update was rejected. One entry for each + rejected field, or a single entry when the review itself failed. Each + entry has a machine-readable code and a message, and names the field + when it applies to one. The service includes this field only when + lastTransitionStatus is CREATE_FAILED or UPDATE_FAILED. Never present on + a numbered version. + """ + version: str | None = ... + """The version this response describes: a version number, or DRAFT.""" + latest_version: str | None = ... + """ + The largest version number that currently exists for this retrieval + instruction, that is, the newest version you can retrieve. Present only + on a DRAFT read, and only when at least one version exists. Because + version numbers are never reused, deleting versions can leave gaps: this + is the newest existing version, not a count and not the highest number + ever created. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVpcConfigurationInput(_SerdeShape): + """Dataclass for GetVpcConfigurationInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base that owns the VPC + configuration. + """ + vpc_configuration_id: str | None = ... + """The unique identifier of the VPC configuration to retrieve.""" + +@dataclass(kw_only=True) +class GetVpcConfigurationOutput(_SerdeShape): + """Dataclass for GetVpcConfigurationOutput structure.""" + + vpc_configuration: VpcConfiguration + """ + The VPC configuration, including its connection settings, resolution + mode, and current lifecycle status. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GuardrailConfiguration(_SerdeShape): + """Details about a guardrail associated with a resource.""" + + guardrail_identifier: str | None = ... + """The unique identifier of the guardrail.""" + guardrail_version: str | None = ... + """The version of the guardrail.""" + +@dataclass(kw_only=True) +class HierarchicalChunkingConfiguration(_SerdeShape): + """ + Settings for hierarchical document chunking for a data source. + Hierarchical chunking splits documents into layers of chunks where the + first layer contains large chunks, and the second layer contains smaller + chunks derived from the first layer. + + You configure the number of tokens to overlap, or repeat across adjacent + chunks. For example, if you set overlap tokens to 60, the last 60 tokens + in the first chunk are also included at the beginning of the second + chunk. For each layer, you must also configure the maximum number of + tokens in a chunk. + """ + + level_configurations: list[HierarchicalChunkingLevelConfiguration] + """Token settings for each layer.""" + overlap_tokens: int + """The number of tokens to repeat across chunks in the same layer.""" + +@dataclass(kw_only=True) +class HierarchicalChunkingLevelConfiguration(_SerdeShape): + """Token settings for a layer in a hierarchical chunking configuration.""" + + max_tokens: int + """The maximum number of tokens that a chunk can contain in this layer.""" + +@dataclass(kw_only=True) +class ImageExtractionConfiguration(_SerdeShape): + """Configuration for image extraction.""" + + image_extraction_status: str + """Whether image extraction is enabled or disabled.""" + +class IncludedData(UnknownEnumMixin, StrEnum): + ALL_DATA = "ALL_DATA" + METADATA_ONLY = "METADATA_ONLY" + +class IncludeExclude(UnknownEnumMixin, StrEnum): + INCLUDE = "INCLUDE" + EXCLUDE = "EXCLUDE" + +@dataclass(kw_only=True) +class IncompatibleConnectionDataTypeFlowValidationDetails(_SerdeShape): + """Details about incompatible data types in a connection between nodes.""" + + connection: str + """The name of the connection with incompatible data types.""" + +class IncompatibleLoopNodeType(UnknownEnumMixin, StrEnum): + INPUT = "Input" + CONDITION = "Condition" + ITERATOR = "Iterator" + COLLECTOR = "Collector" + +@dataclass(kw_only=True) +class InferenceConfiguration(_SerdeShape): + """ + Contains inference parameters to use when the agent invokes a foundation + model in the part of the agent sequence defined by the `promptType`. For + more information, see [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + """ + + temperature: float | None = ... + """ + The likelihood of the model selecting higher-probability options while + generating a response. A lower value makes the model more likely to + choose higher-probability options, while a higher value makes the model + more likely to choose lower-probability options. + """ + top_p: float | None = ... + """ + While generating a response, the model determines the probability of the + following token at each point of generation. The value that you set for + `Top P` determines the number of most-likely candidates from which the + model chooses the next token in the sequence. For example, if you set + `topP` to 0.8, the model only selects the next token from the top 80% of + the probability distribution of next tokens. + """ + top_k: int | None = ... + """ + While generating a response, the model determines the probability of the + following token at each point of generation. The value that you set for + `topK` is the number of most-likely candidates from which the model + chooses the next token in the sequence. For example, if you set `topK` + to 50, the model selects the next token from among the top 50 most + likely choices. + """ + maximum_length: int | None = ... + """The maximum number of tokens to allow in the generated response.""" + stop_sequences: list[str] | None = ... + """ + A list of stop sequences. A stop sequence is a sequence of characters + that causes the model to stop generating the response. + """ + +@dataclass(kw_only=True) +class IngestionJob(_SerdeShape): + """ + Contains details about a data ingestion job. Data sources are ingested + into a knowledge base so that Large Language Models (LLMs) can use your + data. + + This data type is used in the following API operations: + + - [StartIngestionJob + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_StartIngestionJob.html#API_agent_StartIngestionJob_ResponseSyntax) + + - [GetIngestionJob + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetIngestionJob.html#API_agent_GetIngestionJob_ResponseSyntax) + + - [ListIngestionJob + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListIngestionJobs.html#API_agent_ListIngestionJobs_ResponseSyntax) + """ + + knowledge_base_id: str + """The unique identifier of the knowledge for the data ingestion job.""" + data_source_id: str + """The unique identifier of the data source for the data ingestion job.""" + ingestion_job_id: str + """The unique identifier of the data ingestion job.""" + description: str | None = ... + """The description of the data ingestion job.""" + status: str + """The status of the data ingestion job.""" + statistics: IngestionJobStatistics | None = ... + """Contains statistics about the data ingestion job.""" + failure_reasons: list[str] | None = ... + """A list of reasons that the data ingestion job failed.""" + started_at: datetime + """ + The time the data ingestion job started. + + If you stop a data ingestion job, the `startedAt` time is the time the + job was started before the job was stopped. + """ + updated_at: datetime + """ + The time the data ingestion job was last updated. + + If you stop a data ingestion job, the `updatedAt` time is the time the + job was stopped. + """ + text_ready_at: datetime | None = ... + """ + The time at which all text content in the data ingestion job finished + extraction and became available to query. + + This time isn't returned until text extraction is complete for all the + documents in the job. + """ + +@dataclass(kw_only=True) +class IngestionJobFilter(_SerdeShape): + """The definition of a filter to filter the data.""" + + attribute: str + """The name of field or attribute to apply the filter.""" + operator: str + """The operation to apply to the field or attribute.""" + values: list[str] + """A list of values that belong to the field or attribute.""" + +class IngestionJobFilterAttribute(UnknownEnumMixin, StrEnum): + STATUS = "STATUS" + +class IngestionJobFilterOperator(UnknownEnumMixin, StrEnum): + EQ = "EQ" + +@dataclass(kw_only=True) +class IngestionJobSortBy(_SerdeShape): + """The parameters of sorting the data.""" + + attribute: str + """The name of field or attribute to apply sorting of data.""" + order: str + """The order for sorting the data.""" + +class IngestionJobSortByAttribute(UnknownEnumMixin, StrEnum): + STATUS = "STATUS" + STARTED_AT = "STARTED_AT" + +@dataclass(kw_only=True) +class IngestionJobStatistics(_SerdeShape): + """Contains the statistics for the data ingestion job.""" + + number_of_documents_scanned: int = ... + """ + The total number of source documents that were scanned. Includes new, + updated, and unchanged documents. + """ + number_of_metadata_documents_scanned: int = ... + """ + The total number of metadata files that were scanned. Includes new, + updated, and unchanged files. + """ + number_of_new_documents_indexed: int = ... + """ + The number of new source documents in the data source that were + successfully indexed. + """ + number_of_modified_documents_indexed: int = ... + """ + The number of modified source documents in the data source that were + successfully indexed. + """ + number_of_metadata_documents_modified: int = ... + """The number of metadata files that were updated or deleted.""" + number_of_documents_deleted: int = ... + """The number of source documents that were deleted.""" + number_of_documents_failed: int = ... + """The number of source documents that failed to be ingested.""" + number_of_documents_skipped: int = ... + """The number of source documents that were skipped during ingestion.""" + +class IngestionJobStatus(UnknownEnumMixin, StrEnum): + STARTING = "STARTING" + IN_PROGRESS = "IN_PROGRESS" + COMPLETE = "COMPLETE" + FAILED = "FAILED" + STOPPING = "STOPPING" + STOPPED = "STOPPED" + +@dataclass(kw_only=True) +class IngestionJobSummary(_SerdeShape): + """Contains details about a data ingestion job.""" + + knowledge_base_id: str + """The unique identifier of the knowledge base for the data ingestion job.""" + data_source_id: str + """The unique identifier of the data source for the data ingestion job.""" + ingestion_job_id: str + """The unique identifier of the data ingestion job.""" + description: str | None = ... + """The description of the data ingestion job.""" + status: str + """The status of the data ingestion job.""" + started_at: datetime + """The time the data ingestion job started.""" + updated_at: datetime + """The time the data ingestion job was last updated.""" + text_ready_at: datetime | None = ... + """ + The time at which all text content in the data ingestion job finished + extraction and became available to query. + + This time isn't returned until text extraction is complete for all the + documents in the job. + """ + statistics: IngestionJobStatistics | None = ... + """Contains statistics for the data ingestion job.""" + +@dataclass(kw_only=True) +class IngestKnowledgeBaseDocumentsInput(_SerdeShape): + """Dataclass for IngestKnowledgeBaseDocumentsInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base to ingest the documents + into. + """ + data_source_id: str | None = ... + """ + The unique identifier of the data source connected to the knowledge base + that you're adding documents to. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + documents: list[KnowledgeBaseDocument] | None = ... + """ + A list of objects, each of which contains information about the + documents to add. + """ + +@dataclass(kw_only=True) +class IngestKnowledgeBaseDocumentsOutput(_SerdeShape): + """Dataclass for IngestKnowledgeBaseDocumentsOutput structure.""" + + document_details: list[KnowledgeBaseDocumentDetail] | None = ... + """ + A list of objects, each of which contains information about the + documents that were ingested. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InlineCodeFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for an inline code node in your flow. Inline + code nodes let you write and execute code directly within your flow, + enabling data transformations, custom logic, and integrations without + needing an external Lambda function. + """ + + code: str = ... + """ + The code that's executed in your inline code node. The code can access + input data from previous nodes in the flow, perform operations on that + data, and produce output that can be used by other nodes in your flow. + + The code must be valid in the programming `language` that you specify. + """ + language: str = ... + """ + The programming language used by your inline code node. + + The code must be valid in the programming `language` that you specify. + Currently, only Python 3 (`Python_3`) is supported. + """ + +@dataclass(kw_only=True) +class InlineContent(_SerdeShape): + """ + Contains information about content defined inline to ingest into a data + source. Choose a `type` and include the field that corresponds to it. + """ + + type: str + """The type of inline content to define.""" + byte_content: ByteContentDoc | None = ... + """Contains information about content defined inline in bytes.""" + text_content: TextContentDoc | None = ... + """Contains information about content defined inline in text.""" + +class InlineContentType(UnknownEnumMixin, StrEnum): + BYTE = "BYTE" + TEXT = "TEXT" + +@dataclass(kw_only=True) +class InputFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for the input flow node for a flow. This node + takes the input from flow invocation and passes it to the next node in + the data type that you specify. + """ + +@dataclass(kw_only=True) +class IntermediateStorage(_SerdeShape): + """ + A location for storing content from data sources temporarily as it is + processed by custom components in the ingestion pipeline. + """ + + s3_location: S3Location + """An S3 bucket path.""" + +@dataclass(kw_only=True) +class InternalServerException(ServiceError, _SerdeShape): + """An internal server error occurred. Retry your request.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidLoopBoundaryFlowValidationDetails(_SerdeShape): + """ + Details about a flow that contains connections that violate loop + boundary rules. + """ + + connection: str + """The name of the connection that violates loop boundary rules.""" + source: str + """ + The source node of the connection that violates DoWhile loop boundary + rules. + """ + target: str + """ + The target node of the connection that violates DoWhile loop boundary + rules. + """ + +@dataclass(kw_only=True) +class IteratorFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for an iterator node in a flow. Takes an input + that is an array and iteratively sends each item of the array as an + output to the following node. The size of the array is also returned in + the output. + + The output flow node at the end of the flow iteration will return a + response for each member of the array. To return only one response, you + can include a collector node downstream from the iterator node. + """ + +@dataclass(kw_only=True) +class KendraKnowledgeBaseConfiguration(_SerdeShape): + """Settings for an Amazon Kendra knowledge base.""" + + kendra_index_arn: str + """The ARN of the Amazon Kendra index.""" + +@dataclass(kw_only=True) +class KnowledgeBase(_SerdeShape): + """Contains information about a knowledge base.""" + + knowledge_base_id: str + """The unique identifier of the knowledge base.""" + name: str + """The name of the knowledge base.""" + knowledge_base_arn: str + """The Amazon Resource Name (ARN) of the knowledge base.""" + description: str | None = ... + """The description of the knowledge base.""" + role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role with permissions to + invoke API operations on the knowledge base. + """ + knowledge_base_configuration: KnowledgeBaseConfiguration + """ + Contains details about the embeddings configuration of the knowledge + base. + """ + storage_configuration: StorageConfiguration | None = ... + """Contains details about the storage configuration of the knowledge base.""" + status: str + """ + The status of the knowledge base. The following statuses are possible: + + - CREATING -- The knowledge base is being created. + + - ACTIVE -- The knowledge base is ready to be queried. + + - DELETING -- The knowledge base is being deleted. + + - UPDATING -- The knowledge base is being updated. + + - FAILED -- The knowledge base API operation failed. + """ + created_at: datetime + """The time the knowledge base was created.""" + updated_at: datetime + """The time the knowledge base was last updated.""" + failure_reasons: list[str] | None = ... + """A list of reasons that the API operation on the knowledge base failed.""" + metadata_configurations: list[MetadataConfiguration] | None = ... + """ + The custom metadata field configurations of the knowledge base. Each + configuration specifies whether its field is searchable (`ENABLED` or + `DISABLED`). + + If the update fails, the knowledge base status becomes + `UPDATE_UNSUCCESSFUL`, the field configurations revert to their previous + values, and `failureReasons` describes the cause. You can retry the + update from `UPDATE_UNSUCCESSFUL`. + """ + +@dataclass(kw_only=True) +class KnowledgeBaseConfiguration(_SerdeShape): + """ + Contains details about the vector embeddings configuration of the + knowledge base. + """ + + type: str + """ + The type of data that the data source is converted into for the + knowledge base. Choose `MANAGED` to create a managed knowledge base. + """ + vector_knowledge_base_configuration: VectorKnowledgeBaseConfiguration | None = ... + """ + Contains details about the model that's used to convert the data source + into vector embeddings. + """ + managed_knowledge_base_configuration: ManagedKnowledgeBaseConfiguration | None = ... + """ + Contains configuration details for a knowledge base that uses a vector + store fully managed by Amazon Bedrock. Specify this object when the + knowledge base type is MANAGED. + """ + kendra_knowledge_base_configuration: KendraKnowledgeBaseConfiguration | None = ... + """Settings for an Amazon Kendra knowledge base.""" + sql_knowledge_base_configuration: SqlKnowledgeBaseConfiguration | None = ... + """ + Specifies configurations for a knowledge base connected to an SQL + database. + """ + +@dataclass(kw_only=True) +class KnowledgeBaseDocument(_SerdeShape): + """ + Contains information about a document to ingest into a knowledge base + and metadata to associate with it. + """ + + metadata: DocumentMetadata | None = ... + """Contains the metadata to associate with the document.""" + content: DocumentContent + """Contains the content of the document.""" + +@dataclass(kw_only=True) +class KnowledgeBaseDocumentDetail(_SerdeShape): + """Contains the details for a document that was ingested or deleted.""" + + knowledge_base_id: str + """ + The identifier of the knowledge base that the document was ingested into + or deleted from. + """ + data_source_id: str + """ + The identifier of the data source connected to the knowledge base that + the document was ingested into or deleted from. + """ + status: str + """ + The ingestion status of the document. The following statuses are + possible: + + - STARTING -- You submitted the ingestion job containing the document. + + - PENDING -- The document is waiting to be ingested. + + - IN_PROGRESS -- The document is being ingested. + + - INDEXED -- The document was successfully indexed. + + - PARTIALLY_INDEXED -- The document was partially indexed. + + - METADATA_PARTIALLY_INDEXED -- You submitted metadata for an existing + document and it was partially indexed. + + - METADATA_UPDATE_FAILED -- You submitted a metadata update for an + existing document but it failed. + + - FAILED -- The document failed to be ingested. + + - NOT_FOUND -- The document wasn't found. + + - IGNORED -- The document was ignored during ingestion. + + - DELETING -- You submitted the delete job containing the document. + + - DELETE_IN_PROGRESS -- The document is being deleted. + """ + identifier: DocumentIdentifier + """Contains information that identifies the document.""" + status_reason: str | None = ... + """The reason for the status. Appears alongside the status `IGNORED`.""" + updated_at: datetime | None = ... + """The date and time at which the document was last updated.""" + +@dataclass(kw_only=True) +class KnowledgeBaseFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for a knowledge base node in a flow. This node + takes a query as the input and returns, as the output, the retrieved + responses directly (as an array) or a response generated based on the + retrieved responses. For more information, see [Node types in a + flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) + in the Amazon Bedrock User Guide. + """ + + knowledge_base_id: str = ... + """The unique identifier of the knowledge base to query.""" + model_id: str | None = ... + """ + The unique identifier of the model or [inference + profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) + to use to generate a response from the query results. Omit this field if + you want to return the retrieved results as an array. + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """ + Contains configurations for a guardrail to apply during query and + response generation for the knowledge base in this configuration. + """ + number_of_results: int | None = ... + """The number of results to retrieve from the knowledge base.""" + prompt_template: KnowledgeBasePromptTemplate | None = ... + """ + A custom prompt template to use with the knowledge base for generating + responses. + """ + inference_configuration: PromptInferenceConfiguration | None = ... + """Contains inference configurations for the prompt.""" + reranking_configuration: VectorSearchRerankingConfiguration | None = ... + """ + The configuration for reranking the retrieved results from the knowledge + base to improve relevance. + """ + orchestration_configuration: KnowledgeBaseOrchestrationConfiguration | None = ... + """ + The configuration for orchestrating the retrieval and generation process + in the knowledge base node. + """ diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/models_1.pyi b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/models_1.pyi new file mode 100644 index 000000000..dd9872946 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/models_1.pyi @@ -0,0 +1,4517 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import JsonString, UnknownEnumMixin + +from ..models import ( + APISchema, + ActionGroupExecutor, + ActionGroupSummary, + Agent, + AgentActionGroup, + AgentAlias, + AgentAliasRoutingConfigurationListItem, + AgentAliasSummary, + AgentCollaborator, + AgentCollaboratorSummary, + AgentDescriptor, + AgentKnowledgeBase, + AgentKnowledgeBaseSummary, + AgentSummary, + AgentVersionSummary, + AnyToolChoice, + AudioExtractionConfiguration, + AutoToolChoice, + BedrockDataAutomationConfiguration, + BedrockFoundationModelConfiguration, + CachePointBlock, + ChatPromptTemplateConfiguration, + ContentBlock, + CrawlFilterConfiguration, + CuratedQuery, + CustomOrchestration, + DailySchedule, + DataSource, + DataSourceConfiguration, + DataSourceSummary, + DayOfMonth, + DeletionProtectionConfiguration, + EmbeddingModelConfiguration, + FieldForReranking, + FlowAliasConcurrencyConfiguration, + FlowAliasRoutingConfigurationListItem, + FlowAliasSummary, + FlowCondition, + FlowDefinition, + FlowSummary, + FlowVersionSummary, + FunctionSchema, + GuardrailConfiguration, + ImageExtractionConfiguration, + InferenceConfiguration, + IngestionJob, + IngestionJobFilter, + IngestionJobSortBy, + IngestionJobSummary, + KnowledgeBase, + KnowledgeBaseConfiguration, + KnowledgeBaseDocumentDetail, + ServiceError, + VectorIngestionConfiguration, + VideoExtractionConfiguration, + VpcConfigurationSummary, + WeeklySchedule, + _SerdeShape, +) + +@dataclass(kw_only=True) +class KnowledgeBaseOrchestrationConfiguration(_SerdeShape): + """ + Configures how the knowledge base orchestrates the retrieval and + generation process, allowing for customization of prompts, inference + parameters, and performance settings. + """ + + prompt_template: KnowledgeBasePromptTemplate | None = ... + """ + A custom prompt template for orchestrating the retrieval and generation + process. + """ + inference_config: PromptInferenceConfiguration | None = ... + """Contains inference configurations for the prompt.""" + additional_model_request_fields: dict[str, Document] | None = ... + """ + The additional model-specific request parameters as key-value pairs to + be included in the request to the foundation model. + """ + performance_config: PerformanceConfiguration | None = ... + """ + The performance configuration options for the knowledge base retrieval + and generation process. + """ + +@dataclass(kw_only=True) +class KnowledgeBasePromptTemplate(_SerdeShape): + """ + Defines a custom prompt template for orchestrating the retrieval and + generation process. + """ + + text_prompt_template: str | None = ... + """The text of the prompt template.""" + +class KnowledgeBaseState(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class KnowledgeBaseStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + DELETING = "DELETING" + UPDATING = "UPDATING" + FAILED = "FAILED" + DELETE_UNSUCCESSFUL = "DELETE_UNSUCCESSFUL" + UPDATE_UNSUCCESSFUL = "UPDATE_UNSUCCESSFUL" + +class KnowledgeBaseStorageType(UnknownEnumMixin, StrEnum): + """The storage type of a knowledge base.""" + + OPENSEARCH_SERVERLESS = "OPENSEARCH_SERVERLESS" + PINECONE = "PINECONE" + REDIS_ENTERPRISE_CLOUD = "REDIS_ENTERPRISE_CLOUD" + RDS = "RDS" + MONGO_DB_ATLAS = "MONGO_DB_ATLAS" + NEPTUNE_ANALYTICS = "NEPTUNE_ANALYTICS" + OPENSEARCH_MANAGED_CLUSTER = "OPENSEARCH_MANAGED_CLUSTER" + S3_VECTORS = "S3_VECTORS" + +@dataclass(kw_only=True) +class KnowledgeBaseSummary(_SerdeShape): + """Contains details about a knowledge base.""" + + knowledge_base_id: str + """The unique identifier of the knowledge base.""" + name: str + """The name of the knowledge base.""" + description: str | None = ... + """The description of the knowledge base.""" + status: str + """The status of the knowledge base.""" + updated_at: datetime + """The time the knowledge base was last updated.""" + +class KnowledgeBaseType(UnknownEnumMixin, StrEnum): + """The type of a knowledge base.""" + + VECTOR = "VECTOR" + KENDRA = "KENDRA" + SQL = "SQL" + MANAGED = "MANAGED" + +@dataclass(kw_only=True) +class LambdaFunctionFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for a Lambda function node in the flow. You + specify the Lambda function to invoke and the inputs into the function. + The output is the response that is defined in the Lambda function. For + more information, see [Node types in a + flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) + in the Amazon Bedrock User Guide. + """ + + lambda_arn: str = ... + """The Amazon Resource Name (ARN) of the Lambda function to invoke.""" + +@dataclass(kw_only=True) +class LastDayOfMonth(_SerdeShape): + """ + The option to run the monthly sync on the last calendar day of each + month. + """ + +@dataclass(kw_only=True) +class LexFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for a Lex node in the flow. You specify a Amazon + Lex bot to invoke. This node takes an utterance as the input and returns + as the output the intent identified by the Amazon Lex bot. For more + information, see [Node types in a + flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) + in the Amazon Bedrock User Guide. + """ + + bot_alias_arn: str = ... + """The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.""" + locale_id: str = ... + """The Region to invoke the Amazon Lex bot in.""" + +@dataclass(kw_only=True) +class ListAgentActionGroupsInput(_SerdeShape): + """Dataclass for ListAgentActionGroupsInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent.""" + agent_version: str | None = ... + """The version of the agent.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListAgentActionGroupsOutput(_SerdeShape): + """Dataclass for ListAgentActionGroupsOutput structure.""" + + action_group_summaries: list[ActionGroupSummary] + """ + A list of objects, each of which contains information about an action + group. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAgentAliasesInput(_SerdeShape): + """Dataclass for ListAgentAliasesInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListAgentAliasesOutput(_SerdeShape): + """Dataclass for ListAgentAliasesOutput structure.""" + + agent_alias_summaries: list[AgentAliasSummary] + """ + A list of objects, each of which contains information about an alias of + the agent. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAgentCollaboratorsInput(_SerdeShape): + """Dataclass for ListAgentCollaboratorsInput structure.""" + + agent_id: str | None = ... + """The agent's ID.""" + agent_version: str | None = ... + """The agent's version.""" + max_results: int | None = ... + """ + The maximum number of agent collaborators to return in one page of + results. + """ + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + +@dataclass(kw_only=True) +class ListAgentCollaboratorsOutput(_SerdeShape): + """Dataclass for ListAgentCollaboratorsOutput structure.""" + + agent_collaborator_summaries: list[AgentCollaboratorSummary] + """A list of collaborator summaries.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAgentKnowledgeBasesInput(_SerdeShape): + """Dataclass for ListAgentKnowledgeBasesInput structure.""" + + agent_id: str | None = ... + """ + The unique identifier of the agent for which to return information about + knowledge bases associated with it. + """ + agent_version: str | None = ... + """ + The version of the agent for which to return information about knowledge + bases associated with it. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListAgentKnowledgeBasesOutput(_SerdeShape): + """Dataclass for ListAgentKnowledgeBasesOutput structure.""" + + agent_knowledge_base_summaries: list[AgentKnowledgeBaseSummary] + """ + A list of objects, each of which contains information about a knowledge + base associated with the agent. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAgentsInput(_SerdeShape): + """Dataclass for ListAgentsInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListAgentsOutput(_SerdeShape): + """Dataclass for ListAgentsOutput structure.""" + + agent_summaries: list[AgentSummary] + """A list of objects, each of which contains information about an agent.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAgentVersionsInput(_SerdeShape): + """Dataclass for ListAgentVersionsInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListAgentVersionsOutput(_SerdeShape): + """Dataclass for ListAgentVersionsOutput structure.""" + + agent_version_summaries: list[AgentVersionSummary] + """ + A list of objects, each of which contains information about a version of + the agent. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDataSourcesInput(_SerdeShape): + """Dataclass for ListDataSourcesInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base for which to return a list + of information. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListDataSourcesOutput(_SerdeShape): + """Dataclass for ListDataSourcesOutput structure.""" + + data_source_summaries: list[DataSourceSummary] + """ + A list of objects, each of which contains information about a data + source. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFlowAliasesInput(_SerdeShape): + """Dataclass for ListFlowAliasesInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow for which aliases are being returned.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListFlowAliasesOutput(_SerdeShape): + """Dataclass for ListFlowAliasesOutput structure.""" + + flow_alias_summaries: list[FlowAliasSummary] + """A list, each member of which contains information about an alias.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFlowsInput(_SerdeShape): + """Dataclass for ListFlowsInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListFlowsOutput(_SerdeShape): + """Dataclass for ListFlowsOutput structure.""" + + flow_summaries: list[FlowSummary] + """A list, each member of which contains information about a flow.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFlowVersionsInput(_SerdeShape): + """Dataclass for ListFlowVersionsInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListFlowVersionsOutput(_SerdeShape): + """Dataclass for ListFlowVersionsOutput structure.""" + + flow_version_summaries: list[FlowVersionSummary] + """A list, each member of which contains information about a flow.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListIngestionJobsInput(_SerdeShape): + """Dataclass for ListIngestionJobsInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base for the list of data + ingestion jobs. + """ + data_source_id: str | None = ... + """ + The unique identifier of the data source for the list of data ingestion + jobs. + """ + filters: list[IngestionJobFilter] | None = ... + """Contains information about the filters for filtering the data.""" + sort_by: IngestionJobSortBy | None = ... + """Contains details about how to sort the data.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListIngestionJobsOutput(_SerdeShape): + """Dataclass for ListIngestionJobsOutput structure.""" + + ingestion_job_summaries: list[IngestionJobSummary] + """A list of data ingestion jobs with information about each job.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListKnowledgeBaseDocumentsInput(_SerdeShape): + """Dataclass for ListKnowledgeBaseDocumentsInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base that is connected to the + data source. + """ + data_source_id: str | None = ... + """The unique identifier of the data source that contains the documents.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListKnowledgeBaseDocumentsOutput(_SerdeShape): + """Dataclass for ListKnowledgeBaseDocumentsOutput structure.""" + + document_details: list[KnowledgeBaseDocumentDetail] + """ + A list of objects, each of which contains information about the + documents that were retrieved. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListKnowledgeBasesInput(_SerdeShape): + """Dataclass for ListKnowledgeBasesInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListKnowledgeBasesOutput(_SerdeShape): + """Dataclass for ListKnowledgeBasesOutput structure.""" + + knowledge_base_summaries: list[KnowledgeBaseSummary] + """A list of knowledge bases with information about each knowledge base.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPromptsInput(_SerdeShape): + """Dataclass for ListPromptsInput structure.""" + + prompt_identifier: str | None = ... + """ + The unique identifier of the prompt for whose versions you want to + return information. Omit this field to list information about all + prompts in an account. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListPromptsOutput(_SerdeShape): + """Dataclass for ListPromptsOutput structure.""" + + prompt_summaries: list[PromptSummary] + """ + A list, each member of which contains information about a prompt using + Prompt management. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRetrievalInstructionsInput(_SerdeShape): + """Dataclass for ListRetrievalInstructionsInput structure.""" + + status: str | None = ... + """Return only instructions with this availability status.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single page. The effective + upper bound is enforced service-side. + """ + next_token: str | None = ... + """The pagination token from a previous ListRetrievalInstructions response.""" + +@dataclass(kw_only=True) +class ListRetrievalInstructionsOutput(_SerdeShape): + """Dataclass for ListRetrievalInstructionsOutput structure.""" + + retrieval_instruction_summaries: list[RetrievalInstructionSummary] + """The retrieval instruction summaries in this page.""" + next_token: str | None = ... + """ + The pagination token to pass to the next ListRetrievalInstructions call, + absent on the last page. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRetrievalInstructionVersionsInput(_SerdeShape): + """Dataclass for ListRetrievalInstructionVersionsInput structure.""" + + retrieval_instruction_id: str | None = ... + """The identifier of the retrieval instruction whose versions to list.""" + max_results: int | None = ... + """ + Specifies the maximum number of versions to return in a single page. The + service enforces the effective upper bound. + """ + next_token: str | None = ... + """ + The pagination token from a previous ListRetrievalInstructionVersions + response. + """ + +@dataclass(kw_only=True) +class ListRetrievalInstructionVersionsOutput(_SerdeShape): + """Dataclass for ListRetrievalInstructionVersionsOutput structure.""" + + retrieval_instruction_version_summaries: list[RetrievalInstructionVersionSummary] + """The version summaries in this page, newest first.""" + next_token: str | None = ... + """ + The pagination token to pass to the next + ListRetrievalInstructionVersions call, absent on the last page. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceInput(_SerdeShape): + """Dataclass for ListTagsForResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource for which to list tags.""" + +@dataclass(kw_only=True) +class ListTagsForResourceOutput(_SerdeShape): + """Dataclass for ListTagsForResourceOutput structure.""" + + tags: dict[str, str] | None = ... + """The key-value pairs for the tags associated with the resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListVpcConfigurationsInput(_SerdeShape): + """Dataclass for ListVpcConfigurationsInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base whose VPC configurations you + want to list. + """ + status_filter: str | None = ... + """ + The status to filter the results by. Only VPC configurations with the + specified status are returned. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If more results + are available, the response returns a `nextToken`. + """ + next_token: str | None = ... + """ + A pagination token to retrieve the next page of results, returned in a + previous response when more results are available. + """ + +@dataclass(kw_only=True) +class ListVpcConfigurationsOutput(_SerdeShape): + """Dataclass for ListVpcConfigurationsOutput structure.""" + + items: list[VpcConfigurationSummary] + """A list of VPC configuration summaries.""" + next_token: str | None = ... + """ + A pagination token to retrieve the next page of results, present when + the total number of results exceeds the maximum number of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LoopControllerFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for the controller node of a DoWhile loop in the + flow. + """ + + continue_condition: FlowCondition + """ + Specifies the condition that determines when the flow exits the DoWhile + loop. The loop executes until this condition evaluates to true. + """ + max_iterations: int = ... + """ + Specifies the maximum number of times the DoWhile loop can iterate + before the flow exits the loop. + """ + +@dataclass(kw_only=True) +class LoopFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for the nodes of a DoWhile loop in your flow. + + A DoWhile loop is made up of the following nodes: + + - `Loop` - The container node that holds the loop's flow definition. + This node encompasses the entire loop structure. + + - `LoopInput` - The entry point node for the loop. This node receives + inputs from nodes outside the loop and from previous loop iterations. + + - Body nodes - The processing nodes that execute within each loop + iteration. These can be nodes for handling data in your flow, such as + a prompt or Lambda function nodes. Some node types aren't supported + inside a DoWhile loop body. For more information, see + [LoopIncompatibleNodeTypeFlowValidationDetails](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_LoopIncompatibleNodeTypeFlowValidationDetails.html). + + - `LoopController` - The node that evaluates whether the loop should + continue or exit based on a condition. + + These nodes work together to create a loop that runs at least once and + continues until a specified condition is met or a maximum number of + iterations is reached. + """ + + definition: FlowDefinition + """ + The definition of the DoWhile loop nodes and connections between nodes + in the flow. + """ + +@dataclass(kw_only=True) +class LoopIncompatibleNodeTypeFlowValidationDetails(_SerdeShape): + """ + Details about a flow that contains an incompatible node in a DoWhile + loop. + """ + + node: str + """The `Loop` container node that contains an incompatible node.""" + incompatible_node_type: str + """ + The node type of the incompatible node in the DoWhile loop. Some node + types, like a condition node, aren't allowed in a DoWhile loop. + """ + incompatible_node_name: str + """The node that's incompatible in the DoWhile loop.""" + +@dataclass(kw_only=True) +class LoopInputFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for the input node of a DoWhile loop in the + flow. + """ + +@dataclass(kw_only=True) +class MalformedConditionExpressionFlowValidationDetails(_SerdeShape): + """Details about a malformed condition expression in a node.""" + + node: str + """The name of the node containing the malformed condition expression.""" + condition: str + """The name of the malformed condition.""" + cause: str + """The error message describing why the condition expression is malformed.""" + +@dataclass(kw_only=True) +class MalformedNodeInputExpressionFlowValidationDetails(_SerdeShape): + """Details about a malformed input expression in a node.""" + + node: str + """The name of the node containing the malformed input expression.""" + input: str + """The name of the input with the malformed expression.""" + cause: str + """The error message describing why the input expression is malformed.""" + +@dataclass(kw_only=True) +class ManagedKnowledgeBaseConfiguration(_SerdeShape): + """Configurations for a managed knowledge base.""" + + embedding_model_type: str | None = ... + """ + Choose CUSTOM to provide your own Bedrock embedding model ARN. Choose + MANAGED to use a service-managed embedding model. + """ + embedding_model_arn: str | None = ... + """The ARN for the embeddings model.""" + embedding_model_configuration: EmbeddingModelConfiguration | None = ... + """ + The configuration details for the embeddings model. Not required when + choosing the MANAGED embeddingModelType. + """ + server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... + """ + Contains the configuration for server-side encryption for your managed + knowledge base. + """ + supplemental_data_storage_configuration: ( + SupplementalDataStorageConfiguration | None + ) = ... + """ + Use this object to specify the Amazon S3 location that the knowledge + base uses to process and ingest multimodal content. This field is + required when you use a native multimodal embedding model. + """ + +@dataclass(kw_only=True) +class ManagedKnowledgeBaseConnectorConfiguration(_SerdeShape): + """Configuration for managed knowledge base connector data sources.""" + + deletion_protection_configuration: DeletionProtectionConfiguration | None = ... + """A safeguard against accidental bulk deletion of indexed content.""" + media_extraction_configuration: MediaExtractionConfiguration | None = ... + """ + Configuration for extracting media (images, audio, video) from data + source files. + """ + connector_parameters: Document | None = ... + """ + Connector-specific parameters. For more information, see [Connect a data + source](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-connect-ds.html). + """ + sync_schedule: SyncSchedule | None = ... + """ + The recurring schedule on which the connector automatically syncs this + data source. If not specified, the data source is not synced + automatically and you start each sync yourself. Not supported for the + Custom connector. + """ + +@dataclass(kw_only=True) +class MediaExtractionConfiguration(_SerdeShape): + """Configuration for media extraction settings.""" + + image_extraction_configuration: ImageExtractionConfiguration | None = ... + """Configuration for image extraction.""" + audio_extraction_configuration: AudioExtractionConfiguration | None = ... + """Configuration for audio extraction.""" + video_extraction_configuration: VideoExtractionConfiguration | None = ... + """Configuration for video extraction.""" + +@dataclass(kw_only=True) +class MemoryConfiguration(_SerdeShape): + """Details of the memory configuration.""" + + enabled_memory_types: list[str] + """The type of memory that is stored.""" + storage_days: int = ... + """ + The number of days the agent is configured to retain the conversational + context. + """ + session_summary_configuration: SessionSummaryConfiguration | None = ... + """ + Contains the configuration for SESSION_SUMMARY memory type enabled for + the agent. + """ + +class MemoryType(UnknownEnumMixin, StrEnum): + SESSION_SUMMARY = "SESSION_SUMMARY" + +@dataclass(kw_only=True) +class Message(_SerdeShape): + """ + A message input or response from a model. For more information, see + [Create a prompt using Prompt + management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). + """ + + role: str + """The role that the message belongs to.""" + content: list[ContentBlock] + """The content in the message.""" + +@dataclass(kw_only=True) +class MetadataAttribute(_SerdeShape): + """Contains information about a metadata attribute.""" + + key: str + """The key of the metadata attribute.""" + value: MetadataAttributeValue + """Contains the value of the metadata attribute.""" + +@dataclass(kw_only=True) +class MetadataAttributeValue(_SerdeShape): + """ + Contains the value of the metadata attribute. Choose a `type` and + include the field that corresponds to it. + """ + + type: str + """The type of the metadata attribute.""" + number_value: float | None = ... + """The value of the numeric metadata attribute.""" + boolean_value: bool | None = ... + """The value of the Boolean metadata attribute.""" + string_value: str | None = ... + """The value of the string metadata attribute.""" + string_list_value: list[str] | None = ... + """An array of strings that define the value of the metadata attribute.""" + +@dataclass(kw_only=True) +class MetadataConfiguration(_SerdeShape): + """ + Contains the configuration of a single custom metadata field in a + knowledge base, including its name, data type, and whether the field is + searchable. + """ + + name: str + """The name of the custom metadata field.""" + type: str + """ + The data type of the custom metadata field. Valid values are `STRING` + and `STRING_LIST`. + """ + searchability: str + """ + Specifies whether the custom metadata field is searchable. Valid values: + + - `ENABLED` -- The field is searchable. + + - `DISABLED` -- The field is not searchable. + """ + +@dataclass(kw_only=True) +class MetadataConfigurationForReranking(_SerdeShape): + """ + Specifies how metadata fields should be handled during the reranking + process. + """ + + selection_mode: str + """The mode for selecting metadata fields for reranking.""" + selective_mode_configuration: ( + RerankingMetadataSelectiveModeConfiguration | None + ) = ... + """ + The configuration for selective metadata field inclusion or exclusion + during reranking. + """ + +class MetadataSourceType(UnknownEnumMixin, StrEnum): + IN_LINE_ATTRIBUTE = "IN_LINE_ATTRIBUTE" + S3_LOCATION = "S3_LOCATION" + +class MetadataValueType(UnknownEnumMixin, StrEnum): + BOOLEAN = "BOOLEAN" + NUMBER = "NUMBER" + STRING = "STRING" + STRING_LIST = "STRING_LIST" + +@dataclass(kw_only=True) +class MismatchedNodeInputTypeFlowValidationDetails(_SerdeShape): + """Details about mismatched input data types in a node.""" + + node: str + """The name of the node containing the input with the mismatched data type.""" + input: str + """The name of the input with the mismatched data type.""" + expected_type: str + """The expected data type for the node input.""" + +@dataclass(kw_only=True) +class MismatchedNodeOutputTypeFlowValidationDetails(_SerdeShape): + """Details about mismatched output data types in a node.""" + + node: str + """ + The name of the node containing the output with the mismatched data + type. + """ + output: str + """The name of the output with the mismatched data type.""" + expected_type: str + """The expected data type for the node output.""" + +@dataclass(kw_only=True) +class MissingConnectionConfigurationFlowValidationDetails(_SerdeShape): + """Details about a connection missing required configuration.""" + + connection: str + """The name of the connection missing configuration.""" + +@dataclass(kw_only=True) +class MissingDefaultConditionFlowValidationDetails(_SerdeShape): + """Details about a missing default condition in a conditional node.""" + + node: str + """The name of the node missing the default condition.""" + +@dataclass(kw_only=True) +class MissingEndingNodesFlowValidationDetails(_SerdeShape): + """Details about missing ending nodes (such as FlowOutputNode) in the flow.""" + +@dataclass(kw_only=True) +class MissingLoopControllerNodeFlowValidationDetails(_SerdeShape): + """ + Details about a flow that's missing a required `LoopController` node in + a DoWhile loop. + """ + + loop_node: str + """ + The DoWhile loop in a flow that's missing a required `LoopController` + node. + """ + +@dataclass(kw_only=True) +class MissingLoopInputNodeFlowValidationDetails(_SerdeShape): + """ + Details about a flow that's missing a required `LoopInput` node in a + DoWhile loop. + """ + + loop_node: str + """The DoWhile loop in a flow that's missing a required `LoopInput` node.""" + +@dataclass(kw_only=True) +class MissingNodeConfigurationFlowValidationDetails(_SerdeShape): + """Details about a node missing a required configuration.""" + + node: str + """The name of the node missing a required configuration.""" + +@dataclass(kw_only=True) +class MissingNodeInputFlowValidationDetails(_SerdeShape): + """Details about a missing required input in a node.""" + + node: str + """The name of the node missing the required input.""" + input: str + """The name of the missing input.""" + +@dataclass(kw_only=True) +class MissingNodeOutputFlowValidationDetails(_SerdeShape): + """Details about a missing required output in a node.""" + + node: str + """The name of the node missing the required output.""" + output: str + """The name of the missing output.""" + +@dataclass(kw_only=True) +class MissingStartingNodesFlowValidationDetails(_SerdeShape): + """ + Details about missing starting nodes (such as FlowInputNode) in the + flow. + """ + +@dataclass(kw_only=True) +class MongoDbAtlasConfiguration(_SerdeShape): + """ + Contains details about the storage configuration of the knowledge base + in MongoDB Atlas. + """ + + endpoint: str + """The endpoint URL of your MongoDB Atlas cluster for your knowledge base.""" + database_name: str + """The database name in your MongoDB Atlas cluster for your knowledge base.""" + collection_name: str + """The collection name of the knowledge base in MongoDB Atlas.""" + vector_index_name: str + """The name of the MongoDB Atlas vector search index.""" + credentials_secret_arn: str + """ + The Amazon Resource Name (ARN) of the secret that you created in Secrets + Manager that contains user credentials for your MongoDB Atlas cluster. + """ + field_mapping: MongoDbAtlasFieldMapping + """ + Contains the names of the fields to which to map information about the + vector store. + """ + endpoint_service_name: str | None = ... + """ + The name of the VPC endpoint service in your account that is connected + to your MongoDB Atlas cluster. + """ + text_index_name: str | None = ... + """ + The name of the text search index in the MongoDB collection. This is + required for using the hybrid search feature. + """ + +@dataclass(kw_only=True) +class MongoDbAtlasFieldMapping(_SerdeShape): + """ + Contains the names of the fields to which to map information about the + vector store. + """ + + vector_field: str + """ + The name of the field in which Amazon Bedrock stores the vector + embeddings for your data sources. + """ + text_field: str + """ + The name of the field in which Amazon Bedrock stores the raw text from + your data. The text is split according to the chunking strategy you + choose. + """ + metadata_field: str + """ + The name of the field in which Amazon Bedrock stores metadata about the + vector store. + """ + +@dataclass(kw_only=True) +class MonthlySchedule(_SerdeShape): + """A monthly sync on a specified day of the month.""" + + day_of_month: DayOfMonth + """The day of the month on which the monthly sync runs.""" + +@dataclass(kw_only=True) +class MultipleLoopControllerNodesFlowValidationDetails(_SerdeShape): + """ + Details about a flow that contains multiple `LoopController` nodes in a + DoWhile loop. + """ + + loop_node: str + """ + The DoWhile loop in a flow that contains multiple `LoopController` + nodes. + """ + +@dataclass(kw_only=True) +class MultipleLoopInputNodesFlowValidationDetails(_SerdeShape): + """ + Details about a flow that contains multiple `LoopInput` nodes in a + DoWhile loop. + """ + + loop_node: str + """The DoWhile loop in a flow that contains multiple `LoopInput` nodes.""" + +@dataclass(kw_only=True) +class MultipleNodeInputConnectionsFlowValidationDetails(_SerdeShape): + """Details about multiple connections to a single node input.""" + + node: str + """The name of the node containing the input with multiple connections.""" + input: str + """The name of the input with multiple connections to it.""" + +@dataclass(kw_only=True) +class NeptuneAnalyticsConfiguration(_SerdeShape): + """ + Contains details about the storage configuration of the knowledge base + in Amazon Neptune Analytics. For more information, see [Create a vector + index in Amazon Neptune + Analytics](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html). + """ + + graph_arn: str + """The Amazon Resource Name (ARN) of the Neptune Analytics vector store.""" + field_mapping: NeptuneAnalyticsFieldMapping + """ + Contains the names of the fields to which to map information about the + vector store. + """ + +@dataclass(kw_only=True) +class NeptuneAnalyticsFieldMapping(_SerdeShape): + """ + Contains the names of the fields to which to map information about the + vector store. + """ + + text_field: str + """ + The name of the field in which Amazon Bedrock stores the raw text from + your data. The text is split according to the chunking strategy you + choose. + """ + metadata_field: str + """ + The name of the field in which Amazon Bedrock stores metadata about the + vector store. + """ + +@dataclass(kw_only=True) +class OpenSearchManagedClusterConfiguration(_SerdeShape): + """ + Contains details about the Managed Cluster configuration of the + knowledge base in Amazon OpenSearch Service. For more information, see + [Create a vector index in OpenSearch Managed + Cluster](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html). + """ + + domain_endpoint: str + """The endpoint URL the OpenSearch domain.""" + domain_arn: str + """The Amazon Resource Name (ARN) of the OpenSearch domain.""" + vector_index_name: str + """The name of the vector store.""" + field_mapping: OpenSearchManagedClusterFieldMapping + """ + Contains the names of the fields to which to map information about the + vector store. + """ + +@dataclass(kw_only=True) +class OpenSearchManagedClusterFieldMapping(_SerdeShape): + """ + Contains the names of the fields to which to map information about the + vector store. + """ + + vector_field: str + """ + The name of the field in which Amazon Bedrock stores the vector + embeddings for your data sources. + """ + text_field: str + """ + The name of the field in which Amazon Bedrock stores the raw text from + your data. The text is split according to the chunking strategy you + choose. + """ + metadata_field: str + """ + The name of the field in which Amazon Bedrock stores metadata about the + vector store. + """ + +@dataclass(kw_only=True) +class OpenSearchServerlessConfiguration(_SerdeShape): + """ + Contains details about the storage configuration of the knowledge base + in Amazon OpenSearch Service. For more information, see [Create a vector + index in Amazon OpenSearch + Service](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html). + """ + + collection_arn: str + """The Amazon Resource Name (ARN) of the OpenSearch Service vector store.""" + vector_index_name: str + """The name of the vector store.""" + field_mapping: OpenSearchServerlessFieldMapping + """ + Contains the names of the fields to which to map information about the + vector store. + """ + +@dataclass(kw_only=True) +class OpenSearchServerlessFieldMapping(_SerdeShape): + """ + Contains the names of the fields to which to map information about the + vector store. + """ + + vector_field: str + """ + The name of the field in which Amazon Bedrock stores the vector + embeddings for your data sources. + """ + text_field: str + """ + The name of the field in which Amazon Bedrock stores the raw text from + your data. The text is split according to the chunking strategy you + choose. + """ + metadata_field: str + """ + The name of the field in which Amazon Bedrock stores metadata about the + vector store. + """ + +@dataclass +class OrchestrationExecutorLambda(_SerdeShape): + """ + The Amazon Resource Name (ARN) of the Lambda function containing the + business logic that is carried out upon invoking the action. + """ + + value: str + +@dataclass +class OrchestrationExecutorUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +OrchestrationExecutor = Union[ + OrchestrationExecutorLambda | OrchestrationExecutorUnknown +] +""" +Contains details about the Lambda function containing the orchestration +logic carried out upon invoking the custom orchestration. +""" + +class _OrchestrationExecutorDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> OrchestrationExecutor: ... + +class OrchestrationType(UnknownEnumMixin, StrEnum): + DEFAULT = "DEFAULT" + CUSTOM_ORCHESTRATION = "CUSTOM_ORCHESTRATION" + +@dataclass(kw_only=True) +class OutputFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for an output flow node in the flow. You specify + the data type expected for the input into the node in the `type` field + and how to return the final output in the `expression` field. + """ + +@dataclass(kw_only=True) +class ParameterDetail(_SerdeShape): + """ + Contains details about a parameter in a function for an action group. + + This data type is used in the following API operations: + + - [CreateAgentActionGroup + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_RequestSyntax) + + - [CreateAgentActionGroup + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_ResponseSyntax) + + - [UpdateAgentActionGroup + request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_RequestSyntax) + + - [UpdateAgentActionGroup + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_ResponseSyntax) + + - [GetAgentActionGroup + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentActionGroup.html#API_agent_GetAgentActionGroup_ResponseSyntax) + """ + + description: str | None = ... + """ + A description of the parameter. Helps the foundation model determine how + to elicit the parameters from the user. + """ + type: str + """The data type of the parameter.""" + required: bool | None = ... + """ + Whether the parameter is required for the agent to complete the function + for action group invocation. + """ + +@dataclass(kw_only=True) +class ParsingConfiguration(_SerdeShape): + """ + Settings for parsing document contents. If you exclude this field, the + default parser converts the contents of each document into text before + splitting it into chunks. Specify the parsing strategy to use in the + `parsingStrategy` field and include the relevant configuration, or omit + it to use the Amazon Bedrock default parser. For more information, see + [Parsing options for your data + source](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-advanced-parsing.html). + + Note: + If you specify `BEDROCK_DATA_AUTOMATION` or `BEDROCK_FOUNDATION_MODEL` + and it fails to parse a file, the Amazon Bedrock default parser will be + used instead. + """ + + parsing_strategy: str + """ + The parsing strategy for the data source. + + For managed knowledge bases, the strategy that you can select depends on + the embedding model that your knowledge base uses: + + - If your knowledge base uses a native multimodal embedding model, + specify `MULTI_MODAL_EMBEDDINGS`. With this strategy, files are sent + directly to the embedding model instead of being parsed into text. + This is the only strategy that is supported for these knowledge bases. + + - Otherwise, specify `SMART_PARSING`. + + For more information, see [Customize ingestion for managed knowledge + bases](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-customize-ingestion.html). + """ + bedrock_foundation_model_configuration: ( + BedrockFoundationModelConfiguration | None + ) = ... + """ + If you specify `BEDROCK_FOUNDATION_MODEL` as the parsing strategy for + ingesting your data source, use this object to modify configurations for + using a foundation model to parse documents. + """ + bedrock_data_automation_configuration: ( + BedrockDataAutomationConfiguration | None + ) = ... + """ + If you specify `BEDROCK_DATA_AUTOMATION` as the parsing strategy for + ingesting your data source, use this object to modify configurations for + using the Amazon Bedrock Data Automation parser. + """ + +class ParsingModality(UnknownEnumMixin, StrEnum): + MULTIMODAL = "MULTIMODAL" + +@dataclass(kw_only=True) +class ParsingPrompt(_SerdeShape): + """Instructions for interpreting the contents of a document.""" + + parsing_prompt_text: str + """Instructions for interpreting the contents of a document.""" + +class ParsingStrategy(UnknownEnumMixin, StrEnum): + BEDROCK_FOUNDATION_MODEL = "BEDROCK_FOUNDATION_MODEL" + BEDROCK_DATA_AUTOMATION = "BEDROCK_DATA_AUTOMATION" + SMART_PARSING = "SMART_PARSING" + MULTI_MODAL_EMBEDDINGS = "MULTI_MODAL_EMBEDDINGS" + +@dataclass(kw_only=True) +class PatternObjectFilter(_SerdeShape): + """ + The specific filters applied to your data source content. You can filter + out or include certain content. + """ + + object_type: str + """The supported object type or content type of the data source.""" + inclusion_filters: list[str] | None = ... + """ + A list of one or more inclusion regular expression patterns to include + certain object types that adhere to the pattern. If you specify an + inclusion and exclusion filter/pattern and both match a document, the + exclusion filter takes precedence and the document isn't crawled. + """ + exclusion_filters: list[str] | None = ... + """ + A list of one or more exclusion regular expression patterns to exclude + certain object types that adhere to the pattern. If you specify an + inclusion and exclusion filter/pattern and both match a document, the + exclusion filter takes precedence and the document isn't crawled. + """ + +@dataclass(kw_only=True) +class PatternObjectFilterConfiguration(_SerdeShape): + """ + The configuration of filtering certain objects or content types of the + data source. + """ + + filters: list[PatternObjectFilter] + """ + The configuration of specific filters applied to your data source + content. You can filter out or include certain content. + """ + +class PerformanceConfigLatency(UnknownEnumMixin, StrEnum): + STANDARD = "standard" + OPTIMIZED = "optimized" + +@dataclass(kw_only=True) +class PerformanceConfiguration(_SerdeShape): + """ + The performance-related configuration options for the knowledge base + retrieval and generation process. + """ + + latency: str = ... + """The latency optimization setting.""" + +@dataclass(kw_only=True) +class PineconeConfiguration(_SerdeShape): + """ + Contains details about the storage configuration of the knowledge base + in Pinecone. For more information, see [Create a vector index in + Pinecone](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-pinecone.html). + """ + + connection_string: str + """The endpoint URL for your index management page.""" + credentials_secret_arn: str + """ + The Amazon Resource Name (ARN) of the secret that you created in Secrets + Manager that is linked to your Pinecone API key. + """ + namespace: str | None = ... + """The namespace to be used to write new data to your database.""" + field_mapping: PineconeFieldMapping + """ + Contains the names of the fields to which to map information about the + vector store. + """ + +@dataclass(kw_only=True) +class PineconeFieldMapping(_SerdeShape): + """ + Contains the names of the fields to which to map information about the + vector store. + """ + + text_field: str + """ + The name of the field in which Amazon Bedrock stores the raw text from + your data. The text is split according to the chunking strategy you + choose. + """ + metadata_field: str + """ + The name of the field in which Amazon Bedrock stores metadata about the + vector store. + """ + +@dataclass(kw_only=True) +class PrepareAgentInput(_SerdeShape): + """Dataclass for PrepareAgentInput structure.""" + + agent_id: str | None = ... + """ + The unique identifier of the agent for which to create a `DRAFT` + version. + """ + +@dataclass(kw_only=True) +class PrepareAgentOutput(_SerdeShape): + """Dataclass for PrepareAgentOutput structure.""" + + agent_id: str + """ + The unique identifier of the agent for which the `DRAFT` version was + created. + """ + agent_status: str + """The status of the `DRAFT` version and whether it is ready for use.""" + agent_version: str + """The version of the agent.""" + prepared_at: datetime + """The time at which the `DRAFT` version of the agent was last prepared.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PrepareFlowInput(_SerdeShape): + """Dataclass for PrepareFlowInput structure.""" + + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + +@dataclass(kw_only=True) +class PrepareFlowOutput(_SerdeShape): + """Dataclass for PrepareFlowOutput structure.""" + + id: str + """The unique identifier of the flow.""" + status: str + """ + The status of the flow. When you submit this request, the status will be + `NotPrepared`. If preparation succeeds, the status becomes `Prepared`. + If it fails, the status becomes `FAILED`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PromptAgentResource(_SerdeShape): + """ + Contains specifications for an Amazon Bedrock agent with which to use + the prompt. For more information, see [Create a prompt using Prompt + management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html) + and [Automate tasks in your application using conversational + agents](https://docs.aws.amazon.com/bedrock/latest/userguide/agents.html). + """ + + agent_identifier: str + """The ARN of the agent with which to use the prompt.""" + +@dataclass(kw_only=True) +class PromptConfiguration(_SerdeShape): + """ + Contains configurations to override a prompt template in one part of an + agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + + prompt_type: str | None = ... + """ + The step in the agent sequence that this prompt configuration applies + to. + """ + prompt_creation_mode: str | None = ... + """ + Specifies whether to override the default prompt template for this + `promptType`. Set this value to `OVERRIDDEN` to use the prompt that you + provide in the `basePromptTemplate`. If you leave it as `DEFAULT`, the + agent uses a default prompt template. + """ + prompt_state: str | None = ... + """ + Specifies whether to allow the agent to carry out the step specified in + the `promptType`. If you set this value to `DISABLED`, the agent skips + that step. The default state for each `promptType` is as follows. + + - `PRE_PROCESSING` -- `DISABLED` + + - `ORCHESTRATION` -- `ENABLED` + + - `KNOWLEDGE_BASE_RESPONSE_GENERATION` -- `ENABLED` + + - `POST_PROCESSING` -- `DISABLED` + """ + base_prompt_template: str | None = ... + """ + Defines the prompt template with which to replace the default prompt + template. You can use placeholder variables in the base prompt template + to customize the prompt. For more information, see [Prompt template + placeholder + variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + For more information, see [Configure the prompt + templates](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts-configure.html). + """ + inference_configuration: InferenceConfiguration | None = ... + """ + Contains inference parameters to use when the agent invokes a foundation + model in the part of the agent sequence defined by the `promptType`. For + more information, see [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + """ + parser_mode: str | None = ... + """ + Specifies whether to override the default parser Lambda function when + parsing the raw foundation model output in the part of the agent + sequence defined by the `promptType`. If you set the field as + `OVERRIDDEN`, the `overrideLambda` field in the + [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + must be specified with the ARN of a Lambda function. + """ + foundation_model: str | None = ... + """The agent's foundation model.""" + additional_model_request_fields: Document | None = ... + """ + If the Converse or ConverseStream operations support the model, + `additionalModelRequestFields` contains additional inference parameters, + beyond the base set of inference parameters in the + `inferenceConfiguration` field. + + For more information, see *Inference request parameters and response + fields for foundation models* in the Amazon Bedrock user guide. + """ + +@dataclass(kw_only=True) +class PromptFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for a prompt node in the flow. You can use a + prompt from Prompt management or you can define one in this node. If the + prompt contains variables, the inputs into this node will fill in the + variables. The output from this node is the response generated by the + model. For more information, see [Node types in a + flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) + in the Amazon Bedrock User Guide. + """ + + source_configuration: PromptFlowNodeSourceConfiguration + """ + Specifies whether the prompt is from Prompt management or defined + inline. + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """ + Contains configurations for a guardrail to apply to the prompt in this + node and the response generated from it. + """ + +@dataclass(kw_only=True) +class PromptFlowNodeInlineConfiguration(_SerdeShape): + """Contains configurations for a prompt defined inline in the node.""" + + template_type: str = ... + """The type of prompt template.""" + template_configuration: PromptTemplateConfiguration + """ + Contains a prompt and variables in the prompt that can be replaced with + values at runtime. + """ + model_id: str = ... + """ + The unique identifier of the model or [inference + profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) + to run inference with. + """ + inference_configuration: PromptInferenceConfiguration | None = ... + """Contains inference configurations for the prompt.""" + additional_model_request_fields: Document | None = ... + """ + Additional fields to be included in the model request for the Prompt + node. + """ + +@dataclass(kw_only=True) +class PromptFlowNodeResourceConfiguration(_SerdeShape): + """ + Contains configurations for a prompt from Prompt management to use in a + node. + """ + + prompt_arn: str = ... + """The Amazon Resource Name (ARN) of the prompt from Prompt management.""" + +@dataclass +class PromptFlowNodeSourceConfigurationResource(_SerdeShape): + """Contains configurations for a prompt from Prompt management.""" + + value: PromptFlowNodeResourceConfiguration + +@dataclass +class PromptFlowNodeSourceConfigurationInline(_SerdeShape): + """Contains configurations for a prompt that is defined inline""" + + value: PromptFlowNodeInlineConfiguration + +@dataclass +class PromptFlowNodeSourceConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PromptFlowNodeSourceConfiguration = Union[ + PromptFlowNodeSourceConfigurationResource + | PromptFlowNodeSourceConfigurationInline + | PromptFlowNodeSourceConfigurationUnknown +] +""" +Contains configurations for a prompt and whether it is from Prompt +management or defined inline. +""" + +class _PromptFlowNodeSourceConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> PromptFlowNodeSourceConfiguration: ... + +@dataclass +class PromptGenAiResourceAgent(_SerdeShape): + """Specifies an Amazon Bedrock agent with which to use the prompt.""" + + value: PromptAgentResource + +@dataclass +class PromptGenAiResourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PromptGenAiResource = Union[PromptGenAiResourceAgent | PromptGenAiResourceUnknown] +""" +Contains specifications for a generative AI resource with which to use +the prompt. For more information, see [Create a prompt using Prompt +management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). +""" + +class _PromptGenAiResourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PromptGenAiResource: ... + +@dataclass +class PromptInferenceConfigurationText(_SerdeShape): + """Contains inference configurations for a text prompt.""" + + value: PromptModelInferenceConfiguration + +@dataclass +class PromptInferenceConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PromptInferenceConfiguration = Union[ + PromptInferenceConfigurationText | PromptInferenceConfigurationUnknown +] +"""Contains inference configurations for the prompt.""" + +class _PromptInferenceConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> PromptInferenceConfiguration: ... + +@dataclass(kw_only=True) +class PromptInputVariable(_SerdeShape): + """Contains information about a variable in the prompt.""" + + name: str | None = ... + """The name of the variable.""" + +@dataclass(kw_only=True) +class PromptMetadataEntry(_SerdeShape): + """ + Contains a key-value pair that defines a metadata tag and value to + attach to a prompt variant. For more information, see [Create a prompt + using Prompt + management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). + """ + + key: str + """The key of a metadata tag for a prompt variant.""" + value: str + """The value of a metadata tag for a prompt variant.""" + +@dataclass(kw_only=True) +class PromptModelInferenceConfiguration(_SerdeShape): + """ + Contains inference configurations related to model inference for a + prompt. For more information, see [Inference + parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/inference-parameters.html). + """ + + temperature: float | None = ... + """ + Controls the randomness of the response. Choose a lower value for more + predictable outputs and a higher value for more surprising outputs. + """ + top_p: float | None = ... + """ + The percentage of most-likely candidates that the model considers for + the next token. + """ + max_tokens: int | None = ... + """The maximum number of tokens to return in the response.""" + stop_sequences: list[str] | None = ... + """ + A list of strings that define sequences after which the model will stop + generating. + """ + +@dataclass(kw_only=True) +class PromptOverrideConfiguration(_SerdeShape): + """ + Contains configurations to override prompts in different parts of an + agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + + prompt_configurations: list[PromptConfiguration] + """ + Contains configurations to override a prompt template in one part of an + agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + override_lambda: str | None = ... + """ + The ARN of the Lambda function to use when parsing the raw foundation + model output in parts of the agent sequence. If you specify this field, + at least one of the `promptConfigurations` must contain a `parserMode` + value that is set to `OVERRIDDEN`. For more information, see [Parser + Lambda function in Amazon Bedrock + Agents](https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html). + """ + +class PromptState(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class PromptSummary(_SerdeShape): + """ + Contains information about a prompt in your Prompt management tool. + + This data type is used in the following API operations: + + - [ListPrompts + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListPrompts.html#API_agent_ListPrompts_ResponseSyntax) + """ + + name: str + """The name of the prompt.""" + description: str | None = ... + """The description of the prompt.""" + id: str + """The unique identifier of the prompt.""" + arn: str + """ + The Amazon Resource Name (ARN) of the prompt or the prompt version (if + you specified a version in the request). + """ + version: str + """The version of the prompt that this summary applies to.""" + created_at: datetime + """The time at which the prompt was created.""" + updated_at: datetime + """The time at which the prompt was last updated.""" + +@dataclass +class PromptTemplateConfigurationText(_SerdeShape): + """Contains configurations for the text in a message for a prompt.""" + + value: TextPromptTemplateConfiguration + +@dataclass +class PromptTemplateConfigurationChat(_SerdeShape): + """Contains configurations to use the prompt in a conversational format.""" + + value: ChatPromptTemplateConfiguration + +@dataclass +class PromptTemplateConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PromptTemplateConfiguration = Union[ + PromptTemplateConfigurationText + | PromptTemplateConfigurationChat + | PromptTemplateConfigurationUnknown +] +""" +Contains the message for a prompt. For more information, see [Construct +and store reusable prompts with Prompt management in Amazon +Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html). +""" + +class _PromptTemplateConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> PromptTemplateConfiguration: ... + +class PromptTemplateType(UnknownEnumMixin, StrEnum): + TEXT = "TEXT" + CHAT = "CHAT" + +class PromptType(UnknownEnumMixin, StrEnum): + PRE_PROCESSING = "PRE_PROCESSING" + ORCHESTRATION = "ORCHESTRATION" + POST_PROCESSING = "POST_PROCESSING" + KNOWLEDGE_BASE_RESPONSE_GENERATION = "KNOWLEDGE_BASE_RESPONSE_GENERATION" + MEMORY_SUMMARIZATION = "MEMORY_SUMMARIZATION" + +@dataclass(kw_only=True) +class PromptVariant(_SerdeShape): + """Contains details about a variant of the prompt.""" + + name: str + """The name of the prompt variant.""" + template_type: str + """The type of prompt template to use.""" + template_configuration: PromptTemplateConfiguration + """Contains configurations for the prompt template.""" + model_id: str | None = ... + """ + The unique identifier of the model or [inference + profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) + with which to run inference on the prompt. + """ + inference_configuration: PromptInferenceConfiguration | None = ... + """Contains inference configurations for the prompt variant.""" + metadata: list[PromptMetadataEntry] | None = ... + """ + An array of objects, each containing a key-value pair that defines a + metadata tag and value to attach to a prompt variant. + """ + additional_model_request_fields: Document | None = ... + """ + Contains model-specific inference configurations that aren't in the + `inferenceConfiguration` field. To see model-specific inference + parameters, see [Inference request parameters and response fields for + foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + """ + gen_ai_resource: PromptGenAiResource | None = ... + """Specifies a generative AI resource with which to use the prompt.""" + +@dataclass(kw_only=True) +class PutResourcePolicyInput(_SerdeShape): + """Dataclass for PutResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the knowledge base to attach the + resource policy to. + """ + policy: str | JsonString | None = ... + """The JSON-formatted resource policy to associate with the knowledge base.""" + expected_revision_id: str | None = ... + """ + The expected revision identifier of the resource policy. Use this to + prevent conflicts when multiple users update the same policy + concurrently. Specify the `revisionId` from the most recent + `GetResourcePolicy` or `PutResourcePolicy` response. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyOutput(_SerdeShape): + """Dataclass for PutResourcePolicyOutput structure.""" + + resource_arn: str + """The ARN of the knowledge base that the resource policy was attached to.""" + revision_id: str + """ + The revision identifier of the resource policy. Use this value in the + `expectedRevisionId` field of a subsequent `PutResourcePolicy` or + `DeleteResourcePolicy` request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class QueryEngineType(UnknownEnumMixin, StrEnum): + REDSHIFT = "REDSHIFT" + +@dataclass(kw_only=True) +class QueryGenerationColumn(_SerdeShape): + """ + Contains information about a column in the current table for the query + engine to consider. + """ + + name: str | None = ... + """The name of the column for which the other fields in this object apply.""" + description: str | None = ... + """ + A description of the column that helps the query engine understand the + contents of the column. + """ + inclusion: str | None = ... + """ + Specifies whether to include or exclude the column during query + generation. If you specify `EXCLUDE`, the column will be ignored. If you + specify `INCLUDE`, all other columns in the table will be ignored. + """ + +@dataclass(kw_only=True) +class QueryGenerationConfiguration(_SerdeShape): + """ + Contains configurations for query generation. For more information, see + [Build a knowledge base by connecting to a structured data + source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) + in the Amazon Bedrock User Guide.. + """ + + execution_timeout_seconds: int | None = ... + """The time after which query generation will time out.""" + generation_context: QueryGenerationContext | None = ... + """Specifies configurations for context to use during query generation.""" + +@dataclass(kw_only=True) +class QueryGenerationContext(_SerdeShape): + """>Contains configurations for context to use during query generation.""" + + tables: list[QueryGenerationTable] | None = ... + """ + An array of objects, each of which defines information about a table in + the database. + """ + curated_queries: list[CuratedQuery] | None = ... + """ + An array of objects, each of which defines information about example + queries to help the query engine generate appropriate SQL queries. + """ + +@dataclass(kw_only=True) +class QueryGenerationTable(_SerdeShape): + """Contains information about a table for the query engine to consider.""" + + name: str + """The name of the table for which the other fields in this object apply.""" + description: str | None = ... + """ + A description of the table that helps the query engine understand the + contents of the table. + """ + inclusion: str | None = ... + """ + Specifies whether to include or exclude the table during query + generation. If you specify `EXCLUDE`, the table will be ignored. If you + specify `INCLUDE`, all other tables will be ignored. + """ + columns: list[QueryGenerationColumn] | None = ... + """ + An array of objects, each of which defines information about a column in + the table. + """ + +@dataclass(kw_only=True) +class RdsConfiguration(_SerdeShape): + """ + Contains details about the storage configuration of the knowledge base + in Amazon RDS. For more information, see [Create a vector index in + Amazon + RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html). + """ + + resource_arn: str + """The Amazon Resource Name (ARN) of the vector store.""" + credentials_secret_arn: str + """ + The Amazon Resource Name (ARN) of the secret that you created in Secrets + Manager that is linked to your Amazon RDS database. + """ + database_name: str + """The name of your Amazon RDS database.""" + table_name: str + """The name of the table in the database.""" + field_mapping: RdsFieldMapping + """ + Contains the names of the fields to which to map information about the + vector store. + """ + +@dataclass(kw_only=True) +class RdsFieldMapping(_SerdeShape): + """ + Contains the names of the fields to which to map information about the + vector store. + """ + + primary_key_field: str + """ + The name of the field in which Amazon Bedrock stores the ID for each + entry. + """ + vector_field: str + """ + The name of the field in which Amazon Bedrock stores the vector + embeddings for your data sources. + """ + text_field: str + """ + The name of the field in which Amazon Bedrock stores the raw text from + your data. The text is split according to the chunking strategy you + choose. + """ + metadata_field: str + """ + The name of the field in which Amazon Bedrock stores metadata about the + vector store. + """ + custom_metadata_field: str | None = ... + """ + Provide a name for the universal metadata field where Amazon Bedrock + will store any custom metadata from your data source. + """ + +@dataclass(kw_only=True) +class RedisEnterpriseCloudConfiguration(_SerdeShape): + """ + Contains details about the storage configuration of the knowledge base + in Redis Enterprise Cloud. For more information, see [Create a vector + index in Redis Enterprise + Cloud](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html). + """ + + endpoint: str + """The endpoint URL of the Redis Enterprise Cloud database.""" + vector_index_name: str + """The name of the vector index.""" + credentials_secret_arn: str + """ + The Amazon Resource Name (ARN) of the secret that you created in Secrets + Manager that is linked to your Redis Enterprise Cloud database. + """ + field_mapping: RedisEnterpriseCloudFieldMapping + """ + Contains the names of the fields to which to map information about the + vector store. + """ + +@dataclass(kw_only=True) +class RedisEnterpriseCloudFieldMapping(_SerdeShape): + """ + Contains the names of the fields to which to map information about the + vector store. + """ + + vector_field: str + """ + The name of the field in which Amazon Bedrock stores the vector + embeddings for your data sources. + """ + text_field: str + """ + The name of the field in which Amazon Bedrock stores the raw text from + your data. The text is split according to the chunking strategy you + choose. + """ + metadata_field: str + """ + The name of the field in which Amazon Bedrock stores metadata about the + vector store. + """ + +@dataclass(kw_only=True) +class RedshiftConfiguration(_SerdeShape): + """ + Contains configurations for an Amazon Redshift database. For more + information, see [Build a knowledge base by connecting to a structured + data + source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) + in the Amazon Bedrock User Guide. + """ + + storage_configurations: list[RedshiftQueryEngineStorageConfiguration] + """Specifies configurations for Amazon Redshift database storage.""" + query_engine_configuration: RedshiftQueryEngineConfiguration + """Specifies configurations for an Amazon Redshift query engine.""" + query_generation_configuration: QueryGenerationConfiguration | None = ... + """Specifies configurations for generating queries.""" + +@dataclass(kw_only=True) +class RedshiftProvisionedAuthConfiguration(_SerdeShape): + """ + Contains configurations for authentication to an Amazon Redshift + provisioned data warehouse. Specify the type of authentication to use in + the `type` field and include the corresponding field. If you specify IAM + authentication, you don't need to include another field. + """ + + type: str + """The type of authentication to use.""" + database_user: str | None = ... + """ + The database username for authentication to an Amazon Redshift + provisioned data warehouse. + """ + username_password_secret_arn: str | None = ... + """The ARN of an Secrets Manager secret for authentication.""" + +class RedshiftProvisionedAuthType(UnknownEnumMixin, StrEnum): + IAM = "IAM" + USERNAME_PASSWORD = "USERNAME_PASSWORD" + USERNAME = "USERNAME" + +@dataclass(kw_only=True) +class RedshiftProvisionedConfiguration(_SerdeShape): + """Contains configurations for a provisioned Amazon Redshift query engine.""" + + cluster_identifier: str + """The ID of the Amazon Redshift cluster.""" + auth_configuration: RedshiftProvisionedAuthConfiguration + """Specifies configurations for authentication to Amazon Redshift.""" + +@dataclass(kw_only=True) +class RedshiftQueryEngineAwsDataCatalogStorageConfiguration(_SerdeShape): + """Contains configurations for storage in Glue Data Catalog.""" + + table_names: list[str] + """A list of names of the tables to use.""" + +@dataclass(kw_only=True) +class RedshiftQueryEngineConfiguration(_SerdeShape): + """ + Contains configurations for an Amazon Redshift query engine. Specify the + type of query engine in `type` and include the corresponding field. For + more information, see [Build a knowledge base by connecting to a + structured data + source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) + in the Amazon Bedrock User Guide. + """ + + type: str + """The type of query engine.""" + serverless_configuration: RedshiftServerlessConfiguration | None = ... + """Specifies configurations for a serverless Amazon Redshift query engine.""" + provisioned_configuration: RedshiftProvisionedConfiguration | None = ... + """Specifies configurations for a provisioned Amazon Redshift query engine.""" + +@dataclass(kw_only=True) +class RedshiftQueryEngineRedshiftStorageConfiguration(_SerdeShape): + """Contains configurations for storage in Amazon Redshift.""" + + database_name: str + """The name of the Amazon Redshift database.""" + +@dataclass(kw_only=True) +class RedshiftQueryEngineStorageConfiguration(_SerdeShape): + """ + Contains configurations for Amazon Redshift data storage. Specify the + data storage service to use in the `type` field and include the + corresponding field. For more information, see [Build a knowledge base + by connecting to a structured data + source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) + in the Amazon Bedrock User Guide. + """ + + type: str + """The data storage service to use.""" + aws_data_catalog_configuration: ( + RedshiftQueryEngineAwsDataCatalogStorageConfiguration | None + ) = ... + """Specifies configurations for storage in Glue Data Catalog.""" + redshift_configuration: RedshiftQueryEngineRedshiftStorageConfiguration | None = ... + """Specifies configurations for storage in Amazon Redshift.""" + +class RedshiftQueryEngineStorageType(UnknownEnumMixin, StrEnum): + REDSHIFT = "REDSHIFT" + AWS_DATA_CATALOG = "AWS_DATA_CATALOG" + +class RedshiftQueryEngineType(UnknownEnumMixin, StrEnum): + SERVERLESS = "SERVERLESS" + PROVISIONED = "PROVISIONED" + +@dataclass(kw_only=True) +class RedshiftServerlessAuthConfiguration(_SerdeShape): + """ + Specifies configurations for authentication to a Redshift Serverless. + Specify the type of authentication to use in the `type` field and + include the corresponding field. If you specify IAM authentication, you + don't need to include another field. + """ + + type: str + """The type of authentication to use.""" + username_password_secret_arn: str | None = ... + """The ARN of an Secrets Manager secret for authentication.""" + +class RedshiftServerlessAuthType(UnknownEnumMixin, StrEnum): + IAM = "IAM" + USERNAME_PASSWORD = "USERNAME_PASSWORD" + +@dataclass(kw_only=True) +class RedshiftServerlessConfiguration(_SerdeShape): + """ + Contains configurations for authentication to Amazon Redshift + Serverless. + """ + + workgroup_arn: str + """The ARN of the Amazon Redshift workgroup.""" + auth_configuration: RedshiftServerlessAuthConfiguration + """ + Specifies configurations for authentication to an Amazon Redshift + provisioned data warehouse. + """ + +class RelayConversationHistory(UnknownEnumMixin, StrEnum): + TO_COLLABORATOR = "TO_COLLABORATOR" + DISABLED = "DISABLED" + +class RequireConfirmation(UnknownEnumMixin, StrEnum): + """Whether the action requires user confirmation.""" + + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class RerankingMetadataSelectionMode(UnknownEnumMixin, StrEnum): + SELECTIVE = "SELECTIVE" + ALL = "ALL" + +@dataclass +class RerankingMetadataSelectiveModeConfigurationFieldsToInclude(_SerdeShape): + """Specifies the metadata fields to include in the reranking process.""" + + value: list[FieldForReranking] + +@dataclass +class RerankingMetadataSelectiveModeConfigurationFieldsToExclude(_SerdeShape): + """Specifies the metadata fields to exclude from the reranking process.""" + + value: list[FieldForReranking] + +@dataclass +class RerankingMetadataSelectiveModeConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RerankingMetadataSelectiveModeConfiguration = Union[ + RerankingMetadataSelectiveModeConfigurationFieldsToInclude + | RerankingMetadataSelectiveModeConfigurationFieldsToExclude + | RerankingMetadataSelectiveModeConfigurationUnknown +] +""" +Configures the metadata fields to include or exclude during the +reranking process when using selective mode. +""" + +class _RerankingMetadataSelectiveModeConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RerankingMetadataSelectiveModeConfiguration: ... + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """ + The specified resource Amazon Resource Name (ARN) was not found. Check + the Amazon Resource Name (ARN) and try your request again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RetrievalFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for a Retrieval node in a flow. This node + retrieves data from the Amazon S3 location that you specify and returns + it as the output. + """ + + service_configuration: RetrievalFlowNodeServiceConfiguration + """ + Contains configurations for the service to use for retrieving data to + return as the output from the node. + """ + +@dataclass(kw_only=True) +class RetrievalFlowNodeS3Configuration(_SerdeShape): + """ + Contains configurations for the Amazon S3 location from which to + retrieve data to return as the output from the node. + """ + + bucket_name: str = ... + """The name of the Amazon S3 bucket from which to retrieve data.""" + +@dataclass +class RetrievalFlowNodeServiceConfigurationS3(_SerdeShape): + """ + Contains configurations for the Amazon S3 location from which to + retrieve data to return as the output from the node. + """ + + value: RetrievalFlowNodeS3Configuration + +@dataclass +class RetrievalFlowNodeServiceConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RetrievalFlowNodeServiceConfiguration = Union[ + RetrievalFlowNodeServiceConfigurationS3 + | RetrievalFlowNodeServiceConfigurationUnknown +] +""" +Contains configurations for the service to use for retrieving data to +return as the output from the node. +""" + +class _RetrievalFlowNodeServiceConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RetrievalFlowNodeServiceConfiguration: ... + +@dataclass(kw_only=True) +class RetrievalInstructionContent(_SerdeShape): + """ + The instruction content, as a set of named fields. Every field is + optional; at least one must be present. Service-side validation enforces + per-field and aggregate size limits. + """ + + retrieval_guidance: str | None = ... + """ + How to interpret and decompose the question, and what to prioritise when + searching. + """ + persona: str | None = ... + """Who the assistant is: identity, tone and language.""" + answer_format: str | None = ... + """How the answer is structured, including how sources are cited.""" + answer_policy: str | None = ... + """ + Whether and how to answer: how strongly an answer must be supported, and + what to do with questions outside scope. + """ + +@dataclass(kw_only=True) +class RetrievalInstructionFailureReason(_SerdeShape): + """ + One reason the most recent create or update did not succeed. code drives + programmatic branching (fix the text, fix the configuration, or retry); + message carries the specific cause. + """ + + field_name: str | None = ... + """ + The instruction field this entry is about. Present on review rejections + of a specific field; absent when the failure applies to the whole + review, because a client-side execution failure or a service fault has + no single field. + """ + code: str + """ + Stable, machine-readable classification by fault attribution. Valid + values: + + - CONTENT_REJECTED -- The review rejected the named field's content; + revise the text and resubmit. + + - CLIENT_ERROR -- The review could not run for a customer-side reason, + for example the customer managed AWS KMS key could not be used; fix + the configuration and resubmit. + + - INTERNAL_ERROR -- The review could not complete due to a service + fault; retry the create or update. + + New values may be added over time; your client should tolerate values it + does not recognize and treat them as a failure. + """ + message: str + """ + Human-readable explanation of the specific cause. Never contains the + customer's own text. + """ + +class RetrievalInstructionFailureReasonCode(UnknownEnumMixin, StrEnum): + """ + A machine-readable failure classification. See + RetrievalInstructionFailureReason.code for the value semantics. + """ + + CONTENT_REJECTED = "CONTENT_REJECTED" + CLIENT_ERROR = "CLIENT_ERROR" + INTERNAL_ERROR = "INTERNAL_ERROR" + +class RetrievalInstructionFieldName(UnknownEnumMixin, StrEnum): + """ + Identifies one field of RetrievalInstructionContent: + + - RETRIEVAL_GUIDANCE -- retrievalGuidance + + - PERSONA -- persona + + - ANSWER_FORMAT -- answerFormat + + - ANSWER_POLICY -- answerPolicy + """ + + RETRIEVAL_GUIDANCE = "RETRIEVAL_GUIDANCE" + PERSONA = "PERSONA" + ANSWER_FORMAT = "ANSWER_FORMAT" + ANSWER_POLICY = "ANSWER_POLICY" + +class RetrievalInstructionLastTransitionStatus(UnknownEnumMixin, StrEnum): + """ + The outcome or in-progress state of the most recent create or update of + a retrieval instruction. Delete is synchronous and has no representation + here. Independent of RetrievalInstructionStatus. + """ + + CREATING = "CREATING" + UPDATING = "UPDATING" + CREATE_SUCCESSFUL = "CREATE_SUCCESSFUL" + CREATE_FAILED = "CREATE_FAILED" + UPDATE_SUCCESSFUL = "UPDATE_SUCCESSFUL" + UPDATE_FAILED = "UPDATE_FAILED" + +class RetrievalInstructionStatus(UnknownEnumMixin, StrEnum): + """ + Specifies whether you can use a retrieval instruction. You can resolve + only an ACTIVE retrieval instruction at retrieval time. Monotone: + INACTIVE to ACTIVE once, never back. + """ + + ACTIVE = "ACTIVE" + INACTIVE = "INACTIVE" + +@dataclass(kw_only=True) +class RetrievalInstructionSummary(_SerdeShape): + """A summary of a retrieval instruction, without the content.""" + + retrieval_instruction_id: str + """The identifier of the retrieval instruction.""" + retrieval_instruction_arn: str + """The ARN of the retrieval instruction.""" + name: str + """The name of the retrieval instruction.""" + status: str + """ + Whether the instruction can be used. Only ACTIVE is resolvable at + retrieval time. + """ + last_transition_status: str + """ + The outcome or in-progress state of the most recent create or update of + the retrieval instruction. + """ + created_at: datetime + """When you created the retrieval instruction.""" + updated_at: datetime + """When the retrieval instruction was last updated.""" + description: str | None = ... + """A description of the retrieval instruction.""" + +@dataclass(kw_only=True) +class RetrievalInstructionVersionSummary(_SerdeShape): + """ + A summary of one numbered version of a retrieval instruction, without + the content. + """ + + version: str + """The version number.""" + created_at: datetime + """When this version was created.""" + +@dataclass(kw_only=True) +class S3Content(_SerdeShape): + """ + Contains information about the content to ingest into a knowledge base + connected to an Amazon S3 data source. + """ + + s3_location: S3Location + """The S3 location of the file containing the content to ingest.""" + +@dataclass(kw_only=True) +class S3DataSourceConfiguration(_SerdeShape): + """ + The configuration information to connect to Amazon S3 as your data + source for self-managed knowledge bases. To configure this data source + for managed knowledge bases, use + [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). + """ + + bucket_arn: str + """The Amazon Resource Name (ARN) of the S3 bucket that contains your data.""" + inclusion_prefixes: list[str] | None = ... + """ + A list of S3 prefixes to include certain files or content. For more + information, see [Organizing objects using + prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html). + """ + bucket_owner_account_id: str | None = ... + """The account ID for the owner of the S3 bucket.""" + +@dataclass(kw_only=True) +class S3Identifier(_SerdeShape): + """The identifier information for an Amazon S3 bucket.""" + + s3_bucket_name: str | None = ... + """The name of the S3 bucket.""" + s3_object_key: str | None = ... + """The S3 object key for the S3 resource.""" + +@dataclass(kw_only=True) +class S3Location(_SerdeShape): + """An Amazon S3 location.""" + + uri: str + """The location's URI. For example, `s3://my-bucket/chunk-processor/`.""" + +@dataclass(kw_only=True) +class S3VectorsConfiguration(_SerdeShape): + """Contains the storage configuration of the knowledge base for S3 vectors.""" + + vector_bucket_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the S3 bucket where vector embeddings + are stored. This bucket contains the vector data used by the knowledge + base. + """ + index_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the vector index used for the + knowledge base. This ARN identifies the specific vector index resource + within Amazon Bedrock. + """ + index_name: str | None = ... + """ + The name of the vector index used for the knowledge base. This name + identifies the vector index within the Amazon Bedrock service. + """ + +class SalesforceAuthType(UnknownEnumMixin, StrEnum): + OAUTH2_CLIENT_CREDENTIALS = "OAUTH2_CLIENT_CREDENTIALS" + +@dataclass(kw_only=True) +class SalesforceCrawlerConfiguration(_SerdeShape): + """ + The configuration of the Salesforce content. For example, configuring + specific types of Salesforce content. + """ + + filter_configuration: CrawlFilterConfiguration | None = ... + """ + The configuration of filtering the Salesforce content. For example, + configuring regular expression patterns to include or exclude certain + content. + """ + +@dataclass(kw_only=True) +class SalesforceDataSourceConfiguration(_SerdeShape): + """ + The configuration information to connect to Salesforce as your data + source. + """ + + source_configuration: SalesforceSourceConfiguration + """The endpoint information to connect to your Salesforce data source.""" + crawler_configuration: SalesforceCrawlerConfiguration | None = ... + """ + The configuration of the Salesforce content. For example, configuring + specific types of Salesforce content. + """ + +@dataclass(kw_only=True) +class SalesforceSourceConfiguration(_SerdeShape): + """The endpoint information to connect to your Salesforce data source.""" + + host_url: str + """The Salesforce host URL or instance URL.""" + auth_type: str + """ + The supported authentication type to authenticate and connect to your + Salesforce instance. + """ + credentials_secret_arn: str + """ + The Amazon Resource Name of an Secrets Manager secret that stores your + authentication credentials for your Salesforce instance URL. For more + information on the key-value pairs that must be included in your secret, + depending on your authentication type, see [Salesforce connection + configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/salesforce-data-source-connector.html#configuration-salesforce-connector). + """ + +class SearchableStatus(UnknownEnumMixin, StrEnum): + """ + Specifies whether a custom metadata field is searchable. The knowledge + base matches query text against the values of searchable fields. + """ + + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class SeedUrl(_SerdeShape): + """ + The seed or starting point URL. You should be authorized to crawl the + URL. + """ + + url: str | None = ... + """A seed or starting point URL.""" + +@dataclass(kw_only=True) +class SemanticChunkingConfiguration(_SerdeShape): + """ + Settings for semantic document chunking for a data source. Semantic + chunking splits a document into into smaller documents based on groups + of similar content derived from the text with natural language + processing. + + With semantic chunking, each sentence is compared to the next to + determine how similar they are. You specify a threshold in the form of a + percentile, where adjacent sentences that are less similar than that + percentage of sentence pairs are divided into separate chunks. For + example, if you set the threshold to 90, then the 10 percent of sentence + pairs that are least similar are split. So if you have 101 sentences, + 100 sentence pairs are compared, and the 10 with the least similarity + are split, creating 11 chunks. These chunks are further split if they + exceed the max token size. + + You must also specify a buffer size, which determines whether sentences + are compared in isolation, or within a moving context window that + includes the previous and following sentence. For example, if you set + the buffer size to `1`, the embedding for sentence 10 is derived from + sentences 9, 10, and 11 combined. + """ + + max_tokens: int + """The maximum number of tokens that a chunk can contain.""" + buffer_size: int + """The buffer size.""" + breakpoint_percentile_threshold: int + """The dissimilarity threshold for splitting chunks.""" + +@dataclass(kw_only=True) +class ServerSideEncryptionConfiguration(_SerdeShape): + """ + Contains the configuration for server-side encryption for your managed + knowledge base. + """ + + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the + resource. + """ + +@dataclass(kw_only=True) +class ServiceQuotaExceededException(ServiceError, _SerdeShape): + """ + The number of requests exceeds the service quota. Resubmit your request + later. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SessionSummaryConfiguration(_SerdeShape): + """Configuration for SESSION_SUMMARY memory type enabled for the agent.""" + + max_recent_sessions: int | None = ... + """ + Maximum number of recent session summaries to include in the agent's + prompt context. + """ + +class SharePointAuthType(UnknownEnumMixin, StrEnum): + OAUTH2_CLIENT_CREDENTIALS = "OAUTH2_CLIENT_CREDENTIALS" + OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS = ( + "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS" + ) + +@dataclass(kw_only=True) +class SharePointCrawlerConfiguration(_SerdeShape): + """ + The configuration of the SharePoint content. For example, configuring + specific types of SharePoint content. + """ + + filter_configuration: CrawlFilterConfiguration | None = ... + """ + The configuration of filtering the SharePoint content. For example, + configuring regular expression patterns to include or exclude certain + content. + """ + +@dataclass(kw_only=True) +class SharePointDataSourceConfiguration(_SerdeShape): + """ + The configuration information to connect to SharePoint as your data + source for self-managed knowledge bases. + """ + + source_configuration: SharePointSourceConfiguration + """The endpoint information to connect to your SharePoint data source.""" + crawler_configuration: SharePointCrawlerConfiguration | None = ... + """ + The configuration of the SharePoint content. For example, configuring + specific types of SharePoint content. + """ + +class SharePointHostType(UnknownEnumMixin, StrEnum): + ONLINE = "ONLINE" + +@dataclass(kw_only=True) +class SharePointSourceConfiguration(_SerdeShape): + """The endpoint information to connect to your SharePoint data source.""" + + tenant_id: str | None = ... + """The identifier of your Microsoft 365 tenant.""" + domain: str + """The domain of your SharePoint instance or site URL/URLs.""" + site_urls: list[str] + """A list of one or more SharePoint site URLs.""" + host_type: str + """The supported host type, whether online/cloud or server/on-premises.""" + auth_type: str + """ + The supported authentication type to authenticate and connect to your + SharePoint site/sites. + """ + credentials_secret_arn: str + """ + The Amazon Resource Name of an Secrets Manager secret that stores your + authentication credentials for your SharePoint site/sites. For more + information on the key-value pairs that must be included in your secret, + depending on your authentication type, see [SharePoint connection + configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/sharepoint-data-source-connector.html#configuration-sharepoint-connector). + """ + +class SortOrder(UnknownEnumMixin, StrEnum): + ASCENDING = "ASCENDING" + DESCENDING = "DESCENDING" + +@dataclass(kw_only=True) +class SpecificToolChoice(_SerdeShape): + """ + Defines a specific tool that the model must request. No text is + generated but the results of tool use are sent back to the model to help + generate a response. For more information, see [Use a tool to complete + an Amazon Bedrock model + response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). + """ + + name: str + """The name of the tool.""" + +@dataclass(kw_only=True) +class SqlKnowledgeBaseConfiguration(_SerdeShape): + """ + Contains configurations for a knowledge base connected to an SQL + database. Specify the SQL database type in the `type` field and include + the corresponding field. For more information, see [Build a knowledge + base by connecting to a structured data + source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) + in the Amazon Bedrock User Guide. + """ + + type: str + """The type of SQL database to connect to the knowledge base.""" + redshift_configuration: RedshiftConfiguration | None = ... + """ + Specifies configurations for a knowledge base connected to an Amazon + Redshift database. + """ + +@dataclass(kw_only=True) +class StartIngestionJobInput(_SerdeShape): + """Dataclass for StartIngestionJobInput structure.""" + + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base for the data ingestion job.""" + data_source_id: str | None = ... + """ + The unique identifier of the data source you want to ingest into your + knowledge base. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + description: str | None = ... + """A description of the data ingestion job.""" + +@dataclass(kw_only=True) +class StartIngestionJobOutput(_SerdeShape): + """Dataclass for StartIngestionJobOutput structure.""" + + ingestion_job: IngestionJob + """Contains information about the data ingestion job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class StepType(UnknownEnumMixin, StrEnum): + POST_CHUNKING = "POST_CHUNKING" + +@dataclass(kw_only=True) +class StopIngestionJobInput(_SerdeShape): + """Dataclass for StopIngestionJobInput structure.""" + + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base for the data ingestion job + you want to stop. + """ + data_source_id: str | None = ... + """ + The unique identifier of the data source for the data ingestion job you + want to stop. + """ + ingestion_job_id: str | None = ... + """The unique identifier of the data ingestion job you want to stop.""" + +@dataclass(kw_only=True) +class StopIngestionJobOutput(_SerdeShape): + """Dataclass for StopIngestionJobOutput structure.""" + + ingestion_job: IngestionJob + """Contains information about the stopped data ingestion job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StorageConfiguration(_SerdeShape): + """Contains the storage configuration of the knowledge base.""" + + type: str + """The vector store service in which the knowledge base is stored.""" + opensearch_serverless_configuration: OpenSearchServerlessConfiguration | None = ... + """ + Contains the storage configuration of the knowledge base in Amazon + OpenSearch Service. + """ + opensearch_managed_cluster_configuration: ( + OpenSearchManagedClusterConfiguration | None + ) = ... + """ + Contains details about the storage configuration of the knowledge base + in OpenSearch Managed Cluster. For more information, see [Create a + vector index in Amazon OpenSearch + Service](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html). + """ + pinecone_configuration: PineconeConfiguration | None = ... + """Contains the storage configuration of the knowledge base in Pinecone.""" + redis_enterprise_cloud_configuration: RedisEnterpriseCloudConfiguration | None = ... + """ + Contains the storage configuration of the knowledge base in Redis + Enterprise Cloud. + """ + rds_configuration: RdsConfiguration | None = ... + """ + Contains details about the storage configuration of the knowledge base + in Amazon RDS. For more information, see [Create a vector index in + Amazon + RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html). + """ + mongo_db_atlas_configuration: MongoDbAtlasConfiguration | None = ... + """ + Contains the storage configuration of the knowledge base in MongoDB + Atlas. + """ + neptune_analytics_configuration: NeptuneAnalyticsConfiguration | None = ... + """ + Contains details about the Neptune Analytics configuration of the + knowledge base in Amazon Neptune. For more information, see [Create a + vector index in Amazon Neptune + Analytics.](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html). + """ + s3_vectors_configuration: S3VectorsConfiguration | None = ... + """ + The configuration settings for storing knowledge base data using S3 + vectors. This includes vector index information and S3 bucket details + for vector storage. + """ + +@dataclass(kw_only=True) +class StorageFlowNodeConfiguration(_SerdeShape): + """ + Contains configurations for a Storage node in a flow. This node stores + the input in an Amazon S3 location that you specify. + """ + + service_configuration: StorageFlowNodeServiceConfiguration + """ + Contains configurations for the service to use for storing the input + into the node. + """ + +@dataclass(kw_only=True) +class StorageFlowNodeS3Configuration(_SerdeShape): + """ + Contains configurations for the Amazon S3 location in which to store the + input into the node. + """ + + bucket_name: str = ... + """ + The name of the Amazon S3 bucket in which to store the input into the + node. + """ + +@dataclass +class StorageFlowNodeServiceConfigurationS3(_SerdeShape): + """ + Contains configurations for the Amazon S3 location in which to store the + input into the node. + """ + + value: StorageFlowNodeS3Configuration + +@dataclass +class StorageFlowNodeServiceConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +StorageFlowNodeServiceConfiguration = Union[ + StorageFlowNodeServiceConfigurationS3 | StorageFlowNodeServiceConfigurationUnknown +] +""" +Contains configurations for the service to use for storing the input +into the node. +""" + +class _StorageFlowNodeServiceConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> StorageFlowNodeServiceConfiguration: ... + +@dataclass(kw_only=True) +class SupplementalDataStorageConfiguration(_SerdeShape): + """ + Specifies configurations for the storage location of multimedia content + (images, audio, and video) extracted from multimodal documents in your + data source. This content can be retrieved and returned to the end user + with timestamp references for audio and video segments. + """ + + storage_locations: list[SupplementalDataStorageLocation] + """ + A list of objects specifying storage locations for multimedia content + (images, audio, and video) extracted from multimodal documents in your + data source. + """ + +@dataclass(kw_only=True) +class SupplementalDataStorageLocation(_SerdeShape): + """ + Contains information about a storage location for multimedia content + (images, audio, and video) extracted from multimodal documents in your + data source. + """ + + type: str + """Specifies the storage service used for this location.""" + s3_location: S3Location | None = ... + """ + Contains information about the Amazon S3 location for the extracted + multimedia content. + """ + +class SupplementalDataStorageLocationType(UnknownEnumMixin, StrEnum): + S3 = "S3" + +class SupportedLanguages(UnknownEnumMixin, StrEnum): + PYTHON_3 = "Python_3" + +@dataclass +class SyncScheduleDaily(_SerdeShape): + """ + A daily sync that runs once a day at a system-chosen off-peak time. The + run time is not configurable. + """ + + value: DailySchedule + +@dataclass +class SyncScheduleWeekly(_SerdeShape): + """A weekly sync that runs once a week on the specified day of the week.""" + + value: WeeklySchedule + +@dataclass +class SyncScheduleMonthly(_SerdeShape): + """A monthly sync that runs once a month on the specified day of the month.""" + + value: MonthlySchedule + +@dataclass +class SyncScheduleUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +SyncSchedule = Union[ + SyncScheduleDaily | SyncScheduleWeekly | SyncScheduleMonthly | SyncScheduleUnknown +] +""" +The recurring schedule on which a managed knowledge base connector +automatically syncs its data source. Specify exactly one of `daily`, +`weekly`, or `monthly`. +""" + +class _SyncScheduleDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> SyncSchedule: ... + +@dataclass +class SystemContentBlockText(_SerdeShape): + """The text in the system prompt.""" + + value: str + +@dataclass +class SystemContentBlockCachePoint(_SerdeShape): + """Creates a cache checkpoint within a tool designation""" + + value: CachePointBlock + +@dataclass +class SystemContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +SystemContentBlock = Union[ + SystemContentBlockText | SystemContentBlockCachePoint | SystemContentBlockUnknown +] +""" +Contains a system prompt to provide context to the model or to describe +how it should behave. For more information, see [Create a prompt using +Prompt +management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). +""" + +class _SystemContentBlockDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> SystemContentBlock: ... + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Dataclass for TagResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource to tag.""" + tags: dict[str, str] | None = ... + """ + An object containing key-value pairs that define the tags to attach to + the resource. + """ + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TextContentDoc(_SerdeShape): + """Contains information about content defined inline in text.""" + + data: str + """The text of the content.""" + +@dataclass(kw_only=True) +class TextPromptTemplateConfiguration(_SerdeShape): + """ + Contains configurations for a text prompt template. To include a + variable, enclose a word in double curly braces as in `{{variable}}`. + """ + + text: str + """The message for the prompt.""" + cache_point: CachePointBlock | None = ... + """A cache checkpoint within a template configuration.""" + input_variables: list[PromptInputVariable] | None = ... + """An array of the variables in the prompt template.""" + +@dataclass(kw_only=True) +class ThrottlingException(ServiceError, _SerdeShape): + """The number of requests exceeds the limit. Resubmit your request later.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ToolToolSpec(_SerdeShape): + """The specification for the tool.""" + + value: ToolSpecification + +@dataclass +class ToolCachePoint(_SerdeShape): + """Creates a cache checkpoint within a tool designation""" + + value: CachePointBlock + +@dataclass +class ToolUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Tool = Union[ToolToolSpec | ToolCachePoint | ToolUnknown] +""" +Contains configurations for a tool that a model can use when generating +a response. For more information, see [Use a tool to complete an Amazon +Bedrock model +response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). +""" + +class _ToolDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Tool: ... + +@dataclass +class ToolChoiceAuto(_SerdeShape): + """ + Defines tools. The model automatically decides whether to call a tool or + to generate text instead. + """ + + value: AutoToolChoice + +@dataclass +class ToolChoiceAny(_SerdeShape): + """ + Defines tools, at least one of which must be requested by the model. No + text is generated but the results of tool use are sent back to the model + to help generate a response. + """ + + value: AnyToolChoice + +@dataclass +class ToolChoiceTool(_SerdeShape): + """ + Defines a specific tool that the model must request. No text is + generated but the results of tool use are sent back to the model to help + generate a response. + """ + + value: SpecificToolChoice + +@dataclass +class ToolChoiceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ToolChoice = Union[ToolChoiceAuto | ToolChoiceAny | ToolChoiceTool | ToolChoiceUnknown] +""" +Defines which tools the model should request when invoked. For more +information, see [Use a tool to complete an Amazon Bedrock model +response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). +""" + +class _ToolChoiceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ToolChoice: ... + +@dataclass(kw_only=True) +class ToolConfiguration(_SerdeShape): + """ + Configuration information for the tools that the model can use when + generating a response. For more information, see [Use a tool to complete + an Amazon Bedrock model + response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). + """ + + tools: list[Tool] + """An array of tools to pass to a model.""" + tool_choice: ToolChoice | None = ... + """Defines which tools the model should request when invoked.""" + +@dataclass +class ToolInputSchemaJson(_SerdeShape): + """A JSON object defining the input schema for the tool.""" + + value: Document + +@dataclass +class ToolInputSchemaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ToolInputSchema = Union[ToolInputSchemaJson | ToolInputSchemaUnknown] +""" +The input schema for the tool. For more information, see [Use a tool to +complete an Amazon Bedrock model +response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). +""" + +class _ToolInputSchemaDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ToolInputSchema: ... + +@dataclass(kw_only=True) +class ToolSpecification(_SerdeShape): + """ + Contains a specification for a tool. For more information, see [Use a + tool to complete an Amazon Bedrock model + response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). + """ + + name: str + """The name of the tool.""" + description: str | None = ... + """The description of the tool.""" + input_schema: ToolInputSchema + """The input schema for the tool.""" + strict: bool | None = ... + """Whether the tool schema is strictly enforced.""" + +@dataclass(kw_only=True) +class Transformation(_SerdeShape): + """ + A custom processing step for documents moving through a data source + ingestion pipeline. To process documents after they have been converted + into chunks, set the step to apply to `POST_CHUNKING`. + """ + + transformation_function: TransformationFunction + """A Lambda function that processes documents.""" + step_to_apply: str + """When the service applies the transformation.""" + +@dataclass(kw_only=True) +class TransformationFunction(_SerdeShape): + """A Lambda function that processes documents.""" + + transformation_lambda_configuration: TransformationLambdaConfiguration + """The Lambda function.""" + +@dataclass(kw_only=True) +class TransformationLambdaConfiguration(_SerdeShape): + """A Lambda function that processes documents.""" + + lambda_arn: str + """The function's ARN identifier.""" + +class Type(UnknownEnumMixin, StrEnum): + STRING = "string" + NUMBER = "number" + INTEGER = "integer" + BOOLEAN = "boolean" + ARRAY = "array" + +@dataclass(kw_only=True) +class UnfulfilledNodeInputFlowValidationDetails(_SerdeShape): + """Details about an unfulfilled node input with no valid connections.""" + + node: str + """The name of the node containing the unfulfilled input.""" + input: str + """ + The name of the unfulfilled input. An input is unfulfilled if there are + no data connections to it. + """ + +@dataclass(kw_only=True) +class UnknownConnectionConditionFlowValidationDetails(_SerdeShape): + """Details about an unknown condition for a connection.""" + + connection: str + """The name of the connection with the unknown condition.""" + +@dataclass(kw_only=True) +class UnknownConnectionSourceFlowValidationDetails(_SerdeShape): + """Details about an unknown source node for a connection.""" + + connection: str + """The name of the connection with the unknown source.""" + +@dataclass(kw_only=True) +class UnknownConnectionSourceOutputFlowValidationDetails(_SerdeShape): + """Details about an unknown source output for a connection.""" + + connection: str + """The name of the connection with the unknown source output.""" + +@dataclass(kw_only=True) +class UnknownConnectionTargetFlowValidationDetails(_SerdeShape): + """Details about an unknown target node for a connection.""" + + connection: str + """The name of the connection with the unknown target.""" + +@dataclass(kw_only=True) +class UnknownConnectionTargetInputFlowValidationDetails(_SerdeShape): + """Details about an unknown target input for a connection.""" + + connection: str + """The name of the connection with the unknown target input.""" + +@dataclass(kw_only=True) +class UnknownNodeInputFlowValidationDetails(_SerdeShape): + """Details about an unknown input for a node.""" + + node: str + """The name of the unknown input.""" + input: str + """The name of the node with the unknown input.""" + +@dataclass(kw_only=True) +class UnknownNodeOutputFlowValidationDetails(_SerdeShape): + """Details about an unknown output for a node.""" + + node: str + """The name of the node with the unknown output.""" + output: str + """The name of the unknown output.""" + +@dataclass(kw_only=True) +class UnreachableNodeFlowValidationDetails(_SerdeShape): + """ + Details about an unreachable node in the flow. A node is unreachable + when there are no paths to it from any starting node. + """ + + node: str + """The name of the unreachable node.""" + +@dataclass(kw_only=True) +class UnsatisfiedConnectionConditionsFlowValidationDetails(_SerdeShape): + """ + Details about unsatisfied conditions for a connection. A condition is + unsatisfied if it can never be true, for example two branches of + condition node cannot be simultaneously true. + """ + + connection: str + """The name of the connection with unsatisfied conditions.""" + +@dataclass(kw_only=True) +class UnspecifiedFlowValidationDetails(_SerdeShape): + """ + Details about an unspecified validation that doesn't fit other + categories. + """ + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Dataclass for UntagResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource from which to remove + tags. + """ + tag_keys: list[str] | None = ... + """A list of keys of the tags to remove from the resource.""" + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAgentActionGroupInput(_SerdeShape): + """Dataclass for UpdateAgentActionGroupInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent for which to update the action group.""" + agent_version: str | None = ... + """ + The unique identifier of the agent version for which to update the + action group. + """ + action_group_id: str | None = ... + """The unique identifier of the action group.""" + action_group_name: str | None = ... + """Specifies a new name for the action group.""" + description: str | None = ... + """Specifies a new name for the action group.""" + parent_action_group_signature: str | None = ... + """ + Update the built-in or computer use action for this action group. If you + specify a value, you must leave the `description`, `apiSchema`, and + `actionGroupExecutor` fields empty for this action group. + + - To allow your agent to request the user for additional information + when trying to complete a task, set this field to `AMAZON.UserInput`. + + - To allow your agent to generate, run, and troubleshoot code when + trying to complete a task, set this field to `AMAZON.CodeInterpreter`. + + - To allow your agent to use an Anthropic computer use tool, specify one + of the following values. + + Warning: + Computer use is a new Anthropic Claude model capability (in beta) + available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 + only. When operating computer use functionality, we recommend taking + additional security precautions, such as executing computer actions in + virtual environments with restricted data access and limited internet + connectivity. For more information, see [Configure an Amazon Bedrock + Agent to complete tasks with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). + + - `ANTHROPIC.Computer` - Gives the agent permission to use the mouse + and keyboard and take screenshots. + + - `ANTHROPIC.TextEditor` - Gives the agent permission to view, create + and edit files. + + - `ANTHROPIC.Bash` - Gives the agent permission to run commands in a + bash shell. + + During orchestration, if your agent determines that it needs to invoke + an API in an action group, but doesn't have enough information to + complete the API request, it will invoke this action group instead and + return an + [Observation](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html) + reprompting the user for more information. + """ + parent_action_group_signature_params: dict[str, str] | None = ... + """ + The configuration settings for a computer use action. + + Warning: + Computer use is a new Anthropic Claude model capability (in beta) + available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more + information, see [Configure an Amazon Bedrock Agent to complete tasks + with computer use + tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). + """ + action_group_executor: ActionGroupExecutor | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda function containing the + business logic that is carried out upon invoking the action. + """ + action_group_state: str | None = ... + """ + Specifies whether the action group is available for the agent to invoke + or not when sending an + [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) + request. + """ + api_schema: APISchema | None = ... + """ + Contains either details about the S3 object containing the OpenAPI + schema for the action group or the JSON or YAML-formatted payload + defining the schema. For more information, see [Action group OpenAPI + schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). + """ + function_schema: FunctionSchema | None = ... + """ + Contains details about the function schema for the action group or the + JSON or YAML-formatted payload defining the schema. + """ + +@dataclass(kw_only=True) +class UpdateAgentActionGroupOutput(_SerdeShape): + """Dataclass for UpdateAgentActionGroupOutput structure.""" + + agent_action_group: AgentActionGroup + """Contains details about the action group that was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAgentAliasInput(_SerdeShape): + """Dataclass for UpdateAgentAliasInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent.""" + agent_alias_id: str | None = ... + """The unique identifier of the alias.""" + agent_alias_name: str | None = ... + """Specifies a new name for the alias.""" + description: str | None = ... + """Specifies a new description for the alias.""" + routing_configuration: list[AgentAliasRoutingConfigurationListItem] | None = ... + """Contains details about the routing configuration of the alias.""" + alias_invocation_state: str | None = ... + """ + The invocation state for the agent alias. To pause the agent alias, set + the value to `REJECT_INVOCATIONS`. To start the agent alias running + again, set the value to `ACCEPT_INVOCATIONS`. Use the `GetAgentAlias`, + or `ListAgentAliases`, operation to get the invocation state of an agent + alias. + """ + +@dataclass(kw_only=True) +class UpdateAgentAliasOutput(_SerdeShape): + """Dataclass for UpdateAgentAliasOutput structure.""" + + agent_alias: AgentAlias + """Contains details about the alias that was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAgentCollaboratorInput(_SerdeShape): + """Dataclass for UpdateAgentCollaboratorInput structure.""" + + agent_id: str | None = ... + """The agent's ID.""" + agent_version: str | None = ... + """The agent's version.""" + collaborator_id: str | None = ... + """The collaborator's ID.""" + agent_descriptor: AgentDescriptor | None = ... + """An agent descriptor for the agent collaborator.""" + collaborator_name: str | None = ... + """The collaborator's name.""" + collaboration_instruction: str | None = ... + """Instruction for the collaborator.""" + relay_conversation_history: str | None = ... + """A relay conversation history for the collaborator.""" + +@dataclass(kw_only=True) +class UpdateAgentCollaboratorOutput(_SerdeShape): + """Dataclass for UpdateAgentCollaboratorOutput structure.""" + + agent_collaborator: AgentCollaborator + """Details about the collaborator.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAgentInput(_SerdeShape): + """Dataclass for UpdateAgentInput structure.""" + + agent_id: str | None = ... + """The unique identifier of the agent.""" + agent_name: str | None = ... + """Specifies a new name for the agent.""" + instruction: str | None = ... + """ + Specifies new instructions that tell the agent what it should do and how + it should interact with users. + """ + foundation_model: str | None = ... + """ + The identifier for the model that you want to be used for orchestration + by the agent you create. + + The `modelId` to provide depends on the type of model or throughput that + you use: + + - If you use a base model, specify the model ID or its ARN. For a list + of model IDs for base models, see [Amazon Bedrock base model IDs + (on-demand + throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) + in the Amazon Bedrock User Guide. + + - If you use an inference profile, specify the inference profile ID or + its ARN. For a list of inference profile IDs, see [Supported Regions + and models for cross-region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) + in the Amazon Bedrock User Guide. + + - If you use a provisioned model, specify the ARN of the Provisioned + Throughput. For more information, see [Run inference using a + Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) + in the Amazon Bedrock User Guide. + + - If you use a custom model, first purchase Provisioned Throughput for + it. Then specify the ARN of the resulting provisioned model. For more + information, see [Use a custom model in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) + in the Amazon Bedrock User Guide. + + - If you use an [imported + model](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html), + specify the ARN of the imported model. You can get the model ARN from + a successful call to + [CreateModelImportJob](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html) + or from the Imported models page in the Amazon Bedrock console. + """ + description: str | None = ... + """Specifies a new description of the agent.""" + orchestration_type: str | None = ... + """ + Specifies the type of orchestration strategy for the agent. This is set + to `DEFAULT` orchestration type, by default. + """ + custom_orchestration: CustomOrchestration | None = ... + """Contains details of the custom orchestration configured for the agent.""" + idle_session_ttl_in_seconds: int | None = ... + """ + The number of seconds for which Amazon Bedrock keeps information about a + user's conversation with the agent. + + A user interaction remains active for the amount of time specified. If + no conversation occurs during this time, the session expires and Amazon + Bedrock deletes any data provided before the timeout. + """ + agent_resource_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role with permissions to + invoke API operations on the agent. + """ + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key with which to encrypt the + agent. + """ + prompt_override_configuration: PromptOverrideConfiguration | None = ... + """ + Contains configurations to override prompts in different parts of an + agent sequence. For more information, see [Advanced + prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """ + The unique Guardrail configuration assigned to the agent when it is + updated. + """ + memory_configuration: MemoryConfiguration | None = ... + """Specifies the new memory configuration for the agent.""" + agent_collaboration: str | None = ... + """The agent's collaboration role.""" + +@dataclass(kw_only=True) +class UpdateAgentKnowledgeBaseInput(_SerdeShape): + """Dataclass for UpdateAgentKnowledgeBaseInput structure.""" + + agent_id: str | None = ... + """ + The unique identifier of the agent associated with the knowledge base + that you want to update. + """ + agent_version: str | None = ... + """ + The version of the agent associated with the knowledge base that you + want to update. + """ + knowledge_base_id: str | None = ... + """ + The unique identifier of the knowledge base that has been associated + with an agent. + """ + description: str | None = ... + """ + Specifies a new description for the knowledge base associated with an + agent. + """ + knowledge_base_state: str | None = ... + """ + Specifies whether the agent uses the knowledge base or not when sending + an + [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) + request. + """ + +@dataclass(kw_only=True) +class UpdateAgentKnowledgeBaseOutput(_SerdeShape): + """Dataclass for UpdateAgentKnowledgeBaseOutput structure.""" + + agent_knowledge_base: AgentKnowledgeBase + """ + Contains details about the knowledge base that has been associated with + an agent. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAgentOutput(_SerdeShape): + """Dataclass for UpdateAgentOutput structure.""" + + agent: Agent + """Contains details about the agent that was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDataSourceInput(_SerdeShape): + """Dataclass for UpdateDataSourceInput structure.""" + + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base for the data source.""" + data_source_id: str | None = ... + """The unique identifier of the data source.""" + name: str | None = ... + """Specifies a new name for the data source.""" + description: str | None = ... + """Specifies a new description for the data source.""" + data_source_configuration: DataSourceConfiguration | None = ... + """ + The connection configuration for the data source that you want to + update. + """ + data_deletion_policy: str | None = ... + """The data deletion policy for the data source that you want to update.""" + server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... + """Contains details about server-side encryption of the data source.""" + vector_ingestion_configuration: VectorIngestionConfiguration | None = ... + """Contains details about how to ingest the documents in the data source.""" + +@dataclass(kw_only=True) +class UpdateDataSourceOutput(_SerdeShape): + """Dataclass for UpdateDataSourceOutput structure.""" + + data_source: DataSource + """Contains details about the data source.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFlowAliasInput(_SerdeShape): + """Dataclass for UpdateFlowAliasInput structure.""" + + name: str | None = ... + """The name of the alias.""" + description: str | None = ... + """A description for the alias.""" + routing_configuration: list[FlowAliasRoutingConfigurationListItem] | None = ... + """Contains information about the version to which to map the alias.""" + concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... + """ + The configuration that specifies how nodes in the flow are executed in + parallel. + """ + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + alias_identifier: str | None = ... + """The unique identifier of the alias.""" + +@dataclass(kw_only=True) +class UpdateFlowAliasOutput(_SerdeShape): + """Dataclass for UpdateFlowAliasOutput structure.""" + + name: str + """The name of the alias.""" + description: str | None = ... + """The description of the flow.""" + routing_configuration: list[FlowAliasRoutingConfigurationListItem] + """Contains information about the version that the alias is mapped to.""" + concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... + """ + The configuration that specifies how nodes in the flow are executed in + parallel. + """ + flow_id: str + """The unique identifier of the flow.""" + id: str + """The unique identifier of the alias.""" + arn: str + """The Amazon Resource Name (ARN) of the flow.""" + created_at: datetime + """The time at which the flow was created.""" + updated_at: datetime + """The time at which the alias was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFlowInput(_SerdeShape): + """Dataclass for UpdateFlowInput structure.""" + + name: str | None = ... + """A name for the flow.""" + description: str | None = ... + """A description for the flow.""" + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the service role with permissions to + create and manage a flow. For more information, see [Create a service + role for flows in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) + in the Amazon Bedrock User Guide. + """ + customer_encryption_key_arn: str | None = ... + """The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.""" + definition: FlowDefinition | None = ... + """ + A definition of the nodes and the connections between the nodes in the + flow. + """ + flow_identifier: str | None = ... + """The unique identifier of the flow.""" + +@dataclass(kw_only=True) +class UpdateFlowOutput(_SerdeShape): + """Dataclass for UpdateFlowOutput structure.""" + + name: str + """The name of the flow.""" + description: str | None = ... + """The description of the flow.""" + execution_role_arn: str + """ + The Amazon Resource Name (ARN) of the service role with permissions to + create a flow. For more information, see [Create a service role for + flows in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) + in the Amazon Bedrock User Guide. + """ + customer_encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that the flow was + encrypted with. + """ + id: str + """The unique identifier of the flow.""" + arn: str + """The Amazon Resource Name (ARN) of the flow.""" + status: str + """ + The status of the flow. When you submit this request, the status will be + `NotPrepared`. If updating fails, the status becomes `Failed`. + """ + created_at: datetime + """The time at which the flow was created.""" + updated_at: datetime + """The time at which the flow was last updated.""" + version: str + """ + The version of the flow. When you update a flow, the version updated is + the `DRAFT` version. + """ + definition: FlowDefinition | None = ... + """A definition of the nodes and the connections between nodes in the flow.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateKnowledgeBaseInput(_SerdeShape): + """Dataclass for UpdateKnowledgeBaseInput structure.""" + + knowledge_base_id: str | None = ... + """The unique identifier of the knowledge base to update.""" + name: str | None = ... + """Specifies a new name for the knowledge base.""" + description: str | None = ... + """Specifies a new description for the knowledge base.""" + role_arn: str | None = ... + """ + Specifies a different Amazon Resource Name (ARN) of the IAM role with + permissions to invoke API operations on the knowledge base. + """ + knowledge_base_configuration: KnowledgeBaseConfiguration | None = ... + """ + Specifies the configuration for the embeddings model used for the + knowledge base. You must use the same configuration as when the + knowledge base was created. + """ + storage_configuration: StorageConfiguration | None = ... + """ + Specifies the configuration for the vector store used for the knowledge + base. You must use the same configuration as when the knowledge base was + created. + """ + metadata_configurations: list[MetadataConfiguration] | None = ... + """ + Specifies up to 30 custom metadata field configurations for a managed + knowledge base. + + The list that you specify replaces the existing configurations. The + update removes any configuration that you leave out, and its field is no + longer searchable. An empty list removes all configurations. If you + don't specify a list, the existing configurations don't change. + """ + +@dataclass(kw_only=True) +class UpdateKnowledgeBaseOutput(_SerdeShape): + """Dataclass for UpdateKnowledgeBaseOutput structure.""" + + knowledge_base: KnowledgeBase + """Contains details about the knowledge base.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatePromptInput(_SerdeShape): + """Dataclass for UpdatePromptInput structure.""" + + name: str | None = ... + """A name for the prompt.""" + description: str | None = ... + """A description for the prompt.""" + customer_encryption_key_arn: str | None = ... + """The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.""" + default_variant: str | None = ... + """ + The name of the default variant for the prompt. This value must match + the `name` field in the relevant + [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) + object. + """ + variants: list[PromptVariant] | None = ... + """ + A list of objects, each containing details about a variant of the + prompt. + """ + prompt_identifier: str | None = ... + """The unique identifier of the prompt.""" + +@dataclass(kw_only=True) +class UpdatePromptOutput(_SerdeShape): + """Dataclass for UpdatePromptOutput structure.""" + + name: str + """The name of the prompt.""" + description: str | None = ... + """The description of the prompt.""" + customer_encryption_key_arn: str | None = ... + """The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.""" + default_variant: str | None = ... + """ + The name of the default variant for the prompt. This value must match + the `name` field in the relevant + [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) + object. + """ + variants: list[PromptVariant] | None = ... + """ + A list of objects, each containing details about a variant of the + prompt. + """ + id: str + """The unique identifier of the prompt.""" + arn: str + """The Amazon Resource Name (ARN) of the prompt.""" + version: str + """ + The version of the prompt. When you update a prompt, the version updated + is the `DRAFT` version. + """ + created_at: datetime + """The time at which the prompt was created.""" + updated_at: datetime + """The time at which the prompt was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRetrievalInstructionInput(_SerdeShape): + """Dataclass for UpdateRetrievalInstructionInput structure.""" + + retrieval_instruction_id: str | None = ... + """The identifier of the retrieval instruction to update.""" + instruction: RetrievalInstructionContent | None = ... + """ + The replacement instruction content. This is a full replacement of all + four fields, not a patch. During UPDATING, Get continues to return the + previously-served content until the update review passes. + """ + description: str | None = ... + """ + A replacement description; applied together with the content when the + review passes. Omit to clear. + """ + +@dataclass(kw_only=True) +class UpdateRetrievalInstructionOutput(_SerdeShape): + """Dataclass for UpdateRetrievalInstructionOutput structure.""" + + retrieval_instruction_id: str + """The identifier of the retrieval instruction.""" + retrieval_instruction_arn: str + """The ARN of the retrieval instruction.""" + name: str + """The name of the retrieval instruction.""" + status: str + """ + Whether the instruction can be used. An update never lowers status. + Unchanged from the previous value on this response. + """ + last_transition_status: str + """ + Always UPDATING on this response. Poll GetRetrievalInstruction until + this member is neither CREATING nor UPDATING, then read the outcome from + it. + """ + created_at: datetime + """When you created the retrieval instruction.""" + updated_at: datetime + """When the retrieval instruction was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/models_2.pyi b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/models_2.pyi new file mode 100644 index 000000000..c064f2494 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/models_2.pyi @@ -0,0 +1,466 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + ChunkingConfiguration, + ContextEnrichmentConfiguration, + CustomTransformationConfiguration, + EmbeddingModelConfiguration, + FlowDefinition, + FlowValidation, + MetadataConfigurationForReranking, + ParsingConfiguration, + SeedUrl, + ServiceError, + SupplementalDataStorageConfiguration, + _SerdeShape, +) + +@dataclass(kw_only=True) +class UrlConfiguration(_SerdeShape): + """ + The configuration of web URLs that you want to crawl. You should be + authorized to crawl the URLs. + """ + + seed_urls: list[SeedUrl] | None = ... + """One or more seed or starting point URLs.""" + +@dataclass(kw_only=True) +class ValidateFlowDefinitionInput(_SerdeShape): + """Dataclass for ValidateFlowDefinitionInput structure.""" + + definition: FlowDefinition | None = ... + """The definition of a flow to validate.""" + +@dataclass(kw_only=True) +class ValidateFlowDefinitionOutput(_SerdeShape): + """Dataclass for ValidateFlowDefinitionOutput structure.""" + + validations: list[FlowValidation] + """ + Contains an array of objects, each of which contains an error identified + by validation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ValidationException(ServiceError, _SerdeShape): + """ + Input validation failed. Check your request parameters and retry the + request. + """ + + field_list: list[ValidationExceptionField] | None = ... + """ + A list of objects containing fields that caused validation errors and + their corresponding validation error messages. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ValidationExceptionField(_SerdeShape): + """ + Stores information about a field passed inside a request that resulted + in an validation error. + """ + + name: str + """The name of the field.""" + message: str + """A message describing why this field failed validation.""" + +@dataclass(kw_only=True) +class VectorIngestionConfiguration(_SerdeShape): + """Contains details about how to ingest the documents in a data source.""" + + chunking_configuration: ChunkingConfiguration | None = ... + """ + Details about how to chunk the documents in the data source. A *chunk* + refers to an excerpt from a data source that is returned when the + knowledge base that it belongs to is queried. + """ + custom_transformation_configuration: CustomTransformationConfiguration | None = ... + """A custom document transformer for parsed data source documents.""" + parsing_configuration: ParsingConfiguration | None = ... + """ + Configurations for a parser to use for parsing documents in your data + source. If you exclude this field, the default parser will be used. + """ + context_enrichment_configuration: ContextEnrichmentConfiguration | None = ... + """ + The context enrichment configuration used for ingestion of the data into + the vector store. + """ + +@dataclass(kw_only=True) +class VectorKnowledgeBaseConfiguration(_SerdeShape): + """ + Contains details about the model used to create vector embeddings for + the knowledge base. + """ + + embedding_model_arn: str + """ + The Amazon Resource Name (ARN) of the model used to create vector + embeddings for the knowledge base. + """ + embedding_model_configuration: EmbeddingModelConfiguration | None = ... + """ + The embeddings model configuration details for the vector model used in + Knowledge Base. + """ + supplemental_data_storage_configuration: ( + SupplementalDataStorageConfiguration | None + ) = ... + """ + If you include multimodal data from your data source, use this object to + specify configurations for the storage location of the images extracted + from your documents. These images can be retrieved and returned to the + end user. They can also be used in generation when using + [RetrieveAndGenerate](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html). + """ + +@dataclass(kw_only=True) +class VectorSearchBedrockRerankingConfiguration(_SerdeShape): + """ + Configures the Amazon Bedrock reranker model to improve the relevance of + retrieved results. + """ + + model_configuration: VectorSearchBedrockRerankingModelConfiguration + """Specifies the configuration for the Amazon Bedrock reranker model.""" + number_of_reranked_results: int | None = ... + """Specifies the number of results to return after reranking.""" + metadata_configuration: MetadataConfigurationForReranking | None = ... + """ + Specifies how metadata fields should be handled during the reranking + process. + """ + +@dataclass(kw_only=True) +class VectorSearchBedrockRerankingModelConfiguration(_SerdeShape): + """ + Configures the Amazon Bedrock model used for reranking retrieved + results. + """ + + model_arn: str + """The Amazon Resource Name (ARN) of the Amazon Bedrock reranker model.""" + additional_model_request_fields: dict[str, Document] | None = ... + """ + Specifies additional model-specific request parameters as key-value + pairs that are included in the request to the Amazon Bedrock reranker + model. + """ + +@dataclass(kw_only=True) +class VectorSearchRerankingConfiguration(_SerdeShape): + """ + Specifies how retrieved results from a knowledge base are reranked to + improve relevance. + """ + + type: str + """ + Specifies the type of reranking model to use. Currently, the only + supported value is `BEDROCK_RERANKING_MODEL`. + """ + bedrock_reranking_configuration: ( + VectorSearchBedrockRerankingConfiguration | None + ) = ... + """ + Specifies the configuration for using an Amazon Bedrock reranker model + to rerank retrieved results. + """ + +class VectorSearchRerankingConfigurationType(UnknownEnumMixin, StrEnum): + BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" + +@dataclass(kw_only=True) +class VideoConfiguration(_SerdeShape): + """ + Configuration settings for processing video content in multimodal + knowledge bases. + """ + + segmentation_configuration: VideoSegmentationConfiguration + """Configuration for segmenting video content during processing.""" + +@dataclass(kw_only=True) +class VideoExtractionConfiguration(_SerdeShape): + """Configuration for video extraction.""" + + video_extraction_status: str + """Whether video extraction is enabled or disabled.""" + +@dataclass(kw_only=True) +class VideoSegmentationConfiguration(_SerdeShape): + """ + Configuration for segmenting video content during multimodal knowledge + base ingestion. Determines how video files are divided into chunks for + processing. + """ + + fixed_length_duration: int + """ + The duration in seconds for each video segment. Video files will be + divided into chunks of this length for processing. + """ + +@dataclass(kw_only=True) +class VpcConfiguration(_SerdeShape): + """ + Contains the details of a VPC configuration, including its connection + settings, resolution mode, and current lifecycle status. + """ + + vpc_configuration_id: str + """The unique identifier of the VPC configuration.""" + status: str + """The current lifecycle status of the VPC configuration.""" + status_message: str | None = ... + """ + Additional detail about the current status, such as the cause of a + `CREATE_FAILED` or `DELETE_FAILED` status. + """ + vpc_id: str + """ + The identifier of the VPC that the knowledge base connects through to + reach the resource. + """ + subnet_ids: list[str] + """The subnets that the knowledge base uses to connect to the resource.""" + resource_target: str + """The private IPv4 address or DNS name of the resource.""" + port: int + """The port on which the resource is reached.""" + protocol: str + """The protocol used to connect to the resource.""" + resolution_mode: str + """Specifies how the resource target is resolved.""" + host_header: str | None = ... + """ + The HTTP `Host` header value sent when invoking the resource, if + configured. + """ + tls_server_name: str | None = ... + """ + The expected TLS server name that the service matches against the + Subject Alternative Names on the resource's TLS certificate. Present + when `protocol` is `HTTPS`. + """ + name: str | None = ... + """The human-readable name of the VPC configuration, if provided.""" + description: str | None = ... + """The description of the VPC configuration, if provided.""" + created_at: datetime + """The time at which the VPC configuration was created.""" + updated_at: datetime + """The time at which the VPC configuration was last updated.""" + +class VpcConfigurationStatus(UnknownEnumMixin, StrEnum): + """ + The lifecycle status of a VPC configuration. Valid values: + + - `CREATING` -- The configuration is being created. + + - `CREATED` -- The configuration is ready to use. + + - `DELETING` -- The configuration is being deleted. + + - `CREATE_FAILED` -- Creation failed. See `statusMessage` for the cause. + + - `DELETE_FAILED` -- Deletion failed. See `statusMessage` for the cause. + """ + + CREATING = "CREATING" + CREATED = "CREATED" + DELETING = "DELETING" + CREATE_FAILED = "CREATE_FAILED" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class VpcConfigurationSummary(_SerdeShape): + """A summary of a VPC configuration returned by `ListVpcConfigurations`.""" + + vpc_configuration_id: str + """The unique identifier of the VPC configuration.""" + status: str + """The current lifecycle status of the VPC configuration.""" + status_message: str | None = ... + """ + Additional detail about the current status, such as the cause of a + failure. + """ + vpc_id: str + """ + The identifier of the VPC that the knowledge base connects through to + reach the resource. + """ + resource_target: str + """The private IPv4 address or DNS name of the resource.""" + port: int + """The port on which the resource is reached.""" + protocol: str + """The protocol used to connect to the resource.""" + resolution_mode: str + """Specifies how the resource target is resolved.""" + host_header: str | None = ... + """ + The HTTP `Host` header value sent when invoking the resource, if + configured. + """ + tls_server_name: str | None = ... + """ + The expected TLS server name that the service matches against the + Subject Alternative Names on the resource's TLS certificate. Present + when `protocol` is `HTTPS`. + """ + name: str | None = ... + """The human-readable name of the VPC configuration, if provided.""" + description: str | None = ... + """The description of the VPC configuration, if provided.""" + created_at: datetime + """The time at which the VPC configuration was created.""" + +class VpcProtocol(UnknownEnumMixin, StrEnum): + """ + The protocol used to connect to the resource. Valid values: + + - `HTTP` -- Connect over plaintext HTTP. + + - `HTTPS` -- Connect over TLS. + """ + + HTTP = "HTTP" + HTTPS = "HTTPS" + +class VpcResolutionMode(UnknownEnumMixin, StrEnum): + """ + Controls how a domain-name resource target is resolved. This applies + only when the target is a domain name; it has no effect for IP-address + targets. In all cases the resolved address must be reachable from inside + the VPC. Valid values: + + - `IN_VPC` (default, recommended) -- The target domain name is resolved + privately, using the DNS resolvers of the VPC. + + - `PUBLIC` -- The target domain name is resolved against public DNS + resolvers, for the uncommon case where the name must resolve through + public DNS but the resulting address remains reachable from the VPC. + """ + + PUBLIC = "PUBLIC" + IN_VPC = "IN_VPC" + +@dataclass(kw_only=True) +class WebCrawlerConfiguration(_SerdeShape): + """ + The configuration of web URLs that you want to crawl. You should be + authorized to crawl the URLs. + """ + + crawler_limits: WebCrawlerLimits | None = ... + """The configuration of crawl limits for the web URLs.""" + inclusion_filters: list[str] | None = ... + """ + A list of one or more inclusion regular expression patterns to include + certain URLs. If you specify an inclusion and exclusion filter/pattern + and both match a URL, the exclusion filter takes precedence and the web + content of the URL isn't crawled. + """ + exclusion_filters: list[str] | None = ... + """ + A list of one or more exclusion regular expression patterns to exclude + certain URLs. If you specify an inclusion and exclusion filter/pattern + and both match a URL, the exclusion filter takes precedence and the web + content of the URL isn't crawled. + """ + scope: str | None = ... + """ + The scope of what is crawled for your URLs. + + You can choose to crawl only web pages that belong to the same host or + primary domain. For example, only web pages that contain the seed URL + \"https://docs.aws.amazon.com/bedrock/latest/userguide/\" and no other + domains. You can choose to include sub domains in addition to the host + or primary domain. For example, web pages that contain + \"aws.amazon.com\" can also include sub domain \"docs.aws.amazon.com\". + """ + user_agent: str | None = ... + """Returns the user agent suffix for your web crawler.""" + user_agent_header: str | None = ... + """ + A string used for identifying the crawler or bot when it accesses a web + server. The user agent header value consists of the `bedrockbot`, UUID, + and a user agent suffix for your crawler (if one is provided). By + default, it is set to `bedrockbot_UUID`. You can optionally append a + custom suffix to `bedrockbot_UUID` to allowlist a specific user agent + permitted to access your source URLs. + """ + +@dataclass(kw_only=True) +class WebCrawlerLimits(_SerdeShape): + """ + The rate limits for the URLs that you want to crawl. You should be + authorized to crawl the URLs. + """ + + rate_limit: int | None = ... + """The max rate at which pages are crawled, up to 300 per minute per host.""" + max_pages: int | None = ... + """ + The max number of web pages crawled from your source URLs, up to 25,000 + pages. If the web pages exceed this limit, the data source sync will + fail and no web pages will be ingested. + """ + +@dataclass(kw_only=True) +class WebDataSourceConfiguration(_SerdeShape): + """The configuration details for the web data source.""" + + source_configuration: WebSourceConfiguration + """The source configuration details for the web data source.""" + crawler_configuration: WebCrawlerConfiguration | None = ... + """The Web Crawler configuration details for the web data source.""" + +class WebScopeType(UnknownEnumMixin, StrEnum): + HOST_ONLY = "HOST_ONLY" + SUBDOMAINS = "SUBDOMAINS" + +@dataclass(kw_only=True) +class WebSourceConfiguration(_SerdeShape): + """ + The configuration of the URL/URLs for the web content that you want to + crawl. You should be authorized to crawl the URLs. + """ + + url_configuration: UrlConfiguration + """The configuration of the URL/URLs.""" + +@dataclass(kw_only=True) +class WeeklySchedule(_SerdeShape): + """A weekly sync on a specified day of the week.""" + + day_of_week: str + """The day of the week on which the weekly sync runs.""" diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas.py index e437fabb9..27c4e5cec 100644 --- a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas.py +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas.py @@ -1,10394 +1,896 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.bedrockagent" -_ACA = "AccessControlAccess" -_ALLOW = "ALLOW" -_sV = "smithy.api#enumValue" -_DENY = "DENY" -_ACPT = "AccessControlPrincipalType" -_USER = "USER" -_NBS = "NonBlankString" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_m = "message" -_CCM = "CustomControlMethod" -_RC = "RETURN_CONTROL" -_LA = "LambdaArn" -_AGE = "ActionGroupExecutor" -_l = "lambda" -_cC = "customControl" -_CE = "ConflictException" -_N = "Name" -_AGS = "ActionGroupState" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_I = "Id" -_DV = "DraftVersion" -_P = "Payload" -_sm = "smithy.api#sensitive" -_SBN = "S3BucketName" -_SOK = "S3ObjectKey" -_SI = "S3Identifier" -_sBN = "s3BucketName" -_sOK = "s3ObjectKey" -_APIS = "APISchema" -_s_ = "s3" -_p = "payload" -_CT = "ClientToken" -_D = "Description" -_FD = "FunctionDescription" -_PD = "ParameterDescription" -_T = "Type" -_STRING = "STRING" -_st = "string" -_NUMBER = "NUMBER" -_n = "number" -_INTEGER = "INTEGER" -_i = "integer" -_BOOLEAN = "BOOLEAN" -_b = "boolean" -_ARRAY = "ARRAY" -_a = "array" -_PDa = "ParameterDetail" -_d = "description" -_t = "type" -_smi = "smithy.api#required" -_r = "required" -_PM = "ParameterMap" -_k = "key" -_v = "value" -_RCe = "RequireConfirmation" -_F = "Function" -_na = "name" -_pa = "parameters" -_rC = "requireConfirmation" -_Fu = "Functions" -_me = "member" -_FS = "FunctionSchema" -_f = "functions" -_AGSc = "ActionGroupSignature" -_AU = "AMAZON_USERINPUT" -_AMAZONUI = "AMAZON.UserInput" -_AC = "AMAZON_CODEINTERPRETER" -_AMAZONCI = "AMAZON.CodeInterpreter" -_AC_ = "ANTHROPIC_COMPUTER" -_ANTHROPICC = "ANTHROPIC.Computer" -_AB = "ANTHROPIC_BASH" -_ANTHROPICB = "ANTHROPIC.Bash" -_AT = "ANTHROPIC_TEXTEDITOR" -_ANTHROPICTE = "ANTHROPIC.TextEditor" -_AGSP = "ActionGroupSignatureParams" -_CAAGI = "CreateAgentActionGroupInput" -_sSI = "smithy.synthetic#originalShapeId" -_cCAAGR = "com.amazonaws.bedrockagent#CreateAgentActionGroupRequest" -_smit = "smithy.api#input" -_aI = "agentId" -_sL = "smithy.api#httpLabel" -_aV = "agentVersion" -_aGN = "actionGroupName" -_cT = "clientToken" -_sT = "smithy.api#idempotencyToken" -_pAGS = "parentActionGroupSignature" -_pAGSP = "parentActionGroupSignatureParams" -_aGE = "actionGroupExecutor" -_aS = "apiSchema" -_aGS = "actionGroupState" -_fS = "functionSchema" -_V = "Version" -_DT = "DateTimestamp" -_sF = "smithy.api#timestampFormat" -_dt = "date-time" -_AAG = "AgentActionGroup" -_aGI = "actionGroupId" -_cA = "createdAt" -_uA = "updatedAt" -_pAS = "parentActionSignature" -_CAAGO = "CreateAgentActionGroupOutput" -_cCAAGRo = "com.amazonaws.bedrockagent#CreateAgentActionGroupResponse" -_smith = "smithy.api#output" -_aAG = "agentActionGroup" -_ISE = "InternalServerException" -_se = "server" -_RNFE = "ResourceNotFoundException" -_SQEE = "ServiceQuotaExceededException" -_TE = "ThrottlingException" -_VEF = "ValidationExceptionField" -_VEFL = "ValidationExceptionFieldList" -_VE = "ValidationException" -_fL = "fieldList" -_CAAG = "CreateAgentActionGroup" -_smithy = "smithy.api#http" -_DAAGI = "DeleteAgentActionGroupInput" -_cDAAGR = "com.amazonaws.bedrockagent#DeleteAgentActionGroupRequest" -_sRIUC = "skipResourceInUseCheck" -_smithya = "smithy.api#default" -_sQ = "smithy.api#httpQuery" -_DAAGO = "DeleteAgentActionGroupOutput" -_cDAAGRo = "com.amazonaws.bedrockagent#DeleteAgentActionGroupResponse" -_DAAG = "DeleteAgentActionGroup" -_GAAGI = "GetAgentActionGroupInput" -_cGAAGR = "com.amazonaws.bedrockagent#GetAgentActionGroupRequest" -_GAAGO = "GetAgentActionGroupOutput" -_cGAAGRo = "com.amazonaws.bedrockagent#GetAgentActionGroupResponse" -_GAAG = "GetAgentActionGroup" -_MR = "MaxResults" -_NT = "NextToken" -_LAAGI = "ListAgentActionGroupsInput" -_cLAAGR = "com.amazonaws.bedrockagent#ListAgentActionGroupsRequest" -_mR = "maxResults" -_nT = "nextToken" -_AGSct = "ActionGroupSummary" -_AGScti = "ActionGroupSummaries" -_LAAGO = "ListAgentActionGroupsOutput" -_cLAAGRo = "com.amazonaws.bedrockagent#ListAgentActionGroupsResponse" -_aGSc = "actionGroupSummaries" -_LAAG = "ListAgentActionGroups" -_UAAGI = "UpdateAgentActionGroupInput" -_cUAAGR = "com.amazonaws.bedrockagent#UpdateAgentActionGroupRequest" -_UAAGO = "UpdateAgentActionGroupOutput" -_cUAAGRo = "com.amazonaws.bedrockagent#UpdateAgentActionGroupResponse" -_UAAG = "UpdateAgentActionGroup" -_AMRFK = "AdditionalModelRequestFieldsKey" -_AMRFV = "AdditionalModelRequestFieldsValue" -_AMRF = "AdditionalModelRequestFields" -_AA = "AgentArn" -_ACg = "AgentCollaboration" -_SUPERVISOR = "SUPERVISOR" -_SR = "SUPERVISOR_ROUTER" -_ARA = "AgentRoleArn" -_AS = "AgentStatus" -_CREATING = "CREATING" -_PREPARING = "PREPARING" -_PREPARED = "PREPARED" -_NP = "NOT_PREPARED" -_DELETING = "DELETING" -_FAILED = "FAILED" -_VERSIONING = "VERSIONING" -_UPDATING = "UPDATING" -_KKA = "KmsKeyArn" -_OE = "OrchestrationExecutor" -_CO = "CustomOrchestration" -_e = "executor" -_FR = "FailureReason" -_FRa = "FailureReasons" -_MI = "ModelIdentifier" -_GI = "GuardrailIdentifier" -_GV = "GuardrailVersion" -_GC = "GuardrailConfiguration" -_gI = "guardrailIdentifier" -_gV = "guardrailVersion" -_STTL = "SessionTTL" -_In = "Instruction" -_MT = "MemoryType" -_SS = "SESSION_SUMMARY" -_EMT = "EnabledMemoryTypes" -_MRS = "MaxRecentSessions" -_SSC = "SessionSummaryConfiguration" -_mRS = "maxRecentSessions" -_SD = "StorageDays" -_MC = "MemoryConfiguration" -_eMT = "enabledMemoryTypes" -_sD = "storageDays" -_sSC = "sessionSummaryConfiguration" -_OT = "OrchestrationType" -_DEFAULT = "DEFAULT" -_CO_ = "CUSTOM_ORCHESTRATION" -_BPT = "BasePromptTemplate" -_ML = "MaximumLength" -_SSt = "StopSequences" -_Te = "Temperature" -_TK = "TopK" -_TP = "TopP" -_IC = "InferenceConfiguration" -_te = "temperature" -_tP = "topP" -_tK = "topK" -_mL = "maximumLength" -_sS = "stopSequences" -_CM = "CreationMode" -_OVERRIDDEN = "OVERRIDDEN" -_PS = "PromptState" -_PT = "PromptType" -_PP = "PRE_PROCESSING" -_ORCHESTRATION = "ORCHESTRATION" -_PP_ = "POST_PROCESSING" -_KBRG = "KNOWLEDGE_BASE_RESPONSE_GENERATION" -_MS = "MEMORY_SUMMARIZATION" -_PC = "PromptConfiguration" -_pT = "promptType" -_pCM = "promptCreationMode" -_pS = "promptState" -_bPT = "basePromptTemplate" -_iC = "inferenceConfiguration" -_pM = "parserMode" -_fM = "foundationModel" -_aMRF = "additionalModelRequestFields" -_PCr = "PromptConfigurations" -_POC = "PromptOverrideConfiguration" -_pC = "promptConfigurations" -_oL = "overrideLambda" -_RA = "RecommendedAction" -_RAe = "RecommendedActions" -_A = "Agent" -_aN = "agentName" -_aA = "agentArn" -_in = "instruction" -_aSg = "agentStatus" -_oT = "orchestrationType" -_cO = "customOrchestration" -_iSTTLIS = "idleSessionTTLInSeconds" -_aRRA = "agentResourceRoleArn" -_cEKA = "customerEncryptionKeyArn" -_pA = "preparedAt" -_fR = "failureReasons" -_rA = "recommendedActions" -_pOC = "promptOverrideConfiguration" -_gC = "guardrailConfiguration" -_mC = "memoryConfiguration" -_aC = "agentCollaboration" -_AAA = "AgentAliasArn" -_PMI = "ProvisionedModelIdentifier" -_AARCLI = "AgentAliasRoutingConfigurationListItem" -_pTr = "provisionedThroughput" -_AARC = "AgentAliasRoutingConfiguration" -_AAHE = "AgentAliasHistoryEvent" -_rCo = "routingConfiguration" -_eD = "endDate" -_sDt = "startDate" -_AAHEg = "AgentAliasHistoryEvents" -_AAI = "AgentAliasId" -_AAS = "AgentAliasStatus" -_DISSOCIATED = "DISSOCIATED" -_AIS = "AliasInvocationState" -_AI = "ACCEPT_INVOCATIONS" -_RI = "REJECT_INVOCATIONS" -_AAg = "AgentAlias" -_aAI = "agentAliasId" -_aAN = "agentAliasName" -_aAA = "agentAliasArn" -_aAHE = "agentAliasHistoryEvents" -_aAS = "agentAliasStatus" -_aIS = "aliasInvocationState" -_AASg = "AgentAliasSummary" -_AASge = "AgentAliasSummaries" -_AD = "AgentDescriptor" -_aAl = "aliasArn" -_CI = "CollaborationInstruction" -_RCH = "RelayConversationHistory" -_TC = "TO_COLLABORATOR" -_ACge = "AgentCollaborator" -_aD = "agentDescriptor" -_cI = "collaboratorId" -_cIo = "collaborationInstruction" -_cN = "collaboratorName" -_lUA = "lastUpdatedAt" -_rCH = "relayConversationHistory" -_AACI = "AssociateAgentCollaboratorInput" -_cAACR = "com.amazonaws.bedrockagent#AssociateAgentCollaboratorRequest" -_AACO = "AssociateAgentCollaboratorOutput" -_cAACRo = "com.amazonaws.bedrockagent#AssociateAgentCollaboratorResponse" -_aCg = "agentCollaborator" -_AAC = "AssociateAgentCollaborator" -_DACI = "DisassociateAgentCollaboratorInput" -_cDACR = "com.amazonaws.bedrockagent#DisassociateAgentCollaboratorRequest" -_DACO = "DisassociateAgentCollaboratorOutput" -_cDACRo = "com.amazonaws.bedrockagent#DisassociateAgentCollaboratorResponse" -_DAC = "DisassociateAgentCollaborator" -_GACI = "GetAgentCollaboratorInput" -_cGACR = "com.amazonaws.bedrockagent#GetAgentCollaboratorRequest" -_GACO = "GetAgentCollaboratorOutput" -_cGACRo = "com.amazonaws.bedrockagent#GetAgentCollaboratorResponse" -_GAC = "GetAgentCollaborator" -_LACI = "ListAgentCollaboratorsInput" -_cLACR = "com.amazonaws.bedrockagent#ListAgentCollaboratorsRequest" -_ACS = "AgentCollaboratorSummary" -_ACSg = "AgentCollaboratorSummaries" -_LACO = "ListAgentCollaboratorsOutput" -_cLACRo = "com.amazonaws.bedrockagent#ListAgentCollaboratorsResponse" -_aCS = "agentCollaboratorSummaries" -_LAC = "ListAgentCollaborators" -_UACI = "UpdateAgentCollaboratorInput" -_cUACR = "com.amazonaws.bedrockagent#UpdateAgentCollaboratorRequest" -_UACO = "UpdateAgentCollaboratorOutput" -_cUACRo = "com.amazonaws.bedrockagent#UpdateAgentCollaboratorResponse" -_UAC = "UpdateAgentCollaborator" -_FAAA = "FlowAgentAliasArn" -_AFNC = "AgentFlowNodeConfiguration" -_v_ = "" -_KBS = "KnowledgeBaseState" -_AKB = "AgentKnowledgeBase" -_kBI = "knowledgeBaseId" -_kBS = "knowledgeBaseState" -_AKBS = "AgentKnowledgeBaseSummary" -_AKBSg = "AgentKnowledgeBaseSummaries" -_TKa = "TagKey" -_TV = "TagValue" -_TM = "TagsMap" -_CAI = "CreateAgentInput" -_cCAR = "com.amazonaws.bedrockagent#CreateAgentRequest" -_ta = "tags" -_CAO = "CreateAgentOutput" -_cCARo = "com.amazonaws.bedrockagent#CreateAgentResponse" -_ag = "agent" -_CA = "CreateAgent" -_DAI = "DeleteAgentInput" -_cDAR = "com.amazonaws.bedrockagent#DeleteAgentRequest" -_DAO = "DeleteAgentOutput" -_cDARo = "com.amazonaws.bedrockagent#DeleteAgentResponse" -_DA = "DeleteAgent" -_GAI = "GetAgentInput" -_cGAR = "com.amazonaws.bedrockagent#GetAgentRequest" -_GAO = "GetAgentOutput" -_cGARo = "com.amazonaws.bedrockagent#GetAgentResponse" -_GA = "GetAgent" -_LAI = "ListAgentsInput" -_cLAR = "com.amazonaws.bedrockagent#ListAgentsRequest" -_ASg = "AgentSummary" -_lAV = "latestAgentVersion" -_ASge = "AgentSummaries" -_LAO = "ListAgentsOutput" -_cLARo = "com.amazonaws.bedrockagent#ListAgentsResponse" -_aSge = "agentSummaries" -_LAi = "ListAgents" -_PAI = "PrepareAgentInput" -_cPAR = "com.amazonaws.bedrockagent#PrepareAgentRequest" -_PAO = "PrepareAgentOutput" -_cPARo = "com.amazonaws.bedrockagent#PrepareAgentResponse" -_PA = "PrepareAgent" -_UAI = "UpdateAgentInput" -_cUAR = "com.amazonaws.bedrockagent#UpdateAgentRequest" -_UAO = "UpdateAgentOutput" -_cUARo = "com.amazonaws.bedrockagent#UpdateAgentResponse" -_UA = "UpdateAgent" -_NV = "NumericalVersion" -_AV = "AgentVersion" -_ve = "version" -_AVS = "AgentVersionSummary" -_AVSg = "AgentVersionSummaries" -_CAAI = "CreateAgentAliasInput" -_cCAAR = "com.amazonaws.bedrockagent#CreateAgentAliasRequest" -_CAAO = "CreateAgentAliasOutput" -_cCAARo = "com.amazonaws.bedrockagent#CreateAgentAliasResponse" -_aAg = "agentAlias" -_CAA = "CreateAgentAlias" -_DAAI = "DeleteAgentAliasInput" -_cDAAR = "com.amazonaws.bedrockagent#DeleteAgentAliasRequest" -_DAAO = "DeleteAgentAliasOutput" -_cDAARo = "com.amazonaws.bedrockagent#DeleteAgentAliasResponse" -_DAA = "DeleteAgentAlias" -_GAAI = "GetAgentAliasInput" -_cGAAR = "com.amazonaws.bedrockagent#GetAgentAliasRequest" -_GAAO = "GetAgentAliasOutput" -_cGAARo = "com.amazonaws.bedrockagent#GetAgentAliasResponse" -_GAA = "GetAgentAlias" -_LAAI = "ListAgentAliasesInput" -_cLAAR = "com.amazonaws.bedrockagent#ListAgentAliasesRequest" -_LAAO = "ListAgentAliasesOutput" -_cLAARo = "com.amazonaws.bedrockagent#ListAgentAliasesResponse" -_aASg = "agentAliasSummaries" -_LAA = "ListAgentAliases" -_UAAI = "UpdateAgentAliasInput" -_cUAAR = "com.amazonaws.bedrockagent#UpdateAgentAliasRequest" -_UAAO = "UpdateAgentAliasOutput" -_cUAARo = "com.amazonaws.bedrockagent#UpdateAgentAliasResponse" -_UAA = "UpdateAgentAlias" -_VCD = "VpcConfigurationDescription" -_HH = "HostHeader" -_VCN = "VpcConfigurationName" -_Po = "Port" -_VP = "VpcProtocol" -_HTTP = "HTTP" -_HTTPS = "HTTPS" -_VRM = "VpcResolutionMode" -_PUBLIC = "PUBLIC" -_IV = "IN_VPC" -_RT = "ResourceTarget" -_SIu = "SubnetId" -_SIL = "SubnetIdList" -_TSN = "TlsServerName" -_VI = "VpcId" -_CVCI = "CreateVpcConfigurationInput" -_cCVCR = "com.amazonaws.bedrockagent#CreateVpcConfigurationRequest" -_vI = "vpcId" -_sI = "subnetIds" -_rT = "resourceTarget" -_po = "port" -_pr = "protocol" -_rM = "resolutionMode" -_hH = "hostHeader" -_tSN = "tlsServerName" -_VCS = "VpcConfigurationStatus" -_CREATED = "CREATED" -_CF = "CREATE_FAILED" -_DF = "DELETE_FAILED" -_VCI = "VpcConfigurationId" -_CVCO = "CreateVpcConfigurationOutput" -_cCVCRo = "com.amazonaws.bedrockagent#CreateVpcConfigurationResponse" -_vCI = "vpcConfigurationId" -_sta = "status" -_CVC = "CreateVpcConfiguration" -_DDP = "DataDeletionPolicy" -_RETAIN = "RETAIN" -_DELETE = "DELETE" -_FP = "FilterPattern" -_FL = "FilterList" -_FOT = "FilteredObjectType" -_POF = "PatternObjectFilter" -_oTb = "objectType" -_iF = "inclusionFilters" -_eF = "exclusionFilters" -_POFL = "PatternObjectFilterList" -_POFC = "PatternObjectFilterConfiguration" -_fi = "filters" -_CFCT = "CrawlFilterConfigurationType" -_PATTERN = "PATTERN" -_CFC = "CrawlFilterConfiguration" -_pOF = "patternObjectFilter" -_CCC = "ConfluenceCrawlerConfiguration" -_fC = "filterConfiguration" -_CAT = "ConfluenceAuthType" -_BASIC = "BASIC" -_OCC = "OAUTH2_CLIENT_CREDENTIALS" -_SA = "SecretArn" -_CHT = "ConfluenceHostType" -_SAAS = "SAAS" -_HU = "HttpsUrl" -_CSC = "ConfluenceSourceConfiguration" -_hU = "hostUrl" -_hT = "hostType" -_aT = "authType" -_cSA = "credentialsSecretArn" -_CDSC = "ConfluenceDataSourceConfiguration" -_sC = "sourceConfiguration" -_cCr = "crawlerConfiguration" -_EODS = "EnabledOrDisabledState" -_DPC = "DeletionProtectionConfiguration" -_dPS = "deletionProtectionStatus" -_dPT = "deletionProtectionThreshold" -_AEC = "AudioExtractionConfiguration" -_aES = "audioExtractionStatus" -_IEC = "ImageExtractionConfiguration" -_iES = "imageExtractionStatus" -_VEC = "VideoExtractionConfiguration" -_vES = "videoExtractionStatus" -_MEC = "MediaExtractionConfiguration" -_iEC = "imageExtractionConfiguration" -_aEC = "audioExtractionConfiguration" -_vEC = "videoExtractionConfiguration" -_DS = "DailySchedule" -_DOMN = "DayOfMonthNumber" -_LDOM = "LastDayOfMonth" -_DOM = "DayOfMonth" -_dN = "dayNumber" -_lDOM = "lastDayOfMonth" -_MSo = "MonthlySchedule" -_dOM = "dayOfMonth" -_DOW = "DayOfWeek" -_SUNDAY = "SUNDAY" -_MONDAY = "MONDAY" -_TUESDAY = "TUESDAY" -_WEDNESDAY = "WEDNESDAY" -_THURSDAY = "THURSDAY" -_FRIDAY = "FRIDAY" -_SATURDAY = "SATURDAY" -_WS = "WeeklySchedule" -_dOW = "dayOfWeek" -_SSy = "SyncSchedule" -_da = "daily" -_w = "weekly" -_mo = "monthly" -_MKBCC = "ManagedKnowledgeBaseConnectorConfiguration" -_dPC = "deletionProtectionConfiguration" -_mEC = "mediaExtractionConfiguration" -_cP = "connectorParameters" -_sSy = "syncSchedule" -_SBA = "S3BucketArn" -_BOAI = "BucketOwnerAccountId" -_SP = "S3Prefix" -_SPr = "S3Prefixes" -_SDSC = "S3DataSourceConfiguration" -_bA = "bucketArn" -_iP = "inclusionPrefixes" -_bOAI = "bucketOwnerAccountId" -_SCC = "SalesforceCrawlerConfiguration" -_SAT = "SalesforceAuthType" -_SSCa = "SalesforceSourceConfiguration" -_SDSCa = "SalesforceDataSourceConfiguration" -_SPCC = "SharePointCrawlerConfiguration" -_SPAT = "SharePointAuthType" -_OSAOCC = "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS" -_SPD = "SharePointDomain" -_SPHT = "SharePointHostType" -_ONLINE = "ONLINE" -_SPSU = "SharePointSiteUrls" -_MTI = "Microsoft365TenantId" -_SPSC = "SharePointSourceConfiguration" -_tI = "tenantId" -_do = "domain" -_sU = "siteUrls" -_SPDSC = "SharePointDataSourceConfiguration" -_DST = "DataSourceType" -_S = "S3" -_WEB = "WEB" -_CONFLUENCE = "CONFLUENCE" -_SALESFORCE = "SALESFORCE" -_SHAREPOINT = "SHAREPOINT" -_CUSTOM = "CUSTOM" -_RM = "REDSHIFT_METADATA" -_MKBC = "MANAGED_KNOWLEDGE_BASE_CONNECTOR" -_WCL = "WebCrawlerLimits" -_rL = "rateLimit" -_mP = "maxPages" -_WST = "WebScopeType" -_HO = "HOST_ONLY" -_SUBDOMAINS = "SUBDOMAINS" -_UAs = "UserAgent" -_UAH = "UserAgentHeader" -_WCC = "WebCrawlerConfiguration" -_cL = "crawlerLimits" -_sc = "scope" -_uAs = "userAgent" -_uAH = "userAgentHeader" -_U = "Url" -_SU = "SeedUrl" -_u = "url" -_SUe = "SeedUrls" -_UC = "UrlConfiguration" -_sUe = "seedUrls" -_WSC = "WebSourceConfiguration" -_uC = "urlConfiguration" -_WDSC = "WebDataSourceConfiguration" -_DSC = "DataSourceConfiguration" -_mKBCC = "managedKnowledgeBaseConnectorConfiguration" -_sCo = "s3Configuration" -_wC = "webConfiguration" -_cCo = "confluenceConfiguration" -_sCa = "salesforceConfiguration" -_sPC = "sharePointConfiguration" -_SSEC = "ServerSideEncryptionConfiguration" -_kKA = "kmsKeyArn" -_CS = "ChunkingStrategy" -_FS_ = "FIXED_SIZE" -_NONE = "NONE" -_HIERARCHICAL = "HIERARCHICAL" -_SEMANTIC = "SEMANTIC" -_FSCC = "FixedSizeChunkingConfiguration" -_mT = "maxTokens" -_oP = "overlapPercentage" -_HCLC = "HierarchicalChunkingLevelConfiguration" -_HCLCi = "HierarchicalChunkingLevelConfigurations" -_HCC = "HierarchicalChunkingConfiguration" -_lC = "levelConfigurations" -_oTv = "overlapTokens" -_SCCe = "SemanticChunkingConfiguration" -_bS = "bufferSize" -_bPTr = "breakpointPercentileThreshold" -_CC = "ChunkingConfiguration" -_cS = "chunkingStrategy" -_fSCC = "fixedSizeChunkingConfiguration" -_hCC = "hierarchicalChunkingConfiguration" -_sCC = "semanticChunkingConfiguration" -_ESM = "EnrichmentStrategyMethod" -_CEE = "CHUNK_ENTITY_EXTRACTION" -_ESC = "EnrichmentStrategyConfiguration" -_met = "method" -_BMA = "BedrockModelArn" -_BFMCEC = "BedrockFoundationModelContextEnrichmentConfiguration" -_eSC = "enrichmentStrategyConfiguration" -_mA = "modelArn" -_CET = "ContextEnrichmentType" -_BFM = "BEDROCK_FOUNDATION_MODEL" -_CEC = "ContextEnrichmentConfiguration" -_bFMC = "bedrockFoundationModelConfiguration" -_SBU = "S3BucketUri" -_SL = "S3Location" -_ur = "uri" -_IS = "IntermediateStorage" -_sLo = "s3Location" -_ST = "StepType" -_PC_ = "POST_CHUNKING" -_TLC = "TransformationLambdaConfiguration" -_lA = "lambdaArn" -_TF = "TransformationFunction" -_tLC = "transformationLambdaConfiguration" -_Tr = "Transformation" -_tF = "transformationFunction" -_sTA = "stepToApply" -_Tra = "Transformations" -_CTC = "CustomTransformationConfiguration" -_iS = "intermediateStorage" -_tr = "transformations" -_PMa = "ParsingModality" -_MULTIMODAL = "MULTIMODAL" -_BDAC = "BedrockDataAutomationConfiguration" -_pMa = "parsingModality" -_PPT = "ParsingPromptText" -_PPa = "ParsingPrompt" -_pPT = "parsingPromptText" -_BFMC = "BedrockFoundationModelConfiguration" -_pP = "parsingPrompt" -_PSa = "ParsingStrategy" -_BDA = "BEDROCK_DATA_AUTOMATION" -_SP_ = "SMART_PARSING" -_MME = "MULTI_MODAL_EMBEDDINGS" -_PCa = "ParsingConfiguration" -_pSa = "parsingStrategy" -_bDAC = "bedrockDataAutomationConfiguration" -_VIC = "VectorIngestionConfiguration" -_cCh = "chunkingConfiguration" -_cTC = "customTransformationConfiguration" -_pCa = "parsingConfiguration" -_cEC = "contextEnrichmentConfiguration" -_CDSI = "CreateDataSourceInput" -_cCDSR = "com.amazonaws.bedrockagent#CreateDataSourceRequest" -_dSC = "dataSourceConfiguration" -_dDP = "dataDeletionPolicy" -_sSEC = "serverSideEncryptionConfiguration" -_vIC = "vectorIngestionConfiguration" -_DSS = "DataSourceStatus" -_AVAILABLE = "AVAILABLE" -_DU = "DELETE_UNSUCCESSFUL" -_DSa = "DataSource" -_dSI = "dataSourceId" -_CDSO = "CreateDataSourceOutput" -_cCDSRo = "com.amazonaws.bedrockagent#CreateDataSourceResponse" -_dS = "dataSource" -_CDS = "CreateDataSource" -_DDSI = "DeleteDataSourceInput" -_cDDSR = "com.amazonaws.bedrockagent#DeleteDataSourceRequest" -_DDSO = "DeleteDataSourceOutput" -_cDDSRo = "com.amazonaws.bedrockagent#DeleteDataSourceResponse" -_DDS = "DeleteDataSource" -_GDSI = "GetDataSourceInput" -_cGDSR = "com.amazonaws.bedrockagent#GetDataSourceRequest" -_GDSO = "GetDataSourceOutput" -_cGDSRo = "com.amazonaws.bedrockagent#GetDataSourceResponse" -_GDS = "GetDataSource" -_LDSI = "ListDataSourcesInput" -_cLDSR = "com.amazonaws.bedrockagent#ListDataSourcesRequest" -_DSSa = "DataSourceSummary" -_DSSat = "DataSourceSummaries" -_LDSO = "ListDataSourcesOutput" -_cLDSRo = "com.amazonaws.bedrockagent#ListDataSourcesResponse" -_dSS = "dataSourceSummaries" -_LDS = "ListDataSources" -_UDSI = "UpdateDataSourceInput" -_cUDSR = "com.amazonaws.bedrockagent#UpdateDataSourceRequest" -_UDSO = "UpdateDataSourceOutput" -_cUDSRo = "com.amazonaws.bedrockagent#UpdateDataSourceResponse" -_UDS = "UpdateDataSource" -_RIe = "RevisionId" -_RAes = "ResourceArn" -_DRPI = "DeleteResourcePolicyInput" -_cDRPR = "com.amazonaws.bedrockagent#DeleteResourcePolicyRequest" -_rAe = "resourceArn" -_eRI = "expectedRevisionId" -_DRPO = "DeleteResourcePolicyOutput" -_cDRPRo = "com.amazonaws.bedrockagent#DeleteResourcePolicyResponse" -_rI = "revisionId" -_DRP = "DeleteResourcePolicy" -_DVCI = "DeleteVpcConfigurationInput" -_cDVCR = "com.amazonaws.bedrockagent#DeleteVpcConfigurationRequest" -_DVCO = "DeleteVpcConfigurationOutput" -_cDVCRo = "com.amazonaws.bedrockagent#DeleteVpcConfigurationResponse" -_DVC = "DeleteVpcConfiguration" -_FCN = "FlowConditionName" -_FCCC = "FlowConditionalConnectionConfiguration" -_co = "condition" -_FNON = "FlowNodeOutputName" -_FNIN = "FlowNodeInputName" -_FDCC = "FlowDataConnectionConfiguration" -_sO = "sourceOutput" -_tIa = "targetInput" -_FCC = "FlowConnectionConfiguration" -_dat = "data" -_con = "conditional" -_FCNl = "FlowConnectionName" -_FNN = "FlowNodeName" -_FCT = "FlowConnectionType" -_DATA = "DATA" -_Da = "Data" -_CONDITIONAL = "CONDITIONAL" -_C = "Conditional" -_FC = "FlowConnection" -_so = "source" -_tar = "target" -_conf = "configuration" -_FCl = "FlowConnections" -_CFNC = "CollectorFlowNodeConfiguration" -_FCE = "FlowConditionExpression" -_FClo = "FlowCondition" -_ex = "expression" -_FClow = "FlowConditions" -_CFNCo = "ConditionFlowNodeConfiguration" -_cond = "conditions" -_ICn = "InlineCode" -_SLu = "SupportedLanguages" -_P_ = "PYTHON_3" -_P__ = "Python_3" -_ICFNC = "InlineCodeFlowNodeConfiguration" -_cod = "code" -_la = "language" -_IFNC = "InputFlowNodeConfiguration" -_IFNCt = "IteratorFlowNodeConfiguration" -_PMIC = "PromptModelInferenceConfiguration" -_PIC = "PromptInferenceConfiguration" -_tex = "text" -_FKBI = "FlowKnowledgeBaseId" -_KBMI = "KnowledgeBaseModelIdentifier" -_PCL = "PerformanceConfigLatency" -_STANDARD = "STANDARD" -_stan = "standard" -_OPTIMIZED = "OPTIMIZED" -_o = "optimized" -_PCe = "PerformanceConfiguration" -_lat = "latency" -_KBTP = "KnowledgeBaseTextPrompt" -_KBPT = "KnowledgeBasePromptTemplate" -_tPT = "textPromptTemplate" -_KBOC = "KnowledgeBaseOrchestrationConfiguration" -_pTro = "promptTemplate" -_iCn = "inferenceConfig" -_pCe = "performanceConfig" -_RMSM = "RerankingMetadataSelectionMode" -_SELECTIVE = "SELECTIVE" -_ALL = "ALL" -_FFR = "FieldForReranking" -_fN = "fieldName" -_FFRi = "FieldsForReranking" -_RMSMC = "RerankingMetadataSelectiveModeConfiguration" -_fTI = "fieldsToInclude" -_fTE = "fieldsToExclude" -_MCFR = "MetadataConfigurationForReranking" -_sM = "selectionMode" -_sMC = "selectiveModeConfiguration" -_BRMA = "BedrockRerankingModelArn" -_VSBRMC = "VectorSearchBedrockRerankingModelConfiguration" -_VSBRC = "VectorSearchBedrockRerankingConfiguration" -_mCo = "modelConfiguration" -_nORR = "numberOfRerankedResults" -_mCe = "metadataConfiguration" -_VSRCT = "VectorSearchRerankingConfigurationType" -_BRM = "BEDROCK_RERANKING_MODEL" -_VSRC = "VectorSearchRerankingConfiguration" -_bRC = "bedrockRerankingConfiguration" -_KBFNC = "KnowledgeBaseFlowNodeConfiguration" -_mI = "modelId" -_nOR = "numberOfResults" -_rCe = "rerankingConfiguration" -_oC = "orchestrationConfiguration" -_FLA = "FlowLambdaArn" -_LFFNC = "LambdaFunctionFlowNodeConfiguration" -_FLBAA = "FlowLexBotAliasArn" -_FLBLI = "FlowLexBotLocaleId" -_LFNC = "LexFlowNodeConfiguration" -_bAA = "botAliasArn" -_lI = "localeId" -_LCFNC = "LoopControllerFlowNodeConfiguration" -_cCon = "continueCondition" -_mIa = "maxIterations" -_LIFNC = "LoopInputFlowNodeConfiguration" -_OFNC = "OutputFlowNodeConfiguration" -_FPMI = "FlowPromptModelIdentifier" -_PIVN = "PromptInputVariableName" -_PIV = "PromptInputVariable" -_PIVL = "PromptInputVariablesList" -_CPT = "CachePointType" -_de = "default" -_CPB = "CachePointBlock" -_CB = "ContentBlock" -_cPa = "cachePoint" -_CBo = "ContentBlocks" -_CR = "ConversationRole" -_us = "user" -_ASSISTANT = "ASSISTANT" -_as = "assistant" -_M = "Message" -_ro = "role" -_cont = "content" -_Me = "Messages" -_NES = "NonEmptyString" -_SCB = "SystemContentBlock" -_SCBy = "SystemContentBlocks" -_ATC = "AnyToolChoice" -_ATCu = "AutoToolChoice" -_TN = "ToolName" -_STC = "SpecificToolChoice" -_TCo = "ToolChoice" -_au = "auto" -_an = "any" -_to = "tool" -_TIS = "ToolInputSchema" -_j = "json" -_TS = "ToolSpecification" -_iSn = "inputSchema" -_str = "strict" -_To = "Tool" -_tS = "toolSpec" -_Too = "Tools" -_TCoo = "ToolConfiguration" -_too = "tools" -_tC = "toolChoice" -_CPTC = "ChatPromptTemplateConfiguration" -_mes = "messages" -_sy = "system" -_iV = "inputVariables" -_tCo = "toolConfiguration" -_TPe = "TextPrompt" -_TPTC = "TextPromptTemplateConfiguration" -_PTC = "PromptTemplateConfiguration" -_ch = "chat" -_PTT = "PromptTemplateType" -_TEXT = "TEXT" -_CHAT = "CHAT" -_PFNIC = "PromptFlowNodeInlineConfiguration" -_tT = "templateType" -_tCe = "templateConfiguration" -_FPA = "FlowPromptArn" -_PFNRC = "PromptFlowNodeResourceConfiguration" -_pAr = "promptArn" -_PFNSC = "PromptFlowNodeSourceConfiguration" -_re = "resource" -_inl = "inline" -_PFNC = "PromptFlowNodeConfiguration" -_FSBN = "FlowS3BucketName" -_RFNSC = "RetrievalFlowNodeS3Configuration" -_bN = "bucketName" -_RFNSCe = "RetrievalFlowNodeServiceConfiguration" -_RFNC = "RetrievalFlowNodeConfiguration" -_sCe = "serviceConfiguration" -_SFNSC = "StorageFlowNodeS3Configuration" -_SFNSCt = "StorageFlowNodeServiceConfiguration" -_SFNC = "StorageFlowNodeConfiguration" -_FNIC = "FlowNodeInputCategory" -_LC = "LOOP_CONDITION" -_LCo = "LoopCondition" -_RVTLS = "RETURN_VALUE_TO_LOOP_START" -_RVTLSe = "ReturnValueToLoopStart" -_EL = "EXIT_LOOP" -_ELx = "ExitLoop" -_FNIE = "FlowNodeInputExpression" -_FNIODT = "FlowNodeIODataType" -_St = "String" -_Nu = "Number" -_B = "Boolean" -_OBJECT = "OBJECT" -_O = "Object" -_Ar = "Array" -_FNI = "FlowNodeInput" -_ca = "category" -_FNIl = "FlowNodeInputs" -_FNO = "FlowNodeOutput" -_FNOl = "FlowNodeOutputs" -_FNT = "FlowNodeType" -_INPUT = "INPUT" -_Inp = "Input" -_OUTPUT = "OUTPUT" -_Ou = "Output" -_KB = "KNOWLEDGE_BASE" -_KBn = "KnowledgeBase" -_CONDITION = "CONDITION" -_Co = "Condition" -_LEX = "LEX" -_L = "Lex" -_PROMPT = "PROMPT" -_Pr = "Prompt" -_LF = "LAMBDA_FUNCTION" -_LFa = "LambdaFunction" -_STORAGE = "STORAGE" -_Sto = "Storage" -_AGENT = "AGENT" -_RETRIEVAL = "RETRIEVAL" -_R = "Retrieval" -_ITERATOR = "ITERATOR" -_It = "Iterator" -_COLLECTOR = "COLLECTOR" -_Col = "Collector" -_IC_ = "INLINE_CODE" -_LOOP = "LOOP" -_Lo = "Loop" -_LI = "LOOP_INPUT" -_LIo = "LoopInput" -_LC_ = "LOOP_CONTROLLER" -_LCoo = "LoopController" -_FDl = "FlowDescription" -_FERA = "FlowExecutionRoleArn" -_FN = "FlowName" -_FA = "FlowArn" -_FI = "FlowId" -_FSl = "FlowStatus" -_Fa = "Failed" -_Pre = "Prepared" -_Prep = "Preparing" -_NPo = "NotPrepared" -_FIl = "FlowIdentifier" -_DFI = "DeleteFlowInput" -_cDFR = "com.amazonaws.bedrockagent#DeleteFlowRequest" -_fI = "flowIdentifier" -_DFO = "DeleteFlowOutput" -_cDFRo = "com.amazonaws.bedrockagent#DeleteFlowResponse" -_id = "id" -_DFe = "DeleteFlow" -_CTo = "ConcurrencyType" -_AUTOMATIC = "AUTOMATIC" -_Au = "Automatic" -_MANUAL = "MANUAL" -_Ma = "Manual" -_FACC = "FlowAliasConcurrencyConfiguration" -_mCa = "maxConcurrency" -_FARCLI = "FlowAliasRoutingConfigurationListItem" -_fV = "flowVersion" -_FARC = "FlowAliasRoutingConfiguration" -_CFAI = "CreateFlowAliasInput" -_cCFAR = "com.amazonaws.bedrockagent#CreateFlowAliasRequest" -_cConc = "concurrencyConfiguration" -_FAA = "FlowAliasArn" -_FAI = "FlowAliasId" -_CFAO = "CreateFlowAliasOutput" -_cCFARo = "com.amazonaws.bedrockagent#CreateFlowAliasResponse" -_fIl = "flowId" -_ar = "arn" -_CFA = "CreateFlowAlias" -_FAIl = "FlowAliasIdentifier" -_DFAI = "DeleteFlowAliasInput" -_cDFAR = "com.amazonaws.bedrockagent#DeleteFlowAliasRequest" -_aIl = "aliasIdentifier" -_DFAO = "DeleteFlowAliasOutput" -_cDFARo = "com.amazonaws.bedrockagent#DeleteFlowAliasResponse" -_DFA = "DeleteFlowAlias" -_GFAI = "GetFlowAliasInput" -_cGFAR = "com.amazonaws.bedrockagent#GetFlowAliasRequest" -_GFAO = "GetFlowAliasOutput" -_cGFARo = "com.amazonaws.bedrockagent#GetFlowAliasResponse" -_GFA = "GetFlowAlias" -_LFAI = "ListFlowAliasesInput" -_cLFAR = "com.amazonaws.bedrockagent#ListFlowAliasesRequest" -_FAS = "FlowAliasSummary" -_FASl = "FlowAliasSummaries" -_LFAO = "ListFlowAliasesOutput" -_cLFARo = "com.amazonaws.bedrockagent#ListFlowAliasesResponse" -_fAS = "flowAliasSummaries" -_LFA = "ListFlowAliases" -_UFAI = "UpdateFlowAliasInput" -_cUFAR = "com.amazonaws.bedrockagent#UpdateFlowAliasRequest" -_UFAO = "UpdateFlowAliasOutput" -_cUFARo = "com.amazonaws.bedrockagent#UpdateFlowAliasResponse" -_UFA = "UpdateFlowAlias" -_CFVI = "CreateFlowVersionInput" -_cCFVR = "com.amazonaws.bedrockagent#CreateFlowVersionRequest" -_DFVI = "DeleteFlowVersionInput" -_cDFVR = "com.amazonaws.bedrockagent#DeleteFlowVersionRequest" -_DFVO = "DeleteFlowVersionOutput" -_cDFVRo = "com.amazonaws.bedrockagent#DeleteFlowVersionResponse" -_DFV = "DeleteFlowVersion" -_ID = "IncludedData" -_AD_ = "ALL_DATA" -_MO = "METADATA_ONLY" -_GFVI = "GetFlowVersionInput" -_cGFVR = "com.amazonaws.bedrockagent#GetFlowVersionRequest" -_iD = "includedData" -_LFVI = "ListFlowVersionsInput" -_cLFVR = "com.amazonaws.bedrockagent#ListFlowVersionsRequest" -_FVS = "FlowVersionSummary" -_FVSl = "FlowVersionSummaries" -_LFVO = "ListFlowVersionsOutput" -_cLFVRo = "com.amazonaws.bedrockagent#ListFlowVersionsResponse" -_fVS = "flowVersionSummaries" -_LFV = "ListFlowVersions" -_GFI = "GetFlowInput" -_cGFR = "com.amazonaws.bedrockagent#GetFlowRequest" -_CCFVD = "CyclicConnectionFlowValidationDetails" -_conn = "connection" -_DCEFVD = "DuplicateConditionExpressionFlowValidationDetails" -_no = "node" -_DCFVD = "DuplicateConnectionsFlowValidationDetails" -_ICDTFVD = "IncompatibleConnectionDataTypeFlowValidationDetails" -_ILBFVD = "InvalidLoopBoundaryFlowValidationDetails" -_ILNT = "IncompatibleLoopNodeType" -_LINTFVD = "LoopIncompatibleNodeTypeFlowValidationDetails" -_iNT = "incompatibleNodeType" -_iNN = "incompatibleNodeName" -_EM = "ErrorMessage" -_MCEFVD = "MalformedConditionExpressionFlowValidationDetails" -_cau = "cause" -_MNIEFVD = "MalformedNodeInputExpressionFlowValidationDetails" -_inp = "input" -_MNITFVD = "MismatchedNodeInputTypeFlowValidationDetails" -_eT = "expectedType" -_MNOTFVD = "MismatchedNodeOutputTypeFlowValidationDetails" -_ou = "output" -_MCCFVD = "MissingConnectionConfigurationFlowValidationDetails" -_MDCFVD = "MissingDefaultConditionFlowValidationDetails" -_MENFVD = "MissingEndingNodesFlowValidationDetails" -_MLCNFVD = "MissingLoopControllerNodeFlowValidationDetails" -_lN = "loopNode" -_MLINFVD = "MissingLoopInputNodeFlowValidationDetails" -_MNCFVD = "MissingNodeConfigurationFlowValidationDetails" -_MNIFVD = "MissingNodeInputFlowValidationDetails" -_MNOFVD = "MissingNodeOutputFlowValidationDetails" -_MSNFVD = "MissingStartingNodesFlowValidationDetails" -_MLCNFVDu = "MultipleLoopControllerNodesFlowValidationDetails" -_MLINFVDu = "MultipleLoopInputNodesFlowValidationDetails" -_MNICFVD = "MultipleNodeInputConnectionsFlowValidationDetails" -_UNIFVD = "UnfulfilledNodeInputFlowValidationDetails" -_UCCFVD = "UnknownConnectionConditionFlowValidationDetails" -_UCSFVD = "UnknownConnectionSourceFlowValidationDetails" -_UCSOFVD = "UnknownConnectionSourceOutputFlowValidationDetails" -_UCTFVD = "UnknownConnectionTargetFlowValidationDetails" -_UCTIFVD = "UnknownConnectionTargetInputFlowValidationDetails" -_UNIFVDn = "UnknownNodeInputFlowValidationDetails" -_UNOFVD = "UnknownNodeOutputFlowValidationDetails" -_UNFVD = "UnreachableNodeFlowValidationDetails" -_UCCFVDn = "UnsatisfiedConnectionConditionsFlowValidationDetails" -_UFVD = "UnspecifiedFlowValidationDetails" -_FVD = "FlowValidationDetails" -_cCy = "cyclicConnection" -_dC = "duplicateConnections" -_dCE = "duplicateConditionExpression" -_uN = "unreachableNode" -_uCS = "unknownConnectionSource" -_uCSO = "unknownConnectionSourceOutput" -_uCT = "unknownConnectionTarget" -_uCTI = "unknownConnectionTargetInput" -_uCC = "unknownConnectionCondition" -_mCE = "malformedConditionExpression" -_mNIE = "malformedNodeInputExpression" -_mNIT = "mismatchedNodeInputType" -_mNOT = "mismatchedNodeOutputType" -_iCDT = "incompatibleConnectionDataType" -_mCC = "missingConnectionConfiguration" -_mDC = "missingDefaultCondition" -_mEN = "missingEndingNodes" -_mNC = "missingNodeConfiguration" -_mNI = "missingNodeInput" -_mNO = "missingNodeOutput" -_mSN = "missingStartingNodes" -_mNIC = "multipleNodeInputConnections" -_uNI = "unfulfilledNodeInput" -_uCCn = "unsatisfiedConnectionConditions" -_un = "unspecified" -_uNIn = "unknownNodeInput" -_uNO = "unknownNodeOutput" -_mLIN = "missingLoopInputNode" -_mLCN = "missingLoopControllerNode" -_mLINu = "multipleLoopInputNodes" -_mLCNu = "multipleLoopControllerNodes" -_lINT = "loopIncompatibleNodeType" -_iLB = "invalidLoopBoundary" -_FVSlo = "FlowValidationSeverity" -_WARNING = "WARNING" -_W = "Warning" -_ERROR = "ERROR" -_E = "Error" -_FVT = "FlowValidationType" -_CC_ = "CYCLIC_CONNECTION" -_CCy = "CyclicConnection" -_DC = "DUPLICATE_CONNECTIONS" -_DCu = "DuplicateConnections" -_DCE = "DUPLICATE_CONDITION_EXPRESSION" -_DCEu = "DuplicateConditionExpression" -_UN = "UNREACHABLE_NODE" -_UNn = "UnreachableNode" -_UCS = "UNKNOWN_CONNECTION_SOURCE" -_UCSn = "UnknownConnectionSource" -_UCSO = "UNKNOWN_CONNECTION_SOURCE_OUTPUT" -_UCSOn = "UnknownConnectionSourceOutput" -_UCT = "UNKNOWN_CONNECTION_TARGET" -_UCTn = "UnknownConnectionTarget" -_UCTI = "UNKNOWN_CONNECTION_TARGET_INPUT" -_UCTIn = "UnknownConnectionTargetInput" -_UCC = "UNKNOWN_CONNECTION_CONDITION" -_UCCn = "UnknownConnectionCondition" -_MCE = "MALFORMED_CONDITION_EXPRESSION" -_MCEa = "MalformedConditionExpression" -_MNIE = "MALFORMED_NODE_INPUT_EXPRESSION" -_MNIEa = "MalformedNodeInputExpression" -_MNIT = "MISMATCHED_NODE_INPUT_TYPE" -_MNITi = "MismatchedNodeInputType" -_MNOT = "MISMATCHED_NODE_OUTPUT_TYPE" -_MNOTi = "MismatchedNodeOutputType" -_ICDT = "INCOMPATIBLE_CONNECTION_DATA_TYPE" -_ICDTn = "IncompatibleConnectionDataType" -_MCC = "MISSING_CONNECTION_CONFIGURATION" -_MCCi = "MissingConnectionConfiguration" -_MDC = "MISSING_DEFAULT_CONDITION" -_MDCi = "MissingDefaultCondition" -_MEN = "MISSING_ENDING_NODES" -_MENi = "MissingEndingNodes" -_MNC = "MISSING_NODE_CONFIGURATION" -_MNCi = "MissingNodeConfiguration" -_MNI = "MISSING_NODE_INPUT" -_MNIi = "MissingNodeInput" -_MNO = "MISSING_NODE_OUTPUT" -_MNOi = "MissingNodeOutput" -_MSN = "MISSING_STARTING_NODES" -_MSNi = "MissingStartingNodes" -_MNIC = "MULTIPLE_NODE_INPUT_CONNECTIONS" -_MNICu = "MultipleNodeInputConnections" -_UNI = "UNFULFILLED_NODE_INPUT" -_UNIn = "UnfulfilledNodeInput" -_UCC_ = "UNSATISFIED_CONNECTION_CONDITIONS" -_UCCns = "UnsatisfiedConnectionConditions" -_UNSPECIFIED = "UNSPECIFIED" -_Un = "Unspecified" -_UNI_ = "UNKNOWN_NODE_INPUT" -_UNInk = "UnknownNodeInput" -_UNO = "UNKNOWN_NODE_OUTPUT" -_UNOn = "UnknownNodeOutput" -_MLIN = "MISSING_LOOP_INPUT_NODE" -_MLINi = "MissingLoopInputNode" -_MLCN = "MISSING_LOOP_CONTROLLER_NODE" -_MLCNi = "MissingLoopControllerNode" -_MLIN_ = "MULTIPLE_LOOP_INPUT_NODES" -_MLINu = "MultipleLoopInputNodes" -_MLCN_ = "MULTIPLE_LOOP_CONTROLLER_NODES" -_MLCNu = "MultipleLoopControllerNodes" -_LINT = "LOOP_INCOMPATIBLE_NODE_TYPE" -_LINTo = "LoopIncompatibleNodeType" -_ILB = "INVALID_LOOP_BOUNDARY" -_ILBn = "InvalidLoopBoundary" -_FV = "FlowValidation" -_sev = "severity" -_det = "details" -_FVl = "FlowValidations" -_LFI = "ListFlowsInput" -_cLFR = "com.amazonaws.bedrockagent#ListFlowsRequest" -_FSlo = "FlowSummary" -_FSlow = "FlowSummaries" -_LFO = "ListFlowsOutput" -_cLFRo = "com.amazonaws.bedrockagent#ListFlowsResponse" -_fSl = "flowSummaries" -_LFi = "ListFlows" -_PFI = "PrepareFlowInput" -_cPFR = "com.amazonaws.bedrockagent#PrepareFlowRequest" -_PFO = "PrepareFlowOutput" -_cPFRo = "com.amazonaws.bedrockagent#PrepareFlowResponse" -_PF = "PrepareFlow" -_GRPI = "GetResourcePolicyInput" -_cGRPR = "com.amazonaws.bedrockagent#GetResourcePolicyRequest" -_RP = "ResourcePolicy" -_sTm = "smithy.api#mediaType" -_ap = "application/json" -_GRPO = "GetResourcePolicyOutput" -_cGRPRo = "com.amazonaws.bedrockagent#GetResourcePolicyResponse" -_pol = "policy" -_GRP = "GetResourcePolicy" -_GVCI = "GetVpcConfigurationInput" -_cGVCR = "com.amazonaws.bedrockagent#GetVpcConfigurationRequest" -_VCSM = "VpcConfigurationStatusMessage" -_VC = "VpcConfiguration" -_sMt = "statusMessage" -_GVCO = "GetVpcConfigurationOutput" -_cGVCRo = "com.amazonaws.bedrockagent#GetVpcConfigurationResponse" -_vC = "vpcConfiguration" -_GVC = "GetVpcConfiguration" -_GIJI = "GetIngestionJobInput" -_cGIJR = "com.amazonaws.bedrockagent#GetIngestionJobRequest" -_iJI = "ingestionJobId" -_IJS = "IngestionJobStatistics" -_nODS = "numberOfDocumentsScanned" -_nOMDS = "numberOfMetadataDocumentsScanned" -_nONDI = "numberOfNewDocumentsIndexed" -_nOMDI = "numberOfModifiedDocumentsIndexed" -_nOMDM = "numberOfMetadataDocumentsModified" -_nODD = "numberOfDocumentsDeleted" -_nODF = "numberOfDocumentsFailed" -_nODSu = "numberOfDocumentsSkipped" -_IJSn = "IngestionJobStatus" -_STARTING = "STARTING" -_IP = "IN_PROGRESS" -_COMPLETE = "COMPLETE" -_STOPPING = "STOPPING" -_STOPPED = "STOPPED" -_IJ = "IngestionJob" -_stat = "statistics" -_sA = "startedAt" -_tRA = "textReadyAt" -_GIJO = "GetIngestionJobOutput" -_cGIJRo = "com.amazonaws.bedrockagent#GetIngestionJobResponse" -_iJ = "ingestionJob" -_GIJ = "GetIngestionJob" -_IJFA = "IngestionJobFilterAttribute" -_STATUS = "STATUS" -_IJFO = "IngestionJobFilterOperator" -_EQ = "EQ" -_IJFV = "IngestionJobFilterValue" -_IJFVn = "IngestionJobFilterValues" -_IJF = "IngestionJobFilter" -_at = "attribute" -_op = "operator" -_va = "values" -_IJFn = "IngestionJobFilters" -_IJSBA = "IngestionJobSortByAttribute" -_SA_ = "STARTED_AT" -_SO = "SortOrder" -_ASCENDING = "ASCENDING" -_DESCENDING = "DESCENDING" -_IJSB = "IngestionJobSortBy" -_or = "order" -_LIJI = "ListIngestionJobsInput" -_cLIJR = "com.amazonaws.bedrockagent#ListIngestionJobsRequest" -_sB = "sortBy" -_IJSng = "IngestionJobSummary" -_IJSnge = "IngestionJobSummaries" -_LIJO = "ListIngestionJobsOutput" -_cLIJRo = "com.amazonaws.bedrockagent#ListIngestionJobsResponse" -_iJS = "ingestionJobSummaries" -_LIJ = "ListIngestionJobs" -_SIJI = "StartIngestionJobInput" -_cSIJR = "com.amazonaws.bedrockagent#StartIngestionJobRequest" -_SIJO = "StartIngestionJobOutput" -_cSIJRo = "com.amazonaws.bedrockagent#StartIngestionJobResponse" -_SIJ = "StartIngestionJob" -_SIJIt = "StopIngestionJobInput" -_cSIJRom = "com.amazonaws.bedrockagent#StopIngestionJobRequest" -_SIJOt = "StopIngestionJobOutput" -_cSIJRoma = "com.amazonaws.bedrockagent#StopIngestionJobResponse" -_SIJt = "StopIngestionJob" -_CDI = "CustomDocumentIdentifier" -_CDST = "ContentDataSourceType" -_DI = "DocumentIdentifier" -_dST = "dataSourceType" -_cu = "custom" -_DIo = "DocumentIdentifiers" -_DKBDI = "DeleteKnowledgeBaseDocumentsInput" -_cDKBDR = "com.amazonaws.bedrockagent#DeleteKnowledgeBaseDocumentsRequest" -_dI = "documentIdentifiers" -_DSo = "DocumentStatus" -_INDEXED = "INDEXED" -_PI = "PARTIALLY_INDEXED" -_PENDING = "PENDING" -_MPI = "METADATA_PARTIALLY_INDEXED" -_MUF = "METADATA_UPDATE_FAILED" -_IGNORED = "IGNORED" -_NF = "NOT_FOUND" -_DIP = "DELETE_IN_PROGRESS" -_KBDD = "KnowledgeBaseDocumentDetail" -_ide = "identifier" -_sR = "statusReason" -_KBDDn = "KnowledgeBaseDocumentDetails" -_DKBDO = "DeleteKnowledgeBaseDocumentsOutput" -_cDKBDRo = "com.amazonaws.bedrockagent#DeleteKnowledgeBaseDocumentsResponse" -_dD = "documentDetails" -_DKBD = "DeleteKnowledgeBaseDocuments" -_GKBDI = "GetKnowledgeBaseDocumentsInput" -_cGKBDR = "com.amazonaws.bedrockagent#GetKnowledgeBaseDocumentsRequest" -_GKBDO = "GetKnowledgeBaseDocumentsOutput" -_cGKBDRo = "com.amazonaws.bedrockagent#GetKnowledgeBaseDocumentsResponse" -_GKBD = "GetKnowledgeBaseDocuments" -_BCB = "ByteContentBlob" -_BCD = "ByteContentDoc" -_mTi = "mimeType" -_TCD = "TextContentDoc" -_ICT = "InlineContentType" -_BYTE = "BYTE" -_ICnl = "InlineContent" -_bC = "byteContent" -_tCex = "textContent" -_SOU = "S3ObjectUri" -_CSL = "CustomS3Location" -_CST = "CustomSourceType" -_IL = "IN_LINE" -_SL_ = "S3_LOCATION" -_CCu = "CustomContent" -_cDI = "customDocumentIdentifier" -_sTo = "sourceType" -_iCnl = "inlineContent" -_SC = "S3Content" -_DCo = "DocumentContent" -_DACE = "DocumentAccessControlEntry" -_ac = "access" -_DACL = "DocumentAccessControlList" -_K = "Key" -_NVu = "NumberValue" -_SV = "StringValue" -_SLV = "StringListValue" -_MVT = "MetadataValueType" -_SL__ = "STRING_LIST" -_MAV = "MetadataAttributeValue" -_nV = "numberValue" -_bV = "booleanValue" -_sVt = "stringValue" -_sLV = "stringListValue" -_MA = "MetadataAttribute" -_MAe = "MetadataAttributes" -_MST = "MetadataSourceType" -_ILA = "IN_LINE_ATTRIBUTE" -_DM = "DocumentMetadata" -_iA = "inlineAttributes" -_aCL = "accessControlList" -_KBD = "KnowledgeBaseDocument" -_meta = "metadata" -_KBDn = "KnowledgeBaseDocuments" -_IKBDI = "IngestKnowledgeBaseDocumentsInput" -_cIKBDR = "com.amazonaws.bedrockagent#IngestKnowledgeBaseDocumentsRequest" -_doc = "documents" -_IKBDO = "IngestKnowledgeBaseDocumentsOutput" -_cIKBDRo = "com.amazonaws.bedrockagent#IngestKnowledgeBaseDocumentsResponse" -_IKBD = "IngestKnowledgeBaseDocuments" -_LKBDI = "ListKnowledgeBaseDocumentsInput" -_cLKBDR = "com.amazonaws.bedrockagent#ListKnowledgeBaseDocumentsRequest" -_LKBDO = "ListKnowledgeBaseDocumentsOutput" -_cLKBDRo = "com.amazonaws.bedrockagent#ListKnowledgeBaseDocumentsResponse" -_LKBD = "ListKnowledgeBaseDocuments" -_AAKBI = "AssociateAgentKnowledgeBaseInput" -_cAAKBR = "com.amazonaws.bedrockagent#AssociateAgentKnowledgeBaseRequest" -_AAKBO = "AssociateAgentKnowledgeBaseOutput" -_cAAKBRo = "com.amazonaws.bedrockagent#AssociateAgentKnowledgeBaseResponse" -_aKB = "agentKnowledgeBase" -_AAKB = "AssociateAgentKnowledgeBase" -_KIA = "KendraIndexArn" -_KKBC = "KendraKnowledgeBaseConfiguration" -_kIA = "kendraIndexArn" -_BEMA = "BedrockEmbeddingModelArn" -_ASC = "AudioSegmentationConfiguration" -_fLD = "fixedLengthDuration" -_ACu = "AudioConfiguration" -_sCeg = "segmentationConfiguration" -_ACud = "AudioConfigurations" -_Di = "Dimensions" -_EDT = "EmbeddingDataType" -_FLOAT = "FLOAT32" -_BINARY = "BINARY" -_VSC = "VideoSegmentationConfiguration" -_VCi = "VideoConfiguration" -_VCid = "VideoConfigurations" -_BEMC = "BedrockEmbeddingModelConfiguration" -_di = "dimensions" -_eDT = "embeddingDataType" -_aud = "audio" -_vi = "video" -_EMC = "EmbeddingModelConfiguration" -_bEMC = "bedrockEmbeddingModelConfiguration" -_EMTm = "EmbeddingModelType" -_MANAGED = "MANAGED" -_SDSLT = "SupplementalDataStorageLocationType" -_SDSL = "SupplementalDataStorageLocation" -_SDSLu = "SupplementalDataStorageLocations" -_SDSCu = "SupplementalDataStorageConfiguration" -_sLt = "storageLocations" -_MKBCa = "ManagedKnowledgeBaseConfiguration" -_eMTm = "embeddingModelType" -_eMA = "embeddingModelArn" -_eMC = "embeddingModelConfiguration" -_sDSC = "supplementalDataStorageConfiguration" -_RPAT = "RedshiftProvisionedAuthType" -_IAM = "IAM" -_UP = "USERNAME_PASSWORD" -_USERNAME = "USERNAME" -_RPAC = "RedshiftProvisionedAuthConfiguration" -_dU = "databaseUser" -_uPSA = "usernamePasswordSecretArn" -_RCI = "RedshiftClusterIdentifier" -_RPC = "RedshiftProvisionedConfiguration" -_cIl = "clusterIdentifier" -_aCu = "authConfiguration" -_RSAT = "RedshiftServerlessAuthType" -_RSAC = "RedshiftServerlessAuthConfiguration" -_WA = "WorkgroupArn" -_RSC = "RedshiftServerlessConfiguration" -_wA = "workgroupArn" -_RQET = "RedshiftQueryEngineType" -_SERVERLESS = "SERVERLESS" -_PROVISIONED = "PROVISIONED" -_RQEC = "RedshiftQueryEngineConfiguration" -_sCer = "serverlessConfiguration" -_pCr = "provisionedConfiguration" -_QETS = "QueryExecutionTimeoutSeconds" -_NLS = "NaturalLanguageString" -_SSq = "SqlString" -_CQ = "CuratedQuery" -_nL = "naturalLanguage" -_sq = "sql" -_CQu = "CuratedQueries" -_DSe = "DescriptionString" -_IE = "IncludeExclude" -_INCLUDE = "INCLUDE" -_EXCLUDE = "EXCLUDE" -_QGCN = "QueryGenerationColumnName" -_QGC = "QueryGenerationColumn" -_inc = "inclusion" -_QGCu = "QueryGenerationColumns" -_QGTN = "QueryGenerationTableName" -_QGT = "QueryGenerationTable" -_col = "columns" -_QGTu = "QueryGenerationTables" -_QGCue = "QueryGenerationContext" -_tab = "tables" -_cQ = "curatedQueries" -_QGCuer = "QueryGenerationConfiguration" -_eTS = "executionTimeoutSeconds" -_gCe = "generationContext" -_ADCTN = "AwsDataCatalogTableName" -_ADCTNw = "AwsDataCatalogTableNames" -_RQEADCSC = "RedshiftQueryEngineAwsDataCatalogStorageConfiguration" -_tN = "tableNames" -_RD = "RedshiftDatabase" -_RQERSC = "RedshiftQueryEngineRedshiftStorageConfiguration" -_dNa = "databaseName" -_RQEST = "RedshiftQueryEngineStorageType" -_REDSHIFT = "REDSHIFT" -_ADC = "AWS_DATA_CATALOG" -_RQESC = "RedshiftQueryEngineStorageConfiguration" -_aDCC = "awsDataCatalogConfiguration" -_rCed = "redshiftConfiguration" -_RQESCe = "RedshiftQueryEngineStorageConfigurations" -_RCed = "RedshiftConfiguration" -_sCt = "storageConfigurations" -_qEC = "queryEngineConfiguration" -_qGC = "queryGenerationConfiguration" -_QET = "QueryEngineType" -_SKBC = "SqlKnowledgeBaseConfiguration" -_KBT = "KnowledgeBaseType" -_VECTOR = "VECTOR" -_KENDRA = "KENDRA" -_SQL = "SQL" -_VKBC = "VectorKnowledgeBaseConfiguration" -_KBC = "KnowledgeBaseConfiguration" -_vKBC = "vectorKnowledgeBaseConfiguration" -_mKBC = "managedKnowledgeBaseConfiguration" -_kKBC = "kendraKnowledgeBaseConfiguration" -_sKBC = "sqlKnowledgeBaseConfiguration" -_KBRA = "KnowledgeBaseRoleArn" -_MDACN = "MongoDbAtlasCollectionName" -_MDADN = "MongoDbAtlasDatabaseName" -_MDAE = "MongoDbAtlasEndpoint" -_MDAESN = "MongoDbAtlasEndpointServiceName" -_FNi = "FieldName" -_MDAFM = "MongoDbAtlasFieldMapping" -_vF = "vectorField" -_tFe = "textField" -_mF = "metadataField" -_MDAIN = "MongoDbAtlasIndexName" -_MDAC = "MongoDbAtlasConfiguration" -_en = "endpoint" -_cNo = "collectionName" -_vIN = "vectorIndexName" -_fMi = "fieldMapping" -_eSN = "endpointServiceName" -_tIN = "textIndexName" -_NAFM = "NeptuneAnalyticsFieldMapping" -_GAr = "GraphArn" -_NAC = "NeptuneAnalyticsConfiguration" -_gA = "graphArn" -_OSMCDA = "OpenSearchManagedClusterDomainArn" -_OSMCDE = "OpenSearchManagedClusterDomainEndpoint" -_OSMCFM = "OpenSearchManagedClusterFieldMapping" -_OSMCIN = "OpenSearchManagedClusterIndexName" -_OSMCC = "OpenSearchManagedClusterConfiguration" -_dE = "domainEndpoint" -_dA = "domainArn" -_OSSCA = "OpenSearchServerlessCollectionArn" -_OSSFM = "OpenSearchServerlessFieldMapping" -_OSSIN = "OpenSearchServerlessIndexName" -_OSSC = "OpenSearchServerlessConfiguration" -_cAo = "collectionArn" -_PCS = "PineconeConnectionString" -_PFM = "PineconeFieldMapping" -_PN = "PineconeNamespace" -_PCi = "PineconeConfiguration" -_cSo = "connectionString" -_nam = "namespace" -_RDN = "RdsDatabaseName" -_CN = "ColumnName" -_RFM = "RdsFieldMapping" -_pKF = "primaryKeyField" -_cMF = "customMetadataField" -_RAd = "RdsArn" -_RTN = "RdsTableName" -_RCd = "RdsConfiguration" -_tNa = "tableName" -_RECE = "RedisEnterpriseCloudEndpoint" -_RECFM = "RedisEnterpriseCloudFieldMapping" -_RECIN = "RedisEnterpriseCloudIndexName" -_RECC = "RedisEnterpriseCloudConfiguration" -_IA = "IndexArn" -_IN = "IndexName" -_VBA = "VectorBucketArn" -_SVC = "S3VectorsConfiguration" -_vBA = "vectorBucketArn" -_iAn = "indexArn" -_iN = "indexName" -_KBST = "KnowledgeBaseStorageType" -_OS = "OPENSEARCH_SERVERLESS" -_PINECONE = "PINECONE" -_REC = "REDIS_ENTERPRISE_CLOUD" -_RDS = "RDS" -_MDA = "MONGO_DB_ATLAS" -_NA = "NEPTUNE_ANALYTICS" -_OMC = "OPENSEARCH_MANAGED_CLUSTER" -_SV_ = "S3_VECTORS" -_SCt = "StorageConfiguration" -_oSC = "opensearchServerlessConfiguration" -_oMCC = "opensearchManagedClusterConfiguration" -_pCi = "pineconeConfiguration" -_rECC = "redisEnterpriseCloudConfiguration" -_rCd = "rdsConfiguration" -_mDAC = "mongoDbAtlasConfiguration" -_nAC = "neptuneAnalyticsConfiguration" -_sVC = "s3VectorsConfiguration" -_CKBI = "CreateKnowledgeBaseInput" -_cCKBR = "com.amazonaws.bedrockagent#CreateKnowledgeBaseRequest" -_rAo = "roleArn" -_kBC = "knowledgeBaseConfiguration" -_sCto = "storageConfiguration" -_KBA = "KnowledgeBaseArn" -_MKN = "MetadataKeyName" -_SSe = "SearchableStatus" -_FT = "FieldType" -_MCe = "MetadataConfiguration" -_sea = "searchability" -_MCet = "MetadataConfigurations" -_KBSn = "KnowledgeBaseStatus" -_ACTIVE = "ACTIVE" -_UU = "UPDATE_UNSUCCESSFUL" -_kBA = "knowledgeBaseArn" -_mCet = "metadataConfigurations" -_CKBO = "CreateKnowledgeBaseOutput" -_cCKBRo = "com.amazonaws.bedrockagent#CreateKnowledgeBaseResponse" -_kB = "knowledgeBase" -_CKB = "CreateKnowledgeBase" -_DKBI = "DeleteKnowledgeBaseInput" -_cDKBR = "com.amazonaws.bedrockagent#DeleteKnowledgeBaseRequest" -_DKBO = "DeleteKnowledgeBaseOutput" -_cDKBRo = "com.amazonaws.bedrockagent#DeleteKnowledgeBaseResponse" -_DKB = "DeleteKnowledgeBase" -_DAKBI = "DisassociateAgentKnowledgeBaseInput" -_cDAKBR = "com.amazonaws.bedrockagent#DisassociateAgentKnowledgeBaseRequest" -_DAKBO = "DisassociateAgentKnowledgeBaseOutput" -_cDAKBRo = "com.amazonaws.bedrockagent#DisassociateAgentKnowledgeBaseResponse" -_DAKB = "DisassociateAgentKnowledgeBase" -_GAKBI = "GetAgentKnowledgeBaseInput" -_cGAKBR = "com.amazonaws.bedrockagent#GetAgentKnowledgeBaseRequest" -_GAKBO = "GetAgentKnowledgeBaseOutput" -_cGAKBRo = "com.amazonaws.bedrockagent#GetAgentKnowledgeBaseResponse" -_GAKB = "GetAgentKnowledgeBase" -_GKBI = "GetKnowledgeBaseInput" -_cGKBR = "com.amazonaws.bedrockagent#GetKnowledgeBaseRequest" -_GKBO = "GetKnowledgeBaseOutput" -_cGKBRo = "com.amazonaws.bedrockagent#GetKnowledgeBaseResponse" -_GKB = "GetKnowledgeBase" -_LAKBI = "ListAgentKnowledgeBasesInput" -_cLAKBR = "com.amazonaws.bedrockagent#ListAgentKnowledgeBasesRequest" -_LAKBO = "ListAgentKnowledgeBasesOutput" -_cLAKBRo = "com.amazonaws.bedrockagent#ListAgentKnowledgeBasesResponse" -_aKBS = "agentKnowledgeBaseSummaries" -_LAKB = "ListAgentKnowledgeBases" -_LKBI = "ListKnowledgeBasesInput" -_cLKBR = "com.amazonaws.bedrockagent#ListKnowledgeBasesRequest" -_KBSno = "KnowledgeBaseSummary" -_KBSnow = "KnowledgeBaseSummaries" -_LKBO = "ListKnowledgeBasesOutput" -_cLKBRo = "com.amazonaws.bedrockagent#ListKnowledgeBasesResponse" -_kBSn = "knowledgeBaseSummaries" -_LKB = "ListKnowledgeBases" -_UAKBI = "UpdateAgentKnowledgeBaseInput" -_cUAKBR = "com.amazonaws.bedrockagent#UpdateAgentKnowledgeBaseRequest" -_UAKBO = "UpdateAgentKnowledgeBaseOutput" -_cUAKBRo = "com.amazonaws.bedrockagent#UpdateAgentKnowledgeBaseResponse" -_UAKB = "UpdateAgentKnowledgeBase" -_UKBI = "UpdateKnowledgeBaseInput" -_cUKBR = "com.amazonaws.bedrockagent#UpdateKnowledgeBaseRequest" -_UKBO = "UpdateKnowledgeBaseOutput" -_cUKBRo = "com.amazonaws.bedrockagent#UpdateKnowledgeBaseResponse" -_UKB = "UpdateKnowledgeBase" -_LVCI = "ListVpcConfigurationsInput" -_cLVCR = "com.amazonaws.bedrockagent#ListVpcConfigurationsRequest" -_sFt = "statusFilter" -_VCSp = "VpcConfigurationSummary" -_VCSL = "VpcConfigurationSummaryList" -_LVCO = "ListVpcConfigurationsOutput" -_cLVCRo = "com.amazonaws.bedrockagent#ListVpcConfigurationsResponse" -_it = "items" -_LVC = "ListVpcConfigurations" -_PVN = "PromptVariantName" -_PDr = "PromptDescription" -_PNr = "PromptName" -_PAR = "PromptAgentResource" -_aIg = "agentIdentifier" -_PGAR = "PromptGenAiResource" -_PMK = "PromptMetadataKey" -_PMV = "PromptMetadataValue" -_PME = "PromptMetadataEntry" -_PML = "PromptMetadataList" -_PMIr = "PromptModelIdentifier" -_PV = "PromptVariant" -_gAR = "genAiResource" -_PVL = "PromptVariantList" -_CPI = "CreatePromptInput" -_cCPR = "com.amazonaws.bedrockagent#CreatePromptRequest" -_dV = "defaultVariant" -_var = "variants" -_PAr = "PromptArn" -_PIr = "PromptId" -_CPO = "CreatePromptOutput" -_cCPRo = "com.amazonaws.bedrockagent#CreatePromptResponse" -_CP = "CreatePrompt" -_PIro = "PromptIdentifier" -_CPVI = "CreatePromptVersionInput" -_cCPVR = "com.amazonaws.bedrockagent#CreatePromptVersionRequest" -_pI = "promptIdentifier" -_CPVO = "CreatePromptVersionOutput" -_cCPVRo = "com.amazonaws.bedrockagent#CreatePromptVersionResponse" -_CPV = "CreatePromptVersion" -_DPI = "DeletePromptInput" -_cDPR = "com.amazonaws.bedrockagent#DeletePromptRequest" -_pV = "promptVersion" -_DPO = "DeletePromptOutput" -_cDPRo = "com.amazonaws.bedrockagent#DeletePromptResponse" -_DP = "DeletePrompt" -_GPI = "GetPromptInput" -_cGPR = "com.amazonaws.bedrockagent#GetPromptRequest" -_GPO = "GetPromptOutput" -_cGPRo = "com.amazonaws.bedrockagent#GetPromptResponse" -_GP = "GetPrompt" -_LPI = "ListPromptsInput" -_cLPR = "com.amazonaws.bedrockagent#ListPromptsRequest" -_PSr = "PromptSummary" -_PSro = "PromptSummaries" -_LPO = "ListPromptsOutput" -_cLPRo = "com.amazonaws.bedrockagent#ListPromptsResponse" -_pSr = "promptSummaries" -_LP = "ListPrompts" -_UPI = "UpdatePromptInput" -_cUPR = "com.amazonaws.bedrockagent#UpdatePromptRequest" -_UPO = "UpdatePromptOutput" -_cUPRo = "com.amazonaws.bedrockagent#UpdatePromptResponse" -_UPp = "UpdatePrompt" -_PRPI = "PutResourcePolicyInput" -_cPRPR = "com.amazonaws.bedrockagent#PutResourcePolicyRequest" -_PRPO = "PutResourcePolicyOutput" -_cPRPRo = "com.amazonaws.bedrockagent#PutResourcePolicyResponse" -_PRP = "PutResourcePolicy" -_RID = "RetrievalInstructionDescription" -_RIFT = "RetrievalInstructionFieldText" -_RIC = "RetrievalInstructionContent" -_rG = "retrievalGuidance" -_pe = "persona" -_aF = "answerFormat" -_aP = "answerPolicy" -_RIN = "RetrievalInstructionName" -_CRII = "CreateRetrievalInstructionInput" -_cCRIR = "com.amazonaws.bedrockagent#CreateRetrievalInstructionRequest" -_RILTS = "RetrievalInstructionLastTransitionStatus" -_CS_ = "CREATE_SUCCESSFUL" -_US = "UPDATE_SUCCESSFUL" -_UF = "UPDATE_FAILED" -_RIA = "RetrievalInstructionArn" -_RII = "RetrievalInstructionId" -_RIS = "RetrievalInstructionStatus" -_INACTIVE = "INACTIVE" -_CRIO = "CreateRetrievalInstructionOutput" -_cCRIRo = "com.amazonaws.bedrockagent#CreateRetrievalInstructionResponse" -_rII = "retrievalInstructionId" -_rIA = "retrievalInstructionArn" -_lTS = "lastTransitionStatus" -_CRI = "CreateRetrievalInstruction" -_CRIVI = "CreateRetrievalInstructionVersionInput" -_cCRIVR = "com.amazonaws.bedrockagent#CreateRetrievalInstructionVersionRequest" -_RINV = "RetrievalInstructionNumericalVersion" -_CRIVO = "CreateRetrievalInstructionVersionOutput" -_cCRIVRo = "com.amazonaws.bedrockagent#CreateRetrievalInstructionVersionResponse" -_CRIV = "CreateRetrievalInstructionVersion" -_DRII = "DeleteRetrievalInstructionInput" -_cDRIR = "com.amazonaws.bedrockagent#DeleteRetrievalInstructionRequest" -_rIV = "retrievalInstructionVersion" -_DRIO = "DeleteRetrievalInstructionOutput" -_cDRIRo = "com.amazonaws.bedrockagent#DeleteRetrievalInstructionResponse" -_DRI = "DeleteRetrievalInstruction" -_RIVS = "RetrievalInstructionVersionSelector" -_GRII = "GetRetrievalInstructionInput" -_cGRIR = "com.amazonaws.bedrockagent#GetRetrievalInstructionRequest" -_RIFRC = "RetrievalInstructionFailureReasonCode" -_CR_ = "CONTENT_REJECTED" -_CE_ = "CLIENT_ERROR" -_IE_ = "INTERNAL_ERROR" -_RIFN = "RetrievalInstructionFieldName" -_RG = "RETRIEVAL_GUIDANCE" -_PERSONA = "PERSONA" -_AF = "ANSWER_FORMAT" -_AP = "ANSWER_POLICY" -_RIFR = "RetrievalInstructionFailureReason" -_RIFRe = "RetrievalInstructionFailureReasons" -_GRIO = "GetRetrievalInstructionOutput" -_cGRIRo = "com.amazonaws.bedrockagent#GetRetrievalInstructionResponse" -_lTSR = "lastTransitionStatusReasons" -_lV = "latestVersion" -_GRI = "GetRetrievalInstruction" -_RIMR = "RetrievalInstructionMaxResults" -_LRII = "ListRetrievalInstructionsInput" -_cLRIR = "com.amazonaws.bedrockagent#ListRetrievalInstructionsRequest" -_RISe = "RetrievalInstructionSummary" -_RISet = "RetrievalInstructionSummaries" -_LRIO = "ListRetrievalInstructionsOutput" -_cLRIRo = "com.amazonaws.bedrockagent#ListRetrievalInstructionsResponse" -_rIS = "retrievalInstructionSummaries" -_LRI = "ListRetrievalInstructions" -_LRIVI = "ListRetrievalInstructionVersionsInput" -_cLRIVR = "com.amazonaws.bedrockagent#ListRetrievalInstructionVersionsRequest" -_RIVSe = "RetrievalInstructionVersionSummary" -_RIVSet = "RetrievalInstructionVersionSummaries" -_LRIVO = "ListRetrievalInstructionVersionsOutput" -_cLRIVRo = "com.amazonaws.bedrockagent#ListRetrievalInstructionVersionsResponse" -_rIVS = "retrievalInstructionVersionSummaries" -_LRIV = "ListRetrievalInstructionVersions" -_URII = "UpdateRetrievalInstructionInput" -_cURIR = "com.amazonaws.bedrockagent#UpdateRetrievalInstructionRequest" -_URIO = "UpdateRetrievalInstructionOutput" -_cURIRo = "com.amazonaws.bedrockagent#UpdateRetrievalInstructionResponse" -_URI = "UpdateRetrievalInstruction" -_TRA = "TaggableResourcesArn" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.bedrockagent#ListTagsForResourceRequest" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.bedrockagent#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.bedrockagent#TagResourceRequest" -_TRO = "TagResourceOutput" -_cTRRo = "com.amazonaws.bedrockagent#TagResourceResponse" -_TR = "TagResource" -_TKL = "TagKeyList" -_URIn = "UntagResourceInput" -_cURR = "com.amazonaws.bedrockagent#UntagResourceRequest" -_tKa = "tagKeys" -_URO = "UntagResourceOutput" -_cURRo = "com.amazonaws.bedrockagent#UntagResourceResponse" -_UR = "UntagResource" -_VFDO = "ValidateFlowDefinitionOutput" -_cVFDR = "com.amazonaws.bedrockagent#ValidateFlowDefinitionResponse" -_val = "validations" -_DAVI = "DeleteAgentVersionInput" -_cDAVR = "com.amazonaws.bedrockagent#DeleteAgentVersionRequest" -_DAVO = "DeleteAgentVersionOutput" -_cDAVRo = "com.amazonaws.bedrockagent#DeleteAgentVersionResponse" -_DAV = "DeleteAgentVersion" -_GAVI = "GetAgentVersionInput" -_cGAVR = "com.amazonaws.bedrockagent#GetAgentVersionRequest" -_GAVO = "GetAgentVersionOutput" -_cGAVRo = "com.amazonaws.bedrockagent#GetAgentVersionResponse" -_GAV = "GetAgentVersion" -_LAVI = "ListAgentVersionsInput" -_cLAVR = "com.amazonaws.bedrockagent#ListAgentVersionsRequest" -_LAVO = "ListAgentVersionsOutput" -_cLAVRo = "com.amazonaws.bedrockagent#ListAgentVersionsResponse" -_aVS = "agentVersionSummaries" -_LAV = "ListAgentVersions" -_FDlo = "FlowDefinition" -_nod = "nodes" -_conne = "connections" -_FNl = "FlowNode" -_inpu = "inputs" -_out = "outputs" -_FNC = "FlowNodeConfiguration" -_le = "lex" -_pro = "prompt" -_lF = "lambdaFunction" -_sto = "storage" -_ret = "retrieval" -_ite = "iterator" -_coll = "collector" -_iCnli = "inlineCode" -_lo = "loop" -_lIo = "loopInput" -_lCo = "loopController" -_FNlo = "FlowNodes" -_LFNCo = "LoopFlowNodeConfiguration" -_def = "definition" -_CFI = "CreateFlowInput" -_cCFR = "com.amazonaws.bedrockagent#CreateFlowRequest" -_eRA = "executionRoleArn" -_CFO = "CreateFlowOutput" -_cCFRo = "com.amazonaws.bedrockagent#CreateFlowResponse" -_CFVO = "CreateFlowVersionOutput" -_cCFVRo = "com.amazonaws.bedrockagent#CreateFlowVersionResponse" -_GFO = "GetFlowOutput" -_cGFRo = "com.amazonaws.bedrockagent#GetFlowResponse" -_GFVO = "GetFlowVersionOutput" -_cGFVRo = "com.amazonaws.bedrockagent#GetFlowVersionResponse" -_UFI = "UpdateFlowInput" -_cUFR = "com.amazonaws.bedrockagent#UpdateFlowRequest" -_UFO = "UpdateFlowOutput" -_cUFRo = "com.amazonaws.bedrockagent#UpdateFlowResponse" -_VFDI = "ValidateFlowDefinitionInput" -_cVFDRo = "com.amazonaws.bedrockagent#ValidateFlowDefinitionRequest" -_CFV = "CreateFlowVersion" -_GF = "GetFlow" -_GFV = "GetFlowVersion" -_VFD = "ValidateFlowDefinition" -_CFr = "CreateFlow" -_UFp = "UpdateFlow" -_ABABTL = "AmazonBedrockAgentBuildTimeLambda" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" -_smithyap = "smithy.api#cors" - -ACCESS_CONTROL_ACCESS: StaticSchema = ( - 14, - n0, - _ACA, - 0, - (_ALLOW, _DENY), - ((-1, {_sV: _ALLOW}), (-1, {_sV: _DENY})), -) - -ACCESS_CONTROL_PRINCIPAL_TYPE: StaticSchema = ( - 14, - n0, - _ACPT, - 0, - (_USER,), - ((-1, {_sV: _USER}),), -) - -NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c, _sE: 403}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -CUSTOM_CONTROL_METHOD: StaticSchema = (14, n0, _CCM, 0, (_RC,), ((-1, {_sV: _RC}),)) - -LAMBDA_ARN: StaticSchema = (3, n0, _LA, 0) - -ACTION_GROUP_EXECUTOR: StaticSchema = ( - 19, - n0, - _AGE, - 0, - (_l, _cC), - ((LAMBDA_ARN, 0), (CUSTOM_CONTROL_METHOD, 0)), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - {_s: _c, _sE: 409}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -NAME: StaticSchema = (3, n0, _N, 0) - -ACTION_GROUP_STATE: StaticSchema = ( - 14, - n0, - _AGS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -ID: StaticSchema = (3, n0, _I, 0) - -DRAFT_VERSION: StaticSchema = (3, n0, _DV, 0) - -PAYLOAD: StaticSchema = (3, n0, _P, 4) - -S3_BUCKET_NAME: StaticSchema = (3, n0, _SBN, 0) - -S3_OBJECT_KEY: StaticSchema = (3, n0, _SOK, 0) - -S3_IDENTIFIER: StaticSchema = ( - 18, - n0, - _SI, - 0, - (_sBN, _sOK), - ((S3_BUCKET_NAME, 0), (S3_OBJECT_KEY, 0)), -) - -API_SCHEMA: StaticSchema = ( - 19, - n0, - _APIS, - 0, - (_s_, _p), - ((S3_IDENTIFIER, 0), (PAYLOAD, 0)), -) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) - -DESCRIPTION: StaticSchema = (3, n0, _D, 0) - -FUNCTION_DESCRIPTION: StaticSchema = (3, n0, _FD, 0) - -PARAMETER_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) - -TYPE: StaticSchema = ( - 14, - n0, - _T, - 0, - (_STRING, _NUMBER, _INTEGER, _BOOLEAN, _ARRAY), - ( - (-1, {_sV: _st}), - (-1, {_sV: _n}), - (-1, {_sV: _i}), - (-1, {_sV: _b}), - (-1, {_sV: _a}), - ), -) - -PARAMETER_DETAIL: StaticSchema = ( - 18, - n0, - _PDa, - 0, - (_d, _t, _r), - ((PARAMETER_DESCRIPTION, 0), (TYPE, 1), (2, 0)), -) - -PARAMETER_MAP: StaticSchema = ( - 17, - n0, - _PM, - 0, - (_k, _v), - ((NAME, 0), (PARAMETER_DETAIL, 0)), -) - -REQUIRE_CONFIRMATION: StaticSchema = ( - 14, - n0, - _RCe, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -FUNCTION: StaticSchema = ( - 18, - n0, - _F, - 0, - (_na, _d, _pa, _rC), - ( - (NAME, 1), - (FUNCTION_DESCRIPTION, 0), - (PARAMETER_MAP, 0), - (REQUIRE_CONFIRMATION, 0), - ), -) - -FUNCTIONS: StaticSchema = (16, n0, _Fu, 0, (_me,), ((FUNCTION, 0),)) - -FUNCTION_SCHEMA: StaticSchema = (19, n0, _FS, 0, (_f,), ((FUNCTIONS, 0),)) - -ACTION_GROUP_SIGNATURE: StaticSchema = ( - 14, - n0, - _AGSc, - 0, - (_AU, _AC, _AC_, _AB, _AT), - ( - (-1, {_sV: _AMAZONUI}), - (-1, {_sV: _AMAZONCI}), - (-1, {_sV: _ANTHROPICC}), - (-1, {_sV: _ANTHROPICB}), - (-1, {_sV: _ANTHROPICTE}), - ), -) - -ACTION_GROUP_SIGNATURE_PARAMS: StaticSchema = ( - 17, - n0, - _AGSP, - 0, - (_k, _v), - ((3, 0), (3, 0)), -) - -CREATE_AGENT_ACTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CAAGI, - {_sSI: _cCAAGR, _smit: None}, - (_aI, _aV, _aGN, _cT, _d, _pAGS, _pAGSP, _aGE, _aS, _aGS, _fS), - ( - (ID, 9), - (DRAFT_VERSION, 9), - (NAME, 1), - (CLIENT_TOKEN, 2), - (DESCRIPTION, 0), - (ACTION_GROUP_SIGNATURE, 0), - (ACTION_GROUP_SIGNATURE_PARAMS, 0), - (ACTION_GROUP_EXECUTOR, 0), - (API_SCHEMA, 0), - (ACTION_GROUP_STATE, 0), - (FUNCTION_SCHEMA, 0), - ), -) - -VERSION: StaticSchema = (3, n0, _V, 0) - -DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) - -AGENT_ACTION_GROUP: StaticSchema = ( - 18, - n0, - _AAG, - 0, - (_aI, _aV, _aGI, _aGN, _cT, _d, _cA, _uA, _pAS, _pAGSP, _aGE, _aS, _fS, _aGS), - ( - (ID, 1), - (VERSION, 1), - (ID, 1), - (NAME, 1), - (CLIENT_TOKEN, 0), - (DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (ACTION_GROUP_SIGNATURE, 0), - (ACTION_GROUP_SIGNATURE_PARAMS, 0), - (ACTION_GROUP_EXECUTOR, 0), - (API_SCHEMA, 0), - (FUNCTION_SCHEMA, 0), - (ACTION_GROUP_STATE, 1), - ), -) - -CREATE_AGENT_ACTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CAAGO, - {_sSI: _cCAAGRo, _smith: None}, - (_aAG,), - ((AGENT_ACTION_GROUP, 1),), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_s: _se, _sE: 500}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c, _sE: 404}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_s: _c, _sE: 402}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - {_s: _c, _sE: 429}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -VALIDATION_EXCEPTION_FIELD: StaticSchema = ( - 18, - n0, - _VEF, - 0, - (_na, _m), - ((NON_BLANK_STRING, 1), (NON_BLANK_STRING, 1)), -) - -VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( - 16, - n0, - _VEFL, - 0, - (_me,), - ((VALIDATION_EXCEPTION_FIELD, 0),), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_s: _c, _sE: 400}, - (_m, _fL), - ((NON_BLANK_STRING, 0), (VALIDATION_EXCEPTION_FIELD_LIST, 0)), -) - -CREATE_AGENT_ACTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _CAAG, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/", - } - ) - }, - CREATE_AGENT_ACTION_GROUP_INPUT, - CREATE_AGENT_ACTION_GROUP_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_AGENT_ACTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DAAGI, - {_sSI: _cDAAGR, _smit: None}, - (_aI, _aV, _aGI, _sRIUC), - ((ID, 9), (DRAFT_VERSION, 9), (ID, 9), (2, {_smithya: False, _sQ: _sRIUC})), -) - -DELETE_AGENT_ACTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DAAGO, - {_sSI: _cDAAGRo, _smith: None}, -) - -DELETE_AGENT_ACTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _DAAG, - { - _smithy: MappingProxyType( - { - "code": 204, - "method": "DELETE", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", - } - ) - }, - DELETE_AGENT_ACTION_GROUP_INPUT, - DELETE_AGENT_ACTION_GROUP_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AGENT_ACTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _GAAGI, - {_sSI: _cGAAGR, _smit: None}, - (_aI, _aV, _aGI), - ((ID, 9), (VERSION, 9), (ID, 9)), -) - -GET_AGENT_ACTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _GAAGO, - {_sSI: _cGAAGRo, _smith: None}, - (_aAG,), - ((AGENT_ACTION_GROUP, 1),), -) - -GET_AGENT_ACTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _GAAG, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", - } - ) - }, - GET_AGENT_ACTION_GROUP_INPUT, - GET_AGENT_ACTION_GROUP_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -LIST_AGENT_ACTION_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _LAAGI, - {_sSI: _cLAAGR, _smit: None}, - (_aI, _aV, _mR, _nT), - ((ID, 9), (VERSION, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -ACTION_GROUP_SUMMARY: StaticSchema = ( - 18, - n0, - _AGSct, - 0, - (_aGI, _aGN, _aGS, _d, _uA), - ( - (ID, 1), - (NAME, 1), - (ACTION_GROUP_STATE, 1), - (DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - ), -) - -ACTION_GROUP_SUMMARIES: StaticSchema = ( - 16, - n0, - _AGScti, - 0, - (_me,), - ((ACTION_GROUP_SUMMARY, 0),), -) - -LIST_AGENT_ACTION_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAAGO, - {_sSI: _cLAAGRo, _smith: None}, - (_aGSc, _nT), - ((ACTION_GROUP_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_ACTION_GROUPS: StaticOperationSchema = ( - 23, - n0, - _LAAG, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/", - } - ) - }, - LIST_AGENT_ACTION_GROUPS_INPUT, - LIST_AGENT_ACTION_GROUPS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AGENT_ACTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _UAAGI, - {_sSI: _cUAAGR, _smit: None}, - (_aI, _aV, _aGI, _aGN, _d, _pAGS, _pAGSP, _aGE, _aGS, _aS, _fS), - ( - (ID, 9), - (DRAFT_VERSION, 9), - (ID, 9), - (NAME, 1), - (DESCRIPTION, 0), - (ACTION_GROUP_SIGNATURE, 0), - (ACTION_GROUP_SIGNATURE_PARAMS, 0), - (ACTION_GROUP_EXECUTOR, 0), - (ACTION_GROUP_STATE, 0), - (API_SCHEMA, 0), - (FUNCTION_SCHEMA, 0), - ), -) - -UPDATE_AGENT_ACTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _UAAGO, - {_sSI: _cUAAGRo, _smith: None}, - (_aAG,), - ((AGENT_ACTION_GROUP, 1),), -) - -UPDATE_AGENT_ACTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _UAAG, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", - } - ) - }, - UPDATE_AGENT_ACTION_GROUP_INPUT, - UPDATE_AGENT_ACTION_GROUP_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ADDITIONAL_MODEL_REQUEST_FIELDS_KEY: StaticSchema = (3, n0, _AMRFK, 0) - -ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE: StaticSchema = (13, n0, _AMRFV, 0) - -ADDITIONAL_MODEL_REQUEST_FIELDS: StaticSchema = ( - 17, - n0, - _AMRF, - 0, - (_k, _v), - ( - (ADDITIONAL_MODEL_REQUEST_FIELDS_KEY, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE, 0), - ), -) - -AGENT_ARN: StaticSchema = (3, n0, _AA, 0) - -AGENT_COLLABORATION: StaticSchema = ( - 14, - n0, - _ACg, - 0, - (_SUPERVISOR, _SR, _DISABLED), - ((-1, {_sV: _SUPERVISOR}), (-1, {_sV: _SR}), (-1, {_sV: _DISABLED})), -) - -AGENT_ROLE_ARN: StaticSchema = (3, n0, _ARA, 0) - -AGENT_STATUS: StaticSchema = ( - 14, - n0, - _AS, - 0, - (_CREATING, _PREPARING, _PREPARED, _NP, _DELETING, _FAILED, _VERSIONING, _UPDATING), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _PREPARING}), - (-1, {_sV: _PREPARED}), - (-1, {_sV: _NP}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _VERSIONING}), - (-1, {_sV: _UPDATING}), - ), -) - -KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) - -ORCHESTRATION_EXECUTOR: StaticSchema = (19, n0, _OE, 0, (_l,), ((LAMBDA_ARN, 0),)) - -CUSTOM_ORCHESTRATION: StaticSchema = ( - 18, - n0, - _CO, - 0, - (_e,), - ((ORCHESTRATION_EXECUTOR, 0),), -) - -FAILURE_REASON: StaticSchema = (3, n0, _FR, 0) - -FAILURE_REASONS: StaticSchema = (16, n0, _FRa, 0, (_me,), ((FAILURE_REASON, 0),)) - -MODEL_IDENTIFIER: StaticSchema = (3, n0, _MI, 0) - -GUARDRAIL_IDENTIFIER: StaticSchema = (3, n0, _GI, 0) - -GUARDRAIL_VERSION: StaticSchema = (3, n0, _GV, 0) - -GUARDRAIL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _GC, - 0, - (_gI, _gV), - ((GUARDRAIL_IDENTIFIER, 0), (GUARDRAIL_VERSION, 0)), -) - -SESSION_TTL: StaticSchema = (7, n0, _STTL, 0) - -INSTRUCTION: StaticSchema = (3, n0, _In, 4) - -MEMORY_TYPE: StaticSchema = (14, n0, _MT, 0, (_SS,), ((-1, {_sV: _SS}),)) - -ENABLED_MEMORY_TYPES: StaticSchema = (16, n0, _EMT, 0, (_me,), ((MEMORY_TYPE, 0),)) - -MAX_RECENT_SESSIONS: StaticSchema = (7, n0, _MRS, 0) - -SESSION_SUMMARY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SSC, - 0, - (_mRS,), - ((MAX_RECENT_SESSIONS, {_smithya: None}),), -) - -STORAGE_DAYS: StaticSchema = (7, n0, _SD, {_smithya: 30}) - -MEMORY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MC, - 0, - (_eMT, _sD, _sSC), - ( - (ENABLED_MEMORY_TYPES, 1), - (STORAGE_DAYS, {_smithya: 30}), - (SESSION_SUMMARY_CONFIGURATION, 0), - ), -) - -ORCHESTRATION_TYPE: StaticSchema = ( - 14, - n0, - _OT, - 0, - (_DEFAULT, _CO_), - ((-1, {_sV: _DEFAULT}), (-1, {_sV: _CO_})), -) - -BASE_PROMPT_TEMPLATE: StaticSchema = (3, n0, _BPT, 4) - -MAXIMUM_LENGTH: StaticSchema = (7, n0, _ML, 0) - -STOP_SEQUENCES: StaticSchema = (16, n0, _SSt, 0, (_me,), ((3, 0),)) - -TEMPERATURE: StaticSchema = (9, n0, _Te, 0) - -TOP_K: StaticSchema = (7, n0, _TK, 0) - -TOP_P: StaticSchema = (9, n0, _TP, 0) - -INFERENCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IC, - 0, - (_te, _tP, _tK, _mL, _sS), - ( - (TEMPERATURE, 0), - (TOP_P, 0), - (TOP_K, 0), - (MAXIMUM_LENGTH, 0), - (STOP_SEQUENCES, 0), - ), -) - -CREATION_MODE: StaticSchema = ( - 14, - n0, - _CM, - 0, - (_DEFAULT, _OVERRIDDEN), - ((-1, {_sV: _DEFAULT}), (-1, {_sV: _OVERRIDDEN})), -) - -PROMPT_STATE: StaticSchema = ( - 14, - n0, - _PS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -PROMPT_TYPE: StaticSchema = ( - 14, - n0, - _PT, - 0, - (_PP, _ORCHESTRATION, _PP_, _KBRG, _MS), - ( - (-1, {_sV: _PP}), - (-1, {_sV: _ORCHESTRATION}), - (-1, {_sV: _PP_}), - (-1, {_sV: _KBRG}), - (-1, {_sV: _MS}), - ), -) - -PROMPT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PC, - 0, - (_pT, _pCM, _pS, _bPT, _iC, _pM, _fM, _aMRF), - ( - (PROMPT_TYPE, 0), - (CREATION_MODE, 0), - (PROMPT_STATE, 0), - (BASE_PROMPT_TEMPLATE, 0), - (INFERENCE_CONFIGURATION, 0), - (CREATION_MODE, 0), - (MODEL_IDENTIFIER, 0), - (13, 0), - ), -) - -PROMPT_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _PCr, - 0, - (_me,), - ((PROMPT_CONFIGURATION, 0),), -) - -PROMPT_OVERRIDE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _POC, - 4, - (_pC, _oL), - ((PROMPT_CONFIGURATIONS, 1), (LAMBDA_ARN, 0)), -) - -RECOMMENDED_ACTION: StaticSchema = (3, n0, _RA, 0) - -RECOMMENDED_ACTIONS: StaticSchema = ( - 16, - n0, - _RAe, - 0, - (_me,), - ((RECOMMENDED_ACTION, 0),), -) - -AGENT: StaticSchema = ( - 18, - n0, - _A, - 0, - ( - _aI, - _aN, - _aA, - _aV, - _cT, - _in, - _aSg, - _fM, - _d, - _oT, - _cO, - _iSTTLIS, - _aRRA, - _cEKA, - _cA, - _uA, - _pA, - _fR, - _rA, - _pOC, - _gC, - _mC, - _aC, - ), - ( - (ID, 1), - (NAME, 1), - (AGENT_ARN, 1), - (DRAFT_VERSION, 1), - (CLIENT_TOKEN, 0), - (INSTRUCTION, 0), - (AGENT_STATUS, 1), - (MODEL_IDENTIFIER, 0), - (DESCRIPTION, 0), - (ORCHESTRATION_TYPE, 0), - (CUSTOM_ORCHESTRATION, 0), - (SESSION_TTL, 1), - (AGENT_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - (FAILURE_REASONS, 0), - (RECOMMENDED_ACTIONS, 0), - (PROMPT_OVERRIDE_CONFIGURATION, 0), - (GUARDRAIL_CONFIGURATION, 0), - (MEMORY_CONFIGURATION, 0), - (AGENT_COLLABORATION, 0), - ), -) - -AGENT_ALIAS_ARN: StaticSchema = (3, n0, _AAA, 0) - -PROVISIONED_MODEL_IDENTIFIER: StaticSchema = (3, n0, _PMI, 0) - -AGENT_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM: StaticSchema = ( - 18, - n0, - _AARCLI, - 0, - (_aV, _pTr), - ((VERSION, 0), (PROVISIONED_MODEL_IDENTIFIER, 0)), -) - -AGENT_ALIAS_ROUTING_CONFIGURATION: StaticSchema = ( - 16, - n0, - _AARC, - 0, - (_me,), - ((AGENT_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM, 0),), -) - -AGENT_ALIAS_HISTORY_EVENT: StaticSchema = ( - 18, - n0, - _AAHE, - 0, - (_rCo, _eD, _sDt), - ((AGENT_ALIAS_ROUTING_CONFIGURATION, 0), (DATE_TIMESTAMP, 0), (DATE_TIMESTAMP, 0)), -) - -AGENT_ALIAS_HISTORY_EVENTS: StaticSchema = ( - 16, - n0, - _AAHEg, - 0, - (_me,), - ((AGENT_ALIAS_HISTORY_EVENT, 0),), -) - -AGENT_ALIAS_ID: StaticSchema = (3, n0, _AAI, 0) - -AGENT_ALIAS_STATUS: StaticSchema = ( - 14, - n0, - _AAS, - 0, - (_CREATING, _PREPARED, _FAILED, _UPDATING, _DELETING, _DISSOCIATED), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _PREPARED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _DISSOCIATED}), - ), -) - -ALIAS_INVOCATION_STATE: StaticSchema = ( - 14, - n0, - _AIS, - 0, - (_AI, _RI), - ((-1, {_sV: _AI}), (-1, {_sV: _RI})), -) - -AGENT_ALIAS: StaticSchema = ( - 18, - n0, - _AAg, - 0, - (_aI, _aAI, _aAN, _aAA, _cT, _d, _rCo, _cA, _uA, _aAHE, _aAS, _fR, _aIS), - ( - (ID, 1), - (AGENT_ALIAS_ID, 1), - (NAME, 1), - (AGENT_ALIAS_ARN, 1), - (CLIENT_TOKEN, 0), - (DESCRIPTION, 0), - (AGENT_ALIAS_ROUTING_CONFIGURATION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (AGENT_ALIAS_HISTORY_EVENTS, 0), - (AGENT_ALIAS_STATUS, 1), - (FAILURE_REASONS, 0), - (ALIAS_INVOCATION_STATE, 0), - ), -) - -AGENT_ALIAS_SUMMARY: StaticSchema = ( - 18, - n0, - _AASg, - 0, - (_aAI, _aAN, _d, _rCo, _aAS, _cA, _uA, _aIS), - ( - (AGENT_ALIAS_ID, 1), - (NAME, 1), - (DESCRIPTION, 0), - (AGENT_ALIAS_ROUTING_CONFIGURATION, 0), - (AGENT_ALIAS_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (ALIAS_INVOCATION_STATE, 0), - ), -) - -AGENT_ALIAS_SUMMARIES: StaticSchema = ( - 16, - n0, - _AASge, - 0, - (_me,), - ((AGENT_ALIAS_SUMMARY, 0),), -) - -AGENT_DESCRIPTOR: StaticSchema = (18, n0, _AD, 0, (_aAl,), ((AGENT_ALIAS_ARN, 0),)) - -COLLABORATION_INSTRUCTION: StaticSchema = (3, n0, _CI, 4) - -RELAY_CONVERSATION_HISTORY: StaticSchema = ( - 14, - n0, - _RCH, - 0, - (_TC, _DISABLED), - ((-1, {_sV: _TC}), (-1, {_sV: _DISABLED})), -) - -AGENT_COLLABORATOR: StaticSchema = ( - 18, - n0, - _ACge, - 0, - (_aI, _aV, _aD, _cI, _cIo, _cN, _cA, _lUA, _rCH, _cT), - ( - (ID, 1), - (VERSION, 1), - (AGENT_DESCRIPTOR, 1), - (ID, 1), - (COLLABORATION_INSTRUCTION, 1), - (NAME, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (RELAY_CONVERSATION_HISTORY, 0), - (CLIENT_TOKEN, 0), - ), -) - -ASSOCIATE_AGENT_COLLABORATOR_INPUT: StaticSchema = ( - 18, - n0, - _AACI, - {_sSI: _cAACR, _smit: None}, - (_aI, _aV, _aD, _cN, _cIo, _rCH, _cT), - ( - (ID, 9), - (DRAFT_VERSION, 9), - (AGENT_DESCRIPTOR, 1), - (NAME, 1), - (COLLABORATION_INSTRUCTION, 1), - (RELAY_CONVERSATION_HISTORY, 0), - (CLIENT_TOKEN, 2), - ), -) - -ASSOCIATE_AGENT_COLLABORATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _AACO, - {_sSI: _cAACRo, _smith: None}, - (_aCg,), - ((AGENT_COLLABORATOR, 1),), -) - -ASSOCIATE_AGENT_COLLABORATOR: StaticOperationSchema = ( - 23, - n0, - _AAC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", - } - ) - }, - ASSOCIATE_AGENT_COLLABORATOR_INPUT, - ASSOCIATE_AGENT_COLLABORATOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DISASSOCIATE_AGENT_COLLABORATOR_INPUT: StaticSchema = ( - 18, - n0, - _DACI, - {_sSI: _cDACR, _smit: None}, - (_aI, _aV, _cI), - ((ID, 9), (DRAFT_VERSION, 9), (ID, 9)), -) - -DISASSOCIATE_AGENT_COLLABORATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _DACO, - {_sSI: _cDACRo, _smith: None}, -) - -DISASSOCIATE_AGENT_COLLABORATOR: StaticOperationSchema = ( - 23, - n0, - _DAC, - { - _smithy: MappingProxyType( - { - "code": 204, - "method": "DELETE", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", - } - ) - }, - DISASSOCIATE_AGENT_COLLABORATOR_INPUT, - DISASSOCIATE_AGENT_COLLABORATOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AGENT_COLLABORATOR_INPUT: StaticSchema = ( - 18, - n0, - _GACI, - {_sSI: _cGACR, _smit: None}, - (_aI, _aV, _cI), - ((ID, 9), (VERSION, 9), (ID, 9)), -) - -GET_AGENT_COLLABORATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _GACO, - {_sSI: _cGACRo, _smith: None}, - (_aCg,), - ((AGENT_COLLABORATOR, 1),), -) - -GET_AGENT_COLLABORATOR: StaticOperationSchema = ( - 23, - n0, - _GAC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", - } - ) - }, - GET_AGENT_COLLABORATOR_INPUT, - GET_AGENT_COLLABORATOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AGENT_COLLABORATORS_INPUT: StaticSchema = ( - 18, - n0, - _LACI, - {_sSI: _cLACR, _smit: None}, - (_aI, _aV, _mR, _nT), - ((ID, 9), (VERSION, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -AGENT_COLLABORATOR_SUMMARY: StaticSchema = ( - 18, - n0, - _ACS, - 0, - (_aI, _aV, _cI, _aD, _cIo, _rCH, _cN, _cA, _lUA), - ( - (ID, 1), - (VERSION, 1), - (ID, 1), - (AGENT_DESCRIPTOR, 1), - (COLLABORATION_INSTRUCTION, 1), - (RELAY_CONVERSATION_HISTORY, 1), - (NAME, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -AGENT_COLLABORATOR_SUMMARIES: StaticSchema = ( - 16, - n0, - _ACSg, - 0, - (_me,), - ((AGENT_COLLABORATOR_SUMMARY, 0),), -) - -LIST_AGENT_COLLABORATORS_OUTPUT: StaticSchema = ( - 18, - n0, - _LACO, - {_sSI: _cLACRo, _smith: None}, - (_aCS, _nT), - ((AGENT_COLLABORATOR_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_COLLABORATORS: StaticOperationSchema = ( - 23, - n0, - _LAC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", - } - ) - }, - LIST_AGENT_COLLABORATORS_INPUT, - LIST_AGENT_COLLABORATORS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AGENT_COLLABORATOR_INPUT: StaticSchema = ( - 18, - n0, - _UACI, - {_sSI: _cUACR, _smit: None}, - (_aI, _aV, _cI, _aD, _cN, _cIo, _rCH), - ( - (ID, 9), - (DRAFT_VERSION, 9), - (ID, 9), - (AGENT_DESCRIPTOR, 1), - (NAME, 1), - (COLLABORATION_INSTRUCTION, 1), - (RELAY_CONVERSATION_HISTORY, 0), - ), -) - -UPDATE_AGENT_COLLABORATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _UACO, - {_sSI: _cUACRo, _smith: None}, - (_aCg,), - ((AGENT_COLLABORATOR, 1),), -) - -UPDATE_AGENT_COLLABORATOR: StaticOperationSchema = ( - 23, - n0, - _UAC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", - } - ) - }, - UPDATE_AGENT_COLLABORATOR_INPUT, - UPDATE_AGENT_COLLABORATOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FLOW_AGENT_ALIAS_ARN: StaticSchema = (3, n0, _FAAA, 0) - -AGENT_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AFNC, - 0, - (_aAA,), - ((FLOW_AGENT_ALIAS_ARN, {_smithya: _v_, _smi: None}),), -) - -KNOWLEDGE_BASE_STATE: StaticSchema = ( - 14, - n0, - _KBS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -AGENT_KNOWLEDGE_BASE: StaticSchema = ( - 18, - n0, - _AKB, - 0, - (_aI, _aV, _kBI, _d, _cA, _uA, _kBS), - ( - (ID, 1), - (VERSION, 1), - (ID, 1), - (DESCRIPTION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (KNOWLEDGE_BASE_STATE, 1), - ), -) - -AGENT_KNOWLEDGE_BASE_SUMMARY: StaticSchema = ( - 18, - n0, - _AKBS, - 0, - (_kBI, _d, _kBS, _uA), - ((ID, 1), (DESCRIPTION, 0), (KNOWLEDGE_BASE_STATE, 1), (DATE_TIMESTAMP, 1)), -) - -AGENT_KNOWLEDGE_BASE_SUMMARIES: StaticSchema = ( - 16, - n0, - _AKBSg, - 0, - (_me,), - ((AGENT_KNOWLEDGE_BASE_SUMMARY, 0),), -) - -TAG_KEY: StaticSchema = (3, n0, _TKa, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAGS_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -CREATE_AGENT_INPUT: StaticSchema = ( - 18, - n0, - _CAI, - {_sSI: _cCAR, _smit: None}, - ( - _aN, - _cT, - _in, - _fM, - _d, - _oT, - _cO, - _iSTTLIS, - _aRRA, - _cEKA, - _ta, - _pOC, - _gC, - _mC, - _aC, - ), - ( - (NAME, 1), - (CLIENT_TOKEN, 2), - (INSTRUCTION, 0), - (MODEL_IDENTIFIER, 0), - (DESCRIPTION, 0), - (ORCHESTRATION_TYPE, 0), - (CUSTOM_ORCHESTRATION, 0), - (SESSION_TTL, 0), - (AGENT_ROLE_ARN, 0), - (KMS_KEY_ARN, 0), - (TAGS_MAP, 0), - (PROMPT_OVERRIDE_CONFIGURATION, 0), - (GUARDRAIL_CONFIGURATION, 0), - (MEMORY_CONFIGURATION, 0), - (AGENT_COLLABORATION, 0), - ), -) - -CREATE_AGENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CAO, - {_sSI: _cCARo, _smith: None}, - (_ag,), - ((AGENT, 1),), -) - -CREATE_AGENT: StaticOperationSchema = ( - 23, - n0, - _CA, - {_smithy: MappingProxyType({"code": 202, "method": "PUT", "uri": "/agents/"})}, - CREATE_AGENT_INPUT, - CREATE_AGENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_AGENT_INPUT: StaticSchema = ( - 18, - n0, - _DAI, - {_sSI: _cDAR, _smit: None}, - (_aI, _sRIUC), - ((ID, 9), (2, {_smithya: False, _sQ: _sRIUC})), -) - -DELETE_AGENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DAO, - {_sSI: _cDARo, _smith: None}, - (_aI, _aSg), - ((ID, 1), (AGENT_STATUS, 1)), -) - -DELETE_AGENT: StaticOperationSchema = ( - 23, - n0, - _DA, - { - _smithy: MappingProxyType( - {"code": 202, "method": "DELETE", "uri": "/agents/{agentId}/"} - ) - }, - DELETE_AGENT_INPUT, - DELETE_AGENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AGENT_INPUT: StaticSchema = ( - 18, - n0, - _GAI, - {_sSI: _cGAR, _smit: None}, - (_aI,), - ((ID, 9),), -) - -GET_AGENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GAO, - {_sSI: _cGARo, _smith: None}, - (_ag,), - ((AGENT, 1),), -) - -GET_AGENT: StaticOperationSchema = ( - 23, - n0, - _GA, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/agents/{agentId}/"} - ) - }, - GET_AGENT_INPUT, - GET_AGENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AGENTS_INPUT: StaticSchema = ( - 18, - n0, - _LAI, - {_sSI: _cLAR, _smit: None}, - (_mR, _nT), - ((MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -AGENT_SUMMARY: StaticSchema = ( - 18, - n0, - _ASg, - 0, - (_aI, _aN, _aSg, _d, _uA, _lAV, _gC), - ( - (ID, 1), - (NAME, 1), - (AGENT_STATUS, 1), - (DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (VERSION, 0), - (GUARDRAIL_CONFIGURATION, 0), - ), -) - -AGENT_SUMMARIES: StaticSchema = (16, n0, _ASge, 0, (_me,), ((AGENT_SUMMARY, 0),)) - -LIST_AGENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAO, - {_sSI: _cLARo, _smith: None}, - (_aSge, _nT), - ((AGENT_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_AGENTS: StaticOperationSchema = ( - 23, - n0, - _LAi, - {_smithy: MappingProxyType({"code": 200, "method": "POST", "uri": "/agents/"})}, - LIST_AGENTS_INPUT, - LIST_AGENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PREPARE_AGENT_INPUT: StaticSchema = ( - 18, - n0, - _PAI, - {_sSI: _cPAR, _smit: None}, - (_aI,), - ((ID, 9),), -) - -PREPARE_AGENT_OUTPUT: StaticSchema = ( - 18, - n0, - _PAO, - {_sSI: _cPARo, _smith: None}, - (_aI, _aSg, _aV, _pA), - ((ID, 1), (AGENT_STATUS, 1), (VERSION, 1), (DATE_TIMESTAMP, 1)), -) - -PREPARE_AGENT: StaticOperationSchema = ( - 23, - n0, - _PA, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/agents/{agentId}/"} - ) - }, - PREPARE_AGENT_INPUT, - PREPARE_AGENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AGENT_INPUT: StaticSchema = ( - 18, - n0, - _UAI, - {_sSI: _cUAR, _smit: None}, - (_aI, _aN, _in, _fM, _d, _oT, _cO, _iSTTLIS, _aRRA, _cEKA, _pOC, _gC, _mC, _aC), - ( - (ID, 9), - (NAME, 1), - (INSTRUCTION, 0), - (MODEL_IDENTIFIER, 1), - (DESCRIPTION, 0), - (ORCHESTRATION_TYPE, 0), - (CUSTOM_ORCHESTRATION, 0), - (SESSION_TTL, 0), - (AGENT_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (PROMPT_OVERRIDE_CONFIGURATION, 0), - (GUARDRAIL_CONFIGURATION, 0), - (MEMORY_CONFIGURATION, 0), - (AGENT_COLLABORATION, 0), - ), -) - -UPDATE_AGENT_OUTPUT: StaticSchema = ( - 18, - n0, - _UAO, - {_sSI: _cUARo, _smith: None}, - (_ag,), - ((AGENT, 1),), -) - -UPDATE_AGENT: StaticOperationSchema = ( - 23, - n0, - _UA, - { - _smithy: MappingProxyType( - {"code": 202, "method": "PUT", "uri": "/agents/{agentId}/"} - ) - }, - UPDATE_AGENT_INPUT, - UPDATE_AGENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -NUMERICAL_VERSION: StaticSchema = (3, n0, _NV, 0) - -AGENT_VERSION: StaticSchema = ( - 18, - n0, - _AV, - 0, - ( - _aI, - _aN, - _aA, - _ve, - _in, - _aSg, - _fM, - _d, - _iSTTLIS, - _aRRA, - _cEKA, - _cA, - _uA, - _fR, - _rA, - _pOC, - _gC, - _mC, - _aC, - ), - ( - (ID, 1), - (NAME, 1), - (AGENT_ARN, 1), - (NUMERICAL_VERSION, 1), - (INSTRUCTION, 0), - (AGENT_STATUS, 1), - (MODEL_IDENTIFIER, 0), - (DESCRIPTION, 0), - (SESSION_TTL, 1), - (AGENT_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (FAILURE_REASONS, 0), - (RECOMMENDED_ACTIONS, 0), - (PROMPT_OVERRIDE_CONFIGURATION, 0), - (GUARDRAIL_CONFIGURATION, 0), - (MEMORY_CONFIGURATION, 0), - (AGENT_COLLABORATION, 0), - ), -) - -AGENT_VERSION_SUMMARY: StaticSchema = ( - 18, - n0, - _AVS, - 0, - (_aN, _aSg, _aV, _cA, _uA, _d, _gC), - ( - (NAME, 1), - (AGENT_STATUS, 1), - (VERSION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DESCRIPTION, 0), - (GUARDRAIL_CONFIGURATION, 0), - ), -) - -AGENT_VERSION_SUMMARIES: StaticSchema = ( - 16, - n0, - _AVSg, - 0, - (_me,), - ((AGENT_VERSION_SUMMARY, 0),), -) - -CREATE_AGENT_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _CAAI, - {_sSI: _cCAAR, _smit: None}, - (_aI, _aAN, _cT, _d, _rCo, _ta), - ( - (ID, 9), - (NAME, 1), - (CLIENT_TOKEN, 2), - (DESCRIPTION, 0), - (AGENT_ALIAS_ROUTING_CONFIGURATION, 0), - (TAGS_MAP, 0), - ), -) - -CREATE_AGENT_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _CAAO, - {_sSI: _cCAARo, _smith: None}, - (_aAg,), - ((AGENT_ALIAS, 1),), -) - -CREATE_AGENT_ALIAS: StaticOperationSchema = ( - 23, - n0, - _CAA, - { - _smithy: MappingProxyType( - {"code": 202, "method": "PUT", "uri": "/agents/{agentId}/agentaliases/"} - ) - }, - CREATE_AGENT_ALIAS_INPUT, - CREATE_AGENT_ALIAS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_AGENT_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _DAAI, - {_sSI: _cDAAR, _smit: None}, - (_aI, _aAI), - ((ID, 9), (AGENT_ALIAS_ID, 9)), -) - -DELETE_AGENT_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _DAAO, - {_sSI: _cDAARo, _smith: None}, - (_aI, _aAI, _aAS), - ((ID, 1), (AGENT_ALIAS_ID, 1), (AGENT_ALIAS_STATUS, 1)), -) - -DELETE_AGENT_ALIAS: StaticOperationSchema = ( - 23, - n0, - _DAA, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/agents/{agentId}/agentaliases/{agentAliasId}/", - } - ) - }, - DELETE_AGENT_ALIAS_INPUT, - DELETE_AGENT_ALIAS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AGENT_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _GAAI, - {_sSI: _cGAAR, _smit: None}, - (_aI, _aAI), - ((ID, 9), (AGENT_ALIAS_ID, 9)), -) - -GET_AGENT_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _GAAO, - {_sSI: _cGAARo, _smith: None}, - (_aAg,), - ((AGENT_ALIAS, 1),), -) - -GET_AGENT_ALIAS: StaticOperationSchema = ( - 23, - n0, - _GAA, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/agents/{agentId}/agentaliases/{agentAliasId}/", - } - ) - }, - GET_AGENT_ALIAS_INPUT, - GET_AGENT_ALIAS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AGENT_ALIASES_INPUT: StaticSchema = ( - 18, - n0, - _LAAI, - {_sSI: _cLAAR, _smit: None}, - (_aI, _mR, _nT), - ((ID, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_ALIASES_OUTPUT: StaticSchema = ( - 18, - n0, - _LAAO, - {_sSI: _cLAARo, _smith: None}, - (_aASg, _nT), - ((AGENT_ALIAS_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_ALIASES: StaticOperationSchema = ( - 23, - n0, - _LAA, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/agents/{agentId}/agentaliases/"} - ) - }, - LIST_AGENT_ALIASES_INPUT, - LIST_AGENT_ALIASES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AGENT_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _UAAI, - {_sSI: _cUAAR, _smit: None}, - (_aI, _aAI, _aAN, _d, _rCo, _aIS), - ( - (ID, 9), - (AGENT_ALIAS_ID, 9), - (NAME, 1), - (DESCRIPTION, 0), - (AGENT_ALIAS_ROUTING_CONFIGURATION, 0), - (ALIAS_INVOCATION_STATE, 0), - ), -) - -UPDATE_AGENT_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _UAAO, - {_sSI: _cUAARo, _smith: None}, - (_aAg,), - ((AGENT_ALIAS, 1),), -) - -UPDATE_AGENT_ALIAS: StaticOperationSchema = ( - 23, - n0, - _UAA, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "PUT", - "uri": "/agents/{agentId}/agentaliases/{agentAliasId}/", - } - ) - }, - UPDATE_AGENT_ALIAS_INPUT, - UPDATE_AGENT_ALIAS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -VPC_CONFIGURATION_DESCRIPTION: StaticSchema = (3, n0, _VCD, 0) - -HOST_HEADER: StaticSchema = (3, n0, _HH, 0) - -VPC_CONFIGURATION_NAME: StaticSchema = (3, n0, _VCN, 0) - -PORT: StaticSchema = (7, n0, _Po, 0) - -VPC_PROTOCOL: StaticSchema = ( - 14, - n0, - _VP, - 0, - (_HTTP, _HTTPS), - ((-1, {_sV: _HTTP}), (-1, {_sV: _HTTPS})), -) - -VPC_RESOLUTION_MODE: StaticSchema = ( - 14, - n0, - _VRM, - 0, - (_PUBLIC, _IV), - ((-1, {_sV: _PUBLIC}), (-1, {_sV: _IV})), -) - -RESOURCE_TARGET: StaticSchema = (3, n0, _RT, 0) - -SUBNET_ID: StaticSchema = (3, n0, _SIu, 0) - -SUBNET_ID_LIST: StaticSchema = (16, n0, _SIL, 0, (_me,), ((SUBNET_ID, 0),)) - -TLS_SERVER_NAME: StaticSchema = (3, n0, _TSN, 0) - -VPC_ID: StaticSchema = (3, n0, _VI, 0) - -CREATE_VPC_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _CVCI, - {_sSI: _cCVCR, _smit: None}, - (_kBI, _cT, _vI, _sI, _rT, _po, _pr, _rM, _hH, _tSN, _na, _d), - ( - (ID, 9), - (CLIENT_TOKEN, 2), - (VPC_ID, 1), - (SUBNET_ID_LIST, 1), - (RESOURCE_TARGET, 1), - (PORT, 1), - (VPC_PROTOCOL, 1), - (VPC_RESOLUTION_MODE, 1), - (HOST_HEADER, 0), - (TLS_SERVER_NAME, 0), - (VPC_CONFIGURATION_NAME, 0), - (VPC_CONFIGURATION_DESCRIPTION, 0), - ), -) - -VPC_CONFIGURATION_STATUS: StaticSchema = ( - 14, - n0, - _VCS, - 0, - (_CREATING, _CREATED, _DELETING, _CF, _DF), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _CREATED}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _CF}), - (-1, {_sV: _DF}), - ), -) - -VPC_CONFIGURATION_ID: StaticSchema = (3, n0, _VCI, 0) - -CREATE_VPC_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CVCO, - {_sSI: _cCVCRo, _smith: None}, - (_vCI, _sta), - ((VPC_CONFIGURATION_ID, 1), (VPC_CONFIGURATION_STATUS, 1)), -) - -CREATE_VPC_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _CVC, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/", - } - ) - }, - CREATE_VPC_CONFIGURATION_INPUT, - CREATE_VPC_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DATA_DELETION_POLICY: StaticSchema = ( - 14, - n0, - _DDP, - 0, - (_RETAIN, _DELETE), - ((-1, {_sV: _RETAIN}), (-1, {_sV: _DELETE})), -) - -FILTER_PATTERN: StaticSchema = (3, n0, _FP, 4) - -FILTER_LIST: StaticSchema = (16, n0, _FL, 4, (_me,), ((FILTER_PATTERN, 0),)) - -FILTERED_OBJECT_TYPE: StaticSchema = (3, n0, _FOT, 4) - -PATTERN_OBJECT_FILTER: StaticSchema = ( - 18, - n0, - _POF, - 0, - (_oTb, _iF, _eF), - ((FILTERED_OBJECT_TYPE, 1), (FILTER_LIST, 0), (FILTER_LIST, 0)), -) - -PATTERN_OBJECT_FILTER_LIST: StaticSchema = ( - 16, - n0, - _POFL, - 4, - (_me,), - ((PATTERN_OBJECT_FILTER, 0),), -) - -PATTERN_OBJECT_FILTER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _POFC, - 0, - (_fi,), - ((PATTERN_OBJECT_FILTER_LIST, 1),), -) - -CRAWL_FILTER_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _CFCT, - 0, - (_PATTERN,), - ((-1, {_sV: _PATTERN}),), -) - -CRAWL_FILTER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CFC, - 0, - (_t, _pOF), - ((CRAWL_FILTER_CONFIGURATION_TYPE, 1), (PATTERN_OBJECT_FILTER_CONFIGURATION, 0)), -) - -CONFLUENCE_CRAWLER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CCC, - 0, - (_fC,), - ((CRAWL_FILTER_CONFIGURATION, 0),), -) - -CONFLUENCE_AUTH_TYPE: StaticSchema = ( - 14, - n0, - _CAT, - 0, - (_BASIC, _OCC), - ((-1, {_sV: _BASIC}), (-1, {_sV: _OCC})), -) - -SECRET_ARN: StaticSchema = (3, n0, _SA, 0) - -CONFLUENCE_HOST_TYPE: StaticSchema = (14, n0, _CHT, 0, (_SAAS,), ((-1, {_sV: _SAAS}),)) - -HTTPS_URL: StaticSchema = (3, n0, _HU, 0) - -CONFLUENCE_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CSC, - 0, - (_hU, _hT, _aT, _cSA), - ( - (HTTPS_URL, 1), - (CONFLUENCE_HOST_TYPE, 1), - (CONFLUENCE_AUTH_TYPE, 1), - (SECRET_ARN, 1), - ), -) - -CONFLUENCE_DATA_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CDSC, - 0, - (_sC, _cCr), - ((CONFLUENCE_SOURCE_CONFIGURATION, 1), (CONFLUENCE_CRAWLER_CONFIGURATION, 0)), -) - -ENABLED_OR_DISABLED_STATE: StaticSchema = ( - 14, - n0, - _EODS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -DELETION_PROTECTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DPC, - 0, - (_dPS, _dPT), - ((ENABLED_OR_DISABLED_STATE, 1), (7, {_smithya: 15})), -) - -AUDIO_EXTRACTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AEC, - 0, - (_aES,), - ((ENABLED_OR_DISABLED_STATE, 1),), -) - -IMAGE_EXTRACTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IEC, - 0, - (_iES,), - ((ENABLED_OR_DISABLED_STATE, 1),), -) - -VIDEO_EXTRACTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VEC, - 0, - (_vES,), - ((ENABLED_OR_DISABLED_STATE, 1),), -) - -MEDIA_EXTRACTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MEC, - 0, - (_iEC, _aEC, _vEC), - ( - (IMAGE_EXTRACTION_CONFIGURATION, 0), - (AUDIO_EXTRACTION_CONFIGURATION, 0), - (VIDEO_EXTRACTION_CONFIGURATION, 0), - ), -) - -DAILY_SCHEDULE: StaticSchema = (18, n0, _DS, 0) - -DAY_OF_MONTH_NUMBER: StaticSchema = (7, n0, _DOMN, 0) - -LAST_DAY_OF_MONTH: StaticSchema = (18, n0, _LDOM, 0) - -DAY_OF_MONTH: StaticSchema = ( - 19, - n0, - _DOM, - 0, - (_dN, _lDOM), - ((DAY_OF_MONTH_NUMBER, 0), (LAST_DAY_OF_MONTH, 0)), -) - -MONTHLY_SCHEDULE: StaticSchema = (18, n0, _MSo, 0, (_dOM,), ((DAY_OF_MONTH, 1),)) - -DAY_OF_WEEK: StaticSchema = ( - 14, - n0, - _DOW, - 0, - (_SUNDAY, _MONDAY, _TUESDAY, _WEDNESDAY, _THURSDAY, _FRIDAY, _SATURDAY), - ( - (-1, {_sV: _SUNDAY}), - (-1, {_sV: _MONDAY}), - (-1, {_sV: _TUESDAY}), - (-1, {_sV: _WEDNESDAY}), - (-1, {_sV: _THURSDAY}), - (-1, {_sV: _FRIDAY}), - (-1, {_sV: _SATURDAY}), - ), -) - -WEEKLY_SCHEDULE: StaticSchema = (18, n0, _WS, 0, (_dOW,), ((DAY_OF_WEEK, 1),)) - -SYNC_SCHEDULE: StaticSchema = ( - 19, - n0, - _SSy, - 0, - (_da, _w, _mo), - ((DAILY_SCHEDULE, 0), (WEEKLY_SCHEDULE, 0), (MONTHLY_SCHEDULE, 0)), -) - -MANAGED_KNOWLEDGE_BASE_CONNECTOR_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MKBCC, - 0, - (_dPC, _mEC, _cP, _sSy), - ( - (DELETION_PROTECTION_CONFIGURATION, 0), - (MEDIA_EXTRACTION_CONFIGURATION, 0), - (13, 0), - (SYNC_SCHEDULE, 0), - ), -) - -S3_BUCKET_ARN: StaticSchema = (3, n0, _SBA, 0) - -BUCKET_OWNER_ACCOUNT_ID: StaticSchema = (3, n0, _BOAI, 0) - -S3_PREFIX: StaticSchema = (3, n0, _SP, 4) - -S3_PREFIXES: StaticSchema = (16, n0, _SPr, 0, (_me,), ((S3_PREFIX, 0),)) - -S3_DATA_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SDSC, - 0, - (_bA, _iP, _bOAI), - ((S3_BUCKET_ARN, 1), (S3_PREFIXES, 0), (BUCKET_OWNER_ACCOUNT_ID, 0)), -) - -SALESFORCE_CRAWLER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCC, - 0, - (_fC,), - ((CRAWL_FILTER_CONFIGURATION, 0),), -) - -SALESFORCE_AUTH_TYPE: StaticSchema = (14, n0, _SAT, 0, (_OCC,), ((-1, {_sV: _OCC}),)) - -SALESFORCE_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SSCa, - 0, - (_hU, _aT, _cSA), - ((HTTPS_URL, 1), (SALESFORCE_AUTH_TYPE, 1), (SECRET_ARN, 1)), -) - -SALESFORCE_DATA_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SDSCa, - 0, - (_sC, _cCr), - ((SALESFORCE_SOURCE_CONFIGURATION, 1), (SALESFORCE_CRAWLER_CONFIGURATION, 0)), -) - -SHARE_POINT_CRAWLER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SPCC, - 0, - (_fC,), - ((CRAWL_FILTER_CONFIGURATION, 0),), -) - -SHARE_POINT_AUTH_TYPE: StaticSchema = ( - 14, - n0, - _SPAT, - 0, - (_OCC, _OSAOCC), - ((-1, {_sV: _OCC}), (-1, {_sV: _OSAOCC})), -) - -SHARE_POINT_DOMAIN: StaticSchema = (3, n0, _SPD, 0) - -SHARE_POINT_HOST_TYPE: StaticSchema = ( - 14, - n0, - _SPHT, - 0, - (_ONLINE,), - ((-1, {_sV: _ONLINE}),), -) - -SHARE_POINT_SITE_URLS: StaticSchema = (16, n0, _SPSU, 0, (_me,), ((HTTPS_URL, 0),)) - -MICROSOFT365_TENANT_ID: StaticSchema = (3, n0, _MTI, 0) - -SHARE_POINT_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SPSC, - 0, - (_tI, _do, _sU, _hT, _aT, _cSA), - ( - (MICROSOFT365_TENANT_ID, 0), - (SHARE_POINT_DOMAIN, 1), - (SHARE_POINT_SITE_URLS, 1), - (SHARE_POINT_HOST_TYPE, 1), - (SHARE_POINT_AUTH_TYPE, 1), - (SECRET_ARN, 1), - ), -) - -SHARE_POINT_DATA_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SPDSC, - 0, - (_sC, _cCr), - ((SHARE_POINT_SOURCE_CONFIGURATION, 1), (SHARE_POINT_CRAWLER_CONFIGURATION, 0)), -) - -DATA_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _DST, - 0, - (_S, _WEB, _CONFLUENCE, _SALESFORCE, _SHAREPOINT, _CUSTOM, _RM, _MKBC), - ( - (-1, {_sV: _S}), - (-1, {_sV: _WEB}), - (-1, {_sV: _CONFLUENCE}), - (-1, {_sV: _SALESFORCE}), - (-1, {_sV: _SHAREPOINT}), - (-1, {_sV: _CUSTOM}), - (-1, {_sV: _RM}), - (-1, {_sV: _MKBC}), - ), -) - -WEB_CRAWLER_LIMITS: StaticSchema = (18, n0, _WCL, 0, (_rL, _mP), ((7, 0), (7, 0))) - -WEB_SCOPE_TYPE: StaticSchema = ( - 14, - n0, - _WST, - 0, - (_HO, _SUBDOMAINS), - ((-1, {_sV: _HO}), (-1, {_sV: _SUBDOMAINS})), -) - -USER_AGENT: StaticSchema = (3, n0, _UAs, 4) - -USER_AGENT_HEADER: StaticSchema = (3, n0, _UAH, 4) - -WEB_CRAWLER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _WCC, - 0, - (_cL, _iF, _eF, _sc, _uAs, _uAH), - ( - (WEB_CRAWLER_LIMITS, 0), - (FILTER_LIST, 0), - (FILTER_LIST, 0), - (WEB_SCOPE_TYPE, 0), - (USER_AGENT, 0), - (USER_AGENT_HEADER, 0), - ), -) - -URL: StaticSchema = (3, n0, _U, 0) - -SEED_URL: StaticSchema = (18, n0, _SU, 0, (_u,), ((URL, 0),)) - -SEED_URLS: StaticSchema = (16, n0, _SUe, 0, (_me,), ((SEED_URL, 0),)) - -URL_CONFIGURATION: StaticSchema = (18, n0, _UC, 0, (_sUe,), ((SEED_URLS, 0),)) - -WEB_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _WSC, - 0, - (_uC,), - ((URL_CONFIGURATION, 1),), -) - -WEB_DATA_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _WDSC, - 0, - (_sC, _cCr), - ((WEB_SOURCE_CONFIGURATION, 1), (WEB_CRAWLER_CONFIGURATION, 0)), -) - -DATA_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DSC, - 0, - (_t, _mKBCC, _sCo, _wC, _cCo, _sCa, _sPC), - ( - (DATA_SOURCE_TYPE, 1), - (MANAGED_KNOWLEDGE_BASE_CONNECTOR_CONFIGURATION, 0), - (S3_DATA_SOURCE_CONFIGURATION, 0), - (WEB_DATA_SOURCE_CONFIGURATION, 0), - (CONFLUENCE_DATA_SOURCE_CONFIGURATION, 0), - (SALESFORCE_DATA_SOURCE_CONFIGURATION, 0), - (SHARE_POINT_DATA_SOURCE_CONFIGURATION, 0), - ), -) - -SERVER_SIDE_ENCRYPTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SSEC, - 0, - (_kKA,), - ((KMS_KEY_ARN, 0),), -) - -CHUNKING_STRATEGY: StaticSchema = ( - 14, - n0, - _CS, - 0, - (_FS_, _NONE, _HIERARCHICAL, _SEMANTIC), - ( - (-1, {_sV: _FS_}), - (-1, {_sV: _NONE}), - (-1, {_sV: _HIERARCHICAL}), - (-1, {_sV: _SEMANTIC}), - ), -) - -FIXED_SIZE_CHUNKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FSCC, - 0, - (_mT, _oP), - ((7, 1), (7, 1)), -) - -HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HCLC, - 0, - (_mT,), - ((7, 1),), -) - -HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _HCLCi, - 0, - (_me,), - ((HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATION, 0),), -) - -HIERARCHICAL_CHUNKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HCC, - 0, - (_lC, _oTv), - ((HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATIONS, 1), (7, 1)), -) - -SEMANTIC_CHUNKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCCe, - 0, - (_mT, _bS, _bPTr), - ((7, 1), (7, 1), (7, 1)), -) - -CHUNKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CC, - 0, - (_cS, _fSCC, _hCC, _sCC), - ( - (CHUNKING_STRATEGY, 1), - (FIXED_SIZE_CHUNKING_CONFIGURATION, 0), - (HIERARCHICAL_CHUNKING_CONFIGURATION, 0), - (SEMANTIC_CHUNKING_CONFIGURATION, 0), - ), -) - -ENRICHMENT_STRATEGY_METHOD: StaticSchema = ( - 14, - n0, - _ESM, - 0, - (_CEE,), - ((-1, {_sV: _CEE}),), -) - -ENRICHMENT_STRATEGY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ESC, - 0, - (_met,), - ((ENRICHMENT_STRATEGY_METHOD, 1),), -) - -BEDROCK_MODEL_ARN: StaticSchema = (3, n0, _BMA, 0) - -BEDROCK_FOUNDATION_MODEL_CONTEXT_ENRICHMENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BFMCEC, - 0, - (_eSC, _mA), - ((ENRICHMENT_STRATEGY_CONFIGURATION, 1), (BEDROCK_MODEL_ARN, 1)), -) - -CONTEXT_ENRICHMENT_TYPE: StaticSchema = (14, n0, _CET, 0, (_BFM,), ((-1, {_sV: _BFM}),)) - -CONTEXT_ENRICHMENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CEC, - 0, - (_t, _bFMC), - ( - (CONTEXT_ENRICHMENT_TYPE, 1), - (BEDROCK_FOUNDATION_MODEL_CONTEXT_ENRICHMENT_CONFIGURATION, 0), - ), -) - -S3_BUCKET_URI: StaticSchema = (3, n0, _SBU, 0) - -S3_LOCATION: StaticSchema = (18, n0, _SL, 0, (_ur,), ((S3_BUCKET_URI, 1),)) - -INTERMEDIATE_STORAGE: StaticSchema = (18, n0, _IS, 0, (_sLo,), ((S3_LOCATION, 1),)) - -STEP_TYPE: StaticSchema = (14, n0, _ST, 0, (_PC_,), ((-1, {_sV: _PC_}),)) - -TRANSFORMATION_LAMBDA_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TLC, - 0, - (_lA,), - ((LAMBDA_ARN, 1),), -) - -TRANSFORMATION_FUNCTION: StaticSchema = ( - 18, - n0, - _TF, - 0, - (_tLC,), - ((TRANSFORMATION_LAMBDA_CONFIGURATION, 1),), -) - -TRANSFORMATION: StaticSchema = ( - 18, - n0, - _Tr, - 0, - (_tF, _sTA), - ((TRANSFORMATION_FUNCTION, 1), (STEP_TYPE, 1)), -) - -TRANSFORMATIONS: StaticSchema = (16, n0, _Tra, 0, (_me,), ((TRANSFORMATION, 0),)) - -CUSTOM_TRANSFORMATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CTC, - 0, - (_iS, _tr), - ((INTERMEDIATE_STORAGE, 1), (TRANSFORMATIONS, 1)), -) - -PARSING_MODALITY: StaticSchema = ( - 14, - n0, - _PMa, - 0, - (_MULTIMODAL,), - ((-1, {_sV: _MULTIMODAL}),), -) - -BEDROCK_DATA_AUTOMATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BDAC, - 0, - (_pMa,), - ((PARSING_MODALITY, 0),), -) - -PARSING_PROMPT_TEXT: StaticSchema = (3, n0, _PPT, 0) - -PARSING_PROMPT: StaticSchema = (18, n0, _PPa, 0, (_pPT,), ((PARSING_PROMPT_TEXT, 1),)) - -BEDROCK_FOUNDATION_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BFMC, - 0, - (_mA, _pP, _pMa), - ((BEDROCK_MODEL_ARN, 1), (PARSING_PROMPT, 0), (PARSING_MODALITY, 0)), -) - -PARSING_STRATEGY: StaticSchema = ( - 14, - n0, - _PSa, - 0, - (_BFM, _BDA, _SP_, _MME), - ((-1, {_sV: _BFM}), (-1, {_sV: _BDA}), (-1, {_sV: _SP_}), (-1, {_sV: _MME})), -) - -PARSING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PCa, - 0, - (_pSa, _bFMC, _bDAC), - ( - (PARSING_STRATEGY, 1), - (BEDROCK_FOUNDATION_MODEL_CONFIGURATION, 0), - (BEDROCK_DATA_AUTOMATION_CONFIGURATION, 0), - ), -) - -VECTOR_INGESTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VIC, - 0, - (_cCh, _cTC, _pCa, _cEC), - ( - (CHUNKING_CONFIGURATION, 0), - (CUSTOM_TRANSFORMATION_CONFIGURATION, 0), - (PARSING_CONFIGURATION, 0), - (CONTEXT_ENRICHMENT_CONFIGURATION, 0), - ), -) - -CREATE_DATA_SOURCE_INPUT: StaticSchema = ( - 18, - n0, - _CDSI, - {_sSI: _cCDSR, _smit: None}, - (_kBI, _cT, _na, _d, _dSC, _dDP, _sSEC, _vIC), - ( - (ID, 9), - (CLIENT_TOKEN, 2), - (NAME, 1), - (DESCRIPTION, 0), - (DATA_SOURCE_CONFIGURATION, 1), - (DATA_DELETION_POLICY, 0), - (SERVER_SIDE_ENCRYPTION_CONFIGURATION, 0), - (VECTOR_INGESTION_CONFIGURATION, 0), - ), -) - -DATA_SOURCE_STATUS: StaticSchema = ( - 14, - n0, - _DSS, - 0, - (_AVAILABLE, _DELETING, _DU, _CREATING, _UPDATING, _FAILED), - ( - (-1, {_sV: _AVAILABLE}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _DU}), - (-1, {_sV: _CREATING}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _FAILED}), - ), -) - -DATA_SOURCE: StaticSchema = ( - 18, - n0, - _DSa, - 0, - (_kBI, _dSI, _na, _sta, _d, _dSC, _sSEC, _vIC, _dDP, _cA, _uA, _fR), - ( - (ID, 1), - (ID, 1), - (NAME, 1), - (DATA_SOURCE_STATUS, 1), - (DESCRIPTION, 0), - (DATA_SOURCE_CONFIGURATION, 1), - (SERVER_SIDE_ENCRYPTION_CONFIGURATION, 0), - (VECTOR_INGESTION_CONFIGURATION, 0), - (DATA_DELETION_POLICY, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (FAILURE_REASONS, 0), - ), -) - -CREATE_DATA_SOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _CDSO, - {_sSI: _cCDSRo, _smith: None}, - (_dS,), - ((DATA_SOURCE, 1),), -) - -CREATE_DATA_SOURCE: StaticOperationSchema = ( - 23, - n0, - _CDS, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/", - } - ) - }, - CREATE_DATA_SOURCE_INPUT, - CREATE_DATA_SOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_DATA_SOURCE_INPUT: StaticSchema = ( - 18, - n0, - _DDSI, - {_sSI: _cDDSR, _smit: None}, - (_kBI, _dSI), - ((ID, 9), (ID, 9)), -) - -DELETE_DATA_SOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _DDSO, - {_sSI: _cDDSRo, _smith: None}, - (_kBI, _dSI, _sta), - ((ID, 1), (ID, 1), (DATA_SOURCE_STATUS, 1)), -) - -DELETE_DATA_SOURCE: StaticOperationSchema = ( - 23, - n0, - _DDS, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", - } - ) - }, - DELETE_DATA_SOURCE_INPUT, - DELETE_DATA_SOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_DATA_SOURCE_INPUT: StaticSchema = ( - 18, - n0, - _GDSI, - {_sSI: _cGDSR, _smit: None}, - (_kBI, _dSI), - ((ID, 9), (ID, 9)), -) - -GET_DATA_SOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _GDSO, - {_sSI: _cGDSRo, _smith: None}, - (_dS,), - ((DATA_SOURCE, 1),), -) - -GET_DATA_SOURCE: StaticOperationSchema = ( - 23, - n0, - _GDS, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", - } - ) - }, - GET_DATA_SOURCE_INPUT, - GET_DATA_SOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_DATA_SOURCES_INPUT: StaticSchema = ( - 18, - n0, - _LDSI, - {_sSI: _cLDSR, _smit: None}, - (_kBI, _mR, _nT), - ((ID, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -DATA_SOURCE_SUMMARY: StaticSchema = ( - 18, - n0, - _DSSa, - 0, - (_kBI, _dSI, _na, _sta, _d, _uA), - ( - (ID, 1), - (ID, 1), - (NAME, 1), - (DATA_SOURCE_STATUS, 1), - (DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - ), -) - -DATA_SOURCE_SUMMARIES: StaticSchema = ( - 16, - n0, - _DSSat, - 0, - (_me,), - ((DATA_SOURCE_SUMMARY, 0),), -) - -LIST_DATA_SOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _LDSO, - {_sSI: _cLDSRo, _smith: None}, - (_dSS, _nT), - ((DATA_SOURCE_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_DATA_SOURCES: StaticOperationSchema = ( - 23, - n0, - _LDS, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/", - } - ) - }, - LIST_DATA_SOURCES_INPUT, - LIST_DATA_SOURCES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_DATA_SOURCE_INPUT: StaticSchema = ( - 18, - n0, - _UDSI, - {_sSI: _cUDSR, _smit: None}, - (_kBI, _dSI, _na, _d, _dSC, _dDP, _sSEC, _vIC), - ( - (ID, 9), - (ID, 9), - (NAME, 1), - (DESCRIPTION, 0), - (DATA_SOURCE_CONFIGURATION, 1), - (DATA_DELETION_POLICY, 0), - (SERVER_SIDE_ENCRYPTION_CONFIGURATION, 0), - (VECTOR_INGESTION_CONFIGURATION, 0), - ), -) - -UPDATE_DATA_SOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _UDSO, - {_sSI: _cUDSRo, _smith: None}, - (_dS,), - ((DATA_SOURCE, 1),), -) - -UPDATE_DATA_SOURCE: StaticOperationSchema = ( - 23, - n0, - _UDS, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", - } - ) - }, - UPDATE_DATA_SOURCE_INPUT, - UPDATE_DATA_SOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -REVISION_ID: StaticSchema = (3, n0, _RIe, 0) - -RESOURCE_ARN: StaticSchema = (3, n0, _RAes, 0) - -DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_sSI: _cDRPR, _smit: None}, - (_rAe, _eRI), - ((RESOURCE_ARN, 9), (REVISION_ID, {_sQ: _eRI})), -) - -DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DRPO, - {_sSI: _cDRPRo, _smith: None}, - (_rAe, _rI), - ((RESOURCE_ARN, 1), (REVISION_ID, 0)), -) - -DELETE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/resourcepolicy/{resourceArn}"} - ) - }, - DELETE_RESOURCE_POLICY_INPUT, - DELETE_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_VPC_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DVCI, - {_sSI: _cDVCR, _smit: None}, - (_kBI, _vCI), - ((ID, 9), (VPC_CONFIGURATION_ID, 9)), -) - -DELETE_VPC_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCO, - {_sSI: _cDVCRo, _smith: None}, - (_vCI, _sta), - ((VPC_CONFIGURATION_ID, 1), (VPC_CONFIGURATION_STATUS, 1)), -) - -DELETE_VPC_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DVC, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", - } - ) - }, - DELETE_VPC_CONFIGURATION_INPUT, - DELETE_VPC_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FLOW_CONDITION_NAME: StaticSchema = (3, n0, _FCN, 0) - -FLOW_CONDITIONAL_CONNECTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FCCC, - 0, - (_co,), - ((FLOW_CONDITION_NAME, 1),), -) - -FLOW_NODE_OUTPUT_NAME: StaticSchema = (3, n0, _FNON, 0) - -FLOW_NODE_INPUT_NAME: StaticSchema = (3, n0, _FNIN, 0) - -FLOW_DATA_CONNECTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FDCC, - 0, - (_sO, _tIa), - ((FLOW_NODE_OUTPUT_NAME, 1), (FLOW_NODE_INPUT_NAME, 1)), -) - -FLOW_CONNECTION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _FCC, - 0, - (_dat, _con), - ( - (FLOW_DATA_CONNECTION_CONFIGURATION, 0), - (FLOW_CONDITIONAL_CONNECTION_CONFIGURATION, 0), - ), -) - -FLOW_CONNECTION_NAME: StaticSchema = (3, n0, _FCNl, 0) - -FLOW_NODE_NAME: StaticSchema = (3, n0, _FNN, 0) - -FLOW_CONNECTION_TYPE: StaticSchema = ( - 14, - n0, - _FCT, - 0, - (_DATA, _CONDITIONAL), - ((-1, {_sV: _Da}), (-1, {_sV: _C})), -) - -FLOW_CONNECTION: StaticSchema = ( - 18, - n0, - _FC, - 0, - (_t, _na, _so, _tar, _conf), - ( - (FLOW_CONNECTION_TYPE, 1), - (FLOW_CONNECTION_NAME, 1), - (FLOW_NODE_NAME, 1), - (FLOW_NODE_NAME, 1), - (FLOW_CONNECTION_CONFIGURATION, 0), - ), -) - -FLOW_CONNECTIONS: StaticSchema = (16, n0, _FCl, 0, (_me,), ((FLOW_CONNECTION, 0),)) - -COLLECTOR_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _CFNC, 0) - -FLOW_CONDITION_EXPRESSION: StaticSchema = (3, n0, _FCE, 4) - -FLOW_CONDITION: StaticSchema = ( - 18, - n0, - _FClo, - 0, - (_na, _ex), - ((FLOW_CONDITION_NAME, 1), (FLOW_CONDITION_EXPRESSION, 0)), -) - -FLOW_CONDITIONS: StaticSchema = (16, n0, _FClow, 0, (_me,), ((FLOW_CONDITION, 0),)) - -CONDITION_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CFNCo, - 0, - (_cond,), - ((FLOW_CONDITIONS, 1),), -) - -INLINE_CODE: StaticSchema = (3, n0, _ICn, 4) - -SUPPORTED_LANGUAGES: StaticSchema = (14, n0, _SLu, 0, (_P_,), ((-1, {_sV: _P__}),)) - -INLINE_CODE_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ICFNC, - 0, - (_cod, _la), - ( - (INLINE_CODE, {_smithya: _v_, _smi: None}), - (SUPPORTED_LANGUAGES, {_smithya: _P__, _smi: None}), - ), -) - -INPUT_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _IFNC, 0) - -ITERATOR_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _IFNCt, 0) - -PROMPT_MODEL_INFERENCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PMIC, - 0, - (_te, _tP, _mT, _sS), - ((TEMPERATURE, 0), (TOP_P, 0), (MAXIMUM_LENGTH, 0), (STOP_SEQUENCES, 0)), -) - -PROMPT_INFERENCE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _PIC, - 0, - (_tex,), - ((PROMPT_MODEL_INFERENCE_CONFIGURATION, 0),), -) - -FLOW_KNOWLEDGE_BASE_ID: StaticSchema = (3, n0, _FKBI, 0) - -KNOWLEDGE_BASE_MODEL_IDENTIFIER: StaticSchema = (3, n0, _KBMI, 0) - -PERFORMANCE_CONFIG_LATENCY: StaticSchema = ( - 14, - n0, - _PCL, - 0, - (_STANDARD, _OPTIMIZED), - ((-1, {_sV: _stan}), (-1, {_sV: _o})), -) - -PERFORMANCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PCe, - 0, - (_lat,), - ((PERFORMANCE_CONFIG_LATENCY, {_smithya: _stan}),), -) - -KNOWLEDGE_BASE_TEXT_PROMPT: StaticSchema = (3, n0, _KBTP, 4) - -KNOWLEDGE_BASE_PROMPT_TEMPLATE: StaticSchema = ( - 18, - n0, - _KBPT, - 0, - (_tPT,), - ((KNOWLEDGE_BASE_TEXT_PROMPT, 0),), -) - -KNOWLEDGE_BASE_ORCHESTRATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBOC, - 0, - (_pTro, _iCn, _aMRF, _pCe), - ( - (KNOWLEDGE_BASE_PROMPT_TEMPLATE, 0), - (PROMPT_INFERENCE_CONFIGURATION, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS, 0), - (PERFORMANCE_CONFIGURATION, 0), - ), -) - -RERANKING_METADATA_SELECTION_MODE: StaticSchema = ( - 14, - n0, - _RMSM, - 0, - (_SELECTIVE, _ALL), - ((-1, {_sV: _SELECTIVE}), (-1, {_sV: _ALL})), -) - -FIELD_FOR_RERANKING: StaticSchema = (18, n0, _FFR, 0, (_fN,), ((3, 1),)) - -FIELDS_FOR_RERANKING: StaticSchema = ( - 16, - n0, - _FFRi, - 4, - (_me,), - ((FIELD_FOR_RERANKING, 0),), -) - -RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _RMSMC, - 0, - (_fTI, _fTE), - ((FIELDS_FOR_RERANKING, 0), (FIELDS_FOR_RERANKING, 0)), -) - -METADATA_CONFIGURATION_FOR_RERANKING: StaticSchema = ( - 18, - n0, - _MCFR, - 0, - (_sM, _sMC), - ( - (RERANKING_METADATA_SELECTION_MODE, 1), - (RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION, 0), - ), -) - -BEDROCK_RERANKING_MODEL_ARN: StaticSchema = (3, n0, _BRMA, 0) - -VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSBRMC, - 0, - (_mA, _aMRF), - ((BEDROCK_RERANKING_MODEL_ARN, 1), (ADDITIONAL_MODEL_REQUEST_FIELDS, 0)), -) - -VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSBRC, - 0, - (_mCo, _nORR, _mCe), - ( - (VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1), - (7, 0), - (METADATA_CONFIGURATION_FOR_RERANKING, 0), - ), -) - -VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _VSRCT, - 0, - (_BRM,), - ((-1, {_sV: _BRM}),), -) - -VECTOR_SEARCH_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSRC, - 0, - (_t, _bRC), - ( - (VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE, 1), - (VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION, 0), - ), -) - -KNOWLEDGE_BASE_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBFNC, - 0, - (_kBI, _mI, _gC, _nOR, _pTro, _iC, _rCe, _oC), - ( - (FLOW_KNOWLEDGE_BASE_ID, {_smithya: _v_, _smi: None}), - (KNOWLEDGE_BASE_MODEL_IDENTIFIER, 0), - (GUARDRAIL_CONFIGURATION, 0), - (7, 0), - (KNOWLEDGE_BASE_PROMPT_TEMPLATE, 0), - (PROMPT_INFERENCE_CONFIGURATION, 0), - (VECTOR_SEARCH_RERANKING_CONFIGURATION, 0), - (KNOWLEDGE_BASE_ORCHESTRATION_CONFIGURATION, 0), - ), -) - -FLOW_LAMBDA_ARN: StaticSchema = (3, n0, _FLA, 0) - -LAMBDA_FUNCTION_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LFFNC, - 0, - (_lA,), - ((FLOW_LAMBDA_ARN, {_smithya: _v_, _smi: None}),), -) - -FLOW_LEX_BOT_ALIAS_ARN: StaticSchema = (3, n0, _FLBAA, 0) - -FLOW_LEX_BOT_LOCALE_ID: StaticSchema = (3, n0, _FLBLI, 0) - -LEX_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LFNC, - 0, - (_bAA, _lI), - ( - (FLOW_LEX_BOT_ALIAS_ARN, {_smithya: _v_, _smi: None}), - (FLOW_LEX_BOT_LOCALE_ID, {_smithya: _v_, _smi: None}), - ), -) - -LOOP_CONTROLLER_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LCFNC, - 0, - (_cCon, _mIa), - ((FLOW_CONDITION, 1), (7, {_smithya: 10})), -) - -LOOP_INPUT_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _LIFNC, 0) - -OUTPUT_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _OFNC, 0) - -FLOW_PROMPT_MODEL_IDENTIFIER: StaticSchema = (3, n0, _FPMI, 0) - -PROMPT_INPUT_VARIABLE_NAME: StaticSchema = (3, n0, _PIVN, 0) - -PROMPT_INPUT_VARIABLE: StaticSchema = ( - 18, - n0, - _PIV, - 0, - (_na,), - ((PROMPT_INPUT_VARIABLE_NAME, 0),), -) - -PROMPT_INPUT_VARIABLES_LIST: StaticSchema = ( - 16, - n0, - _PIVL, - 4, - (_me,), - ((PROMPT_INPUT_VARIABLE, 0),), -) - -CACHE_POINT_TYPE: StaticSchema = (14, n0, _CPT, 0, (_DEFAULT,), ((-1, {_sV: _de}),)) - -CACHE_POINT_BLOCK: StaticSchema = (18, n0, _CPB, 0, (_t,), ((CACHE_POINT_TYPE, 1),)) - -CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _CB, - 4, - (_tex, _cPa), - ((3, 0), (CACHE_POINT_BLOCK, 0)), -) - -CONTENT_BLOCKS: StaticSchema = (16, n0, _CBo, 0, (_me,), ((CONTENT_BLOCK, 0),)) - -CONVERSATION_ROLE: StaticSchema = ( - 14, - n0, - _CR, - 0, - (_USER, _ASSISTANT), - ((-1, {_sV: _us}), (-1, {_sV: _as})), -) - -MESSAGE: StaticSchema = ( - 18, - n0, - _M, - 0, - (_ro, _cont), - ((CONVERSATION_ROLE, 1), (CONTENT_BLOCKS, 1)), -) - -MESSAGES: StaticSchema = (16, n0, _Me, 0, (_me,), ((MESSAGE, 0),)) - -NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) - -SYSTEM_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _SCB, - 4, - (_tex, _cPa), - ((NON_EMPTY_STRING, 0), (CACHE_POINT_BLOCK, 0)), -) - -SYSTEM_CONTENT_BLOCKS: StaticSchema = ( - 16, - n0, - _SCBy, - 0, - (_me,), - ((SYSTEM_CONTENT_BLOCK, 0),), -) - -ANY_TOOL_CHOICE: StaticSchema = (18, n0, _ATC, 0) - -AUTO_TOOL_CHOICE: StaticSchema = (18, n0, _ATCu, 0) - -TOOL_NAME: StaticSchema = (3, n0, _TN, 0) - -SPECIFIC_TOOL_CHOICE: StaticSchema = (18, n0, _STC, 0, (_na,), ((TOOL_NAME, 1),)) - -TOOL_CHOICE: StaticSchema = ( - 19, - n0, - _TCo, - 4, - (_au, _an, _to), - ((AUTO_TOOL_CHOICE, 0), (ANY_TOOL_CHOICE, 0), (SPECIFIC_TOOL_CHOICE, 0)), -) - -TOOL_INPUT_SCHEMA: StaticSchema = (19, n0, _TIS, 0, (_j,), ((13, 0),)) - -TOOL_SPECIFICATION: StaticSchema = ( - 18, - n0, - _TS, - 0, - (_na, _d, _iSn, _str), - ((TOOL_NAME, 1), (NON_EMPTY_STRING, 0), (TOOL_INPUT_SCHEMA, 1), (2, 0)), -) - -TOOL: StaticSchema = ( - 19, - n0, - _To, - 0, - (_tS, _cPa), - ((TOOL_SPECIFICATION, 0), (CACHE_POINT_BLOCK, 0)), -) - -TOOLS: StaticSchema = (16, n0, _Too, 4, (_me,), ((TOOL, 0),)) - -TOOL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TCoo, - 0, - (_too, _tC), - ((TOOLS, 1), (TOOL_CHOICE, 0)), -) - -CHAT_PROMPT_TEMPLATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CPTC, - 4, - (_mes, _sy, _iV, _tCo), - ( - (MESSAGES, 1), - (SYSTEM_CONTENT_BLOCKS, 0), - (PROMPT_INPUT_VARIABLES_LIST, 0), - (TOOL_CONFIGURATION, 0), - ), -) - -TEXT_PROMPT: StaticSchema = (3, n0, _TPe, 4) - -TEXT_PROMPT_TEMPLATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TPTC, - 4, - (_tex, _cPa, _iV), - ((TEXT_PROMPT, 1), (CACHE_POINT_BLOCK, 0), (PROMPT_INPUT_VARIABLES_LIST, 0)), -) - -PROMPT_TEMPLATE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _PTC, - 0, - (_tex, _ch), - ((TEXT_PROMPT_TEMPLATE_CONFIGURATION, 0), (CHAT_PROMPT_TEMPLATE_CONFIGURATION, 0)), -) - -PROMPT_TEMPLATE_TYPE: StaticSchema = ( - 14, - n0, - _PTT, - 0, - (_TEXT, _CHAT), - ((-1, {_sV: _TEXT}), (-1, {_sV: _CHAT})), -) - -PROMPT_FLOW_NODE_INLINE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PFNIC, - 0, - (_tT, _tCe, _mI, _iC, _aMRF), - ( - (PROMPT_TEMPLATE_TYPE, {_smithya: _TEXT, _smi: None}), - (PROMPT_TEMPLATE_CONFIGURATION, 1), - (FLOW_PROMPT_MODEL_IDENTIFIER, {_smithya: _v_, _smi: None}), - (PROMPT_INFERENCE_CONFIGURATION, 0), - (13, 0), - ), -) - -FLOW_PROMPT_ARN: StaticSchema = (3, n0, _FPA, 0) - -PROMPT_FLOW_NODE_RESOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PFNRC, - 0, - (_pAr,), - ((FLOW_PROMPT_ARN, {_smithya: _v_, _smi: None}),), -) - -PROMPT_FLOW_NODE_SOURCE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _PFNSC, - 0, - (_re, _inl), - ( - (PROMPT_FLOW_NODE_RESOURCE_CONFIGURATION, 0), - (PROMPT_FLOW_NODE_INLINE_CONFIGURATION, 0), - ), -) - -PROMPT_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PFNC, - 0, - (_sC, _gC), - ((PROMPT_FLOW_NODE_SOURCE_CONFIGURATION, 1), (GUARDRAIL_CONFIGURATION, 0)), -) - -FLOW_S3_BUCKET_NAME: StaticSchema = (3, n0, _FSBN, 0) - -RETRIEVAL_FLOW_NODE_S3_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RFNSC, - 0, - (_bN,), - ((FLOW_S3_BUCKET_NAME, {_smithya: _v_, _smi: None}),), -) - -RETRIEVAL_FLOW_NODE_SERVICE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _RFNSCe, - 0, - (_s_,), - ((RETRIEVAL_FLOW_NODE_S3_CONFIGURATION, 0),), -) - -RETRIEVAL_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RFNC, - 0, - (_sCe,), - ((RETRIEVAL_FLOW_NODE_SERVICE_CONFIGURATION, 1),), -) - -STORAGE_FLOW_NODE_S3_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SFNSC, - 0, - (_bN,), - ((FLOW_S3_BUCKET_NAME, {_smithya: _v_, _smi: None}),), -) - -STORAGE_FLOW_NODE_SERVICE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _SFNSCt, - 0, - (_s_,), - ((STORAGE_FLOW_NODE_S3_CONFIGURATION, 0),), -) - -STORAGE_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SFNC, - 0, - (_sCe,), - ((STORAGE_FLOW_NODE_SERVICE_CONFIGURATION, 1),), -) - -FLOW_NODE_INPUT_CATEGORY: StaticSchema = ( - 14, - n0, - _FNIC, - 0, - (_LC, _RVTLS, _EL), - ((-1, {_sV: _LCo}), (-1, {_sV: _RVTLSe}), (-1, {_sV: _ELx})), -) - -FLOW_NODE_INPUT_EXPRESSION: StaticSchema = (3, n0, _FNIE, 4) - -FLOW_NODE_IO_DATA_TYPE: StaticSchema = ( - 14, - n0, - _FNIODT, - 0, - (_STRING, _NUMBER, _BOOLEAN, _OBJECT, _ARRAY), - ( - (-1, {_sV: _St}), - (-1, {_sV: _Nu}), - (-1, {_sV: _B}), - (-1, {_sV: _O}), - (-1, {_sV: _Ar}), - ), -) - -FLOW_NODE_INPUT: StaticSchema = ( - 18, - n0, - _FNI, - 0, - (_na, _t, _ex, _ca), - ( - (FLOW_NODE_INPUT_NAME, 1), - (FLOW_NODE_IO_DATA_TYPE, 1), - (FLOW_NODE_INPUT_EXPRESSION, 1), - (FLOW_NODE_INPUT_CATEGORY, 0), - ), -) - -FLOW_NODE_INPUTS: StaticSchema = (16, n0, _FNIl, 0, (_me,), ((FLOW_NODE_INPUT, 0),)) - -FLOW_NODE_OUTPUT: StaticSchema = ( - 18, - n0, - _FNO, - 0, - (_na, _t), - ((FLOW_NODE_OUTPUT_NAME, 1), (FLOW_NODE_IO_DATA_TYPE, 1)), -) - -FLOW_NODE_OUTPUTS: StaticSchema = (16, n0, _FNOl, 0, (_me,), ((FLOW_NODE_OUTPUT, 0),)) - -FLOW_NODE_TYPE: StaticSchema = ( - 14, - n0, - _FNT, - 0, - ( - _INPUT, - _OUTPUT, - _KB, - _CONDITION, - _LEX, - _PROMPT, - _LF, - _STORAGE, - _AGENT, - _RETRIEVAL, - _ITERATOR, - _COLLECTOR, - _IC_, - _LOOP, - _LI, - _LC_, - ), - ( - (-1, {_sV: _Inp}), - (-1, {_sV: _Ou}), - (-1, {_sV: _KBn}), - (-1, {_sV: _Co}), - (-1, {_sV: _L}), - (-1, {_sV: _Pr}), - (-1, {_sV: _LFa}), - (-1, {_sV: _Sto}), - (-1, {_sV: _A}), - (-1, {_sV: _R}), - (-1, {_sV: _It}), - (-1, {_sV: _Col}), - (-1, {_sV: _ICn}), - (-1, {_sV: _Lo}), - (-1, {_sV: _LIo}), - (-1, {_sV: _LCoo}), - ), -) - -FLOW_DESCRIPTION: StaticSchema = (3, n0, _FDl, 0) - -FLOW_EXECUTION_ROLE_ARN: StaticSchema = (3, n0, _FERA, 0) - -FLOW_NAME: StaticSchema = (3, n0, _FN, 0) - -FLOW_ARN: StaticSchema = (3, n0, _FA, 0) - -FLOW_ID: StaticSchema = (3, n0, _FI, 0) - -FLOW_STATUS: StaticSchema = ( - 14, - n0, - _FSl, - 0, - (_FAILED, _PREPARED, _PREPARING, _NP), - ((-1, {_sV: _Fa}), (-1, {_sV: _Pre}), (-1, {_sV: _Prep}), (-1, {_sV: _NPo})), -) - -FLOW_IDENTIFIER: StaticSchema = (3, n0, _FIl, 0) - -DELETE_FLOW_INPUT: StaticSchema = ( - 18, - n0, - _DFI, - {_sSI: _cDFR, _smit: None}, - (_fI, _sRIUC), - ((FLOW_IDENTIFIER, 9), (2, {_smithya: False, _sQ: _sRIUC})), -) - -DELETE_FLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _DFO, - {_sSI: _cDFRo, _smith: None}, - (_id,), - ((FLOW_ID, 1),), -) - -DELETE_FLOW: StaticOperationSchema = ( - 23, - n0, - _DFe, - { - _smithy: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/flows/{flowIdentifier}/"} - ) - }, - DELETE_FLOW_INPUT, - DELETE_FLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONCURRENCY_TYPE: StaticSchema = ( - 14, - n0, - _CTo, - 0, - (_AUTOMATIC, _MANUAL), - ((-1, {_sV: _Au}), (-1, {_sV: _Ma})), -) - -FLOW_ALIAS_CONCURRENCY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FACC, - 0, - (_t, _mCa), - ((CONCURRENCY_TYPE, 1), (7, 0)), -) - -FLOW_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM: StaticSchema = ( - 18, - n0, - _FARCLI, - 0, - (_fV,), - ((VERSION, 0),), -) - -FLOW_ALIAS_ROUTING_CONFIGURATION: StaticSchema = ( - 16, - n0, - _FARC, - 0, - (_me,), - ((FLOW_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM, 0),), -) - -CREATE_FLOW_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _CFAI, - {_sSI: _cCFAR, _smit: None}, - (_na, _d, _rCo, _cConc, _fI, _cT, _ta), - ( - (NAME, 1), - (DESCRIPTION, 0), - (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), - (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), - (FLOW_IDENTIFIER, 9), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - ), -) - -FLOW_ALIAS_ARN: StaticSchema = (3, n0, _FAA, 0) - -FLOW_ALIAS_ID: StaticSchema = (3, n0, _FAI, 0) - -CREATE_FLOW_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _CFAO, - {_sSI: _cCFARo, _smith: None}, - (_na, _d, _rCo, _cConc, _fIl, _id, _ar, _cA, _uA), - ( - (NAME, 1), - (DESCRIPTION, 0), - (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), - (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), - (FLOW_ID, 1), - (FLOW_ALIAS_ID, 1), - (FLOW_ALIAS_ARN, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -CREATE_FLOW_ALIAS: StaticOperationSchema = ( - 23, - n0, - _CFA, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/flows/{flowIdentifier}/aliases"} - ) - }, - CREATE_FLOW_ALIAS_INPUT, - CREATE_FLOW_ALIAS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FLOW_ALIAS_IDENTIFIER: StaticSchema = (3, n0, _FAIl, 0) - -DELETE_FLOW_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _DFAI, - {_sSI: _cDFAR, _smit: None}, - (_fI, _aIl), - ((FLOW_IDENTIFIER, 9), (FLOW_ALIAS_IDENTIFIER, 9)), -) - -DELETE_FLOW_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _DFAO, - {_sSI: _cDFARo, _smith: None}, - (_fIl, _id), - ((FLOW_ID, 1), (FLOW_ALIAS_ID, 1)), -) - -DELETE_FLOW_ALIAS: StaticOperationSchema = ( - 23, - n0, - _DFA, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", - } - ) - }, - DELETE_FLOW_ALIAS_INPUT, - DELETE_FLOW_ALIAS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_FLOW_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _GFAI, - {_sSI: _cGFAR, _smit: None}, - (_fI, _aIl), - ((FLOW_IDENTIFIER, 9), (FLOW_ALIAS_IDENTIFIER, 9)), -) - -GET_FLOW_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _GFAO, - {_sSI: _cGFARo, _smith: None}, - (_na, _d, _rCo, _cConc, _fIl, _id, _ar, _cA, _uA), - ( - (NAME, 1), - (DESCRIPTION, 0), - (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), - (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), - (FLOW_ID, 1), - (FLOW_ALIAS_ID, 1), - (FLOW_ALIAS_ARN, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -GET_FLOW_ALIAS: StaticOperationSchema = ( - 23, - n0, - _GFA, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", - } - ) - }, - GET_FLOW_ALIAS_INPUT, - GET_FLOW_ALIAS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_FLOW_ALIASES_INPUT: StaticSchema = ( - 18, - n0, - _LFAI, - {_sSI: _cLFAR, _smit: None}, - (_fI, _mR, _nT), - ((FLOW_IDENTIFIER, 9), (MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -FLOW_ALIAS_SUMMARY: StaticSchema = ( - 18, - n0, - _FAS, - 0, - (_na, _d, _rCo, _cConc, _fIl, _id, _ar, _cA, _uA), - ( - (NAME, 1), - (DESCRIPTION, 0), - (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), - (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), - (FLOW_ID, 1), - (FLOW_ALIAS_ID, 1), - (FLOW_ALIAS_ARN, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -FLOW_ALIAS_SUMMARIES: StaticSchema = ( - 16, - n0, - _FASl, - 0, - (_me,), - ((FLOW_ALIAS_SUMMARY, 0),), -) - -LIST_FLOW_ALIASES_OUTPUT: StaticSchema = ( - 18, - n0, - _LFAO, - {_sSI: _cLFARo, _smith: None}, - (_fAS, _nT), - ((FLOW_ALIAS_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_FLOW_ALIASES: StaticOperationSchema = ( - 23, - n0, - _LFA, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/flows/{flowIdentifier}/aliases"} - ) - }, - LIST_FLOW_ALIASES_INPUT, - LIST_FLOW_ALIASES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_FLOW_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _UFAI, - {_sSI: _cUFAR, _smit: None}, - (_na, _d, _rCo, _cConc, _fI, _aIl), - ( - (NAME, 1), - (DESCRIPTION, 0), - (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), - (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), - (FLOW_IDENTIFIER, 9), - (FLOW_ALIAS_IDENTIFIER, 9), - ), -) - -UPDATE_FLOW_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _UFAO, - {_sSI: _cUFARo, _smith: None}, - (_na, _d, _rCo, _cConc, _fIl, _id, _ar, _cA, _uA), - ( - (NAME, 1), - (DESCRIPTION, 0), - (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), - (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), - (FLOW_ID, 1), - (FLOW_ALIAS_ID, 1), - (FLOW_ALIAS_ARN, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -UPDATE_FLOW_ALIAS: StaticOperationSchema = ( - 23, - n0, - _UFA, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", - } - ) - }, - UPDATE_FLOW_ALIAS_INPUT, - UPDATE_FLOW_ALIAS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_FLOW_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CFVI, - {_sSI: _cCFVR, _smit: None}, - (_fI, _d, _cT), - ((FLOW_IDENTIFIER, 9), (FLOW_DESCRIPTION, 0), (CLIENT_TOKEN, 2)), -) - -DELETE_FLOW_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _DFVI, - {_sSI: _cDFVR, _smit: None}, - (_fI, _fV, _sRIUC), - ((FLOW_IDENTIFIER, 9), (NUMERICAL_VERSION, 9), (2, {_smithya: False, _sQ: _sRIUC})), -) - -DELETE_FLOW_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DFVO, - {_sSI: _cDFVRo, _smith: None}, - (_id, _ve), - ((ID, 1), (NUMERICAL_VERSION, 1)), -) - -DELETE_FLOW_VERSION: StaticOperationSchema = ( - 23, - n0, - _DFV, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/flows/{flowIdentifier}/versions/{flowVersion}/", - } - ) - }, - DELETE_FLOW_VERSION_INPUT, - DELETE_FLOW_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INCLUDED_DATA: StaticSchema = ( - 14, - n0, - _ID, - 0, - (_AD_, _MO), - ((-1, {_sV: _AD_}), (-1, {_sV: _MO})), -) - -GET_FLOW_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _GFVI, - {_sSI: _cGFVR, _smit: None}, - (_fI, _fV, _iD), - ((FLOW_IDENTIFIER, 9), (NUMERICAL_VERSION, 9), (INCLUDED_DATA, {_sQ: _iD})), -) - -LIST_FLOW_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LFVI, - {_sSI: _cLFVR, _smit: None}, - (_fI, _mR, _nT), - ((FLOW_IDENTIFIER, 9), (MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -FLOW_VERSION_SUMMARY: StaticSchema = ( - 18, - n0, - _FVS, - 0, - (_id, _ar, _sta, _cA, _ve), - ( - (FLOW_ID, 1), - (FLOW_ARN, 1), - (FLOW_STATUS, 1), - (DATE_TIMESTAMP, 1), - (NUMERICAL_VERSION, 1), - ), -) - -FLOW_VERSION_SUMMARIES: StaticSchema = ( - 16, - n0, - _FVSl, - 0, - (_me,), - ((FLOW_VERSION_SUMMARY, 0),), -) - -LIST_FLOW_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFVO, - {_sSI: _cLFVRo, _smith: None}, - (_fVS, _nT), - ((FLOW_VERSION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_FLOW_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LFV, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/flows/{flowIdentifier}/versions"} - ) - }, - LIST_FLOW_VERSIONS_INPUT, - LIST_FLOW_VERSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_FLOW_INPUT: StaticSchema = ( - 18, - n0, - _GFI, - {_sSI: _cGFR, _smit: None}, - (_fI, _iD), - ((FLOW_IDENTIFIER, 9), (INCLUDED_DATA, {_sQ: _iD})), -) - -CYCLIC_CONNECTION_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _CCFVD, - 0, - (_conn,), - ((FLOW_CONNECTION_NAME, 1),), -) - -DUPLICATE_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _DCEFVD, - 0, - (_no, _ex), - ((FLOW_NODE_NAME, 1), (FLOW_CONDITION_EXPRESSION, 1)), -) - -DUPLICATE_CONNECTIONS_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _DCFVD, - 0, - (_so, _tar), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_NAME, 1)), -) - -INCOMPATIBLE_CONNECTION_DATA_TYPE_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _ICDTFVD, - 0, - (_conn,), - ((FLOW_CONNECTION_NAME, 1),), -) - -INVALID_LOOP_BOUNDARY_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _ILBFVD, - 0, - (_conn, _so, _tar), - ((FLOW_CONNECTION_NAME, 1), (FLOW_NODE_NAME, 1), (FLOW_NODE_NAME, 1)), -) - -INCOMPATIBLE_LOOP_NODE_TYPE: StaticSchema = ( - 14, - n0, - _ILNT, - 0, - (_INPUT, _CONDITION, _ITERATOR, _COLLECTOR), - ((-1, {_sV: _Inp}), (-1, {_sV: _Co}), (-1, {_sV: _It}), (-1, {_sV: _Col})), -) - -LOOP_INCOMPATIBLE_NODE_TYPE_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _LINTFVD, - 0, - (_no, _iNT, _iNN), - ((FLOW_NODE_NAME, 1), (INCOMPATIBLE_LOOP_NODE_TYPE, 1), (FLOW_NODE_NAME, 1)), -) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -MALFORMED_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MCEFVD, - 0, - (_no, _co, _cau), - ((FLOW_NODE_NAME, 1), (FLOW_CONDITION_NAME, 1), (ERROR_MESSAGE, 1)), -) - -MALFORMED_NODE_INPUT_EXPRESSION_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MNIEFVD, - 0, - (_no, _inp, _cau), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_INPUT_NAME, 1), (ERROR_MESSAGE, 1)), -) - -MISMATCHED_NODE_INPUT_TYPE_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MNITFVD, - 0, - (_no, _inp, _eT), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_INPUT_NAME, 1), (FLOW_NODE_IO_DATA_TYPE, 1)), -) - -MISMATCHED_NODE_OUTPUT_TYPE_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MNOTFVD, - 0, - (_no, _ou, _eT), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_OUTPUT_NAME, 1), (FLOW_NODE_IO_DATA_TYPE, 1)), -) - -MISSING_CONNECTION_CONFIGURATION_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MCCFVD, - 0, - (_conn,), - ((FLOW_CONNECTION_NAME, 1),), -) - -MISSING_DEFAULT_CONDITION_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MDCFVD, - 0, - (_no,), - ((FLOW_NODE_NAME, 1),), -) - -MISSING_ENDING_NODES_FLOW_VALIDATION_DETAILS: StaticSchema = (18, n0, _MENFVD, 0) - -MISSING_LOOP_CONTROLLER_NODE_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MLCNFVD, - 0, - (_lN,), - ((FLOW_NODE_NAME, 1),), -) - -MISSING_LOOP_INPUT_NODE_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MLINFVD, - 0, - (_lN,), - ((FLOW_NODE_NAME, 1),), -) - -MISSING_NODE_CONFIGURATION_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MNCFVD, - 0, - (_no,), - ((FLOW_NODE_NAME, 1),), -) - -MISSING_NODE_INPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MNIFVD, - 0, - (_no, _inp), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_INPUT_NAME, 1)), -) - -MISSING_NODE_OUTPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MNOFVD, - 0, - (_no, _ou), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_OUTPUT_NAME, 1)), -) - -MISSING_STARTING_NODES_FLOW_VALIDATION_DETAILS: StaticSchema = (18, n0, _MSNFVD, 0) - -MULTIPLE_LOOP_CONTROLLER_NODES_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MLCNFVDu, - 0, - (_lN,), - ((FLOW_NODE_NAME, 1),), -) - -MULTIPLE_LOOP_INPUT_NODES_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MLINFVDu, - 0, - (_lN,), - ((FLOW_NODE_NAME, 1),), -) - -MULTIPLE_NODE_INPUT_CONNECTIONS_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _MNICFVD, - 0, - (_no, _inp), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_INPUT_NAME, 1)), -) - -UNFULFILLED_NODE_INPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UNIFVD, - 0, - (_no, _inp), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_INPUT_NAME, 1)), -) - -UNKNOWN_CONNECTION_CONDITION_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UCCFVD, - 0, - (_conn,), - ((FLOW_CONNECTION_NAME, 1),), -) - -UNKNOWN_CONNECTION_SOURCE_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UCSFVD, - 0, - (_conn,), - ((FLOW_CONNECTION_NAME, 1),), -) - -UNKNOWN_CONNECTION_SOURCE_OUTPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UCSOFVD, - 0, - (_conn,), - ((FLOW_CONNECTION_NAME, 1),), -) - -UNKNOWN_CONNECTION_TARGET_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UCTFVD, - 0, - (_conn,), - ((FLOW_CONNECTION_NAME, 1),), -) - -UNKNOWN_CONNECTION_TARGET_INPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UCTIFVD, - 0, - (_conn,), - ((FLOW_CONNECTION_NAME, 1),), -) - -UNKNOWN_NODE_INPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UNIFVDn, - 0, - (_no, _inp), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_INPUT_NAME, 1)), -) - -UNKNOWN_NODE_OUTPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UNOFVD, - 0, - (_no, _ou), - ((FLOW_NODE_NAME, 1), (FLOW_NODE_OUTPUT_NAME, 1)), -) - -UNREACHABLE_NODE_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UNFVD, - 0, - (_no,), - ((FLOW_NODE_NAME, 1),), -) - -UNSATISFIED_CONNECTION_CONDITIONS_FLOW_VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _UCCFVDn, - 0, - (_conn,), - ((FLOW_CONNECTION_NAME, 1),), -) - -UNSPECIFIED_FLOW_VALIDATION_DETAILS: StaticSchema = (18, n0, _UFVD, 0) - -FLOW_VALIDATION_DETAILS: StaticSchema = ( - 19, - n0, - _FVD, - 0, - ( - _cCy, - _dC, - _dCE, - _uN, - _uCS, - _uCSO, - _uCT, - _uCTI, - _uCC, - _mCE, - _mNIE, - _mNIT, - _mNOT, - _iCDT, - _mCC, - _mDC, - _mEN, - _mNC, - _mNI, - _mNO, - _mSN, - _mNIC, - _uNI, - _uCCn, - _un, - _uNIn, - _uNO, - _mLIN, - _mLCN, - _mLINu, - _mLCNu, - _lINT, - _iLB, - ), - ( - (CYCLIC_CONNECTION_FLOW_VALIDATION_DETAILS, 0), - (DUPLICATE_CONNECTIONS_FLOW_VALIDATION_DETAILS, 0), - (DUPLICATE_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS, 0), - (UNREACHABLE_NODE_FLOW_VALIDATION_DETAILS, 0), - (UNKNOWN_CONNECTION_SOURCE_FLOW_VALIDATION_DETAILS, 0), - (UNKNOWN_CONNECTION_SOURCE_OUTPUT_FLOW_VALIDATION_DETAILS, 0), - (UNKNOWN_CONNECTION_TARGET_FLOW_VALIDATION_DETAILS, 0), - (UNKNOWN_CONNECTION_TARGET_INPUT_FLOW_VALIDATION_DETAILS, 0), - (UNKNOWN_CONNECTION_CONDITION_FLOW_VALIDATION_DETAILS, 0), - (MALFORMED_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS, 0), - (MALFORMED_NODE_INPUT_EXPRESSION_FLOW_VALIDATION_DETAILS, 0), - (MISMATCHED_NODE_INPUT_TYPE_FLOW_VALIDATION_DETAILS, 0), - (MISMATCHED_NODE_OUTPUT_TYPE_FLOW_VALIDATION_DETAILS, 0), - (INCOMPATIBLE_CONNECTION_DATA_TYPE_FLOW_VALIDATION_DETAILS, 0), - (MISSING_CONNECTION_CONFIGURATION_FLOW_VALIDATION_DETAILS, 0), - (MISSING_DEFAULT_CONDITION_FLOW_VALIDATION_DETAILS, 0), - (MISSING_ENDING_NODES_FLOW_VALIDATION_DETAILS, 0), - (MISSING_NODE_CONFIGURATION_FLOW_VALIDATION_DETAILS, 0), - (MISSING_NODE_INPUT_FLOW_VALIDATION_DETAILS, 0), - (MISSING_NODE_OUTPUT_FLOW_VALIDATION_DETAILS, 0), - (MISSING_STARTING_NODES_FLOW_VALIDATION_DETAILS, 0), - (MULTIPLE_NODE_INPUT_CONNECTIONS_FLOW_VALIDATION_DETAILS, 0), - (UNFULFILLED_NODE_INPUT_FLOW_VALIDATION_DETAILS, 0), - (UNSATISFIED_CONNECTION_CONDITIONS_FLOW_VALIDATION_DETAILS, 0), - (UNSPECIFIED_FLOW_VALIDATION_DETAILS, 0), - (UNKNOWN_NODE_INPUT_FLOW_VALIDATION_DETAILS, 0), - (UNKNOWN_NODE_OUTPUT_FLOW_VALIDATION_DETAILS, 0), - (MISSING_LOOP_INPUT_NODE_FLOW_VALIDATION_DETAILS, 0), - (MISSING_LOOP_CONTROLLER_NODE_FLOW_VALIDATION_DETAILS, 0), - (MULTIPLE_LOOP_INPUT_NODES_FLOW_VALIDATION_DETAILS, 0), - (MULTIPLE_LOOP_CONTROLLER_NODES_FLOW_VALIDATION_DETAILS, 0), - (LOOP_INCOMPATIBLE_NODE_TYPE_FLOW_VALIDATION_DETAILS, 0), - (INVALID_LOOP_BOUNDARY_FLOW_VALIDATION_DETAILS, 0), - ), -) - -FLOW_VALIDATION_SEVERITY: StaticSchema = ( - 14, - n0, - _FVSlo, - 0, - (_WARNING, _ERROR), - ((-1, {_sV: _W}), (-1, {_sV: _E})), -) - -FLOW_VALIDATION_TYPE: StaticSchema = ( - 14, - n0, - _FVT, - 0, - ( - _CC_, - _DC, - _DCE, - _UN, - _UCS, - _UCSO, - _UCT, - _UCTI, - _UCC, - _MCE, - _MNIE, - _MNIT, - _MNOT, - _ICDT, - _MCC, - _MDC, - _MEN, - _MNC, - _MNI, - _MNO, - _MSN, - _MNIC, - _UNI, - _UCC_, - _UNSPECIFIED, - _UNI_, - _UNO, - _MLIN, - _MLCN, - _MLIN_, - _MLCN_, - _LINT, - _ILB, - ), - ( - (-1, {_sV: _CCy}), - (-1, {_sV: _DCu}), - (-1, {_sV: _DCEu}), - (-1, {_sV: _UNn}), - (-1, {_sV: _UCSn}), - (-1, {_sV: _UCSOn}), - (-1, {_sV: _UCTn}), - (-1, {_sV: _UCTIn}), - (-1, {_sV: _UCCn}), - (-1, {_sV: _MCEa}), - (-1, {_sV: _MNIEa}), - (-1, {_sV: _MNITi}), - (-1, {_sV: _MNOTi}), - (-1, {_sV: _ICDTn}), - (-1, {_sV: _MCCi}), - (-1, {_sV: _MDCi}), - (-1, {_sV: _MENi}), - (-1, {_sV: _MNCi}), - (-1, {_sV: _MNIi}), - (-1, {_sV: _MNOi}), - (-1, {_sV: _MSNi}), - (-1, {_sV: _MNICu}), - (-1, {_sV: _UNIn}), - (-1, {_sV: _UCCns}), - (-1, {_sV: _Un}), - (-1, {_sV: _UNInk}), - (-1, {_sV: _UNOn}), - (-1, {_sV: _MLINi}), - (-1, {_sV: _MLCNi}), - (-1, {_sV: _MLINu}), - (-1, {_sV: _MLCNu}), - (-1, {_sV: _LINTo}), - (-1, {_sV: _ILBn}), - ), -) - -FLOW_VALIDATION: StaticSchema = ( - 18, - n0, - _FV, - 0, - (_m, _sev, _det, _t), - ( - (NON_BLANK_STRING, 1), - (FLOW_VALIDATION_SEVERITY, 1), - (FLOW_VALIDATION_DETAILS, 0), - (FLOW_VALIDATION_TYPE, 0), - ), -) - -FLOW_VALIDATIONS: StaticSchema = (16, n0, _FVl, 0, (_me,), ((FLOW_VALIDATION, 0),)) - -LIST_FLOWS_INPUT: StaticSchema = ( - 18, - n0, - _LFI, - {_sSI: _cLFR, _smit: None}, - (_mR, _nT), - ((MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -FLOW_SUMMARY: StaticSchema = ( - 18, - n0, - _FSlo, - 0, - (_na, _d, _id, _ar, _sta, _cA, _uA, _ve), - ( - (FLOW_NAME, 1), - (FLOW_DESCRIPTION, 0), - (FLOW_ID, 1), - (FLOW_ARN, 1), - (FLOW_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DRAFT_VERSION, 1), - ), -) - -FLOW_SUMMARIES: StaticSchema = (16, n0, _FSlow, 0, (_me,), ((FLOW_SUMMARY, 0),)) - -LIST_FLOWS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFO, - {_sSI: _cLFRo, _smith: None}, - (_fSl, _nT), - ((FLOW_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_FLOWS: StaticOperationSchema = ( - 23, - n0, - _LFi, - {_smithy: MappingProxyType({"code": 200, "method": "GET", "uri": "/flows/"})}, - LIST_FLOWS_INPUT, - LIST_FLOWS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PREPARE_FLOW_INPUT: StaticSchema = ( - 18, - n0, - _PFI, - {_sSI: _cPFR, _smit: None}, - (_fI,), - ((FLOW_IDENTIFIER, 9),), -) - -PREPARE_FLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _PFO, - {_sSI: _cPFRo, _smith: None}, - (_id, _sta), - ((FLOW_ID, 1), (FLOW_STATUS, 1)), -) - -PREPARE_FLOW: StaticOperationSchema = ( - 23, - n0, - _PF, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/flows/{flowIdentifier}/"} - ) - }, - PREPARE_FLOW_INPUT, - PREPARE_FLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_sSI: _cGRPR, _smit: None}, - (_rAe,), - ((RESOURCE_ARN, 9),), -) - -RESOURCE_POLICY: StaticSchema = (3, n0, _RP, {_sTm: _ap}) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_sSI: _cGRPRo, _smith: None}, - (_rAe, _pol, _rI), - ((RESOURCE_ARN, 1), (RESOURCE_POLICY, 1), (REVISION_ID, 1)), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/resourcepolicy/{resourceArn}"} - ) - }, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_VPC_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GVCI, - {_sSI: _cGVCR, _smit: None}, - (_kBI, _vCI), - ((ID, 9), (VPC_CONFIGURATION_ID, 9)), -) - -VPC_CONFIGURATION_STATUS_MESSAGE: StaticSchema = (3, n0, _VCSM, 0) - -VPC_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VC, - 0, - (_vCI, _sta, _sMt, _vI, _sI, _rT, _po, _pr, _rM, _hH, _tSN, _na, _d, _cA, _uA), - ( - (VPC_CONFIGURATION_ID, 1), - (VPC_CONFIGURATION_STATUS, 1), - (VPC_CONFIGURATION_STATUS_MESSAGE, 0), - (VPC_ID, 1), - (SUBNET_ID_LIST, 1), - (RESOURCE_TARGET, 1), - (PORT, 1), - (VPC_PROTOCOL, 1), - (VPC_RESOLUTION_MODE, 1), - (HOST_HEADER, 0), - (TLS_SERVER_NAME, 0), - (VPC_CONFIGURATION_NAME, 0), - (VPC_CONFIGURATION_DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -GET_VPC_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GVCO, - {_sSI: _cGVCRo, _smith: None}, - (_vC,), - ((VPC_CONFIGURATION, 1),), -) - -GET_VPC_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GVC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", - } - ) - }, - GET_VPC_CONFIGURATION_INPUT, - GET_VPC_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_INGESTION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _GIJI, - {_sSI: _cGIJR, _smit: None}, - (_kBI, _dSI, _iJI), - ((ID, 9), (ID, 9), (ID, 9)), -) - -INGESTION_JOB_STATISTICS: StaticSchema = ( - 18, - n0, - _IJS, - 0, - (_nODS, _nOMDS, _nONDI, _nOMDI, _nOMDM, _nODD, _nODF, _nODSu), - ( - (8, {_smithya: 0}), - (8, {_smithya: 0}), - (8, {_smithya: 0}), - (8, {_smithya: 0}), - (8, {_smithya: 0}), - (8, {_smithya: 0}), - (8, {_smithya: 0}), - (8, {_smithya: 0}), - ), -) - -INGESTION_JOB_STATUS: StaticSchema = ( - 14, - n0, - _IJSn, - 0, - (_STARTING, _IP, _COMPLETE, _FAILED, _STOPPING, _STOPPED), - ( - (-1, {_sV: _STARTING}), - (-1, {_sV: _IP}), - (-1, {_sV: _COMPLETE}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _STOPPING}), - (-1, {_sV: _STOPPED}), - ), -) - -INGESTION_JOB: StaticSchema = ( - 18, - n0, - _IJ, - 0, - (_kBI, _dSI, _iJI, _d, _sta, _stat, _fR, _sA, _uA, _tRA), - ( - (ID, 1), - (ID, 1), - (ID, 1), - (DESCRIPTION, 0), - (INGESTION_JOB_STATUS, 1), - (INGESTION_JOB_STATISTICS, 0), - (FAILURE_REASONS, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - ), -) - -GET_INGESTION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _GIJO, - {_sSI: _cGIJRo, _smith: None}, - (_iJ,), - ((INGESTION_JOB, 1),), -) - -GET_INGESTION_JOB: StaticOperationSchema = ( - 23, - n0, - _GIJ, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}", - } - ) - }, - GET_INGESTION_JOB_INPUT, - GET_INGESTION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INGESTION_JOB_FILTER_ATTRIBUTE: StaticSchema = ( - 14, - n0, - _IJFA, - 0, - (_STATUS,), - ((-1, {_sV: _STATUS}),), -) - -INGESTION_JOB_FILTER_OPERATOR: StaticSchema = ( - 14, - n0, - _IJFO, - 0, - (_EQ,), - ((-1, {_sV: _EQ}),), -) - -INGESTION_JOB_FILTER_VALUE: StaticSchema = (3, n0, _IJFV, 0) - -INGESTION_JOB_FILTER_VALUES: StaticSchema = ( - 16, - n0, - _IJFVn, - 0, - (_me,), - ((INGESTION_JOB_FILTER_VALUE, 0),), -) - -INGESTION_JOB_FILTER: StaticSchema = ( - 18, - n0, - _IJF, - 0, - (_at, _op, _va), - ( - (INGESTION_JOB_FILTER_ATTRIBUTE, 1), - (INGESTION_JOB_FILTER_OPERATOR, 1), - (INGESTION_JOB_FILTER_VALUES, 1), - ), -) - -INGESTION_JOB_FILTERS: StaticSchema = ( - 16, - n0, - _IJFn, - 0, - (_me,), - ((INGESTION_JOB_FILTER, 0),), -) - -INGESTION_JOB_SORT_BY_ATTRIBUTE: StaticSchema = ( - 14, - n0, - _IJSBA, - 0, - (_STATUS, _SA_), - ((-1, {_sV: _STATUS}), (-1, {_sV: _SA_})), -) - -SORT_ORDER: StaticSchema = ( - 14, - n0, - _SO, - 0, - (_ASCENDING, _DESCENDING), - ((-1, {_sV: _ASCENDING}), (-1, {_sV: _DESCENDING})), -) - -INGESTION_JOB_SORT_BY: StaticSchema = ( - 18, - n0, - _IJSB, - 0, - (_at, _or), - ((INGESTION_JOB_SORT_BY_ATTRIBUTE, 1), (SORT_ORDER, 1)), -) - -LIST_INGESTION_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LIJI, - {_sSI: _cLIJR, _smit: None}, - (_kBI, _dSI, _fi, _sB, _mR, _nT), - ( - (ID, 9), - (ID, 9), - (INGESTION_JOB_FILTERS, 0), - (INGESTION_JOB_SORT_BY, 0), - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -INGESTION_JOB_SUMMARY: StaticSchema = ( - 18, - n0, - _IJSng, - 0, - (_kBI, _dSI, _iJI, _d, _sta, _sA, _uA, _tRA, _stat), - ( - (ID, 1), - (ID, 1), - (ID, 1), - (DESCRIPTION, 0), - (INGESTION_JOB_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - (INGESTION_JOB_STATISTICS, 0), - ), -) - -INGESTION_JOB_SUMMARIES: StaticSchema = ( - 16, - n0, - _IJSnge, - 0, - (_me,), - ((INGESTION_JOB_SUMMARY, 0),), -) - -LIST_INGESTION_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIJO, - {_sSI: _cLIJRo, _smith: None}, - (_iJS, _nT), - ((INGESTION_JOB_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_INGESTION_JOBS: StaticOperationSchema = ( - 23, - n0, - _LIJ, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", - } - ) - }, - LIST_INGESTION_JOBS_INPUT, - LIST_INGESTION_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -START_INGESTION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SIJI, - {_sSI: _cSIJR, _smit: None}, - (_kBI, _dSI, _cT, _d), - ((ID, 9), (ID, 9), (CLIENT_TOKEN, 2), (DESCRIPTION, 0)), -) - -START_INGESTION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SIJO, - {_sSI: _cSIJRo, _smith: None}, - (_iJ,), - ((INGESTION_JOB, 1),), -) - -START_INGESTION_JOB: StaticOperationSchema = ( - 23, - n0, - _SIJ, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "PUT", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", - } - ) - }, - START_INGESTION_JOB_INPUT, - START_INGESTION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_INGESTION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SIJIt, - {_sSI: _cSIJRom, _smit: None}, - (_kBI, _dSI, _iJI), - ((ID, 9), (ID, 9), (ID, 9)), -) - -STOP_INGESTION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SIJOt, - {_sSI: _cSIJRoma, _smith: None}, - (_iJ,), - ((INGESTION_JOB, 1),), -) - -STOP_INGESTION_JOB: StaticOperationSchema = ( - 23, - n0, - _SIJt, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}/stop", - } - ) - }, - STOP_INGESTION_JOB_INPUT, - STOP_INGESTION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CUSTOM_DOCUMENT_IDENTIFIER: StaticSchema = (18, n0, _CDI, 0, (_id,), ((3, 1),)) - -CONTENT_DATA_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _CDST, - 0, - (_CUSTOM, _S), - ((-1, {_sV: _CUSTOM}), (-1, {_sV: _S})), -) - -DOCUMENT_IDENTIFIER: StaticSchema = ( - 18, - n0, - _DI, - 0, - (_dST, _s_, _cu), - ((CONTENT_DATA_SOURCE_TYPE, 1), (S3_LOCATION, 0), (CUSTOM_DOCUMENT_IDENTIFIER, 0)), -) - -DOCUMENT_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _DIo, - 0, - (_me,), - ((DOCUMENT_IDENTIFIER, 0),), -) - -DELETE_KNOWLEDGE_BASE_DOCUMENTS_INPUT: StaticSchema = ( - 18, - n0, - _DKBDI, - {_sSI: _cDKBDR, _smit: None}, - (_kBI, _dSI, _cT, _dI), - ((ID, 9), (ID, 9), (CLIENT_TOKEN, 2), (DOCUMENT_IDENTIFIERS, 1)), -) - -DOCUMENT_STATUS: StaticSchema = ( - 14, - n0, - _DSo, - 0, - ( - _INDEXED, - _PI, - _PENDING, - _FAILED, - _MPI, - _MUF, - _IGNORED, - _NF, - _STARTING, - _IP, - _DELETING, - _DIP, - ), - ( - (-1, {_sV: _INDEXED}), - (-1, {_sV: _PI}), - (-1, {_sV: _PENDING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _MPI}), - (-1, {_sV: _MUF}), - (-1, {_sV: _IGNORED}), - (-1, {_sV: _NF}), - (-1, {_sV: _STARTING}), - (-1, {_sV: _IP}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _DIP}), - ), -) - -KNOWLEDGE_BASE_DOCUMENT_DETAIL: StaticSchema = ( - 18, - n0, - _KBDD, - 0, - (_kBI, _dSI, _sta, _ide, _sR, _uA), - ( - (ID, 1), - (ID, 1), - (DOCUMENT_STATUS, 1), - (DOCUMENT_IDENTIFIER, 1), - (3, 0), - (DATE_TIMESTAMP, 0), - ), -) - -KNOWLEDGE_BASE_DOCUMENT_DETAILS: StaticSchema = ( - 16, - n0, - _KBDDn, - 0, - (_me,), - ((KNOWLEDGE_BASE_DOCUMENT_DETAIL, 0),), -) - -DELETE_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DKBDO, - {_sSI: _cDKBDRo, _smith: None}, - (_dD,), - ((KNOWLEDGE_BASE_DOCUMENT_DETAILS, 0),), -) - -DELETE_KNOWLEDGE_BASE_DOCUMENTS: StaticOperationSchema = ( - 23, - n0, - _DKBD, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/deleteDocuments", - } - ) - }, - DELETE_KNOWLEDGE_BASE_DOCUMENTS_INPUT, - DELETE_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_KNOWLEDGE_BASE_DOCUMENTS_INPUT: StaticSchema = ( - 18, - n0, - _GKBDI, - {_sSI: _cGKBDR, _smit: None}, - (_kBI, _dSI, _dI), - ((ID, 9), (ID, 9), (DOCUMENT_IDENTIFIERS, 1)), -) - -GET_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _GKBDO, - {_sSI: _cGKBDRo, _smith: None}, - (_dD,), - ((KNOWLEDGE_BASE_DOCUMENT_DETAILS, 0),), -) - -GET_KNOWLEDGE_BASE_DOCUMENTS: StaticOperationSchema = ( - 23, - n0, - _GKBD, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/getDocuments", - } - ) - }, - GET_KNOWLEDGE_BASE_DOCUMENTS_INPUT, - GET_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BYTE_CONTENT_BLOB: StaticSchema = (1, n0, _BCB, 4) - -BYTE_CONTENT_DOC: StaticSchema = ( - 18, - n0, - _BCD, - 0, - (_mTi, _dat), - ((3, 1), (BYTE_CONTENT_BLOB, 1)), -) - -DATA: StaticSchema = (3, n0, _Da, 4) - -TEXT_CONTENT_DOC: StaticSchema = (18, n0, _TCD, 0, (_dat,), ((DATA, 1),)) - -INLINE_CONTENT_TYPE: StaticSchema = ( - 14, - n0, - _ICT, - 0, - (_BYTE, _TEXT), - ((-1, {_sV: _BYTE}), (-1, {_sV: _TEXT})), -) - -INLINE_CONTENT: StaticSchema = ( - 18, - n0, - _ICnl, - 0, - (_t, _bC, _tCex), - ((INLINE_CONTENT_TYPE, 1), (BYTE_CONTENT_DOC, 0), (TEXT_CONTENT_DOC, 0)), -) - -S3_OBJECT_URI: StaticSchema = (3, n0, _SOU, 0) - -CUSTOM_S3_LOCATION: StaticSchema = ( - 18, - n0, - _CSL, - 0, - (_ur, _bOAI), - ((S3_OBJECT_URI, 1), (BUCKET_OWNER_ACCOUNT_ID, 0)), -) - -CUSTOM_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _CST, - 0, - (_IL, _SL_), - ((-1, {_sV: _IL}), (-1, {_sV: _SL_})), -) - -CUSTOM_CONTENT: StaticSchema = ( - 18, - n0, - _CCu, - 0, - (_cDI, _sTo, _sLo, _iCnl), - ( - (CUSTOM_DOCUMENT_IDENTIFIER, 1), - (CUSTOM_SOURCE_TYPE, 1), - (CUSTOM_S3_LOCATION, 0), - (INLINE_CONTENT, 0), - ), -) - -S3_CONTENT: StaticSchema = (18, n0, _SC, 0, (_sLo,), ((S3_LOCATION, 1),)) - -DOCUMENT_CONTENT: StaticSchema = ( - 18, - n0, - _DCo, - 0, - (_dST, _cu, _s_), - ((CONTENT_DATA_SOURCE_TYPE, 1), (CUSTOM_CONTENT, 0), (S3_CONTENT, 0)), -) - -DOCUMENT_ACCESS_CONTROL_ENTRY: StaticSchema = ( - 18, - n0, - _DACE, - 4, - (_na, _t, _ac), - ((3, 1), (ACCESS_CONTROL_PRINCIPAL_TYPE, 1), (ACCESS_CONTROL_ACCESS, 1)), -) - -DOCUMENT_ACCESS_CONTROL_LIST: StaticSchema = ( - 16, - n0, - _DACL, - 0, - (_me,), - ((DOCUMENT_ACCESS_CONTROL_ENTRY, 0),), -) - -KEY: StaticSchema = (3, n0, _K, 4) - -NUMBER_VALUE: StaticSchema = (10, n0, _NVu, 4) - -STRING_VALUE: StaticSchema = (3, n0, _SV, 4) - -STRING_LIST_VALUE: StaticSchema = (16, n0, _SLV, 0, (_me,), ((STRING_VALUE, 0),)) - -METADATA_VALUE_TYPE: StaticSchema = ( - 14, - n0, - _MVT, - 0, - (_BOOLEAN, _NUMBER, _STRING, _SL__), - ( - (-1, {_sV: _BOOLEAN}), - (-1, {_sV: _NUMBER}), - (-1, {_sV: _STRING}), - (-1, {_sV: _SL__}), - ), -) - -METADATA_ATTRIBUTE_VALUE: StaticSchema = ( - 18, - n0, - _MAV, - 0, - (_t, _nV, _bV, _sVt, _sLV), - ( - (METADATA_VALUE_TYPE, 1), - (NUMBER_VALUE, 0), - (2, 0), - (STRING_VALUE, 0), - (STRING_LIST_VALUE, 0), - ), -) - -METADATA_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _MA, - 0, - (_k, _v), - ((KEY, 1), (METADATA_ATTRIBUTE_VALUE, 1)), -) - -METADATA_ATTRIBUTES: StaticSchema = ( - 16, - n0, - _MAe, - 0, - (_me,), - ((METADATA_ATTRIBUTE, 0),), -) - -METADATA_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _MST, - 0, - (_ILA, _SL_), - ((-1, {_sV: _ILA}), (-1, {_sV: _SL_})), -) - -DOCUMENT_METADATA: StaticSchema = ( - 18, - n0, - _DM, - 0, - (_t, _iA, _sLo, _aCL), - ( - (METADATA_SOURCE_TYPE, 1), - (METADATA_ATTRIBUTES, 0), - (CUSTOM_S3_LOCATION, 0), - (DOCUMENT_ACCESS_CONTROL_LIST, 0), - ), -) - -KNOWLEDGE_BASE_DOCUMENT: StaticSchema = ( - 18, - n0, - _KBD, - 0, - (_meta, _cont), - ((DOCUMENT_METADATA, 0), (DOCUMENT_CONTENT, 1)), -) - -KNOWLEDGE_BASE_DOCUMENTS: StaticSchema = ( - 16, - n0, - _KBDn, - 0, - (_me,), - ((KNOWLEDGE_BASE_DOCUMENT, 0),), -) - -INGEST_KNOWLEDGE_BASE_DOCUMENTS_INPUT: StaticSchema = ( - 18, - n0, - _IKBDI, - {_sSI: _cIKBDR, _smit: None}, - (_kBI, _dSI, _cT, _doc), - ((ID, 9), (ID, 9), (CLIENT_TOKEN, 2), (KNOWLEDGE_BASE_DOCUMENTS, 1)), -) - -INGEST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _IKBDO, - {_sSI: _cIKBDRo, _smith: None}, - (_dD,), - ((KNOWLEDGE_BASE_DOCUMENT_DETAILS, 0),), -) - -INGEST_KNOWLEDGE_BASE_DOCUMENTS: StaticOperationSchema = ( - 23, - n0, - _IKBD, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "PUT", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", - } - ) - }, - INGEST_KNOWLEDGE_BASE_DOCUMENTS_INPUT, - INGEST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_KNOWLEDGE_BASE_DOCUMENTS_INPUT: StaticSchema = ( - 18, - n0, - _LKBDI, - {_sSI: _cLKBDR, _smit: None}, - (_kBI, _dSI, _mR, _nT), - ((ID, 9), (ID, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -LIST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LKBDO, - {_sSI: _cLKBDRo, _smith: None}, - (_dD, _nT), - ((KNOWLEDGE_BASE_DOCUMENT_DETAILS, 1), (3, 0)), -) - -LIST_KNOWLEDGE_BASE_DOCUMENTS: StaticOperationSchema = ( - 23, - n0, - _LKBD, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", - } - ) - }, - LIST_KNOWLEDGE_BASE_DOCUMENTS_INPUT, - LIST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT: StaticSchema = ( - 18, - n0, - _AAKBI, - {_sSI: _cAAKBR, _smit: None}, - (_aI, _aV, _kBI, _d, _kBS), - ((ID, 9), (DRAFT_VERSION, 9), (ID, 1), (DESCRIPTION, 1), (KNOWLEDGE_BASE_STATE, 0)), -) - -ASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( - 18, - n0, - _AAKBO, - {_sSI: _cAAKBRo, _smith: None}, - (_aKB,), - ((AGENT_KNOWLEDGE_BASE, 1),), -) - -ASSOCIATE_AGENT_KNOWLEDGE_BASE: StaticOperationSchema = ( - 23, - n0, - _AAKB, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", - } - ) - }, - ASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT, - ASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -KENDRA_INDEX_ARN: StaticSchema = (3, n0, _KIA, 0) - -KENDRA_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KKBC, - 0, - (_kIA,), - ((KENDRA_INDEX_ARN, 1),), -) - -BEDROCK_EMBEDDING_MODEL_ARN: StaticSchema = (3, n0, _BEMA, 0) - -AUDIO_SEGMENTATION_CONFIGURATION: StaticSchema = (18, n0, _ASC, 0, (_fLD,), ((7, 1),)) - -AUDIO_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ACu, - 0, - (_sCeg,), - ((AUDIO_SEGMENTATION_CONFIGURATION, 1),), -) - -AUDIO_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _ACud, - 0, - (_me,), - ((AUDIO_CONFIGURATION, 0),), -) - -DIMENSIONS: StaticSchema = (7, n0, _Di, 0) - -EMBEDDING_DATA_TYPE: StaticSchema = ( - 14, - n0, - _EDT, - 0, - (_FLOAT, _BINARY), - ((-1, {_sV: _FLOAT}), (-1, {_sV: _BINARY})), -) - -VIDEO_SEGMENTATION_CONFIGURATION: StaticSchema = (18, n0, _VSC, 0, (_fLD,), ((7, 1),)) - -VIDEO_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VCi, - 0, - (_sCeg,), - ((VIDEO_SEGMENTATION_CONFIGURATION, 1),), -) - -VIDEO_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _VCid, - 0, - (_me,), - ((VIDEO_CONFIGURATION, 0),), -) - -BEDROCK_EMBEDDING_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BEMC, - 0, - (_di, _eDT, _aud, _vi, _mCo), - ( - (DIMENSIONS, 0), - (EMBEDDING_DATA_TYPE, 0), - (AUDIO_CONFIGURATIONS, 0), - (VIDEO_CONFIGURATIONS, 0), - (13, 0), - ), -) - -EMBEDDING_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EMC, - 0, - (_bEMC,), - ((BEDROCK_EMBEDDING_MODEL_CONFIGURATION, 0),), -) - -EMBEDDING_MODEL_TYPE: StaticSchema = ( - 14, - n0, - _EMTm, - 0, - (_CUSTOM, _MANAGED), - ((-1, {_sV: _CUSTOM}), (-1, {_sV: _MANAGED})), -) - -SUPPLEMENTAL_DATA_STORAGE_LOCATION_TYPE: StaticSchema = ( - 14, - n0, - _SDSLT, - 0, - (_S,), - ((-1, {_sV: _S}),), -) - -SUPPLEMENTAL_DATA_STORAGE_LOCATION: StaticSchema = ( - 18, - n0, - _SDSL, - 0, - (_t, _sLo), - ((SUPPLEMENTAL_DATA_STORAGE_LOCATION_TYPE, 1), (S3_LOCATION, 0)), -) - -SUPPLEMENTAL_DATA_STORAGE_LOCATIONS: StaticSchema = ( - 16, - n0, - _SDSLu, - 0, - (_me,), - ((SUPPLEMENTAL_DATA_STORAGE_LOCATION, 0),), -) - -SUPPLEMENTAL_DATA_STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SDSCu, - 0, - (_sLt,), - ((SUPPLEMENTAL_DATA_STORAGE_LOCATIONS, 1),), -) - -MANAGED_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MKBCa, - 0, - (_eMTm, _eMA, _eMC, _sSEC, _sDSC), - ( - (EMBEDDING_MODEL_TYPE, 0), - (BEDROCK_EMBEDDING_MODEL_ARN, 0), - (EMBEDDING_MODEL_CONFIGURATION, 0), - (SERVER_SIDE_ENCRYPTION_CONFIGURATION, 0), - (SUPPLEMENTAL_DATA_STORAGE_CONFIGURATION, 0), - ), -) - -REDSHIFT_PROVISIONED_AUTH_TYPE: StaticSchema = ( - 14, - n0, - _RPAT, - 0, - (_IAM, _UP, _USERNAME), - ((-1, {_sV: _IAM}), (-1, {_sV: _UP}), (-1, {_sV: _USERNAME})), -) - -REDSHIFT_PROVISIONED_AUTH_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RPAC, - 0, - (_t, _dU, _uPSA), - ((REDSHIFT_PROVISIONED_AUTH_TYPE, 1), (3, 0), (SECRET_ARN, 0)), -) - -REDSHIFT_CLUSTER_IDENTIFIER: StaticSchema = (3, n0, _RCI, 0) - -REDSHIFT_PROVISIONED_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RPC, - 0, - (_cIl, _aCu), - ((REDSHIFT_CLUSTER_IDENTIFIER, 1), (REDSHIFT_PROVISIONED_AUTH_CONFIGURATION, 1)), -) - -REDSHIFT_SERVERLESS_AUTH_TYPE: StaticSchema = ( - 14, - n0, - _RSAT, - 0, - (_IAM, _UP), - ((-1, {_sV: _IAM}), (-1, {_sV: _UP})), -) - -REDSHIFT_SERVERLESS_AUTH_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RSAC, - 0, - (_t, _uPSA), - ((REDSHIFT_SERVERLESS_AUTH_TYPE, 1), (SECRET_ARN, 0)), -) - -WORKGROUP_ARN: StaticSchema = (3, n0, _WA, 0) - -REDSHIFT_SERVERLESS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RSC, - 0, - (_wA, _aCu), - ((WORKGROUP_ARN, 1), (REDSHIFT_SERVERLESS_AUTH_CONFIGURATION, 1)), -) - -REDSHIFT_QUERY_ENGINE_TYPE: StaticSchema = ( - 14, - n0, - _RQET, - 0, - (_SERVERLESS, _PROVISIONED), - ((-1, {_sV: _SERVERLESS}), (-1, {_sV: _PROVISIONED})), -) - -REDSHIFT_QUERY_ENGINE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RQEC, - 0, - (_t, _sCer, _pCr), - ( - (REDSHIFT_QUERY_ENGINE_TYPE, 1), - (REDSHIFT_SERVERLESS_CONFIGURATION, 0), - (REDSHIFT_PROVISIONED_CONFIGURATION, 0), - ), -) - -QUERY_EXECUTION_TIMEOUT_SECONDS: StaticSchema = (7, n0, _QETS, 0) - -NATURAL_LANGUAGE_STRING: StaticSchema = (3, n0, _NLS, 0) - -SQL_STRING: StaticSchema = (3, n0, _SSq, 0) - -CURATED_QUERY: StaticSchema = ( - 18, - n0, - _CQ, - 0, - (_nL, _sq), - ((NATURAL_LANGUAGE_STRING, 1), (SQL_STRING, 1)), -) - -CURATED_QUERIES: StaticSchema = (16, n0, _CQu, 0, (_me,), ((CURATED_QUERY, 0),)) - -DESCRIPTION_STRING: StaticSchema = (3, n0, _DSe, 0) - -INCLUDE_EXCLUDE: StaticSchema = ( - 14, - n0, - _IE, - 0, - (_INCLUDE, _EXCLUDE), - ((-1, {_sV: _INCLUDE}), (-1, {_sV: _EXCLUDE})), -) - -QUERY_GENERATION_COLUMN_NAME: StaticSchema = (3, n0, _QGCN, 0) - -QUERY_GENERATION_COLUMN: StaticSchema = ( - 18, - n0, - _QGC, - 0, - (_na, _d, _inc), - ((QUERY_GENERATION_COLUMN_NAME, 0), (DESCRIPTION_STRING, 0), (INCLUDE_EXCLUDE, 0)), -) - -QUERY_GENERATION_COLUMNS: StaticSchema = ( - 16, - n0, - _QGCu, - 0, - (_me,), - ((QUERY_GENERATION_COLUMN, 0),), -) - -QUERY_GENERATION_TABLE_NAME: StaticSchema = (3, n0, _QGTN, 0) - -QUERY_GENERATION_TABLE: StaticSchema = ( - 18, - n0, - _QGT, - 0, - (_na, _d, _inc, _col), - ( - (QUERY_GENERATION_TABLE_NAME, 1), - (DESCRIPTION_STRING, 0), - (INCLUDE_EXCLUDE, 0), - (QUERY_GENERATION_COLUMNS, 0), - ), -) - -QUERY_GENERATION_TABLES: StaticSchema = ( - 16, - n0, - _QGTu, - 0, - (_me,), - ((QUERY_GENERATION_TABLE, 0),), -) - -QUERY_GENERATION_CONTEXT: StaticSchema = ( - 18, - n0, - _QGCue, - 4, - (_tab, _cQ), - ((QUERY_GENERATION_TABLES, 0), (CURATED_QUERIES, 0)), -) - -QUERY_GENERATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _QGCuer, - 0, - (_eTS, _gCe), - ((QUERY_EXECUTION_TIMEOUT_SECONDS, 0), (QUERY_GENERATION_CONTEXT, 0)), -) - -AWS_DATA_CATALOG_TABLE_NAME: StaticSchema = (3, n0, _ADCTN, 0) - -AWS_DATA_CATALOG_TABLE_NAMES: StaticSchema = ( - 16, - n0, - _ADCTNw, - 0, - (_me,), - ((AWS_DATA_CATALOG_TABLE_NAME, 0),), -) - -REDSHIFT_QUERY_ENGINE_AWS_DATA_CATALOG_STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RQEADCSC, - 0, - (_tN,), - ((AWS_DATA_CATALOG_TABLE_NAMES, 1),), -) - -REDSHIFT_DATABASE: StaticSchema = (3, n0, _RD, 0) - -REDSHIFT_QUERY_ENGINE_REDSHIFT_STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RQERSC, - 0, - (_dNa,), - ((REDSHIFT_DATABASE, 1),), -) - -REDSHIFT_QUERY_ENGINE_STORAGE_TYPE: StaticSchema = ( - 14, - n0, - _RQEST, - 0, - (_REDSHIFT, _ADC), - ((-1, {_sV: _REDSHIFT}), (-1, {_sV: _ADC})), -) - -REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RQESC, - 0, - (_t, _aDCC, _rCed), - ( - (REDSHIFT_QUERY_ENGINE_STORAGE_TYPE, 1), - (REDSHIFT_QUERY_ENGINE_AWS_DATA_CATALOG_STORAGE_CONFIGURATION, 0), - (REDSHIFT_QUERY_ENGINE_REDSHIFT_STORAGE_CONFIGURATION, 0), - ), -) - -REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _RQESCe, - 0, - (_me,), - ((REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATION, 0),), -) - -REDSHIFT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RCed, - 0, - (_sCt, _qEC, _qGC), - ( - (REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATIONS, 1), - (REDSHIFT_QUERY_ENGINE_CONFIGURATION, 1), - (QUERY_GENERATION_CONFIGURATION, 0), - ), -) - -QUERY_ENGINE_TYPE: StaticSchema = ( - 14, - n0, - _QET, - 0, - (_REDSHIFT,), - ((-1, {_sV: _REDSHIFT}),), -) - -SQL_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SKBC, - 0, - (_t, _rCed), - ((QUERY_ENGINE_TYPE, 1), (REDSHIFT_CONFIGURATION, 0)), -) - -KNOWLEDGE_BASE_TYPE: StaticSchema = ( - 14, - n0, - _KBT, - 0, - (_VECTOR, _KENDRA, _SQL, _MANAGED), - ( - (-1, {_sV: _VECTOR}), - (-1, {_sV: _KENDRA}), - (-1, {_sV: _SQL}), - (-1, {_sV: _MANAGED}), - ), -) - -VECTOR_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VKBC, - 0, - (_eMA, _eMC, _sDSC), - ( - (BEDROCK_EMBEDDING_MODEL_ARN, 1), - (EMBEDDING_MODEL_CONFIGURATION, 0), - (SUPPLEMENTAL_DATA_STORAGE_CONFIGURATION, 0), - ), -) - -KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBC, - 0, - (_t, _vKBC, _mKBC, _kKBC, _sKBC), - ( - (KNOWLEDGE_BASE_TYPE, 1), - (VECTOR_KNOWLEDGE_BASE_CONFIGURATION, 0), - (MANAGED_KNOWLEDGE_BASE_CONFIGURATION, 0), - (KENDRA_KNOWLEDGE_BASE_CONFIGURATION, 0), - (SQL_KNOWLEDGE_BASE_CONFIGURATION, 0), - ), -) - -KNOWLEDGE_BASE_ROLE_ARN: StaticSchema = (3, n0, _KBRA, 0) - -MONGO_DB_ATLAS_COLLECTION_NAME: StaticSchema = (3, n0, _MDACN, 0) - -MONGO_DB_ATLAS_DATABASE_NAME: StaticSchema = (3, n0, _MDADN, 0) - -MONGO_DB_ATLAS_ENDPOINT: StaticSchema = (3, n0, _MDAE, 0) - -MONGO_DB_ATLAS_ENDPOINT_SERVICE_NAME: StaticSchema = (3, n0, _MDAESN, 0) - -FIELD_NAME: StaticSchema = (3, n0, _FNi, 0) - -MONGO_DB_ATLAS_FIELD_MAPPING: StaticSchema = ( - 18, - n0, - _MDAFM, - 0, - (_vF, _tFe, _mF), - ((FIELD_NAME, 1), (FIELD_NAME, 1), (FIELD_NAME, 1)), -) - -MONGO_DB_ATLAS_INDEX_NAME: StaticSchema = (3, n0, _MDAIN, 0) - -MONGO_DB_ATLAS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MDAC, - 0, - (_en, _dNa, _cNo, _vIN, _cSA, _fMi, _eSN, _tIN), - ( - (MONGO_DB_ATLAS_ENDPOINT, 1), - (MONGO_DB_ATLAS_DATABASE_NAME, 1), - (MONGO_DB_ATLAS_COLLECTION_NAME, 1), - (MONGO_DB_ATLAS_INDEX_NAME, 1), - (SECRET_ARN, 1), - (MONGO_DB_ATLAS_FIELD_MAPPING, 1), - (MONGO_DB_ATLAS_ENDPOINT_SERVICE_NAME, 0), - (MONGO_DB_ATLAS_INDEX_NAME, 0), - ), -) - -NEPTUNE_ANALYTICS_FIELD_MAPPING: StaticSchema = ( - 18, - n0, - _NAFM, - 0, - (_tFe, _mF), - ((FIELD_NAME, 1), (FIELD_NAME, 1)), -) - -GRAPH_ARN: StaticSchema = (3, n0, _GAr, 4) - -NEPTUNE_ANALYTICS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _NAC, - 0, - (_gA, _fMi), - ((GRAPH_ARN, 1), (NEPTUNE_ANALYTICS_FIELD_MAPPING, 1)), -) - -OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ARN: StaticSchema = (3, n0, _OSMCDA, 0) - -OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ENDPOINT: StaticSchema = (3, n0, _OSMCDE, 0) - -OPEN_SEARCH_MANAGED_CLUSTER_FIELD_MAPPING: StaticSchema = ( - 18, - n0, - _OSMCFM, - 0, - (_vF, _tFe, _mF), - ((FIELD_NAME, 1), (FIELD_NAME, 1), (FIELD_NAME, 1)), -) - -OPEN_SEARCH_MANAGED_CLUSTER_INDEX_NAME: StaticSchema = (3, n0, _OSMCIN, 4) - -OPEN_SEARCH_MANAGED_CLUSTER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OSMCC, - 0, - (_dE, _dA, _vIN, _fMi), - ( - (OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ENDPOINT, 1), - (OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ARN, 1), - (OPEN_SEARCH_MANAGED_CLUSTER_INDEX_NAME, 1), - (OPEN_SEARCH_MANAGED_CLUSTER_FIELD_MAPPING, 1), - ), -) - -OPEN_SEARCH_SERVERLESS_COLLECTION_ARN: StaticSchema = (3, n0, _OSSCA, 0) - -OPEN_SEARCH_SERVERLESS_FIELD_MAPPING: StaticSchema = ( - 18, - n0, - _OSSFM, - 0, - (_vF, _tFe, _mF), - ((FIELD_NAME, 1), (FIELD_NAME, 1), (FIELD_NAME, 1)), -) - -OPEN_SEARCH_SERVERLESS_INDEX_NAME: StaticSchema = (3, n0, _OSSIN, 0) - -OPEN_SEARCH_SERVERLESS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OSSC, - 0, - (_cAo, _vIN, _fMi), - ( - (OPEN_SEARCH_SERVERLESS_COLLECTION_ARN, 1), - (OPEN_SEARCH_SERVERLESS_INDEX_NAME, 1), - (OPEN_SEARCH_SERVERLESS_FIELD_MAPPING, 1), - ), -) - -PINECONE_CONNECTION_STRING: StaticSchema = (3, n0, _PCS, 0) - -PINECONE_FIELD_MAPPING: StaticSchema = ( - 18, - n0, - _PFM, - 0, - (_tFe, _mF), - ((FIELD_NAME, 1), (FIELD_NAME, 1)), -) - -PINECONE_NAMESPACE: StaticSchema = (3, n0, _PN, 0) - -PINECONE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PCi, - 0, - (_cSo, _cSA, _nam, _fMi), - ( - (PINECONE_CONNECTION_STRING, 1), - (SECRET_ARN, 1), - (PINECONE_NAMESPACE, 0), - (PINECONE_FIELD_MAPPING, 1), - ), -) - -RDS_DATABASE_NAME: StaticSchema = (3, n0, _RDN, 0) - -COLUMN_NAME: StaticSchema = (3, n0, _CN, 0) - -RDS_FIELD_MAPPING: StaticSchema = ( - 18, - n0, - _RFM, - 0, - (_pKF, _vF, _tFe, _mF, _cMF), - ( - (COLUMN_NAME, 1), - (COLUMN_NAME, 1), - (COLUMN_NAME, 1), - (COLUMN_NAME, 1), - (COLUMN_NAME, 0), - ), -) - -RDS_ARN: StaticSchema = (3, n0, _RAd, 0) - -RDS_TABLE_NAME: StaticSchema = (3, n0, _RTN, 0) - -RDS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RCd, - 0, - (_rAe, _cSA, _dNa, _tNa, _fMi), - ( - (RDS_ARN, 1), - (SECRET_ARN, 1), - (RDS_DATABASE_NAME, 1), - (RDS_TABLE_NAME, 1), - (RDS_FIELD_MAPPING, 1), - ), -) - -REDIS_ENTERPRISE_CLOUD_ENDPOINT: StaticSchema = (3, n0, _RECE, 0) - -REDIS_ENTERPRISE_CLOUD_FIELD_MAPPING: StaticSchema = ( - 18, - n0, - _RECFM, - 0, - (_vF, _tFe, _mF), - ((FIELD_NAME, 1), (FIELD_NAME, 1), (FIELD_NAME, 1)), -) - -REDIS_ENTERPRISE_CLOUD_INDEX_NAME: StaticSchema = (3, n0, _RECIN, 0) - -REDIS_ENTERPRISE_CLOUD_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RECC, - 0, - (_en, _vIN, _cSA, _fMi), - ( - (REDIS_ENTERPRISE_CLOUD_ENDPOINT, 1), - (REDIS_ENTERPRISE_CLOUD_INDEX_NAME, 1), - (SECRET_ARN, 1), - (REDIS_ENTERPRISE_CLOUD_FIELD_MAPPING, 1), - ), -) - -INDEX_ARN: StaticSchema = (3, n0, _IA, 4) - -INDEX_NAME: StaticSchema = (3, n0, _IN, 4) - -VECTOR_BUCKET_ARN: StaticSchema = (3, n0, _VBA, 4) - -S3_VECTORS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SVC, - 0, - (_vBA, _iAn, _iN), - ((VECTOR_BUCKET_ARN, 0), (INDEX_ARN, 0), (INDEX_NAME, 0)), -) - -KNOWLEDGE_BASE_STORAGE_TYPE: StaticSchema = ( - 14, - n0, - _KBST, - 0, - (_OS, _PINECONE, _REC, _RDS, _MDA, _NA, _OMC, _SV_), - ( - (-1, {_sV: _OS}), - (-1, {_sV: _PINECONE}), - (-1, {_sV: _REC}), - (-1, {_sV: _RDS}), - (-1, {_sV: _MDA}), - (-1, {_sV: _NA}), - (-1, {_sV: _OMC}), - (-1, {_sV: _SV_}), - ), -) - -STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCt, - 0, - (_t, _oSC, _oMCC, _pCi, _rECC, _rCd, _mDAC, _nAC, _sVC), - ( - (KNOWLEDGE_BASE_STORAGE_TYPE, 1), - (OPEN_SEARCH_SERVERLESS_CONFIGURATION, 0), - (OPEN_SEARCH_MANAGED_CLUSTER_CONFIGURATION, 0), - (PINECONE_CONFIGURATION, 0), - (REDIS_ENTERPRISE_CLOUD_CONFIGURATION, 0), - (RDS_CONFIGURATION, 0), - (MONGO_DB_ATLAS_CONFIGURATION, 0), - (NEPTUNE_ANALYTICS_CONFIGURATION, 0), - (S3_VECTORS_CONFIGURATION, 0), - ), -) - -CREATE_KNOWLEDGE_BASE_INPUT: StaticSchema = ( - 18, - n0, - _CKBI, - {_sSI: _cCKBR, _smit: None}, - (_cT, _na, _d, _rAo, _kBC, _sCto, _ta), - ( - (CLIENT_TOKEN, 2), - (NAME, 1), - (DESCRIPTION, 0), - (KNOWLEDGE_BASE_ROLE_ARN, 1), - (KNOWLEDGE_BASE_CONFIGURATION, 1), - (STORAGE_CONFIGURATION, 0), - (TAGS_MAP, 0), - ), -) - -KNOWLEDGE_BASE_ARN: StaticSchema = (3, n0, _KBA, 0) - -METADATA_KEY_NAME: StaticSchema = (3, n0, _MKN, 4) - -SEARCHABLE_STATUS: StaticSchema = ( - 14, - n0, - _SSe, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -FIELD_TYPE: StaticSchema = ( - 14, - n0, - _FT, - 0, - (_STRING, _SL__), - ((-1, {_sV: _STRING}), (-1, {_sV: _SL__})), -) - -METADATA_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MCe, - 0, - (_na, _t, _sea), - ((METADATA_KEY_NAME, 1), (FIELD_TYPE, 1), (SEARCHABLE_STATUS, 1)), -) - -METADATA_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _MCet, - 0, - (_me,), - ((METADATA_CONFIGURATION, 0),), -) - -KNOWLEDGE_BASE_STATUS: StaticSchema = ( - 14, - n0, - _KBSn, - 0, - (_CREATING, _ACTIVE, _DELETING, _UPDATING, _FAILED, _DU, _UU), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _DU}), - (-1, {_sV: _UU}), - ), -) - -KNOWLEDGE_BASE: StaticSchema = ( - 18, - n0, - _KBn, - 0, - (_kBI, _na, _kBA, _d, _rAo, _kBC, _sCto, _sta, _cA, _uA, _fR, _mCet), - ( - (ID, 1), - (NAME, 1), - (KNOWLEDGE_BASE_ARN, 1), - (DESCRIPTION, 0), - (KNOWLEDGE_BASE_ROLE_ARN, 1), - (KNOWLEDGE_BASE_CONFIGURATION, 1), - (STORAGE_CONFIGURATION, 0), - (KNOWLEDGE_BASE_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (FAILURE_REASONS, 0), - (METADATA_CONFIGURATIONS, 0), - ), -) - -CREATE_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( - 18, - n0, - _CKBO, - {_sSI: _cCKBRo, _smith: None}, - (_kB,), - ((KNOWLEDGE_BASE, 1),), -) - -CREATE_KNOWLEDGE_BASE: StaticOperationSchema = ( - 23, - n0, - _CKB, - { - _smithy: MappingProxyType( - {"code": 202, "method": "PUT", "uri": "/knowledgebases/"} - ) - }, - CREATE_KNOWLEDGE_BASE_INPUT, - CREATE_KNOWLEDGE_BASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_KNOWLEDGE_BASE_INPUT: StaticSchema = ( - 18, - n0, - _DKBI, - {_sSI: _cDKBR, _smit: None}, - (_kBI,), - ((ID, 9),), -) - -DELETE_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( - 18, - n0, - _DKBO, - {_sSI: _cDKBRo, _smith: None}, - (_kBI, _sta), - ((ID, 1), (KNOWLEDGE_BASE_STATUS, 1)), -) - -DELETE_KNOWLEDGE_BASE: StaticOperationSchema = ( - 23, - n0, - _DKB, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/knowledgebases/{knowledgeBaseId}", - } - ) - }, - DELETE_KNOWLEDGE_BASE_INPUT, - DELETE_KNOWLEDGE_BASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DISASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT: StaticSchema = ( - 18, - n0, - _DAKBI, - {_sSI: _cDAKBR, _smit: None}, - (_aI, _aV, _kBI), - ((ID, 9), (DRAFT_VERSION, 9), (ID, 9)), -) - -DISASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( - 18, - n0, - _DAKBO, - {_sSI: _cDAKBRo, _smith: None}, -) - -DISASSOCIATE_AGENT_KNOWLEDGE_BASE: StaticOperationSchema = ( - 23, - n0, - _DAKB, - { - _smithy: MappingProxyType( - { - "code": 204, - "method": "DELETE", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", - } - ) - }, - DISASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT, - DISASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AGENT_KNOWLEDGE_BASE_INPUT: StaticSchema = ( - 18, - n0, - _GAKBI, - {_sSI: _cGAKBR, _smit: None}, - (_aI, _aV, _kBI), - ((ID, 9), (VERSION, 9), (ID, 9)), -) - -GET_AGENT_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( - 18, - n0, - _GAKBO, - {_sSI: _cGAKBRo, _smith: None}, - (_aKB,), - ((AGENT_KNOWLEDGE_BASE, 1),), -) - -GET_AGENT_KNOWLEDGE_BASE: StaticOperationSchema = ( - 23, - n0, - _GAKB, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", - } - ) - }, - GET_AGENT_KNOWLEDGE_BASE_INPUT, - GET_AGENT_KNOWLEDGE_BASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_KNOWLEDGE_BASE_INPUT: StaticSchema = ( - 18, - n0, - _GKBI, - {_sSI: _cGKBR, _smit: None}, - (_kBI,), - ((ID, 9),), -) - -GET_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( - 18, - n0, - _GKBO, - {_sSI: _cGKBRo, _smith: None}, - (_kB,), - ((KNOWLEDGE_BASE, 1),), -) - -GET_KNOWLEDGE_BASE: StaticOperationSchema = ( - 23, - n0, - _GKB, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/knowledgebases/{knowledgeBaseId}"} - ) - }, - GET_KNOWLEDGE_BASE_INPUT, - GET_KNOWLEDGE_BASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AGENT_KNOWLEDGE_BASES_INPUT: StaticSchema = ( - 18, - n0, - _LAKBI, - {_sSI: _cLAKBR, _smit: None}, - (_aI, _aV, _mR, _nT), - ((ID, 9), (VERSION, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_KNOWLEDGE_BASES_OUTPUT: StaticSchema = ( - 18, - n0, - _LAKBO, - {_sSI: _cLAKBRo, _smith: None}, - (_aKBS, _nT), - ((AGENT_KNOWLEDGE_BASE_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_KNOWLEDGE_BASES: StaticOperationSchema = ( - 23, - n0, - _LAKB, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", - } - ) - }, - LIST_AGENT_KNOWLEDGE_BASES_INPUT, - LIST_AGENT_KNOWLEDGE_BASES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_KNOWLEDGE_BASES_INPUT: StaticSchema = ( - 18, - n0, - _LKBI, - {_sSI: _cLKBR, _smit: None}, - (_mR, _nT), - ((MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -KNOWLEDGE_BASE_SUMMARY: StaticSchema = ( - 18, - n0, - _KBSno, - 0, - (_kBI, _na, _d, _sta, _uA), - ( - (ID, 1), - (NAME, 1), - (DESCRIPTION, 0), - (KNOWLEDGE_BASE_STATUS, 1), - (DATE_TIMESTAMP, 1), - ), -) - -KNOWLEDGE_BASE_SUMMARIES: StaticSchema = ( - 16, - n0, - _KBSnow, - 0, - (_me,), - ((KNOWLEDGE_BASE_SUMMARY, 0),), -) - -LIST_KNOWLEDGE_BASES_OUTPUT: StaticSchema = ( - 18, - n0, - _LKBO, - {_sSI: _cLKBRo, _smith: None}, - (_kBSn, _nT), - ((KNOWLEDGE_BASE_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_KNOWLEDGE_BASES: StaticOperationSchema = ( - 23, - n0, - _LKB, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/knowledgebases/"} - ) - }, - LIST_KNOWLEDGE_BASES_INPUT, - LIST_KNOWLEDGE_BASES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AGENT_KNOWLEDGE_BASE_INPUT: StaticSchema = ( - 18, - n0, - _UAKBI, - {_sSI: _cUAKBR, _smit: None}, - (_aI, _aV, _kBI, _d, _kBS), - ((ID, 9), (DRAFT_VERSION, 9), (ID, 9), (DESCRIPTION, 0), (KNOWLEDGE_BASE_STATE, 0)), -) - -UPDATE_AGENT_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( - 18, - n0, - _UAKBO, - {_sSI: _cUAKBRo, _smith: None}, - (_aKB,), - ((AGENT_KNOWLEDGE_BASE, 1),), -) - -UPDATE_AGENT_KNOWLEDGE_BASE: StaticOperationSchema = ( - 23, - n0, - _UAKB, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", - } - ) - }, - UPDATE_AGENT_KNOWLEDGE_BASE_INPUT, - UPDATE_AGENT_KNOWLEDGE_BASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_KNOWLEDGE_BASE_INPUT: StaticSchema = ( - 18, - n0, - _UKBI, - {_sSI: _cUKBR, _smit: None}, - (_kBI, _na, _d, _rAo, _kBC, _sCto, _mCet), - ( - (ID, 9), - (NAME, 1), - (DESCRIPTION, 0), - (KNOWLEDGE_BASE_ROLE_ARN, 1), - (KNOWLEDGE_BASE_CONFIGURATION, 1), - (STORAGE_CONFIGURATION, 0), - (METADATA_CONFIGURATIONS, 0), - ), -) - -UPDATE_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( - 18, - n0, - _UKBO, - {_sSI: _cUKBRo, _smith: None}, - (_kB,), - ((KNOWLEDGE_BASE, 1),), -) - -UPDATE_KNOWLEDGE_BASE: StaticOperationSchema = ( - 23, - n0, - _UKB, - { - _smithy: MappingProxyType( - {"code": 202, "method": "PUT", "uri": "/knowledgebases/{knowledgeBaseId}"} - ) - }, - UPDATE_KNOWLEDGE_BASE_INPUT, - UPDATE_KNOWLEDGE_BASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_VPC_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LVCI, - {_sSI: _cLVCR, _smit: None}, - (_kBI, _sFt, _mR, _nT), - ( - (ID, 9), - (VPC_CONFIGURATION_STATUS, {_sQ: _sta}), - (MAX_RESULTS, {_sQ: _mR}), - (NEXT_TOKEN, {_sQ: _nT}), - ), -) - -VPC_CONFIGURATION_SUMMARY: StaticSchema = ( - 18, - n0, - _VCSp, - 0, - (_vCI, _sta, _sMt, _vI, _rT, _po, _pr, _rM, _hH, _tSN, _na, _d, _cA), - ( - (VPC_CONFIGURATION_ID, 1), - (VPC_CONFIGURATION_STATUS, 1), - (VPC_CONFIGURATION_STATUS_MESSAGE, 0), - (VPC_ID, 1), - (RESOURCE_TARGET, 1), - (PORT, 1), - (VPC_PROTOCOL, 1), - (VPC_RESOLUTION_MODE, 1), - (HOST_HEADER, 0), - (TLS_SERVER_NAME, 0), - (VPC_CONFIGURATION_NAME, 0), - (VPC_CONFIGURATION_DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - ), -) - -VPC_CONFIGURATION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _VCSL, - 0, - (_me,), - ((VPC_CONFIGURATION_SUMMARY, 0),), -) - -LIST_VPC_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LVCO, - {_sSI: _cLVCRo, _smith: None}, - (_it, _nT), - ((VPC_CONFIGURATION_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_VPC_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _LVC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/", - } - ) - }, - LIST_VPC_CONFIGURATIONS_INPUT, - LIST_VPC_CONFIGURATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PROMPT_VARIANT_NAME: StaticSchema = (3, n0, _PVN, 0) - -PROMPT_DESCRIPTION: StaticSchema = (3, n0, _PDr, 0) - -PROMPT_NAME: StaticSchema = (3, n0, _PNr, 0) - -PROMPT_AGENT_RESOURCE: StaticSchema = ( - 18, - n0, - _PAR, - 4, - (_aIg,), - ((AGENT_ALIAS_ARN, 1),), -) - -PROMPT_GEN_AI_RESOURCE: StaticSchema = ( - 19, - n0, - _PGAR, - 4, - (_ag,), - ((PROMPT_AGENT_RESOURCE, 0),), -) - -PROMPT_METADATA_KEY: StaticSchema = (3, n0, _PMK, 4) - -PROMPT_METADATA_VALUE: StaticSchema = (3, n0, _PMV, 4) - -PROMPT_METADATA_ENTRY: StaticSchema = ( - 18, - n0, - _PME, - 4, - (_k, _v), - ((PROMPT_METADATA_KEY, 1), (PROMPT_METADATA_VALUE, 1)), -) - -PROMPT_METADATA_LIST: StaticSchema = ( - 16, - n0, - _PML, - 4, - (_me,), - ((PROMPT_METADATA_ENTRY, 0),), -) - -PROMPT_MODEL_IDENTIFIER: StaticSchema = (3, n0, _PMIr, 0) - -PROMPT_VARIANT: StaticSchema = ( - 18, - n0, - _PV, - 4, - (_na, _tT, _tCe, _mI, _iC, _meta, _aMRF, _gAR), - ( - (PROMPT_VARIANT_NAME, 1), - (PROMPT_TEMPLATE_TYPE, 1), - (PROMPT_TEMPLATE_CONFIGURATION, 1), - (PROMPT_MODEL_IDENTIFIER, 0), - (PROMPT_INFERENCE_CONFIGURATION, 0), - (PROMPT_METADATA_LIST, 0), - (13, 0), - (PROMPT_GEN_AI_RESOURCE, 0), - ), -) - -PROMPT_VARIANT_LIST: StaticSchema = (16, n0, _PVL, 4, (_me,), ((PROMPT_VARIANT, 0),)) - -CREATE_PROMPT_INPUT: StaticSchema = ( - 18, - n0, - _CPI, - {_sSI: _cCPR, _smit: None}, - (_na, _d, _cEKA, _dV, _var, _cT, _ta), - ( - (PROMPT_NAME, 1), - (PROMPT_DESCRIPTION, 0), - (KMS_KEY_ARN, 0), - (PROMPT_VARIANT_NAME, 0), - (PROMPT_VARIANT_LIST, 0), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - ), -) - -PROMPT_ARN: StaticSchema = (3, n0, _PAr, 0) - -PROMPT_ID: StaticSchema = (3, n0, _PIr, 0) - -CREATE_PROMPT_OUTPUT: StaticSchema = ( - 18, - n0, - _CPO, - {_sSI: _cCPRo, _smith: None}, - (_na, _d, _cEKA, _dV, _var, _id, _ar, _ve, _cA, _uA), - ( - (PROMPT_NAME, 1), - (PROMPT_DESCRIPTION, 0), - (KMS_KEY_ARN, 0), - (PROMPT_VARIANT_NAME, 0), - (PROMPT_VARIANT_LIST, 0), - (PROMPT_ID, 1), - (PROMPT_ARN, 1), - (VERSION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -CREATE_PROMPT: StaticOperationSchema = ( - 23, - n0, - _CP, - {_smithy: MappingProxyType({"code": 201, "method": "POST", "uri": "/prompts/"})}, - CREATE_PROMPT_INPUT, - CREATE_PROMPT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PROMPT_IDENTIFIER: StaticSchema = (3, n0, _PIro, 0) - -CREATE_PROMPT_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CPVI, - {_sSI: _cCPVR, _smit: None}, - (_pI, _d, _cT, _ta), - ((PROMPT_IDENTIFIER, 9), (PROMPT_DESCRIPTION, 0), (CLIENT_TOKEN, 2), (TAGS_MAP, 0)), -) - -CREATE_PROMPT_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CPVO, - {_sSI: _cCPVRo, _smith: None}, - (_na, _d, _cEKA, _dV, _var, _id, _ar, _ve, _cA, _uA), - ( - (PROMPT_NAME, 1), - (PROMPT_DESCRIPTION, 0), - (KMS_KEY_ARN, 0), - (PROMPT_VARIANT_NAME, 0), - (PROMPT_VARIANT_LIST, 0), - (PROMPT_ID, 1), - (PROMPT_ARN, 1), - (VERSION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -CREATE_PROMPT_VERSION: StaticOperationSchema = ( - 23, - n0, - _CPV, - { - _smithy: MappingProxyType( - { - "code": 201, - "method": "POST", - "uri": "/prompts/{promptIdentifier}/versions", - } - ) - }, - CREATE_PROMPT_VERSION_INPUT, - CREATE_PROMPT_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_PROMPT_INPUT: StaticSchema = ( - 18, - n0, - _DPI, - {_sSI: _cDPR, _smit: None}, - (_pI, _pV), - ((PROMPT_IDENTIFIER, 9), (NUMERICAL_VERSION, {_sQ: _pV})), -) - -DELETE_PROMPT_OUTPUT: StaticSchema = ( - 18, - n0, - _DPO, - {_sSI: _cDPRo, _smith: None}, - (_id, _ve), - ((PROMPT_ID, 1), (NUMERICAL_VERSION, 0)), -) - -DELETE_PROMPT: StaticOperationSchema = ( - 23, - n0, - _DP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/prompts/{promptIdentifier}/"} - ) - }, - DELETE_PROMPT_INPUT, - DELETE_PROMPT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_PROMPT_INPUT: StaticSchema = ( - 18, - n0, - _GPI, - {_sSI: _cGPR, _smit: None}, - (_pI, _pV, _iD), - ((PROMPT_IDENTIFIER, 9), (VERSION, {_sQ: _pV}), (INCLUDED_DATA, {_sQ: _iD})), -) - -GET_PROMPT_OUTPUT: StaticSchema = ( - 18, - n0, - _GPO, - {_sSI: _cGPRo, _smith: None}, - (_na, _d, _cEKA, _dV, _var, _id, _ar, _ve, _cA, _uA), - ( - (PROMPT_NAME, 1), - (PROMPT_DESCRIPTION, 0), - (KMS_KEY_ARN, 0), - (PROMPT_VARIANT_NAME, 0), - (PROMPT_VARIANT_LIST, 0), - (PROMPT_ID, 1), - (PROMPT_ARN, 1), - (VERSION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -GET_PROMPT: StaticOperationSchema = ( - 23, - n0, - _GP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/prompts/{promptIdentifier}/"} - ) - }, - GET_PROMPT_INPUT, - GET_PROMPT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_PROMPTS_INPUT: StaticSchema = ( - 18, - n0, - _LPI, - {_sSI: _cLPR, _smit: None}, - (_pI, _mR, _nT), - ( - (PROMPT_IDENTIFIER, {_sQ: _pI}), - (MAX_RESULTS, {_sQ: _mR}), - (NEXT_TOKEN, {_sQ: _nT}), - ), -) - -PROMPT_SUMMARY: StaticSchema = ( - 18, - n0, - _PSr, - 0, - (_na, _d, _id, _ar, _ve, _cA, _uA), - ( - (PROMPT_NAME, 1), - (PROMPT_DESCRIPTION, 0), - (PROMPT_ID, 1), - (PROMPT_ARN, 1), - (VERSION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -PROMPT_SUMMARIES: StaticSchema = (16, n0, _PSro, 0, (_me,), ((PROMPT_SUMMARY, 0),)) - -LIST_PROMPTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPO, - {_sSI: _cLPRo, _smith: None}, - (_pSr, _nT), - ((PROMPT_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_PROMPTS: StaticOperationSchema = ( - 23, - n0, - _LP, - {_smithy: MappingProxyType({"code": 200, "method": "GET", "uri": "/prompts/"})}, - LIST_PROMPTS_INPUT, - LIST_PROMPTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_PROMPT_INPUT: StaticSchema = ( - 18, - n0, - _UPI, - {_sSI: _cUPR, _smit: None}, - (_na, _d, _cEKA, _dV, _var, _pI), - ( - (PROMPT_NAME, 1), - (PROMPT_DESCRIPTION, 0), - (KMS_KEY_ARN, 0), - (PROMPT_VARIANT_NAME, 0), - (PROMPT_VARIANT_LIST, 0), - (PROMPT_IDENTIFIER, 9), - ), -) - -UPDATE_PROMPT_OUTPUT: StaticSchema = ( - 18, - n0, - _UPO, - {_sSI: _cUPRo, _smith: None}, - (_na, _d, _cEKA, _dV, _var, _id, _ar, _ve, _cA, _uA), - ( - (PROMPT_NAME, 1), - (PROMPT_DESCRIPTION, 0), - (KMS_KEY_ARN, 0), - (PROMPT_VARIANT_NAME, 0), - (PROMPT_VARIANT_LIST, 0), - (PROMPT_ID, 1), - (PROMPT_ARN, 1), - (VERSION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -UPDATE_PROMPT: StaticOperationSchema = ( - 23, - n0, - _UPp, - { - _smithy: MappingProxyType( - {"code": 200, "method": "PUT", "uri": "/prompts/{promptIdentifier}/"} - ) - }, - UPDATE_PROMPT_INPUT, - UPDATE_PROMPT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_sSI: _cPRPR, _smit: None}, - (_rAe, _pol, _eRI), - ((RESOURCE_ARN, 9), (RESOURCE_POLICY, 1), (REVISION_ID, 0)), -) - -PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPO, - {_sSI: _cPRPRo, _smith: None}, - (_rAe, _rI), - ((RESOURCE_ARN, 1), (REVISION_ID, 1)), -) - -PUT_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "PUT", "uri": "/resourcepolicy/{resourceArn}"} - ) - }, - PUT_RESOURCE_POLICY_INPUT, - PUT_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RETRIEVAL_INSTRUCTION_DESCRIPTION: StaticSchema = (3, n0, _RID, 4) - -RETRIEVAL_INSTRUCTION_FIELD_TEXT: StaticSchema = (3, n0, _RIFT, 4) - -RETRIEVAL_INSTRUCTION_CONTENT: StaticSchema = ( - 18, - n0, - _RIC, - 4, - (_rG, _pe, _aF, _aP), - ( - (RETRIEVAL_INSTRUCTION_FIELD_TEXT, 0), - (RETRIEVAL_INSTRUCTION_FIELD_TEXT, 0), - (RETRIEVAL_INSTRUCTION_FIELD_TEXT, 0), - (RETRIEVAL_INSTRUCTION_FIELD_TEXT, 0), - ), -) - -RETRIEVAL_INSTRUCTION_NAME: StaticSchema = (3, n0, _RIN, 4) - -CREATE_RETRIEVAL_INSTRUCTION_INPUT: StaticSchema = ( - 18, - n0, - _CRII, - {_sSI: _cCRIR, _smit: None}, - (_cT, _na, _in, _d, _cEKA, _ta), - ( - (CLIENT_TOKEN, 2), - (RETRIEVAL_INSTRUCTION_NAME, 1), - (RETRIEVAL_INSTRUCTION_CONTENT, 1), - (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), - (KMS_KEY_ARN, 0), - (TAGS_MAP, 0), - ), -) - -RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS: StaticSchema = ( - 14, - n0, - _RILTS, - 0, - (_CREATING, _UPDATING, _CS_, _CF, _US, _UF), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _CS_}), - (-1, {_sV: _CF}), - (-1, {_sV: _US}), - (-1, {_sV: _UF}), - ), -) - -RETRIEVAL_INSTRUCTION_ARN: StaticSchema = (3, n0, _RIA, 0) - -RETRIEVAL_INSTRUCTION_ID: StaticSchema = (3, n0, _RII, 0) - -RETRIEVAL_INSTRUCTION_STATUS: StaticSchema = ( - 14, - n0, - _RIS, - 0, - (_ACTIVE, _INACTIVE), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _INACTIVE})), -) - -CREATE_RETRIEVAL_INSTRUCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CRIO, - {_sSI: _cCRIRo, _smith: None}, - (_rII, _rIA, _na, _sta, _lTS, _cA, _uA), - ( - (RETRIEVAL_INSTRUCTION_ID, 1), - (RETRIEVAL_INSTRUCTION_ARN, 1), - (RETRIEVAL_INSTRUCTION_NAME, 1), - (RETRIEVAL_INSTRUCTION_STATUS, 1), - (RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -CREATE_RETRIEVAL_INSTRUCTION: StaticOperationSchema = ( - 23, - n0, - _CRI, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/retrievalinstructions/"} - ) - }, - CREATE_RETRIEVAL_INSTRUCTION_INPUT, - CREATE_RETRIEVAL_INSTRUCTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_RETRIEVAL_INSTRUCTION_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CRIVI, - {_sSI: _cCRIVR, _smit: None}, - (_rII, _d, _cT), - ( - (RETRIEVAL_INSTRUCTION_ID, 9), - (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - ), -) - -RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION: StaticSchema = (3, n0, _RINV, 0) - -CREATE_RETRIEVAL_INSTRUCTION_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CRIVO, - {_sSI: _cCRIVRo, _smith: None}, - (_rII, _rIA, _ve, _cA, _d), - ( - (RETRIEVAL_INSTRUCTION_ID, 1), - (RETRIEVAL_INSTRUCTION_ARN, 1), - (RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, 1), - (DATE_TIMESTAMP, 1), - (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), - ), -) - -CREATE_RETRIEVAL_INSTRUCTION_VERSION: StaticOperationSchema = ( - 23, - n0, - _CRIV, - { - _smithy: MappingProxyType( - { - "code": 201, - "method": "POST", - "uri": "/retrievalinstructions/{retrievalInstructionId}/versions", - } - ) - }, - CREATE_RETRIEVAL_INSTRUCTION_VERSION_INPUT, - CREATE_RETRIEVAL_INSTRUCTION_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_RETRIEVAL_INSTRUCTION_INPUT: StaticSchema = ( - 18, - n0, - _DRII, - {_sSI: _cDRIR, _smit: None}, - (_rII, _rIV), - ( - (RETRIEVAL_INSTRUCTION_ID, 9), - (RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, {_sQ: _rIV}), - ), -) - -DELETE_RETRIEVAL_INSTRUCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DRIO, - {_sSI: _cDRIRo, _smith: None}, - (_rII, _rIA, _ve), - ( - (RETRIEVAL_INSTRUCTION_ID, 1), - (RETRIEVAL_INSTRUCTION_ARN, 1), - (RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, 0), - ), -) - -DELETE_RETRIEVAL_INSTRUCTION: StaticOperationSchema = ( - 23, - n0, - _DRI, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/retrievalinstructions/{retrievalInstructionId}", - } - ) - }, - DELETE_RETRIEVAL_INSTRUCTION_INPUT, - DELETE_RETRIEVAL_INSTRUCTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RETRIEVAL_INSTRUCTION_VERSION_SELECTOR: StaticSchema = (3, n0, _RIVS, 0) - -GET_RETRIEVAL_INSTRUCTION_INPUT: StaticSchema = ( - 18, - n0, - _GRII, - {_sSI: _cGRIR, _smit: None}, - (_rII, _rIV), - ( - (RETRIEVAL_INSTRUCTION_ID, 9), - (RETRIEVAL_INSTRUCTION_VERSION_SELECTOR, {_sQ: _rIV}), - ), -) - -RETRIEVAL_INSTRUCTION_FAILURE_REASON_CODE: StaticSchema = ( - 14, - n0, - _RIFRC, - 0, - (_CR_, _CE_, _IE_), - ((-1, {_sV: _CR_}), (-1, {_sV: _CE_}), (-1, {_sV: _IE_})), -) - -RETRIEVAL_INSTRUCTION_FIELD_NAME: StaticSchema = ( - 14, - n0, - _RIFN, - 0, - (_RG, _PERSONA, _AF, _AP), - ((-1, {_sV: _RG}), (-1, {_sV: _PERSONA}), (-1, {_sV: _AF}), (-1, {_sV: _AP})), -) - -RETRIEVAL_INSTRUCTION_FAILURE_REASON: StaticSchema = ( - 18, - n0, - _RIFR, - 0, - (_fN, _cod, _m), - ( - (RETRIEVAL_INSTRUCTION_FIELD_NAME, 0), - (RETRIEVAL_INSTRUCTION_FAILURE_REASON_CODE, 1), - (3, 1), - ), -) - -RETRIEVAL_INSTRUCTION_FAILURE_REASONS: StaticSchema = ( - 16, - n0, - _RIFRe, - 0, - (_me,), - ((RETRIEVAL_INSTRUCTION_FAILURE_REASON, 0),), -) - -GET_RETRIEVAL_INSTRUCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GRIO, - {_sSI: _cGRIRo, _smith: None}, - (_rII, _rIA, _na, _sta, _lTS, _in, _cA, _uA, _d, _cEKA, _lTSR, _ve, _lV), - ( - (RETRIEVAL_INSTRUCTION_ID, 1), - (RETRIEVAL_INSTRUCTION_ARN, 1), - (RETRIEVAL_INSTRUCTION_NAME, 1), - (RETRIEVAL_INSTRUCTION_STATUS, 1), - (RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS, 1), - (RETRIEVAL_INSTRUCTION_CONTENT, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), - (KMS_KEY_ARN, 0), - (RETRIEVAL_INSTRUCTION_FAILURE_REASONS, 0), - (RETRIEVAL_INSTRUCTION_VERSION_SELECTOR, 0), - (RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, 0), - ), -) - -GET_RETRIEVAL_INSTRUCTION: StaticOperationSchema = ( - 23, - n0, - _GRI, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/retrievalinstructions/{retrievalInstructionId}", - } - ) - }, - GET_RETRIEVAL_INSTRUCTION_INPUT, - GET_RETRIEVAL_INSTRUCTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RETRIEVAL_INSTRUCTION_MAX_RESULTS: StaticSchema = (7, n0, _RIMR, 0) - -LIST_RETRIEVAL_INSTRUCTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LRII, - {_sSI: _cLRIR, _smit: None}, - (_sta, _mR, _nT), - ( - (RETRIEVAL_INSTRUCTION_STATUS, {_sQ: _sta}), - (RETRIEVAL_INSTRUCTION_MAX_RESULTS, {_sQ: _mR}), - (NEXT_TOKEN, {_sQ: _nT}), - ), -) - -RETRIEVAL_INSTRUCTION_SUMMARY: StaticSchema = ( - 18, - n0, - _RISe, - 0, - (_rII, _rIA, _na, _sta, _lTS, _cA, _uA, _d), - ( - (RETRIEVAL_INSTRUCTION_ID, 1), - (RETRIEVAL_INSTRUCTION_ARN, 1), - (RETRIEVAL_INSTRUCTION_NAME, 1), - (RETRIEVAL_INSTRUCTION_STATUS, 1), - (RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), - ), -) - -RETRIEVAL_INSTRUCTION_SUMMARIES: StaticSchema = ( - 16, - n0, - _RISet, - 0, - (_me,), - ((RETRIEVAL_INSTRUCTION_SUMMARY, 0),), -) - -LIST_RETRIEVAL_INSTRUCTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRIO, - {_sSI: _cLRIRo, _smith: None}, - (_rIS, _nT), - ((RETRIEVAL_INSTRUCTION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_RETRIEVAL_INSTRUCTIONS: StaticOperationSchema = ( - 23, - n0, - _LRI, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/retrievalinstructions/"} - ) - }, - LIST_RETRIEVAL_INSTRUCTIONS_INPUT, - LIST_RETRIEVAL_INSTRUCTIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_RETRIEVAL_INSTRUCTION_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LRIVI, - {_sSI: _cLRIVR, _smit: None}, - (_rII, _mR, _nT), - ( - (RETRIEVAL_INSTRUCTION_ID, 9), - (RETRIEVAL_INSTRUCTION_MAX_RESULTS, {_sQ: _mR}), - (NEXT_TOKEN, {_sQ: _nT}), - ), -) - -RETRIEVAL_INSTRUCTION_VERSION_SUMMARY: StaticSchema = ( - 18, - n0, - _RIVSe, - 0, - (_ve, _cA), - ((RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, 1), (DATE_TIMESTAMP, 1)), -) - -RETRIEVAL_INSTRUCTION_VERSION_SUMMARIES: StaticSchema = ( - 16, - n0, - _RIVSet, - 0, - (_me,), - ((RETRIEVAL_INSTRUCTION_VERSION_SUMMARY, 0),), -) - -LIST_RETRIEVAL_INSTRUCTION_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRIVO, - {_sSI: _cLRIVRo, _smith: None}, - (_rIVS, _nT), - ((RETRIEVAL_INSTRUCTION_VERSION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_RETRIEVAL_INSTRUCTION_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LRIV, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/retrievalinstructions/{retrievalInstructionId}/versions", - } - ) - }, - LIST_RETRIEVAL_INSTRUCTION_VERSIONS_INPUT, - LIST_RETRIEVAL_INSTRUCTION_VERSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_RETRIEVAL_INSTRUCTION_INPUT: StaticSchema = ( - 18, - n0, - _URII, - {_sSI: _cURIR, _smit: None}, - (_rII, _in, _d), - ( - (RETRIEVAL_INSTRUCTION_ID, 9), - (RETRIEVAL_INSTRUCTION_CONTENT, 1), - (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), - ), -) - -UPDATE_RETRIEVAL_INSTRUCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _URIO, - {_sSI: _cURIRo, _smith: None}, - (_rII, _rIA, _na, _sta, _lTS, _cA, _uA), - ( - (RETRIEVAL_INSTRUCTION_ID, 1), - (RETRIEVAL_INSTRUCTION_ARN, 1), - (RETRIEVAL_INSTRUCTION_NAME, 1), - (RETRIEVAL_INSTRUCTION_STATUS, 1), - (RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -UPDATE_RETRIEVAL_INSTRUCTION: StaticOperationSchema = ( - 23, - n0, - _URI, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "PUT", - "uri": "/retrievalinstructions/{retrievalInstructionId}", - } - ) - }, - UPDATE_RETRIEVAL_INSTRUCTION_INPUT, - UPDATE_RETRIEVAL_INSTRUCTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAGGABLE_RESOURCES_ARN: StaticSchema = (3, n0, _TRA, 0) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _smit: None}, - (_rAe,), - ((TAGGABLE_RESOURCES_ARN, 9),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smith: None}, - (_ta,), - ((TAGS_MAP, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/tags/{resourceArn}"} - ) - }, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smit: None}, - (_rAe, _ta), - ((TAGGABLE_RESOURCES_ARN, 9), (TAGS_MAP, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smith: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/tags/{resourceArn}"} - ) - }, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URIn, - {_sSI: _cURR, _smit: None}, - (_rAe, _tKa), - ((TAGGABLE_RESOURCES_ARN, 9), (TAG_KEY_LIST, {_sQ: _tKa, _smi: None})), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smith: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/tags/{resourceArn}"} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -VALIDATE_FLOW_DEFINITION_OUTPUT: StaticSchema = ( - 18, - n0, - _VFDO, - {_sSI: _cVFDR, _smith: None}, - (_val,), - ((FLOW_VALIDATIONS, 1),), -) - -DELETE_AGENT_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _DAVI, - {_sSI: _cDAVR, _smit: None}, - (_aI, _aV, _sRIUC), - ((ID, 9), (NUMERICAL_VERSION, 9), (2, {_smithya: False, _sQ: _sRIUC})), -) - -DELETE_AGENT_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DAVO, - {_sSI: _cDAVRo, _smith: None}, - (_aI, _aV, _aSg), - ((ID, 1), (NUMERICAL_VERSION, 1), (AGENT_STATUS, 1)), -) - -DELETE_AGENT_VERSION: StaticOperationSchema = ( - 23, - n0, - _DAV, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/", - } - ) - }, - DELETE_AGENT_VERSION_INPUT, - DELETE_AGENT_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AGENT_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _GAVI, - {_sSI: _cGAVR, _smit: None}, - (_aI, _aV), - ((ID, 9), (NUMERICAL_VERSION, 9)), -) - -GET_AGENT_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GAVO, - {_sSI: _cGAVRo, _smith: None}, - (_aV,), - ((AGENT_VERSION, 1),), -) - -GET_AGENT_VERSION: StaticOperationSchema = ( - 23, - n0, - _GAV, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/agents/{agentId}/agentversions/{agentVersion}/", - } - ) - }, - GET_AGENT_VERSION_INPUT, - GET_AGENT_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AGENT_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LAVI, - {_sSI: _cLAVR, _smit: None}, - (_aI, _mR, _nT), - ((ID, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAVO, - {_sSI: _cLAVRo, _smith: None}, - (_aVS, _nT), - ((AGENT_VERSION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LAV, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/agents/{agentId}/agentversions/"} - ) - }, - LIST_AGENT_VERSIONS_INPUT, - LIST_AGENT_VERSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FLOW_DEFINITION: StaticSchema = ( - 18, - n0, - _FDlo, - 4, - (_nod, _conne), - ((lambda: FLOW_NODES, 0), (FLOW_CONNECTIONS, 0)), -) - -FLOW_NODE: StaticSchema = ( - 18, - n0, - _FNl, - 0, - (_na, _t, _conf, _inpu, _out), - ( - (FLOW_NODE_NAME, 1), - (FLOW_NODE_TYPE, 1), - (lambda: FLOW_NODE_CONFIGURATION, 0), - (FLOW_NODE_INPUTS, 0), - (FLOW_NODE_OUTPUTS, 0), - ), -) - -FLOW_NODE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _FNC, - 0, - ( - _inp, - _ou, - _kB, - _co, - _le, - _pro, - _lF, - _sto, - _ag, - _ret, - _ite, - _coll, - _iCnli, - _lo, - _lIo, - _lCo, - ), - ( - (INPUT_FLOW_NODE_CONFIGURATION, 0), - (OUTPUT_FLOW_NODE_CONFIGURATION, 0), - (KNOWLEDGE_BASE_FLOW_NODE_CONFIGURATION, 0), - (CONDITION_FLOW_NODE_CONFIGURATION, 0), - (LEX_FLOW_NODE_CONFIGURATION, 0), - (PROMPT_FLOW_NODE_CONFIGURATION, 0), - (LAMBDA_FUNCTION_FLOW_NODE_CONFIGURATION, 0), - (STORAGE_FLOW_NODE_CONFIGURATION, 0), - (AGENT_FLOW_NODE_CONFIGURATION, 0), - (RETRIEVAL_FLOW_NODE_CONFIGURATION, 0), - (ITERATOR_FLOW_NODE_CONFIGURATION, 0), - (COLLECTOR_FLOW_NODE_CONFIGURATION, 0), - (INLINE_CODE_FLOW_NODE_CONFIGURATION, 0), - (lambda: LOOP_FLOW_NODE_CONFIGURATION, 0), - (LOOP_INPUT_FLOW_NODE_CONFIGURATION, 0), - (LOOP_CONTROLLER_FLOW_NODE_CONFIGURATION, 0), - ), -) - -FLOW_NODES: StaticSchema = (16, n0, _FNlo, 0, (_me,), ((FLOW_NODE, 0),)) - -LOOP_FLOW_NODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LFNCo, - 0, - (_def,), - ((FLOW_DEFINITION, 1),), -) - -CREATE_FLOW_INPUT: StaticSchema = ( - 18, - n0, - _CFI, - {_sSI: _cCFR, _smit: None}, - (_na, _d, _eRA, _cEKA, _def, _cT, _ta), - ( - (FLOW_NAME, 1), - (FLOW_DESCRIPTION, 0), - (FLOW_EXECUTION_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (FLOW_DEFINITION, 0), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - ), -) - -CREATE_FLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _CFO, - {_sSI: _cCFRo, _smith: None}, - (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _uA, _ve, _def), - ( - (FLOW_NAME, 1), - (FLOW_DESCRIPTION, 0), - (FLOW_EXECUTION_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (FLOW_ID, 1), - (FLOW_ARN, 1), - (FLOW_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DRAFT_VERSION, 1), - (FLOW_DEFINITION, 0), - ), -) - -CREATE_FLOW_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CFVO, - {_sSI: _cCFVRo, _smith: None}, - (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _ve, _def), - ( - (FLOW_NAME, 1), - (FLOW_DESCRIPTION, 0), - (FLOW_EXECUTION_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (FLOW_ID, 1), - (FLOW_ARN, 1), - (FLOW_STATUS, 1), - (DATE_TIMESTAMP, 1), - (NUMERICAL_VERSION, 1), - (FLOW_DEFINITION, 0), - ), -) - -GET_FLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _GFO, - {_sSI: _cGFRo, _smith: None}, - (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _uA, _ve, _def, _val), - ( - (FLOW_NAME, 1), - (FLOW_DESCRIPTION, 0), - (FLOW_EXECUTION_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (FLOW_ID, 1), - (FLOW_ARN, 1), - (FLOW_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DRAFT_VERSION, 1), - (FLOW_DEFINITION, 0), - (FLOW_VALIDATIONS, 0), - ), -) - -GET_FLOW_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GFVO, - {_sSI: _cGFVRo, _smith: None}, - (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _ve, _def), - ( - (FLOW_NAME, 1), - (FLOW_DESCRIPTION, 0), - (FLOW_EXECUTION_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (FLOW_ID, 1), - (FLOW_ARN, 1), - (FLOW_STATUS, 1), - (DATE_TIMESTAMP, 1), - (NUMERICAL_VERSION, 1), - (FLOW_DEFINITION, 0), - ), -) - -UPDATE_FLOW_INPUT: StaticSchema = ( - 18, - n0, - _UFI, - {_sSI: _cUFR, _smit: None}, - (_na, _d, _eRA, _cEKA, _def, _fI), - ( - (FLOW_NAME, 1), - (FLOW_DESCRIPTION, 0), - (FLOW_EXECUTION_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (FLOW_DEFINITION, 0), - (FLOW_IDENTIFIER, 9), - ), -) - -UPDATE_FLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _UFO, - {_sSI: _cUFRo, _smith: None}, - (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _uA, _ve, _def), - ( - (FLOW_NAME, 1), - (FLOW_DESCRIPTION, 0), - (FLOW_EXECUTION_ROLE_ARN, 1), - (KMS_KEY_ARN, 0), - (FLOW_ID, 1), - (FLOW_ARN, 1), - (FLOW_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DRAFT_VERSION, 1), - (FLOW_DEFINITION, 0), - ), -) - -VALIDATE_FLOW_DEFINITION_INPUT: StaticSchema = ( - 18, - n0, - _VFDI, - {_sSI: _cVFDRo, _smit: None}, - (_def,), - ((FLOW_DEFINITION, 1),), -) - -CREATE_FLOW_VERSION: StaticOperationSchema = ( - 23, - n0, - _CFV, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/flows/{flowIdentifier}/versions"} - ) - }, - CREATE_FLOW_VERSION_INPUT, - CREATE_FLOW_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_FLOW: StaticOperationSchema = ( - 23, - n0, - _GF, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/flows/{flowIdentifier}/"} - ) - }, - GET_FLOW_INPUT, - GET_FLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_FLOW_VERSION: StaticOperationSchema = ( - 23, - n0, - _GFV, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/flows/{flowIdentifier}/versions/{flowVersion}/", - } - ) - }, - GET_FLOW_VERSION_INPUT, - GET_FLOW_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -VALIDATE_FLOW_DEFINITION: StaticOperationSchema = ( - 23, - n0, - _VFD, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/flows/validate-definition"} - ) - }, - VALIDATE_FLOW_DEFINITION_INPUT, - VALIDATE_FLOW_DEFINITION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_FLOW: StaticOperationSchema = ( - 23, - n0, - _CFr, - {_smithy: MappingProxyType({"code": 201, "method": "POST", "uri": "/flows/"})}, - CREATE_FLOW_INPUT, - CREATE_FLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_FLOW: StaticOperationSchema = ( - 23, - n0, - _UFp, - { - _smithy: MappingProxyType( - {"code": 200, "method": "PUT", "uri": "/flows/{flowIdentifier}/"} - ) - }, - UPDATE_FLOW_INPUT, - UPDATE_FLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AMAZON_BEDROCK_AGENT_BUILD_TIME_LAMBDA: StaticSchema = ( - 21, - n0, - _ABABTL, - { - _aw: MappingProxyType({"name": "bedrock"}), - _aws: MappingProxyType( - { - "sdkId": "Bedrock Agent", - "arnNamespace": "bedrock", - "endpointPrefix": "bedrock-agent", - "cloudTrailEventSource": "bedrock.amazonaws.com", - } - ), - _aJ: None, - _smithyap: MappingProxyType( - { - "additionalAllowedHeaders": ( - "*", - "content-type", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-platform-id", - "x-amzn-trace-id", - ), - "additionalExposedHeaders": ( - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-trace-id", - ), - "maxAge": 86400, - } - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ACCESS_CONTROL_ACCESS", + "ACCESS_CONTROL_PRINCIPAL_TYPE", + "NON_BLANK_STRING", + "ACCESS_DENIED_EXCEPTION", + "CUSTOM_CONTROL_METHOD", + "LAMBDA_ARN", + "ACTION_GROUP_EXECUTOR", + "CONFLICT_EXCEPTION", + "NAME", + "ACTION_GROUP_STATE", + "ID", + "DRAFT_VERSION", + "PAYLOAD", + "S3_BUCKET_NAME", + "S3_OBJECT_KEY", + "S3_IDENTIFIER", + "API_SCHEMA", + "CLIENT_TOKEN", + "DESCRIPTION", + "FUNCTION_DESCRIPTION", + "PARAMETER_DESCRIPTION", + "TYPE", + "PARAMETER_DETAIL", + "PARAMETER_MAP", + "REQUIRE_CONFIRMATION", + "FUNCTION", + "FUNCTIONS", + "FUNCTION_SCHEMA", + "ACTION_GROUP_SIGNATURE", + "ACTION_GROUP_SIGNATURE_PARAMS", + "CREATE_AGENT_ACTION_GROUP_INPUT", + "CREATE_AGENT_ACTION_GROUP_OUTPUT", + "CREATE_AGENT_ACTION_GROUP", + "VERSION", + "DATE_TIMESTAMP", + "AGENT_ACTION_GROUP", + "INTERNAL_SERVER_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION_FIELD", + "VALIDATION_EXCEPTION_FIELD_LIST", + "VALIDATION_EXCEPTION", + "DELETE_AGENT_ACTION_GROUP_INPUT", + "DELETE_AGENT_ACTION_GROUP_OUTPUT", + "DELETE_AGENT_ACTION_GROUP", + "GET_AGENT_ACTION_GROUP_INPUT", + "GET_AGENT_ACTION_GROUP_OUTPUT", + "GET_AGENT_ACTION_GROUP", + "MAX_RESULTS", + "NEXT_TOKEN", + "LIST_AGENT_ACTION_GROUPS_INPUT", + "LIST_AGENT_ACTION_GROUPS_OUTPUT", + "LIST_AGENT_ACTION_GROUPS", + "ACTION_GROUP_SUMMARY", + "ACTION_GROUP_SUMMARIES", + "UPDATE_AGENT_ACTION_GROUP_INPUT", + "UPDATE_AGENT_ACTION_GROUP_OUTPUT", + "UPDATE_AGENT_ACTION_GROUP", + "ADDITIONAL_MODEL_REQUEST_FIELDS_KEY", + "ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE", + "ADDITIONAL_MODEL_REQUEST_FIELDS", + "AGENT_ARN", + "AGENT_COLLABORATION", + "AGENT_ROLE_ARN", + "AGENT_STATUS", + "KMS_KEY_ARN", + "ORCHESTRATION_EXECUTOR", + "CUSTOM_ORCHESTRATION", + "FAILURE_REASON", + "FAILURE_REASONS", + "MODEL_IDENTIFIER", + "GUARDRAIL_IDENTIFIER", + "GUARDRAIL_VERSION", + "GUARDRAIL_CONFIGURATION", + "SESSION_TTL", + "INSTRUCTION", + "MEMORY_TYPE", + "ENABLED_MEMORY_TYPES", + "MAX_RECENT_SESSIONS", + "SESSION_SUMMARY_CONFIGURATION", + "STORAGE_DAYS", + "MEMORY_CONFIGURATION", + "ORCHESTRATION_TYPE", + "BASE_PROMPT_TEMPLATE", + "MAXIMUM_LENGTH", + "STOP_SEQUENCES", + "TEMPERATURE", + "TOP_K", + "TOP_P", + "INFERENCE_CONFIGURATION", + "CREATION_MODE", + "PROMPT_STATE", + "PROMPT_TYPE", + "PROMPT_CONFIGURATION", + "PROMPT_CONFIGURATIONS", + "PROMPT_OVERRIDE_CONFIGURATION", + "RECOMMENDED_ACTION", + "RECOMMENDED_ACTIONS", + "AGENT", + "AGENT_ALIAS_ARN", + "PROVISIONED_MODEL_IDENTIFIER", + "AGENT_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM", + "AGENT_ALIAS_ROUTING_CONFIGURATION", + "AGENT_ALIAS_HISTORY_EVENT", + "AGENT_ALIAS_HISTORY_EVENTS", + "AGENT_ALIAS_ID", + "AGENT_ALIAS_STATUS", + "ALIAS_INVOCATION_STATE", + "AGENT_ALIAS", + "TAG_KEY", + "NUMERICAL_VERSION", + "DATA_SOURCE_STATUS", + "FLOW_ARN", + ), + ( + "AGENT_ALIAS_SUMMARY", + "AGENT_ALIAS_SUMMARIES", + "AGENT_DESCRIPTOR", + "COLLABORATION_INSTRUCTION", + "RELAY_CONVERSATION_HISTORY", + "AGENT_COLLABORATOR", + "ASSOCIATE_AGENT_COLLABORATOR_INPUT", + "ASSOCIATE_AGENT_COLLABORATOR_OUTPUT", + "ASSOCIATE_AGENT_COLLABORATOR", + "DISASSOCIATE_AGENT_COLLABORATOR_INPUT", + "DISASSOCIATE_AGENT_COLLABORATOR_OUTPUT", + "DISASSOCIATE_AGENT_COLLABORATOR", + "GET_AGENT_COLLABORATOR_INPUT", + "GET_AGENT_COLLABORATOR_OUTPUT", + "GET_AGENT_COLLABORATOR", + "LIST_AGENT_COLLABORATORS_INPUT", + "LIST_AGENT_COLLABORATORS_OUTPUT", + "LIST_AGENT_COLLABORATORS", + "AGENT_COLLABORATOR_SUMMARY", + "AGENT_COLLABORATOR_SUMMARIES", + "UPDATE_AGENT_COLLABORATOR_INPUT", + "UPDATE_AGENT_COLLABORATOR_OUTPUT", + "UPDATE_AGENT_COLLABORATOR", + "FLOW_AGENT_ALIAS_ARN", + "AGENT_FLOW_NODE_CONFIGURATION", + "KNOWLEDGE_BASE_STATE", + "AGENT_KNOWLEDGE_BASE", + "AGENT_KNOWLEDGE_BASE_SUMMARY", + "AGENT_KNOWLEDGE_BASE_SUMMARIES", + "TAG_VALUE", + "TAGS_MAP", + "CREATE_AGENT_INPUT", + "CREATE_AGENT_OUTPUT", + "CREATE_AGENT", + "DELETE_AGENT_INPUT", + "DELETE_AGENT_OUTPUT", + "DELETE_AGENT", + "GET_AGENT_INPUT", + "GET_AGENT_OUTPUT", + "GET_AGENT", + "LIST_AGENTS_INPUT", + "LIST_AGENTS_OUTPUT", + "LIST_AGENTS", + "AGENT_SUMMARY", + "AGENT_SUMMARIES", + "PREPARE_AGENT_INPUT", + "PREPARE_AGENT_OUTPUT", + "PREPARE_AGENT", + "UPDATE_AGENT_INPUT", + "UPDATE_AGENT_OUTPUT", + "UPDATE_AGENT", + "AGENT_VERSION", + "AGENT_VERSION_SUMMARY", + "AGENT_VERSION_SUMMARIES", + "CREATE_AGENT_ALIAS_INPUT", + "CREATE_AGENT_ALIAS_OUTPUT", + "CREATE_AGENT_ALIAS", + "DELETE_AGENT_ALIAS_INPUT", + "DELETE_AGENT_ALIAS_OUTPUT", + "DELETE_AGENT_ALIAS", + "GET_AGENT_ALIAS_INPUT", + "GET_AGENT_ALIAS_OUTPUT", + "GET_AGENT_ALIAS", + "LIST_AGENT_ALIASES_INPUT", + "LIST_AGENT_ALIASES_OUTPUT", + "LIST_AGENT_ALIASES", + "UPDATE_AGENT_ALIAS_INPUT", + "UPDATE_AGENT_ALIAS_OUTPUT", + "UPDATE_AGENT_ALIAS", + "VPC_CONFIGURATION_DESCRIPTION", + "HOST_HEADER", + "VPC_CONFIGURATION_NAME", + "PORT", + "VPC_PROTOCOL", + "VPC_RESOLUTION_MODE", + "RESOURCE_TARGET", + "SUBNET_ID", + "SUBNET_ID_LIST", + "TLS_SERVER_NAME", + "VPC_ID", + "CREATE_VPC_CONFIGURATION_INPUT", + "CREATE_VPC_CONFIGURATION_OUTPUT", + "CREATE_VPC_CONFIGURATION", + "VPC_CONFIGURATION_STATUS_MESSAGE", + ), + ( + "VPC_CONFIGURATION_STATUS", + "VPC_CONFIGURATION_ID", + "DATA_DELETION_POLICY", + "FILTER_PATTERN", + "FILTER_LIST", + "FILTERED_OBJECT_TYPE", + "PATTERN_OBJECT_FILTER", + "PATTERN_OBJECT_FILTER_LIST", + "PATTERN_OBJECT_FILTER_CONFIGURATION", + "CRAWL_FILTER_CONFIGURATION_TYPE", + "CRAWL_FILTER_CONFIGURATION", + "CONFLUENCE_CRAWLER_CONFIGURATION", + "CONFLUENCE_AUTH_TYPE", + "SECRET_ARN", + "CONFLUENCE_HOST_TYPE", + "HTTPS_URL", + "CONFLUENCE_SOURCE_CONFIGURATION", + "CONFLUENCE_DATA_SOURCE_CONFIGURATION", + "ENABLED_OR_DISABLED_STATE", + "DELETION_PROTECTION_CONFIGURATION", + "AUDIO_EXTRACTION_CONFIGURATION", + "IMAGE_EXTRACTION_CONFIGURATION", + "VIDEO_EXTRACTION_CONFIGURATION", + "MEDIA_EXTRACTION_CONFIGURATION", + "DAILY_SCHEDULE", + "DAY_OF_MONTH_NUMBER", + "LAST_DAY_OF_MONTH", + "DAY_OF_MONTH", + "MONTHLY_SCHEDULE", + "DAY_OF_WEEK", + "WEEKLY_SCHEDULE", + "SYNC_SCHEDULE", + "MANAGED_KNOWLEDGE_BASE_CONNECTOR_CONFIGURATION", + "S3_BUCKET_ARN", + "BUCKET_OWNER_ACCOUNT_ID", + "S3_PREFIX", + "S3_PREFIXES", + "S3_DATA_SOURCE_CONFIGURATION", + "SALESFORCE_CRAWLER_CONFIGURATION", + "SALESFORCE_AUTH_TYPE", + "SALESFORCE_SOURCE_CONFIGURATION", + "SALESFORCE_DATA_SOURCE_CONFIGURATION", + "SHARE_POINT_CRAWLER_CONFIGURATION", + "SHARE_POINT_AUTH_TYPE", + "SHARE_POINT_DOMAIN", + "SHARE_POINT_HOST_TYPE", + "SHARE_POINT_SITE_URLS", + "MICROSOFT365_TENANT_ID", + "SHARE_POINT_SOURCE_CONFIGURATION", + "SHARE_POINT_DATA_SOURCE_CONFIGURATION", + "DATA_SOURCE_TYPE", + "WEB_CRAWLER_LIMITS", + "WEB_SCOPE_TYPE", + "USER_AGENT", + "USER_AGENT_HEADER", + "WEB_CRAWLER_CONFIGURATION", + "URL", + "SEED_URL", + "SEED_URLS", + "URL_CONFIGURATION", + "WEB_SOURCE_CONFIGURATION", + "WEB_DATA_SOURCE_CONFIGURATION", + "DATA_SOURCE_CONFIGURATION", + "SERVER_SIDE_ENCRYPTION_CONFIGURATION", + "CHUNKING_STRATEGY", + "FIXED_SIZE_CHUNKING_CONFIGURATION", + "HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATION", + "HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATIONS", + "HIERARCHICAL_CHUNKING_CONFIGURATION", + "SEMANTIC_CHUNKING_CONFIGURATION", + "CHUNKING_CONFIGURATION", + "ENRICHMENT_STRATEGY_METHOD", + "ENRICHMENT_STRATEGY_CONFIGURATION", + "BEDROCK_MODEL_ARN", + "BEDROCK_FOUNDATION_MODEL_CONTEXT_ENRICHMENT_CONFIGURATION", + "CONTEXT_ENRICHMENT_TYPE", + "CONTEXT_ENRICHMENT_CONFIGURATION", + "S3_BUCKET_URI", + "S3_LOCATION", + "INTERMEDIATE_STORAGE", + "STEP_TYPE", + "TRANSFORMATION_LAMBDA_CONFIGURATION", + "TRANSFORMATION_FUNCTION", + "TRANSFORMATION", + "TRANSFORMATIONS", + "CUSTOM_TRANSFORMATION_CONFIGURATION", + "PARSING_MODALITY", + "BEDROCK_DATA_AUTOMATION_CONFIGURATION", + "PARSING_PROMPT_TEXT", + "PARSING_PROMPT", + "BEDROCK_FOUNDATION_MODEL_CONFIGURATION", + "PARSING_STRATEGY", + "PARSING_CONFIGURATION", + "VECTOR_INGESTION_CONFIGURATION", + "CREATE_DATA_SOURCE_INPUT", + "CREATE_DATA_SOURCE_OUTPUT", + "CREATE_DATA_SOURCE", + "DATA_SOURCE", + "DELETE_DATA_SOURCE_INPUT", + "DELETE_DATA_SOURCE_OUTPUT", + "DELETE_DATA_SOURCE", + "GET_DATA_SOURCE_INPUT", + "GET_DATA_SOURCE_OUTPUT", + "GET_DATA_SOURCE", + ), + ( + "LIST_DATA_SOURCES_INPUT", + "LIST_DATA_SOURCES_OUTPUT", + "LIST_DATA_SOURCES", + "DATA_SOURCE_SUMMARY", + "DATA_SOURCE_SUMMARIES", + "UPDATE_DATA_SOURCE_INPUT", + "UPDATE_DATA_SOURCE_OUTPUT", + "UPDATE_DATA_SOURCE", + "REVISION_ID", + "RESOURCE_ARN", + "DELETE_RESOURCE_POLICY_INPUT", + "DELETE_RESOURCE_POLICY_OUTPUT", + "DELETE_RESOURCE_POLICY", + "DELETE_VPC_CONFIGURATION_INPUT", + "DELETE_VPC_CONFIGURATION_OUTPUT", + "DELETE_VPC_CONFIGURATION", + "FLOW_CONDITION_NAME", + "FLOW_CONDITIONAL_CONNECTION_CONFIGURATION", + "FLOW_NODE_OUTPUT_NAME", + "FLOW_NODE_INPUT_NAME", + "FLOW_DATA_CONNECTION_CONFIGURATION", + "FLOW_CONNECTION_CONFIGURATION", + "FLOW_CONNECTION_NAME", + "FLOW_NODE_NAME", + "FLOW_CONNECTION_TYPE", + "FLOW_CONNECTION", + "FLOW_CONNECTIONS", + "COLLECTOR_FLOW_NODE_CONFIGURATION", + "FLOW_CONDITION_EXPRESSION", + "FLOW_CONDITION", + "FLOW_CONDITIONS", + "CONDITION_FLOW_NODE_CONFIGURATION", + "INLINE_CODE", + "SUPPORTED_LANGUAGES", + "INLINE_CODE_FLOW_NODE_CONFIGURATION", + "INPUT_FLOW_NODE_CONFIGURATION", + "ITERATOR_FLOW_NODE_CONFIGURATION", + "PROMPT_MODEL_INFERENCE_CONFIGURATION", + "PROMPT_INFERENCE_CONFIGURATION", + "FLOW_KNOWLEDGE_BASE_ID", + "KNOWLEDGE_BASE_MODEL_IDENTIFIER", + "PERFORMANCE_CONFIG_LATENCY", + "PERFORMANCE_CONFIGURATION", + "KNOWLEDGE_BASE_TEXT_PROMPT", + "KNOWLEDGE_BASE_PROMPT_TEMPLATE", + "KNOWLEDGE_BASE_ORCHESTRATION_CONFIGURATION", + "RERANKING_METADATA_SELECTION_MODE", + "FIELD_FOR_RERANKING", + "FIELDS_FOR_RERANKING", + "RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION", + "METADATA_CONFIGURATION_FOR_RERANKING", + "BEDROCK_RERANKING_MODEL_ARN", + "VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION", + "VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION", + "VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE", + "VECTOR_SEARCH_RERANKING_CONFIGURATION", + "KNOWLEDGE_BASE_FLOW_NODE_CONFIGURATION", + "FLOW_LAMBDA_ARN", + "LAMBDA_FUNCTION_FLOW_NODE_CONFIGURATION", + "FLOW_LEX_BOT_ALIAS_ARN", + "FLOW_LEX_BOT_LOCALE_ID", + "LEX_FLOW_NODE_CONFIGURATION", + "LOOP_CONTROLLER_FLOW_NODE_CONFIGURATION", + "LOOP_INPUT_FLOW_NODE_CONFIGURATION", + "OUTPUT_FLOW_NODE_CONFIGURATION", + "FLOW_PROMPT_MODEL_IDENTIFIER", + "PROMPT_INPUT_VARIABLE_NAME", + "PROMPT_INPUT_VARIABLE", + "PROMPT_INPUT_VARIABLES_LIST", + "CACHE_POINT_TYPE", + "CACHE_POINT_BLOCK", + "CONTENT_BLOCK", + "CONTENT_BLOCKS", + "CONVERSATION_ROLE", + "MESSAGE", + "MESSAGES", + "NON_EMPTY_STRING", + "SYSTEM_CONTENT_BLOCK", + "SYSTEM_CONTENT_BLOCKS", + "ANY_TOOL_CHOICE", + "AUTO_TOOL_CHOICE", + "TOOL_NAME", + "SPECIFIC_TOOL_CHOICE", + "TOOL_CHOICE", + "TOOL_INPUT_SCHEMA", + "TOOL_SPECIFICATION", + "TOOL", + "TOOLS", + "TOOL_CONFIGURATION", + "CHAT_PROMPT_TEMPLATE_CONFIGURATION", + "TEXT_PROMPT", + "TEXT_PROMPT_TEMPLATE_CONFIGURATION", + "PROMPT_TEMPLATE_CONFIGURATION", + "PROMPT_TEMPLATE_TYPE", + "PROMPT_FLOW_NODE_INLINE_CONFIGURATION", + "FLOW_PROMPT_ARN", + "PROMPT_FLOW_NODE_RESOURCE_CONFIGURATION", + "PROMPT_FLOW_NODE_SOURCE_CONFIGURATION", + "PROMPT_FLOW_NODE_CONFIGURATION", + "FLOW_S3_BUCKET_NAME", + "RETRIEVAL_FLOW_NODE_S3_CONFIGURATION", + "RETRIEVAL_FLOW_NODE_SERVICE_CONFIGURATION", + "RETRIEVAL_FLOW_NODE_CONFIGURATION", + "STORAGE_FLOW_NODE_S3_CONFIGURATION", + "STORAGE_FLOW_NODE_SERVICE_CONFIGURATION", + "STORAGE_FLOW_NODE_CONFIGURATION", + "FLOW_NODE_INPUT_CATEGORY", + "FLOW_NODE_INPUT_EXPRESSION", + "FLOW_NODE_IO_DATA_TYPE", + "FLOW_NODE_INPUT", + "FLOW_NODE_INPUTS", + "FLOW_NODE_OUTPUT", + "FLOW_NODE_OUTPUTS", + "FLOW_NODE_TYPE", + "FLOW_DESCRIPTION", + "FLOW_EXECUTION_ROLE_ARN", + "FLOW_NAME", + "INCLUDED_DATA", + "RESOURCE_POLICY", + "FLOW_DEFINITION", + "FLOW_NODE", + "FLOW_NODE_CONFIGURATION", + "FLOW_NODES", + "LOOP_FLOW_NODE_CONFIGURATION", + ), + ( + "FLOW_ID", + "FLOW_STATUS", + "FLOW_IDENTIFIER", + "DELETE_FLOW_INPUT", + "DELETE_FLOW_OUTPUT", + "DELETE_FLOW", + "CONCURRENCY_TYPE", + "FLOW_ALIAS_CONCURRENCY_CONFIGURATION", + "FLOW_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM", + "FLOW_ALIAS_ROUTING_CONFIGURATION", + "CREATE_FLOW_ALIAS_INPUT", + "CREATE_FLOW_ALIAS_OUTPUT", + "CREATE_FLOW_ALIAS", + "FLOW_ALIAS_ARN", + "FLOW_ALIAS_ID", + "FLOW_ALIAS_IDENTIFIER", + "DELETE_FLOW_ALIAS_INPUT", + "DELETE_FLOW_ALIAS_OUTPUT", + "DELETE_FLOW_ALIAS", + "GET_FLOW_ALIAS_INPUT", + "GET_FLOW_ALIAS_OUTPUT", + "GET_FLOW_ALIAS", + "LIST_FLOW_ALIASES_INPUT", + "LIST_FLOW_ALIASES_OUTPUT", + "LIST_FLOW_ALIASES", + "FLOW_ALIAS_SUMMARY", + "FLOW_ALIAS_SUMMARIES", + "UPDATE_FLOW_ALIAS_INPUT", + "UPDATE_FLOW_ALIAS_OUTPUT", + "UPDATE_FLOW_ALIAS", + "CREATE_FLOW_VERSION_INPUT", + "CREATE_FLOW_VERSION_OUTPUT", + "CREATE_FLOW_VERSION", + "DELETE_FLOW_VERSION_INPUT", + "DELETE_FLOW_VERSION_OUTPUT", + "DELETE_FLOW_VERSION", + "GET_FLOW_VERSION_INPUT", + "GET_FLOW_VERSION_OUTPUT", + "GET_FLOW_VERSION", + "LIST_FLOW_VERSIONS_INPUT", + "LIST_FLOW_VERSIONS_OUTPUT", + "LIST_FLOW_VERSIONS", + "FLOW_VERSION_SUMMARY", + "FLOW_VERSION_SUMMARIES", + "GET_FLOW_INPUT", + "GET_FLOW_OUTPUT", + "GET_FLOW", + "CYCLIC_CONNECTION_FLOW_VALIDATION_DETAILS", + "DUPLICATE_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS", + "DUPLICATE_CONNECTIONS_FLOW_VALIDATION_DETAILS", + "INCOMPATIBLE_CONNECTION_DATA_TYPE_FLOW_VALIDATION_DETAILS", + "INVALID_LOOP_BOUNDARY_FLOW_VALIDATION_DETAILS", + "INCOMPATIBLE_LOOP_NODE_TYPE", + "LOOP_INCOMPATIBLE_NODE_TYPE_FLOW_VALIDATION_DETAILS", + "ERROR_MESSAGE", + "MALFORMED_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS", + "MALFORMED_NODE_INPUT_EXPRESSION_FLOW_VALIDATION_DETAILS", + "MISMATCHED_NODE_INPUT_TYPE_FLOW_VALIDATION_DETAILS", + "MISMATCHED_NODE_OUTPUT_TYPE_FLOW_VALIDATION_DETAILS", + "MISSING_CONNECTION_CONFIGURATION_FLOW_VALIDATION_DETAILS", + "MISSING_DEFAULT_CONDITION_FLOW_VALIDATION_DETAILS", + "MISSING_ENDING_NODES_FLOW_VALIDATION_DETAILS", + "MISSING_LOOP_CONTROLLER_NODE_FLOW_VALIDATION_DETAILS", + "MISSING_LOOP_INPUT_NODE_FLOW_VALIDATION_DETAILS", + "MISSING_NODE_CONFIGURATION_FLOW_VALIDATION_DETAILS", + "MISSING_NODE_INPUT_FLOW_VALIDATION_DETAILS", + "MISSING_NODE_OUTPUT_FLOW_VALIDATION_DETAILS", + "MISSING_STARTING_NODES_FLOW_VALIDATION_DETAILS", + "MULTIPLE_LOOP_CONTROLLER_NODES_FLOW_VALIDATION_DETAILS", + "MULTIPLE_LOOP_INPUT_NODES_FLOW_VALIDATION_DETAILS", + "MULTIPLE_NODE_INPUT_CONNECTIONS_FLOW_VALIDATION_DETAILS", + "UNFULFILLED_NODE_INPUT_FLOW_VALIDATION_DETAILS", + "UNKNOWN_CONNECTION_CONDITION_FLOW_VALIDATION_DETAILS", + "UNKNOWN_CONNECTION_SOURCE_FLOW_VALIDATION_DETAILS", + "UNKNOWN_CONNECTION_SOURCE_OUTPUT_FLOW_VALIDATION_DETAILS", + "UNKNOWN_CONNECTION_TARGET_FLOW_VALIDATION_DETAILS", + "UNKNOWN_CONNECTION_TARGET_INPUT_FLOW_VALIDATION_DETAILS", + "UNKNOWN_NODE_INPUT_FLOW_VALIDATION_DETAILS", + "UNKNOWN_NODE_OUTPUT_FLOW_VALIDATION_DETAILS", + "UNREACHABLE_NODE_FLOW_VALIDATION_DETAILS", + "UNSATISFIED_CONNECTION_CONDITIONS_FLOW_VALIDATION_DETAILS", + "UNSPECIFIED_FLOW_VALIDATION_DETAILS", + "FLOW_VALIDATION_DETAILS", + ), + ( + "FLOW_VALIDATION_SEVERITY", + "FLOW_VALIDATION_TYPE", + "FLOW_VALIDATION", + "FLOW_VALIDATIONS", + "LIST_FLOWS_INPUT", + "LIST_FLOWS_OUTPUT", + "LIST_FLOWS", + "FLOW_SUMMARY", + "FLOW_SUMMARIES", + "PREPARE_FLOW_INPUT", + "PREPARE_FLOW_OUTPUT", + "PREPARE_FLOW", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + "GET_VPC_CONFIGURATION_INPUT", + "GET_VPC_CONFIGURATION_OUTPUT", + "GET_VPC_CONFIGURATION", + "VPC_CONFIGURATION", + "GET_INGESTION_JOB_INPUT", + "GET_INGESTION_JOB_OUTPUT", + "GET_INGESTION_JOB", + "INGESTION_JOB_STATISTICS", + "INGESTION_JOB_STATUS", + "INGESTION_JOB", + "INGESTION_JOB_FILTER_ATTRIBUTE", + "INGESTION_JOB_FILTER_OPERATOR", + "INGESTION_JOB_FILTER_VALUE", + "INGESTION_JOB_FILTER_VALUES", + "INGESTION_JOB_FILTER", + "INGESTION_JOB_FILTERS", + "INGESTION_JOB_SORT_BY_ATTRIBUTE", + "SORT_ORDER", + "INGESTION_JOB_SORT_BY", + "LIST_INGESTION_JOBS_INPUT", + "LIST_INGESTION_JOBS_OUTPUT", + "LIST_INGESTION_JOBS", + "INGESTION_JOB_SUMMARY", + "INGESTION_JOB_SUMMARIES", + "START_INGESTION_JOB_INPUT", + "START_INGESTION_JOB_OUTPUT", + "START_INGESTION_JOB", + "STOP_INGESTION_JOB_INPUT", + "STOP_INGESTION_JOB_OUTPUT", + "STOP_INGESTION_JOB", + "CUSTOM_DOCUMENT_IDENTIFIER", + "CONTENT_DATA_SOURCE_TYPE", + "DOCUMENT_IDENTIFIER", + "DOCUMENT_IDENTIFIERS", + "DELETE_KNOWLEDGE_BASE_DOCUMENTS_INPUT", + "DELETE_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT", + "DELETE_KNOWLEDGE_BASE_DOCUMENTS", + "DOCUMENT_STATUS", + "KNOWLEDGE_BASE_DOCUMENT_DETAIL", + "KNOWLEDGE_BASE_DOCUMENT_DETAILS", + "GET_KNOWLEDGE_BASE_DOCUMENTS_INPUT", + "GET_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT", + "GET_KNOWLEDGE_BASE_DOCUMENTS", + "BYTE_CONTENT_BLOB", + "BYTE_CONTENT_DOC", + "DATA", + "TEXT_CONTENT_DOC", + "INLINE_CONTENT_TYPE", + "INLINE_CONTENT", + "S3_OBJECT_URI", + "CUSTOM_S3_LOCATION", + "CUSTOM_SOURCE_TYPE", + "CUSTOM_CONTENT", + "S3_CONTENT", + "DOCUMENT_CONTENT", + "DOCUMENT_ACCESS_CONTROL_ENTRY", + "DOCUMENT_ACCESS_CONTROL_LIST", + "KEY", + "NUMBER_VALUE", + "STRING_VALUE", + "STRING_LIST_VALUE", + "METADATA_VALUE_TYPE", + "METADATA_ATTRIBUTE_VALUE", + ), + ( + "METADATA_ATTRIBUTE", + "METADATA_ATTRIBUTES", + "METADATA_SOURCE_TYPE", + "DOCUMENT_METADATA", + "KNOWLEDGE_BASE_DOCUMENT", + "KNOWLEDGE_BASE_DOCUMENTS", + "INGEST_KNOWLEDGE_BASE_DOCUMENTS_INPUT", + "INGEST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT", + "INGEST_KNOWLEDGE_BASE_DOCUMENTS", + "LIST_KNOWLEDGE_BASE_DOCUMENTS_INPUT", + "LIST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT", + "LIST_KNOWLEDGE_BASE_DOCUMENTS", + "ASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT", + "ASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT", + "ASSOCIATE_AGENT_KNOWLEDGE_BASE", + "KENDRA_INDEX_ARN", + "KENDRA_KNOWLEDGE_BASE_CONFIGURATION", + "BEDROCK_EMBEDDING_MODEL_ARN", + "AUDIO_SEGMENTATION_CONFIGURATION", + "AUDIO_CONFIGURATION", + "AUDIO_CONFIGURATIONS", + "DIMENSIONS", + "EMBEDDING_DATA_TYPE", + "VIDEO_SEGMENTATION_CONFIGURATION", + "VIDEO_CONFIGURATION", + "VIDEO_CONFIGURATIONS", + "BEDROCK_EMBEDDING_MODEL_CONFIGURATION", + "EMBEDDING_MODEL_CONFIGURATION", + "EMBEDDING_MODEL_TYPE", + "SUPPLEMENTAL_DATA_STORAGE_LOCATION_TYPE", + "SUPPLEMENTAL_DATA_STORAGE_LOCATION", + "SUPPLEMENTAL_DATA_STORAGE_LOCATIONS", + "SUPPLEMENTAL_DATA_STORAGE_CONFIGURATION", + "MANAGED_KNOWLEDGE_BASE_CONFIGURATION", + "REDSHIFT_PROVISIONED_AUTH_TYPE", + "REDSHIFT_PROVISIONED_AUTH_CONFIGURATION", + "REDSHIFT_CLUSTER_IDENTIFIER", + "REDSHIFT_PROVISIONED_CONFIGURATION", + "REDSHIFT_SERVERLESS_AUTH_TYPE", + "REDSHIFT_SERVERLESS_AUTH_CONFIGURATION", + "WORKGROUP_ARN", + "REDSHIFT_SERVERLESS_CONFIGURATION", + "REDSHIFT_QUERY_ENGINE_TYPE", + "REDSHIFT_QUERY_ENGINE_CONFIGURATION", + "QUERY_EXECUTION_TIMEOUT_SECONDS", + "NATURAL_LANGUAGE_STRING", + "SQL_STRING", + "CURATED_QUERY", + "CURATED_QUERIES", + "DESCRIPTION_STRING", + "INCLUDE_EXCLUDE", + "QUERY_GENERATION_COLUMN_NAME", + "QUERY_GENERATION_COLUMN", + "QUERY_GENERATION_COLUMNS", + "QUERY_GENERATION_TABLE_NAME", + "QUERY_GENERATION_TABLE", + "QUERY_GENERATION_TABLES", + "QUERY_GENERATION_CONTEXT", + "QUERY_GENERATION_CONFIGURATION", + "AWS_DATA_CATALOG_TABLE_NAME", + "AWS_DATA_CATALOG_TABLE_NAMES", + "REDSHIFT_QUERY_ENGINE_AWS_DATA_CATALOG_STORAGE_CONFIGURATION", + "REDSHIFT_DATABASE", + "REDSHIFT_QUERY_ENGINE_REDSHIFT_STORAGE_CONFIGURATION", + "REDSHIFT_QUERY_ENGINE_STORAGE_TYPE", + "REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATION", + "REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATIONS", + "REDSHIFT_CONFIGURATION", + "QUERY_ENGINE_TYPE", + "SQL_KNOWLEDGE_BASE_CONFIGURATION", + "KNOWLEDGE_BASE_TYPE", + "VECTOR_KNOWLEDGE_BASE_CONFIGURATION", + "KNOWLEDGE_BASE_CONFIGURATION", + "KNOWLEDGE_BASE_ROLE_ARN", + "MONGO_DB_ATLAS_COLLECTION_NAME", + "MONGO_DB_ATLAS_DATABASE_NAME", + "MONGO_DB_ATLAS_ENDPOINT", + "MONGO_DB_ATLAS_ENDPOINT_SERVICE_NAME", + "FIELD_NAME", + "MONGO_DB_ATLAS_FIELD_MAPPING", + "MONGO_DB_ATLAS_INDEX_NAME", + "MONGO_DB_ATLAS_CONFIGURATION", + "NEPTUNE_ANALYTICS_FIELD_MAPPING", + "GRAPH_ARN", + "NEPTUNE_ANALYTICS_CONFIGURATION", + "OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ARN", + "OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ENDPOINT", + "OPEN_SEARCH_MANAGED_CLUSTER_FIELD_MAPPING", + "OPEN_SEARCH_MANAGED_CLUSTER_INDEX_NAME", + "OPEN_SEARCH_MANAGED_CLUSTER_CONFIGURATION", + "OPEN_SEARCH_SERVERLESS_COLLECTION_ARN", + "OPEN_SEARCH_SERVERLESS_FIELD_MAPPING", + "OPEN_SEARCH_SERVERLESS_INDEX_NAME", + "OPEN_SEARCH_SERVERLESS_CONFIGURATION", + "PINECONE_CONNECTION_STRING", + "PINECONE_FIELD_MAPPING", + "PINECONE_NAMESPACE", + "PINECONE_CONFIGURATION", + "RDS_DATABASE_NAME", + "COLUMN_NAME", + "RDS_FIELD_MAPPING", + "RDS_ARN", + "RDS_TABLE_NAME", + "RDS_CONFIGURATION", + "REDIS_ENTERPRISE_CLOUD_ENDPOINT", + "REDIS_ENTERPRISE_CLOUD_FIELD_MAPPING", + "REDIS_ENTERPRISE_CLOUD_INDEX_NAME", + "REDIS_ENTERPRISE_CLOUD_CONFIGURATION", + "INDEX_ARN", + "INDEX_NAME", + "VECTOR_BUCKET_ARN", + ), + ( + "S3_VECTORS_CONFIGURATION", + "KNOWLEDGE_BASE_STORAGE_TYPE", + "STORAGE_CONFIGURATION", + "CREATE_KNOWLEDGE_BASE_INPUT", + "CREATE_KNOWLEDGE_BASE_OUTPUT", + "CREATE_KNOWLEDGE_BASE", + "KNOWLEDGE_BASE_ARN", + "METADATA_KEY_NAME", + "SEARCHABLE_STATUS", + "FIELD_TYPE", + "METADATA_CONFIGURATION", + "METADATA_CONFIGURATIONS", + "KNOWLEDGE_BASE_STATUS", + "KNOWLEDGE_BASE", + "DELETE_KNOWLEDGE_BASE_INPUT", + "DELETE_KNOWLEDGE_BASE_OUTPUT", + "DELETE_KNOWLEDGE_BASE", + "DISASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT", + "DISASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT", + "DISASSOCIATE_AGENT_KNOWLEDGE_BASE", + "GET_AGENT_KNOWLEDGE_BASE_INPUT", + "GET_AGENT_KNOWLEDGE_BASE_OUTPUT", + "GET_AGENT_KNOWLEDGE_BASE", + "GET_KNOWLEDGE_BASE_INPUT", + "GET_KNOWLEDGE_BASE_OUTPUT", + "GET_KNOWLEDGE_BASE", + "LIST_AGENT_KNOWLEDGE_BASES_INPUT", + "LIST_AGENT_KNOWLEDGE_BASES_OUTPUT", + "LIST_AGENT_KNOWLEDGE_BASES", + "LIST_KNOWLEDGE_BASES_INPUT", + "LIST_KNOWLEDGE_BASES_OUTPUT", + "LIST_KNOWLEDGE_BASES", + "KNOWLEDGE_BASE_SUMMARY", + "KNOWLEDGE_BASE_SUMMARIES", + "UPDATE_AGENT_KNOWLEDGE_BASE_INPUT", + "UPDATE_AGENT_KNOWLEDGE_BASE_OUTPUT", + "UPDATE_AGENT_KNOWLEDGE_BASE", + "UPDATE_KNOWLEDGE_BASE_INPUT", + "UPDATE_KNOWLEDGE_BASE_OUTPUT", + "UPDATE_KNOWLEDGE_BASE", + "LIST_VPC_CONFIGURATIONS_INPUT", + "LIST_VPC_CONFIGURATIONS_OUTPUT", + "LIST_VPC_CONFIGURATIONS", + "VPC_CONFIGURATION_SUMMARY", + "VPC_CONFIGURATION_SUMMARY_LIST", + "PROMPT_VARIANT_NAME", + "PROMPT_DESCRIPTION", + "PROMPT_NAME", + "PROMPT_AGENT_RESOURCE", + "PROMPT_GEN_AI_RESOURCE", + "PROMPT_METADATA_KEY", + "PROMPT_METADATA_VALUE", + "PROMPT_METADATA_ENTRY", + "PROMPT_METADATA_LIST", + "PROMPT_MODEL_IDENTIFIER", + "PROMPT_VARIANT", + "PROMPT_VARIANT_LIST", + "CREATE_PROMPT_INPUT", + "CREATE_PROMPT_OUTPUT", + "CREATE_PROMPT", + "PROMPT_ARN", + "PROMPT_ID", + "PROMPT_IDENTIFIER", + "CREATE_PROMPT_VERSION_INPUT", + "CREATE_PROMPT_VERSION_OUTPUT", + "CREATE_PROMPT_VERSION", + "DELETE_PROMPT_INPUT", + "DELETE_PROMPT_OUTPUT", + "DELETE_PROMPT", + "GET_PROMPT_INPUT", + "GET_PROMPT_OUTPUT", + "GET_PROMPT", + "LIST_PROMPTS_INPUT", + "LIST_PROMPTS_OUTPUT", + "LIST_PROMPTS", + "PROMPT_SUMMARY", + "PROMPT_SUMMARIES", + "UPDATE_PROMPT_INPUT", + "UPDATE_PROMPT_OUTPUT", + "UPDATE_PROMPT", + ), + ( + "PUT_RESOURCE_POLICY_INPUT", + "PUT_RESOURCE_POLICY_OUTPUT", + "PUT_RESOURCE_POLICY", + "RETRIEVAL_INSTRUCTION_DESCRIPTION", + "RETRIEVAL_INSTRUCTION_FIELD_TEXT", + "RETRIEVAL_INSTRUCTION_CONTENT", + "RETRIEVAL_INSTRUCTION_NAME", + "CREATE_RETRIEVAL_INSTRUCTION_INPUT", + "CREATE_RETRIEVAL_INSTRUCTION_OUTPUT", + "CREATE_RETRIEVAL_INSTRUCTION", + "RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS", + "RETRIEVAL_INSTRUCTION_ARN", + "RETRIEVAL_INSTRUCTION_ID", + "RETRIEVAL_INSTRUCTION_STATUS", + "CREATE_RETRIEVAL_INSTRUCTION_VERSION_INPUT", + "CREATE_RETRIEVAL_INSTRUCTION_VERSION_OUTPUT", + "CREATE_RETRIEVAL_INSTRUCTION_VERSION", + "RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION", + "DELETE_RETRIEVAL_INSTRUCTION_INPUT", + "DELETE_RETRIEVAL_INSTRUCTION_OUTPUT", + "DELETE_RETRIEVAL_INSTRUCTION", + "RETRIEVAL_INSTRUCTION_VERSION_SELECTOR", + "GET_RETRIEVAL_INSTRUCTION_INPUT", + "GET_RETRIEVAL_INSTRUCTION_OUTPUT", + "GET_RETRIEVAL_INSTRUCTION", + "RETRIEVAL_INSTRUCTION_FAILURE_REASON_CODE", + "RETRIEVAL_INSTRUCTION_FIELD_NAME", + "RETRIEVAL_INSTRUCTION_FAILURE_REASON", + "RETRIEVAL_INSTRUCTION_FAILURE_REASONS", + "RETRIEVAL_INSTRUCTION_MAX_RESULTS", + "LIST_RETRIEVAL_INSTRUCTIONS_INPUT", + "LIST_RETRIEVAL_INSTRUCTIONS_OUTPUT", + "LIST_RETRIEVAL_INSTRUCTIONS", + "RETRIEVAL_INSTRUCTION_SUMMARY", + "RETRIEVAL_INSTRUCTION_SUMMARIES", + "LIST_RETRIEVAL_INSTRUCTION_VERSIONS_INPUT", + "LIST_RETRIEVAL_INSTRUCTION_VERSIONS_OUTPUT", + "LIST_RETRIEVAL_INSTRUCTION_VERSIONS", + "RETRIEVAL_INSTRUCTION_VERSION_SUMMARY", + "RETRIEVAL_INSTRUCTION_VERSION_SUMMARIES", + "UPDATE_RETRIEVAL_INSTRUCTION_INPUT", + "UPDATE_RETRIEVAL_INSTRUCTION_OUTPUT", + "UPDATE_RETRIEVAL_INSTRUCTION", + "TAGGABLE_RESOURCES_ARN", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "VALIDATE_FLOW_DEFINITION_OUTPUT", + "VALIDATE_FLOW_DEFINITION_INPUT", + "VALIDATE_FLOW_DEFINITION", + "DELETE_AGENT_VERSION_INPUT", + "DELETE_AGENT_VERSION_OUTPUT", + "DELETE_AGENT_VERSION", + "GET_AGENT_VERSION_INPUT", + "GET_AGENT_VERSION_OUTPUT", + "GET_AGENT_VERSION", + "LIST_AGENT_VERSIONS_INPUT", + "LIST_AGENT_VERSIONS_OUTPUT", + "LIST_AGENT_VERSIONS", + "CREATE_FLOW_INPUT", + "CREATE_FLOW_OUTPUT", + "CREATE_FLOW", + "UPDATE_FLOW_INPUT", + "UPDATE_FLOW_OUTPUT", + "UPDATE_FLOW", + "AMAZON_BEDROCK_AGENT_BUILD_TIME_LAMBDA", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_0.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_0.py new file mode 100644 index 000000000..d182fc309 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_0.py @@ -0,0 +1,1220 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.bedrockagent" +_ACA = "AccessControlAccess" +_ALLOW = "ALLOW" +_sV = "smithy.api#enumValue" +_DENY = "DENY" +_ACPT = "AccessControlPrincipalType" +_USER = "USER" +_NBS = "NonBlankString" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_CCM = "CustomControlMethod" +_RC = "RETURN_CONTROL" +_LA = "LambdaArn" +_AGE = "ActionGroupExecutor" +_l = "lambda" +_cC = "customControl" +_CE = "ConflictException" +_N = "Name" +_AGS = "ActionGroupState" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_I = "Id" +_DV = "DraftVersion" +_P = "Payload" +_sm = "smithy.api#sensitive" +_SBN = "S3BucketName" +_SOK = "S3ObjectKey" +_SI = "S3Identifier" +_sBN = "s3BucketName" +_sOK = "s3ObjectKey" +_APIS = "APISchema" +_s_ = "s3" +_p = "payload" +_CT = "ClientToken" +_D = "Description" +_FD = "FunctionDescription" +_PD = "ParameterDescription" +_T = "Type" +_STRING = "STRING" +_st = "string" +_NUMBER = "NUMBER" +_n = "number" +_INTEGER = "INTEGER" +_i = "integer" +_BOOLEAN = "BOOLEAN" +_b = "boolean" +_ARRAY = "ARRAY" +_a = "array" +_PDa = "ParameterDetail" +_d = "description" +_t = "type" +_smi = "smithy.api#required" +_r = "required" +_PM = "ParameterMap" +_k = "key" +_v = "value" +_RCe = "RequireConfirmation" +_F = "Function" +_na = "name" +_pa = "parameters" +_rC = "requireConfirmation" +_Fu = "Functions" +_me = "member" +_FS = "FunctionSchema" +_f = "functions" +_AGSc = "ActionGroupSignature" +_AU = "AMAZON_USERINPUT" +_AMAZONUI = "AMAZON.UserInput" +_AC = "AMAZON_CODEINTERPRETER" +_AMAZONCI = "AMAZON.CodeInterpreter" +_AC_ = "ANTHROPIC_COMPUTER" +_ANTHROPICC = "ANTHROPIC.Computer" +_AB = "ANTHROPIC_BASH" +_ANTHROPICB = "ANTHROPIC.Bash" +_AT = "ANTHROPIC_TEXTEDITOR" +_ANTHROPICTE = "ANTHROPIC.TextEditor" +_AGSP = "ActionGroupSignatureParams" +_CAAGI = "CreateAgentActionGroupInput" +_sSI = "smithy.synthetic#originalShapeId" +_cCAAGR = "com.amazonaws.bedrockagent#CreateAgentActionGroupRequest" +_smit = "smithy.api#input" +_aI = "agentId" +_sL = "smithy.api#httpLabel" +_aV = "agentVersion" +_aGN = "actionGroupName" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_pAGS = "parentActionGroupSignature" +_pAGSP = "parentActionGroupSignatureParams" +_aGE = "actionGroupExecutor" +_aS = "apiSchema" +_aGS = "actionGroupState" +_fS = "functionSchema" +_V = "Version" +_DT = "DateTimestamp" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_AAG = "AgentActionGroup" +_aGI = "actionGroupId" +_cA = "createdAt" +_uA = "updatedAt" +_pAS = "parentActionSignature" +_CAAGO = "CreateAgentActionGroupOutput" +_cCAAGRo = "com.amazonaws.bedrockagent#CreateAgentActionGroupResponse" +_smith = "smithy.api#output" +_aAG = "agentActionGroup" +_ISE = "InternalServerException" +_se = "server" +_RNFE = "ResourceNotFoundException" +_SQEE = "ServiceQuotaExceededException" +_TE = "ThrottlingException" +_VEF = "ValidationExceptionField" +_VEFL = "ValidationExceptionFieldList" +_VE = "ValidationException" +_fL = "fieldList" +_CAAG = "CreateAgentActionGroup" +_smithy = "smithy.api#http" +_DAAGI = "DeleteAgentActionGroupInput" +_cDAAGR = "com.amazonaws.bedrockagent#DeleteAgentActionGroupRequest" +_sRIUC = "skipResourceInUseCheck" +_smithya = "smithy.api#default" +_sQ = "smithy.api#httpQuery" +_DAAGO = "DeleteAgentActionGroupOutput" +_cDAAGRo = "com.amazonaws.bedrockagent#DeleteAgentActionGroupResponse" +_DAAG = "DeleteAgentActionGroup" +_GAAGI = "GetAgentActionGroupInput" +_cGAAGR = "com.amazonaws.bedrockagent#GetAgentActionGroupRequest" +_GAAGO = "GetAgentActionGroupOutput" +_cGAAGRo = "com.amazonaws.bedrockagent#GetAgentActionGroupResponse" +_GAAG = "GetAgentActionGroup" +_MR = "MaxResults" +_NT = "NextToken" +_LAAGI = "ListAgentActionGroupsInput" +_cLAAGR = "com.amazonaws.bedrockagent#ListAgentActionGroupsRequest" +_mR = "maxResults" +_nT = "nextToken" +_AGSct = "ActionGroupSummary" +_AGScti = "ActionGroupSummaries" +_LAAGO = "ListAgentActionGroupsOutput" +_cLAAGRo = "com.amazonaws.bedrockagent#ListAgentActionGroupsResponse" +_aGSc = "actionGroupSummaries" +_LAAG = "ListAgentActionGroups" +_UAAGI = "UpdateAgentActionGroupInput" +_cUAAGR = "com.amazonaws.bedrockagent#UpdateAgentActionGroupRequest" +_UAAGO = "UpdateAgentActionGroupOutput" +_cUAAGRo = "com.amazonaws.bedrockagent#UpdateAgentActionGroupResponse" +_UAAG = "UpdateAgentActionGroup" +_AMRFK = "AdditionalModelRequestFieldsKey" +_AMRFV = "AdditionalModelRequestFieldsValue" +_AMRF = "AdditionalModelRequestFields" +_AA = "AgentArn" +_ACg = "AgentCollaboration" +_SUPERVISOR = "SUPERVISOR" +_SR = "SUPERVISOR_ROUTER" +_ARA = "AgentRoleArn" +_AS = "AgentStatus" +_CREATING = "CREATING" +_PREPARING = "PREPARING" +_PREPARED = "PREPARED" +_NP = "NOT_PREPARED" +_DELETING = "DELETING" +_FAILED = "FAILED" +_VERSIONING = "VERSIONING" +_UPDATING = "UPDATING" +_KKA = "KmsKeyArn" +_OE = "OrchestrationExecutor" +_CO = "CustomOrchestration" +_e = "executor" +_FR = "FailureReason" +_FRa = "FailureReasons" +_MI = "ModelIdentifier" +_GI = "GuardrailIdentifier" +_GV = "GuardrailVersion" +_GC = "GuardrailConfiguration" +_gI = "guardrailIdentifier" +_gV = "guardrailVersion" +_STTL = "SessionTTL" +_In = "Instruction" +_MT = "MemoryType" +_SS = "SESSION_SUMMARY" +_EMT = "EnabledMemoryTypes" +_MRS = "MaxRecentSessions" +_SSC = "SessionSummaryConfiguration" +_mRS = "maxRecentSessions" +_SD = "StorageDays" +_MC = "MemoryConfiguration" +_eMT = "enabledMemoryTypes" +_sD = "storageDays" +_sSC = "sessionSummaryConfiguration" +_OT = "OrchestrationType" +_DEFAULT = "DEFAULT" +_CO_ = "CUSTOM_ORCHESTRATION" +_BPT = "BasePromptTemplate" +_ML = "MaximumLength" +_SSt = "StopSequences" +_Te = "Temperature" +_TK = "TopK" +_TP = "TopP" +_IC = "InferenceConfiguration" +_te = "temperature" +_tP = "topP" +_tK = "topK" +_mL = "maximumLength" +_sS = "stopSequences" +_CM = "CreationMode" +_OVERRIDDEN = "OVERRIDDEN" +_PS = "PromptState" +_PT = "PromptType" +_PP = "PRE_PROCESSING" +_ORCHESTRATION = "ORCHESTRATION" +_PP_ = "POST_PROCESSING" +_KBRG = "KNOWLEDGE_BASE_RESPONSE_GENERATION" +_MS = "MEMORY_SUMMARIZATION" +_PC = "PromptConfiguration" +_pT = "promptType" +_pCM = "promptCreationMode" +_pS = "promptState" +_bPT = "basePromptTemplate" +_iC = "inferenceConfiguration" +_pM = "parserMode" +_fM = "foundationModel" +_aMRF = "additionalModelRequestFields" +_PCr = "PromptConfigurations" +_POC = "PromptOverrideConfiguration" +_pC = "promptConfigurations" +_oL = "overrideLambda" +_RA = "RecommendedAction" +_RAe = "RecommendedActions" +_A = "Agent" +_aN = "agentName" +_aA = "agentArn" +_in = "instruction" +_aSg = "agentStatus" +_oT = "orchestrationType" +_cO = "customOrchestration" +_iSTTLIS = "idleSessionTTLInSeconds" +_aRRA = "agentResourceRoleArn" +_cEKA = "customerEncryptionKeyArn" +_pA = "preparedAt" +_fR = "failureReasons" +_rA = "recommendedActions" +_pOC = "promptOverrideConfiguration" +_gC = "guardrailConfiguration" +_mC = "memoryConfiguration" +_aC = "agentCollaboration" +_AAA = "AgentAliasArn" +_PMI = "ProvisionedModelIdentifier" +_AARCLI = "AgentAliasRoutingConfigurationListItem" +_pTr = "provisionedThroughput" +_AARC = "AgentAliasRoutingConfiguration" +_AAHE = "AgentAliasHistoryEvent" +_rCo = "routingConfiguration" +_eD = "endDate" +_sDt = "startDate" +_AAHEg = "AgentAliasHistoryEvents" +_AAI = "AgentAliasId" +_AAS = "AgentAliasStatus" +_DISSOCIATED = "DISSOCIATED" +_AIS = "AliasInvocationState" +_AI = "ACCEPT_INVOCATIONS" +_RI = "REJECT_INVOCATIONS" +_AAg = "AgentAlias" +_aAI = "agentAliasId" +_aAN = "agentAliasName" +_aAA = "agentAliasArn" +_aAHE = "agentAliasHistoryEvents" +_aAS = "agentAliasStatus" +_aIS = "aliasInvocationState" +_TKa = "TagKey" +_NV = "NumericalVersion" +_DSS = "DataSourceStatus" +_AVAILABLE = "AVAILABLE" +_DU = "DELETE_UNSUCCESSFUL" +_FA = "FlowArn" + +ACCESS_CONTROL_ACCESS: StaticSchema = ( + 14, + n0, + _ACA, + 0, + (_ALLOW, _DENY), + ((-1, {_sV: _ALLOW}), (-1, {_sV: _DENY})), +) + +ACCESS_CONTROL_PRINCIPAL_TYPE: StaticSchema = ( + 14, + n0, + _ACPT, + 0, + (_USER,), + ((-1, {_sV: _USER}),), +) + +NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c, _sE: 403}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +CUSTOM_CONTROL_METHOD: StaticSchema = (14, n0, _CCM, 0, (_RC,), ((-1, {_sV: _RC}),)) + +LAMBDA_ARN: StaticSchema = (3, n0, _LA, 0) + +ACTION_GROUP_EXECUTOR: StaticSchema = ( + 19, + n0, + _AGE, + 0, + (_l, _cC), + ((LAMBDA_ARN, 0), (CUSTOM_CONTROL_METHOD, 0)), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + {_s: _c, _sE: 409}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +NAME: StaticSchema = (3, n0, _N, 0) + +ACTION_GROUP_STATE: StaticSchema = ( + 14, + n0, + _AGS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +ID: StaticSchema = (3, n0, _I, 0) + +DRAFT_VERSION: StaticSchema = (3, n0, _DV, 0) + +PAYLOAD: StaticSchema = (3, n0, _P, 4) + +S3_BUCKET_NAME: StaticSchema = (3, n0, _SBN, 0) + +S3_OBJECT_KEY: StaticSchema = (3, n0, _SOK, 0) + +S3_IDENTIFIER: StaticSchema = ( + 18, + n0, + _SI, + 0, + (_sBN, _sOK), + ((S3_BUCKET_NAME, 0), (S3_OBJECT_KEY, 0)), +) + +API_SCHEMA: StaticSchema = ( + 19, + n0, + _APIS, + 0, + (_s_, _p), + ((S3_IDENTIFIER, 0), (PAYLOAD, 0)), +) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) + +DESCRIPTION: StaticSchema = (3, n0, _D, 0) + +FUNCTION_DESCRIPTION: StaticSchema = (3, n0, _FD, 0) + +PARAMETER_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) + +TYPE: StaticSchema = ( + 14, + n0, + _T, + 0, + (_STRING, _NUMBER, _INTEGER, _BOOLEAN, _ARRAY), + ( + (-1, {_sV: _st}), + (-1, {_sV: _n}), + (-1, {_sV: _i}), + (-1, {_sV: _b}), + (-1, {_sV: _a}), + ), +) + +PARAMETER_DETAIL: StaticSchema = ( + 18, + n0, + _PDa, + 0, + (_d, _t, _r), + ((PARAMETER_DESCRIPTION, 0), (TYPE, 1), (2, 0)), +) + +PARAMETER_MAP: StaticSchema = ( + 17, + n0, + _PM, + 0, + (_k, _v), + ((NAME, 0), (PARAMETER_DETAIL, 0)), +) + +REQUIRE_CONFIRMATION: StaticSchema = ( + 14, + n0, + _RCe, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +FUNCTION: StaticSchema = ( + 18, + n0, + _F, + 0, + (_na, _d, _pa, _rC), + ( + (NAME, 1), + (FUNCTION_DESCRIPTION, 0), + (PARAMETER_MAP, 0), + (REQUIRE_CONFIRMATION, 0), + ), +) + +FUNCTIONS: StaticSchema = (16, n0, _Fu, 0, (_me,), ((FUNCTION, 0),)) + +FUNCTION_SCHEMA: StaticSchema = (19, n0, _FS, 0, (_f,), ((FUNCTIONS, 0),)) + +ACTION_GROUP_SIGNATURE: StaticSchema = ( + 14, + n0, + _AGSc, + 0, + (_AU, _AC, _AC_, _AB, _AT), + ( + (-1, {_sV: _AMAZONUI}), + (-1, {_sV: _AMAZONCI}), + (-1, {_sV: _ANTHROPICC}), + (-1, {_sV: _ANTHROPICB}), + (-1, {_sV: _ANTHROPICTE}), + ), +) + +ACTION_GROUP_SIGNATURE_PARAMS: StaticSchema = ( + 17, + n0, + _AGSP, + 0, + (_k, _v), + ((3, 0), (3, 0)), +) + +CREATE_AGENT_ACTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CAAGI, + {_sSI: _cCAAGR, _smit: None}, + (_aI, _aV, _aGN, _cT, _d, _pAGS, _pAGSP, _aGE, _aS, _aGS, _fS), + ( + (ID, 9), + (DRAFT_VERSION, 9), + (NAME, 1), + (CLIENT_TOKEN, 2), + (DESCRIPTION, 0), + (ACTION_GROUP_SIGNATURE, 0), + (ACTION_GROUP_SIGNATURE_PARAMS, 0), + (ACTION_GROUP_EXECUTOR, 0), + (API_SCHEMA, 0), + (ACTION_GROUP_STATE, 0), + (FUNCTION_SCHEMA, 0), + ), +) + +CREATE_AGENT_ACTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CAAGO, + {_sSI: _cCAAGRo, _smith: None}, + (_aAG,), + ((lambda: AGENT_ACTION_GROUP, 1),), +) + +CREATE_AGENT_ACTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _CAAG, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/", + } + ) + }, + CREATE_AGENT_ACTION_GROUP_INPUT, + CREATE_AGENT_ACTION_GROUP_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +VERSION: StaticSchema = (3, n0, _V, 0) + +DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) + +AGENT_ACTION_GROUP: StaticSchema = ( + 18, + n0, + _AAG, + 0, + (_aI, _aV, _aGI, _aGN, _cT, _d, _cA, _uA, _pAS, _pAGSP, _aGE, _aS, _fS, _aGS), + ( + (ID, 1), + (VERSION, 1), + (ID, 1), + (NAME, 1), + (CLIENT_TOKEN, 0), + (DESCRIPTION, 0), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 1), + (ACTION_GROUP_SIGNATURE, 0), + (ACTION_GROUP_SIGNATURE_PARAMS, 0), + (ACTION_GROUP_EXECUTOR, 0), + (API_SCHEMA, 0), + (FUNCTION_SCHEMA, 0), + (ACTION_GROUP_STATE, 1), + ), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_s: _se, _sE: 500}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c, _sE: 404}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_s: _c, _sE: 402}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + {_s: _c, _sE: 429}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +VALIDATION_EXCEPTION_FIELD: StaticSchema = ( + 18, + n0, + _VEF, + 0, + (_na, _m), + ((NON_BLANK_STRING, 1), (NON_BLANK_STRING, 1)), +) + +VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( + 16, + n0, + _VEFL, + 0, + (_me,), + ((VALIDATION_EXCEPTION_FIELD, 0),), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_s: _c, _sE: 400}, + (_m, _fL), + ((NON_BLANK_STRING, 0), (VALIDATION_EXCEPTION_FIELD_LIST, 0)), +) + +DELETE_AGENT_ACTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DAAGI, + {_sSI: _cDAAGR, _smit: None}, + (_aI, _aV, _aGI, _sRIUC), + ((ID, 9), (DRAFT_VERSION, 9), (ID, 9), (2, {_smithya: False, _sQ: _sRIUC})), +) + +DELETE_AGENT_ACTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DAAGO, + {_sSI: _cDAAGRo, _smith: None}, +) + +DELETE_AGENT_ACTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _DAAG, + { + _smithy: MappingProxyType( + { + "code": 204, + "method": "DELETE", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", + } + ) + }, + DELETE_AGENT_ACTION_GROUP_INPUT, + DELETE_AGENT_ACTION_GROUP_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +GET_AGENT_ACTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _GAAGI, + {_sSI: _cGAAGR, _smit: None}, + (_aI, _aV, _aGI), + ((ID, 9), (VERSION, 9), (ID, 9)), +) + +GET_AGENT_ACTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _GAAGO, + {_sSI: _cGAAGRo, _smith: None}, + (_aAG,), + ((AGENT_ACTION_GROUP, 1),), +) + +GET_AGENT_ACTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _GAAG, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", + } + ) + }, + GET_AGENT_ACTION_GROUP_INPUT, + GET_AGENT_ACTION_GROUP_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +LIST_AGENT_ACTION_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _LAAGI, + {_sSI: _cLAAGR, _smit: None}, + (_aI, _aV, _mR, _nT), + ((ID, 9), (VERSION, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0)), +) + +LIST_AGENT_ACTION_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAAGO, + {_sSI: _cLAAGRo, _smith: None}, + (_aGSc, _nT), + ((lambda: ACTION_GROUP_SUMMARIES, 1), (NEXT_TOKEN, 0)), +) + +LIST_AGENT_ACTION_GROUPS: StaticOperationSchema = ( + 23, + n0, + _LAAG, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/", + } + ) + }, + LIST_AGENT_ACTION_GROUPS_INPUT, + LIST_AGENT_ACTION_GROUPS_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +ACTION_GROUP_SUMMARY: StaticSchema = ( + 18, + n0, + _AGSct, + 0, + (_aGI, _aGN, _aGS, _d, _uA), + ( + (ID, 1), + (NAME, 1), + (ACTION_GROUP_STATE, 1), + (DESCRIPTION, 0), + (DATE_TIMESTAMP, 1), + ), +) + +ACTION_GROUP_SUMMARIES: StaticSchema = ( + 16, + n0, + _AGScti, + 0, + (_me,), + ((ACTION_GROUP_SUMMARY, 0),), +) + +UPDATE_AGENT_ACTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _UAAGI, + {_sSI: _cUAAGR, _smit: None}, + (_aI, _aV, _aGI, _aGN, _d, _pAGS, _pAGSP, _aGE, _aGS, _aS, _fS), + ( + (ID, 9), + (DRAFT_VERSION, 9), + (ID, 9), + (NAME, 1), + (DESCRIPTION, 0), + (ACTION_GROUP_SIGNATURE, 0), + (ACTION_GROUP_SIGNATURE_PARAMS, 0), + (ACTION_GROUP_EXECUTOR, 0), + (ACTION_GROUP_STATE, 0), + (API_SCHEMA, 0), + (FUNCTION_SCHEMA, 0), + ), +) + +UPDATE_AGENT_ACTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _UAAGO, + {_sSI: _cUAAGRo, _smith: None}, + (_aAG,), + ((AGENT_ACTION_GROUP, 1),), +) + +UPDATE_AGENT_ACTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _UAAG, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", + } + ) + }, + UPDATE_AGENT_ACTION_GROUP_INPUT, + UPDATE_AGENT_ACTION_GROUP_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +ADDITIONAL_MODEL_REQUEST_FIELDS_KEY: StaticSchema = (3, n0, _AMRFK, 0) + +ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE: StaticSchema = (13, n0, _AMRFV, 0) + +ADDITIONAL_MODEL_REQUEST_FIELDS: StaticSchema = ( + 17, + n0, + _AMRF, + 0, + (_k, _v), + ( + (ADDITIONAL_MODEL_REQUEST_FIELDS_KEY, 0), + (ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE, 0), + ), +) + +AGENT_ARN: StaticSchema = (3, n0, _AA, 0) + +AGENT_COLLABORATION: StaticSchema = ( + 14, + n0, + _ACg, + 0, + (_SUPERVISOR, _SR, _DISABLED), + ((-1, {_sV: _SUPERVISOR}), (-1, {_sV: _SR}), (-1, {_sV: _DISABLED})), +) + +AGENT_ROLE_ARN: StaticSchema = (3, n0, _ARA, 0) + +AGENT_STATUS: StaticSchema = ( + 14, + n0, + _AS, + 0, + (_CREATING, _PREPARING, _PREPARED, _NP, _DELETING, _FAILED, _VERSIONING, _UPDATING), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _PREPARING}), + (-1, {_sV: _PREPARED}), + (-1, {_sV: _NP}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _VERSIONING}), + (-1, {_sV: _UPDATING}), + ), +) + +KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) + +ORCHESTRATION_EXECUTOR: StaticSchema = (19, n0, _OE, 0, (_l,), ((LAMBDA_ARN, 0),)) + +CUSTOM_ORCHESTRATION: StaticSchema = ( + 18, + n0, + _CO, + 0, + (_e,), + ((ORCHESTRATION_EXECUTOR, 0),), +) + +FAILURE_REASON: StaticSchema = (3, n0, _FR, 0) + +FAILURE_REASONS: StaticSchema = (16, n0, _FRa, 0, (_me,), ((FAILURE_REASON, 0),)) + +MODEL_IDENTIFIER: StaticSchema = (3, n0, _MI, 0) + +GUARDRAIL_IDENTIFIER: StaticSchema = (3, n0, _GI, 0) + +GUARDRAIL_VERSION: StaticSchema = (3, n0, _GV, 0) + +GUARDRAIL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _GC, + 0, + (_gI, _gV), + ((GUARDRAIL_IDENTIFIER, 0), (GUARDRAIL_VERSION, 0)), +) + +SESSION_TTL: StaticSchema = (7, n0, _STTL, 0) + +INSTRUCTION: StaticSchema = (3, n0, _In, 4) + +MEMORY_TYPE: StaticSchema = (14, n0, _MT, 0, (_SS,), ((-1, {_sV: _SS}),)) + +ENABLED_MEMORY_TYPES: StaticSchema = (16, n0, _EMT, 0, (_me,), ((MEMORY_TYPE, 0),)) + +MAX_RECENT_SESSIONS: StaticSchema = (7, n0, _MRS, 0) + +SESSION_SUMMARY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SSC, + 0, + (_mRS,), + ((MAX_RECENT_SESSIONS, {_smithya: None}),), +) + +STORAGE_DAYS: StaticSchema = (7, n0, _SD, {_smithya: 30}) + +MEMORY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MC, + 0, + (_eMT, _sD, _sSC), + ( + (ENABLED_MEMORY_TYPES, 1), + (STORAGE_DAYS, {_smithya: 30}), + (SESSION_SUMMARY_CONFIGURATION, 0), + ), +) + +ORCHESTRATION_TYPE: StaticSchema = ( + 14, + n0, + _OT, + 0, + (_DEFAULT, _CO_), + ((-1, {_sV: _DEFAULT}), (-1, {_sV: _CO_})), +) + +BASE_PROMPT_TEMPLATE: StaticSchema = (3, n0, _BPT, 4) + +MAXIMUM_LENGTH: StaticSchema = (7, n0, _ML, 0) + +STOP_SEQUENCES: StaticSchema = (16, n0, _SSt, 0, (_me,), ((3, 0),)) + +TEMPERATURE: StaticSchema = (9, n0, _Te, 0) + +TOP_K: StaticSchema = (7, n0, _TK, 0) + +TOP_P: StaticSchema = (9, n0, _TP, 0) + +INFERENCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IC, + 0, + (_te, _tP, _tK, _mL, _sS), + ( + (TEMPERATURE, 0), + (TOP_P, 0), + (TOP_K, 0), + (MAXIMUM_LENGTH, 0), + (STOP_SEQUENCES, 0), + ), +) + +CREATION_MODE: StaticSchema = ( + 14, + n0, + _CM, + 0, + (_DEFAULT, _OVERRIDDEN), + ((-1, {_sV: _DEFAULT}), (-1, {_sV: _OVERRIDDEN})), +) + +PROMPT_STATE: StaticSchema = ( + 14, + n0, + _PS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +PROMPT_TYPE: StaticSchema = ( + 14, + n0, + _PT, + 0, + (_PP, _ORCHESTRATION, _PP_, _KBRG, _MS), + ( + (-1, {_sV: _PP}), + (-1, {_sV: _ORCHESTRATION}), + (-1, {_sV: _PP_}), + (-1, {_sV: _KBRG}), + (-1, {_sV: _MS}), + ), +) + +PROMPT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PC, + 0, + (_pT, _pCM, _pS, _bPT, _iC, _pM, _fM, _aMRF), + ( + (PROMPT_TYPE, 0), + (CREATION_MODE, 0), + (PROMPT_STATE, 0), + (BASE_PROMPT_TEMPLATE, 0), + (INFERENCE_CONFIGURATION, 0), + (CREATION_MODE, 0), + (MODEL_IDENTIFIER, 0), + (13, 0), + ), +) + +PROMPT_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _PCr, + 0, + (_me,), + ((PROMPT_CONFIGURATION, 0),), +) + +PROMPT_OVERRIDE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _POC, + 4, + (_pC, _oL), + ((PROMPT_CONFIGURATIONS, 1), (LAMBDA_ARN, 0)), +) + +RECOMMENDED_ACTION: StaticSchema = (3, n0, _RA, 0) + +RECOMMENDED_ACTIONS: StaticSchema = ( + 16, + n0, + _RAe, + 0, + (_me,), + ((RECOMMENDED_ACTION, 0),), +) + +AGENT: StaticSchema = ( + 18, + n0, + _A, + 0, + ( + _aI, + _aN, + _aA, + _aV, + _cT, + _in, + _aSg, + _fM, + _d, + _oT, + _cO, + _iSTTLIS, + _aRRA, + _cEKA, + _cA, + _uA, + _pA, + _fR, + _rA, + _pOC, + _gC, + _mC, + _aC, + ), + ( + (ID, 1), + (NAME, 1), + (AGENT_ARN, 1), + (DRAFT_VERSION, 1), + (CLIENT_TOKEN, 0), + (INSTRUCTION, 0), + (AGENT_STATUS, 1), + (MODEL_IDENTIFIER, 0), + (DESCRIPTION, 0), + (ORCHESTRATION_TYPE, 0), + (CUSTOM_ORCHESTRATION, 0), + (SESSION_TTL, 1), + (AGENT_ROLE_ARN, 1), + (KMS_KEY_ARN, 0), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 0), + (FAILURE_REASONS, 0), + (RECOMMENDED_ACTIONS, 0), + (PROMPT_OVERRIDE_CONFIGURATION, 0), + (GUARDRAIL_CONFIGURATION, 0), + (MEMORY_CONFIGURATION, 0), + (AGENT_COLLABORATION, 0), + ), +) + +AGENT_ALIAS_ARN: StaticSchema = (3, n0, _AAA, 0) + +PROVISIONED_MODEL_IDENTIFIER: StaticSchema = (3, n0, _PMI, 0) + +AGENT_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM: StaticSchema = ( + 18, + n0, + _AARCLI, + 0, + (_aV, _pTr), + ((VERSION, 0), (PROVISIONED_MODEL_IDENTIFIER, 0)), +) + +AGENT_ALIAS_ROUTING_CONFIGURATION: StaticSchema = ( + 16, + n0, + _AARC, + 0, + (_me,), + ((AGENT_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM, 0),), +) + +AGENT_ALIAS_HISTORY_EVENT: StaticSchema = ( + 18, + n0, + _AAHE, + 0, + (_rCo, _eD, _sDt), + ((AGENT_ALIAS_ROUTING_CONFIGURATION, 0), (DATE_TIMESTAMP, 0), (DATE_TIMESTAMP, 0)), +) + +AGENT_ALIAS_HISTORY_EVENTS: StaticSchema = ( + 16, + n0, + _AAHEg, + 0, + (_me,), + ((AGENT_ALIAS_HISTORY_EVENT, 0),), +) + +AGENT_ALIAS_ID: StaticSchema = (3, n0, _AAI, 0) + +AGENT_ALIAS_STATUS: StaticSchema = ( + 14, + n0, + _AAS, + 0, + (_CREATING, _PREPARED, _FAILED, _UPDATING, _DELETING, _DISSOCIATED), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _PREPARED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _DISSOCIATED}), + ), +) + +ALIAS_INVOCATION_STATE: StaticSchema = ( + 14, + n0, + _AIS, + 0, + (_AI, _RI), + ((-1, {_sV: _AI}), (-1, {_sV: _RI})), +) + +AGENT_ALIAS: StaticSchema = ( + 18, + n0, + _AAg, + 0, + (_aI, _aAI, _aAN, _aAA, _cT, _d, _rCo, _cA, _uA, _aAHE, _aAS, _fR, _aIS), + ( + (ID, 1), + (AGENT_ALIAS_ID, 1), + (NAME, 1), + (AGENT_ALIAS_ARN, 1), + (CLIENT_TOKEN, 0), + (DESCRIPTION, 0), + (AGENT_ALIAS_ROUTING_CONFIGURATION, 1), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 1), + (AGENT_ALIAS_HISTORY_EVENTS, 0), + (AGENT_ALIAS_STATUS, 1), + (FAILURE_REASONS, 0), + (ALIAS_INVOCATION_STATE, 0), + ), +) + +TAG_KEY: StaticSchema = (3, n0, _TKa, 0) + +NUMERICAL_VERSION: StaticSchema = (3, n0, _NV, 0) + +DATA_SOURCE_STATUS: StaticSchema = ( + 14, + n0, + _DSS, + 0, + (_AVAILABLE, _DELETING, _DU, _CREATING, _UPDATING, _FAILED), + ( + (-1, {_sV: _AVAILABLE}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _DU}), + (-1, {_sV: _CREATING}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _FAILED}), + ), +) + +FLOW_ARN: StaticSchema = (3, n0, _FA, 0) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_1.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_1.py new file mode 100644 index 000000000..0833a16f7 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_1.py @@ -0,0 +1,1312 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagent" +_sV = "smithy.api#enumValue" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_sm = "smithy.api#sensitive" +_d = "description" +_smi = "smithy.api#required" +_k = "key" +_v = "value" +_na = "name" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_aI = "agentId" +_sL = "smithy.api#httpLabel" +_aV = "agentVersion" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_cA = "createdAt" +_uA = "updatedAt" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sRIUC = "skipResourceInUseCheck" +_smithya = "smithy.api#default" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_fM = "foundationModel" +_aN = "agentName" +_aA = "agentArn" +_in = "instruction" +_aSg = "agentStatus" +_oT = "orchestrationType" +_cO = "customOrchestration" +_iSTTLIS = "idleSessionTTLInSeconds" +_aRRA = "agentResourceRoleArn" +_cEKA = "customerEncryptionKeyArn" +_pA = "preparedAt" +_fR = "failureReasons" +_rA = "recommendedActions" +_pOC = "promptOverrideConfiguration" +_gC = "guardrailConfiguration" +_mC = "memoryConfiguration" +_aC = "agentCollaboration" +_rCo = "routingConfiguration" +_aAI = "agentAliasId" +_aAN = "agentAliasName" +_aAA = "agentAliasArn" +_aAS = "agentAliasStatus" +_aIS = "aliasInvocationState" +_AASg = "AgentAliasSummary" +_AASge = "AgentAliasSummaries" +_AD = "AgentDescriptor" +_aAl = "aliasArn" +_CI = "CollaborationInstruction" +_RCH = "RelayConversationHistory" +_TC = "TO_COLLABORATOR" +_ACge = "AgentCollaborator" +_aD = "agentDescriptor" +_cI = "collaboratorId" +_cIo = "collaborationInstruction" +_cN = "collaboratorName" +_lUA = "lastUpdatedAt" +_rCH = "relayConversationHistory" +_AACI = "AssociateAgentCollaboratorInput" +_cAACR = "com.amazonaws.bedrockagent#AssociateAgentCollaboratorRequest" +_AACO = "AssociateAgentCollaboratorOutput" +_cAACRo = "com.amazonaws.bedrockagent#AssociateAgentCollaboratorResponse" +_aCg = "agentCollaborator" +_AAC = "AssociateAgentCollaborator" +_DACI = "DisassociateAgentCollaboratorInput" +_cDACR = "com.amazonaws.bedrockagent#DisassociateAgentCollaboratorRequest" +_DACO = "DisassociateAgentCollaboratorOutput" +_cDACRo = "com.amazonaws.bedrockagent#DisassociateAgentCollaboratorResponse" +_DAC = "DisassociateAgentCollaborator" +_GACI = "GetAgentCollaboratorInput" +_cGACR = "com.amazonaws.bedrockagent#GetAgentCollaboratorRequest" +_GACO = "GetAgentCollaboratorOutput" +_cGACRo = "com.amazonaws.bedrockagent#GetAgentCollaboratorResponse" +_GAC = "GetAgentCollaborator" +_LACI = "ListAgentCollaboratorsInput" +_cLACR = "com.amazonaws.bedrockagent#ListAgentCollaboratorsRequest" +_ACS = "AgentCollaboratorSummary" +_ACSg = "AgentCollaboratorSummaries" +_LACO = "ListAgentCollaboratorsOutput" +_cLACRo = "com.amazonaws.bedrockagent#ListAgentCollaboratorsResponse" +_aCS = "agentCollaboratorSummaries" +_LAC = "ListAgentCollaborators" +_UACI = "UpdateAgentCollaboratorInput" +_cUACR = "com.amazonaws.bedrockagent#UpdateAgentCollaboratorRequest" +_UACO = "UpdateAgentCollaboratorOutput" +_cUACRo = "com.amazonaws.bedrockagent#UpdateAgentCollaboratorResponse" +_UAC = "UpdateAgentCollaborator" +_FAAA = "FlowAgentAliasArn" +_AFNC = "AgentFlowNodeConfiguration" +_v_ = "" +_KBS = "KnowledgeBaseState" +_AKB = "AgentKnowledgeBase" +_kBI = "knowledgeBaseId" +_kBS = "knowledgeBaseState" +_AKBS = "AgentKnowledgeBaseSummary" +_AKBSg = "AgentKnowledgeBaseSummaries" +_TV = "TagValue" +_TM = "TagsMap" +_CAI = "CreateAgentInput" +_cCAR = "com.amazonaws.bedrockagent#CreateAgentRequest" +_ta = "tags" +_CAO = "CreateAgentOutput" +_cCARo = "com.amazonaws.bedrockagent#CreateAgentResponse" +_ag = "agent" +_CA = "CreateAgent" +_DAI = "DeleteAgentInput" +_cDAR = "com.amazonaws.bedrockagent#DeleteAgentRequest" +_DAO = "DeleteAgentOutput" +_cDARo = "com.amazonaws.bedrockagent#DeleteAgentResponse" +_DA = "DeleteAgent" +_GAI = "GetAgentInput" +_cGAR = "com.amazonaws.bedrockagent#GetAgentRequest" +_GAO = "GetAgentOutput" +_cGARo = "com.amazonaws.bedrockagent#GetAgentResponse" +_GA = "GetAgent" +_LAI = "ListAgentsInput" +_cLAR = "com.amazonaws.bedrockagent#ListAgentsRequest" +_ASg = "AgentSummary" +_lAV = "latestAgentVersion" +_ASge = "AgentSummaries" +_LAO = "ListAgentsOutput" +_cLARo = "com.amazonaws.bedrockagent#ListAgentsResponse" +_aSge = "agentSummaries" +_LAi = "ListAgents" +_PAI = "PrepareAgentInput" +_cPAR = "com.amazonaws.bedrockagent#PrepareAgentRequest" +_PAO = "PrepareAgentOutput" +_cPARo = "com.amazonaws.bedrockagent#PrepareAgentResponse" +_PA = "PrepareAgent" +_UAI = "UpdateAgentInput" +_cUAR = "com.amazonaws.bedrockagent#UpdateAgentRequest" +_UAO = "UpdateAgentOutput" +_cUARo = "com.amazonaws.bedrockagent#UpdateAgentResponse" +_UA = "UpdateAgent" +_AV = "AgentVersion" +_ve = "version" +_AVS = "AgentVersionSummary" +_AVSg = "AgentVersionSummaries" +_CAAI = "CreateAgentAliasInput" +_cCAAR = "com.amazonaws.bedrockagent#CreateAgentAliasRequest" +_CAAO = "CreateAgentAliasOutput" +_cCAARo = "com.amazonaws.bedrockagent#CreateAgentAliasResponse" +_aAg = "agentAlias" +_CAA = "CreateAgentAlias" +_DAAI = "DeleteAgentAliasInput" +_cDAAR = "com.amazonaws.bedrockagent#DeleteAgentAliasRequest" +_DAAO = "DeleteAgentAliasOutput" +_cDAARo = "com.amazonaws.bedrockagent#DeleteAgentAliasResponse" +_DAA = "DeleteAgentAlias" +_GAAI = "GetAgentAliasInput" +_cGAAR = "com.amazonaws.bedrockagent#GetAgentAliasRequest" +_GAAO = "GetAgentAliasOutput" +_cGAARo = "com.amazonaws.bedrockagent#GetAgentAliasResponse" +_GAA = "GetAgentAlias" +_LAAI = "ListAgentAliasesInput" +_cLAAR = "com.amazonaws.bedrockagent#ListAgentAliasesRequest" +_LAAO = "ListAgentAliasesOutput" +_cLAARo = "com.amazonaws.bedrockagent#ListAgentAliasesResponse" +_aASg = "agentAliasSummaries" +_LAA = "ListAgentAliases" +_UAAI = "UpdateAgentAliasInput" +_cUAAR = "com.amazonaws.bedrockagent#UpdateAgentAliasRequest" +_UAAO = "UpdateAgentAliasOutput" +_cUAARo = "com.amazonaws.bedrockagent#UpdateAgentAliasResponse" +_UAA = "UpdateAgentAlias" +_VCD = "VpcConfigurationDescription" +_HH = "HostHeader" +_VCN = "VpcConfigurationName" +_Po = "Port" +_VP = "VpcProtocol" +_HTTP = "HTTP" +_HTTPS = "HTTPS" +_VRM = "VpcResolutionMode" +_PUBLIC = "PUBLIC" +_IV = "IN_VPC" +_RT = "ResourceTarget" +_SIu = "SubnetId" +_SIL = "SubnetIdList" +_TSN = "TlsServerName" +_VI = "VpcId" +_CVCI = "CreateVpcConfigurationInput" +_cCVCR = "com.amazonaws.bedrockagent#CreateVpcConfigurationRequest" +_vI = "vpcId" +_sI = "subnetIds" +_rT = "resourceTarget" +_po = "port" +_pr = "protocol" +_rM = "resolutionMode" +_hH = "hostHeader" +_tSN = "tlsServerName" +_CVCO = "CreateVpcConfigurationOutput" +_cCVCRo = "com.amazonaws.bedrockagent#CreateVpcConfigurationResponse" +_vCI = "vpcConfigurationId" +_sta = "status" +_CVC = "CreateVpcConfiguration" +_VCSM = "VpcConfigurationStatusMessage" + +AGENT_ALIAS_SUMMARY: StaticSchema = ( + 18, + n0, + _AASg, + 0, + (_aAI, _aAN, _d, _rCo, _aAS, _cA, _uA, _aIS), + ( + (lambda: schemas.AGENT_ALIAS_ID, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.AGENT_ALIAS_ROUTING_CONFIGURATION, 0), + (lambda: schemas.AGENT_ALIAS_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.ALIAS_INVOCATION_STATE, 0), + ), +) + +AGENT_ALIAS_SUMMARIES: StaticSchema = ( + 16, + n0, + _AASge, + 0, + (_me,), + ((AGENT_ALIAS_SUMMARY, 0),), +) + +AGENT_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _AD, + 0, + (_aAl,), + ((lambda: schemas.AGENT_ALIAS_ARN, 0),), +) + +COLLABORATION_INSTRUCTION: StaticSchema = (3, n0, _CI, 4) + +RELAY_CONVERSATION_HISTORY: StaticSchema = ( + 14, + n0, + _RCH, + 0, + (_TC, _DISABLED), + ((-1, {_sV: _TC}), (-1, {_sV: _DISABLED})), +) + +AGENT_COLLABORATOR: StaticSchema = ( + 18, + n0, + _ACge, + 0, + (_aI, _aV, _aD, _cI, _cIo, _cN, _cA, _lUA, _rCH, _cT), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.VERSION, 1), + (AGENT_DESCRIPTOR, 1), + (lambda: schemas.ID, 1), + (COLLABORATION_INSTRUCTION, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (RELAY_CONVERSATION_HISTORY, 0), + (lambda: schemas.CLIENT_TOKEN, 0), + ), +) + +ASSOCIATE_AGENT_COLLABORATOR_INPUT: StaticSchema = ( + 18, + n0, + _AACI, + {_sSI: _cAACR, _smit: None}, + (_aI, _aV, _aD, _cN, _cIo, _rCH, _cT), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.DRAFT_VERSION, 9), + (AGENT_DESCRIPTOR, 1), + (lambda: schemas.NAME, 1), + (COLLABORATION_INSTRUCTION, 1), + (RELAY_CONVERSATION_HISTORY, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +ASSOCIATE_AGENT_COLLABORATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _AACO, + {_sSI: _cAACRo, _smith: None}, + (_aCg,), + ((AGENT_COLLABORATOR, 1),), +) + +ASSOCIATE_AGENT_COLLABORATOR: StaticOperationSchema = ( + 23, + n0, + _AAC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", + } + ) + }, + ASSOCIATE_AGENT_COLLABORATOR_INPUT, + ASSOCIATE_AGENT_COLLABORATOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DISASSOCIATE_AGENT_COLLABORATOR_INPUT: StaticSchema = ( + 18, + n0, + _DACI, + {_sSI: _cDACR, _smit: None}, + (_aI, _aV, _cI), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.DRAFT_VERSION, 9), + (lambda: schemas.ID, 9), + ), +) + +DISASSOCIATE_AGENT_COLLABORATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _DACO, + {_sSI: _cDACRo, _smith: None}, +) + +DISASSOCIATE_AGENT_COLLABORATOR: StaticOperationSchema = ( + 23, + n0, + _DAC, + { + _smithy: MappingProxyType( + { + "code": 204, + "method": "DELETE", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", + } + ) + }, + DISASSOCIATE_AGENT_COLLABORATOR_INPUT, + DISASSOCIATE_AGENT_COLLABORATOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_AGENT_COLLABORATOR_INPUT: StaticSchema = ( + 18, + n0, + _GACI, + {_sSI: _cGACR, _smit: None}, + (_aI, _aV, _cI), + ((lambda: schemas.ID, 9), (lambda: schemas.VERSION, 9), (lambda: schemas.ID, 9)), +) + +GET_AGENT_COLLABORATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _GACO, + {_sSI: _cGACRo, _smith: None}, + (_aCg,), + ((AGENT_COLLABORATOR, 1),), +) + +GET_AGENT_COLLABORATOR: StaticOperationSchema = ( + 23, + n0, + _GAC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", + } + ) + }, + GET_AGENT_COLLABORATOR_INPUT, + GET_AGENT_COLLABORATOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_AGENT_COLLABORATORS_INPUT: StaticSchema = ( + 18, + n0, + _LACI, + {_sSI: _cLACR, _smit: None}, + (_aI, _aV, _mR, _nT), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.VERSION, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_AGENT_COLLABORATORS_OUTPUT: StaticSchema = ( + 18, + n0, + _LACO, + {_sSI: _cLACRo, _smith: None}, + (_aCS, _nT), + ((lambda: AGENT_COLLABORATOR_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_AGENT_COLLABORATORS: StaticOperationSchema = ( + 23, + n0, + _LAC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", + } + ) + }, + LIST_AGENT_COLLABORATORS_INPUT, + LIST_AGENT_COLLABORATORS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AGENT_COLLABORATOR_SUMMARY: StaticSchema = ( + 18, + n0, + _ACS, + 0, + (_aI, _aV, _cI, _aD, _cIo, _rCH, _cN, _cA, _lUA), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.VERSION, 1), + (lambda: schemas.ID, 1), + (AGENT_DESCRIPTOR, 1), + (COLLABORATION_INSTRUCTION, 1), + (RELAY_CONVERSATION_HISTORY, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +AGENT_COLLABORATOR_SUMMARIES: StaticSchema = ( + 16, + n0, + _ACSg, + 0, + (_me,), + ((AGENT_COLLABORATOR_SUMMARY, 0),), +) + +UPDATE_AGENT_COLLABORATOR_INPUT: StaticSchema = ( + 18, + n0, + _UACI, + {_sSI: _cUACR, _smit: None}, + (_aI, _aV, _cI, _aD, _cN, _cIo, _rCH), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.DRAFT_VERSION, 9), + (lambda: schemas.ID, 9), + (AGENT_DESCRIPTOR, 1), + (lambda: schemas.NAME, 1), + (COLLABORATION_INSTRUCTION, 1), + (RELAY_CONVERSATION_HISTORY, 0), + ), +) + +UPDATE_AGENT_COLLABORATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _UACO, + {_sSI: _cUACRo, _smith: None}, + (_aCg,), + ((AGENT_COLLABORATOR, 1),), +) + +UPDATE_AGENT_COLLABORATOR: StaticOperationSchema = ( + 23, + n0, + _UAC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", + } + ) + }, + UPDATE_AGENT_COLLABORATOR_INPUT, + UPDATE_AGENT_COLLABORATOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_AGENT_ALIAS_ARN: StaticSchema = (3, n0, _FAAA, 0) + +AGENT_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AFNC, + 0, + (_aAA,), + ((FLOW_AGENT_ALIAS_ARN, {_smithya: _v_, _smi: None}),), +) + +KNOWLEDGE_BASE_STATE: StaticSchema = ( + 14, + n0, + _KBS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +AGENT_KNOWLEDGE_BASE: StaticSchema = ( + 18, + n0, + _AKB, + 0, + (_aI, _aV, _kBI, _d, _cA, _uA, _kBS), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.VERSION, 1), + (lambda: schemas.ID, 1), + (lambda: schemas.DESCRIPTION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (KNOWLEDGE_BASE_STATE, 1), + ), +) + +AGENT_KNOWLEDGE_BASE_SUMMARY: StaticSchema = ( + 18, + n0, + _AKBS, + 0, + (_kBI, _d, _kBS, _uA), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.DESCRIPTION, 0), + (KNOWLEDGE_BASE_STATE, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +AGENT_KNOWLEDGE_BASE_SUMMARIES: StaticSchema = ( + 16, + n0, + _AKBSg, + 0, + (_me,), + ((AGENT_KNOWLEDGE_BASE_SUMMARY, 0),), +) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAGS_MAP: StaticSchema = ( + 17, + n0, + _TM, + 0, + (_k, _v), + ((lambda: schemas.TAG_KEY, 0), (TAG_VALUE, 0)), +) + +CREATE_AGENT_INPUT: StaticSchema = ( + 18, + n0, + _CAI, + {_sSI: _cCAR, _smit: None}, + ( + _aN, + _cT, + _in, + _fM, + _d, + _oT, + _cO, + _iSTTLIS, + _aRRA, + _cEKA, + _ta, + _pOC, + _gC, + _mC, + _aC, + ), + ( + (lambda: schemas.NAME, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.INSTRUCTION, 0), + (lambda: schemas.MODEL_IDENTIFIER, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ORCHESTRATION_TYPE, 0), + (lambda: schemas.CUSTOM_ORCHESTRATION, 0), + (lambda: schemas.SESSION_TTL, 0), + (lambda: schemas.AGENT_ROLE_ARN, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (TAGS_MAP, 0), + (lambda: schemas.PROMPT_OVERRIDE_CONFIGURATION, 0), + (lambda: schemas.GUARDRAIL_CONFIGURATION, 0), + (lambda: schemas.MEMORY_CONFIGURATION, 0), + (lambda: schemas.AGENT_COLLABORATION, 0), + ), +) + +CREATE_AGENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CAO, + {_sSI: _cCARo, _smith: None}, + (_ag,), + ((lambda: schemas.AGENT, 1),), +) + +CREATE_AGENT: StaticOperationSchema = ( + 23, + n0, + _CA, + {_smithy: MappingProxyType({"code": 202, "method": "PUT", "uri": "/agents/"})}, + CREATE_AGENT_INPUT, + CREATE_AGENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_AGENT_INPUT: StaticSchema = ( + 18, + n0, + _DAI, + {_sSI: _cDAR, _smit: None}, + (_aI, _sRIUC), + ((lambda: schemas.ID, 9), (2, {_smithya: False, _sQ: _sRIUC})), +) + +DELETE_AGENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DAO, + {_sSI: _cDARo, _smith: None}, + (_aI, _aSg), + ((lambda: schemas.ID, 1), (lambda: schemas.AGENT_STATUS, 1)), +) + +DELETE_AGENT: StaticOperationSchema = ( + 23, + n0, + _DA, + { + _smithy: MappingProxyType( + {"code": 202, "method": "DELETE", "uri": "/agents/{agentId}/"} + ) + }, + DELETE_AGENT_INPUT, + DELETE_AGENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_AGENT_INPUT: StaticSchema = ( + 18, + n0, + _GAI, + {_sSI: _cGAR, _smit: None}, + (_aI,), + ((lambda: schemas.ID, 9),), +) + +GET_AGENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GAO, + {_sSI: _cGARo, _smith: None}, + (_ag,), + ((lambda: schemas.AGENT, 1),), +) + +GET_AGENT: StaticOperationSchema = ( + 23, + n0, + _GA, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/agents/{agentId}/"} + ) + }, + GET_AGENT_INPUT, + GET_AGENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_AGENTS_INPUT: StaticSchema = ( + 18, + n0, + _LAI, + {_sSI: _cLAR, _smit: None}, + (_mR, _nT), + ((lambda: schemas.MAX_RESULTS, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_AGENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAO, + {_sSI: _cLARo, _smith: None}, + (_aSge, _nT), + ((lambda: AGENT_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_AGENTS: StaticOperationSchema = ( + 23, + n0, + _LAi, + {_smithy: MappingProxyType({"code": 200, "method": "POST", "uri": "/agents/"})}, + LIST_AGENTS_INPUT, + LIST_AGENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AGENT_SUMMARY: StaticSchema = ( + 18, + n0, + _ASg, + 0, + (_aI, _aN, _aSg, _d, _uA, _lAV, _gC), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.AGENT_STATUS, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.VERSION, 0), + (lambda: schemas.GUARDRAIL_CONFIGURATION, 0), + ), +) + +AGENT_SUMMARIES: StaticSchema = (16, n0, _ASge, 0, (_me,), ((AGENT_SUMMARY, 0),)) + +PREPARE_AGENT_INPUT: StaticSchema = ( + 18, + n0, + _PAI, + {_sSI: _cPAR, _smit: None}, + (_aI,), + ((lambda: schemas.ID, 9),), +) + +PREPARE_AGENT_OUTPUT: StaticSchema = ( + 18, + n0, + _PAO, + {_sSI: _cPARo, _smith: None}, + (_aI, _aSg, _aV, _pA), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.AGENT_STATUS, 1), + (lambda: schemas.VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +PREPARE_AGENT: StaticOperationSchema = ( + 23, + n0, + _PA, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/agents/{agentId}/"} + ) + }, + PREPARE_AGENT_INPUT, + PREPARE_AGENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_AGENT_INPUT: StaticSchema = ( + 18, + n0, + _UAI, + {_sSI: _cUAR, _smit: None}, + (_aI, _aN, _in, _fM, _d, _oT, _cO, _iSTTLIS, _aRRA, _cEKA, _pOC, _gC, _mC, _aC), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.NAME, 1), + (lambda: schemas.INSTRUCTION, 0), + (lambda: schemas.MODEL_IDENTIFIER, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ORCHESTRATION_TYPE, 0), + (lambda: schemas.CUSTOM_ORCHESTRATION, 0), + (lambda: schemas.SESSION_TTL, 0), + (lambda: schemas.AGENT_ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.PROMPT_OVERRIDE_CONFIGURATION, 0), + (lambda: schemas.GUARDRAIL_CONFIGURATION, 0), + (lambda: schemas.MEMORY_CONFIGURATION, 0), + (lambda: schemas.AGENT_COLLABORATION, 0), + ), +) + +UPDATE_AGENT_OUTPUT: StaticSchema = ( + 18, + n0, + _UAO, + {_sSI: _cUARo, _smith: None}, + (_ag,), + ((lambda: schemas.AGENT, 1),), +) + +UPDATE_AGENT: StaticOperationSchema = ( + 23, + n0, + _UA, + { + _smithy: MappingProxyType( + {"code": 202, "method": "PUT", "uri": "/agents/{agentId}/"} + ) + }, + UPDATE_AGENT_INPUT, + UPDATE_AGENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AGENT_VERSION: StaticSchema = ( + 18, + n0, + _AV, + 0, + ( + _aI, + _aN, + _aA, + _ve, + _in, + _aSg, + _fM, + _d, + _iSTTLIS, + _aRRA, + _cEKA, + _cA, + _uA, + _fR, + _rA, + _pOC, + _gC, + _mC, + _aC, + ), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.AGENT_ARN, 1), + (lambda: schemas.NUMERICAL_VERSION, 1), + (lambda: schemas.INSTRUCTION, 0), + (lambda: schemas.AGENT_STATUS, 1), + (lambda: schemas.MODEL_IDENTIFIER, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.SESSION_TTL, 1), + (lambda: schemas.AGENT_ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.FAILURE_REASONS, 0), + (lambda: schemas.RECOMMENDED_ACTIONS, 0), + (lambda: schemas.PROMPT_OVERRIDE_CONFIGURATION, 0), + (lambda: schemas.GUARDRAIL_CONFIGURATION, 0), + (lambda: schemas.MEMORY_CONFIGURATION, 0), + (lambda: schemas.AGENT_COLLABORATION, 0), + ), +) + +AGENT_VERSION_SUMMARY: StaticSchema = ( + 18, + n0, + _AVS, + 0, + (_aN, _aSg, _aV, _cA, _uA, _d, _gC), + ( + (lambda: schemas.NAME, 1), + (lambda: schemas.AGENT_STATUS, 1), + (lambda: schemas.VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.GUARDRAIL_CONFIGURATION, 0), + ), +) + +AGENT_VERSION_SUMMARIES: StaticSchema = ( + 16, + n0, + _AVSg, + 0, + (_me,), + ((AGENT_VERSION_SUMMARY, 0),), +) + +CREATE_AGENT_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _CAAI, + {_sSI: _cCAAR, _smit: None}, + (_aI, _aAN, _cT, _d, _rCo, _ta), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.NAME, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.AGENT_ALIAS_ROUTING_CONFIGURATION, 0), + (TAGS_MAP, 0), + ), +) + +CREATE_AGENT_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _CAAO, + {_sSI: _cCAARo, _smith: None}, + (_aAg,), + ((lambda: schemas.AGENT_ALIAS, 1),), +) + +CREATE_AGENT_ALIAS: StaticOperationSchema = ( + 23, + n0, + _CAA, + { + _smithy: MappingProxyType( + {"code": 202, "method": "PUT", "uri": "/agents/{agentId}/agentaliases/"} + ) + }, + CREATE_AGENT_ALIAS_INPUT, + CREATE_AGENT_ALIAS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_AGENT_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _DAAI, + {_sSI: _cDAAR, _smit: None}, + (_aI, _aAI), + ((lambda: schemas.ID, 9), (lambda: schemas.AGENT_ALIAS_ID, 9)), +) + +DELETE_AGENT_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _DAAO, + {_sSI: _cDAARo, _smith: None}, + (_aI, _aAI, _aAS), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.AGENT_ALIAS_ID, 1), + (lambda: schemas.AGENT_ALIAS_STATUS, 1), + ), +) + +DELETE_AGENT_ALIAS: StaticOperationSchema = ( + 23, + n0, + _DAA, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/agents/{agentId}/agentaliases/{agentAliasId}/", + } + ) + }, + DELETE_AGENT_ALIAS_INPUT, + DELETE_AGENT_ALIAS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_AGENT_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _GAAI, + {_sSI: _cGAAR, _smit: None}, + (_aI, _aAI), + ((lambda: schemas.ID, 9), (lambda: schemas.AGENT_ALIAS_ID, 9)), +) + +GET_AGENT_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _GAAO, + {_sSI: _cGAARo, _smith: None}, + (_aAg,), + ((lambda: schemas.AGENT_ALIAS, 1),), +) + +GET_AGENT_ALIAS: StaticOperationSchema = ( + 23, + n0, + _GAA, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/agents/{agentId}/agentaliases/{agentAliasId}/", + } + ) + }, + GET_AGENT_ALIAS_INPUT, + GET_AGENT_ALIAS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_AGENT_ALIASES_INPUT: StaticSchema = ( + 18, + n0, + _LAAI, + {_sSI: _cLAAR, _smit: None}, + (_aI, _mR, _nT), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_AGENT_ALIASES_OUTPUT: StaticSchema = ( + 18, + n0, + _LAAO, + {_sSI: _cLAARo, _smith: None}, + (_aASg, _nT), + ((AGENT_ALIAS_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_AGENT_ALIASES: StaticOperationSchema = ( + 23, + n0, + _LAA, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/agents/{agentId}/agentaliases/"} + ) + }, + LIST_AGENT_ALIASES_INPUT, + LIST_AGENT_ALIASES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_AGENT_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _UAAI, + {_sSI: _cUAAR, _smit: None}, + (_aI, _aAI, _aAN, _d, _rCo, _aIS), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.AGENT_ALIAS_ID, 9), + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.AGENT_ALIAS_ROUTING_CONFIGURATION, 0), + (lambda: schemas.ALIAS_INVOCATION_STATE, 0), + ), +) + +UPDATE_AGENT_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _UAAO, + {_sSI: _cUAARo, _smith: None}, + (_aAg,), + ((lambda: schemas.AGENT_ALIAS, 1),), +) + +UPDATE_AGENT_ALIAS: StaticOperationSchema = ( + 23, + n0, + _UAA, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "PUT", + "uri": "/agents/{agentId}/agentaliases/{agentAliasId}/", + } + ) + }, + UPDATE_AGENT_ALIAS_INPUT, + UPDATE_AGENT_ALIAS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +VPC_CONFIGURATION_DESCRIPTION: StaticSchema = (3, n0, _VCD, 0) + +HOST_HEADER: StaticSchema = (3, n0, _HH, 0) + +VPC_CONFIGURATION_NAME: StaticSchema = (3, n0, _VCN, 0) + +PORT: StaticSchema = (7, n0, _Po, 0) + +VPC_PROTOCOL: StaticSchema = ( + 14, + n0, + _VP, + 0, + (_HTTP, _HTTPS), + ((-1, {_sV: _HTTP}), (-1, {_sV: _HTTPS})), +) + +VPC_RESOLUTION_MODE: StaticSchema = ( + 14, + n0, + _VRM, + 0, + (_PUBLIC, _IV), + ((-1, {_sV: _PUBLIC}), (-1, {_sV: _IV})), +) + +RESOURCE_TARGET: StaticSchema = (3, n0, _RT, 0) + +SUBNET_ID: StaticSchema = (3, n0, _SIu, 0) + +SUBNET_ID_LIST: StaticSchema = (16, n0, _SIL, 0, (_me,), ((SUBNET_ID, 0),)) + +TLS_SERVER_NAME: StaticSchema = (3, n0, _TSN, 0) + +VPC_ID: StaticSchema = (3, n0, _VI, 0) + +CREATE_VPC_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _CVCI, + {_sSI: _cCVCR, _smit: None}, + (_kBI, _cT, _vI, _sI, _rT, _po, _pr, _rM, _hH, _tSN, _na, _d), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (VPC_ID, 1), + (SUBNET_ID_LIST, 1), + (RESOURCE_TARGET, 1), + (PORT, 1), + (VPC_PROTOCOL, 1), + (VPC_RESOLUTION_MODE, 1), + (HOST_HEADER, 0), + (TLS_SERVER_NAME, 0), + (VPC_CONFIGURATION_NAME, 0), + (VPC_CONFIGURATION_DESCRIPTION, 0), + ), +) + +CREATE_VPC_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CVCO, + {_sSI: _cCVCRo, _smith: None}, + (_vCI, _sta), + ( + (lambda: schemas.VPC_CONFIGURATION_ID, 1), + (lambda: schemas.VPC_CONFIGURATION_STATUS, 1), + ), +) + +CREATE_VPC_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _CVC, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/", + } + ) + }, + CREATE_VPC_CONFIGURATION_INPUT, + CREATE_VPC_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +VPC_CONFIGURATION_STATUS_MESSAGE: StaticSchema = (3, n0, _VCSM, 0) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_2.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_2.py new file mode 100644 index 000000000..290223b6f --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_2.py @@ -0,0 +1,1112 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagent" +_sV = "smithy.api#enumValue" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_sm = "smithy.api#sensitive" +_d = "description" +_t = "type" +_smi = "smithy.api#required" +_na = "name" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_cA = "createdAt" +_uA = "updatedAt" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_smithya = "smithy.api#default" +_CREATING = "CREATING" +_DELETING = "DELETING" +_fR = "failureReasons" +_kBI = "knowledgeBaseId" +_VCS = "VpcConfigurationStatus" +_CREATED = "CREATED" +_CF = "CREATE_FAILED" +_DF = "DELETE_FAILED" +_VCI = "VpcConfigurationId" +_sta = "status" +_DDP = "DataDeletionPolicy" +_RETAIN = "RETAIN" +_DELETE = "DELETE" +_FP = "FilterPattern" +_FL = "FilterList" +_FOT = "FilteredObjectType" +_POF = "PatternObjectFilter" +_oTb = "objectType" +_iF = "inclusionFilters" +_eF = "exclusionFilters" +_POFL = "PatternObjectFilterList" +_POFC = "PatternObjectFilterConfiguration" +_fi = "filters" +_CFCT = "CrawlFilterConfigurationType" +_PATTERN = "PATTERN" +_CFC = "CrawlFilterConfiguration" +_pOF = "patternObjectFilter" +_CCC = "ConfluenceCrawlerConfiguration" +_fC = "filterConfiguration" +_CAT = "ConfluenceAuthType" +_BASIC = "BASIC" +_OCC = "OAUTH2_CLIENT_CREDENTIALS" +_SA = "SecretArn" +_CHT = "ConfluenceHostType" +_SAAS = "SAAS" +_HU = "HttpsUrl" +_CSC = "ConfluenceSourceConfiguration" +_hU = "hostUrl" +_hT = "hostType" +_aT = "authType" +_cSA = "credentialsSecretArn" +_CDSC = "ConfluenceDataSourceConfiguration" +_sC = "sourceConfiguration" +_cCr = "crawlerConfiguration" +_EODS = "EnabledOrDisabledState" +_DPC = "DeletionProtectionConfiguration" +_dPS = "deletionProtectionStatus" +_dPT = "deletionProtectionThreshold" +_AEC = "AudioExtractionConfiguration" +_aES = "audioExtractionStatus" +_IEC = "ImageExtractionConfiguration" +_iES = "imageExtractionStatus" +_VEC = "VideoExtractionConfiguration" +_vES = "videoExtractionStatus" +_MEC = "MediaExtractionConfiguration" +_iEC = "imageExtractionConfiguration" +_aEC = "audioExtractionConfiguration" +_vEC = "videoExtractionConfiguration" +_DS = "DailySchedule" +_DOMN = "DayOfMonthNumber" +_LDOM = "LastDayOfMonth" +_DOM = "DayOfMonth" +_dN = "dayNumber" +_lDOM = "lastDayOfMonth" +_MSo = "MonthlySchedule" +_dOM = "dayOfMonth" +_DOW = "DayOfWeek" +_SUNDAY = "SUNDAY" +_MONDAY = "MONDAY" +_TUESDAY = "TUESDAY" +_WEDNESDAY = "WEDNESDAY" +_THURSDAY = "THURSDAY" +_FRIDAY = "FRIDAY" +_SATURDAY = "SATURDAY" +_WS = "WeeklySchedule" +_dOW = "dayOfWeek" +_SSy = "SyncSchedule" +_da = "daily" +_w = "weekly" +_mo = "monthly" +_MKBCC = "ManagedKnowledgeBaseConnectorConfiguration" +_dPC = "deletionProtectionConfiguration" +_mEC = "mediaExtractionConfiguration" +_cP = "connectorParameters" +_sSy = "syncSchedule" +_SBA = "S3BucketArn" +_BOAI = "BucketOwnerAccountId" +_SP = "S3Prefix" +_SPr = "S3Prefixes" +_SDSC = "S3DataSourceConfiguration" +_bA = "bucketArn" +_iP = "inclusionPrefixes" +_bOAI = "bucketOwnerAccountId" +_SCC = "SalesforceCrawlerConfiguration" +_SAT = "SalesforceAuthType" +_SSCa = "SalesforceSourceConfiguration" +_SDSCa = "SalesforceDataSourceConfiguration" +_SPCC = "SharePointCrawlerConfiguration" +_SPAT = "SharePointAuthType" +_OSAOCC = "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS" +_SPD = "SharePointDomain" +_SPHT = "SharePointHostType" +_ONLINE = "ONLINE" +_SPSU = "SharePointSiteUrls" +_MTI = "Microsoft365TenantId" +_SPSC = "SharePointSourceConfiguration" +_tI = "tenantId" +_do = "domain" +_sU = "siteUrls" +_SPDSC = "SharePointDataSourceConfiguration" +_DST = "DataSourceType" +_S = "S3" +_WEB = "WEB" +_CONFLUENCE = "CONFLUENCE" +_SALESFORCE = "SALESFORCE" +_SHAREPOINT = "SHAREPOINT" +_CUSTOM = "CUSTOM" +_RM = "REDSHIFT_METADATA" +_MKBC = "MANAGED_KNOWLEDGE_BASE_CONNECTOR" +_WCL = "WebCrawlerLimits" +_rL = "rateLimit" +_mP = "maxPages" +_WST = "WebScopeType" +_HO = "HOST_ONLY" +_SUBDOMAINS = "SUBDOMAINS" +_UAs = "UserAgent" +_UAH = "UserAgentHeader" +_WCC = "WebCrawlerConfiguration" +_cL = "crawlerLimits" +_sc = "scope" +_uAs = "userAgent" +_uAH = "userAgentHeader" +_U = "Url" +_SU = "SeedUrl" +_u = "url" +_SUe = "SeedUrls" +_UC = "UrlConfiguration" +_sUe = "seedUrls" +_WSC = "WebSourceConfiguration" +_uC = "urlConfiguration" +_WDSC = "WebDataSourceConfiguration" +_DSC = "DataSourceConfiguration" +_mKBCC = "managedKnowledgeBaseConnectorConfiguration" +_sCo = "s3Configuration" +_wC = "webConfiguration" +_cCo = "confluenceConfiguration" +_sCa = "salesforceConfiguration" +_sPC = "sharePointConfiguration" +_SSEC = "ServerSideEncryptionConfiguration" +_kKA = "kmsKeyArn" +_CS = "ChunkingStrategy" +_FS_ = "FIXED_SIZE" +_NONE = "NONE" +_HIERARCHICAL = "HIERARCHICAL" +_SEMANTIC = "SEMANTIC" +_FSCC = "FixedSizeChunkingConfiguration" +_mT = "maxTokens" +_oP = "overlapPercentage" +_HCLC = "HierarchicalChunkingLevelConfiguration" +_HCLCi = "HierarchicalChunkingLevelConfigurations" +_HCC = "HierarchicalChunkingConfiguration" +_lC = "levelConfigurations" +_oTv = "overlapTokens" +_SCCe = "SemanticChunkingConfiguration" +_bS = "bufferSize" +_bPTr = "breakpointPercentileThreshold" +_CC = "ChunkingConfiguration" +_cS = "chunkingStrategy" +_fSCC = "fixedSizeChunkingConfiguration" +_hCC = "hierarchicalChunkingConfiguration" +_sCC = "semanticChunkingConfiguration" +_ESM = "EnrichmentStrategyMethod" +_CEE = "CHUNK_ENTITY_EXTRACTION" +_ESC = "EnrichmentStrategyConfiguration" +_met = "method" +_BMA = "BedrockModelArn" +_BFMCEC = "BedrockFoundationModelContextEnrichmentConfiguration" +_eSC = "enrichmentStrategyConfiguration" +_mA = "modelArn" +_CET = "ContextEnrichmentType" +_BFM = "BEDROCK_FOUNDATION_MODEL" +_CEC = "ContextEnrichmentConfiguration" +_bFMC = "bedrockFoundationModelConfiguration" +_SBU = "S3BucketUri" +_SL = "S3Location" +_ur = "uri" +_IS = "IntermediateStorage" +_sLo = "s3Location" +_ST = "StepType" +_PC_ = "POST_CHUNKING" +_TLC = "TransformationLambdaConfiguration" +_lA = "lambdaArn" +_TF = "TransformationFunction" +_tLC = "transformationLambdaConfiguration" +_Tr = "Transformation" +_tF = "transformationFunction" +_sTA = "stepToApply" +_Tra = "Transformations" +_CTC = "CustomTransformationConfiguration" +_iS = "intermediateStorage" +_tr = "transformations" +_PMa = "ParsingModality" +_MULTIMODAL = "MULTIMODAL" +_BDAC = "BedrockDataAutomationConfiguration" +_pMa = "parsingModality" +_PPT = "ParsingPromptText" +_PPa = "ParsingPrompt" +_pPT = "parsingPromptText" +_BFMC = "BedrockFoundationModelConfiguration" +_pP = "parsingPrompt" +_PSa = "ParsingStrategy" +_BDA = "BEDROCK_DATA_AUTOMATION" +_SP_ = "SMART_PARSING" +_MME = "MULTI_MODAL_EMBEDDINGS" +_PCa = "ParsingConfiguration" +_pSa = "parsingStrategy" +_bDAC = "bedrockDataAutomationConfiguration" +_VIC = "VectorIngestionConfiguration" +_cCh = "chunkingConfiguration" +_cTC = "customTransformationConfiguration" +_pCa = "parsingConfiguration" +_cEC = "contextEnrichmentConfiguration" +_CDSI = "CreateDataSourceInput" +_cCDSR = "com.amazonaws.bedrockagent#CreateDataSourceRequest" +_dSC = "dataSourceConfiguration" +_dDP = "dataDeletionPolicy" +_sSEC = "serverSideEncryptionConfiguration" +_vIC = "vectorIngestionConfiguration" +_DSa = "DataSource" +_dSI = "dataSourceId" +_CDSO = "CreateDataSourceOutput" +_cCDSRo = "com.amazonaws.bedrockagent#CreateDataSourceResponse" +_dS = "dataSource" +_CDS = "CreateDataSource" +_DDSI = "DeleteDataSourceInput" +_cDDSR = "com.amazonaws.bedrockagent#DeleteDataSourceRequest" +_DDSO = "DeleteDataSourceOutput" +_cDDSRo = "com.amazonaws.bedrockagent#DeleteDataSourceResponse" +_DDS = "DeleteDataSource" +_GDSI = "GetDataSourceInput" +_cGDSR = "com.amazonaws.bedrockagent#GetDataSourceRequest" +_GDSO = "GetDataSourceOutput" +_cGDSRo = "com.amazonaws.bedrockagent#GetDataSourceResponse" +_GDS = "GetDataSource" + +VPC_CONFIGURATION_STATUS: StaticSchema = ( + 14, + n0, + _VCS, + 0, + (_CREATING, _CREATED, _DELETING, _CF, _DF), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _CREATED}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _CF}), + (-1, {_sV: _DF}), + ), +) + +VPC_CONFIGURATION_ID: StaticSchema = (3, n0, _VCI, 0) + +DATA_DELETION_POLICY: StaticSchema = ( + 14, + n0, + _DDP, + 0, + (_RETAIN, _DELETE), + ((-1, {_sV: _RETAIN}), (-1, {_sV: _DELETE})), +) + +FILTER_PATTERN: StaticSchema = (3, n0, _FP, 4) + +FILTER_LIST: StaticSchema = (16, n0, _FL, 4, (_me,), ((FILTER_PATTERN, 0),)) + +FILTERED_OBJECT_TYPE: StaticSchema = (3, n0, _FOT, 4) + +PATTERN_OBJECT_FILTER: StaticSchema = ( + 18, + n0, + _POF, + 0, + (_oTb, _iF, _eF), + ((FILTERED_OBJECT_TYPE, 1), (FILTER_LIST, 0), (FILTER_LIST, 0)), +) + +PATTERN_OBJECT_FILTER_LIST: StaticSchema = ( + 16, + n0, + _POFL, + 4, + (_me,), + ((PATTERN_OBJECT_FILTER, 0),), +) + +PATTERN_OBJECT_FILTER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _POFC, + 0, + (_fi,), + ((PATTERN_OBJECT_FILTER_LIST, 1),), +) + +CRAWL_FILTER_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _CFCT, + 0, + (_PATTERN,), + ((-1, {_sV: _PATTERN}),), +) + +CRAWL_FILTER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CFC, + 0, + (_t, _pOF), + ((CRAWL_FILTER_CONFIGURATION_TYPE, 1), (PATTERN_OBJECT_FILTER_CONFIGURATION, 0)), +) + +CONFLUENCE_CRAWLER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CCC, + 0, + (_fC,), + ((CRAWL_FILTER_CONFIGURATION, 0),), +) + +CONFLUENCE_AUTH_TYPE: StaticSchema = ( + 14, + n0, + _CAT, + 0, + (_BASIC, _OCC), + ((-1, {_sV: _BASIC}), (-1, {_sV: _OCC})), +) + +SECRET_ARN: StaticSchema = (3, n0, _SA, 0) + +CONFLUENCE_HOST_TYPE: StaticSchema = (14, n0, _CHT, 0, (_SAAS,), ((-1, {_sV: _SAAS}),)) + +HTTPS_URL: StaticSchema = (3, n0, _HU, 0) + +CONFLUENCE_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CSC, + 0, + (_hU, _hT, _aT, _cSA), + ( + (HTTPS_URL, 1), + (CONFLUENCE_HOST_TYPE, 1), + (CONFLUENCE_AUTH_TYPE, 1), + (SECRET_ARN, 1), + ), +) + +CONFLUENCE_DATA_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CDSC, + 0, + (_sC, _cCr), + ((CONFLUENCE_SOURCE_CONFIGURATION, 1), (CONFLUENCE_CRAWLER_CONFIGURATION, 0)), +) + +ENABLED_OR_DISABLED_STATE: StaticSchema = ( + 14, + n0, + _EODS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +DELETION_PROTECTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DPC, + 0, + (_dPS, _dPT), + ((ENABLED_OR_DISABLED_STATE, 1), (7, {_smithya: 15})), +) + +AUDIO_EXTRACTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AEC, + 0, + (_aES,), + ((ENABLED_OR_DISABLED_STATE, 1),), +) + +IMAGE_EXTRACTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IEC, + 0, + (_iES,), + ((ENABLED_OR_DISABLED_STATE, 1),), +) + +VIDEO_EXTRACTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VEC, + 0, + (_vES,), + ((ENABLED_OR_DISABLED_STATE, 1),), +) + +MEDIA_EXTRACTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MEC, + 0, + (_iEC, _aEC, _vEC), + ( + (IMAGE_EXTRACTION_CONFIGURATION, 0), + (AUDIO_EXTRACTION_CONFIGURATION, 0), + (VIDEO_EXTRACTION_CONFIGURATION, 0), + ), +) + +DAILY_SCHEDULE: StaticSchema = (18, n0, _DS, 0) + +DAY_OF_MONTH_NUMBER: StaticSchema = (7, n0, _DOMN, 0) + +LAST_DAY_OF_MONTH: StaticSchema = (18, n0, _LDOM, 0) + +DAY_OF_MONTH: StaticSchema = ( + 19, + n0, + _DOM, + 0, + (_dN, _lDOM), + ((DAY_OF_MONTH_NUMBER, 0), (LAST_DAY_OF_MONTH, 0)), +) + +MONTHLY_SCHEDULE: StaticSchema = (18, n0, _MSo, 0, (_dOM,), ((DAY_OF_MONTH, 1),)) + +DAY_OF_WEEK: StaticSchema = ( + 14, + n0, + _DOW, + 0, + (_SUNDAY, _MONDAY, _TUESDAY, _WEDNESDAY, _THURSDAY, _FRIDAY, _SATURDAY), + ( + (-1, {_sV: _SUNDAY}), + (-1, {_sV: _MONDAY}), + (-1, {_sV: _TUESDAY}), + (-1, {_sV: _WEDNESDAY}), + (-1, {_sV: _THURSDAY}), + (-1, {_sV: _FRIDAY}), + (-1, {_sV: _SATURDAY}), + ), +) + +WEEKLY_SCHEDULE: StaticSchema = (18, n0, _WS, 0, (_dOW,), ((DAY_OF_WEEK, 1),)) + +SYNC_SCHEDULE: StaticSchema = ( + 19, + n0, + _SSy, + 0, + (_da, _w, _mo), + ((DAILY_SCHEDULE, 0), (WEEKLY_SCHEDULE, 0), (MONTHLY_SCHEDULE, 0)), +) + +MANAGED_KNOWLEDGE_BASE_CONNECTOR_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MKBCC, + 0, + (_dPC, _mEC, _cP, _sSy), + ( + (DELETION_PROTECTION_CONFIGURATION, 0), + (MEDIA_EXTRACTION_CONFIGURATION, 0), + (13, 0), + (SYNC_SCHEDULE, 0), + ), +) + +S3_BUCKET_ARN: StaticSchema = (3, n0, _SBA, 0) + +BUCKET_OWNER_ACCOUNT_ID: StaticSchema = (3, n0, _BOAI, 0) + +S3_PREFIX: StaticSchema = (3, n0, _SP, 4) + +S3_PREFIXES: StaticSchema = (16, n0, _SPr, 0, (_me,), ((S3_PREFIX, 0),)) + +S3_DATA_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SDSC, + 0, + (_bA, _iP, _bOAI), + ((S3_BUCKET_ARN, 1), (S3_PREFIXES, 0), (BUCKET_OWNER_ACCOUNT_ID, 0)), +) + +SALESFORCE_CRAWLER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCC, + 0, + (_fC,), + ((CRAWL_FILTER_CONFIGURATION, 0),), +) + +SALESFORCE_AUTH_TYPE: StaticSchema = (14, n0, _SAT, 0, (_OCC,), ((-1, {_sV: _OCC}),)) + +SALESFORCE_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SSCa, + 0, + (_hU, _aT, _cSA), + ((HTTPS_URL, 1), (SALESFORCE_AUTH_TYPE, 1), (SECRET_ARN, 1)), +) + +SALESFORCE_DATA_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SDSCa, + 0, + (_sC, _cCr), + ((SALESFORCE_SOURCE_CONFIGURATION, 1), (SALESFORCE_CRAWLER_CONFIGURATION, 0)), +) + +SHARE_POINT_CRAWLER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SPCC, + 0, + (_fC,), + ((CRAWL_FILTER_CONFIGURATION, 0),), +) + +SHARE_POINT_AUTH_TYPE: StaticSchema = ( + 14, + n0, + _SPAT, + 0, + (_OCC, _OSAOCC), + ((-1, {_sV: _OCC}), (-1, {_sV: _OSAOCC})), +) + +SHARE_POINT_DOMAIN: StaticSchema = (3, n0, _SPD, 0) + +SHARE_POINT_HOST_TYPE: StaticSchema = ( + 14, + n0, + _SPHT, + 0, + (_ONLINE,), + ((-1, {_sV: _ONLINE}),), +) + +SHARE_POINT_SITE_URLS: StaticSchema = (16, n0, _SPSU, 0, (_me,), ((HTTPS_URL, 0),)) + +MICROSOFT365_TENANT_ID: StaticSchema = (3, n0, _MTI, 0) + +SHARE_POINT_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SPSC, + 0, + (_tI, _do, _sU, _hT, _aT, _cSA), + ( + (MICROSOFT365_TENANT_ID, 0), + (SHARE_POINT_DOMAIN, 1), + (SHARE_POINT_SITE_URLS, 1), + (SHARE_POINT_HOST_TYPE, 1), + (SHARE_POINT_AUTH_TYPE, 1), + (SECRET_ARN, 1), + ), +) + +SHARE_POINT_DATA_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SPDSC, + 0, + (_sC, _cCr), + ((SHARE_POINT_SOURCE_CONFIGURATION, 1), (SHARE_POINT_CRAWLER_CONFIGURATION, 0)), +) + +DATA_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _DST, + 0, + (_S, _WEB, _CONFLUENCE, _SALESFORCE, _SHAREPOINT, _CUSTOM, _RM, _MKBC), + ( + (-1, {_sV: _S}), + (-1, {_sV: _WEB}), + (-1, {_sV: _CONFLUENCE}), + (-1, {_sV: _SALESFORCE}), + (-1, {_sV: _SHAREPOINT}), + (-1, {_sV: _CUSTOM}), + (-1, {_sV: _RM}), + (-1, {_sV: _MKBC}), + ), +) + +WEB_CRAWLER_LIMITS: StaticSchema = (18, n0, _WCL, 0, (_rL, _mP), ((7, 0), (7, 0))) + +WEB_SCOPE_TYPE: StaticSchema = ( + 14, + n0, + _WST, + 0, + (_HO, _SUBDOMAINS), + ((-1, {_sV: _HO}), (-1, {_sV: _SUBDOMAINS})), +) + +USER_AGENT: StaticSchema = (3, n0, _UAs, 4) + +USER_AGENT_HEADER: StaticSchema = (3, n0, _UAH, 4) + +WEB_CRAWLER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _WCC, + 0, + (_cL, _iF, _eF, _sc, _uAs, _uAH), + ( + (WEB_CRAWLER_LIMITS, 0), + (FILTER_LIST, 0), + (FILTER_LIST, 0), + (WEB_SCOPE_TYPE, 0), + (USER_AGENT, 0), + (USER_AGENT_HEADER, 0), + ), +) + +URL: StaticSchema = (3, n0, _U, 0) + +SEED_URL: StaticSchema = (18, n0, _SU, 0, (_u,), ((URL, 0),)) + +SEED_URLS: StaticSchema = (16, n0, _SUe, 0, (_me,), ((SEED_URL, 0),)) + +URL_CONFIGURATION: StaticSchema = (18, n0, _UC, 0, (_sUe,), ((SEED_URLS, 0),)) + +WEB_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _WSC, + 0, + (_uC,), + ((URL_CONFIGURATION, 1),), +) + +WEB_DATA_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _WDSC, + 0, + (_sC, _cCr), + ((WEB_SOURCE_CONFIGURATION, 1), (WEB_CRAWLER_CONFIGURATION, 0)), +) + +DATA_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DSC, + 0, + (_t, _mKBCC, _sCo, _wC, _cCo, _sCa, _sPC), + ( + (DATA_SOURCE_TYPE, 1), + (MANAGED_KNOWLEDGE_BASE_CONNECTOR_CONFIGURATION, 0), + (S3_DATA_SOURCE_CONFIGURATION, 0), + (WEB_DATA_SOURCE_CONFIGURATION, 0), + (CONFLUENCE_DATA_SOURCE_CONFIGURATION, 0), + (SALESFORCE_DATA_SOURCE_CONFIGURATION, 0), + (SHARE_POINT_DATA_SOURCE_CONFIGURATION, 0), + ), +) + +SERVER_SIDE_ENCRYPTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SSEC, + 0, + (_kKA,), + ((lambda: schemas.KMS_KEY_ARN, 0),), +) + +CHUNKING_STRATEGY: StaticSchema = ( + 14, + n0, + _CS, + 0, + (_FS_, _NONE, _HIERARCHICAL, _SEMANTIC), + ( + (-1, {_sV: _FS_}), + (-1, {_sV: _NONE}), + (-1, {_sV: _HIERARCHICAL}), + (-1, {_sV: _SEMANTIC}), + ), +) + +FIXED_SIZE_CHUNKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FSCC, + 0, + (_mT, _oP), + ((7, 1), (7, 1)), +) + +HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HCLC, + 0, + (_mT,), + ((7, 1),), +) + +HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _HCLCi, + 0, + (_me,), + ((HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATION, 0),), +) + +HIERARCHICAL_CHUNKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HCC, + 0, + (_lC, _oTv), + ((HIERARCHICAL_CHUNKING_LEVEL_CONFIGURATIONS, 1), (7, 1)), +) + +SEMANTIC_CHUNKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCCe, + 0, + (_mT, _bS, _bPTr), + ((7, 1), (7, 1), (7, 1)), +) + +CHUNKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CC, + 0, + (_cS, _fSCC, _hCC, _sCC), + ( + (CHUNKING_STRATEGY, 1), + (FIXED_SIZE_CHUNKING_CONFIGURATION, 0), + (HIERARCHICAL_CHUNKING_CONFIGURATION, 0), + (SEMANTIC_CHUNKING_CONFIGURATION, 0), + ), +) + +ENRICHMENT_STRATEGY_METHOD: StaticSchema = ( + 14, + n0, + _ESM, + 0, + (_CEE,), + ((-1, {_sV: _CEE}),), +) + +ENRICHMENT_STRATEGY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ESC, + 0, + (_met,), + ((ENRICHMENT_STRATEGY_METHOD, 1),), +) + +BEDROCK_MODEL_ARN: StaticSchema = (3, n0, _BMA, 0) + +BEDROCK_FOUNDATION_MODEL_CONTEXT_ENRICHMENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BFMCEC, + 0, + (_eSC, _mA), + ((ENRICHMENT_STRATEGY_CONFIGURATION, 1), (BEDROCK_MODEL_ARN, 1)), +) + +CONTEXT_ENRICHMENT_TYPE: StaticSchema = (14, n0, _CET, 0, (_BFM,), ((-1, {_sV: _BFM}),)) + +CONTEXT_ENRICHMENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CEC, + 0, + (_t, _bFMC), + ( + (CONTEXT_ENRICHMENT_TYPE, 1), + (BEDROCK_FOUNDATION_MODEL_CONTEXT_ENRICHMENT_CONFIGURATION, 0), + ), +) + +S3_BUCKET_URI: StaticSchema = (3, n0, _SBU, 0) + +S3_LOCATION: StaticSchema = (18, n0, _SL, 0, (_ur,), ((S3_BUCKET_URI, 1),)) + +INTERMEDIATE_STORAGE: StaticSchema = (18, n0, _IS, 0, (_sLo,), ((S3_LOCATION, 1),)) + +STEP_TYPE: StaticSchema = (14, n0, _ST, 0, (_PC_,), ((-1, {_sV: _PC_}),)) + +TRANSFORMATION_LAMBDA_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TLC, + 0, + (_lA,), + ((lambda: schemas.LAMBDA_ARN, 1),), +) + +TRANSFORMATION_FUNCTION: StaticSchema = ( + 18, + n0, + _TF, + 0, + (_tLC,), + ((TRANSFORMATION_LAMBDA_CONFIGURATION, 1),), +) + +TRANSFORMATION: StaticSchema = ( + 18, + n0, + _Tr, + 0, + (_tF, _sTA), + ((TRANSFORMATION_FUNCTION, 1), (STEP_TYPE, 1)), +) + +TRANSFORMATIONS: StaticSchema = (16, n0, _Tra, 0, (_me,), ((TRANSFORMATION, 0),)) + +CUSTOM_TRANSFORMATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CTC, + 0, + (_iS, _tr), + ((INTERMEDIATE_STORAGE, 1), (TRANSFORMATIONS, 1)), +) + +PARSING_MODALITY: StaticSchema = ( + 14, + n0, + _PMa, + 0, + (_MULTIMODAL,), + ((-1, {_sV: _MULTIMODAL}),), +) + +BEDROCK_DATA_AUTOMATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BDAC, + 0, + (_pMa,), + ((PARSING_MODALITY, 0),), +) + +PARSING_PROMPT_TEXT: StaticSchema = (3, n0, _PPT, 0) + +PARSING_PROMPT: StaticSchema = (18, n0, _PPa, 0, (_pPT,), ((PARSING_PROMPT_TEXT, 1),)) + +BEDROCK_FOUNDATION_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BFMC, + 0, + (_mA, _pP, _pMa), + ((BEDROCK_MODEL_ARN, 1), (PARSING_PROMPT, 0), (PARSING_MODALITY, 0)), +) + +PARSING_STRATEGY: StaticSchema = ( + 14, + n0, + _PSa, + 0, + (_BFM, _BDA, _SP_, _MME), + ((-1, {_sV: _BFM}), (-1, {_sV: _BDA}), (-1, {_sV: _SP_}), (-1, {_sV: _MME})), +) + +PARSING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCa, + 0, + (_pSa, _bFMC, _bDAC), + ( + (PARSING_STRATEGY, 1), + (BEDROCK_FOUNDATION_MODEL_CONFIGURATION, 0), + (BEDROCK_DATA_AUTOMATION_CONFIGURATION, 0), + ), +) + +VECTOR_INGESTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VIC, + 0, + (_cCh, _cTC, _pCa, _cEC), + ( + (CHUNKING_CONFIGURATION, 0), + (CUSTOM_TRANSFORMATION_CONFIGURATION, 0), + (PARSING_CONFIGURATION, 0), + (CONTEXT_ENRICHMENT_CONFIGURATION, 0), + ), +) + +CREATE_DATA_SOURCE_INPUT: StaticSchema = ( + 18, + n0, + _CDSI, + {_sSI: _cCDSR, _smit: None}, + (_kBI, _cT, _na, _d, _dSC, _dDP, _sSEC, _vIC), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (DATA_SOURCE_CONFIGURATION, 1), + (DATA_DELETION_POLICY, 0), + (SERVER_SIDE_ENCRYPTION_CONFIGURATION, 0), + (VECTOR_INGESTION_CONFIGURATION, 0), + ), +) + +CREATE_DATA_SOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _CDSO, + {_sSI: _cCDSRo, _smith: None}, + (_dS,), + ((lambda: DATA_SOURCE, 1),), +) + +CREATE_DATA_SOURCE: StaticOperationSchema = ( + 23, + n0, + _CDS, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/", + } + ) + }, + CREATE_DATA_SOURCE_INPUT, + CREATE_DATA_SOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_SOURCE: StaticSchema = ( + 18, + n0, + _DSa, + 0, + (_kBI, _dSI, _na, _sta, _d, _dSC, _sSEC, _vIC, _dDP, _cA, _uA, _fR), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.ID, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.DATA_SOURCE_STATUS, 1), + (lambda: schemas.DESCRIPTION, 0), + (DATA_SOURCE_CONFIGURATION, 1), + (SERVER_SIDE_ENCRYPTION_CONFIGURATION, 0), + (VECTOR_INGESTION_CONFIGURATION, 0), + (DATA_DELETION_POLICY, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.FAILURE_REASONS, 0), + ), +) + +DELETE_DATA_SOURCE_INPUT: StaticSchema = ( + 18, + n0, + _DDSI, + {_sSI: _cDDSR, _smit: None}, + (_kBI, _dSI), + ((lambda: schemas.ID, 9), (lambda: schemas.ID, 9)), +) + +DELETE_DATA_SOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _DDSO, + {_sSI: _cDDSRo, _smith: None}, + (_kBI, _dSI, _sta), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.ID, 1), + (lambda: schemas.DATA_SOURCE_STATUS, 1), + ), +) + +DELETE_DATA_SOURCE: StaticOperationSchema = ( + 23, + n0, + _DDS, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + } + ) + }, + DELETE_DATA_SOURCE_INPUT, + DELETE_DATA_SOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_DATA_SOURCE_INPUT: StaticSchema = ( + 18, + n0, + _GDSI, + {_sSI: _cGDSR, _smit: None}, + (_kBI, _dSI), + ((lambda: schemas.ID, 9), (lambda: schemas.ID, 9)), +) + +GET_DATA_SOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _GDSO, + {_sSI: _cGDSRo, _smith: None}, + (_dS,), + ((DATA_SOURCE, 1),), +) + +GET_DATA_SOURCE: StaticOperationSchema = ( + 23, + n0, + _GDS, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + } + ) + }, + GET_DATA_SOURCE_INPUT, + GET_DATA_SOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_3.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_3.py new file mode 100644 index 000000000..759369063 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_3.py @@ -0,0 +1,1340 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagent" +_sV = "smithy.api#enumValue" +_USER = "USER" +_sm = "smithy.api#sensitive" +_s_ = "s3" +_STRING = "STRING" +_NUMBER = "NUMBER" +_BOOLEAN = "BOOLEAN" +_ARRAY = "ARRAY" +_d = "description" +_t = "type" +_smi = "smithy.api#required" +_na = "name" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_uA = "updatedAt" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_smithya = "smithy.api#default" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_DEFAULT = "DEFAULT" +_te = "temperature" +_tP = "topP" +_sS = "stopSequences" +_iC = "inferenceConfiguration" +_aMRF = "additionalModelRequestFields" +_A = "Agent" +_gC = "guardrailConfiguration" +_v_ = "" +_kBI = "knowledgeBaseId" +_ag = "agent" +_vCI = "vpcConfigurationId" +_sta = "status" +_sC = "sourceConfiguration" +_mT = "maxTokens" +_mA = "modelArn" +_lA = "lambdaArn" +_dSC = "dataSourceConfiguration" +_dDP = "dataDeletionPolicy" +_sSEC = "serverSideEncryptionConfiguration" +_vIC = "vectorIngestionConfiguration" +_dSI = "dataSourceId" +_dS = "dataSource" +_LDSI = "ListDataSourcesInput" +_cLDSR = "com.amazonaws.bedrockagent#ListDataSourcesRequest" +_DSSa = "DataSourceSummary" +_DSSat = "DataSourceSummaries" +_LDSO = "ListDataSourcesOutput" +_cLDSRo = "com.amazonaws.bedrockagent#ListDataSourcesResponse" +_dSS = "dataSourceSummaries" +_LDS = "ListDataSources" +_UDSI = "UpdateDataSourceInput" +_cUDSR = "com.amazonaws.bedrockagent#UpdateDataSourceRequest" +_UDSO = "UpdateDataSourceOutput" +_cUDSRo = "com.amazonaws.bedrockagent#UpdateDataSourceResponse" +_UDS = "UpdateDataSource" +_RIe = "RevisionId" +_RAes = "ResourceArn" +_DRPI = "DeleteResourcePolicyInput" +_cDRPR = "com.amazonaws.bedrockagent#DeleteResourcePolicyRequest" +_rAe = "resourceArn" +_eRI = "expectedRevisionId" +_DRPO = "DeleteResourcePolicyOutput" +_cDRPRo = "com.amazonaws.bedrockagent#DeleteResourcePolicyResponse" +_rI = "revisionId" +_DRP = "DeleteResourcePolicy" +_DVCI = "DeleteVpcConfigurationInput" +_cDVCR = "com.amazonaws.bedrockagent#DeleteVpcConfigurationRequest" +_DVCO = "DeleteVpcConfigurationOutput" +_cDVCRo = "com.amazonaws.bedrockagent#DeleteVpcConfigurationResponse" +_DVC = "DeleteVpcConfiguration" +_FCN = "FlowConditionName" +_FCCC = "FlowConditionalConnectionConfiguration" +_co = "condition" +_FNON = "FlowNodeOutputName" +_FNIN = "FlowNodeInputName" +_FDCC = "FlowDataConnectionConfiguration" +_sO = "sourceOutput" +_tIa = "targetInput" +_FCC = "FlowConnectionConfiguration" +_dat = "data" +_con = "conditional" +_FCNl = "FlowConnectionName" +_FNN = "FlowNodeName" +_FCT = "FlowConnectionType" +_DATA = "DATA" +_Da = "Data" +_CONDITIONAL = "CONDITIONAL" +_C = "Conditional" +_FC = "FlowConnection" +_so = "source" +_tar = "target" +_conf = "configuration" +_FCl = "FlowConnections" +_CFNC = "CollectorFlowNodeConfiguration" +_FCE = "FlowConditionExpression" +_FClo = "FlowCondition" +_ex = "expression" +_FClow = "FlowConditions" +_CFNCo = "ConditionFlowNodeConfiguration" +_cond = "conditions" +_ICn = "InlineCode" +_SLu = "SupportedLanguages" +_P_ = "PYTHON_3" +_P__ = "Python_3" +_ICFNC = "InlineCodeFlowNodeConfiguration" +_cod = "code" +_la = "language" +_IFNC = "InputFlowNodeConfiguration" +_IFNCt = "IteratorFlowNodeConfiguration" +_PMIC = "PromptModelInferenceConfiguration" +_PIC = "PromptInferenceConfiguration" +_tex = "text" +_FKBI = "FlowKnowledgeBaseId" +_KBMI = "KnowledgeBaseModelIdentifier" +_PCL = "PerformanceConfigLatency" +_STANDARD = "STANDARD" +_stan = "standard" +_OPTIMIZED = "OPTIMIZED" +_o = "optimized" +_PCe = "PerformanceConfiguration" +_lat = "latency" +_KBTP = "KnowledgeBaseTextPrompt" +_KBPT = "KnowledgeBasePromptTemplate" +_tPT = "textPromptTemplate" +_KBOC = "KnowledgeBaseOrchestrationConfiguration" +_pTro = "promptTemplate" +_iCn = "inferenceConfig" +_pCe = "performanceConfig" +_RMSM = "RerankingMetadataSelectionMode" +_SELECTIVE = "SELECTIVE" +_ALL = "ALL" +_FFR = "FieldForReranking" +_fN = "fieldName" +_FFRi = "FieldsForReranking" +_RMSMC = "RerankingMetadataSelectiveModeConfiguration" +_fTI = "fieldsToInclude" +_fTE = "fieldsToExclude" +_MCFR = "MetadataConfigurationForReranking" +_sM = "selectionMode" +_sMC = "selectiveModeConfiguration" +_BRMA = "BedrockRerankingModelArn" +_VSBRMC = "VectorSearchBedrockRerankingModelConfiguration" +_VSBRC = "VectorSearchBedrockRerankingConfiguration" +_mCo = "modelConfiguration" +_nORR = "numberOfRerankedResults" +_mCe = "metadataConfiguration" +_VSRCT = "VectorSearchRerankingConfigurationType" +_BRM = "BEDROCK_RERANKING_MODEL" +_VSRC = "VectorSearchRerankingConfiguration" +_bRC = "bedrockRerankingConfiguration" +_KBFNC = "KnowledgeBaseFlowNodeConfiguration" +_mI = "modelId" +_nOR = "numberOfResults" +_rCe = "rerankingConfiguration" +_oC = "orchestrationConfiguration" +_FLA = "FlowLambdaArn" +_LFFNC = "LambdaFunctionFlowNodeConfiguration" +_FLBAA = "FlowLexBotAliasArn" +_FLBLI = "FlowLexBotLocaleId" +_LFNC = "LexFlowNodeConfiguration" +_bAA = "botAliasArn" +_lI = "localeId" +_LCFNC = "LoopControllerFlowNodeConfiguration" +_cCon = "continueCondition" +_mIa = "maxIterations" +_LIFNC = "LoopInputFlowNodeConfiguration" +_OFNC = "OutputFlowNodeConfiguration" +_FPMI = "FlowPromptModelIdentifier" +_PIVN = "PromptInputVariableName" +_PIV = "PromptInputVariable" +_PIVL = "PromptInputVariablesList" +_CPT = "CachePointType" +_de = "default" +_CPB = "CachePointBlock" +_CB = "ContentBlock" +_cPa = "cachePoint" +_CBo = "ContentBlocks" +_CR = "ConversationRole" +_us = "user" +_ASSISTANT = "ASSISTANT" +_as = "assistant" +_M = "Message" +_ro = "role" +_cont = "content" +_Me = "Messages" +_NES = "NonEmptyString" +_SCB = "SystemContentBlock" +_SCBy = "SystemContentBlocks" +_ATC = "AnyToolChoice" +_ATCu = "AutoToolChoice" +_TN = "ToolName" +_STC = "SpecificToolChoice" +_TCo = "ToolChoice" +_au = "auto" +_an = "any" +_to = "tool" +_TIS = "ToolInputSchema" +_j = "json" +_TS = "ToolSpecification" +_iSn = "inputSchema" +_str = "strict" +_To = "Tool" +_tS = "toolSpec" +_Too = "Tools" +_TCoo = "ToolConfiguration" +_too = "tools" +_tC = "toolChoice" +_CPTC = "ChatPromptTemplateConfiguration" +_mes = "messages" +_sy = "system" +_iV = "inputVariables" +_tCo = "toolConfiguration" +_TPe = "TextPrompt" +_TPTC = "TextPromptTemplateConfiguration" +_PTC = "PromptTemplateConfiguration" +_ch = "chat" +_PTT = "PromptTemplateType" +_TEXT = "TEXT" +_CHAT = "CHAT" +_PFNIC = "PromptFlowNodeInlineConfiguration" +_tT = "templateType" +_tCe = "templateConfiguration" +_FPA = "FlowPromptArn" +_PFNRC = "PromptFlowNodeResourceConfiguration" +_pAr = "promptArn" +_PFNSC = "PromptFlowNodeSourceConfiguration" +_re = "resource" +_inl = "inline" +_PFNC = "PromptFlowNodeConfiguration" +_FSBN = "FlowS3BucketName" +_RFNSC = "RetrievalFlowNodeS3Configuration" +_bN = "bucketName" +_RFNSCe = "RetrievalFlowNodeServiceConfiguration" +_RFNC = "RetrievalFlowNodeConfiguration" +_sCe = "serviceConfiguration" +_SFNSC = "StorageFlowNodeS3Configuration" +_SFNSCt = "StorageFlowNodeServiceConfiguration" +_SFNC = "StorageFlowNodeConfiguration" +_FNIC = "FlowNodeInputCategory" +_LC = "LOOP_CONDITION" +_LCo = "LoopCondition" +_RVTLS = "RETURN_VALUE_TO_LOOP_START" +_RVTLSe = "ReturnValueToLoopStart" +_EL = "EXIT_LOOP" +_ELx = "ExitLoop" +_FNIE = "FlowNodeInputExpression" +_FNIODT = "FlowNodeIODataType" +_St = "String" +_Nu = "Number" +_B = "Boolean" +_OBJECT = "OBJECT" +_O = "Object" +_Ar = "Array" +_FNI = "FlowNodeInput" +_ca = "category" +_FNIl = "FlowNodeInputs" +_FNO = "FlowNodeOutput" +_FNOl = "FlowNodeOutputs" +_FNT = "FlowNodeType" +_INPUT = "INPUT" +_Inp = "Input" +_OUTPUT = "OUTPUT" +_Ou = "Output" +_KB = "KNOWLEDGE_BASE" +_KBn = "KnowledgeBase" +_CONDITION = "CONDITION" +_Co = "Condition" +_LEX = "LEX" +_L = "Lex" +_PROMPT = "PROMPT" +_Pr = "Prompt" +_LF = "LAMBDA_FUNCTION" +_LFa = "LambdaFunction" +_STORAGE = "STORAGE" +_Sto = "Storage" +_AGENT = "AGENT" +_RETRIEVAL = "RETRIEVAL" +_R = "Retrieval" +_ITERATOR = "ITERATOR" +_It = "Iterator" +_COLLECTOR = "COLLECTOR" +_Col = "Collector" +_IC_ = "INLINE_CODE" +_LOOP = "LOOP" +_Lo = "Loop" +_LI = "LOOP_INPUT" +_LIo = "LoopInput" +_LC_ = "LOOP_CONTROLLER" +_LCoo = "LoopController" +_FDl = "FlowDescription" +_FERA = "FlowExecutionRoleArn" +_FN = "FlowName" +_ID = "IncludedData" +_AD_ = "ALL_DATA" +_MO = "METADATA_ONLY" +_inp = "input" +_ou = "output" +_RP = "ResourcePolicy" +_sTm = "smithy.api#mediaType" +_ap = "application/json" +_kB = "knowledgeBase" +_FDlo = "FlowDefinition" +_nod = "nodes" +_conne = "connections" +_FNl = "FlowNode" +_inpu = "inputs" +_out = "outputs" +_FNC = "FlowNodeConfiguration" +_le = "lex" +_pro = "prompt" +_lF = "lambdaFunction" +_sto = "storage" +_ret = "retrieval" +_ite = "iterator" +_coll = "collector" +_iCnli = "inlineCode" +_lo = "loop" +_lIo = "loopInput" +_lCo = "loopController" +_FNlo = "FlowNodes" +_LFNCo = "LoopFlowNodeConfiguration" +_def = "definition" + +LIST_DATA_SOURCES_INPUT: StaticSchema = ( + 18, + n0, + _LDSI, + {_sSI: _cLDSR, _smit: None}, + (_kBI, _mR, _nT), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_DATA_SOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _LDSO, + {_sSI: _cLDSRo, _smith: None}, + (_dSS, _nT), + ((lambda: DATA_SOURCE_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_DATA_SOURCES: StaticOperationSchema = ( + 23, + n0, + _LDS, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/", + } + ) + }, + LIST_DATA_SOURCES_INPUT, + LIST_DATA_SOURCES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_SOURCE_SUMMARY: StaticSchema = ( + 18, + n0, + _DSSa, + 0, + (_kBI, _dSI, _na, _sta, _d, _uA), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.ID, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.DATA_SOURCE_STATUS, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +DATA_SOURCE_SUMMARIES: StaticSchema = ( + 16, + n0, + _DSSat, + 0, + (_me,), + ((DATA_SOURCE_SUMMARY, 0),), +) + +UPDATE_DATA_SOURCE_INPUT: StaticSchema = ( + 18, + n0, + _UDSI, + {_sSI: _cUDSR, _smit: None}, + (_kBI, _dSI, _na, _d, _dSC, _dDP, _sSEC, _vIC), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.ID, 9), + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.DATA_SOURCE_CONFIGURATION, 1), + (lambda: schemas.DATA_DELETION_POLICY, 0), + (lambda: schemas.SERVER_SIDE_ENCRYPTION_CONFIGURATION, 0), + (lambda: schemas.VECTOR_INGESTION_CONFIGURATION, 0), + ), +) + +UPDATE_DATA_SOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _UDSO, + {_sSI: _cUDSRo, _smith: None}, + (_dS,), + ((lambda: schemas.DATA_SOURCE, 1),), +) + +UPDATE_DATA_SOURCE: StaticOperationSchema = ( + 23, + n0, + _UDS, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + } + ) + }, + UPDATE_DATA_SOURCE_INPUT, + UPDATE_DATA_SOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REVISION_ID: StaticSchema = (3, n0, _RIe, 0) + +RESOURCE_ARN: StaticSchema = (3, n0, _RAes, 0) + +DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_sSI: _cDRPR, _smit: None}, + (_rAe, _eRI), + ((RESOURCE_ARN, 9), (REVISION_ID, {_sQ: _eRI})), +) + +DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DRPO, + {_sSI: _cDRPRo, _smith: None}, + (_rAe, _rI), + ((RESOURCE_ARN, 1), (REVISION_ID, 0)), +) + +DELETE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/resourcepolicy/{resourceArn}"} + ) + }, + DELETE_RESOURCE_POLICY_INPUT, + DELETE_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_VPC_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DVCI, + {_sSI: _cDVCR, _smit: None}, + (_kBI, _vCI), + ((lambda: schemas.ID, 9), (lambda: schemas.VPC_CONFIGURATION_ID, 9)), +) + +DELETE_VPC_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCO, + {_sSI: _cDVCRo, _smith: None}, + (_vCI, _sta), + ( + (lambda: schemas.VPC_CONFIGURATION_ID, 1), + (lambda: schemas.VPC_CONFIGURATION_STATUS, 1), + ), +) + +DELETE_VPC_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DVC, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", + } + ) + }, + DELETE_VPC_CONFIGURATION_INPUT, + DELETE_VPC_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_CONDITION_NAME: StaticSchema = (3, n0, _FCN, 0) + +FLOW_CONDITIONAL_CONNECTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FCCC, + 0, + (_co,), + ((FLOW_CONDITION_NAME, 1),), +) + +FLOW_NODE_OUTPUT_NAME: StaticSchema = (3, n0, _FNON, 0) + +FLOW_NODE_INPUT_NAME: StaticSchema = (3, n0, _FNIN, 0) + +FLOW_DATA_CONNECTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FDCC, + 0, + (_sO, _tIa), + ((FLOW_NODE_OUTPUT_NAME, 1), (FLOW_NODE_INPUT_NAME, 1)), +) + +FLOW_CONNECTION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _FCC, + 0, + (_dat, _con), + ( + (FLOW_DATA_CONNECTION_CONFIGURATION, 0), + (FLOW_CONDITIONAL_CONNECTION_CONFIGURATION, 0), + ), +) + +FLOW_CONNECTION_NAME: StaticSchema = (3, n0, _FCNl, 0) + +FLOW_NODE_NAME: StaticSchema = (3, n0, _FNN, 0) + +FLOW_CONNECTION_TYPE: StaticSchema = ( + 14, + n0, + _FCT, + 0, + (_DATA, _CONDITIONAL), + ((-1, {_sV: _Da}), (-1, {_sV: _C})), +) + +FLOW_CONNECTION: StaticSchema = ( + 18, + n0, + _FC, + 0, + (_t, _na, _so, _tar, _conf), + ( + (FLOW_CONNECTION_TYPE, 1), + (FLOW_CONNECTION_NAME, 1), + (FLOW_NODE_NAME, 1), + (FLOW_NODE_NAME, 1), + (FLOW_CONNECTION_CONFIGURATION, 0), + ), +) + +FLOW_CONNECTIONS: StaticSchema = (16, n0, _FCl, 0, (_me,), ((FLOW_CONNECTION, 0),)) + +COLLECTOR_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _CFNC, 0) + +FLOW_CONDITION_EXPRESSION: StaticSchema = (3, n0, _FCE, 4) + +FLOW_CONDITION: StaticSchema = ( + 18, + n0, + _FClo, + 0, + (_na, _ex), + ((FLOW_CONDITION_NAME, 1), (FLOW_CONDITION_EXPRESSION, 0)), +) + +FLOW_CONDITIONS: StaticSchema = (16, n0, _FClow, 0, (_me,), ((FLOW_CONDITION, 0),)) + +CONDITION_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CFNCo, + 0, + (_cond,), + ((FLOW_CONDITIONS, 1),), +) + +INLINE_CODE: StaticSchema = (3, n0, _ICn, 4) + +SUPPORTED_LANGUAGES: StaticSchema = (14, n0, _SLu, 0, (_P_,), ((-1, {_sV: _P__}),)) + +INLINE_CODE_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ICFNC, + 0, + (_cod, _la), + ( + (INLINE_CODE, {_smithya: _v_, _smi: None}), + (SUPPORTED_LANGUAGES, {_smithya: _P__, _smi: None}), + ), +) + +INPUT_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _IFNC, 0) + +ITERATOR_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _IFNCt, 0) + +PROMPT_MODEL_INFERENCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PMIC, + 0, + (_te, _tP, _mT, _sS), + ( + (lambda: schemas.TEMPERATURE, 0), + (lambda: schemas.TOP_P, 0), + (lambda: schemas.MAXIMUM_LENGTH, 0), + (lambda: schemas.STOP_SEQUENCES, 0), + ), +) + +PROMPT_INFERENCE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _PIC, + 0, + (_tex,), + ((PROMPT_MODEL_INFERENCE_CONFIGURATION, 0),), +) + +FLOW_KNOWLEDGE_BASE_ID: StaticSchema = (3, n0, _FKBI, 0) + +KNOWLEDGE_BASE_MODEL_IDENTIFIER: StaticSchema = (3, n0, _KBMI, 0) + +PERFORMANCE_CONFIG_LATENCY: StaticSchema = ( + 14, + n0, + _PCL, + 0, + (_STANDARD, _OPTIMIZED), + ((-1, {_sV: _stan}), (-1, {_sV: _o})), +) + +PERFORMANCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCe, + 0, + (_lat,), + ((PERFORMANCE_CONFIG_LATENCY, {_smithya: _stan}),), +) + +KNOWLEDGE_BASE_TEXT_PROMPT: StaticSchema = (3, n0, _KBTP, 4) + +KNOWLEDGE_BASE_PROMPT_TEMPLATE: StaticSchema = ( + 18, + n0, + _KBPT, + 0, + (_tPT,), + ((KNOWLEDGE_BASE_TEXT_PROMPT, 0),), +) + +KNOWLEDGE_BASE_ORCHESTRATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBOC, + 0, + (_pTro, _iCn, _aMRF, _pCe), + ( + (KNOWLEDGE_BASE_PROMPT_TEMPLATE, 0), + (PROMPT_INFERENCE_CONFIGURATION, 0), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + (PERFORMANCE_CONFIGURATION, 0), + ), +) + +RERANKING_METADATA_SELECTION_MODE: StaticSchema = ( + 14, + n0, + _RMSM, + 0, + (_SELECTIVE, _ALL), + ((-1, {_sV: _SELECTIVE}), (-1, {_sV: _ALL})), +) + +FIELD_FOR_RERANKING: StaticSchema = (18, n0, _FFR, 0, (_fN,), ((3, 1),)) + +FIELDS_FOR_RERANKING: StaticSchema = ( + 16, + n0, + _FFRi, + 4, + (_me,), + ((FIELD_FOR_RERANKING, 0),), +) + +RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _RMSMC, + 0, + (_fTI, _fTE), + ((FIELDS_FOR_RERANKING, 0), (FIELDS_FOR_RERANKING, 0)), +) + +METADATA_CONFIGURATION_FOR_RERANKING: StaticSchema = ( + 18, + n0, + _MCFR, + 0, + (_sM, _sMC), + ( + (RERANKING_METADATA_SELECTION_MODE, 1), + (RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION, 0), + ), +) + +BEDROCK_RERANKING_MODEL_ARN: StaticSchema = (3, n0, _BRMA, 0) + +VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSBRMC, + 0, + (_mA, _aMRF), + ( + (BEDROCK_RERANKING_MODEL_ARN, 1), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + ), +) + +VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSBRC, + 0, + (_mCo, _nORR, _mCe), + ( + (VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1), + (7, 0), + (METADATA_CONFIGURATION_FOR_RERANKING, 0), + ), +) + +VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _VSRCT, + 0, + (_BRM,), + ((-1, {_sV: _BRM}),), +) + +VECTOR_SEARCH_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSRC, + 0, + (_t, _bRC), + ( + (VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE, 1), + (VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION, 0), + ), +) + +KNOWLEDGE_BASE_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBFNC, + 0, + (_kBI, _mI, _gC, _nOR, _pTro, _iC, _rCe, _oC), + ( + (FLOW_KNOWLEDGE_BASE_ID, {_smithya: _v_, _smi: None}), + (KNOWLEDGE_BASE_MODEL_IDENTIFIER, 0), + (lambda: schemas.GUARDRAIL_CONFIGURATION, 0), + (7, 0), + (KNOWLEDGE_BASE_PROMPT_TEMPLATE, 0), + (PROMPT_INFERENCE_CONFIGURATION, 0), + (VECTOR_SEARCH_RERANKING_CONFIGURATION, 0), + (KNOWLEDGE_BASE_ORCHESTRATION_CONFIGURATION, 0), + ), +) + +FLOW_LAMBDA_ARN: StaticSchema = (3, n0, _FLA, 0) + +LAMBDA_FUNCTION_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LFFNC, + 0, + (_lA,), + ((FLOW_LAMBDA_ARN, {_smithya: _v_, _smi: None}),), +) + +FLOW_LEX_BOT_ALIAS_ARN: StaticSchema = (3, n0, _FLBAA, 0) + +FLOW_LEX_BOT_LOCALE_ID: StaticSchema = (3, n0, _FLBLI, 0) + +LEX_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LFNC, + 0, + (_bAA, _lI), + ( + (FLOW_LEX_BOT_ALIAS_ARN, {_smithya: _v_, _smi: None}), + (FLOW_LEX_BOT_LOCALE_ID, {_smithya: _v_, _smi: None}), + ), +) + +LOOP_CONTROLLER_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LCFNC, + 0, + (_cCon, _mIa), + ((FLOW_CONDITION, 1), (7, {_smithya: 10})), +) + +LOOP_INPUT_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _LIFNC, 0) + +OUTPUT_FLOW_NODE_CONFIGURATION: StaticSchema = (18, n0, _OFNC, 0) + +FLOW_PROMPT_MODEL_IDENTIFIER: StaticSchema = (3, n0, _FPMI, 0) + +PROMPT_INPUT_VARIABLE_NAME: StaticSchema = (3, n0, _PIVN, 0) + +PROMPT_INPUT_VARIABLE: StaticSchema = ( + 18, + n0, + _PIV, + 0, + (_na,), + ((PROMPT_INPUT_VARIABLE_NAME, 0),), +) + +PROMPT_INPUT_VARIABLES_LIST: StaticSchema = ( + 16, + n0, + _PIVL, + 4, + (_me,), + ((PROMPT_INPUT_VARIABLE, 0),), +) + +CACHE_POINT_TYPE: StaticSchema = (14, n0, _CPT, 0, (_DEFAULT,), ((-1, {_sV: _de}),)) + +CACHE_POINT_BLOCK: StaticSchema = (18, n0, _CPB, 0, (_t,), ((CACHE_POINT_TYPE, 1),)) + +CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _CB, + 4, + (_tex, _cPa), + ((3, 0), (CACHE_POINT_BLOCK, 0)), +) + +CONTENT_BLOCKS: StaticSchema = (16, n0, _CBo, 0, (_me,), ((CONTENT_BLOCK, 0),)) + +CONVERSATION_ROLE: StaticSchema = ( + 14, + n0, + _CR, + 0, + (_USER, _ASSISTANT), + ((-1, {_sV: _us}), (-1, {_sV: _as})), +) + +MESSAGE: StaticSchema = ( + 18, + n0, + _M, + 0, + (_ro, _cont), + ((CONVERSATION_ROLE, 1), (CONTENT_BLOCKS, 1)), +) + +MESSAGES: StaticSchema = (16, n0, _Me, 0, (_me,), ((MESSAGE, 0),)) + +NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) + +SYSTEM_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _SCB, + 4, + (_tex, _cPa), + ((NON_EMPTY_STRING, 0), (CACHE_POINT_BLOCK, 0)), +) + +SYSTEM_CONTENT_BLOCKS: StaticSchema = ( + 16, + n0, + _SCBy, + 0, + (_me,), + ((SYSTEM_CONTENT_BLOCK, 0),), +) + +ANY_TOOL_CHOICE: StaticSchema = (18, n0, _ATC, 0) + +AUTO_TOOL_CHOICE: StaticSchema = (18, n0, _ATCu, 0) + +TOOL_NAME: StaticSchema = (3, n0, _TN, 0) + +SPECIFIC_TOOL_CHOICE: StaticSchema = (18, n0, _STC, 0, (_na,), ((TOOL_NAME, 1),)) + +TOOL_CHOICE: StaticSchema = ( + 19, + n0, + _TCo, + 4, + (_au, _an, _to), + ((AUTO_TOOL_CHOICE, 0), (ANY_TOOL_CHOICE, 0), (SPECIFIC_TOOL_CHOICE, 0)), +) + +TOOL_INPUT_SCHEMA: StaticSchema = (19, n0, _TIS, 0, (_j,), ((13, 0),)) + +TOOL_SPECIFICATION: StaticSchema = ( + 18, + n0, + _TS, + 0, + (_na, _d, _iSn, _str), + ((TOOL_NAME, 1), (NON_EMPTY_STRING, 0), (TOOL_INPUT_SCHEMA, 1), (2, 0)), +) + +TOOL: StaticSchema = ( + 19, + n0, + _To, + 0, + (_tS, _cPa), + ((TOOL_SPECIFICATION, 0), (CACHE_POINT_BLOCK, 0)), +) + +TOOLS: StaticSchema = (16, n0, _Too, 4, (_me,), ((TOOL, 0),)) + +TOOL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TCoo, + 0, + (_too, _tC), + ((TOOLS, 1), (TOOL_CHOICE, 0)), +) + +CHAT_PROMPT_TEMPLATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CPTC, + 4, + (_mes, _sy, _iV, _tCo), + ( + (MESSAGES, 1), + (SYSTEM_CONTENT_BLOCKS, 0), + (PROMPT_INPUT_VARIABLES_LIST, 0), + (TOOL_CONFIGURATION, 0), + ), +) + +TEXT_PROMPT: StaticSchema = (3, n0, _TPe, 4) + +TEXT_PROMPT_TEMPLATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TPTC, + 4, + (_tex, _cPa, _iV), + ((TEXT_PROMPT, 1), (CACHE_POINT_BLOCK, 0), (PROMPT_INPUT_VARIABLES_LIST, 0)), +) + +PROMPT_TEMPLATE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _PTC, + 0, + (_tex, _ch), + ((TEXT_PROMPT_TEMPLATE_CONFIGURATION, 0), (CHAT_PROMPT_TEMPLATE_CONFIGURATION, 0)), +) + +PROMPT_TEMPLATE_TYPE: StaticSchema = ( + 14, + n0, + _PTT, + 0, + (_TEXT, _CHAT), + ((-1, {_sV: _TEXT}), (-1, {_sV: _CHAT})), +) + +PROMPT_FLOW_NODE_INLINE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PFNIC, + 0, + (_tT, _tCe, _mI, _iC, _aMRF), + ( + (PROMPT_TEMPLATE_TYPE, {_smithya: _TEXT, _smi: None}), + (PROMPT_TEMPLATE_CONFIGURATION, 1), + (FLOW_PROMPT_MODEL_IDENTIFIER, {_smithya: _v_, _smi: None}), + (PROMPT_INFERENCE_CONFIGURATION, 0), + (13, 0), + ), +) + +FLOW_PROMPT_ARN: StaticSchema = (3, n0, _FPA, 0) + +PROMPT_FLOW_NODE_RESOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PFNRC, + 0, + (_pAr,), + ((FLOW_PROMPT_ARN, {_smithya: _v_, _smi: None}),), +) + +PROMPT_FLOW_NODE_SOURCE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _PFNSC, + 0, + (_re, _inl), + ( + (PROMPT_FLOW_NODE_RESOURCE_CONFIGURATION, 0), + (PROMPT_FLOW_NODE_INLINE_CONFIGURATION, 0), + ), +) + +PROMPT_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PFNC, + 0, + (_sC, _gC), + ( + (PROMPT_FLOW_NODE_SOURCE_CONFIGURATION, 1), + (lambda: schemas.GUARDRAIL_CONFIGURATION, 0), + ), +) + +FLOW_S3_BUCKET_NAME: StaticSchema = (3, n0, _FSBN, 0) + +RETRIEVAL_FLOW_NODE_S3_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RFNSC, + 0, + (_bN,), + ((FLOW_S3_BUCKET_NAME, {_smithya: _v_, _smi: None}),), +) + +RETRIEVAL_FLOW_NODE_SERVICE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _RFNSCe, + 0, + (_s_,), + ((RETRIEVAL_FLOW_NODE_S3_CONFIGURATION, 0),), +) + +RETRIEVAL_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RFNC, + 0, + (_sCe,), + ((RETRIEVAL_FLOW_NODE_SERVICE_CONFIGURATION, 1),), +) + +STORAGE_FLOW_NODE_S3_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SFNSC, + 0, + (_bN,), + ((FLOW_S3_BUCKET_NAME, {_smithya: _v_, _smi: None}),), +) + +STORAGE_FLOW_NODE_SERVICE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _SFNSCt, + 0, + (_s_,), + ((STORAGE_FLOW_NODE_S3_CONFIGURATION, 0),), +) + +STORAGE_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SFNC, + 0, + (_sCe,), + ((STORAGE_FLOW_NODE_SERVICE_CONFIGURATION, 1),), +) + +FLOW_NODE_INPUT_CATEGORY: StaticSchema = ( + 14, + n0, + _FNIC, + 0, + (_LC, _RVTLS, _EL), + ((-1, {_sV: _LCo}), (-1, {_sV: _RVTLSe}), (-1, {_sV: _ELx})), +) + +FLOW_NODE_INPUT_EXPRESSION: StaticSchema = (3, n0, _FNIE, 4) + +FLOW_NODE_IO_DATA_TYPE: StaticSchema = ( + 14, + n0, + _FNIODT, + 0, + (_STRING, _NUMBER, _BOOLEAN, _OBJECT, _ARRAY), + ( + (-1, {_sV: _St}), + (-1, {_sV: _Nu}), + (-1, {_sV: _B}), + (-1, {_sV: _O}), + (-1, {_sV: _Ar}), + ), +) + +FLOW_NODE_INPUT: StaticSchema = ( + 18, + n0, + _FNI, + 0, + (_na, _t, _ex, _ca), + ( + (FLOW_NODE_INPUT_NAME, 1), + (FLOW_NODE_IO_DATA_TYPE, 1), + (FLOW_NODE_INPUT_EXPRESSION, 1), + (FLOW_NODE_INPUT_CATEGORY, 0), + ), +) + +FLOW_NODE_INPUTS: StaticSchema = (16, n0, _FNIl, 0, (_me,), ((FLOW_NODE_INPUT, 0),)) + +FLOW_NODE_OUTPUT: StaticSchema = ( + 18, + n0, + _FNO, + 0, + (_na, _t), + ((FLOW_NODE_OUTPUT_NAME, 1), (FLOW_NODE_IO_DATA_TYPE, 1)), +) + +FLOW_NODE_OUTPUTS: StaticSchema = (16, n0, _FNOl, 0, (_me,), ((FLOW_NODE_OUTPUT, 0),)) + +FLOW_NODE_TYPE: StaticSchema = ( + 14, + n0, + _FNT, + 0, + ( + _INPUT, + _OUTPUT, + _KB, + _CONDITION, + _LEX, + _PROMPT, + _LF, + _STORAGE, + _AGENT, + _RETRIEVAL, + _ITERATOR, + _COLLECTOR, + _IC_, + _LOOP, + _LI, + _LC_, + ), + ( + (-1, {_sV: _Inp}), + (-1, {_sV: _Ou}), + (-1, {_sV: _KBn}), + (-1, {_sV: _Co}), + (-1, {_sV: _L}), + (-1, {_sV: _Pr}), + (-1, {_sV: _LFa}), + (-1, {_sV: _Sto}), + (-1, {_sV: _A}), + (-1, {_sV: _R}), + (-1, {_sV: _It}), + (-1, {_sV: _Col}), + (-1, {_sV: _ICn}), + (-1, {_sV: _Lo}), + (-1, {_sV: _LIo}), + (-1, {_sV: _LCoo}), + ), +) + +FLOW_DESCRIPTION: StaticSchema = (3, n0, _FDl, 0) + +FLOW_EXECUTION_ROLE_ARN: StaticSchema = (3, n0, _FERA, 0) + +FLOW_NAME: StaticSchema = (3, n0, _FN, 0) + +INCLUDED_DATA: StaticSchema = ( + 14, + n0, + _ID, + 0, + (_AD_, _MO), + ((-1, {_sV: _AD_}), (-1, {_sV: _MO})), +) + +RESOURCE_POLICY: StaticSchema = (3, n0, _RP, {_sTm: _ap}) + +FLOW_DEFINITION: StaticSchema = ( + 18, + n0, + _FDlo, + 4, + (_nod, _conne), + ((lambda: FLOW_NODES, 0), (FLOW_CONNECTIONS, 0)), +) + +FLOW_NODE: StaticSchema = ( + 18, + n0, + _FNl, + 0, + (_na, _t, _conf, _inpu, _out), + ( + (FLOW_NODE_NAME, 1), + (FLOW_NODE_TYPE, 1), + (lambda: FLOW_NODE_CONFIGURATION, 0), + (FLOW_NODE_INPUTS, 0), + (FLOW_NODE_OUTPUTS, 0), + ), +) + +FLOW_NODE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _FNC, + 0, + ( + _inp, + _ou, + _kB, + _co, + _le, + _pro, + _lF, + _sto, + _ag, + _ret, + _ite, + _coll, + _iCnli, + _lo, + _lIo, + _lCo, + ), + ( + (INPUT_FLOW_NODE_CONFIGURATION, 0), + (OUTPUT_FLOW_NODE_CONFIGURATION, 0), + (KNOWLEDGE_BASE_FLOW_NODE_CONFIGURATION, 0), + (CONDITION_FLOW_NODE_CONFIGURATION, 0), + (LEX_FLOW_NODE_CONFIGURATION, 0), + (PROMPT_FLOW_NODE_CONFIGURATION, 0), + (LAMBDA_FUNCTION_FLOW_NODE_CONFIGURATION, 0), + (STORAGE_FLOW_NODE_CONFIGURATION, 0), + (lambda: schemas.AGENT_FLOW_NODE_CONFIGURATION, 0), + (RETRIEVAL_FLOW_NODE_CONFIGURATION, 0), + (ITERATOR_FLOW_NODE_CONFIGURATION, 0), + (COLLECTOR_FLOW_NODE_CONFIGURATION, 0), + (INLINE_CODE_FLOW_NODE_CONFIGURATION, 0), + (lambda: LOOP_FLOW_NODE_CONFIGURATION, 0), + (LOOP_INPUT_FLOW_NODE_CONFIGURATION, 0), + (LOOP_CONTROLLER_FLOW_NODE_CONFIGURATION, 0), + ), +) + +FLOW_NODES: StaticSchema = (16, n0, _FNlo, 0, (_me,), ((FLOW_NODE, 0),)) + +LOOP_FLOW_NODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LFNCo, + 0, + (_def,), + ((FLOW_DEFINITION, 1),), +) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_4.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_4.py new file mode 100644 index 000000000..eb6c997f8 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_4.py @@ -0,0 +1,1265 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagent" +_sV = "smithy.api#enumValue" +_d = "description" +_t = "type" +_smi = "smithy.api#required" +_na = "name" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_cA = "createdAt" +_uA = "updatedAt" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sRIUC = "skipResourceInUseCheck" +_smithya = "smithy.api#default" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_PREPARING = "PREPARING" +_PREPARED = "PREPARED" +_NP = "NOT_PREPARED" +_FAILED = "FAILED" +_cEKA = "customerEncryptionKeyArn" +_rCo = "routingConfiguration" +_ta = "tags" +_ve = "version" +_sta = "status" +_co = "condition" +_so = "source" +_tar = "target" +_ex = "expression" +_INPUT = "INPUT" +_Inp = "Input" +_CONDITION = "CONDITION" +_Co = "Condition" +_ITERATOR = "ITERATOR" +_It = "Iterator" +_COLLECTOR = "COLLECTOR" +_Col = "Collector" +_FI = "FlowId" +_FSl = "FlowStatus" +_Fa = "Failed" +_Pre = "Prepared" +_Prep = "Preparing" +_NPo = "NotPrepared" +_FIl = "FlowIdentifier" +_DFI = "DeleteFlowInput" +_cDFR = "com.amazonaws.bedrockagent#DeleteFlowRequest" +_fI = "flowIdentifier" +_DFO = "DeleteFlowOutput" +_cDFRo = "com.amazonaws.bedrockagent#DeleteFlowResponse" +_id = "id" +_DFe = "DeleteFlow" +_CTo = "ConcurrencyType" +_AUTOMATIC = "AUTOMATIC" +_Au = "Automatic" +_MANUAL = "MANUAL" +_Ma = "Manual" +_FACC = "FlowAliasConcurrencyConfiguration" +_mCa = "maxConcurrency" +_FARCLI = "FlowAliasRoutingConfigurationListItem" +_fV = "flowVersion" +_FARC = "FlowAliasRoutingConfiguration" +_CFAI = "CreateFlowAliasInput" +_cCFAR = "com.amazonaws.bedrockagent#CreateFlowAliasRequest" +_cConc = "concurrencyConfiguration" +_FAA = "FlowAliasArn" +_FAI = "FlowAliasId" +_CFAO = "CreateFlowAliasOutput" +_cCFARo = "com.amazonaws.bedrockagent#CreateFlowAliasResponse" +_fIl = "flowId" +_ar = "arn" +_CFA = "CreateFlowAlias" +_FAIl = "FlowAliasIdentifier" +_DFAI = "DeleteFlowAliasInput" +_cDFAR = "com.amazonaws.bedrockagent#DeleteFlowAliasRequest" +_aIl = "aliasIdentifier" +_DFAO = "DeleteFlowAliasOutput" +_cDFARo = "com.amazonaws.bedrockagent#DeleteFlowAliasResponse" +_DFA = "DeleteFlowAlias" +_GFAI = "GetFlowAliasInput" +_cGFAR = "com.amazonaws.bedrockagent#GetFlowAliasRequest" +_GFAO = "GetFlowAliasOutput" +_cGFARo = "com.amazonaws.bedrockagent#GetFlowAliasResponse" +_GFA = "GetFlowAlias" +_LFAI = "ListFlowAliasesInput" +_cLFAR = "com.amazonaws.bedrockagent#ListFlowAliasesRequest" +_FAS = "FlowAliasSummary" +_FASl = "FlowAliasSummaries" +_LFAO = "ListFlowAliasesOutput" +_cLFARo = "com.amazonaws.bedrockagent#ListFlowAliasesResponse" +_fAS = "flowAliasSummaries" +_LFA = "ListFlowAliases" +_UFAI = "UpdateFlowAliasInput" +_cUFAR = "com.amazonaws.bedrockagent#UpdateFlowAliasRequest" +_UFAO = "UpdateFlowAliasOutput" +_cUFARo = "com.amazonaws.bedrockagent#UpdateFlowAliasResponse" +_UFA = "UpdateFlowAlias" +_CFVI = "CreateFlowVersionInput" +_cCFVR = "com.amazonaws.bedrockagent#CreateFlowVersionRequest" +_DFVI = "DeleteFlowVersionInput" +_cDFVR = "com.amazonaws.bedrockagent#DeleteFlowVersionRequest" +_DFVO = "DeleteFlowVersionOutput" +_cDFVRo = "com.amazonaws.bedrockagent#DeleteFlowVersionResponse" +_DFV = "DeleteFlowVersion" +_GFVI = "GetFlowVersionInput" +_cGFVR = "com.amazonaws.bedrockagent#GetFlowVersionRequest" +_iD = "includedData" +_LFVI = "ListFlowVersionsInput" +_cLFVR = "com.amazonaws.bedrockagent#ListFlowVersionsRequest" +_FVS = "FlowVersionSummary" +_FVSl = "FlowVersionSummaries" +_LFVO = "ListFlowVersionsOutput" +_cLFVRo = "com.amazonaws.bedrockagent#ListFlowVersionsResponse" +_fVS = "flowVersionSummaries" +_LFV = "ListFlowVersions" +_GFI = "GetFlowInput" +_cGFR = "com.amazonaws.bedrockagent#GetFlowRequest" +_CCFVD = "CyclicConnectionFlowValidationDetails" +_conn = "connection" +_DCEFVD = "DuplicateConditionExpressionFlowValidationDetails" +_no = "node" +_DCFVD = "DuplicateConnectionsFlowValidationDetails" +_ICDTFVD = "IncompatibleConnectionDataTypeFlowValidationDetails" +_ILBFVD = "InvalidLoopBoundaryFlowValidationDetails" +_ILNT = "IncompatibleLoopNodeType" +_LINTFVD = "LoopIncompatibleNodeTypeFlowValidationDetails" +_iNT = "incompatibleNodeType" +_iNN = "incompatibleNodeName" +_EM = "ErrorMessage" +_MCEFVD = "MalformedConditionExpressionFlowValidationDetails" +_cau = "cause" +_MNIEFVD = "MalformedNodeInputExpressionFlowValidationDetails" +_inp = "input" +_MNITFVD = "MismatchedNodeInputTypeFlowValidationDetails" +_eT = "expectedType" +_MNOTFVD = "MismatchedNodeOutputTypeFlowValidationDetails" +_ou = "output" +_MCCFVD = "MissingConnectionConfigurationFlowValidationDetails" +_MDCFVD = "MissingDefaultConditionFlowValidationDetails" +_MENFVD = "MissingEndingNodesFlowValidationDetails" +_MLCNFVD = "MissingLoopControllerNodeFlowValidationDetails" +_lN = "loopNode" +_MLINFVD = "MissingLoopInputNodeFlowValidationDetails" +_MNCFVD = "MissingNodeConfigurationFlowValidationDetails" +_MNIFVD = "MissingNodeInputFlowValidationDetails" +_MNOFVD = "MissingNodeOutputFlowValidationDetails" +_MSNFVD = "MissingStartingNodesFlowValidationDetails" +_MLCNFVDu = "MultipleLoopControllerNodesFlowValidationDetails" +_MLINFVDu = "MultipleLoopInputNodesFlowValidationDetails" +_MNICFVD = "MultipleNodeInputConnectionsFlowValidationDetails" +_UNIFVD = "UnfulfilledNodeInputFlowValidationDetails" +_UCCFVD = "UnknownConnectionConditionFlowValidationDetails" +_UCSFVD = "UnknownConnectionSourceFlowValidationDetails" +_UCSOFVD = "UnknownConnectionSourceOutputFlowValidationDetails" +_UCTFVD = "UnknownConnectionTargetFlowValidationDetails" +_UCTIFVD = "UnknownConnectionTargetInputFlowValidationDetails" +_UNIFVDn = "UnknownNodeInputFlowValidationDetails" +_UNOFVD = "UnknownNodeOutputFlowValidationDetails" +_UNFVD = "UnreachableNodeFlowValidationDetails" +_UCCFVDn = "UnsatisfiedConnectionConditionsFlowValidationDetails" +_UFVD = "UnspecifiedFlowValidationDetails" +_FVD = "FlowValidationDetails" +_cCy = "cyclicConnection" +_dC = "duplicateConnections" +_dCE = "duplicateConditionExpression" +_uN = "unreachableNode" +_uCS = "unknownConnectionSource" +_uCSO = "unknownConnectionSourceOutput" +_uCT = "unknownConnectionTarget" +_uCTI = "unknownConnectionTargetInput" +_uCC = "unknownConnectionCondition" +_mCE = "malformedConditionExpression" +_mNIE = "malformedNodeInputExpression" +_mNIT = "mismatchedNodeInputType" +_mNOT = "mismatchedNodeOutputType" +_iCDT = "incompatibleConnectionDataType" +_mCC = "missingConnectionConfiguration" +_mDC = "missingDefaultCondition" +_mEN = "missingEndingNodes" +_mNC = "missingNodeConfiguration" +_mNI = "missingNodeInput" +_mNO = "missingNodeOutput" +_mSN = "missingStartingNodes" +_mNIC = "multipleNodeInputConnections" +_uNI = "unfulfilledNodeInput" +_uCCn = "unsatisfiedConnectionConditions" +_un = "unspecified" +_uNIn = "unknownNodeInput" +_uNO = "unknownNodeOutput" +_mLIN = "missingLoopInputNode" +_mLCN = "missingLoopControllerNode" +_mLINu = "multipleLoopInputNodes" +_mLCNu = "multipleLoopControllerNodes" +_lINT = "loopIncompatibleNodeType" +_iLB = "invalidLoopBoundary" +_val = "validations" +_def = "definition" +_eRA = "executionRoleArn" +_CFVO = "CreateFlowVersionOutput" +_cCFVRo = "com.amazonaws.bedrockagent#CreateFlowVersionResponse" +_GFO = "GetFlowOutput" +_cGFRo = "com.amazonaws.bedrockagent#GetFlowResponse" +_GFVO = "GetFlowVersionOutput" +_cGFVRo = "com.amazonaws.bedrockagent#GetFlowVersionResponse" +_CFV = "CreateFlowVersion" +_GF = "GetFlow" +_GFV = "GetFlowVersion" + +FLOW_ID: StaticSchema = (3, n0, _FI, 0) + +FLOW_STATUS: StaticSchema = ( + 14, + n0, + _FSl, + 0, + (_FAILED, _PREPARED, _PREPARING, _NP), + ((-1, {_sV: _Fa}), (-1, {_sV: _Pre}), (-1, {_sV: _Prep}), (-1, {_sV: _NPo})), +) + +FLOW_IDENTIFIER: StaticSchema = (3, n0, _FIl, 0) + +DELETE_FLOW_INPUT: StaticSchema = ( + 18, + n0, + _DFI, + {_sSI: _cDFR, _smit: None}, + (_fI, _sRIUC), + ((FLOW_IDENTIFIER, 9), (2, {_smithya: False, _sQ: _sRIUC})), +) + +DELETE_FLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _DFO, + {_sSI: _cDFRo, _smith: None}, + (_id,), + ((FLOW_ID, 1),), +) + +DELETE_FLOW: StaticOperationSchema = ( + 23, + n0, + _DFe, + { + _smithy: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/flows/{flowIdentifier}/"} + ) + }, + DELETE_FLOW_INPUT, + DELETE_FLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONCURRENCY_TYPE: StaticSchema = ( + 14, + n0, + _CTo, + 0, + (_AUTOMATIC, _MANUAL), + ((-1, {_sV: _Au}), (-1, {_sV: _Ma})), +) + +FLOW_ALIAS_CONCURRENCY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FACC, + 0, + (_t, _mCa), + ((CONCURRENCY_TYPE, 1), (7, 0)), +) + +FLOW_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM: StaticSchema = ( + 18, + n0, + _FARCLI, + 0, + (_fV,), + ((lambda: schemas.VERSION, 0),), +) + +FLOW_ALIAS_ROUTING_CONFIGURATION: StaticSchema = ( + 16, + n0, + _FARC, + 0, + (_me,), + ((FLOW_ALIAS_ROUTING_CONFIGURATION_LIST_ITEM, 0),), +) + +CREATE_FLOW_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _CFAI, + {_sSI: _cCFAR, _smit: None}, + (_na, _d, _rCo, _cConc, _fI, _cT, _ta), + ( + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), + (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), + (FLOW_IDENTIFIER, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_FLOW_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _CFAO, + {_sSI: _cCFARo, _smith: None}, + (_na, _d, _rCo, _cConc, _fIl, _id, _ar, _cA, _uA), + ( + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), + (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), + (FLOW_ID, 1), + (lambda: FLOW_ALIAS_ID, 1), + (lambda: FLOW_ALIAS_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +CREATE_FLOW_ALIAS: StaticOperationSchema = ( + 23, + n0, + _CFA, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/flows/{flowIdentifier}/aliases"} + ) + }, + CREATE_FLOW_ALIAS_INPUT, + CREATE_FLOW_ALIAS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_ALIAS_ARN: StaticSchema = (3, n0, _FAA, 0) + +FLOW_ALIAS_ID: StaticSchema = (3, n0, _FAI, 0) + +FLOW_ALIAS_IDENTIFIER: StaticSchema = (3, n0, _FAIl, 0) + +DELETE_FLOW_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _DFAI, + {_sSI: _cDFAR, _smit: None}, + (_fI, _aIl), + ((FLOW_IDENTIFIER, 9), (FLOW_ALIAS_IDENTIFIER, 9)), +) + +DELETE_FLOW_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _DFAO, + {_sSI: _cDFARo, _smith: None}, + (_fIl, _id), + ((FLOW_ID, 1), (FLOW_ALIAS_ID, 1)), +) + +DELETE_FLOW_ALIAS: StaticOperationSchema = ( + 23, + n0, + _DFA, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", + } + ) + }, + DELETE_FLOW_ALIAS_INPUT, + DELETE_FLOW_ALIAS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_FLOW_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _GFAI, + {_sSI: _cGFAR, _smit: None}, + (_fI, _aIl), + ((FLOW_IDENTIFIER, 9), (FLOW_ALIAS_IDENTIFIER, 9)), +) + +GET_FLOW_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _GFAO, + {_sSI: _cGFARo, _smith: None}, + (_na, _d, _rCo, _cConc, _fIl, _id, _ar, _cA, _uA), + ( + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), + (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), + (FLOW_ID, 1), + (FLOW_ALIAS_ID, 1), + (FLOW_ALIAS_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +GET_FLOW_ALIAS: StaticOperationSchema = ( + 23, + n0, + _GFA, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", + } + ) + }, + GET_FLOW_ALIAS_INPUT, + GET_FLOW_ALIAS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_FLOW_ALIASES_INPUT: StaticSchema = ( + 18, + n0, + _LFAI, + {_sSI: _cLFAR, _smit: None}, + (_fI, _mR, _nT), + ( + (FLOW_IDENTIFIER, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_FLOW_ALIASES_OUTPUT: StaticSchema = ( + 18, + n0, + _LFAO, + {_sSI: _cLFARo, _smith: None}, + (_fAS, _nT), + ((lambda: FLOW_ALIAS_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_FLOW_ALIASES: StaticOperationSchema = ( + 23, + n0, + _LFA, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/flows/{flowIdentifier}/aliases"} + ) + }, + LIST_FLOW_ALIASES_INPUT, + LIST_FLOW_ALIASES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_ALIAS_SUMMARY: StaticSchema = ( + 18, + n0, + _FAS, + 0, + (_na, _d, _rCo, _cConc, _fIl, _id, _ar, _cA, _uA), + ( + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), + (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), + (FLOW_ID, 1), + (FLOW_ALIAS_ID, 1), + (FLOW_ALIAS_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +FLOW_ALIAS_SUMMARIES: StaticSchema = ( + 16, + n0, + _FASl, + 0, + (_me,), + ((FLOW_ALIAS_SUMMARY, 0),), +) + +UPDATE_FLOW_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _UFAI, + {_sSI: _cUFAR, _smit: None}, + (_na, _d, _rCo, _cConc, _fI, _aIl), + ( + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), + (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), + (FLOW_IDENTIFIER, 9), + (FLOW_ALIAS_IDENTIFIER, 9), + ), +) + +UPDATE_FLOW_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _UFAO, + {_sSI: _cUFARo, _smith: None}, + (_na, _d, _rCo, _cConc, _fIl, _id, _ar, _cA, _uA), + ( + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (FLOW_ALIAS_ROUTING_CONFIGURATION, 1), + (FLOW_ALIAS_CONCURRENCY_CONFIGURATION, 0), + (FLOW_ID, 1), + (FLOW_ALIAS_ID, 1), + (FLOW_ALIAS_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +UPDATE_FLOW_ALIAS: StaticOperationSchema = ( + 23, + n0, + _UFA, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", + } + ) + }, + UPDATE_FLOW_ALIAS_INPUT, + UPDATE_FLOW_ALIAS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREATE_FLOW_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CFVI, + {_sSI: _cCFVR, _smit: None}, + (_fI, _d, _cT), + ( + (FLOW_IDENTIFIER, 9), + (lambda: schemas.FLOW_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_FLOW_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CFVO, + {_sSI: _cCFVRo, _smith: None}, + (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _ve, _def), + ( + (lambda: schemas.FLOW_NAME, 1), + (lambda: schemas.FLOW_DESCRIPTION, 0), + (lambda: schemas.FLOW_EXECUTION_ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (FLOW_ID, 1), + (lambda: schemas.FLOW_ARN, 1), + (FLOW_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.NUMERICAL_VERSION, 1), + (lambda: schemas.FLOW_DEFINITION, 0), + ), +) + +CREATE_FLOW_VERSION: StaticOperationSchema = ( + 23, + n0, + _CFV, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/flows/{flowIdentifier}/versions"} + ) + }, + CREATE_FLOW_VERSION_INPUT, + CREATE_FLOW_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_FLOW_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _DFVI, + {_sSI: _cDFVR, _smit: None}, + (_fI, _fV, _sRIUC), + ( + (FLOW_IDENTIFIER, 9), + (lambda: schemas.NUMERICAL_VERSION, 9), + (2, {_smithya: False, _sQ: _sRIUC}), + ), +) + +DELETE_FLOW_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DFVO, + {_sSI: _cDFVRo, _smith: None}, + (_id, _ve), + ((lambda: schemas.ID, 1), (lambda: schemas.NUMERICAL_VERSION, 1)), +) + +DELETE_FLOW_VERSION: StaticOperationSchema = ( + 23, + n0, + _DFV, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/flows/{flowIdentifier}/versions/{flowVersion}/", + } + ) + }, + DELETE_FLOW_VERSION_INPUT, + DELETE_FLOW_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_FLOW_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _GFVI, + {_sSI: _cGFVR, _smit: None}, + (_fI, _fV, _iD), + ( + (FLOW_IDENTIFIER, 9), + (lambda: schemas.NUMERICAL_VERSION, 9), + (lambda: schemas.INCLUDED_DATA, {_sQ: _iD}), + ), +) + +GET_FLOW_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GFVO, + {_sSI: _cGFVRo, _smith: None}, + (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _ve, _def), + ( + (lambda: schemas.FLOW_NAME, 1), + (lambda: schemas.FLOW_DESCRIPTION, 0), + (lambda: schemas.FLOW_EXECUTION_ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (FLOW_ID, 1), + (lambda: schemas.FLOW_ARN, 1), + (FLOW_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.NUMERICAL_VERSION, 1), + (lambda: schemas.FLOW_DEFINITION, 0), + ), +) + +GET_FLOW_VERSION: StaticOperationSchema = ( + 23, + n0, + _GFV, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/flows/{flowIdentifier}/versions/{flowVersion}/", + } + ) + }, + GET_FLOW_VERSION_INPUT, + GET_FLOW_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_FLOW_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LFVI, + {_sSI: _cLFVR, _smit: None}, + (_fI, _mR, _nT), + ( + (FLOW_IDENTIFIER, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_FLOW_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFVO, + {_sSI: _cLFVRo, _smith: None}, + (_fVS, _nT), + ((lambda: FLOW_VERSION_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_FLOW_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LFV, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/flows/{flowIdentifier}/versions"} + ) + }, + LIST_FLOW_VERSIONS_INPUT, + LIST_FLOW_VERSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_VERSION_SUMMARY: StaticSchema = ( + 18, + n0, + _FVS, + 0, + (_id, _ar, _sta, _cA, _ve), + ( + (FLOW_ID, 1), + (lambda: schemas.FLOW_ARN, 1), + (FLOW_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.NUMERICAL_VERSION, 1), + ), +) + +FLOW_VERSION_SUMMARIES: StaticSchema = ( + 16, + n0, + _FVSl, + 0, + (_me,), + ((FLOW_VERSION_SUMMARY, 0),), +) + +GET_FLOW_INPUT: StaticSchema = ( + 18, + n0, + _GFI, + {_sSI: _cGFR, _smit: None}, + (_fI, _iD), + ((FLOW_IDENTIFIER, 9), (lambda: schemas.INCLUDED_DATA, {_sQ: _iD})), +) + +GET_FLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _GFO, + {_sSI: _cGFRo, _smith: None}, + (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _uA, _ve, _def, _val), + ( + (lambda: schemas.FLOW_NAME, 1), + (lambda: schemas.FLOW_DESCRIPTION, 0), + (lambda: schemas.FLOW_EXECUTION_ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (FLOW_ID, 1), + (lambda: schemas.FLOW_ARN, 1), + (FLOW_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DRAFT_VERSION, 1), + (lambda: schemas.FLOW_DEFINITION, 0), + (lambda: schemas.FLOW_VALIDATIONS, 0), + ), +) + +GET_FLOW: StaticOperationSchema = ( + 23, + n0, + _GF, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/flows/{flowIdentifier}/"} + ) + }, + GET_FLOW_INPUT, + GET_FLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CYCLIC_CONNECTION_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _CCFVD, + 0, + (_conn,), + ((lambda: schemas.FLOW_CONNECTION_NAME, 1),), +) + +DUPLICATE_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _DCEFVD, + 0, + (_no, _ex), + ( + (lambda: schemas.FLOW_NODE_NAME, 1), + (lambda: schemas.FLOW_CONDITION_EXPRESSION, 1), + ), +) + +DUPLICATE_CONNECTIONS_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _DCFVD, + 0, + (_so, _tar), + ((lambda: schemas.FLOW_NODE_NAME, 1), (lambda: schemas.FLOW_NODE_NAME, 1)), +) + +INCOMPATIBLE_CONNECTION_DATA_TYPE_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _ICDTFVD, + 0, + (_conn,), + ((lambda: schemas.FLOW_CONNECTION_NAME, 1),), +) + +INVALID_LOOP_BOUNDARY_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _ILBFVD, + 0, + (_conn, _so, _tar), + ( + (lambda: schemas.FLOW_CONNECTION_NAME, 1), + (lambda: schemas.FLOW_NODE_NAME, 1), + (lambda: schemas.FLOW_NODE_NAME, 1), + ), +) + +INCOMPATIBLE_LOOP_NODE_TYPE: StaticSchema = ( + 14, + n0, + _ILNT, + 0, + (_INPUT, _CONDITION, _ITERATOR, _COLLECTOR), + ((-1, {_sV: _Inp}), (-1, {_sV: _Co}), (-1, {_sV: _It}), (-1, {_sV: _Col})), +) + +LOOP_INCOMPATIBLE_NODE_TYPE_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _LINTFVD, + 0, + (_no, _iNT, _iNN), + ( + (lambda: schemas.FLOW_NODE_NAME, 1), + (INCOMPATIBLE_LOOP_NODE_TYPE, 1), + (lambda: schemas.FLOW_NODE_NAME, 1), + ), +) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +MALFORMED_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MCEFVD, + 0, + (_no, _co, _cau), + ( + (lambda: schemas.FLOW_NODE_NAME, 1), + (lambda: schemas.FLOW_CONDITION_NAME, 1), + (ERROR_MESSAGE, 1), + ), +) + +MALFORMED_NODE_INPUT_EXPRESSION_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MNIEFVD, + 0, + (_no, _inp, _cau), + ( + (lambda: schemas.FLOW_NODE_NAME, 1), + (lambda: schemas.FLOW_NODE_INPUT_NAME, 1), + (ERROR_MESSAGE, 1), + ), +) + +MISMATCHED_NODE_INPUT_TYPE_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MNITFVD, + 0, + (_no, _inp, _eT), + ( + (lambda: schemas.FLOW_NODE_NAME, 1), + (lambda: schemas.FLOW_NODE_INPUT_NAME, 1), + (lambda: schemas.FLOW_NODE_IO_DATA_TYPE, 1), + ), +) + +MISMATCHED_NODE_OUTPUT_TYPE_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MNOTFVD, + 0, + (_no, _ou, _eT), + ( + (lambda: schemas.FLOW_NODE_NAME, 1), + (lambda: schemas.FLOW_NODE_OUTPUT_NAME, 1), + (lambda: schemas.FLOW_NODE_IO_DATA_TYPE, 1), + ), +) + +MISSING_CONNECTION_CONFIGURATION_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MCCFVD, + 0, + (_conn,), + ((lambda: schemas.FLOW_CONNECTION_NAME, 1),), +) + +MISSING_DEFAULT_CONDITION_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MDCFVD, + 0, + (_no,), + ((lambda: schemas.FLOW_NODE_NAME, 1),), +) + +MISSING_ENDING_NODES_FLOW_VALIDATION_DETAILS: StaticSchema = (18, n0, _MENFVD, 0) + +MISSING_LOOP_CONTROLLER_NODE_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MLCNFVD, + 0, + (_lN,), + ((lambda: schemas.FLOW_NODE_NAME, 1),), +) + +MISSING_LOOP_INPUT_NODE_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MLINFVD, + 0, + (_lN,), + ((lambda: schemas.FLOW_NODE_NAME, 1),), +) + +MISSING_NODE_CONFIGURATION_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MNCFVD, + 0, + (_no,), + ((lambda: schemas.FLOW_NODE_NAME, 1),), +) + +MISSING_NODE_INPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MNIFVD, + 0, + (_no, _inp), + ((lambda: schemas.FLOW_NODE_NAME, 1), (lambda: schemas.FLOW_NODE_INPUT_NAME, 1)), +) + +MISSING_NODE_OUTPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MNOFVD, + 0, + (_no, _ou), + ((lambda: schemas.FLOW_NODE_NAME, 1), (lambda: schemas.FLOW_NODE_OUTPUT_NAME, 1)), +) + +MISSING_STARTING_NODES_FLOW_VALIDATION_DETAILS: StaticSchema = (18, n0, _MSNFVD, 0) + +MULTIPLE_LOOP_CONTROLLER_NODES_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MLCNFVDu, + 0, + (_lN,), + ((lambda: schemas.FLOW_NODE_NAME, 1),), +) + +MULTIPLE_LOOP_INPUT_NODES_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MLINFVDu, + 0, + (_lN,), + ((lambda: schemas.FLOW_NODE_NAME, 1),), +) + +MULTIPLE_NODE_INPUT_CONNECTIONS_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _MNICFVD, + 0, + (_no, _inp), + ((lambda: schemas.FLOW_NODE_NAME, 1), (lambda: schemas.FLOW_NODE_INPUT_NAME, 1)), +) + +UNFULFILLED_NODE_INPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UNIFVD, + 0, + (_no, _inp), + ((lambda: schemas.FLOW_NODE_NAME, 1), (lambda: schemas.FLOW_NODE_INPUT_NAME, 1)), +) + +UNKNOWN_CONNECTION_CONDITION_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UCCFVD, + 0, + (_conn,), + ((lambda: schemas.FLOW_CONNECTION_NAME, 1),), +) + +UNKNOWN_CONNECTION_SOURCE_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UCSFVD, + 0, + (_conn,), + ((lambda: schemas.FLOW_CONNECTION_NAME, 1),), +) + +UNKNOWN_CONNECTION_SOURCE_OUTPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UCSOFVD, + 0, + (_conn,), + ((lambda: schemas.FLOW_CONNECTION_NAME, 1),), +) + +UNKNOWN_CONNECTION_TARGET_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UCTFVD, + 0, + (_conn,), + ((lambda: schemas.FLOW_CONNECTION_NAME, 1),), +) + +UNKNOWN_CONNECTION_TARGET_INPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UCTIFVD, + 0, + (_conn,), + ((lambda: schemas.FLOW_CONNECTION_NAME, 1),), +) + +UNKNOWN_NODE_INPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UNIFVDn, + 0, + (_no, _inp), + ((lambda: schemas.FLOW_NODE_NAME, 1), (lambda: schemas.FLOW_NODE_INPUT_NAME, 1)), +) + +UNKNOWN_NODE_OUTPUT_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UNOFVD, + 0, + (_no, _ou), + ((lambda: schemas.FLOW_NODE_NAME, 1), (lambda: schemas.FLOW_NODE_OUTPUT_NAME, 1)), +) + +UNREACHABLE_NODE_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UNFVD, + 0, + (_no,), + ((lambda: schemas.FLOW_NODE_NAME, 1),), +) + +UNSATISFIED_CONNECTION_CONDITIONS_FLOW_VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _UCCFVDn, + 0, + (_conn,), + ((lambda: schemas.FLOW_CONNECTION_NAME, 1),), +) + +UNSPECIFIED_FLOW_VALIDATION_DETAILS: StaticSchema = (18, n0, _UFVD, 0) + +FLOW_VALIDATION_DETAILS: StaticSchema = ( + 19, + n0, + _FVD, + 0, + ( + _cCy, + _dC, + _dCE, + _uN, + _uCS, + _uCSO, + _uCT, + _uCTI, + _uCC, + _mCE, + _mNIE, + _mNIT, + _mNOT, + _iCDT, + _mCC, + _mDC, + _mEN, + _mNC, + _mNI, + _mNO, + _mSN, + _mNIC, + _uNI, + _uCCn, + _un, + _uNIn, + _uNO, + _mLIN, + _mLCN, + _mLINu, + _mLCNu, + _lINT, + _iLB, + ), + ( + (CYCLIC_CONNECTION_FLOW_VALIDATION_DETAILS, 0), + (DUPLICATE_CONNECTIONS_FLOW_VALIDATION_DETAILS, 0), + (DUPLICATE_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS, 0), + (UNREACHABLE_NODE_FLOW_VALIDATION_DETAILS, 0), + (UNKNOWN_CONNECTION_SOURCE_FLOW_VALIDATION_DETAILS, 0), + (UNKNOWN_CONNECTION_SOURCE_OUTPUT_FLOW_VALIDATION_DETAILS, 0), + (UNKNOWN_CONNECTION_TARGET_FLOW_VALIDATION_DETAILS, 0), + (UNKNOWN_CONNECTION_TARGET_INPUT_FLOW_VALIDATION_DETAILS, 0), + (UNKNOWN_CONNECTION_CONDITION_FLOW_VALIDATION_DETAILS, 0), + (MALFORMED_CONDITION_EXPRESSION_FLOW_VALIDATION_DETAILS, 0), + (MALFORMED_NODE_INPUT_EXPRESSION_FLOW_VALIDATION_DETAILS, 0), + (MISMATCHED_NODE_INPUT_TYPE_FLOW_VALIDATION_DETAILS, 0), + (MISMATCHED_NODE_OUTPUT_TYPE_FLOW_VALIDATION_DETAILS, 0), + (INCOMPATIBLE_CONNECTION_DATA_TYPE_FLOW_VALIDATION_DETAILS, 0), + (MISSING_CONNECTION_CONFIGURATION_FLOW_VALIDATION_DETAILS, 0), + (MISSING_DEFAULT_CONDITION_FLOW_VALIDATION_DETAILS, 0), + (MISSING_ENDING_NODES_FLOW_VALIDATION_DETAILS, 0), + (MISSING_NODE_CONFIGURATION_FLOW_VALIDATION_DETAILS, 0), + (MISSING_NODE_INPUT_FLOW_VALIDATION_DETAILS, 0), + (MISSING_NODE_OUTPUT_FLOW_VALIDATION_DETAILS, 0), + (MISSING_STARTING_NODES_FLOW_VALIDATION_DETAILS, 0), + (MULTIPLE_NODE_INPUT_CONNECTIONS_FLOW_VALIDATION_DETAILS, 0), + (UNFULFILLED_NODE_INPUT_FLOW_VALIDATION_DETAILS, 0), + (UNSATISFIED_CONNECTION_CONDITIONS_FLOW_VALIDATION_DETAILS, 0), + (UNSPECIFIED_FLOW_VALIDATION_DETAILS, 0), + (UNKNOWN_NODE_INPUT_FLOW_VALIDATION_DETAILS, 0), + (UNKNOWN_NODE_OUTPUT_FLOW_VALIDATION_DETAILS, 0), + (MISSING_LOOP_INPUT_NODE_FLOW_VALIDATION_DETAILS, 0), + (MISSING_LOOP_CONTROLLER_NODE_FLOW_VALIDATION_DETAILS, 0), + (MULTIPLE_LOOP_INPUT_NODES_FLOW_VALIDATION_DETAILS, 0), + (MULTIPLE_LOOP_CONTROLLER_NODES_FLOW_VALIDATION_DETAILS, 0), + (LOOP_INCOMPATIBLE_NODE_TYPE_FLOW_VALIDATION_DETAILS, 0), + (INVALID_LOOP_BOUNDARY_FLOW_VALIDATION_DETAILS, 0), + ), +) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_5.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_5.py new file mode 100644 index 000000000..66f4de271 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_5.py @@ -0,0 +1,1274 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagent" +_sV = "smithy.api#enumValue" +_m = "message" +_sm = "smithy.api#sensitive" +_s_ = "s3" +_STRING = "STRING" +_NUMBER = "NUMBER" +_BOOLEAN = "BOOLEAN" +_d = "description" +_t = "type" +_smi = "smithy.api#required" +_na = "name" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_cA = "createdAt" +_uA = "updatedAt" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_smithya = "smithy.api#default" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_DELETING = "DELETING" +_FAILED = "FAILED" +_fR = "failureReasons" +_kBI = "knowledgeBaseId" +_ve = "version" +_vI = "vpcId" +_sI = "subnetIds" +_rT = "resourceTarget" +_po = "port" +_pr = "protocol" +_rM = "resolutionMode" +_hH = "hostHeader" +_tSN = "tlsServerName" +_vCI = "vpcConfigurationId" +_sta = "status" +_fi = "filters" +_bOAI = "bucketOwnerAccountId" +_S = "S3" +_CUSTOM = "CUSTOM" +_ur = "uri" +_sLo = "s3Location" +_dSI = "dataSourceId" +_rAe = "resourceArn" +_rI = "revisionId" +_dat = "data" +_Da = "Data" +_TEXT = "TEXT" +_fI = "flowIdentifier" +_id = "id" +_ar = "arn" +_FVSlo = "FlowValidationSeverity" +_WARNING = "WARNING" +_W = "Warning" +_ERROR = "ERROR" +_E = "Error" +_FVT = "FlowValidationType" +_CC_ = "CYCLIC_CONNECTION" +_CCy = "CyclicConnection" +_DC = "DUPLICATE_CONNECTIONS" +_DCu = "DuplicateConnections" +_DCE = "DUPLICATE_CONDITION_EXPRESSION" +_DCEu = "DuplicateConditionExpression" +_UN = "UNREACHABLE_NODE" +_UNn = "UnreachableNode" +_UCS = "UNKNOWN_CONNECTION_SOURCE" +_UCSn = "UnknownConnectionSource" +_UCSO = "UNKNOWN_CONNECTION_SOURCE_OUTPUT" +_UCSOn = "UnknownConnectionSourceOutput" +_UCT = "UNKNOWN_CONNECTION_TARGET" +_UCTn = "UnknownConnectionTarget" +_UCTI = "UNKNOWN_CONNECTION_TARGET_INPUT" +_UCTIn = "UnknownConnectionTargetInput" +_UCC = "UNKNOWN_CONNECTION_CONDITION" +_UCCn = "UnknownConnectionCondition" +_MCE = "MALFORMED_CONDITION_EXPRESSION" +_MCEa = "MalformedConditionExpression" +_MNIE = "MALFORMED_NODE_INPUT_EXPRESSION" +_MNIEa = "MalformedNodeInputExpression" +_MNIT = "MISMATCHED_NODE_INPUT_TYPE" +_MNITi = "MismatchedNodeInputType" +_MNOT = "MISMATCHED_NODE_OUTPUT_TYPE" +_MNOTi = "MismatchedNodeOutputType" +_ICDT = "INCOMPATIBLE_CONNECTION_DATA_TYPE" +_ICDTn = "IncompatibleConnectionDataType" +_MCC = "MISSING_CONNECTION_CONFIGURATION" +_MCCi = "MissingConnectionConfiguration" +_MDC = "MISSING_DEFAULT_CONDITION" +_MDCi = "MissingDefaultCondition" +_MEN = "MISSING_ENDING_NODES" +_MENi = "MissingEndingNodes" +_MNC = "MISSING_NODE_CONFIGURATION" +_MNCi = "MissingNodeConfiguration" +_MNI = "MISSING_NODE_INPUT" +_MNIi = "MissingNodeInput" +_MNO = "MISSING_NODE_OUTPUT" +_MNOi = "MissingNodeOutput" +_MSN = "MISSING_STARTING_NODES" +_MSNi = "MissingStartingNodes" +_MNIC = "MULTIPLE_NODE_INPUT_CONNECTIONS" +_MNICu = "MultipleNodeInputConnections" +_UNI = "UNFULFILLED_NODE_INPUT" +_UNIn = "UnfulfilledNodeInput" +_UCC_ = "UNSATISFIED_CONNECTION_CONDITIONS" +_UCCns = "UnsatisfiedConnectionConditions" +_UNSPECIFIED = "UNSPECIFIED" +_Un = "Unspecified" +_UNI_ = "UNKNOWN_NODE_INPUT" +_UNInk = "UnknownNodeInput" +_UNO = "UNKNOWN_NODE_OUTPUT" +_UNOn = "UnknownNodeOutput" +_MLIN = "MISSING_LOOP_INPUT_NODE" +_MLINi = "MissingLoopInputNode" +_MLCN = "MISSING_LOOP_CONTROLLER_NODE" +_MLCNi = "MissingLoopControllerNode" +_MLIN_ = "MULTIPLE_LOOP_INPUT_NODES" +_MLINu = "MultipleLoopInputNodes" +_MLCN_ = "MULTIPLE_LOOP_CONTROLLER_NODES" +_MLCNu = "MultipleLoopControllerNodes" +_LINT = "LOOP_INCOMPATIBLE_NODE_TYPE" +_LINTo = "LoopIncompatibleNodeType" +_ILB = "INVALID_LOOP_BOUNDARY" +_ILBn = "InvalidLoopBoundary" +_FV = "FlowValidation" +_sev = "severity" +_det = "details" +_FVl = "FlowValidations" +_LFI = "ListFlowsInput" +_cLFR = "com.amazonaws.bedrockagent#ListFlowsRequest" +_FSlo = "FlowSummary" +_FSlow = "FlowSummaries" +_LFO = "ListFlowsOutput" +_cLFRo = "com.amazonaws.bedrockagent#ListFlowsResponse" +_fSl = "flowSummaries" +_LFi = "ListFlows" +_PFI = "PrepareFlowInput" +_cPFR = "com.amazonaws.bedrockagent#PrepareFlowRequest" +_PFO = "PrepareFlowOutput" +_cPFRo = "com.amazonaws.bedrockagent#PrepareFlowResponse" +_PF = "PrepareFlow" +_GRPI = "GetResourcePolicyInput" +_cGRPR = "com.amazonaws.bedrockagent#GetResourcePolicyRequest" +_GRPO = "GetResourcePolicyOutput" +_cGRPRo = "com.amazonaws.bedrockagent#GetResourcePolicyResponse" +_pol = "policy" +_GRP = "GetResourcePolicy" +_GVCI = "GetVpcConfigurationInput" +_cGVCR = "com.amazonaws.bedrockagent#GetVpcConfigurationRequest" +_VC = "VpcConfiguration" +_sMt = "statusMessage" +_GVCO = "GetVpcConfigurationOutput" +_cGVCRo = "com.amazonaws.bedrockagent#GetVpcConfigurationResponse" +_vC = "vpcConfiguration" +_GVC = "GetVpcConfiguration" +_GIJI = "GetIngestionJobInput" +_cGIJR = "com.amazonaws.bedrockagent#GetIngestionJobRequest" +_iJI = "ingestionJobId" +_IJS = "IngestionJobStatistics" +_nODS = "numberOfDocumentsScanned" +_nOMDS = "numberOfMetadataDocumentsScanned" +_nONDI = "numberOfNewDocumentsIndexed" +_nOMDI = "numberOfModifiedDocumentsIndexed" +_nOMDM = "numberOfMetadataDocumentsModified" +_nODD = "numberOfDocumentsDeleted" +_nODF = "numberOfDocumentsFailed" +_nODSu = "numberOfDocumentsSkipped" +_IJSn = "IngestionJobStatus" +_STARTING = "STARTING" +_IP = "IN_PROGRESS" +_COMPLETE = "COMPLETE" +_STOPPING = "STOPPING" +_STOPPED = "STOPPED" +_IJ = "IngestionJob" +_stat = "statistics" +_sA = "startedAt" +_tRA = "textReadyAt" +_GIJO = "GetIngestionJobOutput" +_cGIJRo = "com.amazonaws.bedrockagent#GetIngestionJobResponse" +_iJ = "ingestionJob" +_GIJ = "GetIngestionJob" +_IJFA = "IngestionJobFilterAttribute" +_STATUS = "STATUS" +_IJFO = "IngestionJobFilterOperator" +_EQ = "EQ" +_IJFV = "IngestionJobFilterValue" +_IJFVn = "IngestionJobFilterValues" +_IJF = "IngestionJobFilter" +_at = "attribute" +_op = "operator" +_va = "values" +_IJFn = "IngestionJobFilters" +_IJSBA = "IngestionJobSortByAttribute" +_SA_ = "STARTED_AT" +_SO = "SortOrder" +_ASCENDING = "ASCENDING" +_DESCENDING = "DESCENDING" +_IJSB = "IngestionJobSortBy" +_or = "order" +_LIJI = "ListIngestionJobsInput" +_cLIJR = "com.amazonaws.bedrockagent#ListIngestionJobsRequest" +_sB = "sortBy" +_IJSng = "IngestionJobSummary" +_IJSnge = "IngestionJobSummaries" +_LIJO = "ListIngestionJobsOutput" +_cLIJRo = "com.amazonaws.bedrockagent#ListIngestionJobsResponse" +_iJS = "ingestionJobSummaries" +_LIJ = "ListIngestionJobs" +_SIJI = "StartIngestionJobInput" +_cSIJR = "com.amazonaws.bedrockagent#StartIngestionJobRequest" +_SIJO = "StartIngestionJobOutput" +_cSIJRo = "com.amazonaws.bedrockagent#StartIngestionJobResponse" +_SIJ = "StartIngestionJob" +_SIJIt = "StopIngestionJobInput" +_cSIJRom = "com.amazonaws.bedrockagent#StopIngestionJobRequest" +_SIJOt = "StopIngestionJobOutput" +_cSIJRoma = "com.amazonaws.bedrockagent#StopIngestionJobResponse" +_SIJt = "StopIngestionJob" +_CDI = "CustomDocumentIdentifier" +_CDST = "ContentDataSourceType" +_DI = "DocumentIdentifier" +_dST = "dataSourceType" +_cu = "custom" +_DIo = "DocumentIdentifiers" +_DKBDI = "DeleteKnowledgeBaseDocumentsInput" +_cDKBDR = "com.amazonaws.bedrockagent#DeleteKnowledgeBaseDocumentsRequest" +_dI = "documentIdentifiers" +_DSo = "DocumentStatus" +_INDEXED = "INDEXED" +_PI = "PARTIALLY_INDEXED" +_PENDING = "PENDING" +_MPI = "METADATA_PARTIALLY_INDEXED" +_MUF = "METADATA_UPDATE_FAILED" +_IGNORED = "IGNORED" +_NF = "NOT_FOUND" +_DIP = "DELETE_IN_PROGRESS" +_KBDD = "KnowledgeBaseDocumentDetail" +_ide = "identifier" +_sR = "statusReason" +_KBDDn = "KnowledgeBaseDocumentDetails" +_DKBDO = "DeleteKnowledgeBaseDocumentsOutput" +_cDKBDRo = "com.amazonaws.bedrockagent#DeleteKnowledgeBaseDocumentsResponse" +_dD = "documentDetails" +_DKBD = "DeleteKnowledgeBaseDocuments" +_GKBDI = "GetKnowledgeBaseDocumentsInput" +_cGKBDR = "com.amazonaws.bedrockagent#GetKnowledgeBaseDocumentsRequest" +_GKBDO = "GetKnowledgeBaseDocumentsOutput" +_cGKBDRo = "com.amazonaws.bedrockagent#GetKnowledgeBaseDocumentsResponse" +_GKBD = "GetKnowledgeBaseDocuments" +_BCB = "ByteContentBlob" +_BCD = "ByteContentDoc" +_mTi = "mimeType" +_TCD = "TextContentDoc" +_ICT = "InlineContentType" +_BYTE = "BYTE" +_ICnl = "InlineContent" +_bC = "byteContent" +_tCex = "textContent" +_SOU = "S3ObjectUri" +_CSL = "CustomS3Location" +_CST = "CustomSourceType" +_IL = "IN_LINE" +_SL_ = "S3_LOCATION" +_CCu = "CustomContent" +_cDI = "customDocumentIdentifier" +_sTo = "sourceType" +_iCnl = "inlineContent" +_SC = "S3Content" +_DCo = "DocumentContent" +_DACE = "DocumentAccessControlEntry" +_ac = "access" +_DACL = "DocumentAccessControlList" +_K = "Key" +_NVu = "NumberValue" +_SV = "StringValue" +_SLV = "StringListValue" +_MVT = "MetadataValueType" +_SL__ = "STRING_LIST" +_MAV = "MetadataAttributeValue" +_nV = "numberValue" +_bV = "booleanValue" +_sVt = "stringValue" +_sLV = "stringListValue" + +FLOW_VALIDATION_SEVERITY: StaticSchema = ( + 14, + n0, + _FVSlo, + 0, + (_WARNING, _ERROR), + ((-1, {_sV: _W}), (-1, {_sV: _E})), +) + +FLOW_VALIDATION_TYPE: StaticSchema = ( + 14, + n0, + _FVT, + 0, + ( + _CC_, + _DC, + _DCE, + _UN, + _UCS, + _UCSO, + _UCT, + _UCTI, + _UCC, + _MCE, + _MNIE, + _MNIT, + _MNOT, + _ICDT, + _MCC, + _MDC, + _MEN, + _MNC, + _MNI, + _MNO, + _MSN, + _MNIC, + _UNI, + _UCC_, + _UNSPECIFIED, + _UNI_, + _UNO, + _MLIN, + _MLCN, + _MLIN_, + _MLCN_, + _LINT, + _ILB, + ), + ( + (-1, {_sV: _CCy}), + (-1, {_sV: _DCu}), + (-1, {_sV: _DCEu}), + (-1, {_sV: _UNn}), + (-1, {_sV: _UCSn}), + (-1, {_sV: _UCSOn}), + (-1, {_sV: _UCTn}), + (-1, {_sV: _UCTIn}), + (-1, {_sV: _UCCn}), + (-1, {_sV: _MCEa}), + (-1, {_sV: _MNIEa}), + (-1, {_sV: _MNITi}), + (-1, {_sV: _MNOTi}), + (-1, {_sV: _ICDTn}), + (-1, {_sV: _MCCi}), + (-1, {_sV: _MDCi}), + (-1, {_sV: _MENi}), + (-1, {_sV: _MNCi}), + (-1, {_sV: _MNIi}), + (-1, {_sV: _MNOi}), + (-1, {_sV: _MSNi}), + (-1, {_sV: _MNICu}), + (-1, {_sV: _UNIn}), + (-1, {_sV: _UCCns}), + (-1, {_sV: _Un}), + (-1, {_sV: _UNInk}), + (-1, {_sV: _UNOn}), + (-1, {_sV: _MLINi}), + (-1, {_sV: _MLCNi}), + (-1, {_sV: _MLINu}), + (-1, {_sV: _MLCNu}), + (-1, {_sV: _LINTo}), + (-1, {_sV: _ILBn}), + ), +) + +FLOW_VALIDATION: StaticSchema = ( + 18, + n0, + _FV, + 0, + (_m, _sev, _det, _t), + ( + (lambda: schemas.NON_BLANK_STRING, 1), + (FLOW_VALIDATION_SEVERITY, 1), + (lambda: schemas.FLOW_VALIDATION_DETAILS, 0), + (FLOW_VALIDATION_TYPE, 0), + ), +) + +FLOW_VALIDATIONS: StaticSchema = (16, n0, _FVl, 0, (_me,), ((FLOW_VALIDATION, 0),)) + +LIST_FLOWS_INPUT: StaticSchema = ( + 18, + n0, + _LFI, + {_sSI: _cLFR, _smit: None}, + (_mR, _nT), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_FLOWS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFO, + {_sSI: _cLFRo, _smith: None}, + (_fSl, _nT), + ((lambda: FLOW_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_FLOWS: StaticOperationSchema = ( + 23, + n0, + _LFi, + {_smithy: MappingProxyType({"code": 200, "method": "GET", "uri": "/flows/"})}, + LIST_FLOWS_INPUT, + LIST_FLOWS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FLOW_SUMMARY: StaticSchema = ( + 18, + n0, + _FSlo, + 0, + (_na, _d, _id, _ar, _sta, _cA, _uA, _ve), + ( + (lambda: schemas.FLOW_NAME, 1), + (lambda: schemas.FLOW_DESCRIPTION, 0), + (lambda: schemas.FLOW_ID, 1), + (lambda: schemas.FLOW_ARN, 1), + (lambda: schemas.FLOW_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DRAFT_VERSION, 1), + ), +) + +FLOW_SUMMARIES: StaticSchema = (16, n0, _FSlow, 0, (_me,), ((FLOW_SUMMARY, 0),)) + +PREPARE_FLOW_INPUT: StaticSchema = ( + 18, + n0, + _PFI, + {_sSI: _cPFR, _smit: None}, + (_fI,), + ((lambda: schemas.FLOW_IDENTIFIER, 9),), +) + +PREPARE_FLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _PFO, + {_sSI: _cPFRo, _smith: None}, + (_id, _sta), + ((lambda: schemas.FLOW_ID, 1), (lambda: schemas.FLOW_STATUS, 1)), +) + +PREPARE_FLOW: StaticOperationSchema = ( + 23, + n0, + _PF, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/flows/{flowIdentifier}/"} + ) + }, + PREPARE_FLOW_INPUT, + PREPARE_FLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_sSI: _cGRPR, _smit: None}, + (_rAe,), + ((lambda: schemas.RESOURCE_ARN, 9),), +) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_sSI: _cGRPRo, _smith: None}, + (_rAe, _pol, _rI), + ( + (lambda: schemas.RESOURCE_ARN, 1), + (lambda: schemas.RESOURCE_POLICY, 1), + (lambda: schemas.REVISION_ID, 1), + ), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/resourcepolicy/{resourceArn}"} + ) + }, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_VPC_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GVCI, + {_sSI: _cGVCR, _smit: None}, + (_kBI, _vCI), + ((lambda: schemas.ID, 9), (lambda: schemas.VPC_CONFIGURATION_ID, 9)), +) + +GET_VPC_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GVCO, + {_sSI: _cGVCRo, _smith: None}, + (_vC,), + ((lambda: VPC_CONFIGURATION, 1),), +) + +GET_VPC_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GVC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}", + } + ) + }, + GET_VPC_CONFIGURATION_INPUT, + GET_VPC_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +VPC_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VC, + 0, + (_vCI, _sta, _sMt, _vI, _sI, _rT, _po, _pr, _rM, _hH, _tSN, _na, _d, _cA, _uA), + ( + (lambda: schemas.VPC_CONFIGURATION_ID, 1), + (lambda: schemas.VPC_CONFIGURATION_STATUS, 1), + (lambda: schemas.VPC_CONFIGURATION_STATUS_MESSAGE, 0), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.SUBNET_ID_LIST, 1), + (lambda: schemas.RESOURCE_TARGET, 1), + (lambda: schemas.PORT, 1), + (lambda: schemas.VPC_PROTOCOL, 1), + (lambda: schemas.VPC_RESOLUTION_MODE, 1), + (lambda: schemas.HOST_HEADER, 0), + (lambda: schemas.TLS_SERVER_NAME, 0), + (lambda: schemas.VPC_CONFIGURATION_NAME, 0), + (lambda: schemas.VPC_CONFIGURATION_DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +GET_INGESTION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _GIJI, + {_sSI: _cGIJR, _smit: None}, + (_kBI, _dSI, _iJI), + ((lambda: schemas.ID, 9), (lambda: schemas.ID, 9), (lambda: schemas.ID, 9)), +) + +GET_INGESTION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _GIJO, + {_sSI: _cGIJRo, _smith: None}, + (_iJ,), + ((lambda: INGESTION_JOB, 1),), +) + +GET_INGESTION_JOB: StaticOperationSchema = ( + 23, + n0, + _GIJ, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}", + } + ) + }, + GET_INGESTION_JOB_INPUT, + GET_INGESTION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INGESTION_JOB_STATISTICS: StaticSchema = ( + 18, + n0, + _IJS, + 0, + (_nODS, _nOMDS, _nONDI, _nOMDI, _nOMDM, _nODD, _nODF, _nODSu), + ( + (8, {_smithya: 0}), + (8, {_smithya: 0}), + (8, {_smithya: 0}), + (8, {_smithya: 0}), + (8, {_smithya: 0}), + (8, {_smithya: 0}), + (8, {_smithya: 0}), + (8, {_smithya: 0}), + ), +) + +INGESTION_JOB_STATUS: StaticSchema = ( + 14, + n0, + _IJSn, + 0, + (_STARTING, _IP, _COMPLETE, _FAILED, _STOPPING, _STOPPED), + ( + (-1, {_sV: _STARTING}), + (-1, {_sV: _IP}), + (-1, {_sV: _COMPLETE}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _STOPPING}), + (-1, {_sV: _STOPPED}), + ), +) + +INGESTION_JOB: StaticSchema = ( + 18, + n0, + _IJ, + 0, + (_kBI, _dSI, _iJI, _d, _sta, _stat, _fR, _sA, _uA, _tRA), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.ID, 1), + (lambda: schemas.ID, 1), + (lambda: schemas.DESCRIPTION, 0), + (INGESTION_JOB_STATUS, 1), + (INGESTION_JOB_STATISTICS, 0), + (lambda: schemas.FAILURE_REASONS, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +INGESTION_JOB_FILTER_ATTRIBUTE: StaticSchema = ( + 14, + n0, + _IJFA, + 0, + (_STATUS,), + ((-1, {_sV: _STATUS}),), +) + +INGESTION_JOB_FILTER_OPERATOR: StaticSchema = ( + 14, + n0, + _IJFO, + 0, + (_EQ,), + ((-1, {_sV: _EQ}),), +) + +INGESTION_JOB_FILTER_VALUE: StaticSchema = (3, n0, _IJFV, 0) + +INGESTION_JOB_FILTER_VALUES: StaticSchema = ( + 16, + n0, + _IJFVn, + 0, + (_me,), + ((INGESTION_JOB_FILTER_VALUE, 0),), +) + +INGESTION_JOB_FILTER: StaticSchema = ( + 18, + n0, + _IJF, + 0, + (_at, _op, _va), + ( + (INGESTION_JOB_FILTER_ATTRIBUTE, 1), + (INGESTION_JOB_FILTER_OPERATOR, 1), + (INGESTION_JOB_FILTER_VALUES, 1), + ), +) + +INGESTION_JOB_FILTERS: StaticSchema = ( + 16, + n0, + _IJFn, + 0, + (_me,), + ((INGESTION_JOB_FILTER, 0),), +) + +INGESTION_JOB_SORT_BY_ATTRIBUTE: StaticSchema = ( + 14, + n0, + _IJSBA, + 0, + (_STATUS, _SA_), + ((-1, {_sV: _STATUS}), (-1, {_sV: _SA_})), +) + +SORT_ORDER: StaticSchema = ( + 14, + n0, + _SO, + 0, + (_ASCENDING, _DESCENDING), + ((-1, {_sV: _ASCENDING}), (-1, {_sV: _DESCENDING})), +) + +INGESTION_JOB_SORT_BY: StaticSchema = ( + 18, + n0, + _IJSB, + 0, + (_at, _or), + ((INGESTION_JOB_SORT_BY_ATTRIBUTE, 1), (SORT_ORDER, 1)), +) + +LIST_INGESTION_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LIJI, + {_sSI: _cLIJR, _smit: None}, + (_kBI, _dSI, _fi, _sB, _mR, _nT), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.ID, 9), + (INGESTION_JOB_FILTERS, 0), + (INGESTION_JOB_SORT_BY, 0), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_INGESTION_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIJO, + {_sSI: _cLIJRo, _smith: None}, + (_iJS, _nT), + ((lambda: INGESTION_JOB_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_INGESTION_JOBS: StaticOperationSchema = ( + 23, + n0, + _LIJ, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", + } + ) + }, + LIST_INGESTION_JOBS_INPUT, + LIST_INGESTION_JOBS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INGESTION_JOB_SUMMARY: StaticSchema = ( + 18, + n0, + _IJSng, + 0, + (_kBI, _dSI, _iJI, _d, _sta, _sA, _uA, _tRA, _stat), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.ID, 1), + (lambda: schemas.ID, 1), + (lambda: schemas.DESCRIPTION, 0), + (INGESTION_JOB_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + (INGESTION_JOB_STATISTICS, 0), + ), +) + +INGESTION_JOB_SUMMARIES: StaticSchema = ( + 16, + n0, + _IJSnge, + 0, + (_me,), + ((INGESTION_JOB_SUMMARY, 0),), +) + +START_INGESTION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SIJI, + {_sSI: _cSIJR, _smit: None}, + (_kBI, _dSI, _cT, _d), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.DESCRIPTION, 0), + ), +) + +START_INGESTION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SIJO, + {_sSI: _cSIJRo, _smith: None}, + (_iJ,), + ((INGESTION_JOB, 1),), +) + +START_INGESTION_JOB: StaticOperationSchema = ( + 23, + n0, + _SIJ, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "PUT", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", + } + ) + }, + START_INGESTION_JOB_INPUT, + START_INGESTION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +STOP_INGESTION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SIJIt, + {_sSI: _cSIJRom, _smit: None}, + (_kBI, _dSI, _iJI), + ((lambda: schemas.ID, 9), (lambda: schemas.ID, 9), (lambda: schemas.ID, 9)), +) + +STOP_INGESTION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SIJOt, + {_sSI: _cSIJRoma, _smith: None}, + (_iJ,), + ((INGESTION_JOB, 1),), +) + +STOP_INGESTION_JOB: StaticOperationSchema = ( + 23, + n0, + _SIJt, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}/stop", + } + ) + }, + STOP_INGESTION_JOB_INPUT, + STOP_INGESTION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CUSTOM_DOCUMENT_IDENTIFIER: StaticSchema = (18, n0, _CDI, 0, (_id,), ((3, 1),)) + +CONTENT_DATA_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _CDST, + 0, + (_CUSTOM, _S), + ((-1, {_sV: _CUSTOM}), (-1, {_sV: _S})), +) + +DOCUMENT_IDENTIFIER: StaticSchema = ( + 18, + n0, + _DI, + 0, + (_dST, _s_, _cu), + ( + (CONTENT_DATA_SOURCE_TYPE, 1), + (lambda: schemas.S3_LOCATION, 0), + (CUSTOM_DOCUMENT_IDENTIFIER, 0), + ), +) + +DOCUMENT_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _DIo, + 0, + (_me,), + ((DOCUMENT_IDENTIFIER, 0),), +) + +DELETE_KNOWLEDGE_BASE_DOCUMENTS_INPUT: StaticSchema = ( + 18, + n0, + _DKBDI, + {_sSI: _cDKBDR, _smit: None}, + (_kBI, _dSI, _cT, _dI), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (DOCUMENT_IDENTIFIERS, 1), + ), +) + +DELETE_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DKBDO, + {_sSI: _cDKBDRo, _smith: None}, + (_dD,), + ((lambda: KNOWLEDGE_BASE_DOCUMENT_DETAILS, 0),), +) + +DELETE_KNOWLEDGE_BASE_DOCUMENTS: StaticOperationSchema = ( + 23, + n0, + _DKBD, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/deleteDocuments", + } + ) + }, + DELETE_KNOWLEDGE_BASE_DOCUMENTS_INPUT, + DELETE_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DOCUMENT_STATUS: StaticSchema = ( + 14, + n0, + _DSo, + 0, + ( + _INDEXED, + _PI, + _PENDING, + _FAILED, + _MPI, + _MUF, + _IGNORED, + _NF, + _STARTING, + _IP, + _DELETING, + _DIP, + ), + ( + (-1, {_sV: _INDEXED}), + (-1, {_sV: _PI}), + (-1, {_sV: _PENDING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _MPI}), + (-1, {_sV: _MUF}), + (-1, {_sV: _IGNORED}), + (-1, {_sV: _NF}), + (-1, {_sV: _STARTING}), + (-1, {_sV: _IP}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _DIP}), + ), +) + +KNOWLEDGE_BASE_DOCUMENT_DETAIL: StaticSchema = ( + 18, + n0, + _KBDD, + 0, + (_kBI, _dSI, _sta, _ide, _sR, _uA), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.ID, 1), + (DOCUMENT_STATUS, 1), + (DOCUMENT_IDENTIFIER, 1), + (3, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +KNOWLEDGE_BASE_DOCUMENT_DETAILS: StaticSchema = ( + 16, + n0, + _KBDDn, + 0, + (_me,), + ((KNOWLEDGE_BASE_DOCUMENT_DETAIL, 0),), +) + +GET_KNOWLEDGE_BASE_DOCUMENTS_INPUT: StaticSchema = ( + 18, + n0, + _GKBDI, + {_sSI: _cGKBDR, _smit: None}, + (_kBI, _dSI, _dI), + ((lambda: schemas.ID, 9), (lambda: schemas.ID, 9), (DOCUMENT_IDENTIFIERS, 1)), +) + +GET_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _GKBDO, + {_sSI: _cGKBDRo, _smith: None}, + (_dD,), + ((KNOWLEDGE_BASE_DOCUMENT_DETAILS, 0),), +) + +GET_KNOWLEDGE_BASE_DOCUMENTS: StaticOperationSchema = ( + 23, + n0, + _GKBD, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/getDocuments", + } + ) + }, + GET_KNOWLEDGE_BASE_DOCUMENTS_INPUT, + GET_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BYTE_CONTENT_BLOB: StaticSchema = (1, n0, _BCB, 4) + +BYTE_CONTENT_DOC: StaticSchema = ( + 18, + n0, + _BCD, + 0, + (_mTi, _dat), + ((3, 1), (BYTE_CONTENT_BLOB, 1)), +) + +DATA: StaticSchema = (3, n0, _Da, 4) + +TEXT_CONTENT_DOC: StaticSchema = (18, n0, _TCD, 0, (_dat,), ((DATA, 1),)) + +INLINE_CONTENT_TYPE: StaticSchema = ( + 14, + n0, + _ICT, + 0, + (_BYTE, _TEXT), + ((-1, {_sV: _BYTE}), (-1, {_sV: _TEXT})), +) + +INLINE_CONTENT: StaticSchema = ( + 18, + n0, + _ICnl, + 0, + (_t, _bC, _tCex), + ((INLINE_CONTENT_TYPE, 1), (BYTE_CONTENT_DOC, 0), (TEXT_CONTENT_DOC, 0)), +) + +S3_OBJECT_URI: StaticSchema = (3, n0, _SOU, 0) + +CUSTOM_S3_LOCATION: StaticSchema = ( + 18, + n0, + _CSL, + 0, + (_ur, _bOAI), + ((S3_OBJECT_URI, 1), (lambda: schemas.BUCKET_OWNER_ACCOUNT_ID, 0)), +) + +CUSTOM_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _CST, + 0, + (_IL, _SL_), + ((-1, {_sV: _IL}), (-1, {_sV: _SL_})), +) + +CUSTOM_CONTENT: StaticSchema = ( + 18, + n0, + _CCu, + 0, + (_cDI, _sTo, _sLo, _iCnl), + ( + (CUSTOM_DOCUMENT_IDENTIFIER, 1), + (CUSTOM_SOURCE_TYPE, 1), + (CUSTOM_S3_LOCATION, 0), + (INLINE_CONTENT, 0), + ), +) + +S3_CONTENT: StaticSchema = ( + 18, + n0, + _SC, + 0, + (_sLo,), + ((lambda: schemas.S3_LOCATION, 1),), +) + +DOCUMENT_CONTENT: StaticSchema = ( + 18, + n0, + _DCo, + 0, + (_dST, _cu, _s_), + ((CONTENT_DATA_SOURCE_TYPE, 1), (CUSTOM_CONTENT, 0), (S3_CONTENT, 0)), +) + +DOCUMENT_ACCESS_CONTROL_ENTRY: StaticSchema = ( + 18, + n0, + _DACE, + 4, + (_na, _t, _ac), + ( + (3, 1), + (lambda: schemas.ACCESS_CONTROL_PRINCIPAL_TYPE, 1), + (lambda: schemas.ACCESS_CONTROL_ACCESS, 1), + ), +) + +DOCUMENT_ACCESS_CONTROL_LIST: StaticSchema = ( + 16, + n0, + _DACL, + 0, + (_me,), + ((DOCUMENT_ACCESS_CONTROL_ENTRY, 0),), +) + +KEY: StaticSchema = (3, n0, _K, 4) + +NUMBER_VALUE: StaticSchema = (10, n0, _NVu, 4) + +STRING_VALUE: StaticSchema = (3, n0, _SV, 4) + +STRING_LIST_VALUE: StaticSchema = (16, n0, _SLV, 0, (_me,), ((STRING_VALUE, 0),)) + +METADATA_VALUE_TYPE: StaticSchema = ( + 14, + n0, + _MVT, + 0, + (_BOOLEAN, _NUMBER, _STRING, _SL__), + ( + (-1, {_sV: _BOOLEAN}), + (-1, {_sV: _NUMBER}), + (-1, {_sV: _STRING}), + (-1, {_sV: _SL__}), + ), +) + +METADATA_ATTRIBUTE_VALUE: StaticSchema = ( + 18, + n0, + _MAV, + 0, + (_t, _nV, _bV, _sVt, _sLV), + ( + (METADATA_VALUE_TYPE, 1), + (NUMBER_VALUE, 0), + (2, 0), + (STRING_VALUE, 0), + (STRING_LIST_VALUE, 0), + ), +) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_6.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_6.py new file mode 100644 index 000000000..60f8378e2 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_6.py @@ -0,0 +1,1111 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagent" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#sensitive" +_d = "description" +_t = "type" +_smi = "smithy.api#required" +_k = "key" +_v = "value" +_na = "name" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_aI = "agentId" +_sL = "smithy.api#httpLabel" +_aV = "agentVersion" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_mR = "maxResults" +_nT = "nextToken" +_kBI = "knowledgeBaseId" +_kBS = "knowledgeBaseState" +_cSA = "credentialsSecretArn" +_S = "S3" +_CUSTOM = "CUSTOM" +_sLo = "s3Location" +_sSEC = "serverSideEncryptionConfiguration" +_dSI = "dataSourceId" +_rAe = "resourceArn" +_mCo = "modelConfiguration" +_cont = "content" +_dD = "documentDetails" +_SL_ = "S3_LOCATION" +_MA = "MetadataAttribute" +_MAe = "MetadataAttributes" +_MST = "MetadataSourceType" +_ILA = "IN_LINE_ATTRIBUTE" +_DM = "DocumentMetadata" +_iA = "inlineAttributes" +_aCL = "accessControlList" +_KBD = "KnowledgeBaseDocument" +_meta = "metadata" +_KBDn = "KnowledgeBaseDocuments" +_IKBDI = "IngestKnowledgeBaseDocumentsInput" +_cIKBDR = "com.amazonaws.bedrockagent#IngestKnowledgeBaseDocumentsRequest" +_doc = "documents" +_IKBDO = "IngestKnowledgeBaseDocumentsOutput" +_cIKBDRo = "com.amazonaws.bedrockagent#IngestKnowledgeBaseDocumentsResponse" +_IKBD = "IngestKnowledgeBaseDocuments" +_LKBDI = "ListKnowledgeBaseDocumentsInput" +_cLKBDR = "com.amazonaws.bedrockagent#ListKnowledgeBaseDocumentsRequest" +_LKBDO = "ListKnowledgeBaseDocumentsOutput" +_cLKBDRo = "com.amazonaws.bedrockagent#ListKnowledgeBaseDocumentsResponse" +_LKBD = "ListKnowledgeBaseDocuments" +_AAKBI = "AssociateAgentKnowledgeBaseInput" +_cAAKBR = "com.amazonaws.bedrockagent#AssociateAgentKnowledgeBaseRequest" +_AAKBO = "AssociateAgentKnowledgeBaseOutput" +_cAAKBRo = "com.amazonaws.bedrockagent#AssociateAgentKnowledgeBaseResponse" +_aKB = "agentKnowledgeBase" +_AAKB = "AssociateAgentKnowledgeBase" +_KIA = "KendraIndexArn" +_KKBC = "KendraKnowledgeBaseConfiguration" +_kIA = "kendraIndexArn" +_BEMA = "BedrockEmbeddingModelArn" +_ASC = "AudioSegmentationConfiguration" +_fLD = "fixedLengthDuration" +_ACu = "AudioConfiguration" +_sCeg = "segmentationConfiguration" +_ACud = "AudioConfigurations" +_Di = "Dimensions" +_EDT = "EmbeddingDataType" +_FLOAT = "FLOAT32" +_BINARY = "BINARY" +_VSC = "VideoSegmentationConfiguration" +_VCi = "VideoConfiguration" +_VCid = "VideoConfigurations" +_BEMC = "BedrockEmbeddingModelConfiguration" +_di = "dimensions" +_eDT = "embeddingDataType" +_aud = "audio" +_vi = "video" +_EMC = "EmbeddingModelConfiguration" +_bEMC = "bedrockEmbeddingModelConfiguration" +_EMTm = "EmbeddingModelType" +_MANAGED = "MANAGED" +_SDSLT = "SupplementalDataStorageLocationType" +_SDSL = "SupplementalDataStorageLocation" +_SDSLu = "SupplementalDataStorageLocations" +_SDSCu = "SupplementalDataStorageConfiguration" +_sLt = "storageLocations" +_MKBCa = "ManagedKnowledgeBaseConfiguration" +_eMTm = "embeddingModelType" +_eMA = "embeddingModelArn" +_eMC = "embeddingModelConfiguration" +_sDSC = "supplementalDataStorageConfiguration" +_RPAT = "RedshiftProvisionedAuthType" +_IAM = "IAM" +_UP = "USERNAME_PASSWORD" +_USERNAME = "USERNAME" +_RPAC = "RedshiftProvisionedAuthConfiguration" +_dU = "databaseUser" +_uPSA = "usernamePasswordSecretArn" +_RCI = "RedshiftClusterIdentifier" +_RPC = "RedshiftProvisionedConfiguration" +_cIl = "clusterIdentifier" +_aCu = "authConfiguration" +_RSAT = "RedshiftServerlessAuthType" +_RSAC = "RedshiftServerlessAuthConfiguration" +_WA = "WorkgroupArn" +_RSC = "RedshiftServerlessConfiguration" +_wA = "workgroupArn" +_RQET = "RedshiftQueryEngineType" +_SERVERLESS = "SERVERLESS" +_PROVISIONED = "PROVISIONED" +_RQEC = "RedshiftQueryEngineConfiguration" +_sCer = "serverlessConfiguration" +_pCr = "provisionedConfiguration" +_QETS = "QueryExecutionTimeoutSeconds" +_NLS = "NaturalLanguageString" +_SSq = "SqlString" +_CQ = "CuratedQuery" +_nL = "naturalLanguage" +_sq = "sql" +_CQu = "CuratedQueries" +_DSe = "DescriptionString" +_IE = "IncludeExclude" +_INCLUDE = "INCLUDE" +_EXCLUDE = "EXCLUDE" +_QGCN = "QueryGenerationColumnName" +_QGC = "QueryGenerationColumn" +_inc = "inclusion" +_QGCu = "QueryGenerationColumns" +_QGTN = "QueryGenerationTableName" +_QGT = "QueryGenerationTable" +_col = "columns" +_QGTu = "QueryGenerationTables" +_QGCue = "QueryGenerationContext" +_tab = "tables" +_cQ = "curatedQueries" +_QGCuer = "QueryGenerationConfiguration" +_eTS = "executionTimeoutSeconds" +_gCe = "generationContext" +_ADCTN = "AwsDataCatalogTableName" +_ADCTNw = "AwsDataCatalogTableNames" +_RQEADCSC = "RedshiftQueryEngineAwsDataCatalogStorageConfiguration" +_tN = "tableNames" +_RD = "RedshiftDatabase" +_RQERSC = "RedshiftQueryEngineRedshiftStorageConfiguration" +_dNa = "databaseName" +_RQEST = "RedshiftQueryEngineStorageType" +_REDSHIFT = "REDSHIFT" +_ADC = "AWS_DATA_CATALOG" +_RQESC = "RedshiftQueryEngineStorageConfiguration" +_aDCC = "awsDataCatalogConfiguration" +_rCed = "redshiftConfiguration" +_RQESCe = "RedshiftQueryEngineStorageConfigurations" +_RCed = "RedshiftConfiguration" +_sCt = "storageConfigurations" +_qEC = "queryEngineConfiguration" +_qGC = "queryGenerationConfiguration" +_QET = "QueryEngineType" +_SKBC = "SqlKnowledgeBaseConfiguration" +_KBT = "KnowledgeBaseType" +_VECTOR = "VECTOR" +_KENDRA = "KENDRA" +_SQL = "SQL" +_VKBC = "VectorKnowledgeBaseConfiguration" +_KBC = "KnowledgeBaseConfiguration" +_vKBC = "vectorKnowledgeBaseConfiguration" +_mKBC = "managedKnowledgeBaseConfiguration" +_kKBC = "kendraKnowledgeBaseConfiguration" +_sKBC = "sqlKnowledgeBaseConfiguration" +_KBRA = "KnowledgeBaseRoleArn" +_MDACN = "MongoDbAtlasCollectionName" +_MDADN = "MongoDbAtlasDatabaseName" +_MDAE = "MongoDbAtlasEndpoint" +_MDAESN = "MongoDbAtlasEndpointServiceName" +_FNi = "FieldName" +_MDAFM = "MongoDbAtlasFieldMapping" +_vF = "vectorField" +_tFe = "textField" +_mF = "metadataField" +_MDAIN = "MongoDbAtlasIndexName" +_MDAC = "MongoDbAtlasConfiguration" +_en = "endpoint" +_cNo = "collectionName" +_vIN = "vectorIndexName" +_fMi = "fieldMapping" +_eSN = "endpointServiceName" +_tIN = "textIndexName" +_NAFM = "NeptuneAnalyticsFieldMapping" +_GAr = "GraphArn" +_NAC = "NeptuneAnalyticsConfiguration" +_gA = "graphArn" +_OSMCDA = "OpenSearchManagedClusterDomainArn" +_OSMCDE = "OpenSearchManagedClusterDomainEndpoint" +_OSMCFM = "OpenSearchManagedClusterFieldMapping" +_OSMCIN = "OpenSearchManagedClusterIndexName" +_OSMCC = "OpenSearchManagedClusterConfiguration" +_dE = "domainEndpoint" +_dA = "domainArn" +_OSSCA = "OpenSearchServerlessCollectionArn" +_OSSFM = "OpenSearchServerlessFieldMapping" +_OSSIN = "OpenSearchServerlessIndexName" +_OSSC = "OpenSearchServerlessConfiguration" +_cAo = "collectionArn" +_PCS = "PineconeConnectionString" +_PFM = "PineconeFieldMapping" +_PN = "PineconeNamespace" +_PCi = "PineconeConfiguration" +_cSo = "connectionString" +_nam = "namespace" +_RDN = "RdsDatabaseName" +_CN = "ColumnName" +_RFM = "RdsFieldMapping" +_pKF = "primaryKeyField" +_cMF = "customMetadataField" +_RAd = "RdsArn" +_RTN = "RdsTableName" +_RCd = "RdsConfiguration" +_tNa = "tableName" +_RECE = "RedisEnterpriseCloudEndpoint" +_RECFM = "RedisEnterpriseCloudFieldMapping" +_RECIN = "RedisEnterpriseCloudIndexName" +_RECC = "RedisEnterpriseCloudConfiguration" +_IA = "IndexArn" +_IN = "IndexName" +_VBA = "VectorBucketArn" + +METADATA_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _MA, + 0, + (_k, _v), + ((lambda: schemas.KEY, 1), (lambda: schemas.METADATA_ATTRIBUTE_VALUE, 1)), +) + +METADATA_ATTRIBUTES: StaticSchema = ( + 16, + n0, + _MAe, + 0, + (_me,), + ((METADATA_ATTRIBUTE, 0),), +) + +METADATA_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _MST, + 0, + (_ILA, _SL_), + ((-1, {_sV: _ILA}), (-1, {_sV: _SL_})), +) + +DOCUMENT_METADATA: StaticSchema = ( + 18, + n0, + _DM, + 0, + (_t, _iA, _sLo, _aCL), + ( + (METADATA_SOURCE_TYPE, 1), + (METADATA_ATTRIBUTES, 0), + (lambda: schemas.CUSTOM_S3_LOCATION, 0), + (lambda: schemas.DOCUMENT_ACCESS_CONTROL_LIST, 0), + ), +) + +KNOWLEDGE_BASE_DOCUMENT: StaticSchema = ( + 18, + n0, + _KBD, + 0, + (_meta, _cont), + ((DOCUMENT_METADATA, 0), (lambda: schemas.DOCUMENT_CONTENT, 1)), +) + +KNOWLEDGE_BASE_DOCUMENTS: StaticSchema = ( + 16, + n0, + _KBDn, + 0, + (_me,), + ((KNOWLEDGE_BASE_DOCUMENT, 0),), +) + +INGEST_KNOWLEDGE_BASE_DOCUMENTS_INPUT: StaticSchema = ( + 18, + n0, + _IKBDI, + {_sSI: _cIKBDR, _smit: None}, + (_kBI, _dSI, _cT, _doc), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (KNOWLEDGE_BASE_DOCUMENTS, 1), + ), +) + +INGEST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _IKBDO, + {_sSI: _cIKBDRo, _smith: None}, + (_dD,), + ((lambda: schemas.KNOWLEDGE_BASE_DOCUMENT_DETAILS, 0),), +) + +INGEST_KNOWLEDGE_BASE_DOCUMENTS: StaticOperationSchema = ( + 23, + n0, + _IKBD, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "PUT", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", + } + ) + }, + INGEST_KNOWLEDGE_BASE_DOCUMENTS_INPUT, + INGEST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_KNOWLEDGE_BASE_DOCUMENTS_INPUT: StaticSchema = ( + 18, + n0, + _LKBDI, + {_sSI: _cLKBDR, _smit: None}, + (_kBI, _dSI, _mR, _nT), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.ID, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LKBDO, + {_sSI: _cLKBDRo, _smith: None}, + (_dD, _nT), + ((lambda: schemas.KNOWLEDGE_BASE_DOCUMENT_DETAILS, 1), (3, 0)), +) + +LIST_KNOWLEDGE_BASE_DOCUMENTS: StaticOperationSchema = ( + 23, + n0, + _LKBD, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", + } + ) + }, + LIST_KNOWLEDGE_BASE_DOCUMENTS_INPUT, + LIST_KNOWLEDGE_BASE_DOCUMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT: StaticSchema = ( + 18, + n0, + _AAKBI, + {_sSI: _cAAKBR, _smit: None}, + (_aI, _aV, _kBI, _d, _kBS), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.DRAFT_VERSION, 9), + (lambda: schemas.ID, 1), + (lambda: schemas.DESCRIPTION, 1), + (lambda: schemas.KNOWLEDGE_BASE_STATE, 0), + ), +) + +ASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( + 18, + n0, + _AAKBO, + {_sSI: _cAAKBRo, _smith: None}, + (_aKB,), + ((lambda: schemas.AGENT_KNOWLEDGE_BASE, 1),), +) + +ASSOCIATE_AGENT_KNOWLEDGE_BASE: StaticOperationSchema = ( + 23, + n0, + _AAKB, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", + } + ) + }, + ASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT, + ASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +KENDRA_INDEX_ARN: StaticSchema = (3, n0, _KIA, 0) + +KENDRA_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KKBC, + 0, + (_kIA,), + ((KENDRA_INDEX_ARN, 1),), +) + +BEDROCK_EMBEDDING_MODEL_ARN: StaticSchema = (3, n0, _BEMA, 0) + +AUDIO_SEGMENTATION_CONFIGURATION: StaticSchema = (18, n0, _ASC, 0, (_fLD,), ((7, 1),)) + +AUDIO_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ACu, + 0, + (_sCeg,), + ((AUDIO_SEGMENTATION_CONFIGURATION, 1),), +) + +AUDIO_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _ACud, + 0, + (_me,), + ((AUDIO_CONFIGURATION, 0),), +) + +DIMENSIONS: StaticSchema = (7, n0, _Di, 0) + +EMBEDDING_DATA_TYPE: StaticSchema = ( + 14, + n0, + _EDT, + 0, + (_FLOAT, _BINARY), + ((-1, {_sV: _FLOAT}), (-1, {_sV: _BINARY})), +) + +VIDEO_SEGMENTATION_CONFIGURATION: StaticSchema = (18, n0, _VSC, 0, (_fLD,), ((7, 1),)) + +VIDEO_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VCi, + 0, + (_sCeg,), + ((VIDEO_SEGMENTATION_CONFIGURATION, 1),), +) + +VIDEO_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _VCid, + 0, + (_me,), + ((VIDEO_CONFIGURATION, 0),), +) + +BEDROCK_EMBEDDING_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BEMC, + 0, + (_di, _eDT, _aud, _vi, _mCo), + ( + (DIMENSIONS, 0), + (EMBEDDING_DATA_TYPE, 0), + (AUDIO_CONFIGURATIONS, 0), + (VIDEO_CONFIGURATIONS, 0), + (13, 0), + ), +) + +EMBEDDING_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EMC, + 0, + (_bEMC,), + ((BEDROCK_EMBEDDING_MODEL_CONFIGURATION, 0),), +) + +EMBEDDING_MODEL_TYPE: StaticSchema = ( + 14, + n0, + _EMTm, + 0, + (_CUSTOM, _MANAGED), + ((-1, {_sV: _CUSTOM}), (-1, {_sV: _MANAGED})), +) + +SUPPLEMENTAL_DATA_STORAGE_LOCATION_TYPE: StaticSchema = ( + 14, + n0, + _SDSLT, + 0, + (_S,), + ((-1, {_sV: _S}),), +) + +SUPPLEMENTAL_DATA_STORAGE_LOCATION: StaticSchema = ( + 18, + n0, + _SDSL, + 0, + (_t, _sLo), + ((SUPPLEMENTAL_DATA_STORAGE_LOCATION_TYPE, 1), (lambda: schemas.S3_LOCATION, 0)), +) + +SUPPLEMENTAL_DATA_STORAGE_LOCATIONS: StaticSchema = ( + 16, + n0, + _SDSLu, + 0, + (_me,), + ((SUPPLEMENTAL_DATA_STORAGE_LOCATION, 0),), +) + +SUPPLEMENTAL_DATA_STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SDSCu, + 0, + (_sLt,), + ((SUPPLEMENTAL_DATA_STORAGE_LOCATIONS, 1),), +) + +MANAGED_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MKBCa, + 0, + (_eMTm, _eMA, _eMC, _sSEC, _sDSC), + ( + (EMBEDDING_MODEL_TYPE, 0), + (BEDROCK_EMBEDDING_MODEL_ARN, 0), + (EMBEDDING_MODEL_CONFIGURATION, 0), + (lambda: schemas.SERVER_SIDE_ENCRYPTION_CONFIGURATION, 0), + (SUPPLEMENTAL_DATA_STORAGE_CONFIGURATION, 0), + ), +) + +REDSHIFT_PROVISIONED_AUTH_TYPE: StaticSchema = ( + 14, + n0, + _RPAT, + 0, + (_IAM, _UP, _USERNAME), + ((-1, {_sV: _IAM}), (-1, {_sV: _UP}), (-1, {_sV: _USERNAME})), +) + +REDSHIFT_PROVISIONED_AUTH_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RPAC, + 0, + (_t, _dU, _uPSA), + ((REDSHIFT_PROVISIONED_AUTH_TYPE, 1), (3, 0), (lambda: schemas.SECRET_ARN, 0)), +) + +REDSHIFT_CLUSTER_IDENTIFIER: StaticSchema = (3, n0, _RCI, 0) + +REDSHIFT_PROVISIONED_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RPC, + 0, + (_cIl, _aCu), + ((REDSHIFT_CLUSTER_IDENTIFIER, 1), (REDSHIFT_PROVISIONED_AUTH_CONFIGURATION, 1)), +) + +REDSHIFT_SERVERLESS_AUTH_TYPE: StaticSchema = ( + 14, + n0, + _RSAT, + 0, + (_IAM, _UP), + ((-1, {_sV: _IAM}), (-1, {_sV: _UP})), +) + +REDSHIFT_SERVERLESS_AUTH_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RSAC, + 0, + (_t, _uPSA), + ((REDSHIFT_SERVERLESS_AUTH_TYPE, 1), (lambda: schemas.SECRET_ARN, 0)), +) + +WORKGROUP_ARN: StaticSchema = (3, n0, _WA, 0) + +REDSHIFT_SERVERLESS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RSC, + 0, + (_wA, _aCu), + ((WORKGROUP_ARN, 1), (REDSHIFT_SERVERLESS_AUTH_CONFIGURATION, 1)), +) + +REDSHIFT_QUERY_ENGINE_TYPE: StaticSchema = ( + 14, + n0, + _RQET, + 0, + (_SERVERLESS, _PROVISIONED), + ((-1, {_sV: _SERVERLESS}), (-1, {_sV: _PROVISIONED})), +) + +REDSHIFT_QUERY_ENGINE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RQEC, + 0, + (_t, _sCer, _pCr), + ( + (REDSHIFT_QUERY_ENGINE_TYPE, 1), + (REDSHIFT_SERVERLESS_CONFIGURATION, 0), + (REDSHIFT_PROVISIONED_CONFIGURATION, 0), + ), +) + +QUERY_EXECUTION_TIMEOUT_SECONDS: StaticSchema = (7, n0, _QETS, 0) + +NATURAL_LANGUAGE_STRING: StaticSchema = (3, n0, _NLS, 0) + +SQL_STRING: StaticSchema = (3, n0, _SSq, 0) + +CURATED_QUERY: StaticSchema = ( + 18, + n0, + _CQ, + 0, + (_nL, _sq), + ((NATURAL_LANGUAGE_STRING, 1), (SQL_STRING, 1)), +) + +CURATED_QUERIES: StaticSchema = (16, n0, _CQu, 0, (_me,), ((CURATED_QUERY, 0),)) + +DESCRIPTION_STRING: StaticSchema = (3, n0, _DSe, 0) + +INCLUDE_EXCLUDE: StaticSchema = ( + 14, + n0, + _IE, + 0, + (_INCLUDE, _EXCLUDE), + ((-1, {_sV: _INCLUDE}), (-1, {_sV: _EXCLUDE})), +) + +QUERY_GENERATION_COLUMN_NAME: StaticSchema = (3, n0, _QGCN, 0) + +QUERY_GENERATION_COLUMN: StaticSchema = ( + 18, + n0, + _QGC, + 0, + (_na, _d, _inc), + ((QUERY_GENERATION_COLUMN_NAME, 0), (DESCRIPTION_STRING, 0), (INCLUDE_EXCLUDE, 0)), +) + +QUERY_GENERATION_COLUMNS: StaticSchema = ( + 16, + n0, + _QGCu, + 0, + (_me,), + ((QUERY_GENERATION_COLUMN, 0),), +) + +QUERY_GENERATION_TABLE_NAME: StaticSchema = (3, n0, _QGTN, 0) + +QUERY_GENERATION_TABLE: StaticSchema = ( + 18, + n0, + _QGT, + 0, + (_na, _d, _inc, _col), + ( + (QUERY_GENERATION_TABLE_NAME, 1), + (DESCRIPTION_STRING, 0), + (INCLUDE_EXCLUDE, 0), + (QUERY_GENERATION_COLUMNS, 0), + ), +) + +QUERY_GENERATION_TABLES: StaticSchema = ( + 16, + n0, + _QGTu, + 0, + (_me,), + ((QUERY_GENERATION_TABLE, 0),), +) + +QUERY_GENERATION_CONTEXT: StaticSchema = ( + 18, + n0, + _QGCue, + 4, + (_tab, _cQ), + ((QUERY_GENERATION_TABLES, 0), (CURATED_QUERIES, 0)), +) + +QUERY_GENERATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _QGCuer, + 0, + (_eTS, _gCe), + ((QUERY_EXECUTION_TIMEOUT_SECONDS, 0), (QUERY_GENERATION_CONTEXT, 0)), +) + +AWS_DATA_CATALOG_TABLE_NAME: StaticSchema = (3, n0, _ADCTN, 0) + +AWS_DATA_CATALOG_TABLE_NAMES: StaticSchema = ( + 16, + n0, + _ADCTNw, + 0, + (_me,), + ((AWS_DATA_CATALOG_TABLE_NAME, 0),), +) + +REDSHIFT_QUERY_ENGINE_AWS_DATA_CATALOG_STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RQEADCSC, + 0, + (_tN,), + ((AWS_DATA_CATALOG_TABLE_NAMES, 1),), +) + +REDSHIFT_DATABASE: StaticSchema = (3, n0, _RD, 0) + +REDSHIFT_QUERY_ENGINE_REDSHIFT_STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RQERSC, + 0, + (_dNa,), + ((REDSHIFT_DATABASE, 1),), +) + +REDSHIFT_QUERY_ENGINE_STORAGE_TYPE: StaticSchema = ( + 14, + n0, + _RQEST, + 0, + (_REDSHIFT, _ADC), + ((-1, {_sV: _REDSHIFT}), (-1, {_sV: _ADC})), +) + +REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RQESC, + 0, + (_t, _aDCC, _rCed), + ( + (REDSHIFT_QUERY_ENGINE_STORAGE_TYPE, 1), + (REDSHIFT_QUERY_ENGINE_AWS_DATA_CATALOG_STORAGE_CONFIGURATION, 0), + (REDSHIFT_QUERY_ENGINE_REDSHIFT_STORAGE_CONFIGURATION, 0), + ), +) + +REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _RQESCe, + 0, + (_me,), + ((REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATION, 0),), +) + +REDSHIFT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RCed, + 0, + (_sCt, _qEC, _qGC), + ( + (REDSHIFT_QUERY_ENGINE_STORAGE_CONFIGURATIONS, 1), + (REDSHIFT_QUERY_ENGINE_CONFIGURATION, 1), + (QUERY_GENERATION_CONFIGURATION, 0), + ), +) + +QUERY_ENGINE_TYPE: StaticSchema = ( + 14, + n0, + _QET, + 0, + (_REDSHIFT,), + ((-1, {_sV: _REDSHIFT}),), +) + +SQL_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SKBC, + 0, + (_t, _rCed), + ((QUERY_ENGINE_TYPE, 1), (REDSHIFT_CONFIGURATION, 0)), +) + +KNOWLEDGE_BASE_TYPE: StaticSchema = ( + 14, + n0, + _KBT, + 0, + (_VECTOR, _KENDRA, _SQL, _MANAGED), + ( + (-1, {_sV: _VECTOR}), + (-1, {_sV: _KENDRA}), + (-1, {_sV: _SQL}), + (-1, {_sV: _MANAGED}), + ), +) + +VECTOR_KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VKBC, + 0, + (_eMA, _eMC, _sDSC), + ( + (BEDROCK_EMBEDDING_MODEL_ARN, 1), + (EMBEDDING_MODEL_CONFIGURATION, 0), + (SUPPLEMENTAL_DATA_STORAGE_CONFIGURATION, 0), + ), +) + +KNOWLEDGE_BASE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBC, + 0, + (_t, _vKBC, _mKBC, _kKBC, _sKBC), + ( + (KNOWLEDGE_BASE_TYPE, 1), + (VECTOR_KNOWLEDGE_BASE_CONFIGURATION, 0), + (MANAGED_KNOWLEDGE_BASE_CONFIGURATION, 0), + (KENDRA_KNOWLEDGE_BASE_CONFIGURATION, 0), + (SQL_KNOWLEDGE_BASE_CONFIGURATION, 0), + ), +) + +KNOWLEDGE_BASE_ROLE_ARN: StaticSchema = (3, n0, _KBRA, 0) + +MONGO_DB_ATLAS_COLLECTION_NAME: StaticSchema = (3, n0, _MDACN, 0) + +MONGO_DB_ATLAS_DATABASE_NAME: StaticSchema = (3, n0, _MDADN, 0) + +MONGO_DB_ATLAS_ENDPOINT: StaticSchema = (3, n0, _MDAE, 0) + +MONGO_DB_ATLAS_ENDPOINT_SERVICE_NAME: StaticSchema = (3, n0, _MDAESN, 0) + +FIELD_NAME: StaticSchema = (3, n0, _FNi, 0) + +MONGO_DB_ATLAS_FIELD_MAPPING: StaticSchema = ( + 18, + n0, + _MDAFM, + 0, + (_vF, _tFe, _mF), + ((FIELD_NAME, 1), (FIELD_NAME, 1), (FIELD_NAME, 1)), +) + +MONGO_DB_ATLAS_INDEX_NAME: StaticSchema = (3, n0, _MDAIN, 0) + +MONGO_DB_ATLAS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MDAC, + 0, + (_en, _dNa, _cNo, _vIN, _cSA, _fMi, _eSN, _tIN), + ( + (MONGO_DB_ATLAS_ENDPOINT, 1), + (MONGO_DB_ATLAS_DATABASE_NAME, 1), + (MONGO_DB_ATLAS_COLLECTION_NAME, 1), + (MONGO_DB_ATLAS_INDEX_NAME, 1), + (lambda: schemas.SECRET_ARN, 1), + (MONGO_DB_ATLAS_FIELD_MAPPING, 1), + (MONGO_DB_ATLAS_ENDPOINT_SERVICE_NAME, 0), + (MONGO_DB_ATLAS_INDEX_NAME, 0), + ), +) + +NEPTUNE_ANALYTICS_FIELD_MAPPING: StaticSchema = ( + 18, + n0, + _NAFM, + 0, + (_tFe, _mF), + ((FIELD_NAME, 1), (FIELD_NAME, 1)), +) + +GRAPH_ARN: StaticSchema = (3, n0, _GAr, 4) + +NEPTUNE_ANALYTICS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _NAC, + 0, + (_gA, _fMi), + ((GRAPH_ARN, 1), (NEPTUNE_ANALYTICS_FIELD_MAPPING, 1)), +) + +OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ARN: StaticSchema = (3, n0, _OSMCDA, 0) + +OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ENDPOINT: StaticSchema = (3, n0, _OSMCDE, 0) + +OPEN_SEARCH_MANAGED_CLUSTER_FIELD_MAPPING: StaticSchema = ( + 18, + n0, + _OSMCFM, + 0, + (_vF, _tFe, _mF), + ((FIELD_NAME, 1), (FIELD_NAME, 1), (FIELD_NAME, 1)), +) + +OPEN_SEARCH_MANAGED_CLUSTER_INDEX_NAME: StaticSchema = (3, n0, _OSMCIN, 4) + +OPEN_SEARCH_MANAGED_CLUSTER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OSMCC, + 0, + (_dE, _dA, _vIN, _fMi), + ( + (OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ENDPOINT, 1), + (OPEN_SEARCH_MANAGED_CLUSTER_DOMAIN_ARN, 1), + (OPEN_SEARCH_MANAGED_CLUSTER_INDEX_NAME, 1), + (OPEN_SEARCH_MANAGED_CLUSTER_FIELD_MAPPING, 1), + ), +) + +OPEN_SEARCH_SERVERLESS_COLLECTION_ARN: StaticSchema = (3, n0, _OSSCA, 0) + +OPEN_SEARCH_SERVERLESS_FIELD_MAPPING: StaticSchema = ( + 18, + n0, + _OSSFM, + 0, + (_vF, _tFe, _mF), + ((FIELD_NAME, 1), (FIELD_NAME, 1), (FIELD_NAME, 1)), +) + +OPEN_SEARCH_SERVERLESS_INDEX_NAME: StaticSchema = (3, n0, _OSSIN, 0) + +OPEN_SEARCH_SERVERLESS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OSSC, + 0, + (_cAo, _vIN, _fMi), + ( + (OPEN_SEARCH_SERVERLESS_COLLECTION_ARN, 1), + (OPEN_SEARCH_SERVERLESS_INDEX_NAME, 1), + (OPEN_SEARCH_SERVERLESS_FIELD_MAPPING, 1), + ), +) + +PINECONE_CONNECTION_STRING: StaticSchema = (3, n0, _PCS, 0) + +PINECONE_FIELD_MAPPING: StaticSchema = ( + 18, + n0, + _PFM, + 0, + (_tFe, _mF), + ((FIELD_NAME, 1), (FIELD_NAME, 1)), +) + +PINECONE_NAMESPACE: StaticSchema = (3, n0, _PN, 0) + +PINECONE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCi, + 0, + (_cSo, _cSA, _nam, _fMi), + ( + (PINECONE_CONNECTION_STRING, 1), + (lambda: schemas.SECRET_ARN, 1), + (PINECONE_NAMESPACE, 0), + (PINECONE_FIELD_MAPPING, 1), + ), +) + +RDS_DATABASE_NAME: StaticSchema = (3, n0, _RDN, 0) + +COLUMN_NAME: StaticSchema = (3, n0, _CN, 0) + +RDS_FIELD_MAPPING: StaticSchema = ( + 18, + n0, + _RFM, + 0, + (_pKF, _vF, _tFe, _mF, _cMF), + ( + (COLUMN_NAME, 1), + (COLUMN_NAME, 1), + (COLUMN_NAME, 1), + (COLUMN_NAME, 1), + (COLUMN_NAME, 0), + ), +) + +RDS_ARN: StaticSchema = (3, n0, _RAd, 0) + +RDS_TABLE_NAME: StaticSchema = (3, n0, _RTN, 0) + +RDS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RCd, + 0, + (_rAe, _cSA, _dNa, _tNa, _fMi), + ( + (RDS_ARN, 1), + (lambda: schemas.SECRET_ARN, 1), + (RDS_DATABASE_NAME, 1), + (RDS_TABLE_NAME, 1), + (RDS_FIELD_MAPPING, 1), + ), +) + +REDIS_ENTERPRISE_CLOUD_ENDPOINT: StaticSchema = (3, n0, _RECE, 0) + +REDIS_ENTERPRISE_CLOUD_FIELD_MAPPING: StaticSchema = ( + 18, + n0, + _RECFM, + 0, + (_vF, _tFe, _mF), + ((FIELD_NAME, 1), (FIELD_NAME, 1), (FIELD_NAME, 1)), +) + +REDIS_ENTERPRISE_CLOUD_INDEX_NAME: StaticSchema = (3, n0, _RECIN, 0) + +REDIS_ENTERPRISE_CLOUD_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RECC, + 0, + (_en, _vIN, _cSA, _fMi), + ( + (REDIS_ENTERPRISE_CLOUD_ENDPOINT, 1), + (REDIS_ENTERPRISE_CLOUD_INDEX_NAME, 1), + (lambda: schemas.SECRET_ARN, 1), + (REDIS_ENTERPRISE_CLOUD_FIELD_MAPPING, 1), + ), +) + +INDEX_ARN: StaticSchema = (3, n0, _IA, 4) + +INDEX_NAME: StaticSchema = (3, n0, _IN, 4) + +VECTOR_BUCKET_ARN: StaticSchema = (3, n0, _VBA, 4) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_7.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_7.py new file mode 100644 index 000000000..f41efdf17 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_7.py @@ -0,0 +1,1245 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagent" +_sV = "smithy.api#enumValue" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_sm = "smithy.api#sensitive" +_STRING = "STRING" +_d = "description" +_t = "type" +_smi = "smithy.api#required" +_k = "key" +_v = "value" +_na = "name" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_aI = "agentId" +_sL = "smithy.api#httpLabel" +_aV = "agentVersion" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_cA = "createdAt" +_uA = "updatedAt" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_CREATING = "CREATING" +_DELETING = "DELETING" +_FAILED = "FAILED" +_UPDATING = "UPDATING" +_iC = "inferenceConfiguration" +_aMRF = "additionalModelRequestFields" +_cEKA = "customerEncryptionKeyArn" +_fR = "failureReasons" +_kBI = "knowledgeBaseId" +_kBS = "knowledgeBaseState" +_ta = "tags" +_ag = "agent" +_ve = "version" +_vI = "vpcId" +_rT = "resourceTarget" +_po = "port" +_pr = "protocol" +_rM = "resolutionMode" +_hH = "hostHeader" +_tSN = "tlsServerName" +_vCI = "vpcConfigurationId" +_sta = "status" +_DU = "DELETE_UNSUCCESSFUL" +_mI = "modelId" +_tT = "templateType" +_tCe = "templateConfiguration" +_KBn = "KnowledgeBase" +_id = "id" +_ar = "arn" +_iD = "includedData" +_sMt = "statusMessage" +_SL__ = "STRING_LIST" +_meta = "metadata" +_aKB = "agentKnowledgeBase" +_SVC = "S3VectorsConfiguration" +_vBA = "vectorBucketArn" +_iAn = "indexArn" +_iN = "indexName" +_KBST = "KnowledgeBaseStorageType" +_OS = "OPENSEARCH_SERVERLESS" +_PINECONE = "PINECONE" +_REC = "REDIS_ENTERPRISE_CLOUD" +_RDS = "RDS" +_MDA = "MONGO_DB_ATLAS" +_NA = "NEPTUNE_ANALYTICS" +_OMC = "OPENSEARCH_MANAGED_CLUSTER" +_SV_ = "S3_VECTORS" +_SCt = "StorageConfiguration" +_oSC = "opensearchServerlessConfiguration" +_oMCC = "opensearchManagedClusterConfiguration" +_pCi = "pineconeConfiguration" +_rECC = "redisEnterpriseCloudConfiguration" +_rCd = "rdsConfiguration" +_mDAC = "mongoDbAtlasConfiguration" +_nAC = "neptuneAnalyticsConfiguration" +_sVC = "s3VectorsConfiguration" +_CKBI = "CreateKnowledgeBaseInput" +_cCKBR = "com.amazonaws.bedrockagent#CreateKnowledgeBaseRequest" +_rAo = "roleArn" +_kBC = "knowledgeBaseConfiguration" +_sCto = "storageConfiguration" +_KBA = "KnowledgeBaseArn" +_MKN = "MetadataKeyName" +_SSe = "SearchableStatus" +_FT = "FieldType" +_MCe = "MetadataConfiguration" +_sea = "searchability" +_MCet = "MetadataConfigurations" +_KBSn = "KnowledgeBaseStatus" +_ACTIVE = "ACTIVE" +_UU = "UPDATE_UNSUCCESSFUL" +_kBA = "knowledgeBaseArn" +_mCet = "metadataConfigurations" +_CKBO = "CreateKnowledgeBaseOutput" +_cCKBRo = "com.amazonaws.bedrockagent#CreateKnowledgeBaseResponse" +_kB = "knowledgeBase" +_CKB = "CreateKnowledgeBase" +_DKBI = "DeleteKnowledgeBaseInput" +_cDKBR = "com.amazonaws.bedrockagent#DeleteKnowledgeBaseRequest" +_DKBO = "DeleteKnowledgeBaseOutput" +_cDKBRo = "com.amazonaws.bedrockagent#DeleteKnowledgeBaseResponse" +_DKB = "DeleteKnowledgeBase" +_DAKBI = "DisassociateAgentKnowledgeBaseInput" +_cDAKBR = "com.amazonaws.bedrockagent#DisassociateAgentKnowledgeBaseRequest" +_DAKBO = "DisassociateAgentKnowledgeBaseOutput" +_cDAKBRo = "com.amazonaws.bedrockagent#DisassociateAgentKnowledgeBaseResponse" +_DAKB = "DisassociateAgentKnowledgeBase" +_GAKBI = "GetAgentKnowledgeBaseInput" +_cGAKBR = "com.amazonaws.bedrockagent#GetAgentKnowledgeBaseRequest" +_GAKBO = "GetAgentKnowledgeBaseOutput" +_cGAKBRo = "com.amazonaws.bedrockagent#GetAgentKnowledgeBaseResponse" +_GAKB = "GetAgentKnowledgeBase" +_GKBI = "GetKnowledgeBaseInput" +_cGKBR = "com.amazonaws.bedrockagent#GetKnowledgeBaseRequest" +_GKBO = "GetKnowledgeBaseOutput" +_cGKBRo = "com.amazonaws.bedrockagent#GetKnowledgeBaseResponse" +_GKB = "GetKnowledgeBase" +_LAKBI = "ListAgentKnowledgeBasesInput" +_cLAKBR = "com.amazonaws.bedrockagent#ListAgentKnowledgeBasesRequest" +_LAKBO = "ListAgentKnowledgeBasesOutput" +_cLAKBRo = "com.amazonaws.bedrockagent#ListAgentKnowledgeBasesResponse" +_aKBS = "agentKnowledgeBaseSummaries" +_LAKB = "ListAgentKnowledgeBases" +_LKBI = "ListKnowledgeBasesInput" +_cLKBR = "com.amazonaws.bedrockagent#ListKnowledgeBasesRequest" +_KBSno = "KnowledgeBaseSummary" +_KBSnow = "KnowledgeBaseSummaries" +_LKBO = "ListKnowledgeBasesOutput" +_cLKBRo = "com.amazonaws.bedrockagent#ListKnowledgeBasesResponse" +_kBSn = "knowledgeBaseSummaries" +_LKB = "ListKnowledgeBases" +_UAKBI = "UpdateAgentKnowledgeBaseInput" +_cUAKBR = "com.amazonaws.bedrockagent#UpdateAgentKnowledgeBaseRequest" +_UAKBO = "UpdateAgentKnowledgeBaseOutput" +_cUAKBRo = "com.amazonaws.bedrockagent#UpdateAgentKnowledgeBaseResponse" +_UAKB = "UpdateAgentKnowledgeBase" +_UKBI = "UpdateKnowledgeBaseInput" +_cUKBR = "com.amazonaws.bedrockagent#UpdateKnowledgeBaseRequest" +_UKBO = "UpdateKnowledgeBaseOutput" +_cUKBRo = "com.amazonaws.bedrockagent#UpdateKnowledgeBaseResponse" +_UKB = "UpdateKnowledgeBase" +_LVCI = "ListVpcConfigurationsInput" +_cLVCR = "com.amazonaws.bedrockagent#ListVpcConfigurationsRequest" +_sFt = "statusFilter" +_VCSp = "VpcConfigurationSummary" +_VCSL = "VpcConfigurationSummaryList" +_LVCO = "ListVpcConfigurationsOutput" +_cLVCRo = "com.amazonaws.bedrockagent#ListVpcConfigurationsResponse" +_it = "items" +_LVC = "ListVpcConfigurations" +_PVN = "PromptVariantName" +_PDr = "PromptDescription" +_PNr = "PromptName" +_PAR = "PromptAgentResource" +_aIg = "agentIdentifier" +_PGAR = "PromptGenAiResource" +_PMK = "PromptMetadataKey" +_PMV = "PromptMetadataValue" +_PME = "PromptMetadataEntry" +_PML = "PromptMetadataList" +_PMIr = "PromptModelIdentifier" +_PV = "PromptVariant" +_gAR = "genAiResource" +_PVL = "PromptVariantList" +_CPI = "CreatePromptInput" +_cCPR = "com.amazonaws.bedrockagent#CreatePromptRequest" +_dV = "defaultVariant" +_var = "variants" +_PAr = "PromptArn" +_PIr = "PromptId" +_CPO = "CreatePromptOutput" +_cCPRo = "com.amazonaws.bedrockagent#CreatePromptResponse" +_CP = "CreatePrompt" +_PIro = "PromptIdentifier" +_CPVI = "CreatePromptVersionInput" +_cCPVR = "com.amazonaws.bedrockagent#CreatePromptVersionRequest" +_pI = "promptIdentifier" +_CPVO = "CreatePromptVersionOutput" +_cCPVRo = "com.amazonaws.bedrockagent#CreatePromptVersionResponse" +_CPV = "CreatePromptVersion" +_DPI = "DeletePromptInput" +_cDPR = "com.amazonaws.bedrockagent#DeletePromptRequest" +_pV = "promptVersion" +_DPO = "DeletePromptOutput" +_cDPRo = "com.amazonaws.bedrockagent#DeletePromptResponse" +_DP = "DeletePrompt" +_GPI = "GetPromptInput" +_cGPR = "com.amazonaws.bedrockagent#GetPromptRequest" +_GPO = "GetPromptOutput" +_cGPRo = "com.amazonaws.bedrockagent#GetPromptResponse" +_GP = "GetPrompt" +_LPI = "ListPromptsInput" +_cLPR = "com.amazonaws.bedrockagent#ListPromptsRequest" +_PSr = "PromptSummary" +_PSro = "PromptSummaries" +_LPO = "ListPromptsOutput" +_cLPRo = "com.amazonaws.bedrockagent#ListPromptsResponse" +_pSr = "promptSummaries" +_LP = "ListPrompts" +_UPI = "UpdatePromptInput" +_cUPR = "com.amazonaws.bedrockagent#UpdatePromptRequest" +_UPO = "UpdatePromptOutput" +_cUPRo = "com.amazonaws.bedrockagent#UpdatePromptResponse" +_UPp = "UpdatePrompt" + +S3_VECTORS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SVC, + 0, + (_vBA, _iAn, _iN), + ( + (lambda: schemas.VECTOR_BUCKET_ARN, 0), + (lambda: schemas.INDEX_ARN, 0), + (lambda: schemas.INDEX_NAME, 0), + ), +) + +KNOWLEDGE_BASE_STORAGE_TYPE: StaticSchema = ( + 14, + n0, + _KBST, + 0, + (_OS, _PINECONE, _REC, _RDS, _MDA, _NA, _OMC, _SV_), + ( + (-1, {_sV: _OS}), + (-1, {_sV: _PINECONE}), + (-1, {_sV: _REC}), + (-1, {_sV: _RDS}), + (-1, {_sV: _MDA}), + (-1, {_sV: _NA}), + (-1, {_sV: _OMC}), + (-1, {_sV: _SV_}), + ), +) + +STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCt, + 0, + (_t, _oSC, _oMCC, _pCi, _rECC, _rCd, _mDAC, _nAC, _sVC), + ( + (KNOWLEDGE_BASE_STORAGE_TYPE, 1), + (lambda: schemas.OPEN_SEARCH_SERVERLESS_CONFIGURATION, 0), + (lambda: schemas.OPEN_SEARCH_MANAGED_CLUSTER_CONFIGURATION, 0), + (lambda: schemas.PINECONE_CONFIGURATION, 0), + (lambda: schemas.REDIS_ENTERPRISE_CLOUD_CONFIGURATION, 0), + (lambda: schemas.RDS_CONFIGURATION, 0), + (lambda: schemas.MONGO_DB_ATLAS_CONFIGURATION, 0), + (lambda: schemas.NEPTUNE_ANALYTICS_CONFIGURATION, 0), + (S3_VECTORS_CONFIGURATION, 0), + ), +) + +CREATE_KNOWLEDGE_BASE_INPUT: StaticSchema = ( + 18, + n0, + _CKBI, + {_sSI: _cCKBR, _smit: None}, + (_cT, _na, _d, _rAo, _kBC, _sCto, _ta), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.KNOWLEDGE_BASE_ROLE_ARN, 1), + (lambda: schemas.KNOWLEDGE_BASE_CONFIGURATION, 1), + (STORAGE_CONFIGURATION, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( + 18, + n0, + _CKBO, + {_sSI: _cCKBRo, _smith: None}, + (_kB,), + ((lambda: KNOWLEDGE_BASE, 1),), +) + +CREATE_KNOWLEDGE_BASE: StaticOperationSchema = ( + 23, + n0, + _CKB, + { + _smithy: MappingProxyType( + {"code": 202, "method": "PUT", "uri": "/knowledgebases/"} + ) + }, + CREATE_KNOWLEDGE_BASE_INPUT, + CREATE_KNOWLEDGE_BASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +KNOWLEDGE_BASE_ARN: StaticSchema = (3, n0, _KBA, 0) + +METADATA_KEY_NAME: StaticSchema = (3, n0, _MKN, 4) + +SEARCHABLE_STATUS: StaticSchema = ( + 14, + n0, + _SSe, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +FIELD_TYPE: StaticSchema = ( + 14, + n0, + _FT, + 0, + (_STRING, _SL__), + ((-1, {_sV: _STRING}), (-1, {_sV: _SL__})), +) + +METADATA_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MCe, + 0, + (_na, _t, _sea), + ((METADATA_KEY_NAME, 1), (FIELD_TYPE, 1), (SEARCHABLE_STATUS, 1)), +) + +METADATA_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _MCet, + 0, + (_me,), + ((METADATA_CONFIGURATION, 0),), +) + +KNOWLEDGE_BASE_STATUS: StaticSchema = ( + 14, + n0, + _KBSn, + 0, + (_CREATING, _ACTIVE, _DELETING, _UPDATING, _FAILED, _DU, _UU), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _DU}), + (-1, {_sV: _UU}), + ), +) + +KNOWLEDGE_BASE: StaticSchema = ( + 18, + n0, + _KBn, + 0, + (_kBI, _na, _kBA, _d, _rAo, _kBC, _sCto, _sta, _cA, _uA, _fR, _mCet), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.NAME, 1), + (KNOWLEDGE_BASE_ARN, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.KNOWLEDGE_BASE_ROLE_ARN, 1), + (lambda: schemas.KNOWLEDGE_BASE_CONFIGURATION, 1), + (STORAGE_CONFIGURATION, 0), + (KNOWLEDGE_BASE_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.FAILURE_REASONS, 0), + (METADATA_CONFIGURATIONS, 0), + ), +) + +DELETE_KNOWLEDGE_BASE_INPUT: StaticSchema = ( + 18, + n0, + _DKBI, + {_sSI: _cDKBR, _smit: None}, + (_kBI,), + ((lambda: schemas.ID, 9),), +) + +DELETE_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( + 18, + n0, + _DKBO, + {_sSI: _cDKBRo, _smith: None}, + (_kBI, _sta), + ((lambda: schemas.ID, 1), (KNOWLEDGE_BASE_STATUS, 1)), +) + +DELETE_KNOWLEDGE_BASE: StaticOperationSchema = ( + 23, + n0, + _DKB, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/knowledgebases/{knowledgeBaseId}", + } + ) + }, + DELETE_KNOWLEDGE_BASE_INPUT, + DELETE_KNOWLEDGE_BASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DISASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT: StaticSchema = ( + 18, + n0, + _DAKBI, + {_sSI: _cDAKBR, _smit: None}, + (_aI, _aV, _kBI), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.DRAFT_VERSION, 9), + (lambda: schemas.ID, 9), + ), +) + +DISASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( + 18, + n0, + _DAKBO, + {_sSI: _cDAKBRo, _smith: None}, +) + +DISASSOCIATE_AGENT_KNOWLEDGE_BASE: StaticOperationSchema = ( + 23, + n0, + _DAKB, + { + _smithy: MappingProxyType( + { + "code": 204, + "method": "DELETE", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + } + ) + }, + DISASSOCIATE_AGENT_KNOWLEDGE_BASE_INPUT, + DISASSOCIATE_AGENT_KNOWLEDGE_BASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_AGENT_KNOWLEDGE_BASE_INPUT: StaticSchema = ( + 18, + n0, + _GAKBI, + {_sSI: _cGAKBR, _smit: None}, + (_aI, _aV, _kBI), + ((lambda: schemas.ID, 9), (lambda: schemas.VERSION, 9), (lambda: schemas.ID, 9)), +) + +GET_AGENT_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( + 18, + n0, + _GAKBO, + {_sSI: _cGAKBRo, _smith: None}, + (_aKB,), + ((lambda: schemas.AGENT_KNOWLEDGE_BASE, 1),), +) + +GET_AGENT_KNOWLEDGE_BASE: StaticOperationSchema = ( + 23, + n0, + _GAKB, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + } + ) + }, + GET_AGENT_KNOWLEDGE_BASE_INPUT, + GET_AGENT_KNOWLEDGE_BASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_KNOWLEDGE_BASE_INPUT: StaticSchema = ( + 18, + n0, + _GKBI, + {_sSI: _cGKBR, _smit: None}, + (_kBI,), + ((lambda: schemas.ID, 9),), +) + +GET_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( + 18, + n0, + _GKBO, + {_sSI: _cGKBRo, _smith: None}, + (_kB,), + ((KNOWLEDGE_BASE, 1),), +) + +GET_KNOWLEDGE_BASE: StaticOperationSchema = ( + 23, + n0, + _GKB, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/knowledgebases/{knowledgeBaseId}"} + ) + }, + GET_KNOWLEDGE_BASE_INPUT, + GET_KNOWLEDGE_BASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_AGENT_KNOWLEDGE_BASES_INPUT: StaticSchema = ( + 18, + n0, + _LAKBI, + {_sSI: _cLAKBR, _smit: None}, + (_aI, _aV, _mR, _nT), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.VERSION, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_AGENT_KNOWLEDGE_BASES_OUTPUT: StaticSchema = ( + 18, + n0, + _LAKBO, + {_sSI: _cLAKBRo, _smith: None}, + (_aKBS, _nT), + ( + (lambda: schemas.AGENT_KNOWLEDGE_BASE_SUMMARIES, 1), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_AGENT_KNOWLEDGE_BASES: StaticOperationSchema = ( + 23, + n0, + _LAKB, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", + } + ) + }, + LIST_AGENT_KNOWLEDGE_BASES_INPUT, + LIST_AGENT_KNOWLEDGE_BASES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_KNOWLEDGE_BASES_INPUT: StaticSchema = ( + 18, + n0, + _LKBI, + {_sSI: _cLKBR, _smit: None}, + (_mR, _nT), + ((lambda: schemas.MAX_RESULTS, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_KNOWLEDGE_BASES_OUTPUT: StaticSchema = ( + 18, + n0, + _LKBO, + {_sSI: _cLKBRo, _smith: None}, + (_kBSn, _nT), + ((lambda: KNOWLEDGE_BASE_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_KNOWLEDGE_BASES: StaticOperationSchema = ( + 23, + n0, + _LKB, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/knowledgebases/"} + ) + }, + LIST_KNOWLEDGE_BASES_INPUT, + LIST_KNOWLEDGE_BASES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +KNOWLEDGE_BASE_SUMMARY: StaticSchema = ( + 18, + n0, + _KBSno, + 0, + (_kBI, _na, _d, _sta, _uA), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (KNOWLEDGE_BASE_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +KNOWLEDGE_BASE_SUMMARIES: StaticSchema = ( + 16, + n0, + _KBSnow, + 0, + (_me,), + ((KNOWLEDGE_BASE_SUMMARY, 0),), +) + +UPDATE_AGENT_KNOWLEDGE_BASE_INPUT: StaticSchema = ( + 18, + n0, + _UAKBI, + {_sSI: _cUAKBR, _smit: None}, + (_aI, _aV, _kBI, _d, _kBS), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.DRAFT_VERSION, 9), + (lambda: schemas.ID, 9), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.KNOWLEDGE_BASE_STATE, 0), + ), +) + +UPDATE_AGENT_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( + 18, + n0, + _UAKBO, + {_sSI: _cUAKBRo, _smith: None}, + (_aKB,), + ((lambda: schemas.AGENT_KNOWLEDGE_BASE, 1),), +) + +UPDATE_AGENT_KNOWLEDGE_BASE: StaticOperationSchema = ( + 23, + n0, + _UAKB, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + } + ) + }, + UPDATE_AGENT_KNOWLEDGE_BASE_INPUT, + UPDATE_AGENT_KNOWLEDGE_BASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_KNOWLEDGE_BASE_INPUT: StaticSchema = ( + 18, + n0, + _UKBI, + {_sSI: _cUKBR, _smit: None}, + (_kBI, _na, _d, _rAo, _kBC, _sCto, _mCet), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.KNOWLEDGE_BASE_ROLE_ARN, 1), + (lambda: schemas.KNOWLEDGE_BASE_CONFIGURATION, 1), + (STORAGE_CONFIGURATION, 0), + (METADATA_CONFIGURATIONS, 0), + ), +) + +UPDATE_KNOWLEDGE_BASE_OUTPUT: StaticSchema = ( + 18, + n0, + _UKBO, + {_sSI: _cUKBRo, _smith: None}, + (_kB,), + ((KNOWLEDGE_BASE, 1),), +) + +UPDATE_KNOWLEDGE_BASE: StaticOperationSchema = ( + 23, + n0, + _UKB, + { + _smithy: MappingProxyType( + {"code": 202, "method": "PUT", "uri": "/knowledgebases/{knowledgeBaseId}"} + ) + }, + UPDATE_KNOWLEDGE_BASE_INPUT, + UPDATE_KNOWLEDGE_BASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_VPC_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LVCI, + {_sSI: _cLVCR, _smit: None}, + (_kBI, _sFt, _mR, _nT), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.VPC_CONFIGURATION_STATUS, {_sQ: _sta}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_VPC_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LVCO, + {_sSI: _cLVCRo, _smith: None}, + (_it, _nT), + ((lambda: VPC_CONFIGURATION_SUMMARY_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_VPC_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _LVC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/knowledgebases/{knowledgeBaseId}/vpcconfigurations/", + } + ) + }, + LIST_VPC_CONFIGURATIONS_INPUT, + LIST_VPC_CONFIGURATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +VPC_CONFIGURATION_SUMMARY: StaticSchema = ( + 18, + n0, + _VCSp, + 0, + (_vCI, _sta, _sMt, _vI, _rT, _po, _pr, _rM, _hH, _tSN, _na, _d, _cA), + ( + (lambda: schemas.VPC_CONFIGURATION_ID, 1), + (lambda: schemas.VPC_CONFIGURATION_STATUS, 1), + (lambda: schemas.VPC_CONFIGURATION_STATUS_MESSAGE, 0), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.RESOURCE_TARGET, 1), + (lambda: schemas.PORT, 1), + (lambda: schemas.VPC_PROTOCOL, 1), + (lambda: schemas.VPC_RESOLUTION_MODE, 1), + (lambda: schemas.HOST_HEADER, 0), + (lambda: schemas.TLS_SERVER_NAME, 0), + (lambda: schemas.VPC_CONFIGURATION_NAME, 0), + (lambda: schemas.VPC_CONFIGURATION_DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +VPC_CONFIGURATION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _VCSL, + 0, + (_me,), + ((VPC_CONFIGURATION_SUMMARY, 0),), +) + +PROMPT_VARIANT_NAME: StaticSchema = (3, n0, _PVN, 0) + +PROMPT_DESCRIPTION: StaticSchema = (3, n0, _PDr, 0) + +PROMPT_NAME: StaticSchema = (3, n0, _PNr, 0) + +PROMPT_AGENT_RESOURCE: StaticSchema = ( + 18, + n0, + _PAR, + 4, + (_aIg,), + ((lambda: schemas.AGENT_ALIAS_ARN, 1),), +) + +PROMPT_GEN_AI_RESOURCE: StaticSchema = ( + 19, + n0, + _PGAR, + 4, + (_ag,), + ((PROMPT_AGENT_RESOURCE, 0),), +) + +PROMPT_METADATA_KEY: StaticSchema = (3, n0, _PMK, 4) + +PROMPT_METADATA_VALUE: StaticSchema = (3, n0, _PMV, 4) + +PROMPT_METADATA_ENTRY: StaticSchema = ( + 18, + n0, + _PME, + 4, + (_k, _v), + ((PROMPT_METADATA_KEY, 1), (PROMPT_METADATA_VALUE, 1)), +) + +PROMPT_METADATA_LIST: StaticSchema = ( + 16, + n0, + _PML, + 4, + (_me,), + ((PROMPT_METADATA_ENTRY, 0),), +) + +PROMPT_MODEL_IDENTIFIER: StaticSchema = (3, n0, _PMIr, 0) + +PROMPT_VARIANT: StaticSchema = ( + 18, + n0, + _PV, + 4, + (_na, _tT, _tCe, _mI, _iC, _meta, _aMRF, _gAR), + ( + (PROMPT_VARIANT_NAME, 1), + (lambda: schemas.PROMPT_TEMPLATE_TYPE, 1), + (lambda: schemas.PROMPT_TEMPLATE_CONFIGURATION, 1), + (PROMPT_MODEL_IDENTIFIER, 0), + (lambda: schemas.PROMPT_INFERENCE_CONFIGURATION, 0), + (PROMPT_METADATA_LIST, 0), + (13, 0), + (PROMPT_GEN_AI_RESOURCE, 0), + ), +) + +PROMPT_VARIANT_LIST: StaticSchema = (16, n0, _PVL, 4, (_me,), ((PROMPT_VARIANT, 0),)) + +CREATE_PROMPT_INPUT: StaticSchema = ( + 18, + n0, + _CPI, + {_sSI: _cCPR, _smit: None}, + (_na, _d, _cEKA, _dV, _var, _cT, _ta), + ( + (PROMPT_NAME, 1), + (PROMPT_DESCRIPTION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (PROMPT_VARIANT_NAME, 0), + (PROMPT_VARIANT_LIST, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_PROMPT_OUTPUT: StaticSchema = ( + 18, + n0, + _CPO, + {_sSI: _cCPRo, _smith: None}, + (_na, _d, _cEKA, _dV, _var, _id, _ar, _ve, _cA, _uA), + ( + (PROMPT_NAME, 1), + (PROMPT_DESCRIPTION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (PROMPT_VARIANT_NAME, 0), + (PROMPT_VARIANT_LIST, 0), + (lambda: PROMPT_ID, 1), + (lambda: PROMPT_ARN, 1), + (lambda: schemas.VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +CREATE_PROMPT: StaticOperationSchema = ( + 23, + n0, + _CP, + {_smithy: MappingProxyType({"code": 201, "method": "POST", "uri": "/prompts/"})}, + CREATE_PROMPT_INPUT, + CREATE_PROMPT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PROMPT_ARN: StaticSchema = (3, n0, _PAr, 0) + +PROMPT_ID: StaticSchema = (3, n0, _PIr, 0) + +PROMPT_IDENTIFIER: StaticSchema = (3, n0, _PIro, 0) + +CREATE_PROMPT_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CPVI, + {_sSI: _cCPVR, _smit: None}, + (_pI, _d, _cT, _ta), + ( + (PROMPT_IDENTIFIER, 9), + (PROMPT_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_PROMPT_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CPVO, + {_sSI: _cCPVRo, _smith: None}, + (_na, _d, _cEKA, _dV, _var, _id, _ar, _ve, _cA, _uA), + ( + (PROMPT_NAME, 1), + (PROMPT_DESCRIPTION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (PROMPT_VARIANT_NAME, 0), + (PROMPT_VARIANT_LIST, 0), + (PROMPT_ID, 1), + (PROMPT_ARN, 1), + (lambda: schemas.VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +CREATE_PROMPT_VERSION: StaticOperationSchema = ( + 23, + n0, + _CPV, + { + _smithy: MappingProxyType( + { + "code": 201, + "method": "POST", + "uri": "/prompts/{promptIdentifier}/versions", + } + ) + }, + CREATE_PROMPT_VERSION_INPUT, + CREATE_PROMPT_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_PROMPT_INPUT: StaticSchema = ( + 18, + n0, + _DPI, + {_sSI: _cDPR, _smit: None}, + (_pI, _pV), + ((PROMPT_IDENTIFIER, 9), (lambda: schemas.NUMERICAL_VERSION, {_sQ: _pV})), +) + +DELETE_PROMPT_OUTPUT: StaticSchema = ( + 18, + n0, + _DPO, + {_sSI: _cDPRo, _smith: None}, + (_id, _ve), + ((PROMPT_ID, 1), (lambda: schemas.NUMERICAL_VERSION, 0)), +) + +DELETE_PROMPT: StaticOperationSchema = ( + 23, + n0, + _DP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/prompts/{promptIdentifier}/"} + ) + }, + DELETE_PROMPT_INPUT, + DELETE_PROMPT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_PROMPT_INPUT: StaticSchema = ( + 18, + n0, + _GPI, + {_sSI: _cGPR, _smit: None}, + (_pI, _pV, _iD), + ( + (PROMPT_IDENTIFIER, 9), + (lambda: schemas.VERSION, {_sQ: _pV}), + (lambda: schemas.INCLUDED_DATA, {_sQ: _iD}), + ), +) + +GET_PROMPT_OUTPUT: StaticSchema = ( + 18, + n0, + _GPO, + {_sSI: _cGPRo, _smith: None}, + (_na, _d, _cEKA, _dV, _var, _id, _ar, _ve, _cA, _uA), + ( + (PROMPT_NAME, 1), + (PROMPT_DESCRIPTION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (PROMPT_VARIANT_NAME, 0), + (PROMPT_VARIANT_LIST, 0), + (PROMPT_ID, 1), + (PROMPT_ARN, 1), + (lambda: schemas.VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +GET_PROMPT: StaticOperationSchema = ( + 23, + n0, + _GP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/prompts/{promptIdentifier}/"} + ) + }, + GET_PROMPT_INPUT, + GET_PROMPT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_PROMPTS_INPUT: StaticSchema = ( + 18, + n0, + _LPI, + {_sSI: _cLPR, _smit: None}, + (_pI, _mR, _nT), + ( + (PROMPT_IDENTIFIER, {_sQ: _pI}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_PROMPTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPO, + {_sSI: _cLPRo, _smith: None}, + (_pSr, _nT), + ((lambda: PROMPT_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_PROMPTS: StaticOperationSchema = ( + 23, + n0, + _LP, + {_smithy: MappingProxyType({"code": 200, "method": "GET", "uri": "/prompts/"})}, + LIST_PROMPTS_INPUT, + LIST_PROMPTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PROMPT_SUMMARY: StaticSchema = ( + 18, + n0, + _PSr, + 0, + (_na, _d, _id, _ar, _ve, _cA, _uA), + ( + (PROMPT_NAME, 1), + (PROMPT_DESCRIPTION, 0), + (PROMPT_ID, 1), + (PROMPT_ARN, 1), + (lambda: schemas.VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +PROMPT_SUMMARIES: StaticSchema = (16, n0, _PSro, 0, (_me,), ((PROMPT_SUMMARY, 0),)) + +UPDATE_PROMPT_INPUT: StaticSchema = ( + 18, + n0, + _UPI, + {_sSI: _cUPR, _smit: None}, + (_na, _d, _cEKA, _dV, _var, _pI), + ( + (PROMPT_NAME, 1), + (PROMPT_DESCRIPTION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (PROMPT_VARIANT_NAME, 0), + (PROMPT_VARIANT_LIST, 0), + (PROMPT_IDENTIFIER, 9), + ), +) + +UPDATE_PROMPT_OUTPUT: StaticSchema = ( + 18, + n0, + _UPO, + {_sSI: _cUPRo, _smith: None}, + (_na, _d, _cEKA, _dV, _var, _id, _ar, _ve, _cA, _uA), + ( + (PROMPT_NAME, 1), + (PROMPT_DESCRIPTION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (PROMPT_VARIANT_NAME, 0), + (PROMPT_VARIANT_LIST, 0), + (PROMPT_ID, 1), + (PROMPT_ARN, 1), + (lambda: schemas.VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +UPDATE_PROMPT: StaticOperationSchema = ( + 23, + n0, + _UPp, + { + _smithy: MappingProxyType( + {"code": 200, "method": "PUT", "uri": "/prompts/{promptIdentifier}/"} + ) + }, + UPDATE_PROMPT_INPUT, + UPDATE_PROMPT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_8.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_8.py new file mode 100644 index 000000000..1561d7020 --- /dev/null +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/_private/schemas_8.py @@ -0,0 +1,1163 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagent" +_sV = "smithy.api#enumValue" +_m = "message" +_sm = "smithy.api#sensitive" +_d = "description" +_smi = "smithy.api#required" +_na = "name" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_aI = "agentId" +_sL = "smithy.api#httpLabel" +_aV = "agentVersion" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_cA = "createdAt" +_uA = "updatedAt" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sRIUC = "skipResourceInUseCheck" +_smithya = "smithy.api#default" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_in = "instruction" +_aSg = "agentStatus" +_cEKA = "customerEncryptionKeyArn" +_ta = "tags" +_ve = "version" +_CF = "CREATE_FAILED" +_sta = "status" +_rAe = "resourceArn" +_eRI = "expectedRevisionId" +_rI = "revisionId" +_cod = "code" +_fN = "fieldName" +_fI = "flowIdentifier" +_id = "id" +_ar = "arn" +_pol = "policy" +_ACTIVE = "ACTIVE" +_PRPI = "PutResourcePolicyInput" +_cPRPR = "com.amazonaws.bedrockagent#PutResourcePolicyRequest" +_PRPO = "PutResourcePolicyOutput" +_cPRPRo = "com.amazonaws.bedrockagent#PutResourcePolicyResponse" +_PRP = "PutResourcePolicy" +_RID = "RetrievalInstructionDescription" +_RIFT = "RetrievalInstructionFieldText" +_RIC = "RetrievalInstructionContent" +_rG = "retrievalGuidance" +_pe = "persona" +_aF = "answerFormat" +_aP = "answerPolicy" +_RIN = "RetrievalInstructionName" +_CRII = "CreateRetrievalInstructionInput" +_cCRIR = "com.amazonaws.bedrockagent#CreateRetrievalInstructionRequest" +_RILTS = "RetrievalInstructionLastTransitionStatus" +_CS_ = "CREATE_SUCCESSFUL" +_US = "UPDATE_SUCCESSFUL" +_UF = "UPDATE_FAILED" +_RIA = "RetrievalInstructionArn" +_RII = "RetrievalInstructionId" +_RIS = "RetrievalInstructionStatus" +_INACTIVE = "INACTIVE" +_CRIO = "CreateRetrievalInstructionOutput" +_cCRIRo = "com.amazonaws.bedrockagent#CreateRetrievalInstructionResponse" +_rII = "retrievalInstructionId" +_rIA = "retrievalInstructionArn" +_lTS = "lastTransitionStatus" +_CRI = "CreateRetrievalInstruction" +_CRIVI = "CreateRetrievalInstructionVersionInput" +_cCRIVR = "com.amazonaws.bedrockagent#CreateRetrievalInstructionVersionRequest" +_RINV = "RetrievalInstructionNumericalVersion" +_CRIVO = "CreateRetrievalInstructionVersionOutput" +_cCRIVRo = "com.amazonaws.bedrockagent#CreateRetrievalInstructionVersionResponse" +_CRIV = "CreateRetrievalInstructionVersion" +_DRII = "DeleteRetrievalInstructionInput" +_cDRIR = "com.amazonaws.bedrockagent#DeleteRetrievalInstructionRequest" +_rIV = "retrievalInstructionVersion" +_DRIO = "DeleteRetrievalInstructionOutput" +_cDRIRo = "com.amazonaws.bedrockagent#DeleteRetrievalInstructionResponse" +_DRI = "DeleteRetrievalInstruction" +_RIVS = "RetrievalInstructionVersionSelector" +_GRII = "GetRetrievalInstructionInput" +_cGRIR = "com.amazonaws.bedrockagent#GetRetrievalInstructionRequest" +_RIFRC = "RetrievalInstructionFailureReasonCode" +_CR_ = "CONTENT_REJECTED" +_CE_ = "CLIENT_ERROR" +_IE_ = "INTERNAL_ERROR" +_RIFN = "RetrievalInstructionFieldName" +_RG = "RETRIEVAL_GUIDANCE" +_PERSONA = "PERSONA" +_AF = "ANSWER_FORMAT" +_AP = "ANSWER_POLICY" +_RIFR = "RetrievalInstructionFailureReason" +_RIFRe = "RetrievalInstructionFailureReasons" +_GRIO = "GetRetrievalInstructionOutput" +_cGRIRo = "com.amazonaws.bedrockagent#GetRetrievalInstructionResponse" +_lTSR = "lastTransitionStatusReasons" +_lV = "latestVersion" +_GRI = "GetRetrievalInstruction" +_RIMR = "RetrievalInstructionMaxResults" +_LRII = "ListRetrievalInstructionsInput" +_cLRIR = "com.amazonaws.bedrockagent#ListRetrievalInstructionsRequest" +_RISe = "RetrievalInstructionSummary" +_RISet = "RetrievalInstructionSummaries" +_LRIO = "ListRetrievalInstructionsOutput" +_cLRIRo = "com.amazonaws.bedrockagent#ListRetrievalInstructionsResponse" +_rIS = "retrievalInstructionSummaries" +_LRI = "ListRetrievalInstructions" +_LRIVI = "ListRetrievalInstructionVersionsInput" +_cLRIVR = "com.amazonaws.bedrockagent#ListRetrievalInstructionVersionsRequest" +_RIVSe = "RetrievalInstructionVersionSummary" +_RIVSet = "RetrievalInstructionVersionSummaries" +_LRIVO = "ListRetrievalInstructionVersionsOutput" +_cLRIVRo = "com.amazonaws.bedrockagent#ListRetrievalInstructionVersionsResponse" +_rIVS = "retrievalInstructionVersionSummaries" +_LRIV = "ListRetrievalInstructionVersions" +_URII = "UpdateRetrievalInstructionInput" +_cURIR = "com.amazonaws.bedrockagent#UpdateRetrievalInstructionRequest" +_URIO = "UpdateRetrievalInstructionOutput" +_cURIRo = "com.amazonaws.bedrockagent#UpdateRetrievalInstructionResponse" +_URI = "UpdateRetrievalInstruction" +_TRA = "TaggableResourcesArn" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.bedrockagent#ListTagsForResourceRequest" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.bedrockagent#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.bedrockagent#TagResourceRequest" +_TRO = "TagResourceOutput" +_cTRRo = "com.amazonaws.bedrockagent#TagResourceResponse" +_TR = "TagResource" +_TKL = "TagKeyList" +_URIn = "UntagResourceInput" +_cURR = "com.amazonaws.bedrockagent#UntagResourceRequest" +_tKa = "tagKeys" +_URO = "UntagResourceOutput" +_cURRo = "com.amazonaws.bedrockagent#UntagResourceResponse" +_UR = "UntagResource" +_VFDO = "ValidateFlowDefinitionOutput" +_cVFDR = "com.amazonaws.bedrockagent#ValidateFlowDefinitionResponse" +_val = "validations" +_DAVI = "DeleteAgentVersionInput" +_cDAVR = "com.amazonaws.bedrockagent#DeleteAgentVersionRequest" +_DAVO = "DeleteAgentVersionOutput" +_cDAVRo = "com.amazonaws.bedrockagent#DeleteAgentVersionResponse" +_DAV = "DeleteAgentVersion" +_GAVI = "GetAgentVersionInput" +_cGAVR = "com.amazonaws.bedrockagent#GetAgentVersionRequest" +_GAVO = "GetAgentVersionOutput" +_cGAVRo = "com.amazonaws.bedrockagent#GetAgentVersionResponse" +_GAV = "GetAgentVersion" +_LAVI = "ListAgentVersionsInput" +_cLAVR = "com.amazonaws.bedrockagent#ListAgentVersionsRequest" +_LAVO = "ListAgentVersionsOutput" +_cLAVRo = "com.amazonaws.bedrockagent#ListAgentVersionsResponse" +_aVS = "agentVersionSummaries" +_LAV = "ListAgentVersions" +_def = "definition" +_CFI = "CreateFlowInput" +_cCFR = "com.amazonaws.bedrockagent#CreateFlowRequest" +_eRA = "executionRoleArn" +_CFO = "CreateFlowOutput" +_cCFRo = "com.amazonaws.bedrockagent#CreateFlowResponse" +_UFI = "UpdateFlowInput" +_cUFR = "com.amazonaws.bedrockagent#UpdateFlowRequest" +_UFO = "UpdateFlowOutput" +_cUFRo = "com.amazonaws.bedrockagent#UpdateFlowResponse" +_VFDI = "ValidateFlowDefinitionInput" +_cVFDRo = "com.amazonaws.bedrockagent#ValidateFlowDefinitionRequest" +_VFD = "ValidateFlowDefinition" +_CFr = "CreateFlow" +_UFp = "UpdateFlow" +_ABABTL = "AmazonBedrockAgentBuildTimeLambda" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" +_smithyap = "smithy.api#cors" + +PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_sSI: _cPRPR, _smit: None}, + (_rAe, _pol, _eRI), + ( + (lambda: schemas.RESOURCE_ARN, 9), + (lambda: schemas.RESOURCE_POLICY, 1), + (lambda: schemas.REVISION_ID, 0), + ), +) + +PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPO, + {_sSI: _cPRPRo, _smith: None}, + (_rAe, _rI), + ((lambda: schemas.RESOURCE_ARN, 1), (lambda: schemas.REVISION_ID, 1)), +) + +PUT_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "PUT", "uri": "/resourcepolicy/{resourceArn}"} + ) + }, + PUT_RESOURCE_POLICY_INPUT, + PUT_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVAL_INSTRUCTION_DESCRIPTION: StaticSchema = (3, n0, _RID, 4) + +RETRIEVAL_INSTRUCTION_FIELD_TEXT: StaticSchema = (3, n0, _RIFT, 4) + +RETRIEVAL_INSTRUCTION_CONTENT: StaticSchema = ( + 18, + n0, + _RIC, + 4, + (_rG, _pe, _aF, _aP), + ( + (RETRIEVAL_INSTRUCTION_FIELD_TEXT, 0), + (RETRIEVAL_INSTRUCTION_FIELD_TEXT, 0), + (RETRIEVAL_INSTRUCTION_FIELD_TEXT, 0), + (RETRIEVAL_INSTRUCTION_FIELD_TEXT, 0), + ), +) + +RETRIEVAL_INSTRUCTION_NAME: StaticSchema = (3, n0, _RIN, 4) + +CREATE_RETRIEVAL_INSTRUCTION_INPUT: StaticSchema = ( + 18, + n0, + _CRII, + {_sSI: _cCRIR, _smit: None}, + (_cT, _na, _in, _d, _cEKA, _ta), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (RETRIEVAL_INSTRUCTION_NAME, 1), + (RETRIEVAL_INSTRUCTION_CONTENT, 1), + (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_RETRIEVAL_INSTRUCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CRIO, + {_sSI: _cCRIRo, _smith: None}, + (_rII, _rIA, _na, _sta, _lTS, _cA, _uA), + ( + (lambda: RETRIEVAL_INSTRUCTION_ID, 1), + (lambda: RETRIEVAL_INSTRUCTION_ARN, 1), + (RETRIEVAL_INSTRUCTION_NAME, 1), + (lambda: RETRIEVAL_INSTRUCTION_STATUS, 1), + (lambda: RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +CREATE_RETRIEVAL_INSTRUCTION: StaticOperationSchema = ( + 23, + n0, + _CRI, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/retrievalinstructions/"} + ) + }, + CREATE_RETRIEVAL_INSTRUCTION_INPUT, + CREATE_RETRIEVAL_INSTRUCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS: StaticSchema = ( + 14, + n0, + _RILTS, + 0, + (_CREATING, _UPDATING, _CS_, _CF, _US, _UF), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _CS_}), + (-1, {_sV: _CF}), + (-1, {_sV: _US}), + (-1, {_sV: _UF}), + ), +) + +RETRIEVAL_INSTRUCTION_ARN: StaticSchema = (3, n0, _RIA, 0) + +RETRIEVAL_INSTRUCTION_ID: StaticSchema = (3, n0, _RII, 0) + +RETRIEVAL_INSTRUCTION_STATUS: StaticSchema = ( + 14, + n0, + _RIS, + 0, + (_ACTIVE, _INACTIVE), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _INACTIVE})), +) + +CREATE_RETRIEVAL_INSTRUCTION_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CRIVI, + {_sSI: _cCRIVR, _smit: None}, + (_rII, _d, _cT), + ( + (RETRIEVAL_INSTRUCTION_ID, 9), + (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_RETRIEVAL_INSTRUCTION_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CRIVO, + {_sSI: _cCRIVRo, _smith: None}, + (_rII, _rIA, _ve, _cA, _d), + ( + (RETRIEVAL_INSTRUCTION_ID, 1), + (RETRIEVAL_INSTRUCTION_ARN, 1), + (lambda: RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), + ), +) + +CREATE_RETRIEVAL_INSTRUCTION_VERSION: StaticOperationSchema = ( + 23, + n0, + _CRIV, + { + _smithy: MappingProxyType( + { + "code": 201, + "method": "POST", + "uri": "/retrievalinstructions/{retrievalInstructionId}/versions", + } + ) + }, + CREATE_RETRIEVAL_INSTRUCTION_VERSION_INPUT, + CREATE_RETRIEVAL_INSTRUCTION_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION: StaticSchema = (3, n0, _RINV, 0) + +DELETE_RETRIEVAL_INSTRUCTION_INPUT: StaticSchema = ( + 18, + n0, + _DRII, + {_sSI: _cDRIR, _smit: None}, + (_rII, _rIV), + ( + (RETRIEVAL_INSTRUCTION_ID, 9), + (RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, {_sQ: _rIV}), + ), +) + +DELETE_RETRIEVAL_INSTRUCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DRIO, + {_sSI: _cDRIRo, _smith: None}, + (_rII, _rIA, _ve), + ( + (RETRIEVAL_INSTRUCTION_ID, 1), + (RETRIEVAL_INSTRUCTION_ARN, 1), + (RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, 0), + ), +) + +DELETE_RETRIEVAL_INSTRUCTION: StaticOperationSchema = ( + 23, + n0, + _DRI, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/retrievalinstructions/{retrievalInstructionId}", + } + ) + }, + DELETE_RETRIEVAL_INSTRUCTION_INPUT, + DELETE_RETRIEVAL_INSTRUCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVAL_INSTRUCTION_VERSION_SELECTOR: StaticSchema = (3, n0, _RIVS, 0) + +GET_RETRIEVAL_INSTRUCTION_INPUT: StaticSchema = ( + 18, + n0, + _GRII, + {_sSI: _cGRIR, _smit: None}, + (_rII, _rIV), + ( + (RETRIEVAL_INSTRUCTION_ID, 9), + (RETRIEVAL_INSTRUCTION_VERSION_SELECTOR, {_sQ: _rIV}), + ), +) + +GET_RETRIEVAL_INSTRUCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GRIO, + {_sSI: _cGRIRo, _smith: None}, + (_rII, _rIA, _na, _sta, _lTS, _in, _cA, _uA, _d, _cEKA, _lTSR, _ve, _lV), + ( + (RETRIEVAL_INSTRUCTION_ID, 1), + (RETRIEVAL_INSTRUCTION_ARN, 1), + (RETRIEVAL_INSTRUCTION_NAME, 1), + (RETRIEVAL_INSTRUCTION_STATUS, 1), + (RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS, 1), + (RETRIEVAL_INSTRUCTION_CONTENT, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: RETRIEVAL_INSTRUCTION_FAILURE_REASONS, 0), + (RETRIEVAL_INSTRUCTION_VERSION_SELECTOR, 0), + (RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, 0), + ), +) + +GET_RETRIEVAL_INSTRUCTION: StaticOperationSchema = ( + 23, + n0, + _GRI, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/retrievalinstructions/{retrievalInstructionId}", + } + ) + }, + GET_RETRIEVAL_INSTRUCTION_INPUT, + GET_RETRIEVAL_INSTRUCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVAL_INSTRUCTION_FAILURE_REASON_CODE: StaticSchema = ( + 14, + n0, + _RIFRC, + 0, + (_CR_, _CE_, _IE_), + ((-1, {_sV: _CR_}), (-1, {_sV: _CE_}), (-1, {_sV: _IE_})), +) + +RETRIEVAL_INSTRUCTION_FIELD_NAME: StaticSchema = ( + 14, + n0, + _RIFN, + 0, + (_RG, _PERSONA, _AF, _AP), + ((-1, {_sV: _RG}), (-1, {_sV: _PERSONA}), (-1, {_sV: _AF}), (-1, {_sV: _AP})), +) + +RETRIEVAL_INSTRUCTION_FAILURE_REASON: StaticSchema = ( + 18, + n0, + _RIFR, + 0, + (_fN, _cod, _m), + ( + (RETRIEVAL_INSTRUCTION_FIELD_NAME, 0), + (RETRIEVAL_INSTRUCTION_FAILURE_REASON_CODE, 1), + (3, 1), + ), +) + +RETRIEVAL_INSTRUCTION_FAILURE_REASONS: StaticSchema = ( + 16, + n0, + _RIFRe, + 0, + (_me,), + ((RETRIEVAL_INSTRUCTION_FAILURE_REASON, 0),), +) + +RETRIEVAL_INSTRUCTION_MAX_RESULTS: StaticSchema = (7, n0, _RIMR, 0) + +LIST_RETRIEVAL_INSTRUCTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LRII, + {_sSI: _cLRIR, _smit: None}, + (_sta, _mR, _nT), + ( + (RETRIEVAL_INSTRUCTION_STATUS, {_sQ: _sta}), + (RETRIEVAL_INSTRUCTION_MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_RETRIEVAL_INSTRUCTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRIO, + {_sSI: _cLRIRo, _smith: None}, + (_rIS, _nT), + ((lambda: RETRIEVAL_INSTRUCTION_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_RETRIEVAL_INSTRUCTIONS: StaticOperationSchema = ( + 23, + n0, + _LRI, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/retrievalinstructions/"} + ) + }, + LIST_RETRIEVAL_INSTRUCTIONS_INPUT, + LIST_RETRIEVAL_INSTRUCTIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVAL_INSTRUCTION_SUMMARY: StaticSchema = ( + 18, + n0, + _RISe, + 0, + (_rII, _rIA, _na, _sta, _lTS, _cA, _uA, _d), + ( + (RETRIEVAL_INSTRUCTION_ID, 1), + (RETRIEVAL_INSTRUCTION_ARN, 1), + (RETRIEVAL_INSTRUCTION_NAME, 1), + (RETRIEVAL_INSTRUCTION_STATUS, 1), + (RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), + ), +) + +RETRIEVAL_INSTRUCTION_SUMMARIES: StaticSchema = ( + 16, + n0, + _RISet, + 0, + (_me,), + ((RETRIEVAL_INSTRUCTION_SUMMARY, 0),), +) + +LIST_RETRIEVAL_INSTRUCTION_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LRIVI, + {_sSI: _cLRIVR, _smit: None}, + (_rII, _mR, _nT), + ( + (RETRIEVAL_INSTRUCTION_ID, 9), + (RETRIEVAL_INSTRUCTION_MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_RETRIEVAL_INSTRUCTION_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRIVO, + {_sSI: _cLRIVRo, _smith: None}, + (_rIVS, _nT), + ( + (lambda: RETRIEVAL_INSTRUCTION_VERSION_SUMMARIES, 1), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_RETRIEVAL_INSTRUCTION_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LRIV, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/retrievalinstructions/{retrievalInstructionId}/versions", + } + ) + }, + LIST_RETRIEVAL_INSTRUCTION_VERSIONS_INPUT, + LIST_RETRIEVAL_INSTRUCTION_VERSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVAL_INSTRUCTION_VERSION_SUMMARY: StaticSchema = ( + 18, + n0, + _RIVSe, + 0, + (_ve, _cA), + ((RETRIEVAL_INSTRUCTION_NUMERICAL_VERSION, 1), (lambda: schemas.DATE_TIMESTAMP, 1)), +) + +RETRIEVAL_INSTRUCTION_VERSION_SUMMARIES: StaticSchema = ( + 16, + n0, + _RIVSet, + 0, + (_me,), + ((RETRIEVAL_INSTRUCTION_VERSION_SUMMARY, 0),), +) + +UPDATE_RETRIEVAL_INSTRUCTION_INPUT: StaticSchema = ( + 18, + n0, + _URII, + {_sSI: _cURIR, _smit: None}, + (_rII, _in, _d), + ( + (RETRIEVAL_INSTRUCTION_ID, 9), + (RETRIEVAL_INSTRUCTION_CONTENT, 1), + (RETRIEVAL_INSTRUCTION_DESCRIPTION, 0), + ), +) + +UPDATE_RETRIEVAL_INSTRUCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _URIO, + {_sSI: _cURIRo, _smith: None}, + (_rII, _rIA, _na, _sta, _lTS, _cA, _uA), + ( + (RETRIEVAL_INSTRUCTION_ID, 1), + (RETRIEVAL_INSTRUCTION_ARN, 1), + (RETRIEVAL_INSTRUCTION_NAME, 1), + (RETRIEVAL_INSTRUCTION_STATUS, 1), + (RETRIEVAL_INSTRUCTION_LAST_TRANSITION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +UPDATE_RETRIEVAL_INSTRUCTION: StaticOperationSchema = ( + 23, + n0, + _URI, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "PUT", + "uri": "/retrievalinstructions/{retrievalInstructionId}", + } + ) + }, + UPDATE_RETRIEVAL_INSTRUCTION_INPUT, + UPDATE_RETRIEVAL_INSTRUCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAGGABLE_RESOURCES_ARN: StaticSchema = (3, n0, _TRA, 0) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _smit: None}, + (_rAe,), + ((TAGGABLE_RESOURCES_ARN, 9),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smith: None}, + (_ta,), + ((lambda: schemas.TAGS_MAP, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/tags/{resourceArn}"} + ) + }, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smit: None}, + (_rAe, _ta), + ((TAGGABLE_RESOURCES_ARN, 9), (lambda: schemas.TAGS_MAP, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smith: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/tags/{resourceArn}"} + ) + }, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URIn, + {_sSI: _cURR, _smit: None}, + (_rAe, _tKa), + ((TAGGABLE_RESOURCES_ARN, 9), (TAG_KEY_LIST, {_sQ: _tKa, _smi: None})), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smith: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/tags/{resourceArn}"} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +VALIDATE_FLOW_DEFINITION_OUTPUT: StaticSchema = ( + 18, + n0, + _VFDO, + {_sSI: _cVFDR, _smith: None}, + (_val,), + ((lambda: schemas.FLOW_VALIDATIONS, 1),), +) + +VALIDATE_FLOW_DEFINITION_INPUT: StaticSchema = ( + 18, + n0, + _VFDI, + {_sSI: _cVFDRo, _smit: None}, + (_def,), + ((lambda: schemas.FLOW_DEFINITION, 1),), +) + +VALIDATE_FLOW_DEFINITION: StaticOperationSchema = ( + 23, + n0, + _VFD, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/flows/validate-definition"} + ) + }, + VALIDATE_FLOW_DEFINITION_INPUT, + VALIDATE_FLOW_DEFINITION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_AGENT_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _DAVI, + {_sSI: _cDAVR, _smit: None}, + (_aI, _aV, _sRIUC), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.NUMERICAL_VERSION, 9), + (2, {_smithya: False, _sQ: _sRIUC}), + ), +) + +DELETE_AGENT_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DAVO, + {_sSI: _cDAVRo, _smith: None}, + (_aI, _aV, _aSg), + ( + (lambda: schemas.ID, 1), + (lambda: schemas.NUMERICAL_VERSION, 1), + (lambda: schemas.AGENT_STATUS, 1), + ), +) + +DELETE_AGENT_VERSION: StaticOperationSchema = ( + 23, + n0, + _DAV, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/", + } + ) + }, + DELETE_AGENT_VERSION_INPUT, + DELETE_AGENT_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_AGENT_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _GAVI, + {_sSI: _cGAVR, _smit: None}, + (_aI, _aV), + ((lambda: schemas.ID, 9), (lambda: schemas.NUMERICAL_VERSION, 9)), +) + +GET_AGENT_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GAVO, + {_sSI: _cGAVRo, _smith: None}, + (_aV,), + ((lambda: schemas.AGENT_VERSION, 1),), +) + +GET_AGENT_VERSION: StaticOperationSchema = ( + 23, + n0, + _GAV, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/agents/{agentId}/agentversions/{agentVersion}/", + } + ) + }, + GET_AGENT_VERSION_INPUT, + GET_AGENT_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_AGENT_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LAVI, + {_sSI: _cLAVR, _smit: None}, + (_aI, _mR, _nT), + ( + (lambda: schemas.ID, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_AGENT_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAVO, + {_sSI: _cLAVRo, _smith: None}, + (_aVS, _nT), + ((lambda: schemas.AGENT_VERSION_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_AGENT_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LAV, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/agents/{agentId}/agentversions/"} + ) + }, + LIST_AGENT_VERSIONS_INPUT, + LIST_AGENT_VERSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREATE_FLOW_INPUT: StaticSchema = ( + 18, + n0, + _CFI, + {_sSI: _cCFR, _smit: None}, + (_na, _d, _eRA, _cEKA, _def, _cT, _ta), + ( + (lambda: schemas.FLOW_NAME, 1), + (lambda: schemas.FLOW_DESCRIPTION, 0), + (lambda: schemas.FLOW_EXECUTION_ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.FLOW_DEFINITION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_FLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _CFO, + {_sSI: _cCFRo, _smith: None}, + (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _uA, _ve, _def), + ( + (lambda: schemas.FLOW_NAME, 1), + (lambda: schemas.FLOW_DESCRIPTION, 0), + (lambda: schemas.FLOW_EXECUTION_ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.FLOW_ID, 1), + (lambda: schemas.FLOW_ARN, 1), + (lambda: schemas.FLOW_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DRAFT_VERSION, 1), + (lambda: schemas.FLOW_DEFINITION, 0), + ), +) + +CREATE_FLOW: StaticOperationSchema = ( + 23, + n0, + _CFr, + {_smithy: MappingProxyType({"code": 201, "method": "POST", "uri": "/flows/"})}, + CREATE_FLOW_INPUT, + CREATE_FLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_FLOW_INPUT: StaticSchema = ( + 18, + n0, + _UFI, + {_sSI: _cUFR, _smit: None}, + (_na, _d, _eRA, _cEKA, _def, _fI), + ( + (lambda: schemas.FLOW_NAME, 1), + (lambda: schemas.FLOW_DESCRIPTION, 0), + (lambda: schemas.FLOW_EXECUTION_ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.FLOW_DEFINITION, 0), + (lambda: schemas.FLOW_IDENTIFIER, 9), + ), +) + +UPDATE_FLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _UFO, + {_sSI: _cUFRo, _smith: None}, + (_na, _d, _eRA, _cEKA, _id, _ar, _sta, _cA, _uA, _ve, _def), + ( + (lambda: schemas.FLOW_NAME, 1), + (lambda: schemas.FLOW_DESCRIPTION, 0), + (lambda: schemas.FLOW_EXECUTION_ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.FLOW_ID, 1), + (lambda: schemas.FLOW_ARN, 1), + (lambda: schemas.FLOW_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DRAFT_VERSION, 1), + (lambda: schemas.FLOW_DEFINITION, 0), + ), +) + +UPDATE_FLOW: StaticOperationSchema = ( + 23, + n0, + _UFp, + { + _smithy: MappingProxyType( + {"code": 200, "method": "PUT", "uri": "/flows/{flowIdentifier}/"} + ) + }, + UPDATE_FLOW_INPUT, + UPDATE_FLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AMAZON_BEDROCK_AGENT_BUILD_TIME_LAMBDA: StaticSchema = ( + 21, + n0, + _ABABTL, + { + _aw: MappingProxyType({"name": "bedrock"}), + _aws: MappingProxyType( + { + "sdkId": "Bedrock Agent", + "arnNamespace": "bedrock", + "endpointPrefix": "bedrock-agent", + "cloudTrailEventSource": "bedrock.amazonaws.com", + } + ), + _aJ: None, + _smithyap: MappingProxyType( + { + "additionalAllowedHeaders": ( + "*", + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id", + "x-amzn-trace-id", + ), + "additionalExposedHeaders": ( + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id", + ), + "maxAge": 86400, + } + ), + }, +) diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/aio/client.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/aio/client.py index 90876a933..804655391 100644 --- a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/aio/client.py +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/aio/config.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/aio/config.py index 5632c6f0d..d15950a63 100644 --- a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/aio/config.py +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/client.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/client.py index 78e98e549..f311e372f 100644 --- a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/client.py +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/config.py b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/config.py index fc128141d..3537bd76d 100644 --- a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/config.py +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/models.pyi b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/models.pyi index e154e0351..47fa8f3e8 100644 --- a/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/models.pyi +++ b/clients/aws-sdk-bedrock-agent/src/aws_sdk_bedrock_agent/models.pyi @@ -1,17 +1,669 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self from smithy_core.deserializers import ShapeDeserializer -from smithy_core.documents import Document from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import JsonString, UnknownEnumMixin + +from ._private.models_0 import ( + AccessControlAccess as AccessControlAccess, + AccessControlPrincipalType as AccessControlPrincipalType, + AccessDeniedException as AccessDeniedException, + ActionGroupExecutorLambda as ActionGroupExecutorLambda, + ActionGroupExecutorCustomControl as ActionGroupExecutorCustomControl, + ActionGroupExecutorUnknown as ActionGroupExecutorUnknown, + ActionGroupExecutor as ActionGroupExecutor, + _ActionGroupExecutorDeserializer as _ActionGroupExecutorDeserializer, + ActionGroupSignature as ActionGroupSignature, + ActionGroupState as ActionGroupState, + ActionGroupSummary as ActionGroupSummary, + Agent as Agent, + AgentActionGroup as AgentActionGroup, + AgentAlias as AgentAlias, + AgentAliasHistoryEvent as AgentAliasHistoryEvent, + AgentAliasRoutingConfigurationListItem as AgentAliasRoutingConfigurationListItem, + AgentAliasStatus as AgentAliasStatus, + AgentAliasSummary as AgentAliasSummary, + AgentCollaboration as AgentCollaboration, + AgentCollaborator as AgentCollaborator, + AgentCollaboratorSummary as AgentCollaboratorSummary, + AgentDescriptor as AgentDescriptor, + AgentFlowNodeConfiguration as AgentFlowNodeConfiguration, + AgentKnowledgeBase as AgentKnowledgeBase, + AgentKnowledgeBaseSummary as AgentKnowledgeBaseSummary, + AgentStatus as AgentStatus, + AgentSummary as AgentSummary, + AgentVersion as AgentVersion, + AgentVersionSummary as AgentVersionSummary, + AliasInvocationState as AliasInvocationState, + AnyToolChoice as AnyToolChoice, + APISchemaS3 as APISchemaS3, + APISchemaPayload as APISchemaPayload, + APISchemaUnknown as APISchemaUnknown, + APISchema as APISchema, + _APISchemaDeserializer as _APISchemaDeserializer, + AssociateAgentCollaboratorInput as AssociateAgentCollaboratorInput, + AssociateAgentCollaboratorOutput as AssociateAgentCollaboratorOutput, + AssociateAgentKnowledgeBaseInput as AssociateAgentKnowledgeBaseInput, + AssociateAgentKnowledgeBaseOutput as AssociateAgentKnowledgeBaseOutput, + AudioConfiguration as AudioConfiguration, + AudioExtractionConfiguration as AudioExtractionConfiguration, + AudioSegmentationConfiguration as AudioSegmentationConfiguration, + AutoToolChoice as AutoToolChoice, + BedrockDataAutomationConfiguration as BedrockDataAutomationConfiguration, + BedrockEmbeddingModelConfiguration as BedrockEmbeddingModelConfiguration, + BedrockFoundationModelConfiguration as BedrockFoundationModelConfiguration, + BedrockFoundationModelContextEnrichmentConfiguration as BedrockFoundationModelContextEnrichmentConfiguration, + ByteContentDoc as ByteContentDoc, + CachePointBlock as CachePointBlock, + CachePointType as CachePointType, + ChatPromptTemplateConfiguration as ChatPromptTemplateConfiguration, + ChunkingConfiguration as ChunkingConfiguration, + ChunkingStrategy as ChunkingStrategy, + CollectorFlowNodeConfiguration as CollectorFlowNodeConfiguration, + ConcurrencyType as ConcurrencyType, + ConditionFlowNodeConfiguration as ConditionFlowNodeConfiguration, + ConflictException as ConflictException, + ConfluenceAuthType as ConfluenceAuthType, + ConfluenceCrawlerConfiguration as ConfluenceCrawlerConfiguration, + ConfluenceDataSourceConfiguration as ConfluenceDataSourceConfiguration, + ConfluenceHostType as ConfluenceHostType, + ConfluenceSourceConfiguration as ConfluenceSourceConfiguration, + ContentBlockText as ContentBlockText, + ContentBlockCachePoint as ContentBlockCachePoint, + ContentBlockUnknown as ContentBlockUnknown, + ContentBlock as ContentBlock, + _ContentBlockDeserializer as _ContentBlockDeserializer, + ContentDataSourceType as ContentDataSourceType, + ContextEnrichmentConfiguration as ContextEnrichmentConfiguration, + ContextEnrichmentType as ContextEnrichmentType, + ConversationRole as ConversationRole, + CrawlFilterConfiguration as CrawlFilterConfiguration, + CrawlFilterConfigurationType as CrawlFilterConfigurationType, + CreateAgentActionGroupInput as CreateAgentActionGroupInput, + CreateAgentActionGroupOutput as CreateAgentActionGroupOutput, + CreateAgentAliasInput as CreateAgentAliasInput, + CreateAgentAliasOutput as CreateAgentAliasOutput, + CreateAgentInput as CreateAgentInput, + CreateAgentOutput as CreateAgentOutput, + CreateDataSourceInput as CreateDataSourceInput, + CreateDataSourceOutput as CreateDataSourceOutput, + CreateFlowAliasInput as CreateFlowAliasInput, + CreateFlowAliasOutput as CreateFlowAliasOutput, + CreateFlowInput as CreateFlowInput, + CreateFlowOutput as CreateFlowOutput, + CreateFlowVersionInput as CreateFlowVersionInput, + CreateFlowVersionOutput as CreateFlowVersionOutput, + CreateKnowledgeBaseInput as CreateKnowledgeBaseInput, + CreateKnowledgeBaseOutput as CreateKnowledgeBaseOutput, + CreatePromptInput as CreatePromptInput, + CreatePromptOutput as CreatePromptOutput, + CreatePromptVersionInput as CreatePromptVersionInput, + CreatePromptVersionOutput as CreatePromptVersionOutput, + CreateRetrievalInstructionInput as CreateRetrievalInstructionInput, + CreateRetrievalInstructionOutput as CreateRetrievalInstructionOutput, + CreateRetrievalInstructionVersionInput as CreateRetrievalInstructionVersionInput, + CreateRetrievalInstructionVersionOutput as CreateRetrievalInstructionVersionOutput, + CreateVpcConfigurationInput as CreateVpcConfigurationInput, + CreateVpcConfigurationOutput as CreateVpcConfigurationOutput, + CreationMode as CreationMode, + CuratedQuery as CuratedQuery, + CustomContent as CustomContent, + CustomControlMethod as CustomControlMethod, + CustomDocumentIdentifier as CustomDocumentIdentifier, + CustomOrchestration as CustomOrchestration, + CustomS3Location as CustomS3Location, + CustomSourceType as CustomSourceType, + CustomTransformationConfiguration as CustomTransformationConfiguration, + CyclicConnectionFlowValidationDetails as CyclicConnectionFlowValidationDetails, + DailySchedule as DailySchedule, + DataDeletionPolicy as DataDeletionPolicy, + DataSource as DataSource, + DataSourceConfiguration as DataSourceConfiguration, + DataSourceStatus as DataSourceStatus, + DataSourceSummary as DataSourceSummary, + DataSourceType as DataSourceType, + DayOfMonthDayNumber as DayOfMonthDayNumber, + DayOfMonthLastDayOfMonth as DayOfMonthLastDayOfMonth, + DayOfMonthUnknown as DayOfMonthUnknown, + DayOfMonth as DayOfMonth, + _DayOfMonthDeserializer as _DayOfMonthDeserializer, + DayOfWeek as DayOfWeek, + DeleteAgentActionGroupInput as DeleteAgentActionGroupInput, + DeleteAgentActionGroupOutput as DeleteAgentActionGroupOutput, + DeleteAgentAliasInput as DeleteAgentAliasInput, + DeleteAgentAliasOutput as DeleteAgentAliasOutput, + DeleteAgentInput as DeleteAgentInput, + DeleteAgentOutput as DeleteAgentOutput, + DeleteAgentVersionInput as DeleteAgentVersionInput, + DeleteAgentVersionOutput as DeleteAgentVersionOutput, + DeleteDataSourceInput as DeleteDataSourceInput, + DeleteDataSourceOutput as DeleteDataSourceOutput, + DeleteFlowAliasInput as DeleteFlowAliasInput, + DeleteFlowAliasOutput as DeleteFlowAliasOutput, + DeleteFlowInput as DeleteFlowInput, + DeleteFlowOutput as DeleteFlowOutput, + DeleteFlowVersionInput as DeleteFlowVersionInput, + DeleteFlowVersionOutput as DeleteFlowVersionOutput, + DeleteKnowledgeBaseDocumentsInput as DeleteKnowledgeBaseDocumentsInput, + DeleteKnowledgeBaseDocumentsOutput as DeleteKnowledgeBaseDocumentsOutput, + DeleteKnowledgeBaseInput as DeleteKnowledgeBaseInput, + DeleteKnowledgeBaseOutput as DeleteKnowledgeBaseOutput, + DeletePromptInput as DeletePromptInput, + DeletePromptOutput as DeletePromptOutput, + DeleteResourcePolicyInput as DeleteResourcePolicyInput, + DeleteResourcePolicyOutput as DeleteResourcePolicyOutput, + DeleteRetrievalInstructionInput as DeleteRetrievalInstructionInput, + DeleteRetrievalInstructionOutput as DeleteRetrievalInstructionOutput, + DeleteVpcConfigurationInput as DeleteVpcConfigurationInput, + DeleteVpcConfigurationOutput as DeleteVpcConfigurationOutput, + DeletionProtectionConfiguration as DeletionProtectionConfiguration, + DisassociateAgentCollaboratorInput as DisassociateAgentCollaboratorInput, + DisassociateAgentCollaboratorOutput as DisassociateAgentCollaboratorOutput, + DisassociateAgentKnowledgeBaseInput as DisassociateAgentKnowledgeBaseInput, + DisassociateAgentKnowledgeBaseOutput as DisassociateAgentKnowledgeBaseOutput, + DocumentAccessControlEntry as DocumentAccessControlEntry, + DocumentContent as DocumentContent, + DocumentIdentifier as DocumentIdentifier, + DocumentMetadata as DocumentMetadata, + DocumentStatus as DocumentStatus, + DuplicateConditionExpressionFlowValidationDetails as DuplicateConditionExpressionFlowValidationDetails, + DuplicateConnectionsFlowValidationDetails as DuplicateConnectionsFlowValidationDetails, + EmbeddingDataType as EmbeddingDataType, + EmbeddingModelConfiguration as EmbeddingModelConfiguration, + EmbeddingModelType as EmbeddingModelType, + EnabledOrDisabledState as EnabledOrDisabledState, + EnrichmentStrategyConfiguration as EnrichmentStrategyConfiguration, + EnrichmentStrategyMethod as EnrichmentStrategyMethod, + FieldForReranking as FieldForReranking, + FieldType as FieldType, + FixedSizeChunkingConfiguration as FixedSizeChunkingConfiguration, + FlowAliasConcurrencyConfiguration as FlowAliasConcurrencyConfiguration, + FlowAliasRoutingConfigurationListItem as FlowAliasRoutingConfigurationListItem, + FlowAliasSummary as FlowAliasSummary, + FlowCondition as FlowCondition, + FlowConditionalConnectionConfiguration as FlowConditionalConnectionConfiguration, + FlowConnection as FlowConnection, + FlowConnectionConfigurationData as FlowConnectionConfigurationData, + FlowConnectionConfigurationConditional as FlowConnectionConfigurationConditional, + FlowConnectionConfigurationUnknown as FlowConnectionConfigurationUnknown, + FlowConnectionConfiguration as FlowConnectionConfiguration, + _FlowConnectionConfigurationDeserializer as _FlowConnectionConfigurationDeserializer, + FlowConnectionType as FlowConnectionType, + FlowDataConnectionConfiguration as FlowDataConnectionConfiguration, + FlowDefinition as FlowDefinition, + FlowNode as FlowNode, + FlowNodeConfigurationInput as FlowNodeConfigurationInput, + FlowNodeConfigurationOutput as FlowNodeConfigurationOutput, + FlowNodeConfigurationKnowledgeBase as FlowNodeConfigurationKnowledgeBase, + FlowNodeConfigurationCondition as FlowNodeConfigurationCondition, + FlowNodeConfigurationLex as FlowNodeConfigurationLex, + FlowNodeConfigurationPrompt as FlowNodeConfigurationPrompt, + FlowNodeConfigurationLambdaFunction as FlowNodeConfigurationLambdaFunction, + FlowNodeConfigurationStorage as FlowNodeConfigurationStorage, + FlowNodeConfigurationAgent as FlowNodeConfigurationAgent, + FlowNodeConfigurationRetrieval as FlowNodeConfigurationRetrieval, + FlowNodeConfigurationIterator as FlowNodeConfigurationIterator, + FlowNodeConfigurationCollector as FlowNodeConfigurationCollector, + FlowNodeConfigurationInlineCode as FlowNodeConfigurationInlineCode, + FlowNodeConfigurationLoop as FlowNodeConfigurationLoop, + FlowNodeConfigurationLoopInput as FlowNodeConfigurationLoopInput, + FlowNodeConfigurationLoopController as FlowNodeConfigurationLoopController, + FlowNodeConfigurationUnknown as FlowNodeConfigurationUnknown, + FlowNodeConfiguration as FlowNodeConfiguration, + _FlowNodeConfigurationDeserializer as _FlowNodeConfigurationDeserializer, + FlowNodeInput as FlowNodeInput, + FlowNodeInputCategory as FlowNodeInputCategory, + FlowNodeIODataType as FlowNodeIODataType, + FlowNodeOutput as FlowNodeOutput, + FlowNodeType as FlowNodeType, + FlowStatus as FlowStatus, + FlowSummary as FlowSummary, + FlowValidation as FlowValidation, + FlowValidationDetailsCyclicConnection as FlowValidationDetailsCyclicConnection, + FlowValidationDetailsDuplicateConnections as FlowValidationDetailsDuplicateConnections, + FlowValidationDetailsDuplicateConditionExpression as FlowValidationDetailsDuplicateConditionExpression, + FlowValidationDetailsUnreachableNode as FlowValidationDetailsUnreachableNode, + FlowValidationDetailsUnknownConnectionSource as FlowValidationDetailsUnknownConnectionSource, + FlowValidationDetailsUnknownConnectionSourceOutput as FlowValidationDetailsUnknownConnectionSourceOutput, + FlowValidationDetailsUnknownConnectionTarget as FlowValidationDetailsUnknownConnectionTarget, + FlowValidationDetailsUnknownConnectionTargetInput as FlowValidationDetailsUnknownConnectionTargetInput, + FlowValidationDetailsUnknownConnectionCondition as FlowValidationDetailsUnknownConnectionCondition, + FlowValidationDetailsMalformedConditionExpression as FlowValidationDetailsMalformedConditionExpression, + FlowValidationDetailsMalformedNodeInputExpression as FlowValidationDetailsMalformedNodeInputExpression, + FlowValidationDetailsMismatchedNodeInputType as FlowValidationDetailsMismatchedNodeInputType, + FlowValidationDetailsMismatchedNodeOutputType as FlowValidationDetailsMismatchedNodeOutputType, + FlowValidationDetailsIncompatibleConnectionDataType as FlowValidationDetailsIncompatibleConnectionDataType, + FlowValidationDetailsMissingConnectionConfiguration as FlowValidationDetailsMissingConnectionConfiguration, + FlowValidationDetailsMissingDefaultCondition as FlowValidationDetailsMissingDefaultCondition, + FlowValidationDetailsMissingEndingNodes as FlowValidationDetailsMissingEndingNodes, + FlowValidationDetailsMissingNodeConfiguration as FlowValidationDetailsMissingNodeConfiguration, + FlowValidationDetailsMissingNodeInput as FlowValidationDetailsMissingNodeInput, + FlowValidationDetailsMissingNodeOutput as FlowValidationDetailsMissingNodeOutput, + FlowValidationDetailsMissingStartingNodes as FlowValidationDetailsMissingStartingNodes, + FlowValidationDetailsMultipleNodeInputConnections as FlowValidationDetailsMultipleNodeInputConnections, + FlowValidationDetailsUnfulfilledNodeInput as FlowValidationDetailsUnfulfilledNodeInput, + FlowValidationDetailsUnsatisfiedConnectionConditions as FlowValidationDetailsUnsatisfiedConnectionConditions, + FlowValidationDetailsUnspecified as FlowValidationDetailsUnspecified, + FlowValidationDetailsUnknownNodeInput as FlowValidationDetailsUnknownNodeInput, + FlowValidationDetailsUnknownNodeOutput as FlowValidationDetailsUnknownNodeOutput, + FlowValidationDetailsMissingLoopInputNode as FlowValidationDetailsMissingLoopInputNode, + FlowValidationDetailsMissingLoopControllerNode as FlowValidationDetailsMissingLoopControllerNode, + FlowValidationDetailsMultipleLoopInputNodes as FlowValidationDetailsMultipleLoopInputNodes, + FlowValidationDetailsMultipleLoopControllerNodes as FlowValidationDetailsMultipleLoopControllerNodes, + FlowValidationDetailsLoopIncompatibleNodeType as FlowValidationDetailsLoopIncompatibleNodeType, + FlowValidationDetailsInvalidLoopBoundary as FlowValidationDetailsInvalidLoopBoundary, + FlowValidationDetailsUnknown as FlowValidationDetailsUnknown, + FlowValidationDetails as FlowValidationDetails, + _FlowValidationDetailsDeserializer as _FlowValidationDetailsDeserializer, + FlowValidationSeverity as FlowValidationSeverity, + FlowValidationType as FlowValidationType, + FlowVersionSummary as FlowVersionSummary, + Function as Function, + FunctionSchemaFunctions as FunctionSchemaFunctions, + FunctionSchemaUnknown as FunctionSchemaUnknown, + FunctionSchema as FunctionSchema, + _FunctionSchemaDeserializer as _FunctionSchemaDeserializer, + GetAgentActionGroupInput as GetAgentActionGroupInput, + GetAgentActionGroupOutput as GetAgentActionGroupOutput, + GetAgentAliasInput as GetAgentAliasInput, + GetAgentAliasOutput as GetAgentAliasOutput, + GetAgentCollaboratorInput as GetAgentCollaboratorInput, + GetAgentCollaboratorOutput as GetAgentCollaboratorOutput, + GetAgentInput as GetAgentInput, + GetAgentKnowledgeBaseInput as GetAgentKnowledgeBaseInput, + GetAgentKnowledgeBaseOutput as GetAgentKnowledgeBaseOutput, + GetAgentOutput as GetAgentOutput, + GetAgentVersionInput as GetAgentVersionInput, + GetAgentVersionOutput as GetAgentVersionOutput, + GetDataSourceInput as GetDataSourceInput, + GetDataSourceOutput as GetDataSourceOutput, + GetFlowAliasInput as GetFlowAliasInput, + GetFlowAliasOutput as GetFlowAliasOutput, + GetFlowInput as GetFlowInput, + GetFlowOutput as GetFlowOutput, + GetFlowVersionInput as GetFlowVersionInput, + GetFlowVersionOutput as GetFlowVersionOutput, + GetIngestionJobInput as GetIngestionJobInput, + GetIngestionJobOutput as GetIngestionJobOutput, + GetKnowledgeBaseDocumentsInput as GetKnowledgeBaseDocumentsInput, + GetKnowledgeBaseDocumentsOutput as GetKnowledgeBaseDocumentsOutput, + GetKnowledgeBaseInput as GetKnowledgeBaseInput, + GetKnowledgeBaseOutput as GetKnowledgeBaseOutput, + GetPromptInput as GetPromptInput, + GetPromptOutput as GetPromptOutput, + GetResourcePolicyInput as GetResourcePolicyInput, + GetResourcePolicyOutput as GetResourcePolicyOutput, + GetRetrievalInstructionInput as GetRetrievalInstructionInput, + GetRetrievalInstructionOutput as GetRetrievalInstructionOutput, + GetVpcConfigurationInput as GetVpcConfigurationInput, + GetVpcConfigurationOutput as GetVpcConfigurationOutput, + GuardrailConfiguration as GuardrailConfiguration, + HierarchicalChunkingConfiguration as HierarchicalChunkingConfiguration, + HierarchicalChunkingLevelConfiguration as HierarchicalChunkingLevelConfiguration, + ImageExtractionConfiguration as ImageExtractionConfiguration, + IncludedData as IncludedData, + IncludeExclude as IncludeExclude, + IncompatibleConnectionDataTypeFlowValidationDetails as IncompatibleConnectionDataTypeFlowValidationDetails, + IncompatibleLoopNodeType as IncompatibleLoopNodeType, + InferenceConfiguration as InferenceConfiguration, + IngestionJob as IngestionJob, + IngestionJobFilter as IngestionJobFilter, + IngestionJobFilterAttribute as IngestionJobFilterAttribute, + IngestionJobFilterOperator as IngestionJobFilterOperator, + IngestionJobSortBy as IngestionJobSortBy, + IngestionJobSortByAttribute as IngestionJobSortByAttribute, + IngestionJobStatistics as IngestionJobStatistics, + IngestionJobStatus as IngestionJobStatus, + IngestionJobSummary as IngestionJobSummary, + IngestKnowledgeBaseDocumentsInput as IngestKnowledgeBaseDocumentsInput, + IngestKnowledgeBaseDocumentsOutput as IngestKnowledgeBaseDocumentsOutput, + InlineCodeFlowNodeConfiguration as InlineCodeFlowNodeConfiguration, + InlineContent as InlineContent, + InlineContentType as InlineContentType, + InputFlowNodeConfiguration as InputFlowNodeConfiguration, + IntermediateStorage as IntermediateStorage, + InternalServerException as InternalServerException, + InvalidLoopBoundaryFlowValidationDetails as InvalidLoopBoundaryFlowValidationDetails, + IteratorFlowNodeConfiguration as IteratorFlowNodeConfiguration, + KendraKnowledgeBaseConfiguration as KendraKnowledgeBaseConfiguration, + KnowledgeBase as KnowledgeBase, + KnowledgeBaseConfiguration as KnowledgeBaseConfiguration, + KnowledgeBaseDocument as KnowledgeBaseDocument, + KnowledgeBaseDocumentDetail as KnowledgeBaseDocumentDetail, + KnowledgeBaseFlowNodeConfiguration as KnowledgeBaseFlowNodeConfiguration, +) + +from ._private.models_1 import ( + KnowledgeBaseOrchestrationConfiguration as KnowledgeBaseOrchestrationConfiguration, + KnowledgeBasePromptTemplate as KnowledgeBasePromptTemplate, + KnowledgeBaseState as KnowledgeBaseState, + KnowledgeBaseStatus as KnowledgeBaseStatus, + KnowledgeBaseStorageType as KnowledgeBaseStorageType, + KnowledgeBaseSummary as KnowledgeBaseSummary, + KnowledgeBaseType as KnowledgeBaseType, + LambdaFunctionFlowNodeConfiguration as LambdaFunctionFlowNodeConfiguration, + LastDayOfMonth as LastDayOfMonth, + LexFlowNodeConfiguration as LexFlowNodeConfiguration, + ListAgentActionGroupsInput as ListAgentActionGroupsInput, + ListAgentActionGroupsOutput as ListAgentActionGroupsOutput, + ListAgentAliasesInput as ListAgentAliasesInput, + ListAgentAliasesOutput as ListAgentAliasesOutput, + ListAgentCollaboratorsInput as ListAgentCollaboratorsInput, + ListAgentCollaboratorsOutput as ListAgentCollaboratorsOutput, + ListAgentKnowledgeBasesInput as ListAgentKnowledgeBasesInput, + ListAgentKnowledgeBasesOutput as ListAgentKnowledgeBasesOutput, + ListAgentsInput as ListAgentsInput, + ListAgentsOutput as ListAgentsOutput, + ListAgentVersionsInput as ListAgentVersionsInput, + ListAgentVersionsOutput as ListAgentVersionsOutput, + ListDataSourcesInput as ListDataSourcesInput, + ListDataSourcesOutput as ListDataSourcesOutput, + ListFlowAliasesInput as ListFlowAliasesInput, + ListFlowAliasesOutput as ListFlowAliasesOutput, + ListFlowsInput as ListFlowsInput, + ListFlowsOutput as ListFlowsOutput, + ListFlowVersionsInput as ListFlowVersionsInput, + ListFlowVersionsOutput as ListFlowVersionsOutput, + ListIngestionJobsInput as ListIngestionJobsInput, + ListIngestionJobsOutput as ListIngestionJobsOutput, + ListKnowledgeBaseDocumentsInput as ListKnowledgeBaseDocumentsInput, + ListKnowledgeBaseDocumentsOutput as ListKnowledgeBaseDocumentsOutput, + ListKnowledgeBasesInput as ListKnowledgeBasesInput, + ListKnowledgeBasesOutput as ListKnowledgeBasesOutput, + ListPromptsInput as ListPromptsInput, + ListPromptsOutput as ListPromptsOutput, + ListRetrievalInstructionsInput as ListRetrievalInstructionsInput, + ListRetrievalInstructionsOutput as ListRetrievalInstructionsOutput, + ListRetrievalInstructionVersionsInput as ListRetrievalInstructionVersionsInput, + ListRetrievalInstructionVersionsOutput as ListRetrievalInstructionVersionsOutput, + ListTagsForResourceInput as ListTagsForResourceInput, + ListTagsForResourceOutput as ListTagsForResourceOutput, + ListVpcConfigurationsInput as ListVpcConfigurationsInput, + ListVpcConfigurationsOutput as ListVpcConfigurationsOutput, + LoopControllerFlowNodeConfiguration as LoopControllerFlowNodeConfiguration, + LoopFlowNodeConfiguration as LoopFlowNodeConfiguration, + LoopIncompatibleNodeTypeFlowValidationDetails as LoopIncompatibleNodeTypeFlowValidationDetails, + LoopInputFlowNodeConfiguration as LoopInputFlowNodeConfiguration, + MalformedConditionExpressionFlowValidationDetails as MalformedConditionExpressionFlowValidationDetails, + MalformedNodeInputExpressionFlowValidationDetails as MalformedNodeInputExpressionFlowValidationDetails, + ManagedKnowledgeBaseConfiguration as ManagedKnowledgeBaseConfiguration, + ManagedKnowledgeBaseConnectorConfiguration as ManagedKnowledgeBaseConnectorConfiguration, + MediaExtractionConfiguration as MediaExtractionConfiguration, + MemoryConfiguration as MemoryConfiguration, + MemoryType as MemoryType, + Message as Message, + MetadataAttribute as MetadataAttribute, + MetadataAttributeValue as MetadataAttributeValue, + MetadataConfiguration as MetadataConfiguration, + MetadataConfigurationForReranking as MetadataConfigurationForReranking, + MetadataSourceType as MetadataSourceType, + MetadataValueType as MetadataValueType, + MismatchedNodeInputTypeFlowValidationDetails as MismatchedNodeInputTypeFlowValidationDetails, + MismatchedNodeOutputTypeFlowValidationDetails as MismatchedNodeOutputTypeFlowValidationDetails, + MissingConnectionConfigurationFlowValidationDetails as MissingConnectionConfigurationFlowValidationDetails, + MissingDefaultConditionFlowValidationDetails as MissingDefaultConditionFlowValidationDetails, + MissingEndingNodesFlowValidationDetails as MissingEndingNodesFlowValidationDetails, + MissingLoopControllerNodeFlowValidationDetails as MissingLoopControllerNodeFlowValidationDetails, + MissingLoopInputNodeFlowValidationDetails as MissingLoopInputNodeFlowValidationDetails, + MissingNodeConfigurationFlowValidationDetails as MissingNodeConfigurationFlowValidationDetails, + MissingNodeInputFlowValidationDetails as MissingNodeInputFlowValidationDetails, + MissingNodeOutputFlowValidationDetails as MissingNodeOutputFlowValidationDetails, + MissingStartingNodesFlowValidationDetails as MissingStartingNodesFlowValidationDetails, + MongoDbAtlasConfiguration as MongoDbAtlasConfiguration, + MongoDbAtlasFieldMapping as MongoDbAtlasFieldMapping, + MonthlySchedule as MonthlySchedule, + MultipleLoopControllerNodesFlowValidationDetails as MultipleLoopControllerNodesFlowValidationDetails, + MultipleLoopInputNodesFlowValidationDetails as MultipleLoopInputNodesFlowValidationDetails, + MultipleNodeInputConnectionsFlowValidationDetails as MultipleNodeInputConnectionsFlowValidationDetails, + NeptuneAnalyticsConfiguration as NeptuneAnalyticsConfiguration, + NeptuneAnalyticsFieldMapping as NeptuneAnalyticsFieldMapping, + OpenSearchManagedClusterConfiguration as OpenSearchManagedClusterConfiguration, + OpenSearchManagedClusterFieldMapping as OpenSearchManagedClusterFieldMapping, + OpenSearchServerlessConfiguration as OpenSearchServerlessConfiguration, + OpenSearchServerlessFieldMapping as OpenSearchServerlessFieldMapping, + OrchestrationExecutorLambda as OrchestrationExecutorLambda, + OrchestrationExecutorUnknown as OrchestrationExecutorUnknown, + OrchestrationExecutor as OrchestrationExecutor, + _OrchestrationExecutorDeserializer as _OrchestrationExecutorDeserializer, + OrchestrationType as OrchestrationType, + OutputFlowNodeConfiguration as OutputFlowNodeConfiguration, + ParameterDetail as ParameterDetail, + ParsingConfiguration as ParsingConfiguration, + ParsingModality as ParsingModality, + ParsingPrompt as ParsingPrompt, + ParsingStrategy as ParsingStrategy, + PatternObjectFilter as PatternObjectFilter, + PatternObjectFilterConfiguration as PatternObjectFilterConfiguration, + PerformanceConfigLatency as PerformanceConfigLatency, + PerformanceConfiguration as PerformanceConfiguration, + PineconeConfiguration as PineconeConfiguration, + PineconeFieldMapping as PineconeFieldMapping, + PrepareAgentInput as PrepareAgentInput, + PrepareAgentOutput as PrepareAgentOutput, + PrepareFlowInput as PrepareFlowInput, + PrepareFlowOutput as PrepareFlowOutput, + PromptAgentResource as PromptAgentResource, + PromptConfiguration as PromptConfiguration, + PromptFlowNodeConfiguration as PromptFlowNodeConfiguration, + PromptFlowNodeInlineConfiguration as PromptFlowNodeInlineConfiguration, + PromptFlowNodeResourceConfiguration as PromptFlowNodeResourceConfiguration, + PromptFlowNodeSourceConfigurationResource as PromptFlowNodeSourceConfigurationResource, + PromptFlowNodeSourceConfigurationInline as PromptFlowNodeSourceConfigurationInline, + PromptFlowNodeSourceConfigurationUnknown as PromptFlowNodeSourceConfigurationUnknown, + PromptFlowNodeSourceConfiguration as PromptFlowNodeSourceConfiguration, + _PromptFlowNodeSourceConfigurationDeserializer as _PromptFlowNodeSourceConfigurationDeserializer, + PromptGenAiResourceAgent as PromptGenAiResourceAgent, + PromptGenAiResourceUnknown as PromptGenAiResourceUnknown, + PromptGenAiResource as PromptGenAiResource, + _PromptGenAiResourceDeserializer as _PromptGenAiResourceDeserializer, + PromptInferenceConfigurationText as PromptInferenceConfigurationText, + PromptInferenceConfigurationUnknown as PromptInferenceConfigurationUnknown, + PromptInferenceConfiguration as PromptInferenceConfiguration, + _PromptInferenceConfigurationDeserializer as _PromptInferenceConfigurationDeserializer, + PromptInputVariable as PromptInputVariable, + PromptMetadataEntry as PromptMetadataEntry, + PromptModelInferenceConfiguration as PromptModelInferenceConfiguration, + PromptOverrideConfiguration as PromptOverrideConfiguration, + PromptState as PromptState, + PromptSummary as PromptSummary, + PromptTemplateConfigurationText as PromptTemplateConfigurationText, + PromptTemplateConfigurationChat as PromptTemplateConfigurationChat, + PromptTemplateConfigurationUnknown as PromptTemplateConfigurationUnknown, + PromptTemplateConfiguration as PromptTemplateConfiguration, + _PromptTemplateConfigurationDeserializer as _PromptTemplateConfigurationDeserializer, + PromptTemplateType as PromptTemplateType, + PromptType as PromptType, + PromptVariant as PromptVariant, + PutResourcePolicyInput as PutResourcePolicyInput, + PutResourcePolicyOutput as PutResourcePolicyOutput, + QueryEngineType as QueryEngineType, + QueryGenerationColumn as QueryGenerationColumn, + QueryGenerationConfiguration as QueryGenerationConfiguration, + QueryGenerationContext as QueryGenerationContext, + QueryGenerationTable as QueryGenerationTable, + RdsConfiguration as RdsConfiguration, + RdsFieldMapping as RdsFieldMapping, + RedisEnterpriseCloudConfiguration as RedisEnterpriseCloudConfiguration, + RedisEnterpriseCloudFieldMapping as RedisEnterpriseCloudFieldMapping, + RedshiftConfiguration as RedshiftConfiguration, + RedshiftProvisionedAuthConfiguration as RedshiftProvisionedAuthConfiguration, + RedshiftProvisionedAuthType as RedshiftProvisionedAuthType, + RedshiftProvisionedConfiguration as RedshiftProvisionedConfiguration, + RedshiftQueryEngineAwsDataCatalogStorageConfiguration as RedshiftQueryEngineAwsDataCatalogStorageConfiguration, + RedshiftQueryEngineConfiguration as RedshiftQueryEngineConfiguration, + RedshiftQueryEngineRedshiftStorageConfiguration as RedshiftQueryEngineRedshiftStorageConfiguration, + RedshiftQueryEngineStorageConfiguration as RedshiftQueryEngineStorageConfiguration, + RedshiftQueryEngineStorageType as RedshiftQueryEngineStorageType, + RedshiftQueryEngineType as RedshiftQueryEngineType, + RedshiftServerlessAuthConfiguration as RedshiftServerlessAuthConfiguration, + RedshiftServerlessAuthType as RedshiftServerlessAuthType, + RedshiftServerlessConfiguration as RedshiftServerlessConfiguration, + RelayConversationHistory as RelayConversationHistory, + RequireConfirmation as RequireConfirmation, + RerankingMetadataSelectionMode as RerankingMetadataSelectionMode, + RerankingMetadataSelectiveModeConfigurationFieldsToInclude as RerankingMetadataSelectiveModeConfigurationFieldsToInclude, + RerankingMetadataSelectiveModeConfigurationFieldsToExclude as RerankingMetadataSelectiveModeConfigurationFieldsToExclude, + RerankingMetadataSelectiveModeConfigurationUnknown as RerankingMetadataSelectiveModeConfigurationUnknown, + RerankingMetadataSelectiveModeConfiguration as RerankingMetadataSelectiveModeConfiguration, + _RerankingMetadataSelectiveModeConfigurationDeserializer as _RerankingMetadataSelectiveModeConfigurationDeserializer, + ResourceNotFoundException as ResourceNotFoundException, + RetrievalFlowNodeConfiguration as RetrievalFlowNodeConfiguration, + RetrievalFlowNodeS3Configuration as RetrievalFlowNodeS3Configuration, + RetrievalFlowNodeServiceConfigurationS3 as RetrievalFlowNodeServiceConfigurationS3, + RetrievalFlowNodeServiceConfigurationUnknown as RetrievalFlowNodeServiceConfigurationUnknown, + RetrievalFlowNodeServiceConfiguration as RetrievalFlowNodeServiceConfiguration, + _RetrievalFlowNodeServiceConfigurationDeserializer as _RetrievalFlowNodeServiceConfigurationDeserializer, + RetrievalInstructionContent as RetrievalInstructionContent, + RetrievalInstructionFailureReason as RetrievalInstructionFailureReason, + RetrievalInstructionFailureReasonCode as RetrievalInstructionFailureReasonCode, + RetrievalInstructionFieldName as RetrievalInstructionFieldName, + RetrievalInstructionLastTransitionStatus as RetrievalInstructionLastTransitionStatus, + RetrievalInstructionStatus as RetrievalInstructionStatus, + RetrievalInstructionSummary as RetrievalInstructionSummary, + RetrievalInstructionVersionSummary as RetrievalInstructionVersionSummary, + S3Content as S3Content, + S3DataSourceConfiguration as S3DataSourceConfiguration, + S3Identifier as S3Identifier, + S3Location as S3Location, + S3VectorsConfiguration as S3VectorsConfiguration, + SalesforceAuthType as SalesforceAuthType, + SalesforceCrawlerConfiguration as SalesforceCrawlerConfiguration, + SalesforceDataSourceConfiguration as SalesforceDataSourceConfiguration, + SalesforceSourceConfiguration as SalesforceSourceConfiguration, + SearchableStatus as SearchableStatus, + SeedUrl as SeedUrl, + SemanticChunkingConfiguration as SemanticChunkingConfiguration, + ServerSideEncryptionConfiguration as ServerSideEncryptionConfiguration, + ServiceQuotaExceededException as ServiceQuotaExceededException, + SessionSummaryConfiguration as SessionSummaryConfiguration, + SharePointAuthType as SharePointAuthType, + SharePointCrawlerConfiguration as SharePointCrawlerConfiguration, + SharePointDataSourceConfiguration as SharePointDataSourceConfiguration, + SharePointHostType as SharePointHostType, + SharePointSourceConfiguration as SharePointSourceConfiguration, + SortOrder as SortOrder, + SpecificToolChoice as SpecificToolChoice, + SqlKnowledgeBaseConfiguration as SqlKnowledgeBaseConfiguration, + StartIngestionJobInput as StartIngestionJobInput, + StartIngestionJobOutput as StartIngestionJobOutput, + StepType as StepType, + StopIngestionJobInput as StopIngestionJobInput, + StopIngestionJobOutput as StopIngestionJobOutput, + StorageConfiguration as StorageConfiguration, + StorageFlowNodeConfiguration as StorageFlowNodeConfiguration, + StorageFlowNodeS3Configuration as StorageFlowNodeS3Configuration, + StorageFlowNodeServiceConfigurationS3 as StorageFlowNodeServiceConfigurationS3, + StorageFlowNodeServiceConfigurationUnknown as StorageFlowNodeServiceConfigurationUnknown, + StorageFlowNodeServiceConfiguration as StorageFlowNodeServiceConfiguration, + _StorageFlowNodeServiceConfigurationDeserializer as _StorageFlowNodeServiceConfigurationDeserializer, + SupplementalDataStorageConfiguration as SupplementalDataStorageConfiguration, + SupplementalDataStorageLocation as SupplementalDataStorageLocation, + SupplementalDataStorageLocationType as SupplementalDataStorageLocationType, + SupportedLanguages as SupportedLanguages, + SyncScheduleDaily as SyncScheduleDaily, + SyncScheduleWeekly as SyncScheduleWeekly, + SyncScheduleMonthly as SyncScheduleMonthly, + SyncScheduleUnknown as SyncScheduleUnknown, + SyncSchedule as SyncSchedule, + _SyncScheduleDeserializer as _SyncScheduleDeserializer, + SystemContentBlockText as SystemContentBlockText, + SystemContentBlockCachePoint as SystemContentBlockCachePoint, + SystemContentBlockUnknown as SystemContentBlockUnknown, + SystemContentBlock as SystemContentBlock, + _SystemContentBlockDeserializer as _SystemContentBlockDeserializer, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + TextContentDoc as TextContentDoc, + TextPromptTemplateConfiguration as TextPromptTemplateConfiguration, + ThrottlingException as ThrottlingException, + ToolToolSpec as ToolToolSpec, + ToolCachePoint as ToolCachePoint, + ToolUnknown as ToolUnknown, + Tool as Tool, + _ToolDeserializer as _ToolDeserializer, + ToolChoiceAuto as ToolChoiceAuto, + ToolChoiceAny as ToolChoiceAny, + ToolChoiceTool as ToolChoiceTool, + ToolChoiceUnknown as ToolChoiceUnknown, + ToolChoice as ToolChoice, + _ToolChoiceDeserializer as _ToolChoiceDeserializer, + ToolConfiguration as ToolConfiguration, + ToolInputSchemaJson as ToolInputSchemaJson, + ToolInputSchemaUnknown as ToolInputSchemaUnknown, + ToolInputSchema as ToolInputSchema, + _ToolInputSchemaDeserializer as _ToolInputSchemaDeserializer, + ToolSpecification as ToolSpecification, + Transformation as Transformation, + TransformationFunction as TransformationFunction, + TransformationLambdaConfiguration as TransformationLambdaConfiguration, + Type as Type, + UnfulfilledNodeInputFlowValidationDetails as UnfulfilledNodeInputFlowValidationDetails, + UnknownConnectionConditionFlowValidationDetails as UnknownConnectionConditionFlowValidationDetails, + UnknownConnectionSourceFlowValidationDetails as UnknownConnectionSourceFlowValidationDetails, + UnknownConnectionSourceOutputFlowValidationDetails as UnknownConnectionSourceOutputFlowValidationDetails, + UnknownConnectionTargetFlowValidationDetails as UnknownConnectionTargetFlowValidationDetails, + UnknownConnectionTargetInputFlowValidationDetails as UnknownConnectionTargetInputFlowValidationDetails, + UnknownNodeInputFlowValidationDetails as UnknownNodeInputFlowValidationDetails, + UnknownNodeOutputFlowValidationDetails as UnknownNodeOutputFlowValidationDetails, + UnreachableNodeFlowValidationDetails as UnreachableNodeFlowValidationDetails, + UnsatisfiedConnectionConditionsFlowValidationDetails as UnsatisfiedConnectionConditionsFlowValidationDetails, + UnspecifiedFlowValidationDetails as UnspecifiedFlowValidationDetails, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateAgentActionGroupInput as UpdateAgentActionGroupInput, + UpdateAgentActionGroupOutput as UpdateAgentActionGroupOutput, + UpdateAgentAliasInput as UpdateAgentAliasInput, + UpdateAgentAliasOutput as UpdateAgentAliasOutput, + UpdateAgentCollaboratorInput as UpdateAgentCollaboratorInput, + UpdateAgentCollaboratorOutput as UpdateAgentCollaboratorOutput, + UpdateAgentInput as UpdateAgentInput, + UpdateAgentKnowledgeBaseInput as UpdateAgentKnowledgeBaseInput, + UpdateAgentKnowledgeBaseOutput as UpdateAgentKnowledgeBaseOutput, + UpdateAgentOutput as UpdateAgentOutput, + UpdateDataSourceInput as UpdateDataSourceInput, + UpdateDataSourceOutput as UpdateDataSourceOutput, + UpdateFlowAliasInput as UpdateFlowAliasInput, + UpdateFlowAliasOutput as UpdateFlowAliasOutput, + UpdateFlowInput as UpdateFlowInput, + UpdateFlowOutput as UpdateFlowOutput, + UpdateKnowledgeBaseInput as UpdateKnowledgeBaseInput, + UpdateKnowledgeBaseOutput as UpdateKnowledgeBaseOutput, + UpdatePromptInput as UpdatePromptInput, + UpdatePromptOutput as UpdatePromptOutput, + UpdateRetrievalInstructionInput as UpdateRetrievalInstructionInput, + UpdateRetrievalInstructionOutput as UpdateRetrievalInstructionOutput, +) + +from ._private.models_2 import ( + UrlConfiguration as UrlConfiguration, + ValidateFlowDefinitionInput as ValidateFlowDefinitionInput, + ValidateFlowDefinitionOutput as ValidateFlowDefinitionOutput, + ValidationException as ValidationException, + ValidationExceptionField as ValidationExceptionField, + VectorIngestionConfiguration as VectorIngestionConfiguration, + VectorKnowledgeBaseConfiguration as VectorKnowledgeBaseConfiguration, + VectorSearchBedrockRerankingConfiguration as VectorSearchBedrockRerankingConfiguration, + VectorSearchBedrockRerankingModelConfiguration as VectorSearchBedrockRerankingModelConfiguration, + VectorSearchRerankingConfiguration as VectorSearchRerankingConfiguration, + VectorSearchRerankingConfigurationType as VectorSearchRerankingConfigurationType, + VideoConfiguration as VideoConfiguration, + VideoExtractionConfiguration as VideoExtractionConfiguration, + VideoSegmentationConfiguration as VideoSegmentationConfiguration, + VpcConfiguration as VpcConfiguration, + VpcConfigurationStatus as VpcConfigurationStatus, + VpcConfigurationSummary as VpcConfigurationSummary, + VpcProtocol as VpcProtocol, + VpcResolutionMode as VpcResolutionMode, + WebCrawlerConfiguration as WebCrawlerConfiguration, + WebCrawlerLimits as WebCrawlerLimits, + WebDataSourceConfiguration as WebDataSourceConfiguration, + WebScopeType as WebScopeType, + WebSourceConfiguration as WebSourceConfiguration, + WeeklySchedule as WeeklySchedule, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -27,10308 +679,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -class AccessControlAccess(UnknownEnumMixin, StrEnum): - """The access level for an access control entry.""" - - ALLOW = "ALLOW" - DENY = "DENY" - -class AccessControlPrincipalType(UnknownEnumMixin, StrEnum): - """The type of principal in an access control entry.""" - - USER = "USER" - -@dataclass(kw_only=True) -class AccessDeniedException(ServiceError, _SerdeShape): - """The request is denied because of missing access permissions.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ActionGroupExecutorLambda(_SerdeShape): - """ - The Amazon Resource Name (ARN) of the Lambda function containing the - business logic that is carried out upon invoking the action. - """ - - value: str - -@dataclass -class ActionGroupExecutorCustomControl(_SerdeShape): - """ - To return the action group invocation results directly in the - `InvokeAgent` response, specify `RETURN_CONTROL`. - """ - - value: str - -@dataclass -class ActionGroupExecutorUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ActionGroupExecutor = Union[ - ActionGroupExecutorLambda - | ActionGroupExecutorCustomControl - | ActionGroupExecutorUnknown -] -""" -Contains details about the Lambda function containing the business logic -that is carried out upon invoking the action or the custom control -method for handling the information elicited from the user. -""" - -class _ActionGroupExecutorDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ActionGroupExecutor: ... - -class ActionGroupSignature(UnknownEnumMixin, StrEnum): - AMAZON_USERINPUT = "AMAZON.UserInput" - AMAZON_CODEINTERPRETER = "AMAZON.CodeInterpreter" - ANTHROPIC_COMPUTER = "ANTHROPIC.Computer" - ANTHROPIC_BASH = "ANTHROPIC.Bash" - ANTHROPIC_TEXTEDITOR = "ANTHROPIC.TextEditor" - -class ActionGroupState(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class ActionGroupSummary(_SerdeShape): - """Contains details about an action group.""" - - action_group_id: str - """The unique identifier of the action group.""" - action_group_name: str - """The name of the action group.""" - action_group_state: str - """ - Specifies whether the action group is available for the agent to invoke - or not when sending an - [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) - request. - """ - description: str | None = ... - """The description of the action group.""" - updated_at: datetime - """The time at which the action group was last updated.""" - -@dataclass(kw_only=True) -class Agent(_SerdeShape): - """Contains details about an agent.""" - - agent_id: str - """The unique identifier of the agent.""" - agent_name: str - """The name of the agent.""" - agent_arn: str - """The Amazon Resource Name (ARN) of the agent.""" - agent_version: str - """The version of the agent.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - instruction: str | None = ... - """ - Instructions that tell the agent what it should do and how it should - interact with users. - """ - agent_status: str - """ - The status of the agent and whether it is ready for use. The following - statuses are possible: - - - CREATING -- The agent is being created. - - - PREPARING -- The agent is being prepared. - - - PREPARED -- The agent is prepared and ready to be invoked. - - - NOT_PREPARED -- The agent has been created but not yet prepared. - - - FAILED -- The agent API operation failed. - - - UPDATING -- The agent is being updated. - - - DELETING -- The agent is being deleted. - """ - foundation_model: str | None = ... - """The foundation model used for orchestration by the agent.""" - description: str | None = ... - """The description of the agent.""" - orchestration_type: str | None = ... - """Specifies the orchestration strategy for the agent.""" - custom_orchestration: CustomOrchestration | None = ... - """Contains custom orchestration configurations for the agent.""" - idle_session_ttl_in_seconds: int - """ - The number of seconds for which Amazon Bedrock keeps information about a - user's conversation with the agent. - - A user interaction remains active for the amount of time specified. If - no conversation occurs during this time, the session expires and Amazon - Bedrock deletes any data provided before the timeout. - """ - agent_resource_role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role with permissions to - invoke API operations on the agent. - """ - customer_encryption_key_arn: str | None = ... - """The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.""" - created_at: datetime - """The time at which the agent was created.""" - updated_at: datetime - """The time at which the agent was last updated.""" - prepared_at: datetime | None = ... - """The time at which the agent was last prepared.""" - failure_reasons: list[str] | None = ... - """Contains reasons that the agent-related API that you invoked failed.""" - recommended_actions: list[str] | None = ... - """ - Contains recommended actions to take for the agent-related API that you - invoked to succeed. - """ - prompt_override_configuration: PromptOverrideConfiguration | None = ... - """ - Contains configurations to override prompt templates in different parts - of an agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """Details about the guardrail associated with the agent.""" - memory_configuration: MemoryConfiguration | None = ... - """Contains memory configuration for the agent.""" - agent_collaboration: str | None = ... - """The agent's collaboration settings.""" - -@dataclass(kw_only=True) -class AgentActionGroup(_SerdeShape): - """Contains details about an action group.""" - - agent_id: str - """The unique identifier of the agent to which the action group belongs.""" - agent_version: str - """The version of the agent to which the action group belongs.""" - action_group_id: str - """The unique identifier of the action group.""" - action_group_name: str - """The name of the action group.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - description: str | None = ... - """The description of the action group.""" - created_at: datetime - """The time at which the action group was created.""" - updated_at: datetime - """The time at which the action group was last updated.""" - parent_action_signature: str | None = ... - """ - If this field is set as `AMAZON.UserInput`, the agent can request the - user for additional information when trying to complete a task. The - `description`, `apiSchema`, and `actionGroupExecutor` fields must be - blank for this action group. - - During orchestration, if the agent determines that it needs to invoke an - API in an action group, but doesn't have enough information to complete - the API request, it will invoke this action group instead and return an - [Observation](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html) - reprompting the user for more information. - """ - parent_action_group_signature_params: dict[str, str] | None = ... - """ - The configuration settings for a computer use action. - - Warning: - Computer use is a new Anthropic Claude model capability (in beta) - available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more - information, see [Configure an Amazon Bedrock Agent to complete tasks - with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). - """ - action_group_executor: ActionGroupExecutor | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda function containing the - business logic that is carried out upon invoking the action or the - custom control method for handling the information elicited from the - user. - """ - api_schema: APISchema | None = ... - """ - Contains either details about the S3 object containing the OpenAPI - schema for the action group or the JSON or YAML-formatted payload - defining the schema. For more information, see [Action group OpenAPI - schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). - """ - function_schema: FunctionSchema | None = ... - """ - Defines functions that each define parameters that the agent needs to - invoke from the user. Each function represents an action in an action - group. - """ - action_group_state: str - """ - Specifies whether the action group is available for the agent to invoke - or not when sending an - [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) - request. - """ - -@dataclass(kw_only=True) -class AgentAlias(_SerdeShape): - """Contains details about an alias of an agent.""" - - agent_id: str - """The unique identifier of the agent.""" - agent_alias_id: str - """The unique identifier of the alias of the agent.""" - agent_alias_name: str - """The name of the alias of the agent.""" - agent_alias_arn: str - """The Amazon Resource Name (ARN) of the alias of the agent.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - description: str | None = ... - """The description of the alias of the agent.""" - routing_configuration: list[AgentAliasRoutingConfigurationListItem] - """Contains details about the routing configuration of the alias.""" - created_at: datetime - """The time at which the alias of the agent was created.""" - updated_at: datetime - """The time at which the alias was last updated.""" - agent_alias_history_events: list[AgentAliasHistoryEvent] | None = ... - """Contains details about the history of the alias.""" - agent_alias_status: str - """ - The status of the alias of the agent and whether it is ready for use. - The following statuses are possible: - - - CREATING -- The agent alias is being created. - - - PREPARED -- The agent alias is finished being created or updated and - is ready to be invoked. - - - FAILED -- The agent alias API operation failed. - - - UPDATING -- The agent alias is being updated. - - - DELETING -- The agent alias is being deleted. - - - DISSOCIATED - The agent alias has no version associated with it. - """ - failure_reasons: list[str] | None = ... - """ - Information on the failure of Provisioned Throughput assigned to an - agent alias. - """ - alias_invocation_state: str | None = ... - """ - The invocation state for the agent alias. If the agent alias is running, - the value is `ACCEPT_INVOCATIONS`. If the agent alias is paused, the - value is `REJECT_INVOCATIONS`. Use the `UpdateAgentAlias` operation to - change the invocation state. - """ - -@dataclass(kw_only=True) -class AgentAliasHistoryEvent(_SerdeShape): - """Contains details about the history of the alias.""" - - routing_configuration: list[AgentAliasRoutingConfigurationListItem] | None = ... - """ - Contains details about the version of the agent with which the alias is - associated. - """ - end_date: datetime | None = ... - """ - The date that the alias stopped being associated to the version in the - `routingConfiguration` object - """ - start_date: datetime | None = ... - """ - The date that the alias began being associated to the version in the - `routingConfiguration` object. - """ - -@dataclass(kw_only=True) -class AgentAliasRoutingConfigurationListItem(_SerdeShape): - """Contains details about the routing configuration of the alias.""" - - agent_version: str | None = ... - """The version of the agent with which the alias is associated.""" - provisioned_throughput: str | None = ... - """Information on the Provisioned Throughput assigned to an agent alias.""" - -class AgentAliasStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - PREPARED = "PREPARED" - FAILED = "FAILED" - UPDATING = "UPDATING" - DELETING = "DELETING" - DISSOCIATED = "DISSOCIATED" - -@dataclass(kw_only=True) -class AgentAliasSummary(_SerdeShape): - """Contains details about an alias of an agent.""" - - agent_alias_id: str - """Contains details about""" - agent_alias_name: str - """The name of the alias.""" - description: str | None = ... - """The description of the alias.""" - routing_configuration: list[AgentAliasRoutingConfigurationListItem] | None = ... - """ - Contains details about the version of the agent with which the alias is - associated. - """ - agent_alias_status: str - """The status of the alias.""" - created_at: datetime - """The time at which the alias of the agent was created.""" - updated_at: datetime - """The time at which the alias was last updated.""" - alias_invocation_state: str | None = ... - """ - The invocation state for the agent alias. If the agent alias is running, - the value is `ACCEPT_INVOCATIONS`. If the agent alias is paused, the - value is `REJECT_INVOCATIONS`. Use the `UpdateAgentAlias` operation to - change the invocation state. - """ - -class AgentCollaboration(UnknownEnumMixin, StrEnum): - SUPERVISOR = "SUPERVISOR" - SUPERVISOR_ROUTER = "SUPERVISOR_ROUTER" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class AgentCollaborator(_SerdeShape): - """An agent collaborator.""" - - agent_id: str - """The collaborator's agent ID.""" - agent_version: str - """The collaborator's agent version.""" - agent_descriptor: AgentDescriptor - """The collaborator's agent descriptor.""" - collaborator_id: str - """The collaborator's collaborator ID.""" - collaboration_instruction: str - """The collaborator's instructions.""" - collaborator_name: str - """The collaborator's collaborator name.""" - created_at: datetime - """When the collaborator was created.""" - last_updated_at: datetime - """When the collaborator was updated.""" - relay_conversation_history: str | None = ... - """The collaborator's relay conversation history.""" - client_token: str | None = ... - """The collaborator's client token.""" - -@dataclass(kw_only=True) -class AgentCollaboratorSummary(_SerdeShape): - """An agent collaborator summary.""" - - agent_id: str - """The collaborator's agent ID.""" - agent_version: str - """The collaborator's agent version.""" - collaborator_id: str - """The collaborator's ID.""" - agent_descriptor: AgentDescriptor - """The collaborator's agent descriptor.""" - collaboration_instruction: str - """The collaborator's collaboration instruction.""" - relay_conversation_history: str - """The collaborator's relay conversation history.""" - collaborator_name: str - """The collaborator's name.""" - created_at: datetime - """When the collaborator was created.""" - last_updated_at: datetime - """When the collaborator was last updated.""" - -@dataclass(kw_only=True) -class AgentDescriptor(_SerdeShape): - """An agent descriptor.""" - - alias_arn: str | None = ... - """The agent's alias ARN.""" - -@dataclass(kw_only=True) -class AgentFlowNodeConfiguration(_SerdeShape): - """ - Defines an agent node in your flow. You specify the agent to invoke at - this point in the flow. For more information, see [Node types in a - flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) - in the Amazon Bedrock User Guide. - """ - - agent_alias_arn: str = ... - """The Amazon Resource Name (ARN) of the alias of the agent to invoke.""" - -@dataclass(kw_only=True) -class AgentKnowledgeBase(_SerdeShape): - """ - Contains details about a knowledge base that is associated with an - agent. - """ - - agent_id: str - """ - The unique identifier of the agent with which the knowledge base is - associated. - """ - agent_version: str - """The version of the agent with which the knowledge base is associated.""" - knowledge_base_id: str - """ - The unique identifier of the association between the agent and the - knowledge base. - """ - description: str - """ - The description of the association between the agent and the knowledge - base. - """ - created_at: datetime - """ - The time at which the association between the agent and the knowledge - base was created. - """ - updated_at: datetime - """ - The time at which the association between the agent and the knowledge - base was last updated. - """ - knowledge_base_state: str - """ - Specifies whether to use the knowledge base or not when sending an - [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) - request. - """ - -@dataclass(kw_only=True) -class AgentKnowledgeBaseSummary(_SerdeShape): - """Contains details about a knowledge base associated with an agent.""" - - knowledge_base_id: str - """The unique identifier of the knowledge base associated with an agent.""" - description: str | None = ... - """The description of the knowledge base associated with an agent.""" - knowledge_base_state: str - """ - Specifies whether the agent uses the knowledge base or not when sending - an - [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) - request. - """ - updated_at: datetime - """ - The time at which the knowledge base associated with an agent was last - updated. - """ - -class AgentStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - PREPARING = "PREPARING" - PREPARED = "PREPARED" - NOT_PREPARED = "NOT_PREPARED" - DELETING = "DELETING" - FAILED = "FAILED" - VERSIONING = "VERSIONING" - UPDATING = "UPDATING" - -@dataclass(kw_only=True) -class AgentSummary(_SerdeShape): - """Contains details about an agent.""" - - agent_id: str - """The unique identifier of the agent.""" - agent_name: str - """The name of the agent.""" - agent_status: str - """The status of the agent.""" - description: str | None = ... - """The description of the agent.""" - updated_at: datetime - """The time at which the agent was last updated.""" - latest_agent_version: str | None = ... - """The latest version of the agent.""" - guardrail_configuration: GuardrailConfiguration | None = ... - """Details about the guardrail associated with the agent.""" - -@dataclass(kw_only=True) -class AgentVersion(_SerdeShape): - """Contains details about a version of an agent.""" - - agent_id: str - """The unique identifier of the agent that the version belongs to.""" - agent_name: str - """The name of the agent that the version belongs to.""" - agent_arn: str - """The Amazon Resource Name (ARN) of the agent that the version belongs to.""" - version: str - """The version number.""" - instruction: str | None = ... - """The instructions provided to the agent.""" - agent_status: str - """The status of the agent that the version belongs to.""" - foundation_model: str | None = ... - """The foundation model that the version invokes.""" - description: str | None = ... - """The description of the version.""" - idle_session_ttl_in_seconds: int - """ - The number of seconds for which Amazon Bedrock keeps information about a - user's conversation with the agent. - - A user interaction remains active for the amount of time specified. If - no conversation occurs during this time, the session expires and Amazon - Bedrock deletes any data provided before the timeout. - """ - agent_resource_role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role with permissions to - invoke API operations on the agent. - """ - customer_encryption_key_arn: str | None = ... - """The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.""" - created_at: datetime - """The time at which the version was created.""" - updated_at: datetime - """The time at which the version was last updated.""" - failure_reasons: list[str] | None = ... - """A list of reasons that the API operation on the version failed.""" - recommended_actions: list[str] | None = ... - """ - A list of recommended actions to take for the failed API operation on - the version to succeed. - """ - prompt_override_configuration: PromptOverrideConfiguration | None = ... - """ - Contains configurations to override prompt templates in different parts - of an agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """Details about the guardrail associated with the agent.""" - memory_configuration: MemoryConfiguration | None = ... - """ - Contains details of the memory configuration on the version of the - agent. - """ - agent_collaboration: str | None = ... - """The agent's collaboration settings.""" - -@dataclass(kw_only=True) -class AgentVersionSummary(_SerdeShape): - """Contains details about a version of an agent.""" - - agent_name: str - """The name of the agent to which the version belongs.""" - agent_status: str - """The status of the agent to which the version belongs.""" - agent_version: str - """The version of the agent.""" - created_at: datetime - """The time at which the version was created.""" - updated_at: datetime - """The time at which the version was last updated.""" - description: str | None = ... - """The description of the version of the agent.""" - guardrail_configuration: GuardrailConfiguration | None = ... - """Details about the guardrail associated with the agent.""" - -class AliasInvocationState(UnknownEnumMixin, StrEnum): - """Enum representing the invocation state of an agent alias""" - - ACCEPT_INVOCATIONS = "ACCEPT_INVOCATIONS" - """Agent is actively processing requests""" - REJECT_INVOCATIONS = "REJECT_INVOCATIONS" - """Agent is paused and will not accept new requests""" - -@dataclass(kw_only=True) -class AnyToolChoice(_SerdeShape): - """ - Defines tools, at least one of which must be requested by the model. No - text is generated but the results of tool use are sent back to the model - to help generate a response. For more information, see [Use a tool to - complete an Amazon Bedrock model - response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). - """ - -@dataclass -class APISchemaS3(_SerdeShape): - """ - Contains details about the S3 object containing the OpenAPI schema for - the action group. For more information, see [Action group OpenAPI - schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). - """ - - value: S3Identifier - -@dataclass -class APISchemaPayload(_SerdeShape): - """ - The JSON or YAML-formatted payload defining the OpenAPI schema for the - action group. For more information, see [Action group OpenAPI - schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). - """ - - value: str - -@dataclass -class APISchemaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -APISchema = Union[APISchemaS3 | APISchemaPayload | APISchemaUnknown] -""" -Contains details about the OpenAPI schema for the action group. For more -information, see [Action group OpenAPI -schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). -You can either include the schema directly in the `payload` field or you -can upload it to an S3 bucket and specify the S3 bucket location in the -`s3` field. -""" - -class _APISchemaDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> APISchema: ... - -@dataclass(kw_only=True) -class AssociateAgentCollaboratorInput(_SerdeShape): - """Dataclass for AssociateAgentCollaboratorInput structure.""" - - agent_id: str | None = ... - """The agent's ID.""" - agent_version: str | None = ... - """An agent version.""" - agent_descriptor: AgentDescriptor | None = ... - """The alias of the collaborator agent.""" - collaborator_name: str | None = ... - """A name for the collaborator.""" - collaboration_instruction: str | None = ... - """Instruction for the collaborator.""" - relay_conversation_history: str | None = ... - """A relay conversation history for the collaborator.""" - client_token: str | None = ... - """A client token.""" - -@dataclass(kw_only=True) -class AssociateAgentCollaboratorOutput(_SerdeShape): - """Dataclass for AssociateAgentCollaboratorOutput structure.""" - - agent_collaborator: AgentCollaborator - """Details about the collaborator.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateAgentKnowledgeBaseInput(_SerdeShape): - """Dataclass for AssociateAgentKnowledgeBaseInput structure.""" - - agent_id: str | None = ... - """ - The unique identifier of the agent with which you want to associate the - knowledge base. - """ - agent_version: str | None = ... - """ - The version of the agent with which you want to associate the knowledge - base. - """ - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base to associate with the agent.""" - description: str | None = ... - """A description of what the agent should use the knowledge base for.""" - knowledge_base_state: str | None = ... - """ - Specifies whether to use the knowledge base or not when sending an - [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) - request. - """ - -@dataclass(kw_only=True) -class AssociateAgentKnowledgeBaseOutput(_SerdeShape): - """Dataclass for AssociateAgentKnowledgeBaseOutput structure.""" - - agent_knowledge_base: AgentKnowledgeBase - """ - Contains details about the knowledge base that has been associated with - the agent. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AudioConfiguration(_SerdeShape): - """ - Configuration settings for processing audio content in multimodal - knowledge bases. - """ - - segmentation_configuration: AudioSegmentationConfiguration - """Configuration for segmenting audio content during processing.""" - -@dataclass(kw_only=True) -class AudioExtractionConfiguration(_SerdeShape): - """Configuration for audio extraction.""" - - audio_extraction_status: str - """Whether audio extraction is enabled or disabled.""" - -@dataclass(kw_only=True) -class AudioSegmentationConfiguration(_SerdeShape): - """ - Configuration for segmenting audio content during multimodal knowledge - base ingestion. Determines how audio files are divided into chunks for - processing. - """ - - fixed_length_duration: int - """ - The duration in seconds for each audio segment. Audio files will be - divided into chunks of this length for processing. - """ - -@dataclass(kw_only=True) -class AutoToolChoice(_SerdeShape): - """ - Defines tools. The model automatically decides whether to call a tool or - to generate text instead. For more information, see [Use a tool to - complete an Amazon Bedrock model - response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). - """ - -@dataclass(kw_only=True) -class BedrockDataAutomationConfiguration(_SerdeShape): - """ - Contains configurations for using Amazon Bedrock Data Automation as the - parser for ingesting your data sources. - """ - - parsing_modality: str | None = ... - """ - Specifies whether to enable parsing of multimodal data, including both - text and/or images. - """ - -@dataclass(kw_only=True) -class BedrockEmbeddingModelConfiguration(_SerdeShape): - """The vector configuration details for the Bedrock embeddings model.""" - - dimensions: int | None = ... - """ - The dimensions details for the vector configuration used on the Bedrock - embeddings model. - """ - embedding_data_type: str | None = ... - """ - The data type for the vectors when using a model to convert text into - vector embeddings. The model must support the specified data type for - vector embeddings. Floating-point (float32) is the default data type, - and is supported by most models for vector embeddings. See [Supported - embeddings - models](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html) - for information on the available models and their vector data types. - """ - audio: list[AudioConfiguration] | None = ... - """ - Configuration settings for processing audio content in multimodal - knowledge bases. - - Warning: - This field is deprecated. Use `modelConfiguration` instead. - """ - video: list[VideoConfiguration] | None = ... - """ - Configuration settings for processing video content in multimodal - knowledge bases. - - Warning: - This field is deprecated. Use `modelConfiguration` instead. - """ - model_configuration: Document | None = ... - """ - Model-specific configuration for the embedding model, provided as a JSON - object. Use this field to specify settings that apply to the embedding - model that you selected, such as how audio and video files are divided - into segments. - - The fields that this object accepts depend on the embedding model. For - the settings that each model accepts, see the documentation for that - model. - - For an example of a - [CreateKnowledgeBase](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html) - request that uses this field to configure a multimodal embedding model, - see the - [Examples](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html#API_agent_CreateKnowledgeBase_Examples) - section of - [CreateKnowledgeBase](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html). - """ - -@dataclass(kw_only=True) -class BedrockFoundationModelConfiguration(_SerdeShape): - """ - Settings for a foundation model used to parse documents for a data - source. - """ - - model_arn: str - """The ARN of the foundation model to use for parsing.""" - parsing_prompt: ParsingPrompt | None = ... - """Instructions for interpreting the contents of a document.""" - parsing_modality: str | None = ... - """ - Specifies whether to enable parsing of multimodal data, including both - text and/or images. - """ - -@dataclass(kw_only=True) -class BedrockFoundationModelContextEnrichmentConfiguration(_SerdeShape): - """ - Context enrichment configuration is used to provide additional context - to the RAG application using Amazon Bedrock foundation models. - """ - - enrichment_strategy_configuration: EnrichmentStrategyConfiguration - """ - The enrichment stategy used to provide additional context. For example, - Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk - entity extraction. - """ - model_arn: str - """ - The Amazon Resource Name (ARN) of the model used to create vector - embeddings for the knowledge base. - """ - -@dataclass(kw_only=True) -class ByteContentDoc(_SerdeShape): - """Contains information about content defined inline in bytes.""" - - mime_type: str - """ - The MIME type of the content. For a list of MIME types, see [Media - Types](https://www.iana.org/assignments/media-types/media-types.xhtml). - The following MIME types are supported: - - - text/plain - - - text/html - - - text/csv - - - text/vtt - - - message/rfc822 - - - application/xhtml+xml - - - application/pdf - - - application/msword - - - application/vnd.ms-word.document.macroenabled.12 - - - application/vnd.ms-word.template.macroenabled.12 - - - application/vnd.ms-excel - - - application/vnd.ms-excel.addin.macroenabled.12 - - - application/vnd.ms-excel.sheet.macroenabled.12 - - - application/vnd.ms-excel.template.macroenabled.12 - - - application/vnd.ms-excel.sheet.binary.macroenabled.12 - - - application/vnd.ms-spreadsheetml - - - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet - - - application/vnd.openxmlformats-officedocument.spreadsheetml.template - - - application/vnd.openxmlformats-officedocument.wordprocessingml.document - - - application/vnd.openxmlformats-officedocument.wordprocessingml.template - """ - data: bytes - """The base64-encoded string of the content.""" - -@dataclass(kw_only=True) -class CachePointBlock(_SerdeShape): - """ - Indicates where a cache checkpoint is located. All information before - this checkpoint is cached to be accessed on subsequent requests. - """ - - type: str - """Indicates that the CachePointBlock is of the default type""" - -class CachePointType(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - -@dataclass(kw_only=True) -class ChatPromptTemplateConfiguration(_SerdeShape): - """ - Contains configurations to use a prompt in a conversational format. For - more information, see [Create a prompt using Prompt - management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). - """ - - messages: list[Message] - """Contains messages in the chat for the prompt.""" - system: list[SystemContentBlock] | None = ... - """ - Contains system prompts to provide context to the model or to describe - how it should behave. - """ - input_variables: list[PromptInputVariable] | None = ... - """An array of the variables in the prompt template.""" - tool_configuration: ToolConfiguration | None = ... - """ - Configuration information for the tools that the model can use when - generating a response. - """ - -@dataclass(kw_only=True) -class ChunkingConfiguration(_SerdeShape): - """ - Details about how to chunk the documents in the data source. A *chunk* - refers to an excerpt from a data source that is returned when the - knowledge base that it belongs to is queried. - """ - - chunking_strategy: str - """ - Knowledge base can split your source data into chunks. A *chunk* refers - to an excerpt from a data source that is returned when the knowledge - base that it belongs to is queried. You have the following options for - chunking your data. If you opt for `NONE`, then you may want to - pre-process your files by splitting them up such that each file - corresponds to a chunk. - - - `FIXED_SIZE` -- Amazon Bedrock splits your source data into chunks of - the approximate size that you set in the - `fixedSizeChunkingConfiguration`. - - - `HIERARCHICAL` -- Split documents into layers of chunks where the - first layer contains large chunks, and the second layer contains - smaller chunks derived from the first layer. - - - `SEMANTIC` -- Split documents into chunks based on groups of similar - content derived with natural language processing. - - - `NONE` -- Amazon Bedrock treats each file as one chunk. If you choose - this option, you may want to pre-process your documents by splitting - them into separate files. - """ - fixed_size_chunking_configuration: FixedSizeChunkingConfiguration | None = ... - """ - Configurations for when you choose fixed-size chunking. If you set the - `chunkingStrategy` as `NONE`, exclude this field. - """ - hierarchical_chunking_configuration: HierarchicalChunkingConfiguration | None = ... - """ - Settings for hierarchical document chunking for a data source. - Hierarchical chunking splits documents into layers of chunks where the - first layer contains large chunks, and the second layer contains smaller - chunks derived from the first layer. - """ - semantic_chunking_configuration: SemanticChunkingConfiguration | None = ... - """ - Settings for semantic document chunking for a data source. Semantic - chunking splits a document into into smaller documents based on groups - of similar content derived from the text with natural language - processing. - """ - -class ChunkingStrategy(UnknownEnumMixin, StrEnum): - FIXED_SIZE = "FIXED_SIZE" - NONE = "NONE" - HIERARCHICAL = "HIERARCHICAL" - SEMANTIC = "SEMANTIC" - -@dataclass(kw_only=True) -class CollectorFlowNodeConfiguration(_SerdeShape): - """ - Defines a collector node in your flow. This node takes an iteration of - inputs and consolidates them into an array in the output. For more - information, see [Node types in a - flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) - in the Amazon Bedrock User Guide. - """ - -class ConcurrencyType(UnknownEnumMixin, StrEnum): - AUTOMATIC = "Automatic" - MANUAL = "Manual" - -@dataclass(kw_only=True) -class ConditionFlowNodeConfiguration(_SerdeShape): - """ - Defines a condition node in your flow. You can specify conditions that - determine which node comes next in the flow. For more information, see - [Node types in a - flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) - in the Amazon Bedrock User Guide. - """ - - conditions: list[FlowCondition] - """ - An array of conditions. Each member contains the name of a condition and - an expression that defines the condition. - """ - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """There was a conflict performing an operation.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ConfluenceAuthType(UnknownEnumMixin, StrEnum): - BASIC = "BASIC" - OAUTH2_CLIENT_CREDENTIALS = "OAUTH2_CLIENT_CREDENTIALS" - -@dataclass(kw_only=True) -class ConfluenceCrawlerConfiguration(_SerdeShape): - """ - The configuration of the Confluence content. For example, configuring - specific types of Confluence content. - """ - - filter_configuration: CrawlFilterConfiguration | None = ... - """ - The configuration of filtering the Confluence content. For example, - configuring regular expression patterns to include or exclude certain - content. - """ - -@dataclass(kw_only=True) -class ConfluenceDataSourceConfiguration(_SerdeShape): - """ - The configuration information to connect to Confluence as your data - source for self-managed knowledge bases. - """ - - source_configuration: ConfluenceSourceConfiguration - """The endpoint information to connect to your Confluence data source.""" - crawler_configuration: ConfluenceCrawlerConfiguration | None = ... - """ - The configuration of the Confluence content. For example, configuring - specific types of Confluence content. - """ - -class ConfluenceHostType(UnknownEnumMixin, StrEnum): - SAAS = "SAAS" - -@dataclass(kw_only=True) -class ConfluenceSourceConfiguration(_SerdeShape): - """The endpoint information to connect to your Confluence data source.""" - - host_url: str - """The Confluence host URL or instance URL.""" - host_type: str - """The supported host type, whether online/cloud or server/on-premises.""" - auth_type: str - """ - The supported authentication type to authenticate and connect to your - Confluence instance. - """ - credentials_secret_arn: str - """ - The Amazon Resource Name of an Secrets Manager secret that stores your - authentication credentials for your Confluence instance URL. For more - information on the key-value pairs that must be included in your secret, - depending on your authentication type, see [Confluence connection - configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/confluence-data-source-connector.html#configuration-confluence-connector). - """ - -@dataclass -class ContentBlockText(_SerdeShape): - """The text in the message.""" - - value: str - -@dataclass -class ContentBlockCachePoint(_SerdeShape): - """Creates a cache checkpoint within a message.""" - - value: CachePointBlock - -@dataclass -class ContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ContentBlock = Union[ContentBlockText | ContentBlockCachePoint | ContentBlockUnknown] -""" -Contains the content for the message you pass to, or receive from a -model. For more information, see [Create a prompt using Prompt -management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). -""" - -class _ContentBlockDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ContentBlock: ... - -class ContentDataSourceType(UnknownEnumMixin, StrEnum): - CUSTOM = "CUSTOM" - S3 = "S3" - -@dataclass(kw_only=True) -class ContextEnrichmentConfiguration(_SerdeShape): - """ - Context enrichment configuration is used to provide additional context - to the RAG application. - """ - - type: str - """ - The method used for context enrichment. It must be Amazon Bedrock - foundation models. - """ - bedrock_foundation_model_configuration: ( - BedrockFoundationModelContextEnrichmentConfiguration | None - ) = ... - """ - The configuration of the Amazon Bedrock foundation model used for - context enrichment. - """ - -class ContextEnrichmentType(UnknownEnumMixin, StrEnum): - BEDROCK_FOUNDATION_MODEL = "BEDROCK_FOUNDATION_MODEL" - -class ConversationRole(UnknownEnumMixin, StrEnum): - USER = "user" - ASSISTANT = "assistant" - -@dataclass(kw_only=True) -class CrawlFilterConfiguration(_SerdeShape): - """ - The configuration of filtering the data source content. For example, - configuring regular expression patterns to include or exclude certain - content. - """ - - type: str - """ - The type of filtering that you want to apply to certain objects or - content of the data source. For example, the `PATTERN` type is regular - expression patterns you can apply to filter your content. - """ - pattern_object_filter: PatternObjectFilterConfiguration | None = ... - """ - The configuration of filtering certain objects or content types of the - data source. - """ - -class CrawlFilterConfigurationType(UnknownEnumMixin, StrEnum): - PATTERN = "PATTERN" - -@dataclass(kw_only=True) -class CreateAgentActionGroupInput(_SerdeShape): - """Dataclass for CreateAgentActionGroupInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent for which to create the action group.""" - agent_version: str | None = ... - """The version of the agent for which to create the action group.""" - action_group_name: str | None = ... - """The name to give the action group.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - description: str | None = ... - """A description of the action group.""" - parent_action_group_signature: str | None = ... - """ - Specify a built-in or computer use action for this action group. If you - specify a value, you must leave the `description`, `apiSchema`, and - `actionGroupExecutor` fields empty for this action group. - - - To allow your agent to request the user for additional information - when trying to complete a task, set this field to `AMAZON.UserInput`. - - - To allow your agent to generate, run, and troubleshoot code when - trying to complete a task, set this field to `AMAZON.CodeInterpreter`. - - - To allow your agent to use an Anthropic computer use tool, specify one - of the following values. - - Warning: - Computer use is a new Anthropic Claude model capability (in beta) - available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 - only. When operating computer use functionality, we recommend taking - additional security precautions, such as executing computer actions in - virtual environments with restricted data access and limited internet - connectivity. For more information, see [Configure an Amazon Bedrock - Agent to complete tasks with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). - - - `ANTHROPIC.Computer` - Gives the agent permission to use the mouse - and keyboard and take screenshots. - - - `ANTHROPIC.TextEditor` - Gives the agent permission to view, create - and edit files. - - - `ANTHROPIC.Bash` - Gives the agent permission to run commands in a - bash shell. - """ - parent_action_group_signature_params: dict[str, str] | None = ... - """ - The configuration settings for a computer use action. - - Warning: - Computer use is a new Anthropic Claude model capability (in beta) - available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 - only. For more information, see [Configure an Amazon Bedrock Agent to - complete tasks with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). - """ - action_group_executor: ActionGroupExecutor | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda function containing the - business logic that is carried out upon invoking the action or the - custom control method for handling the information elicited from the - user. - """ - api_schema: APISchema | None = ... - """ - Contains either details about the S3 object containing the OpenAPI - schema for the action group or the JSON or YAML-formatted payload - defining the schema. For more information, see [Action group OpenAPI - schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). - """ - action_group_state: str | None = ... - """ - Specifies whether the action group is available for the agent to invoke - or not when sending an - [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) - request. - """ - function_schema: FunctionSchema | None = ... - """ - Contains details about the function schema for the action group or the - JSON or YAML-formatted payload defining the schema. - """ - -@dataclass(kw_only=True) -class CreateAgentActionGroupOutput(_SerdeShape): - """Dataclass for CreateAgentActionGroupOutput structure.""" - - agent_action_group: AgentActionGroup - """Contains details about the action group that was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAgentAliasInput(_SerdeShape): - """Dataclass for CreateAgentAliasInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent.""" - agent_alias_name: str | None = ... - """The name of the alias.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - description: str | None = ... - """A description of the alias of the agent.""" - routing_configuration: list[AgentAliasRoutingConfigurationListItem] | None = ... - """Contains details about the routing configuration of the alias.""" - tags: dict[str, str] | None = ... - """Any tags that you want to attach to the alias of the agent.""" - -@dataclass(kw_only=True) -class CreateAgentAliasOutput(_SerdeShape): - """Dataclass for CreateAgentAliasOutput structure.""" - - agent_alias: AgentAlias - """Contains details about the alias that was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAgentInput(_SerdeShape): - """Dataclass for CreateAgentInput structure.""" - - agent_name: str | None = ... - """A name for the agent that you create.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - instruction: str | None = ... - """ - Instructions that tell the agent what it should do and how it should - interact with users. - """ - foundation_model: str | None = ... - """ - The identifier for the model that you want to be used for orchestration - by the agent you create. - - The `modelId` to provide depends on the type of model or throughput that - you use: - - - If you use a base model, specify the model ID or its ARN. For a list - of model IDs for base models, see [Amazon Bedrock base model IDs - (on-demand - throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) - in the Amazon Bedrock User Guide. - - - If you use an inference profile, specify the inference profile ID or - its ARN. For a list of inference profile IDs, see [Supported Regions - and models for cross-region - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) - in the Amazon Bedrock User Guide. - - - If you use a provisioned model, specify the ARN of the Provisioned - Throughput. For more information, see [Run inference using a - Provisioned - Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) - in the Amazon Bedrock User Guide. - - - If you use a custom model, first purchase Provisioned Throughput for - it. Then specify the ARN of the resulting provisioned model. For more - information, see [Use a custom model in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) - in the Amazon Bedrock User Guide. - - - If you use an [imported - model](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html), - specify the ARN of the imported model. You can get the model ARN from - a successful call to - [CreateModelImportJob](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html) - or from the Imported models page in the Amazon Bedrock console. - """ - description: str | None = ... - """A description of the agent.""" - orchestration_type: str | None = ... - """ - Specifies the type of orchestration strategy for the agent. This is set - to `DEFAULT` orchestration type, by default. - """ - custom_orchestration: CustomOrchestration | None = ... - """Contains details of the custom orchestration configured for the agent.""" - idle_session_ttl_in_seconds: int | None = ... - """ - The number of seconds for which Amazon Bedrock keeps information about a - user's conversation with the agent. - - A user interaction remains active for the amount of time specified. If - no conversation occurs during this time, the session expires and Amazon - Bedrock deletes any data provided before the timeout. - """ - agent_resource_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role with permissions to - invoke API operations on the agent. - """ - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key with which to encrypt the - agent. - """ - tags: dict[str, str] | None = ... - """Any tags that you want to attach to the agent.""" - prompt_override_configuration: PromptOverrideConfiguration | None = ... - """ - Contains configurations to override prompts in different parts of an - agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """ - The unique Guardrail configuration assigned to the agent when it is - created. - """ - memory_configuration: MemoryConfiguration | None = ... - """Contains the details of the memory configured for the agent.""" - agent_collaboration: str | None = ... - """The agent's collaboration role.""" - -@dataclass(kw_only=True) -class CreateAgentOutput(_SerdeShape): - """Dataclass for CreateAgentOutput structure.""" - - agent: Agent - """Contains details about the agent created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDataSourceInput(_SerdeShape): - """Dataclass for CreateDataSourceInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base to which to add the data - source. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - name: str | None = ... - """The name of the data source.""" - description: str | None = ... - """A description of the data source.""" - data_source_configuration: DataSourceConfiguration | None = ... - """The connection configuration for the data source.""" - data_deletion_policy: str | None = ... - """ - The data deletion policy for the data source. - - You can set the data deletion policy to: - - - DELETE: Deletes all data from your data source that's converted into - vector embeddings upon deletion of a knowledge base or data source - resource. Note that the **vector store itself is not deleted**, only - the data. This flag is ignored if an Amazon Web Services account is - deleted. - - - RETAIN: Retains all data from your data source that's converted into - vector embeddings upon deletion of a knowledge base or data source - resource. Note that the **vector store itself is not deleted** if you - delete a knowledge base or data source resource. - - Note: - For managed knowledge bases, the only supported option is `DELETE`, - which is also the default. - """ - server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... - """Contains details about the server-side encryption for the data source.""" - vector_ingestion_configuration: VectorIngestionConfiguration | None = ... - """Contains details about how to ingest the documents in the data source.""" - -@dataclass(kw_only=True) -class CreateDataSourceOutput(_SerdeShape): - """Dataclass for CreateDataSourceOutput structure.""" - - data_source: DataSource - """Contains details about the data source.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFlowAliasInput(_SerdeShape): - """Dataclass for CreateFlowAliasInput structure.""" - - name: str | None = ... - """A name for the alias.""" - description: str | None = ... - """A description for the alias.""" - routing_configuration: list[FlowAliasRoutingConfigurationListItem] | None = ... - """Contains information about the version to which to map the alias.""" - concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... - """ - The configuration that specifies how nodes in the flow are executed in - parallel. - """ - flow_identifier: str | None = ... - """The unique identifier of the flow for which to create an alias.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - tags: dict[str, str] | None = ... - """ - Any tags that you want to attach to the alias of the flow. For more - information, see [Tagging resources in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). - """ - -@dataclass(kw_only=True) -class CreateFlowAliasOutput(_SerdeShape): - """Dataclass for CreateFlowAliasOutput structure.""" - - name: str - """The name of the alias.""" - description: str | None = ... - """The description of the alias.""" - routing_configuration: list[FlowAliasRoutingConfigurationListItem] - """Contains information about the version that the alias is mapped to.""" - concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... - """ - The configuration that specifies how nodes in the flow are executed in - parallel. - """ - flow_id: str - """The unique identifier of the flow that the alias belongs to.""" - id: str - """The unique identifier of the alias.""" - arn: str - """The Amazon Resource Name (ARN) of the alias.""" - created_at: datetime - """The time at which the alias was created.""" - updated_at: datetime - """The time at which the alias of the flow was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFlowInput(_SerdeShape): - """Dataclass for CreateFlowInput structure.""" - - name: str | None = ... - """A name for the flow.""" - description: str | None = ... - """A description for the flow.""" - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the service role with permissions to - create and manage a flow. For more information, see [Create a service - role for flows in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) - in the Amazon Bedrock User Guide. - """ - customer_encryption_key_arn: str | None = ... - """The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.""" - definition: FlowDefinition | None = ... - """A definition of the nodes and connections between nodes in the flow.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - tags: dict[str, str] | None = ... - """ - Any tags that you want to attach to the flow. For more information, see - [Tagging resources in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). - """ - -@dataclass(kw_only=True) -class CreateFlowOutput(_SerdeShape): - """Dataclass for CreateFlowOutput structure.""" - - name: str - """The name of the flow.""" - description: str | None = ... - """The description of the flow.""" - execution_role_arn: str - """ - The Amazon Resource Name (ARN) of the service role with permissions to - create a flow. For more information, see [Create a service role for - flows in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) - in the Amazon Bedrock User Guide. - """ - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that you encrypted the - flow with. - """ - id: str - """The unique identifier of the flow.""" - arn: str - """The Amazon Resource Name (ARN) of the flow.""" - status: str - """ - The status of the flow. When you submit this request, the status will be - `NotPrepared`. If creation fails, the status becomes `Failed`. - """ - created_at: datetime - """The time at which the flow was created.""" - updated_at: datetime - """The time at which the flow was last updated.""" - version: str - """ - The version of the flow. When you create a flow, the version created is - the `DRAFT` version. - """ - definition: FlowDefinition | None = ... - """A definition of the nodes and connections between nodes in the flow.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFlowVersionInput(_SerdeShape): - """Dataclass for CreateFlowVersionInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow that you want to create a version of.""" - description: str | None = ... - """A description of the version of the flow.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateFlowVersionOutput(_SerdeShape): - """Dataclass for CreateFlowVersionOutput structure.""" - - name: str - """The name of the version.""" - description: str | None = ... - """The description of the version.""" - execution_role_arn: str - """ - The Amazon Resource Name (ARN) of the service role with permissions to - create a flow. For more information, see [Create a service role for - flows in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) - in the Amazon Bedrock User Guide. - """ - customer_encryption_key_arn: str | None = ... - """The KMS key that the flow is encrypted with.""" - id: str - """The unique identifier of the flow.""" - arn: str - """The Amazon Resource Name (ARN) of the flow.""" - status: str - """The status of the flow.""" - created_at: datetime - """The time at which the flow was created.""" - version: str - """ - The version of the flow that was created. Versions are numbered - incrementally, starting from 1. - """ - definition: FlowDefinition | None = ... - """A definition of the nodes and connections in the flow.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateKnowledgeBaseInput(_SerdeShape): - """Dataclass for CreateKnowledgeBaseInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - name: str | None = ... - """A name for the knowledge base.""" - description: str | None = ... - """A description of the knowledge base.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role with permissions to - invoke API operations on the knowledge base. - """ - knowledge_base_configuration: KnowledgeBaseConfiguration | None = ... - """Contains details about the embeddings model used for the knowledge base.""" - storage_configuration: StorageConfiguration | None = ... - """ - Contains details about the configuration of the vector database used for - the knowledge base. - """ - tags: dict[str, str] | None = ... - """ - Specify the key-value pairs for the tags that you want to attach to your - knowledge base in this object. - """ - -@dataclass(kw_only=True) -class CreateKnowledgeBaseOutput(_SerdeShape): - """Dataclass for CreateKnowledgeBaseOutput structure.""" - - knowledge_base: KnowledgeBase - """Contains details about the knowledge base.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePromptInput(_SerdeShape): - """Dataclass for CreatePromptInput structure.""" - - name: str | None = ... - """A name for the prompt.""" - description: str | None = ... - """A description for the prompt.""" - customer_encryption_key_arn: str | None = ... - """The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.""" - default_variant: str | None = ... - """ - The name of the default variant for the prompt. This value must match - the `name` field in the relevant - [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) - object. - """ - variants: list[PromptVariant] | None = ... - """ - A list of objects, each containing details about a variant of the - prompt. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - tags: dict[str, str] | None = ... - """ - Any tags that you want to attach to the prompt. For more information, - see [Tagging resources in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). - """ - -@dataclass(kw_only=True) -class CreatePromptOutput(_SerdeShape): - """Dataclass for CreatePromptOutput structure.""" - - name: str - """The name of the prompt.""" - description: str | None = ... - """The description of the prompt.""" - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that you encrypted the - prompt with. - """ - default_variant: str | None = ... - """The name of the default variant for your prompt.""" - variants: list[PromptVariant] | None = ... - """ - A list of objects, each containing details about a variant of the - prompt. - """ - id: str - """The unique identifier of the prompt.""" - arn: str - """The Amazon Resource Name (ARN) of the prompt.""" - version: str - """ - The version of the prompt. When you create a prompt, the version created - is the `DRAFT` version. - """ - created_at: datetime - """The time at which the prompt was created.""" - updated_at: datetime - """The time at which the prompt was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePromptVersionInput(_SerdeShape): - """Dataclass for CreatePromptVersionInput structure.""" - - prompt_identifier: str | None = ... - """ - The unique identifier of the prompt that you want to create a version - of. - """ - description: str | None = ... - """A description for the version of the prompt.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - tags: dict[str, str] | None = ... - """ - Any tags that you want to attach to the version of the prompt. For more - information, see [Tagging resources in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). - """ - -@dataclass(kw_only=True) -class CreatePromptVersionOutput(_SerdeShape): - """Dataclass for CreatePromptVersionOutput structure.""" - - name: str - """The name of the prompt.""" - description: str | None = ... - """A description for the version.""" - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key to encrypt the version of - the prompt. - """ - default_variant: str | None = ... - """ - The name of the default variant for the prompt. This value must match - the `name` field in the relevant - [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) - object. - """ - variants: list[PromptVariant] | None = ... - """ - A list of objects, each containing details about a variant of the - prompt. - """ - id: str - """The unique identifier of the prompt.""" - arn: str - """The Amazon Resource Name (ARN) of the version of the prompt.""" - version: str - """ - The version of the prompt that was created. Versions are numbered - incrementally, starting from 1. - """ - created_at: datetime - """The time at which the prompt was created.""" - updated_at: datetime - """The time at which the prompt was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRetrievalInstructionInput(_SerdeShape): - """Dataclass for CreateRetrievalInstructionInput structure.""" - - client_token: str | None = ... - """ - A caller-supplied token that makes a retried create return the existing - resource rather than a second one. The window is 8 hours. - """ - name: str | None = ... - """Specifies the name of the retrieval instruction.""" - instruction: RetrievalInstructionContent | None = ... - """ - The instruction content, as a set of named fields. Get does not return - this field until the create review passes. - """ - description: str | None = ... - """Specifies a description of the retrieval instruction.""" - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a customer managed AWS Key Management - Service (AWS KMS) key used to encrypt the instruction content at rest. - If you omit it, the service uses an AWS owned key. You fix the key at - create and cannot change it later. - """ - tags: dict[str, str] | None = ... - """Tags for the retrieval instruction.""" - -@dataclass(kw_only=True) -class CreateRetrievalInstructionOutput(_SerdeShape): - """Dataclass for CreateRetrievalInstructionOutput structure.""" - - retrieval_instruction_id: str - """The identifier of the newly created retrieval instruction.""" - retrieval_instruction_arn: str - """The ARN of the newly created retrieval instruction.""" - name: str - """The name of the retrieval instruction.""" - status: str - """ - Always INACTIVE on this response. The content review has not run when - this call returns, so the resource is not yet usable. - """ - last_transition_status: str - """ - Always CREATING on this response. Poll GetRetrievalInstruction until - this member is neither CREATING nor UPDATING, then read the outcome from - it. - """ - created_at: datetime - """When you created the retrieval instruction.""" - updated_at: datetime - """When the retrieval instruction was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRetrievalInstructionVersionInput(_SerdeShape): - """Dataclass for CreateRetrievalInstructionVersionInput structure.""" - - retrieval_instruction_id: str | None = ... - """The identifier of the retrieval instruction to version.""" - description: str | None = ... - """ - A description of this version. Independent of the retrieval - instruction's own description. - """ - client_token: str | None = ... - """ - A caller-supplied token that makes a retried call return the version - created by the first call rather than a second version. The window is 8 - hours. - """ - -@dataclass(kw_only=True) -class CreateRetrievalInstructionVersionOutput(_SerdeShape): - """Dataclass for CreateRetrievalInstructionVersionOutput structure.""" - - retrieval_instruction_id: str - """The identifier of the retrieval instruction.""" - retrieval_instruction_arn: str - """ - The ARN of the retrieval instruction. Versions do not have their own - ARN. - """ - version: str - """ - The number of the version created. Versions are numbered from 1 and - allocated monotonically; a number is never reused, even after the - version is deleted. - """ - created_at: datetime - """When this version was created.""" - description: str | None = ... - """The description of this version, when one was supplied.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpcConfigurationInput(_SerdeShape): - """Dataclass for CreateVpcConfigurationInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base to associate this VPC - configuration with. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, the service ignores the request but does not return an error. - """ - vpc_id: str | None = ... - """ - The identifier of the VPC that the knowledge base connects through to - reach the resource. - """ - subnet_ids: list[str] | None = ... - """ - The subnets, in the VPC identified by `vpcId`, that the knowledge base - uses to connect to the resource. - """ - resource_target: str | None = ... - """ - The private IPv4 address or DNS name of the resource you want the - knowledge base to reach. The target must be privately reachable from - inside your VPC, such as an internal load balancer or a private IP. The - following are not supported: - - - Internet-facing endpoints - - - Loopback addresses - - - Link-local addresses - - - Wildcard addresses - - - Multicast addresses - - - IPv6 literals - """ - port: int | None = ... - """The port on which to reach the resource.""" - protocol: str | None = ... - """ - The protocol used to connect to the resource. Specify `HTTP` for - plaintext or `HTTPS` for TLS. When you specify `HTTPS`, you must also - provide `tlsServerName`. - """ - resolution_mode: str | None = ... - """ - Controls how a domain-name `resourceTarget` is resolved. This applies - only when the target is a domain name; it has no effect for IP-address - targets, which have no name to resolve. In all cases the resolved - address must be reachable from inside your VPC. Valid values: - - - `IN_VPC` (default, recommended) -- The target domain name is resolved - privately, using the DNS resolvers of the VPC, such as private Route - 53 hosted zones or on-premises DNS reachable from the VPC. Use this - for targets that are private to your VPC, such as internal load - balancers, private hosted-zone names, or on-premises hosts. - - - `PUBLIC` -- The target domain name is resolved against public DNS - resolvers. Select this only when the target's domain name must be - resolved through public DNS and the resulting address is still - reachable from the VPC, an uncommon split-horizon configuration. If - you are unsure, use `IN_VPC`. - """ - host_header: str | None = ... - """ - An optional HTTP `Host` header value to send when invoking the resource. - Set this only if your resource (or an upstream router or ingress) routes - by the `Host` header and that host differs from the target. This setting - is independent of `tlsServerName`. - """ - tls_server_name: str | None = ... - """ - The expected TLS server name. The service matches this value against the - Subject Alternative Names on your resource's TLS certificate during - invocation. This field is required when `protocol` is `HTTPS`. Set it to - a hostname on your certificate, such as `app.internal.example.com`. You - can use a single leftmost wildcard, such as `*.example.com`. The value - must be a hostname without a port. - """ - name: str | None = ... - """ - An optional human-readable name for the VPC configuration. If you don't - specify a name, the VPC configuration has no name. - """ - description: str | None = ... - """ - An optional description of the VPC configuration. If you don't specify - a description, the VPC configuration has no description. - """ - -@dataclass(kw_only=True) -class CreateVpcConfigurationOutput(_SerdeShape): - """Dataclass for CreateVpcConfigurationOutput structure.""" - - vpc_configuration_id: str - """The unique identifier of the VPC configuration that was created.""" - status: str - """ - The current status of the VPC configuration. Immediately after creation - this is `CREATING`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CreationMode(UnknownEnumMixin, StrEnum): - DEFAULT = "DEFAULT" - OVERRIDDEN = "OVERRIDDEN" - -@dataclass(kw_only=True) -class CuratedQuery(_SerdeShape): - """ - Contains configurations for a query, each of which defines information - about example queries to help the query engine generate appropriate SQL - queries. - """ - - natural_language: str - """An example natural language query.""" - sql: str - """The SQL equivalent of the natural language query.""" - -@dataclass(kw_only=True) -class CustomContent(_SerdeShape): - """ - Contains information about the content to ingest into a knowledge base - connected to a custom data source. Choose a `sourceType` and include the - field that corresponds to it. - """ - - custom_document_identifier: CustomDocumentIdentifier - """A unique identifier for the document.""" - source_type: str - """The source of the data to ingest.""" - s3_location: CustomS3Location | None = ... - """ - Contains information about the Amazon S3 location of the file from which - to ingest data. - """ - inline_content: InlineContent | None = ... - """ - Contains information about content defined inline to ingest into a - knowledge base. - """ - -class CustomControlMethod(UnknownEnumMixin, StrEnum): - RETURN_CONTROL = "RETURN_CONTROL" - -@dataclass(kw_only=True) -class CustomDocumentIdentifier(_SerdeShape): - """ - Contains information about the identifier of the document to ingest into - a custom data source. - """ - - id: str - """The identifier of the document to ingest into a custom data source.""" - -@dataclass(kw_only=True) -class CustomOrchestration(_SerdeShape): - """Details of custom orchestration.""" - - executor: OrchestrationExecutor | None = ... - """ - The structure of the executor invoking the actions in custom - orchestration. - """ - -@dataclass(kw_only=True) -class CustomS3Location(_SerdeShape): - """ - Contains information about the Amazon S3 location of the file containing - the content to ingest into a knowledge base connected to a custom data - source. - """ - - uri: str - """The S3 URI of the file containing the content to ingest.""" - bucket_owner_account_id: str | None = ... - """ - The identifier of the Amazon Web Services account that owns the S3 - bucket containing the content to ingest. - """ - -class CustomSourceType(UnknownEnumMixin, StrEnum): - IN_LINE = "IN_LINE" - S3_LOCATION = "S3_LOCATION" - -@dataclass(kw_only=True) -class CustomTransformationConfiguration(_SerdeShape): - """ - Settings for customizing steps in the data source content ingestion - pipeline. - - You can configure the data source to process documents with a Lambda - function after they are parsed and converted into chunks. When you add a - post-chunking transformation, the service stores chunked documents in an - S3 bucket and invokes a Lambda function to process them. - - To process chunked documents with a Lambda function, define an S3 bucket - path for input and output objects, and a transformation that specifies - the Lambda function to invoke. You can use the Lambda function to - customize how chunks are split, and the metadata for each chunk. - """ - - intermediate_storage: IntermediateStorage - """An S3 bucket path for input and output objects.""" - transformations: list[Transformation] - """A Lambda function that processes documents.""" - -@dataclass(kw_only=True) -class CyclicConnectionFlowValidationDetails(_SerdeShape): - """Details about a cyclic connection detected in the flow.""" - - connection: str - """The name of the connection that causes the cycle in the flow.""" - -@dataclass(kw_only=True) -class DailySchedule(_SerdeShape): - """ - A daily sync. The run time is system-chosen (off-peak) and not - configurable. - """ - -class DataDeletionPolicy(UnknownEnumMixin, StrEnum): - RETAIN = "RETAIN" - DELETE = "DELETE" - -@dataclass(kw_only=True) -class DataSource(_SerdeShape): - """Contains details about a data source.""" - - knowledge_base_id: str - """ - The unique identifier of the knowledge base to which the data source - belongs. - """ - data_source_id: str - """The unique identifier of the data source.""" - name: str - """The name of the data source.""" - status: str - """ - The status of the data source. The following statuses are possible: - - - Available -- The data source has been created and is ready for - ingestion into the knowledge base. - - - Deleting -- The data source is being deleted. - """ - description: str | None = ... - """The description of the data source.""" - data_source_configuration: DataSourceConfiguration - """The connection configuration for the data source.""" - server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... - """Contains details about the configuration of the server-side encryption.""" - vector_ingestion_configuration: VectorIngestionConfiguration | None = ... - """Contains details about how to ingest the documents in the data source.""" - data_deletion_policy: str | None = ... - """The data deletion policy for the data source.""" - created_at: datetime - """The time at which the data source was created.""" - updated_at: datetime - """The time at which the data source was last updated.""" - failure_reasons: list[str] | None = ... - """The detailed reasons on the failure to delete a data source.""" - -@dataclass(kw_only=True) -class DataSourceConfiguration(_SerdeShape): - """The connection configuration for the data source.""" - - type: str - """The type of data source.""" - managed_knowledge_base_connector_configuration: ( - ManagedKnowledgeBaseConnectorConfiguration | None - ) = ... - """ - Contains the configuration for a data source that connects a managed - knowledge base to a supported data source connector. Specify this object - when the data source type is `MANAGED_KNOWLEDGE_BASE_CONNECTOR`. - """ - s3_configuration: S3DataSourceConfiguration | None = ... - """ - The configuration information to connect to Amazon S3 as your data - source for self-managed knowledge bases. To configure this data source - for managed knowledge bases, use - [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). - """ - web_configuration: WebDataSourceConfiguration | None = ... - """ - The configuration of web URLs to crawl for your data source. You should - be authorized to crawl the URLs. - - Note: - To configure this data source for managed knowledge bases, use - [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). - Web crawler data source connector for self-managed knowledge bases is in - preview release and is subject to change. - """ - confluence_configuration: ConfluenceDataSourceConfiguration | None = ... - """ - The configuration information to connect to Confluence as your data - source for self-managed knowledge bases. - - Note: - To configure this data source for managed knowledge bases, use - [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). - Confluence data source connector for self-managed knowledge bases is in - preview release and is subject to change. - """ - salesforce_configuration: SalesforceDataSourceConfiguration | None = ... - """ - The configuration information to connect to Salesforce as your data - source. - - Note: - Salesforce data source connector for self-managed knowledge bases is in - preview release and is subject to change. - """ - share_point_configuration: SharePointDataSourceConfiguration | None = ... - """ - The configuration information to connect to SharePoint as your data - source for self-managed knowledge bases. - - Note: - To configure this data source for managed knowledge bases, use - [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). - SharePoint data source connector for self-managed knowledge bases is in - preview release and is subject to change. - """ - -class DataSourceStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "AVAILABLE" - DELETING = "DELETING" - DELETE_UNSUCCESSFUL = "DELETE_UNSUCCESSFUL" - CREATING = "CREATING" - UPDATING = "UPDATING" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class DataSourceSummary(_SerdeShape): - """Contains details about a data source.""" - - knowledge_base_id: str - """ - The unique identifier of the knowledge base to which the data source - belongs. - """ - data_source_id: str - """The unique identifier of the data source.""" - name: str - """The name of the data source.""" - status: str - """The status of the data source.""" - description: str | None = ... - """The description of the data source.""" - updated_at: datetime - """The time at which the data source was last updated.""" - -class DataSourceType(UnknownEnumMixin, StrEnum): - S3 = "S3" - WEB = "WEB" - CONFLUENCE = "CONFLUENCE" - SALESFORCE = "SALESFORCE" - SHAREPOINT = "SHAREPOINT" - CUSTOM = "CUSTOM" - REDSHIFT_METADATA = "REDSHIFT_METADATA" - MANAGED_KNOWLEDGE_BASE_CONNECTOR = "MANAGED_KNOWLEDGE_BASE_CONNECTOR" - -@dataclass -class DayOfMonthDayNumber(_SerdeShape): - """ - A specific day of the month, from 1 to 28. Values are capped at 28, so a - monthly sync runs in every month, including February. - """ - - value: int - -@dataclass -class DayOfMonthLastDayOfMonth(_SerdeShape): - """ - Set this option to run the monthly sync on the last calendar day of each - month. - """ - - value: LastDayOfMonth - -@dataclass -class DayOfMonthUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DayOfMonth = Union[DayOfMonthDayNumber | DayOfMonthLastDayOfMonth | DayOfMonthUnknown] -""" -The day of the month on which a monthly sync runs. Specify exactly one -of `dayNumber` or `lastDayOfMonth`. -""" - -class _DayOfMonthDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> DayOfMonth: ... - -class DayOfWeek(UnknownEnumMixin, StrEnum): - """ - The day of the week on which a weekly sync runs. Valid values are the - standard English day names, for example, MONDAY or TUESDAY. - """ - - SUNDAY = "SUNDAY" - MONDAY = "MONDAY" - TUESDAY = "TUESDAY" - WEDNESDAY = "WEDNESDAY" - THURSDAY = "THURSDAY" - FRIDAY = "FRIDAY" - SATURDAY = "SATURDAY" - -@dataclass(kw_only=True) -class DeleteAgentActionGroupInput(_SerdeShape): - """Dataclass for DeleteAgentActionGroupInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent that the action group belongs to.""" - agent_version: str | None = ... - """The version of the agent that the action group belongs to.""" - action_group_id: str | None = ... - """The unique identifier of the action group to delete.""" - skip_resource_in_use_check: bool = ... - """ - By default, this value is `false` and deletion is stopped if the - resource is in use. If you set it to `true`, the resource will be - deleted even if the resource is in use. - """ - -@dataclass(kw_only=True) -class DeleteAgentActionGroupOutput(_SerdeShape): - """Dataclass for DeleteAgentActionGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAgentAliasInput(_SerdeShape): - """Dataclass for DeleteAgentAliasInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent that the alias belongs to.""" - agent_alias_id: str | None = ... - """The unique identifier of the alias to delete.""" - -@dataclass(kw_only=True) -class DeleteAgentAliasOutput(_SerdeShape): - """Dataclass for DeleteAgentAliasOutput structure.""" - - agent_id: str - """The unique identifier of the agent that the alias belongs to.""" - agent_alias_id: str - """The unique identifier of the alias that was deleted.""" - agent_alias_status: str - """The status of the alias.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAgentInput(_SerdeShape): - """Dataclass for DeleteAgentInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent to delete.""" - skip_resource_in_use_check: bool = ... - """ - By default, this value is `false` and deletion is stopped if the - resource is in use. If you set it to `true`, the resource will be - deleted even if the resource is in use. - """ - -@dataclass(kw_only=True) -class DeleteAgentOutput(_SerdeShape): - """Dataclass for DeleteAgentOutput structure.""" - - agent_id: str - """The unique identifier of the agent that was deleted.""" - agent_status: str - """The status of the agent.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAgentVersionInput(_SerdeShape): - """Dataclass for DeleteAgentVersionInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent that the version belongs to.""" - agent_version: str | None = ... - """The version of the agent to delete.""" - skip_resource_in_use_check: bool = ... - """ - By default, this value is `false` and deletion is stopped if the - resource is in use. If you set it to `true`, the resource will be - deleted even if the resource is in use. - """ - -@dataclass(kw_only=True) -class DeleteAgentVersionOutput(_SerdeShape): - """Dataclass for DeleteAgentVersionOutput structure.""" - - agent_id: str - """The unique identifier of the agent that the version belongs to.""" - agent_version: str - """The version that was deleted.""" - agent_status: str - """The status of the agent version.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDataSourceInput(_SerdeShape): - """Dataclass for DeleteDataSourceInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base from which to delete the - data source. - """ - data_source_id: str | None = ... - """The unique identifier of the data source to delete.""" - -@dataclass(kw_only=True) -class DeleteDataSourceOutput(_SerdeShape): - """Dataclass for DeleteDataSourceOutput structure.""" - - knowledge_base_id: str - """ - The unique identifier of the knowledge base to which the data source - that was deleted belonged. - """ - data_source_id: str - """The unique identifier of the data source that was deleted.""" - status: str - """The status of the data source.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFlowAliasInput(_SerdeShape): - """Dataclass for DeleteFlowAliasInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow that the alias belongs to.""" - alias_identifier: str | None = ... - """The unique identifier of the alias to be deleted.""" - -@dataclass(kw_only=True) -class DeleteFlowAliasOutput(_SerdeShape): - """Dataclass for DeleteFlowAliasOutput structure.""" - - flow_id: str - """The unique identifier of the flow that the alias belongs to.""" - id: str - """The unique identifier of the flow.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFlowInput(_SerdeShape): - """Dataclass for DeleteFlowInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - skip_resource_in_use_check: bool = ... - """ - By default, this value is `false` and deletion is stopped if the - resource is in use. If you set it to `true`, the resource will be - deleted even if the resource is in use. - """ - -@dataclass(kw_only=True) -class DeleteFlowOutput(_SerdeShape): - """Dataclass for DeleteFlowOutput structure.""" - - id: str - """The unique identifier of the flow.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFlowVersionInput(_SerdeShape): - """Dataclass for DeleteFlowVersionInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow whose version that you want to delete""" - flow_version: str | None = ... - """The version of the flow that you want to delete.""" - skip_resource_in_use_check: bool = ... - """ - By default, this value is `false` and deletion is stopped if the - resource is in use. If you set it to `true`, the resource will be - deleted even if the resource is in use. - """ - -@dataclass(kw_only=True) -class DeleteFlowVersionOutput(_SerdeShape): - """Dataclass for DeleteFlowVersionOutput structure.""" - - id: str - """The unique identifier of the flow.""" - version: str - """The version of the flow being deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteKnowledgeBaseDocumentsInput(_SerdeShape): - """Dataclass for DeleteKnowledgeBaseDocumentsInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base that is connected to the - data source. - """ - data_source_id: str | None = ... - """The unique identifier of the data source that contains the documents.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - document_identifiers: list[DocumentIdentifier] | None = ... - """ - A list of objects, each of which contains information to identify a - document to delete. - """ - -@dataclass(kw_only=True) -class DeleteKnowledgeBaseDocumentsOutput(_SerdeShape): - """Dataclass for DeleteKnowledgeBaseDocumentsOutput structure.""" - - document_details: list[KnowledgeBaseDocumentDetail] | None = ... - """ - A list of objects, each of which contains information about the - documents that were deleted. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteKnowledgeBaseInput(_SerdeShape): - """Dataclass for DeleteKnowledgeBaseInput structure.""" - - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base to delete.""" - -@dataclass(kw_only=True) -class DeleteKnowledgeBaseOutput(_SerdeShape): - """Dataclass for DeleteKnowledgeBaseOutput structure.""" - - knowledge_base_id: str - """The unique identifier of the knowledge base that was deleted.""" - status: str - """ - The status of the knowledge base and whether it has been successfully - deleted. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePromptInput(_SerdeShape): - """Dataclass for DeletePromptInput structure.""" - - prompt_identifier: str | None = ... - """The unique identifier of the prompt.""" - prompt_version: str | None = ... - """ - The version of the prompt to delete. To delete the prompt, omit this - field. - """ - -@dataclass(kw_only=True) -class DeletePromptOutput(_SerdeShape): - """Dataclass for DeletePromptOutput structure.""" - - id: str - """The unique identifier of the prompt that was deleted.""" - version: str | None = ... - """The version of the prompt that was deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyInput(_SerdeShape): - """Dataclass for DeleteResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the knowledge base to remove the - resource policy from. - """ - expected_revision_id: str | None = ... - """ - The expected revision identifier of the resource policy. Use this to - prevent conflicts when multiple users update the same policy - concurrently. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyOutput(_SerdeShape): - """Dataclass for DeleteResourcePolicyOutput structure.""" - - resource_arn: str - """The ARN of the knowledge base that the resource policy was removed from.""" - revision_id: str | None = ... - """The revision identifier after the resource policy was deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRetrievalInstructionInput(_SerdeShape): - """Dataclass for DeleteRetrievalInstructionInput structure.""" - - retrieval_instruction_id: str | None = ... - """The identifier of the retrieval instruction to delete.""" - retrieval_instruction_version: str | None = ... - """ - The version to delete. Omit this field to delete the retrieval - instruction itself, which you can do only when it has no versions; while - any version exists the service rejects the request with - ConflictException. You cannot delete DRAFT on its own; deleting the - retrieval instruction removes it. - """ - -@dataclass(kw_only=True) -class DeleteRetrievalInstructionOutput(_SerdeShape): - """Dataclass for DeleteRetrievalInstructionOutput structure.""" - - retrieval_instruction_id: str - """The identifier of the deleted retrieval instruction.""" - retrieval_instruction_arn: str - """The ARN of the retrieval instruction.""" - version: str | None = ... - """ - The version that you deleted. Absent when you deleted the whole - retrieval instruction. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcConfigurationInput(_SerdeShape): - """Dataclass for DeleteVpcConfigurationInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base that owns the VPC - configuration. - """ - vpc_configuration_id: str | None = ... - """The unique identifier of the VPC configuration to delete.""" - -@dataclass(kw_only=True) -class DeleteVpcConfigurationOutput(_SerdeShape): - """Dataclass for DeleteVpcConfigurationOutput structure.""" - - vpc_configuration_id: str - """The unique identifier of the VPC configuration being deleted.""" - status: str - """ - The current status of the VPC configuration. Immediately after a delete - request this is `DELETING`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletionProtectionConfiguration(_SerdeShape): - """Configuration for deletion protection.""" - - deletion_protection_status: str - """Enable or disable deletion protection for the connector.""" - deletion_protection_threshold: int = ... - """ - The threshold is the maximum percentage of documents that a sync job can - delete from your index. If a sync would delete more than this - percentage, the sync skips its delete phase, leaving your indexed - documents in place. Not supported for the Custom connector. - """ - -@dataclass(kw_only=True) -class DisassociateAgentCollaboratorInput(_SerdeShape): - """Dataclass for DisassociateAgentCollaboratorInput structure.""" - - agent_id: str | None = ... - """An agent ID.""" - agent_version: str | None = ... - """The agent's version.""" - collaborator_id: str | None = ... - """The collaborator's ID.""" - -@dataclass(kw_only=True) -class DisassociateAgentCollaboratorOutput(_SerdeShape): - """Dataclass for DisassociateAgentCollaboratorOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateAgentKnowledgeBaseInput(_SerdeShape): - """Dataclass for DisassociateAgentKnowledgeBaseInput structure.""" - - agent_id: str | None = ... - """ - The unique identifier of the agent from which to disassociate the - knowledge base. - """ - agent_version: str | None = ... - """The version of the agent from which to disassociate the knowledge base.""" - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base to disassociate.""" - -@dataclass(kw_only=True) -class DisassociateAgentKnowledgeBaseOutput(_SerdeShape): - """Dataclass for DisassociateAgentKnowledgeBaseOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DocumentAccessControlEntry(_SerdeShape): - """An access control entry specifying a principal and their access level.""" - - name: str - """The user identifier.""" - type: str - """The type of principal.""" - access: str - """Whether to allow or deny access.""" - -@dataclass(kw_only=True) -class DocumentContent(_SerdeShape): - """ - Contains information about the content of a document. Choose a - `dataSourceType` and include the field that corresponds to it. - """ - - data_source_type: str - """ - The type of data source that is connected to the knowledge base to which - to ingest this document. - """ - custom: CustomContent | None = ... - """ - Contains information about the content to ingest into a knowledge base - connected to a custom data source. - """ - s3: S3Content | None = ... - """ - Contains information about the content to ingest into a knowledge base - connected to an Amazon S3 data source - """ - -@dataclass(kw_only=True) -class DocumentIdentifier(_SerdeShape): - """Contains information that identifies the document.""" - - data_source_type: str - """ - The type of data source connected to the knowledge base that contains - the document. - """ - s3: S3Location | None = ... - """Contains information that identifies the document in an S3 data source.""" - custom: CustomDocumentIdentifier | None = ... - """ - Contains information that identifies the document in a custom data - source. - """ - -@dataclass(kw_only=True) -class DocumentMetadata(_SerdeShape): - """ - Contains information about the metadata associate with the content to - ingest into a knowledge base. Choose a `type` and include the field that - corresponds to it. - """ - - type: str - """The type of the source source from which to add metadata.""" - inline_attributes: list[MetadataAttribute] | None = ... - """ - An array of objects, each of which defines a metadata attribute to - associate with the content to ingest. You define the attributes inline. - """ - s3_location: CustomS3Location | None = ... - """ - The Amazon S3 location of the file containing metadata to associate with - the content to ingest. - """ - access_control_list: list[DocumentAccessControlEntry] | None = ... - """ - Access control list for the document. Used when metadata type is - IN_LINE_ATTRIBUTE. - """ - -class DocumentStatus(UnknownEnumMixin, StrEnum): - INDEXED = "INDEXED" - PARTIALLY_INDEXED = "PARTIALLY_INDEXED" - PENDING = "PENDING" - FAILED = "FAILED" - METADATA_PARTIALLY_INDEXED = "METADATA_PARTIALLY_INDEXED" - METADATA_UPDATE_FAILED = "METADATA_UPDATE_FAILED" - IGNORED = "IGNORED" - NOT_FOUND = "NOT_FOUND" - STARTING = "STARTING" - IN_PROGRESS = "IN_PROGRESS" - DELETING = "DELETING" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - -@dataclass(kw_only=True) -class DuplicateConditionExpressionFlowValidationDetails(_SerdeShape): - """Details about duplicate condition expressions found in a condition node.""" - - node: str - """The name of the node containing the duplicate condition expressions.""" - expression: str - """The duplicated condition expression.""" - -@dataclass(kw_only=True) -class DuplicateConnectionsFlowValidationDetails(_SerdeShape): - """Details about duplicate connections found between two nodes in the flow.""" - - source: str - """The name of the source node where the duplicate connection starts.""" - target: str - """The name of the target node where the duplicate connection ends.""" - -class EmbeddingDataType(UnknownEnumMixin, StrEnum): - """Bedrock models embedding data type. Can be either float32 or binary.""" - - FLOAT32 = "FLOAT32" - BINARY = "BINARY" - -@dataclass(kw_only=True) -class EmbeddingModelConfiguration(_SerdeShape): - """The configuration details for the embeddings model.""" - - bedrock_embedding_model_configuration: ( - BedrockEmbeddingModelConfiguration | None - ) = ... - """The vector configuration details on the Bedrock embeddings model.""" - -class EmbeddingModelType(UnknownEnumMixin, StrEnum): - """ - Choose `CUSTOM` to provide your own Bedrock embedding model ARN. Choose - `MANAGED` to use a service-managed embedding model. For more - information, see [Embedding model - options](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-create.html#kb-managed-embedding-models). - """ - - CUSTOM = "CUSTOM" - MANAGED = "MANAGED" - -class EnabledOrDisabledState(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class EnrichmentStrategyConfiguration(_SerdeShape): - """The strategy used for performing context enrichment.""" - - method: str - """The method used for the context enrichment strategy.""" - -class EnrichmentStrategyMethod(UnknownEnumMixin, StrEnum): - CHUNK_ENTITY_EXTRACTION = "CHUNK_ENTITY_EXTRACTION" - -@dataclass(kw_only=True) -class FieldForReranking(_SerdeShape): - """ - Specifies a metadata field to include or exclude during the reranking - process. - """ - - field_name: str - """The name of the metadata field to include or exclude during reranking.""" - -class FieldType(UnknownEnumMixin, StrEnum): - """ - The data type of a custom metadata field. Valid values: - - - `STRING` -- The field holds a single string value. - - - `STRING_LIST` -- The field holds a list of string values. - """ - - STRING = "STRING" - STRING_LIST = "STRING_LIST" - -@dataclass(kw_only=True) -class FixedSizeChunkingConfiguration(_SerdeShape): - """ - Configurations for when you choose fixed-size chunking. If you set the - `chunkingStrategy` as `NONE`, exclude this field. - """ - - max_tokens: int - """The maximum number of tokens to include in a chunk.""" - overlap_percentage: int - """The percentage of overlap between adjacent chunks of a data source.""" - -@dataclass(kw_only=True) -class FlowAliasConcurrencyConfiguration(_SerdeShape): - """ - Determines how multiple nodes in a flow can run in parallel. Running - nodes concurrently can improve your flow's performance. - """ - - type: str - """ - The type of concurrency to use for parallel node execution. Specify one - of the following options: - - - `Automatic` - Amazon Bedrock determines which nodes can be executed in - parallel based on the flow definition and its dependencies. - - - `Manual` - You specify which nodes can be executed in parallel. - """ - max_concurrency: int | None = ... - """ - The maximum number of nodes that can be executed concurrently in the - flow. - """ - -@dataclass(kw_only=True) -class FlowAliasRoutingConfigurationListItem(_SerdeShape): - """Contains information about a version that the alias maps to.""" - - flow_version: str | None = ... - """The version that the alias maps to.""" - -@dataclass(kw_only=True) -class FlowAliasSummary(_SerdeShape): - """ - Contains information about an alias of a flow. - - This data type is used in the following API operations: - - - [ListFlowAliases - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListFlowAliases.html#API_agent_ListFlowAliases_ResponseSyntax) - """ - - name: str - """The name of the alias.""" - description: str | None = ... - """A description of the alias.""" - routing_configuration: list[FlowAliasRoutingConfigurationListItem] - """ - A list of configurations about the versions that the alias maps to. - Currently, you can only specify one. - """ - concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... - """ - The configuration that specifies how nodes in the flow are executed - concurrently. - """ - flow_id: str - """The unique identifier of the flow.""" - id: str - """The unique identifier of the alias of the flow.""" - arn: str - """The Amazon Resource Name (ARN) of the alias.""" - created_at: datetime - """The time at which the alias was created.""" - updated_at: datetime - """The time at which the alias was last updated.""" - -@dataclass(kw_only=True) -class FlowCondition(_SerdeShape): - """Defines a condition in the condition node.""" - - name: str - """A name for the condition that you can reference.""" - expression: str | None = ... - """ - Defines the condition. You must refer to at least one of the inputs in - the condition. For more information, expand the Condition node section - in [Node types in prompt - flows](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html#flows-nodes). - """ - -@dataclass(kw_only=True) -class FlowConditionalConnectionConfiguration(_SerdeShape): - """ - The configuration of a connection between a condition node and another - node. - """ - - condition: str - """ - The condition that triggers this connection. For more information about - how to write conditions, see the **Condition** node type in the [Node - types](https://docs.aws.amazon.com/bedrock/latest/userguide/node-types.html) - topic in the Amazon Bedrock User Guide. - """ - -@dataclass(kw_only=True) -class FlowConnection(_SerdeShape): - """Contains information about a connection between two nodes in the flow.""" - - type: str - """ - Whether the source node that the connection begins from is a condition - node (`Conditional`) or not (`Data`). - """ - name: str - """A name for the connection that you can reference.""" - source: str - """The node that the connection starts at.""" - target: str - """The node that the connection ends at.""" - configuration: FlowConnectionConfiguration | None = ... - """The configuration of the connection.""" - -@dataclass -class FlowConnectionConfigurationData(_SerdeShape): - """ - The configuration of a connection originating from a node that isn't a - Condition node. - """ - - value: FlowDataConnectionConfiguration - -@dataclass -class FlowConnectionConfigurationConditional(_SerdeShape): - """The configuration of a connection originating from a Condition node.""" - - value: FlowConditionalConnectionConfiguration - -@dataclass -class FlowConnectionConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowConnectionConfiguration = Union[ - FlowConnectionConfigurationData - | FlowConnectionConfigurationConditional - | FlowConnectionConfigurationUnknown -] -"""The configuration of the connection.""" - -class _FlowConnectionConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> FlowConnectionConfiguration: ... - -class FlowConnectionType(UnknownEnumMixin, StrEnum): - DATA = "Data" - CONDITIONAL = "Conditional" - -@dataclass(kw_only=True) -class FlowDataConnectionConfiguration(_SerdeShape): - """ - The configuration of a connection originating from a node that isn't a - Condition node. - """ - - source_output: str - """ - The name of the output in the source node that the connection begins - from. - """ - target_input: str - """The name of the input in the target node that the connection ends at.""" - -@dataclass(kw_only=True) -class FlowDefinition(_SerdeShape): - """The definition of the nodes and connections between nodes in the flow.""" - - nodes: list[FlowNode] | None = ... - """An array of node definitions in the flow.""" - connections: list[FlowConnection] | None = ... - """An array of connection definitions in the flow.""" - -@dataclass(kw_only=True) -class FlowNode(_SerdeShape): - """Contains configurations about a node in the flow.""" - - name: str - """A name for the node.""" - type: str - """ - The type of node. This value must match the name of the key that you - provide in the configuration you provide in the `FlowNodeConfiguration` - field. - """ - configuration: FlowNodeConfiguration | None = ... - """Contains configurations for the node.""" - inputs: list[FlowNodeInput] | None = ... - """ - An array of objects, each of which contains information about an input - into the node. - """ - outputs: list[FlowNodeOutput] | None = ... - """ - A list of objects, each of which contains information about an output - from the node. - """ - -@dataclass -class FlowNodeConfigurationInput(_SerdeShape): - """ - Contains configurations for an input flow node in your flow. The first - node in the flow. `inputs` can't be specified for this node. - """ - - value: InputFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationOutput(_SerdeShape): - """ - Contains configurations for an output flow node in your flow. The last - node in the flow. `outputs` can't be specified for this node. - """ - - value: OutputFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationKnowledgeBase(_SerdeShape): - """ - Contains configurations for a knowledge base node in your flow. Queries - a knowledge base and returns the retrieved results or generated - response. - """ - - value: KnowledgeBaseFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationCondition(_SerdeShape): - """ - Contains configurations for a condition node in your flow. Defines - conditions that lead to different branches of the flow. - """ - - value: ConditionFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationLex(_SerdeShape): - """ - Contains configurations for a Lex node in your flow. Invokes an Amazon - Lex bot to identify the intent of the input and return the intent as the - output. - """ - - value: LexFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationPrompt(_SerdeShape): - """ - Contains configurations for a prompt node in your flow. Runs a prompt - and generates the model response as the output. You can use a prompt - from Prompt management or you can configure one in this node. - """ - - value: PromptFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationLambdaFunction(_SerdeShape): - """ - Contains configurations for a Lambda function node in your flow. Invokes - an Lambda function. - """ - - value: LambdaFunctionFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationStorage(_SerdeShape): - """ - Contains configurations for a storage node in your flow. Stores an input - in an Amazon S3 location. - """ - - value: StorageFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationAgent(_SerdeShape): - """ - Contains configurations for an agent node in your flow. Invokes an alias - of an agent and returns the response. - """ - - value: AgentFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationRetrieval(_SerdeShape): - """ - Contains configurations for a retrieval node in your flow. Retrieves - data from an Amazon S3 location and returns it as the output. - """ - - value: RetrievalFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationIterator(_SerdeShape): - """ - Contains configurations for an iterator node in your flow. Takes an - input that is an array and iteratively sends each item of the array as - an output to the following node. The size of the array is also returned - in the output. - - The output flow node at the end of the flow iteration will return a - response for each member of the array. To return only one response, you - can include a collector node downstream from the iterator node. - """ - - value: IteratorFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationCollector(_SerdeShape): - """ - Contains configurations for a collector node in your flow. Collects an - iteration of inputs and consolidates them into an array of outputs. - """ - - value: CollectorFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationInlineCode(_SerdeShape): - """ - Contains configurations for an inline code node in your flow. Inline - code nodes let you write and execute code directly within your flow, - enabling data transformations, custom logic, and integrations without - needing an external Lambda function. - """ - - value: InlineCodeFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationLoop(_SerdeShape): - """Contains configurations for a DoWhile loop in your flow.""" - - value: LoopFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationLoopInput(_SerdeShape): - """Contains input node configurations for a DoWhile loop in your flow.""" - - value: LoopInputFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationLoopController(_SerdeShape): - """Contains controller node configurations for a DoWhile loop in your flow.""" - - value: LoopControllerFlowNodeConfiguration - -@dataclass -class FlowNodeConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowNodeConfiguration = Union[ - FlowNodeConfigurationInput - | FlowNodeConfigurationOutput - | FlowNodeConfigurationKnowledgeBase - | FlowNodeConfigurationCondition - | FlowNodeConfigurationLex - | FlowNodeConfigurationPrompt - | FlowNodeConfigurationLambdaFunction - | FlowNodeConfigurationStorage - | FlowNodeConfigurationAgent - | FlowNodeConfigurationRetrieval - | FlowNodeConfigurationIterator - | FlowNodeConfigurationCollector - | FlowNodeConfigurationInlineCode - | FlowNodeConfigurationLoop - | FlowNodeConfigurationLoopInput - | FlowNodeConfigurationLoopController - | FlowNodeConfigurationUnknown -] -""" -Contains configurations for a node in your flow. For more information, -see [Node types in a -flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) -in the Amazon Bedrock User Guide. -""" - -class _FlowNodeConfigurationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FlowNodeConfiguration: ... - -@dataclass(kw_only=True) -class FlowNodeInput(_SerdeShape): - """Contains configurations for an input in an Amazon Bedrock Flows node.""" - - name: str - """Specifies a name for the input that you can reference.""" - type: str - """ - Specifies the data type of the input. If the input doesn't match this - type at runtime, a validation error will be thrown. - """ - expression: str - """ - An expression that formats the input for the node. For an explanation of - how to create expressions, see [Expressions in Prompt flows in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-expressions.html). - """ - category: str | None = ... - """ - Specifies how input data flows between iterations in a DoWhile loop. - - - `LoopCondition` - Controls whether the loop continues by evaluating - condition expressions against the input data. Use this category to - define the condition that determines if the loop should continue. - - - `ReturnValueToLoopStart` - Defines data to pass back to the start of - the loop's next iteration. Use this category for variables that you - want to update for each loop iteration. - - - `ExitLoop` - Defines the value that's available once the loop ends. - Use this category to expose loop results to nodes outside the loop. - """ - -class FlowNodeInputCategory(UnknownEnumMixin, StrEnum): - LOOP_CONDITION = "LoopCondition" - RETURN_VALUE_TO_LOOP_START = "ReturnValueToLoopStart" - EXIT_LOOP = "ExitLoop" - -class FlowNodeIODataType(UnknownEnumMixin, StrEnum): - STRING = "String" - NUMBER = "Number" - BOOLEAN = "Boolean" - OBJECT = "Object" - ARRAY = "Array" - -@dataclass(kw_only=True) -class FlowNodeOutput(_SerdeShape): - """Contains configurations for an output from a node.""" - - name: str - """A name for the output that you can reference.""" - type: str - """ - The data type of the output. If the output doesn't match this type at - runtime, a validation error will be thrown. - """ - -class FlowNodeType(UnknownEnumMixin, StrEnum): - INPUT = "Input" - OUTPUT = "Output" - KNOWLEDGE_BASE = "KnowledgeBase" - CONDITION = "Condition" - LEX = "Lex" - PROMPT = "Prompt" - LAMBDA_FUNCTION = "LambdaFunction" - STORAGE = "Storage" - AGENT = "Agent" - RETRIEVAL = "Retrieval" - ITERATOR = "Iterator" - COLLECTOR = "Collector" - INLINE_CODE = "InlineCode" - LOOP = "Loop" - LOOP_INPUT = "LoopInput" - LOOP_CONTROLLER = "LoopController" - -class FlowStatus(UnknownEnumMixin, StrEnum): - FAILED = "Failed" - PREPARED = "Prepared" - PREPARING = "Preparing" - NOT_PREPARED = "NotPrepared" - -@dataclass(kw_only=True) -class FlowSummary(_SerdeShape): - """Contains the definition of a flow.""" - - name: str - """The name of the flow.""" - description: str | None = ... - """A description of the flow.""" - id: str - """The unique identifier of the flow.""" - arn: str - """The Amazon Resource Name (ARN) of the flow.""" - status: str - """ - The status of the flow. The following statuses are possible: - - - NotPrepared -- The flow has been created or updated, but hasn't been - prepared. If you just created the flow, you can't test it. If you - updated the flow, the `DRAFT` version won't contain the latest - changes for testing. Send a - [PrepareFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PrepareFlow.html) - request to package the latest changes into the `DRAFT` version. - - - Preparing -- The flow is being prepared so that the `DRAFT` version - contains the latest changes for testing. - - - Prepared -- The flow is prepared and the `DRAFT` version contains the - latest changes for testing. - - - Failed -- The last API operation that you invoked on the flow failed. - Send a - [GetFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html) - request and check the error message in the `validations` field. - """ - created_at: datetime - """The time at which the flow was created.""" - updated_at: datetime - """The time at which the flow was last updated.""" - version: str - """The latest version of the flow.""" - -@dataclass(kw_only=True) -class FlowValidation(_SerdeShape): - """ - Contains information about validation of the flow. - - This data type is used in the following API operations: - - - [GetFlow - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html#API_agent_GetFlow_ResponseSyntax) - - - [GetFlowVersion - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlowVersion.html#API_agent_GetFlowVersion_ResponseSyntax) - """ - - message: str - """A message describing the validation error.""" - severity: str - """The severity of the issue described in the message.""" - details: FlowValidationDetails | None = ... - """Specific details about the validation issue encountered in the flow.""" - type: str | None = ... - """The type of validation issue encountered in the flow.""" - -@dataclass -class FlowValidationDetailsCyclicConnection(_SerdeShape): - """Details about a cyclic connection in the flow.""" - - value: CyclicConnectionFlowValidationDetails - -@dataclass -class FlowValidationDetailsDuplicateConnections(_SerdeShape): - """Details about duplicate connections between nodes.""" - - value: DuplicateConnectionsFlowValidationDetails - -@dataclass -class FlowValidationDetailsDuplicateConditionExpression(_SerdeShape): - """Details about duplicate condition expressions in a node.""" - - value: DuplicateConditionExpressionFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnreachableNode(_SerdeShape): - """Details about an unreachable node in the flow.""" - - value: UnreachableNodeFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnknownConnectionSource(_SerdeShape): - """Details about an unknown source node for a connection.""" - - value: UnknownConnectionSourceFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnknownConnectionSourceOutput(_SerdeShape): - """Details about an unknown source output for a connection.""" - - value: UnknownConnectionSourceOutputFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnknownConnectionTarget(_SerdeShape): - """Details about an unknown target node for a connection.""" - - value: UnknownConnectionTargetFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnknownConnectionTargetInput(_SerdeShape): - """Details about an unknown target input for a connection.""" - - value: UnknownConnectionTargetInputFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnknownConnectionCondition(_SerdeShape): - """Details about an unknown condition for a connection.""" - - value: UnknownConnectionConditionFlowValidationDetails - -@dataclass -class FlowValidationDetailsMalformedConditionExpression(_SerdeShape): - """Details about a malformed condition expression in a node.""" - - value: MalformedConditionExpressionFlowValidationDetails - -@dataclass -class FlowValidationDetailsMalformedNodeInputExpression(_SerdeShape): - """Details about a malformed input expression in a node.""" - - value: MalformedNodeInputExpressionFlowValidationDetails - -@dataclass -class FlowValidationDetailsMismatchedNodeInputType(_SerdeShape): - """Details about mismatched input data types in a node.""" - - value: MismatchedNodeInputTypeFlowValidationDetails - -@dataclass -class FlowValidationDetailsMismatchedNodeOutputType(_SerdeShape): - """Details about mismatched output data types in a node.""" - - value: MismatchedNodeOutputTypeFlowValidationDetails - -@dataclass -class FlowValidationDetailsIncompatibleConnectionDataType(_SerdeShape): - """Details about incompatible data types in a connection.""" - - value: IncompatibleConnectionDataTypeFlowValidationDetails - -@dataclass -class FlowValidationDetailsMissingConnectionConfiguration(_SerdeShape): - """Details about missing configuration for a connection.""" - - value: MissingConnectionConfigurationFlowValidationDetails - -@dataclass -class FlowValidationDetailsMissingDefaultCondition(_SerdeShape): - """Details about a missing default condition in a conditional node.""" - - value: MissingDefaultConditionFlowValidationDetails - -@dataclass -class FlowValidationDetailsMissingEndingNodes(_SerdeShape): - """Details about missing ending nodes in the flow.""" - - value: MissingEndingNodesFlowValidationDetails - -@dataclass -class FlowValidationDetailsMissingNodeConfiguration(_SerdeShape): - """Details about missing configuration for a node.""" - - value: MissingNodeConfigurationFlowValidationDetails - -@dataclass -class FlowValidationDetailsMissingNodeInput(_SerdeShape): - """Details about a missing required input in a node.""" - - value: MissingNodeInputFlowValidationDetails - -@dataclass -class FlowValidationDetailsMissingNodeOutput(_SerdeShape): - """Details about a missing required output in a node.""" - - value: MissingNodeOutputFlowValidationDetails - -@dataclass -class FlowValidationDetailsMissingStartingNodes(_SerdeShape): - """Details about missing starting nodes in the flow.""" - - value: MissingStartingNodesFlowValidationDetails - -@dataclass -class FlowValidationDetailsMultipleNodeInputConnections(_SerdeShape): - """Details about multiple connections to a single node input.""" - - value: MultipleNodeInputConnectionsFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnfulfilledNodeInput(_SerdeShape): - """Details about an unfulfilled node input with no valid connections.""" - - value: UnfulfilledNodeInputFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnsatisfiedConnectionConditions(_SerdeShape): - """Details about unsatisfied conditions for a connection.""" - - value: UnsatisfiedConnectionConditionsFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnspecified(_SerdeShape): - """Details about an unspecified validation.""" - - value: UnspecifiedFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnknownNodeInput(_SerdeShape): - """Details about an unknown input for a node.""" - - value: UnknownNodeInputFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnknownNodeOutput(_SerdeShape): - """Details about an unknown output for a node.""" - - value: UnknownNodeOutputFlowValidationDetails - -@dataclass -class FlowValidationDetailsMissingLoopInputNode(_SerdeShape): - """ - Details about a flow that's missing a required `LoopInput` node in a - DoWhile loop. - """ - - value: MissingLoopInputNodeFlowValidationDetails - -@dataclass -class FlowValidationDetailsMissingLoopControllerNode(_SerdeShape): - """ - Details about a flow that's missing a required `LoopController` node in - a DoWhile loop. - """ - - value: MissingLoopControllerNodeFlowValidationDetails - -@dataclass -class FlowValidationDetailsMultipleLoopInputNodes(_SerdeShape): - """ - Details about a flow that contains multiple `LoopInput` nodes in a - DoWhile loop. - """ - - value: MultipleLoopInputNodesFlowValidationDetails - -@dataclass -class FlowValidationDetailsMultipleLoopControllerNodes(_SerdeShape): - """ - Details about a flow that contains multiple `LoopController` nodes in a - DoWhile loop. - """ - - value: MultipleLoopControllerNodesFlowValidationDetails - -@dataclass -class FlowValidationDetailsLoopIncompatibleNodeType(_SerdeShape): - """ - Details about a flow that includes incompatible node types in a DoWhile - loop. - """ - - value: LoopIncompatibleNodeTypeFlowValidationDetails - -@dataclass -class FlowValidationDetailsInvalidLoopBoundary(_SerdeShape): - """ - Details about a flow that includes connections that violate loop - boundary rules. - """ - - value: InvalidLoopBoundaryFlowValidationDetails - -@dataclass -class FlowValidationDetailsUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FlowValidationDetails = Union[ - FlowValidationDetailsCyclicConnection - | FlowValidationDetailsDuplicateConnections - | FlowValidationDetailsDuplicateConditionExpression - | FlowValidationDetailsUnreachableNode - | FlowValidationDetailsUnknownConnectionSource - | FlowValidationDetailsUnknownConnectionSourceOutput - | FlowValidationDetailsUnknownConnectionTarget - | FlowValidationDetailsUnknownConnectionTargetInput - | FlowValidationDetailsUnknownConnectionCondition - | FlowValidationDetailsMalformedConditionExpression - | FlowValidationDetailsMalformedNodeInputExpression - | FlowValidationDetailsMismatchedNodeInputType - | FlowValidationDetailsMismatchedNodeOutputType - | FlowValidationDetailsIncompatibleConnectionDataType - | FlowValidationDetailsMissingConnectionConfiguration - | FlowValidationDetailsMissingDefaultCondition - | FlowValidationDetailsMissingEndingNodes - | FlowValidationDetailsMissingNodeConfiguration - | FlowValidationDetailsMissingNodeInput - | FlowValidationDetailsMissingNodeOutput - | FlowValidationDetailsMissingStartingNodes - | FlowValidationDetailsMultipleNodeInputConnections - | FlowValidationDetailsUnfulfilledNodeInput - | FlowValidationDetailsUnsatisfiedConnectionConditions - | FlowValidationDetailsUnspecified - | FlowValidationDetailsUnknownNodeInput - | FlowValidationDetailsUnknownNodeOutput - | FlowValidationDetailsMissingLoopInputNode - | FlowValidationDetailsMissingLoopControllerNode - | FlowValidationDetailsMultipleLoopInputNodes - | FlowValidationDetailsMultipleLoopControllerNodes - | FlowValidationDetailsLoopIncompatibleNodeType - | FlowValidationDetailsInvalidLoopBoundary - | FlowValidationDetailsUnknown -] -"""A union type containing various possible validation issues in the flow.""" - -class _FlowValidationDetailsDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FlowValidationDetails: ... - -class FlowValidationSeverity(UnknownEnumMixin, StrEnum): - WARNING = "Warning" - ERROR = "Error" - -class FlowValidationType(UnknownEnumMixin, StrEnum): - CYCLIC_CONNECTION = "CyclicConnection" - DUPLICATE_CONNECTIONS = "DuplicateConnections" - DUPLICATE_CONDITION_EXPRESSION = "DuplicateConditionExpression" - UNREACHABLE_NODE = "UnreachableNode" - UNKNOWN_CONNECTION_SOURCE = "UnknownConnectionSource" - UNKNOWN_CONNECTION_SOURCE_OUTPUT = "UnknownConnectionSourceOutput" - UNKNOWN_CONNECTION_TARGET = "UnknownConnectionTarget" - UNKNOWN_CONNECTION_TARGET_INPUT = "UnknownConnectionTargetInput" - UNKNOWN_CONNECTION_CONDITION = "UnknownConnectionCondition" - MALFORMED_CONDITION_EXPRESSION = "MalformedConditionExpression" - MALFORMED_NODE_INPUT_EXPRESSION = "MalformedNodeInputExpression" - MISMATCHED_NODE_INPUT_TYPE = "MismatchedNodeInputType" - MISMATCHED_NODE_OUTPUT_TYPE = "MismatchedNodeOutputType" - INCOMPATIBLE_CONNECTION_DATA_TYPE = "IncompatibleConnectionDataType" - MISSING_CONNECTION_CONFIGURATION = "MissingConnectionConfiguration" - MISSING_DEFAULT_CONDITION = "MissingDefaultCondition" - MISSING_ENDING_NODES = "MissingEndingNodes" - MISSING_NODE_CONFIGURATION = "MissingNodeConfiguration" - MISSING_NODE_INPUT = "MissingNodeInput" - MISSING_NODE_OUTPUT = "MissingNodeOutput" - MISSING_STARTING_NODES = "MissingStartingNodes" - MULTIPLE_NODE_INPUT_CONNECTIONS = "MultipleNodeInputConnections" - UNFULFILLED_NODE_INPUT = "UnfulfilledNodeInput" - UNSATISFIED_CONNECTION_CONDITIONS = "UnsatisfiedConnectionConditions" - UNSPECIFIED = "Unspecified" - UNKNOWN_NODE_INPUT = "UnknownNodeInput" - UNKNOWN_NODE_OUTPUT = "UnknownNodeOutput" - MISSING_LOOP_INPUT_NODE = "MissingLoopInputNode" - MISSING_LOOP_CONTROLLER_NODE = "MissingLoopControllerNode" - MULTIPLE_LOOP_INPUT_NODES = "MultipleLoopInputNodes" - MULTIPLE_LOOP_CONTROLLER_NODES = "MultipleLoopControllerNodes" - LOOP_INCOMPATIBLE_NODE_TYPE = "LoopIncompatibleNodeType" - INVALID_LOOP_BOUNDARY = "InvalidLoopBoundary" - -@dataclass(kw_only=True) -class FlowVersionSummary(_SerdeShape): - """ - Contains information about a version of a flow. - - This data type is used in the following API operations: - - - [ListFlowVersions - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListFlowVersions.html#API_agent_ListFlowVersions_ResponseSyntax) - """ - - id: str - """The unique identifier of the flow.""" - arn: str - """The Amazon Resource Name (ARN) of the flow that the version belongs to.""" - status: str - """The status of the flow.""" - created_at: datetime - """The time at the version was created.""" - version: str - """The version of the flow.""" - -@dataclass(kw_only=True) -class Function(_SerdeShape): - """ - Defines parameters that the agent needs to invoke from the user to - complete the function. Corresponds to an action in an action group. - - This data type is used in the following API operations: - - - [CreateAgentActionGroup - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_RequestSyntax) - - - [CreateAgentActionGroup - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_ResponseSyntax) - - - [UpdateAgentActionGroup - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_RequestSyntax) - - - [UpdateAgentActionGroup - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_ResponseSyntax) - - - [GetAgentActionGroup - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentActionGroup.html#API_agent_GetAgentActionGroup_ResponseSyntax) - """ - - name: str - """A name for the function.""" - description: str | None = ... - """A description of the function and its purpose.""" - parameters: dict[str, ParameterDetail] | None = ... - """ - The parameters that the agent elicits from the user to fulfill the - function. - """ - require_confirmation: str | None = ... - """ - Contains information if user confirmation is required to invoke the - function. - """ - -@dataclass -class FunctionSchemaFunctions(_SerdeShape): - """A list of functions that each define an action in the action group.""" - - value: list[Function] - -@dataclass -class FunctionSchemaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FunctionSchema = Union[FunctionSchemaFunctions | FunctionSchemaUnknown] -""" -Defines functions that each define parameters that the agent needs to -invoke from the user. Each function represents an action in an action -group. - -This data type is used in the following API operations: - -- [CreateAgentActionGroup - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_RequestSyntax) - -- [CreateAgentActionGroup - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_ResponseSyntax) - -- [UpdateAgentActionGroup - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_RequestSyntax) - -- [UpdateAgentActionGroup - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_ResponseSyntax) - -- [GetAgentActionGroup - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentActionGroup.html#API_agent_GetAgentActionGroup_ResponseSyntax) -""" - -class _FunctionSchemaDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FunctionSchema: ... - -@dataclass(kw_only=True) -class GetAgentActionGroupInput(_SerdeShape): - """Dataclass for GetAgentActionGroupInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent that the action group belongs to.""" - agent_version: str | None = ... - """The version of the agent that the action group belongs to.""" - action_group_id: str | None = ... - """The unique identifier of the action group for which to get information.""" - -@dataclass(kw_only=True) -class GetAgentActionGroupOutput(_SerdeShape): - """Dataclass for GetAgentActionGroupOutput structure.""" - - agent_action_group: AgentActionGroup - """Contains details about the action group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAgentAliasInput(_SerdeShape): - """Dataclass for GetAgentAliasInput structure.""" - - agent_id: str | None = ... - """ - The unique identifier of the agent to which the alias to get information - belongs. - """ - agent_alias_id: str | None = ... - """The unique identifier of the alias for which to get information.""" - -@dataclass(kw_only=True) -class GetAgentAliasOutput(_SerdeShape): - """Dataclass for GetAgentAliasOutput structure.""" - - agent_alias: AgentAlias - """Contains information about the alias.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAgentCollaboratorInput(_SerdeShape): - """Dataclass for GetAgentCollaboratorInput structure.""" - - agent_id: str | None = ... - """The agent's ID.""" - agent_version: str | None = ... - """The agent's version.""" - collaborator_id: str | None = ... - """The collaborator's ID.""" - -@dataclass(kw_only=True) -class GetAgentCollaboratorOutput(_SerdeShape): - """Dataclass for GetAgentCollaboratorOutput structure.""" - - agent_collaborator: AgentCollaborator - """Details about the collaborator.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAgentInput(_SerdeShape): - """Dataclass for GetAgentInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent.""" - -@dataclass(kw_only=True) -class GetAgentKnowledgeBaseInput(_SerdeShape): - """Dataclass for GetAgentKnowledgeBaseInput structure.""" - - agent_id: str | None = ... - """ - The unique identifier of the agent with which the knowledge base is - associated. - """ - agent_version: str | None = ... - """The version of the agent with which the knowledge base is associated.""" - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base associated with the agent.""" - -@dataclass(kw_only=True) -class GetAgentKnowledgeBaseOutput(_SerdeShape): - """Dataclass for GetAgentKnowledgeBaseOutput structure.""" - - agent_knowledge_base: AgentKnowledgeBase - """Contains details about a knowledge base attached to an agent.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAgentOutput(_SerdeShape): - """Dataclass for GetAgentOutput structure.""" - - agent: Agent - """Contains details about the agent.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAgentVersionInput(_SerdeShape): - """Dataclass for GetAgentVersionInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent.""" - agent_version: str | None = ... - """The version of the agent.""" - -@dataclass(kw_only=True) -class GetAgentVersionOutput(_SerdeShape): - """Dataclass for GetAgentVersionOutput structure.""" - - agent_version: AgentVersion - """Contains details about the version of the agent.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDataSourceInput(_SerdeShape): - """Dataclass for GetDataSourceInput structure.""" - - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base for the data source.""" - data_source_id: str | None = ... - """The unique identifier of the data source.""" - -@dataclass(kw_only=True) -class GetDataSourceOutput(_SerdeShape): - """Dataclass for GetDataSourceOutput structure.""" - - data_source: DataSource - """Contains details about the data source.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFlowAliasInput(_SerdeShape): - """Dataclass for GetFlowAliasInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow that the alias belongs to.""" - alias_identifier: str | None = ... - """The unique identifier of the alias for which to retrieve information.""" - -@dataclass(kw_only=True) -class GetFlowAliasOutput(_SerdeShape): - """Dataclass for GetFlowAliasOutput structure.""" - - name: str - """The name of the alias.""" - description: str | None = ... - """The description of the flow.""" - routing_configuration: list[FlowAliasRoutingConfigurationListItem] - """Contains information about the version that the alias is mapped to.""" - concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... - """ - The configuration that specifies how nodes in the flow are executed in - parallel. - """ - flow_id: str - """The unique identifier of the flow that the alias belongs to.""" - id: str - """The unique identifier of the alias of the flow.""" - arn: str - """The Amazon Resource Name (ARN) of the flow.""" - created_at: datetime - """The time at which the flow was created.""" - updated_at: datetime - """The time at which the alias was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFlowInput(_SerdeShape): - """Dataclass for GetFlowInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - included_data: str | None = ... - """ - Controls the scope of data returned. Set to `METADATA_ONLY` to return - only resource metadata. Set to `ALL_DATA` or omit this field to return - the full response. - """ - -@dataclass(kw_only=True) -class GetFlowOutput(_SerdeShape): - """Dataclass for GetFlowOutput structure.""" - - name: str - """The name of the flow.""" - description: str | None = ... - """The description of the flow.""" - execution_role_arn: str - """ - The Amazon Resource Name (ARN) of the service role with permissions to - create a flow. For more information, see [Create a service row for - flows](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) - in the Amazon Bedrock User Guide. - """ - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted - with. - """ - id: str - """The unique identifier of the flow.""" - arn: str - """The Amazon Resource Name (ARN) of the flow.""" - status: str - """ - The status of the flow. The following statuses are possible: - - - NotPrepared -- The flow has been created or updated, but hasn't been - prepared. If you just created the flow, you can't test it. If you - updated the flow, the `DRAFT` version won't contain the latest - changes for testing. Send a - [PrepareFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PrepareFlow.html) - request to package the latest changes into the `DRAFT` version. - - - Preparing -- The flow is being prepared so that the `DRAFT` version - contains the latest changes for testing. - - - Prepared -- The flow is prepared and the `DRAFT` version contains the - latest changes for testing. - - - Failed -- The last API operation that you invoked on the flow failed. - Send a - [GetFlow](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html) - request and check the error message in the `validations` field. - """ - created_at: datetime - """The time at which the flow was created.""" - updated_at: datetime - """The time at which the flow was last updated.""" - version: str - """The version of the flow for which information was retrieved.""" - definition: FlowDefinition | None = ... - """ - The definition of the nodes and connections between the nodes in the - flow. - """ - validations: list[FlowValidation] | None = ... - """ - A list of validation error messages related to the last failed operation - on the flow. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFlowVersionInput(_SerdeShape): - """Dataclass for GetFlowVersionInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow for which to get information.""" - flow_version: str | None = ... - """The version of the flow for which to get information.""" - included_data: str | None = ... - """ - Controls the scope of data returned. Set to `METADATA_ONLY` to return - only resource metadata. Set to `ALL_DATA` or omit this field to return - the full response. - """ - -@dataclass(kw_only=True) -class GetFlowVersionOutput(_SerdeShape): - """Dataclass for GetFlowVersionOutput structure.""" - - name: str - """The name of the version.""" - description: str | None = ... - """The description of the flow.""" - execution_role_arn: str - """ - The Amazon Resource Name (ARN) of the service role with permissions to - create a flow. For more information, see [Create a service role for - flows in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) - in the Amazon Bedrock User Guide. - """ - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that the version of the - flow is encrypted with. - """ - id: str - """The unique identifier of the flow.""" - arn: str - """The Amazon Resource Name (ARN) of the flow.""" - status: str - """The status of the flow.""" - created_at: datetime - """The time at which the flow was created.""" - version: str - """The version of the flow for which information was retrieved.""" - definition: FlowDefinition | None = ... - """The definition of the nodes and connections between nodes in the flow.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIngestionJobInput(_SerdeShape): - """Dataclass for GetIngestionJobInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base for the data ingestion job - you want to get information on. - """ - data_source_id: str | None = ... - """ - The unique identifier of the data source for the data ingestion job you - want to get information on. - """ - ingestion_job_id: str | None = ... - """ - The unique identifier of the data ingestion job you want to get - information on. - """ - -@dataclass(kw_only=True) -class GetIngestionJobOutput(_SerdeShape): - """Dataclass for GetIngestionJobOutput structure.""" - - ingestion_job: IngestionJob - """Contains details about the data ingestion job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetKnowledgeBaseDocumentsInput(_SerdeShape): - """Dataclass for GetKnowledgeBaseDocumentsInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base that is connected to the - data source. - """ - data_source_id: str | None = ... - """The unique identifier of the data source that contains the documents.""" - document_identifiers: list[DocumentIdentifier] | None = ... - """ - A list of objects, each of which contains information to identify a - document for which to retrieve information. - """ - -@dataclass(kw_only=True) -class GetKnowledgeBaseDocumentsOutput(_SerdeShape): - """Dataclass for GetKnowledgeBaseDocumentsOutput structure.""" - - document_details: list[KnowledgeBaseDocumentDetail] | None = ... - """ - A list of objects, each of which contains information about the - documents that were retrieved. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetKnowledgeBaseInput(_SerdeShape): - """Dataclass for GetKnowledgeBaseInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base you want to get information - on. - """ - -@dataclass(kw_only=True) -class GetKnowledgeBaseOutput(_SerdeShape): - """Dataclass for GetKnowledgeBaseOutput structure.""" - - knowledge_base: KnowledgeBase - """Contains details about the knowledge base.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPromptInput(_SerdeShape): - """Dataclass for GetPromptInput structure.""" - - prompt_identifier: str | None = ... - """The unique identifier of the prompt.""" - prompt_version: str | None = ... - """ - The version of the prompt about which you want to retrieve information. - Omit this field to return information about the working draft of the - prompt. - """ - included_data: str | None = ... - """ - Controls the scope of data returned. Set to `METADATA_ONLY` to return - only resource metadata. Set to `ALL_DATA` or omit this field to return - the full response. - """ - -@dataclass(kw_only=True) -class GetPromptOutput(_SerdeShape): - """Dataclass for GetPromptOutput structure.""" - - name: str - """The name of the prompt.""" - description: str | None = ... - """The descriptino of the prompt.""" - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that the prompt is - encrypted with. - """ - default_variant: str | None = ... - """ - The name of the default variant for the prompt. This value must match - the `name` field in the relevant - [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) - object. - """ - variants: list[PromptVariant] | None = ... - """ - A list of objects, each containing details about a variant of the - prompt. - """ - id: str - """The unique identifier of the prompt.""" - arn: str - """ - The Amazon Resource Name (ARN) of the prompt or the prompt version (if - you specified a version in the request). - """ - version: str - """The version of the prompt.""" - created_at: datetime - """The time at which the prompt was created.""" - updated_at: datetime - """The time at which the prompt was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyInput(_SerdeShape): - """Dataclass for GetResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the knowledge base to retrieve the - resource policy for. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyOutput(_SerdeShape): - """Dataclass for GetResourcePolicyOutput structure.""" - - resource_arn: str - """ - The ARN of the knowledge base that the resource policy is associated - with. - """ - policy: str | JsonString - """The JSON-formatted resource policy associated with the knowledge base.""" - revision_id: str - """The revision identifier of the resource policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRetrievalInstructionInput(_SerdeShape): - """Dataclass for GetRetrievalInstructionInput structure.""" - - retrieval_instruction_id: str | None = ... - """The identifier of the retrieval instruction to get.""" - retrieval_instruction_version: str | None = ... - """ - The version to return: a version number, or DRAFT for the retrieval - instruction's current reviewed content. When omitted, DRAFT is used. - This default is permanent: omitting retrievalInstructionVersion will - never resolve to a numbered version. - """ - -@dataclass(kw_only=True) -class GetRetrievalInstructionOutput(_SerdeShape): - """Dataclass for GetRetrievalInstructionOutput structure.""" - - retrieval_instruction_id: str - """The identifier of the retrieval instruction.""" - retrieval_instruction_arn: str - """The ARN of the retrieval instruction.""" - name: str - """The name of the retrieval instruction.""" - status: str - """ - Specifies whether you can use the instruction. You can resolve only an - ACTIVE instruction at retrieval time. Monotone: INACTIVE to ACTIVE once, - never back. Numbered versions are always ACTIVE. - """ - last_transition_status: str - """ - The outcome or in-progress state of the most recent create or update. - CREATING or UPDATING means the operation is still running. Independent - of status. Always has a value from the create 202 onward. On a numbered - version this is always CREATE_SUCCESSFUL: a version is created once, - from reviewed content, and is immutable. - """ - instruction: RetrievalInstructionContent | None = ... - """ - The reviewed content this instruction serves --- what - AgenticRetrieveStream resolves while status is ACTIVE. Absent until the - first create review passes. Always present on a numbered version. - """ - created_at: datetime - """ - When the retrieval instruction was created. On a numbered version, when - that version was created. - """ - updated_at: datetime - """ - When the retrieval instruction was last updated. Equal to createdAt on a - numbered version, which is immutable. - """ - description: str | None = ... - """ - A description of the retrieval instruction. On a numbered version, the - description of that version. - """ - customer_encryption_key_arn: str | None = ... - """ - The ARN of the customer managed KMS key protecting this content, when - one was supplied at create. - """ - last_transition_status_reasons: list[RetrievalInstructionFailureReason] | None = ... - """ - Why the most recent create or update was rejected. One entry for each - rejected field, or a single entry when the review itself failed. Each - entry has a machine-readable code and a message, and names the field - when it applies to one. The service includes this field only when - lastTransitionStatus is CREATE_FAILED or UPDATE_FAILED. Never present on - a numbered version. - """ - version: str | None = ... - """The version this response describes: a version number, or DRAFT.""" - latest_version: str | None = ... - """ - The largest version number that currently exists for this retrieval - instruction, that is, the newest version you can retrieve. Present only - on a DRAFT read, and only when at least one version exists. Because - version numbers are never reused, deleting versions can leave gaps: this - is the newest existing version, not a count and not the highest number - ever created. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVpcConfigurationInput(_SerdeShape): - """Dataclass for GetVpcConfigurationInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base that owns the VPC - configuration. - """ - vpc_configuration_id: str | None = ... - """The unique identifier of the VPC configuration to retrieve.""" - -@dataclass(kw_only=True) -class GetVpcConfigurationOutput(_SerdeShape): - """Dataclass for GetVpcConfigurationOutput structure.""" - - vpc_configuration: VpcConfiguration - """ - The VPC configuration, including its connection settings, resolution - mode, and current lifecycle status. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GuardrailConfiguration(_SerdeShape): - """Details about a guardrail associated with a resource.""" - - guardrail_identifier: str | None = ... - """The unique identifier of the guardrail.""" - guardrail_version: str | None = ... - """The version of the guardrail.""" - -@dataclass(kw_only=True) -class HierarchicalChunkingConfiguration(_SerdeShape): - """ - Settings for hierarchical document chunking for a data source. - Hierarchical chunking splits documents into layers of chunks where the - first layer contains large chunks, and the second layer contains smaller - chunks derived from the first layer. - - You configure the number of tokens to overlap, or repeat across adjacent - chunks. For example, if you set overlap tokens to 60, the last 60 tokens - in the first chunk are also included at the beginning of the second - chunk. For each layer, you must also configure the maximum number of - tokens in a chunk. - """ - - level_configurations: list[HierarchicalChunkingLevelConfiguration] - """Token settings for each layer.""" - overlap_tokens: int - """The number of tokens to repeat across chunks in the same layer.""" - -@dataclass(kw_only=True) -class HierarchicalChunkingLevelConfiguration(_SerdeShape): - """Token settings for a layer in a hierarchical chunking configuration.""" - - max_tokens: int - """The maximum number of tokens that a chunk can contain in this layer.""" - -@dataclass(kw_only=True) -class ImageExtractionConfiguration(_SerdeShape): - """Configuration for image extraction.""" - - image_extraction_status: str - """Whether image extraction is enabled or disabled.""" - -class IncludedData(UnknownEnumMixin, StrEnum): - ALL_DATA = "ALL_DATA" - METADATA_ONLY = "METADATA_ONLY" - -class IncludeExclude(UnknownEnumMixin, StrEnum): - INCLUDE = "INCLUDE" - EXCLUDE = "EXCLUDE" - -@dataclass(kw_only=True) -class IncompatibleConnectionDataTypeFlowValidationDetails(_SerdeShape): - """Details about incompatible data types in a connection between nodes.""" - - connection: str - """The name of the connection with incompatible data types.""" - -class IncompatibleLoopNodeType(UnknownEnumMixin, StrEnum): - INPUT = "Input" - CONDITION = "Condition" - ITERATOR = "Iterator" - COLLECTOR = "Collector" - -@dataclass(kw_only=True) -class InferenceConfiguration(_SerdeShape): - """ - Contains inference parameters to use when the agent invokes a foundation - model in the part of the agent sequence defined by the `promptType`. For - more information, see [Inference parameters for foundation - models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - """ - - temperature: float | None = ... - """ - The likelihood of the model selecting higher-probability options while - generating a response. A lower value makes the model more likely to - choose higher-probability options, while a higher value makes the model - more likely to choose lower-probability options. - """ - top_p: float | None = ... - """ - While generating a response, the model determines the probability of the - following token at each point of generation. The value that you set for - `Top P` determines the number of most-likely candidates from which the - model chooses the next token in the sequence. For example, if you set - `topP` to 0.8, the model only selects the next token from the top 80% of - the probability distribution of next tokens. - """ - top_k: int | None = ... - """ - While generating a response, the model determines the probability of the - following token at each point of generation. The value that you set for - `topK` is the number of most-likely candidates from which the model - chooses the next token in the sequence. For example, if you set `topK` - to 50, the model selects the next token from among the top 50 most - likely choices. - """ - maximum_length: int | None = ... - """The maximum number of tokens to allow in the generated response.""" - stop_sequences: list[str] | None = ... - """ - A list of stop sequences. A stop sequence is a sequence of characters - that causes the model to stop generating the response. - """ - -@dataclass(kw_only=True) -class IngestionJob(_SerdeShape): - """ - Contains details about a data ingestion job. Data sources are ingested - into a knowledge base so that Large Language Models (LLMs) can use your - data. - - This data type is used in the following API operations: - - - [StartIngestionJob - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_StartIngestionJob.html#API_agent_StartIngestionJob_ResponseSyntax) - - - [GetIngestionJob - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetIngestionJob.html#API_agent_GetIngestionJob_ResponseSyntax) - - - [ListIngestionJob - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListIngestionJobs.html#API_agent_ListIngestionJobs_ResponseSyntax) - """ - - knowledge_base_id: str - """The unique identifier of the knowledge for the data ingestion job.""" - data_source_id: str - """The unique identifier of the data source for the data ingestion job.""" - ingestion_job_id: str - """The unique identifier of the data ingestion job.""" - description: str | None = ... - """The description of the data ingestion job.""" - status: str - """The status of the data ingestion job.""" - statistics: IngestionJobStatistics | None = ... - """Contains statistics about the data ingestion job.""" - failure_reasons: list[str] | None = ... - """A list of reasons that the data ingestion job failed.""" - started_at: datetime - """ - The time the data ingestion job started. - - If you stop a data ingestion job, the `startedAt` time is the time the - job was started before the job was stopped. - """ - updated_at: datetime - """ - The time the data ingestion job was last updated. - - If you stop a data ingestion job, the `updatedAt` time is the time the - job was stopped. - """ - text_ready_at: datetime | None = ... - """ - The time at which all text content in the data ingestion job finished - extraction and became available to query. - - This time isn't returned until text extraction is complete for all the - documents in the job. - """ - -@dataclass(kw_only=True) -class IngestionJobFilter(_SerdeShape): - """The definition of a filter to filter the data.""" - - attribute: str - """The name of field or attribute to apply the filter.""" - operator: str - """The operation to apply to the field or attribute.""" - values: list[str] - """A list of values that belong to the field or attribute.""" - -class IngestionJobFilterAttribute(UnknownEnumMixin, StrEnum): - STATUS = "STATUS" - -class IngestionJobFilterOperator(UnknownEnumMixin, StrEnum): - EQ = "EQ" - -@dataclass(kw_only=True) -class IngestionJobSortBy(_SerdeShape): - """The parameters of sorting the data.""" - - attribute: str - """The name of field or attribute to apply sorting of data.""" - order: str - """The order for sorting the data.""" - -class IngestionJobSortByAttribute(UnknownEnumMixin, StrEnum): - STATUS = "STATUS" - STARTED_AT = "STARTED_AT" - -@dataclass(kw_only=True) -class IngestionJobStatistics(_SerdeShape): - """Contains the statistics for the data ingestion job.""" - - number_of_documents_scanned: int = ... - """ - The total number of source documents that were scanned. Includes new, - updated, and unchanged documents. - """ - number_of_metadata_documents_scanned: int = ... - """ - The total number of metadata files that were scanned. Includes new, - updated, and unchanged files. - """ - number_of_new_documents_indexed: int = ... - """ - The number of new source documents in the data source that were - successfully indexed. - """ - number_of_modified_documents_indexed: int = ... - """ - The number of modified source documents in the data source that were - successfully indexed. - """ - number_of_metadata_documents_modified: int = ... - """The number of metadata files that were updated or deleted.""" - number_of_documents_deleted: int = ... - """The number of source documents that were deleted.""" - number_of_documents_failed: int = ... - """The number of source documents that failed to be ingested.""" - number_of_documents_skipped: int = ... - """The number of source documents that were skipped during ingestion.""" - -class IngestionJobStatus(UnknownEnumMixin, StrEnum): - STARTING = "STARTING" - IN_PROGRESS = "IN_PROGRESS" - COMPLETE = "COMPLETE" - FAILED = "FAILED" - STOPPING = "STOPPING" - STOPPED = "STOPPED" - -@dataclass(kw_only=True) -class IngestionJobSummary(_SerdeShape): - """Contains details about a data ingestion job.""" - - knowledge_base_id: str - """The unique identifier of the knowledge base for the data ingestion job.""" - data_source_id: str - """The unique identifier of the data source for the data ingestion job.""" - ingestion_job_id: str - """The unique identifier of the data ingestion job.""" - description: str | None = ... - """The description of the data ingestion job.""" - status: str - """The status of the data ingestion job.""" - started_at: datetime - """The time the data ingestion job started.""" - updated_at: datetime - """The time the data ingestion job was last updated.""" - text_ready_at: datetime | None = ... - """ - The time at which all text content in the data ingestion job finished - extraction and became available to query. - - This time isn't returned until text extraction is complete for all the - documents in the job. - """ - statistics: IngestionJobStatistics | None = ... - """Contains statistics for the data ingestion job.""" - -@dataclass(kw_only=True) -class IngestKnowledgeBaseDocumentsInput(_SerdeShape): - """Dataclass for IngestKnowledgeBaseDocumentsInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base to ingest the documents - into. - """ - data_source_id: str | None = ... - """ - The unique identifier of the data source connected to the knowledge base - that you're adding documents to. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - documents: list[KnowledgeBaseDocument] | None = ... - """ - A list of objects, each of which contains information about the - documents to add. - """ - -@dataclass(kw_only=True) -class IngestKnowledgeBaseDocumentsOutput(_SerdeShape): - """Dataclass for IngestKnowledgeBaseDocumentsOutput structure.""" - - document_details: list[KnowledgeBaseDocumentDetail] | None = ... - """ - A list of objects, each of which contains information about the - documents that were ingested. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InlineCodeFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for an inline code node in your flow. Inline - code nodes let you write and execute code directly within your flow, - enabling data transformations, custom logic, and integrations without - needing an external Lambda function. - """ - - code: str = ... - """ - The code that's executed in your inline code node. The code can access - input data from previous nodes in the flow, perform operations on that - data, and produce output that can be used by other nodes in your flow. - - The code must be valid in the programming `language` that you specify. - """ - language: str = ... - """ - The programming language used by your inline code node. - - The code must be valid in the programming `language` that you specify. - Currently, only Python 3 (`Python_3`) is supported. - """ - -@dataclass(kw_only=True) -class InlineContent(_SerdeShape): - """ - Contains information about content defined inline to ingest into a data - source. Choose a `type` and include the field that corresponds to it. - """ - - type: str - """The type of inline content to define.""" - byte_content: ByteContentDoc | None = ... - """Contains information about content defined inline in bytes.""" - text_content: TextContentDoc | None = ... - """Contains information about content defined inline in text.""" - -class InlineContentType(UnknownEnumMixin, StrEnum): - BYTE = "BYTE" - TEXT = "TEXT" - -@dataclass(kw_only=True) -class InputFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for the input flow node for a flow. This node - takes the input from flow invocation and passes it to the next node in - the data type that you specify. - """ - -@dataclass(kw_only=True) -class IntermediateStorage(_SerdeShape): - """ - A location for storing content from data sources temporarily as it is - processed by custom components in the ingestion pipeline. - """ - - s3_location: S3Location - """An S3 bucket path.""" - -@dataclass(kw_only=True) -class InternalServerException(ServiceError, _SerdeShape): - """An internal server error occurred. Retry your request.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidLoopBoundaryFlowValidationDetails(_SerdeShape): - """ - Details about a flow that contains connections that violate loop - boundary rules. - """ - - connection: str - """The name of the connection that violates loop boundary rules.""" - source: str - """ - The source node of the connection that violates DoWhile loop boundary - rules. - """ - target: str - """ - The target node of the connection that violates DoWhile loop boundary - rules. - """ - -@dataclass(kw_only=True) -class IteratorFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for an iterator node in a flow. Takes an input - that is an array and iteratively sends each item of the array as an - output to the following node. The size of the array is also returned in - the output. - - The output flow node at the end of the flow iteration will return a - response for each member of the array. To return only one response, you - can include a collector node downstream from the iterator node. - """ - -@dataclass(kw_only=True) -class KendraKnowledgeBaseConfiguration(_SerdeShape): - """Settings for an Amazon Kendra knowledge base.""" - - kendra_index_arn: str - """The ARN of the Amazon Kendra index.""" - -@dataclass(kw_only=True) -class KnowledgeBase(_SerdeShape): - """Contains information about a knowledge base.""" - - knowledge_base_id: str - """The unique identifier of the knowledge base.""" - name: str - """The name of the knowledge base.""" - knowledge_base_arn: str - """The Amazon Resource Name (ARN) of the knowledge base.""" - description: str | None = ... - """The description of the knowledge base.""" - role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role with permissions to - invoke API operations on the knowledge base. - """ - knowledge_base_configuration: KnowledgeBaseConfiguration - """ - Contains details about the embeddings configuration of the knowledge - base. - """ - storage_configuration: StorageConfiguration | None = ... - """Contains details about the storage configuration of the knowledge base.""" - status: str - """ - The status of the knowledge base. The following statuses are possible: - - - CREATING -- The knowledge base is being created. - - - ACTIVE -- The knowledge base is ready to be queried. - - - DELETING -- The knowledge base is being deleted. - - - UPDATING -- The knowledge base is being updated. - - - FAILED -- The knowledge base API operation failed. - """ - created_at: datetime - """The time the knowledge base was created.""" - updated_at: datetime - """The time the knowledge base was last updated.""" - failure_reasons: list[str] | None = ... - """A list of reasons that the API operation on the knowledge base failed.""" - metadata_configurations: list[MetadataConfiguration] | None = ... - """ - The custom metadata field configurations of the knowledge base. Each - configuration specifies whether its field is searchable (`ENABLED` or - `DISABLED`). - - If the update fails, the knowledge base status becomes - `UPDATE_UNSUCCESSFUL`, the field configurations revert to their previous - values, and `failureReasons` describes the cause. You can retry the - update from `UPDATE_UNSUCCESSFUL`. - """ - -@dataclass(kw_only=True) -class KnowledgeBaseConfiguration(_SerdeShape): - """ - Contains details about the vector embeddings configuration of the - knowledge base. - """ - - type: str - """ - The type of data that the data source is converted into for the - knowledge base. Choose `MANAGED` to create a managed knowledge base. - """ - vector_knowledge_base_configuration: VectorKnowledgeBaseConfiguration | None = ... - """ - Contains details about the model that's used to convert the data source - into vector embeddings. - """ - managed_knowledge_base_configuration: ManagedKnowledgeBaseConfiguration | None = ... - """ - Contains configuration details for a knowledge base that uses a vector - store fully managed by Amazon Bedrock. Specify this object when the - knowledge base type is MANAGED. - """ - kendra_knowledge_base_configuration: KendraKnowledgeBaseConfiguration | None = ... - """Settings for an Amazon Kendra knowledge base.""" - sql_knowledge_base_configuration: SqlKnowledgeBaseConfiguration | None = ... - """ - Specifies configurations for a knowledge base connected to an SQL - database. - """ - -@dataclass(kw_only=True) -class KnowledgeBaseDocument(_SerdeShape): - """ - Contains information about a document to ingest into a knowledge base - and metadata to associate with it. - """ - - metadata: DocumentMetadata | None = ... - """Contains the metadata to associate with the document.""" - content: DocumentContent - """Contains the content of the document.""" - -@dataclass(kw_only=True) -class KnowledgeBaseDocumentDetail(_SerdeShape): - """Contains the details for a document that was ingested or deleted.""" - - knowledge_base_id: str - """ - The identifier of the knowledge base that the document was ingested into - or deleted from. - """ - data_source_id: str - """ - The identifier of the data source connected to the knowledge base that - the document was ingested into or deleted from. - """ - status: str - """ - The ingestion status of the document. The following statuses are - possible: - - - STARTING -- You submitted the ingestion job containing the document. - - - PENDING -- The document is waiting to be ingested. - - - IN_PROGRESS -- The document is being ingested. - - - INDEXED -- The document was successfully indexed. - - - PARTIALLY_INDEXED -- The document was partially indexed. - - - METADATA_PARTIALLY_INDEXED -- You submitted metadata for an existing - document and it was partially indexed. - - - METADATA_UPDATE_FAILED -- You submitted a metadata update for an - existing document but it failed. - - - FAILED -- The document failed to be ingested. - - - NOT_FOUND -- The document wasn't found. - - - IGNORED -- The document was ignored during ingestion. - - - DELETING -- You submitted the delete job containing the document. - - - DELETE_IN_PROGRESS -- The document is being deleted. - """ - identifier: DocumentIdentifier - """Contains information that identifies the document.""" - status_reason: str | None = ... - """The reason for the status. Appears alongside the status `IGNORED`.""" - updated_at: datetime | None = ... - """The date and time at which the document was last updated.""" - -@dataclass(kw_only=True) -class KnowledgeBaseFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for a knowledge base node in a flow. This node - takes a query as the input and returns, as the output, the retrieved - responses directly (as an array) or a response generated based on the - retrieved responses. For more information, see [Node types in a - flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) - in the Amazon Bedrock User Guide. - """ - - knowledge_base_id: str = ... - """The unique identifier of the knowledge base to query.""" - model_id: str | None = ... - """ - The unique identifier of the model or [inference - profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) - to use to generate a response from the query results. Omit this field if - you want to return the retrieved results as an array. - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """ - Contains configurations for a guardrail to apply during query and - response generation for the knowledge base in this configuration. - """ - number_of_results: int | None = ... - """The number of results to retrieve from the knowledge base.""" - prompt_template: KnowledgeBasePromptTemplate | None = ... - """ - A custom prompt template to use with the knowledge base for generating - responses. - """ - inference_configuration: PromptInferenceConfiguration | None = ... - """Contains inference configurations for the prompt.""" - reranking_configuration: VectorSearchRerankingConfiguration | None = ... - """ - The configuration for reranking the retrieved results from the knowledge - base to improve relevance. - """ - orchestration_configuration: KnowledgeBaseOrchestrationConfiguration | None = ... - """ - The configuration for orchestrating the retrieval and generation process - in the knowledge base node. - """ - -@dataclass(kw_only=True) -class KnowledgeBaseOrchestrationConfiguration(_SerdeShape): - """ - Configures how the knowledge base orchestrates the retrieval and - generation process, allowing for customization of prompts, inference - parameters, and performance settings. - """ - - prompt_template: KnowledgeBasePromptTemplate | None = ... - """ - A custom prompt template for orchestrating the retrieval and generation - process. - """ - inference_config: PromptInferenceConfiguration | None = ... - """Contains inference configurations for the prompt.""" - additional_model_request_fields: dict[str, Document] | None = ... - """ - The additional model-specific request parameters as key-value pairs to - be included in the request to the foundation model. - """ - performance_config: PerformanceConfiguration | None = ... - """ - The performance configuration options for the knowledge base retrieval - and generation process. - """ - -@dataclass(kw_only=True) -class KnowledgeBasePromptTemplate(_SerdeShape): - """ - Defines a custom prompt template for orchestrating the retrieval and - generation process. - """ - - text_prompt_template: str | None = ... - """The text of the prompt template.""" - -class KnowledgeBaseState(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class KnowledgeBaseStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - DELETING = "DELETING" - UPDATING = "UPDATING" - FAILED = "FAILED" - DELETE_UNSUCCESSFUL = "DELETE_UNSUCCESSFUL" - UPDATE_UNSUCCESSFUL = "UPDATE_UNSUCCESSFUL" - -class KnowledgeBaseStorageType(UnknownEnumMixin, StrEnum): - """The storage type of a knowledge base.""" - - OPENSEARCH_SERVERLESS = "OPENSEARCH_SERVERLESS" - PINECONE = "PINECONE" - REDIS_ENTERPRISE_CLOUD = "REDIS_ENTERPRISE_CLOUD" - RDS = "RDS" - MONGO_DB_ATLAS = "MONGO_DB_ATLAS" - NEPTUNE_ANALYTICS = "NEPTUNE_ANALYTICS" - OPENSEARCH_MANAGED_CLUSTER = "OPENSEARCH_MANAGED_CLUSTER" - S3_VECTORS = "S3_VECTORS" - -@dataclass(kw_only=True) -class KnowledgeBaseSummary(_SerdeShape): - """Contains details about a knowledge base.""" - - knowledge_base_id: str - """The unique identifier of the knowledge base.""" - name: str - """The name of the knowledge base.""" - description: str | None = ... - """The description of the knowledge base.""" - status: str - """The status of the knowledge base.""" - updated_at: datetime - """The time the knowledge base was last updated.""" - -class KnowledgeBaseType(UnknownEnumMixin, StrEnum): - """The type of a knowledge base.""" - - VECTOR = "VECTOR" - KENDRA = "KENDRA" - SQL = "SQL" - MANAGED = "MANAGED" - -@dataclass(kw_only=True) -class LambdaFunctionFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for a Lambda function node in the flow. You - specify the Lambda function to invoke and the inputs into the function. - The output is the response that is defined in the Lambda function. For - more information, see [Node types in a - flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) - in the Amazon Bedrock User Guide. - """ - - lambda_arn: str = ... - """The Amazon Resource Name (ARN) of the Lambda function to invoke.""" - -@dataclass(kw_only=True) -class LastDayOfMonth(_SerdeShape): - """ - The option to run the monthly sync on the last calendar day of each - month. - """ - -@dataclass(kw_only=True) -class LexFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for a Lex node in the flow. You specify a Amazon - Lex bot to invoke. This node takes an utterance as the input and returns - as the output the intent identified by the Amazon Lex bot. For more - information, see [Node types in a - flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) - in the Amazon Bedrock User Guide. - """ - - bot_alias_arn: str = ... - """The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.""" - locale_id: str = ... - """The Region to invoke the Amazon Lex bot in.""" - -@dataclass(kw_only=True) -class ListAgentActionGroupsInput(_SerdeShape): - """Dataclass for ListAgentActionGroupsInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent.""" - agent_version: str | None = ... - """The version of the agent.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListAgentActionGroupsOutput(_SerdeShape): - """Dataclass for ListAgentActionGroupsOutput structure.""" - - action_group_summaries: list[ActionGroupSummary] - """ - A list of objects, each of which contains information about an action - group. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAgentAliasesInput(_SerdeShape): - """Dataclass for ListAgentAliasesInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListAgentAliasesOutput(_SerdeShape): - """Dataclass for ListAgentAliasesOutput structure.""" - - agent_alias_summaries: list[AgentAliasSummary] - """ - A list of objects, each of which contains information about an alias of - the agent. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAgentCollaboratorsInput(_SerdeShape): - """Dataclass for ListAgentCollaboratorsInput structure.""" - - agent_id: str | None = ... - """The agent's ID.""" - agent_version: str | None = ... - """The agent's version.""" - max_results: int | None = ... - """ - The maximum number of agent collaborators to return in one page of - results. - """ - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - -@dataclass(kw_only=True) -class ListAgentCollaboratorsOutput(_SerdeShape): - """Dataclass for ListAgentCollaboratorsOutput structure.""" - - agent_collaborator_summaries: list[AgentCollaboratorSummary] - """A list of collaborator summaries.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAgentKnowledgeBasesInput(_SerdeShape): - """Dataclass for ListAgentKnowledgeBasesInput structure.""" - - agent_id: str | None = ... - """ - The unique identifier of the agent for which to return information about - knowledge bases associated with it. - """ - agent_version: str | None = ... - """ - The version of the agent for which to return information about knowledge - bases associated with it. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListAgentKnowledgeBasesOutput(_SerdeShape): - """Dataclass for ListAgentKnowledgeBasesOutput structure.""" - - agent_knowledge_base_summaries: list[AgentKnowledgeBaseSummary] - """ - A list of objects, each of which contains information about a knowledge - base associated with the agent. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAgentsInput(_SerdeShape): - """Dataclass for ListAgentsInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListAgentsOutput(_SerdeShape): - """Dataclass for ListAgentsOutput structure.""" - - agent_summaries: list[AgentSummary] - """A list of objects, each of which contains information about an agent.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAgentVersionsInput(_SerdeShape): - """Dataclass for ListAgentVersionsInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListAgentVersionsOutput(_SerdeShape): - """Dataclass for ListAgentVersionsOutput structure.""" - - agent_version_summaries: list[AgentVersionSummary] - """ - A list of objects, each of which contains information about a version of - the agent. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDataSourcesInput(_SerdeShape): - """Dataclass for ListDataSourcesInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base for which to return a list - of information. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListDataSourcesOutput(_SerdeShape): - """Dataclass for ListDataSourcesOutput structure.""" - - data_source_summaries: list[DataSourceSummary] - """ - A list of objects, each of which contains information about a data - source. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFlowAliasesInput(_SerdeShape): - """Dataclass for ListFlowAliasesInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow for which aliases are being returned.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListFlowAliasesOutput(_SerdeShape): - """Dataclass for ListFlowAliasesOutput structure.""" - - flow_alias_summaries: list[FlowAliasSummary] - """A list, each member of which contains information about an alias.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFlowsInput(_SerdeShape): - """Dataclass for ListFlowsInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListFlowsOutput(_SerdeShape): - """Dataclass for ListFlowsOutput structure.""" - - flow_summaries: list[FlowSummary] - """A list, each member of which contains information about a flow.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFlowVersionsInput(_SerdeShape): - """Dataclass for ListFlowVersionsInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListFlowVersionsOutput(_SerdeShape): - """Dataclass for ListFlowVersionsOutput structure.""" - - flow_version_summaries: list[FlowVersionSummary] - """A list, each member of which contains information about a flow.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListIngestionJobsInput(_SerdeShape): - """Dataclass for ListIngestionJobsInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base for the list of data - ingestion jobs. - """ - data_source_id: str | None = ... - """ - The unique identifier of the data source for the list of data ingestion - jobs. - """ - filters: list[IngestionJobFilter] | None = ... - """Contains information about the filters for filtering the data.""" - sort_by: IngestionJobSortBy | None = ... - """Contains details about how to sort the data.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListIngestionJobsOutput(_SerdeShape): - """Dataclass for ListIngestionJobsOutput structure.""" - - ingestion_job_summaries: list[IngestionJobSummary] - """A list of data ingestion jobs with information about each job.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListKnowledgeBaseDocumentsInput(_SerdeShape): - """Dataclass for ListKnowledgeBaseDocumentsInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base that is connected to the - data source. - """ - data_source_id: str | None = ... - """The unique identifier of the data source that contains the documents.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListKnowledgeBaseDocumentsOutput(_SerdeShape): - """Dataclass for ListKnowledgeBaseDocumentsOutput structure.""" - - document_details: list[KnowledgeBaseDocumentDetail] - """ - A list of objects, each of which contains information about the - documents that were retrieved. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListKnowledgeBasesInput(_SerdeShape): - """Dataclass for ListKnowledgeBasesInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListKnowledgeBasesOutput(_SerdeShape): - """Dataclass for ListKnowledgeBasesOutput structure.""" - - knowledge_base_summaries: list[KnowledgeBaseSummary] - """A list of knowledge bases with information about each knowledge base.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPromptsInput(_SerdeShape): - """Dataclass for ListPromptsInput structure.""" - - prompt_identifier: str | None = ... - """ - The unique identifier of the prompt for whose versions you want to - return information. Omit this field to list information about all - prompts in an account. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListPromptsOutput(_SerdeShape): - """Dataclass for ListPromptsOutput structure.""" - - prompt_summaries: list[PromptSummary] - """ - A list, each member of which contains information about a prompt using - Prompt management. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRetrievalInstructionsInput(_SerdeShape): - """Dataclass for ListRetrievalInstructionsInput structure.""" - - status: str | None = ... - """Return only instructions with this availability status.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single page. The effective - upper bound is enforced service-side. - """ - next_token: str | None = ... - """The pagination token from a previous ListRetrievalInstructions response.""" - -@dataclass(kw_only=True) -class ListRetrievalInstructionsOutput(_SerdeShape): - """Dataclass for ListRetrievalInstructionsOutput structure.""" - - retrieval_instruction_summaries: list[RetrievalInstructionSummary] - """The retrieval instruction summaries in this page.""" - next_token: str | None = ... - """ - The pagination token to pass to the next ListRetrievalInstructions call, - absent on the last page. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRetrievalInstructionVersionsInput(_SerdeShape): - """Dataclass for ListRetrievalInstructionVersionsInput structure.""" - - retrieval_instruction_id: str | None = ... - """The identifier of the retrieval instruction whose versions to list.""" - max_results: int | None = ... - """ - Specifies the maximum number of versions to return in a single page. The - service enforces the effective upper bound. - """ - next_token: str | None = ... - """ - The pagination token from a previous ListRetrievalInstructionVersions - response. - """ - -@dataclass(kw_only=True) -class ListRetrievalInstructionVersionsOutput(_SerdeShape): - """Dataclass for ListRetrievalInstructionVersionsOutput structure.""" - - retrieval_instruction_version_summaries: list[RetrievalInstructionVersionSummary] - """The version summaries in this page, newest first.""" - next_token: str | None = ... - """ - The pagination token to pass to the next - ListRetrievalInstructionVersions call, absent on the last page. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceInput(_SerdeShape): - """Dataclass for ListTagsForResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource for which to list tags.""" - -@dataclass(kw_only=True) -class ListTagsForResourceOutput(_SerdeShape): - """Dataclass for ListTagsForResourceOutput structure.""" - - tags: dict[str, str] | None = ... - """The key-value pairs for the tags associated with the resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListVpcConfigurationsInput(_SerdeShape): - """Dataclass for ListVpcConfigurationsInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base whose VPC configurations you - want to list. - """ - status_filter: str | None = ... - """ - The status to filter the results by. Only VPC configurations with the - specified status are returned. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If more results - are available, the response returns a `nextToken`. - """ - next_token: str | None = ... - """ - A pagination token to retrieve the next page of results, returned in a - previous response when more results are available. - """ - -@dataclass(kw_only=True) -class ListVpcConfigurationsOutput(_SerdeShape): - """Dataclass for ListVpcConfigurationsOutput structure.""" - - items: list[VpcConfigurationSummary] - """A list of VPC configuration summaries.""" - next_token: str | None = ... - """ - A pagination token to retrieve the next page of results, present when - the total number of results exceeds the maximum number of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LoopControllerFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for the controller node of a DoWhile loop in the - flow. - """ - - continue_condition: FlowCondition - """ - Specifies the condition that determines when the flow exits the DoWhile - loop. The loop executes until this condition evaluates to true. - """ - max_iterations: int = ... - """ - Specifies the maximum number of times the DoWhile loop can iterate - before the flow exits the loop. - """ - -@dataclass(kw_only=True) -class LoopFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for the nodes of a DoWhile loop in your flow. - - A DoWhile loop is made up of the following nodes: - - - `Loop` - The container node that holds the loop's flow definition. - This node encompasses the entire loop structure. - - - `LoopInput` - The entry point node for the loop. This node receives - inputs from nodes outside the loop and from previous loop iterations. - - - Body nodes - The processing nodes that execute within each loop - iteration. These can be nodes for handling data in your flow, such as - a prompt or Lambda function nodes. Some node types aren't supported - inside a DoWhile loop body. For more information, see - [LoopIncompatibleNodeTypeFlowValidationDetails](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_LoopIncompatibleNodeTypeFlowValidationDetails.html). - - - `LoopController` - The node that evaluates whether the loop should - continue or exit based on a condition. - - These nodes work together to create a loop that runs at least once and - continues until a specified condition is met or a maximum number of - iterations is reached. - """ - - definition: FlowDefinition - """ - The definition of the DoWhile loop nodes and connections between nodes - in the flow. - """ - -@dataclass(kw_only=True) -class LoopIncompatibleNodeTypeFlowValidationDetails(_SerdeShape): - """ - Details about a flow that contains an incompatible node in a DoWhile - loop. - """ - - node: str - """The `Loop` container node that contains an incompatible node.""" - incompatible_node_type: str - """ - The node type of the incompatible node in the DoWhile loop. Some node - types, like a condition node, aren't allowed in a DoWhile loop. - """ - incompatible_node_name: str - """The node that's incompatible in the DoWhile loop.""" - -@dataclass(kw_only=True) -class LoopInputFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for the input node of a DoWhile loop in the - flow. - """ - -@dataclass(kw_only=True) -class MalformedConditionExpressionFlowValidationDetails(_SerdeShape): - """Details about a malformed condition expression in a node.""" - - node: str - """The name of the node containing the malformed condition expression.""" - condition: str - """The name of the malformed condition.""" - cause: str - """The error message describing why the condition expression is malformed.""" - -@dataclass(kw_only=True) -class MalformedNodeInputExpressionFlowValidationDetails(_SerdeShape): - """Details about a malformed input expression in a node.""" - - node: str - """The name of the node containing the malformed input expression.""" - input: str - """The name of the input with the malformed expression.""" - cause: str - """The error message describing why the input expression is malformed.""" - -@dataclass(kw_only=True) -class ManagedKnowledgeBaseConfiguration(_SerdeShape): - """Configurations for a managed knowledge base.""" - - embedding_model_type: str | None = ... - """ - Choose CUSTOM to provide your own Bedrock embedding model ARN. Choose - MANAGED to use a service-managed embedding model. - """ - embedding_model_arn: str | None = ... - """The ARN for the embeddings model.""" - embedding_model_configuration: EmbeddingModelConfiguration | None = ... - """ - The configuration details for the embeddings model. Not required when - choosing the MANAGED embeddingModelType. - """ - server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... - """ - Contains the configuration for server-side encryption for your managed - knowledge base. - """ - supplemental_data_storage_configuration: ( - SupplementalDataStorageConfiguration | None - ) = ... - """ - Use this object to specify the Amazon S3 location that the knowledge - base uses to process and ingest multimodal content. This field is - required when you use a native multimodal embedding model. - """ - -@dataclass(kw_only=True) -class ManagedKnowledgeBaseConnectorConfiguration(_SerdeShape): - """Configuration for managed knowledge base connector data sources.""" - - deletion_protection_configuration: DeletionProtectionConfiguration | None = ... - """A safeguard against accidental bulk deletion of indexed content.""" - media_extraction_configuration: MediaExtractionConfiguration | None = ... - """ - Configuration for extracting media (images, audio, video) from data - source files. - """ - connector_parameters: Document | None = ... - """ - Connector-specific parameters. For more information, see [Connect a data - source](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-connect-ds.html). - """ - sync_schedule: SyncSchedule | None = ... - """ - The recurring schedule on which the connector automatically syncs this - data source. If not specified, the data source is not synced - automatically and you start each sync yourself. Not supported for the - Custom connector. - """ - -@dataclass(kw_only=True) -class MediaExtractionConfiguration(_SerdeShape): - """Configuration for media extraction settings.""" - - image_extraction_configuration: ImageExtractionConfiguration | None = ... - """Configuration for image extraction.""" - audio_extraction_configuration: AudioExtractionConfiguration | None = ... - """Configuration for audio extraction.""" - video_extraction_configuration: VideoExtractionConfiguration | None = ... - """Configuration for video extraction.""" - -@dataclass(kw_only=True) -class MemoryConfiguration(_SerdeShape): - """Details of the memory configuration.""" - - enabled_memory_types: list[str] - """The type of memory that is stored.""" - storage_days: int = ... - """ - The number of days the agent is configured to retain the conversational - context. - """ - session_summary_configuration: SessionSummaryConfiguration | None = ... - """ - Contains the configuration for SESSION_SUMMARY memory type enabled for - the agent. - """ - -class MemoryType(UnknownEnumMixin, StrEnum): - SESSION_SUMMARY = "SESSION_SUMMARY" - -@dataclass(kw_only=True) -class Message(_SerdeShape): - """ - A message input or response from a model. For more information, see - [Create a prompt using Prompt - management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). - """ - - role: str - """The role that the message belongs to.""" - content: list[ContentBlock] - """The content in the message.""" - -@dataclass(kw_only=True) -class MetadataAttribute(_SerdeShape): - """Contains information about a metadata attribute.""" - - key: str - """The key of the metadata attribute.""" - value: MetadataAttributeValue - """Contains the value of the metadata attribute.""" - -@dataclass(kw_only=True) -class MetadataAttributeValue(_SerdeShape): - """ - Contains the value of the metadata attribute. Choose a `type` and - include the field that corresponds to it. - """ - - type: str - """The type of the metadata attribute.""" - number_value: float | None = ... - """The value of the numeric metadata attribute.""" - boolean_value: bool | None = ... - """The value of the Boolean metadata attribute.""" - string_value: str | None = ... - """The value of the string metadata attribute.""" - string_list_value: list[str] | None = ... - """An array of strings that define the value of the metadata attribute.""" - -@dataclass(kw_only=True) -class MetadataConfiguration(_SerdeShape): - """ - Contains the configuration of a single custom metadata field in a - knowledge base, including its name, data type, and whether the field is - searchable. - """ - - name: str - """The name of the custom metadata field.""" - type: str - """ - The data type of the custom metadata field. Valid values are `STRING` - and `STRING_LIST`. - """ - searchability: str - """ - Specifies whether the custom metadata field is searchable. Valid values: - - - `ENABLED` -- The field is searchable. - - - `DISABLED` -- The field is not searchable. - """ - -@dataclass(kw_only=True) -class MetadataConfigurationForReranking(_SerdeShape): - """ - Specifies how metadata fields should be handled during the reranking - process. - """ - - selection_mode: str - """The mode for selecting metadata fields for reranking.""" - selective_mode_configuration: ( - RerankingMetadataSelectiveModeConfiguration | None - ) = ... - """ - The configuration for selective metadata field inclusion or exclusion - during reranking. - """ - -class MetadataSourceType(UnknownEnumMixin, StrEnum): - IN_LINE_ATTRIBUTE = "IN_LINE_ATTRIBUTE" - S3_LOCATION = "S3_LOCATION" - -class MetadataValueType(UnknownEnumMixin, StrEnum): - BOOLEAN = "BOOLEAN" - NUMBER = "NUMBER" - STRING = "STRING" - STRING_LIST = "STRING_LIST" - -@dataclass(kw_only=True) -class MismatchedNodeInputTypeFlowValidationDetails(_SerdeShape): - """Details about mismatched input data types in a node.""" - - node: str - """The name of the node containing the input with the mismatched data type.""" - input: str - """The name of the input with the mismatched data type.""" - expected_type: str - """The expected data type for the node input.""" - -@dataclass(kw_only=True) -class MismatchedNodeOutputTypeFlowValidationDetails(_SerdeShape): - """Details about mismatched output data types in a node.""" - - node: str - """ - The name of the node containing the output with the mismatched data - type. - """ - output: str - """The name of the output with the mismatched data type.""" - expected_type: str - """The expected data type for the node output.""" - -@dataclass(kw_only=True) -class MissingConnectionConfigurationFlowValidationDetails(_SerdeShape): - """Details about a connection missing required configuration.""" - - connection: str - """The name of the connection missing configuration.""" - -@dataclass(kw_only=True) -class MissingDefaultConditionFlowValidationDetails(_SerdeShape): - """Details about a missing default condition in a conditional node.""" - - node: str - """The name of the node missing the default condition.""" - -@dataclass(kw_only=True) -class MissingEndingNodesFlowValidationDetails(_SerdeShape): - """Details about missing ending nodes (such as FlowOutputNode) in the flow.""" - -@dataclass(kw_only=True) -class MissingLoopControllerNodeFlowValidationDetails(_SerdeShape): - """ - Details about a flow that's missing a required `LoopController` node in - a DoWhile loop. - """ - - loop_node: str - """ - The DoWhile loop in a flow that's missing a required `LoopController` - node. - """ - -@dataclass(kw_only=True) -class MissingLoopInputNodeFlowValidationDetails(_SerdeShape): - """ - Details about a flow that's missing a required `LoopInput` node in a - DoWhile loop. - """ - - loop_node: str - """The DoWhile loop in a flow that's missing a required `LoopInput` node.""" - -@dataclass(kw_only=True) -class MissingNodeConfigurationFlowValidationDetails(_SerdeShape): - """Details about a node missing a required configuration.""" - - node: str - """The name of the node missing a required configuration.""" - -@dataclass(kw_only=True) -class MissingNodeInputFlowValidationDetails(_SerdeShape): - """Details about a missing required input in a node.""" - - node: str - """The name of the node missing the required input.""" - input: str - """The name of the missing input.""" - -@dataclass(kw_only=True) -class MissingNodeOutputFlowValidationDetails(_SerdeShape): - """Details about a missing required output in a node.""" - - node: str - """The name of the node missing the required output.""" - output: str - """The name of the missing output.""" - -@dataclass(kw_only=True) -class MissingStartingNodesFlowValidationDetails(_SerdeShape): - """ - Details about missing starting nodes (such as FlowInputNode) in the - flow. - """ - -@dataclass(kw_only=True) -class MongoDbAtlasConfiguration(_SerdeShape): - """ - Contains details about the storage configuration of the knowledge base - in MongoDB Atlas. - """ - - endpoint: str - """The endpoint URL of your MongoDB Atlas cluster for your knowledge base.""" - database_name: str - """The database name in your MongoDB Atlas cluster for your knowledge base.""" - collection_name: str - """The collection name of the knowledge base in MongoDB Atlas.""" - vector_index_name: str - """The name of the MongoDB Atlas vector search index.""" - credentials_secret_arn: str - """ - The Amazon Resource Name (ARN) of the secret that you created in Secrets - Manager that contains user credentials for your MongoDB Atlas cluster. - """ - field_mapping: MongoDbAtlasFieldMapping - """ - Contains the names of the fields to which to map information about the - vector store. - """ - endpoint_service_name: str | None = ... - """ - The name of the VPC endpoint service in your account that is connected - to your MongoDB Atlas cluster. - """ - text_index_name: str | None = ... - """ - The name of the text search index in the MongoDB collection. This is - required for using the hybrid search feature. - """ - -@dataclass(kw_only=True) -class MongoDbAtlasFieldMapping(_SerdeShape): - """ - Contains the names of the fields to which to map information about the - vector store. - """ - - vector_field: str - """ - The name of the field in which Amazon Bedrock stores the vector - embeddings for your data sources. - """ - text_field: str - """ - The name of the field in which Amazon Bedrock stores the raw text from - your data. The text is split according to the chunking strategy you - choose. - """ - metadata_field: str - """ - The name of the field in which Amazon Bedrock stores metadata about the - vector store. - """ - -@dataclass(kw_only=True) -class MonthlySchedule(_SerdeShape): - """A monthly sync on a specified day of the month.""" - - day_of_month: DayOfMonth - """The day of the month on which the monthly sync runs.""" - -@dataclass(kw_only=True) -class MultipleLoopControllerNodesFlowValidationDetails(_SerdeShape): - """ - Details about a flow that contains multiple `LoopController` nodes in a - DoWhile loop. - """ - - loop_node: str - """ - The DoWhile loop in a flow that contains multiple `LoopController` - nodes. - """ - -@dataclass(kw_only=True) -class MultipleLoopInputNodesFlowValidationDetails(_SerdeShape): - """ - Details about a flow that contains multiple `LoopInput` nodes in a - DoWhile loop. - """ - - loop_node: str - """The DoWhile loop in a flow that contains multiple `LoopInput` nodes.""" - -@dataclass(kw_only=True) -class MultipleNodeInputConnectionsFlowValidationDetails(_SerdeShape): - """Details about multiple connections to a single node input.""" - - node: str - """The name of the node containing the input with multiple connections.""" - input: str - """The name of the input with multiple connections to it.""" - -@dataclass(kw_only=True) -class NeptuneAnalyticsConfiguration(_SerdeShape): - """ - Contains details about the storage configuration of the knowledge base - in Amazon Neptune Analytics. For more information, see [Create a vector - index in Amazon Neptune - Analytics](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html). - """ - - graph_arn: str - """The Amazon Resource Name (ARN) of the Neptune Analytics vector store.""" - field_mapping: NeptuneAnalyticsFieldMapping - """ - Contains the names of the fields to which to map information about the - vector store. - """ - -@dataclass(kw_only=True) -class NeptuneAnalyticsFieldMapping(_SerdeShape): - """ - Contains the names of the fields to which to map information about the - vector store. - """ - - text_field: str - """ - The name of the field in which Amazon Bedrock stores the raw text from - your data. The text is split according to the chunking strategy you - choose. - """ - metadata_field: str - """ - The name of the field in which Amazon Bedrock stores metadata about the - vector store. - """ - -@dataclass(kw_only=True) -class OpenSearchManagedClusterConfiguration(_SerdeShape): - """ - Contains details about the Managed Cluster configuration of the - knowledge base in Amazon OpenSearch Service. For more information, see - [Create a vector index in OpenSearch Managed - Cluster](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html). - """ - - domain_endpoint: str - """The endpoint URL the OpenSearch domain.""" - domain_arn: str - """The Amazon Resource Name (ARN) of the OpenSearch domain.""" - vector_index_name: str - """The name of the vector store.""" - field_mapping: OpenSearchManagedClusterFieldMapping - """ - Contains the names of the fields to which to map information about the - vector store. - """ - -@dataclass(kw_only=True) -class OpenSearchManagedClusterFieldMapping(_SerdeShape): - """ - Contains the names of the fields to which to map information about the - vector store. - """ - - vector_field: str - """ - The name of the field in which Amazon Bedrock stores the vector - embeddings for your data sources. - """ - text_field: str - """ - The name of the field in which Amazon Bedrock stores the raw text from - your data. The text is split according to the chunking strategy you - choose. - """ - metadata_field: str - """ - The name of the field in which Amazon Bedrock stores metadata about the - vector store. - """ - -@dataclass(kw_only=True) -class OpenSearchServerlessConfiguration(_SerdeShape): - """ - Contains details about the storage configuration of the knowledge base - in Amazon OpenSearch Service. For more information, see [Create a vector - index in Amazon OpenSearch - Service](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html). - """ - - collection_arn: str - """The Amazon Resource Name (ARN) of the OpenSearch Service vector store.""" - vector_index_name: str - """The name of the vector store.""" - field_mapping: OpenSearchServerlessFieldMapping - """ - Contains the names of the fields to which to map information about the - vector store. - """ - -@dataclass(kw_only=True) -class OpenSearchServerlessFieldMapping(_SerdeShape): - """ - Contains the names of the fields to which to map information about the - vector store. - """ - - vector_field: str - """ - The name of the field in which Amazon Bedrock stores the vector - embeddings for your data sources. - """ - text_field: str - """ - The name of the field in which Amazon Bedrock stores the raw text from - your data. The text is split according to the chunking strategy you - choose. - """ - metadata_field: str - """ - The name of the field in which Amazon Bedrock stores metadata about the - vector store. - """ - -@dataclass -class OrchestrationExecutorLambda(_SerdeShape): - """ - The Amazon Resource Name (ARN) of the Lambda function containing the - business logic that is carried out upon invoking the action. - """ - - value: str - -@dataclass -class OrchestrationExecutorUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -OrchestrationExecutor = Union[ - OrchestrationExecutorLambda | OrchestrationExecutorUnknown -] -""" -Contains details about the Lambda function containing the orchestration -logic carried out upon invoking the custom orchestration. -""" - -class _OrchestrationExecutorDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> OrchestrationExecutor: ... - -class OrchestrationType(UnknownEnumMixin, StrEnum): - DEFAULT = "DEFAULT" - CUSTOM_ORCHESTRATION = "CUSTOM_ORCHESTRATION" - -@dataclass(kw_only=True) -class OutputFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for an output flow node in the flow. You specify - the data type expected for the input into the node in the `type` field - and how to return the final output in the `expression` field. - """ - -@dataclass(kw_only=True) -class ParameterDetail(_SerdeShape): - """ - Contains details about a parameter in a function for an action group. - - This data type is used in the following API operations: - - - [CreateAgentActionGroup - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_RequestSyntax) - - - [CreateAgentActionGroup - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_ResponseSyntax) - - - [UpdateAgentActionGroup - request](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_RequestSyntax) - - - [UpdateAgentActionGroup - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_ResponseSyntax) - - - [GetAgentActionGroup - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentActionGroup.html#API_agent_GetAgentActionGroup_ResponseSyntax) - """ - - description: str | None = ... - """ - A description of the parameter. Helps the foundation model determine how - to elicit the parameters from the user. - """ - type: str - """The data type of the parameter.""" - required: bool | None = ... - """ - Whether the parameter is required for the agent to complete the function - for action group invocation. - """ - -@dataclass(kw_only=True) -class ParsingConfiguration(_SerdeShape): - """ - Settings for parsing document contents. If you exclude this field, the - default parser converts the contents of each document into text before - splitting it into chunks. Specify the parsing strategy to use in the - `parsingStrategy` field and include the relevant configuration, or omit - it to use the Amazon Bedrock default parser. For more information, see - [Parsing options for your data - source](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-advanced-parsing.html). - - Note: - If you specify `BEDROCK_DATA_AUTOMATION` or `BEDROCK_FOUNDATION_MODEL` - and it fails to parse a file, the Amazon Bedrock default parser will be - used instead. - """ - - parsing_strategy: str - """ - The parsing strategy for the data source. - - For managed knowledge bases, the strategy that you can select depends on - the embedding model that your knowledge base uses: - - - If your knowledge base uses a native multimodal embedding model, - specify `MULTI_MODAL_EMBEDDINGS`. With this strategy, files are sent - directly to the embedding model instead of being parsed into text. - This is the only strategy that is supported for these knowledge bases. - - - Otherwise, specify `SMART_PARSING`. - - For more information, see [Customize ingestion for managed knowledge - bases](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-customize-ingestion.html). - """ - bedrock_foundation_model_configuration: ( - BedrockFoundationModelConfiguration | None - ) = ... - """ - If you specify `BEDROCK_FOUNDATION_MODEL` as the parsing strategy for - ingesting your data source, use this object to modify configurations for - using a foundation model to parse documents. - """ - bedrock_data_automation_configuration: ( - BedrockDataAutomationConfiguration | None - ) = ... - """ - If you specify `BEDROCK_DATA_AUTOMATION` as the parsing strategy for - ingesting your data source, use this object to modify configurations for - using the Amazon Bedrock Data Automation parser. - """ - -class ParsingModality(UnknownEnumMixin, StrEnum): - MULTIMODAL = "MULTIMODAL" - -@dataclass(kw_only=True) -class ParsingPrompt(_SerdeShape): - """Instructions for interpreting the contents of a document.""" - - parsing_prompt_text: str - """Instructions for interpreting the contents of a document.""" - -class ParsingStrategy(UnknownEnumMixin, StrEnum): - BEDROCK_FOUNDATION_MODEL = "BEDROCK_FOUNDATION_MODEL" - BEDROCK_DATA_AUTOMATION = "BEDROCK_DATA_AUTOMATION" - SMART_PARSING = "SMART_PARSING" - MULTI_MODAL_EMBEDDINGS = "MULTI_MODAL_EMBEDDINGS" - -@dataclass(kw_only=True) -class PatternObjectFilter(_SerdeShape): - """ - The specific filters applied to your data source content. You can filter - out or include certain content. - """ - - object_type: str - """The supported object type or content type of the data source.""" - inclusion_filters: list[str] | None = ... - """ - A list of one or more inclusion regular expression patterns to include - certain object types that adhere to the pattern. If you specify an - inclusion and exclusion filter/pattern and both match a document, the - exclusion filter takes precedence and the document isn't crawled. - """ - exclusion_filters: list[str] | None = ... - """ - A list of one or more exclusion regular expression patterns to exclude - certain object types that adhere to the pattern. If you specify an - inclusion and exclusion filter/pattern and both match a document, the - exclusion filter takes precedence and the document isn't crawled. - """ - -@dataclass(kw_only=True) -class PatternObjectFilterConfiguration(_SerdeShape): - """ - The configuration of filtering certain objects or content types of the - data source. - """ - - filters: list[PatternObjectFilter] - """ - The configuration of specific filters applied to your data source - content. You can filter out or include certain content. - """ - -class PerformanceConfigLatency(UnknownEnumMixin, StrEnum): - STANDARD = "standard" - OPTIMIZED = "optimized" - -@dataclass(kw_only=True) -class PerformanceConfiguration(_SerdeShape): - """ - The performance-related configuration options for the knowledge base - retrieval and generation process. - """ - - latency: str = ... - """The latency optimization setting.""" - -@dataclass(kw_only=True) -class PineconeConfiguration(_SerdeShape): - """ - Contains details about the storage configuration of the knowledge base - in Pinecone. For more information, see [Create a vector index in - Pinecone](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-pinecone.html). - """ - - connection_string: str - """The endpoint URL for your index management page.""" - credentials_secret_arn: str - """ - The Amazon Resource Name (ARN) of the secret that you created in Secrets - Manager that is linked to your Pinecone API key. - """ - namespace: str | None = ... - """The namespace to be used to write new data to your database.""" - field_mapping: PineconeFieldMapping - """ - Contains the names of the fields to which to map information about the - vector store. - """ - -@dataclass(kw_only=True) -class PineconeFieldMapping(_SerdeShape): - """ - Contains the names of the fields to which to map information about the - vector store. - """ - - text_field: str - """ - The name of the field in which Amazon Bedrock stores the raw text from - your data. The text is split according to the chunking strategy you - choose. - """ - metadata_field: str - """ - The name of the field in which Amazon Bedrock stores metadata about the - vector store. - """ - -@dataclass(kw_only=True) -class PrepareAgentInput(_SerdeShape): - """Dataclass for PrepareAgentInput structure.""" - - agent_id: str | None = ... - """ - The unique identifier of the agent for which to create a `DRAFT` - version. - """ - -@dataclass(kw_only=True) -class PrepareAgentOutput(_SerdeShape): - """Dataclass for PrepareAgentOutput structure.""" - - agent_id: str - """ - The unique identifier of the agent for which the `DRAFT` version was - created. - """ - agent_status: str - """The status of the `DRAFT` version and whether it is ready for use.""" - agent_version: str - """The version of the agent.""" - prepared_at: datetime - """The time at which the `DRAFT` version of the agent was last prepared.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PrepareFlowInput(_SerdeShape): - """Dataclass for PrepareFlowInput structure.""" - - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - -@dataclass(kw_only=True) -class PrepareFlowOutput(_SerdeShape): - """Dataclass for PrepareFlowOutput structure.""" - - id: str - """The unique identifier of the flow.""" - status: str - """ - The status of the flow. When you submit this request, the status will be - `NotPrepared`. If preparation succeeds, the status becomes `Prepared`. - If it fails, the status becomes `FAILED`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PromptAgentResource(_SerdeShape): - """ - Contains specifications for an Amazon Bedrock agent with which to use - the prompt. For more information, see [Create a prompt using Prompt - management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html) - and [Automate tasks in your application using conversational - agents](https://docs.aws.amazon.com/bedrock/latest/userguide/agents.html). - """ - - agent_identifier: str - """The ARN of the agent with which to use the prompt.""" - -@dataclass(kw_only=True) -class PromptConfiguration(_SerdeShape): - """ - Contains configurations to override a prompt template in one part of an - agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - - prompt_type: str | None = ... - """ - The step in the agent sequence that this prompt configuration applies - to. - """ - prompt_creation_mode: str | None = ... - """ - Specifies whether to override the default prompt template for this - `promptType`. Set this value to `OVERRIDDEN` to use the prompt that you - provide in the `basePromptTemplate`. If you leave it as `DEFAULT`, the - agent uses a default prompt template. - """ - prompt_state: str | None = ... - """ - Specifies whether to allow the agent to carry out the step specified in - the `promptType`. If you set this value to `DISABLED`, the agent skips - that step. The default state for each `promptType` is as follows. - - - `PRE_PROCESSING` -- `DISABLED` - - - `ORCHESTRATION` -- `ENABLED` - - - `KNOWLEDGE_BASE_RESPONSE_GENERATION` -- `ENABLED` - - - `POST_PROCESSING` -- `DISABLED` - """ - base_prompt_template: str | None = ... - """ - Defines the prompt template with which to replace the default prompt - template. You can use placeholder variables in the base prompt template - to customize the prompt. For more information, see [Prompt template - placeholder - variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). - For more information, see [Configure the prompt - templates](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts-configure.html). - """ - inference_configuration: InferenceConfiguration | None = ... - """ - Contains inference parameters to use when the agent invokes a foundation - model in the part of the agent sequence defined by the `promptType`. For - more information, see [Inference parameters for foundation - models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - """ - parser_mode: str | None = ... - """ - Specifies whether to override the default parser Lambda function when - parsing the raw foundation model output in the part of the agent - sequence defined by the `promptType`. If you set the field as - `OVERRIDDEN`, the `overrideLambda` field in the - [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) - must be specified with the ARN of a Lambda function. - """ - foundation_model: str | None = ... - """The agent's foundation model.""" - additional_model_request_fields: Document | None = ... - """ - If the Converse or ConverseStream operations support the model, - `additionalModelRequestFields` contains additional inference parameters, - beyond the base set of inference parameters in the - `inferenceConfiguration` field. - - For more information, see *Inference request parameters and response - fields for foundation models* in the Amazon Bedrock user guide. - """ - -@dataclass(kw_only=True) -class PromptFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for a prompt node in the flow. You can use a - prompt from Prompt management or you can define one in this node. If the - prompt contains variables, the inputs into this node will fill in the - variables. The output from this node is the response generated by the - model. For more information, see [Node types in a - flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) - in the Amazon Bedrock User Guide. - """ - - source_configuration: PromptFlowNodeSourceConfiguration - """ - Specifies whether the prompt is from Prompt management or defined - inline. - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """ - Contains configurations for a guardrail to apply to the prompt in this - node and the response generated from it. - """ - -@dataclass(kw_only=True) -class PromptFlowNodeInlineConfiguration(_SerdeShape): - """Contains configurations for a prompt defined inline in the node.""" - - template_type: str = ... - """The type of prompt template.""" - template_configuration: PromptTemplateConfiguration - """ - Contains a prompt and variables in the prompt that can be replaced with - values at runtime. - """ - model_id: str = ... - """ - The unique identifier of the model or [inference - profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) - to run inference with. - """ - inference_configuration: PromptInferenceConfiguration | None = ... - """Contains inference configurations for the prompt.""" - additional_model_request_fields: Document | None = ... - """ - Additional fields to be included in the model request for the Prompt - node. - """ - -@dataclass(kw_only=True) -class PromptFlowNodeResourceConfiguration(_SerdeShape): - """ - Contains configurations for a prompt from Prompt management to use in a - node. - """ - - prompt_arn: str = ... - """The Amazon Resource Name (ARN) of the prompt from Prompt management.""" - -@dataclass -class PromptFlowNodeSourceConfigurationResource(_SerdeShape): - """Contains configurations for a prompt from Prompt management.""" - - value: PromptFlowNodeResourceConfiguration - -@dataclass -class PromptFlowNodeSourceConfigurationInline(_SerdeShape): - """Contains configurations for a prompt that is defined inline""" - - value: PromptFlowNodeInlineConfiguration - -@dataclass -class PromptFlowNodeSourceConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PromptFlowNodeSourceConfiguration = Union[ - PromptFlowNodeSourceConfigurationResource - | PromptFlowNodeSourceConfigurationInline - | PromptFlowNodeSourceConfigurationUnknown -] -""" -Contains configurations for a prompt and whether it is from Prompt -management or defined inline. -""" - -class _PromptFlowNodeSourceConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> PromptFlowNodeSourceConfiguration: ... - -@dataclass -class PromptGenAiResourceAgent(_SerdeShape): - """Specifies an Amazon Bedrock agent with which to use the prompt.""" - - value: PromptAgentResource - -@dataclass -class PromptGenAiResourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PromptGenAiResource = Union[PromptGenAiResourceAgent | PromptGenAiResourceUnknown] -""" -Contains specifications for a generative AI resource with which to use -the prompt. For more information, see [Create a prompt using Prompt -management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). -""" - -class _PromptGenAiResourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PromptGenAiResource: ... - -@dataclass -class PromptInferenceConfigurationText(_SerdeShape): - """Contains inference configurations for a text prompt.""" - - value: PromptModelInferenceConfiguration - -@dataclass -class PromptInferenceConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PromptInferenceConfiguration = Union[ - PromptInferenceConfigurationText | PromptInferenceConfigurationUnknown -] -"""Contains inference configurations for the prompt.""" - -class _PromptInferenceConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> PromptInferenceConfiguration: ... - -@dataclass(kw_only=True) -class PromptInputVariable(_SerdeShape): - """Contains information about a variable in the prompt.""" - - name: str | None = ... - """The name of the variable.""" - -@dataclass(kw_only=True) -class PromptMetadataEntry(_SerdeShape): - """ - Contains a key-value pair that defines a metadata tag and value to - attach to a prompt variant. For more information, see [Create a prompt - using Prompt - management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). - """ - - key: str - """The key of a metadata tag for a prompt variant.""" - value: str - """The value of a metadata tag for a prompt variant.""" - -@dataclass(kw_only=True) -class PromptModelInferenceConfiguration(_SerdeShape): - """ - Contains inference configurations related to model inference for a - prompt. For more information, see [Inference - parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/inference-parameters.html). - """ - - temperature: float | None = ... - """ - Controls the randomness of the response. Choose a lower value for more - predictable outputs and a higher value for more surprising outputs. - """ - top_p: float | None = ... - """ - The percentage of most-likely candidates that the model considers for - the next token. - """ - max_tokens: int | None = ... - """The maximum number of tokens to return in the response.""" - stop_sequences: list[str] | None = ... - """ - A list of strings that define sequences after which the model will stop - generating. - """ - -@dataclass(kw_only=True) -class PromptOverrideConfiguration(_SerdeShape): - """ - Contains configurations to override prompts in different parts of an - agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - - prompt_configurations: list[PromptConfiguration] - """ - Contains configurations to override a prompt template in one part of an - agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - override_lambda: str | None = ... - """ - The ARN of the Lambda function to use when parsing the raw foundation - model output in parts of the agent sequence. If you specify this field, - at least one of the `promptConfigurations` must contain a `parserMode` - value that is set to `OVERRIDDEN`. For more information, see [Parser - Lambda function in Amazon Bedrock - Agents](https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html). - """ - -class PromptState(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class PromptSummary(_SerdeShape): - """ - Contains information about a prompt in your Prompt management tool. - - This data type is used in the following API operations: - - - [ListPrompts - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ListPrompts.html#API_agent_ListPrompts_ResponseSyntax) - """ - - name: str - """The name of the prompt.""" - description: str | None = ... - """The description of the prompt.""" - id: str - """The unique identifier of the prompt.""" - arn: str - """ - The Amazon Resource Name (ARN) of the prompt or the prompt version (if - you specified a version in the request). - """ - version: str - """The version of the prompt that this summary applies to.""" - created_at: datetime - """The time at which the prompt was created.""" - updated_at: datetime - """The time at which the prompt was last updated.""" - -@dataclass -class PromptTemplateConfigurationText(_SerdeShape): - """Contains configurations for the text in a message for a prompt.""" - - value: TextPromptTemplateConfiguration - -@dataclass -class PromptTemplateConfigurationChat(_SerdeShape): - """Contains configurations to use the prompt in a conversational format.""" - - value: ChatPromptTemplateConfiguration - -@dataclass -class PromptTemplateConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PromptTemplateConfiguration = Union[ - PromptTemplateConfigurationText - | PromptTemplateConfigurationChat - | PromptTemplateConfigurationUnknown -] -""" -Contains the message for a prompt. For more information, see [Construct -and store reusable prompts with Prompt management in Amazon -Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html). -""" - -class _PromptTemplateConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> PromptTemplateConfiguration: ... - -class PromptTemplateType(UnknownEnumMixin, StrEnum): - TEXT = "TEXT" - CHAT = "CHAT" - -class PromptType(UnknownEnumMixin, StrEnum): - PRE_PROCESSING = "PRE_PROCESSING" - ORCHESTRATION = "ORCHESTRATION" - POST_PROCESSING = "POST_PROCESSING" - KNOWLEDGE_BASE_RESPONSE_GENERATION = "KNOWLEDGE_BASE_RESPONSE_GENERATION" - MEMORY_SUMMARIZATION = "MEMORY_SUMMARIZATION" - -@dataclass(kw_only=True) -class PromptVariant(_SerdeShape): - """Contains details about a variant of the prompt.""" - - name: str - """The name of the prompt variant.""" - template_type: str - """The type of prompt template to use.""" - template_configuration: PromptTemplateConfiguration - """Contains configurations for the prompt template.""" - model_id: str | None = ... - """ - The unique identifier of the model or [inference - profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) - with which to run inference on the prompt. - """ - inference_configuration: PromptInferenceConfiguration | None = ... - """Contains inference configurations for the prompt variant.""" - metadata: list[PromptMetadataEntry] | None = ... - """ - An array of objects, each containing a key-value pair that defines a - metadata tag and value to attach to a prompt variant. - """ - additional_model_request_fields: Document | None = ... - """ - Contains model-specific inference configurations that aren't in the - `inferenceConfiguration` field. To see model-specific inference - parameters, see [Inference request parameters and response fields for - foundation - models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - """ - gen_ai_resource: PromptGenAiResource | None = ... - """Specifies a generative AI resource with which to use the prompt.""" - -@dataclass(kw_only=True) -class PutResourcePolicyInput(_SerdeShape): - """Dataclass for PutResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the knowledge base to attach the - resource policy to. - """ - policy: str | JsonString | None = ... - """The JSON-formatted resource policy to associate with the knowledge base.""" - expected_revision_id: str | None = ... - """ - The expected revision identifier of the resource policy. Use this to - prevent conflicts when multiple users update the same policy - concurrently. Specify the `revisionId` from the most recent - `GetResourcePolicy` or `PutResourcePolicy` response. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyOutput(_SerdeShape): - """Dataclass for PutResourcePolicyOutput structure.""" - - resource_arn: str - """The ARN of the knowledge base that the resource policy was attached to.""" - revision_id: str - """ - The revision identifier of the resource policy. Use this value in the - `expectedRevisionId` field of a subsequent `PutResourcePolicy` or - `DeleteResourcePolicy` request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class QueryEngineType(UnknownEnumMixin, StrEnum): - REDSHIFT = "REDSHIFT" - -@dataclass(kw_only=True) -class QueryGenerationColumn(_SerdeShape): - """ - Contains information about a column in the current table for the query - engine to consider. - """ - - name: str | None = ... - """The name of the column for which the other fields in this object apply.""" - description: str | None = ... - """ - A description of the column that helps the query engine understand the - contents of the column. - """ - inclusion: str | None = ... - """ - Specifies whether to include or exclude the column during query - generation. If you specify `EXCLUDE`, the column will be ignored. If you - specify `INCLUDE`, all other columns in the table will be ignored. - """ - -@dataclass(kw_only=True) -class QueryGenerationConfiguration(_SerdeShape): - """ - Contains configurations for query generation. For more information, see - [Build a knowledge base by connecting to a structured data - source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) - in the Amazon Bedrock User Guide.. - """ - - execution_timeout_seconds: int | None = ... - """The time after which query generation will time out.""" - generation_context: QueryGenerationContext | None = ... - """Specifies configurations for context to use during query generation.""" - -@dataclass(kw_only=True) -class QueryGenerationContext(_SerdeShape): - """>Contains configurations for context to use during query generation.""" - - tables: list[QueryGenerationTable] | None = ... - """ - An array of objects, each of which defines information about a table in - the database. - """ - curated_queries: list[CuratedQuery] | None = ... - """ - An array of objects, each of which defines information about example - queries to help the query engine generate appropriate SQL queries. - """ - -@dataclass(kw_only=True) -class QueryGenerationTable(_SerdeShape): - """Contains information about a table for the query engine to consider.""" - - name: str - """The name of the table for which the other fields in this object apply.""" - description: str | None = ... - """ - A description of the table that helps the query engine understand the - contents of the table. - """ - inclusion: str | None = ... - """ - Specifies whether to include or exclude the table during query - generation. If you specify `EXCLUDE`, the table will be ignored. If you - specify `INCLUDE`, all other tables will be ignored. - """ - columns: list[QueryGenerationColumn] | None = ... - """ - An array of objects, each of which defines information about a column in - the table. - """ - -@dataclass(kw_only=True) -class RdsConfiguration(_SerdeShape): - """ - Contains details about the storage configuration of the knowledge base - in Amazon RDS. For more information, see [Create a vector index in - Amazon - RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html). - """ - - resource_arn: str - """The Amazon Resource Name (ARN) of the vector store.""" - credentials_secret_arn: str - """ - The Amazon Resource Name (ARN) of the secret that you created in Secrets - Manager that is linked to your Amazon RDS database. - """ - database_name: str - """The name of your Amazon RDS database.""" - table_name: str - """The name of the table in the database.""" - field_mapping: RdsFieldMapping - """ - Contains the names of the fields to which to map information about the - vector store. - """ - -@dataclass(kw_only=True) -class RdsFieldMapping(_SerdeShape): - """ - Contains the names of the fields to which to map information about the - vector store. - """ - - primary_key_field: str - """ - The name of the field in which Amazon Bedrock stores the ID for each - entry. - """ - vector_field: str - """ - The name of the field in which Amazon Bedrock stores the vector - embeddings for your data sources. - """ - text_field: str - """ - The name of the field in which Amazon Bedrock stores the raw text from - your data. The text is split according to the chunking strategy you - choose. - """ - metadata_field: str - """ - The name of the field in which Amazon Bedrock stores metadata about the - vector store. - """ - custom_metadata_field: str | None = ... - """ - Provide a name for the universal metadata field where Amazon Bedrock - will store any custom metadata from your data source. - """ - -@dataclass(kw_only=True) -class RedisEnterpriseCloudConfiguration(_SerdeShape): - """ - Contains details about the storage configuration of the knowledge base - in Redis Enterprise Cloud. For more information, see [Create a vector - index in Redis Enterprise - Cloud](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html). - """ - - endpoint: str - """The endpoint URL of the Redis Enterprise Cloud database.""" - vector_index_name: str - """The name of the vector index.""" - credentials_secret_arn: str - """ - The Amazon Resource Name (ARN) of the secret that you created in Secrets - Manager that is linked to your Redis Enterprise Cloud database. - """ - field_mapping: RedisEnterpriseCloudFieldMapping - """ - Contains the names of the fields to which to map information about the - vector store. - """ - -@dataclass(kw_only=True) -class RedisEnterpriseCloudFieldMapping(_SerdeShape): - """ - Contains the names of the fields to which to map information about the - vector store. - """ - - vector_field: str - """ - The name of the field in which Amazon Bedrock stores the vector - embeddings for your data sources. - """ - text_field: str - """ - The name of the field in which Amazon Bedrock stores the raw text from - your data. The text is split according to the chunking strategy you - choose. - """ - metadata_field: str - """ - The name of the field in which Amazon Bedrock stores metadata about the - vector store. - """ - -@dataclass(kw_only=True) -class RedshiftConfiguration(_SerdeShape): - """ - Contains configurations for an Amazon Redshift database. For more - information, see [Build a knowledge base by connecting to a structured - data - source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) - in the Amazon Bedrock User Guide. - """ - - storage_configurations: list[RedshiftQueryEngineStorageConfiguration] - """Specifies configurations for Amazon Redshift database storage.""" - query_engine_configuration: RedshiftQueryEngineConfiguration - """Specifies configurations for an Amazon Redshift query engine.""" - query_generation_configuration: QueryGenerationConfiguration | None = ... - """Specifies configurations for generating queries.""" - -@dataclass(kw_only=True) -class RedshiftProvisionedAuthConfiguration(_SerdeShape): - """ - Contains configurations for authentication to an Amazon Redshift - provisioned data warehouse. Specify the type of authentication to use in - the `type` field and include the corresponding field. If you specify IAM - authentication, you don't need to include another field. - """ - - type: str - """The type of authentication to use.""" - database_user: str | None = ... - """ - The database username for authentication to an Amazon Redshift - provisioned data warehouse. - """ - username_password_secret_arn: str | None = ... - """The ARN of an Secrets Manager secret for authentication.""" - -class RedshiftProvisionedAuthType(UnknownEnumMixin, StrEnum): - IAM = "IAM" - USERNAME_PASSWORD = "USERNAME_PASSWORD" - USERNAME = "USERNAME" - -@dataclass(kw_only=True) -class RedshiftProvisionedConfiguration(_SerdeShape): - """Contains configurations for a provisioned Amazon Redshift query engine.""" - - cluster_identifier: str - """The ID of the Amazon Redshift cluster.""" - auth_configuration: RedshiftProvisionedAuthConfiguration - """Specifies configurations for authentication to Amazon Redshift.""" - -@dataclass(kw_only=True) -class RedshiftQueryEngineAwsDataCatalogStorageConfiguration(_SerdeShape): - """Contains configurations for storage in Glue Data Catalog.""" - - table_names: list[str] - """A list of names of the tables to use.""" - -@dataclass(kw_only=True) -class RedshiftQueryEngineConfiguration(_SerdeShape): - """ - Contains configurations for an Amazon Redshift query engine. Specify the - type of query engine in `type` and include the corresponding field. For - more information, see [Build a knowledge base by connecting to a - structured data - source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) - in the Amazon Bedrock User Guide. - """ - - type: str - """The type of query engine.""" - serverless_configuration: RedshiftServerlessConfiguration | None = ... - """Specifies configurations for a serverless Amazon Redshift query engine.""" - provisioned_configuration: RedshiftProvisionedConfiguration | None = ... - """Specifies configurations for a provisioned Amazon Redshift query engine.""" - -@dataclass(kw_only=True) -class RedshiftQueryEngineRedshiftStorageConfiguration(_SerdeShape): - """Contains configurations for storage in Amazon Redshift.""" - - database_name: str - """The name of the Amazon Redshift database.""" - -@dataclass(kw_only=True) -class RedshiftQueryEngineStorageConfiguration(_SerdeShape): - """ - Contains configurations for Amazon Redshift data storage. Specify the - data storage service to use in the `type` field and include the - corresponding field. For more information, see [Build a knowledge base - by connecting to a structured data - source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) - in the Amazon Bedrock User Guide. - """ - - type: str - """The data storage service to use.""" - aws_data_catalog_configuration: ( - RedshiftQueryEngineAwsDataCatalogStorageConfiguration | None - ) = ... - """Specifies configurations for storage in Glue Data Catalog.""" - redshift_configuration: RedshiftQueryEngineRedshiftStorageConfiguration | None = ... - """Specifies configurations for storage in Amazon Redshift.""" - -class RedshiftQueryEngineStorageType(UnknownEnumMixin, StrEnum): - REDSHIFT = "REDSHIFT" - AWS_DATA_CATALOG = "AWS_DATA_CATALOG" - -class RedshiftQueryEngineType(UnknownEnumMixin, StrEnum): - SERVERLESS = "SERVERLESS" - PROVISIONED = "PROVISIONED" - -@dataclass(kw_only=True) -class RedshiftServerlessAuthConfiguration(_SerdeShape): - """ - Specifies configurations for authentication to a Redshift Serverless. - Specify the type of authentication to use in the `type` field and - include the corresponding field. If you specify IAM authentication, you - don't need to include another field. - """ - - type: str - """The type of authentication to use.""" - username_password_secret_arn: str | None = ... - """The ARN of an Secrets Manager secret for authentication.""" - -class RedshiftServerlessAuthType(UnknownEnumMixin, StrEnum): - IAM = "IAM" - USERNAME_PASSWORD = "USERNAME_PASSWORD" - -@dataclass(kw_only=True) -class RedshiftServerlessConfiguration(_SerdeShape): - """ - Contains configurations for authentication to Amazon Redshift - Serverless. - """ - - workgroup_arn: str - """The ARN of the Amazon Redshift workgroup.""" - auth_configuration: RedshiftServerlessAuthConfiguration - """ - Specifies configurations for authentication to an Amazon Redshift - provisioned data warehouse. - """ - -class RelayConversationHistory(UnknownEnumMixin, StrEnum): - TO_COLLABORATOR = "TO_COLLABORATOR" - DISABLED = "DISABLED" - -class RequireConfirmation(UnknownEnumMixin, StrEnum): - """Whether the action requires user confirmation.""" - - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class RerankingMetadataSelectionMode(UnknownEnumMixin, StrEnum): - SELECTIVE = "SELECTIVE" - ALL = "ALL" - -@dataclass -class RerankingMetadataSelectiveModeConfigurationFieldsToInclude(_SerdeShape): - """Specifies the metadata fields to include in the reranking process.""" - - value: list[FieldForReranking] - -@dataclass -class RerankingMetadataSelectiveModeConfigurationFieldsToExclude(_SerdeShape): - """Specifies the metadata fields to exclude from the reranking process.""" - - value: list[FieldForReranking] - -@dataclass -class RerankingMetadataSelectiveModeConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RerankingMetadataSelectiveModeConfiguration = Union[ - RerankingMetadataSelectiveModeConfigurationFieldsToInclude - | RerankingMetadataSelectiveModeConfigurationFieldsToExclude - | RerankingMetadataSelectiveModeConfigurationUnknown -] -""" -Configures the metadata fields to include or exclude during the -reranking process when using selective mode. -""" - -class _RerankingMetadataSelectiveModeConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RerankingMetadataSelectiveModeConfiguration: ... - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """ - The specified resource Amazon Resource Name (ARN) was not found. Check - the Amazon Resource Name (ARN) and try your request again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RetrievalFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for a Retrieval node in a flow. This node - retrieves data from the Amazon S3 location that you specify and returns - it as the output. - """ - - service_configuration: RetrievalFlowNodeServiceConfiguration - """ - Contains configurations for the service to use for retrieving data to - return as the output from the node. - """ - -@dataclass(kw_only=True) -class RetrievalFlowNodeS3Configuration(_SerdeShape): - """ - Contains configurations for the Amazon S3 location from which to - retrieve data to return as the output from the node. - """ - - bucket_name: str = ... - """The name of the Amazon S3 bucket from which to retrieve data.""" - -@dataclass -class RetrievalFlowNodeServiceConfigurationS3(_SerdeShape): - """ - Contains configurations for the Amazon S3 location from which to - retrieve data to return as the output from the node. - """ - - value: RetrievalFlowNodeS3Configuration - -@dataclass -class RetrievalFlowNodeServiceConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RetrievalFlowNodeServiceConfiguration = Union[ - RetrievalFlowNodeServiceConfigurationS3 - | RetrievalFlowNodeServiceConfigurationUnknown -] -""" -Contains configurations for the service to use for retrieving data to -return as the output from the node. -""" - -class _RetrievalFlowNodeServiceConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RetrievalFlowNodeServiceConfiguration: ... - -@dataclass(kw_only=True) -class RetrievalInstructionContent(_SerdeShape): - """ - The instruction content, as a set of named fields. Every field is - optional; at least one must be present. Service-side validation enforces - per-field and aggregate size limits. - """ - - retrieval_guidance: str | None = ... - """ - How to interpret and decompose the question, and what to prioritise when - searching. - """ - persona: str | None = ... - """Who the assistant is: identity, tone and language.""" - answer_format: str | None = ... - """How the answer is structured, including how sources are cited.""" - answer_policy: str | None = ... - """ - Whether and how to answer: how strongly an answer must be supported, and - what to do with questions outside scope. - """ - -@dataclass(kw_only=True) -class RetrievalInstructionFailureReason(_SerdeShape): - """ - One reason the most recent create or update did not succeed. code drives - programmatic branching (fix the text, fix the configuration, or retry); - message carries the specific cause. - """ - - field_name: str | None = ... - """ - The instruction field this entry is about. Present on review rejections - of a specific field; absent when the failure applies to the whole - review, because a client-side execution failure or a service fault has - no single field. - """ - code: str - """ - Stable, machine-readable classification by fault attribution. Valid - values: - - - CONTENT_REJECTED -- The review rejected the named field's content; - revise the text and resubmit. - - - CLIENT_ERROR -- The review could not run for a customer-side reason, - for example the customer managed AWS KMS key could not be used; fix - the configuration and resubmit. - - - INTERNAL_ERROR -- The review could not complete due to a service - fault; retry the create or update. - - New values may be added over time; your client should tolerate values it - does not recognize and treat them as a failure. - """ - message: str - """ - Human-readable explanation of the specific cause. Never contains the - customer's own text. - """ - -class RetrievalInstructionFailureReasonCode(UnknownEnumMixin, StrEnum): - """ - A machine-readable failure classification. See - RetrievalInstructionFailureReason.code for the value semantics. - """ - - CONTENT_REJECTED = "CONTENT_REJECTED" - CLIENT_ERROR = "CLIENT_ERROR" - INTERNAL_ERROR = "INTERNAL_ERROR" - -class RetrievalInstructionFieldName(UnknownEnumMixin, StrEnum): - """ - Identifies one field of RetrievalInstructionContent: - - - RETRIEVAL_GUIDANCE -- retrievalGuidance - - - PERSONA -- persona - - - ANSWER_FORMAT -- answerFormat - - - ANSWER_POLICY -- answerPolicy - """ - - RETRIEVAL_GUIDANCE = "RETRIEVAL_GUIDANCE" - PERSONA = "PERSONA" - ANSWER_FORMAT = "ANSWER_FORMAT" - ANSWER_POLICY = "ANSWER_POLICY" - -class RetrievalInstructionLastTransitionStatus(UnknownEnumMixin, StrEnum): - """ - The outcome or in-progress state of the most recent create or update of - a retrieval instruction. Delete is synchronous and has no representation - here. Independent of RetrievalInstructionStatus. - """ - - CREATING = "CREATING" - UPDATING = "UPDATING" - CREATE_SUCCESSFUL = "CREATE_SUCCESSFUL" - CREATE_FAILED = "CREATE_FAILED" - UPDATE_SUCCESSFUL = "UPDATE_SUCCESSFUL" - UPDATE_FAILED = "UPDATE_FAILED" - -class RetrievalInstructionStatus(UnknownEnumMixin, StrEnum): - """ - Specifies whether you can use a retrieval instruction. You can resolve - only an ACTIVE retrieval instruction at retrieval time. Monotone: - INACTIVE to ACTIVE once, never back. - """ - - ACTIVE = "ACTIVE" - INACTIVE = "INACTIVE" - -@dataclass(kw_only=True) -class RetrievalInstructionSummary(_SerdeShape): - """A summary of a retrieval instruction, without the content.""" - - retrieval_instruction_id: str - """The identifier of the retrieval instruction.""" - retrieval_instruction_arn: str - """The ARN of the retrieval instruction.""" - name: str - """The name of the retrieval instruction.""" - status: str - """ - Whether the instruction can be used. Only ACTIVE is resolvable at - retrieval time. - """ - last_transition_status: str - """ - The outcome or in-progress state of the most recent create or update of - the retrieval instruction. - """ - created_at: datetime - """When you created the retrieval instruction.""" - updated_at: datetime - """When the retrieval instruction was last updated.""" - description: str | None = ... - """A description of the retrieval instruction.""" - -@dataclass(kw_only=True) -class RetrievalInstructionVersionSummary(_SerdeShape): - """ - A summary of one numbered version of a retrieval instruction, without - the content. - """ - - version: str - """The version number.""" - created_at: datetime - """When this version was created.""" - -@dataclass(kw_only=True) -class S3Content(_SerdeShape): - """ - Contains information about the content to ingest into a knowledge base - connected to an Amazon S3 data source. - """ - - s3_location: S3Location - """The S3 location of the file containing the content to ingest.""" - -@dataclass(kw_only=True) -class S3DataSourceConfiguration(_SerdeShape): - """ - The configuration information to connect to Amazon S3 as your data - source for self-managed knowledge bases. To configure this data source - for managed knowledge bases, use - [managedKnowledgeBaseConnectorConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html). - """ - - bucket_arn: str - """The Amazon Resource Name (ARN) of the S3 bucket that contains your data.""" - inclusion_prefixes: list[str] | None = ... - """ - A list of S3 prefixes to include certain files or content. For more - information, see [Organizing objects using - prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html). - """ - bucket_owner_account_id: str | None = ... - """The account ID for the owner of the S3 bucket.""" - -@dataclass(kw_only=True) -class S3Identifier(_SerdeShape): - """The identifier information for an Amazon S3 bucket.""" - - s3_bucket_name: str | None = ... - """The name of the S3 bucket.""" - s3_object_key: str | None = ... - """The S3 object key for the S3 resource.""" - -@dataclass(kw_only=True) -class S3Location(_SerdeShape): - """An Amazon S3 location.""" - - uri: str - """The location's URI. For example, `s3://my-bucket/chunk-processor/`.""" - -@dataclass(kw_only=True) -class S3VectorsConfiguration(_SerdeShape): - """Contains the storage configuration of the knowledge base for S3 vectors.""" - - vector_bucket_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the S3 bucket where vector embeddings - are stored. This bucket contains the vector data used by the knowledge - base. - """ - index_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the vector index used for the - knowledge base. This ARN identifies the specific vector index resource - within Amazon Bedrock. - """ - index_name: str | None = ... - """ - The name of the vector index used for the knowledge base. This name - identifies the vector index within the Amazon Bedrock service. - """ - -class SalesforceAuthType(UnknownEnumMixin, StrEnum): - OAUTH2_CLIENT_CREDENTIALS = "OAUTH2_CLIENT_CREDENTIALS" - -@dataclass(kw_only=True) -class SalesforceCrawlerConfiguration(_SerdeShape): - """ - The configuration of the Salesforce content. For example, configuring - specific types of Salesforce content. - """ - - filter_configuration: CrawlFilterConfiguration | None = ... - """ - The configuration of filtering the Salesforce content. For example, - configuring regular expression patterns to include or exclude certain - content. - """ - -@dataclass(kw_only=True) -class SalesforceDataSourceConfiguration(_SerdeShape): - """ - The configuration information to connect to Salesforce as your data - source. - """ - - source_configuration: SalesforceSourceConfiguration - """The endpoint information to connect to your Salesforce data source.""" - crawler_configuration: SalesforceCrawlerConfiguration | None = ... - """ - The configuration of the Salesforce content. For example, configuring - specific types of Salesforce content. - """ - -@dataclass(kw_only=True) -class SalesforceSourceConfiguration(_SerdeShape): - """The endpoint information to connect to your Salesforce data source.""" - - host_url: str - """The Salesforce host URL or instance URL.""" - auth_type: str - """ - The supported authentication type to authenticate and connect to your - Salesforce instance. - """ - credentials_secret_arn: str - """ - The Amazon Resource Name of an Secrets Manager secret that stores your - authentication credentials for your Salesforce instance URL. For more - information on the key-value pairs that must be included in your secret, - depending on your authentication type, see [Salesforce connection - configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/salesforce-data-source-connector.html#configuration-salesforce-connector). - """ - -class SearchableStatus(UnknownEnumMixin, StrEnum): - """ - Specifies whether a custom metadata field is searchable. The knowledge - base matches query text against the values of searchable fields. - """ - - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class SeedUrl(_SerdeShape): - """ - The seed or starting point URL. You should be authorized to crawl the - URL. - """ - - url: str | None = ... - """A seed or starting point URL.""" - -@dataclass(kw_only=True) -class SemanticChunkingConfiguration(_SerdeShape): - """ - Settings for semantic document chunking for a data source. Semantic - chunking splits a document into into smaller documents based on groups - of similar content derived from the text with natural language - processing. - - With semantic chunking, each sentence is compared to the next to - determine how similar they are. You specify a threshold in the form of a - percentile, where adjacent sentences that are less similar than that - percentage of sentence pairs are divided into separate chunks. For - example, if you set the threshold to 90, then the 10 percent of sentence - pairs that are least similar are split. So if you have 101 sentences, - 100 sentence pairs are compared, and the 10 with the least similarity - are split, creating 11 chunks. These chunks are further split if they - exceed the max token size. - - You must also specify a buffer size, which determines whether sentences - are compared in isolation, or within a moving context window that - includes the previous and following sentence. For example, if you set - the buffer size to `1`, the embedding for sentence 10 is derived from - sentences 9, 10, and 11 combined. - """ - - max_tokens: int - """The maximum number of tokens that a chunk can contain.""" - buffer_size: int - """The buffer size.""" - breakpoint_percentile_threshold: int - """The dissimilarity threshold for splitting chunks.""" - -@dataclass(kw_only=True) -class ServerSideEncryptionConfiguration(_SerdeShape): - """ - Contains the configuration for server-side encryption for your managed - knowledge base. - """ - - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the - resource. - """ - -@dataclass(kw_only=True) -class ServiceQuotaExceededException(ServiceError, _SerdeShape): - """ - The number of requests exceeds the service quota. Resubmit your request - later. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SessionSummaryConfiguration(_SerdeShape): - """Configuration for SESSION_SUMMARY memory type enabled for the agent.""" - - max_recent_sessions: int | None = ... - """ - Maximum number of recent session summaries to include in the agent's - prompt context. - """ - -class SharePointAuthType(UnknownEnumMixin, StrEnum): - OAUTH2_CLIENT_CREDENTIALS = "OAUTH2_CLIENT_CREDENTIALS" - OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS = ( - "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS" - ) - -@dataclass(kw_only=True) -class SharePointCrawlerConfiguration(_SerdeShape): - """ - The configuration of the SharePoint content. For example, configuring - specific types of SharePoint content. - """ - - filter_configuration: CrawlFilterConfiguration | None = ... - """ - The configuration of filtering the SharePoint content. For example, - configuring regular expression patterns to include or exclude certain - content. - """ - -@dataclass(kw_only=True) -class SharePointDataSourceConfiguration(_SerdeShape): - """ - The configuration information to connect to SharePoint as your data - source for self-managed knowledge bases. - """ - - source_configuration: SharePointSourceConfiguration - """The endpoint information to connect to your SharePoint data source.""" - crawler_configuration: SharePointCrawlerConfiguration | None = ... - """ - The configuration of the SharePoint content. For example, configuring - specific types of SharePoint content. - """ - -class SharePointHostType(UnknownEnumMixin, StrEnum): - ONLINE = "ONLINE" - -@dataclass(kw_only=True) -class SharePointSourceConfiguration(_SerdeShape): - """The endpoint information to connect to your SharePoint data source.""" - - tenant_id: str | None = ... - """The identifier of your Microsoft 365 tenant.""" - domain: str - """The domain of your SharePoint instance or site URL/URLs.""" - site_urls: list[str] - """A list of one or more SharePoint site URLs.""" - host_type: str - """The supported host type, whether online/cloud or server/on-premises.""" - auth_type: str - """ - The supported authentication type to authenticate and connect to your - SharePoint site/sites. - """ - credentials_secret_arn: str - """ - The Amazon Resource Name of an Secrets Manager secret that stores your - authentication credentials for your SharePoint site/sites. For more - information on the key-value pairs that must be included in your secret, - depending on your authentication type, see [SharePoint connection - configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/sharepoint-data-source-connector.html#configuration-sharepoint-connector). - """ - -class SortOrder(UnknownEnumMixin, StrEnum): - ASCENDING = "ASCENDING" - DESCENDING = "DESCENDING" - -@dataclass(kw_only=True) -class SpecificToolChoice(_SerdeShape): - """ - Defines a specific tool that the model must request. No text is - generated but the results of tool use are sent back to the model to help - generate a response. For more information, see [Use a tool to complete - an Amazon Bedrock model - response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). - """ - - name: str - """The name of the tool.""" - -@dataclass(kw_only=True) -class SqlKnowledgeBaseConfiguration(_SerdeShape): - """ - Contains configurations for a knowledge base connected to an SQL - database. Specify the SQL database type in the `type` field and include - the corresponding field. For more information, see [Build a knowledge - base by connecting to a structured data - source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) - in the Amazon Bedrock User Guide. - """ - - type: str - """The type of SQL database to connect to the knowledge base.""" - redshift_configuration: RedshiftConfiguration | None = ... - """ - Specifies configurations for a knowledge base connected to an Amazon - Redshift database. - """ - -@dataclass(kw_only=True) -class StartIngestionJobInput(_SerdeShape): - """Dataclass for StartIngestionJobInput structure.""" - - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base for the data ingestion job.""" - data_source_id: str | None = ... - """ - The unique identifier of the data source you want to ingest into your - knowledge base. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - description: str | None = ... - """A description of the data ingestion job.""" - -@dataclass(kw_only=True) -class StartIngestionJobOutput(_SerdeShape): - """Dataclass for StartIngestionJobOutput structure.""" - - ingestion_job: IngestionJob - """Contains information about the data ingestion job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class StepType(UnknownEnumMixin, StrEnum): - POST_CHUNKING = "POST_CHUNKING" - -@dataclass(kw_only=True) -class StopIngestionJobInput(_SerdeShape): - """Dataclass for StopIngestionJobInput structure.""" - - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base for the data ingestion job - you want to stop. - """ - data_source_id: str | None = ... - """ - The unique identifier of the data source for the data ingestion job you - want to stop. - """ - ingestion_job_id: str | None = ... - """The unique identifier of the data ingestion job you want to stop.""" - -@dataclass(kw_only=True) -class StopIngestionJobOutput(_SerdeShape): - """Dataclass for StopIngestionJobOutput structure.""" - - ingestion_job: IngestionJob - """Contains information about the stopped data ingestion job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StorageConfiguration(_SerdeShape): - """Contains the storage configuration of the knowledge base.""" - - type: str - """The vector store service in which the knowledge base is stored.""" - opensearch_serverless_configuration: OpenSearchServerlessConfiguration | None = ... - """ - Contains the storage configuration of the knowledge base in Amazon - OpenSearch Service. - """ - opensearch_managed_cluster_configuration: ( - OpenSearchManagedClusterConfiguration | None - ) = ... - """ - Contains details about the storage configuration of the knowledge base - in OpenSearch Managed Cluster. For more information, see [Create a - vector index in Amazon OpenSearch - Service](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html). - """ - pinecone_configuration: PineconeConfiguration | None = ... - """Contains the storage configuration of the knowledge base in Pinecone.""" - redis_enterprise_cloud_configuration: RedisEnterpriseCloudConfiguration | None = ... - """ - Contains the storage configuration of the knowledge base in Redis - Enterprise Cloud. - """ - rds_configuration: RdsConfiguration | None = ... - """ - Contains details about the storage configuration of the knowledge base - in Amazon RDS. For more information, see [Create a vector index in - Amazon - RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html). - """ - mongo_db_atlas_configuration: MongoDbAtlasConfiguration | None = ... - """ - Contains the storage configuration of the knowledge base in MongoDB - Atlas. - """ - neptune_analytics_configuration: NeptuneAnalyticsConfiguration | None = ... - """ - Contains details about the Neptune Analytics configuration of the - knowledge base in Amazon Neptune. For more information, see [Create a - vector index in Amazon Neptune - Analytics.](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-neptune.html). - """ - s3_vectors_configuration: S3VectorsConfiguration | None = ... - """ - The configuration settings for storing knowledge base data using S3 - vectors. This includes vector index information and S3 bucket details - for vector storage. - """ - -@dataclass(kw_only=True) -class StorageFlowNodeConfiguration(_SerdeShape): - """ - Contains configurations for a Storage node in a flow. This node stores - the input in an Amazon S3 location that you specify. - """ - - service_configuration: StorageFlowNodeServiceConfiguration - """ - Contains configurations for the service to use for storing the input - into the node. - """ - -@dataclass(kw_only=True) -class StorageFlowNodeS3Configuration(_SerdeShape): - """ - Contains configurations for the Amazon S3 location in which to store the - input into the node. - """ - - bucket_name: str = ... - """ - The name of the Amazon S3 bucket in which to store the input into the - node. - """ - -@dataclass -class StorageFlowNodeServiceConfigurationS3(_SerdeShape): - """ - Contains configurations for the Amazon S3 location in which to store the - input into the node. - """ - - value: StorageFlowNodeS3Configuration - -@dataclass -class StorageFlowNodeServiceConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -StorageFlowNodeServiceConfiguration = Union[ - StorageFlowNodeServiceConfigurationS3 | StorageFlowNodeServiceConfigurationUnknown -] -""" -Contains configurations for the service to use for storing the input -into the node. -""" - -class _StorageFlowNodeServiceConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> StorageFlowNodeServiceConfiguration: ... - -@dataclass(kw_only=True) -class SupplementalDataStorageConfiguration(_SerdeShape): - """ - Specifies configurations for the storage location of multimedia content - (images, audio, and video) extracted from multimodal documents in your - data source. This content can be retrieved and returned to the end user - with timestamp references for audio and video segments. - """ - - storage_locations: list[SupplementalDataStorageLocation] - """ - A list of objects specifying storage locations for multimedia content - (images, audio, and video) extracted from multimodal documents in your - data source. - """ - -@dataclass(kw_only=True) -class SupplementalDataStorageLocation(_SerdeShape): - """ - Contains information about a storage location for multimedia content - (images, audio, and video) extracted from multimodal documents in your - data source. - """ - - type: str - """Specifies the storage service used for this location.""" - s3_location: S3Location | None = ... - """ - Contains information about the Amazon S3 location for the extracted - multimedia content. - """ - -class SupplementalDataStorageLocationType(UnknownEnumMixin, StrEnum): - S3 = "S3" - -class SupportedLanguages(UnknownEnumMixin, StrEnum): - PYTHON_3 = "Python_3" - -@dataclass -class SyncScheduleDaily(_SerdeShape): - """ - A daily sync that runs once a day at a system-chosen off-peak time. The - run time is not configurable. - """ - - value: DailySchedule - -@dataclass -class SyncScheduleWeekly(_SerdeShape): - """A weekly sync that runs once a week on the specified day of the week.""" - - value: WeeklySchedule - -@dataclass -class SyncScheduleMonthly(_SerdeShape): - """A monthly sync that runs once a month on the specified day of the month.""" - - value: MonthlySchedule - -@dataclass -class SyncScheduleUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -SyncSchedule = Union[ - SyncScheduleDaily | SyncScheduleWeekly | SyncScheduleMonthly | SyncScheduleUnknown -] -""" -The recurring schedule on which a managed knowledge base connector -automatically syncs its data source. Specify exactly one of `daily`, -`weekly`, or `monthly`. -""" - -class _SyncScheduleDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> SyncSchedule: ... - -@dataclass -class SystemContentBlockText(_SerdeShape): - """The text in the system prompt.""" - - value: str - -@dataclass -class SystemContentBlockCachePoint(_SerdeShape): - """Creates a cache checkpoint within a tool designation""" - - value: CachePointBlock - -@dataclass -class SystemContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -SystemContentBlock = Union[ - SystemContentBlockText | SystemContentBlockCachePoint | SystemContentBlockUnknown -] -""" -Contains a system prompt to provide context to the model or to describe -how it should behave. For more information, see [Create a prompt using -Prompt -management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html). -""" - -class _SystemContentBlockDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> SystemContentBlock: ... - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Dataclass for TagResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource to tag.""" - tags: dict[str, str] | None = ... - """ - An object containing key-value pairs that define the tags to attach to - the resource. - """ - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TextContentDoc(_SerdeShape): - """Contains information about content defined inline in text.""" - - data: str - """The text of the content.""" - -@dataclass(kw_only=True) -class TextPromptTemplateConfiguration(_SerdeShape): - """ - Contains configurations for a text prompt template. To include a - variable, enclose a word in double curly braces as in `{{variable}}`. - """ - - text: str - """The message for the prompt.""" - cache_point: CachePointBlock | None = ... - """A cache checkpoint within a template configuration.""" - input_variables: list[PromptInputVariable] | None = ... - """An array of the variables in the prompt template.""" - -@dataclass(kw_only=True) -class ThrottlingException(ServiceError, _SerdeShape): - """The number of requests exceeds the limit. Resubmit your request later.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ToolToolSpec(_SerdeShape): - """The specification for the tool.""" - - value: ToolSpecification - -@dataclass -class ToolCachePoint(_SerdeShape): - """Creates a cache checkpoint within a tool designation""" - - value: CachePointBlock - -@dataclass -class ToolUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Tool = Union[ToolToolSpec | ToolCachePoint | ToolUnknown] -""" -Contains configurations for a tool that a model can use when generating -a response. For more information, see [Use a tool to complete an Amazon -Bedrock model -response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). -""" - -class _ToolDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Tool: ... - -@dataclass -class ToolChoiceAuto(_SerdeShape): - """ - Defines tools. The model automatically decides whether to call a tool or - to generate text instead. - """ - - value: AutoToolChoice - -@dataclass -class ToolChoiceAny(_SerdeShape): - """ - Defines tools, at least one of which must be requested by the model. No - text is generated but the results of tool use are sent back to the model - to help generate a response. - """ - - value: AnyToolChoice - -@dataclass -class ToolChoiceTool(_SerdeShape): - """ - Defines a specific tool that the model must request. No text is - generated but the results of tool use are sent back to the model to help - generate a response. - """ - - value: SpecificToolChoice - -@dataclass -class ToolChoiceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ToolChoice = Union[ToolChoiceAuto | ToolChoiceAny | ToolChoiceTool | ToolChoiceUnknown] -""" -Defines which tools the model should request when invoked. For more -information, see [Use a tool to complete an Amazon Bedrock model -response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). -""" - -class _ToolChoiceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ToolChoice: ... - -@dataclass(kw_only=True) -class ToolConfiguration(_SerdeShape): - """ - Configuration information for the tools that the model can use when - generating a response. For more information, see [Use a tool to complete - an Amazon Bedrock model - response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). - """ - - tools: list[Tool] - """An array of tools to pass to a model.""" - tool_choice: ToolChoice | None = ... - """Defines which tools the model should request when invoked.""" - -@dataclass -class ToolInputSchemaJson(_SerdeShape): - """A JSON object defining the input schema for the tool.""" - - value: Document - -@dataclass -class ToolInputSchemaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ToolInputSchema = Union[ToolInputSchemaJson | ToolInputSchemaUnknown] -""" -The input schema for the tool. For more information, see [Use a tool to -complete an Amazon Bedrock model -response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). -""" - -class _ToolInputSchemaDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ToolInputSchema: ... - -@dataclass(kw_only=True) -class ToolSpecification(_SerdeShape): - """ - Contains a specification for a tool. For more information, see [Use a - tool to complete an Amazon Bedrock model - response](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html). - """ - - name: str - """The name of the tool.""" - description: str | None = ... - """The description of the tool.""" - input_schema: ToolInputSchema - """The input schema for the tool.""" - strict: bool | None = ... - """Whether the tool schema is strictly enforced.""" - -@dataclass(kw_only=True) -class Transformation(_SerdeShape): - """ - A custom processing step for documents moving through a data source - ingestion pipeline. To process documents after they have been converted - into chunks, set the step to apply to `POST_CHUNKING`. - """ - - transformation_function: TransformationFunction - """A Lambda function that processes documents.""" - step_to_apply: str - """When the service applies the transformation.""" - -@dataclass(kw_only=True) -class TransformationFunction(_SerdeShape): - """A Lambda function that processes documents.""" - - transformation_lambda_configuration: TransformationLambdaConfiguration - """The Lambda function.""" - -@dataclass(kw_only=True) -class TransformationLambdaConfiguration(_SerdeShape): - """A Lambda function that processes documents.""" - - lambda_arn: str - """The function's ARN identifier.""" - -class Type(UnknownEnumMixin, StrEnum): - STRING = "string" - NUMBER = "number" - INTEGER = "integer" - BOOLEAN = "boolean" - ARRAY = "array" - -@dataclass(kw_only=True) -class UnfulfilledNodeInputFlowValidationDetails(_SerdeShape): - """Details about an unfulfilled node input with no valid connections.""" - - node: str - """The name of the node containing the unfulfilled input.""" - input: str - """ - The name of the unfulfilled input. An input is unfulfilled if there are - no data connections to it. - """ - -@dataclass(kw_only=True) -class UnknownConnectionConditionFlowValidationDetails(_SerdeShape): - """Details about an unknown condition for a connection.""" - - connection: str - """The name of the connection with the unknown condition.""" - -@dataclass(kw_only=True) -class UnknownConnectionSourceFlowValidationDetails(_SerdeShape): - """Details about an unknown source node for a connection.""" - - connection: str - """The name of the connection with the unknown source.""" - -@dataclass(kw_only=True) -class UnknownConnectionSourceOutputFlowValidationDetails(_SerdeShape): - """Details about an unknown source output for a connection.""" - - connection: str - """The name of the connection with the unknown source output.""" - -@dataclass(kw_only=True) -class UnknownConnectionTargetFlowValidationDetails(_SerdeShape): - """Details about an unknown target node for a connection.""" - - connection: str - """The name of the connection with the unknown target.""" - -@dataclass(kw_only=True) -class UnknownConnectionTargetInputFlowValidationDetails(_SerdeShape): - """Details about an unknown target input for a connection.""" - - connection: str - """The name of the connection with the unknown target input.""" - -@dataclass(kw_only=True) -class UnknownNodeInputFlowValidationDetails(_SerdeShape): - """Details about an unknown input for a node.""" - - node: str - """The name of the unknown input.""" - input: str - """The name of the node with the unknown input.""" - -@dataclass(kw_only=True) -class UnknownNodeOutputFlowValidationDetails(_SerdeShape): - """Details about an unknown output for a node.""" - - node: str - """The name of the node with the unknown output.""" - output: str - """The name of the unknown output.""" - -@dataclass(kw_only=True) -class UnreachableNodeFlowValidationDetails(_SerdeShape): - """ - Details about an unreachable node in the flow. A node is unreachable - when there are no paths to it from any starting node. - """ - - node: str - """The name of the unreachable node.""" - -@dataclass(kw_only=True) -class UnsatisfiedConnectionConditionsFlowValidationDetails(_SerdeShape): - """ - Details about unsatisfied conditions for a connection. A condition is - unsatisfied if it can never be true, for example two branches of - condition node cannot be simultaneously true. - """ - - connection: str - """The name of the connection with unsatisfied conditions.""" - -@dataclass(kw_only=True) -class UnspecifiedFlowValidationDetails(_SerdeShape): - """ - Details about an unspecified validation that doesn't fit other - categories. - """ - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Dataclass for UntagResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource from which to remove - tags. - """ - tag_keys: list[str] | None = ... - """A list of keys of the tags to remove from the resource.""" - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAgentActionGroupInput(_SerdeShape): - """Dataclass for UpdateAgentActionGroupInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent for which to update the action group.""" - agent_version: str | None = ... - """ - The unique identifier of the agent version for which to update the - action group. - """ - action_group_id: str | None = ... - """The unique identifier of the action group.""" - action_group_name: str | None = ... - """Specifies a new name for the action group.""" - description: str | None = ... - """Specifies a new name for the action group.""" - parent_action_group_signature: str | None = ... - """ - Update the built-in or computer use action for this action group. If you - specify a value, you must leave the `description`, `apiSchema`, and - `actionGroupExecutor` fields empty for this action group. - - - To allow your agent to request the user for additional information - when trying to complete a task, set this field to `AMAZON.UserInput`. - - - To allow your agent to generate, run, and troubleshoot code when - trying to complete a task, set this field to `AMAZON.CodeInterpreter`. - - - To allow your agent to use an Anthropic computer use tool, specify one - of the following values. - - Warning: - Computer use is a new Anthropic Claude model capability (in beta) - available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 - only. When operating computer use functionality, we recommend taking - additional security precautions, such as executing computer actions in - virtual environments with restricted data access and limited internet - connectivity. For more information, see [Configure an Amazon Bedrock - Agent to complete tasks with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). - - - `ANTHROPIC.Computer` - Gives the agent permission to use the mouse - and keyboard and take screenshots. - - - `ANTHROPIC.TextEditor` - Gives the agent permission to view, create - and edit files. - - - `ANTHROPIC.Bash` - Gives the agent permission to run commands in a - bash shell. - - During orchestration, if your agent determines that it needs to invoke - an API in an action group, but doesn't have enough information to - complete the API request, it will invoke this action group instead and - return an - [Observation](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html) - reprompting the user for more information. - """ - parent_action_group_signature_params: dict[str, str] | None = ... - """ - The configuration settings for a computer use action. - - Warning: - Computer use is a new Anthropic Claude model capability (in beta) - available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more - information, see [Configure an Amazon Bedrock Agent to complete tasks - with computer use - tools](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html). - """ - action_group_executor: ActionGroupExecutor | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda function containing the - business logic that is carried out upon invoking the action. - """ - action_group_state: str | None = ... - """ - Specifies whether the action group is available for the agent to invoke - or not when sending an - [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) - request. - """ - api_schema: APISchema | None = ... - """ - Contains either details about the S3 object containing the OpenAPI - schema for the action group or the JSON or YAML-formatted payload - defining the schema. For more information, see [Action group OpenAPI - schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). - """ - function_schema: FunctionSchema | None = ... - """ - Contains details about the function schema for the action group or the - JSON or YAML-formatted payload defining the schema. - """ - -@dataclass(kw_only=True) -class UpdateAgentActionGroupOutput(_SerdeShape): - """Dataclass for UpdateAgentActionGroupOutput structure.""" - - agent_action_group: AgentActionGroup - """Contains details about the action group that was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAgentAliasInput(_SerdeShape): - """Dataclass for UpdateAgentAliasInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent.""" - agent_alias_id: str | None = ... - """The unique identifier of the alias.""" - agent_alias_name: str | None = ... - """Specifies a new name for the alias.""" - description: str | None = ... - """Specifies a new description for the alias.""" - routing_configuration: list[AgentAliasRoutingConfigurationListItem] | None = ... - """Contains details about the routing configuration of the alias.""" - alias_invocation_state: str | None = ... - """ - The invocation state for the agent alias. To pause the agent alias, set - the value to `REJECT_INVOCATIONS`. To start the agent alias running - again, set the value to `ACCEPT_INVOCATIONS`. Use the `GetAgentAlias`, - or `ListAgentAliases`, operation to get the invocation state of an agent - alias. - """ - -@dataclass(kw_only=True) -class UpdateAgentAliasOutput(_SerdeShape): - """Dataclass for UpdateAgentAliasOutput structure.""" - - agent_alias: AgentAlias - """Contains details about the alias that was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAgentCollaboratorInput(_SerdeShape): - """Dataclass for UpdateAgentCollaboratorInput structure.""" - - agent_id: str | None = ... - """The agent's ID.""" - agent_version: str | None = ... - """The agent's version.""" - collaborator_id: str | None = ... - """The collaborator's ID.""" - agent_descriptor: AgentDescriptor | None = ... - """An agent descriptor for the agent collaborator.""" - collaborator_name: str | None = ... - """The collaborator's name.""" - collaboration_instruction: str | None = ... - """Instruction for the collaborator.""" - relay_conversation_history: str | None = ... - """A relay conversation history for the collaborator.""" - -@dataclass(kw_only=True) -class UpdateAgentCollaboratorOutput(_SerdeShape): - """Dataclass for UpdateAgentCollaboratorOutput structure.""" - - agent_collaborator: AgentCollaborator - """Details about the collaborator.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAgentInput(_SerdeShape): - """Dataclass for UpdateAgentInput structure.""" - - agent_id: str | None = ... - """The unique identifier of the agent.""" - agent_name: str | None = ... - """Specifies a new name for the agent.""" - instruction: str | None = ... - """ - Specifies new instructions that tell the agent what it should do and how - it should interact with users. - """ - foundation_model: str | None = ... - """ - The identifier for the model that you want to be used for orchestration - by the agent you create. - - The `modelId` to provide depends on the type of model or throughput that - you use: - - - If you use a base model, specify the model ID or its ARN. For a list - of model IDs for base models, see [Amazon Bedrock base model IDs - (on-demand - throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) - in the Amazon Bedrock User Guide. - - - If you use an inference profile, specify the inference profile ID or - its ARN. For a list of inference profile IDs, see [Supported Regions - and models for cross-region - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) - in the Amazon Bedrock User Guide. - - - If you use a provisioned model, specify the ARN of the Provisioned - Throughput. For more information, see [Run inference using a - Provisioned - Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) - in the Amazon Bedrock User Guide. - - - If you use a custom model, first purchase Provisioned Throughput for - it. Then specify the ARN of the resulting provisioned model. For more - information, see [Use a custom model in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) - in the Amazon Bedrock User Guide. - - - If you use an [imported - model](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html), - specify the ARN of the imported model. You can get the model ARN from - a successful call to - [CreateModelImportJob](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html) - or from the Imported models page in the Amazon Bedrock console. - """ - description: str | None = ... - """Specifies a new description of the agent.""" - orchestration_type: str | None = ... - """ - Specifies the type of orchestration strategy for the agent. This is set - to `DEFAULT` orchestration type, by default. - """ - custom_orchestration: CustomOrchestration | None = ... - """Contains details of the custom orchestration configured for the agent.""" - idle_session_ttl_in_seconds: int | None = ... - """ - The number of seconds for which Amazon Bedrock keeps information about a - user's conversation with the agent. - - A user interaction remains active for the amount of time specified. If - no conversation occurs during this time, the session expires and Amazon - Bedrock deletes any data provided before the timeout. - """ - agent_resource_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role with permissions to - invoke API operations on the agent. - """ - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key with which to encrypt the - agent. - """ - prompt_override_configuration: PromptOverrideConfiguration | None = ... - """ - Contains configurations to override prompts in different parts of an - agent sequence. For more information, see [Advanced - prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """ - The unique Guardrail configuration assigned to the agent when it is - updated. - """ - memory_configuration: MemoryConfiguration | None = ... - """Specifies the new memory configuration for the agent.""" - agent_collaboration: str | None = ... - """The agent's collaboration role.""" - -@dataclass(kw_only=True) -class UpdateAgentKnowledgeBaseInput(_SerdeShape): - """Dataclass for UpdateAgentKnowledgeBaseInput structure.""" - - agent_id: str | None = ... - """ - The unique identifier of the agent associated with the knowledge base - that you want to update. - """ - agent_version: str | None = ... - """ - The version of the agent associated with the knowledge base that you - want to update. - """ - knowledge_base_id: str | None = ... - """ - The unique identifier of the knowledge base that has been associated - with an agent. - """ - description: str | None = ... - """ - Specifies a new description for the knowledge base associated with an - agent. - """ - knowledge_base_state: str | None = ... - """ - Specifies whether the agent uses the knowledge base or not when sending - an - [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) - request. - """ - -@dataclass(kw_only=True) -class UpdateAgentKnowledgeBaseOutput(_SerdeShape): - """Dataclass for UpdateAgentKnowledgeBaseOutput structure.""" - - agent_knowledge_base: AgentKnowledgeBase - """ - Contains details about the knowledge base that has been associated with - an agent. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAgentOutput(_SerdeShape): - """Dataclass for UpdateAgentOutput structure.""" - - agent: Agent - """Contains details about the agent that was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDataSourceInput(_SerdeShape): - """Dataclass for UpdateDataSourceInput structure.""" - - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base for the data source.""" - data_source_id: str | None = ... - """The unique identifier of the data source.""" - name: str | None = ... - """Specifies a new name for the data source.""" - description: str | None = ... - """Specifies a new description for the data source.""" - data_source_configuration: DataSourceConfiguration | None = ... - """ - The connection configuration for the data source that you want to - update. - """ - data_deletion_policy: str | None = ... - """The data deletion policy for the data source that you want to update.""" - server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... - """Contains details about server-side encryption of the data source.""" - vector_ingestion_configuration: VectorIngestionConfiguration | None = ... - """Contains details about how to ingest the documents in the data source.""" - -@dataclass(kw_only=True) -class UpdateDataSourceOutput(_SerdeShape): - """Dataclass for UpdateDataSourceOutput structure.""" - - data_source: DataSource - """Contains details about the data source.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFlowAliasInput(_SerdeShape): - """Dataclass for UpdateFlowAliasInput structure.""" - - name: str | None = ... - """The name of the alias.""" - description: str | None = ... - """A description for the alias.""" - routing_configuration: list[FlowAliasRoutingConfigurationListItem] | None = ... - """Contains information about the version to which to map the alias.""" - concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... - """ - The configuration that specifies how nodes in the flow are executed in - parallel. - """ - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - alias_identifier: str | None = ... - """The unique identifier of the alias.""" - -@dataclass(kw_only=True) -class UpdateFlowAliasOutput(_SerdeShape): - """Dataclass for UpdateFlowAliasOutput structure.""" - - name: str - """The name of the alias.""" - description: str | None = ... - """The description of the flow.""" - routing_configuration: list[FlowAliasRoutingConfigurationListItem] - """Contains information about the version that the alias is mapped to.""" - concurrency_configuration: FlowAliasConcurrencyConfiguration | None = ... - """ - The configuration that specifies how nodes in the flow are executed in - parallel. - """ - flow_id: str - """The unique identifier of the flow.""" - id: str - """The unique identifier of the alias.""" - arn: str - """The Amazon Resource Name (ARN) of the flow.""" - created_at: datetime - """The time at which the flow was created.""" - updated_at: datetime - """The time at which the alias was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFlowInput(_SerdeShape): - """Dataclass for UpdateFlowInput structure.""" - - name: str | None = ... - """A name for the flow.""" - description: str | None = ... - """A description for the flow.""" - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the service role with permissions to - create and manage a flow. For more information, see [Create a service - role for flows in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) - in the Amazon Bedrock User Guide. - """ - customer_encryption_key_arn: str | None = ... - """The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.""" - definition: FlowDefinition | None = ... - """ - A definition of the nodes and the connections between the nodes in the - flow. - """ - flow_identifier: str | None = ... - """The unique identifier of the flow.""" - -@dataclass(kw_only=True) -class UpdateFlowOutput(_SerdeShape): - """Dataclass for UpdateFlowOutput structure.""" - - name: str - """The name of the flow.""" - description: str | None = ... - """The description of the flow.""" - execution_role_arn: str - """ - The Amazon Resource Name (ARN) of the service role with permissions to - create a flow. For more information, see [Create a service role for - flows in Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html) - in the Amazon Bedrock User Guide. - """ - customer_encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that the flow was - encrypted with. - """ - id: str - """The unique identifier of the flow.""" - arn: str - """The Amazon Resource Name (ARN) of the flow.""" - status: str - """ - The status of the flow. When you submit this request, the status will be - `NotPrepared`. If updating fails, the status becomes `Failed`. - """ - created_at: datetime - """The time at which the flow was created.""" - updated_at: datetime - """The time at which the flow was last updated.""" - version: str - """ - The version of the flow. When you update a flow, the version updated is - the `DRAFT` version. - """ - definition: FlowDefinition | None = ... - """A definition of the nodes and the connections between nodes in the flow.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateKnowledgeBaseInput(_SerdeShape): - """Dataclass for UpdateKnowledgeBaseInput structure.""" - - knowledge_base_id: str | None = ... - """The unique identifier of the knowledge base to update.""" - name: str | None = ... - """Specifies a new name for the knowledge base.""" - description: str | None = ... - """Specifies a new description for the knowledge base.""" - role_arn: str | None = ... - """ - Specifies a different Amazon Resource Name (ARN) of the IAM role with - permissions to invoke API operations on the knowledge base. - """ - knowledge_base_configuration: KnowledgeBaseConfiguration | None = ... - """ - Specifies the configuration for the embeddings model used for the - knowledge base. You must use the same configuration as when the - knowledge base was created. - """ - storage_configuration: StorageConfiguration | None = ... - """ - Specifies the configuration for the vector store used for the knowledge - base. You must use the same configuration as when the knowledge base was - created. - """ - metadata_configurations: list[MetadataConfiguration] | None = ... - """ - Specifies up to 30 custom metadata field configurations for a managed - knowledge base. - - The list that you specify replaces the existing configurations. The - update removes any configuration that you leave out, and its field is no - longer searchable. An empty list removes all configurations. If you - don't specify a list, the existing configurations don't change. - """ - -@dataclass(kw_only=True) -class UpdateKnowledgeBaseOutput(_SerdeShape): - """Dataclass for UpdateKnowledgeBaseOutput structure.""" - - knowledge_base: KnowledgeBase - """Contains details about the knowledge base.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatePromptInput(_SerdeShape): - """Dataclass for UpdatePromptInput structure.""" - - name: str | None = ... - """A name for the prompt.""" - description: str | None = ... - """A description for the prompt.""" - customer_encryption_key_arn: str | None = ... - """The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.""" - default_variant: str | None = ... - """ - The name of the default variant for the prompt. This value must match - the `name` field in the relevant - [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) - object. - """ - variants: list[PromptVariant] | None = ... - """ - A list of objects, each containing details about a variant of the - prompt. - """ - prompt_identifier: str | None = ... - """The unique identifier of the prompt.""" - -@dataclass(kw_only=True) -class UpdatePromptOutput(_SerdeShape): - """Dataclass for UpdatePromptOutput structure.""" - - name: str - """The name of the prompt.""" - description: str | None = ... - """The description of the prompt.""" - customer_encryption_key_arn: str | None = ... - """The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.""" - default_variant: str | None = ... - """ - The name of the default variant for the prompt. This value must match - the `name` field in the relevant - [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) - object. - """ - variants: list[PromptVariant] | None = ... - """ - A list of objects, each containing details about a variant of the - prompt. - """ - id: str - """The unique identifier of the prompt.""" - arn: str - """The Amazon Resource Name (ARN) of the prompt.""" - version: str - """ - The version of the prompt. When you update a prompt, the version updated - is the `DRAFT` version. - """ - created_at: datetime - """The time at which the prompt was created.""" - updated_at: datetime - """The time at which the prompt was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRetrievalInstructionInput(_SerdeShape): - """Dataclass for UpdateRetrievalInstructionInput structure.""" - - retrieval_instruction_id: str | None = ... - """The identifier of the retrieval instruction to update.""" - instruction: RetrievalInstructionContent | None = ... - """ - The replacement instruction content. This is a full replacement of all - four fields, not a patch. During UPDATING, Get continues to return the - previously-served content until the update review passes. - """ - description: str | None = ... - """ - A replacement description; applied together with the content when the - review passes. Omit to clear. - """ - -@dataclass(kw_only=True) -class UpdateRetrievalInstructionOutput(_SerdeShape): - """Dataclass for UpdateRetrievalInstructionOutput structure.""" - - retrieval_instruction_id: str - """The identifier of the retrieval instruction.""" - retrieval_instruction_arn: str - """The ARN of the retrieval instruction.""" - name: str - """The name of the retrieval instruction.""" - status: str - """ - Whether the instruction can be used. An update never lowers status. - Unchanged from the previous value on this response. - """ - last_transition_status: str - """ - Always UPDATING on this response. Poll GetRetrievalInstruction until - this member is neither CREATING nor UPDATING, then read the outcome from - it. - """ - created_at: datetime - """When you created the retrieval instruction.""" - updated_at: datetime - """When the retrieval instruction was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UrlConfiguration(_SerdeShape): - """ - The configuration of web URLs that you want to crawl. You should be - authorized to crawl the URLs. - """ - - seed_urls: list[SeedUrl] | None = ... - """One or more seed or starting point URLs.""" - -@dataclass(kw_only=True) -class ValidateFlowDefinitionInput(_SerdeShape): - """Dataclass for ValidateFlowDefinitionInput structure.""" - - definition: FlowDefinition | None = ... - """The definition of a flow to validate.""" - -@dataclass(kw_only=True) -class ValidateFlowDefinitionOutput(_SerdeShape): - """Dataclass for ValidateFlowDefinitionOutput structure.""" - - validations: list[FlowValidation] - """ - Contains an array of objects, each of which contains an error identified - by validation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ValidationException(ServiceError, _SerdeShape): - """ - Input validation failed. Check your request parameters and retry the - request. - """ - - field_list: list[ValidationExceptionField] | None = ... - """ - A list of objects containing fields that caused validation errors and - their corresponding validation error messages. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ValidationExceptionField(_SerdeShape): - """ - Stores information about a field passed inside a request that resulted - in an validation error. - """ - - name: str - """The name of the field.""" - message: str - """A message describing why this field failed validation.""" - -@dataclass(kw_only=True) -class VectorIngestionConfiguration(_SerdeShape): - """Contains details about how to ingest the documents in a data source.""" - - chunking_configuration: ChunkingConfiguration | None = ... - """ - Details about how to chunk the documents in the data source. A *chunk* - refers to an excerpt from a data source that is returned when the - knowledge base that it belongs to is queried. - """ - custom_transformation_configuration: CustomTransformationConfiguration | None = ... - """A custom document transformer for parsed data source documents.""" - parsing_configuration: ParsingConfiguration | None = ... - """ - Configurations for a parser to use for parsing documents in your data - source. If you exclude this field, the default parser will be used. - """ - context_enrichment_configuration: ContextEnrichmentConfiguration | None = ... - """ - The context enrichment configuration used for ingestion of the data into - the vector store. - """ - -@dataclass(kw_only=True) -class VectorKnowledgeBaseConfiguration(_SerdeShape): - """ - Contains details about the model used to create vector embeddings for - the knowledge base. - """ - - embedding_model_arn: str - """ - The Amazon Resource Name (ARN) of the model used to create vector - embeddings for the knowledge base. - """ - embedding_model_configuration: EmbeddingModelConfiguration | None = ... - """ - The embeddings model configuration details for the vector model used in - Knowledge Base. - """ - supplemental_data_storage_configuration: ( - SupplementalDataStorageConfiguration | None - ) = ... - """ - If you include multimodal data from your data source, use this object to - specify configurations for the storage location of the images extracted - from your documents. These images can be retrieved and returned to the - end user. They can also be used in generation when using - [RetrieveAndGenerate](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html). - """ - -@dataclass(kw_only=True) -class VectorSearchBedrockRerankingConfiguration(_SerdeShape): - """ - Configures the Amazon Bedrock reranker model to improve the relevance of - retrieved results. - """ - - model_configuration: VectorSearchBedrockRerankingModelConfiguration - """Specifies the configuration for the Amazon Bedrock reranker model.""" - number_of_reranked_results: int | None = ... - """Specifies the number of results to return after reranking.""" - metadata_configuration: MetadataConfigurationForReranking | None = ... - """ - Specifies how metadata fields should be handled during the reranking - process. - """ - -@dataclass(kw_only=True) -class VectorSearchBedrockRerankingModelConfiguration(_SerdeShape): - """ - Configures the Amazon Bedrock model used for reranking retrieved - results. - """ - - model_arn: str - """The Amazon Resource Name (ARN) of the Amazon Bedrock reranker model.""" - additional_model_request_fields: dict[str, Document] | None = ... - """ - Specifies additional model-specific request parameters as key-value - pairs that are included in the request to the Amazon Bedrock reranker - model. - """ - -@dataclass(kw_only=True) -class VectorSearchRerankingConfiguration(_SerdeShape): - """ - Specifies how retrieved results from a knowledge base are reranked to - improve relevance. - """ - - type: str - """ - Specifies the type of reranking model to use. Currently, the only - supported value is `BEDROCK_RERANKING_MODEL`. - """ - bedrock_reranking_configuration: ( - VectorSearchBedrockRerankingConfiguration | None - ) = ... - """ - Specifies the configuration for using an Amazon Bedrock reranker model - to rerank retrieved results. - """ - -class VectorSearchRerankingConfigurationType(UnknownEnumMixin, StrEnum): - BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" - -@dataclass(kw_only=True) -class VideoConfiguration(_SerdeShape): - """ - Configuration settings for processing video content in multimodal - knowledge bases. - """ - - segmentation_configuration: VideoSegmentationConfiguration - """Configuration for segmenting video content during processing.""" - -@dataclass(kw_only=True) -class VideoExtractionConfiguration(_SerdeShape): - """Configuration for video extraction.""" - - video_extraction_status: str - """Whether video extraction is enabled or disabled.""" - -@dataclass(kw_only=True) -class VideoSegmentationConfiguration(_SerdeShape): - """ - Configuration for segmenting video content during multimodal knowledge - base ingestion. Determines how video files are divided into chunks for - processing. - """ - - fixed_length_duration: int - """ - The duration in seconds for each video segment. Video files will be - divided into chunks of this length for processing. - """ - -@dataclass(kw_only=True) -class VpcConfiguration(_SerdeShape): - """ - Contains the details of a VPC configuration, including its connection - settings, resolution mode, and current lifecycle status. - """ - - vpc_configuration_id: str - """The unique identifier of the VPC configuration.""" - status: str - """The current lifecycle status of the VPC configuration.""" - status_message: str | None = ... - """ - Additional detail about the current status, such as the cause of a - `CREATE_FAILED` or `DELETE_FAILED` status. - """ - vpc_id: str - """ - The identifier of the VPC that the knowledge base connects through to - reach the resource. - """ - subnet_ids: list[str] - """The subnets that the knowledge base uses to connect to the resource.""" - resource_target: str - """The private IPv4 address or DNS name of the resource.""" - port: int - """The port on which the resource is reached.""" - protocol: str - """The protocol used to connect to the resource.""" - resolution_mode: str - """Specifies how the resource target is resolved.""" - host_header: str | None = ... - """ - The HTTP `Host` header value sent when invoking the resource, if - configured. - """ - tls_server_name: str | None = ... - """ - The expected TLS server name that the service matches against the - Subject Alternative Names on the resource's TLS certificate. Present - when `protocol` is `HTTPS`. - """ - name: str | None = ... - """The human-readable name of the VPC configuration, if provided.""" - description: str | None = ... - """The description of the VPC configuration, if provided.""" - created_at: datetime - """The time at which the VPC configuration was created.""" - updated_at: datetime - """The time at which the VPC configuration was last updated.""" - -class VpcConfigurationStatus(UnknownEnumMixin, StrEnum): - """ - The lifecycle status of a VPC configuration. Valid values: - - - `CREATING` -- The configuration is being created. - - - `CREATED` -- The configuration is ready to use. - - - `DELETING` -- The configuration is being deleted. - - - `CREATE_FAILED` -- Creation failed. See `statusMessage` for the cause. - - - `DELETE_FAILED` -- Deletion failed. See `statusMessage` for the cause. - """ - - CREATING = "CREATING" - CREATED = "CREATED" - DELETING = "DELETING" - CREATE_FAILED = "CREATE_FAILED" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class VpcConfigurationSummary(_SerdeShape): - """A summary of a VPC configuration returned by `ListVpcConfigurations`.""" - - vpc_configuration_id: str - """The unique identifier of the VPC configuration.""" - status: str - """The current lifecycle status of the VPC configuration.""" - status_message: str | None = ... - """ - Additional detail about the current status, such as the cause of a - failure. - """ - vpc_id: str - """ - The identifier of the VPC that the knowledge base connects through to - reach the resource. - """ - resource_target: str - """The private IPv4 address or DNS name of the resource.""" - port: int - """The port on which the resource is reached.""" - protocol: str - """The protocol used to connect to the resource.""" - resolution_mode: str - """Specifies how the resource target is resolved.""" - host_header: str | None = ... - """ - The HTTP `Host` header value sent when invoking the resource, if - configured. - """ - tls_server_name: str | None = ... - """ - The expected TLS server name that the service matches against the - Subject Alternative Names on the resource's TLS certificate. Present - when `protocol` is `HTTPS`. - """ - name: str | None = ... - """The human-readable name of the VPC configuration, if provided.""" - description: str | None = ... - """The description of the VPC configuration, if provided.""" - created_at: datetime - """The time at which the VPC configuration was created.""" - -class VpcProtocol(UnknownEnumMixin, StrEnum): - """ - The protocol used to connect to the resource. Valid values: - - - `HTTP` -- Connect over plaintext HTTP. - - - `HTTPS` -- Connect over TLS. - """ - - HTTP = "HTTP" - HTTPS = "HTTPS" - -class VpcResolutionMode(UnknownEnumMixin, StrEnum): - """ - Controls how a domain-name resource target is resolved. This applies - only when the target is a domain name; it has no effect for IP-address - targets. In all cases the resolved address must be reachable from inside - the VPC. Valid values: - - - `IN_VPC` (default, recommended) -- The target domain name is resolved - privately, using the DNS resolvers of the VPC. - - - `PUBLIC` -- The target domain name is resolved against public DNS - resolvers, for the uncommon case where the name must resolve through - public DNS but the resulting address remains reachable from the VPC. - """ - - PUBLIC = "PUBLIC" - IN_VPC = "IN_VPC" - -@dataclass(kw_only=True) -class WebCrawlerConfiguration(_SerdeShape): - """ - The configuration of web URLs that you want to crawl. You should be - authorized to crawl the URLs. - """ - - crawler_limits: WebCrawlerLimits | None = ... - """The configuration of crawl limits for the web URLs.""" - inclusion_filters: list[str] | None = ... - """ - A list of one or more inclusion regular expression patterns to include - certain URLs. If you specify an inclusion and exclusion filter/pattern - and both match a URL, the exclusion filter takes precedence and the web - content of the URL isn't crawled. - """ - exclusion_filters: list[str] | None = ... - """ - A list of one or more exclusion regular expression patterns to exclude - certain URLs. If you specify an inclusion and exclusion filter/pattern - and both match a URL, the exclusion filter takes precedence and the web - content of the URL isn't crawled. - """ - scope: str | None = ... - """ - The scope of what is crawled for your URLs. - - You can choose to crawl only web pages that belong to the same host or - primary domain. For example, only web pages that contain the seed URL - \"https://docs.aws.amazon.com/bedrock/latest/userguide/\" and no other - domains. You can choose to include sub domains in addition to the host - or primary domain. For example, web pages that contain - \"aws.amazon.com\" can also include sub domain \"docs.aws.amazon.com\". - """ - user_agent: str | None = ... - """Returns the user agent suffix for your web crawler.""" - user_agent_header: str | None = ... - """ - A string used for identifying the crawler or bot when it accesses a web - server. The user agent header value consists of the `bedrockbot`, UUID, - and a user agent suffix for your crawler (if one is provided). By - default, it is set to `bedrockbot_UUID`. You can optionally append a - custom suffix to `bedrockbot_UUID` to allowlist a specific user agent - permitted to access your source URLs. - """ - -@dataclass(kw_only=True) -class WebCrawlerLimits(_SerdeShape): - """ - The rate limits for the URLs that you want to crawl. You should be - authorized to crawl the URLs. - """ - - rate_limit: int | None = ... - """The max rate at which pages are crawled, up to 300 per minute per host.""" - max_pages: int | None = ... - """ - The max number of web pages crawled from your source URLs, up to 25,000 - pages. If the web pages exceed this limit, the data source sync will - fail and no web pages will be ingested. - """ - -@dataclass(kw_only=True) -class WebDataSourceConfiguration(_SerdeShape): - """The configuration details for the web data source.""" - - source_configuration: WebSourceConfiguration - """The source configuration details for the web data source.""" - crawler_configuration: WebCrawlerConfiguration | None = ... - """The Web Crawler configuration details for the web data source.""" - -class WebScopeType(UnknownEnumMixin, StrEnum): - HOST_ONLY = "HOST_ONLY" - SUBDOMAINS = "SUBDOMAINS" - -@dataclass(kw_only=True) -class WebSourceConfiguration(_SerdeShape): - """ - The configuration of the URL/URLs for the web content that you want to - crawl. You should be authorized to crawl the URLs. - """ - - url_configuration: UrlConfiguration - """The configuration of the URL/URLs.""" - -@dataclass(kw_only=True) -class WeeklySchedule(_SerdeShape): - """A weekly sync on a specified day of the week.""" - - day_of_week: str - """The day of the week on which the weekly sync runs.""" - ASSOCIATE_AGENT_COLLABORATOR: APIOperation[ AssociateAgentCollaboratorInput, AssociateAgentCollaboratorOutput ] diff --git a/clients/aws-sdk-bedrock-agent/tests/test_endpoints.py b/clients/aws-sdk-bedrock-agent/tests/test_endpoints.py index 19bb57872..8982d9018 100644 --- a/clients/aws-sdk-bedrock-agent/tests/test_endpoints.py +++ b/clients/aws-sdk-bedrock-agent/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-bedrock-agentcore-control/pyproject.toml b/clients/aws-sdk-bedrock-agentcore-control/pyproject.toml index a9b66696d..fe5dc0753 100644 --- a/clients/aws-sdk-bedrock-agentcore-control/pyproject.toml +++ b/clients/aws-sdk-bedrock-agentcore-control/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_bedrock_agentcore_control" version = "0.12.0" -description = "aws_sdk_bedrock_agentcore_control client" +description = "Python client for Amazon Bedrock AgentCore Control" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_bedrock_agentcore_control"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_0.pyi b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_0.pyi new file mode 100644 index 000000000..f3223ed32 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_0.pyi @@ -0,0 +1,6169 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + Descriptors, + DomainOverride, + Ec2Configuration, + EpisodicConsolidationOverride, + EpisodicExtractionOverride, + EpisodicOverrideConfigurationInput, + EpisodicOverrideConsolidationConfigurationInput, + EpisodicOverrideExtractionConfigurationInput, + EpisodicOverrideReflectionConfigurationInput, + EpisodicReflectionOverride, + EvaluatorConfig, + EvaluatorReference, + FilesystemConfiguration, + GatewayApiKeyCredentialProvider, + GatewayInterceptorConfiguration, + GatewayPolicyEngineConfiguration, + GatewayProtocolConfiguration, + GatewayRateLimitDetail, + Harness, + HarnessEndpoint, + HarnessEnvironmentArtifact, + HarnessEnvironmentProviderRequest, + HarnessHook, + HarnessMemoryConfiguration, + HarnessModelConfiguration, + HarnessSkill, + HarnessSystemContentBlock, + HarnessTool, + HarnessTruncationConfiguration, + HostingEnvironment, + IamCredentialProvider, + IndexedKey, + InferenceConfiguration, + InlineExamplesSource, + Insight, + LambdaEvaluatorConfig, + LambdaTransformConfiguration, + LifecycleConfiguration, + LifecycleHook, + LimitEntry, + ManagedResourceDetails, + MatchModels, + MatchPaths, + MatchPrincipals, + Memory, + MemoryRecordSchema, + MemoryStrategyInput, + MetadataConfiguration, + NamespaceKeyEntry, + NetworkConfiguration, + OAuth2AuthorizationData, + OAuthCredentialProvider, + Oauth2Discovery, + Oauth2ProviderConfigInput, + Oauth2ProviderConfigOutput, + OnBehalfOfTokenExchangeConfigType, + OutputConfig, + PaymentCredentialProviderConfiguration, + PaymentProviderConfigurationInput, + PaymentProviderConfigurationOutput, + PermissionsConfiguration, + PolicyDefinition, + PortRange, + PrivateEndpoint, + PrivateEndpointOverride, + PrivateKeyJwtConfig, + ProtocolConfiguration, + RecordExpirySpecification, + RecordingConfig, + RequestHeaderConfiguration, + ResourceConfiguration, + ResourceLocation, + RouteToTargetAction, + Rule, + RuntimeHooksConfiguration, + S3CertificateConfiguration, + S3Configuration, + S3Location, + S3Source, + Secret, + SecretReference, + SecretsManagerCertificateConfiguration, + SecretsManagerLocation, + SelfManagedConfigurationInput, + SemanticConsolidationOverride, + SemanticExtractionOverride, + SemanticOverrideConfigurationInput, + SemanticOverrideConsolidationConfigurationInput, + SemanticOverrideExtractionConfigurationInput, + ServiceError, + SkillDefinition, + SkillMdDefinition, + StaticOverride, + StreamDeliveryResources, + SummaryConsolidationOverride, + SummaryOverrideConfigurationInput, + SummaryOverrideConsolidationConfigurationInput, + SynchronizationConfiguration, + SystemManagedBlock, + TargetConfiguration, + ToolsFileSystemConfiguration, + UserPreferenceConsolidationOverride, + UserPreferenceExtractionOverride, + UserPreferenceOverrideConfigurationInput, + UserPreferenceOverrideConsolidationConfigurationInput, + UserPreferenceOverrideExtractionConfigurationInput, + VersionCreatedBySource, + VersionLineageMetadata, + VpcConfig, + WafConfiguration, + WeightedOverride, + WorkloadIdentityDetails, + _SerdeShape, +) + +@dataclass(kw_only=True) +class A2aDescriptor(_SerdeShape): + """ + The Agent-to-Agent (A2A) protocol descriptor for a registry record. + Contains the agent card definition as defined by the A2A protocol + specification. + """ + + agent_card: AgentCardDefinition | None = ... + """ + The agent card definition for the A2A agent, as defined by the A2A + protocol specification. + """ + +@dataclass(kw_only=True) +class AccessDeniedException(ServiceError, _SerdeShape): + """This exception is thrown when a request is denied per access permissions""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ActionConfigurationBundle(_SerdeShape): + """An action that applies a configuration bundle override to the request.""" + + value: ConfigurationBundleAction + +@dataclass +class ActionRouteToTarget(_SerdeShape): + """An action that routes the request to a specific target.""" + + value: RouteToTargetAction + +@dataclass +class ActionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Action = Union[ActionConfigurationBundle | ActionRouteToTarget | ActionUnknown] +"""An action to take when a gateway rule's conditions are met.""" + +class _ActionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Action: ... + +class ActorTokenContentType(UnknownEnumMixin, StrEnum): + NONE = "NONE" + M2_M = "M2M" + AWS_IAM_ID_TOKEN_JWT = "AWS_IAM_ID_TOKEN_JWT" + +@dataclass(kw_only=True) +class AddDatasetExamplesInput(_SerdeShape): + """Dataclass for AddDatasetExamplesInput structure.""" + + dataset_id: str | None = ... + """The unique identifier of the dataset to add examples to.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + source: DataSourceType | None = ... + """ + Source of examples to add. Provide either inline examples or an S3 URI + pointing to a JSONL file. + """ + +@dataclass(kw_only=True) +class AddDatasetExamplesOutput(_SerdeShape): + """Dataclass for AddDatasetExamplesOutput structure.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the dataset.""" + dataset_id: str + """The unique identifier of the dataset.""" + status: str + """The current status of the dataset.""" + added_count: int + """The number of examples added.""" + updated_at: datetime + """The timestamp when the examples were added.""" + example_ids: list[str] + """IDs of all added examples (auto-generated UUIDs).""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AgentCardDefinition(_SerdeShape): + """ + The agent card definition for an A2A descriptor. Contains the schema + version and inline content for the agent card. + """ + + schema_version: str | None = ... + """ + The schema version of the agent card based on the A2A protocol + specification. + """ + inline_content: str | None = ... + """ + The JSON content containing the A2A agent card definition, conforming to + the A2A protocol specification. + """ + +class AgentManagedRuntimeType(UnknownEnumMixin, StrEnum): + PYTHON_3_10 = "PYTHON_3_10" + PYTHON_3_11 = "PYTHON_3_11" + PYTHON_3_12 = "PYTHON_3_12" + PYTHON_3_13 = "PYTHON_3_13" + PYTHON_3_14 = "PYTHON_3_14" + NODE_22 = "NODE_22" + +@dataclass(kw_only=True) +class AgentRuntime(_SerdeShape): + """ + Contains information about an agent runtime. An agent runtime is the + execution environment for a Amazon Bedrock AgentCore Agent. + """ + + agent_runtime_arn: str + """The Amazon Resource Name (ARN) of the agent runtime.""" + agent_runtime_id: str + """The unique identifier of the agent runtime.""" + agent_runtime_version: str + """The version of the agent runtime.""" + agent_runtime_name: str + """The name of the agent runtime.""" + description: str + """The description of the agent runtime.""" + last_updated_at: datetime + """The timestamp when the agent runtime was last updated.""" + status: str + """The current status of the agent runtime.""" + +@dataclass +class AgentRuntimeArtifactContainerConfiguration(_SerdeShape): + """The container configuration for the agent artifact.""" + + value: ContainerConfiguration + +@dataclass +class AgentRuntimeArtifactCodeConfiguration(_SerdeShape): + """ + The code configuration for the agent runtime artifact, including the + source code location and execution settings. + """ + + value: CodeConfiguration + +@dataclass +class AgentRuntimeArtifactUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AgentRuntimeArtifact = Union[ + AgentRuntimeArtifactContainerConfiguration + | AgentRuntimeArtifactCodeConfiguration + | AgentRuntimeArtifactUnknown +] +"""The artifact of the agent.""" + +class _AgentRuntimeArtifactDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> AgentRuntimeArtifact: ... + +@dataclass(kw_only=True) +class AgentRuntimeEndpoint(_SerdeShape): + """ + Contains information about an agent runtime endpoint. An endpoint + provides a way to connect to and interact with an agent runtime. + """ + + name: str + """The name of the agent runtime endpoint.""" + live_version: str | None = ... + """ + The live version of the agent runtime endpoint. This is the version that + is currently serving requests. + """ + target_version: str | None = ... + """ + The target version of the agent runtime endpoint. This is the version + that the endpoint is being updated to. + """ + agent_runtime_endpoint_arn: str + """The Amazon Resource Name (ARN) of the agent runtime endpoint.""" + agent_runtime_arn: str + """ + The Amazon Resource Name (ARN) of the agent runtime associated with the + endpoint. + """ + status: str + """The current status of the agent runtime endpoint.""" + id: str + """The unique identifier of the agent runtime endpoint.""" + description: str | None = ... + """The description of the agent runtime endpoint.""" + created_at: datetime + """The timestamp when the agent runtime endpoint was created.""" + last_updated_at: datetime + """The timestamp when the agent runtime endpoint was last updated.""" + +class AgentRuntimeEndpointStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + READY = "READY" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + +class AgentRuntimeStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + READY = "READY" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class AgentRuntimeVersionSummary(_SerdeShape): + """ + Summary information about an agent runtime version associated with a + capacity provider. This is returned by + `ListAgentRuntimeVersionsByCapacityProvider`. + """ + + agent_runtime_arn: str + """The Amazon Resource Name (ARN) of the agent runtime.""" + agent_runtime_version: str + """The version of the agent runtime.""" + status: str + """The current status of the agent runtime version.""" + +@dataclass(kw_only=True) +class AgentSkillsDescriptor(_SerdeShape): + """ + The agent skills descriptor for a registry record. Contains an optional + skill markdown definition in human-readable format and an optional + structured skill definition. + """ + + skill_md: SkillMdDefinition | None = ... + """ + The optional skill markdown definition describing the agent's skills in + a human-readable format. + """ + skill_definition: SkillDefinition | None = ... + """The structured skill definition with schema version and content.""" + +@dataclass +class AllowedPortPort(_SerdeShape): + """A single port that is reachable through the runtime's session URL.""" + + value: int + +@dataclass +class AllowedPortPortRange(_SerdeShape): + """ + An inclusive range of ports that are reachable through the runtime's + session URL. + """ + + value: PortRange + +@dataclass +class AllowedPortUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AllowedPort = Union[AllowedPortPort | AllowedPortPortRange | AllowedPortUnknown] +""" +A port or port range that is reachable through the runtime's session +URL. Specify exactly one of `port` or `portRange`. +""" + +class _AllowedPortDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> AllowedPort: ... + +@dataclass(kw_only=True) +class AllowedWorkloadConfiguration(_SerdeShape): + """ + The configuration that restricts which workloads in the request's + identity chain are allowed to invoke the target, identified by their + hosting environments and workload identities. At launch, this is + supported only for AgentCore Runtime targets, and the allowed workloads + are AgentCore Gateways. + """ + + hosting_environments: list[HostingEnvironment] | None = ... + """ + The list of hosting environments whose workloads are allowed to invoke + the target. At launch, the only supported hosting environment is + AgentCore Gateway. + """ + workload_identities: list[str] | None = ... + """The list of workload identities that are allowed to invoke the target.""" + +@dataclass(kw_only=True) +class ApiGatewayTargetConfiguration(_SerdeShape): + """The configuration for an Amazon API Gateway target.""" + + rest_api_id: str + """The ID of the API Gateway REST API.""" + stage: str + """The ID of the stage of the REST API to add as a target.""" + api_gateway_tool_configuration: ApiGatewayToolConfiguration + """ + The configuration for defining REST API tool filters and overrides for + the gateway target. + """ + +@dataclass(kw_only=True) +class ApiGatewayToolConfiguration(_SerdeShape): + """ + The configuration for defining REST API tool filters and overrides for + the gateway target. + """ + + tool_overrides: list[ApiGatewayToolOverride] | None = ... + """ + A list of explicit tool definitions with optional custom names and + descriptions. + """ + tool_filters: list[ApiGatewayToolFilter] + """ + A list of path and method patterns to expose as tools using metadata + from the REST API's OpenAPI specification. + """ + +@dataclass(kw_only=True) +class ApiGatewayToolFilter(_SerdeShape): + """ + Specifies which operations from an API Gateway REST API are exposed as + tools. Tool names and descriptions are derived from the operationId and + description fields in the API's exported OpenAPI specification. + """ + + filter_path: str + """ + Resource path to match in the REST API. Supports exact paths (for + example, `/pets`) or wildcard paths (for example, `/pets/*` to match all + paths under `/pets`). Must match existing paths in the REST API. + """ + methods: list[str] + """The methods to filter for.""" + +@dataclass(kw_only=True) +class ApiGatewayToolOverride(_SerdeShape): + """Settings to override configurations for a tool.""" + + name: str + """The name of tool. Identifies the tool in the Model Context Protocol.""" + description: str | None = ... + """ + The description of the tool. Provides information about the purpose and + usage of the tool. If not provided, uses the description from the API's + OpenAPI specification. + """ + path: str + """ + Resource path in the REST API (e.g., `/pets`). Must explicitly match an + existing path in the REST API. + """ + method: str + """The HTTP method to expose for the specified path.""" + +class ApiKeyCredentialLocation(UnknownEnumMixin, StrEnum): + HEADER = "HEADER" + QUERY_PARAMETER = "QUERY_PARAMETER" + +@dataclass(kw_only=True) +class ApiKeyCredentialProviderItem(_SerdeShape): + """Contains information about an API key credential provider.""" + + name: str + """The name of the API key credential provider.""" + credential_provider_arn: str + """The Amazon Resource Name (ARN) of the API key credential provider.""" + created_time: datetime + """The timestamp when the API key credential provider was created.""" + last_updated_time: datetime + """The timestamp when the API key credential provider was last updated.""" + +@dataclass +class ApiSchemaConfigurationS3(_SerdeShape): + """ + The Amazon S3 configuration for a gateway. This structure defines how + the gateway accesses files in Amazon S3. + """ + + value: S3Configuration + +@dataclass +class ApiSchemaConfigurationInlinePayload(_SerdeShape): + """The inline payload containing the API schema definition.""" + + value: str + +@dataclass +class ApiSchemaConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ApiSchemaConfiguration = Union[ + ApiSchemaConfigurationS3 + | ApiSchemaConfigurationInlinePayload + | ApiSchemaConfigurationUnknown +] +"""Configuration for API schema.""" + +class _ApiSchemaConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ApiSchemaConfiguration: ... + +@dataclass(kw_only=True) +class ApprovalConfiguration(_SerdeShape): + """ + Configuration for the registry record approval workflow. Controls + whether records added to the registry require explicit approval before + becoming active. + """ + + auto_approval: bool = ... + """ + Whether registry records are auto-approved. When set to `true`, records + are automatically approved upon creation. When set to `false` (the + default), records require explicit approval for security purposes. + """ + +@dataclass(kw_only=True) +class AtlassianOauth2ProviderConfigInput(_SerdeShape): + """ + Configuration settings for connecting to Atlassian services using OAuth2 + authentication. This includes the client credentials required to + authenticate with Atlassian's OAuth2 authorization server. + """ + + client_id: str + """ + The client ID for the Atlassian OAuth2 provider. This identifier is + assigned by Atlassian when you register your application. + """ + client_secret: str = ... + """ + The client secret for the Atlassian OAuth2 provider. This secret is + assigned by Atlassian and used along with the client ID to authenticate + your application. + """ + client_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the client secret. This includes the secret ID and the JSON key + used to extract the client secret value from the secret. Required when + `clientSecretSource` is set to `EXTERNAL`. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret for the Atlassian OAuth2 provider. + Use `MANAGED` if the secret is managed by the service, or `EXTERNAL` if + you manage the secret yourself in Amazon Web Services Secrets Manager. + """ + +@dataclass(kw_only=True) +class AtlassianOauth2ProviderConfigOutput(_SerdeShape): + """ + The configuration details returned for an Atlassian OAuth2 provider, + including the client ID and OAuth2 discovery information. + """ + + oauth_discovery: Oauth2Discovery + """Contains the discovery information for an OAuth2 provider.""" + client_id: str | None = ... + """The client ID for the Atlassian OAuth2 provider.""" + +@dataclass +class AuthorizationDataOauth2(_SerdeShape): + """OAuth2 authorization data for the gateway target.""" + + value: OAuth2AuthorizationData + +@dataclass +class AuthorizationDataUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AuthorizationData = Union[AuthorizationDataOauth2 | AuthorizationDataUnknown] +""" +Contains the authorization data that is returned when a gateway target +is configured with a credential provider with authorization code grant +type and requires user federation. +""" + +class _AuthorizationDataDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> AuthorizationData: ... + +@dataclass +class AuthorizerConfigurationCustomJWTAuthorizer(_SerdeShape): + """ + The inbound JWT-based authorization, specifying how incoming requests + should be authenticated. + """ + + value: CustomJWTAuthorizerConfiguration + +@dataclass +class AuthorizerConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AuthorizerConfiguration = Union[ + AuthorizerConfigurationCustomJWTAuthorizer | AuthorizerConfigurationUnknown +] +""" +Represents inbound authorization configuration options used to +authenticate incoming requests. +""" + +class _AuthorizerConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AuthorizerConfiguration: ... + +class AuthorizerType(UnknownEnumMixin, StrEnum): + CUSTOM_JWT = "CUSTOM_JWT" + AWS_IAM = "AWS_IAM" + NONE = "NONE" + AUTHENTICATE_ONLY = "AUTHENTICATE_ONLY" + +@dataclass(kw_only=True) +class AuthorizingClaimMatchValueType(_SerdeShape): + """ + Defines the value or values to match for and the relationship of the + match. + """ + + claim_match_value: ClaimMatchValueType + """The value or values to match for.""" + claim_match_operator: str + """ + Defines the relationship between the claim field value and the value or + values you're matching for. + """ + +@dataclass(kw_only=True) +class BatchPutGatewayRateLimitsInput(_SerdeShape): + """Dataclass for BatchPutGatewayRateLimitsInput structure.""" + + gateway_identifier: str | None = ... + """The unique identifier of the gateway.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + rate_limits: list[BatchPutLimitEntry] | None = ... + """ + The complete set of rate limits for this gateway. This operation + replaces all existing rate limits in a single request. If the operation + fails, no rate limits are changed. + """ + +@dataclass(kw_only=True) +class BatchPutGatewayRateLimitsOutput(_SerdeShape): + """Dataclass for BatchPutGatewayRateLimitsOutput structure.""" + + rate_limits: list[GatewayRateLimitDetail] + """The resulting set of rate limits after the batch operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BatchPutLimitEntry(_SerdeShape): + """ + A rate limit definition within a batch put request. If you provide a + `rateLimitId`, the service uses it for upsert matching against existing + rate limits. + """ + + rate_limit_id: str | None = ... + """ + The unique identifier of the rate limit. If provided, the service uses + it for upsert matching against existing rate limits. + """ + description: str | None = ... + """ + An optional human-readable description for this rate limit. If not + provided, the rate limit is created without a description. + """ + dimension_keys: list[str] + """ + The ordered list of dimension key names that define the scope of this + rate limit. + """ + entries: list[LimitEntry] + """ + The list of rule entries that map dimension values to rate + configurations. + """ + +@dataclass(kw_only=True) +class BedrockEvaluatorModelConfig(_SerdeShape): + """ + The configuration for using Amazon Bedrock models in evaluator + assessments, including model selection and inference parameters. + """ + + model_id: str + """ + The identifier of the Amazon Bedrock model to use for evaluation. Must + be a supported foundation model available in your region. + """ + inference_config: InferenceConfiguration | None = ... + """ + The inference configuration parameters that control model behavior + during evaluation, including temperature, token limits, and sampling + settings. + """ + additional_model_request_fields: Document | None = ... + """ + Additional model-specific request fields to customize model behavior + beyond the standard inference configuration. + """ + +@dataclass(kw_only=True) +class BrowserEnterprisePolicy(_SerdeShape): + """Browser enterprise policy configuration.""" + + location: ResourceLocation + """The location of the enterprise policy file.""" + type: str | None = ... + """ + The type of browser enterprise policy. Available values are `MANAGED` + and `RECOMMENDED`. + """ + +class BrowserEnterprisePolicyType(UnknownEnumMixin, StrEnum): + MANAGED = "MANAGED" + RECOMMENDED = "RECOMMENDED" + +@dataclass(kw_only=True) +class BrowserNetworkConfiguration(_SerdeShape): + """ + The network configuration for a browser. This structure defines how the + browser connects to the network. + """ + + network_mode: str = ... + """ + The network mode for the browser. This field specifies how the browser + connects to the network. + """ + vpc_config: VpcConfig | None = ... + """ + The VPC configuration for the browser. This configuration is required + when the network mode is set to `VPC`. + """ + +class BrowserNetworkMode(UnknownEnumMixin, StrEnum): + PUBLIC = "PUBLIC" + VPC = "VPC" + +class BrowserProfileStatus(UnknownEnumMixin, StrEnum): + """The status of a browser profile.""" + + READY = "READY" + DELETING = "DELETING" + DELETED = "DELETED" + SAVING = "SAVING" + +@dataclass(kw_only=True) +class BrowserProfileSummary(_SerdeShape): + """ + Contains summary information about a browser profile. A browser profile + stores persistent browser data that can be reused across browser + sessions. + """ + + profile_id: str + """The unique identifier of the browser profile.""" + profile_arn: str + """The Amazon Resource Name (ARN) of the browser profile.""" + name: str + """The name of the browser profile.""" + description: str | None = ... + """The description of the browser profile.""" + status: str + """ + The current status of the browser profile. Possible values include + READY, SAVING, DELETING, and DELETED. + """ + created_at: datetime + """The timestamp when the browser profile was created.""" + last_updated_at: datetime + """The timestamp when the browser profile was last updated.""" + last_saved_at: datetime | None = ... + """The timestamp when browser session data was last saved to this profile.""" + last_saved_browser_session_id: str | None = ... + """ + The identifier of the browser session from which data was last saved to + this profile. + """ + last_saved_browser_id: str | None = ... + """ + The identifier of the browser from which data was last saved to this + profile. + """ + +@dataclass(kw_only=True) +class BrowserSigningConfigInput(_SerdeShape): + """ + Configuration for enabling browser signing capabilities that allow + agents to cryptographically identify themselves to websites using HTTP + message signatures. + """ + + enabled: bool = ... + """ + Specifies whether browser signing is enabled. When enabled, the browser + will cryptographically sign HTTP requests to identify itself as an AI + agent to bot control vendors. + """ + +@dataclass(kw_only=True) +class BrowserSigningConfigOutput(_SerdeShape): + """ + The current browser signing configuration that shows whether + cryptographic agent identification is enabled for web bot + authentication. + """ + + enabled: bool = ... + """ + Indicates whether browser signing is currently enabled for cryptographic + agent identification using HTTP message signatures. + """ + +class BrowserStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + READY = "READY" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + DELETED = "DELETED" + +@dataclass(kw_only=True) +class BrowserSummary(_SerdeShape): + """ + Contains summary information about a browser. A browser enables Amazon + Bedrock AgentCore Agent to interact with web content. + """ + + browser_id: str + """The unique identifier of the browser.""" + browser_arn: str + """The Amazon Resource Name (ARN) of the browser.""" + name: str | None = ... + """The name of the browser.""" + description: str | None = ... + """The description of the browser.""" + status: str + """The current status of the browser.""" + created_at: datetime + """The timestamp when the browser was created.""" + last_updated_at: datetime | None = ... + """The timestamp when the browser was last updated.""" + +@dataclass(kw_only=True) +class BuildLifecycleHooks(_SerdeShape): + """ + The lifecycle hooks that run when you create or update the AgentCore + Runtime, before any sessions are created. + """ + + warmup: LifecycleHook | None = ... + """ + The hook that warms up your agent before any sessions are created. Use + this hook to load the resources that your sessions need, such as models, + libraries, or caches. Your hook must complete within 120 seconds. + """ + +@dataclass(kw_only=True) +class CapacityProviderConfiguration(_SerdeShape): + """ + Configuration for customer-managed compute capacity for the AgentCore + Runtime. A capacity provider runs the AgentCore Runtime on the Instances + compute type, using Amazon Web Services managed compute in your account. + """ + + capacity_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the capacity provider to use for the + AgentCore Runtime. + """ + +class CapacityProviderStatus(UnknownEnumMixin, StrEnum): + """ + The status of a capacity provider. Possible values: + + - `CREATING` -- The service is creating the capacity provider and + validating its configuration. + + - `CREATE_FAILED` -- The service could not create the capacity provider. + For details, see `statusCode` and `statusReason`. + + - `UPDATING` -- The service is updating the capacity provider. + + - `UPDATE_FAILED` -- The service could not update the capacity provider. + For details, see `statusCode` and `statusReason`. + + - `READY` -- The capacity provider is available for use. + + - `DELETING` -- The service is deleting the capacity provider. + + - `DELETE_FAILED` -- The service could not delete the capacity provider. + You can retry the deletion. + """ + + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + READY = "READY" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + +class CapacityProviderStatusCode(UnknownEnumMixin, StrEnum): + """ + A reason code for a capacity provider that is not in the `READY` state. + Possible values: + + - `VALIDATION_ERROR` -- A configuration error prevented the operation. + For example, missing permissions, invalid parameters, or a naming + conflict. + + - `QUOTA_EXCEEDED` -- An Amazon EC2 resource quota was exceeded. Request + a limit increase or remove unused resources. + + - `THROTTLED` -- The request was throttled. Retry after a short delay. + + - `INTERNAL_SERVER_EXCEPTION` -- An internal error occurred. + """ + + VALIDATION_ERROR = "VALIDATION_ERROR" + QUOTA_EXCEEDED = "QUOTA_EXCEEDED" + THROTTLED = "THROTTLED" + INTERNAL_SERVER_EXCEPTION = "INTERNAL_SERVER_EXCEPTION" + +@dataclass(kw_only=True) +class CapacityProviderSummary(_SerdeShape): + """ + A summary of a capacity provider, as returned by + `ListCapacityProviders`. Each summary includes the capacity provider + identifier, Amazon Resource Name (ARN), name, status, and last-updated + timestamp. + """ + + capacity_provider_id: str + """The unique identifier of the capacity provider.""" + capacity_provider_arn: str + """The Amazon Resource Name (ARN) of the capacity provider.""" + name: str + """The name of the capacity provider.""" + status: str + """ + The current status of the capacity provider. For possible values, see + `CapacityProviderStatus`. + """ + last_updated_at: datetime + """The timestamp when the capacity provider was last updated.""" + +@dataclass(kw_only=True) +class CapacityProviderVolumeConfiguration(_SerdeShape): + """ + Configuration for a capacity provider volume mounted into the AgentCore + Runtime. This references a persistent volume by its logical name, as + defined in the capacity provider's list of volumes. + """ + + volume_name: str + """ + The logical name of the capacity provider volume to mount. This name + must match a volume that is defined in the capacity provider's list of + volumes. + """ + mount_path: str + """ + The mount path for the capacity provider volume inside the AgentCore + Runtime. The path must be under `/mnt` with exactly one subdirectory + level (for example, `/mnt/data`). + """ + +class CapacityReservationPreference(UnknownEnumMixin, StrEnum): + CAPACITY_RESERVATIONS_ONLY = "capacity-reservations-only" + OPEN = "open" + NONE = "none" + +@dataclass(kw_only=True) +class CapacityReservationSpecification(_SerdeShape): + """The Capacity Reservation targeting option for the instances.""" + + capacity_reservation_preference: str | None = ... + """The Capacity Reservation preference for the instances.""" + capacity_reservation_target: CapacityReservationTarget | None = ... + """ + The target Capacity Reservation or Capacity Reservation group for the + instances. + """ + +@dataclass(kw_only=True) +class CapacityReservationTarget(_SerdeShape): + """ + Information about the target Capacity Reservation or Capacity + Reservation group for the instances. + """ + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation in which to run the instances.""" + capacity_reservation_resource_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Capacity Reservation resource + group in which to run the instances. + """ + +@dataclass(kw_only=True) +class CategoricalScaleDefinition(_SerdeShape): + """ + The definition of a categorical rating scale option that provides a + named category with its description for evaluation scoring. + """ + + definition: str + """ + The description that explains what this categorical rating represents + and when it should be used. + """ + label: str + """The label or name of this categorical rating option.""" + +@dataclass(kw_only=True) +class CedarPolicy(_SerdeShape): + """ + Represents a Cedar policy statement within the AgentCore Policy system. + Cedar is a policy language designed for authorization that provides + human-readable, analyzable, and high-performance policy evaluation for + controlling agent behavior and access decisions. + """ + + statement: str + """ + The Cedar policy statement that defines the authorization logic. This + statement follows Cedar syntax and specifies principals, actions, + resources, and conditions that determine when access should be allowed + or denied. + """ + +@dataclass(kw_only=True) +class Certificate(_SerdeShape): + """A certificate to install in the browser or code interpreter.""" + + location: CertificateLocation + """The location of the certificate.""" + +@dataclass +class CertificateConfigurationS3(_SerdeShape): + """The Amazon S3 location of the PEM-encoded private CA certificate.""" + + value: S3CertificateConfiguration + +@dataclass +class CertificateConfigurationSecretsManager(_SerdeShape): + """ + The Amazon Web Services Secrets Manager location of the PEM-encoded + private CA certificate. + """ + + value: SecretsManagerCertificateConfiguration + +@dataclass +class CertificateConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CertificateConfiguration = Union[ + CertificateConfigurationS3 + | CertificateConfigurationSecretsManager + | CertificateConfigurationUnknown +] +""" +A reference to a private certificate authority (CA) certificate that +AgentCore uses to verify TLS connections to an endpoint, such as a +gateway target or an identity provider, that presents a certificate +issued by a private CA that is not trusted by default. Specify exactly +one certificate source. The configuration is a reference only and never +contains the certificate content. +""" + +class _CertificateConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CertificateConfiguration: ... + +@dataclass +class CertificateLocationSecretsManager(_SerdeShape): + """The Amazon Web Services Secrets Manager location of the certificate.""" + + value: SecretsManagerLocation + +@dataclass +class CertificateLocationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CertificateLocation = Union[ + CertificateLocationSecretsManager | CertificateLocationUnknown +] +"""The location from which to retrieve a certificate.""" + +class _CertificateLocationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> CertificateLocation: ... + +@dataclass(kw_only=True) +class CircuitBreakerConfiguration(_SerdeShape): + """ + Specifies whether the circuit breaker monitors failures for the targets + in a fallback chain. + """ + + mode: str = ... + """ + Specifies whether you want the circuit breaker turned on. To turn it + off, set this value to `DISABLED`. The default is `ENABLED`. + """ + +class CircuitBreakerMode(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class ClaimMatchOperatorType(UnknownEnumMixin, StrEnum): + EQUALS = "EQUALS" + CONTAINS = "CONTAINS" + CONTAINS_ANY = "CONTAINS_ANY" + +@dataclass +class ClaimMatchValueTypeMatchValueString(_SerdeShape): + """The string value to match for.""" + + value: str + +@dataclass +class ClaimMatchValueTypeMatchValueStringList(_SerdeShape): + """An array of strings to check for a match.""" + + value: list[str] + +@dataclass +class ClaimMatchValueTypeUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ClaimMatchValueType = Union[ + ClaimMatchValueTypeMatchValueString + | ClaimMatchValueTypeMatchValueStringList + | ClaimMatchValueTypeUnknown +] +""" +The value or values to match for. + +- Include a `matchValueString` with the `EQUALS` operator to specify a + string that matches the claim field value. + +- Include a `matchValueArray` to specify an array of string values. You + can use the following operators: + + - Use `CONTAINS` to yield a match if the claim field value is in the + array. + + - Use `CONTAINS_ANY` to yield a match if the claim field value + contains any of the strings in the array. +""" + +class _ClaimMatchValueTypeDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ClaimMatchValueType: ... + +class ClientAuthenticationMethodType(UnknownEnumMixin, StrEnum): + CLIENT_SECRET_BASIC = "CLIENT_SECRET_BASIC" + CLIENT_SECRET_POST = "CLIENT_SECRET_POST" + AWS_IAM_ID_TOKEN_JWT = "AWS_IAM_ID_TOKEN_JWT" + PRIVATE_KEY_JWT = "PRIVATE_KEY_JWT" + +@dataclass(kw_only=True) +class CloudWatchLogsInputConfig(_SerdeShape): + """ + The configuration for reading agent traces from CloudWatch logs as input + for online evaluation. + """ + + log_group_names: list[str] = ... + """The list of CloudWatch log group names to monitor for agent traces.""" + log_group_name_prefixes: list[str] | None = ... + """ + The list of CloudWatch log group name prefixes to monitor for agent + traces. Specify this instead of `logGroupNames` to match log groups by + prefix. Specify either `logGroupNames` or `logGroupNamePrefixes`, not + both. One of the two is required. + """ + service_names: list[str] + """ + The list of service names to filter traces within the specified log + groups. Used to identify relevant agent sessions. + """ + +@dataclass(kw_only=True) +class CloudWatchOutputConfig(_SerdeShape): + """ + The configuration for writing evaluation results to CloudWatch logs with + embedded metric format (EMF) for monitoring. + """ + + log_group_name: str = ... + """ + The name of the CloudWatch log group where evaluation results will be + written. An existing log group is used as-is; otherwise the service + creates it, which requires the evaluation execution role to grant + `logs:CreateLogGroup` on the log group. Don't specify this value when + `resultDestination` is `SOURCE_LOG_GROUP`. The name can't be under the + service-reserved `/aws/bedrock-agentcore/evaluations/` namespace, apart + from this configuration's own service-managed default group. + """ + metrics_namespace: str | None = ... + """ + The CloudWatch metrics namespace where evaluation result metrics are + published. If you omit this value, the service publishes metrics to + `Bedrock-AgentCore/Evaluations`. This value can't begin with `AWS/`. + """ + result_destination: str = ... + """ + The destination where evaluation results are written. Valid values: + + - `DEDICATED_LOG_GROUP` (default) -- Writes results to a dedicated + result log group. + + - `SOURCE_LOG_GROUP` -- Writes results back to the log group that the + agent traces were read from. If you use this value, don't specify + `logGroupName`. + """ + +@dataclass(kw_only=True) +class ClusteringConfig(_SerdeShape): + """ + Configuration for periodic batch evaluation clustering, specifying how + often clustering jobs run. + """ + + frequencies: list[str] + """ + The list of frequencies at which clustering batch evaluations are + triggered. + """ + +class ClusteringFrequency(UnknownEnumMixin, StrEnum): + DAILY = "DAILY" + WEEKLY = "WEEKLY" + MONTHLY = "MONTHLY" + +@dataclass +class CodeS3(_SerdeShape): + """ + The Amazon Amazon S3 object that contains the source code for the agent + runtime. + """ + + value: S3Location + +@dataclass +class CodeUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Code = Union[CodeS3 | CodeUnknown] +""" +The source code configuration that specifies the location and details of +the code to be executed. +""" + +class _CodeDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Code: ... + +@dataclass +class CodeBasedEvaluatorConfigLambdaConfig(_SerdeShape): + """The Lambda function configuration for code-based evaluation.""" + + value: LambdaEvaluatorConfig + +@dataclass +class CodeBasedEvaluatorConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CodeBasedEvaluatorConfig = Union[ + CodeBasedEvaluatorConfigLambdaConfig | CodeBasedEvaluatorConfigUnknown +] +""" +Configuration for a code-based evaluator. Specify the Lambda function to +use for evaluation. +""" + +class _CodeBasedEvaluatorConfigDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CodeBasedEvaluatorConfig: ... + +@dataclass(kw_only=True) +class CodeConfiguration(_SerdeShape): + """ + The configuration for the source code that defines how the agent runtime + code should be executed, including the code location, runtime + environment, and entry point. + """ + + code: Code + """The source code location and configuration details.""" + runtime: str + """ + The runtime environment for executing the agent code. Specify the + programming language and version to use for the agent runtime. For valid + values, see the list of supported runtimes. + """ + entry_point: list[str] + """ + The entry point for the code execution, specifying the function or + method that should be invoked when the code runs. + """ + +@dataclass(kw_only=True) +class CodeInterpreterNetworkConfiguration(_SerdeShape): + """ + The network configuration for a code interpreter. This structure defines + how the code interpreter connects to the network. + """ + + network_mode: str = ... + """ + The network mode for the code interpreter. This field specifies how the + code interpreter connects to the network. + """ + vpc_config: VpcConfig | None = ... + """ + The VPC configuration for the code interpreter. This configuration is + required when the network mode is set to `VPC`. + """ + +class CodeInterpreterNetworkMode(UnknownEnumMixin, StrEnum): + PUBLIC = "PUBLIC" + SANDBOX = "SANDBOX" + VPC = "VPC" + +class CodeInterpreterStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + READY = "READY" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + DELETED = "DELETED" + +@dataclass(kw_only=True) +class CodeInterpreterSummary(_SerdeShape): + """ + Contains summary information about a code interpreter. A code + interpreter enables Amazon Bedrock AgentCore Agent to execute code. + """ + + code_interpreter_id: str + """The unique identifier of the code interpreter.""" + code_interpreter_arn: str + """The Amazon Resource Name (ARN) of the code interpreter.""" + name: str | None = ... + """The name of the code interpreter.""" + description: str | None = ... + """The description of the code interpreter.""" + status: str + """The current status of the code interpreter.""" + created_at: datetime + """The timestamp when the code interpreter was created.""" + last_updated_at: datetime | None = ... + """The timestamp when the code interpreter was last updated.""" + +@dataclass(kw_only=True) +class CoinbaseCdpConfigurationInput(_SerdeShape): + """ + Coinbase CDP configuration --- credentials provided by Coinbase + Developer Platform. + """ + + api_key_id: str + """The API key identifier provided by Coinbase Developer Platform.""" + api_key_secret: str = ... + """The API key secret provided by Coinbase Developer Platform.""" + api_key_secret_source: str | None = ... + """ + The source type of the API key secret for the Coinbase Developer + Platform. Use `MANAGED` if the secret is managed by the service, or + `EXTERNAL` if you manage the secret yourself in Amazon Web Services + Secrets Manager. + """ + api_key_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the API key secret. This includes the secret ID and the JSON key + used to extract the API key secret value from the secret. Required when + `apiKeySecretSource` is set to `EXTERNAL`. + """ + wallet_secret: str = ... + """The wallet secret provided by Coinbase Developer Platform.""" + wallet_secret_source: str | None = ... + """ + The source type of the wallet secret for the Coinbase Developer + Platform. Use `MANAGED` if the secret is managed by the service, or + `EXTERNAL` if you manage the secret yourself in Amazon Web Services + Secrets Manager. + """ + wallet_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the wallet secret. This includes the secret ID and the JSON key + used to extract the wallet secret value from the secret. Required when + `walletSecretSource` is set to `EXTERNAL`. + """ + +@dataclass(kw_only=True) +class CoinbaseCdpConfigurationOutput(_SerdeShape): + """Coinbase CDP configuration output with secret ARNs.""" + + api_key_id: str + """The API key identifier provided by Coinbase Developer Platform.""" + api_key_secret_arn: Secret + """ + Contains information about a secret in Amazon Web Services Secrets + Manager. + """ + api_key_secret_json_key: str | None = ... + """ + The JSON key used to extract the API key secret value from the Amazon + Web Services Secrets Manager secret. + """ + api_key_secret_source: str | None = ... + """ + The source type of the API key secret. Either `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if managed by the user in Amazon + Web Services Secrets Manager. + """ + wallet_secret_arn: Secret + """ + Contains information about a secret in Amazon Web Services Secrets + Manager. + """ + wallet_secret_json_key: str | None = ... + """ + The JSON key used to extract the wallet secret value from the Amazon Web + Services Secrets Manager secret. + """ + wallet_secret_source: str | None = ... + """ + The source type of the wallet secret. Either `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if managed by the user in Amazon + Web Services Secrets Manager. + """ + +@dataclass(kw_only=True) +class CoinbaseCdpRotationTargets(_SerdeShape): + """Specifies the service-managed Coinbase CDP secrets to rotate.""" + + secrets: list[str] + """ + The secrets to rotate. Specify at least one value. Each secret that you + specify is rotated independently. + + - `API_KEY` - The API key that the payment connector uses to call + Coinbase CDP. Rotate it as routine maintenance, or if you suspect that + it is compromised. + + - `WALLET_SECRET` - The wallet secret that signs transactions. Rotate it + only if it is lost or compromised. Coinbase CDP allows one wallet + secret per project, so it is replaced in place and signing can be + briefly interrupted. + """ + +class CoinbaseCdpSecret(UnknownEnumMixin, StrEnum): + API_KEY = "API_KEY" + WALLET_SECRET = "WALLET_SECRET" + +@dataclass(kw_only=True) +class ComponentConfiguration(_SerdeShape): + """ + The configuration for a component within a configuration bundle. The + component type is inferred from the component identifier ARN. + """ + + configuration: Document + """The configuration values as a flexible JSON document.""" + +@dataclass +class ComputeConfigurationEc2Configuration(_SerdeShape): + """The Amazon EC2 compute configuration for the capacity provider.""" + + value: Ec2Configuration + +@dataclass +class ComputeConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ComputeConfiguration = Union[ + ComputeConfigurationEc2Configuration | ComputeConfigurationUnknown +] +""" +The compute configuration for a capacity provider. This structure +defines the type and settings of the compute resources used to launch +instances. +""" + +class _ComputeConfigurationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ComputeConfiguration: ... + +@dataclass(kw_only=True) +class ConcurrentModificationException(ServiceError, _SerdeShape): + """ + Exception thrown when a resource is modified concurrently by multiple + requests. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ConditionMatchPrincipals(_SerdeShape): + """ + A condition that matches on the identity of the caller making the + request. + """ + + value: MatchPrincipals + +@dataclass +class ConditionMatchPaths(_SerdeShape): + """A condition that matches on the request path.""" + + value: MatchPaths + +@dataclass +class ConditionMatchModels(_SerdeShape): + """A condition that matches on the model requested in an inference request.""" + + value: MatchModels + +@dataclass +class ConditionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Condition = Union[ + ConditionMatchPrincipals + | ConditionMatchPaths + | ConditionMatchModels + | ConditionUnknown +] +""" +A condition that determines when a gateway rule applies. Conditions can +match on principals, request paths, or the requested model. +""" + +class _ConditionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Condition: ... + +@dataclass +class ConfigurationBundleActionStaticOverride(_SerdeShape): + """ + A static configuration bundle override that applies a single bundle + version to all matching requests. + """ + + value: StaticOverride + +@dataclass +class ConfigurationBundleActionWeightedOverride(_SerdeShape): + """ + A weighted configuration bundle override that splits traffic between + multiple bundle versions based on configured weights. + """ + + value: WeightedOverride + +@dataclass +class ConfigurationBundleActionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ConfigurationBundleAction = Union[ + ConfigurationBundleActionStaticOverride + | ConfigurationBundleActionWeightedOverride + | ConfigurationBundleActionUnknown +] +""" +An action that applies a configuration bundle override, either as a +static override or a weighted split for A/B testing. +""" + +class _ConfigurationBundleActionDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ConfigurationBundleAction: ... + +@dataclass(kw_only=True) +class ConfigurationBundleReference(_SerdeShape): + """A reference to a specific version of a configuration bundle.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle.""" + bundle_version: str + """The version of the configuration bundle.""" + +class ConfigurationBundleStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class ConfigurationBundleSummary(_SerdeShape): + """Summary information about a configuration bundle.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle.""" + bundle_id: str + """The unique identifier of the configuration bundle.""" + bundle_name: str + """The name of the configuration bundle.""" + description: str | None = ... + """The description of the configuration bundle.""" + created_at: datetime | None = ... + """The timestamp when the configuration bundle was created.""" + +@dataclass(kw_only=True) +class ConfigurationBundleVersionSummary(_SerdeShape): + """Summary information about a configuration bundle version.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle.""" + bundle_id: str + """The unique identifier of the configuration bundle.""" + version_id: str + """The version identifier of this configuration bundle version.""" + lineage_metadata: VersionLineageMetadata | None = ... + """ + The version lineage metadata, including parent versions, branch name, + and creation source. + """ + version_created_at: datetime + """The timestamp when this version was created.""" + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """ + This exception is thrown when there is a conflict performing an + operation + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ConnectorConfiguration(_SerdeShape): + """Configuration for a single tool within a connector.""" + + name: str + """The tool or operation name (for example, `retrieve` or `webSearch`).""" + description: str | None = ... + """An agent-facing description override for this tool.""" + parameter_values: Document | None = ... + """ + Parameters to set as fixed or default values when provisioning this + tool. + """ + parameter_overrides: list[ConnectorParameterOverride] | None = ... + """ + Parameters to expose to the agent at runtime, with optional description + overrides. + """ + +@dataclass(kw_only=True) +class ConnectorParameterOverride(_SerdeShape): + """ + Specifies a parameter override for a connector tool, allowing you to + control parameter visibility and descriptions. + """ + + path: str + """ + A JSON Pointer path identifying the parameter (for example, + `/numberOfResults` or `/filter`). + """ + description: str | None = ... + """An agent-facing description override for this parameter.""" + visible: bool | None = ... + """ + Whether this parameter is visible to the agent. If not specified, uses + the service default. + """ + +@dataclass(kw_only=True) +class ConnectorSource(_SerdeShape): + """The source identifying the connector integration.""" + + connector_id: str + """ + The identifier for the connector integration (for example, + `bedrock-knowledge-bases`). + """ + version: str | None = ... + """ + The version of the connector to use (for example, `1.1.0`). If you + don't specify a version, the service uses the latest available version. + """ + +@dataclass(kw_only=True) +class ConnectorTargetConfiguration(_SerdeShape): + """ + Configuration for a connector integration target. Connectors provide + pre-built integrations with Amazon Web Services services and third-party + tools. + """ + + source: ConnectorSource + """The source configuration identifying which connector to use.""" + enabled: list[str] | None = ... + """ + A list of tool names to enable from this connector. If absent, all tools + provided by the connector are enabled. + """ + configurations: list[ConnectorConfiguration] | None = ... + """A list of per-tool configurations for the connector.""" + +@dataclass(kw_only=True) +class ConsentPortalIdpConfig(_SerdeShape): + """ + The identity provider configuration used to authenticate end users to + the consent portal. + """ + + credential_provider_arn: str + """ + The Amazon Resource Name (ARN) of the OAuth2 credential provider used to + authenticate end users to the consent portal. + """ + scopes: list[str] + """ + The OAuth2 scopes that the consent portal requests when authenticating + end users. + """ + audience: str | None = ... + """ + The audience value that the consent portal includes when requesting + tokens from the identity provider. + """ + +@dataclass(kw_only=True) +class ConsentPortalSource(_SerdeShape): + """A resource served by the consent portal.""" + + identifier: str + """ + The identifier of the source resource. For an `agentcore-gateway` + source, this is the gateway ID or its Amazon Resource Name (ARN). + """ + type: str + """The type of the source resource.""" + +class ConsentPortalSourceType(UnknownEnumMixin, StrEnum): + """ + The type of a consent portal source. Currently, we only support type + `agentcore-gateway`. + """ + + AGENTCORE_GATEWAY = "agentcore-gateway" + +class ConsentPortalStatus(UnknownEnumMixin, StrEnum): + """The lifecycle status of a consent portal.""" + + CREATING = "CREATING" + ACTIVE = "ACTIVE" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + DELETING = "DELETING" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class ConsentPortalSummary(_SerdeShape): + """Summary information about a consent portal.""" + + sources: list[ConsentPortalSource] + """The resources served by the consent portal.""" + consent_portal_arn: str + """The Amazon Resource Name (ARN) of the consent portal.""" + consent_portal_id: str + """The unique identifier of the consent portal.""" + created_at: datetime + """The timestamp for when the consent portal was created.""" + description: str | None = ... + """The description of the consent portal.""" + name: str + """The name of the consent portal.""" + portal_url: str | None = ... + """The URL used to access the consent portal.""" + status: str + """The current status of the consent portal.""" + updated_at: datetime + """The timestamp for when the consent portal was last updated.""" + +@dataclass +class ConsolidationConfigurationCustomConsolidationConfiguration(_SerdeShape): + """The custom consolidation configuration.""" + + value: CustomConsolidationConfiguration + +@dataclass +class ConsolidationConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ConsolidationConfiguration = Union[ + ConsolidationConfigurationCustomConsolidationConfiguration + | ConsolidationConfigurationUnknown +] +"""Contains consolidation configuration information for a memory strategy.""" + +class _ConsolidationConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ConsolidationConfiguration: ... + +@dataclass(kw_only=True) +class ContainerConfiguration(_SerdeShape): + """Representation of a container configuration.""" + + container_uri: str + """The ECR URI of the container.""" + +@dataclass +class ContentRawText(_SerdeShape): + """ + The raw text content containing natural language descriptions of desired + policy behavior. This text is processed by AI to generate corresponding + Dogwood policy statements that match the described intent. + """ + + value: str + +@dataclass +class ContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Content = Union[ContentRawText | ContentUnknown] +""" +Represents content input for policy generation operations. This +structure encapsulates the natural language descriptions or other +content formats that are used as input for AI-powered policy generation. +""" + +class _ContentDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Content: ... + +@dataclass(kw_only=True) +class ContentConfiguration(_SerdeShape): + """Defines what content to stream and at what level of detail.""" + + type: str + """Type of content to stream.""" + level: str = ... + """Level of detail for streamed content.""" + +class ContentLevel(UnknownEnumMixin, StrEnum): + METADATA_ONLY = "METADATA_ONLY" + FULL_CONTENT = "FULL_CONTENT" + +class ContentType(UnknownEnumMixin, StrEnum): + MEMORY_RECORDS = "MEMORY_RECORDS" + +@dataclass(kw_only=True) +class CreateAgentRuntimeEndpointInput(_SerdeShape): + """Dataclass for CreateAgentRuntimeEndpointInput structure.""" + + agent_runtime_id: str | None = ... + """ + The unique identifier of the AgentCore Runtime to create an endpoint + for. + """ + name: str | None = ... + """The name of the AgentCore Runtime endpoint.""" + agent_runtime_version: str | None = ... + """The version of the AgentCore Runtime to use for the endpoint.""" + description: str | None = ... + """The description of the AgentCore Runtime endpoint.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the agent runtime endpoint. + Tags enable you to categorize your resources in different ways, for + example, by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateAgentRuntimeEndpointOutput(_SerdeShape): + """Dataclass for CreateAgentRuntimeEndpointOutput structure.""" + + target_version: str + """The target version of the AgentCore Runtime for the endpoint.""" + agent_runtime_endpoint_arn: str + """The Amazon Resource Name (ARN) of the AgentCore Runtime endpoint.""" + agent_runtime_arn: str + """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" + agent_runtime_id: str | None = ... + """The unique identifier of the AgentCore Runtime.""" + endpoint_name: str | None = ... + """The name of the AgentCore Runtime endpoint.""" + status: str + """The current status of the AgentCore Runtime endpoint.""" + created_at: datetime + """The timestamp when the AgentCore Runtime endpoint was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAgentRuntimeInput(_SerdeShape): + """Dataclass for CreateAgentRuntimeInput structure.""" + + agent_runtime_name: str | None = ... + """The name of the AgentCore Runtime.""" + agent_runtime_artifact: AgentRuntimeArtifact | None = ... + """The artifact of the AgentCore Runtime.""" + role_arn: str | None = ... + """The IAM role ARN that provides permissions for the AgentCore Runtime.""" + network_configuration: NetworkConfiguration | None = ... + """The network configuration for the AgentCore Runtime.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + description: str | None = ... + """The description of the AgentCore Runtime.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """The authorizer configuration for the AgentCore Runtime.""" + request_header_configuration: RequestHeaderConfiguration | None = ... + """ + Configuration for HTTP request headers that will be passed through to + the runtime. + """ + protocol_configuration: ProtocolConfiguration | None = ... + """ + The protocol configuration for the AgentCore Runtime, including the + protocol, port, and path on which the agent server is available. + """ + lifecycle_configuration: LifecycleConfiguration | None = ... + """The life cycle configuration for the AgentCore Runtime.""" + hooks_configuration: RuntimeHooksConfiguration | None = ... + """ + The lifecycle hooks configuration for the AgentCore Runtime. Use + lifecycle hooks to run actions in the agent's container at fixed points + in the runtime's lifecycle, such as warming up the agent before + sessions are created. + """ + environment_variables: dict[str, str] | None = ... + """Environment variables to set in the AgentCore Runtime environment.""" + filesystem_configurations: list[FilesystemConfiguration] | None = ... + """ + The filesystem configurations to mount into the AgentCore Runtime. Use + filesystem configurations to provide persistent storage to your + AgentCore Runtime sessions. + """ + capacity_provider_configuration: CapacityProviderConfiguration | None = ... + """ + The capacity provider configuration for the AgentCore Runtime. Use a + capacity provider to run the AgentCore Runtime on the Instances compute + type, which provisions Amazon Web Services managed compute in your + account. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the agent runtime. Tags enable + you to categorize your resources in different ways, for example, by + purpose, owner, or environment. + """ + platform_version: str | None = ... + """The version of the runtime platform to use for the AgentCore Runtime.""" + allowed_ports: list[AllowedPort] | None = ... + """ + The additional ports on the AgentCore Runtime that are reachable through + the runtime's session URL. Specify one to five non-overlapping entries, + each containing either a single port or an inclusive port range. Ports + must be between `8000` and `12000`, excluding the reserved port `8443`. + """ + resource_configurations: list[ResourceConfiguration] | None = ... + """ + The resource configurations for the AgentCore Runtime, such as the + minimum amount of memory to allocate to the runtime. You can specify at + most one resource configuration. + """ + +@dataclass(kw_only=True) +class CreateAgentRuntimeOutput(_SerdeShape): + """Dataclass for CreateAgentRuntimeOutput structure.""" + + agent_runtime_arn: str + """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" + workload_identity_details: WorkloadIdentityDetails | None = ... + """The workload identity details for the AgentCore Runtime.""" + agent_runtime_id: str + """The unique identifier of the AgentCore Runtime.""" + agent_runtime_version: str + """The version of the AgentCore Runtime.""" + created_at: datetime + """The timestamp when the AgentCore Runtime was created.""" + status: str + """The current status of the AgentCore Runtime.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateApiKeyCredentialProviderInput(_SerdeShape): + """Dataclass for CreateApiKeyCredentialProviderInput structure.""" + + name: str | None = ... + """ + The name of the API key credential provider. The name must be unique + within your account. + """ + api_key: str = ... + """ + The API key to use for authentication. This value is encrypted and + stored securely. + """ + api_key_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the API key. This includes the secret ID and the JSON key used to + extract the API key value from the secret. Required when + `apiKeySecretSource` is set to `EXTERNAL`. + """ + api_key_secret_source: str | None = ... + """ + The source type of the API key secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the API key credential + provider. Tags enable you to categorize your resources in different + ways, for example, by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateApiKeyCredentialProviderOutput(_SerdeShape): + """Dataclass for CreateApiKeyCredentialProviderOutput structure.""" + + api_key_secret_arn: Secret + """The Amazon Resource Name (ARN) of the secret containing the API key.""" + api_key_secret_json_key: str | None = ... + """ + The JSON key used to extract the API key value from the Amazon Web + Services Secrets Manager secret. + """ + api_key_secret_source: str | None = ... + """ + The source type of the API key secret. Either `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if managed by the user in Amazon + Web Services Secrets Manager. + """ + name: str + """The name of the created API key credential provider.""" + credential_provider_arn: str + """ + The Amazon Resource Name (ARN) of the created API key credential + provider. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateBrowserInput(_SerdeShape): + """Dataclass for CreateBrowserInput structure.""" + + name: str | None = ... + """The name of the browser. The name must be unique within your account.""" + description: str | None = ... + """The description of the browser.""" + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that provides permissions + for the browser to access Amazon Web Services services. + """ + network_configuration: BrowserNetworkConfiguration | None = ... + """ + The network configuration for the browser. This configuration specifies + the network mode for the browser. + """ + recording: RecordingConfig | None = ... + """ + The recording configuration for the browser. When enabled, browser + sessions are recorded and stored in the specified Amazon S3 location. + """ + browser_signing: BrowserSigningConfigInput | None = ... + """ + The browser signing configuration that enables cryptographic agent + identification using HTTP message signatures for web bot authentication. + """ + enterprise_policies: list[BrowserEnterprisePolicy] | None = ... + """A list of enterprise policy files for the browser.""" + certificates: list[Certificate] | None = ... + """A list of certificates to install in the browser.""" + filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... + """ + The file system configurations to mount into the browser. Use these + configurations to mount your own Amazon Simple Storage Service (Amazon + S3) Files or Amazon Elastic File System (Amazon EFS) access points. Your + sessions can then access your data. If you don't specify this field, no + file systems are mounted. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock AgentCore ignores the request but does not + return an error. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the browser. Tags enable you + to categorize your resources in different ways, for example, by purpose, + owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateBrowserOutput(_SerdeShape): + """Dataclass for CreateBrowserOutput structure.""" + + browser_id: str + """The unique identifier of the created browser.""" + browser_arn: str + """The Amazon Resource Name (ARN) of the created browser.""" + created_at: datetime + """The timestamp when the browser was created.""" + status: str + """The current status of the browser.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateBrowserProfileInput(_SerdeShape): + """Dataclass for CreateBrowserProfileInput structure.""" + + name: str | None = ... + """ + The name of the browser profile. The name must be unique within your + account and can contain alphanumeric characters and underscores. + """ + description: str | None = ... + """ + A description of the browser profile. Use this field to describe the + purpose or contents of the profile. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock AgentCore ignores the request but does not + return an error. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the browser profile. Tags + enable you to categorize your resources in different ways, for example, + by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateBrowserProfileOutput(_SerdeShape): + """Dataclass for CreateBrowserProfileOutput structure.""" + + profile_id: str + """The unique identifier of the created browser profile.""" + profile_arn: str + """The Amazon Resource Name (ARN) of the created browser profile.""" + created_at: datetime + """The timestamp when the browser profile was created.""" + status: str + """The current status of the browser profile.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCapacityProviderInput(_SerdeShape): + """Dataclass for CreateCapacityProviderInput structure.""" + + name: str | None = ... + """ + The name of the capacity provider. The name must be unique within your + account. + """ + description: str | None = ... + """ + An optional description of the capacity provider. If you don't specify + a description, the service creates the capacity provider without one. + """ + permissions_configuration: PermissionsConfiguration | None = ... + """ + The permissions configuration for the capacity provider. This specifies + the IAM role that AgentCore uses to manage the Amazon EC2 instances on + your behalf. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to associate with the capacity provider. If + you don't specify tags, the capacity provider is created with no tags. + """ + compute_configuration: ComputeConfiguration | None = ... + """ + The compute configuration for the capacity provider. This defines the + Amazon EC2 compute resources used to launch instances: the operating + system, allowed instance types, networking, and storage. + """ + +@dataclass(kw_only=True) +class CreateCapacityProviderOutput(_SerdeShape): + """Dataclass for CreateCapacityProviderOutput structure.""" + + capacity_provider_id: str + """The unique identifier of the created capacity provider.""" + capacity_provider_arn: str + """The Amazon Resource Name (ARN) of the capacity provider.""" + name: str + """The name of the capacity provider.""" + status: str + """ + The current status of the capacity provider. For possible values, see + `CapacityProviderStatus`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCodeInterpreterInput(_SerdeShape): + """Dataclass for CreateCodeInterpreterInput structure.""" + + name: str | None = ... + """ + The name of the code interpreter. The name must be unique within your + account. + """ + description: str | None = ... + """The description of the code interpreter.""" + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that provides permissions + for the code interpreter to access Amazon Web Services services. + """ + network_configuration: CodeInterpreterNetworkConfiguration | None = ... + """ + The network configuration for the code interpreter. This configuration + specifies the network mode for the code interpreter. + """ + certificates: list[Certificate] | None = ... + """A list of certificates to install in the code interpreter.""" + filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... + """ + The file system configurations to mount into the code interpreter. Use + these configurations to mount your own Amazon Simple Storage Service + (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access + points. Your sessions can then access your data. If you don't specify + this field, no file systems are mounted. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock AgentCore ignores the request but does not + return an error. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the code interpreter. Tags + enable you to categorize your resources in different ways, for example, + by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateCodeInterpreterOutput(_SerdeShape): + """Dataclass for CreateCodeInterpreterOutput structure.""" + + code_interpreter_id: str + """The unique identifier of the created code interpreter.""" + code_interpreter_arn: str + """The Amazon Resource Name (ARN) of the created code interpreter.""" + created_at: datetime + """The timestamp when the code interpreter was created.""" + status: str + """The current status of the code interpreter.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateConfigurationBundleInput(_SerdeShape): + """Dataclass for CreateConfigurationBundleInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + bundle_name: str | None = ... + """ + The name for the configuration bundle. Names must be unique within your + account. + """ + description: str | None = ... + """The description for the configuration bundle.""" + components: dict[str, ComponentConfiguration] | None = ... + """ + A map of component identifiers to their configurations. Each component + represents a configurable element within the bundle. + """ + branch_name: str | None = ... + """ + The branch name for version tracking. Defaults to `mainline` if not + specified. + """ + commit_message: str | None = ... + """ + A commit message describing the initial version of the configuration + bundle. + """ + created_by: VersionCreatedBySource | None = ... + """ + The source that created this version, including the source name and + optional ARN. + """ + kms_key_arn: str | None = ... + """Optional KMS key ARN for encrypting component configurations.""" + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the configuration bundle. Tags + enable you to categorize your resources in different ways, for example, + by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateConfigurationBundleOutput(_SerdeShape): + """Dataclass for CreateConfigurationBundleOutput structure.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the created configuration bundle.""" + bundle_id: str + """The unique identifier of the created configuration bundle.""" + version_id: str + """The initial version identifier of the configuration bundle.""" + created_at: datetime + """The timestamp when the configuration bundle was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateConsentPortalInput(_SerdeShape): + """Dataclass for CreateConsentPortalInput structure.""" + + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that the consent portal + assumes to access the resources defined in its sources. + """ + idp_config: ConsentPortalIdpConfig | None = ... + """ + The identity provider configuration that the consent portal uses to + authenticate end users. + """ + name: str | None = ... + """ + The name of the consent portal. The name must be unique within your + account. + """ + sources: list[ConsentPortalSource] | None = ... + """ + The resources served by the consent portal. Currently, we only support + type `agentcore-gateway`. + """ + description: str | None = ... + """The description of the consent portal.""" + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the consent portal. Tags + enable you to categorize your resources in different ways, for example, + by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateConsentPortalOutput(_SerdeShape): + """Dataclass for CreateConsentPortalOutput structure.""" + + sources: list[ConsentPortalSource] + """The resources served by the consent portal.""" + consent_portal_arn: str + """The Amazon Resource Name (ARN) of the consent portal.""" + consent_portal_id: str + """The unique identifier of the consent portal.""" + created_at: datetime + """The timestamp for when the consent portal was created.""" + description: str | None = ... + """The description of the consent portal.""" + execution_role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role that the consent portal + assumes to access the resources defined in its sources. + """ + idp_config: ConsentPortalIdpConfig + """ + The identity provider configuration that the consent portal uses to + authenticate end users. + """ + name: str + """The name of the consent portal.""" + portal_url: str | None = ... + """The URL used to access the consent portal.""" + status: str + """The current status of the consent portal.""" + status_reason: str | None = ... + """ + A message that provides additional information about the current status + of the consent portal. + """ + updated_at: datetime + """The timestamp for when the consent portal was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDatasetInput(_SerdeShape): + """Dataclass for CreateDatasetInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dataset_name: str | None = ... + """ + Human-readable name for the dataset. Must be unique within the account. + Immutable after creation. + """ + description: str | None = ... + """A description of the dataset.""" + source: DataSourceType | None = ... + """ + Source of initial examples. Provide either inline examples or an S3 URI + pointing to a JSONL file. + """ + schema_type: str | None = ... + """ + Versioned schema type governing the structure of examples. Immutable + after creation. + """ + kms_key_arn: str | None = ... + """ + Optional KMS key ARN for server-side encryption on service Amazon S3 + writes. + """ + tags: dict[str, str] | None = ... + """A map of tag keys and values to assign to the dataset.""" + +@dataclass(kw_only=True) +class CreateDatasetOutput(_SerdeShape): + """Dataclass for CreateDatasetOutput structure.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the created dataset.""" + dataset_id: str + """The unique identifier of the created dataset.""" + status: str + """ + Always CREATING immediately after this call. Poll `GetDataset` until + status transitions to ACTIVE or CREATE_FAILED. + """ + created_at: datetime + """The timestamp when the dataset was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDatasetVersionInput(_SerdeShape): + """Dataclass for CreateDatasetVersionInput structure.""" + + dataset_id: str | None = ... + """The unique identifier of the dataset to publish a version for.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateDatasetVersionOutput(_SerdeShape): + """Dataclass for CreateDatasetVersionOutput structure.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the dataset.""" + dataset_id: str + """The unique identifier of the dataset.""" + status: str + """ + Always UPDATING immediately after this call. Poll `GetDataset` until + status transitions to ACTIVE or UPDATE_FAILED. + """ + dataset_version: str + """The version number being created.""" + created_at: datetime + """The timestamp when the version creation was initiated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateEvaluatorInput(_SerdeShape): + """Dataclass for CreateEvaluatorInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + evaluator_name: str | None = ... + """The name of the evaluator. Must be unique within your account.""" + description: str | None = ... + """ + The description of the evaluator that explains its purpose and + evaluation criteria. + """ + evaluator_config: EvaluatorConfig | None = ... + """ + The configuration for the evaluator. Specify either LLM-as-a-Judge + settings with instructions, rating scale, and model configuration, or + code-based settings with a customer-managed Lambda function. + """ + level: str | None = ... + """ + The evaluation level that determines the scope of evaluation. Valid + values are `TOOL_CALL` for individual tool invocations, `TRACE` for + single request-response interactions, or `SESSION` for entire + conversation sessions. + """ + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a customer managed KMS key to use for + encrypting sensitive evaluator data, including instructions and rating + scale. If you don't specify a KMS key, the evaluator data is encrypted + with an Amazon Web Services owned key. Only symmetric encryption KMS + keys are supported. For more information, see [Encryption at rest for + AgentCore + Evaluations](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html). + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to an AgentCore Evaluator. Tags + enable you to categorize your resources in different ways, for example, + by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateEvaluatorOutput(_SerdeShape): + """Dataclass for CreateEvaluatorOutput structure.""" + + evaluator_arn: str + """The Amazon Resource Name (ARN) of the created evaluator.""" + evaluator_id: str + """The unique identifier of the created evaluator.""" + created_at: datetime + """The timestamp when the evaluator was created.""" + status: str + """The status of the evaluator creation operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGatewayInput(_SerdeShape): + """Dataclass for CreateGatewayInput structure.""" + + name: str | None = ... + """The name of the gateway. The name must be unique within your account.""" + description: str | None = ... + """The description of the gateway.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that provides permissions + for the gateway to access Amazon Web Services services. + """ + protocol_type: str = ... + """The protocol type for the gateway.""" + protocol_configuration: GatewayProtocolConfiguration | None = ... + """ + The configuration settings for the protocol specified in the + `protocolType` parameter. + """ + authorizer_type: str | None = ... + """ + The type of authorizer to use for the gateway. + + - `CUSTOM_JWT` - Authorize with a bearer token. + + - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. + + - `NONE` - No authorization + """ + authorizer_configuration: AuthorizerConfiguration | None = ... + """ + The authorizer configuration for the gateway. Required if + `authorizerType` is `CUSTOM_JWT`. + """ + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt data + associated with the gateway. + """ + interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... + """ + A list of configuration settings for a gateway interceptor. Gateway + interceptors allow custom code to be invoked during gateway invocations. + """ + policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... + """ + The policy engine configuration for the gateway. A policy engine is a + collection of policies that evaluates and authorizes agent tool calls. + When associated with a gateway, the policy engine intercepts all agent + requests and determines whether to allow or deny each action based on + the defined policies. + """ + exception_level: str | None = ... + """ + The level of detail in error messages returned when invoking the + gateway. + + - If the value is `DEBUG`, granular exception messages are returned to + help a user debug the gateway. + + - If the value is omitted, a generic error message is returned to the + end user. + """ + tags: dict[str, str] | None = ... + """A map of key-value pairs to associate with the gateway as metadata tags.""" + domain_override: DomainOverride | None = ... + """ + The public domain names that the gateway advertises in its OAuth + discovery URLs instead of the inbound Host header. Specify this when + clients reach the gateway through your own proxy or custom domain. + """ + +@dataclass(kw_only=True) +class CreateGatewayOutput(_SerdeShape): + """Dataclass for CreateGatewayOutput structure.""" + + gateway_arn: str + """The Amazon Resource Name (ARN) of the created gateway.""" + gateway_id: str + """The unique identifier of the created gateway.""" + gateway_url: str | None = ... + """The URL endpoint for the created gateway.""" + created_at: datetime + """The timestamp when the gateway was created.""" + updated_at: datetime + """The timestamp when the gateway was last updated.""" + status: str + """The current status of the gateway.""" + status_reasons: list[str] | None = ... + """The reasons for the current status of the gateway.""" + name: str + """The name of the gateway.""" + description: str | None = ... + """The description of the gateway.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role associated with the + gateway. + """ + protocol_type: str = ... + """The protocol type of the gateway.""" + protocol_configuration: GatewayProtocolConfiguration | None = ... + """The configuration settings for the protocol used by the gateway.""" + authorizer_type: str + """The type of authorizer used by the gateway.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """The authorizer configuration for the created gateway.""" + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt data + associated with the gateway. + """ + custom_transform_configuration: CustomTransformConfiguration | None = ... + """ + The custom transformation configuration for the gateway. This + configuration defines how the gateway transforms requests and responses. + """ + interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... + """The list of interceptor configurations for the created gateway.""" + policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... + """The policy engine configuration for the created gateway.""" + workload_identity_details: WorkloadIdentityDetails | None = ... + """The workload identity details for the created gateway.""" + exception_level: str | None = ... + """ + The level of detail in error messages returned when invoking the + gateway. + + - If the value is `DEBUG`, granular exception messages are returned to + help a user debug the gateway. + + - If the value is omitted, a generic error message is returned to the + end user. + """ + web_acl_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services WAF web ACL + associated with the gateway. + """ + waf_configuration: WafConfiguration | None = ... + """The Amazon Web Services WAF configuration for the gateway.""" + domain_override: DomainOverride | None = ... + """ + The public domain names that the gateway advertises in its OAuth + discovery URLs instead of the inbound Host header. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGatewayRateLimitInput(_SerdeShape): + """Dataclass for CreateGatewayRateLimitInput structure.""" + + gateway_identifier: str | None = ... + """The unique identifier of the gateway to create the rate limit for.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + rate_limit_id: str | None = ... + """ + An optional customer-defined identifier for the rate limit. If not + provided, the system generates one. + """ + description: str | None = ... + """ + An optional human-readable description for this rate limit. If not + provided, the rate limit is created without a description. + """ + dimension_keys: list[str] | None = ... + """ + The ordered list of dimension key names that define the scope of this + rate limit. Must be unique per gateway---no two rate limits can share + the same dimension keys. + """ + entries: list[LimitEntry] | None = ... + """The rule entries that map dimension values to rate configurations.""" + +@dataclass(kw_only=True) +class CreateGatewayRateLimitOutput(_SerdeShape): + """Shared fields for `GatewayRateLimit` responses.""" + + rate_limit_id: str + """The unique identifier of the created rate limit.""" + gateway_identifier: str + """The unique identifier of the gateway.""" + description: str | None = ... + """The human-readable description of the rate limit.""" + dimension_keys: list[str] + """ + The ordered list of dimension key names that define the scope of this + rate limit. + """ + entries: list[LimitEntry] + """ + The list of rule entries that map dimension values to rate + configurations. + """ + status: str + """The current status of the rate limit.""" + created_at: datetime + """The timestamp when the rate limit was created.""" + updated_at: datetime + """The timestamp when the rate limit was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGatewayRuleInput(_SerdeShape): + """Dataclass for CreateGatewayRuleInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway to create a rule for.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + priority: int | None = ... + """ + The priority of the rule. Rules are evaluated in order of priority, with + lower numbers evaluated first. Must be between 1 and 1,000,000. + """ + conditions: list[Condition] | None = ... + """ + The conditions that must be met for the rule to apply. Conditions can + match on principals (IAM ARNs) or request paths. + """ + actions: list[Action] | None = ... + """ + The actions to take when the rule conditions are met. Actions can route + to a specific target or apply a configuration bundle override. + """ + description: str | None = ... + """The description of the gateway rule.""" + +@dataclass(kw_only=True) +class CreateGatewayRuleOutput(_SerdeShape): + """Dataclass for CreateGatewayRuleOutput structure.""" + + rule_id: str + """The unique identifier of the gateway rule.""" + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway that the rule belongs to.""" + priority: int + """ + The priority of the rule. Rules are evaluated in order of priority, with + lower numbers evaluated first. + """ + conditions: list[Condition] | None = ... + """The conditions that must be met for the rule to apply.""" + actions: list[Action] + """The actions to take when the rule conditions are met.""" + description: str | None = ... + """The description of the gateway rule.""" + created_at: datetime + """The timestamp when the rule was created.""" + status: str + """The current status of the rule.""" + system: SystemManagedBlock | None = ... + """System-managed metadata for rules created by automated processes.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGatewayTargetInput(_SerdeShape): + """Dataclass for CreateGatewayTargetInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway to create a target for.""" + name: str | None = ... + """ + The name of the gateway target. The name must be unique within the + gateway. + """ + description: str | None = ... + """The description of the gateway target.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + target_configuration: TargetConfiguration | None = ... + """ + The configuration settings for the target, including endpoint + information and schema definitions. + """ + credential_provider_configurations: ( + list[CredentialProviderConfiguration] | None + ) = ... + """ + The credential provider configurations for the target. These + configurations specify how the gateway authenticates with the target + endpoint. + """ + metadata_configuration: MetadataConfiguration | None = ... + """ + Optional configuration for HTTP header and query parameter propagation + to and from the gateway target. + """ + private_endpoint: PrivateEndpoint | None = ... + """ + The private endpoint configuration for the gateway target. Use this to + connect the gateway to private resources in your VPC. + """ + certificate_configurations: list[CertificateConfiguration] | None = ... + """ + The private certificate authority (CA) configurations for the gateway + target. Use this to have the gateway trust a private CA when it + establishes TLS connections to the target endpoint. Provide each + certificate by reference to an Amazon S3 object or an Amazon Web + Services Secrets Manager secret. You can specify only one certificate + authority configuration in this list. + """ + +@dataclass(kw_only=True) +class CreateGatewayTargetOutput(_SerdeShape): + """Dataclass for CreateGatewayTargetOutput structure.""" + + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway.""" + target_id: str + """The unique identifier of the created target.""" + created_at: datetime + """The timestamp when the target was created.""" + updated_at: datetime + """The timestamp when the target was last updated.""" + status: str + """The current status of the target.""" + status_reasons: list[str] | None = ... + """The reasons for the current status of the target.""" + name: str + """The name of the target.""" + description: str | None = ... + """The description of the target.""" + target_configuration: TargetConfiguration + """The configuration settings for the target.""" + credential_provider_configurations: list[CredentialProviderConfiguration] + """The credential provider configurations for the target.""" + last_synchronized_at: datetime | None = ... + """The last synchronization of the target.""" + metadata_configuration: MetadataConfiguration | None = ... + """ + The metadata configuration that was applied to the created gateway + target. + """ + private_endpoint: PrivateEndpoint | None = ... + """The private endpoint configuration for the gateway target.""" + private_endpoint_managed_resources: list[ManagedResourceDetails] | None = ... + """ + The managed resources created by the gateway for private endpoint + connectivity. + """ + authorization_data: AuthorizationData | None = ... + """ + OAuth2 authorization data for the created gateway target. This data is + returned when a target is configured with a credential provider with + authorization code grant type and requires user federation. + """ + protocol_type: str | None = ... + """The protocol type of the created gateway target.""" + certificate_configurations: list[CertificateConfiguration] | None = ... + """ + The private certificate authority (CA) configurations for the gateway + target. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateHarnessEndpointInput(_SerdeShape): + """Dataclass for CreateHarnessEndpointInput structure.""" + + harness_id: str | None = ... + """The ID of the harness to create an endpoint for.""" + endpoint_name: str | None = ... + """ + The name of the endpoint. Must start with a letter and contain only + alphanumeric characters and underscores. + """ + target_version: str | None = ... + """ + The harness version that the endpoint points to and serves invocations + from. + """ + description: str | None = ... + """A description of the endpoint.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """Tags to apply to the endpoint resource.""" + +@dataclass(kw_only=True) +class CreateHarnessEndpointOutput(_SerdeShape): + """Dataclass for CreateHarnessEndpointOutput structure.""" + + endpoint: HarnessEndpoint + """The endpoint that was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateHarnessInput(_SerdeShape): + """Dataclass for CreateHarnessInput structure.""" + + harness_name: str | None = ... + """ + The name of the harness. Must start with a letter and contain only + alphanumeric characters and underscores. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + execution_role_arn: str | None = ... + """ + The ARN of the IAM role that the harness assumes when running. This role + must have permissions for the services the agent needs to access, such + as Amazon Bedrock for model invocation. + """ + environment: HarnessEnvironmentProviderRequest | None = ... + """ + The compute environment configuration for the harness, including network + and lifecycle settings. + """ + environment_artifact: HarnessEnvironmentArtifact | None = ... + """ + The environment artifact for the harness, such as a custom container + image containing additional dependencies. + """ + environment_variables: dict[str, str] | None = ... + """Environment variables to set in the harness runtime environment.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """ + Represents inbound authorization configuration options used to + authenticate incoming requests. + """ + model: HarnessModelConfiguration | None = ... + """ + The model configuration for the harness. Supports Amazon Bedrock, + OpenAI, and Google Gemini model providers. + """ + system_prompt: list[HarnessSystemContentBlock] | None = ... + """The system prompt that defines the agent's behavior and instructions.""" + tools: list[HarnessTool] | None = ... + """ + The tools available to the agent, such as remote MCP servers, AgentCore + Gateway, AgentCore Browser, Code Interpreter, or inline functions. + """ + skills: list[HarnessSkill] | None = ... + """ + The skills available to the agent. Skills are bundles of files that the + agent can pull into its context on demand. + """ + allowed_tools: list[str] | None = ... + """ + The tools that the agent is allowed to use. Supports glob patterns such + as * for all tools, @builtin for all built-in tools, or + @serverName/toolName for specific MCP server tools. + """ + memory: HarnessMemoryConfiguration | None = ... + """ + The AgentCore Memory configuration for persisting conversation context + across sessions. + """ + truncation: HarnessTruncationConfiguration | None = ... + """ + The truncation configuration for managing conversation context when it + exceeds model limits. + """ + hooks: list[HarnessHook] | None = ... + """The lifecycle hooks to run at defined points in the agent loop.""" + max_iterations: int | None = ... + """ + The maximum number of iterations the agent loop can execute per + invocation. + """ + max_tokens: int | None = ... + """ + The maximum total number of output tokens the agent can generate across + all model calls within a single invocation. + """ + timeout_seconds: int | None = ... + """ + The maximum duration in seconds for the agent loop execution per + invocation. + """ + tags: dict[str, str] | None = ... + """Tags to apply to the harness resource.""" + +@dataclass(kw_only=True) +class CreateHarnessOutput(_SerdeShape): + """Dataclass for CreateHarnessOutput structure.""" + + harness: Harness + """The harness that was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateMemoryInput(_SerdeShape): + """Dataclass for CreateMemoryInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request but does not return an + error. + + This field is autopopulated if not provided. + """ + name: str | None = ... + """The name of the memory. The name must be unique within your account.""" + description: str | None = ... + """The description of the memory.""" + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the memory + data. + """ + memory_execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that provides permissions + for the memory to access Amazon Web Services services. + """ + event_expiry_duration: int | None = ... + """ + The number of days after which memory events expire, between 7 and 3650 + days. + """ + memory_strategies: list[MemoryStrategyInput] | None = ... + """ + The memory strategies to use for this memory. Strategies define how + information is extracted, processed, and consolidated. + """ + indexed_keys: list[IndexedKey] | None = ... + """ + Metadata keys to index for filtering. Once declared, indexed keys cannot + be removed. + """ + namespace_keys: list[NamespaceKeyEntry] | None = ... + """ + The namespace variable key definitions with optional validation rules. + Use these `namespaceKeys` in `namespaceTemplates` to control namespace + hierarchy. + """ + stream_delivery_resources: StreamDeliveryResources | None = ... + """Configuration for streaming memory record data to external resources.""" + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to an AgentCore Memory. Tags + enable you to categorize your resources in different ways, for example, + by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateMemoryOutput(_SerdeShape): + """Dataclass for CreateMemoryOutput structure.""" + + memory: Memory | None = ... + """ + The details of the created memory, including its ID, ARN, name, + description, and configuration settings. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateOauth2CredentialProviderInput(_SerdeShape): + """Dataclass for CreateOauth2CredentialProviderInput structure.""" + + name: str | None = ... + """ + The name of the OAuth2 credential provider. The name must be unique + within your account. + """ + credential_provider_vendor: str | None = ... + """ + The vendor of the OAuth2 credential provider. This specifies which + OAuth2 implementation to use. + """ + oauth2_provider_config_input: Oauth2ProviderConfigInput | None = ... + """ + The configuration settings for the OAuth2 provider, including client ID, + client secret, and other vendor-specific settings. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the OAuth2 credential + provider. Tags enable you to categorize your resources in different + ways, for example, by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateOauth2CredentialProviderOutput(_SerdeShape): + """Dataclass for CreateOauth2CredentialProviderOutput structure.""" + + client_secret_arn: Secret + """ + The Amazon Resource Name (ARN) of the client secret in Amazon Web + Services Secrets Manager. + """ + client_secret_json_key: str | None = ... + """ + The JSON key used to extract the client secret value from the Amazon Web + Services Secrets Manager secret. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Either `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if managed by the user in Amazon + Web Services Secrets Manager. + """ + name: str + """The name of the OAuth2 credential provider.""" + credential_provider_arn: str + """The Amazon Resource Name (ARN) of the OAuth2 credential provider.""" + callback_url: str | None = ... + """ + Callback URL to register on the OAuth2 credential provider as an allowed + callback URL. This URL is where the OAuth2 authorization server + redirects users after they complete the authorization flow. + """ + oauth2_provider_config_output: Oauth2ProviderConfigOutput | None = ... + """Contains the output configuration for an OAuth2 provider.""" + status: str | None = ... + """The current status of the OAuth2 credential provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateOnlineEvaluationConfigInput(_SerdeShape): + """Dataclass for CreateOnlineEvaluationConfigInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + online_evaluation_config_name: str | None = ... + """ + The name of the online evaluation configuration. Must be unique within + your account. + """ + description: str | None = ... + """ + The description of the online evaluation configuration that explains its + monitoring purpose and scope. + """ + rule: Rule | None = ... + """ + The evaluation rule that defines sampling configuration, filters, and + session detection settings for the online evaluation. + """ + data_source_config: DataSourceConfig | None = ... + """ + The data source configuration that specifies CloudWatch log groups and + service names to monitor for agent traces. + """ + evaluators: list[EvaluatorReference] | None = ... + """ + The list of evaluators to apply during online evaluation. Can include + both built-in evaluators and custom evaluators created with + `CreateEvaluator`. + """ + insights: list[Insight] | None = ... + """The list of insight types to run against agent sessions.""" + clustering_config: ClusteringConfig | None = ... + """ + Configuration for periodic batch evaluation clustering of insight + results. + """ + output_config: OutputConfig | None = ... + """ + The configuration that specifies where evaluation results should be + written for monitoring and analysis. + """ + evaluation_execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that grants permissions + to read from CloudWatch logs, write evaluation results, and invoke + Amazon Bedrock models for evaluation. If the configuration references + evaluators encrypted with a customer managed KMS key, this role must + also have `kms:Decrypt` permission on the KMS key. The service validates + this permission at configuration creation time. For more information, + see [Encryption at rest for AgentCore + Evaluations](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html). + """ + enable_on_create: bool | None = ... + """ + Whether to enable the online evaluation configuration immediately upon + creation. If true, evaluation begins automatically. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to an AgentCore Online Evaluation + Config. Tags enable you to categorize your resources in different ways, + for example, by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateOnlineEvaluationConfigOutput(_SerdeShape): + """Dataclass for CreateOnlineEvaluationConfigOutput structure.""" + + online_evaluation_config_arn: str + """ + The Amazon Resource Name (ARN) of the created online evaluation + configuration. + """ + online_evaluation_config_id: str + """The unique identifier of the created online evaluation configuration.""" + created_at: datetime + """The timestamp when the online evaluation configuration was created.""" + output_config: OutputConfig | None = ... + """ + The configuration that specifies where evaluation results should be + written for monitoring and analysis. + """ + status: str + """The status of the online evaluation configuration.""" + execution_status: str + """ + The execution status indicating whether the online evaluation is + currently running. + """ + failure_reason: str | None = ... + """ + The reason for failure if the online evaluation configuration creation + or execution failed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePaymentConnectorInput(_SerdeShape): + """Dataclass for CreatePaymentConnectorInput structure.""" + + payment_manager_id: str | None = ... + """ + The unique identifier of the payment manager to create the connector + for. + """ + name: str | None = ... + """The name of the payment connector.""" + description: str | None = ... + """A description of the payment connector.""" + type: str | None = ... + """ + The type of payment connector, which determines the payment provider + integration. + """ + credential_provider_configurations: ( + list[CredentialsProviderConfiguration] | None + ) = ... + """ + The credential provider configurations for the payment connector. These + configurations specify how the connector authenticates with the payment + provider. + """ + provision_mode: str | None = ... + """ + The provision mode for creating the payment connector. If you don't + specify a value, the default is `MANUAL`. + + - `MANUAL` - You provide the credential provider configurations + directly. + + - `QUICK_CREATE` - The service orchestrates OAuth consent and provisions + the credential provider for you. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreatePaymentConnectorOutput(_SerdeShape): + """Dataclass for CreatePaymentConnectorOutput structure.""" + + payment_connector_id: str + """The unique identifier of the created payment connector.""" + payment_manager_id: str + """The unique identifier of the parent payment manager.""" + name: str + """The name of the created payment connector.""" + type: str + """The type of the created payment connector.""" + credential_provider_configurations: list[CredentialsProviderConfiguration] + """ + The credential provider configurations for the created payment + connector. + """ + created_at: datetime + """The timestamp when the payment connector was created.""" + status: str + """ + The current status of the payment connector. Possible values include + `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, + `UPDATE_FAILED`, and `DELETE_FAILED`. + """ + authorization_url: str | None = ... + """ + The URL that the user must open to complete OAuth consent. This field is + only present when the payment connector status is + `PENDING_AUTHENTICATION`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePaymentCredentialProviderInput(_SerdeShape): + """Dataclass for CreatePaymentCredentialProviderInput structure.""" + + name: str | None = ... + """Unique name for the payment credential provider.""" + credential_provider_vendor: str | None = ... + """ + The vendor type for the payment credential provider (e.g., CoinbaseCDP, + StripePrivy). + """ + provider_configuration_input: PaymentProviderConfigurationInput | None = ... + """Configuration specific to the vendor, including API credentials.""" + tags: dict[str, str] | None = ... + """Optional tags for resource organization.""" + +@dataclass(kw_only=True) +class CreatePaymentCredentialProviderOutput(_SerdeShape): + """Dataclass for CreatePaymentCredentialProviderOutput structure.""" + + name: str + """The name of the created payment credential provider.""" + credential_provider_vendor: str + """The vendor type for the created payment credential provider.""" + credential_provider_arn: str + """ + The Amazon Resource Name (ARN) of the created payment credential + provider. + """ + provider_configuration_output: PaymentProviderConfigurationOutput + """ + Output configuration (contains secret ARNs, excludes actual secret + values). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePaymentManagerInput(_SerdeShape): + """Dataclass for CreatePaymentManagerInput structure.""" + + name: str | None = ... + """The name of the payment manager.""" + description: str | None = ... + """A description of the payment manager.""" + authorizer_type: str | None = ... + """ + The type of authorizer to use for the payment manager. + + - `CUSTOM_JWT` - Authorize with a bearer token. + + - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. + """ + authorizer_configuration: AuthorizerConfiguration | None = ... + """The authorizer configuration for the payment manager.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that the payment manager + assumes to access resources on your behalf. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """A map of tag keys and values to assign to the payment manager.""" + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the customer managed KMS key to use + for encrypting sensitive payment manager data at rest. If you don't + specify a key, the data is encrypted with an Amazon Web Services owned + key. + """ + +@dataclass(kw_only=True) +class CreatePaymentManagerOutput(_SerdeShape): + """Dataclass for CreatePaymentManagerOutput structure.""" + + payment_manager_arn: str + """The Amazon Resource Name (ARN) of the created payment manager.""" + payment_manager_id: str + """The unique identifier of the created payment manager.""" + name: str + """The name of the created payment manager.""" + authorizer_type: str + """The type of authorizer for the created payment manager.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """ + Represents inbound authorization configuration options used to + authenticate incoming requests. + """ + role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role associated with the + created payment manager. + """ + workload_identity_details: WorkloadIdentityDetails | None = ... + """The information about the workload identity.""" + created_at: datetime + """The timestamp when the payment manager was created.""" + status: str + """ + The current status of the payment manager. Possible values include + `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, + `UPDATE_FAILED`, and `DELETE_FAILED`. + """ + tags: dict[str, str] | None = ... + """The tags associated with the created payment manager.""" + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive + payment manager data at rest, if configured. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePolicyEngineInput(_SerdeShape): + """Dataclass for CreatePolicyEngineInput structure.""" + + name: str | None = ... + """ + The customer-assigned immutable name for the policy engine. This name + identifies the policy engine and cannot be changed after creation. + """ + description: str | None = ... + """ + A human-readable description of the policy engine's purpose and scope + (1-4,096 characters). This helps administrators understand the policy + engine's role in the overall governance strategy. Document which + Gateway this engine will be associated with, what types of tools or + workflows it governs, and the team or service responsible for + maintaining it. Clear descriptions are essential when managing multiple + policy engines across different services or environments. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. If you retry a request with the same client + token, the service returns the same response without creating a + duplicate policy engine. + + This field is autopopulated if not provided. + """ + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy + engine data. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to an AgentCore Policy. Tags + enable you to categorize your resources in different ways, for example, + by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreatePolicyEngineOutput(_SerdeShape): + """Dataclass for CreatePolicyEngineOutput structure.""" + + policy_engine_id: str + """ + The unique identifier for the created policy engine. This + system-generated identifier consists of the user name plus a + 10-character generated suffix and is used for all subsequent policy + engine operations. + """ + name: str + """ + The customer-assigned name of the created policy engine. This matches + the name provided in the request and serves as the human-readable + identifier. + """ + created_at: datetime + """ + The timestamp when the policy engine was created. This is automatically + set by the service and used for auditing and lifecycle management. + """ + updated_at: datetime + """ + The timestamp when the policy engine was last updated. For newly created + policy engines, this matches the `createdAt` timestamp. + """ + policy_engine_arn: str + """ + The Amazon Resource Name (ARN) of the created policy engine. This + globally unique identifier can be used for cross-service references and + IAM policy statements. + """ + status: str + """ + The current status of the policy engine. A status of `ACTIVE` indicates + the policy engine is ready for use. + """ + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy + engine data. + """ + description: str | None = ... + """A human-readable description of the policy engine's purpose.""" + status_reasons: list[str] + """ + Additional information about the policy engine status. This provides + details about any failures or the current state of the policy engine + creation process. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePolicyInput(_SerdeShape): + """Dataclass for CreatePolicyInput structure.""" + + name: str | None = ... + """ + The customer-assigned immutable name for the policy. Must be unique + within the account. This name is used for policy identification and + cannot be changed after creation. + """ + definition: PolicyDefinition | None = ... + """ + The Cedar or Dogwood policy statement that defines the access control + rules. This contains the actual policy logic written in Cedar or + Dogwood, specifying effect (permit or forbid), principals, actions, + resources, and conditions for agent behavior control. + """ + description: str | None = ... + """ + A human-readable description of the policy's purpose and functionality + (1-4,096 characters). This helps policy administrators understand the + policy's intent, business rules, and operational scope. Use this field + to document why the policy exists, what business requirement it + addresses, and any special considerations for maintenance. Clear + descriptions are essential for policy governance, auditing, and + troubleshooting. + """ + validation_mode: str = ... + """ + The validation mode for the policy creation. Determines how Cedar + analyzer validation results are handled during policy creation. + FAIL_ON_ANY_FINDINGS (default) runs the Cedar analyzer to validate the + policy against the Cedar schema and tool context, failing creation if + the analyzer detects any validation issues to ensure strict conformance. + IGNORE_ALL_FINDINGS runs the Cedar analyzer but allows policy creation + even if validation issues are detected, useful for testing or when the + policy schema is evolving. Use FAIL_ON_ANY_FINDINGS for production + policies to ensure correctness, and IGNORE_ALL_FINDINGS only when you + understand and accept the analyzer findings. + """ + enforcement_mode: str = ... + """ + The enforcement mode for the policy. Run this policy in `LOG_ONLY` mode + to collect data on how it affects your application. Once you are + satisfied with the data gathered, switch the policy to `ACTIVE`. + Defaults to `ACTIVE`. + """ + policy_engine_id: str | None = ... + """ + The identifier of the policy engine which contains this policy. Policy + engines group related policies and provide the execution context for + policy evaluation. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure the idempotency of the + request. The Amazon Web Services SDK automatically generates this token, + so you don't need to provide it in most cases. If you retry a request + with the same client token, the service returns the same response + without creating a duplicate policy. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreatePolicyOutput(_SerdeShape): + """Dataclass for CreatePolicyOutput structure.""" + + policy_id: str + """ + The unique identifier for the created policy. This is a system-generated + identifier consisting of the user name plus a 10-character generated + suffix, used for all subsequent policy operations. + """ + name: str + """ + The customer-assigned name of the created policy. This matches the name + provided in the request and serves as the human-readable identifier for + the policy. + """ + policy_engine_id: str + """ + The identifier of the policy engine that manages this policy. This + confirms the policy engine assignment and is used for policy evaluation + routing. + """ + created_at: datetime + """ + The timestamp when the policy was created. This is automatically set by + the service and used for auditing and lifecycle management. + """ + updated_at: datetime + """ + The timestamp when the policy was last updated. For newly created + policies, this matches the createdAt timestamp. + """ + policy_arn: str + """ + The Amazon Resource Name (ARN) of the created policy. This globally + unique identifier can be used for cross-service references and IAM + policy statements. + """ + status: str + """ + The current status of the policy. A status of `ACTIVE` indicates the + policy is ready for use. + """ + enforcement_mode: str = ... + """The enforcement mode of the created policy.""" + definition: PolicyDefinition + """ + The Cedar or Dogwood policy statement that was created. This is the + validated policy definition that will be used for agent behavior control + and access decisions. + """ + description: str | None = ... + """ + The human-readable description of the policy's purpose and + functionality. This helps administrators understand and manage the + policy. + """ + status_reasons: list[str] + """ + Additional information about the policy status. This provides details + about any failures or the current state of the policy creation process. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRegistryInput(_SerdeShape): + """Dataclass for CreateRegistryInput structure.""" + + name: str | None = ... + """ + The name of the registry. The name must be unique within your account + and can contain alphanumeric characters and underscores. + """ + description: str | None = ... + """A description of the registry.""" + authorizer_type: str | None = ... + """ + The type of authorizer to use for the registry. This controls the + authorization method for the Search and Invoke APIs used by consumers, + and does not affect the standard CRUDL APIs for registry and registry + record management used by administrators. + + - `CUSTOM_JWT` - Authorize with a bearer token. + + - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. + """ + authorizer_configuration: AuthorizerConfiguration | None = ... + """ + The authorizer configuration for the registry. Required if + `authorizerType` is `CUSTOM_JWT`. For details, see the + `AuthorizerConfiguration` data type. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + approval_configuration: ApprovalConfiguration | None = ... + """ + The approval configuration for registry records. Controls whether + records require explicit approval before becoming active. See the + `ApprovalConfiguration` data type for supported configuration options. + """ + +@dataclass(kw_only=True) +class CreateRegistryOutput(_SerdeShape): + """Dataclass for CreateRegistryOutput structure.""" + + registry_arn: str + """The Amazon Resource Name (ARN) of the created registry.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRegistryRecordInput(_SerdeShape): + """Dataclass for CreateRegistryRecordInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry where the record will be created. You can + specify either the Amazon Resource Name (ARN) or the ID of the registry. + """ + name: str | None = ... + """The name of the registry record.""" + description: str | None = ... + """A description of the registry record.""" + descriptor_type: str | None = ... + """ + The descriptor type of the registry record. + + - `MCP` - Model Context Protocol descriptor for MCP-compatible servers + and tools. + + - `A2A` - Agent-to-Agent protocol descriptor. + + - `CUSTOM` - Custom descriptor type for resources such as APIs, Lambda + functions, or servers not conforming to a standard protocol. + + - `AGENT_SKILLS` - Agent skills descriptor for defining agent skill + definitions. + """ + descriptors: Descriptors | None = ... + """ + The descriptor-type-specific configuration containing the resource + schema and metadata. The structure of this field depends on the + `descriptorType` you specify. + """ + record_version: str | None = ... + """ + The version of the registry record. Use this to track different versions + of the record's content. + """ + synchronization_type: str | None = ... + """ + The type of synchronization to use for keeping the record metadata up to + date from an external source. Possible values include `FROM_URL` and + `NONE`. + """ + synchronization_configuration: SynchronizationConfiguration | None = ... + """ + The configuration for synchronizing registry record metadata from an + external source, such as a URL-based MCP server. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateRegistryRecordOutput(_SerdeShape): + """Dataclass for CreateRegistryRecordOutput structure.""" + + record_arn: str + """The Amazon Resource Name (ARN) of the created registry record.""" + status: str + """ + The status of the registry record. Set to `CREATING` while the + asynchronous workflow is in progress. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateWorkloadIdentityInput(_SerdeShape): + """Dataclass for CreateWorkloadIdentityInput structure.""" + + name: str | None = ... + """ + The name of the workload identity. The name must be unique within your + account. + """ + allowed_resource_oauth2_return_urls: list[str] | None = ... + """ + The list of allowed OAuth2 return URLs for resources associated with + this workload identity. + """ + tags: dict[str, str] | None = ... + """ + A map of tag keys and values to assign to the workload identity. Tags + enable you to categorize your resources in different ways, for example, + by purpose, owner, or environment. + """ + +@dataclass(kw_only=True) +class CreateWorkloadIdentityOutput(_SerdeShape): + """Dataclass for CreateWorkloadIdentityOutput structure.""" + + name: str + """The name of the workload identity.""" + workload_identity_arn: str + """The Amazon Resource Name (ARN) of the workload identity.""" + allowed_resource_oauth2_return_urls: list[str] | None = ... + """ + The list of allowed OAuth2 return URLs for resources associated with + this workload identity. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class CredentialProviderOauthCredentialProvider(_SerdeShape): + """ + The OAuth credential provider. This provider uses OAuth authentication + to access the target endpoint. + """ + + value: OAuthCredentialProvider + +@dataclass +class CredentialProviderApiKeyCredentialProvider(_SerdeShape): + """ + The API key credential provider. This provider uses an API key to + authenticate with the target endpoint. + """ + + value: GatewayApiKeyCredentialProvider + +@dataclass +class CredentialProviderIamCredentialProvider(_SerdeShape): + """ + The IAM credential provider. This provider uses IAM authentication with + SigV4 signing to access the target endpoint. + """ + + value: IamCredentialProvider + +@dataclass +class CredentialProviderUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CredentialProvider = Union[ + CredentialProviderOauthCredentialProvider + | CredentialProviderApiKeyCredentialProvider + | CredentialProviderIamCredentialProvider + | CredentialProviderUnknown +] +""" +A credential provider for gateway authentication. This structure +contains the configuration for authenticating with the target endpoint. +""" + +class _CredentialProviderDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> CredentialProvider: ... + +@dataclass(kw_only=True) +class CredentialProviderConfiguration(_SerdeShape): + """ + The configuration for a credential provider. This structure defines how + the gateway authenticates with the target endpoint. + """ + + credential_provider_type: str + """ + The type of credential provider. This field specifies which + authentication method the gateway uses. + """ + credential_provider: CredentialProvider | None = ... + """ + The credential provider. This field contains the specific configuration + for the credential provider type. + """ + +class CredentialProviderType(UnknownEnumMixin, StrEnum): + GATEWAY_IAM_ROLE = "GATEWAY_IAM_ROLE" + OAUTH = "OAUTH" + API_KEY = "API_KEY" + CALLER_IAM_CREDENTIALS = "CALLER_IAM_CREDENTIALS" + JWT_PASSTHROUGH = "JWT_PASSTHROUGH" + +class CredentialProviderVendorType(UnknownEnumMixin, StrEnum): + GOOGLE_OAUTH2 = "GoogleOauth2" + GITHUB_OAUTH2 = "GithubOauth2" + SLACK_OAUTH2 = "SlackOauth2" + SALESFORCE_OAUTH2 = "SalesforceOauth2" + MICROSOFT_OAUTH2 = "MicrosoftOauth2" + CUSTOM_OAUTH2 = "CustomOauth2" + ATLASSIAN_OAUTH2 = "AtlassianOauth2" + LINKEDIN_OAUTH2 = "LinkedinOauth2" + X_OAUTH2 = "XOauth2" + OKTA_OAUTH2 = "OktaOauth2" + ONE_LOGIN_OAUTH2 = "OneLoginOauth2" + PING_ONE_OAUTH2 = "PingOneOauth2" + FACEBOOK_OAUTH2 = "FacebookOauth2" + YANDEX_OAUTH2 = "YandexOauth2" + REDDIT_OAUTH2 = "RedditOauth2" + ZOOM_OAUTH2 = "ZoomOauth2" + TWITCH_OAUTH2 = "TwitchOauth2" + SPOTIFY_OAUTH2 = "SpotifyOauth2" + DROPBOX_OAUTH2 = "DropboxOauth2" + NOTION_OAUTH2 = "NotionOauth2" + HUBSPOT_OAUTH2 = "HubspotOauth2" + CYBER_ARK_OAUTH2 = "CyberArkOauth2" + FUSION_AUTH_OAUTH2 = "FusionAuthOauth2" + AUTH0_OAUTH2 = "Auth0Oauth2" + COGNITO_OAUTH2 = "CognitoOauth2" + +@dataclass +class CredentialRotationConfigCoinbaseCDP(_SerdeShape): + """The credentials to rotate for a Coinbase CDP payment connector.""" + + value: CoinbaseCdpRotationTargets + +@dataclass +class CredentialRotationConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CredentialRotationConfig = Union[ + CredentialRotationConfigCoinbaseCDP | CredentialRotationConfigUnknown +] +""" +Specifies the service-managed credentials to rotate. Provide the member +that matches the payment connector's `type`. +""" + +class _CredentialRotationConfigDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CredentialRotationConfig: ... + +@dataclass +class CredentialsProviderConfigurationCoinbaseCDP(_SerdeShape): + """ + The credential provider configuration for a Coinbase CDP payment + connector. + """ + + value: PaymentCredentialProviderConfiguration + +@dataclass +class CredentialsProviderConfigurationStripePrivy(_SerdeShape): + """ + The credential provider configuration for a Stripe Privy payment + connector. + """ + + value: PaymentCredentialProviderConfiguration + +@dataclass +class CredentialsProviderConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CredentialsProviderConfiguration = Union[ + CredentialsProviderConfigurationCoinbaseCDP + | CredentialsProviderConfigurationStripePrivy + | CredentialsProviderConfigurationUnknown +] +""" +The credential provider configuration for a payment connector. Specifies +the payment provider type and its associated credential provider. +""" + +class _CredentialsProviderConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CredentialsProviderConfiguration: ... + +@dataclass(kw_only=True) +class CustomClaimValidationType(_SerdeShape): + """ + Defines the name of a custom claim field and rules for finding matches + to authenticate its value. + """ + + inbound_token_claim_name: str + """The name of the custom claim field to check.""" + inbound_token_claim_value_type: str + """ + The data type of the claim value to check for. + + - Use `STRING` if you want to find an exact match to a string you + define. + + - Use `STRING_ARRAY` if you want to fnd a match to at least one value in + an array you define. + """ + authorizing_claim_match_value: AuthorizingClaimMatchValueType + """ + Defines the value or values to match for and the relationship of the + match. + """ + +@dataclass +class CustomConfigurationInputSemanticOverride(_SerdeShape): + """The semantic override configuration for a custom memory strategy.""" + + value: SemanticOverrideConfigurationInput + +@dataclass +class CustomConfigurationInputSummaryOverride(_SerdeShape): + """The summary override configuration for a custom memory strategy.""" + + value: SummaryOverrideConfigurationInput + +@dataclass +class CustomConfigurationInputUserPreferenceOverride(_SerdeShape): + """The user preference override configuration for a custom memory strategy.""" + + value: UserPreferenceOverrideConfigurationInput + +@dataclass +class CustomConfigurationInputEpisodicOverride(_SerdeShape): + """ + The episodic memory strategy override configuration for a custom memory + strategy. + """ + + value: EpisodicOverrideConfigurationInput + +@dataclass +class CustomConfigurationInputSelfManagedConfiguration(_SerdeShape): + """The self managed configuration for a custom memory strategy.""" + + value: SelfManagedConfigurationInput + +@dataclass +class CustomConfigurationInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CustomConfigurationInput = Union[ + CustomConfigurationInputSemanticOverride + | CustomConfigurationInputSummaryOverride + | CustomConfigurationInputUserPreferenceOverride + | CustomConfigurationInputEpisodicOverride + | CustomConfigurationInputSelfManagedConfiguration + | CustomConfigurationInputUnknown +] +"""Input for custom configuration of a memory strategy.""" + +class _CustomConfigurationInputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CustomConfigurationInput: ... + +@dataclass +class CustomConsolidationConfigurationSemanticConsolidationOverride(_SerdeShape): + """The semantic consolidation override configuration.""" + + value: SemanticConsolidationOverride + +@dataclass +class CustomConsolidationConfigurationSummaryConsolidationOverride(_SerdeShape): + """The summary consolidation override configuration.""" + + value: SummaryConsolidationOverride + +@dataclass +class CustomConsolidationConfigurationUserPreferenceConsolidationOverride(_SerdeShape): + """The user preference consolidation override configuration.""" + + value: UserPreferenceConsolidationOverride + +@dataclass +class CustomConsolidationConfigurationEpisodicConsolidationOverride(_SerdeShape): + """ + The configurations to override the default consolidation step for the + episodic memory strategy. + """ + + value: EpisodicConsolidationOverride + +@dataclass +class CustomConsolidationConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CustomConsolidationConfiguration = Union[ + CustomConsolidationConfigurationSemanticConsolidationOverride + | CustomConsolidationConfigurationSummaryConsolidationOverride + | CustomConsolidationConfigurationUserPreferenceConsolidationOverride + | CustomConsolidationConfigurationEpisodicConsolidationOverride + | CustomConsolidationConfigurationUnknown +] +"""Contains custom consolidation configuration information.""" + +class _CustomConsolidationConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CustomConsolidationConfiguration: ... + +@dataclass +class CustomConsolidationConfigurationInputSemanticConsolidationOverride(_SerdeShape): + """The semantic consolidation override configuration input.""" + + value: SemanticOverrideConsolidationConfigurationInput + +@dataclass +class CustomConsolidationConfigurationInputSummaryConsolidationOverride(_SerdeShape): + """The summary consolidation override configuration input.""" + + value: SummaryOverrideConsolidationConfigurationInput + +@dataclass +class CustomConsolidationConfigurationInputUserPreferenceConsolidationOverride( + _SerdeShape +): + """The user preference consolidation override configuration input.""" + + value: UserPreferenceOverrideConsolidationConfigurationInput + +@dataclass +class CustomConsolidationConfigurationInputEpisodicConsolidationOverride(_SerdeShape): + """ + Configurations to override the consolidation step of the episodic + strategy. + """ + + value: EpisodicOverrideConsolidationConfigurationInput + +@dataclass +class CustomConsolidationConfigurationInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CustomConsolidationConfigurationInput = Union[ + CustomConsolidationConfigurationInputSemanticConsolidationOverride + | CustomConsolidationConfigurationInputSummaryConsolidationOverride + | CustomConsolidationConfigurationInputUserPreferenceConsolidationOverride + | CustomConsolidationConfigurationInputEpisodicConsolidationOverride + | CustomConsolidationConfigurationInputUnknown +] +"""Input for a custom consolidation configuration.""" + +class _CustomConsolidationConfigurationInputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CustomConsolidationConfigurationInput: ... + +@dataclass(kw_only=True) +class CustomDescriptor(_SerdeShape): + """ + A custom descriptor for a registry record. Use this for resources such + as APIs, Lambda functions, or servers that do not conform to a standard + protocol like MCP or A2A. + """ + + inline_content: str | None = ... + """ + The custom descriptor content as a valid JSON document. You can define + any custom schema that describes your resource. + """ + +@dataclass +class CustomExtractionConfigurationSemanticExtractionOverride(_SerdeShape): + """The semantic extraction override configuration.""" + + value: SemanticExtractionOverride + +@dataclass +class CustomExtractionConfigurationUserPreferenceExtractionOverride(_SerdeShape): + """The user preference extraction override configuration.""" + + value: UserPreferenceExtractionOverride + +@dataclass +class CustomExtractionConfigurationEpisodicExtractionOverride(_SerdeShape): + """ + The configurations to override the default extraction step for the + episodic memory strategy. + """ + + value: EpisodicExtractionOverride + +@dataclass +class CustomExtractionConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CustomExtractionConfiguration = Union[ + CustomExtractionConfigurationSemanticExtractionOverride + | CustomExtractionConfigurationUserPreferenceExtractionOverride + | CustomExtractionConfigurationEpisodicExtractionOverride + | CustomExtractionConfigurationUnknown +] +"""Contains custom extraction configuration information.""" + +class _CustomExtractionConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CustomExtractionConfiguration: ... + +@dataclass +class CustomExtractionConfigurationInputSemanticExtractionOverride(_SerdeShape): + """The semantic extraction override configuration input.""" + + value: SemanticOverrideExtractionConfigurationInput + +@dataclass +class CustomExtractionConfigurationInputUserPreferenceExtractionOverride(_SerdeShape): + """The user preference extraction override configuration input.""" + + value: UserPreferenceOverrideExtractionConfigurationInput + +@dataclass +class CustomExtractionConfigurationInputEpisodicExtractionOverride(_SerdeShape): + """Configurations to override the extraction step of the episodic strategy.""" + + value: EpisodicOverrideExtractionConfigurationInput + +@dataclass +class CustomExtractionConfigurationInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CustomExtractionConfigurationInput = Union[ + CustomExtractionConfigurationInputSemanticExtractionOverride + | CustomExtractionConfigurationInputUserPreferenceExtractionOverride + | CustomExtractionConfigurationInputEpisodicExtractionOverride + | CustomExtractionConfigurationInputUnknown +] +"""Input for a custom extraction configuration.""" + +class _CustomExtractionConfigurationInputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CustomExtractionConfigurationInput: ... + +@dataclass(kw_only=True) +class CustomJWTAuthorizerConfiguration(_SerdeShape): + """ + Configuration for inbound JWT-based authorization, specifying how + incoming requests should be authenticated. + """ + + discovery_url: str + """ + This URL is used to fetch OpenID Connect configuration or authorization + server metadata for validating incoming tokens. + """ + allowed_audience: list[str] | None = ... + """ + Represents individual audience values that are validated in the incoming + JWT token validation process. + """ + allowed_clients: list[str] | None = ... + """ + Represents individual client IDs that are validated in the incoming JWT + token validation process. + """ + allowed_scopes: list[str] | None = ... + """An array of scopes that are allowed to access the token.""" + advertised_scope_mapping: dict[str, str] | None = ... + """ + A map that associates each scope in `allowedScopes` with a corresponding + advertised scope value. The advertised scope appears in OAuth protected + resource metadata and `WWW-Authenticate` response headers. Use this + parameter when the scope that clients request from your identity + provider differs from the scope in the validated token. Each key is a + scope from `allowedScopes` that the service uses for token validation. + Each value is the corresponding scope that the service advertises to + clients. Scopes without a mapping entry appear unchanged to clients. + """ + custom_claims: list[CustomClaimValidationType] | None = ... + """ + An array of objects that define a custom claim validation name, value, + and operation + """ + private_endpoint: PrivateEndpoint | None = ... + """ + The private endpoint configuration for a gateway target. Defines how the + gateway connects to private resources in your VPC. + """ + private_endpoint_overrides: list[PrivateEndpointOverride] | None = ... + """ + The private endpoint overrides for the custom JWT authorizer + configuration. + """ + certificate_configurations: list[CertificateConfiguration] | None = ... + """ + The private certificate authority (CA) configurations for the identity + provider. Use this to have AgentCore Identity trust a private CA when + establishing TLS connections to identity provider endpoints. You can + specify only one certificate authority configuration in this list. + Provide the certificate by reference to an Amazon S3 object or an Amazon + Web Services Secrets Manager secret. You can use this only together with + `privateEndpoint`. + """ + allowed_workload_configuration: AllowedWorkloadConfiguration | None = ... + """ + The configuration that restricts which workloads in the request's + identity chain are allowed to invoke the target, identified by their + hosting environments and workload identities. At launch, this is + supported only for AgentCore Runtime targets, and the allowed workloads + are AgentCore Gateways. + """ + +@dataclass(kw_only=True) +class CustomMemoryStrategyInput(_SerdeShape): + """Input for creating a custom memory strategy.""" + + name: str + """The name of the custom memory strategy.""" + description: str | None = ... + """The description of the custom memory strategy.""" + namespaces: list[str] | None = ... + """ + This is a legacy parameter, use `namespaceTemplates`. The namespaces + associated with the custom memory strategy. + """ + namespace_templates: list[str] | None = ... + """The namespaceTemplates associated with the custom memory strategy.""" + configuration: CustomConfigurationInput | None = ... + """The configuration for the custom memory strategy.""" + memory_record_schema: MemoryRecordSchema | None = ... + """Schema for metadata fields on records generated by this strategy.""" + record_expiry_specification: RecordExpirySpecification | None = ... + """ + The record expiry (long-term memory time-to-live) configuration for + memory records generated by this strategy. Set + `recordExpiryDurationDays` to the number of days after which records + expire. If not specified, records generated by this strategy do not + expire. + """ + +@dataclass(kw_only=True) +class CustomOauth2ProviderConfigInput(_SerdeShape): + """Input configuration for a custom OAuth2 provider.""" + + oauth_discovery: Oauth2Discovery + """The OAuth2 discovery information for the custom provider.""" + client_id: str = ... + """The client ID for the custom OAuth2 provider.""" + client_secret: str = ... + """The client secret for the custom OAuth2 provider.""" + client_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the client secret. This includes the secret ID and the JSON key + used to extract the client secret value from the secret. Required when + `clientSecretSource` is set to `EXTERNAL`. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + on_behalf_of_token_exchange_config: OnBehalfOfTokenExchangeConfigType | None = ... + """ + The configuration for on-behalf-of token exchange. This enables + authentication flows that use RFC 8693 token exchange or RFC 7523 JWT + authorization grants. + """ + client_authentication_method: str | None = ... + """ + The client authentication method to use when authenticating with the + token endpoint. + """ + private_key_jwt_config: PrivateKeyJwtConfig | None = ... + """ + The private_key_jwt client authentication configuration for this + credential provider. When specified, the credential provider uses JWT + client assertions to authenticate with the token endpoint. + """ + private_endpoint: PrivateEndpoint | None = ... + """ + The default private endpoint for the custom OAuth2 provider, enabling + secure connectivity through a VPC Lattice resource configuration. + """ + private_endpoint_overrides: list[PrivateEndpointOverride] | None = ... + """ + The private endpoint overrides for the custom OAuth2 provider + configuration. + """ + certificate_configurations: list[CertificateConfiguration] | None = ... + """ + The private certificate authority (CA) configurations for the identity + provider. Use this to have AgentCore Identity trust a private CA when + establishing TLS connections to identity provider endpoints. You can + specify only one certificate authority configuration in this list. + Provide the certificate by reference to an Amazon S3 object or an Amazon + Web Services Secrets Manager secret. You can use this only together with + `privateEndpoint`. + """ + +@dataclass(kw_only=True) +class CustomOauth2ProviderConfigOutput(_SerdeShape): + """Output configuration for a custom OAuth2 provider.""" + + oauth_discovery: Oauth2Discovery + """The OAuth2 discovery information for the custom provider.""" + client_id: str | None = ... + """The client ID for the custom OAuth2 provider.""" + on_behalf_of_token_exchange_config: OnBehalfOfTokenExchangeConfigType | None = ... + """The configuration for on-behalf-of token exchange.""" + client_authentication_method: str | None = ... + """ + The client authentication method used when authenticating with the token + endpoint. + """ + private_endpoint: PrivateEndpoint | None = ... + """ + The default private endpoint for the custom OAuth2 provider, enabling + secure connectivity through a VPC Lattice resource configuration. + """ + private_endpoint_overrides: list[PrivateEndpointOverride] | None = ... + """ + The private endpoint overrides for the custom OAuth2 provider + configuration. + """ + certificate_configurations: list[CertificateConfiguration] | None = ... + """ + The private certificate authority (CA) configurations for the identity + provider. Use this to have AgentCore Identity trust a private CA when + establishing TLS connections to identity provider endpoints. You can + specify only one certificate authority configuration in this list. + Provide the certificate by reference to an Amazon S3 object or an Amazon + Web Services Secrets Manager secret. You can use this only together with + `privateEndpoint`. + """ + private_key_jwt_config: PrivateKeyJwtConfig | None = ... + """ + The configuration for private_key_jwt client authentication used by this + OAuth2 credential provider. + """ + +@dataclass +class CustomReflectionConfigurationEpisodicReflectionOverride(_SerdeShape): + """The configuration for a reflection strategy to override the default one.""" + + value: EpisodicReflectionOverride + +@dataclass +class CustomReflectionConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CustomReflectionConfiguration = Union[ + CustomReflectionConfigurationEpisodicReflectionOverride + | CustomReflectionConfigurationUnknown +] +"""Contains configurations for a custom reflection strategy.""" + +class _CustomReflectionConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CustomReflectionConfiguration: ... + +@dataclass +class CustomReflectionConfigurationInputEpisodicReflectionOverride(_SerdeShape): + """The reflection override configuration input.""" + + value: EpisodicOverrideReflectionConfigurationInput + +@dataclass +class CustomReflectionConfigurationInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CustomReflectionConfigurationInput = Union[ + CustomReflectionConfigurationInputEpisodicReflectionOverride + | CustomReflectionConfigurationInputUnknown +] +"""Input for a custom reflection configuration.""" + +class _CustomReflectionConfigurationInputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CustomReflectionConfigurationInput: ... + +@dataclass(kw_only=True) +class CustomTransformConfiguration(_SerdeShape): + """ + The configuration for custom transformations applied to requests and + responses through the gateway. This structure defines how the gateway + transforms data. + """ + + lambda_: LambdaTransformConfiguration | None = ... + """ + The Lambda configuration for custom transformations. This configuration + defines how the gateway uses a Lambda function to transform data. + """ + +class DatasetSchemaType(UnknownEnumMixin, StrEnum): + """ + Versioned schema type for dataset examples. Each value identifies both + the source format and the version of that format's schema. + """ + + AGENTCORE_EVALUATION_PREDEFINED_V1 = "AGENTCORE_EVALUATION_PREDEFINED_V1" + """ + AgentCore predefined evaluation schema, version 1. Dataset with + pre-written inputs per conversation turn. + """ + AGENTCORE_EVALUATION_SIMULATED_V1 = "AGENTCORE_EVALUATION_SIMULATED_V1" + """ + AgentCore simulated evaluation schema, version 1. Dataset for synthetic + data generation where each example is a scenario used to generate full + conversations. + """ + THIRD_PARTY_EVALUATION_V1 = "THIRD_PARTY_EVALUATION_V1" + """ + Third-party evaluation schema, version 1. Supports single-turn (string + input) and multi-turn (message list input) across third-party evaluation + frameworks. + """ + +class DatasetStatus(UnknownEnumMixin, StrEnum): + """Dataset lifecycle and operation status.""" + + CREATING = "CREATING" + """CreateDataset async ingestion in progress. All writes are blocked.""" + UPDATING = "UPDATING" + """ + An async example mutation or CreateDatasetVersion is in progress. All + writes are blocked. + """ + DELETING = "DELETING" + """ + Full or version-specific delete is in progress. Read operations are + still allowed. + """ + ACTIVE = "ACTIVE" + """ + Dataset is stable. All operations are allowed per operation-specific + guards. + """ + CREATE_FAILED = "CREATE_FAILED" + """Initial ingestion failed. DRAFT record exists but contains no examples.""" + UPDATE_FAILED = "UPDATE_FAILED" + """ + Last example mutation or CreateDatasetVersion failed. DRAFT may be + partially modified. + """ + DELETE_FAILED = "DELETE_FAILED" + """ + Delete failed after retries. Dataset record may be in an inconsistent + state. + """ + +@dataclass(kw_only=True) +class DatasetSummary(_SerdeShape): + """Summary information about a dataset.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the dataset.""" + dataset_id: str + """The unique identifier of the dataset.""" + dataset_name: str + """The name of the dataset.""" + description: str | None = ... + """The description of the dataset.""" + status: str + """The current status of the dataset.""" + draft_status: str | None = ... + """Publish synchronization state. Only authoritative when status is ACTIVE.""" + schema_type: str + """The schema type of the dataset.""" + example_count: int + """The number of examples in the dataset.""" + created_at: datetime + """The timestamp when the dataset was created.""" + updated_at: datetime + """The timestamp when the dataset was last updated.""" + +@dataclass(kw_only=True) +class DatasetVersionSummary(_SerdeShape): + """Summary information about a published dataset version.""" + + dataset_version: str + """The version number of this published snapshot.""" + example_count: int + """The number of examples in this version.""" + created_at: datetime + """The timestamp when this version was published.""" + +@dataclass +class DataSourceConfigCloudWatchLogs(_SerdeShape): + """ + The CloudWatch logs configuration for reading agent traces from log + groups. + """ + + value: CloudWatchLogsInputConfig + +@dataclass +class DataSourceConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DataSourceConfig = Union[DataSourceConfigCloudWatchLogs | DataSourceConfigUnknown] +""" +The configuration that specifies where to read agent traces for online +evaluation. +""" + +class _DataSourceConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> DataSourceConfig: ... + +@dataclass +class DataSourceTypeInlineExamples(_SerdeShape): + """Inline examples provided directly in the request body.""" + + value: InlineExamplesSource + +@dataclass +class DataSourceTypeS3Source(_SerdeShape): + """Amazon S3 URI pointing to a JSONL file in the customer's bucket.""" + + value: S3Source + +@dataclass +class DataSourceTypeUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DataSourceType = Union[ + DataSourceTypeInlineExamples | DataSourceTypeS3Source | DataSourceTypeUnknown +] +"""Source of examples to add to the dataset.""" + +class _DataSourceTypeDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> DataSourceType: ... + +@dataclass(kw_only=True) +class DecryptionFailure(ServiceError, _SerdeShape): + """Exception thrown when decryption of a secret fails.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAgentRuntimeEndpointInput(_SerdeShape): + """Dataclass for DeleteAgentRuntimeEndpointInput structure.""" + + agent_runtime_id: str | None = ... + """ + The unique identifier of the AgentCore Runtime associated with the + endpoint. + """ + endpoint_name: str | None = ... + """The name of the AgentCore Runtime endpoint to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteAgentRuntimeEndpointOutput(_SerdeShape): + """Dataclass for DeleteAgentRuntimeEndpointOutput structure.""" + + status: str + """The current status of the AgentCore Runtime endpoint deletion.""" + agent_runtime_id: str | None = ... + """The unique identifier of the AgentCore Runtime.""" + endpoint_name: str | None = ... + """The name of the AgentCore Runtime endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAgentRuntimeInput(_SerdeShape): + """Dataclass for DeleteAgentRuntimeInput structure.""" + + agent_runtime_id: str | None = ... + """The unique identifier of the AgentCore Runtime to delete.""" + agent_runtime_version: str | None = ... + """ + The version of the AgentCore Runtime to delete. When you provide this + value, only that version is deleted. When you omit it, the entire + AgentCore Runtime and all of its versions are deleted. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, the service ignores the request but does not return an error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteAgentRuntimeOutput(_SerdeShape): + """Dataclass for DeleteAgentRuntimeOutput structure.""" + + status: str + """The current status of the AgentCore Runtime deletion.""" + agent_runtime_id: str | None = ... + """The unique identifier of the AgentCore Runtime.""" + agent_runtime_version: str | None = ... + """ + The version of the AgentCore Runtime that was deleted. This value is + present only when you delete a single version. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteApiKeyCredentialProviderInput(_SerdeShape): + """Dataclass for DeleteApiKeyCredentialProviderInput structure.""" + + name: str | None = ... + """The name of the API key credential provider to delete.""" + +@dataclass(kw_only=True) +class DeleteApiKeyCredentialProviderOutput(_SerdeShape): + """Dataclass for DeleteApiKeyCredentialProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBrowserInput(_SerdeShape): + """Dataclass for DeleteBrowserInput structure.""" + + browser_id: str | None = ... + """The unique identifier of the browser to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteBrowserOutput(_SerdeShape): + """Dataclass for DeleteBrowserOutput structure.""" + + browser_id: str + """The unique identifier of the deleted browser.""" + status: str + """The current status of the browser deletion.""" + last_updated_at: datetime + """The timestamp when the browser was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBrowserProfileInput(_SerdeShape): + """Dataclass for DeleteBrowserProfileInput structure.""" + + profile_id: str | None = ... + """The unique identifier of the browser profile to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteBrowserProfileOutput(_SerdeShape): + """Dataclass for DeleteBrowserProfileOutput structure.""" + + profile_id: str + """The unique identifier of the deleted browser profile.""" + profile_arn: str + """The Amazon Resource Name (ARN) of the deleted browser profile.""" + status: str + """The current status of the browser profile deletion.""" + last_updated_at: datetime + """The timestamp when the browser profile was last updated.""" + last_saved_at: datetime | None = ... + """ + The timestamp when browser session data was last saved to this profile + before deletion. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCapacityProviderInput(_SerdeShape): + """Dataclass for DeleteCapacityProviderInput structure.""" + + capacity_provider_id: str | None = ... + """The unique identifier of the capacity provider to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteCapacityProviderOutput(_SerdeShape): + """Dataclass for DeleteCapacityProviderOutput structure.""" + + capacity_provider_id: str + """The unique identifier of the deleted capacity provider.""" + status: str + """ + The current status of the capacity provider. For possible values, see + `CapacityProviderStatus`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCodeInterpreterInput(_SerdeShape): + """Dataclass for DeleteCodeInterpreterInput structure.""" + + code_interpreter_id: str | None = ... + """The unique identifier of the code interpreter to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteCodeInterpreterOutput(_SerdeShape): + """Dataclass for DeleteCodeInterpreterOutput structure.""" + + code_interpreter_id: str + """The unique identifier of the deleted code interpreter.""" + status: str + """The current status of the code interpreter deletion.""" + last_updated_at: datetime + """The timestamp when the code interpreter was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteConfigurationBundleInput(_SerdeShape): + """Dataclass for DeleteConfigurationBundleInput structure.""" + + bundle_id: str | None = ... + """The unique identifier of the configuration bundle to delete.""" + +@dataclass(kw_only=True) +class DeleteConfigurationBundleOutput(_SerdeShape): + """Dataclass for DeleteConfigurationBundleOutput structure.""" + + bundle_arn: str | None = ... + """The Amazon Resource Name (ARN) of the deleted configuration bundle.""" + bundle_id: str + """The unique identifier of the deleted configuration bundle.""" + status: str + """The status of the configuration bundle deletion operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteConsentPortalInput(_SerdeShape): + """Dataclass for DeleteConsentPortalInput structure.""" + + consent_portal_identifier: str | None = ... + """ + The identifier of the consent portal. You can specify either the consent + portal ID or its Amazon Resource Name (ARN). + """ + +@dataclass(kw_only=True) +class DeleteConsentPortalOutput(_SerdeShape): + """Dataclass for DeleteConsentPortalOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDatasetExamplesInput(_SerdeShape): + """Dataclass for DeleteDatasetExamplesInput structure.""" + + dataset_id: str | None = ... + """The unique identifier of the dataset.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + example_ids: list[str] | None = ... + """The IDs of the examples to delete.""" + +@dataclass(kw_only=True) +class DeleteDatasetExamplesOutput(_SerdeShape): + """Dataclass for DeleteDatasetExamplesOutput structure.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the dataset.""" + dataset_id: str + """The unique identifier of the dataset.""" + status: str + """The current status of the dataset.""" + deleted_count: int + """The number of examples deleted.""" + updated_at: datetime + """The timestamp when the examples were deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDatasetInput(_SerdeShape): + """Dataclass for DeleteDatasetInput structure.""" + + dataset_id: str | None = ... + """The unique identifier of the dataset to delete.""" + dataset_version: str | None = ... + """ + Optional version to delete. If absent, deletes the entire dataset. If + provided, deletes only that specific version. + """ + +@dataclass(kw_only=True) +class DeleteDatasetOutput(_SerdeShape): + """Dataclass for DeleteDatasetOutput structure.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the dataset.""" + dataset_id: str + """The unique identifier of the dataset.""" + status: str + """The current status of the dataset after the delete request.""" + dataset_version: str + """The version that was deleted.""" + updated_at: datetime + """The timestamp when the delete was initiated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteEvaluatorInput(_SerdeShape): + """Dataclass for DeleteEvaluatorInput structure.""" + + evaluator_id: str | None = ... + """The unique identifier of the evaluator to delete.""" + +@dataclass(kw_only=True) +class DeleteEvaluatorOutput(_SerdeShape): + """Dataclass for DeleteEvaluatorOutput structure.""" + + evaluator_arn: str + """The Amazon Resource Name (ARN) of the deleted evaluator.""" + evaluator_id: str + """The unique identifier of the deleted evaluator.""" + status: str + """The status of the evaluator deletion operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGatewayInput(_SerdeShape): + """Dataclass for DeleteGatewayInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway to delete.""" + +@dataclass(kw_only=True) +class DeleteGatewayOutput(_SerdeShape): + """Dataclass for DeleteGatewayOutput structure.""" + + gateway_id: str + """The unique identifier of the deleted gateway.""" + status: str + """The current status of the gateway deletion.""" + status_reasons: list[str] | None = ... + """The reasons for the current status of the gateway deletion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGatewayRateLimitInput(_SerdeShape): + """Dataclass for DeleteGatewayRateLimitInput structure.""" + + gateway_identifier: str | None = ... + """The unique identifier of the gateway.""" + rate_limit_id: str | None = ... + """The unique identifier of the rate limit to delete.""" + +@dataclass(kw_only=True) +class DeleteGatewayRateLimitOutput(_SerdeShape): + """Dataclass for DeleteGatewayRateLimitOutput structure.""" + + rate_limit_id: str + """The unique identifier of the deleted rate limit.""" + status: str + """The current status of the rate limit deletion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGatewayRuleInput(_SerdeShape): + """Dataclass for DeleteGatewayRuleInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway containing the rule.""" + rule_id: str | None = ... + """The unique identifier of the rule to delete.""" + +@dataclass(kw_only=True) +class DeleteGatewayRuleOutput(_SerdeShape): + """Dataclass for DeleteGatewayRuleOutput structure.""" + + rule_id: str + """The unique identifier of the deleted rule.""" + status: str + """The status of the rule deletion operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGatewayTargetInput(_SerdeShape): + """Dataclass for DeleteGatewayTargetInput structure.""" + + gateway_identifier: str | None = ... + """The unique identifier of the gateway associated with the target.""" + target_id: str | None = ... + """The unique identifier of the gateway target to delete.""" + +@dataclass(kw_only=True) +class DeleteGatewayTargetOutput(_SerdeShape): + """Dataclass for DeleteGatewayTargetOutput structure.""" + + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway.""" + target_id: str + """The unique identifier of the deleted gateway target.""" + status: str + """The current status of the gateway target deletion.""" + status_reasons: list[str] | None = ... + """The reasons for the current status of the gateway target deletion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteHarnessEndpointInput(_SerdeShape): + """Dataclass for DeleteHarnessEndpointInput structure.""" + + harness_id: str | None = ... + """The ID of the harness that the endpoint belongs to.""" + endpoint_name: str | None = ... + """The name of the endpoint to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteHarnessEndpointOutput(_SerdeShape): + """Dataclass for DeleteHarnessEndpointOutput structure.""" + + endpoint: HarnessEndpoint + """The endpoint that was deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteHarnessInput(_SerdeShape): + """Dataclass for DeleteHarnessInput structure.""" + + harness_id: str | None = ... + """The ID of the harness to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + delete_managed_memory: bool | None = ... + """ + Whether to delete the managed memory on harness deletion. Default: true. + If false, the memory is disassociated and becomes a regular + customer-owned resource. + """ + +@dataclass(kw_only=True) +class DeleteHarnessOutput(_SerdeShape): + """Dataclass for DeleteHarnessOutput structure.""" + + harness: Harness | None = ... + """The harness that was deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteMemoryInput(_SerdeShape): + """Dataclass for DeleteMemoryInput structure.""" + + client_token: str | None = ... + """ + A client token is used for keeping track of idempotent requests. It can + contain a session id which can be around 250 chars, combined with a + unique Amazon Web Services identifier. + + This field is autopopulated if not provided. + """ + memory_id: str | None = ... + """The unique identifier of the memory to delete.""" + +@dataclass(kw_only=True) +class DeleteMemoryOutput(_SerdeShape): + """Dataclass for DeleteMemoryOutput structure.""" + + memory_id: str + """The unique identifier of the deleted AgentCore Memory resource.""" + status: str | None = ... + """The current status of the AgentCore Memory resource deletion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteMemoryStrategyInput(_SerdeShape): + """Input for deleting a memory strategy.""" + + memory_strategy_id: str + """The unique identifier of the memory strategy to delete.""" + +@dataclass(kw_only=True) +class DeleteOauth2CredentialProviderInput(_SerdeShape): + """Dataclass for DeleteOauth2CredentialProviderInput structure.""" + + name: str | None = ... + """The name of the OAuth2 credential provider to delete.""" + +@dataclass(kw_only=True) +class DeleteOauth2CredentialProviderOutput(_SerdeShape): + """Dataclass for DeleteOauth2CredentialProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteOnlineEvaluationConfigInput(_SerdeShape): + """Dataclass for DeleteOnlineEvaluationConfigInput structure.""" + + online_evaluation_config_id: str | None = ... + """The unique identifier of the online evaluation configuration to delete.""" + +@dataclass(kw_only=True) +class DeleteOnlineEvaluationConfigOutput(_SerdeShape): + """Dataclass for DeleteOnlineEvaluationConfigOutput structure.""" + + online_evaluation_config_arn: str + """ + The Amazon Resource Name (ARN) of the deleted online evaluation + configuration. + """ + online_evaluation_config_id: str + """The unique identifier of the deleted online evaluation configuration.""" + status: str + """The status of the online evaluation configuration deletion operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePaymentConnectorInput(_SerdeShape): + """Dataclass for DeletePaymentConnectorInput structure.""" + + payment_manager_id: str | None = ... + """The unique identifier of the parent payment manager.""" + payment_connector_id: str | None = ... + """The unique identifier of the payment connector to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeletePaymentConnectorOutput(_SerdeShape): + """Dataclass for DeletePaymentConnectorOutput structure.""" + + status: str + """ + The current status of the payment connector, set to `DELETING` when + deletion is initiated. Possible values include `CREATING`, `READY`, + `UPDATING`, `DELETING`, `CREATE_FAILED`, `UPDATE_FAILED`, and + `DELETE_FAILED`. + """ + payment_connector_id: str | None = ... + """The unique identifier of the deleted payment connector.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePaymentCredentialProviderInput(_SerdeShape): + """Dataclass for DeletePaymentCredentialProviderInput structure.""" + + name: str | None = ... + """The name of the payment credential provider to delete.""" + +@dataclass(kw_only=True) +class DeletePaymentCredentialProviderOutput(_SerdeShape): + """Dataclass for DeletePaymentCredentialProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePaymentManagerInput(_SerdeShape): + """Dataclass for DeletePaymentManagerInput structure.""" + + payment_manager_id: str | None = ... + """The unique identifier of the payment manager to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeletePaymentManagerOutput(_SerdeShape): + """Dataclass for DeletePaymentManagerOutput structure.""" + + status: str + """ + The current status of the payment manager, set to `DELETING` when + deletion is initiated. Possible values include `CREATING`, `READY`, + `UPDATING`, `DELETING`, `CREATE_FAILED`, `UPDATE_FAILED`, and + `DELETE_FAILED`. + """ + payment_manager_id: str | None = ... + """The unique identifier of the deleted payment manager.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePolicyEngineInput(_SerdeShape): + """Dataclass for DeletePolicyEngineInput structure.""" + + policy_engine_id: str | None = ... + """ + The unique identifier of the policy engine to be deleted. This must be a + valid policy engine ID that exists within the account. + """ + +@dataclass(kw_only=True) +class DeletePolicyEngineOutput(_SerdeShape): + """Dataclass for DeletePolicyEngineOutput structure.""" + + policy_engine_id: str + """ + The unique identifier of the policy engine being deleted. This confirms + which policy engine the deletion operation targets. + """ + name: str + """The customer-assigned name of the deleted policy engine.""" + created_at: datetime + """The timestamp when the deleted policy engine was originally created.""" + updated_at: datetime + """ + The timestamp when the deleted policy engine was last modified before + deletion. This tracks the final state of the policy engine before it was + removed from the system. + """ + policy_engine_arn: str + """ + The Amazon Resource Name (ARN) of the deleted policy engine. This + globally unique identifier confirms which policy engine resource was + successfully removed. + """ + status: str + """ + The status of the policy engine deletion operation. This provides status + about any issues that occurred during the deletion process. + """ + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy + engine data. + """ + description: str | None = ... + """The human-readable description of the deleted policy engine.""" + status_reasons: list[str] + """ + Additional information about the deletion status. This provides details + about the deletion process or any issues that may have occurred. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePolicyInput(_SerdeShape): + """Dataclass for DeletePolicyInput structure.""" + + policy_engine_id: str | None = ... + """ + The identifier of the policy engine that manages the policy to be + deleted. This ensures the policy is deleted from the correct policy + engine context. + """ + policy_id: str | None = ... + """ + The unique identifier of the policy to be deleted. This must be a valid + policy ID that exists within the specified policy engine. + """ + +@dataclass(kw_only=True) +class DeletePolicyOutput(_SerdeShape): + """Dataclass for DeletePolicyOutput structure.""" + + policy_id: str + """ + The unique identifier of the policy being deleted. This confirms which + policy the deletion operation targets. + """ + name: str + """ + The customer-assigned name of the deleted policy. This confirms which + policy was successfully removed from the system and matches the name + that was originally assigned during policy creation. + """ + policy_engine_id: str + """ + The identifier of the policy engine from which the policy was deleted. + This confirms the policy engine context for the deletion operation. + """ + created_at: datetime + """The timestamp when the deleted policy was originally created.""" + updated_at: datetime + """ + The timestamp when the deleted policy was last modified before deletion. + This tracks the final state of the policy before it was removed from the + system. + """ + policy_arn: str + """ + The Amazon Resource Name (ARN) of the deleted policy. This globally + unique identifier confirms which policy resource was successfully + removed. + """ + status: str + """ + The status of the policy deletion operation. This provides information + about any issues that occurred during the deletion process. + """ + enforcement_mode: str = ... + """The enforcement mode of the deleted policy.""" + definition: PolicyDefinition + """ + Represents the definition structure for policies within the AgentCore + Policy system. This structure encapsulates different policy formats and + languages that can be used to define access control rules. + """ + description: str | None = ... + """The human-readable description of the deleted policy.""" + status_reasons: list[str] + """ + Additional information about the deletion status. This provides details + about the deletion process or any issues that may have occurred. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRegistryInput(_SerdeShape): + """Dataclass for DeleteRegistryInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry to delete. You can specify either the + Amazon Resource Name (ARN) or the ID of the registry. + """ + +@dataclass(kw_only=True) +class DeleteRegistryOutput(_SerdeShape): + """Dataclass for DeleteRegistryOutput structure.""" + + status: str + """ + The current status of the registry, set to `DELETING` when deletion is + initiated. For a list of all possible registry statuses, see the + `RegistryStatus` data type. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRegistryRecordInput(_SerdeShape): + """Dataclass for DeleteRegistryRecordInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry containing the record. You can specify + either the Amazon Resource Name (ARN) or the ID of the registry. + """ + record_id: str | None = ... + """ + The identifier of the registry record to delete. You can specify either + the Amazon Resource Name (ARN) or the ID of the record. + """ + +@dataclass(kw_only=True) +class DeleteRegistryRecordOutput(_SerdeShape): + """Dataclass for DeleteRegistryRecordOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyInput(_SerdeShape): + """Dataclass for DeleteResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource for which to delete the + resource policy. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyOutput(_SerdeShape): + """Dataclass for DeleteResourcePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteWorkloadIdentityInput(_SerdeShape): + """Dataclass for DeleteWorkloadIdentityInput structure.""" + + name: str | None = ... + """The name of the workload identity to delete.""" + +@dataclass(kw_only=True) +class DeleteWorkloadIdentityOutput(_SerdeShape): + """Dataclass for DeleteWorkloadIdentityOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_1.pyi b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_1.pyi new file mode 100644 index 000000000..a33fd8448 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_1.pyi @@ -0,0 +1,5669 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + A2aDescriptor, + Action, + AgentRuntime, + AgentRuntimeArtifact, + AgentRuntimeEndpoint, + AgentRuntimeVersionSummary, + AgentSkillsDescriptor, + AllowedPort, + ApiKeyCredentialProviderItem, + ApiSchemaConfiguration, + ApprovalConfiguration, + AuthorizationData, + AuthorizerConfiguration, + BedrockEvaluatorModelConfig, + BrowserEnterprisePolicy, + BrowserNetworkConfiguration, + BrowserSigningConfigOutput, + CapacityProviderConfiguration, + CapacityProviderVolumeConfiguration, + CapacityReservationSpecification, + CategoricalScaleDefinition, + Certificate, + CertificateConfiguration, + CircuitBreakerConfiguration, + ClusteringConfig, + CodeBasedEvaluatorConfig, + CodeInterpreterNetworkConfiguration, + ComponentConfiguration, + ComputeConfiguration, + Condition, + ConsentPortalIdpConfig, + ConsentPortalSource, + ContainerConfiguration, + ContentConfiguration, + CredentialProviderConfiguration, + CredentialsProviderConfiguration, + CustomDescriptor, + CustomExtractionConfiguration, + CustomTransformConfiguration, + DataSourceConfig, + LlmAsAJudgeEvaluatorConfig, + LlmExtractionConfig, + MCPGatewayConfiguration, + ManagedResourceDetails, + McpDescriptor, + Memory, + MemoryRecordSchema, + MetadataConfiguration, + ModelEntry, + ModelMapping, + NetworkConfiguration, + NumericalScaleDefinition, + OAuthCredentialProvider, + Oauth2Discovery, + Oauth2ProviderConfigOutput, + OpenResponsesEvaluatorModelConfig, + OutputConfig, + PassthroughTargetConfiguration, + PaymentProviderConfigurationOutput, + PermissionsConfiguration, + PolicyDefinition, + PrivateEndpoint, + ProtocolConfiguration, + RateConfig, + RecordExpirySpecification, + RecordingConfig, + RegistryRecordCredentialProviderConfiguration, + RequestHeaderConfiguration, + Resource, + ResourceConfiguration, + RootVolumeConfiguration, + Rule, + RuntimeHooksConfiguration, + RuntimeMetadataConfiguration, + RuntimeTargetConfiguration, + S3FilesAccessPointConfiguration, + Secret, + SecretReference, + ServiceError, + SessionStorageConfiguration, + SynchronizationConfiguration, + SystemManagedBlock, + TargetConfiguration, + ToolsFileSystemConfiguration, + Unit, + VersionLineageMetadata, + VolumeConfiguration, + VpcConfiguration, + WafConfiguration, + WorkloadIdentityDetails, + _SerdeShape, +) + +@dataclass(kw_only=True) +class DerivedEvaluatorConfig(_SerdeShape): + """ + The configuration for a derived evaluator. It reuses an existing + evaluator's logic on your own model. + """ + + base_evaluator_id: str + """ + The identifier of the base evaluator whose logic to run (a `Builtin.*` + or `ThirdParty.*` evaluator). + """ + model_config: EvaluatorModelConfig + """The configuration of the evaluator model that you supply.""" + +@dataclass(kw_only=True) +class Descriptors(_SerdeShape): + """ + Contains descriptor-type-specific configurations for a registry record. + Only the descriptor matching the record's `descriptorType` should be + populated. + """ + + mcp: McpDescriptor | None = ... + """ + The Model Context Protocol (MCP) descriptor configuration. Use this when + the `descriptorType` is `MCP`. + """ + a2a: A2aDescriptor | None = ... + """ + The Agent-to-Agent (A2A) protocol descriptor configuration. Use this + when the `descriptorType` is `A2A`. + """ + custom: CustomDescriptor | None = ... + """ + The custom descriptor configuration. Use this when the `descriptorType` + is `CUSTOM`. + """ + agent_skills: AgentSkillsDescriptor | None = ... + """ + The agent skills descriptor configuration. Use this when the + `descriptorType` is `AGENT_SKILLS`. + """ + +class DescriptorType(UnknownEnumMixin, StrEnum): + MCP = "MCP" + A2_A = "A2A" + CUSTOM = "CUSTOM" + AGENT_SKILLS = "AGENT_SKILLS" + +@dataclass +class DimensionRatingScaleNumerical(_SerdeShape): + """ + The numerical rating scale with defined score values and descriptions + for quantitative evaluation of the dimension. + """ + + value: list[NumericalScaleDefinition] + +@dataclass +class DimensionRatingScaleCategorical(_SerdeShape): + """ + The categorical rating scale with named categories and definitions for + qualitative evaluation of the dimension. + """ + + value: list[CategoricalScaleDefinition] + +@dataclass +class DimensionRatingScaleUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DimensionRatingScale = Union[ + DimensionRatingScaleNumerical + | DimensionRatingScaleCategorical + | DimensionRatingScaleUnknown +] +""" +The rating scale for one dimension of an LLM-as-a-judge evaluator, +supporting either a numerical or a categorical scale. +""" + +class _DimensionRatingScaleDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> DimensionRatingScale: ... + +@dataclass(kw_only=True) +class DomainOverride(_SerdeShape): + """ + The public domain names for a gateway that clients reach through your + own proxy or custom domain. When you configure a domain override, the + gateway advertises these domains instead of the inbound Host header in + the URLs that it returns for OAuth discovery, such as the protected + resource metadata and the `WWW-Authenticate` challenge. + """ + + default_domain: str + """ + The default public domain name for the gateway. The gateway advertises + this domain when a request doesn't select a specific domain. + """ + alternate_domains: list[str] | None = ... + """ + Additional public domain names for the gateway, up to 10. Don't repeat + the default domain or list a domain more than once. A request can select + one of these domains, or the default domain, with the + `x-amzn-bedrock-agentcore-gateway-domain` header. The gateway rejects a + request that selects a domain that isn't configured. + """ + +class DraftStatus(UnknownEnumMixin, StrEnum): + """Publish synchronization state of the DRAFT working copy.""" + + MODIFIED = "MODIFIED" + """ + DRAFT has changes not yet reflected in any published version, or no + versions have been published yet. + """ + UNMODIFIED = "UNMODIFIED" + """DRAFT content matches the latest published version exactly.""" + +@dataclass(kw_only=True) +class EbsVolumeConfiguration(_SerdeShape): + """ + The configuration for an Amazon EBS-backed persistent volume. The + service creates persistent volumes when a session first launches, and + the volumes survive instance termination. The volumes persist until you + delete the session. + """ + + name: str + """ + The logical name of the volume. Use this name to reference the volume + when you mount it into an agent runtime. + """ + size_gi_b: int + """The size of the volume, in GiB.""" + volume_type: str = ... + """ + The Amazon EBS volume type. If you do not specify a type, the default is + `gp3`. + """ + iops: int | None = ... + """ + The number of IOPS to provision. Valid only for `gp3`, `io1`, and `io2` + volumes. + """ + throughput: int | None = ... + """The throughput, in MiB/s. Valid only for `gp3` volumes.""" + encrypted: bool | None = ... + """ + Specifies whether to encrypt the volume. If `true`, the service encrypts + the volume with the KMS key that you specify in `kmsKeyId`, or the + default KMS key for Amazon EBS if you do not specify one. The default is + `true`. + """ + kms_key_id: str | None = ... + """The identifier of the KMS key to use for encryption.""" + snapshot_id: str | None = ... + """ + An optional Amazon EBS snapshot ID. If provided, the volume is + initialized from this snapshot the first time it is created. On + subsequent restarts, the existing volume is used and the snapshot is + ignored. + """ + +class EbsVolumeType(UnknownEnumMixin, StrEnum): + """The type of Amazon EBS volume.""" + + STANDARD = "standard" + IO1 = "io1" + IO2 = "io2" + GP2 = "gp2" + SC1 = "sc1" + ST1 = "st1" + GP3 = "gp3" + +@dataclass(kw_only=True) +class Ec2Configuration(_SerdeShape): + """ + The configuration for Amazon EC2-based compute, including the launch + template source, networking, storage volumes, and instance lifecycle + settings. + """ + + launch_template_source: LaunchTemplateSource + """ + The source of the launch template configuration that defines how + instances are launched. + """ + vpc_configuration: VpcConfiguration + """ + The VPC configuration for launching instances, including subnets and + security groups. + """ + volumes: list[VolumeConfiguration] | None = ... + """ + The named persistent Amazon EBS volumes for the capacity provider. A + capacity provider can define up to five volumes. + """ + lifecycle_configuration: InstanceLifecycleConfiguration | None = ... + """The lifecycle configuration for instances in the capacity provider.""" + root_volume: RootVolumeConfiguration | None = ... + """ + The configuration for the instance root volume. Specify the amount of + free space to guarantee and, optionally, the Amazon EBS performance and + encryption settings. The device name and delete-on-termination behavior + are not configurable. + """ + +@dataclass(kw_only=True) +class EfsAccessPointConfiguration(_SerdeShape): + """ + Configuration for an Amazon EFS access point filesystem mounted into the + AgentCore Runtime. EFS access points provide shared file storage + accessible from your AgentCore Runtime sessions. + """ + + access_point_arn: str + """The ARN of the EFS access point to mount into the AgentCore Runtime.""" + mount_path: str + """ + The mount path for the EFS access point inside the AgentCore Runtime. + The path must be under `/mnt` with exactly one subdirectory level (for + example, `/mnt/data`). + """ + +@dataclass(kw_only=True) +class EfsConfiguration(_SerdeShape): + """ + The configuration for mounting an Amazon Elastic File System (Amazon + EFS) access point that you own into a session. + """ + + access_point_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon + EFS) access point to mount. + """ + mount_path: str + """ + The absolute path within the session at which the access point is + mounted, for example `/mnt/efs`. Each mount path must be unique across + all file system configurations in the session. + """ + file_system_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon + EFS) file system that owns the access point. + """ + +@dataclass(kw_only=True) +class EncryptionFailure(ServiceError, _SerdeShape): + """Exception thrown when encryption of a secret fails.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class EndpointIpAddressType(UnknownEnumMixin, StrEnum): + IPV4 = "IPV4" + IPV6 = "IPV6" + +class EnforcementMode(UnknownEnumMixin, StrEnum): + """ + The enforcement mode for a policy. Run this policy in `LOG_ONLY` mode to + collect data on how it affects your application. Once you are satisfied + with the data gathered, switch the policy to `ACTIVE`. + """ + + ACTIVE = "ACTIVE" + LOG_ONLY = "LOG_ONLY" + +@dataclass(kw_only=True) +class EphemeralBlockDeviceMapping(_SerdeShape): + """A block device mapping for an instance store (ephemeral) volume.""" + + device_name: str | None = ... + """The device name, for example `/dev/sdh` or `xvdh`.""" + virtual_name: str | None = ... + """ + The virtual device name (`ephemeralN`). Instance store volumes are + numbered starting from 0. The number of available instance store volumes + depends on the instance type. After you connect to the instance, you + must mount the volume. + """ + ebs: EphemeralEBSVolumeConfiguration | None = ... + """ + The shared Amazon EBS performance and encryption properties for a + volume. These properties are common across the different volume + configurations for a capacity provider. + """ + +@dataclass(kw_only=True) +class EphemeralEBSVolumeConfiguration(_SerdeShape): + """ + The shared Amazon EBS performance and encryption properties for a + volume. These properties are common across the different volume + configurations for a capacity provider. + """ + + volume_type: str = ... + """ + The Amazon EBS volume type. If you do not specify a type, the default is + `gp3`. + """ + iops: int | None = ... + """ + The number of IOPS to provision. For `gp3`, `io1`, and `io2` volumes, + this is the number of IOPS provisioned for the volume. For `gp2` + volumes, this sets the baseline IOPS performance. It also controls the + rate at which the volume accumulates I/O credits for bursting. Supported + values: `gp3`, 3,000--80,000; `io1`, 100--64,000; `io2`, 100--256,000. + """ + throughput: int | None = ... + """ + The throughput to provision, in MiB/s. Valid only for `gp3` volumes. + Valid range: 125--2,000 MiB/s. + """ + encrypted: bool | None = ... + """ + Specifies whether to encrypt the volume. Encrypted volumes can be + attached only to instances that support Amazon EBS encryption. If you + create a volume from a snapshot, you cannot specify an encryption value. + """ + kms_key_id: str | None = ... + """ + The identifier (key ID, key alias, key ARN, or alias ARN) of the + customer managed KMS key to use for Amazon EBS encryption. + """ + snapshot_id: str | None = ... + """The ID of the snapshot.""" + volume_size: int | None = ... + """ + The size of the volume, in GiB. You must specify either a snapshot ID or + a volume size. Supported sizes: `gp2`, 1--16,384; `gp3`, 1--65,536; + `io1`, 4--16,384; `io2`, 4--65,536. + """ + volume_initialization_rate: int | None = ... + """ + The rate at which the volume is initialized after creation, in MiB/s. + Supported only for volumes created from snapshots. Valid range: 100--300 + MiB/s. + """ + ebs_card_index: int | None = ... + """ + The index of the Amazon EBS card. Applies to instances with multiple + Amazon EBS cards. + """ + +@dataclass(kw_only=True) +class EpisodicConsolidationOverride(_SerdeShape): + """ + Contains configurations to override the default consolidation step for + the episodic memory strategy. + """ + + append_to_prompt: str + """ + The text appended to the prompt for the consolidation step of the + episodic memory strategy. + """ + model_id: str + """ + The model ID used for the consolidation step of the episodic memory + strategy. + """ + +@dataclass(kw_only=True) +class EpisodicExtractionOverride(_SerdeShape): + """ + Contains configurations to override the default extraction step for the + episodic memory strategy. + """ + + append_to_prompt: str + """ + The text appended to the prompt for the extraction step of the episodic + memory strategy. + """ + model_id: str + """ + The model ID used for the extraction step of the episodic memory + strategy. + """ + +@dataclass(kw_only=True) +class EpisodicMemoryStrategyInput(_SerdeShape): + """Input for creating an episodic memory strategy.""" + + name: str + """The name of the episodic memory strategy.""" + description: str | None = ... + """The description of the episodic memory strategy.""" + namespaces: list[str] | None = ... + """ + This is a legacy parameter, use `namespaceTemplates`. The namespaces for + which to create episodes. + """ + namespace_templates: list[str] | None = ... + """The namespaceTemplates for which to create episodes.""" + reflection_configuration: EpisodicReflectionConfigurationInput | None = ... + """ + The configuration for the reflections created with the episodic memory + strategy. + """ + memory_record_schema: MemoryRecordSchema | None = ... + """Schema for metadata fields on records generated by this strategy.""" + record_expiry_specification: RecordExpirySpecification | None = ... + """ + The record expiry (long-term memory time-to-live) configuration for + memory records generated by this strategy. Set + `recordExpiryDurationDays` to the number of days after which records + expire. If not specified, records generated by this strategy do not + expire. + """ + +@dataclass(kw_only=True) +class EpisodicOverrideConfigurationInput(_SerdeShape): + """Input for the configuration to override the episodic memory strategy.""" + + extraction: EpisodicOverrideExtractionConfigurationInput | None = ... + """ + Contains configurations for overriding the extraction step of the + episodic memory strategy. + """ + consolidation: EpisodicOverrideConsolidationConfigurationInput | None = ... + """ + Contains configurations for overriding the consolidation step of the + episodic memory strategy. + """ + reflection: EpisodicOverrideReflectionConfigurationInput | None = ... + """ + Contains configurations for overriding the reflection step of the + episodic memory strategy. + """ + +@dataclass(kw_only=True) +class EpisodicOverrideConsolidationConfigurationInput(_SerdeShape): + """ + Configurations for overriding the consolidation step of the episodic + memory strategy. + """ + + append_to_prompt: str + """ + The text to append to the prompt for the consolidation step of the + episodic memory strategy. + """ + model_id: str + """ + The model ID to use for the consolidation step of the episodic memory + strategy. + """ + +@dataclass(kw_only=True) +class EpisodicOverrideExtractionConfigurationInput(_SerdeShape): + """ + Configurations for overriding the extraction step of the episodic memory + strategy. + """ + + append_to_prompt: str + """ + The text to append to the prompt for the extraction step of the episodic + memory strategy. + """ + model_id: str + """ + The model ID to use for the extraction step of the episodic memory + strategy. + """ + +@dataclass(kw_only=True) +class EpisodicOverrideReflectionConfigurationInput(_SerdeShape): + """ + Configurations for overriding the reflection step of the episodic memory + strategy. + """ + + append_to_prompt: str + """ + The text to append to the prompt for reflection step of the episodic + memory strategy. + """ + model_id: str + """ + The model ID to use for the reflection step of the episodic memory + strategy. + """ + namespaces: list[str] | None = ... + """ + This is a legacy parameter, use `namespaceTemplates`. The namespaces to + use for episodic reflection. Can be less nested than the episodic + namespaces. + """ + namespace_templates: list[str] | None = ... + """ + The namespaceTemplates to use for episodic reflection. Can be less + nested than the episodic namespaces. + """ + memory_record_schema: MemoryRecordSchema | None = ... + """ + Schema for metadata fields on records generated by this reflection + override. + """ + +@dataclass(kw_only=True) +class EpisodicReflectionConfiguration(_SerdeShape): + """ + The configuration for the reflections created with the episodic memory + strategy. + """ + + namespaces: list[str] | None = ... + """ + This is a legacy parameter, use `namespaceTemplates`. The namespaces for + which to create reflections. Can be less nested than the episodic + namespaces. + """ + namespace_templates: list[str] | None = ... + """ + The namespaceTemplates for which to create reflections. Can be less + nested than the episodic namespaces. + """ + memory_record_schema: MemoryRecordSchema | None = ... + """\"Schema for metadata fields on records generated by reflections.""" + +@dataclass(kw_only=True) +class EpisodicReflectionConfigurationInput(_SerdeShape): + """An episodic reflection configuration input.""" + + namespaces: list[str] | None = ... + """ + This is a legacy parameter, use `namespaceTemplates`. The namespaces + over which to create reflections. Can be less nested than episode + namespaces. + """ + namespace_templates: list[str] | None = ... + """ + The namespaceTemplates over which to create reflections. Can be less + nested than episode namespaces. + """ + memory_record_schema: MemoryRecordSchema | None = ... + """Schema for metadata fields on records generated by reflections.""" + +@dataclass(kw_only=True) +class EpisodicReflectionOverride(_SerdeShape): + """ + Contains configurations to override the default reflection step for the + episodic memory strategy. + """ + + append_to_prompt: str + """ + The text appended to the prompt for the reflection step of the episodic + memory strategy. + """ + model_id: str + """ + The model ID used for the reflection step of the episodic memory + strategy. + """ + namespaces: list[str] | None = ... + """ + This is a legacy parameter. The namespaces over which reflections were + created. Can be less nested than the episodic namespaces. + """ + namespace_templates: list[str] | None = ... + """ + The namespaceTemplates over which reflections were created. Can be less + nested than the episodic namespaces. + """ + memory_record_schema: MemoryRecordSchema | None = ... + """ + Schema for metadata fields on records generated by this reflection + override. + """ + +@dataclass(kw_only=True) +class EvaluationDimension(_SerdeShape): + """ + A single dimension of an LLM-as-a-judge evaluator, defining what the + evaluator model should judge for that dimension and how it should be + scored. + """ + + dimension_name: str + """ + The name of the dimension. This name is unique within the evaluator and + identifies the dimension's results. + """ + dimension_instruction: str + """ + The instruction to the evaluator model for this dimension, describing + what the model should judge when scoring the dimension. + """ + dimension_rating_scale: DimensionRatingScale + """ + The rating scale for this dimension, which can be numerical or + categorical. A dimension's rating scale cannot itself be + multi-dimensional. + """ + +@dataclass +class EvaluatorConfigLlmAsAJudge(_SerdeShape): + """ + The LLM-as-a-Judge configuration that uses a language model to evaluate + agent performance based on custom instructions and rating scales. + """ + + value: LlmAsAJudgeEvaluatorConfig + +@dataclass +class EvaluatorConfigCodeBased(_SerdeShape): + """ + Configuration for a code-based evaluator that uses a customer-managed + Lambda function to programmatically assess agent performance. + """ + + value: CodeBasedEvaluatorConfig + +@dataclass +class EvaluatorConfigDerived(_SerdeShape): + """ + The configuration for an evaluator derived from an existing base + evaluator (a built-in or third-party evaluator), run on your own model. + The base evaluator supplies the prompt and scoring. + """ + + value: DerivedEvaluatorConfig + +@dataclass +class EvaluatorConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluatorConfig = Union[ + EvaluatorConfigLlmAsAJudge + | EvaluatorConfigCodeBased + | EvaluatorConfigDerived + | EvaluatorConfigUnknown +] +""" +The configuration that defines how an evaluator assesses agent +performance, including the evaluation method and parameters. +""" + +class _EvaluatorConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluatorConfig: ... + +class EvaluatorLevel(UnknownEnumMixin, StrEnum): + TOOL_CALL = "TOOL_CALL" + TRACE = "TRACE" + SESSION = "SESSION" + +@dataclass +class EvaluatorModelConfigBedrockEvaluatorModelConfig(_SerdeShape): + """The Amazon Bedrock model configuration for evaluation.""" + + value: BedrockEvaluatorModelConfig + +@dataclass +class EvaluatorModelConfigResponsesEvaluatorModelConfig(_SerdeShape): + """The OpenResponses model configuration for evaluation.""" + + value: OpenResponsesEvaluatorModelConfig + +@dataclass +class EvaluatorModelConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluatorModelConfig = Union[ + EvaluatorModelConfigBedrockEvaluatorModelConfig + | EvaluatorModelConfigResponsesEvaluatorModelConfig + | EvaluatorModelConfigUnknown +] +""" +The model configuration that specifies which foundation model to use for +evaluation and how to configure it. +""" + +class _EvaluatorModelConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluatorModelConfig: ... + +@dataclass +class EvaluatorReferenceEvaluatorId(_SerdeShape): + """ + The unique identifier of the evaluator. Can reference builtin evaluators + (e.g., Builtin.Helpfulness) or custom evaluators. + """ + + value: str + +@dataclass +class EvaluatorReferenceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluatorReference = Union[EvaluatorReferenceEvaluatorId | EvaluatorReferenceUnknown] +""" +The reference to an evaluator used in online evaluation configurations, +containing the evaluator identifier. +""" + +class _EvaluatorReferenceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluatorReference: ... + +class EvaluatorStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + DELETING = "DELETING" + +@dataclass(kw_only=True) +class EvaluatorSummary(_SerdeShape): + """ + The summary information about an evaluator, including basic metadata and + status information. + """ + + evaluator_arn: str + """The Amazon Resource Name (ARN) of the evaluator.""" + evaluator_id: str + """The unique identifier of the evaluator.""" + evaluator_name: str + """The name of the evaluator.""" + description: str | None = ... + """The description of the evaluator.""" + evaluator_type: str + """ + The type of evaluator, indicating whether it is a built-in evaluator + provided by the service or a custom evaluator created by the user. + """ + provider: str | None = ... + """ + The source of the evaluator's logic: Amazon Web Services, a third-party + library, or you. + """ + level: str | None = ... + """ + The evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that + determines the scope of evaluation. + """ + status: str + """The current status of the evaluator.""" + created_at: datetime + """The timestamp when the evaluator was created.""" + updated_at: datetime + """The timestamp when the evaluator was last updated.""" + locked_for_modification: bool | None = ... + """ + Whether the evaluator is locked for modification due to being referenced + by active online evaluation configurations. + """ + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the customer managed KMS key used to + encrypt the evaluator's sensitive data. This field is only present for + evaluators encrypted with a customer managed key. + """ + +class EvaluatorType(UnknownEnumMixin, StrEnum): + BUILTIN = "Builtin" + THIRD_PARTY = "ThirdParty" + CUSTOM = "Custom" + CODE = "CustomCode" + CUSTOM_DERIVED = "CustomDerived" + +class ExceptionLevel(UnknownEnumMixin, StrEnum): + DEBUG = "DEBUG" + +@dataclass +class ExtractionConfigLlmExtractionConfig(_SerdeShape): + """Model-based extraction using a definition and instructions.""" + + value: LlmExtractionConfig + +@dataclass +class ExtractionConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ExtractionConfig = Union[ExtractionConfigLlmExtractionConfig | ExtractionConfigUnknown] +"""Configuration for metadata extraction from conversational content.""" + +class _ExtractionConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ExtractionConfig: ... + +@dataclass +class ExtractionConfigurationCustomExtractionConfiguration(_SerdeShape): + """The custom extraction configuration.""" + + value: CustomExtractionConfiguration + +@dataclass +class ExtractionConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ExtractionConfiguration = Union[ + ExtractionConfigurationCustomExtractionConfiguration + | ExtractionConfigurationUnknown +] +"""Contains extraction configuration information for a memory strategy.""" + +class _ExtractionConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ExtractionConfiguration: ... + +class ExtractionType(UnknownEnumMixin, StrEnum): + """ + The extraction type for a metadata field, determining how the value is + obtained during memory processing. + """ + + LLM_INFERRED = "LLM_INFERRED" + STRICTLY_CONSISTENT = "STRICTLY_CONSISTENT" + +@dataclass(kw_only=True) +class Fallback(_SerdeShape): + """ + The fallback configuration for a route to an inference target. Defines + an ordered list of fallback targets to try when a request to the + route's target fails, and the conditions that trigger a fallback. A + fallback can occur only before the gateway sends the first byte of the + response to the caller. After a streaming response starts, the gateway + doesn't fall back. + """ + + trigger_on: FallbackTriggers | None = ... + """ + The status codes and errors from the route's target that cause the + gateway to send the request to the first fallback target. If you omit + `triggerOn`, the gateway falls back on `5XX` status codes and on the + `CONNECTION_ERROR`, `FIRST_BYTE_TIMEOUT`, and `UNROUTABLE` errors. If + you specify `triggerOn`, only the status codes and errors that you list + trigger a fallback. + """ + first_byte_timeout_milliseconds: int | None = ... + """ + The maximum time, in milliseconds, from sending the request to the + route's target until the first byte of the response body arrives. If + the time expires, the gateway abandons the request and treats it as a + `FIRST_BYTE_TIMEOUT` error. If you don't specify a value, no timeout is + enforced. + """ + circuit_breaker: CircuitBreakerConfiguration | None = ... + """ + Specifies whether the gateway temporarily stops sending your requests to + a failing target. The circuit breaker tracks each combination of target + and model separately. With the circuit breaker enabled, the gateway + skips one or more targets and models that fail repeatedly, and your + requests go to the next target in the chain. The gateway always tries + the last remaining target in the chain. The gateway enables the circuit + breaker by default. + """ + target_fallback: list[FallbackTarget] + """ + The ordered list of fallback targets. The gateway tries each target in + order until a response doesn't match that target's triggers, and + returns that response to the caller. If every target fails, the gateway + returns the last response. You can specify up to two fallback targets. + Each combination of target and model, including the route's target, can + appear only once. + """ + +class FallbackError(UnknownEnumMixin, StrEnum): + CONNECTION_ERROR = "CONNECTION_ERROR" + """ + The gateway could not establish a connection to the destination + (connection refused/reset, or connection timeout) --- the attempt never + reached the provider. Feeds the circuit breaker. + """ + FIRST_BYTE_TIMEOUT = "FIRST_BYTE_TIMEOUT" + """ + The destination accepted the connection but did not return the first + response byte within firstByteTimeoutMilliseconds; the attempt is + abandoned before any byte reaches the client. Feeds the circuit breaker. + """ + UNROUTABLE = "UNROUTABLE" + """ + Gateway-side: the target could not be routed to (target missing, or it + does not support the request's API path). Deterministic --- advances + the chain but does NOT feed the breaker. + """ + +@dataclass(kw_only=True) +class FallbackTarget(_SerdeShape): + """ + Specifies a target to send the request to when the previous target in + the fallback chain fails. Includes the target name, the model to send, + and the conditions that trigger a fallback from this target to the next + one. + """ + + target_name: str + """ + The name of the gateway target to fall back to. The target must be an + inference target. + """ + model: str | None = ... + """ + The model ID to send to this fallback target. If you don't specify a + model, the gateway sends the model from the original request. + """ + trigger_on: FallbackTriggers | None = ... + """ + The status codes and errors from this target that cause the gateway to + send the request to the next fallback target. This setting isn't + inherited from the route. If you omit it, the gateway uses the default + triggers: `5XX` status codes and the `CONNECTION_ERROR`, + `FIRST_BYTE_TIMEOUT`, and `UNROUTABLE` errors. + """ + first_byte_timeout_milliseconds: int | None = ... + """ + The maximum time, in milliseconds, from sending the request to this + target until the first byte of the response body arrives. This setting + isn't inherited from the route. If you don't specify a value, no + timeout is enforced. + """ + +@dataclass(kw_only=True) +class FallbackTriggers(_SerdeShape): + """ + The conditions that trigger a fallback to the next target. A fallback + occurs if the response matches any of the specified status codes or + errors. + """ + + status_codes: list[str] | None = ... + """ + The HTTP status codes returned by the target that trigger a fallback. + You can specify the following: + + - An exact status code -- A three-digit code, such as `429`. + + - A class of status codes -- The first digit followed by `XX`, such as + `5XX`, which matches every code from 500 to 599. + + Only 4XX and 5XX codes are supported. Throttling by the gateway itself + doesn't trigger a fallback. + """ + errors: list[str] | None = ... + """ + The errors that trigger a fallback. You can specify the following: + + - `CONNECTION_ERROR` -- The gateway couldn't connect to the target + because the connection was refused, reset, or timed out. The request + didn't reach the target. + + - `FIRST_BYTE_TIMEOUT` -- The target accepted the connection but didn't + return the first byte of the response within + `firstByteTimeoutMilliseconds`. The gateway abandons the request + before any of the response reaches you. + + - `UNROUTABLE` -- The gateway couldn't route the request to the target, + for example because the target doesn't exist or doesn't support the + request path. These errors don't count toward the circuit breaker. + """ + +@dataclass +class FilesystemConfigurationSessionStorage(_SerdeShape): + """ + Configuration for session storage. Session storage provides persistent + storage that is preserved across AgentCore Runtime session invocations. + """ + + value: SessionStorageConfiguration + +@dataclass +class FilesystemConfigurationS3FilesAccessPoint(_SerdeShape): + """ + Configuration for an Amazon S3 Files access point to mount into the + AgentCore Runtime. + """ + + value: S3FilesAccessPointConfiguration + +@dataclass +class FilesystemConfigurationEfsAccessPoint(_SerdeShape): + """ + Configuration for an Amazon EFS access point to mount into the AgentCore + Runtime. + """ + + value: EfsAccessPointConfiguration + +@dataclass +class FilesystemConfigurationCapacityProviderVolume(_SerdeShape): + """ + Configuration for a capacity provider volume to mount into the AgentCore + Runtime. This mounts a persistent volume that is defined on the capacity + provider, referenced by its logical name. + """ + + value: CapacityProviderVolumeConfiguration + +@dataclass +class FilesystemConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FilesystemConfiguration = Union[ + FilesystemConfigurationSessionStorage + | FilesystemConfigurationS3FilesAccessPoint + | FilesystemConfigurationEfsAccessPoint + | FilesystemConfigurationCapacityProviderVolume + | FilesystemConfigurationUnknown +] +""" +Configuration for a filesystem that can be mounted into the AgentCore +Runtime. +""" + +class _FilesystemConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> FilesystemConfiguration: ... + +@dataclass(kw_only=True) +class Filter(_SerdeShape): + """ + The filter that applies conditions to agent traces during online + evaluation to determine which traces should be evaluated. + """ + + key: str + """The key or field name to filter on within the agent trace data.""" + operator: str + """The comparison operator to use for filtering.""" + value: FilterValue + """The value to compare against using the specified operator.""" + +class FilterOperator(UnknownEnumMixin, StrEnum): + EQUALS = "Equals" + NOT_EQUALS = "NotEquals" + GREATER_THAN = "GreaterThan" + LESS_THAN = "LessThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + CONTAINS = "Contains" + NOT_CONTAINS = "NotContains" + +@dataclass +class FilterValueStringValue(_SerdeShape): + """The string value for text-based filtering.""" + + value: str + +@dataclass +class FilterValueDoubleValue(_SerdeShape): + """The numeric value for numerical filtering and comparisons.""" + + value: float + +@dataclass +class FilterValueBooleanValue(_SerdeShape): + """The boolean value for true/false filtering conditions.""" + + value: bool + +@dataclass +class FilterValueUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FilterValue = Union[ + FilterValueStringValue + | FilterValueDoubleValue + | FilterValueBooleanValue + | FilterValueUnknown +] +""" +The value used in filter comparisons, supporting different data types +for flexible filtering criteria. +""" + +class _FilterValueDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FilterValue: ... + +@dataclass(kw_only=True) +class Finding(_SerdeShape): + """ + Represents a finding or issue discovered during policy generation or + validation. Findings provide insights about potential problems, + recommendations, or validation results from policy analysis operations. + Finding types include: VALID (policy is ready to use), INVALID (policy + has validation errors that must be fixed), NOT_TRANSLATABLE (input + couldn't be converted to policy), ALLOW_ALL (policy would allow all + actions, potential security risk), ALLOW_NONE (policy would allow no + actions, unusable), DENY_ALL (policy would deny all actions, may be too + restrictive), and DENY_NONE (policy would deny no actions, ineffective). + Review all findings before creating policies from generated assets to + ensure they match your security requirements. + """ + + type: str | None = ... + """ + The type or category of the finding. This classifies the finding as an + error, warning, recommendation, or informational message to help users + understand the severity and nature of the issue. + """ + description: str | None = ... + """ + A human-readable description of the finding. This provides detailed + information about the issue, recommendation, or validation result to + help users understand and address the finding. + """ + +class FindingType(UnknownEnumMixin, StrEnum): + VALID = "VALID" + INVALID = "INVALID" + NOT_TRANSLATABLE = "NOT_TRANSLATABLE" + ALLOW_ALL = "ALLOW_ALL" + ALLOW_NONE = "ALLOW_NONE" + DENY_ALL = "DENY_ALL" + DENY_NONE = "DENY_NONE" + +@dataclass(kw_only=True) +class FromUrlSynchronizationConfiguration(_SerdeShape): + """Configuration for synchronizing from a URL-based MCP server.""" + + url: str + """The HTTPS URL of the MCP server to synchronize from.""" + credential_provider_configurations: ( + list[RegistryRecordCredentialProviderConfiguration] | None + ) = ... + """ + Optional list of credential provider configurations for authenticating + with the MCP server. At most one credential provider configuration can + be specified. + """ + +@dataclass(kw_only=True) +class GatewayApiKeyCredentialProvider(_SerdeShape): + """ + An API key credential provider for gateway authentication. This + structure contains the configuration for authenticating with the target + endpoint using an API key. + """ + + provider_arn: str + """ + The Amazon Resource Name (ARN) of the API key credential provider. This + ARN identifies the provider in Amazon Web Services. + """ + credential_parameter_name: str | None = ... + """ + The name of the credential parameter for the API key. This parameter + name is used when sending the API key to the target endpoint. + """ + credential_prefix: str | None = ... + """ + The prefix for the API key credential. This prefix is added to the API + key when sending it to the target endpoint. + """ + credential_location: str | None = ... + """ + The location of the API key credential. This field specifies where in + the request the API key should be placed. + """ + +class GatewayInterceptionPoint(UnknownEnumMixin, StrEnum): + REQUEST = "REQUEST" + RESPONSE = "RESPONSE" + +@dataclass(kw_only=True) +class GatewayInterceptorConfiguration(_SerdeShape): + """ + The configuration for an interceptor on a gateway. This structure + defines settings for an interceptor that will be invoked during the + invocation of the gateway. + """ + + interceptor: InterceptorConfiguration + """ + The infrastructure settings of an interceptor configuration. This + structure defines how the interceptor can be invoked. + """ + interception_points: list[str] + """ + The supported points of interception. This field specifies which points + during the gateway invocation to invoke the interceptor + """ + input_configuration: InterceptorInputConfiguration | None = ... + """ + The configuration for the input of the interceptor. This field specifies + how the input to the interceptor is constructed + """ + +@dataclass(kw_only=True) +class GatewayPolicyEngineConfiguration(_SerdeShape): + """ + The configuration for a policy engine associated with a gateway. A + policy engine is a collection of policies that evaluates and authorizes + agent tool calls. When associated with a gateway, the policy engine + intercepts all agent requests and determines whether to allow or deny + each action based on the defined policies. + """ + + arn: str + """ + The ARN of the policy engine. The policy engine contains Cedar or + Dogwood policies that define fine-grained authorization rules specifying + who can perform what actions on which resources as agents interact + through the gateway. + """ + mode: str + """ + The enforcement mode for the policy engine. Valid values include: + + - `LOG_ONLY` - The policy engine evaluates each action against your + policies and adds traces on whether tool calls would be allowed or + denied, but does not enforce the decision. Use this mode to test and + validate policies before enabling enforcement. + + - `ENFORCE` - The policy engine evaluates actions against your policies + and enforces decisions by allowing or denying agent operations. Test + and validate policies in `LOG_ONLY` mode before enabling enforcement + to avoid unintended denials or adversely affecting production traffic. + """ + +class GatewayPolicyEngineMode(UnknownEnumMixin, StrEnum): + LOG_ONLY = "LOG_ONLY" + ENFORCE = "ENFORCE" + +@dataclass +class GatewayProtocolConfigurationMcp(_SerdeShape): + """ + The configuration for the Model Context Protocol (MCP). This protocol + enables communication between Amazon Bedrock Agent and external tools. + """ + + value: MCPGatewayConfiguration + +@dataclass +class GatewayProtocolConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +GatewayProtocolConfiguration = Union[ + GatewayProtocolConfigurationMcp | GatewayProtocolConfigurationUnknown +] +""" +The configuration for a gateway protocol. This structure defines how the +gateway communicates with external services. +""" + +class _GatewayProtocolConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> GatewayProtocolConfiguration: ... + +class GatewayProtocolType(UnknownEnumMixin, StrEnum): + MCP = "MCP" + +@dataclass(kw_only=True) +class GatewayRateLimitDetail(_SerdeShape): + """ + Contains detailed information about a gateway rate limit, including its + configuration and current status. + """ + + rate_limit_id: str + """The unique identifier of the rate limit.""" + gateway_identifier: str + """The unique identifier of the gateway.""" + description: str | None = ... + """The human-readable description of the rate limit.""" + dimension_keys: list[str] + """ + The ordered list of dimension key names that define the scope of this + rate limit. + """ + entries: list[LimitEntry] + """ + The list of rule entries that map dimension values to rate + configurations. + """ + status: str + """The current status of the rate limit.""" + created_at: datetime + """The timestamp when the rate limit was created.""" + updated_at: datetime + """The timestamp when the rate limit was last updated.""" + +class GatewayRateLimitStatus(UnknownEnumMixin, StrEnum): + """The status of a gateway limit.""" + + CREATING = "CREATING" + ACTIVE = "ACTIVE" + UPDATING = "UPDATING" + DELETING = "DELETING" + +@dataclass(kw_only=True) +class GatewayRuleDetail(_SerdeShape): + """Detailed information about a gateway rule.""" + + rule_id: str + """The unique identifier of the gateway rule.""" + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway that the rule belongs to.""" + priority: int + """ + The priority of the rule. Rules are evaluated in order of priority, with + lower numbers evaluated first. + """ + conditions: list[Condition] | None = ... + """The conditions that must be met for the rule to apply.""" + actions: list[Action] + """The actions to take when the rule conditions are met.""" + description: str | None = ... + """The description of the gateway rule.""" + created_at: datetime + """The timestamp when the rule was created.""" + status: str + """The current status of the rule.""" + system: SystemManagedBlock | None = ... + """System-managed metadata for rules created by automated processes.""" + updated_at: datetime | None = ... + """The timestamp when the rule was last updated.""" + +class GatewayRuleStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + UPDATING = "UPDATING" + DELETING = "DELETING" + +class GatewayStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + UPDATING = "UPDATING" + UPDATE_UNSUCCESSFUL = "UPDATE_UNSUCCESSFUL" + DELETING = "DELETING" + READY = "READY" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class GatewaySummary(_SerdeShape): + """Contains summary information about a gateway.""" + + gateway_id: str + """The unique identifier of the gateway.""" + name: str + """The name of the gateway.""" + status: str + """The current status of the gateway.""" + description: str | None = ... + """The description of the gateway.""" + created_at: datetime + """The timestamp when the gateway was created.""" + updated_at: datetime + """The timestamp when the gateway was last updated.""" + authorizer_type: str + """The type of authorizer used by the gateway.""" + protocol_type: str = ... + """The protocol type used by the gateway.""" + +@dataclass(kw_only=True) +class GatewayTarget(_SerdeShape): + """The gateway target.""" + + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway target.""" + target_id: str + """The target ID.""" + created_at: datetime + """The date and time at which the target was created.""" + updated_at: datetime + """The date and time at which the target was updated.""" + status: str + """The status of the gateway target.""" + status_reasons: list[str] | None = ... + """The status reasons for the target status.""" + name: str + """The name of the gateway target.""" + description: str | None = ... + """The description for the gateway target.""" + target_configuration: TargetConfiguration + """ + The configuration for a gateway target. This structure defines how the + gateway connects to and interacts with the target endpoint. + """ + credential_provider_configurations: list[CredentialProviderConfiguration] + """The provider configurations.""" + last_synchronized_at: datetime | None = ... + """The last synchronization time.""" + metadata_configuration: MetadataConfiguration | None = ... + """ + The metadata configuration for HTTP header and query parameter + propagation to and from this gateway target. + """ + private_endpoint: PrivateEndpoint | None = ... + """ + The private endpoint configuration for a gateway target. Defines how the + gateway connects to private resources in your VPC. + """ + private_endpoint_managed_resources: list[ManagedResourceDetails] | None = ... + """ + A list of managed resources created by the gateway for private endpoint + connectivity. These resources are created in your account when you use a + managed VPC Lattice resource configuration. + """ + authorization_data: AuthorizationData | None = ... + """ + OAuth2 authorization data for the gateway target. This data is returned + when a target is configured with a credential provider with + authorization code grant type and requires user federation. + """ + protocol_type: str | None = ... + """The protocol type of the gateway target.""" + certificate_configurations: list[CertificateConfiguration] | None = ... + """ + The private certificate authority (CA) configurations for the gateway + target. + """ + +@dataclass(kw_only=True) +class GetAgentRuntimeEndpointInput(_SerdeShape): + """Dataclass for GetAgentRuntimeEndpointInput structure.""" + + agent_runtime_id: str | None = ... + """ + The unique identifier of the AgentCore Runtime associated with the + endpoint. + """ + endpoint_name: str | None = ... + """The name of the AgentCore Runtime endpoint to retrieve.""" + +@dataclass(kw_only=True) +class GetAgentRuntimeEndpointOutput(_SerdeShape): + """Dataclass for GetAgentRuntimeEndpointOutput structure.""" + + live_version: str | None = ... + """The currently deployed version of the AgentCore Runtime on the endpoint.""" + target_version: str | None = ... + """The target version of the AgentCore Runtime for the endpoint.""" + agent_runtime_endpoint_arn: str + """The Amazon Resource Name (ARN) of the AgentCore Runtime endpoint.""" + agent_runtime_arn: str + """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" + description: str | None = ... + """The description of the AgentCore Runtime endpoint.""" + status: str + """The current status of the AgentCore Runtime endpoint.""" + created_at: datetime + """The timestamp when the AgentCore Runtime endpoint was created.""" + last_updated_at: datetime + """The timestamp when the AgentCore Runtime endpoint was last updated.""" + failure_reason: str | None = ... + """ + The reason for failure if the AgentCore Runtime endpoint is in a failed + state. + """ + name: str + """The name of the AgentCore Runtime endpoint.""" + id: str + """The unique identifier of the AgentCore Runtime endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAgentRuntimeInput(_SerdeShape): + """Dataclass for GetAgentRuntimeInput structure.""" + + agent_runtime_id: str | None = ... + """The unique identifier of the AgentCore Runtime to retrieve.""" + agent_runtime_version: str | None = ... + """The version of the AgentCore Runtime to retrieve.""" + +@dataclass(kw_only=True) +class GetAgentRuntimeOutput(_SerdeShape): + """Dataclass for GetAgentRuntimeOutput structure.""" + + agent_runtime_arn: str + """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" + agent_runtime_name: str + """The name of the AgentCore Runtime.""" + agent_runtime_id: str + """The unique identifier of the AgentCore Runtime.""" + agent_runtime_version: str + """The version of the AgentCore Runtime.""" + created_at: datetime + """The timestamp when the AgentCore Runtime was created.""" + last_updated_at: datetime + """The timestamp when the AgentCore Runtime was last updated.""" + role_arn: str + """The IAM role ARN that provides permissions for the AgentCore Runtime.""" + network_configuration: NetworkConfiguration | None = ... + """The network configuration for the AgentCore Runtime.""" + status: str + """The current status of the AgentCore Runtime.""" + lifecycle_configuration: LifecycleConfiguration + """The life cycle configuration for the AgentCore Runtime.""" + hooks_configuration: RuntimeHooksConfiguration | None = ... + """The lifecycle hooks configuration for the AgentCore Runtime.""" + failure_reason: str | None = ... + """The reason for failure if the AgentCore Runtime is in a failed state.""" + description: str | None = ... + """The description of the AgentCore Runtime.""" + workload_identity_details: WorkloadIdentityDetails | None = ... + """The workload identity details for the AgentCore Runtime.""" + agent_runtime_artifact: AgentRuntimeArtifact | None = ... + """The artifact of the AgentCore Runtime.""" + protocol_configuration: ProtocolConfiguration | None = ... + """ + The protocol configuration for the AgentCore Runtime, including the + protocol, port, and path on which the agent server is available. + """ + environment_variables: dict[str, str] | None = ... + """Environment variables set in the AgentCore Runtime environment.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """The authorizer configuration for the AgentCore Runtime.""" + request_header_configuration: RequestHeaderConfiguration | None = ... + """ + Configuration for HTTP request headers that will be passed through to + the runtime. + """ + metadata_configuration: RuntimeMetadataConfiguration | None = ... + """ + Configuration for microVM Metadata Service (MMDS) settings for the + AgentCore Runtime. + """ + filesystem_configurations: list[FilesystemConfiguration] | None = ... + """The filesystem configurations mounted into the AgentCore Runtime.""" + capacity_provider_configuration: CapacityProviderConfiguration | None = ... + """The capacity provider configuration for the AgentCore Runtime.""" + platform_version: str | None = ... + """The version of the runtime platform used by the AgentCore Runtime.""" + allowed_ports: list[AllowedPort] | None = ... + """ + The additional ports on the AgentCore Runtime that are reachable through + the runtime's session URL. + """ + resource_configurations: list[ResourceConfiguration] | None = ... + """The resource configurations for the AgentCore Runtime.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetApiKeyCredentialProviderInput(_SerdeShape): + """Dataclass for GetApiKeyCredentialProviderInput structure.""" + + name: str | None = ... + """The name of the API key credential provider to retrieve.""" + +@dataclass(kw_only=True) +class GetApiKeyCredentialProviderOutput(_SerdeShape): + """Dataclass for GetApiKeyCredentialProviderOutput structure.""" + + api_key_secret_arn: Secret + """ + The Amazon Resource Name (ARN) of the API key secret in Amazon Web + Services Secrets Manager. + """ + api_key_secret_json_key: str | None = ... + """ + The JSON key used to extract the API key value from the Amazon Web + Services Secrets Manager secret. + """ + api_key_secret_source: str | None = ... + """ + The source type of the API key secret. Either `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if managed by the user in Amazon + Web Services Secrets Manager. + """ + name: str + """The name of the API key credential provider.""" + credential_provider_arn: str + """The Amazon Resource Name (ARN) of the API key credential provider.""" + created_time: datetime + """The timestamp when the API key credential provider was created.""" + last_updated_time: datetime + """The timestamp when the API key credential provider was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBrowserInput(_SerdeShape): + """Dataclass for GetBrowserInput structure.""" + + browser_id: str | None = ... + """The unique identifier of the browser to retrieve.""" + +@dataclass(kw_only=True) +class GetBrowserOutput(_SerdeShape): + """Dataclass for GetBrowserOutput structure.""" + + browser_id: str + """The unique identifier of the browser.""" + browser_arn: str + """The Amazon Resource Name (ARN) of the browser.""" + name: str + """The name of the browser.""" + description: str | None = ... + """The description of the browser.""" + execution_role_arn: str | None = ... + """The IAM role ARN that provides permissions for the browser.""" + network_configuration: BrowserNetworkConfiguration + """ + The network configuration for a browser. This structure defines how the + browser connects to the network. + """ + recording: RecordingConfig | None = ... + """ + The recording configuration for a browser. This structure defines how + browser sessions are recorded. + """ + browser_signing: BrowserSigningConfigOutput | None = ... + """ + The browser signing configuration that shows whether cryptographic agent + identification is enabled for web bot authentication. + """ + enterprise_policies: list[BrowserEnterprisePolicy] | None = ... + """The list of enterprise policy files configured for the browser.""" + certificates: list[Certificate] | None = ... + """The list of certificates configured for the browser.""" + filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... + """ + The file system configurations mounted into the browser. Each entry + describes an access point and its mount path. + """ + status: str + """The current status of the browser.""" + failure_reason: str | None = ... + """The reason for failure if the browser is in a failed state.""" + created_at: datetime + """The timestamp when the browser was created.""" + last_updated_at: datetime + """The timestamp when the browser was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBrowserProfileInput(_SerdeShape): + """Dataclass for GetBrowserProfileInput structure.""" + + profile_id: str | None = ... + """The unique identifier of the browser profile to retrieve.""" + +@dataclass(kw_only=True) +class GetBrowserProfileOutput(_SerdeShape): + """Dataclass for GetBrowserProfileOutput structure.""" + + profile_id: str + """The unique identifier of the browser profile.""" + profile_arn: str + """The Amazon Resource Name (ARN) of the browser profile.""" + name: str + """The name of the browser profile.""" + description: str | None = ... + """The description of the browser profile.""" + status: str + """The current status of the browser profile.""" + created_at: datetime + """The timestamp when the browser profile was created.""" + last_updated_at: datetime + """The timestamp when the browser profile was last updated.""" + last_saved_at: datetime | None = ... + """The timestamp when browser session data was last saved to this profile.""" + last_saved_browser_session_id: str | None = ... + """ + The identifier of the browser session from which data was last saved to + this profile. + """ + last_saved_browser_id: str | None = ... + """ + The identifier of the browser from which data was last saved to this + profile. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCapacityProviderInput(_SerdeShape): + """Dataclass for GetCapacityProviderInput structure.""" + + capacity_provider_id: str | None = ... + """The unique identifier of the capacity provider.""" + +@dataclass(kw_only=True) +class GetCapacityProviderOutput(_SerdeShape): + """Dataclass for GetCapacityProviderOutput structure.""" + + capacity_provider_id: str + """The unique identifier of the capacity provider.""" + capacity_provider_arn: str + """The Amazon Resource Name (ARN) of the capacity provider.""" + name: str + """The name of the capacity provider.""" + status: str + """ + The current status of the capacity provider. For possible values, see + `CapacityProviderStatus`. + """ + description: str | None = ... + """The description of the capacity provider, if one was provided.""" + status_code: str | None = ... + """ + A reason code for a capacity provider that is not in the `READY` state. + Use this code for programmatic error handling. + """ + status_reason: str | None = ... + """ + A human-readable message that describes why the capacity provider is not + in the `READY` state. Because these messages can change, use + `statusCode` for programmatic error handling. + """ + permissions_configuration: PermissionsConfiguration + """The permissions configuration for the capacity provider.""" + compute_configuration: ComputeConfiguration + """The compute configuration for the capacity provider.""" + created_at: datetime + """The timestamp when the capacity provider was created.""" + last_updated_at: datetime + """The timestamp when the capacity provider was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCodeInterpreterInput(_SerdeShape): + """Dataclass for GetCodeInterpreterInput structure.""" + + code_interpreter_id: str | None = ... + """The unique identifier of the code interpreter to retrieve.""" + +@dataclass(kw_only=True) +class GetCodeInterpreterOutput(_SerdeShape): + """Dataclass for GetCodeInterpreterOutput structure.""" + + code_interpreter_id: str + """The unique identifier of the code interpreter.""" + code_interpreter_arn: str + """The Amazon Resource Name (ARN) of the code interpreter.""" + name: str + """The name of the code interpreter.""" + description: str | None = ... + """The description of the code interpreter.""" + execution_role_arn: str | None = ... + """The IAM role ARN that provides permissions for the code interpreter.""" + network_configuration: CodeInterpreterNetworkConfiguration + """ + The network configuration for a code interpreter. This structure defines + how the code interpreter connects to the network. + """ + status: str + """The current status of the code interpreter.""" + certificates: list[Certificate] | None = ... + """The list of certificates configured for the code interpreter.""" + filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... + """ + The file system configurations mounted into the code interpreter. Each + entry describes an access point and its mount path. + """ + failure_reason: str | None = ... + """The reason for failure if the code interpreter is in a failed state.""" + created_at: datetime + """The timestamp when the code interpreter was created.""" + last_updated_at: datetime + """The timestamp when the code interpreter was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetConfigurationBundleInput(_SerdeShape): + """Dataclass for GetConfigurationBundleInput structure.""" + + bundle_id: str | None = ... + """The unique identifier of the configuration bundle to retrieve.""" + branch_name: str | None = ... + """ + The branch name to get the latest version from. If not specified, + returns the latest version on the mainline branch. + """ + +@dataclass(kw_only=True) +class GetConfigurationBundleOutput(_SerdeShape): + """Dataclass for GetConfigurationBundleOutput structure.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle.""" + bundle_id: str + """The unique identifier of the configuration bundle.""" + bundle_name: str + """The name of the configuration bundle.""" + description: str | None = ... + """The description of the configuration bundle.""" + version_id: str + """The version identifier of this configuration bundle.""" + components: dict[str, ComponentConfiguration] + """A map of component identifiers to their configurations for this version.""" + lineage_metadata: VersionLineageMetadata | None = ... + """ + The version lineage metadata, including parent versions, branch name, + and creation source. + """ + created_at: datetime + """The timestamp when the configuration bundle was created.""" + updated_at: datetime + """The timestamp when the configuration bundle was last updated.""" + kms_key_arn: str | None = ... + """ + KMS key ARN used to encrypt component configurations, if CMK was + provided. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetConfigurationBundleVersionInput(_SerdeShape): + """Dataclass for GetConfigurationBundleVersionInput structure.""" + + bundle_id: str | None = ... + """The unique identifier of the configuration bundle.""" + version_id: str | None = ... + """The version identifier of the configuration bundle version to retrieve.""" + +@dataclass(kw_only=True) +class GetConfigurationBundleVersionOutput(_SerdeShape): + """Dataclass for GetConfigurationBundleVersionOutput structure.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle.""" + bundle_id: str + """The unique identifier of the configuration bundle.""" + bundle_name: str + """The name of the configuration bundle.""" + description: str | None = ... + """The description of the configuration bundle.""" + version_id: str + """The version identifier of this configuration bundle version.""" + components: dict[str, ComponentConfiguration] + """A map of component identifiers to their configurations for this version.""" + lineage_metadata: VersionLineageMetadata | None = ... + """ + The version lineage metadata, including parent versions, branch name, + and creation source. + """ + created_at: datetime + """The timestamp when the configuration bundle was created.""" + version_created_at: datetime + """The timestamp when this specific version was created.""" + kms_key_arn: str | None = ... + """ + KMS key ARN used to encrypt component configurations, if CMK was + provided. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetConsentPortalInput(_SerdeShape): + """Dataclass for GetConsentPortalInput structure.""" + + consent_portal_identifier: str | None = ... + """ + The identifier of the consent portal. You can specify either the consent + portal ID or its Amazon Resource Name (ARN). + """ + +@dataclass(kw_only=True) +class GetConsentPortalOutput(_SerdeShape): + """Dataclass for GetConsentPortalOutput structure.""" + + sources: list[ConsentPortalSource] + """The resources served by the consent portal.""" + consent_portal_arn: str + """The Amazon Resource Name (ARN) of the consent portal.""" + consent_portal_id: str + """The unique identifier of the consent portal.""" + created_at: datetime + """The timestamp for when the consent portal was created.""" + description: str | None = ... + """The description of the consent portal.""" + execution_role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role that the consent portal + assumes to access the resources defined in its sources. + """ + idp_config: ConsentPortalIdpConfig + """ + The identity provider configuration that the consent portal uses to + authenticate end users. + """ + name: str + """The name of the consent portal.""" + portal_url: str | None = ... + """The URL used to access the consent portal.""" + status: str + """The current status of the consent portal.""" + status_reason: str | None = ... + """ + A message that provides additional information about the current status + of the consent portal. + """ + updated_at: datetime + """The timestamp for when the consent portal was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDatasetInput(_SerdeShape): + """Dataclass for GetDatasetInput structure.""" + + dataset_id: str | None = ... + """The unique identifier of the dataset to retrieve.""" + dataset_version: str | None = ... + """ + Version to retrieve: \"DRAFT\" or a version number. Defaults to DRAFT if + absent. + """ + +@dataclass(kw_only=True) +class GetDatasetOutput(_SerdeShape): + """Dataclass for GetDatasetOutput structure.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the dataset.""" + dataset_id: str + """The unique identifier of the dataset.""" + dataset_version: str + """ + The resolved version: \"DRAFT\" (default) or the requested version + number. + """ + dataset_name: str + """The name of the dataset.""" + description: str | None = ... + """The description of the dataset.""" + status: str + """The current status of the dataset.""" + draft_status: str | None = ... + """ + Publish synchronization state. Only authoritative when status is ACTIVE. + MODIFIED indicates DRAFT has unpublished changes. UNMODIFIED indicates + DRAFT matches the latest published version. + """ + failure_reason: str | None = ... + """ + Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED. + Describes the reason for the failure. + """ + schema_type: str + """The schema type declared at create time. Immutable after creation.""" + kms_key_arn: str | None = ... + """ + KMS key ARN used for server-side encryption on service Amazon S3 writes, + if configured. + """ + example_count: int + """The number of examples in the DRAFT.""" + download_url: str | None = ... + """ + Presigned Amazon S3 URL to download the consolidated dataset file for + the resolved version. Expires after 5 minutes. Omitted if the file does + not yet exist. + """ + download_url_expires_at: datetime | None = ... + """Expiry timestamp for the download URL.""" + created_at: datetime + """The timestamp when the dataset was created.""" + updated_at: datetime + """The timestamp when the dataset was last updated.""" + tags: dict[str, str] | None = ... + """The tags associated with the dataset.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEvaluatorInput(_SerdeShape): + """Dataclass for GetEvaluatorInput structure.""" + + evaluator_id: str | None = ... + """ + The unique identifier of the evaluator to retrieve. Can be a built-in + evaluator ID (e.g., Builtin.Helpfulness) or a custom evaluator ID. + """ + included_data: str | None = ... + """ + Controls which data is returned in the response. `ALL_DATA` (default) + returns the full evaluator including decrypted instructions and rating + scale. For evaluators encrypted with a customer managed KMS key, this + requires `kms:Decrypt` permission on the key. `METADATA_ONLY` returns + evaluator metadata and model configuration without instructions or + rating scale, and does not require any KMS permissions. + """ + +@dataclass(kw_only=True) +class GetEvaluatorOutput(_SerdeShape): + """Dataclass for GetEvaluatorOutput structure.""" + + evaluator_arn: str + """The Amazon Resource Name (ARN) of the evaluator.""" + evaluator_id: str + """The unique identifier of the evaluator.""" + evaluator_name: str + """The name of the evaluator.""" + description: str | None = ... + """The description of the evaluator.""" + evaluator_config: EvaluatorConfig + """ + The configuration of the evaluator, including LLM-as-a-Judge or + code-based settings. + """ + evaluator_type: str | None = ... + """ + The kind of evaluator resource. Valid values: + + - `Builtin` -- An Amazon Web Services-managed global evaluator. + + - `ThirdParty` -- An Amazon Web Services-managed global evaluator from a + third-party provider. + + - `Custom` -- A customer-created evaluator. + + - `CustomCode` -- A customer-created code-based evaluator. + + - `CustomDerived` -- A customer-created evaluator derived from an + existing base evaluator. + """ + provider: str | None = ... + """ + The source of the evaluator's logic: Amazon Web Services, a third-party + library, or you. + """ + level: str + """ + The evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that + determines the scope of evaluation. + """ + status: str + """The current status of the evaluator.""" + created_at: datetime + """The timestamp when the evaluator was created.""" + updated_at: datetime + """The timestamp when the evaluator was last updated.""" + locked_for_modification: bool | None = ... + """ + Whether the evaluator is locked for modification due to being referenced + by active online evaluation configurations. + """ + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the customer managed KMS key used to + encrypt the evaluator's sensitive data. This field is only present for + evaluators encrypted with a customer managed key. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGatewayInput(_SerdeShape): + """Dataclass for GetGatewayInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway to retrieve.""" + +@dataclass(kw_only=True) +class GetGatewayOutput(_SerdeShape): + """Dataclass for GetGatewayOutput structure.""" + + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway.""" + gateway_id: str + """The unique identifier of the gateway.""" + gateway_url: str | None = ... + """An endpoint for invoking gateway.""" + created_at: datetime + """The timestamp when the gateway was created.""" + updated_at: datetime + """The timestamp when the gateway was last updated.""" + status: str + """The current status of the gateway.""" + status_reasons: list[str] | None = ... + """The reasons for the current status of the gateway.""" + name: str + """The name of the gateway.""" + description: str | None = ... + """The description of the gateway.""" + role_arn: str | None = ... + """The IAM role ARN that provides permissions for the gateway.""" + protocol_type: str = ... + """Protocol applied to a gateway.""" + protocol_configuration: GatewayProtocolConfiguration | None = ... + """ + The configuration for a gateway protocol. This structure defines how the + gateway communicates with external services. + """ + authorizer_type: str + """Authorizer type for the gateway.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """The authorizer configuration for the gateway.""" + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the + gateway. + """ + custom_transform_configuration: CustomTransformConfiguration | None = ... + """ + The custom transformation configuration for the gateway. This + configuration defines how the gateway transforms requests and responses. + """ + interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... + """The interceptors configured on the gateway.""" + policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... + """The policy engine configuration for the gateway.""" + workload_identity_details: WorkloadIdentityDetails | None = ... + """The workload identity details for the gateway.""" + exception_level: str | None = ... + """ + The level of detail in error messages returned when invoking the + gateway. + + - If the value is `DEBUG`, granular exception messages are returned to + help a user debug the gateway. + + - If the value is omitted, a generic error message is returned to the + end user. + """ + web_acl_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services WAF web ACL + associated with the gateway. + """ + waf_configuration: WafConfiguration | None = ... + """The Amazon Web Services WAF configuration for the gateway.""" + domain_override: DomainOverride | None = ... + """ + The public domain names that the gateway advertises in its OAuth + discovery URLs instead of the inbound Host header. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGatewayRateLimitInput(_SerdeShape): + """Dataclass for GetGatewayRateLimitInput structure.""" + + gateway_identifier: str | None = ... + """The unique identifier of the gateway.""" + rate_limit_id: str | None = ... + """The unique identifier of the rate limit to retrieve.""" + +@dataclass(kw_only=True) +class GetGatewayRateLimitOutput(_SerdeShape): + """Shared fields for `GatewayRateLimit` responses.""" + + rate_limit_id: str + """The unique identifier of the rate limit.""" + gateway_identifier: str + """The unique identifier of the gateway.""" + description: str | None = ... + """The human-readable description of the rate limit.""" + dimension_keys: list[str] + """ + The ordered list of dimension key names that define the scope of this + rate limit. + """ + entries: list[LimitEntry] + """ + The list of rule entries that map dimension values to rate + configurations. + """ + status: str + """The current status of the rate limit.""" + created_at: datetime + """The timestamp when the rate limit was created.""" + updated_at: datetime + """The timestamp when the rate limit was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGatewayRuleInput(_SerdeShape): + """Dataclass for GetGatewayRuleInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway containing the rule.""" + rule_id: str | None = ... + """The unique identifier of the rule to retrieve.""" + +@dataclass(kw_only=True) +class GetGatewayRuleOutput(_SerdeShape): + """ + Create response excludes updatedAt (redundant on create). Get/Update + responses include it via their own output structures. + """ + + rule_id: str + """The unique identifier of the gateway rule.""" + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway that the rule belongs to.""" + priority: int + """ + The priority of the rule. Rules are evaluated in order of priority, with + lower numbers evaluated first. + """ + conditions: list[Condition] | None = ... + """The conditions that must be met for the rule to apply.""" + actions: list[Action] + """The actions to take when the rule conditions are met.""" + description: str | None = ... + """The description of the gateway rule.""" + created_at: datetime + """The timestamp when the rule was created.""" + status: str + """The current status of the rule.""" + system: SystemManagedBlock | None = ... + """System-managed metadata for rules created by automated processes.""" + updated_at: datetime | None = ... + """The timestamp when the rule was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGatewayTargetInput(_SerdeShape): + """Dataclass for GetGatewayTargetInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway that contains the target.""" + target_id: str | None = ... + """The unique identifier of the target to retrieve.""" + +@dataclass(kw_only=True) +class GetGatewayTargetOutput(_SerdeShape): + """Dataclass for GetGatewayTargetOutput structure.""" + + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway.""" + target_id: str + """The unique identifier of the gateway target.""" + created_at: datetime + """The timestamp when the gateway target was created.""" + updated_at: datetime + """The timestamp when the gateway target was last updated.""" + status: str + """The current status of the gateway target.""" + status_reasons: list[str] | None = ... + """The reasons for the current status of the gateway target.""" + name: str + """The name of the gateway target.""" + description: str | None = ... + """The description of the gateway target.""" + target_configuration: TargetConfiguration + """ + The configuration for a gateway target. This structure defines how the + gateway connects to and interacts with the target endpoint. + """ + credential_provider_configurations: list[CredentialProviderConfiguration] + """The credential provider configurations for the gateway target.""" + last_synchronized_at: datetime | None = ... + """The last synchronization of the target.""" + metadata_configuration: MetadataConfiguration | None = ... + """ + The metadata configuration for HTTP header and query parameter + propagation for the retrieved gateway target. + """ + private_endpoint: PrivateEndpoint | None = ... + """The private endpoint configuration for the gateway target.""" + private_endpoint_managed_resources: list[ManagedResourceDetails] | None = ... + """ + The managed resources created by the gateway for private endpoint + connectivity. + """ + authorization_data: AuthorizationData | None = ... + """ + OAuth2 authorization data for the gateway target. This data is returned + when a target is configured with a credential provider with + authorization code grant type and requires user federation. + """ + protocol_type: str | None = ... + """The protocol type of the gateway target.""" + certificate_configurations: list[CertificateConfiguration] | None = ... + """ + The private certificate authority (CA) configurations for the gateway + target. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetHarnessEndpointInput(_SerdeShape): + """Dataclass for GetHarnessEndpointInput structure.""" + + harness_id: str | None = ... + """The ID of the harness that the endpoint belongs to.""" + endpoint_name: str | None = ... + """The name of the endpoint to retrieve.""" + +@dataclass(kw_only=True) +class GetHarnessEndpointOutput(_SerdeShape): + """Dataclass for GetHarnessEndpointOutput structure.""" + + endpoint: HarnessEndpoint + """The endpoint resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetHarnessInput(_SerdeShape): + """Dataclass for GetHarnessInput structure.""" + + harness_id: str | None = ... + """The ID of the harness to retrieve.""" + harness_version: str | None = ... + """ + Specific version of the harness to retrieve. If omitted, returns the + current Harness configuration, including its status. + """ + +@dataclass(kw_only=True) +class GetHarnessOutput(_SerdeShape): + """Dataclass for GetHarnessOutput structure.""" + + harness: Harness + """The harness resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMemoryInput(_SerdeShape): + """Dataclass for GetMemoryInput structure.""" + + memory_id: str | None = ... + """The unique identifier of the memory to retrieve.""" + view: str = ... + """The level of detail to return for the memory.""" + +@dataclass(kw_only=True) +class GetMemoryOutput(_SerdeShape): + """Dataclass for GetMemoryOutput structure.""" + + memory: Memory + """The retrieved AgentCore Memory resource details.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOauth2CredentialProviderInput(_SerdeShape): + """Dataclass for GetOauth2CredentialProviderInput structure.""" + + name: str | None = ... + """The name of the OAuth2 credential provider to retrieve.""" + +@dataclass(kw_only=True) +class GetOauth2CredentialProviderOutput(_SerdeShape): + """Dataclass for GetOauth2CredentialProviderOutput structure.""" + + client_secret_arn: Secret + """ + The Amazon Resource Name (ARN) of the client secret in Amazon Web + Services Secrets Manager. + """ + client_secret_json_key: str | None = ... + """ + The JSON key used to extract the client secret value from the Amazon Web + Services Secrets Manager secret. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Either `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if managed by the user in Amazon + Web Services Secrets Manager. + """ + name: str + """The name of the OAuth2 credential provider.""" + credential_provider_arn: str + """ARN of the credential provider requested.""" + credential_provider_vendor: str + """The vendor of the OAuth2 credential provider.""" + callback_url: str | None = ... + """ + Callback URL to register on the OAuth2 credential provider as an allowed + callback URL. This URL is where the OAuth2 authorization server + redirects users after they complete the authorization flow. + """ + oauth2_provider_config_output: Oauth2ProviderConfigOutput + """The configuration output for the OAuth2 provider.""" + created_time: datetime + """The timestamp when the OAuth2 credential provider was created.""" + last_updated_time: datetime + """The timestamp when the OAuth2 credential provider was last updated.""" + status: str | None = ... + """The current status of the OAuth2 credential provider.""" + failure_reason: str | None = ... + """ + The reason for failure if the OAuth2 credential provider is in a failed + state. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOnlineEvaluationConfigInput(_SerdeShape): + """Dataclass for GetOnlineEvaluationConfigInput structure.""" + + online_evaluation_config_id: str | None = ... + """ + The unique identifier of the online evaluation configuration to + retrieve. + """ + +@dataclass(kw_only=True) +class GetOnlineEvaluationConfigOutput(_SerdeShape): + """Dataclass for GetOnlineEvaluationConfigOutput structure.""" + + online_evaluation_config_arn: str + """The Amazon Resource Name (ARN) of the online evaluation configuration.""" + online_evaluation_config_id: str + """The unique identifier of the online evaluation configuration.""" + online_evaluation_config_name: str + """The name of the online evaluation configuration.""" + description: str | None = ... + """The description of the online evaluation configuration.""" + rule: Rule + """ + The evaluation rule containing sampling configuration, filters, and + session settings. + """ + data_source_config: DataSourceConfig + """ + The data source configuration specifying CloudWatch log groups and + service names to monitor. + """ + evaluators: list[EvaluatorReference] = ... + """The list of evaluators applied during online evaluation.""" + insights: list[Insight] | None = ... + """The list of insight types configured for this evaluation.""" + clustering_config: ClusteringConfig | None = ... + """The clustering configuration for periodic batch evaluation.""" + output_config: OutputConfig | None = ... + """ + The output configuration specifying where evaluation results are + written. + """ + evaluation_execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role used for evaluation + execution. + """ + status: str + """The status of the online evaluation configuration.""" + execution_status: str + """ + The execution status indicating whether the online evaluation is + currently running. + """ + created_at: datetime + """The timestamp when the online evaluation configuration was created.""" + updated_at: datetime + """The timestamp when the online evaluation configuration was last updated.""" + failure_reason: str | None = ... + """ + The reason for failure if the online evaluation configuration execution + failed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPaymentConnectorInput(_SerdeShape): + """Dataclass for GetPaymentConnectorInput structure.""" + + payment_manager_id: str | None = ... + """The unique identifier of the parent payment manager.""" + payment_connector_id: str | None = ... + """The unique identifier of the payment connector to retrieve.""" + +@dataclass(kw_only=True) +class GetPaymentConnectorOutput(_SerdeShape): + """Dataclass for GetPaymentConnectorOutput structure.""" + + payment_connector_id: str + """The unique identifier of the payment connector.""" + name: str + """The name of the payment connector.""" + description: str | None = ... + """The description of the payment connector.""" + type: str + """ + The type of the payment connector, which determines the payment provider + integration. + """ + provision_mode: str | None = ... + """ + Specifies how the payment connector was provisioned. Payment connectors + that were created before this field was available return `MANUAL`. + + - `MANUAL` - You provided the credential provider configurations, so you + own the credentials. Rotate them with the payment provider, then call + `UpdatePaymentCredentialProvider`. + + - `QUICK_CREATE` - AgentCore provisioned the credential provider for + you, so the credentials are service-managed. You can rotate them with + `RotatePaymentConnectorCredentials`. + """ + credential_provider_configurations: list[CredentialsProviderConfiguration] + """The credential provider configurations for the payment connector.""" + created_at: datetime + """The timestamp when the payment connector was created.""" + last_updated_at: datetime + """The timestamp when the payment connector was last updated.""" + status: str + """ + The current status of the payment connector. Possible values include + `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, + `UPDATE_FAILED`, and `DELETE_FAILED`. + """ + authorization_url: str | None = ... + """ + The URL that the user must open to complete OAuth consent. This field is + only present when the payment connector status is + `PENDING_AUTHENTICATION`. + """ + credentials_updated_at: datetime | None = ... + """ + The timestamp when the payment connector's current service-managed + credentials took effect. It is first set when the credentials are + provisioned and is updated by each rotation. This field is present only + for payment connectors with a `provisionMode` of `QUICK_CREATE`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPaymentCredentialProviderInput(_SerdeShape): + """Dataclass for GetPaymentCredentialProviderInput structure.""" + + name: str | None = ... + """The name of the payment credential provider to retrieve.""" + +@dataclass(kw_only=True) +class GetPaymentCredentialProviderOutput(_SerdeShape): + """Dataclass for GetPaymentCredentialProviderOutput structure.""" + + name: str + """The name of the payment credential provider.""" + credential_provider_arn: str + """The Amazon Resource Name (ARN) of the payment credential provider.""" + credential_provider_vendor: str + """The vendor type for the payment credential provider.""" + provider_configuration_output: PaymentProviderConfigurationOutput + """ + Output configuration (contains secret ARNs, excludes actual secret + values). + """ + created_time: datetime + """The timestamp when the payment credential provider was created.""" + last_updated_time: datetime + """The timestamp when the payment credential provider was last updated.""" + tags: dict[str, str] | None = ... + """The tags associated with the payment credential provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPaymentManagerInput(_SerdeShape): + """Dataclass for GetPaymentManagerInput structure.""" + + payment_manager_id: str | None = ... + """The unique identifier of the payment manager to retrieve.""" + +@dataclass(kw_only=True) +class GetPaymentManagerOutput(_SerdeShape): + """Dataclass for GetPaymentManagerOutput structure.""" + + payment_manager_arn: str + """The Amazon Resource Name (ARN) of the payment manager.""" + payment_manager_id: str + """The unique identifier of the payment manager.""" + name: str + """The name of the payment manager.""" + description: str | None = ... + """The description of the payment manager.""" + authorizer_type: str + """ + The type of authorizer used by the payment manager. + + - `CUSTOM_JWT` - Authorize with a bearer token. + + - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. + """ + authorizer_configuration: AuthorizerConfiguration | None = ... + """ + Represents inbound authorization configuration options used to + authenticate incoming requests. + """ + role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role associated with the + payment manager. + """ + workload_identity_details: WorkloadIdentityDetails | None = ... + """The information about the workload identity.""" + created_at: datetime + """The timestamp when the payment manager was created.""" + last_updated_at: datetime + """The timestamp when the payment manager was last updated.""" + status: str + """ + The current status of the payment manager. Possible values include + `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, + `UPDATE_FAILED`, and `DELETE_FAILED`. + """ + tags: dict[str, str] | None = ... + """The tags associated with the payment manager.""" + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive + payment manager data at rest, if configured. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicyEngineInput(_SerdeShape): + """Dataclass for GetPolicyEngineInput structure.""" + + policy_engine_id: str | None = ... + """ + The unique identifier of the policy engine to be retrieved. This must be + a valid policy engine ID that exists within the account. + """ + +@dataclass(kw_only=True) +class GetPolicyEngineOutput(_SerdeShape): + """Dataclass for GetPolicyEngineOutput structure.""" + + policy_engine_id: str + """ + The unique identifier of the retrieved policy engine. This matches the + policy engine ID provided in the request and serves as the system + identifier. + """ + name: str + """ + The customer-assigned name of the policy engine. This is the + human-readable identifier that was specified when the policy engine was + created. + """ + created_at: datetime + """The timestamp when the policy engine was originally created.""" + updated_at: datetime + """ + The timestamp when the policy engine was last modified. This tracks the + most recent changes to the policy engine configuration. + """ + policy_engine_arn: str + """ + The Amazon Resource Name (ARN) of the policy engine. This globally + unique identifier can be used for cross-service references and IAM + policy statements. + """ + status: str + """The current status of the policy engine.""" + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy + engine data. + """ + description: str | None = ... + """ + The human-readable description of the policy engine's purpose and + scope. This helps administrators understand the policy engine's role in + governance. + """ + status_reasons: list[str] + """ + Additional information about the policy engine status. This provides + details about any failures or the current state of the policy engine. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicyEngineSummaryInput(_SerdeShape): + """Dataclass for GetPolicyEngineSummaryInput structure.""" + + policy_engine_id: str | None = ... + """ + The unique identifier of the policy engine to retrieve the summary for. + This must be a valid policy engine ID that exists within the account. + """ + +@dataclass(kw_only=True) +class GetPolicyEngineSummaryOutput(_SerdeShape): + """Dataclass for GetPolicyEngineSummaryOutput structure.""" + + policy_engine_id: str + """The unique identifier of the policy engine.""" + name: str + """The customer-assigned name of the policy engine.""" + created_at: datetime + """The timestamp when the policy engine was originally created.""" + updated_at: datetime + """The timestamp when the policy engine was last modified.""" + policy_engine_arn: str + """The Amazon Resource Name (ARN) of the policy engine.""" + status: str + """The current status of the policy engine.""" + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy + engine data. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicyGenerationInput(_SerdeShape): + """Dataclass for GetPolicyGenerationInput structure.""" + + policy_generation_id: str | None = ... + """ + The unique identifier of the policy generation request to be retrieved. + This must be a valid generation ID from a previous + [StartPolicyGeneration](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html) + call. + """ + policy_engine_id: str | None = ... + """ + The identifier of the policy engine associated with the policy + generation request. This provides the context for the generation + operation and schema validation. + """ + +@dataclass(kw_only=True) +class GetPolicyGenerationOutput(_SerdeShape): + """Dataclass for GetPolicyGenerationOutput structure.""" + + policy_engine_id: str + """ + The identifier of the policy engine associated with this policy + generation. This confirms the policy engine context for the generation + operation. + """ + policy_generation_id: str + """ + The unique identifier of the policy generation request. This matches the + generation ID provided in the request and serves as the tracking + identifier. + """ + name: str + """ + The customer-assigned name for the policy generation request. This helps + identify and track generation operations across multiple requests. + """ + policy_generation_arn: str + """ + The Amazon Resource Name (ARN) of the policy generation. This globally + unique identifier can be used for tracking, auditing, and cross-service + references. + """ + resource: Resource + """ + The resource information associated with the policy generation. This + provides context about the target resources for which the policies are + being generated. + """ + created_at: datetime + """ + The timestamp when the policy generation request was created. This is + used for tracking and auditing generation operations and their + lifecycle. + """ + updated_at: datetime + """ + The timestamp when the policy generation was last updated. This tracks + the progress of the generation process and any status changes. + """ + status: str + """ + The current status of the policy generation. This indicates whether the + generation is in progress, completed successfully, or failed during + processing. + """ + findings: str | None = ... + """ + The findings and results from the policy generation process. This + includes any issues, recommendations, validation results, or insights + from the generated policies. + """ + status_reasons: list[str] + """ + Additional information about the generation status. This provides + details about any failures, warnings, or the current state of the + generation process. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicyGenerationSummaryInput(_SerdeShape): + """Dataclass for GetPolicyGenerationSummaryInput structure.""" + + policy_generation_id: str | None = ... + """ + The unique identifier of the policy generation request to retrieve the + summary for. + """ + policy_engine_id: str | None = ... + """ + The identifier of the policy engine associated with the policy + generation request. + """ + +@dataclass(kw_only=True) +class GetPolicyGenerationSummaryOutput(_SerdeShape): + """Dataclass for GetPolicyGenerationSummaryOutput structure.""" + + policy_engine_id: str + """ + The identifier of the policy engine associated with this policy + generation. + """ + policy_generation_id: str + """The unique identifier of the policy generation request.""" + name: str + """The customer-assigned name for the policy generation request.""" + policy_generation_arn: str + """The Amazon Resource Name (ARN) of the policy generation request.""" + resource: Resource + """The resource information associated with the policy generation.""" + created_at: datetime + """The timestamp when the policy generation request was created.""" + updated_at: datetime + """The timestamp when the policy generation was last updated.""" + status: str + """The current status of the policy generation request.""" + findings: str | None = ... + """The findings from the policy generation process, if available.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicyInput(_SerdeShape): + """Dataclass for GetPolicyInput structure.""" + + policy_engine_id: str | None = ... + """ + The identifier of the policy engine that manages the policy to be + retrieved. + """ + policy_id: str | None = ... + """ + The unique identifier of the policy to be retrieved. This must be a + valid policy ID that exists within the specified policy engine. + """ + +@dataclass(kw_only=True) +class GetPolicyOutput(_SerdeShape): + """Dataclass for GetPolicyOutput structure.""" + + policy_id: str + """ + The unique identifier of the retrieved policy. This matches the policy + ID provided in the request and serves as the system identifier for the + policy. + """ + name: str + """ + The customer-assigned name of the policy. This is the human-readable + identifier that was specified when the policy was created. + """ + policy_engine_id: str + """ + The identifier of the policy engine that manages this policy. This + confirms the policy engine context for the retrieved policy. + """ + created_at: datetime + """The timestamp when the policy was originally created.""" + updated_at: datetime + """ + The timestamp when the policy was last modified. This tracks the most + recent changes to the policy configuration. + """ + policy_arn: str + """ + The Amazon Resource Name (ARN) of the policy. This globally unique + identifier can be used for cross-service references and IAM policy + statements. + """ + status: str + """The current status of the policy.""" + enforcement_mode: str = ... + """The current enforcement mode of the policy.""" + definition: PolicyDefinition + """ + The Cedar or Dogwood policy statement that defines the access control + rules. This contains the actual policy logic used for agent behavior + control and access decisions. + """ + description: str | None = ... + """ + The human-readable description of the policy's purpose and + functionality. This helps administrators understand and manage the + policy. + """ + status_reasons: list[str] + """ + Additional information about the policy status. This provides details + about any failures or the current state of the policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicySummaryInput(_SerdeShape): + """Dataclass for GetPolicySummaryInput structure.""" + + policy_engine_id: str | None = ... + """ + The identifier of the policy engine that manages the policy to retrieve + the summary for. + """ + policy_id: str | None = ... + """ + The unique identifier of the policy to retrieve the summary for. This + must be a valid policy ID that exists within the specified policy + engine. + """ + +@dataclass(kw_only=True) +class GetPolicySummaryOutput(_SerdeShape): + """Dataclass for GetPolicySummaryOutput structure.""" + + policy_id: str + """The unique identifier of the policy.""" + name: str + """The customer-assigned name of the policy.""" + policy_engine_id: str + """The identifier of the policy engine that manages this policy.""" + created_at: datetime + """The timestamp when the policy was originally created.""" + updated_at: datetime + """The timestamp when the policy was last modified.""" + policy_arn: str + """The Amazon Resource Name (ARN) of the policy.""" + status: str + """The current status of the policy.""" + enforcement_mode: str = ... + """The current enforcement mode of the policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRegistryInput(_SerdeShape): + """Dataclass for GetRegistryInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry to retrieve. You can specify either the + Amazon Resource Name (ARN) or the ID of the registry. + """ + +@dataclass(kw_only=True) +class GetRegistryOutput(_SerdeShape): + """Dataclass for GetRegistryOutput structure.""" + + name: str + """The name of the registry.""" + description: str | None = ... + """The description of the registry.""" + registry_id: str + """The unique identifier of the registry.""" + registry_arn: str + """The Amazon Resource Name (ARN) of the registry.""" + authorizer_type: str | None = ... + """ + The type of authorizer used by the registry. This controls the + authorization method for the Search and Invoke APIs used by consumers. + + - `CUSTOM_JWT` - Authorize with a bearer token. + + - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. + """ + authorizer_configuration: AuthorizerConfiguration | None = ... + """ + The authorizer configuration for the registry. For details, see the + `AuthorizerConfiguration` data type. + """ + approval_configuration: ApprovalConfiguration | None = ... + """ + The approval configuration for registry records. For details, see the + `ApprovalConfiguration` data type. + """ + status: str + """ + The current status of the registry. Possible values include `CREATING`, + `READY`, `UPDATING`, `CREATE_FAILED`, `UPDATE_FAILED`, `DELETING`, and + `DELETE_FAILED`. + """ + status_reason: str | None = ... + """ + The reason for the current status, typically set when the status is a + failure state. + """ + created_at: datetime + """The timestamp when the registry was created.""" + updated_at: datetime + """The timestamp when the registry was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRegistryRecordInput(_SerdeShape): + """Dataclass for GetRegistryRecordInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry containing the record. You can specify + either the Amazon Resource Name (ARN) or the ID of the registry. + """ + record_id: str | None = ... + """ + The identifier of the registry record to retrieve. You can specify + either the Amazon Resource Name (ARN) or the ID of the record. + """ + +@dataclass(kw_only=True) +class GetRegistryRecordOutput(_SerdeShape): + """Dataclass for GetRegistryRecordOutput structure.""" + + registry_arn: str + """The Amazon Resource Name (ARN) of the registry that contains the record.""" + record_arn: str + """The Amazon Resource Name (ARN) of the registry record.""" + record_id: str + """The unique identifier of the registry record.""" + name: str + """The name of the registry record.""" + description: str | None = ... + """The description of the registry record.""" + descriptor_type: str + """ + The descriptor type of the registry record. Possible values are `MCP`, + `A2A`, `CUSTOM`, and `AGENT_SKILLS`. + """ + descriptors: Descriptors + """ + The descriptor-type-specific configuration containing the resource + schema and metadata. For details, see the `Descriptors` data type. + """ + record_version: str | None = ... + """The version of the registry record.""" + status: str + """ + The current status of the registry record. Possible values include + `CREATING`, `DRAFT`, `APPROVED`, `PENDING_APPROVAL`, `REJECTED`, + `DEPRECATED`, `UPDATING`, `CREATE_FAILED`, and `UPDATE_FAILED`. A record + transitions from `CREATING` to `DRAFT`, then to `PENDING_APPROVAL` (via + `SubmitRegistryRecordForApproval`), and finally to `APPROVED` upon + approval. + """ + created_at: datetime + """The timestamp when the registry record was created.""" + updated_at: datetime + """The timestamp when the registry record was last updated.""" + status_reason: str | None = ... + """ + The reason for the current status, typically set when the status is a + failure state. + """ + synchronization_type: str | None = ... + """The type of synchronization used for this record.""" + synchronization_configuration: SynchronizationConfiguration | None = ... + """ + The configuration for synchronizing registry record metadata from an + external source. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyInput(_SerdeShape): + """Dataclass for GetResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource for which to retrieve the + resource policy. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyOutput(_SerdeShape): + """Dataclass for GetResourcePolicyOutput structure.""" + + policy: str | None = ... + """The resource policy associated with the specified resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTokenVaultInput(_SerdeShape): + """Dataclass for GetTokenVaultInput structure.""" + + token_vault_id: str | None = ... + """The unique identifier of the token vault to retrieve.""" + +@dataclass(kw_only=True) +class GetTokenVaultOutput(_SerdeShape): + """Dataclass for GetTokenVaultOutput structure.""" + + token_vault_id: str + """The ID of the token vault.""" + kms_configuration: KmsConfiguration + """The KMS configuration for the token vault.""" + last_modified_date: datetime + """The timestamp when the token vault was last modified.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetWorkloadIdentityInput(_SerdeShape): + """Dataclass for GetWorkloadIdentityInput structure.""" + + name: str | None = ... + """The name of the workload identity to retrieve.""" + +@dataclass(kw_only=True) +class GetWorkloadIdentityOutput(_SerdeShape): + """Dataclass for GetWorkloadIdentityOutput structure.""" + + name: str + """The name of the workload identity.""" + workload_identity_arn: str + """The Amazon Resource Name (ARN) of the workload identity.""" + allowed_resource_oauth2_return_urls: list[str] | None = ... + """ + The list of allowed OAuth2 return URLs for resources associated with + this workload identity. + """ + created_time: datetime + """The timestamp when the workload identity was created.""" + last_updated_time: datetime + """The timestamp when the workload identity was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GithubOauth2ProviderConfigInput(_SerdeShape): + """Input configuration for a GitHub OAuth2 provider.""" + + client_id: str + """The client ID for the GitHub OAuth2 provider.""" + client_secret: str = ... + """The client secret for the GitHub OAuth2 provider.""" + client_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the client secret. This includes the secret ID and the JSON key + used to extract the client secret value from the secret. Required when + `clientSecretSource` is set to `EXTERNAL`. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + +@dataclass(kw_only=True) +class GithubOauth2ProviderConfigOutput(_SerdeShape): + """Output configuration for a GitHub OAuth2 provider.""" + + oauth_discovery: Oauth2Discovery + """The OAuth2 discovery information for the GitHub provider.""" + client_id: str | None = ... + """The client ID for the GitHub OAuth2 provider.""" + +@dataclass(kw_only=True) +class GoogleOauth2ProviderConfigInput(_SerdeShape): + """Input configuration for a Google OAuth2 provider.""" + + client_id: str + """The client ID for the Google OAuth2 provider.""" + client_secret: str = ... + """The client secret for the Google OAuth2 provider.""" + client_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the client secret. This includes the secret ID and the JSON key + used to extract the client secret value from the secret. Required when + `clientSecretSource` is set to `EXTERNAL`. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + +@dataclass(kw_only=True) +class GoogleOauth2ProviderConfigOutput(_SerdeShape): + """Output configuration for a Google OAuth2 provider.""" + + oauth_discovery: Oauth2Discovery + """The OAuth2 discovery information for the Google provider.""" + client_id: str | None = ... + """The client ID for the Google OAuth2 provider.""" + +@dataclass(kw_only=True) +class Harness(_SerdeShape): + """Representation of a harness.""" + + harness_id: str + """The ID of the harness.""" + harness_name: str + """The name of the harness.""" + arn: str + """The ARN of the harness.""" + status: str + """The status of the harness.""" + harness_version: str | None = ... + """ + The version of the harness. Incremented on every successful + UpdateHarness. + """ + execution_role_arn: str + """IAM role the harness assumes when running.""" + created_at: datetime + """The createdAt time of the harness.""" + updated_at: datetime + """The updatedAt time of the harness.""" + model: HarnessModelConfiguration + """The configuration of the default model used by the Harness.""" + system_prompt: list[HarnessSystemContentBlock] + """The system prompt of the harness.""" + tools: list[HarnessTool] + """The tools of the harness.""" + skills: list[HarnessSkill] + """The skills of the harness.""" + allowed_tools: list[str] + """The allowed tools of the harness. All tools are allowed by default.""" + truncation: HarnessTruncationConfiguration + """Configuration for truncating model context.""" + environment: HarnessEnvironmentProvider + """The compute environment on which the Harness runs.""" + environment_artifact: HarnessEnvironmentArtifact | None = ... + """ + The environment artifact (e.g., container) in which the Harness + operates. + """ + environment_variables: dict[str, str] | None = ... + """ + Environment variables exposed in the environment in which the harness + operates. + """ + authorizer_configuration: AuthorizerConfiguration | None = ... + """ + Represents inbound authorization configuration options used to + authenticate incoming requests. + """ + memory: HarnessMemoryConfiguration | None = ... + """AgentCore Memory instance configuration for short and long term memory.""" + hooks: list[HarnessHook] | None = ... + """The lifecycle hooks configured for the harness.""" + max_iterations: int | None = ... + """ + The maximum number of iterations in the agent loop allowed before + exiting per invocation. + """ + max_tokens: int | None = ... + """ + The maximum total number of output tokens the agent can generate across + all model calls within a single invocation. + """ + timeout_seconds: int | None = ... + """The maximum duration per invocation.""" + failure_reason: str | None = ... + """Reason why create or update operations fail.""" + +@dataclass(kw_only=True) +class HarnessAfterInvocationHook(_SerdeShape): + """The configuration for a hook that runs after an invocation completes.""" + + name: str + """The name of the hook.""" + target: HarnessHookTarget + """The target that receives the hook event.""" + +@dataclass(kw_only=True) +class HarnessAfterToolCallHook(_SerdeShape): + """The configuration for a hook that runs after a tool call completes.""" + + name: str + """The name of the hook.""" + target: HarnessHookTarget + """The target that receives the hook event.""" + +@dataclass(kw_only=True) +class HarnessAgentCoreBrowserConfig(_SerdeShape): + """Configuration for AgentCore Browser.""" + + browser_arn: str | None = ... + """If not populated, the built-in Browser ARN is used.""" + +@dataclass(kw_only=True) +class HarnessAgentCoreCodeInterpreterConfig(_SerdeShape): + """Configuration for AgentCore Code Interpreter.""" + + code_interpreter_arn: str | None = ... + """If not populated, the built-in Code Interpreter ARN is used.""" + +@dataclass(kw_only=True) +class HarnessAgentCoreGatewayConfig(_SerdeShape): + """Configuration for AgentCore Gateway.""" + + gateway_arn: str + """The ARN of the desired AgentCore Gateway.""" + outbound_auth: HarnessGatewayOutboundAuth | None = ... + """ + How harness authenticates to this Gateway. Defaults to AWS_IAM (SigV4) + if omitted. + """ + +@dataclass(kw_only=True) +class HarnessAgentCoreMemoryConfiguration(_SerdeShape): + """Configuration for AgentCore Memory integration.""" + + arn: str + """The ARN of the AgentCore Memory resource.""" + actor_id: str | None = ... + """The actor ID for memory operations.""" + messages_count: int | None = ... + """The number of messages to retrieve from memory.""" + retrieval_config: dict[str, HarnessAgentCoreMemoryRetrievalConfig] | None = ... + """ + The retrieval configuration for long-term memory, mapping namespace path + templates to retrieval settings. + """ + +@dataclass(kw_only=True) +class HarnessAgentCoreMemoryRetrievalConfig(_SerdeShape): + """Configuration for memory retrieval within a namespace.""" + + top_k: int | None = ... + """The maximum number of memory entries to retrieve.""" + relevance_score: float | None = ... + """The minimum relevance score for retrieved memories.""" + strategy_id: str | None = ... + """The ID of the retrieval strategy to use.""" + +@dataclass(kw_only=True) +class HarnessAgentCoreRuntimeEnvironment(_SerdeShape): + """The AgentCore Runtime environment for a harness.""" + + agent_runtime_arn: str + """The ARN of the underlying AgentCore Runtime.""" + agent_runtime_name: str + """The name of the underlying AgentCore Runtime.""" + agent_runtime_id: str + """The ID of the underlying AgentCore Runtime.""" + lifecycle_configuration: LifecycleConfiguration + """ + The lifecycle configuration for the harness's runtime environment. For + a harness, `idleRuntimeSessionTimeout` and `maxLifetime` each accept a + value between 60 and 28800 seconds (8 hours), and + `idleRuntimeSessionTimeout` must be less than or equal to `maxLifetime`. + """ + network_configuration: NetworkConfiguration + """SecurityConfig for the Agent.""" + filesystem_configurations: list[FilesystemConfiguration] | None = ... + """The filesystem configurations for the runtime environment.""" + +@dataclass(kw_only=True) +class HarnessAgentCoreRuntimeEnvironmentRequest(_SerdeShape): + """The AgentCore Runtime environment request configuration.""" + + lifecycle_configuration: LifecycleConfiguration | None = ... + """ + The lifecycle configuration for the harness's runtime environment. For + a harness, `idleRuntimeSessionTimeout` and `maxLifetime` each accept a + value between 60 and 28800 seconds (8 hours), and + `idleRuntimeSessionTimeout` must be less than or equal to `maxLifetime`. + Values above 28800 seconds are rejected with a `ValidationException`. + """ + network_configuration: NetworkConfiguration | None = ... + """SecurityConfig for the Agent.""" + filesystem_configurations: list[FilesystemConfiguration] | None = ... + """The filesystem configurations for the runtime environment.""" + +class HarnessBedrockApiFormat(UnknownEnumMixin, StrEnum): + CONVERSE_STREAM = "converse_stream" + """Use the Bedrock Converse Stream API format.""" + RESPONSES = "responses" + """Use the Responses API format.""" + CHAT_COMPLETIONS = "chat_completions" + """Use the Chat Completions API format.""" + +@dataclass(kw_only=True) +class HarnessBedrockModelConfig(_SerdeShape): + """Configuration for an Amazon Bedrock model provider.""" + + model_id: str + """The Bedrock model ID.""" + max_tokens: int | None = ... + """ + The maximum number of tokens to allow in the generated response per + model call. + """ + temperature: float | None = ... + """The temperature to set when calling the model.""" + top_p: float | None = ... + """The topP set when calling the model.""" + api_format: str | None = ... + """The API format to use when calling the Bedrock provider.""" + additional_params: Document | None = ... + """ + Provider-specific parameters passed through to the model provider + unchanged. + """ + +@dataclass(kw_only=True) +class HarnessBeforeInvocationHook(_SerdeShape): + """The configuration for a hook that runs before an invocation begins.""" + + name: str + """The name of the hook.""" + target: HarnessHookTarget + """The target that receives the hook event.""" + +@dataclass(kw_only=True) +class HarnessBeforeToolCallHook(_SerdeShape): + """The configuration for a hook that runs before the agent calls a tool.""" + + name: str + """The name of the hook.""" + target: HarnessHookTarget + """The target that receives the hook event.""" + +@dataclass(kw_only=True) +class HarnessDisabledMemoryConfiguration(_SerdeShape): + """Explicitly opt out of memory.""" + +@dataclass(kw_only=True) +class HarnessEndpoint(_SerdeShape): + """ + Representation of a harness endpoint. An endpoint is a named, stable + reference to a specific version of a harness that callers invoke, + allowing the underlying version to be updated without changing how the + agent is invoked. + """ + + harness_id: str + """The ID of the harness that the endpoint belongs to.""" + harness_name: str + """The name of the harness that the endpoint belongs to.""" + endpoint_name: str + """The name of the endpoint.""" + arn: str + """The ARN of the endpoint.""" + status: str + """The status of the endpoint.""" + created_at: datetime + """The timestamp when the endpoint was created.""" + updated_at: datetime + """The timestamp when the endpoint was last updated.""" + live_version: str | None = ... + """The harness version that the endpoint is currently serving.""" + target_version: str | None = ... + """ + The harness version that the endpoint points to. While an update is in + progress, this can differ from the live version until the endpoint + finishes transitioning. + """ + description: str | None = ... + """The description of the endpoint.""" + failure_reason: str | None = ... + """The reason the endpoint's last create or update operation failed.""" + +class HarnessEndpointStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + READY = "READY" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass +class HarnessEnvironmentArtifactContainerConfiguration(_SerdeShape): + """Representation of a container configuration.""" + + value: ContainerConfiguration + +@dataclass +class HarnessEnvironmentArtifactUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessEnvironmentArtifact = Union[ + HarnessEnvironmentArtifactContainerConfiguration | HarnessEnvironmentArtifactUnknown +] +""" +The environment artifact for a harness, such as a container image +containing custom dependencies. +""" + +class _HarnessEnvironmentArtifactDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessEnvironmentArtifact: ... + +@dataclass +class HarnessEnvironmentProviderAgentCoreRuntimeEnvironment(_SerdeShape): + """The AgentCore Runtime environment configuration.""" + + value: HarnessAgentCoreRuntimeEnvironment + +@dataclass +class HarnessEnvironmentProviderUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessEnvironmentProvider = Union[ + HarnessEnvironmentProviderAgentCoreRuntimeEnvironment + | HarnessEnvironmentProviderUnknown +] +"""The environment provider for a harness.""" + +class _HarnessEnvironmentProviderDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessEnvironmentProvider: ... + +@dataclass +class HarnessEnvironmentProviderRequestAgentCoreRuntimeEnvironment(_SerdeShape): + """The AgentCore Runtime environment configuration.""" + + value: HarnessAgentCoreRuntimeEnvironmentRequest + +@dataclass +class HarnessEnvironmentProviderRequestUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessEnvironmentProviderRequest = Union[ + HarnessEnvironmentProviderRequestAgentCoreRuntimeEnvironment + | HarnessEnvironmentProviderRequestUnknown +] +"""The environment provider request configuration.""" + +class _HarnessEnvironmentProviderRequestDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessEnvironmentProviderRequest: ... + +@dataclass +class HarnessGatewayOutboundAuthAwsIam(_SerdeShape): + """SigV4-sign requests using the agent's execution role.""" + + value: Unit + +@dataclass +class HarnessGatewayOutboundAuthNone(_SerdeShape): + """No authentication.""" + + value: Unit + +@dataclass +class HarnessGatewayOutboundAuthOauth(_SerdeShape): + """ + Use OAuth credentials for outbound authentication to the gateway. + + The `AUTHORIZATION_CODE` grant type is not supported for outbound + authentication from a harness to an AgentCore Gateway, even when + `defaultReturnUrl` is specified. + """ + + value: OAuthCredentialProvider + +@dataclass +class HarnessGatewayOutboundAuthUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessGatewayOutboundAuth = Union[ + HarnessGatewayOutboundAuthAwsIam + | HarnessGatewayOutboundAuthNone + | HarnessGatewayOutboundAuthOauth + | HarnessGatewayOutboundAuthUnknown +] +"""Authentication method for calling a Gateway.""" + +class _HarnessGatewayOutboundAuthDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessGatewayOutboundAuth: ... + +@dataclass(kw_only=True) +class HarnessGeminiModelConfig(_SerdeShape): + """ + Configuration for a Google Gemini model provider. Requires an API key + stored in AgentCore Identity. + """ + + model_id: str + """The Gemini model ID.""" + api_key_arn: str + """The ARN of your Gemini API key on AgentCore Identity.""" + max_tokens: int | None = ... + """ + The maximum number of tokens to allow in the generated response per + model call. + """ + temperature: float | None = ... + """The temperature to set when calling the model.""" + top_p: float | None = ... + """The topP set when calling the model.""" + top_k: int | None = ... + """The topK set when calling the model.""" + additional_params: Document | None = ... + """ + Provider-specific parameters passed through to the Gemini model provider + unchanged. + """ + +@dataclass +class HarnessHookBeforeInvocation(_SerdeShape): + """A hook that runs before an invocation begins.""" + + value: HarnessBeforeInvocationHook + +@dataclass +class HarnessHookAfterInvocation(_SerdeShape): + """A hook that runs after an invocation completes.""" + + value: HarnessAfterInvocationHook + +@dataclass +class HarnessHookBeforeToolCall(_SerdeShape): + """A hook that runs before the agent calls a tool.""" + + value: HarnessBeforeToolCallHook + +@dataclass +class HarnessHookAfterToolCall(_SerdeShape): + """A hook that runs after a tool call completes.""" + + value: HarnessAfterToolCallHook + +@dataclass +class HarnessHookUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessHook = Union[ + HarnessHookBeforeInvocation + | HarnessHookAfterInvocation + | HarnessHookBeforeToolCall + | HarnessHookAfterToolCall + | HarnessHookUnknown +] +"""A lifecycle hook configuration. Specify one hook type.""" + +class _HarnessHookDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> HarnessHook: ... + +@dataclass(kw_only=True) +class HarnessHookEventBridgeTarget(_SerdeShape): + """The configuration for an Amazon EventBridge hook target.""" + + arn: str + """The ARN of the Amazon EventBridge event bus to send hook events to.""" + +class HarnessHookFailureMode(UnknownEnumMixin, StrEnum): + """The behavior when a synchronous hook target fails.""" + + ALLOW = "allow" + """Specifies that the current action continues when the hook target fails.""" + DENY = "deny" + """ + Specifies that the service denies the current action when the hook + target fails. + """ + +@dataclass(kw_only=True) +class HarnessHookLambdaTarget(_SerdeShape): + """The configuration for an Amazon Web Services Lambda hook target.""" + + arn: str + """The ARN of the Lambda function to invoke.""" + timeout_seconds: int = ... + """ + The maximum number of seconds to wait for the Lambda function response. + The default is 60 seconds. + """ + failure_mode: str = ... + """ + The behavior when the Lambda function times out, returns an error, or + returns an invalid response. The default is `DENY`. + """ + +@dataclass(kw_only=True) +class HarnessHookSnsTarget(_SerdeShape): + """The configuration for an Amazon SNS hook target.""" + + arn: str + """The ARN of the Amazon SNS topic to publish hook events to.""" + +@dataclass +class HarnessHookTargetLambda(_SerdeShape): + """ + A Lambda hook target that invokes an Amazon Web Services Lambda function + synchronously and waits for its response. + """ + + value: HarnessHookLambdaTarget + +@dataclass +class HarnessHookTargetSns(_SerdeShape): + """ + An Amazon SNS hook target that publishes the hook event without waiting + for a response. + """ + + value: HarnessHookSnsTarget + +@dataclass +class HarnessHookTargetEventBridge(_SerdeShape): + """ + An Amazon EventBridge hook target that sends the hook event without + waiting for a response. + """ + + value: HarnessHookEventBridgeTarget + +@dataclass +class HarnessHookTargetUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessHookTarget = Union[ + HarnessHookTargetLambda + | HarnessHookTargetSns + | HarnessHookTargetEventBridge + | HarnessHookTargetUnknown +] +"""The target that receives lifecycle hook events. Specify one target type.""" + +class _HarnessHookTargetDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> HarnessHookTarget: ... + +@dataclass(kw_only=True) +class HarnessInlineFunctionConfig(_SerdeShape): + """ + Configuration for an inline function tool. When the agent calls this + tool, the tool call is returned to the caller for external execution. + """ + + description: str + """Description of what the tool does, provided to the model.""" + input_schema: Document + """JSON Schema describing the tool's input parameters.""" + +@dataclass(kw_only=True) +class HarnessLiteLlmModelConfig(_SerdeShape): + """ + Configuration for a LiteLLM model provider, enabling connection to + third-party model providers. + """ + + model_id: str + """The LiteLLM model identifier (e.g., \"anthropic/claude-3-sonnet\").""" + api_key_arn: str | None = ... + """ + The ARN of the API key in AgentCore Identity for authenticating with the + model provider. + """ + api_base: str | None = ... + """The base URL for the model provider's API endpoint.""" + max_tokens: int | None = ... + """ + The maximum number of tokens to allow in the generated response per + iteration. + """ + temperature: float | None = ... + """The temperature to set when calling the model.""" + top_p: float | None = ... + """The topP set when calling the model.""" + additional_params: Document | None = ... + """ + Provider-specific parameters passed through to the model provider + unchanged. + """ + +@dataclass(kw_only=True) +class HarnessManagedMemoryConfiguration(_SerdeShape): + """Configuration for managed memory creation.""" + + arn: str | None = ... + """ + The ARN of the managed AgentCore Memory resource. Read-only on Get, + ignored on Create/Update input. + """ + strategies: list[str] | None = ... + """Strategy types to enable. Defaults to [SEMANTIC, SUMMARIZATION].""" + event_expiry_duration: int | None = ... + """Event retention in days. Defaults to 30.""" + encryption_key_arn: str | None = ... + """ + Customer-managed KMS key. Defaults to Amazon Web Services-owned key. Not + updatable after creation. + """ + +class HarnessManagedMemoryStrategyType(UnknownEnumMixin, StrEnum): + SEMANTIC = "SEMANTIC" + SUMMARIZATION = "SUMMARIZATION" + USER_PREFERENCE = "USER_PREFERENCE" + EPISODIC = "EPISODIC" + +@dataclass +class HarnessMemoryConfigurationAgentCoreMemoryConfiguration(_SerdeShape): + """The AgentCore Memory configuration.""" + + value: HarnessAgentCoreMemoryConfiguration + +@dataclass +class HarnessMemoryConfigurationManagedMemoryConfiguration(_SerdeShape): + """ + Harness creates and manages a memory resource in the customer's + account. + """ + + value: HarnessManagedMemoryConfiguration + +@dataclass +class HarnessMemoryConfigurationDisabled(_SerdeShape): + """Explicitly opt out of memory.""" + + value: HarnessDisabledMemoryConfiguration + +@dataclass +class HarnessMemoryConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessMemoryConfiguration = Union[ + HarnessMemoryConfigurationAgentCoreMemoryConfiguration + | HarnessMemoryConfigurationManagedMemoryConfiguration + | HarnessMemoryConfigurationDisabled + | HarnessMemoryConfigurationUnknown +] +"""The memory configuration for a harness.""" + +class _HarnessMemoryConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessMemoryConfiguration: ... + +@dataclass +class HarnessModelConfigurationBedrockModelConfig(_SerdeShape): + """Configuration for an Amazon Bedrock model.""" + + value: HarnessBedrockModelConfig + +@dataclass +class HarnessModelConfigurationOpenAiModelConfig(_SerdeShape): + """Configuration for an OpenAI model.""" + + value: HarnessOpenAiModelConfig + +@dataclass +class HarnessModelConfigurationGeminiModelConfig(_SerdeShape): + """Configuration for a Google Gemini model.""" + + value: HarnessGeminiModelConfig + +@dataclass +class HarnessModelConfigurationLiteLlmModelConfig(_SerdeShape): + """ + The LiteLLM model configuration for connecting to third-party model + providers. + """ + + value: HarnessLiteLlmModelConfig + +@dataclass +class HarnessModelConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessModelConfiguration = Union[ + HarnessModelConfigurationBedrockModelConfig + | HarnessModelConfigurationOpenAiModelConfig + | HarnessModelConfigurationGeminiModelConfig + | HarnessModelConfigurationLiteLlmModelConfig + | HarnessModelConfigurationUnknown +] +"""Specification of which model to use.""" + +class _HarnessModelConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessModelConfiguration: ... + +class HarnessOpenAiApiFormat(UnknownEnumMixin, StrEnum): + CHAT_COMPLETIONS = "chat_completions" + """Use the Chat Completions API format.""" + RESPONSES = "responses" + """Use the Responses API format.""" + +@dataclass(kw_only=True) +class HarnessOpenAiModelConfig(_SerdeShape): + """ + Configuration for an OpenAI model provider. Requires an API key stored + in AgentCore Identity. + """ + + model_id: str + """The OpenAI model ID.""" + api_key_arn: str + """The ARN of your OpenAI API key on AgentCore Identity.""" + api_base: str | None = ... + """Optional custom endpoint URL for an OpenAI-compatible endpoint.""" + max_tokens: int | None = ... + """ + The maximum number of tokens to allow in the generated response per + model call. + """ + temperature: float | None = ... + """The temperature to set when calling the model.""" + top_p: float | None = ... + """The topP set when calling the model.""" + api_format: str | None = ... + """The API format to use when calling the OpenAI provider.""" + additional_params: Document | None = ... + """ + Provider-specific parameters passed through to the model provider + unchanged. + """ + +@dataclass(kw_only=True) +class HarnessRemoteMcpConfig(_SerdeShape): + """Configuration for connecting to a remote MCP server.""" + + url: str + """URL of the MCP endpoint.""" + headers: dict[str, str] | None = ... + """Custom headers to include when connecting to the remote MCP server.""" + outbound_auth: HarnessRemoteMcpOutboundAuth | None = ... + """ + How the harness authenticates to this MCP server. Defaults to no + authentication. + """ + +@dataclass +class HarnessRemoteMcpOutboundAuthAwsIam(_SerdeShape): + """ + Sign requests to the remote MCP server with Signature Version 4 (SigV4) + using the harness execution role. If you don't specify a Region, the + harness Region is used. + """ + + value: IamCredentialProvider + +@dataclass +class HarnessRemoteMcpOutboundAuthNone(_SerdeShape): + """No authentication.""" + + value: Unit + +@dataclass +class HarnessRemoteMcpOutboundAuthUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessRemoteMcpOutboundAuth = Union[ + HarnessRemoteMcpOutboundAuthAwsIam + | HarnessRemoteMcpOutboundAuthNone + | HarnessRemoteMcpOutboundAuthUnknown +] +"""Authentication method for calling a remote MCP server.""" + +class _HarnessRemoteMcpOutboundAuthDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessRemoteMcpOutboundAuth: ... + +@dataclass +class HarnessSkillPath(_SerdeShape): + """The filesystem path to the skill definition.""" + + value: str + +@dataclass +class HarnessSkillS3(_SerdeShape): + """An S3 source containing the skill.""" + + value: HarnessSkillS3Source + +@dataclass +class HarnessSkillGit(_SerdeShape): + """A git repository containing the skill.""" + + value: HarnessSkillGitSource + +@dataclass +class HarnessSkillAwsSkills(_SerdeShape): + """Amazon Web Services Skills baked into the harness's underlying Runtime.""" + + value: HarnessSkillAwsSkillsSource + +@dataclass +class HarnessSkillUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessSkill = Union[ + HarnessSkillPath + | HarnessSkillS3 + | HarnessSkillGit + | HarnessSkillAwsSkills + | HarnessSkillUnknown +] +"""A skill available to the agent.""" + +class _HarnessSkillDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> HarnessSkill: ... + +@dataclass(kw_only=True) +class HarnessSkillAwsSkillsSource(_SerdeShape): + """Passed to show that Amazon Web Services Skills should be included.""" + + paths: list[str] | None = ... + """ + Optionally filter allowed skills with glob syntax, e.g., + ['core-skills/*']. + """ + +@dataclass(kw_only=True) +class HarnessSkillGitAuth(_SerdeShape): + """Authentication configuration for accessing a private git repository.""" + + credential_arn: str + """ + The ARN of the credential in AgentCore Identity containing the password + or personal access token. + """ + username: str | None = ... + """Username for authentication. Defaults to 'oauth2' if not specified.""" + +@dataclass(kw_only=True) +class HarnessSkillGitSource(_SerdeShape): + """A git repository source for a skill.""" + + url: str + """The HTTPS URL of the git repository.""" + path: str | None = ... + """Subdirectory within the repository containing the skill.""" + auth: HarnessSkillGitAuth | None = ... + """Authentication configuration for private repositories.""" + +@dataclass(kw_only=True) +class HarnessSkillS3Source(_SerdeShape): + """An S3 source for a skill.""" + + uri: str + """ + The S3 URI pointing to the skill directory (e.g., + s3://bucket/skills/my-skill/). + """ + +@dataclass(kw_only=True) +class HarnessSlidingWindowConfiguration(_SerdeShape): + """Configuration for sliding window truncation strategy.""" + + messages_count: int | None = ... + """The number of recent messages to retain in the context window.""" + +class HarnessStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + READY = "READY" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class HarnessSummarizationConfiguration(_SerdeShape): + """Configuration for summarization-based truncation strategy.""" + + summary_ratio: float | None = ... + """The ratio of content to summarize.""" + preserve_recent_messages: int | None = ... + """The number of recent messages to preserve without summarization.""" + summarization_system_prompt: str | None = ... + """The system prompt used for generating summaries.""" + +@dataclass(kw_only=True) +class HarnessSummary(_SerdeShape): + """Summary information about a harness.""" + + harness_id: str + """The ID of the harness.""" + harness_name: str + """The name of the harness.""" + arn: str + """The ARN of the harness.""" + status: str + """The current status of the harness.""" + created_at: datetime + """The timestamp when the harness was created.""" + updated_at: datetime + """The timestamp when the harness was last updated.""" + harness_version: str | None = ... + """The latest version of the harness.""" + +@dataclass +class HarnessSystemContentBlockText(_SerdeShape): + """The text content of the system prompt block.""" + + value: str + +@dataclass +class HarnessSystemContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessSystemContentBlock = Union[ + HarnessSystemContentBlockText | HarnessSystemContentBlockUnknown +] +"""A content block in the system prompt.""" + +class _HarnessSystemContentBlockDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessSystemContentBlock: ... + +@dataclass(kw_only=True) +class HarnessTool(_SerdeShape): + """A tool available to the agent loop.""" + + type: str + """The type of tool.""" + name: str | None = ... + """ + Unique name for the tool. If not provided, a name will be inferred or + generated. + """ + config: HarnessToolConfiguration | None = ... + """Tool-specific configuration.""" + +@dataclass +class HarnessToolConfigurationRemoteMcp(_SerdeShape): + """Configuration for remote MCP server.""" + + value: HarnessRemoteMcpConfig + +@dataclass +class HarnessToolConfigurationAgentCoreBrowser(_SerdeShape): + """Configuration for AgentCore Browser.""" + + value: HarnessAgentCoreBrowserConfig + +@dataclass +class HarnessToolConfigurationAgentCoreGateway(_SerdeShape): + """Configuration for AgentCore Gateway.""" + + value: HarnessAgentCoreGatewayConfig + +@dataclass +class HarnessToolConfigurationInlineFunction(_SerdeShape): + """Configuration for an inline function tool.""" + + value: HarnessInlineFunctionConfig + +@dataclass +class HarnessToolConfigurationAgentCoreCodeInterpreter(_SerdeShape): + """Configuration for AgentCore Code Interpreter.""" + + value: HarnessAgentCoreCodeInterpreterConfig + +@dataclass +class HarnessToolConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessToolConfiguration = Union[ + HarnessToolConfigurationRemoteMcp + | HarnessToolConfigurationAgentCoreBrowser + | HarnessToolConfigurationAgentCoreGateway + | HarnessToolConfigurationInlineFunction + | HarnessToolConfigurationAgentCoreCodeInterpreter + | HarnessToolConfigurationUnknown +] +"""Configuration union for different tool types.""" + +class _HarnessToolConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessToolConfiguration: ... + +class HarnessToolType(UnknownEnumMixin, StrEnum): + REMOTE_MCP = "remote_mcp" + AGENTCORE_BROWSER = "agentcore_browser" + AGENTCORE_GATEWAY = "agentcore_gateway" + INLINE_FUNCTION = "inline_function" + AGENTCORE_CODE_INTERPRETER = "agentcore_code_interpreter" + +@dataclass(kw_only=True) +class HarnessTruncationConfiguration(_SerdeShape): + """ + Configuration for truncating conversation context when it exceeds model + limits. + """ + + strategy: str + """The truncation strategy to use.""" + config: HarnessTruncationStrategyConfiguration | None = ... + """The strategy-specific configuration.""" + +class HarnessTruncationStrategy(UnknownEnumMixin, StrEnum): + SLIDING_WINDOW = "sliding_window" + SUMMARIZATION = "summarization" + NONE = "none" + +@dataclass +class HarnessTruncationStrategyConfigurationSlidingWindow(_SerdeShape): + """Configuration for sliding window truncation.""" + + value: HarnessSlidingWindowConfiguration + +@dataclass +class HarnessTruncationStrategyConfigurationSummarization(_SerdeShape): + """Configuration for summarization-based truncation.""" + + value: HarnessSummarizationConfiguration + +@dataclass +class HarnessTruncationStrategyConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessTruncationStrategyConfiguration = Union[ + HarnessTruncationStrategyConfigurationSlidingWindow + | HarnessTruncationStrategyConfigurationSummarization + | HarnessTruncationStrategyConfigurationUnknown +] +"""Strategy-specific truncation configuration.""" + +class _HarnessTruncationStrategyConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessTruncationStrategyConfiguration: ... + +@dataclass(kw_only=True) +class HarnessVersionSummary(_SerdeShape): + """Summary information about a single version of a harness.""" + + harness_id: str + """The ID of the harness.""" + harness_name: str + """The name of the harness.""" + arn: str + """The ARN of the harness.""" + harness_version: str + """The version of the harness that this summary describes.""" + status: str + """The status of this harness version.""" + created_at: datetime + """The timestamp when this harness version was created.""" + updated_at: datetime + """The timestamp when this harness version was last updated.""" + failure_reason: str | None = ... + """ + Reason why the create or update operation for this harness version + failed. + """ + +@dataclass(kw_only=True) +class HostingEnvironment(_SerdeShape): + """ + A hosting environment whose workloads are allowed to invoke the target. + At launch, the only supported hosting environment is AgentCore Gateway. + """ + + arn: str + """The Amazon Resource Name (ARN) of the hosting environment.""" + +@dataclass(kw_only=True) +class HttpApiSchemaConfiguration(_SerdeShape): + """ + The API schema configuration for an HTTP target. This schema defines the + API structure that the target exposes. + """ + + source: ApiSchemaConfiguration + """Configuration for API schema.""" + +@dataclass(kw_only=True) +class HttpConnectorSource(_SerdeShape): + """The source identifying the HTTP connector integration.""" + + connector_id: str + """The identifier for the HTTP connector integration.""" + +@dataclass(kw_only=True) +class HttpConnectorTargetConfiguration(_SerdeShape): + """ + The configuration for an HTTP connector target. Use this configuration + when you want to route HTTP requests through a managed connector. + """ + + source: HttpConnectorSource + """The source configuration identifying which HTTP connector to use.""" + parameters: dict[str, str] | None = ... + """ + The resource parameters for this connector (for example, `memoryId`). + The service validates these parameters against the request path at + runtime. + """ + +@dataclass(kw_only=True) +class HttpPostLifecycleHookAction(_SerdeShape): + """ + A lifecycle hook action that sends an HTTP `POST` request to the + agent's container. The path and port can't conflict with a path that + your agent already serves for AgentCore Runtime, such as the protocol's + invocation path or the health check path. + """ + + path: str + """ + The path in the agent's container that AgentCore Runtime sends the + `POST` request to. + """ + port: int | None = ... + """ + The port in the agent's container that AgentCore Runtime sends the + `POST` request to. If you don't specify a port, the default is the + runtime's server port: the port in the protocol configuration if one is + set, otherwise the protocol's default port. + """ + +@dataclass +class HttpTargetConfigurationAgentcoreRuntime(_SerdeShape): + """ + The AgentCore Runtime target configuration for HTTP-based communication + with an agent runtime. + """ + + value: RuntimeTargetConfiguration + +@dataclass +class HttpTargetConfigurationPassthrough(_SerdeShape): + """ + The passthrough configuration for the HTTP target. A passthrough target + forwards requests directly to an external HTTP endpoint. + """ + + value: PassthroughTargetConfiguration + +@dataclass +class HttpTargetConfigurationConnector(_SerdeShape): + """ + The connector-based configuration for the HTTP target. Use this + configuration when you want to route HTTP requests through a managed + connector. + """ + + value: HttpConnectorTargetConfiguration + +@dataclass +class HttpTargetConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HttpTargetConfiguration = Union[ + HttpTargetConfigurationAgentcoreRuntime + | HttpTargetConfigurationPassthrough + | HttpTargetConfigurationConnector + | HttpTargetConfigurationUnknown +] +""" +The HTTP target configuration for a gateway target. Contains the +configuration for HTTP-based target endpoints. +""" + +class _HttpTargetConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HttpTargetConfiguration: ... + +@dataclass(kw_only=True) +class IamCredentialProvider(_SerdeShape): + """ + An IAM credential provider for gateway authentication. This structure + contains the configuration for authenticating with the target endpoint + using IAM credentials and SigV4 signing. + """ + + service: str + """ + The target Amazon Web Services service name used for SigV4 signing. This + value identifies the service that the gateway authenticates with when + making requests to the target endpoint. + """ + region: str | None = ... + """ + The Amazon Web Services Region used for SigV4 signing. If not specified, + defaults to the gateway's Region. + """ + +@dataclass(kw_only=True) +class IamPrincipal(_SerdeShape): + """An IAM principal specification for rule matching.""" + + arn: str + """ + The Amazon Resource Name (ARN) of the IAM principal. Supports user, + role, and assumed-role ARNs. Wildcards can be used with the `StringLike` + operator. + """ + operator: str | None = ... + """ + The match operator. `StringEquals` requires an exact match. `StringLike` + supports wildcard patterns using `*` and `?`. + """ + +class InboundTokenClaimValueType(UnknownEnumMixin, StrEnum): + STRING = "STRING" + STRING_ARRAY = "STRING_ARRAY" + +class IncludedData(UnknownEnumMixin, StrEnum): + ALL_DATA = "ALL_DATA" + METADATA_ONLY = "METADATA_ONLY" + +@dataclass(kw_only=True) +class IncludedOauth2ProviderConfigInput(_SerdeShape): + """ + Configuration settings for connecting to a supported OAuth2 provider. + This includes client credentials and OAuth2 discovery information for + providers that have built-in support. + """ + + client_id: str + """ + The client ID for the supported OAuth2 provider. This identifier is + assigned by the OAuth2 provider when you register your application. + """ + client_secret: str = ... + """ + The client secret for the supported OAuth2 provider. This secret is + assigned by the OAuth2 provider and used along with the client ID to + authenticate your application. + """ + client_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the client secret. This includes the secret ID and the JSON key + used to extract the client secret value from the secret. Required when + `clientSecretSource` is set to `EXTERNAL`. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + issuer: str | None = ... + """ + Token issuer of your isolated OAuth2 application tenant. This URL + identifies the authorization server that issues tokens for this + provider. + """ + authorization_endpoint: str | None = ... + """ + OAuth2 authorization endpoint for your isolated OAuth2 application + tenant. This is where users are redirected to authenticate and authorize + access to their resources. + """ + token_endpoint: str | None = ... + """ + OAuth2 token endpoint for your isolated OAuth2 application tenant. This + is where authorization codes are exchanged for access tokens. + """ + +@dataclass(kw_only=True) +class IncludedOauth2ProviderConfigOutput(_SerdeShape): + """ + The configuration details returned for a supported OAuth2 provider, + including client credentials and OAuth2 discovery information. + """ + + oauth_discovery: Oauth2Discovery + """Contains the discovery information for an OAuth2 provider.""" + client_id: str | None = ... + """The client ID for the supported OAuth2 provider.""" + +@dataclass(kw_only=True) +class IndexedKey(_SerdeShape): + """A metadata key indexed for filtering.""" + + key: str + """The metadata key name to index.""" + type: str + """The data type of the indexed key.""" + +@dataclass(kw_only=True) +class InferenceConfiguration(_SerdeShape): + """ + The configuration parameters that control how the foundation model + behaves during evaluation, including response generation settings. + """ + + max_tokens: int | None = ... + """ + The maximum number of tokens to generate in the model response during + evaluation. + """ + temperature: float | None = ... + """ + The temperature value that controls randomness in the model's + responses. Lower values produce more deterministic outputs. + """ + top_p: float | None = ... + """ + The top-p sampling parameter that controls the diversity of the model's + responses by limiting the cumulative probability of token choices. + """ + stop_sequences: list[str] | None = ... + """ + The list of sequences that will cause the model to stop generating + tokens when encountered. + """ + +@dataclass(kw_only=True) +class InferenceConnectorSource(_SerdeShape): + """The source identifying the inference connector.""" + + connector_id: str + """ + The identifier for the inference connector (for example, + `bedrock-mantle`, `openai`, or `anthropic`). + """ + +@dataclass(kw_only=True) +class InferenceConnectorTargetConfiguration(_SerdeShape): + """ + The configuration for a connector-based inference target. This + configuration uses a built-in connector that provides predefined rules + for a large language model (LLM) provider. + """ + + source: InferenceConnectorSource + """The source configuration identifying which inference connector to use.""" + +@dataclass(kw_only=True) +class InferenceOperationConfiguration(_SerdeShape): + """ + The configuration for a specific inference operation, including its + request path and the models that the operation supports. + """ + + path: str + """ + The request path for this operation (for example, `/v1/messages` or + `/v1/responses`). + """ + provider_path: str | None = ... + """ + The provider path to forward requests to, if it differs from the request + path. For example, `/anthropic/v1/messages` when the provider expects a + different path than the client-facing `/v1/messages`. + """ + models: list[ModelEntry] | None = ... + """The list of models supported for this operation.""" + +@dataclass(kw_only=True) +class InferenceProviderTargetConfiguration(_SerdeShape): + """ + The configuration for a provider-based inference target. This + configuration explicitly defines the endpoint, model mapping, and + operations used to route requests to a large language model (LLM) + provider. + """ + + endpoint: str + """ + The HTTPS endpoint of the inference provider that the gateway forwards + requests to. + """ + model_mapping: ModelMapping | None = ... + """ + The configuration that translates client-facing model IDs to the model + IDs expected by the provider. + """ + operations: list[InferenceOperationConfiguration] | None = ... + """ + A list of per-operation configurations that map request paths to the + models supported for each operation. + """ + +@dataclass +class InferenceTargetConfigurationConnector(_SerdeShape): + """ + The connector-based inference configuration. Use this option to route + requests to an LLM provider through a built-in connector that includes + predefined provider rules. + """ + + value: InferenceConnectorTargetConfiguration + +@dataclass +class InferenceTargetConfigurationProvider(_SerdeShape): + """ + The provider-based inference configuration. Use this option to + explicitly configure the endpoint, model mapping, and operations for an + LLM provider. + """ + + value: InferenceProviderTargetConfiguration + +@dataclass +class InferenceTargetConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InferenceTargetConfiguration = Union[ + InferenceTargetConfigurationConnector + | InferenceTargetConfigurationProvider + | InferenceTargetConfigurationUnknown +] +""" +The configuration for an inference target. An inference target routes +requests to a large language model (LLM) provider, either through a +built-in connector or an explicitly configured provider. +""" + +class _InferenceTargetConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> InferenceTargetConfiguration: ... + +@dataclass(kw_only=True) +class InlineExamplesSource(_SerdeShape): + """Inline examples provided directly in the request body.""" + + examples: list[Document] + """Examples to add. Each example is assigned an auto-generated UUID.""" + +@dataclass(kw_only=True) +class Insight(_SerdeShape): + """ + A reference to an insight analysis to run against sessions during + evaluation. Insights provide deeper analysis beyond individual evaluator + scores, including failure detection, user intent clustering, and + execution summarization. + """ + + insight_id: str + """The unique identifier of the insight to run.""" + +@dataclass(kw_only=True) +class InstanceLifecycleConfiguration(_SerdeShape): + """ + The configuration that manages the lifecycle of instances in a capacity + provider, including idle timeout and maximum lifetime. + """ + + idle_instance_timeout: int | None = ... + """ + The number of seconds an instance can remain idle before it is stopped. + An instance is considered idle when all of its agents are idle. The + default is 900 seconds (15 minutes). + """ + max_lifetime: int | None = ... + """ + The maximum lifetime of an instance, in seconds. When an instance + reaches this limit, the service terminates it regardless of activity. + The default is 28800 seconds (8 hours). The maximum is 1209600 seconds + (14 days). + """ + +@dataclass(kw_only=True) +class InstanceRequirements(_SerdeShape): + """The requirements for Amazon EC2 instance types in a capacity provider.""" + + allowed_instance_types: list[str] + """ + The list of allowed instance types. You can specify up to 30 instance + types. + """ + +@dataclass +class InterceptorConfigurationLambda(_SerdeShape): + """The details of the lambda function used for the interceptor.""" + + value: LambdaInterceptorConfiguration + +@dataclass +class InterceptorConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InterceptorConfiguration = Union[ + InterceptorConfigurationLambda | InterceptorConfigurationUnknown +] +"""The interceptor configuration.""" + +class _InterceptorConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> InterceptorConfiguration: ... + +@dataclass(kw_only=True) +class InterceptorInputConfiguration(_SerdeShape): + """The input configuration of the interceptor.""" + + pass_request_headers: bool + """ + Indicates whether to pass request headers as input into the interceptor. + When set to true, request headers will be passed. + """ + payload_filter: InterceptorPayloadFilter | None = ... + """ + The filter that determines which parts of the request or response + payload are passed as input to the interceptor. + """ + +class InterceptorPayloadExclusion(UnknownEnumMixin, StrEnum): + RESPONSE_BODY = "RESPONSE_BODY" + +@dataclass +class InterceptorPayloadExclusionSelectorField(_SerdeShape): + """The field to exclude from the interceptor input.""" + + value: str + +@dataclass +class InterceptorPayloadExclusionSelectorUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InterceptorPayloadExclusionSelector = Union[ + InterceptorPayloadExclusionSelectorField + | InterceptorPayloadExclusionSelectorUnknown +] +""" +A selector that identifies a payload field to exclude from the +interceptor input. +""" + +class _InterceptorPayloadExclusionSelectorDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> InterceptorPayloadExclusionSelector: ... + +@dataclass(kw_only=True) +class InterceptorPayloadFilter(_SerdeShape): + """ + The filter that controls which fields of the request or response payload + are included in the input to the interceptor. + """ + + exclude: list[InterceptorPayloadExclusionSelector] + """ + The list of selectors that identify payload fields to exclude from the + interceptor input. + """ + +@dataclass(kw_only=True) +class InternalServerException(ServiceError, _SerdeShape): + """ + This exception is thrown if there was an unexpected error during + processing of request + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvocationConfiguration(_SerdeShape): + """ + The configuration to invoke a self-managed memory processing pipeline + with. + """ + + topic_arn: str + """The ARN of the SNS topic for job notifications.""" + payload_delivery_bucket_name: str + """The S3 bucket name for event payload delivery.""" + +@dataclass(kw_only=True) +class InvocationConfigurationInput(_SerdeShape): + """ + The configuration to invoke a self-managed memory processing pipeline + with. + """ + + topic_arn: str + """The ARN of the SNS topic for job notifications.""" + payload_delivery_bucket_name: str + """The S3 bucket name for event payload delivery.""" + +class KeyType(UnknownEnumMixin, StrEnum): + CUSTOMER_MANAGED_KEY = "CustomerManagedKey" + SERVICE_MANAGED_KEY = "ServiceManagedKey" + +@dataclass(kw_only=True) +class KinesisResource(_SerdeShape): + """Configuration for Kinesis Data Stream delivery.""" + + data_stream_arn: str + """ARN of the Kinesis Data Stream.""" + content_configurations: list[ContentConfiguration] + """Content configurations for stream delivery.""" + +@dataclass(kw_only=True) +class KmsConfiguration(_SerdeShape): + """Contains the KMS configuration for a resource.""" + + key_type: str + """The type of KMS key (CustomerManagedKey or ServiceManagedKey).""" + kms_key_arn: str | None = ... + """The Amazon Resource Name (ARN) of the KMS key.""" + +@dataclass(kw_only=True) +class KmsKeySourceType(_SerdeShape): + """Contains the KMS key configuration for a JWT client assertion.""" + + kms_key_arn: str + """ + The Amazon Resource Name (ARN) of the KMS key used to sign the JWT + client assertion. The key must be an asymmetric key with key usage + SIGN_VERIFY and a key spec compatible with the configured signing + algorithm. + """ + +@dataclass(kw_only=True) +class LambdaEvaluatorConfig(_SerdeShape): + """Configuration for a Lambda function used as a code-based evaluator.""" + + lambda_arn: str + """ + The Amazon Resource Name (ARN) of the Lambda function that implements + the evaluation logic. + """ + lambda_timeout_in_seconds: int | None = ... + """ + The timeout in seconds for the Lambda function invocation. Defaults to + 60. Must be between 1 and 300. + """ + +@dataclass(kw_only=True) +class LambdaInterceptorConfiguration(_SerdeShape): + """The lambda configuration for the interceptor""" + + arn: str + """The arn of the lambda function to be invoked for the interceptor.""" + +@dataclass(kw_only=True) +class LambdaTransformConfiguration(_SerdeShape): + """ + The Lambda configuration for custom transformations. This structure + defines the Lambda function that the gateway invokes to transform data. + """ + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda function. This function is + invoked by the gateway to transform data. + """ + +@dataclass(kw_only=True) +class LaunchParameters(_SerdeShape): + """ + The parameters for launching Amazon EC2 instances in a capacity + provider. + """ + + operating_system: str + """The operating system and CPU architecture for the instances.""" + instance_requirements: InstanceRequirements + """The requirements that determine which instance types can be launched.""" + ephemeral_volumes: list[EphemeralBlockDeviceMapping] | None = ... + """ + The block device mappings for instance store (ephemeral) volumes. You + can specify up to five mappings. + """ + monitoring: str | None = ... + """The monitoring level for the instances.""" + license_specifications: list[LicenseSpecification] | None = ... + """ + The license configurations to associate with the instances. You can + specify up to five configurations. + """ + capacity_reservation_specification: CapacityReservationSpecification | None = ... + """The Capacity Reservation targeting option for the instances.""" + ssh_key_name: str | None = ... + """ + The name of the SSH key pair to configure on the instances for SSH + connectivity. + """ + instance_profile_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM instance profile to associate + with launched instances. If provided, this overrides the default + instance profile. + """ + propagated_tags: dict[str, str] | None = ... + """ + The tags to propagate to all Amazon EC2 resources (instances, volumes, + and network interfaces) that the capacity provider creates. + """ + +@dataclass +class LaunchTemplateSourceLaunchParameters(_SerdeShape): + """The parameters that AgentCore uses to create the launch template.""" + + value: LaunchParameters + +@dataclass +class LaunchTemplateSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +LaunchTemplateSource = Union[ + LaunchTemplateSourceLaunchParameters | LaunchTemplateSourceUnknown +] +""" +The source of the launch template configuration for a capacity provider. +The `launchParameters` member specifies the operating system, instance +requirements, and other settings used to launch instances. +""" + +class _LaunchTemplateSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> LaunchTemplateSource: ... + +@dataclass(kw_only=True) +class LicenseSpecification(_SerdeShape): + """A license configuration to associate with the instances.""" + + license_configuration_arn: str + """The Amazon Resource Name (ARN) of the license configuration.""" + +@dataclass(kw_only=True) +class LifecycleConfiguration(_SerdeShape): + """ + LifecycleConfiguration lets you manage the lifecycle of runtime sessions + and resources in AgentCore Runtime. This configuration helps optimize + resource utilization by automatically cleaning up idle sessions and + preventing long-running instances from consuming resources indefinitely. + """ + + idle_runtime_session_timeout: int | None = ... + """ + Timeout in seconds for idle runtime sessions. When a session remains + idle for this duration, it will be automatically terminated. Default: + 900 seconds (15 minutes). + """ + max_lifetime: int | None = ... + """ + Maximum lifetime for the instance in seconds. Once reached, instances + will be automatically terminated and replaced. Default: 28800 seconds (8 + hours). + """ + +@dataclass(kw_only=True) +class LifecycleHook(_SerdeShape): + """ + A lifecycle hook, which defines the action that AgentCore Runtime runs + at a point in the runtime's lifecycle. + """ + + action: LifecycleHookAction + """ + The action that AgentCore Runtime runs for the hook. Specify exactly one + action. + """ + +@dataclass +class LifecycleHookActionHttpPost(_SerdeShape): + """ + Sends an HTTP `POST` request to your agent's container on the specified + port and path to run the hook. The hook succeeds if your container + returns a `2xx` response. The hook fails if your container returns any + other response or doesn't respond before the hook times out. + """ + + value: HttpPostLifecycleHookAction + +@dataclass +class LifecycleHookActionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +LifecycleHookAction = Union[LifecycleHookActionHttpPost | LifecycleHookActionUnknown] +""" +The action that a lifecycle hook runs. Specify exactly one member. +Currently, `httpPost` is the only supported action. +""" + +class _LifecycleHookActionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> LifecycleHookAction: ... + +@dataclass(kw_only=True) +class LimitEntry(_SerdeShape): + """ + A single rule entry within a rate limit that maps dimension values to + rate configurations. Each entry defines the rate limits for a specific + combination of dimension values. + """ + + dimensions: dict[str, str] + """ + A map of dimension names to dimension values for this rule entry. Keys + must match the parent rate limit's dimension keys. Values may use `*` + as a wildcard, but only in trailing positions based on the dimension + keys ordering. + """ + requests: list[RateConfig] | None = ... + """ + The request rate limit configuration. Specifies the maximum number of + requests allowed per time period. + """ + tokens: list[RateConfig] | None = ... + """ + The token rate limit configuration. Specifies the maximum number of + tokens allowed per time period. + """ + connections: list[RateConfig] | None = ... + """ + The connection rate limit configuration. Specifies the maximum number of + concurrent connections allowed. + """ + +@dataclass(kw_only=True) +class LinkedinOauth2ProviderConfigInput(_SerdeShape): + """ + Configuration settings for connecting to LinkedIn services using OAuth2 + authentication. This includes the client credentials required to + authenticate with LinkedIn's OAuth2 authorization server. + """ + + client_id: str + """ + The client ID for the LinkedIn OAuth2 provider. This identifier is + assigned by LinkedIn when you register your application. + """ + client_secret: str = ... + """ + The client secret for the LinkedIn OAuth2 provider. This secret is + assigned by LinkedIn and used along with the client ID to authenticate + your application. + """ + client_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the client secret. This includes the secret ID and the JSON key + used to extract the client secret value from the secret. Required when + `clientSecretSource` is set to `EXTERNAL`. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + +@dataclass(kw_only=True) +class LinkedinOauth2ProviderConfigOutput(_SerdeShape): + """ + The configuration details returned for a LinkedIn OAuth2 provider, + including the client ID and OAuth2 discovery information. + """ + + oauth_discovery: Oauth2Discovery + """Contains the discovery information for an OAuth2 provider.""" + client_id: str | None = ... + """The client ID for the LinkedIn OAuth2 provider.""" + +@dataclass(kw_only=True) +class ListAgentRuntimeEndpointsInput(_SerdeShape): + """Dataclass for ListAgentRuntimeEndpointsInput structure.""" + + agent_runtime_id: str | None = ... + """The unique identifier of the AgentCore Runtime to list endpoints for.""" + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + +@dataclass(kw_only=True) +class ListAgentRuntimeEndpointsOutput(_SerdeShape): + """Dataclass for ListAgentRuntimeEndpointsOutput structure.""" + + runtime_endpoints: list[AgentRuntimeEndpoint] + """The list of AgentCore Runtime endpoints.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAgentRuntimesInput(_SerdeShape): + """Dataclass for ListAgentRuntimesInput structure.""" + + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + +@dataclass(kw_only=True) +class ListAgentRuntimesOutput(_SerdeShape): + """Dataclass for ListAgentRuntimesOutput structure.""" + + agent_runtimes: list[AgentRuntime] + """The list of AgentCore Runtime resources.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAgentRuntimeVersionsByCapacityProviderInput(_SerdeShape): + """Dataclass for ListAgentRuntimeVersionsByCapacityProviderInput structure.""" + + capacity_provider_id: str | None = ... + """The unique identifier of the capacity provider.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListAgentRuntimeVersionsByCapacityProviderOutput(_SerdeShape): + """ + Dataclass for ListAgentRuntimeVersionsByCapacityProviderOutput + structure. + """ + + agent_runtimes: list[AgentRuntimeVersionSummary] + """ + The list of agent runtime versions that are associated with the capacity + provider. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAgentRuntimeVersionsInput(_SerdeShape): + """Dataclass for ListAgentRuntimeVersionsInput structure.""" + + agent_runtime_id: str | None = ... + """The unique identifier of the AgentCore Runtime to list versions for.""" + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + +@dataclass(kw_only=True) +class ListAgentRuntimeVersionsOutput(_SerdeShape): + """Dataclass for ListAgentRuntimeVersionsOutput structure.""" + + agent_runtimes: list[AgentRuntime] + """The list of AgentCore Runtime versions.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListApiKeyCredentialProvidersInput(_SerdeShape): + """Dataclass for ListApiKeyCredentialProvidersInput structure.""" + + next_token: str | None = ... + """Pagination token.""" + max_results: int = ... + """Maximum number of results to return.""" + +@dataclass(kw_only=True) +class ListApiKeyCredentialProvidersOutput(_SerdeShape): + """Dataclass for ListApiKeyCredentialProvidersOutput structure.""" + + credential_providers: list[ApiKeyCredentialProviderItem] + """The list of API key credential providers.""" + next_token: str | None = ... + """Pagination token for the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBrowserProfilesInput(_SerdeShape): + """Dataclass for ListBrowserProfilesInput structure.""" + + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + name: str | None = ... + """The name of the browser profile to filter results by.""" diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_2.pyi b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_2.pyi new file mode 100644 index 000000000..5459b56dc --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_2.pyi @@ -0,0 +1,5019 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + ApiGatewayTargetConfiguration, + ApiSchemaConfiguration, + AtlassianOauth2ProviderConfigInput, + AtlassianOauth2ProviderConfigOutput, + BrowserProfileSummary, + BrowserSummary, + BuildLifecycleHooks, + CapacityProviderSummary, + CategoricalScaleDefinition, + CedarPolicy, + CloudWatchOutputConfig, + ClusteringConfig, + CodeInterpreterSummary, + CoinbaseCdpConfigurationInput, + CoinbaseCdpConfigurationOutput, + ConfigurationBundleSummary, + ConfigurationBundleVersionSummary, + ConnectorTargetConfiguration, + ConsentPortalSummary, + CredentialRotationConfig, + CustomConsolidationConfigurationInput, + CustomExtractionConfigurationInput, + CustomMemoryStrategyInput, + CustomOauth2ProviderConfigInput, + CustomOauth2ProviderConfigOutput, + CustomReflectionConfiguration, + CustomReflectionConfigurationInput, + DatasetSummary, + DatasetVersionSummary, + DeleteMemoryStrategyInput, + EpisodicMemoryStrategyInput, + EpisodicReflectionConfiguration, + EpisodicReflectionConfigurationInput, + EvaluationDimension, + EvaluatorModelConfig, + EvaluatorSummary, + ExtractionConfig, + Filter, + Finding, + GatewayRateLimitDetail, + GatewayRuleDetail, + GatewaySummary, + GithubOauth2ProviderConfigInput, + GithubOauth2ProviderConfigOutput, + GoogleOauth2ProviderConfigInput, + GoogleOauth2ProviderConfigOutput, + HarnessEndpoint, + HarnessSummary, + HarnessVersionSummary, + HttpApiSchemaConfiguration, + IamPrincipal, + IncludedOauth2ProviderConfigInput, + IncludedOauth2ProviderConfigOutput, + IndexedKey, + Insight, + InvocationConfiguration, + InvocationConfigurationInput, + KmsConfiguration, + KmsKeySourceType, + LinkedinOauth2ProviderConfigInput, + LinkedinOauth2ProviderConfigOutput, + ServiceError, + SlackOauth2ProviderConfigInput, + SlackOauth2ProviderConfigOutput, + StaticRoute, + StickinessConfiguration, + StrategyConfiguration, + StreamDeliveryResources, + StreamingConfiguration, + StripePrivyConfigurationInput, + StripePrivyConfigurationOutput, + SummaryMemoryStrategyInput, + TargetSummary, + TokenExchangeGrantTypeConfigType, + ToolSchema, + ToolsDefinition, + TriggerCondition, + TriggerConditionInput, + UserPreferenceMemoryStrategyInput, + Validation, + VersionFilter, + VpcConfig, + WeightedRoute, + WorkloadIdentityType, + _SerdeShape, +) + +@dataclass(kw_only=True) +class ListBrowserProfilesOutput(_SerdeShape): + """Dataclass for ListBrowserProfilesOutput structure.""" + + profile_summaries: list[BrowserProfileSummary] + """The list of browser profile summaries.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBrowsersInput(_SerdeShape): + """Dataclass for ListBrowsersInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in a single call. The default + value is 10. The maximum value is 50. + """ + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. + """ + type: str | None = ... + """ + The type of browsers to list. If not specified, all browser types are + returned. + """ + +@dataclass(kw_only=True) +class ListBrowsersOutput(_SerdeShape): + """Dataclass for ListBrowsersOutput structure.""" + + browser_summaries: list[BrowserSummary] + """The list of browser summaries.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCapacityProvidersInput(_SerdeShape): + """Dataclass for ListCapacityProvidersInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListCapacityProvidersOutput(_SerdeShape): + """Dataclass for ListCapacityProvidersOutput structure.""" + + capacity_providers: list[CapacityProviderSummary] + """The list of capacity provider summaries.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCodeInterpretersInput(_SerdeShape): + """Dataclass for ListCodeInterpretersInput structure.""" + + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + type: str | None = ... + """The type of code interpreters to list.""" + +@dataclass(kw_only=True) +class ListCodeInterpretersOutput(_SerdeShape): + """Dataclass for ListCodeInterpretersOutput structure.""" + + code_interpreter_summaries: list[CodeInterpreterSummary] + """The list of code interpreter summaries.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListConfigurationBundlesInput(_SerdeShape): + """Dataclass for ListConfigurationBundlesInput structure.""" + + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListConfigurationBundlesOutput(_SerdeShape): + """Dataclass for ListConfigurationBundlesOutput structure.""" + + bundles: list[ConfigurationBundleSummary] + """The list of configuration bundle summaries.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListConfigurationBundleVersionsInput(_SerdeShape): + """Dataclass for ListConfigurationBundleVersionsInput structure.""" + + bundle_id: str | None = ... + """The unique identifier of the configuration bundle to list versions for.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + filter: VersionFilter | None = ... + """ + An optional filter for listing versions, including branch name, creation + source, and whether to return only the latest version per branch. + """ + +@dataclass(kw_only=True) +class ListConfigurationBundleVersionsOutput(_SerdeShape): + """Dataclass for ListConfigurationBundleVersionsOutput structure.""" + + versions: list[ConfigurationBundleVersionSummary] + """The list of configuration bundle version summaries.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListConsentPortalsInput(_SerdeShape): + """Dataclass for ListConsentPortalsInput structure.""" + + max_results: int | None = ... + """The maximum number of consent portals to return in a single call.""" + next_token: str | None = ... + """ + A token to retrieve the next page of results. Use the value returned in + a previous response to request the next page. + """ + +@dataclass(kw_only=True) +class ListConsentPortalsOutput(_SerdeShape): + """Dataclass for ListConsentPortalsOutput structure.""" + + consent_portals: list[ConsentPortalSummary] + """The list of consent portals.""" + next_token: str | None = ... + """ + The token to use in a subsequent request to retrieve the next page of + results. This value is null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDatasetExamplesInput(_SerdeShape): + """Dataclass for ListDatasetExamplesInput structure.""" + + dataset_id: str | None = ... + """The unique identifier of the dataset.""" + dataset_version: str | None = ... + """ + Version to paginate: \"DRAFT\" or a version number. Defaults to DRAFT if + absent. Only used on the first request; for subsequent pages, the + version is extracted from the pagination token. + """ + max_results: int | None = ... + """Maximum number of examples to return per page.""" + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class ListDatasetExamplesOutput(_SerdeShape): + """Dataclass for ListDatasetExamplesOutput structure.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the dataset.""" + dataset_id: str + """The unique identifier of the dataset.""" + dataset_version: str + """The version returned.""" + examples: list[Document] + """ + Paginated example content. Each element is a JSON object containing at + least an `exampleId` field plus the schema-specific content fields. + """ + next_token: str | None = ... + """ + The token for the next page of results, or null if there are no more + results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDatasetsInput(_SerdeShape): + """Dataclass for ListDatasetsInput structure.""" + + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """The maximum number of datasets to return per page.""" + +@dataclass(kw_only=True) +class ListDatasetsOutput(_SerdeShape): + """Dataclass for ListDatasetsOutput structure.""" + + datasets: list[DatasetSummary] + """The list of datasets.""" + next_token: str | None = ... + """ + The token for the next page of results, or null if there are no more + results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDatasetVersionsInput(_SerdeShape): + """Dataclass for ListDatasetVersionsInput structure.""" + + dataset_id: str | None = ... + """The unique identifier of the dataset.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """The maximum number of versions to return per page.""" + +@dataclass(kw_only=True) +class ListDatasetVersionsOutput(_SerdeShape): + """Dataclass for ListDatasetVersionsOutput structure.""" + + versions: list[DatasetVersionSummary] + """The list of published dataset versions.""" + next_token: str | None = ... + """ + The token for the next page of results, or null if there are no more + results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListEvaluatorsInput(_SerdeShape): + """Dataclass for ListEvaluatorsInput structure.""" + + next_token: str | None = ... + """ + The pagination token from a previous request to retrieve the next page + of results. + """ + max_results: int | None = ... + """The maximum number of evaluators to return in a single response.""" + +@dataclass(kw_only=True) +class ListEvaluatorsOutput(_SerdeShape): + """Dataclass for ListEvaluatorsOutput structure.""" + + evaluators: list[EvaluatorSummary] + """ + The list of evaluator summaries containing basic information about each + evaluator. + """ + next_token: str | None = ... + """ + The pagination token to use in a subsequent request to retrieve the next + page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGatewayRateLimitsInput(_SerdeShape): + """Dataclass for ListGatewayRateLimitsInput structure.""" + + gateway_identifier: str | None = ... + """The unique identifier of the gateway.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. Use the value + returned in a previous `ListGatewayRateLimits` response. + """ + +@dataclass(kw_only=True) +class ListGatewayRateLimitsOutput(_SerdeShape): + """Dataclass for ListGatewayRateLimitsOutput structure.""" + + rate_limits: list[GatewayRateLimitDetail] + """The list of rate limits for the gateway.""" + next_token: str | None = ... + """ + The token for the next page of results. If this value is absent, there + are no more results to retrieve. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGatewayRulesInput(_SerdeShape): + """Dataclass for ListGatewayRulesInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway to list rules for.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """The pagination token from a previous request.""" + +@dataclass(kw_only=True) +class ListGatewayRulesOutput(_SerdeShape): + """Dataclass for ListGatewayRulesOutput structure.""" + + gateway_rules: list[GatewayRuleDetail] + """The list of gateway rules.""" + next_token: str | None = ... + """The pagination token to use in a subsequent request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGatewaysInput(_SerdeShape): + """Dataclass for ListGatewaysInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListGatewaysOutput(_SerdeShape): + """Dataclass for ListGatewaysOutput structure.""" + + items: list[GatewaySummary] + """The list of gateway summaries.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGatewayTargetsInput(_SerdeShape): + """Dataclass for ListGatewayTargetsInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway to list targets for.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListGatewayTargetsOutput(_SerdeShape): + """Dataclass for ListGatewayTargetsOutput structure.""" + + items: list[TargetSummary] + """The list of gateway target summaries.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListHarnessEndpointsInput(_SerdeShape): + """Dataclass for ListHarnessEndpointsInput structure.""" + + harness_id: str | None = ... + """The ID of the harness whose endpoints are listed.""" + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + next_token: str | None = ... + """The token for the next set of results.""" + +@dataclass(kw_only=True) +class ListHarnessEndpointsOutput(_SerdeShape): + """Dataclass for ListHarnessEndpointsOutput structure.""" + + endpoints: list[HarnessEndpoint] + """The list of harness endpoints.""" + next_token: str | None = ... + """The token for the next set of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListHarnessesInput(_SerdeShape): + """Dataclass for ListHarnessesInput structure.""" + + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + next_token: str | None = ... + """The token for the next set of results.""" + +@dataclass(kw_only=True) +class ListHarnessesOutput(_SerdeShape): + """Dataclass for ListHarnessesOutput structure.""" + + harnesses: list[HarnessSummary] + """The list of harness summaries.""" + next_token: str | None = ... + """The token for the next set of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListHarnessVersionsInput(_SerdeShape): + """Dataclass for ListHarnessVersionsInput structure.""" + + harness_id: str | None = ... + """The ID of the harness whose versions are listed.""" + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + next_token: str | None = ... + """The token for the next set of results.""" + +@dataclass(kw_only=True) +class ListHarnessVersionsOutput(_SerdeShape): + """Dataclass for ListHarnessVersionsOutput structure.""" + + harness_versions: list[HarnessVersionSummary] + """The list of harness version summaries.""" + next_token: str | None = ... + """The token for the next set of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ListingMode(UnknownEnumMixin, StrEnum): + DEFAULT = "DEFAULT" + DYNAMIC = "DYNAMIC" + +@dataclass(kw_only=True) +class ListMemoriesInput(_SerdeShape): + """Dataclass for ListMemoriesInput structure.""" + + max_results: int = ... + """ + The maximum number of results to return in a single call. The default + value is 10. The maximum value is 50. + """ + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. + """ + +@dataclass(kw_only=True) +class ListMemoriesOutput(_SerdeShape): + """Dataclass for ListMemoriesOutput structure.""" + + memories: list[MemorySummary] + """The list of AgentCore Memory resource summaries.""" + next_token: str | None = ... + """A token to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListOauth2CredentialProvidersInput(_SerdeShape): + """Dataclass for ListOauth2CredentialProvidersInput structure.""" + + next_token: str | None = ... + """Pagination token.""" + max_results: int = ... + """Maximum number of results to return.""" + +@dataclass(kw_only=True) +class ListOauth2CredentialProvidersOutput(_SerdeShape): + """Dataclass for ListOauth2CredentialProvidersOutput structure.""" + + credential_providers: list[Oauth2CredentialProviderItem] + """The list of OAuth2 credential providers.""" + next_token: str | None = ... + """Pagination token for the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListOnlineEvaluationConfigsInput(_SerdeShape): + """Dataclass for ListOnlineEvaluationConfigsInput structure.""" + + next_token: str | None = ... + """ + The pagination token from a previous request to retrieve the next page + of results. + """ + max_results: int | None = ... + """ + The maximum number of online evaluation configurations to return in a + single response. + """ + +@dataclass(kw_only=True) +class ListOnlineEvaluationConfigsOutput(_SerdeShape): + """Dataclass for ListOnlineEvaluationConfigsOutput structure.""" + + online_evaluation_configs: list[OnlineEvaluationConfigSummary] + """ + The list of online evaluation configuration summaries containing basic + information about each configuration. + """ + next_token: str | None = ... + """ + The pagination token to use in a subsequent request to retrieve the next + page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPaymentConnectorsInput(_SerdeShape): + """Dataclass for ListPaymentConnectorsInput structure.""" + + payment_manager_id: str | None = ... + """The unique identifier of the payment manager whose connectors to list.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListPaymentConnectorsOutput(_SerdeShape): + """Dataclass for ListPaymentConnectorsOutput structure.""" + + payment_connectors: list[PaymentConnectorSummary] + """ + The list of payment connector summaries. For details about the fields in + each summary, see the `PaymentConnectorSummary` data type. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPaymentCredentialProvidersInput(_SerdeShape): + """Dataclass for ListPaymentCredentialProvidersInput structure.""" + + next_token: str | None = ... + """Pagination token.""" + max_results: int = ... + """Maximum number of results to return.""" + +@dataclass(kw_only=True) +class ListPaymentCredentialProvidersOutput(_SerdeShape): + """Dataclass for ListPaymentCredentialProvidersOutput structure.""" + + credential_providers: list[PaymentCredentialProviderItem] + """The list of payment credential providers.""" + next_token: str | None = ... + """Pagination token for the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPaymentManagersInput(_SerdeShape): + """Dataclass for ListPaymentManagersInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListPaymentManagersOutput(_SerdeShape): + """Dataclass for ListPaymentManagersOutput structure.""" + + payment_managers: list[PaymentManagerSummary] + """ + The list of payment manager summaries. For details about the fields in + each summary, see the `PaymentManagerSummary` data type. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPoliciesInput(_SerdeShape): + """Dataclass for ListPoliciesInput structure.""" + + next_token: str | None = ... + """ + A pagination token returned from a previous + [ListPolicies](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicies.html) + call. Use this token to retrieve the next page of results when the + response is paginated. + """ + max_results: int | None = ... + """ + The maximum number of policies to return in a single response. If not + specified, the default is 10 policies per page, with a maximum of 100 + per page. + """ + policy_engine_id: str | None = ... + """The identifier of the policy engine whose policies to retrieve.""" + target_resource_scope: str | None = ... + """ + Optional filter to list policies that apply to a specific resource scope + or resource type. This helps narrow down policy results to those + relevant for particular Amazon Web Services resources, agent tools, or + operational contexts within the policy engine ecosystem. + """ + +@dataclass(kw_only=True) +class ListPoliciesOutput(_SerdeShape): + """Dataclass for ListPoliciesOutput structure.""" + + policies: list[Policy] + """ + An array of policy objects that match the specified criteria. Each + policy object contains the policy metadata, status, and key identifiers + for further operations. + """ + next_token: str | None = ... + """ + A pagination token that can be used in subsequent ListPolicies calls to + retrieve additional results. This token is only present when there are + more results available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPolicyEnginesInput(_SerdeShape): + """Dataclass for ListPolicyEnginesInput structure.""" + + next_token: str | None = ... + """ + A pagination token returned from a previous + [ListPolicyEngines](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngines.html) + call. Use this token to retrieve the next page of results when the + response is paginated. + """ + max_results: int | None = ... + """ + The maximum number of policy engines to return in a single response. If + not specified, the default is 10 policy engines per page, with a maximum + of 100 per page. + """ + +@dataclass(kw_only=True) +class ListPolicyEnginesOutput(_SerdeShape): + """Dataclass for ListPolicyEnginesOutput structure.""" + + policy_engines: list[PolicyEngine] + """ + An array of policy engine objects that exist in the account. Each policy + engine object contains the engine metadata, status, and key identifiers + for further operations. + """ + next_token: str | None = ... + """ + A pagination token that can be used in subsequent + [ListPolicyEngines](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngines.html) + calls to retrieve additional results. This token is only present when + there are more results available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPolicyEngineSummariesInput(_SerdeShape): + """Dataclass for ListPolicyEngineSummariesInput structure.""" + + next_token: str | None = ... + """ + A pagination token returned from a previous + [ListPolicyEngineSummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngineSummaries.html) + call. Use this token to retrieve the next page of results when the + response is paginated. + """ + max_results: int | None = ... + """ + The maximum number of policy engine summaries to return in a single + response. + """ + +@dataclass(kw_only=True) +class ListPolicyEngineSummariesOutput(_SerdeShape): + """Dataclass for ListPolicyEngineSummariesOutput structure.""" + + policy_engines: list[PolicyEngineSummary] + """ + An array of policy engine summary objects that exist in the account. + Each summary contains resource identifiers, status, and timestamps + without customer-encrypted content. + """ + next_token: str | None = ... + """ + A pagination token that can be used in subsequent + [ListPolicyEngineSummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngineSummaries.html) + calls to retrieve additional results. This token is only present when + there are more results available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPolicyGenerationAssetsInput(_SerdeShape): + """Dataclass for ListPolicyGenerationAssetsInput structure.""" + + policy_generation_id: str | None = ... + """ + The unique identifier of the policy generation request whose assets are + to be retrieved. This must be a valid generation ID from a previous + [StartPolicyGeneration](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html) + call that has completed processing. + """ + policy_engine_id: str | None = ... + """ + The unique identifier of the policy engine associated with the policy + generation request. This provides the context for the generation + operation and ensures assets are retrieved from the correct policy + engine. + """ + next_token: str | None = ... + """ + A pagination token returned from a previous + [ListPolicyGenerationAssets](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html) + call. Use this token to retrieve the next page of assets when the + response is paginated due to large numbers of generated policy options. + """ + max_results: int | None = ... + """ + The maximum number of policy generation assets to return in a single + response. If not specified, the default is 10 assets per page, with a + maximum of 100 per page. This helps control response size when dealing + with policy generations that produce many alternative policy options. + """ + +@dataclass(kw_only=True) +class ListPolicyGenerationAssetsOutput(_SerdeShape): + """Dataclass for ListPolicyGenerationAssetsOutput structure.""" + + policy_generation_assets: list[PolicyGenerationAsset] | None = ... + """ + An array of generated policy assets including Dogwood policies and + related artifacts from the AI-powered policy generation process. Each + asset represents a different policy option or variation generated from + the original natural language input. + """ + next_token: str | None = ... + """ + A pagination token that can be used in subsequent + [ListPolicyGenerationAssets](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html) + calls to retrieve additional assets. This token is only present when + there are more generated policy assets available beyond the current + response. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPolicyGenerationsInput(_SerdeShape): + """Dataclass for ListPolicyGenerationsInput structure.""" + + next_token: str | None = ... + """ + A pagination token for retrieving additional policy generations when + results are paginated. + """ + max_results: int | None = ... + """The maximum number of policy generations to return in a single response.""" + policy_engine_id: str | None = ... + """ + The identifier of the policy engine whose policy generations to + retrieve. + """ + +@dataclass(kw_only=True) +class ListPolicyGenerationsOutput(_SerdeShape): + """Dataclass for ListPolicyGenerationsOutput structure.""" + + policy_generations: list[PolicyGeneration] + """An array of policy generation objects that match the specified criteria.""" + next_token: str | None = ... + """ + A pagination token for retrieving additional policy generations if more + results are available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPolicyGenerationSummariesInput(_SerdeShape): + """Dataclass for ListPolicyGenerationSummariesInput structure.""" + + next_token: str | None = ... + """ + A pagination token returned from a previous + [ListPolicyGenerationSummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationSummaries.html) + call. Use this token to retrieve the next page of results when the + response is paginated. + """ + max_results: int | None = ... + """ + The maximum number of policy generation summaries to return in a single + response. + """ + policy_engine_id: str | None = ... + """ + The identifier of the policy engine whose policy generation summaries to + retrieve. + """ + +@dataclass(kw_only=True) +class ListPolicyGenerationSummariesOutput(_SerdeShape): + """Dataclass for ListPolicyGenerationSummariesOutput structure.""" + + policy_generations: list[PolicyGenerationSummary] + """ + An array of policy generation summary objects that match the specified + criteria. Each summary contains resource identifiers, status, + timestamps, and findings without customer-encrypted content. + """ + next_token: str | None = ... + """ + A pagination token that can be used in subsequent + [ListPolicyGenerationSummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationSummaries.html) + calls to retrieve additional results. This token is only present when + there are more results available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPolicySummariesInput(_SerdeShape): + """Dataclass for ListPolicySummariesInput structure.""" + + next_token: str | None = ... + """ + A pagination token returned from a previous + [ListPolicySummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicySummaries.html) + call. Use this token to retrieve the next page of results when the + response is paginated. + """ + max_results: int | None = ... + """The maximum number of policy summaries to return in a single response.""" + policy_engine_id: str | None = ... + """The identifier of the policy engine whose policy summaries to retrieve.""" + target_resource_scope: str | None = ... + """ + Optional filter to list policy summaries that apply to a specific + resource scope or resource type. This helps narrow down results to those + relevant for particular Amazon Web Services resources, agent tools, or + operational contexts within the policy engine ecosystem. + """ + +@dataclass(kw_only=True) +class ListPolicySummariesOutput(_SerdeShape): + """Dataclass for ListPolicySummariesOutput structure.""" + + policies: list[PolicySummary] + """ + An array of policy summary objects that match the specified criteria. + Each summary contains resource identifiers, status, and timestamps + without customer-encrypted content. + """ + next_token: str | None = ... + """ + A pagination token that can be used in subsequent + [ListPolicySummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicySummaries.html) + calls to retrieve additional results. This token is only present when + there are more results available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRegistriesInput(_SerdeShape): + """Dataclass for ListRegistriesInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + status: str | None = ... + """ + Filter registries by their current status. Possible values include + `CREATING`, `READY`, `UPDATING`, `CREATE_FAILED`, `UPDATE_FAILED`, + `DELETING`, and `DELETE_FAILED`. + """ + authorizer_type: str | None = ... + """ + Filter registries by their authorizer type. Possible values are + `CUSTOM_JWT` and `AWS_IAM`. For more information about authorizer types, + see the `RegistryAuthorizerType` enum. + """ + +@dataclass(kw_only=True) +class ListRegistriesOutput(_SerdeShape): + """Dataclass for ListRegistriesOutput structure.""" + + registries: list[RegistrySummary] + """ + The list of registry summaries. For details about the fields in each + summary, see the `RegistrySummary` data type. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRegistryRecordsInput(_SerdeShape): + """Dataclass for ListRegistryRecordsInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry to list records from. You can specify + either the Amazon Resource Name (ARN) or the ID of the registry. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + name: str | None = ... + """Filter registry records by name.""" + status: str | None = ... + """ + Filter registry records by their current status. Possible values include + `CREATING`, `DRAFT`, `APPROVED`, `PENDING_APPROVAL`, `REJECTED`, + `DEPRECATED`, `UPDATING`, `CREATE_FAILED`, and `UPDATE_FAILED`. + """ + descriptor_type: str | None = ... + """ + Filter registry records by their descriptor type. Possible values are + `MCP`, `A2A`, `CUSTOM`, and `AGENT_SKILLS`. + """ + +@dataclass(kw_only=True) +class ListRegistryRecordsOutput(_SerdeShape): + """Dataclass for ListRegistryRecordsOutput structure.""" + + registry_records: list[RegistryRecordSummary] + """ + The list of registry record summaries. For details about the fields in + each summary, see the `RegistryRecordSummary` data type. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceInput(_SerdeShape): + """Dataclass for ListTagsForResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource for which you want to + list tags. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceOutput(_SerdeShape): + """Dataclass for ListTagsForResourceOutput structure.""" + + tags: dict[str, str] | None = ... + """The tags associated with the resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListWorkloadIdentitiesInput(_SerdeShape): + """Dataclass for ListWorkloadIdentitiesInput structure.""" + + next_token: str | None = ... + """Pagination token.""" + max_results: int = ... + """Maximum number of results to return.""" + +@dataclass(kw_only=True) +class ListWorkloadIdentitiesOutput(_SerdeShape): + """Dataclass for ListWorkloadIdentitiesOutput structure.""" + + workload_identities: list[WorkloadIdentityType] + """The list of workload identities.""" + next_token: str | None = ... + """Pagination token for the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LlmAsAJudgeEvaluatorConfig(_SerdeShape): + """ + The configuration for LLM-as-a-Judge evaluation that uses a language + model to assess agent performance based on custom instructions and + rating scales. + """ + + instructions: str + """ + The evaluation instructions that guide the language model in assessing + agent performance, including criteria and evaluation guidelines. + """ + rating_scale: RatingScale + """ + The rating scale that defines how the evaluator should score agent + performance, either numerical or categorical. + """ + model_config: EvaluatorModelConfig + """ + The model configuration that specifies which foundation model to use and + how to configure it for evaluation. + """ + +@dataclass(kw_only=True) +class LlmExtractionConfig(_SerdeShape): + """Model-based metadata extraction configuration.""" + + llm_extraction_instruction: str | None = ... + """ + Instructions for extraction. Supports built-in operators like + LATEST_VALUE or custom natural-language instructions. + """ + definition: str + """Description of what this metadata field represents.""" + validation: Validation | None = ... + """Validation rules to constrain extracted values.""" + +@dataclass(kw_only=True) +class ManagedResourceDetails(_SerdeShape): + """ + Details of a resource created and managed by the gateway for private + endpoint connectivity. + """ + + domain: str | None = ... + """The domain associated with this managed resource.""" + resource_gateway_arn: str | None = ... + """The ARN of the VPC Lattice resource gateway created in your account.""" + resource_association_arn: str | None = ... + """The ARN of the service network resource association.""" + +@dataclass(kw_only=True) +class ManagedVpcResource(_SerdeShape): + """ + Configuration for a managed VPC Lattice resource. The gateway creates + and manages the VPC Lattice resource gateway and resource configuration + on your behalf using a service-linked role. + """ + + vpc_identifier: str + """The ID of the VPC that contains your private resource.""" + subnet_ids: list[str] + """ + The subnet IDs within the VPC where the VPC Lattice resource gateway is + placed. + """ + endpoint_ip_address_type: str + """The IP address type for the resource configuration endpoint.""" + security_group_ids: list[str] | None = ... + """ + The security group IDs to associate with the VPC Lattice resource + gateway. If not specified, the default security group for the VPC is + used. + """ + tags: dict[str, str] | None = ... + """Tags to apply to the managed VPC Lattice resource gateway.""" + routing_domain: str | None = ... + """ + An intermediate domain to use as the resource configuration endpoint + instead of the actual target domain. Use this when you want to route + traffic through an intermediate component such as a VPC endpoint or + internal load balancer. For more information, see + xref:lattice-vpc-egress-routing-domain[Route traffic through an + intermediate domain]. + """ + +@dataclass(kw_only=True) +class MatchModelEntry(_SerdeShape): + """ + A model ID or pattern to match against the requested model, and the + operator to use for the comparison. + """ + + value: str + """ + The model ID or pattern to match. With the `StringLike` operator, you + can use `*` and `?` as wildcards, for example `anthropic.claude-*`. + """ + operator: str = ... + """ + The operator to use when comparing the requested model to the value: + + - `StringEquals` -- Requires an exact match. + + - `StringLike` -- Supports wildcard patterns using `*` and `?`. This is + the default. + """ + +@dataclass(kw_only=True) +class MatchModels(_SerdeShape): + """ + A condition that matches inference requests based on the requested + model. + """ + + any_of: list[MatchModelEntry] + """ + A list of model entries. The condition is met if the requested model + matches any of the entries. + """ + +class MatchOperator(UnknownEnumMixin, StrEnum): + STRING_EQUALS = "StringEquals" + STRING_LIKE = "StringLike" + +@dataclass(kw_only=True) +class MatchPaths(_SerdeShape): + """A condition that matches requests based on the request path.""" + + any_of: list[str] + """ + A list of path patterns. The condition is met if the request path + matches any of the patterns. + """ + +@dataclass +class MatchPrincipalEntryIamPrincipal(_SerdeShape): + """An IAM principal to match against, specified by ARN.""" + + value: IamPrincipal + +@dataclass +class MatchPrincipalEntryUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +MatchPrincipalEntry = Union[ + MatchPrincipalEntryIamPrincipal | MatchPrincipalEntryUnknown +] +""" +Union for principal matching. Currently supports IAM principal ARN glob +matching. +""" + +class _MatchPrincipalEntryDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> MatchPrincipalEntry: ... + +@dataclass(kw_only=True) +class MatchPrincipals(_SerdeShape): + """A condition that matches requests based on the caller's identity.""" + + any_of: list[MatchPrincipalEntry] + """ + A list of principal entries. The condition is met if any of the entries + match the caller's identity. + """ + +@dataclass(kw_only=True) +class McpDescriptor(_SerdeShape): + """ + The Model Context Protocol (MCP) descriptor for a registry record. + Contains the server definition and tools definition for an + MCP-compatible server. The schema is validated against the MCP protocol + specification. + """ + + server: ServerDefinition | None = ... + """ + The MCP server definition, containing the server configuration and + schema as defined by the MCP protocol specification. + """ + tools: ToolsDefinition | None = ... + """ + The MCP tools definition, containing the tools available on the MCP + server as defined by the MCP protocol specification. + """ + +@dataclass(kw_only=True) +class MCPGatewayConfiguration(_SerdeShape): + """ + The configuration for a Model Context Protocol (MCP) gateway. This + structure defines how the gateway implements the MCP protocol. + """ + + supported_versions: list[str] | None = ... + """ + The supported versions of the Model Context Protocol. This field + specifies which versions of the protocol the gateway can use. + """ + instructions: str | None = ... + """ + The instructions for using the Model Context Protocol gateway. These + instructions provide guidance on how to interact with the gateway. + """ + search_type: str | None = ... + """ + The search type for the Model Context Protocol gateway. This field + specifies how the gateway handles search operations. + """ + session_configuration: SessionConfiguration | None = ... + """ + The session configuration for the MCP gateway. This configuration + controls session behavior, including session timeout settings. + """ + streaming_configuration: StreamingConfiguration | None = ... + """ + The streaming configuration for the MCP gateway. This configuration + controls whether response streaming is enabled for the gateway. + """ + disable_mcp_list_tools_pagination: bool | None = ... + """ + Specifies whether the gateway disables pagination for the Model Context + Protocol (MCP) `tools/list` operation. When set to `true`, the gateway + returns the complete list of tools in a single response without a + pagination cursor. When set to `false` or omitted, the gateway returns + tools in paginated responses. For information about changing this value + on an existing gateway, see + [UpdateGateway](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UpdateGateway.html). + """ + +@dataclass(kw_only=True) +class McpLambdaTargetConfiguration(_SerdeShape): + """ + The Lambda configuration for a Model Context Protocol target. This + structure defines how the gateway uses a Lambda function to communicate + with the target. + """ + + lambda_arn: str + """ + The Amazon Resource Name (ARN) of the Lambda function. This function is + invoked by the gateway to communicate with the target. + """ + tool_schema: ToolSchema + """ + The tool schema for the Lambda function. This schema defines the + structure of the tools that the Lambda function provides. + """ + +@dataclass(kw_only=True) +class McpServerTargetConfiguration(_SerdeShape): + """The target configuration for the MCP server.""" + + endpoint: str + """The endpoint for the MCP server target configuration.""" + mcp_tool_schema: McpToolSchemaConfiguration | None = ... + """ + A static tool list for the MCP server target. It is supported for all + credential providers. Dynamic tool discovery/synchronization will be + disabled when a target is configured with mcpToolSchema. + """ + listing_mode: str | None = ... + """ + The listing mode for the MCP server target configuration. MCP resources + for default targets are cached at the control plane for faster access. + MCP resources for dynamic targets will be dynamically retrieved when + listing tools. + """ + resource_priority: int | None = ... + """ + Priority for resolving MCP server targets with shared resource URIs. + Lower values take precedence. Defaults to 1000 when not set. + """ + +@dataclass +class McpTargetConfigurationOpenApiSchema(_SerdeShape): + """ + The OpenAPI schema for the Model Context Protocol target. This schema + defines the API structure of the target. + """ + + value: ApiSchemaConfiguration + +@dataclass +class McpTargetConfigurationSmithyModel(_SerdeShape): + """ + The Smithy model for the Model Context Protocol target. This model + defines the API structure of the target using the Smithy specification. + """ + + value: ApiSchemaConfiguration + +@dataclass +class McpTargetConfigurationLambda(_SerdeShape): + """ + The Lambda configuration for the Model Context Protocol target. This + configuration defines how the gateway uses a Lambda function to + communicate with the target. + """ + + value: McpLambdaTargetConfiguration + +@dataclass +class McpTargetConfigurationMcpServer(_SerdeShape): + """The MCP server specified as the gateway target.""" + + value: McpServerTargetConfiguration + +@dataclass +class McpTargetConfigurationApiGateway(_SerdeShape): + """The configuration for an Amazon API Gateway target.""" + + value: ApiGatewayTargetConfiguration + +@dataclass +class McpTargetConfigurationConnector(_SerdeShape): + """ + The connector integration configuration for the Model Context Protocol + target. This configuration defines how the gateway uses a pre-built + connector to communicate with the target. + """ + + value: ConnectorTargetConfiguration + +@dataclass +class McpTargetConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +McpTargetConfiguration = Union[ + McpTargetConfigurationOpenApiSchema + | McpTargetConfigurationSmithyModel + | McpTargetConfigurationLambda + | McpTargetConfigurationMcpServer + | McpTargetConfigurationApiGateway + | McpTargetConfigurationConnector + | McpTargetConfigurationUnknown +] +""" +The Model Context Protocol (MCP) configuration for a target. This +structure defines how the gateway uses MCP to communicate with the +target. +""" + +class _McpTargetConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> McpTargetConfiguration: ... + +@dataclass +class McpToolSchemaConfigurationS3(_SerdeShape): + """ + The Amazon S3 location of the tool schema. This location contains the + schema definition file. + """ + + value: S3Configuration + +@dataclass +class McpToolSchemaConfigurationInlinePayload(_SerdeShape): + """The inline payload containing the MCP tool schema definition.""" + + value: str + +@dataclass +class McpToolSchemaConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +McpToolSchemaConfiguration = Union[ + McpToolSchemaConfigurationS3 + | McpToolSchemaConfigurationInlinePayload + | McpToolSchemaConfigurationUnknown +] +""" +The MCP tool schema configuration for an MCP server target. The tool +schema must be aligned with the MCP specification. +""" + +class _McpToolSchemaConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> McpToolSchemaConfiguration: ... + +@dataclass(kw_only=True) +class Memory(_SerdeShape): + """Contains information about a memory resource.""" + + arn: str + """The Amazon Resource Name (ARN) of the memory.""" + id: str + """The unique identifier of the memory.""" + name: str + """The name of the memory.""" + description: str | None = ... + """The description of the memory.""" + encryption_key_arn: str | None = ... + """The ARN of the KMS key used to encrypt the memory.""" + memory_execution_role_arn: str | None = ... + """The ARN of the IAM role that provides permissions for the memory.""" + event_expiry_duration: int + """The number of days after which memory events will expire.""" + status: str + """The current status of the memory.""" + failure_reason: str | None = ... + """The reason for failure if the memory is in a failed state.""" + created_at: datetime + """The timestamp when the memory was created.""" + updated_at: datetime + """The timestamp when the memory was last updated.""" + strategies: list[MemoryStrategy] | None = ... + """The list of memory strategies associated with this memory.""" + indexed_keys: list[IndexedKey] | None = ... + """ + The indexed metadata keys for this memory. Only indexed keys can be used + in metadata filters. + """ + namespace_keys: list[NamespaceKeyEntry] | None = ... + """ + The namespace variable key definitions for this memory. Namespace keys + define custom variables used in `namespaceTemplates` with optional + validation rules. + """ + stream_delivery_resources: StreamDeliveryResources | None = ... + """Configuration for streaming memory record data to external resources.""" + managed_by_resource_arn: str | None = ... + """ + ARN of the resource managing this memory (e.g. a harness). When set, + strategy modifications and deletion are only allowed through the + managing resource. + """ + +@dataclass(kw_only=True) +class MemoryRecordSchema(_SerdeShape): + """Schema for metadata on memory records generated by a strategy.""" + + metadata_schema: list[MetadataSchemaEntry] | None = ... + """The metadata field definitions for this strategy.""" + +class MemoryStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + FAILED = "FAILED" + DELETING = "DELETING" + UPDATING = "UPDATING" + +@dataclass(kw_only=True) +class MemoryStrategy(_SerdeShape): + """Contains information about a memory strategy.""" + + strategy_id: str + """The unique identifier of the memory strategy.""" + name: str + """The name of the memory strategy.""" + description: str | None = ... + """The description of the memory strategy.""" + configuration: StrategyConfiguration | None = ... + """The configuration of the memory strategy.""" + type: str + """The type of the memory strategy.""" + namespaces: list[str] + """ + This is a legacy parameter. The namespaces associated with the memory + strategy. + """ + namespace_templates: list[str] + """The namespaceTemplates associated with the memory strategy.""" + created_at: datetime | None = ... + """The timestamp when the memory strategy was created.""" + updated_at: datetime | None = ... + """The timestamp when the memory strategy was last updated.""" + status: str | None = ... + """The current status of the memory strategy.""" + memory_record_schema: MemoryRecordSchema | None = ... + """Schema for metadata fields on records generated by this strategy.""" + record_expiry_duration_days: int | None = ... + """ + The effective record expiry (long-term memory time-to-live), in days, + for memory records generated by this strategy. New records expire this + many days after they are created. If not set, records generated by this + strategy do not expire. + """ + +@dataclass +class MemoryStrategyInputSemanticMemoryStrategy(_SerdeShape): + """Input for creating a semantic memory strategy.""" + + value: SemanticMemoryStrategyInput + +@dataclass +class MemoryStrategyInputSummaryMemoryStrategy(_SerdeShape): + """Input for creating a summary memory strategy.""" + + value: SummaryMemoryStrategyInput + +@dataclass +class MemoryStrategyInputUserPreferenceMemoryStrategy(_SerdeShape): + """Input for creating a user preference memory strategy.""" + + value: UserPreferenceMemoryStrategyInput + +@dataclass +class MemoryStrategyInputCustomMemoryStrategy(_SerdeShape): + """Input for creating a custom memory strategy.""" + + value: CustomMemoryStrategyInput + +@dataclass +class MemoryStrategyInputEpisodicMemoryStrategy(_SerdeShape): + """Input for creating an episodic memory strategy""" + + value: EpisodicMemoryStrategyInput + +@dataclass +class MemoryStrategyInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +MemoryStrategyInput = Union[ + MemoryStrategyInputSemanticMemoryStrategy + | MemoryStrategyInputSummaryMemoryStrategy + | MemoryStrategyInputUserPreferenceMemoryStrategy + | MemoryStrategyInputCustomMemoryStrategy + | MemoryStrategyInputEpisodicMemoryStrategy + | MemoryStrategyInputUnknown +] +"""Contains input information for creating a memory strategy.""" + +class _MemoryStrategyInputDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> MemoryStrategyInput: ... + +class MemoryStrategyStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + DELETING = "DELETING" + FAILED = "FAILED" + +class MemoryStrategyType(UnknownEnumMixin, StrEnum): + SEMANTIC = "SEMANTIC" + SUMMARIZATION = "SUMMARIZATION" + USER_PREFERENCE = "USER_PREFERENCE" + CUSTOM = "CUSTOM" + EPISODIC = "EPISODIC" + +@dataclass(kw_only=True) +class MemorySummary(_SerdeShape): + """Contains summary information about a memory resource.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the memory.""" + id: str | None = ... + """The unique identifier of the memory.""" + status: str | None = ... + """The current status of the memory.""" + created_at: datetime + """The timestamp when the memory was created.""" + updated_at: datetime + """The timestamp when the memory was last updated.""" + managed_by_resource_arn: str | None = ... + """ + ARN of the resource managing this memory (e.g. a harness). Null if not + managed. + """ + +class MemoryView(UnknownEnumMixin, StrEnum): + FULL = "full" + WITHOUT_DECRYPTION = "without_decryption" + +@dataclass(kw_only=True) +class MessageBasedTrigger(_SerdeShape): + """The trigger configuration based on a message.""" + + message_count: int | None = ... + """The number of messages that trigger memory processing.""" + +@dataclass(kw_only=True) +class MessageBasedTriggerInput(_SerdeShape): + """The trigger configuration based on a message.""" + + message_count: int = ... + """The number of messages that trigger memory processing.""" + +@dataclass(kw_only=True) +class MetadataConfiguration(_SerdeShape): + """ + Configuration for HTTP header and query parameter propagation between + the gateway and target servers. + """ + + allowed_request_headers: list[str] | None = ... + """ + A list of HTTP headers that are allowed to be propagated from incoming + client requests to the target. + """ + allowed_query_parameters: list[str] | None = ... + """ + A list of URL query parameters that are allowed to be propagated from + incoming gateway URL to the target. + """ + allowed_response_headers: list[str] | None = ... + """ + A list of HTTP headers that are allowed to be propagated from the target + response back to the client. + """ + +@dataclass(kw_only=True) +class MetadataSchemaEntry(_SerdeShape): + """A metadata field definition within a strategy's schema.""" + + key: str + """ + The metadata field name. Must match an indexed key to be queryable via + metadata filters. + """ + type: str | None = ... + """The MetadataValueType.""" + extraction_type: str | None = ... + """ + Specifies whether the metadata value is extracted by the LLM or passed + through deterministically from the event. + """ + extraction_config: ExtractionConfig | None = ... + """ + Configuration for extracting this metadata value from conversational + content. Applicable only if extractionType is LLM inferred. + """ + +class MetadataValueType(UnknownEnumMixin, StrEnum): + STRING = "STRING" + STRINGLIST = "STRINGLIST" + NUMBER = "NUMBER" + +@dataclass(kw_only=True) +class MicrosoftOauth2ProviderConfigInput(_SerdeShape): + """Input configuration for a Microsoft OAuth2 provider.""" + + client_id: str + """The client ID for the Microsoft OAuth2 provider.""" + client_secret: str = ... + """The client secret for the Microsoft OAuth2 provider.""" + client_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the client secret. This includes the secret ID and the JSON key + used to extract the client secret value from the secret. Required when + `clientSecretSource` is set to `EXTERNAL`. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + tenant_id: str | None = ... + """ + The Microsoft Entra ID (formerly Azure AD) tenant ID for your + organization. This identifies the specific tenant within Microsoft's + identity platform where your application is registered. + """ + +@dataclass(kw_only=True) +class MicrosoftOauth2ProviderConfigOutput(_SerdeShape): + """Output configuration for a Microsoft OAuth2 provider.""" + + oauth_discovery: Oauth2Discovery + """The OAuth2 discovery information for the Microsoft provider.""" + client_id: str | None = ... + """The client ID for the Microsoft OAuth2 provider.""" + +@dataclass(kw_only=True) +class ModelEntry(_SerdeShape): + """ + A model entry that specifies a model supported for an inference + operation. + """ + + model: str + """ + The model ID or glob pattern that identifies the model (for example, + `anthropic.claude-opus-*` or `openai.gpt-oss-*`). + """ + +@dataclass(kw_only=True) +class ModelMapping(_SerdeShape): + """ + The configuration that translates model IDs between client-facing names + and provider model IDs. + """ + + provider_prefix: ProviderPrefix | None = ... + """The provider prefix configuration used for model ID translation.""" + +@dataclass +class ModifyConsolidationConfigurationCustomConsolidationConfiguration(_SerdeShape): + """The updated custom consolidation configuration.""" + + value: CustomConsolidationConfigurationInput + +@dataclass +class ModifyConsolidationConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ModifyConsolidationConfiguration = Union[ + ModifyConsolidationConfigurationCustomConsolidationConfiguration + | ModifyConsolidationConfigurationUnknown +] +"""Contains information for modifying a consolidation configuration.""" + +class _ModifyConsolidationConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ModifyConsolidationConfiguration: ... + +@dataclass +class ModifyExtractionConfigurationCustomExtractionConfiguration(_SerdeShape): + """The updated custom extraction configuration.""" + + value: CustomExtractionConfigurationInput + +@dataclass +class ModifyExtractionConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ModifyExtractionConfiguration = Union[ + ModifyExtractionConfigurationCustomExtractionConfiguration + | ModifyExtractionConfigurationUnknown +] +"""Contains information for modifying an extraction configuration.""" + +class _ModifyExtractionConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ModifyExtractionConfiguration: ... + +@dataclass(kw_only=True) +class ModifyInvocationConfigurationInput(_SerdeShape): + """The configuration for updating invocation settings.""" + + topic_arn: str | None = ... + """The updated ARN of the SNS topic for job notifications.""" + payload_delivery_bucket_name: str | None = ... + """The updated S3 bucket name for event payload delivery.""" + +@dataclass(kw_only=True) +class ModifyMemoryStrategies(_SerdeShape): + """Contains information for modifying memory strategies.""" + + add_memory_strategies: list[MemoryStrategyInput] | None = ... + """The list of memory strategies to add.""" + modify_memory_strategies: list[ModifyMemoryStrategyInput] | None = ... + """The list of memory strategies to modify.""" + delete_memory_strategies: list[DeleteMemoryStrategyInput] | None = ... + """The list of memory strategies to delete.""" + +@dataclass(kw_only=True) +class ModifyMemoryStrategyInput(_SerdeShape): + """Input for modifying a memory strategy.""" + + memory_strategy_id: str + """The unique identifier of the memory strategy to modify.""" + description: str | None = ... + """The updated description of the memory strategy.""" + namespaces: list[str] | None = ... + """ + This is a legacy parameter, use `namespaceTemplates`. The updated + namespaces for the memory strategy. + """ + namespace_templates: list[str] | None = ... + """The updated namespaceTemplates for the memory strategy.""" + configuration: ModifyStrategyConfiguration | None = ... + """The updated configuration for the memory strategy.""" + memory_record_schema: MemoryRecordSchema | None = ... + """Updated metadata schema for records generated by this strategy.""" + record_expiry_specification: RecordExpirySpecification | None = ... + """ + Updates or removes the record expiry (long-term memory time-to-live) for + this strategy. Set `recordExpiryDurationDays` to configure or update the + number of days after which records expire, or set `action` to `REMOVE` + to remove a previously configured time-to-live so that newer records no + longer expire. The change applies only to records created after the + update. + """ + +@dataclass +class ModifyReflectionConfigurationEpisodicReflectionConfiguration(_SerdeShape): + """The updated episodic reflection configuration.""" + + value: EpisodicReflectionConfigurationInput + +@dataclass +class ModifyReflectionConfigurationCustomReflectionConfiguration(_SerdeShape): + """The updated custom reflection configuration.""" + + value: CustomReflectionConfigurationInput + +@dataclass +class ModifyReflectionConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ModifyReflectionConfiguration = Union[ + ModifyReflectionConfigurationEpisodicReflectionConfiguration + | ModifyReflectionConfigurationCustomReflectionConfiguration + | ModifyReflectionConfigurationUnknown +] +"""Contains information for modifying a reflection configuration.""" + +class _ModifyReflectionConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ModifyReflectionConfiguration: ... + +@dataclass(kw_only=True) +class ModifySelfManagedConfiguration(_SerdeShape): + """The configuration for updating the self-managed memory strategy.""" + + trigger_conditions: list[TriggerConditionInput] | None = ... + """The updated list of conditions that trigger memory processing.""" + invocation_configuration: ModifyInvocationConfigurationInput | None = ... + """ + The updated configuration to invoke self-managed memory processing + pipeline. + """ + historical_context_window_size: int | None = ... + """ + The updated number of historical messages to include in processing + context. + """ + +@dataclass(kw_only=True) +class ModifyStrategyConfiguration(_SerdeShape): + """Contains information for modifying a strategy configuration.""" + + extraction: ModifyExtractionConfiguration | None = ... + """The updated extraction configuration.""" + consolidation: ModifyConsolidationConfiguration | None = ... + """The updated consolidation configuration.""" + reflection: ModifyReflectionConfiguration | None = ... + """The updated reflection configuration.""" + self_managed_configuration: ModifySelfManagedConfiguration | None = ... + """The updated self-managed configuration.""" + +class Monitoring(UnknownEnumMixin, StrEnum): + BASIC = "BASIC" + DETAILED = "DETAILED" + +@dataclass(kw_only=True) +class NamespaceKeyEntry(_SerdeShape): + """ + A namespace variable key definition with optional + `NamespaceKeyValidation` rules. + """ + + key: str + """The namespace variable key name.""" + validation: NamespaceKeyValidation | None = ... + """ + The validation rules that constrain values for this namespace variable + at runtime (`CreateEvent` API). + """ + +@dataclass(kw_only=True) +class NamespaceKeyValidation(_SerdeShape): + """ + The validation rules for namespace variable values. When you specify + multiple rules, the service enforces a logical `AND` across all provided + key-value pairs. + """ + + allowed_values: list[str] | None = ... + """The allowed values for this namespace variable key.""" + regex_pattern: str | None = ... + """A regex pattern that the namespace variable key-value must match.""" + +@dataclass(kw_only=True) +class NetworkConfiguration(_SerdeShape): + """SecurityConfig for the Agent.""" + + network_mode: str + """The network mode for the AgentCore Runtime.""" + network_mode_config: VpcConfig | None = ... + """The network mode configuration for the AgentCore Runtime.""" + +class NetworkMode(UnknownEnumMixin, StrEnum): + PUBLIC = "PUBLIC" + VPC = "VPC" + +@dataclass(kw_only=True) +class NumberValidation(_SerdeShape): + """Validation for NUMBER fields.""" + + min_value: float | None = ... + """Minimum allowed value.""" + max_value: float | None = ... + """Maximum allowed value.""" + +@dataclass(kw_only=True) +class NumericalScaleDefinition(_SerdeShape): + """ + The definition of a numerical rating scale option that provides a + numeric value with its description for evaluation scoring. + """ + + definition: str + """ + The description that explains what this numerical rating represents and + when it should be used. + """ + value: float + """The numerical value for this rating scale option.""" + label: str + """The label or name that describes this numerical rating option.""" + +@dataclass(kw_only=True) +class OAuth2AuthorizationData(_SerdeShape): + """ + OAuth2-specific authorization data, including the authorization URL and + user identifier for the authorization session. + """ + + authorization_url: str + """ + The URL to initiate the authorization process. This URL is provided when + the OAuth2 access token requires user authorization. + """ + user_id: str | None = ... + """ + The user identifier associated with the OAuth2 authorization session + that is defined by AgentCore Gateway. + """ + +@dataclass(kw_only=True) +class Oauth2AuthorizationServerMetadata(_SerdeShape): + """Contains the authorization server metadata for an OAuth2 provider.""" + + issuer: str + """The issuer URL for the OAuth2 authorization server.""" + authorization_endpoint: str + """The authorization endpoint URL for the OAuth2 authorization server.""" + token_endpoint: str + """The token endpoint URL for the OAuth2 authorization server.""" + response_types: list[str] | None = ... + """The supported response types for the OAuth2 authorization server.""" + token_endpoint_auth_methods: list[str] | None = ... + """ + The authentication methods supported by the token endpoint. This + specifies how clients can authenticate when requesting tokens from the + authorization server. + """ + +@dataclass(kw_only=True) +class Oauth2CredentialProviderItem(_SerdeShape): + """Contains information about an OAuth2 credential provider.""" + + name: str + """The name of the OAuth2 credential provider.""" + credential_provider_vendor: str + """The vendor of the OAuth2 credential provider.""" + credential_provider_arn: str + """The Amazon Resource Name (ARN) of the OAuth2 credential provider.""" + created_time: datetime + """The timestamp when the OAuth2 credential provider was created.""" + last_updated_time: datetime + """The timestamp when the OAuth2 credential provider was last updated.""" + +@dataclass +class Oauth2DiscoveryDiscoveryUrl(_SerdeShape): + """The discovery URL for the OAuth2 provider.""" + + value: str + +@dataclass +class Oauth2DiscoveryAuthorizationServerMetadata(_SerdeShape): + """The authorization server metadata for the OAuth2 provider.""" + + value: Oauth2AuthorizationServerMetadata + +@dataclass +class Oauth2DiscoveryUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Oauth2Discovery = Union[ + Oauth2DiscoveryDiscoveryUrl + | Oauth2DiscoveryAuthorizationServerMetadata + | Oauth2DiscoveryUnknown +] +"""Contains the discovery information for an OAuth2 provider.""" + +class _Oauth2DiscoveryDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Oauth2Discovery: ... + +@dataclass +class Oauth2ProviderConfigInputCustomOauth2ProviderConfig(_SerdeShape): + """The configuration for a custom OAuth2 provider.""" + + value: CustomOauth2ProviderConfigInput + +@dataclass +class Oauth2ProviderConfigInputGoogleOauth2ProviderConfig(_SerdeShape): + """The configuration for a Google OAuth2 provider.""" + + value: GoogleOauth2ProviderConfigInput + +@dataclass +class Oauth2ProviderConfigInputGithubOauth2ProviderConfig(_SerdeShape): + """The configuration for a GitHub OAuth2 provider.""" + + value: GithubOauth2ProviderConfigInput + +@dataclass +class Oauth2ProviderConfigInputSlackOauth2ProviderConfig(_SerdeShape): + """The configuration for a Slack OAuth2 provider.""" + + value: SlackOauth2ProviderConfigInput + +@dataclass +class Oauth2ProviderConfigInputSalesforceOauth2ProviderConfig(_SerdeShape): + """The configuration for a Salesforce OAuth2 provider.""" + + value: SalesforceOauth2ProviderConfigInput + +@dataclass +class Oauth2ProviderConfigInputMicrosoftOauth2ProviderConfig(_SerdeShape): + """The configuration for a Microsoft OAuth2 provider.""" + + value: MicrosoftOauth2ProviderConfigInput + +@dataclass +class Oauth2ProviderConfigInputAtlassianOauth2ProviderConfig(_SerdeShape): + """Configuration settings for Atlassian OAuth2 provider integration.""" + + value: AtlassianOauth2ProviderConfigInput + +@dataclass +class Oauth2ProviderConfigInputLinkedinOauth2ProviderConfig(_SerdeShape): + """Configuration settings for LinkedIn OAuth2 provider integration.""" + + value: LinkedinOauth2ProviderConfigInput + +@dataclass +class Oauth2ProviderConfigInputIncludedOauth2ProviderConfig(_SerdeShape): + """ + The configuration for a non-custom OAuth2 provider. This includes + settings for supported OAuth2 providers that have built-in integration + support. + """ + + value: IncludedOauth2ProviderConfigInput + +@dataclass +class Oauth2ProviderConfigInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Oauth2ProviderConfigInput = Union[ + Oauth2ProviderConfigInputCustomOauth2ProviderConfig + | Oauth2ProviderConfigInputGoogleOauth2ProviderConfig + | Oauth2ProviderConfigInputGithubOauth2ProviderConfig + | Oauth2ProviderConfigInputSlackOauth2ProviderConfig + | Oauth2ProviderConfigInputSalesforceOauth2ProviderConfig + | Oauth2ProviderConfigInputMicrosoftOauth2ProviderConfig + | Oauth2ProviderConfigInputAtlassianOauth2ProviderConfig + | Oauth2ProviderConfigInputLinkedinOauth2ProviderConfig + | Oauth2ProviderConfigInputIncludedOauth2ProviderConfig + | Oauth2ProviderConfigInputUnknown +] +"""Contains the input configuration for an OAuth2 provider.""" + +class _Oauth2ProviderConfigInputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> Oauth2ProviderConfigInput: ... + +@dataclass +class Oauth2ProviderConfigOutputCustomOauth2ProviderConfig(_SerdeShape): + """The output configuration for a custom OAuth2 provider.""" + + value: CustomOauth2ProviderConfigOutput + +@dataclass +class Oauth2ProviderConfigOutputGoogleOauth2ProviderConfig(_SerdeShape): + """The output configuration for a Google OAuth2 provider.""" + + value: GoogleOauth2ProviderConfigOutput + +@dataclass +class Oauth2ProviderConfigOutputGithubOauth2ProviderConfig(_SerdeShape): + """The output configuration for a GitHub OAuth2 provider.""" + + value: GithubOauth2ProviderConfigOutput + +@dataclass +class Oauth2ProviderConfigOutputSlackOauth2ProviderConfig(_SerdeShape): + """The output configuration for a Slack OAuth2 provider.""" + + value: SlackOauth2ProviderConfigOutput + +@dataclass +class Oauth2ProviderConfigOutputSalesforceOauth2ProviderConfig(_SerdeShape): + """The output configuration for a Salesforce OAuth2 provider.""" + + value: SalesforceOauth2ProviderConfigOutput + +@dataclass +class Oauth2ProviderConfigOutputMicrosoftOauth2ProviderConfig(_SerdeShape): + """The output configuration for a Microsoft OAuth2 provider.""" + + value: MicrosoftOauth2ProviderConfigOutput + +@dataclass +class Oauth2ProviderConfigOutputAtlassianOauth2ProviderConfig(_SerdeShape): + """The configuration details for the Atlassian OAuth2 provider.""" + + value: AtlassianOauth2ProviderConfigOutput + +@dataclass +class Oauth2ProviderConfigOutputLinkedinOauth2ProviderConfig(_SerdeShape): + """The configuration details for the LinkedIn OAuth2 provider.""" + + value: LinkedinOauth2ProviderConfigOutput + +@dataclass +class Oauth2ProviderConfigOutputIncludedOauth2ProviderConfig(_SerdeShape): + """ + The configuration for a non-custom OAuth2 provider. This includes the + configuration details for supported OAuth2 providers that have built-in + integration support. + """ + + value: IncludedOauth2ProviderConfigOutput + +@dataclass +class Oauth2ProviderConfigOutputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Oauth2ProviderConfigOutput = Union[ + Oauth2ProviderConfigOutputCustomOauth2ProviderConfig + | Oauth2ProviderConfigOutputGoogleOauth2ProviderConfig + | Oauth2ProviderConfigOutputGithubOauth2ProviderConfig + | Oauth2ProviderConfigOutputSlackOauth2ProviderConfig + | Oauth2ProviderConfigOutputSalesforceOauth2ProviderConfig + | Oauth2ProviderConfigOutputMicrosoftOauth2ProviderConfig + | Oauth2ProviderConfigOutputAtlassianOauth2ProviderConfig + | Oauth2ProviderConfigOutputLinkedinOauth2ProviderConfig + | Oauth2ProviderConfigOutputIncludedOauth2ProviderConfig + | Oauth2ProviderConfigOutputUnknown +] +"""Contains the output configuration for an OAuth2 provider.""" + +class _Oauth2ProviderConfigOutputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> Oauth2ProviderConfigOutput: ... + +@dataclass(kw_only=True) +class OAuthCredentialProvider(_SerdeShape): + """ + An OAuth credential provider for gateway authentication. This structure + contains the configuration for authenticating with the target endpoint + using OAuth. + """ + + provider_arn: str + """ + The Amazon Resource Name (ARN) of the OAuth credential provider. This + ARN identifies the provider in Amazon Web Services. + """ + scopes: list[str] + """ + The OAuth scopes for the credential provider. These scopes define the + level of access requested from the OAuth provider. + """ + custom_parameters: dict[str, str] | None = ... + """ + The custom parameters for the OAuth credential provider. These + parameters provide additional configuration for the OAuth authentication + process. + """ + grant_type: str = ... + """ + Specifies the kind of credentials to use for authorization: + + - `CLIENT_CREDENTIALS` - Authorization with a client ID and secret. + + - `AUTHORIZATION_CODE` - Authorization with a token that is specific to + an individual end user. + + - `TOKEN_EXCHANGE` - Authorization using on-behalf-of token exchange. An + inbound user token is exchanged for a downstream access token scoped + to the target audience. + """ + default_return_url: str | None = ... + """ + The URL where the end user's browser is redirected after obtaining the + authorization code. Generally points to the customer's application. + """ + +class OAuthGrantType(UnknownEnumMixin, StrEnum): + CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS" + AUTHORIZATION_CODE = "AUTHORIZATION_CODE" + TOKEN_EXCHANGE = "TOKEN_EXCHANGE" + +@dataclass(kw_only=True) +class OnBehalfOfAuthenticationConfig(_SerdeShape): + """ + Specifies the client authentication method to use for the on-behalf-of + token exchange. + """ + + client_authentication_method: str + """ + The client authentication method to use during the on-behalf-of token + exchange. The `NO_CLIENT` option omits the `clientId` and `clientSecret` + during the on-behalf-of token exchange with the identity provider. + """ + +class OnBehalfOfClientAuthenticationMethod(UnknownEnumMixin, StrEnum): + NO_CLIENT = "NO_CLIENT" + +@dataclass(kw_only=True) +class OnBehalfOfTokenExchangeConfigType(_SerdeShape): + """Configuration for on-behalf-of token exchange.""" + + grant_type: str + """The grant type for the on-behalf-of token exchange.""" + token_exchange_grant_type_config: TokenExchangeGrantTypeConfigType | None = ... + """Configuration specific to the TOKEN_EXCHANGE grant type (RFC 8693).""" + on_behalf_of_authentication_config: OnBehalfOfAuthenticationConfig | None = ... + """ + Specify the client authentication configuration to use for the + on-behalf-of token exchange. With this configuration, you override the + provider level client authentication method for the on-behalf-of + exchange with the identity provider. If you don't specify this + configuration, we use the provider level client authentication method. + """ + +class OnBehalfOfTokenExchangeGrantTypeType(UnknownEnumMixin, StrEnum): + TOKEN_EXCHANGE = "TOKEN_EXCHANGE" + """ + RFC 8693 token exchange, adopted by the majority of identity providers + supporting on-behalf-of flows. + """ + JWT_AUTHORIZATION_GRANT = "JWT_AUTHORIZATION_GRANT" + """RFC 7523 JWT authorization grant, adopted by Microsoft Entra ID.""" + +class OnlineEvaluationConfigStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + DELETING = "DELETING" + ERROR = "ERROR" + +@dataclass(kw_only=True) +class OnlineEvaluationConfigSummary(_SerdeShape): + """ + The summary information about an online evaluation configuration, + including basic metadata and execution status. + """ + + online_evaluation_config_arn: str + """The Amazon Resource Name (ARN) of the online evaluation configuration.""" + online_evaluation_config_id: str + """The unique identifier of the online evaluation configuration.""" + online_evaluation_config_name: str + """The name of the online evaluation configuration.""" + description: str | None = ... + """The description of the online evaluation configuration.""" + status: str + """The status of the online evaluation configuration.""" + execution_status: str + """ + The execution status indicating whether the online evaluation is + currently running. + """ + created_at: datetime + """The timestamp when the online evaluation configuration was created.""" + updated_at: datetime + """The timestamp when the online evaluation configuration was last updated.""" + failure_reason: str | None = ... + """ + The reason for failure if the online evaluation configuration execution + failed. + """ + insights: list[Insight] | None = ... + """The list of insight types configured for this evaluation.""" + clustering_config: ClusteringConfig | None = ... + """The clustering configuration for periodic batch evaluation.""" + +class OnlineEvaluationExecutionStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class OpenResponsesEvaluatorModelConfig(_SerdeShape): + """ + The configuration for using models served through the OpenResponses API + in evaluator assessments, including model selection and inference + parameters. + """ + + model_id: str + """The identifier of the model to use for evaluation.""" + max_output_tokens: int | None = ... + """ + The maximum number of tokens to generate in the model response, + including visible output and reasoning tokens. + """ + temperature: float | None = ... + """ + The temperature value that controls randomness in the model's + responses. Lower values produce more deterministic outputs. + """ + top_p: float | None = ... + """ + The top-p sampling parameter that controls the diversity of the model's + responses by limiting the cumulative probability of token choices. + """ + reasoning: ReasoningConfiguration | None = ... + """ + The reasoning configuration for reasoning models. Non-reasoning models + ignore this configuration. + """ + +class OperatingSystem(UnknownEnumMixin, StrEnum): + """ + The operating system and CPU architecture for capacity provider + instances. + """ + + LINUX_X86_64 = "LINUX_X86_64" + LINUX_ARM64 = "LINUX_ARM64" + +@dataclass(kw_only=True) +class OutputConfig(_SerdeShape): + """ + The configuration that specifies where evaluation results should be + written for monitoring and analysis. + """ + + cloud_watch_config: CloudWatchOutputConfig + """ + The CloudWatch configuration for writing evaluation results to + CloudWatch logs with embedded metric format. + """ + +class OverrideType(UnknownEnumMixin, StrEnum): + SEMANTIC_OVERRIDE = "SEMANTIC_OVERRIDE" + SUMMARY_OVERRIDE = "SUMMARY_OVERRIDE" + USER_PREFERENCE_OVERRIDE = "USER_PREFERENCE_OVERRIDE" + SELF_MANAGED = "SELF_MANAGED" + EPISODIC_OVERRIDE = "EPISODIC_OVERRIDE" + +class PassthroughProtocolType(UnknownEnumMixin, StrEnum): + MCP = "MCP" + A2_A = "A2A" + INFERENCE = "INFERENCE" + CUSTOM = "CUSTOM" + +@dataclass(kw_only=True) +class PassthroughTargetConfiguration(_SerdeShape): + """ + The configuration for an HTTP passthrough target. A passthrough target + forwards requests directly to an external HTTP endpoint. + """ + + endpoint: str + """ + The HTTPS endpoint that the gateway forwards requests to for this + passthrough target. + """ + protocol_type: str + """ + The application protocol that the passthrough target implements. This + value is required for passthrough targets: + + - `MCP` - The Model Context Protocol. + + - `A2A` - The Agent-to-Agent protocol. + + - `INFERENCE` - The protocol for routing requests to a large language + model (LLM) provider. + + - `CUSTOM` - A custom application protocol. + """ + schema: HttpApiSchemaConfiguration | None = ... + """ + The API schema configuration that defines the structure of the + passthrough target's API. + """ + stickiness_configuration: StickinessConfiguration | None = ... + """ + The session stickiness configuration for the passthrough target. This + configuration routes requests within the same session to the same + target. + """ + static_query_parameters: dict[str, str] | None = ... + """ + A map of static query parameters that the gateway always appends to the + outbound URL when forwarding requests to the target. The total outbound + URL length, which includes the endpoint and the percent-encoded query + parameters, is enforced by the service. + """ + static_query_parameter_conflict_resolution: str | None = ... + """ + Controls precedence when a client request supplies a query parameter + whose name matches a configured static query parameter. If not set, + defaults to `CLIENT_OVERRIDE`: + + - `CLIENT_OVERRIDE` - The client-supplied value overrides the configured + static value for that parameter name. + + - `STATIC_OVERRIDE` - The configured static value is retained, + overriding the client-supplied value for that parameter name. + """ + +class PaymentConnectorProvisionMode(UnknownEnumMixin, StrEnum): + MANUAL = "MANUAL" + QUICK_CREATE = "QUICK_CREATE" + +class PaymentConnectorStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + UPDATING = "UPDATING" + DELETING = "DELETING" + READY = "READY" + CREATE_FAILED = "CREATE_FAILED" + UPDATE_FAILED = "UPDATE_FAILED" + DELETE_FAILED = "DELETE_FAILED" + AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED = "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" + PENDING_AUTHENTICATION = "PENDING_AUTHENTICATION" + PROVISIONING = "PROVISIONING" + AUTHENTICATION_EXPIRED = "AUTHENTICATION_EXPIRED" + AUTHENTICATION_FAILED = "AUTHENTICATION_FAILED" + +@dataclass(kw_only=True) +class PaymentConnectorSummary(_SerdeShape): + """Contains summary information about a payment connector.""" + + payment_connector_id: str + """The unique identifier of the payment connector.""" + name: str + """The name of the payment connector.""" + type: str + """ + The type of the payment connector, which determines the payment provider + integration. + """ + provision_mode: str | None = ... + """ + Specifies how the payment connector was provisioned. Payment connectors + that were created before this field was available return `MANUAL`. + + - `MANUAL` - You provided the credential provider configurations, so you + own the credentials. + + - `QUICK_CREATE` - AgentCore provisioned the credential provider for + you, so the credentials are service-managed and you can rotate them + with `RotatePaymentConnectorCredentials`. + """ + status: str + """ + The current status of the payment connector. Possible values include + `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, + `UPDATE_FAILED`, and `DELETE_FAILED`. + """ + last_updated_at: datetime + """The timestamp when the payment connector was last updated.""" + +class PaymentConnectorType(UnknownEnumMixin, StrEnum): + COINBASE_CDP = "CoinbaseCDP" + STRIPE_PRIVY = "StripePrivy" + +@dataclass(kw_only=True) +class PaymentCredentialProviderConfiguration(_SerdeShape): + """ + Configuration for a payment credential provider that stores + authentication credentials for a payment provider. + """ + + credential_provider_arn: str + """ + The Amazon Resource Name (ARN) of the credential provider that stores + the authentication credentials for the payment provider. + """ + +@dataclass(kw_only=True) +class PaymentCredentialProviderItem(_SerdeShape): + """Contains summary information about a payment credential provider.""" + + name: str + """The name of the payment credential provider.""" + credential_provider_vendor: str + """The vendor type for the payment credential provider.""" + credential_provider_arn: str + """The Amazon Resource Name (ARN) of the payment credential provider.""" + created_time: datetime + """The timestamp when the payment credential provider was created.""" + last_updated_time: datetime + """The timestamp when the payment credential provider was last updated.""" + +class PaymentCredentialProviderVendorType(UnknownEnumMixin, StrEnum): + """ + Supported vendor types for payment providers using non-standard auth + protocols. + """ + + COINBASE_CDP = "CoinbaseCDP" + """Coinbase Developer Platform.""" + STRIPE_PRIVY = "StripePrivy" + """Stripe and Privy.""" + +class PaymentManagerStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + UPDATING = "UPDATING" + DELETING = "DELETING" + READY = "READY" + CREATE_FAILED = "CREATE_FAILED" + UPDATE_FAILED = "UPDATE_FAILED" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class PaymentManagerSummary(_SerdeShape): + """Contains summary information about a payment manager.""" + + payment_manager_arn: str + """The Amazon Resource Name (ARN) of the payment manager.""" + payment_manager_id: str + """The unique identifier of the payment manager.""" + name: str + """The name of the payment manager.""" + description: str | None = ... + """The description of the payment manager.""" + authorizer_type: str + """ + The type of authorizer used by the payment manager. + + - `CUSTOM_JWT` - Authorize with a bearer token. + + - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. + """ + role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role associated with the + payment manager. + """ + status: str + """ + The current status of the payment manager. Possible values include + `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, + `UPDATE_FAILED`, and `DELETE_FAILED`. + """ + created_at: datetime | None = ... + """The timestamp when the payment manager was created.""" + last_updated_at: datetime + """The timestamp when the payment manager was last updated.""" + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive + payment manager data at rest, if configured. + """ + +@dataclass +class PaymentProviderConfigurationInputCoinbaseCdpConfiguration(_SerdeShape): + """The Coinbase CDP configuration.""" + + value: CoinbaseCdpConfigurationInput + +@dataclass +class PaymentProviderConfigurationInputStripePrivyConfiguration(_SerdeShape): + """The Stripe Privy configuration.""" + + value: StripePrivyConfigurationInput + +@dataclass +class PaymentProviderConfigurationInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PaymentProviderConfigurationInput = Union[ + PaymentProviderConfigurationInputCoinbaseCdpConfiguration + | PaymentProviderConfigurationInputStripePrivyConfiguration + | PaymentProviderConfigurationInputUnknown +] +""" +Provider configuration input --- contains secrets for creation and +update. Varies by vendor type. +""" + +class _PaymentProviderConfigurationInputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> PaymentProviderConfigurationInput: ... + +@dataclass +class PaymentProviderConfigurationOutputCoinbaseCdpConfiguration(_SerdeShape): + """The Coinbase CDP configuration.""" + + value: CoinbaseCdpConfigurationOutput + +@dataclass +class PaymentProviderConfigurationOutputStripePrivyConfiguration(_SerdeShape): + """The Stripe Privy configuration.""" + + value: StripePrivyConfigurationOutput + +@dataclass +class PaymentProviderConfigurationOutputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PaymentProviderConfigurationOutput = Union[ + PaymentProviderConfigurationOutputCoinbaseCdpConfiguration + | PaymentProviderConfigurationOutputStripePrivyConfiguration + | PaymentProviderConfigurationOutputUnknown +] +""" +Provider configuration output --- no raw secrets, only ARNs. Varies by +vendor type. +""" + +class _PaymentProviderConfigurationOutputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> PaymentProviderConfigurationOutput: ... + +class PaymentsAuthorizerType(UnknownEnumMixin, StrEnum): + CUSTOM_JWT = "CUSTOM_JWT" + AWS_IAM = "AWS_IAM" + +class Period(UnknownEnumMixin, StrEnum): + """The time period for rate limiting.""" + + SECOND = "second" + MINUTE = "minute" + +@dataclass(kw_only=True) +class PermissionsConfiguration(_SerdeShape): + """ + The permissions configuration for a capacity provider. This specifies + the IAM role that AgentCore uses to manage the Amazon EC2 instances for + the capacity provider on your behalf. + """ + + capacity_provider_operator_role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role that AgentCore assumes to + manage the capacity provider, including launching, tagging, and + terminating instances and their network interfaces. We recommend scoping + this role to the minimum permissions that your workloads require. + """ + +@dataclass(kw_only=True) +class Policy(_SerdeShape): + """ + Represents a complete policy resource within the AgentCore Policy + system. Policies are ARN-able resources that contain Cedar or Dogwood + policy statements and associated metadata for controlling agent behavior + and access decisions. Each policy belongs to a policy engine and defines + fine-grained authorization rules that are evaluated in real-time as + agents interact with tools through Gateway. Policies use Cedar or + Dogwood to specify who (principals based on OAuth claims like username, + role, or scope) can perform what actions (tool calls) on which resources + (Gateways), with optional conditions for attribute-based access control. + Multiple policies can apply to a single request, with forbid-wins + semantics ensuring that security restrictions are never accidentally + overridden. + """ + + policy_id: str + """ + The unique identifier for the policy. This system-generated identifier + consists of the user name plus a 10-character generated suffix and + serves as the primary key for policy operations. + """ + name: str + """ + The customer-assigned immutable name for the policy. This human-readable + identifier must be unique within the account and cannot exceed 48 + characters. + """ + policy_engine_id: str + """ + The identifier of the policy engine that manages this policy. This + establishes the policy engine context for policy evaluation and + management. + """ + created_at: datetime + """ + The timestamp when the policy was originally created. This is + automatically set by the service and used for auditing and lifecycle + management. + """ + updated_at: datetime + """ + The timestamp when the policy was last modified. This tracks the most + recent changes to the policy configuration or metadata. + """ + policy_arn: str + """ + The Amazon Resource Name (ARN) of the policy. This globally unique + identifier can be used for cross-service references and IAM policy + statements. + """ + status: str + """The current status of the policy.""" + enforcement_mode: str = ... + """The current enforcement mode of the policy.""" + definition: PolicyDefinition + """ + The Cedar or Dogwood policy statement that defines the access control + rules. This contains the actual policy logic used for agent behavior + control and access decisions. + """ + description: str | None = ... + """ + A human-readable description of the policy's purpose and functionality. + Limited to 4,096 characters, this helps administrators understand and + manage the policy. + """ + status_reasons: list[str] + """ + Additional information about the policy status. This provides details + about any failures or the current state of the policy lifecycle. + """ + +@dataclass +class PolicyDefinitionCedar(_SerdeShape): + """ + The Cedar policy definition within the policy definition structure. This + contains the Cedar policy statement that defines the authorization logic + using Cedar's human-readable, analyzable policy language. Cedar + policies specify principals (who can access), actions (what operations + are allowed), resources (what can be accessed), and optional conditions + for fine-grained control. Cedar provides a formal policy language + designed for authorization with deterministic evaluation, making + policies testable, reviewable, and auditable. All Cedar policies follow + a default-deny model where actions are denied unless explicitly + permitted, and forbid policies always override permit policies. + """ + + value: CedarPolicy + +@dataclass +class PolicyDefinitionPolicyGeneration(_SerdeShape): + """ + The generated policy asset information within the policy definition + structure. This contains information identifying a generated policy + asset from the AI-powered policy generation process within the AgentCore + Policy system. Each asset contains a Dogwood policy statement generated + from natural language input, along with associated metadata and analysis + findings to help users evaluate and select the most appropriate policy + option. + """ + + value: PolicyGenerationDetails + +@dataclass +class PolicyDefinitionPolicy(_SerdeShape): + """ + The Dogwood policy statement that defines the access control rules. This + policy definition can include Dogwood policies and supports temporal + conditions and information providers such as guardrails. + """ + + value: PolicyStatement + +@dataclass +class PolicyDefinitionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PolicyDefinition = Union[ + PolicyDefinitionCedar + | PolicyDefinitionPolicyGeneration + | PolicyDefinitionPolicy + | PolicyDefinitionUnknown +] +""" +Represents the definition structure for policies within the AgentCore +Policy system. This structure encapsulates different policy formats and +languages that can be used to define access control rules. +""" + +class _PolicyDefinitionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PolicyDefinition: ... + +@dataclass(kw_only=True) +class PolicyEngine(_SerdeShape): + """ + Represents a policy engine resource within the AgentCore Policy system. + Policy engines serve as containers for grouping related policies and + provide the execution context for policy evaluation and management. Each + policy engine can be associated with one Gateway (one engine per + Gateway), where it intercepts all agent tool calls and evaluates them + against the contained policies before allowing tools to execute. The + policy engine maintains the Cedar schema generated from the Gateway's + tool manifest, ensuring that policies are validated against the actual + tools and parameters available. Policy engines support two enforcement + modes that can be configured when associating with a Gateway: log-only + mode for testing (evaluates decisions without blocking) and enforce mode + for production (actively allows or denies based on policy evaluation). + """ + + policy_engine_id: str + """ + The unique identifier for the policy engine. This system-generated + identifier consists of the user name plus a 10-character generated + suffix and serves as the primary key for policy engine operations. + """ + name: str + """ + The customer-assigned immutable name for the policy engine. This + human-readable identifier must be unique within the account and cannot + exceed 48 characters. + """ + created_at: datetime + """ + The timestamp when the policy engine was originally created. This is + automatically set by the service and used for auditing and lifecycle + management. + """ + updated_at: datetime + """ + The timestamp when the policy engine was last modified. This tracks the + most recent changes to the policy engine configuration or metadata. + """ + policy_engine_arn: str + """ + The Amazon Resource Name (ARN) of the policy engine. This globally + unique identifier can be used for cross-service references and IAM + policy statements. + """ + status: str + """The current status of the policy engine.""" + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy + engine data. + """ + description: str | None = ... + """ + A human-readable description of the policy engine's purpose and scope. + Limited to 4,096 characters, this helps administrators understand the + policy engine's role in the overall governance strategy. + """ + status_reasons: list[str] + """ + Additional information about the policy engine status. This provides + details about any failures or the current state of the policy engine + lifecycle. + """ + +class PolicyEngineStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + UPDATING = "UPDATING" + DELETING = "DELETING" + CREATE_FAILED = "CREATE_FAILED" + UPDATE_FAILED = "UPDATE_FAILED" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class PolicyEngineSummary(_SerdeShape): + """ + Represents a metadata-only summary of a policy engine resource. This + structure contains resource identifiers, status, and timestamps without + customer-encrypted fields such as description or status reasons. Policy + engine summaries are returned by operations that do not require access + to the customer's KMS key. + """ + + policy_engine_id: str + """The unique identifier for the policy engine.""" + name: str + """The customer-assigned name of the policy engine.""" + created_at: datetime + """The timestamp when the policy engine was originally created.""" + updated_at: datetime + """The timestamp when the policy engine was last modified.""" + policy_engine_arn: str + """The Amazon Resource Name (ARN) of the policy engine.""" + status: str + """The current status of the policy engine.""" + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy + engine data. + """ + +@dataclass(kw_only=True) +class PolicyGeneration(_SerdeShape): + """ + Represents a policy generation request within the AgentCore Policy + system. Tracks the AI-powered conversion of natural language + descriptions into Dogwood policy statements, enabling users to author + policies by describing authorization requirements in plain English. The + generation process analyzes the natural language input along with the + Gateway's tool context and Cedar schema to produce one or more + validated policy options. Each generation request tracks the status of + the conversion process and maintains findings about the generated + policies, including validation results and potential issues. Generated + policy assets remain available for one week after successful generation, + allowing time to review and create policies from the generated options. + """ + + policy_engine_id: str + """ + The identifier of the policy engine associated with this generation + request. + """ + policy_generation_id: str + """The unique identifier for this policy generation request.""" + name: str + """The customer-assigned name for this policy generation request.""" + policy_generation_arn: str + """The ARN of this policy generation request.""" + resource: Resource + """The resource information associated with this policy generation.""" + created_at: datetime + """The timestamp when this policy generation request was created.""" + updated_at: datetime + """The timestamp when this policy generation was last updated.""" + status: str + """The current status of this policy generation request.""" + findings: str | None = ... + """Findings and insights from this policy generation process.""" + status_reasons: list[str] + """Additional information about the generation status.""" + +@dataclass(kw_only=True) +class PolicyGenerationAsset(_SerdeShape): + """ + Represents a generated policy asset from the AI-powered policy + generation process within the AgentCore Policy system. Each asset + contains a Dogwood policy statement generated from natural language + input, along with associated metadata and analysis findings to help + users evaluate and select the most appropriate policy option. + """ + + policy_generation_asset_id: str + """ + The unique identifier for this generated policy asset within the policy + generation request. This ID can be used to reference specific generated + policy options when creating actual policies from the generation + results. + """ + definition: PolicyDefinition | None = ... + """ + Represents the definition structure for policies within the AgentCore + Policy system. This structure encapsulates different policy formats and + languages that can be used to define access control rules. + """ + raw_text_fragment: str + """ + The portion of the original natural language input that this generated + policy asset addresses. This helps users understand which part of their + policy description was translated into this specific Dogwood policy + statement, enabling better policy selection and refinement. When a + single natural language input describes multiple authorization + requirements, the generation process creates separate policy assets for + each requirement, with each asset's rawTextFragment showing which + requirement it addresses. Use this mapping to verify that all parts of + your natural language input were correctly translated into Dogwood + policies. + """ + findings: list[Finding] + """ + Analysis findings and insights related to this specific generated policy + asset. These findings may include validation results, potential issues, + or recommendations for improvement to help users evaluate the quality + and appropriateness of the generated policy. + """ + +@dataclass(kw_only=True) +class PolicyGenerationDetails(_SerdeShape): + """ + Represents the information identifying a generated policy asset from the + AI-powered policy generation process within the AgentCore Policy system. + Each asset contains a Dogwood policy statement generated from natural + language input, along with associated metadata and analysis findings to + help users evaluate and select the most appropriate policy option. + """ + + policy_generation_id: str + """The unique identifier for this policy generation request.""" + policy_generation_asset_id: str + """ + The unique identifier for this generated policy asset within the policy + generation request. + """ + +class PolicyGenerationStatus(UnknownEnumMixin, StrEnum): + GENERATING = "GENERATING" + GENERATED = "GENERATED" + GENERATE_FAILED = "GENERATE_FAILED" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class PolicyGenerationSummary(_SerdeShape): + """ + Represents a metadata-only summary of a policy generation resource. This + structure contains resource identifiers, status, timestamps, and + findings without customer-encrypted fields such as status reasons. + Policy generation summaries are returned by operations that do not + require access to the customer's KMS key. + """ + + policy_engine_id: str + """ + The identifier of the policy engine associated with this generation + request. + """ + policy_generation_id: str + """The unique identifier for this policy generation request.""" + name: str + """The customer-assigned name for this policy generation request.""" + policy_generation_arn: str + """The ARN of this policy generation request.""" + resource: Resource + """The resource information associated with this policy generation.""" + created_at: datetime + """The timestamp when this policy generation request was created.""" + updated_at: datetime + """The timestamp when this policy generation was last updated.""" + status: str + """The current status of this policy generation request.""" + findings: str | None = ... + """Findings and insights from this policy generation process.""" + +@dataclass(kw_only=True) +class PolicyStatement(_SerdeShape): + """ + An AgentCore Cedar or Dogwood policy statement, which supports plain + Cedar policies, temporal policies, and guardrails definitions. + """ + + statement: str + """ + The body of the AgentCore Cedar or Dogwood policy statement. Contains + the policy logic, which can be a Cedar policy, a temporal policy, or a + guardrails definition. + """ + +class PolicyStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + UPDATING = "UPDATING" + DELETING = "DELETING" + CREATE_FAILED = "CREATE_FAILED" + UPDATE_FAILED = "UPDATE_FAILED" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class PolicySummary(_SerdeShape): + """ + Represents a metadata-only summary of a policy resource. This structure + contains resource identifiers, status, and timestamps without + customer-encrypted fields such as definition, description, or status + reasons. Policy summaries are returned by operations that do not require + access to the customer's KMS key. + """ + + policy_id: str + """The unique identifier for the policy.""" + name: str + """The customer-assigned name of the policy.""" + policy_engine_id: str + """The identifier of the policy engine that manages this policy.""" + created_at: datetime + """The timestamp when the policy was originally created.""" + updated_at: datetime + """The timestamp when the policy was last modified.""" + policy_arn: str + """The Amazon Resource Name (ARN) of the policy.""" + status: str + """The current status of the policy.""" + enforcement_mode: str = ... + """The current enforcement mode of the policy.""" + +class PolicyValidationMode(UnknownEnumMixin, StrEnum): + FAIL_ON_ANY_FINDINGS = "FAIL_ON_ANY_FINDINGS" + IGNORE_ALL_FINDINGS = "IGNORE_ALL_FINDINGS" + +@dataclass(kw_only=True) +class PortRange(_SerdeShape): + """ + An inclusive range of ports. The value of `from` must be less than or + equal to the value of `to`. + """ + + from_: int + """The first port in the inclusive range.""" + to: int + """The last port in the inclusive range.""" + +class PrincipalMatchOperator(UnknownEnumMixin, StrEnum): + STRING_EQUALS = "StringEquals" + STRING_LIKE = "StringLike" + +@dataclass +class PrivateEndpointSelfManagedLatticeResource(_SerdeShape): + """ + Configuration for connecting to a private resource using a self-managed + VPC Lattice resource configuration. + """ + + value: SelfManagedLatticeResource + +@dataclass +class PrivateEndpointManagedVpcResource(_SerdeShape): + """ + Configuration for connecting to a private resource using a managed VPC + Lattice resource. The gateway creates and manages the VPC Lattice + resources on your behalf. + """ + + value: ManagedVpcResource + +@dataclass +class PrivateEndpointUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PrivateEndpoint = Union[ + PrivateEndpointSelfManagedLatticeResource + | PrivateEndpointManagedVpcResource + | PrivateEndpointUnknown +] +""" +The private endpoint configuration for a gateway target. Defines how the +gateway connects to private resources in your VPC. +""" + +class _PrivateEndpointDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PrivateEndpoint: ... + +@dataclass(kw_only=True) +class PrivateEndpointOverride(_SerdeShape): + """ + A mapping of a specific domain to a private endpoint for secure + connectivity through a VPC Lattice resource configuration. + """ + + domain: str + """The domain to override with a private endpoint.""" + private_endpoint: PrivateEndpoint + """The private endpoint configuration for the specified domain.""" + +@dataclass(kw_only=True) +class PrivateKeyJwtConfig(_SerdeShape): + """The private key configuration for private_key_jwt client authentication.""" + + private_key_source: PrivateKeySource | None = ... + """The private key source for the JWT client assertion.""" + signing_algorithm: str | None = ... + """ + The algorithm used to sign the JWT client assertion. Valid values are + `RS256`, `PS256`, and `ES256`. + """ + additional_header_claims: dict[str, str] | None = ... + """ + A map of additional claims to include in the JWT client assertion + header. Standard header claims such as `alg` and `typ` cannot be added. + """ + additional_payload_claims: dict[str, str] | None = ... + """ + A map of additional claims to include in the JWT client assertion + payload. Payload claims generated by the service, such as `iss`, `sub`, + `jti`, and `exp`, cannot be added. + """ + +@dataclass +class PrivateKeySourceKmsKeySource(_SerdeShape): + """The KMS key source for the JWT client assertion.""" + + value: KmsKeySourceType + +@dataclass +class PrivateKeySourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PrivateKeySource = Union[PrivateKeySourceKmsKeySource | PrivateKeySourceUnknown] +""" +Contains the private key source configuration for a JWT client +assertion. +""" + +class _PrivateKeySourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PrivateKeySource: ... + +@dataclass(kw_only=True) +class ProtocolConfiguration(_SerdeShape): + """ + The protocol configuration for an agent runtime. This structure defines + how the agent runtime communicates with clients. + """ + + server_protocol: str + """ + The server protocol for the agent runtime. This field specifies which + protocol the agent runtime uses to communicate with clients. + """ + port: int | None = ... + """ + The port on which the agent server listens. The port must be between + `8000` and `12000`, excluding the reserved port `8443`. When this field + is omitted, the default is `8080` for `HTTP` and `AGUI`, `8000` for + `MCP`, and `9000` for `A2A`. + """ + path: str | None = ... + """ + The path on which the agent server accepts requests. The path must begin + with `/`. When this field is omitted, the default is `/invocations` for + `HTTP` and `AGUI`, `/mcp` for `MCP`, and `/` for `A2A`. + """ + +class Provider(UnknownEnumMixin, StrEnum): + AWS = "AWS" + DEEP_EVAL = "DeepEval" + AUTO_EVAL = "AutoEval" + CUSTOM = "Custom" + +@dataclass(kw_only=True) +class ProviderPrefix(_SerdeShape): + """ + The configuration that controls how a provider prefix is applied to + model IDs during translation. + """ + + strip: bool = ... + """ + Whether clients can omit the provider prefix from model IDs. If `true`, + the gateway accepts model IDs without the prefix and restores the full + prefixed form before forwarding to the provider. The default is `false`. + """ + separator: str = ... + """ + The single character that separates the provider prefix from the model + name (for example, `.`). The default is `.`. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyInput(_SerdeShape): + """Dataclass for PutResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource for which to create or + update the resource policy. + """ + policy: str | None = ... + """The resource policy to create or update.""" + +@dataclass(kw_only=True) +class PutResourcePolicyOutput(_SerdeShape): + """Dataclass for PutResourcePolicyOutput structure.""" + + policy: str + """The resource policy that was created or updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RateConfig(_SerdeShape): + """ + Contains the rate configuration for a rate limit metric, specifying the + allowed rate and time period. + """ + + rate: float + """ + The rate value for the limit. For request limits, this is the number of + requests allowed per period. For token limits, this is the number of + tokens allowed per period. For connection limits, this is the number of + concurrent connections allowed. + """ + period: str + """ + The time period for the rate limit. Valid values: + + - `second`---Measures the rate limit over a one-second window. + + - `minute`---Measures the rate limit over a one-minute window. + """ + +@dataclass +class RatingScaleNumerical(_SerdeShape): + """ + The numerical rating scale with defined score values and descriptions + for quantitative evaluation. + """ + + value: list[NumericalScaleDefinition] + +@dataclass +class RatingScaleCategorical(_SerdeShape): + """ + The categorical rating scale with named categories and definitions for + qualitative evaluation. + """ + + value: list[CategoricalScaleDefinition] + +@dataclass +class RatingScaleMultiDimensional(_SerdeShape): + """ + A list of dimensions that lets an LLM-as-a-judge evaluator score several + dimensions of the same target in a single evaluation. Each dimension has + its own instruction and rating scale, and produces its own result. + """ + + value: list[EvaluationDimension] + +@dataclass +class RatingScaleUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RatingScale = Union[ + RatingScaleNumerical + | RatingScaleCategorical + | RatingScaleMultiDimensional + | RatingScaleUnknown +] +""" +The rating scale that defines how evaluators should score agent +performance, supporting both numerical and categorical scales. +""" + +class _RatingScaleDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RatingScale: ... + +@dataclass(kw_only=True) +class ReasoningConfiguration(_SerdeShape): + """ + The reasoning configuration that controls how a reasoning model + allocates effort during evaluation. + """ + + effort: str | None = ... + """ + The level of reasoning effort the model applies when generating a + response. For supported values, see the model provider's documentation. + """ + +class RecordExpiryAction(UnknownEnumMixin, StrEnum): + """ + The action to apply to a strategy's record expiry (long-term memory + time-to-live) configuration. `REMOVE` removes a previously configured + time-to-live; newer records no longer have a time-to-live set and do not + expire. + """ + + REMOVE = "REMOVE" + +@dataclass +class RecordExpirySpecificationRecordExpiryDurationDays(_SerdeShape): + """ + The duration, in days, after which memory records generated by this + strategy expire. The minimum is 31 days. + """ + + value: int + +@dataclass +class RecordExpirySpecificationAction(_SerdeShape): + """ + The action to apply to the existing record expiry (long-term memory + time-to-live) configuration. Set to `REMOVE` to remove a previously + configured time-to-live so that newer records no longer expire. This + value is not applicable on create paths. + """ + + value: str + +@dataclass +class RecordExpirySpecificationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RecordExpirySpecification = Union[ + RecordExpirySpecificationRecordExpiryDurationDays + | RecordExpirySpecificationAction + | RecordExpirySpecificationUnknown +] +""" +Specifies the record expiry (long-term memory time-to-live) for a memory +strategy. Provide exactly one of `recordExpiryDurationDays` or `action`. +Set `recordExpiryDurationDays` to configure or update the time-to-live, +or set `action` to `REMOVE` to remove a previously configured +time-to-live. +""" + +class _RecordExpirySpecificationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RecordExpirySpecification: ... + +@dataclass(kw_only=True) +class RecordingConfig(_SerdeShape): + """ + The recording configuration for a browser. This structure defines how + browser sessions are recorded. + """ + + enabled: bool = ... + """ + Indicates whether recording is enabled for the browser. When set to + true, browser sessions are recorded. + """ + s3_location: S3Location | None = ... + """ + The Amazon S3 location where browser recordings are stored. This + location contains the recorded browser sessions. + """ + +@dataclass +class ReflectionConfigurationCustomReflectionConfiguration(_SerdeShape): + """The configuration for a custom reflection strategy.""" + + value: CustomReflectionConfiguration + +@dataclass +class ReflectionConfigurationEpisodicReflectionConfiguration(_SerdeShape): + """The configuration for the episodic reflection strategy.""" + + value: EpisodicReflectionConfiguration + +@dataclass +class ReflectionConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ReflectionConfiguration = Union[ + ReflectionConfigurationCustomReflectionConfiguration + | ReflectionConfigurationEpisodicReflectionConfiguration + | ReflectionConfigurationUnknown +] +"""Contains reflection configuration information for a memory strategy.""" + +class _ReflectionConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ReflectionConfiguration: ... + +class RegistryAuthorizerType(UnknownEnumMixin, StrEnum): + CUSTOM_JWT = "CUSTOM_JWT" + AWS_IAM = "AWS_IAM" + +@dataclass(kw_only=True) +class RegistryRecordCredentialProviderConfiguration(_SerdeShape): + """ + A pairing of a credential provider type with its corresponding provider + details for authenticating with external sources. + """ + + credential_provider_type: str + """ + The type of credential provider. + + - `OAUTH` - OAuth-based authentication. + + - `IAM` - Amazon Web Services IAM-based authentication using SigV4 + signing. + """ + credential_provider: RegistryRecordCredentialProviderUnion + """ + The credential provider configuration details. The structure depends on + the `credentialProviderType`. + """ + +class RegistryRecordCredentialProviderType(UnknownEnumMixin, StrEnum): + OAUTH = "OAUTH" + IAM = "IAM" + +@dataclass +class RegistryRecordCredentialProviderUnionOauthCredentialProvider(_SerdeShape): + """ + The OAuth credential provider configuration for authenticating with the + external source. + """ + + value: RegistryRecordOAuthCredentialProvider + +@dataclass +class RegistryRecordCredentialProviderUnionIamCredentialProvider(_SerdeShape): + """ + The IAM credential provider configuration for authenticating with the + external source using SigV4 signing. + """ + + value: RegistryRecordIamCredentialProvider + +@dataclass +class RegistryRecordCredentialProviderUnionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RegistryRecordCredentialProviderUnion = Union[ + RegistryRecordCredentialProviderUnionOauthCredentialProvider + | RegistryRecordCredentialProviderUnionIamCredentialProvider + | RegistryRecordCredentialProviderUnionUnknown +] +""" +Union of supported credential provider types for registry record +synchronization. +""" + +class _RegistryRecordCredentialProviderUnionDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RegistryRecordCredentialProviderUnion: ... + +@dataclass(kw_only=True) +class RegistryRecordIamCredentialProvider(_SerdeShape): + """ + IAM credential provider configuration for authenticating with an + external source using SigV4 signing during synchronization. + """ + + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role to assume for SigV4 + signing. + """ + service: str | None = ... + """ + The SigV4 signing service name (for example, `execute-api` or + `bedrock-agentcore`). + """ + region: str | None = ... + """ + The Amazon Web Services region for SigV4 signing (for example, + `us-west-2`). If not specified, the region is extracted from the MCP + server URL hostname, with fallback to the service's own region. + """ + +@dataclass(kw_only=True) +class RegistryRecordOAuthCredentialProvider(_SerdeShape): + """ + OAuth credential provider configuration for authenticating with an + external source during synchronization. + """ + + provider_arn: str + """ + The Amazon Resource Name (ARN) of the OAuth credential provider + resource. + """ + grant_type: str | None = ... + """The OAuth grant type. Currently only `CLIENT_CREDENTIALS` is supported.""" + scopes: list[str] | None = ... + """The OAuth scopes to request during authentication.""" + custom_parameters: dict[str, str] | None = ... + """Additional custom parameters for the OAuth flow.""" + +class RegistryRecordOAuthGrantType(UnknownEnumMixin, StrEnum): + CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS" + +class RegistryRecordStatus(UnknownEnumMixin, StrEnum): + DRAFT = "DRAFT" + PENDING_APPROVAL = "PENDING_APPROVAL" + APPROVED = "APPROVED" + REJECTED = "REJECTED" + DEPRECATED = "DEPRECATED" + CREATING = "CREATING" + UPDATING = "UPDATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATE_FAILED = "UPDATE_FAILED" + +@dataclass(kw_only=True) +class RegistryRecordSummary(_SerdeShape): + """Contains summary information about a registry record.""" + + registry_arn: str + """The Amazon Resource Name (ARN) of the registry that contains the record.""" + record_arn: str + """The Amazon Resource Name (ARN) of the registry record.""" + record_id: str + """The unique identifier of the registry record.""" + name: str + """The name of the registry record.""" + description: str | None = ... + """The description of the registry record.""" + descriptor_type: str + """ + The descriptor type of the registry record. Possible values are `MCP`, + `A2A`, `CUSTOM`, and `AGENT_SKILLS`. + """ + record_version: str + """The version of the registry record.""" + status: str + """ + The current status of the registry record. Possible values include + `CREATING`, `DRAFT`, `APPROVED`, `PENDING_APPROVAL`, `REJECTED`, + `DEPRECATED`, `UPDATING`, `CREATE_FAILED`, and `UPDATE_FAILED`. + """ + created_at: datetime + """The timestamp when the registry record was created.""" + updated_at: datetime + """The timestamp when the registry record was last updated.""" + +class RegistryStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + READY = "READY" + UPDATING = "UPDATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATE_FAILED = "UPDATE_FAILED" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class RegistrySummary(_SerdeShape): + """Contains summary information about a registry.""" + + name: str + """The name of the registry.""" + description: str | None = ... + """The description of the registry.""" + registry_id: str + """The unique identifier of the registry.""" + registry_arn: str + """The Amazon Resource Name (ARN) of the registry.""" + authorizer_type: str | None = ... + """ + The type of authorizer used by the registry. This controls the + authorization method for the Search and Invoke APIs used by consumers. + + - `CUSTOM_JWT` - Authorize with a bearer token. + + - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. + """ + status: str + """ + The current status of the registry. Possible values include `CREATING`, + `READY`, `UPDATING`, `CREATE_FAILED`, `UPDATE_FAILED`, `DELETING`, and + `DELETE_FAILED`. + """ + status_reason: str | None = ... + """ + The reason for the current status, typically set when the status is a + failure state. + """ + created_at: datetime + """The timestamp when the registry was created.""" + updated_at: datetime + """The timestamp when the registry was last updated.""" + +@dataclass +class RequestHeaderConfigurationRequestHeaderAllowlist(_SerdeShape): + """ + A list of HTTP request headers that are allowed to be passed through to + the runtime. + """ + + value: list[str] + +@dataclass +class RequestHeaderConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RequestHeaderConfiguration = Union[ + RequestHeaderConfigurationRequestHeaderAllowlist | RequestHeaderConfigurationUnknown +] +""" +Configuration for HTTP request headers that will be passed through to +the runtime. +""" + +class _RequestHeaderConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RequestHeaderConfiguration: ... + +@dataclass(kw_only=True) +class ResetTokenVaultKeyMaterialInput(_SerdeShape): + """Dataclass for ResetTokenVaultKeyMaterialInput structure.""" + + token_vault_id: str | None = ... + """ + The unique identifier of the token vault to reset. To reset your + account's default token vault, specify `default`. + """ + +@dataclass(kw_only=True) +class ResetTokenVaultKeyMaterialOutput(_SerdeShape): + """Dataclass for ResetTokenVaultKeyMaterialOutput structure.""" + + token_vault_id: str + """The ID of the token vault.""" + kms_configuration: KmsConfiguration + """ + The KMS configuration for the token vault after the reset. The token + vault uses an Amazon Web Services managed key. + """ + last_modified_date: datetime + """The timestamp when the token vault was last modified.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ResourceArn(_SerdeShape): + """ + The Amazon Resource Name (ARN) of the resource. This globally unique + identifier specifies the exact resource that policies will be evaluated + against for access control decisions. + """ + + value: str + +@dataclass +class ResourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Resource = Union[ResourceArn | ResourceUnknown] +""" +Represents a resource within the AgentCore Policy system. Resources are +the targets of policy evaluation. Currently, only AgentCore Gateways are +supported as resources for policy enforcement. +""" + +class _ResourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Resource: ... + +@dataclass(kw_only=True) +class ResourceConfiguration(_SerdeShape): + """The resource configuration for an AgentCore Runtime.""" + + minimum_memory_in_mi_b: int + """ + The minimum amount of memory, in mebibytes, to allocate to the AgentCore + Runtime. + """ + +@dataclass(kw_only=True) +class ResourceLimitExceededException(ServiceError, _SerdeShape): + """Exception thrown when a resource limit is exceeded.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ResourceLocationS3(_SerdeShape): + """ + The Amazon S3 location for storing data. This structure defines where in + Amazon S3 data is stored. + """ + + value: S3Location + +@dataclass +class ResourceLocationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ResourceLocation = Union[ResourceLocationS3 | ResourceLocationUnknown] +"""The location of a resource.""" + +class _ResourceLocationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ResourceLocation: ... + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """ + This exception is thrown when a resource referenced by the operation + does not exist + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ResourceType(UnknownEnumMixin, StrEnum): + SYSTEM = "SYSTEM" + CUSTOM = "CUSTOM" + +class RestApiMethod(UnknownEnumMixin, StrEnum): + GET = "GET" + DELETE = "DELETE" + HEAD = "HEAD" + OPTIONS = "OPTIONS" + PATCH = "PATCH" + PUT = "PUT" + POST = "POST" + +class ResultDestination(UnknownEnumMixin, StrEnum): + """ + Where evaluation results are written: dedicated results log group + (default) or the source log group. + """ + + DEDICATED_LOG_GROUP = "DEDICATED_LOG_GROUP" + SOURCE_LOG_GROUP = "SOURCE_LOG_GROUP" + +@dataclass(kw_only=True) +class RetryableConflictException(ServiceError, _SerdeShape): + """ + The operation failed because of a conflicting request. Retry the + request. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RootVolumeConfiguration(_SerdeShape): + """ + The configuration for the root volume of a capacity provider instance. + Specify the amount of free space to guarantee on the root volume. The + device name and delete-on-termination settings are fixed and cannot be + changed. + """ + + volume_type: str = ... + """ + The Amazon EBS volume type. If you do not specify a type, the default is + `gp3`. + """ + iops: int | None = ... + """ + The number of IOPS to provision. For `gp3`, `io1`, and `io2` volumes, + this is the number of IOPS provisioned for the volume. For `gp2` + volumes, this sets the baseline IOPS performance. It also controls the + rate at which the volume accumulates I/O credits for bursting. Supported + values: `gp3`, 3,000--80,000; `io1`, 100--64,000; `io2`, 100--256,000. + """ + throughput: int | None = ... + """ + The throughput to provision, in MiB/s. Valid only for `gp3` volumes. + Valid range: 125--2,000 MiB/s. + """ + encrypted: bool | None = ... + """ + Specifies whether to encrypt the volume. Encrypted volumes can be + attached only to instances that support Amazon EBS encryption. If you + create a volume from a snapshot, you cannot specify an encryption value. + """ + kms_key_id: str | None = ... + """ + The identifier (key ID, key alias, key ARN, or alias ARN) of the + customer managed KMS key to use for Amazon EBS encryption. + """ + free_space_gi_b: int | None = ... + """ + The free space guaranteed on the root volume, in GiB. AgentCore adds the + operating system overhead on top of this value. The default is 8 GiB. + """ + +@dataclass(kw_only=True) +class RotatePaymentConnectorCredentialsInput(_SerdeShape): + """Dataclass for RotatePaymentConnectorCredentialsInput structure.""" + + payment_manager_id: str | None = ... + """The unique identifier of the parent payment manager.""" + payment_connector_id: str | None = ... + """ + The unique identifier of the payment connector whose credentials you + want to rotate. + """ + credentials_to_rotate: CredentialRotationConfig | None = ... + """ + The credentials to rotate. Specify the member that matches the payment + connector's `type`. Each credential that you select is rotated + independently. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class RotatePaymentConnectorCredentialsOutput(_SerdeShape): + """Dataclass for RotatePaymentConnectorCredentialsOutput structure.""" + + payment_connector_id: str + """The unique identifier of the payment connector.""" + payment_manager_id: str + """The unique identifier of the parent payment manager.""" + last_updated_at: datetime + """ + The timestamp when the payment connector was last updated, which is when + the rotation completed. + """ + status: str + """ + The current status of the payment connector, which is `READY` after a + successful rotation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class RouteToTargetActionStaticRoute(_SerdeShape): + """A static route that sends all matching requests to a single target.""" + + value: StaticRoute + +@dataclass +class RouteToTargetActionWeightedRoute(_SerdeShape): + """A weighted route that splits traffic between multiple targets.""" + + value: WeightedRoute + +@dataclass +class RouteToTargetActionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RouteToTargetAction = Union[ + RouteToTargetActionStaticRoute + | RouteToTargetActionWeightedRoute + | RouteToTargetActionUnknown +] +""" +An action that routes requests to a gateway target, either statically or +with weighted traffic splitting. +""" + +class _RouteToTargetActionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RouteToTargetAction: ... + +@dataclass(kw_only=True) +class Rule(_SerdeShape): + """ + The evaluation rule that defines sampling configuration, filtering + criteria, and session detection settings for online evaluation. + """ + + sampling_config: SamplingConfig + """ + The sampling configuration that determines what percentage of agent + traces to evaluate. + """ + filters: list[Filter] | None = ... + """ + The list of filters that determine which agent traces should be included + in the evaluation based on trace properties. + """ + session_config: SessionConfig | None = ... + """ + The session configuration that defines timeout settings for detecting + when agent sessions are complete and ready for evaluation. + """ + +@dataclass(kw_only=True) +class RuntimeHooksConfiguration(_SerdeShape): + """ + The lifecycle hooks that AgentCore Runtime runs at fixed points in the + runtime's lifecycle. + """ + + build: BuildLifecycleHooks | None = ... + """ + The hooks that run when you create or update the AgentCore Runtime, + before any sessions are created. + """ + +@dataclass(kw_only=True) +class RuntimeMetadataConfiguration(_SerdeShape): + """Configuration for microVM metadata service settings.""" + + require_mmdsv2: bool + """ + Enables MMDSv2 (microVM Metadata Service Version 2) requirement for the + agent runtime. When set to `true`, the runtime microVM will only accept + MMDSv2 requests. + """ + +@dataclass(kw_only=True) +class RuntimeTargetConfiguration(_SerdeShape): + """ + Configuration for an AgentCore Runtime target. Specifies the agent + runtime to route requests to via HTTP. + """ + + arn: str + """ + The Amazon Resource Name (ARN) of the AgentCore Runtime to route + requests to. + """ + qualifier: str | None = ... + """ + The qualifier for the agent runtime, used to target a specific endpoint + version. If not specified, the default endpoint is used. + """ + schema: HttpApiSchemaConfiguration | None = ... + """ + The API schema configuration that defines the structure of the runtime + target's API. + """ + +@dataclass(kw_only=True) +class S3CertificateConfiguration(_SerdeShape): + """ + A reference to a PEM-encoded private CA certificate stored as an Amazon + S3 object. + """ + + uri: str + """ + The URI of the Amazon S3 object that contains the PEM-encoded + certificate. + """ + bucket_owner_account_id: str | None = ... + """ + The account ID of the Amazon S3 bucket owner. This ID is used for + cross-account access to the bucket. + """ + +@dataclass(kw_only=True) +class S3Configuration(_SerdeShape): + """ + The Amazon S3 configuration for a gateway. This structure defines how + the gateway accesses files in Amazon S3. + """ + + uri: str | None = ... + """ + The URI of the Amazon S3 object. This URI specifies the location of the + object in Amazon S3. + """ + bucket_owner_account_id: str | None = ... + """ + The account ID of the Amazon S3 bucket owner. This ID is used for + cross-account access to the bucket. + """ + +@dataclass(kw_only=True) +class S3FilesAccessPointConfiguration(_SerdeShape): + """ + Configuration for an Amazon S3 Files access point filesystem mounted + into the AgentCore Runtime. S3 Files access points provide shared file + storage accessible from your AgentCore Runtime sessions. + """ + + access_point_arn: str + """ + The ARN of the S3 Files access point to mount into the AgentCore + Runtime. + """ + mount_path: str + """ + The mount path for the S3 Files access point inside the AgentCore + Runtime. The path must be under `/mnt` with exactly one subdirectory + level (for example, `/mnt/data`). + """ + +@dataclass(kw_only=True) +class S3FilesConfiguration(_SerdeShape): + """ + The configuration for mounting an Amazon Simple Storage Service (Amazon + S3) Files access point that you own into a session. + """ + + access_point_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Simple Storage Service + (Amazon S3) Files access point to mount. + """ + mount_path: str + """ + The absolute path within the session at which the access point is + mounted, for example `/mnt/s3data`. Each mount path must be unique + across all file system configurations in the session. + """ + file_system_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Simple Storage Service + (Amazon S3) Files file system that owns the access point. + """ + +@dataclass(kw_only=True) +class S3Location(_SerdeShape): + """ + The Amazon S3 location for storing data. This structure defines where in + Amazon S3 data is stored. + """ + + bucket: str + """The name of the Amazon S3 bucket. This bucket contains the stored data.""" + prefix: str + """ + The prefix for objects in the Amazon S3 bucket. This prefix is added to + the object keys to organize the data. + """ + version_id: str | None = ... + """ + The version ID of the Amazon Amazon S3 object. If not specified, the + latest version of the object is used. + """ + +@dataclass(kw_only=True) +class S3Source(_SerdeShape): + """Amazon S3 location of a JSONL file containing dataset examples.""" + + s3_uri: str + """ + Amazon S3 URI of the JSONL file (for example, + `s3://my-bucket/path/to/examples.jsonl`). + """ + +@dataclass(kw_only=True) +class SalesforceOauth2ProviderConfigInput(_SerdeShape): + """Input configuration for a Salesforce OAuth2 provider.""" + + client_id: str + """The client ID for the Salesforce OAuth2 provider.""" + client_secret: str = ... + """The client secret for the Salesforce OAuth2 provider.""" + client_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the client secret. This includes the secret ID and the JSON key + used to extract the client secret value from the secret. Required when + `clientSecretSource` is set to `EXTERNAL`. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + +@dataclass(kw_only=True) +class SalesforceOauth2ProviderConfigOutput(_SerdeShape): + """Output configuration for a Salesforce OAuth2 provider.""" + + oauth_discovery: Oauth2Discovery + """The OAuth2 discovery information for the Salesforce provider.""" + client_id: str | None = ... + """The client ID for the Salesforce OAuth2 provider.""" + +@dataclass(kw_only=True) +class SamplingConfig(_SerdeShape): + """ + The configuration that controls what percentage of agent traces are + sampled for evaluation to manage evaluation volume and costs. + """ + + sampling_percentage: float + """ + The percentage of agent traces to sample for evaluation, ranging from + 0.01% to 100%. + """ + +@dataclass(kw_only=True) +class SchemaDefinition(_SerdeShape): + """ + A schema definition for a gateway target. This structure defines the + structure of the API that the target exposes. + """ + + type: str + """ + The type of the schema definition. This field specifies the data type of + the schema. + """ + properties: dict[str, SchemaDefinition] | None = ... + """ + The properties of the schema definition. These properties define the + fields in the schema. + """ + required: list[str] | None = ... + """ + The required fields in the schema definition. These fields must be + provided when using the schema. + """ + items: SchemaDefinition | None = ... + """ + The items in the schema definition. This field is used for array types + to define the structure of the array elements. + """ + description: str | None = ... + """ + The description of the schema definition. This description provides + information about the purpose and usage of the schema. + """ + +class SchemaType(UnknownEnumMixin, StrEnum): + STRING = "string" + NUMBER = "number" + OBJECT = "object" + ARRAY = "array" + BOOLEAN = "boolean" + INTEGER = "integer" + +class SearchType(UnknownEnumMixin, StrEnum): + SEMANTIC = "SEMANTIC" + +@dataclass(kw_only=True) +class Secret(_SerdeShape): + """ + Contains information about a secret in Amazon Web Services Secrets + Manager. + """ + + secret_arn: str + """ + The Amazon Resource Name (ARN) of the secret in Amazon Web Services + Secrets Manager. + """ + +@dataclass(kw_only=True) +class SecretReference(_SerdeShape): + """ + Contains a reference to a secret stored in Amazon Web Services Secrets + Manager. + """ + + secret_id: str + """ + The ID of the Amazon Web Services Secrets Manager secret that stores the + secret value. + """ + json_key: str + """ + The JSON key used to extract the secret value from the Amazon Web + Services Secrets Manager secret. + """ + +@dataclass(kw_only=True) +class SecretsManagerCertificateConfiguration(_SerdeShape): + """ + A reference to a PEM-encoded private CA certificate stored in an Amazon + Web Services Secrets Manager secret. + """ + + secret_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Web Services Secrets + Manager secret that contains the PEM-encoded certificate. + """ + +@dataclass(kw_only=True) +class SecretsManagerLocation(_SerdeShape): + """The Amazon Web Services Secrets Manager location configuration.""" + + secret_arn: str + """ + The ARN of the Amazon Web Services Secrets Manager secret containing the + certificate. + """ + +class SecretSourceType(UnknownEnumMixin, StrEnum): + MANAGED = "MANAGED" + EXTERNAL = "EXTERNAL" + +@dataclass(kw_only=True) +class SelfManagedConfiguration(_SerdeShape): + """A configuration for a self-managed memory strategy.""" + + trigger_conditions: list[TriggerCondition] + """A list of conditions that trigger memory processing.""" + invocation_configuration: InvocationConfiguration + """The configuration to use when invoking memory processing.""" + historical_context_window_size: int + """The number of historical messages to include in processing context.""" + +@dataclass(kw_only=True) +class SelfManagedConfigurationInput(_SerdeShape): + """Input configuration for a self-managed memory strategy.""" + + trigger_conditions: list[TriggerConditionInput] | None = ... + """A list of conditions that trigger memory processing.""" + invocation_configuration: InvocationConfigurationInput + """Configuration to invoke a self-managed memory processing pipeline with.""" + historical_context_window_size: int = ... + """Number of historical messages to include in processing context.""" + +@dataclass +class SelfManagedLatticeResourceResourceConfigurationIdentifier(_SerdeShape): + """The ARN or ID of the VPC Lattice resource configuration.""" + + value: str + +@dataclass +class SelfManagedLatticeResourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +SelfManagedLatticeResource = Union[ + SelfManagedLatticeResourceResourceConfigurationIdentifier + | SelfManagedLatticeResourceUnknown +] +""" +Configuration for a self-managed VPC Lattice resource. You create and +manage the VPC Lattice resource gateway and resource configuration, then +provide the resource configuration identifier. +""" + +class _SelfManagedLatticeResourceDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> SelfManagedLatticeResource: ... + +@dataclass(kw_only=True) +class SemanticConsolidationOverride(_SerdeShape): + """Contains semantic consolidation override configuration.""" + + append_to_prompt: str + """The text to append to the prompt for semantic consolidation.""" + model_id: str + """The model ID to use for semantic consolidation.""" + +@dataclass(kw_only=True) +class SemanticExtractionOverride(_SerdeShape): + """Contains semantic extraction override configuration.""" + + append_to_prompt: str + """The text to append to the prompt for semantic extraction.""" + model_id: str + """The model ID to use for semantic extraction.""" + +@dataclass(kw_only=True) +class SemanticMemoryStrategyInput(_SerdeShape): + """Input for creating a semantic memory strategy.""" + + name: str + """The name of the semantic memory strategy.""" + description: str | None = ... + """The description of the semantic memory strategy.""" + namespaces: list[str] | None = ... + """ + This is a legacy parameter, use `namespaceTemplates`. The namespaces + associated with the semantic memory strategy. + """ + namespace_templates: list[str] | None = ... + """The namespaceTemplates associated with the semantic memory strategy.""" + memory_record_schema: MemoryRecordSchema | None = ... + """Schema for metadata on memory records generated by a strategy.""" + record_expiry_specification: RecordExpirySpecification | None = ... + """ + The record expiry (long-term memory time-to-live) configuration for + memory records generated by this strategy. Set + `recordExpiryDurationDays` to the number of days after which records + expire. If not specified, records generated by this strategy do not + expire. + """ + +@dataclass(kw_only=True) +class SemanticOverrideConfigurationInput(_SerdeShape): + """Input for semantic override configuration in a memory strategy.""" + + extraction: SemanticOverrideExtractionConfigurationInput | None = ... + """The extraction configuration for a semantic override.""" + consolidation: SemanticOverrideConsolidationConfigurationInput | None = ... + """The consolidation configuration for a semantic override.""" + +@dataclass(kw_only=True) +class SemanticOverrideConsolidationConfigurationInput(_SerdeShape): + """ + Input for semantic override consolidation configuration in a memory + strategy. + """ + + append_to_prompt: str + """The text to append to the prompt for semantic consolidation.""" + model_id: str + """The model ID to use for semantic consolidation.""" + +@dataclass(kw_only=True) +class SemanticOverrideExtractionConfigurationInput(_SerdeShape): + """ + Input for semantic override extraction configuration in a memory + strategy. + """ + + append_to_prompt: str + """The text to append to the prompt for semantic extraction.""" + model_id: str + """The model ID to use for semantic extraction.""" + +@dataclass(kw_only=True) +class ServerDefinition(_SerdeShape): + """ + The server definition for an MCP descriptor. Contains the schema version + and inline content for the MCP server configuration. + """ + + schema_version: str | None = ... + """ + The schema version of the server definition based on the MCP protocol + specification. If not specified, the version is auto-detected from the + content. + """ + inline_content: str | None = ... + """ + The JSON content containing the MCP server definition, conforming to the + MCP protocol specification. + """ + +class ServerProtocol(UnknownEnumMixin, StrEnum): + MCP = "MCP" + HTTP = "HTTP" + A2_A = "A2A" + AGUI = "AGUI" + +@dataclass(kw_only=True) +class ServiceException(ServiceError, _SerdeShape): + """An internal error occurred.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceQuotaExceededException(ServiceError, _SerdeShape): + """This exception is thrown when a request is made beyond the service quota""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SessionConfig(_SerdeShape): + """ + The configuration that defines how agent sessions are detected and when + they are considered complete for evaluation. + """ + + session_timeout_minutes: int + """ + The number of minutes of inactivity after which an agent session is + considered complete and ready for evaluation. Default is 15 minutes. + """ + +@dataclass(kw_only=True) +class SessionConfiguration(_SerdeShape): + """ + The session configuration for an MCP gateway. This structure defines + settings that control session behavior. + """ + + session_timeout_in_seconds: int | None = ... + """ + The session timeout in seconds. After this timeout, the session expires + and subsequent requests to this session will receive an error. The + minimum value is 900 seconds (15 minutes), the maximum value is 28800 + seconds (8 hours), and the default value is 3600 seconds (1 hour). + """ + +@dataclass(kw_only=True) +class SessionStorageConfiguration(_SerdeShape): + """ + Configuration for a session storage filesystem mounted into the + AgentCore Runtime. Session storage provides persistent storage that is + preserved across AgentCore Runtime session invocations. + """ + + mount_path: str + """ + The mount path for the session storage filesystem inside the AgentCore + Runtime. The path must be under `/mnt` with exactly one subdirectory + level (for example, `/mnt/data`). + """ diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_3.pyi b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_3.pyi new file mode 100644 index 000000000..96652f122 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/models_3.pyi @@ -0,0 +1,3573 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + A2aDescriptor, + Action, + AgentRuntimeArtifact, + AllowedPort, + ApprovalConfiguration, + AuthorizationData, + AuthorizerConfiguration, + CapacityProviderConfiguration, + CertificateConfiguration, + ClusteringConfig, + ComponentConfiguration, + Condition, + ConfigurationBundleReference, + ConsentPortalIdpConfig, + ConsentPortalSource, + ConsolidationConfiguration, + Content, + CredentialProviderConfiguration, + CredentialsProviderConfiguration, + CustomDescriptor, + CustomTransformConfiguration, + DataSourceConfig, + Descriptors, + DomainOverride, + EbsVolumeConfiguration, + EfsConfiguration, + EvaluatorConfig, + EvaluatorReference, + ExtractionConfiguration, + Fallback, + FilesystemConfiguration, + FromUrlSynchronizationConfiguration, + GatewayInterceptorConfiguration, + GatewayPolicyEngineConfiguration, + GatewayProtocolConfiguration, + GatewayTarget, + Harness, + HarnessEndpoint, + HarnessEnvironmentArtifact, + HarnessEnvironmentProviderRequest, + HarnessHook, + HarnessMemoryConfiguration, + HarnessModelConfiguration, + HarnessSkill, + HarnessSystemContentBlock, + HarnessTool, + HarnessTruncationConfiguration, + HttpTargetConfiguration, + IndexedKey, + InferenceTargetConfiguration, + Insight, + KinesisResource, + KmsConfiguration, + LifecycleConfiguration, + LimitEntry, + ManagedResourceDetails, + McpTargetConfiguration, + Memory, + MemoryRecordSchema, + MessageBasedTrigger, + MessageBasedTriggerInput, + MetadataConfiguration, + ModifyMemoryStrategies, + NamespaceKeyEntry, + NetworkConfiguration, + NumberValidation, + Oauth2Discovery, + Oauth2ProviderConfigInput, + Oauth2ProviderConfigOutput, + OutputConfig, + PaymentProviderConfigurationInput, + PaymentProviderConfigurationOutput, + PolicyDefinition, + PrivateEndpoint, + ProtocolConfiguration, + RecordExpirySpecification, + ReflectionConfiguration, + RequestHeaderConfiguration, + Resource, + ResourceConfiguration, + Rule, + RuntimeHooksConfiguration, + RuntimeMetadataConfiguration, + S3Configuration, + S3FilesConfiguration, + SchemaDefinition, + Secret, + SecretReference, + SelfManagedConfiguration, + ServerDefinition, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class SetTokenVaultCMKInput(_SerdeShape): + """Dataclass for SetTokenVaultCMKInput structure.""" + + token_vault_id: str | None = ... + """The unique identifier of the token vault to update.""" + kms_configuration: KmsConfiguration | None = ... + """ + The KMS configuration for the token vault, including the key type and + KMS key ARN. + """ + +@dataclass(kw_only=True) +class SetTokenVaultCMKOutput(_SerdeShape): + """Dataclass for SetTokenVaultCMKOutput structure.""" + + token_vault_id: str + """The ID of the token vault.""" + kms_configuration: KmsConfiguration + """The KMS configuration for the token vault.""" + last_modified_date: datetime + """The timestamp when the token vault was last modified.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class SigningAlgorithm(UnknownEnumMixin, StrEnum): + RS256 = "RS256" + PS256 = "PS256" + ES256 = "ES256" + +@dataclass(kw_only=True) +class SkillDefinition(_SerdeShape): + """The structured skill definition with schema version and content.""" + + schema_version: str | None = ... + """The version of the skill definition schema.""" + inline_content: str | None = ... + """The JSON content containing the structured skill definition.""" + +@dataclass(kw_only=True) +class SkillMdDefinition(_SerdeShape): + """The skill markdown definition for an agent skills descriptor.""" + + inline_content: str | None = ... + """ + The markdown content describing the agent's skills in a human-readable + format. + """ + +@dataclass(kw_only=True) +class SlackOauth2ProviderConfigInput(_SerdeShape): + """Input configuration for a Slack OAuth2 provider.""" + + client_id: str + """The client ID for the Slack OAuth2 provider.""" + client_secret: str = ... + """The client secret for the Slack OAuth2 provider.""" + client_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the client secret. This includes the secret ID and the JSON key + used to extract the client secret value from the secret. Required when + `clientSecretSource` is set to `EXTERNAL`. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + +@dataclass(kw_only=True) +class SlackOauth2ProviderConfigOutput(_SerdeShape): + """Output configuration for a Slack OAuth2 provider.""" + + oauth_discovery: Oauth2Discovery + """The OAuth2 discovery information for the Slack provider.""" + client_id: str | None = ... + """The client ID for the Slack OAuth2 provider.""" + +@dataclass(kw_only=True) +class StartPolicyGenerationInput(_SerdeShape): + """Dataclass for StartPolicyGenerationInput structure.""" + + policy_engine_id: str | None = ... + """ + The identifier of the policy engine that provides the context for policy + generation. This engine's schema and tool context are used to ensure + generated policies are valid and applicable. + """ + resource: Resource | None = ... + """ + The resource information that provides context for policy generation. + This helps the AI understand the target resources and generate + appropriate access control rules. + """ + content: Content | None = ... + """ + The natural language description of the desired policy behavior. This + content is processed by AI to generate corresponding Dogwood policy + statements that match the described intent. + """ + name: str | None = ... + """ + A customer-assigned name for the policy generation request. This helps + track and identify generation operations, especially when running + multiple generations simultaneously. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure the idempotency of the + request. The Amazon Web Services SDK automatically generates this token, + so you don't need to provide it in most cases. If you retry a request + with the same client token, the service returns the same response + without starting a duplicate generation. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StartPolicyGenerationOutput(_SerdeShape): + """Dataclass for StartPolicyGenerationOutput structure.""" + + policy_engine_id: str + """ + The identifier of the policy engine associated with the started policy + generation. + """ + policy_generation_id: str + """ + The unique identifier assigned to the policy generation request for + tracking progress. + """ + name: str + """The customer-assigned name for the policy generation request.""" + policy_generation_arn: str + """The ARN of the created policy generation request.""" + resource: Resource + """The resource information associated with the policy generation request.""" + created_at: datetime + """The timestamp when the policy generation request was created.""" + updated_at: datetime + """The timestamp when the policy generation was last updated.""" + status: str + """The initial status of the policy generation request.""" + findings: str | None = ... + """Initial findings from the policy generation process.""" + status_reasons: list[str] + """Additional information about the generation status.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StaticOverride(_SerdeShape): + """A static configuration bundle override.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle to apply.""" + bundle_version: str + """The version of the configuration bundle to apply.""" + +class StaticQueryParameterConflictResolution(UnknownEnumMixin, StrEnum): + """ + The precedence used when a client-supplied query parameter has the same + name as a configured static query parameter: + + - `CLIENT_OVERRIDE` - The client-supplied value overrides the configured + static value for that parameter name. This is the default. + + - `STATIC_OVERRIDE` - The configured static value is retained, + overriding the client-supplied value for that parameter name. + """ + + CLIENT_OVERRIDE = "CLIENT_OVERRIDE" + STATIC_OVERRIDE = "STATIC_OVERRIDE" + +@dataclass(kw_only=True) +class StaticRoute(_SerdeShape): + """A static route to a single gateway target.""" + + target_name: str + """The name of the target to route requests to.""" + model: str | None = ... + """ + The model ID to send to the target. Supported only for inference + targets. If you don't specify a model, the gateway sends the model from + the original request. + """ + fallback: Fallback | None = ... + """ + The fallback configuration for this route. Supported only for inference + targets. + """ + +class Status(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + READY = "READY" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class StickinessConfiguration(_SerdeShape): + """ + The configuration for session-sticky routing to a target. Session + stickiness routes requests that share a session identifier to the same + target. + """ + + identifier: str + """ + The expression that identifies where to extract the session identifier + from the request (for example, `$context.header.x-session-id`). + """ + timeout: int | None = ... + """ + The session stickiness timeout, in seconds. After this duration of + inactivity, the session affinity expires. Valid values range from 1 to + 86400. + """ + composite_identifier: list[str] | None = ... + """ + Additional headers to include in session affinity routing. When set, + requests are only considered part of the same session if both the + `identifier` and all composite identifier values match. + """ + +@dataclass(kw_only=True) +class StrategyConfiguration(_SerdeShape): + """Contains configuration information for a memory strategy.""" + + type: str | None = ... + """The type of override for the strategy configuration.""" + extraction: ExtractionConfiguration | None = ... + """The extraction configuration for the memory strategy.""" + consolidation: ConsolidationConfiguration | None = ... + """The consolidation configuration for the memory strategy.""" + reflection: ReflectionConfiguration | None = ... + """The reflection configuration for the memory strategy.""" + self_managed_configuration: SelfManagedConfiguration | None = ... + """Self-managed configuration settings.""" + +@dataclass +class StreamDeliveryResourceKinesis(_SerdeShape): + """Kinesis Data Stream configuration.""" + + value: KinesisResource + +@dataclass +class StreamDeliveryResourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +StreamDeliveryResource = Union[ + StreamDeliveryResourceKinesis | StreamDeliveryResourceUnknown +] +"""Supported stream delivery resource types.""" + +class _StreamDeliveryResourceDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> StreamDeliveryResource: ... + +@dataclass(kw_only=True) +class StreamDeliveryResources(_SerdeShape): + """Configuration for streaming memory record data to external resources.""" + + resources: list[StreamDeliveryResource] + """List of stream delivery resource configurations.""" + +@dataclass(kw_only=True) +class StreamingConfiguration(_SerdeShape): + """ + The streaming configuration for an MCP gateway. This structure defines + settings that control response streaming behavior. + """ + + enable_response_streaming: bool | None = ... + """ + Indicates whether response streaming is enabled for the gateway. When + set to `true`, the gateway streams responses from targets back to the + client. + """ + +@dataclass(kw_only=True) +class StringListValidation(_SerdeShape): + """Validation for STRINGLIST fields.""" + + allowed_values: list[str] | None = ... + """Allowed values for items in this STRINGLIST field.""" + max_items: int | None = ... + """Maximum number of items in the string list.""" + +@dataclass(kw_only=True) +class StringValidation(_SerdeShape): + """Validation for STRING fields.""" + + allowed_values: list[str] + """Allowed values for this STRING field.""" + +@dataclass(kw_only=True) +class StripePrivyConfigurationInput(_SerdeShape): + """Stripe Privy configuration --- credentials provided by Stripe and Privy.""" + + app_id: str + """The app ID provided by Privy.""" + app_secret: str = ... + """The app secret provided by Privy.""" + app_secret_source: str | None = ... + """ + The source type of the app secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + app_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the app secret. This includes the secret ID and the JSON key used + to extract the app secret value from the secret. Required when + `appSecretSource` is set to `EXTERNAL`. + """ + authorization_private_key: str = ... + """The authorization private key for the Stripe Privy integration.""" + authorization_private_key_source: str | None = ... + """ + The source type of the authorization private key. Use `MANAGED` if the + secret is managed by the service, or `EXTERNAL` if you manage the secret + yourself in Amazon Web Services Secrets Manager. + """ + authorization_private_key_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the authorization private key. This includes the secret ID and + the JSON key used to extract the authorization private key value from + the secret. Required when `authorizationPrivateKeySource` is set to + `EXTERNAL`. + """ + authorization_id: str + """The authorization ID for the Stripe Privy integration.""" + +@dataclass(kw_only=True) +class StripePrivyConfigurationOutput(_SerdeShape): + """Stripe Privy configuration output with secret ARNs.""" + + app_id: str + """The app ID provided by Privy.""" + app_secret_arn: Secret + """ + Contains information about a secret in Amazon Web Services Secrets + Manager. + """ + app_secret_json_key: str | None = ... + """ + The JSON key used to extract the app secret value from the Amazon Web + Services Secrets Manager secret. + """ + app_secret_source: str | None = ... + """ + The source type of the app secret. Either `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if managed by the user in Amazon + Web Services Secrets Manager. + """ + authorization_private_key_arn: Secret + """ + Contains information about a secret in Amazon Web Services Secrets + Manager. + """ + authorization_private_key_json_key: str | None = ... + """ + The JSON key used to extract the authorization private key value from + the Amazon Web Services Secrets Manager secret. + """ + authorization_private_key_source: str | None = ... + """ + The source type of the authorization private key. Either `MANAGED` if + the secret is managed by the service, or `EXTERNAL` if managed by the + user in Amazon Web Services Secrets Manager. + """ + authorization_id: str + """The authorization ID for the Stripe Privy integration.""" + +@dataclass(kw_only=True) +class SubmitRegistryRecordForApprovalInput(_SerdeShape): + """Dataclass for SubmitRegistryRecordForApprovalInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry containing the record. You can specify + either the Amazon Resource Name (ARN) or the ID of the registry. + """ + record_id: str | None = ... + """ + The identifier of the registry record to submit for approval. You can + specify either the Amazon Resource Name (ARN) or the ID of the record. + """ + +@dataclass(kw_only=True) +class SubmitRegistryRecordForApprovalOutput(_SerdeShape): + """Dataclass for SubmitRegistryRecordForApprovalOutput structure.""" + + registry_arn: str + """The Amazon Resource Name (ARN) of the registry that contains the record.""" + record_arn: str + """The Amazon Resource Name (ARN) of the registry record.""" + record_id: str + """The unique identifier of the registry record.""" + status: str + """The resulting status of the registry record after submission.""" + updated_at: datetime + """The timestamp when the record was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SubscriptionRequiredException(ServiceError, _SerdeShape): + """ + The request failed because it requires an active Amazon Web Services + Marketplace subscription that is not present. Subscribe to the required + product in Amazon Web Services Marketplace and try again. + """ + + subscription_url: str | None = ... + """URL to the Marketplace listing for subscription""" + product_name: str | None = ... + """The product requiring subscription""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SummaryConsolidationOverride(_SerdeShape): + """Contains summary consolidation override configuration.""" + + append_to_prompt: str + """The text to append to the prompt for summary consolidation.""" + model_id: str + """The model ID to use for summary consolidation.""" + +@dataclass(kw_only=True) +class SummaryMemoryStrategyInput(_SerdeShape): + """Input for creating a summary memory strategy.""" + + name: str + """The name of the summary memory strategy.""" + description: str | None = ... + """The description of the summary memory strategy.""" + namespaces: list[str] | None = ... + """ + This is a legacy parameter, use `namespaceTemplates`. The namespaces + associated with the summary memory strategy. + """ + namespace_templates: list[str] | None = ... + """The namespaceTemplates associated with the summary memory strategy.""" + memory_record_schema: MemoryRecordSchema | None = ... + """Schema for metadata fields on records generated by this strategy.""" + record_expiry_specification: RecordExpirySpecification | None = ... + """ + The record expiry (long-term memory time-to-live) configuration for + memory records generated by this strategy. Set + `recordExpiryDurationDays` to the number of days after which records + expire. If not specified, records generated by this strategy do not + expire. + """ + +@dataclass(kw_only=True) +class SummaryOverrideConfigurationInput(_SerdeShape): + """Input for summary override configuration in a memory strategy.""" + + consolidation: SummaryOverrideConsolidationConfigurationInput | None = ... + """The consolidation configuration for a summary override.""" + +@dataclass(kw_only=True) +class SummaryOverrideConsolidationConfigurationInput(_SerdeShape): + """ + Input for summary override consolidation configuration in a memory + strategy. + """ + + append_to_prompt: str + """The text to append to the prompt for summary consolidation.""" + model_id: str + """The model ID to use for summary consolidation.""" + +@dataclass(kw_only=True) +class SynchronizationConfiguration(_SerdeShape): + """ + Configuration for synchronizing registry record metadata from an + external source. + """ + + from_url: FromUrlSynchronizationConfiguration | None = ... + """Configuration for synchronizing from a URL-based source.""" + +class SynchronizationType(UnknownEnumMixin, StrEnum): + URL = "URL" + +@dataclass(kw_only=True) +class SynchronizeGatewayTargetsInput(_SerdeShape): + """Dataclass for SynchronizeGatewayTargetsInput structure.""" + + gateway_identifier: str | None = ... + """The gateway Identifier.""" + target_id_list: list[str] | None = ... + """The target ID list.""" + +@dataclass(kw_only=True) +class SynchronizeGatewayTargetsOutput(_SerdeShape): + """Dataclass for SynchronizeGatewayTargetsOutput structure.""" + + targets: list[GatewayTarget] | None = ... + """The gateway targets for synchronization.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SystemManagedBlock(_SerdeShape): + """ + System-managed metadata for rules created by automated processes such as + A/B tests. + """ + + managed_by: str + """The identifier of the system or process that manages this rule.""" + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Dataclass for TagResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource that you want to tag.""" + tags: dict[str, str] | None = ... + """The tags to add to the resource. A tag is a key-value pair.""" + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class TargetConfigurationMcp(_SerdeShape): + """ + The Model Context Protocol (MCP) configuration for the target. This + configuration defines how the gateway uses MCP to communicate with the + target. + """ + + value: McpTargetConfiguration + +@dataclass +class TargetConfigurationHttp(_SerdeShape): + """ + The HTTP target configuration. Use this to route gateway requests to an + HTTP-based endpoint such as an AgentCore Runtime. + """ + + value: HttpTargetConfiguration + +@dataclass +class TargetConfigurationInference(_SerdeShape): + """ + The inference configuration for the target. This configuration routes + requests to a large language model (LLM) provider. + """ + + value: InferenceTargetConfiguration + +@dataclass +class TargetConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +TargetConfiguration = Union[ + TargetConfigurationMcp + | TargetConfigurationHttp + | TargetConfigurationInference + | TargetConfigurationUnknown +] +""" +The configuration for a gateway target. This structure defines how the +gateway connects to and interacts with the target endpoint. +""" + +class _TargetConfigurationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> TargetConfiguration: ... + +class TargetProtocolType(UnknownEnumMixin, StrEnum): + MCP = "MCP" + HTTP = "HTTP" + +class TargetStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + UPDATING = "UPDATING" + UPDATE_UNSUCCESSFUL = "UPDATE_UNSUCCESSFUL" + DELETING = "DELETING" + READY = "READY" + FAILED = "FAILED" + SYNCHRONIZING = "SYNCHRONIZING" + SYNCHRONIZE_UNSUCCESSFUL = "SYNCHRONIZE_UNSUCCESSFUL" + CREATE_PENDING_AUTH = "CREATE_PENDING_AUTH" + UPDATE_PENDING_AUTH = "UPDATE_PENDING_AUTH" + SYNCHRONIZE_PENDING_AUTH = "SYNCHRONIZE_PENDING_AUTH" + +@dataclass(kw_only=True) +class TargetSummary(_SerdeShape): + """ + Contains summary information about a gateway target. A target represents + an endpoint that the gateway can connect to. + """ + + target_id: str + """The unique identifier of the target.""" + name: str + """The name of the target.""" + status: str + """The current status of the target.""" + description: str | None = ... + """The description of the target.""" + created_at: datetime + """The timestamp when the target was created.""" + updated_at: datetime + """The timestamp when the target was last updated.""" + resource_priority: int | None = ... + """ + Priority for resolving resource URI conflicts across targets. Lower + values take precedence. Defaults to 1000 when not set. + """ + last_synchronized_at: datetime | None = ... + """The timestamp when the target was last synchronized.""" + authorization_data: AuthorizationData | None = ... + """ + Contains the authorization data that is returned when a gateway target + is configured with a credential provider with authorization code grant + type and requires user federation. + """ + target_type: str | None = ... + """The type of the target.""" + listing_mode: str | None = ... + """ + The listing mode for the target. MCP resources for `DEFAULT` targets are + cached at the control plane for faster access. MCP resources for + `DYNAMIC` targets are retrieved dynamically when listing tools. + """ + +@dataclass(kw_only=True) +class TargetTrafficSplitEntry(_SerdeShape): + """An entry in a target traffic split configuration.""" + + target_name: str + """The name of the target to route traffic to.""" + model: str | None = ... + """ + The model ID to send to the target for this variant. Supported only for + inference targets. If you don't specify a model, the gateway sends the + model from the original request. + """ + fallback: Fallback | None = ... + """ + The fallback configuration for this variant. Supported only for + inference targets. + """ + name: str + """The name of this traffic split variant.""" + weight: int + """The percentage of traffic to route to this variant.""" + description: str | None = ... + """The description of this traffic split variant.""" + metadata: dict[str, str] | None = ... + """Key-value metadata associated with this traffic split variant.""" + +class TargetType(UnknownEnumMixin, StrEnum): + OPEN_API_SCHEMA = "OPEN_API_SCHEMA" + SMITHY_MODEL = "SMITHY_MODEL" + MCP_SERVER = "MCP_SERVER" + LAMBDA_ = "LAMBDA" + API_GATEWAY = "API_GATEWAY" + CONNECTOR = "CONNECTOR" + AGENTCORE_RUNTIME = "AGENTCORE_RUNTIME" + PASSTHROUGH = "PASSTHROUGH" + PROVIDER = "PROVIDER" + HTTP_CONNECTOR = "HTTP_CONNECTOR" + +@dataclass(kw_only=True) +class ThrottledException(ServiceError, _SerdeShape): + """API rate limit has been exceeded.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ThrottlingException(ServiceError, _SerdeShape): + """This exception is thrown when the number of requests exceeds the limit""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TimeBasedTrigger(_SerdeShape): + """Trigger configuration based on time.""" + + idle_session_timeout: int | None = ... + """Idle session timeout (seconds) that triggers memory processing.""" + +@dataclass(kw_only=True) +class TimeBasedTriggerInput(_SerdeShape): + """Trigger configuration based on time.""" + + idle_session_timeout: int = ... + """Idle session timeout (seconds) that triggers memory processing.""" + +@dataclass(kw_only=True) +class TokenBasedTrigger(_SerdeShape): + """Trigger configuration based on tokens.""" + + token_count: int | None = ... + """Number of tokens that trigger memory processing.""" + +@dataclass(kw_only=True) +class TokenBasedTriggerInput(_SerdeShape): + """Trigger configuration based on tokens.""" + + token_count: int = ... + """Number of tokens that trigger memory processing.""" + +@dataclass(kw_only=True) +class TokenExchangeGrantTypeConfigType(_SerdeShape): + """Configuration for RFC 8693 token exchange.""" + + actor_token_content: str + """The content type for the actor token in the token exchange.""" + actor_token_scopes: list[str] | None = ... + """ + The scopes for the actor token. Only valid when actorTokenContent is + M2M. + """ + +@dataclass(kw_only=True) +class ToolDefinition(_SerdeShape): + """ + A tool definition for a gateway target. This structure defines a tool + that the target exposes through the Model Context Protocol. + """ + + name: str + """ + The name of the tool. This name identifies the tool in the Model Context + Protocol. + """ + description: str + """ + The description of the tool. This description provides information about + the purpose and usage of the tool. + """ + input_schema: SchemaDefinition + """ + The input schema for the tool. This schema defines the structure of the + input that the tool accepts. + """ + output_schema: SchemaDefinition | None = ... + """ + The output schema for the tool. This schema defines the structure of the + output that the tool produces. + """ + +@dataclass +class ToolSchemaS3(_SerdeShape): + """ + The Amazon S3 location of the tool schema. This location contains the + schema definition file. + """ + + value: S3Configuration + +@dataclass +class ToolSchemaInlinePayload(_SerdeShape): + """ + The inline payload of the tool schema. This payload contains the schema + definition directly in the request. + """ + + value: list[ToolDefinition] + +@dataclass +class ToolSchemaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ToolSchema = Union[ToolSchemaS3 | ToolSchemaInlinePayload | ToolSchemaUnknown] +""" +A tool schema for a gateway target. This structure defines the schema +for a tool that the target exposes through the Model Context Protocol. +""" + +class _ToolSchemaDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ToolSchema: ... + +@dataclass(kw_only=True) +class ToolsDefinition(_SerdeShape): + """ + The tools definition for an MCP descriptor. Contains the protocol + version and inline content describing the available tools. + """ + + protocol_version: str | None = ... + """ + The protocol version of the tools definition based on the MCP protocol + specification. If not specified, the version is auto-detected from the + content. + """ + inline_content: str | None = ... + """ + The JSON content containing the MCP tools definition, conforming to the + MCP protocol specification. + """ + +@dataclass +class ToolsFileSystemConfigurationS3FilesConfiguration(_SerdeShape): + """ + The configuration for mounting your own Amazon Simple Storage Service + (Amazon S3) Files access point into the session. + """ + + value: S3FilesConfiguration + +@dataclass +class ToolsFileSystemConfigurationEfsConfiguration(_SerdeShape): + """ + The configuration for mounting your own Amazon Elastic File System + (Amazon EFS) access point into the session. + """ + + value: EfsConfiguration + +@dataclass +class ToolsFileSystemConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ToolsFileSystemConfiguration = Union[ + ToolsFileSystemConfigurationS3FilesConfiguration + | ToolsFileSystemConfigurationEfsConfiguration + | ToolsFileSystemConfigurationUnknown +] +""" +Specifies a file system to mount into the session by providing exactly +one of the following: + +- `s3FilesConfiguration` - Mounts an Amazon Simple Storage Service + (Amazon S3) Files access point. + +- `efsConfiguration` - Mounts an Amazon Elastic File System (Amazon EFS) + access point. +""" + +class _ToolsFileSystemConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ToolsFileSystemConfiguration: ... + +@dataclass(kw_only=True) +class TrafficSplitEntry(_SerdeShape): + """ + An entry in a traffic split configuration, defining a named variant with + a weight and configuration bundle reference. + """ + + name: str + """The name of this traffic split variant.""" + weight: int + """ + The percentage of traffic to route to this variant. Weights across all + entries must sum to 100. + """ + configuration_bundle: ConfigurationBundleReference + """The configuration bundle reference for this variant.""" + description: str | None = ... + """The description of this traffic split variant.""" + metadata: dict[str, str] | None = ... + """Key-value metadata associated with this traffic split variant.""" + +@dataclass +class TriggerConditionMessageBasedTrigger(_SerdeShape): + """Message based trigger configuration.""" + + value: MessageBasedTrigger + +@dataclass +class TriggerConditionTokenBasedTrigger(_SerdeShape): + """Token based trigger configuration.""" + + value: TokenBasedTrigger + +@dataclass +class TriggerConditionTimeBasedTrigger(_SerdeShape): + """Time based trigger configuration.""" + + value: TimeBasedTrigger + +@dataclass +class TriggerConditionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +TriggerCondition = Union[ + TriggerConditionMessageBasedTrigger + | TriggerConditionTokenBasedTrigger + | TriggerConditionTimeBasedTrigger + | TriggerConditionUnknown +] +"""Condition that triggers memory processing.""" + +class _TriggerConditionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> TriggerCondition: ... + +@dataclass +class TriggerConditionInputMessageBasedTrigger(_SerdeShape): + """Message based trigger configuration.""" + + value: MessageBasedTriggerInput + +@dataclass +class TriggerConditionInputTokenBasedTrigger(_SerdeShape): + """Token based trigger configuration.""" + + value: TokenBasedTriggerInput + +@dataclass +class TriggerConditionInputTimeBasedTrigger(_SerdeShape): + """Time based trigger configuration.""" + + value: TimeBasedTriggerInput + +@dataclass +class TriggerConditionInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +TriggerConditionInput = Union[ + TriggerConditionInputMessageBasedTrigger + | TriggerConditionInputTokenBasedTrigger + | TriggerConditionInputTimeBasedTrigger + | TriggerConditionInputUnknown +] +"""Condition that triggers memory processing.""" + +class _TriggerConditionInputDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> TriggerConditionInput: ... + +@dataclass(kw_only=True) +class UnauthorizedException(ServiceError, _SerdeShape): + """ + This exception is thrown when the JWT bearer token is invalid or not + found for OAuth bearer token based access + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Dataclass for UntagResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource that you want to untag.""" + tag_keys: list[str] | None = ... + """The tag keys of the tags to remove from the resource.""" + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAgentRuntimeEndpointInput(_SerdeShape): + """Dataclass for UpdateAgentRuntimeEndpointInput structure.""" + + agent_runtime_id: str | None = ... + """ + The unique identifier of the AgentCore Runtime associated with the + endpoint. + """ + endpoint_name: str | None = ... + """The name of the AgentCore Runtime endpoint to update.""" + agent_runtime_version: str | None = ... + """The updated version of the AgentCore Runtime for the endpoint.""" + description: str | None = ... + """The updated description of the AgentCore Runtime endpoint.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateAgentRuntimeEndpointOutput(_SerdeShape): + """Dataclass for UpdateAgentRuntimeEndpointOutput structure.""" + + live_version: str | None = ... + """The currently deployed version of the AgentCore Runtime on the endpoint.""" + target_version: str | None = ... + """The target version of the AgentCore Runtime for the endpoint.""" + agent_runtime_endpoint_arn: str + """The Amazon Resource Name (ARN) of the AgentCore Runtime endpoint.""" + agent_runtime_arn: str + """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" + status: str + """The current status of the updated AgentCore Runtime endpoint.""" + created_at: datetime + """The timestamp when the AgentCore Runtime endpoint was created.""" + last_updated_at: datetime + """The timestamp when the AgentCore Runtime endpoint was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAgentRuntimeInput(_SerdeShape): + """Dataclass for UpdateAgentRuntimeInput structure.""" + + agent_runtime_id: str | None = ... + """The unique identifier of the AgentCore Runtime to update.""" + agent_runtime_artifact: AgentRuntimeArtifact | None = ... + """The updated artifact of the AgentCore Runtime.""" + role_arn: str | None = ... + """ + The updated IAM role ARN that provides permissions for the AgentCore + Runtime. + """ + network_configuration: NetworkConfiguration | None = ... + """The updated network configuration for the AgentCore Runtime.""" + description: str | None = ... + """The updated description of the AgentCore Runtime.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """The updated authorizer configuration for the AgentCore Runtime.""" + request_header_configuration: RequestHeaderConfiguration | None = ... + """ + The updated configuration for HTTP request headers that will be passed + through to the runtime. + """ + protocol_configuration: ProtocolConfiguration | None = ... + """ + The updated protocol configuration for the AgentCore Runtime, including + the protocol, port, and path on which the agent server is available. + """ + lifecycle_configuration: LifecycleConfiguration | None = ... + """The updated life cycle configuration for the AgentCore Runtime.""" + hooks_configuration: RuntimeHooksConfiguration | None = ... + """The updated lifecycle hooks configuration for the AgentCore Runtime.""" + metadata_configuration: RuntimeMetadataConfiguration | None = ... + """ + The updated configuration for microVM Metadata Service (MMDS) settings + for the AgentCore Runtime. + """ + environment_variables: dict[str, str] | None = ... + """ + Updated environment variables to set in the AgentCore Runtime + environment. + """ + filesystem_configurations: list[FilesystemConfiguration] | None = ... + """ + The updated filesystem configurations to mount into the AgentCore + Runtime. + """ + capacity_provider_configuration: CapacityProviderConfiguration | None = ... + """The updated capacity provider configuration for the AgentCore Runtime.""" + platform_version: str | None = ... + """ + The updated version of the runtime platform to use for the AgentCore + Runtime. + """ + allowed_ports: list[AllowedPort] | None = ... + """ + The updated additional ports on the AgentCore Runtime that are reachable + through the runtime's session URL. Specify one to five non-overlapping + entries, each containing either a single port or an inclusive port + range. Ports must be between `8000` and `12000`, excluding the reserved + port `8443`. + """ + resource_configurations: list[ResourceConfiguration] | None = ... + """ + The updated resource configurations for the AgentCore Runtime. You can + specify at most one resource configuration. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateAgentRuntimeOutput(_SerdeShape): + """Dataclass for UpdateAgentRuntimeOutput structure.""" + + agent_runtime_arn: str + """The Amazon Resource Name (ARN) of the updated AgentCore Runtime.""" + agent_runtime_id: str + """The unique identifier of the updated AgentCore Runtime.""" + workload_identity_details: WorkloadIdentityDetails | None = ... + """The workload identity details for the updated AgentCore Runtime.""" + agent_runtime_version: str + """The version of the updated AgentCore Runtime.""" + created_at: datetime + """The timestamp when the AgentCore Runtime was created.""" + last_updated_at: datetime + """The timestamp when the AgentCore Runtime was last updated.""" + status: str + """The current status of the updated AgentCore Runtime.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateApiKeyCredentialProviderInput(_SerdeShape): + """Dataclass for UpdateApiKeyCredentialProviderInput structure.""" + + name: str | None = ... + """The name of the API key credential provider to update.""" + api_key: str = ... + """ + The new API key to use for authentication. This value replaces the + existing API key and is encrypted and stored securely. + """ + api_key_secret_config: SecretReference | None = ... + """ + A reference to the Amazon Web Services Secrets Manager secret that + stores the API key. This includes the secret ID and the JSON key used to + extract the API key value from the secret. Required when + `apiKeySecretSource` is set to `EXTERNAL`. + """ + api_key_secret_source: str | None = ... + """ + The source type of the API key secret. Use `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if you manage the secret yourself + in Amazon Web Services Secrets Manager. + """ + +@dataclass(kw_only=True) +class UpdateApiKeyCredentialProviderOutput(_SerdeShape): + """Dataclass for UpdateApiKeyCredentialProviderOutput structure.""" + + api_key_secret_arn: Secret + """ + The Amazon Resource Name (ARN) of the API key secret in Amazon Web + Services Secrets Manager. + """ + api_key_secret_json_key: str | None = ... + """ + The JSON key used to extract the API key value from the Amazon Web + Services Secrets Manager secret. + """ + api_key_secret_source: str | None = ... + """ + The source type of the API key secret. Either `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if managed by the user in Amazon + Web Services Secrets Manager. + """ + name: str + """The name of the API key credential provider.""" + credential_provider_arn: str + """The Amazon Resource Name (ARN) of the API key credential provider.""" + created_time: datetime + """The timestamp when the API key credential provider was created.""" + last_updated_time: datetime + """The timestamp when the API key credential provider was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCapacityProviderInput(_SerdeShape): + """Dataclass for UpdateCapacityProviderInput structure.""" + + capacity_provider_id: str | None = ... + """The unique identifier of the capacity provider to update.""" + description: UpdatedDescription | None = ... + """The updated description of the capacity provider.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateCapacityProviderOutput(_SerdeShape): + """Dataclass for UpdateCapacityProviderOutput structure.""" + + capacity_provider_id: str + """The unique identifier of the capacity provider.""" + capacity_provider_arn: str + """The Amazon Resource Name (ARN) of the capacity provider.""" + name: str + """The name of the capacity provider.""" + status: str + """ + The current status of the capacity provider. For possible values, see + `CapacityProviderStatus`. + """ + created_at: datetime + """The timestamp when the capacity provider was created.""" + last_updated_at: datetime + """The timestamp when the capacity provider was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateConfigurationBundleInput(_SerdeShape): + """Dataclass for UpdateConfigurationBundleInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + bundle_id: str | None = ... + """The unique identifier of the configuration bundle to update.""" + bundle_name: str | None = ... + """The updated name for the configuration bundle.""" + description: str | None = ... + """The updated description for the configuration bundle.""" + components: dict[str, ComponentConfiguration] | None = ... + """ + The updated component configurations. Creates a new version of the + bundle. + """ + parent_version_ids: list[str] | None = ... + """ + A list of parent version identifiers for lineage tracking. Regular + commits have a single parent. Merge commits have two parents: the target + branch parent and the source branch parent. If the branch already + exists, the first parent must be the latest version on that branch. + """ + branch_name: str | None = ... + """ + The branch name for this version. If not specified, inherits the + parent's branch or defaults to `mainline`. + """ + commit_message: str | None = ... + """A commit message describing the changes in this version.""" + created_by: VersionCreatedBySource | None = ... + """ + The source that created this version, including the source name and + optional ARN. + """ + kms_key_arn: str | None = ... + """ + Optional KMS key ARN for encrypting component configurations. If + provided, components will be encrypted with this key. If the bundle + already has a KMS key, this rotates to the new key. + """ + +@dataclass(kw_only=True) +class UpdateConfigurationBundleOutput(_SerdeShape): + """Dataclass for UpdateConfigurationBundleOutput structure.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the updated configuration bundle.""" + bundle_id: str + """The unique identifier of the updated configuration bundle.""" + version_id: str + """The new version identifier created by this update.""" + updated_at: datetime + """The timestamp when the configuration bundle was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateConsentPortalInput(_SerdeShape): + """Dataclass for UpdateConsentPortalInput structure.""" + + consent_portal_identifier: str | None = ... + """ + The identifier of the consent portal. You can specify either the consent + portal ID or its Amazon Resource Name (ARN). + """ + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that the consent portal + assumes to access the resources defined in its sources. + """ + idp_config: ConsentPortalIdpConfig | None = ... + """ + The identity provider configuration that the consent portal uses to + authenticate end users. + """ + description: str | None = ... + """The description of the consent portal.""" + +@dataclass(kw_only=True) +class UpdateConsentPortalOutput(_SerdeShape): + """Dataclass for UpdateConsentPortalOutput structure.""" + + sources: list[ConsentPortalSource] + """The resources served by the consent portal.""" + consent_portal_arn: str + """The Amazon Resource Name (ARN) of the consent portal.""" + consent_portal_id: str + """The unique identifier of the consent portal.""" + created_at: datetime + """The timestamp for when the consent portal was created.""" + description: str | None = ... + """The description of the consent portal.""" + execution_role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role that the consent portal + assumes to access the resources defined in its sources. + """ + idp_config: ConsentPortalIdpConfig + """ + The identity provider configuration that the consent portal uses to + authenticate end users. + """ + name: str + """The name of the consent portal.""" + portal_url: str | None = ... + """The URL used to access the consent portal.""" + status: str + """The current status of the consent portal.""" + status_reason: str | None = ... + """ + A message that provides additional information about the current status + of the consent portal. + """ + updated_at: datetime + """The timestamp for when the consent portal was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatedA2aDescriptor(_SerdeShape): + """ + Wrapper for updating an A2A descriptor with PATCH semantics. When + present, the A2A descriptor is replaced with the provided value. When + absent, the A2A descriptor is left unchanged. To unset, include the + wrapper with the value set to null. + """ + + optional_value: A2aDescriptor | None = ... + """The updated A2A descriptor value.""" + +@dataclass(kw_only=True) +class UpdatedAgentSkillsDescriptor(_SerdeShape): + """ + Wrapper for updating an agent skills descriptor with PATCH semantics. + When present with a value, individual fields can be updated + independently. When present with a null value, the entire agent skills + descriptor is unset. When absent, the agent skills descriptor is left + unchanged. + """ + + optional_value: UpdatedAgentSkillsDescriptorFields | None = ... + """The updated agent skills descriptor fields.""" + +@dataclass(kw_only=True) +class UpdatedAgentSkillsDescriptorFields(_SerdeShape): + """ + Individual agent skills descriptor fields that can be updated + independently. + """ + + skill_md: UpdatedSkillMdDefinition | None = ... + """The updated skill markdown definition.""" + skill_definition: UpdatedSkillDefinition | None = ... + """The updated skill definition.""" + +@dataclass(kw_only=True) +class UpdatedApprovalConfiguration(_SerdeShape): + """ + Wrapper for updating an optional approval configuration field with PATCH + semantics. When present in an update request, the approval configuration + is replaced with the provided value. When absent, the approval + configuration is left unchanged. + """ + + optional_value: ApprovalConfiguration | None = ... + """ + The updated approval configuration value. Set to `null` to unset the + approval configuration. + """ + +@dataclass(kw_only=True) +class UpdateDatasetExamplesInput(_SerdeShape): + """Dataclass for UpdateDatasetExamplesInput structure.""" + + dataset_id: str | None = ... + """The unique identifier of the dataset.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + examples: list[Document] | None = ... + """ + Examples to update. Each element is a JSON object containing a required + `exampleId` field identifying the existing example, plus the replacement + fields. Maximum 1000 examples per call. + """ + +@dataclass(kw_only=True) +class UpdateDatasetExamplesOutput(_SerdeShape): + """Dataclass for UpdateDatasetExamplesOutput structure.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the dataset.""" + dataset_id: str + """The unique identifier of the dataset.""" + status: str + """The current status of the dataset.""" + updated_count: int + """The number of examples updated.""" + updated_at: datetime + """The timestamp when the examples were updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDatasetInput(_SerdeShape): + """Dataclass for UpdateDatasetInput structure.""" + + dataset_id: str | None = ... + """The unique identifier of the dataset to update.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + description: str | None = ... + """The updated description for the dataset.""" + +@dataclass(kw_only=True) +class UpdateDatasetOutput(_SerdeShape): + """Dataclass for UpdateDatasetOutput structure.""" + + dataset_arn: str + """The Amazon Resource Name (ARN) of the updated dataset.""" + dataset_id: str + """The unique identifier of the updated dataset.""" + updated_at: datetime + """The timestamp when the dataset was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatedAuthorizerConfiguration(_SerdeShape): + """ + Wrapper for updating an optional AuthorizerConfiguration field with + PATCH semantics. When present in an update request, the authorizer + configuration is replaced with optionalValue. When absent, the + authorizer configuration is left unchanged. To unset, include the + wrapper with optionalValue not specified. + """ + + optional_value: AuthorizerConfiguration | None = ... + """ + The updated authorizer configuration value. If not specified, it will + clear the current authorizer configuration of the resource. + """ + +@dataclass(kw_only=True) +class UpdatedCustomDescriptor(_SerdeShape): + """ + Wrapper for updating a custom descriptor with PATCH semantics. When + present, the custom descriptor is replaced with the provided value. When + absent, the custom descriptor is left unchanged. To unset, include the + wrapper with the value set to null. + """ + + optional_value: CustomDescriptor | None = ... + """The updated custom descriptor value.""" + +@dataclass(kw_only=True) +class UpdatedDescription(_SerdeShape): + """ + Wrapper for updating an optional Description field with PATCH semantics. + When present in an update request, the description is replaced with + optionalValue. When absent, the description is left unchanged. To unset + the description, include the wrapper with optionalValue not specified. + """ + + optional_value: str | None = ... + """ + Represents an optional value that is used to update the human-readable + description of the resource. If not specified, it will clear the current + description of the resource. + """ + +@dataclass(kw_only=True) +class UpdatedDescriptors(_SerdeShape): + """ + Wrapper for updating an optional descriptors field with PATCH semantics. + When present with a value, individual descriptors can be updated. When + present with a null value, all descriptors are unset. When absent, + descriptors are left unchanged. + """ + + optional_value: UpdatedDescriptorsUnion | None = ... + """ + The updated descriptors value. Contains per-descriptor-type wrappers + that are each independently updatable. + """ + +@dataclass(kw_only=True) +class UpdatedDescriptorsUnion(_SerdeShape): + """ + Contains per-descriptor-type wrappers for updating descriptors. Each + descriptor type can be updated independently. + """ + + mcp: UpdatedMcpDescriptor | None = ... + """The updated MCP descriptor.""" + a2a: UpdatedA2aDescriptor | None = ... + """The updated A2A descriptor.""" + custom: UpdatedCustomDescriptor | None = ... + """The updated custom descriptor.""" + agent_skills: UpdatedAgentSkillsDescriptor | None = ... + """The updated agent skills descriptor.""" + +@dataclass(kw_only=True) +class UpdatedHarnessEnvironmentArtifact(_SerdeShape): + """Wrapper for updating the environment artifact configuration.""" + + optional_value: HarnessEnvironmentArtifact | None = ... + """ + The updated environment artifact value, or null to clear the existing + configuration. + """ + +@dataclass(kw_only=True) +class UpdatedHarnessMemoryConfiguration(_SerdeShape): + """Wrapper for updating the memory configuration.""" + + optional_value: HarnessMemoryConfiguration | None = ... + """ + The updated memory configuration value, or null to clear the existing + configuration. + """ + +@dataclass(kw_only=True) +class UpdatedMcpDescriptor(_SerdeShape): + """ + Wrapper for updating an MCP descriptor with PATCH semantics. When + present with a value, individual MCP fields can be updated + independently. When present with a null value, the entire MCP descriptor + is unset. When absent, the MCP descriptor is left unchanged. + """ + + optional_value: UpdatedMcpDescriptorFields | None = ... + """The updated MCP descriptor fields.""" + +@dataclass(kw_only=True) +class UpdatedMcpDescriptorFields(_SerdeShape): + """Individual MCP descriptor fields that can be updated independently.""" + + server: UpdatedServerDefinition | None = ... + """The updated server definition for the MCP descriptor.""" + tools: UpdatedToolsDefinition | None = ... + """The updated tools definition for the MCP descriptor.""" + +@dataclass(kw_only=True) +class UpdatedServerDefinition(_SerdeShape): + """ + Wrapper for updating a server definition with PATCH semantics. When + present, the server definition is replaced with the provided value. When + absent, the server definition is left unchanged. To unset, include the + wrapper with the value set to null. + """ + + optional_value: ServerDefinition | None = ... + """The updated server definition value.""" + +@dataclass(kw_only=True) +class UpdatedSkillDefinition(_SerdeShape): + """Wrapper for updating a skill definition with PATCH semantics.""" + + optional_value: SkillDefinition | None = ... + """The updated skill definition value.""" + +@dataclass(kw_only=True) +class UpdatedSkillMdDefinition(_SerdeShape): + """Wrapper for updating a skill markdown definition with PATCH semantics.""" + + optional_value: SkillMdDefinition | None = ... + """The updated skill markdown definition value.""" + +@dataclass(kw_only=True) +class UpdatedSynchronizationConfiguration(_SerdeShape): + """ + Wrapper for updating the synchronization configuration with PATCH + semantics. Must be matched with `UpdatedSynchronizationType`. + """ + + optional_value: SynchronizationConfiguration | None = ... + """The updated synchronization configuration value.""" + +@dataclass(kw_only=True) +class UpdatedSynchronizationType(_SerdeShape): + """ + Wrapper for updating the synchronization type with PATCH semantics. Must + be matched with `UpdatedSynchronizationConfiguration`. + """ + + optional_value: str | None = ... + """The updated synchronization type value.""" + +@dataclass(kw_only=True) +class UpdatedToolsDefinition(_SerdeShape): + """ + Wrapper for updating a tools definition with PATCH semantics. When + present, the tools definition is replaced with the provided value. When + absent, the tools definition is left unchanged. To unset, include the + wrapper with the value set to null. + """ + + optional_value: ToolsDefinition | None = ... + """The updated tools definition value.""" + +@dataclass(kw_only=True) +class UpdateEvaluatorInput(_SerdeShape): + """Dataclass for UpdateEvaluatorInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + evaluator_id: str | None = ... + """The unique identifier of the evaluator to update.""" + description: str | None = ... + """The updated description of the evaluator.""" + evaluator_config: EvaluatorConfig | None = ... + """ + The updated configuration for the evaluator. Specify either + LLM-as-a-Judge settings with instructions, rating scale, and model + configuration, or code-based settings with a customer-managed Lambda + function. + """ + level: str | None = ... + """ + The updated evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that + determines the scope of evaluation. + """ + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a customer managed KMS key to use for + encrypting sensitive evaluator data. Specify a new key ARN to rotate the + encryption key, or specify a key ARN to add encryption to an evaluator + that was previously created without one. When you rotate to a new key, + the service decrypts the existing data with the old key and re-encrypts + it with the new key. Only symmetric encryption KMS keys are supported. + For more information, see [Encryption at rest for AgentCore + Evaluations](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html). + """ + +@dataclass(kw_only=True) +class UpdateEvaluatorOutput(_SerdeShape): + """Dataclass for UpdateEvaluatorOutput structure.""" + + evaluator_arn: str + """The Amazon Resource Name (ARN) of the updated evaluator.""" + evaluator_id: str + """The unique identifier of the updated evaluator.""" + updated_at: datetime + """The timestamp when the evaluator was last updated.""" + status: str + """The status of the evaluator update operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGatewayInput(_SerdeShape): + """Dataclass for UpdateGatewayInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway to update.""" + name: str | None = ... + """ + The name of the gateway. This name must be the same as the one when the + gateway was created. + """ + description: str | None = ... + """The updated description for the gateway.""" + role_arn: str | None = ... + """The updated IAM role ARN that provides permissions for the gateway.""" + protocol_type: str = ... + """The updated protocol type for the gateway.""" + protocol_configuration: GatewayProtocolConfiguration | None = ... + """ + The configuration for a gateway protocol. This structure defines how the + gateway communicates with external services. + """ + authorizer_type: str | None = ... + """The updated authorizer type for the gateway.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """The updated authorizer configuration for the gateway.""" + kms_key_arn: str | None = ... + """The updated ARN of the KMS key used to encrypt the gateway.""" + custom_transform_configuration: CustomTransformConfiguration | None = ... + """ + The updated custom transformation configuration for the gateway. This + configuration defines how the gateway transforms requests and responses. + """ + interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... + """The updated interceptor configurations for the gateway.""" + policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... + """ + The updated policy engine configuration for the gateway. A policy engine + is a collection of policies that evaluates and authorizes agent tool + calls. When associated with a gateway, the policy engine intercepts all + agent requests and determines whether to allow or deny each action based + on the defined policies. + """ + exception_level: str | None = ... + """ + The level of detail in error messages returned when invoking the + gateway. + + - If the value is `DEBUG`, granular exception messages are returned to + help a user debug the gateway. + + - If the value is omitted, a generic error message is returned to the + end user. + """ + waf_configuration: WafConfiguration | None = ... + """The updated Amazon Web Services WAF configuration for the gateway.""" + domain_override: DomainOverride | None = ... + """ + The updated public domain names that the gateway advertises in its OAuth + discovery URLs instead of the inbound Host header. Specify this when + clients reach the gateway through your own proxy or custom domain. + """ + +@dataclass(kw_only=True) +class UpdateGatewayOutput(_SerdeShape): + """Dataclass for UpdateGatewayOutput structure.""" + + gateway_arn: str + """The Amazon Resource Name (ARN) of the updated gateway.""" + gateway_id: str + """The unique identifier of the updated gateway.""" + gateway_url: str | None = ... + """An endpoint for invoking the updated gateway.""" + created_at: datetime + """The timestamp when the gateway was created.""" + updated_at: datetime + """The timestamp when the gateway was last updated.""" + status: str + """The current status of the updated gateway.""" + status_reasons: list[str] | None = ... + """The reasons for the current status of the updated gateway.""" + name: str + """The name of the gateway.""" + description: str | None = ... + """The updated description of the gateway.""" + role_arn: str | None = ... + """The updated IAM role ARN that provides permissions for the gateway.""" + protocol_type: str = ... + """The updated protocol type for the gateway.""" + protocol_configuration: GatewayProtocolConfiguration | None = ... + """ + The configuration for a gateway protocol. This structure defines how the + gateway communicates with external services. + """ + authorizer_type: str + """The updated authorizer type for the gateway.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """The updated authorizer configuration for the gateway.""" + kms_key_arn: str | None = ... + """The updated ARN of the KMS key used to encrypt the gateway.""" + custom_transform_configuration: CustomTransformConfiguration | None = ... + """ + The custom transformation configuration for the gateway. This + configuration defines how the gateway transforms requests and responses. + """ + interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... + """The updated interceptor configurations for the gateway.""" + policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... + """The updated policy engine configuration for the gateway.""" + workload_identity_details: WorkloadIdentityDetails | None = ... + """The workload identity details for the updated gateway.""" + exception_level: str | None = ... + """ + The level of detail in error messages returned when invoking the + gateway. + + - If the value is `DEBUG`, granular exception messages are returned to + help a user debug the gateway. + + - If the value is omitted, a generic error message is returned to the + end user. + """ + web_acl_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services WAF web ACL + associated with the gateway. + """ + waf_configuration: WafConfiguration | None = ... + """The Amazon Web Services WAF configuration for the gateway.""" + domain_override: DomainOverride | None = ... + """ + The public domain names that the gateway advertises in its OAuth + discovery URLs instead of the inbound Host header. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGatewayRateLimitInput(_SerdeShape): + """Dataclass for UpdateGatewayRateLimitInput structure.""" + + gateway_identifier: str | None = ... + """The unique identifier of the gateway.""" + rate_limit_id: str | None = ... + """The unique identifier of the rate limit to update.""" + description: str | None = ... + """The updated human-readable description for this rate limit.""" + entries: list[LimitEntry] | None = ... + """ + The updated rule entries. The dimension keys are immutable after + creation and cannot be changed. + """ + +@dataclass(kw_only=True) +class UpdateGatewayRateLimitOutput(_SerdeShape): + """Shared fields for `GatewayRateLimit` responses.""" + + rate_limit_id: str + """The unique identifier of the rate limit.""" + gateway_identifier: str + """The unique identifier of the gateway.""" + description: str | None = ... + """The human-readable description of the rate limit.""" + dimension_keys: list[str] + """ + The ordered list of dimension key names that define the scope of this + rate limit. + """ + entries: list[LimitEntry] + """ + The list of rule entries that map dimension values to rate + configurations. + """ + status: str + """The current status of the rate limit.""" + created_at: datetime + """The timestamp when the rate limit was created.""" + updated_at: datetime + """The timestamp when the rate limit was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGatewayRuleInput(_SerdeShape): + """Dataclass for UpdateGatewayRuleInput structure.""" + + gateway_identifier: str | None = ... + """The identifier of the gateway containing the rule.""" + rule_id: str | None = ... + """The unique identifier of the rule to update.""" + priority: int | None = ... + """The updated priority of the rule.""" + conditions: list[Condition] | None = ... + """The updated conditions for the rule.""" + actions: list[Action] | None = ... + """The updated actions for the rule.""" + description: str | None = ... + """The updated description of the rule.""" + +@dataclass(kw_only=True) +class UpdateGatewayRuleOutput(_SerdeShape): + """ + Create response excludes updatedAt (redundant on create). Get/Update + responses include it via their own output structures. + """ + + rule_id: str + """The unique identifier of the gateway rule.""" + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway that the rule belongs to.""" + priority: int + """ + The priority of the rule. Rules are evaluated in order of priority, with + lower numbers evaluated first. + """ + conditions: list[Condition] | None = ... + """The conditions that must be met for the rule to apply.""" + actions: list[Action] + """The actions to take when the rule conditions are met.""" + description: str | None = ... + """The description of the gateway rule.""" + created_at: datetime + """The timestamp when the rule was created.""" + status: str + """The current status of the rule.""" + system: SystemManagedBlock | None = ... + """System-managed metadata for rules created by automated processes.""" + updated_at: datetime | None = ... + """The timestamp when the rule was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGatewayTargetInput(_SerdeShape): + """Dataclass for UpdateGatewayTargetInput structure.""" + + gateway_identifier: str | None = ... + """The unique identifier of the gateway associated with the target.""" + target_id: str | None = ... + """The unique identifier of the gateway target to update.""" + name: str | None = ... + """The updated name for the gateway target.""" + description: str | None = ... + """The updated description for the gateway target.""" + target_configuration: TargetConfiguration | None = ... + """ + The configuration for a gateway target. This structure defines how the + gateway connects to and interacts with the target endpoint. + """ + credential_provider_configurations: ( + list[CredentialProviderConfiguration] | None + ) = ... + """The updated credential provider configurations for the gateway target.""" + metadata_configuration: MetadataConfiguration | None = ... + """ + Configuration for HTTP header and query parameter propagation to the + gateway target. + """ + private_endpoint: PrivateEndpoint | None = ... + """ + The private endpoint configuration for the gateway target. Use this to + connect the gateway to private resources in your VPC. + """ + certificate_configurations: list[CertificateConfiguration] | None = ... + """ + The private certificate authority (CA) configurations for the gateway + target. Use this to have the gateway trust a private CA when it + establishes TLS connections to the target endpoint. Provide each + certificate by reference to an Amazon S3 object or an Amazon Web + Services Secrets Manager secret. You can specify only one certificate + authority configuration in this list. To remove a previously configured + certificate authority, omit this field on update. + """ + +@dataclass(kw_only=True) +class UpdateGatewayTargetOutput(_SerdeShape): + """Dataclass for UpdateGatewayTargetOutput structure.""" + + gateway_arn: str + """The Amazon Resource Name (ARN) of the gateway.""" + target_id: str + """The unique identifier of the updated gateway target.""" + created_at: datetime + """The timestamp when the gateway target was created.""" + updated_at: datetime + """The timestamp when the gateway target was last updated.""" + status: str + """The current status of the updated gateway target.""" + status_reasons: list[str] | None = ... + """The reasons for the current status of the updated gateway target.""" + name: str + """The updated name of the gateway target.""" + description: str | None = ... + """The updated description of the gateway target.""" + target_configuration: TargetConfiguration + """ + The configuration for a gateway target. This structure defines how the + gateway connects to and interacts with the target endpoint. + """ + credential_provider_configurations: list[CredentialProviderConfiguration] + """The updated credential provider configurations for the gateway target.""" + last_synchronized_at: datetime | None = ... + """The date and time at which the targets were last synchronized.""" + metadata_configuration: MetadataConfiguration | None = ... + """The metadata configuration that was applied to the gateway target.""" + private_endpoint: PrivateEndpoint | None = ... + """The private endpoint configuration for the gateway target.""" + private_endpoint_managed_resources: list[ManagedResourceDetails] | None = ... + """ + The managed resources created by the gateway for private endpoint + connectivity. + """ + authorization_data: AuthorizationData | None = ... + """ + OAuth2 authorization data for the updated gateway target. This data is + returned when a target is configured with a credential provider with + authorization code grant type and requires user federation. + """ + protocol_type: str | None = ... + """The protocol type of the updated gateway target.""" + certificate_configurations: list[CertificateConfiguration] | None = ... + """ + The private certificate authority (CA) configurations for the gateway + target. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateHarnessEndpointInput(_SerdeShape): + """Dataclass for UpdateHarnessEndpointInput structure.""" + + harness_id: str | None = ... + """The ID of the harness that the endpoint belongs to.""" + endpoint_name: str | None = ... + """The name of the endpoint to update.""" + target_version: str | None = ... + """ + The harness version that the endpoint points to. If not specified, the + existing value is retained. + """ + description: str | None = ... + """ + A description of the endpoint. If not specified, the existing value is + retained. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateHarnessEndpointOutput(_SerdeShape): + """Dataclass for UpdateHarnessEndpointOutput structure.""" + + endpoint: HarnessEndpoint + """The updated endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateHarnessInput(_SerdeShape): + """Dataclass for UpdateHarnessInput structure.""" + + harness_id: str | None = ... + """The ID of the harness to update.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. + + This field is autopopulated if not provided. + """ + execution_role_arn: str | None = ... + """ + The ARN of the IAM role that the harness assumes when running. If not + specified, the existing value is retained. + """ + environment: HarnessEnvironmentProviderRequest | None = ... + """ + The compute environment configuration for the harness. If not specified, + the existing value is retained. + """ + environment_artifact: UpdatedHarnessEnvironmentArtifact | None = ... + """ + The environment artifact for the harness. Use the optionalValue wrapper + to set a new value, or set it to null to clear the existing + configuration. + """ + environment_variables: dict[str, str] | None = ... + """ + Environment variables to set in the harness runtime environment. If + specified, this replaces all existing environment variables. If not + specified, the existing value is retained. + """ + authorizer_configuration: UpdatedAuthorizerConfiguration | None = ... + """ + Wrapper for updating an optional AuthorizerConfiguration field with + PATCH semantics. When present in an update request, the authorizer + configuration is replaced with optionalValue. When absent, the + authorizer configuration is left unchanged. To unset, include the + wrapper with optionalValue not specified. + """ + model: HarnessModelConfiguration | None = ... + """ + The model configuration for the harness. If not specified, the existing + value is retained. + """ + system_prompt: list[HarnessSystemContentBlock] | None = ... + """ + The system prompt that defines the agent's behavior. If not specified, + the existing value is retained. + """ + tools: list[HarnessTool] | None = ... + """ + The tools available to the agent. If specified, this replaces all + existing tools. If not specified, the existing value is retained. + """ + skills: list[HarnessSkill] | None = ... + """ + The skills available to the agent. If specified, this replaces all + existing skills. If not specified, the existing value is retained. + """ + allowed_tools: list[str] | None = ... + """ + The tools that the agent is allowed to use. If specified, this replaces + all existing allowed tools. If not specified, the existing value is + retained. + """ + memory: UpdatedHarnessMemoryConfiguration | None = ... + """ + The AgentCore Memory configuration. Use the optionalValue wrapper to set + a new value, or set it to null to clear the existing configuration. + """ + truncation: HarnessTruncationConfiguration | None = ... + """ + The truncation configuration for managing conversation context. If not + specified, the existing value is retained. + """ + hooks: list[HarnessHook] | None = ... + """ + The lifecycle hooks to run at defined points in the agent loop. If + specified, this replaces all existing hooks. If not specified, the + existing hooks are retained. + """ + max_iterations: int | None = ... + """ + The maximum number of iterations the agent loop can execute per + invocation. If not specified, the existing value is retained. + """ + max_tokens: int | None = ... + """ + The maximum total number of output tokens the agent can generate across + all model calls within a single invocation. If not specified, the + existing value is retained. + """ + timeout_seconds: int | None = ... + """ + The maximum duration in seconds for the agent loop execution per + invocation. If not specified, the existing value is retained. + """ + +@dataclass(kw_only=True) +class UpdateHarnessOutput(_SerdeShape): + """Dataclass for UpdateHarnessOutput structure.""" + + harness: Harness + """The updated harness.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateMemoryInput(_SerdeShape): + """Dataclass for UpdateMemoryInput structure.""" + + client_token: str | None = ... + """ + A client token is used for keeping track of idempotent requests. It can + contain a session id which can be around 250 chars, combined with a + unique Amazon Web Services identifier. + + This field is autopopulated if not provided. + """ + memory_id: str | None = ... + """The unique identifier of the memory to update.""" + description: str | None = ... + """The updated description of the AgentCore Memory resource.""" + event_expiry_duration: int | None = ... + """ + The number of days after which memory events expire, between 7 and 3650 + days. + """ + memory_execution_role_arn: str | None = ... + """ + The ARN of the IAM role that provides permissions for the AgentCore + Memory resource. + """ + memory_strategies: ModifyMemoryStrategies | None = ... + """The memory strategies to add, modify, or delete.""" + add_indexed_keys: list[IndexedKey] | None = ... + """ + Additional metadata keys to index. Previously indexed keys cannot be + removed. + """ + namespace_keys: list[NamespaceKeyEntry] | None = ... + """ + The namespace variable key definitions with validation rules for this + memory. This value fully replaces the existing set --- any key you omit + is removed. Any referenced `namespaceKey` omission will throw + ValidationException. + """ + stream_delivery_resources: StreamDeliveryResources | None = ... + """Configuration for streaming memory record data to external resources.""" + +@dataclass(kw_only=True) +class UpdateMemoryOutput(_SerdeShape): + """Dataclass for UpdateMemoryOutput structure.""" + + memory: Memory | None = ... + """The updated AgentCore Memory resource details.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateOauth2CredentialProviderInput(_SerdeShape): + """Dataclass for UpdateOauth2CredentialProviderInput structure.""" + + name: str | None = ... + """The name of the OAuth2 credential provider to update.""" + credential_provider_vendor: str | None = ... + """The vendor of the OAuth2 credential provider.""" + oauth2_provider_config_input: Oauth2ProviderConfigInput | None = ... + """The configuration input for the OAuth2 provider.""" + +@dataclass(kw_only=True) +class UpdateOauth2CredentialProviderOutput(_SerdeShape): + """Dataclass for UpdateOauth2CredentialProviderOutput structure.""" + + client_secret_arn: Secret + """ + The Amazon Resource Name (ARN) of the client secret in Amazon Web + Services Secrets Manager. + """ + client_secret_json_key: str | None = ... + """ + The JSON key used to extract the client secret value from the Amazon Web + Services Secrets Manager secret. + """ + client_secret_source: str | None = ... + """ + The source type of the client secret. Either `MANAGED` if the secret is + managed by the service, or `EXTERNAL` if managed by the user in Amazon + Web Services Secrets Manager. + """ + name: str + """The name of the OAuth2 credential provider.""" + credential_provider_vendor: str + """The vendor of the OAuth2 credential provider.""" + credential_provider_arn: str + """The Amazon Resource Name (ARN) of the OAuth2 credential provider.""" + callback_url: str | None = ... + """ + Callback URL to register on the OAuth2 credential provider as an allowed + callback URL. This URL is where the OAuth2 authorization server + redirects users after they complete the authorization flow. + """ + oauth2_provider_config_output: Oauth2ProviderConfigOutput + """The configuration output for the OAuth2 provider.""" + created_time: datetime + """The timestamp when the OAuth2 credential provider was created.""" + last_updated_time: datetime + """The timestamp when the OAuth2 credential provider was last updated.""" + status: str | None = ... + """The current status of the updated OAuth2 credential provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateOnlineEvaluationConfigInput(_SerdeShape): + """Dataclass for UpdateOnlineEvaluationConfigInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + online_evaluation_config_id: str | None = ... + """The unique identifier of the online evaluation configuration to update.""" + description: str | None = ... + """The updated description of the online evaluation configuration.""" + rule: Rule | None = ... + """ + The updated evaluation rule containing sampling configuration, filters, + and session settings. + """ + data_source_config: DataSourceConfig | None = ... + """ + The updated data source configuration specifying CloudWatch log groups + and service names to monitor. + """ + evaluators: list[EvaluatorReference] | None = ... + """The updated list of evaluators to apply during online evaluation.""" + insights: list[Insight] | None = ... + """The updated list of insight types to run against agent sessions.""" + clustering_config: ClusteringConfig | None = ... + """The updated clustering configuration for periodic batch evaluation.""" + output_config: OutputConfig | None = ... + """ + The configuration that specifies where evaluation results should be + written for monitoring and analysis. + """ + evaluation_execution_role_arn: str | None = ... + """ + The updated Amazon Resource Name (ARN) of the IAM role used for + evaluation execution. + """ + execution_status: str | None = ... + """The updated execution status to enable or disable the online evaluation.""" + +@dataclass(kw_only=True) +class UpdateOnlineEvaluationConfigOutput(_SerdeShape): + """Dataclass for UpdateOnlineEvaluationConfigOutput structure.""" + + online_evaluation_config_arn: str + """ + The Amazon Resource Name (ARN) of the updated online evaluation + configuration. + """ + online_evaluation_config_id: str + """The unique identifier of the updated online evaluation configuration.""" + updated_at: datetime + """The timestamp when the online evaluation configuration was last updated.""" + status: str + """The status of the online evaluation configuration.""" + execution_status: str + """ + The execution status indicating whether the online evaluation is + currently running. + """ + failure_reason: str | None = ... + """ + The reason for failure if the online evaluation configuration update or + execution failed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatePaymentConnectorInput(_SerdeShape): + """Dataclass for UpdatePaymentConnectorInput structure.""" + + payment_manager_id: str | None = ... + """The unique identifier of the parent payment manager.""" + payment_connector_id: str | None = ... + """The unique identifier of the payment connector to update.""" + description: str | None = ... + """The updated description of the payment connector.""" + type: str | None = ... + """The updated type of the payment connector.""" + credential_provider_configurations: ( + list[CredentialsProviderConfiguration] | None + ) = ... + """ + The updated credential provider configurations for the payment + connector. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdatePaymentConnectorOutput(_SerdeShape): + """Dataclass for UpdatePaymentConnectorOutput structure.""" + + payment_connector_id: str + """The unique identifier of the updated payment connector.""" + payment_manager_id: str + """The unique identifier of the parent payment manager.""" + name: str + """The name of the updated payment connector.""" + type: str + """The type of the updated payment connector.""" + credential_provider_configurations: list[CredentialsProviderConfiguration] + """ + The credential provider configurations for the updated payment + connector. + """ + last_updated_at: datetime + """The timestamp when the payment connector was last updated.""" + status: str + """ + The current status of the updated payment connector. Possible values + include `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, + `UPDATE_FAILED`, and `DELETE_FAILED`. + """ + authorization_url: str | None = ... + """ + The URL that the user must open to complete OAuth consent. This field is + only present when the payment connector status is + `PENDING_AUTHENTICATION`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatePaymentCredentialProviderInput(_SerdeShape): + """Dataclass for UpdatePaymentCredentialProviderInput structure.""" + + name: str | None = ... + """The name of the payment credential provider to update.""" + credential_provider_vendor: str | None = ... + """ + The vendor type for the payment credential provider (e.g., CoinbaseCDP, + StripePrivy). + """ + provider_configuration_input: PaymentProviderConfigurationInput | None = ... + """Configuration specific to the vendor, including API credentials.""" + +@dataclass(kw_only=True) +class UpdatePaymentCredentialProviderOutput(_SerdeShape): + """Dataclass for UpdatePaymentCredentialProviderOutput structure.""" + + name: str + """The name of the updated payment credential provider.""" + credential_provider_vendor: str + """The vendor type for the updated payment credential provider.""" + credential_provider_arn: str + """ + The Amazon Resource Name (ARN) of the updated payment credential + provider. + """ + provider_configuration_output: PaymentProviderConfigurationOutput + """ + Output configuration (contains secret ARNs, excludes actual secret + values). + """ + created_time: datetime + """The timestamp when the payment credential provider was created.""" + last_updated_time: datetime + """The timestamp when the payment credential provider was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatePaymentManagerInput(_SerdeShape): + """Dataclass for UpdatePaymentManagerInput structure.""" + + payment_manager_id: str | None = ... + """The unique identifier of the payment manager to update.""" + description: str | None = ... + """The updated description of the payment manager.""" + authorizer_type: str | None = ... + """The updated authorizer type for the payment manager.""" + authorizer_configuration: AuthorizerConfiguration | None = ... + """The updated authorizer configuration for the payment manager.""" + role_arn: str | None = ... + """ + The updated Amazon Resource Name (ARN) of the IAM role for the payment + manager. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If you don't specify this field, a + value is randomly generated for you. If this token matches a previous + request, the service ignores the request, but doesn't return an error. + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + kms_key_arn: str | None = ... + """ + The updated Amazon Resource Name (ARN) of the customer managed KMS key + used to encrypt sensitive payment manager data at rest. + """ + +@dataclass(kw_only=True) +class UpdatePaymentManagerOutput(_SerdeShape): + """Dataclass for UpdatePaymentManagerOutput structure.""" + + payment_manager_arn: str + """The Amazon Resource Name (ARN) of the updated payment manager.""" + payment_manager_id: str + """The unique identifier of the updated payment manager.""" + name: str + """The name of the updated payment manager.""" + authorizer_type: str + """The type of authorizer for the updated payment manager.""" + role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role associated with the + updated payment manager. + """ + workload_identity_details: WorkloadIdentityDetails | None = ... + """The information about the workload identity.""" + last_updated_at: datetime + """The timestamp when the payment manager was last updated.""" + status: str + """ + The current status of the updated payment manager. Possible values + include `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, + `UPDATE_FAILED`, and `DELETE_FAILED`. + """ + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive + payment manager data at rest, if configured. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatePolicyEngineInput(_SerdeShape): + """Dataclass for UpdatePolicyEngineInput structure.""" + + policy_engine_id: str | None = ... + """The unique identifier of the policy engine to be updated.""" + description: UpdatedDescription | None = ... + """The new description for the policy engine.""" + +@dataclass(kw_only=True) +class UpdatePolicyEngineOutput(_SerdeShape): + """Dataclass for UpdatePolicyEngineOutput structure.""" + + policy_engine_id: str + """The unique identifier of the updated policy engine.""" + name: str + """The name of the updated policy engine.""" + created_at: datetime + """The original creation timestamp of the policy engine.""" + updated_at: datetime + """The timestamp when the policy engine was last updated.""" + policy_engine_arn: str + """The ARN of the updated policy engine.""" + status: str + """The current status of the updated policy engine.""" + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy + engine data. + """ + description: str | None = ... + """The updated description of the policy engine.""" + status_reasons: list[str] + """Additional information about the update status.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatePolicyInput(_SerdeShape): + """Dataclass for UpdatePolicyInput structure.""" + + policy_engine_id: str | None = ... + """ + The identifier of the policy engine that manages the policy to be + updated. This ensures the policy is updated within the correct policy + engine context. + """ + policy_id: str | None = ... + """ + The unique identifier of the policy to be updated. This must be a valid + policy ID that exists within the specified policy engine. + """ + description: UpdatedDescription | None = ... + """ + The new human-readable description for the policy. This optional field + allows updating the policy's documentation while keeping the same + policy logic. + """ + definition: PolicyDefinition | None = ... + """ + The new Cedar or Dogwood policy statement that defines the access + control rules. This replaces the existing policy definition with new + logic while maintaining the policy's identity. + """ + validation_mode: str = ... + """ + The validation mode for the policy update. Determines how Cedar analyzer + validation results are handled during policy updates. + FAIL_ON_ANY_FINDINGS runs the Cedar analyzer and fails the update if + validation issues are detected, ensuring the policy conforms to the + Cedar schema and tool context. IGNORE_ALL_FINDINGS runs the Cedar + analyzer but allows updates despite validation warnings. Use + FAIL_ON_ANY_FINDINGS to ensure policy correctness during updates, + especially when modifying policy logic or conditions. + """ + enforcement_mode: str | None = ... + """ + The enforcement mode for the policy. Run this policy in `LOG_ONLY` mode + to collect data on how it affects your application. Once you are + satisfied with the data gathered, switch the policy to `ACTIVE`. If you + omit this field, the policy's existing enforcement mode is unchanged. + """ + +@dataclass(kw_only=True) +class UpdatePolicyOutput(_SerdeShape): + """Dataclass for UpdatePolicyOutput structure.""" + + policy_id: str + """The unique identifier of the updated policy.""" + name: str + """The name of the updated policy.""" + policy_engine_id: str + """The identifier of the policy engine managing the updated policy.""" + created_at: datetime + """The original creation timestamp of the policy.""" + updated_at: datetime + """The timestamp when the policy was last updated.""" + policy_arn: str + """The ARN of the updated policy.""" + status: str + """The current status of the updated policy.""" + enforcement_mode: str = ... + """The current enforcement mode of the updated policy.""" + definition: PolicyDefinition + """The updated Cedar or Dogwood policy statement.""" + description: str | None = ... + """The updated description of the policy.""" + status_reasons: list[str] + """Additional information about the update status.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRegistryInput(_SerdeShape): + """Dataclass for UpdateRegistryInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry to update. You can specify either the + Amazon Resource Name (ARN) or the ID of the registry. + """ + name: str | None = ... + """The updated name of the registry.""" + description: UpdatedDescription | None = ... + """ + The updated description of the registry. To clear the description, + include the `UpdatedDescription` wrapper with `optionalValue` not + specified. + """ + authorizer_configuration: UpdatedAuthorizerConfiguration | None = ... + """ + The updated authorizer configuration for the registry. Changing the + authorizer configuration can break existing consumers of the registry + who are using the authorization type prior to the update. + """ + approval_configuration: UpdatedApprovalConfiguration | None = ... + """ + The updated approval configuration for registry records. The updated + configuration only affects new records that move to `PENDING_APPROVAL` + status after the change. Existing records already in `PENDING_APPROVAL` + status are not affected. + """ + +@dataclass(kw_only=True) +class UpdateRegistryOutput(_SerdeShape): + """Dataclass for UpdateRegistryOutput structure.""" + + name: str + """The name of the updated registry.""" + description: str | None = ... + """The description of the updated registry.""" + registry_id: str + """The unique identifier of the updated registry.""" + registry_arn: str + """The Amazon Resource Name (ARN) of the updated registry.""" + authorizer_type: str | None = ... + """ + The type of authorizer used by the updated registry. This controls the + authorization method for the Search and Invoke APIs used by consumers. + + - `CUSTOM_JWT` - Authorize with a bearer token. + + - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. + """ + authorizer_configuration: AuthorizerConfiguration | None = ... + """ + The authorizer configuration for the updated registry. For details, see + the `AuthorizerConfiguration` data type. + """ + approval_configuration: ApprovalConfiguration | None = ... + """ + The approval configuration for the updated registry. For details, see + the `ApprovalConfiguration` data type. + """ + status: str + """ + The current status of the updated registry. Possible values include + `CREATING`, `READY`, `UPDATING`, `CREATE_FAILED`, `UPDATE_FAILED`, + `DELETING`, and `DELETE_FAILED`. + """ + status_reason: str | None = ... + """The reason for the current status of the updated registry.""" + created_at: datetime + """The timestamp when the registry was created.""" + updated_at: datetime + """The timestamp when the registry was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRegistryRecordInput(_SerdeShape): + """Dataclass for UpdateRegistryRecordInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry containing the record. You can specify + either the Amazon Resource Name (ARN) or the ID of the registry. + """ + record_id: str | None = ... + """ + The identifier of the registry record to update. You can specify either + the Amazon Resource Name (ARN) or the ID of the record. + """ + name: str | None = ... + """The updated name for the registry record.""" + description: UpdatedDescription | None = ... + """ + The updated description for the registry record. To clear the + description, include the `UpdatedDescription` wrapper with + `optionalValue` not specified. + """ + descriptor_type: str | None = ... + """ + The updated descriptor type for the registry record. Changing the + descriptor type may require updating the `descriptors` field to match + the new type's schema requirements. + """ + descriptors: UpdatedDescriptors | None = ... + """ + The updated descriptor-type-specific configuration containing the + resource schema and metadata. Uses PATCH semantics where individual + descriptor fields can be updated independently. + """ + record_version: str | None = ... + """ + The version of the registry record for optimistic locking. If provided, + it must match the current version of the record. The service + automatically increments the version after a successful update. + """ + synchronization_type: UpdatedSynchronizationType | None = ... + """The updated synchronization type for the registry record.""" + synchronization_configuration: UpdatedSynchronizationConfiguration | None = ... + """The updated synchronization configuration for the registry record.""" + trigger_synchronization: bool | None = ... + """ + Whether to trigger synchronization using the stored or provided + configuration. When set to `true`, the service will synchronize the + record metadata from the configured external source. + """ + +@dataclass(kw_only=True) +class UpdateRegistryRecordOutput(_SerdeShape): + """Dataclass for UpdateRegistryRecordOutput structure.""" + + registry_arn: str + """ + The Amazon Resource Name (ARN) of the registry that contains the updated + record. + """ + record_arn: str + """The Amazon Resource Name (ARN) of the updated registry record.""" + record_id: str + """The unique identifier of the updated registry record.""" + name: str + """The name of the updated registry record.""" + description: str | None = ... + """The description of the updated registry record.""" + descriptor_type: str + """ + The descriptor type of the updated registry record. Possible values are + `MCP`, `A2A`, `CUSTOM`, and `AGENT_SKILLS`. + """ + descriptors: Descriptors + """ + The descriptor-type-specific configuration of the updated registry + record. For details, see the `Descriptors` data type. + """ + record_version: str | None = ... + """The version of the updated registry record.""" + status: str + """ + The current status of the updated registry record. Possible values + include `CREATING`, `DRAFT`, `APPROVED`, `PENDING_APPROVAL`, `REJECTED`, + `DEPRECATED`, `UPDATING`, `CREATE_FAILED`, and `UPDATE_FAILED`. + """ + created_at: datetime + """The timestamp when the registry record was created.""" + updated_at: datetime + """The timestamp when the registry record was last updated.""" + status_reason: str | None = ... + """The reason for the current status of the updated registry record.""" + synchronization_type: str | None = ... + """The synchronization type of the updated registry record.""" + synchronization_configuration: SynchronizationConfiguration | None = ... + """The synchronization configuration of the updated registry record.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRegistryRecordStatusInput(_SerdeShape): + """Dataclass for UpdateRegistryRecordStatusInput structure.""" + + registry_id: str | None = ... + """ + The identifier of the registry containing the record. You can specify + either the Amazon Resource Name (ARN) or the ID of the registry. + """ + record_id: str | None = ... + """ + The identifier of the registry record to update the status for. You can + specify either the Amazon Resource Name (ARN) or the ID of the record. + """ + status: str | None = ... + """The target status for the registry record.""" + status_reason: str | None = ... + """ + The reason for the status change, such as why the record was approved or + rejected. + """ + +@dataclass(kw_only=True) +class UpdateRegistryRecordStatusOutput(_SerdeShape): + """Dataclass for UpdateRegistryRecordStatusOutput structure.""" + + registry_arn: str + """The Amazon Resource Name (ARN) of the registry that contains the record.""" + record_arn: str + """The Amazon Resource Name (ARN) of the registry record.""" + record_id: str + """The unique identifier of the registry record.""" + status: str + """The resulting status of the registry record.""" + status_reason: str + """The reason for the status change.""" + updated_at: datetime + """The timestamp when the record was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateWorkloadIdentityInput(_SerdeShape): + """Dataclass for UpdateWorkloadIdentityInput structure.""" + + name: str | None = ... + """The name of the workload identity to update.""" + allowed_resource_oauth2_return_urls: list[str] | None = ... + """ + The new list of allowed OAuth2 return URLs for resources associated with + this workload identity. This list replaces the existing list. + """ + +@dataclass(kw_only=True) +class UpdateWorkloadIdentityOutput(_SerdeShape): + """Dataclass for UpdateWorkloadIdentityOutput structure.""" + + name: str + """The name of the workload identity.""" + workload_identity_arn: str + """The Amazon Resource Name (ARN) of the workload identity.""" + allowed_resource_oauth2_return_urls: list[str] | None = ... + """ + The list of allowed OAuth2 return URLs for resources associated with + this workload identity. + """ + created_time: datetime + """The timestamp when the workload identity was created.""" + last_updated_time: datetime + """The timestamp when the workload identity was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UserPreferenceConsolidationOverride(_SerdeShape): + """Contains user preference consolidation override configuration.""" + + append_to_prompt: str + """The text to append to the prompt for user preference consolidation.""" + model_id: str + """The model ID to use for user preference consolidation.""" + +@dataclass(kw_only=True) +class UserPreferenceExtractionOverride(_SerdeShape): + """Contains user preference extraction override configuration.""" + + append_to_prompt: str + """The text to append to the prompt for user preference extraction.""" + model_id: str + """The model ID to use for user preference extraction.""" + +@dataclass(kw_only=True) +class UserPreferenceMemoryStrategyInput(_SerdeShape): + """Input for creating a user preference memory strategy.""" + + name: str + """The name of the user preference memory strategy.""" + description: str | None = ... + """The description of the user preference memory strategy.""" + namespaces: list[str] | None = ... + """ + This is a legacy parameter, use `namespaceTemplates`. The namespaces + associated with the user preference memory strategy. + """ + namespace_templates: list[str] | None = ... + """ + The namespaceTemplates associated with the user preference memory + strategy. + """ + memory_record_schema: MemoryRecordSchema | None = ... + """Schema for metadata fields on records generated by this strategy.""" + record_expiry_specification: RecordExpirySpecification | None = ... + """ + The record expiry (long-term memory time-to-live) configuration for + memory records generated by this strategy. Set + `recordExpiryDurationDays` to the number of days after which records + expire. If not specified, records generated by this strategy do not + expire. + """ + +@dataclass(kw_only=True) +class UserPreferenceOverrideConfigurationInput(_SerdeShape): + """Input for user preference override configuration in a memory strategy.""" + + extraction: UserPreferenceOverrideExtractionConfigurationInput | None = ... + """The extraction configuration for a user preference override.""" + consolidation: UserPreferenceOverrideConsolidationConfigurationInput | None = ... + """The consolidation configuration for a user preference override.""" + +@dataclass(kw_only=True) +class UserPreferenceOverrideConsolidationConfigurationInput(_SerdeShape): + """ + Input for user preference override consolidation configuration in a + memory strategy. + """ + + append_to_prompt: str + """The text to append to the prompt for user preference consolidation.""" + model_id: str + """The model ID to use for user preference consolidation.""" + +@dataclass(kw_only=True) +class UserPreferenceOverrideExtractionConfigurationInput(_SerdeShape): + """ + Input for user preference override extraction configuration in a memory + strategy. + """ + + append_to_prompt: str + """The text to append to the prompt for user preference extraction.""" + model_id: str + """The model ID to use for user preference extraction.""" + +@dataclass +class ValidationStringValidation(_SerdeShape): + """Validation for STRING fields.""" + + value: StringValidation + +@dataclass +class ValidationStringListValidation(_SerdeShape): + """Validation for STRINGLIST fields.""" + + value: StringListValidation + +@dataclass +class ValidationNumberValidation(_SerdeShape): + """Validation for NUMBER fields.""" + + value: NumberValidation + +@dataclass +class ValidationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Validation = Union[ + ValidationStringValidation + | ValidationStringListValidation + | ValidationNumberValidation + | ValidationUnknown +] +""" +Validation rules for extracted metadata values. Only one type can be +specified, matching the field's data type. +""" + +class _ValidationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Validation: ... + +@dataclass(kw_only=True) +class ValidationException(ServiceError, _SerdeShape): + """The input fails to satisfy the constraints specified by the service.""" + + reason: str + field_list: list[ValidationExceptionField] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ValidationExceptionField(_SerdeShape): + """ + Stores information about a field passed inside a request that resulted + in an exception. + """ + + name: str + """The name of the field.""" + message: str + """A message describing why this field failed validation.""" + +class ValidationExceptionReason(UnknownEnumMixin, StrEnum): + CANNOT_PARSE = "CannotParse" + FIELD_VALIDATION_FAILED = "FieldValidationFailed" + IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION = "IdempotentParameterMismatchException" + ROOT_EVENT_IN_OTHER_SESSION = "EventInOtherSession" + RESOURCE_CONFLICT = "ResourceConflict" + +@dataclass(kw_only=True) +class VersionCreatedBySource(_SerdeShape): + """The source that created a configuration bundle version.""" + + name: str + """ + The name of the source (for example, `user`, `optimization-job`, or + `system`). + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the source, if applicable (for + example, a user ARN or optimization job ARN). + """ + +@dataclass(kw_only=True) +class VersionFilter(_SerdeShape): + """A filter for listing configuration bundle versions.""" + + branch_name: str | None = ... + """Filter by branch name.""" + created_by_name: str | None = ... + """Filter by creation source name.""" + latest_per_branch: bool | None = ... + """ + When true, returns only the latest version for each branch. When false + or not specified, returns all versions. Can be combined with + `branchName` to get the latest version for a specific branch. + """ + +@dataclass(kw_only=True) +class VersionLineageMetadata(_SerdeShape): + """ + The version lineage metadata that tracks parent versions and creation + source. Supports git-like two-parent merges for branch management. + """ + + parent_version_ids: list[str] | None = ... + """ + A list of parent version identifiers. Regular commits have 0-1 parents. + Merge commits have 2 parents: the target branch parent and the source + branch parent. The first parent represents the primary lineage. + """ + branch_name: str | None = ... + """ + The branch name for this version. If not specified, inherits the + parent's branch or defaults to `mainline`. + """ + created_by: VersionCreatedBySource | None = ... + """The source that created this version.""" + commit_message: str | None = ... + """A commit message describing the changes in this version.""" + +@dataclass +class VolumeConfigurationEbsConfiguration(_SerdeShape): + """The configuration for an Amazon EBS-backed persistent volume.""" + + value: EbsVolumeConfiguration + +@dataclass +class VolumeConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +VolumeConfiguration = Union[ + VolumeConfigurationEbsConfiguration | VolumeConfigurationUnknown +] +""" +The configuration for a persistent volume attached to a capacity +provider. This structure defines the storage backing for the persistent +volumes used by agents that run on capacity provider instances. +""" + +class _VolumeConfigurationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> VolumeConfiguration: ... + +@dataclass(kw_only=True) +class VpcConfig(_SerdeShape): + """VpcConfig for the Agent.""" + + security_groups: list[str] + """The security groups associated with the VPC configuration.""" + subnets: list[str] + """The subnets associated with the VPC configuration.""" + require_service_s3_endpoint: bool | None = ... + """ + Note: + This field applies only to Agent Runtimes. It is not applicable to + Browsers or Code Interpreters. + + Controls whether a service-managed Amazon S3 gateway endpoint is + provisioned in the VPC network topology for the agent runtime. This + gateway is used by Amazon Bedrock AgentCore Runtime to download code and + container images during agent startup. + + Starting May 5, 2026, Amazon Bedrock AgentCore Runtime is gradually + rolling out a change to how network isolation is configured for VPC mode + agents. Agent runtimes created on or after this rollout will no longer + include the service-managed Amazon S3 gateway. Instead, all network + access, including to Amazon S3, is governed exclusively by your VPC + configuration. This field cannot be set on agent runtimes created after + the rollout. Passing this field in an `UpdateAgentRuntime` request for + these agent runtimes returns a `ValidationException`. + + Agent runtimes created before the rollout are not affected and continue + to operate with the service-managed Amazon S3 gateway. To enforce full + VPC network isolation on these existing agent runtimes, set this field + to `false` via the `UpdateAgentRuntime` API. Before opting out, ensure + your VPC provides the Amazon S3 access required for agent startup. If + this field is not specified or is set to `true`, the service-managed + Amazon S3 gateway remains provisioned. + + This field is only supported in the `UpdateAgentRuntime` API for + pre-rollout agent runtimes. Passing this field in a `CreateAgentRuntime` + request returns a `ValidationException`. + """ + +@dataclass(kw_only=True) +class VpcConfiguration(_SerdeShape): + """The VPC configuration for launching Amazon EC2 instances.""" + + subnets: list[str] + """ + The IDs of the subnets in which to launch instances. You must specify at + least one subnet. + """ + security_groups: list[str] + """ + The IDs of the security groups to associate with the instances. You must + specify at least one security group. + """ + +@dataclass(kw_only=True) +class WafConfiguration(_SerdeShape): + """ + The Amazon Web Services WAF configuration for the gateway. This + configuration controls how the gateway behaves when the associated web + ACL cannot be evaluated. + """ + + failure_mode: str | None = ... + """ + The failure mode that determines how the gateway handles requests when + Amazon Web Services WAF is unreachable or times out. Valid values + include: + + - `FAIL_CLOSE` - The gateway blocks requests when Amazon Web Services + WAF cannot be evaluated. + + - `FAIL_OPEN` - The gateway allows requests when Amazon Web Services WAF + cannot be evaluated. + """ + +class WafFailureMode(UnknownEnumMixin, StrEnum): + FAIL_CLOSE = "FAIL_CLOSE" + FAIL_OPEN = "FAIL_OPEN" + +@dataclass(kw_only=True) +class WeightedOverride(_SerdeShape): + """ + A weighted configuration bundle override that splits traffic between + multiple bundle versions. + """ + + traffic_split: list[TrafficSplitEntry] + """ + The traffic split entries defining how traffic is distributed between + configuration bundle versions. + """ + +@dataclass(kw_only=True) +class WeightedRoute(_SerdeShape): + """A weighted route that splits traffic between multiple gateway targets.""" + + traffic_split: list[TargetTrafficSplitEntry] + """ + The traffic split entries defining how traffic is distributed between + targets. + """ + +@dataclass(kw_only=True) +class WorkloadIdentityDetails(_SerdeShape): + """The information about the workload identity.""" + + workload_identity_arn: str + """The ARN associated with the workload identity.""" + +@dataclass(kw_only=True) +class WorkloadIdentityType(_SerdeShape): + """Contains information about a workload identity.""" + + name: str + """The name of the workload identity.""" + workload_identity_arn: str + """The Amazon Resource Name (ARN) of the workload identity.""" + +@dataclass(kw_only=True) +class Unit(_SerdeShape): + """Dataclass for Unit structure.""" diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas.py index c4c59da54..1c42d6ce8 100644 --- a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas.py +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas.py @@ -1,19256 +1,1617 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.bedrockagentcorecontrol" -_IC = "InlineContent" -_SV = "SchemaVersion" -_ACD = "AgentCardDefinition" -_sV = "schemaVersion" -_iC = "inlineContent" -_AD = "A2aDescriptor" -_aC = "agentCard" -_NBS = "NonBlankString" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_m = "message" -_GCBA = "GatewayConfigurationBundleArn" -_SO = "StaticOverride" -_bA = "bundleArn" -_sm = "smithy.api#required" -_bV = "bundleVersion" -_CBR = "ConfigurationBundleReference" -_TSMK = "TrafficSplitMetadataKey" -_TSMV = "TrafficSplitMetadataValue" -_TSMM = "TrafficSplitMetadataMap" -_k = "key" -_v = "value" -_TSE = "TrafficSplitEntry" -_n = "name" -_w = "weight" -_cB = "configurationBundle" -_d = "description" -_me = "metadata" -_TSEr = "TrafficSplitEntries" -_mem = "member" -_WO = "WeightedOverride" -_tS = "trafficSplit" -_CBA = "ConfigurationBundleAction" -_sO = "staticOverride" -_wO = "weightedOverride" -_CBM = "CircuitBreakerMode" -_ENABLED = "ENABLED" -_sVm = "smithy.api#enumValue" -_DISABLED = "DISABLED" -_CBC = "CircuitBreakerConfiguration" -_mo = "mode" -_smi = "smithy.api#default" -_CMI = "ConcreteModelId" -_TN = "TargetName" -_smit = "smithy.api#sensitive" -_FE = "FallbackError" -_CE = "CONNECTION_ERROR" -_FBT = "FIRST_BYTE_TIMEOUT" -_UNROUTABLE = "UNROUTABLE" -_FEa = "FallbackErrors" -_ESCP = "ErrorStatusCodePattern" -_ESCPr = "ErrorStatusCodePatterns" -_FT = "FallbackTriggers" -_sC = "statusCodes" -_e = "errors" -_FTa = "FallbackTarget" -_tN = "targetName" -_mod = "model" -_tO = "triggerOn" -_fBTM = "firstByteTimeoutMilliseconds" -_TF = "TargetFallbacks" -_F = "Fallback" -_cBi = "circuitBreaker" -_tF = "targetFallback" -_SR = "StaticRoute" -_f = "fallback" -_TTSE = "TargetTrafficSplitEntry" -_TTSEa = "TargetTrafficSplitEntries" -_WR = "WeightedRoute" -_RTTA = "RouteToTargetAction" -_sR = "staticRoute" -_wR = "weightedRoute" -_A = "Action" -_rTT = "routeToTarget" -_Ac = "Actions" -_ATCT = "ActorTokenContentType" -_NONE = "NONE" -_MM = "M2M" -_AIITJ = "AWS_IAM_ID_TOKEN_JWT" -_CT = "ClientToken" -_DI = "DatasetId" -_SJ = "SensitiveJson" -_DEL = "DatasetExampleList" -_IES = "InlineExamplesSource" -_ex = "examples" -_SU = "S3Uri" -_SS = "S3Source" -_sU = "s3Uri" -_DST = "DataSourceType" -_iE = "inlineExamples" -_sS = "s3Source" -_ADEI = "AddDatasetExamplesInput" -_sSI = "smithy.synthetic#originalShapeId" -_cADER = "com.amazonaws.bedrockagentcorecontrol#AddDatasetExamplesRequest" -_smith = "smithy.api#input" -_dI = "datasetId" -_sL = "smithy.api#httpLabel" -_cT = "clientToken" -_sT = "smithy.api#idempotencyToken" -_so = "source" -_DA = "DatasetArn" -_EI = "ExampleId" -_EIL = "ExampleIdList" -_DS = "DatasetStatus" -_CREATING = "CREATING" -_UPDATING = "UPDATING" -_DELETING = "DELETING" -_ACTIVE = "ACTIVE" -_CF = "CREATE_FAILED" -_UF = "UPDATE_FAILED" -_DF = "DELETE_FAILED" -_ADEO = "AddDatasetExamplesOutput" -_cADERo = "com.amazonaws.bedrockagentcorecontrol#AddDatasetExamplesResponse" -_smithy = "smithy.api#output" -_dA = "datasetArn" -_st = "status" -_aCd = "addedCount" -_uA = "updatedAt" -_eI = "exampleIds" -_CEo = "ConflictException" -_ISE = "InternalServerException" -_se = "server" -_RNFE = "ResourceNotFoundException" -_SQEE = "ServiceQuotaExceededException" -_TE = "ThrottlingException" -_VEF = "ValidationExceptionField" -_VEFL = "ValidationExceptionFieldList" -_VER = "ValidationExceptionReason" -_CP = "CANNOT_PARSE" -_CPa = "CannotParse" -_FVF = "FIELD_VALIDATION_FAILED" -_FVFi = "FieldValidationFailed" -_IPME = "IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION" -_IPMEd = "IdempotentParameterMismatchException" -_REIOS = "ROOT_EVENT_IN_OTHER_SESSION" -_EIOS = "EventInOtherSession" -_RC = "RESOURCE_CONFLICT" -_RCe = "ResourceConflict" -_VE = "ValidationException" -_r = "reason" -_fL = "fieldList" -_ADEd = "AddDatasetExamples" -_smithya = "smithy.api#http" -_ACN = "AdditionalClaimName" -_ACV = "AdditionalClaimValue" -_AC = "AdditionalClaims" -_AMRF = "AdditionalModelRequestFields" -_AST = "AllowedScopeType" -_ASMT = "AdvertisedScopeMappingType" -_AED = "AgentEndpointDescription" -_ARI = "AgentRuntimeId" -_ARV = "AgentRuntimeVersion" -_EN = "EndpointName" -_TK = "TagKey" -_TV = "TagValue" -_TM = "TagsMap" -_CAREI = "CreateAgentRuntimeEndpointInput" -_cCARER = "com.amazonaws.bedrockagentcorecontrol#CreateAgentRuntimeEndpointRequest" -_aRI = "agentRuntimeId" -_aRV = "agentRuntimeVersion" -_t = "tags" -_ARA = "AgentRuntimeArn" -_AREA = "AgentRuntimeEndpointArn" -_DT = "DateTimestamp" -_sF = "smithy.api#timestampFormat" -_dt = "date-time" -_ARES = "AgentRuntimeEndpointStatus" -_READY = "READY" -_CAREO = "CreateAgentRuntimeEndpointOutput" -_cCARERo = "com.amazonaws.bedrockagentcorecontrol#CreateAgentRuntimeEndpointResponse" -_tV = "targetVersion" -_aREA = "agentRuntimeEndpointArn" -_aRA = "agentRuntimeArn" -_eN = "endpointName" -_cA = "createdAt" -_CARE = "CreateAgentRuntimeEndpoint" -_DAREI = "DeleteAgentRuntimeEndpointInput" -_cDARER = "com.amazonaws.bedrockagentcorecontrol#DeleteAgentRuntimeEndpointRequest" -_sQ = "smithy.api#httpQuery" -_DAREO = "DeleteAgentRuntimeEndpointOutput" -_cDARERo = "com.amazonaws.bedrockagentcorecontrol#DeleteAgentRuntimeEndpointResponse" -_DARE = "DeleteAgentRuntimeEndpoint" -_GAREI = "GetAgentRuntimeEndpointInput" -_cGARER = "com.amazonaws.bedrockagentcorecontrol#GetAgentRuntimeEndpointRequest" -_AREI = "AgentRuntimeEndpointId" -_GAREO = "GetAgentRuntimeEndpointOutput" -_cGARERo = "com.amazonaws.bedrockagentcorecontrol#GetAgentRuntimeEndpointResponse" -_lV = "liveVersion" -_lUA = "lastUpdatedAt" -_fR = "failureReason" -_i = "id" -_GARE = "GetAgentRuntimeEndpoint" -_MR = "MaxResults" -_NT = "NextToken" -_LAREI = "ListAgentRuntimeEndpointsInput" -_cLARER = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimeEndpointsRequest" -_mR = "maxResults" -_nT = "nextToken" -_ARE = "AgentRuntimeEndpoint" -_AREg = "AgentRuntimeEndpoints" -_LAREO = "ListAgentRuntimeEndpointsOutput" -_cLARERo = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimeEndpointsResponse" -_rE = "runtimeEndpoints" -_LARE = "ListAgentRuntimeEndpoints" -_UAREI = "UpdateAgentRuntimeEndpointInput" -_cUARER = "com.amazonaws.bedrockagentcorecontrol#UpdateAgentRuntimeEndpointRequest" -_UAREO = "UpdateAgentRuntimeEndpointOutput" -_cUARERo = "com.amazonaws.bedrockagentcorecontrol#UpdateAgentRuntimeEndpointResponse" -_UARE = "UpdateAgentRuntimeEndpoint" -_AMRT = "AgentManagedRuntimeType" -_P = "PYTHON_3_10" -_P_ = "PYTHON_3_11" -_P__ = "PYTHON_3_12" -_P___ = "PYTHON_3_13" -_P____ = "PYTHON_3_14" -_N = "NODE_22" -_SL = "S3Location" -_b = "bucket" -_p = "prefix" -_vI = "versionId" -_C = "Code" -_s_ = "s3" -_eP = "entryPoint" -_EP = "EntryPoints" -_CC = "CodeConfiguration" -_co = "code" -_ru = "runtime" -_RCU = "RuntimeContainerUri" -_CCo = "ContainerConfiguration" -_cU = "containerUri" -_ARAg = "AgentRuntimeArtifact" -_cC = "containerConfiguration" -_cCo = "codeConfiguration" -_ARN = "AgentRuntimeName" -_Po = "Port" -_PR = "PortRange" -_fr = "from" -_to = "to" -_AP = "AllowedPort" -_po = "port" -_pR = "portRange" -_APl = "AllowedPorts" -_AA = "AllowedAudience" -_AAL = "AllowedAudienceList" -_ACl = "AllowedClient" -_ACL = "AllowedClientsList" -_ASTl = "AllowedScopesType" -_BARA = "BedrockAgentcoreResourceArn" -_HE = "HostingEnvironment" -_a = "arn" -_HELT = "HostingEnvironmentListType" -_WINT = "WorkloadIdentityNameType" -_WINLT = "WorkloadIdentityNameListType" -_AWC = "AllowedWorkloadConfiguration" -_hE = "hostingEnvironments" -_wI = "workloadIdentities" -_CBOAI = "CertificateBucketOwnerAccountId" -_CSU = "CertificateS3Uri" -_SCC = "S3CertificateConfiguration" -_u = "uri" -_bOAI = "bucketOwnerAccountId" -_CSA = "CertificateSecretArn" -_SMCC = "SecretsManagerCertificateConfiguration" -_sA = "secretArn" -_CCe = "CertificateConfiguration" -_sM = "secretsManager" -_CCL = "CertificateConfigurationList" -_CMOT = "ClaimMatchOperatorType" -_EQUALS = "EQUALS" -_CONTAINS = "CONTAINS" -_CA = "CONTAINS_ANY" -_MVS = "MatchValueString" -_MVSL = "MatchValueStringList" -_CMVT = "ClaimMatchValueType" -_mVS = "matchValueString" -_mVSL = "matchValueStringList" -_ACMVT = "AuthorizingClaimMatchValueType" -_cMV = "claimMatchValue" -_cMO = "claimMatchOperator" -_ITCNT = "InboundTokenClaimNameType" -_ITCVT = "InboundTokenClaimValueType" -_STRING = "STRING" -_SA = "STRING_ARRAY" -_CCVT = "CustomClaimValidationType" -_iTCN = "inboundTokenClaimName" -_iTCVT = "inboundTokenClaimValueType" -_aCMV = "authorizingClaimMatchValue" -_CCVTu = "CustomClaimValidationsType" -_DU = "DiscoveryUrl" -_EIAT = "EndpointIpAddressType" -_IPV = "IPV4" -_IPV_ = "IPV6" -_RD = "RoutingDomain" -_SGI = "SecurityGroupIdentifier" -_SGIe = "SecurityGroupIds" -_SI = "SubnetId" -_SIu = "SubnetIds" -_VI = "VpcIdentifier" -_MVR = "ManagedVpcResource" -_vIp = "vpcIdentifier" -_sI = "subnetIds" -_eIAT = "endpointIpAddressType" -_sGI = "securityGroupIds" -_rD = "routingDomain" -_RCI = "ResourceConfigurationIdentifier" -_SMLR = "SelfManagedLatticeResource" -_rCI = "resourceConfigurationIdentifier" -_PE = "PrivateEndpoint" -_sMLR = "selfManagedLatticeResource" -_mVR = "managedVpcResource" -_PEOD = "PrivateEndpointOverrideDomain" -_PEO = "PrivateEndpointOverride" -_do = "domain" -_pE = "privateEndpoint" -_PEOr = "PrivateEndpointOverrides" -_CJWTAC = "CustomJWTAuthorizerConfiguration" -_dU = "discoveryUrl" -_aA = "allowedAudience" -_aCl = "allowedClients" -_aS = "allowedScopes" -_aSM = "advertisedScopeMapping" -_cCu = "customClaims" -_pEO = "privateEndpointOverrides" -_cCe = "certificateConfigurations" -_aWC = "allowedWorkloadConfiguration" -_ACu = "AuthorizerConfiguration" -_cJWTA = "customJWTAuthorizer" -_CPA = "CapacityProviderArn" -_CPC = "CapacityProviderConfiguration" -_cPA = "capacityProviderArn" -_D = "Description" -_EVK = "EnvironmentVariableKey" -_EVV = "EnvironmentVariableValue" -_EVM = "EnvironmentVariablesMap" -_MP = "MountPath" -_CPVN = "CapacityProviderVolumeName" -_CPVC = "CapacityProviderVolumeConfiguration" -_vN = "volumeName" -_mP = "mountPath" -_EAPA = "EfsAccessPointArn" -_EAPC = "EfsAccessPointConfiguration" -_aPA = "accessPointArn" -_SFAPA = "S3FilesAccessPointArn" -_SFAPC = "S3FilesAccessPointConfiguration" -_SSC = "SessionStorageConfiguration" -_FC = "FilesystemConfiguration" -_sSe = "sessionStorage" -_sFAP = "s3FilesAccessPoint" -_eAP = "efsAccessPoint" -_cPV = "capacityProviderVolume" -_FCi = "FilesystemConfigurations" -_LHP = "LifecycleHookPath" -_SP = "ServerPort" -_HPLHA = "HttpPostLifecycleHookAction" -_pa = "path" -_LHA = "LifecycleHookAction" -_hP = "httpPost" -_LH = "LifecycleHook" -_ac = "action" -_BLH = "BuildLifecycleHooks" -_wa = "warmup" -_RHC = "RuntimeHooksConfiguration" -_bu = "build" -_LC = "LifecycleConfiguration" -_iRST = "idleRuntimeSessionTimeout" -_mL = "maxLifetime" -_NM = "NetworkMode" -_PUBLIC = "PUBLIC" -_VPC = "VPC" -_SGIec = "SecurityGroupId" -_SG = "SecurityGroups" -_S = "Subnets" -_VC = "VpcConfig" -_sG = "securityGroups" -_su = "subnets" -_rSSE = "requireServiceS3Endpoint" -_NC = "NetworkConfiguration" -_nM = "networkMode" -_nMC = "networkModeConfig" -_PV = "PlatformVersion" -_SPe = "ServerPath" -_SPer = "ServerProtocol" -_MCP = "MCP" -_HTTP = "HTTP" -_AA_ = "A2A" -_AGUI = "AGUI" -_PC = "ProtocolConfiguration" -_sP = "serverProtocol" -_HN = "HeaderName" -_RHA = "RequestHeaderAllowlist" -_RHCe = "RequestHeaderConfiguration" -_rHA = "requestHeaderAllowlist" -_RCes = "ResourceConfiguration" -_mMIMB = "minimumMemoryInMiB" -_RCeso = "ResourceConfigurations" -_RA = "RoleArn" -_CARI = "CreateAgentRuntimeInput" -_cCARR = "com.amazonaws.bedrockagentcorecontrol#CreateAgentRuntimeRequest" -_aRN = "agentRuntimeName" -_aRAg = "agentRuntimeArtifact" -_rA = "roleArn" -_nC = "networkConfiguration" -_aCu = "authorizerConfiguration" -_rHC = "requestHeaderConfiguration" -_pC = "protocolConfiguration" -_lC = "lifecycleConfiguration" -_hC = "hooksConfiguration" -_eV = "environmentVariables" -_fC = "filesystemConfigurations" -_cPC = "capacityProviderConfiguration" -_pV = "platformVersion" -_aP = "allowedPorts" -_rC = "resourceConfigurations" -_ARS = "AgentRuntimeStatus" -_WIA = "WorkloadIdentityArn" -_WID = "WorkloadIdentityDetails" -_wIA = "workloadIdentityArn" -_CARO = "CreateAgentRuntimeOutput" -_cCARRo = "com.amazonaws.bedrockagentcorecontrol#CreateAgentRuntimeResponse" -_wID = "workloadIdentityDetails" -_CAR = "CreateAgentRuntime" -_DARI = "DeleteAgentRuntimeInput" -_cDARR = "com.amazonaws.bedrockagentcorecontrol#DeleteAgentRuntimeRequest" -_ve = "version" -_DARO = "DeleteAgentRuntimeOutput" -_cDARRo = "com.amazonaws.bedrockagentcorecontrol#DeleteAgentRuntimeResponse" -_DAR = "DeleteAgentRuntime" -_GARI = "GetAgentRuntimeInput" -_cGARR = "com.amazonaws.bedrockagentcorecontrol#GetAgentRuntimeRequest" -_RMC = "RuntimeMetadataConfiguration" -_rMMDSV = "requireMMDSV2" -_GARO = "GetAgentRuntimeOutput" -_cGARRo = "com.amazonaws.bedrockagentcorecontrol#GetAgentRuntimeResponse" -_mC = "metadataConfiguration" -_GAR = "GetAgentRuntime" -_LARI = "ListAgentRuntimesInput" -_cLARR = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimesRequest" -_AR = "AgentRuntime" -_ARg = "AgentRuntimes" -_LARO = "ListAgentRuntimesOutput" -_cLARRo = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimesResponse" -_aR = "agentRuntimes" -_LAR = "ListAgentRuntimes" -_LARVI = "ListAgentRuntimeVersionsInput" -_cLARVR = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimeVersionsRequest" -_LARVO = "ListAgentRuntimeVersionsOutput" -_cLARVRo = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimeVersionsResponse" -_LARV = "ListAgentRuntimeVersions" -_UARI = "UpdateAgentRuntimeInput" -_cUARR = "com.amazonaws.bedrockagentcorecontrol#UpdateAgentRuntimeRequest" -_UARO = "UpdateAgentRuntimeOutput" -_cUARRo = "com.amazonaws.bedrockagentcorecontrol#UpdateAgentRuntimeResponse" -_UAR = "UpdateAgentRuntime" -_ARVS = "AgentRuntimeVersionSummary" -_ARVSL = "AgentRuntimeVersionSummaryList" -_SD = "SkillDefinition" -_SMD = "SkillMdDefinition" -_ASD = "AgentSkillsDescriptor" -_sMk = "skillMd" -_sD = "skillDefinition" -_AAT = "AllowedAudienceType" -_HQPN = "HttpQueryParameterName" -_AQP = "AllowedQueryParameters" -_HHN = "HttpHeaderName" -_ARH = "AllowedRequestHeaders" -_ARHl = "AllowedResponseHeaders" -_ASLV = "AllowedStringListValue" -_ASLVL = "AllowedStringListValuesList" -_ASV = "AllowedStringValue" -_ASVL = "AllowedStringValuesList" -_AKCPAT = "ApiKeyCredentialProviderArnType" -_DAKT = "DefaultApiKeyType" -_SJKT = "SecretJsonKeyType" -_SIT = "SecretIdType" -_SRe = "SecretReference" -_sIe = "secretId" -_jK = "jsonKey" -_SST = "SecretSourceType" -_MANAGED = "MANAGED" -_EXTERNAL = "EXTERNAL" -_CPN = "CredentialProviderName" -_CAKCPI = "CreateApiKeyCredentialProviderInput" -_cCAKCPR = "com.amazonaws.bedrockagentcorecontrol#CreateApiKeyCredentialProviderRequest" -_aK = "apiKey" -_v_ = "" -_aKSC = "apiKeySecretConfig" -_aKSS = "apiKeySecretSource" -_SAe = "SecretArn" -_Se = "Secret" -_CAKCPO = "CreateApiKeyCredentialProviderOutput" -_cCAKCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#CreateApiKeyCredentialProviderResponse" -) -_aKSA = "apiKeySecretArn" -_aKSJK = "apiKeySecretJsonKey" -_cPAr = "credentialProviderArn" -_DFe = "DecryptionFailure" -_EF = "EncryptionFailure" -_RLEE = "ResourceLimitExceededException" -_UE = "UnauthorizedException" -_CAKCP = "CreateApiKeyCredentialProvider" -_DAKCPI = "DeleteApiKeyCredentialProviderInput" -_cDAKCPR = "com.amazonaws.bedrockagentcorecontrol#DeleteApiKeyCredentialProviderRequest" -_DAKCPO = "DeleteApiKeyCredentialProviderOutput" -_cDAKCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#DeleteApiKeyCredentialProviderResponse" -) -_DAKCP = "DeleteApiKeyCredentialProvider" -_GAKCPI = "GetApiKeyCredentialProviderInput" -_cGAKCPR = "com.amazonaws.bedrockagentcorecontrol#GetApiKeyCredentialProviderRequest" -_GAKCPO = "GetApiKeyCredentialProviderOutput" -_cGAKCPRo = "com.amazonaws.bedrockagentcorecontrol#GetApiKeyCredentialProviderResponse" -_cTr = "createdTime" -_lUT = "lastUpdatedTime" -_GAKCP = "GetApiKeyCredentialProvider" -_LAKCPI = "ListApiKeyCredentialProvidersInput" -_cLAKCPR = "com.amazonaws.bedrockagentcorecontrol#ListApiKeyCredentialProvidersRequest" -_AKCPI = "ApiKeyCredentialProviderItem" -_AKCP = "ApiKeyCredentialProviders" -_LAKCPO = "ListApiKeyCredentialProvidersOutput" -_cLAKCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#ListApiKeyCredentialProvidersResponse" -) -_cP = "credentialProviders" -_LAKCP = "ListApiKeyCredentialProviders" -_UAKCPI = "UpdateApiKeyCredentialProviderInput" -_cUAKCPR = "com.amazonaws.bedrockagentcorecontrol#UpdateApiKeyCredentialProviderRequest" -_UAKCPO = "UpdateApiKeyCredentialProviderOutput" -_cUAKCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#UpdateApiKeyCredentialProviderResponse" -) -_UAKCP = "UpdateApiKeyCredentialProvider" -_BPI = "BrowserProfileId" -_BPN = "BrowserProfileName" -_CBPI = "CreateBrowserProfileInput" -_cCBPR = "com.amazonaws.bedrockagentcorecontrol#CreateBrowserProfileRequest" -_BPA = "BrowserProfileArn" -_BPS = "BrowserProfileStatus" -_DELETED = "DELETED" -_SAVING = "SAVING" -_CBPO = "CreateBrowserProfileOutput" -_cCBPRo = "com.amazonaws.bedrockagentcorecontrol#CreateBrowserProfileResponse" -_pI = "profileId" -_pA = "profileArn" -_CBP = "CreateBrowserProfile" -_DBPI = "DeleteBrowserProfileInput" -_cDBPR = "com.amazonaws.bedrockagentcorecontrol#DeleteBrowserProfileRequest" -_DBPO = "DeleteBrowserProfileOutput" -_cDBPRo = "com.amazonaws.bedrockagentcorecontrol#DeleteBrowserProfileResponse" -_lSA = "lastSavedAt" -_DBP = "DeleteBrowserProfile" -_GBPI = "GetBrowserProfileInput" -_cGBPR = "com.amazonaws.bedrockagentcorecontrol#GetBrowserProfileRequest" -_BI = "BrowserId" -_BSI = "BrowserSessionId" -_GBPO = "GetBrowserProfileOutput" -_cGBPRo = "com.amazonaws.bedrockagentcorecontrol#GetBrowserProfileResponse" -_lSBSI = "lastSavedBrowserSessionId" -_lSBI = "lastSavedBrowserId" -_GBP = "GetBrowserProfile" -_LBPI = "ListBrowserProfilesInput" -_cLBPR = "com.amazonaws.bedrockagentcorecontrol#ListBrowserProfilesRequest" -_BPSr = "BrowserProfileSummary" -_BPSro = "BrowserProfileSummaries" -_LBPO = "ListBrowserProfilesOutput" -_cLBPRo = "com.amazonaws.bedrockagentcorecontrol#ListBrowserProfilesResponse" -_pS = "profileSummaries" -_LBP = "ListBrowserProfiles" -_BSCI = "BrowserSigningConfigInput" -_en = "enabled" -_TSA = "ToolSecretArn" -_SML = "SecretsManagerLocation" -_CL = "CertificateLocation" -_Ce = "Certificate" -_l = "location" -_Cer = "Certificates" -_RL = "ResourceLocation" -_BEPT = "BrowserEnterprisePolicyType" -_RECOMMENDED = "RECOMMENDED" -_BEP = "BrowserEnterprisePolicy" -_ty = "type" -_BEPr = "BrowserEnterprisePolicies" -_EFSA = "EfsFileSystemArn" -_EC = "EfsConfiguration" -_fSA = "fileSystemArn" -_SFFSA = "S3FilesFileSystemArn" -_SFC = "S3FilesConfiguration" -_TFSC = "ToolsFileSystemConfiguration" -_sFC = "s3FilesConfiguration" -_eC = "efsConfiguration" -_TFSCo = "ToolsFileSystemConfigurations" -_SN = "SandboxName" -_BNM = "BrowserNetworkMode" -_BNC = "BrowserNetworkConfiguration" -_vC = "vpcConfig" -_RCec = "RecordingConfig" -_sLo = "s3Location" -_CBI = "CreateBrowserInput" -_cCBR = "com.amazonaws.bedrockagentcorecontrol#CreateBrowserRequest" -_eRA = "executionRoleArn" -_re = "recording" -_bS = "browserSigning" -_ePn = "enterprisePolicies" -_ce = "certificates" -_BA = "BrowserArn" -_BS = "BrowserStatus" -_CBO = "CreateBrowserOutput" -_cCBRo = "com.amazonaws.bedrockagentcorecontrol#CreateBrowserResponse" -_bI = "browserId" -_bAr = "browserArn" -_CB = "CreateBrowser" -_DBI = "DeleteBrowserInput" -_cDBR = "com.amazonaws.bedrockagentcorecontrol#DeleteBrowserRequest" -_DBO = "DeleteBrowserOutput" -_cDBRo = "com.amazonaws.bedrockagentcorecontrol#DeleteBrowserResponse" -_DB = "DeleteBrowser" -_GBI = "GetBrowserInput" -_cGBR = "com.amazonaws.bedrockagentcorecontrol#GetBrowserRequest" -_BSCO = "BrowserSigningConfigOutput" -_GBO = "GetBrowserOutput" -_cGBRo = "com.amazonaws.bedrockagentcorecontrol#GetBrowserResponse" -_GB = "GetBrowser" -_RT = "ResourceType" -_SYSTEM = "SYSTEM" -_CUSTOM = "CUSTOM" -_LBI = "ListBrowsersInput" -_cLBR = "com.amazonaws.bedrockagentcorecontrol#ListBrowsersRequest" -_BSr = "BrowserSummary" -_BSro = "BrowserSummaries" -_LBO = "ListBrowsersOutput" -_cLBRo = "com.amazonaws.bedrockagentcorecontrol#ListBrowsersResponse" -_bSr = "browserSummaries" -_LB = "ListBrowsers" -_CPI = "CapacityProviderId" -_CRP = "CapacityReservationPreference" -_CRO = "CAPACITY_RESERVATIONS_ONLY" -_cro = "capacity-reservations-only" -_OPEN = "OPEN" -_o = "open" -_no = "none" -_CRI = "CapacityReservationId" -_CRRGA = "CapacityReservationResourceGroupArn" -_CRT = "CapacityReservationTarget" -_cRI = "capacityReservationId" -_cRRGA = "capacityReservationResourceGroupArn" -_CRS = "CapacityReservationSpecification" -_cRP = "capacityReservationPreference" -_cRT = "capacityReservationTarget" -_DN = "DeviceName" -_ECI = "EbsCardIndex" -_VIo = "VolumeIops" -_KKI = "KmsKeyId" -_ESI = "EbsSnapshotId" -_VT = "VolumeThroughput" -_EVIR = "EbsVolumeInitializationRate" -_VSGB = "VolumeSizeGiB" -_EVT = "EbsVolumeType" -_STANDARD = "STANDARD" -_sta = "standard" -_IO = "IO1" -_io = "io1" -_IO_ = "IO2" -_io_ = "io2" -_GP = "GP2" -_g = "gp2" -_SC = "SC1" -_sc = "sc1" -_ST = "ST1" -_st_ = "st1" -_GP_ = "GP3" -_gp = "gp3" -_EEBSVC = "EphemeralEBSVolumeConfiguration" -_vT = "volumeType" -_iop = "iops" -_th = "throughput" -_enc = "encrypted" -_kKI = "kmsKeyId" -_sIn = "snapshotId" -_vS = "volumeSize" -_vIR = "volumeInitializationRate" -_eCI = "ebsCardIndex" -_VDN = "VirtualDeviceName" -_EBDM = "EphemeralBlockDeviceMapping" -_dN = "deviceName" -_vNi = "virtualName" -_eb = "ebs" -_EBDML = "EphemeralBlockDeviceMappingList" -_IPA = "InstanceProfileArn" -_ECIT = "EC2InstanceType" -_ITL = "InstanceTypeList" -_IR = "InstanceRequirements" -_aIT = "allowedInstanceTypes" -_LCA = "LicenseConfigurationArn" -_LS = "LicenseSpecification" -_lCA = "licenseConfigurationArn" -_LSL = "LicenseSpecificationList" -_M = "Monitoring" -_BASIC = "BASIC" -_DETAILED = "DETAILED" -_OS = "OperatingSystem" -_LX = "LINUX_X86_64" -_LA = "LINUX_ARM64" -_SSHKN = "SSHKeyName" -_LP = "LaunchParameters" -_oS = "operatingSystem" -_iR = "instanceRequirements" -_eVp = "ephemeralVolumes" -_mon = "monitoring" -_lS = "licenseSpecifications" -_cRS = "capacityReservationSpecification" -_sKN = "sshKeyName" -_iPA = "instanceProfileArn" -_pT = "propagatedTags" -_LTS = "LaunchTemplateSource" -_lP = "launchParameters" -_ILC = "InstanceLifecycleConfiguration" -_iIT = "idleInstanceTimeout" -_RVC = "RootVolumeConfiguration" -_fSGB = "freeSpaceGiB" -_VN = "VolumeName" -_EVC = "EbsVolumeConfiguration" -_sGB = "sizeGiB" -_VCo = "VolumeConfiguration" -_eCb = "ebsConfiguration" -_VCL = "VolumeConfigurationList" -_SGIL = "SecurityGroupIdList" -_SIL = "SubnetIdList" -_VCp = "VpcConfiguration" -_ECc = "Ec2Configuration" -_lTS = "launchTemplateSource" -_vCp = "vpcConfiguration" -_vo = "volumes" -_rV = "rootVolume" -_CCom = "ComputeConfiguration" -_eCc = "ec2Configuration" -_CPNa = "CapacityProviderName" -_PCe = "PermissionsConfiguration" -_cPORA = "capacityProviderOperatorRoleArn" -_CCPI = "CreateCapacityProviderInput" -_pCe = "permissionsConfiguration" -_cCom = "computeConfiguration" -_CPS = "CapacityProviderStatus" -_CCPO = "CreateCapacityProviderOutput" -_cPI = "capacityProviderId" -_RCE = "RetryableConflictException" -_CCP = "CreateCapacityProvider" -_DCPI = "DeleteCapacityProviderInput" -_DCPO = "DeleteCapacityProviderOutput" -_DCP = "DeleteCapacityProvider" -_GCPI = "GetCapacityProviderInput" -_CPSC = "CapacityProviderStatusCode" -_VE_ = "VALIDATION_ERROR" -_QE = "QUOTA_EXCEEDED" -_THROTTLED = "THROTTLED" -_ISE_ = "INTERNAL_SERVER_EXCEPTION" -_GCPO = "GetCapacityProviderOutput" -_sCt = "statusCode" -_sRt = "statusReason" -_GCP = "GetCapacityProvider" -_LARVBCPI = "ListAgentRuntimeVersionsByCapacityProviderInput" -_LARVBCPO = "ListAgentRuntimeVersionsByCapacityProviderOutput" -_LARVBCP = "ListAgentRuntimeVersionsByCapacityProvider" -_LCPI = "ListCapacityProvidersInput" -_CPSa = "CapacityProviderSummary" -_CPL = "CapacityProviderList" -_LCPO = "ListCapacityProvidersOutput" -_cPa = "capacityProviders" -_LCP = "ListCapacityProviders" -_UD = "UpdatedDescription" -_oV = "optionalValue" -_UCPI = "UpdateCapacityProviderInput" -_UCPO = "UpdateCapacityProviderOutput" -_UCP = "UpdateCapacityProvider" -_CII = "CodeInterpreterId" -_CINM = "CodeInterpreterNetworkMode" -_SANDBOX = "SANDBOX" -_CINC = "CodeInterpreterNetworkConfiguration" -_CCII = "CreateCodeInterpreterInput" -_cCCIR = "com.amazonaws.bedrockagentcorecontrol#CreateCodeInterpreterRequest" -_CIA = "CodeInterpreterArn" -_CIS = "CodeInterpreterStatus" -_CCIO = "CreateCodeInterpreterOutput" -_cCCIRo = "com.amazonaws.bedrockagentcorecontrol#CreateCodeInterpreterResponse" -_cII = "codeInterpreterId" -_cIA = "codeInterpreterArn" -_CCI = "CreateCodeInterpreter" -_DCII = "DeleteCodeInterpreterInput" -_cDCIR = "com.amazonaws.bedrockagentcorecontrol#DeleteCodeInterpreterRequest" -_DCIO = "DeleteCodeInterpreterOutput" -_cDCIRo = "com.amazonaws.bedrockagentcorecontrol#DeleteCodeInterpreterResponse" -_DCI = "DeleteCodeInterpreter" -_GCII = "GetCodeInterpreterInput" -_cGCIR = "com.amazonaws.bedrockagentcorecontrol#GetCodeInterpreterRequest" -_GCIO = "GetCodeInterpreterOutput" -_cGCIRo = "com.amazonaws.bedrockagentcorecontrol#GetCodeInterpreterResponse" -_GCI = "GetCodeInterpreter" -_LCII = "ListCodeInterpretersInput" -_cLCIR = "com.amazonaws.bedrockagentcorecontrol#ListCodeInterpretersRequest" -_CISo = "CodeInterpreterSummary" -_CISod = "CodeInterpreterSummaries" -_LCIO = "ListCodeInterpretersOutput" -_cLCIRo = "com.amazonaws.bedrockagentcorecontrol#ListCodeInterpretersResponse" -_cIS = "codeInterpreterSummaries" -_LCI = "ListCodeInterpreters" -_CBIo = "ConfigurationBundleId" -_BN = "BranchName" -_CBN = "ConfigurationBundleName" -_CI = "ComponentIdentifier" -_CComp = "ComponentConfiguration" -_con = "configuration" -_CCM = "ComponentConfigurationMap" -_VCBS = "VersionCreatedBySource" -_CBD = "ConfigurationBundleDescription" -_KKA = "KmsKeyArn" -_CCBI = "CreateConfigurationBundleInput" -_cCCBR = "com.amazonaws.bedrockagentcorecontrol#CreateConfigurationBundleRequest" -_bN = "bundleName" -_com = "components" -_bNr = "branchName" -_cM = "commitMessage" -_cBr = "createdBy" -_kKA = "kmsKeyArn" -_CBAo = "ConfigurationBundleArn" -_CBV = "ConfigurationBundleVersion" -_CCBO = "CreateConfigurationBundleOutput" -_cCCBRo = "com.amazonaws.bedrockagentcorecontrol#CreateConfigurationBundleResponse" -_bIu = "bundleId" -_CCB = "CreateConfigurationBundle" -_DCBI = "DeleteConfigurationBundleInput" -_cDCBR = "com.amazonaws.bedrockagentcorecontrol#DeleteConfigurationBundleRequest" -_CBS = "ConfigurationBundleStatus" -_DCBO = "DeleteConfigurationBundleOutput" -_cDCBRo = "com.amazonaws.bedrockagentcorecontrol#DeleteConfigurationBundleResponse" -_DCB = "DeleteConfigurationBundle" -_GCBI = "GetConfigurationBundleInput" -_cGCBR = "com.amazonaws.bedrockagentcorecontrol#GetConfigurationBundleRequest" -_CBVL = "ConfigurationBundleVersionList" -_VLM = "VersionLineageMetadata" -_pVI = "parentVersionIds" -_GCBO = "GetConfigurationBundleOutput" -_cGCBRo = "com.amazonaws.bedrockagentcorecontrol#GetConfigurationBundleResponse" -_lM = "lineageMetadata" -_GCB = "GetConfigurationBundle" -_GCBVI = "GetConfigurationBundleVersionInput" -_cGCBVR = "com.amazonaws.bedrockagentcorecontrol#GetConfigurationBundleVersionRequest" -_GCBVO = "GetConfigurationBundleVersionOutput" -_cGCBVRo = "com.amazonaws.bedrockagentcorecontrol#GetConfigurationBundleVersionResponse" -_vCA = "versionCreatedAt" -_GCBV = "GetConfigurationBundleVersion" -_LCBI = "ListConfigurationBundlesInput" -_cLCBR = "com.amazonaws.bedrockagentcorecontrol#ListConfigurationBundlesRequest" -_CBSo = "ConfigurationBundleSummary" -_CBSL = "ConfigurationBundleSummaryList" -_LCBO = "ListConfigurationBundlesOutput" -_cLCBRo = "com.amazonaws.bedrockagentcorecontrol#ListConfigurationBundlesResponse" -_bun = "bundles" -_LCB = "ListConfigurationBundles" -_VF = "VersionFilter" -_cBN = "createdByName" -_lPB = "latestPerBranch" -_LCBVI = "ListConfigurationBundleVersionsInput" -_cLCBVR = "com.amazonaws.bedrockagentcorecontrol#ListConfigurationBundleVersionsRequest" -_fi = "filter" -_CBVS = "ConfigurationBundleVersionSummary" -_CBVSL = "ConfigurationBundleVersionSummaryList" -_LCBVO = "ListConfigurationBundleVersionsOutput" -_cLCBVRo = ( - "com.amazonaws.bedrockagentcorecontrol#ListConfigurationBundleVersionsResponse" -) -_ver = "versions" -_LCBV = "ListConfigurationBundleVersions" -_UCBI = "UpdateConfigurationBundleInput" -_cUCBR = "com.amazonaws.bedrockagentcorecontrol#UpdateConfigurationBundleRequest" -_UCBO = "UpdateConfigurationBundleOutput" -_cUCBRo = "com.amazonaws.bedrockagentcorecontrol#UpdateConfigurationBundleResponse" -_UCB = "UpdateConfigurationBundle" -_CPAT = "ConsentPortalArnType" -_CPDT = "ConsentPortalDescriptionType" -_CPIo = "ConsentPortalIdentifier" -_OACPA = "OAuth2CredentialProviderArn" -_CPIC = "ConsentPortalIdpConfig" -_sco = "scopes" -_au = "audience" -_CPNT = "ConsentPortalNameType" -_CPSIT = "ConsentPortalSourceIdentifierType" -_CPST = "ConsentPortalSourceType" -_AG = "AGENTCORE_GATEWAY" -_ag = "agentcore-gateway" -_CPSo = "ConsentPortalSource" -_id = "identifier" -_CPSon = "ConsentPortalSources" -_CPSons = "ConsentPortalStatus" -_FAILED = "FAILED" -_ERAT = "ExecutionRoleArnType" -_CCPIr = "CreateConsentPortalInput" -_cCCPR = "com.amazonaws.bedrockagentcorecontrol#CreateConsentPortalRequest" -_iCd = "idpConfig" -_sou = "sources" -_CPIT = "ConsentPortalIdType" -_PUT = "PortalUrlType" -_SRT = "StatusReasonType" -_CCPOr = "CreateConsentPortalOutput" -_cCCPRo = "com.amazonaws.bedrockagentcorecontrol#CreateConsentPortalResponse" -_cPAo = "consentPortalArn" -_cPIo = "consentPortalId" -_pU = "portalUrl" -_CCPr = "CreateConsentPortal" -_DCPIe = "DeleteConsentPortalInput" -_cDCPR = "com.amazonaws.bedrockagentcorecontrol#DeleteConsentPortalRequest" -_cPIon = "consentPortalIdentifier" -_DCPOe = "DeleteConsentPortalOutput" -_cDCPRo = "com.amazonaws.bedrockagentcorecontrol#DeleteConsentPortalResponse" -_DCPe = "DeleteConsentPortal" -_GCPIe = "GetConsentPortalInput" -_cGCPR = "com.amazonaws.bedrockagentcorecontrol#GetConsentPortalRequest" -_GCPOe = "GetConsentPortalOutput" -_cGCPRo = "com.amazonaws.bedrockagentcorecontrol#GetConsentPortalResponse" -_GCPe = "GetConsentPortal" -_LCPIi = "ListConsentPortalsInput" -_cLCPR = "com.amazonaws.bedrockagentcorecontrol#ListConsentPortalsRequest" -_CPSonse = "ConsentPortalSummary" -_CPSonsen = "ConsentPortalSummaries" -_LCPOi = "ListConsentPortalsOutput" -_cLCPRo = "com.amazonaws.bedrockagentcorecontrol#ListConsentPortalsResponse" -_cPo = "consentPortals" -_LCPi = "ListConsentPortals" -_UCPIp = "UpdateConsentPortalInput" -_cUCPR = "com.amazonaws.bedrockagentcorecontrol#UpdateConsentPortalRequest" -_UCPOp = "UpdateConsentPortalOutput" -_cUCPRo = "com.amazonaws.bedrockagentcorecontrol#UpdateConsentPortalResponse" -_UCPp = "UpdateConsentPortal" -_DNa = "DatasetName" -_DSTa = "DatasetSchemaType" -_AEPV = "AGENTCORE_EVALUATION_PREDEFINED_V1" -_AESV = "AGENTCORE_EVALUATION_SIMULATED_V1" -_TPEV = "THIRD_PARTY_EVALUATION_V1" -_CDI = "CreateDatasetInput" -_cCDR = "com.amazonaws.bedrockagentcorecontrol#CreateDatasetRequest" -_dNa = "datasetName" -_sTc = "schemaType" -_CDO = "CreateDatasetOutput" -_cCDRo = "com.amazonaws.bedrockagentcorecontrol#CreateDatasetResponse" -_CD = "CreateDataset" -_CDVI = "CreateDatasetVersionInput" -_cCDVR = "com.amazonaws.bedrockagentcorecontrol#CreateDatasetVersionRequest" -_DV = "DatasetVersion" -_CDVO = "CreateDatasetVersionOutput" -_cCDVRo = "com.amazonaws.bedrockagentcorecontrol#CreateDatasetVersionResponse" -_dV = "datasetVersion" -_CDV = "CreateDatasetVersion" -_DDI = "DeleteDatasetInput" -_cDDR = "com.amazonaws.bedrockagentcorecontrol#DeleteDatasetRequest" -_DDO = "DeleteDatasetOutput" -_cDDRo = "com.amazonaws.bedrockagentcorecontrol#DeleteDatasetResponse" -_DD = "DeleteDataset" -_DDEI = "DeleteDatasetExamplesInput" -_cDDER = "com.amazonaws.bedrockagentcorecontrol#DeleteDatasetExamplesRequest" -_DDEO = "DeleteDatasetExamplesOutput" -_cDDERo = "com.amazonaws.bedrockagentcorecontrol#DeleteDatasetExamplesResponse" -_dC = "deletedCount" -_DDE = "DeleteDatasetExamples" -_GDI = "GetDatasetInput" -_cGDR = "com.amazonaws.bedrockagentcorecontrol#GetDatasetRequest" -_DUo = "DownloadUrl" -_DSr = "DraftStatus" -_MODIFIED = "MODIFIED" -_UNMODIFIED = "UNMODIFIED" -_GDO = "GetDatasetOutput" -_cGDRo = "com.amazonaws.bedrockagentcorecontrol#GetDatasetResponse" -_dS = "draftStatus" -_eCx = "exampleCount" -_dUo = "downloadUrl" -_dUEA = "downloadUrlExpiresAt" -_GD = "GetDataset" -_LDEI = "ListDatasetExamplesInput" -_cLDER = "com.amazonaws.bedrockagentcorecontrol#ListDatasetExamplesRequest" -_LDEO = "ListDatasetExamplesOutput" -_cLDERo = "com.amazonaws.bedrockagentcorecontrol#ListDatasetExamplesResponse" -_LDE = "ListDatasetExamples" -_LDI = "ListDatasetsInput" -_cLDR = "com.amazonaws.bedrockagentcorecontrol#ListDatasetsRequest" -_DSa = "DatasetSummary" -_DSL = "DatasetSummaryList" -_LDO = "ListDatasetsOutput" -_cLDRo = "com.amazonaws.bedrockagentcorecontrol#ListDatasetsResponse" -_da = "datasets" -_LD = "ListDatasets" -_LDVI = "ListDatasetVersionsInput" -_cLDVR = "com.amazonaws.bedrockagentcorecontrol#ListDatasetVersionsRequest" -_DVS = "DatasetVersionSummary" -_DVSL = "DatasetVersionSummaryList" -_LDVO = "ListDatasetVersionsOutput" -_cLDVRo = "com.amazonaws.bedrockagentcorecontrol#ListDatasetVersionsResponse" -_LDV = "ListDatasetVersions" -_UDI = "UpdateDatasetInput" -_cUDR = "com.amazonaws.bedrockagentcorecontrol#UpdateDatasetRequest" -_UDO = "UpdateDatasetOutput" -_cUDRo = "com.amazonaws.bedrockagentcorecontrol#UpdateDatasetResponse" -_UDp = "UpdateDataset" -_UDEI = "UpdateDatasetExamplesInput" -_cUDER = "com.amazonaws.bedrockagentcorecontrol#UpdateDatasetExamplesRequest" -_UDEO = "UpdateDatasetExamplesOutput" -_cUDERo = "com.amazonaws.bedrockagentcorecontrol#UpdateDatasetExamplesResponse" -_uC = "updatedCount" -_UDE = "UpdateDatasetExamples" -_DRPI = "DeleteResourcePolicyInput" -_cDRPR = "com.amazonaws.bedrockagentcorecontrol#DeleteResourcePolicyRequest" -_rAe = "resourceArn" -_DRPO = "DeleteResourcePolicyOutput" -_cDRPRo = "com.amazonaws.bedrockagentcorecontrol#DeleteResourcePolicyResponse" -_DRP = "DeleteResourcePolicy" -_ED = "EvaluatorDescription" -_LAa = "LambdaArn" -_LEC = "LambdaEvaluatorConfig" -_lA = "lambdaArn" -_lTIS = "lambdaTimeoutInSeconds" -_CBEC = "CodeBasedEvaluatorConfig" -_lCa = "lambdaConfig" -_EIv = "EvaluatorId" -_NES = "NonEmptyString" -_NESL = "NonEmptyStringList" -_ICn = "InferenceConfiguration" -_mT = "maxTokens" -_te = "temperature" -_tP = "topP" -_sSt = "stopSequences" -_MI = "ModelId" -_BEMC = "BedrockEvaluatorModelConfig" -_mI = "modelId" -_iCn = "inferenceConfig" -_aMRF = "additionalModelRequestFields" -_RCea = "ReasoningConfiguration" -_ef = "effort" -_OREMC = "OpenResponsesEvaluatorModelConfig" -_mOT = "maxOutputTokens" -_rea = "reasoning" -_EMC = "EvaluatorModelConfig" -_bEMC = "bedrockEvaluatorModelConfig" -_rEMC = "responsesEvaluatorModelConfig" -_DEC = "DerivedEvaluatorConfig" -_bEI = "baseEvaluatorId" -_mCo = "modelConfig" -_EIva = "EvaluatorInstructions" -_CSD = "CategoricalScaleDefinition" -_de = "definition" -_la = "label" -_CSDa = "CategoricalScaleDefinitions" -_EDI = "EvaluationDimensionInstruction" -_EDN = "EvaluationDimensionName" -_NSD = "NumericalScaleDefinition" -_NSDu = "NumericalScaleDefinitions" -_DRS = "DimensionRatingScale" -_nu = "numerical" -_ca = "categorical" -_EDv = "EvaluationDimension" -_dNi = "dimensionName" -_dIi = "dimensionInstruction" -_dRS = "dimensionRatingScale" -_EDva = "EvaluationDimensions" -_RS = "RatingScale" -_mD = "multiDimensional" -_LAAJEC = "LlmAsAJudgeEvaluatorConfig" -_in = "instructions" -_rS = "ratingScale" -_ECv = "EvaluatorConfig" -_lAAJ = "llmAsAJudge" -_cBo = "codeBased" -_der = "derived" -_CEN = "CustomEvaluatorName" -_EL = "EvaluatorLevel" -_TC = "TOOL_CALL" -_TRACE = "TRACE" -_SESSION = "SESSION" -_CEI = "CreateEvaluatorInput" -_cCER = "com.amazonaws.bedrockagentcorecontrol#CreateEvaluatorRequest" -_eNv = "evaluatorName" -_eCv = "evaluatorConfig" -_le = "level" -_CEA = "CustomEvaluatorArn" -_ES = "EvaluatorStatus" -_CEO = "CreateEvaluatorOutput" -_cCERo = "com.amazonaws.bedrockagentcorecontrol#CreateEvaluatorResponse" -_eA = "evaluatorArn" -_eIv = "evaluatorId" -_CEr = "CreateEvaluator" -_DEI = "DeleteEvaluatorInput" -_cDER = "com.amazonaws.bedrockagentcorecontrol#DeleteEvaluatorRequest" -_EA = "EvaluatorArn" -_DEO = "DeleteEvaluatorOutput" -_cDERo = "com.amazonaws.bedrockagentcorecontrol#DeleteEvaluatorResponse" -_DE = "DeleteEvaluator" -_ID = "IncludedData" -_AD_ = "ALL_DATA" -_MO = "METADATA_ONLY" -_GEI = "GetEvaluatorInput" -_cGER = "com.amazonaws.bedrockagentcorecontrol#GetEvaluatorRequest" -_iD = "includedData" -_ENv = "EvaluatorName" -_ET = "EvaluatorType" -_BUILTIN = "BUILTIN" -_B = "Builtin" -_TP = "THIRD_PARTY" -_TPh = "ThirdParty" -_Cu = "Custom" -_CODE = "CODE" -_CCu = "CustomCode" -_CD_ = "CUSTOM_DERIVED" -_CDu = "CustomDerived" -_Pr = "Provider" -_AWS = "AWS" -_DE_ = "DEEP_EVAL" -_DEe = "DeepEval" -_AE = "AUTO_EVAL" -_AEu = "AutoEval" -_GEO = "GetEvaluatorOutput" -_cGERo = "com.amazonaws.bedrockagentcorecontrol#GetEvaluatorResponse" -_eT = "evaluatorType" -_pr = "provider" -_lFM = "lockedForModification" -_GE = "GetEvaluator" -_LEI = "ListEvaluatorsInput" -_cLER = "com.amazonaws.bedrockagentcorecontrol#ListEvaluatorsRequest" -_ESv = "EvaluatorSummary" -_ESL = "EvaluatorSummaryList" -_LEO = "ListEvaluatorsOutput" -_cLERo = "com.amazonaws.bedrockagentcorecontrol#ListEvaluatorsResponse" -_ev = "evaluators" -_LE = "ListEvaluators" -_UEI = "UpdateEvaluatorInput" -_cUER = "com.amazonaws.bedrockagentcorecontrol#UpdateEvaluatorRequest" -_UEO = "UpdateEvaluatorOutput" -_cUERo = "com.amazonaws.bedrockagentcorecontrol#UpdateEvaluatorResponse" -_UEp = "UpdateEvaluator" -_GI = "GatewayIdentifier" -_GRLD = "GatewayRateLimitDescription" -_DK = "DimensionKey" -_DKi = "DimensionKeys" -_Pe = "Period" -_SECOND = "SECOND" -_sec = "second" -_MINUTE = "MINUTE" -_mi = "minute" -_RCa = "RateConfig" -_ra = "rate" -_pe = "period" -_RCat = "RateConfigs" -_DVi = "DimensionValue" -_Di = "Dimensions" -_LEi = "LimitEntry" -_di = "dimensions" -_req = "requests" -_tok = "tokens" -_conn = "connections" -_LEim = "LimitEntries" -_GRLI = "GatewayRateLimitId" -_BPLE = "BatchPutLimitEntry" -_rLI = "rateLimitId" -_dK = "dimensionKeys" -_ent = "entries" -_BPLEa = "BatchPutLimitEntries" -_BPGRLI = "BatchPutGatewayRateLimitsInput" -_cBPGRLR = "com.amazonaws.bedrockagentcorecontrol#BatchPutGatewayRateLimitsRequest" -_gI = "gatewayIdentifier" -_rL = "rateLimits" -_GRLS = "GatewayRateLimitStatus" -_GRLDa = "GatewayRateLimitDetail" -_GRL = "GatewayRateLimits" -_BPGRLO = "BatchPutGatewayRateLimitsOutput" -_cBPGRLRo = "com.amazonaws.bedrockagentcorecontrol#BatchPutGatewayRateLimitsResponse" -_BPGRL = "BatchPutGatewayRateLimits" -_CGRLI = "CreateGatewayRateLimitInput" -_cCGRLR = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRateLimitRequest" -_CGRLO = "CreateGatewayRateLimitOutput" -_cCGRLRo = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRateLimitResponse" -_CGRL = "CreateGatewayRateLimit" -_DGRLI = "DeleteGatewayRateLimitInput" -_cDGRLR = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRateLimitRequest" -_DGRLO = "DeleteGatewayRateLimitOutput" -_cDGRLRo = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRateLimitResponse" -_DGRL = "DeleteGatewayRateLimit" -_GGRLI = "GetGatewayRateLimitInput" -_cGGRLR = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRateLimitRequest" -_GGRLO = "GetGatewayRateLimitOutput" -_cGGRLRo = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRateLimitResponse" -_GGRL = "GetGatewayRateLimit" -_GRLMR = "GatewayRateLimitMaxResults" -_GRLNT = "GatewayRateLimitNextToken" -_LGRLI = "ListGatewayRateLimitsInput" -_cLGRLR = "com.amazonaws.bedrockagentcorecontrol#ListGatewayRateLimitsRequest" -_LGRLO = "ListGatewayRateLimitsOutput" -_cLGRLRo = "com.amazonaws.bedrockagentcorecontrol#ListGatewayRateLimitsResponse" -_LGRL = "ListGatewayRateLimits" -_UGRLI = "UpdateGatewayRateLimitInput" -_cUGRLR = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRateLimitRequest" -_UGRLO = "UpdateGatewayRateLimitOutput" -_cUGRLRo = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRateLimitResponse" -_UGRL = "UpdateGatewayRateLimit" -_AT = "AuthorizerType" -_CJ = "CUSTOM_JWT" -_AI = "AWS_IAM" -_AO = "AUTHENTICATE_ONLY" -_GDa = "GatewayDescription" -_PDN = "PublicDomainName" -_PDNL = "PublicDomainNameList" -_DO = "DomainOverride" -_dD = "defaultDomain" -_sN = "smithy.api#jsonName" -_def = "default" -_aD = "alternateDomains" -_ELx = "ExceptionLevel" -_DEBUG = "DEBUG" -_IPE = "InterceptorPayloadExclusion" -_RB = "RESPONSE_BODY" -_IPES = "InterceptorPayloadExclusionSelector" -_fie = "field" -_IPESL = "InterceptorPayloadExclusionSelectorList" -_IPF = "InterceptorPayloadFilter" -_exc = "exclude" -_IIC = "InterceptorInputConfiguration" -_pRH = "passRequestHeaders" -_pF = "payloadFilter" -_GIP = "GatewayInterceptionPoint" -_REQUEST = "REQUEST" -_RESPONSE = "RESPONSE" -_GIPa = "GatewayInterceptionPoints" -_LFA = "LambdaFunctionArn" -_LIC = "LambdaInterceptorConfiguration" -_ICnt = "InterceptorConfiguration" -_lam = "lambda" -_GIC = "GatewayInterceptorConfiguration" -_int = "interceptor" -_iP = "interceptionPoints" -_iCnp = "inputConfiguration" -_GICa = "GatewayInterceptorConfigurations" -_GN = "GatewayName" -_GPEA = "GatewayPolicyEngineArn" -_GPEM = "GatewayPolicyEngineMode" -_LO = "LOG_ONLY" -_ENFORCE = "ENFORCE" -_GPEC = "GatewayPolicyEngineConfiguration" -_MIc = "McpInstructions" -_STe = "SearchType" -_SEMANTIC = "SEMANTIC" -_SCe = "SessionConfiguration" -_sTIS = "sessionTimeoutInSeconds" -_SCt = "StreamingConfiguration" -_eRS = "enableResponseStreaming" -_MV = "McpVersion" -_v__ = "2025-03-26" -_MSV = "McpSupportedVersions" -_MCPGC = "MCPGatewayConfiguration" -_sVu = "supportedVersions" -_sTe = "searchType" -_sCe = "sessionConfiguration" -_sCtr = "streamingConfiguration" -_dMLTP = "disableMcpListToolsPagination" -_GPC = "GatewayProtocolConfiguration" -_mc = "mcp" -_GPT = "GatewayProtocolType" -_CGI = "CreateGatewayInput" -_cCGR = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRequest" -_pTr = "protocolType" -_aT = "authorizerType" -_iCnt = "interceptorConfigurations" -_pEC = "policyEngineConfiguration" -_eL = "exceptionLevel" -_dO = "domainOverride" -_LTC = "LambdaTransformConfiguration" -_CTC = "CustomTransformConfiguration" -_GA = "GatewayArn" -_GIa = "GatewayId" -_GU = "GatewayUrl" -_GS = "GatewayStatus" -_UU = "UPDATE_UNSUCCESSFUL" -_SRt = "StatusReason" -_SRta = "StatusReasons" -_WFM = "WafFailureMode" -_FC_ = "FAIL_CLOSE" -_FO = "FAIL_OPEN" -_WC = "WafConfiguration" -_fM = "failureMode" -_WAA = "WebAclArn" -_CGO = "CreateGatewayOutput" -_cCGRo = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayResponse" -_gA = "gatewayArn" -_gIa = "gatewayId" -_gU = "gatewayUrl" -_sRta = "statusReasons" -_cTC = "customTransformConfiguration" -_wAA = "webAclArn" -_wC = "wafConfiguration" -_CG = "CreateGateway" -_DGI = "DeleteGatewayInput" -_cDGR = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRequest" -_DGO = "DeleteGatewayOutput" -_cDGRo = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayResponse" -_DG = "DeleteGateway" -_GGI = "GetGatewayInput" -_cGGR = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRequest" -_GGO = "GetGatewayOutput" -_cGGRo = "com.amazonaws.bedrockagentcorecontrol#GetGatewayResponse" -_GG = "GetGateway" -_GMR = "GatewayMaxResults" -_GNT = "GatewayNextToken" -_LGI = "ListGatewaysInput" -_cLGR = "com.amazonaws.bedrockagentcorecontrol#ListGatewaysRequest" -_GSa = "GatewaySummary" -_GSat = "GatewaySummaries" -_LGO = "ListGatewaysOutput" -_cLGRo = "com.amazonaws.bedrockagentcorecontrol#ListGatewaysResponse" -_it = "items" -_LG = "ListGateways" -_UGI = "UpdateGatewayInput" -_cUGR = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRequest" -_UGO = "UpdateGatewayOutput" -_cUGRo = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayResponse" -_UG = "UpdateGateway" -_MOa = "MatchOperator" -_SE = "StringEquals" -_SLt = "StringLike" -_MPo = "ModelPattern" -_MME = "MatchModelEntry" -_op = "operator" -_MMEa = "MatchModelEntries" -_MMa = "MatchModels" -_aO = "anyOf" -_MPP = "MatchPathPattern" -_MPPa = "MatchPathPatterns" -_MPa = "MatchPaths" -_IPAa = "IamPrincipalArn" -_PMO = "PrincipalMatchOperator" -_IP = "IamPrincipal" -_MPE = "MatchPrincipalEntry" -_iPa = "iamPrincipal" -_MPEa = "MatchPrincipalEntries" -_MPat = "MatchPrincipals" -_Co = "Condition" -_mPa = "matchPrincipals" -_mPat = "matchPaths" -_mM = "matchModels" -_Con = "Conditions" -_GRD = "GatewayRuleDescription" -_GRP = "GatewayRulePriority" -_CGRI = "CreateGatewayRuleInput" -_cCGRR = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRuleRequest" -_pri = "priority" -_cond = "conditions" -_act = "actions" -_GRI = "GatewayRuleId" -_GRS = "GatewayRuleStatus" -_SMB = "SystemManagedBlock" -_mB = "managedBy" -_CGRO = "CreateGatewayRuleOutput" -_cCGRRo = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRuleResponse" -_rI = "ruleId" -_sy = "system" -_CGR = "CreateGatewayRule" -_DGRI = "DeleteGatewayRuleInput" -_cDGRR = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRuleRequest" -_DGRO = "DeleteGatewayRuleOutput" -_cDGRRo = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRuleResponse" -_DGR = "DeleteGatewayRule" -_GGRI = "GetGatewayRuleInput" -_cGGRR = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRuleRequest" -_GGRO = "GetGatewayRuleOutput" -_cGGRRo = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRuleResponse" -_GGR = "GetGatewayRule" -_GRMR = "GatewayRuleMaxResults" -_GRNT = "GatewayRuleNextToken" -_LGRI = "ListGatewayRulesInput" -_cLGRR = "com.amazonaws.bedrockagentcorecontrol#ListGatewayRulesRequest" -_GRDa = "GatewayRuleDetail" -_GR = "GatewayRules" -_LGRO = "ListGatewayRulesOutput" -_cLGRRo = "com.amazonaws.bedrockagentcorecontrol#ListGatewayRulesResponse" -_gR = "gatewayRules" -_LGR = "ListGatewayRules" -_UGRI = "UpdateGatewayRuleInput" -_cUGRR = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRuleRequest" -_UGRO = "UpdateGatewayRuleOutput" -_cUGRRo = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRuleResponse" -_UGR = "UpdateGatewayRule" -_AKCL = "ApiKeyCredentialLocation" -_HEADER = "HEADER" -_QP = "QUERY_PARAMETER" -_AKCPN = "ApiKeyCredentialParameterName" -_AKCPp = "ApiKeyCredentialPrefix" -_AKCPA = "ApiKeyCredentialProviderArn" -_GAKCPa = "GatewayApiKeyCredentialProvider" -_pAr = "providerArn" -_cPN = "credentialParameterName" -_cPr = "credentialPrefix" -_cL = "credentialLocation" -_ICP = "IamCredentialProvider" -_ser = "service" -_reg = "region" -_OACPK = "OAuthCustomParametersKey" -_OACPV = "OAuthCustomParametersValue" -_OACP = "OAuthCustomParameters" -_OADRU = "OAuthDefaultReturnUrl" -_OAGT = "OAuthGrantType" -_CC_ = "CLIENT_CREDENTIALS" -_AC_ = "AUTHORIZATION_CODE" -_TE_ = "TOKEN_EXCHANGE" -_OACPAu = "OAuthCredentialProviderArn" -_OAS = "OAuthScope" -_OASu = "OAuthScopes" -_OACPu = "OAuthCredentialProvider" -_cPu = "customParameters" -_gT = "grantType" -_dRU = "defaultReturnUrl" -_CPr = "CredentialProvider" -_oCP = "oauthCredentialProvider" -_aKCP = "apiKeyCredentialProvider" -_iCP = "iamCredentialProvider" -_CPT = "CredentialProviderType" -_GIR = "GATEWAY_IAM_ROLE" -_OAUTH = "OAUTH" -_AK = "API_KEY" -_CIC = "CALLER_IAM_CREDENTIALS" -_JP = "JWT_PASSTHROUGH" -_CPCr = "CredentialProviderConfiguration" -_cPT = "credentialProviderType" -_cPre = "credentialProvider" -_CPCre = "CredentialProviderConfigurations" -_TD = "TargetDescription" -_MC = "MetadataConfiguration" -_aRH = "allowedRequestHeaders" -_aQP = "allowedQueryParameters" -_aRHl = "allowedResponseHeaders" -_RAu = "RuntimeArn" -_RQ = "RuntimeQualifier" -_IPn = "InlinePayload" -_AAI = "AwsAccountId" -_SBU = "S3BucketUri" -_SCo = "S3Configuration" -_ASC = "ApiSchemaConfiguration" -_iPn = "inlinePayload" -_HASC = "HttpApiSchemaConfiguration" -_RTC = "RuntimeTargetConfiguration" -_q = "qualifier" -_sch = "schema" -_CPNo = "ConnectorParameterName" -_CPV = "ConnectorParameterValue" -_HCP = "HttpConnectorParameters" -_CIo = "ConnectorId" -_HCS = "HttpConnectorSource" -_cI = "connectorId" -_HCTC = "HttpConnectorTargetConfiguration" -_par = "parameters" -_PEa = "PassthroughEndpoint" -_PPT = "PassthroughProtocolType" -_INFERENCE = "INFERENCE" -_SQPCR = "StaticQueryParameterConflictResolution" -_CO = "CLIENT_OVERRIDE" -_SO_ = "STATIC_OVERRIDE" -_SQPN = "StaticQueryParameterName" -_SQPV = "StaticQueryParameterValue" -_SQP = "StaticQueryParameters" -_CIE = "CompositeIdentifierEntry" -_CIL = "CompositeIdentifierList" -_STt = "StickinessTimeout" -_SCti = "StickinessConfiguration" -_ti = "timeout" -_cIo = "compositeIdentifier" -_PTC = "PassthroughTargetConfiguration" -_end = "endpoint" -_sCti = "stickinessConfiguration" -_sQP = "staticQueryParameters" -_sQPCR = "staticQueryParameterConflictResolution" -_HTC = "HttpTargetConfiguration" -_aRg = "agentcoreRuntime" -_pas = "passthrough" -_conne = "connector" -_ICI = "InferenceConnectorId" -_ICS = "InferenceConnectorSource" -_ICTC = "InferenceConnectorTargetConfiguration" -_PP = "ProviderPrefix" -_str = "strip" -_sep = "separator" -_v___ = "." -_MMo = "ModelMapping" -_pP = "providerPrefix" -_ME = "ModelEntry" -_MEo = "ModelEntries" -_IOP = "InferenceOperationPath" -_IOC = "InferenceOperationConfiguration" -_pPr = "providerPath" -_mode = "models" -_IOCn = "InferenceOperationConfigurations" -_IPTC = "InferenceProviderTargetConfiguration" -_mMo = "modelMapping" -_ope = "operations" -_ITC = "InferenceTargetConfiguration" -_RAM = "RestApiMethod" -_GET = "GET" -_DELETE = "DELETE" -_HEAD = "HEAD" -_OPTIONS = "OPTIONS" -_PATCH = "PATCH" -_PUT_ = "PUT" -_POST = "POST" -_RAMe = "RestApiMethods" -_AGTF = "ApiGatewayToolFilter" -_fP = "filterPath" -_met = "methods" -_AGTFp = "ApiGatewayToolFilters" -_AGTO = "ApiGatewayToolOverride" -_meth = "method" -_AGTOp = "ApiGatewayToolOverrides" -_AGTC = "ApiGatewayToolConfiguration" -_tOo = "toolOverrides" -_tFo = "toolFilters" -_AGTCp = "ApiGatewayTargetConfiguration" -_rAI = "restApiId" -_stag = "stage" -_aGTC = "apiGatewayToolConfiguration" -_CPO = "ConnectorParameterOverride" -_vi = "visible" -_CPOo = "ConnectorParameterOverrides" -_CCon = "ConnectorConfiguration" -_pVa = "parameterValues" -_pO = "parameterOverrides" -_CConn = "ConnectorConfigurations" -_ECn = "EnabledConnectors" -_CV = "ConnectorVersion" -_CS = "ConnectorSource" -_CTCo = "ConnectorTargetConfiguration" -_conf = "configurations" -_RP = "RequiredProperties" -_STc = "SchemaType" -_stri = "string" -_NUMBER = "NUMBER" -_num = "number" -_OBJECT = "OBJECT" -_ob = "object" -_ARRAY = "ARRAY" -_ar = "array" -_BOOLEAN = "BOOLEAN" -_bo = "boolean" -_INTEGER = "INTEGER" -_inte = "integer" -_LM = "ListingMode" -_DEFAULT = "DEFAULT" -_DYNAMIC = "DYNAMIC" -_MTSC = "McpToolSchemaConfiguration" -_TRP = "TargetResourcePriority" -_MSTC = "McpServerTargetConfiguration" -_mTS = "mcpToolSchema" -_lMi = "listingMode" -_rP = "resourcePriority" -_OAAD = "OAuth2AuthorizationData" -_aU = "authorizationUrl" -_uI = "userId" -_ADu = "AuthorizationData" -_oa = "oauth2" -_DNo = "DomainName" -_RAA = "ResourceAssociationArn" -_RGA = "ResourceGatewayArn" -_MRD = "ManagedResourceDetails" -_rGA = "resourceGatewayArn" -_rAA = "resourceAssociationArn" -_PEMR = "PrivateEndpointManagedResources" -_TPT = "TargetProtocolType" -_TS = "TargetStatus" -_SYNCHRONIZING = "SYNCHRONIZING" -_SU_ = "SYNCHRONIZE_UNSUCCESSFUL" -_CPA_ = "CREATE_PENDING_AUTH" -_UPA = "UPDATE_PENDING_AUTH" -_SPA = "SYNCHRONIZE_PENDING_AUTH" -_TI = "TargetId" -_DGTI = "DeleteGatewayTargetInput" -_cDGTR = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayTargetRequest" -_tI = "targetId" -_DGTO = "DeleteGatewayTargetOutput" -_cDGTRo = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayTargetResponse" -_DGT = "DeleteGatewayTarget" -_GGTI = "GetGatewayTargetInput" -_cGGTR = "com.amazonaws.bedrockagentcorecontrol#GetGatewayTargetRequest" -_TMR = "TargetMaxResults" -_TNT = "TargetNextToken" -_LGTI = "ListGatewayTargetsInput" -_cLGTR = "com.amazonaws.bedrockagentcorecontrol#ListGatewayTargetsRequest" -_TT = "TargetType" -_OAS_ = "OPEN_API_SCHEMA" -_SM = "SMITHY_MODEL" -_MS = "MCP_SERVER" -_LAMBDA = "LAMBDA" -_AG_ = "API_GATEWAY" -_CONNECTOR = "CONNECTOR" -_AR_ = "AGENTCORE_RUNTIME" -_PASSTHROUGH = "PASSTHROUGH" -_PROVIDER = "PROVIDER" -_HC = "HTTP_CONNECTOR" -_TSa = "TargetSummary" -_lSAa = "lastSynchronizedAt" -_aDu = "authorizationData" -_tT = "targetType" -_TSar = "TargetSummaries" -_LGTO = "ListGatewayTargetsOutput" -_cLGTRo = "com.amazonaws.bedrockagentcorecontrol#ListGatewayTargetsResponse" -_LGT = "ListGatewayTargets" -_TIL = "TargetIdList" -_SGTI = "SynchronizeGatewayTargetsInput" -_cSGTR = "com.amazonaws.bedrockagentcorecontrol#SynchronizeGatewayTargetsRequest" -_tIL = "targetIdList" -_GRPI = "GetResourcePolicyInput" -_cGRPR = "com.amazonaws.bedrockagentcorecontrol#GetResourcePolicyRequest" -_RPB = "ResourcePolicyBody" -_GRPO = "GetResourcePolicyOutput" -_cGRPRo = "com.amazonaws.bedrockagentcorecontrol#GetResourcePolicyResponse" -_pol = "policy" -_GRPe = "GetResourcePolicy" -_TVIT = "TokenVaultIdType" -_GTVI = "GetTokenVaultInput" -_cGTVR = "com.amazonaws.bedrockagentcorecontrol#GetTokenVaultRequest" -_tVI = "tokenVaultId" -_KT = "KeyType" -_CMK = "CustomerManagedKey" -_SMK = "ServiceManagedKey" -_KC = "KmsConfiguration" -_kT = "keyType" -_GTVO = "GetTokenVaultOutput" -_cGTVRo = "com.amazonaws.bedrockagentcorecontrol#GetTokenVaultResponse" -_kC = "kmsConfiguration" -_lMD = "lastModifiedDate" -_GTV = "GetTokenVault" -_HED = "HarnessEndpointDescription" -_HEN = "HarnessEndpointName" -_HI = "HarnessId" -_HV = "HarnessVersion" -_CHEI = "CreateHarnessEndpointInput" -_cCHER = "com.amazonaws.bedrockagentcorecontrol#CreateHarnessEndpointRequest" -_hI = "harnessId" -_HEA = "HarnessEndpointArn" -_HNa = "HarnessName" -_HES = "HarnessEndpointStatus" -_HEa = "HarnessEndpoint" -_hN = "harnessName" -_CHEO = "CreateHarnessEndpointOutput" -_cCHERo = "com.amazonaws.bedrockagentcorecontrol#CreateHarnessEndpointResponse" -_CHE = "CreateHarnessEndpoint" -_DHEI = "DeleteHarnessEndpointInput" -_cDHER = "com.amazonaws.bedrockagentcorecontrol#DeleteHarnessEndpointRequest" -_DHEO = "DeleteHarnessEndpointOutput" -_cDHERo = "com.amazonaws.bedrockagentcorecontrol#DeleteHarnessEndpointResponse" -_DHE = "DeleteHarnessEndpoint" -_GHEI = "GetHarnessEndpointInput" -_cGHER = "com.amazonaws.bedrockagentcorecontrol#GetHarnessEndpointRequest" -_GHEO = "GetHarnessEndpointOutput" -_cGHERo = "com.amazonaws.bedrockagentcorecontrol#GetHarnessEndpointResponse" -_GHE = "GetHarnessEndpoint" -_LHEI = "ListHarnessEndpointsInput" -_cLHER = "com.amazonaws.bedrockagentcorecontrol#ListHarnessEndpointsRequest" -_HEar = "HarnessEndpoints" -_LHEO = "ListHarnessEndpointsOutput" -_cLHERo = "com.amazonaws.bedrockagentcorecontrol#ListHarnessEndpointsResponse" -_endp = "endpoints" -_LHE = "ListHarnessEndpoints" -_UHEI = "UpdateHarnessEndpointInput" -_cUHER = "com.amazonaws.bedrockagentcorecontrol#UpdateHarnessEndpointRequest" -_UHEO = "UpdateHarnessEndpointOutput" -_cUHERo = "com.amazonaws.bedrockagentcorecontrol#UpdateHarnessEndpointResponse" -_UHE = "UpdateHarnessEndpoint" -_HAT = "HarnessAllowedTool" -_HATa = "HarnessAllowedTools" -_HACRER = "HarnessAgentCoreRuntimeEnvironmentRequest" -_HEPR = "HarnessEnvironmentProviderRequest" -_aCRE = "agentCoreRuntimeEnvironment" -_HEAa = "HarnessEnvironmentArtifact" -_HHNa = "HarnessHookName" -_HEBBA = "HarnessEventBridgeBusArn" -_HHEBT = "HarnessHookEventBridgeTarget" -_HLFA = "HarnessLambdaFunctionArn" -_HHFM = "HarnessHookFailureMode" -_ALLOW = "ALLOW" -_al = "allow" -_DENY = "DENY" -_den = "deny" -_HHLT = "HarnessHookLambdaTarget" -_tSi = "timeoutSeconds" -_HSTA = "HarnessSnsTopicArn" -_HHST = "HarnessHookSnsTarget" -_HHT = "HarnessHookTarget" -_sn = "sns" -_eB = "eventBridge" -_HAIH = "HarnessAfterInvocationHook" -_ta = "target" -_HATCH = "HarnessAfterToolCallHook" -_HBIH = "HarnessBeforeInvocationHook" -_HBTCH = "HarnessBeforeToolCallHook" -_HH = "HarnessHook" -_bIe = "beforeInvocation" -_aI = "afterInvocation" -_bTC = "beforeToolCall" -_aTC = "afterToolCall" -_HHa = "HarnessHooks" -_MA = "MemoryArn" -_HACMRC = "HarnessAgentCoreMemoryRetrievalConfig" -_tK = "topK" -_rSe = "relevanceScore" -_sIt = "strategyId" -_HACMRCa = "HarnessAgentCoreMemoryRetrievalConfigs" -_HACMC = "HarnessAgentCoreMemoryConfiguration" -_aIc = "actorId" -_mCe = "messagesCount" -_rCe = "retrievalConfig" -_HDMC = "HarnessDisabledMemoryConfiguration" -_HMMST = "HarnessManagedMemoryStrategyType" -_SUMMARIZATION = "SUMMARIZATION" -_UP = "USER_PREFERENCE" -_EPISODIC = "EPISODIC" -_HMMSL = "HarnessManagedMemoryStrategyList" -_HMMC = "HarnessManagedMemoryConfiguration" -_stra = "strategies" -_eED = "eventExpiryDuration" -_eKA = "encryptionKeyArn" -_HMC = "HarnessMemoryConfiguration" -_aCMC = "agentCoreMemoryConfiguration" -_mMC = "managedMemoryConfiguration" -_dis = "disabled" -_HBAF = "HarnessBedrockApiFormat" -_CS_ = "CONVERSE_STREAM" -_cs = "converse_stream" -_RESPONSES = "RESPONSES" -_res = "responses" -_CC__ = "CHAT_COMPLETIONS" -_cc = "chat_completions" -_MT = "MaxTokens" -_T = "Temperature" -_TPo = "TopP" -_HBMC = "HarnessBedrockModelConfig" -_aF = "apiFormat" -_aPd = "additionalParams" -_AKA = "ApiKeyArn" -_TKo = "TopK" -_HGMC = "HarnessGeminiModelConfig" -_aKA = "apiKeyArn" -_HLLAB = "HarnessLiteLlmApiBase" -_HLLMC = "HarnessLiteLlmModelConfig" -_aB = "apiBase" -_HOAAB = "HarnessOpenAiApiBase" -_HOAAF = "HarnessOpenAiApiFormat" -_HOAMC = "HarnessOpenAiModelConfig" -_HMCa = "HarnessModelConfiguration" -_bMC = "bedrockModelConfig" -_oAMC = "openAiModelConfig" -_gMC = "geminiModelConfig" -_lLMC = "liteLlmModelConfig" -_HASP = "HarnessAwsSkillPath" -_HASPa = "HarnessAwsSkillPaths" -_HSASS = "HarnessSkillAwsSkillsSource" -_pat = "paths" -_HSGA = "HarnessSkillGitAuth" -_cAr = "credentialArn" -_us = "username" -_HSGU = "HarnessSkillGitUrl" -_HSGS = "HarnessSkillGitSource" -_ur = "url" -_aut = "auth" -_HSP = "HarnessSkillPath" -_HSSU = "HarnessSkillS3Uri" -_HSSS = "HarnessSkillS3Source" -_HS = "HarnessSkill" -_gi = "git" -_aSw = "awsSkills" -_HSa = "HarnessSkills" -_STen = "SensitiveText" -_HSCB = "HarnessSystemContentBlock" -_tex = "text" -_HSPa = "HarnessSystemPrompt" -_HBA = "HarnessBrowserArn" -_HACBC = "HarnessAgentCoreBrowserConfig" -_HCIA = "HarnessCodeInterpreterArn" -_HACCIC = "HarnessAgentCoreCodeInterpreterConfig" -_HGOA = "HarnessGatewayOutboundAuth" -_aIw = "awsIam" -_oau = "oauth" -_HACGC = "HarnessAgentCoreGatewayConfig" -_oA = "outboundAuth" -_HIFD = "HarnessInlineFunctionDescription" -_HIFC = "HarnessInlineFunctionConfig" -_iS = "inputSchema" -_HHK = "HttpHeaderKey" -_HHV = "HttpHeaderValue" -_HHM = "HttpHeadersMap" -_HRMOA = "HarnessRemoteMcpOutboundAuth" -_HRMU = "HarnessRemoteMcpUrl" -_HRMC = "HarnessRemoteMcpConfig" -_h = "headers" -_HTCa = "HarnessToolConfiguration" -_rM = "remoteMcp" -_aCB = "agentCoreBrowser" -_aCG = "agentCoreGateway" -_iF = "inlineFunction" -_aCCI = "agentCoreCodeInterpreter" -_HTN = "HarnessToolName" -_HTT = "HarnessToolType" -_RM = "REMOTE_MCP" -_rm = "remote_mcp" -_AB = "AGENTCORE_BROWSER" -_ab = "agentcore_browser" -_ag_ = "agentcore_gateway" -_IF = "INLINE_FUNCTION" -_if = "inline_function" -_ACI = "AGENTCORE_CODE_INTERPRETER" -_aci = "agentcore_code_interpreter" -_HT = "HarnessTool" -_confi = "config" -_HTa = "HarnessTools" -_HSWC = "HarnessSlidingWindowConfiguration" -_HSC = "HarnessSummarizationConfiguration" -_sRu = "summaryRatio" -_pRM = "preserveRecentMessages" -_sSP = "summarizationSystemPrompt" -_HTSC = "HarnessTruncationStrategyConfiguration" -_sW = "slidingWindow" -_sum = "summarization" -_HTS = "HarnessTruncationStrategy" -_SW = "SLIDING_WINDOW" -_sw = "sliding_window" -_HTCar = "HarnessTruncationConfiguration" -_strat = "strategy" -_CHI = "CreateHarnessInput" -_cCHR = "com.amazonaws.bedrockagentcorecontrol#CreateHarnessRequest" -_env = "environment" -_eAn = "environmentArtifact" -_sPy = "systemPrompt" -_too = "tools" -_sk = "skills" -_aTl = "allowedTools" -_memo = "memory" -_tr = "truncation" -_ho = "hooks" -_mIa = "maxIterations" -_HA = "HarnessArn" -_HACRE = "HarnessAgentCoreRuntimeEnvironment" -_HEP = "HarnessEnvironmentProvider" -_HSar = "HarnessStatus" -_H = "Harness" -_hV = "harnessVersion" -_CHO = "CreateHarnessOutput" -_cCHRo = "com.amazonaws.bedrockagentcorecontrol#CreateHarnessResponse" -_ha = "harness" -_CH = "CreateHarness" -_DHI = "DeleteHarnessInput" -_cDHR = "com.amazonaws.bedrockagentcorecontrol#DeleteHarnessRequest" -_dMM = "deleteManagedMemory" -_DHO = "DeleteHarnessOutput" -_cDHRo = "com.amazonaws.bedrockagentcorecontrol#DeleteHarnessResponse" -_DH = "DeleteHarness" -_GHI = "GetHarnessInput" -_cGHR = "com.amazonaws.bedrockagentcorecontrol#GetHarnessRequest" -_GHO = "GetHarnessOutput" -_cGHRo = "com.amazonaws.bedrockagentcorecontrol#GetHarnessResponse" -_GH = "GetHarness" -_LHI = "ListHarnessesInput" -_cLHR = "com.amazonaws.bedrockagentcorecontrol#ListHarnessesRequest" -_HSarn = "HarnessSummary" -_HSarne = "HarnessSummaries" -_LHO = "ListHarnessesOutput" -_cLHRo = "com.amazonaws.bedrockagentcorecontrol#ListHarnessesResponse" -_har = "harnesses" -_LHi = "ListHarnesses" -_LHVI = "ListHarnessVersionsInput" -_cLHVR = "com.amazonaws.bedrockagentcorecontrol#ListHarnessVersionsRequest" -_HVS = "HarnessVersionSummary" -_HVSa = "HarnessVersionSummaries" -_LHVO = "ListHarnessVersionsOutput" -_cLHVRo = "com.amazonaws.bedrockagentcorecontrol#ListHarnessVersionsResponse" -_hVa = "harnessVersions" -_LHV = "ListHarnessVersions" -_UAC = "UpdatedAuthorizerConfiguration" -_UHEA = "UpdatedHarnessEnvironmentArtifact" -_UHMC = "UpdatedHarnessMemoryConfiguration" -_UHI = "UpdateHarnessInput" -_cUHR = "com.amazonaws.bedrockagentcorecontrol#UpdateHarnessRequest" -_UHO = "UpdateHarnessOutput" -_cUHRo = "com.amazonaws.bedrockagentcorecontrol#UpdateHarnessResponse" -_UH = "UpdateHarness" -_TRA = "TaggableResourcesArn" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.bedrockagentcorecontrol#ListTagsForResourceRequest" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.bedrockagentcorecontrol#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_Ar = "Arn" -_MK = "MetadataKey" -_MVT = "MetadataValueType" -_STRINGLIST = "STRINGLIST" -_IK = "IndexedKey" -_IKL = "IndexedKeysList" -_Pro = "Prompt" -_EOCCI = "EpisodicOverrideConsolidationConfigurationInput" -_aTP = "appendToPrompt" -_EOECI = "EpisodicOverrideExtractionConfigurationInput" -_De = "Definition" -_LEIl = "LlmExtractionInstruction" -_NV = "NumberValidation" -_mV = "minValue" -_mVa = "maxValue" -_SLV = "StringListValidation" -_aV = "allowedValues" -_mIax = "maxItems" -_SVt = "StringValidation" -_V = "Validation" -_sVt = "stringValidation" -_sLV = "stringListValidation" -_nV = "numberValidation" -_LECl = "LlmExtractionConfig" -_lEI = "llmExtractionInstruction" -_va = "validation" -_ECx = "ExtractionConfig" -_lEC = "llmExtractionConfig" -_ETx = "ExtractionType" -_LI = "LLM_INFERRED" -_SC_ = "STRICTLY_CONSISTENT" -_MSE = "MetadataSchemaEntry" -_eTx = "extractionType" -_eCxt = "extractionConfig" -_MSL = "MetadataSchemaList" -_MRS = "MemoryRecordSchema" -_mS = "metadataSchema" -_Na = "Namespace" -_NL = "NamespacesList" -_EORCI = "EpisodicOverrideReflectionConfigurationInput" -_na = "namespaces" -_nTa = "namespaceTemplates" -_mRS = "memoryRecordSchema" -_EOCI = "EpisodicOverrideConfigurationInput" -_ext = "extraction" -_cons = "consolidation" -_ref = "reflection" -_ICIn = "InvocationConfigurationInput" -_tA = "topicArn" -_pDBN = "payloadDeliveryBucketName" -_MBTI = "MessageBasedTriggerInput" -_mCes = "messageCount" -_TBTI = "TimeBasedTriggerInput" -_iST = "idleSessionTimeout" -_TBTIo = "TokenBasedTriggerInput" -_tC = "tokenCount" -_TCI = "TriggerConditionInput" -_mBT = "messageBasedTrigger" -_tBT = "tokenBasedTrigger" -_tBTi = "timeBasedTrigger" -_TCIL = "TriggerConditionInputList" -_SMCI = "SelfManagedConfigurationInput" -_tCr = "triggerConditions" -_iCnv = "invocationConfiguration" -_hCWS = "historicalContextWindowSize" -_SOCCI = "SemanticOverrideConsolidationConfigurationInput" -_SOECI = "SemanticOverrideExtractionConfigurationInput" -_SOCI = "SemanticOverrideConfigurationInput" -_SOCCIu = "SummaryOverrideConsolidationConfigurationInput" -_SOCIu = "SummaryOverrideConfigurationInput" -_UPOCCI = "UserPreferenceOverrideConsolidationConfigurationInput" -_UPOECI = "UserPreferenceOverrideExtractionConfigurationInput" -_UPOCI = "UserPreferenceOverrideConfigurationInput" -_CCIu = "CustomConfigurationInput" -_sOe = "semanticOverride" -_sOu = "summaryOverride" -_uPO = "userPreferenceOverride" -_eO = "episodicOverride" -_sMC = "selfManagedConfiguration" -_Nam = "Name" -_REA = "RecordExpiryAction" -_REMOVE = "REMOVE" -_REDD = "RecordExpiryDurationDays" -_RES = "RecordExpirySpecification" -_rEDD = "recordExpiryDurationDays" -_CMSI = "CustomMemoryStrategyInput" -_rES = "recordExpirySpecification" -_ERCI = "EpisodicReflectionConfigurationInput" -_EMSI = "EpisodicMemoryStrategyInput" -_rCef = "reflectionConfiguration" -_SMSI = "SemanticMemoryStrategyInput" -_SMSIu = "SummaryMemoryStrategyInput" -_UPMSI = "UserPreferenceMemoryStrategyInput" -_MSI = "MemoryStrategyInput" -_sMS = "semanticMemoryStrategy" -_sMSu = "summaryMemoryStrategy" -_uPMS = "userPreferenceMemoryStrategy" -_cMS = "customMemoryStrategy" -_eMS = "episodicMemoryStrategy" -_MSIL = "MemoryStrategyInputList" -_NVK = "NamespaceVariableKey" -_NAV = "NamespaceAllowedValue" -_NAVL = "NamespaceAllowedValuesList" -_NRP = "NamespaceRegexPattern" -_NKV = "NamespaceKeyValidation" -_rPe = "regexPattern" -_NKE = "NamespaceKeyEntry" -_NKL = "NamespaceKeysList" -_CLo = "ContentLevel" -_FC__ = "FULL_CONTENT" -_CTo = "ContentType" -_MR_ = "MEMORY_RECORDS" -_CCont = "ContentConfiguration" -_CCLo = "ContentConfigurationList" -_KR = "KinesisResource" -_dSA = "dataStreamArn" -_cCon = "contentConfigurations" -_SDR = "StreamDeliveryResource" -_ki = "kinesis" -_SDRL = "StreamDeliveryResourcesList" -_SDRt = "StreamDeliveryResources" -_reso = "resources" -_CMIr = "CreateMemoryInput" -_mERA = "memoryExecutionRoleArn" -_mSe = "memoryStrategies" -_iK = "indexedKeys" -_nK = "namespaceKeys" -_sDR = "streamDeliveryResources" -_MIe = "MemoryId" -_MSe = "MemoryStatus" -_ECO = "EpisodicConsolidationOverride" -_SCO = "SemanticConsolidationOverride" -_SCOu = "SummaryConsolidationOverride" -_UPCO = "UserPreferenceConsolidationOverride" -_CCC = "CustomConsolidationConfiguration" -_sCO = "semanticConsolidationOverride" -_sCOu = "summaryConsolidationOverride" -_uPCO = "userPreferenceConsolidationOverride" -_eCO = "episodicConsolidationOverride" -_CCons = "ConsolidationConfiguration" -_cCC = "customConsolidationConfiguration" -_EEO = "EpisodicExtractionOverride" -_SEO = "SemanticExtractionOverride" -_UPEO = "UserPreferenceExtractionOverride" -_CEC = "CustomExtractionConfiguration" -_sEO = "semanticExtractionOverride" -_uPEO = "userPreferenceExtractionOverride" -_eEO = "episodicExtractionOverride" -_ECxt = "ExtractionConfiguration" -_cEC = "customExtractionConfiguration" -_ERO = "EpisodicReflectionOverride" -_CRC = "CustomReflectionConfiguration" -_eRO = "episodicReflectionOverride" -_ERC = "EpisodicReflectionConfiguration" -_RCef = "ReflectionConfiguration" -_cRC = "customReflectionConfiguration" -_eRC = "episodicReflectionConfiguration" -_ICnv = "InvocationConfiguration" -_MBT = "MessageBasedTrigger" -_TBT = "TimeBasedTrigger" -_TBTo = "TokenBasedTrigger" -_TCr = "TriggerCondition" -_TCL = "TriggerConditionsList" -_SMC = "SelfManagedConfiguration" -_OT = "OverrideType" -_SO__ = "SEMANTIC_OVERRIDE" -_SO___ = "SUMMARY_OVERRIDE" -_UPO = "USER_PREFERENCE_OVERRIDE" -_SM_ = "SELF_MANAGED" -_EO = "EPISODIC_OVERRIDE" -_SCtr = "StrategyConfiguration" -_MSS = "MemoryStrategyStatus" -_MSIe = "MemoryStrategyId" -_MST = "MemoryStrategyType" -_MSem = "MemoryStrategy" -_MSLe = "MemoryStrategyList" -_Me = "Memory" -_mBRA = "managedByResourceArn" -_CMO = "CreateMemoryOutput" -_SEe = "ServiceException" -_TEh = "ThrottledException" -_CM = "CreateMemory" -_DMI = "DeleteMemoryInput" -_mIe = "memoryId" -_DMO = "DeleteMemoryOutput" -_DM = "DeleteMemory" -_MVe = "MemoryView" -_FULL = "FULL" -_fu = "full" -_WD = "WITHOUT_DECRYPTION" -_wd = "without_decryption" -_GMI = "GetMemoryInput" -_vie = "view" -_GMO = "GetMemoryOutput" -_GM = "GetMemory" -_LMI = "ListMemoriesInput" -_MSemo = "MemorySummary" -_MSLem = "MemorySummaryList" -_LMO = "ListMemoriesOutput" -_memor = "memories" -_LMi = "ListMemories" -_DMSI = "DeleteMemoryStrategyInput" -_mSI = "memoryStrategyId" -_DMSL = "DeleteMemoryStrategiesList" -_CCCI = "CustomConsolidationConfigurationInput" -_MCC = "ModifyConsolidationConfiguration" -_CECI = "CustomExtractionConfigurationInput" -_MEC = "ModifyExtractionConfiguration" -_CRCI = "CustomReflectionConfigurationInput" -_MRC = "ModifyReflectionConfiguration" -_MICI = "ModifyInvocationConfigurationInput" -_MSMC = "ModifySelfManagedConfiguration" -_MSC = "ModifyStrategyConfiguration" -_MMSI = "ModifyMemoryStrategyInput" -_MMSL = "ModifyMemoryStrategiesList" -_MMS = "ModifyMemoryStrategies" -_aMS = "addMemoryStrategies" -_mMS = "modifyMemoryStrategies" -_dMS = "deleteMemoryStrategies" -_UMI = "UpdateMemoryInput" -_aIK = "addIndexedKeys" -_UMO = "UpdateMemoryOutput" -_UM = "UpdateMemory" -_CPVT = "CredentialProviderVendorType" -_GO = "GoogleOauth2" -_GOi = "GithubOauth2" -_SOl = "SlackOauth2" -_SOa = "SalesforceOauth2" -_MOi = "MicrosoftOauth2" -_COu = "CustomOauth2" -_AOt = "AtlassianOauth2" -_LOi = "LinkedinOauth2" -_XO = "XOauth2" -_OO = "OktaOauth2" -_OLO = "OneLoginOauth2" -_POO = "PingOneOauth2" -_FOa = "FacebookOauth2" -_YO = "YandexOauth2" -_RO = "RedditOauth2" -_ZO = "ZoomOauth2" -_TO = "TwitchOauth2" -_SOp = "SpotifyOauth2" -_DOr = "DropboxOauth2" -_NO = "NotionOauth2" -_HO = "HubspotOauth2" -_CAO = "CyberArkOauth2" -_FAO = "FusionAuthOauth2" -_AOu = "Auth0Oauth2" -_COo = "CognitoOauth2" -_CIT = "ClientIdType" -_DCST = "DefaultClientSecretType" -_AOPCI = "AtlassianOauth2ProviderConfigInput" -_cIl = "clientId" -_cS = "clientSecret" -_cSC = "clientSecretConfig" -_cSS = "clientSecretSource" -_CAMT = "ClientAuthenticationMethodType" -_CSB = "CLIENT_SECRET_BASIC" -_CSP = "CLIENT_SECRET_POST" -_PKJ = "PRIVATE_KEY_JWT" -_DCIT = "DefaultClientIdType" -_AET = "AuthorizationEndpointType" -_IUT = "IssuerUrlType" -_RTe = "ResponseType" -_RLT = "ResponseListType" -_TET = "TokenEndpointType" -_TAM = "TokenAuthMethod" -_TEAMT = "TokenEndpointAuthMethodsType" -_OASM = "Oauth2AuthorizationServerMetadata" -_is = "issuer" -_aE = "authorizationEndpoint" -_tE = "tokenEndpoint" -_rT = "responseTypes" -_tEAM = "tokenEndpointAuthMethods" -_DUT = "DiscoveryUrlType" -_OD = "Oauth2Discovery" -_aSMu = "authorizationServerMetadata" -_OBOTEGTT = "OnBehalfOfTokenExchangeGrantTypeType" -_JAG = "JWT_AUTHORIZATION_GRANT" -_OBOCAM = "OnBehalfOfClientAuthenticationMethod" -_NC_ = "NO_CLIENT" -_OBOAC = "OnBehalfOfAuthenticationConfig" -_cAM = "clientAuthenticationMethod" -_STco = "ScopeType" -_SLT = "ScopesListType" -_TEGTCT = "TokenExchangeGrantTypeConfigType" -_aTCc = "actorTokenContent" -_aTS = "actorTokenScopes" -_OBOTECT = "OnBehalfOfTokenExchangeConfigType" -_tEGTC = "tokenExchangeGrantTypeConfig" -_oBOAC = "onBehalfOfAuthenticationConfig" -_KKST = "KmsKeySourceType" -_PKS = "PrivateKeySource" -_kKS = "kmsKeySource" -_SAi = "SigningAlgorithm" -_RS_ = "RS256" -_PS = "PS256" -_ES_ = "ES256" -_PKJC = "PrivateKeyJwtConfig" -_pKS = "privateKeySource" -_sAi = "signingAlgorithm" -_aHC = "additionalHeaderClaims" -_aPC = "additionalPayloadClaims" -_COPCI = "CustomOauth2ProviderConfigInput" -_oD = "oauthDiscovery" -_oBOTEC = "onBehalfOfTokenExchangeConfig" -_pKJC = "privateKeyJwtConfig" -_GOPCI = "GithubOauth2ProviderConfigInput" -_GOPCIo = "GoogleOauth2ProviderConfigInput" -_IOPCI = "IncludedOauth2ProviderConfigInput" -_LOPCI = "LinkedinOauth2ProviderConfigInput" -_TIT = "TenantIdType" -_MOPCI = "MicrosoftOauth2ProviderConfigInput" -_tIe = "tenantId" -_SOPCI = "SalesforceOauth2ProviderConfigInput" -_SOPCIl = "SlackOauth2ProviderConfigInput" -_OPCI = "Oauth2ProviderConfigInput" -_cOPC = "customOauth2ProviderConfig" -_gOPC = "googleOauth2ProviderConfig" -_gOPCi = "githubOauth2ProviderConfig" -_sOPC = "slackOauth2ProviderConfig" -_sOPCa = "salesforceOauth2ProviderConfig" -_mOPC = "microsoftOauth2ProviderConfig" -_aOPC = "atlassianOauth2ProviderConfig" -_lOPC = "linkedinOauth2ProviderConfig" -_iOPC = "includedOauth2ProviderConfig" -_COCPI = "CreateOauth2CredentialProviderInput" -_cCOCPR = "com.amazonaws.bedrockagentcorecontrol#CreateOauth2CredentialProviderRequest" -_cPVr = "credentialProviderVendor" -_oPCI = "oauth2ProviderConfigInput" -_CPATr = "CredentialProviderArnType" -_AOPCO = "AtlassianOauth2ProviderConfigOutput" -_COPCO = "CustomOauth2ProviderConfigOutput" -_GOPCO = "GithubOauth2ProviderConfigOutput" -_GOPCOo = "GoogleOauth2ProviderConfigOutput" -_IOPCO = "IncludedOauth2ProviderConfigOutput" -_LOPCO = "LinkedinOauth2ProviderConfigOutput" -_MOPCO = "MicrosoftOauth2ProviderConfigOutput" -_SOPCO = "SalesforceOauth2ProviderConfigOutput" -_SOPCOl = "SlackOauth2ProviderConfigOutput" -_OPCO = "Oauth2ProviderConfigOutput" -_St = "Status" -_COCPO = "CreateOauth2CredentialProviderOutput" -_cCOCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#CreateOauth2CredentialProviderResponse" -) -_cSA = "clientSecretArn" -_cSJK = "clientSecretJsonKey" -_cUa = "callbackUrl" -_oPCO = "oauth2ProviderConfigOutput" -_COCP = "CreateOauth2CredentialProvider" -_DOCPI = "DeleteOauth2CredentialProviderInput" -_cDOCPR = "com.amazonaws.bedrockagentcorecontrol#DeleteOauth2CredentialProviderRequest" -_DOCPO = "DeleteOauth2CredentialProviderOutput" -_cDOCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#DeleteOauth2CredentialProviderResponse" -) -_DOCP = "DeleteOauth2CredentialProvider" -_GOCPI = "GetOauth2CredentialProviderInput" -_cGOCPR = "com.amazonaws.bedrockagentcorecontrol#GetOauth2CredentialProviderRequest" -_GOCPO = "GetOauth2CredentialProviderOutput" -_cGOCPRo = "com.amazonaws.bedrockagentcorecontrol#GetOauth2CredentialProviderResponse" -_GOCP = "GetOauth2CredentialProvider" -_LOCPI = "ListOauth2CredentialProvidersInput" -_cLOCPR = "com.amazonaws.bedrockagentcorecontrol#ListOauth2CredentialProvidersRequest" -_OCPI = "Oauth2CredentialProviderItem" -_OCP = "Oauth2CredentialProviders" -_LOCPO = "ListOauth2CredentialProvidersOutput" -_cLOCPRo = "com.amazonaws.bedrockagentcorecontrol#ListOauth2CredentialProvidersResponse" -_LOCP = "ListOauth2CredentialProviders" -_UOCPI = "UpdateOauth2CredentialProviderInput" -_cUOCPR = "com.amazonaws.bedrockagentcorecontrol#UpdateOauth2CredentialProviderRequest" -_UOCPO = "UpdateOauth2CredentialProviderOutput" -_cUOCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#UpdateOauth2CredentialProviderResponse" -) -_UOCP = "UpdateOauth2CredentialProvider" -_CFl = "ClusteringFrequency" -_DAILY = "DAILY" -_WEEKLY = "WEEKLY" -_MONTHLY = "MONTHLY" -_CFL = "ClusteringFrequencyList" -_CCl = "ClusteringConfig" -_fre = "frequencies" -_LGNP = "LogGroupNamePrefix" -_LGNPL = "LogGroupNamePrefixList" -_LGN = "LogGroupName" -_LGNL = "LogGroupNamesList" -_SNe = "ServiceName" -_SNL = "ServiceNamesList" -_CWLIC = "CloudWatchLogsInputConfig" -_lGN = "logGroupNames" -_lGNP = "logGroupNamePrefixes" -_sNe = "serviceNames" -_DSC = "DataSourceConfig" -_cWL = "cloudWatchLogs" -_ECD = "EvaluationConfigDescription" -_ER = "EvaluatorReference" -_ELv = "EvaluatorList" -_II = "InsightId" -_I = "Insight" -_iI = "insightId" -_IL = "InsightList" -_ECN = "EvaluationConfigName" -_OLGN = "OptionalLogGroupName" -_MN = "MetricsNamespace" -_RDe = "ResultDestination" -_DLG = "DEDICATED_LOG_GROUP" -_SLG = "SOURCE_LOG_GROUP" -_CWOC = "CloudWatchOutputConfig" -_lGNo = "logGroupName" -_mN = "metricsNamespace" -_rDe = "resultDestination" -_OC = "OutputConfig" -_cWC = "cloudWatchConfig" -_FOi = "FilterOperator" -_E = "Equals" -_NE = "NOT_EQUALS" -_NEo = "NotEquals" -_GT = "GREATER_THAN" -_GTr = "GreaterThan" -_LT = "LESS_THAN" -_LTe = "LessThan" -_GTOE = "GREATER_THAN_OR_EQUAL" -_GTOEr = "GreaterThanOrEqual" -_LTOE = "LESS_THAN_OR_EQUAL" -_LTOEe = "LessThanOrEqual" -_Cont = "Contains" -_NC__ = "NOT_CONTAINS" -_NCo = "NotContains" -_FV = "FilterValue" -_sVtr = "stringValue" -_dVo = "doubleValue" -_bVo = "booleanValue" -_Fi = "Filter" -_FL = "FilterList" -_SPa = "SamplingPercentage" -_SCa = "SamplingConfig" -_sPa = "samplingPercentage" -_SCes = "SessionConfig" -_sTM = "sessionTimeoutMinutes" -_R = "Rule" -_sCa = "samplingConfig" -_fil = "filters" -_sCes = "sessionConfig" -_COECI = "CreateOnlineEvaluationConfigInput" -_cCOECR = "com.amazonaws.bedrockagentcorecontrol#CreateOnlineEvaluationConfigRequest" -_oECN = "onlineEvaluationConfigName" -_rul = "rule" -_dSC = "dataSourceConfig" -_ins = "insights" -_cCl = "clusteringConfig" -_oC = "outputConfig" -_eERA = "evaluationExecutionRoleArn" -_eOC = "enableOnCreate" -_OEES = "OnlineEvaluationExecutionStatus" -_OECA = "OnlineEvaluationConfigArn" -_OECI = "OnlineEvaluationConfigId" -_OECS = "OnlineEvaluationConfigStatus" -_ERROR = "ERROR" -_COECO = "CreateOnlineEvaluationConfigOutput" -_cCOECRo = "com.amazonaws.bedrockagentcorecontrol#CreateOnlineEvaluationConfigResponse" -_oECA = "onlineEvaluationConfigArn" -_oECI = "onlineEvaluationConfigId" -_eS = "executionStatus" -_COEC = "CreateOnlineEvaluationConfig" -_DOECI = "DeleteOnlineEvaluationConfigInput" -_cDOECR = "com.amazonaws.bedrockagentcorecontrol#DeleteOnlineEvaluationConfigRequest" -_DOECO = "DeleteOnlineEvaluationConfigOutput" -_cDOECRo = "com.amazonaws.bedrockagentcorecontrol#DeleteOnlineEvaluationConfigResponse" -_DOEC = "DeleteOnlineEvaluationConfig" -_GOECI = "GetOnlineEvaluationConfigInput" -_cGOECR = "com.amazonaws.bedrockagentcorecontrol#GetOnlineEvaluationConfigRequest" -_GOECO = "GetOnlineEvaluationConfigOutput" -_cGOECRo = "com.amazonaws.bedrockagentcorecontrol#GetOnlineEvaluationConfigResponse" -_GOEC = "GetOnlineEvaluationConfig" -_LOECI = "ListOnlineEvaluationConfigsInput" -_cLOECR = "com.amazonaws.bedrockagentcorecontrol#ListOnlineEvaluationConfigsRequest" -_OECSn = "OnlineEvaluationConfigSummary" -_OECSL = "OnlineEvaluationConfigSummaryList" -_LOECO = "ListOnlineEvaluationConfigsOutput" -_cLOECRo = "com.amazonaws.bedrockagentcorecontrol#ListOnlineEvaluationConfigsResponse" -_oEC = "onlineEvaluationConfigs" -_LOEC = "ListOnlineEvaluationConfigs" -_UOECI = "UpdateOnlineEvaluationConfigInput" -_cUOECR = "com.amazonaws.bedrockagentcorecontrol#UpdateOnlineEvaluationConfigRequest" -_UOECO = "UpdateOnlineEvaluationConfigOutput" -_cUOECRo = "com.amazonaws.bedrockagentcorecontrol#UpdateOnlineEvaluationConfigResponse" -_UOEC = "UpdateOnlineEvaluationConfig" -_PCPVT = "PaymentCredentialProviderVendorType" -_CCDP = "CoinbaseCDP" -_SPt = "StripePrivy" -_CCAKIT = "CoinbaseCdpApiKeyIdType" -_DCCAKST = "DefaultCoinbaseCdpApiKeySecretType" -_DCCWST = "DefaultCoinbaseCdpWalletSecretType" -_CCCIo = "CoinbaseCdpConfigurationInput" -_aKI = "apiKeyId" -_aKS = "apiKeySecret" -_wS = "walletSecret" -_wSS = "walletSecretSource" -_wSC = "walletSecretConfig" -_SPAIT = "StripePrivyAppIdType" -_DSPAST = "DefaultStripePrivyAppSecretType" -_SPAITt = "StripePrivyAuthorizationIdType" -_DSPAPKT = "DefaultStripePrivyAuthorizationPrivateKeyType" -_SPCI = "StripePrivyConfigurationInput" -_aIp = "appId" -_aSp = "appSecret" -_aSS = "appSecretSource" -_aSC = "appSecretConfig" -_aPK = "authorizationPrivateKey" -_aPKS = "authorizationPrivateKeySource" -_aPKC = "authorizationPrivateKeyConfig" -_aIu = "authorizationId" -_PPCI = "PaymentProviderConfigurationInput" -_cCCo = "coinbaseCdpConfiguration" -_sPC = "stripePrivyConfiguration" -_CPCPI = "CreatePaymentCredentialProviderInput" -_cCPCPR = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentCredentialProviderRequest" -_pCI = "providerConfigurationInput" -_PCPAT = "PaymentCredentialProviderArnType" -_CCCO = "CoinbaseCdpConfigurationOutput" -_wSA = "walletSecretArn" -_wSJK = "walletSecretJsonKey" -_SPCO = "StripePrivyConfigurationOutput" -_aSA = "appSecretArn" -_aSJK = "appSecretJsonKey" -_aPKA = "authorizationPrivateKeyArn" -_aPKJK = "authorizationPrivateKeyJsonKey" -_PPCO = "PaymentProviderConfigurationOutput" -_CPCPO = "CreatePaymentCredentialProviderOutput" -_cCPCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#CreatePaymentCredentialProviderResponse" -) -_pCO = "providerConfigurationOutput" -_CPCP = "CreatePaymentCredentialProvider" -_DPCPI = "DeletePaymentCredentialProviderInput" -_cDPCPR = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentCredentialProviderRequest" -_DPCPO = "DeletePaymentCredentialProviderOutput" -_cDPCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#DeletePaymentCredentialProviderResponse" -) -_DPCP = "DeletePaymentCredentialProvider" -_GPCPI = "GetPaymentCredentialProviderInput" -_cGPCPR = "com.amazonaws.bedrockagentcorecontrol#GetPaymentCredentialProviderRequest" -_GPCPO = "GetPaymentCredentialProviderOutput" -_cGPCPRo = "com.amazonaws.bedrockagentcorecontrol#GetPaymentCredentialProviderResponse" -_GPCP = "GetPaymentCredentialProvider" -_LPCPI = "ListPaymentCredentialProvidersInput" -_cLPCPR = "com.amazonaws.bedrockagentcorecontrol#ListPaymentCredentialProvidersRequest" -_PCPI = "PaymentCredentialProviderItem" -_PCP = "PaymentCredentialProviders" -_LPCPO = "ListPaymentCredentialProvidersOutput" -_cLPCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#ListPaymentCredentialProvidersResponse" -) -_LPCP = "ListPaymentCredentialProviders" -_UPCPI = "UpdatePaymentCredentialProviderInput" -_cUPCPR = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentCredentialProviderRequest" -_UPCPO = "UpdatePaymentCredentialProviderOutput" -_cUPCPRo = ( - "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentCredentialProviderResponse" -) -_UPCP = "UpdatePaymentCredentialProvider" -_PAT = "PaymentsAuthorizerType" -_PD = "PaymentsDescription" -_PMN = "PaymentManagerName" -_CPMI = "CreatePaymentManagerInput" -_cCPMR = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentManagerRequest" -_PMA = "PaymentManagerArn" -_PMI = "PaymentManagerId" -_PMS = "PaymentManagerStatus" -_CPMO = "CreatePaymentManagerOutput" -_cCPMRo = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentManagerResponse" -_pMA = "paymentManagerArn" -_pMI = "paymentManagerId" -_CPM = "CreatePaymentManager" -_DPMI = "DeletePaymentManagerInput" -_cDPMR = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentManagerRequest" -_DPMO = "DeletePaymentManagerOutput" -_cDPMRo = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentManagerResponse" -_DPM = "DeletePaymentManager" -_GPMI = "GetPaymentManagerInput" -_cGPMR = "com.amazonaws.bedrockagentcorecontrol#GetPaymentManagerRequest" -_GPMO = "GetPaymentManagerOutput" -_cGPMRo = "com.amazonaws.bedrockagentcorecontrol#GetPaymentManagerResponse" -_GPM = "GetPaymentManager" -_LPMI = "ListPaymentManagersInput" -_cLPMR = "com.amazonaws.bedrockagentcorecontrol#ListPaymentManagersRequest" -_PMSa = "PaymentManagerSummary" -_PMSay = "PaymentManagerSummaries" -_LPMO = "ListPaymentManagersOutput" -_cLPMRo = "com.amazonaws.bedrockagentcorecontrol#ListPaymentManagersResponse" -_pM = "paymentManagers" -_LPM = "ListPaymentManagers" -_PCPA = "PaymentCredentialProviderArn" -_PCPC = "PaymentCredentialProviderConfiguration" -_CPCred = "CredentialsProviderConfiguration" -_cCDP = "coinbaseCDP" -_sPt = "stripePrivy" -_CPCrede = "CredentialsProviderConfigurations" -_PCN = "PaymentConnectorName" -_PCPM = "PaymentConnectorProvisionMode" -_MANUAL = "MANUAL" -_QC = "QUICK_CREATE" -_PCT = "PaymentConnectorType" -_CC___ = "COINBASE_CDP" -_SP_ = "STRIPE_PRIVY" -_CPCI = "CreatePaymentConnectorInput" -_cCPCR = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentConnectorRequest" -_cPCr = "credentialProviderConfigurations" -_pMr = "provisionMode" -_PCAU = "PaymentConnectorAuthorizationUrl" -_PCI = "PaymentConnectorId" -_PCS = "PaymentConnectorStatus" -_AMSR = "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" -_PA = "PENDING_AUTHENTICATION" -_PROVISIONING = "PROVISIONING" -_AE_ = "AUTHENTICATION_EXPIRED" -_AF = "AUTHENTICATION_FAILED" -_CPCO = "CreatePaymentConnectorOutput" -_cCPCRo = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentConnectorResponse" -_pCIa = "paymentConnectorId" -_SRE = "SubscriptionRequiredException" -_sUu = "subscriptionUrl" -_pN = "productName" -_CPCrea = "CreatePaymentConnector" -_DPCI = "DeletePaymentConnectorInput" -_cDPCR = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentConnectorRequest" -_DPCO = "DeletePaymentConnectorOutput" -_cDPCRo = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentConnectorResponse" -_DPC = "DeletePaymentConnector" -_GPCI = "GetPaymentConnectorInput" -_cGPCR = "com.amazonaws.bedrockagentcorecontrol#GetPaymentConnectorRequest" -_GPCO = "GetPaymentConnectorOutput" -_cGPCRo = "com.amazonaws.bedrockagentcorecontrol#GetPaymentConnectorResponse" -_cUA = "credentialsUpdatedAt" -_GPCe = "GetPaymentConnector" -_LPCI = "ListPaymentConnectorsInput" -_cLPCR = "com.amazonaws.bedrockagentcorecontrol#ListPaymentConnectorsRequest" -_PCSa = "PaymentConnectorSummary" -_PCSay = "PaymentConnectorSummaries" -_LPCO = "ListPaymentConnectorsOutput" -_cLPCRo = "com.amazonaws.bedrockagentcorecontrol#ListPaymentConnectorsResponse" -_pCa = "paymentConnectors" -_LPC = "ListPaymentConnectors" -_CCS = "CoinbaseCdpSecret" -_WS = "WALLET_SECRET" -_CCSo = "CoinbaseCdpSecrets" -_CCRT = "CoinbaseCdpRotationTargets" -_secr = "secrets" -_CRCr = "CredentialRotationConfig" -_RPCCI = "RotatePaymentConnectorCredentialsInput" -_cRPCCR = ( - "com.amazonaws.bedrockagentcorecontrol#RotatePaymentConnectorCredentialsRequest" -) -_cTR = "credentialsToRotate" -_RPCCO = "RotatePaymentConnectorCredentialsOutput" -_cRPCCRo = ( - "com.amazonaws.bedrockagentcorecontrol#RotatePaymentConnectorCredentialsResponse" -) -_RPCC = "RotatePaymentConnectorCredentials" -_UPCI = "UpdatePaymentConnectorInput" -_cUPCR = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentConnectorRequest" -_UPCOp = "UpdatePaymentConnectorOutput" -_cUPCRo = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentConnectorResponse" -_UPC = "UpdatePaymentConnector" -_UPMI = "UpdatePaymentManagerInput" -_cUPMR = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentManagerRequest" -_UPMO = "UpdatePaymentManagerOutput" -_cUPMRo = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentManagerResponse" -_UPM = "UpdatePaymentManager" -_PEN = "PolicyEngineName" -_CPEI = "CreatePolicyEngineInput" -_cCPER = "com.amazonaws.bedrockagentcorecontrol#CreatePolicyEngineRequest" -_PEA = "PolicyEngineArn" -_RI = "ResourceId" -_PES = "PolicyEngineStatus" -_Str = "String" -_PSR = "PolicyStatusReasons" -_CPEO = "CreatePolicyEngineOutput" -_cCPERo = "com.amazonaws.bedrockagentcorecontrol#CreatePolicyEngineResponse" -_pEI = "policyEngineId" -_pEA = "policyEngineArn" -_CPE = "CreatePolicyEngine" -_DPEI = "DeletePolicyEngineInput" -_cDPER = "com.amazonaws.bedrockagentcorecontrol#DeletePolicyEngineRequest" -_DPEO = "DeletePolicyEngineOutput" -_cDPERo = "com.amazonaws.bedrockagentcorecontrol#DeletePolicyEngineResponse" -_DPE = "DeletePolicyEngine" -_GPEI = "GetPolicyEngineInput" -_cGPER = "com.amazonaws.bedrockagentcorecontrol#GetPolicyEngineRequest" -_GPEO = "GetPolicyEngineOutput" -_cGPERo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyEngineResponse" -_GPE = "GetPolicyEngine" -_GPESI = "GetPolicyEngineSummaryInput" -_cGPESR = "com.amazonaws.bedrockagentcorecontrol#GetPolicyEngineSummaryRequest" -_GPESO = "GetPolicyEngineSummaryOutput" -_cGPESRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyEngineSummaryResponse" -_GPES = "GetPolicyEngineSummary" -_LPEI = "ListPolicyEnginesInput" -_cLPER = "com.amazonaws.bedrockagentcorecontrol#ListPolicyEnginesRequest" -_PEo = "PolicyEngine" -_PEol = "PolicyEngines" -_LPEO = "ListPolicyEnginesOutput" -_cLPERo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyEnginesResponse" -_pEo = "policyEngines" -_LPE = "ListPolicyEngines" -_LPESI = "ListPolicyEngineSummariesInput" -_cLPESR = "com.amazonaws.bedrockagentcorecontrol#ListPolicyEngineSummariesRequest" -_PESo = "PolicyEngineSummary" -_PESL = "PolicyEngineSummaryList" -_LPESO = "ListPolicyEngineSummariesOutput" -_cLPESRo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyEngineSummariesResponse" -_LPES = "ListPolicyEngineSummaries" -_UPEI = "UpdatePolicyEngineInput" -_cUPER = "com.amazonaws.bedrockagentcorecontrol#UpdatePolicyEngineRequest" -_UPEOp = "UpdatePolicyEngineOutput" -_cUPERo = "com.amazonaws.bedrockagentcorecontrol#UpdatePolicyEngineResponse" -_UPE = "UpdatePolicyEngine" -_GPGI = "GetPolicyGenerationInput" -_cGPGR = "com.amazonaws.bedrockagentcorecontrol#GetPolicyGenerationRequest" -_pGI = "policyGenerationId" -_PGN = "PolicyGenerationName" -_PGA = "PolicyGenerationArn" -_Re = "Resource" -_PGS = "PolicyGenerationStatus" -_GENERATING = "GENERATING" -_GENERATED = "GENERATED" -_GF = "GENERATE_FAILED" -_GPGO = "GetPolicyGenerationOutput" -_cGPGRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyGenerationResponse" -_pGA = "policyGenerationArn" -_resou = "resource" -_fin = "findings" -_GPG = "GetPolicyGeneration" -_GPGSI = "GetPolicyGenerationSummaryInput" -_cGPGSR = "com.amazonaws.bedrockagentcorecontrol#GetPolicyGenerationSummaryRequest" -_GPGSO = "GetPolicyGenerationSummaryOutput" -_cGPGSRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyGenerationSummaryResponse" -_GPGS = "GetPolicyGenerationSummary" -_LPGAI = "ListPolicyGenerationAssetsInput" -_cLPGAR = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationAssetsRequest" -_Sta = "Statement" -_CPe = "CedarPolicy" -_stat = "statement" -_PSo = "PolicyStatement" -_PGD = "PolicyGenerationDetails" -_pGAI = "policyGenerationAssetId" -_PDo = "PolicyDefinition" -_ced = "cedar" -_pG = "policyGeneration" -_FTi = "FindingType" -_VALID = "VALID" -_INVALID = "INVALID" -_NT_ = "NOT_TRANSLATABLE" -_AA__ = "ALLOW_ALL" -_AN = "ALLOW_NONE" -_DA_ = "DENY_ALL" -_DN_ = "DENY_NONE" -_Fin = "Finding" -_Find = "Findings" -_NLa = "NaturalLanguage" -_PGAo = "PolicyGenerationAsset" -_rTF = "rawTextFragment" -_PGAol = "PolicyGenerationAssets" -_LPGAO = "ListPolicyGenerationAssetsOutput" -_cLPGARo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationAssetsResponse" -_pGAo = "policyGenerationAssets" -_LPGA = "ListPolicyGenerationAssets" -_LPGI = "ListPolicyGenerationsInput" -_cLPGR = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationsRequest" -_PG = "PolicyGeneration" -_PGo = "PolicyGenerations" -_LPGO = "ListPolicyGenerationsOutput" -_cLPGRo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationsResponse" -_pGo = "policyGenerations" -_LPG = "ListPolicyGenerations" -_LPGSI = "ListPolicyGenerationSummariesInput" -_cLPGSR = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationSummariesRequest" -_PGSo = "PolicyGenerationSummary" -_PGSL = "PolicyGenerationSummaryList" -_LPGSO = "ListPolicyGenerationSummariesOutput" -_cLPGSRo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationSummariesResponse" -_LPGS = "ListPolicyGenerationSummaries" -_Conte = "Content" -_rTa = "rawText" -_SPGI = "StartPolicyGenerationInput" -_cSPGR = "com.amazonaws.bedrockagentcorecontrol#StartPolicyGenerationRequest" -_cont = "content" -_SPGO = "StartPolicyGenerationOutput" -_cSPGRo = "com.amazonaws.bedrockagentcorecontrol#StartPolicyGenerationResponse" -_SPG = "StartPolicyGeneration" -_EM = "EnforcementMode" -_PN = "PolicyName" -_PVM = "PolicyValidationMode" -_FOAF = "FAIL_ON_ANY_FINDINGS" -_IAF = "IGNORE_ALL_FINDINGS" -_CPIr = "CreatePolicyInput" -_cCPR = "com.amazonaws.bedrockagentcorecontrol#CreatePolicyRequest" -_vM = "validationMode" -_eM = "enforcementMode" -_PAo = "PolicyArn" -_PSol = "PolicyStatus" -_CPOr = "CreatePolicyOutput" -_cCPRo = "com.amazonaws.bedrockagentcorecontrol#CreatePolicyResponse" -_pIo = "policyId" -_pAo = "policyArn" -_CPre = "CreatePolicy" -_DPI = "DeletePolicyInput" -_cDPR = "com.amazonaws.bedrockagentcorecontrol#DeletePolicyRequest" -_DPO = "DeletePolicyOutput" -_cDPRo = "com.amazonaws.bedrockagentcorecontrol#DeletePolicyResponse" -_DP = "DeletePolicy" -_GPI = "GetPolicyInput" -_cGPR = "com.amazonaws.bedrockagentcorecontrol#GetPolicyRequest" -_GPO = "GetPolicyOutput" -_cGPRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyResponse" -_GPe = "GetPolicy" -_GPSI = "GetPolicySummaryInput" -_cGPSR = "com.amazonaws.bedrockagentcorecontrol#GetPolicySummaryRequest" -_GPSO = "GetPolicySummaryOutput" -_cGPSRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicySummaryResponse" -_GPS = "GetPolicySummary" -_LPI = "ListPoliciesInput" -_cLPR = "com.amazonaws.bedrockagentcorecontrol#ListPoliciesRequest" -_tRS = "targetResourceScope" -_Pol = "Policy" -_Poli = "Policies" -_LPO = "ListPoliciesOutput" -_cLPRo = "com.amazonaws.bedrockagentcorecontrol#ListPoliciesResponse" -_poli = "policies" -_LPi = "ListPolicies" -_LPSI = "ListPolicySummariesInput" -_cLPSR = "com.amazonaws.bedrockagentcorecontrol#ListPolicySummariesRequest" -_PSoli = "PolicySummary" -_PSL = "PolicySummaryList" -_LPSO = "ListPolicySummariesOutput" -_cLPSRo = "com.amazonaws.bedrockagentcorecontrol#ListPolicySummariesResponse" -_LPS = "ListPolicySummaries" -_UPI = "UpdatePolicyInput" -_cUPR = "com.amazonaws.bedrockagentcorecontrol#UpdatePolicyRequest" -_UPOp = "UpdatePolicyOutput" -_cUPRo = "com.amazonaws.bedrockagentcorecontrol#UpdatePolicyResponse" -_UPp = "UpdatePolicy" -_PRPI = "PutResourcePolicyInput" -_cPRPR = "com.amazonaws.bedrockagentcorecontrol#PutResourcePolicyRequest" -_PRPO = "PutResourcePolicyOutput" -_cPRPRo = "com.amazonaws.bedrockagentcorecontrol#PutResourcePolicyResponse" -_PRP = "PutResourcePolicy" -_CDus = "CustomDescriptor" -_SDe = "ServerDefinition" -_TDo = "ToolsDefinition" -_pVr = "protocolVersion" -_MD = "McpDescriptor" -_Des = "Descriptors" -_aa = "a2a" -_cu = "custom" -_aSg = "agentSkills" -_DTe = "DescriptorType" -_AS = "AGENT_SKILLS" -_RRN = "RegistryRecordName" -_RRV = "RegistryRecordVersion" -_RIe = "RegistryIdentifier" -_ISR = "IamSigningRegion" -_IRA = "IamRoleArn" -_ISSN = "IamSigningServiceName" -_RRICP = "RegistryRecordIamCredentialProvider" -_CPMu = "CustomParameterMap" -_RROAGT = "RegistryRecordOAuthGrantType" -_CPAr = "CredentialProviderArn" -_SLc = "ScopeList" -_RROACP = "RegistryRecordOAuthCredentialProvider" -_RRCPU = "RegistryRecordCredentialProviderUnion" -_RRCPT = "RegistryRecordCredentialProviderType" -_IAM = "IAM" -_RRCPC = "RegistryRecordCredentialProviderConfiguration" -_RRCPCL = "RegistryRecordCredentialProviderConfigurationList" -_MSU = "McpServerUrl" -_FUSC = "FromUrlSynchronizationConfiguration" -_SCy = "SynchronizationConfiguration" -_fU = "fromUrl" -_STy = "SynchronizationType" -_URL = "URL" -_CRRI = "CreateRegistryRecordInput" -_cCRRR = "com.amazonaws.bedrockagentcorecontrol#CreateRegistryRecordRequest" -_rIe = "registryId" -_dT = "descriptorType" -_des = "descriptors" -_rVe = "recordVersion" -_sTy = "synchronizationType" -_sCy = "synchronizationConfiguration" -_RRA = "RegistryRecordArn" -_RRS = "RegistryRecordStatus" -_DRAFT = "DRAFT" -_PA_ = "PENDING_APPROVAL" -_APPROVED = "APPROVED" -_REJECTED = "REJECTED" -_DEPRECATED = "DEPRECATED" -_CRRO = "CreateRegistryRecordOutput" -_cCRRRo = "com.amazonaws.bedrockagentcorecontrol#CreateRegistryRecordResponse" -_rAec = "recordArn" -_CRR = "CreateRegistryRecord" -_RIec = "RecordIdentifier" -_DRRI = "DeleteRegistryRecordInput" -_cDRRR = "com.amazonaws.bedrockagentcorecontrol#DeleteRegistryRecordRequest" -_rIec = "recordId" -_DRRO = "DeleteRegistryRecordOutput" -_cDRRRo = "com.amazonaws.bedrockagentcorecontrol#DeleteRegistryRecordResponse" -_DRR = "DeleteRegistryRecord" -_GRRI = "GetRegistryRecordInput" -_cGRRR = "com.amazonaws.bedrockagentcorecontrol#GetRegistryRecordRequest" -_RRI = "RegistryRecordId" -_RAe = "RegistryArn" -_GRRO = "GetRegistryRecordOutput" -_cGRRRo = "com.amazonaws.bedrockagentcorecontrol#GetRegistryRecordResponse" -_rAeg = "registryArn" -_GRR = "GetRegistryRecord" -_LRRI = "ListRegistryRecordsInput" -_cLRRR = "com.amazonaws.bedrockagentcorecontrol#ListRegistryRecordsRequest" -_RRSe = "RegistryRecordSummary" -_RRSL = "RegistryRecordSummaryList" -_LRRO = "ListRegistryRecordsOutput" -_cLRRRo = "com.amazonaws.bedrockagentcorecontrol#ListRegistryRecordsResponse" -_rR = "registryRecords" -_LRR = "ListRegistryRecords" -_SRRFAI = "SubmitRegistryRecordForApprovalInput" -_cSRRFAR = ( - "com.amazonaws.bedrockagentcorecontrol#SubmitRegistryRecordForApprovalRequest" -) -_SRRFAO = "SubmitRegistryRecordForApprovalOutput" -_cSRRFARo = ( - "com.amazonaws.bedrockagentcorecontrol#SubmitRegistryRecordForApprovalResponse" -) -_SRRFA = "SubmitRegistryRecordForApproval" -_UAD = "UpdatedA2aDescriptor" -_USD = "UpdatedSkillDefinition" -_USMD = "UpdatedSkillMdDefinition" -_UASDF = "UpdatedAgentSkillsDescriptorFields" -_UASD = "UpdatedAgentSkillsDescriptor" -_UCD = "UpdatedCustomDescriptor" -_USDp = "UpdatedServerDefinition" -_UTD = "UpdatedToolsDefinition" -_UMDF = "UpdatedMcpDescriptorFields" -_UMD = "UpdatedMcpDescriptor" -_UDU = "UpdatedDescriptorsUnion" -_UDpd = "UpdatedDescriptors" -_USC = "UpdatedSynchronizationConfiguration" -_UST = "UpdatedSynchronizationType" -_URRI = "UpdateRegistryRecordInput" -_cURRR = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRecordRequest" -_tSr = "triggerSynchronization" -_URRO = "UpdateRegistryRecordOutput" -_cURRRo = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRecordResponse" -_URR = "UpdateRegistryRecord" -_URRSI = "UpdateRegistryRecordStatusInput" -_cURRSR = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRecordStatusRequest" -_URRSO = "UpdateRegistryRecordStatusOutput" -_cURRSRo = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRecordStatusResponse" -_URRS = "UpdateRegistryRecordStatus" -_ACp = "ApprovalConfiguration" -_aAu = "autoApproval" -_RAT = "RegistryAuthorizerType" -_RN = "RegistryName" -_CRIr = "CreateRegistryInput" -_cCRR = "com.amazonaws.bedrockagentcorecontrol#CreateRegistryRequest" -_aCp = "approvalConfiguration" -_CROr = "CreateRegistryOutput" -_cCRRo = "com.amazonaws.bedrockagentcorecontrol#CreateRegistryResponse" -_CR = "CreateRegistry" -_DRI = "DeleteRegistryInput" -_cDRR = "com.amazonaws.bedrockagentcorecontrol#DeleteRegistryRequest" -_RSe = "RegistryStatus" -_DRO = "DeleteRegistryOutput" -_cDRRo = "com.amazonaws.bedrockagentcorecontrol#DeleteRegistryResponse" -_DR = "DeleteRegistry" -_GRIe = "GetRegistryInput" -_cGRR = "com.amazonaws.bedrockagentcorecontrol#GetRegistryRequest" -_RIeg = "RegistryId" -_GRO = "GetRegistryOutput" -_cGRRo = "com.amazonaws.bedrockagentcorecontrol#GetRegistryResponse" -_GRe = "GetRegistry" -_LRI = "ListRegistriesInput" -_cLRR = "com.amazonaws.bedrockagentcorecontrol#ListRegistriesRequest" -_RSeg = "RegistrySummary" -_RSL = "RegistrySummaryList" -_LRO = "ListRegistriesOutput" -_cLRRo = "com.amazonaws.bedrockagentcorecontrol#ListRegistriesResponse" -_regi = "registries" -_LR = "ListRegistries" -_UACp = "UpdatedApprovalConfiguration" -_URI = "UpdateRegistryInput" -_cURR = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRequest" -_URO = "UpdateRegistryOutput" -_cURRo = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryResponse" -_UR = "UpdateRegistry" -_RTVKMI = "ResetTokenVaultKeyMaterialInput" -_cRTVKMR = "com.amazonaws.bedrockagentcorecontrol#ResetTokenVaultKeyMaterialRequest" -_RTVKMO = "ResetTokenVaultKeyMaterialOutput" -_cRTVKMRo = "com.amazonaws.bedrockagentcorecontrol#ResetTokenVaultKeyMaterialResponse" -_RTVKM = "ResetTokenVaultKeyMaterial" -_CME = "ConcurrentModificationException" -_STVCMKI = "SetTokenVaultCMKInput" -_cSTVCMKR = "com.amazonaws.bedrockagentcorecontrol#SetTokenVaultCMKRequest" -_STVCMKO = "SetTokenVaultCMKOutput" -_cSTVCMKRo = "com.amazonaws.bedrockagentcorecontrol#SetTokenVaultCMKResponse" -_STVCMK = "SetTokenVaultCMK" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.bedrockagentcorecontrol#TagResourceRequest" -_TRO = "TagResourceOutput" -_cTRRo = "com.amazonaws.bedrockagentcorecontrol#TagResourceResponse" -_TR = "TagResource" -_TKL = "TagKeyList" -_URIn = "UntagResourceInput" -_cURRom = "com.amazonaws.bedrockagentcorecontrol#UntagResourceRequest" -_tKa = "tagKeys" -_UROn = "UntagResourceOutput" -_cURRoma = "com.amazonaws.bedrockagentcorecontrol#UntagResourceResponse" -_URn = "UntagResource" -_RORUT = "ResourceOauth2ReturnUrlType" -_RORULT = "ResourceOauth2ReturnUrlListType" -_CWII = "CreateWorkloadIdentityInput" -_cCWIR = "com.amazonaws.bedrockagentcorecontrol#CreateWorkloadIdentityRequest" -_aRORU = "allowedResourceOauth2ReturnUrls" -_WIAT = "WorkloadIdentityArnType" -_CWIO = "CreateWorkloadIdentityOutput" -_cCWIRo = "com.amazonaws.bedrockagentcorecontrol#CreateWorkloadIdentityResponse" -_CWI = "CreateWorkloadIdentity" -_DWII = "DeleteWorkloadIdentityInput" -_cDWIR = "com.amazonaws.bedrockagentcorecontrol#DeleteWorkloadIdentityRequest" -_DWIO = "DeleteWorkloadIdentityOutput" -_cDWIRo = "com.amazonaws.bedrockagentcorecontrol#DeleteWorkloadIdentityResponse" -_DWI = "DeleteWorkloadIdentity" -_GWII = "GetWorkloadIdentityInput" -_cGWIR = "com.amazonaws.bedrockagentcorecontrol#GetWorkloadIdentityRequest" -_GWIO = "GetWorkloadIdentityOutput" -_cGWIRo = "com.amazonaws.bedrockagentcorecontrol#GetWorkloadIdentityResponse" -_GWI = "GetWorkloadIdentity" -_LWII = "ListWorkloadIdentitiesInput" -_cLWIR = "com.amazonaws.bedrockagentcorecontrol#ListWorkloadIdentitiesRequest" -_WIT = "WorkloadIdentityType" -_WIL = "WorkloadIdentityList" -_LWIO = "ListWorkloadIdentitiesOutput" -_cLWIRo = "com.amazonaws.bedrockagentcorecontrol#ListWorkloadIdentitiesResponse" -_LWI = "ListWorkloadIdentities" -_UWII = "UpdateWorkloadIdentityInput" -_cUWIR = "com.amazonaws.bedrockagentcorecontrol#UpdateWorkloadIdentityRequest" -_UWIO = "UpdateWorkloadIdentityOutput" -_cUWIRo = "com.amazonaws.bedrockagentcorecontrol#UpdateWorkloadIdentityResponse" -_UWI = "UpdateWorkloadIdentity" -_SDc = "SchemaDefinition" -_pro = "properties" -_requ = "required" -_SPc = "SchemaProperties" -_TDoo = "ToolDefinition" -_oSu = "outputSchema" -_TDool = "ToolDefinitions" -_TSo = "ToolSchema" -_MLTC = "McpLambdaTargetConfiguration" -_tSo = "toolSchema" -_MTC = "McpTargetConfiguration" -_oAS = "openApiSchema" -_sMm = "smithyModel" -_mSc = "mcpServer" -_aG = "apiGateway" -_TCa = "TargetConfiguration" -_ht = "http" -_inf = "inference" -_CGTI = "CreateGatewayTargetInput" -_cCGTR = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayTargetRequest" -_tCa = "targetConfiguration" -_CGTO = "CreateGatewayTargetOutput" -_cCGTRo = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayTargetResponse" -_pEMR = "privateEndpointManagedResources" -_GTa = "GatewayTarget" -_GGTO = "GetGatewayTargetOutput" -_cGGTRo = "com.amazonaws.bedrockagentcorecontrol#GetGatewayTargetResponse" -_UGTI = "UpdateGatewayTargetInput" -_cUGTR = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayTargetRequest" -_UGTO = "UpdateGatewayTargetOutput" -_cUGTRo = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayTargetResponse" -_GGT = "GetGatewayTarget" -_GTL = "GatewayTargetList" -_SGTO = "SynchronizeGatewayTargetsOutput" -_cSGTRo = "com.amazonaws.bedrockagentcorecontrol#SynchronizeGatewayTargetsResponse" -_tar = "targets" -_SGT = "SynchronizeGatewayTargets" -_CGT = "CreateGatewayTarget" -_UGT = "UpdateGatewayTarget" -_ABACC = "AmazonBedrockAgentCoreControl" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" -_smithyap = "smithy.api#cors" - -INLINE_CONTENT: StaticSchema = (3, n0, _IC, 0) - -SCHEMA_VERSION: StaticSchema = (3, n0, _SV, 0) - -AGENT_CARD_DEFINITION: StaticSchema = ( - 18, - n0, - _ACD, - 0, - (_sV, _iC), - ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), -) - -A2A_DESCRIPTOR: StaticSchema = (18, n0, _AD, 0, (_aC,), ((AGENT_CARD_DEFINITION, 0),)) - -NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c, _sE: 403}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -GATEWAY_CONFIGURATION_BUNDLE_ARN: StaticSchema = (3, n0, _GCBA, 0) - -STATIC_OVERRIDE: StaticSchema = ( - 18, - n0, - _SO, - 0, - (_bA, _bV), - ((GATEWAY_CONFIGURATION_BUNDLE_ARN, 1), (3, 1)), -) - -CONFIGURATION_BUNDLE_REFERENCE: StaticSchema = ( - 18, - n0, - _CBR, - 0, - (_bA, _bV), - ((GATEWAY_CONFIGURATION_BUNDLE_ARN, 1), (3, 1)), -) - -TRAFFIC_SPLIT_METADATA_KEY: StaticSchema = (3, n0, _TSMK, 0) - -TRAFFIC_SPLIT_METADATA_VALUE: StaticSchema = (3, n0, _TSMV, 0) - -TRAFFIC_SPLIT_METADATA_MAP: StaticSchema = ( - 17, - n0, - _TSMM, - 0, - (_k, _v), - ((TRAFFIC_SPLIT_METADATA_KEY, 0), (TRAFFIC_SPLIT_METADATA_VALUE, 0)), -) - -TRAFFIC_SPLIT_ENTRY: StaticSchema = ( - 18, - n0, - _TSE, - 0, - (_n, _w, _cB, _d, _me), - ( - (3, 1), - (7, 1), - (CONFIGURATION_BUNDLE_REFERENCE, 1), - (3, 0), - (TRAFFIC_SPLIT_METADATA_MAP, 0), - ), -) - -TRAFFIC_SPLIT_ENTRIES: StaticSchema = ( - 16, - n0, - _TSEr, - 0, - (_mem,), - ((TRAFFIC_SPLIT_ENTRY, 0),), -) - -WEIGHTED_OVERRIDE: StaticSchema = ( - 18, - n0, - _WO, - 0, - (_tS,), - ((TRAFFIC_SPLIT_ENTRIES, 1),), -) - -CONFIGURATION_BUNDLE_ACTION: StaticSchema = ( - 19, - n0, - _CBA, - 0, - (_sO, _wO), - ((STATIC_OVERRIDE, 0), (WEIGHTED_OVERRIDE, 0)), -) - -CIRCUIT_BREAKER_MODE: StaticSchema = ( - 14, - n0, - _CBM, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sVm: _ENABLED}), (-1, {_sVm: _DISABLED})), -) - -CIRCUIT_BREAKER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CBC, - 0, - (_mo,), - ((CIRCUIT_BREAKER_MODE, {_smi: _ENABLED}),), -) - -CONCRETE_MODEL_ID: StaticSchema = (3, n0, _CMI, 0) - -TARGET_NAME: StaticSchema = (3, n0, _TN, 4) - -FALLBACK_ERROR: StaticSchema = ( - 14, - n0, - _FE, - 0, - (_CE, _FBT, _UNROUTABLE), - ((-1, {_sVm: _CE}), (-1, {_sVm: _FBT}), (-1, {_sVm: _UNROUTABLE})), -) - -FALLBACK_ERRORS: StaticSchema = (16, n0, _FEa, 0, (_mem,), ((FALLBACK_ERROR, 0),)) - -ERROR_STATUS_CODE_PATTERN: StaticSchema = (3, n0, _ESCP, 0) - -ERROR_STATUS_CODE_PATTERNS: StaticSchema = ( - 16, - n0, - _ESCPr, - 0, - (_mem,), - ((ERROR_STATUS_CODE_PATTERN, 0),), -) - -FALLBACK_TRIGGERS: StaticSchema = ( - 18, - n0, - _FT, - 0, - (_sC, _e), - ((ERROR_STATUS_CODE_PATTERNS, 0), (FALLBACK_ERRORS, 0)), -) - -FALLBACK_TARGET: StaticSchema = ( - 18, - n0, - _FTa, - 0, - (_tN, _mod, _tO, _fBTM), - ((TARGET_NAME, 1), (CONCRETE_MODEL_ID, 0), (FALLBACK_TRIGGERS, 0), (7, 0)), -) - -TARGET_FALLBACKS: StaticSchema = (16, n0, _TF, 0, (_mem,), ((FALLBACK_TARGET, 0),)) - -FALLBACK: StaticSchema = ( - 18, - n0, - _F, - 0, - (_tO, _fBTM, _cBi, _tF), - ( - (FALLBACK_TRIGGERS, 0), - (7, 0), - (CIRCUIT_BREAKER_CONFIGURATION, 0), - (TARGET_FALLBACKS, 1), - ), -) - -STATIC_ROUTE: StaticSchema = ( - 18, - n0, - _SR, - 0, - (_tN, _mod, _f), - ((TARGET_NAME, 1), (CONCRETE_MODEL_ID, 0), (FALLBACK, 0)), -) - -TARGET_TRAFFIC_SPLIT_ENTRY: StaticSchema = ( - 18, - n0, - _TTSE, - 0, - (_tN, _mod, _f, _n, _w, _d, _me), - ( - (TARGET_NAME, 1), - (CONCRETE_MODEL_ID, 0), - (FALLBACK, 0), - (3, 1), - (7, 1), - (3, 0), - (TRAFFIC_SPLIT_METADATA_MAP, 0), - ), -) - -TARGET_TRAFFIC_SPLIT_ENTRIES: StaticSchema = ( - 16, - n0, - _TTSEa, - 0, - (_mem,), - ((TARGET_TRAFFIC_SPLIT_ENTRY, 0),), -) - -WEIGHTED_ROUTE: StaticSchema = ( - 18, - n0, - _WR, - 0, - (_tS,), - ((TARGET_TRAFFIC_SPLIT_ENTRIES, 1),), -) - -ROUTE_TO_TARGET_ACTION: StaticSchema = ( - 19, - n0, - _RTTA, - 0, - (_sR, _wR), - ((STATIC_ROUTE, 0), (WEIGHTED_ROUTE, 0)), -) - -ACTION: StaticSchema = ( - 19, - n0, - _A, - 0, - (_cB, _rTT), - ((CONFIGURATION_BUNDLE_ACTION, 0), (ROUTE_TO_TARGET_ACTION, 0)), -) - -ACTIONS: StaticSchema = (16, n0, _Ac, 0, (_mem,), ((ACTION, 0),)) - -ACTOR_TOKEN_CONTENT_TYPE: StaticSchema = ( - 14, - n0, - _ATCT, - 0, - (_NONE, _MM, _AIITJ), - ((-1, {_sVm: _NONE}), (-1, {_sVm: _MM}), (-1, {_sVm: _AIITJ})), -) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) - -DATASET_ID: StaticSchema = (3, n0, _DI, 0) - -SENSITIVE_JSON: StaticSchema = (13, n0, _SJ, 4) - -DATASET_EXAMPLE_LIST: StaticSchema = (16, n0, _DEL, 0, (_mem,), ((SENSITIVE_JSON, 0),)) - -INLINE_EXAMPLES_SOURCE: StaticSchema = ( - 18, - n0, - _IES, - 0, - (_ex,), - ((DATASET_EXAMPLE_LIST, 1),), -) - -S3_URI: StaticSchema = (3, n0, _SU, 0) - -S3_SOURCE: StaticSchema = (18, n0, _SS, 0, (_sU,), ((S3_URI, 1),)) - -DATA_SOURCE_TYPE: StaticSchema = ( - 19, - n0, - _DST, - 0, - (_iE, _sS), - ((INLINE_EXAMPLES_SOURCE, 0), (S3_SOURCE, 0)), -) - -ADD_DATASET_EXAMPLES_INPUT: StaticSchema = ( - 18, - n0, - _ADEI, - {_sSI: _cADER, _smith: None}, - (_dI, _cT, _so), - ((DATASET_ID, 9), (CLIENT_TOKEN, 2), (DATA_SOURCE_TYPE, 1)), -) - -DATASET_ARN: StaticSchema = (3, n0, _DA, 0) - -EXAMPLE_ID: StaticSchema = (3, n0, _EI, 0) - -EXAMPLE_ID_LIST: StaticSchema = (16, n0, _EIL, 0, (_mem,), ((EXAMPLE_ID, 0),)) - -DATASET_STATUS: StaticSchema = ( - 14, - n0, - _DS, - 0, - (_CREATING, _UPDATING, _DELETING, _ACTIVE, _CF, _UF, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DF}), - ), -) - -ADD_DATASET_EXAMPLES_OUTPUT: StaticSchema = ( - 18, - n0, - _ADEO, - {_sSI: _cADERo, _smithy: None}, - (_dA, _dI, _st, _aCd, _uA, _eI), - ( - (DATASET_ARN, 1), - (DATASET_ID, 1), - (DATASET_STATUS, 1), - (8, 1), - (4, 1), - (EXAMPLE_ID_LIST, 1), - ), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CEo, - {_s: _c, _sE: 409}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_s: _se, _sE: 500}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c, _sE: 404}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_s: _c, _sE: 402}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - {_s: _c, _sE: 429}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -VALIDATION_EXCEPTION_FIELD: StaticSchema = (18, n0, _VEF, 0, (_n, _m), ((3, 1), (3, 1))) - -VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( - 16, - n0, - _VEFL, - 0, - (_mem,), - ((VALIDATION_EXCEPTION_FIELD, 0),), -) - -VALIDATION_EXCEPTION_REASON: StaticSchema = ( - 14, - n0, - _VER, - 0, - (_CP, _FVF, _IPME, _REIOS, _RC), - ( - (-1, {_sVm: _CPa}), - (-1, {_sVm: _FVFi}), - (-1, {_sVm: _IPMEd}), - (-1, {_sVm: _EIOS}), - (-1, {_sVm: _RCe}), - ), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_s: _c, _sE: 400}, - (_m, _r, _fL), - ((3, 1), (VALIDATION_EXCEPTION_REASON, 1), (VALIDATION_EXCEPTION_FIELD_LIST, 0)), -) - -ADD_DATASET_EXAMPLES: StaticOperationSchema = ( - 23, - n0, - _ADEd, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/datasets/{datasetId}/examples/add", "code": 202} - ) - }, - ADD_DATASET_EXAMPLES_INPUT, - ADD_DATASET_EXAMPLES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ADDITIONAL_CLAIM_NAME: StaticSchema = (3, n0, _ACN, 0) - -ADDITIONAL_CLAIM_VALUE: StaticSchema = (3, n0, _ACV, 4) - -ADDITIONAL_CLAIMS: StaticSchema = ( - 17, - n0, - _AC, - 0, - (_k, _v), - ((ADDITIONAL_CLAIM_NAME, 0), (ADDITIONAL_CLAIM_VALUE, 0)), -) - -ADDITIONAL_MODEL_REQUEST_FIELDS: StaticSchema = (13, n0, _AMRF, 0) - -ALLOWED_SCOPE_TYPE: StaticSchema = (3, n0, _AST, 0) - -ADVERTISED_SCOPE_MAPPING_TYPE: StaticSchema = ( - 17, - n0, - _ASMT, - 0, - (_k, _v), - ((ALLOWED_SCOPE_TYPE, 0), (ALLOWED_SCOPE_TYPE, 0)), -) - -AGENT_ENDPOINT_DESCRIPTION: StaticSchema = (3, n0, _AED, 0) - -AGENT_RUNTIME_ID: StaticSchema = (3, n0, _ARI, 0) - -AGENT_RUNTIME_VERSION: StaticSchema = (3, n0, _ARV, 0) - -ENDPOINT_NAME: StaticSchema = (3, n0, _EN, 4) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAGS_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -CREATE_AGENT_RUNTIME_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CAREI, - {_sSI: _cCARER, _smith: None}, - (_aRI, _n, _aRV, _d, _cT, _t), - ( - (AGENT_RUNTIME_ID, 9), - (ENDPOINT_NAME, 1), - (AGENT_RUNTIME_VERSION, 0), - (AGENT_ENDPOINT_DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - ), -) - -AGENT_RUNTIME_ARN: StaticSchema = (3, n0, _ARA, 0) - -AGENT_RUNTIME_ENDPOINT_ARN: StaticSchema = (3, n0, _AREA, 0) - -DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) - -AGENT_RUNTIME_ENDPOINT_STATUS: StaticSchema = ( - 14, - n0, - _ARES, - 0, - (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - ), -) - -CREATE_AGENT_RUNTIME_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CAREO, - {_sSI: _cCARERo, _smithy: None}, - (_tV, _aREA, _aRA, _aRI, _eN, _st, _cA), - ( - (AGENT_RUNTIME_VERSION, 1), - (AGENT_RUNTIME_ENDPOINT_ARN, 1), - (AGENT_RUNTIME_ARN, 1), - (AGENT_RUNTIME_ID, 0), - (ENDPOINT_NAME, 0), - (AGENT_RUNTIME_ENDPOINT_STATUS, 1), - (DATE_TIMESTAMP, 1), - ), -) - -CREATE_AGENT_RUNTIME_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CARE, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "PUT", - "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/", - } - ) - }, - CREATE_AGENT_RUNTIME_ENDPOINT_INPUT, - CREATE_AGENT_RUNTIME_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_AGENT_RUNTIME_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DAREI, - {_sSI: _cDARER, _smith: None}, - (_aRI, _eN, _cT), - ((AGENT_RUNTIME_ID, 9), (ENDPOINT_NAME, 9), (CLIENT_TOKEN, {_sQ: _cT, _sT: None})), -) - -DELETE_AGENT_RUNTIME_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DAREO, - {_sSI: _cDARERo, _smithy: None}, - (_st, _aRI, _eN), - ((AGENT_RUNTIME_ENDPOINT_STATUS, 1), (AGENT_RUNTIME_ID, 0), (ENDPOINT_NAME, 0)), -) - -DELETE_AGENT_RUNTIME_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DARE, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", - } - ) - }, - DELETE_AGENT_RUNTIME_ENDPOINT_INPUT, - DELETE_AGENT_RUNTIME_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -GET_AGENT_RUNTIME_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _GAREI, - {_sSI: _cGARER, _smith: None}, - (_aRI, _eN), - ((AGENT_RUNTIME_ID, 9), (ENDPOINT_NAME, 9)), -) - -AGENT_RUNTIME_ENDPOINT_ID: StaticSchema = (3, n0, _AREI, 0) - -GET_AGENT_RUNTIME_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _GAREO, - {_sSI: _cGARERo, _smithy: None}, - (_lV, _tV, _aREA, _aRA, _d, _st, _cA, _lUA, _fR, _n, _i), - ( - (AGENT_RUNTIME_VERSION, 0), - (AGENT_RUNTIME_VERSION, 0), - (AGENT_RUNTIME_ENDPOINT_ARN, 1), - (AGENT_RUNTIME_ARN, 1), - (AGENT_ENDPOINT_DESCRIPTION, 0), - (AGENT_RUNTIME_ENDPOINT_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (3, 0), - (ENDPOINT_NAME, 1), - (AGENT_RUNTIME_ENDPOINT_ID, 1), - ), -) - -GET_AGENT_RUNTIME_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _GARE, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", - } - ) - }, - GET_AGENT_RUNTIME_ENDPOINT_INPUT, - GET_AGENT_RUNTIME_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -LIST_AGENT_RUNTIME_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _LAREI, - {_sSI: _cLARER, _smith: None}, - (_aRI, _mR, _nT), - ((AGENT_RUNTIME_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -AGENT_RUNTIME_ENDPOINT: StaticSchema = ( - 18, - n0, - _ARE, - 0, - (_n, _lV, _tV, _aREA, _aRA, _st, _i, _d, _cA, _lUA), - ( - (ENDPOINT_NAME, 1), - (AGENT_RUNTIME_VERSION, 0), - (AGENT_RUNTIME_VERSION, 0), - (AGENT_RUNTIME_ENDPOINT_ARN, 1), - (AGENT_RUNTIME_ARN, 1), - (AGENT_RUNTIME_ENDPOINT_STATUS, 1), - (AGENT_RUNTIME_ENDPOINT_ID, 1), - (AGENT_ENDPOINT_DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -AGENT_RUNTIME_ENDPOINTS: StaticSchema = ( - 16, - n0, - _AREg, - 0, - (_mem,), - ((AGENT_RUNTIME_ENDPOINT, 0),), -) - -LIST_AGENT_RUNTIME_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAREO, - {_sSI: _cLARERo, _smithy: None}, - (_rE, _nT), - ((AGENT_RUNTIME_ENDPOINTS, 1), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_RUNTIME_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _LARE, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/", - } - ) - }, - LIST_AGENT_RUNTIME_ENDPOINTS_INPUT, - LIST_AGENT_RUNTIME_ENDPOINTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AGENT_RUNTIME_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _UAREI, - {_sSI: _cUARER, _smith: None}, - (_aRI, _eN, _aRV, _d, _cT), - ( - (AGENT_RUNTIME_ID, 9), - (ENDPOINT_NAME, 9), - (AGENT_RUNTIME_VERSION, 0), - (AGENT_ENDPOINT_DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - ), -) - -UPDATE_AGENT_RUNTIME_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _UAREO, - {_sSI: _cUARERo, _smithy: None}, - (_lV, _tV, _aREA, _aRA, _st, _cA, _lUA), - ( - (AGENT_RUNTIME_VERSION, 0), - (AGENT_RUNTIME_VERSION, 0), - (AGENT_RUNTIME_ENDPOINT_ARN, 1), - (AGENT_RUNTIME_ARN, 1), - (AGENT_RUNTIME_ENDPOINT_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -UPDATE_AGENT_RUNTIME_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _UARE, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "PUT", - "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", - } - ) - }, - UPDATE_AGENT_RUNTIME_ENDPOINT_INPUT, - UPDATE_AGENT_RUNTIME_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AGENT_MANAGED_RUNTIME_TYPE: StaticSchema = ( - 14, - n0, - _AMRT, - 0, - (_P, _P_, _P__, _P___, _P____, _N), - ( - (-1, {_sVm: _P}), - (-1, {_sVm: _P_}), - (-1, {_sVm: _P__}), - (-1, {_sVm: _P___}), - (-1, {_sVm: _P____}), - (-1, {_sVm: _N}), - ), -) - -S3_LOCATION: StaticSchema = (18, n0, _SL, 0, (_b, _p, _vI), ((3, 1), (3, 1), (3, 0))) - -CODE: StaticSchema = (19, n0, _C, 0, (_s_,), ((S3_LOCATION, 0),)) - -ENTRY_POINT: StaticSchema = (3, n0, _eP, 0) - -ENTRY_POINTS: StaticSchema = (16, n0, _EP, 0, (_mem,), ((ENTRY_POINT, 0),)) - -CODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CC, - 0, - (_co, _ru, _eP), - ((CODE, 1), (AGENT_MANAGED_RUNTIME_TYPE, 1), (ENTRY_POINTS, 1)), -) - -RUNTIME_CONTAINER_URI: StaticSchema = (3, n0, _RCU, 0) - -CONTAINER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CCo, - 0, - (_cU,), - ((RUNTIME_CONTAINER_URI, 1),), -) - -AGENT_RUNTIME_ARTIFACT: StaticSchema = ( - 19, - n0, - _ARAg, - 0, - (_cC, _cCo), - ((CONTAINER_CONFIGURATION, 0), (CODE_CONFIGURATION, 0)), -) - -AGENT_RUNTIME_NAME: StaticSchema = (3, n0, _ARN, 0) - -PORT: StaticSchema = (7, n0, _Po, 0) - -PORT_RANGE: StaticSchema = (18, n0, _PR, 0, (_fr, _to), ((PORT, 1), (PORT, 1))) - -ALLOWED_PORT: StaticSchema = (19, n0, _AP, 0, (_po, _pR), ((PORT, 0), (PORT_RANGE, 0))) - -ALLOWED_PORTS: StaticSchema = (16, n0, _APl, 0, (_mem,), ((ALLOWED_PORT, 0),)) - -ALLOWED_AUDIENCE: StaticSchema = (3, n0, _AA, 0) - -ALLOWED_AUDIENCE_LIST: StaticSchema = ( - 16, - n0, - _AAL, - 0, - (_mem,), - ((ALLOWED_AUDIENCE, 0),), -) - -ALLOWED_CLIENT: StaticSchema = (3, n0, _ACl, 0) - -ALLOWED_CLIENTS_LIST: StaticSchema = (16, n0, _ACL, 0, (_mem,), ((ALLOWED_CLIENT, 0),)) - -ALLOWED_SCOPES_TYPE: StaticSchema = ( - 16, - n0, - _ASTl, - 0, - (_mem,), - ((ALLOWED_SCOPE_TYPE, 0),), -) - -BEDROCK_AGENTCORE_RESOURCE_ARN: StaticSchema = (3, n0, _BARA, 0) - -HOSTING_ENVIRONMENT: StaticSchema = ( - 18, - n0, - _HE, - 0, - (_a,), - ((BEDROCK_AGENTCORE_RESOURCE_ARN, 1),), -) - -HOSTING_ENVIRONMENT_LIST_TYPE: StaticSchema = ( - 16, - n0, - _HELT, - 0, - (_mem,), - ((HOSTING_ENVIRONMENT, 0),), -) - -WORKLOAD_IDENTITY_NAME_TYPE: StaticSchema = (3, n0, _WINT, 0) - -WORKLOAD_IDENTITY_NAME_LIST_TYPE: StaticSchema = ( - 16, - n0, - _WINLT, - 0, - (_mem,), - ((WORKLOAD_IDENTITY_NAME_TYPE, 0),), -) - -ALLOWED_WORKLOAD_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AWC, - 0, - (_hE, _wI), - ((HOSTING_ENVIRONMENT_LIST_TYPE, 0), (WORKLOAD_IDENTITY_NAME_LIST_TYPE, 0)), -) - -CERTIFICATE_BUCKET_OWNER_ACCOUNT_ID: StaticSchema = (3, n0, _CBOAI, 0) - -CERTIFICATE_S3_URI: StaticSchema = (3, n0, _CSU, 0) - -S3_CERTIFICATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCC, - 0, - (_u, _bOAI), - ((CERTIFICATE_S3_URI, 1), (CERTIFICATE_BUCKET_OWNER_ACCOUNT_ID, 0)), -) - -CERTIFICATE_SECRET_ARN: StaticSchema = (3, n0, _CSA, 0) - -SECRETS_MANAGER_CERTIFICATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SMCC, - 0, - (_sA,), - ((CERTIFICATE_SECRET_ARN, 1),), -) - -CERTIFICATE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _CCe, - 0, - (_s_, _sM), - ((S3_CERTIFICATE_CONFIGURATION, 0), (SECRETS_MANAGER_CERTIFICATE_CONFIGURATION, 0)), -) - -CERTIFICATE_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _CCL, - 0, - (_mem,), - ((CERTIFICATE_CONFIGURATION, 0),), -) - -CLAIM_MATCH_OPERATOR_TYPE: StaticSchema = ( - 14, - n0, - _CMOT, - 0, - (_EQUALS, _CONTAINS, _CA), - ((-1, {_sVm: _EQUALS}), (-1, {_sVm: _CONTAINS}), (-1, {_sVm: _CA})), -) - -MATCH_VALUE_STRING: StaticSchema = (3, n0, _MVS, 0) - -MATCH_VALUE_STRING_LIST: StaticSchema = ( - 16, - n0, - _MVSL, - 0, - (_mem,), - ((MATCH_VALUE_STRING, 0),), -) - -CLAIM_MATCH_VALUE_TYPE: StaticSchema = ( - 19, - n0, - _CMVT, - 0, - (_mVS, _mVSL), - ((MATCH_VALUE_STRING, 0), (MATCH_VALUE_STRING_LIST, 0)), -) - -AUTHORIZING_CLAIM_MATCH_VALUE_TYPE: StaticSchema = ( - 18, - n0, - _ACMVT, - 0, - (_cMV, _cMO), - ((CLAIM_MATCH_VALUE_TYPE, 1), (CLAIM_MATCH_OPERATOR_TYPE, 1)), -) - -INBOUND_TOKEN_CLAIM_NAME_TYPE: StaticSchema = (3, n0, _ITCNT, 0) - -INBOUND_TOKEN_CLAIM_VALUE_TYPE: StaticSchema = ( - 14, - n0, - _ITCVT, - 0, - (_STRING, _SA), - ((-1, {_sVm: _STRING}), (-1, {_sVm: _SA})), -) - -CUSTOM_CLAIM_VALIDATION_TYPE: StaticSchema = ( - 18, - n0, - _CCVT, - 0, - (_iTCN, _iTCVT, _aCMV), - ( - (INBOUND_TOKEN_CLAIM_NAME_TYPE, 1), - (INBOUND_TOKEN_CLAIM_VALUE_TYPE, 1), - (AUTHORIZING_CLAIM_MATCH_VALUE_TYPE, 1), - ), -) - -CUSTOM_CLAIM_VALIDATIONS_TYPE: StaticSchema = ( - 16, - n0, - _CCVTu, - 0, - (_mem,), - ((CUSTOM_CLAIM_VALIDATION_TYPE, 0),), -) - -DISCOVERY_URL: StaticSchema = (3, n0, _DU, 0) - -ENDPOINT_IP_ADDRESS_TYPE: StaticSchema = ( - 14, - n0, - _EIAT, - 0, - (_IPV, _IPV_), - ((-1, {_sVm: _IPV}), (-1, {_sVm: _IPV_})), -) - -ROUTING_DOMAIN: StaticSchema = (3, n0, _RD, 0) - -SECURITY_GROUP_IDENTIFIER: StaticSchema = (3, n0, _SGI, 0) - -SECURITY_GROUP_IDS: StaticSchema = ( - 16, - n0, - _SGIe, - 0, - (_mem,), - ((SECURITY_GROUP_IDENTIFIER, 0),), -) - -SUBNET_ID: StaticSchema = (3, n0, _SI, 0) - -SUBNET_IDS: StaticSchema = (16, n0, _SIu, 0, (_mem,), ((SUBNET_ID, 0),)) - -VPC_IDENTIFIER: StaticSchema = (3, n0, _VI, 0) - -MANAGED_VPC_RESOURCE: StaticSchema = ( - 18, - n0, - _MVR, - 0, - (_vIp, _sI, _eIAT, _sGI, _t, _rD), - ( - (VPC_IDENTIFIER, 1), - (SUBNET_IDS, 1), - (ENDPOINT_IP_ADDRESS_TYPE, 1), - (SECURITY_GROUP_IDS, 0), - (TAGS_MAP, 0), - (ROUTING_DOMAIN, 0), - ), -) - -RESOURCE_CONFIGURATION_IDENTIFIER: StaticSchema = (3, n0, _RCI, 0) - -SELF_MANAGED_LATTICE_RESOURCE: StaticSchema = ( - 19, - n0, - _SMLR, - 0, - (_rCI,), - ((RESOURCE_CONFIGURATION_IDENTIFIER, 0),), -) - -PRIVATE_ENDPOINT: StaticSchema = ( - 19, - n0, - _PE, - 0, - (_sMLR, _mVR), - ((SELF_MANAGED_LATTICE_RESOURCE, 0), (MANAGED_VPC_RESOURCE, 0)), -) - -PRIVATE_ENDPOINT_OVERRIDE_DOMAIN: StaticSchema = (3, n0, _PEOD, 0) - -PRIVATE_ENDPOINT_OVERRIDE: StaticSchema = ( - 18, - n0, - _PEO, - 0, - (_do, _pE), - ((PRIVATE_ENDPOINT_OVERRIDE_DOMAIN, 1), (PRIVATE_ENDPOINT, 1)), -) - -PRIVATE_ENDPOINT_OVERRIDES: StaticSchema = ( - 16, - n0, - _PEOr, - 0, - (_mem,), - ((PRIVATE_ENDPOINT_OVERRIDE, 0),), -) - -CUSTOM_JWT_AUTHORIZER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CJWTAC, - 0, - (_dU, _aA, _aCl, _aS, _aSM, _cCu, _pE, _pEO, _cCe, _aWC), - ( - (DISCOVERY_URL, 1), - (ALLOWED_AUDIENCE_LIST, 0), - (ALLOWED_CLIENTS_LIST, 0), - (ALLOWED_SCOPES_TYPE, 0), - (ADVERTISED_SCOPE_MAPPING_TYPE, 0), - (CUSTOM_CLAIM_VALIDATIONS_TYPE, 0), - (PRIVATE_ENDPOINT, 0), - (PRIVATE_ENDPOINT_OVERRIDES, 0), - (CERTIFICATE_CONFIGURATION_LIST, 0), - (ALLOWED_WORKLOAD_CONFIGURATION, 0), - ), -) - -AUTHORIZER_CONFIGURATION: StaticSchema = ( - 19, - n0, - _ACu, - 0, - (_cJWTA,), - ((CUSTOM_JWT_AUTHORIZER_CONFIGURATION, 0),), -) - -CAPACITY_PROVIDER_ARN: StaticSchema = (3, n0, _CPA, 0) - -CAPACITY_PROVIDER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CPC, - 0, - (_cPA,), - ((CAPACITY_PROVIDER_ARN, 1),), -) - -DESCRIPTION: StaticSchema = (3, n0, _D, 4) - -ENVIRONMENT_VARIABLE_KEY: StaticSchema = (3, n0, _EVK, 0) - -ENVIRONMENT_VARIABLE_VALUE: StaticSchema = (3, n0, _EVV, 0) - -ENVIRONMENT_VARIABLES_MAP: StaticSchema = ( - 17, - n0, - _EVM, - 4, - (_k, _v), - ((ENVIRONMENT_VARIABLE_KEY, 0), (ENVIRONMENT_VARIABLE_VALUE, 0)), -) - -MOUNT_PATH: StaticSchema = (3, n0, _MP, 0) - -CAPACITY_PROVIDER_VOLUME_NAME: StaticSchema = (3, n0, _CPVN, 0) - -CAPACITY_PROVIDER_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CPVC, - 0, - (_vN, _mP), - ((CAPACITY_PROVIDER_VOLUME_NAME, 1), (MOUNT_PATH, 1)), -) - -EFS_ACCESS_POINT_ARN: StaticSchema = (3, n0, _EAPA, 0) - -EFS_ACCESS_POINT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EAPC, - 0, - (_aPA, _mP), - ((EFS_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1)), -) - -S3_FILES_ACCESS_POINT_ARN: StaticSchema = (3, n0, _SFAPA, 0) - -S3_FILES_ACCESS_POINT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SFAPC, - 0, - (_aPA, _mP), - ((S3_FILES_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1)), -) - -SESSION_STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SSC, - 0, - (_mP,), - ((MOUNT_PATH, 1),), -) - -FILESYSTEM_CONFIGURATION: StaticSchema = ( - 19, - n0, - _FC, - 0, - (_sSe, _sFAP, _eAP, _cPV), - ( - (SESSION_STORAGE_CONFIGURATION, 0), - (S3_FILES_ACCESS_POINT_CONFIGURATION, 0), - (EFS_ACCESS_POINT_CONFIGURATION, 0), - (CAPACITY_PROVIDER_VOLUME_CONFIGURATION, 0), - ), -) - -FILESYSTEM_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _FCi, - 0, - (_mem,), - ((FILESYSTEM_CONFIGURATION, 0),), -) - -LIFECYCLE_HOOK_PATH: StaticSchema = (3, n0, _LHP, 0) - -SERVER_PORT: StaticSchema = (7, n0, _SP, 0) - -HTTP_POST_LIFECYCLE_HOOK_ACTION: StaticSchema = ( - 18, - n0, - _HPLHA, - 0, - (_pa, _po), - ((LIFECYCLE_HOOK_PATH, 1), (SERVER_PORT, 0)), -) - -LIFECYCLE_HOOK_ACTION: StaticSchema = ( - 19, - n0, - _LHA, - 0, - (_hP,), - ((HTTP_POST_LIFECYCLE_HOOK_ACTION, 0),), -) - -LIFECYCLE_HOOK: StaticSchema = (18, n0, _LH, 0, (_ac,), ((LIFECYCLE_HOOK_ACTION, 1),)) - -BUILD_LIFECYCLE_HOOKS: StaticSchema = (18, n0, _BLH, 0, (_wa,), ((LIFECYCLE_HOOK, 0),)) - -RUNTIME_HOOKS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RHC, - 0, - (_bu,), - ((BUILD_LIFECYCLE_HOOKS, 0),), -) - -LIFECYCLE_CONFIGURATION: StaticSchema = (18, n0, _LC, 0, (_iRST, _mL), ((7, 0), (7, 0))) - -NETWORK_MODE: StaticSchema = ( - 14, - n0, - _NM, - 0, - (_PUBLIC, _VPC), - ((-1, {_sVm: _PUBLIC}), (-1, {_sVm: _VPC})), -) - -SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGIec, 0) - -SECURITY_GROUPS: StaticSchema = (16, n0, _SG, 0, (_mem,), ((SECURITY_GROUP_ID, 0),)) - -SUBNETS: StaticSchema = (16, n0, _S, 0, (_mem,), ((SUBNET_ID, 0),)) - -VPC_CONFIG: StaticSchema = ( - 18, - n0, - _VC, - 0, - (_sG, _su, _rSSE), - ((SECURITY_GROUPS, 1), (SUBNETS, 1), (2, 0)), -) - -NETWORK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _NC, - 0, - (_nM, _nMC), - ((NETWORK_MODE, 1), (VPC_CONFIG, 0)), -) - -PLATFORM_VERSION: StaticSchema = (3, n0, _PV, 0) - -SERVER_PATH: StaticSchema = (3, n0, _SPe, 0) - -SERVER_PROTOCOL: StaticSchema = ( - 14, - n0, - _SPer, - 0, - (_MCP, _HTTP, _AA_, _AGUI), - ((-1, {_sVm: _MCP}), (-1, {_sVm: _HTTP}), (-1, {_sVm: _AA_}), (-1, {_sVm: _AGUI})), -) - -PROTOCOL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PC, - 0, - (_sP, _po, _pa), - ((SERVER_PROTOCOL, 1), (SERVER_PORT, 0), (SERVER_PATH, 0)), -) - -HEADER_NAME: StaticSchema = (3, n0, _HN, 0) - -REQUEST_HEADER_ALLOWLIST: StaticSchema = (16, n0, _RHA, 0, (_mem,), ((HEADER_NAME, 0),)) - -REQUEST_HEADER_CONFIGURATION: StaticSchema = ( - 19, - n0, - _RHCe, - 0, - (_rHA,), - ((REQUEST_HEADER_ALLOWLIST, 0),), -) - -RESOURCE_CONFIGURATION: StaticSchema = (18, n0, _RCes, 0, (_mMIMB,), ((7, 1),)) - -RESOURCE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _RCeso, - 0, - (_mem,), - ((RESOURCE_CONFIGURATION, 0),), -) - -ROLE_ARN: StaticSchema = (3, n0, _RA, 0) - -CREATE_AGENT_RUNTIME_INPUT: StaticSchema = ( - 18, - n0, - _CARI, - {_sSI: _cCARR, _smith: None}, - ( - _aRN, - _aRAg, - _rA, - _nC, - _cT, - _d, - _aCu, - _rHC, - _pC, - _lC, - _hC, - _eV, - _fC, - _cPC, - _t, - _pV, - _aP, - _rC, - ), - ( - (AGENT_RUNTIME_NAME, 1), - (AGENT_RUNTIME_ARTIFACT, 1), - (ROLE_ARN, 1), - (NETWORK_CONFIGURATION, 0), - (CLIENT_TOKEN, 2), - (DESCRIPTION, 0), - (AUTHORIZER_CONFIGURATION, 0), - (REQUEST_HEADER_CONFIGURATION, 0), - (PROTOCOL_CONFIGURATION, 0), - (LIFECYCLE_CONFIGURATION, 0), - (RUNTIME_HOOKS_CONFIGURATION, 0), - (ENVIRONMENT_VARIABLES_MAP, 0), - (FILESYSTEM_CONFIGURATIONS, 0), - (CAPACITY_PROVIDER_CONFIGURATION, 0), - (TAGS_MAP, 0), - (PLATFORM_VERSION, 0), - (ALLOWED_PORTS, 0), - (RESOURCE_CONFIGURATIONS, 0), - ), -) - -AGENT_RUNTIME_STATUS: StaticSchema = ( - 14, - n0, - _ARS, - 0, - (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - ), -) - -WORKLOAD_IDENTITY_ARN: StaticSchema = (3, n0, _WIA, 0) - -WORKLOAD_IDENTITY_DETAILS: StaticSchema = ( - 18, - n0, - _WID, - 0, - (_wIA,), - ((WORKLOAD_IDENTITY_ARN, 1),), -) - -CREATE_AGENT_RUNTIME_OUTPUT: StaticSchema = ( - 18, - n0, - _CARO, - {_sSI: _cCARRo, _smithy: None}, - (_aRA, _wID, _aRI, _aRV, _cA, _st), - ( - (AGENT_RUNTIME_ARN, 1), - (WORKLOAD_IDENTITY_DETAILS, 0), - (AGENT_RUNTIME_ID, 1), - (AGENT_RUNTIME_VERSION, 1), - (DATE_TIMESTAMP, 1), - (AGENT_RUNTIME_STATUS, 1), - ), -) - -CREATE_AGENT_RUNTIME: StaticOperationSchema = ( - 23, - n0, - _CAR, - {_smithya: MappingProxyType({"code": 202, "method": "PUT", "uri": "/runtimes/"})}, - CREATE_AGENT_RUNTIME_INPUT, - CREATE_AGENT_RUNTIME_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_AGENT_RUNTIME_INPUT: StaticSchema = ( - 18, - n0, - _DARI, - {_sSI: _cDARR, _smith: None}, - (_aRI, _aRV, _cT), - ( - (AGENT_RUNTIME_ID, 9), - (AGENT_RUNTIME_VERSION, {_sQ: _ve}), - (CLIENT_TOKEN, {_sQ: _cT, _sT: None}), - ), -) - -DELETE_AGENT_RUNTIME_OUTPUT: StaticSchema = ( - 18, - n0, - _DARO, - {_sSI: _cDARRo, _smithy: None}, - (_st, _aRI, _aRV), - ((AGENT_RUNTIME_STATUS, 1), (AGENT_RUNTIME_ID, 0), (AGENT_RUNTIME_VERSION, 0)), -) - -DELETE_AGENT_RUNTIME: StaticOperationSchema = ( - 23, - n0, - _DAR, - { - _smithya: MappingProxyType( - {"code": 202, "method": "DELETE", "uri": "/runtimes/{agentRuntimeId}/"} - ) - }, - DELETE_AGENT_RUNTIME_INPUT, - DELETE_AGENT_RUNTIME_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -GET_AGENT_RUNTIME_INPUT: StaticSchema = ( - 18, - n0, - _GARI, - {_sSI: _cGARR, _smith: None}, - (_aRI, _aRV), - ((AGENT_RUNTIME_ID, 9), (AGENT_RUNTIME_VERSION, {_sQ: _ve})), -) - -RUNTIME_METADATA_CONFIGURATION: StaticSchema = (18, n0, _RMC, 0, (_rMMDSV,), ((2, 1),)) - -GET_AGENT_RUNTIME_OUTPUT: StaticSchema = ( - 18, - n0, - _GARO, - {_sSI: _cGARRo, _smithy: None}, - ( - _aRA, - _aRN, - _aRI, - _aRV, - _cA, - _lUA, - _rA, - _nC, - _st, - _lC, - _hC, - _fR, - _d, - _wID, - _aRAg, - _pC, - _eV, - _aCu, - _rHC, - _mC, - _fC, - _cPC, - _pV, - _aP, - _rC, - ), - ( - (AGENT_RUNTIME_ARN, 1), - (AGENT_RUNTIME_NAME, 1), - (AGENT_RUNTIME_ID, 1), - (AGENT_RUNTIME_VERSION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (ROLE_ARN, 1), - (NETWORK_CONFIGURATION, 0), - (AGENT_RUNTIME_STATUS, 1), - (LIFECYCLE_CONFIGURATION, 1), - (RUNTIME_HOOKS_CONFIGURATION, 0), - (3, 0), - (DESCRIPTION, 0), - (WORKLOAD_IDENTITY_DETAILS, 0), - (AGENT_RUNTIME_ARTIFACT, 0), - (PROTOCOL_CONFIGURATION, 0), - (ENVIRONMENT_VARIABLES_MAP, 0), - (AUTHORIZER_CONFIGURATION, 0), - (REQUEST_HEADER_CONFIGURATION, 0), - (RUNTIME_METADATA_CONFIGURATION, 0), - (FILESYSTEM_CONFIGURATIONS, 0), - (CAPACITY_PROVIDER_CONFIGURATION, 0), - (PLATFORM_VERSION, 0), - (ALLOWED_PORTS, 0), - (RESOURCE_CONFIGURATIONS, 0), - ), -) - -GET_AGENT_RUNTIME: StaticOperationSchema = ( - 23, - n0, - _GAR, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/runtimes/{agentRuntimeId}/"} - ) - }, - GET_AGENT_RUNTIME_INPUT, - GET_AGENT_RUNTIME_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AGENT_RUNTIMES_INPUT: StaticSchema = ( - 18, - n0, - _LARI, - {_sSI: _cLARR, _smith: None}, - (_mR, _nT), - ((MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -AGENT_RUNTIME: StaticSchema = ( - 18, - n0, - _AR, - 0, - (_aRA, _aRI, _aRV, _aRN, _d, _lUA, _st), - ( - (AGENT_RUNTIME_ARN, 1), - (AGENT_RUNTIME_ID, 1), - (AGENT_RUNTIME_VERSION, 1), - (AGENT_RUNTIME_NAME, 1), - (DESCRIPTION, 1), - (DATE_TIMESTAMP, 1), - (AGENT_RUNTIME_STATUS, 1), - ), -) - -AGENT_RUNTIMES: StaticSchema = (16, n0, _ARg, 0, (_mem,), ((AGENT_RUNTIME, 0),)) - -LIST_AGENT_RUNTIMES_OUTPUT: StaticSchema = ( - 18, - n0, - _LARO, - {_sSI: _cLARRo, _smithy: None}, - (_aR, _nT), - ((AGENT_RUNTIMES, 1), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_RUNTIMES: StaticOperationSchema = ( - 23, - n0, - _LAR, - {_smithya: MappingProxyType({"code": 200, "method": "POST", "uri": "/runtimes/"})}, - LIST_AGENT_RUNTIMES_INPUT, - LIST_AGENT_RUNTIMES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AGENT_RUNTIME_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LARVI, - {_sSI: _cLARVR, _smith: None}, - (_aRI, _mR, _nT), - ((AGENT_RUNTIME_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -LIST_AGENT_RUNTIME_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LARVO, - {_sSI: _cLARVRo, _smithy: None}, - (_aR, _nT), - ((AGENT_RUNTIMES, 1), (NEXT_TOKEN, 0)), -) - -LIST_AGENT_RUNTIME_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LARV, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/runtimes/{agentRuntimeId}/versions/", - } - ) - }, - LIST_AGENT_RUNTIME_VERSIONS_INPUT, - LIST_AGENT_RUNTIME_VERSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AGENT_RUNTIME_INPUT: StaticSchema = ( - 18, - n0, - _UARI, - {_sSI: _cUARR, _smith: None}, - ( - _aRI, - _aRAg, - _rA, - _nC, - _d, - _aCu, - _rHC, - _pC, - _lC, - _hC, - _mC, - _eV, - _fC, - _cPC, - _pV, - _aP, - _rC, - _cT, - ), - ( - (AGENT_RUNTIME_ID, 9), - (AGENT_RUNTIME_ARTIFACT, 1), - (ROLE_ARN, 1), - (NETWORK_CONFIGURATION, 0), - (DESCRIPTION, 0), - (AUTHORIZER_CONFIGURATION, 0), - (REQUEST_HEADER_CONFIGURATION, 0), - (PROTOCOL_CONFIGURATION, 0), - (LIFECYCLE_CONFIGURATION, 0), - (RUNTIME_HOOKS_CONFIGURATION, 0), - (RUNTIME_METADATA_CONFIGURATION, 0), - (ENVIRONMENT_VARIABLES_MAP, 0), - (FILESYSTEM_CONFIGURATIONS, 0), - (CAPACITY_PROVIDER_CONFIGURATION, 0), - (PLATFORM_VERSION, 0), - (ALLOWED_PORTS, 0), - (RESOURCE_CONFIGURATIONS, 0), - (CLIENT_TOKEN, 2), - ), -) - -UPDATE_AGENT_RUNTIME_OUTPUT: StaticSchema = ( - 18, - n0, - _UARO, - {_sSI: _cUARRo, _smithy: None}, - (_aRA, _aRI, _wID, _aRV, _cA, _lUA, _st), - ( - (AGENT_RUNTIME_ARN, 1), - (AGENT_RUNTIME_ID, 1), - (WORKLOAD_IDENTITY_DETAILS, 0), - (AGENT_RUNTIME_VERSION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (AGENT_RUNTIME_STATUS, 1), - ), -) - -UPDATE_AGENT_RUNTIME: StaticOperationSchema = ( - 23, - n0, - _UAR, - { - _smithya: MappingProxyType( - {"code": 202, "method": "PUT", "uri": "/runtimes/{agentRuntimeId}/"} - ) - }, - UPDATE_AGENT_RUNTIME_INPUT, - UPDATE_AGENT_RUNTIME_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AGENT_RUNTIME_VERSION_SUMMARY: StaticSchema = ( - 18, - n0, - _ARVS, - 0, - (_aRA, _aRV, _st), - ((AGENT_RUNTIME_ARN, 1), (AGENT_RUNTIME_VERSION, 1), (AGENT_RUNTIME_STATUS, 1)), -) - -AGENT_RUNTIME_VERSION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _ARVSL, - 0, - (_mem,), - ((AGENT_RUNTIME_VERSION_SUMMARY, 0),), -) - -SKILL_DEFINITION: StaticSchema = ( - 18, - n0, - _SD, - 0, - (_sV, _iC), - ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), -) - -SKILL_MD_DEFINITION: StaticSchema = (18, n0, _SMD, 0, (_iC,), ((INLINE_CONTENT, 0),)) - -AGENT_SKILLS_DESCRIPTOR: StaticSchema = ( - 18, - n0, - _ASD, - 0, - (_sMk, _sD), - ((SKILL_MD_DEFINITION, 0), (SKILL_DEFINITION, 0)), -) - -ALLOWED_AUDIENCE_TYPE: StaticSchema = (3, n0, _AAT, 0) - -HTTP_QUERY_PARAMETER_NAME: StaticSchema = (3, n0, _HQPN, 0) - -ALLOWED_QUERY_PARAMETERS: StaticSchema = ( - 16, - n0, - _AQP, - 0, - (_mem,), - ((HTTP_QUERY_PARAMETER_NAME, 0),), -) - -HTTP_HEADER_NAME: StaticSchema = (3, n0, _HHN, 0) - -ALLOWED_REQUEST_HEADERS: StaticSchema = ( - 16, - n0, - _ARH, - 0, - (_mem,), - ((HTTP_HEADER_NAME, 0),), -) - -ALLOWED_RESPONSE_HEADERS: StaticSchema = ( - 16, - n0, - _ARHl, - 0, - (_mem,), - ((HTTP_HEADER_NAME, 0),), -) - -ALLOWED_STRING_LIST_VALUE: StaticSchema = (3, n0, _ASLV, 0) - -ALLOWED_STRING_LIST_VALUES_LIST: StaticSchema = ( - 16, - n0, - _ASLVL, - 0, - (_mem,), - ((ALLOWED_STRING_LIST_VALUE, 0),), -) - -ALLOWED_STRING_VALUE: StaticSchema = (3, n0, _ASV, 0) - -ALLOWED_STRING_VALUES_LIST: StaticSchema = ( - 16, - n0, - _ASVL, - 0, - (_mem,), - ((ALLOWED_STRING_VALUE, 0),), -) - -API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE: StaticSchema = (3, n0, _AKCPAT, 0) - -DEFAULT_API_KEY_TYPE: StaticSchema = (3, n0, _DAKT, 4) - -SECRET_JSON_KEY_TYPE: StaticSchema = (3, n0, _SJKT, 0) - -SECRET_ID_TYPE: StaticSchema = (3, n0, _SIT, 0) - -SECRET_REFERENCE: StaticSchema = ( - 18, - n0, - _SRe, - 0, - (_sIe, _jK), - ((SECRET_ID_TYPE, 1), (SECRET_JSON_KEY_TYPE, 1)), -) - -SECRET_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _SST, - 0, - (_MANAGED, _EXTERNAL), - ((-1, {_sVm: _MANAGED}), (-1, {_sVm: _EXTERNAL})), -) - -CREDENTIAL_PROVIDER_NAME: StaticSchema = (3, n0, _CPN, 0) - -CREATE_API_KEY_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _CAKCPI, - {_sSI: _cCAKCPR, _smith: None}, - (_n, _aK, _aKSC, _aKSS, _t), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (DEFAULT_API_KEY_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - (TAGS_MAP, 0), - ), -) - -SECRET_ARN: StaticSchema = (3, n0, _SAe, 0) - -SECRET: StaticSchema = (18, n0, _Se, 0, (_sA,), ((SECRET_ARN, 1),)) - -CREATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _CAKCPO, - {_sSI: _cCAKCPRo, _smithy: None}, - (_aKSA, _aKSJK, _aKSS, _n, _cPAr), - ( - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - (CREDENTIAL_PROVIDER_NAME, 1), - (API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE, 1), - ), -) - -DECRYPTION_FAILURE: StaticSchema = (18, n0, _DFe, {_s: _c, _sE: 400}, (_m,), ((3, 1),)) - -ENCRYPTION_FAILURE: StaticSchema = (18, n0, _EF, {_s: _c, _sE: 400}, (_m,), ((3, 1),)) - -RESOURCE_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _RLEE, - {_s: _c, _sE: 400}, - (_m,), - ((3, 0),), -) - -UNAUTHORIZED_EXCEPTION: StaticSchema = ( - 18, - n0, - _UE, - {_s: _c, _sE: 401}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -CREATE_API_KEY_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _CAKCP, - { - _smithya: MappingProxyType( - { - "code": 201, - "uri": "/identities/CreateApiKeyCredentialProvider", - "method": "POST", - } - ) - }, - CREATE_API_KEY_CREDENTIAL_PROVIDER_INPUT, - CREATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - DECRYPTION_FAILURE, - ENCRYPTION_FAILURE, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_API_KEY_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DAKCPI, - {_sSI: _cDAKCPR, _smith: None}, - (_n,), - ((CREDENTIAL_PROVIDER_NAME, 1),), -) - -DELETE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _DAKCPO, - {_sSI: _cDAKCPRo, _smithy: None}, -) - -DELETE_API_KEY_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DAKCP, - { - _smithya: MappingProxyType( - { - "code": 204, - "uri": "/identities/DeleteApiKeyCredentialProvider", - "method": "POST", - } - ) - }, - DELETE_API_KEY_CREDENTIAL_PROVIDER_INPUT, - DELETE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_API_KEY_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _GAKCPI, - {_sSI: _cGAKCPR, _smith: None}, - (_n,), - ((CREDENTIAL_PROVIDER_NAME, 1),), -) - -GET_API_KEY_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _GAKCPO, - {_sSI: _cGAKCPRo, _smithy: None}, - (_aKSA, _aKSJK, _aKSS, _n, _cPAr, _cTr, _lUT), - ( - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - (CREDENTIAL_PROVIDER_NAME, 1), - (API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (4, 1), - (4, 1), - ), -) - -GET_API_KEY_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _GAKCP, - { - _smithya: MappingProxyType( - {"uri": "/identities/GetApiKeyCredentialProvider", "method": "POST"} - ) - }, - GET_API_KEY_CREDENTIAL_PROVIDER_INPUT, - GET_API_KEY_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - DECRYPTION_FAILURE, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_API_KEY_CREDENTIAL_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _LAKCPI, - {_sSI: _cLAKCPR, _smith: None}, - (_nT, _mR), - ((3, 0), (MAX_RESULTS, {_smi: 10})), -) - -API_KEY_CREDENTIAL_PROVIDER_ITEM: StaticSchema = ( - 18, - n0, - _AKCPI, - 0, - (_n, _cPAr, _cTr, _lUT), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (4, 1), - (4, 1), - ), -) - -API_KEY_CREDENTIAL_PROVIDERS: StaticSchema = ( - 16, - n0, - _AKCP, - 0, - (_mem,), - ((API_KEY_CREDENTIAL_PROVIDER_ITEM, 0),), -) - -LIST_API_KEY_CREDENTIAL_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAKCPO, - {_sSI: _cLAKCPRo, _smithy: None}, - (_cP, _nT), - ((API_KEY_CREDENTIAL_PROVIDERS, 1), (3, 0)), -) - -LIST_API_KEY_CREDENTIAL_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _LAKCP, - { - _smithya: MappingProxyType( - {"uri": "/identities/ListApiKeyCredentialProviders", "method": "POST"} - ) - }, - LIST_API_KEY_CREDENTIAL_PROVIDERS_INPUT, - LIST_API_KEY_CREDENTIAL_PROVIDERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_API_KEY_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _UAKCPI, - {_sSI: _cUAKCPR, _smith: None}, - (_n, _aK, _aKSC, _aKSS), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (DEFAULT_API_KEY_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - ), -) - -UPDATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _UAKCPO, - {_sSI: _cUAKCPRo, _smithy: None}, - (_aKSA, _aKSJK, _aKSS, _n, _cPAr, _cTr, _lUT), - ( - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - (CREDENTIAL_PROVIDER_NAME, 1), - (API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (4, 1), - (4, 1), - ), -) - -UPDATE_API_KEY_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _UAKCP, - { - _smithya: MappingProxyType( - {"uri": "/identities/UpdateApiKeyCredentialProvider", "method": "POST"} - ) - }, - UPDATE_API_KEY_CREDENTIAL_PROVIDER_INPUT, - UPDATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - DECRYPTION_FAILURE, - ENCRYPTION_FAILURE, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BROWSER_PROFILE_ID: StaticSchema = (3, n0, _BPI, 0) - -BROWSER_PROFILE_NAME: StaticSchema = (3, n0, _BPN, 0) - -CREATE_BROWSER_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _CBPI, - {_sSI: _cCBPR, _smith: None}, - (_n, _d, _cT, _t), - ((BROWSER_PROFILE_NAME, 1), (DESCRIPTION, 0), (CLIENT_TOKEN, 2), (TAGS_MAP, 0)), -) - -BROWSER_PROFILE_ARN: StaticSchema = (3, n0, _BPA, 0) - -BROWSER_PROFILE_STATUS: StaticSchema = ( - 14, - n0, - _BPS, - 0, - (_READY, _DELETING, _DELETED, _SAVING), - ( - (-1, {_sVm: _READY}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DELETED}), - (-1, {_sVm: _SAVING}), - ), -) - -CREATE_BROWSER_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _CBPO, - {_sSI: _cCBPRo, _smithy: None}, - (_pI, _pA, _cA, _st), - ( - (BROWSER_PROFILE_ID, 1), - (BROWSER_PROFILE_ARN, 1), - (DATE_TIMESTAMP, 1), - (BROWSER_PROFILE_STATUS, 1), - ), -) - -CREATE_BROWSER_PROFILE: StaticOperationSchema = ( - 23, - n0, - _CBP, - { - _smithya: MappingProxyType( - {"code": 200, "method": "PUT", "uri": "/browser-profiles"} - ) - }, - CREATE_BROWSER_PROFILE_INPUT, - CREATE_BROWSER_PROFILE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_BROWSER_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _DBPI, - {_sSI: _cDBPR, _smith: None}, - (_pI, _cT), - ((BROWSER_PROFILE_ID, 9), (CLIENT_TOKEN, {_sQ: _cT, _sT: None})), -) - -DELETE_BROWSER_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _DBPO, - {_sSI: _cDBPRo, _smithy: None}, - (_pI, _pA, _st, _lUA, _lSA), - ( - (BROWSER_PROFILE_ID, 1), - (BROWSER_PROFILE_ARN, 1), - (BROWSER_PROFILE_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - ), -) - -DELETE_BROWSER_PROFILE: StaticOperationSchema = ( - 23, - n0, - _DBP, - { - _smithya: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/browser-profiles/{profileId}"} - ) - }, - DELETE_BROWSER_PROFILE_INPUT, - DELETE_BROWSER_PROFILE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_BROWSER_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _GBPI, - {_sSI: _cGBPR, _smith: None}, - (_pI,), - ((BROWSER_PROFILE_ID, 9),), -) - -BROWSER_ID: StaticSchema = (3, n0, _BI, 0) - -BROWSER_SESSION_ID: StaticSchema = (3, n0, _BSI, 0) - -GET_BROWSER_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _GBPO, - {_sSI: _cGBPRo, _smithy: None}, - (_pI, _pA, _n, _d, _st, _cA, _lUA, _lSA, _lSBSI, _lSBI), - ( - (BROWSER_PROFILE_ID, 1), - (BROWSER_PROFILE_ARN, 1), - (BROWSER_PROFILE_NAME, 1), - (DESCRIPTION, 0), - (BROWSER_PROFILE_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - (BROWSER_SESSION_ID, 0), - (BROWSER_ID, 0), - ), -) - -GET_BROWSER_PROFILE: StaticOperationSchema = ( - 23, - n0, - _GBP, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/browser-profiles/{profileId}"} - ) - }, - GET_BROWSER_PROFILE_INPUT, - GET_BROWSER_PROFILE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_BROWSER_PROFILES_INPUT: StaticSchema = ( - 18, - n0, - _LBPI, - {_sSI: _cLBPR, _smith: None}, - (_mR, _nT, _n), - ((MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT}), (BROWSER_PROFILE_NAME, 0)), -) - -BROWSER_PROFILE_SUMMARY: StaticSchema = ( - 18, - n0, - _BPSr, - 0, - (_pI, _pA, _n, _d, _st, _cA, _lUA, _lSA, _lSBSI, _lSBI), - ( - (BROWSER_PROFILE_ID, 1), - (BROWSER_PROFILE_ARN, 1), - (BROWSER_PROFILE_NAME, 1), - (DESCRIPTION, 0), - (BROWSER_PROFILE_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - (BROWSER_SESSION_ID, 0), - (BROWSER_ID, 0), - ), -) - -BROWSER_PROFILE_SUMMARIES: StaticSchema = ( - 16, - n0, - _BPSro, - 0, - (_mem,), - ((BROWSER_PROFILE_SUMMARY, 0),), -) - -LIST_BROWSER_PROFILES_OUTPUT: StaticSchema = ( - 18, - n0, - _LBPO, - {_sSI: _cLBPRo, _smithy: None}, - (_pS, _nT), - ((BROWSER_PROFILE_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_BROWSER_PROFILES: StaticOperationSchema = ( - 23, - n0, - _LBP, - { - _smithya: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/browser-profiles"} - ) - }, - LIST_BROWSER_PROFILES_INPUT, - LIST_BROWSER_PROFILES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BROWSER_SIGNING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _BSCI, - 0, - (_en,), - ((2, {_smi: False, _sm: None}),), -) - -TOOL_SECRET_ARN: StaticSchema = (3, n0, _TSA, 0) - -SECRETS_MANAGER_LOCATION: StaticSchema = ( - 18, - n0, - _SML, - 0, - (_sA,), - ((TOOL_SECRET_ARN, 1),), -) - -CERTIFICATE_LOCATION: StaticSchema = ( - 19, - n0, - _CL, - 0, - (_sM,), - ((SECRETS_MANAGER_LOCATION, 0),), -) - -CERTIFICATE: StaticSchema = (18, n0, _Ce, 0, (_l,), ((CERTIFICATE_LOCATION, 1),)) - -CERTIFICATES: StaticSchema = (16, n0, _Cer, 0, (_mem,), ((CERTIFICATE, 0),)) - -RESOURCE_LOCATION: StaticSchema = (19, n0, _RL, 0, (_s_,), ((S3_LOCATION, 0),)) - -BROWSER_ENTERPRISE_POLICY_TYPE: StaticSchema = ( - 14, - n0, - _BEPT, - 0, - (_MANAGED, _RECOMMENDED), - ((-1, {_sVm: _MANAGED}), (-1, {_sVm: _RECOMMENDED})), -) - -BROWSER_ENTERPRISE_POLICY: StaticSchema = ( - 18, - n0, - _BEP, - 0, - (_l, _ty), - ((RESOURCE_LOCATION, 1), (BROWSER_ENTERPRISE_POLICY_TYPE, 0)), -) - -BROWSER_ENTERPRISE_POLICIES: StaticSchema = ( - 16, - n0, - _BEPr, - 0, - (_mem,), - ((BROWSER_ENTERPRISE_POLICY, 0),), -) - -EFS_FILE_SYSTEM_ARN: StaticSchema = (3, n0, _EFSA, 0) - -EFS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EC, - 0, - (_aPA, _mP, _fSA), - ((EFS_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1), (EFS_FILE_SYSTEM_ARN, 1)), -) - -S3_FILES_FILE_SYSTEM_ARN: StaticSchema = (3, n0, _SFFSA, 0) - -S3_FILES_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SFC, - 0, - (_aPA, _mP, _fSA), - ((S3_FILES_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1), (S3_FILES_FILE_SYSTEM_ARN, 1)), -) - -TOOLS_FILE_SYSTEM_CONFIGURATION: StaticSchema = ( - 19, - n0, - _TFSC, - 0, - (_sFC, _eC), - ((S3_FILES_CONFIGURATION, 0), (EFS_CONFIGURATION, 0)), -) - -TOOLS_FILE_SYSTEM_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _TFSCo, - 0, - (_mem,), - ((TOOLS_FILE_SYSTEM_CONFIGURATION, 0),), -) - -SANDBOX_NAME: StaticSchema = (3, n0, _SN, 0) - -BROWSER_NETWORK_MODE: StaticSchema = ( - 14, - n0, - _BNM, - 0, - (_PUBLIC, _VPC), - ((-1, {_sVm: _PUBLIC}), (-1, {_sVm: _VPC})), -) - -BROWSER_NETWORK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BNC, - 0, - (_nM, _vC), - ((BROWSER_NETWORK_MODE, {_smi: _PUBLIC, _sm: None}), (VPC_CONFIG, 0)), -) - -RECORDING_CONFIG: StaticSchema = ( - 18, - n0, - _RCec, - 0, - (_en, _sLo), - ((2, {_smi: False}), (S3_LOCATION, 0)), -) - -CREATE_BROWSER_INPUT: StaticSchema = ( - 18, - n0, - _CBI, - {_sSI: _cCBR, _smith: None}, - (_n, _d, _eRA, _nC, _re, _bS, _ePn, _ce, _fC, _cT, _t), - ( - (SANDBOX_NAME, 1), - (DESCRIPTION, 0), - (ROLE_ARN, 0), - (BROWSER_NETWORK_CONFIGURATION, 1), - (RECORDING_CONFIG, 0), - (BROWSER_SIGNING_CONFIG_INPUT, 0), - (BROWSER_ENTERPRISE_POLICIES, 0), - (CERTIFICATES, 0), - (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - ), -) - -BROWSER_ARN: StaticSchema = (3, n0, _BA, 0) - -BROWSER_STATUS: StaticSchema = ( - 14, - n0, - _BS, - 0, - (_CREATING, _CF, _READY, _DELETING, _DF, _DELETED), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - (-1, {_sVm: _DELETED}), - ), -) - -CREATE_BROWSER_OUTPUT: StaticSchema = ( - 18, - n0, - _CBO, - {_sSI: _cCBRo, _smithy: None}, - (_bI, _bAr, _cA, _st), - ((BROWSER_ID, 1), (BROWSER_ARN, 1), (DATE_TIMESTAMP, 1), (BROWSER_STATUS, 1)), -) - -CREATE_BROWSER: StaticOperationSchema = ( - 23, - n0, - _CB, - {_smithya: MappingProxyType({"code": 202, "method": "PUT", "uri": "/browsers"})}, - CREATE_BROWSER_INPUT, - CREATE_BROWSER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_BROWSER_INPUT: StaticSchema = ( - 18, - n0, - _DBI, - {_sSI: _cDBR, _smith: None}, - (_bI, _cT), - ((BROWSER_ID, 9), (CLIENT_TOKEN, {_sQ: _cT, _sT: None})), -) - -DELETE_BROWSER_OUTPUT: StaticSchema = ( - 18, - n0, - _DBO, - {_sSI: _cDBRo, _smithy: None}, - (_bI, _st, _lUA), - ((BROWSER_ID, 1), (BROWSER_STATUS, 1), (DATE_TIMESTAMP, 1)), -) - -DELETE_BROWSER: StaticOperationSchema = ( - 23, - n0, - _DB, - { - _smithya: MappingProxyType( - {"code": 202, "method": "DELETE", "uri": "/browsers/{browserId}"} - ) - }, - DELETE_BROWSER_INPUT, - DELETE_BROWSER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_BROWSER_INPUT: StaticSchema = ( - 18, - n0, - _GBI, - {_sSI: _cGBR, _smith: None}, - (_bI,), - ((BROWSER_ID, 9),), -) - -BROWSER_SIGNING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _BSCO, - 0, - (_en,), - ((2, {_smi: False, _sm: None}),), -) - -GET_BROWSER_OUTPUT: StaticSchema = ( - 18, - n0, - _GBO, - {_sSI: _cGBRo, _smithy: None}, - (_bI, _bAr, _n, _d, _eRA, _nC, _re, _bS, _ePn, _ce, _fC, _st, _fR, _cA, _lUA), - ( - (BROWSER_ID, 1), - (BROWSER_ARN, 1), - (SANDBOX_NAME, 1), - (DESCRIPTION, 0), - (ROLE_ARN, 0), - (BROWSER_NETWORK_CONFIGURATION, 1), - (RECORDING_CONFIG, 0), - (BROWSER_SIGNING_CONFIG_OUTPUT, 0), - (BROWSER_ENTERPRISE_POLICIES, 0), - (CERTIFICATES, 0), - (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), - (BROWSER_STATUS, 1), - (3, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -GET_BROWSER: StaticOperationSchema = ( - 23, - n0, - _GB, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/browsers/{browserId}"} - ) - }, - GET_BROWSER_INPUT, - GET_BROWSER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _RT, - 0, - (_SYSTEM, _CUSTOM), - ((-1, {_sVm: _SYSTEM}), (-1, {_sVm: _CUSTOM})), -) - -LIST_BROWSERS_INPUT: StaticSchema = ( - 18, - n0, - _LBI, - {_sSI: _cLBR, _smith: None}, - (_mR, _nT, _ty), - ((MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT}), (RESOURCE_TYPE, {_sQ: _ty})), -) - -BROWSER_SUMMARY: StaticSchema = ( - 18, - n0, - _BSr, - 0, - (_bI, _bAr, _n, _d, _st, _cA, _lUA), - ( - (BROWSER_ID, 1), - (BROWSER_ARN, 1), - (SANDBOX_NAME, 0), - (DESCRIPTION, 0), - (BROWSER_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - ), -) - -BROWSER_SUMMARIES: StaticSchema = (16, n0, _BSro, 0, (_mem,), ((BROWSER_SUMMARY, 0),)) - -LIST_BROWSERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBO, - {_sSI: _cLBRo, _smithy: None}, - (_bSr, _nT), - ((BROWSER_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_BROWSERS: StaticOperationSchema = ( - 23, - n0, - _LB, - {_smithya: MappingProxyType({"code": 200, "method": "POST", "uri": "/browsers"})}, - LIST_BROWSERS_INPUT, - LIST_BROWSERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CAPACITY_PROVIDER_ID: StaticSchema = (3, n0, _CPI, 0) - -CAPACITY_RESERVATION_PREFERENCE: StaticSchema = ( - 14, - n0, - _CRP, - 0, - (_CRO, _OPEN, _NONE), - ((-1, {_sVm: _cro}), (-1, {_sVm: _o}), (-1, {_sVm: _no})), -) - -CAPACITY_RESERVATION_ID: StaticSchema = (3, n0, _CRI, 0) - -CAPACITY_RESERVATION_RESOURCE_GROUP_ARN: StaticSchema = (3, n0, _CRRGA, 0) - -CAPACITY_RESERVATION_TARGET: StaticSchema = ( - 18, - n0, - _CRT, - 0, - (_cRI, _cRRGA), - ((CAPACITY_RESERVATION_ID, 0), (CAPACITY_RESERVATION_RESOURCE_GROUP_ARN, 0)), -) - -CAPACITY_RESERVATION_SPECIFICATION: StaticSchema = ( - 18, - n0, - _CRS, - 0, - (_cRP, _cRT), - ((CAPACITY_RESERVATION_PREFERENCE, 0), (CAPACITY_RESERVATION_TARGET, 0)), -) - -DEVICE_NAME: StaticSchema = (3, n0, _DN, 0) - -EBS_CARD_INDEX: StaticSchema = (7, n0, _ECI, 0) - -VOLUME_IOPS: StaticSchema = (7, n0, _VIo, 0) - -KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) - -EBS_SNAPSHOT_ID: StaticSchema = (3, n0, _ESI, 0) - -VOLUME_THROUGHPUT: StaticSchema = (7, n0, _VT, 0) - -EBS_VOLUME_INITIALIZATION_RATE: StaticSchema = (7, n0, _EVIR, 0) - -VOLUME_SIZE_GI_B: StaticSchema = (7, n0, _VSGB, 0) - -EBS_VOLUME_TYPE: StaticSchema = ( - 14, - n0, - _EVT, - 0, - (_STANDARD, _IO, _IO_, _GP, _SC, _ST, _GP_), - ( - (-1, {_sVm: _sta}), - (-1, {_sVm: _io}), - (-1, {_sVm: _io_}), - (-1, {_sVm: _g}), - (-1, {_sVm: _sc}), - (-1, {_sVm: _st_}), - (-1, {_sVm: _gp}), - ), -) - -EPHEMERAL_EBS_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EEBSVC, - 0, - (_vT, _iop, _th, _enc, _kKI, _sIn, _vS, _vIR, _eCI), - ( - (EBS_VOLUME_TYPE, {_smi: _gp}), - (VOLUME_IOPS, 0), - (VOLUME_THROUGHPUT, 0), - (2, 0), - (KMS_KEY_ID, 0), - (EBS_SNAPSHOT_ID, 0), - (VOLUME_SIZE_GI_B, 0), - (EBS_VOLUME_INITIALIZATION_RATE, 0), - (EBS_CARD_INDEX, 0), - ), -) - -VIRTUAL_DEVICE_NAME: StaticSchema = (3, n0, _VDN, 0) - -EPHEMERAL_BLOCK_DEVICE_MAPPING: StaticSchema = ( - 18, - n0, - _EBDM, - 0, - (_dN, _vNi, _eb), - ( - (DEVICE_NAME, 0), - (VIRTUAL_DEVICE_NAME, 0), - (EPHEMERAL_EBS_VOLUME_CONFIGURATION, 0), - ), -) - -EPHEMERAL_BLOCK_DEVICE_MAPPING_LIST: StaticSchema = ( - 16, - n0, - _EBDML, - 0, - (_mem,), - ((EPHEMERAL_BLOCK_DEVICE_MAPPING, 0),), -) - -INSTANCE_PROFILE_ARN: StaticSchema = (3, n0, _IPA, 0) - -EC2_INSTANCE_TYPE: StaticSchema = (3, n0, _ECIT, 0) - -INSTANCE_TYPE_LIST: StaticSchema = (16, n0, _ITL, 0, (_mem,), ((EC2_INSTANCE_TYPE, 0),)) - -INSTANCE_REQUIREMENTS: StaticSchema = ( - 18, - n0, - _IR, - 0, - (_aIT,), - ((INSTANCE_TYPE_LIST, 1),), -) - -LICENSE_CONFIGURATION_ARN: StaticSchema = (3, n0, _LCA, 0) - -LICENSE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _LS, - 0, - (_lCA,), - ((LICENSE_CONFIGURATION_ARN, 1),), -) - -LICENSE_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _LSL, - 0, - (_mem,), - ((LICENSE_SPECIFICATION, 0),), -) - -MONITORING: StaticSchema = ( - 14, - n0, - _M, - 0, - (_BASIC, _DETAILED), - ((-1, {_sVm: _BASIC}), (-1, {_sVm: _DETAILED})), -) - -OPERATING_SYSTEM: StaticSchema = ( - 14, - n0, - _OS, - 0, - (_LX, _LA), - ((-1, {_sVm: _LX}), (-1, {_sVm: _LA})), -) - -SSH_KEY_NAME: StaticSchema = (3, n0, _SSHKN, 0) - -LAUNCH_PARAMETERS: StaticSchema = ( - 18, - n0, - _LP, - 0, - (_oS, _iR, _eVp, _mon, _lS, _cRS, _sKN, _iPA, _pT), - ( - (OPERATING_SYSTEM, 1), - (INSTANCE_REQUIREMENTS, 1), - (EPHEMERAL_BLOCK_DEVICE_MAPPING_LIST, 0), - (MONITORING, 0), - (LICENSE_SPECIFICATION_LIST, 0), - (CAPACITY_RESERVATION_SPECIFICATION, 0), - (SSH_KEY_NAME, 0), - (INSTANCE_PROFILE_ARN, 0), - (TAGS_MAP, 0), - ), -) - -LAUNCH_TEMPLATE_SOURCE: StaticSchema = ( - 19, - n0, - _LTS, - 0, - (_lP,), - ((LAUNCH_PARAMETERS, 0),), -) - -INSTANCE_LIFECYCLE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ILC, - 0, - (_iIT, _mL), - ((7, 0), (7, 0)), -) - -ROOT_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RVC, - 0, - (_vT, _iop, _th, _enc, _kKI, _fSGB), - ( - (EBS_VOLUME_TYPE, {_smi: _gp}), - (VOLUME_IOPS, 0), - (VOLUME_THROUGHPUT, 0), - (2, 0), - (KMS_KEY_ID, 0), - (VOLUME_SIZE_GI_B, 0), - ), -) - -VOLUME_NAME: StaticSchema = (3, n0, _VN, 0) - -EBS_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EVC, - 0, - (_n, _sGB, _vT, _iop, _th, _enc, _kKI, _sIn), - ( - (VOLUME_NAME, 1), - (VOLUME_SIZE_GI_B, 1), - (EBS_VOLUME_TYPE, {_smi: _gp}), - (VOLUME_IOPS, 0), - (VOLUME_THROUGHPUT, 0), - (2, 0), - (KMS_KEY_ID, 0), - (EBS_SNAPSHOT_ID, 0), - ), -) - -VOLUME_CONFIGURATION: StaticSchema = ( - 19, - n0, - _VCo, - 0, - (_eCb,), - ((EBS_VOLUME_CONFIGURATION, 0),), -) - -VOLUME_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _VCL, - 0, - (_mem,), - ((VOLUME_CONFIGURATION, 0),), -) - -SECURITY_GROUP_ID_LIST: StaticSchema = ( - 16, - n0, - _SGIL, - 0, - (_mem,), - ((SECURITY_GROUP_ID, 0),), -) - -SUBNET_ID_LIST: StaticSchema = (16, n0, _SIL, 0, (_mem,), ((SUBNET_ID, 0),)) - -VPC_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VCp, - 0, - (_su, _sG), - ((SUBNET_ID_LIST, 1), (SECURITY_GROUP_ID_LIST, 1)), -) - -EC2_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ECc, - 0, - (_lTS, _vCp, _vo, _lC, _rV), - ( - (LAUNCH_TEMPLATE_SOURCE, 1), - (VPC_CONFIGURATION, 1), - (VOLUME_CONFIGURATION_LIST, 0), - (INSTANCE_LIFECYCLE_CONFIGURATION, 0), - (ROOT_VOLUME_CONFIGURATION, 0), - ), -) - -COMPUTE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _CCom, - 0, - (_eCc,), - ((EC2_CONFIGURATION, 0),), -) - -CAPACITY_PROVIDER_NAME: StaticSchema = (3, n0, _CPNa, 0) - -PERMISSIONS_CONFIGURATION: StaticSchema = (18, n0, _PCe, 0, (_cPORA,), ((ROLE_ARN, 1),)) - -CREATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _CCPI, - {_smith: None}, - (_n, _d, _pCe, _cT, _t, _cCom), - ( - (CAPACITY_PROVIDER_NAME, 1), - (DESCRIPTION, 0), - (PERMISSIONS_CONFIGURATION, 1), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - (COMPUTE_CONFIGURATION, 1), - ), -) - -CAPACITY_PROVIDER_STATUS: StaticSchema = ( - 14, - n0, - _CPS, - 0, - (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - ), -) - -CREATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _CCPO, - {_smithy: None}, - (_cPI, _cPA, _n, _st), - ( - (CAPACITY_PROVIDER_ID, 1), - (CAPACITY_PROVIDER_ARN, 1), - (CAPACITY_PROVIDER_NAME, 1), - (CAPACITY_PROVIDER_STATUS, 1), - ), -) - -RETRYABLE_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _RCE, - {_s: _c, _sE: 409}, - (_m,), - ((3, 1),), -) - -CREATE_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _CCP, - { - _smithya: MappingProxyType( - {"method": "PUT", "uri": "/capacity-providers", "code": 202} - ) - }, - CREATE_CAPACITY_PROVIDER_INPUT, - CREATE_CAPACITY_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RETRYABLE_CONFLICT_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DCPI, - {_smith: None}, - (_cPI, _cT), - ((CAPACITY_PROVIDER_ID, 9), (CLIENT_TOKEN, {_sQ: _cT, _sT: None})), -) - -DELETE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _DCPO, - {_smithy: None}, - (_cPI, _st), - ((CAPACITY_PROVIDER_ID, 1), (CAPACITY_PROVIDER_STATUS, 1)), -) - -DELETE_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DCP, - { - _smithya: MappingProxyType( - { - "method": "DELETE", - "uri": "/capacity-providers/{capacityProviderId}", - "code": 202, - } - ) - }, - DELETE_CAPACITY_PROVIDER_INPUT, - DELETE_CAPACITY_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RETRYABLE_CONFLICT_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _GCPI, - {_smith: None}, - (_cPI,), - ((CAPACITY_PROVIDER_ID, 9),), -) - -CAPACITY_PROVIDER_STATUS_CODE: StaticSchema = ( - 14, - n0, - _CPSC, - 0, - (_VE_, _QE, _THROTTLED, _ISE_), - ( - (-1, {_sVm: _VE_}), - (-1, {_sVm: _QE}), - (-1, {_sVm: _THROTTLED}), - (-1, {_sVm: _ISE_}), - ), -) - -GET_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _GCPO, - {_smithy: None}, - (_cPI, _cPA, _n, _st, _d, _sCt, _sRt, _pCe, _cCom, _cA, _lUA), - ( - (CAPACITY_PROVIDER_ID, 1), - (CAPACITY_PROVIDER_ARN, 1), - (CAPACITY_PROVIDER_NAME, 1), - (CAPACITY_PROVIDER_STATUS, 1), - (DESCRIPTION, 0), - (CAPACITY_PROVIDER_STATUS_CODE, 0), - (3, 0), - (PERMISSIONS_CONFIGURATION, 1), - (COMPUTE_CONFIGURATION, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -GET_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _GCP, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/capacity-providers/{capacityProviderId}", - "code": 200, - } - ) - }, - GET_CAPACITY_PROVIDER_INPUT, - GET_CAPACITY_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _LARVBCPI, - {_smith: None}, - (_cPI, _mR, _nT), - ((CAPACITY_PROVIDER_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _LARVBCPO, - {_smithy: None}, - (_aR, _nT), - ((AGENT_RUNTIME_VERSION_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _LARVBCP, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/capacity-providers/{capacityProviderId}/runtime-versions", - "code": 200, - } - ) - }, - LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_INPUT, - LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_CAPACITY_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _LCPI, - {_smith: None}, - (_mR, _nT), - ((MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -CAPACITY_PROVIDER_SUMMARY: StaticSchema = ( - 18, - n0, - _CPSa, - 0, - (_cPI, _cPA, _n, _st, _lUA), - ( - (CAPACITY_PROVIDER_ID, 1), - (CAPACITY_PROVIDER_ARN, 1), - (CAPACITY_PROVIDER_NAME, 1), - (CAPACITY_PROVIDER_STATUS, 1), - (4, 1), - ), -) - -CAPACITY_PROVIDER_LIST: StaticSchema = ( - 16, - n0, - _CPL, - 0, - (_mem,), - ((CAPACITY_PROVIDER_SUMMARY, 0),), -) - -LIST_CAPACITY_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCPO, - {_smithy: None}, - (_cPa, _nT), - ((CAPACITY_PROVIDER_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_CAPACITY_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _LCP, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/capacity-providers", "code": 200} - ) - }, - LIST_CAPACITY_PROVIDERS_INPUT, - LIST_CAPACITY_PROVIDERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATED_DESCRIPTION: StaticSchema = (18, n0, _UD, 0, (_oV,), ((DESCRIPTION, 0),)) - -UPDATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _UCPI, - {_smith: None}, - (_cPI, _d, _cT), - ((CAPACITY_PROVIDER_ID, 9), (UPDATED_DESCRIPTION, 0), (CLIENT_TOKEN, 2)), -) - -UPDATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _UCPO, - {_smithy: None}, - (_cPI, _cPA, _n, _st, _cA, _lUA), - ( - (CAPACITY_PROVIDER_ID, 1), - (CAPACITY_PROVIDER_ARN, 1), - (CAPACITY_PROVIDER_NAME, 1), - (CAPACITY_PROVIDER_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -UPDATE_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _UCP, - { - _smithya: MappingProxyType( - { - "method": "PUT", - "uri": "/capacity-providers/{capacityProviderId}", - "code": 202, - } - ) - }, - UPDATE_CAPACITY_PROVIDER_INPUT, - UPDATE_CAPACITY_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RETRYABLE_CONFLICT_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CODE_INTERPRETER_ID: StaticSchema = (3, n0, _CII, 0) - -CODE_INTERPRETER_NETWORK_MODE: StaticSchema = ( - 14, - n0, - _CINM, - 0, - (_PUBLIC, _SANDBOX, _VPC), - ((-1, {_sVm: _PUBLIC}), (-1, {_sVm: _SANDBOX}), (-1, {_sVm: _VPC})), -) - -CODE_INTERPRETER_NETWORK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CINC, - 0, - (_nM, _vC), - ((CODE_INTERPRETER_NETWORK_MODE, {_smi: _SANDBOX, _sm: None}), (VPC_CONFIG, 0)), -) - -CREATE_CODE_INTERPRETER_INPUT: StaticSchema = ( - 18, - n0, - _CCII, - {_sSI: _cCCIR, _smith: None}, - (_n, _d, _eRA, _nC, _ce, _fC, _cT, _t), - ( - (SANDBOX_NAME, 1), - (DESCRIPTION, 0), - (ROLE_ARN, 0), - (CODE_INTERPRETER_NETWORK_CONFIGURATION, 1), - (CERTIFICATES, 0), - (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - ), -) - -CODE_INTERPRETER_ARN: StaticSchema = (3, n0, _CIA, 0) - -CODE_INTERPRETER_STATUS: StaticSchema = ( - 14, - n0, - _CIS, - 0, - (_CREATING, _CF, _READY, _DELETING, _DF, _DELETED), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - (-1, {_sVm: _DELETED}), - ), -) - -CREATE_CODE_INTERPRETER_OUTPUT: StaticSchema = ( - 18, - n0, - _CCIO, - {_sSI: _cCCIRo, _smithy: None}, - (_cII, _cIA, _cA, _st), - ( - (CODE_INTERPRETER_ID, 1), - (CODE_INTERPRETER_ARN, 1), - (DATE_TIMESTAMP, 1), - (CODE_INTERPRETER_STATUS, 1), - ), -) - -CREATE_CODE_INTERPRETER: StaticOperationSchema = ( - 23, - n0, - _CCI, - { - _smithya: MappingProxyType( - {"code": 202, "method": "PUT", "uri": "/code-interpreters"} - ) - }, - CREATE_CODE_INTERPRETER_INPUT, - CREATE_CODE_INTERPRETER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_CODE_INTERPRETER_INPUT: StaticSchema = ( - 18, - n0, - _DCII, - {_sSI: _cDCIR, _smith: None}, - (_cII, _cT), - ((CODE_INTERPRETER_ID, 9), (CLIENT_TOKEN, {_sQ: _cT, _sT: None})), -) - -DELETE_CODE_INTERPRETER_OUTPUT: StaticSchema = ( - 18, - n0, - _DCIO, - {_sSI: _cDCIRo, _smithy: None}, - (_cII, _st, _lUA), - ((CODE_INTERPRETER_ID, 1), (CODE_INTERPRETER_STATUS, 1), (DATE_TIMESTAMP, 1)), -) - -DELETE_CODE_INTERPRETER: StaticOperationSchema = ( - 23, - n0, - _DCI, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/code-interpreters/{codeInterpreterId}", - } - ) - }, - DELETE_CODE_INTERPRETER_INPUT, - DELETE_CODE_INTERPRETER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_CODE_INTERPRETER_INPUT: StaticSchema = ( - 18, - n0, - _GCII, - {_sSI: _cGCIR, _smith: None}, - (_cII,), - ((CODE_INTERPRETER_ID, 9),), -) - -GET_CODE_INTERPRETER_OUTPUT: StaticSchema = ( - 18, - n0, - _GCIO, - {_sSI: _cGCIRo, _smithy: None}, - (_cII, _cIA, _n, _d, _eRA, _nC, _st, _ce, _fC, _fR, _cA, _lUA), - ( - (CODE_INTERPRETER_ID, 1), - (CODE_INTERPRETER_ARN, 1), - (SANDBOX_NAME, 1), - (DESCRIPTION, 0), - (ROLE_ARN, 0), - (CODE_INTERPRETER_NETWORK_CONFIGURATION, 1), - (CODE_INTERPRETER_STATUS, 1), - (CERTIFICATES, 0), - (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), - (3, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -GET_CODE_INTERPRETER: StaticOperationSchema = ( - 23, - n0, - _GCI, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/code-interpreters/{codeInterpreterId}", - } - ) - }, - GET_CODE_INTERPRETER_INPUT, - GET_CODE_INTERPRETER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -LIST_CODE_INTERPRETERS_INPUT: StaticSchema = ( - 18, - n0, - _LCII, - {_sSI: _cLCIR, _smith: None}, - (_mR, _nT, _ty), - ((MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT}), (RESOURCE_TYPE, {_sQ: _ty})), -) - -CODE_INTERPRETER_SUMMARY: StaticSchema = ( - 18, - n0, - _CISo, - 0, - (_cII, _cIA, _n, _d, _st, _cA, _lUA), - ( - (CODE_INTERPRETER_ID, 1), - (CODE_INTERPRETER_ARN, 1), - (SANDBOX_NAME, 0), - (DESCRIPTION, 0), - (CODE_INTERPRETER_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - ), -) - -CODE_INTERPRETER_SUMMARIES: StaticSchema = ( - 16, - n0, - _CISod, - 0, - (_mem,), - ((CODE_INTERPRETER_SUMMARY, 0),), -) - -LIST_CODE_INTERPRETERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCIO, - {_sSI: _cLCIRo, _smithy: None}, - (_cIS, _nT), - ((CODE_INTERPRETER_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_CODE_INTERPRETERS: StaticOperationSchema = ( - 23, - n0, - _LCI, - { - _smithya: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/code-interpreters"} - ) - }, - LIST_CODE_INTERPRETERS_INPUT, - LIST_CODE_INTERPRETERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONFIGURATION_BUNDLE_ID: StaticSchema = (3, n0, _CBIo, 0) - -BRANCH_NAME: StaticSchema = (3, n0, _BN, 0) - -CONFIGURATION_BUNDLE_NAME: StaticSchema = (3, n0, _CBN, 0) - -COMPONENT_IDENTIFIER: StaticSchema = (3, n0, _CI, 0) - -COMPONENT_CONFIGURATION: StaticSchema = (18, n0, _CComp, 4, (_con,), ((13, 1),)) - -COMPONENT_CONFIGURATION_MAP: StaticSchema = ( - 17, - n0, - _CCM, - 0, - (_k, _v), - ((COMPONENT_IDENTIFIER, 0), (COMPONENT_CONFIGURATION, 0)), -) - -VERSION_CREATED_BY_SOURCE: StaticSchema = (18, n0, _VCBS, 0, (_n, _a), ((3, 1), (3, 0))) - -CONFIGURATION_BUNDLE_DESCRIPTION: StaticSchema = (3, n0, _CBD, 4) - -KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) - -CREATE_CONFIGURATION_BUNDLE_INPUT: StaticSchema = ( - 18, - n0, - _CCBI, - {_sSI: _cCCBR, _smith: None}, - (_cT, _bN, _d, _com, _bNr, _cM, _cBr, _kKA, _t), - ( - (CLIENT_TOKEN, 2), - (CONFIGURATION_BUNDLE_NAME, 1), - (CONFIGURATION_BUNDLE_DESCRIPTION, 0), - (COMPONENT_CONFIGURATION_MAP, 1), - (BRANCH_NAME, 0), - (3, 0), - (VERSION_CREATED_BY_SOURCE, 0), - (KMS_KEY_ARN, 0), - (TAGS_MAP, 0), - ), -) - -CONFIGURATION_BUNDLE_ARN: StaticSchema = (3, n0, _CBAo, 0) - -CONFIGURATION_BUNDLE_VERSION: StaticSchema = (3, n0, _CBV, 0) - -CREATE_CONFIGURATION_BUNDLE_OUTPUT: StaticSchema = ( - 18, - n0, - _CCBO, - {_sSI: _cCCBRo, _smithy: None}, - (_bA, _bIu, _vI, _cA), - ( - (CONFIGURATION_BUNDLE_ARN, 1), - (CONFIGURATION_BUNDLE_ID, 1), - (CONFIGURATION_BUNDLE_VERSION, 1), - (4, 1), - ), -) - -CREATE_CONFIGURATION_BUNDLE: StaticOperationSchema = ( - 23, - n0, - _CCB, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/configuration-bundles/create", "code": 201} - ) - }, - CREATE_CONFIGURATION_BUNDLE_INPUT, - CREATE_CONFIGURATION_BUNDLE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_CONFIGURATION_BUNDLE_INPUT: StaticSchema = ( - 18, - n0, - _DCBI, - {_sSI: _cDCBR, _smith: None}, - (_bIu,), - ((CONFIGURATION_BUNDLE_ID, 9),), -) - -CONFIGURATION_BUNDLE_STATUS: StaticSchema = ( - 14, - n0, - _CBS, - 0, - (_ACTIVE, _CREATING, _CF, _UPDATING, _UF, _DELETING, _DF), - ( - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - ), -) - -DELETE_CONFIGURATION_BUNDLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DCBO, - {_sSI: _cDCBRo, _smithy: None}, - (_bA, _bIu, _st), - ( - (CONFIGURATION_BUNDLE_ARN, 1), - (CONFIGURATION_BUNDLE_ID, 1), - (CONFIGURATION_BUNDLE_STATUS, 1), - ), -) - -DELETE_CONFIGURATION_BUNDLE: StaticOperationSchema = ( - 23, - n0, - _DCB, - { - _smithya: MappingProxyType( - { - "method": "DELETE", - "uri": "/configuration-bundles/{bundleId}", - "code": 202, - } - ) - }, - DELETE_CONFIGURATION_BUNDLE_INPUT, - DELETE_CONFIGURATION_BUNDLE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_CONFIGURATION_BUNDLE_INPUT: StaticSchema = ( - 18, - n0, - _GCBI, - {_sSI: _cGCBR, _smith: None}, - (_bIu, _bNr), - ((CONFIGURATION_BUNDLE_ID, 9), (BRANCH_NAME, {_sQ: _bNr})), -) - -CONFIGURATION_BUNDLE_VERSION_LIST: StaticSchema = ( - 16, - n0, - _CBVL, - 0, - (_mem,), - ((CONFIGURATION_BUNDLE_VERSION, 0),), -) - -VERSION_LINEAGE_METADATA: StaticSchema = ( - 18, - n0, - _VLM, - 0, - (_pVI, _bNr, _cBr, _cM), - ( - (CONFIGURATION_BUNDLE_VERSION_LIST, 0), - (BRANCH_NAME, 0), - (VERSION_CREATED_BY_SOURCE, 0), - (3, 0), - ), -) - -GET_CONFIGURATION_BUNDLE_OUTPUT: StaticSchema = ( - 18, - n0, - _GCBO, - {_sSI: _cGCBRo, _smithy: None}, - (_bA, _bIu, _bN, _d, _vI, _com, _lM, _cA, _uA, _kKA), - ( - (CONFIGURATION_BUNDLE_ARN, 1), - (CONFIGURATION_BUNDLE_ID, 1), - (CONFIGURATION_BUNDLE_NAME, 1), - (CONFIGURATION_BUNDLE_DESCRIPTION, 0), - (CONFIGURATION_BUNDLE_VERSION, 1), - (COMPONENT_CONFIGURATION_MAP, 1), - (VERSION_LINEAGE_METADATA, 0), - (4, 1), - (4, 1), - (KMS_KEY_ARN, 0), - ), -) - -GET_CONFIGURATION_BUNDLE: StaticOperationSchema = ( - 23, - n0, - _GCB, - { - _smithya: MappingProxyType( - {"method": "GET", "uri": "/configuration-bundles/{bundleId}"} - ) - }, - GET_CONFIGURATION_BUNDLE_INPUT, - GET_CONFIGURATION_BUNDLE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_CONFIGURATION_BUNDLE_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _GCBVI, - {_sSI: _cGCBVR, _smith: None}, - (_bIu, _vI), - ((CONFIGURATION_BUNDLE_ID, 9), (CONFIGURATION_BUNDLE_VERSION, 9)), -) - -GET_CONFIGURATION_BUNDLE_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GCBVO, - {_sSI: _cGCBVRo, _smithy: None}, - (_bA, _bIu, _bN, _d, _vI, _com, _lM, _cA, _vCA, _kKA), - ( - (CONFIGURATION_BUNDLE_ARN, 1), - (CONFIGURATION_BUNDLE_ID, 1), - (CONFIGURATION_BUNDLE_NAME, 1), - (CONFIGURATION_BUNDLE_DESCRIPTION, 0), - (CONFIGURATION_BUNDLE_VERSION, 1), - (COMPONENT_CONFIGURATION_MAP, 1), - (VERSION_LINEAGE_METADATA, 0), - (4, 1), - (4, 1), - (KMS_KEY_ARN, 0), - ), -) - -GET_CONFIGURATION_BUNDLE_VERSION: StaticOperationSchema = ( - 23, - n0, - _GCBV, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/configuration-bundles/{bundleId}/versions/{versionId}", - } - ) - }, - GET_CONFIGURATION_BUNDLE_VERSION_INPUT, - GET_CONFIGURATION_BUNDLE_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_CONFIGURATION_BUNDLES_INPUT: StaticSchema = ( - 18, - n0, - _LCBI, - {_sSI: _cLCBR, _smith: None}, - (_nT, _mR), - ((3, {_sQ: _nT}), (7, {_sQ: _mR})), -) - -CONFIGURATION_BUNDLE_SUMMARY: StaticSchema = ( - 18, - n0, - _CBSo, - 0, - (_bA, _bIu, _bN, _d, _cA), - ( - (CONFIGURATION_BUNDLE_ARN, 1), - (CONFIGURATION_BUNDLE_ID, 1), - (CONFIGURATION_BUNDLE_NAME, 1), - (CONFIGURATION_BUNDLE_DESCRIPTION, 0), - (4, 0), - ), -) - -CONFIGURATION_BUNDLE_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CBSL, - 0, - (_mem,), - ((CONFIGURATION_BUNDLE_SUMMARY, 0),), -) - -LIST_CONFIGURATION_BUNDLES_OUTPUT: StaticSchema = ( - 18, - n0, - _LCBO, - {_sSI: _cLCBRo, _smithy: None}, - (_bun, _nT), - ((CONFIGURATION_BUNDLE_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_CONFIGURATION_BUNDLES: StaticOperationSchema = ( - 23, - n0, - _LCB, - {_smithya: MappingProxyType({"method": "POST", "uri": "/configuration-bundles"})}, - LIST_CONFIGURATION_BUNDLES_INPUT, - LIST_CONFIGURATION_BUNDLES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -VERSION_FILTER: StaticSchema = ( - 18, - n0, - _VF, - 0, - (_bNr, _cBN, _lPB), - ((BRANCH_NAME, 0), (3, 0), (2, 0)), -) - -LIST_CONFIGURATION_BUNDLE_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LCBVI, - {_sSI: _cLCBVR, _smith: None}, - (_bIu, _nT, _mR, _fi), - ( - (CONFIGURATION_BUNDLE_ID, 9), - (3, {_sQ: _nT}), - (7, {_sQ: _mR}), - (VERSION_FILTER, 0), - ), -) - -CONFIGURATION_BUNDLE_VERSION_SUMMARY: StaticSchema = ( - 18, - n0, - _CBVS, - 0, - (_bA, _bIu, _vI, _lM, _vCA), - ( - (CONFIGURATION_BUNDLE_ARN, 1), - (CONFIGURATION_BUNDLE_ID, 1), - (CONFIGURATION_BUNDLE_VERSION, 1), - (VERSION_LINEAGE_METADATA, 0), - (4, 1), - ), -) - -CONFIGURATION_BUNDLE_VERSION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CBVSL, - 0, - (_mem,), - ((CONFIGURATION_BUNDLE_VERSION_SUMMARY, 0),), -) - -LIST_CONFIGURATION_BUNDLE_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCBVO, - {_sSI: _cLCBVRo, _smithy: None}, - (_ver, _nT), - ((CONFIGURATION_BUNDLE_VERSION_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_CONFIGURATION_BUNDLE_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LCBV, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/configuration-bundles/{bundleId}/versions"} - ) - }, - LIST_CONFIGURATION_BUNDLE_VERSIONS_INPUT, - LIST_CONFIGURATION_BUNDLE_VERSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_CONFIGURATION_BUNDLE_INPUT: StaticSchema = ( - 18, - n0, - _UCBI, - {_sSI: _cUCBR, _smith: None}, - (_cT, _bIu, _bN, _d, _com, _pVI, _bNr, _cM, _cBr, _kKA), - ( - (CLIENT_TOKEN, 2), - (CONFIGURATION_BUNDLE_ID, 9), - (CONFIGURATION_BUNDLE_NAME, 0), - (CONFIGURATION_BUNDLE_DESCRIPTION, 0), - (COMPONENT_CONFIGURATION_MAP, 0), - (CONFIGURATION_BUNDLE_VERSION_LIST, 1), - (BRANCH_NAME, 0), - (3, 1), - (VERSION_CREATED_BY_SOURCE, 0), - (KMS_KEY_ARN, 0), - ), -) - -UPDATE_CONFIGURATION_BUNDLE_OUTPUT: StaticSchema = ( - 18, - n0, - _UCBO, - {_sSI: _cUCBRo, _smithy: None}, - (_bA, _bIu, _vI, _uA), - ( - (CONFIGURATION_BUNDLE_ARN, 1), - (CONFIGURATION_BUNDLE_ID, 1), - (CONFIGURATION_BUNDLE_VERSION, 1), - (4, 1), - ), -) - -UPDATE_CONFIGURATION_BUNDLE: StaticOperationSchema = ( - 23, - n0, - _UCB, - { - _smithya: MappingProxyType( - {"method": "PUT", "uri": "/configuration-bundles/{bundleId}"} - ) - }, - UPDATE_CONFIGURATION_BUNDLE_INPUT, - UPDATE_CONFIGURATION_BUNDLE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONSENT_PORTAL_ARN_TYPE: StaticSchema = (3, n0, _CPAT, 0) - -CONSENT_PORTAL_DESCRIPTION_TYPE: StaticSchema = (3, n0, _CPDT, 0) - -CONSENT_PORTAL_IDENTIFIER: StaticSchema = (3, n0, _CPIo, 0) - -O_AUTH2_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _OACPA, 0) - -CONSENT_PORTAL_IDP_CONFIG: StaticSchema = ( - 18, - n0, - _CPIC, - 0, - (_cPAr, _sco, _au), - ( - (O_AUTH2_CREDENTIAL_PROVIDER_ARN, 1), - (ALLOWED_SCOPES_TYPE, 1), - (ALLOWED_AUDIENCE_TYPE, 0), - ), -) - -CONSENT_PORTAL_NAME_TYPE: StaticSchema = (3, n0, _CPNT, 0) - -CONSENT_PORTAL_SOURCE_IDENTIFIER_TYPE: StaticSchema = (3, n0, _CPSIT, 0) - -CONSENT_PORTAL_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _CPST, - 0, - (_AG,), - ((-1, {_sVm: _ag}),), -) - -CONSENT_PORTAL_SOURCE: StaticSchema = ( - 18, - n0, - _CPSo, - 0, - (_id, _ty), - ((CONSENT_PORTAL_SOURCE_IDENTIFIER_TYPE, 1), (CONSENT_PORTAL_SOURCE_TYPE, 1)), -) - -CONSENT_PORTAL_SOURCES: StaticSchema = ( - 16, - n0, - _CPSon, - 0, - (_mem,), - ((CONSENT_PORTAL_SOURCE, 0),), -) - -CONSENT_PORTAL_STATUS: StaticSchema = ( - 14, - n0, - _CPSons, - 0, - (_CREATING, _ACTIVE, _UPDATING, _UF, _DELETING, _FAILED), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _FAILED}), - ), -) - -EXECUTION_ROLE_ARN_TYPE: StaticSchema = (3, n0, _ERAT, 0) - -CREATE_CONSENT_PORTAL_INPUT: StaticSchema = ( - 18, - n0, - _CCPIr, - {_sSI: _cCCPR, _smith: None}, - (_eRA, _iCd, _n, _sou, _d, _t), - ( - (EXECUTION_ROLE_ARN_TYPE, 1), - (CONSENT_PORTAL_IDP_CONFIG, 1), - (CONSENT_PORTAL_NAME_TYPE, 1), - (CONSENT_PORTAL_SOURCES, 1), - (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), - (TAGS_MAP, 0), - ), -) - -CONSENT_PORTAL_ID_TYPE: StaticSchema = (3, n0, _CPIT, 0) - -PORTAL_URL_TYPE: StaticSchema = (3, n0, _PUT, 0) - -STATUS_REASON_TYPE: StaticSchema = (3, n0, _SRT, 0) - -CREATE_CONSENT_PORTAL_OUTPUT: StaticSchema = ( - 18, - n0, - _CCPOr, - {_sSI: _cCCPRo, _smithy: None}, - (_sou, _cPAo, _cPIo, _cA, _d, _eRA, _iCd, _n, _pU, _st, _sRt, _uA), - ( - (CONSENT_PORTAL_SOURCES, 1), - (CONSENT_PORTAL_ARN_TYPE, 1), - (CONSENT_PORTAL_ID_TYPE, 1), - (4, 1), - (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), - (EXECUTION_ROLE_ARN_TYPE, 1), - (CONSENT_PORTAL_IDP_CONFIG, 1), - (CONSENT_PORTAL_NAME_TYPE, 1), - (PORTAL_URL_TYPE, 0), - (CONSENT_PORTAL_STATUS, 1), - (STATUS_REASON_TYPE, 0), - (4, 1), - ), -) - -CREATE_CONSENT_PORTAL: StaticOperationSchema = ( - 23, - n0, - _CCPr, - { - _smithya: MappingProxyType( - {"code": 202, "uri": "/identities/CreateConsentPortal", "method": "POST"} - ) - }, - CREATE_CONSENT_PORTAL_INPUT, - CREATE_CONSENT_PORTAL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_CONSENT_PORTAL_INPUT: StaticSchema = ( - 18, - n0, - _DCPIe, - {_sSI: _cDCPR, _smith: None}, - (_cPIon,), - ((CONSENT_PORTAL_IDENTIFIER, 1),), -) - -DELETE_CONSENT_PORTAL_OUTPUT: StaticSchema = ( - 18, - n0, - _DCPOe, - {_sSI: _cDCPRo, _smithy: None}, -) - -DELETE_CONSENT_PORTAL: StaticOperationSchema = ( - 23, - n0, - _DCPe, - { - _smithya: MappingProxyType( - {"code": 204, "uri": "/identities/DeleteConsentPortal", "method": "POST"} - ) - }, - DELETE_CONSENT_PORTAL_INPUT, - DELETE_CONSENT_PORTAL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_CONSENT_PORTAL_INPUT: StaticSchema = ( - 18, - n0, - _GCPIe, - {_sSI: _cGCPR, _smith: None}, - (_cPIon,), - ((CONSENT_PORTAL_IDENTIFIER, 1),), -) - -GET_CONSENT_PORTAL_OUTPUT: StaticSchema = ( - 18, - n0, - _GCPOe, - {_sSI: _cGCPRo, _smithy: None}, - (_sou, _cPAo, _cPIo, _cA, _d, _eRA, _iCd, _n, _pU, _st, _sRt, _uA), - ( - (CONSENT_PORTAL_SOURCES, 1), - (CONSENT_PORTAL_ARN_TYPE, 1), - (CONSENT_PORTAL_ID_TYPE, 1), - (4, 1), - (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), - (EXECUTION_ROLE_ARN_TYPE, 1), - (CONSENT_PORTAL_IDP_CONFIG, 1), - (CONSENT_PORTAL_NAME_TYPE, 1), - (PORTAL_URL_TYPE, 0), - (CONSENT_PORTAL_STATUS, 1), - (STATUS_REASON_TYPE, 0), - (4, 1), - ), -) - -GET_CONSENT_PORTAL: StaticOperationSchema = ( - 23, - n0, - _GCPe, - { - _smithya: MappingProxyType( - {"uri": "/identities/GetConsentPortal", "method": "POST"} - ) - }, - GET_CONSENT_PORTAL_INPUT, - GET_CONSENT_PORTAL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_CONSENT_PORTALS_INPUT: StaticSchema = ( - 18, - n0, - _LCPIi, - {_sSI: _cLCPR, _smith: None}, - (_mR, _nT), - ((7, 0), (3, 0)), -) - -CONSENT_PORTAL_SUMMARY: StaticSchema = ( - 18, - n0, - _CPSonse, - 0, - (_sou, _cPAo, _cPIo, _cA, _d, _n, _pU, _st, _uA), - ( - (CONSENT_PORTAL_SOURCES, 1), - (CONSENT_PORTAL_ARN_TYPE, 1), - (CONSENT_PORTAL_ID_TYPE, 1), - (4, 1), - (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), - (CONSENT_PORTAL_NAME_TYPE, 1), - (PORTAL_URL_TYPE, 0), - (CONSENT_PORTAL_STATUS, 1), - (4, 1), - ), -) - -CONSENT_PORTAL_SUMMARIES: StaticSchema = ( - 16, - n0, - _CPSonsen, - 0, - (_mem,), - ((CONSENT_PORTAL_SUMMARY, 0),), -) - -LIST_CONSENT_PORTALS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCPOi, - {_sSI: _cLCPRo, _smithy: None}, - (_cPo, _nT), - ((CONSENT_PORTAL_SUMMARIES, 1), (3, 0)), -) - -LIST_CONSENT_PORTALS: StaticOperationSchema = ( - 23, - n0, - _LCPi, - { - _smithya: MappingProxyType( - {"uri": "/identities/ListConsentPortals", "method": "POST"} - ) - }, - LIST_CONSENT_PORTALS_INPUT, - LIST_CONSENT_PORTALS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_CONSENT_PORTAL_INPUT: StaticSchema = ( - 18, - n0, - _UCPIp, - {_sSI: _cUCPR, _smith: None}, - (_cPIon, _eRA, _iCd, _d), - ( - (CONSENT_PORTAL_IDENTIFIER, 1), - (EXECUTION_ROLE_ARN_TYPE, 0), - (CONSENT_PORTAL_IDP_CONFIG, 0), - (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), - ), -) - -UPDATE_CONSENT_PORTAL_OUTPUT: StaticSchema = ( - 18, - n0, - _UCPOp, - {_sSI: _cUCPRo, _smithy: None}, - (_sou, _cPAo, _cPIo, _cA, _d, _eRA, _iCd, _n, _pU, _st, _sRt, _uA), - ( - (CONSENT_PORTAL_SOURCES, 1), - (CONSENT_PORTAL_ARN_TYPE, 1), - (CONSENT_PORTAL_ID_TYPE, 1), - (4, 1), - (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), - (EXECUTION_ROLE_ARN_TYPE, 1), - (CONSENT_PORTAL_IDP_CONFIG, 1), - (CONSENT_PORTAL_NAME_TYPE, 1), - (PORTAL_URL_TYPE, 0), - (CONSENT_PORTAL_STATUS, 1), - (STATUS_REASON_TYPE, 0), - (4, 1), - ), -) - -UPDATE_CONSENT_PORTAL: StaticOperationSchema = ( - 23, - n0, - _UCPp, - { - _smithya: MappingProxyType( - {"code": 202, "uri": "/identities/UpdateConsentPortal", "method": "POST"} - ) - }, - UPDATE_CONSENT_PORTAL_INPUT, - UPDATE_CONSENT_PORTAL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DATASET_NAME: StaticSchema = (3, n0, _DNa, 0) - -DATASET_SCHEMA_TYPE: StaticSchema = ( - 14, - n0, - _DSTa, - 0, - (_AEPV, _AESV, _TPEV), - ((-1, {_sVm: _AEPV}), (-1, {_sVm: _AESV}), (-1, {_sVm: _TPEV})), -) - -CREATE_DATASET_INPUT: StaticSchema = ( - 18, - n0, - _CDI, - {_sSI: _cCDR, _smith: None}, - (_cT, _dNa, _d, _so, _sTc, _kKA, _t), - ( - (CLIENT_TOKEN, 2), - (DATASET_NAME, 1), - (3, 0), - (DATA_SOURCE_TYPE, 1), - (DATASET_SCHEMA_TYPE, 1), - (KMS_KEY_ARN, 0), - (TAGS_MAP, 0), - ), -) - -CREATE_DATASET_OUTPUT: StaticSchema = ( - 18, - n0, - _CDO, - {_sSI: _cCDRo, _smithy: None}, - (_dA, _dI, _st, _cA), - ((DATASET_ARN, 1), (DATASET_ID, 1), (DATASET_STATUS, 1), (4, 1)), -) - -CREATE_DATASET: StaticOperationSchema = ( - 23, - n0, - _CD, - {_smithya: MappingProxyType({"method": "POST", "uri": "/datasets", "code": 202})}, - CREATE_DATASET_INPUT, - CREATE_DATASET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_DATASET_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CDVI, - {_sSI: _cCDVR, _smith: None}, - (_dI, _cT), - ((DATASET_ID, 9), (CLIENT_TOKEN, 2)), -) - -DATASET_VERSION: StaticSchema = (3, n0, _DV, 0) - -CREATE_DATASET_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CDVO, - {_sSI: _cCDVRo, _smithy: None}, - (_dA, _dI, _st, _dV, _cA), - ( - (DATASET_ARN, 1), - (DATASET_ID, 1), - (DATASET_STATUS, 1), - (DATASET_VERSION, 1), - (4, 1), - ), -) - -CREATE_DATASET_VERSION: StaticOperationSchema = ( - 23, - n0, - _CDV, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/datasets/{datasetId}/versions", "code": 202} - ) - }, - CREATE_DATASET_VERSION_INPUT, - CREATE_DATASET_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_DATASET_INPUT: StaticSchema = ( - 18, - n0, - _DDI, - {_sSI: _cDDR, _smith: None}, - (_dI, _dV), - ((DATASET_ID, 9), (DATASET_VERSION, {_sQ: _dV})), -) - -DELETE_DATASET_OUTPUT: StaticSchema = ( - 18, - n0, - _DDO, - {_sSI: _cDDRo, _smithy: None}, - (_dA, _dI, _st, _dV, _uA), - ( - (DATASET_ARN, 1), - (DATASET_ID, 1), - (DATASET_STATUS, 1), - (DATASET_VERSION, 1), - (4, 1), - ), -) - -DELETE_DATASET: StaticOperationSchema = ( - 23, - n0, - _DD, - { - _smithya: MappingProxyType( - {"method": "DELETE", "uri": "/datasets/{datasetId}", "code": 202} - ) - }, - DELETE_DATASET_INPUT, - DELETE_DATASET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_DATASET_EXAMPLES_INPUT: StaticSchema = ( - 18, - n0, - _DDEI, - {_sSI: _cDDER, _smith: None}, - (_dI, _cT, _eI), - ((DATASET_ID, 9), (CLIENT_TOKEN, 2), (EXAMPLE_ID_LIST, 1)), -) - -DELETE_DATASET_EXAMPLES_OUTPUT: StaticSchema = ( - 18, - n0, - _DDEO, - {_sSI: _cDDERo, _smithy: None}, - (_dA, _dI, _st, _dC, _uA), - ((DATASET_ARN, 1), (DATASET_ID, 1), (DATASET_STATUS, 1), (8, 1), (4, 1)), -) - -DELETE_DATASET_EXAMPLES: StaticOperationSchema = ( - 23, - n0, - _DDE, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/datasets/{datasetId}/examples/delete", - "code": 202, - } - ) - }, - DELETE_DATASET_EXAMPLES_INPUT, - DELETE_DATASET_EXAMPLES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_DATASET_INPUT: StaticSchema = ( - 18, - n0, - _GDI, - {_sSI: _cGDR, _smith: None}, - (_dI, _dV), - ((DATASET_ID, 9), (DATASET_VERSION, {_sQ: _dV})), -) - -DOWNLOAD_URL: StaticSchema = (3, n0, _DUo, 4) - -DRAFT_STATUS: StaticSchema = ( - 14, - n0, - _DSr, - 0, - (_MODIFIED, _UNMODIFIED), - ((-1, {_sVm: _MODIFIED}), (-1, {_sVm: _UNMODIFIED})), -) - -GET_DATASET_OUTPUT: StaticSchema = ( - 18, - n0, - _GDO, - {_sSI: _cGDRo, _smithy: None}, - ( - _dA, - _dI, - _dV, - _dNa, - _d, - _st, - _dS, - _fR, - _sTc, - _kKA, - _eCx, - _dUo, - _dUEA, - _cA, - _uA, - _t, - ), - ( - (DATASET_ARN, 1), - (DATASET_ID, 1), - (DATASET_VERSION, 1), - (DATASET_NAME, 1), - (3, 0), - (DATASET_STATUS, 1), - (DRAFT_STATUS, 0), - (3, 0), - (DATASET_SCHEMA_TYPE, 1), - (KMS_KEY_ARN, 0), - (8, 1), - (DOWNLOAD_URL, 0), - (4, 0), - (4, 1), - (4, 1), - (TAGS_MAP, 0), - ), -) - -GET_DATASET: StaticOperationSchema = ( - 23, - n0, - _GD, - {_smithya: MappingProxyType({"method": "GET", "uri": "/datasets/{datasetId}"})}, - GET_DATASET_INPUT, - GET_DATASET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_DATASET_EXAMPLES_INPUT: StaticSchema = ( - 18, - n0, - _LDEI, - {_sSI: _cLDER, _smith: None}, - (_dI, _dV, _mR, _nT), - ((DATASET_ID, 9), (DATASET_VERSION, {_sQ: _dV}), (7, {_sQ: _mR}), (3, {_sQ: _nT})), -) - -LIST_DATASET_EXAMPLES_OUTPUT: StaticSchema = ( - 18, - n0, - _LDEO, - {_sSI: _cLDERo, _smithy: None}, - (_dA, _dI, _dV, _ex, _nT), - ( - (DATASET_ARN, 1), - (DATASET_ID, 1), - (DATASET_VERSION, 1), - (DATASET_EXAMPLE_LIST, 1), - (3, 0), - ), -) - -LIST_DATASET_EXAMPLES: StaticOperationSchema = ( - 23, - n0, - _LDE, - { - _smithya: MappingProxyType( - {"method": "GET", "uri": "/datasets/{datasetId}/examples"} - ) - }, - LIST_DATASET_EXAMPLES_INPUT, - LIST_DATASET_EXAMPLES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_DATASETS_INPUT: StaticSchema = ( - 18, - n0, - _LDI, - {_sSI: _cLDR, _smith: None}, - (_nT, _mR), - ((3, {_sQ: _nT}), (7, {_sQ: _mR})), -) - -DATASET_SUMMARY: StaticSchema = ( - 18, - n0, - _DSa, - 0, - (_dA, _dI, _dNa, _d, _st, _dS, _sTc, _eCx, _cA, _uA), - ( - (DATASET_ARN, 1), - (DATASET_ID, 1), - (DATASET_NAME, 1), - (3, 0), - (DATASET_STATUS, 1), - (DRAFT_STATUS, 0), - (DATASET_SCHEMA_TYPE, 1), - (8, 1), - (4, 1), - (4, 1), - ), -) - -DATASET_SUMMARY_LIST: StaticSchema = (16, n0, _DSL, 0, (_mem,), ((DATASET_SUMMARY, 0),)) - -LIST_DATASETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDO, - {_sSI: _cLDRo, _smithy: None}, - (_da, _nT), - ((DATASET_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_DATASETS: StaticOperationSchema = ( - 23, - n0, - _LD, - {_smithya: MappingProxyType({"method": "GET", "uri": "/datasets"})}, - LIST_DATASETS_INPUT, - LIST_DATASETS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_DATASET_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LDVI, - {_sSI: _cLDVR, _smith: None}, - (_dI, _nT, _mR), - ((DATASET_ID, 9), (3, {_sQ: _nT}), (7, {_sQ: _mR})), -) - -DATASET_VERSION_SUMMARY: StaticSchema = ( - 18, - n0, - _DVS, - 0, - (_dV, _eCx, _cA), - ((DATASET_VERSION, 1), (8, 1), (4, 1)), -) - -DATASET_VERSION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _DVSL, - 0, - (_mem,), - ((DATASET_VERSION_SUMMARY, 0),), -) - -LIST_DATASET_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDVO, - {_sSI: _cLDVRo, _smithy: None}, - (_ver, _nT), - ((DATASET_VERSION_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_DATASET_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LDV, - { - _smithya: MappingProxyType( - {"method": "GET", "uri": "/datasets/{datasetId}/versions"} - ) - }, - LIST_DATASET_VERSIONS_INPUT, - LIST_DATASET_VERSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_DATASET_INPUT: StaticSchema = ( - 18, - n0, - _UDI, - {_sSI: _cUDR, _smith: None}, - (_dI, _cT, _d), - ((DATASET_ID, 9), (CLIENT_TOKEN, 2), (3, 0)), -) - -UPDATE_DATASET_OUTPUT: StaticSchema = ( - 18, - n0, - _UDO, - {_sSI: _cUDRo, _smithy: None}, - (_dA, _dI, _uA), - ((DATASET_ARN, 1), (DATASET_ID, 1), (4, 1)), -) - -UPDATE_DATASET: StaticOperationSchema = ( - 23, - n0, - _UDp, - { - _smithya: MappingProxyType( - {"method": "PUT", "uri": "/datasets/{datasetId}", "code": 200} - ) - }, - UPDATE_DATASET_INPUT, - UPDATE_DATASET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_DATASET_EXAMPLES_INPUT: StaticSchema = ( - 18, - n0, - _UDEI, - {_sSI: _cUDER, _smith: None}, - (_dI, _cT, _ex), - ((DATASET_ID, 9), (CLIENT_TOKEN, 2), (DATASET_EXAMPLE_LIST, 1)), -) - -UPDATE_DATASET_EXAMPLES_OUTPUT: StaticSchema = ( - 18, - n0, - _UDEO, - {_sSI: _cUDERo, _smithy: None}, - (_dA, _dI, _st, _uC, _uA), - ((DATASET_ARN, 1), (DATASET_ID, 1), (DATASET_STATUS, 1), (8, 1), (4, 1)), -) - -UPDATE_DATASET_EXAMPLES: StaticOperationSchema = ( - 23, - n0, - _UDE, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/datasets/{datasetId}/examples/update", - "code": 202, - } - ) - }, - UPDATE_DATASET_EXAMPLES_INPUT, - UPDATE_DATASET_EXAMPLES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_sSI: _cDRPR, _smith: None}, - (_rAe,), - ((BEDROCK_AGENTCORE_RESOURCE_ARN, 9),), -) - -DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DRPO, - {_sSI: _cDRPRo, _smithy: None}, -) - -DELETE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - { - _smithya: MappingProxyType( - {"code": 204, "method": "DELETE", "uri": "/resourcepolicy/{resourceArn}"} - ) - }, - DELETE_RESOURCE_POLICY_INPUT, - DELETE_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -EVALUATOR_DESCRIPTION: StaticSchema = (3, n0, _ED, 4) - -LAMBDA_ARN: StaticSchema = (3, n0, _LAa, 0) - -LAMBDA_EVALUATOR_CONFIG: StaticSchema = ( - 18, - n0, - _LEC, - 0, - (_lA, _lTIS), - ((LAMBDA_ARN, 1), (7, 0)), -) - -CODE_BASED_EVALUATOR_CONFIG: StaticSchema = ( - 19, - n0, - _CBEC, - 0, - (_lCa,), - ((LAMBDA_EVALUATOR_CONFIG, 0),), -) - -EVALUATOR_ID: StaticSchema = (3, n0, _EIv, 0) - -NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) - -NON_EMPTY_STRING_LIST: StaticSchema = ( - 16, - n0, - _NESL, - 0, - (_mem,), - ((NON_EMPTY_STRING, 0),), -) - -INFERENCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ICn, - 0, - (_mT, _te, _tP, _sSt), - ((7, 0), (9, 0), (9, 0), (NON_EMPTY_STRING_LIST, 0)), -) - -MODEL_ID: StaticSchema = (3, n0, _MI, 0) - -BEDROCK_EVALUATOR_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _BEMC, - 0, - (_mI, _iCn, _aMRF), - ((MODEL_ID, 1), (INFERENCE_CONFIGURATION, 0), (ADDITIONAL_MODEL_REQUEST_FIELDS, 0)), -) - -REASONING_CONFIGURATION: StaticSchema = (18, n0, _RCea, 0, (_ef,), ((3, 0),)) - -OPEN_RESPONSES_EVALUATOR_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _OREMC, - 0, - (_mI, _mOT, _te, _tP, _rea), - ((MODEL_ID, 1), (7, 0), (9, 0), (9, 0), (REASONING_CONFIGURATION, 0)), -) - -EVALUATOR_MODEL_CONFIG: StaticSchema = ( - 19, - n0, - _EMC, - 0, - (_bEMC, _rEMC), - ((BEDROCK_EVALUATOR_MODEL_CONFIG, 0), (OPEN_RESPONSES_EVALUATOR_MODEL_CONFIG, 0)), -) - -DERIVED_EVALUATOR_CONFIG: StaticSchema = ( - 18, - n0, - _DEC, - 0, - (_bEI, _mCo), - ((EVALUATOR_ID, 1), (EVALUATOR_MODEL_CONFIG, 1)), -) - -EVALUATOR_INSTRUCTIONS: StaticSchema = (3, n0, _EIva, 4) - -CATEGORICAL_SCALE_DEFINITION: StaticSchema = ( - 18, - n0, - _CSD, - 0, - (_de, _la), - ((3, 1), (3, 1)), -) - -CATEGORICAL_SCALE_DEFINITIONS: StaticSchema = ( - 16, - n0, - _CSDa, - 0, - (_mem,), - ((CATEGORICAL_SCALE_DEFINITION, 0),), -) - -EVALUATION_DIMENSION_INSTRUCTION: StaticSchema = (3, n0, _EDI, 4) - -EVALUATION_DIMENSION_NAME: StaticSchema = (3, n0, _EDN, 0) - -NUMERICAL_SCALE_DEFINITION: StaticSchema = ( - 18, - n0, - _NSD, - 0, - (_de, _v, _la), - ((3, 1), (10, 1), (3, 1)), -) - -NUMERICAL_SCALE_DEFINITIONS: StaticSchema = ( - 16, - n0, - _NSDu, - 0, - (_mem,), - ((NUMERICAL_SCALE_DEFINITION, 0),), -) - -DIMENSION_RATING_SCALE: StaticSchema = ( - 19, - n0, - _DRS, - 4, - (_nu, _ca), - ((NUMERICAL_SCALE_DEFINITIONS, 0), (CATEGORICAL_SCALE_DEFINITIONS, 0)), -) - -EVALUATION_DIMENSION: StaticSchema = ( - 18, - n0, - _EDv, - 0, - (_dNi, _dIi, _dRS), - ( - (EVALUATION_DIMENSION_NAME, 1), - (EVALUATION_DIMENSION_INSTRUCTION, 1), - (DIMENSION_RATING_SCALE, 1), - ), -) - -EVALUATION_DIMENSIONS: StaticSchema = ( - 16, - n0, - _EDva, - 0, - (_mem,), - ((EVALUATION_DIMENSION, 0),), -) - -RATING_SCALE: StaticSchema = ( - 19, - n0, - _RS, - 4, - (_nu, _ca, _mD), - ( - (NUMERICAL_SCALE_DEFINITIONS, 0), - (CATEGORICAL_SCALE_DEFINITIONS, 0), - (EVALUATION_DIMENSIONS, 0), - ), -) - -LLM_AS_A_JUDGE_EVALUATOR_CONFIG: StaticSchema = ( - 18, - n0, - _LAAJEC, - 0, - (_in, _rS, _mCo), - ((EVALUATOR_INSTRUCTIONS, 1), (RATING_SCALE, 1), (EVALUATOR_MODEL_CONFIG, 1)), -) - -EVALUATOR_CONFIG: StaticSchema = ( - 19, - n0, - _ECv, - 0, - (_lAAJ, _cBo, _der), - ( - (LLM_AS_A_JUDGE_EVALUATOR_CONFIG, 0), - (CODE_BASED_EVALUATOR_CONFIG, 0), - (DERIVED_EVALUATOR_CONFIG, 0), - ), -) - -CUSTOM_EVALUATOR_NAME: StaticSchema = (3, n0, _CEN, 0) - -EVALUATOR_LEVEL: StaticSchema = ( - 14, - n0, - _EL, - 0, - (_TC, _TRACE, _SESSION), - ((-1, {_sVm: _TC}), (-1, {_sVm: _TRACE}), (-1, {_sVm: _SESSION})), -) - -CREATE_EVALUATOR_INPUT: StaticSchema = ( - 18, - n0, - _CEI, - {_sSI: _cCER, _smith: None}, - (_cT, _eNv, _d, _eCv, _le, _kKA, _t), - ( - (CLIENT_TOKEN, 2), - (CUSTOM_EVALUATOR_NAME, 1), - (EVALUATOR_DESCRIPTION, 0), - (EVALUATOR_CONFIG, 1), - (EVALUATOR_LEVEL, 1), - (KMS_KEY_ARN, 0), - (TAGS_MAP, 0), - ), -) - -CUSTOM_EVALUATOR_ARN: StaticSchema = (3, n0, _CEA, 0) - -EVALUATOR_STATUS: StaticSchema = ( - 14, - n0, - _ES, - 0, - (_ACTIVE, _CREATING, _CF, _UPDATING, _UF, _DELETING), - ( - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DELETING}), - ), -) - -CREATE_EVALUATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _CEO, - {_sSI: _cCERo, _smithy: None}, - (_eA, _eIv, _cA, _st), - ((CUSTOM_EVALUATOR_ARN, 1), (EVALUATOR_ID, 1), (4, 1), (EVALUATOR_STATUS, 1)), -) - -CREATE_EVALUATOR: StaticOperationSchema = ( - 23, - n0, - _CEr, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/evaluators/create", "code": 202} - ) - }, - CREATE_EVALUATOR_INPUT, - CREATE_EVALUATOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_EVALUATOR_INPUT: StaticSchema = ( - 18, - n0, - _DEI, - {_sSI: _cDER, _smith: None}, - (_eIv,), - ((EVALUATOR_ID, 9),), -) - -EVALUATOR_ARN: StaticSchema = (3, n0, _EA, 0) - -DELETE_EVALUATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _DEO, - {_sSI: _cDERo, _smithy: None}, - (_eA, _eIv, _st), - ((EVALUATOR_ARN, 1), (EVALUATOR_ID, 1), (EVALUATOR_STATUS, 1)), -) - -DELETE_EVALUATOR: StaticOperationSchema = ( - 23, - n0, - _DE, - { - _smithya: MappingProxyType( - {"method": "DELETE", "uri": "/evaluators/{evaluatorId}", "code": 202} - ) - }, - DELETE_EVALUATOR_INPUT, - DELETE_EVALUATOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INCLUDED_DATA: StaticSchema = ( - 14, - n0, - _ID, - 0, - (_AD_, _MO), - ((-1, {_sVm: _AD_}), (-1, {_sVm: _MO})), -) - -GET_EVALUATOR_INPUT: StaticSchema = ( - 18, - n0, - _GEI, - {_sSI: _cGER, _smith: None}, - (_eIv, _iD), - ((EVALUATOR_ID, 9), (INCLUDED_DATA, {_sQ: _iD})), -) - -EVALUATOR_NAME: StaticSchema = (3, n0, _ENv, 0) - -EVALUATOR_TYPE: StaticSchema = ( - 14, - n0, - _ET, - 0, - (_BUILTIN, _TP, _CUSTOM, _CODE, _CD_), - ( - (-1, {_sVm: _B}), - (-1, {_sVm: _TPh}), - (-1, {_sVm: _Cu}), - (-1, {_sVm: _CCu}), - (-1, {_sVm: _CDu}), - ), -) - -PROVIDER: StaticSchema = ( - 14, - n0, - _Pr, - 0, - (_AWS, _DE_, _AE, _CUSTOM), - ((-1, {_sVm: _AWS}), (-1, {_sVm: _DEe}), (-1, {_sVm: _AEu}), (-1, {_sVm: _Cu})), -) - -GET_EVALUATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _GEO, - {_sSI: _cGERo, _smithy: None}, - (_eA, _eIv, _eNv, _d, _eCv, _eT, _pr, _le, _st, _cA, _uA, _lFM, _kKA), - ( - (EVALUATOR_ARN, 1), - (EVALUATOR_ID, 1), - (EVALUATOR_NAME, 1), - (EVALUATOR_DESCRIPTION, 0), - (EVALUATOR_CONFIG, 1), - (EVALUATOR_TYPE, 0), - (PROVIDER, 0), - (EVALUATOR_LEVEL, 1), - (EVALUATOR_STATUS, 1), - (4, 1), - (4, 1), - (2, 0), - (KMS_KEY_ARN, 0), - ), -) - -GET_EVALUATOR: StaticOperationSchema = ( - 23, - n0, - _GE, - {_smithya: MappingProxyType({"method": "GET", "uri": "/evaluators/{evaluatorId}"})}, - GET_EVALUATOR_INPUT, - GET_EVALUATOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_EVALUATORS_INPUT: StaticSchema = ( - 18, - n0, - _LEI, - {_sSI: _cLER, _smith: None}, - (_nT, _mR), - ((3, {_sQ: _nT}), (7, {_sQ: _mR})), -) - -EVALUATOR_SUMMARY: StaticSchema = ( - 18, - n0, - _ESv, - 0, - (_eA, _eIv, _eNv, _d, _eT, _pr, _le, _st, _cA, _uA, _lFM, _kKA), - ( - (EVALUATOR_ARN, 1), - (EVALUATOR_ID, 1), - (EVALUATOR_NAME, 1), - (EVALUATOR_DESCRIPTION, 0), - (EVALUATOR_TYPE, 1), - (PROVIDER, 0), - (EVALUATOR_LEVEL, 0), - (EVALUATOR_STATUS, 1), - (4, 1), - (4, 1), - (2, 0), - (KMS_KEY_ARN, 0), - ), -) - -EVALUATOR_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _ESL, - 0, - (_mem,), - ((EVALUATOR_SUMMARY, 0),), -) - -LIST_EVALUATORS_OUTPUT: StaticSchema = ( - 18, - n0, - _LEO, - {_sSI: _cLERo, _smithy: None}, - (_ev, _nT), - ((EVALUATOR_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_EVALUATORS: StaticOperationSchema = ( - 23, - n0, - _LE, - {_smithya: MappingProxyType({"method": "POST", "uri": "/evaluators"})}, - LIST_EVALUATORS_INPUT, - LIST_EVALUATORS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_EVALUATOR_INPUT: StaticSchema = ( - 18, - n0, - _UEI, - {_sSI: _cUER, _smith: None}, - (_cT, _eIv, _d, _eCv, _le, _kKA), - ( - (CLIENT_TOKEN, 2), - (EVALUATOR_ID, 9), - (EVALUATOR_DESCRIPTION, 0), - (EVALUATOR_CONFIG, 0), - (EVALUATOR_LEVEL, 0), - (KMS_KEY_ARN, 0), - ), -) - -UPDATE_EVALUATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _UEO, - {_sSI: _cUERo, _smithy: None}, - (_eA, _eIv, _uA, _st), - ((EVALUATOR_ARN, 1), (EVALUATOR_ID, 1), (4, 1), (EVALUATOR_STATUS, 1)), -) - -UPDATE_EVALUATOR: StaticOperationSchema = ( - 23, - n0, - _UEp, - { - _smithya: MappingProxyType( - {"method": "PUT", "uri": "/evaluators/{evaluatorId}", "code": 202} - ) - }, - UPDATE_EVALUATOR_INPUT, - UPDATE_EVALUATOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GATEWAY_IDENTIFIER: StaticSchema = (3, n0, _GI, 0) - -GATEWAY_RATE_LIMIT_DESCRIPTION: StaticSchema = (3, n0, _GRLD, 0) - -DIMENSION_KEY: StaticSchema = (3, n0, _DK, 0) - -DIMENSION_KEYS: StaticSchema = (16, n0, _DKi, 0, (_mem,), ((DIMENSION_KEY, 0),)) - -PERIOD: StaticSchema = ( - 14, - n0, - _Pe, - 0, - (_SECOND, _MINUTE), - ((-1, {_sVm: _sec}), (-1, {_sVm: _mi})), -) - -RATE_CONFIG: StaticSchema = (18, n0, _RCa, 0, (_ra, _pe), ((10, 1), (PERIOD, 1))) - -RATE_CONFIGS: StaticSchema = (16, n0, _RCat, 0, (_mem,), ((RATE_CONFIG, 0),)) - -DIMENSION_VALUE: StaticSchema = (3, n0, _DVi, 0) - -DIMENSIONS: StaticSchema = ( - 17, - n0, - _Di, - 0, - (_k, _v), - ((DIMENSION_KEY, 0), (DIMENSION_VALUE, 0)), -) - -LIMIT_ENTRY: StaticSchema = ( - 18, - n0, - _LEi, - 0, - (_di, _req, _tok, _conn), - ((DIMENSIONS, 1), (RATE_CONFIGS, 0), (RATE_CONFIGS, 0), (RATE_CONFIGS, 0)), -) - -LIMIT_ENTRIES: StaticSchema = (16, n0, _LEim, 0, (_mem,), ((LIMIT_ENTRY, 0),)) - -GATEWAY_RATE_LIMIT_ID: StaticSchema = (3, n0, _GRLI, 0) - -BATCH_PUT_LIMIT_ENTRY: StaticSchema = ( - 18, - n0, - _BPLE, - 0, - (_rLI, _d, _dK, _ent), - ( - (GATEWAY_RATE_LIMIT_ID, 0), - (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), - (DIMENSION_KEYS, 1), - (LIMIT_ENTRIES, 1), - ), -) - -BATCH_PUT_LIMIT_ENTRIES: StaticSchema = ( - 16, - n0, - _BPLEa, - 0, - (_mem,), - ((BATCH_PUT_LIMIT_ENTRY, 0),), -) - -BATCH_PUT_GATEWAY_RATE_LIMITS_INPUT: StaticSchema = ( - 18, - n0, - _BPGRLI, - {_sSI: _cBPGRLR, _smith: None}, - (_gI, _cT, _rL), - ((GATEWAY_IDENTIFIER, 9), (CLIENT_TOKEN, 2), (BATCH_PUT_LIMIT_ENTRIES, 1)), -) - -GATEWAY_RATE_LIMIT_STATUS: StaticSchema = ( - 14, - n0, - _GRLS, - 0, - (_CREATING, _ACTIVE, _UPDATING, _DELETING), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _DELETING}), - ), -) - -GATEWAY_RATE_LIMIT_DETAIL: StaticSchema = ( - 18, - n0, - _GRLDa, - 0, - (_rLI, _gI, _d, _dK, _ent, _st, _cA, _uA), - ( - (GATEWAY_RATE_LIMIT_ID, 1), - (GATEWAY_IDENTIFIER, 1), - (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), - (DIMENSION_KEYS, 1), - (LIMIT_ENTRIES, 1), - (GATEWAY_RATE_LIMIT_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -GATEWAY_RATE_LIMITS: StaticSchema = ( - 16, - n0, - _GRL, - 0, - (_mem,), - ((GATEWAY_RATE_LIMIT_DETAIL, 0),), -) - -BATCH_PUT_GATEWAY_RATE_LIMITS_OUTPUT: StaticSchema = ( - 18, - n0, - _BPGRLO, - {_sSI: _cBPGRLRo, _smithy: None}, - (_rL,), - ((GATEWAY_RATE_LIMITS, 1),), -) - -BATCH_PUT_GATEWAY_RATE_LIMITS: StaticOperationSchema = ( - 23, - n0, - _BPGRL, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/gateways/{gatewayIdentifier}/rate-limits/batch", - } - ) - }, - BATCH_PUT_GATEWAY_RATE_LIMITS_INPUT, - BATCH_PUT_GATEWAY_RATE_LIMITS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_GATEWAY_RATE_LIMIT_INPUT: StaticSchema = ( - 18, - n0, - _CGRLI, - {_sSI: _cCGRLR, _smith: None}, - (_gI, _cT, _rLI, _d, _dK, _ent), - ( - (GATEWAY_IDENTIFIER, 9), - (CLIENT_TOKEN, 2), - (GATEWAY_RATE_LIMIT_ID, 0), - (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), - (DIMENSION_KEYS, 1), - (LIMIT_ENTRIES, 1), - ), -) - -CREATE_GATEWAY_RATE_LIMIT_OUTPUT: StaticSchema = ( - 18, - n0, - _CGRLO, - {_sSI: _cCGRLRo, _smithy: None}, - (_rLI, _gI, _d, _dK, _ent, _st, _cA, _uA), - ( - (GATEWAY_RATE_LIMIT_ID, 1), - (GATEWAY_IDENTIFIER, 1), - (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), - (DIMENSION_KEYS, 1), - (LIMIT_ENTRIES, 1), - (GATEWAY_RATE_LIMIT_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -CREATE_GATEWAY_RATE_LIMIT: StaticOperationSchema = ( - 23, - n0, - _CGRL, - { - _smithya: MappingProxyType( - { - "code": 201, - "method": "POST", - "uri": "/gateways/{gatewayIdentifier}/rate-limits", - } - ) - }, - CREATE_GATEWAY_RATE_LIMIT_INPUT, - CREATE_GATEWAY_RATE_LIMIT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_GATEWAY_RATE_LIMIT_INPUT: StaticSchema = ( - 18, - n0, - _DGRLI, - {_sSI: _cDGRLR, _smith: None}, - (_gI, _rLI), - ((GATEWAY_IDENTIFIER, 9), (GATEWAY_RATE_LIMIT_ID, 9)), -) - -DELETE_GATEWAY_RATE_LIMIT_OUTPUT: StaticSchema = ( - 18, - n0, - _DGRLO, - {_sSI: _cDGRLRo, _smithy: None}, - (_rLI, _st), - ((GATEWAY_RATE_LIMIT_ID, 1), (GATEWAY_RATE_LIMIT_STATUS, 1)), -) - -DELETE_GATEWAY_RATE_LIMIT: StaticOperationSchema = ( - 23, - n0, - _DGRL, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/gateways/{gatewayIdentifier}/rate-limits/{rateLimitId}", - } - ) - }, - DELETE_GATEWAY_RATE_LIMIT_INPUT, - DELETE_GATEWAY_RATE_LIMIT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_GATEWAY_RATE_LIMIT_INPUT: StaticSchema = ( - 18, - n0, - _GGRLI, - {_sSI: _cGGRLR, _smith: None}, - (_gI, _rLI), - ((GATEWAY_IDENTIFIER, 9), (GATEWAY_RATE_LIMIT_ID, 9)), -) - -GET_GATEWAY_RATE_LIMIT_OUTPUT: StaticSchema = ( - 18, - n0, - _GGRLO, - {_sSI: _cGGRLRo, _smithy: None}, - (_rLI, _gI, _d, _dK, _ent, _st, _cA, _uA), - ( - (GATEWAY_RATE_LIMIT_ID, 1), - (GATEWAY_IDENTIFIER, 1), - (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), - (DIMENSION_KEYS, 1), - (LIMIT_ENTRIES, 1), - (GATEWAY_RATE_LIMIT_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -GET_GATEWAY_RATE_LIMIT: StaticOperationSchema = ( - 23, - n0, - _GGRL, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/gateways/{gatewayIdentifier}/rate-limits/{rateLimitId}", - } - ) - }, - GET_GATEWAY_RATE_LIMIT_INPUT, - GET_GATEWAY_RATE_LIMIT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GATEWAY_RATE_LIMIT_MAX_RESULTS: StaticSchema = (7, n0, _GRLMR, 0) - -GATEWAY_RATE_LIMIT_NEXT_TOKEN: StaticSchema = (3, n0, _GRLNT, 0) - -LIST_GATEWAY_RATE_LIMITS_INPUT: StaticSchema = ( - 18, - n0, - _LGRLI, - {_sSI: _cLGRLR, _smith: None}, - (_gI, _mR, _nT), - ( - (GATEWAY_IDENTIFIER, 9), - (GATEWAY_RATE_LIMIT_MAX_RESULTS, {_sQ: _mR}), - (GATEWAY_RATE_LIMIT_NEXT_TOKEN, {_sQ: _nT}), - ), -) - -LIST_GATEWAY_RATE_LIMITS_OUTPUT: StaticSchema = ( - 18, - n0, - _LGRLO, - {_sSI: _cLGRLRo, _smithy: None}, - (_rL, _nT), - ((GATEWAY_RATE_LIMITS, 1), (GATEWAY_RATE_LIMIT_NEXT_TOKEN, 0)), -) - -LIST_GATEWAY_RATE_LIMITS: StaticOperationSchema = ( - 23, - n0, - _LGRL, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/gateways/{gatewayIdentifier}/rate-limits", - } - ) - }, - LIST_GATEWAY_RATE_LIMITS_INPUT, - LIST_GATEWAY_RATE_LIMITS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_GATEWAY_RATE_LIMIT_INPUT: StaticSchema = ( - 18, - n0, - _UGRLI, - {_sSI: _cUGRLR, _smith: None}, - (_gI, _rLI, _d, _ent), - ( - (GATEWAY_IDENTIFIER, 9), - (GATEWAY_RATE_LIMIT_ID, 9), - (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), - (LIMIT_ENTRIES, 1), - ), -) - -UPDATE_GATEWAY_RATE_LIMIT_OUTPUT: StaticSchema = ( - 18, - n0, - _UGRLO, - {_sSI: _cUGRLRo, _smithy: None}, - (_rLI, _gI, _d, _dK, _ent, _st, _cA, _uA), - ( - (GATEWAY_RATE_LIMIT_ID, 1), - (GATEWAY_IDENTIFIER, 1), - (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), - (DIMENSION_KEYS, 1), - (LIMIT_ENTRIES, 1), - (GATEWAY_RATE_LIMIT_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -UPDATE_GATEWAY_RATE_LIMIT: StaticOperationSchema = ( - 23, - n0, - _UGRL, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "PATCH", - "uri": "/gateways/{gatewayIdentifier}/rate-limits/{rateLimitId}", - } - ) - }, - UPDATE_GATEWAY_RATE_LIMIT_INPUT, - UPDATE_GATEWAY_RATE_LIMIT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUTHORIZER_TYPE: StaticSchema = ( - 14, - n0, - _AT, - 0, - (_CJ, _AI, _NONE, _AO), - ((-1, {_sVm: _CJ}), (-1, {_sVm: _AI}), (-1, {_sVm: _NONE}), (-1, {_sVm: _AO})), -) - -GATEWAY_DESCRIPTION: StaticSchema = (3, n0, _GDa, 4) - -PUBLIC_DOMAIN_NAME: StaticSchema = (3, n0, _PDN, 0) - -PUBLIC_DOMAIN_NAME_LIST: StaticSchema = ( - 16, - n0, - _PDNL, - 0, - (_mem,), - ((PUBLIC_DOMAIN_NAME, 0),), -) - -DOMAIN_OVERRIDE: StaticSchema = ( - 18, - n0, - _DO, - 0, - (_dD, _aD), - ((PUBLIC_DOMAIN_NAME, {_sN: _def, _sm: None}), (PUBLIC_DOMAIN_NAME_LIST, 0)), -) - -EXCEPTION_LEVEL: StaticSchema = (14, n0, _ELx, 0, (_DEBUG,), ((-1, {_sVm: _DEBUG}),)) - -INTERCEPTOR_PAYLOAD_EXCLUSION: StaticSchema = ( - 14, - n0, - _IPE, - 0, - (_RB,), - ((-1, {_sVm: _RB}),), -) - -INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR: StaticSchema = ( - 19, - n0, - _IPES, - 0, - (_fie,), - ((INTERCEPTOR_PAYLOAD_EXCLUSION, 0),), -) - -INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR_LIST: StaticSchema = ( - 16, - n0, - _IPESL, - 0, - (_mem,), - ((INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR, 0),), -) - -INTERCEPTOR_PAYLOAD_FILTER: StaticSchema = ( - 18, - n0, - _IPF, - 0, - (_exc,), - ((INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR_LIST, 1),), -) - -INTERCEPTOR_INPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IIC, - 0, - (_pRH, _pF), - ((2, 1), (INTERCEPTOR_PAYLOAD_FILTER, 0)), -) - -GATEWAY_INTERCEPTION_POINT: StaticSchema = ( - 14, - n0, - _GIP, - 0, - (_REQUEST, _RESPONSE), - ((-1, {_sVm: _REQUEST}), (-1, {_sVm: _RESPONSE})), -) - -GATEWAY_INTERCEPTION_POINTS: StaticSchema = ( - 16, - n0, - _GIPa, - 0, - (_mem,), - ((GATEWAY_INTERCEPTION_POINT, 0),), -) - -LAMBDA_FUNCTION_ARN: StaticSchema = (3, n0, _LFA, 0) - -LAMBDA_INTERCEPTOR_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LIC, - 0, - (_a,), - ((LAMBDA_FUNCTION_ARN, 1),), -) - -INTERCEPTOR_CONFIGURATION: StaticSchema = ( - 19, - n0, - _ICnt, - 0, - (_lam,), - ((LAMBDA_INTERCEPTOR_CONFIGURATION, 0),), -) - -GATEWAY_INTERCEPTOR_CONFIGURATION: StaticSchema = ( - 18, - n0, - _GIC, - 0, - (_int, _iP, _iCnp), - ( - (INTERCEPTOR_CONFIGURATION, 1), - (GATEWAY_INTERCEPTION_POINTS, 1), - (INTERCEPTOR_INPUT_CONFIGURATION, 0), - ), -) - -GATEWAY_INTERCEPTOR_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _GICa, - 0, - (_mem,), - ((GATEWAY_INTERCEPTOR_CONFIGURATION, 0),), -) - -GATEWAY_NAME: StaticSchema = (3, n0, _GN, 0) - -GATEWAY_POLICY_ENGINE_ARN: StaticSchema = (3, n0, _GPEA, 0) - -GATEWAY_POLICY_ENGINE_MODE: StaticSchema = ( - 14, - n0, - _GPEM, - 0, - (_LO, _ENFORCE), - ((-1, {_sVm: _LO}), (-1, {_sVm: _ENFORCE})), -) - -GATEWAY_POLICY_ENGINE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _GPEC, - 0, - (_a, _mo), - ((GATEWAY_POLICY_ENGINE_ARN, 1), (GATEWAY_POLICY_ENGINE_MODE, 1)), -) - -MCP_INSTRUCTIONS: StaticSchema = (3, n0, _MIc, 4) - -SEARCH_TYPE: StaticSchema = (14, n0, _STe, 0, (_SEMANTIC,), ((-1, {_sVm: _SEMANTIC}),)) - -SESSION_CONFIGURATION: StaticSchema = (18, n0, _SCe, 0, (_sTIS,), ((7, 0),)) - -STREAMING_CONFIGURATION: StaticSchema = (18, n0, _SCt, 0, (_eRS,), ((2, 0),)) - -MCP_VERSION: StaticSchema = (3, n0, _MV, {_smi: _v__}) - -MCP_SUPPORTED_VERSIONS: StaticSchema = (16, n0, _MSV, 0, (_mem,), ((MCP_VERSION, 0),)) - -MCP_GATEWAY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MCPGC, - 0, - (_sVu, _in, _sTe, _sCe, _sCtr, _dMLTP), - ( - (MCP_SUPPORTED_VERSIONS, 0), - (MCP_INSTRUCTIONS, 0), - (SEARCH_TYPE, 0), - (SESSION_CONFIGURATION, 0), - (STREAMING_CONFIGURATION, 0), - (2, 0), - ), -) - -GATEWAY_PROTOCOL_CONFIGURATION: StaticSchema = ( - 19, - n0, - _GPC, - 0, - (_mc,), - ((MCP_GATEWAY_CONFIGURATION, 0),), -) - -GATEWAY_PROTOCOL_TYPE: StaticSchema = (14, n0, _GPT, 0, (_MCP,), ((-1, {_sVm: _MCP}),)) - -CREATE_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _CGI, - {_sSI: _cCGR, _smith: None}, - (_n, _d, _cT, _rA, _pTr, _pC, _aT, _aCu, _kKA, _iCnt, _pEC, _eL, _t, _dO), - ( - (GATEWAY_NAME, 1), - (GATEWAY_DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - (ROLE_ARN, 1), - (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), - (GATEWAY_PROTOCOL_CONFIGURATION, 0), - (AUTHORIZER_TYPE, 1), - (AUTHORIZER_CONFIGURATION, 0), - (KMS_KEY_ARN, 0), - (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), - (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), - (EXCEPTION_LEVEL, 0), - (TAGS_MAP, 0), - (DOMAIN_OVERRIDE, 0), - ), -) - -LAMBDA_TRANSFORM_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LTC, - 0, - (_a,), - ((LAMBDA_FUNCTION_ARN, 0),), -) - -CUSTOM_TRANSFORM_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CTC, - 0, - (_lam,), - ((LAMBDA_TRANSFORM_CONFIGURATION, 0),), -) - -GATEWAY_ARN: StaticSchema = (3, n0, _GA, 0) - -GATEWAY_ID: StaticSchema = (3, n0, _GIa, 0) - -GATEWAY_URL: StaticSchema = (3, n0, _GU, 0) - -GATEWAY_STATUS: StaticSchema = ( - 14, - n0, - _GS, - 0, - (_CREATING, _UPDATING, _UU, _DELETING, _READY, _FAILED), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UU}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _FAILED}), - ), -) - -STATUS_REASON: StaticSchema = (3, n0, _SRt, 0) - -STATUS_REASONS: StaticSchema = (16, n0, _SRta, 0, (_mem,), ((STATUS_REASON, 0),)) - -WAF_FAILURE_MODE: StaticSchema = ( - 14, - n0, - _WFM, - 0, - (_FC_, _FO), - ((-1, {_sVm: _FC_}), (-1, {_sVm: _FO})), -) - -WAF_CONFIGURATION: StaticSchema = (18, n0, _WC, 0, (_fM,), ((WAF_FAILURE_MODE, 0),)) - -WEB_ACL_ARN: StaticSchema = (3, n0, _WAA, 0) - -CREATE_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _CGO, - {_sSI: _cCGRo, _smithy: None}, - ( - _gA, - _gIa, - _gU, - _cA, - _uA, - _st, - _sRta, - _n, - _d, - _rA, - _pTr, - _pC, - _aT, - _aCu, - _kKA, - _cTC, - _iCnt, - _pEC, - _wID, - _eL, - _wAA, - _wC, - _dO, - ), - ( - (GATEWAY_ARN, 1), - (GATEWAY_ID, 1), - (GATEWAY_URL, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (GATEWAY_STATUS, 1), - (STATUS_REASONS, 0), - (GATEWAY_NAME, 1), - (GATEWAY_DESCRIPTION, 0), - (ROLE_ARN, 0), - (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), - (GATEWAY_PROTOCOL_CONFIGURATION, 0), - (AUTHORIZER_TYPE, 1), - (AUTHORIZER_CONFIGURATION, 0), - (KMS_KEY_ARN, 0), - (CUSTOM_TRANSFORM_CONFIGURATION, 0), - (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), - (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), - (WORKLOAD_IDENTITY_DETAILS, 0), - (EXCEPTION_LEVEL, 0), - (WEB_ACL_ARN, 0), - (WAF_CONFIGURATION, 0), - (DOMAIN_OVERRIDE, 0), - ), -) - -CREATE_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _CG, - {_smithya: MappingProxyType({"code": 202, "method": "POST", "uri": "/gateways/"})}, - CREATE_GATEWAY_INPUT, - CREATE_GATEWAY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DGI, - {_sSI: _cDGR, _smith: None}, - (_gI,), - ((GATEWAY_IDENTIFIER, 9),), -) - -DELETE_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _DGO, - {_sSI: _cDGRo, _smithy: None}, - (_gIa, _st, _sRta), - ((GATEWAY_ID, 1), (GATEWAY_STATUS, 1), (STATUS_REASONS, 0)), -) - -DELETE_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DG, - { - _smithya: MappingProxyType( - {"code": 202, "method": "DELETE", "uri": "/gateways/{gatewayIdentifier}/"} - ) - }, - DELETE_GATEWAY_INPUT, - DELETE_GATEWAY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _GGI, - {_sSI: _cGGR, _smith: None}, - (_gI,), - ((GATEWAY_IDENTIFIER, 9),), -) - -GET_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _GGO, - {_sSI: _cGGRo, _smithy: None}, - ( - _gA, - _gIa, - _gU, - _cA, - _uA, - _st, - _sRta, - _n, - _d, - _rA, - _pTr, - _pC, - _aT, - _aCu, - _kKA, - _cTC, - _iCnt, - _pEC, - _wID, - _eL, - _wAA, - _wC, - _dO, - ), - ( - (GATEWAY_ARN, 1), - (GATEWAY_ID, 1), - (GATEWAY_URL, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (GATEWAY_STATUS, 1), - (STATUS_REASONS, 0), - (GATEWAY_NAME, 1), - (GATEWAY_DESCRIPTION, 0), - (ROLE_ARN, 0), - (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), - (GATEWAY_PROTOCOL_CONFIGURATION, 0), - (AUTHORIZER_TYPE, 1), - (AUTHORIZER_CONFIGURATION, 0), - (KMS_KEY_ARN, 0), - (CUSTOM_TRANSFORM_CONFIGURATION, 0), - (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), - (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), - (WORKLOAD_IDENTITY_DETAILS, 0), - (EXCEPTION_LEVEL, 0), - (WEB_ACL_ARN, 0), - (WAF_CONFIGURATION, 0), - (DOMAIN_OVERRIDE, 0), - ), -) - -GET_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _GG, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/gateways/{gatewayIdentifier}/"} - ) - }, - GET_GATEWAY_INPUT, - GET_GATEWAY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GATEWAY_MAX_RESULTS: StaticSchema = (7, n0, _GMR, 0) - -GATEWAY_NEXT_TOKEN: StaticSchema = (3, n0, _GNT, 0) - -LIST_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _LGI, - {_sSI: _cLGR, _smith: None}, - (_mR, _nT), - ((GATEWAY_MAX_RESULTS, {_sQ: _mR}), (GATEWAY_NEXT_TOKEN, {_sQ: _nT})), -) - -GATEWAY_SUMMARY: StaticSchema = ( - 18, - n0, - _GSa, - 0, - (_gIa, _n, _st, _d, _cA, _uA, _aT, _pTr), - ( - (GATEWAY_ID, 1), - (GATEWAY_NAME, 1), - (GATEWAY_STATUS, 1), - (GATEWAY_DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (AUTHORIZER_TYPE, 1), - (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), - ), -) - -GATEWAY_SUMMARIES: StaticSchema = (16, n0, _GSat, 0, (_mem,), ((GATEWAY_SUMMARY, 0),)) - -LIST_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _LGO, - {_sSI: _cLGRo, _smithy: None}, - (_it, _nT), - ((GATEWAY_SUMMARIES, 1), (GATEWAY_NEXT_TOKEN, 0)), -) - -LIST_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _LG, - {_smithya: MappingProxyType({"code": 200, "method": "GET", "uri": "/gateways/"})}, - LIST_GATEWAYS_INPUT, - LIST_GATEWAYS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _UGI, - {_sSI: _cUGR, _smith: None}, - (_gI, _n, _d, _rA, _pTr, _pC, _aT, _aCu, _kKA, _cTC, _iCnt, _pEC, _eL, _wC, _dO), - ( - (GATEWAY_IDENTIFIER, 9), - (GATEWAY_NAME, 1), - (GATEWAY_DESCRIPTION, 0), - (ROLE_ARN, 1), - (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), - (GATEWAY_PROTOCOL_CONFIGURATION, 0), - (AUTHORIZER_TYPE, 1), - (AUTHORIZER_CONFIGURATION, 0), - (KMS_KEY_ARN, 0), - (CUSTOM_TRANSFORM_CONFIGURATION, 0), - (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), - (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), - (EXCEPTION_LEVEL, 0), - (WAF_CONFIGURATION, 0), - (DOMAIN_OVERRIDE, 0), - ), -) - -UPDATE_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _UGO, - {_sSI: _cUGRo, _smithy: None}, - ( - _gA, - _gIa, - _gU, - _cA, - _uA, - _st, - _sRta, - _n, - _d, - _rA, - _pTr, - _pC, - _aT, - _aCu, - _kKA, - _cTC, - _iCnt, - _pEC, - _wID, - _eL, - _wAA, - _wC, - _dO, - ), - ( - (GATEWAY_ARN, 1), - (GATEWAY_ID, 1), - (GATEWAY_URL, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (GATEWAY_STATUS, 1), - (STATUS_REASONS, 0), - (GATEWAY_NAME, 1), - (GATEWAY_DESCRIPTION, 0), - (ROLE_ARN, 0), - (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), - (GATEWAY_PROTOCOL_CONFIGURATION, 0), - (AUTHORIZER_TYPE, 1), - (AUTHORIZER_CONFIGURATION, 0), - (KMS_KEY_ARN, 0), - (CUSTOM_TRANSFORM_CONFIGURATION, 0), - (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), - (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), - (WORKLOAD_IDENTITY_DETAILS, 0), - (EXCEPTION_LEVEL, 0), - (WEB_ACL_ARN, 0), - (WAF_CONFIGURATION, 0), - (DOMAIN_OVERRIDE, 0), - ), -) - -UPDATE_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _UG, - { - _smithya: MappingProxyType( - {"code": 202, "method": "PUT", "uri": "/gateways/{gatewayIdentifier}/"} - ) - }, - UPDATE_GATEWAY_INPUT, - UPDATE_GATEWAY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MATCH_OPERATOR: StaticSchema = ( - 14, - n0, - _MOa, - 0, - (_SE, _SLt), - ((-1, {_sVm: _SE}), (-1, {_sVm: _SLt})), -) - -MODEL_PATTERN: StaticSchema = (3, n0, _MPo, 0) - -MATCH_MODEL_ENTRY: StaticSchema = ( - 18, - n0, - _MME, - 0, - (_v, _op), - ((MODEL_PATTERN, 1), (MATCH_OPERATOR, {_smi: _SLt})), -) - -MATCH_MODEL_ENTRIES: StaticSchema = ( - 16, - n0, - _MMEa, - 0, - (_mem,), - ((MATCH_MODEL_ENTRY, 0),), -) - -MATCH_MODELS: StaticSchema = (18, n0, _MMa, 0, (_aO,), ((MATCH_MODEL_ENTRIES, 1),)) - -MATCH_PATH_PATTERN: StaticSchema = (3, n0, _MPP, 0) - -MATCH_PATH_PATTERNS: StaticSchema = ( - 16, - n0, - _MPPa, - 0, - (_mem,), - ((MATCH_PATH_PATTERN, 0),), -) - -MATCH_PATHS: StaticSchema = (18, n0, _MPa, 0, (_aO,), ((MATCH_PATH_PATTERNS, 1),)) - -IAM_PRINCIPAL_ARN: StaticSchema = (3, n0, _IPAa, 0) - -PRINCIPAL_MATCH_OPERATOR: StaticSchema = ( - 14, - n0, - _PMO, - 0, - (_SE, _SLt), - ((-1, {_sVm: _SE}), (-1, {_sVm: _SLt})), -) - -IAM_PRINCIPAL: StaticSchema = ( - 18, - n0, - _IP, - 0, - (_a, _op), - ((IAM_PRINCIPAL_ARN, 1), (PRINCIPAL_MATCH_OPERATOR, 0)), -) - -MATCH_PRINCIPAL_ENTRY: StaticSchema = (19, n0, _MPE, 0, (_iPa,), ((IAM_PRINCIPAL, 0),)) - -MATCH_PRINCIPAL_ENTRIES: StaticSchema = ( - 16, - n0, - _MPEa, - 0, - (_mem,), - ((MATCH_PRINCIPAL_ENTRY, 0),), -) - -MATCH_PRINCIPALS: StaticSchema = ( - 18, - n0, - _MPat, - 0, - (_aO,), - ((MATCH_PRINCIPAL_ENTRIES, 1),), -) - -CONDITION: StaticSchema = ( - 19, - n0, - _Co, - 0, - (_mPa, _mPat, _mM), - ((MATCH_PRINCIPALS, 0), (MATCH_PATHS, 0), (MATCH_MODELS, 0)), -) - -CONDITIONS: StaticSchema = (16, n0, _Con, 0, (_mem,), ((CONDITION, 0),)) - -GATEWAY_RULE_DESCRIPTION: StaticSchema = (3, n0, _GRD, 0) - -GATEWAY_RULE_PRIORITY: StaticSchema = (7, n0, _GRP, 0) - -CREATE_GATEWAY_RULE_INPUT: StaticSchema = ( - 18, - n0, - _CGRI, - {_sSI: _cCGRR, _smith: None}, - (_gI, _cT, _pri, _cond, _act, _d), - ( - (GATEWAY_IDENTIFIER, 9), - (CLIENT_TOKEN, 2), - (GATEWAY_RULE_PRIORITY, 1), - (CONDITIONS, 0), - (ACTIONS, 1), - (GATEWAY_RULE_DESCRIPTION, 0), - ), -) - -GATEWAY_RULE_ID: StaticSchema = (3, n0, _GRI, 0) - -GATEWAY_RULE_STATUS: StaticSchema = ( - 14, - n0, - _GRS, - 0, - (_CREATING, _ACTIVE, _UPDATING, _DELETING), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _DELETING}), - ), -) - -SYSTEM_MANAGED_BLOCK: StaticSchema = (18, n0, _SMB, 0, (_mB,), ((3, 1),)) - -CREATE_GATEWAY_RULE_OUTPUT: StaticSchema = ( - 18, - n0, - _CGRO, - {_sSI: _cCGRRo, _smithy: None}, - (_rI, _gA, _pri, _cond, _act, _d, _cA, _st, _sy), - ( - (GATEWAY_RULE_ID, 1), - (GATEWAY_ARN, 1), - (GATEWAY_RULE_PRIORITY, 1), - (CONDITIONS, 0), - (ACTIONS, 1), - (GATEWAY_RULE_DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (GATEWAY_RULE_STATUS, 1), - (SYSTEM_MANAGED_BLOCK, 0), - ), -) - -CREATE_GATEWAY_RULE: StaticOperationSchema = ( - 23, - n0, - _CGR, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/gateways/{gatewayIdentifier}/rules", - } - ) - }, - CREATE_GATEWAY_RULE_INPUT, - CREATE_GATEWAY_RULE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_GATEWAY_RULE_INPUT: StaticSchema = ( - 18, - n0, - _DGRI, - {_sSI: _cDGRR, _smith: None}, - (_gI, _rI), - ((GATEWAY_IDENTIFIER, 9), (GATEWAY_RULE_ID, 9)), -) - -DELETE_GATEWAY_RULE_OUTPUT: StaticSchema = ( - 18, - n0, - _DGRO, - {_sSI: _cDGRRo, _smithy: None}, - (_rI, _st), - ((GATEWAY_RULE_ID, 1), (GATEWAY_RULE_STATUS, 1)), -) - -DELETE_GATEWAY_RULE: StaticOperationSchema = ( - 23, - n0, - _DGR, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/gateways/{gatewayIdentifier}/rules/{ruleId}", - } - ) - }, - DELETE_GATEWAY_RULE_INPUT, - DELETE_GATEWAY_RULE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_GATEWAY_RULE_INPUT: StaticSchema = ( - 18, - n0, - _GGRI, - {_sSI: _cGGRR, _smith: None}, - (_gI, _rI), - ((GATEWAY_IDENTIFIER, 9), (GATEWAY_RULE_ID, 9)), -) - -GET_GATEWAY_RULE_OUTPUT: StaticSchema = ( - 18, - n0, - _GGRO, - {_sSI: _cGGRRo, _smithy: None}, - (_rI, _gA, _pri, _cond, _act, _d, _cA, _st, _sy, _uA), - ( - (GATEWAY_RULE_ID, 1), - (GATEWAY_ARN, 1), - (GATEWAY_RULE_PRIORITY, 1), - (CONDITIONS, 0), - (ACTIONS, 1), - (GATEWAY_RULE_DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (GATEWAY_RULE_STATUS, 1), - (SYSTEM_MANAGED_BLOCK, 0), - (DATE_TIMESTAMP, 0), - ), -) - -GET_GATEWAY_RULE: StaticOperationSchema = ( - 23, - n0, - _GGR, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/gateways/{gatewayIdentifier}/rules/{ruleId}", - } - ) - }, - GET_GATEWAY_RULE_INPUT, - GET_GATEWAY_RULE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GATEWAY_RULE_MAX_RESULTS: StaticSchema = (7, n0, _GRMR, 0) - -GATEWAY_RULE_NEXT_TOKEN: StaticSchema = (3, n0, _GRNT, 0) - -LIST_GATEWAY_RULES_INPUT: StaticSchema = ( - 18, - n0, - _LGRI, - {_sSI: _cLGRR, _smith: None}, - (_gI, _mR, _nT), - ( - (GATEWAY_IDENTIFIER, 9), - (GATEWAY_RULE_MAX_RESULTS, {_sQ: _mR}), - (GATEWAY_RULE_NEXT_TOKEN, {_sQ: _nT}), - ), -) - -GATEWAY_RULE_DETAIL: StaticSchema = ( - 18, - n0, - _GRDa, - 0, - (_rI, _gA, _pri, _cond, _act, _d, _cA, _st, _sy, _uA), - ( - (GATEWAY_RULE_ID, 1), - (GATEWAY_ARN, 1), - (GATEWAY_RULE_PRIORITY, 1), - (CONDITIONS, 0), - (ACTIONS, 1), - (GATEWAY_RULE_DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (GATEWAY_RULE_STATUS, 1), - (SYSTEM_MANAGED_BLOCK, 0), - (DATE_TIMESTAMP, 0), - ), -) - -GATEWAY_RULES: StaticSchema = (16, n0, _GR, 0, (_mem,), ((GATEWAY_RULE_DETAIL, 0),)) - -LIST_GATEWAY_RULES_OUTPUT: StaticSchema = ( - 18, - n0, - _LGRO, - {_sSI: _cLGRRo, _smithy: None}, - (_gR, _nT), - ((GATEWAY_RULES, 1), (GATEWAY_RULE_NEXT_TOKEN, 0)), -) - -LIST_GATEWAY_RULES: StaticOperationSchema = ( - 23, - n0, - _LGR, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/gateways/{gatewayIdentifier}/rules"} - ) - }, - LIST_GATEWAY_RULES_INPUT, - LIST_GATEWAY_RULES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_GATEWAY_RULE_INPUT: StaticSchema = ( - 18, - n0, - _UGRI, - {_sSI: _cUGRR, _smith: None}, - (_gI, _rI, _pri, _cond, _act, _d), - ( - (GATEWAY_IDENTIFIER, 9), - (GATEWAY_RULE_ID, 9), - (GATEWAY_RULE_PRIORITY, 0), - (CONDITIONS, 0), - (ACTIONS, 0), - (GATEWAY_RULE_DESCRIPTION, 0), - ), -) - -UPDATE_GATEWAY_RULE_OUTPUT: StaticSchema = ( - 18, - n0, - _UGRO, - {_sSI: _cUGRRo, _smithy: None}, - (_rI, _gA, _pri, _cond, _act, _d, _cA, _st, _sy, _uA), - ( - (GATEWAY_RULE_ID, 1), - (GATEWAY_ARN, 1), - (GATEWAY_RULE_PRIORITY, 1), - (CONDITIONS, 0), - (ACTIONS, 1), - (GATEWAY_RULE_DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (GATEWAY_RULE_STATUS, 1), - (SYSTEM_MANAGED_BLOCK, 0), - (DATE_TIMESTAMP, 0), - ), -) - -UPDATE_GATEWAY_RULE: StaticOperationSchema = ( - 23, - n0, - _UGR, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "PATCH", - "uri": "/gateways/{gatewayIdentifier}/rules/{ruleId}", - } - ) - }, - UPDATE_GATEWAY_RULE_INPUT, - UPDATE_GATEWAY_RULE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -API_KEY_CREDENTIAL_LOCATION: StaticSchema = ( - 14, - n0, - _AKCL, - 0, - (_HEADER, _QP), - ((-1, {_sVm: _HEADER}), (-1, {_sVm: _QP})), -) - -API_KEY_CREDENTIAL_PARAMETER_NAME: StaticSchema = (3, n0, _AKCPN, 0) - -API_KEY_CREDENTIAL_PREFIX: StaticSchema = (3, n0, _AKCPp, 0) - -API_KEY_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _AKCPA, 0) - -GATEWAY_API_KEY_CREDENTIAL_PROVIDER: StaticSchema = ( - 18, - n0, - _GAKCPa, - 0, - (_pAr, _cPN, _cPr, _cL), - ( - (API_KEY_CREDENTIAL_PROVIDER_ARN, 1), - (API_KEY_CREDENTIAL_PARAMETER_NAME, 0), - (API_KEY_CREDENTIAL_PREFIX, 0), - (API_KEY_CREDENTIAL_LOCATION, 0), - ), -) - -IAM_CREDENTIAL_PROVIDER: StaticSchema = ( - 18, - n0, - _ICP, - 0, - (_ser, _reg), - ((3, 1), (3, 0)), -) - -O_AUTH_CUSTOM_PARAMETERS_KEY: StaticSchema = (3, n0, _OACPK, 0) - -O_AUTH_CUSTOM_PARAMETERS_VALUE: StaticSchema = (3, n0, _OACPV, 4) - -O_AUTH_CUSTOM_PARAMETERS: StaticSchema = ( - 17, - n0, - _OACP, - 0, - (_k, _v), - ((O_AUTH_CUSTOM_PARAMETERS_KEY, 0), (O_AUTH_CUSTOM_PARAMETERS_VALUE, 0)), -) - -O_AUTH_DEFAULT_RETURN_URL: StaticSchema = (3, n0, _OADRU, 0) - -O_AUTH_GRANT_TYPE: StaticSchema = ( - 14, - n0, - _OAGT, - 0, - (_CC_, _AC_, _TE_), - ((-1, {_sVm: _CC_}), (-1, {_sVm: _AC_}), (-1, {_sVm: _TE_})), -) - -O_AUTH_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _OACPAu, 0) - -O_AUTH_SCOPE: StaticSchema = (3, n0, _OAS, 0) - -O_AUTH_SCOPES: StaticSchema = (16, n0, _OASu, 0, (_mem,), ((O_AUTH_SCOPE, 0),)) - -O_AUTH_CREDENTIAL_PROVIDER: StaticSchema = ( - 18, - n0, - _OACPu, - 0, - (_pAr, _sco, _cPu, _gT, _dRU), - ( - (O_AUTH_CREDENTIAL_PROVIDER_ARN, 1), - (O_AUTH_SCOPES, 1), - (O_AUTH_CUSTOM_PARAMETERS, 0), - (O_AUTH_GRANT_TYPE, {_smi: _CC_}), - (O_AUTH_DEFAULT_RETURN_URL, 0), - ), -) - -CREDENTIAL_PROVIDER: StaticSchema = ( - 19, - n0, - _CPr, - 0, - (_oCP, _aKCP, _iCP), - ( - (O_AUTH_CREDENTIAL_PROVIDER, 0), - (GATEWAY_API_KEY_CREDENTIAL_PROVIDER, 0), - (IAM_CREDENTIAL_PROVIDER, 0), - ), -) - -CREDENTIAL_PROVIDER_TYPE: StaticSchema = ( - 14, - n0, - _CPT, - 0, - (_GIR, _OAUTH, _AK, _CIC, _JP), - ( - (-1, {_sVm: _GIR}), - (-1, {_sVm: _OAUTH}), - (-1, {_sVm: _AK}), - (-1, {_sVm: _CIC}), - (-1, {_sVm: _JP}), - ), -) - -CREDENTIAL_PROVIDER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CPCr, - 0, - (_cPT, _cPre), - ((CREDENTIAL_PROVIDER_TYPE, 1), (CREDENTIAL_PROVIDER, 0)), -) - -CREDENTIAL_PROVIDER_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _CPCre, - 0, - (_mem,), - ((CREDENTIAL_PROVIDER_CONFIGURATION, 0),), -) - -TARGET_DESCRIPTION: StaticSchema = (3, n0, _TD, 4) - -METADATA_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MC, - 0, - (_aRH, _aQP, _aRHl), - ( - (ALLOWED_REQUEST_HEADERS, 0), - (ALLOWED_QUERY_PARAMETERS, 0), - (ALLOWED_RESPONSE_HEADERS, 0), - ), -) - -RUNTIME_ARN: StaticSchema = (3, n0, _RAu, 0) - -RUNTIME_QUALIFIER: StaticSchema = (3, n0, _RQ, 0) - -INLINE_PAYLOAD: StaticSchema = (3, n0, _IPn, 4) - -AWS_ACCOUNT_ID: StaticSchema = (3, n0, _AAI, 0) - -S3_BUCKET_URI: StaticSchema = (3, n0, _SBU, 0) - -S3_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCo, - 0, - (_u, _bOAI), - ((S3_BUCKET_URI, 0), (AWS_ACCOUNT_ID, 0)), -) - -API_SCHEMA_CONFIGURATION: StaticSchema = ( - 19, - n0, - _ASC, - 0, - (_s_, _iPn), - ((S3_CONFIGURATION, 0), (INLINE_PAYLOAD, 0)), -) - -HTTP_API_SCHEMA_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HASC, - 0, - (_so,), - ((API_SCHEMA_CONFIGURATION, 1),), -) - -RUNTIME_TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RTC, - 0, - (_a, _q, _sch), - ((RUNTIME_ARN, 1), (RUNTIME_QUALIFIER, 0), (HTTP_API_SCHEMA_CONFIGURATION, 0)), -) - -CONNECTOR_PARAMETER_NAME: StaticSchema = (3, n0, _CPNo, 0) - -CONNECTOR_PARAMETER_VALUE: StaticSchema = (3, n0, _CPV, 0) - -HTTP_CONNECTOR_PARAMETERS: StaticSchema = ( - 17, - n0, - _HCP, - 0, - (_k, _v), - ((CONNECTOR_PARAMETER_NAME, 0), (CONNECTOR_PARAMETER_VALUE, 0)), -) - -CONNECTOR_ID: StaticSchema = (3, n0, _CIo, 0) - -HTTP_CONNECTOR_SOURCE: StaticSchema = (18, n0, _HCS, 0, (_cI,), ((CONNECTOR_ID, 1),)) - -HTTP_CONNECTOR_TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HCTC, - 0, - (_so, _par), - ((HTTP_CONNECTOR_SOURCE, 1), (HTTP_CONNECTOR_PARAMETERS, 0)), -) - -PASSTHROUGH_ENDPOINT: StaticSchema = (3, n0, _PEa, 0) - -PASSTHROUGH_PROTOCOL_TYPE: StaticSchema = ( - 14, - n0, - _PPT, - 0, - (_MCP, _AA_, _INFERENCE, _CUSTOM), - ( - (-1, {_sVm: _MCP}), - (-1, {_sVm: _AA_}), - (-1, {_sVm: _INFERENCE}), - (-1, {_sVm: _CUSTOM}), - ), -) - -STATIC_QUERY_PARAMETER_CONFLICT_RESOLUTION: StaticSchema = ( - 14, - n0, - _SQPCR, - 0, - (_CO, _SO_), - ((-1, {_sVm: _CO}), (-1, {_sVm: _SO_})), -) - -STATIC_QUERY_PARAMETER_NAME: StaticSchema = (3, n0, _SQPN, 0) - -STATIC_QUERY_PARAMETER_VALUE: StaticSchema = (3, n0, _SQPV, 4) - -STATIC_QUERY_PARAMETERS: StaticSchema = ( - 17, - n0, - _SQP, - 0, - (_k, _v), - ((STATIC_QUERY_PARAMETER_NAME, 0), (STATIC_QUERY_PARAMETER_VALUE, 0)), -) - -COMPOSITE_IDENTIFIER_ENTRY: StaticSchema = (3, n0, _CIE, 0) - -COMPOSITE_IDENTIFIER_LIST: StaticSchema = ( - 16, - n0, - _CIL, - 0, - (_mem,), - ((COMPOSITE_IDENTIFIER_ENTRY, 0),), -) - -STICKINESS_TIMEOUT: StaticSchema = (7, n0, _STt, 0) - -STICKINESS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCti, - 0, - (_id, _ti, _cIo), - ((3, 1), (STICKINESS_TIMEOUT, 0), (COMPOSITE_IDENTIFIER_LIST, 0)), -) - -PASSTHROUGH_TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PTC, - 0, - (_end, _pTr, _sch, _sCti, _sQP, _sQPCR), - ( - (PASSTHROUGH_ENDPOINT, 1), - (PASSTHROUGH_PROTOCOL_TYPE, 1), - (HTTP_API_SCHEMA_CONFIGURATION, 0), - (STICKINESS_CONFIGURATION, 0), - (STATIC_QUERY_PARAMETERS, 0), - (STATIC_QUERY_PARAMETER_CONFLICT_RESOLUTION, 0), - ), -) - -HTTP_TARGET_CONFIGURATION: StaticSchema = ( - 19, - n0, - _HTC, - 0, - (_aRg, _pas, _conne), - ( - (RUNTIME_TARGET_CONFIGURATION, 0), - (PASSTHROUGH_TARGET_CONFIGURATION, 0), - (HTTP_CONNECTOR_TARGET_CONFIGURATION, 0), - ), -) - -INFERENCE_CONNECTOR_ID: StaticSchema = (3, n0, _ICI, 0) - -INFERENCE_CONNECTOR_SOURCE: StaticSchema = ( - 18, - n0, - _ICS, - 0, - (_cI,), - ((INFERENCE_CONNECTOR_ID, 1),), -) - -INFERENCE_CONNECTOR_TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ICTC, - 0, - (_so,), - ((INFERENCE_CONNECTOR_SOURCE, 1),), -) - -PROVIDER_PREFIX: StaticSchema = ( - 18, - n0, - _PP, - 0, - (_str, _sep), - ((2, {_smi: False}), (3, {_smi: _v___})), -) - -MODEL_MAPPING: StaticSchema = (18, n0, _MMo, 0, (_pP,), ((PROVIDER_PREFIX, 0),)) - -MODEL_ENTRY: StaticSchema = (18, n0, _ME, 0, (_mod,), ((MODEL_PATTERN, 1),)) - -MODEL_ENTRIES: StaticSchema = (16, n0, _MEo, 0, (_mem,), ((MODEL_ENTRY, 0),)) - -INFERENCE_OPERATION_PATH: StaticSchema = (3, n0, _IOP, 0) - -INFERENCE_OPERATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IOC, - 0, - (_pa, _pPr, _mode), - ((INFERENCE_OPERATION_PATH, 1), (INFERENCE_OPERATION_PATH, 0), (MODEL_ENTRIES, 0)), -) - -INFERENCE_OPERATION_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _IOCn, - 0, - (_mem,), - ((INFERENCE_OPERATION_CONFIGURATION, 0),), -) - -INFERENCE_PROVIDER_TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IPTC, - 0, - (_end, _mMo, _ope), - ( - (PASSTHROUGH_ENDPOINT, 1), - (MODEL_MAPPING, 0), - (INFERENCE_OPERATION_CONFIGURATIONS, 0), - ), -) - -INFERENCE_TARGET_CONFIGURATION: StaticSchema = ( - 19, - n0, - _ITC, - 0, - (_conne, _pr), - ( - (INFERENCE_CONNECTOR_TARGET_CONFIGURATION, 0), - (INFERENCE_PROVIDER_TARGET_CONFIGURATION, 0), - ), -) - -REST_API_METHOD: StaticSchema = ( - 14, - n0, - _RAM, - 0, - (_GET, _DELETE, _HEAD, _OPTIONS, _PATCH, _PUT_, _POST), - ( - (-1, {_sVm: _GET}), - (-1, {_sVm: _DELETE}), - (-1, {_sVm: _HEAD}), - (-1, {_sVm: _OPTIONS}), - (-1, {_sVm: _PATCH}), - (-1, {_sVm: _PUT_}), - (-1, {_sVm: _POST}), - ), -) - -REST_API_METHODS: StaticSchema = (16, n0, _RAMe, 0, (_mem,), ((REST_API_METHOD, 0),)) - -API_GATEWAY_TOOL_FILTER: StaticSchema = ( - 18, - n0, - _AGTF, - 0, - (_fP, _met), - ((3, 1), (REST_API_METHODS, 1)), -) - -API_GATEWAY_TOOL_FILTERS: StaticSchema = ( - 16, - n0, - _AGTFp, - 0, - (_mem,), - ((API_GATEWAY_TOOL_FILTER, 0),), -) - -API_GATEWAY_TOOL_OVERRIDE: StaticSchema = ( - 18, - n0, - _AGTO, - 0, - (_n, _d, _pa, _meth), - ((3, 1), (3, 0), (3, 1), (REST_API_METHOD, 1)), -) - -API_GATEWAY_TOOL_OVERRIDES: StaticSchema = ( - 16, - n0, - _AGTOp, - 0, - (_mem,), - ((API_GATEWAY_TOOL_OVERRIDE, 0),), -) - -API_GATEWAY_TOOL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AGTC, - 0, - (_tOo, _tFo), - ((API_GATEWAY_TOOL_OVERRIDES, 0), (API_GATEWAY_TOOL_FILTERS, 1)), -) - -API_GATEWAY_TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AGTCp, - 0, - (_rAI, _stag, _aGTC), - ((3, 1), (3, 1), (API_GATEWAY_TOOL_CONFIGURATION, 1)), -) - -CONNECTOR_PARAMETER_OVERRIDE: StaticSchema = ( - 18, - n0, - _CPO, - 0, - (_pa, _d, _vi), - ((3, 1), (3, 0), (2, 0)), -) - -CONNECTOR_PARAMETER_OVERRIDES: StaticSchema = ( - 16, - n0, - _CPOo, - 0, - (_mem,), - ((CONNECTOR_PARAMETER_OVERRIDE, 0),), -) - -CONNECTOR_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CCon, - 0, - (_n, _d, _pVa, _pO), - ((3, 1), (3, 0), (13, 0), (CONNECTOR_PARAMETER_OVERRIDES, 0)), -) - -CONNECTOR_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _CConn, - 0, - (_mem,), - ((CONNECTOR_CONFIGURATION, 0),), -) - -ENABLED_CONNECTORS: StaticSchema = (16, n0, _ECn, 0, (_mem,), ((3, 0),)) - -CONNECTOR_VERSION: StaticSchema = (3, n0, _CV, 0) - -CONNECTOR_SOURCE: StaticSchema = ( - 18, - n0, - _CS, - 0, - (_cI, _ve), - ((CONNECTOR_ID, 1), (CONNECTOR_VERSION, 0)), -) - -CONNECTOR_TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CTCo, - 0, - (_so, _en, _conf), - ((CONNECTOR_SOURCE, 1), (ENABLED_CONNECTORS, 0), (CONNECTOR_CONFIGURATIONS, 0)), -) - -REQUIRED_PROPERTIES: StaticSchema = (16, n0, _RP, 0, (_mem,), ((3, 0),)) - -SCHEMA_TYPE: StaticSchema = ( - 14, - n0, - _STc, - 0, - (_STRING, _NUMBER, _OBJECT, _ARRAY, _BOOLEAN, _INTEGER), - ( - (-1, {_sVm: _stri}), - (-1, {_sVm: _num}), - (-1, {_sVm: _ob}), - (-1, {_sVm: _ar}), - (-1, {_sVm: _bo}), - (-1, {_sVm: _inte}), - ), -) - -LISTING_MODE: StaticSchema = ( - 14, - n0, - _LM, - 0, - (_DEFAULT, _DYNAMIC), - ((-1, {_sVm: _DEFAULT}), (-1, {_sVm: _DYNAMIC})), -) - -MCP_TOOL_SCHEMA_CONFIGURATION: StaticSchema = ( - 19, - n0, - _MTSC, - 0, - (_s_, _iPn), - ((S3_CONFIGURATION, 0), (INLINE_PAYLOAD, 0)), -) - -TARGET_RESOURCE_PRIORITY: StaticSchema = (7, n0, _TRP, 0) - -MCP_SERVER_TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MSTC, - 0, - (_end, _mTS, _lMi, _rP), - ( - (3, 1), - (MCP_TOOL_SCHEMA_CONFIGURATION, 0), - (LISTING_MODE, 0), - (TARGET_RESOURCE_PRIORITY, 0), - ), -) - -O_AUTH2_AUTHORIZATION_DATA: StaticSchema = ( - 18, - n0, - _OAAD, - 0, - (_aU, _uI), - ((3, 1), (3, 0)), -) - -AUTHORIZATION_DATA: StaticSchema = ( - 19, - n0, - _ADu, - 0, - (_oa,), - ((O_AUTH2_AUTHORIZATION_DATA, 0),), -) - -DOMAIN_NAME: StaticSchema = (3, n0, _DNo, 0) - -RESOURCE_ASSOCIATION_ARN: StaticSchema = (3, n0, _RAA, 0) - -RESOURCE_GATEWAY_ARN: StaticSchema = (3, n0, _RGA, 0) - -MANAGED_RESOURCE_DETAILS: StaticSchema = ( - 18, - n0, - _MRD, - 0, - (_do, _rGA, _rAA), - ((DOMAIN_NAME, 0), (RESOURCE_GATEWAY_ARN, 0), (RESOURCE_ASSOCIATION_ARN, 0)), -) - -PRIVATE_ENDPOINT_MANAGED_RESOURCES: StaticSchema = ( - 16, - n0, - _PEMR, - 0, - (_mem,), - ((MANAGED_RESOURCE_DETAILS, 0),), -) - -TARGET_PROTOCOL_TYPE: StaticSchema = ( - 14, - n0, - _TPT, - 0, - (_MCP, _HTTP), - ((-1, {_sVm: _MCP}), (-1, {_sVm: _HTTP})), -) - -TARGET_STATUS: StaticSchema = ( - 14, - n0, - _TS, - 0, - ( - _CREATING, - _UPDATING, - _UU, - _DELETING, - _READY, - _FAILED, - _SYNCHRONIZING, - _SU_, - _CPA_, - _UPA, - _SPA, - ), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UU}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _FAILED}), - (-1, {_sVm: _SYNCHRONIZING}), - (-1, {_sVm: _SU_}), - (-1, {_sVm: _CPA_}), - (-1, {_sVm: _UPA}), - (-1, {_sVm: _SPA}), - ), -) - -TARGET_ID: StaticSchema = (3, n0, _TI, 0) - -DELETE_GATEWAY_TARGET_INPUT: StaticSchema = ( - 18, - n0, - _DGTI, - {_sSI: _cDGTR, _smith: None}, - (_gI, _tI), - ((GATEWAY_IDENTIFIER, 9), (TARGET_ID, 9)), -) - -DELETE_GATEWAY_TARGET_OUTPUT: StaticSchema = ( - 18, - n0, - _DGTO, - {_sSI: _cDGTRo, _smithy: None}, - (_gA, _tI, _st, _sRta), - ((GATEWAY_ARN, 1), (TARGET_ID, 1), (TARGET_STATUS, 1), (STATUS_REASONS, 0)), -) - -DELETE_GATEWAY_TARGET: StaticOperationSchema = ( - 23, - n0, - _DGT, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/gateways/{gatewayIdentifier}/targets/{targetId}/", - } - ) - }, - DELETE_GATEWAY_TARGET_INPUT, - DELETE_GATEWAY_TARGET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_GATEWAY_TARGET_INPUT: StaticSchema = ( - 18, - n0, - _GGTI, - {_sSI: _cGGTR, _smith: None}, - (_gI, _tI), - ((GATEWAY_IDENTIFIER, 9), (TARGET_ID, 9)), -) - -TARGET_MAX_RESULTS: StaticSchema = (7, n0, _TMR, 0) - -TARGET_NEXT_TOKEN: StaticSchema = (3, n0, _TNT, 0) - -LIST_GATEWAY_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _LGTI, - {_sSI: _cLGTR, _smith: None}, - (_gI, _mR, _nT), - ( - (GATEWAY_IDENTIFIER, 9), - (TARGET_MAX_RESULTS, {_sQ: _mR}), - (TARGET_NEXT_TOKEN, {_sQ: _nT}), - ), -) - -TARGET_TYPE: StaticSchema = ( - 14, - n0, - _TT, - 0, - (_OAS_, _SM, _MS, _LAMBDA, _AG_, _CONNECTOR, _AR_, _PASSTHROUGH, _PROVIDER, _HC), - ( - (-1, {_sVm: _OAS_}), - (-1, {_sVm: _SM}), - (-1, {_sVm: _MS}), - (-1, {_sVm: _LAMBDA}), - (-1, {_sVm: _AG_}), - (-1, {_sVm: _CONNECTOR}), - (-1, {_sVm: _AR_}), - (-1, {_sVm: _PASSTHROUGH}), - (-1, {_sVm: _PROVIDER}), - (-1, {_sVm: _HC}), - ), -) - -TARGET_SUMMARY: StaticSchema = ( - 18, - n0, - _TSa, - 0, - (_tI, _n, _st, _d, _cA, _uA, _rP, _lSAa, _aDu, _tT, _lMi), - ( - (TARGET_ID, 1), - (TARGET_NAME, 1), - (TARGET_STATUS, 1), - (TARGET_DESCRIPTION, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (TARGET_RESOURCE_PRIORITY, 0), - (DATE_TIMESTAMP, 0), - (AUTHORIZATION_DATA, 0), - (TARGET_TYPE, 0), - (LISTING_MODE, 0), - ), -) - -TARGET_SUMMARIES: StaticSchema = (16, n0, _TSar, 0, (_mem,), ((TARGET_SUMMARY, 0),)) - -LIST_GATEWAY_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LGTO, - {_sSI: _cLGTRo, _smithy: None}, - (_it, _nT), - ((TARGET_SUMMARIES, 1), (TARGET_NEXT_TOKEN, 0)), -) - -LIST_GATEWAY_TARGETS: StaticOperationSchema = ( - 23, - n0, - _LGT, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/gateways/{gatewayIdentifier}/targets/", - } - ) - }, - LIST_GATEWAY_TARGETS_INPUT, - LIST_GATEWAY_TARGETS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TARGET_ID_LIST: StaticSchema = (16, n0, _TIL, 0, (_mem,), ((TARGET_ID, 0),)) - -SYNCHRONIZE_GATEWAY_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _SGTI, - {_sSI: _cSGTR, _smith: None}, - (_gI, _tIL), - ((GATEWAY_IDENTIFIER, 9), (TARGET_ID_LIST, 1)), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_sSI: _cGRPR, _smith: None}, - (_rAe,), - ((BEDROCK_AGENTCORE_RESOURCE_ARN, 9),), -) - -RESOURCE_POLICY_BODY: StaticSchema = (3, n0, _RPB, 0) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_sSI: _cGRPRo, _smithy: None}, - (_pol,), - ((RESOURCE_POLICY_BODY, 0),), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRPe, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/resourcepolicy/{resourceArn}"} - ) - }, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TOKEN_VAULT_ID_TYPE: StaticSchema = (3, n0, _TVIT, 0) - -GET_TOKEN_VAULT_INPUT: StaticSchema = ( - 18, - n0, - _GTVI, - {_sSI: _cGTVR, _smith: None}, - (_tVI,), - ((TOKEN_VAULT_ID_TYPE, 0),), -) - -KEY_TYPE: StaticSchema = ( - 14, - n0, - _KT, - 0, - (_CMK, _SMK), - ((-1, {_sVm: _CMK}), (-1, {_sVm: _SMK})), -) - -KMS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KC, - 0, - (_kT, _kKA), - ((KEY_TYPE, 1), (KMS_KEY_ARN, 0)), -) - -GET_TOKEN_VAULT_OUTPUT: StaticSchema = ( - 18, - n0, - _GTVO, - {_sSI: _cGTVRo, _smithy: None}, - (_tVI, _kC, _lMD), - ((TOKEN_VAULT_ID_TYPE, 1), (KMS_CONFIGURATION, 1), (4, 1)), -) - -GET_TOKEN_VAULT: StaticOperationSchema = ( - 23, - n0, - _GTV, - { - _smithya: MappingProxyType( - {"uri": "/identities/get-token-vault", "method": "POST"} - ) - }, - GET_TOKEN_VAULT_INPUT, - GET_TOKEN_VAULT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -HARNESS_ENDPOINT_DESCRIPTION: StaticSchema = (3, n0, _HED, 0) - -HARNESS_ENDPOINT_NAME: StaticSchema = (3, n0, _HEN, 0) - -HARNESS_ID: StaticSchema = (3, n0, _HI, 0) - -HARNESS_VERSION: StaticSchema = (3, n0, _HV, 0) - -CREATE_HARNESS_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CHEI, - {_sSI: _cCHER, _smith: None}, - (_hI, _eN, _tV, _d, _cT, _t), - ( - (HARNESS_ID, 9), - (HARNESS_ENDPOINT_NAME, 1), - (HARNESS_VERSION, 0), - (HARNESS_ENDPOINT_DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - ), -) - -HARNESS_ENDPOINT_ARN: StaticSchema = (3, n0, _HEA, 0) - -HARNESS_NAME: StaticSchema = (3, n0, _HNa, 0) - -HARNESS_ENDPOINT_STATUS: StaticSchema = ( - 14, - n0, - _HES, - 0, - (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - ), -) - -HARNESS_ENDPOINT: StaticSchema = ( - 18, - n0, - _HEa, - 0, - (_hI, _hN, _eN, _a, _st, _cA, _uA, _lV, _tV, _d, _fR), - ( - (HARNESS_ID, 1), - (HARNESS_NAME, 1), - (HARNESS_ENDPOINT_NAME, 1), - (HARNESS_ENDPOINT_ARN, 1), - (HARNESS_ENDPOINT_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (HARNESS_VERSION, 0), - (HARNESS_VERSION, 0), - (HARNESS_ENDPOINT_DESCRIPTION, 0), - (3, 0), - ), -) - -CREATE_HARNESS_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CHEO, - {_sSI: _cCHERo, _smithy: None}, - (_end,), - ((HARNESS_ENDPOINT, 1),), -) - -CREATE_HARNESS_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CHE, - { - _smithya: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/harnesses/{harnessId}/endpoints"} - ) - }, - CREATE_HARNESS_ENDPOINT_INPUT, - CREATE_HARNESS_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_HARNESS_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DHEI, - {_sSI: _cDHER, _smith: None}, - (_hI, _eN, _cT), - ( - (HARNESS_ID, 9), - (HARNESS_ENDPOINT_NAME, 9), - (CLIENT_TOKEN, {_sQ: _cT, _sT: None}), - ), -) - -DELETE_HARNESS_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DHEO, - {_sSI: _cDHERo, _smithy: None}, - (_end,), - ((HARNESS_ENDPOINT, 1),), -) - -DELETE_HARNESS_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DHE, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/harnesses/{harnessId}/endpoints/{endpointName}", - } - ) - }, - DELETE_HARNESS_ENDPOINT_INPUT, - DELETE_HARNESS_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_HARNESS_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _GHEI, - {_sSI: _cGHER, _smith: None}, - (_hI, _eN), - ((HARNESS_ID, 9), (HARNESS_ENDPOINT_NAME, 9)), -) - -GET_HARNESS_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _GHEO, - {_sSI: _cGHERo, _smithy: None}, - (_end,), - ((HARNESS_ENDPOINT, 1),), -) - -GET_HARNESS_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _GHE, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/harnesses/{harnessId}/endpoints/{endpointName}", - } - ) - }, - GET_HARNESS_ENDPOINT_INPUT, - GET_HARNESS_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_HARNESS_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _LHEI, - {_sSI: _cLHER, _smith: None}, - (_hI, _mR, _nT), - ((HARNESS_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -HARNESS_ENDPOINTS: StaticSchema = (16, n0, _HEar, 0, (_mem,), ((HARNESS_ENDPOINT, 0),)) - -LIST_HARNESS_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LHEO, - {_sSI: _cLHERo, _smithy: None}, - (_endp, _nT), - ((HARNESS_ENDPOINTS, 1), (NEXT_TOKEN, 0)), -) - -LIST_HARNESS_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _LHE, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/harnesses/{harnessId}/endpoints"} - ) - }, - LIST_HARNESS_ENDPOINTS_INPUT, - LIST_HARNESS_ENDPOINTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_HARNESS_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _UHEI, - {_sSI: _cUHER, _smith: None}, - (_hI, _eN, _tV, _d, _cT), - ( - (HARNESS_ID, 9), - (HARNESS_ENDPOINT_NAME, 9), - (HARNESS_VERSION, 0), - (HARNESS_ENDPOINT_DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - ), -) - -UPDATE_HARNESS_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _UHEO, - {_sSI: _cUHERo, _smithy: None}, - (_end,), - ((HARNESS_ENDPOINT, 1),), -) - -UPDATE_HARNESS_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _UHE, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "PATCH", - "uri": "/harnesses/{harnessId}/endpoints/{endpointName}", - } - ) - }, - UPDATE_HARNESS_ENDPOINT_INPUT, - UPDATE_HARNESS_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -HARNESS_ALLOWED_TOOL: StaticSchema = (3, n0, _HAT, 0) - -HARNESS_ALLOWED_TOOLS: StaticSchema = ( - 16, - n0, - _HATa, - 0, - (_mem,), - ((HARNESS_ALLOWED_TOOL, 0),), -) - -HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT_REQUEST: StaticSchema = ( - 18, - n0, - _HACRER, - 0, - (_lC, _nC, _fC), - ( - (LIFECYCLE_CONFIGURATION, 0), - (NETWORK_CONFIGURATION, 0), - (FILESYSTEM_CONFIGURATIONS, 0), - ), -) - -HARNESS_ENVIRONMENT_PROVIDER_REQUEST: StaticSchema = ( - 19, - n0, - _HEPR, - 0, - (_aCRE,), - ((HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT_REQUEST, 0),), -) - -HARNESS_ENVIRONMENT_ARTIFACT: StaticSchema = ( - 19, - n0, - _HEAa, - 0, - (_cC,), - ((CONTAINER_CONFIGURATION, 0),), -) - -HARNESS_HOOK_NAME: StaticSchema = (3, n0, _HHNa, 0) - -HARNESS_EVENT_BRIDGE_BUS_ARN: StaticSchema = (3, n0, _HEBBA, 0) - -HARNESS_HOOK_EVENT_BRIDGE_TARGET: StaticSchema = ( - 18, - n0, - _HHEBT, - 0, - (_a,), - ((HARNESS_EVENT_BRIDGE_BUS_ARN, 1),), -) - -HARNESS_LAMBDA_FUNCTION_ARN: StaticSchema = (3, n0, _HLFA, 0) - -HARNESS_HOOK_FAILURE_MODE: StaticSchema = ( - 14, - n0, - _HHFM, - 0, - (_ALLOW, _DENY), - ((-1, {_sVm: _al}), (-1, {_sVm: _den})), -) - -HARNESS_HOOK_LAMBDA_TARGET: StaticSchema = ( - 18, - n0, - _HHLT, - 0, - (_a, _tSi, _fM), - ( - (HARNESS_LAMBDA_FUNCTION_ARN, 1), - (7, {_smi: 60}), - (HARNESS_HOOK_FAILURE_MODE, {_smi: _den}), - ), -) - -HARNESS_SNS_TOPIC_ARN: StaticSchema = (3, n0, _HSTA, 0) - -HARNESS_HOOK_SNS_TARGET: StaticSchema = ( - 18, - n0, - _HHST, - 0, - (_a,), - ((HARNESS_SNS_TOPIC_ARN, 1),), -) - -HARNESS_HOOK_TARGET: StaticSchema = ( - 19, - n0, - _HHT, - 0, - (_lam, _sn, _eB), - ( - (HARNESS_HOOK_LAMBDA_TARGET, 0), - (HARNESS_HOOK_SNS_TARGET, 0), - (HARNESS_HOOK_EVENT_BRIDGE_TARGET, 0), - ), -) - -HARNESS_AFTER_INVOCATION_HOOK: StaticSchema = ( - 18, - n0, - _HAIH, - 0, - (_n, _ta), - ((HARNESS_HOOK_NAME, 1), (HARNESS_HOOK_TARGET, 1)), -) - -HARNESS_AFTER_TOOL_CALL_HOOK: StaticSchema = ( - 18, - n0, - _HATCH, - 0, - (_n, _ta), - ((HARNESS_HOOK_NAME, 1), (HARNESS_HOOK_TARGET, 1)), -) - -HARNESS_BEFORE_INVOCATION_HOOK: StaticSchema = ( - 18, - n0, - _HBIH, - 0, - (_n, _ta), - ((HARNESS_HOOK_NAME, 1), (HARNESS_HOOK_TARGET, 1)), -) - -HARNESS_BEFORE_TOOL_CALL_HOOK: StaticSchema = ( - 18, - n0, - _HBTCH, - 0, - (_n, _ta), - ((HARNESS_HOOK_NAME, 1), (HARNESS_HOOK_TARGET, 1)), -) - -HARNESS_HOOK: StaticSchema = ( - 19, - n0, - _HH, - 0, - (_bIe, _aI, _bTC, _aTC), - ( - (HARNESS_BEFORE_INVOCATION_HOOK, 0), - (HARNESS_AFTER_INVOCATION_HOOK, 0), - (HARNESS_BEFORE_TOOL_CALL_HOOK, 0), - (HARNESS_AFTER_TOOL_CALL_HOOK, 0), - ), -) - -HARNESS_HOOKS: StaticSchema = (16, n0, _HHa, 0, (_mem,), ((HARNESS_HOOK, 0),)) - -MEMORY_ARN: StaticSchema = (3, n0, _MA, 0) - -HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIG: StaticSchema = ( - 18, - n0, - _HACMRC, - 0, - (_tK, _rSe, _sIt), - ((7, 0), (9, 0), (3, 0)), -) - -HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIGS: StaticSchema = ( - 17, - n0, - _HACMRCa, - 0, - (_k, _v), - ((3, 0), (HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIG, 0)), -) - -HARNESS_AGENT_CORE_MEMORY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HACMC, - 0, - (_a, _aIc, _mCe, _rCe), - ((MEMORY_ARN, 1), (3, 0), (7, 0), (HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIGS, 0)), -) - -HARNESS_DISABLED_MEMORY_CONFIGURATION: StaticSchema = (18, n0, _HDMC, 0) - -HARNESS_MANAGED_MEMORY_STRATEGY_TYPE: StaticSchema = ( - 14, - n0, - _HMMST, - 0, - (_SEMANTIC, _SUMMARIZATION, _UP, _EPISODIC), - ( - (-1, {_sVm: _SEMANTIC}), - (-1, {_sVm: _SUMMARIZATION}), - (-1, {_sVm: _UP}), - (-1, {_sVm: _EPISODIC}), - ), -) - -HARNESS_MANAGED_MEMORY_STRATEGY_LIST: StaticSchema = ( - 16, - n0, - _HMMSL, - 0, - (_mem,), - ((HARNESS_MANAGED_MEMORY_STRATEGY_TYPE, 0),), -) - -HARNESS_MANAGED_MEMORY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HMMC, - 0, - (_a, _stra, _eED, _eKA), - ( - (MEMORY_ARN, 0), - (HARNESS_MANAGED_MEMORY_STRATEGY_LIST, 0), - (7, 0), - (KMS_KEY_ARN, 0), - ), -) - -HARNESS_MEMORY_CONFIGURATION: StaticSchema = ( - 19, - n0, - _HMC, - 0, - (_aCMC, _mMC, _dis), - ( - (HARNESS_AGENT_CORE_MEMORY_CONFIGURATION, 0), - (HARNESS_MANAGED_MEMORY_CONFIGURATION, 0), - (HARNESS_DISABLED_MEMORY_CONFIGURATION, 0), - ), -) - -HARNESS_BEDROCK_API_FORMAT: StaticSchema = ( - 14, - n0, - _HBAF, - 0, - (_CS_, _RESPONSES, _CC__), - ((-1, {_sVm: _cs}), (-1, {_sVm: _res}), (-1, {_sVm: _cc})), -) - -MAX_TOKENS: StaticSchema = (7, n0, _MT, 0) - -TEMPERATURE: StaticSchema = (9, n0, _T, 0) - -TOP_P: StaticSchema = (9, n0, _TPo, 0) - -HARNESS_BEDROCK_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _HBMC, - 0, - (_mI, _mT, _te, _tP, _aF, _aPd), - ( - (MODEL_ID, 1), - (MAX_TOKENS, 0), - (TEMPERATURE, 0), - (TOP_P, 0), - (HARNESS_BEDROCK_API_FORMAT, 0), - (13, 0), - ), -) - -API_KEY_ARN: StaticSchema = (3, n0, _AKA, 0) - -TOP_K: StaticSchema = (7, n0, _TKo, 0) - -HARNESS_GEMINI_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _HGMC, - 0, - (_mI, _aKA, _mT, _te, _tP, _tK, _aPd), - ( - (MODEL_ID, 1), - (API_KEY_ARN, 1), - (MAX_TOKENS, 0), - (TEMPERATURE, 0), - (TOP_P, 0), - (TOP_K, 0), - (13, 0), - ), -) - -HARNESS_LITE_LLM_API_BASE: StaticSchema = (3, n0, _HLLAB, 4) - -HARNESS_LITE_LLM_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _HLLMC, - 0, - (_mI, _aKA, _aB, _mT, _te, _tP, _aPd), - ( - (MODEL_ID, 1), - (API_KEY_ARN, 0), - (HARNESS_LITE_LLM_API_BASE, 0), - (MAX_TOKENS, 0), - (TEMPERATURE, 0), - (TOP_P, 0), - (13, 0), - ), -) - -HARNESS_OPEN_AI_API_BASE: StaticSchema = (3, n0, _HOAAB, 4) - -HARNESS_OPEN_AI_API_FORMAT: StaticSchema = ( - 14, - n0, - _HOAAF, - 0, - (_CC__, _RESPONSES), - ((-1, {_sVm: _cc}), (-1, {_sVm: _res})), -) - -HARNESS_OPEN_AI_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _HOAMC, - 0, - (_mI, _aKA, _aB, _mT, _te, _tP, _aF, _aPd), - ( - (MODEL_ID, 1), - (API_KEY_ARN, 1), - (HARNESS_OPEN_AI_API_BASE, 0), - (MAX_TOKENS, 0), - (TEMPERATURE, 0), - (TOP_P, 0), - (HARNESS_OPEN_AI_API_FORMAT, 0), - (13, 0), - ), -) - -HARNESS_MODEL_CONFIGURATION: StaticSchema = ( - 19, - n0, - _HMCa, - 0, - (_bMC, _oAMC, _gMC, _lLMC), - ( - (HARNESS_BEDROCK_MODEL_CONFIG, 0), - (HARNESS_OPEN_AI_MODEL_CONFIG, 0), - (HARNESS_GEMINI_MODEL_CONFIG, 0), - (HARNESS_LITE_LLM_MODEL_CONFIG, 0), - ), -) - -HARNESS_AWS_SKILL_PATH: StaticSchema = (3, n0, _HASP, 0) - -HARNESS_AWS_SKILL_PATHS: StaticSchema = ( - 16, - n0, - _HASPa, - 0, - (_mem,), - ((HARNESS_AWS_SKILL_PATH, 0),), -) - -HARNESS_SKILL_AWS_SKILLS_SOURCE: StaticSchema = ( - 18, - n0, - _HSASS, - 0, - (_pat,), - ((HARNESS_AWS_SKILL_PATHS, 0),), -) - -HARNESS_SKILL_GIT_AUTH: StaticSchema = ( - 18, - n0, - _HSGA, - 0, - (_cAr, _us), - ((API_KEY_ARN, 1), (3, 0)), -) - -HARNESS_SKILL_GIT_URL: StaticSchema = (3, n0, _HSGU, 0) - -HARNESS_SKILL_GIT_SOURCE: StaticSchema = ( - 18, - n0, - _HSGS, - 0, - (_ur, _pa, _aut), - ((HARNESS_SKILL_GIT_URL, 1), (3, 0), (HARNESS_SKILL_GIT_AUTH, 0)), -) - -HARNESS_SKILL_PATH: StaticSchema = (3, n0, _HSP, 0) - -HARNESS_SKILL_S3_URI: StaticSchema = (3, n0, _HSSU, 0) - -HARNESS_SKILL_S3_SOURCE: StaticSchema = ( - 18, - n0, - _HSSS, - 0, - (_u,), - ((HARNESS_SKILL_S3_URI, 1),), -) - -HARNESS_SKILL: StaticSchema = ( - 19, - n0, - _HS, - 0, - (_pa, _s_, _gi, _aSw), - ( - (HARNESS_SKILL_PATH, 0), - (HARNESS_SKILL_S3_SOURCE, 0), - (HARNESS_SKILL_GIT_SOURCE, 0), - (HARNESS_SKILL_AWS_SKILLS_SOURCE, 0), - ), -) - -HARNESS_SKILLS: StaticSchema = (16, n0, _HSa, 0, (_mem,), ((HARNESS_SKILL, 0),)) - -SENSITIVE_TEXT: StaticSchema = (3, n0, _STen, 4) - -HARNESS_SYSTEM_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _HSCB, - 0, - (_tex,), - ((SENSITIVE_TEXT, 0),), -) - -HARNESS_SYSTEM_PROMPT: StaticSchema = ( - 16, - n0, - _HSPa, - 0, - (_mem,), - ((HARNESS_SYSTEM_CONTENT_BLOCK, 0),), -) - -HARNESS_BROWSER_ARN: StaticSchema = (3, n0, _HBA, 0) - -HARNESS_AGENT_CORE_BROWSER_CONFIG: StaticSchema = ( - 18, - n0, - _HACBC, - 0, - (_bAr,), - ((HARNESS_BROWSER_ARN, 0),), -) - -HARNESS_CODE_INTERPRETER_ARN: StaticSchema = (3, n0, _HCIA, 0) - -HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG: StaticSchema = ( - 18, - n0, - _HACCIC, - 0, - (_cIA,), - ((HARNESS_CODE_INTERPRETER_ARN, 0),), -) - -HARNESS_GATEWAY_OUTBOUND_AUTH: StaticSchema = ( - 19, - n0, - _HGOA, - 0, - (_aIw, _no, _oau), - ((-1, 0), (-1, 0), (O_AUTH_CREDENTIAL_PROVIDER, 0)), -) - -HARNESS_AGENT_CORE_GATEWAY_CONFIG: StaticSchema = ( - 18, - n0, - _HACGC, - 0, - (_gA, _oA), - ((GATEWAY_ARN, 1), (HARNESS_GATEWAY_OUTBOUND_AUTH, 0)), -) - -HARNESS_INLINE_FUNCTION_DESCRIPTION: StaticSchema = (3, n0, _HIFD, 4) - -HARNESS_INLINE_FUNCTION_CONFIG: StaticSchema = ( - 18, - n0, - _HIFC, - 0, - (_d, _iS), - ((HARNESS_INLINE_FUNCTION_DESCRIPTION, 1), (SENSITIVE_JSON, 1)), -) - -HTTP_HEADER_KEY: StaticSchema = (3, n0, _HHK, 0) - -HTTP_HEADER_VALUE: StaticSchema = (3, n0, _HHV, 0) - -HTTP_HEADERS_MAP: StaticSchema = ( - 17, - n0, - _HHM, - 4, - (_k, _v), - ((HTTP_HEADER_KEY, 0), (HTTP_HEADER_VALUE, 0)), -) - -HARNESS_REMOTE_MCP_OUTBOUND_AUTH: StaticSchema = ( - 19, - n0, - _HRMOA, - 0, - (_aIw, _no), - ((IAM_CREDENTIAL_PROVIDER, 0), (-1, 0)), -) - -HARNESS_REMOTE_MCP_URL: StaticSchema = (3, n0, _HRMU, 4) - -HARNESS_REMOTE_MCP_CONFIG: StaticSchema = ( - 18, - n0, - _HRMC, - 0, - (_ur, _h, _oA), - ( - (HARNESS_REMOTE_MCP_URL, 1), - (HTTP_HEADERS_MAP, 0), - (HARNESS_REMOTE_MCP_OUTBOUND_AUTH, 0), - ), -) - -HARNESS_TOOL_CONFIGURATION: StaticSchema = ( - 19, - n0, - _HTCa, - 0, - (_rM, _aCB, _aCG, _iF, _aCCI), - ( - (HARNESS_REMOTE_MCP_CONFIG, 0), - (HARNESS_AGENT_CORE_BROWSER_CONFIG, 0), - (HARNESS_AGENT_CORE_GATEWAY_CONFIG, 0), - (HARNESS_INLINE_FUNCTION_CONFIG, 0), - (HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG, 0), - ), -) - -HARNESS_TOOL_NAME: StaticSchema = (3, n0, _HTN, 0) - -HARNESS_TOOL_TYPE: StaticSchema = ( - 14, - n0, - _HTT, - 0, - (_RM, _AB, _AG, _IF, _ACI), - ( - (-1, {_sVm: _rm}), - (-1, {_sVm: _ab}), - (-1, {_sVm: _ag_}), - (-1, {_sVm: _if}), - (-1, {_sVm: _aci}), - ), -) - -HARNESS_TOOL: StaticSchema = ( - 18, - n0, - _HT, - 0, - (_ty, _n, _confi), - ((HARNESS_TOOL_TYPE, 1), (HARNESS_TOOL_NAME, 0), (HARNESS_TOOL_CONFIGURATION, 0)), -) - -HARNESS_TOOLS: StaticSchema = (16, n0, _HTa, 0, (_mem,), ((HARNESS_TOOL, 0),)) - -HARNESS_SLIDING_WINDOW_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HSWC, - 0, - (_mCe,), - ((7, 0),), -) - -HARNESS_SUMMARIZATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HSC, - 0, - (_sRu, _pRM, _sSP), - ((9, 0), (7, 0), (3, 0)), -) - -HARNESS_TRUNCATION_STRATEGY_CONFIGURATION: StaticSchema = ( - 19, - n0, - _HTSC, - 0, - (_sW, _sum), - ( - (HARNESS_SLIDING_WINDOW_CONFIGURATION, 0), - (HARNESS_SUMMARIZATION_CONFIGURATION, 0), - ), -) - -HARNESS_TRUNCATION_STRATEGY: StaticSchema = ( - 14, - n0, - _HTS, - 0, - (_SW, _SUMMARIZATION, _NONE), - ((-1, {_sVm: _sw}), (-1, {_sVm: _sum}), (-1, {_sVm: _no})), -) - -HARNESS_TRUNCATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HTCar, - 0, - (_strat, _confi), - ((HARNESS_TRUNCATION_STRATEGY, 1), (HARNESS_TRUNCATION_STRATEGY_CONFIGURATION, 0)), -) - -CREATE_HARNESS_INPUT: StaticSchema = ( - 18, - n0, - _CHI, - {_sSI: _cCHR, _smith: None}, - ( - _hN, - _cT, - _eRA, - _env, - _eAn, - _eV, - _aCu, - _mod, - _sPy, - _too, - _sk, - _aTl, - _memo, - _tr, - _ho, - _mIa, - _mT, - _tSi, - _t, - ), - ( - (HARNESS_NAME, 1), - (CLIENT_TOKEN, 2), - (ROLE_ARN, 1), - (HARNESS_ENVIRONMENT_PROVIDER_REQUEST, 0), - (HARNESS_ENVIRONMENT_ARTIFACT, 0), - (ENVIRONMENT_VARIABLES_MAP, 0), - (AUTHORIZER_CONFIGURATION, 0), - (HARNESS_MODEL_CONFIGURATION, 0), - (HARNESS_SYSTEM_PROMPT, 0), - (HARNESS_TOOLS, 0), - (HARNESS_SKILLS, 0), - (HARNESS_ALLOWED_TOOLS, 0), - (HARNESS_MEMORY_CONFIGURATION, 0), - (HARNESS_TRUNCATION_CONFIGURATION, 0), - (HARNESS_HOOKS, 0), - (7, 0), - (7, 0), - (7, 0), - (TAGS_MAP, 0), - ), -) - -HARNESS_ARN: StaticSchema = (3, n0, _HA, 0) - -HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT: StaticSchema = ( - 18, - n0, - _HACRE, - 0, - (_aRA, _aRN, _aRI, _lC, _nC, _fC), - ( - (BEDROCK_AGENTCORE_RESOURCE_ARN, 1), - (3, 1), - (3, 1), - (LIFECYCLE_CONFIGURATION, 1), - (NETWORK_CONFIGURATION, 1), - (FILESYSTEM_CONFIGURATIONS, 0), - ), -) - -HARNESS_ENVIRONMENT_PROVIDER: StaticSchema = ( - 19, - n0, - _HEP, - 0, - (_aCRE,), - ((HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT, 0),), -) - -HARNESS_STATUS: StaticSchema = ( - 14, - n0, - _HSar, - 0, - (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - ), -) - -HARNESS: StaticSchema = ( - 18, - n0, - _H, - 0, - ( - _hI, - _hN, - _a, - _st, - _hV, - _eRA, - _cA, - _uA, - _mod, - _sPy, - _too, - _sk, - _aTl, - _tr, - _env, - _eAn, - _eV, - _aCu, - _memo, - _ho, - _mIa, - _mT, - _tSi, - _fR, - ), - ( - (HARNESS_ID, 1), - (HARNESS_NAME, 1), - (HARNESS_ARN, 1), - (HARNESS_STATUS, 1), - (HARNESS_VERSION, 0), - (ROLE_ARN, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (HARNESS_MODEL_CONFIGURATION, 1), - (HARNESS_SYSTEM_PROMPT, 1), - (HARNESS_TOOLS, 1), - (HARNESS_SKILLS, 1), - (HARNESS_ALLOWED_TOOLS, 1), - (HARNESS_TRUNCATION_CONFIGURATION, 1), - (HARNESS_ENVIRONMENT_PROVIDER, 1), - (HARNESS_ENVIRONMENT_ARTIFACT, 0), - (ENVIRONMENT_VARIABLES_MAP, 0), - (AUTHORIZER_CONFIGURATION, 0), - (HARNESS_MEMORY_CONFIGURATION, 0), - (HARNESS_HOOKS, 0), - (7, 0), - (7, 0), - (7, 0), - (3, 0), - ), -) - -CREATE_HARNESS_OUTPUT: StaticSchema = ( - 18, - n0, - _CHO, - {_sSI: _cCHRo, _smithy: None}, - (_ha,), - ((HARNESS, 1),), -) - -CREATE_HARNESS: StaticOperationSchema = ( - 23, - n0, - _CH, - {_smithya: MappingProxyType({"code": 201, "method": "POST", "uri": "/harnesses"})}, - CREATE_HARNESS_INPUT, - CREATE_HARNESS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_HARNESS_INPUT: StaticSchema = ( - 18, - n0, - _DHI, - {_sSI: _cDHR, _smith: None}, - (_hI, _cT, _dMM), - ((HARNESS_ID, 9), (CLIENT_TOKEN, {_sQ: _cT, _sT: None}), (2, {_sQ: _dMM})), -) - -DELETE_HARNESS_OUTPUT: StaticSchema = ( - 18, - n0, - _DHO, - {_sSI: _cDHRo, _smithy: None}, - (_ha,), - ((HARNESS, 0),), -) - -DELETE_HARNESS: StaticOperationSchema = ( - 23, - n0, - _DH, - { - _smithya: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/harnesses/{harnessId}"} - ) - }, - DELETE_HARNESS_INPUT, - DELETE_HARNESS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_HARNESS_INPUT: StaticSchema = ( - 18, - n0, - _GHI, - {_sSI: _cGHR, _smith: None}, - (_hI, _hV), - ((HARNESS_ID, 9), (HARNESS_VERSION, {_sQ: _hV})), -) - -GET_HARNESS_OUTPUT: StaticSchema = ( - 18, - n0, - _GHO, - {_sSI: _cGHRo, _smithy: None}, - (_ha,), - ((HARNESS, 1),), -) - -GET_HARNESS: StaticOperationSchema = ( - 23, - n0, - _GH, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/harnesses/{harnessId}"} - ) - }, - GET_HARNESS_INPUT, - GET_HARNESS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_HARNESSES_INPUT: StaticSchema = ( - 18, - n0, - _LHI, - {_sSI: _cLHR, _smith: None}, - (_mR, _nT), - ((MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -HARNESS_SUMMARY: StaticSchema = ( - 18, - n0, - _HSarn, - 0, - (_hI, _hN, _a, _st, _cA, _uA, _hV), - ( - (HARNESS_ID, 1), - (HARNESS_NAME, 1), - (HARNESS_ARN, 1), - (HARNESS_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (HARNESS_VERSION, 0), - ), -) - -HARNESS_SUMMARIES: StaticSchema = (16, n0, _HSarne, 0, (_mem,), ((HARNESS_SUMMARY, 0),)) - -LIST_HARNESSES_OUTPUT: StaticSchema = ( - 18, - n0, - _LHO, - {_sSI: _cLHRo, _smithy: None}, - (_har, _nT), - ((HARNESS_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_HARNESSES: StaticOperationSchema = ( - 23, - n0, - _LHi, - {_smithya: MappingProxyType({"code": 200, "method": "GET", "uri": "/harnesses"})}, - LIST_HARNESSES_INPUT, - LIST_HARNESSES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_HARNESS_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LHVI, - {_sSI: _cLHVR, _smith: None}, - (_hI, _mR, _nT), - ((HARNESS_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -HARNESS_VERSION_SUMMARY: StaticSchema = ( - 18, - n0, - _HVS, - 0, - (_hI, _hN, _a, _hV, _st, _cA, _uA, _fR), - ( - (HARNESS_ID, 1), - (HARNESS_NAME, 1), - (HARNESS_ARN, 1), - (HARNESS_VERSION, 1), - (HARNESS_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (3, 0), - ), -) - -HARNESS_VERSION_SUMMARIES: StaticSchema = ( - 16, - n0, - _HVSa, - 0, - (_mem,), - ((HARNESS_VERSION_SUMMARY, 0),), -) - -LIST_HARNESS_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LHVO, - {_sSI: _cLHVRo, _smithy: None}, - (_hVa, _nT), - ((HARNESS_VERSION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_HARNESS_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LHV, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/harnesses/{harnessId}/versions"} - ) - }, - LIST_HARNESS_VERSIONS_INPUT, - LIST_HARNESS_VERSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATED_AUTHORIZER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _UAC, - 0, - (_oV,), - ((AUTHORIZER_CONFIGURATION, 0),), -) - -UPDATED_HARNESS_ENVIRONMENT_ARTIFACT: StaticSchema = ( - 18, - n0, - _UHEA, - 0, - (_oV,), - ((HARNESS_ENVIRONMENT_ARTIFACT, 0),), -) - -UPDATED_HARNESS_MEMORY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _UHMC, - 0, - (_oV,), - ((HARNESS_MEMORY_CONFIGURATION, 0),), -) - -UPDATE_HARNESS_INPUT: StaticSchema = ( - 18, - n0, - _UHI, - {_sSI: _cUHR, _smith: None}, - ( - _hI, - _cT, - _eRA, - _env, - _eAn, - _eV, - _aCu, - _mod, - _sPy, - _too, - _sk, - _aTl, - _memo, - _tr, - _ho, - _mIa, - _mT, - _tSi, - ), - ( - (HARNESS_ID, 9), - (CLIENT_TOKEN, 2), - (ROLE_ARN, 0), - (HARNESS_ENVIRONMENT_PROVIDER_REQUEST, 0), - (UPDATED_HARNESS_ENVIRONMENT_ARTIFACT, 0), - (ENVIRONMENT_VARIABLES_MAP, 0), - (UPDATED_AUTHORIZER_CONFIGURATION, 0), - (HARNESS_MODEL_CONFIGURATION, 0), - (HARNESS_SYSTEM_PROMPT, 0), - (HARNESS_TOOLS, 0), - (HARNESS_SKILLS, 0), - (HARNESS_ALLOWED_TOOLS, 0), - (UPDATED_HARNESS_MEMORY_CONFIGURATION, 0), - (HARNESS_TRUNCATION_CONFIGURATION, 0), - (HARNESS_HOOKS, 0), - (7, 0), - (7, 0), - (7, 0), - ), -) - -UPDATE_HARNESS_OUTPUT: StaticSchema = ( - 18, - n0, - _UHO, - {_sSI: _cUHRo, _smithy: None}, - (_ha,), - ((HARNESS, 1),), -) - -UPDATE_HARNESS: StaticOperationSchema = ( - 23, - n0, - _UH, - { - _smithya: MappingProxyType( - {"code": 200, "method": "PATCH", "uri": "/harnesses/{harnessId}"} - ) - }, - UPDATE_HARNESS_INPUT, - UPDATE_HARNESS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAGGABLE_RESOURCES_ARN: StaticSchema = (3, n0, _TRA, 0) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _smith: None}, - (_rAe,), - ((TAGGABLE_RESOURCES_ARN, 9),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smithy: None}, - (_t,), - ((TAGS_MAP, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/tags/{resourceArn}"} - ) - }, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ARN: StaticSchema = (3, n0, _Ar, 0) - -METADATA_KEY: StaticSchema = (3, n0, _MK, 0) - -METADATA_VALUE_TYPE: StaticSchema = ( - 14, - n0, - _MVT, - 0, - (_STRING, _STRINGLIST, _NUMBER), - ((-1, {_sVm: _STRING}), (-1, {_sVm: _STRINGLIST}), (-1, {_sVm: _NUMBER})), -) - -INDEXED_KEY: StaticSchema = ( - 18, - n0, - _IK, - 0, - (_k, _ty), - ((METADATA_KEY, 1), (METADATA_VALUE_TYPE, 1)), -) - -INDEXED_KEYS_LIST: StaticSchema = (16, n0, _IKL, 0, (_mem,), ((INDEXED_KEY, 0),)) - -PROMPT: StaticSchema = (3, n0, _Pro, 4) - -EPISODIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _EOCCI, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -EPISODIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _EOECI, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -DEFINITION: StaticSchema = (3, n0, _De, 4) - -LLM_EXTRACTION_INSTRUCTION: StaticSchema = (3, n0, _LEIl, 4) - -NUMBER_VALIDATION: StaticSchema = (18, n0, _NV, 0, (_mV, _mVa), ((10, 0), (10, 0))) - -STRING_LIST_VALIDATION: StaticSchema = ( - 18, - n0, - _SLV, - 0, - (_aV, _mIax), - ((ALLOWED_STRING_LIST_VALUES_LIST, 0), (7, 0)), -) - -STRING_VALIDATION: StaticSchema = ( - 18, - n0, - _SVt, - 0, - (_aV,), - ((ALLOWED_STRING_VALUES_LIST, 1),), -) - -VALIDATION: StaticSchema = ( - 19, - n0, - _V, - 0, - (_sVt, _sLV, _nV), - ((STRING_VALIDATION, 0), (STRING_LIST_VALIDATION, 0), (NUMBER_VALIDATION, 0)), -) - -LLM_EXTRACTION_CONFIG: StaticSchema = ( - 18, - n0, - _LECl, - 0, - (_lEI, _de, _va), - ((LLM_EXTRACTION_INSTRUCTION, 0), (DEFINITION, 1), (VALIDATION, 0)), -) - -EXTRACTION_CONFIG: StaticSchema = ( - 19, - n0, - _ECx, - 0, - (_lEC,), - ((LLM_EXTRACTION_CONFIG, 0),), -) - -EXTRACTION_TYPE: StaticSchema = ( - 14, - n0, - _ETx, - 0, - (_LI, _SC_), - ((-1, {_sVm: _LI}), (-1, {_sVm: _SC_})), -) - -METADATA_SCHEMA_ENTRY: StaticSchema = ( - 18, - n0, - _MSE, - 0, - (_k, _ty, _eTx, _eCxt), - ( - (METADATA_KEY, 1), - (METADATA_VALUE_TYPE, 0), - (EXTRACTION_TYPE, 0), - (EXTRACTION_CONFIG, 0), - ), -) - -METADATA_SCHEMA_LIST: StaticSchema = ( - 16, - n0, - _MSL, - 0, - (_mem,), - ((METADATA_SCHEMA_ENTRY, 0),), -) - -MEMORY_RECORD_SCHEMA: StaticSchema = ( - 18, - n0, - _MRS, - 0, - (_mS,), - ((METADATA_SCHEMA_LIST, 0),), -) - -NAMESPACE: StaticSchema = (3, n0, _Na, 0) - -NAMESPACES_LIST: StaticSchema = (16, n0, _NL, 0, (_mem,), ((NAMESPACE, 0),)) - -EPISODIC_OVERRIDE_REFLECTION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _EORCI, - 0, - (_aTP, _mI, _na, _nTa, _mRS), - ( - (PROMPT, 1), - (3, 1), - (NAMESPACES_LIST, 0), - (NAMESPACES_LIST, 0), - (MEMORY_RECORD_SCHEMA, 0), - ), -) - -EPISODIC_OVERRIDE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _EOCI, - 0, - (_ext, _cons, _ref), - ( - (EPISODIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), - (EPISODIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), - (EPISODIC_OVERRIDE_REFLECTION_CONFIGURATION_INPUT, 0), - ), -) - -INVOCATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _ICIn, - 0, - (_tA, _pDBN), - ((ARN, 1), (3, 1)), -) - -MESSAGE_BASED_TRIGGER_INPUT: StaticSchema = ( - 18, - n0, - _MBTI, - 0, - (_mCes,), - ((7, {_smi: 6}),), -) - -TIME_BASED_TRIGGER_INPUT: StaticSchema = (18, n0, _TBTI, 0, (_iST,), ((7, {_smi: 20}),)) - -TOKEN_BASED_TRIGGER_INPUT: StaticSchema = ( - 18, - n0, - _TBTIo, - 0, - (_tC,), - ((7, {_smi: 5000}),), -) - -TRIGGER_CONDITION_INPUT: StaticSchema = ( - 19, - n0, - _TCI, - 0, - (_mBT, _tBT, _tBTi), - ( - (MESSAGE_BASED_TRIGGER_INPUT, 0), - (TOKEN_BASED_TRIGGER_INPUT, 0), - (TIME_BASED_TRIGGER_INPUT, 0), - ), -) - -TRIGGER_CONDITION_INPUT_LIST: StaticSchema = ( - 16, - n0, - _TCIL, - 0, - (_mem,), - ((TRIGGER_CONDITION_INPUT, 0),), -) - -SELF_MANAGED_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _SMCI, - 0, - (_tCr, _iCnv, _hCWS), - ( - (TRIGGER_CONDITION_INPUT_LIST, 0), - (INVOCATION_CONFIGURATION_INPUT, 1), - (7, {_smi: 4}), - ), -) - -SEMANTIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _SOCCI, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -SEMANTIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _SOECI, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -SEMANTIC_OVERRIDE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _SOCI, - 0, - (_ext, _cons), - ( - (SEMANTIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), - (SEMANTIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), - ), -) - -SUMMARY_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _SOCCIu, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -SUMMARY_OVERRIDE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _SOCIu, - 0, - (_cons,), - ((SUMMARY_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0),), -) - -USER_PREFERENCE_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UPOCCI, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -USER_PREFERENCE_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UPOECI, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -USER_PREFERENCE_OVERRIDE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UPOCI, - 0, - (_ext, _cons), - ( - (USER_PREFERENCE_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), - (USER_PREFERENCE_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), - ), -) - -CUSTOM_CONFIGURATION_INPUT: StaticSchema = ( - 19, - n0, - _CCIu, - 0, - (_sOe, _sOu, _uPO, _eO, _sMC), - ( - (SEMANTIC_OVERRIDE_CONFIGURATION_INPUT, 0), - (SUMMARY_OVERRIDE_CONFIGURATION_INPUT, 0), - (USER_PREFERENCE_OVERRIDE_CONFIGURATION_INPUT, 0), - (EPISODIC_OVERRIDE_CONFIGURATION_INPUT, 0), - (SELF_MANAGED_CONFIGURATION_INPUT, 0), - ), -) - -NAME: StaticSchema = (3, n0, _Nam, 0) - -RECORD_EXPIRY_ACTION: StaticSchema = ( - 14, - n0, - _REA, - 0, - (_REMOVE,), - ((-1, {_sVm: _REMOVE}),), -) - -RECORD_EXPIRY_DURATION_DAYS: StaticSchema = (7, n0, _REDD, 0) - -RECORD_EXPIRY_SPECIFICATION: StaticSchema = ( - 19, - n0, - _RES, - 0, - (_rEDD, _ac), - ((RECORD_EXPIRY_DURATION_DAYS, 0), (RECORD_EXPIRY_ACTION, 0)), -) - -CUSTOM_MEMORY_STRATEGY_INPUT: StaticSchema = ( - 18, - n0, - _CMSI, - 0, - (_n, _d, _na, _nTa, _con, _mRS, _rES), - ( - (NAME, 1), - (DESCRIPTION, 0), - (NAMESPACES_LIST, 0), - (NAMESPACES_LIST, 0), - (CUSTOM_CONFIGURATION_INPUT, 0), - (MEMORY_RECORD_SCHEMA, 0), - (RECORD_EXPIRY_SPECIFICATION, 0), - ), -) - -EPISODIC_REFLECTION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _ERCI, - 0, - (_na, _nTa, _mRS), - ((NAMESPACES_LIST, 0), (NAMESPACES_LIST, 0), (MEMORY_RECORD_SCHEMA, 0)), -) - -EPISODIC_MEMORY_STRATEGY_INPUT: StaticSchema = ( - 18, - n0, - _EMSI, - 0, - (_n, _d, _na, _nTa, _rCef, _mRS, _rES), - ( - (NAME, 1), - (DESCRIPTION, 0), - (NAMESPACES_LIST, 0), - (NAMESPACES_LIST, 0), - (EPISODIC_REFLECTION_CONFIGURATION_INPUT, 0), - (MEMORY_RECORD_SCHEMA, 0), - (RECORD_EXPIRY_SPECIFICATION, 0), - ), -) - -SEMANTIC_MEMORY_STRATEGY_INPUT: StaticSchema = ( - 18, - n0, - _SMSI, - 0, - (_n, _d, _na, _nTa, _mRS, _rES), - ( - (NAME, 1), - (DESCRIPTION, 0), - (NAMESPACES_LIST, 0), - (NAMESPACES_LIST, 0), - (MEMORY_RECORD_SCHEMA, 0), - (RECORD_EXPIRY_SPECIFICATION, 0), - ), -) - -SUMMARY_MEMORY_STRATEGY_INPUT: StaticSchema = ( - 18, - n0, - _SMSIu, - 0, - (_n, _d, _na, _nTa, _mRS, _rES), - ( - (NAME, 1), - (DESCRIPTION, 0), - (NAMESPACES_LIST, 0), - (NAMESPACES_LIST, 0), - (MEMORY_RECORD_SCHEMA, 0), - (RECORD_EXPIRY_SPECIFICATION, 0), - ), -) - -USER_PREFERENCE_MEMORY_STRATEGY_INPUT: StaticSchema = ( - 18, - n0, - _UPMSI, - 0, - (_n, _d, _na, _nTa, _mRS, _rES), - ( - (NAME, 1), - (DESCRIPTION, 0), - (NAMESPACES_LIST, 0), - (NAMESPACES_LIST, 0), - (MEMORY_RECORD_SCHEMA, 0), - (RECORD_EXPIRY_SPECIFICATION, 0), - ), -) - -MEMORY_STRATEGY_INPUT: StaticSchema = ( - 19, - n0, - _MSI, - 0, - (_sMS, _sMSu, _uPMS, _cMS, _eMS), - ( - (SEMANTIC_MEMORY_STRATEGY_INPUT, 0), - (SUMMARY_MEMORY_STRATEGY_INPUT, 0), - (USER_PREFERENCE_MEMORY_STRATEGY_INPUT, 0), - (CUSTOM_MEMORY_STRATEGY_INPUT, 0), - (EPISODIC_MEMORY_STRATEGY_INPUT, 0), - ), -) - -MEMORY_STRATEGY_INPUT_LIST: StaticSchema = ( - 16, - n0, - _MSIL, - 0, - (_mem,), - ((MEMORY_STRATEGY_INPUT, 0),), -) - -NAMESPACE_VARIABLE_KEY: StaticSchema = (3, n0, _NVK, 0) - -NAMESPACE_ALLOWED_VALUE: StaticSchema = (3, n0, _NAV, 0) - -NAMESPACE_ALLOWED_VALUES_LIST: StaticSchema = ( - 16, - n0, - _NAVL, - 0, - (_mem,), - ((NAMESPACE_ALLOWED_VALUE, 0),), -) - -NAMESPACE_REGEX_PATTERN: StaticSchema = (3, n0, _NRP, 0) - -NAMESPACE_KEY_VALIDATION: StaticSchema = ( - 18, - n0, - _NKV, - 0, - (_aV, _rPe), - ((NAMESPACE_ALLOWED_VALUES_LIST, 0), (NAMESPACE_REGEX_PATTERN, 0)), -) - -NAMESPACE_KEY_ENTRY: StaticSchema = ( - 18, - n0, - _NKE, - 0, - (_k, _va), - ((NAMESPACE_VARIABLE_KEY, 1), (NAMESPACE_KEY_VALIDATION, 0)), -) - -NAMESPACE_KEYS_LIST: StaticSchema = ( - 16, - n0, - _NKL, - 0, - (_mem,), - ((NAMESPACE_KEY_ENTRY, 0),), -) - -CONTENT_LEVEL: StaticSchema = ( - 14, - n0, - _CLo, - 0, - (_MO, _FC__), - ((-1, {_sVm: _MO}), (-1, {_sVm: _FC__})), -) - -CONTENT_TYPE: StaticSchema = (14, n0, _CTo, 0, (_MR_,), ((-1, {_sVm: _MR_}),)) - -CONTENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CCont, - 0, - (_ty, _le), - ((CONTENT_TYPE, 1), (CONTENT_LEVEL, {_smi: _MO})), -) - -CONTENT_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _CCLo, - 0, - (_mem,), - ((CONTENT_CONFIGURATION, 0),), -) - -KINESIS_RESOURCE: StaticSchema = ( - 18, - n0, - _KR, - 0, - (_dSA, _cCon), - ((ARN, 1), (CONTENT_CONFIGURATION_LIST, 1)), -) - -STREAM_DELIVERY_RESOURCE: StaticSchema = ( - 19, - n0, - _SDR, - 0, - (_ki,), - ((KINESIS_RESOURCE, 0),), -) - -STREAM_DELIVERY_RESOURCES_LIST: StaticSchema = ( - 16, - n0, - _SDRL, - 0, - (_mem,), - ((STREAM_DELIVERY_RESOURCE, 0),), -) - -STREAM_DELIVERY_RESOURCES: StaticSchema = ( - 18, - n0, - _SDRt, - 0, - (_reso,), - ((STREAM_DELIVERY_RESOURCES_LIST, 1),), -) - -CREATE_MEMORY_INPUT: StaticSchema = ( - 18, - n0, - _CMIr, - {_smith: None}, - (_cT, _n, _d, _eKA, _mERA, _eED, _mSe, _iK, _nK, _sDR, _t), - ( - (NON_EMPTY_STRING, 2), - (NAME, 1), - (DESCRIPTION, 0), - (ARN, 0), - (ARN, 0), - (7, 1), - (MEMORY_STRATEGY_INPUT_LIST, 0), - (INDEXED_KEYS_LIST, 0), - (NAMESPACE_KEYS_LIST, 0), - (STREAM_DELIVERY_RESOURCES, 0), - (TAGS_MAP, 0), - ), -) - -MEMORY_ID: StaticSchema = (3, n0, _MIe, 0) - -MEMORY_STATUS: StaticSchema = ( - 14, - n0, - _MSe, - 0, - (_CREATING, _ACTIVE, _FAILED, _DELETING, _UPDATING), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _FAILED}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _UPDATING}), - ), -) - -EPISODIC_CONSOLIDATION_OVERRIDE: StaticSchema = ( - 18, - n0, - _ECO, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -SEMANTIC_CONSOLIDATION_OVERRIDE: StaticSchema = ( - 18, - n0, - _SCO, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -SUMMARY_CONSOLIDATION_OVERRIDE: StaticSchema = ( - 18, - n0, - _SCOu, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -USER_PREFERENCE_CONSOLIDATION_OVERRIDE: StaticSchema = ( - 18, - n0, - _UPCO, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -CUSTOM_CONSOLIDATION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _CCC, - 0, - (_sCO, _sCOu, _uPCO, _eCO), - ( - (SEMANTIC_CONSOLIDATION_OVERRIDE, 0), - (SUMMARY_CONSOLIDATION_OVERRIDE, 0), - (USER_PREFERENCE_CONSOLIDATION_OVERRIDE, 0), - (EPISODIC_CONSOLIDATION_OVERRIDE, 0), - ), -) - -CONSOLIDATION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _CCons, - 0, - (_cCC,), - ((CUSTOM_CONSOLIDATION_CONFIGURATION, 0),), -) - -EPISODIC_EXTRACTION_OVERRIDE: StaticSchema = ( - 18, - n0, - _EEO, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -SEMANTIC_EXTRACTION_OVERRIDE: StaticSchema = ( - 18, - n0, - _SEO, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -USER_PREFERENCE_EXTRACTION_OVERRIDE: StaticSchema = ( - 18, - n0, - _UPEO, - 0, - (_aTP, _mI), - ((PROMPT, 1), (3, 1)), -) - -CUSTOM_EXTRACTION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _CEC, - 0, - (_sEO, _uPEO, _eEO), - ( - (SEMANTIC_EXTRACTION_OVERRIDE, 0), - (USER_PREFERENCE_EXTRACTION_OVERRIDE, 0), - (EPISODIC_EXTRACTION_OVERRIDE, 0), - ), -) - -EXTRACTION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _ECxt, - 0, - (_cEC,), - ((CUSTOM_EXTRACTION_CONFIGURATION, 0),), -) - -EPISODIC_REFLECTION_OVERRIDE: StaticSchema = ( - 18, - n0, - _ERO, - 0, - (_aTP, _mI, _na, _nTa, _mRS), - ( - (PROMPT, 1), - (3, 1), - (NAMESPACES_LIST, 0), - (NAMESPACES_LIST, 0), - (MEMORY_RECORD_SCHEMA, 0), - ), -) - -CUSTOM_REFLECTION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _CRC, - 0, - (_eRO,), - ((EPISODIC_REFLECTION_OVERRIDE, 0),), -) - -EPISODIC_REFLECTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ERC, - 0, - (_na, _nTa, _mRS), - ((NAMESPACES_LIST, 0), (NAMESPACES_LIST, 0), (MEMORY_RECORD_SCHEMA, 0)), -) - -REFLECTION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _RCef, - 0, - (_cRC, _eRC), - ((CUSTOM_REFLECTION_CONFIGURATION, 0), (EPISODIC_REFLECTION_CONFIGURATION, 0)), -) - -INVOCATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ICnv, - 0, - (_tA, _pDBN), - ((ARN, 1), (3, 1)), -) - -MESSAGE_BASED_TRIGGER: StaticSchema = (18, n0, _MBT, 0, (_mCes,), ((7, 0),)) - -TIME_BASED_TRIGGER: StaticSchema = (18, n0, _TBT, 0, (_iST,), ((7, 0),)) - -TOKEN_BASED_TRIGGER: StaticSchema = (18, n0, _TBTo, 0, (_tC,), ((7, 0),)) - -TRIGGER_CONDITION: StaticSchema = ( - 19, - n0, - _TCr, - 0, - (_mBT, _tBT, _tBTi), - ((MESSAGE_BASED_TRIGGER, 0), (TOKEN_BASED_TRIGGER, 0), (TIME_BASED_TRIGGER, 0)), -) - -TRIGGER_CONDITIONS_LIST: StaticSchema = ( - 16, - n0, - _TCL, - 0, - (_mem,), - ((TRIGGER_CONDITION, 0),), -) - -SELF_MANAGED_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SMC, - 0, - (_tCr, _iCnv, _hCWS), - ((TRIGGER_CONDITIONS_LIST, 1), (INVOCATION_CONFIGURATION, 1), (7, 1)), -) - -OVERRIDE_TYPE: StaticSchema = ( - 14, - n0, - _OT, - 0, - (_SO__, _SO___, _UPO, _SM_, _EO), - ( - (-1, {_sVm: _SO__}), - (-1, {_sVm: _SO___}), - (-1, {_sVm: _UPO}), - (-1, {_sVm: _SM_}), - (-1, {_sVm: _EO}), - ), -) - -STRATEGY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCtr, - 0, - (_ty, _ext, _cons, _ref, _sMC), - ( - (OVERRIDE_TYPE, 0), - (EXTRACTION_CONFIGURATION, 0), - (CONSOLIDATION_CONFIGURATION, 0), - (REFLECTION_CONFIGURATION, 0), - (SELF_MANAGED_CONFIGURATION, 0), - ), -) - -MEMORY_STRATEGY_STATUS: StaticSchema = ( - 14, - n0, - _MSS, - 0, - (_CREATING, _ACTIVE, _DELETING, _FAILED), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _FAILED}), - ), -) - -MEMORY_STRATEGY_ID: StaticSchema = (3, n0, _MSIe, 0) - -MEMORY_STRATEGY_TYPE: StaticSchema = ( - 14, - n0, - _MST, - 0, - (_SEMANTIC, _SUMMARIZATION, _UP, _CUSTOM, _EPISODIC), - ( - (-1, {_sVm: _SEMANTIC}), - (-1, {_sVm: _SUMMARIZATION}), - (-1, {_sVm: _UP}), - (-1, {_sVm: _CUSTOM}), - (-1, {_sVm: _EPISODIC}), - ), -) - -MEMORY_STRATEGY: StaticSchema = ( - 18, - n0, - _MSem, - 0, - (_sIt, _n, _d, _con, _ty, _na, _nTa, _cA, _uA, _st, _mRS, _rEDD), - ( - (MEMORY_STRATEGY_ID, 1), - (NAME, 1), - (DESCRIPTION, 0), - (STRATEGY_CONFIGURATION, 0), - (MEMORY_STRATEGY_TYPE, 1), - (NAMESPACES_LIST, 1), - (NAMESPACES_LIST, 1), - (4, 0), - (4, 0), - (MEMORY_STRATEGY_STATUS, 0), - (MEMORY_RECORD_SCHEMA, 0), - (RECORD_EXPIRY_DURATION_DAYS, 0), - ), -) - -MEMORY_STRATEGY_LIST: StaticSchema = ( - 16, - n0, - _MSLe, - 0, - (_mem,), - ((MEMORY_STRATEGY, 0),), -) - -MEMORY: StaticSchema = ( - 18, - n0, - _Me, - 0, - ( - _a, - _i, - _n, - _d, - _eKA, - _mERA, - _eED, - _st, - _fR, - _cA, - _uA, - _stra, - _iK, - _nK, - _sDR, - _mBRA, - ), - ( - (MEMORY_ARN, 1), - (MEMORY_ID, 1), - (NAME, 1), - (DESCRIPTION, 0), - (ARN, 0), - (ARN, 0), - (7, 1), - (MEMORY_STATUS, 1), - (3, 0), - (4, 1), - (4, 1), - (MEMORY_STRATEGY_LIST, 0), - (INDEXED_KEYS_LIST, 0), - (NAMESPACE_KEYS_LIST, 0), - (STREAM_DELIVERY_RESOURCES, 0), - (ARN, 0), - ), -) - -CREATE_MEMORY_OUTPUT: StaticSchema = ( - 18, - n0, - _CMO, - {_smithy: None}, - (_memo,), - ((MEMORY, 0),), -) - -SERVICE_EXCEPTION: StaticSchema = (18, n0, _SEe, {_s: _se, _sE: 500}, (_m,), ((3, 0),)) - -THROTTLED_EXCEPTION: StaticSchema = (18, n0, _TEh, {_s: _c, _sE: 429}, (_m,), ((3, 0),)) - -CREATE_MEMORY: StaticOperationSchema = ( - 23, - n0, - _CM, - { - _smithya: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/memories/create"} - ) - }, - CREATE_MEMORY_INPUT, - CREATE_MEMORY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_MEMORY_INPUT: StaticSchema = ( - 18, - n0, - _DMI, - {_smith: None}, - (_cT, _mIe), - ((NON_EMPTY_STRING, {_sQ: _cT, _sT: None}), (MEMORY_ID, 9)), -) - -DELETE_MEMORY_OUTPUT: StaticSchema = ( - 18, - n0, - _DMO, - {_smithy: None}, - (_mIe, _st), - ((MEMORY_ID, 1), (MEMORY_STATUS, 0)), -) - -DELETE_MEMORY: StaticOperationSchema = ( - 23, - n0, - _DM, - { - _smithya: MappingProxyType( - {"code": 202, "method": "DELETE", "uri": "/memories/{memoryId}/delete"} - ) - }, - DELETE_MEMORY_INPUT, - DELETE_MEMORY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MEMORY_VIEW: StaticSchema = ( - 14, - n0, - _MVe, - 0, - (_FULL, _WD), - ((-1, {_sVm: _fu}), (-1, {_sVm: _wd})), -) - -GET_MEMORY_INPUT: StaticSchema = ( - 18, - n0, - _GMI, - {_smith: None}, - (_mIe, _vie), - ((MEMORY_ID, 9), (MEMORY_VIEW, {_smi: _fu, _sQ: _vie})), -) - -GET_MEMORY_OUTPUT: StaticSchema = ( - 18, - n0, - _GMO, - {_smithy: None}, - (_memo,), - ((MEMORY, 1),), -) - -GET_MEMORY: StaticOperationSchema = ( - 23, - n0, - _GM, - { - _smithya: MappingProxyType( - {"method": "GET", "uri": "/memories/{memoryId}/details"} - ) - }, - GET_MEMORY_INPUT, - GET_MEMORY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_MEMORIES_INPUT: StaticSchema = ( - 18, - n0, - _LMI, - {_smith: None}, - (_mR, _nT), - ((7, {_smi: 100}), (3, 0)), -) - -MEMORY_SUMMARY: StaticSchema = ( - 18, - n0, - _MSemo, - 0, - (_a, _i, _st, _cA, _uA, _mBRA), - ((MEMORY_ARN, 0), (MEMORY_ID, 0), (MEMORY_STATUS, 0), (4, 1), (4, 1), (ARN, 0)), -) - -MEMORY_SUMMARY_LIST: StaticSchema = (16, n0, _MSLem, 0, (_mem,), ((MEMORY_SUMMARY, 0),)) - -LIST_MEMORIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LMO, - {_smithy: None}, - (_memor, _nT), - ((MEMORY_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_MEMORIES: StaticOperationSchema = ( - 23, - n0, - _LMi, - {_smithya: MappingProxyType({"method": "POST", "uri": "/memories/"})}, - LIST_MEMORIES_INPUT, - LIST_MEMORIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_MEMORY_STRATEGY_INPUT: StaticSchema = (18, n0, _DMSI, 0, (_mSI,), ((3, 1),)) - -DELETE_MEMORY_STRATEGIES_LIST: StaticSchema = ( - 16, - n0, - _DMSL, - 0, - (_mem,), - ((DELETE_MEMORY_STRATEGY_INPUT, 0),), -) - -CUSTOM_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( - 19, - n0, - _CCCI, - 0, - (_sCO, _sCOu, _uPCO, _eCO), - ( - (SEMANTIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), - (SUMMARY_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), - (USER_PREFERENCE_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), - (EPISODIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), - ), -) - -MODIFY_CONSOLIDATION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _MCC, - 0, - (_cCC,), - ((CUSTOM_CONSOLIDATION_CONFIGURATION_INPUT, 0),), -) - -CUSTOM_EXTRACTION_CONFIGURATION_INPUT: StaticSchema = ( - 19, - n0, - _CECI, - 0, - (_sEO, _uPEO, _eEO), - ( - (SEMANTIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), - (USER_PREFERENCE_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), - (EPISODIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), - ), -) - -MODIFY_EXTRACTION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _MEC, - 0, - (_cEC,), - ((CUSTOM_EXTRACTION_CONFIGURATION_INPUT, 0),), -) - -CUSTOM_REFLECTION_CONFIGURATION_INPUT: StaticSchema = ( - 19, - n0, - _CRCI, - 0, - (_eRO,), - ((EPISODIC_OVERRIDE_REFLECTION_CONFIGURATION_INPUT, 0),), -) - -MODIFY_REFLECTION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _MRC, - 0, - (_eRC, _cRC), - ( - (EPISODIC_REFLECTION_CONFIGURATION_INPUT, 0), - (CUSTOM_REFLECTION_CONFIGURATION_INPUT, 0), - ), -) - -MODIFY_INVOCATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _MICI, - 0, - (_tA, _pDBN), - ((ARN, 0), (3, 0)), -) - -MODIFY_SELF_MANAGED_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MSMC, - 0, - (_tCr, _iCnv, _hCWS), - ( - (TRIGGER_CONDITION_INPUT_LIST, 0), - (MODIFY_INVOCATION_CONFIGURATION_INPUT, 0), - (7, 0), - ), -) - -MODIFY_STRATEGY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MSC, - 0, - (_ext, _cons, _ref, _sMC), - ( - (MODIFY_EXTRACTION_CONFIGURATION, 0), - (MODIFY_CONSOLIDATION_CONFIGURATION, 0), - (MODIFY_REFLECTION_CONFIGURATION, 0), - (MODIFY_SELF_MANAGED_CONFIGURATION, 0), - ), -) - -MODIFY_MEMORY_STRATEGY_INPUT: StaticSchema = ( - 18, - n0, - _MMSI, - 0, - (_mSI, _d, _na, _nTa, _con, _mRS, _rES), - ( - (3, 1), - (DESCRIPTION, 0), - (NAMESPACES_LIST, 0), - (NAMESPACES_LIST, 0), - (MODIFY_STRATEGY_CONFIGURATION, 0), - (MEMORY_RECORD_SCHEMA, 0), - (RECORD_EXPIRY_SPECIFICATION, 0), - ), -) - -MODIFY_MEMORY_STRATEGIES_LIST: StaticSchema = ( - 16, - n0, - _MMSL, - 0, - (_mem,), - ((MODIFY_MEMORY_STRATEGY_INPUT, 0),), -) - -MODIFY_MEMORY_STRATEGIES: StaticSchema = ( - 18, - n0, - _MMS, - 0, - (_aMS, _mMS, _dMS), - ( - (MEMORY_STRATEGY_INPUT_LIST, 0), - (MODIFY_MEMORY_STRATEGIES_LIST, 0), - (DELETE_MEMORY_STRATEGIES_LIST, 0), - ), -) - -UPDATE_MEMORY_INPUT: StaticSchema = ( - 18, - n0, - _UMI, - {_smith: None}, - (_cT, _mIe, _d, _eED, _mERA, _mSe, _aIK, _nK, _sDR), - ( - (NON_EMPTY_STRING, 2), - (MEMORY_ID, 9), - (DESCRIPTION, 0), - (7, 0), - (ARN, 0), - (MODIFY_MEMORY_STRATEGIES, 0), - (INDEXED_KEYS_LIST, 0), - (NAMESPACE_KEYS_LIST, 0), - (STREAM_DELIVERY_RESOURCES, 0), - ), -) - -UPDATE_MEMORY_OUTPUT: StaticSchema = ( - 18, - n0, - _UMO, - {_smithy: None}, - (_memo,), - ((MEMORY, 0),), -) - -UPDATE_MEMORY: StaticOperationSchema = ( - 23, - n0, - _UM, - { - _smithya: MappingProxyType( - {"code": 202, "method": "PUT", "uri": "/memories/{memoryId}/update"} - ) - }, - UPDATE_MEMORY_INPUT, - UPDATE_MEMORY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREDENTIAL_PROVIDER_VENDOR_TYPE: StaticSchema = ( - 14, - n0, - _CPVT, - 0, - ( - _GO, - _GOi, - _SOl, - _SOa, - _MOi, - _COu, - _AOt, - _LOi, - _XO, - _OO, - _OLO, - _POO, - _FOa, - _YO, - _RO, - _ZO, - _TO, - _SOp, - _DOr, - _NO, - _HO, - _CAO, - _FAO, - _AOu, - _COo, - ), - ( - (-1, {_sVm: _GO}), - (-1, {_sVm: _GOi}), - (-1, {_sVm: _SOl}), - (-1, {_sVm: _SOa}), - (-1, {_sVm: _MOi}), - (-1, {_sVm: _COu}), - (-1, {_sVm: _AOt}), - (-1, {_sVm: _LOi}), - (-1, {_sVm: _XO}), - (-1, {_sVm: _OO}), - (-1, {_sVm: _OLO}), - (-1, {_sVm: _POO}), - (-1, {_sVm: _FOa}), - (-1, {_sVm: _YO}), - (-1, {_sVm: _RO}), - (-1, {_sVm: _ZO}), - (-1, {_sVm: _TO}), - (-1, {_sVm: _SOp}), - (-1, {_sVm: _DOr}), - (-1, {_sVm: _NO}), - (-1, {_sVm: _HO}), - (-1, {_sVm: _CAO}), - (-1, {_sVm: _FAO}), - (-1, {_sVm: _AOu}), - (-1, {_sVm: _COo}), - ), -) - -CLIENT_ID_TYPE: StaticSchema = (3, n0, _CIT, 0) - -DEFAULT_CLIENT_SECRET_TYPE: StaticSchema = (3, n0, _DCST, 4) - -ATLASSIAN_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _AOPCI, - 0, - (_cIl, _cS, _cSC, _cSS), - ( - (CLIENT_ID_TYPE, 1), - (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - ), -) - -CLIENT_AUTHENTICATION_METHOD_TYPE: StaticSchema = ( - 14, - n0, - _CAMT, - 0, - (_CSB, _CSP, _AIITJ, _PKJ), - ((-1, {_sVm: _CSB}), (-1, {_sVm: _CSP}), (-1, {_sVm: _AIITJ}), (-1, {_sVm: _PKJ})), -) - -DEFAULT_CLIENT_ID_TYPE: StaticSchema = (3, n0, _DCIT, 0) - -AUTHORIZATION_ENDPOINT_TYPE: StaticSchema = (3, n0, _AET, 0) - -ISSUER_URL_TYPE: StaticSchema = (3, n0, _IUT, 0) - -RESPONSE_TYPE: StaticSchema = (3, n0, _RTe, 0) - -RESPONSE_LIST_TYPE: StaticSchema = (16, n0, _RLT, 0, (_mem,), ((RESPONSE_TYPE, 0),)) - -TOKEN_ENDPOINT_TYPE: StaticSchema = (3, n0, _TET, 0) - -TOKEN_AUTH_METHOD: StaticSchema = (3, n0, _TAM, 0) - -TOKEN_ENDPOINT_AUTH_METHODS_TYPE: StaticSchema = ( - 16, - n0, - _TEAMT, - 0, - (_mem,), - ((TOKEN_AUTH_METHOD, 0),), -) - -OAUTH2_AUTHORIZATION_SERVER_METADATA: StaticSchema = ( - 18, - n0, - _OASM, - 0, - (_is, _aE, _tE, _rT, _tEAM), - ( - (ISSUER_URL_TYPE, 1), - (AUTHORIZATION_ENDPOINT_TYPE, 1), - (TOKEN_ENDPOINT_TYPE, 1), - (RESPONSE_LIST_TYPE, 0), - (TOKEN_ENDPOINT_AUTH_METHODS_TYPE, 0), - ), -) - -DISCOVERY_URL_TYPE: StaticSchema = (3, n0, _DUT, 0) - -OAUTH2_DISCOVERY: StaticSchema = ( - 19, - n0, - _OD, - 0, - (_dU, _aSMu), - ((DISCOVERY_URL_TYPE, 0), (OAUTH2_AUTHORIZATION_SERVER_METADATA, 0)), -) - -ON_BEHALF_OF_TOKEN_EXCHANGE_GRANT_TYPE_TYPE: StaticSchema = ( - 14, - n0, - _OBOTEGTT, - 0, - (_TE_, _JAG), - ((-1, {_sVm: _TE_}), (-1, {_sVm: _JAG})), -) - -ON_BEHALF_OF_CLIENT_AUTHENTICATION_METHOD: StaticSchema = ( - 14, - n0, - _OBOCAM, - 0, - (_NC_,), - ((-1, {_sVm: _NC_}),), -) - -ON_BEHALF_OF_AUTHENTICATION_CONFIG: StaticSchema = ( - 18, - n0, - _OBOAC, - 0, - (_cAM,), - ((ON_BEHALF_OF_CLIENT_AUTHENTICATION_METHOD, 1),), -) - -SCOPE_TYPE: StaticSchema = (3, n0, _STco, 0) - -SCOPES_LIST_TYPE: StaticSchema = (16, n0, _SLT, 0, (_mem,), ((SCOPE_TYPE, 0),)) - -TOKEN_EXCHANGE_GRANT_TYPE_CONFIG_TYPE: StaticSchema = ( - 18, - n0, - _TEGTCT, - 0, - (_aTCc, _aTS), - ((ACTOR_TOKEN_CONTENT_TYPE, 1), (SCOPES_LIST_TYPE, 0)), -) - -ON_BEHALF_OF_TOKEN_EXCHANGE_CONFIG_TYPE: StaticSchema = ( - 18, - n0, - _OBOTECT, - 0, - (_gT, _tEGTC, _oBOAC), - ( - (ON_BEHALF_OF_TOKEN_EXCHANGE_GRANT_TYPE_TYPE, 1), - (TOKEN_EXCHANGE_GRANT_TYPE_CONFIG_TYPE, 0), - (ON_BEHALF_OF_AUTHENTICATION_CONFIG, 0), - ), -) - -KMS_KEY_SOURCE_TYPE: StaticSchema = (18, n0, _KKST, 0, (_kKA,), ((KMS_KEY_ARN, 1),)) - -PRIVATE_KEY_SOURCE: StaticSchema = ( - 19, - n0, - _PKS, - 0, - (_kKS,), - ((KMS_KEY_SOURCE_TYPE, 0),), -) - -SIGNING_ALGORITHM: StaticSchema = ( - 14, - n0, - _SAi, - 0, - (_RS_, _PS, _ES_), - ((-1, {_sVm: _RS_}), (-1, {_sVm: _PS}), (-1, {_sVm: _ES_})), -) - -PRIVATE_KEY_JWT_CONFIG: StaticSchema = ( - 18, - n0, - _PKJC, - 0, - (_pKS, _sAi, _aHC, _aPC), - ( - (PRIVATE_KEY_SOURCE, 0), - (SIGNING_ALGORITHM, 0), - (ADDITIONAL_CLAIMS, 0), - (ADDITIONAL_CLAIMS, 0), - ), -) - -CUSTOM_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _COPCI, - 0, - (_oD, _cIl, _cS, _cSC, _cSS, _oBOTEC, _cAM, _pKJC, _pE, _pEO, _cCe), - ( - (OAUTH2_DISCOVERY, 1), - (DEFAULT_CLIENT_ID_TYPE, {_smi: _v_}), - (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - (ON_BEHALF_OF_TOKEN_EXCHANGE_CONFIG_TYPE, 0), - (CLIENT_AUTHENTICATION_METHOD_TYPE, 0), - (PRIVATE_KEY_JWT_CONFIG, 0), - (PRIVATE_ENDPOINT, 0), - (PRIVATE_ENDPOINT_OVERRIDES, 0), - (CERTIFICATE_CONFIGURATION_LIST, 0), - ), -) - -GITHUB_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GOPCI, - 0, - (_cIl, _cS, _cSC, _cSS), - ( - (CLIENT_ID_TYPE, 1), - (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - ), -) - -GOOGLE_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GOPCIo, - 0, - (_cIl, _cS, _cSC, _cSS), - ( - (CLIENT_ID_TYPE, 1), - (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - ), -) - -INCLUDED_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _IOPCI, - 0, - (_cIl, _cS, _cSC, _cSS, _is, _aE, _tE), - ( - (CLIENT_ID_TYPE, 1), - (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - (ISSUER_URL_TYPE, 0), - (AUTHORIZATION_ENDPOINT_TYPE, 0), - (TOKEN_ENDPOINT_TYPE, 0), - ), -) - -LINKEDIN_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _LOPCI, - 0, - (_cIl, _cS, _cSC, _cSS), - ( - (CLIENT_ID_TYPE, 1), - (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - ), -) - -TENANT_ID_TYPE: StaticSchema = (3, n0, _TIT, 0) - -MICROSOFT_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _MOPCI, - 0, - (_cIl, _cS, _cSC, _cSS, _tIe), - ( - (CLIENT_ID_TYPE, 1), - (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - (TENANT_ID_TYPE, 0), - ), -) - -SALESFORCE_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _SOPCI, - 0, - (_cIl, _cS, _cSC, _cSS), - ( - (CLIENT_ID_TYPE, 1), - (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - ), -) - -SLACK_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _SOPCIl, - 0, - (_cIl, _cS, _cSC, _cSS), - ( - (CLIENT_ID_TYPE, 1), - (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), - (SECRET_REFERENCE, 0), - (SECRET_SOURCE_TYPE, 0), - ), -) - -OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( - 19, - n0, - _OPCI, - 0, - (_cOPC, _gOPC, _gOPCi, _sOPC, _sOPCa, _mOPC, _aOPC, _lOPC, _iOPC), - ( - (CUSTOM_OAUTH2_PROVIDER_CONFIG_INPUT, 0), - (GOOGLE_OAUTH2_PROVIDER_CONFIG_INPUT, 0), - (GITHUB_OAUTH2_PROVIDER_CONFIG_INPUT, 0), - (SLACK_OAUTH2_PROVIDER_CONFIG_INPUT, 0), - (SALESFORCE_OAUTH2_PROVIDER_CONFIG_INPUT, 0), - (MICROSOFT_OAUTH2_PROVIDER_CONFIG_INPUT, 0), - (ATLASSIAN_OAUTH2_PROVIDER_CONFIG_INPUT, 0), - (LINKEDIN_OAUTH2_PROVIDER_CONFIG_INPUT, 0), - (INCLUDED_OAUTH2_PROVIDER_CONFIG_INPUT, 0), - ), -) - -CREATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _COCPI, - {_sSI: _cCOCPR, _smith: None}, - (_n, _cPVr, _oPCI, _t), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (OAUTH2_PROVIDER_CONFIG_INPUT, 1), - (TAGS_MAP, 0), - ), -) - -CREDENTIAL_PROVIDER_ARN_TYPE: StaticSchema = (3, n0, _CPATr, 0) - -ATLASSIAN_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _AOPCO, - 0, - (_oD, _cIl), - ((OAUTH2_DISCOVERY, 1), (CLIENT_ID_TYPE, 0)), -) - -CUSTOM_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _COPCO, - 0, - (_oD, _cIl, _oBOTEC, _cAM, _pE, _pEO, _cCe, _pKJC), - ( - (OAUTH2_DISCOVERY, 1), - (CLIENT_ID_TYPE, 0), - (ON_BEHALF_OF_TOKEN_EXCHANGE_CONFIG_TYPE, 0), - (CLIENT_AUTHENTICATION_METHOD_TYPE, 0), - (PRIVATE_ENDPOINT, 0), - (PRIVATE_ENDPOINT_OVERRIDES, 0), - (CERTIFICATE_CONFIGURATION_LIST, 0), - (PRIVATE_KEY_JWT_CONFIG, 0), - ), -) - -GITHUB_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GOPCO, - 0, - (_oD, _cIl), - ((OAUTH2_DISCOVERY, 1), (CLIENT_ID_TYPE, 0)), -) - -GOOGLE_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GOPCOo, - 0, - (_oD, _cIl), - ((OAUTH2_DISCOVERY, 1), (CLIENT_ID_TYPE, 0)), -) - -INCLUDED_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _IOPCO, - 0, - (_oD, _cIl), - ((OAUTH2_DISCOVERY, 1), (CLIENT_ID_TYPE, 0)), -) - -LINKEDIN_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _LOPCO, - 0, - (_oD, _cIl), - ((OAUTH2_DISCOVERY, 1), (CLIENT_ID_TYPE, 0)), -) - -MICROSOFT_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _MOPCO, - 0, - (_oD, _cIl), - ((OAUTH2_DISCOVERY, 1), (CLIENT_ID_TYPE, 0)), -) - -SALESFORCE_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _SOPCO, - 0, - (_oD, _cIl), - ((OAUTH2_DISCOVERY, 1), (CLIENT_ID_TYPE, 0)), -) - -SLACK_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _SOPCOl, - 0, - (_oD, _cIl), - ((OAUTH2_DISCOVERY, 1), (CLIENT_ID_TYPE, 0)), -) - -OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( - 19, - n0, - _OPCO, - 0, - (_cOPC, _gOPC, _gOPCi, _sOPC, _sOPCa, _mOPC, _aOPC, _lOPC, _iOPC), - ( - (CUSTOM_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - (GOOGLE_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - (GITHUB_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - (SLACK_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - (SALESFORCE_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - (MICROSOFT_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - (ATLASSIAN_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - (LINKEDIN_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - (INCLUDED_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - ), -) - -STATUS: StaticSchema = ( - 14, - n0, - _St, - 0, - (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - ), -) - -CREATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _COCPO, - {_sSI: _cCOCPRo, _smithy: None}, - (_cSA, _cSJK, _cSS, _n, _cPAr, _cUa, _oPCO, _st), - ( - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - (CREDENTIAL_PROVIDER_NAME, 1), - (CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (3, 0), - (OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), - (STATUS, 0), - ), -) - -CREATE_OAUTH2_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _COCP, - { - _smithya: MappingProxyType( - { - "code": 201, - "uri": "/identities/CreateOauth2CredentialProvider", - "method": "POST", - } - ) - }, - CREATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT, - CREATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - DECRYPTION_FAILURE, - ENCRYPTION_FAILURE, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_OAUTH2_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DOCPI, - {_sSI: _cDOCPR, _smith: None}, - (_n,), - ((CREDENTIAL_PROVIDER_NAME, 1),), -) - -DELETE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _DOCPO, - {_sSI: _cDOCPRo, _smithy: None}, -) - -DELETE_OAUTH2_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DOCP, - { - _smithya: MappingProxyType( - { - "code": 204, - "uri": "/identities/DeleteOauth2CredentialProvider", - "method": "POST", - } - ) - }, - DELETE_OAUTH2_CREDENTIAL_PROVIDER_INPUT, - DELETE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_OAUTH2_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _GOCPI, - {_sSI: _cGOCPR, _smith: None}, - (_n,), - ((CREDENTIAL_PROVIDER_NAME, 1),), -) - -GET_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _GOCPO, - {_sSI: _cGOCPRo, _smithy: None}, - (_cSA, _cSJK, _cSS, _n, _cPAr, _cPVr, _cUa, _oPCO, _cTr, _lUT, _st, _fR), - ( - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - (CREDENTIAL_PROVIDER_NAME, 1), - (CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (3, 0), - (OAUTH2_PROVIDER_CONFIG_OUTPUT, 1), - (4, 1), - (4, 1), - (STATUS, 0), - (3, 0), - ), -) - -GET_OAUTH2_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _GOCP, - { - _smithya: MappingProxyType( - {"uri": "/identities/GetOauth2CredentialProvider", "method": "POST"} - ) - }, - GET_OAUTH2_CREDENTIAL_PROVIDER_INPUT, - GET_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - DECRYPTION_FAILURE, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_OAUTH2_CREDENTIAL_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _LOCPI, - {_sSI: _cLOCPR, _smith: None}, - (_nT, _mR), - ((3, 0), (7, {_smi: 10})), -) - -OAUTH2_CREDENTIAL_PROVIDER_ITEM: StaticSchema = ( - 18, - n0, - _OCPI, - 0, - (_n, _cPVr, _cPAr, _cTr, _lUT), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (4, 1), - (4, 1), - ), -) - -OAUTH2_CREDENTIAL_PROVIDERS: StaticSchema = ( - 16, - n0, - _OCP, - 0, - (_mem,), - ((OAUTH2_CREDENTIAL_PROVIDER_ITEM, 0),), -) - -LIST_OAUTH2_CREDENTIAL_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LOCPO, - {_sSI: _cLOCPRo, _smithy: None}, - (_cP, _nT), - ((OAUTH2_CREDENTIAL_PROVIDERS, 1), (3, 0)), -) - -LIST_OAUTH2_CREDENTIAL_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _LOCP, - { - _smithya: MappingProxyType( - {"uri": "/identities/ListOauth2CredentialProviders", "method": "POST"} - ) - }, - LIST_OAUTH2_CREDENTIAL_PROVIDERS_INPUT, - LIST_OAUTH2_CREDENTIAL_PROVIDERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _UOCPI, - {_sSI: _cUOCPR, _smith: None}, - (_n, _cPVr, _oPCI), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (OAUTH2_PROVIDER_CONFIG_INPUT, 1), - ), -) - -UPDATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _UOCPO, - {_sSI: _cUOCPRo, _smithy: None}, - (_cSA, _cSJK, _cSS, _n, _cPVr, _cPAr, _cUa, _oPCO, _cTr, _lUT, _st), - ( - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - (CREDENTIAL_PROVIDER_NAME, 1), - (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (3, 0), - (OAUTH2_PROVIDER_CONFIG_OUTPUT, 1), - (4, 1), - (4, 1), - (STATUS, 0), - ), -) - -UPDATE_OAUTH2_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _UOCP, - { - _smithya: MappingProxyType( - {"uri": "/identities/UpdateOauth2CredentialProvider", "method": "POST"} - ) - }, - UPDATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT, - UPDATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - DECRYPTION_FAILURE, - ENCRYPTION_FAILURE, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CLUSTERING_FREQUENCY: StaticSchema = ( - 14, - n0, - _CFl, - 0, - (_DAILY, _WEEKLY, _MONTHLY), - ((-1, {_sVm: _DAILY}), (-1, {_sVm: _WEEKLY}), (-1, {_sVm: _MONTHLY})), -) - -CLUSTERING_FREQUENCY_LIST: StaticSchema = ( - 16, - n0, - _CFL, - 0, - (_mem,), - ((CLUSTERING_FREQUENCY, 0),), -) - -CLUSTERING_CONFIG: StaticSchema = ( - 18, - n0, - _CCl, - 0, - (_fre,), - ((CLUSTERING_FREQUENCY_LIST, 1),), -) - -LOG_GROUP_NAME_PREFIX: StaticSchema = (3, n0, _LGNP, 0) - -LOG_GROUP_NAME_PREFIX_LIST: StaticSchema = ( - 16, - n0, - _LGNPL, - 0, - (_mem,), - ((LOG_GROUP_NAME_PREFIX, 0),), -) - -LOG_GROUP_NAME: StaticSchema = (3, n0, _LGN, 0) - -LOG_GROUP_NAMES_LIST: StaticSchema = (16, n0, _LGNL, 0, (_mem,), ((LOG_GROUP_NAME, 0),)) - -SERVICE_NAME: StaticSchema = (3, n0, _SNe, 0) - -SERVICE_NAMES_LIST: StaticSchema = (16, n0, _SNL, 0, (_mem,), ((SERVICE_NAME, 0),)) - -CLOUD_WATCH_LOGS_INPUT_CONFIG: StaticSchema = ( - 18, - n0, - _CWLIC, - 0, - (_lGN, _lGNP, _sNe), - ( - (LOG_GROUP_NAMES_LIST, {_smi: ()}), - (LOG_GROUP_NAME_PREFIX_LIST, 0), - (SERVICE_NAMES_LIST, 1), - ), -) - -DATA_SOURCE_CONFIG: StaticSchema = ( - 19, - n0, - _DSC, - 0, - (_cWL,), - ((CLOUD_WATCH_LOGS_INPUT_CONFIG, 0),), -) - -EVALUATION_CONFIG_DESCRIPTION: StaticSchema = (3, n0, _ECD, 4) - -EVALUATOR_REFERENCE: StaticSchema = (19, n0, _ER, 0, (_eIv,), ((EVALUATOR_ID, 0),)) - -EVALUATOR_LIST: StaticSchema = (16, n0, _ELv, 0, (_mem,), ((EVALUATOR_REFERENCE, 0),)) - -INSIGHT_ID: StaticSchema = (3, n0, _II, 0) - -INSIGHT: StaticSchema = (18, n0, _I, 0, (_iI,), ((INSIGHT_ID, 1),)) - -INSIGHT_LIST: StaticSchema = (16, n0, _IL, 0, (_mem,), ((INSIGHT, 0),)) - -EVALUATION_CONFIG_NAME: StaticSchema = (3, n0, _ECN, 0) - -OPTIONAL_LOG_GROUP_NAME: StaticSchema = (3, n0, _OLGN, 0) - -METRICS_NAMESPACE: StaticSchema = (3, n0, _MN, 0) - -RESULT_DESTINATION: StaticSchema = ( - 14, - n0, - _RDe, - 0, - (_DLG, _SLG), - ((-1, {_sVm: _DLG}), (-1, {_sVm: _SLG})), -) - -CLOUD_WATCH_OUTPUT_CONFIG: StaticSchema = ( - 18, - n0, - _CWOC, - 0, - (_lGNo, _mN, _rDe), - ( - (OPTIONAL_LOG_GROUP_NAME, {_smi: _v_}), - (METRICS_NAMESPACE, 0), - (RESULT_DESTINATION, {_smi: _DLG}), - ), -) - -OUTPUT_CONFIG: StaticSchema = ( - 18, - n0, - _OC, - 0, - (_cWC,), - ((CLOUD_WATCH_OUTPUT_CONFIG, 1),), -) - -FILTER_OPERATOR: StaticSchema = ( - 14, - n0, - _FOi, - 0, - (_EQUALS, _NE, _GT, _LT, _GTOE, _LTOE, _CONTAINS, _NC__), - ( - (-1, {_sVm: _E}), - (-1, {_sVm: _NEo}), - (-1, {_sVm: _GTr}), - (-1, {_sVm: _LTe}), - (-1, {_sVm: _GTOEr}), - (-1, {_sVm: _LTOEe}), - (-1, {_sVm: _Cont}), - (-1, {_sVm: _NCo}), - ), -) - -FILTER_VALUE: StaticSchema = ( - 19, - n0, - _FV, - 0, - (_sVtr, _dVo, _bVo), - ((3, 0), (10, 0), (2, 0)), -) - -FILTER: StaticSchema = ( - 18, - n0, - _Fi, - 0, - (_k, _op, _v), - ((3, 1), (FILTER_OPERATOR, 1), (FILTER_VALUE, 1)), -) - -FILTER_LIST: StaticSchema = (16, n0, _FL, 0, (_mem,), ((FILTER, 0),)) - -SAMPLING_PERCENTAGE: StaticSchema = (10, n0, _SPa, 0) - -SAMPLING_CONFIG: StaticSchema = (18, n0, _SCa, 0, (_sPa,), ((SAMPLING_PERCENTAGE, 1),)) - -SESSION_CONFIG: StaticSchema = (18, n0, _SCes, 0, (_sTM,), ((7, 1),)) - -RULE: StaticSchema = ( - 18, - n0, - _R, - 0, - (_sCa, _fil, _sCes), - ((SAMPLING_CONFIG, 1), (FILTER_LIST, 0), (SESSION_CONFIG, 0)), -) - -CREATE_ONLINE_EVALUATION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _COECI, - {_sSI: _cCOECR, _smith: None}, - (_cT, _oECN, _d, _rul, _dSC, _ev, _ins, _cCl, _oC, _eERA, _eOC, _t), - ( - (CLIENT_TOKEN, 2), - (EVALUATION_CONFIG_NAME, 1), - (EVALUATION_CONFIG_DESCRIPTION, 0), - (RULE, 1), - (DATA_SOURCE_CONFIG, 1), - (EVALUATOR_LIST, 0), - (INSIGHT_LIST, 0), - (CLUSTERING_CONFIG, 0), - (OUTPUT_CONFIG, 0), - (ROLE_ARN, 1), - (2, 1), - (TAGS_MAP, 0), - ), -) - -ONLINE_EVALUATION_EXECUTION_STATUS: StaticSchema = ( - 14, - n0, - _OEES, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sVm: _ENABLED}), (-1, {_sVm: _DISABLED})), -) - -ONLINE_EVALUATION_CONFIG_ARN: StaticSchema = (3, n0, _OECA, 0) - -ONLINE_EVALUATION_CONFIG_ID: StaticSchema = (3, n0, _OECI, 0) - -ONLINE_EVALUATION_CONFIG_STATUS: StaticSchema = ( - 14, - n0, - _OECS, - 0, - (_ACTIVE, _CREATING, _CF, _UPDATING, _UF, _DELETING, _ERROR), - ( - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _ERROR}), - ), -) - -CREATE_ONLINE_EVALUATION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _COECO, - {_sSI: _cCOECRo, _smithy: None}, - (_oECA, _oECI, _cA, _oC, _st, _eS, _fR), - ( - (ONLINE_EVALUATION_CONFIG_ARN, 1), - (ONLINE_EVALUATION_CONFIG_ID, 1), - (4, 1), - (OUTPUT_CONFIG, 0), - (ONLINE_EVALUATION_CONFIG_STATUS, 1), - (ONLINE_EVALUATION_EXECUTION_STATUS, 1), - (3, 0), - ), -) - -CREATE_ONLINE_EVALUATION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _COEC, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/online-evaluation-configs/create", "code": 202} - ) - }, - CREATE_ONLINE_EVALUATION_CONFIG_INPUT, - CREATE_ONLINE_EVALUATION_CONFIG_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_ONLINE_EVALUATION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _DOECI, - {_sSI: _cDOECR, _smith: None}, - (_oECI,), - ((ONLINE_EVALUATION_CONFIG_ID, 9),), -) - -DELETE_ONLINE_EVALUATION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _DOECO, - {_sSI: _cDOECRo, _smithy: None}, - (_oECA, _oECI, _st), - ( - (ONLINE_EVALUATION_CONFIG_ARN, 1), - (ONLINE_EVALUATION_CONFIG_ID, 1), - (ONLINE_EVALUATION_CONFIG_STATUS, 1), - ), -) - -DELETE_ONLINE_EVALUATION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _DOEC, - { - _smithya: MappingProxyType( - { - "method": "DELETE", - "uri": "/online-evaluation-configs/{onlineEvaluationConfigId}", - "code": 202, - } - ) - }, - DELETE_ONLINE_EVALUATION_CONFIG_INPUT, - DELETE_ONLINE_EVALUATION_CONFIG_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_ONLINE_EVALUATION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GOECI, - {_sSI: _cGOECR, _smith: None}, - (_oECI,), - ((ONLINE_EVALUATION_CONFIG_ID, 9),), -) - -GET_ONLINE_EVALUATION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GOECO, - {_sSI: _cGOECRo, _smithy: None}, - ( - _oECA, - _oECI, - _oECN, - _d, - _rul, - _dSC, - _ev, - _ins, - _cCl, - _oC, - _eERA, - _st, - _eS, - _cA, - _uA, - _fR, - ), - ( - (ONLINE_EVALUATION_CONFIG_ARN, 1), - (ONLINE_EVALUATION_CONFIG_ID, 1), - (EVALUATION_CONFIG_NAME, 1), - (EVALUATION_CONFIG_DESCRIPTION, 0), - (RULE, 1), - (DATA_SOURCE_CONFIG, 1), - (EVALUATOR_LIST, {_smi: ()}), - (INSIGHT_LIST, 0), - (CLUSTERING_CONFIG, 0), - (OUTPUT_CONFIG, 0), - (ROLE_ARN, 0), - (ONLINE_EVALUATION_CONFIG_STATUS, 1), - (ONLINE_EVALUATION_EXECUTION_STATUS, 1), - (4, 1), - (4, 1), - (3, 0), - ), -) - -GET_ONLINE_EVALUATION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GOEC, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/online-evaluation-configs/{onlineEvaluationConfigId}", - } - ) - }, - GET_ONLINE_EVALUATION_CONFIG_INPUT, - GET_ONLINE_EVALUATION_CONFIG_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_ONLINE_EVALUATION_CONFIGS_INPUT: StaticSchema = ( - 18, - n0, - _LOECI, - {_sSI: _cLOECR, _smith: None}, - (_nT, _mR), - ((3, {_sQ: _nT}), (7, {_sQ: _mR})), -) - -ONLINE_EVALUATION_CONFIG_SUMMARY: StaticSchema = ( - 18, - n0, - _OECSn, - 0, - (_oECA, _oECI, _oECN, _d, _st, _eS, _cA, _uA, _fR, _ins, _cCl), - ( - (ONLINE_EVALUATION_CONFIG_ARN, 1), - (ONLINE_EVALUATION_CONFIG_ID, 1), - (EVALUATION_CONFIG_NAME, 1), - (EVALUATION_CONFIG_DESCRIPTION, 0), - (ONLINE_EVALUATION_CONFIG_STATUS, 1), - (ONLINE_EVALUATION_EXECUTION_STATUS, 1), - (4, 1), - (4, 1), - (3, 0), - (INSIGHT_LIST, 0), - (CLUSTERING_CONFIG, 0), - ), -) - -ONLINE_EVALUATION_CONFIG_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _OECSL, - 0, - (_mem,), - ((ONLINE_EVALUATION_CONFIG_SUMMARY, 0),), -) - -LIST_ONLINE_EVALUATION_CONFIGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LOECO, - {_sSI: _cLOECRo, _smithy: None}, - (_oEC, _nT), - ((ONLINE_EVALUATION_CONFIG_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_ONLINE_EVALUATION_CONFIGS: StaticOperationSchema = ( - 23, - n0, - _LOEC, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/online-evaluation-configs"} - ) - }, - LIST_ONLINE_EVALUATION_CONFIGS_INPUT, - LIST_ONLINE_EVALUATION_CONFIGS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_ONLINE_EVALUATION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _UOECI, - {_sSI: _cUOECR, _smith: None}, - (_cT, _oECI, _d, _rul, _dSC, _ev, _ins, _cCl, _oC, _eERA, _eS), - ( - (CLIENT_TOKEN, 2), - (ONLINE_EVALUATION_CONFIG_ID, 9), - (EVALUATION_CONFIG_DESCRIPTION, 0), - (RULE, 0), - (DATA_SOURCE_CONFIG, 0), - (EVALUATOR_LIST, 0), - (INSIGHT_LIST, 0), - (CLUSTERING_CONFIG, 0), - (OUTPUT_CONFIG, 0), - (ROLE_ARN, 0), - (ONLINE_EVALUATION_EXECUTION_STATUS, 0), - ), -) - -UPDATE_ONLINE_EVALUATION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _UOECO, - {_sSI: _cUOECRo, _smithy: None}, - (_oECA, _oECI, _uA, _st, _eS, _fR), - ( - (ONLINE_EVALUATION_CONFIG_ARN, 1), - (ONLINE_EVALUATION_CONFIG_ID, 1), - (4, 1), - (ONLINE_EVALUATION_CONFIG_STATUS, 1), - (ONLINE_EVALUATION_EXECUTION_STATUS, 1), - (3, 0), - ), -) - -UPDATE_ONLINE_EVALUATION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _UOEC, - { - _smithya: MappingProxyType( - { - "method": "PUT", - "uri": "/online-evaluation-configs/{onlineEvaluationConfigId}", - "code": 202, - } - ) - }, - UPDATE_ONLINE_EVALUATION_CONFIG_INPUT, - UPDATE_ONLINE_EVALUATION_CONFIG_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE: StaticSchema = ( - 14, - n0, - _PCPVT, - 0, - (_CCDP, _SPt), - ((-1, {_sVm: _CCDP}), (-1, {_sVm: _SPt})), -) - -COINBASE_CDP_API_KEY_ID_TYPE: StaticSchema = (3, n0, _CCAKIT, 0) - -DEFAULT_COINBASE_CDP_API_KEY_SECRET_TYPE: StaticSchema = (3, n0, _DCCAKST, 4) - -DEFAULT_COINBASE_CDP_WALLET_SECRET_TYPE: StaticSchema = (3, n0, _DCCWST, 4) - -COINBASE_CDP_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _CCCIo, - 0, - (_aKI, _aKS, _aKSS, _aKSC, _wS, _wSS, _wSC), - ( - (COINBASE_CDP_API_KEY_ID_TYPE, 1), - (DEFAULT_COINBASE_CDP_API_KEY_SECRET_TYPE, {_smi: _v_}), - (SECRET_SOURCE_TYPE, 0), - (SECRET_REFERENCE, 0), - (DEFAULT_COINBASE_CDP_WALLET_SECRET_TYPE, {_smi: _v_}), - (SECRET_SOURCE_TYPE, 0), - (SECRET_REFERENCE, 0), - ), -) - -STRIPE_PRIVY_APP_ID_TYPE: StaticSchema = (3, n0, _SPAIT, 0) - -DEFAULT_STRIPE_PRIVY_APP_SECRET_TYPE: StaticSchema = (3, n0, _DSPAST, 4) - -STRIPE_PRIVY_AUTHORIZATION_ID_TYPE: StaticSchema = (3, n0, _SPAITt, 0) - -DEFAULT_STRIPE_PRIVY_AUTHORIZATION_PRIVATE_KEY_TYPE: StaticSchema = (3, n0, _DSPAPKT, 4) - -STRIPE_PRIVY_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _SPCI, - 0, - (_aIp, _aSp, _aSS, _aSC, _aPK, _aPKS, _aPKC, _aIu), - ( - (STRIPE_PRIVY_APP_ID_TYPE, 1), - (DEFAULT_STRIPE_PRIVY_APP_SECRET_TYPE, {_smi: _v_}), - (SECRET_SOURCE_TYPE, 0), - (SECRET_REFERENCE, 0), - (DEFAULT_STRIPE_PRIVY_AUTHORIZATION_PRIVATE_KEY_TYPE, {_smi: _v_}), - (SECRET_SOURCE_TYPE, 0), - (SECRET_REFERENCE, 0), - (STRIPE_PRIVY_AUTHORIZATION_ID_TYPE, 1), - ), -) - -PAYMENT_PROVIDER_CONFIGURATION_INPUT: StaticSchema = ( - 19, - n0, - _PPCI, - 0, - (_cCCo, _sPC), - ((COINBASE_CDP_CONFIGURATION_INPUT, 0), (STRIPE_PRIVY_CONFIGURATION_INPUT, 0)), -) - -CREATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _CPCPI, - {_sSI: _cCPCPR, _smith: None}, - (_n, _cPVr, _pCI, _t), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (PAYMENT_PROVIDER_CONFIGURATION_INPUT, 1), - (TAGS_MAP, 0), - ), -) - -PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE: StaticSchema = (3, n0, _PCPAT, 0) - -COINBASE_CDP_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CCCO, - 0, - (_aKI, _aKSA, _aKSJK, _aKSS, _wSA, _wSJK, _wSS), - ( - (COINBASE_CDP_API_KEY_ID_TYPE, 1), - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - ), -) - -STRIPE_PRIVY_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _SPCO, - 0, - (_aIp, _aSA, _aSJK, _aSS, _aPKA, _aPKJK, _aPKS, _aIu), - ( - (STRIPE_PRIVY_APP_ID_TYPE, 1), - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - (SECRET, 1), - (SECRET_JSON_KEY_TYPE, 0), - (SECRET_SOURCE_TYPE, 0), - (STRIPE_PRIVY_AUTHORIZATION_ID_TYPE, 1), - ), -) - -PAYMENT_PROVIDER_CONFIGURATION_OUTPUT: StaticSchema = ( - 19, - n0, - _PPCO, - 0, - (_cCCo, _sPC), - ((COINBASE_CDP_CONFIGURATION_OUTPUT, 0), (STRIPE_PRIVY_CONFIGURATION_OUTPUT, 0)), -) - -CREATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _CPCPO, - {_sSI: _cCPCPRo, _smithy: None}, - (_n, _cPVr, _cPAr, _pCO), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (PAYMENT_PROVIDER_CONFIGURATION_OUTPUT, 1), - ), -) - -CREATE_PAYMENT_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _CPCP, - { - _smithya: MappingProxyType( - { - "code": 201, - "uri": "/identities/CreatePaymentCredentialProvider", - "method": "POST", - } - ) - }, - CREATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT, - CREATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - DECRYPTION_FAILURE, - ENCRYPTION_FAILURE, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_PAYMENT_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DPCPI, - {_sSI: _cDPCPR, _smith: None}, - (_n,), - ((CREDENTIAL_PROVIDER_NAME, 1),), -) - -DELETE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _DPCPO, - {_sSI: _cDPCPRo, _smithy: None}, -) - -DELETE_PAYMENT_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DPCP, - { - _smithya: MappingProxyType( - { - "code": 204, - "uri": "/identities/DeletePaymentCredentialProvider", - "method": "POST", - } - ) - }, - DELETE_PAYMENT_CREDENTIAL_PROVIDER_INPUT, - DELETE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_PAYMENT_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _GPCPI, - {_sSI: _cGPCPR, _smith: None}, - (_n,), - ((CREDENTIAL_PROVIDER_NAME, 1),), -) - -GET_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _GPCPO, - {_sSI: _cGPCPRo, _smithy: None}, - (_n, _cPAr, _cPVr, _pCO, _cTr, _lUT, _t), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (PAYMENT_PROVIDER_CONFIGURATION_OUTPUT, 1), - (4, 1), - (4, 1), - (TAGS_MAP, 0), - ), -) - -GET_PAYMENT_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _GPCP, - { - _smithya: MappingProxyType( - {"uri": "/identities/GetPaymentCredentialProvider", "method": "POST"} - ) - }, - GET_PAYMENT_CREDENTIAL_PROVIDER_INPUT, - GET_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - DECRYPTION_FAILURE, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_PAYMENT_CREDENTIAL_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _LPCPI, - {_sSI: _cLPCPR, _smith: None}, - (_nT, _mR), - ((3, 0), (7, {_smi: 10})), -) - -PAYMENT_CREDENTIAL_PROVIDER_ITEM: StaticSchema = ( - 18, - n0, - _PCPI, - 0, - (_n, _cPVr, _cPAr, _cTr, _lUT), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (4, 1), - (4, 1), - ), -) - -PAYMENT_CREDENTIAL_PROVIDERS: StaticSchema = ( - 16, - n0, - _PCP, - 0, - (_mem,), - ((PAYMENT_CREDENTIAL_PROVIDER_ITEM, 0),), -) - -LIST_PAYMENT_CREDENTIAL_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPCPO, - {_sSI: _cLPCPRo, _smithy: None}, - (_cP, _nT), - ((PAYMENT_CREDENTIAL_PROVIDERS, 1), (3, 0)), -) - -LIST_PAYMENT_CREDENTIAL_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _LPCP, - { - _smithya: MappingProxyType( - {"uri": "/identities/ListPaymentCredentialProviders", "method": "POST"} - ) - }, - LIST_PAYMENT_CREDENTIAL_PROVIDERS_INPUT, - LIST_PAYMENT_CREDENTIAL_PROVIDERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _UPCPI, - {_sSI: _cUPCPR, _smith: None}, - (_n, _cPVr, _pCI), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (PAYMENT_PROVIDER_CONFIGURATION_INPUT, 1), - ), -) - -UPDATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _UPCPO, - {_sSI: _cUPCPRo, _smithy: None}, - (_n, _cPVr, _cPAr, _pCO, _cTr, _lUT), - ( - (CREDENTIAL_PROVIDER_NAME, 1), - (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), - (PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE, 1), - (PAYMENT_PROVIDER_CONFIGURATION_OUTPUT, 1), - (4, 1), - (4, 1), - ), -) - -UPDATE_PAYMENT_CREDENTIAL_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _UPCP, - { - _smithya: MappingProxyType( - {"uri": "/identities/UpdatePaymentCredentialProvider", "method": "POST"} - ) - }, - UPDATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT, - UPDATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - DECRYPTION_FAILURE, - ENCRYPTION_FAILURE, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PAYMENTS_AUTHORIZER_TYPE: StaticSchema = ( - 14, - n0, - _PAT, - 0, - (_CJ, _AI), - ((-1, {_sVm: _CJ}), (-1, {_sVm: _AI})), -) - -PAYMENTS_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) - -PAYMENT_MANAGER_NAME: StaticSchema = (3, n0, _PMN, 0) - -CREATE_PAYMENT_MANAGER_INPUT: StaticSchema = ( - 18, - n0, - _CPMI, - {_sSI: _cCPMR, _smith: None}, - (_n, _d, _aT, _aCu, _rA, _cT, _t, _kKA), - ( - (PAYMENT_MANAGER_NAME, 1), - (PAYMENTS_DESCRIPTION, 0), - (PAYMENTS_AUTHORIZER_TYPE, 1), - (AUTHORIZER_CONFIGURATION, 0), - (ROLE_ARN, 1), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - (KMS_KEY_ARN, 0), - ), -) - -PAYMENT_MANAGER_ARN: StaticSchema = (3, n0, _PMA, 0) - -PAYMENT_MANAGER_ID: StaticSchema = (3, n0, _PMI, 0) - -PAYMENT_MANAGER_STATUS: StaticSchema = ( - 14, - n0, - _PMS, - 0, - (_CREATING, _UPDATING, _DELETING, _READY, _CF, _UF, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DF}), - ), -) - -CREATE_PAYMENT_MANAGER_OUTPUT: StaticSchema = ( - 18, - n0, - _CPMO, - {_sSI: _cCPMRo, _smithy: None}, - (_pMA, _pMI, _n, _aT, _aCu, _rA, _wID, _cA, _st, _t, _kKA), - ( - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_MANAGER_ID, 1), - (PAYMENT_MANAGER_NAME, 1), - (PAYMENTS_AUTHORIZER_TYPE, 1), - (AUTHORIZER_CONFIGURATION, 0), - (ROLE_ARN, 1), - (WORKLOAD_IDENTITY_DETAILS, 0), - (DATE_TIMESTAMP, 1), - (PAYMENT_MANAGER_STATUS, 1), - (TAGS_MAP, 0), - (KMS_KEY_ARN, 0), - ), -) - -CREATE_PAYMENT_MANAGER: StaticOperationSchema = ( - 23, - n0, - _CPM, - { - _smithya: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/payments/managers"} - ) - }, - CREATE_PAYMENT_MANAGER_INPUT, - CREATE_PAYMENT_MANAGER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_PAYMENT_MANAGER_INPUT: StaticSchema = ( - 18, - n0, - _DPMI, - {_sSI: _cDPMR, _smith: None}, - (_pMI, _cT), - ((PAYMENT_MANAGER_ID, 9), (CLIENT_TOKEN, {_sQ: _cT, _sT: None})), -) - -DELETE_PAYMENT_MANAGER_OUTPUT: StaticSchema = ( - 18, - n0, - _DPMO, - {_sSI: _cDPMRo, _smithy: None}, - (_st, _pMI), - ((PAYMENT_MANAGER_STATUS, 1), (PAYMENT_MANAGER_ID, 0)), -) - -DELETE_PAYMENT_MANAGER: StaticOperationSchema = ( - 23, - n0, - _DPM, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/payments/managers/{paymentManagerId}", - } - ) - }, - DELETE_PAYMENT_MANAGER_INPUT, - DELETE_PAYMENT_MANAGER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -GET_PAYMENT_MANAGER_INPUT: StaticSchema = ( - 18, - n0, - _GPMI, - {_sSI: _cGPMR, _smith: None}, - (_pMI,), - ((PAYMENT_MANAGER_ID, 9),), -) - -GET_PAYMENT_MANAGER_OUTPUT: StaticSchema = ( - 18, - n0, - _GPMO, - {_sSI: _cGPMRo, _smithy: None}, - (_pMA, _pMI, _n, _d, _aT, _aCu, _rA, _wID, _cA, _lUA, _st, _t, _kKA), - ( - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_MANAGER_ID, 1), - (PAYMENT_MANAGER_NAME, 1), - (PAYMENTS_DESCRIPTION, 0), - (PAYMENTS_AUTHORIZER_TYPE, 1), - (AUTHORIZER_CONFIGURATION, 0), - (ROLE_ARN, 1), - (WORKLOAD_IDENTITY_DETAILS, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (PAYMENT_MANAGER_STATUS, 1), - (TAGS_MAP, 0), - (KMS_KEY_ARN, 0), - ), -) - -GET_PAYMENT_MANAGER: StaticOperationSchema = ( - 23, - n0, - _GPM, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/payments/managers/{paymentManagerId}", - } - ) - }, - GET_PAYMENT_MANAGER_INPUT, - GET_PAYMENT_MANAGER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_PAYMENT_MANAGERS_INPUT: StaticSchema = ( - 18, - n0, - _LPMI, - {_sSI: _cLPMR, _smith: None}, - (_mR, _nT), - ((MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -PAYMENT_MANAGER_SUMMARY: StaticSchema = ( - 18, - n0, - _PMSa, - 0, - (_pMA, _pMI, _n, _d, _aT, _rA, _st, _cA, _lUA, _kKA), - ( - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_MANAGER_ID, 1), - (PAYMENT_MANAGER_NAME, 1), - (PAYMENTS_DESCRIPTION, 0), - (PAYMENTS_AUTHORIZER_TYPE, 1), - (ROLE_ARN, 1), - (PAYMENT_MANAGER_STATUS, 1), - (DATE_TIMESTAMP, 0), - (DATE_TIMESTAMP, 1), - (KMS_KEY_ARN, 0), - ), -) - -PAYMENT_MANAGER_SUMMARIES: StaticSchema = ( - 16, - n0, - _PMSay, - 0, - (_mem,), - ((PAYMENT_MANAGER_SUMMARY, 0),), -) - -LIST_PAYMENT_MANAGERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPMO, - {_sSI: _cLPMRo, _smithy: None}, - (_pM, _nT), - ((PAYMENT_MANAGER_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_PAYMENT_MANAGERS: StaticOperationSchema = ( - 23, - n0, - _LPM, - { - _smithya: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/payments/managers-list"} - ) - }, - LIST_PAYMENT_MANAGERS_INPUT, - LIST_PAYMENT_MANAGERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PAYMENT_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _PCPA, 0) - -PAYMENT_CREDENTIAL_PROVIDER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PCPC, - 0, - (_cPAr,), - ((PAYMENT_CREDENTIAL_PROVIDER_ARN, 1),), -) - -CREDENTIALS_PROVIDER_CONFIGURATION: StaticSchema = ( - 19, - n0, - _CPCred, - 0, - (_cCDP, _sPt), - ( - (PAYMENT_CREDENTIAL_PROVIDER_CONFIGURATION, 0), - (PAYMENT_CREDENTIAL_PROVIDER_CONFIGURATION, 0), - ), -) - -CREDENTIALS_PROVIDER_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _CPCrede, - 0, - (_mem,), - ((CREDENTIALS_PROVIDER_CONFIGURATION, 0),), -) - -PAYMENT_CONNECTOR_NAME: StaticSchema = (3, n0, _PCN, 0) - -PAYMENT_CONNECTOR_PROVISION_MODE: StaticSchema = ( - 14, - n0, - _PCPM, - 0, - (_MANUAL, _QC), - ((-1, {_sVm: _MANUAL}), (-1, {_sVm: _QC})), -) - -PAYMENT_CONNECTOR_TYPE: StaticSchema = ( - 14, - n0, - _PCT, - 0, - (_CC___, _SP_), - ((-1, {_sVm: _CCDP}), (-1, {_sVm: _SPt})), -) - -CREATE_PAYMENT_CONNECTOR_INPUT: StaticSchema = ( - 18, - n0, - _CPCI, - {_sSI: _cCPCR, _smith: None}, - (_pMI, _n, _d, _ty, _cPCr, _pMr, _cT), - ( - (PAYMENT_MANAGER_ID, 9), - (PAYMENT_CONNECTOR_NAME, 1), - (PAYMENTS_DESCRIPTION, 0), - (PAYMENT_CONNECTOR_TYPE, 1), - (CREDENTIALS_PROVIDER_CONFIGURATIONS, 1), - (PAYMENT_CONNECTOR_PROVISION_MODE, 0), - (CLIENT_TOKEN, 2), - ), -) - -PAYMENT_CONNECTOR_AUTHORIZATION_URL: StaticSchema = (3, n0, _PCAU, 0) - -PAYMENT_CONNECTOR_ID: StaticSchema = (3, n0, _PCI, 0) - -PAYMENT_CONNECTOR_STATUS: StaticSchema = ( - 14, - n0, - _PCS, - 0, - ( - _CREATING, - _UPDATING, - _DELETING, - _READY, - _CF, - _UF, - _DF, - _AMSR, - _PA, - _PROVISIONING, - _AE_, - _AF, - ), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DF}), - (-1, {_sVm: _AMSR}), - (-1, {_sVm: _PA}), - (-1, {_sVm: _PROVISIONING}), - (-1, {_sVm: _AE_}), - (-1, {_sVm: _AF}), - ), -) - -CREATE_PAYMENT_CONNECTOR_OUTPUT: StaticSchema = ( - 18, - n0, - _CPCO, - {_sSI: _cCPCRo, _smithy: None}, - (_pCIa, _pMI, _n, _ty, _cPCr, _cA, _st, _aU), - ( - (PAYMENT_CONNECTOR_ID, 1), - (PAYMENT_MANAGER_ID, 1), - (PAYMENT_CONNECTOR_NAME, 1), - (PAYMENT_CONNECTOR_TYPE, 1), - (CREDENTIALS_PROVIDER_CONFIGURATIONS, 1), - (DATE_TIMESTAMP, 1), - (PAYMENT_CONNECTOR_STATUS, 1), - (PAYMENT_CONNECTOR_AUTHORIZATION_URL, 0), - ), -) - -SUBSCRIPTION_REQUIRED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SRE, - {_s: _c, _sE: 403}, - (_m, _sUu, _pN), - ((3, 1), (3, 0), (3, 0)), -) - -CREATE_PAYMENT_CONNECTOR: StaticOperationSchema = ( - 23, - n0, - _CPCrea, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/payments/managers/{paymentManagerId}/connectors", - } - ) - }, - CREATE_PAYMENT_CONNECTOR_INPUT, - CREATE_PAYMENT_CONNECTOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SUBSCRIPTION_REQUIRED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_PAYMENT_CONNECTOR_INPUT: StaticSchema = ( - 18, - n0, - _DPCI, - {_sSI: _cDPCR, _smith: None}, - (_pMI, _pCIa, _cT), - ( - (PAYMENT_MANAGER_ID, 9), - (PAYMENT_CONNECTOR_ID, 9), - (CLIENT_TOKEN, {_sQ: _cT, _sT: None}), - ), -) - -DELETE_PAYMENT_CONNECTOR_OUTPUT: StaticSchema = ( - 18, - n0, - _DPCO, - {_sSI: _cDPCRo, _smithy: None}, - (_st, _pCIa), - ((PAYMENT_CONNECTOR_STATUS, 1), (PAYMENT_CONNECTOR_ID, 0)), -) - -DELETE_PAYMENT_CONNECTOR: StaticOperationSchema = ( - 23, - n0, - _DPC, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}", - } - ) - }, - DELETE_PAYMENT_CONNECTOR_INPUT, - DELETE_PAYMENT_CONNECTOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -GET_PAYMENT_CONNECTOR_INPUT: StaticSchema = ( - 18, - n0, - _GPCI, - {_sSI: _cGPCR, _smith: None}, - (_pMI, _pCIa), - ((PAYMENT_MANAGER_ID, 9), (PAYMENT_CONNECTOR_ID, 9)), -) - -GET_PAYMENT_CONNECTOR_OUTPUT: StaticSchema = ( - 18, - n0, - _GPCO, - {_sSI: _cGPCRo, _smithy: None}, - (_pCIa, _n, _d, _ty, _pMr, _cPCr, _cA, _lUA, _st, _aU, _cUA), - ( - (PAYMENT_CONNECTOR_ID, 1), - (PAYMENT_CONNECTOR_NAME, 1), - (PAYMENTS_DESCRIPTION, 0), - (PAYMENT_CONNECTOR_TYPE, 1), - (PAYMENT_CONNECTOR_PROVISION_MODE, 0), - (CREDENTIALS_PROVIDER_CONFIGURATIONS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (PAYMENT_CONNECTOR_STATUS, 1), - (PAYMENT_CONNECTOR_AUTHORIZATION_URL, 0), - (DATE_TIMESTAMP, 0), - ), -) - -GET_PAYMENT_CONNECTOR: StaticOperationSchema = ( - 23, - n0, - _GPCe, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}", - } - ) - }, - GET_PAYMENT_CONNECTOR_INPUT, - GET_PAYMENT_CONNECTOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_PAYMENT_CONNECTORS_INPUT: StaticSchema = ( - 18, - n0, - _LPCI, - {_sSI: _cLPCR, _smith: None}, - (_pMI, _mR, _nT), - ((PAYMENT_MANAGER_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), -) - -PAYMENT_CONNECTOR_SUMMARY: StaticSchema = ( - 18, - n0, - _PCSa, - 0, - (_pCIa, _n, _ty, _pMr, _st, _lUA), - ( - (PAYMENT_CONNECTOR_ID, 1), - (PAYMENT_CONNECTOR_NAME, 1), - (PAYMENT_CONNECTOR_TYPE, 1), - (PAYMENT_CONNECTOR_PROVISION_MODE, 0), - (PAYMENT_CONNECTOR_STATUS, 1), - (DATE_TIMESTAMP, 1), - ), -) - -PAYMENT_CONNECTOR_SUMMARIES: StaticSchema = ( - 16, - n0, - _PCSay, - 0, - (_mem,), - ((PAYMENT_CONNECTOR_SUMMARY, 0),), -) - -LIST_PAYMENT_CONNECTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPCO, - {_sSI: _cLPCRo, _smithy: None}, - (_pCa, _nT), - ((PAYMENT_CONNECTOR_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_PAYMENT_CONNECTORS: StaticOperationSchema = ( - 23, - n0, - _LPC, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/payments/managers/{paymentManagerId}/connectors-list", - } - ) - }, - LIST_PAYMENT_CONNECTORS_INPUT, - LIST_PAYMENT_CONNECTORS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -COINBASE_CDP_SECRET: StaticSchema = ( - 14, - n0, - _CCS, - 0, - (_AK, _WS), - ((-1, {_sVm: _AK}), (-1, {_sVm: _WS})), -) - -COINBASE_CDP_SECRETS: StaticSchema = ( - 16, - n0, - _CCSo, - 0, - (_mem,), - ((COINBASE_CDP_SECRET, 0),), -) - -COINBASE_CDP_ROTATION_TARGETS: StaticSchema = ( - 18, - n0, - _CCRT, - 0, - (_secr,), - ((COINBASE_CDP_SECRETS, 1),), -) - -CREDENTIAL_ROTATION_CONFIG: StaticSchema = ( - 19, - n0, - _CRCr, - 0, - (_cCDP,), - ((COINBASE_CDP_ROTATION_TARGETS, 0),), -) - -ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_INPUT: StaticSchema = ( - 18, - n0, - _RPCCI, - {_sSI: _cRPCCR, _smith: None}, - (_pMI, _pCIa, _cTR, _cT), - ( - (PAYMENT_MANAGER_ID, 9), - (PAYMENT_CONNECTOR_ID, 9), - (CREDENTIAL_ROTATION_CONFIG, 1), - (CLIENT_TOKEN, 2), - ), -) - -ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_OUTPUT: StaticSchema = ( - 18, - n0, - _RPCCO, - {_sSI: _cRPCCRo, _smithy: None}, - (_pCIa, _pMI, _lUA, _st), - ( - (PAYMENT_CONNECTOR_ID, 1), - (PAYMENT_MANAGER_ID, 1), - (DATE_TIMESTAMP, 1), - (PAYMENT_CONNECTOR_STATUS, 1), - ), -) - -ROTATE_PAYMENT_CONNECTOR_CREDENTIALS: StaticOperationSchema = ( - 23, - n0, - _RPCC, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}/rotate-credentials", - } - ) - }, - ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_INPUT, - ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_PAYMENT_CONNECTOR_INPUT: StaticSchema = ( - 18, - n0, - _UPCI, - {_sSI: _cUPCR, _smith: None}, - (_pMI, _pCIa, _d, _ty, _cPCr, _cT), - ( - (PAYMENT_MANAGER_ID, 9), - (PAYMENT_CONNECTOR_ID, 9), - (PAYMENTS_DESCRIPTION, 0), - (PAYMENT_CONNECTOR_TYPE, 0), - (CREDENTIALS_PROVIDER_CONFIGURATIONS, 0), - (CLIENT_TOKEN, 2), - ), -) - -UPDATE_PAYMENT_CONNECTOR_OUTPUT: StaticSchema = ( - 18, - n0, - _UPCOp, - {_sSI: _cUPCRo, _smithy: None}, - (_pCIa, _pMI, _n, _ty, _cPCr, _lUA, _st, _aU), - ( - (PAYMENT_CONNECTOR_ID, 1), - (PAYMENT_MANAGER_ID, 1), - (PAYMENT_CONNECTOR_NAME, 1), - (PAYMENT_CONNECTOR_TYPE, 1), - (CREDENTIALS_PROVIDER_CONFIGURATIONS, 1), - (DATE_TIMESTAMP, 1), - (PAYMENT_CONNECTOR_STATUS, 1), - (PAYMENT_CONNECTOR_AUTHORIZATION_URL, 0), - ), -) - -UPDATE_PAYMENT_CONNECTOR: StaticOperationSchema = ( - 23, - n0, - _UPC, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "PATCH", - "uri": "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}", - } - ) - }, - UPDATE_PAYMENT_CONNECTOR_INPUT, - UPDATE_PAYMENT_CONNECTOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SUBSCRIPTION_REQUIRED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_PAYMENT_MANAGER_INPUT: StaticSchema = ( - 18, - n0, - _UPMI, - {_sSI: _cUPMR, _smith: None}, - (_pMI, _d, _aT, _aCu, _rA, _cT, _kKA), - ( - (PAYMENT_MANAGER_ID, 9), - (PAYMENTS_DESCRIPTION, 0), - (PAYMENTS_AUTHORIZER_TYPE, 0), - (AUTHORIZER_CONFIGURATION, 0), - (ROLE_ARN, 0), - (CLIENT_TOKEN, 2), - (KMS_KEY_ARN, 0), - ), -) - -UPDATE_PAYMENT_MANAGER_OUTPUT: StaticSchema = ( - 18, - n0, - _UPMO, - {_sSI: _cUPMRo, _smithy: None}, - (_pMA, _pMI, _n, _aT, _rA, _wID, _lUA, _st, _kKA), - ( - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_MANAGER_ID, 1), - (PAYMENT_MANAGER_NAME, 1), - (PAYMENTS_AUTHORIZER_TYPE, 1), - (ROLE_ARN, 1), - (WORKLOAD_IDENTITY_DETAILS, 0), - (DATE_TIMESTAMP, 1), - (PAYMENT_MANAGER_STATUS, 1), - (KMS_KEY_ARN, 0), - ), -) - -UPDATE_PAYMENT_MANAGER: StaticOperationSchema = ( - 23, - n0, - _UPM, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "PATCH", - "uri": "/payments/managers/{paymentManagerId}", - } - ) - }, - UPDATE_PAYMENT_MANAGER_INPUT, - UPDATE_PAYMENT_MANAGER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -POLICY_ENGINE_NAME: StaticSchema = (3, n0, _PEN, 0) - -CREATE_POLICY_ENGINE_INPUT: StaticSchema = ( - 18, - n0, - _CPEI, - {_sSI: _cCPER, _smith: None}, - (_n, _d, _cT, _eKA, _t), - ( - (POLICY_ENGINE_NAME, 1), - (DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - (KMS_KEY_ARN, 0), - (TAGS_MAP, 0), - ), -) - -POLICY_ENGINE_ARN: StaticSchema = (3, n0, _PEA, 0) - -RESOURCE_ID: StaticSchema = (3, n0, _RI, 0) - -POLICY_ENGINE_STATUS: StaticSchema = ( - 14, - n0, - _PES, - 0, - (_CREATING, _ACTIVE, _UPDATING, _DELETING, _CF, _UF, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DF}), - ), -) - -STRING: StaticSchema = (3, n0, _Str, 0) - -POLICY_STATUS_REASONS: StaticSchema = (16, n0, _PSR, 0, (_mem,), ((STRING, 0),)) - -CREATE_POLICY_ENGINE_OUTPUT: StaticSchema = ( - 18, - n0, - _CPEO, - {_sSI: _cCPERo, _smithy: None}, - (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_ENGINE_NAME, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ENGINE_ARN, 1), - (POLICY_ENGINE_STATUS, 1), - (KMS_KEY_ARN, 0), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -CREATE_POLICY_ENGINE: StaticOperationSchema = ( - 23, - n0, - _CPE, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/policy-engines", "code": 202} - ) - }, - CREATE_POLICY_ENGINE_INPUT, - CREATE_POLICY_ENGINE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_POLICY_ENGINE_INPUT: StaticSchema = ( - 18, - n0, - _DPEI, - {_sSI: _cDPER, _smith: None}, - (_pEI,), - ((RESOURCE_ID, 9),), -) - -DELETE_POLICY_ENGINE_OUTPUT: StaticSchema = ( - 18, - n0, - _DPEO, - {_sSI: _cDPERo, _smithy: None}, - (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_ENGINE_NAME, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ENGINE_ARN, 1), - (POLICY_ENGINE_STATUS, 1), - (KMS_KEY_ARN, 0), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -DELETE_POLICY_ENGINE: StaticOperationSchema = ( - 23, - n0, - _DPE, - { - _smithya: MappingProxyType( - {"method": "DELETE", "uri": "/policy-engines/{policyEngineId}", "code": 202} - ) - }, - DELETE_POLICY_ENGINE_INPUT, - DELETE_POLICY_ENGINE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_POLICY_ENGINE_INPUT: StaticSchema = ( - 18, - n0, - _GPEI, - {_sSI: _cGPER, _smith: None}, - (_pEI,), - ((RESOURCE_ID, 9),), -) - -GET_POLICY_ENGINE_OUTPUT: StaticSchema = ( - 18, - n0, - _GPEO, - {_sSI: _cGPERo, _smithy: None}, - (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_ENGINE_NAME, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ENGINE_ARN, 1), - (POLICY_ENGINE_STATUS, 1), - (KMS_KEY_ARN, 0), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -GET_POLICY_ENGINE: StaticOperationSchema = ( - 23, - n0, - _GPE, - { - _smithya: MappingProxyType( - {"method": "GET", "uri": "/policy-engines/{policyEngineId}", "code": 200} - ) - }, - GET_POLICY_ENGINE_INPUT, - GET_POLICY_ENGINE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_POLICY_ENGINE_SUMMARY_INPUT: StaticSchema = ( - 18, - n0, - _GPESI, - {_sSI: _cGPESR, _smith: None}, - (_pEI,), - ((RESOURCE_ID, 9),), -) - -GET_POLICY_ENGINE_SUMMARY_OUTPUT: StaticSchema = ( - 18, - n0, - _GPESO, - {_sSI: _cGPESRo, _smithy: None}, - (_pEI, _n, _cA, _uA, _pEA, _st, _eKA), - ( - (RESOURCE_ID, 1), - (POLICY_ENGINE_NAME, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ENGINE_ARN, 1), - (POLICY_ENGINE_STATUS, 1), - (KMS_KEY_ARN, 0), - ), -) - -GET_POLICY_ENGINE_SUMMARY: StaticOperationSchema = ( - 23, - n0, - _GPES, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engine-summaries/{policyEngineId}", - "code": 200, - } - ) - }, - GET_POLICY_ENGINE_SUMMARY_INPUT, - GET_POLICY_ENGINE_SUMMARY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_POLICY_ENGINES_INPUT: StaticSchema = ( - 18, - n0, - _LPEI, - {_sSI: _cLPER, _smith: None}, - (_nT, _mR), - ((NEXT_TOKEN, {_sQ: _nT}), (MAX_RESULTS, {_sQ: _mR})), -) - -POLICY_ENGINE: StaticSchema = ( - 18, - n0, - _PEo, - 0, - (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_ENGINE_NAME, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ENGINE_ARN, 1), - (POLICY_ENGINE_STATUS, 1), - (KMS_KEY_ARN, 0), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -POLICY_ENGINES: StaticSchema = (16, n0, _PEol, 0, (_mem,), ((POLICY_ENGINE, 0),)) - -LIST_POLICY_ENGINES_OUTPUT: StaticSchema = ( - 18, - n0, - _LPEO, - {_sSI: _cLPERo, _smithy: None}, - (_pEo, _nT), - ((POLICY_ENGINES, 1), (NEXT_TOKEN, 0)), -) - -LIST_POLICY_ENGINES: StaticOperationSchema = ( - 23, - n0, - _LPE, - { - _smithya: MappingProxyType( - {"method": "GET", "uri": "/policy-engines", "code": 200} - ) - }, - LIST_POLICY_ENGINES_INPUT, - LIST_POLICY_ENGINES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_POLICY_ENGINE_SUMMARIES_INPUT: StaticSchema = ( - 18, - n0, - _LPESI, - {_sSI: _cLPESR, _smith: None}, - (_nT, _mR), - ((NEXT_TOKEN, {_sQ: _nT}), (MAX_RESULTS, {_sQ: _mR})), -) - -POLICY_ENGINE_SUMMARY: StaticSchema = ( - 18, - n0, - _PESo, - 0, - (_pEI, _n, _cA, _uA, _pEA, _st, _eKA), - ( - (RESOURCE_ID, 1), - (POLICY_ENGINE_NAME, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ENGINE_ARN, 1), - (POLICY_ENGINE_STATUS, 1), - (KMS_KEY_ARN, 0), - ), -) - -POLICY_ENGINE_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _PESL, - 0, - (_mem,), - ((POLICY_ENGINE_SUMMARY, 0),), -) - -LIST_POLICY_ENGINE_SUMMARIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LPESO, - {_sSI: _cLPESRo, _smithy: None}, - (_pEo, _nT), - ((POLICY_ENGINE_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_POLICY_ENGINE_SUMMARIES: StaticOperationSchema = ( - 23, - n0, - _LPES, - { - _smithya: MappingProxyType( - {"method": "GET", "uri": "/policy-engine-summaries", "code": 200} - ) - }, - LIST_POLICY_ENGINE_SUMMARIES_INPUT, - LIST_POLICY_ENGINE_SUMMARIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_POLICY_ENGINE_INPUT: StaticSchema = ( - 18, - n0, - _UPEI, - {_sSI: _cUPER, _smith: None}, - (_pEI, _d), - ((RESOURCE_ID, 9), (UPDATED_DESCRIPTION, 0)), -) - -UPDATE_POLICY_ENGINE_OUTPUT: StaticSchema = ( - 18, - n0, - _UPEOp, - {_sSI: _cUPERo, _smithy: None}, - (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_ENGINE_NAME, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ENGINE_ARN, 1), - (POLICY_ENGINE_STATUS, 1), - (KMS_KEY_ARN, 0), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -UPDATE_POLICY_ENGINE: StaticOperationSchema = ( - 23, - n0, - _UPE, - { - _smithya: MappingProxyType( - {"method": "PATCH", "uri": "/policy-engines/{policyEngineId}", "code": 202} - ) - }, - UPDATE_POLICY_ENGINE_INPUT, - UPDATE_POLICY_ENGINE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_POLICY_GENERATION_INPUT: StaticSchema = ( - 18, - n0, - _GPGI, - {_sSI: _cGPGR, _smith: None}, - (_pGI, _pEI), - ((RESOURCE_ID, 9), (RESOURCE_ID, 9)), -) - -POLICY_GENERATION_NAME: StaticSchema = (3, n0, _PGN, 0) - -POLICY_GENERATION_ARN: StaticSchema = (3, n0, _PGA, 0) - -RESOURCE: StaticSchema = (19, n0, _Re, 0, (_a,), ((BEDROCK_AGENTCORE_RESOURCE_ARN, 0),)) - -POLICY_GENERATION_STATUS: StaticSchema = ( - 14, - n0, - _PGS, - 0, - (_GENERATING, _GENERATED, _GF, _DF), - ( - (-1, {_sVm: _GENERATING}), - (-1, {_sVm: _GENERATED}), - (-1, {_sVm: _GF}), - (-1, {_sVm: _DF}), - ), -) - -GET_POLICY_GENERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GPGO, - {_sSI: _cGPGRo, _smithy: None}, - (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin, _sRta), - ( - (RESOURCE_ID, 1), - (RESOURCE_ID, 1), - (POLICY_GENERATION_NAME, 1), - (POLICY_GENERATION_ARN, 1), - (RESOURCE, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_GENERATION_STATUS, 1), - (STRING, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -GET_POLICY_GENERATION: StaticOperationSchema = ( - 23, - n0, - _GPG, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engines/{policyEngineId}/policy-generations/{policyGenerationId}", - } - ) - }, - GET_POLICY_GENERATION_INPUT, - GET_POLICY_GENERATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_POLICY_GENERATION_SUMMARY_INPUT: StaticSchema = ( - 18, - n0, - _GPGSI, - {_sSI: _cGPGSR, _smith: None}, - (_pGI, _pEI), - ((RESOURCE_ID, 9), (RESOURCE_ID, 9)), -) - -GET_POLICY_GENERATION_SUMMARY_OUTPUT: StaticSchema = ( - 18, - n0, - _GPGSO, - {_sSI: _cGPGSRo, _smithy: None}, - (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin), - ( - (RESOURCE_ID, 1), - (RESOURCE_ID, 1), - (POLICY_GENERATION_NAME, 1), - (POLICY_GENERATION_ARN, 1), - (RESOURCE, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_GENERATION_STATUS, 1), - (STRING, 0), - ), -) - -GET_POLICY_GENERATION_SUMMARY: StaticOperationSchema = ( - 23, - n0, - _GPGS, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engines/{policyEngineId}/policy-generation-summaries/{policyGenerationId}", - "code": 200, - } - ) - }, - GET_POLICY_GENERATION_SUMMARY_INPUT, - GET_POLICY_GENERATION_SUMMARY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_POLICY_GENERATION_ASSETS_INPUT: StaticSchema = ( - 18, - n0, - _LPGAI, - {_sSI: _cLPGAR, _smith: None}, - (_pGI, _pEI, _nT, _mR), - ( - (RESOURCE_ID, 9), - (RESOURCE_ID, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS, {_sQ: _mR}), - ), -) - -STATEMENT: StaticSchema = (3, n0, _Sta, 0) - -CEDAR_POLICY: StaticSchema = (18, n0, _CPe, 0, (_stat,), ((STATEMENT, 1),)) - -POLICY_STATEMENT: StaticSchema = (18, n0, _PSo, 0, (_stat,), ((STATEMENT, 1),)) - -POLICY_GENERATION_DETAILS: StaticSchema = ( - 18, - n0, - _PGD, - 0, - (_pGI, _pGAI), - ((RESOURCE_ID, 1), (RESOURCE_ID, 1)), -) - -POLICY_DEFINITION: StaticSchema = ( - 19, - n0, - _PDo, - 0, - (_ced, _pG, _pol), - ((CEDAR_POLICY, 0), (POLICY_GENERATION_DETAILS, 0), (POLICY_STATEMENT, 0)), -) - -FINDING_TYPE: StaticSchema = ( - 14, - n0, - _FTi, - 0, - (_VALID, _INVALID, _NT_, _AA__, _AN, _DA_, _DN_), - ( - (-1, {_sVm: _VALID}), - (-1, {_sVm: _INVALID}), - (-1, {_sVm: _NT_}), - (-1, {_sVm: _AA__}), - (-1, {_sVm: _AN}), - (-1, {_sVm: _DA_}), - (-1, {_sVm: _DN_}), - ), -) - -FINDING: StaticSchema = (18, n0, _Fin, 0, (_ty, _d), ((FINDING_TYPE, 0), (STRING, 0))) - -FINDINGS: StaticSchema = (16, n0, _Find, 0, (_mem,), ((FINDING, 0),)) - -NATURAL_LANGUAGE: StaticSchema = (3, n0, _NLa, 0) - -POLICY_GENERATION_ASSET: StaticSchema = ( - 18, - n0, - _PGAo, - 0, - (_pGAI, _de, _rTF, _fin), - ((RESOURCE_ID, 1), (POLICY_DEFINITION, 0), (NATURAL_LANGUAGE, 1), (FINDINGS, 1)), -) - -POLICY_GENERATION_ASSETS: StaticSchema = ( - 16, - n0, - _PGAol, - 0, - (_mem,), - ((POLICY_GENERATION_ASSET, 0),), -) - -LIST_POLICY_GENERATION_ASSETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPGAO, - {_sSI: _cLPGARo, _smithy: None}, - (_pGAo, _nT), - ((POLICY_GENERATION_ASSETS, 0), (NEXT_TOKEN, 0)), -) - -LIST_POLICY_GENERATION_ASSETS: StaticOperationSchema = ( - 23, - n0, - _LPGA, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engines/{policyEngineId}/policy-generations/{policyGenerationId}/assets", - } - ) - }, - LIST_POLICY_GENERATION_ASSETS_INPUT, - LIST_POLICY_GENERATION_ASSETS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_POLICY_GENERATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LPGI, - {_sSI: _cLPGR, _smith: None}, - (_nT, _mR, _pEI), - ((NEXT_TOKEN, {_sQ: _nT}), (MAX_RESULTS, {_sQ: _mR}), (RESOURCE_ID, 9)), -) - -POLICY_GENERATION: StaticSchema = ( - 18, - n0, - _PG, - 0, - (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin, _sRta), - ( - (RESOURCE_ID, 1), - (RESOURCE_ID, 1), - (POLICY_GENERATION_NAME, 1), - (POLICY_GENERATION_ARN, 1), - (RESOURCE, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_GENERATION_STATUS, 1), - (STRING, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -POLICY_GENERATIONS: StaticSchema = (16, n0, _PGo, 0, (_mem,), ((POLICY_GENERATION, 0),)) - -LIST_POLICY_GENERATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPGO, - {_sSI: _cLPGRo, _smithy: None}, - (_pGo, _nT), - ((POLICY_GENERATIONS, 1), (NEXT_TOKEN, 0)), -) - -LIST_POLICY_GENERATIONS: StaticOperationSchema = ( - 23, - n0, - _LPG, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engines/{policyEngineId}/policy-generations", - } - ) - }, - LIST_POLICY_GENERATIONS_INPUT, - LIST_POLICY_GENERATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_POLICY_GENERATION_SUMMARIES_INPUT: StaticSchema = ( - 18, - n0, - _LPGSI, - {_sSI: _cLPGSR, _smith: None}, - (_nT, _mR, _pEI), - ((NEXT_TOKEN, {_sQ: _nT}), (MAX_RESULTS, {_sQ: _mR}), (RESOURCE_ID, 9)), -) - -POLICY_GENERATION_SUMMARY: StaticSchema = ( - 18, - n0, - _PGSo, - 0, - (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin), - ( - (RESOURCE_ID, 1), - (RESOURCE_ID, 1), - (POLICY_GENERATION_NAME, 1), - (POLICY_GENERATION_ARN, 1), - (RESOURCE, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_GENERATION_STATUS, 1), - (STRING, 0), - ), -) - -POLICY_GENERATION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _PGSL, - 0, - (_mem,), - ((POLICY_GENERATION_SUMMARY, 0),), -) - -LIST_POLICY_GENERATION_SUMMARIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LPGSO, - {_sSI: _cLPGSRo, _smithy: None}, - (_pGo, _nT), - ((POLICY_GENERATION_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_POLICY_GENERATION_SUMMARIES: StaticOperationSchema = ( - 23, - n0, - _LPGS, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engines/{policyEngineId}/policy-generation-summaries", - "code": 200, - } - ) - }, - LIST_POLICY_GENERATION_SUMMARIES_INPUT, - LIST_POLICY_GENERATION_SUMMARIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONTENT: StaticSchema = (19, n0, _Conte, 0, (_rTa,), ((NATURAL_LANGUAGE, 0),)) - -START_POLICY_GENERATION_INPUT: StaticSchema = ( - 18, - n0, - _SPGI, - {_sSI: _cSPGR, _smith: None}, - (_pEI, _resou, _cont, _n, _cT), - ( - (RESOURCE_ID, 9), - (RESOURCE, 1), - (CONTENT, 1), - (POLICY_GENERATION_NAME, 1), - (CLIENT_TOKEN, 2), - ), -) - -START_POLICY_GENERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _SPGO, - {_sSI: _cSPGRo, _smithy: None}, - (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin, _sRta), - ( - (RESOURCE_ID, 1), - (RESOURCE_ID, 1), - (POLICY_GENERATION_NAME, 1), - (POLICY_GENERATION_ARN, 1), - (RESOURCE, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_GENERATION_STATUS, 1), - (STRING, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -START_POLICY_GENERATION: StaticOperationSchema = ( - 23, - n0, - _SPG, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/policy-engines/{policyEngineId}/policy-generations", - "code": 202, - } - ) - }, - START_POLICY_GENERATION_INPUT, - START_POLICY_GENERATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ENFORCEMENT_MODE: StaticSchema = ( - 14, - n0, - _EM, - {_smi: _ACTIVE}, - (_ACTIVE, _LO), - ((-1, {_sVm: _ACTIVE}), (-1, {_sVm: _LO})), -) - -POLICY_NAME: StaticSchema = (3, n0, _PN, 0) - -POLICY_VALIDATION_MODE: StaticSchema = ( - 14, - n0, - _PVM, - {_smi: _FOAF}, - (_FOAF, _IAF), - ((-1, {_sVm: _FOAF}), (-1, {_sVm: _IAF})), -) - -CREATE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _CPIr, - {_sSI: _cCPR, _smith: None}, - (_n, _de, _d, _vM, _eM, _pEI, _cT), - ( - (POLICY_NAME, 1), - (POLICY_DEFINITION, 1), - (DESCRIPTION, 0), - (POLICY_VALIDATION_MODE, {_smi: _FOAF}), - (ENFORCEMENT_MODE, {_smi: _ACTIVE}), - (RESOURCE_ID, 9), - (CLIENT_TOKEN, 2), - ), -) - -POLICY_ARN: StaticSchema = (3, n0, _PAo, 0) - -POLICY_STATUS: StaticSchema = ( - 14, - n0, - _PSol, - 0, - (_CREATING, _ACTIVE, _UPDATING, _DELETING, _CF, _UF, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DF}), - ), -) - -CREATE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _CPOr, - {_sSI: _cCPRo, _smithy: None}, - (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_NAME, 1), - (RESOURCE_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ARN, 1), - (POLICY_STATUS, 1), - (ENFORCEMENT_MODE, {_smi: _ACTIVE}), - (POLICY_DEFINITION, 1), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -CREATE_POLICY: StaticOperationSchema = ( - 23, - n0, - _CPre, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/policy-engines/{policyEngineId}/policies", - "code": 202, - } - ) - }, - CREATE_POLICY_INPUT, - CREATE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DPI, - {_sSI: _cDPR, _smith: None}, - (_pEI, _pIo), - ((RESOURCE_ID, 9), (RESOURCE_ID, 9)), -) - -DELETE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DPO, - {_sSI: _cDPRo, _smithy: None}, - (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_NAME, 1), - (RESOURCE_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ARN, 1), - (POLICY_STATUS, 1), - (ENFORCEMENT_MODE, {_smi: _ACTIVE}), - (POLICY_DEFINITION, 1), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -DELETE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DP, - { - _smithya: MappingProxyType( - { - "method": "DELETE", - "uri": "/policy-engines/{policyEngineId}/policies/{policyId}", - "code": 202, - } - ) - }, - DELETE_POLICY_INPUT, - DELETE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GPI, - {_sSI: _cGPR, _smith: None}, - (_pEI, _pIo), - ((RESOURCE_ID, 9), (RESOURCE_ID, 9)), -) - -GET_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GPO, - {_sSI: _cGPRo, _smithy: None}, - (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_NAME, 1), - (RESOURCE_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ARN, 1), - (POLICY_STATUS, 1), - (ENFORCEMENT_MODE, {_smi: _ACTIVE}), - (POLICY_DEFINITION, 1), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -GET_POLICY: StaticOperationSchema = ( - 23, - n0, - _GPe, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engines/{policyEngineId}/policies/{policyId}", - "code": 200, - } - ) - }, - GET_POLICY_INPUT, - GET_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_POLICY_SUMMARY_INPUT: StaticSchema = ( - 18, - n0, - _GPSI, - {_sSI: _cGPSR, _smith: None}, - (_pEI, _pIo), - ((RESOURCE_ID, 9), (RESOURCE_ID, 9)), -) - -GET_POLICY_SUMMARY_OUTPUT: StaticSchema = ( - 18, - n0, - _GPSO, - {_sSI: _cGPSRo, _smithy: None}, - (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM), - ( - (RESOURCE_ID, 1), - (POLICY_NAME, 1), - (RESOURCE_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ARN, 1), - (POLICY_STATUS, 1), - (ENFORCEMENT_MODE, {_smi: _ACTIVE}), - ), -) - -GET_POLICY_SUMMARY: StaticOperationSchema = ( - 23, - n0, - _GPS, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engines/{policyEngineId}/policy-summaries/{policyId}", - "code": 200, - } - ) - }, - GET_POLICY_SUMMARY_INPUT, - GET_POLICY_SUMMARY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LPI, - {_sSI: _cLPR, _smith: None}, - (_nT, _mR, _pEI, _tRS), - ( - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS, {_sQ: _mR}), - (RESOURCE_ID, 9), - (BEDROCK_AGENTCORE_RESOURCE_ARN, {_sQ: _tRS}), - ), -) - -POLICY: StaticSchema = ( - 18, - n0, - _Pol, - 0, - (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_NAME, 1), - (RESOURCE_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ARN, 1), - (POLICY_STATUS, 1), - (ENFORCEMENT_MODE, {_smi: _ACTIVE}), - (POLICY_DEFINITION, 1), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -POLICIES: StaticSchema = (16, n0, _Poli, 0, (_mem,), ((POLICY, 0),)) - -LIST_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LPO, - {_sSI: _cLPRo, _smithy: None}, - (_poli, _nT), - ((POLICIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LPi, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engines/{policyEngineId}/policies", - "code": 200, - } - ) - }, - LIST_POLICIES_INPUT, - LIST_POLICIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_POLICY_SUMMARIES_INPUT: StaticSchema = ( - 18, - n0, - _LPSI, - {_sSI: _cLPSR, _smith: None}, - (_nT, _mR, _pEI, _tRS), - ( - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS, {_sQ: _mR}), - (RESOURCE_ID, 9), - (BEDROCK_AGENTCORE_RESOURCE_ARN, {_sQ: _tRS}), - ), -) - -POLICY_SUMMARY: StaticSchema = ( - 18, - n0, - _PSoli, - 0, - (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM), - ( - (RESOURCE_ID, 1), - (POLICY_NAME, 1), - (RESOURCE_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ARN, 1), - (POLICY_STATUS, 1), - (ENFORCEMENT_MODE, {_smi: _ACTIVE}), - ), -) - -POLICY_SUMMARY_LIST: StaticSchema = (16, n0, _PSL, 0, (_mem,), ((POLICY_SUMMARY, 0),)) - -LIST_POLICY_SUMMARIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LPSO, - {_sSI: _cLPSRo, _smithy: None}, - (_poli, _nT), - ((POLICY_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_POLICY_SUMMARIES: StaticOperationSchema = ( - 23, - n0, - _LPS, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/policy-engines/{policyEngineId}/policy-summaries", - "code": 200, - } - ) - }, - LIST_POLICY_SUMMARIES_INPUT, - LIST_POLICY_SUMMARIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _UPI, - {_sSI: _cUPR, _smith: None}, - (_pEI, _pIo, _d, _de, _vM, _eM), - ( - (RESOURCE_ID, 9), - (RESOURCE_ID, 9), - (UPDATED_DESCRIPTION, 0), - (POLICY_DEFINITION, 0), - (POLICY_VALIDATION_MODE, {_smi: _FOAF}), - (ENFORCEMENT_MODE, {_smi: None}), - ), -) - -UPDATE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _UPOp, - {_sSI: _cUPRo, _smithy: None}, - (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), - ( - (RESOURCE_ID, 1), - (POLICY_NAME, 1), - (RESOURCE_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (POLICY_ARN, 1), - (POLICY_STATUS, 1), - (ENFORCEMENT_MODE, {_smi: _ACTIVE}), - (POLICY_DEFINITION, 1), - (DESCRIPTION, 0), - (POLICY_STATUS_REASONS, 1), - ), -) - -UPDATE_POLICY: StaticOperationSchema = ( - 23, - n0, - _UPp, - { - _smithya: MappingProxyType( - { - "method": "PATCH", - "uri": "/policy-engines/{policyEngineId}/policies/{policyId}", - "code": 202, - } - ) - }, - UPDATE_POLICY_INPUT, - UPDATE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_sSI: _cPRPR, _smith: None}, - (_rAe, _pol), - ((BEDROCK_AGENTCORE_RESOURCE_ARN, 9), (RESOURCE_POLICY_BODY, 1)), -) - -PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPO, - {_sSI: _cPRPRo, _smithy: None}, - (_pol,), - ((RESOURCE_POLICY_BODY, 1),), -) - -PUT_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRP, - { - _smithya: MappingProxyType( - {"code": 201, "method": "PUT", "uri": "/resourcepolicy/{resourceArn}"} - ) - }, - PUT_RESOURCE_POLICY_INPUT, - PUT_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CUSTOM_DESCRIPTOR: StaticSchema = (18, n0, _CDus, 0, (_iC,), ((INLINE_CONTENT, 0),)) - -SERVER_DEFINITION: StaticSchema = ( - 18, - n0, - _SDe, - 0, - (_sV, _iC), - ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), -) - -TOOLS_DEFINITION: StaticSchema = ( - 18, - n0, - _TDo, - 0, - (_pVr, _iC), - ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), -) - -MCP_DESCRIPTOR: StaticSchema = ( - 18, - n0, - _MD, - 0, - (_se, _too), - ((SERVER_DEFINITION, 0), (TOOLS_DEFINITION, 0)), -) - -DESCRIPTORS: StaticSchema = ( - 18, - n0, - _Des, - 0, - (_mc, _aa, _cu, _aSg), - ( - (MCP_DESCRIPTOR, 0), - (A2A_DESCRIPTOR, 0), - (CUSTOM_DESCRIPTOR, 0), - (AGENT_SKILLS_DESCRIPTOR, 0), - ), -) - -DESCRIPTOR_TYPE: StaticSchema = ( - 14, - n0, - _DTe, - 0, - (_MCP, _AA_, _CUSTOM, _AS), - ((-1, {_sVm: _MCP}), (-1, {_sVm: _AA_}), (-1, {_sVm: _CUSTOM}), (-1, {_sVm: _AS})), -) - -REGISTRY_RECORD_NAME: StaticSchema = (3, n0, _RRN, 0) - -REGISTRY_RECORD_VERSION: StaticSchema = (3, n0, _RRV, 0) - -REGISTRY_IDENTIFIER: StaticSchema = (3, n0, _RIe, 0) - -IAM_SIGNING_REGION: StaticSchema = (3, n0, _ISR, 0) - -IAM_ROLE_ARN: StaticSchema = (3, n0, _IRA, 0) - -IAM_SIGNING_SERVICE_NAME: StaticSchema = (3, n0, _ISSN, 0) - -REGISTRY_RECORD_IAM_CREDENTIAL_PROVIDER: StaticSchema = ( - 18, - n0, - _RRICP, - 0, - (_rA, _ser, _reg), - ((IAM_ROLE_ARN, 0), (IAM_SIGNING_SERVICE_NAME, 0), (IAM_SIGNING_REGION, 0)), -) - -CUSTOM_PARAMETER_MAP: StaticSchema = (17, n0, _CPMu, 0, (_k, _v), ((3, 0), (3, 0))) - -REGISTRY_RECORD_O_AUTH_GRANT_TYPE: StaticSchema = ( - 14, - n0, - _RROAGT, - 0, - (_CC_,), - ((-1, {_sVm: _CC_}),), -) - -CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _CPAr, 0) - -SCOPE_LIST: StaticSchema = (16, n0, _SLc, 0, (_mem,), ((3, 0),)) - -REGISTRY_RECORD_O_AUTH_CREDENTIAL_PROVIDER: StaticSchema = ( - 18, - n0, - _RROACP, - 0, - (_pAr, _gT, _sco, _cPu), - ( - (CREDENTIAL_PROVIDER_ARN, 1), - (REGISTRY_RECORD_O_AUTH_GRANT_TYPE, 0), - (SCOPE_LIST, 0), - (CUSTOM_PARAMETER_MAP, 0), - ), -) - -REGISTRY_RECORD_CREDENTIAL_PROVIDER_UNION: StaticSchema = ( - 19, - n0, - _RRCPU, - 0, - (_oCP, _iCP), - ( - (REGISTRY_RECORD_O_AUTH_CREDENTIAL_PROVIDER, 0), - (REGISTRY_RECORD_IAM_CREDENTIAL_PROVIDER, 0), - ), -) - -REGISTRY_RECORD_CREDENTIAL_PROVIDER_TYPE: StaticSchema = ( - 14, - n0, - _RRCPT, - 0, - (_OAUTH, _IAM), - ((-1, {_sVm: _OAUTH}), (-1, {_sVm: _IAM})), -) - -REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RRCPC, - 0, - (_cPT, _cPre), - ( - (REGISTRY_RECORD_CREDENTIAL_PROVIDER_TYPE, 1), - (REGISTRY_RECORD_CREDENTIAL_PROVIDER_UNION, 1), - ), -) - -REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _RRCPCL, - 0, - (_mem,), - ((REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION, 0),), -) - -MCP_SERVER_URL: StaticSchema = (3, n0, _MSU, 0) - -FROM_URL_SYNCHRONIZATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FUSC, - 0, - (_ur, _cPCr), - ((MCP_SERVER_URL, 1), (REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION_LIST, 0)), -) - -SYNCHRONIZATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCy, - 0, - (_fU,), - ((FROM_URL_SYNCHRONIZATION_CONFIGURATION, 0),), -) - -SYNCHRONIZATION_TYPE: StaticSchema = (14, n0, _STy, 0, (_URL,), ((-1, {_sVm: _URL}),)) - -CREATE_REGISTRY_RECORD_INPUT: StaticSchema = ( - 18, - n0, - _CRRI, - {_sSI: _cCRRR, _smith: None}, - (_rIe, _n, _d, _dT, _des, _rVe, _sTy, _sCy, _cT), - ( - (REGISTRY_IDENTIFIER, 9), - (REGISTRY_RECORD_NAME, 1), - (DESCRIPTION, 0), - (DESCRIPTOR_TYPE, 1), - (DESCRIPTORS, 0), - (REGISTRY_RECORD_VERSION, 0), - (SYNCHRONIZATION_TYPE, 0), - (SYNCHRONIZATION_CONFIGURATION, 0), - (CLIENT_TOKEN, 2), - ), -) - -REGISTRY_RECORD_ARN: StaticSchema = (3, n0, _RRA, 0) - -REGISTRY_RECORD_STATUS: StaticSchema = ( - 14, - n0, - _RRS, - 0, - (_DRAFT, _PA_, _APPROVED, _REJECTED, _DEPRECATED, _CREATING, _UPDATING, _CF, _UF), - ( - (-1, {_sVm: _DRAFT}), - (-1, {_sVm: _PA_}), - (-1, {_sVm: _APPROVED}), - (-1, {_sVm: _REJECTED}), - (-1, {_sVm: _DEPRECATED}), - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UF}), - ), -) - -CREATE_REGISTRY_RECORD_OUTPUT: StaticSchema = ( - 18, - n0, - _CRRO, - {_sSI: _cCRRRo, _smithy: None}, - (_rAec, _st), - ((REGISTRY_RECORD_ARN, 1), (REGISTRY_RECORD_STATUS, 1)), -) - -CREATE_REGISTRY_RECORD: StaticOperationSchema = ( - 23, - n0, - _CRR, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/registries/{registryId}/records", "code": 202} - ) - }, - CREATE_REGISTRY_RECORD_INPUT, - CREATE_REGISTRY_RECORD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RECORD_IDENTIFIER: StaticSchema = (3, n0, _RIec, 0) - -DELETE_REGISTRY_RECORD_INPUT: StaticSchema = ( - 18, - n0, - _DRRI, - {_sSI: _cDRRR, _smith: None}, - (_rIe, _rIec), - ((REGISTRY_IDENTIFIER, 9), (RECORD_IDENTIFIER, 9)), -) - -DELETE_REGISTRY_RECORD_OUTPUT: StaticSchema = ( - 18, - n0, - _DRRO, - {_sSI: _cDRRRo, _smithy: None}, -) - -DELETE_REGISTRY_RECORD: StaticOperationSchema = ( - 23, - n0, - _DRR, - { - _smithya: MappingProxyType( - { - "method": "DELETE", - "uri": "/registries/{registryId}/records/{recordId}", - "code": 200, - } - ) - }, - DELETE_REGISTRY_RECORD_INPUT, - DELETE_REGISTRY_RECORD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_REGISTRY_RECORD_INPUT: StaticSchema = ( - 18, - n0, - _GRRI, - {_sSI: _cGRRR, _smith: None}, - (_rIe, _rIec), - ((REGISTRY_IDENTIFIER, 9), (RECORD_IDENTIFIER, 9)), -) - -REGISTRY_RECORD_ID: StaticSchema = (3, n0, _RRI, 0) - -REGISTRY_ARN: StaticSchema = (3, n0, _RAe, 0) - -GET_REGISTRY_RECORD_OUTPUT: StaticSchema = ( - 18, - n0, - _GRRO, - {_sSI: _cGRRRo, _smithy: None}, - (_rAeg, _rAec, _rIec, _n, _d, _dT, _des, _rVe, _st, _cA, _uA, _sRt, _sTy, _sCy), - ( - (REGISTRY_ARN, 1), - (REGISTRY_RECORD_ARN, 1), - (REGISTRY_RECORD_ID, 1), - (REGISTRY_RECORD_NAME, 1), - (DESCRIPTION, 0), - (DESCRIPTOR_TYPE, 1), - (DESCRIPTORS, 1), - (REGISTRY_RECORD_VERSION, 0), - (REGISTRY_RECORD_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (3, 0), - (SYNCHRONIZATION_TYPE, 0), - (SYNCHRONIZATION_CONFIGURATION, 0), - ), -) - -GET_REGISTRY_RECORD: StaticOperationSchema = ( - 23, - n0, - _GRR, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/registries/{registryId}/records/{recordId}", - "code": 200, - } - ) - }, - GET_REGISTRY_RECORD_INPUT, - GET_REGISTRY_RECORD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_REGISTRY_RECORDS_INPUT: StaticSchema = ( - 18, - n0, - _LRRI, - {_sSI: _cLRRR, _smith: None}, - (_rIe, _mR, _nT, _n, _st, _dT), - ( - (REGISTRY_IDENTIFIER, 9), - (MAX_RESULTS, {_sQ: _mR}), - (NEXT_TOKEN, {_sQ: _nT}), - (REGISTRY_RECORD_NAME, {_sQ: _n}), - (REGISTRY_RECORD_STATUS, {_sQ: _st}), - (DESCRIPTOR_TYPE, {_sQ: _dT}), - ), -) - -REGISTRY_RECORD_SUMMARY: StaticSchema = ( - 18, - n0, - _RRSe, - 0, - (_rAeg, _rAec, _rIec, _n, _d, _dT, _rVe, _st, _cA, _uA), - ( - (REGISTRY_ARN, 1), - (REGISTRY_RECORD_ARN, 1), - (REGISTRY_RECORD_ID, 1), - (REGISTRY_RECORD_NAME, 1), - (DESCRIPTION, 0), - (DESCRIPTOR_TYPE, 1), - (REGISTRY_RECORD_VERSION, 1), - (REGISTRY_RECORD_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -REGISTRY_RECORD_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _RRSL, - 0, - (_mem,), - ((REGISTRY_RECORD_SUMMARY, 0),), -) - -LIST_REGISTRY_RECORDS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRRO, - {_sSI: _cLRRRo, _smithy: None}, - (_rR, _nT), - ((REGISTRY_RECORD_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_REGISTRY_RECORDS: StaticOperationSchema = ( - 23, - n0, - _LRR, - { - _smithya: MappingProxyType( - {"method": "GET", "uri": "/registries/{registryId}/records", "code": 200} - ) - }, - LIST_REGISTRY_RECORDS_INPUT, - LIST_REGISTRY_RECORDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_INPUT: StaticSchema = ( - 18, - n0, - _SRRFAI, - {_sSI: _cSRRFAR, _smith: None}, - (_rIe, _rIec), - ((REGISTRY_IDENTIFIER, 9), (RECORD_IDENTIFIER, 9)), -) - -SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_OUTPUT: StaticSchema = ( - 18, - n0, - _SRRFAO, - {_sSI: _cSRRFARo, _smithy: None}, - (_rAeg, _rAec, _rIec, _st, _uA), - ( - (REGISTRY_ARN, 1), - (REGISTRY_RECORD_ARN, 1), - (REGISTRY_RECORD_ID, 1), - (REGISTRY_RECORD_STATUS, 1), - (DATE_TIMESTAMP, 1), - ), -) - -SUBMIT_REGISTRY_RECORD_FOR_APPROVAL: StaticOperationSchema = ( - 23, - n0, - _SRRFA, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/registries/{registryId}/records/{recordId}/submit-for-approval", - "code": 202, - } - ) - }, - SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_INPUT, - SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATED_A2A_DESCRIPTOR: StaticSchema = (18, n0, _UAD, 0, (_oV,), ((A2A_DESCRIPTOR, 0),)) - -UPDATED_SKILL_DEFINITION: StaticSchema = ( - 18, - n0, - _USD, - 0, - (_oV,), - ((SKILL_DEFINITION, 0),), -) - -UPDATED_SKILL_MD_DEFINITION: StaticSchema = ( - 18, - n0, - _USMD, - 0, - (_oV,), - ((SKILL_MD_DEFINITION, 0),), -) - -UPDATED_AGENT_SKILLS_DESCRIPTOR_FIELDS: StaticSchema = ( - 18, - n0, - _UASDF, - 0, - (_sMk, _sD), - ((UPDATED_SKILL_MD_DEFINITION, 0), (UPDATED_SKILL_DEFINITION, 0)), -) - -UPDATED_AGENT_SKILLS_DESCRIPTOR: StaticSchema = ( - 18, - n0, - _UASD, - 0, - (_oV,), - ((UPDATED_AGENT_SKILLS_DESCRIPTOR_FIELDS, 0),), -) - -UPDATED_CUSTOM_DESCRIPTOR: StaticSchema = ( - 18, - n0, - _UCD, - 0, - (_oV,), - ((CUSTOM_DESCRIPTOR, 0),), -) - -UPDATED_SERVER_DEFINITION: StaticSchema = ( - 18, - n0, - _USDp, - 0, - (_oV,), - ((SERVER_DEFINITION, 0),), -) - -UPDATED_TOOLS_DEFINITION: StaticSchema = ( - 18, - n0, - _UTD, - 0, - (_oV,), - ((TOOLS_DEFINITION, 0),), -) - -UPDATED_MCP_DESCRIPTOR_FIELDS: StaticSchema = ( - 18, - n0, - _UMDF, - 0, - (_se, _too), - ((UPDATED_SERVER_DEFINITION, 0), (UPDATED_TOOLS_DEFINITION, 0)), -) - -UPDATED_MCP_DESCRIPTOR: StaticSchema = ( - 18, - n0, - _UMD, - 0, - (_oV,), - ((UPDATED_MCP_DESCRIPTOR_FIELDS, 0),), -) - -UPDATED_DESCRIPTORS_UNION: StaticSchema = ( - 18, - n0, - _UDU, - 0, - (_mc, _aa, _cu, _aSg), - ( - (UPDATED_MCP_DESCRIPTOR, 0), - (UPDATED_A2A_DESCRIPTOR, 0), - (UPDATED_CUSTOM_DESCRIPTOR, 0), - (UPDATED_AGENT_SKILLS_DESCRIPTOR, 0), - ), -) - -UPDATED_DESCRIPTORS: StaticSchema = ( - 18, - n0, - _UDpd, - 0, - (_oV,), - ((UPDATED_DESCRIPTORS_UNION, 0),), -) - -UPDATED_SYNCHRONIZATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _USC, - 0, - (_oV,), - ((SYNCHRONIZATION_CONFIGURATION, 0),), -) - -UPDATED_SYNCHRONIZATION_TYPE: StaticSchema = ( - 18, - n0, - _UST, - 0, - (_oV,), - ((SYNCHRONIZATION_TYPE, 0),), -) - -UPDATE_REGISTRY_RECORD_INPUT: StaticSchema = ( - 18, - n0, - _URRI, - {_sSI: _cURRR, _smith: None}, - (_rIe, _rIec, _n, _d, _dT, _des, _rVe, _sTy, _sCy, _tSr), - ( - (REGISTRY_IDENTIFIER, 9), - (RECORD_IDENTIFIER, 9), - (REGISTRY_RECORD_NAME, 0), - (UPDATED_DESCRIPTION, 0), - (DESCRIPTOR_TYPE, 0), - (UPDATED_DESCRIPTORS, 0), - (REGISTRY_RECORD_VERSION, 0), - (UPDATED_SYNCHRONIZATION_TYPE, 0), - (UPDATED_SYNCHRONIZATION_CONFIGURATION, 0), - (2, 0), - ), -) - -UPDATE_REGISTRY_RECORD_OUTPUT: StaticSchema = ( - 18, - n0, - _URRO, - {_sSI: _cURRRo, _smithy: None}, - (_rAeg, _rAec, _rIec, _n, _d, _dT, _des, _rVe, _st, _cA, _uA, _sRt, _sTy, _sCy), - ( - (REGISTRY_ARN, 1), - (REGISTRY_RECORD_ARN, 1), - (REGISTRY_RECORD_ID, 1), - (REGISTRY_RECORD_NAME, 1), - (DESCRIPTION, 0), - (DESCRIPTOR_TYPE, 1), - (DESCRIPTORS, 1), - (REGISTRY_RECORD_VERSION, 0), - (REGISTRY_RECORD_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (3, 0), - (SYNCHRONIZATION_TYPE, 0), - (SYNCHRONIZATION_CONFIGURATION, 0), - ), -) - -UPDATE_REGISTRY_RECORD: StaticOperationSchema = ( - 23, - n0, - _URR, - { - _smithya: MappingProxyType( - { - "method": "PATCH", - "uri": "/registries/{registryId}/records/{recordId}", - "code": 202, - } - ) - }, - UPDATE_REGISTRY_RECORD_INPUT, - UPDATE_REGISTRY_RECORD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_REGISTRY_RECORD_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _URRSI, - {_sSI: _cURRSR, _smith: None}, - (_rIe, _rIec, _st, _sRt), - ( - (REGISTRY_IDENTIFIER, 9), - (RECORD_IDENTIFIER, 9), - (REGISTRY_RECORD_STATUS, 1), - (3, 1), - ), -) - -UPDATE_REGISTRY_RECORD_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _URRSO, - {_sSI: _cURRSRo, _smithy: None}, - (_rAeg, _rAec, _rIec, _st, _sRt, _uA), - ( - (REGISTRY_ARN, 1), - (REGISTRY_RECORD_ARN, 1), - (REGISTRY_RECORD_ID, 1), - (REGISTRY_RECORD_STATUS, 1), - (3, 1), - (DATE_TIMESTAMP, 1), - ), -) - -UPDATE_REGISTRY_RECORD_STATUS: StaticOperationSchema = ( - 23, - n0, - _URRS, - { - _smithya: MappingProxyType( - { - "method": "PATCH", - "uri": "/registries/{registryId}/records/{recordId}/status", - "code": 202, - } - ) - }, - UPDATE_REGISTRY_RECORD_STATUS_INPUT, - UPDATE_REGISTRY_RECORD_STATUS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -APPROVAL_CONFIGURATION: StaticSchema = (18, n0, _ACp, 0, (_aAu,), ((2, {_smi: False}),)) - -REGISTRY_AUTHORIZER_TYPE: StaticSchema = ( - 14, - n0, - _RAT, - 0, - (_CJ, _AI), - ((-1, {_sVm: _CJ}), (-1, {_sVm: _AI})), -) - -REGISTRY_NAME: StaticSchema = (3, n0, _RN, 0) - -CREATE_REGISTRY_INPUT: StaticSchema = ( - 18, - n0, - _CRIr, - {_sSI: _cCRR, _smith: None}, - (_n, _d, _aT, _aCu, _cT, _aCp), - ( - (REGISTRY_NAME, 1), - (DESCRIPTION, 0), - (REGISTRY_AUTHORIZER_TYPE, 0), - (AUTHORIZER_CONFIGURATION, 0), - (CLIENT_TOKEN, 2), - (APPROVAL_CONFIGURATION, 0), - ), -) - -CREATE_REGISTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _CROr, - {_sSI: _cCRRo, _smithy: None}, - (_rAeg,), - ((REGISTRY_ARN, 1),), -) - -CREATE_REGISTRY: StaticOperationSchema = ( - 23, - n0, - _CR, - {_smithya: MappingProxyType({"code": 202, "method": "POST", "uri": "/registries"})}, - CREATE_REGISTRY_INPUT, - CREATE_REGISTRY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_REGISTRY_INPUT: StaticSchema = ( - 18, - n0, - _DRI, - {_sSI: _cDRR, _smith: None}, - (_rIe,), - ((REGISTRY_IDENTIFIER, 9),), -) - -REGISTRY_STATUS: StaticSchema = ( - 14, - n0, - _RSe, - 0, - (_CREATING, _READY, _UPDATING, _CF, _UF, _DELETING, _DF), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _READY}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - ), -) - -DELETE_REGISTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _DRO, - {_sSI: _cDRRo, _smithy: None}, - (_st,), - ((REGISTRY_STATUS, 1),), -) - -DELETE_REGISTRY: StaticOperationSchema = ( - 23, - n0, - _DR, - { - _smithya: MappingProxyType( - {"code": 202, "method": "DELETE", "uri": "/registries/{registryId}"} - ) - }, - DELETE_REGISTRY_INPUT, - DELETE_REGISTRY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_REGISTRY_INPUT: StaticSchema = ( - 18, - n0, - _GRIe, - {_sSI: _cGRR, _smith: None}, - (_rIe,), - ((REGISTRY_IDENTIFIER, 9),), -) - -REGISTRY_ID: StaticSchema = (3, n0, _RIeg, 0) - -GET_REGISTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRO, - {_sSI: _cGRRo, _smithy: None}, - (_n, _d, _rIe, _rAeg, _aT, _aCu, _aCp, _st, _sRt, _cA, _uA), - ( - (REGISTRY_NAME, 1), - (DESCRIPTION, 0), - (REGISTRY_ID, 1), - (REGISTRY_ARN, 1), - (REGISTRY_AUTHORIZER_TYPE, 0), - (AUTHORIZER_CONFIGURATION, 0), - (APPROVAL_CONFIGURATION, 0), - (REGISTRY_STATUS, 1), - (3, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -GET_REGISTRY: StaticOperationSchema = ( - 23, - n0, - _GRe, - { - _smithya: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/registries/{registryId}"} - ) - }, - GET_REGISTRY_INPUT, - GET_REGISTRY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_REGISTRIES_INPUT: StaticSchema = ( - 18, - n0, - _LRI, - {_sSI: _cLRR, _smith: None}, - (_mR, _nT, _st, _aT), - ( - (MAX_RESULTS, {_sQ: _mR}), - (NEXT_TOKEN, {_sQ: _nT}), - (REGISTRY_STATUS, {_sQ: _st}), - (REGISTRY_AUTHORIZER_TYPE, {_sQ: _aT}), - ), -) - -REGISTRY_SUMMARY: StaticSchema = ( - 18, - n0, - _RSeg, - 0, - (_n, _d, _rIe, _rAeg, _aT, _st, _sRt, _cA, _uA), - ( - (REGISTRY_NAME, 1), - (DESCRIPTION, 0), - (REGISTRY_ID, 1), - (REGISTRY_ARN, 1), - (REGISTRY_AUTHORIZER_TYPE, 0), - (REGISTRY_STATUS, 1), - (3, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -REGISTRY_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _RSL, - 0, - (_mem,), - ((REGISTRY_SUMMARY, 0),), -) - -LIST_REGISTRIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LRO, - {_sSI: _cLRRo, _smithy: None}, - (_regi, _nT), - ((REGISTRY_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_REGISTRIES: StaticOperationSchema = ( - 23, - n0, - _LR, - {_smithya: MappingProxyType({"code": 200, "method": "GET", "uri": "/registries"})}, - LIST_REGISTRIES_INPUT, - LIST_REGISTRIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATED_APPROVAL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _UACp, - 0, - (_oV,), - ((APPROVAL_CONFIGURATION, 0),), -) - -UPDATE_REGISTRY_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _smith: None}, - (_rIe, _n, _d, _aCu, _aCp), - ( - (REGISTRY_IDENTIFIER, 9), - (REGISTRY_NAME, 0), - (UPDATED_DESCRIPTION, 0), - (UPDATED_AUTHORIZER_CONFIGURATION, 0), - (UPDATED_APPROVAL_CONFIGURATION, 0), - ), -) - -UPDATE_REGISTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _URO, - {_sSI: _cURRo, _smithy: None}, - (_n, _d, _rIe, _rAeg, _aT, _aCu, _aCp, _st, _sRt, _cA, _uA), - ( - (REGISTRY_NAME, 1), - (DESCRIPTION, 0), - (REGISTRY_ID, 1), - (REGISTRY_ARN, 1), - (REGISTRY_AUTHORIZER_TYPE, 0), - (AUTHORIZER_CONFIGURATION, 0), - (APPROVAL_CONFIGURATION, 0), - (REGISTRY_STATUS, 1), - (3, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -UPDATE_REGISTRY: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smithya: MappingProxyType( - {"code": 202, "method": "PATCH", "uri": "/registries/{registryId}"} - ) - }, - UPDATE_REGISTRY_INPUT, - UPDATE_REGISTRY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RESET_TOKEN_VAULT_KEY_MATERIAL_INPUT: StaticSchema = ( - 18, - n0, - _RTVKMI, - {_sSI: _cRTVKMR, _smith: None}, - (_tVI,), - ((TOKEN_VAULT_ID_TYPE, 1),), -) - -RESET_TOKEN_VAULT_KEY_MATERIAL_OUTPUT: StaticSchema = ( - 18, - n0, - _RTVKMO, - {_sSI: _cRTVKMRo, _smithy: None}, - (_tVI, _kC, _lMD), - ((TOKEN_VAULT_ID_TYPE, 1), (KMS_CONFIGURATION, 1), (4, 1)), -) - -RESET_TOKEN_VAULT_KEY_MATERIAL: StaticOperationSchema = ( - 23, - n0, - _RTVKM, - { - _smithya: MappingProxyType( - {"uri": "/identities/reset-token-vault-key-material", "method": "POST"} - ) - }, - RESET_TOKEN_VAULT_KEY_MATERIAL_INPUT, - RESET_TOKEN_VAULT_KEY_MATERIAL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONCURRENT_MODIFICATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _CME, - {_s: _c, _sE: 409}, - (_m,), - ((3, 1),), -) - -SET_TOKEN_VAULT_CMK_INPUT: StaticSchema = ( - 18, - n0, - _STVCMKI, - {_sSI: _cSTVCMKR, _smith: None}, - (_tVI, _kC), - ((TOKEN_VAULT_ID_TYPE, 0), (KMS_CONFIGURATION, 1)), -) - -SET_TOKEN_VAULT_CMK_OUTPUT: StaticSchema = ( - 18, - n0, - _STVCMKO, - {_sSI: _cSTVCMKRo, _smithy: None}, - (_tVI, _kC, _lMD), - ((TOKEN_VAULT_ID_TYPE, 1), (KMS_CONFIGURATION, 1), (4, 1)), -) - -SET_TOKEN_VAULT_CMK: StaticOperationSchema = ( - 23, - n0, - _STVCMK, - { - _smithya: MappingProxyType( - {"uri": "/identities/set-token-vault-cmk", "method": "POST"} - ) - }, - SET_TOKEN_VAULT_CMK_INPUT, - SET_TOKEN_VAULT_CMK_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONCURRENT_MODIFICATION_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smith: None}, - (_rAe, _t), - ((TAGGABLE_RESOURCES_ARN, 9), (TAGS_MAP, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smithy: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - { - _smithya: MappingProxyType( - {"code": 204, "method": "POST", "uri": "/tags/{resourceArn}"} - ) - }, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_mem,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URIn, - {_sSI: _cURRom, _smith: None}, - (_rAe, _tKa), - ((TAGGABLE_RESOURCES_ARN, 9), (TAG_KEY_LIST, {_sQ: _tKa, _sm: None})), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _UROn, {_sSI: _cURRoma, _smithy: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _URn, - { - _smithya: MappingProxyType( - {"code": 204, "method": "DELETE", "uri": "/tags/{resourceArn}"} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RESOURCE_OAUTH2_RETURN_URL_TYPE: StaticSchema = (3, n0, _RORUT, 0) - -RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE: StaticSchema = ( - 16, - n0, - _RORULT, - 0, - (_mem,), - ((RESOURCE_OAUTH2_RETURN_URL_TYPE, 0),), -) - -CREATE_WORKLOAD_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _CWII, - {_sSI: _cCWIR, _smith: None}, - (_n, _aRORU, _t), - ( - (WORKLOAD_IDENTITY_NAME_TYPE, 1), - (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0), - (TAGS_MAP, 0), - ), -) - -WORKLOAD_IDENTITY_ARN_TYPE: StaticSchema = (3, n0, _WIAT, 0) - -CREATE_WORKLOAD_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _CWIO, - {_sSI: _cCWIRo, _smithy: None}, - (_n, _wIA, _aRORU), - ( - (WORKLOAD_IDENTITY_NAME_TYPE, 1), - (WORKLOAD_IDENTITY_ARN_TYPE, 1), - (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0), - ), -) - -CREATE_WORKLOAD_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _CWI, - { - _smithya: MappingProxyType( - {"code": 201, "uri": "/identities/CreateWorkloadIdentity", "method": "POST"} - ) - }, - CREATE_WORKLOAD_IDENTITY_INPUT, - CREATE_WORKLOAD_IDENTITY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_WORKLOAD_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _DWII, - {_sSI: _cDWIR, _smith: None}, - (_n,), - ((WORKLOAD_IDENTITY_NAME_TYPE, 1),), -) - -DELETE_WORKLOAD_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _DWIO, - {_sSI: _cDWIRo, _smithy: None}, -) - -DELETE_WORKLOAD_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _DWI, - { - _smithya: MappingProxyType( - {"code": 204, "uri": "/identities/DeleteWorkloadIdentity", "method": "POST"} - ) - }, - DELETE_WORKLOAD_IDENTITY_INPUT, - DELETE_WORKLOAD_IDENTITY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_WORKLOAD_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _GWII, - {_sSI: _cGWIR, _smith: None}, - (_n,), - ((WORKLOAD_IDENTITY_NAME_TYPE, 1),), -) - -GET_WORKLOAD_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _GWIO, - {_sSI: _cGWIRo, _smithy: None}, - (_n, _wIA, _aRORU, _cTr, _lUT), - ( - (WORKLOAD_IDENTITY_NAME_TYPE, 1), - (WORKLOAD_IDENTITY_ARN_TYPE, 1), - (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0), - (4, 1), - (4, 1), - ), -) - -GET_WORKLOAD_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _GWI, - { - _smithya: MappingProxyType( - {"uri": "/identities/GetWorkloadIdentity", "method": "POST"} - ) - }, - GET_WORKLOAD_IDENTITY_INPUT, - GET_WORKLOAD_IDENTITY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_WORKLOAD_IDENTITIES_INPUT: StaticSchema = ( - 18, - n0, - _LWII, - {_sSI: _cLWIR, _smith: None}, - (_nT, _mR), - ((3, 0), (7, {_smi: 10})), -) - -WORKLOAD_IDENTITY_TYPE: StaticSchema = ( - 18, - n0, - _WIT, - 0, - (_n, _wIA), - ((WORKLOAD_IDENTITY_NAME_TYPE, 1), (WORKLOAD_IDENTITY_ARN_TYPE, 1)), -) - -WORKLOAD_IDENTITY_LIST: StaticSchema = ( - 16, - n0, - _WIL, - 0, - (_mem,), - ((WORKLOAD_IDENTITY_TYPE, 0),), -) - -LIST_WORKLOAD_IDENTITIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LWIO, - {_sSI: _cLWIRo, _smithy: None}, - (_wI, _nT), - ((WORKLOAD_IDENTITY_LIST, 1), (3, 0)), -) - -LIST_WORKLOAD_IDENTITIES: StaticOperationSchema = ( - 23, - n0, - _LWI, - { - _smithya: MappingProxyType( - {"uri": "/identities/ListWorkloadIdentities", "method": "POST"} - ) - }, - LIST_WORKLOAD_IDENTITIES_INPUT, - LIST_WORKLOAD_IDENTITIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_WORKLOAD_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _UWII, - {_sSI: _cUWIR, _smith: None}, - (_n, _aRORU), - ((WORKLOAD_IDENTITY_NAME_TYPE, 1), (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0)), -) - -UPDATE_WORKLOAD_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _UWIO, - {_sSI: _cUWIRo, _smithy: None}, - (_n, _wIA, _aRORU, _cTr, _lUT), - ( - (WORKLOAD_IDENTITY_NAME_TYPE, 1), - (WORKLOAD_IDENTITY_ARN_TYPE, 1), - (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0), - (4, 1), - (4, 1), - ), -) - -UPDATE_WORKLOAD_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _UWI, - { - _smithya: MappingProxyType( - {"uri": "/identities/UpdateWorkloadIdentity", "method": "POST"} - ) - }, - UPDATE_WORKLOAD_IDENTITY_INPUT, - UPDATE_WORKLOAD_IDENTITY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SCHEMA_DEFINITION: StaticSchema = ( - 18, - n0, - _SDc, - 0, - (_ty, _pro, _requ, _it, _d), - ( - (SCHEMA_TYPE, 1), - (lambda: SCHEMA_PROPERTIES, 0), - (REQUIRED_PROPERTIES, 0), - (lambda: SCHEMA_DEFINITION, 0), - (3, 0), - ), -) - -SCHEMA_PROPERTIES: StaticSchema = ( - 17, - n0, - _SPc, - 0, - (_k, _v), - ((3, 0), (SCHEMA_DEFINITION, 0)), -) - -TOOL_DEFINITION: StaticSchema = ( - 18, - n0, - _TDoo, - 4, - (_n, _d, _iS, _oSu), - ((3, 1), (3, 1), (SCHEMA_DEFINITION, 1), (SCHEMA_DEFINITION, 0)), -) - -TOOL_DEFINITIONS: StaticSchema = (16, n0, _TDool, 0, (_mem,), ((TOOL_DEFINITION, 0),)) - -TOOL_SCHEMA: StaticSchema = ( - 19, - n0, - _TSo, - 0, - (_s_, _iPn), - ((S3_CONFIGURATION, 0), (TOOL_DEFINITIONS, 0)), -) - -MCP_LAMBDA_TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MLTC, - 0, - (_lA, _tSo), - ((LAMBDA_FUNCTION_ARN, 1), (TOOL_SCHEMA, 1)), -) - -MCP_TARGET_CONFIGURATION: StaticSchema = ( - 19, - n0, - _MTC, - 0, - (_oAS, _sMm, _lam, _mSc, _aG, _conne), - ( - (API_SCHEMA_CONFIGURATION, 0), - (API_SCHEMA_CONFIGURATION, 0), - (MCP_LAMBDA_TARGET_CONFIGURATION, 0), - (MCP_SERVER_TARGET_CONFIGURATION, 0), - (API_GATEWAY_TARGET_CONFIGURATION, 0), - (CONNECTOR_TARGET_CONFIGURATION, 0), - ), -) - -TARGET_CONFIGURATION: StaticSchema = ( - 19, - n0, - _TCa, - 0, - (_mc, _ht, _inf), - ( - (MCP_TARGET_CONFIGURATION, 0), - (HTTP_TARGET_CONFIGURATION, 0), - (INFERENCE_TARGET_CONFIGURATION, 0), - ), -) - -CREATE_GATEWAY_TARGET_INPUT: StaticSchema = ( - 18, - n0, - _CGTI, - {_sSI: _cCGTR, _smith: None}, - (_gI, _n, _d, _cT, _tCa, _cPCr, _mC, _pE, _cCe), - ( - (GATEWAY_IDENTIFIER, 9), - (TARGET_NAME, 0), - (TARGET_DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - (TARGET_CONFIGURATION, 1), - (CREDENTIAL_PROVIDER_CONFIGURATIONS, 0), - (METADATA_CONFIGURATION, 0), - (PRIVATE_ENDPOINT, 0), - (CERTIFICATE_CONFIGURATION_LIST, 0), - ), -) - -CREATE_GATEWAY_TARGET_OUTPUT: StaticSchema = ( - 18, - n0, - _CGTO, - {_sSI: _cCGTRo, _smithy: None}, - ( - _gA, - _tI, - _cA, - _uA, - _st, - _sRta, - _n, - _d, - _tCa, - _cPCr, - _lSAa, - _mC, - _pE, - _pEMR, - _aDu, - _pTr, - _cCe, - ), - ( - (GATEWAY_ARN, 1), - (TARGET_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (TARGET_STATUS, 1), - (STATUS_REASONS, 0), - (TARGET_NAME, 1), - (TARGET_DESCRIPTION, 0), - (TARGET_CONFIGURATION, 1), - (CREDENTIAL_PROVIDER_CONFIGURATIONS, 1), - (DATE_TIMESTAMP, 0), - (METADATA_CONFIGURATION, 0), - (PRIVATE_ENDPOINT, 0), - (PRIVATE_ENDPOINT_MANAGED_RESOURCES, 0), - (AUTHORIZATION_DATA, 0), - (TARGET_PROTOCOL_TYPE, 0), - (CERTIFICATE_CONFIGURATION_LIST, 0), - ), -) - -GATEWAY_TARGET: StaticSchema = ( - 18, - n0, - _GTa, - 0, - ( - _gA, - _tI, - _cA, - _uA, - _st, - _sRta, - _n, - _d, - _tCa, - _cPCr, - _lSAa, - _mC, - _pE, - _pEMR, - _aDu, - _pTr, - _cCe, - ), - ( - (GATEWAY_ARN, 1), - (TARGET_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (TARGET_STATUS, 1), - (STATUS_REASONS, 0), - (TARGET_NAME, 1), - (TARGET_DESCRIPTION, 0), - (TARGET_CONFIGURATION, 1), - (CREDENTIAL_PROVIDER_CONFIGURATIONS, 1), - (DATE_TIMESTAMP, 0), - (METADATA_CONFIGURATION, 0), - (PRIVATE_ENDPOINT, 0), - (PRIVATE_ENDPOINT_MANAGED_RESOURCES, 0), - (AUTHORIZATION_DATA, 0), - (TARGET_PROTOCOL_TYPE, 0), - (CERTIFICATE_CONFIGURATION_LIST, 0), - ), -) - -GET_GATEWAY_TARGET_OUTPUT: StaticSchema = ( - 18, - n0, - _GGTO, - {_sSI: _cGGTRo, _smithy: None}, - ( - _gA, - _tI, - _cA, - _uA, - _st, - _sRta, - _n, - _d, - _tCa, - _cPCr, - _lSAa, - _mC, - _pE, - _pEMR, - _aDu, - _pTr, - _cCe, - ), - ( - (GATEWAY_ARN, 1), - (TARGET_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (TARGET_STATUS, 1), - (STATUS_REASONS, 0), - (TARGET_NAME, 1), - (TARGET_DESCRIPTION, 0), - (TARGET_CONFIGURATION, 1), - (CREDENTIAL_PROVIDER_CONFIGURATIONS, 1), - (DATE_TIMESTAMP, 0), - (METADATA_CONFIGURATION, 0), - (PRIVATE_ENDPOINT, 0), - (PRIVATE_ENDPOINT_MANAGED_RESOURCES, 0), - (AUTHORIZATION_DATA, 0), - (TARGET_PROTOCOL_TYPE, 0), - (CERTIFICATE_CONFIGURATION_LIST, 0), - ), -) - -UPDATE_GATEWAY_TARGET_INPUT: StaticSchema = ( - 18, - n0, - _UGTI, - {_sSI: _cUGTR, _smith: None}, - (_gI, _tI, _n, _d, _tCa, _cPCr, _mC, _pE, _cCe), - ( - (GATEWAY_IDENTIFIER, 9), - (TARGET_ID, 9), - (TARGET_NAME, 0), - (TARGET_DESCRIPTION, 0), - (TARGET_CONFIGURATION, 1), - (CREDENTIAL_PROVIDER_CONFIGURATIONS, 0), - (METADATA_CONFIGURATION, 0), - (PRIVATE_ENDPOINT, 0), - (CERTIFICATE_CONFIGURATION_LIST, 0), - ), -) - -UPDATE_GATEWAY_TARGET_OUTPUT: StaticSchema = ( - 18, - n0, - _UGTO, - {_sSI: _cUGTRo, _smithy: None}, - ( - _gA, - _tI, - _cA, - _uA, - _st, - _sRta, - _n, - _d, - _tCa, - _cPCr, - _lSAa, - _mC, - _pE, - _pEMR, - _aDu, - _pTr, - _cCe, - ), - ( - (GATEWAY_ARN, 1), - (TARGET_ID, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (TARGET_STATUS, 1), - (STATUS_REASONS, 0), - (TARGET_NAME, 1), - (TARGET_DESCRIPTION, 0), - (TARGET_CONFIGURATION, 1), - (CREDENTIAL_PROVIDER_CONFIGURATIONS, 1), - (DATE_TIMESTAMP, 0), - (METADATA_CONFIGURATION, 0), - (PRIVATE_ENDPOINT, 0), - (PRIVATE_ENDPOINT_MANAGED_RESOURCES, 0), - (AUTHORIZATION_DATA, 0), - (TARGET_PROTOCOL_TYPE, 0), - (CERTIFICATE_CONFIGURATION_LIST, 0), - ), -) - -GET_GATEWAY_TARGET: StaticOperationSchema = ( - 23, - n0, - _GGT, - { - _smithya: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/gateways/{gatewayIdentifier}/targets/{targetId}/", - } - ) - }, - GET_GATEWAY_TARGET_INPUT, - GET_GATEWAY_TARGET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GATEWAY_TARGET_LIST: StaticSchema = (16, n0, _GTL, 0, (_mem,), ((GATEWAY_TARGET, 0),)) - -SYNCHRONIZE_GATEWAY_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _SGTO, - {_sSI: _cSGTRo, _smithy: None}, - (_tar,), - ((GATEWAY_TARGET_LIST, 0),), -) - -SYNCHRONIZE_GATEWAY_TARGETS: StaticOperationSchema = ( - 23, - n0, - _SGT, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "PUT", - "uri": "/gateways/{gatewayIdentifier}/synchronizeTargets", - } - ) - }, - SYNCHRONIZE_GATEWAY_TARGETS_INPUT, - SYNCHRONIZE_GATEWAY_TARGETS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_GATEWAY_TARGET: StaticOperationSchema = ( - 23, - n0, - _CGT, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/gateways/{gatewayIdentifier}/targets/", - } - ) - }, - CREATE_GATEWAY_TARGET_INPUT, - CREATE_GATEWAY_TARGET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_GATEWAY_TARGET: StaticOperationSchema = ( - 23, - n0, - _UGT, - { - _smithya: MappingProxyType( - { - "code": 202, - "method": "PUT", - "uri": "/gateways/{gatewayIdentifier}/targets/{targetId}/", - } - ) - }, - UPDATE_GATEWAY_TARGET_INPUT, - UPDATE_GATEWAY_TARGET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AMAZON_BEDROCK_AGENT_CORE_CONTROL: StaticSchema = ( - 21, - n0, - _ABACC, - { - _aw: MappingProxyType({"name": "bedrock-agentcore"}), - _aws: MappingProxyType( - { - "sdkId": "Bedrock AgentCore Control", - "arnNamespace": "bedrock-agentcore", - "endpointPrefix": "bedrock-agentcore-control", - "cloudTrailEventSource": "bedrock-agentcore.amazonaws.com", - } - ), - _aJ: None, - _smithyap: MappingProxyType( - { - "additionalAllowedHeaders": ( - "*", - "content-type", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-platform-id", - "x-amzn-trace-id", - ), - "additionalExposedHeaders": ( - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-trace-id", - ), - "maxAge": 86400, - } - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "INLINE_CONTENT", + "SCHEMA_VERSION", + "AGENT_CARD_DEFINITION", + "A2A_DESCRIPTOR", + "NON_BLANK_STRING", + "ACCESS_DENIED_EXCEPTION", + "GATEWAY_CONFIGURATION_BUNDLE_ARN", + "STATIC_OVERRIDE", + "CONFIGURATION_BUNDLE_REFERENCE", + "TRAFFIC_SPLIT_METADATA_KEY", + "TRAFFIC_SPLIT_METADATA_VALUE", + "TRAFFIC_SPLIT_METADATA_MAP", + "TRAFFIC_SPLIT_ENTRY", + "TRAFFIC_SPLIT_ENTRIES", + "WEIGHTED_OVERRIDE", + "CONFIGURATION_BUNDLE_ACTION", + "CIRCUIT_BREAKER_MODE", + "CIRCUIT_BREAKER_CONFIGURATION", + "CONCRETE_MODEL_ID", + "TARGET_NAME", + "FALLBACK_ERROR", + "FALLBACK_ERRORS", + "ERROR_STATUS_CODE_PATTERN", + "ERROR_STATUS_CODE_PATTERNS", + "FALLBACK_TRIGGERS", + "FALLBACK_TARGET", + "TARGET_FALLBACKS", + "FALLBACK", + "STATIC_ROUTE", + "TARGET_TRAFFIC_SPLIT_ENTRY", + "TARGET_TRAFFIC_SPLIT_ENTRIES", + "WEIGHTED_ROUTE", + "ROUTE_TO_TARGET_ACTION", + "ACTION", + "ACTIONS", + "ACTOR_TOKEN_CONTENT_TYPE", + "CLIENT_TOKEN", + "DATASET_ID", + "SENSITIVE_JSON", + "DATASET_EXAMPLE_LIST", + "INLINE_EXAMPLES_SOURCE", + "S3_URI", + "S3_SOURCE", + "DATA_SOURCE_TYPE", + "ADD_DATASET_EXAMPLES_INPUT", + "ADD_DATASET_EXAMPLES_OUTPUT", + "ADD_DATASET_EXAMPLES", + "DATASET_ARN", + "EXAMPLE_ID", + "EXAMPLE_ID_LIST", + "DATASET_STATUS", + "CONFLICT_EXCEPTION", + "INTERNAL_SERVER_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION_FIELD", + "VALIDATION_EXCEPTION_FIELD_LIST", + "VALIDATION_EXCEPTION_REASON", + "VALIDATION_EXCEPTION", + "ADDITIONAL_CLAIM_NAME", + "ADDITIONAL_CLAIM_VALUE", + "ADDITIONAL_CLAIMS", + "ADDITIONAL_MODEL_REQUEST_FIELDS", + "ALLOWED_SCOPE_TYPE", + "ADVERTISED_SCOPE_MAPPING_TYPE", + "AGENT_ENDPOINT_DESCRIPTION", + "AGENT_RUNTIME_ID", + "AGENT_RUNTIME_VERSION", + "ENDPOINT_NAME", + "TAG_KEY", + "TAG_VALUE", + "TAGS_MAP", + "CREATE_AGENT_RUNTIME_ENDPOINT_INPUT", + "CREATE_AGENT_RUNTIME_ENDPOINT_OUTPUT", + "CREATE_AGENT_RUNTIME_ENDPOINT", + "AGENT_RUNTIME_ARN", + "AGENT_RUNTIME_ENDPOINT_ARN", + "DATE_TIMESTAMP", + "AGENT_RUNTIME_ENDPOINT_STATUS", + "DELETE_AGENT_RUNTIME_ENDPOINT_INPUT", + "DELETE_AGENT_RUNTIME_ENDPOINT_OUTPUT", + "DELETE_AGENT_RUNTIME_ENDPOINT", + "GET_AGENT_RUNTIME_ENDPOINT_INPUT", + "GET_AGENT_RUNTIME_ENDPOINT_OUTPUT", + "GET_AGENT_RUNTIME_ENDPOINT", + "AGENT_RUNTIME_ENDPOINT_ID", + "MAX_RESULTS", + "NEXT_TOKEN", + "LIST_AGENT_RUNTIME_ENDPOINTS_INPUT", + "LIST_AGENT_RUNTIME_ENDPOINTS_OUTPUT", + "LIST_AGENT_RUNTIME_ENDPOINTS", + "AGENT_RUNTIME_ENDPOINT", + "AGENT_RUNTIME_ENDPOINTS", + "UPDATE_AGENT_RUNTIME_ENDPOINT_INPUT", + "UPDATE_AGENT_RUNTIME_ENDPOINT_OUTPUT", + "UPDATE_AGENT_RUNTIME_ENDPOINT", + "AGENT_MANAGED_RUNTIME_TYPE", + "S3_LOCATION", + "CODE", + "ENTRY_POINT", + "ENTRY_POINTS", + "CODE_CONFIGURATION", + "RUNTIME_CONTAINER_URI", + "CONTAINER_CONFIGURATION", + "AGENT_RUNTIME_ARTIFACT", + "AGENT_RUNTIME_NAME", + "PORT", + "PORT_RANGE", + "ALLOWED_PORT", + "ALLOWED_PORTS", + "ALLOWED_AUDIENCE", + "ALLOWED_AUDIENCE_LIST", + "ALLOWED_CLIENT", + "ALLOWED_CLIENTS_LIST", + "ALLOWED_SCOPES_TYPE", + "BEDROCK_AGENTCORE_RESOURCE_ARN", + "HOSTING_ENVIRONMENT", + "HOSTING_ENVIRONMENT_LIST_TYPE", + "WORKLOAD_IDENTITY_NAME_TYPE", + "WORKLOAD_IDENTITY_NAME_LIST_TYPE", + "ALLOWED_WORKLOAD_CONFIGURATION", + "CERTIFICATE_BUCKET_OWNER_ACCOUNT_ID", + "CERTIFICATE_S3_URI", + "S3_CERTIFICATE_CONFIGURATION", + "CERTIFICATE_SECRET_ARN", + ), + ( + "SECRETS_MANAGER_CERTIFICATE_CONFIGURATION", + "CERTIFICATE_CONFIGURATION", + "CERTIFICATE_CONFIGURATION_LIST", + "CLAIM_MATCH_OPERATOR_TYPE", + "MATCH_VALUE_STRING", + "MATCH_VALUE_STRING_LIST", + "CLAIM_MATCH_VALUE_TYPE", + "AUTHORIZING_CLAIM_MATCH_VALUE_TYPE", + "INBOUND_TOKEN_CLAIM_NAME_TYPE", + "INBOUND_TOKEN_CLAIM_VALUE_TYPE", + "CUSTOM_CLAIM_VALIDATION_TYPE", + "CUSTOM_CLAIM_VALIDATIONS_TYPE", + "DISCOVERY_URL", + "ENDPOINT_IP_ADDRESS_TYPE", + "ROUTING_DOMAIN", + "SECURITY_GROUP_IDENTIFIER", + "SECURITY_GROUP_IDS", + "SUBNET_ID", + "SUBNET_IDS", + "VPC_IDENTIFIER", + "MANAGED_VPC_RESOURCE", + "RESOURCE_CONFIGURATION_IDENTIFIER", + "SELF_MANAGED_LATTICE_RESOURCE", + "PRIVATE_ENDPOINT", + "PRIVATE_ENDPOINT_OVERRIDE_DOMAIN", + "PRIVATE_ENDPOINT_OVERRIDE", + "PRIVATE_ENDPOINT_OVERRIDES", + "CUSTOM_JWT_AUTHORIZER_CONFIGURATION", + "AUTHORIZER_CONFIGURATION", + "CAPACITY_PROVIDER_ARN", + "CAPACITY_PROVIDER_CONFIGURATION", + "DESCRIPTION", + "ENVIRONMENT_VARIABLE_KEY", + "ENVIRONMENT_VARIABLE_VALUE", + "ENVIRONMENT_VARIABLES_MAP", + "MOUNT_PATH", + "CAPACITY_PROVIDER_VOLUME_NAME", + "CAPACITY_PROVIDER_VOLUME_CONFIGURATION", + "EFS_ACCESS_POINT_ARN", + "EFS_ACCESS_POINT_CONFIGURATION", + "S3_FILES_ACCESS_POINT_ARN", + "S3_FILES_ACCESS_POINT_CONFIGURATION", + "SESSION_STORAGE_CONFIGURATION", + "FILESYSTEM_CONFIGURATION", + "FILESYSTEM_CONFIGURATIONS", + "LIFECYCLE_HOOK_PATH", + "SERVER_PORT", + "HTTP_POST_LIFECYCLE_HOOK_ACTION", + "LIFECYCLE_HOOK_ACTION", + "LIFECYCLE_HOOK", + "BUILD_LIFECYCLE_HOOKS", + "RUNTIME_HOOKS_CONFIGURATION", + "LIFECYCLE_CONFIGURATION", + "NETWORK_MODE", + "SECURITY_GROUP_ID", + "SECURITY_GROUPS", + "SUBNETS", + "VPC_CONFIG", + "NETWORK_CONFIGURATION", + "PLATFORM_VERSION", + "SERVER_PATH", + "SERVER_PROTOCOL", + "PROTOCOL_CONFIGURATION", + "HEADER_NAME", + "REQUEST_HEADER_ALLOWLIST", + "REQUEST_HEADER_CONFIGURATION", + "RESOURCE_CONFIGURATION", + "RESOURCE_CONFIGURATIONS", + "ROLE_ARN", + "CREATE_AGENT_RUNTIME_INPUT", + "CREATE_AGENT_RUNTIME_OUTPUT", + "CREATE_AGENT_RUNTIME", + "AGENT_RUNTIME_STATUS", + "WORKLOAD_IDENTITY_ARN", + "WORKLOAD_IDENTITY_DETAILS", + "DELETE_AGENT_RUNTIME_INPUT", + "DELETE_AGENT_RUNTIME_OUTPUT", + "DELETE_AGENT_RUNTIME", + "GET_AGENT_RUNTIME_INPUT", + "GET_AGENT_RUNTIME_OUTPUT", + "GET_AGENT_RUNTIME", + "RUNTIME_METADATA_CONFIGURATION", + "LIST_AGENT_RUNTIMES_INPUT", + "LIST_AGENT_RUNTIMES_OUTPUT", + "LIST_AGENT_RUNTIMES", + "AGENT_RUNTIME", + "AGENT_RUNTIMES", + "LIST_AGENT_RUNTIME_VERSIONS_INPUT", + "LIST_AGENT_RUNTIME_VERSIONS_OUTPUT", + "LIST_AGENT_RUNTIME_VERSIONS", + "UPDATE_AGENT_RUNTIME_INPUT", + "UPDATE_AGENT_RUNTIME_OUTPUT", + "UPDATE_AGENT_RUNTIME", + "AGENT_RUNTIME_VERSION_SUMMARY", + "AGENT_RUNTIME_VERSION_SUMMARY_LIST", + "SKILL_DEFINITION", + "SKILL_MD_DEFINITION", + "AGENT_SKILLS_DESCRIPTOR", + "HTTP_QUERY_PARAMETER_NAME", + "ALLOWED_QUERY_PARAMETERS", + "HTTP_HEADER_NAME", + "ALLOWED_REQUEST_HEADERS", + "ALLOWED_RESPONSE_HEADERS", + "ALLOWED_STRING_LIST_VALUE", + "ALLOWED_STRING_LIST_VALUES_LIST", + "ALLOWED_STRING_VALUE", + "ALLOWED_STRING_VALUES_LIST", + "UPDATED_DESCRIPTION", + "UPDATED_AUTHORIZER_CONFIGURATION", + ), + ( + "API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE", + "DEFAULT_API_KEY_TYPE", + "SECRET_JSON_KEY_TYPE", + "SECRET_ID_TYPE", + "SECRET_REFERENCE", + "SECRET_SOURCE_TYPE", + "CREDENTIAL_PROVIDER_NAME", + "CREATE_API_KEY_CREDENTIAL_PROVIDER_INPUT", + "CREATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT", + "CREATE_API_KEY_CREDENTIAL_PROVIDER", + "SECRET_ARN", + "SECRET", + "DECRYPTION_FAILURE", + "ENCRYPTION_FAILURE", + "RESOURCE_LIMIT_EXCEEDED_EXCEPTION", + "UNAUTHORIZED_EXCEPTION", + "DELETE_API_KEY_CREDENTIAL_PROVIDER_INPUT", + "DELETE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT", + "DELETE_API_KEY_CREDENTIAL_PROVIDER", + "GET_API_KEY_CREDENTIAL_PROVIDER_INPUT", + "GET_API_KEY_CREDENTIAL_PROVIDER_OUTPUT", + "GET_API_KEY_CREDENTIAL_PROVIDER", + "LIST_API_KEY_CREDENTIAL_PROVIDERS_INPUT", + "LIST_API_KEY_CREDENTIAL_PROVIDERS_OUTPUT", + "LIST_API_KEY_CREDENTIAL_PROVIDERS", + "API_KEY_CREDENTIAL_PROVIDER_ITEM", + "API_KEY_CREDENTIAL_PROVIDERS", + "UPDATE_API_KEY_CREDENTIAL_PROVIDER_INPUT", + "UPDATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT", + "UPDATE_API_KEY_CREDENTIAL_PROVIDER", + "BROWSER_PROFILE_ID", + "BROWSER_PROFILE_NAME", + "CREATE_BROWSER_PROFILE_INPUT", + "CREATE_BROWSER_PROFILE_OUTPUT", + "CREATE_BROWSER_PROFILE", + "BROWSER_PROFILE_ARN", + "BROWSER_PROFILE_STATUS", + "DELETE_BROWSER_PROFILE_INPUT", + "DELETE_BROWSER_PROFILE_OUTPUT", + "DELETE_BROWSER_PROFILE", + "GET_BROWSER_PROFILE_INPUT", + "GET_BROWSER_PROFILE_OUTPUT", + "GET_BROWSER_PROFILE", + "BROWSER_ID", + "BROWSER_SESSION_ID", + "LIST_BROWSER_PROFILES_INPUT", + "LIST_BROWSER_PROFILES_OUTPUT", + "LIST_BROWSER_PROFILES", + "BROWSER_PROFILE_SUMMARY", + "BROWSER_PROFILE_SUMMARIES", + "BROWSER_SIGNING_CONFIG_INPUT", + "TOOL_SECRET_ARN", + "SECRETS_MANAGER_LOCATION", + "CERTIFICATE_LOCATION", + "CERTIFICATE", + "CERTIFICATES", + "RESOURCE_LOCATION", + "BROWSER_ENTERPRISE_POLICY_TYPE", + "BROWSER_ENTERPRISE_POLICY", + "BROWSER_ENTERPRISE_POLICIES", + "EFS_FILE_SYSTEM_ARN", + "EFS_CONFIGURATION", + "S3_FILES_FILE_SYSTEM_ARN", + "S3_FILES_CONFIGURATION", + "TOOLS_FILE_SYSTEM_CONFIGURATION", + "TOOLS_FILE_SYSTEM_CONFIGURATIONS", + "SANDBOX_NAME", + "BROWSER_NETWORK_MODE", + "BROWSER_NETWORK_CONFIGURATION", + "RECORDING_CONFIG", + "CREATE_BROWSER_INPUT", + "CREATE_BROWSER_OUTPUT", + "CREATE_BROWSER", + "BROWSER_ARN", + "BROWSER_STATUS", + "DELETE_BROWSER_INPUT", + "DELETE_BROWSER_OUTPUT", + "DELETE_BROWSER", + "GET_BROWSER_INPUT", + "GET_BROWSER_OUTPUT", + "GET_BROWSER", + "BROWSER_SIGNING_CONFIG_OUTPUT", + "RESOURCE_TYPE", + "LIST_BROWSERS_INPUT", + "LIST_BROWSERS_OUTPUT", + "LIST_BROWSERS", + "BROWSER_SUMMARY", + "BROWSER_SUMMARIES", + "CAPACITY_RESERVATION_PREFERENCE", + "CAPACITY_RESERVATION_ID", + "CAPACITY_RESERVATION_RESOURCE_GROUP_ARN", + "CAPACITY_RESERVATION_TARGET", + "CAPACITY_RESERVATION_SPECIFICATION", + "DEVICE_NAME", + "EBS_CARD_INDEX", + "VOLUME_IOPS", + "KMS_KEY_ID", + "EBS_SNAPSHOT_ID", + "VOLUME_THROUGHPUT", + "EBS_VOLUME_INITIALIZATION_RATE", + "VOLUME_SIZE_GI_B", + "EBS_VOLUME_TYPE", + "EPHEMERAL_EBS_VOLUME_CONFIGURATION", + "VIRTUAL_DEVICE_NAME", + "EPHEMERAL_BLOCK_DEVICE_MAPPING", + ), + ( + "CAPACITY_PROVIDER_ID", + "EPHEMERAL_BLOCK_DEVICE_MAPPING_LIST", + "INSTANCE_PROFILE_ARN", + "EC2_INSTANCE_TYPE", + "INSTANCE_TYPE_LIST", + "INSTANCE_REQUIREMENTS", + "LICENSE_CONFIGURATION_ARN", + "LICENSE_SPECIFICATION", + "LICENSE_SPECIFICATION_LIST", + "MONITORING", + "OPERATING_SYSTEM", + "SSH_KEY_NAME", + "LAUNCH_PARAMETERS", + "LAUNCH_TEMPLATE_SOURCE", + "INSTANCE_LIFECYCLE_CONFIGURATION", + "ROOT_VOLUME_CONFIGURATION", + "VOLUME_NAME", + "EBS_VOLUME_CONFIGURATION", + "VOLUME_CONFIGURATION", + "VOLUME_CONFIGURATION_LIST", + "SECURITY_GROUP_ID_LIST", + "SUBNET_ID_LIST", + "VPC_CONFIGURATION", + "EC2_CONFIGURATION", + "COMPUTE_CONFIGURATION", + "CAPACITY_PROVIDER_NAME", + "PERMISSIONS_CONFIGURATION", + "CREATE_CAPACITY_PROVIDER_INPUT", + "CREATE_CAPACITY_PROVIDER_OUTPUT", + "CREATE_CAPACITY_PROVIDER", + "CAPACITY_PROVIDER_STATUS", + "RETRYABLE_CONFLICT_EXCEPTION", + "DELETE_CAPACITY_PROVIDER_INPUT", + "DELETE_CAPACITY_PROVIDER_OUTPUT", + "DELETE_CAPACITY_PROVIDER", + "GET_CAPACITY_PROVIDER_INPUT", + "GET_CAPACITY_PROVIDER_OUTPUT", + "GET_CAPACITY_PROVIDER", + "CAPACITY_PROVIDER_STATUS_CODE", + "LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_INPUT", + "LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT", + "LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER", + "LIST_CAPACITY_PROVIDERS_INPUT", + "LIST_CAPACITY_PROVIDERS_OUTPUT", + "LIST_CAPACITY_PROVIDERS", + "CAPACITY_PROVIDER_SUMMARY", + "CAPACITY_PROVIDER_LIST", + "UPDATE_CAPACITY_PROVIDER_INPUT", + "UPDATE_CAPACITY_PROVIDER_OUTPUT", + "UPDATE_CAPACITY_PROVIDER", + "CODE_INTERPRETER_ID", + "CODE_INTERPRETER_NETWORK_MODE", + "CODE_INTERPRETER_NETWORK_CONFIGURATION", + "CREATE_CODE_INTERPRETER_INPUT", + "CREATE_CODE_INTERPRETER_OUTPUT", + "CREATE_CODE_INTERPRETER", + "CODE_INTERPRETER_ARN", + "CODE_INTERPRETER_STATUS", + "DELETE_CODE_INTERPRETER_INPUT", + "DELETE_CODE_INTERPRETER_OUTPUT", + "DELETE_CODE_INTERPRETER", + "GET_CODE_INTERPRETER_INPUT", + "GET_CODE_INTERPRETER_OUTPUT", + "GET_CODE_INTERPRETER", + "LIST_CODE_INTERPRETERS_INPUT", + "LIST_CODE_INTERPRETERS_OUTPUT", + "LIST_CODE_INTERPRETERS", + "CODE_INTERPRETER_SUMMARY", + "CODE_INTERPRETER_SUMMARIES", + "CONFIGURATION_BUNDLE_ID", + "BRANCH_NAME", + "CONFIGURATION_BUNDLE_NAME", + "COMPONENT_IDENTIFIER", + "COMPONENT_CONFIGURATION", + "COMPONENT_CONFIGURATION_MAP", + "VERSION_CREATED_BY_SOURCE", + "CONFIGURATION_BUNDLE_DESCRIPTION", + "KMS_KEY_ARN", + "CREATE_CONFIGURATION_BUNDLE_INPUT", + "CREATE_CONFIGURATION_BUNDLE_OUTPUT", + "CREATE_CONFIGURATION_BUNDLE", + "CONFIGURATION_BUNDLE_ARN", + "CONFIGURATION_BUNDLE_VERSION", + "DELETE_CONFIGURATION_BUNDLE_INPUT", + "DELETE_CONFIGURATION_BUNDLE_OUTPUT", + "DELETE_CONFIGURATION_BUNDLE", + "CONFIGURATION_BUNDLE_STATUS", + "GET_CONFIGURATION_BUNDLE_INPUT", + "GET_CONFIGURATION_BUNDLE_OUTPUT", + "GET_CONFIGURATION_BUNDLE", + "CONFIGURATION_BUNDLE_VERSION_LIST", + "VERSION_LINEAGE_METADATA", + "GET_CONFIGURATION_BUNDLE_VERSION_INPUT", + "GET_CONFIGURATION_BUNDLE_VERSION_OUTPUT", + "GET_CONFIGURATION_BUNDLE_VERSION", + "MODEL_ID", + ), + ( + "ALLOWED_AUDIENCE_TYPE", + "LIST_CONFIGURATION_BUNDLES_INPUT", + "LIST_CONFIGURATION_BUNDLES_OUTPUT", + "LIST_CONFIGURATION_BUNDLES", + "CONFIGURATION_BUNDLE_SUMMARY", + "CONFIGURATION_BUNDLE_SUMMARY_LIST", + "VERSION_FILTER", + "LIST_CONFIGURATION_BUNDLE_VERSIONS_INPUT", + "LIST_CONFIGURATION_BUNDLE_VERSIONS_OUTPUT", + "LIST_CONFIGURATION_BUNDLE_VERSIONS", + "CONFIGURATION_BUNDLE_VERSION_SUMMARY", + "CONFIGURATION_BUNDLE_VERSION_SUMMARY_LIST", + "UPDATE_CONFIGURATION_BUNDLE_INPUT", + "UPDATE_CONFIGURATION_BUNDLE_OUTPUT", + "UPDATE_CONFIGURATION_BUNDLE", + "CONSENT_PORTAL_ARN_TYPE", + "CONSENT_PORTAL_DESCRIPTION_TYPE", + "CONSENT_PORTAL_IDENTIFIER", + "O_AUTH2_CREDENTIAL_PROVIDER_ARN", + "CONSENT_PORTAL_IDP_CONFIG", + "CONSENT_PORTAL_NAME_TYPE", + "CONSENT_PORTAL_SOURCE_IDENTIFIER_TYPE", + "CONSENT_PORTAL_SOURCE_TYPE", + "CONSENT_PORTAL_SOURCE", + "CONSENT_PORTAL_SOURCES", + "CONSENT_PORTAL_STATUS", + "EXECUTION_ROLE_ARN_TYPE", + "CREATE_CONSENT_PORTAL_INPUT", + "CREATE_CONSENT_PORTAL_OUTPUT", + "CREATE_CONSENT_PORTAL", + "CONSENT_PORTAL_ID_TYPE", + "PORTAL_URL_TYPE", + "STATUS_REASON_TYPE", + "DELETE_CONSENT_PORTAL_INPUT", + "DELETE_CONSENT_PORTAL_OUTPUT", + "DELETE_CONSENT_PORTAL", + "GET_CONSENT_PORTAL_INPUT", + "GET_CONSENT_PORTAL_OUTPUT", + "GET_CONSENT_PORTAL", + "LIST_CONSENT_PORTALS_INPUT", + "LIST_CONSENT_PORTALS_OUTPUT", + "LIST_CONSENT_PORTALS", + "CONSENT_PORTAL_SUMMARY", + "CONSENT_PORTAL_SUMMARIES", + "UPDATE_CONSENT_PORTAL_INPUT", + "UPDATE_CONSENT_PORTAL_OUTPUT", + "UPDATE_CONSENT_PORTAL", + "DATASET_NAME", + "DATASET_SCHEMA_TYPE", + "CREATE_DATASET_INPUT", + "CREATE_DATASET_OUTPUT", + "CREATE_DATASET", + "CREATE_DATASET_VERSION_INPUT", + "CREATE_DATASET_VERSION_OUTPUT", + "CREATE_DATASET_VERSION", + "DATASET_VERSION", + "DELETE_DATASET_INPUT", + "DELETE_DATASET_OUTPUT", + "DELETE_DATASET", + "DELETE_DATASET_EXAMPLES_INPUT", + "DELETE_DATASET_EXAMPLES_OUTPUT", + "DELETE_DATASET_EXAMPLES", + "GET_DATASET_INPUT", + "GET_DATASET_OUTPUT", + "GET_DATASET", + "DOWNLOAD_URL", + "DRAFT_STATUS", + "LIST_DATASET_EXAMPLES_INPUT", + "LIST_DATASET_EXAMPLES_OUTPUT", + "LIST_DATASET_EXAMPLES", + "LIST_DATASETS_INPUT", + "LIST_DATASETS_OUTPUT", + "LIST_DATASETS", + "DATASET_SUMMARY", + "DATASET_SUMMARY_LIST", + "LIST_DATASET_VERSIONS_INPUT", + "LIST_DATASET_VERSIONS_OUTPUT", + "LIST_DATASET_VERSIONS", + "DATASET_VERSION_SUMMARY", + "DATASET_VERSION_SUMMARY_LIST", + "UPDATE_DATASET_INPUT", + "UPDATE_DATASET_OUTPUT", + "UPDATE_DATASET", + "UPDATE_DATASET_EXAMPLES_INPUT", + "UPDATE_DATASET_EXAMPLES_OUTPUT", + "UPDATE_DATASET_EXAMPLES", + "DELETE_RESOURCE_POLICY_INPUT", + "DELETE_RESOURCE_POLICY_OUTPUT", + "DELETE_RESOURCE_POLICY", + ), + ( + "EVALUATOR_DESCRIPTION", + "LAMBDA_ARN", + "LAMBDA_EVALUATOR_CONFIG", + "CODE_BASED_EVALUATOR_CONFIG", + "EVALUATOR_ID", + "NON_EMPTY_STRING", + "NON_EMPTY_STRING_LIST", + "INFERENCE_CONFIGURATION", + "BEDROCK_EVALUATOR_MODEL_CONFIG", + "REASONING_CONFIGURATION", + "OPEN_RESPONSES_EVALUATOR_MODEL_CONFIG", + "EVALUATOR_MODEL_CONFIG", + "DERIVED_EVALUATOR_CONFIG", + "EVALUATOR_INSTRUCTIONS", + "CATEGORICAL_SCALE_DEFINITION", + "CATEGORICAL_SCALE_DEFINITIONS", + "EVALUATION_DIMENSION_INSTRUCTION", + "EVALUATION_DIMENSION_NAME", + "NUMERICAL_SCALE_DEFINITION", + "NUMERICAL_SCALE_DEFINITIONS", + "DIMENSION_RATING_SCALE", + "EVALUATION_DIMENSION", + "EVALUATION_DIMENSIONS", + "RATING_SCALE", + "LLM_AS_A_JUDGE_EVALUATOR_CONFIG", + "EVALUATOR_CONFIG", + "CUSTOM_EVALUATOR_NAME", + "EVALUATOR_LEVEL", + "CREATE_EVALUATOR_INPUT", + "CREATE_EVALUATOR_OUTPUT", + "CREATE_EVALUATOR", + "CUSTOM_EVALUATOR_ARN", + "EVALUATOR_STATUS", + "DELETE_EVALUATOR_INPUT", + "DELETE_EVALUATOR_OUTPUT", + "DELETE_EVALUATOR", + "EVALUATOR_ARN", + "INCLUDED_DATA", + "GET_EVALUATOR_INPUT", + "GET_EVALUATOR_OUTPUT", + "GET_EVALUATOR", + "EVALUATOR_NAME", + "EVALUATOR_TYPE", + "PROVIDER", + "LIST_EVALUATORS_INPUT", + "LIST_EVALUATORS_OUTPUT", + "LIST_EVALUATORS", + "EVALUATOR_SUMMARY", + "EVALUATOR_SUMMARY_LIST", + "UPDATE_EVALUATOR_INPUT", + "UPDATE_EVALUATOR_OUTPUT", + "UPDATE_EVALUATOR", + "GATEWAY_IDENTIFIER", + "GATEWAY_RATE_LIMIT_DESCRIPTION", + "DIMENSION_KEY", + "DIMENSION_KEYS", + "PERIOD", + "RATE_CONFIG", + "RATE_CONFIGS", + "DIMENSION_VALUE", + "DIMENSIONS", + "LIMIT_ENTRY", + "LIMIT_ENTRIES", + "GATEWAY_RATE_LIMIT_ID", + "BATCH_PUT_LIMIT_ENTRY", + "BATCH_PUT_LIMIT_ENTRIES", + "BATCH_PUT_GATEWAY_RATE_LIMITS_INPUT", + "BATCH_PUT_GATEWAY_RATE_LIMITS_OUTPUT", + "BATCH_PUT_GATEWAY_RATE_LIMITS", + "GATEWAY_RATE_LIMIT_STATUS", + "GATEWAY_RATE_LIMIT_DETAIL", + "GATEWAY_RATE_LIMITS", + "CREATE_GATEWAY_RATE_LIMIT_INPUT", + "CREATE_GATEWAY_RATE_LIMIT_OUTPUT", + "CREATE_GATEWAY_RATE_LIMIT", + "DELETE_GATEWAY_RATE_LIMIT_INPUT", + "DELETE_GATEWAY_RATE_LIMIT_OUTPUT", + "DELETE_GATEWAY_RATE_LIMIT", + "GET_GATEWAY_RATE_LIMIT_INPUT", + "GET_GATEWAY_RATE_LIMIT_OUTPUT", + "GET_GATEWAY_RATE_LIMIT", + "GATEWAY_RATE_LIMIT_MAX_RESULTS", + "GATEWAY_RATE_LIMIT_NEXT_TOKEN", + "LIST_GATEWAY_RATE_LIMITS_INPUT", + "LIST_GATEWAY_RATE_LIMITS_OUTPUT", + "LIST_GATEWAY_RATE_LIMITS", + "UPDATE_GATEWAY_RATE_LIMIT_INPUT", + "UPDATE_GATEWAY_RATE_LIMIT_OUTPUT", + "UPDATE_GATEWAY_RATE_LIMIT", + "AUTHORIZER_TYPE", + "GATEWAY_DESCRIPTION", + "PUBLIC_DOMAIN_NAME", + "PUBLIC_DOMAIN_NAME_LIST", + "DOMAIN_OVERRIDE", + "EXCEPTION_LEVEL", + "INTERCEPTOR_PAYLOAD_EXCLUSION", + "INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR", + "INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR_LIST", + "INTERCEPTOR_PAYLOAD_FILTER", + "INTERCEPTOR_INPUT_CONFIGURATION", + "GATEWAY_INTERCEPTION_POINT", + "GATEWAY_INTERCEPTION_POINTS", + "LAMBDA_FUNCTION_ARN", + "LAMBDA_INTERCEPTOR_CONFIGURATION", + ), + ( + "INTERCEPTOR_CONFIGURATION", + "GATEWAY_INTERCEPTOR_CONFIGURATION", + "GATEWAY_INTERCEPTOR_CONFIGURATIONS", + "GATEWAY_NAME", + "GATEWAY_POLICY_ENGINE_ARN", + "GATEWAY_POLICY_ENGINE_MODE", + "GATEWAY_POLICY_ENGINE_CONFIGURATION", + "MCP_INSTRUCTIONS", + "SEARCH_TYPE", + "SESSION_CONFIGURATION", + "STREAMING_CONFIGURATION", + "MCP_VERSION", + "MCP_SUPPORTED_VERSIONS", + "MCP_GATEWAY_CONFIGURATION", + "GATEWAY_PROTOCOL_CONFIGURATION", + "GATEWAY_PROTOCOL_TYPE", + "CREATE_GATEWAY_INPUT", + "CREATE_GATEWAY_OUTPUT", + "CREATE_GATEWAY", + "LAMBDA_TRANSFORM_CONFIGURATION", + "CUSTOM_TRANSFORM_CONFIGURATION", + "GATEWAY_ARN", + "GATEWAY_ID", + "GATEWAY_URL", + "GATEWAY_STATUS", + "STATUS_REASON", + "STATUS_REASONS", + "WAF_FAILURE_MODE", + "WAF_CONFIGURATION", + "WEB_ACL_ARN", + "DELETE_GATEWAY_INPUT", + "DELETE_GATEWAY_OUTPUT", + "DELETE_GATEWAY", + "GET_GATEWAY_INPUT", + "GET_GATEWAY_OUTPUT", + "GET_GATEWAY", + "GATEWAY_MAX_RESULTS", + "GATEWAY_NEXT_TOKEN", + "LIST_GATEWAYS_INPUT", + "LIST_GATEWAYS_OUTPUT", + "LIST_GATEWAYS", + "GATEWAY_SUMMARY", + "GATEWAY_SUMMARIES", + "UPDATE_GATEWAY_INPUT", + "UPDATE_GATEWAY_OUTPUT", + "UPDATE_GATEWAY", + "MATCH_OPERATOR", + "MODEL_PATTERN", + "MATCH_MODEL_ENTRY", + "MATCH_MODEL_ENTRIES", + "MATCH_MODELS", + "MATCH_PATH_PATTERN", + "MATCH_PATH_PATTERNS", + "MATCH_PATHS", + "IAM_PRINCIPAL_ARN", + "PRINCIPAL_MATCH_OPERATOR", + "IAM_PRINCIPAL", + "MATCH_PRINCIPAL_ENTRY", + "MATCH_PRINCIPAL_ENTRIES", + "MATCH_PRINCIPALS", + "CONDITION", + "CONDITIONS", + "GATEWAY_RULE_DESCRIPTION", + "GATEWAY_RULE_PRIORITY", + "CREATE_GATEWAY_RULE_INPUT", + "CREATE_GATEWAY_RULE_OUTPUT", + "CREATE_GATEWAY_RULE", + "GATEWAY_RULE_ID", + "GATEWAY_RULE_STATUS", + "SYSTEM_MANAGED_BLOCK", + "DELETE_GATEWAY_RULE_INPUT", + "DELETE_GATEWAY_RULE_OUTPUT", + "DELETE_GATEWAY_RULE", + "GET_GATEWAY_RULE_INPUT", + "GET_GATEWAY_RULE_OUTPUT", + "GET_GATEWAY_RULE", + "GATEWAY_RULE_MAX_RESULTS", + "GATEWAY_RULE_NEXT_TOKEN", + "LIST_GATEWAY_RULES_INPUT", + "LIST_GATEWAY_RULES_OUTPUT", + "LIST_GATEWAY_RULES", + "GATEWAY_RULE_DETAIL", + "GATEWAY_RULES", + "UPDATE_GATEWAY_RULE_INPUT", + "UPDATE_GATEWAY_RULE_OUTPUT", + "UPDATE_GATEWAY_RULE", + "API_KEY_CREDENTIAL_LOCATION", + "API_KEY_CREDENTIAL_PARAMETER_NAME", + "API_KEY_CREDENTIAL_PREFIX", + "API_KEY_CREDENTIAL_PROVIDER_ARN", + "GATEWAY_API_KEY_CREDENTIAL_PROVIDER", + "IAM_CREDENTIAL_PROVIDER", + "O_AUTH_CUSTOM_PARAMETERS_KEY", + "O_AUTH_CUSTOM_PARAMETERS_VALUE", + "O_AUTH_CUSTOM_PARAMETERS", + "O_AUTH_DEFAULT_RETURN_URL", + "O_AUTH_GRANT_TYPE", + ), + ( + "O_AUTH_CREDENTIAL_PROVIDER_ARN", + "O_AUTH_SCOPE", + "O_AUTH_SCOPES", + "O_AUTH_CREDENTIAL_PROVIDER", + "CREDENTIAL_PROVIDER", + "CREDENTIAL_PROVIDER_TYPE", + "CREDENTIAL_PROVIDER_CONFIGURATION", + "CREDENTIAL_PROVIDER_CONFIGURATIONS", + "TARGET_DESCRIPTION", + "METADATA_CONFIGURATION", + "RUNTIME_ARN", + "RUNTIME_QUALIFIER", + "INLINE_PAYLOAD", + "AWS_ACCOUNT_ID", + "S3_BUCKET_URI", + "S3_CONFIGURATION", + "API_SCHEMA_CONFIGURATION", + "HTTP_API_SCHEMA_CONFIGURATION", + "RUNTIME_TARGET_CONFIGURATION", + "CONNECTOR_PARAMETER_NAME", + "CONNECTOR_PARAMETER_VALUE", + "HTTP_CONNECTOR_PARAMETERS", + "CONNECTOR_ID", + "HTTP_CONNECTOR_SOURCE", + "HTTP_CONNECTOR_TARGET_CONFIGURATION", + "PASSTHROUGH_ENDPOINT", + "PASSTHROUGH_PROTOCOL_TYPE", + "STATIC_QUERY_PARAMETER_CONFLICT_RESOLUTION", + "STATIC_QUERY_PARAMETER_NAME", + "STATIC_QUERY_PARAMETER_VALUE", + "STATIC_QUERY_PARAMETERS", + "COMPOSITE_IDENTIFIER_ENTRY", + "COMPOSITE_IDENTIFIER_LIST", + "STICKINESS_TIMEOUT", + "STICKINESS_CONFIGURATION", + "PASSTHROUGH_TARGET_CONFIGURATION", + "HTTP_TARGET_CONFIGURATION", + "INFERENCE_CONNECTOR_ID", + "INFERENCE_CONNECTOR_SOURCE", + "INFERENCE_CONNECTOR_TARGET_CONFIGURATION", + "PROVIDER_PREFIX", + "MODEL_MAPPING", + "MODEL_ENTRY", + "MODEL_ENTRIES", + "INFERENCE_OPERATION_PATH", + "INFERENCE_OPERATION_CONFIGURATION", + "INFERENCE_OPERATION_CONFIGURATIONS", + "INFERENCE_PROVIDER_TARGET_CONFIGURATION", + "INFERENCE_TARGET_CONFIGURATION", + "REST_API_METHOD", + "REST_API_METHODS", + "API_GATEWAY_TOOL_FILTER", + "API_GATEWAY_TOOL_FILTERS", + "API_GATEWAY_TOOL_OVERRIDE", + "API_GATEWAY_TOOL_OVERRIDES", + "API_GATEWAY_TOOL_CONFIGURATION", + "API_GATEWAY_TARGET_CONFIGURATION", + "CONNECTOR_PARAMETER_OVERRIDE", + "CONNECTOR_PARAMETER_OVERRIDES", + "CONNECTOR_CONFIGURATION", + "CONNECTOR_CONFIGURATIONS", + "ENABLED_CONNECTORS", + "CONNECTOR_VERSION", + "CONNECTOR_SOURCE", + "CONNECTOR_TARGET_CONFIGURATION", + "REQUIRED_PROPERTIES", + "SCHEMA_TYPE", + "LISTING_MODE", + "MCP_TOOL_SCHEMA_CONFIGURATION", + "TARGET_RESOURCE_PRIORITY", + "MCP_SERVER_TARGET_CONFIGURATION", + "O_AUTH2_AUTHORIZATION_DATA", + "AUTHORIZATION_DATA", + "DOMAIN_NAME", + "RESOURCE_ASSOCIATION_ARN", + "RESOURCE_GATEWAY_ARN", + "MANAGED_RESOURCE_DETAILS", + "PRIVATE_ENDPOINT_MANAGED_RESOURCES", + "TARGET_PROTOCOL_TYPE", + "TARGET_STATUS", + "TARGET_ID", + "DELETE_GATEWAY_TARGET_INPUT", + "DELETE_GATEWAY_TARGET_OUTPUT", + "DELETE_GATEWAY_TARGET", + "GET_GATEWAY_TARGET_INPUT", + "GET_GATEWAY_TARGET_OUTPUT", + "GET_GATEWAY_TARGET", + "TARGET_MAX_RESULTS", + "TARGET_NEXT_TOKEN", + "LIST_GATEWAY_TARGETS_INPUT", + "LIST_GATEWAY_TARGETS_OUTPUT", + "LIST_GATEWAY_TARGETS", + "TARGET_TYPE", + "TARGET_SUMMARY", + "TARGET_SUMMARIES", + "TARGET_ID_LIST", + "SYNCHRONIZE_GATEWAY_TARGETS_INPUT", + "SYNCHRONIZE_GATEWAY_TARGETS_OUTPUT", + "SYNCHRONIZE_GATEWAY_TARGETS", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + "RESOURCE_POLICY_BODY", + "TOKEN_VAULT_ID_TYPE", + "GET_TOKEN_VAULT_INPUT", + "GET_TOKEN_VAULT_OUTPUT", + "GET_TOKEN_VAULT", + "KEY_TYPE", + "KMS_CONFIGURATION", + "HARNESS_ENDPOINT_DESCRIPTION", + "HARNESS_ENDPOINT_NAME", + "HARNESS_ID", + "HARNESS_VERSION", + "CREATE_HARNESS_ENDPOINT_INPUT", + "CREATE_HARNESS_ENDPOINT_OUTPUT", + "CREATE_HARNESS_ENDPOINT", + ), + ( + "HARNESS_ENDPOINT_ARN", + "HARNESS_NAME", + "HARNESS_ENDPOINT_STATUS", + "HARNESS_ENDPOINT", + "DELETE_HARNESS_ENDPOINT_INPUT", + "DELETE_HARNESS_ENDPOINT_OUTPUT", + "DELETE_HARNESS_ENDPOINT", + "GET_HARNESS_ENDPOINT_INPUT", + "GET_HARNESS_ENDPOINT_OUTPUT", + "GET_HARNESS_ENDPOINT", + "LIST_HARNESS_ENDPOINTS_INPUT", + "LIST_HARNESS_ENDPOINTS_OUTPUT", + "LIST_HARNESS_ENDPOINTS", + "HARNESS_ENDPOINTS", + "UPDATE_HARNESS_ENDPOINT_INPUT", + "UPDATE_HARNESS_ENDPOINT_OUTPUT", + "UPDATE_HARNESS_ENDPOINT", + "HARNESS_ALLOWED_TOOL", + "HARNESS_ALLOWED_TOOLS", + "HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT_REQUEST", + "HARNESS_ENVIRONMENT_PROVIDER_REQUEST", + "HARNESS_ENVIRONMENT_ARTIFACT", + "HARNESS_HOOK_NAME", + "HARNESS_EVENT_BRIDGE_BUS_ARN", + "HARNESS_HOOK_EVENT_BRIDGE_TARGET", + "HARNESS_LAMBDA_FUNCTION_ARN", + "HARNESS_HOOK_FAILURE_MODE", + "HARNESS_HOOK_LAMBDA_TARGET", + "HARNESS_SNS_TOPIC_ARN", + "HARNESS_HOOK_SNS_TARGET", + "HARNESS_HOOK_TARGET", + "HARNESS_AFTER_INVOCATION_HOOK", + "HARNESS_AFTER_TOOL_CALL_HOOK", + "HARNESS_BEFORE_INVOCATION_HOOK", + "HARNESS_BEFORE_TOOL_CALL_HOOK", + "HARNESS_HOOK", + "HARNESS_HOOKS", + "HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIG", + "HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIGS", + "HARNESS_AGENT_CORE_MEMORY_CONFIGURATION", + "HARNESS_DISABLED_MEMORY_CONFIGURATION", + "HARNESS_MANAGED_MEMORY_STRATEGY_TYPE", + "HARNESS_MANAGED_MEMORY_STRATEGY_LIST", + "HARNESS_MANAGED_MEMORY_CONFIGURATION", + "HARNESS_MEMORY_CONFIGURATION", + "HARNESS_BEDROCK_API_FORMAT", + "MAX_TOKENS", + "TEMPERATURE", + "TOP_P", + "HARNESS_BEDROCK_MODEL_CONFIG", + "API_KEY_ARN", + "TOP_K", + "HARNESS_GEMINI_MODEL_CONFIG", + "HARNESS_LITE_LLM_API_BASE", + "HARNESS_LITE_LLM_MODEL_CONFIG", + "HARNESS_OPEN_AI_API_BASE", + "HARNESS_OPEN_AI_API_FORMAT", + "HARNESS_OPEN_AI_MODEL_CONFIG", + "HARNESS_MODEL_CONFIGURATION", + "HARNESS_AWS_SKILL_PATH", + "HARNESS_AWS_SKILL_PATHS", + "HARNESS_SKILL_AWS_SKILLS_SOURCE", + "HARNESS_SKILL_GIT_AUTH", + "HARNESS_SKILL_GIT_URL", + "HARNESS_SKILL_GIT_SOURCE", + "HARNESS_SKILL_PATH", + "HARNESS_SKILL_S3_URI", + "HARNESS_SKILL_S3_SOURCE", + "HARNESS_SKILL", + "HARNESS_SKILLS", + "SENSITIVE_TEXT", + "HARNESS_SYSTEM_CONTENT_BLOCK", + "HARNESS_SYSTEM_PROMPT", + "HARNESS_BROWSER_ARN", + "HARNESS_AGENT_CORE_BROWSER_CONFIG", + "HARNESS_CODE_INTERPRETER_ARN", + "HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG", + "HARNESS_GATEWAY_OUTBOUND_AUTH", + "HARNESS_AGENT_CORE_GATEWAY_CONFIG", + "HARNESS_INLINE_FUNCTION_DESCRIPTION", + "HARNESS_INLINE_FUNCTION_CONFIG", + "HTTP_HEADER_KEY", + "HTTP_HEADER_VALUE", + "HTTP_HEADERS_MAP", + "HARNESS_REMOTE_MCP_OUTBOUND_AUTH", + "HARNESS_REMOTE_MCP_URL", + "HARNESS_REMOTE_MCP_CONFIG", + "HARNESS_TOOL_CONFIGURATION", + "HARNESS_TOOL_NAME", + "HARNESS_TOOL_TYPE", + "HARNESS_TOOL", + "HARNESS_TOOLS", + "HARNESS_SLIDING_WINDOW_CONFIGURATION", + "HARNESS_SUMMARIZATION_CONFIGURATION", + "HARNESS_TRUNCATION_STRATEGY_CONFIGURATION", + "HARNESS_TRUNCATION_STRATEGY", + "HARNESS_TRUNCATION_CONFIGURATION", + "CREATE_HARNESS_INPUT", + "CREATE_HARNESS_OUTPUT", + "CREATE_HARNESS", + "HARNESS_ARN", + "HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT", + "HARNESS_ENVIRONMENT_PROVIDER", + "HARNESS_STATUS", + "HARNESS", + ), + ( + "MEMORY_ARN", + "DELETE_HARNESS_INPUT", + "DELETE_HARNESS_OUTPUT", + "DELETE_HARNESS", + "GET_HARNESS_INPUT", + "GET_HARNESS_OUTPUT", + "GET_HARNESS", + "LIST_HARNESSES_INPUT", + "LIST_HARNESSES_OUTPUT", + "LIST_HARNESSES", + "HARNESS_SUMMARY", + "HARNESS_SUMMARIES", + "LIST_HARNESS_VERSIONS_INPUT", + "LIST_HARNESS_VERSIONS_OUTPUT", + "LIST_HARNESS_VERSIONS", + "HARNESS_VERSION_SUMMARY", + "HARNESS_VERSION_SUMMARIES", + "UPDATED_HARNESS_ENVIRONMENT_ARTIFACT", + "UPDATED_HARNESS_MEMORY_CONFIGURATION", + "UPDATE_HARNESS_INPUT", + "UPDATE_HARNESS_OUTPUT", + "UPDATE_HARNESS", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "ARN", + "METADATA_KEY", + "METADATA_VALUE_TYPE", + "INDEXED_KEY", + "INDEXED_KEYS_LIST", + "PROMPT", + "EPISODIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT", + "EPISODIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT", + "DEFINITION", + "LLM_EXTRACTION_INSTRUCTION", + "NUMBER_VALIDATION", + "STRING_LIST_VALIDATION", + "STRING_VALIDATION", + "VALIDATION", + "LLM_EXTRACTION_CONFIG", + "EXTRACTION_CONFIG", + "EXTRACTION_TYPE", + "METADATA_SCHEMA_ENTRY", + "METADATA_SCHEMA_LIST", + "MEMORY_RECORD_SCHEMA", + "NAMESPACE", + "NAMESPACES_LIST", + "EPISODIC_OVERRIDE_REFLECTION_CONFIGURATION_INPUT", + "EPISODIC_OVERRIDE_CONFIGURATION_INPUT", + "INVOCATION_CONFIGURATION_INPUT", + "MESSAGE_BASED_TRIGGER_INPUT", + "TIME_BASED_TRIGGER_INPUT", + "TOKEN_BASED_TRIGGER_INPUT", + "TRIGGER_CONDITION_INPUT", + "TRIGGER_CONDITION_INPUT_LIST", + "SELF_MANAGED_CONFIGURATION_INPUT", + "SEMANTIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT", + "SEMANTIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT", + "SEMANTIC_OVERRIDE_CONFIGURATION_INPUT", + "SUMMARY_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT", + "SUMMARY_OVERRIDE_CONFIGURATION_INPUT", + "USER_PREFERENCE_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT", + "USER_PREFERENCE_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT", + "USER_PREFERENCE_OVERRIDE_CONFIGURATION_INPUT", + "CUSTOM_CONFIGURATION_INPUT", + "NAME", + "RECORD_EXPIRY_ACTION", + "RECORD_EXPIRY_DURATION_DAYS", + "RECORD_EXPIRY_SPECIFICATION", + "CUSTOM_MEMORY_STRATEGY_INPUT", + "EPISODIC_REFLECTION_CONFIGURATION_INPUT", + "EPISODIC_MEMORY_STRATEGY_INPUT", + "SEMANTIC_MEMORY_STRATEGY_INPUT", + "SUMMARY_MEMORY_STRATEGY_INPUT", + "USER_PREFERENCE_MEMORY_STRATEGY_INPUT", + "MEMORY_STRATEGY_INPUT", + "MEMORY_STRATEGY_INPUT_LIST", + "NAMESPACE_VARIABLE_KEY", + "NAMESPACE_ALLOWED_VALUE", + "NAMESPACE_ALLOWED_VALUES_LIST", + "NAMESPACE_REGEX_PATTERN", + "NAMESPACE_KEY_VALIDATION", + "NAMESPACE_KEY_ENTRY", + "NAMESPACE_KEYS_LIST", + "CONTENT_LEVEL", + "CONTENT_TYPE", + "CONTENT_CONFIGURATION", + "CONTENT_CONFIGURATION_LIST", + "KINESIS_RESOURCE", + "STREAM_DELIVERY_RESOURCE", + "STREAM_DELIVERY_RESOURCES_LIST", + "STREAM_DELIVERY_RESOURCES", + "CREATE_MEMORY_INPUT", + "CREATE_MEMORY_OUTPUT", + "CREATE_MEMORY", + "MEMORY_ID", + "MEMORY_STATUS", + "EPISODIC_CONSOLIDATION_OVERRIDE", + "SEMANTIC_CONSOLIDATION_OVERRIDE", + "SUMMARY_CONSOLIDATION_OVERRIDE", + "USER_PREFERENCE_CONSOLIDATION_OVERRIDE", + "CUSTOM_CONSOLIDATION_CONFIGURATION", + "CONSOLIDATION_CONFIGURATION", + ), + ( + "EPISODIC_EXTRACTION_OVERRIDE", + "SEMANTIC_EXTRACTION_OVERRIDE", + "USER_PREFERENCE_EXTRACTION_OVERRIDE", + "CUSTOM_EXTRACTION_CONFIGURATION", + "EXTRACTION_CONFIGURATION", + "EPISODIC_REFLECTION_OVERRIDE", + "CUSTOM_REFLECTION_CONFIGURATION", + "EPISODIC_REFLECTION_CONFIGURATION", + "REFLECTION_CONFIGURATION", + "INVOCATION_CONFIGURATION", + "MESSAGE_BASED_TRIGGER", + "TIME_BASED_TRIGGER", + "TOKEN_BASED_TRIGGER", + "TRIGGER_CONDITION", + "TRIGGER_CONDITIONS_LIST", + "SELF_MANAGED_CONFIGURATION", + "OVERRIDE_TYPE", + "STRATEGY_CONFIGURATION", + "MEMORY_STRATEGY_STATUS", + "MEMORY_STRATEGY_ID", + "MEMORY_STRATEGY_TYPE", + "MEMORY_STRATEGY", + "MEMORY_STRATEGY_LIST", + "MEMORY", + "SERVICE_EXCEPTION", + "THROTTLED_EXCEPTION", + "DELETE_MEMORY_INPUT", + "DELETE_MEMORY_OUTPUT", + "DELETE_MEMORY", + "MEMORY_VIEW", + "GET_MEMORY_INPUT", + "GET_MEMORY_OUTPUT", + "GET_MEMORY", + "LIST_MEMORIES_INPUT", + "LIST_MEMORIES_OUTPUT", + "LIST_MEMORIES", + "MEMORY_SUMMARY", + "MEMORY_SUMMARY_LIST", + "DELETE_MEMORY_STRATEGY_INPUT", + "DELETE_MEMORY_STRATEGIES_LIST", + "CUSTOM_CONSOLIDATION_CONFIGURATION_INPUT", + "MODIFY_CONSOLIDATION_CONFIGURATION", + "CUSTOM_EXTRACTION_CONFIGURATION_INPUT", + "MODIFY_EXTRACTION_CONFIGURATION", + "CUSTOM_REFLECTION_CONFIGURATION_INPUT", + "MODIFY_REFLECTION_CONFIGURATION", + "MODIFY_INVOCATION_CONFIGURATION_INPUT", + "MODIFY_SELF_MANAGED_CONFIGURATION", + "MODIFY_STRATEGY_CONFIGURATION", + "MODIFY_MEMORY_STRATEGY_INPUT", + "MODIFY_MEMORY_STRATEGIES_LIST", + "MODIFY_MEMORY_STRATEGIES", + "UPDATE_MEMORY_INPUT", + "UPDATE_MEMORY_OUTPUT", + "UPDATE_MEMORY", + "CLIENT_ID_TYPE", + "DEFAULT_CLIENT_SECRET_TYPE", + "ATLASSIAN_OAUTH2_PROVIDER_CONFIG_INPUT", + "CLIENT_AUTHENTICATION_METHOD_TYPE", + "DEFAULT_CLIENT_ID_TYPE", + "AUTHORIZATION_ENDPOINT_TYPE", + "ISSUER_URL_TYPE", + "RESPONSE_TYPE", + "RESPONSE_LIST_TYPE", + "TOKEN_ENDPOINT_TYPE", + "TOKEN_AUTH_METHOD", + "TOKEN_ENDPOINT_AUTH_METHODS_TYPE", + "OAUTH2_AUTHORIZATION_SERVER_METADATA", + "DISCOVERY_URL_TYPE", + "OAUTH2_DISCOVERY", + "ON_BEHALF_OF_TOKEN_EXCHANGE_GRANT_TYPE_TYPE", + "ON_BEHALF_OF_CLIENT_AUTHENTICATION_METHOD", + "ON_BEHALF_OF_AUTHENTICATION_CONFIG", + "SCOPE_TYPE", + "SCOPES_LIST_TYPE", + "TOKEN_EXCHANGE_GRANT_TYPE_CONFIG_TYPE", + "ON_BEHALF_OF_TOKEN_EXCHANGE_CONFIG_TYPE", + "KMS_KEY_SOURCE_TYPE", + "PRIVATE_KEY_SOURCE", + "SIGNING_ALGORITHM", + "PRIVATE_KEY_JWT_CONFIG", + "CUSTOM_OAUTH2_PROVIDER_CONFIG_INPUT", + "GITHUB_OAUTH2_PROVIDER_CONFIG_INPUT", + "GOOGLE_OAUTH2_PROVIDER_CONFIG_INPUT", + "INCLUDED_OAUTH2_PROVIDER_CONFIG_INPUT", + "LINKEDIN_OAUTH2_PROVIDER_CONFIG_INPUT", + "TENANT_ID_TYPE", + "MICROSOFT_OAUTH2_PROVIDER_CONFIG_INPUT", + "SALESFORCE_OAUTH2_PROVIDER_CONFIG_INPUT", + "SLACK_OAUTH2_PROVIDER_CONFIG_INPUT", + ), + ( + "CREDENTIAL_PROVIDER_VENDOR_TYPE", + "OAUTH2_PROVIDER_CONFIG_INPUT", + "CREATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT", + "CREATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT", + "CREATE_OAUTH2_CREDENTIAL_PROVIDER", + "CREDENTIAL_PROVIDER_ARN_TYPE", + "ATLASSIAN_OAUTH2_PROVIDER_CONFIG_OUTPUT", + "CUSTOM_OAUTH2_PROVIDER_CONFIG_OUTPUT", + "GITHUB_OAUTH2_PROVIDER_CONFIG_OUTPUT", + "GOOGLE_OAUTH2_PROVIDER_CONFIG_OUTPUT", + "INCLUDED_OAUTH2_PROVIDER_CONFIG_OUTPUT", + "LINKEDIN_OAUTH2_PROVIDER_CONFIG_OUTPUT", + "MICROSOFT_OAUTH2_PROVIDER_CONFIG_OUTPUT", + "SALESFORCE_OAUTH2_PROVIDER_CONFIG_OUTPUT", + "SLACK_OAUTH2_PROVIDER_CONFIG_OUTPUT", + "OAUTH2_PROVIDER_CONFIG_OUTPUT", + "STATUS", + "DELETE_OAUTH2_CREDENTIAL_PROVIDER_INPUT", + "DELETE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT", + "DELETE_OAUTH2_CREDENTIAL_PROVIDER", + "GET_OAUTH2_CREDENTIAL_PROVIDER_INPUT", + "GET_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT", + "GET_OAUTH2_CREDENTIAL_PROVIDER", + "LIST_OAUTH2_CREDENTIAL_PROVIDERS_INPUT", + "LIST_OAUTH2_CREDENTIAL_PROVIDERS_OUTPUT", + "LIST_OAUTH2_CREDENTIAL_PROVIDERS", + "OAUTH2_CREDENTIAL_PROVIDER_ITEM", + "OAUTH2_CREDENTIAL_PROVIDERS", + "UPDATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT", + "UPDATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT", + "UPDATE_OAUTH2_CREDENTIAL_PROVIDER", + "CLUSTERING_FREQUENCY", + "CLUSTERING_FREQUENCY_LIST", + "CLUSTERING_CONFIG", + "LOG_GROUP_NAME_PREFIX", + "LOG_GROUP_NAME_PREFIX_LIST", + "LOG_GROUP_NAME", + "LOG_GROUP_NAMES_LIST", + "SERVICE_NAME", + "SERVICE_NAMES_LIST", + "CLOUD_WATCH_LOGS_INPUT_CONFIG", + "DATA_SOURCE_CONFIG", + "EVALUATION_CONFIG_DESCRIPTION", + "EVALUATOR_REFERENCE", + "EVALUATOR_LIST", + "INSIGHT_ID", + "INSIGHT", + "INSIGHT_LIST", + "EVALUATION_CONFIG_NAME", + "OPTIONAL_LOG_GROUP_NAME", + "METRICS_NAMESPACE", + "RESULT_DESTINATION", + "CLOUD_WATCH_OUTPUT_CONFIG", + "OUTPUT_CONFIG", + "FILTER_OPERATOR", + "FILTER_VALUE", + "FILTER", + "FILTER_LIST", + "SAMPLING_PERCENTAGE", + "SAMPLING_CONFIG", + "SESSION_CONFIG", + "RULE", + "CREATE_ONLINE_EVALUATION_CONFIG_INPUT", + "CREATE_ONLINE_EVALUATION_CONFIG_OUTPUT", + "CREATE_ONLINE_EVALUATION_CONFIG", + "ONLINE_EVALUATION_EXECUTION_STATUS", + "ONLINE_EVALUATION_CONFIG_ARN", + "ONLINE_EVALUATION_CONFIG_ID", + "ONLINE_EVALUATION_CONFIG_STATUS", + "DELETE_ONLINE_EVALUATION_CONFIG_INPUT", + "DELETE_ONLINE_EVALUATION_CONFIG_OUTPUT", + "DELETE_ONLINE_EVALUATION_CONFIG", + "GET_ONLINE_EVALUATION_CONFIG_INPUT", + "GET_ONLINE_EVALUATION_CONFIG_OUTPUT", + "GET_ONLINE_EVALUATION_CONFIG", + "LIST_ONLINE_EVALUATION_CONFIGS_INPUT", + "LIST_ONLINE_EVALUATION_CONFIGS_OUTPUT", + "LIST_ONLINE_EVALUATION_CONFIGS", + "ONLINE_EVALUATION_CONFIG_SUMMARY", + "ONLINE_EVALUATION_CONFIG_SUMMARY_LIST", + "UPDATE_ONLINE_EVALUATION_CONFIG_INPUT", + "UPDATE_ONLINE_EVALUATION_CONFIG_OUTPUT", + "UPDATE_ONLINE_EVALUATION_CONFIG", + ), + ( + "PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE", + "COINBASE_CDP_API_KEY_ID_TYPE", + "DEFAULT_COINBASE_CDP_API_KEY_SECRET_TYPE", + "DEFAULT_COINBASE_CDP_WALLET_SECRET_TYPE", + "COINBASE_CDP_CONFIGURATION_INPUT", + "STRIPE_PRIVY_APP_ID_TYPE", + "DEFAULT_STRIPE_PRIVY_APP_SECRET_TYPE", + "STRIPE_PRIVY_AUTHORIZATION_ID_TYPE", + "DEFAULT_STRIPE_PRIVY_AUTHORIZATION_PRIVATE_KEY_TYPE", + "STRIPE_PRIVY_CONFIGURATION_INPUT", + "PAYMENT_PROVIDER_CONFIGURATION_INPUT", + "CREATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT", + "CREATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT", + "CREATE_PAYMENT_CREDENTIAL_PROVIDER", + "PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE", + "COINBASE_CDP_CONFIGURATION_OUTPUT", + "STRIPE_PRIVY_CONFIGURATION_OUTPUT", + "PAYMENT_PROVIDER_CONFIGURATION_OUTPUT", + "DELETE_PAYMENT_CREDENTIAL_PROVIDER_INPUT", + "DELETE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT", + "DELETE_PAYMENT_CREDENTIAL_PROVIDER", + "GET_PAYMENT_CREDENTIAL_PROVIDER_INPUT", + "GET_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT", + "GET_PAYMENT_CREDENTIAL_PROVIDER", + "LIST_PAYMENT_CREDENTIAL_PROVIDERS_INPUT", + "LIST_PAYMENT_CREDENTIAL_PROVIDERS_OUTPUT", + "LIST_PAYMENT_CREDENTIAL_PROVIDERS", + "PAYMENT_CREDENTIAL_PROVIDER_ITEM", + "PAYMENT_CREDENTIAL_PROVIDERS", + "UPDATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT", + "UPDATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT", + "UPDATE_PAYMENT_CREDENTIAL_PROVIDER", + "PAYMENTS_AUTHORIZER_TYPE", + "PAYMENTS_DESCRIPTION", + "PAYMENT_MANAGER_NAME", + "CREATE_PAYMENT_MANAGER_INPUT", + "CREATE_PAYMENT_MANAGER_OUTPUT", + "CREATE_PAYMENT_MANAGER", + "PAYMENT_MANAGER_ARN", + "PAYMENT_MANAGER_ID", + "PAYMENT_MANAGER_STATUS", + "DELETE_PAYMENT_MANAGER_INPUT", + "DELETE_PAYMENT_MANAGER_OUTPUT", + "DELETE_PAYMENT_MANAGER", + "GET_PAYMENT_MANAGER_INPUT", + "GET_PAYMENT_MANAGER_OUTPUT", + "GET_PAYMENT_MANAGER", + "LIST_PAYMENT_MANAGERS_INPUT", + "LIST_PAYMENT_MANAGERS_OUTPUT", + "LIST_PAYMENT_MANAGERS", + "PAYMENT_MANAGER_SUMMARY", + "PAYMENT_MANAGER_SUMMARIES", + "PAYMENT_CREDENTIAL_PROVIDER_ARN", + "PAYMENT_CREDENTIAL_PROVIDER_CONFIGURATION", + "CREDENTIALS_PROVIDER_CONFIGURATION", + "CREDENTIALS_PROVIDER_CONFIGURATIONS", + "PAYMENT_CONNECTOR_NAME", + "PAYMENT_CONNECTOR_PROVISION_MODE", + "PAYMENT_CONNECTOR_TYPE", + "CREATE_PAYMENT_CONNECTOR_INPUT", + "CREATE_PAYMENT_CONNECTOR_OUTPUT", + "CREATE_PAYMENT_CONNECTOR", + "PAYMENT_CONNECTOR_AUTHORIZATION_URL", + "PAYMENT_CONNECTOR_ID", + "PAYMENT_CONNECTOR_STATUS", + "SUBSCRIPTION_REQUIRED_EXCEPTION", + "DELETE_PAYMENT_CONNECTOR_INPUT", + "DELETE_PAYMENT_CONNECTOR_OUTPUT", + "DELETE_PAYMENT_CONNECTOR", + "GET_PAYMENT_CONNECTOR_INPUT", + "GET_PAYMENT_CONNECTOR_OUTPUT", + "GET_PAYMENT_CONNECTOR", + "LIST_PAYMENT_CONNECTORS_INPUT", + "LIST_PAYMENT_CONNECTORS_OUTPUT", + "LIST_PAYMENT_CONNECTORS", + "PAYMENT_CONNECTOR_SUMMARY", + "PAYMENT_CONNECTOR_SUMMARIES", + "COINBASE_CDP_SECRET", + "COINBASE_CDP_SECRETS", + "COINBASE_CDP_ROTATION_TARGETS", + "CREDENTIAL_ROTATION_CONFIG", + ), + ( + "ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_INPUT", + "ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_OUTPUT", + "ROTATE_PAYMENT_CONNECTOR_CREDENTIALS", + "UPDATE_PAYMENT_CONNECTOR_INPUT", + "UPDATE_PAYMENT_CONNECTOR_OUTPUT", + "UPDATE_PAYMENT_CONNECTOR", + "UPDATE_PAYMENT_MANAGER_INPUT", + "UPDATE_PAYMENT_MANAGER_OUTPUT", + "UPDATE_PAYMENT_MANAGER", + "POLICY_ENGINE_NAME", + "CREATE_POLICY_ENGINE_INPUT", + "CREATE_POLICY_ENGINE_OUTPUT", + "CREATE_POLICY_ENGINE", + "POLICY_ENGINE_ARN", + "RESOURCE_ID", + "POLICY_ENGINE_STATUS", + "STRING", + "POLICY_STATUS_REASONS", + "DELETE_POLICY_ENGINE_INPUT", + "DELETE_POLICY_ENGINE_OUTPUT", + "DELETE_POLICY_ENGINE", + "GET_POLICY_ENGINE_INPUT", + "GET_POLICY_ENGINE_OUTPUT", + "GET_POLICY_ENGINE", + "GET_POLICY_ENGINE_SUMMARY_INPUT", + "GET_POLICY_ENGINE_SUMMARY_OUTPUT", + "GET_POLICY_ENGINE_SUMMARY", + "LIST_POLICY_ENGINES_INPUT", + "LIST_POLICY_ENGINES_OUTPUT", + "LIST_POLICY_ENGINES", + "POLICY_ENGINE", + "POLICY_ENGINES", + "LIST_POLICY_ENGINE_SUMMARIES_INPUT", + "LIST_POLICY_ENGINE_SUMMARIES_OUTPUT", + "LIST_POLICY_ENGINE_SUMMARIES", + "POLICY_ENGINE_SUMMARY", + "POLICY_ENGINE_SUMMARY_LIST", + "UPDATE_POLICY_ENGINE_INPUT", + "UPDATE_POLICY_ENGINE_OUTPUT", + "UPDATE_POLICY_ENGINE", + "GET_POLICY_GENERATION_INPUT", + "GET_POLICY_GENERATION_OUTPUT", + "GET_POLICY_GENERATION", + "POLICY_GENERATION_NAME", + "POLICY_GENERATION_ARN", + "RESOURCE", + "POLICY_GENERATION_STATUS", + "GET_POLICY_GENERATION_SUMMARY_INPUT", + "GET_POLICY_GENERATION_SUMMARY_OUTPUT", + "GET_POLICY_GENERATION_SUMMARY", + "LIST_POLICY_GENERATION_ASSETS_INPUT", + "LIST_POLICY_GENERATION_ASSETS_OUTPUT", + "LIST_POLICY_GENERATION_ASSETS", + "STATEMENT", + "CEDAR_POLICY", + "POLICY_STATEMENT", + "POLICY_GENERATION_DETAILS", + "POLICY_DEFINITION", + "FINDING_TYPE", + "FINDING", + "FINDINGS", + "NATURAL_LANGUAGE", + "POLICY_GENERATION_ASSET", + "POLICY_GENERATION_ASSETS", + "LIST_POLICY_GENERATIONS_INPUT", + "LIST_POLICY_GENERATIONS_OUTPUT", + "LIST_POLICY_GENERATIONS", + "POLICY_GENERATION", + "POLICY_GENERATIONS", + "LIST_POLICY_GENERATION_SUMMARIES_INPUT", + "LIST_POLICY_GENERATION_SUMMARIES_OUTPUT", + "LIST_POLICY_GENERATION_SUMMARIES", + "POLICY_GENERATION_SUMMARY", + "POLICY_GENERATION_SUMMARY_LIST", + "CONTENT", + "START_POLICY_GENERATION_INPUT", + "START_POLICY_GENERATION_OUTPUT", + "START_POLICY_GENERATION", + "ENFORCEMENT_MODE", + "POLICY_NAME", + "POLICY_VALIDATION_MODE", + ), + ( + "CREATE_POLICY_INPUT", + "CREATE_POLICY_OUTPUT", + "CREATE_POLICY", + "POLICY_ARN", + "POLICY_STATUS", + "DELETE_POLICY_INPUT", + "DELETE_POLICY_OUTPUT", + "DELETE_POLICY", + "GET_POLICY_INPUT", + "GET_POLICY_OUTPUT", + "GET_POLICY", + "GET_POLICY_SUMMARY_INPUT", + "GET_POLICY_SUMMARY_OUTPUT", + "GET_POLICY_SUMMARY", + "LIST_POLICIES_INPUT", + "LIST_POLICIES_OUTPUT", + "LIST_POLICIES", + "POLICY", + "POLICIES", + "LIST_POLICY_SUMMARIES_INPUT", + "LIST_POLICY_SUMMARIES_OUTPUT", + "LIST_POLICY_SUMMARIES", + "POLICY_SUMMARY", + "POLICY_SUMMARY_LIST", + "UPDATE_POLICY_INPUT", + "UPDATE_POLICY_OUTPUT", + "UPDATE_POLICY", + "PUT_RESOURCE_POLICY_INPUT", + "PUT_RESOURCE_POLICY_OUTPUT", + "PUT_RESOURCE_POLICY", + "CUSTOM_DESCRIPTOR", + "SERVER_DEFINITION", + "TOOLS_DEFINITION", + "MCP_DESCRIPTOR", + "DESCRIPTORS", + "DESCRIPTOR_TYPE", + "REGISTRY_RECORD_NAME", + "REGISTRY_RECORD_VERSION", + "REGISTRY_IDENTIFIER", + "IAM_SIGNING_REGION", + "IAM_ROLE_ARN", + "IAM_SIGNING_SERVICE_NAME", + "REGISTRY_RECORD_IAM_CREDENTIAL_PROVIDER", + "CUSTOM_PARAMETER_MAP", + "REGISTRY_RECORD_O_AUTH_GRANT_TYPE", + "CREDENTIAL_PROVIDER_ARN", + "SCOPE_LIST", + "REGISTRY_RECORD_O_AUTH_CREDENTIAL_PROVIDER", + "REGISTRY_RECORD_CREDENTIAL_PROVIDER_UNION", + "REGISTRY_RECORD_CREDENTIAL_PROVIDER_TYPE", + "REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION", + "REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION_LIST", + "MCP_SERVER_URL", + "FROM_URL_SYNCHRONIZATION_CONFIGURATION", + "SYNCHRONIZATION_CONFIGURATION", + "SYNCHRONIZATION_TYPE", + "CREATE_REGISTRY_RECORD_INPUT", + "CREATE_REGISTRY_RECORD_OUTPUT", + "CREATE_REGISTRY_RECORD", + "REGISTRY_RECORD_ARN", + "REGISTRY_RECORD_STATUS", + "RECORD_IDENTIFIER", + "DELETE_REGISTRY_RECORD_INPUT", + "DELETE_REGISTRY_RECORD_OUTPUT", + "DELETE_REGISTRY_RECORD", + "GET_REGISTRY_RECORD_INPUT", + "GET_REGISTRY_RECORD_OUTPUT", + "GET_REGISTRY_RECORD", + "REGISTRY_RECORD_ID", + "REGISTRY_ARN", + "LIST_REGISTRY_RECORDS_INPUT", + "LIST_REGISTRY_RECORDS_OUTPUT", + "LIST_REGISTRY_RECORDS", + "REGISTRY_RECORD_SUMMARY", + "REGISTRY_RECORD_SUMMARY_LIST", + "SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_INPUT", + "SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_OUTPUT", + "SUBMIT_REGISTRY_RECORD_FOR_APPROVAL", + "UPDATED_A2A_DESCRIPTOR", + "UPDATED_SKILL_DEFINITION", + "UPDATED_SKILL_MD_DEFINITION", + "UPDATED_AGENT_SKILLS_DESCRIPTOR_FIELDS", + "UPDATED_AGENT_SKILLS_DESCRIPTOR", + "UPDATED_CUSTOM_DESCRIPTOR", + "UPDATED_SERVER_DEFINITION", + "UPDATED_TOOLS_DEFINITION", + "UPDATED_MCP_DESCRIPTOR_FIELDS", + "UPDATED_MCP_DESCRIPTOR", + "UPDATED_DESCRIPTORS_UNION", + "UPDATED_DESCRIPTORS", + "UPDATED_SYNCHRONIZATION_CONFIGURATION", + "UPDATED_SYNCHRONIZATION_TYPE", + ), + ( + "TAGGABLE_RESOURCES_ARN", + "UPDATE_REGISTRY_RECORD_INPUT", + "UPDATE_REGISTRY_RECORD_OUTPUT", + "UPDATE_REGISTRY_RECORD", + "UPDATE_REGISTRY_RECORD_STATUS_INPUT", + "UPDATE_REGISTRY_RECORD_STATUS_OUTPUT", + "UPDATE_REGISTRY_RECORD_STATUS", + "APPROVAL_CONFIGURATION", + "REGISTRY_AUTHORIZER_TYPE", + "REGISTRY_NAME", + "CREATE_REGISTRY_INPUT", + "CREATE_REGISTRY_OUTPUT", + "CREATE_REGISTRY", + "DELETE_REGISTRY_INPUT", + "DELETE_REGISTRY_OUTPUT", + "DELETE_REGISTRY", + "REGISTRY_STATUS", + "GET_REGISTRY_INPUT", + "GET_REGISTRY_OUTPUT", + "GET_REGISTRY", + "REGISTRY_ID", + "LIST_REGISTRIES_INPUT", + "LIST_REGISTRIES_OUTPUT", + "LIST_REGISTRIES", + "REGISTRY_SUMMARY", + "REGISTRY_SUMMARY_LIST", + "UPDATED_APPROVAL_CONFIGURATION", + "UPDATE_REGISTRY_INPUT", + "UPDATE_REGISTRY_OUTPUT", + "UPDATE_REGISTRY", + "RESET_TOKEN_VAULT_KEY_MATERIAL_INPUT", + "RESET_TOKEN_VAULT_KEY_MATERIAL_OUTPUT", + "RESET_TOKEN_VAULT_KEY_MATERIAL", + "CONCURRENT_MODIFICATION_EXCEPTION", + "SET_TOKEN_VAULT_CMK_INPUT", + "SET_TOKEN_VAULT_CMK_OUTPUT", + "SET_TOKEN_VAULT_CMK", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "RESOURCE_OAUTH2_RETURN_URL_TYPE", + "RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE", + "CREATE_WORKLOAD_IDENTITY_INPUT", + "CREATE_WORKLOAD_IDENTITY_OUTPUT", + "CREATE_WORKLOAD_IDENTITY", + "WORKLOAD_IDENTITY_ARN_TYPE", + "DELETE_WORKLOAD_IDENTITY_INPUT", + "DELETE_WORKLOAD_IDENTITY_OUTPUT", + "DELETE_WORKLOAD_IDENTITY", + "GET_WORKLOAD_IDENTITY_INPUT", + "GET_WORKLOAD_IDENTITY_OUTPUT", + "GET_WORKLOAD_IDENTITY", + "LIST_WORKLOAD_IDENTITIES_INPUT", + "LIST_WORKLOAD_IDENTITIES_OUTPUT", + "LIST_WORKLOAD_IDENTITIES", + "WORKLOAD_IDENTITY_TYPE", + "WORKLOAD_IDENTITY_LIST", + "UPDATE_WORKLOAD_IDENTITY_INPUT", + "UPDATE_WORKLOAD_IDENTITY_OUTPUT", + "UPDATE_WORKLOAD_IDENTITY", + "SCHEMA_DEFINITION", + "SCHEMA_PROPERTIES", + "TOOL_DEFINITION", + "TOOL_DEFINITIONS", + "TOOL_SCHEMA", + "MCP_LAMBDA_TARGET_CONFIGURATION", + "MCP_TARGET_CONFIGURATION", + "TARGET_CONFIGURATION", + "CREATE_GATEWAY_TARGET_INPUT", + "CREATE_GATEWAY_TARGET_OUTPUT", + "CREATE_GATEWAY_TARGET", + "GATEWAY_TARGET", + "UPDATE_GATEWAY_TARGET_INPUT", + "UPDATE_GATEWAY_TARGET_OUTPUT", + "UPDATE_GATEWAY_TARGET", + "GATEWAY_TARGET_LIST", + "AMAZON_BEDROCK_AGENT_CORE_CONTROL", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_0.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_0.py new file mode 100644 index 000000000..e5703bd09 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_0.py @@ -0,0 +1,1198 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_IC = "InlineContent" +_SV = "SchemaVersion" +_ACD = "AgentCardDefinition" +_sV = "schemaVersion" +_iC = "inlineContent" +_AD = "A2aDescriptor" +_aC = "agentCard" +_NBS = "NonBlankString" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_GCBA = "GatewayConfigurationBundleArn" +_SO = "StaticOverride" +_bA = "bundleArn" +_sm = "smithy.api#required" +_bV = "bundleVersion" +_CBR = "ConfigurationBundleReference" +_TSMK = "TrafficSplitMetadataKey" +_TSMV = "TrafficSplitMetadataValue" +_TSMM = "TrafficSplitMetadataMap" +_k = "key" +_v = "value" +_TSE = "TrafficSplitEntry" +_n = "name" +_w = "weight" +_cB = "configurationBundle" +_d = "description" +_me = "metadata" +_TSEr = "TrafficSplitEntries" +_mem = "member" +_WO = "WeightedOverride" +_tS = "trafficSplit" +_CBA = "ConfigurationBundleAction" +_sO = "staticOverride" +_wO = "weightedOverride" +_CBM = "CircuitBreakerMode" +_ENABLED = "ENABLED" +_sVm = "smithy.api#enumValue" +_DISABLED = "DISABLED" +_CBC = "CircuitBreakerConfiguration" +_mo = "mode" +_smi = "smithy.api#default" +_CMI = "ConcreteModelId" +_TN = "TargetName" +_smit = "smithy.api#sensitive" +_FE = "FallbackError" +_CE = "CONNECTION_ERROR" +_FBT = "FIRST_BYTE_TIMEOUT" +_UNROUTABLE = "UNROUTABLE" +_FEa = "FallbackErrors" +_ESCP = "ErrorStatusCodePattern" +_ESCPr = "ErrorStatusCodePatterns" +_FT = "FallbackTriggers" +_sC = "statusCodes" +_e = "errors" +_FTa = "FallbackTarget" +_tN = "targetName" +_mod = "model" +_tO = "triggerOn" +_fBTM = "firstByteTimeoutMilliseconds" +_TF = "TargetFallbacks" +_F = "Fallback" +_cBi = "circuitBreaker" +_tF = "targetFallback" +_SR = "StaticRoute" +_f = "fallback" +_TTSE = "TargetTrafficSplitEntry" +_TTSEa = "TargetTrafficSplitEntries" +_WR = "WeightedRoute" +_RTTA = "RouteToTargetAction" +_sR = "staticRoute" +_wR = "weightedRoute" +_A = "Action" +_rTT = "routeToTarget" +_Ac = "Actions" +_ATCT = "ActorTokenContentType" +_NONE = "NONE" +_MM = "M2M" +_AIITJ = "AWS_IAM_ID_TOKEN_JWT" +_CT = "ClientToken" +_DI = "DatasetId" +_SJ = "SensitiveJson" +_DEL = "DatasetExampleList" +_IES = "InlineExamplesSource" +_ex = "examples" +_SU = "S3Uri" +_SS = "S3Source" +_sU = "s3Uri" +_DST = "DataSourceType" +_iE = "inlineExamples" +_sS = "s3Source" +_ADEI = "AddDatasetExamplesInput" +_sSI = "smithy.synthetic#originalShapeId" +_cADER = "com.amazonaws.bedrockagentcorecontrol#AddDatasetExamplesRequest" +_smith = "smithy.api#input" +_dI = "datasetId" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_so = "source" +_DA = "DatasetArn" +_EI = "ExampleId" +_EIL = "ExampleIdList" +_DS = "DatasetStatus" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_DF = "DELETE_FAILED" +_ADEO = "AddDatasetExamplesOutput" +_cADERo = "com.amazonaws.bedrockagentcorecontrol#AddDatasetExamplesResponse" +_smithy = "smithy.api#output" +_dA = "datasetArn" +_st = "status" +_aCd = "addedCount" +_uA = "updatedAt" +_eI = "exampleIds" +_CEo = "ConflictException" +_ISE = "InternalServerException" +_se = "server" +_RNFE = "ResourceNotFoundException" +_SQEE = "ServiceQuotaExceededException" +_TE = "ThrottlingException" +_VEF = "ValidationExceptionField" +_VEFL = "ValidationExceptionFieldList" +_VER = "ValidationExceptionReason" +_CP = "CANNOT_PARSE" +_CPa = "CannotParse" +_FVF = "FIELD_VALIDATION_FAILED" +_FVFi = "FieldValidationFailed" +_IPME = "IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION" +_IPMEd = "IdempotentParameterMismatchException" +_REIOS = "ROOT_EVENT_IN_OTHER_SESSION" +_EIOS = "EventInOtherSession" +_RC = "RESOURCE_CONFLICT" +_RCe = "ResourceConflict" +_VE = "ValidationException" +_r = "reason" +_fL = "fieldList" +_ADEd = "AddDatasetExamples" +_smithya = "smithy.api#http" +_ACN = "AdditionalClaimName" +_ACV = "AdditionalClaimValue" +_AC = "AdditionalClaims" +_AMRF = "AdditionalModelRequestFields" +_AST = "AllowedScopeType" +_ASMT = "AdvertisedScopeMappingType" +_AED = "AgentEndpointDescription" +_ARI = "AgentRuntimeId" +_ARV = "AgentRuntimeVersion" +_EN = "EndpointName" +_TK = "TagKey" +_TV = "TagValue" +_TM = "TagsMap" +_CAREI = "CreateAgentRuntimeEndpointInput" +_cCARER = "com.amazonaws.bedrockagentcorecontrol#CreateAgentRuntimeEndpointRequest" +_aRI = "agentRuntimeId" +_aRV = "agentRuntimeVersion" +_t = "tags" +_ARA = "AgentRuntimeArn" +_AREA = "AgentRuntimeEndpointArn" +_DT = "DateTimestamp" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_ARES = "AgentRuntimeEndpointStatus" +_READY = "READY" +_CAREO = "CreateAgentRuntimeEndpointOutput" +_cCARERo = "com.amazonaws.bedrockagentcorecontrol#CreateAgentRuntimeEndpointResponse" +_tV = "targetVersion" +_aREA = "agentRuntimeEndpointArn" +_aRA = "agentRuntimeArn" +_eN = "endpointName" +_cA = "createdAt" +_CARE = "CreateAgentRuntimeEndpoint" +_DAREI = "DeleteAgentRuntimeEndpointInput" +_cDARER = "com.amazonaws.bedrockagentcorecontrol#DeleteAgentRuntimeEndpointRequest" +_sQ = "smithy.api#httpQuery" +_DAREO = "DeleteAgentRuntimeEndpointOutput" +_cDARERo = "com.amazonaws.bedrockagentcorecontrol#DeleteAgentRuntimeEndpointResponse" +_DARE = "DeleteAgentRuntimeEndpoint" +_GAREI = "GetAgentRuntimeEndpointInput" +_cGARER = "com.amazonaws.bedrockagentcorecontrol#GetAgentRuntimeEndpointRequest" +_AREI = "AgentRuntimeEndpointId" +_GAREO = "GetAgentRuntimeEndpointOutput" +_cGARERo = "com.amazonaws.bedrockagentcorecontrol#GetAgentRuntimeEndpointResponse" +_lV = "liveVersion" +_lUA = "lastUpdatedAt" +_fR = "failureReason" +_i = "id" +_GARE = "GetAgentRuntimeEndpoint" +_MR = "MaxResults" +_NT = "NextToken" +_LAREI = "ListAgentRuntimeEndpointsInput" +_cLARER = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimeEndpointsRequest" +_mR = "maxResults" +_nT = "nextToken" +_ARE = "AgentRuntimeEndpoint" +_AREg = "AgentRuntimeEndpoints" +_LAREO = "ListAgentRuntimeEndpointsOutput" +_cLARERo = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimeEndpointsResponse" +_rE = "runtimeEndpoints" +_LARE = "ListAgentRuntimeEndpoints" +_UAREI = "UpdateAgentRuntimeEndpointInput" +_cUARER = "com.amazonaws.bedrockagentcorecontrol#UpdateAgentRuntimeEndpointRequest" +_UAREO = "UpdateAgentRuntimeEndpointOutput" +_cUARERo = "com.amazonaws.bedrockagentcorecontrol#UpdateAgentRuntimeEndpointResponse" +_UARE = "UpdateAgentRuntimeEndpoint" +_AMRT = "AgentManagedRuntimeType" +_P = "PYTHON_3_10" +_P_ = "PYTHON_3_11" +_P__ = "PYTHON_3_12" +_P___ = "PYTHON_3_13" +_P____ = "PYTHON_3_14" +_N = "NODE_22" +_SL = "S3Location" +_b = "bucket" +_p = "prefix" +_vI = "versionId" +_C = "Code" +_s_ = "s3" +_eP = "entryPoint" +_EP = "EntryPoints" +_CC = "CodeConfiguration" +_co = "code" +_ru = "runtime" +_RCU = "RuntimeContainerUri" +_CCo = "ContainerConfiguration" +_cU = "containerUri" +_ARAg = "AgentRuntimeArtifact" +_cC = "containerConfiguration" +_cCo = "codeConfiguration" +_ARN = "AgentRuntimeName" +_Po = "Port" +_PR = "PortRange" +_fr = "from" +_to = "to" +_AP = "AllowedPort" +_po = "port" +_pR = "portRange" +_APl = "AllowedPorts" +_AA = "AllowedAudience" +_AAL = "AllowedAudienceList" +_ACl = "AllowedClient" +_ACL = "AllowedClientsList" +_ASTl = "AllowedScopesType" +_BARA = "BedrockAgentcoreResourceArn" +_HE = "HostingEnvironment" +_a = "arn" +_HELT = "HostingEnvironmentListType" +_WINT = "WorkloadIdentityNameType" +_WINLT = "WorkloadIdentityNameListType" +_AWC = "AllowedWorkloadConfiguration" +_hE = "hostingEnvironments" +_wI = "workloadIdentities" +_CBOAI = "CertificateBucketOwnerAccountId" +_CSU = "CertificateS3Uri" +_SCC = "S3CertificateConfiguration" +_u = "uri" +_bOAI = "bucketOwnerAccountId" +_CSA = "CertificateSecretArn" + +INLINE_CONTENT: StaticSchema = (3, n0, _IC, 0) + +SCHEMA_VERSION: StaticSchema = (3, n0, _SV, 0) + +AGENT_CARD_DEFINITION: StaticSchema = ( + 18, + n0, + _ACD, + 0, + (_sV, _iC), + ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), +) + +A2A_DESCRIPTOR: StaticSchema = (18, n0, _AD, 0, (_aC,), ((AGENT_CARD_DEFINITION, 0),)) + +NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c, _sE: 403}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +GATEWAY_CONFIGURATION_BUNDLE_ARN: StaticSchema = (3, n0, _GCBA, 0) + +STATIC_OVERRIDE: StaticSchema = ( + 18, + n0, + _SO, + 0, + (_bA, _bV), + ((GATEWAY_CONFIGURATION_BUNDLE_ARN, 1), (3, 1)), +) + +CONFIGURATION_BUNDLE_REFERENCE: StaticSchema = ( + 18, + n0, + _CBR, + 0, + (_bA, _bV), + ((GATEWAY_CONFIGURATION_BUNDLE_ARN, 1), (3, 1)), +) + +TRAFFIC_SPLIT_METADATA_KEY: StaticSchema = (3, n0, _TSMK, 0) + +TRAFFIC_SPLIT_METADATA_VALUE: StaticSchema = (3, n0, _TSMV, 0) + +TRAFFIC_SPLIT_METADATA_MAP: StaticSchema = ( + 17, + n0, + _TSMM, + 0, + (_k, _v), + ((TRAFFIC_SPLIT_METADATA_KEY, 0), (TRAFFIC_SPLIT_METADATA_VALUE, 0)), +) + +TRAFFIC_SPLIT_ENTRY: StaticSchema = ( + 18, + n0, + _TSE, + 0, + (_n, _w, _cB, _d, _me), + ( + (3, 1), + (7, 1), + (CONFIGURATION_BUNDLE_REFERENCE, 1), + (3, 0), + (TRAFFIC_SPLIT_METADATA_MAP, 0), + ), +) + +TRAFFIC_SPLIT_ENTRIES: StaticSchema = ( + 16, + n0, + _TSEr, + 0, + (_mem,), + ((TRAFFIC_SPLIT_ENTRY, 0),), +) + +WEIGHTED_OVERRIDE: StaticSchema = ( + 18, + n0, + _WO, + 0, + (_tS,), + ((TRAFFIC_SPLIT_ENTRIES, 1),), +) + +CONFIGURATION_BUNDLE_ACTION: StaticSchema = ( + 19, + n0, + _CBA, + 0, + (_sO, _wO), + ((STATIC_OVERRIDE, 0), (WEIGHTED_OVERRIDE, 0)), +) + +CIRCUIT_BREAKER_MODE: StaticSchema = ( + 14, + n0, + _CBM, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sVm: _ENABLED}), (-1, {_sVm: _DISABLED})), +) + +CIRCUIT_BREAKER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CBC, + 0, + (_mo,), + ((CIRCUIT_BREAKER_MODE, {_smi: _ENABLED}),), +) + +CONCRETE_MODEL_ID: StaticSchema = (3, n0, _CMI, 0) + +TARGET_NAME: StaticSchema = (3, n0, _TN, 4) + +FALLBACK_ERROR: StaticSchema = ( + 14, + n0, + _FE, + 0, + (_CE, _FBT, _UNROUTABLE), + ((-1, {_sVm: _CE}), (-1, {_sVm: _FBT}), (-1, {_sVm: _UNROUTABLE})), +) + +FALLBACK_ERRORS: StaticSchema = (16, n0, _FEa, 0, (_mem,), ((FALLBACK_ERROR, 0),)) + +ERROR_STATUS_CODE_PATTERN: StaticSchema = (3, n0, _ESCP, 0) + +ERROR_STATUS_CODE_PATTERNS: StaticSchema = ( + 16, + n0, + _ESCPr, + 0, + (_mem,), + ((ERROR_STATUS_CODE_PATTERN, 0),), +) + +FALLBACK_TRIGGERS: StaticSchema = ( + 18, + n0, + _FT, + 0, + (_sC, _e), + ((ERROR_STATUS_CODE_PATTERNS, 0), (FALLBACK_ERRORS, 0)), +) + +FALLBACK_TARGET: StaticSchema = ( + 18, + n0, + _FTa, + 0, + (_tN, _mod, _tO, _fBTM), + ((TARGET_NAME, 1), (CONCRETE_MODEL_ID, 0), (FALLBACK_TRIGGERS, 0), (7, 0)), +) + +TARGET_FALLBACKS: StaticSchema = (16, n0, _TF, 0, (_mem,), ((FALLBACK_TARGET, 0),)) + +FALLBACK: StaticSchema = ( + 18, + n0, + _F, + 0, + (_tO, _fBTM, _cBi, _tF), + ( + (FALLBACK_TRIGGERS, 0), + (7, 0), + (CIRCUIT_BREAKER_CONFIGURATION, 0), + (TARGET_FALLBACKS, 1), + ), +) + +STATIC_ROUTE: StaticSchema = ( + 18, + n0, + _SR, + 0, + (_tN, _mod, _f), + ((TARGET_NAME, 1), (CONCRETE_MODEL_ID, 0), (FALLBACK, 0)), +) + +TARGET_TRAFFIC_SPLIT_ENTRY: StaticSchema = ( + 18, + n0, + _TTSE, + 0, + (_tN, _mod, _f, _n, _w, _d, _me), + ( + (TARGET_NAME, 1), + (CONCRETE_MODEL_ID, 0), + (FALLBACK, 0), + (3, 1), + (7, 1), + (3, 0), + (TRAFFIC_SPLIT_METADATA_MAP, 0), + ), +) + +TARGET_TRAFFIC_SPLIT_ENTRIES: StaticSchema = ( + 16, + n0, + _TTSEa, + 0, + (_mem,), + ((TARGET_TRAFFIC_SPLIT_ENTRY, 0),), +) + +WEIGHTED_ROUTE: StaticSchema = ( + 18, + n0, + _WR, + 0, + (_tS,), + ((TARGET_TRAFFIC_SPLIT_ENTRIES, 1),), +) + +ROUTE_TO_TARGET_ACTION: StaticSchema = ( + 19, + n0, + _RTTA, + 0, + (_sR, _wR), + ((STATIC_ROUTE, 0), (WEIGHTED_ROUTE, 0)), +) + +ACTION: StaticSchema = ( + 19, + n0, + _A, + 0, + (_cB, _rTT), + ((CONFIGURATION_BUNDLE_ACTION, 0), (ROUTE_TO_TARGET_ACTION, 0)), +) + +ACTIONS: StaticSchema = (16, n0, _Ac, 0, (_mem,), ((ACTION, 0),)) + +ACTOR_TOKEN_CONTENT_TYPE: StaticSchema = ( + 14, + n0, + _ATCT, + 0, + (_NONE, _MM, _AIITJ), + ((-1, {_sVm: _NONE}), (-1, {_sVm: _MM}), (-1, {_sVm: _AIITJ})), +) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) + +DATASET_ID: StaticSchema = (3, n0, _DI, 0) + +SENSITIVE_JSON: StaticSchema = (13, n0, _SJ, 4) + +DATASET_EXAMPLE_LIST: StaticSchema = (16, n0, _DEL, 0, (_mem,), ((SENSITIVE_JSON, 0),)) + +INLINE_EXAMPLES_SOURCE: StaticSchema = ( + 18, + n0, + _IES, + 0, + (_ex,), + ((DATASET_EXAMPLE_LIST, 1),), +) + +S3_URI: StaticSchema = (3, n0, _SU, 0) + +S3_SOURCE: StaticSchema = (18, n0, _SS, 0, (_sU,), ((S3_URI, 1),)) + +DATA_SOURCE_TYPE: StaticSchema = ( + 19, + n0, + _DST, + 0, + (_iE, _sS), + ((INLINE_EXAMPLES_SOURCE, 0), (S3_SOURCE, 0)), +) + +ADD_DATASET_EXAMPLES_INPUT: StaticSchema = ( + 18, + n0, + _ADEI, + {_sSI: _cADER, _smith: None}, + (_dI, _cT, _so), + ((DATASET_ID, 9), (CLIENT_TOKEN, 2), (DATA_SOURCE_TYPE, 1)), +) + +ADD_DATASET_EXAMPLES_OUTPUT: StaticSchema = ( + 18, + n0, + _ADEO, + {_sSI: _cADERo, _smithy: None}, + (_dA, _dI, _st, _aCd, _uA, _eI), + ( + (lambda: DATASET_ARN, 1), + (DATASET_ID, 1), + (lambda: DATASET_STATUS, 1), + (8, 1), + (4, 1), + (lambda: EXAMPLE_ID_LIST, 1), + ), +) + +ADD_DATASET_EXAMPLES: StaticOperationSchema = ( + 23, + n0, + _ADEd, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/datasets/{datasetId}/examples/add", "code": 202} + ) + }, + ADD_DATASET_EXAMPLES_INPUT, + ADD_DATASET_EXAMPLES_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + lambda: CONFLICT_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +DATASET_ARN: StaticSchema = (3, n0, _DA, 0) + +EXAMPLE_ID: StaticSchema = (3, n0, _EI, 0) + +EXAMPLE_ID_LIST: StaticSchema = (16, n0, _EIL, 0, (_mem,), ((EXAMPLE_ID, 0),)) + +DATASET_STATUS: StaticSchema = ( + 14, + n0, + _DS, + 0, + (_CREATING, _UPDATING, _DELETING, _ACTIVE, _CF, _UF, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DF}), + ), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CEo, + {_s: _c, _sE: 409}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_s: _se, _sE: 500}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c, _sE: 404}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_s: _c, _sE: 402}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + {_s: _c, _sE: 429}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +VALIDATION_EXCEPTION_FIELD: StaticSchema = (18, n0, _VEF, 0, (_n, _m), ((3, 1), (3, 1))) + +VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( + 16, + n0, + _VEFL, + 0, + (_mem,), + ((VALIDATION_EXCEPTION_FIELD, 0),), +) + +VALIDATION_EXCEPTION_REASON: StaticSchema = ( + 14, + n0, + _VER, + 0, + (_CP, _FVF, _IPME, _REIOS, _RC), + ( + (-1, {_sVm: _CPa}), + (-1, {_sVm: _FVFi}), + (-1, {_sVm: _IPMEd}), + (-1, {_sVm: _EIOS}), + (-1, {_sVm: _RCe}), + ), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_s: _c, _sE: 400}, + (_m, _r, _fL), + ((3, 1), (VALIDATION_EXCEPTION_REASON, 1), (VALIDATION_EXCEPTION_FIELD_LIST, 0)), +) + +ADDITIONAL_CLAIM_NAME: StaticSchema = (3, n0, _ACN, 0) + +ADDITIONAL_CLAIM_VALUE: StaticSchema = (3, n0, _ACV, 4) + +ADDITIONAL_CLAIMS: StaticSchema = ( + 17, + n0, + _AC, + 0, + (_k, _v), + ((ADDITIONAL_CLAIM_NAME, 0), (ADDITIONAL_CLAIM_VALUE, 0)), +) + +ADDITIONAL_MODEL_REQUEST_FIELDS: StaticSchema = (13, n0, _AMRF, 0) + +ALLOWED_SCOPE_TYPE: StaticSchema = (3, n0, _AST, 0) + +ADVERTISED_SCOPE_MAPPING_TYPE: StaticSchema = ( + 17, + n0, + _ASMT, + 0, + (_k, _v), + ((ALLOWED_SCOPE_TYPE, 0), (ALLOWED_SCOPE_TYPE, 0)), +) + +AGENT_ENDPOINT_DESCRIPTION: StaticSchema = (3, n0, _AED, 0) + +AGENT_RUNTIME_ID: StaticSchema = (3, n0, _ARI, 0) + +AGENT_RUNTIME_VERSION: StaticSchema = (3, n0, _ARV, 0) + +ENDPOINT_NAME: StaticSchema = (3, n0, _EN, 4) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAGS_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) + +CREATE_AGENT_RUNTIME_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CAREI, + {_sSI: _cCARER, _smith: None}, + (_aRI, _n, _aRV, _d, _cT, _t), + ( + (AGENT_RUNTIME_ID, 9), + (ENDPOINT_NAME, 1), + (AGENT_RUNTIME_VERSION, 0), + (AGENT_ENDPOINT_DESCRIPTION, 0), + (CLIENT_TOKEN, 2), + (TAGS_MAP, 0), + ), +) + +CREATE_AGENT_RUNTIME_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CAREO, + {_sSI: _cCARERo, _smithy: None}, + (_tV, _aREA, _aRA, _aRI, _eN, _st, _cA), + ( + (AGENT_RUNTIME_VERSION, 1), + (lambda: AGENT_RUNTIME_ENDPOINT_ARN, 1), + (lambda: AGENT_RUNTIME_ARN, 1), + (AGENT_RUNTIME_ID, 0), + (ENDPOINT_NAME, 0), + (lambda: AGENT_RUNTIME_ENDPOINT_STATUS, 1), + (lambda: DATE_TIMESTAMP, 1), + ), +) + +CREATE_AGENT_RUNTIME_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CARE, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "PUT", + "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/", + } + ) + }, + CREATE_AGENT_RUNTIME_ENDPOINT_INPUT, + CREATE_AGENT_RUNTIME_ENDPOINT_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +AGENT_RUNTIME_ARN: StaticSchema = (3, n0, _ARA, 0) + +AGENT_RUNTIME_ENDPOINT_ARN: StaticSchema = (3, n0, _AREA, 0) + +DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) + +AGENT_RUNTIME_ENDPOINT_STATUS: StaticSchema = ( + 14, + n0, + _ARES, + 0, + (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + ), +) + +DELETE_AGENT_RUNTIME_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DAREI, + {_sSI: _cDARER, _smith: None}, + (_aRI, _eN, _cT), + ((AGENT_RUNTIME_ID, 9), (ENDPOINT_NAME, 9), (CLIENT_TOKEN, {_sQ: _cT, _sT: None})), +) + +DELETE_AGENT_RUNTIME_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DAREO, + {_sSI: _cDARERo, _smithy: None}, + (_st, _aRI, _eN), + ((AGENT_RUNTIME_ENDPOINT_STATUS, 1), (AGENT_RUNTIME_ID, 0), (ENDPOINT_NAME, 0)), +) + +DELETE_AGENT_RUNTIME_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DARE, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", + } + ) + }, + DELETE_AGENT_RUNTIME_ENDPOINT_INPUT, + DELETE_AGENT_RUNTIME_ENDPOINT_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + ), +) + +GET_AGENT_RUNTIME_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _GAREI, + {_sSI: _cGARER, _smith: None}, + (_aRI, _eN), + ((AGENT_RUNTIME_ID, 9), (ENDPOINT_NAME, 9)), +) + +GET_AGENT_RUNTIME_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _GAREO, + {_sSI: _cGARERo, _smithy: None}, + (_lV, _tV, _aREA, _aRA, _d, _st, _cA, _lUA, _fR, _n, _i), + ( + (AGENT_RUNTIME_VERSION, 0), + (AGENT_RUNTIME_VERSION, 0), + (AGENT_RUNTIME_ENDPOINT_ARN, 1), + (AGENT_RUNTIME_ARN, 1), + (AGENT_ENDPOINT_DESCRIPTION, 0), + (AGENT_RUNTIME_ENDPOINT_STATUS, 1), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 1), + (3, 0), + (ENDPOINT_NAME, 1), + (lambda: AGENT_RUNTIME_ENDPOINT_ID, 1), + ), +) + +GET_AGENT_RUNTIME_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _GARE, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", + } + ) + }, + GET_AGENT_RUNTIME_ENDPOINT_INPUT, + GET_AGENT_RUNTIME_ENDPOINT_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +AGENT_RUNTIME_ENDPOINT_ID: StaticSchema = (3, n0, _AREI, 0) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +LIST_AGENT_RUNTIME_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _LAREI, + {_sSI: _cLARER, _smith: None}, + (_aRI, _mR, _nT), + ((AGENT_RUNTIME_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT})), +) + +LIST_AGENT_RUNTIME_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAREO, + {_sSI: _cLARERo, _smithy: None}, + (_rE, _nT), + ((lambda: AGENT_RUNTIME_ENDPOINTS, 1), (NEXT_TOKEN, 0)), +) + +LIST_AGENT_RUNTIME_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _LARE, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/", + } + ) + }, + LIST_AGENT_RUNTIME_ENDPOINTS_INPUT, + LIST_AGENT_RUNTIME_ENDPOINTS_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +AGENT_RUNTIME_ENDPOINT: StaticSchema = ( + 18, + n0, + _ARE, + 0, + (_n, _lV, _tV, _aREA, _aRA, _st, _i, _d, _cA, _lUA), + ( + (ENDPOINT_NAME, 1), + (AGENT_RUNTIME_VERSION, 0), + (AGENT_RUNTIME_VERSION, 0), + (AGENT_RUNTIME_ENDPOINT_ARN, 1), + (AGENT_RUNTIME_ARN, 1), + (AGENT_RUNTIME_ENDPOINT_STATUS, 1), + (AGENT_RUNTIME_ENDPOINT_ID, 1), + (AGENT_ENDPOINT_DESCRIPTION, 0), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 1), + ), +) + +AGENT_RUNTIME_ENDPOINTS: StaticSchema = ( + 16, + n0, + _AREg, + 0, + (_mem,), + ((AGENT_RUNTIME_ENDPOINT, 0),), +) + +UPDATE_AGENT_RUNTIME_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _UAREI, + {_sSI: _cUARER, _smith: None}, + (_aRI, _eN, _aRV, _d, _cT), + ( + (AGENT_RUNTIME_ID, 9), + (ENDPOINT_NAME, 9), + (AGENT_RUNTIME_VERSION, 0), + (AGENT_ENDPOINT_DESCRIPTION, 0), + (CLIENT_TOKEN, 2), + ), +) + +UPDATE_AGENT_RUNTIME_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _UAREO, + {_sSI: _cUARERo, _smithy: None}, + (_lV, _tV, _aREA, _aRA, _st, _cA, _lUA), + ( + (AGENT_RUNTIME_VERSION, 0), + (AGENT_RUNTIME_VERSION, 0), + (AGENT_RUNTIME_ENDPOINT_ARN, 1), + (AGENT_RUNTIME_ARN, 1), + (AGENT_RUNTIME_ENDPOINT_STATUS, 1), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 1), + ), +) + +UPDATE_AGENT_RUNTIME_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _UARE, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "PUT", + "uri": "/runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", + } + ) + }, + UPDATE_AGENT_RUNTIME_ENDPOINT_INPUT, + UPDATE_AGENT_RUNTIME_ENDPOINT_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +AGENT_MANAGED_RUNTIME_TYPE: StaticSchema = ( + 14, + n0, + _AMRT, + 0, + (_P, _P_, _P__, _P___, _P____, _N), + ( + (-1, {_sVm: _P}), + (-1, {_sVm: _P_}), + (-1, {_sVm: _P__}), + (-1, {_sVm: _P___}), + (-1, {_sVm: _P____}), + (-1, {_sVm: _N}), + ), +) + +S3_LOCATION: StaticSchema = (18, n0, _SL, 0, (_b, _p, _vI), ((3, 1), (3, 1), (3, 0))) + +CODE: StaticSchema = (19, n0, _C, 0, (_s_,), ((S3_LOCATION, 0),)) + +ENTRY_POINT: StaticSchema = (3, n0, _eP, 0) + +ENTRY_POINTS: StaticSchema = (16, n0, _EP, 0, (_mem,), ((ENTRY_POINT, 0),)) + +CODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CC, + 0, + (_co, _ru, _eP), + ((CODE, 1), (AGENT_MANAGED_RUNTIME_TYPE, 1), (ENTRY_POINTS, 1)), +) + +RUNTIME_CONTAINER_URI: StaticSchema = (3, n0, _RCU, 0) + +CONTAINER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CCo, + 0, + (_cU,), + ((RUNTIME_CONTAINER_URI, 1),), +) + +AGENT_RUNTIME_ARTIFACT: StaticSchema = ( + 19, + n0, + _ARAg, + 0, + (_cC, _cCo), + ((CONTAINER_CONFIGURATION, 0), (CODE_CONFIGURATION, 0)), +) + +AGENT_RUNTIME_NAME: StaticSchema = (3, n0, _ARN, 0) + +PORT: StaticSchema = (7, n0, _Po, 0) + +PORT_RANGE: StaticSchema = (18, n0, _PR, 0, (_fr, _to), ((PORT, 1), (PORT, 1))) + +ALLOWED_PORT: StaticSchema = (19, n0, _AP, 0, (_po, _pR), ((PORT, 0), (PORT_RANGE, 0))) + +ALLOWED_PORTS: StaticSchema = (16, n0, _APl, 0, (_mem,), ((ALLOWED_PORT, 0),)) + +ALLOWED_AUDIENCE: StaticSchema = (3, n0, _AA, 0) + +ALLOWED_AUDIENCE_LIST: StaticSchema = ( + 16, + n0, + _AAL, + 0, + (_mem,), + ((ALLOWED_AUDIENCE, 0),), +) + +ALLOWED_CLIENT: StaticSchema = (3, n0, _ACl, 0) + +ALLOWED_CLIENTS_LIST: StaticSchema = (16, n0, _ACL, 0, (_mem,), ((ALLOWED_CLIENT, 0),)) + +ALLOWED_SCOPES_TYPE: StaticSchema = ( + 16, + n0, + _ASTl, + 0, + (_mem,), + ((ALLOWED_SCOPE_TYPE, 0),), +) + +BEDROCK_AGENTCORE_RESOURCE_ARN: StaticSchema = (3, n0, _BARA, 0) + +HOSTING_ENVIRONMENT: StaticSchema = ( + 18, + n0, + _HE, + 0, + (_a,), + ((BEDROCK_AGENTCORE_RESOURCE_ARN, 1),), +) + +HOSTING_ENVIRONMENT_LIST_TYPE: StaticSchema = ( + 16, + n0, + _HELT, + 0, + (_mem,), + ((HOSTING_ENVIRONMENT, 0),), +) + +WORKLOAD_IDENTITY_NAME_TYPE: StaticSchema = (3, n0, _WINT, 0) + +WORKLOAD_IDENTITY_NAME_LIST_TYPE: StaticSchema = ( + 16, + n0, + _WINLT, + 0, + (_mem,), + ((WORKLOAD_IDENTITY_NAME_TYPE, 0),), +) + +ALLOWED_WORKLOAD_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AWC, + 0, + (_hE, _wI), + ((HOSTING_ENVIRONMENT_LIST_TYPE, 0), (WORKLOAD_IDENTITY_NAME_LIST_TYPE, 0)), +) + +CERTIFICATE_BUCKET_OWNER_ACCOUNT_ID: StaticSchema = (3, n0, _CBOAI, 0) + +CERTIFICATE_S3_URI: StaticSchema = (3, n0, _CSU, 0) + +S3_CERTIFICATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCC, + 0, + (_u, _bOAI), + ((CERTIFICATE_S3_URI, 1), (CERTIFICATE_BUCKET_OWNER_ACCOUNT_ID, 0)), +) + +CERTIFICATE_SECRET_ARN: StaticSchema = (3, n0, _CSA, 0) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_1.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_1.py new file mode 100644 index 000000000..8584f2cf3 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_1.py @@ -0,0 +1,1232 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_sV = "schemaVersion" +_iC = "inlineContent" +_sm = "smithy.api#required" +_k = "key" +_v = "value" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smit = "smithy.api#sensitive" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_DF = "DELETE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_smithya = "smithy.api#http" +_aRI = "agentRuntimeId" +_aRV = "agentRuntimeVersion" +_t = "tags" +_READY = "READY" +_aRA = "agentRuntimeArn" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_lUA = "lastUpdatedAt" +_fR = "failureReason" +_mR = "maxResults" +_nT = "nextToken" +_s_ = "s3" +_po = "port" +_SMCC = "SecretsManagerCertificateConfiguration" +_sA = "secretArn" +_CCe = "CertificateConfiguration" +_sM = "secretsManager" +_CCL = "CertificateConfigurationList" +_CMOT = "ClaimMatchOperatorType" +_EQUALS = "EQUALS" +_CONTAINS = "CONTAINS" +_CA = "CONTAINS_ANY" +_MVS = "MatchValueString" +_MVSL = "MatchValueStringList" +_CMVT = "ClaimMatchValueType" +_mVS = "matchValueString" +_mVSL = "matchValueStringList" +_ACMVT = "AuthorizingClaimMatchValueType" +_cMV = "claimMatchValue" +_cMO = "claimMatchOperator" +_ITCNT = "InboundTokenClaimNameType" +_ITCVT = "InboundTokenClaimValueType" +_STRING = "STRING" +_SA = "STRING_ARRAY" +_CCVT = "CustomClaimValidationType" +_iTCN = "inboundTokenClaimName" +_iTCVT = "inboundTokenClaimValueType" +_aCMV = "authorizingClaimMatchValue" +_CCVTu = "CustomClaimValidationsType" +_DU = "DiscoveryUrl" +_EIAT = "EndpointIpAddressType" +_IPV = "IPV4" +_IPV_ = "IPV6" +_RD = "RoutingDomain" +_SGI = "SecurityGroupIdentifier" +_SGIe = "SecurityGroupIds" +_SI = "SubnetId" +_SIu = "SubnetIds" +_VI = "VpcIdentifier" +_MVR = "ManagedVpcResource" +_vIp = "vpcIdentifier" +_sI = "subnetIds" +_eIAT = "endpointIpAddressType" +_sGI = "securityGroupIds" +_rD = "routingDomain" +_RCI = "ResourceConfigurationIdentifier" +_SMLR = "SelfManagedLatticeResource" +_rCI = "resourceConfigurationIdentifier" +_PE = "PrivateEndpoint" +_sMLR = "selfManagedLatticeResource" +_mVR = "managedVpcResource" +_PEOD = "PrivateEndpointOverrideDomain" +_PEO = "PrivateEndpointOverride" +_do = "domain" +_pE = "privateEndpoint" +_PEOr = "PrivateEndpointOverrides" +_CJWTAC = "CustomJWTAuthorizerConfiguration" +_dU = "discoveryUrl" +_aA = "allowedAudience" +_aCl = "allowedClients" +_aS = "allowedScopes" +_aSM = "advertisedScopeMapping" +_cCu = "customClaims" +_pEO = "privateEndpointOverrides" +_cCe = "certificateConfigurations" +_aWC = "allowedWorkloadConfiguration" +_ACu = "AuthorizerConfiguration" +_cJWTA = "customJWTAuthorizer" +_CPA = "CapacityProviderArn" +_CPC = "CapacityProviderConfiguration" +_cPA = "capacityProviderArn" +_D = "Description" +_EVK = "EnvironmentVariableKey" +_EVV = "EnvironmentVariableValue" +_EVM = "EnvironmentVariablesMap" +_MP = "MountPath" +_CPVN = "CapacityProviderVolumeName" +_CPVC = "CapacityProviderVolumeConfiguration" +_vN = "volumeName" +_mP = "mountPath" +_EAPA = "EfsAccessPointArn" +_EAPC = "EfsAccessPointConfiguration" +_aPA = "accessPointArn" +_SFAPA = "S3FilesAccessPointArn" +_SFAPC = "S3FilesAccessPointConfiguration" +_SSC = "SessionStorageConfiguration" +_FC = "FilesystemConfiguration" +_sSe = "sessionStorage" +_sFAP = "s3FilesAccessPoint" +_eAP = "efsAccessPoint" +_cPV = "capacityProviderVolume" +_FCi = "FilesystemConfigurations" +_LHP = "LifecycleHookPath" +_SP = "ServerPort" +_HPLHA = "HttpPostLifecycleHookAction" +_pa = "path" +_LHA = "LifecycleHookAction" +_hP = "httpPost" +_LH = "LifecycleHook" +_ac = "action" +_BLH = "BuildLifecycleHooks" +_wa = "warmup" +_RHC = "RuntimeHooksConfiguration" +_bu = "build" +_LC = "LifecycleConfiguration" +_iRST = "idleRuntimeSessionTimeout" +_mL = "maxLifetime" +_NM = "NetworkMode" +_PUBLIC = "PUBLIC" +_VPC = "VPC" +_SGIec = "SecurityGroupId" +_SG = "SecurityGroups" +_S = "Subnets" +_VC = "VpcConfig" +_sG = "securityGroups" +_su = "subnets" +_rSSE = "requireServiceS3Endpoint" +_NC = "NetworkConfiguration" +_nM = "networkMode" +_nMC = "networkModeConfig" +_PV = "PlatformVersion" +_SPe = "ServerPath" +_SPer = "ServerProtocol" +_MCP = "MCP" +_HTTP = "HTTP" +_AA_ = "A2A" +_AGUI = "AGUI" +_PC = "ProtocolConfiguration" +_sP = "serverProtocol" +_HN = "HeaderName" +_RHA = "RequestHeaderAllowlist" +_RHCe = "RequestHeaderConfiguration" +_rHA = "requestHeaderAllowlist" +_RCes = "ResourceConfiguration" +_mMIMB = "minimumMemoryInMiB" +_RCeso = "ResourceConfigurations" +_RA = "RoleArn" +_CARI = "CreateAgentRuntimeInput" +_cCARR = "com.amazonaws.bedrockagentcorecontrol#CreateAgentRuntimeRequest" +_aRN = "agentRuntimeName" +_aRAg = "agentRuntimeArtifact" +_rA = "roleArn" +_nC = "networkConfiguration" +_aCu = "authorizerConfiguration" +_rHC = "requestHeaderConfiguration" +_pC = "protocolConfiguration" +_lC = "lifecycleConfiguration" +_hC = "hooksConfiguration" +_eV = "environmentVariables" +_fC = "filesystemConfigurations" +_cPC = "capacityProviderConfiguration" +_pV = "platformVersion" +_aP = "allowedPorts" +_rC = "resourceConfigurations" +_ARS = "AgentRuntimeStatus" +_WIA = "WorkloadIdentityArn" +_WID = "WorkloadIdentityDetails" +_wIA = "workloadIdentityArn" +_CARO = "CreateAgentRuntimeOutput" +_cCARRo = "com.amazonaws.bedrockagentcorecontrol#CreateAgentRuntimeResponse" +_wID = "workloadIdentityDetails" +_CAR = "CreateAgentRuntime" +_DARI = "DeleteAgentRuntimeInput" +_cDARR = "com.amazonaws.bedrockagentcorecontrol#DeleteAgentRuntimeRequest" +_ve = "version" +_DARO = "DeleteAgentRuntimeOutput" +_cDARRo = "com.amazonaws.bedrockagentcorecontrol#DeleteAgentRuntimeResponse" +_DAR = "DeleteAgentRuntime" +_GARI = "GetAgentRuntimeInput" +_cGARR = "com.amazonaws.bedrockagentcorecontrol#GetAgentRuntimeRequest" +_RMC = "RuntimeMetadataConfiguration" +_rMMDSV = "requireMMDSV2" +_GARO = "GetAgentRuntimeOutput" +_cGARRo = "com.amazonaws.bedrockagentcorecontrol#GetAgentRuntimeResponse" +_mC = "metadataConfiguration" +_GAR = "GetAgentRuntime" +_LARI = "ListAgentRuntimesInput" +_cLARR = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimesRequest" +_AR = "AgentRuntime" +_ARg = "AgentRuntimes" +_LARO = "ListAgentRuntimesOutput" +_cLARRo = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimesResponse" +_aR = "agentRuntimes" +_LAR = "ListAgentRuntimes" +_LARVI = "ListAgentRuntimeVersionsInput" +_cLARVR = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimeVersionsRequest" +_LARVO = "ListAgentRuntimeVersionsOutput" +_cLARVRo = "com.amazonaws.bedrockagentcorecontrol#ListAgentRuntimeVersionsResponse" +_LARV = "ListAgentRuntimeVersions" +_UARI = "UpdateAgentRuntimeInput" +_cUARR = "com.amazonaws.bedrockagentcorecontrol#UpdateAgentRuntimeRequest" +_UARO = "UpdateAgentRuntimeOutput" +_cUARRo = "com.amazonaws.bedrockagentcorecontrol#UpdateAgentRuntimeResponse" +_UAR = "UpdateAgentRuntime" +_ARVS = "AgentRuntimeVersionSummary" +_ARVSL = "AgentRuntimeVersionSummaryList" +_SD = "SkillDefinition" +_SMD = "SkillMdDefinition" +_ASD = "AgentSkillsDescriptor" +_sMk = "skillMd" +_sD = "skillDefinition" +_HQPN = "HttpQueryParameterName" +_AQP = "AllowedQueryParameters" +_HHN = "HttpHeaderName" +_ARH = "AllowedRequestHeaders" +_ARHl = "AllowedResponseHeaders" +_ASLV = "AllowedStringListValue" +_ASLVL = "AllowedStringListValuesList" +_ASV = "AllowedStringValue" +_ASVL = "AllowedStringValuesList" +_UD = "UpdatedDescription" +_oV = "optionalValue" +_UAC = "UpdatedAuthorizerConfiguration" + +SECRETS_MANAGER_CERTIFICATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SMCC, + 0, + (_sA,), + ((lambda: schemas.CERTIFICATE_SECRET_ARN, 1),), +) + +CERTIFICATE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _CCe, + 0, + (_s_, _sM), + ( + (lambda: schemas.S3_CERTIFICATE_CONFIGURATION, 0), + (SECRETS_MANAGER_CERTIFICATE_CONFIGURATION, 0), + ), +) + +CERTIFICATE_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _CCL, + 0, + (_mem,), + ((CERTIFICATE_CONFIGURATION, 0),), +) + +CLAIM_MATCH_OPERATOR_TYPE: StaticSchema = ( + 14, + n0, + _CMOT, + 0, + (_EQUALS, _CONTAINS, _CA), + ((-1, {_sVm: _EQUALS}), (-1, {_sVm: _CONTAINS}), (-1, {_sVm: _CA})), +) + +MATCH_VALUE_STRING: StaticSchema = (3, n0, _MVS, 0) + +MATCH_VALUE_STRING_LIST: StaticSchema = ( + 16, + n0, + _MVSL, + 0, + (_mem,), + ((MATCH_VALUE_STRING, 0),), +) + +CLAIM_MATCH_VALUE_TYPE: StaticSchema = ( + 19, + n0, + _CMVT, + 0, + (_mVS, _mVSL), + ((MATCH_VALUE_STRING, 0), (MATCH_VALUE_STRING_LIST, 0)), +) + +AUTHORIZING_CLAIM_MATCH_VALUE_TYPE: StaticSchema = ( + 18, + n0, + _ACMVT, + 0, + (_cMV, _cMO), + ((CLAIM_MATCH_VALUE_TYPE, 1), (CLAIM_MATCH_OPERATOR_TYPE, 1)), +) + +INBOUND_TOKEN_CLAIM_NAME_TYPE: StaticSchema = (3, n0, _ITCNT, 0) + +INBOUND_TOKEN_CLAIM_VALUE_TYPE: StaticSchema = ( + 14, + n0, + _ITCVT, + 0, + (_STRING, _SA), + ((-1, {_sVm: _STRING}), (-1, {_sVm: _SA})), +) + +CUSTOM_CLAIM_VALIDATION_TYPE: StaticSchema = ( + 18, + n0, + _CCVT, + 0, + (_iTCN, _iTCVT, _aCMV), + ( + (INBOUND_TOKEN_CLAIM_NAME_TYPE, 1), + (INBOUND_TOKEN_CLAIM_VALUE_TYPE, 1), + (AUTHORIZING_CLAIM_MATCH_VALUE_TYPE, 1), + ), +) + +CUSTOM_CLAIM_VALIDATIONS_TYPE: StaticSchema = ( + 16, + n0, + _CCVTu, + 0, + (_mem,), + ((CUSTOM_CLAIM_VALIDATION_TYPE, 0),), +) + +DISCOVERY_URL: StaticSchema = (3, n0, _DU, 0) + +ENDPOINT_IP_ADDRESS_TYPE: StaticSchema = ( + 14, + n0, + _EIAT, + 0, + (_IPV, _IPV_), + ((-1, {_sVm: _IPV}), (-1, {_sVm: _IPV_})), +) + +ROUTING_DOMAIN: StaticSchema = (3, n0, _RD, 0) + +SECURITY_GROUP_IDENTIFIER: StaticSchema = (3, n0, _SGI, 0) + +SECURITY_GROUP_IDS: StaticSchema = ( + 16, + n0, + _SGIe, + 0, + (_mem,), + ((SECURITY_GROUP_IDENTIFIER, 0),), +) + +SUBNET_ID: StaticSchema = (3, n0, _SI, 0) + +SUBNET_IDS: StaticSchema = (16, n0, _SIu, 0, (_mem,), ((SUBNET_ID, 0),)) + +VPC_IDENTIFIER: StaticSchema = (3, n0, _VI, 0) + +MANAGED_VPC_RESOURCE: StaticSchema = ( + 18, + n0, + _MVR, + 0, + (_vIp, _sI, _eIAT, _sGI, _t, _rD), + ( + (VPC_IDENTIFIER, 1), + (SUBNET_IDS, 1), + (ENDPOINT_IP_ADDRESS_TYPE, 1), + (SECURITY_GROUP_IDS, 0), + (lambda: schemas.TAGS_MAP, 0), + (ROUTING_DOMAIN, 0), + ), +) + +RESOURCE_CONFIGURATION_IDENTIFIER: StaticSchema = (3, n0, _RCI, 0) + +SELF_MANAGED_LATTICE_RESOURCE: StaticSchema = ( + 19, + n0, + _SMLR, + 0, + (_rCI,), + ((RESOURCE_CONFIGURATION_IDENTIFIER, 0),), +) + +PRIVATE_ENDPOINT: StaticSchema = ( + 19, + n0, + _PE, + 0, + (_sMLR, _mVR), + ((SELF_MANAGED_LATTICE_RESOURCE, 0), (MANAGED_VPC_RESOURCE, 0)), +) + +PRIVATE_ENDPOINT_OVERRIDE_DOMAIN: StaticSchema = (3, n0, _PEOD, 0) + +PRIVATE_ENDPOINT_OVERRIDE: StaticSchema = ( + 18, + n0, + _PEO, + 0, + (_do, _pE), + ((PRIVATE_ENDPOINT_OVERRIDE_DOMAIN, 1), (PRIVATE_ENDPOINT, 1)), +) + +PRIVATE_ENDPOINT_OVERRIDES: StaticSchema = ( + 16, + n0, + _PEOr, + 0, + (_mem,), + ((PRIVATE_ENDPOINT_OVERRIDE, 0),), +) + +CUSTOM_JWT_AUTHORIZER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CJWTAC, + 0, + (_dU, _aA, _aCl, _aS, _aSM, _cCu, _pE, _pEO, _cCe, _aWC), + ( + (DISCOVERY_URL, 1), + (lambda: schemas.ALLOWED_AUDIENCE_LIST, 0), + (lambda: schemas.ALLOWED_CLIENTS_LIST, 0), + (lambda: schemas.ALLOWED_SCOPES_TYPE, 0), + (lambda: schemas.ADVERTISED_SCOPE_MAPPING_TYPE, 0), + (CUSTOM_CLAIM_VALIDATIONS_TYPE, 0), + (PRIVATE_ENDPOINT, 0), + (PRIVATE_ENDPOINT_OVERRIDES, 0), + (CERTIFICATE_CONFIGURATION_LIST, 0), + (lambda: schemas.ALLOWED_WORKLOAD_CONFIGURATION, 0), + ), +) + +AUTHORIZER_CONFIGURATION: StaticSchema = ( + 19, + n0, + _ACu, + 0, + (_cJWTA,), + ((CUSTOM_JWT_AUTHORIZER_CONFIGURATION, 0),), +) + +CAPACITY_PROVIDER_ARN: StaticSchema = (3, n0, _CPA, 0) + +CAPACITY_PROVIDER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CPC, + 0, + (_cPA,), + ((CAPACITY_PROVIDER_ARN, 1),), +) + +DESCRIPTION: StaticSchema = (3, n0, _D, 4) + +ENVIRONMENT_VARIABLE_KEY: StaticSchema = (3, n0, _EVK, 0) + +ENVIRONMENT_VARIABLE_VALUE: StaticSchema = (3, n0, _EVV, 0) + +ENVIRONMENT_VARIABLES_MAP: StaticSchema = ( + 17, + n0, + _EVM, + 4, + (_k, _v), + ((ENVIRONMENT_VARIABLE_KEY, 0), (ENVIRONMENT_VARIABLE_VALUE, 0)), +) + +MOUNT_PATH: StaticSchema = (3, n0, _MP, 0) + +CAPACITY_PROVIDER_VOLUME_NAME: StaticSchema = (3, n0, _CPVN, 0) + +CAPACITY_PROVIDER_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CPVC, + 0, + (_vN, _mP), + ((CAPACITY_PROVIDER_VOLUME_NAME, 1), (MOUNT_PATH, 1)), +) + +EFS_ACCESS_POINT_ARN: StaticSchema = (3, n0, _EAPA, 0) + +EFS_ACCESS_POINT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EAPC, + 0, + (_aPA, _mP), + ((EFS_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1)), +) + +S3_FILES_ACCESS_POINT_ARN: StaticSchema = (3, n0, _SFAPA, 0) + +S3_FILES_ACCESS_POINT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SFAPC, + 0, + (_aPA, _mP), + ((S3_FILES_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1)), +) + +SESSION_STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SSC, + 0, + (_mP,), + ((MOUNT_PATH, 1),), +) + +FILESYSTEM_CONFIGURATION: StaticSchema = ( + 19, + n0, + _FC, + 0, + (_sSe, _sFAP, _eAP, _cPV), + ( + (SESSION_STORAGE_CONFIGURATION, 0), + (S3_FILES_ACCESS_POINT_CONFIGURATION, 0), + (EFS_ACCESS_POINT_CONFIGURATION, 0), + (CAPACITY_PROVIDER_VOLUME_CONFIGURATION, 0), + ), +) + +FILESYSTEM_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _FCi, + 0, + (_mem,), + ((FILESYSTEM_CONFIGURATION, 0),), +) + +LIFECYCLE_HOOK_PATH: StaticSchema = (3, n0, _LHP, 0) + +SERVER_PORT: StaticSchema = (7, n0, _SP, 0) + +HTTP_POST_LIFECYCLE_HOOK_ACTION: StaticSchema = ( + 18, + n0, + _HPLHA, + 0, + (_pa, _po), + ((LIFECYCLE_HOOK_PATH, 1), (SERVER_PORT, 0)), +) + +LIFECYCLE_HOOK_ACTION: StaticSchema = ( + 19, + n0, + _LHA, + 0, + (_hP,), + ((HTTP_POST_LIFECYCLE_HOOK_ACTION, 0),), +) + +LIFECYCLE_HOOK: StaticSchema = (18, n0, _LH, 0, (_ac,), ((LIFECYCLE_HOOK_ACTION, 1),)) + +BUILD_LIFECYCLE_HOOKS: StaticSchema = (18, n0, _BLH, 0, (_wa,), ((LIFECYCLE_HOOK, 0),)) + +RUNTIME_HOOKS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RHC, + 0, + (_bu,), + ((BUILD_LIFECYCLE_HOOKS, 0),), +) + +LIFECYCLE_CONFIGURATION: StaticSchema = (18, n0, _LC, 0, (_iRST, _mL), ((7, 0), (7, 0))) + +NETWORK_MODE: StaticSchema = ( + 14, + n0, + _NM, + 0, + (_PUBLIC, _VPC), + ((-1, {_sVm: _PUBLIC}), (-1, {_sVm: _VPC})), +) + +SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGIec, 0) + +SECURITY_GROUPS: StaticSchema = (16, n0, _SG, 0, (_mem,), ((SECURITY_GROUP_ID, 0),)) + +SUBNETS: StaticSchema = (16, n0, _S, 0, (_mem,), ((SUBNET_ID, 0),)) + +VPC_CONFIG: StaticSchema = ( + 18, + n0, + _VC, + 0, + (_sG, _su, _rSSE), + ((SECURITY_GROUPS, 1), (SUBNETS, 1), (2, 0)), +) + +NETWORK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _NC, + 0, + (_nM, _nMC), + ((NETWORK_MODE, 1), (VPC_CONFIG, 0)), +) + +PLATFORM_VERSION: StaticSchema = (3, n0, _PV, 0) + +SERVER_PATH: StaticSchema = (3, n0, _SPe, 0) + +SERVER_PROTOCOL: StaticSchema = ( + 14, + n0, + _SPer, + 0, + (_MCP, _HTTP, _AA_, _AGUI), + ((-1, {_sVm: _MCP}), (-1, {_sVm: _HTTP}), (-1, {_sVm: _AA_}), (-1, {_sVm: _AGUI})), +) + +PROTOCOL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PC, + 0, + (_sP, _po, _pa), + ((SERVER_PROTOCOL, 1), (SERVER_PORT, 0), (SERVER_PATH, 0)), +) + +HEADER_NAME: StaticSchema = (3, n0, _HN, 0) + +REQUEST_HEADER_ALLOWLIST: StaticSchema = (16, n0, _RHA, 0, (_mem,), ((HEADER_NAME, 0),)) + +REQUEST_HEADER_CONFIGURATION: StaticSchema = ( + 19, + n0, + _RHCe, + 0, + (_rHA,), + ((REQUEST_HEADER_ALLOWLIST, 0),), +) + +RESOURCE_CONFIGURATION: StaticSchema = (18, n0, _RCes, 0, (_mMIMB,), ((7, 1),)) + +RESOURCE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _RCeso, + 0, + (_mem,), + ((RESOURCE_CONFIGURATION, 0),), +) + +ROLE_ARN: StaticSchema = (3, n0, _RA, 0) + +CREATE_AGENT_RUNTIME_INPUT: StaticSchema = ( + 18, + n0, + _CARI, + {_sSI: _cCARR, _smith: None}, + ( + _aRN, + _aRAg, + _rA, + _nC, + _cT, + _d, + _aCu, + _rHC, + _pC, + _lC, + _hC, + _eV, + _fC, + _cPC, + _t, + _pV, + _aP, + _rC, + ), + ( + (lambda: schemas.AGENT_RUNTIME_NAME, 1), + (lambda: schemas.AGENT_RUNTIME_ARTIFACT, 1), + (ROLE_ARN, 1), + (NETWORK_CONFIGURATION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (DESCRIPTION, 0), + (AUTHORIZER_CONFIGURATION, 0), + (REQUEST_HEADER_CONFIGURATION, 0), + (PROTOCOL_CONFIGURATION, 0), + (LIFECYCLE_CONFIGURATION, 0), + (RUNTIME_HOOKS_CONFIGURATION, 0), + (ENVIRONMENT_VARIABLES_MAP, 0), + (FILESYSTEM_CONFIGURATIONS, 0), + (CAPACITY_PROVIDER_CONFIGURATION, 0), + (lambda: schemas.TAGS_MAP, 0), + (PLATFORM_VERSION, 0), + (lambda: schemas.ALLOWED_PORTS, 0), + (RESOURCE_CONFIGURATIONS, 0), + ), +) + +CREATE_AGENT_RUNTIME_OUTPUT: StaticSchema = ( + 18, + n0, + _CARO, + {_sSI: _cCARRo, _smithy: None}, + (_aRA, _wID, _aRI, _aRV, _cA, _st), + ( + (lambda: schemas.AGENT_RUNTIME_ARN, 1), + (lambda: WORKLOAD_IDENTITY_DETAILS, 0), + (lambda: schemas.AGENT_RUNTIME_ID, 1), + (lambda: schemas.AGENT_RUNTIME_VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: AGENT_RUNTIME_STATUS, 1), + ), +) + +CREATE_AGENT_RUNTIME: StaticOperationSchema = ( + 23, + n0, + _CAR, + {_smithya: MappingProxyType({"code": 202, "method": "PUT", "uri": "/runtimes/"})}, + CREATE_AGENT_RUNTIME_INPUT, + CREATE_AGENT_RUNTIME_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AGENT_RUNTIME_STATUS: StaticSchema = ( + 14, + n0, + _ARS, + 0, + (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + ), +) + +WORKLOAD_IDENTITY_ARN: StaticSchema = (3, n0, _WIA, 0) + +WORKLOAD_IDENTITY_DETAILS: StaticSchema = ( + 18, + n0, + _WID, + 0, + (_wIA,), + ((WORKLOAD_IDENTITY_ARN, 1),), +) + +DELETE_AGENT_RUNTIME_INPUT: StaticSchema = ( + 18, + n0, + _DARI, + {_sSI: _cDARR, _smith: None}, + (_aRI, _aRV, _cT), + ( + (lambda: schemas.AGENT_RUNTIME_ID, 9), + (lambda: schemas.AGENT_RUNTIME_VERSION, {_sQ: _ve}), + (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None}), + ), +) + +DELETE_AGENT_RUNTIME_OUTPUT: StaticSchema = ( + 18, + n0, + _DARO, + {_sSI: _cDARRo, _smithy: None}, + (_st, _aRI, _aRV), + ( + (AGENT_RUNTIME_STATUS, 1), + (lambda: schemas.AGENT_RUNTIME_ID, 0), + (lambda: schemas.AGENT_RUNTIME_VERSION, 0), + ), +) + +DELETE_AGENT_RUNTIME: StaticOperationSchema = ( + 23, + n0, + _DAR, + { + _smithya: MappingProxyType( + {"code": 202, "method": "DELETE", "uri": "/runtimes/{agentRuntimeId}/"} + ) + }, + DELETE_AGENT_RUNTIME_INPUT, + DELETE_AGENT_RUNTIME_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +GET_AGENT_RUNTIME_INPUT: StaticSchema = ( + 18, + n0, + _GARI, + {_sSI: _cGARR, _smith: None}, + (_aRI, _aRV), + ( + (lambda: schemas.AGENT_RUNTIME_ID, 9), + (lambda: schemas.AGENT_RUNTIME_VERSION, {_sQ: _ve}), + ), +) + +GET_AGENT_RUNTIME_OUTPUT: StaticSchema = ( + 18, + n0, + _GARO, + {_sSI: _cGARRo, _smithy: None}, + ( + _aRA, + _aRN, + _aRI, + _aRV, + _cA, + _lUA, + _rA, + _nC, + _st, + _lC, + _hC, + _fR, + _d, + _wID, + _aRAg, + _pC, + _eV, + _aCu, + _rHC, + _mC, + _fC, + _cPC, + _pV, + _aP, + _rC, + ), + ( + (lambda: schemas.AGENT_RUNTIME_ARN, 1), + (lambda: schemas.AGENT_RUNTIME_NAME, 1), + (lambda: schemas.AGENT_RUNTIME_ID, 1), + (lambda: schemas.AGENT_RUNTIME_VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (ROLE_ARN, 1), + (NETWORK_CONFIGURATION, 0), + (AGENT_RUNTIME_STATUS, 1), + (LIFECYCLE_CONFIGURATION, 1), + (RUNTIME_HOOKS_CONFIGURATION, 0), + (3, 0), + (DESCRIPTION, 0), + (WORKLOAD_IDENTITY_DETAILS, 0), + (lambda: schemas.AGENT_RUNTIME_ARTIFACT, 0), + (PROTOCOL_CONFIGURATION, 0), + (ENVIRONMENT_VARIABLES_MAP, 0), + (AUTHORIZER_CONFIGURATION, 0), + (REQUEST_HEADER_CONFIGURATION, 0), + (lambda: RUNTIME_METADATA_CONFIGURATION, 0), + (FILESYSTEM_CONFIGURATIONS, 0), + (CAPACITY_PROVIDER_CONFIGURATION, 0), + (PLATFORM_VERSION, 0), + (lambda: schemas.ALLOWED_PORTS, 0), + (RESOURCE_CONFIGURATIONS, 0), + ), +) + +GET_AGENT_RUNTIME: StaticOperationSchema = ( + 23, + n0, + _GAR, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/runtimes/{agentRuntimeId}/"} + ) + }, + GET_AGENT_RUNTIME_INPUT, + GET_AGENT_RUNTIME_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RUNTIME_METADATA_CONFIGURATION: StaticSchema = (18, n0, _RMC, 0, (_rMMDSV,), ((2, 1),)) + +LIST_AGENT_RUNTIMES_INPUT: StaticSchema = ( + 18, + n0, + _LARI, + {_sSI: _cLARR, _smith: None}, + (_mR, _nT), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_AGENT_RUNTIMES_OUTPUT: StaticSchema = ( + 18, + n0, + _LARO, + {_sSI: _cLARRo, _smithy: None}, + (_aR, _nT), + ((lambda: AGENT_RUNTIMES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_AGENT_RUNTIMES: StaticOperationSchema = ( + 23, + n0, + _LAR, + {_smithya: MappingProxyType({"code": 200, "method": "POST", "uri": "/runtimes/"})}, + LIST_AGENT_RUNTIMES_INPUT, + LIST_AGENT_RUNTIMES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AGENT_RUNTIME: StaticSchema = ( + 18, + n0, + _AR, + 0, + (_aRA, _aRI, _aRV, _aRN, _d, _lUA, _st), + ( + (lambda: schemas.AGENT_RUNTIME_ARN, 1), + (lambda: schemas.AGENT_RUNTIME_ID, 1), + (lambda: schemas.AGENT_RUNTIME_VERSION, 1), + (lambda: schemas.AGENT_RUNTIME_NAME, 1), + (DESCRIPTION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (AGENT_RUNTIME_STATUS, 1), + ), +) + +AGENT_RUNTIMES: StaticSchema = (16, n0, _ARg, 0, (_mem,), ((AGENT_RUNTIME, 0),)) + +LIST_AGENT_RUNTIME_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LARVI, + {_sSI: _cLARVR, _smith: None}, + (_aRI, _mR, _nT), + ( + (lambda: schemas.AGENT_RUNTIME_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_AGENT_RUNTIME_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LARVO, + {_sSI: _cLARVRo, _smithy: None}, + (_aR, _nT), + ((AGENT_RUNTIMES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_AGENT_RUNTIME_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LARV, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/runtimes/{agentRuntimeId}/versions/", + } + ) + }, + LIST_AGENT_RUNTIME_VERSIONS_INPUT, + LIST_AGENT_RUNTIME_VERSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_AGENT_RUNTIME_INPUT: StaticSchema = ( + 18, + n0, + _UARI, + {_sSI: _cUARR, _smith: None}, + ( + _aRI, + _aRAg, + _rA, + _nC, + _d, + _aCu, + _rHC, + _pC, + _lC, + _hC, + _mC, + _eV, + _fC, + _cPC, + _pV, + _aP, + _rC, + _cT, + ), + ( + (lambda: schemas.AGENT_RUNTIME_ID, 9), + (lambda: schemas.AGENT_RUNTIME_ARTIFACT, 1), + (ROLE_ARN, 1), + (NETWORK_CONFIGURATION, 0), + (DESCRIPTION, 0), + (AUTHORIZER_CONFIGURATION, 0), + (REQUEST_HEADER_CONFIGURATION, 0), + (PROTOCOL_CONFIGURATION, 0), + (LIFECYCLE_CONFIGURATION, 0), + (RUNTIME_HOOKS_CONFIGURATION, 0), + (RUNTIME_METADATA_CONFIGURATION, 0), + (ENVIRONMENT_VARIABLES_MAP, 0), + (FILESYSTEM_CONFIGURATIONS, 0), + (CAPACITY_PROVIDER_CONFIGURATION, 0), + (PLATFORM_VERSION, 0), + (lambda: schemas.ALLOWED_PORTS, 0), + (RESOURCE_CONFIGURATIONS, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +UPDATE_AGENT_RUNTIME_OUTPUT: StaticSchema = ( + 18, + n0, + _UARO, + {_sSI: _cUARRo, _smithy: None}, + (_aRA, _aRI, _wID, _aRV, _cA, _lUA, _st), + ( + (lambda: schemas.AGENT_RUNTIME_ARN, 1), + (lambda: schemas.AGENT_RUNTIME_ID, 1), + (WORKLOAD_IDENTITY_DETAILS, 0), + (lambda: schemas.AGENT_RUNTIME_VERSION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (AGENT_RUNTIME_STATUS, 1), + ), +) + +UPDATE_AGENT_RUNTIME: StaticOperationSchema = ( + 23, + n0, + _UAR, + { + _smithya: MappingProxyType( + {"code": 202, "method": "PUT", "uri": "/runtimes/{agentRuntimeId}/"} + ) + }, + UPDATE_AGENT_RUNTIME_INPUT, + UPDATE_AGENT_RUNTIME_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AGENT_RUNTIME_VERSION_SUMMARY: StaticSchema = ( + 18, + n0, + _ARVS, + 0, + (_aRA, _aRV, _st), + ( + (lambda: schemas.AGENT_RUNTIME_ARN, 1), + (lambda: schemas.AGENT_RUNTIME_VERSION, 1), + (AGENT_RUNTIME_STATUS, 1), + ), +) + +AGENT_RUNTIME_VERSION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _ARVSL, + 0, + (_mem,), + ((AGENT_RUNTIME_VERSION_SUMMARY, 0),), +) + +SKILL_DEFINITION: StaticSchema = ( + 18, + n0, + _SD, + 0, + (_sV, _iC), + ((lambda: schemas.SCHEMA_VERSION, 0), (lambda: schemas.INLINE_CONTENT, 0)), +) + +SKILL_MD_DEFINITION: StaticSchema = ( + 18, + n0, + _SMD, + 0, + (_iC,), + ((lambda: schemas.INLINE_CONTENT, 0),), +) + +AGENT_SKILLS_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _ASD, + 0, + (_sMk, _sD), + ((SKILL_MD_DEFINITION, 0), (SKILL_DEFINITION, 0)), +) + +HTTP_QUERY_PARAMETER_NAME: StaticSchema = (3, n0, _HQPN, 0) + +ALLOWED_QUERY_PARAMETERS: StaticSchema = ( + 16, + n0, + _AQP, + 0, + (_mem,), + ((HTTP_QUERY_PARAMETER_NAME, 0),), +) + +HTTP_HEADER_NAME: StaticSchema = (3, n0, _HHN, 0) + +ALLOWED_REQUEST_HEADERS: StaticSchema = ( + 16, + n0, + _ARH, + 0, + (_mem,), + ((HTTP_HEADER_NAME, 0),), +) + +ALLOWED_RESPONSE_HEADERS: StaticSchema = ( + 16, + n0, + _ARHl, + 0, + (_mem,), + ((HTTP_HEADER_NAME, 0),), +) + +ALLOWED_STRING_LIST_VALUE: StaticSchema = (3, n0, _ASLV, 0) + +ALLOWED_STRING_LIST_VALUES_LIST: StaticSchema = ( + 16, + n0, + _ASLVL, + 0, + (_mem,), + ((ALLOWED_STRING_LIST_VALUE, 0),), +) + +ALLOWED_STRING_VALUE: StaticSchema = (3, n0, _ASV, 0) + +ALLOWED_STRING_VALUES_LIST: StaticSchema = ( + 16, + n0, + _ASVL, + 0, + (_mem,), + ((ALLOWED_STRING_VALUE, 0),), +) + +UPDATED_DESCRIPTION: StaticSchema = (18, n0, _UD, 0, (_oV,), ((DESCRIPTION, 0),)) + +UPDATED_AUTHORIZER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _UAC, + 0, + (_oV,), + ((AUTHORIZER_CONFIGURATION, 0),), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_10.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_10.py new file mode 100644 index 000000000..772e82f01 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_10.py @@ -0,0 +1,1155 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_sm = "smithy.api#required" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_AIITJ = "AWS_IAM_ID_TOKEN_JWT" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_se = "server" +_smithya = "smithy.api#http" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_fR = "failureReason" +_i = "id" +_mR = "maxResults" +_nT = "nextToken" +_a = "arn" +_pE = "privateEndpoint" +_dU = "discoveryUrl" +_pEO = "privateEndpointOverrides" +_cCe = "certificateConfigurations" +_v_ = "" +_ty = "type" +_CUSTOM = "CUSTOM" +_con = "configuration" +_kKA = "kmsKeyArn" +_FAILED = "FAILED" +_mI = "modelId" +_SEMANTIC = "SEMANTIC" +_TE_ = "TOKEN_EXCHANGE" +_gT = "grantType" +_sIt = "strategyId" +_SUMMARIZATION = "SUMMARIZATION" +_UP = "USER_PREFERENCE" +_EPISODIC = "EPISODIC" +_stra = "strategies" +_eED = "eventExpiryDuration" +_eKA = "encryptionKeyArn" +_memo = "memory" +_aTP = "appendToPrompt" +_na = "namespaces" +_nTa = "namespaceTemplates" +_mRS = "memoryRecordSchema" +_ext = "extraction" +_cons = "consolidation" +_ref = "reflection" +_tA = "topicArn" +_pDBN = "payloadDeliveryBucketName" +_mCes = "messageCount" +_iST = "idleSessionTimeout" +_tC = "tokenCount" +_mBT = "messageBasedTrigger" +_tBT = "tokenBasedTrigger" +_tBTi = "timeBasedTrigger" +_tCr = "triggerConditions" +_iCnv = "invocationConfiguration" +_hCWS = "historicalContextWindowSize" +_sMC = "selfManagedConfiguration" +_rEDD = "recordExpiryDurationDays" +_rES = "recordExpirySpecification" +_mERA = "memoryExecutionRoleArn" +_mSe = "memoryStrategies" +_iK = "indexedKeys" +_nK = "namespaceKeys" +_sDR = "streamDeliveryResources" +_sCO = "semanticConsolidationOverride" +_sCOu = "summaryConsolidationOverride" +_uPCO = "userPreferenceConsolidationOverride" +_eCO = "episodicConsolidationOverride" +_cCC = "customConsolidationConfiguration" +_EEO = "EpisodicExtractionOverride" +_SEO = "SemanticExtractionOverride" +_UPEO = "UserPreferenceExtractionOverride" +_CEC = "CustomExtractionConfiguration" +_sEO = "semanticExtractionOverride" +_uPEO = "userPreferenceExtractionOverride" +_eEO = "episodicExtractionOverride" +_ECxt = "ExtractionConfiguration" +_cEC = "customExtractionConfiguration" +_ERO = "EpisodicReflectionOverride" +_CRC = "CustomReflectionConfiguration" +_eRO = "episodicReflectionOverride" +_ERC = "EpisodicReflectionConfiguration" +_RCef = "ReflectionConfiguration" +_cRC = "customReflectionConfiguration" +_eRC = "episodicReflectionConfiguration" +_ICnv = "InvocationConfiguration" +_MBT = "MessageBasedTrigger" +_TBT = "TimeBasedTrigger" +_TBTo = "TokenBasedTrigger" +_TCr = "TriggerCondition" +_TCL = "TriggerConditionsList" +_SMC = "SelfManagedConfiguration" +_OT = "OverrideType" +_SO__ = "SEMANTIC_OVERRIDE" +_SO___ = "SUMMARY_OVERRIDE" +_UPO = "USER_PREFERENCE_OVERRIDE" +_SM_ = "SELF_MANAGED" +_EO = "EPISODIC_OVERRIDE" +_SCtr = "StrategyConfiguration" +_MSS = "MemoryStrategyStatus" +_MSIe = "MemoryStrategyId" +_MST = "MemoryStrategyType" +_MSem = "MemoryStrategy" +_MSLe = "MemoryStrategyList" +_Me = "Memory" +_mBRA = "managedByResourceArn" +_SEe = "ServiceException" +_TEh = "ThrottledException" +_DMI = "DeleteMemoryInput" +_mIe = "memoryId" +_DMO = "DeleteMemoryOutput" +_DM = "DeleteMemory" +_MVe = "MemoryView" +_FULL = "FULL" +_fu = "full" +_WD = "WITHOUT_DECRYPTION" +_wd = "without_decryption" +_GMI = "GetMemoryInput" +_vie = "view" +_GMO = "GetMemoryOutput" +_GM = "GetMemory" +_LMI = "ListMemoriesInput" +_MSemo = "MemorySummary" +_MSLem = "MemorySummaryList" +_LMO = "ListMemoriesOutput" +_memor = "memories" +_LMi = "ListMemories" +_DMSI = "DeleteMemoryStrategyInput" +_mSI = "memoryStrategyId" +_DMSL = "DeleteMemoryStrategiesList" +_CCCI = "CustomConsolidationConfigurationInput" +_MCC = "ModifyConsolidationConfiguration" +_CECI = "CustomExtractionConfigurationInput" +_MEC = "ModifyExtractionConfiguration" +_CRCI = "CustomReflectionConfigurationInput" +_MRC = "ModifyReflectionConfiguration" +_MICI = "ModifyInvocationConfigurationInput" +_MSMC = "ModifySelfManagedConfiguration" +_MSC = "ModifyStrategyConfiguration" +_MMSI = "ModifyMemoryStrategyInput" +_MMSL = "ModifyMemoryStrategiesList" +_MMS = "ModifyMemoryStrategies" +_aMS = "addMemoryStrategies" +_mMS = "modifyMemoryStrategies" +_dMS = "deleteMemoryStrategies" +_UMI = "UpdateMemoryInput" +_aIK = "addIndexedKeys" +_UMO = "UpdateMemoryOutput" +_UM = "UpdateMemory" +_CIT = "ClientIdType" +_DCST = "DefaultClientSecretType" +_AOPCI = "AtlassianOauth2ProviderConfigInput" +_cIl = "clientId" +_cS = "clientSecret" +_cSC = "clientSecretConfig" +_cSS = "clientSecretSource" +_CAMT = "ClientAuthenticationMethodType" +_CSB = "CLIENT_SECRET_BASIC" +_CSP = "CLIENT_SECRET_POST" +_PKJ = "PRIVATE_KEY_JWT" +_DCIT = "DefaultClientIdType" +_AET = "AuthorizationEndpointType" +_IUT = "IssuerUrlType" +_RTe = "ResponseType" +_RLT = "ResponseListType" +_TET = "TokenEndpointType" +_TAM = "TokenAuthMethod" +_TEAMT = "TokenEndpointAuthMethodsType" +_OASM = "Oauth2AuthorizationServerMetadata" +_is = "issuer" +_aE = "authorizationEndpoint" +_tE = "tokenEndpoint" +_rT = "responseTypes" +_tEAM = "tokenEndpointAuthMethods" +_DUT = "DiscoveryUrlType" +_OD = "Oauth2Discovery" +_aSMu = "authorizationServerMetadata" +_OBOTEGTT = "OnBehalfOfTokenExchangeGrantTypeType" +_JAG = "JWT_AUTHORIZATION_GRANT" +_OBOCAM = "OnBehalfOfClientAuthenticationMethod" +_NC_ = "NO_CLIENT" +_OBOAC = "OnBehalfOfAuthenticationConfig" +_cAM = "clientAuthenticationMethod" +_STco = "ScopeType" +_SLT = "ScopesListType" +_TEGTCT = "TokenExchangeGrantTypeConfigType" +_aTCc = "actorTokenContent" +_aTS = "actorTokenScopes" +_OBOTECT = "OnBehalfOfTokenExchangeConfigType" +_tEGTC = "tokenExchangeGrantTypeConfig" +_oBOAC = "onBehalfOfAuthenticationConfig" +_KKST = "KmsKeySourceType" +_PKS = "PrivateKeySource" +_kKS = "kmsKeySource" +_SAi = "SigningAlgorithm" +_RS_ = "RS256" +_PS = "PS256" +_ES_ = "ES256" +_PKJC = "PrivateKeyJwtConfig" +_pKS = "privateKeySource" +_sAi = "signingAlgorithm" +_aHC = "additionalHeaderClaims" +_aPC = "additionalPayloadClaims" +_COPCI = "CustomOauth2ProviderConfigInput" +_oD = "oauthDiscovery" +_oBOTEC = "onBehalfOfTokenExchangeConfig" +_pKJC = "privateKeyJwtConfig" +_GOPCI = "GithubOauth2ProviderConfigInput" +_GOPCIo = "GoogleOauth2ProviderConfigInput" +_IOPCI = "IncludedOauth2ProviderConfigInput" +_LOPCI = "LinkedinOauth2ProviderConfigInput" +_TIT = "TenantIdType" +_MOPCI = "MicrosoftOauth2ProviderConfigInput" +_tIe = "tenantId" +_SOPCI = "SalesforceOauth2ProviderConfigInput" +_SOPCIl = "SlackOauth2ProviderConfigInput" + +EPISODIC_EXTRACTION_OVERRIDE: StaticSchema = ( + 18, + n0, + _EEO, + 0, + (_aTP, _mI), + ((lambda: schemas.PROMPT, 1), (3, 1)), +) + +SEMANTIC_EXTRACTION_OVERRIDE: StaticSchema = ( + 18, + n0, + _SEO, + 0, + (_aTP, _mI), + ((lambda: schemas.PROMPT, 1), (3, 1)), +) + +USER_PREFERENCE_EXTRACTION_OVERRIDE: StaticSchema = ( + 18, + n0, + _UPEO, + 0, + (_aTP, _mI), + ((lambda: schemas.PROMPT, 1), (3, 1)), +) + +CUSTOM_EXTRACTION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _CEC, + 0, + (_sEO, _uPEO, _eEO), + ( + (SEMANTIC_EXTRACTION_OVERRIDE, 0), + (USER_PREFERENCE_EXTRACTION_OVERRIDE, 0), + (EPISODIC_EXTRACTION_OVERRIDE, 0), + ), +) + +EXTRACTION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _ECxt, + 0, + (_cEC,), + ((CUSTOM_EXTRACTION_CONFIGURATION, 0),), +) + +EPISODIC_REFLECTION_OVERRIDE: StaticSchema = ( + 18, + n0, + _ERO, + 0, + (_aTP, _mI, _na, _nTa, _mRS), + ( + (lambda: schemas.PROMPT, 1), + (3, 1), + (lambda: schemas.NAMESPACES_LIST, 0), + (lambda: schemas.NAMESPACES_LIST, 0), + (lambda: schemas.MEMORY_RECORD_SCHEMA, 0), + ), +) + +CUSTOM_REFLECTION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _CRC, + 0, + (_eRO,), + ((EPISODIC_REFLECTION_OVERRIDE, 0),), +) + +EPISODIC_REFLECTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ERC, + 0, + (_na, _nTa, _mRS), + ( + (lambda: schemas.NAMESPACES_LIST, 0), + (lambda: schemas.NAMESPACES_LIST, 0), + (lambda: schemas.MEMORY_RECORD_SCHEMA, 0), + ), +) + +REFLECTION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _RCef, + 0, + (_cRC, _eRC), + ((CUSTOM_REFLECTION_CONFIGURATION, 0), (EPISODIC_REFLECTION_CONFIGURATION, 0)), +) + +INVOCATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ICnv, + 0, + (_tA, _pDBN), + ((lambda: schemas.ARN, 1), (3, 1)), +) + +MESSAGE_BASED_TRIGGER: StaticSchema = (18, n0, _MBT, 0, (_mCes,), ((7, 0),)) + +TIME_BASED_TRIGGER: StaticSchema = (18, n0, _TBT, 0, (_iST,), ((7, 0),)) + +TOKEN_BASED_TRIGGER: StaticSchema = (18, n0, _TBTo, 0, (_tC,), ((7, 0),)) + +TRIGGER_CONDITION: StaticSchema = ( + 19, + n0, + _TCr, + 0, + (_mBT, _tBT, _tBTi), + ((MESSAGE_BASED_TRIGGER, 0), (TOKEN_BASED_TRIGGER, 0), (TIME_BASED_TRIGGER, 0)), +) + +TRIGGER_CONDITIONS_LIST: StaticSchema = ( + 16, + n0, + _TCL, + 0, + (_mem,), + ((TRIGGER_CONDITION, 0),), +) + +SELF_MANAGED_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SMC, + 0, + (_tCr, _iCnv, _hCWS), + ((TRIGGER_CONDITIONS_LIST, 1), (INVOCATION_CONFIGURATION, 1), (7, 1)), +) + +OVERRIDE_TYPE: StaticSchema = ( + 14, + n0, + _OT, + 0, + (_SO__, _SO___, _UPO, _SM_, _EO), + ( + (-1, {_sVm: _SO__}), + (-1, {_sVm: _SO___}), + (-1, {_sVm: _UPO}), + (-1, {_sVm: _SM_}), + (-1, {_sVm: _EO}), + ), +) + +STRATEGY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCtr, + 0, + (_ty, _ext, _cons, _ref, _sMC), + ( + (OVERRIDE_TYPE, 0), + (EXTRACTION_CONFIGURATION, 0), + (lambda: schemas.CONSOLIDATION_CONFIGURATION, 0), + (REFLECTION_CONFIGURATION, 0), + (SELF_MANAGED_CONFIGURATION, 0), + ), +) + +MEMORY_STRATEGY_STATUS: StaticSchema = ( + 14, + n0, + _MSS, + 0, + (_CREATING, _ACTIVE, _DELETING, _FAILED), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _FAILED}), + ), +) + +MEMORY_STRATEGY_ID: StaticSchema = (3, n0, _MSIe, 0) + +MEMORY_STRATEGY_TYPE: StaticSchema = ( + 14, + n0, + _MST, + 0, + (_SEMANTIC, _SUMMARIZATION, _UP, _CUSTOM, _EPISODIC), + ( + (-1, {_sVm: _SEMANTIC}), + (-1, {_sVm: _SUMMARIZATION}), + (-1, {_sVm: _UP}), + (-1, {_sVm: _CUSTOM}), + (-1, {_sVm: _EPISODIC}), + ), +) + +MEMORY_STRATEGY: StaticSchema = ( + 18, + n0, + _MSem, + 0, + (_sIt, _n, _d, _con, _ty, _na, _nTa, _cA, _uA, _st, _mRS, _rEDD), + ( + (MEMORY_STRATEGY_ID, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (STRATEGY_CONFIGURATION, 0), + (MEMORY_STRATEGY_TYPE, 1), + (lambda: schemas.NAMESPACES_LIST, 1), + (lambda: schemas.NAMESPACES_LIST, 1), + (4, 0), + (4, 0), + (MEMORY_STRATEGY_STATUS, 0), + (lambda: schemas.MEMORY_RECORD_SCHEMA, 0), + (lambda: schemas.RECORD_EXPIRY_DURATION_DAYS, 0), + ), +) + +MEMORY_STRATEGY_LIST: StaticSchema = ( + 16, + n0, + _MSLe, + 0, + (_mem,), + ((MEMORY_STRATEGY, 0),), +) + +MEMORY: StaticSchema = ( + 18, + n0, + _Me, + 0, + ( + _a, + _i, + _n, + _d, + _eKA, + _mERA, + _eED, + _st, + _fR, + _cA, + _uA, + _stra, + _iK, + _nK, + _sDR, + _mBRA, + ), + ( + (lambda: schemas.MEMORY_ARN, 1), + (lambda: schemas.MEMORY_ID, 1), + (lambda: schemas.NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.ARN, 0), + (7, 1), + (lambda: schemas.MEMORY_STATUS, 1), + (3, 0), + (4, 1), + (4, 1), + (MEMORY_STRATEGY_LIST, 0), + (lambda: schemas.INDEXED_KEYS_LIST, 0), + (lambda: schemas.NAMESPACE_KEYS_LIST, 0), + (lambda: schemas.STREAM_DELIVERY_RESOURCES, 0), + (lambda: schemas.ARN, 0), + ), +) + +SERVICE_EXCEPTION: StaticSchema = (18, n0, _SEe, {_s: _se, _sE: 500}, (_m,), ((3, 0),)) + +THROTTLED_EXCEPTION: StaticSchema = (18, n0, _TEh, {_s: _c, _sE: 429}, (_m,), ((3, 0),)) + +DELETE_MEMORY_INPUT: StaticSchema = ( + 18, + n0, + _DMI, + {_smith: None}, + (_cT, _mIe), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sQ: _cT, _sT: None}), + (lambda: schemas.MEMORY_ID, 9), + ), +) + +DELETE_MEMORY_OUTPUT: StaticSchema = ( + 18, + n0, + _DMO, + {_smithy: None}, + (_mIe, _st), + ((lambda: schemas.MEMORY_ID, 1), (lambda: schemas.MEMORY_STATUS, 0)), +) + +DELETE_MEMORY: StaticOperationSchema = ( + 23, + n0, + _DM, + { + _smithya: MappingProxyType( + {"code": 202, "method": "DELETE", "uri": "/memories/{memoryId}/delete"} + ) + }, + DELETE_MEMORY_INPUT, + DELETE_MEMORY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEMORY_VIEW: StaticSchema = ( + 14, + n0, + _MVe, + 0, + (_FULL, _WD), + ((-1, {_sVm: _fu}), (-1, {_sVm: _wd})), +) + +GET_MEMORY_INPUT: StaticSchema = ( + 18, + n0, + _GMI, + {_smith: None}, + (_mIe, _vie), + ((lambda: schemas.MEMORY_ID, 9), (MEMORY_VIEW, {_smi: _fu, _sQ: _vie})), +) + +GET_MEMORY_OUTPUT: StaticSchema = ( + 18, + n0, + _GMO, + {_smithy: None}, + (_memo,), + ((MEMORY, 1),), +) + +GET_MEMORY: StaticOperationSchema = ( + 23, + n0, + _GM, + { + _smithya: MappingProxyType( + {"method": "GET", "uri": "/memories/{memoryId}/details"} + ) + }, + GET_MEMORY_INPUT, + GET_MEMORY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_MEMORIES_INPUT: StaticSchema = ( + 18, + n0, + _LMI, + {_smith: None}, + (_mR, _nT), + ((7, {_smi: 100}), (3, 0)), +) + +LIST_MEMORIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LMO, + {_smithy: None}, + (_memor, _nT), + ((lambda: MEMORY_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_MEMORIES: StaticOperationSchema = ( + 23, + n0, + _LMi, + {_smithya: MappingProxyType({"method": "POST", "uri": "/memories/"})}, + LIST_MEMORIES_INPUT, + LIST_MEMORIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEMORY_SUMMARY: StaticSchema = ( + 18, + n0, + _MSemo, + 0, + (_a, _i, _st, _cA, _uA, _mBRA), + ( + (lambda: schemas.MEMORY_ARN, 0), + (lambda: schemas.MEMORY_ID, 0), + (lambda: schemas.MEMORY_STATUS, 0), + (4, 1), + (4, 1), + (lambda: schemas.ARN, 0), + ), +) + +MEMORY_SUMMARY_LIST: StaticSchema = (16, n0, _MSLem, 0, (_mem,), ((MEMORY_SUMMARY, 0),)) + +DELETE_MEMORY_STRATEGY_INPUT: StaticSchema = (18, n0, _DMSI, 0, (_mSI,), ((3, 1),)) + +DELETE_MEMORY_STRATEGIES_LIST: StaticSchema = ( + 16, + n0, + _DMSL, + 0, + (_mem,), + ((DELETE_MEMORY_STRATEGY_INPUT, 0),), +) + +CUSTOM_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( + 19, + n0, + _CCCI, + 0, + (_sCO, _sCOu, _uPCO, _eCO), + ( + (lambda: schemas.SEMANTIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), + (lambda: schemas.SUMMARY_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), + (lambda: schemas.USER_PREFERENCE_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), + (lambda: schemas.EPISODIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), + ), +) + +MODIFY_CONSOLIDATION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _MCC, + 0, + (_cCC,), + ((CUSTOM_CONSOLIDATION_CONFIGURATION_INPUT, 0),), +) + +CUSTOM_EXTRACTION_CONFIGURATION_INPUT: StaticSchema = ( + 19, + n0, + _CECI, + 0, + (_sEO, _uPEO, _eEO), + ( + (lambda: schemas.SEMANTIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), + (lambda: schemas.USER_PREFERENCE_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), + (lambda: schemas.EPISODIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), + ), +) + +MODIFY_EXTRACTION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _MEC, + 0, + (_cEC,), + ((CUSTOM_EXTRACTION_CONFIGURATION_INPUT, 0),), +) + +CUSTOM_REFLECTION_CONFIGURATION_INPUT: StaticSchema = ( + 19, + n0, + _CRCI, + 0, + (_eRO,), + ((lambda: schemas.EPISODIC_OVERRIDE_REFLECTION_CONFIGURATION_INPUT, 0),), +) + +MODIFY_REFLECTION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _MRC, + 0, + (_eRC, _cRC), + ( + (lambda: schemas.EPISODIC_REFLECTION_CONFIGURATION_INPUT, 0), + (CUSTOM_REFLECTION_CONFIGURATION_INPUT, 0), + ), +) + +MODIFY_INVOCATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _MICI, + 0, + (_tA, _pDBN), + ((lambda: schemas.ARN, 0), (3, 0)), +) + +MODIFY_SELF_MANAGED_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MSMC, + 0, + (_tCr, _iCnv, _hCWS), + ( + (lambda: schemas.TRIGGER_CONDITION_INPUT_LIST, 0), + (MODIFY_INVOCATION_CONFIGURATION_INPUT, 0), + (7, 0), + ), +) + +MODIFY_STRATEGY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MSC, + 0, + (_ext, _cons, _ref, _sMC), + ( + (MODIFY_EXTRACTION_CONFIGURATION, 0), + (MODIFY_CONSOLIDATION_CONFIGURATION, 0), + (MODIFY_REFLECTION_CONFIGURATION, 0), + (MODIFY_SELF_MANAGED_CONFIGURATION, 0), + ), +) + +MODIFY_MEMORY_STRATEGY_INPUT: StaticSchema = ( + 18, + n0, + _MMSI, + 0, + (_mSI, _d, _na, _nTa, _con, _mRS, _rES), + ( + (3, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.NAMESPACES_LIST, 0), + (lambda: schemas.NAMESPACES_LIST, 0), + (MODIFY_STRATEGY_CONFIGURATION, 0), + (lambda: schemas.MEMORY_RECORD_SCHEMA, 0), + (lambda: schemas.RECORD_EXPIRY_SPECIFICATION, 0), + ), +) + +MODIFY_MEMORY_STRATEGIES_LIST: StaticSchema = ( + 16, + n0, + _MMSL, + 0, + (_mem,), + ((MODIFY_MEMORY_STRATEGY_INPUT, 0),), +) + +MODIFY_MEMORY_STRATEGIES: StaticSchema = ( + 18, + n0, + _MMS, + 0, + (_aMS, _mMS, _dMS), + ( + (lambda: schemas.MEMORY_STRATEGY_INPUT_LIST, 0), + (MODIFY_MEMORY_STRATEGIES_LIST, 0), + (DELETE_MEMORY_STRATEGIES_LIST, 0), + ), +) + +UPDATE_MEMORY_INPUT: StaticSchema = ( + 18, + n0, + _UMI, + {_smith: None}, + (_cT, _mIe, _d, _eED, _mERA, _mSe, _aIK, _nK, _sDR), + ( + (lambda: schemas.NON_EMPTY_STRING, 2), + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.DESCRIPTION, 0), + (7, 0), + (lambda: schemas.ARN, 0), + (MODIFY_MEMORY_STRATEGIES, 0), + (lambda: schemas.INDEXED_KEYS_LIST, 0), + (lambda: schemas.NAMESPACE_KEYS_LIST, 0), + (lambda: schemas.STREAM_DELIVERY_RESOURCES, 0), + ), +) + +UPDATE_MEMORY_OUTPUT: StaticSchema = ( + 18, + n0, + _UMO, + {_smithy: None}, + (_memo,), + ((MEMORY, 0),), +) + +UPDATE_MEMORY: StaticOperationSchema = ( + 23, + n0, + _UM, + { + _smithya: MappingProxyType( + {"code": 202, "method": "PUT", "uri": "/memories/{memoryId}/update"} + ) + }, + UPDATE_MEMORY_INPUT, + UPDATE_MEMORY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CLIENT_ID_TYPE: StaticSchema = (3, n0, _CIT, 0) + +DEFAULT_CLIENT_SECRET_TYPE: StaticSchema = (3, n0, _DCST, 4) + +ATLASSIAN_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _AOPCI, + 0, + (_cIl, _cS, _cSC, _cSS), + ( + (CLIENT_ID_TYPE, 1), + (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_REFERENCE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + ), +) + +CLIENT_AUTHENTICATION_METHOD_TYPE: StaticSchema = ( + 14, + n0, + _CAMT, + 0, + (_CSB, _CSP, _AIITJ, _PKJ), + ((-1, {_sVm: _CSB}), (-1, {_sVm: _CSP}), (-1, {_sVm: _AIITJ}), (-1, {_sVm: _PKJ})), +) + +DEFAULT_CLIENT_ID_TYPE: StaticSchema = (3, n0, _DCIT, 0) + +AUTHORIZATION_ENDPOINT_TYPE: StaticSchema = (3, n0, _AET, 0) + +ISSUER_URL_TYPE: StaticSchema = (3, n0, _IUT, 0) + +RESPONSE_TYPE: StaticSchema = (3, n0, _RTe, 0) + +RESPONSE_LIST_TYPE: StaticSchema = (16, n0, _RLT, 0, (_mem,), ((RESPONSE_TYPE, 0),)) + +TOKEN_ENDPOINT_TYPE: StaticSchema = (3, n0, _TET, 0) + +TOKEN_AUTH_METHOD: StaticSchema = (3, n0, _TAM, 0) + +TOKEN_ENDPOINT_AUTH_METHODS_TYPE: StaticSchema = ( + 16, + n0, + _TEAMT, + 0, + (_mem,), + ((TOKEN_AUTH_METHOD, 0),), +) + +OAUTH2_AUTHORIZATION_SERVER_METADATA: StaticSchema = ( + 18, + n0, + _OASM, + 0, + (_is, _aE, _tE, _rT, _tEAM), + ( + (ISSUER_URL_TYPE, 1), + (AUTHORIZATION_ENDPOINT_TYPE, 1), + (TOKEN_ENDPOINT_TYPE, 1), + (RESPONSE_LIST_TYPE, 0), + (TOKEN_ENDPOINT_AUTH_METHODS_TYPE, 0), + ), +) + +DISCOVERY_URL_TYPE: StaticSchema = (3, n0, _DUT, 0) + +OAUTH2_DISCOVERY: StaticSchema = ( + 19, + n0, + _OD, + 0, + (_dU, _aSMu), + ((DISCOVERY_URL_TYPE, 0), (OAUTH2_AUTHORIZATION_SERVER_METADATA, 0)), +) + +ON_BEHALF_OF_TOKEN_EXCHANGE_GRANT_TYPE_TYPE: StaticSchema = ( + 14, + n0, + _OBOTEGTT, + 0, + (_TE_, _JAG), + ((-1, {_sVm: _TE_}), (-1, {_sVm: _JAG})), +) + +ON_BEHALF_OF_CLIENT_AUTHENTICATION_METHOD: StaticSchema = ( + 14, + n0, + _OBOCAM, + 0, + (_NC_,), + ((-1, {_sVm: _NC_}),), +) + +ON_BEHALF_OF_AUTHENTICATION_CONFIG: StaticSchema = ( + 18, + n0, + _OBOAC, + 0, + (_cAM,), + ((ON_BEHALF_OF_CLIENT_AUTHENTICATION_METHOD, 1),), +) + +SCOPE_TYPE: StaticSchema = (3, n0, _STco, 0) + +SCOPES_LIST_TYPE: StaticSchema = (16, n0, _SLT, 0, (_mem,), ((SCOPE_TYPE, 0),)) + +TOKEN_EXCHANGE_GRANT_TYPE_CONFIG_TYPE: StaticSchema = ( + 18, + n0, + _TEGTCT, + 0, + (_aTCc, _aTS), + ((lambda: schemas.ACTOR_TOKEN_CONTENT_TYPE, 1), (SCOPES_LIST_TYPE, 0)), +) + +ON_BEHALF_OF_TOKEN_EXCHANGE_CONFIG_TYPE: StaticSchema = ( + 18, + n0, + _OBOTECT, + 0, + (_gT, _tEGTC, _oBOAC), + ( + (ON_BEHALF_OF_TOKEN_EXCHANGE_GRANT_TYPE_TYPE, 1), + (TOKEN_EXCHANGE_GRANT_TYPE_CONFIG_TYPE, 0), + (ON_BEHALF_OF_AUTHENTICATION_CONFIG, 0), + ), +) + +KMS_KEY_SOURCE_TYPE: StaticSchema = ( + 18, + n0, + _KKST, + 0, + (_kKA,), + ((lambda: schemas.KMS_KEY_ARN, 1),), +) + +PRIVATE_KEY_SOURCE: StaticSchema = ( + 19, + n0, + _PKS, + 0, + (_kKS,), + ((KMS_KEY_SOURCE_TYPE, 0),), +) + +SIGNING_ALGORITHM: StaticSchema = ( + 14, + n0, + _SAi, + 0, + (_RS_, _PS, _ES_), + ((-1, {_sVm: _RS_}), (-1, {_sVm: _PS}), (-1, {_sVm: _ES_})), +) + +PRIVATE_KEY_JWT_CONFIG: StaticSchema = ( + 18, + n0, + _PKJC, + 0, + (_pKS, _sAi, _aHC, _aPC), + ( + (PRIVATE_KEY_SOURCE, 0), + (SIGNING_ALGORITHM, 0), + (lambda: schemas.ADDITIONAL_CLAIMS, 0), + (lambda: schemas.ADDITIONAL_CLAIMS, 0), + ), +) + +CUSTOM_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _COPCI, + 0, + (_oD, _cIl, _cS, _cSC, _cSS, _oBOTEC, _cAM, _pKJC, _pE, _pEO, _cCe), + ( + (OAUTH2_DISCOVERY, 1), + (DEFAULT_CLIENT_ID_TYPE, {_smi: _v_}), + (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_REFERENCE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (ON_BEHALF_OF_TOKEN_EXCHANGE_CONFIG_TYPE, 0), + (CLIENT_AUTHENTICATION_METHOD_TYPE, 0), + (PRIVATE_KEY_JWT_CONFIG, 0), + (lambda: schemas.PRIVATE_ENDPOINT, 0), + (lambda: schemas.PRIVATE_ENDPOINT_OVERRIDES, 0), + (lambda: schemas.CERTIFICATE_CONFIGURATION_LIST, 0), + ), +) + +GITHUB_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GOPCI, + 0, + (_cIl, _cS, _cSC, _cSS), + ( + (CLIENT_ID_TYPE, 1), + (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_REFERENCE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + ), +) + +GOOGLE_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GOPCIo, + 0, + (_cIl, _cS, _cSC, _cSS), + ( + (CLIENT_ID_TYPE, 1), + (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_REFERENCE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + ), +) + +INCLUDED_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _IOPCI, + 0, + (_cIl, _cS, _cSC, _cSS, _is, _aE, _tE), + ( + (CLIENT_ID_TYPE, 1), + (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_REFERENCE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (ISSUER_URL_TYPE, 0), + (AUTHORIZATION_ENDPOINT_TYPE, 0), + (TOKEN_ENDPOINT_TYPE, 0), + ), +) + +LINKEDIN_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _LOPCI, + 0, + (_cIl, _cS, _cSC, _cSS), + ( + (CLIENT_ID_TYPE, 1), + (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_REFERENCE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + ), +) + +TENANT_ID_TYPE: StaticSchema = (3, n0, _TIT, 0) + +MICROSOFT_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _MOPCI, + 0, + (_cIl, _cS, _cSC, _cSS, _tIe), + ( + (CLIENT_ID_TYPE, 1), + (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_REFERENCE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (TENANT_ID_TYPE, 0), + ), +) + +SALESFORCE_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _SOPCI, + 0, + (_cIl, _cS, _cSC, _cSS), + ( + (CLIENT_ID_TYPE, 1), + (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_REFERENCE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + ), +) + +SLACK_OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _SOPCIl, + 0, + (_cIl, _cS, _cSC, _cSS), + ( + (CLIENT_ID_TYPE, 1), + (DEFAULT_CLIENT_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_REFERENCE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + ), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_11.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_11.py new file mode 100644 index 000000000..135d7a060 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_11.py @@ -0,0 +1,1268 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_sm = "smithy.api#required" +_k = "key" +_v = "value" +_n = "name" +_d = "description" +_mem = "member" +_ENABLED = "ENABLED" +_sVm = "smithy.api#enumValue" +_DISABLED = "DISABLED" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_DF = "DELETE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_smithya = "smithy.api#http" +_t = "tags" +_READY = "READY" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_fR = "failureReason" +_mR = "maxResults" +_nT = "nextToken" +_EQUALS = "EQUALS" +_CONTAINS = "CONTAINS" +_pE = "privateEndpoint" +_pEO = "privateEndpointOverrides" +_cCe = "certificateConfigurations" +_v_ = "" +_cPAr = "credentialProviderArn" +_cTr = "createdTime" +_lUT = "lastUpdatedTime" +_cP = "credentialProviders" +_eIv = "evaluatorId" +_ev = "evaluators" +_op = "operator" +_CPVT = "CredentialProviderVendorType" +_GO = "GoogleOauth2" +_GOi = "GithubOauth2" +_SOl = "SlackOauth2" +_SOa = "SalesforceOauth2" +_MOi = "MicrosoftOauth2" +_COu = "CustomOauth2" +_AOt = "AtlassianOauth2" +_LOi = "LinkedinOauth2" +_XO = "XOauth2" +_OO = "OktaOauth2" +_OLO = "OneLoginOauth2" +_POO = "PingOneOauth2" +_FOa = "FacebookOauth2" +_YO = "YandexOauth2" +_RO = "RedditOauth2" +_ZO = "ZoomOauth2" +_TO = "TwitchOauth2" +_SOp = "SpotifyOauth2" +_DOr = "DropboxOauth2" +_NO = "NotionOauth2" +_HO = "HubspotOauth2" +_CAO = "CyberArkOauth2" +_FAO = "FusionAuthOauth2" +_AOu = "Auth0Oauth2" +_COo = "CognitoOauth2" +_cIl = "clientId" +_cSS = "clientSecretSource" +_cAM = "clientAuthenticationMethod" +_oD = "oauthDiscovery" +_oBOTEC = "onBehalfOfTokenExchangeConfig" +_pKJC = "privateKeyJwtConfig" +_OPCI = "Oauth2ProviderConfigInput" +_cOPC = "customOauth2ProviderConfig" +_gOPC = "googleOauth2ProviderConfig" +_gOPCi = "githubOauth2ProviderConfig" +_sOPC = "slackOauth2ProviderConfig" +_sOPCa = "salesforceOauth2ProviderConfig" +_mOPC = "microsoftOauth2ProviderConfig" +_aOPC = "atlassianOauth2ProviderConfig" +_lOPC = "linkedinOauth2ProviderConfig" +_iOPC = "includedOauth2ProviderConfig" +_COCPI = "CreateOauth2CredentialProviderInput" +_cCOCPR = "com.amazonaws.bedrockagentcorecontrol#CreateOauth2CredentialProviderRequest" +_cPVr = "credentialProviderVendor" +_oPCI = "oauth2ProviderConfigInput" +_CPATr = "CredentialProviderArnType" +_AOPCO = "AtlassianOauth2ProviderConfigOutput" +_COPCO = "CustomOauth2ProviderConfigOutput" +_GOPCO = "GithubOauth2ProviderConfigOutput" +_GOPCOo = "GoogleOauth2ProviderConfigOutput" +_IOPCO = "IncludedOauth2ProviderConfigOutput" +_LOPCO = "LinkedinOauth2ProviderConfigOutput" +_MOPCO = "MicrosoftOauth2ProviderConfigOutput" +_SOPCO = "SalesforceOauth2ProviderConfigOutput" +_SOPCOl = "SlackOauth2ProviderConfigOutput" +_OPCO = "Oauth2ProviderConfigOutput" +_St = "Status" +_COCPO = "CreateOauth2CredentialProviderOutput" +_cCOCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#CreateOauth2CredentialProviderResponse" +) +_cSA = "clientSecretArn" +_cSJK = "clientSecretJsonKey" +_cUa = "callbackUrl" +_oPCO = "oauth2ProviderConfigOutput" +_COCP = "CreateOauth2CredentialProvider" +_DOCPI = "DeleteOauth2CredentialProviderInput" +_cDOCPR = "com.amazonaws.bedrockagentcorecontrol#DeleteOauth2CredentialProviderRequest" +_DOCPO = "DeleteOauth2CredentialProviderOutput" +_cDOCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#DeleteOauth2CredentialProviderResponse" +) +_DOCP = "DeleteOauth2CredentialProvider" +_GOCPI = "GetOauth2CredentialProviderInput" +_cGOCPR = "com.amazonaws.bedrockagentcorecontrol#GetOauth2CredentialProviderRequest" +_GOCPO = "GetOauth2CredentialProviderOutput" +_cGOCPRo = "com.amazonaws.bedrockagentcorecontrol#GetOauth2CredentialProviderResponse" +_GOCP = "GetOauth2CredentialProvider" +_LOCPI = "ListOauth2CredentialProvidersInput" +_cLOCPR = "com.amazonaws.bedrockagentcorecontrol#ListOauth2CredentialProvidersRequest" +_OCPI = "Oauth2CredentialProviderItem" +_OCP = "Oauth2CredentialProviders" +_LOCPO = "ListOauth2CredentialProvidersOutput" +_cLOCPRo = "com.amazonaws.bedrockagentcorecontrol#ListOauth2CredentialProvidersResponse" +_LOCP = "ListOauth2CredentialProviders" +_UOCPI = "UpdateOauth2CredentialProviderInput" +_cUOCPR = "com.amazonaws.bedrockagentcorecontrol#UpdateOauth2CredentialProviderRequest" +_UOCPO = "UpdateOauth2CredentialProviderOutput" +_cUOCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#UpdateOauth2CredentialProviderResponse" +) +_UOCP = "UpdateOauth2CredentialProvider" +_CFl = "ClusteringFrequency" +_DAILY = "DAILY" +_WEEKLY = "WEEKLY" +_MONTHLY = "MONTHLY" +_CFL = "ClusteringFrequencyList" +_CCl = "ClusteringConfig" +_fre = "frequencies" +_LGNP = "LogGroupNamePrefix" +_LGNPL = "LogGroupNamePrefixList" +_LGN = "LogGroupName" +_LGNL = "LogGroupNamesList" +_SNe = "ServiceName" +_SNL = "ServiceNamesList" +_CWLIC = "CloudWatchLogsInputConfig" +_lGN = "logGroupNames" +_lGNP = "logGroupNamePrefixes" +_sNe = "serviceNames" +_DSC = "DataSourceConfig" +_cWL = "cloudWatchLogs" +_ECD = "EvaluationConfigDescription" +_ER = "EvaluatorReference" +_ELv = "EvaluatorList" +_II = "InsightId" +_I = "Insight" +_iI = "insightId" +_IL = "InsightList" +_ECN = "EvaluationConfigName" +_OLGN = "OptionalLogGroupName" +_MN = "MetricsNamespace" +_RDe = "ResultDestination" +_DLG = "DEDICATED_LOG_GROUP" +_SLG = "SOURCE_LOG_GROUP" +_CWOC = "CloudWatchOutputConfig" +_lGNo = "logGroupName" +_mN = "metricsNamespace" +_rDe = "resultDestination" +_OC = "OutputConfig" +_cWC = "cloudWatchConfig" +_FOi = "FilterOperator" +_E = "Equals" +_NE = "NOT_EQUALS" +_NEo = "NotEquals" +_GT = "GREATER_THAN" +_GTr = "GreaterThan" +_LT = "LESS_THAN" +_LTe = "LessThan" +_GTOE = "GREATER_THAN_OR_EQUAL" +_GTOEr = "GreaterThanOrEqual" +_LTOE = "LESS_THAN_OR_EQUAL" +_LTOEe = "LessThanOrEqual" +_Cont = "Contains" +_NC__ = "NOT_CONTAINS" +_NCo = "NotContains" +_FV = "FilterValue" +_sVtr = "stringValue" +_dVo = "doubleValue" +_bVo = "booleanValue" +_Fi = "Filter" +_FL = "FilterList" +_SPa = "SamplingPercentage" +_SCa = "SamplingConfig" +_sPa = "samplingPercentage" +_SCes = "SessionConfig" +_sTM = "sessionTimeoutMinutes" +_R = "Rule" +_sCa = "samplingConfig" +_fil = "filters" +_sCes = "sessionConfig" +_COECI = "CreateOnlineEvaluationConfigInput" +_cCOECR = "com.amazonaws.bedrockagentcorecontrol#CreateOnlineEvaluationConfigRequest" +_oECN = "onlineEvaluationConfigName" +_rul = "rule" +_dSC = "dataSourceConfig" +_ins = "insights" +_cCl = "clusteringConfig" +_oC = "outputConfig" +_eERA = "evaluationExecutionRoleArn" +_eOC = "enableOnCreate" +_OEES = "OnlineEvaluationExecutionStatus" +_OECA = "OnlineEvaluationConfigArn" +_OECI = "OnlineEvaluationConfigId" +_OECS = "OnlineEvaluationConfigStatus" +_ERROR = "ERROR" +_COECO = "CreateOnlineEvaluationConfigOutput" +_cCOECRo = "com.amazonaws.bedrockagentcorecontrol#CreateOnlineEvaluationConfigResponse" +_oECA = "onlineEvaluationConfigArn" +_oECI = "onlineEvaluationConfigId" +_eS = "executionStatus" +_COEC = "CreateOnlineEvaluationConfig" +_DOECI = "DeleteOnlineEvaluationConfigInput" +_cDOECR = "com.amazonaws.bedrockagentcorecontrol#DeleteOnlineEvaluationConfigRequest" +_DOECO = "DeleteOnlineEvaluationConfigOutput" +_cDOECRo = "com.amazonaws.bedrockagentcorecontrol#DeleteOnlineEvaluationConfigResponse" +_DOEC = "DeleteOnlineEvaluationConfig" +_GOECI = "GetOnlineEvaluationConfigInput" +_cGOECR = "com.amazonaws.bedrockagentcorecontrol#GetOnlineEvaluationConfigRequest" +_GOECO = "GetOnlineEvaluationConfigOutput" +_cGOECRo = "com.amazonaws.bedrockagentcorecontrol#GetOnlineEvaluationConfigResponse" +_GOEC = "GetOnlineEvaluationConfig" +_LOECI = "ListOnlineEvaluationConfigsInput" +_cLOECR = "com.amazonaws.bedrockagentcorecontrol#ListOnlineEvaluationConfigsRequest" +_OECSn = "OnlineEvaluationConfigSummary" +_OECSL = "OnlineEvaluationConfigSummaryList" +_LOECO = "ListOnlineEvaluationConfigsOutput" +_cLOECRo = "com.amazonaws.bedrockagentcorecontrol#ListOnlineEvaluationConfigsResponse" +_oEC = "onlineEvaluationConfigs" +_LOEC = "ListOnlineEvaluationConfigs" +_UOECI = "UpdateOnlineEvaluationConfigInput" +_cUOECR = "com.amazonaws.bedrockagentcorecontrol#UpdateOnlineEvaluationConfigRequest" +_UOECO = "UpdateOnlineEvaluationConfigOutput" +_cUOECRo = "com.amazonaws.bedrockagentcorecontrol#UpdateOnlineEvaluationConfigResponse" +_UOEC = "UpdateOnlineEvaluationConfig" + +CREDENTIAL_PROVIDER_VENDOR_TYPE: StaticSchema = ( + 14, + n0, + _CPVT, + 0, + ( + _GO, + _GOi, + _SOl, + _SOa, + _MOi, + _COu, + _AOt, + _LOi, + _XO, + _OO, + _OLO, + _POO, + _FOa, + _YO, + _RO, + _ZO, + _TO, + _SOp, + _DOr, + _NO, + _HO, + _CAO, + _FAO, + _AOu, + _COo, + ), + ( + (-1, {_sVm: _GO}), + (-1, {_sVm: _GOi}), + (-1, {_sVm: _SOl}), + (-1, {_sVm: _SOa}), + (-1, {_sVm: _MOi}), + (-1, {_sVm: _COu}), + (-1, {_sVm: _AOt}), + (-1, {_sVm: _LOi}), + (-1, {_sVm: _XO}), + (-1, {_sVm: _OO}), + (-1, {_sVm: _OLO}), + (-1, {_sVm: _POO}), + (-1, {_sVm: _FOa}), + (-1, {_sVm: _YO}), + (-1, {_sVm: _RO}), + (-1, {_sVm: _ZO}), + (-1, {_sVm: _TO}), + (-1, {_sVm: _SOp}), + (-1, {_sVm: _DOr}), + (-1, {_sVm: _NO}), + (-1, {_sVm: _HO}), + (-1, {_sVm: _CAO}), + (-1, {_sVm: _FAO}), + (-1, {_sVm: _AOu}), + (-1, {_sVm: _COo}), + ), +) + +OAUTH2_PROVIDER_CONFIG_INPUT: StaticSchema = ( + 19, + n0, + _OPCI, + 0, + (_cOPC, _gOPC, _gOPCi, _sOPC, _sOPCa, _mOPC, _aOPC, _lOPC, _iOPC), + ( + (lambda: schemas.CUSTOM_OAUTH2_PROVIDER_CONFIG_INPUT, 0), + (lambda: schemas.GOOGLE_OAUTH2_PROVIDER_CONFIG_INPUT, 0), + (lambda: schemas.GITHUB_OAUTH2_PROVIDER_CONFIG_INPUT, 0), + (lambda: schemas.SLACK_OAUTH2_PROVIDER_CONFIG_INPUT, 0), + (lambda: schemas.SALESFORCE_OAUTH2_PROVIDER_CONFIG_INPUT, 0), + (lambda: schemas.MICROSOFT_OAUTH2_PROVIDER_CONFIG_INPUT, 0), + (lambda: schemas.ATLASSIAN_OAUTH2_PROVIDER_CONFIG_INPUT, 0), + (lambda: schemas.LINKEDIN_OAUTH2_PROVIDER_CONFIG_INPUT, 0), + (lambda: schemas.INCLUDED_OAUTH2_PROVIDER_CONFIG_INPUT, 0), + ), +) + +CREATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _COCPI, + {_sSI: _cCOCPR, _smith: None}, + (_n, _cPVr, _oPCI, _t), + ( + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (OAUTH2_PROVIDER_CONFIG_INPUT, 1), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _COCPO, + {_sSI: _cCOCPRo, _smithy: None}, + (_cSA, _cSJK, _cSS, _n, _cPAr, _cUa, _oPCO, _st), + ( + (lambda: schemas.SECRET, 1), + (lambda: schemas.SECRET_JSON_KEY_TYPE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (lambda: CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (3, 0), + (lambda: OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + (lambda: STATUS, 0), + ), +) + +CREATE_OAUTH2_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _COCP, + { + _smithya: MappingProxyType( + { + "code": 201, + "uri": "/identities/CreateOauth2CredentialProvider", + "method": "POST", + } + ) + }, + CREATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT, + CREATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DECRYPTION_FAILURE, + lambda: schemas.ENCRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREDENTIAL_PROVIDER_ARN_TYPE: StaticSchema = (3, n0, _CPATr, 0) + +ATLASSIAN_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _AOPCO, + 0, + (_oD, _cIl), + ((lambda: schemas.OAUTH2_DISCOVERY, 1), (lambda: schemas.CLIENT_ID_TYPE, 0)), +) + +CUSTOM_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _COPCO, + 0, + (_oD, _cIl, _oBOTEC, _cAM, _pE, _pEO, _cCe, _pKJC), + ( + (lambda: schemas.OAUTH2_DISCOVERY, 1), + (lambda: schemas.CLIENT_ID_TYPE, 0), + (lambda: schemas.ON_BEHALF_OF_TOKEN_EXCHANGE_CONFIG_TYPE, 0), + (lambda: schemas.CLIENT_AUTHENTICATION_METHOD_TYPE, 0), + (lambda: schemas.PRIVATE_ENDPOINT, 0), + (lambda: schemas.PRIVATE_ENDPOINT_OVERRIDES, 0), + (lambda: schemas.CERTIFICATE_CONFIGURATION_LIST, 0), + (lambda: schemas.PRIVATE_KEY_JWT_CONFIG, 0), + ), +) + +GITHUB_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GOPCO, + 0, + (_oD, _cIl), + ((lambda: schemas.OAUTH2_DISCOVERY, 1), (lambda: schemas.CLIENT_ID_TYPE, 0)), +) + +GOOGLE_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GOPCOo, + 0, + (_oD, _cIl), + ((lambda: schemas.OAUTH2_DISCOVERY, 1), (lambda: schemas.CLIENT_ID_TYPE, 0)), +) + +INCLUDED_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _IOPCO, + 0, + (_oD, _cIl), + ((lambda: schemas.OAUTH2_DISCOVERY, 1), (lambda: schemas.CLIENT_ID_TYPE, 0)), +) + +LINKEDIN_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _LOPCO, + 0, + (_oD, _cIl), + ((lambda: schemas.OAUTH2_DISCOVERY, 1), (lambda: schemas.CLIENT_ID_TYPE, 0)), +) + +MICROSOFT_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _MOPCO, + 0, + (_oD, _cIl), + ((lambda: schemas.OAUTH2_DISCOVERY, 1), (lambda: schemas.CLIENT_ID_TYPE, 0)), +) + +SALESFORCE_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _SOPCO, + 0, + (_oD, _cIl), + ((lambda: schemas.OAUTH2_DISCOVERY, 1), (lambda: schemas.CLIENT_ID_TYPE, 0)), +) + +SLACK_OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _SOPCOl, + 0, + (_oD, _cIl), + ((lambda: schemas.OAUTH2_DISCOVERY, 1), (lambda: schemas.CLIENT_ID_TYPE, 0)), +) + +OAUTH2_PROVIDER_CONFIG_OUTPUT: StaticSchema = ( + 19, + n0, + _OPCO, + 0, + (_cOPC, _gOPC, _gOPCi, _sOPC, _sOPCa, _mOPC, _aOPC, _lOPC, _iOPC), + ( + (CUSTOM_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + (GOOGLE_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + (GITHUB_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + (SLACK_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + (SALESFORCE_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + (MICROSOFT_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + (ATLASSIAN_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + (LINKEDIN_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + (INCLUDED_OAUTH2_PROVIDER_CONFIG_OUTPUT, 0), + ), +) + +STATUS: StaticSchema = ( + 14, + n0, + _St, + 0, + (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + ), +) + +DELETE_OAUTH2_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DOCPI, + {_sSI: _cDOCPR, _smith: None}, + (_n,), + ((lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1),), +) + +DELETE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _DOCPO, + {_sSI: _cDOCPRo, _smithy: None}, +) + +DELETE_OAUTH2_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DOCP, + { + _smithya: MappingProxyType( + { + "code": 204, + "uri": "/identities/DeleteOauth2CredentialProvider", + "method": "POST", + } + ) + }, + DELETE_OAUTH2_CREDENTIAL_PROVIDER_INPUT, + DELETE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_OAUTH2_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _GOCPI, + {_sSI: _cGOCPR, _smith: None}, + (_n,), + ((lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1),), +) + +GET_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _GOCPO, + {_sSI: _cGOCPRo, _smithy: None}, + (_cSA, _cSJK, _cSS, _n, _cPAr, _cPVr, _cUa, _oPCO, _cTr, _lUT, _st, _fR), + ( + (lambda: schemas.SECRET, 1), + (lambda: schemas.SECRET_JSON_KEY_TYPE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (3, 0), + (OAUTH2_PROVIDER_CONFIG_OUTPUT, 1), + (4, 1), + (4, 1), + (STATUS, 0), + (3, 0), + ), +) + +GET_OAUTH2_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _GOCP, + { + _smithya: MappingProxyType( + {"uri": "/identities/GetOauth2CredentialProvider", "method": "POST"} + ) + }, + GET_OAUTH2_CREDENTIAL_PROVIDER_INPUT, + GET_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.DECRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_OAUTH2_CREDENTIAL_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _LOCPI, + {_sSI: _cLOCPR, _smith: None}, + (_nT, _mR), + ((3, 0), (7, {_smi: 10})), +) + +LIST_OAUTH2_CREDENTIAL_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LOCPO, + {_sSI: _cLOCPRo, _smithy: None}, + (_cP, _nT), + ((lambda: OAUTH2_CREDENTIAL_PROVIDERS, 1), (3, 0)), +) + +LIST_OAUTH2_CREDENTIAL_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _LOCP, + { + _smithya: MappingProxyType( + {"uri": "/identities/ListOauth2CredentialProviders", "method": "POST"} + ) + }, + LIST_OAUTH2_CREDENTIAL_PROVIDERS_INPUT, + LIST_OAUTH2_CREDENTIAL_PROVIDERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +OAUTH2_CREDENTIAL_PROVIDER_ITEM: StaticSchema = ( + 18, + n0, + _OCPI, + 0, + (_n, _cPVr, _cPAr, _cTr, _lUT), + ( + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (4, 1), + (4, 1), + ), +) + +OAUTH2_CREDENTIAL_PROVIDERS: StaticSchema = ( + 16, + n0, + _OCP, + 0, + (_mem,), + ((OAUTH2_CREDENTIAL_PROVIDER_ITEM, 0),), +) + +UPDATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _UOCPI, + {_sSI: _cUOCPR, _smith: None}, + (_n, _cPVr, _oPCI), + ( + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (OAUTH2_PROVIDER_CONFIG_INPUT, 1), + ), +) + +UPDATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _UOCPO, + {_sSI: _cUOCPRo, _smithy: None}, + (_cSA, _cSJK, _cSS, _n, _cPVr, _cPAr, _cUa, _oPCO, _cTr, _lUT, _st), + ( + (lambda: schemas.SECRET, 1), + (lambda: schemas.SECRET_JSON_KEY_TYPE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (3, 0), + (OAUTH2_PROVIDER_CONFIG_OUTPUT, 1), + (4, 1), + (4, 1), + (STATUS, 0), + ), +) + +UPDATE_OAUTH2_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _UOCP, + { + _smithya: MappingProxyType( + {"uri": "/identities/UpdateOauth2CredentialProvider", "method": "POST"} + ) + }, + UPDATE_OAUTH2_CREDENTIAL_PROVIDER_INPUT, + UPDATE_OAUTH2_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DECRYPTION_FAILURE, + lambda: schemas.ENCRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CLUSTERING_FREQUENCY: StaticSchema = ( + 14, + n0, + _CFl, + 0, + (_DAILY, _WEEKLY, _MONTHLY), + ((-1, {_sVm: _DAILY}), (-1, {_sVm: _WEEKLY}), (-1, {_sVm: _MONTHLY})), +) + +CLUSTERING_FREQUENCY_LIST: StaticSchema = ( + 16, + n0, + _CFL, + 0, + (_mem,), + ((CLUSTERING_FREQUENCY, 0),), +) + +CLUSTERING_CONFIG: StaticSchema = ( + 18, + n0, + _CCl, + 0, + (_fre,), + ((CLUSTERING_FREQUENCY_LIST, 1),), +) + +LOG_GROUP_NAME_PREFIX: StaticSchema = (3, n0, _LGNP, 0) + +LOG_GROUP_NAME_PREFIX_LIST: StaticSchema = ( + 16, + n0, + _LGNPL, + 0, + (_mem,), + ((LOG_GROUP_NAME_PREFIX, 0),), +) + +LOG_GROUP_NAME: StaticSchema = (3, n0, _LGN, 0) + +LOG_GROUP_NAMES_LIST: StaticSchema = (16, n0, _LGNL, 0, (_mem,), ((LOG_GROUP_NAME, 0),)) + +SERVICE_NAME: StaticSchema = (3, n0, _SNe, 0) + +SERVICE_NAMES_LIST: StaticSchema = (16, n0, _SNL, 0, (_mem,), ((SERVICE_NAME, 0),)) + +CLOUD_WATCH_LOGS_INPUT_CONFIG: StaticSchema = ( + 18, + n0, + _CWLIC, + 0, + (_lGN, _lGNP, _sNe), + ( + (LOG_GROUP_NAMES_LIST, {_smi: ()}), + (LOG_GROUP_NAME_PREFIX_LIST, 0), + (SERVICE_NAMES_LIST, 1), + ), +) + +DATA_SOURCE_CONFIG: StaticSchema = ( + 19, + n0, + _DSC, + 0, + (_cWL,), + ((CLOUD_WATCH_LOGS_INPUT_CONFIG, 0),), +) + +EVALUATION_CONFIG_DESCRIPTION: StaticSchema = (3, n0, _ECD, 4) + +EVALUATOR_REFERENCE: StaticSchema = ( + 19, + n0, + _ER, + 0, + (_eIv,), + ((lambda: schemas.EVALUATOR_ID, 0),), +) + +EVALUATOR_LIST: StaticSchema = (16, n0, _ELv, 0, (_mem,), ((EVALUATOR_REFERENCE, 0),)) + +INSIGHT_ID: StaticSchema = (3, n0, _II, 0) + +INSIGHT: StaticSchema = (18, n0, _I, 0, (_iI,), ((INSIGHT_ID, 1),)) + +INSIGHT_LIST: StaticSchema = (16, n0, _IL, 0, (_mem,), ((INSIGHT, 0),)) + +EVALUATION_CONFIG_NAME: StaticSchema = (3, n0, _ECN, 0) + +OPTIONAL_LOG_GROUP_NAME: StaticSchema = (3, n0, _OLGN, 0) + +METRICS_NAMESPACE: StaticSchema = (3, n0, _MN, 0) + +RESULT_DESTINATION: StaticSchema = ( + 14, + n0, + _RDe, + 0, + (_DLG, _SLG), + ((-1, {_sVm: _DLG}), (-1, {_sVm: _SLG})), +) + +CLOUD_WATCH_OUTPUT_CONFIG: StaticSchema = ( + 18, + n0, + _CWOC, + 0, + (_lGNo, _mN, _rDe), + ( + (OPTIONAL_LOG_GROUP_NAME, {_smi: _v_}), + (METRICS_NAMESPACE, 0), + (RESULT_DESTINATION, {_smi: _DLG}), + ), +) + +OUTPUT_CONFIG: StaticSchema = ( + 18, + n0, + _OC, + 0, + (_cWC,), + ((CLOUD_WATCH_OUTPUT_CONFIG, 1),), +) + +FILTER_OPERATOR: StaticSchema = ( + 14, + n0, + _FOi, + 0, + (_EQUALS, _NE, _GT, _LT, _GTOE, _LTOE, _CONTAINS, _NC__), + ( + (-1, {_sVm: _E}), + (-1, {_sVm: _NEo}), + (-1, {_sVm: _GTr}), + (-1, {_sVm: _LTe}), + (-1, {_sVm: _GTOEr}), + (-1, {_sVm: _LTOEe}), + (-1, {_sVm: _Cont}), + (-1, {_sVm: _NCo}), + ), +) + +FILTER_VALUE: StaticSchema = ( + 19, + n0, + _FV, + 0, + (_sVtr, _dVo, _bVo), + ((3, 0), (10, 0), (2, 0)), +) + +FILTER: StaticSchema = ( + 18, + n0, + _Fi, + 0, + (_k, _op, _v), + ((3, 1), (FILTER_OPERATOR, 1), (FILTER_VALUE, 1)), +) + +FILTER_LIST: StaticSchema = (16, n0, _FL, 0, (_mem,), ((FILTER, 0),)) + +SAMPLING_PERCENTAGE: StaticSchema = (10, n0, _SPa, 0) + +SAMPLING_CONFIG: StaticSchema = (18, n0, _SCa, 0, (_sPa,), ((SAMPLING_PERCENTAGE, 1),)) + +SESSION_CONFIG: StaticSchema = (18, n0, _SCes, 0, (_sTM,), ((7, 1),)) + +RULE: StaticSchema = ( + 18, + n0, + _R, + 0, + (_sCa, _fil, _sCes), + ((SAMPLING_CONFIG, 1), (FILTER_LIST, 0), (SESSION_CONFIG, 0)), +) + +CREATE_ONLINE_EVALUATION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _COECI, + {_sSI: _cCOECR, _smith: None}, + (_cT, _oECN, _d, _rul, _dSC, _ev, _ins, _cCl, _oC, _eERA, _eOC, _t), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (EVALUATION_CONFIG_NAME, 1), + (EVALUATION_CONFIG_DESCRIPTION, 0), + (RULE, 1), + (DATA_SOURCE_CONFIG, 1), + (EVALUATOR_LIST, 0), + (INSIGHT_LIST, 0), + (CLUSTERING_CONFIG, 0), + (OUTPUT_CONFIG, 0), + (lambda: schemas.ROLE_ARN, 1), + (2, 1), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_ONLINE_EVALUATION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _COECO, + {_sSI: _cCOECRo, _smithy: None}, + (_oECA, _oECI, _cA, _oC, _st, _eS, _fR), + ( + (lambda: ONLINE_EVALUATION_CONFIG_ARN, 1), + (lambda: ONLINE_EVALUATION_CONFIG_ID, 1), + (4, 1), + (OUTPUT_CONFIG, 0), + (lambda: ONLINE_EVALUATION_CONFIG_STATUS, 1), + (lambda: ONLINE_EVALUATION_EXECUTION_STATUS, 1), + (3, 0), + ), +) + +CREATE_ONLINE_EVALUATION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _COEC, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/online-evaluation-configs/create", "code": 202} + ) + }, + CREATE_ONLINE_EVALUATION_CONFIG_INPUT, + CREATE_ONLINE_EVALUATION_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ONLINE_EVALUATION_EXECUTION_STATUS: StaticSchema = ( + 14, + n0, + _OEES, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sVm: _ENABLED}), (-1, {_sVm: _DISABLED})), +) + +ONLINE_EVALUATION_CONFIG_ARN: StaticSchema = (3, n0, _OECA, 0) + +ONLINE_EVALUATION_CONFIG_ID: StaticSchema = (3, n0, _OECI, 0) + +ONLINE_EVALUATION_CONFIG_STATUS: StaticSchema = ( + 14, + n0, + _OECS, + 0, + (_ACTIVE, _CREATING, _CF, _UPDATING, _UF, _DELETING, _ERROR), + ( + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _ERROR}), + ), +) + +DELETE_ONLINE_EVALUATION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _DOECI, + {_sSI: _cDOECR, _smith: None}, + (_oECI,), + ((ONLINE_EVALUATION_CONFIG_ID, 9),), +) + +DELETE_ONLINE_EVALUATION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _DOECO, + {_sSI: _cDOECRo, _smithy: None}, + (_oECA, _oECI, _st), + ( + (ONLINE_EVALUATION_CONFIG_ARN, 1), + (ONLINE_EVALUATION_CONFIG_ID, 1), + (ONLINE_EVALUATION_CONFIG_STATUS, 1), + ), +) + +DELETE_ONLINE_EVALUATION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _DOEC, + { + _smithya: MappingProxyType( + { + "method": "DELETE", + "uri": "/online-evaluation-configs/{onlineEvaluationConfigId}", + "code": 202, + } + ) + }, + DELETE_ONLINE_EVALUATION_CONFIG_INPUT, + DELETE_ONLINE_EVALUATION_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_ONLINE_EVALUATION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GOECI, + {_sSI: _cGOECR, _smith: None}, + (_oECI,), + ((ONLINE_EVALUATION_CONFIG_ID, 9),), +) + +GET_ONLINE_EVALUATION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GOECO, + {_sSI: _cGOECRo, _smithy: None}, + ( + _oECA, + _oECI, + _oECN, + _d, + _rul, + _dSC, + _ev, + _ins, + _cCl, + _oC, + _eERA, + _st, + _eS, + _cA, + _uA, + _fR, + ), + ( + (ONLINE_EVALUATION_CONFIG_ARN, 1), + (ONLINE_EVALUATION_CONFIG_ID, 1), + (EVALUATION_CONFIG_NAME, 1), + (EVALUATION_CONFIG_DESCRIPTION, 0), + (RULE, 1), + (DATA_SOURCE_CONFIG, 1), + (EVALUATOR_LIST, {_smi: ()}), + (INSIGHT_LIST, 0), + (CLUSTERING_CONFIG, 0), + (OUTPUT_CONFIG, 0), + (lambda: schemas.ROLE_ARN, 0), + (ONLINE_EVALUATION_CONFIG_STATUS, 1), + (ONLINE_EVALUATION_EXECUTION_STATUS, 1), + (4, 1), + (4, 1), + (3, 0), + ), +) + +GET_ONLINE_EVALUATION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GOEC, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/online-evaluation-configs/{onlineEvaluationConfigId}", + } + ) + }, + GET_ONLINE_EVALUATION_CONFIG_INPUT, + GET_ONLINE_EVALUATION_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_ONLINE_EVALUATION_CONFIGS_INPUT: StaticSchema = ( + 18, + n0, + _LOECI, + {_sSI: _cLOECR, _smith: None}, + (_nT, _mR), + ((3, {_sQ: _nT}), (7, {_sQ: _mR})), +) + +LIST_ONLINE_EVALUATION_CONFIGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LOECO, + {_sSI: _cLOECRo, _smithy: None}, + (_oEC, _nT), + ((lambda: ONLINE_EVALUATION_CONFIG_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_ONLINE_EVALUATION_CONFIGS: StaticOperationSchema = ( + 23, + n0, + _LOEC, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/online-evaluation-configs"} + ) + }, + LIST_ONLINE_EVALUATION_CONFIGS_INPUT, + LIST_ONLINE_EVALUATION_CONFIGS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ONLINE_EVALUATION_CONFIG_SUMMARY: StaticSchema = ( + 18, + n0, + _OECSn, + 0, + (_oECA, _oECI, _oECN, _d, _st, _eS, _cA, _uA, _fR, _ins, _cCl), + ( + (ONLINE_EVALUATION_CONFIG_ARN, 1), + (ONLINE_EVALUATION_CONFIG_ID, 1), + (EVALUATION_CONFIG_NAME, 1), + (EVALUATION_CONFIG_DESCRIPTION, 0), + (ONLINE_EVALUATION_CONFIG_STATUS, 1), + (ONLINE_EVALUATION_EXECUTION_STATUS, 1), + (4, 1), + (4, 1), + (3, 0), + (INSIGHT_LIST, 0), + (CLUSTERING_CONFIG, 0), + ), +) + +ONLINE_EVALUATION_CONFIG_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _OECSL, + 0, + (_mem,), + ((ONLINE_EVALUATION_CONFIG_SUMMARY, 0),), +) + +UPDATE_ONLINE_EVALUATION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _UOECI, + {_sSI: _cUOECR, _smith: None}, + (_cT, _oECI, _d, _rul, _dSC, _ev, _ins, _cCl, _oC, _eERA, _eS), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (ONLINE_EVALUATION_CONFIG_ID, 9), + (EVALUATION_CONFIG_DESCRIPTION, 0), + (RULE, 0), + (DATA_SOURCE_CONFIG, 0), + (EVALUATOR_LIST, 0), + (INSIGHT_LIST, 0), + (CLUSTERING_CONFIG, 0), + (OUTPUT_CONFIG, 0), + (lambda: schemas.ROLE_ARN, 0), + (ONLINE_EVALUATION_EXECUTION_STATUS, 0), + ), +) + +UPDATE_ONLINE_EVALUATION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _UOECO, + {_sSI: _cUOECRo, _smithy: None}, + (_oECA, _oECI, _uA, _st, _eS, _fR), + ( + (ONLINE_EVALUATION_CONFIG_ARN, 1), + (ONLINE_EVALUATION_CONFIG_ID, 1), + (4, 1), + (ONLINE_EVALUATION_CONFIG_STATUS, 1), + (ONLINE_EVALUATION_EXECUTION_STATUS, 1), + (3, 0), + ), +) + +UPDATE_ONLINE_EVALUATION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _UOEC, + { + _smithya: MappingProxyType( + { + "method": "PUT", + "uri": "/online-evaluation-configs/{onlineEvaluationConfigId}", + "code": 202, + } + ) + }, + UPDATE_ONLINE_EVALUATION_CONFIG_INPUT, + UPDATE_ONLINE_EVALUATION_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_12.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_12.py new file mode 100644 index 000000000..c5070553c --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_12.py @@ -0,0 +1,1231 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_sm = "smithy.api#required" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_DF = "DELETE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_smithya = "smithy.api#http" +_t = "tags" +_READY = "READY" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_lUA = "lastUpdatedAt" +_mR = "maxResults" +_nT = "nextToken" +_rA = "roleArn" +_aCu = "authorizerConfiguration" +_wID = "workloadIdentityDetails" +_v_ = "" +_aKSC = "apiKeySecretConfig" +_aKSS = "apiKeySecretSource" +_aKSA = "apiKeySecretArn" +_aKSJK = "apiKeySecretJsonKey" +_cPAr = "credentialProviderArn" +_cTr = "createdTime" +_lUT = "lastUpdatedTime" +_cP = "credentialProviders" +_ty = "type" +_kKA = "kmsKeyArn" +_CJ = "CUSTOM_JWT" +_AI = "AWS_IAM" +_aT = "authorizerType" +_AK = "API_KEY" +_aU = "authorizationUrl" +_cPVr = "credentialProviderVendor" +_PCPVT = "PaymentCredentialProviderVendorType" +_CCDP = "CoinbaseCDP" +_SPt = "StripePrivy" +_CCAKIT = "CoinbaseCdpApiKeyIdType" +_DCCAKST = "DefaultCoinbaseCdpApiKeySecretType" +_DCCWST = "DefaultCoinbaseCdpWalletSecretType" +_CCCIo = "CoinbaseCdpConfigurationInput" +_aKI = "apiKeyId" +_aKS = "apiKeySecret" +_wS = "walletSecret" +_wSS = "walletSecretSource" +_wSC = "walletSecretConfig" +_SPAIT = "StripePrivyAppIdType" +_DSPAST = "DefaultStripePrivyAppSecretType" +_SPAITt = "StripePrivyAuthorizationIdType" +_DSPAPKT = "DefaultStripePrivyAuthorizationPrivateKeyType" +_SPCI = "StripePrivyConfigurationInput" +_aIp = "appId" +_aSp = "appSecret" +_aSS = "appSecretSource" +_aSC = "appSecretConfig" +_aPK = "authorizationPrivateKey" +_aPKS = "authorizationPrivateKeySource" +_aPKC = "authorizationPrivateKeyConfig" +_aIu = "authorizationId" +_PPCI = "PaymentProviderConfigurationInput" +_cCCo = "coinbaseCdpConfiguration" +_sPC = "stripePrivyConfiguration" +_CPCPI = "CreatePaymentCredentialProviderInput" +_cCPCPR = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentCredentialProviderRequest" +_pCI = "providerConfigurationInput" +_PCPAT = "PaymentCredentialProviderArnType" +_CCCO = "CoinbaseCdpConfigurationOutput" +_wSA = "walletSecretArn" +_wSJK = "walletSecretJsonKey" +_SPCO = "StripePrivyConfigurationOutput" +_aSA = "appSecretArn" +_aSJK = "appSecretJsonKey" +_aPKA = "authorizationPrivateKeyArn" +_aPKJK = "authorizationPrivateKeyJsonKey" +_PPCO = "PaymentProviderConfigurationOutput" +_CPCPO = "CreatePaymentCredentialProviderOutput" +_cCPCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#CreatePaymentCredentialProviderResponse" +) +_pCO = "providerConfigurationOutput" +_CPCP = "CreatePaymentCredentialProvider" +_DPCPI = "DeletePaymentCredentialProviderInput" +_cDPCPR = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentCredentialProviderRequest" +_DPCPO = "DeletePaymentCredentialProviderOutput" +_cDPCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#DeletePaymentCredentialProviderResponse" +) +_DPCP = "DeletePaymentCredentialProvider" +_GPCPI = "GetPaymentCredentialProviderInput" +_cGPCPR = "com.amazonaws.bedrockagentcorecontrol#GetPaymentCredentialProviderRequest" +_GPCPO = "GetPaymentCredentialProviderOutput" +_cGPCPRo = "com.amazonaws.bedrockagentcorecontrol#GetPaymentCredentialProviderResponse" +_GPCP = "GetPaymentCredentialProvider" +_LPCPI = "ListPaymentCredentialProvidersInput" +_cLPCPR = "com.amazonaws.bedrockagentcorecontrol#ListPaymentCredentialProvidersRequest" +_PCPI = "PaymentCredentialProviderItem" +_PCP = "PaymentCredentialProviders" +_LPCPO = "ListPaymentCredentialProvidersOutput" +_cLPCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#ListPaymentCredentialProvidersResponse" +) +_LPCP = "ListPaymentCredentialProviders" +_UPCPI = "UpdatePaymentCredentialProviderInput" +_cUPCPR = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentCredentialProviderRequest" +_UPCPO = "UpdatePaymentCredentialProviderOutput" +_cUPCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentCredentialProviderResponse" +) +_UPCP = "UpdatePaymentCredentialProvider" +_PAT = "PaymentsAuthorizerType" +_PD = "PaymentsDescription" +_PMN = "PaymentManagerName" +_CPMI = "CreatePaymentManagerInput" +_cCPMR = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentManagerRequest" +_PMA = "PaymentManagerArn" +_PMI = "PaymentManagerId" +_PMS = "PaymentManagerStatus" +_CPMO = "CreatePaymentManagerOutput" +_cCPMRo = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentManagerResponse" +_pMA = "paymentManagerArn" +_pMI = "paymentManagerId" +_CPM = "CreatePaymentManager" +_DPMI = "DeletePaymentManagerInput" +_cDPMR = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentManagerRequest" +_DPMO = "DeletePaymentManagerOutput" +_cDPMRo = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentManagerResponse" +_DPM = "DeletePaymentManager" +_GPMI = "GetPaymentManagerInput" +_cGPMR = "com.amazonaws.bedrockagentcorecontrol#GetPaymentManagerRequest" +_GPMO = "GetPaymentManagerOutput" +_cGPMRo = "com.amazonaws.bedrockagentcorecontrol#GetPaymentManagerResponse" +_GPM = "GetPaymentManager" +_LPMI = "ListPaymentManagersInput" +_cLPMR = "com.amazonaws.bedrockagentcorecontrol#ListPaymentManagersRequest" +_PMSa = "PaymentManagerSummary" +_PMSay = "PaymentManagerSummaries" +_LPMO = "ListPaymentManagersOutput" +_cLPMRo = "com.amazonaws.bedrockagentcorecontrol#ListPaymentManagersResponse" +_pM = "paymentManagers" +_LPM = "ListPaymentManagers" +_PCPA = "PaymentCredentialProviderArn" +_PCPC = "PaymentCredentialProviderConfiguration" +_CPCred = "CredentialsProviderConfiguration" +_cCDP = "coinbaseCDP" +_sPt = "stripePrivy" +_CPCrede = "CredentialsProviderConfigurations" +_PCN = "PaymentConnectorName" +_PCPM = "PaymentConnectorProvisionMode" +_MANUAL = "MANUAL" +_QC = "QUICK_CREATE" +_PCT = "PaymentConnectorType" +_CC___ = "COINBASE_CDP" +_SP_ = "STRIPE_PRIVY" +_CPCI = "CreatePaymentConnectorInput" +_cCPCR = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentConnectorRequest" +_cPCr = "credentialProviderConfigurations" +_pMr = "provisionMode" +_PCAU = "PaymentConnectorAuthorizationUrl" +_PCI = "PaymentConnectorId" +_PCS = "PaymentConnectorStatus" +_AMSR = "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" +_PA = "PENDING_AUTHENTICATION" +_PROVISIONING = "PROVISIONING" +_AE_ = "AUTHENTICATION_EXPIRED" +_AF = "AUTHENTICATION_FAILED" +_CPCO = "CreatePaymentConnectorOutput" +_cCPCRo = "com.amazonaws.bedrockagentcorecontrol#CreatePaymentConnectorResponse" +_pCIa = "paymentConnectorId" +_SRE = "SubscriptionRequiredException" +_sUu = "subscriptionUrl" +_pN = "productName" +_CPCrea = "CreatePaymentConnector" +_DPCI = "DeletePaymentConnectorInput" +_cDPCR = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentConnectorRequest" +_DPCO = "DeletePaymentConnectorOutput" +_cDPCRo = "com.amazonaws.bedrockagentcorecontrol#DeletePaymentConnectorResponse" +_DPC = "DeletePaymentConnector" +_GPCI = "GetPaymentConnectorInput" +_cGPCR = "com.amazonaws.bedrockagentcorecontrol#GetPaymentConnectorRequest" +_GPCO = "GetPaymentConnectorOutput" +_cGPCRo = "com.amazonaws.bedrockagentcorecontrol#GetPaymentConnectorResponse" +_cUA = "credentialsUpdatedAt" +_GPCe = "GetPaymentConnector" +_LPCI = "ListPaymentConnectorsInput" +_cLPCR = "com.amazonaws.bedrockagentcorecontrol#ListPaymentConnectorsRequest" +_PCSa = "PaymentConnectorSummary" +_PCSay = "PaymentConnectorSummaries" +_LPCO = "ListPaymentConnectorsOutput" +_cLPCRo = "com.amazonaws.bedrockagentcorecontrol#ListPaymentConnectorsResponse" +_pCa = "paymentConnectors" +_LPC = "ListPaymentConnectors" +_CCS = "CoinbaseCdpSecret" +_WS = "WALLET_SECRET" +_CCSo = "CoinbaseCdpSecrets" +_CCRT = "CoinbaseCdpRotationTargets" +_secr = "secrets" +_CRCr = "CredentialRotationConfig" + +PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE: StaticSchema = ( + 14, + n0, + _PCPVT, + 0, + (_CCDP, _SPt), + ((-1, {_sVm: _CCDP}), (-1, {_sVm: _SPt})), +) + +COINBASE_CDP_API_KEY_ID_TYPE: StaticSchema = (3, n0, _CCAKIT, 0) + +DEFAULT_COINBASE_CDP_API_KEY_SECRET_TYPE: StaticSchema = (3, n0, _DCCAKST, 4) + +DEFAULT_COINBASE_CDP_WALLET_SECRET_TYPE: StaticSchema = (3, n0, _DCCWST, 4) + +COINBASE_CDP_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _CCCIo, + 0, + (_aKI, _aKS, _aKSS, _aKSC, _wS, _wSS, _wSC), + ( + (COINBASE_CDP_API_KEY_ID_TYPE, 1), + (DEFAULT_COINBASE_CDP_API_KEY_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (lambda: schemas.SECRET_REFERENCE, 0), + (DEFAULT_COINBASE_CDP_WALLET_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (lambda: schemas.SECRET_REFERENCE, 0), + ), +) + +STRIPE_PRIVY_APP_ID_TYPE: StaticSchema = (3, n0, _SPAIT, 0) + +DEFAULT_STRIPE_PRIVY_APP_SECRET_TYPE: StaticSchema = (3, n0, _DSPAST, 4) + +STRIPE_PRIVY_AUTHORIZATION_ID_TYPE: StaticSchema = (3, n0, _SPAITt, 0) + +DEFAULT_STRIPE_PRIVY_AUTHORIZATION_PRIVATE_KEY_TYPE: StaticSchema = (3, n0, _DSPAPKT, 4) + +STRIPE_PRIVY_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _SPCI, + 0, + (_aIp, _aSp, _aSS, _aSC, _aPK, _aPKS, _aPKC, _aIu), + ( + (STRIPE_PRIVY_APP_ID_TYPE, 1), + (DEFAULT_STRIPE_PRIVY_APP_SECRET_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (lambda: schemas.SECRET_REFERENCE, 0), + (DEFAULT_STRIPE_PRIVY_AUTHORIZATION_PRIVATE_KEY_TYPE, {_smi: _v_}), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (lambda: schemas.SECRET_REFERENCE, 0), + (STRIPE_PRIVY_AUTHORIZATION_ID_TYPE, 1), + ), +) + +PAYMENT_PROVIDER_CONFIGURATION_INPUT: StaticSchema = ( + 19, + n0, + _PPCI, + 0, + (_cCCo, _sPC), + ((COINBASE_CDP_CONFIGURATION_INPUT, 0), (STRIPE_PRIVY_CONFIGURATION_INPUT, 0)), +) + +CREATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _CPCPI, + {_sSI: _cCPCPR, _smith: None}, + (_n, _cPVr, _pCI, _t), + ( + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (PAYMENT_PROVIDER_CONFIGURATION_INPUT, 1), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _CPCPO, + {_sSI: _cCPCPRo, _smithy: None}, + (_n, _cPVr, _cPAr, _pCO), + ( + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (lambda: PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (lambda: PAYMENT_PROVIDER_CONFIGURATION_OUTPUT, 1), + ), +) + +CREATE_PAYMENT_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _CPCP, + { + _smithya: MappingProxyType( + { + "code": 201, + "uri": "/identities/CreatePaymentCredentialProvider", + "method": "POST", + } + ) + }, + CREATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT, + CREATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DECRYPTION_FAILURE, + lambda: schemas.ENCRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE: StaticSchema = (3, n0, _PCPAT, 0) + +COINBASE_CDP_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CCCO, + 0, + (_aKI, _aKSA, _aKSJK, _aKSS, _wSA, _wSJK, _wSS), + ( + (COINBASE_CDP_API_KEY_ID_TYPE, 1), + (lambda: schemas.SECRET, 1), + (lambda: schemas.SECRET_JSON_KEY_TYPE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (lambda: schemas.SECRET, 1), + (lambda: schemas.SECRET_JSON_KEY_TYPE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + ), +) + +STRIPE_PRIVY_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _SPCO, + 0, + (_aIp, _aSA, _aSJK, _aSS, _aPKA, _aPKJK, _aPKS, _aIu), + ( + (STRIPE_PRIVY_APP_ID_TYPE, 1), + (lambda: schemas.SECRET, 1), + (lambda: schemas.SECRET_JSON_KEY_TYPE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (lambda: schemas.SECRET, 1), + (lambda: schemas.SECRET_JSON_KEY_TYPE, 0), + (lambda: schemas.SECRET_SOURCE_TYPE, 0), + (STRIPE_PRIVY_AUTHORIZATION_ID_TYPE, 1), + ), +) + +PAYMENT_PROVIDER_CONFIGURATION_OUTPUT: StaticSchema = ( + 19, + n0, + _PPCO, + 0, + (_cCCo, _sPC), + ((COINBASE_CDP_CONFIGURATION_OUTPUT, 0), (STRIPE_PRIVY_CONFIGURATION_OUTPUT, 0)), +) + +DELETE_PAYMENT_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DPCPI, + {_sSI: _cDPCPR, _smith: None}, + (_n,), + ((lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1),), +) + +DELETE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _DPCPO, + {_sSI: _cDPCPRo, _smithy: None}, +) + +DELETE_PAYMENT_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DPCP, + { + _smithya: MappingProxyType( + { + "code": 204, + "uri": "/identities/DeletePaymentCredentialProvider", + "method": "POST", + } + ) + }, + DELETE_PAYMENT_CREDENTIAL_PROVIDER_INPUT, + DELETE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_PAYMENT_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _GPCPI, + {_sSI: _cGPCPR, _smith: None}, + (_n,), + ((lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1),), +) + +GET_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _GPCPO, + {_sSI: _cGPCPRo, _smithy: None}, + (_n, _cPAr, _cPVr, _pCO, _cTr, _lUT, _t), + ( + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (PAYMENT_PROVIDER_CONFIGURATION_OUTPUT, 1), + (4, 1), + (4, 1), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +GET_PAYMENT_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _GPCP, + { + _smithya: MappingProxyType( + {"uri": "/identities/GetPaymentCredentialProvider", "method": "POST"} + ) + }, + GET_PAYMENT_CREDENTIAL_PROVIDER_INPUT, + GET_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.DECRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_PAYMENT_CREDENTIAL_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _LPCPI, + {_sSI: _cLPCPR, _smith: None}, + (_nT, _mR), + ((3, 0), (7, {_smi: 10})), +) + +LIST_PAYMENT_CREDENTIAL_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPCPO, + {_sSI: _cLPCPRo, _smithy: None}, + (_cP, _nT), + ((lambda: PAYMENT_CREDENTIAL_PROVIDERS, 1), (3, 0)), +) + +LIST_PAYMENT_CREDENTIAL_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _LPCP, + { + _smithya: MappingProxyType( + {"uri": "/identities/ListPaymentCredentialProviders", "method": "POST"} + ) + }, + LIST_PAYMENT_CREDENTIAL_PROVIDERS_INPUT, + LIST_PAYMENT_CREDENTIAL_PROVIDERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_CREDENTIAL_PROVIDER_ITEM: StaticSchema = ( + 18, + n0, + _PCPI, + 0, + (_n, _cPVr, _cPAr, _cTr, _lUT), + ( + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (4, 1), + (4, 1), + ), +) + +PAYMENT_CREDENTIAL_PROVIDERS: StaticSchema = ( + 16, + n0, + _PCP, + 0, + (_mem,), + ((PAYMENT_CREDENTIAL_PROVIDER_ITEM, 0),), +) + +UPDATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _UPCPI, + {_sSI: _cUPCPR, _smith: None}, + (_n, _cPVr, _pCI), + ( + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (PAYMENT_PROVIDER_CONFIGURATION_INPUT, 1), + ), +) + +UPDATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _UPCPO, + {_sSI: _cUPCPRo, _smithy: None}, + (_n, _cPVr, _cPAr, _pCO, _cTr, _lUT), + ( + (lambda: schemas.CREDENTIAL_PROVIDER_NAME, 1), + (PAYMENT_CREDENTIAL_PROVIDER_VENDOR_TYPE, 1), + (PAYMENT_CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (PAYMENT_PROVIDER_CONFIGURATION_OUTPUT, 1), + (4, 1), + (4, 1), + ), +) + +UPDATE_PAYMENT_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _UPCP, + { + _smithya: MappingProxyType( + {"uri": "/identities/UpdatePaymentCredentialProvider", "method": "POST"} + ) + }, + UPDATE_PAYMENT_CREDENTIAL_PROVIDER_INPUT, + UPDATE_PAYMENT_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DECRYPTION_FAILURE, + lambda: schemas.ENCRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENTS_AUTHORIZER_TYPE: StaticSchema = ( + 14, + n0, + _PAT, + 0, + (_CJ, _AI), + ((-1, {_sVm: _CJ}), (-1, {_sVm: _AI})), +) + +PAYMENTS_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) + +PAYMENT_MANAGER_NAME: StaticSchema = (3, n0, _PMN, 0) + +CREATE_PAYMENT_MANAGER_INPUT: StaticSchema = ( + 18, + n0, + _CPMI, + {_sSI: _cCPMR, _smith: None}, + (_n, _d, _aT, _aCu, _rA, _cT, _t, _kKA), + ( + (PAYMENT_MANAGER_NAME, 1), + (PAYMENTS_DESCRIPTION, 0), + (PAYMENTS_AUTHORIZER_TYPE, 1), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +CREATE_PAYMENT_MANAGER_OUTPUT: StaticSchema = ( + 18, + n0, + _CPMO, + {_sSI: _cCPMRo, _smithy: None}, + (_pMA, _pMI, _n, _aT, _aCu, _rA, _wID, _cA, _st, _t, _kKA), + ( + (lambda: PAYMENT_MANAGER_ARN, 1), + (lambda: PAYMENT_MANAGER_ID, 1), + (PAYMENT_MANAGER_NAME, 1), + (PAYMENTS_AUTHORIZER_TYPE, 1), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.WORKLOAD_IDENTITY_DETAILS, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: PAYMENT_MANAGER_STATUS, 1), + (lambda: schemas.TAGS_MAP, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +CREATE_PAYMENT_MANAGER: StaticOperationSchema = ( + 23, + n0, + _CPM, + { + _smithya: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/payments/managers"} + ) + }, + CREATE_PAYMENT_MANAGER_INPUT, + CREATE_PAYMENT_MANAGER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_MANAGER_ARN: StaticSchema = (3, n0, _PMA, 0) + +PAYMENT_MANAGER_ID: StaticSchema = (3, n0, _PMI, 0) + +PAYMENT_MANAGER_STATUS: StaticSchema = ( + 14, + n0, + _PMS, + 0, + (_CREATING, _UPDATING, _DELETING, _READY, _CF, _UF, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DF}), + ), +) + +DELETE_PAYMENT_MANAGER_INPUT: StaticSchema = ( + 18, + n0, + _DPMI, + {_sSI: _cDPMR, _smith: None}, + (_pMI, _cT), + ((PAYMENT_MANAGER_ID, 9), (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None})), +) + +DELETE_PAYMENT_MANAGER_OUTPUT: StaticSchema = ( + 18, + n0, + _DPMO, + {_sSI: _cDPMRo, _smithy: None}, + (_st, _pMI), + ((PAYMENT_MANAGER_STATUS, 1), (PAYMENT_MANAGER_ID, 0)), +) + +DELETE_PAYMENT_MANAGER: StaticOperationSchema = ( + 23, + n0, + _DPM, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/payments/managers/{paymentManagerId}", + } + ) + }, + DELETE_PAYMENT_MANAGER_INPUT, + DELETE_PAYMENT_MANAGER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +GET_PAYMENT_MANAGER_INPUT: StaticSchema = ( + 18, + n0, + _GPMI, + {_sSI: _cGPMR, _smith: None}, + (_pMI,), + ((PAYMENT_MANAGER_ID, 9),), +) + +GET_PAYMENT_MANAGER_OUTPUT: StaticSchema = ( + 18, + n0, + _GPMO, + {_sSI: _cGPMRo, _smithy: None}, + (_pMA, _pMI, _n, _d, _aT, _aCu, _rA, _wID, _cA, _lUA, _st, _t, _kKA), + ( + (PAYMENT_MANAGER_ARN, 1), + (PAYMENT_MANAGER_ID, 1), + (PAYMENT_MANAGER_NAME, 1), + (PAYMENTS_DESCRIPTION, 0), + (PAYMENTS_AUTHORIZER_TYPE, 1), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.WORKLOAD_IDENTITY_DETAILS, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (PAYMENT_MANAGER_STATUS, 1), + (lambda: schemas.TAGS_MAP, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +GET_PAYMENT_MANAGER: StaticOperationSchema = ( + 23, + n0, + _GPM, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/payments/managers/{paymentManagerId}", + } + ) + }, + GET_PAYMENT_MANAGER_INPUT, + GET_PAYMENT_MANAGER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_PAYMENT_MANAGERS_INPUT: StaticSchema = ( + 18, + n0, + _LPMI, + {_sSI: _cLPMR, _smith: None}, + (_mR, _nT), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_PAYMENT_MANAGERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPMO, + {_sSI: _cLPMRo, _smithy: None}, + (_pM, _nT), + ((lambda: PAYMENT_MANAGER_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_PAYMENT_MANAGERS: StaticOperationSchema = ( + 23, + n0, + _LPM, + { + _smithya: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/payments/managers-list"} + ) + }, + LIST_PAYMENT_MANAGERS_INPUT, + LIST_PAYMENT_MANAGERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_MANAGER_SUMMARY: StaticSchema = ( + 18, + n0, + _PMSa, + 0, + (_pMA, _pMI, _n, _d, _aT, _rA, _st, _cA, _lUA, _kKA), + ( + (PAYMENT_MANAGER_ARN, 1), + (PAYMENT_MANAGER_ID, 1), + (PAYMENT_MANAGER_NAME, 1), + (PAYMENTS_DESCRIPTION, 0), + (PAYMENTS_AUTHORIZER_TYPE, 1), + (lambda: schemas.ROLE_ARN, 1), + (PAYMENT_MANAGER_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +PAYMENT_MANAGER_SUMMARIES: StaticSchema = ( + 16, + n0, + _PMSay, + 0, + (_mem,), + ((PAYMENT_MANAGER_SUMMARY, 0),), +) + +PAYMENT_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _PCPA, 0) + +PAYMENT_CREDENTIAL_PROVIDER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCPC, + 0, + (_cPAr,), + ((PAYMENT_CREDENTIAL_PROVIDER_ARN, 1),), +) + +CREDENTIALS_PROVIDER_CONFIGURATION: StaticSchema = ( + 19, + n0, + _CPCred, + 0, + (_cCDP, _sPt), + ( + (PAYMENT_CREDENTIAL_PROVIDER_CONFIGURATION, 0), + (PAYMENT_CREDENTIAL_PROVIDER_CONFIGURATION, 0), + ), +) + +CREDENTIALS_PROVIDER_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _CPCrede, + 0, + (_mem,), + ((CREDENTIALS_PROVIDER_CONFIGURATION, 0),), +) + +PAYMENT_CONNECTOR_NAME: StaticSchema = (3, n0, _PCN, 0) + +PAYMENT_CONNECTOR_PROVISION_MODE: StaticSchema = ( + 14, + n0, + _PCPM, + 0, + (_MANUAL, _QC), + ((-1, {_sVm: _MANUAL}), (-1, {_sVm: _QC})), +) + +PAYMENT_CONNECTOR_TYPE: StaticSchema = ( + 14, + n0, + _PCT, + 0, + (_CC___, _SP_), + ((-1, {_sVm: _CCDP}), (-1, {_sVm: _SPt})), +) + +CREATE_PAYMENT_CONNECTOR_INPUT: StaticSchema = ( + 18, + n0, + _CPCI, + {_sSI: _cCPCR, _smith: None}, + (_pMI, _n, _d, _ty, _cPCr, _pMr, _cT), + ( + (PAYMENT_MANAGER_ID, 9), + (PAYMENT_CONNECTOR_NAME, 1), + (PAYMENTS_DESCRIPTION, 0), + (PAYMENT_CONNECTOR_TYPE, 1), + (CREDENTIALS_PROVIDER_CONFIGURATIONS, 1), + (PAYMENT_CONNECTOR_PROVISION_MODE, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_PAYMENT_CONNECTOR_OUTPUT: StaticSchema = ( + 18, + n0, + _CPCO, + {_sSI: _cCPCRo, _smithy: None}, + (_pCIa, _pMI, _n, _ty, _cPCr, _cA, _st, _aU), + ( + (lambda: PAYMENT_CONNECTOR_ID, 1), + (PAYMENT_MANAGER_ID, 1), + (PAYMENT_CONNECTOR_NAME, 1), + (PAYMENT_CONNECTOR_TYPE, 1), + (CREDENTIALS_PROVIDER_CONFIGURATIONS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: PAYMENT_CONNECTOR_STATUS, 1), + (lambda: PAYMENT_CONNECTOR_AUTHORIZATION_URL, 0), + ), +) + +CREATE_PAYMENT_CONNECTOR: StaticOperationSchema = ( + 23, + n0, + _CPCrea, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/payments/managers/{paymentManagerId}/connectors", + } + ) + }, + CREATE_PAYMENT_CONNECTOR_INPUT, + CREATE_PAYMENT_CONNECTOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: SUBSCRIPTION_REQUIRED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_CONNECTOR_AUTHORIZATION_URL: StaticSchema = (3, n0, _PCAU, 0) + +PAYMENT_CONNECTOR_ID: StaticSchema = (3, n0, _PCI, 0) + +PAYMENT_CONNECTOR_STATUS: StaticSchema = ( + 14, + n0, + _PCS, + 0, + ( + _CREATING, + _UPDATING, + _DELETING, + _READY, + _CF, + _UF, + _DF, + _AMSR, + _PA, + _PROVISIONING, + _AE_, + _AF, + ), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DF}), + (-1, {_sVm: _AMSR}), + (-1, {_sVm: _PA}), + (-1, {_sVm: _PROVISIONING}), + (-1, {_sVm: _AE_}), + (-1, {_sVm: _AF}), + ), +) + +SUBSCRIPTION_REQUIRED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SRE, + {_s: _c, _sE: 403}, + (_m, _sUu, _pN), + ((3, 1), (3, 0), (3, 0)), +) + +DELETE_PAYMENT_CONNECTOR_INPUT: StaticSchema = ( + 18, + n0, + _DPCI, + {_sSI: _cDPCR, _smith: None}, + (_pMI, _pCIa, _cT), + ( + (PAYMENT_MANAGER_ID, 9), + (PAYMENT_CONNECTOR_ID, 9), + (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None}), + ), +) + +DELETE_PAYMENT_CONNECTOR_OUTPUT: StaticSchema = ( + 18, + n0, + _DPCO, + {_sSI: _cDPCRo, _smithy: None}, + (_st, _pCIa), + ((PAYMENT_CONNECTOR_STATUS, 1), (PAYMENT_CONNECTOR_ID, 0)), +) + +DELETE_PAYMENT_CONNECTOR: StaticOperationSchema = ( + 23, + n0, + _DPC, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}", + } + ) + }, + DELETE_PAYMENT_CONNECTOR_INPUT, + DELETE_PAYMENT_CONNECTOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +GET_PAYMENT_CONNECTOR_INPUT: StaticSchema = ( + 18, + n0, + _GPCI, + {_sSI: _cGPCR, _smith: None}, + (_pMI, _pCIa), + ((PAYMENT_MANAGER_ID, 9), (PAYMENT_CONNECTOR_ID, 9)), +) + +GET_PAYMENT_CONNECTOR_OUTPUT: StaticSchema = ( + 18, + n0, + _GPCO, + {_sSI: _cGPCRo, _smithy: None}, + (_pCIa, _n, _d, _ty, _pMr, _cPCr, _cA, _lUA, _st, _aU, _cUA), + ( + (PAYMENT_CONNECTOR_ID, 1), + (PAYMENT_CONNECTOR_NAME, 1), + (PAYMENTS_DESCRIPTION, 0), + (PAYMENT_CONNECTOR_TYPE, 1), + (PAYMENT_CONNECTOR_PROVISION_MODE, 0), + (CREDENTIALS_PROVIDER_CONFIGURATIONS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (PAYMENT_CONNECTOR_STATUS, 1), + (PAYMENT_CONNECTOR_AUTHORIZATION_URL, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +GET_PAYMENT_CONNECTOR: StaticOperationSchema = ( + 23, + n0, + _GPCe, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}", + } + ) + }, + GET_PAYMENT_CONNECTOR_INPUT, + GET_PAYMENT_CONNECTOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_PAYMENT_CONNECTORS_INPUT: StaticSchema = ( + 18, + n0, + _LPCI, + {_sSI: _cLPCR, _smith: None}, + (_pMI, _mR, _nT), + ( + (PAYMENT_MANAGER_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_PAYMENT_CONNECTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPCO, + {_sSI: _cLPCRo, _smithy: None}, + (_pCa, _nT), + ((lambda: PAYMENT_CONNECTOR_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_PAYMENT_CONNECTORS: StaticOperationSchema = ( + 23, + n0, + _LPC, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/payments/managers/{paymentManagerId}/connectors-list", + } + ) + }, + LIST_PAYMENT_CONNECTORS_INPUT, + LIST_PAYMENT_CONNECTORS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_CONNECTOR_SUMMARY: StaticSchema = ( + 18, + n0, + _PCSa, + 0, + (_pCIa, _n, _ty, _pMr, _st, _lUA), + ( + (PAYMENT_CONNECTOR_ID, 1), + (PAYMENT_CONNECTOR_NAME, 1), + (PAYMENT_CONNECTOR_TYPE, 1), + (PAYMENT_CONNECTOR_PROVISION_MODE, 0), + (PAYMENT_CONNECTOR_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +PAYMENT_CONNECTOR_SUMMARIES: StaticSchema = ( + 16, + n0, + _PCSay, + 0, + (_mem,), + ((PAYMENT_CONNECTOR_SUMMARY, 0),), +) + +COINBASE_CDP_SECRET: StaticSchema = ( + 14, + n0, + _CCS, + 0, + (_AK, _WS), + ((-1, {_sVm: _AK}), (-1, {_sVm: _WS})), +) + +COINBASE_CDP_SECRETS: StaticSchema = ( + 16, + n0, + _CCSo, + 0, + (_mem,), + ((COINBASE_CDP_SECRET, 0),), +) + +COINBASE_CDP_ROTATION_TARGETS: StaticSchema = ( + 18, + n0, + _CCRT, + 0, + (_secr,), + ((COINBASE_CDP_SECRETS, 1),), +) + +CREDENTIAL_ROTATION_CONFIG: StaticSchema = ( + 19, + n0, + _CRCr, + 0, + (_cCDP,), + ((COINBASE_CDP_ROTATION_TARGETS, 0),), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_13.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_13.py new file mode 100644 index 000000000..ebf33b6b8 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_13.py @@ -0,0 +1,1248 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_sm = "smithy.api#required" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_DF = "DELETE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_smithya = "smithy.api#http" +_t = "tags" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_lUA = "lastUpdatedAt" +_mR = "maxResults" +_nT = "nextToken" +_a = "arn" +_rA = "roleArn" +_aCu = "authorizerConfiguration" +_wID = "workloadIdentityDetails" +_ty = "type" +_kKA = "kmsKeyArn" +_de = "definition" +_LO = "LOG_ONLY" +_aT = "authorizerType" +_sRta = "statusReasons" +_aU = "authorizationUrl" +_pol = "policy" +_eKA = "encryptionKeyArn" +_pMA = "paymentManagerArn" +_pMI = "paymentManagerId" +_cPCr = "credentialProviderConfigurations" +_pCIa = "paymentConnectorId" +_RPCCI = "RotatePaymentConnectorCredentialsInput" +_cRPCCR = ( + "com.amazonaws.bedrockagentcorecontrol#RotatePaymentConnectorCredentialsRequest" +) +_cTR = "credentialsToRotate" +_RPCCO = "RotatePaymentConnectorCredentialsOutput" +_cRPCCRo = ( + "com.amazonaws.bedrockagentcorecontrol#RotatePaymentConnectorCredentialsResponse" +) +_RPCC = "RotatePaymentConnectorCredentials" +_UPCI = "UpdatePaymentConnectorInput" +_cUPCR = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentConnectorRequest" +_UPCOp = "UpdatePaymentConnectorOutput" +_cUPCRo = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentConnectorResponse" +_UPC = "UpdatePaymentConnector" +_UPMI = "UpdatePaymentManagerInput" +_cUPMR = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentManagerRequest" +_UPMO = "UpdatePaymentManagerOutput" +_cUPMRo = "com.amazonaws.bedrockagentcorecontrol#UpdatePaymentManagerResponse" +_UPM = "UpdatePaymentManager" +_PEN = "PolicyEngineName" +_CPEI = "CreatePolicyEngineInput" +_cCPER = "com.amazonaws.bedrockagentcorecontrol#CreatePolicyEngineRequest" +_PEA = "PolicyEngineArn" +_RI = "ResourceId" +_PES = "PolicyEngineStatus" +_Str = "String" +_PSR = "PolicyStatusReasons" +_CPEO = "CreatePolicyEngineOutput" +_cCPERo = "com.amazonaws.bedrockagentcorecontrol#CreatePolicyEngineResponse" +_pEI = "policyEngineId" +_pEA = "policyEngineArn" +_CPE = "CreatePolicyEngine" +_DPEI = "DeletePolicyEngineInput" +_cDPER = "com.amazonaws.bedrockagentcorecontrol#DeletePolicyEngineRequest" +_DPEO = "DeletePolicyEngineOutput" +_cDPERo = "com.amazonaws.bedrockagentcorecontrol#DeletePolicyEngineResponse" +_DPE = "DeletePolicyEngine" +_GPEI = "GetPolicyEngineInput" +_cGPER = "com.amazonaws.bedrockagentcorecontrol#GetPolicyEngineRequest" +_GPEO = "GetPolicyEngineOutput" +_cGPERo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyEngineResponse" +_GPE = "GetPolicyEngine" +_GPESI = "GetPolicyEngineSummaryInput" +_cGPESR = "com.amazonaws.bedrockagentcorecontrol#GetPolicyEngineSummaryRequest" +_GPESO = "GetPolicyEngineSummaryOutput" +_cGPESRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyEngineSummaryResponse" +_GPES = "GetPolicyEngineSummary" +_LPEI = "ListPolicyEnginesInput" +_cLPER = "com.amazonaws.bedrockagentcorecontrol#ListPolicyEnginesRequest" +_PEo = "PolicyEngine" +_PEol = "PolicyEngines" +_LPEO = "ListPolicyEnginesOutput" +_cLPERo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyEnginesResponse" +_pEo = "policyEngines" +_LPE = "ListPolicyEngines" +_LPESI = "ListPolicyEngineSummariesInput" +_cLPESR = "com.amazonaws.bedrockagentcorecontrol#ListPolicyEngineSummariesRequest" +_PESo = "PolicyEngineSummary" +_PESL = "PolicyEngineSummaryList" +_LPESO = "ListPolicyEngineSummariesOutput" +_cLPESRo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyEngineSummariesResponse" +_LPES = "ListPolicyEngineSummaries" +_UPEI = "UpdatePolicyEngineInput" +_cUPER = "com.amazonaws.bedrockagentcorecontrol#UpdatePolicyEngineRequest" +_UPEOp = "UpdatePolicyEngineOutput" +_cUPERo = "com.amazonaws.bedrockagentcorecontrol#UpdatePolicyEngineResponse" +_UPE = "UpdatePolicyEngine" +_GPGI = "GetPolicyGenerationInput" +_cGPGR = "com.amazonaws.bedrockagentcorecontrol#GetPolicyGenerationRequest" +_pGI = "policyGenerationId" +_PGN = "PolicyGenerationName" +_PGA = "PolicyGenerationArn" +_Re = "Resource" +_PGS = "PolicyGenerationStatus" +_GENERATING = "GENERATING" +_GENERATED = "GENERATED" +_GF = "GENERATE_FAILED" +_GPGO = "GetPolicyGenerationOutput" +_cGPGRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyGenerationResponse" +_pGA = "policyGenerationArn" +_resou = "resource" +_fin = "findings" +_GPG = "GetPolicyGeneration" +_GPGSI = "GetPolicyGenerationSummaryInput" +_cGPGSR = "com.amazonaws.bedrockagentcorecontrol#GetPolicyGenerationSummaryRequest" +_GPGSO = "GetPolicyGenerationSummaryOutput" +_cGPGSRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyGenerationSummaryResponse" +_GPGS = "GetPolicyGenerationSummary" +_LPGAI = "ListPolicyGenerationAssetsInput" +_cLPGAR = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationAssetsRequest" +_Sta = "Statement" +_CPe = "CedarPolicy" +_stat = "statement" +_PSo = "PolicyStatement" +_PGD = "PolicyGenerationDetails" +_pGAI = "policyGenerationAssetId" +_PDo = "PolicyDefinition" +_ced = "cedar" +_pG = "policyGeneration" +_FTi = "FindingType" +_VALID = "VALID" +_INVALID = "INVALID" +_NT_ = "NOT_TRANSLATABLE" +_AA__ = "ALLOW_ALL" +_AN = "ALLOW_NONE" +_DA_ = "DENY_ALL" +_DN_ = "DENY_NONE" +_Fin = "Finding" +_Find = "Findings" +_NLa = "NaturalLanguage" +_PGAo = "PolicyGenerationAsset" +_rTF = "rawTextFragment" +_PGAol = "PolicyGenerationAssets" +_LPGAO = "ListPolicyGenerationAssetsOutput" +_cLPGARo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationAssetsResponse" +_pGAo = "policyGenerationAssets" +_LPGA = "ListPolicyGenerationAssets" +_LPGI = "ListPolicyGenerationsInput" +_cLPGR = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationsRequest" +_PG = "PolicyGeneration" +_PGo = "PolicyGenerations" +_LPGO = "ListPolicyGenerationsOutput" +_cLPGRo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationsResponse" +_pGo = "policyGenerations" +_LPG = "ListPolicyGenerations" +_LPGSI = "ListPolicyGenerationSummariesInput" +_cLPGSR = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationSummariesRequest" +_PGSo = "PolicyGenerationSummary" +_PGSL = "PolicyGenerationSummaryList" +_LPGSO = "ListPolicyGenerationSummariesOutput" +_cLPGSRo = "com.amazonaws.bedrockagentcorecontrol#ListPolicyGenerationSummariesResponse" +_LPGS = "ListPolicyGenerationSummaries" +_Conte = "Content" +_rTa = "rawText" +_SPGI = "StartPolicyGenerationInput" +_cSPGR = "com.amazonaws.bedrockagentcorecontrol#StartPolicyGenerationRequest" +_cont = "content" +_SPGO = "StartPolicyGenerationOutput" +_cSPGRo = "com.amazonaws.bedrockagentcorecontrol#StartPolicyGenerationResponse" +_SPG = "StartPolicyGeneration" +_EM = "EnforcementMode" +_PN = "PolicyName" +_PVM = "PolicyValidationMode" +_FOAF = "FAIL_ON_ANY_FINDINGS" +_IAF = "IGNORE_ALL_FINDINGS" + +ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_INPUT: StaticSchema = ( + 18, + n0, + _RPCCI, + {_sSI: _cRPCCR, _smith: None}, + (_pMI, _pCIa, _cTR, _cT), + ( + (lambda: schemas.PAYMENT_MANAGER_ID, 9), + (lambda: schemas.PAYMENT_CONNECTOR_ID, 9), + (lambda: schemas.CREDENTIAL_ROTATION_CONFIG, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_OUTPUT: StaticSchema = ( + 18, + n0, + _RPCCO, + {_sSI: _cRPCCRo, _smithy: None}, + (_pCIa, _pMI, _lUA, _st), + ( + (lambda: schemas.PAYMENT_CONNECTOR_ID, 1), + (lambda: schemas.PAYMENT_MANAGER_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.PAYMENT_CONNECTOR_STATUS, 1), + ), +) + +ROTATE_PAYMENT_CONNECTOR_CREDENTIALS: StaticOperationSchema = ( + 23, + n0, + _RPCC, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}/rotate-credentials", + } + ) + }, + ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_INPUT, + ROTATE_PAYMENT_CONNECTOR_CREDENTIALS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_PAYMENT_CONNECTOR_INPUT: StaticSchema = ( + 18, + n0, + _UPCI, + {_sSI: _cUPCR, _smith: None}, + (_pMI, _pCIa, _d, _ty, _cPCr, _cT), + ( + (lambda: schemas.PAYMENT_MANAGER_ID, 9), + (lambda: schemas.PAYMENT_CONNECTOR_ID, 9), + (lambda: schemas.PAYMENTS_DESCRIPTION, 0), + (lambda: schemas.PAYMENT_CONNECTOR_TYPE, 0), + (lambda: schemas.CREDENTIALS_PROVIDER_CONFIGURATIONS, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +UPDATE_PAYMENT_CONNECTOR_OUTPUT: StaticSchema = ( + 18, + n0, + _UPCOp, + {_sSI: _cUPCRo, _smithy: None}, + (_pCIa, _pMI, _n, _ty, _cPCr, _lUA, _st, _aU), + ( + (lambda: schemas.PAYMENT_CONNECTOR_ID, 1), + (lambda: schemas.PAYMENT_MANAGER_ID, 1), + (lambda: schemas.PAYMENT_CONNECTOR_NAME, 1), + (lambda: schemas.PAYMENT_CONNECTOR_TYPE, 1), + (lambda: schemas.CREDENTIALS_PROVIDER_CONFIGURATIONS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.PAYMENT_CONNECTOR_STATUS, 1), + (lambda: schemas.PAYMENT_CONNECTOR_AUTHORIZATION_URL, 0), + ), +) + +UPDATE_PAYMENT_CONNECTOR: StaticOperationSchema = ( + 23, + n0, + _UPC, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "PATCH", + "uri": "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}", + } + ) + }, + UPDATE_PAYMENT_CONNECTOR_INPUT, + UPDATE_PAYMENT_CONNECTOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.SUBSCRIPTION_REQUIRED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_PAYMENT_MANAGER_INPUT: StaticSchema = ( + 18, + n0, + _UPMI, + {_sSI: _cUPMR, _smith: None}, + (_pMI, _d, _aT, _aCu, _rA, _cT, _kKA), + ( + (lambda: schemas.PAYMENT_MANAGER_ID, 9), + (lambda: schemas.PAYMENTS_DESCRIPTION, 0), + (lambda: schemas.PAYMENTS_AUTHORIZER_TYPE, 0), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +UPDATE_PAYMENT_MANAGER_OUTPUT: StaticSchema = ( + 18, + n0, + _UPMO, + {_sSI: _cUPMRo, _smithy: None}, + (_pMA, _pMI, _n, _aT, _rA, _wID, _lUA, _st, _kKA), + ( + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.PAYMENT_MANAGER_ID, 1), + (lambda: schemas.PAYMENT_MANAGER_NAME, 1), + (lambda: schemas.PAYMENTS_AUTHORIZER_TYPE, 1), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.WORKLOAD_IDENTITY_DETAILS, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.PAYMENT_MANAGER_STATUS, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +UPDATE_PAYMENT_MANAGER: StaticOperationSchema = ( + 23, + n0, + _UPM, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "PATCH", + "uri": "/payments/managers/{paymentManagerId}", + } + ) + }, + UPDATE_PAYMENT_MANAGER_INPUT, + UPDATE_PAYMENT_MANAGER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY_ENGINE_NAME: StaticSchema = (3, n0, _PEN, 0) + +CREATE_POLICY_ENGINE_INPUT: StaticSchema = ( + 18, + n0, + _CPEI, + {_sSI: _cCPER, _smith: None}, + (_n, _d, _cT, _eKA, _t), + ( + (POLICY_ENGINE_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_POLICY_ENGINE_OUTPUT: StaticSchema = ( + 18, + n0, + _CPEO, + {_sSI: _cCPERo, _smithy: None}, + (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), + ( + (lambda: RESOURCE_ID, 1), + (POLICY_ENGINE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: POLICY_ENGINE_ARN, 1), + (lambda: POLICY_ENGINE_STATUS, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: POLICY_STATUS_REASONS, 1), + ), +) + +CREATE_POLICY_ENGINE: StaticOperationSchema = ( + 23, + n0, + _CPE, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/policy-engines", "code": 202} + ) + }, + CREATE_POLICY_ENGINE_INPUT, + CREATE_POLICY_ENGINE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY_ENGINE_ARN: StaticSchema = (3, n0, _PEA, 0) + +RESOURCE_ID: StaticSchema = (3, n0, _RI, 0) + +POLICY_ENGINE_STATUS: StaticSchema = ( + 14, + n0, + _PES, + 0, + (_CREATING, _ACTIVE, _UPDATING, _DELETING, _CF, _UF, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DF}), + ), +) + +STRING: StaticSchema = (3, n0, _Str, 0) + +POLICY_STATUS_REASONS: StaticSchema = (16, n0, _PSR, 0, (_mem,), ((STRING, 0),)) + +DELETE_POLICY_ENGINE_INPUT: StaticSchema = ( + 18, + n0, + _DPEI, + {_sSI: _cDPER, _smith: None}, + (_pEI,), + ((RESOURCE_ID, 9),), +) + +DELETE_POLICY_ENGINE_OUTPUT: StaticSchema = ( + 18, + n0, + _DPEO, + {_sSI: _cDPERo, _smithy: None}, + (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), + ( + (RESOURCE_ID, 1), + (POLICY_ENGINE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ENGINE_ARN, 1), + (POLICY_ENGINE_STATUS, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.DESCRIPTION, 0), + (POLICY_STATUS_REASONS, 1), + ), +) + +DELETE_POLICY_ENGINE: StaticOperationSchema = ( + 23, + n0, + _DPE, + { + _smithya: MappingProxyType( + {"method": "DELETE", "uri": "/policy-engines/{policyEngineId}", "code": 202} + ) + }, + DELETE_POLICY_ENGINE_INPUT, + DELETE_POLICY_ENGINE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_POLICY_ENGINE_INPUT: StaticSchema = ( + 18, + n0, + _GPEI, + {_sSI: _cGPER, _smith: None}, + (_pEI,), + ((RESOURCE_ID, 9),), +) + +GET_POLICY_ENGINE_OUTPUT: StaticSchema = ( + 18, + n0, + _GPEO, + {_sSI: _cGPERo, _smithy: None}, + (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), + ( + (RESOURCE_ID, 1), + (POLICY_ENGINE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ENGINE_ARN, 1), + (POLICY_ENGINE_STATUS, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.DESCRIPTION, 0), + (POLICY_STATUS_REASONS, 1), + ), +) + +GET_POLICY_ENGINE: StaticOperationSchema = ( + 23, + n0, + _GPE, + { + _smithya: MappingProxyType( + {"method": "GET", "uri": "/policy-engines/{policyEngineId}", "code": 200} + ) + }, + GET_POLICY_ENGINE_INPUT, + GET_POLICY_ENGINE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_POLICY_ENGINE_SUMMARY_INPUT: StaticSchema = ( + 18, + n0, + _GPESI, + {_sSI: _cGPESR, _smith: None}, + (_pEI,), + ((RESOURCE_ID, 9),), +) + +GET_POLICY_ENGINE_SUMMARY_OUTPUT: StaticSchema = ( + 18, + n0, + _GPESO, + {_sSI: _cGPESRo, _smithy: None}, + (_pEI, _n, _cA, _uA, _pEA, _st, _eKA), + ( + (RESOURCE_ID, 1), + (POLICY_ENGINE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ENGINE_ARN, 1), + (POLICY_ENGINE_STATUS, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +GET_POLICY_ENGINE_SUMMARY: StaticOperationSchema = ( + 23, + n0, + _GPES, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engine-summaries/{policyEngineId}", + "code": 200, + } + ) + }, + GET_POLICY_ENGINE_SUMMARY_INPUT, + GET_POLICY_ENGINE_SUMMARY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_POLICY_ENGINES_INPUT: StaticSchema = ( + 18, + n0, + _LPEI, + {_sSI: _cLPER, _smith: None}, + (_nT, _mR), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + ), +) + +LIST_POLICY_ENGINES_OUTPUT: StaticSchema = ( + 18, + n0, + _LPEO, + {_sSI: _cLPERo, _smithy: None}, + (_pEo, _nT), + ((lambda: POLICY_ENGINES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_POLICY_ENGINES: StaticOperationSchema = ( + 23, + n0, + _LPE, + { + _smithya: MappingProxyType( + {"method": "GET", "uri": "/policy-engines", "code": 200} + ) + }, + LIST_POLICY_ENGINES_INPUT, + LIST_POLICY_ENGINES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY_ENGINE: StaticSchema = ( + 18, + n0, + _PEo, + 0, + (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), + ( + (RESOURCE_ID, 1), + (POLICY_ENGINE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ENGINE_ARN, 1), + (POLICY_ENGINE_STATUS, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.DESCRIPTION, 0), + (POLICY_STATUS_REASONS, 1), + ), +) + +POLICY_ENGINES: StaticSchema = (16, n0, _PEol, 0, (_mem,), ((POLICY_ENGINE, 0),)) + +LIST_POLICY_ENGINE_SUMMARIES_INPUT: StaticSchema = ( + 18, + n0, + _LPESI, + {_sSI: _cLPESR, _smith: None}, + (_nT, _mR), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + ), +) + +LIST_POLICY_ENGINE_SUMMARIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LPESO, + {_sSI: _cLPESRo, _smithy: None}, + (_pEo, _nT), + ((lambda: POLICY_ENGINE_SUMMARY_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_POLICY_ENGINE_SUMMARIES: StaticOperationSchema = ( + 23, + n0, + _LPES, + { + _smithya: MappingProxyType( + {"method": "GET", "uri": "/policy-engine-summaries", "code": 200} + ) + }, + LIST_POLICY_ENGINE_SUMMARIES_INPUT, + LIST_POLICY_ENGINE_SUMMARIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY_ENGINE_SUMMARY: StaticSchema = ( + 18, + n0, + _PESo, + 0, + (_pEI, _n, _cA, _uA, _pEA, _st, _eKA), + ( + (RESOURCE_ID, 1), + (POLICY_ENGINE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ENGINE_ARN, 1), + (POLICY_ENGINE_STATUS, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +POLICY_ENGINE_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _PESL, + 0, + (_mem,), + ((POLICY_ENGINE_SUMMARY, 0),), +) + +UPDATE_POLICY_ENGINE_INPUT: StaticSchema = ( + 18, + n0, + _UPEI, + {_sSI: _cUPER, _smith: None}, + (_pEI, _d), + ((RESOURCE_ID, 9), (lambda: schemas.UPDATED_DESCRIPTION, 0)), +) + +UPDATE_POLICY_ENGINE_OUTPUT: StaticSchema = ( + 18, + n0, + _UPEOp, + {_sSI: _cUPERo, _smithy: None}, + (_pEI, _n, _cA, _uA, _pEA, _st, _eKA, _d, _sRta), + ( + (RESOURCE_ID, 1), + (POLICY_ENGINE_NAME, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ENGINE_ARN, 1), + (POLICY_ENGINE_STATUS, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.DESCRIPTION, 0), + (POLICY_STATUS_REASONS, 1), + ), +) + +UPDATE_POLICY_ENGINE: StaticOperationSchema = ( + 23, + n0, + _UPE, + { + _smithya: MappingProxyType( + {"method": "PATCH", "uri": "/policy-engines/{policyEngineId}", "code": 202} + ) + }, + UPDATE_POLICY_ENGINE_INPUT, + UPDATE_POLICY_ENGINE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_POLICY_GENERATION_INPUT: StaticSchema = ( + 18, + n0, + _GPGI, + {_sSI: _cGPGR, _smith: None}, + (_pGI, _pEI), + ((RESOURCE_ID, 9), (RESOURCE_ID, 9)), +) + +GET_POLICY_GENERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GPGO, + {_sSI: _cGPGRo, _smithy: None}, + (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin, _sRta), + ( + (RESOURCE_ID, 1), + (RESOURCE_ID, 1), + (lambda: POLICY_GENERATION_NAME, 1), + (lambda: POLICY_GENERATION_ARN, 1), + (lambda: RESOURCE, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: POLICY_GENERATION_STATUS, 1), + (STRING, 0), + (POLICY_STATUS_REASONS, 1), + ), +) + +GET_POLICY_GENERATION: StaticOperationSchema = ( + 23, + n0, + _GPG, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engines/{policyEngineId}/policy-generations/{policyGenerationId}", + } + ) + }, + GET_POLICY_GENERATION_INPUT, + GET_POLICY_GENERATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY_GENERATION_NAME: StaticSchema = (3, n0, _PGN, 0) + +POLICY_GENERATION_ARN: StaticSchema = (3, n0, _PGA, 0) + +RESOURCE: StaticSchema = ( + 19, + n0, + _Re, + 0, + (_a,), + ((lambda: schemas.BEDROCK_AGENTCORE_RESOURCE_ARN, 0),), +) + +POLICY_GENERATION_STATUS: StaticSchema = ( + 14, + n0, + _PGS, + 0, + (_GENERATING, _GENERATED, _GF, _DF), + ( + (-1, {_sVm: _GENERATING}), + (-1, {_sVm: _GENERATED}), + (-1, {_sVm: _GF}), + (-1, {_sVm: _DF}), + ), +) + +GET_POLICY_GENERATION_SUMMARY_INPUT: StaticSchema = ( + 18, + n0, + _GPGSI, + {_sSI: _cGPGSR, _smith: None}, + (_pGI, _pEI), + ((RESOURCE_ID, 9), (RESOURCE_ID, 9)), +) + +GET_POLICY_GENERATION_SUMMARY_OUTPUT: StaticSchema = ( + 18, + n0, + _GPGSO, + {_sSI: _cGPGSRo, _smithy: None}, + (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin), + ( + (RESOURCE_ID, 1), + (RESOURCE_ID, 1), + (POLICY_GENERATION_NAME, 1), + (POLICY_GENERATION_ARN, 1), + (RESOURCE, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_GENERATION_STATUS, 1), + (STRING, 0), + ), +) + +GET_POLICY_GENERATION_SUMMARY: StaticOperationSchema = ( + 23, + n0, + _GPGS, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engines/{policyEngineId}/policy-generation-summaries/{policyGenerationId}", + "code": 200, + } + ) + }, + GET_POLICY_GENERATION_SUMMARY_INPUT, + GET_POLICY_GENERATION_SUMMARY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_POLICY_GENERATION_ASSETS_INPUT: StaticSchema = ( + 18, + n0, + _LPGAI, + {_sSI: _cLPGAR, _smith: None}, + (_pGI, _pEI, _nT, _mR), + ( + (RESOURCE_ID, 9), + (RESOURCE_ID, 9), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + ), +) + +LIST_POLICY_GENERATION_ASSETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPGAO, + {_sSI: _cLPGARo, _smithy: None}, + (_pGAo, _nT), + ((lambda: POLICY_GENERATION_ASSETS, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_POLICY_GENERATION_ASSETS: StaticOperationSchema = ( + 23, + n0, + _LPGA, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engines/{policyEngineId}/policy-generations/{policyGenerationId}/assets", + } + ) + }, + LIST_POLICY_GENERATION_ASSETS_INPUT, + LIST_POLICY_GENERATION_ASSETS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +STATEMENT: StaticSchema = (3, n0, _Sta, 0) + +CEDAR_POLICY: StaticSchema = (18, n0, _CPe, 0, (_stat,), ((STATEMENT, 1),)) + +POLICY_STATEMENT: StaticSchema = (18, n0, _PSo, 0, (_stat,), ((STATEMENT, 1),)) + +POLICY_GENERATION_DETAILS: StaticSchema = ( + 18, + n0, + _PGD, + 0, + (_pGI, _pGAI), + ((RESOURCE_ID, 1), (RESOURCE_ID, 1)), +) + +POLICY_DEFINITION: StaticSchema = ( + 19, + n0, + _PDo, + 0, + (_ced, _pG, _pol), + ((CEDAR_POLICY, 0), (POLICY_GENERATION_DETAILS, 0), (POLICY_STATEMENT, 0)), +) + +FINDING_TYPE: StaticSchema = ( + 14, + n0, + _FTi, + 0, + (_VALID, _INVALID, _NT_, _AA__, _AN, _DA_, _DN_), + ( + (-1, {_sVm: _VALID}), + (-1, {_sVm: _INVALID}), + (-1, {_sVm: _NT_}), + (-1, {_sVm: _AA__}), + (-1, {_sVm: _AN}), + (-1, {_sVm: _DA_}), + (-1, {_sVm: _DN_}), + ), +) + +FINDING: StaticSchema = (18, n0, _Fin, 0, (_ty, _d), ((FINDING_TYPE, 0), (STRING, 0))) + +FINDINGS: StaticSchema = (16, n0, _Find, 0, (_mem,), ((FINDING, 0),)) + +NATURAL_LANGUAGE: StaticSchema = (3, n0, _NLa, 0) + +POLICY_GENERATION_ASSET: StaticSchema = ( + 18, + n0, + _PGAo, + 0, + (_pGAI, _de, _rTF, _fin), + ((RESOURCE_ID, 1), (POLICY_DEFINITION, 0), (NATURAL_LANGUAGE, 1), (FINDINGS, 1)), +) + +POLICY_GENERATION_ASSETS: StaticSchema = ( + 16, + n0, + _PGAol, + 0, + (_mem,), + ((POLICY_GENERATION_ASSET, 0),), +) + +LIST_POLICY_GENERATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LPGI, + {_sSI: _cLPGR, _smith: None}, + (_nT, _mR, _pEI), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (RESOURCE_ID, 9), + ), +) + +LIST_POLICY_GENERATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPGO, + {_sSI: _cLPGRo, _smithy: None}, + (_pGo, _nT), + ((lambda: POLICY_GENERATIONS, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_POLICY_GENERATIONS: StaticOperationSchema = ( + 23, + n0, + _LPG, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engines/{policyEngineId}/policy-generations", + } + ) + }, + LIST_POLICY_GENERATIONS_INPUT, + LIST_POLICY_GENERATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY_GENERATION: StaticSchema = ( + 18, + n0, + _PG, + 0, + (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin, _sRta), + ( + (RESOURCE_ID, 1), + (RESOURCE_ID, 1), + (POLICY_GENERATION_NAME, 1), + (POLICY_GENERATION_ARN, 1), + (RESOURCE, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_GENERATION_STATUS, 1), + (STRING, 0), + (POLICY_STATUS_REASONS, 1), + ), +) + +POLICY_GENERATIONS: StaticSchema = (16, n0, _PGo, 0, (_mem,), ((POLICY_GENERATION, 0),)) + +LIST_POLICY_GENERATION_SUMMARIES_INPUT: StaticSchema = ( + 18, + n0, + _LPGSI, + {_sSI: _cLPGSR, _smith: None}, + (_nT, _mR, _pEI), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (RESOURCE_ID, 9), + ), +) + +LIST_POLICY_GENERATION_SUMMARIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LPGSO, + {_sSI: _cLPGSRo, _smithy: None}, + (_pGo, _nT), + ((lambda: POLICY_GENERATION_SUMMARY_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_POLICY_GENERATION_SUMMARIES: StaticOperationSchema = ( + 23, + n0, + _LPGS, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engines/{policyEngineId}/policy-generation-summaries", + "code": 200, + } + ) + }, + LIST_POLICY_GENERATION_SUMMARIES_INPUT, + LIST_POLICY_GENERATION_SUMMARIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY_GENERATION_SUMMARY: StaticSchema = ( + 18, + n0, + _PGSo, + 0, + (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin), + ( + (RESOURCE_ID, 1), + (RESOURCE_ID, 1), + (POLICY_GENERATION_NAME, 1), + (POLICY_GENERATION_ARN, 1), + (RESOURCE, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_GENERATION_STATUS, 1), + (STRING, 0), + ), +) + +POLICY_GENERATION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _PGSL, + 0, + (_mem,), + ((POLICY_GENERATION_SUMMARY, 0),), +) + +CONTENT: StaticSchema = (19, n0, _Conte, 0, (_rTa,), ((NATURAL_LANGUAGE, 0),)) + +START_POLICY_GENERATION_INPUT: StaticSchema = ( + 18, + n0, + _SPGI, + {_sSI: _cSPGR, _smith: None}, + (_pEI, _resou, _cont, _n, _cT), + ( + (RESOURCE_ID, 9), + (RESOURCE, 1), + (CONTENT, 1), + (POLICY_GENERATION_NAME, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +START_POLICY_GENERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _SPGO, + {_sSI: _cSPGRo, _smithy: None}, + (_pEI, _pGI, _n, _pGA, _resou, _cA, _uA, _st, _fin, _sRta), + ( + (RESOURCE_ID, 1), + (RESOURCE_ID, 1), + (POLICY_GENERATION_NAME, 1), + (POLICY_GENERATION_ARN, 1), + (RESOURCE, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_GENERATION_STATUS, 1), + (STRING, 0), + (POLICY_STATUS_REASONS, 1), + ), +) + +START_POLICY_GENERATION: StaticOperationSchema = ( + 23, + n0, + _SPG, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/policy-engines/{policyEngineId}/policy-generations", + "code": 202, + } + ) + }, + START_POLICY_GENERATION_INPUT, + START_POLICY_GENERATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ENFORCEMENT_MODE: StaticSchema = ( + 14, + n0, + _EM, + {_smi: _ACTIVE}, + (_ACTIVE, _LO), + ((-1, {_sVm: _ACTIVE}), (-1, {_sVm: _LO})), +) + +POLICY_NAME: StaticSchema = (3, n0, _PN, 0) + +POLICY_VALIDATION_MODE: StaticSchema = ( + 14, + n0, + _PVM, + {_smi: _FOAF}, + (_FOAF, _IAF), + ((-1, {_sVm: _FOAF}), (-1, {_sVm: _IAF})), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_14.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_14.py new file mode 100644 index 000000000..db43ccd1e --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_14.py @@ -0,0 +1,1310 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_sV = "schemaVersion" +_iC = "inlineContent" +_sm = "smithy.api#required" +_k = "key" +_v = "value" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_DF = "DELETE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_se = "server" +_smithya = "smithy.api#http" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_MCP = "MCP" +_AA_ = "A2A" +_rA = "roleArn" +_sMk = "skillMd" +_sD = "skillDefinition" +_CUSTOM = "CUSTOM" +_sRt = "statusReason" +_oV = "optionalValue" +_sco = "scopes" +_rAe = "resourceArn" +_de = "definition" +_mc = "mcp" +_sRta = "statusReasons" +_pAr = "providerArn" +_ser = "service" +_reg = "region" +_CC_ = "CLIENT_CREDENTIALS" +_cPu = "customParameters" +_gT = "grantType" +_oCP = "oauthCredentialProvider" +_iCP = "iamCredentialProvider" +_OAUTH = "OAUTH" +_cPT = "credentialProviderType" +_cPre = "credentialProvider" +_pol = "policy" +_ur = "url" +_too = "tools" +_cPCr = "credentialProviderConfigurations" +_pEI = "policyEngineId" +_FOAF = "FAIL_ON_ANY_FINDINGS" +_CPIr = "CreatePolicyInput" +_cCPR = "com.amazonaws.bedrockagentcorecontrol#CreatePolicyRequest" +_vM = "validationMode" +_eM = "enforcementMode" +_PAo = "PolicyArn" +_PSol = "PolicyStatus" +_CPOr = "CreatePolicyOutput" +_cCPRo = "com.amazonaws.bedrockagentcorecontrol#CreatePolicyResponse" +_pIo = "policyId" +_pAo = "policyArn" +_CPre = "CreatePolicy" +_DPI = "DeletePolicyInput" +_cDPR = "com.amazonaws.bedrockagentcorecontrol#DeletePolicyRequest" +_DPO = "DeletePolicyOutput" +_cDPRo = "com.amazonaws.bedrockagentcorecontrol#DeletePolicyResponse" +_DP = "DeletePolicy" +_GPI = "GetPolicyInput" +_cGPR = "com.amazonaws.bedrockagentcorecontrol#GetPolicyRequest" +_GPO = "GetPolicyOutput" +_cGPRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicyResponse" +_GPe = "GetPolicy" +_GPSI = "GetPolicySummaryInput" +_cGPSR = "com.amazonaws.bedrockagentcorecontrol#GetPolicySummaryRequest" +_GPSO = "GetPolicySummaryOutput" +_cGPSRo = "com.amazonaws.bedrockagentcorecontrol#GetPolicySummaryResponse" +_GPS = "GetPolicySummary" +_LPI = "ListPoliciesInput" +_cLPR = "com.amazonaws.bedrockagentcorecontrol#ListPoliciesRequest" +_tRS = "targetResourceScope" +_Pol = "Policy" +_Poli = "Policies" +_LPO = "ListPoliciesOutput" +_cLPRo = "com.amazonaws.bedrockagentcorecontrol#ListPoliciesResponse" +_poli = "policies" +_LPi = "ListPolicies" +_LPSI = "ListPolicySummariesInput" +_cLPSR = "com.amazonaws.bedrockagentcorecontrol#ListPolicySummariesRequest" +_PSoli = "PolicySummary" +_PSL = "PolicySummaryList" +_LPSO = "ListPolicySummariesOutput" +_cLPSRo = "com.amazonaws.bedrockagentcorecontrol#ListPolicySummariesResponse" +_LPS = "ListPolicySummaries" +_UPI = "UpdatePolicyInput" +_cUPR = "com.amazonaws.bedrockagentcorecontrol#UpdatePolicyRequest" +_UPOp = "UpdatePolicyOutput" +_cUPRo = "com.amazonaws.bedrockagentcorecontrol#UpdatePolicyResponse" +_UPp = "UpdatePolicy" +_PRPI = "PutResourcePolicyInput" +_cPRPR = "com.amazonaws.bedrockagentcorecontrol#PutResourcePolicyRequest" +_PRPO = "PutResourcePolicyOutput" +_cPRPRo = "com.amazonaws.bedrockagentcorecontrol#PutResourcePolicyResponse" +_PRP = "PutResourcePolicy" +_CDus = "CustomDescriptor" +_SDe = "ServerDefinition" +_TDo = "ToolsDefinition" +_pVr = "protocolVersion" +_MD = "McpDescriptor" +_Des = "Descriptors" +_aa = "a2a" +_cu = "custom" +_aSg = "agentSkills" +_DTe = "DescriptorType" +_AS = "AGENT_SKILLS" +_RRN = "RegistryRecordName" +_RRV = "RegistryRecordVersion" +_RIe = "RegistryIdentifier" +_ISR = "IamSigningRegion" +_IRA = "IamRoleArn" +_ISSN = "IamSigningServiceName" +_RRICP = "RegistryRecordIamCredentialProvider" +_CPMu = "CustomParameterMap" +_RROAGT = "RegistryRecordOAuthGrantType" +_CPAr = "CredentialProviderArn" +_SLc = "ScopeList" +_RROACP = "RegistryRecordOAuthCredentialProvider" +_RRCPU = "RegistryRecordCredentialProviderUnion" +_RRCPT = "RegistryRecordCredentialProviderType" +_IAM = "IAM" +_RRCPC = "RegistryRecordCredentialProviderConfiguration" +_RRCPCL = "RegistryRecordCredentialProviderConfigurationList" +_MSU = "McpServerUrl" +_FUSC = "FromUrlSynchronizationConfiguration" +_SCy = "SynchronizationConfiguration" +_fU = "fromUrl" +_STy = "SynchronizationType" +_URL = "URL" +_CRRI = "CreateRegistryRecordInput" +_cCRRR = "com.amazonaws.bedrockagentcorecontrol#CreateRegistryRecordRequest" +_rIe = "registryId" +_dT = "descriptorType" +_des = "descriptors" +_rVe = "recordVersion" +_sTy = "synchronizationType" +_sCy = "synchronizationConfiguration" +_RRA = "RegistryRecordArn" +_RRS = "RegistryRecordStatus" +_DRAFT = "DRAFT" +_PA_ = "PENDING_APPROVAL" +_APPROVED = "APPROVED" +_REJECTED = "REJECTED" +_DEPRECATED = "DEPRECATED" +_CRRO = "CreateRegistryRecordOutput" +_cCRRRo = "com.amazonaws.bedrockagentcorecontrol#CreateRegistryRecordResponse" +_rAec = "recordArn" +_CRR = "CreateRegistryRecord" +_RIec = "RecordIdentifier" +_DRRI = "DeleteRegistryRecordInput" +_cDRRR = "com.amazonaws.bedrockagentcorecontrol#DeleteRegistryRecordRequest" +_rIec = "recordId" +_DRRO = "DeleteRegistryRecordOutput" +_cDRRRo = "com.amazonaws.bedrockagentcorecontrol#DeleteRegistryRecordResponse" +_DRR = "DeleteRegistryRecord" +_GRRI = "GetRegistryRecordInput" +_cGRRR = "com.amazonaws.bedrockagentcorecontrol#GetRegistryRecordRequest" +_RRI = "RegistryRecordId" +_RAe = "RegistryArn" +_GRRO = "GetRegistryRecordOutput" +_cGRRRo = "com.amazonaws.bedrockagentcorecontrol#GetRegistryRecordResponse" +_rAeg = "registryArn" +_GRR = "GetRegistryRecord" +_LRRI = "ListRegistryRecordsInput" +_cLRRR = "com.amazonaws.bedrockagentcorecontrol#ListRegistryRecordsRequest" +_RRSe = "RegistryRecordSummary" +_RRSL = "RegistryRecordSummaryList" +_LRRO = "ListRegistryRecordsOutput" +_cLRRRo = "com.amazonaws.bedrockagentcorecontrol#ListRegistryRecordsResponse" +_rR = "registryRecords" +_LRR = "ListRegistryRecords" +_SRRFAI = "SubmitRegistryRecordForApprovalInput" +_cSRRFAR = ( + "com.amazonaws.bedrockagentcorecontrol#SubmitRegistryRecordForApprovalRequest" +) +_SRRFAO = "SubmitRegistryRecordForApprovalOutput" +_cSRRFARo = ( + "com.amazonaws.bedrockagentcorecontrol#SubmitRegistryRecordForApprovalResponse" +) +_SRRFA = "SubmitRegistryRecordForApproval" +_UAD = "UpdatedA2aDescriptor" +_USD = "UpdatedSkillDefinition" +_USMD = "UpdatedSkillMdDefinition" +_UASDF = "UpdatedAgentSkillsDescriptorFields" +_UASD = "UpdatedAgentSkillsDescriptor" +_UCD = "UpdatedCustomDescriptor" +_USDp = "UpdatedServerDefinition" +_UTD = "UpdatedToolsDefinition" +_UMDF = "UpdatedMcpDescriptorFields" +_UMD = "UpdatedMcpDescriptor" +_UDU = "UpdatedDescriptorsUnion" +_UDpd = "UpdatedDescriptors" +_USC = "UpdatedSynchronizationConfiguration" +_UST = "UpdatedSynchronizationType" + +CREATE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _CPIr, + {_sSI: _cCPR, _smith: None}, + (_n, _de, _d, _vM, _eM, _pEI, _cT), + ( + (lambda: schemas.POLICY_NAME, 1), + (lambda: schemas.POLICY_DEFINITION, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.POLICY_VALIDATION_MODE, {_smi: _FOAF}), + (lambda: schemas.ENFORCEMENT_MODE, {_smi: _ACTIVE}), + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _CPOr, + {_sSI: _cCPRo, _smithy: None}, + (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), + ( + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.POLICY_NAME, 1), + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: POLICY_ARN, 1), + (lambda: POLICY_STATUS, 1), + (lambda: schemas.ENFORCEMENT_MODE, {_smi: _ACTIVE}), + (lambda: schemas.POLICY_DEFINITION, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.POLICY_STATUS_REASONS, 1), + ), +) + +CREATE_POLICY: StaticOperationSchema = ( + 23, + n0, + _CPre, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/policy-engines/{policyEngineId}/policies", + "code": 202, + } + ) + }, + CREATE_POLICY_INPUT, + CREATE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY_ARN: StaticSchema = (3, n0, _PAo, 0) + +POLICY_STATUS: StaticSchema = ( + 14, + n0, + _PSol, + 0, + (_CREATING, _ACTIVE, _UPDATING, _DELETING, _CF, _UF, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DF}), + ), +) + +DELETE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DPI, + {_sSI: _cDPR, _smith: None}, + (_pEI, _pIo), + ((lambda: schemas.RESOURCE_ID, 9), (lambda: schemas.RESOURCE_ID, 9)), +) + +DELETE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DPO, + {_sSI: _cDPRo, _smithy: None}, + (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), + ( + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.POLICY_NAME, 1), + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ARN, 1), + (POLICY_STATUS, 1), + (lambda: schemas.ENFORCEMENT_MODE, {_smi: _ACTIVE}), + (lambda: schemas.POLICY_DEFINITION, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.POLICY_STATUS_REASONS, 1), + ), +) + +DELETE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DP, + { + _smithya: MappingProxyType( + { + "method": "DELETE", + "uri": "/policy-engines/{policyEngineId}/policies/{policyId}", + "code": 202, + } + ) + }, + DELETE_POLICY_INPUT, + DELETE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GPI, + {_sSI: _cGPR, _smith: None}, + (_pEI, _pIo), + ((lambda: schemas.RESOURCE_ID, 9), (lambda: schemas.RESOURCE_ID, 9)), +) + +GET_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GPO, + {_sSI: _cGPRo, _smithy: None}, + (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), + ( + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.POLICY_NAME, 1), + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ARN, 1), + (POLICY_STATUS, 1), + (lambda: schemas.ENFORCEMENT_MODE, {_smi: _ACTIVE}), + (lambda: schemas.POLICY_DEFINITION, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.POLICY_STATUS_REASONS, 1), + ), +) + +GET_POLICY: StaticOperationSchema = ( + 23, + n0, + _GPe, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engines/{policyEngineId}/policies/{policyId}", + "code": 200, + } + ) + }, + GET_POLICY_INPUT, + GET_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_POLICY_SUMMARY_INPUT: StaticSchema = ( + 18, + n0, + _GPSI, + {_sSI: _cGPSR, _smith: None}, + (_pEI, _pIo), + ((lambda: schemas.RESOURCE_ID, 9), (lambda: schemas.RESOURCE_ID, 9)), +) + +GET_POLICY_SUMMARY_OUTPUT: StaticSchema = ( + 18, + n0, + _GPSO, + {_sSI: _cGPSRo, _smithy: None}, + (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM), + ( + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.POLICY_NAME, 1), + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ARN, 1), + (POLICY_STATUS, 1), + (lambda: schemas.ENFORCEMENT_MODE, {_smi: _ACTIVE}), + ), +) + +GET_POLICY_SUMMARY: StaticOperationSchema = ( + 23, + n0, + _GPS, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engines/{policyEngineId}/policy-summaries/{policyId}", + "code": 200, + } + ) + }, + GET_POLICY_SUMMARY_INPUT, + GET_POLICY_SUMMARY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LPI, + {_sSI: _cLPR, _smith: None}, + (_nT, _mR, _pEI, _tRS), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.BEDROCK_AGENTCORE_RESOURCE_ARN, {_sQ: _tRS}), + ), +) + +LIST_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LPO, + {_sSI: _cLPRo, _smithy: None}, + (_poli, _nT), + ((lambda: POLICIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LPi, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engines/{policyEngineId}/policies", + "code": 200, + } + ) + }, + LIST_POLICIES_INPUT, + LIST_POLICIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY: StaticSchema = ( + 18, + n0, + _Pol, + 0, + (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), + ( + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.POLICY_NAME, 1), + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ARN, 1), + (POLICY_STATUS, 1), + (lambda: schemas.ENFORCEMENT_MODE, {_smi: _ACTIVE}), + (lambda: schemas.POLICY_DEFINITION, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.POLICY_STATUS_REASONS, 1), + ), +) + +POLICIES: StaticSchema = (16, n0, _Poli, 0, (_mem,), ((POLICY, 0),)) + +LIST_POLICY_SUMMARIES_INPUT: StaticSchema = ( + 18, + n0, + _LPSI, + {_sSI: _cLPSR, _smith: None}, + (_nT, _mR, _pEI, _tRS), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.BEDROCK_AGENTCORE_RESOURCE_ARN, {_sQ: _tRS}), + ), +) + +LIST_POLICY_SUMMARIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LPSO, + {_sSI: _cLPSRo, _smithy: None}, + (_poli, _nT), + ((lambda: POLICY_SUMMARY_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_POLICY_SUMMARIES: StaticOperationSchema = ( + 23, + n0, + _LPS, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/policy-engines/{policyEngineId}/policy-summaries", + "code": 200, + } + ) + }, + LIST_POLICY_SUMMARIES_INPUT, + LIST_POLICY_SUMMARIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +POLICY_SUMMARY: StaticSchema = ( + 18, + n0, + _PSoli, + 0, + (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM), + ( + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.POLICY_NAME, 1), + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ARN, 1), + (POLICY_STATUS, 1), + (lambda: schemas.ENFORCEMENT_MODE, {_smi: _ACTIVE}), + ), +) + +POLICY_SUMMARY_LIST: StaticSchema = (16, n0, _PSL, 0, (_mem,), ((POLICY_SUMMARY, 0),)) + +UPDATE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _UPI, + {_sSI: _cUPR, _smith: None}, + (_pEI, _pIo, _d, _de, _vM, _eM), + ( + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.UPDATED_DESCRIPTION, 0), + (lambda: schemas.POLICY_DEFINITION, 0), + (lambda: schemas.POLICY_VALIDATION_MODE, {_smi: _FOAF}), + (lambda: schemas.ENFORCEMENT_MODE, {_smi: None}), + ), +) + +UPDATE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _UPOp, + {_sSI: _cUPRo, _smithy: None}, + (_pIo, _n, _pEI, _cA, _uA, _pAo, _st, _eM, _de, _d, _sRta), + ( + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.POLICY_NAME, 1), + (lambda: schemas.RESOURCE_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (POLICY_ARN, 1), + (POLICY_STATUS, 1), + (lambda: schemas.ENFORCEMENT_MODE, {_smi: _ACTIVE}), + (lambda: schemas.POLICY_DEFINITION, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.POLICY_STATUS_REASONS, 1), + ), +) + +UPDATE_POLICY: StaticOperationSchema = ( + 23, + n0, + _UPp, + { + _smithya: MappingProxyType( + { + "method": "PATCH", + "uri": "/policy-engines/{policyEngineId}/policies/{policyId}", + "code": 202, + } + ) + }, + UPDATE_POLICY_INPUT, + UPDATE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_sSI: _cPRPR, _smith: None}, + (_rAe, _pol), + ( + (lambda: schemas.BEDROCK_AGENTCORE_RESOURCE_ARN, 9), + (lambda: schemas.RESOURCE_POLICY_BODY, 1), + ), +) + +PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPO, + {_sSI: _cPRPRo, _smithy: None}, + (_pol,), + ((lambda: schemas.RESOURCE_POLICY_BODY, 1),), +) + +PUT_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRP, + { + _smithya: MappingProxyType( + {"code": 201, "method": "PUT", "uri": "/resourcepolicy/{resourceArn}"} + ) + }, + PUT_RESOURCE_POLICY_INPUT, + PUT_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CUSTOM_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _CDus, + 0, + (_iC,), + ((lambda: schemas.INLINE_CONTENT, 0),), +) + +SERVER_DEFINITION: StaticSchema = ( + 18, + n0, + _SDe, + 0, + (_sV, _iC), + ((lambda: schemas.SCHEMA_VERSION, 0), (lambda: schemas.INLINE_CONTENT, 0)), +) + +TOOLS_DEFINITION: StaticSchema = ( + 18, + n0, + _TDo, + 0, + (_pVr, _iC), + ((lambda: schemas.SCHEMA_VERSION, 0), (lambda: schemas.INLINE_CONTENT, 0)), +) + +MCP_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _MD, + 0, + (_se, _too), + ((SERVER_DEFINITION, 0), (TOOLS_DEFINITION, 0)), +) + +DESCRIPTORS: StaticSchema = ( + 18, + n0, + _Des, + 0, + (_mc, _aa, _cu, _aSg), + ( + (MCP_DESCRIPTOR, 0), + (lambda: schemas.A2A_DESCRIPTOR, 0), + (CUSTOM_DESCRIPTOR, 0), + (lambda: schemas.AGENT_SKILLS_DESCRIPTOR, 0), + ), +) + +DESCRIPTOR_TYPE: StaticSchema = ( + 14, + n0, + _DTe, + 0, + (_MCP, _AA_, _CUSTOM, _AS), + ((-1, {_sVm: _MCP}), (-1, {_sVm: _AA_}), (-1, {_sVm: _CUSTOM}), (-1, {_sVm: _AS})), +) + +REGISTRY_RECORD_NAME: StaticSchema = (3, n0, _RRN, 0) + +REGISTRY_RECORD_VERSION: StaticSchema = (3, n0, _RRV, 0) + +REGISTRY_IDENTIFIER: StaticSchema = (3, n0, _RIe, 0) + +IAM_SIGNING_REGION: StaticSchema = (3, n0, _ISR, 0) + +IAM_ROLE_ARN: StaticSchema = (3, n0, _IRA, 0) + +IAM_SIGNING_SERVICE_NAME: StaticSchema = (3, n0, _ISSN, 0) + +REGISTRY_RECORD_IAM_CREDENTIAL_PROVIDER: StaticSchema = ( + 18, + n0, + _RRICP, + 0, + (_rA, _ser, _reg), + ((IAM_ROLE_ARN, 0), (IAM_SIGNING_SERVICE_NAME, 0), (IAM_SIGNING_REGION, 0)), +) + +CUSTOM_PARAMETER_MAP: StaticSchema = (17, n0, _CPMu, 0, (_k, _v), ((3, 0), (3, 0))) + +REGISTRY_RECORD_O_AUTH_GRANT_TYPE: StaticSchema = ( + 14, + n0, + _RROAGT, + 0, + (_CC_,), + ((-1, {_sVm: _CC_}),), +) + +CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _CPAr, 0) + +SCOPE_LIST: StaticSchema = (16, n0, _SLc, 0, (_mem,), ((3, 0),)) + +REGISTRY_RECORD_O_AUTH_CREDENTIAL_PROVIDER: StaticSchema = ( + 18, + n0, + _RROACP, + 0, + (_pAr, _gT, _sco, _cPu), + ( + (CREDENTIAL_PROVIDER_ARN, 1), + (REGISTRY_RECORD_O_AUTH_GRANT_TYPE, 0), + (SCOPE_LIST, 0), + (CUSTOM_PARAMETER_MAP, 0), + ), +) + +REGISTRY_RECORD_CREDENTIAL_PROVIDER_UNION: StaticSchema = ( + 19, + n0, + _RRCPU, + 0, + (_oCP, _iCP), + ( + (REGISTRY_RECORD_O_AUTH_CREDENTIAL_PROVIDER, 0), + (REGISTRY_RECORD_IAM_CREDENTIAL_PROVIDER, 0), + ), +) + +REGISTRY_RECORD_CREDENTIAL_PROVIDER_TYPE: StaticSchema = ( + 14, + n0, + _RRCPT, + 0, + (_OAUTH, _IAM), + ((-1, {_sVm: _OAUTH}), (-1, {_sVm: _IAM})), +) + +REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RRCPC, + 0, + (_cPT, _cPre), + ( + (REGISTRY_RECORD_CREDENTIAL_PROVIDER_TYPE, 1), + (REGISTRY_RECORD_CREDENTIAL_PROVIDER_UNION, 1), + ), +) + +REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _RRCPCL, + 0, + (_mem,), + ((REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION, 0),), +) + +MCP_SERVER_URL: StaticSchema = (3, n0, _MSU, 0) + +FROM_URL_SYNCHRONIZATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FUSC, + 0, + (_ur, _cPCr), + ((MCP_SERVER_URL, 1), (REGISTRY_RECORD_CREDENTIAL_PROVIDER_CONFIGURATION_LIST, 0)), +) + +SYNCHRONIZATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCy, + 0, + (_fU,), + ((FROM_URL_SYNCHRONIZATION_CONFIGURATION, 0),), +) + +SYNCHRONIZATION_TYPE: StaticSchema = (14, n0, _STy, 0, (_URL,), ((-1, {_sVm: _URL}),)) + +CREATE_REGISTRY_RECORD_INPUT: StaticSchema = ( + 18, + n0, + _CRRI, + {_sSI: _cCRRR, _smith: None}, + (_rIe, _n, _d, _dT, _des, _rVe, _sTy, _sCy, _cT), + ( + (REGISTRY_IDENTIFIER, 9), + (REGISTRY_RECORD_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (DESCRIPTOR_TYPE, 1), + (DESCRIPTORS, 0), + (REGISTRY_RECORD_VERSION, 0), + (SYNCHRONIZATION_TYPE, 0), + (SYNCHRONIZATION_CONFIGURATION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_REGISTRY_RECORD_OUTPUT: StaticSchema = ( + 18, + n0, + _CRRO, + {_sSI: _cCRRRo, _smithy: None}, + (_rAec, _st), + ((lambda: REGISTRY_RECORD_ARN, 1), (lambda: REGISTRY_RECORD_STATUS, 1)), +) + +CREATE_REGISTRY_RECORD: StaticOperationSchema = ( + 23, + n0, + _CRR, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/registries/{registryId}/records", "code": 202} + ) + }, + CREATE_REGISTRY_RECORD_INPUT, + CREATE_REGISTRY_RECORD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REGISTRY_RECORD_ARN: StaticSchema = (3, n0, _RRA, 0) + +REGISTRY_RECORD_STATUS: StaticSchema = ( + 14, + n0, + _RRS, + 0, + (_DRAFT, _PA_, _APPROVED, _REJECTED, _DEPRECATED, _CREATING, _UPDATING, _CF, _UF), + ( + (-1, {_sVm: _DRAFT}), + (-1, {_sVm: _PA_}), + (-1, {_sVm: _APPROVED}), + (-1, {_sVm: _REJECTED}), + (-1, {_sVm: _DEPRECATED}), + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UF}), + ), +) + +RECORD_IDENTIFIER: StaticSchema = (3, n0, _RIec, 0) + +DELETE_REGISTRY_RECORD_INPUT: StaticSchema = ( + 18, + n0, + _DRRI, + {_sSI: _cDRRR, _smith: None}, + (_rIe, _rIec), + ((REGISTRY_IDENTIFIER, 9), (RECORD_IDENTIFIER, 9)), +) + +DELETE_REGISTRY_RECORD_OUTPUT: StaticSchema = ( + 18, + n0, + _DRRO, + {_sSI: _cDRRRo, _smithy: None}, +) + +DELETE_REGISTRY_RECORD: StaticOperationSchema = ( + 23, + n0, + _DRR, + { + _smithya: MappingProxyType( + { + "method": "DELETE", + "uri": "/registries/{registryId}/records/{recordId}", + "code": 200, + } + ) + }, + DELETE_REGISTRY_RECORD_INPUT, + DELETE_REGISTRY_RECORD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_REGISTRY_RECORD_INPUT: StaticSchema = ( + 18, + n0, + _GRRI, + {_sSI: _cGRRR, _smith: None}, + (_rIe, _rIec), + ((REGISTRY_IDENTIFIER, 9), (RECORD_IDENTIFIER, 9)), +) + +GET_REGISTRY_RECORD_OUTPUT: StaticSchema = ( + 18, + n0, + _GRRO, + {_sSI: _cGRRRo, _smithy: None}, + (_rAeg, _rAec, _rIec, _n, _d, _dT, _des, _rVe, _st, _cA, _uA, _sRt, _sTy, _sCy), + ( + (lambda: REGISTRY_ARN, 1), + (REGISTRY_RECORD_ARN, 1), + (lambda: REGISTRY_RECORD_ID, 1), + (REGISTRY_RECORD_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (DESCRIPTOR_TYPE, 1), + (DESCRIPTORS, 1), + (REGISTRY_RECORD_VERSION, 0), + (REGISTRY_RECORD_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (3, 0), + (SYNCHRONIZATION_TYPE, 0), + (SYNCHRONIZATION_CONFIGURATION, 0), + ), +) + +GET_REGISTRY_RECORD: StaticOperationSchema = ( + 23, + n0, + _GRR, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/registries/{registryId}/records/{recordId}", + "code": 200, + } + ) + }, + GET_REGISTRY_RECORD_INPUT, + GET_REGISTRY_RECORD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REGISTRY_RECORD_ID: StaticSchema = (3, n0, _RRI, 0) + +REGISTRY_ARN: StaticSchema = (3, n0, _RAe, 0) + +LIST_REGISTRY_RECORDS_INPUT: StaticSchema = ( + 18, + n0, + _LRRI, + {_sSI: _cLRRR, _smith: None}, + (_rIe, _mR, _nT, _n, _st, _dT), + ( + (REGISTRY_IDENTIFIER, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (REGISTRY_RECORD_NAME, {_sQ: _n}), + (REGISTRY_RECORD_STATUS, {_sQ: _st}), + (DESCRIPTOR_TYPE, {_sQ: _dT}), + ), +) + +LIST_REGISTRY_RECORDS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRRO, + {_sSI: _cLRRRo, _smithy: None}, + (_rR, _nT), + ((lambda: REGISTRY_RECORD_SUMMARY_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_REGISTRY_RECORDS: StaticOperationSchema = ( + 23, + n0, + _LRR, + { + _smithya: MappingProxyType( + {"method": "GET", "uri": "/registries/{registryId}/records", "code": 200} + ) + }, + LIST_REGISTRY_RECORDS_INPUT, + LIST_REGISTRY_RECORDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REGISTRY_RECORD_SUMMARY: StaticSchema = ( + 18, + n0, + _RRSe, + 0, + (_rAeg, _rAec, _rIec, _n, _d, _dT, _rVe, _st, _cA, _uA), + ( + (REGISTRY_ARN, 1), + (REGISTRY_RECORD_ARN, 1), + (REGISTRY_RECORD_ID, 1), + (REGISTRY_RECORD_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (DESCRIPTOR_TYPE, 1), + (REGISTRY_RECORD_VERSION, 1), + (REGISTRY_RECORD_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +REGISTRY_RECORD_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _RRSL, + 0, + (_mem,), + ((REGISTRY_RECORD_SUMMARY, 0),), +) + +SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_INPUT: StaticSchema = ( + 18, + n0, + _SRRFAI, + {_sSI: _cSRRFAR, _smith: None}, + (_rIe, _rIec), + ((REGISTRY_IDENTIFIER, 9), (RECORD_IDENTIFIER, 9)), +) + +SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_OUTPUT: StaticSchema = ( + 18, + n0, + _SRRFAO, + {_sSI: _cSRRFARo, _smithy: None}, + (_rAeg, _rAec, _rIec, _st, _uA), + ( + (REGISTRY_ARN, 1), + (REGISTRY_RECORD_ARN, 1), + (REGISTRY_RECORD_ID, 1), + (REGISTRY_RECORD_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +SUBMIT_REGISTRY_RECORD_FOR_APPROVAL: StaticOperationSchema = ( + 23, + n0, + _SRRFA, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/registries/{registryId}/records/{recordId}/submit-for-approval", + "code": 202, + } + ) + }, + SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_INPUT, + SUBMIT_REGISTRY_RECORD_FOR_APPROVAL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATED_A2A_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _UAD, + 0, + (_oV,), + ((lambda: schemas.A2A_DESCRIPTOR, 0),), +) + +UPDATED_SKILL_DEFINITION: StaticSchema = ( + 18, + n0, + _USD, + 0, + (_oV,), + ((lambda: schemas.SKILL_DEFINITION, 0),), +) + +UPDATED_SKILL_MD_DEFINITION: StaticSchema = ( + 18, + n0, + _USMD, + 0, + (_oV,), + ((lambda: schemas.SKILL_MD_DEFINITION, 0),), +) + +UPDATED_AGENT_SKILLS_DESCRIPTOR_FIELDS: StaticSchema = ( + 18, + n0, + _UASDF, + 0, + (_sMk, _sD), + ((UPDATED_SKILL_MD_DEFINITION, 0), (UPDATED_SKILL_DEFINITION, 0)), +) + +UPDATED_AGENT_SKILLS_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _UASD, + 0, + (_oV,), + ((UPDATED_AGENT_SKILLS_DESCRIPTOR_FIELDS, 0),), +) + +UPDATED_CUSTOM_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _UCD, + 0, + (_oV,), + ((CUSTOM_DESCRIPTOR, 0),), +) + +UPDATED_SERVER_DEFINITION: StaticSchema = ( + 18, + n0, + _USDp, + 0, + (_oV,), + ((SERVER_DEFINITION, 0),), +) + +UPDATED_TOOLS_DEFINITION: StaticSchema = ( + 18, + n0, + _UTD, + 0, + (_oV,), + ((TOOLS_DEFINITION, 0),), +) + +UPDATED_MCP_DESCRIPTOR_FIELDS: StaticSchema = ( + 18, + n0, + _UMDF, + 0, + (_se, _too), + ((UPDATED_SERVER_DEFINITION, 0), (UPDATED_TOOLS_DEFINITION, 0)), +) + +UPDATED_MCP_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _UMD, + 0, + (_oV,), + ((UPDATED_MCP_DESCRIPTOR_FIELDS, 0),), +) + +UPDATED_DESCRIPTORS_UNION: StaticSchema = ( + 18, + n0, + _UDU, + 0, + (_mc, _aa, _cu, _aSg), + ( + (UPDATED_MCP_DESCRIPTOR, 0), + (UPDATED_A2A_DESCRIPTOR, 0), + (UPDATED_CUSTOM_DESCRIPTOR, 0), + (UPDATED_AGENT_SKILLS_DESCRIPTOR, 0), + ), +) + +UPDATED_DESCRIPTORS: StaticSchema = ( + 18, + n0, + _UDpd, + 0, + (_oV,), + ((UPDATED_DESCRIPTORS_UNION, 0),), +) + +UPDATED_SYNCHRONIZATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _USC, + 0, + (_oV,), + ((SYNCHRONIZATION_CONFIGURATION, 0),), +) + +UPDATED_SYNCHRONIZATION_TYPE: StaticSchema = ( + 18, + n0, + _UST, + 0, + (_oV,), + ((SYNCHRONIZATION_TYPE, 0),), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_15.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_15.py new file mode 100644 index 000000000..17210980e --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_15.py @@ -0,0 +1,1405 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_sm = "smithy.api#required" +_k = "key" +_v = "value" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_DF = "DELETE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_smithya = "smithy.api#http" +_t = "tags" +_READY = "READY" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_s_ = "s3" +_wI = "workloadIdentities" +_pE = "privateEndpoint" +_cCe = "certificateConfigurations" +_aCu = "authorizerConfiguration" +_wIA = "workloadIdentityArn" +_mC = "metadataConfiguration" +_cTr = "createdTime" +_lUT = "lastUpdatedTime" +_ty = "type" +_sRt = "statusReason" +_oV = "optionalValue" +_rAe = "resourceArn" +_lA = "lambdaArn" +_gI = "gatewayIdentifier" +_CJ = "CUSTOM_JWT" +_AI = "AWS_IAM" +_lam = "lambda" +_mc = "mcp" +_pTr = "protocolType" +_aT = "authorizerType" +_gA = "gatewayArn" +_sRta = "statusReasons" +_it = "items" +_iPn = "inlinePayload" +_conne = "connector" +_tI = "targetId" +_lSAa = "lastSynchronizedAt" +_aDu = "authorizationData" +_tVI = "tokenVaultId" +_kC = "kmsConfiguration" +_lMD = "lastModifiedDate" +_iS = "inputSchema" +_TRA = "TaggableResourcesArn" +_cPCr = "credentialProviderConfigurations" +_rIe = "registryId" +_dT = "descriptorType" +_des = "descriptors" +_rVe = "recordVersion" +_sTy = "synchronizationType" +_sCy = "synchronizationConfiguration" +_rAec = "recordArn" +_rIec = "recordId" +_rAeg = "registryArn" +_URRI = "UpdateRegistryRecordInput" +_cURRR = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRecordRequest" +_tSr = "triggerSynchronization" +_URRO = "UpdateRegistryRecordOutput" +_cURRRo = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRecordResponse" +_URR = "UpdateRegistryRecord" +_URRSI = "UpdateRegistryRecordStatusInput" +_cURRSR = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRecordStatusRequest" +_URRSO = "UpdateRegistryRecordStatusOutput" +_cURRSRo = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRecordStatusResponse" +_URRS = "UpdateRegistryRecordStatus" +_ACp = "ApprovalConfiguration" +_aAu = "autoApproval" +_RAT = "RegistryAuthorizerType" +_RN = "RegistryName" +_CRIr = "CreateRegistryInput" +_cCRR = "com.amazonaws.bedrockagentcorecontrol#CreateRegistryRequest" +_aCp = "approvalConfiguration" +_CROr = "CreateRegistryOutput" +_cCRRo = "com.amazonaws.bedrockagentcorecontrol#CreateRegistryResponse" +_CR = "CreateRegistry" +_DRI = "DeleteRegistryInput" +_cDRR = "com.amazonaws.bedrockagentcorecontrol#DeleteRegistryRequest" +_RSe = "RegistryStatus" +_DRO = "DeleteRegistryOutput" +_cDRRo = "com.amazonaws.bedrockagentcorecontrol#DeleteRegistryResponse" +_DR = "DeleteRegistry" +_GRIe = "GetRegistryInput" +_cGRR = "com.amazonaws.bedrockagentcorecontrol#GetRegistryRequest" +_RIeg = "RegistryId" +_GRO = "GetRegistryOutput" +_cGRRo = "com.amazonaws.bedrockagentcorecontrol#GetRegistryResponse" +_GRe = "GetRegistry" +_LRI = "ListRegistriesInput" +_cLRR = "com.amazonaws.bedrockagentcorecontrol#ListRegistriesRequest" +_RSeg = "RegistrySummary" +_RSL = "RegistrySummaryList" +_LRO = "ListRegistriesOutput" +_cLRRo = "com.amazonaws.bedrockagentcorecontrol#ListRegistriesResponse" +_regi = "registries" +_LR = "ListRegistries" +_UACp = "UpdatedApprovalConfiguration" +_URI = "UpdateRegistryInput" +_cURR = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryRequest" +_URO = "UpdateRegistryOutput" +_cURRo = "com.amazonaws.bedrockagentcorecontrol#UpdateRegistryResponse" +_UR = "UpdateRegistry" +_RTVKMI = "ResetTokenVaultKeyMaterialInput" +_cRTVKMR = "com.amazonaws.bedrockagentcorecontrol#ResetTokenVaultKeyMaterialRequest" +_RTVKMO = "ResetTokenVaultKeyMaterialOutput" +_cRTVKMRo = "com.amazonaws.bedrockagentcorecontrol#ResetTokenVaultKeyMaterialResponse" +_RTVKM = "ResetTokenVaultKeyMaterial" +_CME = "ConcurrentModificationException" +_STVCMKI = "SetTokenVaultCMKInput" +_cSTVCMKR = "com.amazonaws.bedrockagentcorecontrol#SetTokenVaultCMKRequest" +_STVCMKO = "SetTokenVaultCMKOutput" +_cSTVCMKRo = "com.amazonaws.bedrockagentcorecontrol#SetTokenVaultCMKResponse" +_STVCMK = "SetTokenVaultCMK" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.bedrockagentcorecontrol#TagResourceRequest" +_TRO = "TagResourceOutput" +_cTRRo = "com.amazonaws.bedrockagentcorecontrol#TagResourceResponse" +_TR = "TagResource" +_TKL = "TagKeyList" +_URIn = "UntagResourceInput" +_cURRom = "com.amazonaws.bedrockagentcorecontrol#UntagResourceRequest" +_tKa = "tagKeys" +_UROn = "UntagResourceOutput" +_cURRoma = "com.amazonaws.bedrockagentcorecontrol#UntagResourceResponse" +_URn = "UntagResource" +_RORUT = "ResourceOauth2ReturnUrlType" +_RORULT = "ResourceOauth2ReturnUrlListType" +_CWII = "CreateWorkloadIdentityInput" +_cCWIR = "com.amazonaws.bedrockagentcorecontrol#CreateWorkloadIdentityRequest" +_aRORU = "allowedResourceOauth2ReturnUrls" +_WIAT = "WorkloadIdentityArnType" +_CWIO = "CreateWorkloadIdentityOutput" +_cCWIRo = "com.amazonaws.bedrockagentcorecontrol#CreateWorkloadIdentityResponse" +_CWI = "CreateWorkloadIdentity" +_DWII = "DeleteWorkloadIdentityInput" +_cDWIR = "com.amazonaws.bedrockagentcorecontrol#DeleteWorkloadIdentityRequest" +_DWIO = "DeleteWorkloadIdentityOutput" +_cDWIRo = "com.amazonaws.bedrockagentcorecontrol#DeleteWorkloadIdentityResponse" +_DWI = "DeleteWorkloadIdentity" +_GWII = "GetWorkloadIdentityInput" +_cGWIR = "com.amazonaws.bedrockagentcorecontrol#GetWorkloadIdentityRequest" +_GWIO = "GetWorkloadIdentityOutput" +_cGWIRo = "com.amazonaws.bedrockagentcorecontrol#GetWorkloadIdentityResponse" +_GWI = "GetWorkloadIdentity" +_LWII = "ListWorkloadIdentitiesInput" +_cLWIR = "com.amazonaws.bedrockagentcorecontrol#ListWorkloadIdentitiesRequest" +_WIT = "WorkloadIdentityType" +_WIL = "WorkloadIdentityList" +_LWIO = "ListWorkloadIdentitiesOutput" +_cLWIRo = "com.amazonaws.bedrockagentcorecontrol#ListWorkloadIdentitiesResponse" +_LWI = "ListWorkloadIdentities" +_UWII = "UpdateWorkloadIdentityInput" +_cUWIR = "com.amazonaws.bedrockagentcorecontrol#UpdateWorkloadIdentityRequest" +_UWIO = "UpdateWorkloadIdentityOutput" +_cUWIRo = "com.amazonaws.bedrockagentcorecontrol#UpdateWorkloadIdentityResponse" +_UWI = "UpdateWorkloadIdentity" +_SDc = "SchemaDefinition" +_pro = "properties" +_requ = "required" +_SPc = "SchemaProperties" +_TDoo = "ToolDefinition" +_oSu = "outputSchema" +_TDool = "ToolDefinitions" +_TSo = "ToolSchema" +_MLTC = "McpLambdaTargetConfiguration" +_tSo = "toolSchema" +_MTC = "McpTargetConfiguration" +_oAS = "openApiSchema" +_sMm = "smithyModel" +_mSc = "mcpServer" +_aG = "apiGateway" +_TCa = "TargetConfiguration" +_ht = "http" +_inf = "inference" +_CGTI = "CreateGatewayTargetInput" +_cCGTR = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayTargetRequest" +_tCa = "targetConfiguration" +_CGTO = "CreateGatewayTargetOutput" +_cCGTRo = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayTargetResponse" +_pEMR = "privateEndpointManagedResources" +_GTa = "GatewayTarget" +_UGTI = "UpdateGatewayTargetInput" +_cUGTR = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayTargetRequest" +_UGTO = "UpdateGatewayTargetOutput" +_cUGTRo = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayTargetResponse" +_GTL = "GatewayTargetList" +_CGT = "CreateGatewayTarget" +_UGT = "UpdateGatewayTarget" +_ABACC = "AmazonBedrockAgentCoreControl" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" +_smithyap = "smithy.api#cors" + +TAGGABLE_RESOURCES_ARN: StaticSchema = (3, n0, _TRA, 0) + +UPDATE_REGISTRY_RECORD_INPUT: StaticSchema = ( + 18, + n0, + _URRI, + {_sSI: _cURRR, _smith: None}, + (_rIe, _rIec, _n, _d, _dT, _des, _rVe, _sTy, _sCy, _tSr), + ( + (lambda: schemas.REGISTRY_IDENTIFIER, 9), + (lambda: schemas.RECORD_IDENTIFIER, 9), + (lambda: schemas.REGISTRY_RECORD_NAME, 0), + (lambda: schemas.UPDATED_DESCRIPTION, 0), + (lambda: schemas.DESCRIPTOR_TYPE, 0), + (lambda: schemas.UPDATED_DESCRIPTORS, 0), + (lambda: schemas.REGISTRY_RECORD_VERSION, 0), + (lambda: schemas.UPDATED_SYNCHRONIZATION_TYPE, 0), + (lambda: schemas.UPDATED_SYNCHRONIZATION_CONFIGURATION, 0), + (2, 0), + ), +) + +UPDATE_REGISTRY_RECORD_OUTPUT: StaticSchema = ( + 18, + n0, + _URRO, + {_sSI: _cURRRo, _smithy: None}, + (_rAeg, _rAec, _rIec, _n, _d, _dT, _des, _rVe, _st, _cA, _uA, _sRt, _sTy, _sCy), + ( + (lambda: schemas.REGISTRY_ARN, 1), + (lambda: schemas.REGISTRY_RECORD_ARN, 1), + (lambda: schemas.REGISTRY_RECORD_ID, 1), + (lambda: schemas.REGISTRY_RECORD_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.DESCRIPTOR_TYPE, 1), + (lambda: schemas.DESCRIPTORS, 1), + (lambda: schemas.REGISTRY_RECORD_VERSION, 0), + (lambda: schemas.REGISTRY_RECORD_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (3, 0), + (lambda: schemas.SYNCHRONIZATION_TYPE, 0), + (lambda: schemas.SYNCHRONIZATION_CONFIGURATION, 0), + ), +) + +UPDATE_REGISTRY_RECORD: StaticOperationSchema = ( + 23, + n0, + _URR, + { + _smithya: MappingProxyType( + { + "method": "PATCH", + "uri": "/registries/{registryId}/records/{recordId}", + "code": 202, + } + ) + }, + UPDATE_REGISTRY_RECORD_INPUT, + UPDATE_REGISTRY_RECORD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_REGISTRY_RECORD_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _URRSI, + {_sSI: _cURRSR, _smith: None}, + (_rIe, _rIec, _st, _sRt), + ( + (lambda: schemas.REGISTRY_IDENTIFIER, 9), + (lambda: schemas.RECORD_IDENTIFIER, 9), + (lambda: schemas.REGISTRY_RECORD_STATUS, 1), + (3, 1), + ), +) + +UPDATE_REGISTRY_RECORD_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _URRSO, + {_sSI: _cURRSRo, _smithy: None}, + (_rAeg, _rAec, _rIec, _st, _sRt, _uA), + ( + (lambda: schemas.REGISTRY_ARN, 1), + (lambda: schemas.REGISTRY_RECORD_ARN, 1), + (lambda: schemas.REGISTRY_RECORD_ID, 1), + (lambda: schemas.REGISTRY_RECORD_STATUS, 1), + (3, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +UPDATE_REGISTRY_RECORD_STATUS: StaticOperationSchema = ( + 23, + n0, + _URRS, + { + _smithya: MappingProxyType( + { + "method": "PATCH", + "uri": "/registries/{registryId}/records/{recordId}/status", + "code": 202, + } + ) + }, + UPDATE_REGISTRY_RECORD_STATUS_INPUT, + UPDATE_REGISTRY_RECORD_STATUS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +APPROVAL_CONFIGURATION: StaticSchema = (18, n0, _ACp, 0, (_aAu,), ((2, {_smi: False}),)) + +REGISTRY_AUTHORIZER_TYPE: StaticSchema = ( + 14, + n0, + _RAT, + 0, + (_CJ, _AI), + ((-1, {_sVm: _CJ}), (-1, {_sVm: _AI})), +) + +REGISTRY_NAME: StaticSchema = (3, n0, _RN, 0) + +CREATE_REGISTRY_INPUT: StaticSchema = ( + 18, + n0, + _CRIr, + {_sSI: _cCRR, _smith: None}, + (_n, _d, _aT, _aCu, _cT, _aCp), + ( + (REGISTRY_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (REGISTRY_AUTHORIZER_TYPE, 0), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (APPROVAL_CONFIGURATION, 0), + ), +) + +CREATE_REGISTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _CROr, + {_sSI: _cCRRo, _smithy: None}, + (_rAeg,), + ((lambda: schemas.REGISTRY_ARN, 1),), +) + +CREATE_REGISTRY: StaticOperationSchema = ( + 23, + n0, + _CR, + {_smithya: MappingProxyType({"code": 202, "method": "POST", "uri": "/registries"})}, + CREATE_REGISTRY_INPUT, + CREATE_REGISTRY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_REGISTRY_INPUT: StaticSchema = ( + 18, + n0, + _DRI, + {_sSI: _cDRR, _smith: None}, + (_rIe,), + ((lambda: schemas.REGISTRY_IDENTIFIER, 9),), +) + +DELETE_REGISTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _DRO, + {_sSI: _cDRRo, _smithy: None}, + (_st,), + ((lambda: REGISTRY_STATUS, 1),), +) + +DELETE_REGISTRY: StaticOperationSchema = ( + 23, + n0, + _DR, + { + _smithya: MappingProxyType( + {"code": 202, "method": "DELETE", "uri": "/registries/{registryId}"} + ) + }, + DELETE_REGISTRY_INPUT, + DELETE_REGISTRY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REGISTRY_STATUS: StaticSchema = ( + 14, + n0, + _RSe, + 0, + (_CREATING, _READY, _UPDATING, _CF, _UF, _DELETING, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + ), +) + +GET_REGISTRY_INPUT: StaticSchema = ( + 18, + n0, + _GRIe, + {_sSI: _cGRR, _smith: None}, + (_rIe,), + ((lambda: schemas.REGISTRY_IDENTIFIER, 9),), +) + +GET_REGISTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRO, + {_sSI: _cGRRo, _smithy: None}, + (_n, _d, _rIe, _rAeg, _aT, _aCu, _aCp, _st, _sRt, _cA, _uA), + ( + (REGISTRY_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: REGISTRY_ID, 1), + (lambda: schemas.REGISTRY_ARN, 1), + (REGISTRY_AUTHORIZER_TYPE, 0), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (APPROVAL_CONFIGURATION, 0), + (REGISTRY_STATUS, 1), + (3, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +GET_REGISTRY: StaticOperationSchema = ( + 23, + n0, + _GRe, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/registries/{registryId}"} + ) + }, + GET_REGISTRY_INPUT, + GET_REGISTRY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REGISTRY_ID: StaticSchema = (3, n0, _RIeg, 0) + +LIST_REGISTRIES_INPUT: StaticSchema = ( + 18, + n0, + _LRI, + {_sSI: _cLRR, _smith: None}, + (_mR, _nT, _st, _aT), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (REGISTRY_STATUS, {_sQ: _st}), + (REGISTRY_AUTHORIZER_TYPE, {_sQ: _aT}), + ), +) + +LIST_REGISTRIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LRO, + {_sSI: _cLRRo, _smithy: None}, + (_regi, _nT), + ((lambda: REGISTRY_SUMMARY_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_REGISTRIES: StaticOperationSchema = ( + 23, + n0, + _LR, + {_smithya: MappingProxyType({"code": 200, "method": "GET", "uri": "/registries"})}, + LIST_REGISTRIES_INPUT, + LIST_REGISTRIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REGISTRY_SUMMARY: StaticSchema = ( + 18, + n0, + _RSeg, + 0, + (_n, _d, _rIe, _rAeg, _aT, _st, _sRt, _cA, _uA), + ( + (REGISTRY_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (REGISTRY_ID, 1), + (lambda: schemas.REGISTRY_ARN, 1), + (REGISTRY_AUTHORIZER_TYPE, 0), + (REGISTRY_STATUS, 1), + (3, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +REGISTRY_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _RSL, + 0, + (_mem,), + ((REGISTRY_SUMMARY, 0),), +) + +UPDATED_APPROVAL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _UACp, + 0, + (_oV,), + ((APPROVAL_CONFIGURATION, 0),), +) + +UPDATE_REGISTRY_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _smith: None}, + (_rIe, _n, _d, _aCu, _aCp), + ( + (lambda: schemas.REGISTRY_IDENTIFIER, 9), + (REGISTRY_NAME, 0), + (lambda: schemas.UPDATED_DESCRIPTION, 0), + (lambda: schemas.UPDATED_AUTHORIZER_CONFIGURATION, 0), + (UPDATED_APPROVAL_CONFIGURATION, 0), + ), +) + +UPDATE_REGISTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _URO, + {_sSI: _cURRo, _smithy: None}, + (_n, _d, _rIe, _rAeg, _aT, _aCu, _aCp, _st, _sRt, _cA, _uA), + ( + (REGISTRY_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (REGISTRY_ID, 1), + (lambda: schemas.REGISTRY_ARN, 1), + (REGISTRY_AUTHORIZER_TYPE, 0), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (APPROVAL_CONFIGURATION, 0), + (REGISTRY_STATUS, 1), + (3, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +UPDATE_REGISTRY: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smithya: MappingProxyType( + {"code": 202, "method": "PATCH", "uri": "/registries/{registryId}"} + ) + }, + UPDATE_REGISTRY_INPUT, + UPDATE_REGISTRY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RESET_TOKEN_VAULT_KEY_MATERIAL_INPUT: StaticSchema = ( + 18, + n0, + _RTVKMI, + {_sSI: _cRTVKMR, _smith: None}, + (_tVI,), + ((lambda: schemas.TOKEN_VAULT_ID_TYPE, 1),), +) + +RESET_TOKEN_VAULT_KEY_MATERIAL_OUTPUT: StaticSchema = ( + 18, + n0, + _RTVKMO, + {_sSI: _cRTVKMRo, _smithy: None}, + (_tVI, _kC, _lMD), + ( + (lambda: schemas.TOKEN_VAULT_ID_TYPE, 1), + (lambda: schemas.KMS_CONFIGURATION, 1), + (4, 1), + ), +) + +RESET_TOKEN_VAULT_KEY_MATERIAL: StaticOperationSchema = ( + 23, + n0, + _RTVKM, + { + _smithya: MappingProxyType( + {"uri": "/identities/reset-token-vault-key-material", "method": "POST"} + ) + }, + RESET_TOKEN_VAULT_KEY_MATERIAL_INPUT, + RESET_TOKEN_VAULT_KEY_MATERIAL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONCURRENT_MODIFICATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _CME, + {_s: _c, _sE: 409}, + (_m,), + ((3, 1),), +) + +SET_TOKEN_VAULT_CMK_INPUT: StaticSchema = ( + 18, + n0, + _STVCMKI, + {_sSI: _cSTVCMKR, _smith: None}, + (_tVI, _kC), + ((lambda: schemas.TOKEN_VAULT_ID_TYPE, 0), (lambda: schemas.KMS_CONFIGURATION, 1)), +) + +SET_TOKEN_VAULT_CMK_OUTPUT: StaticSchema = ( + 18, + n0, + _STVCMKO, + {_sSI: _cSTVCMKRo, _smithy: None}, + (_tVI, _kC, _lMD), + ( + (lambda: schemas.TOKEN_VAULT_ID_TYPE, 1), + (lambda: schemas.KMS_CONFIGURATION, 1), + (4, 1), + ), +) + +SET_TOKEN_VAULT_CMK: StaticOperationSchema = ( + 23, + n0, + _STVCMK, + { + _smithya: MappingProxyType( + {"uri": "/identities/set-token-vault-cmk", "method": "POST"} + ) + }, + SET_TOKEN_VAULT_CMK_INPUT, + SET_TOKEN_VAULT_CMK_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smith: None}, + (_rAe, _t), + ((TAGGABLE_RESOURCES_ARN, 9), (lambda: schemas.TAGS_MAP, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smithy: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + { + _smithya: MappingProxyType( + {"code": 204, "method": "POST", "uri": "/tags/{resourceArn}"} + ) + }, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_mem,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URIn, + {_sSI: _cURRom, _smith: None}, + (_rAe, _tKa), + ((TAGGABLE_RESOURCES_ARN, 9), (TAG_KEY_LIST, {_sQ: _tKa, _sm: None})), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _UROn, {_sSI: _cURRoma, _smithy: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _URn, + { + _smithya: MappingProxyType( + {"code": 204, "method": "DELETE", "uri": "/tags/{resourceArn}"} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RESOURCE_OAUTH2_RETURN_URL_TYPE: StaticSchema = (3, n0, _RORUT, 0) + +RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE: StaticSchema = ( + 16, + n0, + _RORULT, + 0, + (_mem,), + ((RESOURCE_OAUTH2_RETURN_URL_TYPE, 0),), +) + +CREATE_WORKLOAD_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _CWII, + {_sSI: _cCWIR, _smith: None}, + (_n, _aRORU, _t), + ( + (lambda: schemas.WORKLOAD_IDENTITY_NAME_TYPE, 1), + (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_WORKLOAD_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _CWIO, + {_sSI: _cCWIRo, _smithy: None}, + (_n, _wIA, _aRORU), + ( + (lambda: schemas.WORKLOAD_IDENTITY_NAME_TYPE, 1), + (lambda: WORKLOAD_IDENTITY_ARN_TYPE, 1), + (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0), + ), +) + +CREATE_WORKLOAD_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _CWI, + { + _smithya: MappingProxyType( + {"code": 201, "uri": "/identities/CreateWorkloadIdentity", "method": "POST"} + ) + }, + CREATE_WORKLOAD_IDENTITY_INPUT, + CREATE_WORKLOAD_IDENTITY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +WORKLOAD_IDENTITY_ARN_TYPE: StaticSchema = (3, n0, _WIAT, 0) + +DELETE_WORKLOAD_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _DWII, + {_sSI: _cDWIR, _smith: None}, + (_n,), + ((lambda: schemas.WORKLOAD_IDENTITY_NAME_TYPE, 1),), +) + +DELETE_WORKLOAD_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _DWIO, + {_sSI: _cDWIRo, _smithy: None}, +) + +DELETE_WORKLOAD_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _DWI, + { + _smithya: MappingProxyType( + {"code": 204, "uri": "/identities/DeleteWorkloadIdentity", "method": "POST"} + ) + }, + DELETE_WORKLOAD_IDENTITY_INPUT, + DELETE_WORKLOAD_IDENTITY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_WORKLOAD_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _GWII, + {_sSI: _cGWIR, _smith: None}, + (_n,), + ((lambda: schemas.WORKLOAD_IDENTITY_NAME_TYPE, 1),), +) + +GET_WORKLOAD_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _GWIO, + {_sSI: _cGWIRo, _smithy: None}, + (_n, _wIA, _aRORU, _cTr, _lUT), + ( + (lambda: schemas.WORKLOAD_IDENTITY_NAME_TYPE, 1), + (WORKLOAD_IDENTITY_ARN_TYPE, 1), + (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0), + (4, 1), + (4, 1), + ), +) + +GET_WORKLOAD_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _GWI, + { + _smithya: MappingProxyType( + {"uri": "/identities/GetWorkloadIdentity", "method": "POST"} + ) + }, + GET_WORKLOAD_IDENTITY_INPUT, + GET_WORKLOAD_IDENTITY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_WORKLOAD_IDENTITIES_INPUT: StaticSchema = ( + 18, + n0, + _LWII, + {_sSI: _cLWIR, _smith: None}, + (_nT, _mR), + ((3, 0), (7, {_smi: 10})), +) + +LIST_WORKLOAD_IDENTITIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LWIO, + {_sSI: _cLWIRo, _smithy: None}, + (_wI, _nT), + ((lambda: WORKLOAD_IDENTITY_LIST, 1), (3, 0)), +) + +LIST_WORKLOAD_IDENTITIES: StaticOperationSchema = ( + 23, + n0, + _LWI, + { + _smithya: MappingProxyType( + {"uri": "/identities/ListWorkloadIdentities", "method": "POST"} + ) + }, + LIST_WORKLOAD_IDENTITIES_INPUT, + LIST_WORKLOAD_IDENTITIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +WORKLOAD_IDENTITY_TYPE: StaticSchema = ( + 18, + n0, + _WIT, + 0, + (_n, _wIA), + ((lambda: schemas.WORKLOAD_IDENTITY_NAME_TYPE, 1), (WORKLOAD_IDENTITY_ARN_TYPE, 1)), +) + +WORKLOAD_IDENTITY_LIST: StaticSchema = ( + 16, + n0, + _WIL, + 0, + (_mem,), + ((WORKLOAD_IDENTITY_TYPE, 0),), +) + +UPDATE_WORKLOAD_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _UWII, + {_sSI: _cUWIR, _smith: None}, + (_n, _aRORU), + ( + (lambda: schemas.WORKLOAD_IDENTITY_NAME_TYPE, 1), + (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0), + ), +) + +UPDATE_WORKLOAD_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _UWIO, + {_sSI: _cUWIRo, _smithy: None}, + (_n, _wIA, _aRORU, _cTr, _lUT), + ( + (lambda: schemas.WORKLOAD_IDENTITY_NAME_TYPE, 1), + (WORKLOAD_IDENTITY_ARN_TYPE, 1), + (RESOURCE_OAUTH2_RETURN_URL_LIST_TYPE, 0), + (4, 1), + (4, 1), + ), +) + +UPDATE_WORKLOAD_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _UWI, + { + _smithya: MappingProxyType( + {"uri": "/identities/UpdateWorkloadIdentity", "method": "POST"} + ) + }, + UPDATE_WORKLOAD_IDENTITY_INPUT, + UPDATE_WORKLOAD_IDENTITY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SCHEMA_DEFINITION: StaticSchema = ( + 18, + n0, + _SDc, + 0, + (_ty, _pro, _requ, _it, _d), + ( + (lambda: schemas.SCHEMA_TYPE, 1), + (lambda: SCHEMA_PROPERTIES, 0), + (lambda: schemas.REQUIRED_PROPERTIES, 0), + (lambda: SCHEMA_DEFINITION, 0), + (3, 0), + ), +) + +SCHEMA_PROPERTIES: StaticSchema = ( + 17, + n0, + _SPc, + 0, + (_k, _v), + ((3, 0), (SCHEMA_DEFINITION, 0)), +) + +TOOL_DEFINITION: StaticSchema = ( + 18, + n0, + _TDoo, + 4, + (_n, _d, _iS, _oSu), + ((3, 1), (3, 1), (SCHEMA_DEFINITION, 1), (SCHEMA_DEFINITION, 0)), +) + +TOOL_DEFINITIONS: StaticSchema = (16, n0, _TDool, 0, (_mem,), ((TOOL_DEFINITION, 0),)) + +TOOL_SCHEMA: StaticSchema = ( + 19, + n0, + _TSo, + 0, + (_s_, _iPn), + ((lambda: schemas.S3_CONFIGURATION, 0), (TOOL_DEFINITIONS, 0)), +) + +MCP_LAMBDA_TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MLTC, + 0, + (_lA, _tSo), + ((lambda: schemas.LAMBDA_FUNCTION_ARN, 1), (TOOL_SCHEMA, 1)), +) + +MCP_TARGET_CONFIGURATION: StaticSchema = ( + 19, + n0, + _MTC, + 0, + (_oAS, _sMm, _lam, _mSc, _aG, _conne), + ( + (lambda: schemas.API_SCHEMA_CONFIGURATION, 0), + (lambda: schemas.API_SCHEMA_CONFIGURATION, 0), + (MCP_LAMBDA_TARGET_CONFIGURATION, 0), + (lambda: schemas.MCP_SERVER_TARGET_CONFIGURATION, 0), + (lambda: schemas.API_GATEWAY_TARGET_CONFIGURATION, 0), + (lambda: schemas.CONNECTOR_TARGET_CONFIGURATION, 0), + ), +) + +TARGET_CONFIGURATION: StaticSchema = ( + 19, + n0, + _TCa, + 0, + (_mc, _ht, _inf), + ( + (MCP_TARGET_CONFIGURATION, 0), + (lambda: schemas.HTTP_TARGET_CONFIGURATION, 0), + (lambda: schemas.INFERENCE_TARGET_CONFIGURATION, 0), + ), +) + +CREATE_GATEWAY_TARGET_INPUT: StaticSchema = ( + 18, + n0, + _CGTI, + {_sSI: _cCGTR, _smith: None}, + (_gI, _n, _d, _cT, _tCa, _cPCr, _mC, _pE, _cCe), + ( + (lambda: schemas.GATEWAY_IDENTIFIER, 9), + (lambda: schemas.TARGET_NAME, 0), + (lambda: schemas.TARGET_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (TARGET_CONFIGURATION, 1), + (lambda: schemas.CREDENTIAL_PROVIDER_CONFIGURATIONS, 0), + (lambda: schemas.METADATA_CONFIGURATION, 0), + (lambda: schemas.PRIVATE_ENDPOINT, 0), + (lambda: schemas.CERTIFICATE_CONFIGURATION_LIST, 0), + ), +) + +CREATE_GATEWAY_TARGET_OUTPUT: StaticSchema = ( + 18, + n0, + _CGTO, + {_sSI: _cCGTRo, _smithy: None}, + ( + _gA, + _tI, + _cA, + _uA, + _st, + _sRta, + _n, + _d, + _tCa, + _cPCr, + _lSAa, + _mC, + _pE, + _pEMR, + _aDu, + _pTr, + _cCe, + ), + ( + (lambda: schemas.GATEWAY_ARN, 1), + (lambda: schemas.TARGET_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.TARGET_STATUS, 1), + (lambda: schemas.STATUS_REASONS, 0), + (lambda: schemas.TARGET_NAME, 1), + (lambda: schemas.TARGET_DESCRIPTION, 0), + (TARGET_CONFIGURATION, 1), + (lambda: schemas.CREDENTIAL_PROVIDER_CONFIGURATIONS, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + (lambda: schemas.METADATA_CONFIGURATION, 0), + (lambda: schemas.PRIVATE_ENDPOINT, 0), + (lambda: schemas.PRIVATE_ENDPOINT_MANAGED_RESOURCES, 0), + (lambda: schemas.AUTHORIZATION_DATA, 0), + (lambda: schemas.TARGET_PROTOCOL_TYPE, 0), + (lambda: schemas.CERTIFICATE_CONFIGURATION_LIST, 0), + ), +) + +CREATE_GATEWAY_TARGET: StaticOperationSchema = ( + 23, + n0, + _CGT, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/gateways/{gatewayIdentifier}/targets/", + } + ) + }, + CREATE_GATEWAY_TARGET_INPUT, + CREATE_GATEWAY_TARGET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_TARGET: StaticSchema = ( + 18, + n0, + _GTa, + 0, + ( + _gA, + _tI, + _cA, + _uA, + _st, + _sRta, + _n, + _d, + _tCa, + _cPCr, + _lSAa, + _mC, + _pE, + _pEMR, + _aDu, + _pTr, + _cCe, + ), + ( + (lambda: schemas.GATEWAY_ARN, 1), + (lambda: schemas.TARGET_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.TARGET_STATUS, 1), + (lambda: schemas.STATUS_REASONS, 0), + (lambda: schemas.TARGET_NAME, 1), + (lambda: schemas.TARGET_DESCRIPTION, 0), + (TARGET_CONFIGURATION, 1), + (lambda: schemas.CREDENTIAL_PROVIDER_CONFIGURATIONS, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + (lambda: schemas.METADATA_CONFIGURATION, 0), + (lambda: schemas.PRIVATE_ENDPOINT, 0), + (lambda: schemas.PRIVATE_ENDPOINT_MANAGED_RESOURCES, 0), + (lambda: schemas.AUTHORIZATION_DATA, 0), + (lambda: schemas.TARGET_PROTOCOL_TYPE, 0), + (lambda: schemas.CERTIFICATE_CONFIGURATION_LIST, 0), + ), +) + +UPDATE_GATEWAY_TARGET_INPUT: StaticSchema = ( + 18, + n0, + _UGTI, + {_sSI: _cUGTR, _smith: None}, + (_gI, _tI, _n, _d, _tCa, _cPCr, _mC, _pE, _cCe), + ( + (lambda: schemas.GATEWAY_IDENTIFIER, 9), + (lambda: schemas.TARGET_ID, 9), + (lambda: schemas.TARGET_NAME, 0), + (lambda: schemas.TARGET_DESCRIPTION, 0), + (TARGET_CONFIGURATION, 1), + (lambda: schemas.CREDENTIAL_PROVIDER_CONFIGURATIONS, 0), + (lambda: schemas.METADATA_CONFIGURATION, 0), + (lambda: schemas.PRIVATE_ENDPOINT, 0), + (lambda: schemas.CERTIFICATE_CONFIGURATION_LIST, 0), + ), +) + +UPDATE_GATEWAY_TARGET_OUTPUT: StaticSchema = ( + 18, + n0, + _UGTO, + {_sSI: _cUGTRo, _smithy: None}, + ( + _gA, + _tI, + _cA, + _uA, + _st, + _sRta, + _n, + _d, + _tCa, + _cPCr, + _lSAa, + _mC, + _pE, + _pEMR, + _aDu, + _pTr, + _cCe, + ), + ( + (lambda: schemas.GATEWAY_ARN, 1), + (lambda: schemas.TARGET_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.TARGET_STATUS, 1), + (lambda: schemas.STATUS_REASONS, 0), + (lambda: schemas.TARGET_NAME, 1), + (lambda: schemas.TARGET_DESCRIPTION, 0), + (TARGET_CONFIGURATION, 1), + (lambda: schemas.CREDENTIAL_PROVIDER_CONFIGURATIONS, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + (lambda: schemas.METADATA_CONFIGURATION, 0), + (lambda: schemas.PRIVATE_ENDPOINT, 0), + (lambda: schemas.PRIVATE_ENDPOINT_MANAGED_RESOURCES, 0), + (lambda: schemas.AUTHORIZATION_DATA, 0), + (lambda: schemas.TARGET_PROTOCOL_TYPE, 0), + (lambda: schemas.CERTIFICATE_CONFIGURATION_LIST, 0), + ), +) + +UPDATE_GATEWAY_TARGET: StaticOperationSchema = ( + 23, + n0, + _UGT, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "PUT", + "uri": "/gateways/{gatewayIdentifier}/targets/{targetId}/", + } + ) + }, + UPDATE_GATEWAY_TARGET_INPUT, + UPDATE_GATEWAY_TARGET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_TARGET_LIST: StaticSchema = (16, n0, _GTL, 0, (_mem,), ((GATEWAY_TARGET, 0),)) + +AMAZON_BEDROCK_AGENT_CORE_CONTROL: StaticSchema = ( + 21, + n0, + _ABACC, + { + _aw: MappingProxyType({"name": "bedrock-agentcore"}), + _aws: MappingProxyType( + { + "sdkId": "Bedrock AgentCore Control", + "arnNamespace": "bedrock-agentcore", + "endpointPrefix": "bedrock-agentcore-control", + "cloudTrailEventSource": "bedrock-agentcore.amazonaws.com", + } + ), + _aJ: None, + _smithyap: MappingProxyType( + { + "additionalAllowedHeaders": ( + "*", + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id", + "x-amzn-trace-id", + ), + "additionalExposedHeaders": ( + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id", + ), + "maxAge": 86400, + } + ), + }, +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_2.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_2.py new file mode 100644 index 000000000..b4a1dd731 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_2.py @@ -0,0 +1,1310 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_sm = "smithy.api#required" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_NONE = "NONE" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_DELETING = "DELETING" +_CF = "CREATE_FAILED" +_DF = "DELETE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_smithya = "smithy.api#http" +_t = "tags" +_READY = "READY" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_lUA = "lastUpdatedAt" +_fR = "failureReason" +_mR = "maxResults" +_nT = "nextToken" +_s_ = "s3" +_sA = "secretArn" +_sM = "secretsManager" +_mP = "mountPath" +_aPA = "accessPointArn" +_PUBLIC = "PUBLIC" +_VPC = "VPC" +_nM = "networkMode" +_nC = "networkConfiguration" +_fC = "filesystemConfigurations" +_AKCPAT = "ApiKeyCredentialProviderArnType" +_DAKT = "DefaultApiKeyType" +_SJKT = "SecretJsonKeyType" +_SIT = "SecretIdType" +_SRe = "SecretReference" +_sIe = "secretId" +_jK = "jsonKey" +_SST = "SecretSourceType" +_MANAGED = "MANAGED" +_EXTERNAL = "EXTERNAL" +_CPN = "CredentialProviderName" +_CAKCPI = "CreateApiKeyCredentialProviderInput" +_cCAKCPR = "com.amazonaws.bedrockagentcorecontrol#CreateApiKeyCredentialProviderRequest" +_aK = "apiKey" +_v_ = "" +_aKSC = "apiKeySecretConfig" +_aKSS = "apiKeySecretSource" +_SAe = "SecretArn" +_Se = "Secret" +_CAKCPO = "CreateApiKeyCredentialProviderOutput" +_cCAKCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#CreateApiKeyCredentialProviderResponse" +) +_aKSA = "apiKeySecretArn" +_aKSJK = "apiKeySecretJsonKey" +_cPAr = "credentialProviderArn" +_DFe = "DecryptionFailure" +_EF = "EncryptionFailure" +_RLEE = "ResourceLimitExceededException" +_UE = "UnauthorizedException" +_CAKCP = "CreateApiKeyCredentialProvider" +_DAKCPI = "DeleteApiKeyCredentialProviderInput" +_cDAKCPR = "com.amazonaws.bedrockagentcorecontrol#DeleteApiKeyCredentialProviderRequest" +_DAKCPO = "DeleteApiKeyCredentialProviderOutput" +_cDAKCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#DeleteApiKeyCredentialProviderResponse" +) +_DAKCP = "DeleteApiKeyCredentialProvider" +_GAKCPI = "GetApiKeyCredentialProviderInput" +_cGAKCPR = "com.amazonaws.bedrockagentcorecontrol#GetApiKeyCredentialProviderRequest" +_GAKCPO = "GetApiKeyCredentialProviderOutput" +_cGAKCPRo = "com.amazonaws.bedrockagentcorecontrol#GetApiKeyCredentialProviderResponse" +_cTr = "createdTime" +_lUT = "lastUpdatedTime" +_GAKCP = "GetApiKeyCredentialProvider" +_LAKCPI = "ListApiKeyCredentialProvidersInput" +_cLAKCPR = "com.amazonaws.bedrockagentcorecontrol#ListApiKeyCredentialProvidersRequest" +_AKCPI = "ApiKeyCredentialProviderItem" +_AKCP = "ApiKeyCredentialProviders" +_LAKCPO = "ListApiKeyCredentialProvidersOutput" +_cLAKCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#ListApiKeyCredentialProvidersResponse" +) +_cP = "credentialProviders" +_LAKCP = "ListApiKeyCredentialProviders" +_UAKCPI = "UpdateApiKeyCredentialProviderInput" +_cUAKCPR = "com.amazonaws.bedrockagentcorecontrol#UpdateApiKeyCredentialProviderRequest" +_UAKCPO = "UpdateApiKeyCredentialProviderOutput" +_cUAKCPRo = ( + "com.amazonaws.bedrockagentcorecontrol#UpdateApiKeyCredentialProviderResponse" +) +_UAKCP = "UpdateApiKeyCredentialProvider" +_BPI = "BrowserProfileId" +_BPN = "BrowserProfileName" +_CBPI = "CreateBrowserProfileInput" +_cCBPR = "com.amazonaws.bedrockagentcorecontrol#CreateBrowserProfileRequest" +_BPA = "BrowserProfileArn" +_BPS = "BrowserProfileStatus" +_DELETED = "DELETED" +_SAVING = "SAVING" +_CBPO = "CreateBrowserProfileOutput" +_cCBPRo = "com.amazonaws.bedrockagentcorecontrol#CreateBrowserProfileResponse" +_pI = "profileId" +_pA = "profileArn" +_CBP = "CreateBrowserProfile" +_DBPI = "DeleteBrowserProfileInput" +_cDBPR = "com.amazonaws.bedrockagentcorecontrol#DeleteBrowserProfileRequest" +_DBPO = "DeleteBrowserProfileOutput" +_cDBPRo = "com.amazonaws.bedrockagentcorecontrol#DeleteBrowserProfileResponse" +_lSA = "lastSavedAt" +_DBP = "DeleteBrowserProfile" +_GBPI = "GetBrowserProfileInput" +_cGBPR = "com.amazonaws.bedrockagentcorecontrol#GetBrowserProfileRequest" +_BI = "BrowserId" +_BSI = "BrowserSessionId" +_GBPO = "GetBrowserProfileOutput" +_cGBPRo = "com.amazonaws.bedrockagentcorecontrol#GetBrowserProfileResponse" +_lSBSI = "lastSavedBrowserSessionId" +_lSBI = "lastSavedBrowserId" +_GBP = "GetBrowserProfile" +_LBPI = "ListBrowserProfilesInput" +_cLBPR = "com.amazonaws.bedrockagentcorecontrol#ListBrowserProfilesRequest" +_BPSr = "BrowserProfileSummary" +_BPSro = "BrowserProfileSummaries" +_LBPO = "ListBrowserProfilesOutput" +_cLBPRo = "com.amazonaws.bedrockagentcorecontrol#ListBrowserProfilesResponse" +_pS = "profileSummaries" +_LBP = "ListBrowserProfiles" +_BSCI = "BrowserSigningConfigInput" +_en = "enabled" +_TSA = "ToolSecretArn" +_SML = "SecretsManagerLocation" +_CL = "CertificateLocation" +_Ce = "Certificate" +_l = "location" +_Cer = "Certificates" +_RL = "ResourceLocation" +_BEPT = "BrowserEnterprisePolicyType" +_RECOMMENDED = "RECOMMENDED" +_BEP = "BrowserEnterprisePolicy" +_ty = "type" +_BEPr = "BrowserEnterprisePolicies" +_EFSA = "EfsFileSystemArn" +_EC = "EfsConfiguration" +_fSA = "fileSystemArn" +_SFFSA = "S3FilesFileSystemArn" +_SFC = "S3FilesConfiguration" +_TFSC = "ToolsFileSystemConfiguration" +_sFC = "s3FilesConfiguration" +_eC = "efsConfiguration" +_TFSCo = "ToolsFileSystemConfigurations" +_SN = "SandboxName" +_BNM = "BrowserNetworkMode" +_BNC = "BrowserNetworkConfiguration" +_vC = "vpcConfig" +_RCec = "RecordingConfig" +_sLo = "s3Location" +_CBI = "CreateBrowserInput" +_cCBR = "com.amazonaws.bedrockagentcorecontrol#CreateBrowserRequest" +_eRA = "executionRoleArn" +_re = "recording" +_bS = "browserSigning" +_ePn = "enterprisePolicies" +_ce = "certificates" +_BA = "BrowserArn" +_BS = "BrowserStatus" +_CBO = "CreateBrowserOutput" +_cCBRo = "com.amazonaws.bedrockagentcorecontrol#CreateBrowserResponse" +_bI = "browserId" +_bAr = "browserArn" +_CB = "CreateBrowser" +_DBI = "DeleteBrowserInput" +_cDBR = "com.amazonaws.bedrockagentcorecontrol#DeleteBrowserRequest" +_DBO = "DeleteBrowserOutput" +_cDBRo = "com.amazonaws.bedrockagentcorecontrol#DeleteBrowserResponse" +_DB = "DeleteBrowser" +_GBI = "GetBrowserInput" +_cGBR = "com.amazonaws.bedrockagentcorecontrol#GetBrowserRequest" +_BSCO = "BrowserSigningConfigOutput" +_GBO = "GetBrowserOutput" +_cGBRo = "com.amazonaws.bedrockagentcorecontrol#GetBrowserResponse" +_GB = "GetBrowser" +_RT = "ResourceType" +_SYSTEM = "SYSTEM" +_CUSTOM = "CUSTOM" +_LBI = "ListBrowsersInput" +_cLBR = "com.amazonaws.bedrockagentcorecontrol#ListBrowsersRequest" +_BSr = "BrowserSummary" +_BSro = "BrowserSummaries" +_LBO = "ListBrowsersOutput" +_cLBRo = "com.amazonaws.bedrockagentcorecontrol#ListBrowsersResponse" +_bSr = "browserSummaries" +_LB = "ListBrowsers" +_CRP = "CapacityReservationPreference" +_CRO = "CAPACITY_RESERVATIONS_ONLY" +_cro = "capacity-reservations-only" +_OPEN = "OPEN" +_o = "open" +_no = "none" +_CRI = "CapacityReservationId" +_CRRGA = "CapacityReservationResourceGroupArn" +_CRT = "CapacityReservationTarget" +_cRI = "capacityReservationId" +_cRRGA = "capacityReservationResourceGroupArn" +_CRS = "CapacityReservationSpecification" +_cRP = "capacityReservationPreference" +_cRT = "capacityReservationTarget" +_DN = "DeviceName" +_ECI = "EbsCardIndex" +_VIo = "VolumeIops" +_KKI = "KmsKeyId" +_ESI = "EbsSnapshotId" +_VT = "VolumeThroughput" +_EVIR = "EbsVolumeInitializationRate" +_VSGB = "VolumeSizeGiB" +_EVT = "EbsVolumeType" +_STANDARD = "STANDARD" +_sta = "standard" +_IO = "IO1" +_io = "io1" +_IO_ = "IO2" +_io_ = "io2" +_GP = "GP2" +_g = "gp2" +_SC = "SC1" +_sc = "sc1" +_ST = "ST1" +_st_ = "st1" +_GP_ = "GP3" +_gp = "gp3" +_EEBSVC = "EphemeralEBSVolumeConfiguration" +_vT = "volumeType" +_iop = "iops" +_th = "throughput" +_enc = "encrypted" +_kKI = "kmsKeyId" +_sIn = "snapshotId" +_vS = "volumeSize" +_vIR = "volumeInitializationRate" +_eCI = "ebsCardIndex" +_VDN = "VirtualDeviceName" +_EBDM = "EphemeralBlockDeviceMapping" +_dN = "deviceName" +_vNi = "virtualName" +_eb = "ebs" + +API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE: StaticSchema = (3, n0, _AKCPAT, 0) + +DEFAULT_API_KEY_TYPE: StaticSchema = (3, n0, _DAKT, 4) + +SECRET_JSON_KEY_TYPE: StaticSchema = (3, n0, _SJKT, 0) + +SECRET_ID_TYPE: StaticSchema = (3, n0, _SIT, 0) + +SECRET_REFERENCE: StaticSchema = ( + 18, + n0, + _SRe, + 0, + (_sIe, _jK), + ((SECRET_ID_TYPE, 1), (SECRET_JSON_KEY_TYPE, 1)), +) + +SECRET_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _SST, + 0, + (_MANAGED, _EXTERNAL), + ((-1, {_sVm: _MANAGED}), (-1, {_sVm: _EXTERNAL})), +) + +CREDENTIAL_PROVIDER_NAME: StaticSchema = (3, n0, _CPN, 0) + +CREATE_API_KEY_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _CAKCPI, + {_sSI: _cCAKCPR, _smith: None}, + (_n, _aK, _aKSC, _aKSS, _t), + ( + (CREDENTIAL_PROVIDER_NAME, 1), + (DEFAULT_API_KEY_TYPE, {_smi: _v_}), + (SECRET_REFERENCE, 0), + (SECRET_SOURCE_TYPE, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _CAKCPO, + {_sSI: _cCAKCPRo, _smithy: None}, + (_aKSA, _aKSJK, _aKSS, _n, _cPAr), + ( + (lambda: SECRET, 1), + (SECRET_JSON_KEY_TYPE, 0), + (SECRET_SOURCE_TYPE, 0), + (CREDENTIAL_PROVIDER_NAME, 1), + (API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE, 1), + ), +) + +CREATE_API_KEY_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _CAKCP, + { + _smithya: MappingProxyType( + { + "code": 201, + "uri": "/identities/CreateApiKeyCredentialProvider", + "method": "POST", + } + ) + }, + CREATE_API_KEY_CREDENTIAL_PROVIDER_INPUT, + CREATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: DECRYPTION_FAILURE, + lambda: ENCRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SECRET_ARN: StaticSchema = (3, n0, _SAe, 0) + +SECRET: StaticSchema = (18, n0, _Se, 0, (_sA,), ((SECRET_ARN, 1),)) + +DECRYPTION_FAILURE: StaticSchema = (18, n0, _DFe, {_s: _c, _sE: 400}, (_m,), ((3, 1),)) + +ENCRYPTION_FAILURE: StaticSchema = (18, n0, _EF, {_s: _c, _sE: 400}, (_m,), ((3, 1),)) + +RESOURCE_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _RLEE, + {_s: _c, _sE: 400}, + (_m,), + ((3, 0),), +) + +UNAUTHORIZED_EXCEPTION: StaticSchema = ( + 18, + n0, + _UE, + {_s: _c, _sE: 401}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +DELETE_API_KEY_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DAKCPI, + {_sSI: _cDAKCPR, _smith: None}, + (_n,), + ((CREDENTIAL_PROVIDER_NAME, 1),), +) + +DELETE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _DAKCPO, + {_sSI: _cDAKCPRo, _smithy: None}, +) + +DELETE_API_KEY_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DAKCP, + { + _smithya: MappingProxyType( + { + "code": 204, + "uri": "/identities/DeleteApiKeyCredentialProvider", + "method": "POST", + } + ) + }, + DELETE_API_KEY_CREDENTIAL_PROVIDER_INPUT, + DELETE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_API_KEY_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _GAKCPI, + {_sSI: _cGAKCPR, _smith: None}, + (_n,), + ((CREDENTIAL_PROVIDER_NAME, 1),), +) + +GET_API_KEY_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _GAKCPO, + {_sSI: _cGAKCPRo, _smithy: None}, + (_aKSA, _aKSJK, _aKSS, _n, _cPAr, _cTr, _lUT), + ( + (SECRET, 1), + (SECRET_JSON_KEY_TYPE, 0), + (SECRET_SOURCE_TYPE, 0), + (CREDENTIAL_PROVIDER_NAME, 1), + (API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (4, 1), + (4, 1), + ), +) + +GET_API_KEY_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _GAKCP, + { + _smithya: MappingProxyType( + {"uri": "/identities/GetApiKeyCredentialProvider", "method": "POST"} + ) + }, + GET_API_KEY_CREDENTIAL_PROVIDER_INPUT, + GET_API_KEY_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + DECRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_API_KEY_CREDENTIAL_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _LAKCPI, + {_sSI: _cLAKCPR, _smith: None}, + (_nT, _mR), + ((3, 0), (lambda: schemas.MAX_RESULTS, {_smi: 10})), +) + +LIST_API_KEY_CREDENTIAL_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAKCPO, + {_sSI: _cLAKCPRo, _smithy: None}, + (_cP, _nT), + ((lambda: API_KEY_CREDENTIAL_PROVIDERS, 1), (3, 0)), +) + +LIST_API_KEY_CREDENTIAL_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _LAKCP, + { + _smithya: MappingProxyType( + {"uri": "/identities/ListApiKeyCredentialProviders", "method": "POST"} + ) + }, + LIST_API_KEY_CREDENTIAL_PROVIDERS_INPUT, + LIST_API_KEY_CREDENTIAL_PROVIDERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +API_KEY_CREDENTIAL_PROVIDER_ITEM: StaticSchema = ( + 18, + n0, + _AKCPI, + 0, + (_n, _cPAr, _cTr, _lUT), + ( + (CREDENTIAL_PROVIDER_NAME, 1), + (API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (4, 1), + (4, 1), + ), +) + +API_KEY_CREDENTIAL_PROVIDERS: StaticSchema = ( + 16, + n0, + _AKCP, + 0, + (_mem,), + ((API_KEY_CREDENTIAL_PROVIDER_ITEM, 0),), +) + +UPDATE_API_KEY_CREDENTIAL_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _UAKCPI, + {_sSI: _cUAKCPR, _smith: None}, + (_n, _aK, _aKSC, _aKSS), + ( + (CREDENTIAL_PROVIDER_NAME, 1), + (DEFAULT_API_KEY_TYPE, {_smi: _v_}), + (SECRET_REFERENCE, 0), + (SECRET_SOURCE_TYPE, 0), + ), +) + +UPDATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _UAKCPO, + {_sSI: _cUAKCPRo, _smithy: None}, + (_aKSA, _aKSJK, _aKSS, _n, _cPAr, _cTr, _lUT), + ( + (SECRET, 1), + (SECRET_JSON_KEY_TYPE, 0), + (SECRET_SOURCE_TYPE, 0), + (CREDENTIAL_PROVIDER_NAME, 1), + (API_KEY_CREDENTIAL_PROVIDER_ARN_TYPE, 1), + (4, 1), + (4, 1), + ), +) + +UPDATE_API_KEY_CREDENTIAL_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _UAKCP, + { + _smithya: MappingProxyType( + {"uri": "/identities/UpdateApiKeyCredentialProvider", "method": "POST"} + ) + }, + UPDATE_API_KEY_CREDENTIAL_PROVIDER_INPUT, + UPDATE_API_KEY_CREDENTIAL_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + DECRYPTION_FAILURE, + ENCRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BROWSER_PROFILE_ID: StaticSchema = (3, n0, _BPI, 0) + +BROWSER_PROFILE_NAME: StaticSchema = (3, n0, _BPN, 0) + +CREATE_BROWSER_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _CBPI, + {_sSI: _cCBPR, _smith: None}, + (_n, _d, _cT, _t), + ( + (BROWSER_PROFILE_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_BROWSER_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _CBPO, + {_sSI: _cCBPRo, _smithy: None}, + (_pI, _pA, _cA, _st), + ( + (BROWSER_PROFILE_ID, 1), + (lambda: BROWSER_PROFILE_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: BROWSER_PROFILE_STATUS, 1), + ), +) + +CREATE_BROWSER_PROFILE: StaticOperationSchema = ( + 23, + n0, + _CBP, + { + _smithya: MappingProxyType( + {"code": 200, "method": "PUT", "uri": "/browser-profiles"} + ) + }, + CREATE_BROWSER_PROFILE_INPUT, + CREATE_BROWSER_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BROWSER_PROFILE_ARN: StaticSchema = (3, n0, _BPA, 0) + +BROWSER_PROFILE_STATUS: StaticSchema = ( + 14, + n0, + _BPS, + 0, + (_READY, _DELETING, _DELETED, _SAVING), + ( + (-1, {_sVm: _READY}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DELETED}), + (-1, {_sVm: _SAVING}), + ), +) + +DELETE_BROWSER_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _DBPI, + {_sSI: _cDBPR, _smith: None}, + (_pI, _cT), + ((BROWSER_PROFILE_ID, 9), (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None})), +) + +DELETE_BROWSER_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _DBPO, + {_sSI: _cDBPRo, _smithy: None}, + (_pI, _pA, _st, _lUA, _lSA), + ( + (BROWSER_PROFILE_ID, 1), + (BROWSER_PROFILE_ARN, 1), + (BROWSER_PROFILE_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +DELETE_BROWSER_PROFILE: StaticOperationSchema = ( + 23, + n0, + _DBP, + { + _smithya: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/browser-profiles/{profileId}"} + ) + }, + DELETE_BROWSER_PROFILE_INPUT, + DELETE_BROWSER_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_BROWSER_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _GBPI, + {_sSI: _cGBPR, _smith: None}, + (_pI,), + ((BROWSER_PROFILE_ID, 9),), +) + +GET_BROWSER_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _GBPO, + {_sSI: _cGBPRo, _smithy: None}, + (_pI, _pA, _n, _d, _st, _cA, _lUA, _lSA, _lSBSI, _lSBI), + ( + (BROWSER_PROFILE_ID, 1), + (BROWSER_PROFILE_ARN, 1), + (BROWSER_PROFILE_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (BROWSER_PROFILE_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + (lambda: BROWSER_SESSION_ID, 0), + (lambda: BROWSER_ID, 0), + ), +) + +GET_BROWSER_PROFILE: StaticOperationSchema = ( + 23, + n0, + _GBP, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/browser-profiles/{profileId}"} + ) + }, + GET_BROWSER_PROFILE_INPUT, + GET_BROWSER_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BROWSER_ID: StaticSchema = (3, n0, _BI, 0) + +BROWSER_SESSION_ID: StaticSchema = (3, n0, _BSI, 0) + +LIST_BROWSER_PROFILES_INPUT: StaticSchema = ( + 18, + n0, + _LBPI, + {_sSI: _cLBPR, _smith: None}, + (_mR, _nT, _n), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (BROWSER_PROFILE_NAME, 0), + ), +) + +LIST_BROWSER_PROFILES_OUTPUT: StaticSchema = ( + 18, + n0, + _LBPO, + {_sSI: _cLBPRo, _smithy: None}, + (_pS, _nT), + ((lambda: BROWSER_PROFILE_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_BROWSER_PROFILES: StaticOperationSchema = ( + 23, + n0, + _LBP, + { + _smithya: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/browser-profiles"} + ) + }, + LIST_BROWSER_PROFILES_INPUT, + LIST_BROWSER_PROFILES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BROWSER_PROFILE_SUMMARY: StaticSchema = ( + 18, + n0, + _BPSr, + 0, + (_pI, _pA, _n, _d, _st, _cA, _lUA, _lSA, _lSBSI, _lSBI), + ( + (BROWSER_PROFILE_ID, 1), + (BROWSER_PROFILE_ARN, 1), + (BROWSER_PROFILE_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (BROWSER_PROFILE_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + (BROWSER_SESSION_ID, 0), + (BROWSER_ID, 0), + ), +) + +BROWSER_PROFILE_SUMMARIES: StaticSchema = ( + 16, + n0, + _BPSro, + 0, + (_mem,), + ((BROWSER_PROFILE_SUMMARY, 0),), +) + +BROWSER_SIGNING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _BSCI, + 0, + (_en,), + ((2, {_smi: False, _sm: None}),), +) + +TOOL_SECRET_ARN: StaticSchema = (3, n0, _TSA, 0) + +SECRETS_MANAGER_LOCATION: StaticSchema = ( + 18, + n0, + _SML, + 0, + (_sA,), + ((TOOL_SECRET_ARN, 1),), +) + +CERTIFICATE_LOCATION: StaticSchema = ( + 19, + n0, + _CL, + 0, + (_sM,), + ((SECRETS_MANAGER_LOCATION, 0),), +) + +CERTIFICATE: StaticSchema = (18, n0, _Ce, 0, (_l,), ((CERTIFICATE_LOCATION, 1),)) + +CERTIFICATES: StaticSchema = (16, n0, _Cer, 0, (_mem,), ((CERTIFICATE, 0),)) + +RESOURCE_LOCATION: StaticSchema = ( + 19, + n0, + _RL, + 0, + (_s_,), + ((lambda: schemas.S3_LOCATION, 0),), +) + +BROWSER_ENTERPRISE_POLICY_TYPE: StaticSchema = ( + 14, + n0, + _BEPT, + 0, + (_MANAGED, _RECOMMENDED), + ((-1, {_sVm: _MANAGED}), (-1, {_sVm: _RECOMMENDED})), +) + +BROWSER_ENTERPRISE_POLICY: StaticSchema = ( + 18, + n0, + _BEP, + 0, + (_l, _ty), + ((RESOURCE_LOCATION, 1), (BROWSER_ENTERPRISE_POLICY_TYPE, 0)), +) + +BROWSER_ENTERPRISE_POLICIES: StaticSchema = ( + 16, + n0, + _BEPr, + 0, + (_mem,), + ((BROWSER_ENTERPRISE_POLICY, 0),), +) + +EFS_FILE_SYSTEM_ARN: StaticSchema = (3, n0, _EFSA, 0) + +EFS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EC, + 0, + (_aPA, _mP, _fSA), + ( + (lambda: schemas.EFS_ACCESS_POINT_ARN, 1), + (lambda: schemas.MOUNT_PATH, 1), + (EFS_FILE_SYSTEM_ARN, 1), + ), +) + +S3_FILES_FILE_SYSTEM_ARN: StaticSchema = (3, n0, _SFFSA, 0) + +S3_FILES_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SFC, + 0, + (_aPA, _mP, _fSA), + ( + (lambda: schemas.S3_FILES_ACCESS_POINT_ARN, 1), + (lambda: schemas.MOUNT_PATH, 1), + (S3_FILES_FILE_SYSTEM_ARN, 1), + ), +) + +TOOLS_FILE_SYSTEM_CONFIGURATION: StaticSchema = ( + 19, + n0, + _TFSC, + 0, + (_sFC, _eC), + ((S3_FILES_CONFIGURATION, 0), (EFS_CONFIGURATION, 0)), +) + +TOOLS_FILE_SYSTEM_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _TFSCo, + 0, + (_mem,), + ((TOOLS_FILE_SYSTEM_CONFIGURATION, 0),), +) + +SANDBOX_NAME: StaticSchema = (3, n0, _SN, 0) + +BROWSER_NETWORK_MODE: StaticSchema = ( + 14, + n0, + _BNM, + 0, + (_PUBLIC, _VPC), + ((-1, {_sVm: _PUBLIC}), (-1, {_sVm: _VPC})), +) + +BROWSER_NETWORK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BNC, + 0, + (_nM, _vC), + ( + (BROWSER_NETWORK_MODE, {_smi: _PUBLIC, _sm: None}), + (lambda: schemas.VPC_CONFIG, 0), + ), +) + +RECORDING_CONFIG: StaticSchema = ( + 18, + n0, + _RCec, + 0, + (_en, _sLo), + ((2, {_smi: False}), (lambda: schemas.S3_LOCATION, 0)), +) + +CREATE_BROWSER_INPUT: StaticSchema = ( + 18, + n0, + _CBI, + {_sSI: _cCBR, _smith: None}, + (_n, _d, _eRA, _nC, _re, _bS, _ePn, _ce, _fC, _cT, _t), + ( + (SANDBOX_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 0), + (BROWSER_NETWORK_CONFIGURATION, 1), + (RECORDING_CONFIG, 0), + (BROWSER_SIGNING_CONFIG_INPUT, 0), + (BROWSER_ENTERPRISE_POLICIES, 0), + (CERTIFICATES, 0), + (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_BROWSER_OUTPUT: StaticSchema = ( + 18, + n0, + _CBO, + {_sSI: _cCBRo, _smithy: None}, + (_bI, _bAr, _cA, _st), + ( + (BROWSER_ID, 1), + (lambda: BROWSER_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: BROWSER_STATUS, 1), + ), +) + +CREATE_BROWSER: StaticOperationSchema = ( + 23, + n0, + _CB, + {_smithya: MappingProxyType({"code": 202, "method": "PUT", "uri": "/browsers"})}, + CREATE_BROWSER_INPUT, + CREATE_BROWSER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BROWSER_ARN: StaticSchema = (3, n0, _BA, 0) + +BROWSER_STATUS: StaticSchema = ( + 14, + n0, + _BS, + 0, + (_CREATING, _CF, _READY, _DELETING, _DF, _DELETED), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + (-1, {_sVm: _DELETED}), + ), +) + +DELETE_BROWSER_INPUT: StaticSchema = ( + 18, + n0, + _DBI, + {_sSI: _cDBR, _smith: None}, + (_bI, _cT), + ((BROWSER_ID, 9), (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None})), +) + +DELETE_BROWSER_OUTPUT: StaticSchema = ( + 18, + n0, + _DBO, + {_sSI: _cDBRo, _smithy: None}, + (_bI, _st, _lUA), + ((BROWSER_ID, 1), (BROWSER_STATUS, 1), (lambda: schemas.DATE_TIMESTAMP, 1)), +) + +DELETE_BROWSER: StaticOperationSchema = ( + 23, + n0, + _DB, + { + _smithya: MappingProxyType( + {"code": 202, "method": "DELETE", "uri": "/browsers/{browserId}"} + ) + }, + DELETE_BROWSER_INPUT, + DELETE_BROWSER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_BROWSER_INPUT: StaticSchema = ( + 18, + n0, + _GBI, + {_sSI: _cGBR, _smith: None}, + (_bI,), + ((BROWSER_ID, 9),), +) + +GET_BROWSER_OUTPUT: StaticSchema = ( + 18, + n0, + _GBO, + {_sSI: _cGBRo, _smithy: None}, + (_bI, _bAr, _n, _d, _eRA, _nC, _re, _bS, _ePn, _ce, _fC, _st, _fR, _cA, _lUA), + ( + (BROWSER_ID, 1), + (BROWSER_ARN, 1), + (SANDBOX_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 0), + (BROWSER_NETWORK_CONFIGURATION, 1), + (RECORDING_CONFIG, 0), + (lambda: BROWSER_SIGNING_CONFIG_OUTPUT, 0), + (BROWSER_ENTERPRISE_POLICIES, 0), + (CERTIFICATES, 0), + (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), + (BROWSER_STATUS, 1), + (3, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +GET_BROWSER: StaticOperationSchema = ( + 23, + n0, + _GB, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/browsers/{browserId}"} + ) + }, + GET_BROWSER_INPUT, + GET_BROWSER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +BROWSER_SIGNING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _BSCO, + 0, + (_en,), + ((2, {_smi: False, _sm: None}),), +) + +RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _RT, + 0, + (_SYSTEM, _CUSTOM), + ((-1, {_sVm: _SYSTEM}), (-1, {_sVm: _CUSTOM})), +) + +LIST_BROWSERS_INPUT: StaticSchema = ( + 18, + n0, + _LBI, + {_sSI: _cLBR, _smith: None}, + (_mR, _nT, _ty), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (RESOURCE_TYPE, {_sQ: _ty}), + ), +) + +LIST_BROWSERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBO, + {_sSI: _cLBRo, _smithy: None}, + (_bSr, _nT), + ((lambda: BROWSER_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_BROWSERS: StaticOperationSchema = ( + 23, + n0, + _LB, + {_smithya: MappingProxyType({"code": 200, "method": "POST", "uri": "/browsers"})}, + LIST_BROWSERS_INPUT, + LIST_BROWSERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BROWSER_SUMMARY: StaticSchema = ( + 18, + n0, + _BSr, + 0, + (_bI, _bAr, _n, _d, _st, _cA, _lUA), + ( + (BROWSER_ID, 1), + (BROWSER_ARN, 1), + (SANDBOX_NAME, 0), + (lambda: schemas.DESCRIPTION, 0), + (BROWSER_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +BROWSER_SUMMARIES: StaticSchema = (16, n0, _BSro, 0, (_mem,), ((BROWSER_SUMMARY, 0),)) + +CAPACITY_RESERVATION_PREFERENCE: StaticSchema = ( + 14, + n0, + _CRP, + 0, + (_CRO, _OPEN, _NONE), + ((-1, {_sVm: _cro}), (-1, {_sVm: _o}), (-1, {_sVm: _no})), +) + +CAPACITY_RESERVATION_ID: StaticSchema = (3, n0, _CRI, 0) + +CAPACITY_RESERVATION_RESOURCE_GROUP_ARN: StaticSchema = (3, n0, _CRRGA, 0) + +CAPACITY_RESERVATION_TARGET: StaticSchema = ( + 18, + n0, + _CRT, + 0, + (_cRI, _cRRGA), + ((CAPACITY_RESERVATION_ID, 0), (CAPACITY_RESERVATION_RESOURCE_GROUP_ARN, 0)), +) + +CAPACITY_RESERVATION_SPECIFICATION: StaticSchema = ( + 18, + n0, + _CRS, + 0, + (_cRP, _cRT), + ((CAPACITY_RESERVATION_PREFERENCE, 0), (CAPACITY_RESERVATION_TARGET, 0)), +) + +DEVICE_NAME: StaticSchema = (3, n0, _DN, 0) + +EBS_CARD_INDEX: StaticSchema = (7, n0, _ECI, 0) + +VOLUME_IOPS: StaticSchema = (7, n0, _VIo, 0) + +KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) + +EBS_SNAPSHOT_ID: StaticSchema = (3, n0, _ESI, 0) + +VOLUME_THROUGHPUT: StaticSchema = (7, n0, _VT, 0) + +EBS_VOLUME_INITIALIZATION_RATE: StaticSchema = (7, n0, _EVIR, 0) + +VOLUME_SIZE_GI_B: StaticSchema = (7, n0, _VSGB, 0) + +EBS_VOLUME_TYPE: StaticSchema = ( + 14, + n0, + _EVT, + 0, + (_STANDARD, _IO, _IO_, _GP, _SC, _ST, _GP_), + ( + (-1, {_sVm: _sta}), + (-1, {_sVm: _io}), + (-1, {_sVm: _io_}), + (-1, {_sVm: _g}), + (-1, {_sVm: _sc}), + (-1, {_sVm: _st_}), + (-1, {_sVm: _gp}), + ), +) + +EPHEMERAL_EBS_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EEBSVC, + 0, + (_vT, _iop, _th, _enc, _kKI, _sIn, _vS, _vIR, _eCI), + ( + (EBS_VOLUME_TYPE, {_smi: _gp}), + (VOLUME_IOPS, 0), + (VOLUME_THROUGHPUT, 0), + (2, 0), + (KMS_KEY_ID, 0), + (EBS_SNAPSHOT_ID, 0), + (VOLUME_SIZE_GI_B, 0), + (EBS_VOLUME_INITIALIZATION_RATE, 0), + (EBS_CARD_INDEX, 0), + ), +) + +VIRTUAL_DEVICE_NAME: StaticSchema = (3, n0, _VDN, 0) + +EPHEMERAL_BLOCK_DEVICE_MAPPING: StaticSchema = ( + 18, + n0, + _EBDM, + 0, + (_dN, _vNi, _eb), + ( + (DEVICE_NAME, 0), + (VIRTUAL_DEVICE_NAME, 0), + (EPHEMERAL_EBS_VOLUME_CONFIGURATION, 0), + ), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_3.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_3.py new file mode 100644 index 000000000..17072df52 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_3.py @@ -0,0 +1,1347 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_bA = "bundleArn" +_sm = "smithy.api#required" +_k = "key" +_v = "value" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_DF = "DELETE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_smithya = "smithy.api#http" +_t = "tags" +_READY = "READY" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_lUA = "lastUpdatedAt" +_fR = "failureReason" +_mR = "maxResults" +_nT = "nextToken" +_vI = "versionId" +_a = "arn" +_cPA = "capacityProviderArn" +_mL = "maxLifetime" +_PUBLIC = "PUBLIC" +_VPC = "VPC" +_sG = "securityGroups" +_su = "subnets" +_nM = "networkMode" +_nC = "networkConfiguration" +_lC = "lifecycleConfiguration" +_fC = "filesystemConfigurations" +_aR = "agentRuntimes" +_DELETED = "DELETED" +_ty = "type" +_vC = "vpcConfig" +_eRA = "executionRoleArn" +_ce = "certificates" +_CPI = "CapacityProviderId" +_gp = "gp3" +_vT = "volumeType" +_iop = "iops" +_th = "throughput" +_enc = "encrypted" +_kKI = "kmsKeyId" +_sIn = "snapshotId" +_EBDML = "EphemeralBlockDeviceMappingList" +_IPA = "InstanceProfileArn" +_ECIT = "EC2InstanceType" +_ITL = "InstanceTypeList" +_IR = "InstanceRequirements" +_aIT = "allowedInstanceTypes" +_LCA = "LicenseConfigurationArn" +_LS = "LicenseSpecification" +_lCA = "licenseConfigurationArn" +_LSL = "LicenseSpecificationList" +_M = "Monitoring" +_BASIC = "BASIC" +_DETAILED = "DETAILED" +_OS = "OperatingSystem" +_LX = "LINUX_X86_64" +_LA = "LINUX_ARM64" +_SSHKN = "SSHKeyName" +_LP = "LaunchParameters" +_oS = "operatingSystem" +_iR = "instanceRequirements" +_eVp = "ephemeralVolumes" +_mon = "monitoring" +_lS = "licenseSpecifications" +_cRS = "capacityReservationSpecification" +_sKN = "sshKeyName" +_iPA = "instanceProfileArn" +_pT = "propagatedTags" +_LTS = "LaunchTemplateSource" +_lP = "launchParameters" +_ILC = "InstanceLifecycleConfiguration" +_iIT = "idleInstanceTimeout" +_RVC = "RootVolumeConfiguration" +_fSGB = "freeSpaceGiB" +_VN = "VolumeName" +_EVC = "EbsVolumeConfiguration" +_sGB = "sizeGiB" +_VCo = "VolumeConfiguration" +_eCb = "ebsConfiguration" +_VCL = "VolumeConfigurationList" +_SGIL = "SecurityGroupIdList" +_SIL = "SubnetIdList" +_VCp = "VpcConfiguration" +_ECc = "Ec2Configuration" +_lTS = "launchTemplateSource" +_vCp = "vpcConfiguration" +_vo = "volumes" +_rV = "rootVolume" +_CCom = "ComputeConfiguration" +_eCc = "ec2Configuration" +_CPNa = "CapacityProviderName" +_PCe = "PermissionsConfiguration" +_cPORA = "capacityProviderOperatorRoleArn" +_CCPI = "CreateCapacityProviderInput" +_pCe = "permissionsConfiguration" +_cCom = "computeConfiguration" +_CPS = "CapacityProviderStatus" +_CCPO = "CreateCapacityProviderOutput" +_cPI = "capacityProviderId" +_RCE = "RetryableConflictException" +_CCP = "CreateCapacityProvider" +_DCPI = "DeleteCapacityProviderInput" +_DCPO = "DeleteCapacityProviderOutput" +_DCP = "DeleteCapacityProvider" +_GCPI = "GetCapacityProviderInput" +_CPSC = "CapacityProviderStatusCode" +_VE_ = "VALIDATION_ERROR" +_QE = "QUOTA_EXCEEDED" +_THROTTLED = "THROTTLED" +_ISE_ = "INTERNAL_SERVER_EXCEPTION" +_GCPO = "GetCapacityProviderOutput" +_sCt = "statusCode" +_sRt = "statusReason" +_GCP = "GetCapacityProvider" +_LARVBCPI = "ListAgentRuntimeVersionsByCapacityProviderInput" +_LARVBCPO = "ListAgentRuntimeVersionsByCapacityProviderOutput" +_LARVBCP = "ListAgentRuntimeVersionsByCapacityProvider" +_LCPI = "ListCapacityProvidersInput" +_CPSa = "CapacityProviderSummary" +_CPL = "CapacityProviderList" +_LCPO = "ListCapacityProvidersOutput" +_cPa = "capacityProviders" +_LCP = "ListCapacityProviders" +_UCPI = "UpdateCapacityProviderInput" +_UCPO = "UpdateCapacityProviderOutput" +_UCP = "UpdateCapacityProvider" +_CII = "CodeInterpreterId" +_CINM = "CodeInterpreterNetworkMode" +_SANDBOX = "SANDBOX" +_CINC = "CodeInterpreterNetworkConfiguration" +_CCII = "CreateCodeInterpreterInput" +_cCCIR = "com.amazonaws.bedrockagentcorecontrol#CreateCodeInterpreterRequest" +_CIA = "CodeInterpreterArn" +_CIS = "CodeInterpreterStatus" +_CCIO = "CreateCodeInterpreterOutput" +_cCCIRo = "com.amazonaws.bedrockagentcorecontrol#CreateCodeInterpreterResponse" +_cII = "codeInterpreterId" +_cIA = "codeInterpreterArn" +_CCI = "CreateCodeInterpreter" +_DCII = "DeleteCodeInterpreterInput" +_cDCIR = "com.amazonaws.bedrockagentcorecontrol#DeleteCodeInterpreterRequest" +_DCIO = "DeleteCodeInterpreterOutput" +_cDCIRo = "com.amazonaws.bedrockagentcorecontrol#DeleteCodeInterpreterResponse" +_DCI = "DeleteCodeInterpreter" +_GCII = "GetCodeInterpreterInput" +_cGCIR = "com.amazonaws.bedrockagentcorecontrol#GetCodeInterpreterRequest" +_GCIO = "GetCodeInterpreterOutput" +_cGCIRo = "com.amazonaws.bedrockagentcorecontrol#GetCodeInterpreterResponse" +_GCI = "GetCodeInterpreter" +_LCII = "ListCodeInterpretersInput" +_cLCIR = "com.amazonaws.bedrockagentcorecontrol#ListCodeInterpretersRequest" +_CISo = "CodeInterpreterSummary" +_CISod = "CodeInterpreterSummaries" +_LCIO = "ListCodeInterpretersOutput" +_cLCIRo = "com.amazonaws.bedrockagentcorecontrol#ListCodeInterpretersResponse" +_cIS = "codeInterpreterSummaries" +_LCI = "ListCodeInterpreters" +_CBIo = "ConfigurationBundleId" +_BN = "BranchName" +_CBN = "ConfigurationBundleName" +_CI = "ComponentIdentifier" +_CComp = "ComponentConfiguration" +_con = "configuration" +_CCM = "ComponentConfigurationMap" +_VCBS = "VersionCreatedBySource" +_CBD = "ConfigurationBundleDescription" +_KKA = "KmsKeyArn" +_CCBI = "CreateConfigurationBundleInput" +_cCCBR = "com.amazonaws.bedrockagentcorecontrol#CreateConfigurationBundleRequest" +_bN = "bundleName" +_com = "components" +_bNr = "branchName" +_cM = "commitMessage" +_cBr = "createdBy" +_kKA = "kmsKeyArn" +_CBAo = "ConfigurationBundleArn" +_CBV = "ConfigurationBundleVersion" +_CCBO = "CreateConfigurationBundleOutput" +_cCCBRo = "com.amazonaws.bedrockagentcorecontrol#CreateConfigurationBundleResponse" +_bIu = "bundleId" +_CCB = "CreateConfigurationBundle" +_DCBI = "DeleteConfigurationBundleInput" +_cDCBR = "com.amazonaws.bedrockagentcorecontrol#DeleteConfigurationBundleRequest" +_CBS = "ConfigurationBundleStatus" +_DCBO = "DeleteConfigurationBundleOutput" +_cDCBRo = "com.amazonaws.bedrockagentcorecontrol#DeleteConfigurationBundleResponse" +_DCB = "DeleteConfigurationBundle" +_GCBI = "GetConfigurationBundleInput" +_cGCBR = "com.amazonaws.bedrockagentcorecontrol#GetConfigurationBundleRequest" +_CBVL = "ConfigurationBundleVersionList" +_VLM = "VersionLineageMetadata" +_pVI = "parentVersionIds" +_GCBO = "GetConfigurationBundleOutput" +_cGCBRo = "com.amazonaws.bedrockagentcorecontrol#GetConfigurationBundleResponse" +_lM = "lineageMetadata" +_GCB = "GetConfigurationBundle" +_GCBVI = "GetConfigurationBundleVersionInput" +_cGCBVR = "com.amazonaws.bedrockagentcorecontrol#GetConfigurationBundleVersionRequest" +_GCBVO = "GetConfigurationBundleVersionOutput" +_cGCBVRo = "com.amazonaws.bedrockagentcorecontrol#GetConfigurationBundleVersionResponse" +_vCA = "versionCreatedAt" +_GCBV = "GetConfigurationBundleVersion" +_MI = "ModelId" + +CAPACITY_PROVIDER_ID: StaticSchema = (3, n0, _CPI, 0) + +EPHEMERAL_BLOCK_DEVICE_MAPPING_LIST: StaticSchema = ( + 16, + n0, + _EBDML, + 0, + (_mem,), + ((lambda: schemas.EPHEMERAL_BLOCK_DEVICE_MAPPING, 0),), +) + +INSTANCE_PROFILE_ARN: StaticSchema = (3, n0, _IPA, 0) + +EC2_INSTANCE_TYPE: StaticSchema = (3, n0, _ECIT, 0) + +INSTANCE_TYPE_LIST: StaticSchema = (16, n0, _ITL, 0, (_mem,), ((EC2_INSTANCE_TYPE, 0),)) + +INSTANCE_REQUIREMENTS: StaticSchema = ( + 18, + n0, + _IR, + 0, + (_aIT,), + ((INSTANCE_TYPE_LIST, 1),), +) + +LICENSE_CONFIGURATION_ARN: StaticSchema = (3, n0, _LCA, 0) + +LICENSE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _LS, + 0, + (_lCA,), + ((LICENSE_CONFIGURATION_ARN, 1),), +) + +LICENSE_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _LSL, + 0, + (_mem,), + ((LICENSE_SPECIFICATION, 0),), +) + +MONITORING: StaticSchema = ( + 14, + n0, + _M, + 0, + (_BASIC, _DETAILED), + ((-1, {_sVm: _BASIC}), (-1, {_sVm: _DETAILED})), +) + +OPERATING_SYSTEM: StaticSchema = ( + 14, + n0, + _OS, + 0, + (_LX, _LA), + ((-1, {_sVm: _LX}), (-1, {_sVm: _LA})), +) + +SSH_KEY_NAME: StaticSchema = (3, n0, _SSHKN, 0) + +LAUNCH_PARAMETERS: StaticSchema = ( + 18, + n0, + _LP, + 0, + (_oS, _iR, _eVp, _mon, _lS, _cRS, _sKN, _iPA, _pT), + ( + (OPERATING_SYSTEM, 1), + (INSTANCE_REQUIREMENTS, 1), + (EPHEMERAL_BLOCK_DEVICE_MAPPING_LIST, 0), + (MONITORING, 0), + (LICENSE_SPECIFICATION_LIST, 0), + (lambda: schemas.CAPACITY_RESERVATION_SPECIFICATION, 0), + (SSH_KEY_NAME, 0), + (INSTANCE_PROFILE_ARN, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +LAUNCH_TEMPLATE_SOURCE: StaticSchema = ( + 19, + n0, + _LTS, + 0, + (_lP,), + ((LAUNCH_PARAMETERS, 0),), +) + +INSTANCE_LIFECYCLE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ILC, + 0, + (_iIT, _mL), + ((7, 0), (7, 0)), +) + +ROOT_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RVC, + 0, + (_vT, _iop, _th, _enc, _kKI, _fSGB), + ( + (lambda: schemas.EBS_VOLUME_TYPE, {_smi: _gp}), + (lambda: schemas.VOLUME_IOPS, 0), + (lambda: schemas.VOLUME_THROUGHPUT, 0), + (2, 0), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.VOLUME_SIZE_GI_B, 0), + ), +) + +VOLUME_NAME: StaticSchema = (3, n0, _VN, 0) + +EBS_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EVC, + 0, + (_n, _sGB, _vT, _iop, _th, _enc, _kKI, _sIn), + ( + (VOLUME_NAME, 1), + (lambda: schemas.VOLUME_SIZE_GI_B, 1), + (lambda: schemas.EBS_VOLUME_TYPE, {_smi: _gp}), + (lambda: schemas.VOLUME_IOPS, 0), + (lambda: schemas.VOLUME_THROUGHPUT, 0), + (2, 0), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.EBS_SNAPSHOT_ID, 0), + ), +) + +VOLUME_CONFIGURATION: StaticSchema = ( + 19, + n0, + _VCo, + 0, + (_eCb,), + ((EBS_VOLUME_CONFIGURATION, 0),), +) + +VOLUME_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _VCL, + 0, + (_mem,), + ((VOLUME_CONFIGURATION, 0),), +) + +SECURITY_GROUP_ID_LIST: StaticSchema = ( + 16, + n0, + _SGIL, + 0, + (_mem,), + ((lambda: schemas.SECURITY_GROUP_ID, 0),), +) + +SUBNET_ID_LIST: StaticSchema = ( + 16, + n0, + _SIL, + 0, + (_mem,), + ((lambda: schemas.SUBNET_ID, 0),), +) + +VPC_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VCp, + 0, + (_su, _sG), + ((SUBNET_ID_LIST, 1), (SECURITY_GROUP_ID_LIST, 1)), +) + +EC2_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ECc, + 0, + (_lTS, _vCp, _vo, _lC, _rV), + ( + (LAUNCH_TEMPLATE_SOURCE, 1), + (VPC_CONFIGURATION, 1), + (VOLUME_CONFIGURATION_LIST, 0), + (INSTANCE_LIFECYCLE_CONFIGURATION, 0), + (ROOT_VOLUME_CONFIGURATION, 0), + ), +) + +COMPUTE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _CCom, + 0, + (_eCc,), + ((EC2_CONFIGURATION, 0),), +) + +CAPACITY_PROVIDER_NAME: StaticSchema = (3, n0, _CPNa, 0) + +PERMISSIONS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCe, + 0, + (_cPORA,), + ((lambda: schemas.ROLE_ARN, 1),), +) + +CREATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _CCPI, + {_smith: None}, + (_n, _d, _pCe, _cT, _t, _cCom), + ( + (CAPACITY_PROVIDER_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (PERMISSIONS_CONFIGURATION, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + (COMPUTE_CONFIGURATION, 1), + ), +) + +CREATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _CCPO, + {_smithy: None}, + (_cPI, _cPA, _n, _st), + ( + (CAPACITY_PROVIDER_ID, 1), + (lambda: schemas.CAPACITY_PROVIDER_ARN, 1), + (CAPACITY_PROVIDER_NAME, 1), + (lambda: CAPACITY_PROVIDER_STATUS, 1), + ), +) + +CREATE_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _CCP, + { + _smithya: MappingProxyType( + {"method": "PUT", "uri": "/capacity-providers", "code": 202} + ) + }, + CREATE_CAPACITY_PROVIDER_INPUT, + CREATE_CAPACITY_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: RETRYABLE_CONFLICT_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CAPACITY_PROVIDER_STATUS: StaticSchema = ( + 14, + n0, + _CPS, + 0, + (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + ), +) + +RETRYABLE_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _RCE, + {_s: _c, _sE: 409}, + (_m,), + ((3, 1),), +) + +DELETE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DCPI, + {_smith: None}, + (_cPI, _cT), + ((CAPACITY_PROVIDER_ID, 9), (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None})), +) + +DELETE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _DCPO, + {_smithy: None}, + (_cPI, _st), + ((CAPACITY_PROVIDER_ID, 1), (CAPACITY_PROVIDER_STATUS, 1)), +) + +DELETE_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DCP, + { + _smithya: MappingProxyType( + { + "method": "DELETE", + "uri": "/capacity-providers/{capacityProviderId}", + "code": 202, + } + ) + }, + DELETE_CAPACITY_PROVIDER_INPUT, + DELETE_CAPACITY_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + RETRYABLE_CONFLICT_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _GCPI, + {_smith: None}, + (_cPI,), + ((CAPACITY_PROVIDER_ID, 9),), +) + +GET_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _GCPO, + {_smithy: None}, + (_cPI, _cPA, _n, _st, _d, _sCt, _sRt, _pCe, _cCom, _cA, _lUA), + ( + (CAPACITY_PROVIDER_ID, 1), + (lambda: schemas.CAPACITY_PROVIDER_ARN, 1), + (CAPACITY_PROVIDER_NAME, 1), + (CAPACITY_PROVIDER_STATUS, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: CAPACITY_PROVIDER_STATUS_CODE, 0), + (3, 0), + (PERMISSIONS_CONFIGURATION, 1), + (COMPUTE_CONFIGURATION, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +GET_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _GCP, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/capacity-providers/{capacityProviderId}", + "code": 200, + } + ) + }, + GET_CAPACITY_PROVIDER_INPUT, + GET_CAPACITY_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CAPACITY_PROVIDER_STATUS_CODE: StaticSchema = ( + 14, + n0, + _CPSC, + 0, + (_VE_, _QE, _THROTTLED, _ISE_), + ( + (-1, {_sVm: _VE_}), + (-1, {_sVm: _QE}), + (-1, {_sVm: _THROTTLED}), + (-1, {_sVm: _ISE_}), + ), +) + +LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _LARVBCPI, + {_smith: None}, + (_cPI, _mR, _nT), + ( + (CAPACITY_PROVIDER_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _LARVBCPO, + {_smithy: None}, + (_aR, _nT), + ((lambda: schemas.AGENT_RUNTIME_VERSION_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _LARVBCP, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/capacity-providers/{capacityProviderId}/runtime-versions", + "code": 200, + } + ) + }, + LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_INPUT, + LIST_AGENT_RUNTIME_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_CAPACITY_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _LCPI, + {_smith: None}, + (_mR, _nT), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_CAPACITY_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCPO, + {_smithy: None}, + (_cPa, _nT), + ((lambda: CAPACITY_PROVIDER_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_CAPACITY_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _LCP, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/capacity-providers", "code": 200} + ) + }, + LIST_CAPACITY_PROVIDERS_INPUT, + LIST_CAPACITY_PROVIDERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CAPACITY_PROVIDER_SUMMARY: StaticSchema = ( + 18, + n0, + _CPSa, + 0, + (_cPI, _cPA, _n, _st, _lUA), + ( + (CAPACITY_PROVIDER_ID, 1), + (lambda: schemas.CAPACITY_PROVIDER_ARN, 1), + (CAPACITY_PROVIDER_NAME, 1), + (CAPACITY_PROVIDER_STATUS, 1), + (4, 1), + ), +) + +CAPACITY_PROVIDER_LIST: StaticSchema = ( + 16, + n0, + _CPL, + 0, + (_mem,), + ((CAPACITY_PROVIDER_SUMMARY, 0),), +) + +UPDATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _UCPI, + {_smith: None}, + (_cPI, _d, _cT), + ( + (CAPACITY_PROVIDER_ID, 9), + (lambda: schemas.UPDATED_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +UPDATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _UCPO, + {_smithy: None}, + (_cPI, _cPA, _n, _st, _cA, _lUA), + ( + (CAPACITY_PROVIDER_ID, 1), + (lambda: schemas.CAPACITY_PROVIDER_ARN, 1), + (CAPACITY_PROVIDER_NAME, 1), + (CAPACITY_PROVIDER_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +UPDATE_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _UCP, + { + _smithya: MappingProxyType( + { + "method": "PUT", + "uri": "/capacity-providers/{capacityProviderId}", + "code": 202, + } + ) + }, + UPDATE_CAPACITY_PROVIDER_INPUT, + UPDATE_CAPACITY_PROVIDER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + RETRYABLE_CONFLICT_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CODE_INTERPRETER_ID: StaticSchema = (3, n0, _CII, 0) + +CODE_INTERPRETER_NETWORK_MODE: StaticSchema = ( + 14, + n0, + _CINM, + 0, + (_PUBLIC, _SANDBOX, _VPC), + ((-1, {_sVm: _PUBLIC}), (-1, {_sVm: _SANDBOX}), (-1, {_sVm: _VPC})), +) + +CODE_INTERPRETER_NETWORK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CINC, + 0, + (_nM, _vC), + ( + (CODE_INTERPRETER_NETWORK_MODE, {_smi: _SANDBOX, _sm: None}), + (lambda: schemas.VPC_CONFIG, 0), + ), +) + +CREATE_CODE_INTERPRETER_INPUT: StaticSchema = ( + 18, + n0, + _CCII, + {_sSI: _cCCIR, _smith: None}, + (_n, _d, _eRA, _nC, _ce, _fC, _cT, _t), + ( + (lambda: schemas.SANDBOX_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 0), + (CODE_INTERPRETER_NETWORK_CONFIGURATION, 1), + (lambda: schemas.CERTIFICATES, 0), + (lambda: schemas.TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_CODE_INTERPRETER_OUTPUT: StaticSchema = ( + 18, + n0, + _CCIO, + {_sSI: _cCCIRo, _smithy: None}, + (_cII, _cIA, _cA, _st), + ( + (CODE_INTERPRETER_ID, 1), + (lambda: CODE_INTERPRETER_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: CODE_INTERPRETER_STATUS, 1), + ), +) + +CREATE_CODE_INTERPRETER: StaticOperationSchema = ( + 23, + n0, + _CCI, + { + _smithya: MappingProxyType( + {"code": 202, "method": "PUT", "uri": "/code-interpreters"} + ) + }, + CREATE_CODE_INTERPRETER_INPUT, + CREATE_CODE_INTERPRETER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CODE_INTERPRETER_ARN: StaticSchema = (3, n0, _CIA, 0) + +CODE_INTERPRETER_STATUS: StaticSchema = ( + 14, + n0, + _CIS, + 0, + (_CREATING, _CF, _READY, _DELETING, _DF, _DELETED), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + (-1, {_sVm: _DELETED}), + ), +) + +DELETE_CODE_INTERPRETER_INPUT: StaticSchema = ( + 18, + n0, + _DCII, + {_sSI: _cDCIR, _smith: None}, + (_cII, _cT), + ((CODE_INTERPRETER_ID, 9), (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None})), +) + +DELETE_CODE_INTERPRETER_OUTPUT: StaticSchema = ( + 18, + n0, + _DCIO, + {_sSI: _cDCIRo, _smithy: None}, + (_cII, _st, _lUA), + ( + (CODE_INTERPRETER_ID, 1), + (CODE_INTERPRETER_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +DELETE_CODE_INTERPRETER: StaticOperationSchema = ( + 23, + n0, + _DCI, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/code-interpreters/{codeInterpreterId}", + } + ) + }, + DELETE_CODE_INTERPRETER_INPUT, + DELETE_CODE_INTERPRETER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_CODE_INTERPRETER_INPUT: StaticSchema = ( + 18, + n0, + _GCII, + {_sSI: _cGCIR, _smith: None}, + (_cII,), + ((CODE_INTERPRETER_ID, 9),), +) + +GET_CODE_INTERPRETER_OUTPUT: StaticSchema = ( + 18, + n0, + _GCIO, + {_sSI: _cGCIRo, _smithy: None}, + (_cII, _cIA, _n, _d, _eRA, _nC, _st, _ce, _fC, _fR, _cA, _lUA), + ( + (CODE_INTERPRETER_ID, 1), + (CODE_INTERPRETER_ARN, 1), + (lambda: schemas.SANDBOX_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 0), + (CODE_INTERPRETER_NETWORK_CONFIGURATION, 1), + (CODE_INTERPRETER_STATUS, 1), + (lambda: schemas.CERTIFICATES, 0), + (lambda: schemas.TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), + (3, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +GET_CODE_INTERPRETER: StaticOperationSchema = ( + 23, + n0, + _GCI, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/code-interpreters/{codeInterpreterId}", + } + ) + }, + GET_CODE_INTERPRETER_INPUT, + GET_CODE_INTERPRETER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +LIST_CODE_INTERPRETERS_INPUT: StaticSchema = ( + 18, + n0, + _LCII, + {_sSI: _cLCIR, _smith: None}, + (_mR, _nT, _ty), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.RESOURCE_TYPE, {_sQ: _ty}), + ), +) + +LIST_CODE_INTERPRETERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCIO, + {_sSI: _cLCIRo, _smithy: None}, + (_cIS, _nT), + ((lambda: CODE_INTERPRETER_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_CODE_INTERPRETERS: StaticOperationSchema = ( + 23, + n0, + _LCI, + { + _smithya: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/code-interpreters"} + ) + }, + LIST_CODE_INTERPRETERS_INPUT, + LIST_CODE_INTERPRETERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CODE_INTERPRETER_SUMMARY: StaticSchema = ( + 18, + n0, + _CISo, + 0, + (_cII, _cIA, _n, _d, _st, _cA, _lUA), + ( + (CODE_INTERPRETER_ID, 1), + (CODE_INTERPRETER_ARN, 1), + (lambda: schemas.SANDBOX_NAME, 0), + (lambda: schemas.DESCRIPTION, 0), + (CODE_INTERPRETER_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +CODE_INTERPRETER_SUMMARIES: StaticSchema = ( + 16, + n0, + _CISod, + 0, + (_mem,), + ((CODE_INTERPRETER_SUMMARY, 0),), +) + +CONFIGURATION_BUNDLE_ID: StaticSchema = (3, n0, _CBIo, 0) + +BRANCH_NAME: StaticSchema = (3, n0, _BN, 0) + +CONFIGURATION_BUNDLE_NAME: StaticSchema = (3, n0, _CBN, 0) + +COMPONENT_IDENTIFIER: StaticSchema = (3, n0, _CI, 0) + +COMPONENT_CONFIGURATION: StaticSchema = (18, n0, _CComp, 4, (_con,), ((13, 1),)) + +COMPONENT_CONFIGURATION_MAP: StaticSchema = ( + 17, + n0, + _CCM, + 0, + (_k, _v), + ((COMPONENT_IDENTIFIER, 0), (COMPONENT_CONFIGURATION, 0)), +) + +VERSION_CREATED_BY_SOURCE: StaticSchema = (18, n0, _VCBS, 0, (_n, _a), ((3, 1), (3, 0))) + +CONFIGURATION_BUNDLE_DESCRIPTION: StaticSchema = (3, n0, _CBD, 4) + +KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) + +CREATE_CONFIGURATION_BUNDLE_INPUT: StaticSchema = ( + 18, + n0, + _CCBI, + {_sSI: _cCCBR, _smith: None}, + (_cT, _bN, _d, _com, _bNr, _cM, _cBr, _kKA, _t), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (CONFIGURATION_BUNDLE_NAME, 1), + (CONFIGURATION_BUNDLE_DESCRIPTION, 0), + (COMPONENT_CONFIGURATION_MAP, 1), + (BRANCH_NAME, 0), + (3, 0), + (VERSION_CREATED_BY_SOURCE, 0), + (KMS_KEY_ARN, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_CONFIGURATION_BUNDLE_OUTPUT: StaticSchema = ( + 18, + n0, + _CCBO, + {_sSI: _cCCBRo, _smithy: None}, + (_bA, _bIu, _vI, _cA), + ( + (lambda: CONFIGURATION_BUNDLE_ARN, 1), + (CONFIGURATION_BUNDLE_ID, 1), + (lambda: CONFIGURATION_BUNDLE_VERSION, 1), + (4, 1), + ), +) + +CREATE_CONFIGURATION_BUNDLE: StaticOperationSchema = ( + 23, + n0, + _CCB, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/configuration-bundles/create", "code": 201} + ) + }, + CREATE_CONFIGURATION_BUNDLE_INPUT, + CREATE_CONFIGURATION_BUNDLE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONFIGURATION_BUNDLE_ARN: StaticSchema = (3, n0, _CBAo, 0) + +CONFIGURATION_BUNDLE_VERSION: StaticSchema = (3, n0, _CBV, 0) + +DELETE_CONFIGURATION_BUNDLE_INPUT: StaticSchema = ( + 18, + n0, + _DCBI, + {_sSI: _cDCBR, _smith: None}, + (_bIu,), + ((CONFIGURATION_BUNDLE_ID, 9),), +) + +DELETE_CONFIGURATION_BUNDLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DCBO, + {_sSI: _cDCBRo, _smithy: None}, + (_bA, _bIu, _st), + ( + (CONFIGURATION_BUNDLE_ARN, 1), + (CONFIGURATION_BUNDLE_ID, 1), + (lambda: CONFIGURATION_BUNDLE_STATUS, 1), + ), +) + +DELETE_CONFIGURATION_BUNDLE: StaticOperationSchema = ( + 23, + n0, + _DCB, + { + _smithya: MappingProxyType( + { + "method": "DELETE", + "uri": "/configuration-bundles/{bundleId}", + "code": 202, + } + ) + }, + DELETE_CONFIGURATION_BUNDLE_INPUT, + DELETE_CONFIGURATION_BUNDLE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONFIGURATION_BUNDLE_STATUS: StaticSchema = ( + 14, + n0, + _CBS, + 0, + (_ACTIVE, _CREATING, _CF, _UPDATING, _UF, _DELETING, _DF), + ( + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + ), +) + +GET_CONFIGURATION_BUNDLE_INPUT: StaticSchema = ( + 18, + n0, + _GCBI, + {_sSI: _cGCBR, _smith: None}, + (_bIu, _bNr), + ((CONFIGURATION_BUNDLE_ID, 9), (BRANCH_NAME, {_sQ: _bNr})), +) + +GET_CONFIGURATION_BUNDLE_OUTPUT: StaticSchema = ( + 18, + n0, + _GCBO, + {_sSI: _cGCBRo, _smithy: None}, + (_bA, _bIu, _bN, _d, _vI, _com, _lM, _cA, _uA, _kKA), + ( + (CONFIGURATION_BUNDLE_ARN, 1), + (CONFIGURATION_BUNDLE_ID, 1), + (CONFIGURATION_BUNDLE_NAME, 1), + (CONFIGURATION_BUNDLE_DESCRIPTION, 0), + (CONFIGURATION_BUNDLE_VERSION, 1), + (COMPONENT_CONFIGURATION_MAP, 1), + (lambda: VERSION_LINEAGE_METADATA, 0), + (4, 1), + (4, 1), + (KMS_KEY_ARN, 0), + ), +) + +GET_CONFIGURATION_BUNDLE: StaticOperationSchema = ( + 23, + n0, + _GCB, + { + _smithya: MappingProxyType( + {"method": "GET", "uri": "/configuration-bundles/{bundleId}"} + ) + }, + GET_CONFIGURATION_BUNDLE_INPUT, + GET_CONFIGURATION_BUNDLE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONFIGURATION_BUNDLE_VERSION_LIST: StaticSchema = ( + 16, + n0, + _CBVL, + 0, + (_mem,), + ((CONFIGURATION_BUNDLE_VERSION, 0),), +) + +VERSION_LINEAGE_METADATA: StaticSchema = ( + 18, + n0, + _VLM, + 0, + (_pVI, _bNr, _cBr, _cM), + ( + (CONFIGURATION_BUNDLE_VERSION_LIST, 0), + (BRANCH_NAME, 0), + (VERSION_CREATED_BY_SOURCE, 0), + (3, 0), + ), +) + +GET_CONFIGURATION_BUNDLE_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _GCBVI, + {_sSI: _cGCBVR, _smith: None}, + (_bIu, _vI), + ((CONFIGURATION_BUNDLE_ID, 9), (CONFIGURATION_BUNDLE_VERSION, 9)), +) + +GET_CONFIGURATION_BUNDLE_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GCBVO, + {_sSI: _cGCBVRo, _smithy: None}, + (_bA, _bIu, _bN, _d, _vI, _com, _lM, _cA, _vCA, _kKA), + ( + (CONFIGURATION_BUNDLE_ARN, 1), + (CONFIGURATION_BUNDLE_ID, 1), + (CONFIGURATION_BUNDLE_NAME, 1), + (CONFIGURATION_BUNDLE_DESCRIPTION, 0), + (CONFIGURATION_BUNDLE_VERSION, 1), + (COMPONENT_CONFIGURATION_MAP, 1), + (VERSION_LINEAGE_METADATA, 0), + (4, 1), + (4, 1), + (KMS_KEY_ARN, 0), + ), +) + +GET_CONFIGURATION_BUNDLE_VERSION: StaticOperationSchema = ( + 23, + n0, + _GCBV, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/configuration-bundles/{bundleId}/versions/{versionId}", + } + ) + }, + GET_CONFIGURATION_BUNDLE_VERSION_INPUT, + GET_CONFIGURATION_BUNDLE_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_ID: StaticSchema = (3, n0, _MI, 0) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_4.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_4.py new file mode 100644 index 000000000..82ac6fda5 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_4.py @@ -0,0 +1,1336 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_bA = "bundleArn" +_sm = "smithy.api#required" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smit = "smithy.api#sensitive" +_ex = "examples" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_dI = "datasetId" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_so = "source" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_UF = "UPDATE_FAILED" +_smithy = "smithy.api#output" +_dA = "datasetArn" +_st = "status" +_uA = "updatedAt" +_eI = "exampleIds" +_smithya = "smithy.api#http" +_t = "tags" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_fR = "failureReason" +_mR = "maxResults" +_nT = "nextToken" +_vI = "versionId" +_AAT = "AllowedAudienceType" +_cPAr = "credentialProviderArn" +_ty = "type" +_eRA = "executionRoleArn" +_sRt = "statusReason" +_bN = "bundleName" +_com = "components" +_bNr = "branchName" +_cM = "commitMessage" +_cBr = "createdBy" +_kKA = "kmsKeyArn" +_bIu = "bundleId" +_pVI = "parentVersionIds" +_lM = "lineageMetadata" +_vCA = "versionCreatedAt" +_LCBI = "ListConfigurationBundlesInput" +_cLCBR = "com.amazonaws.bedrockagentcorecontrol#ListConfigurationBundlesRequest" +_CBSo = "ConfigurationBundleSummary" +_CBSL = "ConfigurationBundleSummaryList" +_LCBO = "ListConfigurationBundlesOutput" +_cLCBRo = "com.amazonaws.bedrockagentcorecontrol#ListConfigurationBundlesResponse" +_bun = "bundles" +_LCB = "ListConfigurationBundles" +_VF = "VersionFilter" +_cBN = "createdByName" +_lPB = "latestPerBranch" +_LCBVI = "ListConfigurationBundleVersionsInput" +_cLCBVR = "com.amazonaws.bedrockagentcorecontrol#ListConfigurationBundleVersionsRequest" +_fi = "filter" +_CBVS = "ConfigurationBundleVersionSummary" +_CBVSL = "ConfigurationBundleVersionSummaryList" +_LCBVO = "ListConfigurationBundleVersionsOutput" +_cLCBVRo = ( + "com.amazonaws.bedrockagentcorecontrol#ListConfigurationBundleVersionsResponse" +) +_ver = "versions" +_LCBV = "ListConfigurationBundleVersions" +_UCBI = "UpdateConfigurationBundleInput" +_cUCBR = "com.amazonaws.bedrockagentcorecontrol#UpdateConfigurationBundleRequest" +_UCBO = "UpdateConfigurationBundleOutput" +_cUCBRo = "com.amazonaws.bedrockagentcorecontrol#UpdateConfigurationBundleResponse" +_UCB = "UpdateConfigurationBundle" +_CPAT = "ConsentPortalArnType" +_CPDT = "ConsentPortalDescriptionType" +_CPIo = "ConsentPortalIdentifier" +_OACPA = "OAuth2CredentialProviderArn" +_CPIC = "ConsentPortalIdpConfig" +_sco = "scopes" +_au = "audience" +_CPNT = "ConsentPortalNameType" +_CPSIT = "ConsentPortalSourceIdentifierType" +_CPST = "ConsentPortalSourceType" +_AG = "AGENTCORE_GATEWAY" +_ag = "agentcore-gateway" +_CPSo = "ConsentPortalSource" +_id = "identifier" +_CPSon = "ConsentPortalSources" +_CPSons = "ConsentPortalStatus" +_FAILED = "FAILED" +_ERAT = "ExecutionRoleArnType" +_CCPIr = "CreateConsentPortalInput" +_cCCPR = "com.amazonaws.bedrockagentcorecontrol#CreateConsentPortalRequest" +_iCd = "idpConfig" +_sou = "sources" +_CPIT = "ConsentPortalIdType" +_PUT = "PortalUrlType" +_SRT = "StatusReasonType" +_CCPOr = "CreateConsentPortalOutput" +_cCCPRo = "com.amazonaws.bedrockagentcorecontrol#CreateConsentPortalResponse" +_cPAo = "consentPortalArn" +_cPIo = "consentPortalId" +_pU = "portalUrl" +_CCPr = "CreateConsentPortal" +_DCPIe = "DeleteConsentPortalInput" +_cDCPR = "com.amazonaws.bedrockagentcorecontrol#DeleteConsentPortalRequest" +_cPIon = "consentPortalIdentifier" +_DCPOe = "DeleteConsentPortalOutput" +_cDCPRo = "com.amazonaws.bedrockagentcorecontrol#DeleteConsentPortalResponse" +_DCPe = "DeleteConsentPortal" +_GCPIe = "GetConsentPortalInput" +_cGCPR = "com.amazonaws.bedrockagentcorecontrol#GetConsentPortalRequest" +_GCPOe = "GetConsentPortalOutput" +_cGCPRo = "com.amazonaws.bedrockagentcorecontrol#GetConsentPortalResponse" +_GCPe = "GetConsentPortal" +_LCPIi = "ListConsentPortalsInput" +_cLCPR = "com.amazonaws.bedrockagentcorecontrol#ListConsentPortalsRequest" +_CPSonse = "ConsentPortalSummary" +_CPSonsen = "ConsentPortalSummaries" +_LCPOi = "ListConsentPortalsOutput" +_cLCPRo = "com.amazonaws.bedrockagentcorecontrol#ListConsentPortalsResponse" +_cPo = "consentPortals" +_LCPi = "ListConsentPortals" +_UCPIp = "UpdateConsentPortalInput" +_cUCPR = "com.amazonaws.bedrockagentcorecontrol#UpdateConsentPortalRequest" +_UCPOp = "UpdateConsentPortalOutput" +_cUCPRo = "com.amazonaws.bedrockagentcorecontrol#UpdateConsentPortalResponse" +_UCPp = "UpdateConsentPortal" +_DNa = "DatasetName" +_DSTa = "DatasetSchemaType" +_AEPV = "AGENTCORE_EVALUATION_PREDEFINED_V1" +_AESV = "AGENTCORE_EVALUATION_SIMULATED_V1" +_TPEV = "THIRD_PARTY_EVALUATION_V1" +_CDI = "CreateDatasetInput" +_cCDR = "com.amazonaws.bedrockagentcorecontrol#CreateDatasetRequest" +_dNa = "datasetName" +_sTc = "schemaType" +_CDO = "CreateDatasetOutput" +_cCDRo = "com.amazonaws.bedrockagentcorecontrol#CreateDatasetResponse" +_CD = "CreateDataset" +_CDVI = "CreateDatasetVersionInput" +_cCDVR = "com.amazonaws.bedrockagentcorecontrol#CreateDatasetVersionRequest" +_DV = "DatasetVersion" +_CDVO = "CreateDatasetVersionOutput" +_cCDVRo = "com.amazonaws.bedrockagentcorecontrol#CreateDatasetVersionResponse" +_dV = "datasetVersion" +_CDV = "CreateDatasetVersion" +_DDI = "DeleteDatasetInput" +_cDDR = "com.amazonaws.bedrockagentcorecontrol#DeleteDatasetRequest" +_DDO = "DeleteDatasetOutput" +_cDDRo = "com.amazonaws.bedrockagentcorecontrol#DeleteDatasetResponse" +_DD = "DeleteDataset" +_DDEI = "DeleteDatasetExamplesInput" +_cDDER = "com.amazonaws.bedrockagentcorecontrol#DeleteDatasetExamplesRequest" +_DDEO = "DeleteDatasetExamplesOutput" +_cDDERo = "com.amazonaws.bedrockagentcorecontrol#DeleteDatasetExamplesResponse" +_dC = "deletedCount" +_DDE = "DeleteDatasetExamples" +_GDI = "GetDatasetInput" +_cGDR = "com.amazonaws.bedrockagentcorecontrol#GetDatasetRequest" +_DUo = "DownloadUrl" +_DSr = "DraftStatus" +_MODIFIED = "MODIFIED" +_UNMODIFIED = "UNMODIFIED" +_GDO = "GetDatasetOutput" +_cGDRo = "com.amazonaws.bedrockagentcorecontrol#GetDatasetResponse" +_dS = "draftStatus" +_eCx = "exampleCount" +_dUo = "downloadUrl" +_dUEA = "downloadUrlExpiresAt" +_GD = "GetDataset" +_LDEI = "ListDatasetExamplesInput" +_cLDER = "com.amazonaws.bedrockagentcorecontrol#ListDatasetExamplesRequest" +_LDEO = "ListDatasetExamplesOutput" +_cLDERo = "com.amazonaws.bedrockagentcorecontrol#ListDatasetExamplesResponse" +_LDE = "ListDatasetExamples" +_LDI = "ListDatasetsInput" +_cLDR = "com.amazonaws.bedrockagentcorecontrol#ListDatasetsRequest" +_DSa = "DatasetSummary" +_DSL = "DatasetSummaryList" +_LDO = "ListDatasetsOutput" +_cLDRo = "com.amazonaws.bedrockagentcorecontrol#ListDatasetsResponse" +_da = "datasets" +_LD = "ListDatasets" +_LDVI = "ListDatasetVersionsInput" +_cLDVR = "com.amazonaws.bedrockagentcorecontrol#ListDatasetVersionsRequest" +_DVS = "DatasetVersionSummary" +_DVSL = "DatasetVersionSummaryList" +_LDVO = "ListDatasetVersionsOutput" +_cLDVRo = "com.amazonaws.bedrockagentcorecontrol#ListDatasetVersionsResponse" +_LDV = "ListDatasetVersions" +_UDI = "UpdateDatasetInput" +_cUDR = "com.amazonaws.bedrockagentcorecontrol#UpdateDatasetRequest" +_UDO = "UpdateDatasetOutput" +_cUDRo = "com.amazonaws.bedrockagentcorecontrol#UpdateDatasetResponse" +_UDp = "UpdateDataset" +_UDEI = "UpdateDatasetExamplesInput" +_cUDER = "com.amazonaws.bedrockagentcorecontrol#UpdateDatasetExamplesRequest" +_UDEO = "UpdateDatasetExamplesOutput" +_cUDERo = "com.amazonaws.bedrockagentcorecontrol#UpdateDatasetExamplesResponse" +_uC = "updatedCount" +_UDE = "UpdateDatasetExamples" +_DRPI = "DeleteResourcePolicyInput" +_cDRPR = "com.amazonaws.bedrockagentcorecontrol#DeleteResourcePolicyRequest" +_rAe = "resourceArn" +_DRPO = "DeleteResourcePolicyOutput" +_cDRPRo = "com.amazonaws.bedrockagentcorecontrol#DeleteResourcePolicyResponse" +_DRP = "DeleteResourcePolicy" + +ALLOWED_AUDIENCE_TYPE: StaticSchema = (3, n0, _AAT, 0) + +LIST_CONFIGURATION_BUNDLES_INPUT: StaticSchema = ( + 18, + n0, + _LCBI, + {_sSI: _cLCBR, _smith: None}, + (_nT, _mR), + ((3, {_sQ: _nT}), (7, {_sQ: _mR})), +) + +LIST_CONFIGURATION_BUNDLES_OUTPUT: StaticSchema = ( + 18, + n0, + _LCBO, + {_sSI: _cLCBRo, _smithy: None}, + (_bun, _nT), + ((lambda: CONFIGURATION_BUNDLE_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_CONFIGURATION_BUNDLES: StaticOperationSchema = ( + 23, + n0, + _LCB, + {_smithya: MappingProxyType({"method": "POST", "uri": "/configuration-bundles"})}, + LIST_CONFIGURATION_BUNDLES_INPUT, + LIST_CONFIGURATION_BUNDLES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONFIGURATION_BUNDLE_SUMMARY: StaticSchema = ( + 18, + n0, + _CBSo, + 0, + (_bA, _bIu, _bN, _d, _cA), + ( + (lambda: schemas.CONFIGURATION_BUNDLE_ARN, 1), + (lambda: schemas.CONFIGURATION_BUNDLE_ID, 1), + (lambda: schemas.CONFIGURATION_BUNDLE_NAME, 1), + (lambda: schemas.CONFIGURATION_BUNDLE_DESCRIPTION, 0), + (4, 0), + ), +) + +CONFIGURATION_BUNDLE_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CBSL, + 0, + (_mem,), + ((CONFIGURATION_BUNDLE_SUMMARY, 0),), +) + +VERSION_FILTER: StaticSchema = ( + 18, + n0, + _VF, + 0, + (_bNr, _cBN, _lPB), + ((lambda: schemas.BRANCH_NAME, 0), (3, 0), (2, 0)), +) + +LIST_CONFIGURATION_BUNDLE_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LCBVI, + {_sSI: _cLCBVR, _smith: None}, + (_bIu, _nT, _mR, _fi), + ( + (lambda: schemas.CONFIGURATION_BUNDLE_ID, 9), + (3, {_sQ: _nT}), + (7, {_sQ: _mR}), + (VERSION_FILTER, 0), + ), +) + +LIST_CONFIGURATION_BUNDLE_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCBVO, + {_sSI: _cLCBVRo, _smithy: None}, + (_ver, _nT), + ((lambda: CONFIGURATION_BUNDLE_VERSION_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_CONFIGURATION_BUNDLE_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LCBV, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/configuration-bundles/{bundleId}/versions"} + ) + }, + LIST_CONFIGURATION_BUNDLE_VERSIONS_INPUT, + LIST_CONFIGURATION_BUNDLE_VERSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONFIGURATION_BUNDLE_VERSION_SUMMARY: StaticSchema = ( + 18, + n0, + _CBVS, + 0, + (_bA, _bIu, _vI, _lM, _vCA), + ( + (lambda: schemas.CONFIGURATION_BUNDLE_ARN, 1), + (lambda: schemas.CONFIGURATION_BUNDLE_ID, 1), + (lambda: schemas.CONFIGURATION_BUNDLE_VERSION, 1), + (lambda: schemas.VERSION_LINEAGE_METADATA, 0), + (4, 1), + ), +) + +CONFIGURATION_BUNDLE_VERSION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CBVSL, + 0, + (_mem,), + ((CONFIGURATION_BUNDLE_VERSION_SUMMARY, 0),), +) + +UPDATE_CONFIGURATION_BUNDLE_INPUT: StaticSchema = ( + 18, + n0, + _UCBI, + {_sSI: _cUCBR, _smith: None}, + (_cT, _bIu, _bN, _d, _com, _pVI, _bNr, _cM, _cBr, _kKA), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.CONFIGURATION_BUNDLE_ID, 9), + (lambda: schemas.CONFIGURATION_BUNDLE_NAME, 0), + (lambda: schemas.CONFIGURATION_BUNDLE_DESCRIPTION, 0), + (lambda: schemas.COMPONENT_CONFIGURATION_MAP, 0), + (lambda: schemas.CONFIGURATION_BUNDLE_VERSION_LIST, 1), + (lambda: schemas.BRANCH_NAME, 0), + (3, 1), + (lambda: schemas.VERSION_CREATED_BY_SOURCE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +UPDATE_CONFIGURATION_BUNDLE_OUTPUT: StaticSchema = ( + 18, + n0, + _UCBO, + {_sSI: _cUCBRo, _smithy: None}, + (_bA, _bIu, _vI, _uA), + ( + (lambda: schemas.CONFIGURATION_BUNDLE_ARN, 1), + (lambda: schemas.CONFIGURATION_BUNDLE_ID, 1), + (lambda: schemas.CONFIGURATION_BUNDLE_VERSION, 1), + (4, 1), + ), +) + +UPDATE_CONFIGURATION_BUNDLE: StaticOperationSchema = ( + 23, + n0, + _UCB, + { + _smithya: MappingProxyType( + {"method": "PUT", "uri": "/configuration-bundles/{bundleId}"} + ) + }, + UPDATE_CONFIGURATION_BUNDLE_INPUT, + UPDATE_CONFIGURATION_BUNDLE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONSENT_PORTAL_ARN_TYPE: StaticSchema = (3, n0, _CPAT, 0) + +CONSENT_PORTAL_DESCRIPTION_TYPE: StaticSchema = (3, n0, _CPDT, 0) + +CONSENT_PORTAL_IDENTIFIER: StaticSchema = (3, n0, _CPIo, 0) + +O_AUTH2_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _OACPA, 0) + +CONSENT_PORTAL_IDP_CONFIG: StaticSchema = ( + 18, + n0, + _CPIC, + 0, + (_cPAr, _sco, _au), + ( + (O_AUTH2_CREDENTIAL_PROVIDER_ARN, 1), + (lambda: schemas.ALLOWED_SCOPES_TYPE, 1), + (ALLOWED_AUDIENCE_TYPE, 0), + ), +) + +CONSENT_PORTAL_NAME_TYPE: StaticSchema = (3, n0, _CPNT, 0) + +CONSENT_PORTAL_SOURCE_IDENTIFIER_TYPE: StaticSchema = (3, n0, _CPSIT, 0) + +CONSENT_PORTAL_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _CPST, + 0, + (_AG,), + ((-1, {_sVm: _ag}),), +) + +CONSENT_PORTAL_SOURCE: StaticSchema = ( + 18, + n0, + _CPSo, + 0, + (_id, _ty), + ((CONSENT_PORTAL_SOURCE_IDENTIFIER_TYPE, 1), (CONSENT_PORTAL_SOURCE_TYPE, 1)), +) + +CONSENT_PORTAL_SOURCES: StaticSchema = ( + 16, + n0, + _CPSon, + 0, + (_mem,), + ((CONSENT_PORTAL_SOURCE, 0),), +) + +CONSENT_PORTAL_STATUS: StaticSchema = ( + 14, + n0, + _CPSons, + 0, + (_CREATING, _ACTIVE, _UPDATING, _UF, _DELETING, _FAILED), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _FAILED}), + ), +) + +EXECUTION_ROLE_ARN_TYPE: StaticSchema = (3, n0, _ERAT, 0) + +CREATE_CONSENT_PORTAL_INPUT: StaticSchema = ( + 18, + n0, + _CCPIr, + {_sSI: _cCCPR, _smith: None}, + (_eRA, _iCd, _n, _sou, _d, _t), + ( + (EXECUTION_ROLE_ARN_TYPE, 1), + (CONSENT_PORTAL_IDP_CONFIG, 1), + (CONSENT_PORTAL_NAME_TYPE, 1), + (CONSENT_PORTAL_SOURCES, 1), + (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_CONSENT_PORTAL_OUTPUT: StaticSchema = ( + 18, + n0, + _CCPOr, + {_sSI: _cCCPRo, _smithy: None}, + (_sou, _cPAo, _cPIo, _cA, _d, _eRA, _iCd, _n, _pU, _st, _sRt, _uA), + ( + (CONSENT_PORTAL_SOURCES, 1), + (CONSENT_PORTAL_ARN_TYPE, 1), + (lambda: CONSENT_PORTAL_ID_TYPE, 1), + (4, 1), + (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), + (EXECUTION_ROLE_ARN_TYPE, 1), + (CONSENT_PORTAL_IDP_CONFIG, 1), + (CONSENT_PORTAL_NAME_TYPE, 1), + (lambda: PORTAL_URL_TYPE, 0), + (CONSENT_PORTAL_STATUS, 1), + (lambda: STATUS_REASON_TYPE, 0), + (4, 1), + ), +) + +CREATE_CONSENT_PORTAL: StaticOperationSchema = ( + 23, + n0, + _CCPr, + { + _smithya: MappingProxyType( + {"code": 202, "uri": "/identities/CreateConsentPortal", "method": "POST"} + ) + }, + CREATE_CONSENT_PORTAL_INPUT, + CREATE_CONSENT_PORTAL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONSENT_PORTAL_ID_TYPE: StaticSchema = (3, n0, _CPIT, 0) + +PORTAL_URL_TYPE: StaticSchema = (3, n0, _PUT, 0) + +STATUS_REASON_TYPE: StaticSchema = (3, n0, _SRT, 0) + +DELETE_CONSENT_PORTAL_INPUT: StaticSchema = ( + 18, + n0, + _DCPIe, + {_sSI: _cDCPR, _smith: None}, + (_cPIon,), + ((CONSENT_PORTAL_IDENTIFIER, 1),), +) + +DELETE_CONSENT_PORTAL_OUTPUT: StaticSchema = ( + 18, + n0, + _DCPOe, + {_sSI: _cDCPRo, _smithy: None}, +) + +DELETE_CONSENT_PORTAL: StaticOperationSchema = ( + 23, + n0, + _DCPe, + { + _smithya: MappingProxyType( + {"code": 204, "uri": "/identities/DeleteConsentPortal", "method": "POST"} + ) + }, + DELETE_CONSENT_PORTAL_INPUT, + DELETE_CONSENT_PORTAL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_CONSENT_PORTAL_INPUT: StaticSchema = ( + 18, + n0, + _GCPIe, + {_sSI: _cGCPR, _smith: None}, + (_cPIon,), + ((CONSENT_PORTAL_IDENTIFIER, 1),), +) + +GET_CONSENT_PORTAL_OUTPUT: StaticSchema = ( + 18, + n0, + _GCPOe, + {_sSI: _cGCPRo, _smithy: None}, + (_sou, _cPAo, _cPIo, _cA, _d, _eRA, _iCd, _n, _pU, _st, _sRt, _uA), + ( + (CONSENT_PORTAL_SOURCES, 1), + (CONSENT_PORTAL_ARN_TYPE, 1), + (CONSENT_PORTAL_ID_TYPE, 1), + (4, 1), + (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), + (EXECUTION_ROLE_ARN_TYPE, 1), + (CONSENT_PORTAL_IDP_CONFIG, 1), + (CONSENT_PORTAL_NAME_TYPE, 1), + (PORTAL_URL_TYPE, 0), + (CONSENT_PORTAL_STATUS, 1), + (STATUS_REASON_TYPE, 0), + (4, 1), + ), +) + +GET_CONSENT_PORTAL: StaticOperationSchema = ( + 23, + n0, + _GCPe, + { + _smithya: MappingProxyType( + {"uri": "/identities/GetConsentPortal", "method": "POST"} + ) + }, + GET_CONSENT_PORTAL_INPUT, + GET_CONSENT_PORTAL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_CONSENT_PORTALS_INPUT: StaticSchema = ( + 18, + n0, + _LCPIi, + {_sSI: _cLCPR, _smith: None}, + (_mR, _nT), + ((7, 0), (3, 0)), +) + +LIST_CONSENT_PORTALS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCPOi, + {_sSI: _cLCPRo, _smithy: None}, + (_cPo, _nT), + ((lambda: CONSENT_PORTAL_SUMMARIES, 1), (3, 0)), +) + +LIST_CONSENT_PORTALS: StaticOperationSchema = ( + 23, + n0, + _LCPi, + { + _smithya: MappingProxyType( + {"uri": "/identities/ListConsentPortals", "method": "POST"} + ) + }, + LIST_CONSENT_PORTALS_INPUT, + LIST_CONSENT_PORTALS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONSENT_PORTAL_SUMMARY: StaticSchema = ( + 18, + n0, + _CPSonse, + 0, + (_sou, _cPAo, _cPIo, _cA, _d, _n, _pU, _st, _uA), + ( + (CONSENT_PORTAL_SOURCES, 1), + (CONSENT_PORTAL_ARN_TYPE, 1), + (CONSENT_PORTAL_ID_TYPE, 1), + (4, 1), + (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), + (CONSENT_PORTAL_NAME_TYPE, 1), + (PORTAL_URL_TYPE, 0), + (CONSENT_PORTAL_STATUS, 1), + (4, 1), + ), +) + +CONSENT_PORTAL_SUMMARIES: StaticSchema = ( + 16, + n0, + _CPSonsen, + 0, + (_mem,), + ((CONSENT_PORTAL_SUMMARY, 0),), +) + +UPDATE_CONSENT_PORTAL_INPUT: StaticSchema = ( + 18, + n0, + _UCPIp, + {_sSI: _cUCPR, _smith: None}, + (_cPIon, _eRA, _iCd, _d), + ( + (CONSENT_PORTAL_IDENTIFIER, 1), + (EXECUTION_ROLE_ARN_TYPE, 0), + (CONSENT_PORTAL_IDP_CONFIG, 0), + (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), + ), +) + +UPDATE_CONSENT_PORTAL_OUTPUT: StaticSchema = ( + 18, + n0, + _UCPOp, + {_sSI: _cUCPRo, _smithy: None}, + (_sou, _cPAo, _cPIo, _cA, _d, _eRA, _iCd, _n, _pU, _st, _sRt, _uA), + ( + (CONSENT_PORTAL_SOURCES, 1), + (CONSENT_PORTAL_ARN_TYPE, 1), + (CONSENT_PORTAL_ID_TYPE, 1), + (4, 1), + (CONSENT_PORTAL_DESCRIPTION_TYPE, 0), + (EXECUTION_ROLE_ARN_TYPE, 1), + (CONSENT_PORTAL_IDP_CONFIG, 1), + (CONSENT_PORTAL_NAME_TYPE, 1), + (PORTAL_URL_TYPE, 0), + (CONSENT_PORTAL_STATUS, 1), + (STATUS_REASON_TYPE, 0), + (4, 1), + ), +) + +UPDATE_CONSENT_PORTAL: StaticOperationSchema = ( + 23, + n0, + _UCPp, + { + _smithya: MappingProxyType( + {"code": 202, "uri": "/identities/UpdateConsentPortal", "method": "POST"} + ) + }, + UPDATE_CONSENT_PORTAL_INPUT, + UPDATE_CONSENT_PORTAL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATASET_NAME: StaticSchema = (3, n0, _DNa, 0) + +DATASET_SCHEMA_TYPE: StaticSchema = ( + 14, + n0, + _DSTa, + 0, + (_AEPV, _AESV, _TPEV), + ((-1, {_sVm: _AEPV}), (-1, {_sVm: _AESV}), (-1, {_sVm: _TPEV})), +) + +CREATE_DATASET_INPUT: StaticSchema = ( + 18, + n0, + _CDI, + {_sSI: _cCDR, _smith: None}, + (_cT, _dNa, _d, _so, _sTc, _kKA, _t), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (DATASET_NAME, 1), + (3, 0), + (lambda: schemas.DATA_SOURCE_TYPE, 1), + (DATASET_SCHEMA_TYPE, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_DATASET_OUTPUT: StaticSchema = ( + 18, + n0, + _CDO, + {_sSI: _cCDRo, _smithy: None}, + (_dA, _dI, _st, _cA), + ( + (lambda: schemas.DATASET_ARN, 1), + (lambda: schemas.DATASET_ID, 1), + (lambda: schemas.DATASET_STATUS, 1), + (4, 1), + ), +) + +CREATE_DATASET: StaticOperationSchema = ( + 23, + n0, + _CD, + {_smithya: MappingProxyType({"method": "POST", "uri": "/datasets", "code": 202})}, + CREATE_DATASET_INPUT, + CREATE_DATASET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREATE_DATASET_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CDVI, + {_sSI: _cCDVR, _smith: None}, + (_dI, _cT), + ((lambda: schemas.DATASET_ID, 9), (lambda: schemas.CLIENT_TOKEN, 2)), +) + +CREATE_DATASET_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CDVO, + {_sSI: _cCDVRo, _smithy: None}, + (_dA, _dI, _st, _dV, _cA), + ( + (lambda: schemas.DATASET_ARN, 1), + (lambda: schemas.DATASET_ID, 1), + (lambda: schemas.DATASET_STATUS, 1), + (lambda: DATASET_VERSION, 1), + (4, 1), + ), +) + +CREATE_DATASET_VERSION: StaticOperationSchema = ( + 23, + n0, + _CDV, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/datasets/{datasetId}/versions", "code": 202} + ) + }, + CREATE_DATASET_VERSION_INPUT, + CREATE_DATASET_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATASET_VERSION: StaticSchema = (3, n0, _DV, 0) + +DELETE_DATASET_INPUT: StaticSchema = ( + 18, + n0, + _DDI, + {_sSI: _cDDR, _smith: None}, + (_dI, _dV), + ((lambda: schemas.DATASET_ID, 9), (DATASET_VERSION, {_sQ: _dV})), +) + +DELETE_DATASET_OUTPUT: StaticSchema = ( + 18, + n0, + _DDO, + {_sSI: _cDDRo, _smithy: None}, + (_dA, _dI, _st, _dV, _uA), + ( + (lambda: schemas.DATASET_ARN, 1), + (lambda: schemas.DATASET_ID, 1), + (lambda: schemas.DATASET_STATUS, 1), + (DATASET_VERSION, 1), + (4, 1), + ), +) + +DELETE_DATASET: StaticOperationSchema = ( + 23, + n0, + _DD, + { + _smithya: MappingProxyType( + {"method": "DELETE", "uri": "/datasets/{datasetId}", "code": 202} + ) + }, + DELETE_DATASET_INPUT, + DELETE_DATASET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_DATASET_EXAMPLES_INPUT: StaticSchema = ( + 18, + n0, + _DDEI, + {_sSI: _cDDER, _smith: None}, + (_dI, _cT, _eI), + ( + (lambda: schemas.DATASET_ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.EXAMPLE_ID_LIST, 1), + ), +) + +DELETE_DATASET_EXAMPLES_OUTPUT: StaticSchema = ( + 18, + n0, + _DDEO, + {_sSI: _cDDERo, _smithy: None}, + (_dA, _dI, _st, _dC, _uA), + ( + (lambda: schemas.DATASET_ARN, 1), + (lambda: schemas.DATASET_ID, 1), + (lambda: schemas.DATASET_STATUS, 1), + (8, 1), + (4, 1), + ), +) + +DELETE_DATASET_EXAMPLES: StaticOperationSchema = ( + 23, + n0, + _DDE, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/datasets/{datasetId}/examples/delete", + "code": 202, + } + ) + }, + DELETE_DATASET_EXAMPLES_INPUT, + DELETE_DATASET_EXAMPLES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_DATASET_INPUT: StaticSchema = ( + 18, + n0, + _GDI, + {_sSI: _cGDR, _smith: None}, + (_dI, _dV), + ((lambda: schemas.DATASET_ID, 9), (DATASET_VERSION, {_sQ: _dV})), +) + +GET_DATASET_OUTPUT: StaticSchema = ( + 18, + n0, + _GDO, + {_sSI: _cGDRo, _smithy: None}, + ( + _dA, + _dI, + _dV, + _dNa, + _d, + _st, + _dS, + _fR, + _sTc, + _kKA, + _eCx, + _dUo, + _dUEA, + _cA, + _uA, + _t, + ), + ( + (lambda: schemas.DATASET_ARN, 1), + (lambda: schemas.DATASET_ID, 1), + (DATASET_VERSION, 1), + (DATASET_NAME, 1), + (3, 0), + (lambda: schemas.DATASET_STATUS, 1), + (lambda: DRAFT_STATUS, 0), + (3, 0), + (DATASET_SCHEMA_TYPE, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (8, 1), + (lambda: DOWNLOAD_URL, 0), + (4, 0), + (4, 1), + (4, 1), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +GET_DATASET: StaticOperationSchema = ( + 23, + n0, + _GD, + {_smithya: MappingProxyType({"method": "GET", "uri": "/datasets/{datasetId}"})}, + GET_DATASET_INPUT, + GET_DATASET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DOWNLOAD_URL: StaticSchema = (3, n0, _DUo, 4) + +DRAFT_STATUS: StaticSchema = ( + 14, + n0, + _DSr, + 0, + (_MODIFIED, _UNMODIFIED), + ((-1, {_sVm: _MODIFIED}), (-1, {_sVm: _UNMODIFIED})), +) + +LIST_DATASET_EXAMPLES_INPUT: StaticSchema = ( + 18, + n0, + _LDEI, + {_sSI: _cLDER, _smith: None}, + (_dI, _dV, _mR, _nT), + ( + (lambda: schemas.DATASET_ID, 9), + (DATASET_VERSION, {_sQ: _dV}), + (7, {_sQ: _mR}), + (3, {_sQ: _nT}), + ), +) + +LIST_DATASET_EXAMPLES_OUTPUT: StaticSchema = ( + 18, + n0, + _LDEO, + {_sSI: _cLDERo, _smithy: None}, + (_dA, _dI, _dV, _ex, _nT), + ( + (lambda: schemas.DATASET_ARN, 1), + (lambda: schemas.DATASET_ID, 1), + (DATASET_VERSION, 1), + (lambda: schemas.DATASET_EXAMPLE_LIST, 1), + (3, 0), + ), +) + +LIST_DATASET_EXAMPLES: StaticOperationSchema = ( + 23, + n0, + _LDE, + { + _smithya: MappingProxyType( + {"method": "GET", "uri": "/datasets/{datasetId}/examples"} + ) + }, + LIST_DATASET_EXAMPLES_INPUT, + LIST_DATASET_EXAMPLES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_DATASETS_INPUT: StaticSchema = ( + 18, + n0, + _LDI, + {_sSI: _cLDR, _smith: None}, + (_nT, _mR), + ((3, {_sQ: _nT}), (7, {_sQ: _mR})), +) + +LIST_DATASETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDO, + {_sSI: _cLDRo, _smithy: None}, + (_da, _nT), + ((lambda: DATASET_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_DATASETS: StaticOperationSchema = ( + 23, + n0, + _LD, + {_smithya: MappingProxyType({"method": "GET", "uri": "/datasets"})}, + LIST_DATASETS_INPUT, + LIST_DATASETS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATASET_SUMMARY: StaticSchema = ( + 18, + n0, + _DSa, + 0, + (_dA, _dI, _dNa, _d, _st, _dS, _sTc, _eCx, _cA, _uA), + ( + (lambda: schemas.DATASET_ARN, 1), + (lambda: schemas.DATASET_ID, 1), + (DATASET_NAME, 1), + (3, 0), + (lambda: schemas.DATASET_STATUS, 1), + (DRAFT_STATUS, 0), + (DATASET_SCHEMA_TYPE, 1), + (8, 1), + (4, 1), + (4, 1), + ), +) + +DATASET_SUMMARY_LIST: StaticSchema = (16, n0, _DSL, 0, (_mem,), ((DATASET_SUMMARY, 0),)) + +LIST_DATASET_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LDVI, + {_sSI: _cLDVR, _smith: None}, + (_dI, _nT, _mR), + ((lambda: schemas.DATASET_ID, 9), (3, {_sQ: _nT}), (7, {_sQ: _mR})), +) + +LIST_DATASET_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDVO, + {_sSI: _cLDVRo, _smithy: None}, + (_ver, _nT), + ((lambda: DATASET_VERSION_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_DATASET_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LDV, + { + _smithya: MappingProxyType( + {"method": "GET", "uri": "/datasets/{datasetId}/versions"} + ) + }, + LIST_DATASET_VERSIONS_INPUT, + LIST_DATASET_VERSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATASET_VERSION_SUMMARY: StaticSchema = ( + 18, + n0, + _DVS, + 0, + (_dV, _eCx, _cA), + ((DATASET_VERSION, 1), (8, 1), (4, 1)), +) + +DATASET_VERSION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _DVSL, + 0, + (_mem,), + ((DATASET_VERSION_SUMMARY, 0),), +) + +UPDATE_DATASET_INPUT: StaticSchema = ( + 18, + n0, + _UDI, + {_sSI: _cUDR, _smith: None}, + (_dI, _cT, _d), + ((lambda: schemas.DATASET_ID, 9), (lambda: schemas.CLIENT_TOKEN, 2), (3, 0)), +) + +UPDATE_DATASET_OUTPUT: StaticSchema = ( + 18, + n0, + _UDO, + {_sSI: _cUDRo, _smithy: None}, + (_dA, _dI, _uA), + ((lambda: schemas.DATASET_ARN, 1), (lambda: schemas.DATASET_ID, 1), (4, 1)), +) + +UPDATE_DATASET: StaticOperationSchema = ( + 23, + n0, + _UDp, + { + _smithya: MappingProxyType( + {"method": "PUT", "uri": "/datasets/{datasetId}", "code": 200} + ) + }, + UPDATE_DATASET_INPUT, + UPDATE_DATASET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_DATASET_EXAMPLES_INPUT: StaticSchema = ( + 18, + n0, + _UDEI, + {_sSI: _cUDER, _smith: None}, + (_dI, _cT, _ex), + ( + (lambda: schemas.DATASET_ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.DATASET_EXAMPLE_LIST, 1), + ), +) + +UPDATE_DATASET_EXAMPLES_OUTPUT: StaticSchema = ( + 18, + n0, + _UDEO, + {_sSI: _cUDERo, _smithy: None}, + (_dA, _dI, _st, _uC, _uA), + ( + (lambda: schemas.DATASET_ARN, 1), + (lambda: schemas.DATASET_ID, 1), + (lambda: schemas.DATASET_STATUS, 1), + (8, 1), + (4, 1), + ), +) + +UPDATE_DATASET_EXAMPLES: StaticOperationSchema = ( + 23, + n0, + _UDE, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/datasets/{datasetId}/examples/update", + "code": 202, + } + ) + }, + UPDATE_DATASET_EXAMPLES_INPUT, + UPDATE_DATASET_EXAMPLES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_sSI: _cDRPR, _smith: None}, + (_rAe,), + ((lambda: schemas.BEDROCK_AGENTCORE_RESOURCE_ARN, 9),), +) + +DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DRPO, + {_sSI: _cDRPRo, _smithy: None}, +) + +DELETE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + { + _smithya: MappingProxyType( + {"code": 204, "method": "DELETE", "uri": "/resourcepolicy/{resourceArn}"} + ) + }, + DELETE_RESOURCE_POLICY_INPUT, + DELETE_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_5.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_5.py new file mode 100644 index 000000000..1e240d8bf --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_5.py @@ -0,0 +1,1297 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_sm = "smithy.api#required" +_k = "key" +_v = "value" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smit = "smithy.api#sensitive" +_NONE = "NONE" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_smithya = "smithy.api#http" +_t = "tags" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_a = "arn" +_CUSTOM = "CUSTOM" +_kKA = "kmsKeyArn" +_ED = "EvaluatorDescription" +_LAa = "LambdaArn" +_LEC = "LambdaEvaluatorConfig" +_lA = "lambdaArn" +_lTIS = "lambdaTimeoutInSeconds" +_CBEC = "CodeBasedEvaluatorConfig" +_lCa = "lambdaConfig" +_EIv = "EvaluatorId" +_NES = "NonEmptyString" +_NESL = "NonEmptyStringList" +_ICn = "InferenceConfiguration" +_mT = "maxTokens" +_te = "temperature" +_tP = "topP" +_sSt = "stopSequences" +_BEMC = "BedrockEvaluatorModelConfig" +_mI = "modelId" +_iCn = "inferenceConfig" +_aMRF = "additionalModelRequestFields" +_RCea = "ReasoningConfiguration" +_ef = "effort" +_OREMC = "OpenResponsesEvaluatorModelConfig" +_mOT = "maxOutputTokens" +_rea = "reasoning" +_EMC = "EvaluatorModelConfig" +_bEMC = "bedrockEvaluatorModelConfig" +_rEMC = "responsesEvaluatorModelConfig" +_DEC = "DerivedEvaluatorConfig" +_bEI = "baseEvaluatorId" +_mCo = "modelConfig" +_EIva = "EvaluatorInstructions" +_CSD = "CategoricalScaleDefinition" +_de = "definition" +_la = "label" +_CSDa = "CategoricalScaleDefinitions" +_EDI = "EvaluationDimensionInstruction" +_EDN = "EvaluationDimensionName" +_NSD = "NumericalScaleDefinition" +_NSDu = "NumericalScaleDefinitions" +_DRS = "DimensionRatingScale" +_nu = "numerical" +_ca = "categorical" +_EDv = "EvaluationDimension" +_dNi = "dimensionName" +_dIi = "dimensionInstruction" +_dRS = "dimensionRatingScale" +_EDva = "EvaluationDimensions" +_RS = "RatingScale" +_mD = "multiDimensional" +_LAAJEC = "LlmAsAJudgeEvaluatorConfig" +_in = "instructions" +_rS = "ratingScale" +_ECv = "EvaluatorConfig" +_lAAJ = "llmAsAJudge" +_cBo = "codeBased" +_der = "derived" +_CEN = "CustomEvaluatorName" +_EL = "EvaluatorLevel" +_TC = "TOOL_CALL" +_TRACE = "TRACE" +_SESSION = "SESSION" +_CEI = "CreateEvaluatorInput" +_cCER = "com.amazonaws.bedrockagentcorecontrol#CreateEvaluatorRequest" +_eNv = "evaluatorName" +_eCv = "evaluatorConfig" +_le = "level" +_CEA = "CustomEvaluatorArn" +_ES = "EvaluatorStatus" +_CEO = "CreateEvaluatorOutput" +_cCERo = "com.amazonaws.bedrockagentcorecontrol#CreateEvaluatorResponse" +_eA = "evaluatorArn" +_eIv = "evaluatorId" +_CEr = "CreateEvaluator" +_DEI = "DeleteEvaluatorInput" +_cDER = "com.amazonaws.bedrockagentcorecontrol#DeleteEvaluatorRequest" +_EA = "EvaluatorArn" +_DEO = "DeleteEvaluatorOutput" +_cDERo = "com.amazonaws.bedrockagentcorecontrol#DeleteEvaluatorResponse" +_DE = "DeleteEvaluator" +_ID = "IncludedData" +_AD_ = "ALL_DATA" +_MO = "METADATA_ONLY" +_GEI = "GetEvaluatorInput" +_cGER = "com.amazonaws.bedrockagentcorecontrol#GetEvaluatorRequest" +_iD = "includedData" +_ENv = "EvaluatorName" +_ET = "EvaluatorType" +_BUILTIN = "BUILTIN" +_B = "Builtin" +_TP = "THIRD_PARTY" +_TPh = "ThirdParty" +_Cu = "Custom" +_CODE = "CODE" +_CCu = "CustomCode" +_CD_ = "CUSTOM_DERIVED" +_CDu = "CustomDerived" +_Pr = "Provider" +_AWS = "AWS" +_DE_ = "DEEP_EVAL" +_DEe = "DeepEval" +_AE = "AUTO_EVAL" +_AEu = "AutoEval" +_GEO = "GetEvaluatorOutput" +_cGERo = "com.amazonaws.bedrockagentcorecontrol#GetEvaluatorResponse" +_eT = "evaluatorType" +_pr = "provider" +_lFM = "lockedForModification" +_GE = "GetEvaluator" +_LEI = "ListEvaluatorsInput" +_cLER = "com.amazonaws.bedrockagentcorecontrol#ListEvaluatorsRequest" +_ESv = "EvaluatorSummary" +_ESL = "EvaluatorSummaryList" +_LEO = "ListEvaluatorsOutput" +_cLERo = "com.amazonaws.bedrockagentcorecontrol#ListEvaluatorsResponse" +_ev = "evaluators" +_LE = "ListEvaluators" +_UEI = "UpdateEvaluatorInput" +_cUER = "com.amazonaws.bedrockagentcorecontrol#UpdateEvaluatorRequest" +_UEO = "UpdateEvaluatorOutput" +_cUERo = "com.amazonaws.bedrockagentcorecontrol#UpdateEvaluatorResponse" +_UEp = "UpdateEvaluator" +_GI = "GatewayIdentifier" +_GRLD = "GatewayRateLimitDescription" +_DK = "DimensionKey" +_DKi = "DimensionKeys" +_Pe = "Period" +_SECOND = "SECOND" +_sec = "second" +_MINUTE = "MINUTE" +_mi = "minute" +_RCa = "RateConfig" +_ra = "rate" +_pe = "period" +_RCat = "RateConfigs" +_DVi = "DimensionValue" +_Di = "Dimensions" +_LEi = "LimitEntry" +_di = "dimensions" +_req = "requests" +_tok = "tokens" +_conn = "connections" +_LEim = "LimitEntries" +_GRLI = "GatewayRateLimitId" +_BPLE = "BatchPutLimitEntry" +_rLI = "rateLimitId" +_dK = "dimensionKeys" +_ent = "entries" +_BPLEa = "BatchPutLimitEntries" +_BPGRLI = "BatchPutGatewayRateLimitsInput" +_cBPGRLR = "com.amazonaws.bedrockagentcorecontrol#BatchPutGatewayRateLimitsRequest" +_gI = "gatewayIdentifier" +_rL = "rateLimits" +_GRLS = "GatewayRateLimitStatus" +_GRLDa = "GatewayRateLimitDetail" +_GRL = "GatewayRateLimits" +_BPGRLO = "BatchPutGatewayRateLimitsOutput" +_cBPGRLRo = "com.amazonaws.bedrockagentcorecontrol#BatchPutGatewayRateLimitsResponse" +_BPGRL = "BatchPutGatewayRateLimits" +_CGRLI = "CreateGatewayRateLimitInput" +_cCGRLR = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRateLimitRequest" +_CGRLO = "CreateGatewayRateLimitOutput" +_cCGRLRo = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRateLimitResponse" +_CGRL = "CreateGatewayRateLimit" +_DGRLI = "DeleteGatewayRateLimitInput" +_cDGRLR = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRateLimitRequest" +_DGRLO = "DeleteGatewayRateLimitOutput" +_cDGRLRo = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRateLimitResponse" +_DGRL = "DeleteGatewayRateLimit" +_GGRLI = "GetGatewayRateLimitInput" +_cGGRLR = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRateLimitRequest" +_GGRLO = "GetGatewayRateLimitOutput" +_cGGRLRo = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRateLimitResponse" +_GGRL = "GetGatewayRateLimit" +_GRLMR = "GatewayRateLimitMaxResults" +_GRLNT = "GatewayRateLimitNextToken" +_LGRLI = "ListGatewayRateLimitsInput" +_cLGRLR = "com.amazonaws.bedrockagentcorecontrol#ListGatewayRateLimitsRequest" +_LGRLO = "ListGatewayRateLimitsOutput" +_cLGRLRo = "com.amazonaws.bedrockagentcorecontrol#ListGatewayRateLimitsResponse" +_LGRL = "ListGatewayRateLimits" +_UGRLI = "UpdateGatewayRateLimitInput" +_cUGRLR = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRateLimitRequest" +_UGRLO = "UpdateGatewayRateLimitOutput" +_cUGRLRo = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRateLimitResponse" +_UGRL = "UpdateGatewayRateLimit" +_AT = "AuthorizerType" +_CJ = "CUSTOM_JWT" +_AI = "AWS_IAM" +_AO = "AUTHENTICATE_ONLY" +_GDa = "GatewayDescription" +_PDN = "PublicDomainName" +_PDNL = "PublicDomainNameList" +_DO = "DomainOverride" +_dD = "defaultDomain" +_sN = "smithy.api#jsonName" +_def = "default" +_aD = "alternateDomains" +_ELx = "ExceptionLevel" +_DEBUG = "DEBUG" +_IPE = "InterceptorPayloadExclusion" +_RB = "RESPONSE_BODY" +_IPES = "InterceptorPayloadExclusionSelector" +_fie = "field" +_IPESL = "InterceptorPayloadExclusionSelectorList" +_IPF = "InterceptorPayloadFilter" +_exc = "exclude" +_IIC = "InterceptorInputConfiguration" +_pRH = "passRequestHeaders" +_pF = "payloadFilter" +_GIP = "GatewayInterceptionPoint" +_REQUEST = "REQUEST" +_RESPONSE = "RESPONSE" +_GIPa = "GatewayInterceptionPoints" +_LFA = "LambdaFunctionArn" +_LIC = "LambdaInterceptorConfiguration" + +EVALUATOR_DESCRIPTION: StaticSchema = (3, n0, _ED, 4) + +LAMBDA_ARN: StaticSchema = (3, n0, _LAa, 0) + +LAMBDA_EVALUATOR_CONFIG: StaticSchema = ( + 18, + n0, + _LEC, + 0, + (_lA, _lTIS), + ((LAMBDA_ARN, 1), (7, 0)), +) + +CODE_BASED_EVALUATOR_CONFIG: StaticSchema = ( + 19, + n0, + _CBEC, + 0, + (_lCa,), + ((LAMBDA_EVALUATOR_CONFIG, 0),), +) + +EVALUATOR_ID: StaticSchema = (3, n0, _EIv, 0) + +NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) + +NON_EMPTY_STRING_LIST: StaticSchema = ( + 16, + n0, + _NESL, + 0, + (_mem,), + ((NON_EMPTY_STRING, 0),), +) + +INFERENCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ICn, + 0, + (_mT, _te, _tP, _sSt), + ((7, 0), (9, 0), (9, 0), (NON_EMPTY_STRING_LIST, 0)), +) + +BEDROCK_EVALUATOR_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _BEMC, + 0, + (_mI, _iCn, _aMRF), + ( + (lambda: schemas.MODEL_ID, 1), + (INFERENCE_CONFIGURATION, 0), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + ), +) + +REASONING_CONFIGURATION: StaticSchema = (18, n0, _RCea, 0, (_ef,), ((3, 0),)) + +OPEN_RESPONSES_EVALUATOR_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _OREMC, + 0, + (_mI, _mOT, _te, _tP, _rea), + ( + (lambda: schemas.MODEL_ID, 1), + (7, 0), + (9, 0), + (9, 0), + (REASONING_CONFIGURATION, 0), + ), +) + +EVALUATOR_MODEL_CONFIG: StaticSchema = ( + 19, + n0, + _EMC, + 0, + (_bEMC, _rEMC), + ((BEDROCK_EVALUATOR_MODEL_CONFIG, 0), (OPEN_RESPONSES_EVALUATOR_MODEL_CONFIG, 0)), +) + +DERIVED_EVALUATOR_CONFIG: StaticSchema = ( + 18, + n0, + _DEC, + 0, + (_bEI, _mCo), + ((EVALUATOR_ID, 1), (EVALUATOR_MODEL_CONFIG, 1)), +) + +EVALUATOR_INSTRUCTIONS: StaticSchema = (3, n0, _EIva, 4) + +CATEGORICAL_SCALE_DEFINITION: StaticSchema = ( + 18, + n0, + _CSD, + 0, + (_de, _la), + ((3, 1), (3, 1)), +) + +CATEGORICAL_SCALE_DEFINITIONS: StaticSchema = ( + 16, + n0, + _CSDa, + 0, + (_mem,), + ((CATEGORICAL_SCALE_DEFINITION, 0),), +) + +EVALUATION_DIMENSION_INSTRUCTION: StaticSchema = (3, n0, _EDI, 4) + +EVALUATION_DIMENSION_NAME: StaticSchema = (3, n0, _EDN, 0) + +NUMERICAL_SCALE_DEFINITION: StaticSchema = ( + 18, + n0, + _NSD, + 0, + (_de, _v, _la), + ((3, 1), (10, 1), (3, 1)), +) + +NUMERICAL_SCALE_DEFINITIONS: StaticSchema = ( + 16, + n0, + _NSDu, + 0, + (_mem,), + ((NUMERICAL_SCALE_DEFINITION, 0),), +) + +DIMENSION_RATING_SCALE: StaticSchema = ( + 19, + n0, + _DRS, + 4, + (_nu, _ca), + ((NUMERICAL_SCALE_DEFINITIONS, 0), (CATEGORICAL_SCALE_DEFINITIONS, 0)), +) + +EVALUATION_DIMENSION: StaticSchema = ( + 18, + n0, + _EDv, + 0, + (_dNi, _dIi, _dRS), + ( + (EVALUATION_DIMENSION_NAME, 1), + (EVALUATION_DIMENSION_INSTRUCTION, 1), + (DIMENSION_RATING_SCALE, 1), + ), +) + +EVALUATION_DIMENSIONS: StaticSchema = ( + 16, + n0, + _EDva, + 0, + (_mem,), + ((EVALUATION_DIMENSION, 0),), +) + +RATING_SCALE: StaticSchema = ( + 19, + n0, + _RS, + 4, + (_nu, _ca, _mD), + ( + (NUMERICAL_SCALE_DEFINITIONS, 0), + (CATEGORICAL_SCALE_DEFINITIONS, 0), + (EVALUATION_DIMENSIONS, 0), + ), +) + +LLM_AS_A_JUDGE_EVALUATOR_CONFIG: StaticSchema = ( + 18, + n0, + _LAAJEC, + 0, + (_in, _rS, _mCo), + ((EVALUATOR_INSTRUCTIONS, 1), (RATING_SCALE, 1), (EVALUATOR_MODEL_CONFIG, 1)), +) + +EVALUATOR_CONFIG: StaticSchema = ( + 19, + n0, + _ECv, + 0, + (_lAAJ, _cBo, _der), + ( + (LLM_AS_A_JUDGE_EVALUATOR_CONFIG, 0), + (CODE_BASED_EVALUATOR_CONFIG, 0), + (DERIVED_EVALUATOR_CONFIG, 0), + ), +) + +CUSTOM_EVALUATOR_NAME: StaticSchema = (3, n0, _CEN, 0) + +EVALUATOR_LEVEL: StaticSchema = ( + 14, + n0, + _EL, + 0, + (_TC, _TRACE, _SESSION), + ((-1, {_sVm: _TC}), (-1, {_sVm: _TRACE}), (-1, {_sVm: _SESSION})), +) + +CREATE_EVALUATOR_INPUT: StaticSchema = ( + 18, + n0, + _CEI, + {_sSI: _cCER, _smith: None}, + (_cT, _eNv, _d, _eCv, _le, _kKA, _t), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (CUSTOM_EVALUATOR_NAME, 1), + (EVALUATOR_DESCRIPTION, 0), + (EVALUATOR_CONFIG, 1), + (EVALUATOR_LEVEL, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_EVALUATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _CEO, + {_sSI: _cCERo, _smithy: None}, + (_eA, _eIv, _cA, _st), + ( + (lambda: CUSTOM_EVALUATOR_ARN, 1), + (EVALUATOR_ID, 1), + (4, 1), + (lambda: EVALUATOR_STATUS, 1), + ), +) + +CREATE_EVALUATOR: StaticOperationSchema = ( + 23, + n0, + _CEr, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/evaluators/create", "code": 202} + ) + }, + CREATE_EVALUATOR_INPUT, + CREATE_EVALUATOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CUSTOM_EVALUATOR_ARN: StaticSchema = (3, n0, _CEA, 0) + +EVALUATOR_STATUS: StaticSchema = ( + 14, + n0, + _ES, + 0, + (_ACTIVE, _CREATING, _CF, _UPDATING, _UF, _DELETING), + ( + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DELETING}), + ), +) + +DELETE_EVALUATOR_INPUT: StaticSchema = ( + 18, + n0, + _DEI, + {_sSI: _cDER, _smith: None}, + (_eIv,), + ((EVALUATOR_ID, 9),), +) + +DELETE_EVALUATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _DEO, + {_sSI: _cDERo, _smithy: None}, + (_eA, _eIv, _st), + ((lambda: EVALUATOR_ARN, 1), (EVALUATOR_ID, 1), (EVALUATOR_STATUS, 1)), +) + +DELETE_EVALUATOR: StaticOperationSchema = ( + 23, + n0, + _DE, + { + _smithya: MappingProxyType( + {"method": "DELETE", "uri": "/evaluators/{evaluatorId}", "code": 202} + ) + }, + DELETE_EVALUATOR_INPUT, + DELETE_EVALUATOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EVALUATOR_ARN: StaticSchema = (3, n0, _EA, 0) + +INCLUDED_DATA: StaticSchema = ( + 14, + n0, + _ID, + 0, + (_AD_, _MO), + ((-1, {_sVm: _AD_}), (-1, {_sVm: _MO})), +) + +GET_EVALUATOR_INPUT: StaticSchema = ( + 18, + n0, + _GEI, + {_sSI: _cGER, _smith: None}, + (_eIv, _iD), + ((EVALUATOR_ID, 9), (INCLUDED_DATA, {_sQ: _iD})), +) + +GET_EVALUATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _GEO, + {_sSI: _cGERo, _smithy: None}, + (_eA, _eIv, _eNv, _d, _eCv, _eT, _pr, _le, _st, _cA, _uA, _lFM, _kKA), + ( + (EVALUATOR_ARN, 1), + (EVALUATOR_ID, 1), + (lambda: EVALUATOR_NAME, 1), + (EVALUATOR_DESCRIPTION, 0), + (EVALUATOR_CONFIG, 1), + (lambda: EVALUATOR_TYPE, 0), + (lambda: PROVIDER, 0), + (EVALUATOR_LEVEL, 1), + (EVALUATOR_STATUS, 1), + (4, 1), + (4, 1), + (2, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +GET_EVALUATOR: StaticOperationSchema = ( + 23, + n0, + _GE, + {_smithya: MappingProxyType({"method": "GET", "uri": "/evaluators/{evaluatorId}"})}, + GET_EVALUATOR_INPUT, + GET_EVALUATOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EVALUATOR_NAME: StaticSchema = (3, n0, _ENv, 0) + +EVALUATOR_TYPE: StaticSchema = ( + 14, + n0, + _ET, + 0, + (_BUILTIN, _TP, _CUSTOM, _CODE, _CD_), + ( + (-1, {_sVm: _B}), + (-1, {_sVm: _TPh}), + (-1, {_sVm: _Cu}), + (-1, {_sVm: _CCu}), + (-1, {_sVm: _CDu}), + ), +) + +PROVIDER: StaticSchema = ( + 14, + n0, + _Pr, + 0, + (_AWS, _DE_, _AE, _CUSTOM), + ((-1, {_sVm: _AWS}), (-1, {_sVm: _DEe}), (-1, {_sVm: _AEu}), (-1, {_sVm: _Cu})), +) + +LIST_EVALUATORS_INPUT: StaticSchema = ( + 18, + n0, + _LEI, + {_sSI: _cLER, _smith: None}, + (_nT, _mR), + ((3, {_sQ: _nT}), (7, {_sQ: _mR})), +) + +LIST_EVALUATORS_OUTPUT: StaticSchema = ( + 18, + n0, + _LEO, + {_sSI: _cLERo, _smithy: None}, + (_ev, _nT), + ((lambda: EVALUATOR_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_EVALUATORS: StaticOperationSchema = ( + 23, + n0, + _LE, + {_smithya: MappingProxyType({"method": "POST", "uri": "/evaluators"})}, + LIST_EVALUATORS_INPUT, + LIST_EVALUATORS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EVALUATOR_SUMMARY: StaticSchema = ( + 18, + n0, + _ESv, + 0, + (_eA, _eIv, _eNv, _d, _eT, _pr, _le, _st, _cA, _uA, _lFM, _kKA), + ( + (EVALUATOR_ARN, 1), + (EVALUATOR_ID, 1), + (EVALUATOR_NAME, 1), + (EVALUATOR_DESCRIPTION, 0), + (EVALUATOR_TYPE, 1), + (PROVIDER, 0), + (EVALUATOR_LEVEL, 0), + (EVALUATOR_STATUS, 1), + (4, 1), + (4, 1), + (2, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +EVALUATOR_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _ESL, + 0, + (_mem,), + ((EVALUATOR_SUMMARY, 0),), +) + +UPDATE_EVALUATOR_INPUT: StaticSchema = ( + 18, + n0, + _UEI, + {_sSI: _cUER, _smith: None}, + (_cT, _eIv, _d, _eCv, _le, _kKA), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (EVALUATOR_ID, 9), + (EVALUATOR_DESCRIPTION, 0), + (EVALUATOR_CONFIG, 0), + (EVALUATOR_LEVEL, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +UPDATE_EVALUATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _UEO, + {_sSI: _cUERo, _smithy: None}, + (_eA, _eIv, _uA, _st), + ((EVALUATOR_ARN, 1), (EVALUATOR_ID, 1), (4, 1), (EVALUATOR_STATUS, 1)), +) + +UPDATE_EVALUATOR: StaticOperationSchema = ( + 23, + n0, + _UEp, + { + _smithya: MappingProxyType( + {"method": "PUT", "uri": "/evaluators/{evaluatorId}", "code": 202} + ) + }, + UPDATE_EVALUATOR_INPUT, + UPDATE_EVALUATOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_IDENTIFIER: StaticSchema = (3, n0, _GI, 0) + +GATEWAY_RATE_LIMIT_DESCRIPTION: StaticSchema = (3, n0, _GRLD, 0) + +DIMENSION_KEY: StaticSchema = (3, n0, _DK, 0) + +DIMENSION_KEYS: StaticSchema = (16, n0, _DKi, 0, (_mem,), ((DIMENSION_KEY, 0),)) + +PERIOD: StaticSchema = ( + 14, + n0, + _Pe, + 0, + (_SECOND, _MINUTE), + ((-1, {_sVm: _sec}), (-1, {_sVm: _mi})), +) + +RATE_CONFIG: StaticSchema = (18, n0, _RCa, 0, (_ra, _pe), ((10, 1), (PERIOD, 1))) + +RATE_CONFIGS: StaticSchema = (16, n0, _RCat, 0, (_mem,), ((RATE_CONFIG, 0),)) + +DIMENSION_VALUE: StaticSchema = (3, n0, _DVi, 0) + +DIMENSIONS: StaticSchema = ( + 17, + n0, + _Di, + 0, + (_k, _v), + ((DIMENSION_KEY, 0), (DIMENSION_VALUE, 0)), +) + +LIMIT_ENTRY: StaticSchema = ( + 18, + n0, + _LEi, + 0, + (_di, _req, _tok, _conn), + ((DIMENSIONS, 1), (RATE_CONFIGS, 0), (RATE_CONFIGS, 0), (RATE_CONFIGS, 0)), +) + +LIMIT_ENTRIES: StaticSchema = (16, n0, _LEim, 0, (_mem,), ((LIMIT_ENTRY, 0),)) + +GATEWAY_RATE_LIMIT_ID: StaticSchema = (3, n0, _GRLI, 0) + +BATCH_PUT_LIMIT_ENTRY: StaticSchema = ( + 18, + n0, + _BPLE, + 0, + (_rLI, _d, _dK, _ent), + ( + (GATEWAY_RATE_LIMIT_ID, 0), + (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), + (DIMENSION_KEYS, 1), + (LIMIT_ENTRIES, 1), + ), +) + +BATCH_PUT_LIMIT_ENTRIES: StaticSchema = ( + 16, + n0, + _BPLEa, + 0, + (_mem,), + ((BATCH_PUT_LIMIT_ENTRY, 0),), +) + +BATCH_PUT_GATEWAY_RATE_LIMITS_INPUT: StaticSchema = ( + 18, + n0, + _BPGRLI, + {_sSI: _cBPGRLR, _smith: None}, + (_gI, _cT, _rL), + ( + (GATEWAY_IDENTIFIER, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (BATCH_PUT_LIMIT_ENTRIES, 1), + ), +) + +BATCH_PUT_GATEWAY_RATE_LIMITS_OUTPUT: StaticSchema = ( + 18, + n0, + _BPGRLO, + {_sSI: _cBPGRLRo, _smithy: None}, + (_rL,), + ((lambda: GATEWAY_RATE_LIMITS, 1),), +) + +BATCH_PUT_GATEWAY_RATE_LIMITS: StaticOperationSchema = ( + 23, + n0, + _BPGRL, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/gateways/{gatewayIdentifier}/rate-limits/batch", + } + ) + }, + BATCH_PUT_GATEWAY_RATE_LIMITS_INPUT, + BATCH_PUT_GATEWAY_RATE_LIMITS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_RATE_LIMIT_STATUS: StaticSchema = ( + 14, + n0, + _GRLS, + 0, + (_CREATING, _ACTIVE, _UPDATING, _DELETING), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _DELETING}), + ), +) + +GATEWAY_RATE_LIMIT_DETAIL: StaticSchema = ( + 18, + n0, + _GRLDa, + 0, + (_rLI, _gI, _d, _dK, _ent, _st, _cA, _uA), + ( + (GATEWAY_RATE_LIMIT_ID, 1), + (GATEWAY_IDENTIFIER, 1), + (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), + (DIMENSION_KEYS, 1), + (LIMIT_ENTRIES, 1), + (GATEWAY_RATE_LIMIT_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +GATEWAY_RATE_LIMITS: StaticSchema = ( + 16, + n0, + _GRL, + 0, + (_mem,), + ((GATEWAY_RATE_LIMIT_DETAIL, 0),), +) + +CREATE_GATEWAY_RATE_LIMIT_INPUT: StaticSchema = ( + 18, + n0, + _CGRLI, + {_sSI: _cCGRLR, _smith: None}, + (_gI, _cT, _rLI, _d, _dK, _ent), + ( + (GATEWAY_IDENTIFIER, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (GATEWAY_RATE_LIMIT_ID, 0), + (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), + (DIMENSION_KEYS, 1), + (LIMIT_ENTRIES, 1), + ), +) + +CREATE_GATEWAY_RATE_LIMIT_OUTPUT: StaticSchema = ( + 18, + n0, + _CGRLO, + {_sSI: _cCGRLRo, _smithy: None}, + (_rLI, _gI, _d, _dK, _ent, _st, _cA, _uA), + ( + (GATEWAY_RATE_LIMIT_ID, 1), + (GATEWAY_IDENTIFIER, 1), + (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), + (DIMENSION_KEYS, 1), + (LIMIT_ENTRIES, 1), + (GATEWAY_RATE_LIMIT_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +CREATE_GATEWAY_RATE_LIMIT: StaticOperationSchema = ( + 23, + n0, + _CGRL, + { + _smithya: MappingProxyType( + { + "code": 201, + "method": "POST", + "uri": "/gateways/{gatewayIdentifier}/rate-limits", + } + ) + }, + CREATE_GATEWAY_RATE_LIMIT_INPUT, + CREATE_GATEWAY_RATE_LIMIT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_GATEWAY_RATE_LIMIT_INPUT: StaticSchema = ( + 18, + n0, + _DGRLI, + {_sSI: _cDGRLR, _smith: None}, + (_gI, _rLI), + ((GATEWAY_IDENTIFIER, 9), (GATEWAY_RATE_LIMIT_ID, 9)), +) + +DELETE_GATEWAY_RATE_LIMIT_OUTPUT: StaticSchema = ( + 18, + n0, + _DGRLO, + {_sSI: _cDGRLRo, _smithy: None}, + (_rLI, _st), + ((GATEWAY_RATE_LIMIT_ID, 1), (GATEWAY_RATE_LIMIT_STATUS, 1)), +) + +DELETE_GATEWAY_RATE_LIMIT: StaticOperationSchema = ( + 23, + n0, + _DGRL, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/gateways/{gatewayIdentifier}/rate-limits/{rateLimitId}", + } + ) + }, + DELETE_GATEWAY_RATE_LIMIT_INPUT, + DELETE_GATEWAY_RATE_LIMIT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_GATEWAY_RATE_LIMIT_INPUT: StaticSchema = ( + 18, + n0, + _GGRLI, + {_sSI: _cGGRLR, _smith: None}, + (_gI, _rLI), + ((GATEWAY_IDENTIFIER, 9), (GATEWAY_RATE_LIMIT_ID, 9)), +) + +GET_GATEWAY_RATE_LIMIT_OUTPUT: StaticSchema = ( + 18, + n0, + _GGRLO, + {_sSI: _cGGRLRo, _smithy: None}, + (_rLI, _gI, _d, _dK, _ent, _st, _cA, _uA), + ( + (GATEWAY_RATE_LIMIT_ID, 1), + (GATEWAY_IDENTIFIER, 1), + (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), + (DIMENSION_KEYS, 1), + (LIMIT_ENTRIES, 1), + (GATEWAY_RATE_LIMIT_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +GET_GATEWAY_RATE_LIMIT: StaticOperationSchema = ( + 23, + n0, + _GGRL, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/gateways/{gatewayIdentifier}/rate-limits/{rateLimitId}", + } + ) + }, + GET_GATEWAY_RATE_LIMIT_INPUT, + GET_GATEWAY_RATE_LIMIT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_RATE_LIMIT_MAX_RESULTS: StaticSchema = (7, n0, _GRLMR, 0) + +GATEWAY_RATE_LIMIT_NEXT_TOKEN: StaticSchema = (3, n0, _GRLNT, 0) + +LIST_GATEWAY_RATE_LIMITS_INPUT: StaticSchema = ( + 18, + n0, + _LGRLI, + {_sSI: _cLGRLR, _smith: None}, + (_gI, _mR, _nT), + ( + (GATEWAY_IDENTIFIER, 9), + (GATEWAY_RATE_LIMIT_MAX_RESULTS, {_sQ: _mR}), + (GATEWAY_RATE_LIMIT_NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_GATEWAY_RATE_LIMITS_OUTPUT: StaticSchema = ( + 18, + n0, + _LGRLO, + {_sSI: _cLGRLRo, _smithy: None}, + (_rL, _nT), + ((GATEWAY_RATE_LIMITS, 1), (GATEWAY_RATE_LIMIT_NEXT_TOKEN, 0)), +) + +LIST_GATEWAY_RATE_LIMITS: StaticOperationSchema = ( + 23, + n0, + _LGRL, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/gateways/{gatewayIdentifier}/rate-limits", + } + ) + }, + LIST_GATEWAY_RATE_LIMITS_INPUT, + LIST_GATEWAY_RATE_LIMITS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_GATEWAY_RATE_LIMIT_INPUT: StaticSchema = ( + 18, + n0, + _UGRLI, + {_sSI: _cUGRLR, _smith: None}, + (_gI, _rLI, _d, _ent), + ( + (GATEWAY_IDENTIFIER, 9), + (GATEWAY_RATE_LIMIT_ID, 9), + (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), + (LIMIT_ENTRIES, 1), + ), +) + +UPDATE_GATEWAY_RATE_LIMIT_OUTPUT: StaticSchema = ( + 18, + n0, + _UGRLO, + {_sSI: _cUGRLRo, _smithy: None}, + (_rLI, _gI, _d, _dK, _ent, _st, _cA, _uA), + ( + (GATEWAY_RATE_LIMIT_ID, 1), + (GATEWAY_IDENTIFIER, 1), + (GATEWAY_RATE_LIMIT_DESCRIPTION, 0), + (DIMENSION_KEYS, 1), + (LIMIT_ENTRIES, 1), + (GATEWAY_RATE_LIMIT_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +UPDATE_GATEWAY_RATE_LIMIT: StaticOperationSchema = ( + 23, + n0, + _UGRL, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "PATCH", + "uri": "/gateways/{gatewayIdentifier}/rate-limits/{rateLimitId}", + } + ) + }, + UPDATE_GATEWAY_RATE_LIMIT_INPUT, + UPDATE_GATEWAY_RATE_LIMIT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTHORIZER_TYPE: StaticSchema = ( + 14, + n0, + _AT, + 0, + (_CJ, _AI, _NONE, _AO), + ((-1, {_sVm: _CJ}), (-1, {_sVm: _AI}), (-1, {_sVm: _NONE}), (-1, {_sVm: _AO})), +) + +GATEWAY_DESCRIPTION: StaticSchema = (3, n0, _GDa, 4) + +PUBLIC_DOMAIN_NAME: StaticSchema = (3, n0, _PDN, 0) + +PUBLIC_DOMAIN_NAME_LIST: StaticSchema = ( + 16, + n0, + _PDNL, + 0, + (_mem,), + ((PUBLIC_DOMAIN_NAME, 0),), +) + +DOMAIN_OVERRIDE: StaticSchema = ( + 18, + n0, + _DO, + 0, + (_dD, _aD), + ((PUBLIC_DOMAIN_NAME, {_sN: _def, _sm: None}), (PUBLIC_DOMAIN_NAME_LIST, 0)), +) + +EXCEPTION_LEVEL: StaticSchema = (14, n0, _ELx, 0, (_DEBUG,), ((-1, {_sVm: _DEBUG}),)) + +INTERCEPTOR_PAYLOAD_EXCLUSION: StaticSchema = ( + 14, + n0, + _IPE, + 0, + (_RB,), + ((-1, {_sVm: _RB}),), +) + +INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR: StaticSchema = ( + 19, + n0, + _IPES, + 0, + (_fie,), + ((INTERCEPTOR_PAYLOAD_EXCLUSION, 0),), +) + +INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR_LIST: StaticSchema = ( + 16, + n0, + _IPESL, + 0, + (_mem,), + ((INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR, 0),), +) + +INTERCEPTOR_PAYLOAD_FILTER: StaticSchema = ( + 18, + n0, + _IPF, + 0, + (_exc,), + ((INTERCEPTOR_PAYLOAD_EXCLUSION_SELECTOR_LIST, 1),), +) + +INTERCEPTOR_INPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IIC, + 0, + (_pRH, _pF), + ((2, 1), (INTERCEPTOR_PAYLOAD_FILTER, 0)), +) + +GATEWAY_INTERCEPTION_POINT: StaticSchema = ( + 14, + n0, + _GIP, + 0, + (_REQUEST, _RESPONSE), + ((-1, {_sVm: _REQUEST}), (-1, {_sVm: _RESPONSE})), +) + +GATEWAY_INTERCEPTION_POINTS: StaticSchema = ( + 16, + n0, + _GIPa, + 0, + (_mem,), + ((GATEWAY_INTERCEPTION_POINT, 0),), +) + +LAMBDA_FUNCTION_ARN: StaticSchema = (3, n0, _LFA, 0) + +LAMBDA_INTERCEPTOR_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LIC, + 0, + (_a,), + ((LAMBDA_FUNCTION_ARN, 1),), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_6.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_6.py new file mode 100644 index 000000000..df14611f3 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_6.py @@ -0,0 +1,1224 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_sm = "smithy.api#required" +_k = "key" +_v = "value" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_mo = "mode" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_smithya = "smithy.api#http" +_t = "tags" +_READY = "READY" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_a = "arn" +_MCP = "MCP" +_rA = "roleArn" +_aCu = "authorizerConfiguration" +_pC = "protocolConfiguration" +_wID = "workloadIdentityDetails" +_kKA = "kmsKeyArn" +_FAILED = "FAILED" +_in = "instructions" +_gI = "gatewayIdentifier" +_ICnt = "InterceptorConfiguration" +_lam = "lambda" +_GIC = "GatewayInterceptorConfiguration" +_int = "interceptor" +_iP = "interceptionPoints" +_iCnp = "inputConfiguration" +_GICa = "GatewayInterceptorConfigurations" +_GN = "GatewayName" +_GPEA = "GatewayPolicyEngineArn" +_GPEM = "GatewayPolicyEngineMode" +_LO = "LOG_ONLY" +_ENFORCE = "ENFORCE" +_GPEC = "GatewayPolicyEngineConfiguration" +_MIc = "McpInstructions" +_STe = "SearchType" +_SEMANTIC = "SEMANTIC" +_SCe = "SessionConfiguration" +_sTIS = "sessionTimeoutInSeconds" +_SCt = "StreamingConfiguration" +_eRS = "enableResponseStreaming" +_MV = "McpVersion" +_v__ = "2025-03-26" +_MSV = "McpSupportedVersions" +_MCPGC = "MCPGatewayConfiguration" +_sVu = "supportedVersions" +_sTe = "searchType" +_sCe = "sessionConfiguration" +_sCtr = "streamingConfiguration" +_dMLTP = "disableMcpListToolsPagination" +_GPC = "GatewayProtocolConfiguration" +_mc = "mcp" +_GPT = "GatewayProtocolType" +_CGI = "CreateGatewayInput" +_cCGR = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRequest" +_pTr = "protocolType" +_aT = "authorizerType" +_iCnt = "interceptorConfigurations" +_pEC = "policyEngineConfiguration" +_eL = "exceptionLevel" +_dO = "domainOverride" +_LTC = "LambdaTransformConfiguration" +_CTC = "CustomTransformConfiguration" +_GA = "GatewayArn" +_GIa = "GatewayId" +_GU = "GatewayUrl" +_GS = "GatewayStatus" +_UU = "UPDATE_UNSUCCESSFUL" +_SRt = "StatusReason" +_SRta = "StatusReasons" +_WFM = "WafFailureMode" +_FC_ = "FAIL_CLOSE" +_FO = "FAIL_OPEN" +_WC = "WafConfiguration" +_fM = "failureMode" +_WAA = "WebAclArn" +_CGO = "CreateGatewayOutput" +_cCGRo = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayResponse" +_gA = "gatewayArn" +_gIa = "gatewayId" +_gU = "gatewayUrl" +_sRta = "statusReasons" +_cTC = "customTransformConfiguration" +_wAA = "webAclArn" +_wC = "wafConfiguration" +_CG = "CreateGateway" +_DGI = "DeleteGatewayInput" +_cDGR = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRequest" +_DGO = "DeleteGatewayOutput" +_cDGRo = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayResponse" +_DG = "DeleteGateway" +_GGI = "GetGatewayInput" +_cGGR = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRequest" +_GGO = "GetGatewayOutput" +_cGGRo = "com.amazonaws.bedrockagentcorecontrol#GetGatewayResponse" +_GG = "GetGateway" +_GMR = "GatewayMaxResults" +_GNT = "GatewayNextToken" +_LGI = "ListGatewaysInput" +_cLGR = "com.amazonaws.bedrockagentcorecontrol#ListGatewaysRequest" +_GSa = "GatewaySummary" +_GSat = "GatewaySummaries" +_LGO = "ListGatewaysOutput" +_cLGRo = "com.amazonaws.bedrockagentcorecontrol#ListGatewaysResponse" +_it = "items" +_LG = "ListGateways" +_UGI = "UpdateGatewayInput" +_cUGR = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRequest" +_UGO = "UpdateGatewayOutput" +_cUGRo = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayResponse" +_UG = "UpdateGateway" +_MOa = "MatchOperator" +_SE = "StringEquals" +_SLt = "StringLike" +_MPo = "ModelPattern" +_MME = "MatchModelEntry" +_op = "operator" +_MMEa = "MatchModelEntries" +_MMa = "MatchModels" +_aO = "anyOf" +_MPP = "MatchPathPattern" +_MPPa = "MatchPathPatterns" +_MPa = "MatchPaths" +_IPAa = "IamPrincipalArn" +_PMO = "PrincipalMatchOperator" +_IP = "IamPrincipal" +_MPE = "MatchPrincipalEntry" +_iPa = "iamPrincipal" +_MPEa = "MatchPrincipalEntries" +_MPat = "MatchPrincipals" +_Co = "Condition" +_mPa = "matchPrincipals" +_mPat = "matchPaths" +_mM = "matchModels" +_Con = "Conditions" +_GRD = "GatewayRuleDescription" +_GRP = "GatewayRulePriority" +_CGRI = "CreateGatewayRuleInput" +_cCGRR = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRuleRequest" +_pri = "priority" +_cond = "conditions" +_act = "actions" +_GRI = "GatewayRuleId" +_GRS = "GatewayRuleStatus" +_SMB = "SystemManagedBlock" +_mB = "managedBy" +_CGRO = "CreateGatewayRuleOutput" +_cCGRRo = "com.amazonaws.bedrockagentcorecontrol#CreateGatewayRuleResponse" +_rI = "ruleId" +_sy = "system" +_CGR = "CreateGatewayRule" +_DGRI = "DeleteGatewayRuleInput" +_cDGRR = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRuleRequest" +_DGRO = "DeleteGatewayRuleOutput" +_cDGRRo = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayRuleResponse" +_DGR = "DeleteGatewayRule" +_GGRI = "GetGatewayRuleInput" +_cGGRR = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRuleRequest" +_GGRO = "GetGatewayRuleOutput" +_cGGRRo = "com.amazonaws.bedrockagentcorecontrol#GetGatewayRuleResponse" +_GGR = "GetGatewayRule" +_GRMR = "GatewayRuleMaxResults" +_GRNT = "GatewayRuleNextToken" +_LGRI = "ListGatewayRulesInput" +_cLGRR = "com.amazonaws.bedrockagentcorecontrol#ListGatewayRulesRequest" +_GRDa = "GatewayRuleDetail" +_GR = "GatewayRules" +_LGRO = "ListGatewayRulesOutput" +_cLGRRo = "com.amazonaws.bedrockagentcorecontrol#ListGatewayRulesResponse" +_gR = "gatewayRules" +_LGR = "ListGatewayRules" +_UGRI = "UpdateGatewayRuleInput" +_cUGRR = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRuleRequest" +_UGRO = "UpdateGatewayRuleOutput" +_cUGRRo = "com.amazonaws.bedrockagentcorecontrol#UpdateGatewayRuleResponse" +_UGR = "UpdateGatewayRule" +_AKCL = "ApiKeyCredentialLocation" +_HEADER = "HEADER" +_QP = "QUERY_PARAMETER" +_AKCPN = "ApiKeyCredentialParameterName" +_AKCPp = "ApiKeyCredentialPrefix" +_AKCPA = "ApiKeyCredentialProviderArn" +_GAKCPa = "GatewayApiKeyCredentialProvider" +_pAr = "providerArn" +_cPN = "credentialParameterName" +_cPr = "credentialPrefix" +_cL = "credentialLocation" +_ICP = "IamCredentialProvider" +_ser = "service" +_reg = "region" +_OACPK = "OAuthCustomParametersKey" +_OACPV = "OAuthCustomParametersValue" +_OACP = "OAuthCustomParameters" +_OADRU = "OAuthDefaultReturnUrl" +_OAGT = "OAuthGrantType" +_CC_ = "CLIENT_CREDENTIALS" +_AC_ = "AUTHORIZATION_CODE" +_TE_ = "TOKEN_EXCHANGE" + +INTERCEPTOR_CONFIGURATION: StaticSchema = ( + 19, + n0, + _ICnt, + 0, + (_lam,), + ((lambda: schemas.LAMBDA_INTERCEPTOR_CONFIGURATION, 0),), +) + +GATEWAY_INTERCEPTOR_CONFIGURATION: StaticSchema = ( + 18, + n0, + _GIC, + 0, + (_int, _iP, _iCnp), + ( + (INTERCEPTOR_CONFIGURATION, 1), + (lambda: schemas.GATEWAY_INTERCEPTION_POINTS, 1), + (lambda: schemas.INTERCEPTOR_INPUT_CONFIGURATION, 0), + ), +) + +GATEWAY_INTERCEPTOR_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _GICa, + 0, + (_mem,), + ((GATEWAY_INTERCEPTOR_CONFIGURATION, 0),), +) + +GATEWAY_NAME: StaticSchema = (3, n0, _GN, 0) + +GATEWAY_POLICY_ENGINE_ARN: StaticSchema = (3, n0, _GPEA, 0) + +GATEWAY_POLICY_ENGINE_MODE: StaticSchema = ( + 14, + n0, + _GPEM, + 0, + (_LO, _ENFORCE), + ((-1, {_sVm: _LO}), (-1, {_sVm: _ENFORCE})), +) + +GATEWAY_POLICY_ENGINE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _GPEC, + 0, + (_a, _mo), + ((GATEWAY_POLICY_ENGINE_ARN, 1), (GATEWAY_POLICY_ENGINE_MODE, 1)), +) + +MCP_INSTRUCTIONS: StaticSchema = (3, n0, _MIc, 4) + +SEARCH_TYPE: StaticSchema = (14, n0, _STe, 0, (_SEMANTIC,), ((-1, {_sVm: _SEMANTIC}),)) + +SESSION_CONFIGURATION: StaticSchema = (18, n0, _SCe, 0, (_sTIS,), ((7, 0),)) + +STREAMING_CONFIGURATION: StaticSchema = (18, n0, _SCt, 0, (_eRS,), ((2, 0),)) + +MCP_VERSION: StaticSchema = (3, n0, _MV, {_smi: _v__}) + +MCP_SUPPORTED_VERSIONS: StaticSchema = (16, n0, _MSV, 0, (_mem,), ((MCP_VERSION, 0),)) + +MCP_GATEWAY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MCPGC, + 0, + (_sVu, _in, _sTe, _sCe, _sCtr, _dMLTP), + ( + (MCP_SUPPORTED_VERSIONS, 0), + (MCP_INSTRUCTIONS, 0), + (SEARCH_TYPE, 0), + (SESSION_CONFIGURATION, 0), + (STREAMING_CONFIGURATION, 0), + (2, 0), + ), +) + +GATEWAY_PROTOCOL_CONFIGURATION: StaticSchema = ( + 19, + n0, + _GPC, + 0, + (_mc,), + ((MCP_GATEWAY_CONFIGURATION, 0),), +) + +GATEWAY_PROTOCOL_TYPE: StaticSchema = (14, n0, _GPT, 0, (_MCP,), ((-1, {_sVm: _MCP}),)) + +CREATE_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _CGI, + {_sSI: _cCGR, _smith: None}, + (_n, _d, _cT, _rA, _pTr, _pC, _aT, _aCu, _kKA, _iCnt, _pEC, _eL, _t, _dO), + ( + (GATEWAY_NAME, 1), + (lambda: schemas.GATEWAY_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.ROLE_ARN, 1), + (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), + (GATEWAY_PROTOCOL_CONFIGURATION, 0), + (lambda: schemas.AUTHORIZER_TYPE, 1), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), + (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), + (lambda: schemas.EXCEPTION_LEVEL, 0), + (lambda: schemas.TAGS_MAP, 0), + (lambda: schemas.DOMAIN_OVERRIDE, 0), + ), +) + +CREATE_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _CGO, + {_sSI: _cCGRo, _smithy: None}, + ( + _gA, + _gIa, + _gU, + _cA, + _uA, + _st, + _sRta, + _n, + _d, + _rA, + _pTr, + _pC, + _aT, + _aCu, + _kKA, + _cTC, + _iCnt, + _pEC, + _wID, + _eL, + _wAA, + _wC, + _dO, + ), + ( + (lambda: GATEWAY_ARN, 1), + (lambda: GATEWAY_ID, 1), + (lambda: GATEWAY_URL, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: GATEWAY_STATUS, 1), + (lambda: STATUS_REASONS, 0), + (GATEWAY_NAME, 1), + (lambda: schemas.GATEWAY_DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 0), + (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), + (GATEWAY_PROTOCOL_CONFIGURATION, 0), + (lambda: schemas.AUTHORIZER_TYPE, 1), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: CUSTOM_TRANSFORM_CONFIGURATION, 0), + (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), + (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), + (lambda: schemas.WORKLOAD_IDENTITY_DETAILS, 0), + (lambda: schemas.EXCEPTION_LEVEL, 0), + (lambda: WEB_ACL_ARN, 0), + (lambda: WAF_CONFIGURATION, 0), + (lambda: schemas.DOMAIN_OVERRIDE, 0), + ), +) + +CREATE_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _CG, + {_smithya: MappingProxyType({"code": 202, "method": "POST", "uri": "/gateways/"})}, + CREATE_GATEWAY_INPUT, + CREATE_GATEWAY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LAMBDA_TRANSFORM_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LTC, + 0, + (_a,), + ((lambda: schemas.LAMBDA_FUNCTION_ARN, 0),), +) + +CUSTOM_TRANSFORM_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CTC, + 0, + (_lam,), + ((LAMBDA_TRANSFORM_CONFIGURATION, 0),), +) + +GATEWAY_ARN: StaticSchema = (3, n0, _GA, 0) + +GATEWAY_ID: StaticSchema = (3, n0, _GIa, 0) + +GATEWAY_URL: StaticSchema = (3, n0, _GU, 0) + +GATEWAY_STATUS: StaticSchema = ( + 14, + n0, + _GS, + 0, + (_CREATING, _UPDATING, _UU, _DELETING, _READY, _FAILED), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UU}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _FAILED}), + ), +) + +STATUS_REASON: StaticSchema = (3, n0, _SRt, 0) + +STATUS_REASONS: StaticSchema = (16, n0, _SRta, 0, (_mem,), ((STATUS_REASON, 0),)) + +WAF_FAILURE_MODE: StaticSchema = ( + 14, + n0, + _WFM, + 0, + (_FC_, _FO), + ((-1, {_sVm: _FC_}), (-1, {_sVm: _FO})), +) + +WAF_CONFIGURATION: StaticSchema = (18, n0, _WC, 0, (_fM,), ((WAF_FAILURE_MODE, 0),)) + +WEB_ACL_ARN: StaticSchema = (3, n0, _WAA, 0) + +DELETE_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DGI, + {_sSI: _cDGR, _smith: None}, + (_gI,), + ((lambda: schemas.GATEWAY_IDENTIFIER, 9),), +) + +DELETE_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _DGO, + {_sSI: _cDGRo, _smithy: None}, + (_gIa, _st, _sRta), + ((GATEWAY_ID, 1), (GATEWAY_STATUS, 1), (STATUS_REASONS, 0)), +) + +DELETE_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DG, + { + _smithya: MappingProxyType( + {"code": 202, "method": "DELETE", "uri": "/gateways/{gatewayIdentifier}/"} + ) + }, + DELETE_GATEWAY_INPUT, + DELETE_GATEWAY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _GGI, + {_sSI: _cGGR, _smith: None}, + (_gI,), + ((lambda: schemas.GATEWAY_IDENTIFIER, 9),), +) + +GET_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _GGO, + {_sSI: _cGGRo, _smithy: None}, + ( + _gA, + _gIa, + _gU, + _cA, + _uA, + _st, + _sRta, + _n, + _d, + _rA, + _pTr, + _pC, + _aT, + _aCu, + _kKA, + _cTC, + _iCnt, + _pEC, + _wID, + _eL, + _wAA, + _wC, + _dO, + ), + ( + (GATEWAY_ARN, 1), + (GATEWAY_ID, 1), + (GATEWAY_URL, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (GATEWAY_STATUS, 1), + (STATUS_REASONS, 0), + (GATEWAY_NAME, 1), + (lambda: schemas.GATEWAY_DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 0), + (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), + (GATEWAY_PROTOCOL_CONFIGURATION, 0), + (lambda: schemas.AUTHORIZER_TYPE, 1), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (CUSTOM_TRANSFORM_CONFIGURATION, 0), + (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), + (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), + (lambda: schemas.WORKLOAD_IDENTITY_DETAILS, 0), + (lambda: schemas.EXCEPTION_LEVEL, 0), + (WEB_ACL_ARN, 0), + (WAF_CONFIGURATION, 0), + (lambda: schemas.DOMAIN_OVERRIDE, 0), + ), +) + +GET_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _GG, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/gateways/{gatewayIdentifier}/"} + ) + }, + GET_GATEWAY_INPUT, + GET_GATEWAY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_MAX_RESULTS: StaticSchema = (7, n0, _GMR, 0) + +GATEWAY_NEXT_TOKEN: StaticSchema = (3, n0, _GNT, 0) + +LIST_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _LGI, + {_sSI: _cLGR, _smith: None}, + (_mR, _nT), + ((GATEWAY_MAX_RESULTS, {_sQ: _mR}), (GATEWAY_NEXT_TOKEN, {_sQ: _nT})), +) + +LIST_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _LGO, + {_sSI: _cLGRo, _smithy: None}, + (_it, _nT), + ((lambda: GATEWAY_SUMMARIES, 1), (GATEWAY_NEXT_TOKEN, 0)), +) + +LIST_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _LG, + {_smithya: MappingProxyType({"code": 200, "method": "GET", "uri": "/gateways/"})}, + LIST_GATEWAYS_INPUT, + LIST_GATEWAYS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_SUMMARY: StaticSchema = ( + 18, + n0, + _GSa, + 0, + (_gIa, _n, _st, _d, _cA, _uA, _aT, _pTr), + ( + (GATEWAY_ID, 1), + (GATEWAY_NAME, 1), + (GATEWAY_STATUS, 1), + (lambda: schemas.GATEWAY_DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.AUTHORIZER_TYPE, 1), + (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), + ), +) + +GATEWAY_SUMMARIES: StaticSchema = (16, n0, _GSat, 0, (_mem,), ((GATEWAY_SUMMARY, 0),)) + +UPDATE_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _UGI, + {_sSI: _cUGR, _smith: None}, + (_gI, _n, _d, _rA, _pTr, _pC, _aT, _aCu, _kKA, _cTC, _iCnt, _pEC, _eL, _wC, _dO), + ( + (lambda: schemas.GATEWAY_IDENTIFIER, 9), + (GATEWAY_NAME, 1), + (lambda: schemas.GATEWAY_DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 1), + (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), + (GATEWAY_PROTOCOL_CONFIGURATION, 0), + (lambda: schemas.AUTHORIZER_TYPE, 1), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (CUSTOM_TRANSFORM_CONFIGURATION, 0), + (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), + (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), + (lambda: schemas.EXCEPTION_LEVEL, 0), + (WAF_CONFIGURATION, 0), + (lambda: schemas.DOMAIN_OVERRIDE, 0), + ), +) + +UPDATE_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _UGO, + {_sSI: _cUGRo, _smithy: None}, + ( + _gA, + _gIa, + _gU, + _cA, + _uA, + _st, + _sRta, + _n, + _d, + _rA, + _pTr, + _pC, + _aT, + _aCu, + _kKA, + _cTC, + _iCnt, + _pEC, + _wID, + _eL, + _wAA, + _wC, + _dO, + ), + ( + (GATEWAY_ARN, 1), + (GATEWAY_ID, 1), + (GATEWAY_URL, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (GATEWAY_STATUS, 1), + (STATUS_REASONS, 0), + (GATEWAY_NAME, 1), + (lambda: schemas.GATEWAY_DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 0), + (GATEWAY_PROTOCOL_TYPE, {_smi: _MCP}), + (GATEWAY_PROTOCOL_CONFIGURATION, 0), + (lambda: schemas.AUTHORIZER_TYPE, 1), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (CUSTOM_TRANSFORM_CONFIGURATION, 0), + (GATEWAY_INTERCEPTOR_CONFIGURATIONS, 0), + (GATEWAY_POLICY_ENGINE_CONFIGURATION, 0), + (lambda: schemas.WORKLOAD_IDENTITY_DETAILS, 0), + (lambda: schemas.EXCEPTION_LEVEL, 0), + (WEB_ACL_ARN, 0), + (WAF_CONFIGURATION, 0), + (lambda: schemas.DOMAIN_OVERRIDE, 0), + ), +) + +UPDATE_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _UG, + { + _smithya: MappingProxyType( + {"code": 202, "method": "PUT", "uri": "/gateways/{gatewayIdentifier}/"} + ) + }, + UPDATE_GATEWAY_INPUT, + UPDATE_GATEWAY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MATCH_OPERATOR: StaticSchema = ( + 14, + n0, + _MOa, + 0, + (_SE, _SLt), + ((-1, {_sVm: _SE}), (-1, {_sVm: _SLt})), +) + +MODEL_PATTERN: StaticSchema = (3, n0, _MPo, 0) + +MATCH_MODEL_ENTRY: StaticSchema = ( + 18, + n0, + _MME, + 0, + (_v, _op), + ((MODEL_PATTERN, 1), (MATCH_OPERATOR, {_smi: _SLt})), +) + +MATCH_MODEL_ENTRIES: StaticSchema = ( + 16, + n0, + _MMEa, + 0, + (_mem,), + ((MATCH_MODEL_ENTRY, 0),), +) + +MATCH_MODELS: StaticSchema = (18, n0, _MMa, 0, (_aO,), ((MATCH_MODEL_ENTRIES, 1),)) + +MATCH_PATH_PATTERN: StaticSchema = (3, n0, _MPP, 0) + +MATCH_PATH_PATTERNS: StaticSchema = ( + 16, + n0, + _MPPa, + 0, + (_mem,), + ((MATCH_PATH_PATTERN, 0),), +) + +MATCH_PATHS: StaticSchema = (18, n0, _MPa, 0, (_aO,), ((MATCH_PATH_PATTERNS, 1),)) + +IAM_PRINCIPAL_ARN: StaticSchema = (3, n0, _IPAa, 0) + +PRINCIPAL_MATCH_OPERATOR: StaticSchema = ( + 14, + n0, + _PMO, + 0, + (_SE, _SLt), + ((-1, {_sVm: _SE}), (-1, {_sVm: _SLt})), +) + +IAM_PRINCIPAL: StaticSchema = ( + 18, + n0, + _IP, + 0, + (_a, _op), + ((IAM_PRINCIPAL_ARN, 1), (PRINCIPAL_MATCH_OPERATOR, 0)), +) + +MATCH_PRINCIPAL_ENTRY: StaticSchema = (19, n0, _MPE, 0, (_iPa,), ((IAM_PRINCIPAL, 0),)) + +MATCH_PRINCIPAL_ENTRIES: StaticSchema = ( + 16, + n0, + _MPEa, + 0, + (_mem,), + ((MATCH_PRINCIPAL_ENTRY, 0),), +) + +MATCH_PRINCIPALS: StaticSchema = ( + 18, + n0, + _MPat, + 0, + (_aO,), + ((MATCH_PRINCIPAL_ENTRIES, 1),), +) + +CONDITION: StaticSchema = ( + 19, + n0, + _Co, + 0, + (_mPa, _mPat, _mM), + ((MATCH_PRINCIPALS, 0), (MATCH_PATHS, 0), (MATCH_MODELS, 0)), +) + +CONDITIONS: StaticSchema = (16, n0, _Con, 0, (_mem,), ((CONDITION, 0),)) + +GATEWAY_RULE_DESCRIPTION: StaticSchema = (3, n0, _GRD, 0) + +GATEWAY_RULE_PRIORITY: StaticSchema = (7, n0, _GRP, 0) + +CREATE_GATEWAY_RULE_INPUT: StaticSchema = ( + 18, + n0, + _CGRI, + {_sSI: _cCGRR, _smith: None}, + (_gI, _cT, _pri, _cond, _act, _d), + ( + (lambda: schemas.GATEWAY_IDENTIFIER, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (GATEWAY_RULE_PRIORITY, 1), + (CONDITIONS, 0), + (lambda: schemas.ACTIONS, 1), + (GATEWAY_RULE_DESCRIPTION, 0), + ), +) + +CREATE_GATEWAY_RULE_OUTPUT: StaticSchema = ( + 18, + n0, + _CGRO, + {_sSI: _cCGRRo, _smithy: None}, + (_rI, _gA, _pri, _cond, _act, _d, _cA, _st, _sy), + ( + (lambda: GATEWAY_RULE_ID, 1), + (GATEWAY_ARN, 1), + (GATEWAY_RULE_PRIORITY, 1), + (CONDITIONS, 0), + (lambda: schemas.ACTIONS, 1), + (GATEWAY_RULE_DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: GATEWAY_RULE_STATUS, 1), + (lambda: SYSTEM_MANAGED_BLOCK, 0), + ), +) + +CREATE_GATEWAY_RULE: StaticOperationSchema = ( + 23, + n0, + _CGR, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/gateways/{gatewayIdentifier}/rules", + } + ) + }, + CREATE_GATEWAY_RULE_INPUT, + CREATE_GATEWAY_RULE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_RULE_ID: StaticSchema = (3, n0, _GRI, 0) + +GATEWAY_RULE_STATUS: StaticSchema = ( + 14, + n0, + _GRS, + 0, + (_CREATING, _ACTIVE, _UPDATING, _DELETING), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _DELETING}), + ), +) + +SYSTEM_MANAGED_BLOCK: StaticSchema = (18, n0, _SMB, 0, (_mB,), ((3, 1),)) + +DELETE_GATEWAY_RULE_INPUT: StaticSchema = ( + 18, + n0, + _DGRI, + {_sSI: _cDGRR, _smith: None}, + (_gI, _rI), + ((lambda: schemas.GATEWAY_IDENTIFIER, 9), (GATEWAY_RULE_ID, 9)), +) + +DELETE_GATEWAY_RULE_OUTPUT: StaticSchema = ( + 18, + n0, + _DGRO, + {_sSI: _cDGRRo, _smithy: None}, + (_rI, _st), + ((GATEWAY_RULE_ID, 1), (GATEWAY_RULE_STATUS, 1)), +) + +DELETE_GATEWAY_RULE: StaticOperationSchema = ( + 23, + n0, + _DGR, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/gateways/{gatewayIdentifier}/rules/{ruleId}", + } + ) + }, + DELETE_GATEWAY_RULE_INPUT, + DELETE_GATEWAY_RULE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_GATEWAY_RULE_INPUT: StaticSchema = ( + 18, + n0, + _GGRI, + {_sSI: _cGGRR, _smith: None}, + (_gI, _rI), + ((lambda: schemas.GATEWAY_IDENTIFIER, 9), (GATEWAY_RULE_ID, 9)), +) + +GET_GATEWAY_RULE_OUTPUT: StaticSchema = ( + 18, + n0, + _GGRO, + {_sSI: _cGGRRo, _smithy: None}, + (_rI, _gA, _pri, _cond, _act, _d, _cA, _st, _sy, _uA), + ( + (GATEWAY_RULE_ID, 1), + (GATEWAY_ARN, 1), + (GATEWAY_RULE_PRIORITY, 1), + (CONDITIONS, 0), + (lambda: schemas.ACTIONS, 1), + (GATEWAY_RULE_DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (GATEWAY_RULE_STATUS, 1), + (SYSTEM_MANAGED_BLOCK, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +GET_GATEWAY_RULE: StaticOperationSchema = ( + 23, + n0, + _GGR, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/gateways/{gatewayIdentifier}/rules/{ruleId}", + } + ) + }, + GET_GATEWAY_RULE_INPUT, + GET_GATEWAY_RULE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_RULE_MAX_RESULTS: StaticSchema = (7, n0, _GRMR, 0) + +GATEWAY_RULE_NEXT_TOKEN: StaticSchema = (3, n0, _GRNT, 0) + +LIST_GATEWAY_RULES_INPUT: StaticSchema = ( + 18, + n0, + _LGRI, + {_sSI: _cLGRR, _smith: None}, + (_gI, _mR, _nT), + ( + (lambda: schemas.GATEWAY_IDENTIFIER, 9), + (GATEWAY_RULE_MAX_RESULTS, {_sQ: _mR}), + (GATEWAY_RULE_NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_GATEWAY_RULES_OUTPUT: StaticSchema = ( + 18, + n0, + _LGRO, + {_sSI: _cLGRRo, _smithy: None}, + (_gR, _nT), + ((lambda: GATEWAY_RULES, 1), (GATEWAY_RULE_NEXT_TOKEN, 0)), +) + +LIST_GATEWAY_RULES: StaticOperationSchema = ( + 23, + n0, + _LGR, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/gateways/{gatewayIdentifier}/rules"} + ) + }, + LIST_GATEWAY_RULES_INPUT, + LIST_GATEWAY_RULES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GATEWAY_RULE_DETAIL: StaticSchema = ( + 18, + n0, + _GRDa, + 0, + (_rI, _gA, _pri, _cond, _act, _d, _cA, _st, _sy, _uA), + ( + (GATEWAY_RULE_ID, 1), + (GATEWAY_ARN, 1), + (GATEWAY_RULE_PRIORITY, 1), + (CONDITIONS, 0), + (lambda: schemas.ACTIONS, 1), + (GATEWAY_RULE_DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (GATEWAY_RULE_STATUS, 1), + (SYSTEM_MANAGED_BLOCK, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +GATEWAY_RULES: StaticSchema = (16, n0, _GR, 0, (_mem,), ((GATEWAY_RULE_DETAIL, 0),)) + +UPDATE_GATEWAY_RULE_INPUT: StaticSchema = ( + 18, + n0, + _UGRI, + {_sSI: _cUGRR, _smith: None}, + (_gI, _rI, _pri, _cond, _act, _d), + ( + (lambda: schemas.GATEWAY_IDENTIFIER, 9), + (GATEWAY_RULE_ID, 9), + (GATEWAY_RULE_PRIORITY, 0), + (CONDITIONS, 0), + (lambda: schemas.ACTIONS, 0), + (GATEWAY_RULE_DESCRIPTION, 0), + ), +) + +UPDATE_GATEWAY_RULE_OUTPUT: StaticSchema = ( + 18, + n0, + _UGRO, + {_sSI: _cUGRRo, _smithy: None}, + (_rI, _gA, _pri, _cond, _act, _d, _cA, _st, _sy, _uA), + ( + (GATEWAY_RULE_ID, 1), + (GATEWAY_ARN, 1), + (GATEWAY_RULE_PRIORITY, 1), + (CONDITIONS, 0), + (lambda: schemas.ACTIONS, 1), + (GATEWAY_RULE_DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (GATEWAY_RULE_STATUS, 1), + (SYSTEM_MANAGED_BLOCK, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +UPDATE_GATEWAY_RULE: StaticOperationSchema = ( + 23, + n0, + _UGR, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "PATCH", + "uri": "/gateways/{gatewayIdentifier}/rules/{ruleId}", + } + ) + }, + UPDATE_GATEWAY_RULE_INPUT, + UPDATE_GATEWAY_RULE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +API_KEY_CREDENTIAL_LOCATION: StaticSchema = ( + 14, + n0, + _AKCL, + 0, + (_HEADER, _QP), + ((-1, {_sVm: _HEADER}), (-1, {_sVm: _QP})), +) + +API_KEY_CREDENTIAL_PARAMETER_NAME: StaticSchema = (3, n0, _AKCPN, 0) + +API_KEY_CREDENTIAL_PREFIX: StaticSchema = (3, n0, _AKCPp, 0) + +API_KEY_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _AKCPA, 0) + +GATEWAY_API_KEY_CREDENTIAL_PROVIDER: StaticSchema = ( + 18, + n0, + _GAKCPa, + 0, + (_pAr, _cPN, _cPr, _cL), + ( + (API_KEY_CREDENTIAL_PROVIDER_ARN, 1), + (API_KEY_CREDENTIAL_PARAMETER_NAME, 0), + (API_KEY_CREDENTIAL_PREFIX, 0), + (API_KEY_CREDENTIAL_LOCATION, 0), + ), +) + +IAM_CREDENTIAL_PROVIDER: StaticSchema = ( + 18, + n0, + _ICP, + 0, + (_ser, _reg), + ((3, 1), (3, 0)), +) + +O_AUTH_CUSTOM_PARAMETERS_KEY: StaticSchema = (3, n0, _OACPK, 0) + +O_AUTH_CUSTOM_PARAMETERS_VALUE: StaticSchema = (3, n0, _OACPV, 4) + +O_AUTH_CUSTOM_PARAMETERS: StaticSchema = ( + 17, + n0, + _OACP, + 0, + (_k, _v), + ((O_AUTH_CUSTOM_PARAMETERS_KEY, 0), (O_AUTH_CUSTOM_PARAMETERS_VALUE, 0)), +) + +O_AUTH_DEFAULT_RETURN_URL: StaticSchema = (3, n0, _OADRU, 0) + +O_AUTH_GRANT_TYPE: StaticSchema = ( + 14, + n0, + _OAGT, + 0, + (_CC_, _AC_, _TE_), + ((-1, {_sVm: _CC_}), (-1, {_sVm: _AC_}), (-1, {_sVm: _TE_})), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_7.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_7.py new file mode 100644 index 000000000..1e913166a --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_7.py @@ -0,0 +1,1332 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_sm = "smithy.api#required" +_k = "key" +_v = "value" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_mod = "model" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_so = "source" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_smithya = "smithy.api#http" +_t = "tags" +_READY = "READY" +_tV = "targetVersion" +_eN = "endpointName" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_s_ = "s3" +_a = "arn" +_u = "uri" +_bOAI = "bucketOwnerAccountId" +_STRING = "STRING" +_do = "domain" +_pE = "privateEndpoint" +_cCe = "certificateConfigurations" +_pa = "path" +_MCP = "MCP" +_HTTP = "HTTP" +_AA_ = "A2A" +_ve = "version" +_mC = "metadataConfiguration" +_en = "enabled" +_CUSTOM = "CUSTOM" +_kKA = "kmsKeyArn" +_sco = "scopes" +_id = "identifier" +_FAILED = "FAILED" +_rAe = "resourceArn" +_pr = "provider" +_gI = "gatewayIdentifier" +_pTr = "protocolType" +_UU = "UPDATE_UNSUCCESSFUL" +_gA = "gatewayArn" +_sRta = "statusReasons" +_it = "items" +_pAr = "providerArn" +_CC_ = "CLIENT_CREDENTIALS" +_OACPAu = "OAuthCredentialProviderArn" +_OAS = "OAuthScope" +_OASu = "OAuthScopes" +_OACPu = "OAuthCredentialProvider" +_cPu = "customParameters" +_gT = "grantType" +_dRU = "defaultReturnUrl" +_CPr = "CredentialProvider" +_oCP = "oauthCredentialProvider" +_aKCP = "apiKeyCredentialProvider" +_iCP = "iamCredentialProvider" +_CPT = "CredentialProviderType" +_GIR = "GATEWAY_IAM_ROLE" +_OAUTH = "OAUTH" +_AK = "API_KEY" +_CIC = "CALLER_IAM_CREDENTIALS" +_JP = "JWT_PASSTHROUGH" +_CPCr = "CredentialProviderConfiguration" +_cPT = "credentialProviderType" +_cPre = "credentialProvider" +_CPCre = "CredentialProviderConfigurations" +_TD = "TargetDescription" +_MC = "MetadataConfiguration" +_aRH = "allowedRequestHeaders" +_aQP = "allowedQueryParameters" +_aRHl = "allowedResponseHeaders" +_RAu = "RuntimeArn" +_RQ = "RuntimeQualifier" +_IPn = "InlinePayload" +_AAI = "AwsAccountId" +_SBU = "S3BucketUri" +_SCo = "S3Configuration" +_ASC = "ApiSchemaConfiguration" +_iPn = "inlinePayload" +_HASC = "HttpApiSchemaConfiguration" +_RTC = "RuntimeTargetConfiguration" +_q = "qualifier" +_sch = "schema" +_CPNo = "ConnectorParameterName" +_CPV = "ConnectorParameterValue" +_HCP = "HttpConnectorParameters" +_CIo = "ConnectorId" +_HCS = "HttpConnectorSource" +_cI = "connectorId" +_HCTC = "HttpConnectorTargetConfiguration" +_par = "parameters" +_PEa = "PassthroughEndpoint" +_PPT = "PassthroughProtocolType" +_INFERENCE = "INFERENCE" +_SQPCR = "StaticQueryParameterConflictResolution" +_CO = "CLIENT_OVERRIDE" +_SO_ = "STATIC_OVERRIDE" +_SQPN = "StaticQueryParameterName" +_SQPV = "StaticQueryParameterValue" +_SQP = "StaticQueryParameters" +_CIE = "CompositeIdentifierEntry" +_CIL = "CompositeIdentifierList" +_STt = "StickinessTimeout" +_SCti = "StickinessConfiguration" +_ti = "timeout" +_cIo = "compositeIdentifier" +_PTC = "PassthroughTargetConfiguration" +_end = "endpoint" +_sCti = "stickinessConfiguration" +_sQP = "staticQueryParameters" +_sQPCR = "staticQueryParameterConflictResolution" +_HTC = "HttpTargetConfiguration" +_aRg = "agentcoreRuntime" +_pas = "passthrough" +_conne = "connector" +_ICI = "InferenceConnectorId" +_ICS = "InferenceConnectorSource" +_ICTC = "InferenceConnectorTargetConfiguration" +_PP = "ProviderPrefix" +_str = "strip" +_sep = "separator" +_v___ = "." +_MMo = "ModelMapping" +_pP = "providerPrefix" +_ME = "ModelEntry" +_MEo = "ModelEntries" +_IOP = "InferenceOperationPath" +_IOC = "InferenceOperationConfiguration" +_pPr = "providerPath" +_mode = "models" +_IOCn = "InferenceOperationConfigurations" +_IPTC = "InferenceProviderTargetConfiguration" +_mMo = "modelMapping" +_ope = "operations" +_ITC = "InferenceTargetConfiguration" +_RAM = "RestApiMethod" +_GET = "GET" +_DELETE = "DELETE" +_HEAD = "HEAD" +_OPTIONS = "OPTIONS" +_PATCH = "PATCH" +_PUT_ = "PUT" +_POST = "POST" +_RAMe = "RestApiMethods" +_AGTF = "ApiGatewayToolFilter" +_fP = "filterPath" +_met = "methods" +_AGTFp = "ApiGatewayToolFilters" +_AGTO = "ApiGatewayToolOverride" +_meth = "method" +_AGTOp = "ApiGatewayToolOverrides" +_AGTC = "ApiGatewayToolConfiguration" +_tOo = "toolOverrides" +_tFo = "toolFilters" +_AGTCp = "ApiGatewayTargetConfiguration" +_rAI = "restApiId" +_stag = "stage" +_aGTC = "apiGatewayToolConfiguration" +_CPO = "ConnectorParameterOverride" +_vi = "visible" +_CPOo = "ConnectorParameterOverrides" +_CCon = "ConnectorConfiguration" +_pVa = "parameterValues" +_pO = "parameterOverrides" +_CConn = "ConnectorConfigurations" +_ECn = "EnabledConnectors" +_CV = "ConnectorVersion" +_CS = "ConnectorSource" +_CTCo = "ConnectorTargetConfiguration" +_conf = "configurations" +_RP = "RequiredProperties" +_STc = "SchemaType" +_stri = "string" +_NUMBER = "NUMBER" +_num = "number" +_OBJECT = "OBJECT" +_ob = "object" +_ARRAY = "ARRAY" +_ar = "array" +_BOOLEAN = "BOOLEAN" +_bo = "boolean" +_INTEGER = "INTEGER" +_inte = "integer" +_LM = "ListingMode" +_DEFAULT = "DEFAULT" +_DYNAMIC = "DYNAMIC" +_MTSC = "McpToolSchemaConfiguration" +_TRP = "TargetResourcePriority" +_MSTC = "McpServerTargetConfiguration" +_mTS = "mcpToolSchema" +_lMi = "listingMode" +_rP = "resourcePriority" +_OAAD = "OAuth2AuthorizationData" +_aU = "authorizationUrl" +_uI = "userId" +_ADu = "AuthorizationData" +_oa = "oauth2" +_DNo = "DomainName" +_RAA = "ResourceAssociationArn" +_RGA = "ResourceGatewayArn" +_MRD = "ManagedResourceDetails" +_rGA = "resourceGatewayArn" +_rAA = "resourceAssociationArn" +_PEMR = "PrivateEndpointManagedResources" +_TPT = "TargetProtocolType" +_TS = "TargetStatus" +_SYNCHRONIZING = "SYNCHRONIZING" +_SU_ = "SYNCHRONIZE_UNSUCCESSFUL" +_CPA_ = "CREATE_PENDING_AUTH" +_UPA = "UPDATE_PENDING_AUTH" +_SPA = "SYNCHRONIZE_PENDING_AUTH" +_TI = "TargetId" +_DGTI = "DeleteGatewayTargetInput" +_cDGTR = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayTargetRequest" +_tI = "targetId" +_DGTO = "DeleteGatewayTargetOutput" +_cDGTRo = "com.amazonaws.bedrockagentcorecontrol#DeleteGatewayTargetResponse" +_DGT = "DeleteGatewayTarget" +_GGTI = "GetGatewayTargetInput" +_cGGTR = "com.amazonaws.bedrockagentcorecontrol#GetGatewayTargetRequest" +_TMR = "TargetMaxResults" +_TNT = "TargetNextToken" +_LGTI = "ListGatewayTargetsInput" +_cLGTR = "com.amazonaws.bedrockagentcorecontrol#ListGatewayTargetsRequest" +_TT = "TargetType" +_OAS_ = "OPEN_API_SCHEMA" +_SM = "SMITHY_MODEL" +_MS = "MCP_SERVER" +_LAMBDA = "LAMBDA" +_AG_ = "API_GATEWAY" +_CONNECTOR = "CONNECTOR" +_AR_ = "AGENTCORE_RUNTIME" +_PASSTHROUGH = "PASSTHROUGH" +_PROVIDER = "PROVIDER" +_HC = "HTTP_CONNECTOR" +_TSa = "TargetSummary" +_lSAa = "lastSynchronizedAt" +_aDu = "authorizationData" +_tT = "targetType" +_TSar = "TargetSummaries" +_LGTO = "ListGatewayTargetsOutput" +_cLGTRo = "com.amazonaws.bedrockagentcorecontrol#ListGatewayTargetsResponse" +_LGT = "ListGatewayTargets" +_TIL = "TargetIdList" +_SGTI = "SynchronizeGatewayTargetsInput" +_cSGTR = "com.amazonaws.bedrockagentcorecontrol#SynchronizeGatewayTargetsRequest" +_tIL = "targetIdList" +_GRPI = "GetResourcePolicyInput" +_cGRPR = "com.amazonaws.bedrockagentcorecontrol#GetResourcePolicyRequest" +_RPB = "ResourcePolicyBody" +_GRPO = "GetResourcePolicyOutput" +_cGRPRo = "com.amazonaws.bedrockagentcorecontrol#GetResourcePolicyResponse" +_pol = "policy" +_GRPe = "GetResourcePolicy" +_TVIT = "TokenVaultIdType" +_GTVI = "GetTokenVaultInput" +_cGTVR = "com.amazonaws.bedrockagentcorecontrol#GetTokenVaultRequest" +_tVI = "tokenVaultId" +_KT = "KeyType" +_CMK = "CustomerManagedKey" +_SMK = "ServiceManagedKey" +_KC = "KmsConfiguration" +_kT = "keyType" +_GTVO = "GetTokenVaultOutput" +_cGTVRo = "com.amazonaws.bedrockagentcorecontrol#GetTokenVaultResponse" +_kC = "kmsConfiguration" +_lMD = "lastModifiedDate" +_GTV = "GetTokenVault" +_HED = "HarnessEndpointDescription" +_HEN = "HarnessEndpointName" +_HI = "HarnessId" +_HV = "HarnessVersion" +_CHEI = "CreateHarnessEndpointInput" +_cCHER = "com.amazonaws.bedrockagentcorecontrol#CreateHarnessEndpointRequest" +_hI = "harnessId" +_CHEO = "CreateHarnessEndpointOutput" +_cCHERo = "com.amazonaws.bedrockagentcorecontrol#CreateHarnessEndpointResponse" +_CHE = "CreateHarnessEndpoint" +_cPCr = "credentialProviderConfigurations" +_tCa = "targetConfiguration" +_pEMR = "privateEndpointManagedResources" +_GGTO = "GetGatewayTargetOutput" +_cGGTRo = "com.amazonaws.bedrockagentcorecontrol#GetGatewayTargetResponse" +_GGT = "GetGatewayTarget" +_SGTO = "SynchronizeGatewayTargetsOutput" +_cSGTRo = "com.amazonaws.bedrockagentcorecontrol#SynchronizeGatewayTargetsResponse" +_tar = "targets" +_SGT = "SynchronizeGatewayTargets" + +O_AUTH_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _OACPAu, 0) + +O_AUTH_SCOPE: StaticSchema = (3, n0, _OAS, 0) + +O_AUTH_SCOPES: StaticSchema = (16, n0, _OASu, 0, (_mem,), ((O_AUTH_SCOPE, 0),)) + +O_AUTH_CREDENTIAL_PROVIDER: StaticSchema = ( + 18, + n0, + _OACPu, + 0, + (_pAr, _sco, _cPu, _gT, _dRU), + ( + (O_AUTH_CREDENTIAL_PROVIDER_ARN, 1), + (O_AUTH_SCOPES, 1), + (lambda: schemas.O_AUTH_CUSTOM_PARAMETERS, 0), + (lambda: schemas.O_AUTH_GRANT_TYPE, {_smi: _CC_}), + (lambda: schemas.O_AUTH_DEFAULT_RETURN_URL, 0), + ), +) + +CREDENTIAL_PROVIDER: StaticSchema = ( + 19, + n0, + _CPr, + 0, + (_oCP, _aKCP, _iCP), + ( + (O_AUTH_CREDENTIAL_PROVIDER, 0), + (lambda: schemas.GATEWAY_API_KEY_CREDENTIAL_PROVIDER, 0), + (lambda: schemas.IAM_CREDENTIAL_PROVIDER, 0), + ), +) + +CREDENTIAL_PROVIDER_TYPE: StaticSchema = ( + 14, + n0, + _CPT, + 0, + (_GIR, _OAUTH, _AK, _CIC, _JP), + ( + (-1, {_sVm: _GIR}), + (-1, {_sVm: _OAUTH}), + (-1, {_sVm: _AK}), + (-1, {_sVm: _CIC}), + (-1, {_sVm: _JP}), + ), +) + +CREDENTIAL_PROVIDER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CPCr, + 0, + (_cPT, _cPre), + ((CREDENTIAL_PROVIDER_TYPE, 1), (CREDENTIAL_PROVIDER, 0)), +) + +CREDENTIAL_PROVIDER_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _CPCre, + 0, + (_mem,), + ((CREDENTIAL_PROVIDER_CONFIGURATION, 0),), +) + +TARGET_DESCRIPTION: StaticSchema = (3, n0, _TD, 4) + +METADATA_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MC, + 0, + (_aRH, _aQP, _aRHl), + ( + (lambda: schemas.ALLOWED_REQUEST_HEADERS, 0), + (lambda: schemas.ALLOWED_QUERY_PARAMETERS, 0), + (lambda: schemas.ALLOWED_RESPONSE_HEADERS, 0), + ), +) + +RUNTIME_ARN: StaticSchema = (3, n0, _RAu, 0) + +RUNTIME_QUALIFIER: StaticSchema = (3, n0, _RQ, 0) + +INLINE_PAYLOAD: StaticSchema = (3, n0, _IPn, 4) + +AWS_ACCOUNT_ID: StaticSchema = (3, n0, _AAI, 0) + +S3_BUCKET_URI: StaticSchema = (3, n0, _SBU, 0) + +S3_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCo, + 0, + (_u, _bOAI), + ((S3_BUCKET_URI, 0), (AWS_ACCOUNT_ID, 0)), +) + +API_SCHEMA_CONFIGURATION: StaticSchema = ( + 19, + n0, + _ASC, + 0, + (_s_, _iPn), + ((S3_CONFIGURATION, 0), (INLINE_PAYLOAD, 0)), +) + +HTTP_API_SCHEMA_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HASC, + 0, + (_so,), + ((API_SCHEMA_CONFIGURATION, 1),), +) + +RUNTIME_TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RTC, + 0, + (_a, _q, _sch), + ((RUNTIME_ARN, 1), (RUNTIME_QUALIFIER, 0), (HTTP_API_SCHEMA_CONFIGURATION, 0)), +) + +CONNECTOR_PARAMETER_NAME: StaticSchema = (3, n0, _CPNo, 0) + +CONNECTOR_PARAMETER_VALUE: StaticSchema = (3, n0, _CPV, 0) + +HTTP_CONNECTOR_PARAMETERS: StaticSchema = ( + 17, + n0, + _HCP, + 0, + (_k, _v), + ((CONNECTOR_PARAMETER_NAME, 0), (CONNECTOR_PARAMETER_VALUE, 0)), +) + +CONNECTOR_ID: StaticSchema = (3, n0, _CIo, 0) + +HTTP_CONNECTOR_SOURCE: StaticSchema = (18, n0, _HCS, 0, (_cI,), ((CONNECTOR_ID, 1),)) + +HTTP_CONNECTOR_TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HCTC, + 0, + (_so, _par), + ((HTTP_CONNECTOR_SOURCE, 1), (HTTP_CONNECTOR_PARAMETERS, 0)), +) + +PASSTHROUGH_ENDPOINT: StaticSchema = (3, n0, _PEa, 0) + +PASSTHROUGH_PROTOCOL_TYPE: StaticSchema = ( + 14, + n0, + _PPT, + 0, + (_MCP, _AA_, _INFERENCE, _CUSTOM), + ( + (-1, {_sVm: _MCP}), + (-1, {_sVm: _AA_}), + (-1, {_sVm: _INFERENCE}), + (-1, {_sVm: _CUSTOM}), + ), +) + +STATIC_QUERY_PARAMETER_CONFLICT_RESOLUTION: StaticSchema = ( + 14, + n0, + _SQPCR, + 0, + (_CO, _SO_), + ((-1, {_sVm: _CO}), (-1, {_sVm: _SO_})), +) + +STATIC_QUERY_PARAMETER_NAME: StaticSchema = (3, n0, _SQPN, 0) + +STATIC_QUERY_PARAMETER_VALUE: StaticSchema = (3, n0, _SQPV, 4) + +STATIC_QUERY_PARAMETERS: StaticSchema = ( + 17, + n0, + _SQP, + 0, + (_k, _v), + ((STATIC_QUERY_PARAMETER_NAME, 0), (STATIC_QUERY_PARAMETER_VALUE, 0)), +) + +COMPOSITE_IDENTIFIER_ENTRY: StaticSchema = (3, n0, _CIE, 0) + +COMPOSITE_IDENTIFIER_LIST: StaticSchema = ( + 16, + n0, + _CIL, + 0, + (_mem,), + ((COMPOSITE_IDENTIFIER_ENTRY, 0),), +) + +STICKINESS_TIMEOUT: StaticSchema = (7, n0, _STt, 0) + +STICKINESS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCti, + 0, + (_id, _ti, _cIo), + ((3, 1), (STICKINESS_TIMEOUT, 0), (COMPOSITE_IDENTIFIER_LIST, 0)), +) + +PASSTHROUGH_TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PTC, + 0, + (_end, _pTr, _sch, _sCti, _sQP, _sQPCR), + ( + (PASSTHROUGH_ENDPOINT, 1), + (PASSTHROUGH_PROTOCOL_TYPE, 1), + (HTTP_API_SCHEMA_CONFIGURATION, 0), + (STICKINESS_CONFIGURATION, 0), + (STATIC_QUERY_PARAMETERS, 0), + (STATIC_QUERY_PARAMETER_CONFLICT_RESOLUTION, 0), + ), +) + +HTTP_TARGET_CONFIGURATION: StaticSchema = ( + 19, + n0, + _HTC, + 0, + (_aRg, _pas, _conne), + ( + (RUNTIME_TARGET_CONFIGURATION, 0), + (PASSTHROUGH_TARGET_CONFIGURATION, 0), + (HTTP_CONNECTOR_TARGET_CONFIGURATION, 0), + ), +) + +INFERENCE_CONNECTOR_ID: StaticSchema = (3, n0, _ICI, 0) + +INFERENCE_CONNECTOR_SOURCE: StaticSchema = ( + 18, + n0, + _ICS, + 0, + (_cI,), + ((INFERENCE_CONNECTOR_ID, 1),), +) + +INFERENCE_CONNECTOR_TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ICTC, + 0, + (_so,), + ((INFERENCE_CONNECTOR_SOURCE, 1),), +) + +PROVIDER_PREFIX: StaticSchema = ( + 18, + n0, + _PP, + 0, + (_str, _sep), + ((2, {_smi: False}), (3, {_smi: _v___})), +) + +MODEL_MAPPING: StaticSchema = (18, n0, _MMo, 0, (_pP,), ((PROVIDER_PREFIX, 0),)) + +MODEL_ENTRY: StaticSchema = ( + 18, + n0, + _ME, + 0, + (_mod,), + ((lambda: schemas.MODEL_PATTERN, 1),), +) + +MODEL_ENTRIES: StaticSchema = (16, n0, _MEo, 0, (_mem,), ((MODEL_ENTRY, 0),)) + +INFERENCE_OPERATION_PATH: StaticSchema = (3, n0, _IOP, 0) + +INFERENCE_OPERATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IOC, + 0, + (_pa, _pPr, _mode), + ((INFERENCE_OPERATION_PATH, 1), (INFERENCE_OPERATION_PATH, 0), (MODEL_ENTRIES, 0)), +) + +INFERENCE_OPERATION_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _IOCn, + 0, + (_mem,), + ((INFERENCE_OPERATION_CONFIGURATION, 0),), +) + +INFERENCE_PROVIDER_TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IPTC, + 0, + (_end, _mMo, _ope), + ( + (PASSTHROUGH_ENDPOINT, 1), + (MODEL_MAPPING, 0), + (INFERENCE_OPERATION_CONFIGURATIONS, 0), + ), +) + +INFERENCE_TARGET_CONFIGURATION: StaticSchema = ( + 19, + n0, + _ITC, + 0, + (_conne, _pr), + ( + (INFERENCE_CONNECTOR_TARGET_CONFIGURATION, 0), + (INFERENCE_PROVIDER_TARGET_CONFIGURATION, 0), + ), +) + +REST_API_METHOD: StaticSchema = ( + 14, + n0, + _RAM, + 0, + (_GET, _DELETE, _HEAD, _OPTIONS, _PATCH, _PUT_, _POST), + ( + (-1, {_sVm: _GET}), + (-1, {_sVm: _DELETE}), + (-1, {_sVm: _HEAD}), + (-1, {_sVm: _OPTIONS}), + (-1, {_sVm: _PATCH}), + (-1, {_sVm: _PUT_}), + (-1, {_sVm: _POST}), + ), +) + +REST_API_METHODS: StaticSchema = (16, n0, _RAMe, 0, (_mem,), ((REST_API_METHOD, 0),)) + +API_GATEWAY_TOOL_FILTER: StaticSchema = ( + 18, + n0, + _AGTF, + 0, + (_fP, _met), + ((3, 1), (REST_API_METHODS, 1)), +) + +API_GATEWAY_TOOL_FILTERS: StaticSchema = ( + 16, + n0, + _AGTFp, + 0, + (_mem,), + ((API_GATEWAY_TOOL_FILTER, 0),), +) + +API_GATEWAY_TOOL_OVERRIDE: StaticSchema = ( + 18, + n0, + _AGTO, + 0, + (_n, _d, _pa, _meth), + ((3, 1), (3, 0), (3, 1), (REST_API_METHOD, 1)), +) + +API_GATEWAY_TOOL_OVERRIDES: StaticSchema = ( + 16, + n0, + _AGTOp, + 0, + (_mem,), + ((API_GATEWAY_TOOL_OVERRIDE, 0),), +) + +API_GATEWAY_TOOL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AGTC, + 0, + (_tOo, _tFo), + ((API_GATEWAY_TOOL_OVERRIDES, 0), (API_GATEWAY_TOOL_FILTERS, 1)), +) + +API_GATEWAY_TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AGTCp, + 0, + (_rAI, _stag, _aGTC), + ((3, 1), (3, 1), (API_GATEWAY_TOOL_CONFIGURATION, 1)), +) + +CONNECTOR_PARAMETER_OVERRIDE: StaticSchema = ( + 18, + n0, + _CPO, + 0, + (_pa, _d, _vi), + ((3, 1), (3, 0), (2, 0)), +) + +CONNECTOR_PARAMETER_OVERRIDES: StaticSchema = ( + 16, + n0, + _CPOo, + 0, + (_mem,), + ((CONNECTOR_PARAMETER_OVERRIDE, 0),), +) + +CONNECTOR_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CCon, + 0, + (_n, _d, _pVa, _pO), + ((3, 1), (3, 0), (13, 0), (CONNECTOR_PARAMETER_OVERRIDES, 0)), +) + +CONNECTOR_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _CConn, + 0, + (_mem,), + ((CONNECTOR_CONFIGURATION, 0),), +) + +ENABLED_CONNECTORS: StaticSchema = (16, n0, _ECn, 0, (_mem,), ((3, 0),)) + +CONNECTOR_VERSION: StaticSchema = (3, n0, _CV, 0) + +CONNECTOR_SOURCE: StaticSchema = ( + 18, + n0, + _CS, + 0, + (_cI, _ve), + ((CONNECTOR_ID, 1), (CONNECTOR_VERSION, 0)), +) + +CONNECTOR_TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CTCo, + 0, + (_so, _en, _conf), + ((CONNECTOR_SOURCE, 1), (ENABLED_CONNECTORS, 0), (CONNECTOR_CONFIGURATIONS, 0)), +) + +REQUIRED_PROPERTIES: StaticSchema = (16, n0, _RP, 0, (_mem,), ((3, 0),)) + +SCHEMA_TYPE: StaticSchema = ( + 14, + n0, + _STc, + 0, + (_STRING, _NUMBER, _OBJECT, _ARRAY, _BOOLEAN, _INTEGER), + ( + (-1, {_sVm: _stri}), + (-1, {_sVm: _num}), + (-1, {_sVm: _ob}), + (-1, {_sVm: _ar}), + (-1, {_sVm: _bo}), + (-1, {_sVm: _inte}), + ), +) + +LISTING_MODE: StaticSchema = ( + 14, + n0, + _LM, + 0, + (_DEFAULT, _DYNAMIC), + ((-1, {_sVm: _DEFAULT}), (-1, {_sVm: _DYNAMIC})), +) + +MCP_TOOL_SCHEMA_CONFIGURATION: StaticSchema = ( + 19, + n0, + _MTSC, + 0, + (_s_, _iPn), + ((S3_CONFIGURATION, 0), (INLINE_PAYLOAD, 0)), +) + +TARGET_RESOURCE_PRIORITY: StaticSchema = (7, n0, _TRP, 0) + +MCP_SERVER_TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MSTC, + 0, + (_end, _mTS, _lMi, _rP), + ( + (3, 1), + (MCP_TOOL_SCHEMA_CONFIGURATION, 0), + (LISTING_MODE, 0), + (TARGET_RESOURCE_PRIORITY, 0), + ), +) + +O_AUTH2_AUTHORIZATION_DATA: StaticSchema = ( + 18, + n0, + _OAAD, + 0, + (_aU, _uI), + ((3, 1), (3, 0)), +) + +AUTHORIZATION_DATA: StaticSchema = ( + 19, + n0, + _ADu, + 0, + (_oa,), + ((O_AUTH2_AUTHORIZATION_DATA, 0),), +) + +DOMAIN_NAME: StaticSchema = (3, n0, _DNo, 0) + +RESOURCE_ASSOCIATION_ARN: StaticSchema = (3, n0, _RAA, 0) + +RESOURCE_GATEWAY_ARN: StaticSchema = (3, n0, _RGA, 0) + +MANAGED_RESOURCE_DETAILS: StaticSchema = ( + 18, + n0, + _MRD, + 0, + (_do, _rGA, _rAA), + ((DOMAIN_NAME, 0), (RESOURCE_GATEWAY_ARN, 0), (RESOURCE_ASSOCIATION_ARN, 0)), +) + +PRIVATE_ENDPOINT_MANAGED_RESOURCES: StaticSchema = ( + 16, + n0, + _PEMR, + 0, + (_mem,), + ((MANAGED_RESOURCE_DETAILS, 0),), +) + +TARGET_PROTOCOL_TYPE: StaticSchema = ( + 14, + n0, + _TPT, + 0, + (_MCP, _HTTP), + ((-1, {_sVm: _MCP}), (-1, {_sVm: _HTTP})), +) + +TARGET_STATUS: StaticSchema = ( + 14, + n0, + _TS, + 0, + ( + _CREATING, + _UPDATING, + _UU, + _DELETING, + _READY, + _FAILED, + _SYNCHRONIZING, + _SU_, + _CPA_, + _UPA, + _SPA, + ), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UU}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _FAILED}), + (-1, {_sVm: _SYNCHRONIZING}), + (-1, {_sVm: _SU_}), + (-1, {_sVm: _CPA_}), + (-1, {_sVm: _UPA}), + (-1, {_sVm: _SPA}), + ), +) + +TARGET_ID: StaticSchema = (3, n0, _TI, 0) + +DELETE_GATEWAY_TARGET_INPUT: StaticSchema = ( + 18, + n0, + _DGTI, + {_sSI: _cDGTR, _smith: None}, + (_gI, _tI), + ((lambda: schemas.GATEWAY_IDENTIFIER, 9), (TARGET_ID, 9)), +) + +DELETE_GATEWAY_TARGET_OUTPUT: StaticSchema = ( + 18, + n0, + _DGTO, + {_sSI: _cDGTRo, _smithy: None}, + (_gA, _tI, _st, _sRta), + ( + (lambda: schemas.GATEWAY_ARN, 1), + (TARGET_ID, 1), + (TARGET_STATUS, 1), + (lambda: schemas.STATUS_REASONS, 0), + ), +) + +DELETE_GATEWAY_TARGET: StaticOperationSchema = ( + 23, + n0, + _DGT, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/gateways/{gatewayIdentifier}/targets/{targetId}/", + } + ) + }, + DELETE_GATEWAY_TARGET_INPUT, + DELETE_GATEWAY_TARGET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_GATEWAY_TARGET_INPUT: StaticSchema = ( + 18, + n0, + _GGTI, + {_sSI: _cGGTR, _smith: None}, + (_gI, _tI), + ((lambda: schemas.GATEWAY_IDENTIFIER, 9), (TARGET_ID, 9)), +) + +GET_GATEWAY_TARGET_OUTPUT: StaticSchema = ( + 18, + n0, + _GGTO, + {_sSI: _cGGTRo, _smithy: None}, + ( + _gA, + _tI, + _cA, + _uA, + _st, + _sRta, + _n, + _d, + _tCa, + _cPCr, + _lSAa, + _mC, + _pE, + _pEMR, + _aDu, + _pTr, + _cCe, + ), + ( + (lambda: schemas.GATEWAY_ARN, 1), + (TARGET_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (TARGET_STATUS, 1), + (lambda: schemas.STATUS_REASONS, 0), + (lambda: schemas.TARGET_NAME, 1), + (TARGET_DESCRIPTION, 0), + (lambda: schemas.TARGET_CONFIGURATION, 1), + (CREDENTIAL_PROVIDER_CONFIGURATIONS, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + (METADATA_CONFIGURATION, 0), + (lambda: schemas.PRIVATE_ENDPOINT, 0), + (PRIVATE_ENDPOINT_MANAGED_RESOURCES, 0), + (AUTHORIZATION_DATA, 0), + (TARGET_PROTOCOL_TYPE, 0), + (lambda: schemas.CERTIFICATE_CONFIGURATION_LIST, 0), + ), +) + +GET_GATEWAY_TARGET: StaticOperationSchema = ( + 23, + n0, + _GGT, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/gateways/{gatewayIdentifier}/targets/{targetId}/", + } + ) + }, + GET_GATEWAY_TARGET_INPUT, + GET_GATEWAY_TARGET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TARGET_MAX_RESULTS: StaticSchema = (7, n0, _TMR, 0) + +TARGET_NEXT_TOKEN: StaticSchema = (3, n0, _TNT, 0) + +LIST_GATEWAY_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _LGTI, + {_sSI: _cLGTR, _smith: None}, + (_gI, _mR, _nT), + ( + (lambda: schemas.GATEWAY_IDENTIFIER, 9), + (TARGET_MAX_RESULTS, {_sQ: _mR}), + (TARGET_NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_GATEWAY_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LGTO, + {_sSI: _cLGTRo, _smithy: None}, + (_it, _nT), + ((lambda: TARGET_SUMMARIES, 1), (TARGET_NEXT_TOKEN, 0)), +) + +LIST_GATEWAY_TARGETS: StaticOperationSchema = ( + 23, + n0, + _LGT, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/gateways/{gatewayIdentifier}/targets/", + } + ) + }, + LIST_GATEWAY_TARGETS_INPUT, + LIST_GATEWAY_TARGETS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TARGET_TYPE: StaticSchema = ( + 14, + n0, + _TT, + 0, + (_OAS_, _SM, _MS, _LAMBDA, _AG_, _CONNECTOR, _AR_, _PASSTHROUGH, _PROVIDER, _HC), + ( + (-1, {_sVm: _OAS_}), + (-1, {_sVm: _SM}), + (-1, {_sVm: _MS}), + (-1, {_sVm: _LAMBDA}), + (-1, {_sVm: _AG_}), + (-1, {_sVm: _CONNECTOR}), + (-1, {_sVm: _AR_}), + (-1, {_sVm: _PASSTHROUGH}), + (-1, {_sVm: _PROVIDER}), + (-1, {_sVm: _HC}), + ), +) + +TARGET_SUMMARY: StaticSchema = ( + 18, + n0, + _TSa, + 0, + (_tI, _n, _st, _d, _cA, _uA, _rP, _lSAa, _aDu, _tT, _lMi), + ( + (TARGET_ID, 1), + (lambda: schemas.TARGET_NAME, 1), + (TARGET_STATUS, 1), + (TARGET_DESCRIPTION, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (TARGET_RESOURCE_PRIORITY, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + (AUTHORIZATION_DATA, 0), + (TARGET_TYPE, 0), + (LISTING_MODE, 0), + ), +) + +TARGET_SUMMARIES: StaticSchema = (16, n0, _TSar, 0, (_mem,), ((TARGET_SUMMARY, 0),)) + +TARGET_ID_LIST: StaticSchema = (16, n0, _TIL, 0, (_mem,), ((TARGET_ID, 0),)) + +SYNCHRONIZE_GATEWAY_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _SGTI, + {_sSI: _cSGTR, _smith: None}, + (_gI, _tIL), + ((lambda: schemas.GATEWAY_IDENTIFIER, 9), (TARGET_ID_LIST, 1)), +) + +SYNCHRONIZE_GATEWAY_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _SGTO, + {_sSI: _cSGTRo, _smithy: None}, + (_tar,), + ((lambda: schemas.GATEWAY_TARGET_LIST, 0),), +) + +SYNCHRONIZE_GATEWAY_TARGETS: StaticOperationSchema = ( + 23, + n0, + _SGT, + { + _smithya: MappingProxyType( + { + "code": 202, + "method": "PUT", + "uri": "/gateways/{gatewayIdentifier}/synchronizeTargets", + } + ) + }, + SYNCHRONIZE_GATEWAY_TARGETS_INPUT, + SYNCHRONIZE_GATEWAY_TARGETS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_sSI: _cGRPR, _smith: None}, + (_rAe,), + ((lambda: schemas.BEDROCK_AGENTCORE_RESOURCE_ARN, 9),), +) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_sSI: _cGRPRo, _smithy: None}, + (_pol,), + ((lambda: RESOURCE_POLICY_BODY, 0),), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRPe, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/resourcepolicy/{resourceArn}"} + ) + }, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RESOURCE_POLICY_BODY: StaticSchema = (3, n0, _RPB, 0) + +TOKEN_VAULT_ID_TYPE: StaticSchema = (3, n0, _TVIT, 0) + +GET_TOKEN_VAULT_INPUT: StaticSchema = ( + 18, + n0, + _GTVI, + {_sSI: _cGTVR, _smith: None}, + (_tVI,), + ((TOKEN_VAULT_ID_TYPE, 0),), +) + +GET_TOKEN_VAULT_OUTPUT: StaticSchema = ( + 18, + n0, + _GTVO, + {_sSI: _cGTVRo, _smithy: None}, + (_tVI, _kC, _lMD), + ((TOKEN_VAULT_ID_TYPE, 1), (lambda: KMS_CONFIGURATION, 1), (4, 1)), +) + +GET_TOKEN_VAULT: StaticOperationSchema = ( + 23, + n0, + _GTV, + { + _smithya: MappingProxyType( + {"uri": "/identities/get-token-vault", "method": "POST"} + ) + }, + GET_TOKEN_VAULT_INPUT, + GET_TOKEN_VAULT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +KEY_TYPE: StaticSchema = ( + 14, + n0, + _KT, + 0, + (_CMK, _SMK), + ((-1, {_sVm: _CMK}), (-1, {_sVm: _SMK})), +) + +KMS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KC, + 0, + (_kT, _kKA), + ((KEY_TYPE, 1), (lambda: schemas.KMS_KEY_ARN, 0)), +) + +HARNESS_ENDPOINT_DESCRIPTION: StaticSchema = (3, n0, _HED, 0) + +HARNESS_ENDPOINT_NAME: StaticSchema = (3, n0, _HEN, 0) + +HARNESS_ID: StaticSchema = (3, n0, _HI, 0) + +HARNESS_VERSION: StaticSchema = (3, n0, _HV, 0) + +CREATE_HARNESS_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CHEI, + {_sSI: _cCHER, _smith: None}, + (_hI, _eN, _tV, _d, _cT, _t), + ( + (HARNESS_ID, 9), + (HARNESS_ENDPOINT_NAME, 1), + (HARNESS_VERSION, 0), + (HARNESS_ENDPOINT_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_HARNESS_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CHEO, + {_sSI: _cCHERo, _smithy: None}, + (_end,), + ((lambda: schemas.HARNESS_ENDPOINT, 1),), +) + +CREATE_HARNESS_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CHE, + { + _smithya: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/harnesses/{harnessId}/endpoints"} + ) + }, + CREATE_HARNESS_ENDPOINT_INPUT, + CREATE_HARNESS_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_8.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_8.py new file mode 100644 index 000000000..123eb35fc --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_8.py @@ -0,0 +1,1306 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_sm = "smithy.api#required" +_k = "key" +_v = "value" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_mod = "model" +_NONE = "NONE" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_CF = "CREATE_FAILED" +_UF = "UPDATE_FAILED" +_DF = "DELETE_FAILED" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_smithya = "smithy.api#http" +_aRI = "agentRuntimeId" +_t = "tags" +_READY = "READY" +_tV = "targetVersion" +_aRA = "agentRuntimeArn" +_eN = "endpointName" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_lV = "liveVersion" +_fR = "failureReason" +_mR = "maxResults" +_nT = "nextToken" +_s_ = "s3" +_cC = "containerConfiguration" +_a = "arn" +_u = "uri" +_pa = "path" +_aRN = "agentRuntimeName" +_nC = "networkConfiguration" +_aCu = "authorizerConfiguration" +_lC = "lifecycleConfiguration" +_eV = "environmentVariables" +_fC = "filesystemConfigurations" +_ty = "type" +_eRA = "executionRoleArn" +_bAr = "browserArn" +_no = "none" +_cIA = "codeInterpreterArn" +_AG = "AGENTCORE_GATEWAY" +_mT = "maxTokens" +_te = "temperature" +_tP = "topP" +_mI = "modelId" +_lam = "lambda" +_SEMANTIC = "SEMANTIC" +_fM = "failureMode" +_gA = "gatewayArn" +_end = "endpoint" +_hI = "harnessId" +_HEA = "HarnessEndpointArn" +_HNa = "HarnessName" +_HES = "HarnessEndpointStatus" +_HEa = "HarnessEndpoint" +_hN = "harnessName" +_DHEI = "DeleteHarnessEndpointInput" +_cDHER = "com.amazonaws.bedrockagentcorecontrol#DeleteHarnessEndpointRequest" +_DHEO = "DeleteHarnessEndpointOutput" +_cDHERo = "com.amazonaws.bedrockagentcorecontrol#DeleteHarnessEndpointResponse" +_DHE = "DeleteHarnessEndpoint" +_GHEI = "GetHarnessEndpointInput" +_cGHER = "com.amazonaws.bedrockagentcorecontrol#GetHarnessEndpointRequest" +_GHEO = "GetHarnessEndpointOutput" +_cGHERo = "com.amazonaws.bedrockagentcorecontrol#GetHarnessEndpointResponse" +_GHE = "GetHarnessEndpoint" +_LHEI = "ListHarnessEndpointsInput" +_cLHER = "com.amazonaws.bedrockagentcorecontrol#ListHarnessEndpointsRequest" +_HEar = "HarnessEndpoints" +_LHEO = "ListHarnessEndpointsOutput" +_cLHERo = "com.amazonaws.bedrockagentcorecontrol#ListHarnessEndpointsResponse" +_endp = "endpoints" +_LHE = "ListHarnessEndpoints" +_UHEI = "UpdateHarnessEndpointInput" +_cUHER = "com.amazonaws.bedrockagentcorecontrol#UpdateHarnessEndpointRequest" +_UHEO = "UpdateHarnessEndpointOutput" +_cUHERo = "com.amazonaws.bedrockagentcorecontrol#UpdateHarnessEndpointResponse" +_UHE = "UpdateHarnessEndpoint" +_HAT = "HarnessAllowedTool" +_HATa = "HarnessAllowedTools" +_HACRER = "HarnessAgentCoreRuntimeEnvironmentRequest" +_HEPR = "HarnessEnvironmentProviderRequest" +_aCRE = "agentCoreRuntimeEnvironment" +_HEAa = "HarnessEnvironmentArtifact" +_HHNa = "HarnessHookName" +_HEBBA = "HarnessEventBridgeBusArn" +_HHEBT = "HarnessHookEventBridgeTarget" +_HLFA = "HarnessLambdaFunctionArn" +_HHFM = "HarnessHookFailureMode" +_ALLOW = "ALLOW" +_al = "allow" +_DENY = "DENY" +_den = "deny" +_HHLT = "HarnessHookLambdaTarget" +_tSi = "timeoutSeconds" +_HSTA = "HarnessSnsTopicArn" +_HHST = "HarnessHookSnsTarget" +_HHT = "HarnessHookTarget" +_sn = "sns" +_eB = "eventBridge" +_HAIH = "HarnessAfterInvocationHook" +_ta = "target" +_HATCH = "HarnessAfterToolCallHook" +_HBIH = "HarnessBeforeInvocationHook" +_HBTCH = "HarnessBeforeToolCallHook" +_HH = "HarnessHook" +_bIe = "beforeInvocation" +_aI = "afterInvocation" +_bTC = "beforeToolCall" +_aTC = "afterToolCall" +_HHa = "HarnessHooks" +_HACMRC = "HarnessAgentCoreMemoryRetrievalConfig" +_tK = "topK" +_rSe = "relevanceScore" +_sIt = "strategyId" +_HACMRCa = "HarnessAgentCoreMemoryRetrievalConfigs" +_HACMC = "HarnessAgentCoreMemoryConfiguration" +_aIc = "actorId" +_mCe = "messagesCount" +_rCe = "retrievalConfig" +_HDMC = "HarnessDisabledMemoryConfiguration" +_HMMST = "HarnessManagedMemoryStrategyType" +_SUMMARIZATION = "SUMMARIZATION" +_UP = "USER_PREFERENCE" +_EPISODIC = "EPISODIC" +_HMMSL = "HarnessManagedMemoryStrategyList" +_HMMC = "HarnessManagedMemoryConfiguration" +_stra = "strategies" +_eED = "eventExpiryDuration" +_eKA = "encryptionKeyArn" +_HMC = "HarnessMemoryConfiguration" +_aCMC = "agentCoreMemoryConfiguration" +_mMC = "managedMemoryConfiguration" +_dis = "disabled" +_HBAF = "HarnessBedrockApiFormat" +_CS_ = "CONVERSE_STREAM" +_cs = "converse_stream" +_RESPONSES = "RESPONSES" +_res = "responses" +_CC__ = "CHAT_COMPLETIONS" +_cc = "chat_completions" +_MT = "MaxTokens" +_T = "Temperature" +_TPo = "TopP" +_HBMC = "HarnessBedrockModelConfig" +_aF = "apiFormat" +_aPd = "additionalParams" +_AKA = "ApiKeyArn" +_TKo = "TopK" +_HGMC = "HarnessGeminiModelConfig" +_aKA = "apiKeyArn" +_HLLAB = "HarnessLiteLlmApiBase" +_HLLMC = "HarnessLiteLlmModelConfig" +_aB = "apiBase" +_HOAAB = "HarnessOpenAiApiBase" +_HOAAF = "HarnessOpenAiApiFormat" +_HOAMC = "HarnessOpenAiModelConfig" +_HMCa = "HarnessModelConfiguration" +_bMC = "bedrockModelConfig" +_oAMC = "openAiModelConfig" +_gMC = "geminiModelConfig" +_lLMC = "liteLlmModelConfig" +_HASP = "HarnessAwsSkillPath" +_HASPa = "HarnessAwsSkillPaths" +_HSASS = "HarnessSkillAwsSkillsSource" +_pat = "paths" +_HSGA = "HarnessSkillGitAuth" +_cAr = "credentialArn" +_us = "username" +_HSGU = "HarnessSkillGitUrl" +_HSGS = "HarnessSkillGitSource" +_ur = "url" +_aut = "auth" +_HSP = "HarnessSkillPath" +_HSSU = "HarnessSkillS3Uri" +_HSSS = "HarnessSkillS3Source" +_HS = "HarnessSkill" +_gi = "git" +_aSw = "awsSkills" +_HSa = "HarnessSkills" +_STen = "SensitiveText" +_HSCB = "HarnessSystemContentBlock" +_tex = "text" +_HSPa = "HarnessSystemPrompt" +_HBA = "HarnessBrowserArn" +_HACBC = "HarnessAgentCoreBrowserConfig" +_HCIA = "HarnessCodeInterpreterArn" +_HACCIC = "HarnessAgentCoreCodeInterpreterConfig" +_HGOA = "HarnessGatewayOutboundAuth" +_aIw = "awsIam" +_oau = "oauth" +_HACGC = "HarnessAgentCoreGatewayConfig" +_oA = "outboundAuth" +_HIFD = "HarnessInlineFunctionDescription" +_HIFC = "HarnessInlineFunctionConfig" +_iS = "inputSchema" +_HHK = "HttpHeaderKey" +_HHV = "HttpHeaderValue" +_HHM = "HttpHeadersMap" +_HRMOA = "HarnessRemoteMcpOutboundAuth" +_HRMU = "HarnessRemoteMcpUrl" +_HRMC = "HarnessRemoteMcpConfig" +_h = "headers" +_HTCa = "HarnessToolConfiguration" +_rM = "remoteMcp" +_aCB = "agentCoreBrowser" +_aCG = "agentCoreGateway" +_iF = "inlineFunction" +_aCCI = "agentCoreCodeInterpreter" +_HTN = "HarnessToolName" +_HTT = "HarnessToolType" +_RM = "REMOTE_MCP" +_rm = "remote_mcp" +_AB = "AGENTCORE_BROWSER" +_ab = "agentcore_browser" +_ag_ = "agentcore_gateway" +_IF = "INLINE_FUNCTION" +_if = "inline_function" +_ACI = "AGENTCORE_CODE_INTERPRETER" +_aci = "agentcore_code_interpreter" +_HT = "HarnessTool" +_confi = "config" +_HTa = "HarnessTools" +_HSWC = "HarnessSlidingWindowConfiguration" +_HSC = "HarnessSummarizationConfiguration" +_sRu = "summaryRatio" +_pRM = "preserveRecentMessages" +_sSP = "summarizationSystemPrompt" +_HTSC = "HarnessTruncationStrategyConfiguration" +_sW = "slidingWindow" +_sum = "summarization" +_HTS = "HarnessTruncationStrategy" +_SW = "SLIDING_WINDOW" +_sw = "sliding_window" +_HTCar = "HarnessTruncationConfiguration" +_strat = "strategy" +_CHI = "CreateHarnessInput" +_cCHR = "com.amazonaws.bedrockagentcorecontrol#CreateHarnessRequest" +_env = "environment" +_eAn = "environmentArtifact" +_sPy = "systemPrompt" +_too = "tools" +_sk = "skills" +_aTl = "allowedTools" +_memo = "memory" +_tr = "truncation" +_ho = "hooks" +_mIa = "maxIterations" +_HA = "HarnessArn" +_HACRE = "HarnessAgentCoreRuntimeEnvironment" +_HEP = "HarnessEnvironmentProvider" +_HSar = "HarnessStatus" +_H = "Harness" +_hV = "harnessVersion" +_CHO = "CreateHarnessOutput" +_cCHRo = "com.amazonaws.bedrockagentcorecontrol#CreateHarnessResponse" +_ha = "harness" +_CH = "CreateHarness" + +HARNESS_ENDPOINT_ARN: StaticSchema = (3, n0, _HEA, 0) + +HARNESS_NAME: StaticSchema = (3, n0, _HNa, 0) + +HARNESS_ENDPOINT_STATUS: StaticSchema = ( + 14, + n0, + _HES, + 0, + (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + ), +) + +HARNESS_ENDPOINT: StaticSchema = ( + 18, + n0, + _HEa, + 0, + (_hI, _hN, _eN, _a, _st, _cA, _uA, _lV, _tV, _d, _fR), + ( + (lambda: schemas.HARNESS_ID, 1), + (HARNESS_NAME, 1), + (lambda: schemas.HARNESS_ENDPOINT_NAME, 1), + (HARNESS_ENDPOINT_ARN, 1), + (HARNESS_ENDPOINT_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.HARNESS_VERSION, 0), + (lambda: schemas.HARNESS_VERSION, 0), + (lambda: schemas.HARNESS_ENDPOINT_DESCRIPTION, 0), + (3, 0), + ), +) + +DELETE_HARNESS_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DHEI, + {_sSI: _cDHER, _smith: None}, + (_hI, _eN, _cT), + ( + (lambda: schemas.HARNESS_ID, 9), + (lambda: schemas.HARNESS_ENDPOINT_NAME, 9), + (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None}), + ), +) + +DELETE_HARNESS_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DHEO, + {_sSI: _cDHERo, _smithy: None}, + (_end,), + ((HARNESS_ENDPOINT, 1),), +) + +DELETE_HARNESS_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DHE, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/harnesses/{harnessId}/endpoints/{endpointName}", + } + ) + }, + DELETE_HARNESS_ENDPOINT_INPUT, + DELETE_HARNESS_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_HARNESS_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _GHEI, + {_sSI: _cGHER, _smith: None}, + (_hI, _eN), + ((lambda: schemas.HARNESS_ID, 9), (lambda: schemas.HARNESS_ENDPOINT_NAME, 9)), +) + +GET_HARNESS_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _GHEO, + {_sSI: _cGHERo, _smithy: None}, + (_end,), + ((HARNESS_ENDPOINT, 1),), +) + +GET_HARNESS_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _GHE, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/harnesses/{harnessId}/endpoints/{endpointName}", + } + ) + }, + GET_HARNESS_ENDPOINT_INPUT, + GET_HARNESS_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_HARNESS_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _LHEI, + {_sSI: _cLHER, _smith: None}, + (_hI, _mR, _nT), + ( + (lambda: schemas.HARNESS_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_HARNESS_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LHEO, + {_sSI: _cLHERo, _smithy: None}, + (_endp, _nT), + ((lambda: HARNESS_ENDPOINTS, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_HARNESS_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _LHE, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/harnesses/{harnessId}/endpoints"} + ) + }, + LIST_HARNESS_ENDPOINTS_INPUT, + LIST_HARNESS_ENDPOINTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +HARNESS_ENDPOINTS: StaticSchema = (16, n0, _HEar, 0, (_mem,), ((HARNESS_ENDPOINT, 0),)) + +UPDATE_HARNESS_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _UHEI, + {_sSI: _cUHER, _smith: None}, + (_hI, _eN, _tV, _d, _cT), + ( + (lambda: schemas.HARNESS_ID, 9), + (lambda: schemas.HARNESS_ENDPOINT_NAME, 9), + (lambda: schemas.HARNESS_VERSION, 0), + (lambda: schemas.HARNESS_ENDPOINT_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +UPDATE_HARNESS_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _UHEO, + {_sSI: _cUHERo, _smithy: None}, + (_end,), + ((HARNESS_ENDPOINT, 1),), +) + +UPDATE_HARNESS_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _UHE, + { + _smithya: MappingProxyType( + { + "code": 200, + "method": "PATCH", + "uri": "/harnesses/{harnessId}/endpoints/{endpointName}", + } + ) + }, + UPDATE_HARNESS_ENDPOINT_INPUT, + UPDATE_HARNESS_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +HARNESS_ALLOWED_TOOL: StaticSchema = (3, n0, _HAT, 0) + +HARNESS_ALLOWED_TOOLS: StaticSchema = ( + 16, + n0, + _HATa, + 0, + (_mem,), + ((HARNESS_ALLOWED_TOOL, 0),), +) + +HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT_REQUEST: StaticSchema = ( + 18, + n0, + _HACRER, + 0, + (_lC, _nC, _fC), + ( + (lambda: schemas.LIFECYCLE_CONFIGURATION, 0), + (lambda: schemas.NETWORK_CONFIGURATION, 0), + (lambda: schemas.FILESYSTEM_CONFIGURATIONS, 0), + ), +) + +HARNESS_ENVIRONMENT_PROVIDER_REQUEST: StaticSchema = ( + 19, + n0, + _HEPR, + 0, + (_aCRE,), + ((HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT_REQUEST, 0),), +) + +HARNESS_ENVIRONMENT_ARTIFACT: StaticSchema = ( + 19, + n0, + _HEAa, + 0, + (_cC,), + ((lambda: schemas.CONTAINER_CONFIGURATION, 0),), +) + +HARNESS_HOOK_NAME: StaticSchema = (3, n0, _HHNa, 0) + +HARNESS_EVENT_BRIDGE_BUS_ARN: StaticSchema = (3, n0, _HEBBA, 0) + +HARNESS_HOOK_EVENT_BRIDGE_TARGET: StaticSchema = ( + 18, + n0, + _HHEBT, + 0, + (_a,), + ((HARNESS_EVENT_BRIDGE_BUS_ARN, 1),), +) + +HARNESS_LAMBDA_FUNCTION_ARN: StaticSchema = (3, n0, _HLFA, 0) + +HARNESS_HOOK_FAILURE_MODE: StaticSchema = ( + 14, + n0, + _HHFM, + 0, + (_ALLOW, _DENY), + ((-1, {_sVm: _al}), (-1, {_sVm: _den})), +) + +HARNESS_HOOK_LAMBDA_TARGET: StaticSchema = ( + 18, + n0, + _HHLT, + 0, + (_a, _tSi, _fM), + ( + (HARNESS_LAMBDA_FUNCTION_ARN, 1), + (7, {_smi: 60}), + (HARNESS_HOOK_FAILURE_MODE, {_smi: _den}), + ), +) + +HARNESS_SNS_TOPIC_ARN: StaticSchema = (3, n0, _HSTA, 0) + +HARNESS_HOOK_SNS_TARGET: StaticSchema = ( + 18, + n0, + _HHST, + 0, + (_a,), + ((HARNESS_SNS_TOPIC_ARN, 1),), +) + +HARNESS_HOOK_TARGET: StaticSchema = ( + 19, + n0, + _HHT, + 0, + (_lam, _sn, _eB), + ( + (HARNESS_HOOK_LAMBDA_TARGET, 0), + (HARNESS_HOOK_SNS_TARGET, 0), + (HARNESS_HOOK_EVENT_BRIDGE_TARGET, 0), + ), +) + +HARNESS_AFTER_INVOCATION_HOOK: StaticSchema = ( + 18, + n0, + _HAIH, + 0, + (_n, _ta), + ((HARNESS_HOOK_NAME, 1), (HARNESS_HOOK_TARGET, 1)), +) + +HARNESS_AFTER_TOOL_CALL_HOOK: StaticSchema = ( + 18, + n0, + _HATCH, + 0, + (_n, _ta), + ((HARNESS_HOOK_NAME, 1), (HARNESS_HOOK_TARGET, 1)), +) + +HARNESS_BEFORE_INVOCATION_HOOK: StaticSchema = ( + 18, + n0, + _HBIH, + 0, + (_n, _ta), + ((HARNESS_HOOK_NAME, 1), (HARNESS_HOOK_TARGET, 1)), +) + +HARNESS_BEFORE_TOOL_CALL_HOOK: StaticSchema = ( + 18, + n0, + _HBTCH, + 0, + (_n, _ta), + ((HARNESS_HOOK_NAME, 1), (HARNESS_HOOK_TARGET, 1)), +) + +HARNESS_HOOK: StaticSchema = ( + 19, + n0, + _HH, + 0, + (_bIe, _aI, _bTC, _aTC), + ( + (HARNESS_BEFORE_INVOCATION_HOOK, 0), + (HARNESS_AFTER_INVOCATION_HOOK, 0), + (HARNESS_BEFORE_TOOL_CALL_HOOK, 0), + (HARNESS_AFTER_TOOL_CALL_HOOK, 0), + ), +) + +HARNESS_HOOKS: StaticSchema = (16, n0, _HHa, 0, (_mem,), ((HARNESS_HOOK, 0),)) + +HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIG: StaticSchema = ( + 18, + n0, + _HACMRC, + 0, + (_tK, _rSe, _sIt), + ((7, 0), (9, 0), (3, 0)), +) + +HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIGS: StaticSchema = ( + 17, + n0, + _HACMRCa, + 0, + (_k, _v), + ((3, 0), (HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIG, 0)), +) + +HARNESS_AGENT_CORE_MEMORY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HACMC, + 0, + (_a, _aIc, _mCe, _rCe), + ( + (lambda: schemas.MEMORY_ARN, 1), + (3, 0), + (7, 0), + (HARNESS_AGENT_CORE_MEMORY_RETRIEVAL_CONFIGS, 0), + ), +) + +HARNESS_DISABLED_MEMORY_CONFIGURATION: StaticSchema = (18, n0, _HDMC, 0) + +HARNESS_MANAGED_MEMORY_STRATEGY_TYPE: StaticSchema = ( + 14, + n0, + _HMMST, + 0, + (_SEMANTIC, _SUMMARIZATION, _UP, _EPISODIC), + ( + (-1, {_sVm: _SEMANTIC}), + (-1, {_sVm: _SUMMARIZATION}), + (-1, {_sVm: _UP}), + (-1, {_sVm: _EPISODIC}), + ), +) + +HARNESS_MANAGED_MEMORY_STRATEGY_LIST: StaticSchema = ( + 16, + n0, + _HMMSL, + 0, + (_mem,), + ((HARNESS_MANAGED_MEMORY_STRATEGY_TYPE, 0),), +) + +HARNESS_MANAGED_MEMORY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HMMC, + 0, + (_a, _stra, _eED, _eKA), + ( + (lambda: schemas.MEMORY_ARN, 0), + (HARNESS_MANAGED_MEMORY_STRATEGY_LIST, 0), + (7, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +HARNESS_MEMORY_CONFIGURATION: StaticSchema = ( + 19, + n0, + _HMC, + 0, + (_aCMC, _mMC, _dis), + ( + (HARNESS_AGENT_CORE_MEMORY_CONFIGURATION, 0), + (HARNESS_MANAGED_MEMORY_CONFIGURATION, 0), + (HARNESS_DISABLED_MEMORY_CONFIGURATION, 0), + ), +) + +HARNESS_BEDROCK_API_FORMAT: StaticSchema = ( + 14, + n0, + _HBAF, + 0, + (_CS_, _RESPONSES, _CC__), + ((-1, {_sVm: _cs}), (-1, {_sVm: _res}), (-1, {_sVm: _cc})), +) + +MAX_TOKENS: StaticSchema = (7, n0, _MT, 0) + +TEMPERATURE: StaticSchema = (9, n0, _T, 0) + +TOP_P: StaticSchema = (9, n0, _TPo, 0) + +HARNESS_BEDROCK_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _HBMC, + 0, + (_mI, _mT, _te, _tP, _aF, _aPd), + ( + (lambda: schemas.MODEL_ID, 1), + (MAX_TOKENS, 0), + (TEMPERATURE, 0), + (TOP_P, 0), + (HARNESS_BEDROCK_API_FORMAT, 0), + (13, 0), + ), +) + +API_KEY_ARN: StaticSchema = (3, n0, _AKA, 0) + +TOP_K: StaticSchema = (7, n0, _TKo, 0) + +HARNESS_GEMINI_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _HGMC, + 0, + (_mI, _aKA, _mT, _te, _tP, _tK, _aPd), + ( + (lambda: schemas.MODEL_ID, 1), + (API_KEY_ARN, 1), + (MAX_TOKENS, 0), + (TEMPERATURE, 0), + (TOP_P, 0), + (TOP_K, 0), + (13, 0), + ), +) + +HARNESS_LITE_LLM_API_BASE: StaticSchema = (3, n0, _HLLAB, 4) + +HARNESS_LITE_LLM_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _HLLMC, + 0, + (_mI, _aKA, _aB, _mT, _te, _tP, _aPd), + ( + (lambda: schemas.MODEL_ID, 1), + (API_KEY_ARN, 0), + (HARNESS_LITE_LLM_API_BASE, 0), + (MAX_TOKENS, 0), + (TEMPERATURE, 0), + (TOP_P, 0), + (13, 0), + ), +) + +HARNESS_OPEN_AI_API_BASE: StaticSchema = (3, n0, _HOAAB, 4) + +HARNESS_OPEN_AI_API_FORMAT: StaticSchema = ( + 14, + n0, + _HOAAF, + 0, + (_CC__, _RESPONSES), + ((-1, {_sVm: _cc}), (-1, {_sVm: _res})), +) + +HARNESS_OPEN_AI_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _HOAMC, + 0, + (_mI, _aKA, _aB, _mT, _te, _tP, _aF, _aPd), + ( + (lambda: schemas.MODEL_ID, 1), + (API_KEY_ARN, 1), + (HARNESS_OPEN_AI_API_BASE, 0), + (MAX_TOKENS, 0), + (TEMPERATURE, 0), + (TOP_P, 0), + (HARNESS_OPEN_AI_API_FORMAT, 0), + (13, 0), + ), +) + +HARNESS_MODEL_CONFIGURATION: StaticSchema = ( + 19, + n0, + _HMCa, + 0, + (_bMC, _oAMC, _gMC, _lLMC), + ( + (HARNESS_BEDROCK_MODEL_CONFIG, 0), + (HARNESS_OPEN_AI_MODEL_CONFIG, 0), + (HARNESS_GEMINI_MODEL_CONFIG, 0), + (HARNESS_LITE_LLM_MODEL_CONFIG, 0), + ), +) + +HARNESS_AWS_SKILL_PATH: StaticSchema = (3, n0, _HASP, 0) + +HARNESS_AWS_SKILL_PATHS: StaticSchema = ( + 16, + n0, + _HASPa, + 0, + (_mem,), + ((HARNESS_AWS_SKILL_PATH, 0),), +) + +HARNESS_SKILL_AWS_SKILLS_SOURCE: StaticSchema = ( + 18, + n0, + _HSASS, + 0, + (_pat,), + ((HARNESS_AWS_SKILL_PATHS, 0),), +) + +HARNESS_SKILL_GIT_AUTH: StaticSchema = ( + 18, + n0, + _HSGA, + 0, + (_cAr, _us), + ((API_KEY_ARN, 1), (3, 0)), +) + +HARNESS_SKILL_GIT_URL: StaticSchema = (3, n0, _HSGU, 0) + +HARNESS_SKILL_GIT_SOURCE: StaticSchema = ( + 18, + n0, + _HSGS, + 0, + (_ur, _pa, _aut), + ((HARNESS_SKILL_GIT_URL, 1), (3, 0), (HARNESS_SKILL_GIT_AUTH, 0)), +) + +HARNESS_SKILL_PATH: StaticSchema = (3, n0, _HSP, 0) + +HARNESS_SKILL_S3_URI: StaticSchema = (3, n0, _HSSU, 0) + +HARNESS_SKILL_S3_SOURCE: StaticSchema = ( + 18, + n0, + _HSSS, + 0, + (_u,), + ((HARNESS_SKILL_S3_URI, 1),), +) + +HARNESS_SKILL: StaticSchema = ( + 19, + n0, + _HS, + 0, + (_pa, _s_, _gi, _aSw), + ( + (HARNESS_SKILL_PATH, 0), + (HARNESS_SKILL_S3_SOURCE, 0), + (HARNESS_SKILL_GIT_SOURCE, 0), + (HARNESS_SKILL_AWS_SKILLS_SOURCE, 0), + ), +) + +HARNESS_SKILLS: StaticSchema = (16, n0, _HSa, 0, (_mem,), ((HARNESS_SKILL, 0),)) + +SENSITIVE_TEXT: StaticSchema = (3, n0, _STen, 4) + +HARNESS_SYSTEM_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _HSCB, + 0, + (_tex,), + ((SENSITIVE_TEXT, 0),), +) + +HARNESS_SYSTEM_PROMPT: StaticSchema = ( + 16, + n0, + _HSPa, + 0, + (_mem,), + ((HARNESS_SYSTEM_CONTENT_BLOCK, 0),), +) + +HARNESS_BROWSER_ARN: StaticSchema = (3, n0, _HBA, 0) + +HARNESS_AGENT_CORE_BROWSER_CONFIG: StaticSchema = ( + 18, + n0, + _HACBC, + 0, + (_bAr,), + ((HARNESS_BROWSER_ARN, 0),), +) + +HARNESS_CODE_INTERPRETER_ARN: StaticSchema = (3, n0, _HCIA, 0) + +HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG: StaticSchema = ( + 18, + n0, + _HACCIC, + 0, + (_cIA,), + ((HARNESS_CODE_INTERPRETER_ARN, 0),), +) + +HARNESS_GATEWAY_OUTBOUND_AUTH: StaticSchema = ( + 19, + n0, + _HGOA, + 0, + (_aIw, _no, _oau), + ((-1, 0), (-1, 0), (lambda: schemas.O_AUTH_CREDENTIAL_PROVIDER, 0)), +) + +HARNESS_AGENT_CORE_GATEWAY_CONFIG: StaticSchema = ( + 18, + n0, + _HACGC, + 0, + (_gA, _oA), + ((lambda: schemas.GATEWAY_ARN, 1), (HARNESS_GATEWAY_OUTBOUND_AUTH, 0)), +) + +HARNESS_INLINE_FUNCTION_DESCRIPTION: StaticSchema = (3, n0, _HIFD, 4) + +HARNESS_INLINE_FUNCTION_CONFIG: StaticSchema = ( + 18, + n0, + _HIFC, + 0, + (_d, _iS), + ((HARNESS_INLINE_FUNCTION_DESCRIPTION, 1), (lambda: schemas.SENSITIVE_JSON, 1)), +) + +HTTP_HEADER_KEY: StaticSchema = (3, n0, _HHK, 0) + +HTTP_HEADER_VALUE: StaticSchema = (3, n0, _HHV, 0) + +HTTP_HEADERS_MAP: StaticSchema = ( + 17, + n0, + _HHM, + 4, + (_k, _v), + ((HTTP_HEADER_KEY, 0), (HTTP_HEADER_VALUE, 0)), +) + +HARNESS_REMOTE_MCP_OUTBOUND_AUTH: StaticSchema = ( + 19, + n0, + _HRMOA, + 0, + (_aIw, _no), + ((lambda: schemas.IAM_CREDENTIAL_PROVIDER, 0), (-1, 0)), +) + +HARNESS_REMOTE_MCP_URL: StaticSchema = (3, n0, _HRMU, 4) + +HARNESS_REMOTE_MCP_CONFIG: StaticSchema = ( + 18, + n0, + _HRMC, + 0, + (_ur, _h, _oA), + ( + (HARNESS_REMOTE_MCP_URL, 1), + (HTTP_HEADERS_MAP, 0), + (HARNESS_REMOTE_MCP_OUTBOUND_AUTH, 0), + ), +) + +HARNESS_TOOL_CONFIGURATION: StaticSchema = ( + 19, + n0, + _HTCa, + 0, + (_rM, _aCB, _aCG, _iF, _aCCI), + ( + (HARNESS_REMOTE_MCP_CONFIG, 0), + (HARNESS_AGENT_CORE_BROWSER_CONFIG, 0), + (HARNESS_AGENT_CORE_GATEWAY_CONFIG, 0), + (HARNESS_INLINE_FUNCTION_CONFIG, 0), + (HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG, 0), + ), +) + +HARNESS_TOOL_NAME: StaticSchema = (3, n0, _HTN, 0) + +HARNESS_TOOL_TYPE: StaticSchema = ( + 14, + n0, + _HTT, + 0, + (_RM, _AB, _AG, _IF, _ACI), + ( + (-1, {_sVm: _rm}), + (-1, {_sVm: _ab}), + (-1, {_sVm: _ag_}), + (-1, {_sVm: _if}), + (-1, {_sVm: _aci}), + ), +) + +HARNESS_TOOL: StaticSchema = ( + 18, + n0, + _HT, + 0, + (_ty, _n, _confi), + ((HARNESS_TOOL_TYPE, 1), (HARNESS_TOOL_NAME, 0), (HARNESS_TOOL_CONFIGURATION, 0)), +) + +HARNESS_TOOLS: StaticSchema = (16, n0, _HTa, 0, (_mem,), ((HARNESS_TOOL, 0),)) + +HARNESS_SLIDING_WINDOW_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HSWC, + 0, + (_mCe,), + ((7, 0),), +) + +HARNESS_SUMMARIZATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HSC, + 0, + (_sRu, _pRM, _sSP), + ((9, 0), (7, 0), (3, 0)), +) + +HARNESS_TRUNCATION_STRATEGY_CONFIGURATION: StaticSchema = ( + 19, + n0, + _HTSC, + 0, + (_sW, _sum), + ( + (HARNESS_SLIDING_WINDOW_CONFIGURATION, 0), + (HARNESS_SUMMARIZATION_CONFIGURATION, 0), + ), +) + +HARNESS_TRUNCATION_STRATEGY: StaticSchema = ( + 14, + n0, + _HTS, + 0, + (_SW, _SUMMARIZATION, _NONE), + ((-1, {_sVm: _sw}), (-1, {_sVm: _sum}), (-1, {_sVm: _no})), +) + +HARNESS_TRUNCATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HTCar, + 0, + (_strat, _confi), + ((HARNESS_TRUNCATION_STRATEGY, 1), (HARNESS_TRUNCATION_STRATEGY_CONFIGURATION, 0)), +) + +CREATE_HARNESS_INPUT: StaticSchema = ( + 18, + n0, + _CHI, + {_sSI: _cCHR, _smith: None}, + ( + _hN, + _cT, + _eRA, + _env, + _eAn, + _eV, + _aCu, + _mod, + _sPy, + _too, + _sk, + _aTl, + _memo, + _tr, + _ho, + _mIa, + _mT, + _tSi, + _t, + ), + ( + (HARNESS_NAME, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.ROLE_ARN, 1), + (HARNESS_ENVIRONMENT_PROVIDER_REQUEST, 0), + (HARNESS_ENVIRONMENT_ARTIFACT, 0), + (lambda: schemas.ENVIRONMENT_VARIABLES_MAP, 0), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (HARNESS_MODEL_CONFIGURATION, 0), + (HARNESS_SYSTEM_PROMPT, 0), + (HARNESS_TOOLS, 0), + (HARNESS_SKILLS, 0), + (HARNESS_ALLOWED_TOOLS, 0), + (HARNESS_MEMORY_CONFIGURATION, 0), + (HARNESS_TRUNCATION_CONFIGURATION, 0), + (HARNESS_HOOKS, 0), + (7, 0), + (7, 0), + (7, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_HARNESS_OUTPUT: StaticSchema = ( + 18, + n0, + _CHO, + {_sSI: _cCHRo, _smithy: None}, + (_ha,), + ((lambda: HARNESS, 1),), +) + +CREATE_HARNESS: StaticOperationSchema = ( + 23, + n0, + _CH, + {_smithya: MappingProxyType({"code": 201, "method": "POST", "uri": "/harnesses"})}, + CREATE_HARNESS_INPUT, + CREATE_HARNESS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +HARNESS_ARN: StaticSchema = (3, n0, _HA, 0) + +HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT: StaticSchema = ( + 18, + n0, + _HACRE, + 0, + (_aRA, _aRN, _aRI, _lC, _nC, _fC), + ( + (lambda: schemas.BEDROCK_AGENTCORE_RESOURCE_ARN, 1), + (3, 1), + (3, 1), + (lambda: schemas.LIFECYCLE_CONFIGURATION, 1), + (lambda: schemas.NETWORK_CONFIGURATION, 1), + (lambda: schemas.FILESYSTEM_CONFIGURATIONS, 0), + ), +) + +HARNESS_ENVIRONMENT_PROVIDER: StaticSchema = ( + 19, + n0, + _HEP, + 0, + (_aCRE,), + ((HARNESS_AGENT_CORE_RUNTIME_ENVIRONMENT, 0),), +) + +HARNESS_STATUS: StaticSchema = ( + 14, + n0, + _HSar, + 0, + (_CREATING, _CF, _UPDATING, _UF, _READY, _DELETING, _DF), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _READY}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + ), +) + +HARNESS: StaticSchema = ( + 18, + n0, + _H, + 0, + ( + _hI, + _hN, + _a, + _st, + _hV, + _eRA, + _cA, + _uA, + _mod, + _sPy, + _too, + _sk, + _aTl, + _tr, + _env, + _eAn, + _eV, + _aCu, + _memo, + _ho, + _mIa, + _mT, + _tSi, + _fR, + ), + ( + (lambda: schemas.HARNESS_ID, 1), + (HARNESS_NAME, 1), + (HARNESS_ARN, 1), + (HARNESS_STATUS, 1), + (lambda: schemas.HARNESS_VERSION, 0), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (HARNESS_MODEL_CONFIGURATION, 1), + (HARNESS_SYSTEM_PROMPT, 1), + (HARNESS_TOOLS, 1), + (HARNESS_SKILLS, 1), + (HARNESS_ALLOWED_TOOLS, 1), + (HARNESS_TRUNCATION_CONFIGURATION, 1), + (HARNESS_ENVIRONMENT_PROVIDER, 1), + (HARNESS_ENVIRONMENT_ARTIFACT, 0), + (lambda: schemas.ENVIRONMENT_VARIABLES_MAP, 0), + (lambda: schemas.AUTHORIZER_CONFIGURATION, 0), + (HARNESS_MEMORY_CONFIGURATION, 0), + (HARNESS_HOOKS, 0), + (7, 0), + (7, 0), + (7, 0), + (3, 0), + ), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_9.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_9.py new file mode 100644 index 000000000..5eec0f81d --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/_private/schemas_9.py @@ -0,0 +1,1293 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcorecontrol" +_sm = "smithy.api#required" +_k = "key" +_n = "name" +_d = "description" +_mem = "member" +_sVm = "smithy.api#enumValue" +_smi = "smithy.api#default" +_smit = "smithy.api#sensitive" +_mod = "model" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_ACTIVE = "ACTIVE" +_smithy = "smithy.api#output" +_st = "status" +_uA = "updatedAt" +_smithya = "smithy.api#http" +_t = "tags" +_cA = "createdAt" +_sQ = "smithy.api#httpQuery" +_fR = "failureReason" +_mR = "maxResults" +_nT = "nextToken" +_a = "arn" +_STRING = "STRING" +_ac = "action" +_aCu = "authorizerConfiguration" +_eV = "environmentVariables" +_ty = "type" +_eRA = "executionRoleArn" +_oV = "optionalValue" +_con = "configuration" +_FAILED = "FAILED" +_rAe = "resourceArn" +_mT = "maxTokens" +_mI = "modelId" +_de = "definition" +_le = "level" +_MO = "METADATA_ONLY" +_NUMBER = "NUMBER" +_hI = "harnessId" +_hN = "harnessName" +_tSi = "timeoutSeconds" +_MA = "MemoryArn" +_eED = "eventExpiryDuration" +_eKA = "encryptionKeyArn" +_env = "environment" +_eAn = "environmentArtifact" +_sPy = "systemPrompt" +_too = "tools" +_sk = "skills" +_aTl = "allowedTools" +_memo = "memory" +_tr = "truncation" +_ho = "hooks" +_mIa = "maxIterations" +_hV = "harnessVersion" +_ha = "harness" +_DHI = "DeleteHarnessInput" +_cDHR = "com.amazonaws.bedrockagentcorecontrol#DeleteHarnessRequest" +_dMM = "deleteManagedMemory" +_DHO = "DeleteHarnessOutput" +_cDHRo = "com.amazonaws.bedrockagentcorecontrol#DeleteHarnessResponse" +_DH = "DeleteHarness" +_GHI = "GetHarnessInput" +_cGHR = "com.amazonaws.bedrockagentcorecontrol#GetHarnessRequest" +_GHO = "GetHarnessOutput" +_cGHRo = "com.amazonaws.bedrockagentcorecontrol#GetHarnessResponse" +_GH = "GetHarness" +_LHI = "ListHarnessesInput" +_cLHR = "com.amazonaws.bedrockagentcorecontrol#ListHarnessesRequest" +_HSarn = "HarnessSummary" +_HSarne = "HarnessSummaries" +_LHO = "ListHarnessesOutput" +_cLHRo = "com.amazonaws.bedrockagentcorecontrol#ListHarnessesResponse" +_har = "harnesses" +_LHi = "ListHarnesses" +_LHVI = "ListHarnessVersionsInput" +_cLHVR = "com.amazonaws.bedrockagentcorecontrol#ListHarnessVersionsRequest" +_HVS = "HarnessVersionSummary" +_HVSa = "HarnessVersionSummaries" +_LHVO = "ListHarnessVersionsOutput" +_cLHVRo = "com.amazonaws.bedrockagentcorecontrol#ListHarnessVersionsResponse" +_hVa = "harnessVersions" +_LHV = "ListHarnessVersions" +_UHEA = "UpdatedHarnessEnvironmentArtifact" +_UHMC = "UpdatedHarnessMemoryConfiguration" +_UHI = "UpdateHarnessInput" +_cUHR = "com.amazonaws.bedrockagentcorecontrol#UpdateHarnessRequest" +_UHO = "UpdateHarnessOutput" +_cUHRo = "com.amazonaws.bedrockagentcorecontrol#UpdateHarnessResponse" +_UH = "UpdateHarness" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.bedrockagentcorecontrol#ListTagsForResourceRequest" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.bedrockagentcorecontrol#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_Ar = "Arn" +_MK = "MetadataKey" +_MVT = "MetadataValueType" +_STRINGLIST = "STRINGLIST" +_IK = "IndexedKey" +_IKL = "IndexedKeysList" +_Pro = "Prompt" +_EOCCI = "EpisodicOverrideConsolidationConfigurationInput" +_aTP = "appendToPrompt" +_EOECI = "EpisodicOverrideExtractionConfigurationInput" +_De = "Definition" +_LEIl = "LlmExtractionInstruction" +_NV = "NumberValidation" +_mV = "minValue" +_mVa = "maxValue" +_SLV = "StringListValidation" +_aV = "allowedValues" +_mIax = "maxItems" +_SVt = "StringValidation" +_V = "Validation" +_sVt = "stringValidation" +_sLV = "stringListValidation" +_nV = "numberValidation" +_LECl = "LlmExtractionConfig" +_lEI = "llmExtractionInstruction" +_va = "validation" +_ECx = "ExtractionConfig" +_lEC = "llmExtractionConfig" +_ETx = "ExtractionType" +_LI = "LLM_INFERRED" +_SC_ = "STRICTLY_CONSISTENT" +_MSE = "MetadataSchemaEntry" +_eTx = "extractionType" +_eCxt = "extractionConfig" +_MSL = "MetadataSchemaList" +_MRS = "MemoryRecordSchema" +_mS = "metadataSchema" +_Na = "Namespace" +_NL = "NamespacesList" +_EORCI = "EpisodicOverrideReflectionConfigurationInput" +_na = "namespaces" +_nTa = "namespaceTemplates" +_mRS = "memoryRecordSchema" +_EOCI = "EpisodicOverrideConfigurationInput" +_ext = "extraction" +_cons = "consolidation" +_ref = "reflection" +_ICIn = "InvocationConfigurationInput" +_tA = "topicArn" +_pDBN = "payloadDeliveryBucketName" +_MBTI = "MessageBasedTriggerInput" +_mCes = "messageCount" +_TBTI = "TimeBasedTriggerInput" +_iST = "idleSessionTimeout" +_TBTIo = "TokenBasedTriggerInput" +_tC = "tokenCount" +_TCI = "TriggerConditionInput" +_mBT = "messageBasedTrigger" +_tBT = "tokenBasedTrigger" +_tBTi = "timeBasedTrigger" +_TCIL = "TriggerConditionInputList" +_SMCI = "SelfManagedConfigurationInput" +_tCr = "triggerConditions" +_iCnv = "invocationConfiguration" +_hCWS = "historicalContextWindowSize" +_SOCCI = "SemanticOverrideConsolidationConfigurationInput" +_SOECI = "SemanticOverrideExtractionConfigurationInput" +_SOCI = "SemanticOverrideConfigurationInput" +_SOCCIu = "SummaryOverrideConsolidationConfigurationInput" +_SOCIu = "SummaryOverrideConfigurationInput" +_UPOCCI = "UserPreferenceOverrideConsolidationConfigurationInput" +_UPOECI = "UserPreferenceOverrideExtractionConfigurationInput" +_UPOCI = "UserPreferenceOverrideConfigurationInput" +_CCIu = "CustomConfigurationInput" +_sOe = "semanticOverride" +_sOu = "summaryOverride" +_uPO = "userPreferenceOverride" +_eO = "episodicOverride" +_sMC = "selfManagedConfiguration" +_Nam = "Name" +_REA = "RecordExpiryAction" +_REMOVE = "REMOVE" +_REDD = "RecordExpiryDurationDays" +_RES = "RecordExpirySpecification" +_rEDD = "recordExpiryDurationDays" +_CMSI = "CustomMemoryStrategyInput" +_rES = "recordExpirySpecification" +_ERCI = "EpisodicReflectionConfigurationInput" +_EMSI = "EpisodicMemoryStrategyInput" +_rCef = "reflectionConfiguration" +_SMSI = "SemanticMemoryStrategyInput" +_SMSIu = "SummaryMemoryStrategyInput" +_UPMSI = "UserPreferenceMemoryStrategyInput" +_MSI = "MemoryStrategyInput" +_sMS = "semanticMemoryStrategy" +_sMSu = "summaryMemoryStrategy" +_uPMS = "userPreferenceMemoryStrategy" +_cMS = "customMemoryStrategy" +_eMS = "episodicMemoryStrategy" +_MSIL = "MemoryStrategyInputList" +_NVK = "NamespaceVariableKey" +_NAV = "NamespaceAllowedValue" +_NAVL = "NamespaceAllowedValuesList" +_NRP = "NamespaceRegexPattern" +_NKV = "NamespaceKeyValidation" +_rPe = "regexPattern" +_NKE = "NamespaceKeyEntry" +_NKL = "NamespaceKeysList" +_CLo = "ContentLevel" +_FC__ = "FULL_CONTENT" +_CTo = "ContentType" +_MR_ = "MEMORY_RECORDS" +_CCont = "ContentConfiguration" +_CCLo = "ContentConfigurationList" +_KR = "KinesisResource" +_dSA = "dataStreamArn" +_cCon = "contentConfigurations" +_SDR = "StreamDeliveryResource" +_ki = "kinesis" +_SDRL = "StreamDeliveryResourcesList" +_SDRt = "StreamDeliveryResources" +_reso = "resources" +_CMIr = "CreateMemoryInput" +_mERA = "memoryExecutionRoleArn" +_mSe = "memoryStrategies" +_iK = "indexedKeys" +_nK = "namespaceKeys" +_sDR = "streamDeliveryResources" +_MIe = "MemoryId" +_MSe = "MemoryStatus" +_ECO = "EpisodicConsolidationOverride" +_SCO = "SemanticConsolidationOverride" +_SCOu = "SummaryConsolidationOverride" +_UPCO = "UserPreferenceConsolidationOverride" +_CCC = "CustomConsolidationConfiguration" +_sCO = "semanticConsolidationOverride" +_sCOu = "summaryConsolidationOverride" +_uPCO = "userPreferenceConsolidationOverride" +_eCO = "episodicConsolidationOverride" +_CCons = "ConsolidationConfiguration" +_cCC = "customConsolidationConfiguration" +_CMO = "CreateMemoryOutput" +_CM = "CreateMemory" + +MEMORY_ARN: StaticSchema = (3, n0, _MA, 0) + +DELETE_HARNESS_INPUT: StaticSchema = ( + 18, + n0, + _DHI, + {_sSI: _cDHR, _smith: None}, + (_hI, _cT, _dMM), + ( + (lambda: schemas.HARNESS_ID, 9), + (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None}), + (2, {_sQ: _dMM}), + ), +) + +DELETE_HARNESS_OUTPUT: StaticSchema = ( + 18, + n0, + _DHO, + {_sSI: _cDHRo, _smithy: None}, + (_ha,), + ((lambda: schemas.HARNESS, 0),), +) + +DELETE_HARNESS: StaticOperationSchema = ( + 23, + n0, + _DH, + { + _smithya: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/harnesses/{harnessId}"} + ) + }, + DELETE_HARNESS_INPUT, + DELETE_HARNESS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_HARNESS_INPUT: StaticSchema = ( + 18, + n0, + _GHI, + {_sSI: _cGHR, _smith: None}, + (_hI, _hV), + ((lambda: schemas.HARNESS_ID, 9), (lambda: schemas.HARNESS_VERSION, {_sQ: _hV})), +) + +GET_HARNESS_OUTPUT: StaticSchema = ( + 18, + n0, + _GHO, + {_sSI: _cGHRo, _smithy: None}, + (_ha,), + ((lambda: schemas.HARNESS, 1),), +) + +GET_HARNESS: StaticOperationSchema = ( + 23, + n0, + _GH, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/harnesses/{harnessId}"} + ) + }, + GET_HARNESS_INPUT, + GET_HARNESS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_HARNESSES_INPUT: StaticSchema = ( + 18, + n0, + _LHI, + {_sSI: _cLHR, _smith: None}, + (_mR, _nT), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_HARNESSES_OUTPUT: StaticSchema = ( + 18, + n0, + _LHO, + {_sSI: _cLHRo, _smithy: None}, + (_har, _nT), + ((lambda: HARNESS_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_HARNESSES: StaticOperationSchema = ( + 23, + n0, + _LHi, + {_smithya: MappingProxyType({"code": 200, "method": "GET", "uri": "/harnesses"})}, + LIST_HARNESSES_INPUT, + LIST_HARNESSES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +HARNESS_SUMMARY: StaticSchema = ( + 18, + n0, + _HSarn, + 0, + (_hI, _hN, _a, _st, _cA, _uA, _hV), + ( + (lambda: schemas.HARNESS_ID, 1), + (lambda: schemas.HARNESS_NAME, 1), + (lambda: schemas.HARNESS_ARN, 1), + (lambda: schemas.HARNESS_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.HARNESS_VERSION, 0), + ), +) + +HARNESS_SUMMARIES: StaticSchema = (16, n0, _HSarne, 0, (_mem,), ((HARNESS_SUMMARY, 0),)) + +LIST_HARNESS_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LHVI, + {_sSI: _cLHVR, _smith: None}, + (_hI, _mR, _nT), + ( + (lambda: schemas.HARNESS_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_HARNESS_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LHVO, + {_sSI: _cLHVRo, _smithy: None}, + (_hVa, _nT), + ((lambda: HARNESS_VERSION_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_HARNESS_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LHV, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/harnesses/{harnessId}/versions"} + ) + }, + LIST_HARNESS_VERSIONS_INPUT, + LIST_HARNESS_VERSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +HARNESS_VERSION_SUMMARY: StaticSchema = ( + 18, + n0, + _HVS, + 0, + (_hI, _hN, _a, _hV, _st, _cA, _uA, _fR), + ( + (lambda: schemas.HARNESS_ID, 1), + (lambda: schemas.HARNESS_NAME, 1), + (lambda: schemas.HARNESS_ARN, 1), + (lambda: schemas.HARNESS_VERSION, 1), + (lambda: schemas.HARNESS_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (3, 0), + ), +) + +HARNESS_VERSION_SUMMARIES: StaticSchema = ( + 16, + n0, + _HVSa, + 0, + (_mem,), + ((HARNESS_VERSION_SUMMARY, 0),), +) + +UPDATED_HARNESS_ENVIRONMENT_ARTIFACT: StaticSchema = ( + 18, + n0, + _UHEA, + 0, + (_oV,), + ((lambda: schemas.HARNESS_ENVIRONMENT_ARTIFACT, 0),), +) + +UPDATED_HARNESS_MEMORY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _UHMC, + 0, + (_oV,), + ((lambda: schemas.HARNESS_MEMORY_CONFIGURATION, 0),), +) + +UPDATE_HARNESS_INPUT: StaticSchema = ( + 18, + n0, + _UHI, + {_sSI: _cUHR, _smith: None}, + ( + _hI, + _cT, + _eRA, + _env, + _eAn, + _eV, + _aCu, + _mod, + _sPy, + _too, + _sk, + _aTl, + _memo, + _tr, + _ho, + _mIa, + _mT, + _tSi, + ), + ( + (lambda: schemas.HARNESS_ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.HARNESS_ENVIRONMENT_PROVIDER_REQUEST, 0), + (UPDATED_HARNESS_ENVIRONMENT_ARTIFACT, 0), + (lambda: schemas.ENVIRONMENT_VARIABLES_MAP, 0), + (lambda: schemas.UPDATED_AUTHORIZER_CONFIGURATION, 0), + (lambda: schemas.HARNESS_MODEL_CONFIGURATION, 0), + (lambda: schemas.HARNESS_SYSTEM_PROMPT, 0), + (lambda: schemas.HARNESS_TOOLS, 0), + (lambda: schemas.HARNESS_SKILLS, 0), + (lambda: schemas.HARNESS_ALLOWED_TOOLS, 0), + (UPDATED_HARNESS_MEMORY_CONFIGURATION, 0), + (lambda: schemas.HARNESS_TRUNCATION_CONFIGURATION, 0), + (lambda: schemas.HARNESS_HOOKS, 0), + (7, 0), + (7, 0), + (7, 0), + ), +) + +UPDATE_HARNESS_OUTPUT: StaticSchema = ( + 18, + n0, + _UHO, + {_sSI: _cUHRo, _smithy: None}, + (_ha,), + ((lambda: schemas.HARNESS, 1),), +) + +UPDATE_HARNESS: StaticOperationSchema = ( + 23, + n0, + _UH, + { + _smithya: MappingProxyType( + {"code": 200, "method": "PATCH", "uri": "/harnesses/{harnessId}"} + ) + }, + UPDATE_HARNESS_INPUT, + UPDATE_HARNESS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _smith: None}, + (_rAe,), + ((lambda: schemas.TAGGABLE_RESOURCES_ARN, 9),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smithy: None}, + (_t,), + ((lambda: schemas.TAGS_MAP, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + { + _smithya: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/tags/{resourceArn}"} + ) + }, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ARN: StaticSchema = (3, n0, _Ar, 0) + +METADATA_KEY: StaticSchema = (3, n0, _MK, 0) + +METADATA_VALUE_TYPE: StaticSchema = ( + 14, + n0, + _MVT, + 0, + (_STRING, _STRINGLIST, _NUMBER), + ((-1, {_sVm: _STRING}), (-1, {_sVm: _STRINGLIST}), (-1, {_sVm: _NUMBER})), +) + +INDEXED_KEY: StaticSchema = ( + 18, + n0, + _IK, + 0, + (_k, _ty), + ((METADATA_KEY, 1), (METADATA_VALUE_TYPE, 1)), +) + +INDEXED_KEYS_LIST: StaticSchema = (16, n0, _IKL, 0, (_mem,), ((INDEXED_KEY, 0),)) + +PROMPT: StaticSchema = (3, n0, _Pro, 4) + +EPISODIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _EOCCI, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +EPISODIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _EOECI, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +DEFINITION: StaticSchema = (3, n0, _De, 4) + +LLM_EXTRACTION_INSTRUCTION: StaticSchema = (3, n0, _LEIl, 4) + +NUMBER_VALIDATION: StaticSchema = (18, n0, _NV, 0, (_mV, _mVa), ((10, 0), (10, 0))) + +STRING_LIST_VALIDATION: StaticSchema = ( + 18, + n0, + _SLV, + 0, + (_aV, _mIax), + ((lambda: schemas.ALLOWED_STRING_LIST_VALUES_LIST, 0), (7, 0)), +) + +STRING_VALIDATION: StaticSchema = ( + 18, + n0, + _SVt, + 0, + (_aV,), + ((lambda: schemas.ALLOWED_STRING_VALUES_LIST, 1),), +) + +VALIDATION: StaticSchema = ( + 19, + n0, + _V, + 0, + (_sVt, _sLV, _nV), + ((STRING_VALIDATION, 0), (STRING_LIST_VALIDATION, 0), (NUMBER_VALIDATION, 0)), +) + +LLM_EXTRACTION_CONFIG: StaticSchema = ( + 18, + n0, + _LECl, + 0, + (_lEI, _de, _va), + ((LLM_EXTRACTION_INSTRUCTION, 0), (DEFINITION, 1), (VALIDATION, 0)), +) + +EXTRACTION_CONFIG: StaticSchema = ( + 19, + n0, + _ECx, + 0, + (_lEC,), + ((LLM_EXTRACTION_CONFIG, 0),), +) + +EXTRACTION_TYPE: StaticSchema = ( + 14, + n0, + _ETx, + 0, + (_LI, _SC_), + ((-1, {_sVm: _LI}), (-1, {_sVm: _SC_})), +) + +METADATA_SCHEMA_ENTRY: StaticSchema = ( + 18, + n0, + _MSE, + 0, + (_k, _ty, _eTx, _eCxt), + ( + (METADATA_KEY, 1), + (METADATA_VALUE_TYPE, 0), + (EXTRACTION_TYPE, 0), + (EXTRACTION_CONFIG, 0), + ), +) + +METADATA_SCHEMA_LIST: StaticSchema = ( + 16, + n0, + _MSL, + 0, + (_mem,), + ((METADATA_SCHEMA_ENTRY, 0),), +) + +MEMORY_RECORD_SCHEMA: StaticSchema = ( + 18, + n0, + _MRS, + 0, + (_mS,), + ((METADATA_SCHEMA_LIST, 0),), +) + +NAMESPACE: StaticSchema = (3, n0, _Na, 0) + +NAMESPACES_LIST: StaticSchema = (16, n0, _NL, 0, (_mem,), ((NAMESPACE, 0),)) + +EPISODIC_OVERRIDE_REFLECTION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _EORCI, + 0, + (_aTP, _mI, _na, _nTa, _mRS), + ( + (PROMPT, 1), + (3, 1), + (NAMESPACES_LIST, 0), + (NAMESPACES_LIST, 0), + (MEMORY_RECORD_SCHEMA, 0), + ), +) + +EPISODIC_OVERRIDE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _EOCI, + 0, + (_ext, _cons, _ref), + ( + (EPISODIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), + (EPISODIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), + (EPISODIC_OVERRIDE_REFLECTION_CONFIGURATION_INPUT, 0), + ), +) + +INVOCATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _ICIn, + 0, + (_tA, _pDBN), + ((ARN, 1), (3, 1)), +) + +MESSAGE_BASED_TRIGGER_INPUT: StaticSchema = ( + 18, + n0, + _MBTI, + 0, + (_mCes,), + ((7, {_smi: 6}),), +) + +TIME_BASED_TRIGGER_INPUT: StaticSchema = (18, n0, _TBTI, 0, (_iST,), ((7, {_smi: 20}),)) + +TOKEN_BASED_TRIGGER_INPUT: StaticSchema = ( + 18, + n0, + _TBTIo, + 0, + (_tC,), + ((7, {_smi: 5000}),), +) + +TRIGGER_CONDITION_INPUT: StaticSchema = ( + 19, + n0, + _TCI, + 0, + (_mBT, _tBT, _tBTi), + ( + (MESSAGE_BASED_TRIGGER_INPUT, 0), + (TOKEN_BASED_TRIGGER_INPUT, 0), + (TIME_BASED_TRIGGER_INPUT, 0), + ), +) + +TRIGGER_CONDITION_INPUT_LIST: StaticSchema = ( + 16, + n0, + _TCIL, + 0, + (_mem,), + ((TRIGGER_CONDITION_INPUT, 0),), +) + +SELF_MANAGED_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _SMCI, + 0, + (_tCr, _iCnv, _hCWS), + ( + (TRIGGER_CONDITION_INPUT_LIST, 0), + (INVOCATION_CONFIGURATION_INPUT, 1), + (7, {_smi: 4}), + ), +) + +SEMANTIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _SOCCI, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +SEMANTIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _SOECI, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +SEMANTIC_OVERRIDE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _SOCI, + 0, + (_ext, _cons), + ( + (SEMANTIC_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), + (SEMANTIC_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), + ), +) + +SUMMARY_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _SOCCIu, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +SUMMARY_OVERRIDE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _SOCIu, + 0, + (_cons,), + ((SUMMARY_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0),), +) + +USER_PREFERENCE_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UPOCCI, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +USER_PREFERENCE_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UPOECI, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +USER_PREFERENCE_OVERRIDE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UPOCI, + 0, + (_ext, _cons), + ( + (USER_PREFERENCE_OVERRIDE_EXTRACTION_CONFIGURATION_INPUT, 0), + (USER_PREFERENCE_OVERRIDE_CONSOLIDATION_CONFIGURATION_INPUT, 0), + ), +) + +CUSTOM_CONFIGURATION_INPUT: StaticSchema = ( + 19, + n0, + _CCIu, + 0, + (_sOe, _sOu, _uPO, _eO, _sMC), + ( + (SEMANTIC_OVERRIDE_CONFIGURATION_INPUT, 0), + (SUMMARY_OVERRIDE_CONFIGURATION_INPUT, 0), + (USER_PREFERENCE_OVERRIDE_CONFIGURATION_INPUT, 0), + (EPISODIC_OVERRIDE_CONFIGURATION_INPUT, 0), + (SELF_MANAGED_CONFIGURATION_INPUT, 0), + ), +) + +NAME: StaticSchema = (3, n0, _Nam, 0) + +RECORD_EXPIRY_ACTION: StaticSchema = ( + 14, + n0, + _REA, + 0, + (_REMOVE,), + ((-1, {_sVm: _REMOVE}),), +) + +RECORD_EXPIRY_DURATION_DAYS: StaticSchema = (7, n0, _REDD, 0) + +RECORD_EXPIRY_SPECIFICATION: StaticSchema = ( + 19, + n0, + _RES, + 0, + (_rEDD, _ac), + ((RECORD_EXPIRY_DURATION_DAYS, 0), (RECORD_EXPIRY_ACTION, 0)), +) + +CUSTOM_MEMORY_STRATEGY_INPUT: StaticSchema = ( + 18, + n0, + _CMSI, + 0, + (_n, _d, _na, _nTa, _con, _mRS, _rES), + ( + (NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (NAMESPACES_LIST, 0), + (NAMESPACES_LIST, 0), + (CUSTOM_CONFIGURATION_INPUT, 0), + (MEMORY_RECORD_SCHEMA, 0), + (RECORD_EXPIRY_SPECIFICATION, 0), + ), +) + +EPISODIC_REFLECTION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _ERCI, + 0, + (_na, _nTa, _mRS), + ((NAMESPACES_LIST, 0), (NAMESPACES_LIST, 0), (MEMORY_RECORD_SCHEMA, 0)), +) + +EPISODIC_MEMORY_STRATEGY_INPUT: StaticSchema = ( + 18, + n0, + _EMSI, + 0, + (_n, _d, _na, _nTa, _rCef, _mRS, _rES), + ( + (NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (NAMESPACES_LIST, 0), + (NAMESPACES_LIST, 0), + (EPISODIC_REFLECTION_CONFIGURATION_INPUT, 0), + (MEMORY_RECORD_SCHEMA, 0), + (RECORD_EXPIRY_SPECIFICATION, 0), + ), +) + +SEMANTIC_MEMORY_STRATEGY_INPUT: StaticSchema = ( + 18, + n0, + _SMSI, + 0, + (_n, _d, _na, _nTa, _mRS, _rES), + ( + (NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (NAMESPACES_LIST, 0), + (NAMESPACES_LIST, 0), + (MEMORY_RECORD_SCHEMA, 0), + (RECORD_EXPIRY_SPECIFICATION, 0), + ), +) + +SUMMARY_MEMORY_STRATEGY_INPUT: StaticSchema = ( + 18, + n0, + _SMSIu, + 0, + (_n, _d, _na, _nTa, _mRS, _rES), + ( + (NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (NAMESPACES_LIST, 0), + (NAMESPACES_LIST, 0), + (MEMORY_RECORD_SCHEMA, 0), + (RECORD_EXPIRY_SPECIFICATION, 0), + ), +) + +USER_PREFERENCE_MEMORY_STRATEGY_INPUT: StaticSchema = ( + 18, + n0, + _UPMSI, + 0, + (_n, _d, _na, _nTa, _mRS, _rES), + ( + (NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (NAMESPACES_LIST, 0), + (NAMESPACES_LIST, 0), + (MEMORY_RECORD_SCHEMA, 0), + (RECORD_EXPIRY_SPECIFICATION, 0), + ), +) + +MEMORY_STRATEGY_INPUT: StaticSchema = ( + 19, + n0, + _MSI, + 0, + (_sMS, _sMSu, _uPMS, _cMS, _eMS), + ( + (SEMANTIC_MEMORY_STRATEGY_INPUT, 0), + (SUMMARY_MEMORY_STRATEGY_INPUT, 0), + (USER_PREFERENCE_MEMORY_STRATEGY_INPUT, 0), + (CUSTOM_MEMORY_STRATEGY_INPUT, 0), + (EPISODIC_MEMORY_STRATEGY_INPUT, 0), + ), +) + +MEMORY_STRATEGY_INPUT_LIST: StaticSchema = ( + 16, + n0, + _MSIL, + 0, + (_mem,), + ((MEMORY_STRATEGY_INPUT, 0),), +) + +NAMESPACE_VARIABLE_KEY: StaticSchema = (3, n0, _NVK, 0) + +NAMESPACE_ALLOWED_VALUE: StaticSchema = (3, n0, _NAV, 0) + +NAMESPACE_ALLOWED_VALUES_LIST: StaticSchema = ( + 16, + n0, + _NAVL, + 0, + (_mem,), + ((NAMESPACE_ALLOWED_VALUE, 0),), +) + +NAMESPACE_REGEX_PATTERN: StaticSchema = (3, n0, _NRP, 0) + +NAMESPACE_KEY_VALIDATION: StaticSchema = ( + 18, + n0, + _NKV, + 0, + (_aV, _rPe), + ((NAMESPACE_ALLOWED_VALUES_LIST, 0), (NAMESPACE_REGEX_PATTERN, 0)), +) + +NAMESPACE_KEY_ENTRY: StaticSchema = ( + 18, + n0, + _NKE, + 0, + (_k, _va), + ((NAMESPACE_VARIABLE_KEY, 1), (NAMESPACE_KEY_VALIDATION, 0)), +) + +NAMESPACE_KEYS_LIST: StaticSchema = ( + 16, + n0, + _NKL, + 0, + (_mem,), + ((NAMESPACE_KEY_ENTRY, 0),), +) + +CONTENT_LEVEL: StaticSchema = ( + 14, + n0, + _CLo, + 0, + (_MO, _FC__), + ((-1, {_sVm: _MO}), (-1, {_sVm: _FC__})), +) + +CONTENT_TYPE: StaticSchema = (14, n0, _CTo, 0, (_MR_,), ((-1, {_sVm: _MR_}),)) + +CONTENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CCont, + 0, + (_ty, _le), + ((CONTENT_TYPE, 1), (CONTENT_LEVEL, {_smi: _MO})), +) + +CONTENT_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _CCLo, + 0, + (_mem,), + ((CONTENT_CONFIGURATION, 0),), +) + +KINESIS_RESOURCE: StaticSchema = ( + 18, + n0, + _KR, + 0, + (_dSA, _cCon), + ((ARN, 1), (CONTENT_CONFIGURATION_LIST, 1)), +) + +STREAM_DELIVERY_RESOURCE: StaticSchema = ( + 19, + n0, + _SDR, + 0, + (_ki,), + ((KINESIS_RESOURCE, 0),), +) + +STREAM_DELIVERY_RESOURCES_LIST: StaticSchema = ( + 16, + n0, + _SDRL, + 0, + (_mem,), + ((STREAM_DELIVERY_RESOURCE, 0),), +) + +STREAM_DELIVERY_RESOURCES: StaticSchema = ( + 18, + n0, + _SDRt, + 0, + (_reso,), + ((STREAM_DELIVERY_RESOURCES_LIST, 1),), +) + +CREATE_MEMORY_INPUT: StaticSchema = ( + 18, + n0, + _CMIr, + {_smith: None}, + (_cT, _n, _d, _eKA, _mERA, _eED, _mSe, _iK, _nK, _sDR, _t), + ( + (lambda: schemas.NON_EMPTY_STRING, 2), + (NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (ARN, 0), + (ARN, 0), + (7, 1), + (MEMORY_STRATEGY_INPUT_LIST, 0), + (INDEXED_KEYS_LIST, 0), + (NAMESPACE_KEYS_LIST, 0), + (STREAM_DELIVERY_RESOURCES, 0), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +CREATE_MEMORY_OUTPUT: StaticSchema = ( + 18, + n0, + _CMO, + {_smithy: None}, + (_memo,), + ((lambda: schemas.MEMORY, 0),), +) + +CREATE_MEMORY: StaticOperationSchema = ( + 23, + n0, + _CM, + { + _smithya: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/memories/create"} + ) + }, + CREATE_MEMORY_INPUT, + CREATE_MEMORY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEMORY_ID: StaticSchema = (3, n0, _MIe, 0) + +MEMORY_STATUS: StaticSchema = ( + 14, + n0, + _MSe, + 0, + (_CREATING, _ACTIVE, _FAILED, _DELETING, _UPDATING), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _FAILED}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _UPDATING}), + ), +) + +EPISODIC_CONSOLIDATION_OVERRIDE: StaticSchema = ( + 18, + n0, + _ECO, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +SEMANTIC_CONSOLIDATION_OVERRIDE: StaticSchema = ( + 18, + n0, + _SCO, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +SUMMARY_CONSOLIDATION_OVERRIDE: StaticSchema = ( + 18, + n0, + _SCOu, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +USER_PREFERENCE_CONSOLIDATION_OVERRIDE: StaticSchema = ( + 18, + n0, + _UPCO, + 0, + (_aTP, _mI), + ((PROMPT, 1), (3, 1)), +) + +CUSTOM_CONSOLIDATION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _CCC, + 0, + (_sCO, _sCOu, _uPCO, _eCO), + ( + (SEMANTIC_CONSOLIDATION_OVERRIDE, 0), + (SUMMARY_CONSOLIDATION_OVERRIDE, 0), + (USER_PREFERENCE_CONSOLIDATION_OVERRIDE, 0), + (EPISODIC_CONSOLIDATION_OVERRIDE, 0), + ), +) + +CONSOLIDATION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _CCons, + 0, + (_cCC,), + ((CUSTOM_CONSOLIDATION_CONFIGURATION, 0),), +) diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/aio/client.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/aio/client.py index 354c2799f..dd554d68d 100644 --- a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/aio/client.py +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/aio/config.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/aio/config.py index 5c7714289..2495d284d 100644 --- a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/aio/config.py +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/client.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/client.py index 86128aa77..b4c93f9dc 100644 --- a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/client.py +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/config.py b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/config.py index fca4a8833..c5a1423dc 100644 --- a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/config.py +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/models.pyi b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/models.pyi index e7132762a..57a104a94 100644 --- a/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/models.pyi +++ b/clients/aws-sdk-bedrock-agentcore-control/src/aws_sdk_bedrock_agentcore_control/models.pyi @@ -1,17 +1,1301 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self from smithy_core.deserializers import ShapeDeserializer -from smithy_core.documents import Document from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + A2aDescriptor as A2aDescriptor, + AccessDeniedException as AccessDeniedException, + ActionConfigurationBundle as ActionConfigurationBundle, + ActionRouteToTarget as ActionRouteToTarget, + ActionUnknown as ActionUnknown, + Action as Action, + _ActionDeserializer as _ActionDeserializer, + ActorTokenContentType as ActorTokenContentType, + AddDatasetExamplesInput as AddDatasetExamplesInput, + AddDatasetExamplesOutput as AddDatasetExamplesOutput, + AgentCardDefinition as AgentCardDefinition, + AgentManagedRuntimeType as AgentManagedRuntimeType, + AgentRuntime as AgentRuntime, + AgentRuntimeArtifactContainerConfiguration as AgentRuntimeArtifactContainerConfiguration, + AgentRuntimeArtifactCodeConfiguration as AgentRuntimeArtifactCodeConfiguration, + AgentRuntimeArtifactUnknown as AgentRuntimeArtifactUnknown, + AgentRuntimeArtifact as AgentRuntimeArtifact, + _AgentRuntimeArtifactDeserializer as _AgentRuntimeArtifactDeserializer, + AgentRuntimeEndpoint as AgentRuntimeEndpoint, + AgentRuntimeEndpointStatus as AgentRuntimeEndpointStatus, + AgentRuntimeStatus as AgentRuntimeStatus, + AgentRuntimeVersionSummary as AgentRuntimeVersionSummary, + AgentSkillsDescriptor as AgentSkillsDescriptor, + AllowedPortPort as AllowedPortPort, + AllowedPortPortRange as AllowedPortPortRange, + AllowedPortUnknown as AllowedPortUnknown, + AllowedPort as AllowedPort, + _AllowedPortDeserializer as _AllowedPortDeserializer, + AllowedWorkloadConfiguration as AllowedWorkloadConfiguration, + ApiGatewayTargetConfiguration as ApiGatewayTargetConfiguration, + ApiGatewayToolConfiguration as ApiGatewayToolConfiguration, + ApiGatewayToolFilter as ApiGatewayToolFilter, + ApiGatewayToolOverride as ApiGatewayToolOverride, + ApiKeyCredentialLocation as ApiKeyCredentialLocation, + ApiKeyCredentialProviderItem as ApiKeyCredentialProviderItem, + ApiSchemaConfigurationS3 as ApiSchemaConfigurationS3, + ApiSchemaConfigurationInlinePayload as ApiSchemaConfigurationInlinePayload, + ApiSchemaConfigurationUnknown as ApiSchemaConfigurationUnknown, + ApiSchemaConfiguration as ApiSchemaConfiguration, + _ApiSchemaConfigurationDeserializer as _ApiSchemaConfigurationDeserializer, + ApprovalConfiguration as ApprovalConfiguration, + AtlassianOauth2ProviderConfigInput as AtlassianOauth2ProviderConfigInput, + AtlassianOauth2ProviderConfigOutput as AtlassianOauth2ProviderConfigOutput, + AuthorizationDataOauth2 as AuthorizationDataOauth2, + AuthorizationDataUnknown as AuthorizationDataUnknown, + AuthorizationData as AuthorizationData, + _AuthorizationDataDeserializer as _AuthorizationDataDeserializer, + AuthorizerConfigurationCustomJWTAuthorizer as AuthorizerConfigurationCustomJWTAuthorizer, + AuthorizerConfigurationUnknown as AuthorizerConfigurationUnknown, + AuthorizerConfiguration as AuthorizerConfiguration, + _AuthorizerConfigurationDeserializer as _AuthorizerConfigurationDeserializer, + AuthorizerType as AuthorizerType, + AuthorizingClaimMatchValueType as AuthorizingClaimMatchValueType, + BatchPutGatewayRateLimitsInput as BatchPutGatewayRateLimitsInput, + BatchPutGatewayRateLimitsOutput as BatchPutGatewayRateLimitsOutput, + BatchPutLimitEntry as BatchPutLimitEntry, + BedrockEvaluatorModelConfig as BedrockEvaluatorModelConfig, + BrowserEnterprisePolicy as BrowserEnterprisePolicy, + BrowserEnterprisePolicyType as BrowserEnterprisePolicyType, + BrowserNetworkConfiguration as BrowserNetworkConfiguration, + BrowserNetworkMode as BrowserNetworkMode, + BrowserProfileStatus as BrowserProfileStatus, + BrowserProfileSummary as BrowserProfileSummary, + BrowserSigningConfigInput as BrowserSigningConfigInput, + BrowserSigningConfigOutput as BrowserSigningConfigOutput, + BrowserStatus as BrowserStatus, + BrowserSummary as BrowserSummary, + BuildLifecycleHooks as BuildLifecycleHooks, + CapacityProviderConfiguration as CapacityProviderConfiguration, + CapacityProviderStatus as CapacityProviderStatus, + CapacityProviderStatusCode as CapacityProviderStatusCode, + CapacityProviderSummary as CapacityProviderSummary, + CapacityProviderVolumeConfiguration as CapacityProviderVolumeConfiguration, + CapacityReservationPreference as CapacityReservationPreference, + CapacityReservationSpecification as CapacityReservationSpecification, + CapacityReservationTarget as CapacityReservationTarget, + CategoricalScaleDefinition as CategoricalScaleDefinition, + CedarPolicy as CedarPolicy, + Certificate as Certificate, + CertificateConfigurationS3 as CertificateConfigurationS3, + CertificateConfigurationSecretsManager as CertificateConfigurationSecretsManager, + CertificateConfigurationUnknown as CertificateConfigurationUnknown, + CertificateConfiguration as CertificateConfiguration, + _CertificateConfigurationDeserializer as _CertificateConfigurationDeserializer, + CertificateLocationSecretsManager as CertificateLocationSecretsManager, + CertificateLocationUnknown as CertificateLocationUnknown, + CertificateLocation as CertificateLocation, + _CertificateLocationDeserializer as _CertificateLocationDeserializer, + CircuitBreakerConfiguration as CircuitBreakerConfiguration, + CircuitBreakerMode as CircuitBreakerMode, + ClaimMatchOperatorType as ClaimMatchOperatorType, + ClaimMatchValueTypeMatchValueString as ClaimMatchValueTypeMatchValueString, + ClaimMatchValueTypeMatchValueStringList as ClaimMatchValueTypeMatchValueStringList, + ClaimMatchValueTypeUnknown as ClaimMatchValueTypeUnknown, + ClaimMatchValueType as ClaimMatchValueType, + _ClaimMatchValueTypeDeserializer as _ClaimMatchValueTypeDeserializer, + ClientAuthenticationMethodType as ClientAuthenticationMethodType, + CloudWatchLogsInputConfig as CloudWatchLogsInputConfig, + CloudWatchOutputConfig as CloudWatchOutputConfig, + ClusteringConfig as ClusteringConfig, + ClusteringFrequency as ClusteringFrequency, + CodeS3 as CodeS3, + CodeUnknown as CodeUnknown, + Code as Code, + _CodeDeserializer as _CodeDeserializer, + CodeBasedEvaluatorConfigLambdaConfig as CodeBasedEvaluatorConfigLambdaConfig, + CodeBasedEvaluatorConfigUnknown as CodeBasedEvaluatorConfigUnknown, + CodeBasedEvaluatorConfig as CodeBasedEvaluatorConfig, + _CodeBasedEvaluatorConfigDeserializer as _CodeBasedEvaluatorConfigDeserializer, + CodeConfiguration as CodeConfiguration, + CodeInterpreterNetworkConfiguration as CodeInterpreterNetworkConfiguration, + CodeInterpreterNetworkMode as CodeInterpreterNetworkMode, + CodeInterpreterStatus as CodeInterpreterStatus, + CodeInterpreterSummary as CodeInterpreterSummary, + CoinbaseCdpConfigurationInput as CoinbaseCdpConfigurationInput, + CoinbaseCdpConfigurationOutput as CoinbaseCdpConfigurationOutput, + CoinbaseCdpRotationTargets as CoinbaseCdpRotationTargets, + CoinbaseCdpSecret as CoinbaseCdpSecret, + ComponentConfiguration as ComponentConfiguration, + ComputeConfigurationEc2Configuration as ComputeConfigurationEc2Configuration, + ComputeConfigurationUnknown as ComputeConfigurationUnknown, + ComputeConfiguration as ComputeConfiguration, + _ComputeConfigurationDeserializer as _ComputeConfigurationDeserializer, + ConcurrentModificationException as ConcurrentModificationException, + ConditionMatchPrincipals as ConditionMatchPrincipals, + ConditionMatchPaths as ConditionMatchPaths, + ConditionMatchModels as ConditionMatchModels, + ConditionUnknown as ConditionUnknown, + Condition as Condition, + _ConditionDeserializer as _ConditionDeserializer, + ConfigurationBundleActionStaticOverride as ConfigurationBundleActionStaticOverride, + ConfigurationBundleActionWeightedOverride as ConfigurationBundleActionWeightedOverride, + ConfigurationBundleActionUnknown as ConfigurationBundleActionUnknown, + ConfigurationBundleAction as ConfigurationBundleAction, + _ConfigurationBundleActionDeserializer as _ConfigurationBundleActionDeserializer, + ConfigurationBundleReference as ConfigurationBundleReference, + ConfigurationBundleStatus as ConfigurationBundleStatus, + ConfigurationBundleSummary as ConfigurationBundleSummary, + ConfigurationBundleVersionSummary as ConfigurationBundleVersionSummary, + ConflictException as ConflictException, + ConnectorConfiguration as ConnectorConfiguration, + ConnectorParameterOverride as ConnectorParameterOverride, + ConnectorSource as ConnectorSource, + ConnectorTargetConfiguration as ConnectorTargetConfiguration, + ConsentPortalIdpConfig as ConsentPortalIdpConfig, + ConsentPortalSource as ConsentPortalSource, + ConsentPortalSourceType as ConsentPortalSourceType, + ConsentPortalStatus as ConsentPortalStatus, + ConsentPortalSummary as ConsentPortalSummary, + ConsolidationConfigurationCustomConsolidationConfiguration as ConsolidationConfigurationCustomConsolidationConfiguration, + ConsolidationConfigurationUnknown as ConsolidationConfigurationUnknown, + ConsolidationConfiguration as ConsolidationConfiguration, + _ConsolidationConfigurationDeserializer as _ConsolidationConfigurationDeserializer, + ContainerConfiguration as ContainerConfiguration, + ContentRawText as ContentRawText, + ContentUnknown as ContentUnknown, + Content as Content, + _ContentDeserializer as _ContentDeserializer, + ContentConfiguration as ContentConfiguration, + ContentLevel as ContentLevel, + ContentType as ContentType, + CreateAgentRuntimeEndpointInput as CreateAgentRuntimeEndpointInput, + CreateAgentRuntimeEndpointOutput as CreateAgentRuntimeEndpointOutput, + CreateAgentRuntimeInput as CreateAgentRuntimeInput, + CreateAgentRuntimeOutput as CreateAgentRuntimeOutput, + CreateApiKeyCredentialProviderInput as CreateApiKeyCredentialProviderInput, + CreateApiKeyCredentialProviderOutput as CreateApiKeyCredentialProviderOutput, + CreateBrowserInput as CreateBrowserInput, + CreateBrowserOutput as CreateBrowserOutput, + CreateBrowserProfileInput as CreateBrowserProfileInput, + CreateBrowserProfileOutput as CreateBrowserProfileOutput, + CreateCapacityProviderInput as CreateCapacityProviderInput, + CreateCapacityProviderOutput as CreateCapacityProviderOutput, + CreateCodeInterpreterInput as CreateCodeInterpreterInput, + CreateCodeInterpreterOutput as CreateCodeInterpreterOutput, + CreateConfigurationBundleInput as CreateConfigurationBundleInput, + CreateConfigurationBundleOutput as CreateConfigurationBundleOutput, + CreateConsentPortalInput as CreateConsentPortalInput, + CreateConsentPortalOutput as CreateConsentPortalOutput, + CreateDatasetInput as CreateDatasetInput, + CreateDatasetOutput as CreateDatasetOutput, + CreateDatasetVersionInput as CreateDatasetVersionInput, + CreateDatasetVersionOutput as CreateDatasetVersionOutput, + CreateEvaluatorInput as CreateEvaluatorInput, + CreateEvaluatorOutput as CreateEvaluatorOutput, + CreateGatewayInput as CreateGatewayInput, + CreateGatewayOutput as CreateGatewayOutput, + CreateGatewayRateLimitInput as CreateGatewayRateLimitInput, + CreateGatewayRateLimitOutput as CreateGatewayRateLimitOutput, + CreateGatewayRuleInput as CreateGatewayRuleInput, + CreateGatewayRuleOutput as CreateGatewayRuleOutput, + CreateGatewayTargetInput as CreateGatewayTargetInput, + CreateGatewayTargetOutput as CreateGatewayTargetOutput, + CreateHarnessEndpointInput as CreateHarnessEndpointInput, + CreateHarnessEndpointOutput as CreateHarnessEndpointOutput, + CreateHarnessInput as CreateHarnessInput, + CreateHarnessOutput as CreateHarnessOutput, + CreateMemoryInput as CreateMemoryInput, + CreateMemoryOutput as CreateMemoryOutput, + CreateOauth2CredentialProviderInput as CreateOauth2CredentialProviderInput, + CreateOauth2CredentialProviderOutput as CreateOauth2CredentialProviderOutput, + CreateOnlineEvaluationConfigInput as CreateOnlineEvaluationConfigInput, + CreateOnlineEvaluationConfigOutput as CreateOnlineEvaluationConfigOutput, + CreatePaymentConnectorInput as CreatePaymentConnectorInput, + CreatePaymentConnectorOutput as CreatePaymentConnectorOutput, + CreatePaymentCredentialProviderInput as CreatePaymentCredentialProviderInput, + CreatePaymentCredentialProviderOutput as CreatePaymentCredentialProviderOutput, + CreatePaymentManagerInput as CreatePaymentManagerInput, + CreatePaymentManagerOutput as CreatePaymentManagerOutput, + CreatePolicyEngineInput as CreatePolicyEngineInput, + CreatePolicyEngineOutput as CreatePolicyEngineOutput, + CreatePolicyInput as CreatePolicyInput, + CreatePolicyOutput as CreatePolicyOutput, + CreateRegistryInput as CreateRegistryInput, + CreateRegistryOutput as CreateRegistryOutput, + CreateRegistryRecordInput as CreateRegistryRecordInput, + CreateRegistryRecordOutput as CreateRegistryRecordOutput, + CreateWorkloadIdentityInput as CreateWorkloadIdentityInput, + CreateWorkloadIdentityOutput as CreateWorkloadIdentityOutput, + CredentialProviderOauthCredentialProvider as CredentialProviderOauthCredentialProvider, + CredentialProviderApiKeyCredentialProvider as CredentialProviderApiKeyCredentialProvider, + CredentialProviderIamCredentialProvider as CredentialProviderIamCredentialProvider, + CredentialProviderUnknown as CredentialProviderUnknown, + CredentialProvider as CredentialProvider, + _CredentialProviderDeserializer as _CredentialProviderDeserializer, + CredentialProviderConfiguration as CredentialProviderConfiguration, + CredentialProviderType as CredentialProviderType, + CredentialProviderVendorType as CredentialProviderVendorType, + CredentialRotationConfigCoinbaseCDP as CredentialRotationConfigCoinbaseCDP, + CredentialRotationConfigUnknown as CredentialRotationConfigUnknown, + CredentialRotationConfig as CredentialRotationConfig, + _CredentialRotationConfigDeserializer as _CredentialRotationConfigDeserializer, + CredentialsProviderConfigurationCoinbaseCDP as CredentialsProviderConfigurationCoinbaseCDP, + CredentialsProviderConfigurationStripePrivy as CredentialsProviderConfigurationStripePrivy, + CredentialsProviderConfigurationUnknown as CredentialsProviderConfigurationUnknown, + CredentialsProviderConfiguration as CredentialsProviderConfiguration, + _CredentialsProviderConfigurationDeserializer as _CredentialsProviderConfigurationDeserializer, + CustomClaimValidationType as CustomClaimValidationType, + CustomConfigurationInputSemanticOverride as CustomConfigurationInputSemanticOverride, + CustomConfigurationInputSummaryOverride as CustomConfigurationInputSummaryOverride, + CustomConfigurationInputUserPreferenceOverride as CustomConfigurationInputUserPreferenceOverride, + CustomConfigurationInputEpisodicOverride as CustomConfigurationInputEpisodicOverride, + CustomConfigurationInputSelfManagedConfiguration as CustomConfigurationInputSelfManagedConfiguration, + CustomConfigurationInputUnknown as CustomConfigurationInputUnknown, + CustomConfigurationInput as CustomConfigurationInput, + _CustomConfigurationInputDeserializer as _CustomConfigurationInputDeserializer, + CustomConsolidationConfigurationSemanticConsolidationOverride as CustomConsolidationConfigurationSemanticConsolidationOverride, + CustomConsolidationConfigurationSummaryConsolidationOverride as CustomConsolidationConfigurationSummaryConsolidationOverride, + CustomConsolidationConfigurationUserPreferenceConsolidationOverride as CustomConsolidationConfigurationUserPreferenceConsolidationOverride, + CustomConsolidationConfigurationEpisodicConsolidationOverride as CustomConsolidationConfigurationEpisodicConsolidationOverride, + CustomConsolidationConfigurationUnknown as CustomConsolidationConfigurationUnknown, + CustomConsolidationConfiguration as CustomConsolidationConfiguration, + _CustomConsolidationConfigurationDeserializer as _CustomConsolidationConfigurationDeserializer, + CustomConsolidationConfigurationInputSemanticConsolidationOverride as CustomConsolidationConfigurationInputSemanticConsolidationOverride, + CustomConsolidationConfigurationInputSummaryConsolidationOverride as CustomConsolidationConfigurationInputSummaryConsolidationOverride, + CustomConsolidationConfigurationInputUserPreferenceConsolidationOverride as CustomConsolidationConfigurationInputUserPreferenceConsolidationOverride, + CustomConsolidationConfigurationInputEpisodicConsolidationOverride as CustomConsolidationConfigurationInputEpisodicConsolidationOverride, + CustomConsolidationConfigurationInputUnknown as CustomConsolidationConfigurationInputUnknown, + CustomConsolidationConfigurationInput as CustomConsolidationConfigurationInput, + _CustomConsolidationConfigurationInputDeserializer as _CustomConsolidationConfigurationInputDeserializer, + CustomDescriptor as CustomDescriptor, + CustomExtractionConfigurationSemanticExtractionOverride as CustomExtractionConfigurationSemanticExtractionOverride, + CustomExtractionConfigurationUserPreferenceExtractionOverride as CustomExtractionConfigurationUserPreferenceExtractionOverride, + CustomExtractionConfigurationEpisodicExtractionOverride as CustomExtractionConfigurationEpisodicExtractionOverride, + CustomExtractionConfigurationUnknown as CustomExtractionConfigurationUnknown, + CustomExtractionConfiguration as CustomExtractionConfiguration, + _CustomExtractionConfigurationDeserializer as _CustomExtractionConfigurationDeserializer, + CustomExtractionConfigurationInputSemanticExtractionOverride as CustomExtractionConfigurationInputSemanticExtractionOverride, + CustomExtractionConfigurationInputUserPreferenceExtractionOverride as CustomExtractionConfigurationInputUserPreferenceExtractionOverride, + CustomExtractionConfigurationInputEpisodicExtractionOverride as CustomExtractionConfigurationInputEpisodicExtractionOverride, + CustomExtractionConfigurationInputUnknown as CustomExtractionConfigurationInputUnknown, + CustomExtractionConfigurationInput as CustomExtractionConfigurationInput, + _CustomExtractionConfigurationInputDeserializer as _CustomExtractionConfigurationInputDeserializer, + CustomJWTAuthorizerConfiguration as CustomJWTAuthorizerConfiguration, + CustomMemoryStrategyInput as CustomMemoryStrategyInput, + CustomOauth2ProviderConfigInput as CustomOauth2ProviderConfigInput, + CustomOauth2ProviderConfigOutput as CustomOauth2ProviderConfigOutput, + CustomReflectionConfigurationEpisodicReflectionOverride as CustomReflectionConfigurationEpisodicReflectionOverride, + CustomReflectionConfigurationUnknown as CustomReflectionConfigurationUnknown, + CustomReflectionConfiguration as CustomReflectionConfiguration, + _CustomReflectionConfigurationDeserializer as _CustomReflectionConfigurationDeserializer, + CustomReflectionConfigurationInputEpisodicReflectionOverride as CustomReflectionConfigurationInputEpisodicReflectionOverride, + CustomReflectionConfigurationInputUnknown as CustomReflectionConfigurationInputUnknown, + CustomReflectionConfigurationInput as CustomReflectionConfigurationInput, + _CustomReflectionConfigurationInputDeserializer as _CustomReflectionConfigurationInputDeserializer, + CustomTransformConfiguration as CustomTransformConfiguration, + DatasetSchemaType as DatasetSchemaType, + DatasetStatus as DatasetStatus, + DatasetSummary as DatasetSummary, + DatasetVersionSummary as DatasetVersionSummary, + DataSourceConfigCloudWatchLogs as DataSourceConfigCloudWatchLogs, + DataSourceConfigUnknown as DataSourceConfigUnknown, + DataSourceConfig as DataSourceConfig, + _DataSourceConfigDeserializer as _DataSourceConfigDeserializer, + DataSourceTypeInlineExamples as DataSourceTypeInlineExamples, + DataSourceTypeS3Source as DataSourceTypeS3Source, + DataSourceTypeUnknown as DataSourceTypeUnknown, + DataSourceType as DataSourceType, + _DataSourceTypeDeserializer as _DataSourceTypeDeserializer, + DecryptionFailure as DecryptionFailure, + DeleteAgentRuntimeEndpointInput as DeleteAgentRuntimeEndpointInput, + DeleteAgentRuntimeEndpointOutput as DeleteAgentRuntimeEndpointOutput, + DeleteAgentRuntimeInput as DeleteAgentRuntimeInput, + DeleteAgentRuntimeOutput as DeleteAgentRuntimeOutput, + DeleteApiKeyCredentialProviderInput as DeleteApiKeyCredentialProviderInput, + DeleteApiKeyCredentialProviderOutput as DeleteApiKeyCredentialProviderOutput, + DeleteBrowserInput as DeleteBrowserInput, + DeleteBrowserOutput as DeleteBrowserOutput, + DeleteBrowserProfileInput as DeleteBrowserProfileInput, + DeleteBrowserProfileOutput as DeleteBrowserProfileOutput, + DeleteCapacityProviderInput as DeleteCapacityProviderInput, + DeleteCapacityProviderOutput as DeleteCapacityProviderOutput, + DeleteCodeInterpreterInput as DeleteCodeInterpreterInput, + DeleteCodeInterpreterOutput as DeleteCodeInterpreterOutput, + DeleteConfigurationBundleInput as DeleteConfigurationBundleInput, + DeleteConfigurationBundleOutput as DeleteConfigurationBundleOutput, + DeleteConsentPortalInput as DeleteConsentPortalInput, + DeleteConsentPortalOutput as DeleteConsentPortalOutput, + DeleteDatasetExamplesInput as DeleteDatasetExamplesInput, + DeleteDatasetExamplesOutput as DeleteDatasetExamplesOutput, + DeleteDatasetInput as DeleteDatasetInput, + DeleteDatasetOutput as DeleteDatasetOutput, + DeleteEvaluatorInput as DeleteEvaluatorInput, + DeleteEvaluatorOutput as DeleteEvaluatorOutput, + DeleteGatewayInput as DeleteGatewayInput, + DeleteGatewayOutput as DeleteGatewayOutput, + DeleteGatewayRateLimitInput as DeleteGatewayRateLimitInput, + DeleteGatewayRateLimitOutput as DeleteGatewayRateLimitOutput, + DeleteGatewayRuleInput as DeleteGatewayRuleInput, + DeleteGatewayRuleOutput as DeleteGatewayRuleOutput, + DeleteGatewayTargetInput as DeleteGatewayTargetInput, + DeleteGatewayTargetOutput as DeleteGatewayTargetOutput, + DeleteHarnessEndpointInput as DeleteHarnessEndpointInput, + DeleteHarnessEndpointOutput as DeleteHarnessEndpointOutput, + DeleteHarnessInput as DeleteHarnessInput, + DeleteHarnessOutput as DeleteHarnessOutput, + DeleteMemoryInput as DeleteMemoryInput, + DeleteMemoryOutput as DeleteMemoryOutput, + DeleteMemoryStrategyInput as DeleteMemoryStrategyInput, + DeleteOauth2CredentialProviderInput as DeleteOauth2CredentialProviderInput, + DeleteOauth2CredentialProviderOutput as DeleteOauth2CredentialProviderOutput, + DeleteOnlineEvaluationConfigInput as DeleteOnlineEvaluationConfigInput, + DeleteOnlineEvaluationConfigOutput as DeleteOnlineEvaluationConfigOutput, + DeletePaymentConnectorInput as DeletePaymentConnectorInput, + DeletePaymentConnectorOutput as DeletePaymentConnectorOutput, + DeletePaymentCredentialProviderInput as DeletePaymentCredentialProviderInput, + DeletePaymentCredentialProviderOutput as DeletePaymentCredentialProviderOutput, + DeletePaymentManagerInput as DeletePaymentManagerInput, + DeletePaymentManagerOutput as DeletePaymentManagerOutput, + DeletePolicyEngineInput as DeletePolicyEngineInput, + DeletePolicyEngineOutput as DeletePolicyEngineOutput, + DeletePolicyInput as DeletePolicyInput, + DeletePolicyOutput as DeletePolicyOutput, + DeleteRegistryInput as DeleteRegistryInput, + DeleteRegistryOutput as DeleteRegistryOutput, + DeleteRegistryRecordInput as DeleteRegistryRecordInput, + DeleteRegistryRecordOutput as DeleteRegistryRecordOutput, + DeleteResourcePolicyInput as DeleteResourcePolicyInput, + DeleteResourcePolicyOutput as DeleteResourcePolicyOutput, + DeleteWorkloadIdentityInput as DeleteWorkloadIdentityInput, + DeleteWorkloadIdentityOutput as DeleteWorkloadIdentityOutput, +) + +from ._private.models_1 import ( + DerivedEvaluatorConfig as DerivedEvaluatorConfig, + Descriptors as Descriptors, + DescriptorType as DescriptorType, + DimensionRatingScaleNumerical as DimensionRatingScaleNumerical, + DimensionRatingScaleCategorical as DimensionRatingScaleCategorical, + DimensionRatingScaleUnknown as DimensionRatingScaleUnknown, + DimensionRatingScale as DimensionRatingScale, + _DimensionRatingScaleDeserializer as _DimensionRatingScaleDeserializer, + DomainOverride as DomainOverride, + DraftStatus as DraftStatus, + EbsVolumeConfiguration as EbsVolumeConfiguration, + EbsVolumeType as EbsVolumeType, + Ec2Configuration as Ec2Configuration, + EfsAccessPointConfiguration as EfsAccessPointConfiguration, + EfsConfiguration as EfsConfiguration, + EncryptionFailure as EncryptionFailure, + EndpointIpAddressType as EndpointIpAddressType, + EnforcementMode as EnforcementMode, + EphemeralBlockDeviceMapping as EphemeralBlockDeviceMapping, + EphemeralEBSVolumeConfiguration as EphemeralEBSVolumeConfiguration, + EpisodicConsolidationOverride as EpisodicConsolidationOverride, + EpisodicExtractionOverride as EpisodicExtractionOverride, + EpisodicMemoryStrategyInput as EpisodicMemoryStrategyInput, + EpisodicOverrideConfigurationInput as EpisodicOverrideConfigurationInput, + EpisodicOverrideConsolidationConfigurationInput as EpisodicOverrideConsolidationConfigurationInput, + EpisodicOverrideExtractionConfigurationInput as EpisodicOverrideExtractionConfigurationInput, + EpisodicOverrideReflectionConfigurationInput as EpisodicOverrideReflectionConfigurationInput, + EpisodicReflectionConfiguration as EpisodicReflectionConfiguration, + EpisodicReflectionConfigurationInput as EpisodicReflectionConfigurationInput, + EpisodicReflectionOverride as EpisodicReflectionOverride, + EvaluationDimension as EvaluationDimension, + EvaluatorConfigLlmAsAJudge as EvaluatorConfigLlmAsAJudge, + EvaluatorConfigCodeBased as EvaluatorConfigCodeBased, + EvaluatorConfigDerived as EvaluatorConfigDerived, + EvaluatorConfigUnknown as EvaluatorConfigUnknown, + EvaluatorConfig as EvaluatorConfig, + _EvaluatorConfigDeserializer as _EvaluatorConfigDeserializer, + EvaluatorLevel as EvaluatorLevel, + EvaluatorModelConfigBedrockEvaluatorModelConfig as EvaluatorModelConfigBedrockEvaluatorModelConfig, + EvaluatorModelConfigResponsesEvaluatorModelConfig as EvaluatorModelConfigResponsesEvaluatorModelConfig, + EvaluatorModelConfigUnknown as EvaluatorModelConfigUnknown, + EvaluatorModelConfig as EvaluatorModelConfig, + _EvaluatorModelConfigDeserializer as _EvaluatorModelConfigDeserializer, + EvaluatorReferenceEvaluatorId as EvaluatorReferenceEvaluatorId, + EvaluatorReferenceUnknown as EvaluatorReferenceUnknown, + EvaluatorReference as EvaluatorReference, + _EvaluatorReferenceDeserializer as _EvaluatorReferenceDeserializer, + EvaluatorStatus as EvaluatorStatus, + EvaluatorSummary as EvaluatorSummary, + EvaluatorType as EvaluatorType, + ExceptionLevel as ExceptionLevel, + ExtractionConfigLlmExtractionConfig as ExtractionConfigLlmExtractionConfig, + ExtractionConfigUnknown as ExtractionConfigUnknown, + ExtractionConfig as ExtractionConfig, + _ExtractionConfigDeserializer as _ExtractionConfigDeserializer, + ExtractionConfigurationCustomExtractionConfiguration as ExtractionConfigurationCustomExtractionConfiguration, + ExtractionConfigurationUnknown as ExtractionConfigurationUnknown, + ExtractionConfiguration as ExtractionConfiguration, + _ExtractionConfigurationDeserializer as _ExtractionConfigurationDeserializer, + ExtractionType as ExtractionType, + Fallback as Fallback, + FallbackError as FallbackError, + FallbackTarget as FallbackTarget, + FallbackTriggers as FallbackTriggers, + FilesystemConfigurationSessionStorage as FilesystemConfigurationSessionStorage, + FilesystemConfigurationS3FilesAccessPoint as FilesystemConfigurationS3FilesAccessPoint, + FilesystemConfigurationEfsAccessPoint as FilesystemConfigurationEfsAccessPoint, + FilesystemConfigurationCapacityProviderVolume as FilesystemConfigurationCapacityProviderVolume, + FilesystemConfigurationUnknown as FilesystemConfigurationUnknown, + FilesystemConfiguration as FilesystemConfiguration, + _FilesystemConfigurationDeserializer as _FilesystemConfigurationDeserializer, + Filter as Filter, + FilterOperator as FilterOperator, + FilterValueStringValue as FilterValueStringValue, + FilterValueDoubleValue as FilterValueDoubleValue, + FilterValueBooleanValue as FilterValueBooleanValue, + FilterValueUnknown as FilterValueUnknown, + FilterValue as FilterValue, + _FilterValueDeserializer as _FilterValueDeserializer, + Finding as Finding, + FindingType as FindingType, + FromUrlSynchronizationConfiguration as FromUrlSynchronizationConfiguration, + GatewayApiKeyCredentialProvider as GatewayApiKeyCredentialProvider, + GatewayInterceptionPoint as GatewayInterceptionPoint, + GatewayInterceptorConfiguration as GatewayInterceptorConfiguration, + GatewayPolicyEngineConfiguration as GatewayPolicyEngineConfiguration, + GatewayPolicyEngineMode as GatewayPolicyEngineMode, + GatewayProtocolConfigurationMcp as GatewayProtocolConfigurationMcp, + GatewayProtocolConfigurationUnknown as GatewayProtocolConfigurationUnknown, + GatewayProtocolConfiguration as GatewayProtocolConfiguration, + _GatewayProtocolConfigurationDeserializer as _GatewayProtocolConfigurationDeserializer, + GatewayProtocolType as GatewayProtocolType, + GatewayRateLimitDetail as GatewayRateLimitDetail, + GatewayRateLimitStatus as GatewayRateLimitStatus, + GatewayRuleDetail as GatewayRuleDetail, + GatewayRuleStatus as GatewayRuleStatus, + GatewayStatus as GatewayStatus, + GatewaySummary as GatewaySummary, + GatewayTarget as GatewayTarget, + GetAgentRuntimeEndpointInput as GetAgentRuntimeEndpointInput, + GetAgentRuntimeEndpointOutput as GetAgentRuntimeEndpointOutput, + GetAgentRuntimeInput as GetAgentRuntimeInput, + GetAgentRuntimeOutput as GetAgentRuntimeOutput, + GetApiKeyCredentialProviderInput as GetApiKeyCredentialProviderInput, + GetApiKeyCredentialProviderOutput as GetApiKeyCredentialProviderOutput, + GetBrowserInput as GetBrowserInput, + GetBrowserOutput as GetBrowserOutput, + GetBrowserProfileInput as GetBrowserProfileInput, + GetBrowserProfileOutput as GetBrowserProfileOutput, + GetCapacityProviderInput as GetCapacityProviderInput, + GetCapacityProviderOutput as GetCapacityProviderOutput, + GetCodeInterpreterInput as GetCodeInterpreterInput, + GetCodeInterpreterOutput as GetCodeInterpreterOutput, + GetConfigurationBundleInput as GetConfigurationBundleInput, + GetConfigurationBundleOutput as GetConfigurationBundleOutput, + GetConfigurationBundleVersionInput as GetConfigurationBundleVersionInput, + GetConfigurationBundleVersionOutput as GetConfigurationBundleVersionOutput, + GetConsentPortalInput as GetConsentPortalInput, + GetConsentPortalOutput as GetConsentPortalOutput, + GetDatasetInput as GetDatasetInput, + GetDatasetOutput as GetDatasetOutput, + GetEvaluatorInput as GetEvaluatorInput, + GetEvaluatorOutput as GetEvaluatorOutput, + GetGatewayInput as GetGatewayInput, + GetGatewayOutput as GetGatewayOutput, + GetGatewayRateLimitInput as GetGatewayRateLimitInput, + GetGatewayRateLimitOutput as GetGatewayRateLimitOutput, + GetGatewayRuleInput as GetGatewayRuleInput, + GetGatewayRuleOutput as GetGatewayRuleOutput, + GetGatewayTargetInput as GetGatewayTargetInput, + GetGatewayTargetOutput as GetGatewayTargetOutput, + GetHarnessEndpointInput as GetHarnessEndpointInput, + GetHarnessEndpointOutput as GetHarnessEndpointOutput, + GetHarnessInput as GetHarnessInput, + GetHarnessOutput as GetHarnessOutput, + GetMemoryInput as GetMemoryInput, + GetMemoryOutput as GetMemoryOutput, + GetOauth2CredentialProviderInput as GetOauth2CredentialProviderInput, + GetOauth2CredentialProviderOutput as GetOauth2CredentialProviderOutput, + GetOnlineEvaluationConfigInput as GetOnlineEvaluationConfigInput, + GetOnlineEvaluationConfigOutput as GetOnlineEvaluationConfigOutput, + GetPaymentConnectorInput as GetPaymentConnectorInput, + GetPaymentConnectorOutput as GetPaymentConnectorOutput, + GetPaymentCredentialProviderInput as GetPaymentCredentialProviderInput, + GetPaymentCredentialProviderOutput as GetPaymentCredentialProviderOutput, + GetPaymentManagerInput as GetPaymentManagerInput, + GetPaymentManagerOutput as GetPaymentManagerOutput, + GetPolicyEngineInput as GetPolicyEngineInput, + GetPolicyEngineOutput as GetPolicyEngineOutput, + GetPolicyEngineSummaryInput as GetPolicyEngineSummaryInput, + GetPolicyEngineSummaryOutput as GetPolicyEngineSummaryOutput, + GetPolicyGenerationInput as GetPolicyGenerationInput, + GetPolicyGenerationOutput as GetPolicyGenerationOutput, + GetPolicyGenerationSummaryInput as GetPolicyGenerationSummaryInput, + GetPolicyGenerationSummaryOutput as GetPolicyGenerationSummaryOutput, + GetPolicyInput as GetPolicyInput, + GetPolicyOutput as GetPolicyOutput, + GetPolicySummaryInput as GetPolicySummaryInput, + GetPolicySummaryOutput as GetPolicySummaryOutput, + GetRegistryInput as GetRegistryInput, + GetRegistryOutput as GetRegistryOutput, + GetRegistryRecordInput as GetRegistryRecordInput, + GetRegistryRecordOutput as GetRegistryRecordOutput, + GetResourcePolicyInput as GetResourcePolicyInput, + GetResourcePolicyOutput as GetResourcePolicyOutput, + GetTokenVaultInput as GetTokenVaultInput, + GetTokenVaultOutput as GetTokenVaultOutput, + GetWorkloadIdentityInput as GetWorkloadIdentityInput, + GetWorkloadIdentityOutput as GetWorkloadIdentityOutput, + GithubOauth2ProviderConfigInput as GithubOauth2ProviderConfigInput, + GithubOauth2ProviderConfigOutput as GithubOauth2ProviderConfigOutput, + GoogleOauth2ProviderConfigInput as GoogleOauth2ProviderConfigInput, + GoogleOauth2ProviderConfigOutput as GoogleOauth2ProviderConfigOutput, + Harness as Harness, + HarnessAfterInvocationHook as HarnessAfterInvocationHook, + HarnessAfterToolCallHook as HarnessAfterToolCallHook, + HarnessAgentCoreBrowserConfig as HarnessAgentCoreBrowserConfig, + HarnessAgentCoreCodeInterpreterConfig as HarnessAgentCoreCodeInterpreterConfig, + HarnessAgentCoreGatewayConfig as HarnessAgentCoreGatewayConfig, + HarnessAgentCoreMemoryConfiguration as HarnessAgentCoreMemoryConfiguration, + HarnessAgentCoreMemoryRetrievalConfig as HarnessAgentCoreMemoryRetrievalConfig, + HarnessAgentCoreRuntimeEnvironment as HarnessAgentCoreRuntimeEnvironment, + HarnessAgentCoreRuntimeEnvironmentRequest as HarnessAgentCoreRuntimeEnvironmentRequest, + HarnessBedrockApiFormat as HarnessBedrockApiFormat, + HarnessBedrockModelConfig as HarnessBedrockModelConfig, + HarnessBeforeInvocationHook as HarnessBeforeInvocationHook, + HarnessBeforeToolCallHook as HarnessBeforeToolCallHook, + HarnessDisabledMemoryConfiguration as HarnessDisabledMemoryConfiguration, + HarnessEndpoint as HarnessEndpoint, + HarnessEndpointStatus as HarnessEndpointStatus, + HarnessEnvironmentArtifactContainerConfiguration as HarnessEnvironmentArtifactContainerConfiguration, + HarnessEnvironmentArtifactUnknown as HarnessEnvironmentArtifactUnknown, + HarnessEnvironmentArtifact as HarnessEnvironmentArtifact, + _HarnessEnvironmentArtifactDeserializer as _HarnessEnvironmentArtifactDeserializer, + HarnessEnvironmentProviderAgentCoreRuntimeEnvironment as HarnessEnvironmentProviderAgentCoreRuntimeEnvironment, + HarnessEnvironmentProviderUnknown as HarnessEnvironmentProviderUnknown, + HarnessEnvironmentProvider as HarnessEnvironmentProvider, + _HarnessEnvironmentProviderDeserializer as _HarnessEnvironmentProviderDeserializer, + HarnessEnvironmentProviderRequestAgentCoreRuntimeEnvironment as HarnessEnvironmentProviderRequestAgentCoreRuntimeEnvironment, + HarnessEnvironmentProviderRequestUnknown as HarnessEnvironmentProviderRequestUnknown, + HarnessEnvironmentProviderRequest as HarnessEnvironmentProviderRequest, + _HarnessEnvironmentProviderRequestDeserializer as _HarnessEnvironmentProviderRequestDeserializer, + HarnessGatewayOutboundAuthAwsIam as HarnessGatewayOutboundAuthAwsIam, + HarnessGatewayOutboundAuthNone as HarnessGatewayOutboundAuthNone, + HarnessGatewayOutboundAuthOauth as HarnessGatewayOutboundAuthOauth, + HarnessGatewayOutboundAuthUnknown as HarnessGatewayOutboundAuthUnknown, + HarnessGatewayOutboundAuth as HarnessGatewayOutboundAuth, + _HarnessGatewayOutboundAuthDeserializer as _HarnessGatewayOutboundAuthDeserializer, + HarnessGeminiModelConfig as HarnessGeminiModelConfig, + HarnessHookBeforeInvocation as HarnessHookBeforeInvocation, + HarnessHookAfterInvocation as HarnessHookAfterInvocation, + HarnessHookBeforeToolCall as HarnessHookBeforeToolCall, + HarnessHookAfterToolCall as HarnessHookAfterToolCall, + HarnessHookUnknown as HarnessHookUnknown, + HarnessHook as HarnessHook, + _HarnessHookDeserializer as _HarnessHookDeserializer, + HarnessHookEventBridgeTarget as HarnessHookEventBridgeTarget, + HarnessHookFailureMode as HarnessHookFailureMode, + HarnessHookLambdaTarget as HarnessHookLambdaTarget, + HarnessHookSnsTarget as HarnessHookSnsTarget, + HarnessHookTargetLambda as HarnessHookTargetLambda, + HarnessHookTargetSns as HarnessHookTargetSns, + HarnessHookTargetEventBridge as HarnessHookTargetEventBridge, + HarnessHookTargetUnknown as HarnessHookTargetUnknown, + HarnessHookTarget as HarnessHookTarget, + _HarnessHookTargetDeserializer as _HarnessHookTargetDeserializer, + HarnessInlineFunctionConfig as HarnessInlineFunctionConfig, + HarnessLiteLlmModelConfig as HarnessLiteLlmModelConfig, + HarnessManagedMemoryConfiguration as HarnessManagedMemoryConfiguration, + HarnessManagedMemoryStrategyType as HarnessManagedMemoryStrategyType, + HarnessMemoryConfigurationAgentCoreMemoryConfiguration as HarnessMemoryConfigurationAgentCoreMemoryConfiguration, + HarnessMemoryConfigurationManagedMemoryConfiguration as HarnessMemoryConfigurationManagedMemoryConfiguration, + HarnessMemoryConfigurationDisabled as HarnessMemoryConfigurationDisabled, + HarnessMemoryConfigurationUnknown as HarnessMemoryConfigurationUnknown, + HarnessMemoryConfiguration as HarnessMemoryConfiguration, + _HarnessMemoryConfigurationDeserializer as _HarnessMemoryConfigurationDeserializer, + HarnessModelConfigurationBedrockModelConfig as HarnessModelConfigurationBedrockModelConfig, + HarnessModelConfigurationOpenAiModelConfig as HarnessModelConfigurationOpenAiModelConfig, + HarnessModelConfigurationGeminiModelConfig as HarnessModelConfigurationGeminiModelConfig, + HarnessModelConfigurationLiteLlmModelConfig as HarnessModelConfigurationLiteLlmModelConfig, + HarnessModelConfigurationUnknown as HarnessModelConfigurationUnknown, + HarnessModelConfiguration as HarnessModelConfiguration, + _HarnessModelConfigurationDeserializer as _HarnessModelConfigurationDeserializer, + HarnessOpenAiApiFormat as HarnessOpenAiApiFormat, + HarnessOpenAiModelConfig as HarnessOpenAiModelConfig, + HarnessRemoteMcpConfig as HarnessRemoteMcpConfig, + HarnessRemoteMcpOutboundAuthAwsIam as HarnessRemoteMcpOutboundAuthAwsIam, + HarnessRemoteMcpOutboundAuthNone as HarnessRemoteMcpOutboundAuthNone, + HarnessRemoteMcpOutboundAuthUnknown as HarnessRemoteMcpOutboundAuthUnknown, + HarnessRemoteMcpOutboundAuth as HarnessRemoteMcpOutboundAuth, + _HarnessRemoteMcpOutboundAuthDeserializer as _HarnessRemoteMcpOutboundAuthDeserializer, + HarnessSkillPath as HarnessSkillPath, + HarnessSkillS3 as HarnessSkillS3, + HarnessSkillGit as HarnessSkillGit, + HarnessSkillAwsSkills as HarnessSkillAwsSkills, + HarnessSkillUnknown as HarnessSkillUnknown, + HarnessSkill as HarnessSkill, + _HarnessSkillDeserializer as _HarnessSkillDeserializer, + HarnessSkillAwsSkillsSource as HarnessSkillAwsSkillsSource, + HarnessSkillGitAuth as HarnessSkillGitAuth, + HarnessSkillGitSource as HarnessSkillGitSource, + HarnessSkillS3Source as HarnessSkillS3Source, + HarnessSlidingWindowConfiguration as HarnessSlidingWindowConfiguration, + HarnessStatus as HarnessStatus, + HarnessSummarizationConfiguration as HarnessSummarizationConfiguration, + HarnessSummary as HarnessSummary, + HarnessSystemContentBlockText as HarnessSystemContentBlockText, + HarnessSystemContentBlockUnknown as HarnessSystemContentBlockUnknown, + HarnessSystemContentBlock as HarnessSystemContentBlock, + _HarnessSystemContentBlockDeserializer as _HarnessSystemContentBlockDeserializer, + HarnessTool as HarnessTool, + HarnessToolConfigurationRemoteMcp as HarnessToolConfigurationRemoteMcp, + HarnessToolConfigurationAgentCoreBrowser as HarnessToolConfigurationAgentCoreBrowser, + HarnessToolConfigurationAgentCoreGateway as HarnessToolConfigurationAgentCoreGateway, + HarnessToolConfigurationInlineFunction as HarnessToolConfigurationInlineFunction, + HarnessToolConfigurationAgentCoreCodeInterpreter as HarnessToolConfigurationAgentCoreCodeInterpreter, + HarnessToolConfigurationUnknown as HarnessToolConfigurationUnknown, + HarnessToolConfiguration as HarnessToolConfiguration, + _HarnessToolConfigurationDeserializer as _HarnessToolConfigurationDeserializer, + HarnessToolType as HarnessToolType, + HarnessTruncationConfiguration as HarnessTruncationConfiguration, + HarnessTruncationStrategy as HarnessTruncationStrategy, + HarnessTruncationStrategyConfigurationSlidingWindow as HarnessTruncationStrategyConfigurationSlidingWindow, + HarnessTruncationStrategyConfigurationSummarization as HarnessTruncationStrategyConfigurationSummarization, + HarnessTruncationStrategyConfigurationUnknown as HarnessTruncationStrategyConfigurationUnknown, + HarnessTruncationStrategyConfiguration as HarnessTruncationStrategyConfiguration, + _HarnessTruncationStrategyConfigurationDeserializer as _HarnessTruncationStrategyConfigurationDeserializer, + HarnessVersionSummary as HarnessVersionSummary, + HostingEnvironment as HostingEnvironment, + HttpApiSchemaConfiguration as HttpApiSchemaConfiguration, + HttpConnectorSource as HttpConnectorSource, + HttpConnectorTargetConfiguration as HttpConnectorTargetConfiguration, + HttpPostLifecycleHookAction as HttpPostLifecycleHookAction, + HttpTargetConfigurationAgentcoreRuntime as HttpTargetConfigurationAgentcoreRuntime, + HttpTargetConfigurationPassthrough as HttpTargetConfigurationPassthrough, + HttpTargetConfigurationConnector as HttpTargetConfigurationConnector, + HttpTargetConfigurationUnknown as HttpTargetConfigurationUnknown, + HttpTargetConfiguration as HttpTargetConfiguration, + _HttpTargetConfigurationDeserializer as _HttpTargetConfigurationDeserializer, + IamCredentialProvider as IamCredentialProvider, + IamPrincipal as IamPrincipal, + InboundTokenClaimValueType as InboundTokenClaimValueType, + IncludedData as IncludedData, + IncludedOauth2ProviderConfigInput as IncludedOauth2ProviderConfigInput, + IncludedOauth2ProviderConfigOutput as IncludedOauth2ProviderConfigOutput, + IndexedKey as IndexedKey, + InferenceConfiguration as InferenceConfiguration, + InferenceConnectorSource as InferenceConnectorSource, + InferenceConnectorTargetConfiguration as InferenceConnectorTargetConfiguration, + InferenceOperationConfiguration as InferenceOperationConfiguration, + InferenceProviderTargetConfiguration as InferenceProviderTargetConfiguration, + InferenceTargetConfigurationConnector as InferenceTargetConfigurationConnector, + InferenceTargetConfigurationProvider as InferenceTargetConfigurationProvider, + InferenceTargetConfigurationUnknown as InferenceTargetConfigurationUnknown, + InferenceTargetConfiguration as InferenceTargetConfiguration, + _InferenceTargetConfigurationDeserializer as _InferenceTargetConfigurationDeserializer, + InlineExamplesSource as InlineExamplesSource, + Insight as Insight, + InstanceLifecycleConfiguration as InstanceLifecycleConfiguration, + InstanceRequirements as InstanceRequirements, + InterceptorConfigurationLambda as InterceptorConfigurationLambda, + InterceptorConfigurationUnknown as InterceptorConfigurationUnknown, + InterceptorConfiguration as InterceptorConfiguration, + _InterceptorConfigurationDeserializer as _InterceptorConfigurationDeserializer, + InterceptorInputConfiguration as InterceptorInputConfiguration, + InterceptorPayloadExclusion as InterceptorPayloadExclusion, + InterceptorPayloadExclusionSelectorField as InterceptorPayloadExclusionSelectorField, + InterceptorPayloadExclusionSelectorUnknown as InterceptorPayloadExclusionSelectorUnknown, + InterceptorPayloadExclusionSelector as InterceptorPayloadExclusionSelector, + _InterceptorPayloadExclusionSelectorDeserializer as _InterceptorPayloadExclusionSelectorDeserializer, + InterceptorPayloadFilter as InterceptorPayloadFilter, + InternalServerException as InternalServerException, + InvocationConfiguration as InvocationConfiguration, + InvocationConfigurationInput as InvocationConfigurationInput, + KeyType as KeyType, + KinesisResource as KinesisResource, + KmsConfiguration as KmsConfiguration, + KmsKeySourceType as KmsKeySourceType, + LambdaEvaluatorConfig as LambdaEvaluatorConfig, + LambdaInterceptorConfiguration as LambdaInterceptorConfiguration, + LambdaTransformConfiguration as LambdaTransformConfiguration, + LaunchParameters as LaunchParameters, + LaunchTemplateSourceLaunchParameters as LaunchTemplateSourceLaunchParameters, + LaunchTemplateSourceUnknown as LaunchTemplateSourceUnknown, + LaunchTemplateSource as LaunchTemplateSource, + _LaunchTemplateSourceDeserializer as _LaunchTemplateSourceDeserializer, + LicenseSpecification as LicenseSpecification, + LifecycleConfiguration as LifecycleConfiguration, + LifecycleHook as LifecycleHook, + LifecycleHookActionHttpPost as LifecycleHookActionHttpPost, + LifecycleHookActionUnknown as LifecycleHookActionUnknown, + LifecycleHookAction as LifecycleHookAction, + _LifecycleHookActionDeserializer as _LifecycleHookActionDeserializer, + LimitEntry as LimitEntry, + LinkedinOauth2ProviderConfigInput as LinkedinOauth2ProviderConfigInput, + LinkedinOauth2ProviderConfigOutput as LinkedinOauth2ProviderConfigOutput, + ListAgentRuntimeEndpointsInput as ListAgentRuntimeEndpointsInput, + ListAgentRuntimeEndpointsOutput as ListAgentRuntimeEndpointsOutput, + ListAgentRuntimesInput as ListAgentRuntimesInput, + ListAgentRuntimesOutput as ListAgentRuntimesOutput, + ListAgentRuntimeVersionsByCapacityProviderInput as ListAgentRuntimeVersionsByCapacityProviderInput, + ListAgentRuntimeVersionsByCapacityProviderOutput as ListAgentRuntimeVersionsByCapacityProviderOutput, + ListAgentRuntimeVersionsInput as ListAgentRuntimeVersionsInput, + ListAgentRuntimeVersionsOutput as ListAgentRuntimeVersionsOutput, + ListApiKeyCredentialProvidersInput as ListApiKeyCredentialProvidersInput, + ListApiKeyCredentialProvidersOutput as ListApiKeyCredentialProvidersOutput, + ListBrowserProfilesInput as ListBrowserProfilesInput, +) + +from ._private.models_2 import ( + ListBrowserProfilesOutput as ListBrowserProfilesOutput, + ListBrowsersInput as ListBrowsersInput, + ListBrowsersOutput as ListBrowsersOutput, + ListCapacityProvidersInput as ListCapacityProvidersInput, + ListCapacityProvidersOutput as ListCapacityProvidersOutput, + ListCodeInterpretersInput as ListCodeInterpretersInput, + ListCodeInterpretersOutput as ListCodeInterpretersOutput, + ListConfigurationBundlesInput as ListConfigurationBundlesInput, + ListConfigurationBundlesOutput as ListConfigurationBundlesOutput, + ListConfigurationBundleVersionsInput as ListConfigurationBundleVersionsInput, + ListConfigurationBundleVersionsOutput as ListConfigurationBundleVersionsOutput, + ListConsentPortalsInput as ListConsentPortalsInput, + ListConsentPortalsOutput as ListConsentPortalsOutput, + ListDatasetExamplesInput as ListDatasetExamplesInput, + ListDatasetExamplesOutput as ListDatasetExamplesOutput, + ListDatasetsInput as ListDatasetsInput, + ListDatasetsOutput as ListDatasetsOutput, + ListDatasetVersionsInput as ListDatasetVersionsInput, + ListDatasetVersionsOutput as ListDatasetVersionsOutput, + ListEvaluatorsInput as ListEvaluatorsInput, + ListEvaluatorsOutput as ListEvaluatorsOutput, + ListGatewayRateLimitsInput as ListGatewayRateLimitsInput, + ListGatewayRateLimitsOutput as ListGatewayRateLimitsOutput, + ListGatewayRulesInput as ListGatewayRulesInput, + ListGatewayRulesOutput as ListGatewayRulesOutput, + ListGatewaysInput as ListGatewaysInput, + ListGatewaysOutput as ListGatewaysOutput, + ListGatewayTargetsInput as ListGatewayTargetsInput, + ListGatewayTargetsOutput as ListGatewayTargetsOutput, + ListHarnessEndpointsInput as ListHarnessEndpointsInput, + ListHarnessEndpointsOutput as ListHarnessEndpointsOutput, + ListHarnessesInput as ListHarnessesInput, + ListHarnessesOutput as ListHarnessesOutput, + ListHarnessVersionsInput as ListHarnessVersionsInput, + ListHarnessVersionsOutput as ListHarnessVersionsOutput, + ListingMode as ListingMode, + ListMemoriesInput as ListMemoriesInput, + ListMemoriesOutput as ListMemoriesOutput, + ListOauth2CredentialProvidersInput as ListOauth2CredentialProvidersInput, + ListOauth2CredentialProvidersOutput as ListOauth2CredentialProvidersOutput, + ListOnlineEvaluationConfigsInput as ListOnlineEvaluationConfigsInput, + ListOnlineEvaluationConfigsOutput as ListOnlineEvaluationConfigsOutput, + ListPaymentConnectorsInput as ListPaymentConnectorsInput, + ListPaymentConnectorsOutput as ListPaymentConnectorsOutput, + ListPaymentCredentialProvidersInput as ListPaymentCredentialProvidersInput, + ListPaymentCredentialProvidersOutput as ListPaymentCredentialProvidersOutput, + ListPaymentManagersInput as ListPaymentManagersInput, + ListPaymentManagersOutput as ListPaymentManagersOutput, + ListPoliciesInput as ListPoliciesInput, + ListPoliciesOutput as ListPoliciesOutput, + ListPolicyEnginesInput as ListPolicyEnginesInput, + ListPolicyEnginesOutput as ListPolicyEnginesOutput, + ListPolicyEngineSummariesInput as ListPolicyEngineSummariesInput, + ListPolicyEngineSummariesOutput as ListPolicyEngineSummariesOutput, + ListPolicyGenerationAssetsInput as ListPolicyGenerationAssetsInput, + ListPolicyGenerationAssetsOutput as ListPolicyGenerationAssetsOutput, + ListPolicyGenerationsInput as ListPolicyGenerationsInput, + ListPolicyGenerationsOutput as ListPolicyGenerationsOutput, + ListPolicyGenerationSummariesInput as ListPolicyGenerationSummariesInput, + ListPolicyGenerationSummariesOutput as ListPolicyGenerationSummariesOutput, + ListPolicySummariesInput as ListPolicySummariesInput, + ListPolicySummariesOutput as ListPolicySummariesOutput, + ListRegistriesInput as ListRegistriesInput, + ListRegistriesOutput as ListRegistriesOutput, + ListRegistryRecordsInput as ListRegistryRecordsInput, + ListRegistryRecordsOutput as ListRegistryRecordsOutput, + ListTagsForResourceInput as ListTagsForResourceInput, + ListTagsForResourceOutput as ListTagsForResourceOutput, + ListWorkloadIdentitiesInput as ListWorkloadIdentitiesInput, + ListWorkloadIdentitiesOutput as ListWorkloadIdentitiesOutput, + LlmAsAJudgeEvaluatorConfig as LlmAsAJudgeEvaluatorConfig, + LlmExtractionConfig as LlmExtractionConfig, + ManagedResourceDetails as ManagedResourceDetails, + ManagedVpcResource as ManagedVpcResource, + MatchModelEntry as MatchModelEntry, + MatchModels as MatchModels, + MatchOperator as MatchOperator, + MatchPaths as MatchPaths, + MatchPrincipalEntryIamPrincipal as MatchPrincipalEntryIamPrincipal, + MatchPrincipalEntryUnknown as MatchPrincipalEntryUnknown, + MatchPrincipalEntry as MatchPrincipalEntry, + _MatchPrincipalEntryDeserializer as _MatchPrincipalEntryDeserializer, + MatchPrincipals as MatchPrincipals, + McpDescriptor as McpDescriptor, + MCPGatewayConfiguration as MCPGatewayConfiguration, + McpLambdaTargetConfiguration as McpLambdaTargetConfiguration, + McpServerTargetConfiguration as McpServerTargetConfiguration, + McpTargetConfigurationOpenApiSchema as McpTargetConfigurationOpenApiSchema, + McpTargetConfigurationSmithyModel as McpTargetConfigurationSmithyModel, + McpTargetConfigurationLambda as McpTargetConfigurationLambda, + McpTargetConfigurationMcpServer as McpTargetConfigurationMcpServer, + McpTargetConfigurationApiGateway as McpTargetConfigurationApiGateway, + McpTargetConfigurationConnector as McpTargetConfigurationConnector, + McpTargetConfigurationUnknown as McpTargetConfigurationUnknown, + McpTargetConfiguration as McpTargetConfiguration, + _McpTargetConfigurationDeserializer as _McpTargetConfigurationDeserializer, + McpToolSchemaConfigurationS3 as McpToolSchemaConfigurationS3, + McpToolSchemaConfigurationInlinePayload as McpToolSchemaConfigurationInlinePayload, + McpToolSchemaConfigurationUnknown as McpToolSchemaConfigurationUnknown, + McpToolSchemaConfiguration as McpToolSchemaConfiguration, + _McpToolSchemaConfigurationDeserializer as _McpToolSchemaConfigurationDeserializer, + Memory as Memory, + MemoryRecordSchema as MemoryRecordSchema, + MemoryStatus as MemoryStatus, + MemoryStrategy as MemoryStrategy, + MemoryStrategyInputSemanticMemoryStrategy as MemoryStrategyInputSemanticMemoryStrategy, + MemoryStrategyInputSummaryMemoryStrategy as MemoryStrategyInputSummaryMemoryStrategy, + MemoryStrategyInputUserPreferenceMemoryStrategy as MemoryStrategyInputUserPreferenceMemoryStrategy, + MemoryStrategyInputCustomMemoryStrategy as MemoryStrategyInputCustomMemoryStrategy, + MemoryStrategyInputEpisodicMemoryStrategy as MemoryStrategyInputEpisodicMemoryStrategy, + MemoryStrategyInputUnknown as MemoryStrategyInputUnknown, + MemoryStrategyInput as MemoryStrategyInput, + _MemoryStrategyInputDeserializer as _MemoryStrategyInputDeserializer, + MemoryStrategyStatus as MemoryStrategyStatus, + MemoryStrategyType as MemoryStrategyType, + MemorySummary as MemorySummary, + MemoryView as MemoryView, + MessageBasedTrigger as MessageBasedTrigger, + MessageBasedTriggerInput as MessageBasedTriggerInput, + MetadataConfiguration as MetadataConfiguration, + MetadataSchemaEntry as MetadataSchemaEntry, + MetadataValueType as MetadataValueType, + MicrosoftOauth2ProviderConfigInput as MicrosoftOauth2ProviderConfigInput, + MicrosoftOauth2ProviderConfigOutput as MicrosoftOauth2ProviderConfigOutput, + ModelEntry as ModelEntry, + ModelMapping as ModelMapping, + ModifyConsolidationConfigurationCustomConsolidationConfiguration as ModifyConsolidationConfigurationCustomConsolidationConfiguration, + ModifyConsolidationConfigurationUnknown as ModifyConsolidationConfigurationUnknown, + ModifyConsolidationConfiguration as ModifyConsolidationConfiguration, + _ModifyConsolidationConfigurationDeserializer as _ModifyConsolidationConfigurationDeserializer, + ModifyExtractionConfigurationCustomExtractionConfiguration as ModifyExtractionConfigurationCustomExtractionConfiguration, + ModifyExtractionConfigurationUnknown as ModifyExtractionConfigurationUnknown, + ModifyExtractionConfiguration as ModifyExtractionConfiguration, + _ModifyExtractionConfigurationDeserializer as _ModifyExtractionConfigurationDeserializer, + ModifyInvocationConfigurationInput as ModifyInvocationConfigurationInput, + ModifyMemoryStrategies as ModifyMemoryStrategies, + ModifyMemoryStrategyInput as ModifyMemoryStrategyInput, + ModifyReflectionConfigurationEpisodicReflectionConfiguration as ModifyReflectionConfigurationEpisodicReflectionConfiguration, + ModifyReflectionConfigurationCustomReflectionConfiguration as ModifyReflectionConfigurationCustomReflectionConfiguration, + ModifyReflectionConfigurationUnknown as ModifyReflectionConfigurationUnknown, + ModifyReflectionConfiguration as ModifyReflectionConfiguration, + _ModifyReflectionConfigurationDeserializer as _ModifyReflectionConfigurationDeserializer, + ModifySelfManagedConfiguration as ModifySelfManagedConfiguration, + ModifyStrategyConfiguration as ModifyStrategyConfiguration, + Monitoring as Monitoring, + NamespaceKeyEntry as NamespaceKeyEntry, + NamespaceKeyValidation as NamespaceKeyValidation, + NetworkConfiguration as NetworkConfiguration, + NetworkMode as NetworkMode, + NumberValidation as NumberValidation, + NumericalScaleDefinition as NumericalScaleDefinition, + OAuth2AuthorizationData as OAuth2AuthorizationData, + Oauth2AuthorizationServerMetadata as Oauth2AuthorizationServerMetadata, + Oauth2CredentialProviderItem as Oauth2CredentialProviderItem, + Oauth2DiscoveryDiscoveryUrl as Oauth2DiscoveryDiscoveryUrl, + Oauth2DiscoveryAuthorizationServerMetadata as Oauth2DiscoveryAuthorizationServerMetadata, + Oauth2DiscoveryUnknown as Oauth2DiscoveryUnknown, + Oauth2Discovery as Oauth2Discovery, + _Oauth2DiscoveryDeserializer as _Oauth2DiscoveryDeserializer, + Oauth2ProviderConfigInputCustomOauth2ProviderConfig as Oauth2ProviderConfigInputCustomOauth2ProviderConfig, + Oauth2ProviderConfigInputGoogleOauth2ProviderConfig as Oauth2ProviderConfigInputGoogleOauth2ProviderConfig, + Oauth2ProviderConfigInputGithubOauth2ProviderConfig as Oauth2ProviderConfigInputGithubOauth2ProviderConfig, + Oauth2ProviderConfigInputSlackOauth2ProviderConfig as Oauth2ProviderConfigInputSlackOauth2ProviderConfig, + Oauth2ProviderConfigInputSalesforceOauth2ProviderConfig as Oauth2ProviderConfigInputSalesforceOauth2ProviderConfig, + Oauth2ProviderConfigInputMicrosoftOauth2ProviderConfig as Oauth2ProviderConfigInputMicrosoftOauth2ProviderConfig, + Oauth2ProviderConfigInputAtlassianOauth2ProviderConfig as Oauth2ProviderConfigInputAtlassianOauth2ProviderConfig, + Oauth2ProviderConfigInputLinkedinOauth2ProviderConfig as Oauth2ProviderConfigInputLinkedinOauth2ProviderConfig, + Oauth2ProviderConfigInputIncludedOauth2ProviderConfig as Oauth2ProviderConfigInputIncludedOauth2ProviderConfig, + Oauth2ProviderConfigInputUnknown as Oauth2ProviderConfigInputUnknown, + Oauth2ProviderConfigInput as Oauth2ProviderConfigInput, + _Oauth2ProviderConfigInputDeserializer as _Oauth2ProviderConfigInputDeserializer, + Oauth2ProviderConfigOutputCustomOauth2ProviderConfig as Oauth2ProviderConfigOutputCustomOauth2ProviderConfig, + Oauth2ProviderConfigOutputGoogleOauth2ProviderConfig as Oauth2ProviderConfigOutputGoogleOauth2ProviderConfig, + Oauth2ProviderConfigOutputGithubOauth2ProviderConfig as Oauth2ProviderConfigOutputGithubOauth2ProviderConfig, + Oauth2ProviderConfigOutputSlackOauth2ProviderConfig as Oauth2ProviderConfigOutputSlackOauth2ProviderConfig, + Oauth2ProviderConfigOutputSalesforceOauth2ProviderConfig as Oauth2ProviderConfigOutputSalesforceOauth2ProviderConfig, + Oauth2ProviderConfigOutputMicrosoftOauth2ProviderConfig as Oauth2ProviderConfigOutputMicrosoftOauth2ProviderConfig, + Oauth2ProviderConfigOutputAtlassianOauth2ProviderConfig as Oauth2ProviderConfigOutputAtlassianOauth2ProviderConfig, + Oauth2ProviderConfigOutputLinkedinOauth2ProviderConfig as Oauth2ProviderConfigOutputLinkedinOauth2ProviderConfig, + Oauth2ProviderConfigOutputIncludedOauth2ProviderConfig as Oauth2ProviderConfigOutputIncludedOauth2ProviderConfig, + Oauth2ProviderConfigOutputUnknown as Oauth2ProviderConfigOutputUnknown, + Oauth2ProviderConfigOutput as Oauth2ProviderConfigOutput, + _Oauth2ProviderConfigOutputDeserializer as _Oauth2ProviderConfigOutputDeserializer, + OAuthCredentialProvider as OAuthCredentialProvider, + OAuthGrantType as OAuthGrantType, + OnBehalfOfAuthenticationConfig as OnBehalfOfAuthenticationConfig, + OnBehalfOfClientAuthenticationMethod as OnBehalfOfClientAuthenticationMethod, + OnBehalfOfTokenExchangeConfigType as OnBehalfOfTokenExchangeConfigType, + OnBehalfOfTokenExchangeGrantTypeType as OnBehalfOfTokenExchangeGrantTypeType, + OnlineEvaluationConfigStatus as OnlineEvaluationConfigStatus, + OnlineEvaluationConfigSummary as OnlineEvaluationConfigSummary, + OnlineEvaluationExecutionStatus as OnlineEvaluationExecutionStatus, + OpenResponsesEvaluatorModelConfig as OpenResponsesEvaluatorModelConfig, + OperatingSystem as OperatingSystem, + OutputConfig as OutputConfig, + OverrideType as OverrideType, + PassthroughProtocolType as PassthroughProtocolType, + PassthroughTargetConfiguration as PassthroughTargetConfiguration, + PaymentConnectorProvisionMode as PaymentConnectorProvisionMode, + PaymentConnectorStatus as PaymentConnectorStatus, + PaymentConnectorSummary as PaymentConnectorSummary, + PaymentConnectorType as PaymentConnectorType, + PaymentCredentialProviderConfiguration as PaymentCredentialProviderConfiguration, + PaymentCredentialProviderItem as PaymentCredentialProviderItem, + PaymentCredentialProviderVendorType as PaymentCredentialProviderVendorType, + PaymentManagerStatus as PaymentManagerStatus, + PaymentManagerSummary as PaymentManagerSummary, + PaymentProviderConfigurationInputCoinbaseCdpConfiguration as PaymentProviderConfigurationInputCoinbaseCdpConfiguration, + PaymentProviderConfigurationInputStripePrivyConfiguration as PaymentProviderConfigurationInputStripePrivyConfiguration, + PaymentProviderConfigurationInputUnknown as PaymentProviderConfigurationInputUnknown, + PaymentProviderConfigurationInput as PaymentProviderConfigurationInput, + _PaymentProviderConfigurationInputDeserializer as _PaymentProviderConfigurationInputDeserializer, + PaymentProviderConfigurationOutputCoinbaseCdpConfiguration as PaymentProviderConfigurationOutputCoinbaseCdpConfiguration, + PaymentProviderConfigurationOutputStripePrivyConfiguration as PaymentProviderConfigurationOutputStripePrivyConfiguration, + PaymentProviderConfigurationOutputUnknown as PaymentProviderConfigurationOutputUnknown, + PaymentProviderConfigurationOutput as PaymentProviderConfigurationOutput, + _PaymentProviderConfigurationOutputDeserializer as _PaymentProviderConfigurationOutputDeserializer, + PaymentsAuthorizerType as PaymentsAuthorizerType, + Period as Period, + PermissionsConfiguration as PermissionsConfiguration, + Policy as Policy, + PolicyDefinitionCedar as PolicyDefinitionCedar, + PolicyDefinitionPolicyGeneration as PolicyDefinitionPolicyGeneration, + PolicyDefinitionPolicy as PolicyDefinitionPolicy, + PolicyDefinitionUnknown as PolicyDefinitionUnknown, + PolicyDefinition as PolicyDefinition, + _PolicyDefinitionDeserializer as _PolicyDefinitionDeserializer, + PolicyEngine as PolicyEngine, + PolicyEngineStatus as PolicyEngineStatus, + PolicyEngineSummary as PolicyEngineSummary, + PolicyGeneration as PolicyGeneration, + PolicyGenerationAsset as PolicyGenerationAsset, + PolicyGenerationDetails as PolicyGenerationDetails, + PolicyGenerationStatus as PolicyGenerationStatus, + PolicyGenerationSummary as PolicyGenerationSummary, + PolicyStatement as PolicyStatement, + PolicyStatus as PolicyStatus, + PolicySummary as PolicySummary, + PolicyValidationMode as PolicyValidationMode, + PortRange as PortRange, + PrincipalMatchOperator as PrincipalMatchOperator, + PrivateEndpointSelfManagedLatticeResource as PrivateEndpointSelfManagedLatticeResource, + PrivateEndpointManagedVpcResource as PrivateEndpointManagedVpcResource, + PrivateEndpointUnknown as PrivateEndpointUnknown, + PrivateEndpoint as PrivateEndpoint, + _PrivateEndpointDeserializer as _PrivateEndpointDeserializer, + PrivateEndpointOverride as PrivateEndpointOverride, + PrivateKeyJwtConfig as PrivateKeyJwtConfig, + PrivateKeySourceKmsKeySource as PrivateKeySourceKmsKeySource, + PrivateKeySourceUnknown as PrivateKeySourceUnknown, + PrivateKeySource as PrivateKeySource, + _PrivateKeySourceDeserializer as _PrivateKeySourceDeserializer, + ProtocolConfiguration as ProtocolConfiguration, + Provider as Provider, + ProviderPrefix as ProviderPrefix, + PutResourcePolicyInput as PutResourcePolicyInput, + PutResourcePolicyOutput as PutResourcePolicyOutput, + RateConfig as RateConfig, + RatingScaleNumerical as RatingScaleNumerical, + RatingScaleCategorical as RatingScaleCategorical, + RatingScaleMultiDimensional as RatingScaleMultiDimensional, + RatingScaleUnknown as RatingScaleUnknown, + RatingScale as RatingScale, + _RatingScaleDeserializer as _RatingScaleDeserializer, + ReasoningConfiguration as ReasoningConfiguration, + RecordExpiryAction as RecordExpiryAction, + RecordExpirySpecificationRecordExpiryDurationDays as RecordExpirySpecificationRecordExpiryDurationDays, + RecordExpirySpecificationAction as RecordExpirySpecificationAction, + RecordExpirySpecificationUnknown as RecordExpirySpecificationUnknown, + RecordExpirySpecification as RecordExpirySpecification, + _RecordExpirySpecificationDeserializer as _RecordExpirySpecificationDeserializer, + RecordingConfig as RecordingConfig, + ReflectionConfigurationCustomReflectionConfiguration as ReflectionConfigurationCustomReflectionConfiguration, + ReflectionConfigurationEpisodicReflectionConfiguration as ReflectionConfigurationEpisodicReflectionConfiguration, + ReflectionConfigurationUnknown as ReflectionConfigurationUnknown, + ReflectionConfiguration as ReflectionConfiguration, + _ReflectionConfigurationDeserializer as _ReflectionConfigurationDeserializer, + RegistryAuthorizerType as RegistryAuthorizerType, + RegistryRecordCredentialProviderConfiguration as RegistryRecordCredentialProviderConfiguration, + RegistryRecordCredentialProviderType as RegistryRecordCredentialProviderType, + RegistryRecordCredentialProviderUnionOauthCredentialProvider as RegistryRecordCredentialProviderUnionOauthCredentialProvider, + RegistryRecordCredentialProviderUnionIamCredentialProvider as RegistryRecordCredentialProviderUnionIamCredentialProvider, + RegistryRecordCredentialProviderUnionUnknown as RegistryRecordCredentialProviderUnionUnknown, + RegistryRecordCredentialProviderUnion as RegistryRecordCredentialProviderUnion, + _RegistryRecordCredentialProviderUnionDeserializer as _RegistryRecordCredentialProviderUnionDeserializer, + RegistryRecordIamCredentialProvider as RegistryRecordIamCredentialProvider, + RegistryRecordOAuthCredentialProvider as RegistryRecordOAuthCredentialProvider, + RegistryRecordOAuthGrantType as RegistryRecordOAuthGrantType, + RegistryRecordStatus as RegistryRecordStatus, + RegistryRecordSummary as RegistryRecordSummary, + RegistryStatus as RegistryStatus, + RegistrySummary as RegistrySummary, + RequestHeaderConfigurationRequestHeaderAllowlist as RequestHeaderConfigurationRequestHeaderAllowlist, + RequestHeaderConfigurationUnknown as RequestHeaderConfigurationUnknown, + RequestHeaderConfiguration as RequestHeaderConfiguration, + _RequestHeaderConfigurationDeserializer as _RequestHeaderConfigurationDeserializer, + ResetTokenVaultKeyMaterialInput as ResetTokenVaultKeyMaterialInput, + ResetTokenVaultKeyMaterialOutput as ResetTokenVaultKeyMaterialOutput, + ResourceArn as ResourceArn, + ResourceUnknown as ResourceUnknown, + Resource as Resource, + _ResourceDeserializer as _ResourceDeserializer, + ResourceConfiguration as ResourceConfiguration, + ResourceLimitExceededException as ResourceLimitExceededException, + ResourceLocationS3 as ResourceLocationS3, + ResourceLocationUnknown as ResourceLocationUnknown, + ResourceLocation as ResourceLocation, + _ResourceLocationDeserializer as _ResourceLocationDeserializer, + ResourceNotFoundException as ResourceNotFoundException, + ResourceType as ResourceType, + RestApiMethod as RestApiMethod, + ResultDestination as ResultDestination, + RetryableConflictException as RetryableConflictException, + RootVolumeConfiguration as RootVolumeConfiguration, + RotatePaymentConnectorCredentialsInput as RotatePaymentConnectorCredentialsInput, + RotatePaymentConnectorCredentialsOutput as RotatePaymentConnectorCredentialsOutput, + RouteToTargetActionStaticRoute as RouteToTargetActionStaticRoute, + RouteToTargetActionWeightedRoute as RouteToTargetActionWeightedRoute, + RouteToTargetActionUnknown as RouteToTargetActionUnknown, + RouteToTargetAction as RouteToTargetAction, + _RouteToTargetActionDeserializer as _RouteToTargetActionDeserializer, + Rule as Rule, + RuntimeHooksConfiguration as RuntimeHooksConfiguration, + RuntimeMetadataConfiguration as RuntimeMetadataConfiguration, + RuntimeTargetConfiguration as RuntimeTargetConfiguration, + S3CertificateConfiguration as S3CertificateConfiguration, + S3Configuration as S3Configuration, + S3FilesAccessPointConfiguration as S3FilesAccessPointConfiguration, + S3FilesConfiguration as S3FilesConfiguration, + S3Location as S3Location, + S3Source as S3Source, + SalesforceOauth2ProviderConfigInput as SalesforceOauth2ProviderConfigInput, + SalesforceOauth2ProviderConfigOutput as SalesforceOauth2ProviderConfigOutput, + SamplingConfig as SamplingConfig, + SchemaDefinition as SchemaDefinition, + SchemaType as SchemaType, + SearchType as SearchType, + Secret as Secret, + SecretReference as SecretReference, + SecretsManagerCertificateConfiguration as SecretsManagerCertificateConfiguration, + SecretsManagerLocation as SecretsManagerLocation, + SecretSourceType as SecretSourceType, + SelfManagedConfiguration as SelfManagedConfiguration, + SelfManagedConfigurationInput as SelfManagedConfigurationInput, + SelfManagedLatticeResourceResourceConfigurationIdentifier as SelfManagedLatticeResourceResourceConfigurationIdentifier, + SelfManagedLatticeResourceUnknown as SelfManagedLatticeResourceUnknown, + SelfManagedLatticeResource as SelfManagedLatticeResource, + _SelfManagedLatticeResourceDeserializer as _SelfManagedLatticeResourceDeserializer, + SemanticConsolidationOverride as SemanticConsolidationOverride, + SemanticExtractionOverride as SemanticExtractionOverride, + SemanticMemoryStrategyInput as SemanticMemoryStrategyInput, + SemanticOverrideConfigurationInput as SemanticOverrideConfigurationInput, + SemanticOverrideConsolidationConfigurationInput as SemanticOverrideConsolidationConfigurationInput, + SemanticOverrideExtractionConfigurationInput as SemanticOverrideExtractionConfigurationInput, + ServerDefinition as ServerDefinition, + ServerProtocol as ServerProtocol, + ServiceException as ServiceException, + ServiceQuotaExceededException as ServiceQuotaExceededException, + SessionConfig as SessionConfig, + SessionConfiguration as SessionConfiguration, + SessionStorageConfiguration as SessionStorageConfiguration, +) + +from ._private.models_3 import ( + SetTokenVaultCMKInput as SetTokenVaultCMKInput, + SetTokenVaultCMKOutput as SetTokenVaultCMKOutput, + SigningAlgorithm as SigningAlgorithm, + SkillDefinition as SkillDefinition, + SkillMdDefinition as SkillMdDefinition, + SlackOauth2ProviderConfigInput as SlackOauth2ProviderConfigInput, + SlackOauth2ProviderConfigOutput as SlackOauth2ProviderConfigOutput, + StartPolicyGenerationInput as StartPolicyGenerationInput, + StartPolicyGenerationOutput as StartPolicyGenerationOutput, + StaticOverride as StaticOverride, + StaticQueryParameterConflictResolution as StaticQueryParameterConflictResolution, + StaticRoute as StaticRoute, + Status as Status, + StickinessConfiguration as StickinessConfiguration, + StrategyConfiguration as StrategyConfiguration, + StreamDeliveryResourceKinesis as StreamDeliveryResourceKinesis, + StreamDeliveryResourceUnknown as StreamDeliveryResourceUnknown, + StreamDeliveryResource as StreamDeliveryResource, + _StreamDeliveryResourceDeserializer as _StreamDeliveryResourceDeserializer, + StreamDeliveryResources as StreamDeliveryResources, + StreamingConfiguration as StreamingConfiguration, + StringListValidation as StringListValidation, + StringValidation as StringValidation, + StripePrivyConfigurationInput as StripePrivyConfigurationInput, + StripePrivyConfigurationOutput as StripePrivyConfigurationOutput, + SubmitRegistryRecordForApprovalInput as SubmitRegistryRecordForApprovalInput, + SubmitRegistryRecordForApprovalOutput as SubmitRegistryRecordForApprovalOutput, + SubscriptionRequiredException as SubscriptionRequiredException, + SummaryConsolidationOverride as SummaryConsolidationOverride, + SummaryMemoryStrategyInput as SummaryMemoryStrategyInput, + SummaryOverrideConfigurationInput as SummaryOverrideConfigurationInput, + SummaryOverrideConsolidationConfigurationInput as SummaryOverrideConsolidationConfigurationInput, + SynchronizationConfiguration as SynchronizationConfiguration, + SynchronizationType as SynchronizationType, + SynchronizeGatewayTargetsInput as SynchronizeGatewayTargetsInput, + SynchronizeGatewayTargetsOutput as SynchronizeGatewayTargetsOutput, + SystemManagedBlock as SystemManagedBlock, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + TargetConfigurationMcp as TargetConfigurationMcp, + TargetConfigurationHttp as TargetConfigurationHttp, + TargetConfigurationInference as TargetConfigurationInference, + TargetConfigurationUnknown as TargetConfigurationUnknown, + TargetConfiguration as TargetConfiguration, + _TargetConfigurationDeserializer as _TargetConfigurationDeserializer, + TargetProtocolType as TargetProtocolType, + TargetStatus as TargetStatus, + TargetSummary as TargetSummary, + TargetTrafficSplitEntry as TargetTrafficSplitEntry, + TargetType as TargetType, + ThrottledException as ThrottledException, + ThrottlingException as ThrottlingException, + TimeBasedTrigger as TimeBasedTrigger, + TimeBasedTriggerInput as TimeBasedTriggerInput, + TokenBasedTrigger as TokenBasedTrigger, + TokenBasedTriggerInput as TokenBasedTriggerInput, + TokenExchangeGrantTypeConfigType as TokenExchangeGrantTypeConfigType, + ToolDefinition as ToolDefinition, + ToolSchemaS3 as ToolSchemaS3, + ToolSchemaInlinePayload as ToolSchemaInlinePayload, + ToolSchemaUnknown as ToolSchemaUnknown, + ToolSchema as ToolSchema, + _ToolSchemaDeserializer as _ToolSchemaDeserializer, + ToolsDefinition as ToolsDefinition, + ToolsFileSystemConfigurationS3FilesConfiguration as ToolsFileSystemConfigurationS3FilesConfiguration, + ToolsFileSystemConfigurationEfsConfiguration as ToolsFileSystemConfigurationEfsConfiguration, + ToolsFileSystemConfigurationUnknown as ToolsFileSystemConfigurationUnknown, + ToolsFileSystemConfiguration as ToolsFileSystemConfiguration, + _ToolsFileSystemConfigurationDeserializer as _ToolsFileSystemConfigurationDeserializer, + TrafficSplitEntry as TrafficSplitEntry, + TriggerConditionMessageBasedTrigger as TriggerConditionMessageBasedTrigger, + TriggerConditionTokenBasedTrigger as TriggerConditionTokenBasedTrigger, + TriggerConditionTimeBasedTrigger as TriggerConditionTimeBasedTrigger, + TriggerConditionUnknown as TriggerConditionUnknown, + TriggerCondition as TriggerCondition, + _TriggerConditionDeserializer as _TriggerConditionDeserializer, + TriggerConditionInputMessageBasedTrigger as TriggerConditionInputMessageBasedTrigger, + TriggerConditionInputTokenBasedTrigger as TriggerConditionInputTokenBasedTrigger, + TriggerConditionInputTimeBasedTrigger as TriggerConditionInputTimeBasedTrigger, + TriggerConditionInputUnknown as TriggerConditionInputUnknown, + TriggerConditionInput as TriggerConditionInput, + _TriggerConditionInputDeserializer as _TriggerConditionInputDeserializer, + UnauthorizedException as UnauthorizedException, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateAgentRuntimeEndpointInput as UpdateAgentRuntimeEndpointInput, + UpdateAgentRuntimeEndpointOutput as UpdateAgentRuntimeEndpointOutput, + UpdateAgentRuntimeInput as UpdateAgentRuntimeInput, + UpdateAgentRuntimeOutput as UpdateAgentRuntimeOutput, + UpdateApiKeyCredentialProviderInput as UpdateApiKeyCredentialProviderInput, + UpdateApiKeyCredentialProviderOutput as UpdateApiKeyCredentialProviderOutput, + UpdateCapacityProviderInput as UpdateCapacityProviderInput, + UpdateCapacityProviderOutput as UpdateCapacityProviderOutput, + UpdateConfigurationBundleInput as UpdateConfigurationBundleInput, + UpdateConfigurationBundleOutput as UpdateConfigurationBundleOutput, + UpdateConsentPortalInput as UpdateConsentPortalInput, + UpdateConsentPortalOutput as UpdateConsentPortalOutput, + UpdatedA2aDescriptor as UpdatedA2aDescriptor, + UpdatedAgentSkillsDescriptor as UpdatedAgentSkillsDescriptor, + UpdatedAgentSkillsDescriptorFields as UpdatedAgentSkillsDescriptorFields, + UpdatedApprovalConfiguration as UpdatedApprovalConfiguration, + UpdateDatasetExamplesInput as UpdateDatasetExamplesInput, + UpdateDatasetExamplesOutput as UpdateDatasetExamplesOutput, + UpdateDatasetInput as UpdateDatasetInput, + UpdateDatasetOutput as UpdateDatasetOutput, + UpdatedAuthorizerConfiguration as UpdatedAuthorizerConfiguration, + UpdatedCustomDescriptor as UpdatedCustomDescriptor, + UpdatedDescription as UpdatedDescription, + UpdatedDescriptors as UpdatedDescriptors, + UpdatedDescriptorsUnion as UpdatedDescriptorsUnion, + UpdatedHarnessEnvironmentArtifact as UpdatedHarnessEnvironmentArtifact, + UpdatedHarnessMemoryConfiguration as UpdatedHarnessMemoryConfiguration, + UpdatedMcpDescriptor as UpdatedMcpDescriptor, + UpdatedMcpDescriptorFields as UpdatedMcpDescriptorFields, + UpdatedServerDefinition as UpdatedServerDefinition, + UpdatedSkillDefinition as UpdatedSkillDefinition, + UpdatedSkillMdDefinition as UpdatedSkillMdDefinition, + UpdatedSynchronizationConfiguration as UpdatedSynchronizationConfiguration, + UpdatedSynchronizationType as UpdatedSynchronizationType, + UpdatedToolsDefinition as UpdatedToolsDefinition, + UpdateEvaluatorInput as UpdateEvaluatorInput, + UpdateEvaluatorOutput as UpdateEvaluatorOutput, + UpdateGatewayInput as UpdateGatewayInput, + UpdateGatewayOutput as UpdateGatewayOutput, + UpdateGatewayRateLimitInput as UpdateGatewayRateLimitInput, + UpdateGatewayRateLimitOutput as UpdateGatewayRateLimitOutput, + UpdateGatewayRuleInput as UpdateGatewayRuleInput, + UpdateGatewayRuleOutput as UpdateGatewayRuleOutput, + UpdateGatewayTargetInput as UpdateGatewayTargetInput, + UpdateGatewayTargetOutput as UpdateGatewayTargetOutput, + UpdateHarnessEndpointInput as UpdateHarnessEndpointInput, + UpdateHarnessEndpointOutput as UpdateHarnessEndpointOutput, + UpdateHarnessInput as UpdateHarnessInput, + UpdateHarnessOutput as UpdateHarnessOutput, + UpdateMemoryInput as UpdateMemoryInput, + UpdateMemoryOutput as UpdateMemoryOutput, + UpdateOauth2CredentialProviderInput as UpdateOauth2CredentialProviderInput, + UpdateOauth2CredentialProviderOutput as UpdateOauth2CredentialProviderOutput, + UpdateOnlineEvaluationConfigInput as UpdateOnlineEvaluationConfigInput, + UpdateOnlineEvaluationConfigOutput as UpdateOnlineEvaluationConfigOutput, + UpdatePaymentConnectorInput as UpdatePaymentConnectorInput, + UpdatePaymentConnectorOutput as UpdatePaymentConnectorOutput, + UpdatePaymentCredentialProviderInput as UpdatePaymentCredentialProviderInput, + UpdatePaymentCredentialProviderOutput as UpdatePaymentCredentialProviderOutput, + UpdatePaymentManagerInput as UpdatePaymentManagerInput, + UpdatePaymentManagerOutput as UpdatePaymentManagerOutput, + UpdatePolicyEngineInput as UpdatePolicyEngineInput, + UpdatePolicyEngineOutput as UpdatePolicyEngineOutput, + UpdatePolicyInput as UpdatePolicyInput, + UpdatePolicyOutput as UpdatePolicyOutput, + UpdateRegistryInput as UpdateRegistryInput, + UpdateRegistryOutput as UpdateRegistryOutput, + UpdateRegistryRecordInput as UpdateRegistryRecordInput, + UpdateRegistryRecordOutput as UpdateRegistryRecordOutput, + UpdateRegistryRecordStatusInput as UpdateRegistryRecordStatusInput, + UpdateRegistryRecordStatusOutput as UpdateRegistryRecordStatusOutput, + UpdateWorkloadIdentityInput as UpdateWorkloadIdentityInput, + UpdateWorkloadIdentityOutput as UpdateWorkloadIdentityOutput, + UserPreferenceConsolidationOverride as UserPreferenceConsolidationOverride, + UserPreferenceExtractionOverride as UserPreferenceExtractionOverride, + UserPreferenceMemoryStrategyInput as UserPreferenceMemoryStrategyInput, + UserPreferenceOverrideConfigurationInput as UserPreferenceOverrideConfigurationInput, + UserPreferenceOverrideConsolidationConfigurationInput as UserPreferenceOverrideConsolidationConfigurationInput, + UserPreferenceOverrideExtractionConfigurationInput as UserPreferenceOverrideExtractionConfigurationInput, + ValidationStringValidation as ValidationStringValidation, + ValidationStringListValidation as ValidationStringListValidation, + ValidationNumberValidation as ValidationNumberValidation, + ValidationUnknown as ValidationUnknown, + Validation as Validation, + _ValidationDeserializer as _ValidationDeserializer, + ValidationException as ValidationException, + ValidationExceptionField as ValidationExceptionField, + ValidationExceptionReason as ValidationExceptionReason, + VersionCreatedBySource as VersionCreatedBySource, + VersionFilter as VersionFilter, + VersionLineageMetadata as VersionLineageMetadata, + VolumeConfigurationEbsConfiguration as VolumeConfigurationEbsConfiguration, + VolumeConfigurationUnknown as VolumeConfigurationUnknown, + VolumeConfiguration as VolumeConfiguration, + _VolumeConfigurationDeserializer as _VolumeConfigurationDeserializer, + VpcConfig as VpcConfig, + VpcConfiguration as VpcConfiguration, + WafConfiguration as WafConfiguration, + WafFailureMode as WafFailureMode, + WeightedOverride as WeightedOverride, + WeightedRoute as WeightedRoute, + WorkloadIdentityDetails as WorkloadIdentityDetails, + WorkloadIdentityType as WorkloadIdentityType, + Unit as Unit, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -27,19893 +1311,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class A2aDescriptor(_SerdeShape): - """ - The Agent-to-Agent (A2A) protocol descriptor for a registry record. - Contains the agent card definition as defined by the A2A protocol - specification. - """ - - agent_card: AgentCardDefinition | None = ... - """ - The agent card definition for the A2A agent, as defined by the A2A - protocol specification. - """ - -@dataclass(kw_only=True) -class AccessDeniedException(ServiceError, _SerdeShape): - """This exception is thrown when a request is denied per access permissions""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ActionConfigurationBundle(_SerdeShape): - """An action that applies a configuration bundle override to the request.""" - - value: ConfigurationBundleAction - -@dataclass -class ActionRouteToTarget(_SerdeShape): - """An action that routes the request to a specific target.""" - - value: RouteToTargetAction - -@dataclass -class ActionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Action = Union[ActionConfigurationBundle | ActionRouteToTarget | ActionUnknown] -"""An action to take when a gateway rule's conditions are met.""" - -class _ActionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Action: ... - -class ActorTokenContentType(UnknownEnumMixin, StrEnum): - NONE = "NONE" - M2_M = "M2M" - AWS_IAM_ID_TOKEN_JWT = "AWS_IAM_ID_TOKEN_JWT" - -@dataclass(kw_only=True) -class AddDatasetExamplesInput(_SerdeShape): - """Dataclass for AddDatasetExamplesInput structure.""" - - dataset_id: str | None = ... - """The unique identifier of the dataset to add examples to.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - source: DataSourceType | None = ... - """ - Source of examples to add. Provide either inline examples or an S3 URI - pointing to a JSONL file. - """ - -@dataclass(kw_only=True) -class AddDatasetExamplesOutput(_SerdeShape): - """Dataclass for AddDatasetExamplesOutput structure.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the dataset.""" - dataset_id: str - """The unique identifier of the dataset.""" - status: str - """The current status of the dataset.""" - added_count: int - """The number of examples added.""" - updated_at: datetime - """The timestamp when the examples were added.""" - example_ids: list[str] - """IDs of all added examples (auto-generated UUIDs).""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AgentCardDefinition(_SerdeShape): - """ - The agent card definition for an A2A descriptor. Contains the schema - version and inline content for the agent card. - """ - - schema_version: str | None = ... - """ - The schema version of the agent card based on the A2A protocol - specification. - """ - inline_content: str | None = ... - """ - The JSON content containing the A2A agent card definition, conforming to - the A2A protocol specification. - """ - -class AgentManagedRuntimeType(UnknownEnumMixin, StrEnum): - PYTHON_3_10 = "PYTHON_3_10" - PYTHON_3_11 = "PYTHON_3_11" - PYTHON_3_12 = "PYTHON_3_12" - PYTHON_3_13 = "PYTHON_3_13" - PYTHON_3_14 = "PYTHON_3_14" - NODE_22 = "NODE_22" - -@dataclass(kw_only=True) -class AgentRuntime(_SerdeShape): - """ - Contains information about an agent runtime. An agent runtime is the - execution environment for a Amazon Bedrock AgentCore Agent. - """ - - agent_runtime_arn: str - """The Amazon Resource Name (ARN) of the agent runtime.""" - agent_runtime_id: str - """The unique identifier of the agent runtime.""" - agent_runtime_version: str - """The version of the agent runtime.""" - agent_runtime_name: str - """The name of the agent runtime.""" - description: str - """The description of the agent runtime.""" - last_updated_at: datetime - """The timestamp when the agent runtime was last updated.""" - status: str - """The current status of the agent runtime.""" - -@dataclass -class AgentRuntimeArtifactContainerConfiguration(_SerdeShape): - """The container configuration for the agent artifact.""" - - value: ContainerConfiguration - -@dataclass -class AgentRuntimeArtifactCodeConfiguration(_SerdeShape): - """ - The code configuration for the agent runtime artifact, including the - source code location and execution settings. - """ - - value: CodeConfiguration - -@dataclass -class AgentRuntimeArtifactUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AgentRuntimeArtifact = Union[ - AgentRuntimeArtifactContainerConfiguration - | AgentRuntimeArtifactCodeConfiguration - | AgentRuntimeArtifactUnknown -] -"""The artifact of the agent.""" - -class _AgentRuntimeArtifactDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> AgentRuntimeArtifact: ... - -@dataclass(kw_only=True) -class AgentRuntimeEndpoint(_SerdeShape): - """ - Contains information about an agent runtime endpoint. An endpoint - provides a way to connect to and interact with an agent runtime. - """ - - name: str - """The name of the agent runtime endpoint.""" - live_version: str | None = ... - """ - The live version of the agent runtime endpoint. This is the version that - is currently serving requests. - """ - target_version: str | None = ... - """ - The target version of the agent runtime endpoint. This is the version - that the endpoint is being updated to. - """ - agent_runtime_endpoint_arn: str - """The Amazon Resource Name (ARN) of the agent runtime endpoint.""" - agent_runtime_arn: str - """ - The Amazon Resource Name (ARN) of the agent runtime associated with the - endpoint. - """ - status: str - """The current status of the agent runtime endpoint.""" - id: str - """The unique identifier of the agent runtime endpoint.""" - description: str | None = ... - """The description of the agent runtime endpoint.""" - created_at: datetime - """The timestamp when the agent runtime endpoint was created.""" - last_updated_at: datetime - """The timestamp when the agent runtime endpoint was last updated.""" - -class AgentRuntimeEndpointStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - READY = "READY" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - -class AgentRuntimeStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - READY = "READY" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class AgentRuntimeVersionSummary(_SerdeShape): - """ - Summary information about an agent runtime version associated with a - capacity provider. This is returned by - `ListAgentRuntimeVersionsByCapacityProvider`. - """ - - agent_runtime_arn: str - """The Amazon Resource Name (ARN) of the agent runtime.""" - agent_runtime_version: str - """The version of the agent runtime.""" - status: str - """The current status of the agent runtime version.""" - -@dataclass(kw_only=True) -class AgentSkillsDescriptor(_SerdeShape): - """ - The agent skills descriptor for a registry record. Contains an optional - skill markdown definition in human-readable format and an optional - structured skill definition. - """ - - skill_md: SkillMdDefinition | None = ... - """ - The optional skill markdown definition describing the agent's skills in - a human-readable format. - """ - skill_definition: SkillDefinition | None = ... - """The structured skill definition with schema version and content.""" - -@dataclass -class AllowedPortPort(_SerdeShape): - """A single port that is reachable through the runtime's session URL.""" - - value: int - -@dataclass -class AllowedPortPortRange(_SerdeShape): - """ - An inclusive range of ports that are reachable through the runtime's - session URL. - """ - - value: PortRange - -@dataclass -class AllowedPortUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AllowedPort = Union[AllowedPortPort | AllowedPortPortRange | AllowedPortUnknown] -""" -A port or port range that is reachable through the runtime's session -URL. Specify exactly one of `port` or `portRange`. -""" - -class _AllowedPortDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> AllowedPort: ... - -@dataclass(kw_only=True) -class AllowedWorkloadConfiguration(_SerdeShape): - """ - The configuration that restricts which workloads in the request's - identity chain are allowed to invoke the target, identified by their - hosting environments and workload identities. At launch, this is - supported only for AgentCore Runtime targets, and the allowed workloads - are AgentCore Gateways. - """ - - hosting_environments: list[HostingEnvironment] | None = ... - """ - The list of hosting environments whose workloads are allowed to invoke - the target. At launch, the only supported hosting environment is - AgentCore Gateway. - """ - workload_identities: list[str] | None = ... - """The list of workload identities that are allowed to invoke the target.""" - -@dataclass(kw_only=True) -class ApiGatewayTargetConfiguration(_SerdeShape): - """The configuration for an Amazon API Gateway target.""" - - rest_api_id: str - """The ID of the API Gateway REST API.""" - stage: str - """The ID of the stage of the REST API to add as a target.""" - api_gateway_tool_configuration: ApiGatewayToolConfiguration - """ - The configuration for defining REST API tool filters and overrides for - the gateway target. - """ - -@dataclass(kw_only=True) -class ApiGatewayToolConfiguration(_SerdeShape): - """ - The configuration for defining REST API tool filters and overrides for - the gateway target. - """ - - tool_overrides: list[ApiGatewayToolOverride] | None = ... - """ - A list of explicit tool definitions with optional custom names and - descriptions. - """ - tool_filters: list[ApiGatewayToolFilter] - """ - A list of path and method patterns to expose as tools using metadata - from the REST API's OpenAPI specification. - """ - -@dataclass(kw_only=True) -class ApiGatewayToolFilter(_SerdeShape): - """ - Specifies which operations from an API Gateway REST API are exposed as - tools. Tool names and descriptions are derived from the operationId and - description fields in the API's exported OpenAPI specification. - """ - - filter_path: str - """ - Resource path to match in the REST API. Supports exact paths (for - example, `/pets`) or wildcard paths (for example, `/pets/*` to match all - paths under `/pets`). Must match existing paths in the REST API. - """ - methods: list[str] - """The methods to filter for.""" - -@dataclass(kw_only=True) -class ApiGatewayToolOverride(_SerdeShape): - """Settings to override configurations for a tool.""" - - name: str - """The name of tool. Identifies the tool in the Model Context Protocol.""" - description: str | None = ... - """ - The description of the tool. Provides information about the purpose and - usage of the tool. If not provided, uses the description from the API's - OpenAPI specification. - """ - path: str - """ - Resource path in the REST API (e.g., `/pets`). Must explicitly match an - existing path in the REST API. - """ - method: str - """The HTTP method to expose for the specified path.""" - -class ApiKeyCredentialLocation(UnknownEnumMixin, StrEnum): - HEADER = "HEADER" - QUERY_PARAMETER = "QUERY_PARAMETER" - -@dataclass(kw_only=True) -class ApiKeyCredentialProviderItem(_SerdeShape): - """Contains information about an API key credential provider.""" - - name: str - """The name of the API key credential provider.""" - credential_provider_arn: str - """The Amazon Resource Name (ARN) of the API key credential provider.""" - created_time: datetime - """The timestamp when the API key credential provider was created.""" - last_updated_time: datetime - """The timestamp when the API key credential provider was last updated.""" - -@dataclass -class ApiSchemaConfigurationS3(_SerdeShape): - """ - The Amazon S3 configuration for a gateway. This structure defines how - the gateway accesses files in Amazon S3. - """ - - value: S3Configuration - -@dataclass -class ApiSchemaConfigurationInlinePayload(_SerdeShape): - """The inline payload containing the API schema definition.""" - - value: str - -@dataclass -class ApiSchemaConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ApiSchemaConfiguration = Union[ - ApiSchemaConfigurationS3 - | ApiSchemaConfigurationInlinePayload - | ApiSchemaConfigurationUnknown -] -"""Configuration for API schema.""" - -class _ApiSchemaConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ApiSchemaConfiguration: ... - -@dataclass(kw_only=True) -class ApprovalConfiguration(_SerdeShape): - """ - Configuration for the registry record approval workflow. Controls - whether records added to the registry require explicit approval before - becoming active. - """ - - auto_approval: bool = ... - """ - Whether registry records are auto-approved. When set to `true`, records - are automatically approved upon creation. When set to `false` (the - default), records require explicit approval for security purposes. - """ - -@dataclass(kw_only=True) -class AtlassianOauth2ProviderConfigInput(_SerdeShape): - """ - Configuration settings for connecting to Atlassian services using OAuth2 - authentication. This includes the client credentials required to - authenticate with Atlassian's OAuth2 authorization server. - """ - - client_id: str - """ - The client ID for the Atlassian OAuth2 provider. This identifier is - assigned by Atlassian when you register your application. - """ - client_secret: str = ... - """ - The client secret for the Atlassian OAuth2 provider. This secret is - assigned by Atlassian and used along with the client ID to authenticate - your application. - """ - client_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the client secret. This includes the secret ID and the JSON key - used to extract the client secret value from the secret. Required when - `clientSecretSource` is set to `EXTERNAL`. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret for the Atlassian OAuth2 provider. - Use `MANAGED` if the secret is managed by the service, or `EXTERNAL` if - you manage the secret yourself in Amazon Web Services Secrets Manager. - """ - -@dataclass(kw_only=True) -class AtlassianOauth2ProviderConfigOutput(_SerdeShape): - """ - The configuration details returned for an Atlassian OAuth2 provider, - including the client ID and OAuth2 discovery information. - """ - - oauth_discovery: Oauth2Discovery - """Contains the discovery information for an OAuth2 provider.""" - client_id: str | None = ... - """The client ID for the Atlassian OAuth2 provider.""" - -@dataclass -class AuthorizationDataOauth2(_SerdeShape): - """OAuth2 authorization data for the gateway target.""" - - value: OAuth2AuthorizationData - -@dataclass -class AuthorizationDataUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AuthorizationData = Union[AuthorizationDataOauth2 | AuthorizationDataUnknown] -""" -Contains the authorization data that is returned when a gateway target -is configured with a credential provider with authorization code grant -type and requires user federation. -""" - -class _AuthorizationDataDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> AuthorizationData: ... - -@dataclass -class AuthorizerConfigurationCustomJWTAuthorizer(_SerdeShape): - """ - The inbound JWT-based authorization, specifying how incoming requests - should be authenticated. - """ - - value: CustomJWTAuthorizerConfiguration - -@dataclass -class AuthorizerConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AuthorizerConfiguration = Union[ - AuthorizerConfigurationCustomJWTAuthorizer | AuthorizerConfigurationUnknown -] -""" -Represents inbound authorization configuration options used to -authenticate incoming requests. -""" - -class _AuthorizerConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AuthorizerConfiguration: ... - -class AuthorizerType(UnknownEnumMixin, StrEnum): - CUSTOM_JWT = "CUSTOM_JWT" - AWS_IAM = "AWS_IAM" - NONE = "NONE" - AUTHENTICATE_ONLY = "AUTHENTICATE_ONLY" - -@dataclass(kw_only=True) -class AuthorizingClaimMatchValueType(_SerdeShape): - """ - Defines the value or values to match for and the relationship of the - match. - """ - - claim_match_value: ClaimMatchValueType - """The value or values to match for.""" - claim_match_operator: str - """ - Defines the relationship between the claim field value and the value or - values you're matching for. - """ - -@dataclass(kw_only=True) -class BatchPutGatewayRateLimitsInput(_SerdeShape): - """Dataclass for BatchPutGatewayRateLimitsInput structure.""" - - gateway_identifier: str | None = ... - """The unique identifier of the gateway.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - rate_limits: list[BatchPutLimitEntry] | None = ... - """ - The complete set of rate limits for this gateway. This operation - replaces all existing rate limits in a single request. If the operation - fails, no rate limits are changed. - """ - -@dataclass(kw_only=True) -class BatchPutGatewayRateLimitsOutput(_SerdeShape): - """Dataclass for BatchPutGatewayRateLimitsOutput structure.""" - - rate_limits: list[GatewayRateLimitDetail] - """The resulting set of rate limits after the batch operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BatchPutLimitEntry(_SerdeShape): - """ - A rate limit definition within a batch put request. If you provide a - `rateLimitId`, the service uses it for upsert matching against existing - rate limits. - """ - - rate_limit_id: str | None = ... - """ - The unique identifier of the rate limit. If provided, the service uses - it for upsert matching against existing rate limits. - """ - description: str | None = ... - """ - An optional human-readable description for this rate limit. If not - provided, the rate limit is created without a description. - """ - dimension_keys: list[str] - """ - The ordered list of dimension key names that define the scope of this - rate limit. - """ - entries: list[LimitEntry] - """ - The list of rule entries that map dimension values to rate - configurations. - """ - -@dataclass(kw_only=True) -class BedrockEvaluatorModelConfig(_SerdeShape): - """ - The configuration for using Amazon Bedrock models in evaluator - assessments, including model selection and inference parameters. - """ - - model_id: str - """ - The identifier of the Amazon Bedrock model to use for evaluation. Must - be a supported foundation model available in your region. - """ - inference_config: InferenceConfiguration | None = ... - """ - The inference configuration parameters that control model behavior - during evaluation, including temperature, token limits, and sampling - settings. - """ - additional_model_request_fields: Document | None = ... - """ - Additional model-specific request fields to customize model behavior - beyond the standard inference configuration. - """ - -@dataclass(kw_only=True) -class BrowserEnterprisePolicy(_SerdeShape): - """Browser enterprise policy configuration.""" - - location: ResourceLocation - """The location of the enterprise policy file.""" - type: str | None = ... - """ - The type of browser enterprise policy. Available values are `MANAGED` - and `RECOMMENDED`. - """ - -class BrowserEnterprisePolicyType(UnknownEnumMixin, StrEnum): - MANAGED = "MANAGED" - RECOMMENDED = "RECOMMENDED" - -@dataclass(kw_only=True) -class BrowserNetworkConfiguration(_SerdeShape): - """ - The network configuration for a browser. This structure defines how the - browser connects to the network. - """ - - network_mode: str = ... - """ - The network mode for the browser. This field specifies how the browser - connects to the network. - """ - vpc_config: VpcConfig | None = ... - """ - The VPC configuration for the browser. This configuration is required - when the network mode is set to `VPC`. - """ - -class BrowserNetworkMode(UnknownEnumMixin, StrEnum): - PUBLIC = "PUBLIC" - VPC = "VPC" - -class BrowserProfileStatus(UnknownEnumMixin, StrEnum): - """The status of a browser profile.""" - - READY = "READY" - DELETING = "DELETING" - DELETED = "DELETED" - SAVING = "SAVING" - -@dataclass(kw_only=True) -class BrowserProfileSummary(_SerdeShape): - """ - Contains summary information about a browser profile. A browser profile - stores persistent browser data that can be reused across browser - sessions. - """ - - profile_id: str - """The unique identifier of the browser profile.""" - profile_arn: str - """The Amazon Resource Name (ARN) of the browser profile.""" - name: str - """The name of the browser profile.""" - description: str | None = ... - """The description of the browser profile.""" - status: str - """ - The current status of the browser profile. Possible values include - READY, SAVING, DELETING, and DELETED. - """ - created_at: datetime - """The timestamp when the browser profile was created.""" - last_updated_at: datetime - """The timestamp when the browser profile was last updated.""" - last_saved_at: datetime | None = ... - """The timestamp when browser session data was last saved to this profile.""" - last_saved_browser_session_id: str | None = ... - """ - The identifier of the browser session from which data was last saved to - this profile. - """ - last_saved_browser_id: str | None = ... - """ - The identifier of the browser from which data was last saved to this - profile. - """ - -@dataclass(kw_only=True) -class BrowserSigningConfigInput(_SerdeShape): - """ - Configuration for enabling browser signing capabilities that allow - agents to cryptographically identify themselves to websites using HTTP - message signatures. - """ - - enabled: bool = ... - """ - Specifies whether browser signing is enabled. When enabled, the browser - will cryptographically sign HTTP requests to identify itself as an AI - agent to bot control vendors. - """ - -@dataclass(kw_only=True) -class BrowserSigningConfigOutput(_SerdeShape): - """ - The current browser signing configuration that shows whether - cryptographic agent identification is enabled for web bot - authentication. - """ - - enabled: bool = ... - """ - Indicates whether browser signing is currently enabled for cryptographic - agent identification using HTTP message signatures. - """ - -class BrowserStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - READY = "READY" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - DELETED = "DELETED" - -@dataclass(kw_only=True) -class BrowserSummary(_SerdeShape): - """ - Contains summary information about a browser. A browser enables Amazon - Bedrock AgentCore Agent to interact with web content. - """ - - browser_id: str - """The unique identifier of the browser.""" - browser_arn: str - """The Amazon Resource Name (ARN) of the browser.""" - name: str | None = ... - """The name of the browser.""" - description: str | None = ... - """The description of the browser.""" - status: str - """The current status of the browser.""" - created_at: datetime - """The timestamp when the browser was created.""" - last_updated_at: datetime | None = ... - """The timestamp when the browser was last updated.""" - -@dataclass(kw_only=True) -class BuildLifecycleHooks(_SerdeShape): - """ - The lifecycle hooks that run when you create or update the AgentCore - Runtime, before any sessions are created. - """ - - warmup: LifecycleHook | None = ... - """ - The hook that warms up your agent before any sessions are created. Use - this hook to load the resources that your sessions need, such as models, - libraries, or caches. Your hook must complete within 120 seconds. - """ - -@dataclass(kw_only=True) -class CapacityProviderConfiguration(_SerdeShape): - """ - Configuration for customer-managed compute capacity for the AgentCore - Runtime. A capacity provider runs the AgentCore Runtime on the Instances - compute type, using Amazon Web Services managed compute in your account. - """ - - capacity_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the capacity provider to use for the - AgentCore Runtime. - """ - -class CapacityProviderStatus(UnknownEnumMixin, StrEnum): - """ - The status of a capacity provider. Possible values: - - - `CREATING` -- The service is creating the capacity provider and - validating its configuration. - - - `CREATE_FAILED` -- The service could not create the capacity provider. - For details, see `statusCode` and `statusReason`. - - - `UPDATING` -- The service is updating the capacity provider. - - - `UPDATE_FAILED` -- The service could not update the capacity provider. - For details, see `statusCode` and `statusReason`. - - - `READY` -- The capacity provider is available for use. - - - `DELETING` -- The service is deleting the capacity provider. - - - `DELETE_FAILED` -- The service could not delete the capacity provider. - You can retry the deletion. - """ - - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - READY = "READY" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - -class CapacityProviderStatusCode(UnknownEnumMixin, StrEnum): - """ - A reason code for a capacity provider that is not in the `READY` state. - Possible values: - - - `VALIDATION_ERROR` -- A configuration error prevented the operation. - For example, missing permissions, invalid parameters, or a naming - conflict. - - - `QUOTA_EXCEEDED` -- An Amazon EC2 resource quota was exceeded. Request - a limit increase or remove unused resources. - - - `THROTTLED` -- The request was throttled. Retry after a short delay. - - - `INTERNAL_SERVER_EXCEPTION` -- An internal error occurred. - """ - - VALIDATION_ERROR = "VALIDATION_ERROR" - QUOTA_EXCEEDED = "QUOTA_EXCEEDED" - THROTTLED = "THROTTLED" - INTERNAL_SERVER_EXCEPTION = "INTERNAL_SERVER_EXCEPTION" - -@dataclass(kw_only=True) -class CapacityProviderSummary(_SerdeShape): - """ - A summary of a capacity provider, as returned by - `ListCapacityProviders`. Each summary includes the capacity provider - identifier, Amazon Resource Name (ARN), name, status, and last-updated - timestamp. - """ - - capacity_provider_id: str - """The unique identifier of the capacity provider.""" - capacity_provider_arn: str - """The Amazon Resource Name (ARN) of the capacity provider.""" - name: str - """The name of the capacity provider.""" - status: str - """ - The current status of the capacity provider. For possible values, see - `CapacityProviderStatus`. - """ - last_updated_at: datetime - """The timestamp when the capacity provider was last updated.""" - -@dataclass(kw_only=True) -class CapacityProviderVolumeConfiguration(_SerdeShape): - """ - Configuration for a capacity provider volume mounted into the AgentCore - Runtime. This references a persistent volume by its logical name, as - defined in the capacity provider's list of volumes. - """ - - volume_name: str - """ - The logical name of the capacity provider volume to mount. This name - must match a volume that is defined in the capacity provider's list of - volumes. - """ - mount_path: str - """ - The mount path for the capacity provider volume inside the AgentCore - Runtime. The path must be under `/mnt` with exactly one subdirectory - level (for example, `/mnt/data`). - """ - -class CapacityReservationPreference(UnknownEnumMixin, StrEnum): - CAPACITY_RESERVATIONS_ONLY = "capacity-reservations-only" - OPEN = "open" - NONE = "none" - -@dataclass(kw_only=True) -class CapacityReservationSpecification(_SerdeShape): - """The Capacity Reservation targeting option for the instances.""" - - capacity_reservation_preference: str | None = ... - """The Capacity Reservation preference for the instances.""" - capacity_reservation_target: CapacityReservationTarget | None = ... - """ - The target Capacity Reservation or Capacity Reservation group for the - instances. - """ - -@dataclass(kw_only=True) -class CapacityReservationTarget(_SerdeShape): - """ - Information about the target Capacity Reservation or Capacity - Reservation group for the instances. - """ - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation in which to run the instances.""" - capacity_reservation_resource_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Capacity Reservation resource - group in which to run the instances. - """ - -@dataclass(kw_only=True) -class CategoricalScaleDefinition(_SerdeShape): - """ - The definition of a categorical rating scale option that provides a - named category with its description for evaluation scoring. - """ - - definition: str - """ - The description that explains what this categorical rating represents - and when it should be used. - """ - label: str - """The label or name of this categorical rating option.""" - -@dataclass(kw_only=True) -class CedarPolicy(_SerdeShape): - """ - Represents a Cedar policy statement within the AgentCore Policy system. - Cedar is a policy language designed for authorization that provides - human-readable, analyzable, and high-performance policy evaluation for - controlling agent behavior and access decisions. - """ - - statement: str - """ - The Cedar policy statement that defines the authorization logic. This - statement follows Cedar syntax and specifies principals, actions, - resources, and conditions that determine when access should be allowed - or denied. - """ - -@dataclass(kw_only=True) -class Certificate(_SerdeShape): - """A certificate to install in the browser or code interpreter.""" - - location: CertificateLocation - """The location of the certificate.""" - -@dataclass -class CertificateConfigurationS3(_SerdeShape): - """The Amazon S3 location of the PEM-encoded private CA certificate.""" - - value: S3CertificateConfiguration - -@dataclass -class CertificateConfigurationSecretsManager(_SerdeShape): - """ - The Amazon Web Services Secrets Manager location of the PEM-encoded - private CA certificate. - """ - - value: SecretsManagerCertificateConfiguration - -@dataclass -class CertificateConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CertificateConfiguration = Union[ - CertificateConfigurationS3 - | CertificateConfigurationSecretsManager - | CertificateConfigurationUnknown -] -""" -A reference to a private certificate authority (CA) certificate that -AgentCore uses to verify TLS connections to an endpoint, such as a -gateway target or an identity provider, that presents a certificate -issued by a private CA that is not trusted by default. Specify exactly -one certificate source. The configuration is a reference only and never -contains the certificate content. -""" - -class _CertificateConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CertificateConfiguration: ... - -@dataclass -class CertificateLocationSecretsManager(_SerdeShape): - """The Amazon Web Services Secrets Manager location of the certificate.""" - - value: SecretsManagerLocation - -@dataclass -class CertificateLocationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CertificateLocation = Union[ - CertificateLocationSecretsManager | CertificateLocationUnknown -] -"""The location from which to retrieve a certificate.""" - -class _CertificateLocationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> CertificateLocation: ... - -@dataclass(kw_only=True) -class CircuitBreakerConfiguration(_SerdeShape): - """ - Specifies whether the circuit breaker monitors failures for the targets - in a fallback chain. - """ - - mode: str = ... - """ - Specifies whether you want the circuit breaker turned on. To turn it - off, set this value to `DISABLED`. The default is `ENABLED`. - """ - -class CircuitBreakerMode(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class ClaimMatchOperatorType(UnknownEnumMixin, StrEnum): - EQUALS = "EQUALS" - CONTAINS = "CONTAINS" - CONTAINS_ANY = "CONTAINS_ANY" - -@dataclass -class ClaimMatchValueTypeMatchValueString(_SerdeShape): - """The string value to match for.""" - - value: str - -@dataclass -class ClaimMatchValueTypeMatchValueStringList(_SerdeShape): - """An array of strings to check for a match.""" - - value: list[str] - -@dataclass -class ClaimMatchValueTypeUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ClaimMatchValueType = Union[ - ClaimMatchValueTypeMatchValueString - | ClaimMatchValueTypeMatchValueStringList - | ClaimMatchValueTypeUnknown -] -""" -The value or values to match for. - -- Include a `matchValueString` with the `EQUALS` operator to specify a - string that matches the claim field value. - -- Include a `matchValueArray` to specify an array of string values. You - can use the following operators: - - - Use `CONTAINS` to yield a match if the claim field value is in the - array. - - - Use `CONTAINS_ANY` to yield a match if the claim field value - contains any of the strings in the array. -""" - -class _ClaimMatchValueTypeDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ClaimMatchValueType: ... - -class ClientAuthenticationMethodType(UnknownEnumMixin, StrEnum): - CLIENT_SECRET_BASIC = "CLIENT_SECRET_BASIC" - CLIENT_SECRET_POST = "CLIENT_SECRET_POST" - AWS_IAM_ID_TOKEN_JWT = "AWS_IAM_ID_TOKEN_JWT" - PRIVATE_KEY_JWT = "PRIVATE_KEY_JWT" - -@dataclass(kw_only=True) -class CloudWatchLogsInputConfig(_SerdeShape): - """ - The configuration for reading agent traces from CloudWatch logs as input - for online evaluation. - """ - - log_group_names: list[str] = ... - """The list of CloudWatch log group names to monitor for agent traces.""" - log_group_name_prefixes: list[str] | None = ... - """ - The list of CloudWatch log group name prefixes to monitor for agent - traces. Specify this instead of `logGroupNames` to match log groups by - prefix. Specify either `logGroupNames` or `logGroupNamePrefixes`, not - both. One of the two is required. - """ - service_names: list[str] - """ - The list of service names to filter traces within the specified log - groups. Used to identify relevant agent sessions. - """ - -@dataclass(kw_only=True) -class CloudWatchOutputConfig(_SerdeShape): - """ - The configuration for writing evaluation results to CloudWatch logs with - embedded metric format (EMF) for monitoring. - """ - - log_group_name: str = ... - """ - The name of the CloudWatch log group where evaluation results will be - written. An existing log group is used as-is; otherwise the service - creates it, which requires the evaluation execution role to grant - `logs:CreateLogGroup` on the log group. Don't specify this value when - `resultDestination` is `SOURCE_LOG_GROUP`. The name can't be under the - service-reserved `/aws/bedrock-agentcore/evaluations/` namespace, apart - from this configuration's own service-managed default group. - """ - metrics_namespace: str | None = ... - """ - The CloudWatch metrics namespace where evaluation result metrics are - published. If you omit this value, the service publishes metrics to - `Bedrock-AgentCore/Evaluations`. This value can't begin with `AWS/`. - """ - result_destination: str = ... - """ - The destination where evaluation results are written. Valid values: - - - `DEDICATED_LOG_GROUP` (default) -- Writes results to a dedicated - result log group. - - - `SOURCE_LOG_GROUP` -- Writes results back to the log group that the - agent traces were read from. If you use this value, don't specify - `logGroupName`. - """ - -@dataclass(kw_only=True) -class ClusteringConfig(_SerdeShape): - """ - Configuration for periodic batch evaluation clustering, specifying how - often clustering jobs run. - """ - - frequencies: list[str] - """ - The list of frequencies at which clustering batch evaluations are - triggered. - """ - -class ClusteringFrequency(UnknownEnumMixin, StrEnum): - DAILY = "DAILY" - WEEKLY = "WEEKLY" - MONTHLY = "MONTHLY" - -@dataclass -class CodeS3(_SerdeShape): - """ - The Amazon Amazon S3 object that contains the source code for the agent - runtime. - """ - - value: S3Location - -@dataclass -class CodeUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Code = Union[CodeS3 | CodeUnknown] -""" -The source code configuration that specifies the location and details of -the code to be executed. -""" - -class _CodeDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Code: ... - -@dataclass -class CodeBasedEvaluatorConfigLambdaConfig(_SerdeShape): - """The Lambda function configuration for code-based evaluation.""" - - value: LambdaEvaluatorConfig - -@dataclass -class CodeBasedEvaluatorConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CodeBasedEvaluatorConfig = Union[ - CodeBasedEvaluatorConfigLambdaConfig | CodeBasedEvaluatorConfigUnknown -] -""" -Configuration for a code-based evaluator. Specify the Lambda function to -use for evaluation. -""" - -class _CodeBasedEvaluatorConfigDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CodeBasedEvaluatorConfig: ... - -@dataclass(kw_only=True) -class CodeConfiguration(_SerdeShape): - """ - The configuration for the source code that defines how the agent runtime - code should be executed, including the code location, runtime - environment, and entry point. - """ - - code: Code - """The source code location and configuration details.""" - runtime: str - """ - The runtime environment for executing the agent code. Specify the - programming language and version to use for the agent runtime. For valid - values, see the list of supported runtimes. - """ - entry_point: list[str] - """ - The entry point for the code execution, specifying the function or - method that should be invoked when the code runs. - """ - -@dataclass(kw_only=True) -class CodeInterpreterNetworkConfiguration(_SerdeShape): - """ - The network configuration for a code interpreter. This structure defines - how the code interpreter connects to the network. - """ - - network_mode: str = ... - """ - The network mode for the code interpreter. This field specifies how the - code interpreter connects to the network. - """ - vpc_config: VpcConfig | None = ... - """ - The VPC configuration for the code interpreter. This configuration is - required when the network mode is set to `VPC`. - """ - -class CodeInterpreterNetworkMode(UnknownEnumMixin, StrEnum): - PUBLIC = "PUBLIC" - SANDBOX = "SANDBOX" - VPC = "VPC" - -class CodeInterpreterStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - READY = "READY" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - DELETED = "DELETED" - -@dataclass(kw_only=True) -class CodeInterpreterSummary(_SerdeShape): - """ - Contains summary information about a code interpreter. A code - interpreter enables Amazon Bedrock AgentCore Agent to execute code. - """ - - code_interpreter_id: str - """The unique identifier of the code interpreter.""" - code_interpreter_arn: str - """The Amazon Resource Name (ARN) of the code interpreter.""" - name: str | None = ... - """The name of the code interpreter.""" - description: str | None = ... - """The description of the code interpreter.""" - status: str - """The current status of the code interpreter.""" - created_at: datetime - """The timestamp when the code interpreter was created.""" - last_updated_at: datetime | None = ... - """The timestamp when the code interpreter was last updated.""" - -@dataclass(kw_only=True) -class CoinbaseCdpConfigurationInput(_SerdeShape): - """ - Coinbase CDP configuration --- credentials provided by Coinbase - Developer Platform. - """ - - api_key_id: str - """The API key identifier provided by Coinbase Developer Platform.""" - api_key_secret: str = ... - """The API key secret provided by Coinbase Developer Platform.""" - api_key_secret_source: str | None = ... - """ - The source type of the API key secret for the Coinbase Developer - Platform. Use `MANAGED` if the secret is managed by the service, or - `EXTERNAL` if you manage the secret yourself in Amazon Web Services - Secrets Manager. - """ - api_key_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the API key secret. This includes the secret ID and the JSON key - used to extract the API key secret value from the secret. Required when - `apiKeySecretSource` is set to `EXTERNAL`. - """ - wallet_secret: str = ... - """The wallet secret provided by Coinbase Developer Platform.""" - wallet_secret_source: str | None = ... - """ - The source type of the wallet secret for the Coinbase Developer - Platform. Use `MANAGED` if the secret is managed by the service, or - `EXTERNAL` if you manage the secret yourself in Amazon Web Services - Secrets Manager. - """ - wallet_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the wallet secret. This includes the secret ID and the JSON key - used to extract the wallet secret value from the secret. Required when - `walletSecretSource` is set to `EXTERNAL`. - """ - -@dataclass(kw_only=True) -class CoinbaseCdpConfigurationOutput(_SerdeShape): - """Coinbase CDP configuration output with secret ARNs.""" - - api_key_id: str - """The API key identifier provided by Coinbase Developer Platform.""" - api_key_secret_arn: Secret - """ - Contains information about a secret in Amazon Web Services Secrets - Manager. - """ - api_key_secret_json_key: str | None = ... - """ - The JSON key used to extract the API key secret value from the Amazon - Web Services Secrets Manager secret. - """ - api_key_secret_source: str | None = ... - """ - The source type of the API key secret. Either `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if managed by the user in Amazon - Web Services Secrets Manager. - """ - wallet_secret_arn: Secret - """ - Contains information about a secret in Amazon Web Services Secrets - Manager. - """ - wallet_secret_json_key: str | None = ... - """ - The JSON key used to extract the wallet secret value from the Amazon Web - Services Secrets Manager secret. - """ - wallet_secret_source: str | None = ... - """ - The source type of the wallet secret. Either `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if managed by the user in Amazon - Web Services Secrets Manager. - """ - -@dataclass(kw_only=True) -class CoinbaseCdpRotationTargets(_SerdeShape): - """Specifies the service-managed Coinbase CDP secrets to rotate.""" - - secrets: list[str] - """ - The secrets to rotate. Specify at least one value. Each secret that you - specify is rotated independently. - - - `API_KEY` - The API key that the payment connector uses to call - Coinbase CDP. Rotate it as routine maintenance, or if you suspect that - it is compromised. - - - `WALLET_SECRET` - The wallet secret that signs transactions. Rotate it - only if it is lost or compromised. Coinbase CDP allows one wallet - secret per project, so it is replaced in place and signing can be - briefly interrupted. - """ - -class CoinbaseCdpSecret(UnknownEnumMixin, StrEnum): - API_KEY = "API_KEY" - WALLET_SECRET = "WALLET_SECRET" - -@dataclass(kw_only=True) -class ComponentConfiguration(_SerdeShape): - """ - The configuration for a component within a configuration bundle. The - component type is inferred from the component identifier ARN. - """ - - configuration: Document - """The configuration values as a flexible JSON document.""" - -@dataclass -class ComputeConfigurationEc2Configuration(_SerdeShape): - """The Amazon EC2 compute configuration for the capacity provider.""" - - value: Ec2Configuration - -@dataclass -class ComputeConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ComputeConfiguration = Union[ - ComputeConfigurationEc2Configuration | ComputeConfigurationUnknown -] -""" -The compute configuration for a capacity provider. This structure -defines the type and settings of the compute resources used to launch -instances. -""" - -class _ComputeConfigurationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ComputeConfiguration: ... - -@dataclass(kw_only=True) -class ConcurrentModificationException(ServiceError, _SerdeShape): - """ - Exception thrown when a resource is modified concurrently by multiple - requests. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ConditionMatchPrincipals(_SerdeShape): - """ - A condition that matches on the identity of the caller making the - request. - """ - - value: MatchPrincipals - -@dataclass -class ConditionMatchPaths(_SerdeShape): - """A condition that matches on the request path.""" - - value: MatchPaths - -@dataclass -class ConditionMatchModels(_SerdeShape): - """A condition that matches on the model requested in an inference request.""" - - value: MatchModels - -@dataclass -class ConditionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Condition = Union[ - ConditionMatchPrincipals - | ConditionMatchPaths - | ConditionMatchModels - | ConditionUnknown -] -""" -A condition that determines when a gateway rule applies. Conditions can -match on principals, request paths, or the requested model. -""" - -class _ConditionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Condition: ... - -@dataclass -class ConfigurationBundleActionStaticOverride(_SerdeShape): - """ - A static configuration bundle override that applies a single bundle - version to all matching requests. - """ - - value: StaticOverride - -@dataclass -class ConfigurationBundleActionWeightedOverride(_SerdeShape): - """ - A weighted configuration bundle override that splits traffic between - multiple bundle versions based on configured weights. - """ - - value: WeightedOverride - -@dataclass -class ConfigurationBundleActionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ConfigurationBundleAction = Union[ - ConfigurationBundleActionStaticOverride - | ConfigurationBundleActionWeightedOverride - | ConfigurationBundleActionUnknown -] -""" -An action that applies a configuration bundle override, either as a -static override or a weighted split for A/B testing. -""" - -class _ConfigurationBundleActionDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ConfigurationBundleAction: ... - -@dataclass(kw_only=True) -class ConfigurationBundleReference(_SerdeShape): - """A reference to a specific version of a configuration bundle.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle.""" - bundle_version: str - """The version of the configuration bundle.""" - -class ConfigurationBundleStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class ConfigurationBundleSummary(_SerdeShape): - """Summary information about a configuration bundle.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle.""" - bundle_id: str - """The unique identifier of the configuration bundle.""" - bundle_name: str - """The name of the configuration bundle.""" - description: str | None = ... - """The description of the configuration bundle.""" - created_at: datetime | None = ... - """The timestamp when the configuration bundle was created.""" - -@dataclass(kw_only=True) -class ConfigurationBundleVersionSummary(_SerdeShape): - """Summary information about a configuration bundle version.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle.""" - bundle_id: str - """The unique identifier of the configuration bundle.""" - version_id: str - """The version identifier of this configuration bundle version.""" - lineage_metadata: VersionLineageMetadata | None = ... - """ - The version lineage metadata, including parent versions, branch name, - and creation source. - """ - version_created_at: datetime - """The timestamp when this version was created.""" - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """ - This exception is thrown when there is a conflict performing an - operation - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ConnectorConfiguration(_SerdeShape): - """Configuration for a single tool within a connector.""" - - name: str - """The tool or operation name (for example, `retrieve` or `webSearch`).""" - description: str | None = ... - """An agent-facing description override for this tool.""" - parameter_values: Document | None = ... - """ - Parameters to set as fixed or default values when provisioning this - tool. - """ - parameter_overrides: list[ConnectorParameterOverride] | None = ... - """ - Parameters to expose to the agent at runtime, with optional description - overrides. - """ - -@dataclass(kw_only=True) -class ConnectorParameterOverride(_SerdeShape): - """ - Specifies a parameter override for a connector tool, allowing you to - control parameter visibility and descriptions. - """ - - path: str - """ - A JSON Pointer path identifying the parameter (for example, - `/numberOfResults` or `/filter`). - """ - description: str | None = ... - """An agent-facing description override for this parameter.""" - visible: bool | None = ... - """ - Whether this parameter is visible to the agent. If not specified, uses - the service default. - """ - -@dataclass(kw_only=True) -class ConnectorSource(_SerdeShape): - """The source identifying the connector integration.""" - - connector_id: str - """ - The identifier for the connector integration (for example, - `bedrock-knowledge-bases`). - """ - version: str | None = ... - """ - The version of the connector to use (for example, `1.1.0`). If you - don't specify a version, the service uses the latest available version. - """ - -@dataclass(kw_only=True) -class ConnectorTargetConfiguration(_SerdeShape): - """ - Configuration for a connector integration target. Connectors provide - pre-built integrations with Amazon Web Services services and third-party - tools. - """ - - source: ConnectorSource - """The source configuration identifying which connector to use.""" - enabled: list[str] | None = ... - """ - A list of tool names to enable from this connector. If absent, all tools - provided by the connector are enabled. - """ - configurations: list[ConnectorConfiguration] | None = ... - """A list of per-tool configurations for the connector.""" - -@dataclass(kw_only=True) -class ConsentPortalIdpConfig(_SerdeShape): - """ - The identity provider configuration used to authenticate end users to - the consent portal. - """ - - credential_provider_arn: str - """ - The Amazon Resource Name (ARN) of the OAuth2 credential provider used to - authenticate end users to the consent portal. - """ - scopes: list[str] - """ - The OAuth2 scopes that the consent portal requests when authenticating - end users. - """ - audience: str | None = ... - """ - The audience value that the consent portal includes when requesting - tokens from the identity provider. - """ - -@dataclass(kw_only=True) -class ConsentPortalSource(_SerdeShape): - """A resource served by the consent portal.""" - - identifier: str - """ - The identifier of the source resource. For an `agentcore-gateway` - source, this is the gateway ID or its Amazon Resource Name (ARN). - """ - type: str - """The type of the source resource.""" - -class ConsentPortalSourceType(UnknownEnumMixin, StrEnum): - """ - The type of a consent portal source. Currently, we only support type - `agentcore-gateway`. - """ - - AGENTCORE_GATEWAY = "agentcore-gateway" - -class ConsentPortalStatus(UnknownEnumMixin, StrEnum): - """The lifecycle status of a consent portal.""" - - CREATING = "CREATING" - ACTIVE = "ACTIVE" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - DELETING = "DELETING" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class ConsentPortalSummary(_SerdeShape): - """Summary information about a consent portal.""" - - sources: list[ConsentPortalSource] - """The resources served by the consent portal.""" - consent_portal_arn: str - """The Amazon Resource Name (ARN) of the consent portal.""" - consent_portal_id: str - """The unique identifier of the consent portal.""" - created_at: datetime - """The timestamp for when the consent portal was created.""" - description: str | None = ... - """The description of the consent portal.""" - name: str - """The name of the consent portal.""" - portal_url: str | None = ... - """The URL used to access the consent portal.""" - status: str - """The current status of the consent portal.""" - updated_at: datetime - """The timestamp for when the consent portal was last updated.""" - -@dataclass -class ConsolidationConfigurationCustomConsolidationConfiguration(_SerdeShape): - """The custom consolidation configuration.""" - - value: CustomConsolidationConfiguration - -@dataclass -class ConsolidationConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ConsolidationConfiguration = Union[ - ConsolidationConfigurationCustomConsolidationConfiguration - | ConsolidationConfigurationUnknown -] -"""Contains consolidation configuration information for a memory strategy.""" - -class _ConsolidationConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ConsolidationConfiguration: ... - -@dataclass(kw_only=True) -class ContainerConfiguration(_SerdeShape): - """Representation of a container configuration.""" - - container_uri: str - """The ECR URI of the container.""" - -@dataclass -class ContentRawText(_SerdeShape): - """ - The raw text content containing natural language descriptions of desired - policy behavior. This text is processed by AI to generate corresponding - Dogwood policy statements that match the described intent. - """ - - value: str - -@dataclass -class ContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Content = Union[ContentRawText | ContentUnknown] -""" -Represents content input for policy generation operations. This -structure encapsulates the natural language descriptions or other -content formats that are used as input for AI-powered policy generation. -""" - -class _ContentDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Content: ... - -@dataclass(kw_only=True) -class ContentConfiguration(_SerdeShape): - """Defines what content to stream and at what level of detail.""" - - type: str - """Type of content to stream.""" - level: str = ... - """Level of detail for streamed content.""" - -class ContentLevel(UnknownEnumMixin, StrEnum): - METADATA_ONLY = "METADATA_ONLY" - FULL_CONTENT = "FULL_CONTENT" - -class ContentType(UnknownEnumMixin, StrEnum): - MEMORY_RECORDS = "MEMORY_RECORDS" - -@dataclass(kw_only=True) -class CreateAgentRuntimeEndpointInput(_SerdeShape): - """Dataclass for CreateAgentRuntimeEndpointInput structure.""" - - agent_runtime_id: str | None = ... - """ - The unique identifier of the AgentCore Runtime to create an endpoint - for. - """ - name: str | None = ... - """The name of the AgentCore Runtime endpoint.""" - agent_runtime_version: str | None = ... - """The version of the AgentCore Runtime to use for the endpoint.""" - description: str | None = ... - """The description of the AgentCore Runtime endpoint.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the agent runtime endpoint. - Tags enable you to categorize your resources in different ways, for - example, by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateAgentRuntimeEndpointOutput(_SerdeShape): - """Dataclass for CreateAgentRuntimeEndpointOutput structure.""" - - target_version: str - """The target version of the AgentCore Runtime for the endpoint.""" - agent_runtime_endpoint_arn: str - """The Amazon Resource Name (ARN) of the AgentCore Runtime endpoint.""" - agent_runtime_arn: str - """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" - agent_runtime_id: str | None = ... - """The unique identifier of the AgentCore Runtime.""" - endpoint_name: str | None = ... - """The name of the AgentCore Runtime endpoint.""" - status: str - """The current status of the AgentCore Runtime endpoint.""" - created_at: datetime - """The timestamp when the AgentCore Runtime endpoint was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAgentRuntimeInput(_SerdeShape): - """Dataclass for CreateAgentRuntimeInput structure.""" - - agent_runtime_name: str | None = ... - """The name of the AgentCore Runtime.""" - agent_runtime_artifact: AgentRuntimeArtifact | None = ... - """The artifact of the AgentCore Runtime.""" - role_arn: str | None = ... - """The IAM role ARN that provides permissions for the AgentCore Runtime.""" - network_configuration: NetworkConfiguration | None = ... - """The network configuration for the AgentCore Runtime.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - description: str | None = ... - """The description of the AgentCore Runtime.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """The authorizer configuration for the AgentCore Runtime.""" - request_header_configuration: RequestHeaderConfiguration | None = ... - """ - Configuration for HTTP request headers that will be passed through to - the runtime. - """ - protocol_configuration: ProtocolConfiguration | None = ... - """ - The protocol configuration for the AgentCore Runtime, including the - protocol, port, and path on which the agent server is available. - """ - lifecycle_configuration: LifecycleConfiguration | None = ... - """The life cycle configuration for the AgentCore Runtime.""" - hooks_configuration: RuntimeHooksConfiguration | None = ... - """ - The lifecycle hooks configuration for the AgentCore Runtime. Use - lifecycle hooks to run actions in the agent's container at fixed points - in the runtime's lifecycle, such as warming up the agent before - sessions are created. - """ - environment_variables: dict[str, str] | None = ... - """Environment variables to set in the AgentCore Runtime environment.""" - filesystem_configurations: list[FilesystemConfiguration] | None = ... - """ - The filesystem configurations to mount into the AgentCore Runtime. Use - filesystem configurations to provide persistent storage to your - AgentCore Runtime sessions. - """ - capacity_provider_configuration: CapacityProviderConfiguration | None = ... - """ - The capacity provider configuration for the AgentCore Runtime. Use a - capacity provider to run the AgentCore Runtime on the Instances compute - type, which provisions Amazon Web Services managed compute in your - account. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the agent runtime. Tags enable - you to categorize your resources in different ways, for example, by - purpose, owner, or environment. - """ - platform_version: str | None = ... - """The version of the runtime platform to use for the AgentCore Runtime.""" - allowed_ports: list[AllowedPort] | None = ... - """ - The additional ports on the AgentCore Runtime that are reachable through - the runtime's session URL. Specify one to five non-overlapping entries, - each containing either a single port or an inclusive port range. Ports - must be between `8000` and `12000`, excluding the reserved port `8443`. - """ - resource_configurations: list[ResourceConfiguration] | None = ... - """ - The resource configurations for the AgentCore Runtime, such as the - minimum amount of memory to allocate to the runtime. You can specify at - most one resource configuration. - """ - -@dataclass(kw_only=True) -class CreateAgentRuntimeOutput(_SerdeShape): - """Dataclass for CreateAgentRuntimeOutput structure.""" - - agent_runtime_arn: str - """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" - workload_identity_details: WorkloadIdentityDetails | None = ... - """The workload identity details for the AgentCore Runtime.""" - agent_runtime_id: str - """The unique identifier of the AgentCore Runtime.""" - agent_runtime_version: str - """The version of the AgentCore Runtime.""" - created_at: datetime - """The timestamp when the AgentCore Runtime was created.""" - status: str - """The current status of the AgentCore Runtime.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateApiKeyCredentialProviderInput(_SerdeShape): - """Dataclass for CreateApiKeyCredentialProviderInput structure.""" - - name: str | None = ... - """ - The name of the API key credential provider. The name must be unique - within your account. - """ - api_key: str = ... - """ - The API key to use for authentication. This value is encrypted and - stored securely. - """ - api_key_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the API key. This includes the secret ID and the JSON key used to - extract the API key value from the secret. Required when - `apiKeySecretSource` is set to `EXTERNAL`. - """ - api_key_secret_source: str | None = ... - """ - The source type of the API key secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the API key credential - provider. Tags enable you to categorize your resources in different - ways, for example, by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateApiKeyCredentialProviderOutput(_SerdeShape): - """Dataclass for CreateApiKeyCredentialProviderOutput structure.""" - - api_key_secret_arn: Secret - """The Amazon Resource Name (ARN) of the secret containing the API key.""" - api_key_secret_json_key: str | None = ... - """ - The JSON key used to extract the API key value from the Amazon Web - Services Secrets Manager secret. - """ - api_key_secret_source: str | None = ... - """ - The source type of the API key secret. Either `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if managed by the user in Amazon - Web Services Secrets Manager. - """ - name: str - """The name of the created API key credential provider.""" - credential_provider_arn: str - """ - The Amazon Resource Name (ARN) of the created API key credential - provider. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateBrowserInput(_SerdeShape): - """Dataclass for CreateBrowserInput structure.""" - - name: str | None = ... - """The name of the browser. The name must be unique within your account.""" - description: str | None = ... - """The description of the browser.""" - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that provides permissions - for the browser to access Amazon Web Services services. - """ - network_configuration: BrowserNetworkConfiguration | None = ... - """ - The network configuration for the browser. This configuration specifies - the network mode for the browser. - """ - recording: RecordingConfig | None = ... - """ - The recording configuration for the browser. When enabled, browser - sessions are recorded and stored in the specified Amazon S3 location. - """ - browser_signing: BrowserSigningConfigInput | None = ... - """ - The browser signing configuration that enables cryptographic agent - identification using HTTP message signatures for web bot authentication. - """ - enterprise_policies: list[BrowserEnterprisePolicy] | None = ... - """A list of enterprise policy files for the browser.""" - certificates: list[Certificate] | None = ... - """A list of certificates to install in the browser.""" - filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... - """ - The file system configurations to mount into the browser. Use these - configurations to mount your own Amazon Simple Storage Service (Amazon - S3) Files or Amazon Elastic File System (Amazon EFS) access points. Your - sessions can then access your data. If you don't specify this field, no - file systems are mounted. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock AgentCore ignores the request but does not - return an error. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the browser. Tags enable you - to categorize your resources in different ways, for example, by purpose, - owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateBrowserOutput(_SerdeShape): - """Dataclass for CreateBrowserOutput structure.""" - - browser_id: str - """The unique identifier of the created browser.""" - browser_arn: str - """The Amazon Resource Name (ARN) of the created browser.""" - created_at: datetime - """The timestamp when the browser was created.""" - status: str - """The current status of the browser.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateBrowserProfileInput(_SerdeShape): - """Dataclass for CreateBrowserProfileInput structure.""" - - name: str | None = ... - """ - The name of the browser profile. The name must be unique within your - account and can contain alphanumeric characters and underscores. - """ - description: str | None = ... - """ - A description of the browser profile. Use this field to describe the - purpose or contents of the profile. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock AgentCore ignores the request but does not - return an error. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the browser profile. Tags - enable you to categorize your resources in different ways, for example, - by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateBrowserProfileOutput(_SerdeShape): - """Dataclass for CreateBrowserProfileOutput structure.""" - - profile_id: str - """The unique identifier of the created browser profile.""" - profile_arn: str - """The Amazon Resource Name (ARN) of the created browser profile.""" - created_at: datetime - """The timestamp when the browser profile was created.""" - status: str - """The current status of the browser profile.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCapacityProviderInput(_SerdeShape): - """Dataclass for CreateCapacityProviderInput structure.""" - - name: str | None = ... - """ - The name of the capacity provider. The name must be unique within your - account. - """ - description: str | None = ... - """ - An optional description of the capacity provider. If you don't specify - a description, the service creates the capacity provider without one. - """ - permissions_configuration: PermissionsConfiguration | None = ... - """ - The permissions configuration for the capacity provider. This specifies - the IAM role that AgentCore uses to manage the Amazon EC2 instances on - your behalf. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to associate with the capacity provider. If - you don't specify tags, the capacity provider is created with no tags. - """ - compute_configuration: ComputeConfiguration | None = ... - """ - The compute configuration for the capacity provider. This defines the - Amazon EC2 compute resources used to launch instances: the operating - system, allowed instance types, networking, and storage. - """ - -@dataclass(kw_only=True) -class CreateCapacityProviderOutput(_SerdeShape): - """Dataclass for CreateCapacityProviderOutput structure.""" - - capacity_provider_id: str - """The unique identifier of the created capacity provider.""" - capacity_provider_arn: str - """The Amazon Resource Name (ARN) of the capacity provider.""" - name: str - """The name of the capacity provider.""" - status: str - """ - The current status of the capacity provider. For possible values, see - `CapacityProviderStatus`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCodeInterpreterInput(_SerdeShape): - """Dataclass for CreateCodeInterpreterInput structure.""" - - name: str | None = ... - """ - The name of the code interpreter. The name must be unique within your - account. - """ - description: str | None = ... - """The description of the code interpreter.""" - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that provides permissions - for the code interpreter to access Amazon Web Services services. - """ - network_configuration: CodeInterpreterNetworkConfiguration | None = ... - """ - The network configuration for the code interpreter. This configuration - specifies the network mode for the code interpreter. - """ - certificates: list[Certificate] | None = ... - """A list of certificates to install in the code interpreter.""" - filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... - """ - The file system configurations to mount into the code interpreter. Use - these configurations to mount your own Amazon Simple Storage Service - (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access - points. Your sessions can then access your data. If you don't specify - this field, no file systems are mounted. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock AgentCore ignores the request but does not - return an error. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the code interpreter. Tags - enable you to categorize your resources in different ways, for example, - by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateCodeInterpreterOutput(_SerdeShape): - """Dataclass for CreateCodeInterpreterOutput structure.""" - - code_interpreter_id: str - """The unique identifier of the created code interpreter.""" - code_interpreter_arn: str - """The Amazon Resource Name (ARN) of the created code interpreter.""" - created_at: datetime - """The timestamp when the code interpreter was created.""" - status: str - """The current status of the code interpreter.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateConfigurationBundleInput(_SerdeShape): - """Dataclass for CreateConfigurationBundleInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - bundle_name: str | None = ... - """ - The name for the configuration bundle. Names must be unique within your - account. - """ - description: str | None = ... - """The description for the configuration bundle.""" - components: dict[str, ComponentConfiguration] | None = ... - """ - A map of component identifiers to their configurations. Each component - represents a configurable element within the bundle. - """ - branch_name: str | None = ... - """ - The branch name for version tracking. Defaults to `mainline` if not - specified. - """ - commit_message: str | None = ... - """ - A commit message describing the initial version of the configuration - bundle. - """ - created_by: VersionCreatedBySource | None = ... - """ - The source that created this version, including the source name and - optional ARN. - """ - kms_key_arn: str | None = ... - """Optional KMS key ARN for encrypting component configurations.""" - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the configuration bundle. Tags - enable you to categorize your resources in different ways, for example, - by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateConfigurationBundleOutput(_SerdeShape): - """Dataclass for CreateConfigurationBundleOutput structure.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the created configuration bundle.""" - bundle_id: str - """The unique identifier of the created configuration bundle.""" - version_id: str - """The initial version identifier of the configuration bundle.""" - created_at: datetime - """The timestamp when the configuration bundle was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateConsentPortalInput(_SerdeShape): - """Dataclass for CreateConsentPortalInput structure.""" - - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that the consent portal - assumes to access the resources defined in its sources. - """ - idp_config: ConsentPortalIdpConfig | None = ... - """ - The identity provider configuration that the consent portal uses to - authenticate end users. - """ - name: str | None = ... - """ - The name of the consent portal. The name must be unique within your - account. - """ - sources: list[ConsentPortalSource] | None = ... - """ - The resources served by the consent portal. Currently, we only support - type `agentcore-gateway`. - """ - description: str | None = ... - """The description of the consent portal.""" - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the consent portal. Tags - enable you to categorize your resources in different ways, for example, - by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateConsentPortalOutput(_SerdeShape): - """Dataclass for CreateConsentPortalOutput structure.""" - - sources: list[ConsentPortalSource] - """The resources served by the consent portal.""" - consent_portal_arn: str - """The Amazon Resource Name (ARN) of the consent portal.""" - consent_portal_id: str - """The unique identifier of the consent portal.""" - created_at: datetime - """The timestamp for when the consent portal was created.""" - description: str | None = ... - """The description of the consent portal.""" - execution_role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role that the consent portal - assumes to access the resources defined in its sources. - """ - idp_config: ConsentPortalIdpConfig - """ - The identity provider configuration that the consent portal uses to - authenticate end users. - """ - name: str - """The name of the consent portal.""" - portal_url: str | None = ... - """The URL used to access the consent portal.""" - status: str - """The current status of the consent portal.""" - status_reason: str | None = ... - """ - A message that provides additional information about the current status - of the consent portal. - """ - updated_at: datetime - """The timestamp for when the consent portal was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDatasetInput(_SerdeShape): - """Dataclass for CreateDatasetInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dataset_name: str | None = ... - """ - Human-readable name for the dataset. Must be unique within the account. - Immutable after creation. - """ - description: str | None = ... - """A description of the dataset.""" - source: DataSourceType | None = ... - """ - Source of initial examples. Provide either inline examples or an S3 URI - pointing to a JSONL file. - """ - schema_type: str | None = ... - """ - Versioned schema type governing the structure of examples. Immutable - after creation. - """ - kms_key_arn: str | None = ... - """ - Optional KMS key ARN for server-side encryption on service Amazon S3 - writes. - """ - tags: dict[str, str] | None = ... - """A map of tag keys and values to assign to the dataset.""" - -@dataclass(kw_only=True) -class CreateDatasetOutput(_SerdeShape): - """Dataclass for CreateDatasetOutput structure.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the created dataset.""" - dataset_id: str - """The unique identifier of the created dataset.""" - status: str - """ - Always CREATING immediately after this call. Poll `GetDataset` until - status transitions to ACTIVE or CREATE_FAILED. - """ - created_at: datetime - """The timestamp when the dataset was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDatasetVersionInput(_SerdeShape): - """Dataclass for CreateDatasetVersionInput structure.""" - - dataset_id: str | None = ... - """The unique identifier of the dataset to publish a version for.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateDatasetVersionOutput(_SerdeShape): - """Dataclass for CreateDatasetVersionOutput structure.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the dataset.""" - dataset_id: str - """The unique identifier of the dataset.""" - status: str - """ - Always UPDATING immediately after this call. Poll `GetDataset` until - status transitions to ACTIVE or UPDATE_FAILED. - """ - dataset_version: str - """The version number being created.""" - created_at: datetime - """The timestamp when the version creation was initiated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateEvaluatorInput(_SerdeShape): - """Dataclass for CreateEvaluatorInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - evaluator_name: str | None = ... - """The name of the evaluator. Must be unique within your account.""" - description: str | None = ... - """ - The description of the evaluator that explains its purpose and - evaluation criteria. - """ - evaluator_config: EvaluatorConfig | None = ... - """ - The configuration for the evaluator. Specify either LLM-as-a-Judge - settings with instructions, rating scale, and model configuration, or - code-based settings with a customer-managed Lambda function. - """ - level: str | None = ... - """ - The evaluation level that determines the scope of evaluation. Valid - values are `TOOL_CALL` for individual tool invocations, `TRACE` for - single request-response interactions, or `SESSION` for entire - conversation sessions. - """ - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a customer managed KMS key to use for - encrypting sensitive evaluator data, including instructions and rating - scale. If you don't specify a KMS key, the evaluator data is encrypted - with an Amazon Web Services owned key. Only symmetric encryption KMS - keys are supported. For more information, see [Encryption at rest for - AgentCore - Evaluations](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html). - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to an AgentCore Evaluator. Tags - enable you to categorize your resources in different ways, for example, - by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateEvaluatorOutput(_SerdeShape): - """Dataclass for CreateEvaluatorOutput structure.""" - - evaluator_arn: str - """The Amazon Resource Name (ARN) of the created evaluator.""" - evaluator_id: str - """The unique identifier of the created evaluator.""" - created_at: datetime - """The timestamp when the evaluator was created.""" - status: str - """The status of the evaluator creation operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGatewayInput(_SerdeShape): - """Dataclass for CreateGatewayInput structure.""" - - name: str | None = ... - """The name of the gateway. The name must be unique within your account.""" - description: str | None = ... - """The description of the gateway.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that provides permissions - for the gateway to access Amazon Web Services services. - """ - protocol_type: str = ... - """The protocol type for the gateway.""" - protocol_configuration: GatewayProtocolConfiguration | None = ... - """ - The configuration settings for the protocol specified in the - `protocolType` parameter. - """ - authorizer_type: str | None = ... - """ - The type of authorizer to use for the gateway. - - - `CUSTOM_JWT` - Authorize with a bearer token. - - - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. - - - `NONE` - No authorization - """ - authorizer_configuration: AuthorizerConfiguration | None = ... - """ - The authorizer configuration for the gateway. Required if - `authorizerType` is `CUSTOM_JWT`. - """ - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt data - associated with the gateway. - """ - interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... - """ - A list of configuration settings for a gateway interceptor. Gateway - interceptors allow custom code to be invoked during gateway invocations. - """ - policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... - """ - The policy engine configuration for the gateway. A policy engine is a - collection of policies that evaluates and authorizes agent tool calls. - When associated with a gateway, the policy engine intercepts all agent - requests and determines whether to allow or deny each action based on - the defined policies. - """ - exception_level: str | None = ... - """ - The level of detail in error messages returned when invoking the - gateway. - - - If the value is `DEBUG`, granular exception messages are returned to - help a user debug the gateway. - - - If the value is omitted, a generic error message is returned to the - end user. - """ - tags: dict[str, str] | None = ... - """A map of key-value pairs to associate with the gateway as metadata tags.""" - domain_override: DomainOverride | None = ... - """ - The public domain names that the gateway advertises in its OAuth - discovery URLs instead of the inbound Host header. Specify this when - clients reach the gateway through your own proxy or custom domain. - """ - -@dataclass(kw_only=True) -class CreateGatewayOutput(_SerdeShape): - """Dataclass for CreateGatewayOutput structure.""" - - gateway_arn: str - """The Amazon Resource Name (ARN) of the created gateway.""" - gateway_id: str - """The unique identifier of the created gateway.""" - gateway_url: str | None = ... - """The URL endpoint for the created gateway.""" - created_at: datetime - """The timestamp when the gateway was created.""" - updated_at: datetime - """The timestamp when the gateway was last updated.""" - status: str - """The current status of the gateway.""" - status_reasons: list[str] | None = ... - """The reasons for the current status of the gateway.""" - name: str - """The name of the gateway.""" - description: str | None = ... - """The description of the gateway.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role associated with the - gateway. - """ - protocol_type: str = ... - """The protocol type of the gateway.""" - protocol_configuration: GatewayProtocolConfiguration | None = ... - """The configuration settings for the protocol used by the gateway.""" - authorizer_type: str - """The type of authorizer used by the gateway.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """The authorizer configuration for the created gateway.""" - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt data - associated with the gateway. - """ - custom_transform_configuration: CustomTransformConfiguration | None = ... - """ - The custom transformation configuration for the gateway. This - configuration defines how the gateway transforms requests and responses. - """ - interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... - """The list of interceptor configurations for the created gateway.""" - policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... - """The policy engine configuration for the created gateway.""" - workload_identity_details: WorkloadIdentityDetails | None = ... - """The workload identity details for the created gateway.""" - exception_level: str | None = ... - """ - The level of detail in error messages returned when invoking the - gateway. - - - If the value is `DEBUG`, granular exception messages are returned to - help a user debug the gateway. - - - If the value is omitted, a generic error message is returned to the - end user. - """ - web_acl_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services WAF web ACL - associated with the gateway. - """ - waf_configuration: WafConfiguration | None = ... - """The Amazon Web Services WAF configuration for the gateway.""" - domain_override: DomainOverride | None = ... - """ - The public domain names that the gateway advertises in its OAuth - discovery URLs instead of the inbound Host header. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGatewayRateLimitInput(_SerdeShape): - """Dataclass for CreateGatewayRateLimitInput structure.""" - - gateway_identifier: str | None = ... - """The unique identifier of the gateway to create the rate limit for.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - rate_limit_id: str | None = ... - """ - An optional customer-defined identifier for the rate limit. If not - provided, the system generates one. - """ - description: str | None = ... - """ - An optional human-readable description for this rate limit. If not - provided, the rate limit is created without a description. - """ - dimension_keys: list[str] | None = ... - """ - The ordered list of dimension key names that define the scope of this - rate limit. Must be unique per gateway---no two rate limits can share - the same dimension keys. - """ - entries: list[LimitEntry] | None = ... - """The rule entries that map dimension values to rate configurations.""" - -@dataclass(kw_only=True) -class CreateGatewayRateLimitOutput(_SerdeShape): - """Shared fields for `GatewayRateLimit` responses.""" - - rate_limit_id: str - """The unique identifier of the created rate limit.""" - gateway_identifier: str - """The unique identifier of the gateway.""" - description: str | None = ... - """The human-readable description of the rate limit.""" - dimension_keys: list[str] - """ - The ordered list of dimension key names that define the scope of this - rate limit. - """ - entries: list[LimitEntry] - """ - The list of rule entries that map dimension values to rate - configurations. - """ - status: str - """The current status of the rate limit.""" - created_at: datetime - """The timestamp when the rate limit was created.""" - updated_at: datetime - """The timestamp when the rate limit was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGatewayRuleInput(_SerdeShape): - """Dataclass for CreateGatewayRuleInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway to create a rule for.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - priority: int | None = ... - """ - The priority of the rule. Rules are evaluated in order of priority, with - lower numbers evaluated first. Must be between 1 and 1,000,000. - """ - conditions: list[Condition] | None = ... - """ - The conditions that must be met for the rule to apply. Conditions can - match on principals (IAM ARNs) or request paths. - """ - actions: list[Action] | None = ... - """ - The actions to take when the rule conditions are met. Actions can route - to a specific target or apply a configuration bundle override. - """ - description: str | None = ... - """The description of the gateway rule.""" - -@dataclass(kw_only=True) -class CreateGatewayRuleOutput(_SerdeShape): - """Dataclass for CreateGatewayRuleOutput structure.""" - - rule_id: str - """The unique identifier of the gateway rule.""" - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway that the rule belongs to.""" - priority: int - """ - The priority of the rule. Rules are evaluated in order of priority, with - lower numbers evaluated first. - """ - conditions: list[Condition] | None = ... - """The conditions that must be met for the rule to apply.""" - actions: list[Action] - """The actions to take when the rule conditions are met.""" - description: str | None = ... - """The description of the gateway rule.""" - created_at: datetime - """The timestamp when the rule was created.""" - status: str - """The current status of the rule.""" - system: SystemManagedBlock | None = ... - """System-managed metadata for rules created by automated processes.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGatewayTargetInput(_SerdeShape): - """Dataclass for CreateGatewayTargetInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway to create a target for.""" - name: str | None = ... - """ - The name of the gateway target. The name must be unique within the - gateway. - """ - description: str | None = ... - """The description of the gateway target.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - target_configuration: TargetConfiguration | None = ... - """ - The configuration settings for the target, including endpoint - information and schema definitions. - """ - credential_provider_configurations: ( - list[CredentialProviderConfiguration] | None - ) = ... - """ - The credential provider configurations for the target. These - configurations specify how the gateway authenticates with the target - endpoint. - """ - metadata_configuration: MetadataConfiguration | None = ... - """ - Optional configuration for HTTP header and query parameter propagation - to and from the gateway target. - """ - private_endpoint: PrivateEndpoint | None = ... - """ - The private endpoint configuration for the gateway target. Use this to - connect the gateway to private resources in your VPC. - """ - certificate_configurations: list[CertificateConfiguration] | None = ... - """ - The private certificate authority (CA) configurations for the gateway - target. Use this to have the gateway trust a private CA when it - establishes TLS connections to the target endpoint. Provide each - certificate by reference to an Amazon S3 object or an Amazon Web - Services Secrets Manager secret. You can specify only one certificate - authority configuration in this list. - """ - -@dataclass(kw_only=True) -class CreateGatewayTargetOutput(_SerdeShape): - """Dataclass for CreateGatewayTargetOutput structure.""" - - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway.""" - target_id: str - """The unique identifier of the created target.""" - created_at: datetime - """The timestamp when the target was created.""" - updated_at: datetime - """The timestamp when the target was last updated.""" - status: str - """The current status of the target.""" - status_reasons: list[str] | None = ... - """The reasons for the current status of the target.""" - name: str - """The name of the target.""" - description: str | None = ... - """The description of the target.""" - target_configuration: TargetConfiguration - """The configuration settings for the target.""" - credential_provider_configurations: list[CredentialProviderConfiguration] - """The credential provider configurations for the target.""" - last_synchronized_at: datetime | None = ... - """The last synchronization of the target.""" - metadata_configuration: MetadataConfiguration | None = ... - """ - The metadata configuration that was applied to the created gateway - target. - """ - private_endpoint: PrivateEndpoint | None = ... - """The private endpoint configuration for the gateway target.""" - private_endpoint_managed_resources: list[ManagedResourceDetails] | None = ... - """ - The managed resources created by the gateway for private endpoint - connectivity. - """ - authorization_data: AuthorizationData | None = ... - """ - OAuth2 authorization data for the created gateway target. This data is - returned when a target is configured with a credential provider with - authorization code grant type and requires user federation. - """ - protocol_type: str | None = ... - """The protocol type of the created gateway target.""" - certificate_configurations: list[CertificateConfiguration] | None = ... - """ - The private certificate authority (CA) configurations for the gateway - target. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateHarnessEndpointInput(_SerdeShape): - """Dataclass for CreateHarnessEndpointInput structure.""" - - harness_id: str | None = ... - """The ID of the harness to create an endpoint for.""" - endpoint_name: str | None = ... - """ - The name of the endpoint. Must start with a letter and contain only - alphanumeric characters and underscores. - """ - target_version: str | None = ... - """ - The harness version that the endpoint points to and serves invocations - from. - """ - description: str | None = ... - """A description of the endpoint.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - tags: dict[str, str] | None = ... - """Tags to apply to the endpoint resource.""" - -@dataclass(kw_only=True) -class CreateHarnessEndpointOutput(_SerdeShape): - """Dataclass for CreateHarnessEndpointOutput structure.""" - - endpoint: HarnessEndpoint - """The endpoint that was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateHarnessInput(_SerdeShape): - """Dataclass for CreateHarnessInput structure.""" - - harness_name: str | None = ... - """ - The name of the harness. Must start with a letter and contain only - alphanumeric characters and underscores. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - execution_role_arn: str | None = ... - """ - The ARN of the IAM role that the harness assumes when running. This role - must have permissions for the services the agent needs to access, such - as Amazon Bedrock for model invocation. - """ - environment: HarnessEnvironmentProviderRequest | None = ... - """ - The compute environment configuration for the harness, including network - and lifecycle settings. - """ - environment_artifact: HarnessEnvironmentArtifact | None = ... - """ - The environment artifact for the harness, such as a custom container - image containing additional dependencies. - """ - environment_variables: dict[str, str] | None = ... - """Environment variables to set in the harness runtime environment.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """ - Represents inbound authorization configuration options used to - authenticate incoming requests. - """ - model: HarnessModelConfiguration | None = ... - """ - The model configuration for the harness. Supports Amazon Bedrock, - OpenAI, and Google Gemini model providers. - """ - system_prompt: list[HarnessSystemContentBlock] | None = ... - """The system prompt that defines the agent's behavior and instructions.""" - tools: list[HarnessTool] | None = ... - """ - The tools available to the agent, such as remote MCP servers, AgentCore - Gateway, AgentCore Browser, Code Interpreter, or inline functions. - """ - skills: list[HarnessSkill] | None = ... - """ - The skills available to the agent. Skills are bundles of files that the - agent can pull into its context on demand. - """ - allowed_tools: list[str] | None = ... - """ - The tools that the agent is allowed to use. Supports glob patterns such - as * for all tools, @builtin for all built-in tools, or - @serverName/toolName for specific MCP server tools. - """ - memory: HarnessMemoryConfiguration | None = ... - """ - The AgentCore Memory configuration for persisting conversation context - across sessions. - """ - truncation: HarnessTruncationConfiguration | None = ... - """ - The truncation configuration for managing conversation context when it - exceeds model limits. - """ - hooks: list[HarnessHook] | None = ... - """The lifecycle hooks to run at defined points in the agent loop.""" - max_iterations: int | None = ... - """ - The maximum number of iterations the agent loop can execute per - invocation. - """ - max_tokens: int | None = ... - """ - The maximum total number of output tokens the agent can generate across - all model calls within a single invocation. - """ - timeout_seconds: int | None = ... - """ - The maximum duration in seconds for the agent loop execution per - invocation. - """ - tags: dict[str, str] | None = ... - """Tags to apply to the harness resource.""" - -@dataclass(kw_only=True) -class CreateHarnessOutput(_SerdeShape): - """Dataclass for CreateHarnessOutput structure.""" - - harness: Harness - """The harness that was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateMemoryInput(_SerdeShape): - """Dataclass for CreateMemoryInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request but does not return an - error. - """ - name: str | None = ... - """The name of the memory. The name must be unique within your account.""" - description: str | None = ... - """The description of the memory.""" - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the memory - data. - """ - memory_execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that provides permissions - for the memory to access Amazon Web Services services. - """ - event_expiry_duration: int | None = ... - """ - The number of days after which memory events expire, between 7 and 3650 - days. - """ - memory_strategies: list[MemoryStrategyInput] | None = ... - """ - The memory strategies to use for this memory. Strategies define how - information is extracted, processed, and consolidated. - """ - indexed_keys: list[IndexedKey] | None = ... - """ - Metadata keys to index for filtering. Once declared, indexed keys cannot - be removed. - """ - namespace_keys: list[NamespaceKeyEntry] | None = ... - """ - The namespace variable key definitions with optional validation rules. - Use these `namespaceKeys` in `namespaceTemplates` to control namespace - hierarchy. - """ - stream_delivery_resources: StreamDeliveryResources | None = ... - """Configuration for streaming memory record data to external resources.""" - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to an AgentCore Memory. Tags - enable you to categorize your resources in different ways, for example, - by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateMemoryOutput(_SerdeShape): - """Dataclass for CreateMemoryOutput structure.""" - - memory: Memory | None = ... - """ - The details of the created memory, including its ID, ARN, name, - description, and configuration settings. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateOauth2CredentialProviderInput(_SerdeShape): - """Dataclass for CreateOauth2CredentialProviderInput structure.""" - - name: str | None = ... - """ - The name of the OAuth2 credential provider. The name must be unique - within your account. - """ - credential_provider_vendor: str | None = ... - """ - The vendor of the OAuth2 credential provider. This specifies which - OAuth2 implementation to use. - """ - oauth2_provider_config_input: Oauth2ProviderConfigInput | None = ... - """ - The configuration settings for the OAuth2 provider, including client ID, - client secret, and other vendor-specific settings. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the OAuth2 credential - provider. Tags enable you to categorize your resources in different - ways, for example, by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateOauth2CredentialProviderOutput(_SerdeShape): - """Dataclass for CreateOauth2CredentialProviderOutput structure.""" - - client_secret_arn: Secret - """ - The Amazon Resource Name (ARN) of the client secret in Amazon Web - Services Secrets Manager. - """ - client_secret_json_key: str | None = ... - """ - The JSON key used to extract the client secret value from the Amazon Web - Services Secrets Manager secret. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Either `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if managed by the user in Amazon - Web Services Secrets Manager. - """ - name: str - """The name of the OAuth2 credential provider.""" - credential_provider_arn: str - """The Amazon Resource Name (ARN) of the OAuth2 credential provider.""" - callback_url: str | None = ... - """ - Callback URL to register on the OAuth2 credential provider as an allowed - callback URL. This URL is where the OAuth2 authorization server - redirects users after they complete the authorization flow. - """ - oauth2_provider_config_output: Oauth2ProviderConfigOutput | None = ... - """Contains the output configuration for an OAuth2 provider.""" - status: str | None = ... - """The current status of the OAuth2 credential provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateOnlineEvaluationConfigInput(_SerdeShape): - """Dataclass for CreateOnlineEvaluationConfigInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - online_evaluation_config_name: str | None = ... - """ - The name of the online evaluation configuration. Must be unique within - your account. - """ - description: str | None = ... - """ - The description of the online evaluation configuration that explains its - monitoring purpose and scope. - """ - rule: Rule | None = ... - """ - The evaluation rule that defines sampling configuration, filters, and - session detection settings for the online evaluation. - """ - data_source_config: DataSourceConfig | None = ... - """ - The data source configuration that specifies CloudWatch log groups and - service names to monitor for agent traces. - """ - evaluators: list[EvaluatorReference] | None = ... - """ - The list of evaluators to apply during online evaluation. Can include - both built-in evaluators and custom evaluators created with - `CreateEvaluator`. - """ - insights: list[Insight] | None = ... - """The list of insight types to run against agent sessions.""" - clustering_config: ClusteringConfig | None = ... - """ - Configuration for periodic batch evaluation clustering of insight - results. - """ - output_config: OutputConfig | None = ... - """ - The configuration that specifies where evaluation results should be - written for monitoring and analysis. - """ - evaluation_execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that grants permissions - to read from CloudWatch logs, write evaluation results, and invoke - Amazon Bedrock models for evaluation. If the configuration references - evaluators encrypted with a customer managed KMS key, this role must - also have `kms:Decrypt` permission on the KMS key. The service validates - this permission at configuration creation time. For more information, - see [Encryption at rest for AgentCore - Evaluations](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html). - """ - enable_on_create: bool | None = ... - """ - Whether to enable the online evaluation configuration immediately upon - creation. If true, evaluation begins automatically. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to an AgentCore Online Evaluation - Config. Tags enable you to categorize your resources in different ways, - for example, by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateOnlineEvaluationConfigOutput(_SerdeShape): - """Dataclass for CreateOnlineEvaluationConfigOutput structure.""" - - online_evaluation_config_arn: str - """ - The Amazon Resource Name (ARN) of the created online evaluation - configuration. - """ - online_evaluation_config_id: str - """The unique identifier of the created online evaluation configuration.""" - created_at: datetime - """The timestamp when the online evaluation configuration was created.""" - output_config: OutputConfig | None = ... - """ - The configuration that specifies where evaluation results should be - written for monitoring and analysis. - """ - status: str - """The status of the online evaluation configuration.""" - execution_status: str - """ - The execution status indicating whether the online evaluation is - currently running. - """ - failure_reason: str | None = ... - """ - The reason for failure if the online evaluation configuration creation - or execution failed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePaymentConnectorInput(_SerdeShape): - """Dataclass for CreatePaymentConnectorInput structure.""" - - payment_manager_id: str | None = ... - """ - The unique identifier of the payment manager to create the connector - for. - """ - name: str | None = ... - """The name of the payment connector.""" - description: str | None = ... - """A description of the payment connector.""" - type: str | None = ... - """ - The type of payment connector, which determines the payment provider - integration. - """ - credential_provider_configurations: ( - list[CredentialsProviderConfiguration] | None - ) = ... - """ - The credential provider configurations for the payment connector. These - configurations specify how the connector authenticates with the payment - provider. - """ - provision_mode: str | None = ... - """ - The provision mode for creating the payment connector. If you don't - specify a value, the default is `MANUAL`. - - - `MANUAL` - You provide the credential provider configurations - directly. - - - `QUICK_CREATE` - The service orchestrates OAuth consent and provisions - the credential provider for you. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class CreatePaymentConnectorOutput(_SerdeShape): - """Dataclass for CreatePaymentConnectorOutput structure.""" - - payment_connector_id: str - """The unique identifier of the created payment connector.""" - payment_manager_id: str - """The unique identifier of the parent payment manager.""" - name: str - """The name of the created payment connector.""" - type: str - """The type of the created payment connector.""" - credential_provider_configurations: list[CredentialsProviderConfiguration] - """ - The credential provider configurations for the created payment - connector. - """ - created_at: datetime - """The timestamp when the payment connector was created.""" - status: str - """ - The current status of the payment connector. Possible values include - `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, - `UPDATE_FAILED`, and `DELETE_FAILED`. - """ - authorization_url: str | None = ... - """ - The URL that the user must open to complete OAuth consent. This field is - only present when the payment connector status is - `PENDING_AUTHENTICATION`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePaymentCredentialProviderInput(_SerdeShape): - """Dataclass for CreatePaymentCredentialProviderInput structure.""" - - name: str | None = ... - """Unique name for the payment credential provider.""" - credential_provider_vendor: str | None = ... - """ - The vendor type for the payment credential provider (e.g., CoinbaseCDP, - StripePrivy). - """ - provider_configuration_input: PaymentProviderConfigurationInput | None = ... - """Configuration specific to the vendor, including API credentials.""" - tags: dict[str, str] | None = ... - """Optional tags for resource organization.""" - -@dataclass(kw_only=True) -class CreatePaymentCredentialProviderOutput(_SerdeShape): - """Dataclass for CreatePaymentCredentialProviderOutput structure.""" - - name: str - """The name of the created payment credential provider.""" - credential_provider_vendor: str - """The vendor type for the created payment credential provider.""" - credential_provider_arn: str - """ - The Amazon Resource Name (ARN) of the created payment credential - provider. - """ - provider_configuration_output: PaymentProviderConfigurationOutput - """ - Output configuration (contains secret ARNs, excludes actual secret - values). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePaymentManagerInput(_SerdeShape): - """Dataclass for CreatePaymentManagerInput structure.""" - - name: str | None = ... - """The name of the payment manager.""" - description: str | None = ... - """A description of the payment manager.""" - authorizer_type: str | None = ... - """ - The type of authorizer to use for the payment manager. - - - `CUSTOM_JWT` - Authorize with a bearer token. - - - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. - """ - authorizer_configuration: AuthorizerConfiguration | None = ... - """The authorizer configuration for the payment manager.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that the payment manager - assumes to access resources on your behalf. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - tags: dict[str, str] | None = ... - """A map of tag keys and values to assign to the payment manager.""" - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the customer managed KMS key to use - for encrypting sensitive payment manager data at rest. If you don't - specify a key, the data is encrypted with an Amazon Web Services owned - key. - """ - -@dataclass(kw_only=True) -class CreatePaymentManagerOutput(_SerdeShape): - """Dataclass for CreatePaymentManagerOutput structure.""" - - payment_manager_arn: str - """The Amazon Resource Name (ARN) of the created payment manager.""" - payment_manager_id: str - """The unique identifier of the created payment manager.""" - name: str - """The name of the created payment manager.""" - authorizer_type: str - """The type of authorizer for the created payment manager.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """ - Represents inbound authorization configuration options used to - authenticate incoming requests. - """ - role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role associated with the - created payment manager. - """ - workload_identity_details: WorkloadIdentityDetails | None = ... - """The information about the workload identity.""" - created_at: datetime - """The timestamp when the payment manager was created.""" - status: str - """ - The current status of the payment manager. Possible values include - `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, - `UPDATE_FAILED`, and `DELETE_FAILED`. - """ - tags: dict[str, str] | None = ... - """The tags associated with the created payment manager.""" - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive - payment manager data at rest, if configured. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePolicyEngineInput(_SerdeShape): - """Dataclass for CreatePolicyEngineInput structure.""" - - name: str | None = ... - """ - The customer-assigned immutable name for the policy engine. This name - identifies the policy engine and cannot be changed after creation. - """ - description: str | None = ... - """ - A human-readable description of the policy engine's purpose and scope - (1-4,096 characters). This helps administrators understand the policy - engine's role in the overall governance strategy. Document which - Gateway this engine will be associated with, what types of tools or - workflows it governs, and the team or service responsible for - maintaining it. Clear descriptions are essential when managing multiple - policy engines across different services or environments. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. If you retry a request with the same client - token, the service returns the same response without creating a - duplicate policy engine. - """ - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy - engine data. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to an AgentCore Policy. Tags - enable you to categorize your resources in different ways, for example, - by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreatePolicyEngineOutput(_SerdeShape): - """Dataclass for CreatePolicyEngineOutput structure.""" - - policy_engine_id: str - """ - The unique identifier for the created policy engine. This - system-generated identifier consists of the user name plus a - 10-character generated suffix and is used for all subsequent policy - engine operations. - """ - name: str - """ - The customer-assigned name of the created policy engine. This matches - the name provided in the request and serves as the human-readable - identifier. - """ - created_at: datetime - """ - The timestamp when the policy engine was created. This is automatically - set by the service and used for auditing and lifecycle management. - """ - updated_at: datetime - """ - The timestamp when the policy engine was last updated. For newly created - policy engines, this matches the `createdAt` timestamp. - """ - policy_engine_arn: str - """ - The Amazon Resource Name (ARN) of the created policy engine. This - globally unique identifier can be used for cross-service references and - IAM policy statements. - """ - status: str - """ - The current status of the policy engine. A status of `ACTIVE` indicates - the policy engine is ready for use. - """ - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy - engine data. - """ - description: str | None = ... - """A human-readable description of the policy engine's purpose.""" - status_reasons: list[str] - """ - Additional information about the policy engine status. This provides - details about any failures or the current state of the policy engine - creation process. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePolicyInput(_SerdeShape): - """Dataclass for CreatePolicyInput structure.""" - - name: str | None = ... - """ - The customer-assigned immutable name for the policy. Must be unique - within the account. This name is used for policy identification and - cannot be changed after creation. - """ - definition: PolicyDefinition | None = ... - """ - The Cedar or Dogwood policy statement that defines the access control - rules. This contains the actual policy logic written in Cedar or - Dogwood, specifying effect (permit or forbid), principals, actions, - resources, and conditions for agent behavior control. - """ - description: str | None = ... - """ - A human-readable description of the policy's purpose and functionality - (1-4,096 characters). This helps policy administrators understand the - policy's intent, business rules, and operational scope. Use this field - to document why the policy exists, what business requirement it - addresses, and any special considerations for maintenance. Clear - descriptions are essential for policy governance, auditing, and - troubleshooting. - """ - validation_mode: str = ... - """ - The validation mode for the policy creation. Determines how Cedar - analyzer validation results are handled during policy creation. - FAIL_ON_ANY_FINDINGS (default) runs the Cedar analyzer to validate the - policy against the Cedar schema and tool context, failing creation if - the analyzer detects any validation issues to ensure strict conformance. - IGNORE_ALL_FINDINGS runs the Cedar analyzer but allows policy creation - even if validation issues are detected, useful for testing or when the - policy schema is evolving. Use FAIL_ON_ANY_FINDINGS for production - policies to ensure correctness, and IGNORE_ALL_FINDINGS only when you - understand and accept the analyzer findings. - """ - enforcement_mode: str = ... - """ - The enforcement mode for the policy. Run this policy in `LOG_ONLY` mode - to collect data on how it affects your application. Once you are - satisfied with the data gathered, switch the policy to `ACTIVE`. - Defaults to `ACTIVE`. - """ - policy_engine_id: str | None = ... - """ - The identifier of the policy engine which contains this policy. Policy - engines group related policies and provide the execution context for - policy evaluation. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure the idempotency of the - request. The Amazon Web Services SDK automatically generates this token, - so you don't need to provide it in most cases. If you retry a request - with the same client token, the service returns the same response - without creating a duplicate policy. - """ - -@dataclass(kw_only=True) -class CreatePolicyOutput(_SerdeShape): - """Dataclass for CreatePolicyOutput structure.""" - - policy_id: str - """ - The unique identifier for the created policy. This is a system-generated - identifier consisting of the user name plus a 10-character generated - suffix, used for all subsequent policy operations. - """ - name: str - """ - The customer-assigned name of the created policy. This matches the name - provided in the request and serves as the human-readable identifier for - the policy. - """ - policy_engine_id: str - """ - The identifier of the policy engine that manages this policy. This - confirms the policy engine assignment and is used for policy evaluation - routing. - """ - created_at: datetime - """ - The timestamp when the policy was created. This is automatically set by - the service and used for auditing and lifecycle management. - """ - updated_at: datetime - """ - The timestamp when the policy was last updated. For newly created - policies, this matches the createdAt timestamp. - """ - policy_arn: str - """ - The Amazon Resource Name (ARN) of the created policy. This globally - unique identifier can be used for cross-service references and IAM - policy statements. - """ - status: str - """ - The current status of the policy. A status of `ACTIVE` indicates the - policy is ready for use. - """ - enforcement_mode: str = ... - """The enforcement mode of the created policy.""" - definition: PolicyDefinition - """ - The Cedar or Dogwood policy statement that was created. This is the - validated policy definition that will be used for agent behavior control - and access decisions. - """ - description: str | None = ... - """ - The human-readable description of the policy's purpose and - functionality. This helps administrators understand and manage the - policy. - """ - status_reasons: list[str] - """ - Additional information about the policy status. This provides details - about any failures or the current state of the policy creation process. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRegistryInput(_SerdeShape): - """Dataclass for CreateRegistryInput structure.""" - - name: str | None = ... - """ - The name of the registry. The name must be unique within your account - and can contain alphanumeric characters and underscores. - """ - description: str | None = ... - """A description of the registry.""" - authorizer_type: str | None = ... - """ - The type of authorizer to use for the registry. This controls the - authorization method for the Search and Invoke APIs used by consumers, - and does not affect the standard CRUDL APIs for registry and registry - record management used by administrators. - - - `CUSTOM_JWT` - Authorize with a bearer token. - - - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. - """ - authorizer_configuration: AuthorizerConfiguration | None = ... - """ - The authorizer configuration for the registry. Required if - `authorizerType` is `CUSTOM_JWT`. For details, see the - `AuthorizerConfiguration` data type. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - approval_configuration: ApprovalConfiguration | None = ... - """ - The approval configuration for registry records. Controls whether - records require explicit approval before becoming active. See the - `ApprovalConfiguration` data type for supported configuration options. - """ - -@dataclass(kw_only=True) -class CreateRegistryOutput(_SerdeShape): - """Dataclass for CreateRegistryOutput structure.""" - - registry_arn: str - """The Amazon Resource Name (ARN) of the created registry.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRegistryRecordInput(_SerdeShape): - """Dataclass for CreateRegistryRecordInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry where the record will be created. You can - specify either the Amazon Resource Name (ARN) or the ID of the registry. - """ - name: str | None = ... - """The name of the registry record.""" - description: str | None = ... - """A description of the registry record.""" - descriptor_type: str | None = ... - """ - The descriptor type of the registry record. - - - `MCP` - Model Context Protocol descriptor for MCP-compatible servers - and tools. - - - `A2A` - Agent-to-Agent protocol descriptor. - - - `CUSTOM` - Custom descriptor type for resources such as APIs, Lambda - functions, or servers not conforming to a standard protocol. - - - `AGENT_SKILLS` - Agent skills descriptor for defining agent skill - definitions. - """ - descriptors: Descriptors | None = ... - """ - The descriptor-type-specific configuration containing the resource - schema and metadata. The structure of this field depends on the - `descriptorType` you specify. - """ - record_version: str | None = ... - """ - The version of the registry record. Use this to track different versions - of the record's content. - """ - synchronization_type: str | None = ... - """ - The type of synchronization to use for keeping the record metadata up to - date from an external source. Possible values include `FROM_URL` and - `NONE`. - """ - synchronization_configuration: SynchronizationConfiguration | None = ... - """ - The configuration for synchronizing registry record metadata from an - external source, such as a URL-based MCP server. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateRegistryRecordOutput(_SerdeShape): - """Dataclass for CreateRegistryRecordOutput structure.""" - - record_arn: str - """The Amazon Resource Name (ARN) of the created registry record.""" - status: str - """ - The status of the registry record. Set to `CREATING` while the - asynchronous workflow is in progress. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateWorkloadIdentityInput(_SerdeShape): - """Dataclass for CreateWorkloadIdentityInput structure.""" - - name: str | None = ... - """ - The name of the workload identity. The name must be unique within your - account. - """ - allowed_resource_oauth2_return_urls: list[str] | None = ... - """ - The list of allowed OAuth2 return URLs for resources associated with - this workload identity. - """ - tags: dict[str, str] | None = ... - """ - A map of tag keys and values to assign to the workload identity. Tags - enable you to categorize your resources in different ways, for example, - by purpose, owner, or environment. - """ - -@dataclass(kw_only=True) -class CreateWorkloadIdentityOutput(_SerdeShape): - """Dataclass for CreateWorkloadIdentityOutput structure.""" - - name: str - """The name of the workload identity.""" - workload_identity_arn: str - """The Amazon Resource Name (ARN) of the workload identity.""" - allowed_resource_oauth2_return_urls: list[str] | None = ... - """ - The list of allowed OAuth2 return URLs for resources associated with - this workload identity. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class CredentialProviderOauthCredentialProvider(_SerdeShape): - """ - The OAuth credential provider. This provider uses OAuth authentication - to access the target endpoint. - """ - - value: OAuthCredentialProvider - -@dataclass -class CredentialProviderApiKeyCredentialProvider(_SerdeShape): - """ - The API key credential provider. This provider uses an API key to - authenticate with the target endpoint. - """ - - value: GatewayApiKeyCredentialProvider - -@dataclass -class CredentialProviderIamCredentialProvider(_SerdeShape): - """ - The IAM credential provider. This provider uses IAM authentication with - SigV4 signing to access the target endpoint. - """ - - value: IamCredentialProvider - -@dataclass -class CredentialProviderUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CredentialProvider = Union[ - CredentialProviderOauthCredentialProvider - | CredentialProviderApiKeyCredentialProvider - | CredentialProviderIamCredentialProvider - | CredentialProviderUnknown -] -""" -A credential provider for gateway authentication. This structure -contains the configuration for authenticating with the target endpoint. -""" - -class _CredentialProviderDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> CredentialProvider: ... - -@dataclass(kw_only=True) -class CredentialProviderConfiguration(_SerdeShape): - """ - The configuration for a credential provider. This structure defines how - the gateway authenticates with the target endpoint. - """ - - credential_provider_type: str - """ - The type of credential provider. This field specifies which - authentication method the gateway uses. - """ - credential_provider: CredentialProvider | None = ... - """ - The credential provider. This field contains the specific configuration - for the credential provider type. - """ - -class CredentialProviderType(UnknownEnumMixin, StrEnum): - GATEWAY_IAM_ROLE = "GATEWAY_IAM_ROLE" - OAUTH = "OAUTH" - API_KEY = "API_KEY" - CALLER_IAM_CREDENTIALS = "CALLER_IAM_CREDENTIALS" - JWT_PASSTHROUGH = "JWT_PASSTHROUGH" - -class CredentialProviderVendorType(UnknownEnumMixin, StrEnum): - GOOGLE_OAUTH2 = "GoogleOauth2" - GITHUB_OAUTH2 = "GithubOauth2" - SLACK_OAUTH2 = "SlackOauth2" - SALESFORCE_OAUTH2 = "SalesforceOauth2" - MICROSOFT_OAUTH2 = "MicrosoftOauth2" - CUSTOM_OAUTH2 = "CustomOauth2" - ATLASSIAN_OAUTH2 = "AtlassianOauth2" - LINKEDIN_OAUTH2 = "LinkedinOauth2" - X_OAUTH2 = "XOauth2" - OKTA_OAUTH2 = "OktaOauth2" - ONE_LOGIN_OAUTH2 = "OneLoginOauth2" - PING_ONE_OAUTH2 = "PingOneOauth2" - FACEBOOK_OAUTH2 = "FacebookOauth2" - YANDEX_OAUTH2 = "YandexOauth2" - REDDIT_OAUTH2 = "RedditOauth2" - ZOOM_OAUTH2 = "ZoomOauth2" - TWITCH_OAUTH2 = "TwitchOauth2" - SPOTIFY_OAUTH2 = "SpotifyOauth2" - DROPBOX_OAUTH2 = "DropboxOauth2" - NOTION_OAUTH2 = "NotionOauth2" - HUBSPOT_OAUTH2 = "HubspotOauth2" - CYBER_ARK_OAUTH2 = "CyberArkOauth2" - FUSION_AUTH_OAUTH2 = "FusionAuthOauth2" - AUTH0_OAUTH2 = "Auth0Oauth2" - COGNITO_OAUTH2 = "CognitoOauth2" - -@dataclass -class CredentialRotationConfigCoinbaseCDP(_SerdeShape): - """The credentials to rotate for a Coinbase CDP payment connector.""" - - value: CoinbaseCdpRotationTargets - -@dataclass -class CredentialRotationConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CredentialRotationConfig = Union[ - CredentialRotationConfigCoinbaseCDP | CredentialRotationConfigUnknown -] -""" -Specifies the service-managed credentials to rotate. Provide the member -that matches the payment connector's `type`. -""" - -class _CredentialRotationConfigDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CredentialRotationConfig: ... - -@dataclass -class CredentialsProviderConfigurationCoinbaseCDP(_SerdeShape): - """ - The credential provider configuration for a Coinbase CDP payment - connector. - """ - - value: PaymentCredentialProviderConfiguration - -@dataclass -class CredentialsProviderConfigurationStripePrivy(_SerdeShape): - """ - The credential provider configuration for a Stripe Privy payment - connector. - """ - - value: PaymentCredentialProviderConfiguration - -@dataclass -class CredentialsProviderConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CredentialsProviderConfiguration = Union[ - CredentialsProviderConfigurationCoinbaseCDP - | CredentialsProviderConfigurationStripePrivy - | CredentialsProviderConfigurationUnknown -] -""" -The credential provider configuration for a payment connector. Specifies -the payment provider type and its associated credential provider. -""" - -class _CredentialsProviderConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CredentialsProviderConfiguration: ... - -@dataclass(kw_only=True) -class CustomClaimValidationType(_SerdeShape): - """ - Defines the name of a custom claim field and rules for finding matches - to authenticate its value. - """ - - inbound_token_claim_name: str - """The name of the custom claim field to check.""" - inbound_token_claim_value_type: str - """ - The data type of the claim value to check for. - - - Use `STRING` if you want to find an exact match to a string you - define. - - - Use `STRING_ARRAY` if you want to fnd a match to at least one value in - an array you define. - """ - authorizing_claim_match_value: AuthorizingClaimMatchValueType - """ - Defines the value or values to match for and the relationship of the - match. - """ - -@dataclass -class CustomConfigurationInputSemanticOverride(_SerdeShape): - """The semantic override configuration for a custom memory strategy.""" - - value: SemanticOverrideConfigurationInput - -@dataclass -class CustomConfigurationInputSummaryOverride(_SerdeShape): - """The summary override configuration for a custom memory strategy.""" - - value: SummaryOverrideConfigurationInput - -@dataclass -class CustomConfigurationInputUserPreferenceOverride(_SerdeShape): - """The user preference override configuration for a custom memory strategy.""" - - value: UserPreferenceOverrideConfigurationInput - -@dataclass -class CustomConfigurationInputEpisodicOverride(_SerdeShape): - """ - The episodic memory strategy override configuration for a custom memory - strategy. - """ - - value: EpisodicOverrideConfigurationInput - -@dataclass -class CustomConfigurationInputSelfManagedConfiguration(_SerdeShape): - """The self managed configuration for a custom memory strategy.""" - - value: SelfManagedConfigurationInput - -@dataclass -class CustomConfigurationInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CustomConfigurationInput = Union[ - CustomConfigurationInputSemanticOverride - | CustomConfigurationInputSummaryOverride - | CustomConfigurationInputUserPreferenceOverride - | CustomConfigurationInputEpisodicOverride - | CustomConfigurationInputSelfManagedConfiguration - | CustomConfigurationInputUnknown -] -"""Input for custom configuration of a memory strategy.""" - -class _CustomConfigurationInputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CustomConfigurationInput: ... - -@dataclass -class CustomConsolidationConfigurationSemanticConsolidationOverride(_SerdeShape): - """The semantic consolidation override configuration.""" - - value: SemanticConsolidationOverride - -@dataclass -class CustomConsolidationConfigurationSummaryConsolidationOverride(_SerdeShape): - """The summary consolidation override configuration.""" - - value: SummaryConsolidationOverride - -@dataclass -class CustomConsolidationConfigurationUserPreferenceConsolidationOverride(_SerdeShape): - """The user preference consolidation override configuration.""" - - value: UserPreferenceConsolidationOverride - -@dataclass -class CustomConsolidationConfigurationEpisodicConsolidationOverride(_SerdeShape): - """ - The configurations to override the default consolidation step for the - episodic memory strategy. - """ - - value: EpisodicConsolidationOverride - -@dataclass -class CustomConsolidationConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CustomConsolidationConfiguration = Union[ - CustomConsolidationConfigurationSemanticConsolidationOverride - | CustomConsolidationConfigurationSummaryConsolidationOverride - | CustomConsolidationConfigurationUserPreferenceConsolidationOverride - | CustomConsolidationConfigurationEpisodicConsolidationOverride - | CustomConsolidationConfigurationUnknown -] -"""Contains custom consolidation configuration information.""" - -class _CustomConsolidationConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CustomConsolidationConfiguration: ... - -@dataclass -class CustomConsolidationConfigurationInputSemanticConsolidationOverride(_SerdeShape): - """The semantic consolidation override configuration input.""" - - value: SemanticOverrideConsolidationConfigurationInput - -@dataclass -class CustomConsolidationConfigurationInputSummaryConsolidationOverride(_SerdeShape): - """The summary consolidation override configuration input.""" - - value: SummaryOverrideConsolidationConfigurationInput - -@dataclass -class CustomConsolidationConfigurationInputUserPreferenceConsolidationOverride( - _SerdeShape -): - """The user preference consolidation override configuration input.""" - - value: UserPreferenceOverrideConsolidationConfigurationInput - -@dataclass -class CustomConsolidationConfigurationInputEpisodicConsolidationOverride(_SerdeShape): - """ - Configurations to override the consolidation step of the episodic - strategy. - """ - - value: EpisodicOverrideConsolidationConfigurationInput - -@dataclass -class CustomConsolidationConfigurationInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CustomConsolidationConfigurationInput = Union[ - CustomConsolidationConfigurationInputSemanticConsolidationOverride - | CustomConsolidationConfigurationInputSummaryConsolidationOverride - | CustomConsolidationConfigurationInputUserPreferenceConsolidationOverride - | CustomConsolidationConfigurationInputEpisodicConsolidationOverride - | CustomConsolidationConfigurationInputUnknown -] -"""Input for a custom consolidation configuration.""" - -class _CustomConsolidationConfigurationInputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CustomConsolidationConfigurationInput: ... - -@dataclass(kw_only=True) -class CustomDescriptor(_SerdeShape): - """ - A custom descriptor for a registry record. Use this for resources such - as APIs, Lambda functions, or servers that do not conform to a standard - protocol like MCP or A2A. - """ - - inline_content: str | None = ... - """ - The custom descriptor content as a valid JSON document. You can define - any custom schema that describes your resource. - """ - -@dataclass -class CustomExtractionConfigurationSemanticExtractionOverride(_SerdeShape): - """The semantic extraction override configuration.""" - - value: SemanticExtractionOverride - -@dataclass -class CustomExtractionConfigurationUserPreferenceExtractionOverride(_SerdeShape): - """The user preference extraction override configuration.""" - - value: UserPreferenceExtractionOverride - -@dataclass -class CustomExtractionConfigurationEpisodicExtractionOverride(_SerdeShape): - """ - The configurations to override the default extraction step for the - episodic memory strategy. - """ - - value: EpisodicExtractionOverride - -@dataclass -class CustomExtractionConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CustomExtractionConfiguration = Union[ - CustomExtractionConfigurationSemanticExtractionOverride - | CustomExtractionConfigurationUserPreferenceExtractionOverride - | CustomExtractionConfigurationEpisodicExtractionOverride - | CustomExtractionConfigurationUnknown -] -"""Contains custom extraction configuration information.""" - -class _CustomExtractionConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CustomExtractionConfiguration: ... - -@dataclass -class CustomExtractionConfigurationInputSemanticExtractionOverride(_SerdeShape): - """The semantic extraction override configuration input.""" - - value: SemanticOverrideExtractionConfigurationInput - -@dataclass -class CustomExtractionConfigurationInputUserPreferenceExtractionOverride(_SerdeShape): - """The user preference extraction override configuration input.""" - - value: UserPreferenceOverrideExtractionConfigurationInput - -@dataclass -class CustomExtractionConfigurationInputEpisodicExtractionOverride(_SerdeShape): - """Configurations to override the extraction step of the episodic strategy.""" - - value: EpisodicOverrideExtractionConfigurationInput - -@dataclass -class CustomExtractionConfigurationInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CustomExtractionConfigurationInput = Union[ - CustomExtractionConfigurationInputSemanticExtractionOverride - | CustomExtractionConfigurationInputUserPreferenceExtractionOverride - | CustomExtractionConfigurationInputEpisodicExtractionOverride - | CustomExtractionConfigurationInputUnknown -] -"""Input for a custom extraction configuration.""" - -class _CustomExtractionConfigurationInputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CustomExtractionConfigurationInput: ... - -@dataclass(kw_only=True) -class CustomJWTAuthorizerConfiguration(_SerdeShape): - """ - Configuration for inbound JWT-based authorization, specifying how - incoming requests should be authenticated. - """ - - discovery_url: str - """ - This URL is used to fetch OpenID Connect configuration or authorization - server metadata for validating incoming tokens. - """ - allowed_audience: list[str] | None = ... - """ - Represents individual audience values that are validated in the incoming - JWT token validation process. - """ - allowed_clients: list[str] | None = ... - """ - Represents individual client IDs that are validated in the incoming JWT - token validation process. - """ - allowed_scopes: list[str] | None = ... - """An array of scopes that are allowed to access the token.""" - advertised_scope_mapping: dict[str, str] | None = ... - """ - A map that associates each scope in `allowedScopes` with a corresponding - advertised scope value. The advertised scope appears in OAuth protected - resource metadata and `WWW-Authenticate` response headers. Use this - parameter when the scope that clients request from your identity - provider differs from the scope in the validated token. Each key is a - scope from `allowedScopes` that the service uses for token validation. - Each value is the corresponding scope that the service advertises to - clients. Scopes without a mapping entry appear unchanged to clients. - """ - custom_claims: list[CustomClaimValidationType] | None = ... - """ - An array of objects that define a custom claim validation name, value, - and operation - """ - private_endpoint: PrivateEndpoint | None = ... - """ - The private endpoint configuration for a gateway target. Defines how the - gateway connects to private resources in your VPC. - """ - private_endpoint_overrides: list[PrivateEndpointOverride] | None = ... - """ - The private endpoint overrides for the custom JWT authorizer - configuration. - """ - certificate_configurations: list[CertificateConfiguration] | None = ... - """ - The private certificate authority (CA) configurations for the identity - provider. Use this to have AgentCore Identity trust a private CA when - establishing TLS connections to identity provider endpoints. You can - specify only one certificate authority configuration in this list. - Provide the certificate by reference to an Amazon S3 object or an Amazon - Web Services Secrets Manager secret. You can use this only together with - `privateEndpoint`. - """ - allowed_workload_configuration: AllowedWorkloadConfiguration | None = ... - """ - The configuration that restricts which workloads in the request's - identity chain are allowed to invoke the target, identified by their - hosting environments and workload identities. At launch, this is - supported only for AgentCore Runtime targets, and the allowed workloads - are AgentCore Gateways. - """ - -@dataclass(kw_only=True) -class CustomMemoryStrategyInput(_SerdeShape): - """Input for creating a custom memory strategy.""" - - name: str - """The name of the custom memory strategy.""" - description: str | None = ... - """The description of the custom memory strategy.""" - namespaces: list[str] | None = ... - """ - This is a legacy parameter, use `namespaceTemplates`. The namespaces - associated with the custom memory strategy. - """ - namespace_templates: list[str] | None = ... - """The namespaceTemplates associated with the custom memory strategy.""" - configuration: CustomConfigurationInput | None = ... - """The configuration for the custom memory strategy.""" - memory_record_schema: MemoryRecordSchema | None = ... - """Schema for metadata fields on records generated by this strategy.""" - record_expiry_specification: RecordExpirySpecification | None = ... - """ - The record expiry (long-term memory time-to-live) configuration for - memory records generated by this strategy. Set - `recordExpiryDurationDays` to the number of days after which records - expire. If not specified, records generated by this strategy do not - expire. - """ - -@dataclass(kw_only=True) -class CustomOauth2ProviderConfigInput(_SerdeShape): - """Input configuration for a custom OAuth2 provider.""" - - oauth_discovery: Oauth2Discovery - """The OAuth2 discovery information for the custom provider.""" - client_id: str = ... - """The client ID for the custom OAuth2 provider.""" - client_secret: str = ... - """The client secret for the custom OAuth2 provider.""" - client_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the client secret. This includes the secret ID and the JSON key - used to extract the client secret value from the secret. Required when - `clientSecretSource` is set to `EXTERNAL`. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - on_behalf_of_token_exchange_config: OnBehalfOfTokenExchangeConfigType | None = ... - """ - The configuration for on-behalf-of token exchange. This enables - authentication flows that use RFC 8693 token exchange or RFC 7523 JWT - authorization grants. - """ - client_authentication_method: str | None = ... - """ - The client authentication method to use when authenticating with the - token endpoint. - """ - private_key_jwt_config: PrivateKeyJwtConfig | None = ... - """ - The private_key_jwt client authentication configuration for this - credential provider. When specified, the credential provider uses JWT - client assertions to authenticate with the token endpoint. - """ - private_endpoint: PrivateEndpoint | None = ... - """ - The default private endpoint for the custom OAuth2 provider, enabling - secure connectivity through a VPC Lattice resource configuration. - """ - private_endpoint_overrides: list[PrivateEndpointOverride] | None = ... - """ - The private endpoint overrides for the custom OAuth2 provider - configuration. - """ - certificate_configurations: list[CertificateConfiguration] | None = ... - """ - The private certificate authority (CA) configurations for the identity - provider. Use this to have AgentCore Identity trust a private CA when - establishing TLS connections to identity provider endpoints. You can - specify only one certificate authority configuration in this list. - Provide the certificate by reference to an Amazon S3 object or an Amazon - Web Services Secrets Manager secret. You can use this only together with - `privateEndpoint`. - """ - -@dataclass(kw_only=True) -class CustomOauth2ProviderConfigOutput(_SerdeShape): - """Output configuration for a custom OAuth2 provider.""" - - oauth_discovery: Oauth2Discovery - """The OAuth2 discovery information for the custom provider.""" - client_id: str | None = ... - """The client ID for the custom OAuth2 provider.""" - on_behalf_of_token_exchange_config: OnBehalfOfTokenExchangeConfigType | None = ... - """The configuration for on-behalf-of token exchange.""" - client_authentication_method: str | None = ... - """ - The client authentication method used when authenticating with the token - endpoint. - """ - private_endpoint: PrivateEndpoint | None = ... - """ - The default private endpoint for the custom OAuth2 provider, enabling - secure connectivity through a VPC Lattice resource configuration. - """ - private_endpoint_overrides: list[PrivateEndpointOverride] | None = ... - """ - The private endpoint overrides for the custom OAuth2 provider - configuration. - """ - certificate_configurations: list[CertificateConfiguration] | None = ... - """ - The private certificate authority (CA) configurations for the identity - provider. Use this to have AgentCore Identity trust a private CA when - establishing TLS connections to identity provider endpoints. You can - specify only one certificate authority configuration in this list. - Provide the certificate by reference to an Amazon S3 object or an Amazon - Web Services Secrets Manager secret. You can use this only together with - `privateEndpoint`. - """ - private_key_jwt_config: PrivateKeyJwtConfig | None = ... - """ - The configuration for private_key_jwt client authentication used by this - OAuth2 credential provider. - """ - -@dataclass -class CustomReflectionConfigurationEpisodicReflectionOverride(_SerdeShape): - """The configuration for a reflection strategy to override the default one.""" - - value: EpisodicReflectionOverride - -@dataclass -class CustomReflectionConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CustomReflectionConfiguration = Union[ - CustomReflectionConfigurationEpisodicReflectionOverride - | CustomReflectionConfigurationUnknown -] -"""Contains configurations for a custom reflection strategy.""" - -class _CustomReflectionConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CustomReflectionConfiguration: ... - -@dataclass -class CustomReflectionConfigurationInputEpisodicReflectionOverride(_SerdeShape): - """The reflection override configuration input.""" - - value: EpisodicOverrideReflectionConfigurationInput - -@dataclass -class CustomReflectionConfigurationInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CustomReflectionConfigurationInput = Union[ - CustomReflectionConfigurationInputEpisodicReflectionOverride - | CustomReflectionConfigurationInputUnknown -] -"""Input for a custom reflection configuration.""" - -class _CustomReflectionConfigurationInputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CustomReflectionConfigurationInput: ... - -@dataclass(kw_only=True) -class CustomTransformConfiguration(_SerdeShape): - """ - The configuration for custom transformations applied to requests and - responses through the gateway. This structure defines how the gateway - transforms data. - """ - - lambda_: LambdaTransformConfiguration | None = ... - """ - The Lambda configuration for custom transformations. This configuration - defines how the gateway uses a Lambda function to transform data. - """ - -class DatasetSchemaType(UnknownEnumMixin, StrEnum): - """ - Versioned schema type for dataset examples. Each value identifies both - the source format and the version of that format's schema. - """ - - AGENTCORE_EVALUATION_PREDEFINED_V1 = "AGENTCORE_EVALUATION_PREDEFINED_V1" - """ - AgentCore predefined evaluation schema, version 1. Dataset with - pre-written inputs per conversation turn. - """ - AGENTCORE_EVALUATION_SIMULATED_V1 = "AGENTCORE_EVALUATION_SIMULATED_V1" - """ - AgentCore simulated evaluation schema, version 1. Dataset for synthetic - data generation where each example is a scenario used to generate full - conversations. - """ - THIRD_PARTY_EVALUATION_V1 = "THIRD_PARTY_EVALUATION_V1" - """ - Third-party evaluation schema, version 1. Supports single-turn (string - input) and multi-turn (message list input) across third-party evaluation - frameworks. - """ - -class DatasetStatus(UnknownEnumMixin, StrEnum): - """Dataset lifecycle and operation status.""" - - CREATING = "CREATING" - """CreateDataset async ingestion in progress. All writes are blocked.""" - UPDATING = "UPDATING" - """ - An async example mutation or CreateDatasetVersion is in progress. All - writes are blocked. - """ - DELETING = "DELETING" - """ - Full or version-specific delete is in progress. Read operations are - still allowed. - """ - ACTIVE = "ACTIVE" - """ - Dataset is stable. All operations are allowed per operation-specific - guards. - """ - CREATE_FAILED = "CREATE_FAILED" - """Initial ingestion failed. DRAFT record exists but contains no examples.""" - UPDATE_FAILED = "UPDATE_FAILED" - """ - Last example mutation or CreateDatasetVersion failed. DRAFT may be - partially modified. - """ - DELETE_FAILED = "DELETE_FAILED" - """ - Delete failed after retries. Dataset record may be in an inconsistent - state. - """ - -@dataclass(kw_only=True) -class DatasetSummary(_SerdeShape): - """Summary information about a dataset.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the dataset.""" - dataset_id: str - """The unique identifier of the dataset.""" - dataset_name: str - """The name of the dataset.""" - description: str | None = ... - """The description of the dataset.""" - status: str - """The current status of the dataset.""" - draft_status: str | None = ... - """Publish synchronization state. Only authoritative when status is ACTIVE.""" - schema_type: str - """The schema type of the dataset.""" - example_count: int - """The number of examples in the dataset.""" - created_at: datetime - """The timestamp when the dataset was created.""" - updated_at: datetime - """The timestamp when the dataset was last updated.""" - -@dataclass(kw_only=True) -class DatasetVersionSummary(_SerdeShape): - """Summary information about a published dataset version.""" - - dataset_version: str - """The version number of this published snapshot.""" - example_count: int - """The number of examples in this version.""" - created_at: datetime - """The timestamp when this version was published.""" - -@dataclass -class DataSourceConfigCloudWatchLogs(_SerdeShape): - """ - The CloudWatch logs configuration for reading agent traces from log - groups. - """ - - value: CloudWatchLogsInputConfig - -@dataclass -class DataSourceConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DataSourceConfig = Union[DataSourceConfigCloudWatchLogs | DataSourceConfigUnknown] -""" -The configuration that specifies where to read agent traces for online -evaluation. -""" - -class _DataSourceConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> DataSourceConfig: ... - -@dataclass -class DataSourceTypeInlineExamples(_SerdeShape): - """Inline examples provided directly in the request body.""" - - value: InlineExamplesSource - -@dataclass -class DataSourceTypeS3Source(_SerdeShape): - """Amazon S3 URI pointing to a JSONL file in the customer's bucket.""" - - value: S3Source - -@dataclass -class DataSourceTypeUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DataSourceType = Union[ - DataSourceTypeInlineExamples | DataSourceTypeS3Source | DataSourceTypeUnknown -] -"""Source of examples to add to the dataset.""" - -class _DataSourceTypeDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> DataSourceType: ... - -@dataclass(kw_only=True) -class DecryptionFailure(ServiceError, _SerdeShape): - """Exception thrown when decryption of a secret fails.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAgentRuntimeEndpointInput(_SerdeShape): - """Dataclass for DeleteAgentRuntimeEndpointInput structure.""" - - agent_runtime_id: str | None = ... - """ - The unique identifier of the AgentCore Runtime associated with the - endpoint. - """ - endpoint_name: str | None = ... - """The name of the AgentCore Runtime endpoint to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - -@dataclass(kw_only=True) -class DeleteAgentRuntimeEndpointOutput(_SerdeShape): - """Dataclass for DeleteAgentRuntimeEndpointOutput structure.""" - - status: str - """The current status of the AgentCore Runtime endpoint deletion.""" - agent_runtime_id: str | None = ... - """The unique identifier of the AgentCore Runtime.""" - endpoint_name: str | None = ... - """The name of the AgentCore Runtime endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAgentRuntimeInput(_SerdeShape): - """Dataclass for DeleteAgentRuntimeInput structure.""" - - agent_runtime_id: str | None = ... - """The unique identifier of the AgentCore Runtime to delete.""" - agent_runtime_version: str | None = ... - """ - The version of the AgentCore Runtime to delete. When you provide this - value, only that version is deleted. When you omit it, the entire - AgentCore Runtime and all of its versions are deleted. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, the service ignores the request but does not return an error. - """ - -@dataclass(kw_only=True) -class DeleteAgentRuntimeOutput(_SerdeShape): - """Dataclass for DeleteAgentRuntimeOutput structure.""" - - status: str - """The current status of the AgentCore Runtime deletion.""" - agent_runtime_id: str | None = ... - """The unique identifier of the AgentCore Runtime.""" - agent_runtime_version: str | None = ... - """ - The version of the AgentCore Runtime that was deleted. This value is - present only when you delete a single version. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteApiKeyCredentialProviderInput(_SerdeShape): - """Dataclass for DeleteApiKeyCredentialProviderInput structure.""" - - name: str | None = ... - """The name of the API key credential provider to delete.""" - -@dataclass(kw_only=True) -class DeleteApiKeyCredentialProviderOutput(_SerdeShape): - """Dataclass for DeleteApiKeyCredentialProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBrowserInput(_SerdeShape): - """Dataclass for DeleteBrowserInput structure.""" - - browser_id: str | None = ... - """The unique identifier of the browser to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - -@dataclass(kw_only=True) -class DeleteBrowserOutput(_SerdeShape): - """Dataclass for DeleteBrowserOutput structure.""" - - browser_id: str - """The unique identifier of the deleted browser.""" - status: str - """The current status of the browser deletion.""" - last_updated_at: datetime - """The timestamp when the browser was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBrowserProfileInput(_SerdeShape): - """Dataclass for DeleteBrowserProfileInput structure.""" - - profile_id: str | None = ... - """The unique identifier of the browser profile to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - -@dataclass(kw_only=True) -class DeleteBrowserProfileOutput(_SerdeShape): - """Dataclass for DeleteBrowserProfileOutput structure.""" - - profile_id: str - """The unique identifier of the deleted browser profile.""" - profile_arn: str - """The Amazon Resource Name (ARN) of the deleted browser profile.""" - status: str - """The current status of the browser profile deletion.""" - last_updated_at: datetime - """The timestamp when the browser profile was last updated.""" - last_saved_at: datetime | None = ... - """ - The timestamp when browser session data was last saved to this profile - before deletion. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCapacityProviderInput(_SerdeShape): - """Dataclass for DeleteCapacityProviderInput structure.""" - - capacity_provider_id: str | None = ... - """The unique identifier of the capacity provider to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class DeleteCapacityProviderOutput(_SerdeShape): - """Dataclass for DeleteCapacityProviderOutput structure.""" - - capacity_provider_id: str - """The unique identifier of the deleted capacity provider.""" - status: str - """ - The current status of the capacity provider. For possible values, see - `CapacityProviderStatus`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCodeInterpreterInput(_SerdeShape): - """Dataclass for DeleteCodeInterpreterInput structure.""" - - code_interpreter_id: str | None = ... - """The unique identifier of the code interpreter to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - -@dataclass(kw_only=True) -class DeleteCodeInterpreterOutput(_SerdeShape): - """Dataclass for DeleteCodeInterpreterOutput structure.""" - - code_interpreter_id: str - """The unique identifier of the deleted code interpreter.""" - status: str - """The current status of the code interpreter deletion.""" - last_updated_at: datetime - """The timestamp when the code interpreter was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteConfigurationBundleInput(_SerdeShape): - """Dataclass for DeleteConfigurationBundleInput structure.""" - - bundle_id: str | None = ... - """The unique identifier of the configuration bundle to delete.""" - -@dataclass(kw_only=True) -class DeleteConfigurationBundleOutput(_SerdeShape): - """Dataclass for DeleteConfigurationBundleOutput structure.""" - - bundle_arn: str | None = ... - """The Amazon Resource Name (ARN) of the deleted configuration bundle.""" - bundle_id: str - """The unique identifier of the deleted configuration bundle.""" - status: str - """The status of the configuration bundle deletion operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteConsentPortalInput(_SerdeShape): - """Dataclass for DeleteConsentPortalInput structure.""" - - consent_portal_identifier: str | None = ... - """ - The identifier of the consent portal. You can specify either the consent - portal ID or its Amazon Resource Name (ARN). - """ - -@dataclass(kw_only=True) -class DeleteConsentPortalOutput(_SerdeShape): - """Dataclass for DeleteConsentPortalOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDatasetExamplesInput(_SerdeShape): - """Dataclass for DeleteDatasetExamplesInput structure.""" - - dataset_id: str | None = ... - """The unique identifier of the dataset.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - example_ids: list[str] | None = ... - """The IDs of the examples to delete.""" - -@dataclass(kw_only=True) -class DeleteDatasetExamplesOutput(_SerdeShape): - """Dataclass for DeleteDatasetExamplesOutput structure.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the dataset.""" - dataset_id: str - """The unique identifier of the dataset.""" - status: str - """The current status of the dataset.""" - deleted_count: int - """The number of examples deleted.""" - updated_at: datetime - """The timestamp when the examples were deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDatasetInput(_SerdeShape): - """Dataclass for DeleteDatasetInput structure.""" - - dataset_id: str | None = ... - """The unique identifier of the dataset to delete.""" - dataset_version: str | None = ... - """ - Optional version to delete. If absent, deletes the entire dataset. If - provided, deletes only that specific version. - """ - -@dataclass(kw_only=True) -class DeleteDatasetOutput(_SerdeShape): - """Dataclass for DeleteDatasetOutput structure.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the dataset.""" - dataset_id: str - """The unique identifier of the dataset.""" - status: str - """The current status of the dataset after the delete request.""" - dataset_version: str - """The version that was deleted.""" - updated_at: datetime - """The timestamp when the delete was initiated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteEvaluatorInput(_SerdeShape): - """Dataclass for DeleteEvaluatorInput structure.""" - - evaluator_id: str | None = ... - """The unique identifier of the evaluator to delete.""" - -@dataclass(kw_only=True) -class DeleteEvaluatorOutput(_SerdeShape): - """Dataclass for DeleteEvaluatorOutput structure.""" - - evaluator_arn: str - """The Amazon Resource Name (ARN) of the deleted evaluator.""" - evaluator_id: str - """The unique identifier of the deleted evaluator.""" - status: str - """The status of the evaluator deletion operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGatewayInput(_SerdeShape): - """Dataclass for DeleteGatewayInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway to delete.""" - -@dataclass(kw_only=True) -class DeleteGatewayOutput(_SerdeShape): - """Dataclass for DeleteGatewayOutput structure.""" - - gateway_id: str - """The unique identifier of the deleted gateway.""" - status: str - """The current status of the gateway deletion.""" - status_reasons: list[str] | None = ... - """The reasons for the current status of the gateway deletion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGatewayRateLimitInput(_SerdeShape): - """Dataclass for DeleteGatewayRateLimitInput structure.""" - - gateway_identifier: str | None = ... - """The unique identifier of the gateway.""" - rate_limit_id: str | None = ... - """The unique identifier of the rate limit to delete.""" - -@dataclass(kw_only=True) -class DeleteGatewayRateLimitOutput(_SerdeShape): - """Dataclass for DeleteGatewayRateLimitOutput structure.""" - - rate_limit_id: str - """The unique identifier of the deleted rate limit.""" - status: str - """The current status of the rate limit deletion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGatewayRuleInput(_SerdeShape): - """Dataclass for DeleteGatewayRuleInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway containing the rule.""" - rule_id: str | None = ... - """The unique identifier of the rule to delete.""" - -@dataclass(kw_only=True) -class DeleteGatewayRuleOutput(_SerdeShape): - """Dataclass for DeleteGatewayRuleOutput structure.""" - - rule_id: str - """The unique identifier of the deleted rule.""" - status: str - """The status of the rule deletion operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGatewayTargetInput(_SerdeShape): - """Dataclass for DeleteGatewayTargetInput structure.""" - - gateway_identifier: str | None = ... - """The unique identifier of the gateway associated with the target.""" - target_id: str | None = ... - """The unique identifier of the gateway target to delete.""" - -@dataclass(kw_only=True) -class DeleteGatewayTargetOutput(_SerdeShape): - """Dataclass for DeleteGatewayTargetOutput structure.""" - - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway.""" - target_id: str - """The unique identifier of the deleted gateway target.""" - status: str - """The current status of the gateway target deletion.""" - status_reasons: list[str] | None = ... - """The reasons for the current status of the gateway target deletion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteHarnessEndpointInput(_SerdeShape): - """Dataclass for DeleteHarnessEndpointInput structure.""" - - harness_id: str | None = ... - """The ID of the harness that the endpoint belongs to.""" - endpoint_name: str | None = ... - """The name of the endpoint to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - -@dataclass(kw_only=True) -class DeleteHarnessEndpointOutput(_SerdeShape): - """Dataclass for DeleteHarnessEndpointOutput structure.""" - - endpoint: HarnessEndpoint - """The endpoint that was deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteHarnessInput(_SerdeShape): - """Dataclass for DeleteHarnessInput structure.""" - - harness_id: str | None = ... - """The ID of the harness to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - delete_managed_memory: bool | None = ... - """ - Whether to delete the managed memory on harness deletion. Default: true. - If false, the memory is disassociated and becomes a regular - customer-owned resource. - """ - -@dataclass(kw_only=True) -class DeleteHarnessOutput(_SerdeShape): - """Dataclass for DeleteHarnessOutput structure.""" - - harness: Harness | None = ... - """The harness that was deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteMemoryInput(_SerdeShape): - """Dataclass for DeleteMemoryInput structure.""" - - client_token: str | None = ... - """ - A client token is used for keeping track of idempotent requests. It can - contain a session id which can be around 250 chars, combined with a - unique Amazon Web Services identifier. - """ - memory_id: str | None = ... - """The unique identifier of the memory to delete.""" - -@dataclass(kw_only=True) -class DeleteMemoryOutput(_SerdeShape): - """Dataclass for DeleteMemoryOutput structure.""" - - memory_id: str - """The unique identifier of the deleted AgentCore Memory resource.""" - status: str | None = ... - """The current status of the AgentCore Memory resource deletion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteMemoryStrategyInput(_SerdeShape): - """Input for deleting a memory strategy.""" - - memory_strategy_id: str - """The unique identifier of the memory strategy to delete.""" - -@dataclass(kw_only=True) -class DeleteOauth2CredentialProviderInput(_SerdeShape): - """Dataclass for DeleteOauth2CredentialProviderInput structure.""" - - name: str | None = ... - """The name of the OAuth2 credential provider to delete.""" - -@dataclass(kw_only=True) -class DeleteOauth2CredentialProviderOutput(_SerdeShape): - """Dataclass for DeleteOauth2CredentialProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteOnlineEvaluationConfigInput(_SerdeShape): - """Dataclass for DeleteOnlineEvaluationConfigInput structure.""" - - online_evaluation_config_id: str | None = ... - """The unique identifier of the online evaluation configuration to delete.""" - -@dataclass(kw_only=True) -class DeleteOnlineEvaluationConfigOutput(_SerdeShape): - """Dataclass for DeleteOnlineEvaluationConfigOutput structure.""" - - online_evaluation_config_arn: str - """ - The Amazon Resource Name (ARN) of the deleted online evaluation - configuration. - """ - online_evaluation_config_id: str - """The unique identifier of the deleted online evaluation configuration.""" - status: str - """The status of the online evaluation configuration deletion operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePaymentConnectorInput(_SerdeShape): - """Dataclass for DeletePaymentConnectorInput structure.""" - - payment_manager_id: str | None = ... - """The unique identifier of the parent payment manager.""" - payment_connector_id: str | None = ... - """The unique identifier of the payment connector to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class DeletePaymentConnectorOutput(_SerdeShape): - """Dataclass for DeletePaymentConnectorOutput structure.""" - - status: str - """ - The current status of the payment connector, set to `DELETING` when - deletion is initiated. Possible values include `CREATING`, `READY`, - `UPDATING`, `DELETING`, `CREATE_FAILED`, `UPDATE_FAILED`, and - `DELETE_FAILED`. - """ - payment_connector_id: str | None = ... - """The unique identifier of the deleted payment connector.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePaymentCredentialProviderInput(_SerdeShape): - """Dataclass for DeletePaymentCredentialProviderInput structure.""" - - name: str | None = ... - """The name of the payment credential provider to delete.""" - -@dataclass(kw_only=True) -class DeletePaymentCredentialProviderOutput(_SerdeShape): - """Dataclass for DeletePaymentCredentialProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePaymentManagerInput(_SerdeShape): - """Dataclass for DeletePaymentManagerInput structure.""" - - payment_manager_id: str | None = ... - """The unique identifier of the payment manager to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class DeletePaymentManagerOutput(_SerdeShape): - """Dataclass for DeletePaymentManagerOutput structure.""" - - status: str - """ - The current status of the payment manager, set to `DELETING` when - deletion is initiated. Possible values include `CREATING`, `READY`, - `UPDATING`, `DELETING`, `CREATE_FAILED`, `UPDATE_FAILED`, and - `DELETE_FAILED`. - """ - payment_manager_id: str | None = ... - """The unique identifier of the deleted payment manager.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePolicyEngineInput(_SerdeShape): - """Dataclass for DeletePolicyEngineInput structure.""" - - policy_engine_id: str | None = ... - """ - The unique identifier of the policy engine to be deleted. This must be a - valid policy engine ID that exists within the account. - """ - -@dataclass(kw_only=True) -class DeletePolicyEngineOutput(_SerdeShape): - """Dataclass for DeletePolicyEngineOutput structure.""" - - policy_engine_id: str - """ - The unique identifier of the policy engine being deleted. This confirms - which policy engine the deletion operation targets. - """ - name: str - """The customer-assigned name of the deleted policy engine.""" - created_at: datetime - """The timestamp when the deleted policy engine was originally created.""" - updated_at: datetime - """ - The timestamp when the deleted policy engine was last modified before - deletion. This tracks the final state of the policy engine before it was - removed from the system. - """ - policy_engine_arn: str - """ - The Amazon Resource Name (ARN) of the deleted policy engine. This - globally unique identifier confirms which policy engine resource was - successfully removed. - """ - status: str - """ - The status of the policy engine deletion operation. This provides status - about any issues that occurred during the deletion process. - """ - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy - engine data. - """ - description: str | None = ... - """The human-readable description of the deleted policy engine.""" - status_reasons: list[str] - """ - Additional information about the deletion status. This provides details - about the deletion process or any issues that may have occurred. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePolicyInput(_SerdeShape): - """Dataclass for DeletePolicyInput structure.""" - - policy_engine_id: str | None = ... - """ - The identifier of the policy engine that manages the policy to be - deleted. This ensures the policy is deleted from the correct policy - engine context. - """ - policy_id: str | None = ... - """ - The unique identifier of the policy to be deleted. This must be a valid - policy ID that exists within the specified policy engine. - """ - -@dataclass(kw_only=True) -class DeletePolicyOutput(_SerdeShape): - """Dataclass for DeletePolicyOutput structure.""" - - policy_id: str - """ - The unique identifier of the policy being deleted. This confirms which - policy the deletion operation targets. - """ - name: str - """ - The customer-assigned name of the deleted policy. This confirms which - policy was successfully removed from the system and matches the name - that was originally assigned during policy creation. - """ - policy_engine_id: str - """ - The identifier of the policy engine from which the policy was deleted. - This confirms the policy engine context for the deletion operation. - """ - created_at: datetime - """The timestamp when the deleted policy was originally created.""" - updated_at: datetime - """ - The timestamp when the deleted policy was last modified before deletion. - This tracks the final state of the policy before it was removed from the - system. - """ - policy_arn: str - """ - The Amazon Resource Name (ARN) of the deleted policy. This globally - unique identifier confirms which policy resource was successfully - removed. - """ - status: str - """ - The status of the policy deletion operation. This provides information - about any issues that occurred during the deletion process. - """ - enforcement_mode: str = ... - """The enforcement mode of the deleted policy.""" - definition: PolicyDefinition - """ - Represents the definition structure for policies within the AgentCore - Policy system. This structure encapsulates different policy formats and - languages that can be used to define access control rules. - """ - description: str | None = ... - """The human-readable description of the deleted policy.""" - status_reasons: list[str] - """ - Additional information about the deletion status. This provides details - about the deletion process or any issues that may have occurred. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRegistryInput(_SerdeShape): - """Dataclass for DeleteRegistryInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry to delete. You can specify either the - Amazon Resource Name (ARN) or the ID of the registry. - """ - -@dataclass(kw_only=True) -class DeleteRegistryOutput(_SerdeShape): - """Dataclass for DeleteRegistryOutput structure.""" - - status: str - """ - The current status of the registry, set to `DELETING` when deletion is - initiated. For a list of all possible registry statuses, see the - `RegistryStatus` data type. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRegistryRecordInput(_SerdeShape): - """Dataclass for DeleteRegistryRecordInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry containing the record. You can specify - either the Amazon Resource Name (ARN) or the ID of the registry. - """ - record_id: str | None = ... - """ - The identifier of the registry record to delete. You can specify either - the Amazon Resource Name (ARN) or the ID of the record. - """ - -@dataclass(kw_only=True) -class DeleteRegistryRecordOutput(_SerdeShape): - """Dataclass for DeleteRegistryRecordOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyInput(_SerdeShape): - """Dataclass for DeleteResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource for which to delete the - resource policy. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyOutput(_SerdeShape): - """Dataclass for DeleteResourcePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteWorkloadIdentityInput(_SerdeShape): - """Dataclass for DeleteWorkloadIdentityInput structure.""" - - name: str | None = ... - """The name of the workload identity to delete.""" - -@dataclass(kw_only=True) -class DeleteWorkloadIdentityOutput(_SerdeShape): - """Dataclass for DeleteWorkloadIdentityOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DerivedEvaluatorConfig(_SerdeShape): - """ - The configuration for a derived evaluator. It reuses an existing - evaluator's logic on your own model. - """ - - base_evaluator_id: str - """ - The identifier of the base evaluator whose logic to run (a `Builtin.*` - or `ThirdParty.*` evaluator). - """ - model_config: EvaluatorModelConfig - """The configuration of the evaluator model that you supply.""" - -@dataclass(kw_only=True) -class Descriptors(_SerdeShape): - """ - Contains descriptor-type-specific configurations for a registry record. - Only the descriptor matching the record's `descriptorType` should be - populated. - """ - - mcp: McpDescriptor | None = ... - """ - The Model Context Protocol (MCP) descriptor configuration. Use this when - the `descriptorType` is `MCP`. - """ - a2a: A2aDescriptor | None = ... - """ - The Agent-to-Agent (A2A) protocol descriptor configuration. Use this - when the `descriptorType` is `A2A`. - """ - custom: CustomDescriptor | None = ... - """ - The custom descriptor configuration. Use this when the `descriptorType` - is `CUSTOM`. - """ - agent_skills: AgentSkillsDescriptor | None = ... - """ - The agent skills descriptor configuration. Use this when the - `descriptorType` is `AGENT_SKILLS`. - """ - -class DescriptorType(UnknownEnumMixin, StrEnum): - MCP = "MCP" - A2_A = "A2A" - CUSTOM = "CUSTOM" - AGENT_SKILLS = "AGENT_SKILLS" - -@dataclass -class DimensionRatingScaleNumerical(_SerdeShape): - """ - The numerical rating scale with defined score values and descriptions - for quantitative evaluation of the dimension. - """ - - value: list[NumericalScaleDefinition] - -@dataclass -class DimensionRatingScaleCategorical(_SerdeShape): - """ - The categorical rating scale with named categories and definitions for - qualitative evaluation of the dimension. - """ - - value: list[CategoricalScaleDefinition] - -@dataclass -class DimensionRatingScaleUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DimensionRatingScale = Union[ - DimensionRatingScaleNumerical - | DimensionRatingScaleCategorical - | DimensionRatingScaleUnknown -] -""" -The rating scale for one dimension of an LLM-as-a-judge evaluator, -supporting either a numerical or a categorical scale. -""" - -class _DimensionRatingScaleDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> DimensionRatingScale: ... - -@dataclass(kw_only=True) -class DomainOverride(_SerdeShape): - """ - The public domain names for a gateway that clients reach through your - own proxy or custom domain. When you configure a domain override, the - gateway advertises these domains instead of the inbound Host header in - the URLs that it returns for OAuth discovery, such as the protected - resource metadata and the `WWW-Authenticate` challenge. - """ - - default_domain: str - """ - The default public domain name for the gateway. The gateway advertises - this domain when a request doesn't select a specific domain. - """ - alternate_domains: list[str] | None = ... - """ - Additional public domain names for the gateway, up to 10. Don't repeat - the default domain or list a domain more than once. A request can select - one of these domains, or the default domain, with the - `x-amzn-bedrock-agentcore-gateway-domain` header. The gateway rejects a - request that selects a domain that isn't configured. - """ - -class DraftStatus(UnknownEnumMixin, StrEnum): - """Publish synchronization state of the DRAFT working copy.""" - - MODIFIED = "MODIFIED" - """ - DRAFT has changes not yet reflected in any published version, or no - versions have been published yet. - """ - UNMODIFIED = "UNMODIFIED" - """DRAFT content matches the latest published version exactly.""" - -@dataclass(kw_only=True) -class EbsVolumeConfiguration(_SerdeShape): - """ - The configuration for an Amazon EBS-backed persistent volume. The - service creates persistent volumes when a session first launches, and - the volumes survive instance termination. The volumes persist until you - delete the session. - """ - - name: str - """ - The logical name of the volume. Use this name to reference the volume - when you mount it into an agent runtime. - """ - size_gi_b: int - """The size of the volume, in GiB.""" - volume_type: str = ... - """ - The Amazon EBS volume type. If you do not specify a type, the default is - `gp3`. - """ - iops: int | None = ... - """ - The number of IOPS to provision. Valid only for `gp3`, `io1`, and `io2` - volumes. - """ - throughput: int | None = ... - """The throughput, in MiB/s. Valid only for `gp3` volumes.""" - encrypted: bool | None = ... - """ - Specifies whether to encrypt the volume. If `true`, the service encrypts - the volume with the KMS key that you specify in `kmsKeyId`, or the - default KMS key for Amazon EBS if you do not specify one. The default is - `true`. - """ - kms_key_id: str | None = ... - """The identifier of the KMS key to use for encryption.""" - snapshot_id: str | None = ... - """ - An optional Amazon EBS snapshot ID. If provided, the volume is - initialized from this snapshot the first time it is created. On - subsequent restarts, the existing volume is used and the snapshot is - ignored. - """ - -class EbsVolumeType(UnknownEnumMixin, StrEnum): - """The type of Amazon EBS volume.""" - - STANDARD = "standard" - IO1 = "io1" - IO2 = "io2" - GP2 = "gp2" - SC1 = "sc1" - ST1 = "st1" - GP3 = "gp3" - -@dataclass(kw_only=True) -class Ec2Configuration(_SerdeShape): - """ - The configuration for Amazon EC2-based compute, including the launch - template source, networking, storage volumes, and instance lifecycle - settings. - """ - - launch_template_source: LaunchTemplateSource - """ - The source of the launch template configuration that defines how - instances are launched. - """ - vpc_configuration: VpcConfiguration - """ - The VPC configuration for launching instances, including subnets and - security groups. - """ - volumes: list[VolumeConfiguration] | None = ... - """ - The named persistent Amazon EBS volumes for the capacity provider. A - capacity provider can define up to five volumes. - """ - lifecycle_configuration: InstanceLifecycleConfiguration | None = ... - """The lifecycle configuration for instances in the capacity provider.""" - root_volume: RootVolumeConfiguration | None = ... - """ - The configuration for the instance root volume. Specify the amount of - free space to guarantee and, optionally, the Amazon EBS performance and - encryption settings. The device name and delete-on-termination behavior - are not configurable. - """ - -@dataclass(kw_only=True) -class EfsAccessPointConfiguration(_SerdeShape): - """ - Configuration for an Amazon EFS access point filesystem mounted into the - AgentCore Runtime. EFS access points provide shared file storage - accessible from your AgentCore Runtime sessions. - """ - - access_point_arn: str - """The ARN of the EFS access point to mount into the AgentCore Runtime.""" - mount_path: str - """ - The mount path for the EFS access point inside the AgentCore Runtime. - The path must be under `/mnt` with exactly one subdirectory level (for - example, `/mnt/data`). - """ - -@dataclass(kw_only=True) -class EfsConfiguration(_SerdeShape): - """ - The configuration for mounting an Amazon Elastic File System (Amazon - EFS) access point that you own into a session. - """ - - access_point_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon - EFS) access point to mount. - """ - mount_path: str - """ - The absolute path within the session at which the access point is - mounted, for example `/mnt/efs`. Each mount path must be unique across - all file system configurations in the session. - """ - file_system_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon - EFS) file system that owns the access point. - """ - -@dataclass(kw_only=True) -class EncryptionFailure(ServiceError, _SerdeShape): - """Exception thrown when encryption of a secret fails.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class EndpointIpAddressType(UnknownEnumMixin, StrEnum): - IPV4 = "IPV4" - IPV6 = "IPV6" - -class EnforcementMode(UnknownEnumMixin, StrEnum): - """ - The enforcement mode for a policy. Run this policy in `LOG_ONLY` mode to - collect data on how it affects your application. Once you are satisfied - with the data gathered, switch the policy to `ACTIVE`. - """ - - ACTIVE = "ACTIVE" - LOG_ONLY = "LOG_ONLY" - -@dataclass(kw_only=True) -class EphemeralBlockDeviceMapping(_SerdeShape): - """A block device mapping for an instance store (ephemeral) volume.""" - - device_name: str | None = ... - """The device name, for example `/dev/sdh` or `xvdh`.""" - virtual_name: str | None = ... - """ - The virtual device name (`ephemeralN`). Instance store volumes are - numbered starting from 0. The number of available instance store volumes - depends on the instance type. After you connect to the instance, you - must mount the volume. - """ - ebs: EphemeralEBSVolumeConfiguration | None = ... - """ - The shared Amazon EBS performance and encryption properties for a - volume. These properties are common across the different volume - configurations for a capacity provider. - """ - -@dataclass(kw_only=True) -class EphemeralEBSVolumeConfiguration(_SerdeShape): - """ - The shared Amazon EBS performance and encryption properties for a - volume. These properties are common across the different volume - configurations for a capacity provider. - """ - - volume_type: str = ... - """ - The Amazon EBS volume type. If you do not specify a type, the default is - `gp3`. - """ - iops: int | None = ... - """ - The number of IOPS to provision. For `gp3`, `io1`, and `io2` volumes, - this is the number of IOPS provisioned for the volume. For `gp2` - volumes, this sets the baseline IOPS performance. It also controls the - rate at which the volume accumulates I/O credits for bursting. Supported - values: `gp3`, 3,000--80,000; `io1`, 100--64,000; `io2`, 100--256,000. - """ - throughput: int | None = ... - """ - The throughput to provision, in MiB/s. Valid only for `gp3` volumes. - Valid range: 125--2,000 MiB/s. - """ - encrypted: bool | None = ... - """ - Specifies whether to encrypt the volume. Encrypted volumes can be - attached only to instances that support Amazon EBS encryption. If you - create a volume from a snapshot, you cannot specify an encryption value. - """ - kms_key_id: str | None = ... - """ - The identifier (key ID, key alias, key ARN, or alias ARN) of the - customer managed KMS key to use for Amazon EBS encryption. - """ - snapshot_id: str | None = ... - """The ID of the snapshot.""" - volume_size: int | None = ... - """ - The size of the volume, in GiB. You must specify either a snapshot ID or - a volume size. Supported sizes: `gp2`, 1--16,384; `gp3`, 1--65,536; - `io1`, 4--16,384; `io2`, 4--65,536. - """ - volume_initialization_rate: int | None = ... - """ - The rate at which the volume is initialized after creation, in MiB/s. - Supported only for volumes created from snapshots. Valid range: 100--300 - MiB/s. - """ - ebs_card_index: int | None = ... - """ - The index of the Amazon EBS card. Applies to instances with multiple - Amazon EBS cards. - """ - -@dataclass(kw_only=True) -class EpisodicConsolidationOverride(_SerdeShape): - """ - Contains configurations to override the default consolidation step for - the episodic memory strategy. - """ - - append_to_prompt: str - """ - The text appended to the prompt for the consolidation step of the - episodic memory strategy. - """ - model_id: str - """ - The model ID used for the consolidation step of the episodic memory - strategy. - """ - -@dataclass(kw_only=True) -class EpisodicExtractionOverride(_SerdeShape): - """ - Contains configurations to override the default extraction step for the - episodic memory strategy. - """ - - append_to_prompt: str - """ - The text appended to the prompt for the extraction step of the episodic - memory strategy. - """ - model_id: str - """ - The model ID used for the extraction step of the episodic memory - strategy. - """ - -@dataclass(kw_only=True) -class EpisodicMemoryStrategyInput(_SerdeShape): - """Input for creating an episodic memory strategy.""" - - name: str - """The name of the episodic memory strategy.""" - description: str | None = ... - """The description of the episodic memory strategy.""" - namespaces: list[str] | None = ... - """ - This is a legacy parameter, use `namespaceTemplates`. The namespaces for - which to create episodes. - """ - namespace_templates: list[str] | None = ... - """The namespaceTemplates for which to create episodes.""" - reflection_configuration: EpisodicReflectionConfigurationInput | None = ... - """ - The configuration for the reflections created with the episodic memory - strategy. - """ - memory_record_schema: MemoryRecordSchema | None = ... - """Schema for metadata fields on records generated by this strategy.""" - record_expiry_specification: RecordExpirySpecification | None = ... - """ - The record expiry (long-term memory time-to-live) configuration for - memory records generated by this strategy. Set - `recordExpiryDurationDays` to the number of days after which records - expire. If not specified, records generated by this strategy do not - expire. - """ - -@dataclass(kw_only=True) -class EpisodicOverrideConfigurationInput(_SerdeShape): - """Input for the configuration to override the episodic memory strategy.""" - - extraction: EpisodicOverrideExtractionConfigurationInput | None = ... - """ - Contains configurations for overriding the extraction step of the - episodic memory strategy. - """ - consolidation: EpisodicOverrideConsolidationConfigurationInput | None = ... - """ - Contains configurations for overriding the consolidation step of the - episodic memory strategy. - """ - reflection: EpisodicOverrideReflectionConfigurationInput | None = ... - """ - Contains configurations for overriding the reflection step of the - episodic memory strategy. - """ - -@dataclass(kw_only=True) -class EpisodicOverrideConsolidationConfigurationInput(_SerdeShape): - """ - Configurations for overriding the consolidation step of the episodic - memory strategy. - """ - - append_to_prompt: str - """ - The text to append to the prompt for the consolidation step of the - episodic memory strategy. - """ - model_id: str - """ - The model ID to use for the consolidation step of the episodic memory - strategy. - """ - -@dataclass(kw_only=True) -class EpisodicOverrideExtractionConfigurationInput(_SerdeShape): - """ - Configurations for overriding the extraction step of the episodic memory - strategy. - """ - - append_to_prompt: str - """ - The text to append to the prompt for the extraction step of the episodic - memory strategy. - """ - model_id: str - """ - The model ID to use for the extraction step of the episodic memory - strategy. - """ - -@dataclass(kw_only=True) -class EpisodicOverrideReflectionConfigurationInput(_SerdeShape): - """ - Configurations for overriding the reflection step of the episodic memory - strategy. - """ - - append_to_prompt: str - """ - The text to append to the prompt for reflection step of the episodic - memory strategy. - """ - model_id: str - """ - The model ID to use for the reflection step of the episodic memory - strategy. - """ - namespaces: list[str] | None = ... - """ - This is a legacy parameter, use `namespaceTemplates`. The namespaces to - use for episodic reflection. Can be less nested than the episodic - namespaces. - """ - namespace_templates: list[str] | None = ... - """ - The namespaceTemplates to use for episodic reflection. Can be less - nested than the episodic namespaces. - """ - memory_record_schema: MemoryRecordSchema | None = ... - """ - Schema for metadata fields on records generated by this reflection - override. - """ - -@dataclass(kw_only=True) -class EpisodicReflectionConfiguration(_SerdeShape): - """ - The configuration for the reflections created with the episodic memory - strategy. - """ - - namespaces: list[str] | None = ... - """ - This is a legacy parameter, use `namespaceTemplates`. The namespaces for - which to create reflections. Can be less nested than the episodic - namespaces. - """ - namespace_templates: list[str] | None = ... - """ - The namespaceTemplates for which to create reflections. Can be less - nested than the episodic namespaces. - """ - memory_record_schema: MemoryRecordSchema | None = ... - """\"Schema for metadata fields on records generated by reflections.""" - -@dataclass(kw_only=True) -class EpisodicReflectionConfigurationInput(_SerdeShape): - """An episodic reflection configuration input.""" - - namespaces: list[str] | None = ... - """ - This is a legacy parameter, use `namespaceTemplates`. The namespaces - over which to create reflections. Can be less nested than episode - namespaces. - """ - namespace_templates: list[str] | None = ... - """ - The namespaceTemplates over which to create reflections. Can be less - nested than episode namespaces. - """ - memory_record_schema: MemoryRecordSchema | None = ... - """Schema for metadata fields on records generated by reflections.""" - -@dataclass(kw_only=True) -class EpisodicReflectionOverride(_SerdeShape): - """ - Contains configurations to override the default reflection step for the - episodic memory strategy. - """ - - append_to_prompt: str - """ - The text appended to the prompt for the reflection step of the episodic - memory strategy. - """ - model_id: str - """ - The model ID used for the reflection step of the episodic memory - strategy. - """ - namespaces: list[str] | None = ... - """ - This is a legacy parameter. The namespaces over which reflections were - created. Can be less nested than the episodic namespaces. - """ - namespace_templates: list[str] | None = ... - """ - The namespaceTemplates over which reflections were created. Can be less - nested than the episodic namespaces. - """ - memory_record_schema: MemoryRecordSchema | None = ... - """ - Schema for metadata fields on records generated by this reflection - override. - """ - -@dataclass(kw_only=True) -class EvaluationDimension(_SerdeShape): - """ - A single dimension of an LLM-as-a-judge evaluator, defining what the - evaluator model should judge for that dimension and how it should be - scored. - """ - - dimension_name: str - """ - The name of the dimension. This name is unique within the evaluator and - identifies the dimension's results. - """ - dimension_instruction: str - """ - The instruction to the evaluator model for this dimension, describing - what the model should judge when scoring the dimension. - """ - dimension_rating_scale: DimensionRatingScale - """ - The rating scale for this dimension, which can be numerical or - categorical. A dimension's rating scale cannot itself be - multi-dimensional. - """ - -@dataclass -class EvaluatorConfigLlmAsAJudge(_SerdeShape): - """ - The LLM-as-a-Judge configuration that uses a language model to evaluate - agent performance based on custom instructions and rating scales. - """ - - value: LlmAsAJudgeEvaluatorConfig - -@dataclass -class EvaluatorConfigCodeBased(_SerdeShape): - """ - Configuration for a code-based evaluator that uses a customer-managed - Lambda function to programmatically assess agent performance. - """ - - value: CodeBasedEvaluatorConfig - -@dataclass -class EvaluatorConfigDerived(_SerdeShape): - """ - The configuration for an evaluator derived from an existing base - evaluator (a built-in or third-party evaluator), run on your own model. - The base evaluator supplies the prompt and scoring. - """ - - value: DerivedEvaluatorConfig - -@dataclass -class EvaluatorConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluatorConfig = Union[ - EvaluatorConfigLlmAsAJudge - | EvaluatorConfigCodeBased - | EvaluatorConfigDerived - | EvaluatorConfigUnknown -] -""" -The configuration that defines how an evaluator assesses agent -performance, including the evaluation method and parameters. -""" - -class _EvaluatorConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluatorConfig: ... - -class EvaluatorLevel(UnknownEnumMixin, StrEnum): - TOOL_CALL = "TOOL_CALL" - TRACE = "TRACE" - SESSION = "SESSION" - -@dataclass -class EvaluatorModelConfigBedrockEvaluatorModelConfig(_SerdeShape): - """The Amazon Bedrock model configuration for evaluation.""" - - value: BedrockEvaluatorModelConfig - -@dataclass -class EvaluatorModelConfigResponsesEvaluatorModelConfig(_SerdeShape): - """The OpenResponses model configuration for evaluation.""" - - value: OpenResponsesEvaluatorModelConfig - -@dataclass -class EvaluatorModelConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluatorModelConfig = Union[ - EvaluatorModelConfigBedrockEvaluatorModelConfig - | EvaluatorModelConfigResponsesEvaluatorModelConfig - | EvaluatorModelConfigUnknown -] -""" -The model configuration that specifies which foundation model to use for -evaluation and how to configure it. -""" - -class _EvaluatorModelConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluatorModelConfig: ... - -@dataclass -class EvaluatorReferenceEvaluatorId(_SerdeShape): - """ - The unique identifier of the evaluator. Can reference builtin evaluators - (e.g., Builtin.Helpfulness) or custom evaluators. - """ - - value: str - -@dataclass -class EvaluatorReferenceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluatorReference = Union[EvaluatorReferenceEvaluatorId | EvaluatorReferenceUnknown] -""" -The reference to an evaluator used in online evaluation configurations, -containing the evaluator identifier. -""" - -class _EvaluatorReferenceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluatorReference: ... - -class EvaluatorStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - DELETING = "DELETING" - -@dataclass(kw_only=True) -class EvaluatorSummary(_SerdeShape): - """ - The summary information about an evaluator, including basic metadata and - status information. - """ - - evaluator_arn: str - """The Amazon Resource Name (ARN) of the evaluator.""" - evaluator_id: str - """The unique identifier of the evaluator.""" - evaluator_name: str - """The name of the evaluator.""" - description: str | None = ... - """The description of the evaluator.""" - evaluator_type: str - """ - The type of evaluator, indicating whether it is a built-in evaluator - provided by the service or a custom evaluator created by the user. - """ - provider: str | None = ... - """ - The source of the evaluator's logic: Amazon Web Services, a third-party - library, or you. - """ - level: str | None = ... - """ - The evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that - determines the scope of evaluation. - """ - status: str - """The current status of the evaluator.""" - created_at: datetime - """The timestamp when the evaluator was created.""" - updated_at: datetime - """The timestamp when the evaluator was last updated.""" - locked_for_modification: bool | None = ... - """ - Whether the evaluator is locked for modification due to being referenced - by active online evaluation configurations. - """ - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the customer managed KMS key used to - encrypt the evaluator's sensitive data. This field is only present for - evaluators encrypted with a customer managed key. - """ - -class EvaluatorType(UnknownEnumMixin, StrEnum): - BUILTIN = "Builtin" - THIRD_PARTY = "ThirdParty" - CUSTOM = "Custom" - CODE = "CustomCode" - CUSTOM_DERIVED = "CustomDerived" - -class ExceptionLevel(UnknownEnumMixin, StrEnum): - DEBUG = "DEBUG" - -@dataclass -class ExtractionConfigLlmExtractionConfig(_SerdeShape): - """Model-based extraction using a definition and instructions.""" - - value: LlmExtractionConfig - -@dataclass -class ExtractionConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ExtractionConfig = Union[ExtractionConfigLlmExtractionConfig | ExtractionConfigUnknown] -"""Configuration for metadata extraction from conversational content.""" - -class _ExtractionConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ExtractionConfig: ... - -@dataclass -class ExtractionConfigurationCustomExtractionConfiguration(_SerdeShape): - """The custom extraction configuration.""" - - value: CustomExtractionConfiguration - -@dataclass -class ExtractionConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ExtractionConfiguration = Union[ - ExtractionConfigurationCustomExtractionConfiguration - | ExtractionConfigurationUnknown -] -"""Contains extraction configuration information for a memory strategy.""" - -class _ExtractionConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ExtractionConfiguration: ... - -class ExtractionType(UnknownEnumMixin, StrEnum): - """ - The extraction type for a metadata field, determining how the value is - obtained during memory processing. - """ - - LLM_INFERRED = "LLM_INFERRED" - STRICTLY_CONSISTENT = "STRICTLY_CONSISTENT" - -@dataclass(kw_only=True) -class Fallback(_SerdeShape): - """ - The fallback configuration for a route to an inference target. Defines - an ordered list of fallback targets to try when a request to the - route's target fails, and the conditions that trigger a fallback. A - fallback can occur only before the gateway sends the first byte of the - response to the caller. After a streaming response starts, the gateway - doesn't fall back. - """ - - trigger_on: FallbackTriggers | None = ... - """ - The status codes and errors from the route's target that cause the - gateway to send the request to the first fallback target. If you omit - `triggerOn`, the gateway falls back on `5XX` status codes and on the - `CONNECTION_ERROR`, `FIRST_BYTE_TIMEOUT`, and `UNROUTABLE` errors. If - you specify `triggerOn`, only the status codes and errors that you list - trigger a fallback. - """ - first_byte_timeout_milliseconds: int | None = ... - """ - The maximum time, in milliseconds, from sending the request to the - route's target until the first byte of the response body arrives. If - the time expires, the gateway abandons the request and treats it as a - `FIRST_BYTE_TIMEOUT` error. If you don't specify a value, no timeout is - enforced. - """ - circuit_breaker: CircuitBreakerConfiguration | None = ... - """ - Specifies whether the gateway temporarily stops sending your requests to - a failing target. The circuit breaker tracks each combination of target - and model separately. With the circuit breaker enabled, the gateway - skips one or more targets and models that fail repeatedly, and your - requests go to the next target in the chain. The gateway always tries - the last remaining target in the chain. The gateway enables the circuit - breaker by default. - """ - target_fallback: list[FallbackTarget] - """ - The ordered list of fallback targets. The gateway tries each target in - order until a response doesn't match that target's triggers, and - returns that response to the caller. If every target fails, the gateway - returns the last response. You can specify up to two fallback targets. - Each combination of target and model, including the route's target, can - appear only once. - """ - -class FallbackError(UnknownEnumMixin, StrEnum): - CONNECTION_ERROR = "CONNECTION_ERROR" - """ - The gateway could not establish a connection to the destination - (connection refused/reset, or connection timeout) --- the attempt never - reached the provider. Feeds the circuit breaker. - """ - FIRST_BYTE_TIMEOUT = "FIRST_BYTE_TIMEOUT" - """ - The destination accepted the connection but did not return the first - response byte within firstByteTimeoutMilliseconds; the attempt is - abandoned before any byte reaches the client. Feeds the circuit breaker. - """ - UNROUTABLE = "UNROUTABLE" - """ - Gateway-side: the target could not be routed to (target missing, or it - does not support the request's API path). Deterministic --- advances - the chain but does NOT feed the breaker. - """ - -@dataclass(kw_only=True) -class FallbackTarget(_SerdeShape): - """ - Specifies a target to send the request to when the previous target in - the fallback chain fails. Includes the target name, the model to send, - and the conditions that trigger a fallback from this target to the next - one. - """ - - target_name: str - """ - The name of the gateway target to fall back to. The target must be an - inference target. - """ - model: str | None = ... - """ - The model ID to send to this fallback target. If you don't specify a - model, the gateway sends the model from the original request. - """ - trigger_on: FallbackTriggers | None = ... - """ - The status codes and errors from this target that cause the gateway to - send the request to the next fallback target. This setting isn't - inherited from the route. If you omit it, the gateway uses the default - triggers: `5XX` status codes and the `CONNECTION_ERROR`, - `FIRST_BYTE_TIMEOUT`, and `UNROUTABLE` errors. - """ - first_byte_timeout_milliseconds: int | None = ... - """ - The maximum time, in milliseconds, from sending the request to this - target until the first byte of the response body arrives. This setting - isn't inherited from the route. If you don't specify a value, no - timeout is enforced. - """ - -@dataclass(kw_only=True) -class FallbackTriggers(_SerdeShape): - """ - The conditions that trigger a fallback to the next target. A fallback - occurs if the response matches any of the specified status codes or - errors. - """ - - status_codes: list[str] | None = ... - """ - The HTTP status codes returned by the target that trigger a fallback. - You can specify the following: - - - An exact status code -- A three-digit code, such as `429`. - - - A class of status codes -- The first digit followed by `XX`, such as - `5XX`, which matches every code from 500 to 599. - - Only 4XX and 5XX codes are supported. Throttling by the gateway itself - doesn't trigger a fallback. - """ - errors: list[str] | None = ... - """ - The errors that trigger a fallback. You can specify the following: - - - `CONNECTION_ERROR` -- The gateway couldn't connect to the target - because the connection was refused, reset, or timed out. The request - didn't reach the target. - - - `FIRST_BYTE_TIMEOUT` -- The target accepted the connection but didn't - return the first byte of the response within - `firstByteTimeoutMilliseconds`. The gateway abandons the request - before any of the response reaches you. - - - `UNROUTABLE` -- The gateway couldn't route the request to the target, - for example because the target doesn't exist or doesn't support the - request path. These errors don't count toward the circuit breaker. - """ - -@dataclass -class FilesystemConfigurationSessionStorage(_SerdeShape): - """ - Configuration for session storage. Session storage provides persistent - storage that is preserved across AgentCore Runtime session invocations. - """ - - value: SessionStorageConfiguration - -@dataclass -class FilesystemConfigurationS3FilesAccessPoint(_SerdeShape): - """ - Configuration for an Amazon S3 Files access point to mount into the - AgentCore Runtime. - """ - - value: S3FilesAccessPointConfiguration - -@dataclass -class FilesystemConfigurationEfsAccessPoint(_SerdeShape): - """ - Configuration for an Amazon EFS access point to mount into the AgentCore - Runtime. - """ - - value: EfsAccessPointConfiguration - -@dataclass -class FilesystemConfigurationCapacityProviderVolume(_SerdeShape): - """ - Configuration for a capacity provider volume to mount into the AgentCore - Runtime. This mounts a persistent volume that is defined on the capacity - provider, referenced by its logical name. - """ - - value: CapacityProviderVolumeConfiguration - -@dataclass -class FilesystemConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FilesystemConfiguration = Union[ - FilesystemConfigurationSessionStorage - | FilesystemConfigurationS3FilesAccessPoint - | FilesystemConfigurationEfsAccessPoint - | FilesystemConfigurationCapacityProviderVolume - | FilesystemConfigurationUnknown -] -""" -Configuration for a filesystem that can be mounted into the AgentCore -Runtime. -""" - -class _FilesystemConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> FilesystemConfiguration: ... - -@dataclass(kw_only=True) -class Filter(_SerdeShape): - """ - The filter that applies conditions to agent traces during online - evaluation to determine which traces should be evaluated. - """ - - key: str - """The key or field name to filter on within the agent trace data.""" - operator: str - """The comparison operator to use for filtering.""" - value: FilterValue - """The value to compare against using the specified operator.""" - -class FilterOperator(UnknownEnumMixin, StrEnum): - EQUALS = "Equals" - NOT_EQUALS = "NotEquals" - GREATER_THAN = "GreaterThan" - LESS_THAN = "LessThan" - GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" - LESS_THAN_OR_EQUAL = "LessThanOrEqual" - CONTAINS = "Contains" - NOT_CONTAINS = "NotContains" - -@dataclass -class FilterValueStringValue(_SerdeShape): - """The string value for text-based filtering.""" - - value: str - -@dataclass -class FilterValueDoubleValue(_SerdeShape): - """The numeric value for numerical filtering and comparisons.""" - - value: float - -@dataclass -class FilterValueBooleanValue(_SerdeShape): - """The boolean value for true/false filtering conditions.""" - - value: bool - -@dataclass -class FilterValueUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FilterValue = Union[ - FilterValueStringValue - | FilterValueDoubleValue - | FilterValueBooleanValue - | FilterValueUnknown -] -""" -The value used in filter comparisons, supporting different data types -for flexible filtering criteria. -""" - -class _FilterValueDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FilterValue: ... - -@dataclass(kw_only=True) -class Finding(_SerdeShape): - """ - Represents a finding or issue discovered during policy generation or - validation. Findings provide insights about potential problems, - recommendations, or validation results from policy analysis operations. - Finding types include: VALID (policy is ready to use), INVALID (policy - has validation errors that must be fixed), NOT_TRANSLATABLE (input - couldn't be converted to policy), ALLOW_ALL (policy would allow all - actions, potential security risk), ALLOW_NONE (policy would allow no - actions, unusable), DENY_ALL (policy would deny all actions, may be too - restrictive), and DENY_NONE (policy would deny no actions, ineffective). - Review all findings before creating policies from generated assets to - ensure they match your security requirements. - """ - - type: str | None = ... - """ - The type or category of the finding. This classifies the finding as an - error, warning, recommendation, or informational message to help users - understand the severity and nature of the issue. - """ - description: str | None = ... - """ - A human-readable description of the finding. This provides detailed - information about the issue, recommendation, or validation result to - help users understand and address the finding. - """ - -class FindingType(UnknownEnumMixin, StrEnum): - VALID = "VALID" - INVALID = "INVALID" - NOT_TRANSLATABLE = "NOT_TRANSLATABLE" - ALLOW_ALL = "ALLOW_ALL" - ALLOW_NONE = "ALLOW_NONE" - DENY_ALL = "DENY_ALL" - DENY_NONE = "DENY_NONE" - -@dataclass(kw_only=True) -class FromUrlSynchronizationConfiguration(_SerdeShape): - """Configuration for synchronizing from a URL-based MCP server.""" - - url: str - """The HTTPS URL of the MCP server to synchronize from.""" - credential_provider_configurations: ( - list[RegistryRecordCredentialProviderConfiguration] | None - ) = ... - """ - Optional list of credential provider configurations for authenticating - with the MCP server. At most one credential provider configuration can - be specified. - """ - -@dataclass(kw_only=True) -class GatewayApiKeyCredentialProvider(_SerdeShape): - """ - An API key credential provider for gateway authentication. This - structure contains the configuration for authenticating with the target - endpoint using an API key. - """ - - provider_arn: str - """ - The Amazon Resource Name (ARN) of the API key credential provider. This - ARN identifies the provider in Amazon Web Services. - """ - credential_parameter_name: str | None = ... - """ - The name of the credential parameter for the API key. This parameter - name is used when sending the API key to the target endpoint. - """ - credential_prefix: str | None = ... - """ - The prefix for the API key credential. This prefix is added to the API - key when sending it to the target endpoint. - """ - credential_location: str | None = ... - """ - The location of the API key credential. This field specifies where in - the request the API key should be placed. - """ - -class GatewayInterceptionPoint(UnknownEnumMixin, StrEnum): - REQUEST = "REQUEST" - RESPONSE = "RESPONSE" - -@dataclass(kw_only=True) -class GatewayInterceptorConfiguration(_SerdeShape): - """ - The configuration for an interceptor on a gateway. This structure - defines settings for an interceptor that will be invoked during the - invocation of the gateway. - """ - - interceptor: InterceptorConfiguration - """ - The infrastructure settings of an interceptor configuration. This - structure defines how the interceptor can be invoked. - """ - interception_points: list[str] - """ - The supported points of interception. This field specifies which points - during the gateway invocation to invoke the interceptor - """ - input_configuration: InterceptorInputConfiguration | None = ... - """ - The configuration for the input of the interceptor. This field specifies - how the input to the interceptor is constructed - """ - -@dataclass(kw_only=True) -class GatewayPolicyEngineConfiguration(_SerdeShape): - """ - The configuration for a policy engine associated with a gateway. A - policy engine is a collection of policies that evaluates and authorizes - agent tool calls. When associated with a gateway, the policy engine - intercepts all agent requests and determines whether to allow or deny - each action based on the defined policies. - """ - - arn: str - """ - The ARN of the policy engine. The policy engine contains Cedar or - Dogwood policies that define fine-grained authorization rules specifying - who can perform what actions on which resources as agents interact - through the gateway. - """ - mode: str - """ - The enforcement mode for the policy engine. Valid values include: - - - `LOG_ONLY` - The policy engine evaluates each action against your - policies and adds traces on whether tool calls would be allowed or - denied, but does not enforce the decision. Use this mode to test and - validate policies before enabling enforcement. - - - `ENFORCE` - The policy engine evaluates actions against your policies - and enforces decisions by allowing or denying agent operations. Test - and validate policies in `LOG_ONLY` mode before enabling enforcement - to avoid unintended denials or adversely affecting production traffic. - """ - -class GatewayPolicyEngineMode(UnknownEnumMixin, StrEnum): - LOG_ONLY = "LOG_ONLY" - ENFORCE = "ENFORCE" - -@dataclass -class GatewayProtocolConfigurationMcp(_SerdeShape): - """ - The configuration for the Model Context Protocol (MCP). This protocol - enables communication between Amazon Bedrock Agent and external tools. - """ - - value: MCPGatewayConfiguration - -@dataclass -class GatewayProtocolConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -GatewayProtocolConfiguration = Union[ - GatewayProtocolConfigurationMcp | GatewayProtocolConfigurationUnknown -] -""" -The configuration for a gateway protocol. This structure defines how the -gateway communicates with external services. -""" - -class _GatewayProtocolConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> GatewayProtocolConfiguration: ... - -class GatewayProtocolType(UnknownEnumMixin, StrEnum): - MCP = "MCP" - -@dataclass(kw_only=True) -class GatewayRateLimitDetail(_SerdeShape): - """ - Contains detailed information about a gateway rate limit, including its - configuration and current status. - """ - - rate_limit_id: str - """The unique identifier of the rate limit.""" - gateway_identifier: str - """The unique identifier of the gateway.""" - description: str | None = ... - """The human-readable description of the rate limit.""" - dimension_keys: list[str] - """ - The ordered list of dimension key names that define the scope of this - rate limit. - """ - entries: list[LimitEntry] - """ - The list of rule entries that map dimension values to rate - configurations. - """ - status: str - """The current status of the rate limit.""" - created_at: datetime - """The timestamp when the rate limit was created.""" - updated_at: datetime - """The timestamp when the rate limit was last updated.""" - -class GatewayRateLimitStatus(UnknownEnumMixin, StrEnum): - """The status of a gateway limit.""" - - CREATING = "CREATING" - ACTIVE = "ACTIVE" - UPDATING = "UPDATING" - DELETING = "DELETING" - -@dataclass(kw_only=True) -class GatewayRuleDetail(_SerdeShape): - """Detailed information about a gateway rule.""" - - rule_id: str - """The unique identifier of the gateway rule.""" - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway that the rule belongs to.""" - priority: int - """ - The priority of the rule. Rules are evaluated in order of priority, with - lower numbers evaluated first. - """ - conditions: list[Condition] | None = ... - """The conditions that must be met for the rule to apply.""" - actions: list[Action] - """The actions to take when the rule conditions are met.""" - description: str | None = ... - """The description of the gateway rule.""" - created_at: datetime - """The timestamp when the rule was created.""" - status: str - """The current status of the rule.""" - system: SystemManagedBlock | None = ... - """System-managed metadata for rules created by automated processes.""" - updated_at: datetime | None = ... - """The timestamp when the rule was last updated.""" - -class GatewayRuleStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - UPDATING = "UPDATING" - DELETING = "DELETING" - -class GatewayStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - UPDATING = "UPDATING" - UPDATE_UNSUCCESSFUL = "UPDATE_UNSUCCESSFUL" - DELETING = "DELETING" - READY = "READY" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class GatewaySummary(_SerdeShape): - """Contains summary information about a gateway.""" - - gateway_id: str - """The unique identifier of the gateway.""" - name: str - """The name of the gateway.""" - status: str - """The current status of the gateway.""" - description: str | None = ... - """The description of the gateway.""" - created_at: datetime - """The timestamp when the gateway was created.""" - updated_at: datetime - """The timestamp when the gateway was last updated.""" - authorizer_type: str - """The type of authorizer used by the gateway.""" - protocol_type: str = ... - """The protocol type used by the gateway.""" - -@dataclass(kw_only=True) -class GatewayTarget(_SerdeShape): - """The gateway target.""" - - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway target.""" - target_id: str - """The target ID.""" - created_at: datetime - """The date and time at which the target was created.""" - updated_at: datetime - """The date and time at which the target was updated.""" - status: str - """The status of the gateway target.""" - status_reasons: list[str] | None = ... - """The status reasons for the target status.""" - name: str - """The name of the gateway target.""" - description: str | None = ... - """The description for the gateway target.""" - target_configuration: TargetConfiguration - """ - The configuration for a gateway target. This structure defines how the - gateway connects to and interacts with the target endpoint. - """ - credential_provider_configurations: list[CredentialProviderConfiguration] - """The provider configurations.""" - last_synchronized_at: datetime | None = ... - """The last synchronization time.""" - metadata_configuration: MetadataConfiguration | None = ... - """ - The metadata configuration for HTTP header and query parameter - propagation to and from this gateway target. - """ - private_endpoint: PrivateEndpoint | None = ... - """ - The private endpoint configuration for a gateway target. Defines how the - gateway connects to private resources in your VPC. - """ - private_endpoint_managed_resources: list[ManagedResourceDetails] | None = ... - """ - A list of managed resources created by the gateway for private endpoint - connectivity. These resources are created in your account when you use a - managed VPC Lattice resource configuration. - """ - authorization_data: AuthorizationData | None = ... - """ - OAuth2 authorization data for the gateway target. This data is returned - when a target is configured with a credential provider with - authorization code grant type and requires user federation. - """ - protocol_type: str | None = ... - """The protocol type of the gateway target.""" - certificate_configurations: list[CertificateConfiguration] | None = ... - """ - The private certificate authority (CA) configurations for the gateway - target. - """ - -@dataclass(kw_only=True) -class GetAgentRuntimeEndpointInput(_SerdeShape): - """Dataclass for GetAgentRuntimeEndpointInput structure.""" - - agent_runtime_id: str | None = ... - """ - The unique identifier of the AgentCore Runtime associated with the - endpoint. - """ - endpoint_name: str | None = ... - """The name of the AgentCore Runtime endpoint to retrieve.""" - -@dataclass(kw_only=True) -class GetAgentRuntimeEndpointOutput(_SerdeShape): - """Dataclass for GetAgentRuntimeEndpointOutput structure.""" - - live_version: str | None = ... - """The currently deployed version of the AgentCore Runtime on the endpoint.""" - target_version: str | None = ... - """The target version of the AgentCore Runtime for the endpoint.""" - agent_runtime_endpoint_arn: str - """The Amazon Resource Name (ARN) of the AgentCore Runtime endpoint.""" - agent_runtime_arn: str - """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" - description: str | None = ... - """The description of the AgentCore Runtime endpoint.""" - status: str - """The current status of the AgentCore Runtime endpoint.""" - created_at: datetime - """The timestamp when the AgentCore Runtime endpoint was created.""" - last_updated_at: datetime - """The timestamp when the AgentCore Runtime endpoint was last updated.""" - failure_reason: str | None = ... - """ - The reason for failure if the AgentCore Runtime endpoint is in a failed - state. - """ - name: str - """The name of the AgentCore Runtime endpoint.""" - id: str - """The unique identifier of the AgentCore Runtime endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAgentRuntimeInput(_SerdeShape): - """Dataclass for GetAgentRuntimeInput structure.""" - - agent_runtime_id: str | None = ... - """The unique identifier of the AgentCore Runtime to retrieve.""" - agent_runtime_version: str | None = ... - """The version of the AgentCore Runtime to retrieve.""" - -@dataclass(kw_only=True) -class GetAgentRuntimeOutput(_SerdeShape): - """Dataclass for GetAgentRuntimeOutput structure.""" - - agent_runtime_arn: str - """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" - agent_runtime_name: str - """The name of the AgentCore Runtime.""" - agent_runtime_id: str - """The unique identifier of the AgentCore Runtime.""" - agent_runtime_version: str - """The version of the AgentCore Runtime.""" - created_at: datetime - """The timestamp when the AgentCore Runtime was created.""" - last_updated_at: datetime - """The timestamp when the AgentCore Runtime was last updated.""" - role_arn: str - """The IAM role ARN that provides permissions for the AgentCore Runtime.""" - network_configuration: NetworkConfiguration | None = ... - """The network configuration for the AgentCore Runtime.""" - status: str - """The current status of the AgentCore Runtime.""" - lifecycle_configuration: LifecycleConfiguration - """The life cycle configuration for the AgentCore Runtime.""" - hooks_configuration: RuntimeHooksConfiguration | None = ... - """The lifecycle hooks configuration for the AgentCore Runtime.""" - failure_reason: str | None = ... - """The reason for failure if the AgentCore Runtime is in a failed state.""" - description: str | None = ... - """The description of the AgentCore Runtime.""" - workload_identity_details: WorkloadIdentityDetails | None = ... - """The workload identity details for the AgentCore Runtime.""" - agent_runtime_artifact: AgentRuntimeArtifact | None = ... - """The artifact of the AgentCore Runtime.""" - protocol_configuration: ProtocolConfiguration | None = ... - """ - The protocol configuration for the AgentCore Runtime, including the - protocol, port, and path on which the agent server is available. - """ - environment_variables: dict[str, str] | None = ... - """Environment variables set in the AgentCore Runtime environment.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """The authorizer configuration for the AgentCore Runtime.""" - request_header_configuration: RequestHeaderConfiguration | None = ... - """ - Configuration for HTTP request headers that will be passed through to - the runtime. - """ - metadata_configuration: RuntimeMetadataConfiguration | None = ... - """ - Configuration for microVM Metadata Service (MMDS) settings for the - AgentCore Runtime. - """ - filesystem_configurations: list[FilesystemConfiguration] | None = ... - """The filesystem configurations mounted into the AgentCore Runtime.""" - capacity_provider_configuration: CapacityProviderConfiguration | None = ... - """The capacity provider configuration for the AgentCore Runtime.""" - platform_version: str | None = ... - """The version of the runtime platform used by the AgentCore Runtime.""" - allowed_ports: list[AllowedPort] | None = ... - """ - The additional ports on the AgentCore Runtime that are reachable through - the runtime's session URL. - """ - resource_configurations: list[ResourceConfiguration] | None = ... - """The resource configurations for the AgentCore Runtime.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetApiKeyCredentialProviderInput(_SerdeShape): - """Dataclass for GetApiKeyCredentialProviderInput structure.""" - - name: str | None = ... - """The name of the API key credential provider to retrieve.""" - -@dataclass(kw_only=True) -class GetApiKeyCredentialProviderOutput(_SerdeShape): - """Dataclass for GetApiKeyCredentialProviderOutput structure.""" - - api_key_secret_arn: Secret - """ - The Amazon Resource Name (ARN) of the API key secret in Amazon Web - Services Secrets Manager. - """ - api_key_secret_json_key: str | None = ... - """ - The JSON key used to extract the API key value from the Amazon Web - Services Secrets Manager secret. - """ - api_key_secret_source: str | None = ... - """ - The source type of the API key secret. Either `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if managed by the user in Amazon - Web Services Secrets Manager. - """ - name: str - """The name of the API key credential provider.""" - credential_provider_arn: str - """The Amazon Resource Name (ARN) of the API key credential provider.""" - created_time: datetime - """The timestamp when the API key credential provider was created.""" - last_updated_time: datetime - """The timestamp when the API key credential provider was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBrowserInput(_SerdeShape): - """Dataclass for GetBrowserInput structure.""" - - browser_id: str | None = ... - """The unique identifier of the browser to retrieve.""" - -@dataclass(kw_only=True) -class GetBrowserOutput(_SerdeShape): - """Dataclass for GetBrowserOutput structure.""" - - browser_id: str - """The unique identifier of the browser.""" - browser_arn: str - """The Amazon Resource Name (ARN) of the browser.""" - name: str - """The name of the browser.""" - description: str | None = ... - """The description of the browser.""" - execution_role_arn: str | None = ... - """The IAM role ARN that provides permissions for the browser.""" - network_configuration: BrowserNetworkConfiguration - """ - The network configuration for a browser. This structure defines how the - browser connects to the network. - """ - recording: RecordingConfig | None = ... - """ - The recording configuration for a browser. This structure defines how - browser sessions are recorded. - """ - browser_signing: BrowserSigningConfigOutput | None = ... - """ - The browser signing configuration that shows whether cryptographic agent - identification is enabled for web bot authentication. - """ - enterprise_policies: list[BrowserEnterprisePolicy] | None = ... - """The list of enterprise policy files configured for the browser.""" - certificates: list[Certificate] | None = ... - """The list of certificates configured for the browser.""" - filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... - """ - The file system configurations mounted into the browser. Each entry - describes an access point and its mount path. - """ - status: str - """The current status of the browser.""" - failure_reason: str | None = ... - """The reason for failure if the browser is in a failed state.""" - created_at: datetime - """The timestamp when the browser was created.""" - last_updated_at: datetime - """The timestamp when the browser was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBrowserProfileInput(_SerdeShape): - """Dataclass for GetBrowserProfileInput structure.""" - - profile_id: str | None = ... - """The unique identifier of the browser profile to retrieve.""" - -@dataclass(kw_only=True) -class GetBrowserProfileOutput(_SerdeShape): - """Dataclass for GetBrowserProfileOutput structure.""" - - profile_id: str - """The unique identifier of the browser profile.""" - profile_arn: str - """The Amazon Resource Name (ARN) of the browser profile.""" - name: str - """The name of the browser profile.""" - description: str | None = ... - """The description of the browser profile.""" - status: str - """The current status of the browser profile.""" - created_at: datetime - """The timestamp when the browser profile was created.""" - last_updated_at: datetime - """The timestamp when the browser profile was last updated.""" - last_saved_at: datetime | None = ... - """The timestamp when browser session data was last saved to this profile.""" - last_saved_browser_session_id: str | None = ... - """ - The identifier of the browser session from which data was last saved to - this profile. - """ - last_saved_browser_id: str | None = ... - """ - The identifier of the browser from which data was last saved to this - profile. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCapacityProviderInput(_SerdeShape): - """Dataclass for GetCapacityProviderInput structure.""" - - capacity_provider_id: str | None = ... - """The unique identifier of the capacity provider.""" - -@dataclass(kw_only=True) -class GetCapacityProviderOutput(_SerdeShape): - """Dataclass for GetCapacityProviderOutput structure.""" - - capacity_provider_id: str - """The unique identifier of the capacity provider.""" - capacity_provider_arn: str - """The Amazon Resource Name (ARN) of the capacity provider.""" - name: str - """The name of the capacity provider.""" - status: str - """ - The current status of the capacity provider. For possible values, see - `CapacityProviderStatus`. - """ - description: str | None = ... - """The description of the capacity provider, if one was provided.""" - status_code: str | None = ... - """ - A reason code for a capacity provider that is not in the `READY` state. - Use this code for programmatic error handling. - """ - status_reason: str | None = ... - """ - A human-readable message that describes why the capacity provider is not - in the `READY` state. Because these messages can change, use - `statusCode` for programmatic error handling. - """ - permissions_configuration: PermissionsConfiguration - """The permissions configuration for the capacity provider.""" - compute_configuration: ComputeConfiguration - """The compute configuration for the capacity provider.""" - created_at: datetime - """The timestamp when the capacity provider was created.""" - last_updated_at: datetime - """The timestamp when the capacity provider was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCodeInterpreterInput(_SerdeShape): - """Dataclass for GetCodeInterpreterInput structure.""" - - code_interpreter_id: str | None = ... - """The unique identifier of the code interpreter to retrieve.""" - -@dataclass(kw_only=True) -class GetCodeInterpreterOutput(_SerdeShape): - """Dataclass for GetCodeInterpreterOutput structure.""" - - code_interpreter_id: str - """The unique identifier of the code interpreter.""" - code_interpreter_arn: str - """The Amazon Resource Name (ARN) of the code interpreter.""" - name: str - """The name of the code interpreter.""" - description: str | None = ... - """The description of the code interpreter.""" - execution_role_arn: str | None = ... - """The IAM role ARN that provides permissions for the code interpreter.""" - network_configuration: CodeInterpreterNetworkConfiguration - """ - The network configuration for a code interpreter. This structure defines - how the code interpreter connects to the network. - """ - status: str - """The current status of the code interpreter.""" - certificates: list[Certificate] | None = ... - """The list of certificates configured for the code interpreter.""" - filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... - """ - The file system configurations mounted into the code interpreter. Each - entry describes an access point and its mount path. - """ - failure_reason: str | None = ... - """The reason for failure if the code interpreter is in a failed state.""" - created_at: datetime - """The timestamp when the code interpreter was created.""" - last_updated_at: datetime - """The timestamp when the code interpreter was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetConfigurationBundleInput(_SerdeShape): - """Dataclass for GetConfigurationBundleInput structure.""" - - bundle_id: str | None = ... - """The unique identifier of the configuration bundle to retrieve.""" - branch_name: str | None = ... - """ - The branch name to get the latest version from. If not specified, - returns the latest version on the mainline branch. - """ - -@dataclass(kw_only=True) -class GetConfigurationBundleOutput(_SerdeShape): - """Dataclass for GetConfigurationBundleOutput structure.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle.""" - bundle_id: str - """The unique identifier of the configuration bundle.""" - bundle_name: str - """The name of the configuration bundle.""" - description: str | None = ... - """The description of the configuration bundle.""" - version_id: str - """The version identifier of this configuration bundle.""" - components: dict[str, ComponentConfiguration] - """A map of component identifiers to their configurations for this version.""" - lineage_metadata: VersionLineageMetadata | None = ... - """ - The version lineage metadata, including parent versions, branch name, - and creation source. - """ - created_at: datetime - """The timestamp when the configuration bundle was created.""" - updated_at: datetime - """The timestamp when the configuration bundle was last updated.""" - kms_key_arn: str | None = ... - """ - KMS key ARN used to encrypt component configurations, if CMK was - provided. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetConfigurationBundleVersionInput(_SerdeShape): - """Dataclass for GetConfigurationBundleVersionInput structure.""" - - bundle_id: str | None = ... - """The unique identifier of the configuration bundle.""" - version_id: str | None = ... - """The version identifier of the configuration bundle version to retrieve.""" - -@dataclass(kw_only=True) -class GetConfigurationBundleVersionOutput(_SerdeShape): - """Dataclass for GetConfigurationBundleVersionOutput structure.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle.""" - bundle_id: str - """The unique identifier of the configuration bundle.""" - bundle_name: str - """The name of the configuration bundle.""" - description: str | None = ... - """The description of the configuration bundle.""" - version_id: str - """The version identifier of this configuration bundle version.""" - components: dict[str, ComponentConfiguration] - """A map of component identifiers to their configurations for this version.""" - lineage_metadata: VersionLineageMetadata | None = ... - """ - The version lineage metadata, including parent versions, branch name, - and creation source. - """ - created_at: datetime - """The timestamp when the configuration bundle was created.""" - version_created_at: datetime - """The timestamp when this specific version was created.""" - kms_key_arn: str | None = ... - """ - KMS key ARN used to encrypt component configurations, if CMK was - provided. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetConsentPortalInput(_SerdeShape): - """Dataclass for GetConsentPortalInput structure.""" - - consent_portal_identifier: str | None = ... - """ - The identifier of the consent portal. You can specify either the consent - portal ID or its Amazon Resource Name (ARN). - """ - -@dataclass(kw_only=True) -class GetConsentPortalOutput(_SerdeShape): - """Dataclass for GetConsentPortalOutput structure.""" - - sources: list[ConsentPortalSource] - """The resources served by the consent portal.""" - consent_portal_arn: str - """The Amazon Resource Name (ARN) of the consent portal.""" - consent_portal_id: str - """The unique identifier of the consent portal.""" - created_at: datetime - """The timestamp for when the consent portal was created.""" - description: str | None = ... - """The description of the consent portal.""" - execution_role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role that the consent portal - assumes to access the resources defined in its sources. - """ - idp_config: ConsentPortalIdpConfig - """ - The identity provider configuration that the consent portal uses to - authenticate end users. - """ - name: str - """The name of the consent portal.""" - portal_url: str | None = ... - """The URL used to access the consent portal.""" - status: str - """The current status of the consent portal.""" - status_reason: str | None = ... - """ - A message that provides additional information about the current status - of the consent portal. - """ - updated_at: datetime - """The timestamp for when the consent portal was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDatasetInput(_SerdeShape): - """Dataclass for GetDatasetInput structure.""" - - dataset_id: str | None = ... - """The unique identifier of the dataset to retrieve.""" - dataset_version: str | None = ... - """ - Version to retrieve: \"DRAFT\" or a version number. Defaults to DRAFT if - absent. - """ - -@dataclass(kw_only=True) -class GetDatasetOutput(_SerdeShape): - """Dataclass for GetDatasetOutput structure.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the dataset.""" - dataset_id: str - """The unique identifier of the dataset.""" - dataset_version: str - """ - The resolved version: \"DRAFT\" (default) or the requested version - number. - """ - dataset_name: str - """The name of the dataset.""" - description: str | None = ... - """The description of the dataset.""" - status: str - """The current status of the dataset.""" - draft_status: str | None = ... - """ - Publish synchronization state. Only authoritative when status is ACTIVE. - MODIFIED indicates DRAFT has unpublished changes. UNMODIFIED indicates - DRAFT matches the latest published version. - """ - failure_reason: str | None = ... - """ - Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED. - Describes the reason for the failure. - """ - schema_type: str - """The schema type declared at create time. Immutable after creation.""" - kms_key_arn: str | None = ... - """ - KMS key ARN used for server-side encryption on service Amazon S3 writes, - if configured. - """ - example_count: int - """The number of examples in the DRAFT.""" - download_url: str | None = ... - """ - Presigned Amazon S3 URL to download the consolidated dataset file for - the resolved version. Expires after 5 minutes. Omitted if the file does - not yet exist. - """ - download_url_expires_at: datetime | None = ... - """Expiry timestamp for the download URL.""" - created_at: datetime - """The timestamp when the dataset was created.""" - updated_at: datetime - """The timestamp when the dataset was last updated.""" - tags: dict[str, str] | None = ... - """The tags associated with the dataset.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEvaluatorInput(_SerdeShape): - """Dataclass for GetEvaluatorInput structure.""" - - evaluator_id: str | None = ... - """ - The unique identifier of the evaluator to retrieve. Can be a built-in - evaluator ID (e.g., Builtin.Helpfulness) or a custom evaluator ID. - """ - included_data: str | None = ... - """ - Controls which data is returned in the response. `ALL_DATA` (default) - returns the full evaluator including decrypted instructions and rating - scale. For evaluators encrypted with a customer managed KMS key, this - requires `kms:Decrypt` permission on the key. `METADATA_ONLY` returns - evaluator metadata and model configuration without instructions or - rating scale, and does not require any KMS permissions. - """ - -@dataclass(kw_only=True) -class GetEvaluatorOutput(_SerdeShape): - """Dataclass for GetEvaluatorOutput structure.""" - - evaluator_arn: str - """The Amazon Resource Name (ARN) of the evaluator.""" - evaluator_id: str - """The unique identifier of the evaluator.""" - evaluator_name: str - """The name of the evaluator.""" - description: str | None = ... - """The description of the evaluator.""" - evaluator_config: EvaluatorConfig - """ - The configuration of the evaluator, including LLM-as-a-Judge or - code-based settings. - """ - evaluator_type: str | None = ... - """ - The kind of evaluator resource. Valid values: - - - `Builtin` -- An Amazon Web Services-managed global evaluator. - - - `ThirdParty` -- An Amazon Web Services-managed global evaluator from a - third-party provider. - - - `Custom` -- A customer-created evaluator. - - - `CustomCode` -- A customer-created code-based evaluator. - - - `CustomDerived` -- A customer-created evaluator derived from an - existing base evaluator. - """ - provider: str | None = ... - """ - The source of the evaluator's logic: Amazon Web Services, a third-party - library, or you. - """ - level: str - """ - The evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that - determines the scope of evaluation. - """ - status: str - """The current status of the evaluator.""" - created_at: datetime - """The timestamp when the evaluator was created.""" - updated_at: datetime - """The timestamp when the evaluator was last updated.""" - locked_for_modification: bool | None = ... - """ - Whether the evaluator is locked for modification due to being referenced - by active online evaluation configurations. - """ - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the customer managed KMS key used to - encrypt the evaluator's sensitive data. This field is only present for - evaluators encrypted with a customer managed key. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGatewayInput(_SerdeShape): - """Dataclass for GetGatewayInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway to retrieve.""" - -@dataclass(kw_only=True) -class GetGatewayOutput(_SerdeShape): - """Dataclass for GetGatewayOutput structure.""" - - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway.""" - gateway_id: str - """The unique identifier of the gateway.""" - gateway_url: str | None = ... - """An endpoint for invoking gateway.""" - created_at: datetime - """The timestamp when the gateway was created.""" - updated_at: datetime - """The timestamp when the gateway was last updated.""" - status: str - """The current status of the gateway.""" - status_reasons: list[str] | None = ... - """The reasons for the current status of the gateway.""" - name: str - """The name of the gateway.""" - description: str | None = ... - """The description of the gateway.""" - role_arn: str | None = ... - """The IAM role ARN that provides permissions for the gateway.""" - protocol_type: str = ... - """Protocol applied to a gateway.""" - protocol_configuration: GatewayProtocolConfiguration | None = ... - """ - The configuration for a gateway protocol. This structure defines how the - gateway communicates with external services. - """ - authorizer_type: str - """Authorizer type for the gateway.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """The authorizer configuration for the gateway.""" - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the - gateway. - """ - custom_transform_configuration: CustomTransformConfiguration | None = ... - """ - The custom transformation configuration for the gateway. This - configuration defines how the gateway transforms requests and responses. - """ - interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... - """The interceptors configured on the gateway.""" - policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... - """The policy engine configuration for the gateway.""" - workload_identity_details: WorkloadIdentityDetails | None = ... - """The workload identity details for the gateway.""" - exception_level: str | None = ... - """ - The level of detail in error messages returned when invoking the - gateway. - - - If the value is `DEBUG`, granular exception messages are returned to - help a user debug the gateway. - - - If the value is omitted, a generic error message is returned to the - end user. - """ - web_acl_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services WAF web ACL - associated with the gateway. - """ - waf_configuration: WafConfiguration | None = ... - """The Amazon Web Services WAF configuration for the gateway.""" - domain_override: DomainOverride | None = ... - """ - The public domain names that the gateway advertises in its OAuth - discovery URLs instead of the inbound Host header. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGatewayRateLimitInput(_SerdeShape): - """Dataclass for GetGatewayRateLimitInput structure.""" - - gateway_identifier: str | None = ... - """The unique identifier of the gateway.""" - rate_limit_id: str | None = ... - """The unique identifier of the rate limit to retrieve.""" - -@dataclass(kw_only=True) -class GetGatewayRateLimitOutput(_SerdeShape): - """Shared fields for `GatewayRateLimit` responses.""" - - rate_limit_id: str - """The unique identifier of the rate limit.""" - gateway_identifier: str - """The unique identifier of the gateway.""" - description: str | None = ... - """The human-readable description of the rate limit.""" - dimension_keys: list[str] - """ - The ordered list of dimension key names that define the scope of this - rate limit. - """ - entries: list[LimitEntry] - """ - The list of rule entries that map dimension values to rate - configurations. - """ - status: str - """The current status of the rate limit.""" - created_at: datetime - """The timestamp when the rate limit was created.""" - updated_at: datetime - """The timestamp when the rate limit was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGatewayRuleInput(_SerdeShape): - """Dataclass for GetGatewayRuleInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway containing the rule.""" - rule_id: str | None = ... - """The unique identifier of the rule to retrieve.""" - -@dataclass(kw_only=True) -class GetGatewayRuleOutput(_SerdeShape): - """ - Create response excludes updatedAt (redundant on create). Get/Update - responses include it via their own output structures. - """ - - rule_id: str - """The unique identifier of the gateway rule.""" - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway that the rule belongs to.""" - priority: int - """ - The priority of the rule. Rules are evaluated in order of priority, with - lower numbers evaluated first. - """ - conditions: list[Condition] | None = ... - """The conditions that must be met for the rule to apply.""" - actions: list[Action] - """The actions to take when the rule conditions are met.""" - description: str | None = ... - """The description of the gateway rule.""" - created_at: datetime - """The timestamp when the rule was created.""" - status: str - """The current status of the rule.""" - system: SystemManagedBlock | None = ... - """System-managed metadata for rules created by automated processes.""" - updated_at: datetime | None = ... - """The timestamp when the rule was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGatewayTargetInput(_SerdeShape): - """Dataclass for GetGatewayTargetInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway that contains the target.""" - target_id: str | None = ... - """The unique identifier of the target to retrieve.""" - -@dataclass(kw_only=True) -class GetGatewayTargetOutput(_SerdeShape): - """Dataclass for GetGatewayTargetOutput structure.""" - - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway.""" - target_id: str - """The unique identifier of the gateway target.""" - created_at: datetime - """The timestamp when the gateway target was created.""" - updated_at: datetime - """The timestamp when the gateway target was last updated.""" - status: str - """The current status of the gateway target.""" - status_reasons: list[str] | None = ... - """The reasons for the current status of the gateway target.""" - name: str - """The name of the gateway target.""" - description: str | None = ... - """The description of the gateway target.""" - target_configuration: TargetConfiguration - """ - The configuration for a gateway target. This structure defines how the - gateway connects to and interacts with the target endpoint. - """ - credential_provider_configurations: list[CredentialProviderConfiguration] - """The credential provider configurations for the gateway target.""" - last_synchronized_at: datetime | None = ... - """The last synchronization of the target.""" - metadata_configuration: MetadataConfiguration | None = ... - """ - The metadata configuration for HTTP header and query parameter - propagation for the retrieved gateway target. - """ - private_endpoint: PrivateEndpoint | None = ... - """The private endpoint configuration for the gateway target.""" - private_endpoint_managed_resources: list[ManagedResourceDetails] | None = ... - """ - The managed resources created by the gateway for private endpoint - connectivity. - """ - authorization_data: AuthorizationData | None = ... - """ - OAuth2 authorization data for the gateway target. This data is returned - when a target is configured with a credential provider with - authorization code grant type and requires user federation. - """ - protocol_type: str | None = ... - """The protocol type of the gateway target.""" - certificate_configurations: list[CertificateConfiguration] | None = ... - """ - The private certificate authority (CA) configurations for the gateway - target. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetHarnessEndpointInput(_SerdeShape): - """Dataclass for GetHarnessEndpointInput structure.""" - - harness_id: str | None = ... - """The ID of the harness that the endpoint belongs to.""" - endpoint_name: str | None = ... - """The name of the endpoint to retrieve.""" - -@dataclass(kw_only=True) -class GetHarnessEndpointOutput(_SerdeShape): - """Dataclass for GetHarnessEndpointOutput structure.""" - - endpoint: HarnessEndpoint - """The endpoint resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetHarnessInput(_SerdeShape): - """Dataclass for GetHarnessInput structure.""" - - harness_id: str | None = ... - """The ID of the harness to retrieve.""" - harness_version: str | None = ... - """ - Specific version of the harness to retrieve. If omitted, returns the - current Harness configuration, including its status. - """ - -@dataclass(kw_only=True) -class GetHarnessOutput(_SerdeShape): - """Dataclass for GetHarnessOutput structure.""" - - harness: Harness - """The harness resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMemoryInput(_SerdeShape): - """Dataclass for GetMemoryInput structure.""" - - memory_id: str | None = ... - """The unique identifier of the memory to retrieve.""" - view: str = ... - """The level of detail to return for the memory.""" - -@dataclass(kw_only=True) -class GetMemoryOutput(_SerdeShape): - """Dataclass for GetMemoryOutput structure.""" - - memory: Memory - """The retrieved AgentCore Memory resource details.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOauth2CredentialProviderInput(_SerdeShape): - """Dataclass for GetOauth2CredentialProviderInput structure.""" - - name: str | None = ... - """The name of the OAuth2 credential provider to retrieve.""" - -@dataclass(kw_only=True) -class GetOauth2CredentialProviderOutput(_SerdeShape): - """Dataclass for GetOauth2CredentialProviderOutput structure.""" - - client_secret_arn: Secret - """ - The Amazon Resource Name (ARN) of the client secret in Amazon Web - Services Secrets Manager. - """ - client_secret_json_key: str | None = ... - """ - The JSON key used to extract the client secret value from the Amazon Web - Services Secrets Manager secret. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Either `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if managed by the user in Amazon - Web Services Secrets Manager. - """ - name: str - """The name of the OAuth2 credential provider.""" - credential_provider_arn: str - """ARN of the credential provider requested.""" - credential_provider_vendor: str - """The vendor of the OAuth2 credential provider.""" - callback_url: str | None = ... - """ - Callback URL to register on the OAuth2 credential provider as an allowed - callback URL. This URL is where the OAuth2 authorization server - redirects users after they complete the authorization flow. - """ - oauth2_provider_config_output: Oauth2ProviderConfigOutput - """The configuration output for the OAuth2 provider.""" - created_time: datetime - """The timestamp when the OAuth2 credential provider was created.""" - last_updated_time: datetime - """The timestamp when the OAuth2 credential provider was last updated.""" - status: str | None = ... - """The current status of the OAuth2 credential provider.""" - failure_reason: str | None = ... - """ - The reason for failure if the OAuth2 credential provider is in a failed - state. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOnlineEvaluationConfigInput(_SerdeShape): - """Dataclass for GetOnlineEvaluationConfigInput structure.""" - - online_evaluation_config_id: str | None = ... - """ - The unique identifier of the online evaluation configuration to - retrieve. - """ - -@dataclass(kw_only=True) -class GetOnlineEvaluationConfigOutput(_SerdeShape): - """Dataclass for GetOnlineEvaluationConfigOutput structure.""" - - online_evaluation_config_arn: str - """The Amazon Resource Name (ARN) of the online evaluation configuration.""" - online_evaluation_config_id: str - """The unique identifier of the online evaluation configuration.""" - online_evaluation_config_name: str - """The name of the online evaluation configuration.""" - description: str | None = ... - """The description of the online evaluation configuration.""" - rule: Rule - """ - The evaluation rule containing sampling configuration, filters, and - session settings. - """ - data_source_config: DataSourceConfig - """ - The data source configuration specifying CloudWatch log groups and - service names to monitor. - """ - evaluators: list[EvaluatorReference] = ... - """The list of evaluators applied during online evaluation.""" - insights: list[Insight] | None = ... - """The list of insight types configured for this evaluation.""" - clustering_config: ClusteringConfig | None = ... - """The clustering configuration for periodic batch evaluation.""" - output_config: OutputConfig | None = ... - """ - The output configuration specifying where evaluation results are - written. - """ - evaluation_execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role used for evaluation - execution. - """ - status: str - """The status of the online evaluation configuration.""" - execution_status: str - """ - The execution status indicating whether the online evaluation is - currently running. - """ - created_at: datetime - """The timestamp when the online evaluation configuration was created.""" - updated_at: datetime - """The timestamp when the online evaluation configuration was last updated.""" - failure_reason: str | None = ... - """ - The reason for failure if the online evaluation configuration execution - failed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPaymentConnectorInput(_SerdeShape): - """Dataclass for GetPaymentConnectorInput structure.""" - - payment_manager_id: str | None = ... - """The unique identifier of the parent payment manager.""" - payment_connector_id: str | None = ... - """The unique identifier of the payment connector to retrieve.""" - -@dataclass(kw_only=True) -class GetPaymentConnectorOutput(_SerdeShape): - """Dataclass for GetPaymentConnectorOutput structure.""" - - payment_connector_id: str - """The unique identifier of the payment connector.""" - name: str - """The name of the payment connector.""" - description: str | None = ... - """The description of the payment connector.""" - type: str - """ - The type of the payment connector, which determines the payment provider - integration. - """ - provision_mode: str | None = ... - """ - Specifies how the payment connector was provisioned. Payment connectors - that were created before this field was available return `MANUAL`. - - - `MANUAL` - You provided the credential provider configurations, so you - own the credentials. Rotate them with the payment provider, then call - `UpdatePaymentCredentialProvider`. - - - `QUICK_CREATE` - AgentCore provisioned the credential provider for - you, so the credentials are service-managed. You can rotate them with - `RotatePaymentConnectorCredentials`. - """ - credential_provider_configurations: list[CredentialsProviderConfiguration] - """The credential provider configurations for the payment connector.""" - created_at: datetime - """The timestamp when the payment connector was created.""" - last_updated_at: datetime - """The timestamp when the payment connector was last updated.""" - status: str - """ - The current status of the payment connector. Possible values include - `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, - `UPDATE_FAILED`, and `DELETE_FAILED`. - """ - authorization_url: str | None = ... - """ - The URL that the user must open to complete OAuth consent. This field is - only present when the payment connector status is - `PENDING_AUTHENTICATION`. - """ - credentials_updated_at: datetime | None = ... - """ - The timestamp when the payment connector's current service-managed - credentials took effect. It is first set when the credentials are - provisioned and is updated by each rotation. This field is present only - for payment connectors with a `provisionMode` of `QUICK_CREATE`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPaymentCredentialProviderInput(_SerdeShape): - """Dataclass for GetPaymentCredentialProviderInput structure.""" - - name: str | None = ... - """The name of the payment credential provider to retrieve.""" - -@dataclass(kw_only=True) -class GetPaymentCredentialProviderOutput(_SerdeShape): - """Dataclass for GetPaymentCredentialProviderOutput structure.""" - - name: str - """The name of the payment credential provider.""" - credential_provider_arn: str - """The Amazon Resource Name (ARN) of the payment credential provider.""" - credential_provider_vendor: str - """The vendor type for the payment credential provider.""" - provider_configuration_output: PaymentProviderConfigurationOutput - """ - Output configuration (contains secret ARNs, excludes actual secret - values). - """ - created_time: datetime - """The timestamp when the payment credential provider was created.""" - last_updated_time: datetime - """The timestamp when the payment credential provider was last updated.""" - tags: dict[str, str] | None = ... - """The tags associated with the payment credential provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPaymentManagerInput(_SerdeShape): - """Dataclass for GetPaymentManagerInput structure.""" - - payment_manager_id: str | None = ... - """The unique identifier of the payment manager to retrieve.""" - -@dataclass(kw_only=True) -class GetPaymentManagerOutput(_SerdeShape): - """Dataclass for GetPaymentManagerOutput structure.""" - - payment_manager_arn: str - """The Amazon Resource Name (ARN) of the payment manager.""" - payment_manager_id: str - """The unique identifier of the payment manager.""" - name: str - """The name of the payment manager.""" - description: str | None = ... - """The description of the payment manager.""" - authorizer_type: str - """ - The type of authorizer used by the payment manager. - - - `CUSTOM_JWT` - Authorize with a bearer token. - - - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. - """ - authorizer_configuration: AuthorizerConfiguration | None = ... - """ - Represents inbound authorization configuration options used to - authenticate incoming requests. - """ - role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role associated with the - payment manager. - """ - workload_identity_details: WorkloadIdentityDetails | None = ... - """The information about the workload identity.""" - created_at: datetime - """The timestamp when the payment manager was created.""" - last_updated_at: datetime - """The timestamp when the payment manager was last updated.""" - status: str - """ - The current status of the payment manager. Possible values include - `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, - `UPDATE_FAILED`, and `DELETE_FAILED`. - """ - tags: dict[str, str] | None = ... - """The tags associated with the payment manager.""" - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive - payment manager data at rest, if configured. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicyEngineInput(_SerdeShape): - """Dataclass for GetPolicyEngineInput structure.""" - - policy_engine_id: str | None = ... - """ - The unique identifier of the policy engine to be retrieved. This must be - a valid policy engine ID that exists within the account. - """ - -@dataclass(kw_only=True) -class GetPolicyEngineOutput(_SerdeShape): - """Dataclass for GetPolicyEngineOutput structure.""" - - policy_engine_id: str - """ - The unique identifier of the retrieved policy engine. This matches the - policy engine ID provided in the request and serves as the system - identifier. - """ - name: str - """ - The customer-assigned name of the policy engine. This is the - human-readable identifier that was specified when the policy engine was - created. - """ - created_at: datetime - """The timestamp when the policy engine was originally created.""" - updated_at: datetime - """ - The timestamp when the policy engine was last modified. This tracks the - most recent changes to the policy engine configuration. - """ - policy_engine_arn: str - """ - The Amazon Resource Name (ARN) of the policy engine. This globally - unique identifier can be used for cross-service references and IAM - policy statements. - """ - status: str - """The current status of the policy engine.""" - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy - engine data. - """ - description: str | None = ... - """ - The human-readable description of the policy engine's purpose and - scope. This helps administrators understand the policy engine's role in - governance. - """ - status_reasons: list[str] - """ - Additional information about the policy engine status. This provides - details about any failures or the current state of the policy engine. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicyEngineSummaryInput(_SerdeShape): - """Dataclass for GetPolicyEngineSummaryInput structure.""" - - policy_engine_id: str | None = ... - """ - The unique identifier of the policy engine to retrieve the summary for. - This must be a valid policy engine ID that exists within the account. - """ - -@dataclass(kw_only=True) -class GetPolicyEngineSummaryOutput(_SerdeShape): - """Dataclass for GetPolicyEngineSummaryOutput structure.""" - - policy_engine_id: str - """The unique identifier of the policy engine.""" - name: str - """The customer-assigned name of the policy engine.""" - created_at: datetime - """The timestamp when the policy engine was originally created.""" - updated_at: datetime - """The timestamp when the policy engine was last modified.""" - policy_engine_arn: str - """The Amazon Resource Name (ARN) of the policy engine.""" - status: str - """The current status of the policy engine.""" - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy - engine data. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicyGenerationInput(_SerdeShape): - """Dataclass for GetPolicyGenerationInput structure.""" - - policy_generation_id: str | None = ... - """ - The unique identifier of the policy generation request to be retrieved. - This must be a valid generation ID from a previous - [StartPolicyGeneration](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html) - call. - """ - policy_engine_id: str | None = ... - """ - The identifier of the policy engine associated with the policy - generation request. This provides the context for the generation - operation and schema validation. - """ - -@dataclass(kw_only=True) -class GetPolicyGenerationOutput(_SerdeShape): - """Dataclass for GetPolicyGenerationOutput structure.""" - - policy_engine_id: str - """ - The identifier of the policy engine associated with this policy - generation. This confirms the policy engine context for the generation - operation. - """ - policy_generation_id: str - """ - The unique identifier of the policy generation request. This matches the - generation ID provided in the request and serves as the tracking - identifier. - """ - name: str - """ - The customer-assigned name for the policy generation request. This helps - identify and track generation operations across multiple requests. - """ - policy_generation_arn: str - """ - The Amazon Resource Name (ARN) of the policy generation. This globally - unique identifier can be used for tracking, auditing, and cross-service - references. - """ - resource: Resource - """ - The resource information associated with the policy generation. This - provides context about the target resources for which the policies are - being generated. - """ - created_at: datetime - """ - The timestamp when the policy generation request was created. This is - used for tracking and auditing generation operations and their - lifecycle. - """ - updated_at: datetime - """ - The timestamp when the policy generation was last updated. This tracks - the progress of the generation process and any status changes. - """ - status: str - """ - The current status of the policy generation. This indicates whether the - generation is in progress, completed successfully, or failed during - processing. - """ - findings: str | None = ... - """ - The findings and results from the policy generation process. This - includes any issues, recommendations, validation results, or insights - from the generated policies. - """ - status_reasons: list[str] - """ - Additional information about the generation status. This provides - details about any failures, warnings, or the current state of the - generation process. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicyGenerationSummaryInput(_SerdeShape): - """Dataclass for GetPolicyGenerationSummaryInput structure.""" - - policy_generation_id: str | None = ... - """ - The unique identifier of the policy generation request to retrieve the - summary for. - """ - policy_engine_id: str | None = ... - """ - The identifier of the policy engine associated with the policy - generation request. - """ - -@dataclass(kw_only=True) -class GetPolicyGenerationSummaryOutput(_SerdeShape): - """Dataclass for GetPolicyGenerationSummaryOutput structure.""" - - policy_engine_id: str - """ - The identifier of the policy engine associated with this policy - generation. - """ - policy_generation_id: str - """The unique identifier of the policy generation request.""" - name: str - """The customer-assigned name for the policy generation request.""" - policy_generation_arn: str - """The Amazon Resource Name (ARN) of the policy generation request.""" - resource: Resource - """The resource information associated with the policy generation.""" - created_at: datetime - """The timestamp when the policy generation request was created.""" - updated_at: datetime - """The timestamp when the policy generation was last updated.""" - status: str - """The current status of the policy generation request.""" - findings: str | None = ... - """The findings from the policy generation process, if available.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicyInput(_SerdeShape): - """Dataclass for GetPolicyInput structure.""" - - policy_engine_id: str | None = ... - """ - The identifier of the policy engine that manages the policy to be - retrieved. - """ - policy_id: str | None = ... - """ - The unique identifier of the policy to be retrieved. This must be a - valid policy ID that exists within the specified policy engine. - """ - -@dataclass(kw_only=True) -class GetPolicyOutput(_SerdeShape): - """Dataclass for GetPolicyOutput structure.""" - - policy_id: str - """ - The unique identifier of the retrieved policy. This matches the policy - ID provided in the request and serves as the system identifier for the - policy. - """ - name: str - """ - The customer-assigned name of the policy. This is the human-readable - identifier that was specified when the policy was created. - """ - policy_engine_id: str - """ - The identifier of the policy engine that manages this policy. This - confirms the policy engine context for the retrieved policy. - """ - created_at: datetime - """The timestamp when the policy was originally created.""" - updated_at: datetime - """ - The timestamp when the policy was last modified. This tracks the most - recent changes to the policy configuration. - """ - policy_arn: str - """ - The Amazon Resource Name (ARN) of the policy. This globally unique - identifier can be used for cross-service references and IAM policy - statements. - """ - status: str - """The current status of the policy.""" - enforcement_mode: str = ... - """The current enforcement mode of the policy.""" - definition: PolicyDefinition - """ - The Cedar or Dogwood policy statement that defines the access control - rules. This contains the actual policy logic used for agent behavior - control and access decisions. - """ - description: str | None = ... - """ - The human-readable description of the policy's purpose and - functionality. This helps administrators understand and manage the - policy. - """ - status_reasons: list[str] - """ - Additional information about the policy status. This provides details - about any failures or the current state of the policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicySummaryInput(_SerdeShape): - """Dataclass for GetPolicySummaryInput structure.""" - - policy_engine_id: str | None = ... - """ - The identifier of the policy engine that manages the policy to retrieve - the summary for. - """ - policy_id: str | None = ... - """ - The unique identifier of the policy to retrieve the summary for. This - must be a valid policy ID that exists within the specified policy - engine. - """ - -@dataclass(kw_only=True) -class GetPolicySummaryOutput(_SerdeShape): - """Dataclass for GetPolicySummaryOutput structure.""" - - policy_id: str - """The unique identifier of the policy.""" - name: str - """The customer-assigned name of the policy.""" - policy_engine_id: str - """The identifier of the policy engine that manages this policy.""" - created_at: datetime - """The timestamp when the policy was originally created.""" - updated_at: datetime - """The timestamp when the policy was last modified.""" - policy_arn: str - """The Amazon Resource Name (ARN) of the policy.""" - status: str - """The current status of the policy.""" - enforcement_mode: str = ... - """The current enforcement mode of the policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRegistryInput(_SerdeShape): - """Dataclass for GetRegistryInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry to retrieve. You can specify either the - Amazon Resource Name (ARN) or the ID of the registry. - """ - -@dataclass(kw_only=True) -class GetRegistryOutput(_SerdeShape): - """Dataclass for GetRegistryOutput structure.""" - - name: str - """The name of the registry.""" - description: str | None = ... - """The description of the registry.""" - registry_id: str - """The unique identifier of the registry.""" - registry_arn: str - """The Amazon Resource Name (ARN) of the registry.""" - authorizer_type: str | None = ... - """ - The type of authorizer used by the registry. This controls the - authorization method for the Search and Invoke APIs used by consumers. - - - `CUSTOM_JWT` - Authorize with a bearer token. - - - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. - """ - authorizer_configuration: AuthorizerConfiguration | None = ... - """ - The authorizer configuration for the registry. For details, see the - `AuthorizerConfiguration` data type. - """ - approval_configuration: ApprovalConfiguration | None = ... - """ - The approval configuration for registry records. For details, see the - `ApprovalConfiguration` data type. - """ - status: str - """ - The current status of the registry. Possible values include `CREATING`, - `READY`, `UPDATING`, `CREATE_FAILED`, `UPDATE_FAILED`, `DELETING`, and - `DELETE_FAILED`. - """ - status_reason: str | None = ... - """ - The reason for the current status, typically set when the status is a - failure state. - """ - created_at: datetime - """The timestamp when the registry was created.""" - updated_at: datetime - """The timestamp when the registry was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRegistryRecordInput(_SerdeShape): - """Dataclass for GetRegistryRecordInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry containing the record. You can specify - either the Amazon Resource Name (ARN) or the ID of the registry. - """ - record_id: str | None = ... - """ - The identifier of the registry record to retrieve. You can specify - either the Amazon Resource Name (ARN) or the ID of the record. - """ - -@dataclass(kw_only=True) -class GetRegistryRecordOutput(_SerdeShape): - """Dataclass for GetRegistryRecordOutput structure.""" - - registry_arn: str - """The Amazon Resource Name (ARN) of the registry that contains the record.""" - record_arn: str - """The Amazon Resource Name (ARN) of the registry record.""" - record_id: str - """The unique identifier of the registry record.""" - name: str - """The name of the registry record.""" - description: str | None = ... - """The description of the registry record.""" - descriptor_type: str - """ - The descriptor type of the registry record. Possible values are `MCP`, - `A2A`, `CUSTOM`, and `AGENT_SKILLS`. - """ - descriptors: Descriptors - """ - The descriptor-type-specific configuration containing the resource - schema and metadata. For details, see the `Descriptors` data type. - """ - record_version: str | None = ... - """The version of the registry record.""" - status: str - """ - The current status of the registry record. Possible values include - `CREATING`, `DRAFT`, `APPROVED`, `PENDING_APPROVAL`, `REJECTED`, - `DEPRECATED`, `UPDATING`, `CREATE_FAILED`, and `UPDATE_FAILED`. A record - transitions from `CREATING` to `DRAFT`, then to `PENDING_APPROVAL` (via - `SubmitRegistryRecordForApproval`), and finally to `APPROVED` upon - approval. - """ - created_at: datetime - """The timestamp when the registry record was created.""" - updated_at: datetime - """The timestamp when the registry record was last updated.""" - status_reason: str | None = ... - """ - The reason for the current status, typically set when the status is a - failure state. - """ - synchronization_type: str | None = ... - """The type of synchronization used for this record.""" - synchronization_configuration: SynchronizationConfiguration | None = ... - """ - The configuration for synchronizing registry record metadata from an - external source. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyInput(_SerdeShape): - """Dataclass for GetResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource for which to retrieve the - resource policy. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyOutput(_SerdeShape): - """Dataclass for GetResourcePolicyOutput structure.""" - - policy: str | None = ... - """The resource policy associated with the specified resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTokenVaultInput(_SerdeShape): - """Dataclass for GetTokenVaultInput structure.""" - - token_vault_id: str | None = ... - """The unique identifier of the token vault to retrieve.""" - -@dataclass(kw_only=True) -class GetTokenVaultOutput(_SerdeShape): - """Dataclass for GetTokenVaultOutput structure.""" - - token_vault_id: str - """The ID of the token vault.""" - kms_configuration: KmsConfiguration - """The KMS configuration for the token vault.""" - last_modified_date: datetime - """The timestamp when the token vault was last modified.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetWorkloadIdentityInput(_SerdeShape): - """Dataclass for GetWorkloadIdentityInput structure.""" - - name: str | None = ... - """The name of the workload identity to retrieve.""" - -@dataclass(kw_only=True) -class GetWorkloadIdentityOutput(_SerdeShape): - """Dataclass for GetWorkloadIdentityOutput structure.""" - - name: str - """The name of the workload identity.""" - workload_identity_arn: str - """The Amazon Resource Name (ARN) of the workload identity.""" - allowed_resource_oauth2_return_urls: list[str] | None = ... - """ - The list of allowed OAuth2 return URLs for resources associated with - this workload identity. - """ - created_time: datetime - """The timestamp when the workload identity was created.""" - last_updated_time: datetime - """The timestamp when the workload identity was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GithubOauth2ProviderConfigInput(_SerdeShape): - """Input configuration for a GitHub OAuth2 provider.""" - - client_id: str - """The client ID for the GitHub OAuth2 provider.""" - client_secret: str = ... - """The client secret for the GitHub OAuth2 provider.""" - client_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the client secret. This includes the secret ID and the JSON key - used to extract the client secret value from the secret. Required when - `clientSecretSource` is set to `EXTERNAL`. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - -@dataclass(kw_only=True) -class GithubOauth2ProviderConfigOutput(_SerdeShape): - """Output configuration for a GitHub OAuth2 provider.""" - - oauth_discovery: Oauth2Discovery - """The OAuth2 discovery information for the GitHub provider.""" - client_id: str | None = ... - """The client ID for the GitHub OAuth2 provider.""" - -@dataclass(kw_only=True) -class GoogleOauth2ProviderConfigInput(_SerdeShape): - """Input configuration for a Google OAuth2 provider.""" - - client_id: str - """The client ID for the Google OAuth2 provider.""" - client_secret: str = ... - """The client secret for the Google OAuth2 provider.""" - client_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the client secret. This includes the secret ID and the JSON key - used to extract the client secret value from the secret. Required when - `clientSecretSource` is set to `EXTERNAL`. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - -@dataclass(kw_only=True) -class GoogleOauth2ProviderConfigOutput(_SerdeShape): - """Output configuration for a Google OAuth2 provider.""" - - oauth_discovery: Oauth2Discovery - """The OAuth2 discovery information for the Google provider.""" - client_id: str | None = ... - """The client ID for the Google OAuth2 provider.""" - -@dataclass(kw_only=True) -class Harness(_SerdeShape): - """Representation of a harness.""" - - harness_id: str - """The ID of the harness.""" - harness_name: str - """The name of the harness.""" - arn: str - """The ARN of the harness.""" - status: str - """The status of the harness.""" - harness_version: str | None = ... - """ - The version of the harness. Incremented on every successful - UpdateHarness. - """ - execution_role_arn: str - """IAM role the harness assumes when running.""" - created_at: datetime - """The createdAt time of the harness.""" - updated_at: datetime - """The updatedAt time of the harness.""" - model: HarnessModelConfiguration - """The configuration of the default model used by the Harness.""" - system_prompt: list[HarnessSystemContentBlock] - """The system prompt of the harness.""" - tools: list[HarnessTool] - """The tools of the harness.""" - skills: list[HarnessSkill] - """The skills of the harness.""" - allowed_tools: list[str] - """The allowed tools of the harness. All tools are allowed by default.""" - truncation: HarnessTruncationConfiguration - """Configuration for truncating model context.""" - environment: HarnessEnvironmentProvider - """The compute environment on which the Harness runs.""" - environment_artifact: HarnessEnvironmentArtifact | None = ... - """ - The environment artifact (e.g., container) in which the Harness - operates. - """ - environment_variables: dict[str, str] | None = ... - """ - Environment variables exposed in the environment in which the harness - operates. - """ - authorizer_configuration: AuthorizerConfiguration | None = ... - """ - Represents inbound authorization configuration options used to - authenticate incoming requests. - """ - memory: HarnessMemoryConfiguration | None = ... - """AgentCore Memory instance configuration for short and long term memory.""" - hooks: list[HarnessHook] | None = ... - """The lifecycle hooks configured for the harness.""" - max_iterations: int | None = ... - """ - The maximum number of iterations in the agent loop allowed before - exiting per invocation. - """ - max_tokens: int | None = ... - """ - The maximum total number of output tokens the agent can generate across - all model calls within a single invocation. - """ - timeout_seconds: int | None = ... - """The maximum duration per invocation.""" - failure_reason: str | None = ... - """Reason why create or update operations fail.""" - -@dataclass(kw_only=True) -class HarnessAfterInvocationHook(_SerdeShape): - """The configuration for a hook that runs after an invocation completes.""" - - name: str - """The name of the hook.""" - target: HarnessHookTarget - """The target that receives the hook event.""" - -@dataclass(kw_only=True) -class HarnessAfterToolCallHook(_SerdeShape): - """The configuration for a hook that runs after a tool call completes.""" - - name: str - """The name of the hook.""" - target: HarnessHookTarget - """The target that receives the hook event.""" - -@dataclass(kw_only=True) -class HarnessAgentCoreBrowserConfig(_SerdeShape): - """Configuration for AgentCore Browser.""" - - browser_arn: str | None = ... - """If not populated, the built-in Browser ARN is used.""" - -@dataclass(kw_only=True) -class HarnessAgentCoreCodeInterpreterConfig(_SerdeShape): - """Configuration for AgentCore Code Interpreter.""" - - code_interpreter_arn: str | None = ... - """If not populated, the built-in Code Interpreter ARN is used.""" - -@dataclass(kw_only=True) -class HarnessAgentCoreGatewayConfig(_SerdeShape): - """Configuration for AgentCore Gateway.""" - - gateway_arn: str - """The ARN of the desired AgentCore Gateway.""" - outbound_auth: HarnessGatewayOutboundAuth | None = ... - """ - How harness authenticates to this Gateway. Defaults to AWS_IAM (SigV4) - if omitted. - """ - -@dataclass(kw_only=True) -class HarnessAgentCoreMemoryConfiguration(_SerdeShape): - """Configuration for AgentCore Memory integration.""" - - arn: str - """The ARN of the AgentCore Memory resource.""" - actor_id: str | None = ... - """The actor ID for memory operations.""" - messages_count: int | None = ... - """The number of messages to retrieve from memory.""" - retrieval_config: dict[str, HarnessAgentCoreMemoryRetrievalConfig] | None = ... - """ - The retrieval configuration for long-term memory, mapping namespace path - templates to retrieval settings. - """ - -@dataclass(kw_only=True) -class HarnessAgentCoreMemoryRetrievalConfig(_SerdeShape): - """Configuration for memory retrieval within a namespace.""" - - top_k: int | None = ... - """The maximum number of memory entries to retrieve.""" - relevance_score: float | None = ... - """The minimum relevance score for retrieved memories.""" - strategy_id: str | None = ... - """The ID of the retrieval strategy to use.""" - -@dataclass(kw_only=True) -class HarnessAgentCoreRuntimeEnvironment(_SerdeShape): - """The AgentCore Runtime environment for a harness.""" - - agent_runtime_arn: str - """The ARN of the underlying AgentCore Runtime.""" - agent_runtime_name: str - """The name of the underlying AgentCore Runtime.""" - agent_runtime_id: str - """The ID of the underlying AgentCore Runtime.""" - lifecycle_configuration: LifecycleConfiguration - """ - The lifecycle configuration for the harness's runtime environment. For - a harness, `idleRuntimeSessionTimeout` and `maxLifetime` each accept a - value between 60 and 28800 seconds (8 hours), and - `idleRuntimeSessionTimeout` must be less than or equal to `maxLifetime`. - """ - network_configuration: NetworkConfiguration - """SecurityConfig for the Agent.""" - filesystem_configurations: list[FilesystemConfiguration] | None = ... - """The filesystem configurations for the runtime environment.""" - -@dataclass(kw_only=True) -class HarnessAgentCoreRuntimeEnvironmentRequest(_SerdeShape): - """The AgentCore Runtime environment request configuration.""" - - lifecycle_configuration: LifecycleConfiguration | None = ... - """ - The lifecycle configuration for the harness's runtime environment. For - a harness, `idleRuntimeSessionTimeout` and `maxLifetime` each accept a - value between 60 and 28800 seconds (8 hours), and - `idleRuntimeSessionTimeout` must be less than or equal to `maxLifetime`. - Values above 28800 seconds are rejected with a `ValidationException`. - """ - network_configuration: NetworkConfiguration | None = ... - """SecurityConfig for the Agent.""" - filesystem_configurations: list[FilesystemConfiguration] | None = ... - """The filesystem configurations for the runtime environment.""" - -class HarnessBedrockApiFormat(UnknownEnumMixin, StrEnum): - CONVERSE_STREAM = "converse_stream" - """Use the Bedrock Converse Stream API format.""" - RESPONSES = "responses" - """Use the Responses API format.""" - CHAT_COMPLETIONS = "chat_completions" - """Use the Chat Completions API format.""" - -@dataclass(kw_only=True) -class HarnessBedrockModelConfig(_SerdeShape): - """Configuration for an Amazon Bedrock model provider.""" - - model_id: str - """The Bedrock model ID.""" - max_tokens: int | None = ... - """ - The maximum number of tokens to allow in the generated response per - model call. - """ - temperature: float | None = ... - """The temperature to set when calling the model.""" - top_p: float | None = ... - """The topP set when calling the model.""" - api_format: str | None = ... - """The API format to use when calling the Bedrock provider.""" - additional_params: Document | None = ... - """ - Provider-specific parameters passed through to the model provider - unchanged. - """ - -@dataclass(kw_only=True) -class HarnessBeforeInvocationHook(_SerdeShape): - """The configuration for a hook that runs before an invocation begins.""" - - name: str - """The name of the hook.""" - target: HarnessHookTarget - """The target that receives the hook event.""" - -@dataclass(kw_only=True) -class HarnessBeforeToolCallHook(_SerdeShape): - """The configuration for a hook that runs before the agent calls a tool.""" - - name: str - """The name of the hook.""" - target: HarnessHookTarget - """The target that receives the hook event.""" - -@dataclass(kw_only=True) -class HarnessDisabledMemoryConfiguration(_SerdeShape): - """Explicitly opt out of memory.""" - -@dataclass(kw_only=True) -class HarnessEndpoint(_SerdeShape): - """ - Representation of a harness endpoint. An endpoint is a named, stable - reference to a specific version of a harness that callers invoke, - allowing the underlying version to be updated without changing how the - agent is invoked. - """ - - harness_id: str - """The ID of the harness that the endpoint belongs to.""" - harness_name: str - """The name of the harness that the endpoint belongs to.""" - endpoint_name: str - """The name of the endpoint.""" - arn: str - """The ARN of the endpoint.""" - status: str - """The status of the endpoint.""" - created_at: datetime - """The timestamp when the endpoint was created.""" - updated_at: datetime - """The timestamp when the endpoint was last updated.""" - live_version: str | None = ... - """The harness version that the endpoint is currently serving.""" - target_version: str | None = ... - """ - The harness version that the endpoint points to. While an update is in - progress, this can differ from the live version until the endpoint - finishes transitioning. - """ - description: str | None = ... - """The description of the endpoint.""" - failure_reason: str | None = ... - """The reason the endpoint's last create or update operation failed.""" - -class HarnessEndpointStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - READY = "READY" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass -class HarnessEnvironmentArtifactContainerConfiguration(_SerdeShape): - """Representation of a container configuration.""" - - value: ContainerConfiguration - -@dataclass -class HarnessEnvironmentArtifactUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessEnvironmentArtifact = Union[ - HarnessEnvironmentArtifactContainerConfiguration | HarnessEnvironmentArtifactUnknown -] -""" -The environment artifact for a harness, such as a container image -containing custom dependencies. -""" - -class _HarnessEnvironmentArtifactDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessEnvironmentArtifact: ... - -@dataclass -class HarnessEnvironmentProviderAgentCoreRuntimeEnvironment(_SerdeShape): - """The AgentCore Runtime environment configuration.""" - - value: HarnessAgentCoreRuntimeEnvironment - -@dataclass -class HarnessEnvironmentProviderUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessEnvironmentProvider = Union[ - HarnessEnvironmentProviderAgentCoreRuntimeEnvironment - | HarnessEnvironmentProviderUnknown -] -"""The environment provider for a harness.""" - -class _HarnessEnvironmentProviderDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessEnvironmentProvider: ... - -@dataclass -class HarnessEnvironmentProviderRequestAgentCoreRuntimeEnvironment(_SerdeShape): - """The AgentCore Runtime environment configuration.""" - - value: HarnessAgentCoreRuntimeEnvironmentRequest - -@dataclass -class HarnessEnvironmentProviderRequestUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessEnvironmentProviderRequest = Union[ - HarnessEnvironmentProviderRequestAgentCoreRuntimeEnvironment - | HarnessEnvironmentProviderRequestUnknown -] -"""The environment provider request configuration.""" - -class _HarnessEnvironmentProviderRequestDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessEnvironmentProviderRequest: ... - -@dataclass -class HarnessGatewayOutboundAuthAwsIam(_SerdeShape): - """SigV4-sign requests using the agent's execution role.""" - - value: Unit - -@dataclass -class HarnessGatewayOutboundAuthNone(_SerdeShape): - """No authentication.""" - - value: Unit - -@dataclass -class HarnessGatewayOutboundAuthOauth(_SerdeShape): - """ - Use OAuth credentials for outbound authentication to the gateway. - - The `AUTHORIZATION_CODE` grant type is not supported for outbound - authentication from a harness to an AgentCore Gateway, even when - `defaultReturnUrl` is specified. - """ - - value: OAuthCredentialProvider - -@dataclass -class HarnessGatewayOutboundAuthUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessGatewayOutboundAuth = Union[ - HarnessGatewayOutboundAuthAwsIam - | HarnessGatewayOutboundAuthNone - | HarnessGatewayOutboundAuthOauth - | HarnessGatewayOutboundAuthUnknown -] -"""Authentication method for calling a Gateway.""" - -class _HarnessGatewayOutboundAuthDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessGatewayOutboundAuth: ... - -@dataclass(kw_only=True) -class HarnessGeminiModelConfig(_SerdeShape): - """ - Configuration for a Google Gemini model provider. Requires an API key - stored in AgentCore Identity. - """ - - model_id: str - """The Gemini model ID.""" - api_key_arn: str - """The ARN of your Gemini API key on AgentCore Identity.""" - max_tokens: int | None = ... - """ - The maximum number of tokens to allow in the generated response per - model call. - """ - temperature: float | None = ... - """The temperature to set when calling the model.""" - top_p: float | None = ... - """The topP set when calling the model.""" - top_k: int | None = ... - """The topK set when calling the model.""" - additional_params: Document | None = ... - """ - Provider-specific parameters passed through to the Gemini model provider - unchanged. - """ - -@dataclass -class HarnessHookBeforeInvocation(_SerdeShape): - """A hook that runs before an invocation begins.""" - - value: HarnessBeforeInvocationHook - -@dataclass -class HarnessHookAfterInvocation(_SerdeShape): - """A hook that runs after an invocation completes.""" - - value: HarnessAfterInvocationHook - -@dataclass -class HarnessHookBeforeToolCall(_SerdeShape): - """A hook that runs before the agent calls a tool.""" - - value: HarnessBeforeToolCallHook - -@dataclass -class HarnessHookAfterToolCall(_SerdeShape): - """A hook that runs after a tool call completes.""" - - value: HarnessAfterToolCallHook - -@dataclass -class HarnessHookUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessHook = Union[ - HarnessHookBeforeInvocation - | HarnessHookAfterInvocation - | HarnessHookBeforeToolCall - | HarnessHookAfterToolCall - | HarnessHookUnknown -] -"""A lifecycle hook configuration. Specify one hook type.""" - -class _HarnessHookDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> HarnessHook: ... - -@dataclass(kw_only=True) -class HarnessHookEventBridgeTarget(_SerdeShape): - """The configuration for an Amazon EventBridge hook target.""" - - arn: str - """The ARN of the Amazon EventBridge event bus to send hook events to.""" - -class HarnessHookFailureMode(UnknownEnumMixin, StrEnum): - """The behavior when a synchronous hook target fails.""" - - ALLOW = "allow" - """Specifies that the current action continues when the hook target fails.""" - DENY = "deny" - """ - Specifies that the service denies the current action when the hook - target fails. - """ - -@dataclass(kw_only=True) -class HarnessHookLambdaTarget(_SerdeShape): - """The configuration for an Amazon Web Services Lambda hook target.""" - - arn: str - """The ARN of the Lambda function to invoke.""" - timeout_seconds: int = ... - """ - The maximum number of seconds to wait for the Lambda function response. - The default is 60 seconds. - """ - failure_mode: str = ... - """ - The behavior when the Lambda function times out, returns an error, or - returns an invalid response. The default is `DENY`. - """ - -@dataclass(kw_only=True) -class HarnessHookSnsTarget(_SerdeShape): - """The configuration for an Amazon SNS hook target.""" - - arn: str - """The ARN of the Amazon SNS topic to publish hook events to.""" - -@dataclass -class HarnessHookTargetLambda(_SerdeShape): - """ - A Lambda hook target that invokes an Amazon Web Services Lambda function - synchronously and waits for its response. - """ - - value: HarnessHookLambdaTarget - -@dataclass -class HarnessHookTargetSns(_SerdeShape): - """ - An Amazon SNS hook target that publishes the hook event without waiting - for a response. - """ - - value: HarnessHookSnsTarget - -@dataclass -class HarnessHookTargetEventBridge(_SerdeShape): - """ - An Amazon EventBridge hook target that sends the hook event without - waiting for a response. - """ - - value: HarnessHookEventBridgeTarget - -@dataclass -class HarnessHookTargetUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessHookTarget = Union[ - HarnessHookTargetLambda - | HarnessHookTargetSns - | HarnessHookTargetEventBridge - | HarnessHookTargetUnknown -] -"""The target that receives lifecycle hook events. Specify one target type.""" - -class _HarnessHookTargetDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> HarnessHookTarget: ... - -@dataclass(kw_only=True) -class HarnessInlineFunctionConfig(_SerdeShape): - """ - Configuration for an inline function tool. When the agent calls this - tool, the tool call is returned to the caller for external execution. - """ - - description: str - """Description of what the tool does, provided to the model.""" - input_schema: Document - """JSON Schema describing the tool's input parameters.""" - -@dataclass(kw_only=True) -class HarnessLiteLlmModelConfig(_SerdeShape): - """ - Configuration for a LiteLLM model provider, enabling connection to - third-party model providers. - """ - - model_id: str - """The LiteLLM model identifier (e.g., \"anthropic/claude-3-sonnet\").""" - api_key_arn: str | None = ... - """ - The ARN of the API key in AgentCore Identity for authenticating with the - model provider. - """ - api_base: str | None = ... - """The base URL for the model provider's API endpoint.""" - max_tokens: int | None = ... - """ - The maximum number of tokens to allow in the generated response per - iteration. - """ - temperature: float | None = ... - """The temperature to set when calling the model.""" - top_p: float | None = ... - """The topP set when calling the model.""" - additional_params: Document | None = ... - """ - Provider-specific parameters passed through to the model provider - unchanged. - """ - -@dataclass(kw_only=True) -class HarnessManagedMemoryConfiguration(_SerdeShape): - """Configuration for managed memory creation.""" - - arn: str | None = ... - """ - The ARN of the managed AgentCore Memory resource. Read-only on Get, - ignored on Create/Update input. - """ - strategies: list[str] | None = ... - """Strategy types to enable. Defaults to [SEMANTIC, SUMMARIZATION].""" - event_expiry_duration: int | None = ... - """Event retention in days. Defaults to 30.""" - encryption_key_arn: str | None = ... - """ - Customer-managed KMS key. Defaults to Amazon Web Services-owned key. Not - updatable after creation. - """ - -class HarnessManagedMemoryStrategyType(UnknownEnumMixin, StrEnum): - SEMANTIC = "SEMANTIC" - SUMMARIZATION = "SUMMARIZATION" - USER_PREFERENCE = "USER_PREFERENCE" - EPISODIC = "EPISODIC" - -@dataclass -class HarnessMemoryConfigurationAgentCoreMemoryConfiguration(_SerdeShape): - """The AgentCore Memory configuration.""" - - value: HarnessAgentCoreMemoryConfiguration - -@dataclass -class HarnessMemoryConfigurationManagedMemoryConfiguration(_SerdeShape): - """ - Harness creates and manages a memory resource in the customer's - account. - """ - - value: HarnessManagedMemoryConfiguration - -@dataclass -class HarnessMemoryConfigurationDisabled(_SerdeShape): - """Explicitly opt out of memory.""" - - value: HarnessDisabledMemoryConfiguration - -@dataclass -class HarnessMemoryConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessMemoryConfiguration = Union[ - HarnessMemoryConfigurationAgentCoreMemoryConfiguration - | HarnessMemoryConfigurationManagedMemoryConfiguration - | HarnessMemoryConfigurationDisabled - | HarnessMemoryConfigurationUnknown -] -"""The memory configuration for a harness.""" - -class _HarnessMemoryConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessMemoryConfiguration: ... - -@dataclass -class HarnessModelConfigurationBedrockModelConfig(_SerdeShape): - """Configuration for an Amazon Bedrock model.""" - - value: HarnessBedrockModelConfig - -@dataclass -class HarnessModelConfigurationOpenAiModelConfig(_SerdeShape): - """Configuration for an OpenAI model.""" - - value: HarnessOpenAiModelConfig - -@dataclass -class HarnessModelConfigurationGeminiModelConfig(_SerdeShape): - """Configuration for a Google Gemini model.""" - - value: HarnessGeminiModelConfig - -@dataclass -class HarnessModelConfigurationLiteLlmModelConfig(_SerdeShape): - """ - The LiteLLM model configuration for connecting to third-party model - providers. - """ - - value: HarnessLiteLlmModelConfig - -@dataclass -class HarnessModelConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessModelConfiguration = Union[ - HarnessModelConfigurationBedrockModelConfig - | HarnessModelConfigurationOpenAiModelConfig - | HarnessModelConfigurationGeminiModelConfig - | HarnessModelConfigurationLiteLlmModelConfig - | HarnessModelConfigurationUnknown -] -"""Specification of which model to use.""" - -class _HarnessModelConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessModelConfiguration: ... - -class HarnessOpenAiApiFormat(UnknownEnumMixin, StrEnum): - CHAT_COMPLETIONS = "chat_completions" - """Use the Chat Completions API format.""" - RESPONSES = "responses" - """Use the Responses API format.""" - -@dataclass(kw_only=True) -class HarnessOpenAiModelConfig(_SerdeShape): - """ - Configuration for an OpenAI model provider. Requires an API key stored - in AgentCore Identity. - """ - - model_id: str - """The OpenAI model ID.""" - api_key_arn: str - """The ARN of your OpenAI API key on AgentCore Identity.""" - api_base: str | None = ... - """Optional custom endpoint URL for an OpenAI-compatible endpoint.""" - max_tokens: int | None = ... - """ - The maximum number of tokens to allow in the generated response per - model call. - """ - temperature: float | None = ... - """The temperature to set when calling the model.""" - top_p: float | None = ... - """The topP set when calling the model.""" - api_format: str | None = ... - """The API format to use when calling the OpenAI provider.""" - additional_params: Document | None = ... - """ - Provider-specific parameters passed through to the model provider - unchanged. - """ - -@dataclass(kw_only=True) -class HarnessRemoteMcpConfig(_SerdeShape): - """Configuration for connecting to a remote MCP server.""" - - url: str - """URL of the MCP endpoint.""" - headers: dict[str, str] | None = ... - """Custom headers to include when connecting to the remote MCP server.""" - outbound_auth: HarnessRemoteMcpOutboundAuth | None = ... - """ - How the harness authenticates to this MCP server. Defaults to no - authentication. - """ - -@dataclass -class HarnessRemoteMcpOutboundAuthAwsIam(_SerdeShape): - """ - Sign requests to the remote MCP server with Signature Version 4 (SigV4) - using the harness execution role. If you don't specify a Region, the - harness Region is used. - """ - - value: IamCredentialProvider - -@dataclass -class HarnessRemoteMcpOutboundAuthNone(_SerdeShape): - """No authentication.""" - - value: Unit - -@dataclass -class HarnessRemoteMcpOutboundAuthUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessRemoteMcpOutboundAuth = Union[ - HarnessRemoteMcpOutboundAuthAwsIam - | HarnessRemoteMcpOutboundAuthNone - | HarnessRemoteMcpOutboundAuthUnknown -] -"""Authentication method for calling a remote MCP server.""" - -class _HarnessRemoteMcpOutboundAuthDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessRemoteMcpOutboundAuth: ... - -@dataclass -class HarnessSkillPath(_SerdeShape): - """The filesystem path to the skill definition.""" - - value: str - -@dataclass -class HarnessSkillS3(_SerdeShape): - """An S3 source containing the skill.""" - - value: HarnessSkillS3Source - -@dataclass -class HarnessSkillGit(_SerdeShape): - """A git repository containing the skill.""" - - value: HarnessSkillGitSource - -@dataclass -class HarnessSkillAwsSkills(_SerdeShape): - """Amazon Web Services Skills baked into the harness's underlying Runtime.""" - - value: HarnessSkillAwsSkillsSource - -@dataclass -class HarnessSkillUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessSkill = Union[ - HarnessSkillPath - | HarnessSkillS3 - | HarnessSkillGit - | HarnessSkillAwsSkills - | HarnessSkillUnknown -] -"""A skill available to the agent.""" - -class _HarnessSkillDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> HarnessSkill: ... - -@dataclass(kw_only=True) -class HarnessSkillAwsSkillsSource(_SerdeShape): - """Passed to show that Amazon Web Services Skills should be included.""" - - paths: list[str] | None = ... - """ - Optionally filter allowed skills with glob syntax, e.g., - ['core-skills/*']. - """ - -@dataclass(kw_only=True) -class HarnessSkillGitAuth(_SerdeShape): - """Authentication configuration for accessing a private git repository.""" - - credential_arn: str - """ - The ARN of the credential in AgentCore Identity containing the password - or personal access token. - """ - username: str | None = ... - """Username for authentication. Defaults to 'oauth2' if not specified.""" - -@dataclass(kw_only=True) -class HarnessSkillGitSource(_SerdeShape): - """A git repository source for a skill.""" - - url: str - """The HTTPS URL of the git repository.""" - path: str | None = ... - """Subdirectory within the repository containing the skill.""" - auth: HarnessSkillGitAuth | None = ... - """Authentication configuration for private repositories.""" - -@dataclass(kw_only=True) -class HarnessSkillS3Source(_SerdeShape): - """An S3 source for a skill.""" - - uri: str - """ - The S3 URI pointing to the skill directory (e.g., - s3://bucket/skills/my-skill/). - """ - -@dataclass(kw_only=True) -class HarnessSlidingWindowConfiguration(_SerdeShape): - """Configuration for sliding window truncation strategy.""" - - messages_count: int | None = ... - """The number of recent messages to retain in the context window.""" - -class HarnessStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - READY = "READY" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class HarnessSummarizationConfiguration(_SerdeShape): - """Configuration for summarization-based truncation strategy.""" - - summary_ratio: float | None = ... - """The ratio of content to summarize.""" - preserve_recent_messages: int | None = ... - """The number of recent messages to preserve without summarization.""" - summarization_system_prompt: str | None = ... - """The system prompt used for generating summaries.""" - -@dataclass(kw_only=True) -class HarnessSummary(_SerdeShape): - """Summary information about a harness.""" - - harness_id: str - """The ID of the harness.""" - harness_name: str - """The name of the harness.""" - arn: str - """The ARN of the harness.""" - status: str - """The current status of the harness.""" - created_at: datetime - """The timestamp when the harness was created.""" - updated_at: datetime - """The timestamp when the harness was last updated.""" - harness_version: str | None = ... - """The latest version of the harness.""" - -@dataclass -class HarnessSystemContentBlockText(_SerdeShape): - """The text content of the system prompt block.""" - - value: str - -@dataclass -class HarnessSystemContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessSystemContentBlock = Union[ - HarnessSystemContentBlockText | HarnessSystemContentBlockUnknown -] -"""A content block in the system prompt.""" - -class _HarnessSystemContentBlockDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessSystemContentBlock: ... - -@dataclass(kw_only=True) -class HarnessTool(_SerdeShape): - """A tool available to the agent loop.""" - - type: str - """The type of tool.""" - name: str | None = ... - """ - Unique name for the tool. If not provided, a name will be inferred or - generated. - """ - config: HarnessToolConfiguration | None = ... - """Tool-specific configuration.""" - -@dataclass -class HarnessToolConfigurationRemoteMcp(_SerdeShape): - """Configuration for remote MCP server.""" - - value: HarnessRemoteMcpConfig - -@dataclass -class HarnessToolConfigurationAgentCoreBrowser(_SerdeShape): - """Configuration for AgentCore Browser.""" - - value: HarnessAgentCoreBrowserConfig - -@dataclass -class HarnessToolConfigurationAgentCoreGateway(_SerdeShape): - """Configuration for AgentCore Gateway.""" - - value: HarnessAgentCoreGatewayConfig - -@dataclass -class HarnessToolConfigurationInlineFunction(_SerdeShape): - """Configuration for an inline function tool.""" - - value: HarnessInlineFunctionConfig - -@dataclass -class HarnessToolConfigurationAgentCoreCodeInterpreter(_SerdeShape): - """Configuration for AgentCore Code Interpreter.""" - - value: HarnessAgentCoreCodeInterpreterConfig - -@dataclass -class HarnessToolConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessToolConfiguration = Union[ - HarnessToolConfigurationRemoteMcp - | HarnessToolConfigurationAgentCoreBrowser - | HarnessToolConfigurationAgentCoreGateway - | HarnessToolConfigurationInlineFunction - | HarnessToolConfigurationAgentCoreCodeInterpreter - | HarnessToolConfigurationUnknown -] -"""Configuration union for different tool types.""" - -class _HarnessToolConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessToolConfiguration: ... - -class HarnessToolType(UnknownEnumMixin, StrEnum): - REMOTE_MCP = "remote_mcp" - AGENTCORE_BROWSER = "agentcore_browser" - AGENTCORE_GATEWAY = "agentcore_gateway" - INLINE_FUNCTION = "inline_function" - AGENTCORE_CODE_INTERPRETER = "agentcore_code_interpreter" - -@dataclass(kw_only=True) -class HarnessTruncationConfiguration(_SerdeShape): - """ - Configuration for truncating conversation context when it exceeds model - limits. - """ - - strategy: str - """The truncation strategy to use.""" - config: HarnessTruncationStrategyConfiguration | None = ... - """The strategy-specific configuration.""" - -class HarnessTruncationStrategy(UnknownEnumMixin, StrEnum): - SLIDING_WINDOW = "sliding_window" - SUMMARIZATION = "summarization" - NONE = "none" - -@dataclass -class HarnessTruncationStrategyConfigurationSlidingWindow(_SerdeShape): - """Configuration for sliding window truncation.""" - - value: HarnessSlidingWindowConfiguration - -@dataclass -class HarnessTruncationStrategyConfigurationSummarization(_SerdeShape): - """Configuration for summarization-based truncation.""" - - value: HarnessSummarizationConfiguration - -@dataclass -class HarnessTruncationStrategyConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessTruncationStrategyConfiguration = Union[ - HarnessTruncationStrategyConfigurationSlidingWindow - | HarnessTruncationStrategyConfigurationSummarization - | HarnessTruncationStrategyConfigurationUnknown -] -"""Strategy-specific truncation configuration.""" - -class _HarnessTruncationStrategyConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessTruncationStrategyConfiguration: ... - -@dataclass(kw_only=True) -class HarnessVersionSummary(_SerdeShape): - """Summary information about a single version of a harness.""" - - harness_id: str - """The ID of the harness.""" - harness_name: str - """The name of the harness.""" - arn: str - """The ARN of the harness.""" - harness_version: str - """The version of the harness that this summary describes.""" - status: str - """The status of this harness version.""" - created_at: datetime - """The timestamp when this harness version was created.""" - updated_at: datetime - """The timestamp when this harness version was last updated.""" - failure_reason: str | None = ... - """ - Reason why the create or update operation for this harness version - failed. - """ - -@dataclass(kw_only=True) -class HostingEnvironment(_SerdeShape): - """ - A hosting environment whose workloads are allowed to invoke the target. - At launch, the only supported hosting environment is AgentCore Gateway. - """ - - arn: str - """The Amazon Resource Name (ARN) of the hosting environment.""" - -@dataclass(kw_only=True) -class HttpApiSchemaConfiguration(_SerdeShape): - """ - The API schema configuration for an HTTP target. This schema defines the - API structure that the target exposes. - """ - - source: ApiSchemaConfiguration - """Configuration for API schema.""" - -@dataclass(kw_only=True) -class HttpConnectorSource(_SerdeShape): - """The source identifying the HTTP connector integration.""" - - connector_id: str - """The identifier for the HTTP connector integration.""" - -@dataclass(kw_only=True) -class HttpConnectorTargetConfiguration(_SerdeShape): - """ - The configuration for an HTTP connector target. Use this configuration - when you want to route HTTP requests through a managed connector. - """ - - source: HttpConnectorSource - """The source configuration identifying which HTTP connector to use.""" - parameters: dict[str, str] | None = ... - """ - The resource parameters for this connector (for example, `memoryId`). - The service validates these parameters against the request path at - runtime. - """ - -@dataclass(kw_only=True) -class HttpPostLifecycleHookAction(_SerdeShape): - """ - A lifecycle hook action that sends an HTTP `POST` request to the - agent's container. The path and port can't conflict with a path that - your agent already serves for AgentCore Runtime, such as the protocol's - invocation path or the health check path. - """ - - path: str - """ - The path in the agent's container that AgentCore Runtime sends the - `POST` request to. - """ - port: int | None = ... - """ - The port in the agent's container that AgentCore Runtime sends the - `POST` request to. If you don't specify a port, the default is the - runtime's server port: the port in the protocol configuration if one is - set, otherwise the protocol's default port. - """ - -@dataclass -class HttpTargetConfigurationAgentcoreRuntime(_SerdeShape): - """ - The AgentCore Runtime target configuration for HTTP-based communication - with an agent runtime. - """ - - value: RuntimeTargetConfiguration - -@dataclass -class HttpTargetConfigurationPassthrough(_SerdeShape): - """ - The passthrough configuration for the HTTP target. A passthrough target - forwards requests directly to an external HTTP endpoint. - """ - - value: PassthroughTargetConfiguration - -@dataclass -class HttpTargetConfigurationConnector(_SerdeShape): - """ - The connector-based configuration for the HTTP target. Use this - configuration when you want to route HTTP requests through a managed - connector. - """ - - value: HttpConnectorTargetConfiguration - -@dataclass -class HttpTargetConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HttpTargetConfiguration = Union[ - HttpTargetConfigurationAgentcoreRuntime - | HttpTargetConfigurationPassthrough - | HttpTargetConfigurationConnector - | HttpTargetConfigurationUnknown -] -""" -The HTTP target configuration for a gateway target. Contains the -configuration for HTTP-based target endpoints. -""" - -class _HttpTargetConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HttpTargetConfiguration: ... - -@dataclass(kw_only=True) -class IamCredentialProvider(_SerdeShape): - """ - An IAM credential provider for gateway authentication. This structure - contains the configuration for authenticating with the target endpoint - using IAM credentials and SigV4 signing. - """ - - service: str - """ - The target Amazon Web Services service name used for SigV4 signing. This - value identifies the service that the gateway authenticates with when - making requests to the target endpoint. - """ - region: str | None = ... - """ - The Amazon Web Services Region used for SigV4 signing. If not specified, - defaults to the gateway's Region. - """ - -@dataclass(kw_only=True) -class IamPrincipal(_SerdeShape): - """An IAM principal specification for rule matching.""" - - arn: str - """ - The Amazon Resource Name (ARN) of the IAM principal. Supports user, - role, and assumed-role ARNs. Wildcards can be used with the `StringLike` - operator. - """ - operator: str | None = ... - """ - The match operator. `StringEquals` requires an exact match. `StringLike` - supports wildcard patterns using `*` and `?`. - """ - -class InboundTokenClaimValueType(UnknownEnumMixin, StrEnum): - STRING = "STRING" - STRING_ARRAY = "STRING_ARRAY" - -class IncludedData(UnknownEnumMixin, StrEnum): - ALL_DATA = "ALL_DATA" - METADATA_ONLY = "METADATA_ONLY" - -@dataclass(kw_only=True) -class IncludedOauth2ProviderConfigInput(_SerdeShape): - """ - Configuration settings for connecting to a supported OAuth2 provider. - This includes client credentials and OAuth2 discovery information for - providers that have built-in support. - """ - - client_id: str - """ - The client ID for the supported OAuth2 provider. This identifier is - assigned by the OAuth2 provider when you register your application. - """ - client_secret: str = ... - """ - The client secret for the supported OAuth2 provider. This secret is - assigned by the OAuth2 provider and used along with the client ID to - authenticate your application. - """ - client_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the client secret. This includes the secret ID and the JSON key - used to extract the client secret value from the secret. Required when - `clientSecretSource` is set to `EXTERNAL`. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - issuer: str | None = ... - """ - Token issuer of your isolated OAuth2 application tenant. This URL - identifies the authorization server that issues tokens for this - provider. - """ - authorization_endpoint: str | None = ... - """ - OAuth2 authorization endpoint for your isolated OAuth2 application - tenant. This is where users are redirected to authenticate and authorize - access to their resources. - """ - token_endpoint: str | None = ... - """ - OAuth2 token endpoint for your isolated OAuth2 application tenant. This - is where authorization codes are exchanged for access tokens. - """ - -@dataclass(kw_only=True) -class IncludedOauth2ProviderConfigOutput(_SerdeShape): - """ - The configuration details returned for a supported OAuth2 provider, - including client credentials and OAuth2 discovery information. - """ - - oauth_discovery: Oauth2Discovery - """Contains the discovery information for an OAuth2 provider.""" - client_id: str | None = ... - """The client ID for the supported OAuth2 provider.""" - -@dataclass(kw_only=True) -class IndexedKey(_SerdeShape): - """A metadata key indexed for filtering.""" - - key: str - """The metadata key name to index.""" - type: str - """The data type of the indexed key.""" - -@dataclass(kw_only=True) -class InferenceConfiguration(_SerdeShape): - """ - The configuration parameters that control how the foundation model - behaves during evaluation, including response generation settings. - """ - - max_tokens: int | None = ... - """ - The maximum number of tokens to generate in the model response during - evaluation. - """ - temperature: float | None = ... - """ - The temperature value that controls randomness in the model's - responses. Lower values produce more deterministic outputs. - """ - top_p: float | None = ... - """ - The top-p sampling parameter that controls the diversity of the model's - responses by limiting the cumulative probability of token choices. - """ - stop_sequences: list[str] | None = ... - """ - The list of sequences that will cause the model to stop generating - tokens when encountered. - """ - -@dataclass(kw_only=True) -class InferenceConnectorSource(_SerdeShape): - """The source identifying the inference connector.""" - - connector_id: str - """ - The identifier for the inference connector (for example, - `bedrock-mantle`, `openai`, or `anthropic`). - """ - -@dataclass(kw_only=True) -class InferenceConnectorTargetConfiguration(_SerdeShape): - """ - The configuration for a connector-based inference target. This - configuration uses a built-in connector that provides predefined rules - for a large language model (LLM) provider. - """ - - source: InferenceConnectorSource - """The source configuration identifying which inference connector to use.""" - -@dataclass(kw_only=True) -class InferenceOperationConfiguration(_SerdeShape): - """ - The configuration for a specific inference operation, including its - request path and the models that the operation supports. - """ - - path: str - """ - The request path for this operation (for example, `/v1/messages` or - `/v1/responses`). - """ - provider_path: str | None = ... - """ - The provider path to forward requests to, if it differs from the request - path. For example, `/anthropic/v1/messages` when the provider expects a - different path than the client-facing `/v1/messages`. - """ - models: list[ModelEntry] | None = ... - """The list of models supported for this operation.""" - -@dataclass(kw_only=True) -class InferenceProviderTargetConfiguration(_SerdeShape): - """ - The configuration for a provider-based inference target. This - configuration explicitly defines the endpoint, model mapping, and - operations used to route requests to a large language model (LLM) - provider. - """ - - endpoint: str - """ - The HTTPS endpoint of the inference provider that the gateway forwards - requests to. - """ - model_mapping: ModelMapping | None = ... - """ - The configuration that translates client-facing model IDs to the model - IDs expected by the provider. - """ - operations: list[InferenceOperationConfiguration] | None = ... - """ - A list of per-operation configurations that map request paths to the - models supported for each operation. - """ - -@dataclass -class InferenceTargetConfigurationConnector(_SerdeShape): - """ - The connector-based inference configuration. Use this option to route - requests to an LLM provider through a built-in connector that includes - predefined provider rules. - """ - - value: InferenceConnectorTargetConfiguration - -@dataclass -class InferenceTargetConfigurationProvider(_SerdeShape): - """ - The provider-based inference configuration. Use this option to - explicitly configure the endpoint, model mapping, and operations for an - LLM provider. - """ - - value: InferenceProviderTargetConfiguration - -@dataclass -class InferenceTargetConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InferenceTargetConfiguration = Union[ - InferenceTargetConfigurationConnector - | InferenceTargetConfigurationProvider - | InferenceTargetConfigurationUnknown -] -""" -The configuration for an inference target. An inference target routes -requests to a large language model (LLM) provider, either through a -built-in connector or an explicitly configured provider. -""" - -class _InferenceTargetConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> InferenceTargetConfiguration: ... - -@dataclass(kw_only=True) -class InlineExamplesSource(_SerdeShape): - """Inline examples provided directly in the request body.""" - - examples: list[Document] - """Examples to add. Each example is assigned an auto-generated UUID.""" - -@dataclass(kw_only=True) -class Insight(_SerdeShape): - """ - A reference to an insight analysis to run against sessions during - evaluation. Insights provide deeper analysis beyond individual evaluator - scores, including failure detection, user intent clustering, and - execution summarization. - """ - - insight_id: str - """The unique identifier of the insight to run.""" - -@dataclass(kw_only=True) -class InstanceLifecycleConfiguration(_SerdeShape): - """ - The configuration that manages the lifecycle of instances in a capacity - provider, including idle timeout and maximum lifetime. - """ - - idle_instance_timeout: int | None = ... - """ - The number of seconds an instance can remain idle before it is stopped. - An instance is considered idle when all of its agents are idle. The - default is 900 seconds (15 minutes). - """ - max_lifetime: int | None = ... - """ - The maximum lifetime of an instance, in seconds. When an instance - reaches this limit, the service terminates it regardless of activity. - The default is 28800 seconds (8 hours). The maximum is 1209600 seconds - (14 days). - """ - -@dataclass(kw_only=True) -class InstanceRequirements(_SerdeShape): - """The requirements for Amazon EC2 instance types in a capacity provider.""" - - allowed_instance_types: list[str] - """ - The list of allowed instance types. You can specify up to 30 instance - types. - """ - -@dataclass -class InterceptorConfigurationLambda(_SerdeShape): - """The details of the lambda function used for the interceptor.""" - - value: LambdaInterceptorConfiguration - -@dataclass -class InterceptorConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InterceptorConfiguration = Union[ - InterceptorConfigurationLambda | InterceptorConfigurationUnknown -] -"""The interceptor configuration.""" - -class _InterceptorConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> InterceptorConfiguration: ... - -@dataclass(kw_only=True) -class InterceptorInputConfiguration(_SerdeShape): - """The input configuration of the interceptor.""" - - pass_request_headers: bool - """ - Indicates whether to pass request headers as input into the interceptor. - When set to true, request headers will be passed. - """ - payload_filter: InterceptorPayloadFilter | None = ... - """ - The filter that determines which parts of the request or response - payload are passed as input to the interceptor. - """ - -class InterceptorPayloadExclusion(UnknownEnumMixin, StrEnum): - RESPONSE_BODY = "RESPONSE_BODY" - -@dataclass -class InterceptorPayloadExclusionSelectorField(_SerdeShape): - """The field to exclude from the interceptor input.""" - - value: str - -@dataclass -class InterceptorPayloadExclusionSelectorUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InterceptorPayloadExclusionSelector = Union[ - InterceptorPayloadExclusionSelectorField - | InterceptorPayloadExclusionSelectorUnknown -] -""" -A selector that identifies a payload field to exclude from the -interceptor input. -""" - -class _InterceptorPayloadExclusionSelectorDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> InterceptorPayloadExclusionSelector: ... - -@dataclass(kw_only=True) -class InterceptorPayloadFilter(_SerdeShape): - """ - The filter that controls which fields of the request or response payload - are included in the input to the interceptor. - """ - - exclude: list[InterceptorPayloadExclusionSelector] - """ - The list of selectors that identify payload fields to exclude from the - interceptor input. - """ - -@dataclass(kw_only=True) -class InternalServerException(ServiceError, _SerdeShape): - """ - This exception is thrown if there was an unexpected error during - processing of request - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvocationConfiguration(_SerdeShape): - """ - The configuration to invoke a self-managed memory processing pipeline - with. - """ - - topic_arn: str - """The ARN of the SNS topic for job notifications.""" - payload_delivery_bucket_name: str - """The S3 bucket name for event payload delivery.""" - -@dataclass(kw_only=True) -class InvocationConfigurationInput(_SerdeShape): - """ - The configuration to invoke a self-managed memory processing pipeline - with. - """ - - topic_arn: str - """The ARN of the SNS topic for job notifications.""" - payload_delivery_bucket_name: str - """The S3 bucket name for event payload delivery.""" - -class KeyType(UnknownEnumMixin, StrEnum): - CUSTOMER_MANAGED_KEY = "CustomerManagedKey" - SERVICE_MANAGED_KEY = "ServiceManagedKey" - -@dataclass(kw_only=True) -class KinesisResource(_SerdeShape): - """Configuration for Kinesis Data Stream delivery.""" - - data_stream_arn: str - """ARN of the Kinesis Data Stream.""" - content_configurations: list[ContentConfiguration] - """Content configurations for stream delivery.""" - -@dataclass(kw_only=True) -class KmsConfiguration(_SerdeShape): - """Contains the KMS configuration for a resource.""" - - key_type: str - """The type of KMS key (CustomerManagedKey or ServiceManagedKey).""" - kms_key_arn: str | None = ... - """The Amazon Resource Name (ARN) of the KMS key.""" - -@dataclass(kw_only=True) -class KmsKeySourceType(_SerdeShape): - """Contains the KMS key configuration for a JWT client assertion.""" - - kms_key_arn: str - """ - The Amazon Resource Name (ARN) of the KMS key used to sign the JWT - client assertion. The key must be an asymmetric key with key usage - SIGN_VERIFY and a key spec compatible with the configured signing - algorithm. - """ - -@dataclass(kw_only=True) -class LambdaEvaluatorConfig(_SerdeShape): - """Configuration for a Lambda function used as a code-based evaluator.""" - - lambda_arn: str - """ - The Amazon Resource Name (ARN) of the Lambda function that implements - the evaluation logic. - """ - lambda_timeout_in_seconds: int | None = ... - """ - The timeout in seconds for the Lambda function invocation. Defaults to - 60. Must be between 1 and 300. - """ - -@dataclass(kw_only=True) -class LambdaInterceptorConfiguration(_SerdeShape): - """The lambda configuration for the interceptor""" - - arn: str - """The arn of the lambda function to be invoked for the interceptor.""" - -@dataclass(kw_only=True) -class LambdaTransformConfiguration(_SerdeShape): - """ - The Lambda configuration for custom transformations. This structure - defines the Lambda function that the gateway invokes to transform data. - """ - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda function. This function is - invoked by the gateway to transform data. - """ - -@dataclass(kw_only=True) -class LaunchParameters(_SerdeShape): - """ - The parameters for launching Amazon EC2 instances in a capacity - provider. - """ - - operating_system: str - """The operating system and CPU architecture for the instances.""" - instance_requirements: InstanceRequirements - """The requirements that determine which instance types can be launched.""" - ephemeral_volumes: list[EphemeralBlockDeviceMapping] | None = ... - """ - The block device mappings for instance store (ephemeral) volumes. You - can specify up to five mappings. - """ - monitoring: str | None = ... - """The monitoring level for the instances.""" - license_specifications: list[LicenseSpecification] | None = ... - """ - The license configurations to associate with the instances. You can - specify up to five configurations. - """ - capacity_reservation_specification: CapacityReservationSpecification | None = ... - """The Capacity Reservation targeting option for the instances.""" - ssh_key_name: str | None = ... - """ - The name of the SSH key pair to configure on the instances for SSH - connectivity. - """ - instance_profile_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM instance profile to associate - with launched instances. If provided, this overrides the default - instance profile. - """ - propagated_tags: dict[str, str] | None = ... - """ - The tags to propagate to all Amazon EC2 resources (instances, volumes, - and network interfaces) that the capacity provider creates. - """ - -@dataclass -class LaunchTemplateSourceLaunchParameters(_SerdeShape): - """The parameters that AgentCore uses to create the launch template.""" - - value: LaunchParameters - -@dataclass -class LaunchTemplateSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -LaunchTemplateSource = Union[ - LaunchTemplateSourceLaunchParameters | LaunchTemplateSourceUnknown -] -""" -The source of the launch template configuration for a capacity provider. -The `launchParameters` member specifies the operating system, instance -requirements, and other settings used to launch instances. -""" - -class _LaunchTemplateSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> LaunchTemplateSource: ... - -@dataclass(kw_only=True) -class LicenseSpecification(_SerdeShape): - """A license configuration to associate with the instances.""" - - license_configuration_arn: str - """The Amazon Resource Name (ARN) of the license configuration.""" - -@dataclass(kw_only=True) -class LifecycleConfiguration(_SerdeShape): - """ - LifecycleConfiguration lets you manage the lifecycle of runtime sessions - and resources in AgentCore Runtime. This configuration helps optimize - resource utilization by automatically cleaning up idle sessions and - preventing long-running instances from consuming resources indefinitely. - """ - - idle_runtime_session_timeout: int | None = ... - """ - Timeout in seconds for idle runtime sessions. When a session remains - idle for this duration, it will be automatically terminated. Default: - 900 seconds (15 minutes). - """ - max_lifetime: int | None = ... - """ - Maximum lifetime for the instance in seconds. Once reached, instances - will be automatically terminated and replaced. Default: 28800 seconds (8 - hours). - """ - -@dataclass(kw_only=True) -class LifecycleHook(_SerdeShape): - """ - A lifecycle hook, which defines the action that AgentCore Runtime runs - at a point in the runtime's lifecycle. - """ - - action: LifecycleHookAction - """ - The action that AgentCore Runtime runs for the hook. Specify exactly one - action. - """ - -@dataclass -class LifecycleHookActionHttpPost(_SerdeShape): - """ - Sends an HTTP `POST` request to your agent's container on the specified - port and path to run the hook. The hook succeeds if your container - returns a `2xx` response. The hook fails if your container returns any - other response or doesn't respond before the hook times out. - """ - - value: HttpPostLifecycleHookAction - -@dataclass -class LifecycleHookActionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -LifecycleHookAction = Union[LifecycleHookActionHttpPost | LifecycleHookActionUnknown] -""" -The action that a lifecycle hook runs. Specify exactly one member. -Currently, `httpPost` is the only supported action. -""" - -class _LifecycleHookActionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> LifecycleHookAction: ... - -@dataclass(kw_only=True) -class LimitEntry(_SerdeShape): - """ - A single rule entry within a rate limit that maps dimension values to - rate configurations. Each entry defines the rate limits for a specific - combination of dimension values. - """ - - dimensions: dict[str, str] - """ - A map of dimension names to dimension values for this rule entry. Keys - must match the parent rate limit's dimension keys. Values may use `*` - as a wildcard, but only in trailing positions based on the dimension - keys ordering. - """ - requests: list[RateConfig] | None = ... - """ - The request rate limit configuration. Specifies the maximum number of - requests allowed per time period. - """ - tokens: list[RateConfig] | None = ... - """ - The token rate limit configuration. Specifies the maximum number of - tokens allowed per time period. - """ - connections: list[RateConfig] | None = ... - """ - The connection rate limit configuration. Specifies the maximum number of - concurrent connections allowed. - """ - -@dataclass(kw_only=True) -class LinkedinOauth2ProviderConfigInput(_SerdeShape): - """ - Configuration settings for connecting to LinkedIn services using OAuth2 - authentication. This includes the client credentials required to - authenticate with LinkedIn's OAuth2 authorization server. - """ - - client_id: str - """ - The client ID for the LinkedIn OAuth2 provider. This identifier is - assigned by LinkedIn when you register your application. - """ - client_secret: str = ... - """ - The client secret for the LinkedIn OAuth2 provider. This secret is - assigned by LinkedIn and used along with the client ID to authenticate - your application. - """ - client_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the client secret. This includes the secret ID and the JSON key - used to extract the client secret value from the secret. Required when - `clientSecretSource` is set to `EXTERNAL`. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - -@dataclass(kw_only=True) -class LinkedinOauth2ProviderConfigOutput(_SerdeShape): - """ - The configuration details returned for a LinkedIn OAuth2 provider, - including the client ID and OAuth2 discovery information. - """ - - oauth_discovery: Oauth2Discovery - """Contains the discovery information for an OAuth2 provider.""" - client_id: str | None = ... - """The client ID for the LinkedIn OAuth2 provider.""" - -@dataclass(kw_only=True) -class ListAgentRuntimeEndpointsInput(_SerdeShape): - """Dataclass for ListAgentRuntimeEndpointsInput structure.""" - - agent_runtime_id: str | None = ... - """The unique identifier of the AgentCore Runtime to list endpoints for.""" - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - -@dataclass(kw_only=True) -class ListAgentRuntimeEndpointsOutput(_SerdeShape): - """Dataclass for ListAgentRuntimeEndpointsOutput structure.""" - - runtime_endpoints: list[AgentRuntimeEndpoint] - """The list of AgentCore Runtime endpoints.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAgentRuntimesInput(_SerdeShape): - """Dataclass for ListAgentRuntimesInput structure.""" - - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - -@dataclass(kw_only=True) -class ListAgentRuntimesOutput(_SerdeShape): - """Dataclass for ListAgentRuntimesOutput structure.""" - - agent_runtimes: list[AgentRuntime] - """The list of AgentCore Runtime resources.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAgentRuntimeVersionsByCapacityProviderInput(_SerdeShape): - """Dataclass for ListAgentRuntimeVersionsByCapacityProviderInput structure.""" - - capacity_provider_id: str | None = ... - """The unique identifier of the capacity provider.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListAgentRuntimeVersionsByCapacityProviderOutput(_SerdeShape): - """ - Dataclass for ListAgentRuntimeVersionsByCapacityProviderOutput - structure. - """ - - agent_runtimes: list[AgentRuntimeVersionSummary] - """ - The list of agent runtime versions that are associated with the capacity - provider. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAgentRuntimeVersionsInput(_SerdeShape): - """Dataclass for ListAgentRuntimeVersionsInput structure.""" - - agent_runtime_id: str | None = ... - """The unique identifier of the AgentCore Runtime to list versions for.""" - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - -@dataclass(kw_only=True) -class ListAgentRuntimeVersionsOutput(_SerdeShape): - """Dataclass for ListAgentRuntimeVersionsOutput structure.""" - - agent_runtimes: list[AgentRuntime] - """The list of AgentCore Runtime versions.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListApiKeyCredentialProvidersInput(_SerdeShape): - """Dataclass for ListApiKeyCredentialProvidersInput structure.""" - - next_token: str | None = ... - """Pagination token.""" - max_results: int = ... - """Maximum number of results to return.""" - -@dataclass(kw_only=True) -class ListApiKeyCredentialProvidersOutput(_SerdeShape): - """Dataclass for ListApiKeyCredentialProvidersOutput structure.""" - - credential_providers: list[ApiKeyCredentialProviderItem] - """The list of API key credential providers.""" - next_token: str | None = ... - """Pagination token for the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBrowserProfilesInput(_SerdeShape): - """Dataclass for ListBrowserProfilesInput structure.""" - - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - name: str | None = ... - """The name of the browser profile to filter results by.""" - -@dataclass(kw_only=True) -class ListBrowserProfilesOutput(_SerdeShape): - """Dataclass for ListBrowserProfilesOutput structure.""" - - profile_summaries: list[BrowserProfileSummary] - """The list of browser profile summaries.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBrowsersInput(_SerdeShape): - """Dataclass for ListBrowsersInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in a single call. The default - value is 10. The maximum value is 50. - """ - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. - """ - type: str | None = ... - """ - The type of browsers to list. If not specified, all browser types are - returned. - """ - -@dataclass(kw_only=True) -class ListBrowsersOutput(_SerdeShape): - """Dataclass for ListBrowsersOutput structure.""" - - browser_summaries: list[BrowserSummary] - """The list of browser summaries.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCapacityProvidersInput(_SerdeShape): - """Dataclass for ListCapacityProvidersInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListCapacityProvidersOutput(_SerdeShape): - """Dataclass for ListCapacityProvidersOutput structure.""" - - capacity_providers: list[CapacityProviderSummary] - """The list of capacity provider summaries.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCodeInterpretersInput(_SerdeShape): - """Dataclass for ListCodeInterpretersInput structure.""" - - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - type: str | None = ... - """The type of code interpreters to list.""" - -@dataclass(kw_only=True) -class ListCodeInterpretersOutput(_SerdeShape): - """Dataclass for ListCodeInterpretersOutput structure.""" - - code_interpreter_summaries: list[CodeInterpreterSummary] - """The list of code interpreter summaries.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListConfigurationBundlesInput(_SerdeShape): - """Dataclass for ListConfigurationBundlesInput structure.""" - - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListConfigurationBundlesOutput(_SerdeShape): - """Dataclass for ListConfigurationBundlesOutput structure.""" - - bundles: list[ConfigurationBundleSummary] - """The list of configuration bundle summaries.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListConfigurationBundleVersionsInput(_SerdeShape): - """Dataclass for ListConfigurationBundleVersionsInput structure.""" - - bundle_id: str | None = ... - """The unique identifier of the configuration bundle to list versions for.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - filter: VersionFilter | None = ... - """ - An optional filter for listing versions, including branch name, creation - source, and whether to return only the latest version per branch. - """ - -@dataclass(kw_only=True) -class ListConfigurationBundleVersionsOutput(_SerdeShape): - """Dataclass for ListConfigurationBundleVersionsOutput structure.""" - - versions: list[ConfigurationBundleVersionSummary] - """The list of configuration bundle version summaries.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListConsentPortalsInput(_SerdeShape): - """Dataclass for ListConsentPortalsInput structure.""" - - max_results: int | None = ... - """The maximum number of consent portals to return in a single call.""" - next_token: str | None = ... - """ - A token to retrieve the next page of results. Use the value returned in - a previous response to request the next page. - """ - -@dataclass(kw_only=True) -class ListConsentPortalsOutput(_SerdeShape): - """Dataclass for ListConsentPortalsOutput structure.""" - - consent_portals: list[ConsentPortalSummary] - """The list of consent portals.""" - next_token: str | None = ... - """ - The token to use in a subsequent request to retrieve the next page of - results. This value is null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDatasetExamplesInput(_SerdeShape): - """Dataclass for ListDatasetExamplesInput structure.""" - - dataset_id: str | None = ... - """The unique identifier of the dataset.""" - dataset_version: str | None = ... - """ - Version to paginate: \"DRAFT\" or a version number. Defaults to DRAFT if - absent. Only used on the first request; for subsequent pages, the - version is extracted from the pagination token. - """ - max_results: int | None = ... - """Maximum number of examples to return per page.""" - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class ListDatasetExamplesOutput(_SerdeShape): - """Dataclass for ListDatasetExamplesOutput structure.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the dataset.""" - dataset_id: str - """The unique identifier of the dataset.""" - dataset_version: str - """The version returned.""" - examples: list[Document] - """ - Paginated example content. Each element is a JSON object containing at - least an `exampleId` field plus the schema-specific content fields. - """ - next_token: str | None = ... - """ - The token for the next page of results, or null if there are no more - results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDatasetsInput(_SerdeShape): - """Dataclass for ListDatasetsInput structure.""" - - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """The maximum number of datasets to return per page.""" - -@dataclass(kw_only=True) -class ListDatasetsOutput(_SerdeShape): - """Dataclass for ListDatasetsOutput structure.""" - - datasets: list[DatasetSummary] - """The list of datasets.""" - next_token: str | None = ... - """ - The token for the next page of results, or null if there are no more - results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDatasetVersionsInput(_SerdeShape): - """Dataclass for ListDatasetVersionsInput structure.""" - - dataset_id: str | None = ... - """The unique identifier of the dataset.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """The maximum number of versions to return per page.""" - -@dataclass(kw_only=True) -class ListDatasetVersionsOutput(_SerdeShape): - """Dataclass for ListDatasetVersionsOutput structure.""" - - versions: list[DatasetVersionSummary] - """The list of published dataset versions.""" - next_token: str | None = ... - """ - The token for the next page of results, or null if there are no more - results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListEvaluatorsInput(_SerdeShape): - """Dataclass for ListEvaluatorsInput structure.""" - - next_token: str | None = ... - """ - The pagination token from a previous request to retrieve the next page - of results. - """ - max_results: int | None = ... - """The maximum number of evaluators to return in a single response.""" - -@dataclass(kw_only=True) -class ListEvaluatorsOutput(_SerdeShape): - """Dataclass for ListEvaluatorsOutput structure.""" - - evaluators: list[EvaluatorSummary] - """ - The list of evaluator summaries containing basic information about each - evaluator. - """ - next_token: str | None = ... - """ - The pagination token to use in a subsequent request to retrieve the next - page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGatewayRateLimitsInput(_SerdeShape): - """Dataclass for ListGatewayRateLimitsInput structure.""" - - gateway_identifier: str | None = ... - """The unique identifier of the gateway.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. Use the value - returned in a previous `ListGatewayRateLimits` response. - """ - -@dataclass(kw_only=True) -class ListGatewayRateLimitsOutput(_SerdeShape): - """Dataclass for ListGatewayRateLimitsOutput structure.""" - - rate_limits: list[GatewayRateLimitDetail] - """The list of rate limits for the gateway.""" - next_token: str | None = ... - """ - The token for the next page of results. If this value is absent, there - are no more results to retrieve. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGatewayRulesInput(_SerdeShape): - """Dataclass for ListGatewayRulesInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway to list rules for.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """The pagination token from a previous request.""" - -@dataclass(kw_only=True) -class ListGatewayRulesOutput(_SerdeShape): - """Dataclass for ListGatewayRulesOutput structure.""" - - gateway_rules: list[GatewayRuleDetail] - """The list of gateway rules.""" - next_token: str | None = ... - """The pagination token to use in a subsequent request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGatewaysInput(_SerdeShape): - """Dataclass for ListGatewaysInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListGatewaysOutput(_SerdeShape): - """Dataclass for ListGatewaysOutput structure.""" - - items: list[GatewaySummary] - """The list of gateway summaries.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGatewayTargetsInput(_SerdeShape): - """Dataclass for ListGatewayTargetsInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway to list targets for.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListGatewayTargetsOutput(_SerdeShape): - """Dataclass for ListGatewayTargetsOutput structure.""" - - items: list[TargetSummary] - """The list of gateway target summaries.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListHarnessEndpointsInput(_SerdeShape): - """Dataclass for ListHarnessEndpointsInput structure.""" - - harness_id: str | None = ... - """The ID of the harness whose endpoints are listed.""" - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - next_token: str | None = ... - """The token for the next set of results.""" - -@dataclass(kw_only=True) -class ListHarnessEndpointsOutput(_SerdeShape): - """Dataclass for ListHarnessEndpointsOutput structure.""" - - endpoints: list[HarnessEndpoint] - """The list of harness endpoints.""" - next_token: str | None = ... - """The token for the next set of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListHarnessesInput(_SerdeShape): - """Dataclass for ListHarnessesInput structure.""" - - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - next_token: str | None = ... - """The token for the next set of results.""" - -@dataclass(kw_only=True) -class ListHarnessesOutput(_SerdeShape): - """Dataclass for ListHarnessesOutput structure.""" - - harnesses: list[HarnessSummary] - """The list of harness summaries.""" - next_token: str | None = ... - """The token for the next set of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListHarnessVersionsInput(_SerdeShape): - """Dataclass for ListHarnessVersionsInput structure.""" - - harness_id: str | None = ... - """The ID of the harness whose versions are listed.""" - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - next_token: str | None = ... - """The token for the next set of results.""" - -@dataclass(kw_only=True) -class ListHarnessVersionsOutput(_SerdeShape): - """Dataclass for ListHarnessVersionsOutput structure.""" - - harness_versions: list[HarnessVersionSummary] - """The list of harness version summaries.""" - next_token: str | None = ... - """The token for the next set of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ListingMode(UnknownEnumMixin, StrEnum): - DEFAULT = "DEFAULT" - DYNAMIC = "DYNAMIC" - -@dataclass(kw_only=True) -class ListMemoriesInput(_SerdeShape): - """Dataclass for ListMemoriesInput structure.""" - - max_results: int = ... - """ - The maximum number of results to return in a single call. The default - value is 10. The maximum value is 50. - """ - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. - """ - -@dataclass(kw_only=True) -class ListMemoriesOutput(_SerdeShape): - """Dataclass for ListMemoriesOutput structure.""" - - memories: list[MemorySummary] - """The list of AgentCore Memory resource summaries.""" - next_token: str | None = ... - """A token to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListOauth2CredentialProvidersInput(_SerdeShape): - """Dataclass for ListOauth2CredentialProvidersInput structure.""" - - next_token: str | None = ... - """Pagination token.""" - max_results: int = ... - """Maximum number of results to return.""" - -@dataclass(kw_only=True) -class ListOauth2CredentialProvidersOutput(_SerdeShape): - """Dataclass for ListOauth2CredentialProvidersOutput structure.""" - - credential_providers: list[Oauth2CredentialProviderItem] - """The list of OAuth2 credential providers.""" - next_token: str | None = ... - """Pagination token for the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListOnlineEvaluationConfigsInput(_SerdeShape): - """Dataclass for ListOnlineEvaluationConfigsInput structure.""" - - next_token: str | None = ... - """ - The pagination token from a previous request to retrieve the next page - of results. - """ - max_results: int | None = ... - """ - The maximum number of online evaluation configurations to return in a - single response. - """ - -@dataclass(kw_only=True) -class ListOnlineEvaluationConfigsOutput(_SerdeShape): - """Dataclass for ListOnlineEvaluationConfigsOutput structure.""" - - online_evaluation_configs: list[OnlineEvaluationConfigSummary] - """ - The list of online evaluation configuration summaries containing basic - information about each configuration. - """ - next_token: str | None = ... - """ - The pagination token to use in a subsequent request to retrieve the next - page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPaymentConnectorsInput(_SerdeShape): - """Dataclass for ListPaymentConnectorsInput structure.""" - - payment_manager_id: str | None = ... - """The unique identifier of the payment manager whose connectors to list.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListPaymentConnectorsOutput(_SerdeShape): - """Dataclass for ListPaymentConnectorsOutput structure.""" - - payment_connectors: list[PaymentConnectorSummary] - """ - The list of payment connector summaries. For details about the fields in - each summary, see the `PaymentConnectorSummary` data type. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPaymentCredentialProvidersInput(_SerdeShape): - """Dataclass for ListPaymentCredentialProvidersInput structure.""" - - next_token: str | None = ... - """Pagination token.""" - max_results: int = ... - """Maximum number of results to return.""" - -@dataclass(kw_only=True) -class ListPaymentCredentialProvidersOutput(_SerdeShape): - """Dataclass for ListPaymentCredentialProvidersOutput structure.""" - - credential_providers: list[PaymentCredentialProviderItem] - """The list of payment credential providers.""" - next_token: str | None = ... - """Pagination token for the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPaymentManagersInput(_SerdeShape): - """Dataclass for ListPaymentManagersInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListPaymentManagersOutput(_SerdeShape): - """Dataclass for ListPaymentManagersOutput structure.""" - - payment_managers: list[PaymentManagerSummary] - """ - The list of payment manager summaries. For details about the fields in - each summary, see the `PaymentManagerSummary` data type. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPoliciesInput(_SerdeShape): - """Dataclass for ListPoliciesInput structure.""" - - next_token: str | None = ... - """ - A pagination token returned from a previous - [ListPolicies](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicies.html) - call. Use this token to retrieve the next page of results when the - response is paginated. - """ - max_results: int | None = ... - """ - The maximum number of policies to return in a single response. If not - specified, the default is 10 policies per page, with a maximum of 100 - per page. - """ - policy_engine_id: str | None = ... - """The identifier of the policy engine whose policies to retrieve.""" - target_resource_scope: str | None = ... - """ - Optional filter to list policies that apply to a specific resource scope - or resource type. This helps narrow down policy results to those - relevant for particular Amazon Web Services resources, agent tools, or - operational contexts within the policy engine ecosystem. - """ - -@dataclass(kw_only=True) -class ListPoliciesOutput(_SerdeShape): - """Dataclass for ListPoliciesOutput structure.""" - - policies: list[Policy] - """ - An array of policy objects that match the specified criteria. Each - policy object contains the policy metadata, status, and key identifiers - for further operations. - """ - next_token: str | None = ... - """ - A pagination token that can be used in subsequent ListPolicies calls to - retrieve additional results. This token is only present when there are - more results available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPolicyEnginesInput(_SerdeShape): - """Dataclass for ListPolicyEnginesInput structure.""" - - next_token: str | None = ... - """ - A pagination token returned from a previous - [ListPolicyEngines](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngines.html) - call. Use this token to retrieve the next page of results when the - response is paginated. - """ - max_results: int | None = ... - """ - The maximum number of policy engines to return in a single response. If - not specified, the default is 10 policy engines per page, with a maximum - of 100 per page. - """ - -@dataclass(kw_only=True) -class ListPolicyEnginesOutput(_SerdeShape): - """Dataclass for ListPolicyEnginesOutput structure.""" - - policy_engines: list[PolicyEngine] - """ - An array of policy engine objects that exist in the account. Each policy - engine object contains the engine metadata, status, and key identifiers - for further operations. - """ - next_token: str | None = ... - """ - A pagination token that can be used in subsequent - [ListPolicyEngines](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngines.html) - calls to retrieve additional results. This token is only present when - there are more results available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPolicyEngineSummariesInput(_SerdeShape): - """Dataclass for ListPolicyEngineSummariesInput structure.""" - - next_token: str | None = ... - """ - A pagination token returned from a previous - [ListPolicyEngineSummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngineSummaries.html) - call. Use this token to retrieve the next page of results when the - response is paginated. - """ - max_results: int | None = ... - """ - The maximum number of policy engine summaries to return in a single - response. - """ - -@dataclass(kw_only=True) -class ListPolicyEngineSummariesOutput(_SerdeShape): - """Dataclass for ListPolicyEngineSummariesOutput structure.""" - - policy_engines: list[PolicyEngineSummary] - """ - An array of policy engine summary objects that exist in the account. - Each summary contains resource identifiers, status, and timestamps - without customer-encrypted content. - """ - next_token: str | None = ... - """ - A pagination token that can be used in subsequent - [ListPolicyEngineSummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngineSummaries.html) - calls to retrieve additional results. This token is only present when - there are more results available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPolicyGenerationAssetsInput(_SerdeShape): - """Dataclass for ListPolicyGenerationAssetsInput structure.""" - - policy_generation_id: str | None = ... - """ - The unique identifier of the policy generation request whose assets are - to be retrieved. This must be a valid generation ID from a previous - [StartPolicyGeneration](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html) - call that has completed processing. - """ - policy_engine_id: str | None = ... - """ - The unique identifier of the policy engine associated with the policy - generation request. This provides the context for the generation - operation and ensures assets are retrieved from the correct policy - engine. - """ - next_token: str | None = ... - """ - A pagination token returned from a previous - [ListPolicyGenerationAssets](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html) - call. Use this token to retrieve the next page of assets when the - response is paginated due to large numbers of generated policy options. - """ - max_results: int | None = ... - """ - The maximum number of policy generation assets to return in a single - response. If not specified, the default is 10 assets per page, with a - maximum of 100 per page. This helps control response size when dealing - with policy generations that produce many alternative policy options. - """ - -@dataclass(kw_only=True) -class ListPolicyGenerationAssetsOutput(_SerdeShape): - """Dataclass for ListPolicyGenerationAssetsOutput structure.""" - - policy_generation_assets: list[PolicyGenerationAsset] | None = ... - """ - An array of generated policy assets including Dogwood policies and - related artifacts from the AI-powered policy generation process. Each - asset represents a different policy option or variation generated from - the original natural language input. - """ - next_token: str | None = ... - """ - A pagination token that can be used in subsequent - [ListPolicyGenerationAssets](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html) - calls to retrieve additional assets. This token is only present when - there are more generated policy assets available beyond the current - response. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPolicyGenerationsInput(_SerdeShape): - """Dataclass for ListPolicyGenerationsInput structure.""" - - next_token: str | None = ... - """ - A pagination token for retrieving additional policy generations when - results are paginated. - """ - max_results: int | None = ... - """The maximum number of policy generations to return in a single response.""" - policy_engine_id: str | None = ... - """ - The identifier of the policy engine whose policy generations to - retrieve. - """ - -@dataclass(kw_only=True) -class ListPolicyGenerationsOutput(_SerdeShape): - """Dataclass for ListPolicyGenerationsOutput structure.""" - - policy_generations: list[PolicyGeneration] - """An array of policy generation objects that match the specified criteria.""" - next_token: str | None = ... - """ - A pagination token for retrieving additional policy generations if more - results are available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPolicyGenerationSummariesInput(_SerdeShape): - """Dataclass for ListPolicyGenerationSummariesInput structure.""" - - next_token: str | None = ... - """ - A pagination token returned from a previous - [ListPolicyGenerationSummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationSummaries.html) - call. Use this token to retrieve the next page of results when the - response is paginated. - """ - max_results: int | None = ... - """ - The maximum number of policy generation summaries to return in a single - response. - """ - policy_engine_id: str | None = ... - """ - The identifier of the policy engine whose policy generation summaries to - retrieve. - """ - -@dataclass(kw_only=True) -class ListPolicyGenerationSummariesOutput(_SerdeShape): - """Dataclass for ListPolicyGenerationSummariesOutput structure.""" - - policy_generations: list[PolicyGenerationSummary] - """ - An array of policy generation summary objects that match the specified - criteria. Each summary contains resource identifiers, status, - timestamps, and findings without customer-encrypted content. - """ - next_token: str | None = ... - """ - A pagination token that can be used in subsequent - [ListPolicyGenerationSummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationSummaries.html) - calls to retrieve additional results. This token is only present when - there are more results available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPolicySummariesInput(_SerdeShape): - """Dataclass for ListPolicySummariesInput structure.""" - - next_token: str | None = ... - """ - A pagination token returned from a previous - [ListPolicySummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicySummaries.html) - call. Use this token to retrieve the next page of results when the - response is paginated. - """ - max_results: int | None = ... - """The maximum number of policy summaries to return in a single response.""" - policy_engine_id: str | None = ... - """The identifier of the policy engine whose policy summaries to retrieve.""" - target_resource_scope: str | None = ... - """ - Optional filter to list policy summaries that apply to a specific - resource scope or resource type. This helps narrow down results to those - relevant for particular Amazon Web Services resources, agent tools, or - operational contexts within the policy engine ecosystem. - """ - -@dataclass(kw_only=True) -class ListPolicySummariesOutput(_SerdeShape): - """Dataclass for ListPolicySummariesOutput structure.""" - - policies: list[PolicySummary] - """ - An array of policy summary objects that match the specified criteria. - Each summary contains resource identifiers, status, and timestamps - without customer-encrypted content. - """ - next_token: str | None = ... - """ - A pagination token that can be used in subsequent - [ListPolicySummaries](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicySummaries.html) - calls to retrieve additional results. This token is only present when - there are more results available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRegistriesInput(_SerdeShape): - """Dataclass for ListRegistriesInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - status: str | None = ... - """ - Filter registries by their current status. Possible values include - `CREATING`, `READY`, `UPDATING`, `CREATE_FAILED`, `UPDATE_FAILED`, - `DELETING`, and `DELETE_FAILED`. - """ - authorizer_type: str | None = ... - """ - Filter registries by their authorizer type. Possible values are - `CUSTOM_JWT` and `AWS_IAM`. For more information about authorizer types, - see the `RegistryAuthorizerType` enum. - """ - -@dataclass(kw_only=True) -class ListRegistriesOutput(_SerdeShape): - """Dataclass for ListRegistriesOutput structure.""" - - registries: list[RegistrySummary] - """ - The list of registry summaries. For details about the fields in each - summary, see the `RegistrySummary` data type. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRegistryRecordsInput(_SerdeShape): - """Dataclass for ListRegistryRecordsInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry to list records from. You can specify - either the Amazon Resource Name (ARN) or the ID of the registry. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - name: str | None = ... - """Filter registry records by name.""" - status: str | None = ... - """ - Filter registry records by their current status. Possible values include - `CREATING`, `DRAFT`, `APPROVED`, `PENDING_APPROVAL`, `REJECTED`, - `DEPRECATED`, `UPDATING`, `CREATE_FAILED`, and `UPDATE_FAILED`. - """ - descriptor_type: str | None = ... - """ - Filter registry records by their descriptor type. Possible values are - `MCP`, `A2A`, `CUSTOM`, and `AGENT_SKILLS`. - """ - -@dataclass(kw_only=True) -class ListRegistryRecordsOutput(_SerdeShape): - """Dataclass for ListRegistryRecordsOutput structure.""" - - registry_records: list[RegistryRecordSummary] - """ - The list of registry record summaries. For details about the fields in - each summary, see the `RegistryRecordSummary` data type. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceInput(_SerdeShape): - """Dataclass for ListTagsForResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource for which you want to - list tags. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceOutput(_SerdeShape): - """Dataclass for ListTagsForResourceOutput structure.""" - - tags: dict[str, str] | None = ... - """The tags associated with the resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListWorkloadIdentitiesInput(_SerdeShape): - """Dataclass for ListWorkloadIdentitiesInput structure.""" - - next_token: str | None = ... - """Pagination token.""" - max_results: int = ... - """Maximum number of results to return.""" - -@dataclass(kw_only=True) -class ListWorkloadIdentitiesOutput(_SerdeShape): - """Dataclass for ListWorkloadIdentitiesOutput structure.""" - - workload_identities: list[WorkloadIdentityType] - """The list of workload identities.""" - next_token: str | None = ... - """Pagination token for the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LlmAsAJudgeEvaluatorConfig(_SerdeShape): - """ - The configuration for LLM-as-a-Judge evaluation that uses a language - model to assess agent performance based on custom instructions and - rating scales. - """ - - instructions: str - """ - The evaluation instructions that guide the language model in assessing - agent performance, including criteria and evaluation guidelines. - """ - rating_scale: RatingScale - """ - The rating scale that defines how the evaluator should score agent - performance, either numerical or categorical. - """ - model_config: EvaluatorModelConfig - """ - The model configuration that specifies which foundation model to use and - how to configure it for evaluation. - """ - -@dataclass(kw_only=True) -class LlmExtractionConfig(_SerdeShape): - """Model-based metadata extraction configuration.""" - - llm_extraction_instruction: str | None = ... - """ - Instructions for extraction. Supports built-in operators like - LATEST_VALUE or custom natural-language instructions. - """ - definition: str - """Description of what this metadata field represents.""" - validation: Validation | None = ... - """Validation rules to constrain extracted values.""" - -@dataclass(kw_only=True) -class ManagedResourceDetails(_SerdeShape): - """ - Details of a resource created and managed by the gateway for private - endpoint connectivity. - """ - - domain: str | None = ... - """The domain associated with this managed resource.""" - resource_gateway_arn: str | None = ... - """The ARN of the VPC Lattice resource gateway created in your account.""" - resource_association_arn: str | None = ... - """The ARN of the service network resource association.""" - -@dataclass(kw_only=True) -class ManagedVpcResource(_SerdeShape): - """ - Configuration for a managed VPC Lattice resource. The gateway creates - and manages the VPC Lattice resource gateway and resource configuration - on your behalf using a service-linked role. - """ - - vpc_identifier: str - """The ID of the VPC that contains your private resource.""" - subnet_ids: list[str] - """ - The subnet IDs within the VPC where the VPC Lattice resource gateway is - placed. - """ - endpoint_ip_address_type: str - """The IP address type for the resource configuration endpoint.""" - security_group_ids: list[str] | None = ... - """ - The security group IDs to associate with the VPC Lattice resource - gateway. If not specified, the default security group for the VPC is - used. - """ - tags: dict[str, str] | None = ... - """Tags to apply to the managed VPC Lattice resource gateway.""" - routing_domain: str | None = ... - """ - An intermediate domain to use as the resource configuration endpoint - instead of the actual target domain. Use this when you want to route - traffic through an intermediate component such as a VPC endpoint or - internal load balancer. For more information, see - xref:lattice-vpc-egress-routing-domain[Route traffic through an - intermediate domain]. - """ - -@dataclass(kw_only=True) -class MatchModelEntry(_SerdeShape): - """ - A model ID or pattern to match against the requested model, and the - operator to use for the comparison. - """ - - value: str - """ - The model ID or pattern to match. With the `StringLike` operator, you - can use `*` and `?` as wildcards, for example `anthropic.claude-*`. - """ - operator: str = ... - """ - The operator to use when comparing the requested model to the value: - - - `StringEquals` -- Requires an exact match. - - - `StringLike` -- Supports wildcard patterns using `*` and `?`. This is - the default. - """ - -@dataclass(kw_only=True) -class MatchModels(_SerdeShape): - """ - A condition that matches inference requests based on the requested - model. - """ - - any_of: list[MatchModelEntry] - """ - A list of model entries. The condition is met if the requested model - matches any of the entries. - """ - -class MatchOperator(UnknownEnumMixin, StrEnum): - STRING_EQUALS = "StringEquals" - STRING_LIKE = "StringLike" - -@dataclass(kw_only=True) -class MatchPaths(_SerdeShape): - """A condition that matches requests based on the request path.""" - - any_of: list[str] - """ - A list of path patterns. The condition is met if the request path - matches any of the patterns. - """ - -@dataclass -class MatchPrincipalEntryIamPrincipal(_SerdeShape): - """An IAM principal to match against, specified by ARN.""" - - value: IamPrincipal - -@dataclass -class MatchPrincipalEntryUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -MatchPrincipalEntry = Union[ - MatchPrincipalEntryIamPrincipal | MatchPrincipalEntryUnknown -] -""" -Union for principal matching. Currently supports IAM principal ARN glob -matching. -""" - -class _MatchPrincipalEntryDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> MatchPrincipalEntry: ... - -@dataclass(kw_only=True) -class MatchPrincipals(_SerdeShape): - """A condition that matches requests based on the caller's identity.""" - - any_of: list[MatchPrincipalEntry] - """ - A list of principal entries. The condition is met if any of the entries - match the caller's identity. - """ - -@dataclass(kw_only=True) -class McpDescriptor(_SerdeShape): - """ - The Model Context Protocol (MCP) descriptor for a registry record. - Contains the server definition and tools definition for an - MCP-compatible server. The schema is validated against the MCP protocol - specification. - """ - - server: ServerDefinition | None = ... - """ - The MCP server definition, containing the server configuration and - schema as defined by the MCP protocol specification. - """ - tools: ToolsDefinition | None = ... - """ - The MCP tools definition, containing the tools available on the MCP - server as defined by the MCP protocol specification. - """ - -@dataclass(kw_only=True) -class MCPGatewayConfiguration(_SerdeShape): - """ - The configuration for a Model Context Protocol (MCP) gateway. This - structure defines how the gateway implements the MCP protocol. - """ - - supported_versions: list[str] | None = ... - """ - The supported versions of the Model Context Protocol. This field - specifies which versions of the protocol the gateway can use. - """ - instructions: str | None = ... - """ - The instructions for using the Model Context Protocol gateway. These - instructions provide guidance on how to interact with the gateway. - """ - search_type: str | None = ... - """ - The search type for the Model Context Protocol gateway. This field - specifies how the gateway handles search operations. - """ - session_configuration: SessionConfiguration | None = ... - """ - The session configuration for the MCP gateway. This configuration - controls session behavior, including session timeout settings. - """ - streaming_configuration: StreamingConfiguration | None = ... - """ - The streaming configuration for the MCP gateway. This configuration - controls whether response streaming is enabled for the gateway. - """ - disable_mcp_list_tools_pagination: bool | None = ... - """ - Specifies whether the gateway disables pagination for the Model Context - Protocol (MCP) `tools/list` operation. When set to `true`, the gateway - returns the complete list of tools in a single response without a - pagination cursor. When set to `false` or omitted, the gateway returns - tools in paginated responses. For information about changing this value - on an existing gateway, see - [UpdateGateway](https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UpdateGateway.html). - """ - -@dataclass(kw_only=True) -class McpLambdaTargetConfiguration(_SerdeShape): - """ - The Lambda configuration for a Model Context Protocol target. This - structure defines how the gateway uses a Lambda function to communicate - with the target. - """ - - lambda_arn: str - """ - The Amazon Resource Name (ARN) of the Lambda function. This function is - invoked by the gateway to communicate with the target. - """ - tool_schema: ToolSchema - """ - The tool schema for the Lambda function. This schema defines the - structure of the tools that the Lambda function provides. - """ - -@dataclass(kw_only=True) -class McpServerTargetConfiguration(_SerdeShape): - """The target configuration for the MCP server.""" - - endpoint: str - """The endpoint for the MCP server target configuration.""" - mcp_tool_schema: McpToolSchemaConfiguration | None = ... - """ - A static tool list for the MCP server target. It is supported for all - credential providers. Dynamic tool discovery/synchronization will be - disabled when a target is configured with mcpToolSchema. - """ - listing_mode: str | None = ... - """ - The listing mode for the MCP server target configuration. MCP resources - for default targets are cached at the control plane for faster access. - MCP resources for dynamic targets will be dynamically retrieved when - listing tools. - """ - resource_priority: int | None = ... - """ - Priority for resolving MCP server targets with shared resource URIs. - Lower values take precedence. Defaults to 1000 when not set. - """ - -@dataclass -class McpTargetConfigurationOpenApiSchema(_SerdeShape): - """ - The OpenAPI schema for the Model Context Protocol target. This schema - defines the API structure of the target. - """ - - value: ApiSchemaConfiguration - -@dataclass -class McpTargetConfigurationSmithyModel(_SerdeShape): - """ - The Smithy model for the Model Context Protocol target. This model - defines the API structure of the target using the Smithy specification. - """ - - value: ApiSchemaConfiguration - -@dataclass -class McpTargetConfigurationLambda(_SerdeShape): - """ - The Lambda configuration for the Model Context Protocol target. This - configuration defines how the gateway uses a Lambda function to - communicate with the target. - """ - - value: McpLambdaTargetConfiguration - -@dataclass -class McpTargetConfigurationMcpServer(_SerdeShape): - """The MCP server specified as the gateway target.""" - - value: McpServerTargetConfiguration - -@dataclass -class McpTargetConfigurationApiGateway(_SerdeShape): - """The configuration for an Amazon API Gateway target.""" - - value: ApiGatewayTargetConfiguration - -@dataclass -class McpTargetConfigurationConnector(_SerdeShape): - """ - The connector integration configuration for the Model Context Protocol - target. This configuration defines how the gateway uses a pre-built - connector to communicate with the target. - """ - - value: ConnectorTargetConfiguration - -@dataclass -class McpTargetConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -McpTargetConfiguration = Union[ - McpTargetConfigurationOpenApiSchema - | McpTargetConfigurationSmithyModel - | McpTargetConfigurationLambda - | McpTargetConfigurationMcpServer - | McpTargetConfigurationApiGateway - | McpTargetConfigurationConnector - | McpTargetConfigurationUnknown -] -""" -The Model Context Protocol (MCP) configuration for a target. This -structure defines how the gateway uses MCP to communicate with the -target. -""" - -class _McpTargetConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> McpTargetConfiguration: ... - -@dataclass -class McpToolSchemaConfigurationS3(_SerdeShape): - """ - The Amazon S3 location of the tool schema. This location contains the - schema definition file. - """ - - value: S3Configuration - -@dataclass -class McpToolSchemaConfigurationInlinePayload(_SerdeShape): - """The inline payload containing the MCP tool schema definition.""" - - value: str - -@dataclass -class McpToolSchemaConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -McpToolSchemaConfiguration = Union[ - McpToolSchemaConfigurationS3 - | McpToolSchemaConfigurationInlinePayload - | McpToolSchemaConfigurationUnknown -] -""" -The MCP tool schema configuration for an MCP server target. The tool -schema must be aligned with the MCP specification. -""" - -class _McpToolSchemaConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> McpToolSchemaConfiguration: ... - -@dataclass(kw_only=True) -class Memory(_SerdeShape): - """Contains information about a memory resource.""" - - arn: str - """The Amazon Resource Name (ARN) of the memory.""" - id: str - """The unique identifier of the memory.""" - name: str - """The name of the memory.""" - description: str | None = ... - """The description of the memory.""" - encryption_key_arn: str | None = ... - """The ARN of the KMS key used to encrypt the memory.""" - memory_execution_role_arn: str | None = ... - """The ARN of the IAM role that provides permissions for the memory.""" - event_expiry_duration: int - """The number of days after which memory events will expire.""" - status: str - """The current status of the memory.""" - failure_reason: str | None = ... - """The reason for failure if the memory is in a failed state.""" - created_at: datetime - """The timestamp when the memory was created.""" - updated_at: datetime - """The timestamp when the memory was last updated.""" - strategies: list[MemoryStrategy] | None = ... - """The list of memory strategies associated with this memory.""" - indexed_keys: list[IndexedKey] | None = ... - """ - The indexed metadata keys for this memory. Only indexed keys can be used - in metadata filters. - """ - namespace_keys: list[NamespaceKeyEntry] | None = ... - """ - The namespace variable key definitions for this memory. Namespace keys - define custom variables used in `namespaceTemplates` with optional - validation rules. - """ - stream_delivery_resources: StreamDeliveryResources | None = ... - """Configuration for streaming memory record data to external resources.""" - managed_by_resource_arn: str | None = ... - """ - ARN of the resource managing this memory (e.g. a harness). When set, - strategy modifications and deletion are only allowed through the - managing resource. - """ - -@dataclass(kw_only=True) -class MemoryRecordSchema(_SerdeShape): - """Schema for metadata on memory records generated by a strategy.""" - - metadata_schema: list[MetadataSchemaEntry] | None = ... - """The metadata field definitions for this strategy.""" - -class MemoryStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - FAILED = "FAILED" - DELETING = "DELETING" - UPDATING = "UPDATING" - -@dataclass(kw_only=True) -class MemoryStrategy(_SerdeShape): - """Contains information about a memory strategy.""" - - strategy_id: str - """The unique identifier of the memory strategy.""" - name: str - """The name of the memory strategy.""" - description: str | None = ... - """The description of the memory strategy.""" - configuration: StrategyConfiguration | None = ... - """The configuration of the memory strategy.""" - type: str - """The type of the memory strategy.""" - namespaces: list[str] - """ - This is a legacy parameter. The namespaces associated with the memory - strategy. - """ - namespace_templates: list[str] - """The namespaceTemplates associated with the memory strategy.""" - created_at: datetime | None = ... - """The timestamp when the memory strategy was created.""" - updated_at: datetime | None = ... - """The timestamp when the memory strategy was last updated.""" - status: str | None = ... - """The current status of the memory strategy.""" - memory_record_schema: MemoryRecordSchema | None = ... - """Schema for metadata fields on records generated by this strategy.""" - record_expiry_duration_days: int | None = ... - """ - The effective record expiry (long-term memory time-to-live), in days, - for memory records generated by this strategy. New records expire this - many days after they are created. If not set, records generated by this - strategy do not expire. - """ - -@dataclass -class MemoryStrategyInputSemanticMemoryStrategy(_SerdeShape): - """Input for creating a semantic memory strategy.""" - - value: SemanticMemoryStrategyInput - -@dataclass -class MemoryStrategyInputSummaryMemoryStrategy(_SerdeShape): - """Input for creating a summary memory strategy.""" - - value: SummaryMemoryStrategyInput - -@dataclass -class MemoryStrategyInputUserPreferenceMemoryStrategy(_SerdeShape): - """Input for creating a user preference memory strategy.""" - - value: UserPreferenceMemoryStrategyInput - -@dataclass -class MemoryStrategyInputCustomMemoryStrategy(_SerdeShape): - """Input for creating a custom memory strategy.""" - - value: CustomMemoryStrategyInput - -@dataclass -class MemoryStrategyInputEpisodicMemoryStrategy(_SerdeShape): - """Input for creating an episodic memory strategy""" - - value: EpisodicMemoryStrategyInput - -@dataclass -class MemoryStrategyInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -MemoryStrategyInput = Union[ - MemoryStrategyInputSemanticMemoryStrategy - | MemoryStrategyInputSummaryMemoryStrategy - | MemoryStrategyInputUserPreferenceMemoryStrategy - | MemoryStrategyInputCustomMemoryStrategy - | MemoryStrategyInputEpisodicMemoryStrategy - | MemoryStrategyInputUnknown -] -"""Contains input information for creating a memory strategy.""" - -class _MemoryStrategyInputDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> MemoryStrategyInput: ... - -class MemoryStrategyStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - DELETING = "DELETING" - FAILED = "FAILED" - -class MemoryStrategyType(UnknownEnumMixin, StrEnum): - SEMANTIC = "SEMANTIC" - SUMMARIZATION = "SUMMARIZATION" - USER_PREFERENCE = "USER_PREFERENCE" - CUSTOM = "CUSTOM" - EPISODIC = "EPISODIC" - -@dataclass(kw_only=True) -class MemorySummary(_SerdeShape): - """Contains summary information about a memory resource.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the memory.""" - id: str | None = ... - """The unique identifier of the memory.""" - status: str | None = ... - """The current status of the memory.""" - created_at: datetime - """The timestamp when the memory was created.""" - updated_at: datetime - """The timestamp when the memory was last updated.""" - managed_by_resource_arn: str | None = ... - """ - ARN of the resource managing this memory (e.g. a harness). Null if not - managed. - """ - -class MemoryView(UnknownEnumMixin, StrEnum): - FULL = "full" - WITHOUT_DECRYPTION = "without_decryption" - -@dataclass(kw_only=True) -class MessageBasedTrigger(_SerdeShape): - """The trigger configuration based on a message.""" - - message_count: int | None = ... - """The number of messages that trigger memory processing.""" - -@dataclass(kw_only=True) -class MessageBasedTriggerInput(_SerdeShape): - """The trigger configuration based on a message.""" - - message_count: int = ... - """The number of messages that trigger memory processing.""" - -@dataclass(kw_only=True) -class MetadataConfiguration(_SerdeShape): - """ - Configuration for HTTP header and query parameter propagation between - the gateway and target servers. - """ - - allowed_request_headers: list[str] | None = ... - """ - A list of HTTP headers that are allowed to be propagated from incoming - client requests to the target. - """ - allowed_query_parameters: list[str] | None = ... - """ - A list of URL query parameters that are allowed to be propagated from - incoming gateway URL to the target. - """ - allowed_response_headers: list[str] | None = ... - """ - A list of HTTP headers that are allowed to be propagated from the target - response back to the client. - """ - -@dataclass(kw_only=True) -class MetadataSchemaEntry(_SerdeShape): - """A metadata field definition within a strategy's schema.""" - - key: str - """ - The metadata field name. Must match an indexed key to be queryable via - metadata filters. - """ - type: str | None = ... - """The MetadataValueType.""" - extraction_type: str | None = ... - """ - Specifies whether the metadata value is extracted by the LLM or passed - through deterministically from the event. - """ - extraction_config: ExtractionConfig | None = ... - """ - Configuration for extracting this metadata value from conversational - content. Applicable only if extractionType is LLM inferred. - """ - -class MetadataValueType(UnknownEnumMixin, StrEnum): - STRING = "STRING" - STRINGLIST = "STRINGLIST" - NUMBER = "NUMBER" - -@dataclass(kw_only=True) -class MicrosoftOauth2ProviderConfigInput(_SerdeShape): - """Input configuration for a Microsoft OAuth2 provider.""" - - client_id: str - """The client ID for the Microsoft OAuth2 provider.""" - client_secret: str = ... - """The client secret for the Microsoft OAuth2 provider.""" - client_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the client secret. This includes the secret ID and the JSON key - used to extract the client secret value from the secret. Required when - `clientSecretSource` is set to `EXTERNAL`. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - tenant_id: str | None = ... - """ - The Microsoft Entra ID (formerly Azure AD) tenant ID for your - organization. This identifies the specific tenant within Microsoft's - identity platform where your application is registered. - """ - -@dataclass(kw_only=True) -class MicrosoftOauth2ProviderConfigOutput(_SerdeShape): - """Output configuration for a Microsoft OAuth2 provider.""" - - oauth_discovery: Oauth2Discovery - """The OAuth2 discovery information for the Microsoft provider.""" - client_id: str | None = ... - """The client ID for the Microsoft OAuth2 provider.""" - -@dataclass(kw_only=True) -class ModelEntry(_SerdeShape): - """ - A model entry that specifies a model supported for an inference - operation. - """ - - model: str - """ - The model ID or glob pattern that identifies the model (for example, - `anthropic.claude-opus-*` or `openai.gpt-oss-*`). - """ - -@dataclass(kw_only=True) -class ModelMapping(_SerdeShape): - """ - The configuration that translates model IDs between client-facing names - and provider model IDs. - """ - - provider_prefix: ProviderPrefix | None = ... - """The provider prefix configuration used for model ID translation.""" - -@dataclass -class ModifyConsolidationConfigurationCustomConsolidationConfiguration(_SerdeShape): - """The updated custom consolidation configuration.""" - - value: CustomConsolidationConfigurationInput - -@dataclass -class ModifyConsolidationConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ModifyConsolidationConfiguration = Union[ - ModifyConsolidationConfigurationCustomConsolidationConfiguration - | ModifyConsolidationConfigurationUnknown -] -"""Contains information for modifying a consolidation configuration.""" - -class _ModifyConsolidationConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ModifyConsolidationConfiguration: ... - -@dataclass -class ModifyExtractionConfigurationCustomExtractionConfiguration(_SerdeShape): - """The updated custom extraction configuration.""" - - value: CustomExtractionConfigurationInput - -@dataclass -class ModifyExtractionConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ModifyExtractionConfiguration = Union[ - ModifyExtractionConfigurationCustomExtractionConfiguration - | ModifyExtractionConfigurationUnknown -] -"""Contains information for modifying an extraction configuration.""" - -class _ModifyExtractionConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ModifyExtractionConfiguration: ... - -@dataclass(kw_only=True) -class ModifyInvocationConfigurationInput(_SerdeShape): - """The configuration for updating invocation settings.""" - - topic_arn: str | None = ... - """The updated ARN of the SNS topic for job notifications.""" - payload_delivery_bucket_name: str | None = ... - """The updated S3 bucket name for event payload delivery.""" - -@dataclass(kw_only=True) -class ModifyMemoryStrategies(_SerdeShape): - """Contains information for modifying memory strategies.""" - - add_memory_strategies: list[MemoryStrategyInput] | None = ... - """The list of memory strategies to add.""" - modify_memory_strategies: list[ModifyMemoryStrategyInput] | None = ... - """The list of memory strategies to modify.""" - delete_memory_strategies: list[DeleteMemoryStrategyInput] | None = ... - """The list of memory strategies to delete.""" - -@dataclass(kw_only=True) -class ModifyMemoryStrategyInput(_SerdeShape): - """Input for modifying a memory strategy.""" - - memory_strategy_id: str - """The unique identifier of the memory strategy to modify.""" - description: str | None = ... - """The updated description of the memory strategy.""" - namespaces: list[str] | None = ... - """ - This is a legacy parameter, use `namespaceTemplates`. The updated - namespaces for the memory strategy. - """ - namespace_templates: list[str] | None = ... - """The updated namespaceTemplates for the memory strategy.""" - configuration: ModifyStrategyConfiguration | None = ... - """The updated configuration for the memory strategy.""" - memory_record_schema: MemoryRecordSchema | None = ... - """Updated metadata schema for records generated by this strategy.""" - record_expiry_specification: RecordExpirySpecification | None = ... - """ - Updates or removes the record expiry (long-term memory time-to-live) for - this strategy. Set `recordExpiryDurationDays` to configure or update the - number of days after which records expire, or set `action` to `REMOVE` - to remove a previously configured time-to-live so that newer records no - longer expire. The change applies only to records created after the - update. - """ - -@dataclass -class ModifyReflectionConfigurationEpisodicReflectionConfiguration(_SerdeShape): - """The updated episodic reflection configuration.""" - - value: EpisodicReflectionConfigurationInput - -@dataclass -class ModifyReflectionConfigurationCustomReflectionConfiguration(_SerdeShape): - """The updated custom reflection configuration.""" - - value: CustomReflectionConfigurationInput - -@dataclass -class ModifyReflectionConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ModifyReflectionConfiguration = Union[ - ModifyReflectionConfigurationEpisodicReflectionConfiguration - | ModifyReflectionConfigurationCustomReflectionConfiguration - | ModifyReflectionConfigurationUnknown -] -"""Contains information for modifying a reflection configuration.""" - -class _ModifyReflectionConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ModifyReflectionConfiguration: ... - -@dataclass(kw_only=True) -class ModifySelfManagedConfiguration(_SerdeShape): - """The configuration for updating the self-managed memory strategy.""" - - trigger_conditions: list[TriggerConditionInput] | None = ... - """The updated list of conditions that trigger memory processing.""" - invocation_configuration: ModifyInvocationConfigurationInput | None = ... - """ - The updated configuration to invoke self-managed memory processing - pipeline. - """ - historical_context_window_size: int | None = ... - """ - The updated number of historical messages to include in processing - context. - """ - -@dataclass(kw_only=True) -class ModifyStrategyConfiguration(_SerdeShape): - """Contains information for modifying a strategy configuration.""" - - extraction: ModifyExtractionConfiguration | None = ... - """The updated extraction configuration.""" - consolidation: ModifyConsolidationConfiguration | None = ... - """The updated consolidation configuration.""" - reflection: ModifyReflectionConfiguration | None = ... - """The updated reflection configuration.""" - self_managed_configuration: ModifySelfManagedConfiguration | None = ... - """The updated self-managed configuration.""" - -class Monitoring(UnknownEnumMixin, StrEnum): - BASIC = "BASIC" - DETAILED = "DETAILED" - -@dataclass(kw_only=True) -class NamespaceKeyEntry(_SerdeShape): - """ - A namespace variable key definition with optional - `NamespaceKeyValidation` rules. - """ - - key: str - """The namespace variable key name.""" - validation: NamespaceKeyValidation | None = ... - """ - The validation rules that constrain values for this namespace variable - at runtime (`CreateEvent` API). - """ - -@dataclass(kw_only=True) -class NamespaceKeyValidation(_SerdeShape): - """ - The validation rules for namespace variable values. When you specify - multiple rules, the service enforces a logical `AND` across all provided - key-value pairs. - """ - - allowed_values: list[str] | None = ... - """The allowed values for this namespace variable key.""" - regex_pattern: str | None = ... - """A regex pattern that the namespace variable key-value must match.""" - -@dataclass(kw_only=True) -class NetworkConfiguration(_SerdeShape): - """SecurityConfig for the Agent.""" - - network_mode: str - """The network mode for the AgentCore Runtime.""" - network_mode_config: VpcConfig | None = ... - """The network mode configuration for the AgentCore Runtime.""" - -class NetworkMode(UnknownEnumMixin, StrEnum): - PUBLIC = "PUBLIC" - VPC = "VPC" - -@dataclass(kw_only=True) -class NumberValidation(_SerdeShape): - """Validation for NUMBER fields.""" - - min_value: float | None = ... - """Minimum allowed value.""" - max_value: float | None = ... - """Maximum allowed value.""" - -@dataclass(kw_only=True) -class NumericalScaleDefinition(_SerdeShape): - """ - The definition of a numerical rating scale option that provides a - numeric value with its description for evaluation scoring. - """ - - definition: str - """ - The description that explains what this numerical rating represents and - when it should be used. - """ - value: float - """The numerical value for this rating scale option.""" - label: str - """The label or name that describes this numerical rating option.""" - -@dataclass(kw_only=True) -class OAuth2AuthorizationData(_SerdeShape): - """ - OAuth2-specific authorization data, including the authorization URL and - user identifier for the authorization session. - """ - - authorization_url: str - """ - The URL to initiate the authorization process. This URL is provided when - the OAuth2 access token requires user authorization. - """ - user_id: str | None = ... - """ - The user identifier associated with the OAuth2 authorization session - that is defined by AgentCore Gateway. - """ - -@dataclass(kw_only=True) -class Oauth2AuthorizationServerMetadata(_SerdeShape): - """Contains the authorization server metadata for an OAuth2 provider.""" - - issuer: str - """The issuer URL for the OAuth2 authorization server.""" - authorization_endpoint: str - """The authorization endpoint URL for the OAuth2 authorization server.""" - token_endpoint: str - """The token endpoint URL for the OAuth2 authorization server.""" - response_types: list[str] | None = ... - """The supported response types for the OAuth2 authorization server.""" - token_endpoint_auth_methods: list[str] | None = ... - """ - The authentication methods supported by the token endpoint. This - specifies how clients can authenticate when requesting tokens from the - authorization server. - """ - -@dataclass(kw_only=True) -class Oauth2CredentialProviderItem(_SerdeShape): - """Contains information about an OAuth2 credential provider.""" - - name: str - """The name of the OAuth2 credential provider.""" - credential_provider_vendor: str - """The vendor of the OAuth2 credential provider.""" - credential_provider_arn: str - """The Amazon Resource Name (ARN) of the OAuth2 credential provider.""" - created_time: datetime - """The timestamp when the OAuth2 credential provider was created.""" - last_updated_time: datetime - """The timestamp when the OAuth2 credential provider was last updated.""" - -@dataclass -class Oauth2DiscoveryDiscoveryUrl(_SerdeShape): - """The discovery URL for the OAuth2 provider.""" - - value: str - -@dataclass -class Oauth2DiscoveryAuthorizationServerMetadata(_SerdeShape): - """The authorization server metadata for the OAuth2 provider.""" - - value: Oauth2AuthorizationServerMetadata - -@dataclass -class Oauth2DiscoveryUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Oauth2Discovery = Union[ - Oauth2DiscoveryDiscoveryUrl - | Oauth2DiscoveryAuthorizationServerMetadata - | Oauth2DiscoveryUnknown -] -"""Contains the discovery information for an OAuth2 provider.""" - -class _Oauth2DiscoveryDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Oauth2Discovery: ... - -@dataclass -class Oauth2ProviderConfigInputCustomOauth2ProviderConfig(_SerdeShape): - """The configuration for a custom OAuth2 provider.""" - - value: CustomOauth2ProviderConfigInput - -@dataclass -class Oauth2ProviderConfigInputGoogleOauth2ProviderConfig(_SerdeShape): - """The configuration for a Google OAuth2 provider.""" - - value: GoogleOauth2ProviderConfigInput - -@dataclass -class Oauth2ProviderConfigInputGithubOauth2ProviderConfig(_SerdeShape): - """The configuration for a GitHub OAuth2 provider.""" - - value: GithubOauth2ProviderConfigInput - -@dataclass -class Oauth2ProviderConfigInputSlackOauth2ProviderConfig(_SerdeShape): - """The configuration for a Slack OAuth2 provider.""" - - value: SlackOauth2ProviderConfigInput - -@dataclass -class Oauth2ProviderConfigInputSalesforceOauth2ProviderConfig(_SerdeShape): - """The configuration for a Salesforce OAuth2 provider.""" - - value: SalesforceOauth2ProviderConfigInput - -@dataclass -class Oauth2ProviderConfigInputMicrosoftOauth2ProviderConfig(_SerdeShape): - """The configuration for a Microsoft OAuth2 provider.""" - - value: MicrosoftOauth2ProviderConfigInput - -@dataclass -class Oauth2ProviderConfigInputAtlassianOauth2ProviderConfig(_SerdeShape): - """Configuration settings for Atlassian OAuth2 provider integration.""" - - value: AtlassianOauth2ProviderConfigInput - -@dataclass -class Oauth2ProviderConfigInputLinkedinOauth2ProviderConfig(_SerdeShape): - """Configuration settings for LinkedIn OAuth2 provider integration.""" - - value: LinkedinOauth2ProviderConfigInput - -@dataclass -class Oauth2ProviderConfigInputIncludedOauth2ProviderConfig(_SerdeShape): - """ - The configuration for a non-custom OAuth2 provider. This includes - settings for supported OAuth2 providers that have built-in integration - support. - """ - - value: IncludedOauth2ProviderConfigInput - -@dataclass -class Oauth2ProviderConfigInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Oauth2ProviderConfigInput = Union[ - Oauth2ProviderConfigInputCustomOauth2ProviderConfig - | Oauth2ProviderConfigInputGoogleOauth2ProviderConfig - | Oauth2ProviderConfigInputGithubOauth2ProviderConfig - | Oauth2ProviderConfigInputSlackOauth2ProviderConfig - | Oauth2ProviderConfigInputSalesforceOauth2ProviderConfig - | Oauth2ProviderConfigInputMicrosoftOauth2ProviderConfig - | Oauth2ProviderConfigInputAtlassianOauth2ProviderConfig - | Oauth2ProviderConfigInputLinkedinOauth2ProviderConfig - | Oauth2ProviderConfigInputIncludedOauth2ProviderConfig - | Oauth2ProviderConfigInputUnknown -] -"""Contains the input configuration for an OAuth2 provider.""" - -class _Oauth2ProviderConfigInputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> Oauth2ProviderConfigInput: ... - -@dataclass -class Oauth2ProviderConfigOutputCustomOauth2ProviderConfig(_SerdeShape): - """The output configuration for a custom OAuth2 provider.""" - - value: CustomOauth2ProviderConfigOutput - -@dataclass -class Oauth2ProviderConfigOutputGoogleOauth2ProviderConfig(_SerdeShape): - """The output configuration for a Google OAuth2 provider.""" - - value: GoogleOauth2ProviderConfigOutput - -@dataclass -class Oauth2ProviderConfigOutputGithubOauth2ProviderConfig(_SerdeShape): - """The output configuration for a GitHub OAuth2 provider.""" - - value: GithubOauth2ProviderConfigOutput - -@dataclass -class Oauth2ProviderConfigOutputSlackOauth2ProviderConfig(_SerdeShape): - """The output configuration for a Slack OAuth2 provider.""" - - value: SlackOauth2ProviderConfigOutput - -@dataclass -class Oauth2ProviderConfigOutputSalesforceOauth2ProviderConfig(_SerdeShape): - """The output configuration for a Salesforce OAuth2 provider.""" - - value: SalesforceOauth2ProviderConfigOutput - -@dataclass -class Oauth2ProviderConfigOutputMicrosoftOauth2ProviderConfig(_SerdeShape): - """The output configuration for a Microsoft OAuth2 provider.""" - - value: MicrosoftOauth2ProviderConfigOutput - -@dataclass -class Oauth2ProviderConfigOutputAtlassianOauth2ProviderConfig(_SerdeShape): - """The configuration details for the Atlassian OAuth2 provider.""" - - value: AtlassianOauth2ProviderConfigOutput - -@dataclass -class Oauth2ProviderConfigOutputLinkedinOauth2ProviderConfig(_SerdeShape): - """The configuration details for the LinkedIn OAuth2 provider.""" - - value: LinkedinOauth2ProviderConfigOutput - -@dataclass -class Oauth2ProviderConfigOutputIncludedOauth2ProviderConfig(_SerdeShape): - """ - The configuration for a non-custom OAuth2 provider. This includes the - configuration details for supported OAuth2 providers that have built-in - integration support. - """ - - value: IncludedOauth2ProviderConfigOutput - -@dataclass -class Oauth2ProviderConfigOutputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Oauth2ProviderConfigOutput = Union[ - Oauth2ProviderConfigOutputCustomOauth2ProviderConfig - | Oauth2ProviderConfigOutputGoogleOauth2ProviderConfig - | Oauth2ProviderConfigOutputGithubOauth2ProviderConfig - | Oauth2ProviderConfigOutputSlackOauth2ProviderConfig - | Oauth2ProviderConfigOutputSalesforceOauth2ProviderConfig - | Oauth2ProviderConfigOutputMicrosoftOauth2ProviderConfig - | Oauth2ProviderConfigOutputAtlassianOauth2ProviderConfig - | Oauth2ProviderConfigOutputLinkedinOauth2ProviderConfig - | Oauth2ProviderConfigOutputIncludedOauth2ProviderConfig - | Oauth2ProviderConfigOutputUnknown -] -"""Contains the output configuration for an OAuth2 provider.""" - -class _Oauth2ProviderConfigOutputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> Oauth2ProviderConfigOutput: ... - -@dataclass(kw_only=True) -class OAuthCredentialProvider(_SerdeShape): - """ - An OAuth credential provider for gateway authentication. This structure - contains the configuration for authenticating with the target endpoint - using OAuth. - """ - - provider_arn: str - """ - The Amazon Resource Name (ARN) of the OAuth credential provider. This - ARN identifies the provider in Amazon Web Services. - """ - scopes: list[str] - """ - The OAuth scopes for the credential provider. These scopes define the - level of access requested from the OAuth provider. - """ - custom_parameters: dict[str, str] | None = ... - """ - The custom parameters for the OAuth credential provider. These - parameters provide additional configuration for the OAuth authentication - process. - """ - grant_type: str = ... - """ - Specifies the kind of credentials to use for authorization: - - - `CLIENT_CREDENTIALS` - Authorization with a client ID and secret. - - - `AUTHORIZATION_CODE` - Authorization with a token that is specific to - an individual end user. - - - `TOKEN_EXCHANGE` - Authorization using on-behalf-of token exchange. An - inbound user token is exchanged for a downstream access token scoped - to the target audience. - """ - default_return_url: str | None = ... - """ - The URL where the end user's browser is redirected after obtaining the - authorization code. Generally points to the customer's application. - """ - -class OAuthGrantType(UnknownEnumMixin, StrEnum): - CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS" - AUTHORIZATION_CODE = "AUTHORIZATION_CODE" - TOKEN_EXCHANGE = "TOKEN_EXCHANGE" - -@dataclass(kw_only=True) -class OnBehalfOfAuthenticationConfig(_SerdeShape): - """ - Specifies the client authentication method to use for the on-behalf-of - token exchange. - """ - - client_authentication_method: str - """ - The client authentication method to use during the on-behalf-of token - exchange. The `NO_CLIENT` option omits the `clientId` and `clientSecret` - during the on-behalf-of token exchange with the identity provider. - """ - -class OnBehalfOfClientAuthenticationMethod(UnknownEnumMixin, StrEnum): - NO_CLIENT = "NO_CLIENT" - -@dataclass(kw_only=True) -class OnBehalfOfTokenExchangeConfigType(_SerdeShape): - """Configuration for on-behalf-of token exchange.""" - - grant_type: str - """The grant type for the on-behalf-of token exchange.""" - token_exchange_grant_type_config: TokenExchangeGrantTypeConfigType | None = ... - """Configuration specific to the TOKEN_EXCHANGE grant type (RFC 8693).""" - on_behalf_of_authentication_config: OnBehalfOfAuthenticationConfig | None = ... - """ - Specify the client authentication configuration to use for the - on-behalf-of token exchange. With this configuration, you override the - provider level client authentication method for the on-behalf-of - exchange with the identity provider. If you don't specify this - configuration, we use the provider level client authentication method. - """ - -class OnBehalfOfTokenExchangeGrantTypeType(UnknownEnumMixin, StrEnum): - TOKEN_EXCHANGE = "TOKEN_EXCHANGE" - """ - RFC 8693 token exchange, adopted by the majority of identity providers - supporting on-behalf-of flows. - """ - JWT_AUTHORIZATION_GRANT = "JWT_AUTHORIZATION_GRANT" - """RFC 7523 JWT authorization grant, adopted by Microsoft Entra ID.""" - -class OnlineEvaluationConfigStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - DELETING = "DELETING" - ERROR = "ERROR" - -@dataclass(kw_only=True) -class OnlineEvaluationConfigSummary(_SerdeShape): - """ - The summary information about an online evaluation configuration, - including basic metadata and execution status. - """ - - online_evaluation_config_arn: str - """The Amazon Resource Name (ARN) of the online evaluation configuration.""" - online_evaluation_config_id: str - """The unique identifier of the online evaluation configuration.""" - online_evaluation_config_name: str - """The name of the online evaluation configuration.""" - description: str | None = ... - """The description of the online evaluation configuration.""" - status: str - """The status of the online evaluation configuration.""" - execution_status: str - """ - The execution status indicating whether the online evaluation is - currently running. - """ - created_at: datetime - """The timestamp when the online evaluation configuration was created.""" - updated_at: datetime - """The timestamp when the online evaluation configuration was last updated.""" - failure_reason: str | None = ... - """ - The reason for failure if the online evaluation configuration execution - failed. - """ - insights: list[Insight] | None = ... - """The list of insight types configured for this evaluation.""" - clustering_config: ClusteringConfig | None = ... - """The clustering configuration for periodic batch evaluation.""" - -class OnlineEvaluationExecutionStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class OpenResponsesEvaluatorModelConfig(_SerdeShape): - """ - The configuration for using models served through the OpenResponses API - in evaluator assessments, including model selection and inference - parameters. - """ - - model_id: str - """The identifier of the model to use for evaluation.""" - max_output_tokens: int | None = ... - """ - The maximum number of tokens to generate in the model response, - including visible output and reasoning tokens. - """ - temperature: float | None = ... - """ - The temperature value that controls randomness in the model's - responses. Lower values produce more deterministic outputs. - """ - top_p: float | None = ... - """ - The top-p sampling parameter that controls the diversity of the model's - responses by limiting the cumulative probability of token choices. - """ - reasoning: ReasoningConfiguration | None = ... - """ - The reasoning configuration for reasoning models. Non-reasoning models - ignore this configuration. - """ - -class OperatingSystem(UnknownEnumMixin, StrEnum): - """ - The operating system and CPU architecture for capacity provider - instances. - """ - - LINUX_X86_64 = "LINUX_X86_64" - LINUX_ARM64 = "LINUX_ARM64" - -@dataclass(kw_only=True) -class OutputConfig(_SerdeShape): - """ - The configuration that specifies where evaluation results should be - written for monitoring and analysis. - """ - - cloud_watch_config: CloudWatchOutputConfig - """ - The CloudWatch configuration for writing evaluation results to - CloudWatch logs with embedded metric format. - """ - -class OverrideType(UnknownEnumMixin, StrEnum): - SEMANTIC_OVERRIDE = "SEMANTIC_OVERRIDE" - SUMMARY_OVERRIDE = "SUMMARY_OVERRIDE" - USER_PREFERENCE_OVERRIDE = "USER_PREFERENCE_OVERRIDE" - SELF_MANAGED = "SELF_MANAGED" - EPISODIC_OVERRIDE = "EPISODIC_OVERRIDE" - -class PassthroughProtocolType(UnknownEnumMixin, StrEnum): - MCP = "MCP" - A2_A = "A2A" - INFERENCE = "INFERENCE" - CUSTOM = "CUSTOM" - -@dataclass(kw_only=True) -class PassthroughTargetConfiguration(_SerdeShape): - """ - The configuration for an HTTP passthrough target. A passthrough target - forwards requests directly to an external HTTP endpoint. - """ - - endpoint: str - """ - The HTTPS endpoint that the gateway forwards requests to for this - passthrough target. - """ - protocol_type: str - """ - The application protocol that the passthrough target implements. This - value is required for passthrough targets: - - - `MCP` - The Model Context Protocol. - - - `A2A` - The Agent-to-Agent protocol. - - - `INFERENCE` - The protocol for routing requests to a large language - model (LLM) provider. - - - `CUSTOM` - A custom application protocol. - """ - schema: HttpApiSchemaConfiguration | None = ... - """ - The API schema configuration that defines the structure of the - passthrough target's API. - """ - stickiness_configuration: StickinessConfiguration | None = ... - """ - The session stickiness configuration for the passthrough target. This - configuration routes requests within the same session to the same - target. - """ - static_query_parameters: dict[str, str] | None = ... - """ - A map of static query parameters that the gateway always appends to the - outbound URL when forwarding requests to the target. The total outbound - URL length, which includes the endpoint and the percent-encoded query - parameters, is enforced by the service. - """ - static_query_parameter_conflict_resolution: str | None = ... - """ - Controls precedence when a client request supplies a query parameter - whose name matches a configured static query parameter. If not set, - defaults to `CLIENT_OVERRIDE`: - - - `CLIENT_OVERRIDE` - The client-supplied value overrides the configured - static value for that parameter name. - - - `STATIC_OVERRIDE` - The configured static value is retained, - overriding the client-supplied value for that parameter name. - """ - -class PaymentConnectorProvisionMode(UnknownEnumMixin, StrEnum): - MANUAL = "MANUAL" - QUICK_CREATE = "QUICK_CREATE" - -class PaymentConnectorStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - UPDATING = "UPDATING" - DELETING = "DELETING" - READY = "READY" - CREATE_FAILED = "CREATE_FAILED" - UPDATE_FAILED = "UPDATE_FAILED" - DELETE_FAILED = "DELETE_FAILED" - AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED = "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED" - PENDING_AUTHENTICATION = "PENDING_AUTHENTICATION" - PROVISIONING = "PROVISIONING" - AUTHENTICATION_EXPIRED = "AUTHENTICATION_EXPIRED" - AUTHENTICATION_FAILED = "AUTHENTICATION_FAILED" - -@dataclass(kw_only=True) -class PaymentConnectorSummary(_SerdeShape): - """Contains summary information about a payment connector.""" - - payment_connector_id: str - """The unique identifier of the payment connector.""" - name: str - """The name of the payment connector.""" - type: str - """ - The type of the payment connector, which determines the payment provider - integration. - """ - provision_mode: str | None = ... - """ - Specifies how the payment connector was provisioned. Payment connectors - that were created before this field was available return `MANUAL`. - - - `MANUAL` - You provided the credential provider configurations, so you - own the credentials. - - - `QUICK_CREATE` - AgentCore provisioned the credential provider for - you, so the credentials are service-managed and you can rotate them - with `RotatePaymentConnectorCredentials`. - """ - status: str - """ - The current status of the payment connector. Possible values include - `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, - `UPDATE_FAILED`, and `DELETE_FAILED`. - """ - last_updated_at: datetime - """The timestamp when the payment connector was last updated.""" - -class PaymentConnectorType(UnknownEnumMixin, StrEnum): - COINBASE_CDP = "CoinbaseCDP" - STRIPE_PRIVY = "StripePrivy" - -@dataclass(kw_only=True) -class PaymentCredentialProviderConfiguration(_SerdeShape): - """ - Configuration for a payment credential provider that stores - authentication credentials for a payment provider. - """ - - credential_provider_arn: str - """ - The Amazon Resource Name (ARN) of the credential provider that stores - the authentication credentials for the payment provider. - """ - -@dataclass(kw_only=True) -class PaymentCredentialProviderItem(_SerdeShape): - """Contains summary information about a payment credential provider.""" - - name: str - """The name of the payment credential provider.""" - credential_provider_vendor: str - """The vendor type for the payment credential provider.""" - credential_provider_arn: str - """The Amazon Resource Name (ARN) of the payment credential provider.""" - created_time: datetime - """The timestamp when the payment credential provider was created.""" - last_updated_time: datetime - """The timestamp when the payment credential provider was last updated.""" - -class PaymentCredentialProviderVendorType(UnknownEnumMixin, StrEnum): - """ - Supported vendor types for payment providers using non-standard auth - protocols. - """ - - COINBASE_CDP = "CoinbaseCDP" - """Coinbase Developer Platform.""" - STRIPE_PRIVY = "StripePrivy" - """Stripe and Privy.""" - -class PaymentManagerStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - UPDATING = "UPDATING" - DELETING = "DELETING" - READY = "READY" - CREATE_FAILED = "CREATE_FAILED" - UPDATE_FAILED = "UPDATE_FAILED" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class PaymentManagerSummary(_SerdeShape): - """Contains summary information about a payment manager.""" - - payment_manager_arn: str - """The Amazon Resource Name (ARN) of the payment manager.""" - payment_manager_id: str - """The unique identifier of the payment manager.""" - name: str - """The name of the payment manager.""" - description: str | None = ... - """The description of the payment manager.""" - authorizer_type: str - """ - The type of authorizer used by the payment manager. - - - `CUSTOM_JWT` - Authorize with a bearer token. - - - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. - """ - role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role associated with the - payment manager. - """ - status: str - """ - The current status of the payment manager. Possible values include - `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, - `UPDATE_FAILED`, and `DELETE_FAILED`. - """ - created_at: datetime | None = ... - """The timestamp when the payment manager was created.""" - last_updated_at: datetime - """The timestamp when the payment manager was last updated.""" - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive - payment manager data at rest, if configured. - """ - -@dataclass -class PaymentProviderConfigurationInputCoinbaseCdpConfiguration(_SerdeShape): - """The Coinbase CDP configuration.""" - - value: CoinbaseCdpConfigurationInput - -@dataclass -class PaymentProviderConfigurationInputStripePrivyConfiguration(_SerdeShape): - """The Stripe Privy configuration.""" - - value: StripePrivyConfigurationInput - -@dataclass -class PaymentProviderConfigurationInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PaymentProviderConfigurationInput = Union[ - PaymentProviderConfigurationInputCoinbaseCdpConfiguration - | PaymentProviderConfigurationInputStripePrivyConfiguration - | PaymentProviderConfigurationInputUnknown -] -""" -Provider configuration input --- contains secrets for creation and -update. Varies by vendor type. -""" - -class _PaymentProviderConfigurationInputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> PaymentProviderConfigurationInput: ... - -@dataclass -class PaymentProviderConfigurationOutputCoinbaseCdpConfiguration(_SerdeShape): - """The Coinbase CDP configuration.""" - - value: CoinbaseCdpConfigurationOutput - -@dataclass -class PaymentProviderConfigurationOutputStripePrivyConfiguration(_SerdeShape): - """The Stripe Privy configuration.""" - - value: StripePrivyConfigurationOutput - -@dataclass -class PaymentProviderConfigurationOutputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PaymentProviderConfigurationOutput = Union[ - PaymentProviderConfigurationOutputCoinbaseCdpConfiguration - | PaymentProviderConfigurationOutputStripePrivyConfiguration - | PaymentProviderConfigurationOutputUnknown -] -""" -Provider configuration output --- no raw secrets, only ARNs. Varies by -vendor type. -""" - -class _PaymentProviderConfigurationOutputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> PaymentProviderConfigurationOutput: ... - -class PaymentsAuthorizerType(UnknownEnumMixin, StrEnum): - CUSTOM_JWT = "CUSTOM_JWT" - AWS_IAM = "AWS_IAM" - -class Period(UnknownEnumMixin, StrEnum): - """The time period for rate limiting.""" - - SECOND = "second" - MINUTE = "minute" - -@dataclass(kw_only=True) -class PermissionsConfiguration(_SerdeShape): - """ - The permissions configuration for a capacity provider. This specifies - the IAM role that AgentCore uses to manage the Amazon EC2 instances for - the capacity provider on your behalf. - """ - - capacity_provider_operator_role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role that AgentCore assumes to - manage the capacity provider, including launching, tagging, and - terminating instances and their network interfaces. We recommend scoping - this role to the minimum permissions that your workloads require. - """ - -@dataclass(kw_only=True) -class Policy(_SerdeShape): - """ - Represents a complete policy resource within the AgentCore Policy - system. Policies are ARN-able resources that contain Cedar or Dogwood - policy statements and associated metadata for controlling agent behavior - and access decisions. Each policy belongs to a policy engine and defines - fine-grained authorization rules that are evaluated in real-time as - agents interact with tools through Gateway. Policies use Cedar or - Dogwood to specify who (principals based on OAuth claims like username, - role, or scope) can perform what actions (tool calls) on which resources - (Gateways), with optional conditions for attribute-based access control. - Multiple policies can apply to a single request, with forbid-wins - semantics ensuring that security restrictions are never accidentally - overridden. - """ - - policy_id: str - """ - The unique identifier for the policy. This system-generated identifier - consists of the user name plus a 10-character generated suffix and - serves as the primary key for policy operations. - """ - name: str - """ - The customer-assigned immutable name for the policy. This human-readable - identifier must be unique within the account and cannot exceed 48 - characters. - """ - policy_engine_id: str - """ - The identifier of the policy engine that manages this policy. This - establishes the policy engine context for policy evaluation and - management. - """ - created_at: datetime - """ - The timestamp when the policy was originally created. This is - automatically set by the service and used for auditing and lifecycle - management. - """ - updated_at: datetime - """ - The timestamp when the policy was last modified. This tracks the most - recent changes to the policy configuration or metadata. - """ - policy_arn: str - """ - The Amazon Resource Name (ARN) of the policy. This globally unique - identifier can be used for cross-service references and IAM policy - statements. - """ - status: str - """The current status of the policy.""" - enforcement_mode: str = ... - """The current enforcement mode of the policy.""" - definition: PolicyDefinition - """ - The Cedar or Dogwood policy statement that defines the access control - rules. This contains the actual policy logic used for agent behavior - control and access decisions. - """ - description: str | None = ... - """ - A human-readable description of the policy's purpose and functionality. - Limited to 4,096 characters, this helps administrators understand and - manage the policy. - """ - status_reasons: list[str] - """ - Additional information about the policy status. This provides details - about any failures or the current state of the policy lifecycle. - """ - -@dataclass -class PolicyDefinitionCedar(_SerdeShape): - """ - The Cedar policy definition within the policy definition structure. This - contains the Cedar policy statement that defines the authorization logic - using Cedar's human-readable, analyzable policy language. Cedar - policies specify principals (who can access), actions (what operations - are allowed), resources (what can be accessed), and optional conditions - for fine-grained control. Cedar provides a formal policy language - designed for authorization with deterministic evaluation, making - policies testable, reviewable, and auditable. All Cedar policies follow - a default-deny model where actions are denied unless explicitly - permitted, and forbid policies always override permit policies. - """ - - value: CedarPolicy - -@dataclass -class PolicyDefinitionPolicyGeneration(_SerdeShape): - """ - The generated policy asset information within the policy definition - structure. This contains information identifying a generated policy - asset from the AI-powered policy generation process within the AgentCore - Policy system. Each asset contains a Dogwood policy statement generated - from natural language input, along with associated metadata and analysis - findings to help users evaluate and select the most appropriate policy - option. - """ - - value: PolicyGenerationDetails - -@dataclass -class PolicyDefinitionPolicy(_SerdeShape): - """ - The Dogwood policy statement that defines the access control rules. This - policy definition can include Dogwood policies and supports temporal - conditions and information providers such as guardrails. - """ - - value: PolicyStatement - -@dataclass -class PolicyDefinitionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PolicyDefinition = Union[ - PolicyDefinitionCedar - | PolicyDefinitionPolicyGeneration - | PolicyDefinitionPolicy - | PolicyDefinitionUnknown -] -""" -Represents the definition structure for policies within the AgentCore -Policy system. This structure encapsulates different policy formats and -languages that can be used to define access control rules. -""" - -class _PolicyDefinitionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PolicyDefinition: ... - -@dataclass(kw_only=True) -class PolicyEngine(_SerdeShape): - """ - Represents a policy engine resource within the AgentCore Policy system. - Policy engines serve as containers for grouping related policies and - provide the execution context for policy evaluation and management. Each - policy engine can be associated with one Gateway (one engine per - Gateway), where it intercepts all agent tool calls and evaluates them - against the contained policies before allowing tools to execute. The - policy engine maintains the Cedar schema generated from the Gateway's - tool manifest, ensuring that policies are validated against the actual - tools and parameters available. Policy engines support two enforcement - modes that can be configured when associating with a Gateway: log-only - mode for testing (evaluates decisions without blocking) and enforce mode - for production (actively allows or denies based on policy evaluation). - """ - - policy_engine_id: str - """ - The unique identifier for the policy engine. This system-generated - identifier consists of the user name plus a 10-character generated - suffix and serves as the primary key for policy engine operations. - """ - name: str - """ - The customer-assigned immutable name for the policy engine. This - human-readable identifier must be unique within the account and cannot - exceed 48 characters. - """ - created_at: datetime - """ - The timestamp when the policy engine was originally created. This is - automatically set by the service and used for auditing and lifecycle - management. - """ - updated_at: datetime - """ - The timestamp when the policy engine was last modified. This tracks the - most recent changes to the policy engine configuration or metadata. - """ - policy_engine_arn: str - """ - The Amazon Resource Name (ARN) of the policy engine. This globally - unique identifier can be used for cross-service references and IAM - policy statements. - """ - status: str - """The current status of the policy engine.""" - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy - engine data. - """ - description: str | None = ... - """ - A human-readable description of the policy engine's purpose and scope. - Limited to 4,096 characters, this helps administrators understand the - policy engine's role in the overall governance strategy. - """ - status_reasons: list[str] - """ - Additional information about the policy engine status. This provides - details about any failures or the current state of the policy engine - lifecycle. - """ - -class PolicyEngineStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - UPDATING = "UPDATING" - DELETING = "DELETING" - CREATE_FAILED = "CREATE_FAILED" - UPDATE_FAILED = "UPDATE_FAILED" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class PolicyEngineSummary(_SerdeShape): - """ - Represents a metadata-only summary of a policy engine resource. This - structure contains resource identifiers, status, and timestamps without - customer-encrypted fields such as description or status reasons. Policy - engine summaries are returned by operations that do not require access - to the customer's KMS key. - """ - - policy_engine_id: str - """The unique identifier for the policy engine.""" - name: str - """The customer-assigned name of the policy engine.""" - created_at: datetime - """The timestamp when the policy engine was originally created.""" - updated_at: datetime - """The timestamp when the policy engine was last modified.""" - policy_engine_arn: str - """The Amazon Resource Name (ARN) of the policy engine.""" - status: str - """The current status of the policy engine.""" - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy - engine data. - """ - -@dataclass(kw_only=True) -class PolicyGeneration(_SerdeShape): - """ - Represents a policy generation request within the AgentCore Policy - system. Tracks the AI-powered conversion of natural language - descriptions into Dogwood policy statements, enabling users to author - policies by describing authorization requirements in plain English. The - generation process analyzes the natural language input along with the - Gateway's tool context and Cedar schema to produce one or more - validated policy options. Each generation request tracks the status of - the conversion process and maintains findings about the generated - policies, including validation results and potential issues. Generated - policy assets remain available for one week after successful generation, - allowing time to review and create policies from the generated options. - """ - - policy_engine_id: str - """ - The identifier of the policy engine associated with this generation - request. - """ - policy_generation_id: str - """The unique identifier for this policy generation request.""" - name: str - """The customer-assigned name for this policy generation request.""" - policy_generation_arn: str - """The ARN of this policy generation request.""" - resource: Resource - """The resource information associated with this policy generation.""" - created_at: datetime - """The timestamp when this policy generation request was created.""" - updated_at: datetime - """The timestamp when this policy generation was last updated.""" - status: str - """The current status of this policy generation request.""" - findings: str | None = ... - """Findings and insights from this policy generation process.""" - status_reasons: list[str] - """Additional information about the generation status.""" - -@dataclass(kw_only=True) -class PolicyGenerationAsset(_SerdeShape): - """ - Represents a generated policy asset from the AI-powered policy - generation process within the AgentCore Policy system. Each asset - contains a Dogwood policy statement generated from natural language - input, along with associated metadata and analysis findings to help - users evaluate and select the most appropriate policy option. - """ - - policy_generation_asset_id: str - """ - The unique identifier for this generated policy asset within the policy - generation request. This ID can be used to reference specific generated - policy options when creating actual policies from the generation - results. - """ - definition: PolicyDefinition | None = ... - """ - Represents the definition structure for policies within the AgentCore - Policy system. This structure encapsulates different policy formats and - languages that can be used to define access control rules. - """ - raw_text_fragment: str - """ - The portion of the original natural language input that this generated - policy asset addresses. This helps users understand which part of their - policy description was translated into this specific Dogwood policy - statement, enabling better policy selection and refinement. When a - single natural language input describes multiple authorization - requirements, the generation process creates separate policy assets for - each requirement, with each asset's rawTextFragment showing which - requirement it addresses. Use this mapping to verify that all parts of - your natural language input were correctly translated into Dogwood - policies. - """ - findings: list[Finding] - """ - Analysis findings and insights related to this specific generated policy - asset. These findings may include validation results, potential issues, - or recommendations for improvement to help users evaluate the quality - and appropriateness of the generated policy. - """ - -@dataclass(kw_only=True) -class PolicyGenerationDetails(_SerdeShape): - """ - Represents the information identifying a generated policy asset from the - AI-powered policy generation process within the AgentCore Policy system. - Each asset contains a Dogwood policy statement generated from natural - language input, along with associated metadata and analysis findings to - help users evaluate and select the most appropriate policy option. - """ - - policy_generation_id: str - """The unique identifier for this policy generation request.""" - policy_generation_asset_id: str - """ - The unique identifier for this generated policy asset within the policy - generation request. - """ - -class PolicyGenerationStatus(UnknownEnumMixin, StrEnum): - GENERATING = "GENERATING" - GENERATED = "GENERATED" - GENERATE_FAILED = "GENERATE_FAILED" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class PolicyGenerationSummary(_SerdeShape): - """ - Represents a metadata-only summary of a policy generation resource. This - structure contains resource identifiers, status, timestamps, and - findings without customer-encrypted fields such as status reasons. - Policy generation summaries are returned by operations that do not - require access to the customer's KMS key. - """ - - policy_engine_id: str - """ - The identifier of the policy engine associated with this generation - request. - """ - policy_generation_id: str - """The unique identifier for this policy generation request.""" - name: str - """The customer-assigned name for this policy generation request.""" - policy_generation_arn: str - """The ARN of this policy generation request.""" - resource: Resource - """The resource information associated with this policy generation.""" - created_at: datetime - """The timestamp when this policy generation request was created.""" - updated_at: datetime - """The timestamp when this policy generation was last updated.""" - status: str - """The current status of this policy generation request.""" - findings: str | None = ... - """Findings and insights from this policy generation process.""" - -@dataclass(kw_only=True) -class PolicyStatement(_SerdeShape): - """ - An AgentCore Cedar or Dogwood policy statement, which supports plain - Cedar policies, temporal policies, and guardrails definitions. - """ - - statement: str - """ - The body of the AgentCore Cedar or Dogwood policy statement. Contains - the policy logic, which can be a Cedar policy, a temporal policy, or a - guardrails definition. - """ - -class PolicyStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - UPDATING = "UPDATING" - DELETING = "DELETING" - CREATE_FAILED = "CREATE_FAILED" - UPDATE_FAILED = "UPDATE_FAILED" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class PolicySummary(_SerdeShape): - """ - Represents a metadata-only summary of a policy resource. This structure - contains resource identifiers, status, and timestamps without - customer-encrypted fields such as definition, description, or status - reasons. Policy summaries are returned by operations that do not require - access to the customer's KMS key. - """ - - policy_id: str - """The unique identifier for the policy.""" - name: str - """The customer-assigned name of the policy.""" - policy_engine_id: str - """The identifier of the policy engine that manages this policy.""" - created_at: datetime - """The timestamp when the policy was originally created.""" - updated_at: datetime - """The timestamp when the policy was last modified.""" - policy_arn: str - """The Amazon Resource Name (ARN) of the policy.""" - status: str - """The current status of the policy.""" - enforcement_mode: str = ... - """The current enforcement mode of the policy.""" - -class PolicyValidationMode(UnknownEnumMixin, StrEnum): - FAIL_ON_ANY_FINDINGS = "FAIL_ON_ANY_FINDINGS" - IGNORE_ALL_FINDINGS = "IGNORE_ALL_FINDINGS" - -@dataclass(kw_only=True) -class PortRange(_SerdeShape): - """ - An inclusive range of ports. The value of `from` must be less than or - equal to the value of `to`. - """ - - from_: int - """The first port in the inclusive range.""" - to: int - """The last port in the inclusive range.""" - -class PrincipalMatchOperator(UnknownEnumMixin, StrEnum): - STRING_EQUALS = "StringEquals" - STRING_LIKE = "StringLike" - -@dataclass -class PrivateEndpointSelfManagedLatticeResource(_SerdeShape): - """ - Configuration for connecting to a private resource using a self-managed - VPC Lattice resource configuration. - """ - - value: SelfManagedLatticeResource - -@dataclass -class PrivateEndpointManagedVpcResource(_SerdeShape): - """ - Configuration for connecting to a private resource using a managed VPC - Lattice resource. The gateway creates and manages the VPC Lattice - resources on your behalf. - """ - - value: ManagedVpcResource - -@dataclass -class PrivateEndpointUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PrivateEndpoint = Union[ - PrivateEndpointSelfManagedLatticeResource - | PrivateEndpointManagedVpcResource - | PrivateEndpointUnknown -] -""" -The private endpoint configuration for a gateway target. Defines how the -gateway connects to private resources in your VPC. -""" - -class _PrivateEndpointDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PrivateEndpoint: ... - -@dataclass(kw_only=True) -class PrivateEndpointOverride(_SerdeShape): - """ - A mapping of a specific domain to a private endpoint for secure - connectivity through a VPC Lattice resource configuration. - """ - - domain: str - """The domain to override with a private endpoint.""" - private_endpoint: PrivateEndpoint - """The private endpoint configuration for the specified domain.""" - -@dataclass(kw_only=True) -class PrivateKeyJwtConfig(_SerdeShape): - """The private key configuration for private_key_jwt client authentication.""" - - private_key_source: PrivateKeySource | None = ... - """The private key source for the JWT client assertion.""" - signing_algorithm: str | None = ... - """ - The algorithm used to sign the JWT client assertion. Valid values are - `RS256`, `PS256`, and `ES256`. - """ - additional_header_claims: dict[str, str] | None = ... - """ - A map of additional claims to include in the JWT client assertion - header. Standard header claims such as `alg` and `typ` cannot be added. - """ - additional_payload_claims: dict[str, str] | None = ... - """ - A map of additional claims to include in the JWT client assertion - payload. Payload claims generated by the service, such as `iss`, `sub`, - `jti`, and `exp`, cannot be added. - """ - -@dataclass -class PrivateKeySourceKmsKeySource(_SerdeShape): - """The KMS key source for the JWT client assertion.""" - - value: KmsKeySourceType - -@dataclass -class PrivateKeySourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PrivateKeySource = Union[PrivateKeySourceKmsKeySource | PrivateKeySourceUnknown] -""" -Contains the private key source configuration for a JWT client -assertion. -""" - -class _PrivateKeySourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PrivateKeySource: ... - -@dataclass(kw_only=True) -class ProtocolConfiguration(_SerdeShape): - """ - The protocol configuration for an agent runtime. This structure defines - how the agent runtime communicates with clients. - """ - - server_protocol: str - """ - The server protocol for the agent runtime. This field specifies which - protocol the agent runtime uses to communicate with clients. - """ - port: int | None = ... - """ - The port on which the agent server listens. The port must be between - `8000` and `12000`, excluding the reserved port `8443`. When this field - is omitted, the default is `8080` for `HTTP` and `AGUI`, `8000` for - `MCP`, and `9000` for `A2A`. - """ - path: str | None = ... - """ - The path on which the agent server accepts requests. The path must begin - with `/`. When this field is omitted, the default is `/invocations` for - `HTTP` and `AGUI`, `/mcp` for `MCP`, and `/` for `A2A`. - """ - -class Provider(UnknownEnumMixin, StrEnum): - AWS = "AWS" - DEEP_EVAL = "DeepEval" - AUTO_EVAL = "AutoEval" - CUSTOM = "Custom" - -@dataclass(kw_only=True) -class ProviderPrefix(_SerdeShape): - """ - The configuration that controls how a provider prefix is applied to - model IDs during translation. - """ - - strip: bool = ... - """ - Whether clients can omit the provider prefix from model IDs. If `true`, - the gateway accepts model IDs without the prefix and restores the full - prefixed form before forwarding to the provider. The default is `false`. - """ - separator: str = ... - """ - The single character that separates the provider prefix from the model - name (for example, `.`). The default is `.`. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyInput(_SerdeShape): - """Dataclass for PutResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource for which to create or - update the resource policy. - """ - policy: str | None = ... - """The resource policy to create or update.""" - -@dataclass(kw_only=True) -class PutResourcePolicyOutput(_SerdeShape): - """Dataclass for PutResourcePolicyOutput structure.""" - - policy: str - """The resource policy that was created or updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RateConfig(_SerdeShape): - """ - Contains the rate configuration for a rate limit metric, specifying the - allowed rate and time period. - """ - - rate: float - """ - The rate value for the limit. For request limits, this is the number of - requests allowed per period. For token limits, this is the number of - tokens allowed per period. For connection limits, this is the number of - concurrent connections allowed. - """ - period: str - """ - The time period for the rate limit. Valid values: - - - `second`---Measures the rate limit over a one-second window. - - - `minute`---Measures the rate limit over a one-minute window. - """ - -@dataclass -class RatingScaleNumerical(_SerdeShape): - """ - The numerical rating scale with defined score values and descriptions - for quantitative evaluation. - """ - - value: list[NumericalScaleDefinition] - -@dataclass -class RatingScaleCategorical(_SerdeShape): - """ - The categorical rating scale with named categories and definitions for - qualitative evaluation. - """ - - value: list[CategoricalScaleDefinition] - -@dataclass -class RatingScaleMultiDimensional(_SerdeShape): - """ - A list of dimensions that lets an LLM-as-a-judge evaluator score several - dimensions of the same target in a single evaluation. Each dimension has - its own instruction and rating scale, and produces its own result. - """ - - value: list[EvaluationDimension] - -@dataclass -class RatingScaleUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RatingScale = Union[ - RatingScaleNumerical - | RatingScaleCategorical - | RatingScaleMultiDimensional - | RatingScaleUnknown -] -""" -The rating scale that defines how evaluators should score agent -performance, supporting both numerical and categorical scales. -""" - -class _RatingScaleDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RatingScale: ... - -@dataclass(kw_only=True) -class ReasoningConfiguration(_SerdeShape): - """ - The reasoning configuration that controls how a reasoning model - allocates effort during evaluation. - """ - - effort: str | None = ... - """ - The level of reasoning effort the model applies when generating a - response. For supported values, see the model provider's documentation. - """ - -class RecordExpiryAction(UnknownEnumMixin, StrEnum): - """ - The action to apply to a strategy's record expiry (long-term memory - time-to-live) configuration. `REMOVE` removes a previously configured - time-to-live; newer records no longer have a time-to-live set and do not - expire. - """ - - REMOVE = "REMOVE" - -@dataclass -class RecordExpirySpecificationRecordExpiryDurationDays(_SerdeShape): - """ - The duration, in days, after which memory records generated by this - strategy expire. The minimum is 31 days. - """ - - value: int - -@dataclass -class RecordExpirySpecificationAction(_SerdeShape): - """ - The action to apply to the existing record expiry (long-term memory - time-to-live) configuration. Set to `REMOVE` to remove a previously - configured time-to-live so that newer records no longer expire. This - value is not applicable on create paths. - """ - - value: str - -@dataclass -class RecordExpirySpecificationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RecordExpirySpecification = Union[ - RecordExpirySpecificationRecordExpiryDurationDays - | RecordExpirySpecificationAction - | RecordExpirySpecificationUnknown -] -""" -Specifies the record expiry (long-term memory time-to-live) for a memory -strategy. Provide exactly one of `recordExpiryDurationDays` or `action`. -Set `recordExpiryDurationDays` to configure or update the time-to-live, -or set `action` to `REMOVE` to remove a previously configured -time-to-live. -""" - -class _RecordExpirySpecificationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RecordExpirySpecification: ... - -@dataclass(kw_only=True) -class RecordingConfig(_SerdeShape): - """ - The recording configuration for a browser. This structure defines how - browser sessions are recorded. - """ - - enabled: bool = ... - """ - Indicates whether recording is enabled for the browser. When set to - true, browser sessions are recorded. - """ - s3_location: S3Location | None = ... - """ - The Amazon S3 location where browser recordings are stored. This - location contains the recorded browser sessions. - """ - -@dataclass -class ReflectionConfigurationCustomReflectionConfiguration(_SerdeShape): - """The configuration for a custom reflection strategy.""" - - value: CustomReflectionConfiguration - -@dataclass -class ReflectionConfigurationEpisodicReflectionConfiguration(_SerdeShape): - """The configuration for the episodic reflection strategy.""" - - value: EpisodicReflectionConfiguration - -@dataclass -class ReflectionConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ReflectionConfiguration = Union[ - ReflectionConfigurationCustomReflectionConfiguration - | ReflectionConfigurationEpisodicReflectionConfiguration - | ReflectionConfigurationUnknown -] -"""Contains reflection configuration information for a memory strategy.""" - -class _ReflectionConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ReflectionConfiguration: ... - -class RegistryAuthorizerType(UnknownEnumMixin, StrEnum): - CUSTOM_JWT = "CUSTOM_JWT" - AWS_IAM = "AWS_IAM" - -@dataclass(kw_only=True) -class RegistryRecordCredentialProviderConfiguration(_SerdeShape): - """ - A pairing of a credential provider type with its corresponding provider - details for authenticating with external sources. - """ - - credential_provider_type: str - """ - The type of credential provider. - - - `OAUTH` - OAuth-based authentication. - - - `IAM` - Amazon Web Services IAM-based authentication using SigV4 - signing. - """ - credential_provider: RegistryRecordCredentialProviderUnion - """ - The credential provider configuration details. The structure depends on - the `credentialProviderType`. - """ - -class RegistryRecordCredentialProviderType(UnknownEnumMixin, StrEnum): - OAUTH = "OAUTH" - IAM = "IAM" - -@dataclass -class RegistryRecordCredentialProviderUnionOauthCredentialProvider(_SerdeShape): - """ - The OAuth credential provider configuration for authenticating with the - external source. - """ - - value: RegistryRecordOAuthCredentialProvider - -@dataclass -class RegistryRecordCredentialProviderUnionIamCredentialProvider(_SerdeShape): - """ - The IAM credential provider configuration for authenticating with the - external source using SigV4 signing. - """ - - value: RegistryRecordIamCredentialProvider - -@dataclass -class RegistryRecordCredentialProviderUnionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RegistryRecordCredentialProviderUnion = Union[ - RegistryRecordCredentialProviderUnionOauthCredentialProvider - | RegistryRecordCredentialProviderUnionIamCredentialProvider - | RegistryRecordCredentialProviderUnionUnknown -] -""" -Union of supported credential provider types for registry record -synchronization. -""" - -class _RegistryRecordCredentialProviderUnionDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RegistryRecordCredentialProviderUnion: ... - -@dataclass(kw_only=True) -class RegistryRecordIamCredentialProvider(_SerdeShape): - """ - IAM credential provider configuration for authenticating with an - external source using SigV4 signing during synchronization. - """ - - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role to assume for SigV4 - signing. - """ - service: str | None = ... - """ - The SigV4 signing service name (for example, `execute-api` or - `bedrock-agentcore`). - """ - region: str | None = ... - """ - The Amazon Web Services region for SigV4 signing (for example, - `us-west-2`). If not specified, the region is extracted from the MCP - server URL hostname, with fallback to the service's own region. - """ - -@dataclass(kw_only=True) -class RegistryRecordOAuthCredentialProvider(_SerdeShape): - """ - OAuth credential provider configuration for authenticating with an - external source during synchronization. - """ - - provider_arn: str - """ - The Amazon Resource Name (ARN) of the OAuth credential provider - resource. - """ - grant_type: str | None = ... - """The OAuth grant type. Currently only `CLIENT_CREDENTIALS` is supported.""" - scopes: list[str] | None = ... - """The OAuth scopes to request during authentication.""" - custom_parameters: dict[str, str] | None = ... - """Additional custom parameters for the OAuth flow.""" - -class RegistryRecordOAuthGrantType(UnknownEnumMixin, StrEnum): - CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS" - -class RegistryRecordStatus(UnknownEnumMixin, StrEnum): - DRAFT = "DRAFT" - PENDING_APPROVAL = "PENDING_APPROVAL" - APPROVED = "APPROVED" - REJECTED = "REJECTED" - DEPRECATED = "DEPRECATED" - CREATING = "CREATING" - UPDATING = "UPDATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATE_FAILED = "UPDATE_FAILED" - -@dataclass(kw_only=True) -class RegistryRecordSummary(_SerdeShape): - """Contains summary information about a registry record.""" - - registry_arn: str - """The Amazon Resource Name (ARN) of the registry that contains the record.""" - record_arn: str - """The Amazon Resource Name (ARN) of the registry record.""" - record_id: str - """The unique identifier of the registry record.""" - name: str - """The name of the registry record.""" - description: str | None = ... - """The description of the registry record.""" - descriptor_type: str - """ - The descriptor type of the registry record. Possible values are `MCP`, - `A2A`, `CUSTOM`, and `AGENT_SKILLS`. - """ - record_version: str - """The version of the registry record.""" - status: str - """ - The current status of the registry record. Possible values include - `CREATING`, `DRAFT`, `APPROVED`, `PENDING_APPROVAL`, `REJECTED`, - `DEPRECATED`, `UPDATING`, `CREATE_FAILED`, and `UPDATE_FAILED`. - """ - created_at: datetime - """The timestamp when the registry record was created.""" - updated_at: datetime - """The timestamp when the registry record was last updated.""" - -class RegistryStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - READY = "READY" - UPDATING = "UPDATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATE_FAILED = "UPDATE_FAILED" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class RegistrySummary(_SerdeShape): - """Contains summary information about a registry.""" - - name: str - """The name of the registry.""" - description: str | None = ... - """The description of the registry.""" - registry_id: str - """The unique identifier of the registry.""" - registry_arn: str - """The Amazon Resource Name (ARN) of the registry.""" - authorizer_type: str | None = ... - """ - The type of authorizer used by the registry. This controls the - authorization method for the Search and Invoke APIs used by consumers. - - - `CUSTOM_JWT` - Authorize with a bearer token. - - - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. - """ - status: str - """ - The current status of the registry. Possible values include `CREATING`, - `READY`, `UPDATING`, `CREATE_FAILED`, `UPDATE_FAILED`, `DELETING`, and - `DELETE_FAILED`. - """ - status_reason: str | None = ... - """ - The reason for the current status, typically set when the status is a - failure state. - """ - created_at: datetime - """The timestamp when the registry was created.""" - updated_at: datetime - """The timestamp when the registry was last updated.""" - -@dataclass -class RequestHeaderConfigurationRequestHeaderAllowlist(_SerdeShape): - """ - A list of HTTP request headers that are allowed to be passed through to - the runtime. - """ - - value: list[str] - -@dataclass -class RequestHeaderConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RequestHeaderConfiguration = Union[ - RequestHeaderConfigurationRequestHeaderAllowlist | RequestHeaderConfigurationUnknown -] -""" -Configuration for HTTP request headers that will be passed through to -the runtime. -""" - -class _RequestHeaderConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RequestHeaderConfiguration: ... - -@dataclass(kw_only=True) -class ResetTokenVaultKeyMaterialInput(_SerdeShape): - """Dataclass for ResetTokenVaultKeyMaterialInput structure.""" - - token_vault_id: str | None = ... - """ - The unique identifier of the token vault to reset. To reset your - account's default token vault, specify `default`. - """ - -@dataclass(kw_only=True) -class ResetTokenVaultKeyMaterialOutput(_SerdeShape): - """Dataclass for ResetTokenVaultKeyMaterialOutput structure.""" - - token_vault_id: str - """The ID of the token vault.""" - kms_configuration: KmsConfiguration - """ - The KMS configuration for the token vault after the reset. The token - vault uses an Amazon Web Services managed key. - """ - last_modified_date: datetime - """The timestamp when the token vault was last modified.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ResourceArn(_SerdeShape): - """ - The Amazon Resource Name (ARN) of the resource. This globally unique - identifier specifies the exact resource that policies will be evaluated - against for access control decisions. - """ - - value: str - -@dataclass -class ResourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Resource = Union[ResourceArn | ResourceUnknown] -""" -Represents a resource within the AgentCore Policy system. Resources are -the targets of policy evaluation. Currently, only AgentCore Gateways are -supported as resources for policy enforcement. -""" - -class _ResourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Resource: ... - -@dataclass(kw_only=True) -class ResourceConfiguration(_SerdeShape): - """The resource configuration for an AgentCore Runtime.""" - - minimum_memory_in_mi_b: int - """ - The minimum amount of memory, in mebibytes, to allocate to the AgentCore - Runtime. - """ - -@dataclass(kw_only=True) -class ResourceLimitExceededException(ServiceError, _SerdeShape): - """Exception thrown when a resource limit is exceeded.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ResourceLocationS3(_SerdeShape): - """ - The Amazon S3 location for storing data. This structure defines where in - Amazon S3 data is stored. - """ - - value: S3Location - -@dataclass -class ResourceLocationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ResourceLocation = Union[ResourceLocationS3 | ResourceLocationUnknown] -"""The location of a resource.""" - -class _ResourceLocationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ResourceLocation: ... - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """ - This exception is thrown when a resource referenced by the operation - does not exist - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ResourceType(UnknownEnumMixin, StrEnum): - SYSTEM = "SYSTEM" - CUSTOM = "CUSTOM" - -class RestApiMethod(UnknownEnumMixin, StrEnum): - GET = "GET" - DELETE = "DELETE" - HEAD = "HEAD" - OPTIONS = "OPTIONS" - PATCH = "PATCH" - PUT = "PUT" - POST = "POST" - -class ResultDestination(UnknownEnumMixin, StrEnum): - """ - Where evaluation results are written: dedicated results log group - (default) or the source log group. - """ - - DEDICATED_LOG_GROUP = "DEDICATED_LOG_GROUP" - SOURCE_LOG_GROUP = "SOURCE_LOG_GROUP" - -@dataclass(kw_only=True) -class RetryableConflictException(ServiceError, _SerdeShape): - """ - The operation failed because of a conflicting request. Retry the - request. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RootVolumeConfiguration(_SerdeShape): - """ - The configuration for the root volume of a capacity provider instance. - Specify the amount of free space to guarantee on the root volume. The - device name and delete-on-termination settings are fixed and cannot be - changed. - """ - - volume_type: str = ... - """ - The Amazon EBS volume type. If you do not specify a type, the default is - `gp3`. - """ - iops: int | None = ... - """ - The number of IOPS to provision. For `gp3`, `io1`, and `io2` volumes, - this is the number of IOPS provisioned for the volume. For `gp2` - volumes, this sets the baseline IOPS performance. It also controls the - rate at which the volume accumulates I/O credits for bursting. Supported - values: `gp3`, 3,000--80,000; `io1`, 100--64,000; `io2`, 100--256,000. - """ - throughput: int | None = ... - """ - The throughput to provision, in MiB/s. Valid only for `gp3` volumes. - Valid range: 125--2,000 MiB/s. - """ - encrypted: bool | None = ... - """ - Specifies whether to encrypt the volume. Encrypted volumes can be - attached only to instances that support Amazon EBS encryption. If you - create a volume from a snapshot, you cannot specify an encryption value. - """ - kms_key_id: str | None = ... - """ - The identifier (key ID, key alias, key ARN, or alias ARN) of the - customer managed KMS key to use for Amazon EBS encryption. - """ - free_space_gi_b: int | None = ... - """ - The free space guaranteed on the root volume, in GiB. AgentCore adds the - operating system overhead on top of this value. The default is 8 GiB. - """ - -@dataclass(kw_only=True) -class RotatePaymentConnectorCredentialsInput(_SerdeShape): - """Dataclass for RotatePaymentConnectorCredentialsInput structure.""" - - payment_manager_id: str | None = ... - """The unique identifier of the parent payment manager.""" - payment_connector_id: str | None = ... - """ - The unique identifier of the payment connector whose credentials you - want to rotate. - """ - credentials_to_rotate: CredentialRotationConfig | None = ... - """ - The credentials to rotate. Specify the member that matches the payment - connector's `type`. Each credential that you select is rotated - independently. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class RotatePaymentConnectorCredentialsOutput(_SerdeShape): - """Dataclass for RotatePaymentConnectorCredentialsOutput structure.""" - - payment_connector_id: str - """The unique identifier of the payment connector.""" - payment_manager_id: str - """The unique identifier of the parent payment manager.""" - last_updated_at: datetime - """ - The timestamp when the payment connector was last updated, which is when - the rotation completed. - """ - status: str - """ - The current status of the payment connector, which is `READY` after a - successful rotation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class RouteToTargetActionStaticRoute(_SerdeShape): - """A static route that sends all matching requests to a single target.""" - - value: StaticRoute - -@dataclass -class RouteToTargetActionWeightedRoute(_SerdeShape): - """A weighted route that splits traffic between multiple targets.""" - - value: WeightedRoute - -@dataclass -class RouteToTargetActionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RouteToTargetAction = Union[ - RouteToTargetActionStaticRoute - | RouteToTargetActionWeightedRoute - | RouteToTargetActionUnknown -] -""" -An action that routes requests to a gateway target, either statically or -with weighted traffic splitting. -""" - -class _RouteToTargetActionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RouteToTargetAction: ... - -@dataclass(kw_only=True) -class Rule(_SerdeShape): - """ - The evaluation rule that defines sampling configuration, filtering - criteria, and session detection settings for online evaluation. - """ - - sampling_config: SamplingConfig - """ - The sampling configuration that determines what percentage of agent - traces to evaluate. - """ - filters: list[Filter] | None = ... - """ - The list of filters that determine which agent traces should be included - in the evaluation based on trace properties. - """ - session_config: SessionConfig | None = ... - """ - The session configuration that defines timeout settings for detecting - when agent sessions are complete and ready for evaluation. - """ - -@dataclass(kw_only=True) -class RuntimeHooksConfiguration(_SerdeShape): - """ - The lifecycle hooks that AgentCore Runtime runs at fixed points in the - runtime's lifecycle. - """ - - build: BuildLifecycleHooks | None = ... - """ - The hooks that run when you create or update the AgentCore Runtime, - before any sessions are created. - """ - -@dataclass(kw_only=True) -class RuntimeMetadataConfiguration(_SerdeShape): - """Configuration for microVM metadata service settings.""" - - require_mmdsv2: bool - """ - Enables MMDSv2 (microVM Metadata Service Version 2) requirement for the - agent runtime. When set to `true`, the runtime microVM will only accept - MMDSv2 requests. - """ - -@dataclass(kw_only=True) -class RuntimeTargetConfiguration(_SerdeShape): - """ - Configuration for an AgentCore Runtime target. Specifies the agent - runtime to route requests to via HTTP. - """ - - arn: str - """ - The Amazon Resource Name (ARN) of the AgentCore Runtime to route - requests to. - """ - qualifier: str | None = ... - """ - The qualifier for the agent runtime, used to target a specific endpoint - version. If not specified, the default endpoint is used. - """ - schema: HttpApiSchemaConfiguration | None = ... - """ - The API schema configuration that defines the structure of the runtime - target's API. - """ - -@dataclass(kw_only=True) -class S3CertificateConfiguration(_SerdeShape): - """ - A reference to a PEM-encoded private CA certificate stored as an Amazon - S3 object. - """ - - uri: str - """ - The URI of the Amazon S3 object that contains the PEM-encoded - certificate. - """ - bucket_owner_account_id: str | None = ... - """ - The account ID of the Amazon S3 bucket owner. This ID is used for - cross-account access to the bucket. - """ - -@dataclass(kw_only=True) -class S3Configuration(_SerdeShape): - """ - The Amazon S3 configuration for a gateway. This structure defines how - the gateway accesses files in Amazon S3. - """ - - uri: str | None = ... - """ - The URI of the Amazon S3 object. This URI specifies the location of the - object in Amazon S3. - """ - bucket_owner_account_id: str | None = ... - """ - The account ID of the Amazon S3 bucket owner. This ID is used for - cross-account access to the bucket. - """ - -@dataclass(kw_only=True) -class S3FilesAccessPointConfiguration(_SerdeShape): - """ - Configuration for an Amazon S3 Files access point filesystem mounted - into the AgentCore Runtime. S3 Files access points provide shared file - storage accessible from your AgentCore Runtime sessions. - """ - - access_point_arn: str - """ - The ARN of the S3 Files access point to mount into the AgentCore - Runtime. - """ - mount_path: str - """ - The mount path for the S3 Files access point inside the AgentCore - Runtime. The path must be under `/mnt` with exactly one subdirectory - level (for example, `/mnt/data`). - """ - -@dataclass(kw_only=True) -class S3FilesConfiguration(_SerdeShape): - """ - The configuration for mounting an Amazon Simple Storage Service (Amazon - S3) Files access point that you own into a session. - """ - - access_point_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Simple Storage Service - (Amazon S3) Files access point to mount. - """ - mount_path: str - """ - The absolute path within the session at which the access point is - mounted, for example `/mnt/s3data`. Each mount path must be unique - across all file system configurations in the session. - """ - file_system_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Simple Storage Service - (Amazon S3) Files file system that owns the access point. - """ - -@dataclass(kw_only=True) -class S3Location(_SerdeShape): - """ - The Amazon S3 location for storing data. This structure defines where in - Amazon S3 data is stored. - """ - - bucket: str - """The name of the Amazon S3 bucket. This bucket contains the stored data.""" - prefix: str - """ - The prefix for objects in the Amazon S3 bucket. This prefix is added to - the object keys to organize the data. - """ - version_id: str | None = ... - """ - The version ID of the Amazon Amazon S3 object. If not specified, the - latest version of the object is used. - """ - -@dataclass(kw_only=True) -class S3Source(_SerdeShape): - """Amazon S3 location of a JSONL file containing dataset examples.""" - - s3_uri: str - """ - Amazon S3 URI of the JSONL file (for example, - `s3://my-bucket/path/to/examples.jsonl`). - """ - -@dataclass(kw_only=True) -class SalesforceOauth2ProviderConfigInput(_SerdeShape): - """Input configuration for a Salesforce OAuth2 provider.""" - - client_id: str - """The client ID for the Salesforce OAuth2 provider.""" - client_secret: str = ... - """The client secret for the Salesforce OAuth2 provider.""" - client_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the client secret. This includes the secret ID and the JSON key - used to extract the client secret value from the secret. Required when - `clientSecretSource` is set to `EXTERNAL`. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - -@dataclass(kw_only=True) -class SalesforceOauth2ProviderConfigOutput(_SerdeShape): - """Output configuration for a Salesforce OAuth2 provider.""" - - oauth_discovery: Oauth2Discovery - """The OAuth2 discovery information for the Salesforce provider.""" - client_id: str | None = ... - """The client ID for the Salesforce OAuth2 provider.""" - -@dataclass(kw_only=True) -class SamplingConfig(_SerdeShape): - """ - The configuration that controls what percentage of agent traces are - sampled for evaluation to manage evaluation volume and costs. - """ - - sampling_percentage: float - """ - The percentage of agent traces to sample for evaluation, ranging from - 0.01% to 100%. - """ - -@dataclass(kw_only=True) -class SchemaDefinition(_SerdeShape): - """ - A schema definition for a gateway target. This structure defines the - structure of the API that the target exposes. - """ - - type: str - """ - The type of the schema definition. This field specifies the data type of - the schema. - """ - properties: dict[str, SchemaDefinition] | None = ... - """ - The properties of the schema definition. These properties define the - fields in the schema. - """ - required: list[str] | None = ... - """ - The required fields in the schema definition. These fields must be - provided when using the schema. - """ - items: SchemaDefinition | None = ... - """ - The items in the schema definition. This field is used for array types - to define the structure of the array elements. - """ - description: str | None = ... - """ - The description of the schema definition. This description provides - information about the purpose and usage of the schema. - """ - -class SchemaType(UnknownEnumMixin, StrEnum): - STRING = "string" - NUMBER = "number" - OBJECT = "object" - ARRAY = "array" - BOOLEAN = "boolean" - INTEGER = "integer" - -class SearchType(UnknownEnumMixin, StrEnum): - SEMANTIC = "SEMANTIC" - -@dataclass(kw_only=True) -class Secret(_SerdeShape): - """ - Contains information about a secret in Amazon Web Services Secrets - Manager. - """ - - secret_arn: str - """ - The Amazon Resource Name (ARN) of the secret in Amazon Web Services - Secrets Manager. - """ - -@dataclass(kw_only=True) -class SecretReference(_SerdeShape): - """ - Contains a reference to a secret stored in Amazon Web Services Secrets - Manager. - """ - - secret_id: str - """ - The ID of the Amazon Web Services Secrets Manager secret that stores the - secret value. - """ - json_key: str - """ - The JSON key used to extract the secret value from the Amazon Web - Services Secrets Manager secret. - """ - -@dataclass(kw_only=True) -class SecretsManagerCertificateConfiguration(_SerdeShape): - """ - A reference to a PEM-encoded private CA certificate stored in an Amazon - Web Services Secrets Manager secret. - """ - - secret_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Web Services Secrets - Manager secret that contains the PEM-encoded certificate. - """ - -@dataclass(kw_only=True) -class SecretsManagerLocation(_SerdeShape): - """The Amazon Web Services Secrets Manager location configuration.""" - - secret_arn: str - """ - The ARN of the Amazon Web Services Secrets Manager secret containing the - certificate. - """ - -class SecretSourceType(UnknownEnumMixin, StrEnum): - MANAGED = "MANAGED" - EXTERNAL = "EXTERNAL" - -@dataclass(kw_only=True) -class SelfManagedConfiguration(_SerdeShape): - """A configuration for a self-managed memory strategy.""" - - trigger_conditions: list[TriggerCondition] - """A list of conditions that trigger memory processing.""" - invocation_configuration: InvocationConfiguration - """The configuration to use when invoking memory processing.""" - historical_context_window_size: int - """The number of historical messages to include in processing context.""" - -@dataclass(kw_only=True) -class SelfManagedConfigurationInput(_SerdeShape): - """Input configuration for a self-managed memory strategy.""" - - trigger_conditions: list[TriggerConditionInput] | None = ... - """A list of conditions that trigger memory processing.""" - invocation_configuration: InvocationConfigurationInput - """Configuration to invoke a self-managed memory processing pipeline with.""" - historical_context_window_size: int = ... - """Number of historical messages to include in processing context.""" - -@dataclass -class SelfManagedLatticeResourceResourceConfigurationIdentifier(_SerdeShape): - """The ARN or ID of the VPC Lattice resource configuration.""" - - value: str - -@dataclass -class SelfManagedLatticeResourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -SelfManagedLatticeResource = Union[ - SelfManagedLatticeResourceResourceConfigurationIdentifier - | SelfManagedLatticeResourceUnknown -] -""" -Configuration for a self-managed VPC Lattice resource. You create and -manage the VPC Lattice resource gateway and resource configuration, then -provide the resource configuration identifier. -""" - -class _SelfManagedLatticeResourceDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> SelfManagedLatticeResource: ... - -@dataclass(kw_only=True) -class SemanticConsolidationOverride(_SerdeShape): - """Contains semantic consolidation override configuration.""" - - append_to_prompt: str - """The text to append to the prompt for semantic consolidation.""" - model_id: str - """The model ID to use for semantic consolidation.""" - -@dataclass(kw_only=True) -class SemanticExtractionOverride(_SerdeShape): - """Contains semantic extraction override configuration.""" - - append_to_prompt: str - """The text to append to the prompt for semantic extraction.""" - model_id: str - """The model ID to use for semantic extraction.""" - -@dataclass(kw_only=True) -class SemanticMemoryStrategyInput(_SerdeShape): - """Input for creating a semantic memory strategy.""" - - name: str - """The name of the semantic memory strategy.""" - description: str | None = ... - """The description of the semantic memory strategy.""" - namespaces: list[str] | None = ... - """ - This is a legacy parameter, use `namespaceTemplates`. The namespaces - associated with the semantic memory strategy. - """ - namespace_templates: list[str] | None = ... - """The namespaceTemplates associated with the semantic memory strategy.""" - memory_record_schema: MemoryRecordSchema | None = ... - """Schema for metadata on memory records generated by a strategy.""" - record_expiry_specification: RecordExpirySpecification | None = ... - """ - The record expiry (long-term memory time-to-live) configuration for - memory records generated by this strategy. Set - `recordExpiryDurationDays` to the number of days after which records - expire. If not specified, records generated by this strategy do not - expire. - """ - -@dataclass(kw_only=True) -class SemanticOverrideConfigurationInput(_SerdeShape): - """Input for semantic override configuration in a memory strategy.""" - - extraction: SemanticOverrideExtractionConfigurationInput | None = ... - """The extraction configuration for a semantic override.""" - consolidation: SemanticOverrideConsolidationConfigurationInput | None = ... - """The consolidation configuration for a semantic override.""" - -@dataclass(kw_only=True) -class SemanticOverrideConsolidationConfigurationInput(_SerdeShape): - """ - Input for semantic override consolidation configuration in a memory - strategy. - """ - - append_to_prompt: str - """The text to append to the prompt for semantic consolidation.""" - model_id: str - """The model ID to use for semantic consolidation.""" - -@dataclass(kw_only=True) -class SemanticOverrideExtractionConfigurationInput(_SerdeShape): - """ - Input for semantic override extraction configuration in a memory - strategy. - """ - - append_to_prompt: str - """The text to append to the prompt for semantic extraction.""" - model_id: str - """The model ID to use for semantic extraction.""" - -@dataclass(kw_only=True) -class ServerDefinition(_SerdeShape): - """ - The server definition for an MCP descriptor. Contains the schema version - and inline content for the MCP server configuration. - """ - - schema_version: str | None = ... - """ - The schema version of the server definition based on the MCP protocol - specification. If not specified, the version is auto-detected from the - content. - """ - inline_content: str | None = ... - """ - The JSON content containing the MCP server definition, conforming to the - MCP protocol specification. - """ - -class ServerProtocol(UnknownEnumMixin, StrEnum): - MCP = "MCP" - HTTP = "HTTP" - A2_A = "A2A" - AGUI = "AGUI" - -@dataclass(kw_only=True) -class ServiceException(ServiceError, _SerdeShape): - """An internal error occurred.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceQuotaExceededException(ServiceError, _SerdeShape): - """This exception is thrown when a request is made beyond the service quota""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SessionConfig(_SerdeShape): - """ - The configuration that defines how agent sessions are detected and when - they are considered complete for evaluation. - """ - - session_timeout_minutes: int - """ - The number of minutes of inactivity after which an agent session is - considered complete and ready for evaluation. Default is 15 minutes. - """ - -@dataclass(kw_only=True) -class SessionConfiguration(_SerdeShape): - """ - The session configuration for an MCP gateway. This structure defines - settings that control session behavior. - """ - - session_timeout_in_seconds: int | None = ... - """ - The session timeout in seconds. After this timeout, the session expires - and subsequent requests to this session will receive an error. The - minimum value is 900 seconds (15 minutes), the maximum value is 28800 - seconds (8 hours), and the default value is 3600 seconds (1 hour). - """ - -@dataclass(kw_only=True) -class SessionStorageConfiguration(_SerdeShape): - """ - Configuration for a session storage filesystem mounted into the - AgentCore Runtime. Session storage provides persistent storage that is - preserved across AgentCore Runtime session invocations. - """ - - mount_path: str - """ - The mount path for the session storage filesystem inside the AgentCore - Runtime. The path must be under `/mnt` with exactly one subdirectory - level (for example, `/mnt/data`). - """ - -@dataclass(kw_only=True) -class SetTokenVaultCMKInput(_SerdeShape): - """Dataclass for SetTokenVaultCMKInput structure.""" - - token_vault_id: str | None = ... - """The unique identifier of the token vault to update.""" - kms_configuration: KmsConfiguration | None = ... - """ - The KMS configuration for the token vault, including the key type and - KMS key ARN. - """ - -@dataclass(kw_only=True) -class SetTokenVaultCMKOutput(_SerdeShape): - """Dataclass for SetTokenVaultCMKOutput structure.""" - - token_vault_id: str - """The ID of the token vault.""" - kms_configuration: KmsConfiguration - """The KMS configuration for the token vault.""" - last_modified_date: datetime - """The timestamp when the token vault was last modified.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class SigningAlgorithm(UnknownEnumMixin, StrEnum): - RS256 = "RS256" - PS256 = "PS256" - ES256 = "ES256" - -@dataclass(kw_only=True) -class SkillDefinition(_SerdeShape): - """The structured skill definition with schema version and content.""" - - schema_version: str | None = ... - """The version of the skill definition schema.""" - inline_content: str | None = ... - """The JSON content containing the structured skill definition.""" - -@dataclass(kw_only=True) -class SkillMdDefinition(_SerdeShape): - """The skill markdown definition for an agent skills descriptor.""" - - inline_content: str | None = ... - """ - The markdown content describing the agent's skills in a human-readable - format. - """ - -@dataclass(kw_only=True) -class SlackOauth2ProviderConfigInput(_SerdeShape): - """Input configuration for a Slack OAuth2 provider.""" - - client_id: str - """The client ID for the Slack OAuth2 provider.""" - client_secret: str = ... - """The client secret for the Slack OAuth2 provider.""" - client_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the client secret. This includes the secret ID and the JSON key - used to extract the client secret value from the secret. Required when - `clientSecretSource` is set to `EXTERNAL`. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - -@dataclass(kw_only=True) -class SlackOauth2ProviderConfigOutput(_SerdeShape): - """Output configuration for a Slack OAuth2 provider.""" - - oauth_discovery: Oauth2Discovery - """The OAuth2 discovery information for the Slack provider.""" - client_id: str | None = ... - """The client ID for the Slack OAuth2 provider.""" - -@dataclass(kw_only=True) -class StartPolicyGenerationInput(_SerdeShape): - """Dataclass for StartPolicyGenerationInput structure.""" - - policy_engine_id: str | None = ... - """ - The identifier of the policy engine that provides the context for policy - generation. This engine's schema and tool context are used to ensure - generated policies are valid and applicable. - """ - resource: Resource | None = ... - """ - The resource information that provides context for policy generation. - This helps the AI understand the target resources and generate - appropriate access control rules. - """ - content: Content | None = ... - """ - The natural language description of the desired policy behavior. This - content is processed by AI to generate corresponding Dogwood policy - statements that match the described intent. - """ - name: str | None = ... - """ - A customer-assigned name for the policy generation request. This helps - track and identify generation operations, especially when running - multiple generations simultaneously. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure the idempotency of the - request. The Amazon Web Services SDK automatically generates this token, - so you don't need to provide it in most cases. If you retry a request - with the same client token, the service returns the same response - without starting a duplicate generation. - """ - -@dataclass(kw_only=True) -class StartPolicyGenerationOutput(_SerdeShape): - """Dataclass for StartPolicyGenerationOutput structure.""" - - policy_engine_id: str - """ - The identifier of the policy engine associated with the started policy - generation. - """ - policy_generation_id: str - """ - The unique identifier assigned to the policy generation request for - tracking progress. - """ - name: str - """The customer-assigned name for the policy generation request.""" - policy_generation_arn: str - """The ARN of the created policy generation request.""" - resource: Resource - """The resource information associated with the policy generation request.""" - created_at: datetime - """The timestamp when the policy generation request was created.""" - updated_at: datetime - """The timestamp when the policy generation was last updated.""" - status: str - """The initial status of the policy generation request.""" - findings: str | None = ... - """Initial findings from the policy generation process.""" - status_reasons: list[str] - """Additional information about the generation status.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StaticOverride(_SerdeShape): - """A static configuration bundle override.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle to apply.""" - bundle_version: str - """The version of the configuration bundle to apply.""" - -class StaticQueryParameterConflictResolution(UnknownEnumMixin, StrEnum): - """ - The precedence used when a client-supplied query parameter has the same - name as a configured static query parameter: - - - `CLIENT_OVERRIDE` - The client-supplied value overrides the configured - static value for that parameter name. This is the default. - - - `STATIC_OVERRIDE` - The configured static value is retained, - overriding the client-supplied value for that parameter name. - """ - - CLIENT_OVERRIDE = "CLIENT_OVERRIDE" - STATIC_OVERRIDE = "STATIC_OVERRIDE" - -@dataclass(kw_only=True) -class StaticRoute(_SerdeShape): - """A static route to a single gateway target.""" - - target_name: str - """The name of the target to route requests to.""" - model: str | None = ... - """ - The model ID to send to the target. Supported only for inference - targets. If you don't specify a model, the gateway sends the model from - the original request. - """ - fallback: Fallback | None = ... - """ - The fallback configuration for this route. Supported only for inference - targets. - """ - -class Status(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - READY = "READY" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class StickinessConfiguration(_SerdeShape): - """ - The configuration for session-sticky routing to a target. Session - stickiness routes requests that share a session identifier to the same - target. - """ - - identifier: str - """ - The expression that identifies where to extract the session identifier - from the request (for example, `$context.header.x-session-id`). - """ - timeout: int | None = ... - """ - The session stickiness timeout, in seconds. After this duration of - inactivity, the session affinity expires. Valid values range from 1 to - 86400. - """ - composite_identifier: list[str] | None = ... - """ - Additional headers to include in session affinity routing. When set, - requests are only considered part of the same session if both the - `identifier` and all composite identifier values match. - """ - -@dataclass(kw_only=True) -class StrategyConfiguration(_SerdeShape): - """Contains configuration information for a memory strategy.""" - - type: str | None = ... - """The type of override for the strategy configuration.""" - extraction: ExtractionConfiguration | None = ... - """The extraction configuration for the memory strategy.""" - consolidation: ConsolidationConfiguration | None = ... - """The consolidation configuration for the memory strategy.""" - reflection: ReflectionConfiguration | None = ... - """The reflection configuration for the memory strategy.""" - self_managed_configuration: SelfManagedConfiguration | None = ... - """Self-managed configuration settings.""" - -@dataclass -class StreamDeliveryResourceKinesis(_SerdeShape): - """Kinesis Data Stream configuration.""" - - value: KinesisResource - -@dataclass -class StreamDeliveryResourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -StreamDeliveryResource = Union[ - StreamDeliveryResourceKinesis | StreamDeliveryResourceUnknown -] -"""Supported stream delivery resource types.""" - -class _StreamDeliveryResourceDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> StreamDeliveryResource: ... - -@dataclass(kw_only=True) -class StreamDeliveryResources(_SerdeShape): - """Configuration for streaming memory record data to external resources.""" - - resources: list[StreamDeliveryResource] - """List of stream delivery resource configurations.""" - -@dataclass(kw_only=True) -class StreamingConfiguration(_SerdeShape): - """ - The streaming configuration for an MCP gateway. This structure defines - settings that control response streaming behavior. - """ - - enable_response_streaming: bool | None = ... - """ - Indicates whether response streaming is enabled for the gateway. When - set to `true`, the gateway streams responses from targets back to the - client. - """ - -@dataclass(kw_only=True) -class StringListValidation(_SerdeShape): - """Validation for STRINGLIST fields.""" - - allowed_values: list[str] | None = ... - """Allowed values for items in this STRINGLIST field.""" - max_items: int | None = ... - """Maximum number of items in the string list.""" - -@dataclass(kw_only=True) -class StringValidation(_SerdeShape): - """Validation for STRING fields.""" - - allowed_values: list[str] - """Allowed values for this STRING field.""" - -@dataclass(kw_only=True) -class StripePrivyConfigurationInput(_SerdeShape): - """Stripe Privy configuration --- credentials provided by Stripe and Privy.""" - - app_id: str - """The app ID provided by Privy.""" - app_secret: str = ... - """The app secret provided by Privy.""" - app_secret_source: str | None = ... - """ - The source type of the app secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - app_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the app secret. This includes the secret ID and the JSON key used - to extract the app secret value from the secret. Required when - `appSecretSource` is set to `EXTERNAL`. - """ - authorization_private_key: str = ... - """The authorization private key for the Stripe Privy integration.""" - authorization_private_key_source: str | None = ... - """ - The source type of the authorization private key. Use `MANAGED` if the - secret is managed by the service, or `EXTERNAL` if you manage the secret - yourself in Amazon Web Services Secrets Manager. - """ - authorization_private_key_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the authorization private key. This includes the secret ID and - the JSON key used to extract the authorization private key value from - the secret. Required when `authorizationPrivateKeySource` is set to - `EXTERNAL`. - """ - authorization_id: str - """The authorization ID for the Stripe Privy integration.""" - -@dataclass(kw_only=True) -class StripePrivyConfigurationOutput(_SerdeShape): - """Stripe Privy configuration output with secret ARNs.""" - - app_id: str - """The app ID provided by Privy.""" - app_secret_arn: Secret - """ - Contains information about a secret in Amazon Web Services Secrets - Manager. - """ - app_secret_json_key: str | None = ... - """ - The JSON key used to extract the app secret value from the Amazon Web - Services Secrets Manager secret. - """ - app_secret_source: str | None = ... - """ - The source type of the app secret. Either `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if managed by the user in Amazon - Web Services Secrets Manager. - """ - authorization_private_key_arn: Secret - """ - Contains information about a secret in Amazon Web Services Secrets - Manager. - """ - authorization_private_key_json_key: str | None = ... - """ - The JSON key used to extract the authorization private key value from - the Amazon Web Services Secrets Manager secret. - """ - authorization_private_key_source: str | None = ... - """ - The source type of the authorization private key. Either `MANAGED` if - the secret is managed by the service, or `EXTERNAL` if managed by the - user in Amazon Web Services Secrets Manager. - """ - authorization_id: str - """The authorization ID for the Stripe Privy integration.""" - -@dataclass(kw_only=True) -class SubmitRegistryRecordForApprovalInput(_SerdeShape): - """Dataclass for SubmitRegistryRecordForApprovalInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry containing the record. You can specify - either the Amazon Resource Name (ARN) or the ID of the registry. - """ - record_id: str | None = ... - """ - The identifier of the registry record to submit for approval. You can - specify either the Amazon Resource Name (ARN) or the ID of the record. - """ - -@dataclass(kw_only=True) -class SubmitRegistryRecordForApprovalOutput(_SerdeShape): - """Dataclass for SubmitRegistryRecordForApprovalOutput structure.""" - - registry_arn: str - """The Amazon Resource Name (ARN) of the registry that contains the record.""" - record_arn: str - """The Amazon Resource Name (ARN) of the registry record.""" - record_id: str - """The unique identifier of the registry record.""" - status: str - """The resulting status of the registry record after submission.""" - updated_at: datetime - """The timestamp when the record was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SubscriptionRequiredException(ServiceError, _SerdeShape): - """ - The request failed because it requires an active Amazon Web Services - Marketplace subscription that is not present. Subscribe to the required - product in Amazon Web Services Marketplace and try again. - """ - - subscription_url: str | None = ... - """URL to the Marketplace listing for subscription""" - product_name: str | None = ... - """The product requiring subscription""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SummaryConsolidationOverride(_SerdeShape): - """Contains summary consolidation override configuration.""" - - append_to_prompt: str - """The text to append to the prompt for summary consolidation.""" - model_id: str - """The model ID to use for summary consolidation.""" - -@dataclass(kw_only=True) -class SummaryMemoryStrategyInput(_SerdeShape): - """Input for creating a summary memory strategy.""" - - name: str - """The name of the summary memory strategy.""" - description: str | None = ... - """The description of the summary memory strategy.""" - namespaces: list[str] | None = ... - """ - This is a legacy parameter, use `namespaceTemplates`. The namespaces - associated with the summary memory strategy. - """ - namespace_templates: list[str] | None = ... - """The namespaceTemplates associated with the summary memory strategy.""" - memory_record_schema: MemoryRecordSchema | None = ... - """Schema for metadata fields on records generated by this strategy.""" - record_expiry_specification: RecordExpirySpecification | None = ... - """ - The record expiry (long-term memory time-to-live) configuration for - memory records generated by this strategy. Set - `recordExpiryDurationDays` to the number of days after which records - expire. If not specified, records generated by this strategy do not - expire. - """ - -@dataclass(kw_only=True) -class SummaryOverrideConfigurationInput(_SerdeShape): - """Input for summary override configuration in a memory strategy.""" - - consolidation: SummaryOverrideConsolidationConfigurationInput | None = ... - """The consolidation configuration for a summary override.""" - -@dataclass(kw_only=True) -class SummaryOverrideConsolidationConfigurationInput(_SerdeShape): - """ - Input for summary override consolidation configuration in a memory - strategy. - """ - - append_to_prompt: str - """The text to append to the prompt for summary consolidation.""" - model_id: str - """The model ID to use for summary consolidation.""" - -@dataclass(kw_only=True) -class SynchronizationConfiguration(_SerdeShape): - """ - Configuration for synchronizing registry record metadata from an - external source. - """ - - from_url: FromUrlSynchronizationConfiguration | None = ... - """Configuration for synchronizing from a URL-based source.""" - -class SynchronizationType(UnknownEnumMixin, StrEnum): - URL = "URL" - -@dataclass(kw_only=True) -class SynchronizeGatewayTargetsInput(_SerdeShape): - """Dataclass for SynchronizeGatewayTargetsInput structure.""" - - gateway_identifier: str | None = ... - """The gateway Identifier.""" - target_id_list: list[str] | None = ... - """The target ID list.""" - -@dataclass(kw_only=True) -class SynchronizeGatewayTargetsOutput(_SerdeShape): - """Dataclass for SynchronizeGatewayTargetsOutput structure.""" - - targets: list[GatewayTarget] | None = ... - """The gateway targets for synchronization.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SystemManagedBlock(_SerdeShape): - """ - System-managed metadata for rules created by automated processes such as - A/B tests. - """ - - managed_by: str - """The identifier of the system or process that manages this rule.""" - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Dataclass for TagResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource that you want to tag.""" - tags: dict[str, str] | None = ... - """The tags to add to the resource. A tag is a key-value pair.""" - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class TargetConfigurationMcp(_SerdeShape): - """ - The Model Context Protocol (MCP) configuration for the target. This - configuration defines how the gateway uses MCP to communicate with the - target. - """ - - value: McpTargetConfiguration - -@dataclass -class TargetConfigurationHttp(_SerdeShape): - """ - The HTTP target configuration. Use this to route gateway requests to an - HTTP-based endpoint such as an AgentCore Runtime. - """ - - value: HttpTargetConfiguration - -@dataclass -class TargetConfigurationInference(_SerdeShape): - """ - The inference configuration for the target. This configuration routes - requests to a large language model (LLM) provider. - """ - - value: InferenceTargetConfiguration - -@dataclass -class TargetConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -TargetConfiguration = Union[ - TargetConfigurationMcp - | TargetConfigurationHttp - | TargetConfigurationInference - | TargetConfigurationUnknown -] -""" -The configuration for a gateway target. This structure defines how the -gateway connects to and interacts with the target endpoint. -""" - -class _TargetConfigurationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> TargetConfiguration: ... - -class TargetProtocolType(UnknownEnumMixin, StrEnum): - MCP = "MCP" - HTTP = "HTTP" - -class TargetStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - UPDATING = "UPDATING" - UPDATE_UNSUCCESSFUL = "UPDATE_UNSUCCESSFUL" - DELETING = "DELETING" - READY = "READY" - FAILED = "FAILED" - SYNCHRONIZING = "SYNCHRONIZING" - SYNCHRONIZE_UNSUCCESSFUL = "SYNCHRONIZE_UNSUCCESSFUL" - CREATE_PENDING_AUTH = "CREATE_PENDING_AUTH" - UPDATE_PENDING_AUTH = "UPDATE_PENDING_AUTH" - SYNCHRONIZE_PENDING_AUTH = "SYNCHRONIZE_PENDING_AUTH" - -@dataclass(kw_only=True) -class TargetSummary(_SerdeShape): - """ - Contains summary information about a gateway target. A target represents - an endpoint that the gateway can connect to. - """ - - target_id: str - """The unique identifier of the target.""" - name: str - """The name of the target.""" - status: str - """The current status of the target.""" - description: str | None = ... - """The description of the target.""" - created_at: datetime - """The timestamp when the target was created.""" - updated_at: datetime - """The timestamp when the target was last updated.""" - resource_priority: int | None = ... - """ - Priority for resolving resource URI conflicts across targets. Lower - values take precedence. Defaults to 1000 when not set. - """ - last_synchronized_at: datetime | None = ... - """The timestamp when the target was last synchronized.""" - authorization_data: AuthorizationData | None = ... - """ - Contains the authorization data that is returned when a gateway target - is configured with a credential provider with authorization code grant - type and requires user federation. - """ - target_type: str | None = ... - """The type of the target.""" - listing_mode: str | None = ... - """ - The listing mode for the target. MCP resources for `DEFAULT` targets are - cached at the control plane for faster access. MCP resources for - `DYNAMIC` targets are retrieved dynamically when listing tools. - """ - -@dataclass(kw_only=True) -class TargetTrafficSplitEntry(_SerdeShape): - """An entry in a target traffic split configuration.""" - - target_name: str - """The name of the target to route traffic to.""" - model: str | None = ... - """ - The model ID to send to the target for this variant. Supported only for - inference targets. If you don't specify a model, the gateway sends the - model from the original request. - """ - fallback: Fallback | None = ... - """ - The fallback configuration for this variant. Supported only for - inference targets. - """ - name: str - """The name of this traffic split variant.""" - weight: int - """The percentage of traffic to route to this variant.""" - description: str | None = ... - """The description of this traffic split variant.""" - metadata: dict[str, str] | None = ... - """Key-value metadata associated with this traffic split variant.""" - -class TargetType(UnknownEnumMixin, StrEnum): - OPEN_API_SCHEMA = "OPEN_API_SCHEMA" - SMITHY_MODEL = "SMITHY_MODEL" - MCP_SERVER = "MCP_SERVER" - LAMBDA_ = "LAMBDA" - API_GATEWAY = "API_GATEWAY" - CONNECTOR = "CONNECTOR" - AGENTCORE_RUNTIME = "AGENTCORE_RUNTIME" - PASSTHROUGH = "PASSTHROUGH" - PROVIDER = "PROVIDER" - HTTP_CONNECTOR = "HTTP_CONNECTOR" - -@dataclass(kw_only=True) -class ThrottledException(ServiceError, _SerdeShape): - """API rate limit has been exceeded.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ThrottlingException(ServiceError, _SerdeShape): - """This exception is thrown when the number of requests exceeds the limit""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TimeBasedTrigger(_SerdeShape): - """Trigger configuration based on time.""" - - idle_session_timeout: int | None = ... - """Idle session timeout (seconds) that triggers memory processing.""" - -@dataclass(kw_only=True) -class TimeBasedTriggerInput(_SerdeShape): - """Trigger configuration based on time.""" - - idle_session_timeout: int = ... - """Idle session timeout (seconds) that triggers memory processing.""" - -@dataclass(kw_only=True) -class TokenBasedTrigger(_SerdeShape): - """Trigger configuration based on tokens.""" - - token_count: int | None = ... - """Number of tokens that trigger memory processing.""" - -@dataclass(kw_only=True) -class TokenBasedTriggerInput(_SerdeShape): - """Trigger configuration based on tokens.""" - - token_count: int = ... - """Number of tokens that trigger memory processing.""" - -@dataclass(kw_only=True) -class TokenExchangeGrantTypeConfigType(_SerdeShape): - """Configuration for RFC 8693 token exchange.""" - - actor_token_content: str - """The content type for the actor token in the token exchange.""" - actor_token_scopes: list[str] | None = ... - """ - The scopes for the actor token. Only valid when actorTokenContent is - M2M. - """ - -@dataclass(kw_only=True) -class ToolDefinition(_SerdeShape): - """ - A tool definition for a gateway target. This structure defines a tool - that the target exposes through the Model Context Protocol. - """ - - name: str - """ - The name of the tool. This name identifies the tool in the Model Context - Protocol. - """ - description: str - """ - The description of the tool. This description provides information about - the purpose and usage of the tool. - """ - input_schema: SchemaDefinition - """ - The input schema for the tool. This schema defines the structure of the - input that the tool accepts. - """ - output_schema: SchemaDefinition | None = ... - """ - The output schema for the tool. This schema defines the structure of the - output that the tool produces. - """ - -@dataclass -class ToolSchemaS3(_SerdeShape): - """ - The Amazon S3 location of the tool schema. This location contains the - schema definition file. - """ - - value: S3Configuration - -@dataclass -class ToolSchemaInlinePayload(_SerdeShape): - """ - The inline payload of the tool schema. This payload contains the schema - definition directly in the request. - """ - - value: list[ToolDefinition] - -@dataclass -class ToolSchemaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ToolSchema = Union[ToolSchemaS3 | ToolSchemaInlinePayload | ToolSchemaUnknown] -""" -A tool schema for a gateway target. This structure defines the schema -for a tool that the target exposes through the Model Context Protocol. -""" - -class _ToolSchemaDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ToolSchema: ... - -@dataclass(kw_only=True) -class ToolsDefinition(_SerdeShape): - """ - The tools definition for an MCP descriptor. Contains the protocol - version and inline content describing the available tools. - """ - - protocol_version: str | None = ... - """ - The protocol version of the tools definition based on the MCP protocol - specification. If not specified, the version is auto-detected from the - content. - """ - inline_content: str | None = ... - """ - The JSON content containing the MCP tools definition, conforming to the - MCP protocol specification. - """ - -@dataclass -class ToolsFileSystemConfigurationS3FilesConfiguration(_SerdeShape): - """ - The configuration for mounting your own Amazon Simple Storage Service - (Amazon S3) Files access point into the session. - """ - - value: S3FilesConfiguration - -@dataclass -class ToolsFileSystemConfigurationEfsConfiguration(_SerdeShape): - """ - The configuration for mounting your own Amazon Elastic File System - (Amazon EFS) access point into the session. - """ - - value: EfsConfiguration - -@dataclass -class ToolsFileSystemConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ToolsFileSystemConfiguration = Union[ - ToolsFileSystemConfigurationS3FilesConfiguration - | ToolsFileSystemConfigurationEfsConfiguration - | ToolsFileSystemConfigurationUnknown -] -""" -Specifies a file system to mount into the session by providing exactly -one of the following: - -- `s3FilesConfiguration` - Mounts an Amazon Simple Storage Service - (Amazon S3) Files access point. - -- `efsConfiguration` - Mounts an Amazon Elastic File System (Amazon EFS) - access point. -""" - -class _ToolsFileSystemConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ToolsFileSystemConfiguration: ... - -@dataclass(kw_only=True) -class TrafficSplitEntry(_SerdeShape): - """ - An entry in a traffic split configuration, defining a named variant with - a weight and configuration bundle reference. - """ - - name: str - """The name of this traffic split variant.""" - weight: int - """ - The percentage of traffic to route to this variant. Weights across all - entries must sum to 100. - """ - configuration_bundle: ConfigurationBundleReference - """The configuration bundle reference for this variant.""" - description: str | None = ... - """The description of this traffic split variant.""" - metadata: dict[str, str] | None = ... - """Key-value metadata associated with this traffic split variant.""" - -@dataclass -class TriggerConditionMessageBasedTrigger(_SerdeShape): - """Message based trigger configuration.""" - - value: MessageBasedTrigger - -@dataclass -class TriggerConditionTokenBasedTrigger(_SerdeShape): - """Token based trigger configuration.""" - - value: TokenBasedTrigger - -@dataclass -class TriggerConditionTimeBasedTrigger(_SerdeShape): - """Time based trigger configuration.""" - - value: TimeBasedTrigger - -@dataclass -class TriggerConditionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -TriggerCondition = Union[ - TriggerConditionMessageBasedTrigger - | TriggerConditionTokenBasedTrigger - | TriggerConditionTimeBasedTrigger - | TriggerConditionUnknown -] -"""Condition that triggers memory processing.""" - -class _TriggerConditionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> TriggerCondition: ... - -@dataclass -class TriggerConditionInputMessageBasedTrigger(_SerdeShape): - """Message based trigger configuration.""" - - value: MessageBasedTriggerInput - -@dataclass -class TriggerConditionInputTokenBasedTrigger(_SerdeShape): - """Token based trigger configuration.""" - - value: TokenBasedTriggerInput - -@dataclass -class TriggerConditionInputTimeBasedTrigger(_SerdeShape): - """Time based trigger configuration.""" - - value: TimeBasedTriggerInput - -@dataclass -class TriggerConditionInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -TriggerConditionInput = Union[ - TriggerConditionInputMessageBasedTrigger - | TriggerConditionInputTokenBasedTrigger - | TriggerConditionInputTimeBasedTrigger - | TriggerConditionInputUnknown -] -"""Condition that triggers memory processing.""" - -class _TriggerConditionInputDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> TriggerConditionInput: ... - -@dataclass(kw_only=True) -class UnauthorizedException(ServiceError, _SerdeShape): - """ - This exception is thrown when the JWT bearer token is invalid or not - found for OAuth bearer token based access - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Dataclass for UntagResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource that you want to untag.""" - tag_keys: list[str] | None = ... - """The tag keys of the tags to remove from the resource.""" - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAgentRuntimeEndpointInput(_SerdeShape): - """Dataclass for UpdateAgentRuntimeEndpointInput structure.""" - - agent_runtime_id: str | None = ... - """ - The unique identifier of the AgentCore Runtime associated with the - endpoint. - """ - endpoint_name: str | None = ... - """The name of the AgentCore Runtime endpoint to update.""" - agent_runtime_version: str | None = ... - """The updated version of the AgentCore Runtime for the endpoint.""" - description: str | None = ... - """The updated description of the AgentCore Runtime endpoint.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - -@dataclass(kw_only=True) -class UpdateAgentRuntimeEndpointOutput(_SerdeShape): - """Dataclass for UpdateAgentRuntimeEndpointOutput structure.""" - - live_version: str | None = ... - """The currently deployed version of the AgentCore Runtime on the endpoint.""" - target_version: str | None = ... - """The target version of the AgentCore Runtime for the endpoint.""" - agent_runtime_endpoint_arn: str - """The Amazon Resource Name (ARN) of the AgentCore Runtime endpoint.""" - agent_runtime_arn: str - """The Amazon Resource Name (ARN) of the AgentCore Runtime.""" - status: str - """The current status of the updated AgentCore Runtime endpoint.""" - created_at: datetime - """The timestamp when the AgentCore Runtime endpoint was created.""" - last_updated_at: datetime - """The timestamp when the AgentCore Runtime endpoint was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAgentRuntimeInput(_SerdeShape): - """Dataclass for UpdateAgentRuntimeInput structure.""" - - agent_runtime_id: str | None = ... - """The unique identifier of the AgentCore Runtime to update.""" - agent_runtime_artifact: AgentRuntimeArtifact | None = ... - """The updated artifact of the AgentCore Runtime.""" - role_arn: str | None = ... - """ - The updated IAM role ARN that provides permissions for the AgentCore - Runtime. - """ - network_configuration: NetworkConfiguration | None = ... - """The updated network configuration for the AgentCore Runtime.""" - description: str | None = ... - """The updated description of the AgentCore Runtime.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """The updated authorizer configuration for the AgentCore Runtime.""" - request_header_configuration: RequestHeaderConfiguration | None = ... - """ - The updated configuration for HTTP request headers that will be passed - through to the runtime. - """ - protocol_configuration: ProtocolConfiguration | None = ... - """ - The updated protocol configuration for the AgentCore Runtime, including - the protocol, port, and path on which the agent server is available. - """ - lifecycle_configuration: LifecycleConfiguration | None = ... - """The updated life cycle configuration for the AgentCore Runtime.""" - hooks_configuration: RuntimeHooksConfiguration | None = ... - """The updated lifecycle hooks configuration for the AgentCore Runtime.""" - metadata_configuration: RuntimeMetadataConfiguration | None = ... - """ - The updated configuration for microVM Metadata Service (MMDS) settings - for the AgentCore Runtime. - """ - environment_variables: dict[str, str] | None = ... - """ - Updated environment variables to set in the AgentCore Runtime - environment. - """ - filesystem_configurations: list[FilesystemConfiguration] | None = ... - """ - The updated filesystem configurations to mount into the AgentCore - Runtime. - """ - capacity_provider_configuration: CapacityProviderConfiguration | None = ... - """The updated capacity provider configuration for the AgentCore Runtime.""" - platform_version: str | None = ... - """ - The updated version of the runtime platform to use for the AgentCore - Runtime. - """ - allowed_ports: list[AllowedPort] | None = ... - """ - The updated additional ports on the AgentCore Runtime that are reachable - through the runtime's session URL. Specify one to five non-overlapping - entries, each containing either a single port or an inclusive port - range. Ports must be between `8000` and `12000`, excluding the reserved - port `8443`. - """ - resource_configurations: list[ResourceConfiguration] | None = ... - """ - The updated resource configurations for the AgentCore Runtime. You can - specify at most one resource configuration. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - -@dataclass(kw_only=True) -class UpdateAgentRuntimeOutput(_SerdeShape): - """Dataclass for UpdateAgentRuntimeOutput structure.""" - - agent_runtime_arn: str - """The Amazon Resource Name (ARN) of the updated AgentCore Runtime.""" - agent_runtime_id: str - """The unique identifier of the updated AgentCore Runtime.""" - workload_identity_details: WorkloadIdentityDetails | None = ... - """The workload identity details for the updated AgentCore Runtime.""" - agent_runtime_version: str - """The version of the updated AgentCore Runtime.""" - created_at: datetime - """The timestamp when the AgentCore Runtime was created.""" - last_updated_at: datetime - """The timestamp when the AgentCore Runtime was last updated.""" - status: str - """The current status of the updated AgentCore Runtime.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateApiKeyCredentialProviderInput(_SerdeShape): - """Dataclass for UpdateApiKeyCredentialProviderInput structure.""" - - name: str | None = ... - """The name of the API key credential provider to update.""" - api_key: str = ... - """ - The new API key to use for authentication. This value replaces the - existing API key and is encrypted and stored securely. - """ - api_key_secret_config: SecretReference | None = ... - """ - A reference to the Amazon Web Services Secrets Manager secret that - stores the API key. This includes the secret ID and the JSON key used to - extract the API key value from the secret. Required when - `apiKeySecretSource` is set to `EXTERNAL`. - """ - api_key_secret_source: str | None = ... - """ - The source type of the API key secret. Use `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if you manage the secret yourself - in Amazon Web Services Secrets Manager. - """ - -@dataclass(kw_only=True) -class UpdateApiKeyCredentialProviderOutput(_SerdeShape): - """Dataclass for UpdateApiKeyCredentialProviderOutput structure.""" - - api_key_secret_arn: Secret - """ - The Amazon Resource Name (ARN) of the API key secret in Amazon Web - Services Secrets Manager. - """ - api_key_secret_json_key: str | None = ... - """ - The JSON key used to extract the API key value from the Amazon Web - Services Secrets Manager secret. - """ - api_key_secret_source: str | None = ... - """ - The source type of the API key secret. Either `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if managed by the user in Amazon - Web Services Secrets Manager. - """ - name: str - """The name of the API key credential provider.""" - credential_provider_arn: str - """The Amazon Resource Name (ARN) of the API key credential provider.""" - created_time: datetime - """The timestamp when the API key credential provider was created.""" - last_updated_time: datetime - """The timestamp when the API key credential provider was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCapacityProviderInput(_SerdeShape): - """Dataclass for UpdateCapacityProviderInput structure.""" - - capacity_provider_id: str | None = ... - """The unique identifier of the capacity provider to update.""" - description: UpdatedDescription | None = ... - """The updated description of the capacity provider.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class UpdateCapacityProviderOutput(_SerdeShape): - """Dataclass for UpdateCapacityProviderOutput structure.""" - - capacity_provider_id: str - """The unique identifier of the capacity provider.""" - capacity_provider_arn: str - """The Amazon Resource Name (ARN) of the capacity provider.""" - name: str - """The name of the capacity provider.""" - status: str - """ - The current status of the capacity provider. For possible values, see - `CapacityProviderStatus`. - """ - created_at: datetime - """The timestamp when the capacity provider was created.""" - last_updated_at: datetime - """The timestamp when the capacity provider was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateConfigurationBundleInput(_SerdeShape): - """Dataclass for UpdateConfigurationBundleInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - bundle_id: str | None = ... - """The unique identifier of the configuration bundle to update.""" - bundle_name: str | None = ... - """The updated name for the configuration bundle.""" - description: str | None = ... - """The updated description for the configuration bundle.""" - components: dict[str, ComponentConfiguration] | None = ... - """ - The updated component configurations. Creates a new version of the - bundle. - """ - parent_version_ids: list[str] | None = ... - """ - A list of parent version identifiers for lineage tracking. Regular - commits have a single parent. Merge commits have two parents: the target - branch parent and the source branch parent. If the branch already - exists, the first parent must be the latest version on that branch. - """ - branch_name: str | None = ... - """ - The branch name for this version. If not specified, inherits the - parent's branch or defaults to `mainline`. - """ - commit_message: str | None = ... - """A commit message describing the changes in this version.""" - created_by: VersionCreatedBySource | None = ... - """ - The source that created this version, including the source name and - optional ARN. - """ - kms_key_arn: str | None = ... - """ - Optional KMS key ARN for encrypting component configurations. If - provided, components will be encrypted with this key. If the bundle - already has a KMS key, this rotates to the new key. - """ - -@dataclass(kw_only=True) -class UpdateConfigurationBundleOutput(_SerdeShape): - """Dataclass for UpdateConfigurationBundleOutput structure.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the updated configuration bundle.""" - bundle_id: str - """The unique identifier of the updated configuration bundle.""" - version_id: str - """The new version identifier created by this update.""" - updated_at: datetime - """The timestamp when the configuration bundle was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateConsentPortalInput(_SerdeShape): - """Dataclass for UpdateConsentPortalInput structure.""" - - consent_portal_identifier: str | None = ... - """ - The identifier of the consent portal. You can specify either the consent - portal ID or its Amazon Resource Name (ARN). - """ - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that the consent portal - assumes to access the resources defined in its sources. - """ - idp_config: ConsentPortalIdpConfig | None = ... - """ - The identity provider configuration that the consent portal uses to - authenticate end users. - """ - description: str | None = ... - """The description of the consent portal.""" - -@dataclass(kw_only=True) -class UpdateConsentPortalOutput(_SerdeShape): - """Dataclass for UpdateConsentPortalOutput structure.""" - - sources: list[ConsentPortalSource] - """The resources served by the consent portal.""" - consent_portal_arn: str - """The Amazon Resource Name (ARN) of the consent portal.""" - consent_portal_id: str - """The unique identifier of the consent portal.""" - created_at: datetime - """The timestamp for when the consent portal was created.""" - description: str | None = ... - """The description of the consent portal.""" - execution_role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role that the consent portal - assumes to access the resources defined in its sources. - """ - idp_config: ConsentPortalIdpConfig - """ - The identity provider configuration that the consent portal uses to - authenticate end users. - """ - name: str - """The name of the consent portal.""" - portal_url: str | None = ... - """The URL used to access the consent portal.""" - status: str - """The current status of the consent portal.""" - status_reason: str | None = ... - """ - A message that provides additional information about the current status - of the consent portal. - """ - updated_at: datetime - """The timestamp for when the consent portal was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatedA2aDescriptor(_SerdeShape): - """ - Wrapper for updating an A2A descriptor with PATCH semantics. When - present, the A2A descriptor is replaced with the provided value. When - absent, the A2A descriptor is left unchanged. To unset, include the - wrapper with the value set to null. - """ - - optional_value: A2aDescriptor | None = ... - """The updated A2A descriptor value.""" - -@dataclass(kw_only=True) -class UpdatedAgentSkillsDescriptor(_SerdeShape): - """ - Wrapper for updating an agent skills descriptor with PATCH semantics. - When present with a value, individual fields can be updated - independently. When present with a null value, the entire agent skills - descriptor is unset. When absent, the agent skills descriptor is left - unchanged. - """ - - optional_value: UpdatedAgentSkillsDescriptorFields | None = ... - """The updated agent skills descriptor fields.""" - -@dataclass(kw_only=True) -class UpdatedAgentSkillsDescriptorFields(_SerdeShape): - """ - Individual agent skills descriptor fields that can be updated - independently. - """ - - skill_md: UpdatedSkillMdDefinition | None = ... - """The updated skill markdown definition.""" - skill_definition: UpdatedSkillDefinition | None = ... - """The updated skill definition.""" - -@dataclass(kw_only=True) -class UpdatedApprovalConfiguration(_SerdeShape): - """ - Wrapper for updating an optional approval configuration field with PATCH - semantics. When present in an update request, the approval configuration - is replaced with the provided value. When absent, the approval - configuration is left unchanged. - """ - - optional_value: ApprovalConfiguration | None = ... - """ - The updated approval configuration value. Set to `null` to unset the - approval configuration. - """ - -@dataclass(kw_only=True) -class UpdateDatasetExamplesInput(_SerdeShape): - """Dataclass for UpdateDatasetExamplesInput structure.""" - - dataset_id: str | None = ... - """The unique identifier of the dataset.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - examples: list[Document] | None = ... - """ - Examples to update. Each element is a JSON object containing a required - `exampleId` field identifying the existing example, plus the replacement - fields. Maximum 1000 examples per call. - """ - -@dataclass(kw_only=True) -class UpdateDatasetExamplesOutput(_SerdeShape): - """Dataclass for UpdateDatasetExamplesOutput structure.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the dataset.""" - dataset_id: str - """The unique identifier of the dataset.""" - status: str - """The current status of the dataset.""" - updated_count: int - """The number of examples updated.""" - updated_at: datetime - """The timestamp when the examples were updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDatasetInput(_SerdeShape): - """Dataclass for UpdateDatasetInput structure.""" - - dataset_id: str | None = ... - """The unique identifier of the dataset to update.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - description: str | None = ... - """The updated description for the dataset.""" - -@dataclass(kw_only=True) -class UpdateDatasetOutput(_SerdeShape): - """Dataclass for UpdateDatasetOutput structure.""" - - dataset_arn: str - """The Amazon Resource Name (ARN) of the updated dataset.""" - dataset_id: str - """The unique identifier of the updated dataset.""" - updated_at: datetime - """The timestamp when the dataset was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatedAuthorizerConfiguration(_SerdeShape): - """ - Wrapper for updating an optional AuthorizerConfiguration field with - PATCH semantics. When present in an update request, the authorizer - configuration is replaced with optionalValue. When absent, the - authorizer configuration is left unchanged. To unset, include the - wrapper with optionalValue not specified. - """ - - optional_value: AuthorizerConfiguration | None = ... - """ - The updated authorizer configuration value. If not specified, it will - clear the current authorizer configuration of the resource. - """ - -@dataclass(kw_only=True) -class UpdatedCustomDescriptor(_SerdeShape): - """ - Wrapper for updating a custom descriptor with PATCH semantics. When - present, the custom descriptor is replaced with the provided value. When - absent, the custom descriptor is left unchanged. To unset, include the - wrapper with the value set to null. - """ - - optional_value: CustomDescriptor | None = ... - """The updated custom descriptor value.""" - -@dataclass(kw_only=True) -class UpdatedDescription(_SerdeShape): - """ - Wrapper for updating an optional Description field with PATCH semantics. - When present in an update request, the description is replaced with - optionalValue. When absent, the description is left unchanged. To unset - the description, include the wrapper with optionalValue not specified. - """ - - optional_value: str | None = ... - """ - Represents an optional value that is used to update the human-readable - description of the resource. If not specified, it will clear the current - description of the resource. - """ - -@dataclass(kw_only=True) -class UpdatedDescriptors(_SerdeShape): - """ - Wrapper for updating an optional descriptors field with PATCH semantics. - When present with a value, individual descriptors can be updated. When - present with a null value, all descriptors are unset. When absent, - descriptors are left unchanged. - """ - - optional_value: UpdatedDescriptorsUnion | None = ... - """ - The updated descriptors value. Contains per-descriptor-type wrappers - that are each independently updatable. - """ - -@dataclass(kw_only=True) -class UpdatedDescriptorsUnion(_SerdeShape): - """ - Contains per-descriptor-type wrappers for updating descriptors. Each - descriptor type can be updated independently. - """ - - mcp: UpdatedMcpDescriptor | None = ... - """The updated MCP descriptor.""" - a2a: UpdatedA2aDescriptor | None = ... - """The updated A2A descriptor.""" - custom: UpdatedCustomDescriptor | None = ... - """The updated custom descriptor.""" - agent_skills: UpdatedAgentSkillsDescriptor | None = ... - """The updated agent skills descriptor.""" - -@dataclass(kw_only=True) -class UpdatedHarnessEnvironmentArtifact(_SerdeShape): - """Wrapper for updating the environment artifact configuration.""" - - optional_value: HarnessEnvironmentArtifact | None = ... - """ - The updated environment artifact value, or null to clear the existing - configuration. - """ - -@dataclass(kw_only=True) -class UpdatedHarnessMemoryConfiguration(_SerdeShape): - """Wrapper for updating the memory configuration.""" - - optional_value: HarnessMemoryConfiguration | None = ... - """ - The updated memory configuration value, or null to clear the existing - configuration. - """ - -@dataclass(kw_only=True) -class UpdatedMcpDescriptor(_SerdeShape): - """ - Wrapper for updating an MCP descriptor with PATCH semantics. When - present with a value, individual MCP fields can be updated - independently. When present with a null value, the entire MCP descriptor - is unset. When absent, the MCP descriptor is left unchanged. - """ - - optional_value: UpdatedMcpDescriptorFields | None = ... - """The updated MCP descriptor fields.""" - -@dataclass(kw_only=True) -class UpdatedMcpDescriptorFields(_SerdeShape): - """Individual MCP descriptor fields that can be updated independently.""" - - server: UpdatedServerDefinition | None = ... - """The updated server definition for the MCP descriptor.""" - tools: UpdatedToolsDefinition | None = ... - """The updated tools definition for the MCP descriptor.""" - -@dataclass(kw_only=True) -class UpdatedServerDefinition(_SerdeShape): - """ - Wrapper for updating a server definition with PATCH semantics. When - present, the server definition is replaced with the provided value. When - absent, the server definition is left unchanged. To unset, include the - wrapper with the value set to null. - """ - - optional_value: ServerDefinition | None = ... - """The updated server definition value.""" - -@dataclass(kw_only=True) -class UpdatedSkillDefinition(_SerdeShape): - """Wrapper for updating a skill definition with PATCH semantics.""" - - optional_value: SkillDefinition | None = ... - """The updated skill definition value.""" - -@dataclass(kw_only=True) -class UpdatedSkillMdDefinition(_SerdeShape): - """Wrapper for updating a skill markdown definition with PATCH semantics.""" - - optional_value: SkillMdDefinition | None = ... - """The updated skill markdown definition value.""" - -@dataclass(kw_only=True) -class UpdatedSynchronizationConfiguration(_SerdeShape): - """ - Wrapper for updating the synchronization configuration with PATCH - semantics. Must be matched with `UpdatedSynchronizationType`. - """ - - optional_value: SynchronizationConfiguration | None = ... - """The updated synchronization configuration value.""" - -@dataclass(kw_only=True) -class UpdatedSynchronizationType(_SerdeShape): - """ - Wrapper for updating the synchronization type with PATCH semantics. Must - be matched with `UpdatedSynchronizationConfiguration`. - """ - - optional_value: str | None = ... - """The updated synchronization type value.""" - -@dataclass(kw_only=True) -class UpdatedToolsDefinition(_SerdeShape): - """ - Wrapper for updating a tools definition with PATCH semantics. When - present, the tools definition is replaced with the provided value. When - absent, the tools definition is left unchanged. To unset, include the - wrapper with the value set to null. - """ - - optional_value: ToolsDefinition | None = ... - """The updated tools definition value.""" - -@dataclass(kw_only=True) -class UpdateEvaluatorInput(_SerdeShape): - """Dataclass for UpdateEvaluatorInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - evaluator_id: str | None = ... - """The unique identifier of the evaluator to update.""" - description: str | None = ... - """The updated description of the evaluator.""" - evaluator_config: EvaluatorConfig | None = ... - """ - The updated configuration for the evaluator. Specify either - LLM-as-a-Judge settings with instructions, rating scale, and model - configuration, or code-based settings with a customer-managed Lambda - function. - """ - level: str | None = ... - """ - The updated evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that - determines the scope of evaluation. - """ - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a customer managed KMS key to use for - encrypting sensitive evaluator data. Specify a new key ARN to rotate the - encryption key, or specify a key ARN to add encryption to an evaluator - that was previously created without one. When you rotate to a new key, - the service decrypts the existing data with the old key and re-encrypts - it with the new key. Only symmetric encryption KMS keys are supported. - For more information, see [Encryption at rest for AgentCore - Evaluations](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html). - """ - -@dataclass(kw_only=True) -class UpdateEvaluatorOutput(_SerdeShape): - """Dataclass for UpdateEvaluatorOutput structure.""" - - evaluator_arn: str - """The Amazon Resource Name (ARN) of the updated evaluator.""" - evaluator_id: str - """The unique identifier of the updated evaluator.""" - updated_at: datetime - """The timestamp when the evaluator was last updated.""" - status: str - """The status of the evaluator update operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGatewayInput(_SerdeShape): - """Dataclass for UpdateGatewayInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway to update.""" - name: str | None = ... - """ - The name of the gateway. This name must be the same as the one when the - gateway was created. - """ - description: str | None = ... - """The updated description for the gateway.""" - role_arn: str | None = ... - """The updated IAM role ARN that provides permissions for the gateway.""" - protocol_type: str = ... - """The updated protocol type for the gateway.""" - protocol_configuration: GatewayProtocolConfiguration | None = ... - """ - The configuration for a gateway protocol. This structure defines how the - gateway communicates with external services. - """ - authorizer_type: str | None = ... - """The updated authorizer type for the gateway.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """The updated authorizer configuration for the gateway.""" - kms_key_arn: str | None = ... - """The updated ARN of the KMS key used to encrypt the gateway.""" - custom_transform_configuration: CustomTransformConfiguration | None = ... - """ - The updated custom transformation configuration for the gateway. This - configuration defines how the gateway transforms requests and responses. - """ - interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... - """The updated interceptor configurations for the gateway.""" - policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... - """ - The updated policy engine configuration for the gateway. A policy engine - is a collection of policies that evaluates and authorizes agent tool - calls. When associated with a gateway, the policy engine intercepts all - agent requests and determines whether to allow or deny each action based - on the defined policies. - """ - exception_level: str | None = ... - """ - The level of detail in error messages returned when invoking the - gateway. - - - If the value is `DEBUG`, granular exception messages are returned to - help a user debug the gateway. - - - If the value is omitted, a generic error message is returned to the - end user. - """ - waf_configuration: WafConfiguration | None = ... - """The updated Amazon Web Services WAF configuration for the gateway.""" - domain_override: DomainOverride | None = ... - """ - The updated public domain names that the gateway advertises in its OAuth - discovery URLs instead of the inbound Host header. Specify this when - clients reach the gateway through your own proxy or custom domain. - """ - -@dataclass(kw_only=True) -class UpdateGatewayOutput(_SerdeShape): - """Dataclass for UpdateGatewayOutput structure.""" - - gateway_arn: str - """The Amazon Resource Name (ARN) of the updated gateway.""" - gateway_id: str - """The unique identifier of the updated gateway.""" - gateway_url: str | None = ... - """An endpoint for invoking the updated gateway.""" - created_at: datetime - """The timestamp when the gateway was created.""" - updated_at: datetime - """The timestamp when the gateway was last updated.""" - status: str - """The current status of the updated gateway.""" - status_reasons: list[str] | None = ... - """The reasons for the current status of the updated gateway.""" - name: str - """The name of the gateway.""" - description: str | None = ... - """The updated description of the gateway.""" - role_arn: str | None = ... - """The updated IAM role ARN that provides permissions for the gateway.""" - protocol_type: str = ... - """The updated protocol type for the gateway.""" - protocol_configuration: GatewayProtocolConfiguration | None = ... - """ - The configuration for a gateway protocol. This structure defines how the - gateway communicates with external services. - """ - authorizer_type: str - """The updated authorizer type for the gateway.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """The updated authorizer configuration for the gateway.""" - kms_key_arn: str | None = ... - """The updated ARN of the KMS key used to encrypt the gateway.""" - custom_transform_configuration: CustomTransformConfiguration | None = ... - """ - The custom transformation configuration for the gateway. This - configuration defines how the gateway transforms requests and responses. - """ - interceptor_configurations: list[GatewayInterceptorConfiguration] | None = ... - """The updated interceptor configurations for the gateway.""" - policy_engine_configuration: GatewayPolicyEngineConfiguration | None = ... - """The updated policy engine configuration for the gateway.""" - workload_identity_details: WorkloadIdentityDetails | None = ... - """The workload identity details for the updated gateway.""" - exception_level: str | None = ... - """ - The level of detail in error messages returned when invoking the - gateway. - - - If the value is `DEBUG`, granular exception messages are returned to - help a user debug the gateway. - - - If the value is omitted, a generic error message is returned to the - end user. - """ - web_acl_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services WAF web ACL - associated with the gateway. - """ - waf_configuration: WafConfiguration | None = ... - """The Amazon Web Services WAF configuration for the gateway.""" - domain_override: DomainOverride | None = ... - """ - The public domain names that the gateway advertises in its OAuth - discovery URLs instead of the inbound Host header. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGatewayRateLimitInput(_SerdeShape): - """Dataclass for UpdateGatewayRateLimitInput structure.""" - - gateway_identifier: str | None = ... - """The unique identifier of the gateway.""" - rate_limit_id: str | None = ... - """The unique identifier of the rate limit to update.""" - description: str | None = ... - """The updated human-readable description for this rate limit.""" - entries: list[LimitEntry] | None = ... - """ - The updated rule entries. The dimension keys are immutable after - creation and cannot be changed. - """ - -@dataclass(kw_only=True) -class UpdateGatewayRateLimitOutput(_SerdeShape): - """Shared fields for `GatewayRateLimit` responses.""" - - rate_limit_id: str - """The unique identifier of the rate limit.""" - gateway_identifier: str - """The unique identifier of the gateway.""" - description: str | None = ... - """The human-readable description of the rate limit.""" - dimension_keys: list[str] - """ - The ordered list of dimension key names that define the scope of this - rate limit. - """ - entries: list[LimitEntry] - """ - The list of rule entries that map dimension values to rate - configurations. - """ - status: str - """The current status of the rate limit.""" - created_at: datetime - """The timestamp when the rate limit was created.""" - updated_at: datetime - """The timestamp when the rate limit was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGatewayRuleInput(_SerdeShape): - """Dataclass for UpdateGatewayRuleInput structure.""" - - gateway_identifier: str | None = ... - """The identifier of the gateway containing the rule.""" - rule_id: str | None = ... - """The unique identifier of the rule to update.""" - priority: int | None = ... - """The updated priority of the rule.""" - conditions: list[Condition] | None = ... - """The updated conditions for the rule.""" - actions: list[Action] | None = ... - """The updated actions for the rule.""" - description: str | None = ... - """The updated description of the rule.""" - -@dataclass(kw_only=True) -class UpdateGatewayRuleOutput(_SerdeShape): - """ - Create response excludes updatedAt (redundant on create). Get/Update - responses include it via their own output structures. - """ - - rule_id: str - """The unique identifier of the gateway rule.""" - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway that the rule belongs to.""" - priority: int - """ - The priority of the rule. Rules are evaluated in order of priority, with - lower numbers evaluated first. - """ - conditions: list[Condition] | None = ... - """The conditions that must be met for the rule to apply.""" - actions: list[Action] - """The actions to take when the rule conditions are met.""" - description: str | None = ... - """The description of the gateway rule.""" - created_at: datetime - """The timestamp when the rule was created.""" - status: str - """The current status of the rule.""" - system: SystemManagedBlock | None = ... - """System-managed metadata for rules created by automated processes.""" - updated_at: datetime | None = ... - """The timestamp when the rule was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGatewayTargetInput(_SerdeShape): - """Dataclass for UpdateGatewayTargetInput structure.""" - - gateway_identifier: str | None = ... - """The unique identifier of the gateway associated with the target.""" - target_id: str | None = ... - """The unique identifier of the gateway target to update.""" - name: str | None = ... - """The updated name for the gateway target.""" - description: str | None = ... - """The updated description for the gateway target.""" - target_configuration: TargetConfiguration | None = ... - """ - The configuration for a gateway target. This structure defines how the - gateway connects to and interacts with the target endpoint. - """ - credential_provider_configurations: ( - list[CredentialProviderConfiguration] | None - ) = ... - """The updated credential provider configurations for the gateway target.""" - metadata_configuration: MetadataConfiguration | None = ... - """ - Configuration for HTTP header and query parameter propagation to the - gateway target. - """ - private_endpoint: PrivateEndpoint | None = ... - """ - The private endpoint configuration for the gateway target. Use this to - connect the gateway to private resources in your VPC. - """ - certificate_configurations: list[CertificateConfiguration] | None = ... - """ - The private certificate authority (CA) configurations for the gateway - target. Use this to have the gateway trust a private CA when it - establishes TLS connections to the target endpoint. Provide each - certificate by reference to an Amazon S3 object or an Amazon Web - Services Secrets Manager secret. You can specify only one certificate - authority configuration in this list. To remove a previously configured - certificate authority, omit this field on update. - """ - -@dataclass(kw_only=True) -class UpdateGatewayTargetOutput(_SerdeShape): - """Dataclass for UpdateGatewayTargetOutput structure.""" - - gateway_arn: str - """The Amazon Resource Name (ARN) of the gateway.""" - target_id: str - """The unique identifier of the updated gateway target.""" - created_at: datetime - """The timestamp when the gateway target was created.""" - updated_at: datetime - """The timestamp when the gateway target was last updated.""" - status: str - """The current status of the updated gateway target.""" - status_reasons: list[str] | None = ... - """The reasons for the current status of the updated gateway target.""" - name: str - """The updated name of the gateway target.""" - description: str | None = ... - """The updated description of the gateway target.""" - target_configuration: TargetConfiguration - """ - The configuration for a gateway target. This structure defines how the - gateway connects to and interacts with the target endpoint. - """ - credential_provider_configurations: list[CredentialProviderConfiguration] - """The updated credential provider configurations for the gateway target.""" - last_synchronized_at: datetime | None = ... - """The date and time at which the targets were last synchronized.""" - metadata_configuration: MetadataConfiguration | None = ... - """The metadata configuration that was applied to the gateway target.""" - private_endpoint: PrivateEndpoint | None = ... - """The private endpoint configuration for the gateway target.""" - private_endpoint_managed_resources: list[ManagedResourceDetails] | None = ... - """ - The managed resources created by the gateway for private endpoint - connectivity. - """ - authorization_data: AuthorizationData | None = ... - """ - OAuth2 authorization data for the updated gateway target. This data is - returned when a target is configured with a credential provider with - authorization code grant type and requires user federation. - """ - protocol_type: str | None = ... - """The protocol type of the updated gateway target.""" - certificate_configurations: list[CertificateConfiguration] | None = ... - """ - The private certificate authority (CA) configurations for the gateway - target. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateHarnessEndpointInput(_SerdeShape): - """Dataclass for UpdateHarnessEndpointInput structure.""" - - harness_id: str | None = ... - """The ID of the harness that the endpoint belongs to.""" - endpoint_name: str | None = ... - """The name of the endpoint to update.""" - target_version: str | None = ... - """ - The harness version that the endpoint points to. If not specified, the - existing value is retained. - """ - description: str | None = ... - """ - A description of the endpoint. If not specified, the existing value is - retained. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - -@dataclass(kw_only=True) -class UpdateHarnessEndpointOutput(_SerdeShape): - """Dataclass for UpdateHarnessEndpointOutput structure.""" - - endpoint: HarnessEndpoint - """The updated endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateHarnessInput(_SerdeShape): - """Dataclass for UpdateHarnessInput structure.""" - - harness_id: str | None = ... - """The ID of the harness to update.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. - """ - execution_role_arn: str | None = ... - """ - The ARN of the IAM role that the harness assumes when running. If not - specified, the existing value is retained. - """ - environment: HarnessEnvironmentProviderRequest | None = ... - """ - The compute environment configuration for the harness. If not specified, - the existing value is retained. - """ - environment_artifact: UpdatedHarnessEnvironmentArtifact | None = ... - """ - The environment artifact for the harness. Use the optionalValue wrapper - to set a new value, or set it to null to clear the existing - configuration. - """ - environment_variables: dict[str, str] | None = ... - """ - Environment variables to set in the harness runtime environment. If - specified, this replaces all existing environment variables. If not - specified, the existing value is retained. - """ - authorizer_configuration: UpdatedAuthorizerConfiguration | None = ... - """ - Wrapper for updating an optional AuthorizerConfiguration field with - PATCH semantics. When present in an update request, the authorizer - configuration is replaced with optionalValue. When absent, the - authorizer configuration is left unchanged. To unset, include the - wrapper with optionalValue not specified. - """ - model: HarnessModelConfiguration | None = ... - """ - The model configuration for the harness. If not specified, the existing - value is retained. - """ - system_prompt: list[HarnessSystemContentBlock] | None = ... - """ - The system prompt that defines the agent's behavior. If not specified, - the existing value is retained. - """ - tools: list[HarnessTool] | None = ... - """ - The tools available to the agent. If specified, this replaces all - existing tools. If not specified, the existing value is retained. - """ - skills: list[HarnessSkill] | None = ... - """ - The skills available to the agent. If specified, this replaces all - existing skills. If not specified, the existing value is retained. - """ - allowed_tools: list[str] | None = ... - """ - The tools that the agent is allowed to use. If specified, this replaces - all existing allowed tools. If not specified, the existing value is - retained. - """ - memory: UpdatedHarnessMemoryConfiguration | None = ... - """ - The AgentCore Memory configuration. Use the optionalValue wrapper to set - a new value, or set it to null to clear the existing configuration. - """ - truncation: HarnessTruncationConfiguration | None = ... - """ - The truncation configuration for managing conversation context. If not - specified, the existing value is retained. - """ - hooks: list[HarnessHook] | None = ... - """ - The lifecycle hooks to run at defined points in the agent loop. If - specified, this replaces all existing hooks. If not specified, the - existing hooks are retained. - """ - max_iterations: int | None = ... - """ - The maximum number of iterations the agent loop can execute per - invocation. If not specified, the existing value is retained. - """ - max_tokens: int | None = ... - """ - The maximum total number of output tokens the agent can generate across - all model calls within a single invocation. If not specified, the - existing value is retained. - """ - timeout_seconds: int | None = ... - """ - The maximum duration in seconds for the agent loop execution per - invocation. If not specified, the existing value is retained. - """ - -@dataclass(kw_only=True) -class UpdateHarnessOutput(_SerdeShape): - """Dataclass for UpdateHarnessOutput structure.""" - - harness: Harness - """The updated harness.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateMemoryInput(_SerdeShape): - """Dataclass for UpdateMemoryInput structure.""" - - client_token: str | None = ... - """ - A client token is used for keeping track of idempotent requests. It can - contain a session id which can be around 250 chars, combined with a - unique Amazon Web Services identifier. - """ - memory_id: str | None = ... - """The unique identifier of the memory to update.""" - description: str | None = ... - """The updated description of the AgentCore Memory resource.""" - event_expiry_duration: int | None = ... - """ - The number of days after which memory events expire, between 7 and 3650 - days. - """ - memory_execution_role_arn: str | None = ... - """ - The ARN of the IAM role that provides permissions for the AgentCore - Memory resource. - """ - memory_strategies: ModifyMemoryStrategies | None = ... - """The memory strategies to add, modify, or delete.""" - add_indexed_keys: list[IndexedKey] | None = ... - """ - Additional metadata keys to index. Previously indexed keys cannot be - removed. - """ - namespace_keys: list[NamespaceKeyEntry] | None = ... - """ - The namespace variable key definitions with validation rules for this - memory. This value fully replaces the existing set --- any key you omit - is removed. Any referenced `namespaceKey` omission will throw - ValidationException. - """ - stream_delivery_resources: StreamDeliveryResources | None = ... - """Configuration for streaming memory record data to external resources.""" - -@dataclass(kw_only=True) -class UpdateMemoryOutput(_SerdeShape): - """Dataclass for UpdateMemoryOutput structure.""" - - memory: Memory | None = ... - """The updated AgentCore Memory resource details.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateOauth2CredentialProviderInput(_SerdeShape): - """Dataclass for UpdateOauth2CredentialProviderInput structure.""" - - name: str | None = ... - """The name of the OAuth2 credential provider to update.""" - credential_provider_vendor: str | None = ... - """The vendor of the OAuth2 credential provider.""" - oauth2_provider_config_input: Oauth2ProviderConfigInput | None = ... - """The configuration input for the OAuth2 provider.""" - -@dataclass(kw_only=True) -class UpdateOauth2CredentialProviderOutput(_SerdeShape): - """Dataclass for UpdateOauth2CredentialProviderOutput structure.""" - - client_secret_arn: Secret - """ - The Amazon Resource Name (ARN) of the client secret in Amazon Web - Services Secrets Manager. - """ - client_secret_json_key: str | None = ... - """ - The JSON key used to extract the client secret value from the Amazon Web - Services Secrets Manager secret. - """ - client_secret_source: str | None = ... - """ - The source type of the client secret. Either `MANAGED` if the secret is - managed by the service, or `EXTERNAL` if managed by the user in Amazon - Web Services Secrets Manager. - """ - name: str - """The name of the OAuth2 credential provider.""" - credential_provider_vendor: str - """The vendor of the OAuth2 credential provider.""" - credential_provider_arn: str - """The Amazon Resource Name (ARN) of the OAuth2 credential provider.""" - callback_url: str | None = ... - """ - Callback URL to register on the OAuth2 credential provider as an allowed - callback URL. This URL is where the OAuth2 authorization server - redirects users after they complete the authorization flow. - """ - oauth2_provider_config_output: Oauth2ProviderConfigOutput - """The configuration output for the OAuth2 provider.""" - created_time: datetime - """The timestamp when the OAuth2 credential provider was created.""" - last_updated_time: datetime - """The timestamp when the OAuth2 credential provider was last updated.""" - status: str | None = ... - """The current status of the updated OAuth2 credential provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateOnlineEvaluationConfigInput(_SerdeShape): - """Dataclass for UpdateOnlineEvaluationConfigInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - online_evaluation_config_id: str | None = ... - """The unique identifier of the online evaluation configuration to update.""" - description: str | None = ... - """The updated description of the online evaluation configuration.""" - rule: Rule | None = ... - """ - The updated evaluation rule containing sampling configuration, filters, - and session settings. - """ - data_source_config: DataSourceConfig | None = ... - """ - The updated data source configuration specifying CloudWatch log groups - and service names to monitor. - """ - evaluators: list[EvaluatorReference] | None = ... - """The updated list of evaluators to apply during online evaluation.""" - insights: list[Insight] | None = ... - """The updated list of insight types to run against agent sessions.""" - clustering_config: ClusteringConfig | None = ... - """The updated clustering configuration for periodic batch evaluation.""" - output_config: OutputConfig | None = ... - """ - The configuration that specifies where evaluation results should be - written for monitoring and analysis. - """ - evaluation_execution_role_arn: str | None = ... - """ - The updated Amazon Resource Name (ARN) of the IAM role used for - evaluation execution. - """ - execution_status: str | None = ... - """The updated execution status to enable or disable the online evaluation.""" - -@dataclass(kw_only=True) -class UpdateOnlineEvaluationConfigOutput(_SerdeShape): - """Dataclass for UpdateOnlineEvaluationConfigOutput structure.""" - - online_evaluation_config_arn: str - """ - The Amazon Resource Name (ARN) of the updated online evaluation - configuration. - """ - online_evaluation_config_id: str - """The unique identifier of the updated online evaluation configuration.""" - updated_at: datetime - """The timestamp when the online evaluation configuration was last updated.""" - status: str - """The status of the online evaluation configuration.""" - execution_status: str - """ - The execution status indicating whether the online evaluation is - currently running. - """ - failure_reason: str | None = ... - """ - The reason for failure if the online evaluation configuration update or - execution failed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatePaymentConnectorInput(_SerdeShape): - """Dataclass for UpdatePaymentConnectorInput structure.""" - - payment_manager_id: str | None = ... - """The unique identifier of the parent payment manager.""" - payment_connector_id: str | None = ... - """The unique identifier of the payment connector to update.""" - description: str | None = ... - """The updated description of the payment connector.""" - type: str | None = ... - """The updated type of the payment connector.""" - credential_provider_configurations: ( - list[CredentialsProviderConfiguration] | None - ) = ... - """ - The updated credential provider configurations for the payment - connector. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class UpdatePaymentConnectorOutput(_SerdeShape): - """Dataclass for UpdatePaymentConnectorOutput structure.""" - - payment_connector_id: str - """The unique identifier of the updated payment connector.""" - payment_manager_id: str - """The unique identifier of the parent payment manager.""" - name: str - """The name of the updated payment connector.""" - type: str - """The type of the updated payment connector.""" - credential_provider_configurations: list[CredentialsProviderConfiguration] - """ - The credential provider configurations for the updated payment - connector. - """ - last_updated_at: datetime - """The timestamp when the payment connector was last updated.""" - status: str - """ - The current status of the updated payment connector. Possible values - include `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, - `UPDATE_FAILED`, and `DELETE_FAILED`. - """ - authorization_url: str | None = ... - """ - The URL that the user must open to complete OAuth consent. This field is - only present when the payment connector status is - `PENDING_AUTHENTICATION`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatePaymentCredentialProviderInput(_SerdeShape): - """Dataclass for UpdatePaymentCredentialProviderInput structure.""" - - name: str | None = ... - """The name of the payment credential provider to update.""" - credential_provider_vendor: str | None = ... - """ - The vendor type for the payment credential provider (e.g., CoinbaseCDP, - StripePrivy). - """ - provider_configuration_input: PaymentProviderConfigurationInput | None = ... - """Configuration specific to the vendor, including API credentials.""" - -@dataclass(kw_only=True) -class UpdatePaymentCredentialProviderOutput(_SerdeShape): - """Dataclass for UpdatePaymentCredentialProviderOutput structure.""" - - name: str - """The name of the updated payment credential provider.""" - credential_provider_vendor: str - """The vendor type for the updated payment credential provider.""" - credential_provider_arn: str - """ - The Amazon Resource Name (ARN) of the updated payment credential - provider. - """ - provider_configuration_output: PaymentProviderConfigurationOutput - """ - Output configuration (contains secret ARNs, excludes actual secret - values). - """ - created_time: datetime - """The timestamp when the payment credential provider was created.""" - last_updated_time: datetime - """The timestamp when the payment credential provider was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatePaymentManagerInput(_SerdeShape): - """Dataclass for UpdatePaymentManagerInput structure.""" - - payment_manager_id: str | None = ... - """The unique identifier of the payment manager to update.""" - description: str | None = ... - """The updated description of the payment manager.""" - authorizer_type: str | None = ... - """The updated authorizer type for the payment manager.""" - authorizer_configuration: AuthorizerConfiguration | None = ... - """The updated authorizer configuration for the payment manager.""" - role_arn: str | None = ... - """ - The updated Amazon Resource Name (ARN) of the IAM role for the payment - manager. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If you don't specify this field, a - value is randomly generated for you. If this token matches a previous - request, the service ignores the request, but doesn't return an error. - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - kms_key_arn: str | None = ... - """ - The updated Amazon Resource Name (ARN) of the customer managed KMS key - used to encrypt sensitive payment manager data at rest. - """ - -@dataclass(kw_only=True) -class UpdatePaymentManagerOutput(_SerdeShape): - """Dataclass for UpdatePaymentManagerOutput structure.""" - - payment_manager_arn: str - """The Amazon Resource Name (ARN) of the updated payment manager.""" - payment_manager_id: str - """The unique identifier of the updated payment manager.""" - name: str - """The name of the updated payment manager.""" - authorizer_type: str - """The type of authorizer for the updated payment manager.""" - role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role associated with the - updated payment manager. - """ - workload_identity_details: WorkloadIdentityDetails | None = ... - """The information about the workload identity.""" - last_updated_at: datetime - """The timestamp when the payment manager was last updated.""" - status: str - """ - The current status of the updated payment manager. Possible values - include `CREATING`, `READY`, `UPDATING`, `DELETING`, `CREATE_FAILED`, - `UPDATE_FAILED`, and `DELETE_FAILED`. - """ - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive - payment manager data at rest, if configured. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatePolicyEngineInput(_SerdeShape): - """Dataclass for UpdatePolicyEngineInput structure.""" - - policy_engine_id: str | None = ... - """The unique identifier of the policy engine to be updated.""" - description: UpdatedDescription | None = ... - """The new description for the policy engine.""" - -@dataclass(kw_only=True) -class UpdatePolicyEngineOutput(_SerdeShape): - """Dataclass for UpdatePolicyEngineOutput structure.""" - - policy_engine_id: str - """The unique identifier of the updated policy engine.""" - name: str - """The name of the updated policy engine.""" - created_at: datetime - """The original creation timestamp of the policy engine.""" - updated_at: datetime - """The timestamp when the policy engine was last updated.""" - policy_engine_arn: str - """The ARN of the updated policy engine.""" - status: str - """The current status of the updated policy engine.""" - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy - engine data. - """ - description: str | None = ... - """The updated description of the policy engine.""" - status_reasons: list[str] - """Additional information about the update status.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatePolicyInput(_SerdeShape): - """Dataclass for UpdatePolicyInput structure.""" - - policy_engine_id: str | None = ... - """ - The identifier of the policy engine that manages the policy to be - updated. This ensures the policy is updated within the correct policy - engine context. - """ - policy_id: str | None = ... - """ - The unique identifier of the policy to be updated. This must be a valid - policy ID that exists within the specified policy engine. - """ - description: UpdatedDescription | None = ... - """ - The new human-readable description for the policy. This optional field - allows updating the policy's documentation while keeping the same - policy logic. - """ - definition: PolicyDefinition | None = ... - """ - The new Cedar or Dogwood policy statement that defines the access - control rules. This replaces the existing policy definition with new - logic while maintaining the policy's identity. - """ - validation_mode: str = ... - """ - The validation mode for the policy update. Determines how Cedar analyzer - validation results are handled during policy updates. - FAIL_ON_ANY_FINDINGS runs the Cedar analyzer and fails the update if - validation issues are detected, ensuring the policy conforms to the - Cedar schema and tool context. IGNORE_ALL_FINDINGS runs the Cedar - analyzer but allows updates despite validation warnings. Use - FAIL_ON_ANY_FINDINGS to ensure policy correctness during updates, - especially when modifying policy logic or conditions. - """ - enforcement_mode: str | None = ... - """ - The enforcement mode for the policy. Run this policy in `LOG_ONLY` mode - to collect data on how it affects your application. Once you are - satisfied with the data gathered, switch the policy to `ACTIVE`. If you - omit this field, the policy's existing enforcement mode is unchanged. - """ - -@dataclass(kw_only=True) -class UpdatePolicyOutput(_SerdeShape): - """Dataclass for UpdatePolicyOutput structure.""" - - policy_id: str - """The unique identifier of the updated policy.""" - name: str - """The name of the updated policy.""" - policy_engine_id: str - """The identifier of the policy engine managing the updated policy.""" - created_at: datetime - """The original creation timestamp of the policy.""" - updated_at: datetime - """The timestamp when the policy was last updated.""" - policy_arn: str - """The ARN of the updated policy.""" - status: str - """The current status of the updated policy.""" - enforcement_mode: str = ... - """The current enforcement mode of the updated policy.""" - definition: PolicyDefinition - """The updated Cedar or Dogwood policy statement.""" - description: str | None = ... - """The updated description of the policy.""" - status_reasons: list[str] - """Additional information about the update status.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRegistryInput(_SerdeShape): - """Dataclass for UpdateRegistryInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry to update. You can specify either the - Amazon Resource Name (ARN) or the ID of the registry. - """ - name: str | None = ... - """The updated name of the registry.""" - description: UpdatedDescription | None = ... - """ - The updated description of the registry. To clear the description, - include the `UpdatedDescription` wrapper with `optionalValue` not - specified. - """ - authorizer_configuration: UpdatedAuthorizerConfiguration | None = ... - """ - The updated authorizer configuration for the registry. Changing the - authorizer configuration can break existing consumers of the registry - who are using the authorization type prior to the update. - """ - approval_configuration: UpdatedApprovalConfiguration | None = ... - """ - The updated approval configuration for registry records. The updated - configuration only affects new records that move to `PENDING_APPROVAL` - status after the change. Existing records already in `PENDING_APPROVAL` - status are not affected. - """ - -@dataclass(kw_only=True) -class UpdateRegistryOutput(_SerdeShape): - """Dataclass for UpdateRegistryOutput structure.""" - - name: str - """The name of the updated registry.""" - description: str | None = ... - """The description of the updated registry.""" - registry_id: str - """The unique identifier of the updated registry.""" - registry_arn: str - """The Amazon Resource Name (ARN) of the updated registry.""" - authorizer_type: str | None = ... - """ - The type of authorizer used by the updated registry. This controls the - authorization method for the Search and Invoke APIs used by consumers. - - - `CUSTOM_JWT` - Authorize with a bearer token. - - - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials. - """ - authorizer_configuration: AuthorizerConfiguration | None = ... - """ - The authorizer configuration for the updated registry. For details, see - the `AuthorizerConfiguration` data type. - """ - approval_configuration: ApprovalConfiguration | None = ... - """ - The approval configuration for the updated registry. For details, see - the `ApprovalConfiguration` data type. - """ - status: str - """ - The current status of the updated registry. Possible values include - `CREATING`, `READY`, `UPDATING`, `CREATE_FAILED`, `UPDATE_FAILED`, - `DELETING`, and `DELETE_FAILED`. - """ - status_reason: str | None = ... - """The reason for the current status of the updated registry.""" - created_at: datetime - """The timestamp when the registry was created.""" - updated_at: datetime - """The timestamp when the registry was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRegistryRecordInput(_SerdeShape): - """Dataclass for UpdateRegistryRecordInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry containing the record. You can specify - either the Amazon Resource Name (ARN) or the ID of the registry. - """ - record_id: str | None = ... - """ - The identifier of the registry record to update. You can specify either - the Amazon Resource Name (ARN) or the ID of the record. - """ - name: str | None = ... - """The updated name for the registry record.""" - description: UpdatedDescription | None = ... - """ - The updated description for the registry record. To clear the - description, include the `UpdatedDescription` wrapper with - `optionalValue` not specified. - """ - descriptor_type: str | None = ... - """ - The updated descriptor type for the registry record. Changing the - descriptor type may require updating the `descriptors` field to match - the new type's schema requirements. - """ - descriptors: UpdatedDescriptors | None = ... - """ - The updated descriptor-type-specific configuration containing the - resource schema and metadata. Uses PATCH semantics where individual - descriptor fields can be updated independently. - """ - record_version: str | None = ... - """ - The version of the registry record for optimistic locking. If provided, - it must match the current version of the record. The service - automatically increments the version after a successful update. - """ - synchronization_type: UpdatedSynchronizationType | None = ... - """The updated synchronization type for the registry record.""" - synchronization_configuration: UpdatedSynchronizationConfiguration | None = ... - """The updated synchronization configuration for the registry record.""" - trigger_synchronization: bool | None = ... - """ - Whether to trigger synchronization using the stored or provided - configuration. When set to `true`, the service will synchronize the - record metadata from the configured external source. - """ - -@dataclass(kw_only=True) -class UpdateRegistryRecordOutput(_SerdeShape): - """Dataclass for UpdateRegistryRecordOutput structure.""" - - registry_arn: str - """ - The Amazon Resource Name (ARN) of the registry that contains the updated - record. - """ - record_arn: str - """The Amazon Resource Name (ARN) of the updated registry record.""" - record_id: str - """The unique identifier of the updated registry record.""" - name: str - """The name of the updated registry record.""" - description: str | None = ... - """The description of the updated registry record.""" - descriptor_type: str - """ - The descriptor type of the updated registry record. Possible values are - `MCP`, `A2A`, `CUSTOM`, and `AGENT_SKILLS`. - """ - descriptors: Descriptors - """ - The descriptor-type-specific configuration of the updated registry - record. For details, see the `Descriptors` data type. - """ - record_version: str | None = ... - """The version of the updated registry record.""" - status: str - """ - The current status of the updated registry record. Possible values - include `CREATING`, `DRAFT`, `APPROVED`, `PENDING_APPROVAL`, `REJECTED`, - `DEPRECATED`, `UPDATING`, `CREATE_FAILED`, and `UPDATE_FAILED`. - """ - created_at: datetime - """The timestamp when the registry record was created.""" - updated_at: datetime - """The timestamp when the registry record was last updated.""" - status_reason: str | None = ... - """The reason for the current status of the updated registry record.""" - synchronization_type: str | None = ... - """The synchronization type of the updated registry record.""" - synchronization_configuration: SynchronizationConfiguration | None = ... - """The synchronization configuration of the updated registry record.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRegistryRecordStatusInput(_SerdeShape): - """Dataclass for UpdateRegistryRecordStatusInput structure.""" - - registry_id: str | None = ... - """ - The identifier of the registry containing the record. You can specify - either the Amazon Resource Name (ARN) or the ID of the registry. - """ - record_id: str | None = ... - """ - The identifier of the registry record to update the status for. You can - specify either the Amazon Resource Name (ARN) or the ID of the record. - """ - status: str | None = ... - """The target status for the registry record.""" - status_reason: str | None = ... - """ - The reason for the status change, such as why the record was approved or - rejected. - """ - -@dataclass(kw_only=True) -class UpdateRegistryRecordStatusOutput(_SerdeShape): - """Dataclass for UpdateRegistryRecordStatusOutput structure.""" - - registry_arn: str - """The Amazon Resource Name (ARN) of the registry that contains the record.""" - record_arn: str - """The Amazon Resource Name (ARN) of the registry record.""" - record_id: str - """The unique identifier of the registry record.""" - status: str - """The resulting status of the registry record.""" - status_reason: str - """The reason for the status change.""" - updated_at: datetime - """The timestamp when the record was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateWorkloadIdentityInput(_SerdeShape): - """Dataclass for UpdateWorkloadIdentityInput structure.""" - - name: str | None = ... - """The name of the workload identity to update.""" - allowed_resource_oauth2_return_urls: list[str] | None = ... - """ - The new list of allowed OAuth2 return URLs for resources associated with - this workload identity. This list replaces the existing list. - """ - -@dataclass(kw_only=True) -class UpdateWorkloadIdentityOutput(_SerdeShape): - """Dataclass for UpdateWorkloadIdentityOutput structure.""" - - name: str - """The name of the workload identity.""" - workload_identity_arn: str - """The Amazon Resource Name (ARN) of the workload identity.""" - allowed_resource_oauth2_return_urls: list[str] | None = ... - """ - The list of allowed OAuth2 return URLs for resources associated with - this workload identity. - """ - created_time: datetime - """The timestamp when the workload identity was created.""" - last_updated_time: datetime - """The timestamp when the workload identity was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UserPreferenceConsolidationOverride(_SerdeShape): - """Contains user preference consolidation override configuration.""" - - append_to_prompt: str - """The text to append to the prompt for user preference consolidation.""" - model_id: str - """The model ID to use for user preference consolidation.""" - -@dataclass(kw_only=True) -class UserPreferenceExtractionOverride(_SerdeShape): - """Contains user preference extraction override configuration.""" - - append_to_prompt: str - """The text to append to the prompt for user preference extraction.""" - model_id: str - """The model ID to use for user preference extraction.""" - -@dataclass(kw_only=True) -class UserPreferenceMemoryStrategyInput(_SerdeShape): - """Input for creating a user preference memory strategy.""" - - name: str - """The name of the user preference memory strategy.""" - description: str | None = ... - """The description of the user preference memory strategy.""" - namespaces: list[str] | None = ... - """ - This is a legacy parameter, use `namespaceTemplates`. The namespaces - associated with the user preference memory strategy. - """ - namespace_templates: list[str] | None = ... - """ - The namespaceTemplates associated with the user preference memory - strategy. - """ - memory_record_schema: MemoryRecordSchema | None = ... - """Schema for metadata fields on records generated by this strategy.""" - record_expiry_specification: RecordExpirySpecification | None = ... - """ - The record expiry (long-term memory time-to-live) configuration for - memory records generated by this strategy. Set - `recordExpiryDurationDays` to the number of days after which records - expire. If not specified, records generated by this strategy do not - expire. - """ - -@dataclass(kw_only=True) -class UserPreferenceOverrideConfigurationInput(_SerdeShape): - """Input for user preference override configuration in a memory strategy.""" - - extraction: UserPreferenceOverrideExtractionConfigurationInput | None = ... - """The extraction configuration for a user preference override.""" - consolidation: UserPreferenceOverrideConsolidationConfigurationInput | None = ... - """The consolidation configuration for a user preference override.""" - -@dataclass(kw_only=True) -class UserPreferenceOverrideConsolidationConfigurationInput(_SerdeShape): - """ - Input for user preference override consolidation configuration in a - memory strategy. - """ - - append_to_prompt: str - """The text to append to the prompt for user preference consolidation.""" - model_id: str - """The model ID to use for user preference consolidation.""" - -@dataclass(kw_only=True) -class UserPreferenceOverrideExtractionConfigurationInput(_SerdeShape): - """ - Input for user preference override extraction configuration in a memory - strategy. - """ - - append_to_prompt: str - """The text to append to the prompt for user preference extraction.""" - model_id: str - """The model ID to use for user preference extraction.""" - -@dataclass -class ValidationStringValidation(_SerdeShape): - """Validation for STRING fields.""" - - value: StringValidation - -@dataclass -class ValidationStringListValidation(_SerdeShape): - """Validation for STRINGLIST fields.""" - - value: StringListValidation - -@dataclass -class ValidationNumberValidation(_SerdeShape): - """Validation for NUMBER fields.""" - - value: NumberValidation - -@dataclass -class ValidationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Validation = Union[ - ValidationStringValidation - | ValidationStringListValidation - | ValidationNumberValidation - | ValidationUnknown -] -""" -Validation rules for extracted metadata values. Only one type can be -specified, matching the field's data type. -""" - -class _ValidationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Validation: ... - -@dataclass(kw_only=True) -class ValidationException(ServiceError, _SerdeShape): - """The input fails to satisfy the constraints specified by the service.""" - - reason: str - field_list: list[ValidationExceptionField] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ValidationExceptionField(_SerdeShape): - """ - Stores information about a field passed inside a request that resulted - in an exception. - """ - - name: str - """The name of the field.""" - message: str - """A message describing why this field failed validation.""" - -class ValidationExceptionReason(UnknownEnumMixin, StrEnum): - CANNOT_PARSE = "CannotParse" - FIELD_VALIDATION_FAILED = "FieldValidationFailed" - IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION = "IdempotentParameterMismatchException" - ROOT_EVENT_IN_OTHER_SESSION = "EventInOtherSession" - RESOURCE_CONFLICT = "ResourceConflict" - -@dataclass(kw_only=True) -class VersionCreatedBySource(_SerdeShape): - """The source that created a configuration bundle version.""" - - name: str - """ - The name of the source (for example, `user`, `optimization-job`, or - `system`). - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the source, if applicable (for - example, a user ARN or optimization job ARN). - """ - -@dataclass(kw_only=True) -class VersionFilter(_SerdeShape): - """A filter for listing configuration bundle versions.""" - - branch_name: str | None = ... - """Filter by branch name.""" - created_by_name: str | None = ... - """Filter by creation source name.""" - latest_per_branch: bool | None = ... - """ - When true, returns only the latest version for each branch. When false - or not specified, returns all versions. Can be combined with - `branchName` to get the latest version for a specific branch. - """ - -@dataclass(kw_only=True) -class VersionLineageMetadata(_SerdeShape): - """ - The version lineage metadata that tracks parent versions and creation - source. Supports git-like two-parent merges for branch management. - """ - - parent_version_ids: list[str] | None = ... - """ - A list of parent version identifiers. Regular commits have 0-1 parents. - Merge commits have 2 parents: the target branch parent and the source - branch parent. The first parent represents the primary lineage. - """ - branch_name: str | None = ... - """ - The branch name for this version. If not specified, inherits the - parent's branch or defaults to `mainline`. - """ - created_by: VersionCreatedBySource | None = ... - """The source that created this version.""" - commit_message: str | None = ... - """A commit message describing the changes in this version.""" - -@dataclass -class VolumeConfigurationEbsConfiguration(_SerdeShape): - """The configuration for an Amazon EBS-backed persistent volume.""" - - value: EbsVolumeConfiguration - -@dataclass -class VolumeConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -VolumeConfiguration = Union[ - VolumeConfigurationEbsConfiguration | VolumeConfigurationUnknown -] -""" -The configuration for a persistent volume attached to a capacity -provider. This structure defines the storage backing for the persistent -volumes used by agents that run on capacity provider instances. -""" - -class _VolumeConfigurationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> VolumeConfiguration: ... - -@dataclass(kw_only=True) -class VpcConfig(_SerdeShape): - """VpcConfig for the Agent.""" - - security_groups: list[str] - """The security groups associated with the VPC configuration.""" - subnets: list[str] - """The subnets associated with the VPC configuration.""" - require_service_s3_endpoint: bool | None = ... - """ - Note: - This field applies only to Agent Runtimes. It is not applicable to - Browsers or Code Interpreters. - - Controls whether a service-managed Amazon S3 gateway endpoint is - provisioned in the VPC network topology for the agent runtime. This - gateway is used by Amazon Bedrock AgentCore Runtime to download code and - container images during agent startup. - - Starting May 5, 2026, Amazon Bedrock AgentCore Runtime is gradually - rolling out a change to how network isolation is configured for VPC mode - agents. Agent runtimes created on or after this rollout will no longer - include the service-managed Amazon S3 gateway. Instead, all network - access, including to Amazon S3, is governed exclusively by your VPC - configuration. This field cannot be set on agent runtimes created after - the rollout. Passing this field in an `UpdateAgentRuntime` request for - these agent runtimes returns a `ValidationException`. - - Agent runtimes created before the rollout are not affected and continue - to operate with the service-managed Amazon S3 gateway. To enforce full - VPC network isolation on these existing agent runtimes, set this field - to `false` via the `UpdateAgentRuntime` API. Before opting out, ensure - your VPC provides the Amazon S3 access required for agent startup. If - this field is not specified or is set to `true`, the service-managed - Amazon S3 gateway remains provisioned. - - This field is only supported in the `UpdateAgentRuntime` API for - pre-rollout agent runtimes. Passing this field in a `CreateAgentRuntime` - request returns a `ValidationException`. - """ - -@dataclass(kw_only=True) -class VpcConfiguration(_SerdeShape): - """The VPC configuration for launching Amazon EC2 instances.""" - - subnets: list[str] - """ - The IDs of the subnets in which to launch instances. You must specify at - least one subnet. - """ - security_groups: list[str] - """ - The IDs of the security groups to associate with the instances. You must - specify at least one security group. - """ - -@dataclass(kw_only=True) -class WafConfiguration(_SerdeShape): - """ - The Amazon Web Services WAF configuration for the gateway. This - configuration controls how the gateway behaves when the associated web - ACL cannot be evaluated. - """ - - failure_mode: str | None = ... - """ - The failure mode that determines how the gateway handles requests when - Amazon Web Services WAF is unreachable or times out. Valid values - include: - - - `FAIL_CLOSE` - The gateway blocks requests when Amazon Web Services - WAF cannot be evaluated. - - - `FAIL_OPEN` - The gateway allows requests when Amazon Web Services WAF - cannot be evaluated. - """ - -class WafFailureMode(UnknownEnumMixin, StrEnum): - FAIL_CLOSE = "FAIL_CLOSE" - FAIL_OPEN = "FAIL_OPEN" - -@dataclass(kw_only=True) -class WeightedOverride(_SerdeShape): - """ - A weighted configuration bundle override that splits traffic between - multiple bundle versions. - """ - - traffic_split: list[TrafficSplitEntry] - """ - The traffic split entries defining how traffic is distributed between - configuration bundle versions. - """ - -@dataclass(kw_only=True) -class WeightedRoute(_SerdeShape): - """A weighted route that splits traffic between multiple gateway targets.""" - - traffic_split: list[TargetTrafficSplitEntry] - """ - The traffic split entries defining how traffic is distributed between - targets. - """ - -@dataclass(kw_only=True) -class WorkloadIdentityDetails(_SerdeShape): - """The information about the workload identity.""" - - workload_identity_arn: str - """The ARN associated with the workload identity.""" - -@dataclass(kw_only=True) -class WorkloadIdentityType(_SerdeShape): - """Contains information about a workload identity.""" - - name: str - """The name of the workload identity.""" - workload_identity_arn: str - """The Amazon Resource Name (ARN) of the workload identity.""" - -@dataclass(kw_only=True) -class Unit(_SerdeShape): - """Dataclass for Unit structure.""" - ADD_DATASET_EXAMPLES: APIOperation[AddDatasetExamplesInput, AddDatasetExamplesOutput] BATCH_PUT_GATEWAY_RATE_LIMITS: APIOperation[ BatchPutGatewayRateLimitsInput, BatchPutGatewayRateLimitsOutput diff --git a/clients/aws-sdk-bedrock-agentcore-control/tests/test_endpoints.py b/clients/aws-sdk-bedrock-agentcore-control/tests/test_endpoints.py index d0db933c6..1a3e9f8b3 100644 --- a/clients/aws-sdk-bedrock-agentcore-control/tests/test_endpoints.py +++ b/clients/aws-sdk-bedrock-agentcore-control/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-bedrock-agentcore/pyproject.toml b/clients/aws-sdk-bedrock-agentcore/pyproject.toml index e25030096..3d5850e32 100644 --- a/clients/aws-sdk-bedrock-agentcore/pyproject.toml +++ b/clients/aws-sdk-bedrock-agentcore/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_bedrock_agentcore" version = "0.12.0" -description = "aws_sdk_bedrock_agentcore client" +description = "Python client for Amazon Bedrock AgentCore" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_bedrock_agentcore"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/models_0.pyi b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/models_0.pyi new file mode 100644 index 000000000..ac74cbadb --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/models_0.pyi @@ -0,0 +1,5005 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + KeyPressArguments, + KeyPressResult, + KeyShortcutArguments, + KeyShortcutResult, + KeyTypeArguments, + KeyTypeResult, + LeftExpression, + LinkedAccount, + LiveViewStream, + McpDescriptor, + MemoryJsonData, + MemoryRecord, + MemoryRecordCreateInput, + MemoryRecordDeleteInput, + MemoryRecordOutput, + MemoryRecordUpdateInput, + MessageMetadata, + MetadataValue, + MouseClickArguments, + MouseClickResult, + MouseDragArguments, + MouseDragResult, + MouseMoveArguments, + MouseMoveResult, + MouseScrollArguments, + MouseScrollResult, + OAuthCredentialProvider, + OnlineEvaluationConfigSource, + OnlineEvaluationTraceConfig, + OutputConfig, + PayloadType, + PaymentInstrument, + PaymentInstrumentDetails, + PaymentSession, + PaymentTokenRequestInput, + PaymentTokenResponseOutput, + PerVariantOnlineEvaluationConfig, + ProxyConfiguration, + ProxyCredentials, + RecommendationConfig, + RecommendationResult, + RecordExpirySpecification, + ResourceContent, + ResourceLocation, + ResourceNotFoundException, + RightExpression, + RootCauseCluster, + SampleSession, + ScreenshotArguments, + ScreenshotResult, + SecretsManagerLocation, + ServiceError, + ServiceQuotaExceededException, + SessionFilterConfig, + SessionLimits, + SessionMetadataShape, + SessionTraceIds, + SkillDefinition, + SkillMdDefinition, + SpanContext, + ThrottlingException, + TokenBalance, + TokenUsage, + ToolResultStructuredContent, + ToolsFileSystemConfiguration, + Unit, + UserIdentifier, + UserIntentClusteringResultContent, + ValidationException, + Variant, + VariantResult, + ViewPort, + _SerdeShape, +) + +@dataclass(kw_only=True) +class A2aDescriptor(_SerdeShape): + """The A2A (Agent-to-Agent) descriptor configuration for a registry record.""" + + agent_card: AgentCardDefinition + """ + The agent card definition that describes the agent's capabilities and + interface. + """ + +@dataclass +class ABTestEvaluationConfigOnlineEvaluationConfigArn(_SerdeShape): + """ + The Amazon Resource Name (ARN) of a single online evaluation + configuration to use for both variants. + """ + + value: str + +@dataclass +class ABTestEvaluationConfigPerVariantOnlineEvaluationConfig(_SerdeShape): + """ + Per-variant online evaluation configurations, allowing different + evaluation settings for each variant. + """ + + value: list[PerVariantOnlineEvaluationConfig] + +@dataclass +class ABTestEvaluationConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ABTestEvaluationConfig = Union[ + ABTestEvaluationConfigOnlineEvaluationConfigArn + | ABTestEvaluationConfigPerVariantOnlineEvaluationConfig + | ABTestEvaluationConfigUnknown +] +""" +The evaluation configuration for an A/B test, specifying which online +evaluation configurations to use for measuring variant performance. +""" + +class _ABTestEvaluationConfigDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ABTestEvaluationConfig: ... + +class ABTestExecutionStatus(UnknownEnumMixin, StrEnum): + PAUSED = "PAUSED" + RUNNING = "RUNNING" + STOPPED = "STOPPED" + NOT_STARTED = "NOT_STARTED" + +@dataclass(kw_only=True) +class ABTestResults(_SerdeShape): + """The statistical results of an A/B test.""" + + analysis_timestamp: datetime | None = ... + """The timestamp when the analysis was performed.""" + evaluator_metrics: list[EvaluatorMetric] + """The per-evaluator metrics comparing control and treatment variants.""" + +class ABTestStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + CREATE_FAILED = "CREATE_FAILED" + UPDATING = "UPDATING" + UPDATE_FAILED = "UPDATE_FAILED" + DELETING = "DELETING" + DELETE_FAILED = "DELETE_FAILED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class ABTestSummary(_SerdeShape): + """Summary information about an A/B test.""" + + ab_test_id: str + """The unique identifier of the A/B test.""" + ab_test_arn: str + """The Amazon Resource Name (ARN) of the A/B test.""" + name: str + """The name of the A/B test.""" + status: str + """The current status of the A/B test.""" + execution_status: str + """The execution status of the A/B test.""" + description: str | None = ... + """The description of the A/B test.""" + gateway_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the gateway used for traffic + splitting. + """ + created_at: datetime + """The timestamp when the A/B test was created.""" + updated_at: datetime + """The timestamp when the A/B test was last updated.""" + +@dataclass(kw_only=True) +class AccessDeniedException(ServiceError, _SerdeShape): + """ + The exception that occurs when you do not have sufficient permissions to + perform an action. Verify that your IAM policy includes the necessary + permissions for the operation you are trying to perform. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ActorSummary(_SerdeShape): + """ + Contains summary information about an actor in an AgentCore Memory + resource. + """ + + actor_id: str + """The unique identifier of the actor.""" + +@dataclass(kw_only=True) +class AffectedSession(_SerdeShape): + """ + A session affected by a detected failure pattern, including root cause + details. + """ + + session_id: str + """The unique identifier of the affected session.""" + explanation: str + """An explanation of how the failure manifested in this session.""" + fix_type: str + """The type of fix recommended for this failure.""" + recommendation: str + """The specific fix recommendation for this session.""" + failure_spans: list[FailureSpanDetail] + """The list of spans where failures were detected in this session.""" + +@dataclass(kw_only=True) +class AgentCardDefinition(_SerdeShape): + """ + The agent card definition for A2A descriptors, including the schema + version and inline content that describes the agent's capabilities. + """ + + schema_version: str | None = ... + """The schema version of the agent card definition.""" + inline_content: str | None = ... + """The inline content of the agent card definition.""" + +@dataclass(kw_only=True) +class AgentSkillsDescriptor(_SerdeShape): + """The agent skills descriptor configuration for a registry record.""" + + skill_md: SkillMdDefinition + """The skill description in markdown format.""" + skill_definition: SkillDefinition | None = ... + """The structured skill definition with a schema version and content.""" + +@dataclass +class AgentTracesConfigSessionSpans(_SerdeShape): + """Agent traces provided as inline session spans in OpenTelemetry format.""" + + value: list[Document] + +@dataclass +class AgentTracesConfigCloudwatchLogs(_SerdeShape): + """Agent traces read from CloudWatch Logs.""" + + value: CloudWatchLogsTraceConfig + +@dataclass +class AgentTracesConfigBatchEvaluation(_SerdeShape): + """Use a completed batch evaluation as the source of agent traces.""" + + value: BatchEvaluationTraceConfig + +@dataclass +class AgentTracesConfigOnlineEvaluation(_SerdeShape): + """ + Agent traces from an online evaluation configuration over a specified + time range. + """ + + value: OnlineEvaluationTraceConfig + +@dataclass +class AgentTracesConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AgentTracesConfig = Union[ + AgentTracesConfigSessionSpans + | AgentTracesConfigCloudwatchLogs + | AgentTracesConfigBatchEvaluation + | AgentTracesConfigOnlineEvaluation + | AgentTracesConfigUnknown +] +""" +The configuration specifying where to read agent traces from for +recommendation analysis. +""" + +class _AgentTracesConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> AgentTracesConfig: ... + +@dataclass(kw_only=True) +class Amount(_SerdeShape): + """Represents a monetary amount with a currency.""" + + value: str + """The numeric value of the amount.""" + currency: str + """The currency code for the amount.""" + +@dataclass(kw_only=True) +class AutomationStream(_SerdeShape): + """ + The configuration for a stream that enables programmatic control of a + browser session in Amazon Bedrock AgentCore. This stream provides a + bidirectional communication channel for sending commands to the browser + and receiving responses, allowing agents to automate web interactions + such as navigation, form filling, and element clicking. + """ + + stream_endpoint: str + """ + The endpoint URL for the automation stream. This URL is used to + establish a WebSocket connection to the stream for sending commands and + receiving responses. + """ + stream_status: str + """ + The current status of the automation stream. This indicates whether the + stream is available for use. Possible values include ACTIVE, CONNECTING, + and DISCONNECTED. + """ + +class AutomationStreamStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class AutomationStreamUpdate(_SerdeShape): + """Contains information about an update to an automation stream.""" + + stream_status: str | None = ... + """The status of the automation stream.""" + +@dataclass(kw_only=True) +class AvailableLimits(_SerdeShape): + """The available spending limits for a payment session.""" + + available_spend_amount: Amount | None = ... + """The remaining available amount that can be spent.""" + updated_at: datetime | None = ... + """The timestamp when the available limits were last updated.""" + +@dataclass(kw_only=True) +class BasicAuth(_SerdeShape): + """ + Configuration for HTTP Basic Authentication using credentials stored in + Amazon Web Services Secrets Manager. The secret must contain a JSON + object with `username` and `password` string fields. Username allows + alphanumeric characters and `@._+=-` symbols (pattern: + `^[a-zA-Z0-9@._+=\\-]+$`). Password allows alphanumeric characters and + `@._+=-!#$%&*` symbols (pattern: `^[a-zA-Z0-9@._+=\\-!#$%&*]+$`). Both + fields have a maximum length of 256 characters. + """ + + secret_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Web Services Secrets + Manager secret containing proxy credentials. The secret must be a JSON + object with `username` and `password` string fields that meet validation + requirements. The caller must have `secretsmanager:GetSecretValue` + permission for this ARN. Example secret format: + `{"username": "proxy_user", "password": "secure_password"}` + """ + +@dataclass(kw_only=True) +class BatchCreateMemoryRecordsInput(_SerdeShape): + """Dataclass for BatchCreateMemoryRecordsInput structure.""" + + memory_id: str | None = ... + """The unique ID of the memory resource where records will be created.""" + records: list[MemoryRecordCreateInput] | None = ... + """ + A list of memory record creation inputs to be processed in the batch + operation. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotent processing of + the batch request. + + This field is autopopulated if not provided. + """ + record_expiry_specification: RecordExpirySpecification | None = ... + """ + The record expiry (long-term memory time-to-live) applied to every + record created by this request. Set `recordExpiryDurationDays` to the + number of days after which the records expire. Only the expiry provided + here is applied; the records' strategy association has no effect on + their expiry. If you do not provide this value, the records do not + expire. The `REMOVE` action does not apply when creating records. + """ + +@dataclass(kw_only=True) +class BatchCreateMemoryRecordsOutput(_SerdeShape): + """Dataclass for BatchCreateMemoryRecordsOutput structure.""" + + successful_records: list[MemoryRecordOutput] + """ + A list of memory records that were successfully created during the batch + operation. + """ + failed_records: list[MemoryRecordOutput] + """ + A list of memory records that failed to be created, including error + details for each failure. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BatchDeleteMemoryRecordsInput(_SerdeShape): + """Dataclass for BatchDeleteMemoryRecordsInput structure.""" + + memory_id: str | None = ... + """The unique ID of the memory resource where records will be deleted.""" + records: list[MemoryRecordDeleteInput] | None = ... + """ + A list of memory record deletion inputs to be processed in the batch + operation. + """ + +@dataclass(kw_only=True) +class BatchDeleteMemoryRecordsOutput(_SerdeShape): + """Dataclass for BatchDeleteMemoryRecordsOutput structure.""" + + successful_records: list[MemoryRecordOutput] + """ + A list of memory records that were successfully deleted during the batch + operation. + """ + failed_records: list[MemoryRecordOutput] + """ + A list of memory records that failed to be deleted, including error + details for each failure. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class BatchEvaluationStatus(UnknownEnumMixin, StrEnum): + """The lifecycle status of a batch evaluation job.""" + + PENDING = "PENDING" + IN_PROGRESS = "IN_PROGRESS" + COMPLETED = "COMPLETED" + COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS" + FAILED = "FAILED" + STOPPING = "STOPPING" + STOPPED = "STOPPED" + DELETING = "DELETING" + +@dataclass(kw_only=True) +class BatchEvaluationSummary(_SerdeShape): + """Summary representation for list responses.""" + + batch_evaluation_id: str + """The unique identifier of the batch evaluation.""" + batch_evaluation_arn: str + """The Amazon Resource Name (ARN) of the batch evaluation.""" + batch_evaluation_name: str + """The name of the batch evaluation.""" + status: str + """The current status of the batch evaluation.""" + created_at: datetime + """The timestamp when the batch evaluation was created.""" + description: str | None = ... + """The description of the batch evaluation.""" + evaluators: list[Evaluator] | None = ... + """The list of evaluators applied during the batch evaluation.""" + insights: list[Insight] | None = ... + """The list of insight analyses applied during the batch evaluation.""" + evaluation_results: EvaluationJobResults | None = ... + """The aggregated evaluation results.""" + error_details: list[str] | None = ... + """The error details if the batch evaluation encountered failures.""" + kms_key_arn: str | None = ... + """The ARN of the KMS key used to encrypt evaluation data.""" + updated_at: datetime | None = ... + """The timestamp when the batch evaluation was last updated.""" + +@dataclass(kw_only=True) +class BatchEvaluationTraceConfig(_SerdeShape): + """ + Configuration for using a batch evaluation as the source of agent traces + for recommendations. + """ + + batch_evaluation_arn: str + """The ARN of the completed batch evaluation to use as the trace source.""" + +@dataclass(kw_only=True) +class BatchUpdateMemoryRecordsInput(_SerdeShape): + """Dataclass for BatchUpdateMemoryRecordsInput structure.""" + + memory_id: str | None = ... + """The unique ID of the memory resource where records will be updated.""" + records: list[MemoryRecordUpdateInput] | None = ... + """ + A list of memory record update inputs to be processed in the batch + operation. + """ + record_expiry_specification: RecordExpirySpecification | None = ... + """ + The record expiry (long-term memory time-to-live) applied to every + record updated by this request. Set `recordExpiryDurationDays` to + configure or overwrite the number of days after which the records + expire, or set `action` to `REMOVE` to clear a previously configured + expiry so that the records no longer expire. + + When you do not provide this value, the service determines each + record's expiry from its current state: + + - If the record already has an expiry configured, the service resets and + reapplies the expiry based on the last applied + `recordExpiryDurationDays`. + + - If the record does not have an expiry configured, no expiry is applied + and the record remains non-expiring. This is the outcome regardless of + whether the record's strategy configures an expiry. + + Providing an explicit `recordExpiryDurationDays` always takes + precedence: it overwrites an existing expiry, or sets one on a record + that previously had none. + """ + +@dataclass(kw_only=True) +class BatchUpdateMemoryRecordsOutput(_SerdeShape): + """Dataclass for BatchUpdateMemoryRecordsOutput structure.""" + + successful_records: list[MemoryRecordOutput] + """ + A list of memory records that were successfully updated during the batch + operation. + """ + failed_records: list[MemoryRecordOutput] + """ + A list of memory records that failed to be updated, including error + details for each failure. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class BlockchainChainId(UnknownEnumMixin, StrEnum): + """ + Supported blockchain chain identifiers for balance queries. Each value + maps to a specific chain supported by the underlying providers (Privy, + Coinbase). + """ + + BASE = "BASE" + """Base Mainnet (EVM L2)""" + BASE_SEPOLIA = "BASE_SEPOLIA" + """Base Sepolia testnet (EVM L2)""" + ETHEREUM = "ETHEREUM" + """Ethereum Mainnet (EVM L1)""" + SOLANA = "SOLANA" + """Solana Mainnet""" + SOLANA_DEVNET = "SOLANA_DEVNET" + """Solana Devnet testnet""" + +@dataclass(kw_only=True) +class Branch(_SerdeShape): + """ + Contains information about a branch in an AgentCore Memory resource. + Branches allow for organizing events into different conversation threads + or paths. + """ + + root_event_id: str | None = ... + """The identifier of the root event for this branch.""" + name: str + """The name of the branch.""" + +@dataclass(kw_only=True) +class BranchFilter(_SerdeShape): + """Contains filter criteria for branches when listing events.""" + + name: str + """The name of the branch to filter by.""" + include_parent_branches: bool = ... + """ + Specifies whether to include parent branches in the results. Set to true + to include parent branches, or false to exclude them. + """ + +@dataclass +class BrowserActionMouseClick(_SerdeShape): + """Click at the specified coordinates.""" + + value: MouseClickArguments + +@dataclass +class BrowserActionMouseMove(_SerdeShape): + """Move the cursor to the specified coordinates.""" + + value: MouseMoveArguments + +@dataclass +class BrowserActionMouseDrag(_SerdeShape): + """Drag from a start position to an end position.""" + + value: MouseDragArguments + +@dataclass +class BrowserActionMouseScroll(_SerdeShape): + """Scroll at the specified position.""" + + value: MouseScrollArguments + +@dataclass +class BrowserActionKeyType(_SerdeShape): + """Type a string of text.""" + + value: KeyTypeArguments + +@dataclass +class BrowserActionKeyPress(_SerdeShape): + """Press a key one or more times.""" + + value: KeyPressArguments + +@dataclass +class BrowserActionKeyShortcut(_SerdeShape): + """Press a key combination.""" + + value: KeyShortcutArguments + +@dataclass +class BrowserActionScreenshot(_SerdeShape): + """Capture a full-screen screenshot.""" + + value: ScreenshotArguments + +@dataclass +class BrowserActionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +BrowserAction = Union[ + BrowserActionMouseClick + | BrowserActionMouseMove + | BrowserActionMouseDrag + | BrowserActionMouseScroll + | BrowserActionKeyType + | BrowserActionKeyPress + | BrowserActionKeyShortcut + | BrowserActionScreenshot + | BrowserActionUnknown +] +""" +The browser action to perform. Exactly one member must be set per +request. +""" + +class _BrowserActionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> BrowserAction: ... + +@dataclass +class BrowserActionResultMouseClick(_SerdeShape): + """The result of a mouse click action.""" + + value: MouseClickResult + +@dataclass +class BrowserActionResultMouseMove(_SerdeShape): + """The result of a mouse move action.""" + + value: MouseMoveResult + +@dataclass +class BrowserActionResultMouseDrag(_SerdeShape): + """The result of a mouse drag action.""" + + value: MouseDragResult + +@dataclass +class BrowserActionResultMouseScroll(_SerdeShape): + """The result of a mouse scroll action.""" + + value: MouseScrollResult + +@dataclass +class BrowserActionResultKeyType(_SerdeShape): + """The result of a key type action.""" + + value: KeyTypeResult + +@dataclass +class BrowserActionResultKeyPress(_SerdeShape): + """The result of a key press action.""" + + value: KeyPressResult + +@dataclass +class BrowserActionResultKeyShortcut(_SerdeShape): + """The result of a key shortcut action.""" + + value: KeyShortcutResult + +@dataclass +class BrowserActionResultScreenshot(_SerdeShape): + """The result of a screenshot action.""" + + value: ScreenshotResult + +@dataclass +class BrowserActionResultUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +BrowserActionResult = Union[ + BrowserActionResultMouseClick + | BrowserActionResultMouseMove + | BrowserActionResultMouseDrag + | BrowserActionResultMouseScroll + | BrowserActionResultKeyType + | BrowserActionResultKeyPress + | BrowserActionResultKeyShortcut + | BrowserActionResultScreenshot + | BrowserActionResultUnknown +] +""" +The result of a browser action execution. Exactly one member is set, +matching the action that was performed. +""" + +class _BrowserActionResultDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> BrowserActionResult: ... + +class BrowserActionStatus(UnknownEnumMixin, StrEnum): + """The status of a browser action execution.""" + + SUCCESS = "SUCCESS" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class BrowserEnterprisePolicy(_SerdeShape): + """Browser enterprise policy configuration.""" + + location: ResourceLocation + """The location of the enterprise policy file.""" + type: str | None = ... + """The enterprise policy type. See BrowserEnterprisePolicyType.""" + +class BrowserEnterprisePolicyType(UnknownEnumMixin, StrEnum): + """ + The type of browser enterprise policy. Available values are `MANAGED` + and `RECOMMENDED`. + """ + + MANAGED = "MANAGED" + RECOMMENDED = "RECOMMENDED" + +@dataclass(kw_only=True) +class BrowserExtension(_SerdeShape): + """Browser extension configuration.""" + + location: ResourceLocation + """ + The location where the browser extension files are stored. This + specifies the source from which the extension will be loaded and + installed. + """ + +@dataclass(kw_only=True) +class BrowserProfileConfiguration(_SerdeShape): + """ + The configuration for a browser profile in Amazon Bedrock AgentCore. A + browser profile contains persistent browser data such as cookies and + local storage that can be saved from one browser session and reused in + subsequent sessions. Browser profiles enable continuity for tasks that + require authentication, maintain user preferences, or depend on + previously stored browser state. + """ + + profile_identifier: str + """ + The unique identifier of the browser profile. This identifier is used to + reference the profile when starting new browser sessions or saving + session data to the profile. + """ + +class BrowserSessionStatus(UnknownEnumMixin, StrEnum): + READY = "READY" + TERMINATED = "TERMINATED" + +@dataclass(kw_only=True) +class BrowserSessionStream(_SerdeShape): + """ + The collection of streams associated with a browser session in Amazon + Bedrock AgentCore. These streams provide different ways to interact with + and observe the browser session, including programmatic control and + visual representation of the browser content. + """ + + automation_stream: AutomationStream + """ + The stream that enables programmatic control of the browser. This stream + allows agents to perform actions such as navigating to URLs, clicking + elements, and filling forms. + """ + live_view_stream: LiveViewStream | None = ... + """ + The stream that provides a visual representation of the browser content. + This stream allows agents to observe the current state of the browser, + including rendered web pages and visual elements. + """ + +@dataclass(kw_only=True) +class BrowserSessionSummary(_SerdeShape): + """ + A condensed representation of a browser session in Amazon Bedrock + AgentCore. This structure contains key information about a browser + session, including identifiers, status, and timestamps, without the full + details of the session configuration and streams. + """ + + browser_identifier: str + """ + The unique identifier of the browser associated with the session. This + identifier specifies which browser environment is used for the session. + """ + session_id: str + """ + The unique identifier of the browser session. This identifier is used in + operations that interact with the session. + """ + name: str | None = ... + """ + The name of the browser session. This name helps identify and manage the + session. + """ + status: str + """ + The current status of the browser session. Possible values include + ACTIVE, STOPPING, and STOPPED. + """ + created_at: datetime + """ + The timestamp when the browser session was created. This value is in ISO + 8601 format. + """ + last_updated_at: datetime | None = ... + """ + The timestamp when the browser session was last updated. This value is + in ISO 8601 format. + """ + +class CapacityProviderSessionStatus(UnknownEnumMixin, StrEnum): + PROVISIONING = "Provisioning" + DEPROVISIONING = "Deprovisioning" + ACTIVE = "Active" + DELETING = "Deleting" + DELETED = "Deleted" + STOPPED = "Stopped" + +@dataclass(kw_only=True) +class Certificate(_SerdeShape): + """A certificate to install in the browser or code interpreter session.""" + + location: CertificateLocation + """The location of the certificate.""" + +@dataclass +class CertificateLocationSecretsManager(_SerdeShape): + """The Amazon Web Services Secrets Manager location of the certificate.""" + + value: SecretsManagerLocation + +@dataclass +class CertificateLocationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CertificateLocation = Union[ + CertificateLocationSecretsManager | CertificateLocationUnknown +] +"""The location from which to retrieve a certificate.""" + +class _CertificateLocationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> CertificateLocation: ... + +@dataclass(kw_only=True) +class CloudWatchFilterConfig(_SerdeShape): + """ + Filter configuration for narrowing down CloudWatch Logs sessions for + evaluation. + """ + + session_ids: list[str] | None = ... + """ + A list of specific session IDs to evaluate. If specified, only these + sessions are included in the evaluation. + """ + time_range: SessionFilterConfig | None = ... + """The time range filter for selecting sessions to evaluate.""" + session_trace_ids: list[SessionTraceIds] | None = ... + """ + A list of session and trace ID pairs that restrict evaluation to + specific traces within a session. If specified, only the listed traces + are evaluated instead of the entire session. + """ + +@dataclass(kw_only=True) +class CloudWatchLogsFilter(_SerdeShape): + """ + A filter for narrowing down agent traces from CloudWatch Logs based on + key-value comparisons. + """ + + key: str + """The key or field name to filter on within the agent trace data.""" + operator: str + """The comparison operator to use for filtering.""" + value: FilterValue + """The value to compare against using the specified operator.""" + +class CloudWatchLogsFilterOperator(UnknownEnumMixin, StrEnum): + """The comparison operator used to filter CloudWatch Logs entries.""" + + EQUALS = "Equals" + NOT_EQUALS = "NotEquals" + GREATER_THAN = "GreaterThan" + LESS_THAN = "LessThan" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + CONTAINS = "Contains" + NOT_CONTAINS = "NotContains" + +@dataclass(kw_only=True) +class CloudWatchLogsRule(_SerdeShape): + """A rule configuration for filtering agent traces from CloudWatch Logs.""" + + filters: list[CloudWatchLogsFilter] | None = ... + """The list of filters to apply when reading agent traces.""" + +@dataclass(kw_only=True) +class CloudWatchLogsSource(_SerdeShape): + """The configuration for reading agent traces from CloudWatch Logs.""" + + service_names: list[str] + """ + The list of agent service names to filter traces within the specified + log groups. + """ + log_group_names: list[str] = ... + """ + The list of CloudWatch log group names to read agent traces from. + Maximum of 10 log groups. + """ + log_group_name_prefixes: list[str] | None = ... + """ + The list of CloudWatch log group name prefixes to read agent traces + from. Specify this instead of `logGroupNames` to match log groups by + prefix. Maximum of 5 prefixes. Specify either `logGroupNames` or + `logGroupNamePrefixes`, not both. One of the two is required. + """ + filter_config: CloudWatchFilterConfig | None = ... + """Optional filter configuration to narrow down which sessions to evaluate.""" + +@dataclass(kw_only=True) +class CloudWatchLogsTraceConfig(_SerdeShape): + """ + Configuration for reading agent traces from CloudWatch Logs for + recommendation analysis. + """ + + log_group_arns: list[str] + """The list of CloudWatch log group ARNs to read agent traces from.""" + service_names: list[str] + """ + The list of service names to filter traces within the specified log + groups. + """ + start_time: datetime + """The start time of the time range to read traces from.""" + end_time: datetime + """The end time of the time range to read traces from.""" + rule: CloudWatchLogsRule | None = ... + """Optional rule configuration for filtering traces.""" + +@dataclass(kw_only=True) +class CloudWatchOutputConfig(_SerdeShape): + """CloudWatch Logs destination for batch evaluation results.""" + + log_group_name: str = ... + """ + The name of the CloudWatch log group where evaluation results will be + written. This value doesn't apply when `resultDestination` is + `SOURCE_LOG_GROUP`, because results are written back to the trace source + log group. The name can't be under the service-reserved + `/aws/bedrock-agentcore/evaluations/` namespace, apart from the + service-managed default group. + """ + log_stream_name: str = ... + """ + The name of the CloudWatch log stream where evaluation results will be + written. + """ + metrics_namespace: str | None = ... + """ + The CloudWatch metrics namespace where evaluation result metrics are + published. If you omit this value, the service publishes metrics to + `Bedrock-AgentCore/Evaluations`. This value can't begin with `AWS/`. + """ + result_destination: str = ... + """ + The destination where evaluation results are written. Valid values: + + - `DEDICATED_LOG_GROUP` (default) -- Writes results to a dedicated + result log group. + + - `SOURCE_LOG_GROUP` -- Writes results back to the log group that the + agent traces were read from. If you use this value, don't specify + `logGroupName`. + """ + +@dataclass(kw_only=True) +class CodeInterpreterResult(_SerdeShape): + """ + The output produced by executing code in a code interpreter session in + Amazon Bedrock AgentCore. This structure contains the results of code + execution, including textual output, structured data, and error + information. Agents use these results to generate responses that + incorporate computation, data analysis, and visualization. + """ + + content: list[ContentBlock] + """ + The textual content of the execution result. This includes standard + output from the code execution, such as print statements, console + output, and text representations of results. + """ + structured_content: ToolResultStructuredContent | None = ... + """ + The structured content of the execution result. This includes additional + metadata about the execution, such as execution time, memory usage, and + structured representations of output data. The format depends on the + specific code interpreter and execution context. + """ + is_error: bool | None = ... + """ + Indicates whether the result represents an error. If true, the content + contains error messages or exception information. If false, the content + contains successful execution results. + """ + +class CodeInterpreterSessionStatus(UnknownEnumMixin, StrEnum): + READY = "READY" + TERMINATED = "TERMINATED" + +@dataclass(kw_only=True) +class CodeInterpreterSessionSummary(_SerdeShape): + """ + A condensed representation of a code interpreter session in Amazon + Bedrock AgentCore. This structure contains key information about a code + interpreter session, including identifiers, status, and timestamps, + without the full details of the session configuration. + """ + + code_interpreter_identifier: str + """ + The unique identifier of the code interpreter associated with the + session. This identifier specifies which code interpreter environment is + used for the session. + """ + session_id: str + """ + The unique identifier of the code interpreter session. This identifier + is used in operations that interact with the session. + """ + name: str | None = ... + """ + The name of the code interpreter session. This name helps identify and + manage the session. + """ + status: str + """ + The current status of the code interpreter session. Possible values + include ACTIVE, STOPPING, and STOPPED. + """ + created_at: datetime + """ + The timestamp when the code interpreter session was created. This value + is in ISO 8601 format. + """ + last_updated_at: datetime | None = ... + """ + The timestamp when the code interpreter session was last updated. This + value is in ISO 8601 format. + """ + +@dataclass +class CodeInterpreterStreamOutputResult(_SerdeShape): + """ + The output produced by executing code in a code interpreter session in + Amazon Bedrock AgentCore. This structure contains the results of code + execution, including textual output, structured data, and error + information. Agents use these results to generate responses that + incorporate computation, data analysis, and visualization. + """ + + value: CodeInterpreterResult + +@dataclass +class CodeInterpreterStreamOutputAccessDeniedException(_SerdeShape): + """ + The exception that occurs when you do not have sufficient permissions to + perform an action. Verify that your IAM policy includes the necessary + permissions for the operation you are trying to perform. + """ + + value: AccessDeniedException + +@dataclass +class CodeInterpreterStreamOutputConflictException(_SerdeShape): + """ + The exception that occurs when the request conflicts with the current + state of the resource. This can happen when trying to modify a resource + that is currently being modified by another request, or when trying to + create a resource that already exists. + """ + + value: ConflictException + +@dataclass +class CodeInterpreterStreamOutputInternalServerException(_SerdeShape): + """ + The exception that occurs when the service encounters an unexpected + internal error. This is a temporary condition that will resolve itself + with retries. We recommend implementing exponential backoff retry logic + in your application. + """ + + value: InternalServerException + +@dataclass +class CodeInterpreterStreamOutputResourceNotFoundException(_SerdeShape): + """ + The exception that occurs when the specified resource does not exist. + This can happen when using an invalid identifier or when trying to + access a resource that has been deleted. + """ + + value: ResourceNotFoundException + +@dataclass +class CodeInterpreterStreamOutputServiceQuotaExceededException(_SerdeShape): + """ + The exception that occurs when the request would cause a service quota + to be exceeded. Review your service quotas and either reduce your + request rate or request a quota increase. + """ + + value: ServiceQuotaExceededException + +@dataclass +class CodeInterpreterStreamOutputThrottlingException(_SerdeShape): + """ + The exception that occurs when the request was denied due to request + throttling. This happens when you exceed the allowed request rate for an + operation. Reduce the frequency of requests or implement exponential + backoff retry logic in your application. + """ + + value: ThrottlingException + +@dataclass +class CodeInterpreterStreamOutputValidationException(_SerdeShape): + """ + The exception that occurs when the input fails to satisfy the + constraints specified by the service. Check the error message for + details about which input parameter is invalid and correct your request. + """ + + value: ValidationException + +@dataclass +class CodeInterpreterStreamOutputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CodeInterpreterStreamOutput = Union[ + CodeInterpreterStreamOutputResult + | CodeInterpreterStreamOutputAccessDeniedException + | CodeInterpreterStreamOutputConflictException + | CodeInterpreterStreamOutputInternalServerException + | CodeInterpreterStreamOutputResourceNotFoundException + | CodeInterpreterStreamOutputServiceQuotaExceededException + | CodeInterpreterStreamOutputThrottlingException + | CodeInterpreterStreamOutputValidationException + | CodeInterpreterStreamOutputUnknown +] +"""Contains output from a code interpreter stream.""" + +class _CodeInterpreterStreamOutputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CodeInterpreterStreamOutput: ... + +@dataclass(kw_only=True) +class CoinbaseCdpTokenRequestInput(_SerdeShape): + """Coinbase CDP token request parameters.""" + + request_method: str + """The HTTP method for the payment API request.""" + request_host: str | None = ... + """ + The host for the payment API request. Defaults to + \"api.cdp.coinbase.com\". + """ + request_path: str + """The path of the payment API request.""" + include_wallet_auth_token: bool = ... + """ + Set to true for wallet write operations (requires walletSecret + configured). + """ + request_body: str | None = ... + """Request body JSON --- used to generate wallet auth JWT.""" + +@dataclass(kw_only=True) +class CoinbaseCdpTokenResponseOutput(_SerdeShape): + """Coinbase CDP token response.""" + + bearer_token: str + """Bearer Token for Authorization header.""" + wallet_auth_token: str | None = ... + """Wallet Auth Token for X-Wallet-Auth header.""" + +class CommandExecutionStatus(UnknownEnumMixin, StrEnum): + COMPLETED = "COMPLETED" + TIMED_OUT = "TIMED_OUT" + +@dataclass(kw_only=True) +class CompleteResourceTokenAuthInput(_SerdeShape): + """Dataclass for CompleteResourceTokenAuthInput structure.""" + + user_identifier: UserIdentifier | None = ... + """ + The OAuth2.0 token or user ID that was used to generate the workload + access token used for initiating the user authorization flow to retrieve + OAuth2.0 tokens. + """ + session_uri: str | None = ... + """ + Unique identifier for the user's authentication session for retrieving + OAuth2 tokens. This ID tracks the authorization flow state across + multiple requests and responses during the OAuth2 authentication + process. + """ + +@dataclass(kw_only=True) +class CompleteResourceTokenAuthOutput(_SerdeShape): + """Dataclass for CompleteResourceTokenAuthOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ConfidenceInterval(_SerdeShape): + """A confidence interval for a statistical measurement.""" + + lower: float | None = ... + """The lower bound of the confidence interval.""" + upper: float | None = ... + """The upper bound of the confidence interval.""" + +@dataclass(kw_only=True) +class ConfigurationBundleRef(_SerdeShape): + """A reference to a specific version of a configuration bundle.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle.""" + bundle_version: str + """The version of the configuration bundle.""" + +@dataclass(kw_only=True) +class ConfigurationBundleToolEntry(_SerdeShape): + """Maps a tool name to its JSON path within a configuration bundle.""" + + tool_name: str + """The name of the tool.""" + tool_description_json_path: str + """ + The JSON path within the configuration bundle's components that + contains the tool description. + """ + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """ + The exception that occurs when the request conflicts with the current + state of the resource. This can happen when trying to modify a resource + that is currently being modified by another request, or when trying to + create a resource that already exists. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ContentText(_SerdeShape): + """The text content of the memory item.""" + + value: str + +@dataclass +class ContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Content = Union[ContentText | ContentUnknown] +"""Contains the content of a memory item.""" + +class _ContentDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Content: ... + +@dataclass(kw_only=True) +class ContentBlock(_SerdeShape): + """A block of content in a response.""" + + type: str + """The type of content in the block.""" + text: str | None = ... + """The text content of the block.""" + data: bytes | None = ... + """The binary data content of the block.""" + mime_type: str | None = ... + """The MIME type of the content.""" + uri: str | None = ... + """The URI of the content.""" + name: str | None = ... + """The name of the content block.""" + description: str | None = ... + """The description of the content block.""" + size: int | None = ... + """The size of the content in bytes.""" + resource: ResourceContent | None = ... + """The resource associated with the content block.""" + +class ContentBlockType(UnknownEnumMixin, StrEnum): + TEXT = "text" + IMAGE = "image" + EMBEDDED_RESOURCE = "resource" + RESOURCE_LINK = "resource_link" + +@dataclass(kw_only=True) +class ContentDeltaEvent(_SerdeShape): + """ + An event that contains incremental output from a command execution. This + event streams standard output and standard error content as it becomes + available during command execution. + """ + + stdout: str | None = ... + """ + The standard output content from the command execution. This field + contains the incremental output written to stdout by the executing + command. + """ + stderr: str | None = ... + """ + The standard error content from the command execution. This field + contains the incremental output written to stderr by the executing + command. + """ + +@dataclass +class ContentSourceInline(_SerdeShape): + """The content included directly in the request.""" + + value: InlineMemoryContent + +@dataclass +class ContentSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ContentSource = Union[ContentSourceInline | ContentSourceUnknown] +"""The source of the content to ingest. Only inline content is supported.""" + +class _ContentSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ContentSource: ... + +@dataclass(kw_only=True) +class ContentStartEvent(_SerdeShape): + """ + An event that signals the start of content streaming from a command + execution. This event is sent when the command begins producing output. + """ + +@dataclass(kw_only=True) +class ContentStopEvent(_SerdeShape): + """ + An event that signals the completion of a command execution. This event + contains the final status and exit code of the executed command. + """ + + exit_code: int + """ + The exit code returned by the executed command. An exit code of 0 + indicates successful execution, -1 indicates a platform error, and + values greater than 0 indicate command-specific errors. + """ + status: str + """ + The final status of the command execution. Valid values are `COMPLETED` + for successful completion or `TIMED_OUT` if the command exceeded the + specified timeout. + """ + +@dataclass +class ContextSpanContext(_SerdeShape): + """ + The span context information that uniquely identifies the trace and span + being evaluated, including session ID, trace ID, and span ID for precise + targeting within the agent's execution flow. + """ + + value: SpanContext + +@dataclass +class ContextUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Context = Union[ContextSpanContext | ContextUnknown] +""" +The contextual information associated with an evaluation, including span +context details that identify the specific traces and sessions being +evaluated within the agent's execution flow. +""" + +class _ContextDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Context: ... + +@dataclass(kw_only=True) +class ControlStats(_SerdeShape): + """Statistics for the control variant in an A/B test.""" + + variant_name: str + """The name of the control variant.""" + sample_size: int + """The number of sessions evaluated for the control variant.""" + mean: float + """The mean evaluation score for the control variant.""" + +@dataclass(kw_only=True) +class Conversational(_SerdeShape): + """Contains conversational content for an event payload.""" + + content: Content + """The content of the conversation message.""" + role: str + """ + The role of the participant in the conversation (for example, \"user\" + or \"assistant\"). + """ + +@dataclass(kw_only=True) +class CreateABTestInput(_SerdeShape): + """Dataclass for CreateABTestInput structure.""" + + name: str | None = ... + """The name of the A/B test. Must be unique within your account.""" + description: str | None = ... + """The description of the A/B test.""" + gateway_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the gateway to use for traffic + splitting. + """ + variants: list[Variant] | None = ... + """ + The list of variants for the A/B test. Must contain exactly two + variants: a control (C) and a treatment (T1), each with a configuration + bundle or target reference and a traffic weight. + """ + gateway_filter: GatewayFilter | None = ... + """ + Optional filter to restrict which gateway target paths are included in + the A/B test. + """ + evaluation_config: ABTestEvaluationConfig | None = ... + """ + The evaluation configuration specifying which online evaluation + configurations to use for measuring variant performance. + """ + role_arn: str | None = ... + """ + The IAM role ARN that grants permissions for the A/B test to access + gateway and evaluation resources. + """ + enable_on_create: bool | None = ... + """ + Whether to enable the A/B test immediately upon creation. If true, + traffic splitting begins automatically. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, the service ignores the request, but does not return an error. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """A map of tag keys and values to associate with the A/B test.""" + +@dataclass(kw_only=True) +class CreateABTestOutput(_SerdeShape): + """Dataclass for CreateABTestOutput structure.""" + + ab_test_id: str + """The unique identifier of the created A/B test.""" + ab_test_arn: str + """The Amazon Resource Name (ARN) of the created A/B test.""" + name: str | None = ... + """The name of the A/B test.""" + status: str + """The status of the A/B test.""" + execution_status: str + """ + The execution status indicating whether the A/B test is currently + running. + """ + created_at: datetime + """The timestamp when the A/B test was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateEventInput(_SerdeShape): + """Dataclass for CreateEventInput structure.""" + + memory_id: str | None = ... + """ + The identifier of the AgentCore Memory resource in which to create the + event. + """ + actor_id: str | None = ... + """ + The identifier of the actor associated with this event. An actor + represents an entity that participates in sessions and generates events. + """ + session_id: str | None = ... + """ + The identifier of the session in which this event occurs. A session + represents a sequence of related events. + """ + event_timestamp: datetime | None = ... + """ + The timestamp when the event occurred. If not specified, the current + time is used. + """ + payload: list[PayloadType] | None = ... + """ + The content payload of the event. This can include conversational data, + JSON data, or binary content. + """ + branch: Branch | None = ... + """ + The branch information for this event. Branches allow for organizing + events into different conversation threads or paths. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, AgentCore ignores the request, but does not return an error. + + This field is autopopulated if not provided. + """ + metadata: dict[str, MetadataValue] | None = ... + """The key-value metadata to attach to the event.""" + extraction_mode: str | None = ... + """ + Controls long-term memory extraction for this event. When set to `SKIP`, + the event is stored in short-term memory but is excluded from long-term + memory extraction. If not specified, the event is processed for + extraction as usual. + """ + extraction_config: ExtractionConfig | None = ... + """ + The extraction configuration for long-term memory records. Use this + parameter to specify namespace variable keys and their values for + namespace substitution during extraction. + """ + +@dataclass(kw_only=True) +class CreateEventOutput(_SerdeShape): + """Dataclass for CreateEventOutput structure.""" + + event: Event + """The event that was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePaymentInstrumentInput(_SerdeShape): + """Request structure for creating a payment instrument.""" + + user_id: str | None = ... + """The user ID associated with this payment instrument.""" + agent_name: str | None = ... + """The agent name associated with this request, used for observability.""" + payment_manager_arn: str | None = ... + """The ARN of the payment manager that owns this payment instrument.""" + payment_connector_id: str | None = ... + """The ID of the payment connector to use for this instrument.""" + payment_instrument_type: str | None = ... + """The type of payment instrument being created.""" + payment_instrument_details: PaymentInstrumentDetails | None = ... + """The details of the payment instrument.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreatePaymentInstrumentOutput(_SerdeShape): + """Response structure for creating a payment instrument.""" + + payment_instrument: PaymentInstrument + """The created payment instrument.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePaymentSessionInput(_SerdeShape): + """Request structure for creating a payment session.""" + + user_id: str | None = ... + """The user ID associated with this payment session.""" + agent_name: str | None = ... + """The agent name associated with this request, used for observability.""" + payment_manager_arn: str | None = ... + """The ARN of the payment manager that owns this session.""" + limits: SessionLimits | None = ... + """The spending limits for this payment session.""" + expiry_time_in_minutes: int | None = ... + """The session expiry time in minutes. Must be between 15 and 480 minutes.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreatePaymentSessionOutput(_SerdeShape): + """Response structure for creating a payment session.""" + + payment_session: PaymentSession + """The created payment session.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CryptoWalletNetwork(UnknownEnumMixin, StrEnum): + """Supported blockchain networks for crypto wallets.""" + + ETHEREUM = "ETHEREUM" + SOLANA = "SOLANA" + +@dataclass(kw_only=True) +class CryptoX402PaymentInput(_SerdeShape): + """The input for a crypto X402 payment.""" + + version: str + """The version of the X402 protocol.""" + payload: Document + """The X402 payment payload.""" + permit2_allowance_limit: str | None = ... + """ + The maximum on-chain Permit2 allowance to grant before signing the + payment authorization, in the asset's smallest denomination. This field + is valid only for the `upto` (metered) scheme; supplying it for the + `exact` scheme returns a validation error. + + When set, the service approves an ERC-20 allowance for this amount + before processing the payment. The approval sets, rather than adds to, + the wallet's allowance. Set this field only when the wallet needs + approving, for example on its first `upto` payment, to avoid a redundant + on-chain transaction. Omit the field to skip allowance handling. This is + the default, and the only behavior for the `exact` scheme. + """ + +@dataclass(kw_only=True) +class CryptoX402PaymentOutput(_SerdeShape): + """The output from a crypto X402 payment.""" + + version: str + """The version of the X402 protocol.""" + payload: Document + """The X402 payment response payload.""" + +class Currency(UnknownEnumMixin, StrEnum): + """Supported currency codes.""" + + USD = "USD" + +@dataclass(kw_only=True) +class CustomDescriptor(_SerdeShape): + """A custom descriptor configuration for a registry record.""" + + inline_content: str | None = ... + """The inline content of the custom descriptor.""" + +@dataclass +class DataSourceConfigCloudWatchLogs(_SerdeShape): + """Configuration for pulling agent session traces from CloudWatch Logs.""" + + value: CloudWatchLogsSource + +@dataclass +class DataSourceConfigOnlineEvaluationConfigSource(_SerdeShape): + """Reference an existing OnlineEvaluationConfig as session source""" + + value: OnlineEvaluationConfigSource + +@dataclass +class DataSourceConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DataSourceConfig = Union[ + DataSourceConfigCloudWatchLogs + | DataSourceConfigOnlineEvaluationConfigSource + | DataSourceConfigUnknown +] +"""Configuration for the data source used in evaluation.""" + +class _DataSourceConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> DataSourceConfig: ... + +@dataclass(kw_only=True) +class DeleteABTestInput(_SerdeShape): + """Dataclass for DeleteABTestInput structure.""" + + ab_test_id: str | None = ... + """The unique identifier of the A/B test to delete.""" + +@dataclass(kw_only=True) +class DeleteABTestOutput(_SerdeShape): + """Dataclass for DeleteABTestOutput structure.""" + + ab_test_id: str + """The unique identifier of the deleted A/B test.""" + ab_test_arn: str + """The Amazon Resource Name (ARN) of the deleted A/B test.""" + status: str + """The status of the A/B test deletion operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBatchEvaluationInput(_SerdeShape): + """Dataclass for DeleteBatchEvaluationInput structure.""" + + batch_evaluation_id: str | None = ... + """The unique identifier of the batch evaluation to delete.""" + +@dataclass(kw_only=True) +class DeleteBatchEvaluationOutput(_SerdeShape): + """Dataclass for DeleteBatchEvaluationOutput structure.""" + + batch_evaluation_id: str + """The unique identifier of the deleted batch evaluation.""" + batch_evaluation_arn: str + """The Amazon Resource Name (ARN) of the deleted batch evaluation.""" + status: str + """The status of the batch evaluation deletion operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCapacityProviderSessionInput(_SerdeShape): + """Dataclass for DeleteCapacityProviderSessionInput structure.""" + + capacity_provider_id: str | None = ... + """ + The unique identifier of the capacity provider associated with the + session. + """ + session_id: str | None = ... + """The unique identifier of the capacity provider session to delete.""" + +@dataclass(kw_only=True) +class DeleteCapacityProviderSessionOutput(_SerdeShape): + """Dataclass for DeleteCapacityProviderSessionOutput structure.""" + + capacity_provider_arn: str + """ + The Amazon Resource Name (ARN) of the capacity provider associated with + the deleted session. + """ + session_id: str + """The unique identifier of the deleted capacity provider session.""" + status: str + """ + The current status of the capacity provider session. When the status is + `Deleting`, the session is being deleted and is not available. When the + status is `Deleted`, the session is no longer available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteEventInput(_SerdeShape): + """Dataclass for DeleteEventInput structure.""" + + memory_id: str | None = ... + """ + The identifier of the AgentCore Memory resource from which to delete the + event. + """ + session_id: str | None = ... + """The identifier of the session containing the event to delete.""" + event_id: str | None = ... + """The identifier of the event to delete.""" + actor_id: str | None = ... + """The identifier of the actor associated with the event to delete.""" + +@dataclass(kw_only=True) +class DeleteEventOutput(_SerdeShape): + """Dataclass for DeleteEventOutput structure.""" + + event_id: str + """The identifier of the event that was deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteMemoryRecordInput(_SerdeShape): + """Dataclass for DeleteMemoryRecordInput structure.""" + + memory_id: str | None = ... + """ + The identifier of the AgentCore Memory resource from which to delete the + memory record. + """ + memory_record_id: str | None = ... + """The identifier of the memory record to delete.""" + namespace: str | None = ... + """ + The namespace of the memory record to delete. This value is used for IAM + condition key authorization. + """ + +@dataclass(kw_only=True) +class DeleteMemoryRecordOutput(_SerdeShape): + """Dataclass for DeleteMemoryRecordOutput structure.""" + + memory_record_id: str + """The identifier of the memory record that was deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePaymentInstrumentInput(_SerdeShape): + """Request structure for deleting a payment instrument.""" + + user_id: str | None = ... + """ + The user ID making the delete request. Must match the instrument's + userId. + """ + payment_manager_arn: str | None = ... + """The payment manager ARN. Must match the instrument's paymentManagerArn.""" + payment_connector_id: str | None = ... + """ + The payment connector ID. Must match the instrument's + paymentConnectorId. + """ + payment_instrument_id: str | None = ... + """The payment instrument ID to delete.""" + +@dataclass(kw_only=True) +class DeletePaymentInstrumentOutput(_SerdeShape): + """Response structure for deleting a payment instrument.""" + + status: str + """ + The status of the instrument after deletion. Always DELETED for + successful soft delete. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePaymentSessionInput(_SerdeShape): + """Request structure for deleting a payment session.""" + + user_id: str | None = ... + """The user ID making the delete request. Must match the session's userId.""" + payment_manager_arn: str | None = ... + """The payment manager ARN. Must match the session's paymentManagerArn.""" + payment_session_id: str | None = ... + """The payment session ID to delete.""" + +@dataclass(kw_only=True) +class DeletePaymentSessionOutput(_SerdeShape): + """Response structure for deleting a payment session.""" + + status: str + """The status of the deletion. Always DELETED for successful hard delete.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRecommendationInput(_SerdeShape): + """Dataclass for DeleteRecommendationInput structure.""" + + recommendation_id: str | None = ... + """The unique identifier of the recommendation to delete.""" + +@dataclass(kw_only=True) +class DeleteRecommendationOutput(_SerdeShape): + """Dataclass for DeleteRecommendationOutput structure.""" + + recommendation_id: str + """The unique identifier of the deleted recommendation.""" + status: str + """The status of the recommendation deletion operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Descriptors(_SerdeShape): + """ + Contains the descriptor configuration for a registry record. Only the + field that matches the record's `descriptorType` is populated. + """ + + mcp: McpDescriptor | None = ... + """ + The MCP (Model Context Protocol) descriptor configuration. Populated + when the record's `descriptorType` is `MCP`. + """ + a2a: A2aDescriptor | None = ... + """ + The A2A (Agent-to-Agent) descriptor configuration. Populated when the + record's `descriptorType` is `A2A`. + """ + custom: CustomDescriptor | None = ... + """ + The custom descriptor configuration. Populated when the record's + `descriptorType` is `CUSTOM`. + """ + agent_skills: AgentSkillsDescriptor | None = ... + """ + The agent skills descriptor configuration. Populated when the record's + `descriptorType` is `AGENT_SKILLS`. + """ + +class DescriptorType(UnknownEnumMixin, StrEnum): + """The type of descriptor associated with a registry record.""" + + MCP = "MCP" + A2_A = "A2A" + CUSTOM = "CUSTOM" + AGENT_SKILLS = "AGENT_SKILLS" + +@dataclass(kw_only=True) +class DomainFilter(_SerdeShape): + """ + The domains to include in or exclude from the results. A root domain + also matches its subdomains. For example, `example.com` also matches + `docs.example.com`. + """ + + include: list[str] | None = ... + """ + The domains to return results from. Results from other domains are not + returned. + """ + exclude: list[str] | None = ... + """The domains to never return results from.""" + +@dataclass(kw_only=True) +class DuplicateIdException(ServiceError, _SerdeShape): + """ + An exception thrown when attempting to create a resource with an + identifier that already exists. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EfsConfiguration(_SerdeShape): + """ + The configuration for mounting an Amazon Elastic File System (Amazon + EFS) access point that you own into a session. + """ + + access_point_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon + EFS) access point to mount. + """ + mount_path: str + """ + The absolute path within the session at which the access point is + mounted, for example `/mnt/efs`. Each mount path must be unique across + all file system configurations in the session. + """ + file_system_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon + EFS) file system that owns the access point. + """ + +@dataclass(kw_only=True) +class EmbeddedCryptoWallet(_SerdeShape): + """Embedded crypto wallet instrument details.""" + + network: str + """ + The blockchain network for this embedded crypto wallet. Supported + networks: ETHEREUM, SOLANA. + """ + linked_accounts: list[LinkedAccount] + """ + List of linked accounts linked to this wallet. Each represents a way the + end user can authenticate to this wallet. + """ + wallet_address: str | None = ... + """The wallet address on the specified blockchain network.""" + redirect_url: str | None = ... + """ + URL for the end user to complete a provider-specific action such as + wallet linking or onboarding. + """ + +@dataclass(kw_only=True) +class EvaluateInput(_SerdeShape): + """Dataclass for EvaluateInput structure.""" + + evaluator_id: str | None = ... + """ + The unique identifier of the evaluator to use for scoring. Can be a + built-in evaluator (e.g., `Builtin.Helpfulness`, `Builtin.Correctness`) + or a custom evaluator Id created through the control plane API. + """ + evaluation_input: EvaluationInput | None = ... + """ + The input data containing agent session spans to be evaluated. Includes + a list of spans in OpenTelemetry format from supported frameworks like + Strands (AgentCore Runtime) or LangGraph with OpenInference + instrumentation. + """ + evaluation_target: EvaluationTarget | None = ... + """ + The specific trace or span IDs to evaluate within the provided input. + Allows targeting evaluation at different levels: individual tool calls, + single request-response interactions (traces), or entire conversation + sessions. + """ + evaluation_reference_inputs: list[EvaluationReferenceInput] | None = ... + """ + Ground truth data to compare against agent responses during evaluation. + Allows to provide expected responses, assertions, and expected tool + trajectories at different evaluation levels. Session-level reference + inputs apply to the entire conversation, while trace-level reference + inputs target specific request-response interactions identified by trace + ID. + """ + +@dataclass(kw_only=True) +class EvaluateOutput(_SerdeShape): + """Dataclass for EvaluateOutput structure.""" + + evaluation_results: list[EvaluationResultContent] + """ + The detailed evaluation results containing scores, explanations, and + metadata. Includes the evaluator information, numerical or categorical + ratings based on the evaluator's rating scale, and token usage + statistics for the evaluation process. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class EvaluationContentText(_SerdeShape): + """ + The text content of the ground truth data. Used for expected response + text and assertion statements. + """ + + value: str + +@dataclass +class EvaluationContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluationContent = Union[EvaluationContentText | EvaluationContentUnknown] +""" +A content block for ground truth data in evaluation reference inputs. +Supports text content for expected responses and assertions. +""" + +class _EvaluationContentDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationContent: ... + +@dataclass(kw_only=True) +class EvaluationExpectedTrajectory(_SerdeShape): + """The expected tool call trajectory for trajectory-based evaluation.""" + + tool_names: list[str] | None = ... + """The list of tool names representing the expected tool call sequence.""" + +@dataclass +class EvaluationInputSessionSpans(_SerdeShape): + """ + The collection of spans representing agent execution traces within a + session. Each span contains detailed information about tool calls, model + interactions, and other agent activities that can be evaluated for + quality and performance. + """ + + value: list[Document] + +@dataclass +class EvaluationInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluationInput = Union[EvaluationInputSessionSpans | EvaluationInputUnknown] +""" +The input data structure containing agent session spans in OpenTelemetry +format. Supports traces from frameworks like Strands (AgentCore Runtime) +and LangGraph with OpenInference instrumentation for comprehensive +evaluation. +""" + +class _EvaluationInputDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationInput: ... + +@dataclass(kw_only=True) +class EvaluationJobResults(_SerdeShape): + """ + Aggregated results from a batch evaluation, including session completion + counts and evaluator score summaries. + """ + + number_of_sessions_completed: int | None = ... + """The number of sessions that have been successfully evaluated.""" + number_of_sessions_in_progress: int | None = ... + """The number of sessions currently being evaluated.""" + number_of_sessions_failed: int | None = ... + """The number of sessions that failed evaluation.""" + total_number_of_sessions: int | None = ... + """The total number of sessions included in the batch evaluation.""" + number_of_sessions_ignored: int | None = ... + """The number of sessions that were ignored during evaluation.""" + evaluator_summaries: list[EvaluatorSummary] | None = ... + """A list of per-evaluator summary statistics.""" + +@dataclass +class EvaluationMetadataSessionMetadata(_SerdeShape): + """ + A list of session metadata entries containing ground truth data and test + scenario identifiers for specific sessions. + """ + + value: list[SessionMetadataShape] + +@dataclass +class EvaluationMetadataUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluationMetadata = Union[ + EvaluationMetadataSessionMetadata | EvaluationMetadataUnknown +] +""" +Metadata for the evaluation, including session-specific ground truth +data. +""" + +class _EvaluationMetadataDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationMetadata: ... + +@dataclass(kw_only=True) +class EvaluationReferenceInput(_SerdeShape): + """ + A reference input containing ground truth data for evaluation, scoped to + a specific context level (session or trace) through its span context. + """ + + context: Context + """ + The span context that identifies which session or trace this reference + input applies to, used for correlating ground truth with agent output. + """ + expected_response: EvaluationContent | None = ... + """ + The expected response for trace-level evaluation. Built-in evaluators + that support this field compare the agent's actual response against + this value for assessment. Custom evaluators can access it through the + `{expected_response}` placeholder in their instructions. + """ + assertions: list[EvaluationContent] | None = ... + """ + A list of assertion statements for session-level evaluation. Each + assertion describes an expected behavior or outcome the agent should + demonstrate during the session. + """ + expected_trajectory: EvaluationExpectedTrajectory | None = ... + """ + The expected tool call sequence for session-level trajectory evaluation. + Contains a list of tool names representing the tools the agent is + expected to invoke. + """ + +@dataclass(kw_only=True) +class EvaluationResultContent(_SerdeShape): + """ + The comprehensive result of an evaluation containing the score, + explanation, evaluator metadata, and execution details. Provides both + quantitative ratings and qualitative insights about agent performance. + """ + + evaluator_arn: str + """ + The Amazon Resource Name (ARN) of the evaluator used to generate this + result. For custom evaluators, this is the full ARN; for built-in + evaluators, this follows the pattern `Builtin.{EvaluatorName}`. + """ + evaluator_id: str + """ + The unique identifier of the evaluator that produced this result. This + matches the `evaluatorId` provided in the evaluation request and can be + used to identify which evaluator generated specific results. + """ + evaluator_name: str + """ + The human-readable name of the evaluator used for this evaluation. For + built-in evaluators, this is the descriptive name (e.g., + \"Helpfulness\", \"Correctness\"); for custom evaluators, this is the + user-defined name. + """ + evaluation_dimension_name: str | None = ... + """ + The name of the dimension that this result scores. This field is set + only on results produced by an evaluator that uses a multi-dimensional + rating scale, where each dimension is scored independently. For + evaluators with a single rating scale, this field is absent. + """ + explanation: str | None = ... + """ + The detailed explanation provided by the evaluator describing the + reasoning behind the assigned score. This qualitative feedback helps + understand why specific ratings were given and provides actionable + insights for improvement. + """ + context: Context + """ + The contextual information associated with this evaluation result, + including span context details that identify the specific traces and + sessions that were evaluated. + """ + value: float | None = ... + """ + The numerical score assigned by the evaluator according to its + configured rating scale. For numerical scales, this is a decimal value + within the defined range. This field is not allowed for categorical + scales. + """ + label: str | None = ... + """ + The categorical label assigned by the evaluator when using a categorical + rating scale. This provides a human-readable description of the + evaluation result (e.g., \"Excellent\", \"Good\", \"Poor\") + corresponding to the numerical value. For numerical scales, this field + is optional and provides a natural language explanation of what the + value means (e.g., value 0.5 = \"Somewhat Helpful\"). + """ + token_usage: TokenUsage | None = ... + """ + The token consumption statistics for this evaluation, including input + tokens, output tokens, and total tokens used by the underlying language + model during the evaluation process. + """ + error_message: str | None = ... + """ + The error message describing what went wrong if the evaluation failed. + Provides detailed information about evaluation failures to help diagnose + and resolve issues with evaluator configuration or input data. + """ + error_code: str | None = ... + """ + The error code indicating the type of failure that occurred during + evaluation. Used to programmatically identify and handle different + categories of evaluation errors. + """ + ignored_reference_input_fields: list[str] | None = ... + """ + The list of reference input field names that were provided but not used + by the evaluator. Helps identify which ground truth data was not + consumed during evaluation. + """ + +@dataclass +class EvaluationTargetSpanIds(_SerdeShape): + """ + The list of specific span IDs to evaluate within the provided traces. + Used to target evaluation at individual tool calls or specific + operations within the agent's execution flow. + """ + + value: list[str] + +@dataclass +class EvaluationTargetTraceIds(_SerdeShape): + """ + The list of trace IDs to evaluate, representing complete + request-response interactions. Used to evaluate entire conversation + turns or specific agent interactions within a session. + """ + + value: list[str] + +@dataclass +class EvaluationTargetUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluationTarget = Union[ + EvaluationTargetSpanIds | EvaluationTargetTraceIds | EvaluationTargetUnknown +] +""" +The specification of which trace or span IDs to evaluate within the +provided input data. Allows precise targeting of evaluation at different +levels: tool calls, traces, or sessions. +""" + +class _EvaluationTargetDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationTarget: ... + +@dataclass(kw_only=True) +class Evaluator(_SerdeShape): + """An evaluator to run against sessions during batch evaluation.""" + + evaluator_id: str + """ + The unique identifier of the evaluator. Can reference built-in + evaluators (e.g., `Builtin.Helpfulness`) or custom evaluators. + """ + +@dataclass(kw_only=True) +class EvaluatorMetric(_SerdeShape): + """ + Statistical metrics for a single evaluator comparing control and + treatment variants. + """ + + evaluator_arn: str + """The Amazon Resource Name (ARN) of the evaluator.""" + control_stats: ControlStats + """The statistics for the control variant.""" + variant_results: list[VariantResult] + """The results for each treatment variant compared against the control.""" + +@dataclass(kw_only=True) +class EvaluatorStatistics(_SerdeShape): + """Aggregated statistics for an evaluator.""" + + average_score: float | None = ... + """The average score across all evaluated sessions for this evaluator.""" + +@dataclass(kw_only=True) +class EvaluatorSummary(_SerdeShape): + """Summary statistics for a single evaluator within a batch evaluation.""" + + evaluator_id: str | None = ... + """The unique identifier of the evaluator.""" + evaluation_dimension_name: str | None = ... + """ + The name of the dimension that this summary covers. This field is set + only for evaluators that use a multi-dimensional rating scale, where + each dimension is summarized separately. For single-scale evaluators, + this field is not set. + """ + statistics: EvaluatorStatistics | None = ... + """The aggregated statistics for this evaluator.""" + total_evaluated: int | None = ... + """The total number of sessions evaluated by this evaluator.""" + total_failed: int | None = ... + """The total number of sessions that failed evaluation by this evaluator.""" + +@dataclass(kw_only=True) +class Event(_SerdeShape): + """Contains information about an event in an AgentCore Memory resource.""" + + memory_id: str + """The identifier of the AgentCore Memory resource containing the event.""" + actor_id: str + """The identifier of the actor associated with the event.""" + session_id: str + """The identifier of the session containing the event.""" + event_id: str + """The unique identifier of the event.""" + event_timestamp: datetime + """The timestamp when the event occurred.""" + payload: list[PayloadType] + """The content payload of the event.""" + branch: Branch | None = ... + """The branch information for the event.""" + metadata: dict[str, MetadataValue] | None = ... + """Metadata associated with an event.""" + +class EventFilterCondition(UnknownEnumMixin, StrEnum): + """The condition to use for filtering sessions by events.""" + + HAS_EVENTS = "HAS_EVENTS" + +@dataclass(kw_only=True) +class EventMetadataFilterExpression(_SerdeShape): + """ + Filter expression for retrieving events based on metadata associated + with an event. + """ + + left: LeftExpression + """Left operand of the event metadata filter expression.""" + operator: str + """Operator applied to the event metadata filter expression.""" + right: RightExpression | None = ... + """Right operand of the event metadata filter expression.""" + +@dataclass(kw_only=True) +class ExecutionSummaryAffectedSession(_SerdeShape): + """A session associated with an execution summary cluster.""" + + session_id: str + """The unique identifier of the session.""" + approach_taken: str + """The approach taken by the agent during this session.""" + final_outcome: str + """The final outcome of the session.""" + +@dataclass(kw_only=True) +class ExecutionSummaryCluster(_SerdeShape): + """A cluster of similar execution patterns identified across sessions.""" + + cluster_id: int + """The unique identifier of the execution summary cluster.""" + name: str + """The name of the execution pattern cluster.""" + description: str + """A description of the execution pattern.""" + affected_session_count: int + """The number of sessions with this execution pattern.""" + affected_sessions: list[ExecutionSummaryAffectedSession] + """The list of sessions with this execution pattern.""" + +@dataclass(kw_only=True) +class ExecutionSummaryClusteringResultContent(_SerdeShape): + """ + The execution summary clustering result containing grouped execution + patterns identified across evaluated sessions. + """ + + execution_summaries: list[ExecutionSummaryCluster] + """ + The list of execution summary clusters identified across analyzed + sessions. + """ + +@dataclass(kw_only=True) +class ExternalProxy(_SerdeShape): + """ + Configuration for a customer-managed external proxy server. Includes + server location, optional domain-based routing patterns, and + authentication credentials. + """ + + server: str + """ + The hostname of the proxy server. Must be a valid DNS hostname (maximum + 253 characters). + """ + port: int + """The port number of the proxy server. Valid range: 1-65535.""" + domain_patterns: list[str] | None = ... + """ + Optional array of domain patterns that should route through this + specific proxy. Supports `.example.com` for subdomain matching (matches + any subdomain of example.com) or `example.com` for exact domain + matching. If omitted, this proxy acts as a catch-all for domains not + matched by other proxies. Maximum 100 patterns per proxy, each up to 253 + characters. + """ + credentials: ProxyCredentials | None = ... + """ + Optional authentication credentials for the proxy server. If omitted, + the proxy is accessed without authentication (useful for IP-allowlisted + proxies). + """ + +@dataclass(kw_only=True) +class ExtractionConfig(_SerdeShape): + """ + The configuration for extraction behavior. Use this structure to specify + namespace variable keys and their values for namespace substitution + during long-term memory extraction. + """ + + namespace_variables: dict[str, str] | None = ... + """ + A map of `namespaceKeys` to their values. The service substitutes these + values into `namespaceTemplates` during long-term memory extraction to + control namespace hierarchy. + """ + +@dataclass(kw_only=True) +class ExtractionJob(_SerdeShape): + """ + Represents the metadata of a memory extraction job such as the message + identifiers that compose this job. + """ + + job_id: str + """The unique identifier of the extraction job.""" + +@dataclass(kw_only=True) +class ExtractionJobFilterInput(_SerdeShape): + """Filters for querying memory extraction jobs based on various criteria.""" + + strategy_id: str | None = ... + """ + The memory strategy identifier to filter extraction jobs by. If + specified, only extraction jobs with this strategy ID are returned. + """ + session_id: str | None = ... + """ + The unique identifier of the session. If specified, only extraction jobs + with this session ID are returned. + """ + actor_id: str | None = ... + """ + The identifier of the actor. If specified, only extraction jobs with + this actor ID are returned. + """ + status: str | None = ... + """ + The status of the extraction job. If specified, only extraction jobs + with this status are returned. + """ + +@dataclass +class ExtractionJobMessagesMessagesList(_SerdeShape): + """The list of messages that compose this extraction job.""" + + value: list[MessageMetadata] + +@dataclass +class ExtractionJobMessagesUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ExtractionJobMessages = Union[ + ExtractionJobMessagesMessagesList | ExtractionJobMessagesUnknown +] +"""The list of messages that compose this extraction job.""" + +class _ExtractionJobMessagesDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ExtractionJobMessages: ... + +@dataclass(kw_only=True) +class ExtractionJobMetadata(_SerdeShape): + """Metadata information associated with this extraction job.""" + + job_id: str + """The unique identifier for the extraction job.""" + messages: ExtractionJobMessages + """The messages associated with the extraction job.""" + status: str | None = ... + """The current status of the extraction job.""" + failure_reason: str | None = ... + """The cause of failure, if the job did not complete successfully.""" + strategy_id: str | None = ... + """The identifier of the memory strategy for this extraction job.""" + session_id: str | None = ... + """The identifier of the session for this extraction job.""" + actor_id: str | None = ... + """The identifier of the actor for this extraction job.""" + +class ExtractionJobStatus(UnknownEnumMixin, StrEnum): + FAILED = "FAILED" + +class ExtractionMode(UnknownEnumMixin, StrEnum): + SKIP = "SKIP" + +@dataclass(kw_only=True) +class FailureAnalysisResultContent(_SerdeShape): + """ + The failure analysis clustering result containing categorized failure + clusters with root causes and remediation recommendations. + """ + + failures: list[FailureCategoryCluster] + """ + The list of failure category clusters identified across analyzed + sessions. + """ + +@dataclass(kw_only=True) +class FailureCategoryCluster(_SerdeShape): + """ + A top-level failure category identified by clustering similar failure + patterns across sessions. + """ + + cluster_id: int + """The unique identifier of the failure category cluster.""" + name: str + """The name of the failure category.""" + description: str + """A description of the failure category pattern.""" + affected_session_count: int + """The number of sessions affected by this failure category.""" + sub_categories: list[FailureSubCategoryCluster] + """The list of failure subcategories within this category.""" + +@dataclass(kw_only=True) +class FailureSpanDetail(_SerdeShape): + """Details about a specific span where a failure was detected.""" + + span_id: str + """The unique identifier of the span where the failure occurred.""" + trace_id: str + """The trace identifier associated with the failure span.""" + signals: list[InsightsFailureSignal] + """The failure signals detected in this span.""" + +@dataclass(kw_only=True) +class FailureSubCategoryCluster(_SerdeShape): + """A subcategory of failures within a top-level failure category.""" + + cluster_id: int + """The unique identifier of the failure subcategory cluster.""" + name: str + """The name of the failure subcategory.""" + description: str + """A description of the failure subcategory pattern.""" + affected_session_count: int + """The number of sessions affected by this failure subcategory.""" + root_causes: list[RootCauseCluster] + """The list of root cause clusters identified within this subcategory.""" + +@dataclass(kw_only=True) +class FilterInput(_SerdeShape): + """Contains filter criteria for listing events.""" + + branch: BranchFilter | None = ... + """The branch filter criteria to apply when listing events.""" + event_metadata: list[EventMetadataFilterExpression] | None = ... + """Event metadata filter criteria to apply when retrieving events.""" + +@dataclass +class FilterValueStringValue(_SerdeShape): + """A string value for text-based filtering.""" + + value: str + +@dataclass +class FilterValueDoubleValue(_SerdeShape): + """A numeric value for numerical filtering and comparisons.""" + + value: float + +@dataclass +class FilterValueBooleanValue(_SerdeShape): + """A boolean value for true/false filtering conditions.""" + + value: bool + +@dataclass +class FilterValueUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +FilterValue = Union[ + FilterValueStringValue + | FilterValueDoubleValue + | FilterValueBooleanValue + | FilterValueUnknown +] +"""A value used in filter comparisons, supporting different data types.""" + +class _FilterValueDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> FilterValue: ... + +class FindingTargetType(UnknownEnumMixin, StrEnum): + """ + The type of location in a session that a finding points to: a span ID, a + trace ID, or a span name. + """ + + SPAN_ID = "SPAN_ID" + TRACE_ID = "TRACE_ID" + SPAN_NAME = "SPAN_NAME" + +@dataclass(kw_only=True) +class GatewayFilter(_SerdeShape): + """ + A filter to restrict which gateway target paths are included in the A/B + test. + """ + + target_paths: list[str] | None = ... + """A list of target path patterns to include in the A/B test.""" + +@dataclass(kw_only=True) +class GetABTestInput(_SerdeShape): + """Dataclass for GetABTestInput structure.""" + + ab_test_id: str | None = ... + """The unique identifier of the A/B test to retrieve.""" + +@dataclass(kw_only=True) +class GetABTestOutput(_SerdeShape): + """Dataclass for GetABTestOutput structure.""" + + ab_test_id: str + """The unique identifier of the A/B test.""" + ab_test_arn: str + """The Amazon Resource Name (ARN) of the A/B test.""" + name: str + """The name of the A/B test.""" + description: str | None = ... + """The description of the A/B test.""" + status: str + """The current status of the A/B test.""" + execution_status: str + """ + The execution status indicating whether the A/B test is currently + running. + """ + gateway_arn: str + """ + The Amazon Resource Name (ARN) of the gateway used for traffic + splitting. + """ + variants: list[Variant] + """The list of variants in the A/B test.""" + gateway_filter: GatewayFilter | None = ... + """The gateway filter restricting which target paths are included.""" + evaluation_config: ABTestEvaluationConfig + """The evaluation configuration for measuring variant performance.""" + role_arn: str | None = ... + """The IAM role ARN used by the A/B test.""" + current_run_id: str | None = ... + """The identifier of the current run of the A/B test.""" + error_details: list[str] | None = ... + """The error details if the A/B test encountered failures.""" + started_at: datetime | None = ... + """The timestamp when the A/B test was started.""" + stopped_at: datetime | None = ... + """The timestamp when the A/B test was stopped.""" + max_duration_expires_at: datetime | None = ... + """The timestamp when the A/B test will automatically expire.""" + created_at: datetime + """The timestamp when the A/B test was created.""" + updated_at: datetime + """The timestamp when the A/B test was last updated.""" + results: ABTestResults | None = ... + """ + The statistical results of the A/B test, including per-evaluator metrics + and significance analysis. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAgentCardInput(_SerdeShape): + """Dataclass for GetAgentCardInput structure.""" + + runtime_session_id: str | None = ... + """ + The session ID that the AgentCore Runtime agent is using. + + This field is autopopulated if not provided. + """ + agent_runtime_arn: str | None = ... + """ + The ARN of the AgentCore Runtime agent for which you want to get the A2A + agent card. + """ + qualifier: str | None = ... + """ + Optional qualifier to specify an agent alias, such as `prod`code> or + `dev`. If you don't provide a value, the DEFAULT alias is used. + """ + +@dataclass(kw_only=True) +class GetAgentCardOutput(_SerdeShape): + """Dataclass for GetAgentCardOutput structure.""" + + runtime_session_id: str | None = ... + """The ID of the session associated with the AgentCore Runtime agent.""" + agent_card: Document + """ + An agent card document that contains metadata and capabilities for an + AgentCore Runtime agent. + """ + status_code: int | None = ... + """The status code of the request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBatchEvaluationInput(_SerdeShape): + """Dataclass for GetBatchEvaluationInput structure.""" + + batch_evaluation_id: str | None = ... + """The unique identifier of the batch evaluation to retrieve.""" + +@dataclass(kw_only=True) +class GetBatchEvaluationOutput(_SerdeShape): + """Dataclass for GetBatchEvaluationOutput structure.""" + + batch_evaluation_id: str + """The unique identifier of the batch evaluation.""" + batch_evaluation_arn: str + """The Amazon Resource Name (ARN) of the batch evaluation.""" + batch_evaluation_name: str + """The name of the batch evaluation.""" + status: str + """The current status of the batch evaluation.""" + created_at: datetime + """The timestamp when the batch evaluation was created.""" + evaluators: list[Evaluator] | None = ... + """The list of evaluators applied during the batch evaluation.""" + insights: list[Insight] | None = ... + """The list of insight analyses applied during the batch evaluation.""" + data_source_config: DataSourceConfig | None = ... + """ + The data source configuration specifying where agent traces are pulled + from. + """ + output_config: OutputConfig | None = ... + """ + The output configuration specifying where evaluation results are + written. + """ + evaluation_results: EvaluationJobResults | None = ... + """ + The aggregated evaluation results, including session completion counts + and evaluator score summaries. + """ + insight_results: list[InsightResult] | None = ... + """ + The insights generated when the batch evaluation includes the + `Builtin.FailureAnalysis` evaluator. Each insight groups related + failures found across the evaluated sessions. An empty list means that + no failures were found. If the analysis fails, this field is omitted and + `errorDetails` describes the error. + """ + failure_analysis_result: FailureAnalysisResultContent | None = ... + """ + The failure analysis results from insights, containing categorized + failure clusters with root causes and recommendations. + """ + user_intent_result: UserIntentClusteringResultContent | None = ... + """ + The user intent clustering results from insights, containing grouped + user intents across evaluated sessions. + """ + execution_summary_result: ExecutionSummaryClusteringResultContent | None = ... + """ + The execution summary clustering results from insights, containing + grouped execution patterns across evaluated sessions. + """ + error_details: list[str] | None = ... + """The error details if the batch evaluation encountered failures.""" + description: str | None = ... + """The description of the batch evaluation.""" + updated_at: datetime | None = ... + """The timestamp when the batch evaluation was last updated.""" + kms_key_arn: str | None = ... + """The ARN of the KMS key used to encrypt evaluation data.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBrowserSessionInput(_SerdeShape): + """Dataclass for GetBrowserSessionInput structure.""" + + browser_identifier: str | None = ... + """The unique identifier of the browser associated with the session.""" + session_id: str | None = ... + """The unique identifier of the browser session to retrieve.""" + +@dataclass(kw_only=True) +class GetBrowserSessionOutput(_SerdeShape): + """Dataclass for GetBrowserSessionOutput structure.""" + + browser_identifier: str + """The identifier of the browser.""" + session_id: str + """The identifier of the browser session.""" + name: str | None = ... + """The name of the browser session.""" + created_at: datetime + """The time at which the browser session was created.""" + view_port: ViewPort | None = ... + """ + The configuration that defines the dimensions of a browser viewport in a + browser session. The viewport determines the visible area of web content + and affects how web pages are rendered and displayed. Proper viewport + configuration ensures that web content is displayed correctly for the + agent's browsing tasks. + """ + extensions: list[BrowserExtension] | None = ... + """ + The list of browser extensions that are configured in the browser + session. + """ + enterprise_policies: list[BrowserEnterprisePolicy] | None = ... + """A list of files containing enterprise policies for the browser session.""" + profile_configuration: BrowserProfileConfiguration | None = ... + """ + The browser profile configuration associated with this session. Contains + the profile identifier that links to persistent browser data such as + cookies and local storage. + """ + session_timeout_seconds: int | None = ... + """The timeout period for the browser session in seconds.""" + status: str | None = ... + """ + The current status of the browser session. Possible values include + ACTIVE, STOPPING, and STOPPED. + """ + streams: BrowserSessionStream | None = ... + """ + The streams associated with this browser session. These include the + automation stream and live view stream. + """ + proxy_configuration: ProxyConfiguration | None = ... + """ + The active proxy configuration for this browser session. This field is + only present if proxy configuration was provided when the session was + started using `StartBrowserSession`. The configuration includes proxy + servers, domain bypass rules and the proxy authentication credentials. + """ + certificates: list[Certificate] | None = ... + """The list of certificates installed in the browser session.""" + filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... + """ + The file system configurations for the browser session. Each entry + describes an access point and its mount path. + """ + session_replay_artifact: str | None = ... + """The artifact containing the session replay information.""" + last_updated_at: datetime | None = ... + """The time at which the browser session was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCodeInterpreterSessionInput(_SerdeShape): + """Dataclass for GetCodeInterpreterSessionInput structure.""" + + code_interpreter_identifier: str | None = ... + """ + The unique identifier of the code interpreter associated with the + session. + """ + session_id: str | None = ... + """The unique identifier of the code interpreter session to retrieve.""" + +@dataclass(kw_only=True) +class GetCodeInterpreterSessionOutput(_SerdeShape): + """Dataclass for GetCodeInterpreterSessionOutput structure.""" + + code_interpreter_identifier: str + """The identifier of the code interpreter.""" + session_id: str + """The identifier of the code interpreter session.""" + name: str | None = ... + """The name of the code interpreter session.""" + created_at: datetime + """The time at which the code interpreter session was created.""" + session_timeout_seconds: int | None = ... + """The timeout period for the code interpreter session in seconds.""" + status: str | None = ... + """ + The current status of the code interpreter session. Possible values + include ACTIVE, STOPPING, and STOPPED. + """ + certificates: list[Certificate] | None = ... + """The list of certificates installed in the code interpreter session.""" + filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... + """ + The file system configurations for the code interpreter session. Each + entry describes an access point and its mount path. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEventInput(_SerdeShape): + """Dataclass for GetEventInput structure.""" + + memory_id: str | None = ... + """The identifier of the AgentCore Memory resource containing the event.""" + session_id: str | None = ... + """The identifier of the session containing the event.""" + actor_id: str | None = ... + """The identifier of the actor associated with the event.""" + event_id: str | None = ... + """The identifier of the event to retrieve.""" + +@dataclass(kw_only=True) +class GetEventOutput(_SerdeShape): + """Dataclass for GetEventOutput structure.""" + + event: Event + """The requested event information.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMemoryRecordInput(_SerdeShape): + """Dataclass for GetMemoryRecordInput structure.""" + + memory_id: str | None = ... + """ + The identifier of the AgentCore Memory resource containing the memory + record. + """ + memory_record_id: str | None = ... + """The identifier of the memory record to retrieve.""" + namespace: str | None = ... + """ + The namespace of the memory record to retrieve. This value is used for + IAM condition key authorization. + """ + +@dataclass(kw_only=True) +class GetMemoryRecordOutput(_SerdeShape): + """Dataclass for GetMemoryRecordOutput structure.""" + + memory_record: MemoryRecord + """The requested memory record.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPaymentInstrumentBalanceInput(_SerdeShape): + """Request structure for getting payment instrument balance.""" + + user_id: str | None = ... + """The user ID associated with this payment instrument.""" + agent_name: str | None = ... + """The agent name associated with this request, used for observability.""" + payment_manager_arn: str | None = ... + """The ARN of the payment manager that owns this payment instrument.""" + payment_connector_id: str | None = ... + """The ID of the payment connector associated with this instrument.""" + payment_instrument_id: str | None = ... + """The ID of the payment instrument to query balance for.""" + chain: str | None = ... + """ + The specific blockchain chain to query balance on. Required because + balances are chain-specific. + """ + token: str | None = ... + """ + The token to query balance for. Only tokens supported for X402 payments + are returned. + """ + +@dataclass(kw_only=True) +class GetPaymentInstrumentBalanceOutput(_SerdeShape): + """Response structure for getting payment instrument balance.""" + + payment_instrument_id: str + """The ID of the payment instrument.""" + token_balance: TokenBalance + """The balance of the supported token on the requested chain.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPaymentInstrumentInput(_SerdeShape): + """Request structure for getting a payment instrument.""" + + user_id: str | None = ... + """The user ID associated with this payment instrument.""" + agent_name: str | None = ... + """The agent name associated with this request, used for observability.""" + payment_manager_arn: str | None = ... + """The ARN of the payment manager that owns this payment instrument.""" + payment_connector_id: str | None = ... + """The ID of the payment connector.""" + payment_instrument_id: str | None = ... + """The ID of the payment instrument to retrieve.""" + +@dataclass(kw_only=True) +class GetPaymentInstrumentOutput(_SerdeShape): + """Response structure for getting a payment instrument.""" + + payment_instrument: PaymentInstrument + """The payment instrument details.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPaymentSessionInput(_SerdeShape): + """Request structure for getting a payment session.""" + + user_id: str | None = ... + """The user ID associated with this payment session.""" + agent_name: str | None = ... + """The agent name associated with this request, used for observability.""" + payment_manager_arn: str | None = ... + """The ARN of the payment manager that owns this session.""" + payment_session_id: str | None = ... + """The ID of the payment session to retrieve.""" + +@dataclass(kw_only=True) +class GetPaymentSessionOutput(_SerdeShape): + """Response structure for getting a payment session.""" + + payment_session: PaymentSession + """The payment session details.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRecommendationInput(_SerdeShape): + """Dataclass for GetRecommendationInput structure.""" + + recommendation_id: str | None = ... + """The unique identifier of the recommendation to retrieve.""" + +@dataclass(kw_only=True) +class GetRecommendationOutput(_SerdeShape): + """Dataclass for GetRecommendationOutput structure.""" + + recommendation_id: str + """The unique identifier of the recommendation.""" + recommendation_arn: str + """The Amazon Resource Name (ARN) of the recommendation.""" + name: str + """The name of the recommendation.""" + description: str | None = ... + """The description of the recommendation.""" + type: str + """The type of recommendation.""" + recommendation_config: RecommendationConfig + """The configuration for the recommendation.""" + status: str + """The current status of the recommendation.""" + created_at: datetime + """The timestamp when the recommendation was created.""" + updated_at: datetime + """The timestamp when the recommendation was last updated.""" + recommendation_result: RecommendationResult | None = ... + """ + The result of the recommendation, containing the optimized system prompt + or tool descriptions. Only present when the recommendation status is + `COMPLETED`. + """ + kms_key_arn: str | None = ... + """The ARN of the KMS key used to encrypt recommendation data.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourceApiKeyInput(_SerdeShape): + """Dataclass for GetResourceApiKeyInput structure.""" + + workload_identity_token: str | None = ... + """ + The identity token of the workload from which you want to retrieve the + API key. + """ + resource_credential_provider_name: str | None = ... + """ + The credential provider name for the resource from which you are + retrieving the API key. + """ + +@dataclass(kw_only=True) +class GetResourceApiKeyOutput(_SerdeShape): + """Dataclass for GetResourceApiKeyOutput structure.""" + + api_key: str + """The API key associated with the resource requested.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourceOauth2TokenInput(_SerdeShape): + """Dataclass for GetResourceOauth2TokenInput structure.""" + + workload_identity_token: str | None = ... + """ + The identity token of the workload from which you want to retrieve the + OAuth2 token. + """ + resource_credential_provider_name: str | None = ... + """The name of the resource's credential provider.""" + scopes: list[str] | None = ... + """The OAuth scopes being requested.""" + oauth2_flow: str | None = ... + """The type of flow to be performed.""" + session_uri: str | None = ... + """ + Unique identifier for the user's authentication session for retrieving + OAuth2 tokens. This ID tracks the authorization flow state across + multiple requests and responses during the OAuth2 authentication + process. + """ + resource_oauth2_return_url: str | None = ... + """ + The callback URL to redirect to after the OAuth 2.0 token retrieval is + complete. This URL must be one of the provided URLs configured for the + workload identity. + """ + force_authentication: bool | None = ... + """ + Indicates whether to always initiate a new three-legged OAuth (3LO) + flow, regardless of any existing session. + """ + custom_parameters: dict[str, str] | None = ... + """ + A map of custom parameters to include in the authorization request to + the resource credential provider. These parameters are in addition to + the standard OAuth 2.0 flow parameters, and will not override them. + """ + custom_state: str | None = ... + """ + An opaque string that will be sent back to the callback URL provided in + resourceOauth2ReturnUrl. This state should be used to protect the + callback URL of your application against CSRF attacks by ensuring the + response corresponds to the original request. + """ + resources: list[str] | None = ... + """ + The resources to include in the token request. These are used to specify + the target resources for which the OAuth2 token is being requested. + """ + audiences: list[str] | None = ... + """ + The audiences to include in the token request. These are used to specify + the intended recipients of the OAuth2 token. + """ + +@dataclass(kw_only=True) +class GetResourceOauth2TokenOutput(_SerdeShape): + """Dataclass for GetResourceOauth2TokenOutput structure.""" + + authorization_url: str | None = ... + """ + The URL to initiate the authorization process, provided when the access + token requires user authorization. + """ + access_token: str | None = ... + """The OAuth 2.0 access token to use.""" + session_uri: str | None = ... + """ + Unique identifier for the user's authorization session for retrieving + OAuth2 tokens. This matches the sessionId from the request and can be + used to track the session state. + """ + session_status: str | None = ... + """ + Status indicating whether the user's authorization session is in + progress or has failed. This helps determine the next steps in the + OAuth2 authentication flow. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourcePaymentTokenInput(_SerdeShape): + """Dataclass for GetResourcePaymentTokenInput structure.""" + + workload_identity_token: str | None = ... + """Workload access token for authorization.""" + resource_credential_provider_name: str | None = ... + """Name of the payment credential provider to use.""" + payment_token_request: PaymentTokenRequestInput | None = ... + """ + Vendor-specific token request input. Contains all request parameters in + a type-safe, vendor-specific structure. + """ + +@dataclass(kw_only=True) +class GetResourcePaymentTokenOutput(_SerdeShape): + """Dataclass for GetResourcePaymentTokenOutput structure.""" + + payment_token_response: PaymentTokenResponseOutput + """ + Vendor-specific token response output. Contains all response data in a + type-safe, vendor-specific structure. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetWorkloadAccessTokenForJWTInput(_SerdeShape): + """Dataclass for GetWorkloadAccessTokenForJWTInput structure.""" + + workload_name: str | None = ... + """The unique identifier for the registered workload.""" + user_token: str | None = ... + """The OAuth 2.0 token issued by the user's identity provider.""" + +@dataclass(kw_only=True) +class GetWorkloadAccessTokenForJWTOutput(_SerdeShape): + """Dataclass for GetWorkloadAccessTokenForJWTOutput structure.""" + + workload_access_token: str + """ + An opaque token representing the identity of both the workload and the + user. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetWorkloadAccessTokenForUserIdInput(_SerdeShape): + """Dataclass for GetWorkloadAccessTokenForUserIdInput structure.""" + + workload_name: str | None = ... + """ + The name of the workload from which you want to retrieve the access + token. + """ + user_id: str | None = ... + """The ID of the user for whom you are retrieving the access token.""" + +@dataclass(kw_only=True) +class GetWorkloadAccessTokenForUserIdOutput(_SerdeShape): + """Dataclass for GetWorkloadAccessTokenForUserIdOutput structure.""" + + workload_access_token: str + """The access token for the specified workload.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetWorkloadAccessTokenInput(_SerdeShape): + """Dataclass for GetWorkloadAccessTokenInput structure.""" + + workload_name: str | None = ... + """The unique identifier for the registered workload.""" + +@dataclass(kw_only=True) +class GetWorkloadAccessTokenOutput(_SerdeShape): + """Dataclass for GetWorkloadAccessTokenOutput structure.""" + + workload_access_token: str + """ + An opaque token representing the identity of both the workload and the + user. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class GroundTruthSourceInline(_SerdeShape): + """Inline ground truth data provided directly in the request.""" + + value: InlineGroundTruth + +@dataclass +class GroundTruthSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +GroundTruthSource = Union[GroundTruthSourceInline | GroundTruthSourceUnknown] +"""Where to pull ground truth from.""" + +class _GroundTruthSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> GroundTruthSource: ... + +@dataclass(kw_only=True) +class GroundTruthTurn(_SerdeShape): + """Ground truth data for a single conversation turn.""" + + input: GroundTruthTurnInput | None = ... + """The input for this conversation turn.""" + expected_response: EvaluationContent | None = ... + """The expected response for this conversation turn.""" + +@dataclass +class GroundTruthTurnInputPrompt(_SerdeShape): + """The text prompt for this conversation turn.""" + + value: str + +@dataclass +class GroundTruthTurnInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +GroundTruthTurnInput = Union[GroundTruthTurnInputPrompt | GroundTruthTurnInputUnknown] +"""The input for a ground truth conversation turn.""" + +class _GroundTruthTurnInputDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> GroundTruthTurnInput: ... + +@dataclass(kw_only=True) +class HarnessAgentCoreBrowserConfig(_SerdeShape): + """Configuration for AgentCore Browser.""" + + browser_arn: str | None = ... + """If not populated, the built-in Browser ARN is used.""" + +@dataclass(kw_only=True) +class HarnessAgentCoreCodeInterpreterConfig(_SerdeShape): + """Configuration for AgentCore Code Interpreter.""" + + code_interpreter_arn: str | None = ... + """If not populated, the built-in Code Interpreter ARN is used.""" + +@dataclass(kw_only=True) +class HarnessAgentCoreGatewayConfig(_SerdeShape): + """Configuration for AgentCore Gateway.""" + + gateway_arn: str + """The ARN of the desired AgentCore Gateway.""" + outbound_auth: HarnessGatewayOutboundAuth | None = ... + """ + How harness authenticates to this Gateway. Defaults to AWS_IAM (SigV4) + if omitted. + """ + +class HarnessBedrockApiFormat(UnknownEnumMixin, StrEnum): + CONVERSE_STREAM = "converse_stream" + """Use the Bedrock Converse Stream API format.""" + RESPONSES = "responses" + """Use the Responses API format.""" + CHAT_COMPLETIONS = "chat_completions" + """Use the Chat Completions API format.""" + +@dataclass(kw_only=True) +class HarnessBedrockModelConfig(_SerdeShape): + """Configuration for an Amazon Bedrock model provider.""" + + model_id: str + """The Bedrock model ID.""" + max_tokens: int | None = ... + """ + The maximum number of tokens to allow in the generated response per + iteration. + """ + temperature: float | None = ... + """The temperature to set when calling the model.""" + top_p: float | None = ... + """The topP set when calling the model.""" + api_format: str | None = ... + """The API format to use when calling the Bedrock provider.""" + additional_params: Document | None = ... + """ + Provider-specific parameters passed through to the model provider + unchanged. + """ + +@dataclass +class HarnessContentBlockText(_SerdeShape): + """Text content.""" + + value: str + +@dataclass +class HarnessContentBlockToolUse(_SerdeShape): + """A tool use request from the model.""" + + value: HarnessToolUseBlock + +@dataclass +class HarnessContentBlockToolResult(_SerdeShape): + """A tool execution result.""" + + value: HarnessToolResultBlock + +@dataclass +class HarnessContentBlockReasoningContent(_SerdeShape): + """Model reasoning content.""" + + value: HarnessReasoningContentBlock + +@dataclass +class HarnessContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessContentBlock = Union[ + HarnessContentBlockText + | HarnessContentBlockToolUse + | HarnessContentBlockToolResult + | HarnessContentBlockReasoningContent + | HarnessContentBlockUnknown +] +"""A content block within a message.""" + +class _HarnessContentBlockDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> HarnessContentBlock: ... + +@dataclass +class HarnessContentBlockDeltaText(_SerdeShape): + """A text delta.""" + + value: str + +@dataclass +class HarnessContentBlockDeltaToolUse(_SerdeShape): + """A tool use input delta.""" + + value: HarnessToolUseBlockDelta + +@dataclass +class HarnessContentBlockDeltaToolResult(_SerdeShape): + """A tool result delta.""" + + value: list[HarnessToolResultBlockDelta] + +@dataclass +class HarnessContentBlockDeltaReasoningContent(_SerdeShape): + """A reasoning content delta.""" + + value: HarnessReasoningContentBlockDelta + +@dataclass +class HarnessContentBlockDeltaToolResultMetadata(_SerdeShape): + """A tool result metadata delta.""" + + value: HarnessToolResultMetadataBlockDelta + +@dataclass +class HarnessContentBlockDeltaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessContentBlockDelta = Union[ + HarnessContentBlockDeltaText + | HarnessContentBlockDeltaToolUse + | HarnessContentBlockDeltaToolResult + | HarnessContentBlockDeltaReasoningContent + | HarnessContentBlockDeltaToolResultMetadata + | HarnessContentBlockDeltaUnknown +] +"""A delta update to a content block.""" + +class _HarnessContentBlockDeltaDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessContentBlockDelta: ... + +@dataclass(kw_only=True) +class HarnessContentBlockDeltaEvent(_SerdeShape): + """Event containing a delta update to a content block.""" + + content_block_index: int + """The index of the content block being updated.""" + delta: HarnessContentBlockDelta + """The delta payload.""" + +@dataclass +class HarnessContentBlockStartToolUse(_SerdeShape): + """Start of a tool use content block.""" + + value: HarnessToolUseBlockStart + +@dataclass +class HarnessContentBlockStartToolResult(_SerdeShape): + """Start of a tool result content block.""" + + value: HarnessToolResultBlockStart + +@dataclass +class HarnessContentBlockStartUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessContentBlockStart = Union[ + HarnessContentBlockStartToolUse + | HarnessContentBlockStartToolResult + | HarnessContentBlockStartUnknown +] +"""The start payload for a content block.""" + +class _HarnessContentBlockStartDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessContentBlockStart: ... + +@dataclass(kw_only=True) +class HarnessContentBlockStartEvent(_SerdeShape): + """Event indicating the start of a content block.""" + + content_block_index: int + """The index of the content block within the message.""" + start: HarnessContentBlockStart + """The content block start payload.""" + +@dataclass(kw_only=True) +class HarnessContentBlockStopEvent(_SerdeShape): + """Event indicating the end of a content block.""" + + content_block_index: int + """The index of the content block that ended.""" + +class HarnessConversationRole(UnknownEnumMixin, StrEnum): + USER = "user" + ASSISTANT = "assistant" + +@dataclass +class HarnessGatewayOutboundAuthAwsIam(_SerdeShape): + """SigV4-sign requests using the agent's execution role.""" + + value: Unit + +@dataclass +class HarnessGatewayOutboundAuthNone(_SerdeShape): + """No authentication.""" + + value: Unit + +@dataclass +class HarnessGatewayOutboundAuthOauth(_SerdeShape): + """ + OAuth 2.0 authentication via AgentCore Identity. + + The `AUTHORIZATION_CODE` grant type is not supported for outbound + authentication from a harness to an AgentCore Gateway, even when + `defaultReturnUrl` is specified. + """ + + value: OAuthCredentialProvider + +@dataclass +class HarnessGatewayOutboundAuthUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessGatewayOutboundAuth = Union[ + HarnessGatewayOutboundAuthAwsIam + | HarnessGatewayOutboundAuthNone + | HarnessGatewayOutboundAuthOauth + | HarnessGatewayOutboundAuthUnknown +] +"""Authentication method for calling a Gateway.""" + +class _HarnessGatewayOutboundAuthDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessGatewayOutboundAuth: ... + +@dataclass(kw_only=True) +class HarnessGeminiModelConfig(_SerdeShape): + """ + Configuration for a Google Gemini model provider. Requires an API key + stored in AgentCore Identity. + """ + + model_id: str + """The Gemini model ID.""" + api_key_arn: str + """The ARN of your Gemini API key on AgentCore Identity.""" + max_tokens: int | None = ... + """ + The maximum number of tokens to allow in the generated response per + iteration. + """ + temperature: float | None = ... + """The temperature to set when calling the model.""" + top_p: float | None = ... + """The topP set when calling the model.""" + top_k: int | None = ... + """The topK set when calling the model.""" + additional_params: Document | None = ... + """ + Provider-specific parameters passed through to the Gemini model provider + unchanged. + """ + +class HarnessHookDecision(UnknownEnumMixin, StrEnum): + ALLOW = "allow" + DENY = "deny" + +@dataclass(kw_only=True) +class HarnessHookEvent(_SerdeShape): + """ + A lifecycle hook event emitted in the invocation stream for visibility + into hook decisions. + """ + + hook_event_id: str + """The unique identifier for this hook event.""" + name: str + """The name of the hook that ran.""" + type: str + """The type of lifecycle hook event.""" + decision: str | None = ... + """ + The decision applied to the hook event. This field is present only for + blocking Lambda targets. + """ + reason: str | None = ... + """The optional reason for the applied decision.""" + +class HarnessHookEventType(UnknownEnumMixin, StrEnum): + BEFORE_TOOL_CALL = "before_tool_call" + AFTER_TOOL_CALL = "after_tool_call" + BEFORE_INVOCATION = "before_invocation" + AFTER_INVOCATION = "after_invocation" + +@dataclass(kw_only=True) +class HarnessInlineFunctionConfig(_SerdeShape): + """ + Configuration for an inline function tool. When the agent calls this + tool, the tool call is returned to the caller for external execution. + """ + + description: str + """Description of what the tool does, provided to the model.""" + input_schema: Document + """JSON Schema describing the tool's input parameters.""" + +@dataclass(kw_only=True) +class HarnessLiteLlmModelConfig(_SerdeShape): + """ + Configuration for a LiteLLM model provider, enabling connection to + third-party model providers. + """ + + model_id: str + """The LiteLLM model identifier (e.g., \"anthropic/claude-3-sonnet\").""" + api_key_arn: str | None = ... + """ + The ARN of the API key in AgentCore Identity for authenticating with the + model provider. + """ + api_base: str | None = ... + """The base URL for the model provider's API endpoint.""" + max_tokens: int | None = ... + """ + The maximum number of tokens to allow in the generated response per + iteration. + """ + temperature: float | None = ... + """The temperature to set when calling the model.""" + top_p: float | None = ... + """The topP set when calling the model.""" + additional_params: Document | None = ... + """ + Provider-specific parameters passed through to the model provider + unchanged. + """ + +@dataclass(kw_only=True) +class HarnessMessage(_SerdeShape): + """A message in the conversation.""" + + role: str + """The role of the message sender.""" + content: list[HarnessContentBlock] + """The content blocks of the message.""" + +@dataclass(kw_only=True) +class HarnessMessageStartEvent(_SerdeShape): + """Event indicating the start of a message.""" + + role: str + """The role of the message sender.""" + +@dataclass(kw_only=True) +class HarnessMessageStopEvent(_SerdeShape): + """Event indicating the end of a message.""" + + stop_reason: str + """The reason the agent stopped generating.""" + +@dataclass(kw_only=True) +class HarnessMetadataEvent(_SerdeShape): + """Token usage and latency metrics for the invocation.""" + + usage: HarnessTokenUsage + """Token usage counts.""" + metrics: HarnessStreamMetrics + """Latency metrics.""" + +@dataclass +class HarnessModelConfigurationBedrockModelConfig(_SerdeShape): + """Configuration for an Amazon Bedrock model.""" + + value: HarnessBedrockModelConfig + +@dataclass +class HarnessModelConfigurationOpenAiModelConfig(_SerdeShape): + """Configuration for an OpenAI model.""" + + value: HarnessOpenAiModelConfig + +@dataclass +class HarnessModelConfigurationGeminiModelConfig(_SerdeShape): + """Configuration for a Google Gemini model.""" + + value: HarnessGeminiModelConfig + +@dataclass +class HarnessModelConfigurationLiteLlmModelConfig(_SerdeShape): + """ + The LiteLLM model configuration for connecting to third-party model + providers. + """ + + value: HarnessLiteLlmModelConfig + +@dataclass +class HarnessModelConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessModelConfiguration = Union[ + HarnessModelConfigurationBedrockModelConfig + | HarnessModelConfigurationOpenAiModelConfig + | HarnessModelConfigurationGeminiModelConfig + | HarnessModelConfigurationLiteLlmModelConfig + | HarnessModelConfigurationUnknown +] +"""Specification of which model to use.""" + +class _HarnessModelConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessModelConfiguration: ... + +class HarnessOpenAiApiFormat(UnknownEnumMixin, StrEnum): + CHAT_COMPLETIONS = "chat_completions" + """Use the Chat Completions API format.""" + RESPONSES = "responses" + """Use the Responses API format.""" + +@dataclass(kw_only=True) +class HarnessOpenAiModelConfig(_SerdeShape): + """ + Configuration for an OpenAI model provider. Requires an API key stored + in AgentCore Identity. + """ + + model_id: str + """The OpenAI model ID.""" + api_key_arn: str + """The ARN of your OpenAI API key on AgentCore Identity.""" + api_base: str | None = ... + """Optional custom endpoint URL for an OpenAI-compatible endpoint.""" + max_tokens: int | None = ... + """ + The maximum number of tokens to allow in the generated response per + iteration. + """ + temperature: float | None = ... + """The temperature to set when calling the model.""" + top_p: float | None = ... + """The topP set when calling the model.""" + api_format: str | None = ... + """The API format to use when calling the OpenAI provider.""" + additional_params: Document | None = ... + """ + Provider-specific parameters passed through to the model provider + unchanged. + """ + +@dataclass +class HarnessReasoningContentBlockReasoningText(_SerdeShape): + """The reasoning text.""" + + value: HarnessReasoningTextBlock + +@dataclass +class HarnessReasoningContentBlockRedactedContent(_SerdeShape): + """Redacted reasoning content.""" + + value: bytes + +@dataclass +class HarnessReasoningContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessReasoningContentBlock = Union[ + HarnessReasoningContentBlockReasoningText + | HarnessReasoningContentBlockRedactedContent + | HarnessReasoningContentBlockUnknown +] +"""Reasoning content from the model.""" + +class _HarnessReasoningContentBlockDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessReasoningContentBlock: ... + +@dataclass +class HarnessReasoningContentBlockDeltaText(_SerdeShape): + """Reasoning text delta.""" + + value: str + +@dataclass +class HarnessReasoningContentBlockDeltaRedactedContent(_SerdeShape): + """Redacted reasoning content.""" + + value: bytes + +@dataclass +class HarnessReasoningContentBlockDeltaSignature(_SerdeShape): + """Signature for the reasoning content.""" + + value: str + +@dataclass +class HarnessReasoningContentBlockDeltaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessReasoningContentBlockDelta = Union[ + HarnessReasoningContentBlockDeltaText + | HarnessReasoningContentBlockDeltaRedactedContent + | HarnessReasoningContentBlockDeltaSignature + | HarnessReasoningContentBlockDeltaUnknown +] +"""A delta update to a reasoning content block.""" + +class _HarnessReasoningContentBlockDeltaDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessReasoningContentBlockDelta: ... + +@dataclass(kw_only=True) +class HarnessReasoningTextBlock(_SerdeShape): + """A block of reasoning text from the model.""" + + text: str + """The reasoning text.""" + signature: str | None = ... + """Signature for verifying the reasoning content.""" + +@dataclass(kw_only=True) +class HarnessRemoteMcpConfig(_SerdeShape): + """Configuration for connecting to a remote MCP server.""" + + url: str + """URL of the MCP endpoint.""" + headers: dict[str, str] | None = ... + """Custom headers to include when connecting to the remote MCP server.""" + outbound_auth: HarnessRemoteMcpOutboundAuth | None = ... + """ + How the harness authenticates to this MCP server. Defaults to no + authentication. + """ + +@dataclass +class HarnessRemoteMcpOutboundAuthAwsIam(_SerdeShape): + """ + Sign requests to the remote MCP server with Signature Version 4 (SigV4) + using the harness execution role. If you don't specify a Region, the + harness Region is used. + """ + + value: IamCredentialProvider + +@dataclass +class HarnessRemoteMcpOutboundAuthNone(_SerdeShape): + """No authentication.""" + + value: Unit + +@dataclass +class HarnessRemoteMcpOutboundAuthUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessRemoteMcpOutboundAuth = Union[ + HarnessRemoteMcpOutboundAuthAwsIam + | HarnessRemoteMcpOutboundAuthNone + | HarnessRemoteMcpOutboundAuthUnknown +] +"""Authentication method for calling a remote MCP server.""" + +class _HarnessRemoteMcpOutboundAuthDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessRemoteMcpOutboundAuth: ... + +@dataclass +class HarnessSkillPath(_SerdeShape): + """The filesystem path to the skill definition.""" + + value: str + +@dataclass +class HarnessSkillS3(_SerdeShape): + """An S3 source containing the skill.""" + + value: HarnessSkillS3Source + +@dataclass +class HarnessSkillGit(_SerdeShape): + """A git repository containing the skill.""" + + value: HarnessSkillGitSource + +@dataclass +class HarnessSkillAwsSkills(_SerdeShape): + """Amazon Web Services Skills baked into the Harness's underlying Runtime.""" + + value: HarnessSkillAwsSkillsSource + +@dataclass +class HarnessSkillUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessSkill = Union[ + HarnessSkillPath + | HarnessSkillS3 + | HarnessSkillGit + | HarnessSkillAwsSkills + | HarnessSkillUnknown +] +"""A skill available to the agent.""" + +class _HarnessSkillDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> HarnessSkill: ... + +@dataclass(kw_only=True) +class HarnessSkillAwsSkillsSource(_SerdeShape): + """Passed to show that Amazon Web Services Skills should be included.""" + + paths: list[str] | None = ... + """ + Optionally filter allowed skills with glob syntax, e.g., + ['core-skills/*']. + """ + +@dataclass(kw_only=True) +class HarnessSkillGitAuth(_SerdeShape): + """Authentication configuration for accessing a private git repository.""" + + credential_arn: str + """ + The ARN of the credential in AgentCore Identity containing the password + or personal access token. + """ + username: str | None = ... + """Username for authentication. Defaults to 'oauth2' if not specified.""" + +@dataclass(kw_only=True) +class HarnessSkillGitSource(_SerdeShape): + """A git repository source for a skill.""" + + url: str + """The HTTPS URL of the git repository.""" + path: str | None = ... + """Subdirectory within the repository containing the skill.""" + auth: HarnessSkillGitAuth | None = ... + """Authentication configuration for private repositories.""" + +@dataclass(kw_only=True) +class HarnessSkillS3Source(_SerdeShape): + """An S3 source for a skill.""" + + uri: str + """ + The S3 URI pointing to the skill directory (e.g., + s3://bucket/skills/my-skill/). + """ + +class HarnessStopReason(UnknownEnumMixin, StrEnum): + END_TURN = "end_turn" + TOOL_USE = "tool_use" + TOOL_RESULT = "tool_result" + MAX_TOKENS = "max_tokens" + STOP_SEQUENCE = "stop_sequence" + CONTENT_FILTERED = "content_filtered" + MALFORMED_MODEL_OUTPUT = "malformed_model_output" + MALFORMED_TOOL_USE = "malformed_tool_use" + INTERRUPTED = "interrupted" + PARTIAL_TURN = "partial_turn" + MODEL_CONTEXT_WINDOW_EXCEEDED = "model_context_window_exceeded" + MAX_ITERATIONS_EXCEEDED = "max_iterations_exceeded" + MAX_OUTPUT_TOKENS_EXCEEDED = "max_output_tokens_exceeded" + TIMEOUT_EXCEEDED = "timeout_exceeded" + HOOK_STOPPED = "hook_stopped" + +@dataclass(kw_only=True) +class HarnessStreamMetrics(_SerdeShape): + """Latency metrics for the invocation.""" + + latency_ms: int + """The end-to-end latency of the invocation in milliseconds.""" + +@dataclass +class HarnessSystemContentBlockText(_SerdeShape): + """The text content of the system prompt block.""" + + value: str + +@dataclass +class HarnessSystemContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessSystemContentBlock = Union[ + HarnessSystemContentBlockText | HarnessSystemContentBlockUnknown +] +"""A content block in the system prompt.""" + +class _HarnessSystemContentBlockDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessSystemContentBlock: ... + +@dataclass(kw_only=True) +class HarnessTokenUsage(_SerdeShape): + """Token usage counts for the invocation.""" + + input_tokens: int + """The number of input tokens consumed.""" + output_tokens: int + """The number of output tokens generated.""" + total_tokens: int + """The total number of tokens consumed.""" + cache_read_input_tokens: int | None = ... + """The number of input tokens read from cache.""" + cache_write_input_tokens: int | None = ... + """The number of input tokens written to cache.""" + +@dataclass(kw_only=True) +class HarnessTool(_SerdeShape): + """A tool available to the agent loop.""" + + type: str + """The type of tool.""" + name: str | None = ... + """ + Unique name for the tool. If not provided, a name will be inferred or + generated. + """ + config: HarnessToolConfiguration | None = ... + """Tool-specific configuration.""" + +@dataclass +class HarnessToolConfigurationRemoteMcp(_SerdeShape): + """Configuration for remote MCP server.""" + + value: HarnessRemoteMcpConfig + +@dataclass +class HarnessToolConfigurationAgentCoreBrowser(_SerdeShape): + """Configuration for AgentCore Browser.""" + + value: HarnessAgentCoreBrowserConfig + +@dataclass +class HarnessToolConfigurationAgentCoreGateway(_SerdeShape): + """Configuration for AgentCore Gateway.""" + + value: HarnessAgentCoreGatewayConfig + +@dataclass +class HarnessToolConfigurationInlineFunction(_SerdeShape): + """Configuration for an inline function tool.""" + + value: HarnessInlineFunctionConfig + +@dataclass +class HarnessToolConfigurationAgentCoreCodeInterpreter(_SerdeShape): + """Configuration for AgentCore Code Interpreter.""" + + value: HarnessAgentCoreCodeInterpreterConfig + +@dataclass +class HarnessToolConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessToolConfiguration = Union[ + HarnessToolConfigurationRemoteMcp + | HarnessToolConfigurationAgentCoreBrowser + | HarnessToolConfigurationAgentCoreGateway + | HarnessToolConfigurationInlineFunction + | HarnessToolConfigurationAgentCoreCodeInterpreter + | HarnessToolConfigurationUnknown +] +"""Configuration union for different tool types.""" + +class _HarnessToolConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessToolConfiguration: ... + +@dataclass(kw_only=True) +class HarnessToolResultBlock(_SerdeShape): + """The result of a tool execution.""" + + tool_use_id: str + """The tool use ID that this result corresponds to.""" + content: list[HarnessToolResultContentBlock] + """The content of the tool result.""" + status: str | None = ... + """The status of the tool execution.""" + type: str | None = ... + """The type of tool use that produced this result.""" + +@dataclass +class HarnessToolResultBlockDeltaText(_SerdeShape): + """A text tool result delta.""" + + value: str + +@dataclass +class HarnessToolResultBlockDeltaJson(_SerdeShape): + """A JSON tool result delta.""" + + value: Document + +@dataclass +class HarnessToolResultBlockDeltaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessToolResultBlockDelta = Union[ + HarnessToolResultBlockDeltaText + | HarnessToolResultBlockDeltaJson + | HarnessToolResultBlockDeltaUnknown +] +"""A delta update to a tool result content block.""" + +class _HarnessToolResultBlockDeltaDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessToolResultBlockDelta: ... + +@dataclass(kw_only=True) +class HarnessToolResultBlockStart(_SerdeShape): + """Start payload for a tool result content block.""" + + tool_use_id: str + """The tool use ID that this result corresponds to.""" + status: str | None = ... + """The status of the tool execution.""" + +@dataclass +class HarnessToolResultContentBlockText(_SerdeShape): + """Text content.""" + + value: str + +@dataclass +class HarnessToolResultContentBlockJson(_SerdeShape): + """JSON content.""" + + value: Document + +@dataclass +class HarnessToolResultContentBlockUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +HarnessToolResultContentBlock = Union[ + HarnessToolResultContentBlockText + | HarnessToolResultContentBlockJson + | HarnessToolResultContentBlockUnknown +] +"""A content block within a tool result.""" + +class _HarnessToolResultContentBlockDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> HarnessToolResultContentBlock: ... + +@dataclass(kw_only=True) +class HarnessToolResultMetadataBlockDelta(_SerdeShape): + """Delta payload for a tool result metadata.""" + + metadata: str + """The partial JSON-string fragment of the tool result metadata.""" + +class HarnessToolType(UnknownEnumMixin, StrEnum): + REMOTE_MCP = "remote_mcp" + AGENTCORE_BROWSER = "agentcore_browser" + AGENTCORE_GATEWAY = "agentcore_gateway" + INLINE_FUNCTION = "inline_function" + AGENTCORE_CODE_INTERPRETER = "agentcore_code_interpreter" + +@dataclass(kw_only=True) +class HarnessToolUseBlock(_SerdeShape): + """A tool use request from the model.""" + + name: str + """The name of the tool to call.""" + tool_use_id: str + """The unique ID of this tool use.""" + input: Document + """The JSON input to pass to the tool.""" + type: str | None = ... + """The type of tool use.""" + server_name: str | None = ... + """The name of the MCP server providing this tool.""" + +@dataclass(kw_only=True) +class HarnessToolUseBlockDelta(_SerdeShape): + """Delta payload for tool use input.""" + + input: str + """The partial JSON input for the tool call.""" + +@dataclass(kw_only=True) +class HarnessToolUseBlockStart(_SerdeShape): + """Start payload for a tool use content block.""" + + tool_use_id: str + """The unique ID of this tool use.""" + name: str + """The name of the tool being called.""" + type: str | None = ... + """The type of tool use.""" + server_name: str | None = ... + """The name of the MCP server providing this tool.""" + +class HarnessToolUseStatus(UnknownEnumMixin, StrEnum): + SUCCESS = "success" + ERROR = "error" + +class HarnessToolUseType(UnknownEnumMixin, StrEnum): + TOOL_USE = "tool_use" + SERVER_TOOL_USE = "server_tool_use" + MCP_TOOL_USE = "mcp_tool_use" + +@dataclass(kw_only=True) +class IamCredentialProvider(_SerdeShape): + """ + An IAM credential provider for authenticating requests. This structure + contains the configuration for authenticating with a target endpoint + using IAM credentials and SigV4 signing. + """ + + service: str + """ + The name of the Amazon Web Services service used for SigV4 signing. This + value identifies the service to authenticate with when sending requests + to the target endpoint. + """ + region: str | None = ... + """ + The Amazon Web Services Region used for SigV4 signing. If not specified, + defaults to the Region of the resource that makes the request. + """ + +@dataclass(kw_only=True) +class IngestDataInput(_SerdeShape): + """Dataclass for IngestDataInput structure.""" + + memory_id: str | None = ... + """The identifier of the AgentCore Memory resource to ingest content into.""" + source: ContentSource | None = ... + """The content to ingest. Only inline content is supported.""" + content_timestamp: datetime | None = ... + """The timestamp of when the content occurred.""" + actor_id: str | None = ... + """ + The identifier of the actor associated with this content. An actor + represents an entity that participates in sessions and generates + content. + """ + session_id: str | None = ... + """ + The identifier of the session that the content belongs to. If not + provided, a session identifier is generated and returned in the + response. + """ + extraction_config: ExtractionConfig | None = ... + """ + The extraction configuration for long-term memory records. Use this + parameter to specify namespace variable keys and their values for + namespace substitution during extraction. + """ + metadata: dict[str, MetadataValue] | None = ... + """The key-value metadata to attach to the content.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, AgentCore ignores the request, but does not return an error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class IngestDataOutput(_SerdeShape): + """Dataclass for IngestDataOutput structure.""" + + session_id: str + """ + The identifier of the session that the service ingested the content + into. This value echoes the session identifier from the request, or the + identifier that the service generated when you did not provide one. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class IngestPayloadTypeConversational(_SerdeShape): + """The conversational content for this payload item.""" + + value: Conversational + +@dataclass +class IngestPayloadTypeJson(_SerdeShape): + """The JSON content for this payload item.""" + + value: MemoryJsonData + +@dataclass +class IngestPayloadTypeUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +IngestPayloadType = Union[ + IngestPayloadTypeConversational | IngestPayloadTypeJson | IngestPayloadTypeUnknown +] +""" +A single content payload item to ingest. A payload item contains either +conversational or JSON content. +""" + +class _IngestPayloadTypeDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> IngestPayloadType: ... + +@dataclass(kw_only=True) +class InlineGroundTruth(_SerdeShape): + """ + Inline ground truth data containing assertions, expected trajectories, + and per-turn expected responses. + """ + + assertions: list[EvaluationContent] | None = ... + """Assertions for evaluation, reuses common model EvaluationContentList.""" + expected_trajectory: EvaluationExpectedTrajectory | None = ... + """The expected tool call sequence for trajectory evaluation.""" + turns: list[GroundTruthTurn] | None = ... + """ + A list of per-turn ground truth data, each containing an input prompt + and expected response. + """ + +@dataclass(kw_only=True) +class InlineMemoryContent(_SerdeShape): + """ + The content included directly in the request as one or more payload + items. + """ + + payload: list[IngestPayloadType] + """The list of content payload items to ingest.""" + +@dataclass(kw_only=True) +class InputContentBlock(_SerdeShape): + """A block of input content.""" + + path: str + """The path to the input content.""" + text: str | None = ... + """The text input content.""" + blob: bytes | None = ... + """The binary input content.""" + +@dataclass(kw_only=True) +class Insight(_SerdeShape): + """ + A reference to an insight analysis to run against sessions during batch + evaluation. Insights provide deeper analysis beyond individual evaluator + scores, including failure detection, user intent clustering, and + execution summarization. + """ + + insight_id: str + """The unique identifier of the insight to run.""" + +@dataclass(kw_only=True) +class InsightResult(_SerdeShape): + """ + An insight that groups related failures found across the sessions in a + batch evaluation. + """ + + type: str + """The type of insight. `FAILURE` indicates a group of related failures.""" + name: str + """ + A generated label for the insight. The name is not an identifier and can + differ between batch evaluations. + """ + description: str + """A description of the failure pattern that the insight represents.""" + created_at: datetime + """The timestamp when the insight was generated.""" + affected_session_count: int | None = ... + """The number of distinct sessions affected by the insight.""" + sample_sessions: list[SampleSession] | None = ... + """ + A sample of up to 10 sessions affected by the insight. Returned only + when the insight has no root causes. Otherwise, sample sessions are + returned for each root cause. + """ + root_causes: list[InsightRootCause] | None = ... + """The root causes identified for the insight.""" + +@dataclass(kw_only=True) +class InsightRootCause(_SerdeShape): + """A root cause that contributes to an insight.""" + + name: str + """A generated label for the root cause.""" + explanation: str + """ + An explanation of how the root cause leads to the failures in the + insight. + """ + affected_session_count: int | None = ... + """ + The number of distinct sessions affected by the root cause. A session + can be affected by more than one root cause of the same insight. + """ + suggested_fix: str | None = ... + """A suggested change to the agent that addresses the root cause.""" + sample_sessions: list[SampleSession] | None = ... + """A sample of up to 10 sessions affected by the root cause.""" + +class InsightsFailureCategory(UnknownEnumMixin, StrEnum): + """ + Failure category taxonomy for agent session insights. Values must stay + in sync with the category registry in AgentCoreLens + (amzn_agentcore_lens.config.failure_detection.FAILURE_CATEGORIES). + """ + + EXECUTION_ERROR_AUTHENTICATION = "execution-error-category-authentication" + EXECUTION_ERROR_RESOURCE_NOT_FOUND = "execution-error-category-resource-not-found" + EXECUTION_ERROR_SERVICE_ERRORS = "execution-error-category-service-errors" + EXECUTION_ERROR_RATE_LIMITING = "execution-error-category-rate-limiting" + EXECUTION_ERROR_FORMATTING = "execution-error-category-formatting" + EXECUTION_ERROR_TIMEOUT = "execution-error-category-timeout" + EXECUTION_ERROR_RESOURCE_EXHAUSTION = "execution-error-category-resource-exhaustion" + EXECUTION_ERROR_ENVIRONMENT = "execution-error-category-environment" + EXECUTION_ERROR_TOOL_SCHEMA = "execution-error-category-tool-schema" + TASK_INSTRUCTION_NON_COMPLIANCE = "task-instruction-category-non-compliance" + TASK_INSTRUCTION_PROBLEM_ID = "task-instruction-category-problem-id" + INCORRECT_ACTIONS_TOOL_SELECTION = "incorrect-actions-category-tool-selection" + INCORRECT_ACTIONS_POOR_INFORMATION_RETRIEVAL = ( + "incorrect-actions-category-poor-information-retrieval" + ) + INCORRECT_ACTIONS_CLARIFICATION = "incorrect-actions-category-clarification" + INCORRECT_ACTIONS_INAPPROPRIATE_INFO_REQUEST = ( + "incorrect-actions-category-inappropriate-info-request" + ) + CONTEXT_HANDLING_FAILURES = ( + "context-handling-error-category-context-handling-failures" + ) + HALLUCINATION_CAPABILITIES = "hallucination-category-hall-capabilities" + HALLUCINATION_MISUNDERSTAND = "hallucination-category-hall-misunderstand" + HALLUCINATION_USAGE = "hallucination-category-hall-usage" + HALLUCINATION_HISTORY = "hallucination-category-hall-history" + HALLUCINATION_PARAMS = "hallucination-category-hall-params" + HALLUCINATION_FABRICATE_TOOL_OUTPUTS = ( + "hallucination-category-fabricate-tool-outputs" + ) + REPETITIVE_BEHAVIOR_TOOL = "repetitive-behavior-category-repetition-tool" + REPETITIVE_BEHAVIOR_INFO = "repetitive-behavior-category-repetition-info" + REPETITIVE_BEHAVIOR_STEP = "repetitive-behavior-category-step-repetition" + ORCHESTRATION_REASONING_MISMATCH = ( + "orchestration-related-errors-category-reasoning-mismatch" + ) + ORCHESTRATION_GOAL_DEVIATION = ( + "orchestration-related-errors-category-goal-deviation" + ) + ORCHESTRATION_PREMATURE_TERMINATION = ( + "orchestration-related-errors-category-premature-termination" + ) + ORCHESTRATION_UNAWARE_TERMINATION = ( + "orchestration-related-errors-category-unaware-termination" + ) + LLM_OUTPUT_NONSENSICAL = "llm-output-category-nonsensical" + CONFIGURATION_MISMATCH_TOOL_DEFINITION = ( + "configuration-mismatch-category-tool-definition" + ) + CODING_EDGE_CASE_OVERSIGHTS = ( + "coding-use-case-specific-failure-types-category-edge-case-oversights" + ) + CODING_DEPENDENCY_ISSUES = ( + "coding-use-case-specific-failure-types-category-dependency-issues" + ) + OTHER = "other" + +@dataclass(kw_only=True) +class InsightsFailureSignal(_SerdeShape): + """A signal indicating a detected failure within a span.""" + + category: str + """The failure category classification for this signal.""" + evidence: str + """The evidence supporting the failure detection.""" + confidence: float + """The confidence score of the failure detection.""" + +class InsightType(UnknownEnumMixin, StrEnum): + """The type of insight.""" + + FAILURE = "FAILURE" + +class InstrumentBalanceToken(UnknownEnumMixin, StrEnum): + """ + Supported tokens for instrument balance queries. Only tokens supported + for X402 payments are returned. + """ + + USDC = "USDC" + +@dataclass(kw_only=True) +class InternalServerException(ServiceError, _SerdeShape): + """ + The exception that occurs when the service encounters an unexpected + internal error. This is a temporary condition that will resolve itself + with retries. We recommend implementing exponential backoff retry logic + in your application. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/models_1.pyi b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/models_1.pyi new file mode 100644 index 000000000..edf8afc2c --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/models_1.pyi @@ -0,0 +1,4885 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.aio.interfaces import StreamingBlob +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + ABTestEvaluationConfig, + ABTestSummary, + AccessDeniedException, + ActorSummary, + AffectedSession, + AgentTracesConfig, + Amount, + AutomationStreamUpdate, + AvailableLimits, + BasicAuth, + BatchEvaluationSummary, + BrowserAction, + BrowserActionResult, + BrowserEnterprisePolicy, + BrowserExtension, + BrowserProfileConfiguration, + BrowserSessionStream, + BrowserSessionSummary, + Certificate, + CloudWatchOutputConfig, + CodeInterpreterSessionSummary, + CoinbaseCdpTokenRequestInput, + CoinbaseCdpTokenResponseOutput, + ConfidenceInterval, + ConfigurationBundleRef, + ConfigurationBundleToolEntry, + ContentDeltaEvent, + ContentStartEvent, + ContentStopEvent, + Conversational, + CryptoX402PaymentInput, + CryptoX402PaymentOutput, + DataSourceConfig, + Descriptors, + DomainFilter, + EfsConfiguration, + EmbeddedCryptoWallet, + EvaluationMetadata, + Evaluator, + Event, + ExternalProxy, + ExtractionJob, + ExtractionJobFilterInput, + ExtractionJobMetadata, + FilterInput, + GatewayFilter, + GroundTruthSource, + HarnessContentBlockDeltaEvent, + HarnessContentBlockStartEvent, + HarnessContentBlockStopEvent, + HarnessHookEvent, + HarnessMessage, + HarnessMessageStartEvent, + HarnessMessageStopEvent, + HarnessMetadataEvent, + HarnessModelConfiguration, + HarnessSkill, + HarnessSystemContentBlock, + HarnessTool, + InputContentBlock, + Insight, + InternalServerException, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class InvalidInputException(ServiceError, _SerdeShape): + """ + The input fails to satisfy the constraints specified by AgentCore. Check + your input values and try again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvokeAgentRuntimeCommandInput(_SerdeShape): + """Request for InvokeAgentRuntimeCommand operation.""" + + content_type: str | None = ... + """ + The MIME type of the input data in the request payload. This tells the + agent runtime how to interpret the payload data. Common values include + application/json for JSON data. + """ + accept: str | None = ... + """ + The desired MIME type for the response from the agent runtime command. + This tells the agent runtime what format to use for the response data. + Common values include application/json for JSON data. + """ + runtime_session_id: str | None = ... + """ + The unique identifier of the runtime session in which to execute the + command. This session ID is used to maintain state and context across + multiple command invocations. + + This field is autopopulated if not provided. + """ + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + trace_state: str | None = ... + """The trace state information for distributed tracing.""" + baggage: str | None = ... + """Additional context information for distributed tracing.""" + agent_runtime_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the agent runtime on which to execute + the command. This identifies the specific agent runtime environment + where the command will run. + """ + qualifier: str | None = ... + """ + The qualifier to use for the agent runtime. This is an endpoint name + that points to a specific version. If not specified, Amazon Bedrock + AgentCore uses the default endpoint of the agent runtime. + """ + account_id: str | None = ... + """ + The identifier of the Amazon Web Services account for the agent runtime + resource. This parameter is required when you specify an agent ID + instead of the full ARN for `agentRuntimeArn`. + """ + body: InvokeAgentRuntimeCommandRequestBody | None = ... + """ + The request body containing the command to execute and optional + configuration parameters such as timeout settings. + """ + +@dataclass(kw_only=True) +class InvokeAgentRuntimeCommandOutput(_SerdeShape): + """Response for InvokeAgentRuntimeCommand operation.""" + + runtime_session_id: str | None = ... + """ + The unique identifier of the runtime session in which the command was + executed. + """ + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + trace_state: str | None = ... + """The trace state information for distributed tracing.""" + baggage: str | None = ... + """Additional context information for distributed tracing.""" + content_type: str + """ + The MIME type of the response data. This indicates how to interpret the + response data. Common values include application/json for JSON data. + """ + status_code: int | None = ... + """ + The HTTP status code of the response. A status code of 200 indicates a + successful operation. Other status codes indicate various error + conditions. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvokeAgentRuntimeCommandRequestBody(_SerdeShape): + """ + The request body structure for the `InvokeAgentRuntimeCommand` + operation, containing the command to execute and optional configuration + parameters. + """ + + command: str + """ + The shell command to execute on the agent runtime. This command is + executed in the runtime environment and its output is streamed back to + the caller. + """ + timeout: int | None = ... + """ + The maximum duration in seconds to wait for the command to complete. If + the command execution exceeds this timeout, it will be terminated. + Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds. + """ + +@dataclass +class InvokeAgentRuntimeCommandStreamOutputChunk(_SerdeShape): + """ + A response chunk containing command execution events such as content + start, content delta, or content stop events. + """ + + value: ResponseChunk + +@dataclass +class InvokeAgentRuntimeCommandStreamOutputAccessDeniedException(_SerdeShape): + """Exception events for error streaming.""" + + value: AccessDeniedException + +@dataclass +class InvokeAgentRuntimeCommandStreamOutputInternalServerException(_SerdeShape): + """ + The exception that occurs when the service encounters an unexpected + internal error. This is a temporary condition that will resolve itself + with retries. We recommend implementing exponential backoff retry logic + in your application. + """ + + value: InternalServerException + +@dataclass +class InvokeAgentRuntimeCommandStreamOutputResourceNotFoundException(_SerdeShape): + """ + The exception that occurs when the specified resource does not exist. + This can happen when using an invalid identifier or when trying to + access a resource that has been deleted. + """ + + value: ResourceNotFoundException + +@dataclass +class InvokeAgentRuntimeCommandStreamOutputServiceQuotaExceededException(_SerdeShape): + """ + The exception that occurs when the request would cause a service quota + to be exceeded. Review your service quotas and either reduce your + request rate or request a quota increase. + """ + + value: ServiceQuotaExceededException + +@dataclass +class InvokeAgentRuntimeCommandStreamOutputThrottlingException(_SerdeShape): + """ + The exception that occurs when the request was denied due to request + throttling. This happens when you exceed the allowed request rate for an + operation. Reduce the frequency of requests or implement exponential + backoff retry logic in your application. + """ + + value: ThrottlingException + +@dataclass +class InvokeAgentRuntimeCommandStreamOutputValidationException(_SerdeShape): + """ + The exception that occurs when the input fails to satisfy the + constraints specified by the service. Check the error message for + details about which input parameter is invalid and correct your request. + """ + + value: ValidationException + +@dataclass +class InvokeAgentRuntimeCommandStreamOutputRuntimeClientError(_SerdeShape): + """ + The exception that occurs when there is an error in the runtime client. + This can happen due to network issues, invalid configuration, or other + client-side problems. Check the error message for specific details about + the error. + """ + + value: RuntimeClientError + +@dataclass +class InvokeAgentRuntimeCommandStreamOutputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InvokeAgentRuntimeCommandStreamOutput = Union[ + InvokeAgentRuntimeCommandStreamOutputChunk + | InvokeAgentRuntimeCommandStreamOutputAccessDeniedException + | InvokeAgentRuntimeCommandStreamOutputInternalServerException + | InvokeAgentRuntimeCommandStreamOutputResourceNotFoundException + | InvokeAgentRuntimeCommandStreamOutputServiceQuotaExceededException + | InvokeAgentRuntimeCommandStreamOutputThrottlingException + | InvokeAgentRuntimeCommandStreamOutputValidationException + | InvokeAgentRuntimeCommandStreamOutputRuntimeClientError + | InvokeAgentRuntimeCommandStreamOutputUnknown +] +""" +The streaming output union for the `InvokeAgentRuntimeCommand` +operation. This union delivers typed events: `contentStart` (first), +`contentDelta` (middle), and `contentStop` (last). +""" + +class _InvokeAgentRuntimeCommandStreamOutputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> InvokeAgentRuntimeCommandStreamOutput: ... + +@dataclass(kw_only=True) +class InvokeAgentRuntimeInput(_SerdeShape): + """Dataclass for InvokeAgentRuntimeInput structure.""" + + content_type: str | None = ... + """ + The MIME type of the input data in the payload. This tells the agent + runtime how to interpret the payload data. Common values include + application/json for JSON data. + """ + accept: str | None = ... + """ + The desired MIME type for the response from the agent runtime. This + tells the agent runtime what format to use for the response data. Common + values include application/json for JSON data. + """ + mcp_session_id: str | None = ... + """The identifier of the MCP session.""" + runtime_session_id: str | None = ... + """ + The identifier of the runtime session. + + This field is autopopulated if not provided. + """ + mcp_protocol_version: str | None = ... + """The version of the MCP protocol being used.""" + mcp_method: str | None = ... + """ + The MCP method being invoked. For example, `tools/call`, + `resources/read`, or `prompts/get`. + """ + mcp_name: str | None = ... + """ + The name of the MCP resource, tool, or prompt being accessed. The value + depends on the method: + + - `tools/call` -- The tool name. + + - `resources/read` -- The resource URI. + + - `prompts/get` -- The prompt name. + """ + runtime_user_id: str | None = ... + """The identifier of the runtime user.""" + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + trace_state: str | None = ... + """The trace state information for distributed tracing.""" + baggage: str | None = ... + """Additional context information for distributed tracing.""" + agent_runtime_arn: str | None = ... + """ + The identifier of the agent runtime to invoke. You can specify either + the full Amazon Web Services Resource Name (ARN) or the agent ID. If you + use the agent ID, you must also provide the `accountId` query parameter. + """ + qualifier: str | None = ... + """ + The qualifier to use for the agent runtime. This is an endpoint name + that points to a specific version. If not specified, Amazon Bedrock + AgentCore uses the default endpoint of the agent runtime. + """ + account_id: str | None = ... + """ + The identifier of the Amazon Web Services account for the agent runtime + resource. This parameter is required when you specify an agent ID + instead of the full ARN for `agentRuntimeArn`. + """ + payload: bytes | None = ... + """ + The input data to send to the agent runtime. The format of this data + depends on the specific agent configuration and must match the specified + content type. For most agents, this is a JSON object containing the + user's request. + """ + +@dataclass(kw_only=True) +class InvokeAgentRuntimeOutput(_SerdeShape): + """Dataclass for InvokeAgentRuntimeOutput structure.""" + + runtime_session_id: str | None = ... + """The identifier of the runtime session.""" + session_endpoint_url: str | None = ... + """ + The HTTPS endpoint that addresses this runtime session directly. This + value is returned only when the agent runtime is configured with allowed + ports and direct runtime access is available for the session. If this + value is not present, use `InvokeAgentRuntime` to communicate with the + session. + """ + mcp_session_id: str | None = ... + """The identifier of the MCP session.""" + mcp_protocol_version: str | None = ... + """The version of the MCP protocol being used.""" + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + trace_state: str | None = ... + """The trace state information for distributed tracing.""" + baggage: str | None = ... + """Additional context information for distributed tracing.""" + content_type: str + """ + The MIME type of the response data. This indicates how to interpret the + response data. Common values include application/json for JSON data. + """ + response: StreamingBlob = ... + """ + The response data from the agent runtime. The format of this data + depends on the specific agent configuration and the requested accept + type. For most agents, this is a JSON object containing the agent's + response to the user's request. + """ + status_code: int | None = ... + """ + The HTTP status code of the response. A status code of 200 indicates a + successful operation. Other status codes indicate various error + conditions. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvokeBrowserInput(_SerdeShape): + """Request for the InvokeBrowser operation.""" + + browser_identifier: str | None = ... + """ + The unique identifier of the browser associated with the session. This + must match the identifier used when creating the session with + `StartBrowserSession`. + """ + session_id: str | None = ... + """ + The unique identifier of the browser session on which to perform the + action. This must be an active session created with + `StartBrowserSession`. + """ + action: BrowserAction | None = ... + """ + The browser action to perform. Exactly one member of the `BrowserAction` + union must be set per request. + """ + +@dataclass(kw_only=True) +class InvokeBrowserOutput(_SerdeShape): + """Response for the InvokeBrowser operation.""" + + result: BrowserActionResult + """ + The result of the browser action. The member set in the result + corresponds to the action that was performed. + """ + session_id: str + """ + The unique identifier of the browser session on which the action was + performed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvokeCodeInterpreterInput(_SerdeShape): + """Dataclass for InvokeCodeInterpreterInput structure.""" + + code_interpreter_identifier: str | None = ... + """ + The unique identifier of the code interpreter associated with the + session. This must match the identifier used when creating the session + with `StartCodeInterpreterSession`. + """ + session_id: str | None = ... + """ + The unique identifier of the code interpreter session to use. This must + be an active session created with `StartCodeInterpreterSession`. If the + session has expired or been stopped, the request will fail. + """ + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + name: str | None = ... + """The name of the code interpreter to invoke.""" + arguments: ToolArguments | None = ... + """ + The arguments for the code interpreter. This includes the code to + execute and any additional parameters such as the programming language, + whether to clear the execution context, and other execution options. The + structure of this parameter depends on the specific code interpreter + being used. + """ + +@dataclass(kw_only=True) +class InvokeCodeInterpreterOutput(_SerdeShape): + """Dataclass for InvokeCodeInterpreterOutput structure.""" + + session_id: str | None = ... + """The identifier of the code interpreter session.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvokeHarnessInput(_SerdeShape): + """Dataclass for InvokeHarnessInput structure.""" + + harness_arn: str | None = ... + """The ARN of the harness to invoke.""" + qualifier: str | None = ... + """The endpoint name to invoke. If omitted, the DEFAULT endpoint is used.""" + runtime_session_id: str | None = ... + """ + The session ID for the invocation. Use the same session ID across + requests to continue a conversation. + """ + runtime_user_id: str | None = ... + """ + An identifier for the end user making the request. This value is passed + through to the runtime container. + """ + trace_parent: str | None = ... + """ + W3C trace context parent header containing version, trace ID, parent + span ID, and trace flags. + """ + trace_state: str | None = ... + """W3C trace context state header for vendor-specific trace information.""" + trace_id: str | None = ... + """Trace ID for maintaining observability through the operation.""" + baggage: str | None = ... + """ + W3C Baggage header for user-defined context propagation. Format: + key1=value1,key2=value2 + """ + messages: list[HarnessMessage] | None = ... + """The messages to send to the agent.""" + model: HarnessModelConfiguration | None = ... + """ + The model configuration to use for this invocation. If specified, + overrides the harness default. + """ + system_prompt: list[HarnessSystemContentBlock] | None = ... + """ + The system prompt to use for this invocation. If specified, overrides + the harness default. + """ + tools: list[HarnessTool] | None = ... + """ + The tools available to the agent for this invocation. If specified, + overrides the harness default. + """ + skills: list[HarnessSkill] | None = ... + """ + The skills available to the agent for this invocation. If specified, + overrides the harness default. + """ + allowed_tools: list[str] | None = ... + """ + The tools that the agent is allowed to use for this invocation. If + specified, overrides the harness default. + """ + max_iterations: int | None = ... + """ + The maximum number of iterations the agent loop can execute. If + specified, overrides the harness default. + """ + max_tokens: int | None = ... + """ + The maximum number of tokens the agent can generate per iteration. If + specified, overrides the harness default. + """ + timeout_seconds: int | None = ... + """ + The maximum duration in seconds for the agent loop execution. If + specified, overrides the harness default. + """ + actor_id: str | None = ... + """ + The actor ID for memory operations. Overrides the actor ID configured on + the harness. + """ + +@dataclass(kw_only=True) +class InvokeHarnessOutput(_SerdeShape): + """Dataclass for InvokeHarnessOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class InvokeHarnessStreamOutputMessageStart(_SerdeShape): + """Indicates the start of a new message from the agent.""" + + value: HarnessMessageStartEvent + +@dataclass +class InvokeHarnessStreamOutputContentBlockStart(_SerdeShape): + """Indicates the start of a new content block.""" + + value: HarnessContentBlockStartEvent + +@dataclass +class InvokeHarnessStreamOutputContentBlockDelta(_SerdeShape): + """A delta update to the current content block.""" + + value: HarnessContentBlockDeltaEvent + +@dataclass +class InvokeHarnessStreamOutputContentBlockStop(_SerdeShape): + """Indicates the end of the current content block.""" + + value: HarnessContentBlockStopEvent + +@dataclass +class InvokeHarnessStreamOutputMessageStop(_SerdeShape): + """Indicates the end of the current message.""" + + value: HarnessMessageStopEvent + +@dataclass +class InvokeHarnessStreamOutputMetadata(_SerdeShape): + """Token usage and latency metrics for the invocation.""" + + value: HarnessMetadataEvent + +@dataclass +class InvokeHarnessStreamOutputInternalServerException(_SerdeShape): + """ + The exception that occurs when the service encounters an unexpected + internal error. This is a temporary condition that will resolve itself + with retries. We recommend implementing exponential backoff retry logic + in your application. + """ + + value: InternalServerException + +@dataclass +class InvokeHarnessStreamOutputValidationException(_SerdeShape): + """ + The exception that occurs when the input fails to satisfy the + constraints specified by the service. Check the error message for + details about which input parameter is invalid and correct your request. + """ + + value: ValidationException + +@dataclass +class InvokeHarnessStreamOutputRuntimeClientError(_SerdeShape): + """An error returned by the runtime container during agent execution.""" + + value: RuntimeClientError + +@dataclass +class InvokeHarnessStreamOutputHookEvent(_SerdeShape): + """A lifecycle hook event emitted when a configured hook runs.""" + + value: HarnessHookEvent + +@dataclass +class InvokeHarnessStreamOutputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InvokeHarnessStreamOutput = Union[ + InvokeHarnessStreamOutputMessageStart + | InvokeHarnessStreamOutputContentBlockStart + | InvokeHarnessStreamOutputContentBlockDelta + | InvokeHarnessStreamOutputContentBlockStop + | InvokeHarnessStreamOutputMessageStop + | InvokeHarnessStreamOutputMetadata + | InvokeHarnessStreamOutputInternalServerException + | InvokeHarnessStreamOutputValidationException + | InvokeHarnessStreamOutputRuntimeClientError + | InvokeHarnessStreamOutputHookEvent + | InvokeHarnessStreamOutputUnknown +] +"""The streaming events returned by a harness invocation.""" + +class _InvokeHarnessStreamOutputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> InvokeHarnessStreamOutput: ... + +@dataclass(kw_only=True) +class InvokeWebSearchInput(_SerdeShape): + """Request for the `InvokeWebSearch` operation.""" + + web_search_id: str | None = ... + """ + The identifier of the web search tool to invoke. The Amazon Web + Services-managed web search tool is `web-search.v1`. + """ + search_query: str | None = ... + """The text to search for.""" + max_results: int | None = ... + """The maximum number of results to return. Defaults to 25.""" + filters: WebSearchFilters | None = ... + """The filters to apply to the search results.""" + +@dataclass(kw_only=True) +class InvokeWebSearchOutput(_SerdeShape): + """Response for the `InvokeWebSearch` operation.""" + + results: list[WebSearchResult] + """The search results, in ranked order.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KeyPressArguments(_SerdeShape): + """Arguments for a key press action.""" + + key: str + """The key name to press (for example, `enter`, `tab`, `escape`).""" + presses: int | None = ... + """ + The number of times to press the key. Valid range: 1--100. Defaults to + 1. + """ + +@dataclass(kw_only=True) +class KeyPressResult(_SerdeShape): + """The result of a key press action.""" + + status: str + """The status of the action execution.""" + error: str | None = ... + """The error message. Present only when the action failed.""" + +@dataclass(kw_only=True) +class KeyShortcutArguments(_SerdeShape): + """Arguments for a key shortcut action.""" + + keys: list[str] + """ + The key combination to press (for example, `["ctrl", "s"]`). Maximum 5 + keys. + """ + +@dataclass(kw_only=True) +class KeyShortcutResult(_SerdeShape): + """The result of a key shortcut action.""" + + status: str + """The status of the action execution.""" + error: str | None = ... + """The error message. Present only when the action failed.""" + +@dataclass(kw_only=True) +class KeyTypeArguments(_SerdeShape): + """Arguments for a key type action.""" + + text: str + """The text string to type. Maximum length: 10,000 characters.""" + +@dataclass(kw_only=True) +class KeyTypeResult(_SerdeShape): + """The result of a key type action.""" + + status: str + """The status of the action execution.""" + error: str | None = ... + """The error message. Present only when the action failed.""" + +class LanguageRuntime(UnknownEnumMixin, StrEnum): + NODEJS = "nodejs" + DENO = "deno" + PYTHON = "python" + +@dataclass +class LeftExpressionMetadataKey(_SerdeShape): + """Key associated with the metadata in an event.""" + + value: str + +@dataclass +class LeftExpressionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +LeftExpression = Union[LeftExpressionMetadataKey | LeftExpressionUnknown] +"""Left expression of the event metadata filter.""" + +class _LeftExpressionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> LeftExpression: ... + +@dataclass +class LinkedAccount_Email(_SerdeShape): + """Email-based linked account.""" + + value: LinkedAccountEmail + +@dataclass +class LinkedAccount_Sms(_SerdeShape): + """SMS-based linked account using phone number.""" + + value: LinkedAccountSms + +@dataclass +class LinkedAccount_DeveloperJwt(_SerdeShape): + """Developer JWT linked account with key ID and subject.""" + + value: LinkedAccountDeveloperJwt + +@dataclass +class LinkedAccount_OAuth2(_SerdeShape): + """OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).""" + + value: LinkedAccountOAuth2 + +@dataclass +class LinkedAccountUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +LinkedAccount = Union[ + LinkedAccount_Email + | LinkedAccount_Sms + | LinkedAccount_DeveloperJwt + | LinkedAccount_OAuth2 + | LinkedAccountUnknown +] +""" +Represents different linked accounts that can be linked to an embedded +wallet. Supports email, SMS, JWT, and OAuth2 approaches. +""" + +class _LinkedAccountDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> LinkedAccount: ... + +@dataclass(kw_only=True) +class LinkedAccountDeveloperJwt(_SerdeShape): + """Authentication method using JWT with key ID and subject claims.""" + + kid: str + """ + The key ID (kid) from the JWT header. Identifies which key was used to + sign the JWT. + """ + sub: str + """ + The subject (sub) claim from the JWT payload. Identifies the principal + that is the subject of the JWT. + """ + +@dataclass(kw_only=True) +class LinkedAccountEmail(_SerdeShape): + """Linked account using an email address.""" + + email_address: str + """ + The email address used for the linked account. Must be a valid email + format. + """ + +@dataclass +class LinkedAccountOAuth2Google(_SerdeShape): + """Google OAuth2 authentication.""" + + value: OAuth2Authentication + +@dataclass +class LinkedAccountOAuth2Apple(_SerdeShape): + """Apple OAuth2 authentication.""" + + value: OAuth2Authentication + +@dataclass +class LinkedAccountOAuth2X(_SerdeShape): + """X (formerly Twitter) OAuth2 authentication.""" + + value: OAuth2Authentication + +@dataclass +class LinkedAccountOAuth2Telegram(_SerdeShape): + """Telegram OAuth2 authentication.""" + + value: OAuth2Authentication + +@dataclass +class LinkedAccountOAuth2Github(_SerdeShape): + """GitHub OAuth2 authentication.""" + + value: OAuth2Authentication + +@dataclass +class LinkedAccountOAuth2Unknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +LinkedAccountOAuth2 = Union[ + LinkedAccountOAuth2Google + | LinkedAccountOAuth2Apple + | LinkedAccountOAuth2X + | LinkedAccountOAuth2Telegram + | LinkedAccountOAuth2Github + | LinkedAccountOAuth2Unknown +] +""" +Authentication method using OAuth2 providers. Supports Google, Apple, X, +Telegram, and GitHub providers. +""" + +class _LinkedAccountOAuth2Deserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> LinkedAccountOAuth2: ... + +@dataclass(kw_only=True) +class LinkedAccountSms(_SerdeShape): + """Linked account using a phone number in E.164 format.""" + + phone_number: str + """The phone number in E.164 format (e.g., +1234567890).""" + +@dataclass(kw_only=True) +class ListABTestsInput(_SerdeShape): + """Dataclass for ListABTestsInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListABTestsOutput(_SerdeShape): + """Dataclass for ListABTestsOutput structure.""" + + ab_tests: list[ABTestSummary] + """The list of A/B test summaries.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListActorsInput(_SerdeShape): + """Dataclass for ListActorsInput structure.""" + + memory_id: str | None = ... + """ + The identifier of the AgentCore Memory resource for which to list + actors. + """ + max_results: int = ... + """ + The maximum number of results to return in a single call. The default + value is 20. + """ + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. + """ + +@dataclass(kw_only=True) +class ListActorsOutput(_SerdeShape): + """Dataclass for ListActorsOutput structure.""" + + actor_summaries: list[ActorSummary] + """The list of actor summaries.""" + next_token: str | None = ... + """ + The token to use in a subsequent request to get the next set of results. + This value is null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBatchEvaluationsInput(_SerdeShape): + """Dataclass for ListBatchEvaluationsInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + +@dataclass(kw_only=True) +class ListBatchEvaluationsOutput(_SerdeShape): + """Dataclass for ListBatchEvaluationsOutput structure.""" + + batch_evaluations: list[BatchEvaluationSummary] + """The list of batch evaluation summaries.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBrowserSessionsInput(_SerdeShape): + """Dataclass for ListBrowserSessionsInput structure.""" + + browser_identifier: str | None = ... + """ + The unique identifier of the browser to list sessions for. If specified, + only sessions for this browser are returned. If not specified, sessions + for all browsers are returned. + """ + max_results: int | None = ... + """ + The maximum number of results to return in a single call. The default + value is 10. Valid values range from 1 to 100. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. If not specified, Amazon Bedrock AgentCore returns the first + page of results. + """ + status: str | None = ... + """ + The status of the browser sessions to list. Valid values include ACTIVE, + STOPPING, and STOPPED. If not specified, sessions with any status are + returned. + """ + +@dataclass(kw_only=True) +class ListBrowserSessionsOutput(_SerdeShape): + """Dataclass for ListBrowserSessionsOutput structure.""" + + items: list[BrowserSessionSummary] + """The list of browser sessions that match the specified criteria.""" + next_token: str | None = ... + """ + The token to use in a subsequent `ListBrowserSessions` request to get + the next set of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCodeInterpreterSessionsInput(_SerdeShape): + """Dataclass for ListCodeInterpreterSessionsInput structure.""" + + code_interpreter_identifier: str | None = ... + """ + The unique identifier of the code interpreter to list sessions for. If + specified, only sessions for this code interpreter are returned. If not + specified, sessions for all code interpreters are returned. + """ + max_results: int | None = ... + """ + The maximum number of results to return in a single call. The default + value is 10. Valid values range from 1 to 100. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. If not specified, Amazon Bedrock AgentCore returns the first + page of results. + """ + status: str | None = ... + """ + The status of the code interpreter sessions to list. Valid values + include ACTIVE, STOPPING, and STOPPED. If not specified, sessions with + any status are returned. + """ + +@dataclass(kw_only=True) +class ListCodeInterpreterSessionsOutput(_SerdeShape): + """Dataclass for ListCodeInterpreterSessionsOutput structure.""" + + items: list[CodeInterpreterSessionSummary] + """The list of code interpreter sessions that match the specified criteria.""" + next_token: str | None = ... + """ + The token to use in a subsequent `ListCodeInterpreterSessions` request + to get the next set of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListEventsInput(_SerdeShape): + """Dataclass for ListEventsInput structure.""" + + memory_id: str | None = ... + """ + The identifier of the AgentCore Memory resource for which to list + events. + """ + session_id: str | None = ... + """The identifier of the session for which to list events.""" + actor_id: str | None = ... + """The identifier of the actor for which to list events.""" + include_payloads: bool = ... + """ + Specifies whether to include event payloads in the response. Set to true + to include payloads, or false to exclude them. + """ + filter: FilterInput | None = ... + """Filter criteria to apply when listing events.""" + max_results: int = ... + """ + The maximum number of results to return in a single call. The default + value is 20. + """ + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. + """ + +@dataclass(kw_only=True) +class ListEventsOutput(_SerdeShape): + """Dataclass for ListEventsOutput structure.""" + + events: list[Event] + """The list of events that match the specified criteria.""" + next_token: str | None = ... + """ + The token to use in a subsequent request to get the next set of results. + This value is null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListMemoryExtractionJobsInput(_SerdeShape): + """Dataclass for ListMemoryExtractionJobsInput structure.""" + + memory_id: str | None = ... + """The unique identifier of the memory to list extraction jobs for.""" + max_results: int = ... + """ + The maximum number of results to return in a single call. The default + value is 20. + """ + filter: ExtractionJobFilterInput | None = ... + """Filter criteria to apply when listing extraction jobs.""" + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. + """ + +@dataclass(kw_only=True) +class ListMemoryExtractionJobsOutput(_SerdeShape): + """Dataclass for ListMemoryExtractionJobsOutput structure.""" + + jobs: list[ExtractionJobMetadata] + """List of extraction job metadata matching the specified criteria.""" + next_token: str | None = ... + """Token to retrieve the next page of results, if available.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListMemoryRecordsInput(_SerdeShape): + """Dataclass for ListMemoryRecordsInput structure.""" + + memory_id: str | None = ... + """ + The identifier of the AgentCore Memory resource for which to list memory + records. + """ + namespace: str | None = ... + """ + The exact namespace to filter memory records by. Returns all memory + records that matches the provided namespace. Either `namespace` or + `namespacePath` is required. + """ + namespace_path: str | None = ... + """ + Use namespacePath for hierarchical retrievals. Return all memory records + where namespace falls under the same parent hierarchy. Either + `namespace` or `namespacePath` is required. + """ + memory_strategy_id: str | None = ... + """ + The memory strategy identifier to filter memory records by. If + specified, only memory records with this strategy ID are returned. + """ + max_results: int = ... + """ + The maximum number of results to return in a single call. The default + value is 20. + """ + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. + """ + metadata_filters: list[MemoryMetadataFilterExpression] | None = ... + """ + A list of metadata filter expressions to scope the returned memory + records. + """ + +@dataclass(kw_only=True) +class ListMemoryRecordsOutput(_SerdeShape): + """Dataclass for ListMemoryRecordsOutput structure.""" + + memory_record_summaries: list[MemoryRecordSummary] + """The list of memory record summaries that match the specified criteria.""" + next_token: str | None = ... + """ + The token to use in a subsequent request to get the next set of results. + This value is null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPaymentInstrumentsInput(_SerdeShape): + """Request structure for listing payment instruments.""" + + user_id: str | None = ... + """The user ID associated with the payment instruments.""" + agent_name: str | None = ... + """The agent name associated with this request, used for observability.""" + payment_manager_arn: str | None = ... + """The ARN of the payment manager that owns the payment instruments.""" + payment_connector_id: str | None = ... + """The ID of the payment connector to filter by.""" + next_token: str | None = ... + """Token for pagination to retrieve the next set of results.""" + max_results: int | None = ... + """Maximum number of results to return in a single response.""" + +@dataclass(kw_only=True) +class ListPaymentInstrumentsOutput(_SerdeShape): + """Response structure for listing payment instruments.""" + + payment_instruments: list[PaymentInstrumentSummary] + """List of payment instrument summaries matching the request criteria.""" + next_token: str | None = ... + """Token for pagination to retrieve the next set of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPaymentSessionsInput(_SerdeShape): + """Request structure for listing payment sessions.""" + + user_id: str | None = ... + """The user ID associated with the payment sessions.""" + agent_name: str | None = ... + """The agent name associated with this request, used for observability.""" + payment_manager_arn: str | None = ... + """The ARN of the payment manager that owns the sessions.""" + next_token: str | None = ... + """Token for pagination to retrieve the next set of results.""" + max_results: int | None = ... + """Maximum number of results to return in a single response.""" + +@dataclass(kw_only=True) +class ListPaymentSessionsOutput(_SerdeShape): + """Response structure for listing payment sessions.""" + + payment_sessions: list[PaymentSessionSummary] + """List of payment session summaries matching the request criteria.""" + next_token: str | None = ... + """Token for pagination to retrieve the next set of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRecommendationsInput(_SerdeShape): + """Dataclass for ListRecommendationsInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + status_filter: str | None = ... + """ + Optional filter to return only recommendations with the specified + status. + """ + +@dataclass(kw_only=True) +class ListRecommendationsOutput(_SerdeShape): + """Dataclass for ListRecommendationsOutput structure.""" + + recommendation_summaries: list[RecommendationSummary] + """The list of recommendation summaries.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListSessionsInput(_SerdeShape): + """Dataclass for ListSessionsInput structure.""" + + memory_id: str | None = ... + """ + The identifier of the AgentCore Memory resource for which to list + sessions. + """ + actor_id: str | None = ... + """The identifier of the actor for which to list sessions.""" + max_results: int = ... + """ + The maximum number of results to return in a single call. The default + value is 20. + """ + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. + """ + filter: SessionFilter | None = ... + """Filter criteria to apply when listing sessions.""" + +@dataclass(kw_only=True) +class ListSessionsOutput(_SerdeShape): + """Dataclass for ListSessionsOutput structure.""" + + session_summaries: list[SessionSummary] + """The list of session summaries that match the specified criteria.""" + next_token: str | None = ... + """ + The token to use in a subsequent request to get the next set of results. + This value is null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LiveViewStream(_SerdeShape): + """ + The configuration for a stream that provides a visual representation of + a browser session in Amazon Bedrock AgentCore. This stream enables + agents to observe the current state of the browser, including rendered + web pages, visual elements, and the results of interactions. + """ + + stream_endpoint: str | None = ... + """ + The endpoint URL for the live view stream. This URL is used to establish + a connection to receive visual updates from the browser session. + """ + +@dataclass(kw_only=True) +class McpDescriptor(_SerdeShape): + """ + The MCP (Model Context Protocol) descriptor configuration for a registry + record. Contains the server definition and tools definition. + """ + + server: ServerDefinition + """The MCP server definition that describes the server configuration.""" + tools: ToolsDefinition + """The MCP tools definition that describes the available tools.""" + +@dataclass +class MemoryContentText(_SerdeShape): + """The text content of the memory record.""" + + value: str + +@dataclass +class MemoryContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +MemoryContent = Union[MemoryContentText | MemoryContentUnknown] +"""Contains the content of a memory record.""" + +class _MemoryContentDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> MemoryContent: ... + +@dataclass(kw_only=True) +class MemoryJsonData(_SerdeShape): + """ + Contains non-conversational, JSON-formatted content for an event + payload. JSON payloads are extracted into long-term memory. + """ + + content: Document + """ + The JSON content of the payload. Accepts any JSON value, including + objects, arrays, strings, numbers, booleans, and null. The maximum size + is 100 KB. + """ + +@dataclass(kw_only=True) +class MemoryMetadataFilterExpression(_SerdeShape): + """ + Filters to apply to metadata associated with a memory. Specify the + metadata key and value in the `left` and `right` fields and use the + `operator` field to define the relationship to match. + """ + + left: MemoryRecordLeftExpression + """The metadata key to evaluate.""" + operator: str + """ + The relationship between the metadata key and value to match when + applying the metadata filter. + """ + right: MemoryRecordRightExpression | None = ... + """ + The value to compare against. Required for all operators except EXISTS + and NOT_EXISTS. + """ + +@dataclass(kw_only=True) +class MemoryRecord(_SerdeShape): + """ + Contains information about a memory record in an AgentCore Memory + resource. + """ + + memory_record_id: str + """The unique identifier of the memory record.""" + content: MemoryContent + """The content of the memory record.""" + memory_strategy_id: str + """The identifier of the memory strategy associated with this record.""" + namespaces: list[str] + """ + The namespaces associated with this memory record. Namespaces help + organize and categorize memory records. + """ + created_at: datetime + """The timestamp when the memory record was created.""" + timestamp: datetime | None = ... + """ + The timestamp based on which the memory record was ingested. This + reflects the time of the source content that the record was derived + from, which can differ from `createdAt`, the time the record itself was + written. + """ + metadata: dict[str, MemoryRecordMetadataValue] | None = ... + """A map of metadata key-value pairs associated with a memory record.""" + expires_at: datetime | None = ... + """ + The timestamp at which the memory record expires and becomes eligible + for deletion. This value is set when a record expiry (long-term memory + time-to-live) applies to the record, either from the strategy the record + belongs to or from a record expiry provided on the batch request that + created or updated it. If the record has no expiry configured, this + value is not present and the record does not expire. + """ + +@dataclass(kw_only=True) +class MemoryRecordCreateInput(_SerdeShape): + """Input structure to create a new memory record.""" + + request_identifier: str + """ + A client-provided identifier for tracking this specific record creation + request. + """ + namespaces: list[str] + """ + A list of namespace identifiers that categorize or group the memory + record. + """ + content: MemoryContent + """The content to be stored within the memory record.""" + timestamp: datetime + """Time at which the memory record was created.""" + memory_strategy_id: str | None = ... + """ + The ID of the memory strategy that defines how this memory record is + grouped. + """ + metadata: dict[str, MemoryRecordMetadataValue] | None = ... + """Metadata key-value pairs to be stored with the memory record.""" + +@dataclass(kw_only=True) +class MemoryRecordDeleteInput(_SerdeShape): + """Input structure to delete an existing memory record.""" + + memory_record_id: str + """The unique ID of the memory record to be deleted.""" + namespace: str | None = ... + """ + The namespace of the memory record being deleted. This value is used for + IAM condition key authorization. + """ + +@dataclass +class MemoryRecordLeftExpressionMetadataKey(_SerdeShape): + """The metadata key to filter on.""" + + value: str + +@dataclass +class MemoryRecordLeftExpressionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +MemoryRecordLeftExpression = Union[ + MemoryRecordLeftExpressionMetadataKey | MemoryRecordLeftExpressionUnknown +] +"""The left-hand side of a memory record metadata filter expression.""" + +class _MemoryRecordLeftExpressionDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> MemoryRecordLeftExpression: ... + +@dataclass +class MemoryRecordMetadataValueStringValue(_SerdeShape): + """A string value.""" + + value: str + +@dataclass +class MemoryRecordMetadataValueStringListValue(_SerdeShape): + """A list of string values.""" + + value: list[str] + +@dataclass +class MemoryRecordMetadataValueNumberValue(_SerdeShape): + """A numeric value.""" + + value: float + +@dataclass +class MemoryRecordMetadataValueDateTimeValue(_SerdeShape): + """A timestamp value in ISO 8601 UTC format.""" + + value: datetime + +@dataclass +class MemoryRecordMetadataValueUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +MemoryRecordMetadataValue = Union[ + MemoryRecordMetadataValueStringValue + | MemoryRecordMetadataValueStringListValue + | MemoryRecordMetadataValueNumberValue + | MemoryRecordMetadataValueDateTimeValue + | MemoryRecordMetadataValueUnknown +] +"""The value of a memory record metadata entry.""" + +class _MemoryRecordMetadataValueDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> MemoryRecordMetadataValue: ... + +class MemoryRecordOperatorType(UnknownEnumMixin, StrEnum): + EQUALS_TO = "EQUALS_TO" + EXISTS = "EXISTS" + NOT_EXISTS = "NOT_EXISTS" + BEFORE = "BEFORE" + AFTER = "AFTER" + CONTAINS = "CONTAINS" + GREATER_THAN = "GREATER_THAN" + GREATER_THAN_OR_EQUALS = "GREATER_THAN_OR_EQUALS" + LESS_THAN = "LESS_THAN" + LESS_THAN_OR_EQUALS = "LESS_THAN_OR_EQUALS" + +@dataclass(kw_only=True) +class MemoryRecordOutput(_SerdeShape): + """Output information returned after processing a memory record operation.""" + + memory_record_id: str + """The unique ID associated to the memory record.""" + status: str + """The status of the memory record operation (e.g., SUCCEEDED, FAILED).""" + request_identifier: str | None = ... + """ + The client-provided identifier that was used to track this record + operation. + """ + error_code: int | None = ... + """The error code returned when the memory record operation fails.""" + error_message: str | None = ... + """ + A human-readable error message describing why the memory record + operation failed. + """ + +@dataclass +class MemoryRecordRightExpressionMetadataValue(_SerdeShape): + """The metadata value to compare against.""" + + value: MemoryRecordMetadataValue + +@dataclass +class MemoryRecordRightExpressionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +MemoryRecordRightExpression = Union[ + MemoryRecordRightExpressionMetadataValue | MemoryRecordRightExpressionUnknown +] +"""The right-hand side of a memory record metadata filter expression.""" + +class _MemoryRecordRightExpressionDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> MemoryRecordRightExpression: ... + +class MemoryRecordStatus(UnknownEnumMixin, StrEnum): + SUCCEEDED = "SUCCEEDED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class MemoryRecordSummary(_SerdeShape): + """Contains summary information about a memory record.""" + + memory_record_id: str + """The unique identifier of the memory record.""" + content: MemoryContent + """The content of the memory record.""" + memory_strategy_id: str + """The identifier of the memory strategy associated with this record.""" + namespaces: list[str] + """The namespaces associated with this memory record.""" + created_at: datetime + """The timestamp when the memory record was created.""" + score: float | None = ... + """ + The relevance score of the memory record when returned as part of a + search result. Higher values indicate greater relevance to the search + query. + """ + timestamp: datetime | None = ... + """ + The timestamp based on which the memory record was ingested. This + reflects the time of the source content that the record was derived + from, which can differ from `createdAt`, the time the record itself was + written. + """ + metadata: dict[str, MemoryRecordMetadataValue] | None = ... + """A map of metadata key-value pairs associated with a memory record.""" + +@dataclass(kw_only=True) +class MemoryRecordUpdateInput(_SerdeShape): + """Input structure to update an existing memory record.""" + + memory_record_id: str + """The unique ID of the memory record to be updated.""" + timestamp: datetime + """Time at which the memory record was updated""" + content: MemoryContent | None = ... + """The content to be stored within the memory record.""" + namespaces: list[str] | None = ... + """ + The updated list of namespace identifiers for categorizing the memory + record. + """ + source_namespaces: list[str] | None = ... + """ + The namespaces of the source memory record being updated. This value is + used for IAM condition key authorization. + """ + memory_strategy_id: str | None = ... + """ + The updated ID of the memory strategy that defines how this memory + record is grouped. + """ + metadata: dict[str, MemoryRecordMetadataValue] | None = ... + """Metadata key-value pairs to be stored with the memory record.""" + +@dataclass(kw_only=True) +class MessageMetadata(_SerdeShape): + """Metadata information associated with this message.""" + + event_id: str + """The identifier of the event associated with this message.""" + message_index: int + """ + The position of this message within that event's ordered list of + messages. + """ + +@dataclass +class MetadataValueStringValue(_SerdeShape): + """Value associated with the `eventMetadata` key.""" + + value: str + +@dataclass +class MetadataValueUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +MetadataValue = Union[MetadataValueStringValue | MetadataValueUnknown] +"""Value associated with the `eventMetadata` key.""" + +class _MetadataValueDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> MetadataValue: ... + +class MouseButton(UnknownEnumMixin, StrEnum): + """The mouse button to use for a browser mouse action.""" + + LEFT = "LEFT" + RIGHT = "RIGHT" + MIDDLE = "MIDDLE" + +@dataclass(kw_only=True) +class MouseClickArguments(_SerdeShape): + """Arguments for a mouse click action.""" + + x: int + """The X coordinate on screen where the click occurs.""" + y: int + """The Y coordinate on screen where the click occurs.""" + button: str | None = ... + """The mouse button to use. Defaults to `LEFT`.""" + click_count: int | None = ... + """The number of clicks to perform. Valid range: 1--10. Defaults to 1.""" + +@dataclass(kw_only=True) +class MouseClickResult(_SerdeShape): + """The result of a mouse click action.""" + + status: str + """The status of the action execution.""" + error: str | None = ... + """The error message. Present only when the action failed.""" + +@dataclass(kw_only=True) +class MouseDragArguments(_SerdeShape): + """Arguments for a mouse drag action.""" + + end_x: int + """The ending X coordinate for the drag.""" + end_y: int + """The ending Y coordinate for the drag.""" + start_x: int + """The starting X coordinate for the drag.""" + start_y: int + """The starting Y coordinate for the drag.""" + button: str | None = ... + """The mouse button to use for the drag. Defaults to `LEFT`.""" + +@dataclass(kw_only=True) +class MouseDragResult(_SerdeShape): + """The result of a mouse drag action.""" + + status: str + """The status of the action execution.""" + error: str | None = ... + """The error message. Present only when the action failed.""" + +@dataclass(kw_only=True) +class MouseMoveArguments(_SerdeShape): + """Arguments for a mouse move action.""" + + x: int + """The target X coordinate on screen.""" + y: int + """The target Y coordinate on screen.""" + +@dataclass(kw_only=True) +class MouseMoveResult(_SerdeShape): + """The result of a mouse move action.""" + + status: str + """The status of the action execution.""" + error: str | None = ... + """The error message. Present only when the action failed.""" + +@dataclass(kw_only=True) +class MouseScrollArguments(_SerdeShape): + """Arguments for a mouse scroll action.""" + + x: int + """The X coordinate on screen where the scroll occurs.""" + y: int + """The Y coordinate on screen where the scroll occurs.""" + delta_x: int | None = ... + """The horizontal scroll delta. Valid range: -1000 to 1000.""" + delta_y: int | None = ... + """ + The vertical scroll delta. Valid range: -1000 to 1000. Negative values + scroll down. + """ + +@dataclass(kw_only=True) +class MouseScrollResult(_SerdeShape): + """The result of a mouse scroll action.""" + + status: str + """The status of the action execution.""" + error: str | None = ... + """The error message. Present only when the action failed.""" + +@dataclass(kw_only=True) +class MppPaymentInput(_SerdeShape): + """ + Contains the payment challenge from a 402 Payment Required response. + Forward the raw `WWW-Authenticate: Payment` header value verbatim. In + response, you receive a payment credential that satisfies the challenge. + Provide exactly one challenge per request. + """ + + version: str + """The MPP protocol version, for example \"1\" or \"2\".""" + www_authenticate_headers: list[str] + """ + The raw `WWW-Authenticate: Payment` header value from the 402 response, + passed verbatim. Provide exactly one entry. The service uses this value + to generate the payment credential. + """ + buyer_pays_gas_fees: bool | None = ... + """ + Authorizes the service to sign a payment whose blockchain network (gas) + fees are charged to your wallet, on top of the payment amount. + + The challenge indicates who sponsors the network fees. When the + challenge does not sponsor them, the service signs the payment only if + this field is `true`. Otherwise it returns a validation error, so you + can decide whether to pay the fees or obtain a challenge that sponsors + them. + + Optional. When omitted or `false`, you decline to pay network fees. This + field has no effect on challenges that already sponsor the fees. + """ + +@dataclass(kw_only=True) +class MppPaymentOutput(_SerdeShape): + """Contains the payment credential, ready to retry the request.""" + + version: str + """The MPP protocol version, for example \"1\" or \"2\".""" + selected_payment_id: str + """ + The id of the challenge that was paid, echoed from the input challenge + so you can correlate the result without decoding the credential. + """ + payment_credential: str + """ + Ready-to-send value for the `Authorization` header, in the form + \"Payment \". Attach this header and retry the + original request. To inspect the full credential, base64url-decode the + token. + """ + +@dataclass(kw_only=True) +class OAuth2Authentication(_SerdeShape): + """OAuth2 authentication information for third-party providers.""" + + sub: str + """ + The subject (sub) claim from the OAuth2 provider. Uniquely identifies + the user at the provider. + """ + email_address: str | None = ... + """The email address from the OAuth2 provider.""" + name: str | None = ... + """The user's name from the OAuth2 provider.""" + username: str | None = ... + """The username from the OAuth2 provider.""" + +class Oauth2FlowType(UnknownEnumMixin, StrEnum): + USER_FEDERATION = "USER_FEDERATION" + M2_M = "M2M" + ON_BEHALF_OF_TOKEN_EXCHANGE = "ON_BEHALF_OF_TOKEN_EXCHANGE" + +@dataclass(kw_only=True) +class OAuthCredentialProvider(_SerdeShape): + """ + Configuration for an OAuth 2.0 credential provider used to authenticate + tool calls. + """ + + provider_arn: str + """The ARN of the OAuth 2.0 credential provider in AgentCore Identity.""" + scopes: list[str] + """The OAuth 2.0 scopes to request when obtaining an access token.""" + custom_parameters: dict[str, str] | None = ... + """Additional custom parameters to include in the OAuth 2.0 token request.""" + grant_type: str = ... + """The OAuth 2.0 grant type to use for authentication.""" + default_return_url: str | None = ... + """The default return URL for the OAuth 2.0 authorization flow.""" + +class OAuthGrantType(UnknownEnumMixin, StrEnum): + CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS" + AUTHORIZATION_CODE = "AUTHORIZATION_CODE" + TOKEN_EXCHANGE = "TOKEN_EXCHANGE" + +@dataclass(kw_only=True) +class OnlineEvaluationConfigSource(_SerdeShape): + """ + A reference to an existing online evaluation configuration to use as the + data source for batch evaluation. + """ + + online_evaluation_config_arn: str + """ + The Amazon Resource Name (ARN) of the online evaluation configuration to + use as the session source. + """ + time_range: SessionFilterConfig | None = ... + """ + Optional session filter configuration to narrow down which sessions from + the online evaluation configuration to include. + """ + +@dataclass(kw_only=True) +class OnlineEvaluationTraceConfig(_SerdeShape): + """ + Contains the configuration for reusing agent traces from an online + evaluation configuration for recommendation analysis. Because online + evaluation is a continuous stream, a time range specifies which + evaluated sessions the recommendation includes. + """ + + online_evaluation_config_arn: str + """The ARN of the online evaluation configuration to reuse sessions from.""" + start_time: datetime + """ + The start time of the time range. Only sessions evaluated at or after + this timestamp are included. + """ + end_time: datetime + """ + The end time of the time range. Only sessions evaluated before this + timestamp are included. + """ + +class OperatorType(UnknownEnumMixin, StrEnum): + EQUALS_TO = "EQUALS_TO" + EXISTS = "EXISTS" + NOT_EXISTS = "NOT_EXISTS" + +@dataclass +class OutputConfigCloudWatchConfig(_SerdeShape): + """The CloudWatch Logs configuration for writing evaluation results.""" + + value: CloudWatchOutputConfig + +@dataclass +class OutputConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +OutputConfig = Union[OutputConfigCloudWatchConfig | OutputConfigUnknown] +"""Output destination configuration.""" + +class _OutputConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> OutputConfig: ... + +@dataclass +class PayloadTypeConversational(_SerdeShape): + """The conversational content of the payload.""" + + value: Conversational + +@dataclass +class PayloadTypeBlob(_SerdeShape): + """The binary content of the payload.""" + + value: Document + +@dataclass +class PayloadTypeJson(_SerdeShape): + """ + The JSON content of the payload. Use this type to store + non-conversational, JSON-formatted data, such as behavioral events, + activity logs, or system events. + """ + + value: MemoryJsonData + +@dataclass +class PayloadTypeUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PayloadType = Union[ + PayloadTypeConversational | PayloadTypeBlob | PayloadTypeJson | PayloadTypeUnknown +] +"""Contains the payload content for an event.""" + +class _PayloadTypeDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PayloadType: ... + +class PaymentHttpMethodType(UnknownEnumMixin, StrEnum): + GET = "GET" + POST = "POST" + PUT = "PUT" + DELETE = "DELETE" + PATCH = "PATCH" + +@dataclass +class PaymentInputCryptoX402(_SerdeShape): + """Input for a crypto X402 payment.""" + + value: CryptoX402PaymentInput + +@dataclass +class PaymentInputMpp(_SerdeShape): + """ + Contains the payment challenge from a 402 Payment Required response. + Forward the raw `WWW-Authenticate: Payment` header value verbatim. In + response, you receive a payment credential that satisfies the challenge. + Provide exactly one challenge per request. + """ + + value: MppPaymentInput + +@dataclass +class PaymentInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PaymentInput = Union[PaymentInputCryptoX402 | PaymentInputMpp | PaymentInputUnknown] +"""The payment input details, which vary by payment type.""" + +class _PaymentInputDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PaymentInput: ... + +@dataclass(kw_only=True) +class PaymentInstrument(_SerdeShape): + """Represents a payment instrument.""" + + payment_instrument_id: str + """The unique identifier for this payment instrument.""" + payment_manager_arn: str + """The ARN of the payment manager that owns this payment instrument.""" + payment_connector_id: str + """The ID of the payment connector associated with this instrument.""" + user_id: str + """The user ID associated with this payment instrument.""" + payment_instrument_type: str + """The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).""" + payment_instrument_details: PaymentInstrumentDetails + """The details specific to the payment instrument type.""" + created_at: datetime + """The timestamp when this payment instrument was created.""" + status: str + """The current status of this payment instrument.""" + updated_at: datetime + """The timestamp when this payment instrument was last updated.""" + +@dataclass +class PaymentInstrumentDetailsEmbeddedCryptoWallet(_SerdeShape): + """Embedded crypto wallet managed directly by end user.""" + + value: EmbeddedCryptoWallet + +@dataclass +class PaymentInstrumentDetailsUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PaymentInstrumentDetails = Union[ + PaymentInstrumentDetailsEmbeddedCryptoWallet | PaymentInstrumentDetailsUnknown +] +"""Details specific to the instrument type.""" + +class _PaymentInstrumentDetailsDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> PaymentInstrumentDetails: ... + +class PaymentInstrumentStatus(UnknownEnumMixin, StrEnum): + """The status of a payment instrument.""" + + INITIATED = "INITIATED" + ACTIVE = "ACTIVE" + FAILED = "FAILED" + DELETED = "DELETED" + BLOCKED = "BLOCKED" + +@dataclass(kw_only=True) +class PaymentInstrumentSummary(_SerdeShape): + """Summary of a payment instrument for list operations.""" + + payment_instrument_id: str + """The unique identifier for this payment instrument.""" + payment_manager_arn: str + """The ARN of the payment manager that owns this payment instrument.""" + payment_connector_id: str + """The ID of the payment connector associated with this instrument.""" + user_id: str + """The user ID associated with this payment instrument.""" + payment_instrument_type: str + """The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).""" + status: str + """The current status of this payment instrument.""" + created_at: datetime + """The timestamp when this payment instrument was created.""" + updated_at: datetime + """The timestamp when this payment instrument was last updated.""" + +class PaymentInstrumentType(UnknownEnumMixin, StrEnum): + """The type of payment instrument.""" + + EMBEDDED_CRYPTO_WALLET = "EMBEDDED_CRYPTO_WALLET" + +@dataclass +class PaymentOutputCryptoX402(_SerdeShape): + """Output from a crypto X402 payment.""" + + value: CryptoX402PaymentOutput + +@dataclass +class PaymentOutputMpp(_SerdeShape): + """Contains the payment credential, ready to retry the request.""" + + value: MppPaymentOutput + +@dataclass +class PaymentOutputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PaymentOutput = Union[PaymentOutputCryptoX402 | PaymentOutputMpp | PaymentOutputUnknown] +"""The payment output details, which vary by payment type.""" + +class _PaymentOutputDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PaymentOutput: ... + +@dataclass(kw_only=True) +class PaymentSession(_SerdeShape): + """A payment session for managing payment transactions.""" + + payment_session_id: str + """The unique identifier of the payment session.""" + payment_manager_arn: str + """The ARN of the payment manager that owns this session.""" + limits: SessionLimits | None = ... + """The spending limits for the payment session.""" + user_id: str + """The user ID associated with this session.""" + expiry_time_in_minutes: int + """The session expiry time in minutes.""" + created_at: datetime + """The timestamp when the session was created.""" + available_limits: AvailableLimits | None = ... + """The current available spending limits.""" + updated_at: datetime + """The timestamp when the session was last updated.""" + +class PaymentSessionStatus(UnknownEnumMixin, StrEnum): + """The status of a payment session.""" + + ACTIVE = "ACTIVE" + EXPIRED = "EXPIRED" + DELETED = "DELETED" + +@dataclass(kw_only=True) +class PaymentSessionSummary(_SerdeShape): + """Summary information about a payment session.""" + + payment_session_id: str + """The unique identifier of the payment session.""" + payment_manager_arn: str + """The ARN of the payment manager that owns this session.""" + user_id: str + """The user ID associated with this session.""" + expiry_time_in_minutes: int + """The session expiry time in minutes.""" + created_at: datetime + """The timestamp when the session was created.""" + updated_at: datetime + """The timestamp when the session was last updated.""" + +class PaymentStatus(UnknownEnumMixin, StrEnum): + """Transaction status enum.""" + + PROOF_GENERATED = "PROOF_GENERATED" + +@dataclass +class PaymentTokenRequestInputCoinbaseCdpTokenRequest(_SerdeShape): + """The Coinbase CDP token request.""" + + value: CoinbaseCdpTokenRequestInput + +@dataclass +class PaymentTokenRequestInputStripePrivyTokenRequest(_SerdeShape): + """The Stripe Privy token request.""" + + value: StripePrivyTokenRequestInput + +@dataclass +class PaymentTokenRequestInputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PaymentTokenRequestInput = Union[ + PaymentTokenRequestInputCoinbaseCdpTokenRequest + | PaymentTokenRequestInputStripePrivyTokenRequest + | PaymentTokenRequestInputUnknown +] +"""Vendor-specific token request configuration.""" + +class _PaymentTokenRequestInputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> PaymentTokenRequestInput: ... + +@dataclass +class PaymentTokenResponseOutputCoinbaseCdpTokenResponse(_SerdeShape): + """The Coinbase CDP token response.""" + + value: CoinbaseCdpTokenResponseOutput + +@dataclass +class PaymentTokenResponseOutputStripePrivyTokenResponse(_SerdeShape): + """The Stripe Privy token response.""" + + value: StripePrivyTokenResponseOutput + +@dataclass +class PaymentTokenResponseOutputUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PaymentTokenResponseOutput = Union[ + PaymentTokenResponseOutputCoinbaseCdpTokenResponse + | PaymentTokenResponseOutputStripePrivyTokenResponse + | PaymentTokenResponseOutputUnknown +] +"""Vendor-specific token response configuration.""" + +class _PaymentTokenResponseOutputDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> PaymentTokenResponseOutput: ... + +class PaymentType(UnknownEnumMixin, StrEnum): + """Payment type enum.""" + + CRYPTO_X402 = "CRYPTO_X402" + MPP = "MPP" + +@dataclass(kw_only=True) +class PerVariantOnlineEvaluationConfig(_SerdeShape): + """ + An online evaluation configuration associated with a specific A/B test + variant. + """ + + name: str + """The name of the variant this evaluation configuration applies to.""" + online_evaluation_config_arn: str + """ + The Amazon Resource Name (ARN) of the online evaluation configuration + for this variant. + """ + +@dataclass(kw_only=True) +class ProcessPaymentInput(_SerdeShape): + """Request structure for processing a payment.""" + + user_id: str | None = ... + """The user ID associated with this payment.""" + agent_name: str | None = ... + """The agent name associated with this request, used for observability.""" + payment_manager_arn: str | None = ... + """The ARN of the payment manager.""" + payment_session_id: str | None = ... + """The ID of the payment session.""" + payment_instrument_id: str | None = ... + """The ID of the payment instrument to use.""" + payment_type: str | None = ... + """The type of payment to process.""" + payment_input: PaymentInput | None = ... + """The payment input details specific to the payment type.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class ProcessPaymentOutput(_SerdeShape): + """Response structure for processing a payment.""" + + process_payment_id: str + """The unique identifier of the processed payment.""" + payment_manager_arn: str + """The ARN of the payment manager.""" + payment_session_id: str + """The ID of the payment session used.""" + payment_instrument_id: str + """The ID of the payment instrument used.""" + payment_type: str + """The type of payment processed.""" + status: str + """The status of the payment.""" + payment_output: PaymentOutput + """The payment output details specific to the payment type.""" + created_at: datetime + """The timestamp when the payment was created.""" + updated_at: datetime + """The timestamp when the payment was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ProgrammingLanguage(UnknownEnumMixin, StrEnum): + PYTHON = "python" + JAVASCRIPT = "javascript" + TYPESCRIPT = "typescript" + +@dataclass +class ProxyExternalProxy(_SerdeShape): + """Configuration for an external customer-managed proxy server.""" + + value: ExternalProxy + +@dataclass +class ProxyUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Proxy = Union[ProxyExternalProxy | ProxyUnknown] +""" +Union type representing different proxy configurations. Currently +supports external customer-managed proxies. +""" + +class _ProxyDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Proxy: ... + +@dataclass(kw_only=True) +class ProxyBypass(_SerdeShape): + """ + Configuration for domains that should bypass all proxies and connect + directly to the internet. These bypass rules take precedence over all + proxy routing rules. + """ + + domain_patterns: list[str] | None = ... + """ + Array of domain patterns that should bypass the proxy. Supports + `.amazonaws.com` for subdomain matching or `amazonaws.com` for exact + domain matching. Requests to these domains connect directly without + using any proxy. Maximum 253 characters per pattern. + """ + +@dataclass(kw_only=True) +class ProxyConfiguration(_SerdeShape): + """ + Configuration for routing browser traffic through customer-managed proxy + servers. Supports 1-5 proxy servers for domain-based routing and proxy + bypass rules. + """ + + proxies: list[Proxy] + """ + An array of 1-5 proxy server configurations for domain-based routing. + Each proxy can specify which domains it handles via `domainPatterns`, + enabling flexible routing of different traffic through different proxies + based on destination domain. + """ + bypass: ProxyBypass | None = ... + """ + Optional configuration for domains that should bypass all proxies and + connect directly to their destination, like the internet. Takes + precedence over all proxy routing rules. + """ + +@dataclass +class ProxyCredentialsBasicAuth(_SerdeShape): + """ + HTTP Basic Authentication credentials (username and password) stored in + Amazon Web Services Secrets Manager. + """ + + value: BasicAuth + +@dataclass +class ProxyCredentialsUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ProxyCredentials = Union[ProxyCredentialsBasicAuth | ProxyCredentialsUnknown] +""" +Union type representing different proxy authentication methods. +Currently supports HTTP Basic Authentication (username and password). +""" + +class _ProxyCredentialsDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ProxyCredentials: ... + +@dataclass(kw_only=True) +class PublishedDateFilter(_SerdeShape): + """ + A publication time range for the results. Both bounds are optional, and + both are inclusive. If `publishedAfter` is later than `publishedBefore`, + the request fails with a `ValidationException`. + """ + + published_after: datetime | None = ... + """The earliest publication time of the results, inclusive.""" + published_before: datetime | None = ... + """ + The latest publication time of the results, inclusive. A date without a + time, such as one passed to the AWS CLI, means midnight UTC. To include + a whole day, use the last second of that day, for example + `2026-01-31T23:59:59Z`. + """ + +@dataclass +class RecommendationConfigSystemPromptRecommendationConfig(_SerdeShape): + """The configuration for a system prompt recommendation.""" + + value: SystemPromptRecommendationConfig + +@dataclass +class RecommendationConfigToolDescriptionRecommendationConfig(_SerdeShape): + """The configuration for a tool description recommendation.""" + + value: ToolDescriptionRecommendationConfig + +@dataclass +class RecommendationConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RecommendationConfig = Union[ + RecommendationConfigSystemPromptRecommendationConfig + | RecommendationConfigToolDescriptionRecommendationConfig + | RecommendationConfigUnknown +] +"""The configuration for a recommendation, varying by recommendation type.""" + +class _RecommendationConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RecommendationConfig: ... + +@dataclass(kw_only=True) +class RecommendationEvaluationConfig(_SerdeShape): + """The evaluation configuration for assessing recommendation quality.""" + + evaluators: list[RecommendationEvaluatorReference] + """The list of evaluators to use for assessing recommendation quality.""" + +@dataclass(kw_only=True) +class RecommendationEvaluatorReference(_SerdeShape): + """A reference to an evaluator used for recommendation assessment.""" + + evaluator_arn: str + """The Amazon Resource Name (ARN) of the evaluator.""" + +@dataclass +class RecommendationResultSystemPromptRecommendationResult(_SerdeShape): + """The result of a system prompt recommendation.""" + + value: SystemPromptRecommendationResult + +@dataclass +class RecommendationResultToolDescriptionRecommendationResult(_SerdeShape): + """The result of a tool description recommendation.""" + + value: ToolDescriptionRecommendationResult + +@dataclass +class RecommendationResultUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RecommendationResult = Union[ + RecommendationResultSystemPromptRecommendationResult + | RecommendationResultToolDescriptionRecommendationResult + | RecommendationResultUnknown +] +"""The result of a recommendation, containing the optimized output.""" + +class _RecommendationResultDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RecommendationResult: ... + +@dataclass(kw_only=True) +class RecommendationResultConfigurationBundle(_SerdeShape): + """A configuration bundle reference in a recommendation result.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle.""" + version_id: str + """ + The version identifier of the configuration bundle containing the + recommendation. + """ + +class RecommendationStatus(UnknownEnumMixin, StrEnum): + """The lifecycle status of a recommendation.""" + + PENDING = "PENDING" + IN_PROGRESS = "IN_PROGRESS" + COMPLETED = "COMPLETED" + FAILED = "FAILED" + DELETING = "DELETING" + +@dataclass(kw_only=True) +class RecommendationSummary(_SerdeShape): + """Summary information about a recommendation.""" + + recommendation_id: str + """The unique identifier of the recommendation.""" + recommendation_arn: str + """The Amazon Resource Name (ARN) of the recommendation.""" + name: str + """The name of the recommendation.""" + description: str | None = ... + """The description of the recommendation.""" + type: str + """The type of recommendation.""" + status: str + """The current status of the recommendation.""" + created_at: datetime + """The timestamp when the recommendation was created.""" + updated_at: datetime + """The timestamp when the recommendation was last updated.""" + +class RecommendationType(UnknownEnumMixin, StrEnum): + """The type of recommendation to generate.""" + + SYSTEM_PROMPT_RECOMMENDATION = "SYSTEM_PROMPT_RECOMMENDATION" + TOOL_DESCRIPTION_RECOMMENDATION = "TOOL_DESCRIPTION_RECOMMENDATION" + +class RecordExpiryAction(UnknownEnumMixin, StrEnum): + """ + The action to apply to an existing record expiry (long-term memory + time-to-live) configuration. `REMOVE` removes a previously configured + expiry so that the records no longer expire. + """ + + REMOVE = "REMOVE" + +@dataclass +class RecordExpirySpecificationRecordExpiryDurationDays(_SerdeShape): + """ + The duration, in days, after which the records in this request expire. + The minimum is 31 days. + """ + + value: int + +@dataclass +class RecordExpirySpecificationAction(_SerdeShape): + """ + The action to apply to the existing record expiry configuration. Set to + `REMOVE` to remove a previously configured expiry so that the records no + longer expire. This value does not apply when creating records. + """ + + value: str + +@dataclass +class RecordExpirySpecificationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RecordExpirySpecification = Union[ + RecordExpirySpecificationRecordExpiryDurationDays + | RecordExpirySpecificationAction + | RecordExpirySpecificationUnknown +] +""" +Specifies the record expiry (long-term memory time-to-live) applied to +the records in a batch request. Provide exactly one of +`recordExpiryDurationDays` or `action`. Set `recordExpiryDurationDays` +to configure or update the expiry, or set `action` to `REMOVE` to remove +a previously configured expiry. +""" + +class _RecordExpirySpecificationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RecordExpirySpecification: ... + +class RegistryRecordStatus(UnknownEnumMixin, StrEnum): + """The status of a registry record in its lifecycle.""" + + DRAFT = "DRAFT" + PENDING_APPROVAL = "PENDING_APPROVAL" + APPROVED = "APPROVED" + REJECTED = "REJECTED" + DEPRECATED = "DEPRECATED" + +@dataclass(kw_only=True) +class RegistryRecordSummary(_SerdeShape): + """Summary information about a registry record.""" + + registry_arn: str + """ + The Amazon Resource Name (ARN) of the registry that this record belongs + to. + """ + record_arn: str + """The Amazon Resource Name (ARN) of the registry record.""" + record_id: str + """The unique identifier of the registry record.""" + name: str + """The name of the registry record.""" + description: str | None = ... + """A description of the registry record.""" + descriptor_type: str + """The type of descriptor associated with this registry record.""" + descriptors: Descriptors + """The descriptor configurations for this registry record.""" + version: str + """The version of the registry record.""" + status: str + """The current status of the registry record.""" + created_at: datetime + """The date and time when the registry record was created.""" + updated_at: datetime + """The date and time when the registry record was last updated.""" + +@dataclass(kw_only=True) +class ResourceContent(_SerdeShape): + """Contains information about resource content.""" + + type: str + """The type of resource content.""" + uri: str | None = ... + """The URI of the resource content.""" + mime_type: str | None = ... + """The MIME type of the resource content.""" + text: str | None = ... + """The text resource content.""" + blob: bytes | None = ... + """The binary resource content.""" + +class ResourceContentType(UnknownEnumMixin, StrEnum): + TEXT = "text" + BLOB = "blob" + +@dataclass +class ResourceLocationS3(_SerdeShape): + """ + The Amazon S3 location of the resource. Use this when the resource is + stored in an Amazon S3 bucket. + """ + + value: S3Location + +@dataclass +class ResourceLocationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ResourceLocation = Union[ResourceLocationS3 | ResourceLocationUnknown] +"""The location of the browser extension.""" + +class _ResourceLocationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ResourceLocation: ... + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """ + The exception that occurs when the specified resource does not exist. + This can happen when using an invalid identifier or when trying to + access a resource that has been deleted. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResponseChunk(_SerdeShape): + """ + A structure representing a response chunk that contains exactly one of + the possible event types: `contentStart`, `contentDelta`, or + `contentStop`. + """ + + content_start: ContentStartEvent | None = ... + """ + An event indicating the start of content streaming from the command + execution. This is the first chunk received. + """ + content_delta: ContentDeltaEvent | None = ... + """ + An event containing incremental output (stdout or stderr) from the + command execution. These are the middle chunks. + """ + content_stop: ContentStopEvent | None = ... + """ + An event indicating the completion of the command execution, including + the exit code and final status. This is the last chunk received. + """ + +class ResultDestination(UnknownEnumMixin, StrEnum): + """ + Where evaluation results are written: dedicated results log group + (default) or the source log group. + """ + + DEDICATED_LOG_GROUP = "DEDICATED_LOG_GROUP" + SOURCE_LOG_GROUP = "SOURCE_LOG_GROUP" + +@dataclass(kw_only=True) +class RetrieveMemoryRecordsInput(_SerdeShape): + """Dataclass for RetrieveMemoryRecordsInput structure.""" + + memory_id: str | None = ... + """ + The identifier of the AgentCore Memory resource from which to retrieve + memory records. + """ + namespace: str | None = ... + """ + The exact namespace to filter memory records by. Searches for memory + records that matches the provided namespace value. Either `namespace` or + `namespacePath` is required. + """ + namespace_path: str | None = ... + """ + Use namespacePath for hierarchical retrievals. Return all memory records + where namespace falls under the same parent hierarchy. Either + `namespace` or `namespacePath` is required. + """ + search_criteria: SearchCriteria | None = ... + """ + The search criteria to use for finding relevant memory records. This + includes the search query, memory strategy ID, and other search + parameters. + """ + next_token: str | None = ... + """ + The token for the next set of results. Use the value returned in the + previous response in the next request to retrieve the next set of + results. + """ + max_results: int = ... + """ + The maximum number of results to return in a single call. The default + value is 20. + """ + +@dataclass(kw_only=True) +class RetrieveMemoryRecordsOutput(_SerdeShape): + """Dataclass for RetrieveMemoryRecordsOutput structure.""" + + memory_record_summaries: list[MemoryRecordSummary] + """ + The list of memory record summaries that match the search criteria, + ordered by relevance. + """ + next_token: str | None = ... + """ + The token to use in a subsequent request to get the next set of results. + This value is null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RetryableConflictException(ServiceError, _SerdeShape): + """ + The exception that occurs when there is a retryable conflict performing + an operation. This is a temporary condition that may resolve itself with + retries. We recommend implementing exponential backoff retry logic in + your application. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class RightExpressionMetadataValue(_SerdeShape): + """Value associated with the key in `eventMetadata`.""" + + value: MetadataValue + +@dataclass +class RightExpressionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RightExpression = Union[RightExpressionMetadataValue | RightExpressionUnknown] +"""Right expression of the `eventMetadata`filter.""" + +class _RightExpressionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RightExpression: ... + +class Role(UnknownEnumMixin, StrEnum): + ASSISTANT = "ASSISTANT" + USER = "USER" + TOOL = "TOOL" + OTHER = "OTHER" + +@dataclass(kw_only=True) +class RootCauseCluster(_SerdeShape): + """ + A cluster of similar root causes identified within a failure + subcategory. + """ + + cluster_id: int + """The unique identifier of the root cause cluster.""" + name: str + """The name of the root cause cluster.""" + root_cause: str + """The root cause explanation for this cluster of failures.""" + recommendation: str + """The recommended fix for this root cause.""" + affected_session_count: int + """The number of sessions affected by this root cause.""" + affected_sessions: list[AffectedSession] + """The list of sessions affected by this root cause.""" + +@dataclass(kw_only=True) +class RuntimeClientError(ServiceError, _SerdeShape): + """ + The exception that occurs when there is an error in the runtime client. + This can happen due to network issues, invalid configuration, or other + client-side problems. Check the error message for specific details about + the error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class S3FilesConfiguration(_SerdeShape): + """ + The configuration for mounting an Amazon Simple Storage Service (Amazon + S3) Files access point that you own into a session. + """ + + access_point_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Simple Storage Service + (Amazon S3) Files access point to mount. + """ + mount_path: str + """ + The absolute path within the session at which the access point is + mounted, for example `/mnt/s3data`. Each mount path must be unique + across all file system configurations in the session. + """ + file_system_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon Simple Storage Service + (Amazon S3) Files file system that owns the access point. + """ + +@dataclass(kw_only=True) +class S3Location(_SerdeShape): + """The Amazon S3 location configuration of a resource.""" + + bucket: str + """The name of the Amazon S3 bucket where the resource is stored.""" + prefix: str + """The name of the Amazon S3 prefix/key where the resource is stored.""" + version_id: str | None = ... + """ + The name of the Amazon S3 version ID where the resource is stored + (Optional). + """ + +@dataclass(kw_only=True) +class SampleSession(_SerdeShape): + """ + A session affected by an insight or root cause. Use the session ID to + find the per-session evaluation results in CloudWatch Logs. + """ + + session_id: str + """The unique identifier of the session.""" + last_seen_at: datetime | None = ... + """ + The latest timestamp observed for the session in the batch evaluation + input. + """ + findings: list[SessionFinding] | None = ... + """ + The failures found in the session that belong to the insight or root + cause, up to 10. + """ + +@dataclass(kw_only=True) +class SaveBrowserSessionProfileInput(_SerdeShape): + """Dataclass for SaveBrowserSessionProfileInput structure.""" + + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + profile_identifier: str | None = ... + """ + The unique identifier for the browser profile. This identifier is used + to reference the profile when starting new browser sessions. The + identifier must follow the pattern of an alphanumeric name (up to 48 + characters) followed by a hyphen and a 10-character alphanumeric suffix. + """ + browser_identifier: str | None = ... + """ + The unique identifier of the browser associated with the session from + which to save the profile. + """ + session_id: str | None = ... + """ + The unique identifier of the browser session from which to save the + profile. The session must be active when saving the profile. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock AgentCore ignores the request, but does not + return an error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class SaveBrowserSessionProfileOutput(_SerdeShape): + """Dataclass for SaveBrowserSessionProfileOutput structure.""" + + profile_identifier: str + """The unique identifier of the saved browser profile.""" + browser_identifier: str + """ + The unique identifier of the browser associated with the session from + which the profile was saved. + """ + session_id: str + """ + The unique identifier of the browser session from which the profile was + saved. + """ + last_updated_at: datetime + """ + The timestamp when the browser profile was last updated. This value is + in ISO 8601 format. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ScreenshotArguments(_SerdeShape): + """Arguments for a screenshot action.""" + + format: str | None = ... + """The image format for the screenshot. Defaults to `PNG`.""" + +class ScreenshotFormat(UnknownEnumMixin, StrEnum): + """The image format for a browser screenshot.""" + + PNG = "PNG" + +@dataclass(kw_only=True) +class ScreenshotResult(_SerdeShape): + """The result of a screenshot action.""" + + status: str + """The status of the action execution.""" + error: str | None = ... + """The error message. Present only when the action failed.""" + data: bytes | None = ... + """The base64-encoded image data. Present only when the action succeeded.""" + +@dataclass(kw_only=True) +class SearchCriteria(_SerdeShape): + """Contains search criteria for retrieving memory records.""" + + search_query: str + """The search query to use for finding relevant memory records.""" + memory_strategy_id: str | None = ... + """The memory strategy identifier to filter memory records by.""" + top_k: int = ... + """ + The maximum number of top-scoring memory records to return. This value + is used for semantic search ranking. + """ + metadata_filters: list[MemoryMetadataFilterExpression] | None = ... + """Filters to apply to metadata associated with a memory.""" + +@dataclass(kw_only=True) +class SearchRegistryRecordsInput(_SerdeShape): + """Dataclass for SearchRegistryRecordsInput structure.""" + + search_query: str | None = ... + """The search query to find matching registry records.""" + registry_ids: list[str] | None = ... + """ + The list of registry identifiers to search within. Currently, you can + specify exactly one registry identifier. You can provide either the full + Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric + registry ID. + """ + max_results: int = ... + """ + The maximum number of records to return in a single call. Valid values + are 1 through 20. The default value is 10. + """ + filters: Document | None = ... + """ + A metadata filter expression to narrow search results. Uses structured + JSON operators including field-level operators (`$eq`, `$ne`, `$in`) and + logical operators (`$and`, `$or`) on filterable fields (`name`, + `descriptorType`, `version`). For example, to filter by descriptor type: + `{"descriptorType": {"$eq": "MCP"}}`. To combine filters: + `{"$and": [{"descriptorType": {"$eq": "MCP"}}, {"name": {"$eq": "my-tool"}}]}`. + """ + +@dataclass(kw_only=True) +class SearchRegistryRecordsOutput(_SerdeShape): + """Dataclass for SearchRegistryRecordsOutput structure.""" + + registry_records: list[RegistryRecordSummary] + """ + The list of registry records that match the search query, ordered by + relevance. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SecretsManagerLocation(_SerdeShape): + """The Amazon Web Services Secrets Manager location configuration.""" + + secret_arn: str + """ + The ARN of the Amazon Web Services Secrets Manager secret containing the + certificate. + """ + +@dataclass(kw_only=True) +class ServerDefinition(_SerdeShape): + """ + The MCP server definition with a schema version and inline content. The + `schemaVersion` identifies the version of the MCP server configuration + schema. + """ + + schema_version: str | None = ... + """ + The schema version of the MCP server configuration. The schema version + identifies the format of the server definition content. + """ + inline_content: str | None = ... + """The inline content of the server definition.""" + +@dataclass(kw_only=True) +class ServiceException(ServiceError, _SerdeShape): + """The service encountered an internal error. Try your request again later.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceQuotaExceededException(ServiceError, _SerdeShape): + """ + The exception that occurs when the request would cause a service quota + to be exceeded. Review your service quotas and either reduce your + request rate or request a quota increase. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceUnavailableException(ServiceError, _SerdeShape): + """ + The service can't handle the request right now. Retry the request. If + the response includes `retryAfterSeconds`, wait that many seconds before + you retry. + """ + + retry_after_seconds: int | None = ... + """The number of seconds to wait before you retry the request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SessionFilter(_SerdeShape): + """Contains filter criteria for listing sessions.""" + + event_filter: str | None = ... + """ + The event filter condition to apply. Use this to filter sessions based + on event presence. + """ + +@dataclass(kw_only=True) +class SessionFilterConfig(_SerdeShape): + """ + A time range filter for selecting sessions. Specifies the start and end + times to narrow down which sessions are included. + """ + + start_time: datetime | None = ... + """ + The start time of the time range. Only sessions with activity at or + after this timestamp are included. + """ + end_time: datetime | None = ... + """ + The end time of the time range. Only sessions with activity before this + timestamp are included. + """ + +@dataclass(kw_only=True) +class SessionFinding(_SerdeShape): + """A failure found in a session.""" + + target_id: str | None = ... + """ + The identifier or name of the location in the session where the failure + was found, interpreted according to `targetType`. + """ + target_type: str | None = ... + """The type of location that `targetId` refers to.""" + description: str + """A description of the failure.""" + category: str | None = ... + """The category of the failure.""" + confidence: float | None = ... + """The confidence that the finding is a failure, from 0 to 1.""" + +@dataclass(kw_only=True) +class SessionLimits(_SerdeShape): + """The spending limits configuration for a payment session.""" + + max_spend_amount: Amount + """The maximum amount that can be spent in the session.""" + +@dataclass(kw_only=True) +class SessionMetadataShape(_SerdeShape): + """ + Metadata for a specific session in a batch evaluation, including ground + truth data and test scenario identifiers. + """ + + session_id: str + """The unique identifier of the session this metadata applies to.""" + test_scenario_id: str | None = ... + """ + An optional test scenario identifier for categorizing and tracking + evaluation results. + """ + ground_truth: GroundTruthSource | None = ... + """ + The ground truth data for this session, including expected responses and + assertions. + """ + metadata: dict[str, str] | None = ... + """Additional key-value metadata associated with this session.""" + +class SessionStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "IN_PROGRESS" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class SessionSummary(_SerdeShape): + """ + Contains summary information about a session in an AgentCore Memory + resource. + """ + + session_id: str + """The unique identifier of the session.""" + actor_id: str + """The identifier of the actor associated with the session.""" + created_at: datetime + """The timestamp when the session was created.""" + +@dataclass(kw_only=True) +class SessionTraceIds(_SerdeShape): + """ + A pairing of a session with the specific trace IDs to evaluate within + that session. Use this to evaluate individual traces rather than an + entire session. + """ + + session_id: str + """ + The unique identifier of the session that contains the traces to + evaluate. + """ + trace_ids: list[str] + """The list of trace IDs within the session to evaluate.""" + +@dataclass(kw_only=True) +class SkillDefinition(_SerdeShape): + """ + The structured skill definition with a schema version and inline + content. + """ + + schema_version: str | None = ... + """ + The schema version of the skill definition. If you don't specify a + version, the service detects it automatically. + """ + inline_content: str | None = ... + """The inline content of the skill definition.""" + +@dataclass(kw_only=True) +class SkillMdDefinition(_SerdeShape): + """The skill markdown definition for agent skills descriptors.""" + + inline_content: str | None = ... + """The inline markdown content of the skill definition.""" + +@dataclass(kw_only=True) +class SpanContext(_SerdeShape): + """ + The contextual information that uniquely identifies a span within the + distributed tracing system. Contains session, trace, and span + identifiers used to correlate evaluation results with specific agent + execution points. + """ + + session_id: str + """ + The unique identifier of the session containing this span. Sessions + represent complete conversation flows and are detected using + configurable `SessionTimeoutMinutes` (default 15 minutes). + """ + trace_id: str | None = ... + """ + The unique identifier of the trace containing this span. Traces + represent individual request-response interactions within a session and + group related spans together. + """ + span_id: str | None = ... + """ + The unique identifier of the specific span being referenced. Spans + represent individual operations like tool calls, model invocations, or + other discrete actions within the agent's execution. + """ + +@dataclass(kw_only=True) +class StartBatchEvaluationInput(_SerdeShape): + """Dataclass for StartBatchEvaluationInput structure.""" + + batch_evaluation_name: str | None = ... + """The name of the batch evaluation. Must be unique within your account.""" + evaluators: list[Evaluator] | None = ... + """ + The list of evaluators to apply during the batch evaluation. Can include + both built-in evaluators and custom evaluators. Maximum of 10 + evaluators. + """ + insights: list[Insight] | None = ... + """ + The list of insight analyses to run against sessions during the batch + evaluation. Maximum of 10 insights. + """ + data_source_config: DataSourceConfig | None = ... + """ + The data source configuration that specifies where to pull agent session + traces from for evaluation. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, the service ignores the request, but does not return an error. + + This field is autopopulated if not provided. + """ + evaluation_metadata: EvaluationMetadata | None = ... + """ + Optional metadata for the evaluation, including session-specific ground + truth data and test scenario identifiers. + """ + tags: dict[str, str] | None = ... + """A map of tag keys and values to associate with the batch evaluation.""" + kms_key_arn: str | None = ... + """ + The ARN of the KMS key used to encrypt evaluation data. If provided, + customer data is encrypted at rest with the specified key. + """ + description: str | None = ... + """The description of the batch evaluation.""" + output_config: OutputConfig | None = ... + """Output destination configuration.""" + +@dataclass(kw_only=True) +class StartBatchEvaluationOutput(_SerdeShape): + """Dataclass for StartBatchEvaluationOutput structure.""" + + batch_evaluation_id: str + """The unique identifier of the created batch evaluation.""" + batch_evaluation_arn: str + """The Amazon Resource Name (ARN) of the created batch evaluation.""" + batch_evaluation_name: str + """The name of the batch evaluation.""" + evaluators: list[Evaluator] | None = ... + """The list of evaluators applied during the batch evaluation.""" + insights: list[Insight] | None = ... + """The list of insight analyses applied during the batch evaluation.""" + status: str + """The status of the batch evaluation.""" + created_at: datetime + """The timestamp when the batch evaluation was created.""" + output_config: OutputConfig | None = ... + """ + The output configuration specifying where evaluation results are + written. + """ + tags: dict[str, str] | None = ... + """The tags associated with the batch evaluation.""" + kms_key_arn: str | None = ... + """The ARN of the KMS key used to encrypt evaluation data.""" + description: str | None = ... + """The description of the batch evaluation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartBrowserSessionInput(_SerdeShape): + """Dataclass for StartBrowserSessionInput structure.""" + + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + browser_identifier: str | None = ... + """ + The unique identifier of the browser to use for this session. This + identifier specifies which browser environment to initialize for the + session. + """ + name: str | None = ... + """ + The name of the browser session. This name helps you identify and manage + the session. The name does not need to be unique. + """ + session_timeout_seconds: int = ... + """ + The duration in seconds (time-to-live) after which the session + automatically terminates, regardless of ongoing activity. Defaults to + 3600 seconds (1 hour). Recommended minimum: 60 seconds. Maximum allowed: + 28,800 seconds (8 hours). + """ + view_port: ViewPort | None = ... + """ + The dimensions of the browser viewport for this session. This determines + the visible area of the web content and affects how web pages are + rendered. If not specified, Amazon Bedrock AgentCore uses a default + viewport size. + """ + extensions: list[BrowserExtension] | None = ... + """A list of browser extensions to load into the browser session.""" + profile_configuration: BrowserProfileConfiguration | None = ... + """ + The browser profile configuration to use for this session. A browser + profile contains persistent data such as cookies and local storage that + can be reused across multiple browser sessions. If specified, the + session initializes with the profile's stored data, enabling continuity + for tasks that require authentication or personalized settings. + """ + proxy_configuration: ProxyConfiguration | None = ... + """ + Optional proxy configuration for routing browser traffic through + customer-specified proxy servers. When provided, enables HTTP Basic + authentication via Amazon Web Services Secrets Manager and domain-based + routing rules. Requires `secretsmanager:GetSecretValue` IAM permission + for the specified secret ARNs. + """ + enterprise_policies: list[BrowserEnterprisePolicy] | None = ... + """A list of files containing enterprise policies for the browser.""" + certificates: list[Certificate] | None = ... + """A list of certificates to install in the browser session.""" + filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... + """ + The file system configurations to mount into the browser session. Use + these configurations to mount your own Amazon Simple Storage Service + (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access + points. Your session can then read and write your data. If you don't + specify this field, no additional file systems are mounted. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock AgentCore ignores the request, but does not + return an error. This parameter helps prevent the creation of duplicate + sessions if there are temporary network issues. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StartBrowserSessionOutput(_SerdeShape): + """Dataclass for StartBrowserSessionOutput structure.""" + + browser_identifier: str + """The identifier of the browser.""" + session_id: str + """The unique identifier of the created browser session.""" + created_at: datetime + """The timestamp when the browser session was created.""" + streams: BrowserSessionStream | None = ... + """ + The streams associated with this browser session. These include the + automation stream and live view stream. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartCodeInterpreterSessionInput(_SerdeShape): + """Dataclass for StartCodeInterpreterSessionInput structure.""" + + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + code_interpreter_identifier: str | None = ... + """ + The unique identifier of the code interpreter to use for this session. + This identifier specifies which code interpreter environment to + initialize for the session. + """ + name: str | None = ... + """ + The name of the code interpreter session. This name helps you identify + and manage the session. The name does not need to be unique. + """ + session_timeout_seconds: int = ... + """ + The duration in seconds (time-to-live) after which the session + automatically terminates, regardless of ongoing activity. Defaults to + 900 seconds (15 minutes). Recommended minimum: 60 seconds. Maximum + allowed: 28,800 seconds (8 hours). + """ + certificates: list[Certificate] | None = ... + """A list of certificates to install in the code interpreter session.""" + filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... + """ + The file system configurations to mount into the code interpreter + session. Use these configurations to mount your own Amazon Simple + Storage Service (Amazon S3) Files or Amazon Elastic File System (Amazon + EFS) access points. Your session can then read and write your data. If + you don't specify this field, no additional file systems are mounted. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock AgentCore ignores the request, but does not + return an error. This parameter helps prevent the creation of duplicate + sessions if there are temporary network issues. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StartCodeInterpreterSessionOutput(_SerdeShape): + """Dataclass for StartCodeInterpreterSessionOutput structure.""" + + code_interpreter_identifier: str + """The identifier of the code interpreter.""" + session_id: str + """The unique identifier of the created code interpreter session.""" + created_at: datetime + """The time at which the code interpreter session was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartMemoryExtractionJobInput(_SerdeShape): + """Dataclass for StartMemoryExtractionJobInput structure.""" + + memory_id: str | None = ... + """The unique identifier of the memory for which to start extraction jobs.""" + extraction_job: ExtractionJob | None = ... + """Extraction job to start in this operation.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotent processing of + the request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StartMemoryExtractionJobOutput(_SerdeShape): + """Dataclass for StartMemoryExtractionJobOutput structure.""" + + job_id: str + """Extraction Job ID that was attempted to start.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartRecommendationInput(_SerdeShape): + """Dataclass for StartRecommendationInput structure.""" + + name: str | None = ... + """The name of the recommendation. Must be unique within your account.""" + description: str | None = ... + """The description of the recommendation.""" + type: str | None = ... + """ + The type of recommendation to generate. Valid values are + `SYSTEM_PROMPT_RECOMMENDATION` for system prompt optimization or + `TOOL_DESCRIPTION_RECOMMENDATION` for tool description optimization. + """ + recommendation_config: RecommendationConfig | None = ... + """ + The configuration for the recommendation, including the input to + optimize, agent traces to analyze, and evaluation settings. + """ + kms_key_arn: str | None = ... + """ + The ARN of the KMS key used to encrypt recommendation data. If provided, + customer data is encrypted at rest with the specified key. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, the service ignores the request, but does not return an error. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """A map of tag keys and values to associate with the recommendation.""" + +@dataclass(kw_only=True) +class StartRecommendationOutput(_SerdeShape): + """Dataclass for StartRecommendationOutput structure.""" + + recommendation_id: str + """The unique identifier of the created recommendation.""" + recommendation_arn: str + """The Amazon Resource Name (ARN) of the created recommendation.""" + name: str + """The name of the recommendation.""" + description: str | None = ... + """The description of the recommendation.""" + type: str + """The type of recommendation.""" + recommendation_config: RecommendationConfig + """The configuration for the recommendation.""" + status: str + """The status of the recommendation.""" + created_at: datetime + """The timestamp when the recommendation was created.""" + updated_at: datetime + """The timestamp when the recommendation was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopBatchEvaluationInput(_SerdeShape): + """Dataclass for StopBatchEvaluationInput structure.""" + + batch_evaluation_id: str | None = ... + """The unique identifier of the batch evaluation to stop.""" + +@dataclass(kw_only=True) +class StopBatchEvaluationOutput(_SerdeShape): + """Dataclass for StopBatchEvaluationOutput structure.""" + + batch_evaluation_id: str + """The unique identifier of the stopped batch evaluation.""" + batch_evaluation_arn: str + """The Amazon Resource Name (ARN) of the stopped batch evaluation.""" + status: str + """The status of the batch evaluation after the stop request.""" + description: str | None = ... + """The description of the batch evaluation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopBrowserSessionInput(_SerdeShape): + """Dataclass for StopBrowserSessionInput structure.""" + + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + browser_identifier: str | None = ... + """The unique identifier of the browser associated with the session.""" + session_id: str | None = ... + """The unique identifier of the browser session to stop.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock AgentCore ignores the request, but does not + return an error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StopBrowserSessionOutput(_SerdeShape): + """Dataclass for StopBrowserSessionOutput structure.""" + + browser_identifier: str + """The identifier of the browser.""" + session_id: str + """The identifier of the browser session.""" + last_updated_at: datetime + """The time at which the browser session was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopCodeInterpreterSessionInput(_SerdeShape): + """Dataclass for StopCodeInterpreterSessionInput structure.""" + + trace_id: str | None = ... + """The trace identifier for request tracking.""" + trace_parent: str | None = ... + """The parent trace information for distributed tracing.""" + code_interpreter_identifier: str | None = ... + """ + The unique identifier of the code interpreter associated with the + session. + """ + session_id: str | None = ... + """The unique identifier of the code interpreter session to stop.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock AgentCore ignores the request, but does not + return an error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StopCodeInterpreterSessionOutput(_SerdeShape): + """Dataclass for StopCodeInterpreterSessionOutput structure.""" + + code_interpreter_identifier: str + """The identifier of the code interpreter.""" + session_id: str + """The identifier of the code interpreter session.""" + last_updated_at: datetime + """The timestamp when the code interpreter session was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopRuntimeSessionInput(_SerdeShape): + """Dataclass for StopRuntimeSessionInput structure.""" + + runtime_session_id: str | None = ... + """The ID of the session that you want to stop.""" + agent_runtime_arn: str | None = ... + """The ARN of the agent that contains the session that you want to stop.""" + qualifier: str | None = ... + """ + Optional qualifier to specify an agent alias, such as `prod`code> or + `dev`. If you don't provide a value, the DEFAULT alias is used. + """ + client_token: str | None = ... + """ + Idempotent token used to identify the request. If you use the same token + with multiple requests, the same response is returned. Use ClientToken + to prevent the same request from being processed more than once. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StopRuntimeSessionOutput(_SerdeShape): + """Dataclass for StopRuntimeSessionOutput structure.""" + + runtime_session_id: str | None = ... + """The ID of the session that you requested to stop.""" + status_code: int | None = ... + """The status code of the request to stop the session.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class StreamUpdateAutomationStreamUpdate(_SerdeShape): + """The update to an automation stream.""" + + value: AutomationStreamUpdate + +@dataclass +class StreamUpdateUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +StreamUpdate = Union[StreamUpdateAutomationStreamUpdate | StreamUpdateUnknown] +"""Contains information about an update to a stream.""" + +class _StreamUpdateDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> StreamUpdate: ... + +@dataclass(kw_only=True) +class StripePrivyTokenRequestInput(_SerdeShape): + """Stripe Privy token request parameters.""" + + request_host: str | None = ... + """The host for the Privy API request. Defaults to \"api.privy.io\".""" + request_path: str + """The path of the Stripe Privy API request.""" + request_body: str + """Request body JSON for the Privy API call.""" + include_authorization_signature: bool = ... + """Set to true to generate privy-authorization-signature.""" + +@dataclass(kw_only=True) +class StripePrivyTokenResponseOutput(_SerdeShape): + """ + Stripe Privy token response containing appId, basicAuthToken, and + optionally authorizationSignature. + """ + + authorization_signature: str | None = ... + """ + Base64-encoded ECDSA P-256 authorization signature (only present when + includeAuthorizationSignature is true). + """ + request_expiry: int | None = ... + """Unix timestamp in milliseconds when the authorization signature expires.""" + app_id: str + """The Privy app ID for the privy-app-id header.""" + basic_auth_token: str + """ + Base64-encoded Basic Auth token (appId:appSecret) for the Authorization + header. + """ + +@dataclass(kw_only=True) +class SubscriptionRequiredException(ServiceError, _SerdeShape): + """ + Returned when you attempt a wallet operation against a Coinbase + Marketplace connector whose account does not hold an active Marketplace + subscription and is not within the legacy exception period. Subscribe to + the Marketplace listing before you retry the operation. + """ + + subscription_url: str | None = ... + """The URL to the Marketplace listing where you can subscribe.""" + product_name: str | None = ... + """The name of the product that requires a Marketplace subscription.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class SystemPromptConfigText(_SerdeShape): + """The system prompt text provided inline.""" + + value: str + +@dataclass +class SystemPromptConfigConfigurationBundle(_SerdeShape): + """The system prompt sourced from a configuration bundle version.""" + + value: SystemPromptConfigurationBundle + +@dataclass +class SystemPromptConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +SystemPromptConfig = Union[ + SystemPromptConfigText + | SystemPromptConfigConfigurationBundle + | SystemPromptConfigUnknown +] +""" +The system prompt input, either as inline text or from a configuration +bundle. +""" + +class _SystemPromptConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> SystemPromptConfig: ... + +@dataclass(kw_only=True) +class SystemPromptConfigurationBundle(_SerdeShape): + """A system prompt sourced from a configuration bundle version.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle.""" + version_id: str + """The version identifier of the configuration bundle.""" + system_prompt_json_path: str + """ + The JSON path within the configuration bundle that contains the system + prompt. + """ + +@dataclass(kw_only=True) +class SystemPromptRecommendationConfig(_SerdeShape): + """Configuration for generating system prompt optimization recommendations.""" + + system_prompt: SystemPromptConfig + """The current system prompt to optimize.""" + agent_traces: AgentTracesConfig + """The agent traces to analyze for generating recommendations.""" + evaluation_config: RecommendationEvaluationConfig | None = ... + """ + The evaluation configuration specifying which evaluator to use for + assessing recommendation quality. + """ + +@dataclass(kw_only=True) +class SystemPromptRecommendationResult(_SerdeShape): + """ + The result of a system prompt recommendation, containing the optimized + prompt. + """ + + recommended_system_prompt: str | None = ... + """The optimized system prompt text generated by the recommendation.""" + configuration_bundle: RecommendationResultConfigurationBundle | None = ... + """ + The configuration bundle containing the recommended system prompt, if + the input was sourced from a configuration bundle. + """ + explanation: str | None = ... + """ + An explanation of why the recommendation was generated and what patterns + were identified in the agent traces. + """ + error_code: str | None = ... + """The error code if the recommendation failed.""" + error_message: str | None = ... + """The error message if the recommendation failed.""" + +@dataclass(kw_only=True) +class TargetRef(_SerdeShape): + """A reference to a gateway target.""" + + name: str + """The name of the gateway target.""" + +class TaskStatus(UnknownEnumMixin, StrEnum): + SUBMITTED = "submitted" + WORKING = "working" + COMPLETED = "completed" + CANCELED = "canceled" + FAILED = "failed" + +@dataclass(kw_only=True) +class ThrottledException(ServiceError, _SerdeShape): + """ + The request was denied due to request throttling. Reduce the frequency + of requests and try again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ThrottlingException(ServiceError, _SerdeShape): + """ + The exception that occurs when the request was denied due to request + throttling. This happens when you exceed the allowed request rate for an + operation. Reduce the frequency of requests or implement exponential + backoff retry logic in your application. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TokenBalance(_SerdeShape): + """A single token balance entry.""" + + amount: str + """ + Raw balance in the smallest denomination (e.g., USDC base units where 1 + USDC = 1000000). + """ + decimals: int + """Number of decimal places for the token (e.g., 6 for USDC).""" + token: str + """The supported token for this balance.""" + network: str + """The blockchain network family (ETHEREUM or SOLANA).""" + chain: str + """The specific blockchain chain.""" + +@dataclass(kw_only=True) +class TokenUsage(_SerdeShape): + """ + The token consumption statistics for language model operations during + evaluation. Provides detailed breakdown of input, output, and total + tokens used for cost tracking and performance monitoring. + """ + + input_tokens: int | None = ... + """ + The number of tokens consumed for input processing during the + evaluation. Includes tokens from the evaluation prompt, agent traces, + and any additional context provided to the evaluator model. + """ + output_tokens: int | None = ... + """ + The number of tokens generated by the evaluator model in its response. + Includes tokens for the score, explanation, and any additional output + produced during the evaluation process. + """ + total_tokens: int | None = ... + """ + The total number of tokens consumed during the evaluation, calculated as + the sum of input and output tokens. Used for cost calculation and rate + limiting within the service limits. + """ + +@dataclass(kw_only=True) +class ToolArguments(_SerdeShape): + """ + The collection of arguments that specify the operation to perform and + its parameters when invoking a tool in Amazon Bedrock AgentCore. + Different tools require different arguments, and this structure provides + a flexible way to pass the appropriate arguments to each tool type. + """ + + code: str | None = ... + """ + The code to execute in a code interpreter session. This is the source + code in the specified programming language that will be executed by the + code interpreter. + """ + language: str | None = ... + """ + The programming language of the code to execute. This tells the code + interpreter which language runtime to use for execution. + """ + clear_context: bool | None = ... + """Whether to clear the context for the tool.""" + command: str | None = ... + """The command to execute with the tool.""" + path: str | None = ... + """The path for the tool operation.""" + paths: list[str] | None = ... + """The paths for the tool operation.""" + content: list[InputContentBlock] | None = ... + """The content for the tool operation.""" + directory_path: str | None = ... + """The directory path for the tool operation.""" + task_id: str | None = ... + """The identifier of the task for the tool operation.""" + runtime: str | None = ... + """ + The runtime environment to use for code execution. If not specified, + defaults to `deno` for JavaScript and TypeScript. + """ + +@dataclass +class ToolDescriptionConfigText(_SerdeShape): + """The tool description as inline text.""" + + value: str + +@dataclass +class ToolDescriptionConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ToolDescriptionConfig = Union[ToolDescriptionConfigText | ToolDescriptionConfigUnknown] +"""The tool description content.""" + +class _ToolDescriptionConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ToolDescriptionConfig: ... + +@dataclass(kw_only=True) +class ToolDescriptionConfigurationBundle(_SerdeShape): + """Tool descriptions sourced from a configuration bundle version.""" + + bundle_arn: str + """The Amazon Resource Name (ARN) of the configuration bundle.""" + version_id: str + """The version identifier of the configuration bundle.""" + tools: list[ConfigurationBundleToolEntry] + """ + The list of tool entries mapping tool names to their JSON paths within + the bundle. + """ + +@dataclass(kw_only=True) +class ToolDescriptionInput(_SerdeShape): + """ + A tool description input containing the tool name and its current + description. + """ + + tool_name: str + """The name of the tool.""" + tool_description: ToolDescriptionConfig + """The current description of the tool to optimize.""" + +@dataclass(kw_only=True) +class ToolDescriptionOutput(_SerdeShape): + """The output for a single tool description recommendation.""" + + tool_name: str + """The name of the tool.""" + recommended_tool_description: str | None = ... + """The optimized tool description text generated by the recommendation.""" + explanation: str | None = ... + """ + An explanation of why the recommendation was generated for this tool and + what patterns were identified in the agent traces. + """ + +@dataclass(kw_only=True) +class ToolDescriptionRecommendationConfig(_SerdeShape): + """ + Configuration for generating tool description optimization + recommendations. + """ + + tool_description: ToolDescriptionSource + """The current tool descriptions to optimize.""" + agent_traces: AgentTracesConfig + """ + The agent traces to analyze for generating tool description + recommendations. + """ + +@dataclass(kw_only=True) +class ToolDescriptionRecommendationResult(_SerdeShape): + """ + The result of a tool description recommendation, containing optimized + descriptions. + """ + + tools: list[ToolDescriptionOutput] | None = ... + """The list of tools with their recommended descriptions.""" + configuration_bundle: RecommendationResultConfigurationBundle | None = ... + """ + The configuration bundle containing the recommended tool descriptions, + if the input was sourced from a configuration bundle. + """ + error_code: str | None = ... + """The error code if the recommendation failed.""" + error_message: str | None = ... + """The error message if the recommendation failed.""" + +@dataclass +class ToolDescriptionSourceToolDescriptionText(_SerdeShape): + """Tool descriptions provided as inline text.""" + + value: ToolDescriptionTextInput + +@dataclass +class ToolDescriptionSourceConfigurationBundle(_SerdeShape): + """Tool descriptions sourced from a configuration bundle version.""" + + value: ToolDescriptionConfigurationBundle + +@dataclass +class ToolDescriptionSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ToolDescriptionSource = Union[ + ToolDescriptionSourceToolDescriptionText + | ToolDescriptionSourceConfigurationBundle + | ToolDescriptionSourceUnknown +] +""" +The source of tool descriptions, either inline text or from a +configuration bundle. +""" + +class _ToolDescriptionSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ToolDescriptionSource: ... + +@dataclass(kw_only=True) +class ToolDescriptionTextInput(_SerdeShape): + """Inline tool description input containing a list of tools.""" + + tools: list[ToolDescriptionInput] + """The list of tool descriptions to optimize.""" + +class ToolName(UnknownEnumMixin, StrEnum): + EXECUTE_CODE = "executeCode" + EXECUTE_COMMAND = "executeCommand" + READ_FILES = "readFiles" + LIST_FILES = "listFiles" + REMOVE_FILES = "removeFiles" + WRITE_FILES = "writeFiles" + START_COMMAND_EXECUTION = "startCommandExecution" + GET_TASK = "getTask" + STOP_TASK = "stopTask" + +@dataclass(kw_only=True) +class ToolResultStructuredContent(_SerdeShape): + """Contains structured content from a tool result.""" + + task_id: str | None = ... + """The identifier of the task that produced the result.""" + task_status: str | None = ... + """The status of the task that produced the result.""" + stdout: str | None = ... + """The standard output from the tool execution.""" + stderr: str | None = ... + """The standard error output from the tool execution.""" + exit_code: int | None = ... + """The exit code from the tool execution.""" + execution_time: float | None = ... + """The execution time of the tool operation in milliseconds.""" + +@dataclass(kw_only=True) +class ToolsDefinition(_SerdeShape): + """ + The MCP tools definition with a protocol version and inline content. The + `protocolVersion` identifies the MCP protocol version that the tools + conform to. This differs from `schemaVersion` in the server definition, + which identifies the server configuration schema format. + """ + + protocol_version: str | None = ... + """ + The MCP protocol version that the tools conform to. This differs from + the `schemaVersion` field in the server definition, which identifies the + server configuration schema format. + """ + inline_content: str | None = ... + """The inline content of the tools definition.""" + +@dataclass +class ToolsFileSystemConfigurationS3FilesConfiguration(_SerdeShape): + """ + The configuration for mounting your own Amazon Simple Storage Service + (Amazon S3) Files access point into the session. + """ + + value: S3FilesConfiguration + +@dataclass +class ToolsFileSystemConfigurationEfsConfiguration(_SerdeShape): + """ + The configuration for mounting your own Amazon Elastic File System + (Amazon EFS) access point into the session. + """ + + value: EfsConfiguration + +@dataclass +class ToolsFileSystemConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ToolsFileSystemConfiguration = Union[ + ToolsFileSystemConfigurationS3FilesConfiguration + | ToolsFileSystemConfigurationEfsConfiguration + | ToolsFileSystemConfigurationUnknown +] +""" +Specifies a file system to mount into the session by providing exactly +one of the following: + +- `s3FilesConfiguration` - Mounts an Amazon Simple Storage Service + (Amazon S3) Files access point. + +- `efsConfiguration` - Mounts an Amazon Elastic File System (Amazon EFS) + access point. +""" + +class _ToolsFileSystemConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ToolsFileSystemConfiguration: ... + +@dataclass(kw_only=True) +class UnauthorizedException(ServiceError, _SerdeShape): + """ + This exception is thrown when the JWT bearer token is invalid or not + found for OAuth bearer token based access + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateABTestInput(_SerdeShape): + """Dataclass for UpdateABTestInput structure.""" + + ab_test_id: str | None = ... + """The unique identifier of the A/B test to update.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, the service ignores the request, but does not return an error. + + This field is autopopulated if not provided. + """ + name: str | None = ... + """The updated name of the A/B test.""" + description: str | None = ... + """The updated description of the A/B test.""" + variants: list[Variant] | None = ... + """The updated list of variants.""" + gateway_filter: GatewayFilter | None = ... + """The updated gateway filter.""" + evaluation_config: ABTestEvaluationConfig | None = ... + """The updated evaluation configuration.""" + role_arn: str | None = ... + """The updated IAM role ARN.""" + execution_status: str | None = ... + """The updated execution status to enable or disable the A/B test.""" + +@dataclass(kw_only=True) +class UpdateABTestOutput(_SerdeShape): + """Dataclass for UpdateABTestOutput structure.""" + + ab_test_id: str + """The unique identifier of the updated A/B test.""" + ab_test_arn: str + """The Amazon Resource Name (ARN) of the updated A/B test.""" + status: str + """The status of the A/B test.""" + execution_status: str + """The execution status of the A/B test.""" + updated_at: datetime + """The timestamp when the A/B test was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateBrowserStreamInput(_SerdeShape): + """Dataclass for UpdateBrowserStreamInput structure.""" + + browser_identifier: str | None = ... + """The identifier of the browser.""" + session_id: str | None = ... + """The identifier of the browser session.""" + stream_update: StreamUpdate | None = ... + """The update to apply to the browser stream.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateBrowserStreamOutput(_SerdeShape): + """Dataclass for UpdateBrowserStreamOutput structure.""" + + browser_identifier: str + """The identifier of the browser.""" + session_id: str + """The identifier of the browser session.""" + streams: BrowserSessionStream + """ + The collection of streams associated with a browser session in Amazon + Bedrock AgentCore. These streams provide different ways to interact with + and observe the browser session, including programmatic control and + visual representation of the browser content. + """ + updated_at: datetime + """The time at which the browser stream was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class UserIdentifierUserToken(_SerdeShape): + """ + The OAuth2.0 token issued by the user's identity provider that was used + to generate the workload access token + """ + + value: str + +@dataclass +class UserIdentifierUserId(_SerdeShape): + """ + The ID of the user for whom you have retrieved a workload access token + for + """ + + value: str + +@dataclass +class UserIdentifierUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +UserIdentifier = Union[ + UserIdentifierUserToken | UserIdentifierUserId | UserIdentifierUnknown +] +""" +The OAuth2.0 token or user ID that was used to generate the workload +access token used for initiating the user authorization flow to retrieve +OAuth2.0 tokens. +""" + +class _UserIdentifierDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> UserIdentifier: ... + +@dataclass(kw_only=True) +class UserIntentAffectedSession(_SerdeShape): + """A session associated with a user intent cluster.""" + + session_id: str + """The unique identifier of the session.""" + user_messages: list[str] + """ + The user messages from this session that contributed to the intent + cluster. + """ + +@dataclass(kw_only=True) +class UserIntentCluster(_SerdeShape): + """A cluster of similar user intents identified across sessions.""" + + cluster_id: int + """The unique identifier of the user intent cluster.""" + name: str + """The name of the user intent cluster.""" + description: str + """A description of the user intent pattern.""" + affected_session_count: int + """The number of sessions with this user intent.""" + affected_sessions: list[UserIntentAffectedSession] + """The list of sessions with this user intent.""" + +@dataclass(kw_only=True) +class UserIntentClusteringResultContent(_SerdeShape): + """ + The user intent clustering result containing grouped user intents + identified across evaluated sessions. + """ + + user_intents: list[UserIntentCluster] + """The list of user intent clusters identified across analyzed sessions.""" + +@dataclass(kw_only=True) +class ValidationException(ServiceError, _SerdeShape): + """ + The exception that occurs when the input fails to satisfy the + constraints specified by the service. Check the error message for + details about which input parameter is invalid and correct your request. + """ + + reason: str + field_list: list[ValidationExceptionField] | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ValidationExceptionField(_SerdeShape): + """ + Stores information about a field passed inside a request that resulted + in an exception. + """ + + name: str + """The name of the field.""" + message: str + """A message describing why this field failed validation.""" + +class ValidationExceptionReason(UnknownEnumMixin, StrEnum): + CANNOT_PARSE = "CannotParse" + FIELD_VALIDATION_FAILED = "FieldValidationFailed" + IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION = "IdempotentParameterMismatchException" + ROOT_EVENT_IN_OTHER_SESSION = "EventInOtherSession" + RESOURCE_CONFLICT = "ResourceConflict" + +@dataclass(kw_only=True) +class Variant(_SerdeShape): + """ + A variant in an A/B test, representing either the control (C) or + treatment (T1) configuration. + """ + + name: str + """The name of the variant. Must be `C` for control or `T1` for treatment.""" + weight: int + """ + The percentage of traffic to route to this variant. Weights across all + variants must sum to 100. + """ + variant_configuration: VariantConfiguration + """ + The configuration for this variant, including the configuration bundle + or target reference. + """ + +@dataclass(kw_only=True) +class VariantConfiguration(_SerdeShape): + """The configuration for an A/B test variant.""" + + configuration_bundle: ConfigurationBundleRef | None = ... + """A reference to a configuration bundle version to use for this variant.""" + target: TargetRef | None = ... + """A reference to a gateway target to route traffic to for this variant.""" + +@dataclass(kw_only=True) +class VariantResult(_SerdeShape): + """ + Statistical results for a treatment variant compared against the + control. + """ + + variant_name: str + """The name of the treatment variant.""" + sample_size: int + """The number of sessions evaluated for this variant.""" + mean: float + """The mean evaluation score for this variant.""" + absolute_change: float | None = ... + """The absolute change in mean score compared to the control variant.""" + percent_change: float | None = ... + """The percentage change in mean score compared to the control variant.""" + p_value: float | None = ... + """ + The p-value indicating the statistical significance of the observed + difference. + """ + confidence_interval: ConfidenceInterval | None = ... + """The confidence interval for the observed difference.""" + is_significant: bool + """Whether the observed difference is statistically significant.""" + +@dataclass(kw_only=True) +class ViewPort(_SerdeShape): + """ + The configuration that defines the dimensions of a browser viewport in a + browser session. The viewport determines the visible area of web content + and affects how web pages are rendered and displayed. Proper viewport + configuration ensures that web content is displayed correctly for the + agent's browsing tasks. + """ + + width: int + """ + The width of the viewport in pixels. This value determines the + horizontal dimension of the visible area. Valid values range from 800 to + 1920 pixels. + """ + height: int + """ + The height of the viewport in pixels. This value determines the vertical + dimension of the visible area. Valid values range from 600 to 1080 + pixels. + """ + +@dataclass(kw_only=True) +class WebSearchFilters(_SerdeShape): + """The filters to apply to a web search.""" + + domain_filter: DomainFilter | None = ... + """The domains to include in or exclude from the results.""" + published_date_filter: PublishedDateFilter | None = ... + """The publication time range of the results.""" + +@dataclass(kw_only=True) +class WebSearchResult(_SerdeShape): + """A web search result.""" + + title: str | None = ... + """The title of the page.""" + url: str | None = ... + """The URL of the page.""" + text: str + """A text extract from the page.""" + published_at: datetime | None = ... + """ + The time the page was published. This field is absent when the + publication time is not known. + """ + +@dataclass(kw_only=True) +class Unit(_SerdeShape): + """Dataclass for Unit structure.""" diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas.py index 8ee22c964..7afea3c55 100644 --- a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas.py +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas.py @@ -1,9613 +1,894 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.bedrockagentcore" -_IC = "InlineContent" -_SV = "SchemaVersion" -_ACD = "AgentCardDefinition" -_sV = "schemaVersion" -_iC = "inlineContent" -_AD = "A2aDescriptor" -_aC = "agentCard" -_s = "smithy.api#required" -_ABTA = "ABTestArn" -_ABTD = "ABTestDescription" -_OECA = "OnlineEvaluationConfigArn" -_VN = "VariantName" -_PVOEC = "PerVariantOnlineEvaluationConfig" -_n = "name" -_oECA = "onlineEvaluationConfigArn" -_PVOECL = "PerVariantOnlineEvaluationConfigList" -_m = "member" -_ABTEC = "ABTestEvaluationConfig" -_pVOEC = "perVariantOnlineEvaluationConfig" -_ABTES = "ABTestExecutionStatus" -_PAUSED = "PAUSED" -_sVm = "smithy.api#enumValue" -_RUNNING = "RUNNING" -_STOPPED = "STOPPED" -_NS = "NOT_STARTED" -_ABTI = "ABTestId" -_ABTN = "ABTestName" -_CS = "ControlStats" -_vN = "variantName" -_sS = "sampleSize" -_me = "mean" -_CI = "ConfidenceInterval" -_l = "lower" -_u = "upper" -_VR = "VariantResult" -_aCb = "absoluteChange" -_pC = "percentChange" -_pV = "pValue" -_cI = "confidenceInterval" -_iS = "isSignificant" -_VRL = "VariantResultList" -_EM = "EvaluatorMetric" -_eA = "evaluatorArn" -_cS = "controlStats" -_vR = "variantResults" -_EML = "EvaluatorMetricList" -_ABTR = "ABTestResults" -_aT = "analysisTimestamp" -_eM = "evaluatorMetrics" -_ABTS = "ABTestStatus" -_CREATING = "CREATING" -_ACTIVE = "ACTIVE" -_CF = "CREATE_FAILED" -_UPDATING = "UPDATING" -_UF = "UPDATE_FAILED" -_DELETING = "DELETING" -_DF = "DELETE_FAILED" -_FAILED = "FAILED" -_GA = "GatewayArn" -_ABTSe = "ABTestSummary" -_aTI = "abTestId" -_aTA = "abTestArn" -_st = "status" -_eS = "executionStatus" -_d = "description" -_gA = "gatewayArn" -_cA = "createdAt" -_uA = "updatedAt" -_ABTSL = "ABTestSummaryList" -_NBS = "NonBlankString" -_ADE = "AccessDeniedException" -_sm = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_mes = "message" -_ATT = "AccessTokenType" -_smi = "smithy.api#sensitive" -_AI = "ActorId" -_AS = "ActorSummary" -_aI = "actorId" -_ASL = "ActorSummaryList" -_IFC = "InsightsFailureCategory" -_EEA = "EXECUTION_ERROR_AUTHENTICATION" -_eeca = "execution-error-category-authentication" -_EERNF = "EXECUTION_ERROR_RESOURCE_NOT_FOUND" -_eecrnf = "execution-error-category-resource-not-found" -_EESE = "EXECUTION_ERROR_SERVICE_ERRORS" -_eecse = "execution-error-category-service-errors" -_EERL = "EXECUTION_ERROR_RATE_LIMITING" -_eecrl = "execution-error-category-rate-limiting" -_EEF = "EXECUTION_ERROR_FORMATTING" -_eecf = "execution-error-category-formatting" -_EET = "EXECUTION_ERROR_TIMEOUT" -_eect = "execution-error-category-timeout" -_EERE = "EXECUTION_ERROR_RESOURCE_EXHAUSTION" -_eecre = "execution-error-category-resource-exhaustion" -_EEE = "EXECUTION_ERROR_ENVIRONMENT" -_eece = "execution-error-category-environment" -_EETS = "EXECUTION_ERROR_TOOL_SCHEMA" -_eects = "execution-error-category-tool-schema" -_TINC = "TASK_INSTRUCTION_NON_COMPLIANCE" -_ticnc = "task-instruction-category-non-compliance" -_TIPI = "TASK_INSTRUCTION_PROBLEM_ID" -_ticpi = "task-instruction-category-problem-id" -_IATS = "INCORRECT_ACTIONS_TOOL_SELECTION" -_iacts = "incorrect-actions-category-tool-selection" -_IAPIR = "INCORRECT_ACTIONS_POOR_INFORMATION_RETRIEVAL" -_iacpir = "incorrect-actions-category-poor-information-retrieval" -_IAC = "INCORRECT_ACTIONS_CLARIFICATION" -_iacc = "incorrect-actions-category-clarification" -_IAIIR = "INCORRECT_ACTIONS_INAPPROPRIATE_INFO_REQUEST" -_iaciir = "incorrect-actions-category-inappropriate-info-request" -_CHF = "CONTEXT_HANDLING_FAILURES" -_checchf = "context-handling-error-category-context-handling-failures" -_HC = "HALLUCINATION_CAPABILITIES" -_hchc = "hallucination-category-hall-capabilities" -_HM = "HALLUCINATION_MISUNDERSTAND" -_hchm = "hallucination-category-hall-misunderstand" -_HU = "HALLUCINATION_USAGE" -_hchu = "hallucination-category-hall-usage" -_HH = "HALLUCINATION_HISTORY" -_hchh = "hallucination-category-hall-history" -_HP = "HALLUCINATION_PARAMS" -_hchp = "hallucination-category-hall-params" -_HFTO = "HALLUCINATION_FABRICATE_TOOL_OUTPUTS" -_hcfto = "hallucination-category-fabricate-tool-outputs" -_RBT = "REPETITIVE_BEHAVIOR_TOOL" -_rbcrt = "repetitive-behavior-category-repetition-tool" -_RBI = "REPETITIVE_BEHAVIOR_INFO" -_rbcri = "repetitive-behavior-category-repetition-info" -_RBS = "REPETITIVE_BEHAVIOR_STEP" -_rbcsr = "repetitive-behavior-category-step-repetition" -_ORM = "ORCHESTRATION_REASONING_MISMATCH" -_orecrm = "orchestration-related-errors-category-reasoning-mismatch" -_OGD = "ORCHESTRATION_GOAL_DEVIATION" -_orecgd = "orchestration-related-errors-category-goal-deviation" -_OPT = "ORCHESTRATION_PREMATURE_TERMINATION" -_orecpt = "orchestration-related-errors-category-premature-termination" -_OUT = "ORCHESTRATION_UNAWARE_TERMINATION" -_orecut = "orchestration-related-errors-category-unaware-termination" -_LON = "LLM_OUTPUT_NONSENSICAL" -_locn = "llm-output-category-nonsensical" -_CMTD = "CONFIGURATION_MISMATCH_TOOL_DEFINITION" -_cmctd = "configuration-mismatch-category-tool-definition" -_CECO = "CODING_EDGE_CASE_OVERSIGHTS" -_cucsftceco = "coding-use-case-specific-failure-types-category-edge-case-oversights" -_CDI = "CODING_DEPENDENCY_ISSUES" -_cucsftcdi = "coding-use-case-specific-failure-types-category-dependency-issues" -_OTHER = "OTHER" -_o = "other" -_IFS = "InsightsFailureSignal" -_ca = "category" -_e = "evidence" -_co = "confidence" -_IFSL = "InsightsFailureSignalList" -_FSD = "FailureSpanDetail" -_sI = "spanId" -_tI = "traceId" -_si = "signals" -_FSDL = "FailureSpanDetailList" -_ASf = "AffectedSession" -_sIe = "sessionId" -_ex = "explanation" -_fT = "fixType" -_r = "recommendation" -_fS = "failureSpans" -_ASLf = "AffectedSessionList" -_AC = "AgentCard" -_ST = "SessionType" -_GACI = "GetAgentCardInput" -_sSI = "smithy.synthetic#originalShapeId" -_cGACR = "com.amazonaws.bedrockagentcore#GetAgentCardRequest" -_smit = "smithy.api#input" -_rSI = "runtimeSessionId" -_sH = "smithy.api#httpHeader" -_XABARSI = "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id" -_sT = "smithy.api#idempotencyToken" -_aRA = "agentRuntimeArn" -_sL = "smithy.api#httpLabel" -_q = "qualifier" -_sQ = "smithy.api#httpQuery" -_SI = "SessionId" -_HRC = "HttpResponseCode" -_GACO = "GetAgentCardOutput" -_cGACRo = "com.amazonaws.bedrockagentcore#GetAgentCardResponse" -_smith = "smithy.api#output" -_sP = "smithy.api#httpPayload" -_sC = "statusCode" -_sRC = "smithy.api#httpResponseCode" -_ISE = "InternalServerException" -_se = "server" -_RNFE = "ResourceNotFoundException" -_RCE = "RetryableConflictException" -_RCEu = "RuntimeClientError" -_SQEE = "ServiceQuotaExceededException" -_TE = "ThrottlingException" -_VEF = "ValidationExceptionField" -_VEFL = "ValidationExceptionFieldList" -_VER = "ValidationExceptionReason" -_CP = "CANNOT_PARSE" -_CPa = "CannotParse" -_FVF = "FIELD_VALIDATION_FAILED" -_FVFi = "FieldValidationFailed" -_IPME = "IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION" -_IPMEd = "IdempotentParameterMismatchException" -_REIOS = "ROOT_EVENT_IN_OTHER_SESSION" -_EIOS = "EventInOtherSession" -_RC = "RESOURCE_CONFLICT" -_RCe = "ResourceConflict" -_VE = "ValidationException" -_re = "reason" -_fL = "fieldList" -_GAC = "GetAgentCard" -_smithy = "smithy.api#http" -_MT = "MimeType" -_STt = "StringType" -_B = "Body" -_IARI = "InvokeAgentRuntimeInput" -_cIARR = "com.amazonaws.bedrockagentcore#InvokeAgentRuntimeRequest" -_cT = "contentType" -_CT = "Content-Type" -_a = "accept" -_A = "Accept" -_mSI = "mcpSessionId" -_MSI = "Mcp-Session-Id" -_mPV = "mcpProtocolVersion" -_MPV = "Mcp-Protocol-Version" -_mM = "mcpMethod" -_MM = "Mcp-Method" -_mN = "mcpName" -_MN = "Mcp-Name" -_rUI = "runtimeUserId" -_XABARUI = "X-Amzn-Bedrock-AgentCore-Runtime-User-Id" -_XATI = "X-Amzn-Trace-Id" -_tP = "traceParent" -_t = "traceparent" -_tS = "traceState" -_tr = "tracestate" -_b = "baggage" -_aIc = "accountId" -_p = "payload" -_RS = "ResponseStream" -_smithya = "smithy.api#streaming" -_IARO = "InvokeAgentRuntimeOutput" -_cIARRo = "com.amazonaws.bedrockagentcore#InvokeAgentRuntimeResponse" -_sEU = "sessionEndpointUrl" -_XABARSEU = "X-Amzn-Bedrock-AgentCore-Runtime-Session-Endpoint-Url" -_res = "response" -_smithyap = "smithy.api#default" -_v = "" -_IAR = "InvokeAgentRuntime" -_IARCRB = "InvokeAgentRuntimeCommandRequestBody" -_com = "command" -_ti = "timeout" -_IARCI = "InvokeAgentRuntimeCommandInput" -_cIARCR = "com.amazonaws.bedrockagentcore#InvokeAgentRuntimeCommandRequest" -_bo = "body" -_CDE = "ContentDeltaEvent" -_std = "stdout" -_stde = "stderr" -_CSE = "ContentStartEvent" -_CES = "CommandExecutionStatus" -_COMPLETED = "COMPLETED" -_TO = "TIMED_OUT" -_CSEo = "ContentStopEvent" -_eC = "exitCode" -_RCes = "ResponseChunk" -_cSo = "contentStart" -_cD = "contentDelta" -_cSon = "contentStop" -_IARCSO = "InvokeAgentRuntimeCommandStreamOutput" -_ch = "chunk" -_aDE = "accessDeniedException" -_iSE = "internalServerException" -_rNFE = "resourceNotFoundException" -_sQEE = "serviceQuotaExceededException" -_tE = "throttlingException" -_vE = "validationException" -_rCE = "runtimeClientError" -_IARCO = "InvokeAgentRuntimeCommandOutput" -_cIARCRo = "com.amazonaws.bedrockagentcore#InvokeAgentRuntimeCommandResponse" -_str = "stream" -_IARC = "InvokeAgentRuntimeCommand" -_CE = "ConflictException" -_CTl = "ClientToken" -_SRSI = "StopRuntimeSessionInput" -_cSRSR = "com.amazonaws.bedrockagentcore#StopRuntimeSessionRequest" -_cTl = "clientToken" -_SRSO = "StopRuntimeSessionOutput" -_cSRSRo = "com.amazonaws.bedrockagentcore#StopRuntimeSessionResponse" -_UE = "UnauthorizedException" -_SRS = "StopRuntimeSession" -_SD = "SkillDefinition" -_SMD = "SkillMdDefinition" -_ASD = "AgentSkillsDescriptor" -_sM = "skillMd" -_sD = "skillDefinition" -_BEA = "BatchEvaluationArn" -_BETC = "BatchEvaluationTraceConfig" -_bEA = "batchEvaluationArn" -_LGAL = "LogGroupArnList" -_CWLFO = "CloudWatchLogsFilterOperator" -_EQUALS = "EQUALS" -_E = "Equals" -_NE = "NOT_EQUALS" -_NEo = "NotEquals" -_GT = "GREATER_THAN" -_GTr = "GreaterThan" -_LT = "LESS_THAN" -_LTe = "LessThan" -_GTOE = "GREATER_THAN_OR_EQUAL" -_GTOEr = "GreaterThanOrEqual" -_LTOE = "LESS_THAN_OR_EQUAL" -_LTOEe = "LessThanOrEqual" -_CONTAINS = "CONTAINS" -_C = "Contains" -_NC = "NOT_CONTAINS" -_NCo = "NotContains" -_FSV = "FilterStringValue" -_FV = "FilterValue" -_sVt = "stringValue" -_dV = "doubleValue" -_bV = "booleanValue" -_CWLF = "CloudWatchLogsFilter" -_k = "key" -_op = "operator" -_va = "value" -_CWLFL = "CloudWatchLogsFilterList" -_CWLR = "CloudWatchLogsRule" -_f = "filters" -_SN = "ServiceName" -_SNL = "ServiceNameList" -_CWLTC = "CloudWatchLogsTraceConfig" -_lGA = "logGroupArns" -_sN = "serviceNames" -_sTt = "startTime" -_sF = "smithy.api#timestampFormat" -_dt = "date-time" -_eT = "endTime" -_ru = "rule" -_OETC = "OnlineEvaluationTraceConfig" -_S = "Span" -_Sp = "Spans" -_ATC = "AgentTracesConfig" -_sSe = "sessionSpans" -_cL = "cloudwatchLogs" -_bE = "batchEvaluation" -_oE = "onlineEvaluation" -_BPI = "BrowserProfileId" -_BSI = "BrowserSessionId" -_SBSPI = "SaveBrowserSessionProfileInput" -_cSBSPR = "com.amazonaws.bedrockagentcore#SaveBrowserSessionProfileRequest" -_pI = "profileIdentifier" -_bI = "browserIdentifier" -_DT = "DateTimestamp" -_SBSPO = "SaveBrowserSessionProfileOutput" -_cSBSPRo = "com.amazonaws.bedrockagentcore#SaveBrowserSessionProfileResponse" -_lUA = "lastUpdatedAt" -_SBSP = "SaveBrowserSessionProfile" -_GBSI = "GetBrowserSessionInput" -_cGBSR = "com.amazonaws.bedrockagentcore#GetBrowserSessionRequest" -_SA = "SecretArn" -_SML = "SecretsManagerLocation" -_sA = "secretArn" -_CL = "CertificateLocation" -_sMe = "secretsManager" -_Ce = "Certificate" -_lo = "location" -_Cer = "Certificates" -_SL = "S3Location" -_bu = "bucket" -_pr = "prefix" -_vI = "versionId" -_RL = "ResourceLocation" -_s_ = "s3" -_BEPT = "BrowserEnterprisePolicyType" -_MANAGED = "MANAGED" -_RECOMMENDED = "RECOMMENDED" -_BEP = "BrowserEnterprisePolicy" -_ty = "type" -_BEPr = "BrowserEnterprisePolicies" -_BE = "BrowserExtension" -_BEr = "BrowserExtensions" -_EAPA = "EfsAccessPointArn" -_EFSA = "EfsFileSystemArn" -_MP = "MountPath" -_EC = "EfsConfiguration" -_aPA = "accessPointArn" -_mP = "mountPath" -_fSA = "fileSystemArn" -_SFAPA = "S3FilesAccessPointArn" -_SFFSA = "S3FilesFileSystemArn" -_SFC = "S3FilesConfiguration" -_TFSC = "ToolsFileSystemConfiguration" -_sFC = "s3FilesConfiguration" -_eCf = "efsConfiguration" -_TFSCo = "ToolsFileSystemConfigurations" -_N = "Name" -_BPC = "BrowserProfileConfiguration" -_DP = "DomainPattern" -_DPo = "DomainPatterns" -_PB = "ProxyBypass" -_dP = "domainPatterns" -_BA = "BasicAuth" -_PC = "ProxyCredentials" -_bA = "basicAuth" -_HN = "HostName" -_EP = "ExternalProxy" -_po = "port" -_cr = "credentials" -_P = "Proxy" -_eP = "externalProxy" -_Pr = "Proxies" -_PCr = "ProxyConfiguration" -_pro = "proxies" -_by = "bypass" -_BST = "BrowserSessionTimeout" -_BSS = "BrowserSessionStatus" -_READY = "READY" -_TERMINATED = "TERMINATED" -_BSE = "BrowserStreamEndpoint" -_ASS = "AutomationStreamStatus" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_ASu = "AutomationStream" -_sEt = "streamEndpoint" -_sSt = "streamStatus" -_LVS = "LiveViewStream" -_BSSr = "BrowserSessionStream" -_aS = "automationStream" -_lVS = "liveViewStream" -_VPH = "ViewPortHeight" -_VPW = "ViewPortWidth" -_VP = "ViewPort" -_w = "width" -_h = "height" -_GBSO = "GetBrowserSessionOutput" -_cGBSRo = "com.amazonaws.bedrockagentcore#GetBrowserSessionResponse" -_vP = "viewPort" -_ext = "extensions" -_ePn = "enterprisePolicies" -_pCr = "profileConfiguration" -_sTS = "sessionTimeoutSeconds" -_stre = "streams" -_pCro = "proxyConfiguration" -_ce = "certificates" -_fC = "filesystemConfigurations" -_sRA = "sessionReplayArtifact" -_GBS = "GetBrowserSession" -_KPA = "KeyPressArguments" -_pre = "presses" -_KL = "KeyList" -_KSA = "KeyShortcutArguments" -_ke = "keys" -_KTA = "KeyTypeArguments" -_te = "text" -_MB = "MouseButton" -_LEFT = "LEFT" -_RIGHT = "RIGHT" -_MIDDLE = "MIDDLE" -_MCA = "MouseClickArguments" -_x = "x" -_y = "y" -_but = "button" -_cC = "clickCount" -_MDA = "MouseDragArguments" -_eX = "endX" -_eY = "endY" -_sX = "startX" -_sY = "startY" -_MMA = "MouseMoveArguments" -_MSA = "MouseScrollArguments" -_dX = "deltaX" -_dY = "deltaY" -_SF = "ScreenshotFormat" -_PNG = "PNG" -_SAc = "ScreenshotArguments" -_fo = "format" -_BAr = "BrowserAction" -_mC = "mouseClick" -_mMo = "mouseMove" -_mD = "mouseDrag" -_mS = "mouseScroll" -_kT = "keyType" -_kP = "keyPress" -_kS = "keyShortcut" -_sc = "screenshot" -_IBI = "InvokeBrowserInput" -_cIBR = "com.amazonaws.bedrockagentcore#InvokeBrowserRequest" -_xabsi = "x-amzn-browser-session-id" -_ac = "action" -_BAS = "BrowserActionStatus" -_SUCCESS = "SUCCESS" -_KPR = "KeyPressResult" -_er = "error" -_KSR = "KeyShortcutResult" -_KTR = "KeyTypeResult" -_MCR = "MouseClickResult" -_MDR = "MouseDragResult" -_MMR = "MouseMoveResult" -_MSR = "MouseScrollResult" -_SR = "ScreenshotResult" -_da = "data" -_BAR = "BrowserActionResult" -_IBO = "InvokeBrowserOutput" -_cIBRo = "com.amazonaws.bedrockagentcore#InvokeBrowserResponse" -_resu = "result" -_IB = "InvokeBrowser" -_MR = "MaxResults" -_NT = "NextToken" -_LBSI = "ListBrowserSessionsInput" -_cLBSR = "com.amazonaws.bedrockagentcore#ListBrowserSessionsRequest" -_mR = "maxResults" -_nT = "nextToken" -_BSSro = "BrowserSessionSummary" -_BSSrow = "BrowserSessionSummaries" -_LBSO = "ListBrowserSessionsOutput" -_cLBSRo = "com.amazonaws.bedrockagentcore#ListBrowserSessionsResponse" -_i = "items" -_LBS = "ListBrowserSessions" -_SBSI = "StartBrowserSessionInput" -_cSBSR = "com.amazonaws.bedrockagentcore#StartBrowserSessionRequest" -_SBSO = "StartBrowserSessionOutput" -_cSBSRo = "com.amazonaws.bedrockagentcore#StartBrowserSessionResponse" -_SBS = "StartBrowserSession" -_SBSIt = "StopBrowserSessionInput" -_cSBSRom = "com.amazonaws.bedrockagentcore#StopBrowserSessionRequest" -_SBSOt = "StopBrowserSessionOutput" -_cSBSRoma = "com.amazonaws.bedrockagentcore#StopBrowserSessionResponse" -_SBSt = "StopBrowserSession" -_ASU = "AutomationStreamUpdate" -_SU = "StreamUpdate" -_aSU = "automationStreamUpdate" -_UBSI = "UpdateBrowserStreamInput" -_cUBSR = "com.amazonaws.bedrockagentcore#UpdateBrowserStreamRequest" -_sU = "streamUpdate" -_UBSO = "UpdateBrowserStreamOutput" -_cUBSRo = "com.amazonaws.bedrockagentcore#UpdateBrowserStreamResponse" -_UBS = "UpdateBrowserStream" -_CPI = "CapacityProviderId" -_DCPSI = "DeleteCapacityProviderSessionInput" -_cDCPSR = "com.amazonaws.bedrockagentcore#DeleteCapacityProviderSessionRequest" -_cPI = "capacityProviderId" -_CPA = "CapacityProviderArn" -_CPSS = "CapacityProviderSessionStatus" -_PROVISIONING = "PROVISIONING" -_Pro = "Provisioning" -_DEPROVISIONING = "DEPROVISIONING" -_D = "Deprovisioning" -_Ac = "Active" -_De = "Deleting" -_DELETED = "DELETED" -_Del = "Deleted" -_St = "Stopped" -_DCPSO = "DeleteCapacityProviderSessionOutput" -_cDCPSRo = "com.amazonaws.bedrockagentcore#DeleteCapacityProviderSessionResponse" -_cPA = "capacityProviderArn" -_DCPS = "DeleteCapacityProviderSession" -_CISI = "CodeInterpreterSessionId" -_GCISI = "GetCodeInterpreterSessionInput" -_cGCISR = "com.amazonaws.bedrockagentcore#GetCodeInterpreterSessionRequest" -_cII = "codeInterpreterIdentifier" -_CIST = "CodeInterpreterSessionTimeout" -_CISS = "CodeInterpreterSessionStatus" -_GCISO = "GetCodeInterpreterSessionOutput" -_cGCISRo = "com.amazonaws.bedrockagentcore#GetCodeInterpreterSessionResponse" -_GCIS = "GetCodeInterpreterSession" -_LCISI = "ListCodeInterpreterSessionsInput" -_cLCISR = "com.amazonaws.bedrockagentcore#ListCodeInterpreterSessionsRequest" -_CISSo = "CodeInterpreterSessionSummary" -_CISSod = "CodeInterpreterSessionSummaries" -_LCISO = "ListCodeInterpreterSessionsOutput" -_cLCISRo = "com.amazonaws.bedrockagentcore#ListCodeInterpreterSessionsResponse" -_LCIS = "ListCodeInterpreterSessions" -_SCISI = "StartCodeInterpreterSessionInput" -_cSCISR = "com.amazonaws.bedrockagentcore#StartCodeInterpreterSessionRequest" -_SCISO = "StartCodeInterpreterSessionOutput" -_cSCISRo = "com.amazonaws.bedrockagentcore#StartCodeInterpreterSessionResponse" -_SCIS = "StartCodeInterpreterSession" -_SCISIt = "StopCodeInterpreterSessionInput" -_cSCISRom = "com.amazonaws.bedrockagentcore#StopCodeInterpreterSessionRequest" -_SCISOt = "StopCodeInterpreterSessionOutput" -_cSCISRoma = "com.amazonaws.bedrockagentcore#StopCodeInterpreterSessionResponse" -_SCISt = "StopCodeInterpreterSession" -_RU = "RequestUri" -_UIT = "UserIdType" -_UTT = "UserTokenType" -_UI = "UserIdentifier" -_uT = "userToken" -_uI = "userId" -_CRTAI = "CompleteResourceTokenAuthInput" -_cCRTAR = "com.amazonaws.bedrockagentcore#CompleteResourceTokenAuthRequest" -_uIs = "userIdentifier" -_sUe = "sessionUri" -_CRTAO = "CompleteResourceTokenAuthOutput" -_cCRTARo = "com.amazonaws.bedrockagentcore#CompleteResourceTokenAuthResponse" -_CRTA = "CompleteResourceTokenAuth" -_PP = "PathPattern" -_TPL = "TargetPathList" -_GF = "GatewayFilter" -_tPa = "targetPaths" -_RA = "RoleArn" -_TK = "TagKey" -_TV = "TagValue" -_TM = "TagsMap" -_CBA = "ConfigurationBundleArn" -_CBV = "ConfigurationBundleVersion" -_CBR = "ConfigurationBundleRef" -_bAu = "bundleArn" -_bVu = "bundleVersion" -_TN = "TargetName" -_TR = "TargetRef" -_VC = "VariantConfiguration" -_cB = "configurationBundle" -_ta = "target" -_V = "Variant" -_we = "weight" -_vC = "variantConfiguration" -_VL = "VariantList" -_CABTI = "CreateABTestInput" -_cCABTR = "com.amazonaws.bedrockagentcore#CreateABTestRequest" -_var = "variants" -_gF = "gatewayFilter" -_eCv = "evaluationConfig" -_rA = "roleArn" -_eOC = "enableOnCreate" -_tag = "tags" -_CABTO = "CreateABTestOutput" -_cCABTRo = "com.amazonaws.bedrockagentcore#CreateABTestResponse" -_CABT = "CreateABTest" -_DABTI = "DeleteABTestInput" -_cDABTR = "com.amazonaws.bedrockagentcore#DeleteABTestRequest" -_DABTO = "DeleteABTestOutput" -_cDABTRo = "com.amazonaws.bedrockagentcore#DeleteABTestResponse" -_DABT = "DeleteABTest" -_BEI = "BatchEvaluationId" -_DBEI = "DeleteBatchEvaluationInput" -_cDBER = "com.amazonaws.bedrockagentcore#DeleteBatchEvaluationRequest" -_bEI = "batchEvaluationId" -_BES = "BatchEvaluationStatus" -_PENDING = "PENDING" -_IP = "IN_PROGRESS" -_CWE = "COMPLETED_WITH_ERRORS" -_STOPPING = "STOPPING" -_DBEO = "DeleteBatchEvaluationOutput" -_cDBERo = "com.amazonaws.bedrockagentcore#DeleteBatchEvaluationResponse" -_DBE = "DeleteBatchEvaluation" -_RI = "RecommendationId" -_DRI = "DeleteRecommendationInput" -_cDRR = "com.amazonaws.bedrockagentcore#DeleteRecommendationRequest" -_rI = "recommendationId" -_RSe = "RecommendationStatus" -_DRO = "DeleteRecommendationOutput" -_cDRRo = "com.amazonaws.bedrockagentcore#DeleteRecommendationResponse" -_DR = "DeleteRecommendation" -_DIE = "DuplicateIdException" -_EI = "EvaluationInput" -_ECv = "EvaluationContent" -_ECL = "EvaluationContentList" -_SC = "SpanContext" -_Co = "Context" -_sCp = "spanContext" -_ETN = "EvaluationToolName" -_ETNv = "EvaluationToolNames" -_EETv = "EvaluationExpectedTrajectory" -_tN = "toolNames" -_ERI = "EvaluationReferenceInput" -_con = "context" -_eR = "expectedResponse" -_as = "assertions" -_eTx = "expectedTrajectory" -_ERIv = "EvaluationReferenceInputs" -_SIp = "SpanId" -_SIpa = "SpanIds" -_TI = "TraceId" -_TIr = "TraceIds" -_ET = "EvaluationTarget" -_sIp = "spanIds" -_tIr = "traceIds" -_EIv = "EvaluatorId" -_EIva = "EvaluateInput" -_cER = "com.amazonaws.bedrockagentcore#EvaluateRequest" -_eI = "evaluatorId" -_eIv = "evaluationInput" -_eTv = "evaluationTarget" -_eRI = "evaluationReferenceInputs" -_EEC = "EvaluationErrorCode" -_EEM = "EvaluationErrorMessage" -_EDN = "EvaluationDimensionName" -_EA = "EvaluatorArn" -_EN = "EvaluatorName" -_EE = "EvaluationExplanation" -_IRIF = "IgnoredReferenceInputField" -_IRIFg = "IgnoredReferenceInputFields" -_TU = "TokenUsage" -_iT = "inputTokens" -_oT = "outputTokens" -_tT = "totalTokens" -_ERC = "EvaluationResultContent" -_eN = "evaluatorName" -_eDN = "evaluationDimensionName" -_la = "label" -_tU = "tokenUsage" -_eMr = "errorMessage" -_eCr = "errorCode" -_iRIF = "ignoredReferenceInputFields" -_ER = "EvaluationResults" -_EO = "EvaluateOutput" -_cERo = "com.amazonaws.bedrockagentcore#EvaluateResponse" -_eRv = "evaluationResults" -_Ev = "Evaluate" -_GABTI = "GetABTestInput" -_cGABTR = "com.amazonaws.bedrockagentcore#GetABTestRequest" -_EDL = "ErrorDetailsList" -_GABTO = "GetABTestOutput" -_cGABTRo = "com.amazonaws.bedrockagentcore#GetABTestResponse" -_cRI = "currentRunId" -_eD = "errorDetails" -_sAt = "startedAt" -_sAto = "stoppedAt" -_mDEA = "maxDurationExpiresAt" -_resul = "results" -_GABT = "GetABTest" -_GBEI = "GetBatchEvaluationInput" -_cGBER = "com.amazonaws.bedrockagentcore#GetBatchEvaluationRequest" -_BEN = "BatchEvaluationName" -_ESL = "EvaluationStringList" -_TIL = "TraceIdList" -_STI = "SessionTraceIds" -_STIL = "SessionTraceIdsList" -_SFCe = "SessionFilterConfig" -_CWFC = "CloudWatchFilterConfig" -_sIes = "sessionIds" -_tR = "timeRange" -_sTI = "sessionTraceIds" -_LGNP = "LogGroupNamePrefix" -_LGNPL = "LogGroupNamePrefixList" -_LGN = "LogGroupName" -_LGNL = "LogGroupNameList" -_CWLS = "CloudWatchLogsSource" -_lGN = "logGroupNames" -_lGNP = "logGroupNamePrefixes" -_fCi = "filterConfig" -_OECS = "OnlineEvaluationConfigSource" -_DSC = "DataSourceConfig" -_cWL = "cloudWatchLogs" -_oECS = "onlineEvaluationConfigSource" -_BED = "BatchEvaluationDescription" -_ES = "EvaluatorStatistics" -_aSv = "averageScore" -_ESv = "EvaluatorSummary" -_sta = "statistics" -_tEo = "totalEvaluated" -_tF = "totalFailed" -_ESLv = "EvaluatorSummaryList" -_EJR = "EvaluationJobResults" -_nOSC = "numberOfSessionsCompleted" -_nOSIP = "numberOfSessionsInProgress" -_nOSF = "numberOfSessionsFailed" -_tNOS = "totalNumberOfSessions" -_nOSI = "numberOfSessionsIgnored" -_eSv = "evaluatorSummaries" -_Eva = "Evaluator" -_EL = "EvaluatorList" -_ESAS = "ExecutionSummaryAffectedSession" -_aTp = "approachTaken" -_fO = "finalOutcome" -_ESASL = "ExecutionSummaryAffectedSessionList" -_ESC = "ExecutionSummaryCluster" -_cIl = "clusterId" -_aSC = "affectedSessionCount" -_aSf = "affectedSessions" -_ESCL = "ExecutionSummaryClusterList" -_ESCRC = "ExecutionSummaryClusteringResultContent" -_eSx = "executionSummaries" -_RCC = "RootCauseCluster" -_rC = "rootCause" -_RCCL = "RootCauseClusterList" -_FSCC = "FailureSubCategoryCluster" -_rCo = "rootCauses" -_FSCCL = "FailureSubCategoryClusterList" -_FCC = "FailureCategoryCluster" -_sCu = "subCategories" -_FCCL = "FailureCategoryClusterList" -_FARC = "FailureAnalysisResultContent" -_fa = "failures" -_ID = "InsightDescription" -_IN = "InsightName" -_RCEo = "RootCauseExplanation" -_RCN = "RootCauseName" -_FD = "FindingDescription" -_FTI = "FindingTargetId" -_FTT = "FindingTargetType" -_SI_ = "SPAN_ID" -_TI_ = "TRACE_ID" -_SN_ = "SPAN_NAME" -_SFe = "SessionFinding" -_tIa = "targetId" -_tTa = "targetType" -_SFL = "SessionFindingList" -_SS = "SampleSession" -_lSA = "lastSeenAt" -_fi = "findings" -_ISSL = "InsightSampleSessionList" -_SFu = "SuggestedFix" -_IRC = "InsightRootCause" -_sFu = "suggestedFix" -_sSa = "sampleSessions" -_IRCL = "InsightRootCauseList" -_IT = "InsightType" -_FAILURE = "FAILURE" -_IR = "InsightResult" -_IRL = "InsightResultList" -_II = "InsightId" -_I = "Insight" -_iI = "insightId" -_IL = "InsightList" -_KKA = "KmsKeyArn" -_OLGN = "OptionalLogGroupName" -_LSN = "LogStreamName" -_MNe = "MetricsNamespace" -_RD = "ResultDestination" -_DLG = "DEDICATED_LOG_GROUP" -_SLG = "SOURCE_LOG_GROUP" -_CWOC = "CloudWatchOutputConfig" -_lGNo = "logGroupName" -_lSN = "logStreamName" -_mNe = "metricsNamespace" -_rD = "resultDestination" -_OC = "OutputConfig" -_cWC = "cloudWatchConfig" -_UIL = "UserIntentList" -_UIAS = "UserIntentAffectedSession" -_uM = "userMessages" -_UIASL = "UserIntentAffectedSessionList" -_UIC = "UserIntentCluster" -_UICL = "UserIntentClusterList" -_UICRC = "UserIntentClusteringResultContent" -_uIse = "userIntents" -_GBEO = "GetBatchEvaluationOutput" -_cGBERo = "com.amazonaws.bedrockagentcore#GetBatchEvaluationResponse" -_bEN = "batchEvaluationName" -_ev = "evaluators" -_in = "insights" -_dSC = "dataSourceConfig" -_oC = "outputConfig" -_iR = "insightResults" -_fAR = "failureAnalysisResult" -_uIR = "userIntentResult" -_eSR = "executionSummaryResult" -_kKA = "kmsKeyArn" -_GBE = "GetBatchEvaluation" -_GRI = "GetRecommendationInput" -_cGRR = "com.amazonaws.bedrockagentcore#GetRecommendationRequest" -_RDe = "RecommendationDescription" -_RN = "RecommendationName" -_RAe = "RecommendationArn" -_RER = "RecommendationEvaluatorReference" -_REL = "RecommendationEvaluatorList" -_REC = "RecommendationEvaluationConfig" -_CBVI = "ConfigurationBundleVersionId" -_SPCB = "SystemPromptConfigurationBundle" -_sPJP = "systemPromptJsonPath" -_SPT = "SystemPromptText" -_SPC = "SystemPromptConfig" -_SPRC = "SystemPromptRecommendationConfig" -_sPy = "systemPrompt" -_aTg = "agentTraces" -_RTN = "RecommendationToolName" -_CBTE = "ConfigurationBundleToolEntry" -_tNo = "toolName" -_tDJP = "toolDescriptionJsonPath" -_CBTEL = "ConfigurationBundleToolEntryList" -_TDCB = "ToolDescriptionConfigurationBundle" -_to = "tools" -_TDT = "ToolDescriptionText" -_TDC = "ToolDescriptionConfig" -_TDI = "ToolDescriptionInput" -_tD = "toolDescription" -_TDL = "ToolDescriptionList" -_TDTI = "ToolDescriptionTextInput" -_TDS = "ToolDescriptionSource" -_tDT = "toolDescriptionText" -_TDRC = "ToolDescriptionRecommendationConfig" -_RCec = "RecommendationConfig" -_sPRC = "systemPromptRecommendationConfig" -_tDRC = "toolDescriptionRecommendationConfig" -_RRCB = "RecommendationResultConfigurationBundle" -_RECe = "RecommendationErrorCode" -_REM = "RecommendationErrorMessage" -_RE = "RecommendationExplanation" -_SPRR = "SystemPromptRecommendationResult" -_rSP = "recommendedSystemPrompt" -_TDO = "ToolDescriptionOutput" -_rTD = "recommendedToolDescription" -_TDRL = "ToolDescriptionResultList" -_TDRR = "ToolDescriptionRecommendationResult" -_RR = "RecommendationResult" -_sPRR = "systemPromptRecommendationResult" -_tDRR = "toolDescriptionRecommendationResult" -_RT = "RecommendationType" -_SPR = "SYSTEM_PROMPT_RECOMMENDATION" -_TDR = "TOOL_DESCRIPTION_RECOMMENDATION" -_GRO = "GetRecommendationOutput" -_cGRRo = "com.amazonaws.bedrockagentcore#GetRecommendationResponse" -_rAe = "recommendationArn" -_rCe = "recommendationConfig" -_rR = "recommendationResult" -_GR = "GetRecommendation" -_LABTI = "ListABTestsInput" -_cLABTR = "com.amazonaws.bedrockagentcore#ListABTestsRequest" -_LABTO = "ListABTestsOutput" -_cLABTRo = "com.amazonaws.bedrockagentcore#ListABTestsResponse" -_aTb = "abTests" -_LABT = "ListABTests" -_LBEI = "ListBatchEvaluationsInput" -_cLBER = "com.amazonaws.bedrockagentcore#ListBatchEvaluationsRequest" -_BESa = "BatchEvaluationSummary" -_BESL = "BatchEvaluationSummaryList" -_LBEO = "ListBatchEvaluationsOutput" -_cLBERo = "com.amazonaws.bedrockagentcore#ListBatchEvaluationsResponse" -_bEa = "batchEvaluations" -_LBE = "ListBatchEvaluations" -_LRI = "ListRecommendationsInput" -_cLRR = "com.amazonaws.bedrockagentcore#ListRecommendationsRequest" -_sFt = "statusFilter" -_RSec = "RecommendationSummary" -_RSL = "RecommendationSummaryList" -_LRO = "ListRecommendationsOutput" -_cLRRo = "com.amazonaws.bedrockagentcore#ListRecommendationsResponse" -_rS = "recommendationSummaries" -_LR = "ListRecommendations" -_GTTI = "GroundTruthTurnInput" -_prom = "prompt" -_GTT = "GroundTruthTurn" -_inp = "input" -_GTTL = "GroundTruthTurnList" -_IGT = "InlineGroundTruth" -_tu = "turns" -_GTS = "GroundTruthSource" -_inl = "inline" -_SM = "StringMap" -_SMS = "SessionMetadataShape" -_tSI = "testScenarioId" -_gT = "groundTruth" -_met = "metadata" -_SMLe = "SessionMetadataList" -_EMv = "EvaluationMetadata" -_sMes = "sessionMetadata" -_SBEI = "StartBatchEvaluationInput" -_cSBER = "com.amazonaws.bedrockagentcore#StartBatchEvaluationRequest" -_eMv = "evaluationMetadata" -_SBEO = "StartBatchEvaluationOutput" -_cSBERo = "com.amazonaws.bedrockagentcore#StartBatchEvaluationResponse" -_SBE = "StartBatchEvaluation" -_SRI = "StartRecommendationInput" -_cSRR = "com.amazonaws.bedrockagentcore#StartRecommendationRequest" -_SRO = "StartRecommendationOutput" -_cSRRo = "com.amazonaws.bedrockagentcore#StartRecommendationResponse" -_SRt = "StartRecommendation" -_SBEIt = "StopBatchEvaluationInput" -_cSBERom = "com.amazonaws.bedrockagentcore#StopBatchEvaluationRequest" -_SBEOt = "StopBatchEvaluationOutput" -_cSBERoma = "com.amazonaws.bedrockagentcore#StopBatchEvaluationResponse" -_SBEt = "StopBatchEvaluation" -_UABTI = "UpdateABTestInput" -_cUABTR = "com.amazonaws.bedrockagentcore#UpdateABTestRequest" -_UABTO = "UpdateABTestOutput" -_cUABTRo = "com.amazonaws.bedrockagentcore#UpdateABTestResponse" -_UABT = "UpdateABTest" -_CPN = "CredentialProviderName" -_WITT = "WorkloadIdentityTokenType" -_GRAKI = "GetResourceApiKeyInput" -_cGRAKR = "com.amazonaws.bedrockagentcore#GetResourceApiKeyRequest" -_wIT = "workloadIdentityToken" -_rCPN = "resourceCredentialProviderName" -_AKT = "ApiKeyType" -_GRAKO = "GetResourceApiKeyOutput" -_cGRAKRo = "com.amazonaws.bedrockagentcore#GetResourceApiKeyResponse" -_aK = "apiKey" -_GRAK = "GetResourceApiKey" -_AT = "AudienceType" -_ALT = "AudiencesListType" -_CRKT = "CustomRequestKeyType" -_CRVT = "CustomRequestValueType" -_CRPT = "CustomRequestParametersType" -_Sta = "State" -_OFT = "Oauth2FlowType" -_UF_ = "USER_FEDERATION" -_MM_ = "M2M" -_OBOTE = "ON_BEHALF_OF_TOKEN_EXCHANGE" -_RORUT = "ResourceOauth2ReturnUrlType" -_RTe = "ResourceType" -_RLT = "ResourcesListType" -_STc = "ScopeType" -_SLT = "ScopesListType" -_GROTI = "GetResourceOauth2TokenInput" -_cGROTR = "com.amazonaws.bedrockagentcore#GetResourceOauth2TokenRequest" -_sco = "scopes" -_oF = "oauth2Flow" -_rORU = "resourceOauth2ReturnUrl" -_fA = "forceAuthentication" -_cP = "customParameters" -_cSu = "customState" -_reso = "resources" -_au = "audiences" -_AUT = "AuthorizationUrlType" -_SSe = "SessionStatus" -_GROTO = "GetResourceOauth2TokenOutput" -_cGROTRo = "com.amazonaws.bedrockagentcore#GetResourceOauth2TokenResponse" -_aU = "authorizationUrl" -_aTc = "accessToken" -_sSes = "sessionStatus" -_GROT = "GetResourceOauth2Token" -_CCPRBT = "CoinbaseCdpPaymentRequestBodyType" -_PRHT = "PaymentRequestHostType" -_PHMT = "PaymentHttpMethodType" -_GET = "GET" -_POST = "POST" -_PUT = "PUT" -_DELETE = "DELETE" -_PATCH = "PATCH" -_PRPT = "PaymentRequestPathType" -_CCTRI = "CoinbaseCdpTokenRequestInput" -_rM = "requestMethod" -_rH = "requestHost" -_rP = "requestPath" -_iWAT = "includeWalletAuthToken" -_rB = "requestBody" -_SPRBT = "StripePrivyRequestBodyType" -_SPRHT = "StripePrivyRequestHostType" -_SPRPT = "StripePrivyRequestPathType" -_SPTRI = "StripePrivyTokenRequestInput" -_iAS = "includeAuthorizationSignature" -_PTRI = "PaymentTokenRequestInput" -_cCTR = "coinbaseCdpTokenRequest" -_sPTR = "stripePrivyTokenRequest" -_GRPTI = "GetResourcePaymentTokenInput" -_cGRPTR = "com.amazonaws.bedrockagentcore#GetResourcePaymentTokenRequest" -_pTR = "paymentTokenRequest" -_CCPJTT = "CoinbaseCdpPaymentJwtTokenType" -_CCTRO = "CoinbaseCdpTokenResponseOutput" -_bT = "bearerToken" -_wAT = "walletAuthToken" -_SPAIT = "StripePrivyAppIdType" -_SPAST = "StripePrivyAuthorizationSignatureType" -_SPBATT = "StripePrivyBasicAuthTokenType" -_SPTRO = "StripePrivyTokenResponseOutput" -_aSu = "authorizationSignature" -_rE = "requestExpiry" -_aIp = "appId" -_bAT = "basicAuthToken" -_PTRO = "PaymentTokenResponseOutput" -_cCTRo = "coinbaseCdpTokenResponse" -_sPTRt = "stripePrivyTokenResponse" -_GRPTO = "GetResourcePaymentTokenOutput" -_cGRPTRo = "com.amazonaws.bedrockagentcore#GetResourcePaymentTokenResponse" -_pTRa = "paymentTokenResponse" -_GRPT = "GetResourcePaymentToken" -_WINT = "WorkloadIdentityNameType" -_GWATI = "GetWorkloadAccessTokenInput" -_cGWATR = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenRequest" -_wN = "workloadName" -_GWATO = "GetWorkloadAccessTokenOutput" -_cGWATRo = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenResponse" -_wATo = "workloadAccessToken" -_GWAT = "GetWorkloadAccessToken" -_GWATFJWTI = "GetWorkloadAccessTokenForJWTInput" -_cGWATFJWTR = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenForJWTRequest" -_GWATFJWTO = "GetWorkloadAccessTokenForJWTOutput" -_cGWATFJWTRo = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenForJWTResponse" -_GWATFJWT = "GetWorkloadAccessTokenForJWT" -_GWATFUII = "GetWorkloadAccessTokenForUserIdInput" -_cGWATFUIR = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenForUserIdRequest" -_GWATFUIO = "GetWorkloadAccessTokenForUserIdOutput" -_cGWATFUIRo = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenForUserIdResponse" -_GWATFUI = "GetWorkloadAccessTokenForUserId" -_MLS = "MaxLenString" -_ICB = "InputContentBlock" -_pa = "path" -_bl = "blob" -_ICBL = "InputContentBlockList" -_PL = "ProgrammingLanguage" -_PYTHON = "PYTHON" -_py = "python" -_JAVASCRIPT = "JAVASCRIPT" -_j = "javascript" -_TYPESCRIPT = "TYPESCRIPT" -_typ = "typescript" -_SLt = "StringList" -_LRa = "LanguageRuntime" -_NODEJS = "NODEJS" -_no = "nodejs" -_DENO = "DENO" -_de = "deno" -_TA = "ToolArguments" -_cod = "code" -_lan = "language" -_cCl = "clearContext" -_pat = "paths" -_cont = "content" -_dPi = "directoryPath" -_tIas = "taskId" -_run = "runtime" -_TNo = "ToolName" -_EC_ = "EXECUTE_CODE" -_eCx = "executeCode" -_EC__ = "EXECUTE_COMMAND" -_eCxe = "executeCommand" -_RF = "READ_FILES" -_rF = "readFiles" -_LF = "LIST_FILES" -_lF = "listFiles" -_RF_ = "REMOVE_FILES" -_rFe = "removeFiles" -_WF = "WRITE_FILES" -_wF = "writeFiles" -_SCE = "START_COMMAND_EXECUTION" -_sCE = "startCommandExecution" -_GT_ = "GET_TASK" -_gTe = "getTask" -_ST_ = "STOP_TASK" -_sTto = "stopTask" -_ICII = "InvokeCodeInterpreterInput" -_cICIR = "com.amazonaws.bedrockagentcore#InvokeCodeInterpreterRequest" -_xacisi = "x-amzn-code-interpreter-session-id" -_ar = "arguments" -_RCT = "ResourceContentType" -_TEXT = "TEXT" -_BLOB = "BLOB" -_RCeso = "ResourceContent" -_ur = "uri" -_mT = "mimeType" -_CBT = "ContentBlockType" -_IMAGE = "IMAGE" -_im = "image" -_ER_ = "EMBEDDED_RESOURCE" -_resou = "resource" -_RL_ = "RESOURCE_LINK" -_rl = "resource_link" -_CB = "ContentBlock" -_siz = "size" -_CBL = "ContentBlockList" -_TS = "TaskStatus" -_SUBMITTED = "SUBMITTED" -_su = "submitted" -_WORKING = "WORKING" -_wo = "working" -_comp = "completed" -_CANCELED = "CANCELED" -_can = "canceled" -_fai = "failed" -_TRSC = "ToolResultStructuredContent" -_tSa = "taskStatus" -_eTxe = "executionTime" -_CIR = "CodeInterpreterResult" -_sCt = "structuredContent" -_iE = "isError" -_CISO = "CodeInterpreterStreamOutput" -_cE = "conflictException" -_ICIO = "InvokeCodeInterpreterOutput" -_cICIRo = "com.amazonaws.bedrockagentcore#InvokeCodeInterpreterResponse" -_ICI = "InvokeCodeInterpreter" -_HAT = "HarnessAllowedTool" -_HATa = "HarnessAllowedTools" -_HA = "HarnessArn" -_HRTB = "HarnessReasoningTextBlock" -_sig = "signature" -_HRCB = "HarnessReasoningContentBlock" -_rT = "reasoningText" -_rCed = "redactedContent" -_STe = "SensitiveText" -_SJ = "SensitiveJson" -_HTRCB = "HarnessToolResultContentBlock" -_js = "json" -_HTRCBa = "HarnessToolResultContentBlocks" -_HTUS = "HarnessToolUseStatus" -_suc = "success" -_ERROR = "ERROR" -_HTUI = "HarnessToolUseId" -_HTUT = "HarnessToolUseType" -_TU_ = "TOOL_USE" -_tu_ = "tool_use" -_STU = "SERVER_TOOL_USE" -_stu = "server_tool_use" -_MTU = "MCP_TOOL_USE" -_mtu = "mcp_tool_use" -_HTRB = "HarnessToolResultBlock" -_tUI = "toolUseId" -_HTN = "HarnessToolName" -_HTUB = "HarnessToolUseBlock" -_sNe = "serverName" -_HCB = "HarnessContentBlock" -_tUo = "toolUse" -_tRo = "toolResult" -_rCea = "reasoningContent" -_HCBa = "HarnessContentBlocks" -_HCR = "HarnessConversationRole" -_USER = "USER" -_us = "user" -_ASSISTANT = "ASSISTANT" -_ass = "assistant" -_HMa = "HarnessMessage" -_ro = "role" -_HMar = "HarnessMessages" -_HBAF = "HarnessBedrockApiFormat" -_CS_ = "CONVERSE_STREAM" -_cs = "converse_stream" -_RESPONSES = "RESPONSES" -_resp = "responses" -_CC = "CHAT_COMPLETIONS" -_cc = "chat_completions" -_MTa = "MaxTokens" -_MI = "ModelId" -_T = "Temperature" -_TP = "TopP" -_HBMC = "HarnessBedrockModelConfig" -_mI = "modelId" -_mTa = "maxTokens" -_tem = "temperature" -_tPo = "topP" -_aF = "apiFormat" -_aP = "additionalParams" -_AKA = "ApiKeyArn" -_TKo = "TopK" -_HGMC = "HarnessGeminiModelConfig" -_aKA = "apiKeyArn" -_tK = "topK" -_HLLAB = "HarnessLiteLlmApiBase" -_HLLMC = "HarnessLiteLlmModelConfig" -_aB = "apiBase" -_HOAAB = "HarnessOpenAiApiBase" -_HOAAF = "HarnessOpenAiApiFormat" -_HOAMC = "HarnessOpenAiModelConfig" -_HMC = "HarnessModelConfiguration" -_bMC = "bedrockModelConfig" -_oAMC = "openAiModelConfig" -_gMC = "geminiModelConfig" -_lLMC = "liteLlmModelConfig" -_HEN = "HarnessEndpointName" -_HASP = "HarnessAwsSkillPath" -_HASPa = "HarnessAwsSkillPaths" -_HSASS = "HarnessSkillAwsSkillsSource" -_HSGA = "HarnessSkillGitAuth" -_cAr = "credentialArn" -_use = "username" -_HSGU = "HarnessSkillGitUrl" -_HSGS = "HarnessSkillGitSource" -_url = "url" -_aut = "auth" -_HSP = "HarnessSkillPath" -_HSSU = "HarnessSkillS3Uri" -_HSSS = "HarnessSkillS3Source" -_HS = "HarnessSkill" -_g = "git" -_aSw = "awsSkills" -_HSa = "HarnessSkills" -_HSCB = "HarnessSystemContentBlock" -_HSPa = "HarnessSystemPrompt" -_HBA = "HarnessBrowserArn" -_HACBC = "HarnessAgentCoreBrowserConfig" -_bAr = "browserArn" -_HCIA = "HarnessCodeInterpreterArn" -_HACCIC = "HarnessAgentCoreCodeInterpreterConfig" -_cIA = "codeInterpreterArn" -_OACPK = "OAuthCustomParametersKey" -_OACPV = "OAuthCustomParametersValue" -_OACP = "OAuthCustomParameters" -_OADRU = "OAuthDefaultReturnUrl" -_OAGT = "OAuthGrantType" -_CC_ = "CLIENT_CREDENTIALS" -_AC_ = "AUTHORIZATION_CODE" -_TE_ = "TOKEN_EXCHANGE" -_OACPA = "OAuthCredentialProviderArn" -_OAS = "OAuthScope" -_OASu = "OAuthScopes" -_OACPu = "OAuthCredentialProvider" -_pA = "providerArn" -_gTr = "grantType" -_dRU = "defaultReturnUrl" -_HGOA = "HarnessGatewayOutboundAuth" -_aIw = "awsIam" -_non = "none" -_oa = "oauth" -_HACGC = "HarnessAgentCoreGatewayConfig" -_oA = "outboundAuth" -_HIFD = "HarnessInlineFunctionDescription" -_HIFC = "HarnessInlineFunctionConfig" -_iSn = "inputSchema" -_HHK = "HttpHeaderKey" -_HHV = "HttpHeaderValue" -_HHM = "HttpHeadersMap" -_ICP = "IamCredentialProvider" -_ser = "service" -_reg = "region" -_HRMOA = "HarnessRemoteMcpOutboundAuth" -_HRMU = "HarnessRemoteMcpUrl" -_HRMC = "HarnessRemoteMcpConfig" -_he = "headers" -_HTC = "HarnessToolConfiguration" -_rMe = "remoteMcp" -_aCB = "agentCoreBrowser" -_aCG = "agentCoreGateway" -_iF = "inlineFunction" -_aCCI = "agentCoreCodeInterpreter" -_HTT = "HarnessToolType" -_RM = "REMOTE_MCP" -_rm = "remote_mcp" -_AB = "AGENTCORE_BROWSER" -_ab = "agentcore_browser" -_AG = "AGENTCORE_GATEWAY" -_ag = "agentcore_gateway" -_IF = "INLINE_FUNCTION" -_if = "inline_function" -_ACI = "AGENTCORE_CODE_INTERPRETER" -_aci = "agentcore_code_interpreter" -_HT = "HarnessTool" -_conf = "config" -_HTa = "HarnessTools" -_IHI = "InvokeHarnessInput" -_cIHR = "com.amazonaws.bedrockagentcore#InvokeHarnessRequest" -_hA = "harnessArn" -_mess = "messages" -_mo = "model" -_sk = "skills" -_aTl = "allowedTools" -_mIa = "maxIterations" -_tSi = "timeoutSeconds" -_HRCBD = "HarnessReasoningContentBlockDelta" -_HTRBD = "HarnessToolResultBlockDelta" -_HTRBDa = "HarnessToolResultBlocksDelta" -_HTRMBD = "HarnessToolResultMetadataBlockDelta" -_HTUBD = "HarnessToolUseBlockDelta" -_HCBD = "HarnessContentBlockDelta" -_tRM = "toolResultMetadata" -_HCBDE = "HarnessContentBlockDeltaEvent" -_cBI = "contentBlockIndex" -_del = "delta" -_HTRBS = "HarnessToolResultBlockStart" -_HTUBS = "HarnessToolUseBlockStart" -_HCBS = "HarnessContentBlockStart" -_HCBSE = "HarnessContentBlockStartEvent" -_star = "start" -_HCBSEa = "HarnessContentBlockStopEvent" -_HHD = "HarnessHookDecision" -_ALLOW = "ALLOW" -_al = "allow" -_DENY = "DENY" -_den = "deny" -_HHEI = "HarnessHookEventId" -_HHN = "HarnessHookName" -_HHET = "HarnessHookEventType" -_BTC = "BEFORE_TOOL_CALL" -_btc = "before_tool_call" -_ATC_ = "AFTER_TOOL_CALL" -_atc = "after_tool_call" -_BI = "BEFORE_INVOCATION" -_bi = "before_invocation" -_AI_ = "AFTER_INVOCATION" -_ai = "after_invocation" -_HHE = "HarnessHookEvent" -_hEI = "hookEventId" -_dec = "decision" -_HMSE = "HarnessMessageStartEvent" -_HSR = "HarnessStopReason" -_ET_ = "END_TURN" -_et = "end_turn" -_TR_ = "TOOL_RESULT" -_tr_ = "tool_result" -_MT_ = "MAX_TOKENS" -_mt = "max_tokens" -_SS_ = "STOP_SEQUENCE" -_ss = "stop_sequence" -_CF_ = "CONTENT_FILTERED" -_cf = "content_filtered" -_MMO = "MALFORMED_MODEL_OUTPUT" -_mmo = "malformed_model_output" -_MTU_ = "MALFORMED_TOOL_USE" -_mtu_ = "malformed_tool_use" -_INTERRUPTED = "INTERRUPTED" -_int = "interrupted" -_PT = "PARTIAL_TURN" -_pt = "partial_turn" -_MCWE = "MODEL_CONTEXT_WINDOW_EXCEEDED" -_mcwe = "model_context_window_exceeded" -_MIE = "MAX_ITERATIONS_EXCEEDED" -_mie = "max_iterations_exceeded" -_MOTE = "MAX_OUTPUT_TOKENS_EXCEEDED" -_mote = "max_output_tokens_exceeded" -_TE__ = "TIMEOUT_EXCEEDED" -_te_ = "timeout_exceeded" -_HS_ = "HOOK_STOPPED" -_hs = "hook_stopped" -_HMSEa = "HarnessMessageStopEvent" -_sR = "stopReason" -_HSM = "HarnessStreamMetrics" -_lM = "latencyMs" -_HTU = "HarnessTokenUsage" -_cRIT = "cacheReadInputTokens" -_cWIT = "cacheWriteInputTokens" -_HME = "HarnessMetadataEvent" -_usa = "usage" -_metr = "metrics" -_IHSO = "InvokeHarnessStreamOutput" -_mSe = "messageStart" -_cBS = "contentBlockStart" -_cBD = "contentBlockDelta" -_cBSo = "contentBlockStop" -_mSes = "messageStop" -_hE = "hookEvent" -_IHO = "InvokeHarnessOutput" -_cIHRo = "com.amazonaws.bedrockagentcore#InvokeHarnessResponse" -_IH = "InvokeHarness" -_DN = "DomainName" -_DL = "DomainList" -_DFo = "DomainFilter" -_inc = "include" -_exc = "exclude" -_PDF = "PublishedDateFilter" -_pAu = "publishedAfter" -_pB = "publishedBefore" -_WSF = "WebSearchFilters" -_dF = "domainFilter" -_pDF = "publishedDateFilter" -_WSI = "WebSearchId" -_IWSI = "InvokeWebSearchInput" -_wSI = "webSearchId" -_sQe = "searchQuery" -_WSR = "WebSearchResult" -_tit = "title" -_pAub = "publishedAt" -_WSRL = "WebSearchResultList" -_IWSO = "InvokeWebSearchOutput" -_SUE = "ServiceUnavailableException" -_rAS = "retryAfterSeconds" -_IWS = "InvokeWebSearch" -_MIe = "MemoryId" -_REA = "RecordExpiryAction" -_REMOVE = "REMOVE" -_REDD = "RecordExpiryDurationDays" -_RES = "RecordExpirySpecification" -_rEDD = "recordExpiryDurationDays" -_SSen = "SensitiveString" -_MC = "MemoryContent" -_MSIe = "MemoryStrategyId" -_MK = "MetadataKey" -_SLMV = "StringListMemberValue" -_SVL = "StringValueList" -_SVt = "StringValue" -_MRMV = "MemoryRecordMetadataValue" -_sLV = "stringListValue" -_nV = "numberValue" -_dTV = "dateTimeValue" -_MRMM = "MemoryRecordMetadataMap" -_Na = "Namespace" -_NL = "NamespacesList" -_RIe = "RequestIdentifier" -_MRCI = "MemoryRecordCreateInput" -_rIe = "requestIdentifier" -_na = "namespaces" -_tim = "timestamp" -_mSIe = "memoryStrategyId" -_MRCIL = "MemoryRecordsCreateInputList" -_BCMRI = "BatchCreateMemoryRecordsInput" -_mIe = "memoryId" -_rec = "records" -_rES = "recordExpirySpecification" -_MRI = "MemoryRecordId" -_MRS = "MemoryRecordStatus" -_SUCCEEDED = "SUCCEEDED" -_MRO = "MemoryRecordOutput" -_mRI = "memoryRecordId" -_MROL = "MemoryRecordsOutputList" -_BCMRO = "BatchCreateMemoryRecordsOutput" -_sRu = "successfulRecords" -_fR = "failedRecords" -_SE = "ServiceException" -_TEh = "ThrottledException" -_BCMR = "BatchCreateMemoryRecords" -_MRDI = "MemoryRecordDeleteInput" -_nam = "namespace" -_MRDIL = "MemoryRecordsDeleteInputList" -_BDMRI = "BatchDeleteMemoryRecordsInput" -_BDMRO = "BatchDeleteMemoryRecordsOutput" -_BDMR = "BatchDeleteMemoryRecords" -_MRUI = "MemoryRecordUpdateInput" -_sNo = "sourceNamespaces" -_MRUIL = "MemoryRecordsUpdateInputList" -_BUMRI = "BatchUpdateMemoryRecordsInput" -_BUMRO = "BatchUpdateMemoryRecordsOutput" -_BUMR = "BatchUpdateMemoryRecords" -_BN = "BranchName" -_EIve = "EventId" -_Br = "Branch" -_rEI = "rootEventId" -_NVN = "NamespaceVariableName" -_NVV = "NamespaceVariableValue" -_NVM = "NamespaceVariablesMap" -_ECx = "ExtractionConfig" -_nVa = "namespaceVariables" -_EMx = "ExtractionMode" -_SKIP = "SKIP" -_MV = "MetadataValue" -_MMe = "MetadataMap" -_MD = "MemoryDocument" -_Con = "Content" -_R = "Role" -_TOOL = "TOOL" -_Conv = "Conversational" -_MJDC = "MemoryJsonDataContent" -_MJD = "MemoryJsonData" -_PTa = "PayloadType" -_conv = "conversational" -_PTL = "PayloadTypeList" -_CEI = "CreateEventInput" -_eTve = "eventTimestamp" -_br = "branch" -_eMx = "extractionMode" -_eCxt = "extractionConfig" -_Eve = "Event" -_eIve = "eventId" -_CEO = "CreateEventOutput" -_eve = "event" -_IIE = "InvalidInputException" -_CEr = "CreateEvent" -_DEI = "DeleteEventInput" -_DEO = "DeleteEventOutput" -_DE = "DeleteEvent" -_DMRI = "DeleteMemoryRecordInput" -_DMRO = "DeleteMemoryRecordOutput" -_DMR = "DeleteMemoryRecord" -_GEI = "GetEventInput" -_GEO = "GetEventOutput" -_GE = "GetEvent" -_GMRI = "GetMemoryRecordInput" -_MRe = "MemoryRecord" -_eAx = "expiresAt" -_GMRO = "GetMemoryRecordOutput" -_mRe = "memoryRecord" -_GMR = "GetMemoryRecord" -_IPT = "IngestPayloadType" -_IPL = "IngestPayloadList" -_IMC = "InlineMemoryContent" -_CSo = "ContentSource" -_IDI = "IngestDataInput" -_so = "source" -_cTo = "contentTimestamp" -_IDO = "IngestDataOutput" -_IDn = "IngestData" -_PTag = "PaginationToken" -_LAI = "ListActorsInput" -_LAO = "ListActorsOutput" -_aSc = "actorSummaries" -_LA = "ListActors" -_BF = "BranchFilter" -_iPB = "includeParentBranches" -_LE = "LeftExpression" -_mK = "metadataKey" -_OT = "OperatorType" -_ET__ = "EQUALS_TO" -_EXISTS = "EXISTS" -_NE_ = "NOT_EXISTS" -_REi = "RightExpression" -_mV = "metadataValue" -_EMFE = "EventMetadataFilterExpression" -_le = "left" -_ri = "right" -_EMFL = "EventMetadataFilterList" -_FI = "FilterInput" -_eMve = "eventMetadata" -_LEI = "ListEventsInput" -_iP = "includePayloads" -_fil = "filter" -_ELv = "EventList" -_LEO = "ListEventsOutput" -_even = "events" -_LEi = "ListEvents" -_EJS = "ExtractionJobStatus" -_EJFI = "ExtractionJobFilterInput" -_sIt = "strategyId" -_LMEJI = "ListMemoryExtractionJobsInput" -_MMes = "MessageMetadata" -_mIes = "messageIndex" -_ML = "MessagesList" -_EJM = "ExtractionJobMessages" -_mL = "messagesList" -_EJMx = "ExtractionJobMetadata" -_jID = "jobID" -_fRa = "failureReason" -_EJML = "ExtractionJobMetadataList" -_LMEJO = "ListMemoryExtractionJobsOutput" -_jo = "jobs" -_LMEJ = "ListMemoryExtractionJobs" -_MRLE = "MemoryRecordLeftExpression" -_MROT = "MemoryRecordOperatorType" -_BEFORE = "BEFORE" -_AFTER = "AFTER" -_GTOE_ = "GREATER_THAN_OR_EQUALS" -_LTOE_ = "LESS_THAN_OR_EQUALS" -_MRRE = "MemoryRecordRightExpression" -_MMFE = "MemoryMetadataFilterExpression" -_MMFL = "MemoryMetadataFilterList" -_LMRI = "ListMemoryRecordsInput" -_nP = "namespacePath" -_mF = "metadataFilters" -_MRSe = "MemoryRecordSummary" -_scor = "score" -_MRSL = "MemoryRecordSummaryList" -_LMRO = "ListMemoryRecordsOutput" -_mRS = "memoryRecordSummaries" -_LMR = "ListMemoryRecords" -_EFC = "EventFilterCondition" -_HE = "HAS_EVENTS" -_SFes = "SessionFilter" -_eF = "eventFilter" -_LSI = "ListSessionsInput" -_SSes = "SessionSummary" -_SSL = "SessionSummaryList" -_LSO = "ListSessionsOutput" -_sSess = "sessionSummaries" -_LS = "ListSessions" -_SCe = "SearchCriteria" -_RMRI = "RetrieveMemoryRecordsInput" -_sCe = "searchCriteria" -_RMRO = "RetrieveMemoryRecordsOutput" -_RMR = "RetrieveMemoryRecords" -_EJ = "ExtractionJob" -_jI = "jobId" -_SMEJI = "StartMemoryExtractionJobInput" -_eJ = "extractionJob" -_SMEJO = "StartMemoryExtractionJobOutput" -_SMEJ = "StartMemoryExtractionJob" -_PAN = "PaymentAgentName" -_PCI = "PaymentConnectorId" -_JKI = "JwtKeyId" -_LADJ = "LinkedAccountDeveloperJwt" -_ki = "kid" -_sub = "sub" -_Em = "Email" -_LAE = "LinkedAccountEmail" -_eAm = "emailAddress" -_OAA = "OAuth2Authentication" -_LAOA = "LinkedAccountOAuth2" -_go = "google" -_ap = "apple" -_tel = "telegram" -_gi = "github" -_PN = "PhoneNumber" -_LAS = "LinkedAccountSms" -_pN = "phoneNumber" -_LAi = "LinkedAccount" -_em = "email" -_sms = "sms" -_dJ = "developerJwt" -_oAu = "oAuth2" -_LAL = "LinkedAccountList" -_CWN = "CryptoWalletNetwork" -_ETHEREUM = "ETHEREUM" -_SOLANA = "SOLANA" -_ECW = "EmbeddedCryptoWallet" -_ne = "network" -_lA = "linkedAccounts" -_wA = "walletAddress" -_rU = "redirectUrl" -_PID = "PaymentInstrumentDetails" -_eCW = "embeddedCryptoWallet" -_PIT = "PaymentInstrumentType" -_ECW_ = "EMBEDDED_CRYPTO_WALLET" -_PMA = "PaymentManagerArn" -_UIs = "UserId" -_CPII = "CreatePaymentInstrumentInput" -_cCPIR = "com.amazonaws.bedrockagentcore#CreatePaymentInstrumentRequest" -_XABAPUI = "X-Amzn-Bedrock-AgentCore-Payments-User-Id" -_aN = "agentName" -_XABAPAN = "X-Amzn-Bedrock-AgentCore-Payments-Agent-Name" -_pMA = "paymentManagerArn" -_pCI = "paymentConnectorId" -_pIT = "paymentInstrumentType" -_pID = "paymentInstrumentDetails" -_PII = "PaymentInstrumentId" -_PIS = "PaymentInstrumentStatus" -_INITIATED = "INITIATED" -_BLOCKED = "BLOCKED" -_PI = "PaymentInstrument" -_pII = "paymentInstrumentId" -_CPIO = "CreatePaymentInstrumentOutput" -_cCPIRo = "com.amazonaws.bedrockagentcore#CreatePaymentInstrumentResponse" -_pIa = "paymentInstrument" -_SRE = "SubscriptionRequiredException" -_sUu = "subscriptionUrl" -_pNr = "productName" -_CPIr = "CreatePaymentInstrument" -_DPII = "DeletePaymentInstrumentInput" -_cDPIR = "com.amazonaws.bedrockagentcore#DeletePaymentInstrumentRequest" -_DPIO = "DeletePaymentInstrumentOutput" -_cDPIRo = "com.amazonaws.bedrockagentcore#DeletePaymentInstrumentResponse" -_DPI = "DeletePaymentInstrument" -_GPII = "GetPaymentInstrumentInput" -_cGPIR = "com.amazonaws.bedrockagentcore#GetPaymentInstrumentRequest" -_GPIO = "GetPaymentInstrumentOutput" -_cGPIRo = "com.amazonaws.bedrockagentcore#GetPaymentInstrumentResponse" -_GPI = "GetPaymentInstrument" -_BCI = "BlockchainChainId" -_BASE = "BASE" -_BS = "BASE_SEPOLIA" -_SD_ = "SOLANA_DEVNET" -_IBT = "InstrumentBalanceToken" -_USDC = "USDC" -_GPIBI = "GetPaymentInstrumentBalanceInput" -_cGPIBR = "com.amazonaws.bedrockagentcore#GetPaymentInstrumentBalanceRequest" -_cha = "chain" -_tok = "token" -_TB = "TokenBalance" -_am = "amount" -_deci = "decimals" -_GPIBO = "GetPaymentInstrumentBalanceOutput" -_cGPIBRo = "com.amazonaws.bedrockagentcore#GetPaymentInstrumentBalanceResponse" -_tB = "tokenBalance" -_GPIB = "GetPaymentInstrumentBalance" -_LPII = "ListPaymentInstrumentsInput" -_cLPIR = "com.amazonaws.bedrockagentcore#ListPaymentInstrumentsRequest" -_PISa = "PaymentInstrumentSummary" -_PISL = "PaymentInstrumentSummaryList" -_LPIO = "ListPaymentInstrumentsOutput" -_cLPIRo = "com.amazonaws.bedrockagentcore#ListPaymentInstrumentsResponse" -_pIay = "paymentInstruments" -_LPI = "ListPaymentInstruments" -_Cu = "Currency" -_USD = "USD" -_Am = "Amount" -_cu = "currency" -_SLe = "SessionLimits" -_mSA = "maxSpendAmount" -_CPSI = "CreatePaymentSessionInput" -_cCPSR = "com.amazonaws.bedrockagentcore#CreatePaymentSessionRequest" -_li = "limits" -_eTIM = "expiryTimeInMinutes" -_AL = "AvailableLimits" -_aSA = "availableSpendAmount" -_PSI = "PaymentSessionId" -_PS = "PaymentSession" -_pSI = "paymentSessionId" -_aL = "availableLimits" -_CPSO = "CreatePaymentSessionOutput" -_cCPSRo = "com.amazonaws.bedrockagentcore#CreatePaymentSessionResponse" -_pS = "paymentSession" -_CPS = "CreatePaymentSession" -_DPSI = "DeletePaymentSessionInput" -_cDPSR = "com.amazonaws.bedrockagentcore#DeletePaymentSessionRequest" -_PSS = "PaymentSessionStatus" -_EXPIRED = "EXPIRED" -_DPSO = "DeletePaymentSessionOutput" -_cDPSRo = "com.amazonaws.bedrockagentcore#DeletePaymentSessionResponse" -_DPS = "DeletePaymentSession" -_GPSI = "GetPaymentSessionInput" -_cGPSR = "com.amazonaws.bedrockagentcore#GetPaymentSessionRequest" -_GPSO = "GetPaymentSessionOutput" -_cGPSRo = "com.amazonaws.bedrockagentcore#GetPaymentSessionResponse" -_GPS = "GetPaymentSession" -_LPSI = "ListPaymentSessionsInput" -_cLPSR = "com.amazonaws.bedrockagentcore#ListPaymentSessionsRequest" -_PSSa = "PaymentSessionSummary" -_PSSL = "PaymentSessionSummaryList" -_LPSO = "ListPaymentSessionsOutput" -_cLPSRo = "com.amazonaws.bedrockagentcore#ListPaymentSessionsResponse" -_pSa = "paymentSessions" -_LPS = "ListPaymentSessions" -_PD = "PaymentDocument" -_PAL = "Permit2AllowanceLimit" -_CXPI = "CryptoX402PaymentInput" -_ve = "version" -_pAL = "permit2AllowanceLimit" -_Ve = "Version" -_WAH = "WwwAuthenticateHeader" -_WAHL = "WwwAuthenticateHeaderList" -_MPI = "MppPaymentInput" -_wAH = "wwwAuthenticateHeaders" -_bPGF = "buyerPaysGasFees" -_PIa = "PaymentInput" -_cX = "cryptoX402" -_mp = "mpp" -_PTay = "PaymentType" -_CX = "CRYPTO_X402" -_MPP = "MPP" -_PPI = "ProcessPaymentInput" -_cPPR = "com.amazonaws.bedrockagentcore#ProcessPaymentRequest" -_pT = "paymentType" -_pIaym = "paymentInput" -_CXPO = "CryptoX402PaymentOutput" -_MPC = "MppPaymentCredential" -_MPO = "MppPaymentOutput" -_sPI = "selectedPaymentId" -_pCa = "paymentCredential" -_PO = "PaymentOutput" -_PPIr = "ProcessPaymentId" -_PSa = "PaymentStatus" -_PG = "PROOF_GENERATED" -_PPO = "ProcessPaymentOutput" -_cPPRo = "com.amazonaws.bedrockagentcore#ProcessPaymentResponse" -_pPI = "processPaymentId" -_pO = "paymentOutput" -_PPr = "ProcessPayment" -_MFE = "MetadataFilterExpression" -_RIeg = "RegistryIdentifier" -_RIL = "RegistryIdList" -_SRRI = "SearchRegistryRecordsInput" -_cSRRR = "com.amazonaws.bedrockagentcore#SearchRegistryRecordsRequest" -_rIeg = "registryIds" -_Des = "Description" -_CD = "CustomDescriptor" -_SDe = "ServerDefinition" -_TD = "ToolsDefinition" -_pVr = "protocolVersion" -_MDc = "McpDescriptor" -_Desc = "Descriptors" -_mc = "mcp" -_aa = "a2a" -_cus = "custom" -_aSg = "agentSkills" -_DTe = "DescriptorType" -_MCP = "MCP" -_AA = "A2A" -_CUSTOM = "CUSTOM" -_AS_ = "AGENT_SKILLS" -_RRN = "RegistryRecordName" -_RRA = "RegistryRecordArn" -_RRI = "RegistryRecordId" -_RAeg = "RegistryArn" -_RRS = "RegistryRecordStatus" -_DRAFT = "DRAFT" -_PA = "PENDING_APPROVAL" -_APPROVED = "APPROVED" -_REJECTED = "REJECTED" -_DEPRECATED = "DEPRECATED" -_RRV = "RegistryRecordVersion" -_RRSe = "RegistryRecordSummary" -_rAeg = "registryArn" -_rAec = "recordArn" -_rIec = "recordId" -_dT = "descriptorType" -_des = "descriptors" -_RRSL = "RegistryRecordSummaryList" -_SRRO = "SearchRegistryRecordsOutput" -_cSRRRo = "com.amazonaws.bedrockagentcore#SearchRegistryRecordsResponse" -_rRe = "registryRecords" -_SRR = "SearchRegistryRecords" -_ABAC = "AmazonBedrockAgentCore" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" - -INLINE_CONTENT: StaticSchema = (3, n0, _IC, 0) - -SCHEMA_VERSION: StaticSchema = (3, n0, _SV, 0) - -AGENT_CARD_DEFINITION: StaticSchema = ( - 18, - n0, - _ACD, - 0, - (_sV, _iC), - ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), -) - -A2A_DESCRIPTOR: StaticSchema = (18, n0, _AD, 0, (_aC,), ((AGENT_CARD_DEFINITION, 1),)) - -AB_TEST_ARN: StaticSchema = (3, n0, _ABTA, 0) - -AB_TEST_DESCRIPTION: StaticSchema = (3, n0, _ABTD, 0) - -ONLINE_EVALUATION_CONFIG_ARN: StaticSchema = (3, n0, _OECA, 0) - -VARIANT_NAME: StaticSchema = (3, n0, _VN, 0) - -PER_VARIANT_ONLINE_EVALUATION_CONFIG: StaticSchema = ( - 18, - n0, - _PVOEC, - 0, - (_n, _oECA), - ((VARIANT_NAME, 1), (ONLINE_EVALUATION_CONFIG_ARN, 1)), -) - -PER_VARIANT_ONLINE_EVALUATION_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _PVOECL, - 0, - (_m,), - ((PER_VARIANT_ONLINE_EVALUATION_CONFIG, 0),), -) - -AB_TEST_EVALUATION_CONFIG: StaticSchema = ( - 19, - n0, - _ABTEC, - 0, - (_oECA, _pVOEC), - ((ONLINE_EVALUATION_CONFIG_ARN, 0), (PER_VARIANT_ONLINE_EVALUATION_CONFIG_LIST, 0)), -) - -AB_TEST_EXECUTION_STATUS: StaticSchema = ( - 14, - n0, - _ABTES, - 0, - (_PAUSED, _RUNNING, _STOPPED, _NS), - ( - (-1, {_sVm: _PAUSED}), - (-1, {_sVm: _RUNNING}), - (-1, {_sVm: _STOPPED}), - (-1, {_sVm: _NS}), - ), -) - -AB_TEST_ID: StaticSchema = (3, n0, _ABTI, 0) - -AB_TEST_NAME: StaticSchema = (3, n0, _ABTN, 0) - -CONTROL_STATS: StaticSchema = ( - 18, - n0, - _CS, - 0, - (_vN, _sS, _me), - ((3, 1), (7, 1), (10, 1)), -) - -CONFIDENCE_INTERVAL: StaticSchema = (18, n0, _CI, 0, (_l, _u), ((10, 0), (10, 0))) - -VARIANT_RESULT: StaticSchema = ( - 18, - n0, - _VR, - 0, - (_vN, _sS, _me, _aCb, _pC, _pV, _cI, _iS), - ( - (3, 1), - (7, 1), - (10, 1), - (10, 0), - (10, 0), - (10, 0), - (CONFIDENCE_INTERVAL, 0), - (2, 1), - ), -) - -VARIANT_RESULT_LIST: StaticSchema = (16, n0, _VRL, 0, (_m,), ((VARIANT_RESULT, 0),)) - -EVALUATOR_METRIC: StaticSchema = ( - 18, - n0, - _EM, - 0, - (_eA, _cS, _vR), - ((3, 1), (CONTROL_STATS, 1), (VARIANT_RESULT_LIST, 1)), -) - -EVALUATOR_METRIC_LIST: StaticSchema = (16, n0, _EML, 0, (_m,), ((EVALUATOR_METRIC, 0),)) - -AB_TEST_RESULTS: StaticSchema = ( - 18, - n0, - _ABTR, - 0, - (_aT, _eM), - ((4, 0), (EVALUATOR_METRIC_LIST, 1)), -) - -AB_TEST_STATUS: StaticSchema = ( - 14, - n0, - _ABTS, - 0, - (_CREATING, _ACTIVE, _CF, _UPDATING, _UF, _DELETING, _DF, _FAILED), - ( - (-1, {_sVm: _CREATING}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _CF}), - (-1, {_sVm: _UPDATING}), - (-1, {_sVm: _UF}), - (-1, {_sVm: _DELETING}), - (-1, {_sVm: _DF}), - (-1, {_sVm: _FAILED}), - ), -) - -GATEWAY_ARN: StaticSchema = (3, n0, _GA, 0) - -AB_TEST_SUMMARY: StaticSchema = ( - 18, - n0, - _ABTSe, - 0, - (_aTI, _aTA, _n, _st, _eS, _d, _gA, _cA, _uA), - ( - (AB_TEST_ID, 1), - (AB_TEST_ARN, 1), - (AB_TEST_NAME, 1), - (AB_TEST_STATUS, 1), - (AB_TEST_EXECUTION_STATUS, 1), - (AB_TEST_DESCRIPTION, 0), - (GATEWAY_ARN, 0), - (4, 1), - (4, 1), - ), -) - -AB_TEST_SUMMARY_LIST: StaticSchema = (16, n0, _ABTSL, 0, (_m,), ((AB_TEST_SUMMARY, 0),)) - -NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_sm: _c, _sE: 403}, - (_mes,), - ((NON_BLANK_STRING, 0),), -) - -ACCESS_TOKEN_TYPE: StaticSchema = (3, n0, _ATT, 4) - -ACTOR_ID: StaticSchema = (3, n0, _AI, 0) - -ACTOR_SUMMARY: StaticSchema = (18, n0, _AS, 0, (_aI,), ((ACTOR_ID, 1),)) - -ACTOR_SUMMARY_LIST: StaticSchema = (16, n0, _ASL, 0, (_m,), ((ACTOR_SUMMARY, 0),)) - -INSIGHTS_FAILURE_CATEGORY: StaticSchema = ( - 14, - n0, - _IFC, - 0, - ( - _EEA, - _EERNF, - _EESE, - _EERL, - _EEF, - _EET, - _EERE, - _EEE, - _EETS, - _TINC, - _TIPI, - _IATS, - _IAPIR, - _IAC, - _IAIIR, - _CHF, - _HC, - _HM, - _HU, - _HH, - _HP, - _HFTO, - _RBT, - _RBI, - _RBS, - _ORM, - _OGD, - _OPT, - _OUT, - _LON, - _CMTD, - _CECO, - _CDI, - _OTHER, - ), - ( - (-1, {_sVm: _eeca}), - (-1, {_sVm: _eecrnf}), - (-1, {_sVm: _eecse}), - (-1, {_sVm: _eecrl}), - (-1, {_sVm: _eecf}), - (-1, {_sVm: _eect}), - (-1, {_sVm: _eecre}), - (-1, {_sVm: _eece}), - (-1, {_sVm: _eects}), - (-1, {_sVm: _ticnc}), - (-1, {_sVm: _ticpi}), - (-1, {_sVm: _iacts}), - (-1, {_sVm: _iacpir}), - (-1, {_sVm: _iacc}), - (-1, {_sVm: _iaciir}), - (-1, {_sVm: _checchf}), - (-1, {_sVm: _hchc}), - (-1, {_sVm: _hchm}), - (-1, {_sVm: _hchu}), - (-1, {_sVm: _hchh}), - (-1, {_sVm: _hchp}), - (-1, {_sVm: _hcfto}), - (-1, {_sVm: _rbcrt}), - (-1, {_sVm: _rbcri}), - (-1, {_sVm: _rbcsr}), - (-1, {_sVm: _orecrm}), - (-1, {_sVm: _orecgd}), - (-1, {_sVm: _orecpt}), - (-1, {_sVm: _orecut}), - (-1, {_sVm: _locn}), - (-1, {_sVm: _cmctd}), - (-1, {_sVm: _cucsftceco}), - (-1, {_sVm: _cucsftcdi}), - (-1, {_sVm: _o}), - ), -) - -INSIGHTS_FAILURE_SIGNAL: StaticSchema = ( - 18, - n0, - _IFS, - 0, - (_ca, _e, _co), - ((INSIGHTS_FAILURE_CATEGORY, 1), (3, 1), (10, 1)), -) - -INSIGHTS_FAILURE_SIGNAL_LIST: StaticSchema = ( - 16, - n0, - _IFSL, - 0, - (_m,), - ((INSIGHTS_FAILURE_SIGNAL, 0),), -) - -FAILURE_SPAN_DETAIL: StaticSchema = ( - 18, - n0, - _FSD, - 0, - (_sI, _tI, _si), - ((3, 1), (3, 1), (INSIGHTS_FAILURE_SIGNAL_LIST, 1)), -) - -FAILURE_SPAN_DETAIL_LIST: StaticSchema = ( - 16, - n0, - _FSDL, - 0, - (_m,), - ((FAILURE_SPAN_DETAIL, 0),), -) - -AFFECTED_SESSION: StaticSchema = ( - 18, - n0, - _ASf, - 0, - (_sIe, _ex, _fT, _r, _fS), - ((3, 1), (3, 1), (3, 1), (3, 1), (FAILURE_SPAN_DETAIL_LIST, 1)), -) - -AFFECTED_SESSION_LIST: StaticSchema = ( - 16, - n0, - _ASLf, - 0, - (_m,), - ((AFFECTED_SESSION, 0),), -) - -AGENT_CARD: StaticSchema = (13, n0, _AC, 0) - -SESSION_TYPE: StaticSchema = (3, n0, _ST, 0) - -GET_AGENT_CARD_INPUT: StaticSchema = ( - 18, - n0, - _GACI, - {_sSI: _cGACR, _smit: None}, - (_rSI, _aRA, _q), - ((SESSION_TYPE, {_sH: _XABARSI, _sT: None}), (3, 9), (3, {_sQ: _q})), -) - -SESSION_ID: StaticSchema = (3, n0, _SI, 0) - -HTTP_RESPONSE_CODE: StaticSchema = (7, n0, _HRC, 0) - -GET_AGENT_CARD_OUTPUT: StaticSchema = ( - 18, - n0, - _GACO, - {_sSI: _cGACRo, _smith: None}, - (_rSI, _aC, _sC), - ((SESSION_ID, {_sH: _XABARSI}), (AGENT_CARD, 17), (HTTP_RESPONSE_CODE, 128)), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_sm: _se, _sE: 500}, - (_mes,), - ((NON_BLANK_STRING, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_sm: _c, _sE: 404}, - (_mes,), - ((NON_BLANK_STRING, 0),), -) - -RETRYABLE_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _RCE, - {_sm: _c, _sE: 409}, - (_mes,), - ((3, 1),), -) - -RUNTIME_CLIENT_ERROR: StaticSchema = ( - 18, - n0, - _RCEu, - {_sm: _c, _sE: 424}, - (_mes,), - ((NON_BLANK_STRING, 0),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_sm: _c, _sE: 402}, - (_mes,), - ((NON_BLANK_STRING, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - {_sm: _c, _sE: 429}, - (_mes,), - ((NON_BLANK_STRING, 0),), -) - -VALIDATION_EXCEPTION_FIELD: StaticSchema = ( - 18, - n0, - _VEF, - 0, - (_n, _mes), - ((3, 1), (3, 1)), -) - -VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( - 16, - n0, - _VEFL, - 0, - (_m,), - ((VALIDATION_EXCEPTION_FIELD, 0),), -) - -VALIDATION_EXCEPTION_REASON: StaticSchema = ( - 14, - n0, - _VER, - 0, - (_CP, _FVF, _IPME, _REIOS, _RC), - ( - (-1, {_sVm: _CPa}), - (-1, {_sVm: _FVFi}), - (-1, {_sVm: _IPMEd}), - (-1, {_sVm: _EIOS}), - (-1, {_sVm: _RCe}), - ), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_sm: _c, _sE: 400}, - (_mes, _re, _fL), - ((3, 1), (VALIDATION_EXCEPTION_REASON, 1), (VALIDATION_EXCEPTION_FIELD_LIST, 0)), -) - -GET_AGENT_CARD: StaticOperationSchema = ( - 23, - n0, - _GAC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/runtimes/{agentRuntimeArn}/invocations/.well-known/agent-card.json", - "code": 200, - } - ) - }, - GET_AGENT_CARD_INPUT, - GET_AGENT_CARD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RETRYABLE_CONFLICT_EXCEPTION, - RUNTIME_CLIENT_ERROR, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MIME_TYPE: StaticSchema = (3, n0, _MT, 0) - -STRING_TYPE: StaticSchema = (3, n0, _STt, 0) - -BODY: StaticSchema = (1, n0, _B, 4) - -INVOKE_AGENT_RUNTIME_INPUT: StaticSchema = ( - 18, - n0, - _IARI, - {_sSI: _cIARR, _smit: None}, - (_cT, _a, _mSI, _rSI, _mPV, _mM, _mN, _rUI, _tI, _tP, _tS, _b, _aRA, _q, _aIc, _p), - ( - (MIME_TYPE, {_sH: _CT}), - (MIME_TYPE, {_sH: _A}), - (STRING_TYPE, {_sH: _MSI}), - (SESSION_TYPE, {_sH: _XABARSI, _sT: None}), - (STRING_TYPE, {_sH: _MPV}), - (STRING_TYPE, {_sH: _MM}), - (STRING_TYPE, {_sH: _MN}), - (STRING_TYPE, {_sH: _XABARUI}), - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (3, {_sH: _tr}), - (3, {_sH: _b}), - (3, 9), - (3, {_sQ: _q}), - (3, {_sQ: _aIc}), - (BODY, 17), - ), -) - -RESPONSE_STREAM: StaticSchema = (1, n0, _RS, {_smithya: None, _smi: None}) - -INVOKE_AGENT_RUNTIME_OUTPUT: StaticSchema = ( - 18, - n0, - _IARO, - {_sSI: _cIARRo, _smith: None}, - (_rSI, _sEU, _mSI, _mPV, _tI, _tP, _tS, _b, _cT, _res, _sC), - ( - (SESSION_ID, {_sH: _XABARSI}), - (3, {_sH: _XABARSEU}), - (SESSION_ID, {_sH: _MSI}), - (3, {_sH: _MPV}), - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (3, {_sH: _tr}), - (3, {_sH: _b}), - (3, {_sH: _CT, _s: None}), - (RESPONSE_STREAM, {_smithyap: _v, _sP: None}), - (HTTP_RESPONSE_CODE, 128), - ), -) - -INVOKE_AGENT_RUNTIME: StaticOperationSchema = ( - 23, - n0, - _IAR, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/runtimes/{agentRuntimeArn}/invocations", - "code": 200, - } - ) - }, - INVOKE_AGENT_RUNTIME_INPUT, - INVOKE_AGENT_RUNTIME_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RETRYABLE_CONFLICT_EXCEPTION, - RUNTIME_CLIENT_ERROR, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INVOKE_AGENT_RUNTIME_COMMAND_REQUEST_BODY: StaticSchema = ( - 18, - n0, - _IARCRB, - 0, - (_com, _ti), - ((3, 1), (7, 0)), -) - -INVOKE_AGENT_RUNTIME_COMMAND_INPUT: StaticSchema = ( - 18, - n0, - _IARCI, - {_sSI: _cIARCR, _smit: None}, - (_cT, _a, _rSI, _tI, _tP, _tS, _b, _aRA, _q, _aIc, _bo), - ( - (MIME_TYPE, {_sH: _CT}), - (MIME_TYPE, {_sH: _A}), - (SESSION_TYPE, {_sH: _XABARSI, _sT: None}), - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (3, {_sH: _tr}), - (3, {_sH: _b}), - (3, 9), - (3, {_sQ: _q}), - (3, {_sQ: _aIc}), - (INVOKE_AGENT_RUNTIME_COMMAND_REQUEST_BODY, 17), - ), -) - -CONTENT_DELTA_EVENT: StaticSchema = (18, n0, _CDE, 0, (_std, _stde), ((3, 0), (3, 0))) - -CONTENT_START_EVENT: StaticSchema = (18, n0, _CSE, 0) - -COMMAND_EXECUTION_STATUS: StaticSchema = ( - 14, - n0, - _CES, - 0, - (_COMPLETED, _TO), - ((-1, {_sVm: _COMPLETED}), (-1, {_sVm: _TO})), -) - -CONTENT_STOP_EVENT: StaticSchema = ( - 18, - n0, - _CSEo, - 0, - (_eC, _st), - ((7, 1), (COMMAND_EXECUTION_STATUS, 1)), -) - -RESPONSE_CHUNK: StaticSchema = ( - 18, - n0, - _RCes, - 0, - (_cSo, _cD, _cSon), - ((CONTENT_START_EVENT, 0), (CONTENT_DELTA_EVENT, 0), (CONTENT_STOP_EVENT, 0)), -) - -INVOKE_AGENT_RUNTIME_COMMAND_STREAM_OUTPUT: StaticSchema = ( - 19, - n0, - _IARCSO, - {_smithya: None}, - (_ch, _aDE, _iSE, _rNFE, _sQEE, _tE, _vE, _rCE), - ( - (RESPONSE_CHUNK, 0), - (ACCESS_DENIED_EXCEPTION, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (RESOURCE_NOT_FOUND_EXCEPTION, 0), - (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (RUNTIME_CLIENT_ERROR, 0), - ), -) - -INVOKE_AGENT_RUNTIME_COMMAND_OUTPUT: StaticSchema = ( - 18, - n0, - _IARCO, - {_sSI: _cIARCRo, _smith: None}, - (_rSI, _tI, _tP, _tS, _b, _cT, _sC, _str), - ( - (SESSION_ID, {_sH: _XABARSI}), - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (3, {_sH: _tr}), - (3, {_sH: _b}), - (3, {_sH: _CT, _s: None}), - (HTTP_RESPONSE_CODE, 128), - (INVOKE_AGENT_RUNTIME_COMMAND_STREAM_OUTPUT, 17), - ), -) - -INVOKE_AGENT_RUNTIME_COMMAND: StaticOperationSchema = ( - 23, - n0, - _IARC, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/runtimes/{agentRuntimeArn}/commands", - "code": 200, - } - ) - }, - INVOKE_AGENT_RUNTIME_COMMAND_INPUT, - INVOKE_AGENT_RUNTIME_COMMAND_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RETRYABLE_CONFLICT_EXCEPTION, - RUNTIME_CLIENT_ERROR, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - {_sm: _c, _sE: 409}, - (_mes,), - ((NON_BLANK_STRING, 0),), -) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) - -STOP_RUNTIME_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _SRSI, - {_sSI: _cSRSR, _smit: None}, - (_rSI, _aRA, _q, _cTl), - ( - (SESSION_TYPE, {_sH: _XABARSI, _s: None}), - (3, 9), - (3, {_sQ: _q}), - (CLIENT_TOKEN, 2), - ), -) - -STOP_RUNTIME_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _SRSO, - {_sSI: _cSRSRo, _smith: None}, - (_rSI, _sC), - ((SESSION_ID, {_sH: _XABARSI}), (HTTP_RESPONSE_CODE, 128)), -) - -UNAUTHORIZED_EXCEPTION: StaticSchema = ( - 18, - n0, - _UE, - {_sm: _c, _sE: 401}, - (_mes,), - ((NON_BLANK_STRING, 0),), -) - -STOP_RUNTIME_SESSION: StaticOperationSchema = ( - 23, - n0, - _SRS, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/runtimes/{agentRuntimeArn}/stopruntimesession", - "code": 200, - } - ) - }, - STOP_RUNTIME_SESSION_INPUT, - STOP_RUNTIME_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RETRYABLE_CONFLICT_EXCEPTION, - RUNTIME_CLIENT_ERROR, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SKILL_DEFINITION: StaticSchema = ( - 18, - n0, - _SD, - 0, - (_sV, _iC), - ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), -) - -SKILL_MD_DEFINITION: StaticSchema = (18, n0, _SMD, 0, (_iC,), ((INLINE_CONTENT, 0),)) - -AGENT_SKILLS_DESCRIPTOR: StaticSchema = ( - 18, - n0, - _ASD, - 0, - (_sM, _sD), - ((SKILL_MD_DEFINITION, 1), (SKILL_DEFINITION, 0)), -) - -BATCH_EVALUATION_ARN: StaticSchema = (3, n0, _BEA, 0) - -BATCH_EVALUATION_TRACE_CONFIG: StaticSchema = ( - 18, - n0, - _BETC, - 0, - (_bEA,), - ((BATCH_EVALUATION_ARN, 1),), -) - -LOG_GROUP_ARN_LIST: StaticSchema = (16, n0, _LGAL, 0, (_m,), ((3, 0),)) - -CLOUD_WATCH_LOGS_FILTER_OPERATOR: StaticSchema = ( - 14, - n0, - _CWLFO, - 0, - (_EQUALS, _NE, _GT, _LT, _GTOE, _LTOE, _CONTAINS, _NC), - ( - (-1, {_sVm: _E}), - (-1, {_sVm: _NEo}), - (-1, {_sVm: _GTr}), - (-1, {_sVm: _LTe}), - (-1, {_sVm: _GTOEr}), - (-1, {_sVm: _LTOEe}), - (-1, {_sVm: _C}), - (-1, {_sVm: _NCo}), - ), -) - -FILTER_STRING_VALUE: StaticSchema = (3, n0, _FSV, 0) - -FILTER_VALUE: StaticSchema = ( - 19, - n0, - _FV, - 0, - (_sVt, _dV, _bV), - ((FILTER_STRING_VALUE, 0), (10, 0), (2, 0)), -) - -CLOUD_WATCH_LOGS_FILTER: StaticSchema = ( - 18, - n0, - _CWLF, - 0, - (_k, _op, _va), - ((3, 1), (CLOUD_WATCH_LOGS_FILTER_OPERATOR, 1), (FILTER_VALUE, 1)), -) - -CLOUD_WATCH_LOGS_FILTER_LIST: StaticSchema = ( - 16, - n0, - _CWLFL, - 0, - (_m,), - ((CLOUD_WATCH_LOGS_FILTER, 0),), -) - -CLOUD_WATCH_LOGS_RULE: StaticSchema = ( - 18, - n0, - _CWLR, - 0, - (_f,), - ((CLOUD_WATCH_LOGS_FILTER_LIST, 0),), -) - -SERVICE_NAME: StaticSchema = (3, n0, _SN, 0) - -SERVICE_NAME_LIST: StaticSchema = (16, n0, _SNL, 0, (_m,), ((SERVICE_NAME, 0),)) - -CLOUD_WATCH_LOGS_TRACE_CONFIG: StaticSchema = ( - 18, - n0, - _CWLTC, - 0, - (_lGA, _sN, _sTt, _eT, _ru), - ( - (LOG_GROUP_ARN_LIST, 1), - (SERVICE_NAME_LIST, 1), - (4, {_sF: _dt, _s: None}), - (4, {_sF: _dt, _s: None}), - (CLOUD_WATCH_LOGS_RULE, 0), - ), -) - -ONLINE_EVALUATION_TRACE_CONFIG: StaticSchema = ( - 18, - n0, - _OETC, - 0, - (_oECA, _sTt, _eT), - ( - (ONLINE_EVALUATION_CONFIG_ARN, 1), - (4, {_sF: _dt, _s: None}), - (4, {_sF: _dt, _s: None}), - ), -) - -SPAN: StaticSchema = (13, n0, _S, 0) - -SPANS: StaticSchema = (16, n0, _Sp, 4, (_m,), ((SPAN, 0),)) - -AGENT_TRACES_CONFIG: StaticSchema = ( - 19, - n0, - _ATC, - 0, - (_sSe, _cL, _bE, _oE), - ( - (SPANS, 0), - (CLOUD_WATCH_LOGS_TRACE_CONFIG, 0), - (BATCH_EVALUATION_TRACE_CONFIG, 0), - (ONLINE_EVALUATION_TRACE_CONFIG, 0), - ), -) - -BROWSER_PROFILE_ID: StaticSchema = (3, n0, _BPI, 0) - -BROWSER_SESSION_ID: StaticSchema = (3, n0, _BSI, 0) - -SAVE_BROWSER_SESSION_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _SBSPI, - {_sSI: _cSBSPR, _smit: None}, - (_tI, _tP, _pI, _bI, _sIe, _cTl), - ( - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (BROWSER_PROFILE_ID, 9), - (3, 1), - (BROWSER_SESSION_ID, 1), - (CLIENT_TOKEN, 2), - ), -) - -DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) - -SAVE_BROWSER_SESSION_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _SBSPO, - {_sSI: _cSBSPRo, _smith: None}, - (_pI, _bI, _sIe, _lUA), - ((BROWSER_PROFILE_ID, 1), (3, 1), (BROWSER_SESSION_ID, 1), (DATE_TIMESTAMP, 1)), -) - -SAVE_BROWSER_SESSION_PROFILE: StaticOperationSchema = ( - 23, - n0, - _SBSP, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/browser-profiles/{profileIdentifier}/save", - "code": 200, - } - ) - }, - SAVE_BROWSER_SESSION_PROFILE_INPUT, - SAVE_BROWSER_SESSION_PROFILE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_BROWSER_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _GBSI, - {_sSI: _cGBSR, _smit: None}, - (_bI, _sIe), - ((3, 9), (BROWSER_SESSION_ID, {_sQ: _sIe, _s: None})), -) - -SECRET_ARN: StaticSchema = (3, n0, _SA, 0) - -SECRETS_MANAGER_LOCATION: StaticSchema = (18, n0, _SML, 0, (_sA,), ((SECRET_ARN, 1),)) - -CERTIFICATE_LOCATION: StaticSchema = ( - 19, - n0, - _CL, - 0, - (_sMe,), - ((SECRETS_MANAGER_LOCATION, 0),), -) - -CERTIFICATE: StaticSchema = (18, n0, _Ce, 0, (_lo,), ((CERTIFICATE_LOCATION, 1),)) - -CERTIFICATES: StaticSchema = (16, n0, _Cer, 0, (_m,), ((CERTIFICATE, 0),)) - -S3_LOCATION: StaticSchema = (18, n0, _SL, 0, (_bu, _pr, _vI), ((3, 1), (3, 1), (3, 0))) - -RESOURCE_LOCATION: StaticSchema = (19, n0, _RL, 0, (_s_,), ((S3_LOCATION, 0),)) - -BROWSER_ENTERPRISE_POLICY_TYPE: StaticSchema = ( - 14, - n0, - _BEPT, - 0, - (_MANAGED, _RECOMMENDED), - ((-1, {_sVm: _MANAGED}), (-1, {_sVm: _RECOMMENDED})), -) - -BROWSER_ENTERPRISE_POLICY: StaticSchema = ( - 18, - n0, - _BEP, - 0, - (_lo, _ty), - ((RESOURCE_LOCATION, 1), (BROWSER_ENTERPRISE_POLICY_TYPE, 0)), -) - -BROWSER_ENTERPRISE_POLICIES: StaticSchema = ( - 16, - n0, - _BEPr, - 0, - (_m,), - ((BROWSER_ENTERPRISE_POLICY, 0),), -) - -BROWSER_EXTENSION: StaticSchema = (18, n0, _BE, 0, (_lo,), ((RESOURCE_LOCATION, 1),)) - -BROWSER_EXTENSIONS: StaticSchema = (16, n0, _BEr, 0, (_m,), ((BROWSER_EXTENSION, 0),)) - -EFS_ACCESS_POINT_ARN: StaticSchema = (3, n0, _EAPA, 0) - -EFS_FILE_SYSTEM_ARN: StaticSchema = (3, n0, _EFSA, 0) - -MOUNT_PATH: StaticSchema = (3, n0, _MP, 0) - -EFS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EC, - 0, - (_aPA, _mP, _fSA), - ((EFS_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1), (EFS_FILE_SYSTEM_ARN, 1)), -) - -S3_FILES_ACCESS_POINT_ARN: StaticSchema = (3, n0, _SFAPA, 0) - -S3_FILES_FILE_SYSTEM_ARN: StaticSchema = (3, n0, _SFFSA, 0) - -S3_FILES_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SFC, - 0, - (_aPA, _mP, _fSA), - ((S3_FILES_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1), (S3_FILES_FILE_SYSTEM_ARN, 1)), -) - -TOOLS_FILE_SYSTEM_CONFIGURATION: StaticSchema = ( - 19, - n0, - _TFSC, - 0, - (_sFC, _eCf), - ((S3_FILES_CONFIGURATION, 0), (EFS_CONFIGURATION, 0)), -) - -TOOLS_FILE_SYSTEM_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _TFSCo, - 0, - (_m,), - ((TOOLS_FILE_SYSTEM_CONFIGURATION, 0),), -) - -NAME: StaticSchema = (3, n0, _N, 0) - -BROWSER_PROFILE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BPC, - 0, - (_pI,), - ((BROWSER_PROFILE_ID, 1),), -) - -DOMAIN_PATTERN: StaticSchema = (3, n0, _DP, 0) - -DOMAIN_PATTERNS: StaticSchema = (16, n0, _DPo, 0, (_m,), ((DOMAIN_PATTERN, 0),)) - -PROXY_BYPASS: StaticSchema = (18, n0, _PB, 0, (_dP,), ((DOMAIN_PATTERNS, 0),)) - -BASIC_AUTH: StaticSchema = (18, n0, _BA, 0, (_sA,), ((SECRET_ARN, 1),)) - -PROXY_CREDENTIALS: StaticSchema = (19, n0, _PC, 0, (_bA,), ((BASIC_AUTH, 0),)) - -HOST_NAME: StaticSchema = (3, n0, _HN, 0) - -EXTERNAL_PROXY: StaticSchema = ( - 18, - n0, - _EP, - 0, - (_se, _po, _dP, _cr), - ((HOST_NAME, 1), (7, 1), (DOMAIN_PATTERNS, 0), (PROXY_CREDENTIALS, 0)), -) - -PROXY: StaticSchema = (19, n0, _P, 0, (_eP,), ((EXTERNAL_PROXY, 0),)) - -PROXIES: StaticSchema = (16, n0, _Pr, 0, (_m,), ((PROXY, 0),)) - -PROXY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PCr, - 0, - (_pro, _by), - ((PROXIES, 1), (PROXY_BYPASS, 0)), -) - -BROWSER_SESSION_TIMEOUT: StaticSchema = (7, n0, _BST, 0) - -BROWSER_SESSION_STATUS: StaticSchema = ( - 14, - n0, - _BSS, - 0, - (_READY, _TERMINATED), - ((-1, {_sVm: _READY}), (-1, {_sVm: _TERMINATED})), -) - -BROWSER_STREAM_ENDPOINT: StaticSchema = (3, n0, _BSE, 0) - -AUTOMATION_STREAM_STATUS: StaticSchema = ( - 14, - n0, - _ASS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sVm: _ENABLED}), (-1, {_sVm: _DISABLED})), -) - -AUTOMATION_STREAM: StaticSchema = ( - 18, - n0, - _ASu, - 0, - (_sEt, _sSt), - ((BROWSER_STREAM_ENDPOINT, 1), (AUTOMATION_STREAM_STATUS, 1)), -) - -LIVE_VIEW_STREAM: StaticSchema = ( - 18, - n0, - _LVS, - 0, - (_sEt,), - ((BROWSER_STREAM_ENDPOINT, 0),), -) - -BROWSER_SESSION_STREAM: StaticSchema = ( - 18, - n0, - _BSSr, - 0, - (_aS, _lVS), - ((AUTOMATION_STREAM, 1), (LIVE_VIEW_STREAM, 0)), -) - -VIEW_PORT_HEIGHT: StaticSchema = (7, n0, _VPH, 0) - -VIEW_PORT_WIDTH: StaticSchema = (7, n0, _VPW, 0) - -VIEW_PORT: StaticSchema = ( - 18, - n0, - _VP, - 0, - (_w, _h), - ((VIEW_PORT_WIDTH, 1), (VIEW_PORT_HEIGHT, 1)), -) - -GET_BROWSER_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBSO, - {_sSI: _cGBSRo, _smith: None}, - ( - _bI, - _sIe, - _n, - _cA, - _vP, - _ext, - _ePn, - _pCr, - _sTS, - _st, - _stre, - _pCro, - _ce, - _fC, - _sRA, - _lUA, - ), - ( - (3, 1), - (BROWSER_SESSION_ID, 1), - (NAME, 0), - (DATE_TIMESTAMP, 1), - (VIEW_PORT, 0), - (BROWSER_EXTENSIONS, 0), - (BROWSER_ENTERPRISE_POLICIES, 0), - (BROWSER_PROFILE_CONFIGURATION, 0), - (BROWSER_SESSION_TIMEOUT, 0), - (BROWSER_SESSION_STATUS, 0), - (BROWSER_SESSION_STREAM, 0), - (PROXY_CONFIGURATION, 0), - (CERTIFICATES, 0), - (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), - (3, 0), - (DATE_TIMESTAMP, 0), - ), -) - -GET_BROWSER_SESSION: StaticOperationSchema = ( - 23, - n0, - _GBS, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/browsers/{browserIdentifier}/sessions/get", - "code": 200, - } - ) - }, - GET_BROWSER_SESSION_INPUT, - GET_BROWSER_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -KEY_PRESS_ARGUMENTS: StaticSchema = (18, n0, _KPA, 0, (_k, _pre), ((3, 1), (7, 0))) - -KEY_LIST: StaticSchema = (16, n0, _KL, 0, (_m,), ((3, 0),)) - -KEY_SHORTCUT_ARGUMENTS: StaticSchema = (18, n0, _KSA, 0, (_ke,), ((KEY_LIST, 1),)) - -KEY_TYPE_ARGUMENTS: StaticSchema = (18, n0, _KTA, 0, (_te,), ((3, 1),)) - -MOUSE_BUTTON: StaticSchema = ( - 14, - n0, - _MB, - 0, - (_LEFT, _RIGHT, _MIDDLE), - ((-1, {_sVm: _LEFT}), (-1, {_sVm: _RIGHT}), (-1, {_sVm: _MIDDLE})), -) - -MOUSE_CLICK_ARGUMENTS: StaticSchema = ( - 18, - n0, - _MCA, - 0, - (_x, _y, _but, _cC), - ((7, 1), (7, 1), (MOUSE_BUTTON, 0), (7, 0)), -) - -MOUSE_DRAG_ARGUMENTS: StaticSchema = ( - 18, - n0, - _MDA, - 0, - (_eX, _eY, _sX, _sY, _but), - ((7, 1), (7, 1), (7, 1), (7, 1), (MOUSE_BUTTON, 0)), -) - -MOUSE_MOVE_ARGUMENTS: StaticSchema = (18, n0, _MMA, 0, (_x, _y), ((7, 1), (7, 1))) - -MOUSE_SCROLL_ARGUMENTS: StaticSchema = ( - 18, - n0, - _MSA, - 0, - (_x, _y, _dX, _dY), - ((7, 1), (7, 1), (7, 0), (7, 0)), -) - -SCREENSHOT_FORMAT: StaticSchema = (14, n0, _SF, 0, (_PNG,), ((-1, {_sVm: _PNG}),)) - -SCREENSHOT_ARGUMENTS: StaticSchema = ( - 18, - n0, - _SAc, - 0, - (_fo,), - ((SCREENSHOT_FORMAT, 0),), -) - -BROWSER_ACTION: StaticSchema = ( - 19, - n0, - _BAr, - 0, - (_mC, _mMo, _mD, _mS, _kT, _kP, _kS, _sc), - ( - (MOUSE_CLICK_ARGUMENTS, 0), - (MOUSE_MOVE_ARGUMENTS, 0), - (MOUSE_DRAG_ARGUMENTS, 0), - (MOUSE_SCROLL_ARGUMENTS, 0), - (KEY_TYPE_ARGUMENTS, 0), - (KEY_PRESS_ARGUMENTS, 0), - (KEY_SHORTCUT_ARGUMENTS, 0), - (SCREENSHOT_ARGUMENTS, 0), - ), -) - -INVOKE_BROWSER_INPUT: StaticSchema = ( - 18, - n0, - _IBI, - {_sSI: _cIBR, _smit: None}, - (_bI, _sIe, _ac), - ((3, 9), (BROWSER_SESSION_ID, {_sH: _xabsi, _s: None}), (BROWSER_ACTION, 1)), -) - -BROWSER_ACTION_STATUS: StaticSchema = ( - 14, - n0, - _BAS, - 0, - (_SUCCESS, _FAILED), - ((-1, {_sVm: _SUCCESS}), (-1, {_sVm: _FAILED})), -) - -KEY_PRESS_RESULT: StaticSchema = ( - 18, - n0, - _KPR, - 0, - (_st, _er), - ((BROWSER_ACTION_STATUS, 1), (3, 0)), -) - -KEY_SHORTCUT_RESULT: StaticSchema = ( - 18, - n0, - _KSR, - 0, - (_st, _er), - ((BROWSER_ACTION_STATUS, 1), (3, 0)), -) - -KEY_TYPE_RESULT: StaticSchema = ( - 18, - n0, - _KTR, - 0, - (_st, _er), - ((BROWSER_ACTION_STATUS, 1), (3, 0)), -) - -MOUSE_CLICK_RESULT: StaticSchema = ( - 18, - n0, - _MCR, - 0, - (_st, _er), - ((BROWSER_ACTION_STATUS, 1), (3, 0)), -) - -MOUSE_DRAG_RESULT: StaticSchema = ( - 18, - n0, - _MDR, - 0, - (_st, _er), - ((BROWSER_ACTION_STATUS, 1), (3, 0)), -) - -MOUSE_MOVE_RESULT: StaticSchema = ( - 18, - n0, - _MMR, - 0, - (_st, _er), - ((BROWSER_ACTION_STATUS, 1), (3, 0)), -) - -MOUSE_SCROLL_RESULT: StaticSchema = ( - 18, - n0, - _MSR, - 0, - (_st, _er), - ((BROWSER_ACTION_STATUS, 1), (3, 0)), -) - -SCREENSHOT_RESULT: StaticSchema = ( - 18, - n0, - _SR, - 0, - (_st, _er, _da), - ((BROWSER_ACTION_STATUS, 1), (3, 0), (1, 0)), -) - -BROWSER_ACTION_RESULT: StaticSchema = ( - 19, - n0, - _BAR, - 0, - (_mC, _mMo, _mD, _mS, _kT, _kP, _kS, _sc), - ( - (MOUSE_CLICK_RESULT, 0), - (MOUSE_MOVE_RESULT, 0), - (MOUSE_DRAG_RESULT, 0), - (MOUSE_SCROLL_RESULT, 0), - (KEY_TYPE_RESULT, 0), - (KEY_PRESS_RESULT, 0), - (KEY_SHORTCUT_RESULT, 0), - (SCREENSHOT_RESULT, 0), - ), -) - -INVOKE_BROWSER_OUTPUT: StaticSchema = ( - 18, - n0, - _IBO, - {_sSI: _cIBRo, _smith: None}, - (_resu, _sIe), - ((BROWSER_ACTION_RESULT, 1), (BROWSER_SESSION_ID, {_sH: _xabsi, _s: None})), -) - -INVOKE_BROWSER: StaticOperationSchema = ( - 23, - n0, - _IB, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/browsers/{browserIdentifier}/sessions/invoke", - "code": 200, - } - ) - }, - INVOKE_BROWSER_INPUT, - INVOKE_BROWSER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -LIST_BROWSER_SESSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LBSI, - {_sSI: _cLBSR, _smit: None}, - (_bI, _mR, _nT, _st), - ((3, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0), (BROWSER_SESSION_STATUS, 0)), -) - -BROWSER_SESSION_SUMMARY: StaticSchema = ( - 18, - n0, - _BSSro, - 0, - (_bI, _sIe, _n, _st, _cA, _lUA), - ( - (3, 1), - (BROWSER_SESSION_ID, 1), - (NAME, 0), - (BROWSER_SESSION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - ), -) - -BROWSER_SESSION_SUMMARIES: StaticSchema = ( - 16, - n0, - _BSSrow, - 0, - (_m,), - ((BROWSER_SESSION_SUMMARY, 0),), -) - -LIST_BROWSER_SESSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBSO, - {_sSI: _cLBSRo, _smith: None}, - (_i, _nT), - ((BROWSER_SESSION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_BROWSER_SESSIONS: StaticOperationSchema = ( - 23, - n0, - _LBS, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/browsers/{browserIdentifier}/sessions/list", - "code": 200, - } - ) - }, - LIST_BROWSER_SESSIONS_INPUT, - LIST_BROWSER_SESSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -START_BROWSER_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _SBSI, - {_sSI: _cSBSR, _smit: None}, - (_tI, _tP, _bI, _n, _sTS, _vP, _ext, _pCr, _pCro, _ePn, _ce, _fC, _cTl), - ( - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (3, 9), - (NAME, 0), - (BROWSER_SESSION_TIMEOUT, {_smithyap: 3600}), - (VIEW_PORT, 0), - (BROWSER_EXTENSIONS, 0), - (BROWSER_PROFILE_CONFIGURATION, 0), - (PROXY_CONFIGURATION, 0), - (BROWSER_ENTERPRISE_POLICIES, 0), - (CERTIFICATES, 0), - (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), - (CLIENT_TOKEN, 2), - ), -) - -START_BROWSER_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _SBSO, - {_sSI: _cSBSRo, _smith: None}, - (_bI, _sIe, _cA, _stre), - ((3, 1), (BROWSER_SESSION_ID, 1), (DATE_TIMESTAMP, 1), (BROWSER_SESSION_STREAM, 0)), -) - -START_BROWSER_SESSION: StaticOperationSchema = ( - 23, - n0, - _SBS, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/browsers/{browserIdentifier}/sessions/start", - "code": 200, - } - ) - }, - START_BROWSER_SESSION_INPUT, - START_BROWSER_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_BROWSER_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _SBSIt, - {_sSI: _cSBSRom, _smit: None}, - (_tI, _tP, _bI, _sIe, _cTl), - ( - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (3, 9), - (BROWSER_SESSION_ID, {_sQ: _sIe, _s: None}), - (CLIENT_TOKEN, 2), - ), -) - -STOP_BROWSER_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _SBSOt, - {_sSI: _cSBSRoma, _smith: None}, - (_bI, _sIe, _lUA), - ((3, 1), (BROWSER_SESSION_ID, 1), (DATE_TIMESTAMP, 1)), -) - -STOP_BROWSER_SESSION: StaticOperationSchema = ( - 23, - n0, - _SBSt, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/browsers/{browserIdentifier}/sessions/stop", - "code": 200, - } - ) - }, - STOP_BROWSER_SESSION_INPUT, - STOP_BROWSER_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUTOMATION_STREAM_UPDATE: StaticSchema = ( - 18, - n0, - _ASU, - 0, - (_sSt,), - ((AUTOMATION_STREAM_STATUS, 0),), -) - -STREAM_UPDATE: StaticSchema = ( - 19, - n0, - _SU, - 0, - (_aSU,), - ((AUTOMATION_STREAM_UPDATE, 0),), -) - -UPDATE_BROWSER_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _UBSI, - {_sSI: _cUBSR, _smit: None}, - (_bI, _sIe, _sU, _cTl), - ( - (3, 9), - (BROWSER_SESSION_ID, {_sQ: _sIe, _s: None}), - (STREAM_UPDATE, 1), - (CLIENT_TOKEN, 2), - ), -) - -UPDATE_BROWSER_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _UBSO, - {_sSI: _cUBSRo, _smith: None}, - (_bI, _sIe, _stre, _uA), - ((3, 1), (BROWSER_SESSION_ID, 1), (BROWSER_SESSION_STREAM, 1), (DATE_TIMESTAMP, 1)), -) - -UPDATE_BROWSER_STREAM: StaticOperationSchema = ( - 23, - n0, - _UBS, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/browsers/{browserIdentifier}/sessions/streams/update", - "code": 200, - } - ) - }, - UPDATE_BROWSER_STREAM_INPUT, - UPDATE_BROWSER_STREAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CAPACITY_PROVIDER_ID: StaticSchema = (3, n0, _CPI, 0) - -DELETE_CAPACITY_PROVIDER_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _DCPSI, - {_sSI: _cDCPSR, _smit: None}, - (_cPI, _sIe), - ((CAPACITY_PROVIDER_ID, 9), (SESSION_ID, 9)), -) - -CAPACITY_PROVIDER_ARN: StaticSchema = (3, n0, _CPA, 0) - -CAPACITY_PROVIDER_SESSION_STATUS: StaticSchema = ( - 14, - n0, - _CPSS, - 0, - (_PROVISIONING, _DEPROVISIONING, _ACTIVE, _DELETING, _DELETED, _STOPPED), - ( - (-1, {_sVm: _Pro}), - (-1, {_sVm: _D}), - (-1, {_sVm: _Ac}), - (-1, {_sVm: _De}), - (-1, {_sVm: _Del}), - (-1, {_sVm: _St}), - ), -) - -DELETE_CAPACITY_PROVIDER_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DCPSO, - {_sSI: _cDCPSRo, _smith: None}, - (_cPA, _sIe, _st), - ( - (CAPACITY_PROVIDER_ARN, 1), - (SESSION_ID, 1), - (CAPACITY_PROVIDER_SESSION_STATUS, 1), - ), -) - -DELETE_CAPACITY_PROVIDER_SESSION: StaticOperationSchema = ( - 23, - n0, - _DCPS, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/capacity-providers/{capacityProviderId}/sessions/{sessionId}", - "code": 202, - } - ) - }, - DELETE_CAPACITY_PROVIDER_SESSION_INPUT, - DELETE_CAPACITY_PROVIDER_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CODE_INTERPRETER_SESSION_ID: StaticSchema = (3, n0, _CISI, 0) - -GET_CODE_INTERPRETER_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _GCISI, - {_sSI: _cGCISR, _smit: None}, - (_cII, _sIe), - ((3, 9), (CODE_INTERPRETER_SESSION_ID, {_sQ: _sIe, _s: None})), -) - -CODE_INTERPRETER_SESSION_TIMEOUT: StaticSchema = (7, n0, _CIST, 0) - -CODE_INTERPRETER_SESSION_STATUS: StaticSchema = ( - 14, - n0, - _CISS, - 0, - (_READY, _TERMINATED), - ((-1, {_sVm: _READY}), (-1, {_sVm: _TERMINATED})), -) - -GET_CODE_INTERPRETER_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GCISO, - {_sSI: _cGCISRo, _smith: None}, - (_cII, _sIe, _n, _cA, _sTS, _st, _ce, _fC), - ( - (3, 1), - (CODE_INTERPRETER_SESSION_ID, 1), - (NAME, 0), - (DATE_TIMESTAMP, 1), - (CODE_INTERPRETER_SESSION_TIMEOUT, 0), - (CODE_INTERPRETER_SESSION_STATUS, 0), - (CERTIFICATES, 0), - (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), - ), -) - -GET_CODE_INTERPRETER_SESSION: StaticOperationSchema = ( - 23, - n0, - _GCIS, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/code-interpreters/{codeInterpreterIdentifier}/sessions/get", - "code": 200, - } - ) - }, - GET_CODE_INTERPRETER_SESSION_INPUT, - GET_CODE_INTERPRETER_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_CODE_INTERPRETER_SESSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LCISI, - {_sSI: _cLCISR, _smit: None}, - (_cII, _mR, _nT, _st), - ((3, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0), (CODE_INTERPRETER_SESSION_STATUS, 0)), -) - -CODE_INTERPRETER_SESSION_SUMMARY: StaticSchema = ( - 18, - n0, - _CISSo, - 0, - (_cII, _sIe, _n, _st, _cA, _lUA), - ( - (3, 1), - (CODE_INTERPRETER_SESSION_ID, 1), - (NAME, 0), - (CODE_INTERPRETER_SESSION_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - ), -) - -CODE_INTERPRETER_SESSION_SUMMARIES: StaticSchema = ( - 16, - n0, - _CISSod, - 0, - (_m,), - ((CODE_INTERPRETER_SESSION_SUMMARY, 0),), -) - -LIST_CODE_INTERPRETER_SESSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCISO, - {_sSI: _cLCISRo, _smith: None}, - (_i, _nT), - ((CODE_INTERPRETER_SESSION_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_CODE_INTERPRETER_SESSIONS: StaticOperationSchema = ( - 23, - n0, - _LCIS, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/code-interpreters/{codeInterpreterIdentifier}/sessions/list", - "code": 200, - } - ) - }, - LIST_CODE_INTERPRETER_SESSIONS_INPUT, - LIST_CODE_INTERPRETER_SESSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -START_CODE_INTERPRETER_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _SCISI, - {_sSI: _cSCISR, _smit: None}, - (_tI, _tP, _cII, _n, _sTS, _ce, _fC, _cTl), - ( - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (3, 9), - (NAME, 0), - (CODE_INTERPRETER_SESSION_TIMEOUT, {_smithyap: 900}), - (CERTIFICATES, 0), - (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), - (CLIENT_TOKEN, 2), - ), -) - -START_CODE_INTERPRETER_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _SCISO, - {_sSI: _cSCISRo, _smith: None}, - (_cII, _sIe, _cA), - ((3, 1), (CODE_INTERPRETER_SESSION_ID, 1), (DATE_TIMESTAMP, 1)), -) - -START_CODE_INTERPRETER_SESSION: StaticOperationSchema = ( - 23, - n0, - _SCIS, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/code-interpreters/{codeInterpreterIdentifier}/sessions/start", - "code": 200, - } - ) - }, - START_CODE_INTERPRETER_SESSION_INPUT, - START_CODE_INTERPRETER_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_CODE_INTERPRETER_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _SCISIt, - {_sSI: _cSCISRom, _smit: None}, - (_tI, _tP, _cII, _sIe, _cTl), - ( - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (3, 9), - (CODE_INTERPRETER_SESSION_ID, {_sQ: _sIe, _s: None}), - (CLIENT_TOKEN, 2), - ), -) - -STOP_CODE_INTERPRETER_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _SCISOt, - {_sSI: _cSCISRoma, _smith: None}, - (_cII, _sIe, _lUA), - ((3, 1), (CODE_INTERPRETER_SESSION_ID, 1), (DATE_TIMESTAMP, 1)), -) - -STOP_CODE_INTERPRETER_SESSION: StaticOperationSchema = ( - 23, - n0, - _SCISt, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/code-interpreters/{codeInterpreterIdentifier}/sessions/stop", - "code": 200, - } - ) - }, - STOP_CODE_INTERPRETER_SESSION_INPUT, - STOP_CODE_INTERPRETER_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -REQUEST_URI: StaticSchema = (3, n0, _RU, 0) - -USER_ID_TYPE: StaticSchema = (3, n0, _UIT, 0) - -USER_TOKEN_TYPE: StaticSchema = (3, n0, _UTT, 4) - -USER_IDENTIFIER: StaticSchema = ( - 19, - n0, - _UI, - 0, - (_uT, _uI), - ((USER_TOKEN_TYPE, 0), (USER_ID_TYPE, 0)), -) - -COMPLETE_RESOURCE_TOKEN_AUTH_INPUT: StaticSchema = ( - 18, - n0, - _CRTAI, - {_sSI: _cCRTAR, _smit: None}, - (_uIs, _sUe), - ((USER_IDENTIFIER, 1), (REQUEST_URI, 1)), -) - -COMPLETE_RESOURCE_TOKEN_AUTH_OUTPUT: StaticSchema = ( - 18, - n0, - _CRTAO, - {_sSI: _cCRTARo, _smith: None}, -) - -COMPLETE_RESOURCE_TOKEN_AUTH: StaticOperationSchema = ( - 23, - n0, - _CRTA, - { - _smithy: MappingProxyType( - {"uri": "/identities/CompleteResourceTokenAuth", "method": "POST"} - ) - }, - COMPLETE_RESOURCE_TOKEN_AUTH_INPUT, - COMPLETE_RESOURCE_TOKEN_AUTH_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PATH_PATTERN: StaticSchema = (3, n0, _PP, 0) - -TARGET_PATH_LIST: StaticSchema = (16, n0, _TPL, 0, (_m,), ((PATH_PATTERN, 0),)) - -GATEWAY_FILTER: StaticSchema = (18, n0, _GF, 0, (_tPa,), ((TARGET_PATH_LIST, 0),)) - -ROLE_ARN: StaticSchema = (3, n0, _RA, 0) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAGS_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _va), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -CONFIGURATION_BUNDLE_ARN: StaticSchema = (3, n0, _CBA, 0) - -CONFIGURATION_BUNDLE_VERSION: StaticSchema = (3, n0, _CBV, 0) - -CONFIGURATION_BUNDLE_REF: StaticSchema = ( - 18, - n0, - _CBR, - 0, - (_bAu, _bVu), - ((CONFIGURATION_BUNDLE_ARN, 1), (CONFIGURATION_BUNDLE_VERSION, 1)), -) - -TARGET_NAME: StaticSchema = (3, n0, _TN, 0) - -TARGET_REF: StaticSchema = (18, n0, _TR, 0, (_n,), ((TARGET_NAME, 1),)) - -VARIANT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VC, - 0, - (_cB, _ta), - ((CONFIGURATION_BUNDLE_REF, 0), (TARGET_REF, 0)), -) - -VARIANT: StaticSchema = ( - 18, - n0, - _V, - 0, - (_n, _we, _vC), - ((VARIANT_NAME, 1), (7, 1), (VARIANT_CONFIGURATION, 1)), -) - -VARIANT_LIST: StaticSchema = (16, n0, _VL, 0, (_m,), ((VARIANT, 0),)) - -CREATE_AB_TEST_INPUT: StaticSchema = ( - 18, - n0, - _CABTI, - {_sSI: _cCABTR, _smit: None}, - (_n, _d, _gA, _var, _gF, _eCv, _rA, _eOC, _cTl, _tag), - ( - (AB_TEST_NAME, 1), - (AB_TEST_DESCRIPTION, 0), - (GATEWAY_ARN, 1), - (VARIANT_LIST, 1), - (GATEWAY_FILTER, 0), - (AB_TEST_EVALUATION_CONFIG, 1), - (ROLE_ARN, 1), - (2, 0), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - ), -) - -CREATE_AB_TEST_OUTPUT: StaticSchema = ( - 18, - n0, - _CABTO, - {_sSI: _cCABTRo, _smith: None}, - (_aTI, _aTA, _n, _st, _eS, _cA), - ( - (AB_TEST_ID, 1), - (AB_TEST_ARN, 1), - (AB_TEST_NAME, 0), - (AB_TEST_STATUS, 1), - (AB_TEST_EXECUTION_STATUS, 1), - (4, 1), - ), -) - -CREATE_AB_TEST: StaticOperationSchema = ( - 23, - n0, - _CABT, - {_smithy: MappingProxyType({"method": "POST", "uri": "/ab-tests", "code": 202})}, - CREATE_AB_TEST_INPUT, - CREATE_AB_TEST_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_AB_TEST_INPUT: StaticSchema = ( - 18, - n0, - _DABTI, - {_sSI: _cDABTR, _smit: None}, - (_aTI,), - ((AB_TEST_ID, 9),), -) - -DELETE_AB_TEST_OUTPUT: StaticSchema = ( - 18, - n0, - _DABTO, - {_sSI: _cDABTRo, _smith: None}, - (_aTI, _aTA, _st), - ((AB_TEST_ID, 1), (AB_TEST_ARN, 1), (AB_TEST_STATUS, 1)), -) - -DELETE_AB_TEST: StaticOperationSchema = ( - 23, - n0, - _DABT, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/ab-tests/{abTestId}", "code": 202} - ) - }, - DELETE_AB_TEST_INPUT, - DELETE_AB_TEST_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BATCH_EVALUATION_ID: StaticSchema = (3, n0, _BEI, 0) - -DELETE_BATCH_EVALUATION_INPUT: StaticSchema = ( - 18, - n0, - _DBEI, - {_sSI: _cDBER, _smit: None}, - (_bEI,), - ((BATCH_EVALUATION_ID, 9),), -) - -BATCH_EVALUATION_STATUS: StaticSchema = ( - 14, - n0, - _BES, - 0, - (_PENDING, _IP, _COMPLETED, _CWE, _FAILED, _STOPPING, _STOPPED, _DELETING), - ( - (-1, {_sVm: _PENDING}), - (-1, {_sVm: _IP}), - (-1, {_sVm: _COMPLETED}), - (-1, {_sVm: _CWE}), - (-1, {_sVm: _FAILED}), - (-1, {_sVm: _STOPPING}), - (-1, {_sVm: _STOPPED}), - (-1, {_sVm: _DELETING}), - ), -) - -DELETE_BATCH_EVALUATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DBEO, - {_sSI: _cDBERo, _smith: None}, - (_bEI, _bEA, _st), - ((BATCH_EVALUATION_ID, 1), (BATCH_EVALUATION_ARN, 1), (BATCH_EVALUATION_STATUS, 1)), -) - -DELETE_BATCH_EVALUATION: StaticOperationSchema = ( - 23, - n0, - _DBE, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/evaluations/batch-evaluate/{batchEvaluationId}", - "code": 202, - } - ) - }, - DELETE_BATCH_EVALUATION_INPUT, - DELETE_BATCH_EVALUATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RECOMMENDATION_ID: StaticSchema = (3, n0, _RI, 0) - -DELETE_RECOMMENDATION_INPUT: StaticSchema = ( - 18, - n0, - _DRI, - {_sSI: _cDRR, _smit: None}, - (_rI,), - ((RECOMMENDATION_ID, 9),), -) - -RECOMMENDATION_STATUS: StaticSchema = ( - 14, - n0, - _RSe, - 0, - (_PENDING, _IP, _COMPLETED, _FAILED, _DELETING), - ( - (-1, {_sVm: _PENDING}), - (-1, {_sVm: _IP}), - (-1, {_sVm: _COMPLETED}), - (-1, {_sVm: _FAILED}), - (-1, {_sVm: _DELETING}), - ), -) - -DELETE_RECOMMENDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DRO, - {_sSI: _cDRRo, _smith: None}, - (_rI, _st), - ((RECOMMENDATION_ID, 1), (RECOMMENDATION_STATUS, 1)), -) - -DELETE_RECOMMENDATION: StaticOperationSchema = ( - 23, - n0, - _DR, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/recommendations/{recommendationId}", - "code": 202, - } - ) - }, - DELETE_RECOMMENDATION_INPUT, - DELETE_RECOMMENDATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DUPLICATE_ID_EXCEPTION: StaticSchema = ( - 18, - n0, - _DIE, - {_sm: _c, _sE: 409}, - (_mes,), - ((NON_BLANK_STRING, 0),), -) - -EVALUATION_INPUT: StaticSchema = (19, n0, _EI, 0, (_sSe,), ((SPANS, 0),)) - -EVALUATION_CONTENT: StaticSchema = (19, n0, _ECv, 0, (_te,), ((3, 0),)) - -EVALUATION_CONTENT_LIST: StaticSchema = ( - 16, - n0, - _ECL, - 0, - (_m,), - ((EVALUATION_CONTENT, 0),), -) - -SPAN_CONTEXT: StaticSchema = ( - 18, - n0, - _SC, - 0, - (_sIe, _tI, _sI), - ((3, 1), (3, 0), (3, 0)), -) - -CONTEXT: StaticSchema = (19, n0, _Co, 0, (_sCp,), ((SPAN_CONTEXT, 0),)) - -EVALUATION_TOOL_NAME: StaticSchema = (3, n0, _ETN, 0) - -EVALUATION_TOOL_NAMES: StaticSchema = ( - 16, - n0, - _ETNv, - 0, - (_m,), - ((EVALUATION_TOOL_NAME, 0),), -) - -EVALUATION_EXPECTED_TRAJECTORY: StaticSchema = ( - 18, - n0, - _EETv, - 0, - (_tN,), - ((EVALUATION_TOOL_NAMES, 0),), -) - -EVALUATION_REFERENCE_INPUT: StaticSchema = ( - 18, - n0, - _ERI, - 0, - (_con, _eR, _as, _eTx), - ( - (CONTEXT, 1), - (EVALUATION_CONTENT, 0), - (EVALUATION_CONTENT_LIST, 0), - (EVALUATION_EXPECTED_TRAJECTORY, 0), - ), -) - -EVALUATION_REFERENCE_INPUTS: StaticSchema = ( - 16, - n0, - _ERIv, - 4, - (_m,), - ((EVALUATION_REFERENCE_INPUT, 0),), -) - -SPAN_ID: StaticSchema = (3, n0, _SIp, 0) - -SPAN_IDS: StaticSchema = (16, n0, _SIpa, 0, (_m,), ((SPAN_ID, 0),)) - -TRACE_ID: StaticSchema = (3, n0, _TI, 0) - -TRACE_IDS: StaticSchema = (16, n0, _TIr, 0, (_m,), ((TRACE_ID, 0),)) - -EVALUATION_TARGET: StaticSchema = ( - 19, - n0, - _ET, - 0, - (_sIp, _tIr), - ((SPAN_IDS, 0), (TRACE_IDS, 0)), -) - -EVALUATOR_ID: StaticSchema = (3, n0, _EIv, 0) - -EVALUATE_INPUT: StaticSchema = ( - 18, - n0, - _EIva, - {_sSI: _cER, _smit: None}, - (_eI, _eIv, _eTv, _eRI), - ( - (EVALUATOR_ID, 9), - (EVALUATION_INPUT, 1), - (EVALUATION_TARGET, 0), - (EVALUATION_REFERENCE_INPUTS, 0), - ), -) - -EVALUATION_ERROR_CODE: StaticSchema = (3, n0, _EEC, 0) - -EVALUATION_ERROR_MESSAGE: StaticSchema = (3, n0, _EEM, 0) - -EVALUATION_DIMENSION_NAME: StaticSchema = (3, n0, _EDN, 0) - -EVALUATOR_ARN: StaticSchema = (3, n0, _EA, 0) - -EVALUATOR_NAME: StaticSchema = (3, n0, _EN, 0) - -EVALUATION_EXPLANATION: StaticSchema = (3, n0, _EE, 4) - -IGNORED_REFERENCE_INPUT_FIELD: StaticSchema = (3, n0, _IRIF, 0) - -IGNORED_REFERENCE_INPUT_FIELDS: StaticSchema = ( - 16, - n0, - _IRIFg, - 0, - (_m,), - ((IGNORED_REFERENCE_INPUT_FIELD, 0),), -) - -TOKEN_USAGE: StaticSchema = (18, n0, _TU, 0, (_iT, _oT, _tT), ((7, 0), (7, 0), (7, 0))) - -EVALUATION_RESULT_CONTENT: StaticSchema = ( - 18, - n0, - _ERC, - 0, - (_eA, _eI, _eN, _eDN, _ex, _con, _va, _la, _tU, _eMr, _eCr, _iRIF), - ( - (EVALUATOR_ARN, 1), - (EVALUATOR_ID, 1), - (EVALUATOR_NAME, 1), - (EVALUATION_DIMENSION_NAME, 0), - (EVALUATION_EXPLANATION, 0), - (CONTEXT, 1), - (10, 0), - (3, 0), - (TOKEN_USAGE, 0), - (EVALUATION_ERROR_MESSAGE, 0), - (EVALUATION_ERROR_CODE, 0), - (IGNORED_REFERENCE_INPUT_FIELDS, 0), - ), -) - -EVALUATION_RESULTS: StaticSchema = ( - 16, - n0, - _ER, - 0, - (_m,), - ((EVALUATION_RESULT_CONTENT, 0),), -) - -EVALUATE_OUTPUT: StaticSchema = ( - 18, - n0, - _EO, - {_sSI: _cERo, _smith: None}, - (_eRv,), - ((EVALUATION_RESULTS, 1),), -) - -EVALUATE: StaticOperationSchema = ( - 23, - n0, - _Ev, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/evaluations/evaluate/{evaluatorId}"} - ) - }, - EVALUATE_INPUT, - EVALUATE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - DUPLICATE_ID_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AB_TEST_INPUT: StaticSchema = ( - 18, - n0, - _GABTI, - {_sSI: _cGABTR, _smit: None}, - (_aTI,), - ((AB_TEST_ID, 9),), -) - -ERROR_DETAILS_LIST: StaticSchema = (16, n0, _EDL, 0, (_m,), ((3, 0),)) - -GET_AB_TEST_OUTPUT: StaticSchema = ( - 18, - n0, - _GABTO, - {_sSI: _cGABTRo, _smith: None}, - ( - _aTI, - _aTA, - _n, - _d, - _st, - _eS, - _gA, - _var, - _gF, - _eCv, - _rA, - _cRI, - _eD, - _sAt, - _sAto, - _mDEA, - _cA, - _uA, - _resul, - ), - ( - (AB_TEST_ID, 1), - (AB_TEST_ARN, 1), - (AB_TEST_NAME, 1), - (AB_TEST_DESCRIPTION, 0), - (AB_TEST_STATUS, 1), - (AB_TEST_EXECUTION_STATUS, 1), - (GATEWAY_ARN, 1), - (VARIANT_LIST, 1), - (GATEWAY_FILTER, 0), - (AB_TEST_EVALUATION_CONFIG, 1), - (ROLE_ARN, 0), - (3, 0), - (ERROR_DETAILS_LIST, 0), - (4, 0), - (4, 0), - (4, 0), - (4, 1), - (4, 1), - (AB_TEST_RESULTS, 0), - ), -) - -GET_AB_TEST: StaticOperationSchema = ( - 23, - n0, - _GABT, - {_smithy: MappingProxyType({"method": "GET", "uri": "/ab-tests/{abTestId}"})}, - GET_AB_TEST_INPUT, - GET_AB_TEST_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_BATCH_EVALUATION_INPUT: StaticSchema = ( - 18, - n0, - _GBEI, - {_sSI: _cGBER, _smit: None}, - (_bEI,), - ((BATCH_EVALUATION_ID, 9),), -) - -BATCH_EVALUATION_NAME: StaticSchema = (3, n0, _BEN, 0) - -EVALUATION_STRING_LIST: StaticSchema = (16, n0, _ESL, 0, (_m,), ((3, 0),)) - -TRACE_ID_LIST: StaticSchema = (16, n0, _TIL, 0, (_m,), ((TRACE_ID, 0),)) - -SESSION_TRACE_IDS: StaticSchema = ( - 18, - n0, - _STI, - 0, - (_sIe, _tIr), - ((3, 1), (TRACE_ID_LIST, 1)), -) - -SESSION_TRACE_IDS_LIST: StaticSchema = ( - 16, - n0, - _STIL, - 0, - (_m,), - ((SESSION_TRACE_IDS, 0),), -) - -SESSION_FILTER_CONFIG: StaticSchema = ( - 18, - n0, - _SFCe, - 0, - (_sTt, _eT), - ((4, {_sF: _dt}), (4, {_sF: _dt})), -) - -CLOUD_WATCH_FILTER_CONFIG: StaticSchema = ( - 18, - n0, - _CWFC, - 0, - (_sIes, _tR, _sTI), - ( - (EVALUATION_STRING_LIST, 0), - (SESSION_FILTER_CONFIG, 0), - (SESSION_TRACE_IDS_LIST, 0), - ), -) - -LOG_GROUP_NAME_PREFIX: StaticSchema = (3, n0, _LGNP, 0) - -LOG_GROUP_NAME_PREFIX_LIST: StaticSchema = ( - 16, - n0, - _LGNPL, - 0, - (_m,), - ((LOG_GROUP_NAME_PREFIX, 0),), -) - -LOG_GROUP_NAME: StaticSchema = (3, n0, _LGN, 0) - -LOG_GROUP_NAME_LIST: StaticSchema = (16, n0, _LGNL, 0, (_m,), ((LOG_GROUP_NAME, 0),)) - -CLOUD_WATCH_LOGS_SOURCE: StaticSchema = ( - 18, - n0, - _CWLS, - 0, - (_sN, _lGN, _lGNP, _fCi), - ( - (EVALUATION_STRING_LIST, 1), - (LOG_GROUP_NAME_LIST, {_smithyap: ()}), - (LOG_GROUP_NAME_PREFIX_LIST, 0), - (CLOUD_WATCH_FILTER_CONFIG, 0), - ), -) - -ONLINE_EVALUATION_CONFIG_SOURCE: StaticSchema = ( - 18, - n0, - _OECS, - 0, - (_oECA, _tR), - ((ONLINE_EVALUATION_CONFIG_ARN, 1), (SESSION_FILTER_CONFIG, 0)), -) - -DATA_SOURCE_CONFIG: StaticSchema = ( - 19, - n0, - _DSC, - 0, - (_cWL, _oECS), - ((CLOUD_WATCH_LOGS_SOURCE, 0), (ONLINE_EVALUATION_CONFIG_SOURCE, 0)), -) - -BATCH_EVALUATION_DESCRIPTION: StaticSchema = (3, n0, _BED, 0) - -EVALUATOR_STATISTICS: StaticSchema = (18, n0, _ES, 0, (_aSv,), ((10, 0),)) - -EVALUATOR_SUMMARY: StaticSchema = ( - 18, - n0, - _ESv, - 0, - (_eI, _eDN, _sta, _tEo, _tF), - ((3, 0), (3, 0), (EVALUATOR_STATISTICS, 0), (7, 0), (7, 0)), -) - -EVALUATOR_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _ESLv, - 0, - (_m,), - ((EVALUATOR_SUMMARY, 0),), -) - -EVALUATION_JOB_RESULTS: StaticSchema = ( - 18, - n0, - _EJR, - 0, - (_nOSC, _nOSIP, _nOSF, _tNOS, _nOSI, _eSv), - ((7, 0), (7, 0), (7, 0), (7, 0), (7, 0), (EVALUATOR_SUMMARY_LIST, 0)), -) - -EVALUATOR: StaticSchema = (18, n0, _Eva, 0, (_eI,), ((EVALUATOR_ID, 1),)) - -EVALUATOR_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((EVALUATOR, 0),)) - -EXECUTION_SUMMARY_AFFECTED_SESSION: StaticSchema = ( - 18, - n0, - _ESAS, - 0, - (_sIe, _aTp, _fO), - ((3, 1), (3, 1), (3, 1)), -) - -EXECUTION_SUMMARY_AFFECTED_SESSION_LIST: StaticSchema = ( - 16, - n0, - _ESASL, - 0, - (_m,), - ((EXECUTION_SUMMARY_AFFECTED_SESSION, 0),), -) - -EXECUTION_SUMMARY_CLUSTER: StaticSchema = ( - 18, - n0, - _ESC, - 0, - (_cIl, _n, _d, _aSC, _aSf), - ((7, 1), (3, 1), (3, 1), (7, 1), (EXECUTION_SUMMARY_AFFECTED_SESSION_LIST, 1)), -) - -EXECUTION_SUMMARY_CLUSTER_LIST: StaticSchema = ( - 16, - n0, - _ESCL, - 0, - (_m,), - ((EXECUTION_SUMMARY_CLUSTER, 0),), -) - -EXECUTION_SUMMARY_CLUSTERING_RESULT_CONTENT: StaticSchema = ( - 18, - n0, - _ESCRC, - 0, - (_eSx,), - ((EXECUTION_SUMMARY_CLUSTER_LIST, 1),), -) - -ROOT_CAUSE_CLUSTER: StaticSchema = ( - 18, - n0, - _RCC, - 0, - (_cIl, _n, _rC, _r, _aSC, _aSf), - ((7, 1), (3, 1), (3, 1), (3, 1), (7, 1), (AFFECTED_SESSION_LIST, 1)), -) - -ROOT_CAUSE_CLUSTER_LIST: StaticSchema = ( - 16, - n0, - _RCCL, - 0, - (_m,), - ((ROOT_CAUSE_CLUSTER, 0),), -) - -FAILURE_SUB_CATEGORY_CLUSTER: StaticSchema = ( - 18, - n0, - _FSCC, - 0, - (_cIl, _n, _d, _aSC, _rCo), - ((7, 1), (3, 1), (3, 1), (7, 1), (ROOT_CAUSE_CLUSTER_LIST, 1)), -) - -FAILURE_SUB_CATEGORY_CLUSTER_LIST: StaticSchema = ( - 16, - n0, - _FSCCL, - 0, - (_m,), - ((FAILURE_SUB_CATEGORY_CLUSTER, 0),), -) - -FAILURE_CATEGORY_CLUSTER: StaticSchema = ( - 18, - n0, - _FCC, - 0, - (_cIl, _n, _d, _aSC, _sCu), - ((7, 1), (3, 1), (3, 1), (7, 1), (FAILURE_SUB_CATEGORY_CLUSTER_LIST, 1)), -) - -FAILURE_CATEGORY_CLUSTER_LIST: StaticSchema = ( - 16, - n0, - _FCCL, - 0, - (_m,), - ((FAILURE_CATEGORY_CLUSTER, 0),), -) - -FAILURE_ANALYSIS_RESULT_CONTENT: StaticSchema = ( - 18, - n0, - _FARC, - 0, - (_fa,), - ((FAILURE_CATEGORY_CLUSTER_LIST, 1),), -) - -INSIGHT_DESCRIPTION: StaticSchema = (3, n0, _ID, 4) - -INSIGHT_NAME: StaticSchema = (3, n0, _IN, 4) - -ROOT_CAUSE_EXPLANATION: StaticSchema = (3, n0, _RCEo, 4) - -ROOT_CAUSE_NAME: StaticSchema = (3, n0, _RCN, 4) - -FINDING_DESCRIPTION: StaticSchema = (3, n0, _FD, 4) - -FINDING_TARGET_ID: StaticSchema = (3, n0, _FTI, 0) - -FINDING_TARGET_TYPE: StaticSchema = ( - 14, - n0, - _FTT, - 0, - (_SI_, _TI_, _SN_), - ((-1, {_sVm: _SI_}), (-1, {_sVm: _TI_}), (-1, {_sVm: _SN_})), -) - -SESSION_FINDING: StaticSchema = ( - 18, - n0, - _SFe, - 0, - (_tIa, _tTa, _d, _ca, _co), - ( - (FINDING_TARGET_ID, 0), - (FINDING_TARGET_TYPE, 0), - (FINDING_DESCRIPTION, 1), - (3, 0), - (10, 0), - ), -) - -SESSION_FINDING_LIST: StaticSchema = (16, n0, _SFL, 0, (_m,), ((SESSION_FINDING, 0),)) - -SAMPLE_SESSION: StaticSchema = ( - 18, - n0, - _SS, - 0, - (_sIe, _lSA, _fi), - ((SESSION_ID, 1), (4, {_sF: _dt}), (SESSION_FINDING_LIST, 0)), -) - -INSIGHT_SAMPLE_SESSION_LIST: StaticSchema = ( - 16, - n0, - _ISSL, - 0, - (_m,), - ((SAMPLE_SESSION, 0),), -) - -SUGGESTED_FIX: StaticSchema = (3, n0, _SFu, 4) - -INSIGHT_ROOT_CAUSE: StaticSchema = ( - 18, - n0, - _IRC, - 0, - (_n, _ex, _aSC, _sFu, _sSa), - ( - (ROOT_CAUSE_NAME, 1), - (ROOT_CAUSE_EXPLANATION, 1), - (7, 0), - (SUGGESTED_FIX, 0), - (INSIGHT_SAMPLE_SESSION_LIST, 0), - ), -) - -INSIGHT_ROOT_CAUSE_LIST: StaticSchema = ( - 16, - n0, - _IRCL, - 0, - (_m,), - ((INSIGHT_ROOT_CAUSE, 0),), -) - -INSIGHT_TYPE: StaticSchema = (14, n0, _IT, 0, (_FAILURE,), ((-1, {_sVm: _FAILURE}),)) - -INSIGHT_RESULT: StaticSchema = ( - 18, - n0, - _IR, - 0, - (_ty, _n, _d, _cA, _aSC, _sSa, _rCo), - ( - (INSIGHT_TYPE, 1), - (INSIGHT_NAME, 1), - (INSIGHT_DESCRIPTION, 1), - (4, {_sF: _dt, _s: None}), - (7, 0), - (INSIGHT_SAMPLE_SESSION_LIST, 0), - (INSIGHT_ROOT_CAUSE_LIST, 0), - ), -) - -INSIGHT_RESULT_LIST: StaticSchema = (16, n0, _IRL, 0, (_m,), ((INSIGHT_RESULT, 0),)) - -INSIGHT_ID: StaticSchema = (3, n0, _II, 0) - -INSIGHT: StaticSchema = (18, n0, _I, 0, (_iI,), ((INSIGHT_ID, 1),)) - -INSIGHT_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((INSIGHT, 0),)) - -KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) - -OPTIONAL_LOG_GROUP_NAME: StaticSchema = (3, n0, _OLGN, 0) - -LOG_STREAM_NAME: StaticSchema = (3, n0, _LSN, 0) - -METRICS_NAMESPACE: StaticSchema = (3, n0, _MNe, 0) - -RESULT_DESTINATION: StaticSchema = ( - 14, - n0, - _RD, - 0, - (_DLG, _SLG), - ((-1, {_sVm: _DLG}), (-1, {_sVm: _SLG})), -) - -CLOUD_WATCH_OUTPUT_CONFIG: StaticSchema = ( - 18, - n0, - _CWOC, - 0, - (_lGNo, _lSN, _mNe, _rD), - ( - (OPTIONAL_LOG_GROUP_NAME, {_smithyap: _v}), - (LOG_STREAM_NAME, {_smithyap: _v}), - (METRICS_NAMESPACE, 0), - (RESULT_DESTINATION, {_smithyap: _DLG}), - ), -) - -OUTPUT_CONFIG: StaticSchema = ( - 19, - n0, - _OC, - 0, - (_cWC,), - ((CLOUD_WATCH_OUTPUT_CONFIG, 0),), -) - -USER_INTENT_LIST: StaticSchema = (16, n0, _UIL, 0, (_m,), ((3, 0),)) - -USER_INTENT_AFFECTED_SESSION: StaticSchema = ( - 18, - n0, - _UIAS, - 0, - (_sIe, _uM), - ((3, 1), (USER_INTENT_LIST, 1)), -) - -USER_INTENT_AFFECTED_SESSION_LIST: StaticSchema = ( - 16, - n0, - _UIASL, - 0, - (_m,), - ((USER_INTENT_AFFECTED_SESSION, 0),), -) - -USER_INTENT_CLUSTER: StaticSchema = ( - 18, - n0, - _UIC, - 0, - (_cIl, _n, _d, _aSC, _aSf), - ((7, 1), (3, 1), (3, 1), (7, 1), (USER_INTENT_AFFECTED_SESSION_LIST, 1)), -) - -USER_INTENT_CLUSTER_LIST: StaticSchema = ( - 16, - n0, - _UICL, - 0, - (_m,), - ((USER_INTENT_CLUSTER, 0),), -) - -USER_INTENT_CLUSTERING_RESULT_CONTENT: StaticSchema = ( - 18, - n0, - _UICRC, - 0, - (_uIse,), - ((USER_INTENT_CLUSTER_LIST, 1),), -) - -GET_BATCH_EVALUATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBEO, - {_sSI: _cGBERo, _smith: None}, - ( - _bEI, - _bEA, - _bEN, - _st, - _cA, - _ev, - _in, - _dSC, - _oC, - _eRv, - _iR, - _fAR, - _uIR, - _eSR, - _eD, - _d, - _uA, - _kKA, - ), - ( - (BATCH_EVALUATION_ID, 1), - (BATCH_EVALUATION_ARN, 1), - (BATCH_EVALUATION_NAME, 1), - (BATCH_EVALUATION_STATUS, 1), - (4, {_sF: _dt, _s: None}), - (EVALUATOR_LIST, 0), - (INSIGHT_LIST, 0), - (DATA_SOURCE_CONFIG, 0), - (OUTPUT_CONFIG, 0), - (EVALUATION_JOB_RESULTS, 0), - (INSIGHT_RESULT_LIST, 0), - (FAILURE_ANALYSIS_RESULT_CONTENT, 0), - (USER_INTENT_CLUSTERING_RESULT_CONTENT, 0), - (EXECUTION_SUMMARY_CLUSTERING_RESULT_CONTENT, 0), - (ERROR_DETAILS_LIST, 0), - (BATCH_EVALUATION_DESCRIPTION, 0), - (4, {_sF: _dt}), - (KMS_KEY_ARN, 0), - ), -) - -GET_BATCH_EVALUATION: StaticOperationSchema = ( - 23, - n0, - _GBE, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/evaluations/batch-evaluate/{batchEvaluationId}"} - ) - }, - GET_BATCH_EVALUATION_INPUT, - GET_BATCH_EVALUATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_RECOMMENDATION_INPUT: StaticSchema = ( - 18, - n0, - _GRI, - {_sSI: _cGRR, _smit: None}, - (_rI,), - ((RECOMMENDATION_ID, 9),), -) - -RECOMMENDATION_DESCRIPTION: StaticSchema = (3, n0, _RDe, 0) - -RECOMMENDATION_NAME: StaticSchema = (3, n0, _RN, 0) - -RECOMMENDATION_ARN: StaticSchema = (3, n0, _RAe, 0) - -RECOMMENDATION_EVALUATOR_REFERENCE: StaticSchema = ( - 18, - n0, - _RER, - 0, - (_eA,), - ((EVALUATOR_ARN, 1),), -) - -RECOMMENDATION_EVALUATOR_LIST: StaticSchema = ( - 16, - n0, - _REL, - 0, - (_m,), - ((RECOMMENDATION_EVALUATOR_REFERENCE, 0),), -) - -RECOMMENDATION_EVALUATION_CONFIG: StaticSchema = ( - 18, - n0, - _REC, - 0, - (_ev,), - ((RECOMMENDATION_EVALUATOR_LIST, 1),), -) - -CONFIGURATION_BUNDLE_VERSION_ID: StaticSchema = (3, n0, _CBVI, 0) - -SYSTEM_PROMPT_CONFIGURATION_BUNDLE: StaticSchema = ( - 18, - n0, - _SPCB, - 0, - (_bAu, _vI, _sPJP), - ((CONFIGURATION_BUNDLE_ARN, 1), (CONFIGURATION_BUNDLE_VERSION_ID, 1), (3, 1)), -) - -SYSTEM_PROMPT_TEXT: StaticSchema = (3, n0, _SPT, 4) - -SYSTEM_PROMPT_CONFIG: StaticSchema = ( - 19, - n0, - _SPC, - 0, - (_te, _cB), - ((SYSTEM_PROMPT_TEXT, 0), (SYSTEM_PROMPT_CONFIGURATION_BUNDLE, 0)), -) - -SYSTEM_PROMPT_RECOMMENDATION_CONFIG: StaticSchema = ( - 18, - n0, - _SPRC, - 0, - (_sPy, _aTg, _eCv), - ( - (SYSTEM_PROMPT_CONFIG, 1), - (AGENT_TRACES_CONFIG, 1), - (RECOMMENDATION_EVALUATION_CONFIG, 0), - ), -) - -RECOMMENDATION_TOOL_NAME: StaticSchema = (3, n0, _RTN, 0) - -CONFIGURATION_BUNDLE_TOOL_ENTRY: StaticSchema = ( - 18, - n0, - _CBTE, - 0, - (_tNo, _tDJP), - ((RECOMMENDATION_TOOL_NAME, 1), (3, 1)), -) - -CONFIGURATION_BUNDLE_TOOL_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _CBTEL, - 0, - (_m,), - ((CONFIGURATION_BUNDLE_TOOL_ENTRY, 0),), -) - -TOOL_DESCRIPTION_CONFIGURATION_BUNDLE: StaticSchema = ( - 18, - n0, - _TDCB, - 0, - (_bAu, _vI, _to), - ( - (CONFIGURATION_BUNDLE_ARN, 1), - (CONFIGURATION_BUNDLE_VERSION_ID, 1), - (CONFIGURATION_BUNDLE_TOOL_ENTRY_LIST, 1), - ), -) - -TOOL_DESCRIPTION_TEXT: StaticSchema = (3, n0, _TDT, 4) - -TOOL_DESCRIPTION_CONFIG: StaticSchema = ( - 19, - n0, - _TDC, - 0, - (_te,), - ((TOOL_DESCRIPTION_TEXT, 0),), -) - -TOOL_DESCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _TDI, - 0, - (_tNo, _tD), - ((RECOMMENDATION_TOOL_NAME, 1), (TOOL_DESCRIPTION_CONFIG, 1)), -) - -TOOL_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _TDL, - 0, - (_m,), - ((TOOL_DESCRIPTION_INPUT, 0),), -) - -TOOL_DESCRIPTION_TEXT_INPUT: StaticSchema = ( - 18, - n0, - _TDTI, - 0, - (_to,), - ((TOOL_DESCRIPTION_LIST, 1),), -) - -TOOL_DESCRIPTION_SOURCE: StaticSchema = ( - 19, - n0, - _TDS, - 0, - (_tDT, _cB), - ((TOOL_DESCRIPTION_TEXT_INPUT, 0), (TOOL_DESCRIPTION_CONFIGURATION_BUNDLE, 0)), -) - -TOOL_DESCRIPTION_RECOMMENDATION_CONFIG: StaticSchema = ( - 18, - n0, - _TDRC, - 0, - (_tD, _aTg), - ((TOOL_DESCRIPTION_SOURCE, 1), (AGENT_TRACES_CONFIG, 1)), -) - -RECOMMENDATION_CONFIG: StaticSchema = ( - 19, - n0, - _RCec, - 0, - (_sPRC, _tDRC), - ( - (SYSTEM_PROMPT_RECOMMENDATION_CONFIG, 0), - (TOOL_DESCRIPTION_RECOMMENDATION_CONFIG, 0), - ), -) - -RECOMMENDATION_RESULT_CONFIGURATION_BUNDLE: StaticSchema = ( - 18, - n0, - _RRCB, - 0, - (_bAu, _vI), - ((CONFIGURATION_BUNDLE_ARN, 1), (CONFIGURATION_BUNDLE_VERSION_ID, 1)), -) - -RECOMMENDATION_ERROR_CODE: StaticSchema = (3, n0, _RECe, 0) - -RECOMMENDATION_ERROR_MESSAGE: StaticSchema = (3, n0, _REM, 0) - -RECOMMENDATION_EXPLANATION: StaticSchema = (3, n0, _RE, 0) - -SYSTEM_PROMPT_RECOMMENDATION_RESULT: StaticSchema = ( - 18, - n0, - _SPRR, - 0, - (_rSP, _cB, _ex, _eCr, _eMr), - ( - (SYSTEM_PROMPT_TEXT, 0), - (RECOMMENDATION_RESULT_CONFIGURATION_BUNDLE, 0), - (RECOMMENDATION_EXPLANATION, 0), - (RECOMMENDATION_ERROR_CODE, 0), - (RECOMMENDATION_ERROR_MESSAGE, 0), - ), -) - -TOOL_DESCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _TDO, - 0, - (_tNo, _rTD, _ex), - ( - (RECOMMENDATION_TOOL_NAME, 1), - (TOOL_DESCRIPTION_TEXT, 0), - (RECOMMENDATION_EXPLANATION, 0), - ), -) - -TOOL_DESCRIPTION_RESULT_LIST: StaticSchema = ( - 16, - n0, - _TDRL, - 0, - (_m,), - ((TOOL_DESCRIPTION_OUTPUT, 0),), -) - -TOOL_DESCRIPTION_RECOMMENDATION_RESULT: StaticSchema = ( - 18, - n0, - _TDRR, - 0, - (_to, _cB, _eCr, _eMr), - ( - (TOOL_DESCRIPTION_RESULT_LIST, 0), - (RECOMMENDATION_RESULT_CONFIGURATION_BUNDLE, 0), - (RECOMMENDATION_ERROR_CODE, 0), - (RECOMMENDATION_ERROR_MESSAGE, 0), - ), -) - -RECOMMENDATION_RESULT: StaticSchema = ( - 19, - n0, - _RR, - 0, - (_sPRR, _tDRR), - ( - (SYSTEM_PROMPT_RECOMMENDATION_RESULT, 0), - (TOOL_DESCRIPTION_RECOMMENDATION_RESULT, 0), - ), -) - -RECOMMENDATION_TYPE: StaticSchema = ( - 14, - n0, - _RT, - 0, - (_SPR, _TDR), - ((-1, {_sVm: _SPR}), (-1, {_sVm: _TDR})), -) - -GET_RECOMMENDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GRO, - {_sSI: _cGRRo, _smith: None}, - (_rI, _rAe, _n, _d, _ty, _rCe, _st, _cA, _uA, _rR, _kKA), - ( - (RECOMMENDATION_ID, 1), - (RECOMMENDATION_ARN, 1), - (RECOMMENDATION_NAME, 1), - (RECOMMENDATION_DESCRIPTION, 0), - (RECOMMENDATION_TYPE, 1), - (RECOMMENDATION_CONFIG, 1), - (RECOMMENDATION_STATUS, 1), - (4, {_sF: _dt, _s: None}), - (4, {_sF: _dt, _s: None}), - (RECOMMENDATION_RESULT, 0), - (KMS_KEY_ARN, 0), - ), -) - -GET_RECOMMENDATION: StaticOperationSchema = ( - 23, - n0, - _GR, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/recommendations/{recommendationId}"} - ) - }, - GET_RECOMMENDATION_INPUT, - GET_RECOMMENDATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AB_TESTS_INPUT: StaticSchema = ( - 18, - n0, - _LABTI, - {_sSI: _cLABTR, _smit: None}, - (_mR, _nT), - ((7, {_sQ: _mR}), (3, {_sQ: _nT})), -) - -LIST_AB_TESTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LABTO, - {_sSI: _cLABTRo, _smith: None}, - (_aTb, _nT), - ((AB_TEST_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_AB_TESTS: StaticOperationSchema = ( - 23, - n0, - _LABT, - {_smithy: MappingProxyType({"method": "GET", "uri": "/ab-tests"})}, - LIST_AB_TESTS_INPUT, - LIST_AB_TESTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_BATCH_EVALUATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LBEI, - {_sSI: _cLBER, _smit: None}, - (_mR, _nT), - ((7, {_sQ: _mR}), (3, {_sQ: _nT})), -) - -BATCH_EVALUATION_SUMMARY: StaticSchema = ( - 18, - n0, - _BESa, - 0, - (_bEI, _bEA, _bEN, _st, _cA, _d, _ev, _in, _eRv, _eD, _kKA, _uA), - ( - (BATCH_EVALUATION_ID, 1), - (BATCH_EVALUATION_ARN, 1), - (BATCH_EVALUATION_NAME, 1), - (BATCH_EVALUATION_STATUS, 1), - (4, {_sF: _dt, _s: None}), - (BATCH_EVALUATION_DESCRIPTION, 0), - (EVALUATOR_LIST, 0), - (INSIGHT_LIST, 0), - (EVALUATION_JOB_RESULTS, 0), - (ERROR_DETAILS_LIST, 0), - (KMS_KEY_ARN, 0), - (4, {_sF: _dt}), - ), -) - -BATCH_EVALUATION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _BESL, - 0, - (_m,), - ((BATCH_EVALUATION_SUMMARY, 0),), -) - -LIST_BATCH_EVALUATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBEO, - {_sSI: _cLBERo, _smith: None}, - (_bEa, _nT), - ((BATCH_EVALUATION_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_BATCH_EVALUATIONS: StaticOperationSchema = ( - 23, - n0, - _LBE, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/evaluations/batch-evaluate"} - ) - }, - LIST_BATCH_EVALUATIONS_INPUT, - LIST_BATCH_EVALUATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_RECOMMENDATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LRI, - {_sSI: _cLRR, _smit: None}, - (_mR, _nT, _sFt), - ((7, {_sQ: _mR}), (NEXT_TOKEN, {_sQ: _nT}), (RECOMMENDATION_STATUS, {_sQ: _st})), -) - -RECOMMENDATION_SUMMARY: StaticSchema = ( - 18, - n0, - _RSec, - 0, - (_rI, _rAe, _n, _d, _ty, _st, _cA, _uA), - ( - (RECOMMENDATION_ID, 1), - (RECOMMENDATION_ARN, 1), - (RECOMMENDATION_NAME, 1), - (RECOMMENDATION_DESCRIPTION, 0), - (RECOMMENDATION_TYPE, 1), - (RECOMMENDATION_STATUS, 1), - (4, {_sF: _dt, _s: None}), - (4, {_sF: _dt, _s: None}), - ), -) - -RECOMMENDATION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _RSL, - 0, - (_m,), - ((RECOMMENDATION_SUMMARY, 0),), -) - -LIST_RECOMMENDATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRO, - {_sSI: _cLRRo, _smith: None}, - (_rS, _nT), - ((RECOMMENDATION_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_RECOMMENDATIONS: StaticOperationSchema = ( - 23, - n0, - _LR, - {_smithy: MappingProxyType({"method": "GET", "uri": "/recommendations"})}, - LIST_RECOMMENDATIONS_INPUT, - LIST_RECOMMENDATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GROUND_TRUTH_TURN_INPUT: StaticSchema = (19, n0, _GTTI, 0, (_prom,), ((3, 0),)) - -GROUND_TRUTH_TURN: StaticSchema = ( - 18, - n0, - _GTT, - 0, - (_inp, _eR), - ((GROUND_TRUTH_TURN_INPUT, 0), (EVALUATION_CONTENT, 0)), -) - -GROUND_TRUTH_TURN_LIST: StaticSchema = ( - 16, - n0, - _GTTL, - 0, - (_m,), - ((GROUND_TRUTH_TURN, 0),), -) - -INLINE_GROUND_TRUTH: StaticSchema = ( - 18, - n0, - _IGT, - 0, - (_as, _eTx, _tu), - ( - (EVALUATION_CONTENT_LIST, 0), - (EVALUATION_EXPECTED_TRAJECTORY, 0), - (GROUND_TRUTH_TURN_LIST, 0), - ), -) - -GROUND_TRUTH_SOURCE: StaticSchema = ( - 19, - n0, - _GTS, - 0, - (_inl,), - ((INLINE_GROUND_TRUTH, 0),), -) - -STRING_MAP: StaticSchema = (17, n0, _SM, 0, (_k, _va), ((3, 0), (3, 0))) - -SESSION_METADATA_SHAPE: StaticSchema = ( - 18, - n0, - _SMS, - 0, - (_sIe, _tSI, _gT, _met), - ((3, 1), (3, 0), (GROUND_TRUTH_SOURCE, 0), (STRING_MAP, 0)), -) - -SESSION_METADATA_LIST: StaticSchema = ( - 16, - n0, - _SMLe, - 0, - (_m,), - ((SESSION_METADATA_SHAPE, 0),), -) - -EVALUATION_METADATA: StaticSchema = ( - 19, - n0, - _EMv, - 0, - (_sMes,), - ((SESSION_METADATA_LIST, 0),), -) - -START_BATCH_EVALUATION_INPUT: StaticSchema = ( - 18, - n0, - _SBEI, - {_sSI: _cSBER, _smit: None}, - (_bEN, _ev, _in, _dSC, _cTl, _eMv, _tag, _kKA, _d, _oC), - ( - (BATCH_EVALUATION_NAME, 1), - (EVALUATOR_LIST, 0), - (INSIGHT_LIST, 0), - (DATA_SOURCE_CONFIG, 1), - (CLIENT_TOKEN, 2), - (EVALUATION_METADATA, 0), - (TAGS_MAP, 0), - (KMS_KEY_ARN, 0), - (BATCH_EVALUATION_DESCRIPTION, 0), - (OUTPUT_CONFIG, 0), - ), -) - -START_BATCH_EVALUATION_OUTPUT: StaticSchema = ( - 18, - n0, - _SBEO, - {_sSI: _cSBERo, _smith: None}, - (_bEI, _bEA, _bEN, _ev, _in, _st, _cA, _oC, _tag, _kKA, _d), - ( - (BATCH_EVALUATION_ID, 1), - (BATCH_EVALUATION_ARN, 1), - (BATCH_EVALUATION_NAME, 1), - (EVALUATOR_LIST, 0), - (INSIGHT_LIST, 0), - (BATCH_EVALUATION_STATUS, 1), - (4, {_sF: _dt, _s: None}), - (OUTPUT_CONFIG, 0), - (TAGS_MAP, 0), - (KMS_KEY_ARN, 0), - (BATCH_EVALUATION_DESCRIPTION, 0), - ), -) - -START_BATCH_EVALUATION: StaticOperationSchema = ( - 23, - n0, - _SBE, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/evaluations/batch-evaluate", "code": 202} - ) - }, - START_BATCH_EVALUATION_INPUT, - START_BATCH_EVALUATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -START_RECOMMENDATION_INPUT: StaticSchema = ( - 18, - n0, - _SRI, - {_sSI: _cSRR, _smit: None}, - (_n, _d, _ty, _rCe, _kKA, _cTl, _tag), - ( - (RECOMMENDATION_NAME, 1), - (RECOMMENDATION_DESCRIPTION, 0), - (RECOMMENDATION_TYPE, 1), - (RECOMMENDATION_CONFIG, 1), - (KMS_KEY_ARN, 0), - (CLIENT_TOKEN, 2), - (TAGS_MAP, 0), - ), -) - -START_RECOMMENDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _SRO, - {_sSI: _cSRRo, _smith: None}, - (_rI, _rAe, _n, _d, _ty, _rCe, _st, _cA, _uA), - ( - (RECOMMENDATION_ID, 1), - (RECOMMENDATION_ARN, 1), - (RECOMMENDATION_NAME, 1), - (RECOMMENDATION_DESCRIPTION, 0), - (RECOMMENDATION_TYPE, 1), - (RECOMMENDATION_CONFIG, 1), - (RECOMMENDATION_STATUS, 1), - (4, {_sF: _dt, _s: None}), - (4, {_sF: _dt, _s: None}), - ), -) - -START_RECOMMENDATION: StaticOperationSchema = ( - 23, - n0, - _SRt, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/recommendations", "code": 202} - ) - }, - START_RECOMMENDATION_INPUT, - START_RECOMMENDATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_BATCH_EVALUATION_INPUT: StaticSchema = ( - 18, - n0, - _SBEIt, - {_sSI: _cSBERom, _smit: None}, - (_bEI,), - ((BATCH_EVALUATION_ID, 9),), -) - -STOP_BATCH_EVALUATION_OUTPUT: StaticSchema = ( - 18, - n0, - _SBEOt, - {_sSI: _cSBERoma, _smith: None}, - (_bEI, _bEA, _st, _d), - ( - (BATCH_EVALUATION_ID, 1), - (BATCH_EVALUATION_ARN, 1), - (BATCH_EVALUATION_STATUS, 1), - (BATCH_EVALUATION_DESCRIPTION, 0), - ), -) - -STOP_BATCH_EVALUATION: StaticOperationSchema = ( - 23, - n0, - _SBEt, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/evaluations/batch-evaluate/{batchEvaluationId}/stop", - "code": 202, - } - ) - }, - STOP_BATCH_EVALUATION_INPUT, - STOP_BATCH_EVALUATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AB_TEST_INPUT: StaticSchema = ( - 18, - n0, - _UABTI, - {_sSI: _cUABTR, _smit: None}, - (_aTI, _cTl, _n, _d, _var, _gF, _eCv, _rA, _eS), - ( - (AB_TEST_ID, 9), - (CLIENT_TOKEN, 2), - (AB_TEST_NAME, 0), - (AB_TEST_DESCRIPTION, 0), - (VARIANT_LIST, 0), - (GATEWAY_FILTER, 0), - (AB_TEST_EVALUATION_CONFIG, 0), - (ROLE_ARN, 0), - (AB_TEST_EXECUTION_STATUS, 0), - ), -) - -UPDATE_AB_TEST_OUTPUT: StaticSchema = ( - 18, - n0, - _UABTO, - {_sSI: _cUABTRo, _smith: None}, - (_aTI, _aTA, _st, _eS, _uA), - ( - (AB_TEST_ID, 1), - (AB_TEST_ARN, 1), - (AB_TEST_STATUS, 1), - (AB_TEST_EXECUTION_STATUS, 1), - (4, 1), - ), -) - -UPDATE_AB_TEST: StaticOperationSchema = ( - 23, - n0, - _UABT, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/ab-tests/{abTestId}", "code": 202} - ) - }, - UPDATE_AB_TEST_INPUT, - UPDATE_AB_TEST_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREDENTIAL_PROVIDER_NAME: StaticSchema = (3, n0, _CPN, 0) - -WORKLOAD_IDENTITY_TOKEN_TYPE: StaticSchema = (3, n0, _WITT, 4) - -GET_RESOURCE_API_KEY_INPUT: StaticSchema = ( - 18, - n0, - _GRAKI, - {_sSI: _cGRAKR, _smit: None}, - (_wIT, _rCPN), - ((WORKLOAD_IDENTITY_TOKEN_TYPE, 1), (CREDENTIAL_PROVIDER_NAME, 1)), -) - -API_KEY_TYPE: StaticSchema = (3, n0, _AKT, 4) - -GET_RESOURCE_API_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRAKO, - {_sSI: _cGRAKRo, _smith: None}, - (_aK,), - ((API_KEY_TYPE, 1),), -) - -GET_RESOURCE_API_KEY: StaticOperationSchema = ( - 23, - n0, - _GRAK, - {_smithy: MappingProxyType({"uri": "/identities/api-key", "method": "POST"})}, - GET_RESOURCE_API_KEY_INPUT, - GET_RESOURCE_API_KEY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUDIENCE_TYPE: StaticSchema = (3, n0, _AT, 0) - -AUDIENCES_LIST_TYPE: StaticSchema = (16, n0, _ALT, 0, (_m,), ((AUDIENCE_TYPE, 0),)) - -CUSTOM_REQUEST_KEY_TYPE: StaticSchema = (3, n0, _CRKT, 0) - -CUSTOM_REQUEST_VALUE_TYPE: StaticSchema = (3, n0, _CRVT, 4) - -CUSTOM_REQUEST_PARAMETERS_TYPE: StaticSchema = ( - 17, - n0, - _CRPT, - 0, - (_k, _va), - ((CUSTOM_REQUEST_KEY_TYPE, 0), (CUSTOM_REQUEST_VALUE_TYPE, 0)), -) - -STATE: StaticSchema = (3, n0, _Sta, 4) - -OAUTH2_FLOW_TYPE: StaticSchema = ( - 14, - n0, - _OFT, - 0, - (_UF_, _MM_, _OBOTE), - ((-1, {_sVm: _UF_}), (-1, {_sVm: _MM_}), (-1, {_sVm: _OBOTE})), -) - -RESOURCE_OAUTH2_RETURN_URL_TYPE: StaticSchema = (3, n0, _RORUT, 0) - -RESOURCE_TYPE: StaticSchema = (3, n0, _RTe, 0) - -RESOURCES_LIST_TYPE: StaticSchema = (16, n0, _RLT, 0, (_m,), ((RESOURCE_TYPE, 0),)) - -SCOPE_TYPE: StaticSchema = (3, n0, _STc, 0) - -SCOPES_LIST_TYPE: StaticSchema = (16, n0, _SLT, 0, (_m,), ((SCOPE_TYPE, 0),)) - -GET_RESOURCE_OAUTH2_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _GROTI, - {_sSI: _cGROTR, _smit: None}, - (_wIT, _rCPN, _sco, _oF, _sUe, _rORU, _fA, _cP, _cSu, _reso, _au), - ( - (WORKLOAD_IDENTITY_TOKEN_TYPE, 1), - (CREDENTIAL_PROVIDER_NAME, 1), - (SCOPES_LIST_TYPE, 1), - (OAUTH2_FLOW_TYPE, 1), - (REQUEST_URI, 0), - (RESOURCE_OAUTH2_RETURN_URL_TYPE, 0), - (2, 0), - (CUSTOM_REQUEST_PARAMETERS_TYPE, 0), - (STATE, 0), - (RESOURCES_LIST_TYPE, 0), - (AUDIENCES_LIST_TYPE, 0), - ), -) - -AUTHORIZATION_URL_TYPE: StaticSchema = (3, n0, _AUT, 4) - -SESSION_STATUS: StaticSchema = ( - 14, - n0, - _SSe, - 0, - (_IP, _FAILED), - ((-1, {_sVm: _IP}), (-1, {_sVm: _FAILED})), -) - -GET_RESOURCE_OAUTH2_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _GROTO, - {_sSI: _cGROTRo, _smith: None}, - (_aU, _aTc, _sUe, _sSes), - ( - (AUTHORIZATION_URL_TYPE, 0), - (ACCESS_TOKEN_TYPE, 0), - (REQUEST_URI, 0), - (SESSION_STATUS, 0), - ), -) - -GET_RESOURCE_OAUTH2_TOKEN: StaticOperationSchema = ( - 23, - n0, - _GROT, - {_smithy: MappingProxyType({"uri": "/identities/oauth2/token", "method": "POST"})}, - GET_RESOURCE_OAUTH2_TOKEN_INPUT, - GET_RESOURCE_OAUTH2_TOKEN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -COINBASE_CDP_PAYMENT_REQUEST_BODY_TYPE: StaticSchema = (3, n0, _CCPRBT, 0) - -PAYMENT_REQUEST_HOST_TYPE: StaticSchema = (3, n0, _PRHT, 0) - -PAYMENT_HTTP_METHOD_TYPE: StaticSchema = ( - 14, - n0, - _PHMT, - 0, - (_GET, _POST, _PUT, _DELETE, _PATCH), - ( - (-1, {_sVm: _GET}), - (-1, {_sVm: _POST}), - (-1, {_sVm: _PUT}), - (-1, {_sVm: _DELETE}), - (-1, {_sVm: _PATCH}), - ), -) - -PAYMENT_REQUEST_PATH_TYPE: StaticSchema = (3, n0, _PRPT, 0) - -COINBASE_CDP_TOKEN_REQUEST_INPUT: StaticSchema = ( - 18, - n0, - _CCTRI, - 0, - (_rM, _rH, _rP, _iWAT, _rB), - ( - (PAYMENT_HTTP_METHOD_TYPE, 1), - (PAYMENT_REQUEST_HOST_TYPE, 0), - (PAYMENT_REQUEST_PATH_TYPE, 1), - (2, {_smithyap: False}), - (COINBASE_CDP_PAYMENT_REQUEST_BODY_TYPE, 0), - ), -) - -STRIPE_PRIVY_REQUEST_BODY_TYPE: StaticSchema = (3, n0, _SPRBT, 4) - -STRIPE_PRIVY_REQUEST_HOST_TYPE: StaticSchema = (3, n0, _SPRHT, 0) - -STRIPE_PRIVY_REQUEST_PATH_TYPE: StaticSchema = (3, n0, _SPRPT, 0) - -STRIPE_PRIVY_TOKEN_REQUEST_INPUT: StaticSchema = ( - 18, - n0, - _SPTRI, - 0, - (_rH, _rP, _rB, _iAS), - ( - (STRIPE_PRIVY_REQUEST_HOST_TYPE, 0), - (STRIPE_PRIVY_REQUEST_PATH_TYPE, 1), - (STRIPE_PRIVY_REQUEST_BODY_TYPE, 1), - (2, {_smithyap: False}), - ), -) - -PAYMENT_TOKEN_REQUEST_INPUT: StaticSchema = ( - 19, - n0, - _PTRI, - 0, - (_cCTR, _sPTR), - ((COINBASE_CDP_TOKEN_REQUEST_INPUT, 0), (STRIPE_PRIVY_TOKEN_REQUEST_INPUT, 0)), -) - -GET_RESOURCE_PAYMENT_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _GRPTI, - {_sSI: _cGRPTR, _smit: None}, - (_wIT, _rCPN, _pTR), - ( - (WORKLOAD_IDENTITY_TOKEN_TYPE, 1), - (CREDENTIAL_PROVIDER_NAME, 1), - (PAYMENT_TOKEN_REQUEST_INPUT, 1), - ), -) - -COINBASE_CDP_PAYMENT_JWT_TOKEN_TYPE: StaticSchema = (3, n0, _CCPJTT, 4) - -COINBASE_CDP_TOKEN_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _CCTRO, - 0, - (_bT, _wAT), - ( - (COINBASE_CDP_PAYMENT_JWT_TOKEN_TYPE, 1), - (COINBASE_CDP_PAYMENT_JWT_TOKEN_TYPE, 0), - ), -) - -STRIPE_PRIVY_APP_ID_TYPE: StaticSchema = (3, n0, _SPAIT, 0) - -STRIPE_PRIVY_AUTHORIZATION_SIGNATURE_TYPE: StaticSchema = (3, n0, _SPAST, 4) - -STRIPE_PRIVY_BASIC_AUTH_TOKEN_TYPE: StaticSchema = (3, n0, _SPBATT, 4) - -STRIPE_PRIVY_TOKEN_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _SPTRO, - 0, - (_aSu, _rE, _aIp, _bAT), - ( - (STRIPE_PRIVY_AUTHORIZATION_SIGNATURE_TYPE, 0), - (8, 0), - (STRIPE_PRIVY_APP_ID_TYPE, 1), - (STRIPE_PRIVY_BASIC_AUTH_TOKEN_TYPE, 1), - ), -) - -PAYMENT_TOKEN_RESPONSE_OUTPUT: StaticSchema = ( - 19, - n0, - _PTRO, - 0, - (_cCTRo, _sPTRt), - ((COINBASE_CDP_TOKEN_RESPONSE_OUTPUT, 0), (STRIPE_PRIVY_TOKEN_RESPONSE_OUTPUT, 0)), -) - -GET_RESOURCE_PAYMENT_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPTO, - {_sSI: _cGRPTRo, _smith: None}, - (_pTRa,), - ((PAYMENT_TOKEN_RESPONSE_OUTPUT, 1),), -) - -GET_RESOURCE_PAYMENT_TOKEN: StaticOperationSchema = ( - 23, - n0, - _GRPT, - {_smithy: MappingProxyType({"uri": "/identities/payment/token", "method": "POST"})}, - GET_RESOURCE_PAYMENT_TOKEN_INPUT, - GET_RESOURCE_PAYMENT_TOKEN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -WORKLOAD_IDENTITY_NAME_TYPE: StaticSchema = (3, n0, _WINT, 0) - -GET_WORKLOAD_ACCESS_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _GWATI, - {_sSI: _cGWATR, _smit: None}, - (_wN,), - ((WORKLOAD_IDENTITY_NAME_TYPE, 1),), -) - -GET_WORKLOAD_ACCESS_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _GWATO, - {_sSI: _cGWATRo, _smith: None}, - (_wATo,), - ((WORKLOAD_IDENTITY_TOKEN_TYPE, 1),), -) - -GET_WORKLOAD_ACCESS_TOKEN: StaticOperationSchema = ( - 23, - n0, - _GWAT, - { - _smithy: MappingProxyType( - {"uri": "/identities/GetWorkloadAccessToken", "method": "POST"} - ) - }, - GET_WORKLOAD_ACCESS_TOKEN_INPUT, - GET_WORKLOAD_ACCESS_TOKEN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_INPUT: StaticSchema = ( - 18, - n0, - _GWATFJWTI, - {_sSI: _cGWATFJWTR, _smit: None}, - (_wN, _uT), - ((WORKLOAD_IDENTITY_NAME_TYPE, 1), (USER_TOKEN_TYPE, 1)), -) - -GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_OUTPUT: StaticSchema = ( - 18, - n0, - _GWATFJWTO, - {_sSI: _cGWATFJWTRo, _smith: None}, - (_wATo,), - ((WORKLOAD_IDENTITY_TOKEN_TYPE, 1),), -) - -GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT: StaticOperationSchema = ( - 23, - n0, - _GWATFJWT, - { - _smithy: MappingProxyType( - {"uri": "/identities/GetWorkloadAccessTokenForJWT", "method": "POST"} - ) - }, - GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_INPUT, - GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_INPUT: StaticSchema = ( - 18, - n0, - _GWATFUII, - {_sSI: _cGWATFUIR, _smit: None}, - (_wN, _uI), - ((WORKLOAD_IDENTITY_NAME_TYPE, 1), (USER_ID_TYPE, 1)), -) - -GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _GWATFUIO, - {_sSI: _cGWATFUIRo, _smith: None}, - (_wATo,), - ((WORKLOAD_IDENTITY_TOKEN_TYPE, 1),), -) - -GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID: StaticOperationSchema = ( - 23, - n0, - _GWATFUI, - { - _smithy: MappingProxyType( - {"uri": "/identities/GetWorkloadAccessTokenForUserId", "method": "POST"} - ) - }, - GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_INPUT, - GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_LEN_STRING: StaticSchema = (3, n0, _MLS, 0) - -INPUT_CONTENT_BLOCK: StaticSchema = ( - 18, - n0, - _ICB, - 0, - (_pa, _te, _bl), - ((MAX_LEN_STRING, 1), (MAX_LEN_STRING, 0), (BODY, 0)), -) - -INPUT_CONTENT_BLOCK_LIST: StaticSchema = ( - 16, - n0, - _ICBL, - 0, - (_m,), - ((INPUT_CONTENT_BLOCK, 0),), -) - -PROGRAMMING_LANGUAGE: StaticSchema = ( - 14, - n0, - _PL, - 0, - (_PYTHON, _JAVASCRIPT, _TYPESCRIPT), - ((-1, {_sVm: _py}), (-1, {_sVm: _j}), (-1, {_sVm: _typ})), -) - -STRING_LIST: StaticSchema = (16, n0, _SLt, 0, (_m,), ((MAX_LEN_STRING, 0),)) - -LANGUAGE_RUNTIME: StaticSchema = ( - 14, - n0, - _LRa, - 0, - (_NODEJS, _DENO, _PYTHON), - ((-1, {_sVm: _no}), (-1, {_sVm: _de}), (-1, {_sVm: _py})), -) - -TOOL_ARGUMENTS: StaticSchema = ( - 18, - n0, - _TA, - 0, - (_cod, _lan, _cCl, _com, _pa, _pat, _cont, _dPi, _tIas, _run), - ( - (MAX_LEN_STRING, 0), - (PROGRAMMING_LANGUAGE, 0), - (2, 0), - (MAX_LEN_STRING, 0), - (MAX_LEN_STRING, 0), - (STRING_LIST, 0), - (INPUT_CONTENT_BLOCK_LIST, 0), - (MAX_LEN_STRING, 0), - (MAX_LEN_STRING, 0), - (LANGUAGE_RUNTIME, 0), - ), -) - -TOOL_NAME: StaticSchema = ( - 14, - n0, - _TNo, - 0, - (_EC_, _EC__, _RF, _LF, _RF_, _WF, _SCE, _GT_, _ST_), - ( - (-1, {_sVm: _eCx}), - (-1, {_sVm: _eCxe}), - (-1, {_sVm: _rF}), - (-1, {_sVm: _lF}), - (-1, {_sVm: _rFe}), - (-1, {_sVm: _wF}), - (-1, {_sVm: _sCE}), - (-1, {_sVm: _gTe}), - (-1, {_sVm: _sTto}), - ), -) - -INVOKE_CODE_INTERPRETER_INPUT: StaticSchema = ( - 18, - n0, - _ICII, - {_sSI: _cICIR, _smit: None}, - (_cII, _sIe, _tI, _tP, _n, _ar), - ( - (3, 9), - (CODE_INTERPRETER_SESSION_ID, {_sH: _xacisi}), - (3, {_sH: _XATI}), - (3, {_sH: _t}), - (TOOL_NAME, 1), - (TOOL_ARGUMENTS, 0), - ), -) - -RESOURCE_CONTENT_TYPE: StaticSchema = ( - 14, - n0, - _RCT, - 0, - (_TEXT, _BLOB), - ((-1, {_sVm: _te}), (-1, {_sVm: _bl})), -) - -RESOURCE_CONTENT: StaticSchema = ( - 18, - n0, - _RCeso, - 0, - (_ty, _ur, _mT, _te, _bl), - ((RESOURCE_CONTENT_TYPE, 1), (3, 0), (3, 0), (3, 0), (1, 0)), -) - -CONTENT_BLOCK_TYPE: StaticSchema = ( - 14, - n0, - _CBT, - 0, - (_TEXT, _IMAGE, _ER_, _RL_), - ((-1, {_sVm: _te}), (-1, {_sVm: _im}), (-1, {_sVm: _resou}), (-1, {_sVm: _rl})), -) - -CONTENT_BLOCK: StaticSchema = ( - 18, - n0, - _CB, - 0, - (_ty, _te, _da, _mT, _ur, _n, _d, _siz, _resou), - ( - (CONTENT_BLOCK_TYPE, 1), - (3, 0), - (1, 0), - (3, 0), - (3, 0), - (3, 0), - (3, 0), - (8, 0), - (RESOURCE_CONTENT, 0), - ), -) - -CONTENT_BLOCK_LIST: StaticSchema = (16, n0, _CBL, 0, (_m,), ((CONTENT_BLOCK, 0),)) - -TASK_STATUS: StaticSchema = ( - 14, - n0, - _TS, - 0, - (_SUBMITTED, _WORKING, _COMPLETED, _CANCELED, _FAILED), - ( - (-1, {_sVm: _su}), - (-1, {_sVm: _wo}), - (-1, {_sVm: _comp}), - (-1, {_sVm: _can}), - (-1, {_sVm: _fai}), - ), -) - -TOOL_RESULT_STRUCTURED_CONTENT: StaticSchema = ( - 18, - n0, - _TRSC, - 0, - (_tIas, _tSa, _std, _stde, _eC, _eTxe), - ((3, 0), (TASK_STATUS, 0), (3, 0), (3, 0), (7, 0), (10, 0)), -) - -CODE_INTERPRETER_RESULT: StaticSchema = ( - 18, - n0, - _CIR, - 0, - (_cont, _sCt, _iE), - ((CONTENT_BLOCK_LIST, 1), (TOOL_RESULT_STRUCTURED_CONTENT, 0), (2, 0)), -) - -CODE_INTERPRETER_STREAM_OUTPUT: StaticSchema = ( - 19, - n0, - _CISO, - {_smithya: None}, - (_resu, _aDE, _cE, _iSE, _rNFE, _sQEE, _tE, _vE), - ( - (CODE_INTERPRETER_RESULT, 0), - (ACCESS_DENIED_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (RESOURCE_NOT_FOUND_EXCEPTION, 0), - (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - ), -) - -INVOKE_CODE_INTERPRETER_OUTPUT: StaticSchema = ( - 18, - n0, - _ICIO, - {_sSI: _cICIRo, _smith: None}, - (_sIe, _str), - ( - (CODE_INTERPRETER_SESSION_ID, {_sH: _xacisi}), - (CODE_INTERPRETER_STREAM_OUTPUT, 17), - ), -) - -INVOKE_CODE_INTERPRETER: StaticOperationSchema = ( - 23, - n0, - _ICI, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/code-interpreters/{codeInterpreterIdentifier}/tools/invoke", - "code": 200, - } - ) - }, - INVOKE_CODE_INTERPRETER_INPUT, - INVOKE_CODE_INTERPRETER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -HARNESS_ALLOWED_TOOL: StaticSchema = (3, n0, _HAT, 0) - -HARNESS_ALLOWED_TOOLS: StaticSchema = ( - 16, - n0, - _HATa, - 0, - (_m,), - ((HARNESS_ALLOWED_TOOL, 0),), -) - -HARNESS_ARN: StaticSchema = (3, n0, _HA, 0) - -HARNESS_REASONING_TEXT_BLOCK: StaticSchema = ( - 18, - n0, - _HRTB, - 4, - (_te, _sig), - ((3, 1), (3, 0)), -) - -HARNESS_REASONING_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _HRCB, - 4, - (_rT, _rCed), - ((HARNESS_REASONING_TEXT_BLOCK, 0), (1, 0)), -) - -SENSITIVE_TEXT: StaticSchema = (3, n0, _STe, 4) - -SENSITIVE_JSON: StaticSchema = (13, n0, _SJ, 4) - -HARNESS_TOOL_RESULT_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _HTRCB, - 0, - (_te, _js), - ((SENSITIVE_TEXT, 0), (SENSITIVE_JSON, 0)), -) - -HARNESS_TOOL_RESULT_CONTENT_BLOCKS: StaticSchema = ( - 16, - n0, - _HTRCBa, - 0, - (_m,), - ((HARNESS_TOOL_RESULT_CONTENT_BLOCK, 0),), -) - -HARNESS_TOOL_USE_STATUS: StaticSchema = ( - 14, - n0, - _HTUS, - 0, - (_SUCCESS, _ERROR), - ((-1, {_sVm: _suc}), (-1, {_sVm: _er})), -) - -HARNESS_TOOL_USE_ID: StaticSchema = (3, n0, _HTUI, 0) - -HARNESS_TOOL_USE_TYPE: StaticSchema = ( - 14, - n0, - _HTUT, - 0, - (_TU_, _STU, _MTU), - ((-1, {_sVm: _tu_}), (-1, {_sVm: _stu}), (-1, {_sVm: _mtu})), -) - -HARNESS_TOOL_RESULT_BLOCK: StaticSchema = ( - 18, - n0, - _HTRB, - 0, - (_tUI, _cont, _st, _ty), - ( - (HARNESS_TOOL_USE_ID, 1), - (HARNESS_TOOL_RESULT_CONTENT_BLOCKS, 1), - (HARNESS_TOOL_USE_STATUS, 0), - (HARNESS_TOOL_USE_TYPE, 0), - ), -) - -HARNESS_TOOL_NAME: StaticSchema = (3, n0, _HTN, 0) - -HARNESS_TOOL_USE_BLOCK: StaticSchema = ( - 18, - n0, - _HTUB, - 0, - (_n, _tUI, _inp, _ty, _sNe), - ( - (HARNESS_TOOL_NAME, 1), - (HARNESS_TOOL_USE_ID, 1), - (SENSITIVE_JSON, 1), - (HARNESS_TOOL_USE_TYPE, 0), - (3, 0), - ), -) - -HARNESS_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _HCB, - 0, - (_te, _tUo, _tRo, _rCea), - ( - (SENSITIVE_TEXT, 0), - (HARNESS_TOOL_USE_BLOCK, 0), - (HARNESS_TOOL_RESULT_BLOCK, 0), - (HARNESS_REASONING_CONTENT_BLOCK, 0), - ), -) - -HARNESS_CONTENT_BLOCKS: StaticSchema = ( - 16, - n0, - _HCBa, - 0, - (_m,), - ((HARNESS_CONTENT_BLOCK, 0),), -) - -HARNESS_CONVERSATION_ROLE: StaticSchema = ( - 14, - n0, - _HCR, - 0, - (_USER, _ASSISTANT), - ((-1, {_sVm: _us}), (-1, {_sVm: _ass})), -) - -HARNESS_MESSAGE: StaticSchema = ( - 18, - n0, - _HMa, - 0, - (_ro, _cont), - ((HARNESS_CONVERSATION_ROLE, 1), (HARNESS_CONTENT_BLOCKS, 1)), -) - -HARNESS_MESSAGES: StaticSchema = (16, n0, _HMar, 0, (_m,), ((HARNESS_MESSAGE, 0),)) - -HARNESS_BEDROCK_API_FORMAT: StaticSchema = ( - 14, - n0, - _HBAF, - 0, - (_CS_, _RESPONSES, _CC), - ((-1, {_sVm: _cs}), (-1, {_sVm: _resp}), (-1, {_sVm: _cc})), -) - -MAX_TOKENS: StaticSchema = (7, n0, _MTa, 0) - -MODEL_ID: StaticSchema = (3, n0, _MI, 0) - -TEMPERATURE: StaticSchema = (9, n0, _T, 0) - -TOP_P: StaticSchema = (9, n0, _TP, 0) - -HARNESS_BEDROCK_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _HBMC, - 0, - (_mI, _mTa, _tem, _tPo, _aF, _aP), - ( - (MODEL_ID, 1), - (MAX_TOKENS, 0), - (TEMPERATURE, 0), - (TOP_P, 0), - (HARNESS_BEDROCK_API_FORMAT, 0), - (13, 0), - ), -) - -API_KEY_ARN: StaticSchema = (3, n0, _AKA, 0) - -TOP_K: StaticSchema = (7, n0, _TKo, 0) - -HARNESS_GEMINI_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _HGMC, - 0, - (_mI, _aKA, _mTa, _tem, _tPo, _tK, _aP), - ( - (MODEL_ID, 1), - (API_KEY_ARN, 1), - (MAX_TOKENS, 0), - (TEMPERATURE, 0), - (TOP_P, 0), - (TOP_K, 0), - (13, 0), - ), -) - -HARNESS_LITE_LLM_API_BASE: StaticSchema = (3, n0, _HLLAB, 4) - -HARNESS_LITE_LLM_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _HLLMC, - 0, - (_mI, _aKA, _aB, _mTa, _tem, _tPo, _aP), - ( - (MODEL_ID, 1), - (API_KEY_ARN, 0), - (HARNESS_LITE_LLM_API_BASE, 0), - (MAX_TOKENS, 0), - (TEMPERATURE, 0), - (TOP_P, 0), - (13, 0), - ), -) - -HARNESS_OPEN_AI_API_BASE: StaticSchema = (3, n0, _HOAAB, 4) - -HARNESS_OPEN_AI_API_FORMAT: StaticSchema = ( - 14, - n0, - _HOAAF, - 0, - (_CC, _RESPONSES), - ((-1, {_sVm: _cc}), (-1, {_sVm: _resp})), -) - -HARNESS_OPEN_AI_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _HOAMC, - 0, - (_mI, _aKA, _aB, _mTa, _tem, _tPo, _aF, _aP), - ( - (MODEL_ID, 1), - (API_KEY_ARN, 1), - (HARNESS_OPEN_AI_API_BASE, 0), - (MAX_TOKENS, 0), - (TEMPERATURE, 0), - (TOP_P, 0), - (HARNESS_OPEN_AI_API_FORMAT, 0), - (13, 0), - ), -) - -HARNESS_MODEL_CONFIGURATION: StaticSchema = ( - 19, - n0, - _HMC, - 0, - (_bMC, _oAMC, _gMC, _lLMC), - ( - (HARNESS_BEDROCK_MODEL_CONFIG, 0), - (HARNESS_OPEN_AI_MODEL_CONFIG, 0), - (HARNESS_GEMINI_MODEL_CONFIG, 0), - (HARNESS_LITE_LLM_MODEL_CONFIG, 0), - ), -) - -HARNESS_ENDPOINT_NAME: StaticSchema = (3, n0, _HEN, 0) - -HARNESS_AWS_SKILL_PATH: StaticSchema = (3, n0, _HASP, 0) - -HARNESS_AWS_SKILL_PATHS: StaticSchema = ( - 16, - n0, - _HASPa, - 0, - (_m,), - ((HARNESS_AWS_SKILL_PATH, 0),), -) - -HARNESS_SKILL_AWS_SKILLS_SOURCE: StaticSchema = ( - 18, - n0, - _HSASS, - 0, - (_pat,), - ((HARNESS_AWS_SKILL_PATHS, 0),), -) - -HARNESS_SKILL_GIT_AUTH: StaticSchema = ( - 18, - n0, - _HSGA, - 0, - (_cAr, _use), - ((API_KEY_ARN, 1), (3, 0)), -) - -HARNESS_SKILL_GIT_URL: StaticSchema = (3, n0, _HSGU, 0) - -HARNESS_SKILL_GIT_SOURCE: StaticSchema = ( - 18, - n0, - _HSGS, - 0, - (_url, _pa, _aut), - ((HARNESS_SKILL_GIT_URL, 1), (3, 0), (HARNESS_SKILL_GIT_AUTH, 0)), -) - -HARNESS_SKILL_PATH: StaticSchema = (3, n0, _HSP, 0) - -HARNESS_SKILL_S3_URI: StaticSchema = (3, n0, _HSSU, 0) - -HARNESS_SKILL_S3_SOURCE: StaticSchema = ( - 18, - n0, - _HSSS, - 0, - (_ur,), - ((HARNESS_SKILL_S3_URI, 1),), -) - -HARNESS_SKILL: StaticSchema = ( - 19, - n0, - _HS, - 0, - (_pa, _s_, _g, _aSw), - ( - (HARNESS_SKILL_PATH, 0), - (HARNESS_SKILL_S3_SOURCE, 0), - (HARNESS_SKILL_GIT_SOURCE, 0), - (HARNESS_SKILL_AWS_SKILLS_SOURCE, 0), - ), -) - -HARNESS_SKILLS: StaticSchema = (16, n0, _HSa, 0, (_m,), ((HARNESS_SKILL, 0),)) - -HARNESS_SYSTEM_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _HSCB, - 0, - (_te,), - ((SENSITIVE_TEXT, 0),), -) - -HARNESS_SYSTEM_PROMPT: StaticSchema = ( - 16, - n0, - _HSPa, - 0, - (_m,), - ((HARNESS_SYSTEM_CONTENT_BLOCK, 0),), -) - -HARNESS_BROWSER_ARN: StaticSchema = (3, n0, _HBA, 0) - -HARNESS_AGENT_CORE_BROWSER_CONFIG: StaticSchema = ( - 18, - n0, - _HACBC, - 0, - (_bAr,), - ((HARNESS_BROWSER_ARN, 0),), -) - -HARNESS_CODE_INTERPRETER_ARN: StaticSchema = (3, n0, _HCIA, 0) - -HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG: StaticSchema = ( - 18, - n0, - _HACCIC, - 0, - (_cIA,), - ((HARNESS_CODE_INTERPRETER_ARN, 0),), -) - -O_AUTH_CUSTOM_PARAMETERS_KEY: StaticSchema = (3, n0, _OACPK, 0) - -O_AUTH_CUSTOM_PARAMETERS_VALUE: StaticSchema = (3, n0, _OACPV, 4) - -O_AUTH_CUSTOM_PARAMETERS: StaticSchema = ( - 17, - n0, - _OACP, - 0, - (_k, _va), - ((O_AUTH_CUSTOM_PARAMETERS_KEY, 0), (O_AUTH_CUSTOM_PARAMETERS_VALUE, 0)), -) - -O_AUTH_DEFAULT_RETURN_URL: StaticSchema = (3, n0, _OADRU, 0) - -O_AUTH_GRANT_TYPE: StaticSchema = ( - 14, - n0, - _OAGT, - 0, - (_CC_, _AC_, _TE_), - ((-1, {_sVm: _CC_}), (-1, {_sVm: _AC_}), (-1, {_sVm: _TE_})), -) - -O_AUTH_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _OACPA, 0) - -O_AUTH_SCOPE: StaticSchema = (3, n0, _OAS, 0) - -O_AUTH_SCOPES: StaticSchema = (16, n0, _OASu, 0, (_m,), ((O_AUTH_SCOPE, 0),)) - -O_AUTH_CREDENTIAL_PROVIDER: StaticSchema = ( - 18, - n0, - _OACPu, - 0, - (_pA, _sco, _cP, _gTr, _dRU), - ( - (O_AUTH_CREDENTIAL_PROVIDER_ARN, 1), - (O_AUTH_SCOPES, 1), - (O_AUTH_CUSTOM_PARAMETERS, 0), - (O_AUTH_GRANT_TYPE, {_smithyap: _CC_}), - (O_AUTH_DEFAULT_RETURN_URL, 0), - ), -) - -HARNESS_GATEWAY_OUTBOUND_AUTH: StaticSchema = ( - 19, - n0, - _HGOA, - 0, - (_aIw, _non, _oa), - ((-1, 0), (-1, 0), (O_AUTH_CREDENTIAL_PROVIDER, 0)), -) - -HARNESS_AGENT_CORE_GATEWAY_CONFIG: StaticSchema = ( - 18, - n0, - _HACGC, - 0, - (_gA, _oA), - ((GATEWAY_ARN, 1), (HARNESS_GATEWAY_OUTBOUND_AUTH, 0)), -) - -HARNESS_INLINE_FUNCTION_DESCRIPTION: StaticSchema = (3, n0, _HIFD, 4) - -HARNESS_INLINE_FUNCTION_CONFIG: StaticSchema = ( - 18, - n0, - _HIFC, - 0, - (_d, _iSn), - ((HARNESS_INLINE_FUNCTION_DESCRIPTION, 1), (SENSITIVE_JSON, 1)), -) - -HTTP_HEADER_KEY: StaticSchema = (3, n0, _HHK, 0) - -HTTP_HEADER_VALUE: StaticSchema = (3, n0, _HHV, 0) - -HTTP_HEADERS_MAP: StaticSchema = ( - 17, - n0, - _HHM, - 4, - (_k, _va), - ((HTTP_HEADER_KEY, 0), (HTTP_HEADER_VALUE, 0)), -) - -IAM_CREDENTIAL_PROVIDER: StaticSchema = ( - 18, - n0, - _ICP, - 0, - (_ser, _reg), - ((3, 1), (3, 0)), -) - -HARNESS_REMOTE_MCP_OUTBOUND_AUTH: StaticSchema = ( - 19, - n0, - _HRMOA, - 0, - (_aIw, _non), - ((IAM_CREDENTIAL_PROVIDER, 0), (-1, 0)), -) - -HARNESS_REMOTE_MCP_URL: StaticSchema = (3, n0, _HRMU, 4) - -HARNESS_REMOTE_MCP_CONFIG: StaticSchema = ( - 18, - n0, - _HRMC, - 0, - (_url, _he, _oA), - ( - (HARNESS_REMOTE_MCP_URL, 1), - (HTTP_HEADERS_MAP, 0), - (HARNESS_REMOTE_MCP_OUTBOUND_AUTH, 0), - ), -) - -HARNESS_TOOL_CONFIGURATION: StaticSchema = ( - 19, - n0, - _HTC, - 0, - (_rMe, _aCB, _aCG, _iF, _aCCI), - ( - (HARNESS_REMOTE_MCP_CONFIG, 0), - (HARNESS_AGENT_CORE_BROWSER_CONFIG, 0), - (HARNESS_AGENT_CORE_GATEWAY_CONFIG, 0), - (HARNESS_INLINE_FUNCTION_CONFIG, 0), - (HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG, 0), - ), -) - -HARNESS_TOOL_TYPE: StaticSchema = ( - 14, - n0, - _HTT, - 0, - (_RM, _AB, _AG, _IF, _ACI), - ( - (-1, {_sVm: _rm}), - (-1, {_sVm: _ab}), - (-1, {_sVm: _ag}), - (-1, {_sVm: _if}), - (-1, {_sVm: _aci}), - ), -) - -HARNESS_TOOL: StaticSchema = ( - 18, - n0, - _HT, - 0, - (_ty, _n, _conf), - ((HARNESS_TOOL_TYPE, 1), (HARNESS_TOOL_NAME, 0), (HARNESS_TOOL_CONFIGURATION, 0)), -) - -HARNESS_TOOLS: StaticSchema = (16, n0, _HTa, 0, (_m,), ((HARNESS_TOOL, 0),)) - -INVOKE_HARNESS_INPUT: StaticSchema = ( - 18, - n0, - _IHI, - {_sSI: _cIHR, _smit: None}, - ( - _hA, - _q, - _rSI, - _rUI, - _tP, - _tS, - _tI, - _b, - _mess, - _mo, - _sPy, - _to, - _sk, - _aTl, - _mIa, - _mTa, - _tSi, - _aI, - ), - ( - (HARNESS_ARN, {_sQ: _hA, _s: None}), - (HARNESS_ENDPOINT_NAME, {_sQ: _q}), - (SESSION_ID, {_sH: _XABARSI, _s: None}), - (3, {_sH: _XABARUI}), - (3, {_sH: _t}), - (3, {_sH: _tr}), - (3, {_sH: _XATI}), - (3, {_sH: _b}), - (HARNESS_MESSAGES, 1), - (HARNESS_MODEL_CONFIGURATION, 0), - (HARNESS_SYSTEM_PROMPT, 0), - (HARNESS_TOOLS, 0), - (HARNESS_SKILLS, 0), - (HARNESS_ALLOWED_TOOLS, 0), - (7, 0), - (7, 0), - (7, 0), - (3, 0), - ), -) - -HARNESS_REASONING_CONTENT_BLOCK_DELTA: StaticSchema = ( - 19, - n0, - _HRCBD, - 4, - (_te, _rCed, _sig), - ((3, 0), (BODY, 0), (3, 0)), -) - -HARNESS_TOOL_RESULT_BLOCK_DELTA: StaticSchema = ( - 19, - n0, - _HTRBD, - 0, - (_te, _js), - ((SENSITIVE_TEXT, 0), (SENSITIVE_JSON, 0)), -) - -HARNESS_TOOL_RESULT_BLOCKS_DELTA: StaticSchema = ( - 16, - n0, - _HTRBDa, - 0, - (_m,), - ((HARNESS_TOOL_RESULT_BLOCK_DELTA, 0),), -) - -HARNESS_TOOL_RESULT_METADATA_BLOCK_DELTA: StaticSchema = ( - 18, - n0, - _HTRMBD, - 0, - (_met,), - ((SENSITIVE_TEXT, 1),), -) - -HARNESS_TOOL_USE_BLOCK_DELTA: StaticSchema = ( - 18, - n0, - _HTUBD, - 0, - (_inp,), - ((SENSITIVE_TEXT, 1),), -) - -HARNESS_CONTENT_BLOCK_DELTA: StaticSchema = ( - 19, - n0, - _HCBD, - 0, - (_te, _tUo, _tRo, _rCea, _tRM), - ( - (SENSITIVE_TEXT, 0), - (HARNESS_TOOL_USE_BLOCK_DELTA, 0), - (HARNESS_TOOL_RESULT_BLOCKS_DELTA, 0), - (HARNESS_REASONING_CONTENT_BLOCK_DELTA, 0), - (HARNESS_TOOL_RESULT_METADATA_BLOCK_DELTA, 0), - ), -) - -HARNESS_CONTENT_BLOCK_DELTA_EVENT: StaticSchema = ( - 18, - n0, - _HCBDE, - 0, - (_cBI, _del), - ((7, 1), (HARNESS_CONTENT_BLOCK_DELTA, 1)), -) - -HARNESS_TOOL_RESULT_BLOCK_START: StaticSchema = ( - 18, - n0, - _HTRBS, - 0, - (_tUI, _st), - ((HARNESS_TOOL_USE_ID, 1), (HARNESS_TOOL_USE_STATUS, 0)), -) - -HARNESS_TOOL_USE_BLOCK_START: StaticSchema = ( - 18, - n0, - _HTUBS, - 0, - (_tUI, _n, _ty, _sNe), - ( - (HARNESS_TOOL_USE_ID, 1), - (HARNESS_TOOL_NAME, 1), - (HARNESS_TOOL_USE_TYPE, 0), - (3, 0), - ), -) - -HARNESS_CONTENT_BLOCK_START: StaticSchema = ( - 19, - n0, - _HCBS, - 0, - (_tUo, _tRo), - ((HARNESS_TOOL_USE_BLOCK_START, 0), (HARNESS_TOOL_RESULT_BLOCK_START, 0)), -) - -HARNESS_CONTENT_BLOCK_START_EVENT: StaticSchema = ( - 18, - n0, - _HCBSE, - 0, - (_cBI, _star), - ((7, 1), (HARNESS_CONTENT_BLOCK_START, 1)), -) - -HARNESS_CONTENT_BLOCK_STOP_EVENT: StaticSchema = ( - 18, - n0, - _HCBSEa, - 0, - (_cBI,), - ((7, 1),), -) - -HARNESS_HOOK_DECISION: StaticSchema = ( - 14, - n0, - _HHD, - 0, - (_ALLOW, _DENY), - ((-1, {_sVm: _al}), (-1, {_sVm: _den})), -) - -HARNESS_HOOK_EVENT_ID: StaticSchema = (3, n0, _HHEI, 0) - -HARNESS_HOOK_NAME: StaticSchema = (3, n0, _HHN, 0) - -HARNESS_HOOK_EVENT_TYPE: StaticSchema = ( - 14, - n0, - _HHET, - 0, - (_BTC, _ATC_, _BI, _AI_), - ((-1, {_sVm: _btc}), (-1, {_sVm: _atc}), (-1, {_sVm: _bi}), (-1, {_sVm: _ai})), -) - -HARNESS_HOOK_EVENT: StaticSchema = ( - 18, - n0, - _HHE, - 0, - (_hEI, _n, _ty, _dec, _re), - ( - (HARNESS_HOOK_EVENT_ID, 1), - (HARNESS_HOOK_NAME, 1), - (HARNESS_HOOK_EVENT_TYPE, 1), - (HARNESS_HOOK_DECISION, 0), - (3, 0), - ), -) - -HARNESS_MESSAGE_START_EVENT: StaticSchema = ( - 18, - n0, - _HMSE, - 0, - (_ro,), - ((HARNESS_CONVERSATION_ROLE, 1),), -) - -HARNESS_STOP_REASON: StaticSchema = ( - 14, - n0, - _HSR, - 0, - ( - _ET_, - _TU_, - _TR_, - _MT_, - _SS_, - _CF_, - _MMO, - _MTU_, - _INTERRUPTED, - _PT, - _MCWE, - _MIE, - _MOTE, - _TE__, - _HS_, - ), - ( - (-1, {_sVm: _et}), - (-1, {_sVm: _tu_}), - (-1, {_sVm: _tr_}), - (-1, {_sVm: _mt}), - (-1, {_sVm: _ss}), - (-1, {_sVm: _cf}), - (-1, {_sVm: _mmo}), - (-1, {_sVm: _mtu_}), - (-1, {_sVm: _int}), - (-1, {_sVm: _pt}), - (-1, {_sVm: _mcwe}), - (-1, {_sVm: _mie}), - (-1, {_sVm: _mote}), - (-1, {_sVm: _te_}), - (-1, {_sVm: _hs}), - ), -) - -HARNESS_MESSAGE_STOP_EVENT: StaticSchema = ( - 18, - n0, - _HMSEa, - 0, - (_sR,), - ((HARNESS_STOP_REASON, 1),), -) - -HARNESS_STREAM_METRICS: StaticSchema = (18, n0, _HSM, 0, (_lM,), ((8, 1),)) - -HARNESS_TOKEN_USAGE: StaticSchema = ( - 18, - n0, - _HTU, - 0, - (_iT, _oT, _tT, _cRIT, _cWIT), - ((7, 1), (7, 1), (7, 1), (7, 0), (7, 0)), -) - -HARNESS_METADATA_EVENT: StaticSchema = ( - 18, - n0, - _HME, - 0, - (_usa, _metr), - ((HARNESS_TOKEN_USAGE, 1), (HARNESS_STREAM_METRICS, 1)), -) - -INVOKE_HARNESS_STREAM_OUTPUT: StaticSchema = ( - 19, - n0, - _IHSO, - {_smithya: None}, - (_mSe, _cBS, _cBD, _cBSo, _mSes, _met, _iSE, _vE, _rCE, _hE), - ( - (HARNESS_MESSAGE_START_EVENT, 0), - (HARNESS_CONTENT_BLOCK_START_EVENT, 0), - (HARNESS_CONTENT_BLOCK_DELTA_EVENT, 0), - (HARNESS_CONTENT_BLOCK_STOP_EVENT, 0), - (HARNESS_MESSAGE_STOP_EVENT, 0), - (HARNESS_METADATA_EVENT, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (RUNTIME_CLIENT_ERROR, 0), - (HARNESS_HOOK_EVENT, 0), - ), -) - -INVOKE_HARNESS_OUTPUT: StaticSchema = ( - 18, - n0, - _IHO, - {_sSI: _cIHRo, _smith: None}, - (_str,), - ((INVOKE_HARNESS_STREAM_OUTPUT, 17),), -) - -INVOKE_HARNESS: StaticOperationSchema = ( - 23, - n0, - _IH, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/harnesses/invoke"} - ) - }, - INVOKE_HARNESS_INPUT, - INVOKE_HARNESS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RUNTIME_CLIENT_ERROR, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DOMAIN_NAME: StaticSchema = (3, n0, _DN, 0) - -DOMAIN_LIST: StaticSchema = (16, n0, _DL, 0, (_m,), ((DOMAIN_NAME, 0),)) - -DOMAIN_FILTER: StaticSchema = ( - 18, - n0, - _DFo, - 0, - (_inc, _exc), - ((DOMAIN_LIST, 0), (DOMAIN_LIST, 0)), -) - -PUBLISHED_DATE_FILTER: StaticSchema = ( - 18, - n0, - _PDF, - 0, - (_pAu, _pB), - ((DATE_TIMESTAMP, 0), (DATE_TIMESTAMP, 0)), -) - -WEB_SEARCH_FILTERS: StaticSchema = ( - 18, - n0, - _WSF, - 0, - (_dF, _pDF), - ((DOMAIN_FILTER, 0), (PUBLISHED_DATE_FILTER, 0)), -) - -WEB_SEARCH_ID: StaticSchema = (3, n0, _WSI, 0) - -INVOKE_WEB_SEARCH_INPUT: StaticSchema = ( - 18, - n0, - _IWSI, - {_smit: None}, - (_wSI, _sQe, _mR, _f), - ((WEB_SEARCH_ID, 9), (3, 1), (7, 0), (WEB_SEARCH_FILTERS, 0)), -) - -WEB_SEARCH_RESULT: StaticSchema = ( - 18, - n0, - _WSR, - 0, - (_tit, _url, _te, _pAub), - ((3, 0), (3, 0), (3, 1), (DATE_TIMESTAMP, 0)), -) - -WEB_SEARCH_RESULT_LIST: StaticSchema = ( - 16, - n0, - _WSRL, - 0, - (_m,), - ((WEB_SEARCH_RESULT, 0),), -) - -INVOKE_WEB_SEARCH_OUTPUT: StaticSchema = ( - 18, - n0, - _IWSO, - {_smith: None}, - (_resul,), - ((WEB_SEARCH_RESULT_LIST, 1),), -) - -SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SUE, - {_sm: _se, _sE: 503}, - (_mes, _rAS), - ((3, 1), (7, 0)), -) - -INVOKE_WEB_SEARCH: StaticOperationSchema = ( - 23, - n0, - _IWS, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/web-search/{webSearchId}/invoke", "code": 200} - ) - }, - INVOKE_WEB_SEARCH_INPUT, - INVOKE_WEB_SEARCH_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MEMORY_ID: StaticSchema = (3, n0, _MIe, 0) - -RECORD_EXPIRY_ACTION: StaticSchema = ( - 14, - n0, - _REA, - 0, - (_REMOVE,), - ((-1, {_sVm: _REMOVE}),), -) - -RECORD_EXPIRY_DURATION_DAYS: StaticSchema = (7, n0, _REDD, 0) - -RECORD_EXPIRY_SPECIFICATION: StaticSchema = ( - 19, - n0, - _RES, - 0, - (_rEDD, _ac), - ((RECORD_EXPIRY_DURATION_DAYS, 0), (RECORD_EXPIRY_ACTION, 0)), -) - -SENSITIVE_STRING: StaticSchema = (3, n0, _SSen, 4) - -MEMORY_CONTENT: StaticSchema = (19, n0, _MC, 0, (_te,), ((SENSITIVE_STRING, 0),)) - -MEMORY_STRATEGY_ID: StaticSchema = (3, n0, _MSIe, 0) - -METADATA_KEY: StaticSchema = (3, n0, _MK, 0) - -STRING_LIST_MEMBER_VALUE: StaticSchema = (3, n0, _SLMV, 0) - -STRING_VALUE_LIST: StaticSchema = ( - 16, - n0, - _SVL, - 0, - (_m,), - ((STRING_LIST_MEMBER_VALUE, 0),), -) - -STRING_VALUE: StaticSchema = (3, n0, _SVt, 0) - -MEMORY_RECORD_METADATA_VALUE: StaticSchema = ( - 19, - n0, - _MRMV, - 0, - (_sVt, _sLV, _nV, _dTV), - ((STRING_VALUE, 0), (STRING_VALUE_LIST, 0), (10, 0), (4, 0)), -) - -MEMORY_RECORD_METADATA_MAP: StaticSchema = ( - 17, - n0, - _MRMM, - 0, - (_k, _va), - ((METADATA_KEY, 0), (MEMORY_RECORD_METADATA_VALUE, 0)), -) - -NAMESPACE: StaticSchema = (3, n0, _Na, 0) - -NAMESPACES_LIST: StaticSchema = (16, n0, _NL, 0, (_m,), ((NAMESPACE, 0),)) - -REQUEST_IDENTIFIER: StaticSchema = (3, n0, _RIe, 0) - -MEMORY_RECORD_CREATE_INPUT: StaticSchema = ( - 18, - n0, - _MRCI, - 0, - (_rIe, _na, _cont, _tim, _mSIe, _met), - ( - (REQUEST_IDENTIFIER, 1), - (NAMESPACES_LIST, 1), - (MEMORY_CONTENT, 1), - (4, 1), - (MEMORY_STRATEGY_ID, 0), - (MEMORY_RECORD_METADATA_MAP, 0), - ), -) - -MEMORY_RECORDS_CREATE_INPUT_LIST: StaticSchema = ( - 16, - n0, - _MRCIL, - 0, - (_m,), - ((MEMORY_RECORD_CREATE_INPUT, 0),), -) - -BATCH_CREATE_MEMORY_RECORDS_INPUT: StaticSchema = ( - 18, - n0, - _BCMRI, - {_smit: None}, - (_mIe, _rec, _cTl, _rES), - ( - (MEMORY_ID, 9), - (MEMORY_RECORDS_CREATE_INPUT_LIST, 1), - (3, 2), - (RECORD_EXPIRY_SPECIFICATION, 0), - ), -) - -MEMORY_RECORD_ID: StaticSchema = (3, n0, _MRI, 0) - -MEMORY_RECORD_STATUS: StaticSchema = ( - 14, - n0, - _MRS, - 0, - (_SUCCEEDED, _FAILED), - ((-1, {_sVm: _SUCCEEDED}), (-1, {_sVm: _FAILED})), -) - -MEMORY_RECORD_OUTPUT: StaticSchema = ( - 18, - n0, - _MRO, - 0, - (_mRI, _st, _rIe, _eCr, _eMr), - ( - (MEMORY_RECORD_ID, 1), - (MEMORY_RECORD_STATUS, 1), - (REQUEST_IDENTIFIER, 0), - (7, 0), - (3, 0), - ), -) - -MEMORY_RECORDS_OUTPUT_LIST: StaticSchema = ( - 16, - n0, - _MROL, - 0, - (_m,), - ((MEMORY_RECORD_OUTPUT, 0),), -) - -BATCH_CREATE_MEMORY_RECORDS_OUTPUT: StaticSchema = ( - 18, - n0, - _BCMRO, - {_smith: None}, - (_sRu, _fR), - ((MEMORY_RECORDS_OUTPUT_LIST, 1), (MEMORY_RECORDS_OUTPUT_LIST, 1)), -) - -SERVICE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SE, - {_sm: _se, _sE: 500}, - (_mes,), - ((3, 1),), -) - -THROTTLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _TEh, - {_sm: _c, _sE: 429}, - (_mes,), - ((3, 1),), -) - -BATCH_CREATE_MEMORY_RECORDS: StaticOperationSchema = ( - 23, - n0, - _BCMR, - { - _smithy: MappingProxyType( - { - "code": 201, - "method": "POST", - "uri": "/memories/{memoryId}/memoryRecords/batchCreate", - } - ) - }, - BATCH_CREATE_MEMORY_RECORDS_INPUT, - BATCH_CREATE_MEMORY_RECORDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MEMORY_RECORD_DELETE_INPUT: StaticSchema = ( - 18, - n0, - _MRDI, - 0, - (_mRI, _nam), - ((MEMORY_RECORD_ID, 1), (NAMESPACE, 0)), -) - -MEMORY_RECORDS_DELETE_INPUT_LIST: StaticSchema = ( - 16, - n0, - _MRDIL, - 0, - (_m,), - ((MEMORY_RECORD_DELETE_INPUT, 0),), -) - -BATCH_DELETE_MEMORY_RECORDS_INPUT: StaticSchema = ( - 18, - n0, - _BDMRI, - {_smit: None}, - (_mIe, _rec), - ((MEMORY_ID, 9), (MEMORY_RECORDS_DELETE_INPUT_LIST, 1)), -) - -BATCH_DELETE_MEMORY_RECORDS_OUTPUT: StaticSchema = ( - 18, - n0, - _BDMRO, - {_smith: None}, - (_sRu, _fR), - ((MEMORY_RECORDS_OUTPUT_LIST, 1), (MEMORY_RECORDS_OUTPUT_LIST, 1)), -) - -BATCH_DELETE_MEMORY_RECORDS: StaticOperationSchema = ( - 23, - n0, - _BDMR, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/memories/{memoryId}/memoryRecords/batchDelete"} - ) - }, - BATCH_DELETE_MEMORY_RECORDS_INPUT, - BATCH_DELETE_MEMORY_RECORDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MEMORY_RECORD_UPDATE_INPUT: StaticSchema = ( - 18, - n0, - _MRUI, - 0, - (_mRI, _tim, _cont, _na, _sNo, _mSIe, _met), - ( - (MEMORY_RECORD_ID, 1), - (4, 1), - (MEMORY_CONTENT, 0), - (NAMESPACES_LIST, 0), - (NAMESPACES_LIST, 0), - (MEMORY_STRATEGY_ID, 0), - (MEMORY_RECORD_METADATA_MAP, 0), - ), -) - -MEMORY_RECORDS_UPDATE_INPUT_LIST: StaticSchema = ( - 16, - n0, - _MRUIL, - 0, - (_m,), - ((MEMORY_RECORD_UPDATE_INPUT, 0),), -) - -BATCH_UPDATE_MEMORY_RECORDS_INPUT: StaticSchema = ( - 18, - n0, - _BUMRI, - {_smit: None}, - (_mIe, _rec, _rES), - ( - (MEMORY_ID, 9), - (MEMORY_RECORDS_UPDATE_INPUT_LIST, 1), - (RECORD_EXPIRY_SPECIFICATION, 0), - ), -) - -BATCH_UPDATE_MEMORY_RECORDS_OUTPUT: StaticSchema = ( - 18, - n0, - _BUMRO, - {_smith: None}, - (_sRu, _fR), - ((MEMORY_RECORDS_OUTPUT_LIST, 1), (MEMORY_RECORDS_OUTPUT_LIST, 1)), -) - -BATCH_UPDATE_MEMORY_RECORDS: StaticOperationSchema = ( - 23, - n0, - _BUMR, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/memories/{memoryId}/memoryRecords/batchUpdate"} - ) - }, - BATCH_UPDATE_MEMORY_RECORDS_INPUT, - BATCH_UPDATE_MEMORY_RECORDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BRANCH_NAME: StaticSchema = (3, n0, _BN, 0) - -EVENT_ID: StaticSchema = (3, n0, _EIve, 0) - -BRANCH: StaticSchema = (18, n0, _Br, 0, (_rEI, _n), ((EVENT_ID, 0), (BRANCH_NAME, 1))) - -NAMESPACE_VARIABLE_NAME: StaticSchema = (3, n0, _NVN, 0) - -NAMESPACE_VARIABLE_VALUE: StaticSchema = (3, n0, _NVV, 0) - -NAMESPACE_VARIABLES_MAP: StaticSchema = ( - 17, - n0, - _NVM, - 0, - (_k, _va), - ((NAMESPACE_VARIABLE_NAME, 0), (NAMESPACE_VARIABLE_VALUE, 0)), -) - -EXTRACTION_CONFIG: StaticSchema = ( - 18, - n0, - _ECx, - 0, - (_nVa,), - ((NAMESPACE_VARIABLES_MAP, 0),), -) - -EXTRACTION_MODE: StaticSchema = (14, n0, _EMx, 0, (_SKIP,), ((-1, {_sVm: _SKIP}),)) - -METADATA_VALUE: StaticSchema = (19, n0, _MV, 0, (_sVt,), ((3, 0),)) - -METADATA_MAP: StaticSchema = ( - 17, - n0, - _MMe, - 0, - (_k, _va), - ((METADATA_KEY, 0), (METADATA_VALUE, 0)), -) - -MEMORY_DOCUMENT: StaticSchema = (13, n0, _MD, 4) - -CONTENT: StaticSchema = (19, n0, _Con, 0, (_te,), ((SENSITIVE_STRING, 0),)) - -ROLE: StaticSchema = ( - 14, - n0, - _R, - 0, - (_ASSISTANT, _USER, _TOOL, _OTHER), - ( - (-1, {_sVm: _ASSISTANT}), - (-1, {_sVm: _USER}), - (-1, {_sVm: _TOOL}), - (-1, {_sVm: _OTHER}), - ), -) - -CONVERSATIONAL: StaticSchema = ( - 18, - n0, - _Conv, - 0, - (_cont, _ro), - ((CONTENT, 1), (ROLE, 1)), -) - -MEMORY_JSON_DATA_CONTENT: StaticSchema = (13, n0, _MJDC, 4) - -MEMORY_JSON_DATA: StaticSchema = ( - 18, - n0, - _MJD, - 4, - (_cont,), - ((MEMORY_JSON_DATA_CONTENT, 1),), -) - -PAYLOAD_TYPE: StaticSchema = ( - 19, - n0, - _PTa, - 0, - (_conv, _bl, _js), - ((CONVERSATIONAL, 0), (MEMORY_DOCUMENT, 0), (MEMORY_JSON_DATA, 0)), -) - -PAYLOAD_TYPE_LIST: StaticSchema = (16, n0, _PTL, 0, (_m,), ((PAYLOAD_TYPE, 0),)) - -CREATE_EVENT_INPUT: StaticSchema = ( - 18, - n0, - _CEI, - {_smit: None}, - (_mIe, _aI, _sIe, _eTve, _p, _br, _cTl, _met, _eMx, _eCxt), - ( - (MEMORY_ID, 9), - (ACTOR_ID, 1), - (SESSION_ID, 0), - (4, 1), - (PAYLOAD_TYPE_LIST, 1), - (BRANCH, 0), - (3, 2), - (METADATA_MAP, 0), - (EXTRACTION_MODE, 0), - (EXTRACTION_CONFIG, 0), - ), -) - -EVENT: StaticSchema = ( - 18, - n0, - _Eve, - 0, - (_mIe, _aI, _sIe, _eIve, _eTve, _p, _br, _met), - ( - (MEMORY_ID, 1), - (ACTOR_ID, 1), - (SESSION_ID, 1), - (EVENT_ID, 1), - (4, 1), - (PAYLOAD_TYPE_LIST, 1), - (BRANCH, 0), - (METADATA_MAP, 0), - ), -) - -CREATE_EVENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CEO, - {_smith: None}, - (_eve,), - ((EVENT, 1),), -) - -INVALID_INPUT_EXCEPTION: StaticSchema = ( - 18, - n0, - _IIE, - {_sm: _c, _sE: 400}, - (_mes,), - ((3, 1),), -) - -CREATE_EVENT: StaticOperationSchema = ( - 23, - n0, - _CEr, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/memories/{memoryId}/events"} - ) - }, - CREATE_EVENT_INPUT, - CREATE_EVENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RETRYABLE_CONFLICT_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_EVENT_INPUT: StaticSchema = ( - 18, - n0, - _DEI, - {_smit: None}, - (_mIe, _sIe, _eIve, _aI), - ((MEMORY_ID, 9), (SESSION_ID, 9), (EVENT_ID, 9), (ACTOR_ID, 9)), -) - -DELETE_EVENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DEO, - {_smith: None}, - (_eIve,), - ((EVENT_ID, 1),), -) - -DELETE_EVENT: StaticOperationSchema = ( - 23, - n0, - _DE, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", - } - ) - }, - DELETE_EVENT_INPUT, - DELETE_EVENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_MEMORY_RECORD_INPUT: StaticSchema = ( - 18, - n0, - _DMRI, - {_smit: None}, - (_mIe, _mRI, _nam), - ((MEMORY_ID, 9), (MEMORY_RECORD_ID, 9), (NAMESPACE, {_sQ: _nam})), -) - -DELETE_MEMORY_RECORD_OUTPUT: StaticSchema = ( - 18, - n0, - _DMRO, - {_smith: None}, - (_mRI,), - ((MEMORY_RECORD_ID, 1),), -) - -DELETE_MEMORY_RECORD: StaticOperationSchema = ( - 23, - n0, - _DMR, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/memories/{memoryId}/memoryRecords/{memoryRecordId}", - } - ) - }, - DELETE_MEMORY_RECORD_INPUT, - DELETE_MEMORY_RECORD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_EVENT_INPUT: StaticSchema = ( - 18, - n0, - _GEI, - {_smit: None}, - (_mIe, _sIe, _aI, _eIve), - ((MEMORY_ID, 9), (SESSION_ID, 9), (ACTOR_ID, 9), (EVENT_ID, 9)), -) - -GET_EVENT_OUTPUT: StaticSchema = (18, n0, _GEO, {_smith: None}, (_eve,), ((EVENT, 1),)) - -GET_EVENT: StaticOperationSchema = ( - 23, - n0, - _GE, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", - } - ) - }, - GET_EVENT_INPUT, - GET_EVENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_MEMORY_RECORD_INPUT: StaticSchema = ( - 18, - n0, - _GMRI, - {_smit: None}, - (_mIe, _mRI, _nam), - ((MEMORY_ID, 9), (MEMORY_RECORD_ID, 9), (NAMESPACE, {_sQ: _nam})), -) - -MEMORY_RECORD: StaticSchema = ( - 18, - n0, - _MRe, - 0, - (_mRI, _cont, _mSIe, _na, _cA, _tim, _met, _eAx), - ( - (MEMORY_RECORD_ID, 1), - (MEMORY_CONTENT, 1), - (MEMORY_STRATEGY_ID, 1), - (NAMESPACES_LIST, 1), - (4, 1), - (4, 0), - (MEMORY_RECORD_METADATA_MAP, 0), - (4, 0), - ), -) - -GET_MEMORY_RECORD_OUTPUT: StaticSchema = ( - 18, - n0, - _GMRO, - {_smith: None}, - (_mRe,), - ((MEMORY_RECORD, 1),), -) - -GET_MEMORY_RECORD: StaticOperationSchema = ( - 23, - n0, - _GMR, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/memories/{memoryId}/memoryRecord/{memoryRecordId}", - } - ) - }, - GET_MEMORY_RECORD_INPUT, - GET_MEMORY_RECORD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INGEST_PAYLOAD_TYPE: StaticSchema = ( - 19, - n0, - _IPT, - 0, - (_conv, _js), - ((CONVERSATIONAL, 0), (MEMORY_JSON_DATA, 0)), -) - -INGEST_PAYLOAD_LIST: StaticSchema = ( - 16, - n0, - _IPL, - 0, - (_m,), - ((INGEST_PAYLOAD_TYPE, 0),), -) - -INLINE_MEMORY_CONTENT: StaticSchema = ( - 18, - n0, - _IMC, - 0, - (_p,), - ((INGEST_PAYLOAD_LIST, 1),), -) - -CONTENT_SOURCE: StaticSchema = (19, n0, _CSo, 0, (_inl,), ((INLINE_MEMORY_CONTENT, 0),)) - -INGEST_DATA_INPUT: StaticSchema = ( - 18, - n0, - _IDI, - {_smit: None}, - (_mIe, _so, _cTo, _aI, _sIe, _eCxt, _met, _cTl), - ( - (MEMORY_ID, 9), - (CONTENT_SOURCE, 1), - (4, 1), - (ACTOR_ID, 1), - (SESSION_ID, 0), - (EXTRACTION_CONFIG, 0), - (METADATA_MAP, 0), - (3, 2), - ), -) - -INGEST_DATA_OUTPUT: StaticSchema = ( - 18, - n0, - _IDO, - {_smith: None}, - (_sIe,), - ((SESSION_ID, 1),), -) - -INGEST_DATA: StaticOperationSchema = ( - 23, - n0, - _IDn, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/memories/{memoryId}/ingest"} - ) - }, - INGEST_DATA_INPUT, - INGEST_DATA_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PAGINATION_TOKEN: StaticSchema = (3, n0, _PTag, 0) - -LIST_ACTORS_INPUT: StaticSchema = ( - 18, - n0, - _LAI, - {_smit: None}, - (_mIe, _mR, _nT), - ((MEMORY_ID, 9), (MAX_RESULTS, {_smithyap: 100}), (PAGINATION_TOKEN, 0)), -) - -LIST_ACTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAO, - {_smith: None}, - (_aSc, _nT), - ((ACTOR_SUMMARY_LIST, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_ACTORS: StaticOperationSchema = ( - 23, - n0, - _LA, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/memories/{memoryId}/actors"} - ) - }, - LIST_ACTORS_INPUT, - LIST_ACTORS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BRANCH_FILTER: StaticSchema = ( - 18, - n0, - _BF, - 0, - (_n, _iPB), - ((BRANCH_NAME, 1), (2, {_smithyap: True})), -) - -LEFT_EXPRESSION: StaticSchema = (19, n0, _LE, 0, (_mK,), ((METADATA_KEY, 0),)) - -OPERATOR_TYPE: StaticSchema = ( - 14, - n0, - _OT, - 0, - (_ET__, _EXISTS, _NE_), - ((-1, {_sVm: _ET__}), (-1, {_sVm: _EXISTS}), (-1, {_sVm: _NE_})), -) - -RIGHT_EXPRESSION: StaticSchema = (19, n0, _REi, 0, (_mV,), ((METADATA_VALUE, 0),)) - -EVENT_METADATA_FILTER_EXPRESSION: StaticSchema = ( - 18, - n0, - _EMFE, - 0, - (_le, _op, _ri), - ((LEFT_EXPRESSION, 1), (OPERATOR_TYPE, 1), (RIGHT_EXPRESSION, 0)), -) - -EVENT_METADATA_FILTER_LIST: StaticSchema = ( - 16, - n0, - _EMFL, - 0, - (_m,), - ((EVENT_METADATA_FILTER_EXPRESSION, 0),), -) - -FILTER_INPUT: StaticSchema = ( - 18, - n0, - _FI, - 0, - (_br, _eMve), - ((BRANCH_FILTER, 0), (EVENT_METADATA_FILTER_LIST, 0)), -) - -LIST_EVENTS_INPUT: StaticSchema = ( - 18, - n0, - _LEI, - {_smit: None}, - (_mIe, _sIe, _aI, _iP, _fil, _mR, _nT), - ( - (MEMORY_ID, 9), - (SESSION_ID, 9), - (ACTOR_ID, 9), - (2, {_smithyap: True}), - (FILTER_INPUT, 0), - (MAX_RESULTS, {_smithyap: 100}), - (PAGINATION_TOKEN, 0), - ), -) - -EVENT_LIST: StaticSchema = (16, n0, _ELv, 0, (_m,), ((EVENT, 0),)) - -LIST_EVENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LEO, - {_smith: None}, - (_even, _nT), - ((EVENT_LIST, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_EVENTS: StaticOperationSchema = ( - 23, - n0, - _LEi, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}", - } - ) - }, - LIST_EVENTS_INPUT, - LIST_EVENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -EXTRACTION_JOB_STATUS: StaticSchema = ( - 14, - n0, - _EJS, - 0, - (_FAILED,), - ((-1, {_sVm: _FAILED}),), -) - -EXTRACTION_JOB_FILTER_INPUT: StaticSchema = ( - 18, - n0, - _EJFI, - 0, - (_sIt, _sIe, _aI, _st), - ((3, 0), (3, 0), (3, 0), (EXTRACTION_JOB_STATUS, 0)), -) - -LIST_MEMORY_EXTRACTION_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LMEJI, - {_smit: None}, - (_mIe, _mR, _fil, _nT), - ( - (MEMORY_ID, 9), - (7, {_smithyap: 20}), - (EXTRACTION_JOB_FILTER_INPUT, 0), - (PAGINATION_TOKEN, 0), - ), -) - -MESSAGE_METADATA: StaticSchema = (18, n0, _MMes, 0, (_eIve, _mIes), ((3, 1), (7, 1))) - -MESSAGES_LIST: StaticSchema = (16, n0, _ML, 0, (_m,), ((MESSAGE_METADATA, 0),)) - -EXTRACTION_JOB_MESSAGES: StaticSchema = (19, n0, _EJM, 0, (_mL,), ((MESSAGES_LIST, 0),)) - -EXTRACTION_JOB_METADATA: StaticSchema = ( - 18, - n0, - _EJMx, - 0, - (_jID, _mess, _st, _fRa, _sIt, _sIe, _aI), - ( - (3, 1), - (EXTRACTION_JOB_MESSAGES, 1), - (EXTRACTION_JOB_STATUS, 0), - (3, 0), - (3, 0), - (3, 0), - (3, 0), - ), -) - -EXTRACTION_JOB_METADATA_LIST: StaticSchema = ( - 16, - n0, - _EJML, - 0, - (_m,), - ((EXTRACTION_JOB_METADATA, 0),), -) - -LIST_MEMORY_EXTRACTION_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMEJO, - {_smith: None}, - (_jo, _nT), - ((EXTRACTION_JOB_METADATA_LIST, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_MEMORY_EXTRACTION_JOBS: StaticOperationSchema = ( - 23, - n0, - _LMEJ, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/memories/{memoryId}/extractionJobs"} - ) - }, - LIST_MEMORY_EXTRACTION_JOBS_INPUT, - LIST_MEMORY_EXTRACTION_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MEMORY_RECORD_LEFT_EXPRESSION: StaticSchema = ( - 19, - n0, - _MRLE, - 0, - (_mK,), - ((METADATA_KEY, 0),), -) - -MEMORY_RECORD_OPERATOR_TYPE: StaticSchema = ( - 14, - n0, - _MROT, - 0, - (_ET__, _EXISTS, _NE_, _BEFORE, _AFTER, _CONTAINS, _GT, _GTOE_, _LT, _LTOE_), - ( - (-1, {_sVm: _ET__}), - (-1, {_sVm: _EXISTS}), - (-1, {_sVm: _NE_}), - (-1, {_sVm: _BEFORE}), - (-1, {_sVm: _AFTER}), - (-1, {_sVm: _CONTAINS}), - (-1, {_sVm: _GT}), - (-1, {_sVm: _GTOE_}), - (-1, {_sVm: _LT}), - (-1, {_sVm: _LTOE_}), - ), -) - -MEMORY_RECORD_RIGHT_EXPRESSION: StaticSchema = ( - 19, - n0, - _MRRE, - 0, - (_mV,), - ((MEMORY_RECORD_METADATA_VALUE, 0),), -) - -MEMORY_METADATA_FILTER_EXPRESSION: StaticSchema = ( - 18, - n0, - _MMFE, - 0, - (_le, _op, _ri), - ( - (MEMORY_RECORD_LEFT_EXPRESSION, 1), - (MEMORY_RECORD_OPERATOR_TYPE, 1), - (MEMORY_RECORD_RIGHT_EXPRESSION, 0), - ), -) - -MEMORY_METADATA_FILTER_LIST: StaticSchema = ( - 16, - n0, - _MMFL, - 0, - (_m,), - ((MEMORY_METADATA_FILTER_EXPRESSION, 0),), -) - -LIST_MEMORY_RECORDS_INPUT: StaticSchema = ( - 18, - n0, - _LMRI, - {_smit: None}, - (_mIe, _nam, _nP, _mSIe, _mR, _nT, _mF), - ( - (MEMORY_ID, 9), - (NAMESPACE, 0), - (NAMESPACE, 0), - (MEMORY_STRATEGY_ID, 0), - (MAX_RESULTS, {_smithyap: 100}), - (PAGINATION_TOKEN, 0), - (MEMORY_METADATA_FILTER_LIST, 0), - ), -) - -MEMORY_RECORD_SUMMARY: StaticSchema = ( - 18, - n0, - _MRSe, - 0, - (_mRI, _cont, _mSIe, _na, _cA, _scor, _tim, _met), - ( - (MEMORY_RECORD_ID, 1), - (MEMORY_CONTENT, 1), - (MEMORY_STRATEGY_ID, 1), - (NAMESPACES_LIST, 1), - (4, 1), - (10, 0), - (4, 0), - (MEMORY_RECORD_METADATA_MAP, 0), - ), -) - -MEMORY_RECORD_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _MRSL, - 0, - (_m,), - ((MEMORY_RECORD_SUMMARY, 0),), -) - -LIST_MEMORY_RECORDS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMRO, - {_smith: None}, - (_mRS, _nT), - ((MEMORY_RECORD_SUMMARY_LIST, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_MEMORY_RECORDS: StaticOperationSchema = ( - 23, - n0, - _LMR, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/memories/{memoryId}/memoryRecords"} - ) - }, - LIST_MEMORY_RECORDS_INPUT, - LIST_MEMORY_RECORDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -EVENT_FILTER_CONDITION: StaticSchema = (14, n0, _EFC, 0, (_HE,), ((-1, {_sVm: _HE}),)) - -SESSION_FILTER: StaticSchema = ( - 18, - n0, - _SFes, - 0, - (_eF,), - ((EVENT_FILTER_CONDITION, 0),), -) - -LIST_SESSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LSI, - {_smit: None}, - (_mIe, _aI, _mR, _nT, _fil), - ( - (MEMORY_ID, 9), - (ACTOR_ID, 9), - (MAX_RESULTS, {_smithyap: 100}), - (PAGINATION_TOKEN, 0), - (SESSION_FILTER, 0), - ), -) - -SESSION_SUMMARY: StaticSchema = ( - 18, - n0, - _SSes, - 0, - (_sIe, _aI, _cA), - ((SESSION_ID, 1), (ACTOR_ID, 1), (4, 1)), -) - -SESSION_SUMMARY_LIST: StaticSchema = (16, n0, _SSL, 0, (_m,), ((SESSION_SUMMARY, 0),)) - -LIST_SESSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_smith: None}, - (_sSess, _nT), - ((SESSION_SUMMARY_LIST, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_SESSIONS: StaticOperationSchema = ( - 23, - n0, - _LS, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/memories/{memoryId}/actor/{actorId}/sessions"} - ) - }, - LIST_SESSIONS_INPUT, - LIST_SESSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SEARCH_CRITERIA: StaticSchema = ( - 18, - n0, - _SCe, - 0, - (_sQe, _mSIe, _tK, _mF), - ( - (SENSITIVE_STRING, 1), - (MEMORY_STRATEGY_ID, 0), - (7, {_smithyap: 10}), - (MEMORY_METADATA_FILTER_LIST, 0), - ), -) - -RETRIEVE_MEMORY_RECORDS_INPUT: StaticSchema = ( - 18, - n0, - _RMRI, - {_smit: None}, - (_mIe, _nam, _nP, _sCe, _nT, _mR), - ( - (MEMORY_ID, 9), - (NAMESPACE, 0), - (NAMESPACE, 0), - (SEARCH_CRITERIA, 1), - (PAGINATION_TOKEN, 0), - (MAX_RESULTS, {_smithyap: 100}), - ), -) - -RETRIEVE_MEMORY_RECORDS_OUTPUT: StaticSchema = ( - 18, - n0, - _RMRO, - {_smith: None}, - (_mRS, _nT), - ((MEMORY_RECORD_SUMMARY_LIST, 1), (PAGINATION_TOKEN, 0)), -) - -RETRIEVE_MEMORY_RECORDS: StaticOperationSchema = ( - 23, - n0, - _RMR, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/memories/{memoryId}/retrieve"} - ) - }, - RETRIEVE_MEMORY_RECORDS_INPUT, - RETRIEVE_MEMORY_RECORDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_INPUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -EXTRACTION_JOB: StaticSchema = (18, n0, _EJ, 0, (_jI,), ((3, 1),)) - -START_MEMORY_EXTRACTION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SMEJI, - {_smit: None}, - (_mIe, _eJ, _cTl), - ((MEMORY_ID, 9), (EXTRACTION_JOB, 1), (3, 2)), -) - -START_MEMORY_EXTRACTION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SMEJO, - {_smith: None}, - (_jI,), - ((3, 1),), -) - -START_MEMORY_EXTRACTION_JOB: StaticOperationSchema = ( - 23, - n0, - _SMEJ, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/memories/{memoryId}/extractionJobs/start"} - ) - }, - START_MEMORY_EXTRACTION_JOB_INPUT, - START_MEMORY_EXTRACTION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PAYMENT_AGENT_NAME: StaticSchema = (3, n0, _PAN, 0) - -PAYMENT_CONNECTOR_ID: StaticSchema = (3, n0, _PCI, 0) - -JWT_KEY_ID: StaticSchema = (3, n0, _JKI, 0) - -LINKED_ACCOUNT_DEVELOPER_JWT: StaticSchema = ( - 18, - n0, - _LADJ, - 0, - (_ki, _sub), - ((JWT_KEY_ID, 1), (3, 1)), -) - -EMAIL: StaticSchema = (3, n0, _Em, 4) - -LINKED_ACCOUNT_EMAIL: StaticSchema = (18, n0, _LAE, 4, (_eAm,), ((EMAIL, 1),)) - -O_AUTH2_AUTHENTICATION: StaticSchema = ( - 18, - n0, - _OAA, - 4, - (_sub, _eAm, _n, _use), - ((3, 1), (EMAIL, 0), (3, 0), (3, 0)), -) - -LINKED_ACCOUNT_O_AUTH2: StaticSchema = ( - 19, - n0, - _LAOA, - 0, - (_go, _ap, _x, _tel, _gi), - ( - (O_AUTH2_AUTHENTICATION, 0), - (O_AUTH2_AUTHENTICATION, 0), - (O_AUTH2_AUTHENTICATION, 0), - (O_AUTH2_AUTHENTICATION, 0), - (O_AUTH2_AUTHENTICATION, 0), - ), -) - -PHONE_NUMBER: StaticSchema = (3, n0, _PN, 4) - -LINKED_ACCOUNT_SMS: StaticSchema = (18, n0, _LAS, 4, (_pN,), ((PHONE_NUMBER, 1),)) - -LINKED_ACCOUNT: StaticSchema = ( - 19, - n0, - _LAi, - 4, - (_em, _sms, _dJ, _oAu), - ( - (LINKED_ACCOUNT_EMAIL, 0), - (LINKED_ACCOUNT_SMS, 0), - (LINKED_ACCOUNT_DEVELOPER_JWT, 0), - (LINKED_ACCOUNT_O_AUTH2, 0), - ), -) - -LINKED_ACCOUNT_LIST: StaticSchema = (16, n0, _LAL, 0, (_m,), ((LINKED_ACCOUNT, 0),)) - -CRYPTO_WALLET_NETWORK: StaticSchema = ( - 14, - n0, - _CWN, - 0, - (_ETHEREUM, _SOLANA), - ((-1, {_sVm: _ETHEREUM}), (-1, {_sVm: _SOLANA})), -) - -EMBEDDED_CRYPTO_WALLET: StaticSchema = ( - 18, - n0, - _ECW, - 0, - (_ne, _lA, _wA, _rU), - ((CRYPTO_WALLET_NETWORK, 1), (LINKED_ACCOUNT_LIST, 1), (3, 0), (3, 0)), -) - -PAYMENT_INSTRUMENT_DETAILS: StaticSchema = ( - 19, - n0, - _PID, - 0, - (_eCW,), - ((EMBEDDED_CRYPTO_WALLET, 0),), -) - -PAYMENT_INSTRUMENT_TYPE: StaticSchema = ( - 14, - n0, - _PIT, - 0, - (_ECW_,), - ((-1, {_sVm: _ECW_}),), -) - -PAYMENT_MANAGER_ARN: StaticSchema = (3, n0, _PMA, 0) - -USER_ID: StaticSchema = (3, n0, _UIs, 0) - -CREATE_PAYMENT_INSTRUMENT_INPUT: StaticSchema = ( - 18, - n0, - _CPII, - {_sSI: _cCPIR, _smit: None}, - (_uI, _aN, _pMA, _pCI, _pIT, _pID, _cTl), - ( - (USER_ID, {_sH: _XABAPUI}), - (PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_CONNECTOR_ID, 1), - (PAYMENT_INSTRUMENT_TYPE, 1), - (PAYMENT_INSTRUMENT_DETAILS, 1), - (CLIENT_TOKEN, 2), - ), -) - -PAYMENT_INSTRUMENT_ID: StaticSchema = (3, n0, _PII, 0) - -PAYMENT_INSTRUMENT_STATUS: StaticSchema = ( - 14, - n0, - _PIS, - 0, - (_INITIATED, _ACTIVE, _FAILED, _DELETED, _BLOCKED), - ( - (-1, {_sVm: _INITIATED}), - (-1, {_sVm: _ACTIVE}), - (-1, {_sVm: _FAILED}), - (-1, {_sVm: _DELETED}), - (-1, {_sVm: _BLOCKED}), - ), -) - -PAYMENT_INSTRUMENT: StaticSchema = ( - 18, - n0, - _PI, - 0, - (_pII, _pMA, _pCI, _uI, _pIT, _pID, _cA, _st, _uA), - ( - (PAYMENT_INSTRUMENT_ID, 1), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_CONNECTOR_ID, 1), - (USER_ID, 1), - (PAYMENT_INSTRUMENT_TYPE, 1), - (PAYMENT_INSTRUMENT_DETAILS, 1), - (DATE_TIMESTAMP, 1), - (PAYMENT_INSTRUMENT_STATUS, 1), - (DATE_TIMESTAMP, 1), - ), -) - -CREATE_PAYMENT_INSTRUMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CPIO, - {_sSI: _cCPIRo, _smith: None}, - (_pIa,), - ((PAYMENT_INSTRUMENT, 1),), -) - -SUBSCRIPTION_REQUIRED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SRE, - {_sm: _c, _sE: 403}, - (_mes, _sUu, _pNr), - ((3, 1), (3, 0), (3, 0)), -) - -CREATE_PAYMENT_INSTRUMENT: StaticOperationSchema = ( - 23, - n0, - _CPIr, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/payments/createPaymentInstrument"} - ) - }, - CREATE_PAYMENT_INSTRUMENT_INPUT, - CREATE_PAYMENT_INSTRUMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SUBSCRIPTION_REQUIRED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_PAYMENT_INSTRUMENT_INPUT: StaticSchema = ( - 18, - n0, - _DPII, - {_sSI: _cDPIR, _smit: None}, - (_uI, _pMA, _pCI, _pII), - ( - (USER_ID, {_sH: _XABAPUI}), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_CONNECTOR_ID, 1), - (PAYMENT_INSTRUMENT_ID, 1), - ), -) - -DELETE_PAYMENT_INSTRUMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DPIO, - {_sSI: _cDPIRo, _smith: None}, - (_st,), - ((PAYMENT_INSTRUMENT_STATUS, 1),), -) - -DELETE_PAYMENT_INSTRUMENT: StaticOperationSchema = ( - 23, - n0, - _DPI, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/payments/deletePaymentInstrument"} - ) - }, - DELETE_PAYMENT_INSTRUMENT_INPUT, - DELETE_PAYMENT_INSTRUMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_PAYMENT_INSTRUMENT_INPUT: StaticSchema = ( - 18, - n0, - _GPII, - {_sSI: _cGPIR, _smit: None}, - (_uI, _aN, _pMA, _pCI, _pII), - ( - (USER_ID, {_sH: _XABAPUI}), - (PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_CONNECTOR_ID, 0), - (PAYMENT_INSTRUMENT_ID, 1), - ), -) - -GET_PAYMENT_INSTRUMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GPIO, - {_sSI: _cGPIRo, _smith: None}, - (_pIa,), - ((PAYMENT_INSTRUMENT, 1),), -) - -GET_PAYMENT_INSTRUMENT: StaticOperationSchema = ( - 23, - n0, - _GPI, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/payments/getPaymentInstrument"} - ) - }, - GET_PAYMENT_INSTRUMENT_INPUT, - GET_PAYMENT_INSTRUMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BLOCKCHAIN_CHAIN_ID: StaticSchema = ( - 14, - n0, - _BCI, - 0, - (_BASE, _BS, _ETHEREUM, _SOLANA, _SD_), - ( - (-1, {_sVm: _BASE}), - (-1, {_sVm: _BS}), - (-1, {_sVm: _ETHEREUM}), - (-1, {_sVm: _SOLANA}), - (-1, {_sVm: _SD_}), - ), -) - -INSTRUMENT_BALANCE_TOKEN: StaticSchema = ( - 14, - n0, - _IBT, - 0, - (_USDC,), - ((-1, {_sVm: _USDC}),), -) - -GET_PAYMENT_INSTRUMENT_BALANCE_INPUT: StaticSchema = ( - 18, - n0, - _GPIBI, - {_sSI: _cGPIBR, _smit: None}, - (_uI, _aN, _pMA, _pCI, _pII, _cha, _tok), - ( - (USER_ID, {_sH: _XABAPUI}), - (PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_CONNECTOR_ID, 1), - (PAYMENT_INSTRUMENT_ID, 1), - (BLOCKCHAIN_CHAIN_ID, 1), - (INSTRUMENT_BALANCE_TOKEN, 1), - ), -) - -TOKEN_BALANCE: StaticSchema = ( - 18, - n0, - _TB, - 0, - (_am, _deci, _tok, _ne, _cha), - ( - (3, 1), - (7, 1), - (INSTRUMENT_BALANCE_TOKEN, 1), - (CRYPTO_WALLET_NETWORK, 1), - (BLOCKCHAIN_CHAIN_ID, 1), - ), -) - -GET_PAYMENT_INSTRUMENT_BALANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _GPIBO, - {_sSI: _cGPIBRo, _smith: None}, - (_pII, _tB), - ((PAYMENT_INSTRUMENT_ID, 1), (TOKEN_BALANCE, 1)), -) - -GET_PAYMENT_INSTRUMENT_BALANCE: StaticOperationSchema = ( - 23, - n0, - _GPIB, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/payments/getPaymentInstrumentBalance", - } - ) - }, - GET_PAYMENT_INSTRUMENT_BALANCE_INPUT, - GET_PAYMENT_INSTRUMENT_BALANCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_PAYMENT_INSTRUMENTS_INPUT: StaticSchema = ( - 18, - n0, - _LPII, - {_sSI: _cLPIR, _smit: None}, - (_uI, _aN, _pMA, _pCI, _nT, _mR), - ( - (USER_ID, {_sH: _XABAPUI}), - (PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_CONNECTOR_ID, 0), - (NEXT_TOKEN, 0), - (7, 0), - ), -) - -PAYMENT_INSTRUMENT_SUMMARY: StaticSchema = ( - 18, - n0, - _PISa, - 0, - (_pII, _pMA, _pCI, _uI, _pIT, _st, _cA, _uA), - ( - (PAYMENT_INSTRUMENT_ID, 1), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_CONNECTOR_ID, 1), - (USER_ID, 1), - (PAYMENT_INSTRUMENT_TYPE, 1), - (PAYMENT_INSTRUMENT_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -PAYMENT_INSTRUMENT_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _PISL, - 0, - (_m,), - ((PAYMENT_INSTRUMENT_SUMMARY, 0),), -) - -LIST_PAYMENT_INSTRUMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPIO, - {_sSI: _cLPIRo, _smith: None}, - (_pIay, _nT), - ((PAYMENT_INSTRUMENT_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_PAYMENT_INSTRUMENTS: StaticOperationSchema = ( - 23, - n0, - _LPI, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/payments/listPaymentInstruments"} - ) - }, - LIST_PAYMENT_INSTRUMENTS_INPUT, - LIST_PAYMENT_INSTRUMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CURRENCY: StaticSchema = (14, n0, _Cu, 0, (_USD,), ((-1, {_sVm: _USD}),)) - -AMOUNT: StaticSchema = (18, n0, _Am, 0, (_va, _cu), ((3, 1), (CURRENCY, 1))) - -SESSION_LIMITS: StaticSchema = (18, n0, _SLe, 0, (_mSA,), ((AMOUNT, 1),)) - -CREATE_PAYMENT_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _CPSI, - {_sSI: _cCPSR, _smit: None}, - (_uI, _aN, _pMA, _li, _eTIM, _cTl), - ( - (USER_ID, {_sH: _XABAPUI}), - (PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), - (PAYMENT_MANAGER_ARN, 1), - (SESSION_LIMITS, 0), - (7, 1), - (CLIENT_TOKEN, 2), - ), -) - -AVAILABLE_LIMITS: StaticSchema = ( - 18, - n0, - _AL, - 0, - (_aSA, _uA), - ((AMOUNT, 0), (DATE_TIMESTAMP, 0)), -) - -PAYMENT_SESSION_ID: StaticSchema = (3, n0, _PSI, 0) - -PAYMENT_SESSION: StaticSchema = ( - 18, - n0, - _PS, - 0, - (_pSI, _pMA, _li, _uI, _eTIM, _cA, _aL, _uA), - ( - (PAYMENT_SESSION_ID, 1), - (PAYMENT_MANAGER_ARN, 1), - (SESSION_LIMITS, 0), - (USER_ID, 1), - (7, 1), - (DATE_TIMESTAMP, 1), - (AVAILABLE_LIMITS, 0), - (DATE_TIMESTAMP, 1), - ), -) - -CREATE_PAYMENT_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CPSO, - {_sSI: _cCPSRo, _smith: None}, - (_pS,), - ((PAYMENT_SESSION, 1),), -) - -CREATE_PAYMENT_SESSION: StaticOperationSchema = ( - 23, - n0, - _CPS, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/payments/createPaymentSession"} - ) - }, - CREATE_PAYMENT_SESSION_INPUT, - CREATE_PAYMENT_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SUBSCRIPTION_REQUIRED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_PAYMENT_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _DPSI, - {_sSI: _cDPSR, _smit: None}, - (_uI, _pMA, _pSI), - ((USER_ID, {_sH: _XABAPUI}), (PAYMENT_MANAGER_ARN, 1), (PAYMENT_SESSION_ID, 1)), -) - -PAYMENT_SESSION_STATUS: StaticSchema = ( - 14, - n0, - _PSS, - 0, - (_ACTIVE, _EXPIRED, _DELETED), - ((-1, {_sVm: _ACTIVE}), (-1, {_sVm: _EXPIRED}), (-1, {_sVm: _DELETED})), -) - -DELETE_PAYMENT_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DPSO, - {_sSI: _cDPSRo, _smith: None}, - (_st,), - ((PAYMENT_SESSION_STATUS, 1),), -) - -DELETE_PAYMENT_SESSION: StaticOperationSchema = ( - 23, - n0, - _DPS, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/payments/deletePaymentSession"} - ) - }, - DELETE_PAYMENT_SESSION_INPUT, - DELETE_PAYMENT_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_PAYMENT_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _GPSI, - {_sSI: _cGPSR, _smit: None}, - (_uI, _aN, _pMA, _pSI), - ( - (USER_ID, {_sH: _XABAPUI}), - (PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_SESSION_ID, 1), - ), -) - -GET_PAYMENT_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GPSO, - {_sSI: _cGPSRo, _smith: None}, - (_pS,), - ((PAYMENT_SESSION, 1),), -) - -GET_PAYMENT_SESSION: StaticOperationSchema = ( - 23, - n0, - _GPS, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/payments/getPaymentSession"} - ) - }, - GET_PAYMENT_SESSION_INPUT, - GET_PAYMENT_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_PAYMENT_SESSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LPSI, - {_sSI: _cLPSR, _smit: None}, - (_uI, _aN, _pMA, _nT, _mR), - ( - (USER_ID, {_sH: _XABAPUI}), - (PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), - (PAYMENT_MANAGER_ARN, 1), - (NEXT_TOKEN, 0), - (7, 0), - ), -) - -PAYMENT_SESSION_SUMMARY: StaticSchema = ( - 18, - n0, - _PSSa, - 0, - (_pSI, _pMA, _uI, _eTIM, _cA, _uA), - ( - (PAYMENT_SESSION_ID, 1), - (PAYMENT_MANAGER_ARN, 1), - (USER_ID, 1), - (7, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -PAYMENT_SESSION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _PSSL, - 0, - (_m,), - ((PAYMENT_SESSION_SUMMARY, 0),), -) - -LIST_PAYMENT_SESSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPSO, - {_sSI: _cLPSRo, _smith: None}, - (_pSa, _nT), - ((PAYMENT_SESSION_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_PAYMENT_SESSIONS: StaticOperationSchema = ( - 23, - n0, - _LPS, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/payments/listPaymentSessions"} - ) - }, - LIST_PAYMENT_SESSIONS_INPUT, - LIST_PAYMENT_SESSIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PAYMENT_DOCUMENT: StaticSchema = (13, n0, _PD, 4) - -PERMIT2_ALLOWANCE_LIMIT: StaticSchema = (3, n0, _PAL, 0) - -CRYPTO_X402_PAYMENT_INPUT: StaticSchema = ( - 18, - n0, - _CXPI, - 0, - (_ve, _p, _pAL), - ((3, 1), (PAYMENT_DOCUMENT, 1), (PERMIT2_ALLOWANCE_LIMIT, 0)), -) - -VERSION: StaticSchema = (3, n0, _Ve, 0) - -WWW_AUTHENTICATE_HEADER: StaticSchema = (3, n0, _WAH, 0) - -WWW_AUTHENTICATE_HEADER_LIST: StaticSchema = ( - 16, - n0, - _WAHL, - 0, - (_m,), - ((WWW_AUTHENTICATE_HEADER, 0),), -) - -MPP_PAYMENT_INPUT: StaticSchema = ( - 18, - n0, - _MPI, - 0, - (_ve, _wAH, _bPGF), - ((VERSION, 1), (WWW_AUTHENTICATE_HEADER_LIST, 1), (2, 0)), -) - -PAYMENT_INPUT: StaticSchema = ( - 19, - n0, - _PIa, - 0, - (_cX, _mp), - ((CRYPTO_X402_PAYMENT_INPUT, 0), (MPP_PAYMENT_INPUT, 0)), -) - -PAYMENT_TYPE: StaticSchema = ( - 14, - n0, - _PTay, - 0, - (_CX, _MPP), - ((-1, {_sVm: _CX}), (-1, {_sVm: _MPP})), -) - -PROCESS_PAYMENT_INPUT: StaticSchema = ( - 18, - n0, - _PPI, - {_sSI: _cPPR, _smit: None}, - (_uI, _aN, _pMA, _pSI, _pII, _pT, _pIaym, _cTl), - ( - (USER_ID, {_sH: _XABAPUI}), - (PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_SESSION_ID, 1), - (PAYMENT_INSTRUMENT_ID, 1), - (PAYMENT_TYPE, 1), - (PAYMENT_INPUT, 1), - (CLIENT_TOKEN, 2), - ), -) - -CRYPTO_X402_PAYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CXPO, - 0, - (_ve, _p), - ((3, 1), (PAYMENT_DOCUMENT, 1)), -) - -MPP_PAYMENT_CREDENTIAL: StaticSchema = (3, n0, _MPC, 4) - -MPP_PAYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _MPO, - 0, - (_ve, _sPI, _pCa), - ((VERSION, 1), (3, 1), (MPP_PAYMENT_CREDENTIAL, 1)), -) - -PAYMENT_OUTPUT: StaticSchema = ( - 19, - n0, - _PO, - 0, - (_cX, _mp), - ((CRYPTO_X402_PAYMENT_OUTPUT, 0), (MPP_PAYMENT_OUTPUT, 0)), -) - -PROCESS_PAYMENT_ID: StaticSchema = (3, n0, _PPIr, 0) - -PAYMENT_STATUS: StaticSchema = (14, n0, _PSa, 0, (_PG,), ((-1, {_sVm: _PG}),)) - -PROCESS_PAYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _PPO, - {_sSI: _cPPRo, _smith: None}, - (_pPI, _pMA, _pSI, _pII, _pT, _st, _pO, _cA, _uA), - ( - (PROCESS_PAYMENT_ID, 1), - (PAYMENT_MANAGER_ARN, 1), - (PAYMENT_SESSION_ID, 1), - (PAYMENT_INSTRUMENT_ID, 1), - (PAYMENT_TYPE, 1), - (PAYMENT_STATUS, 1), - (PAYMENT_OUTPUT, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -PROCESS_PAYMENT: StaticOperationSchema = ( - 23, - n0, - _PPr, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/payments/processPayment"} - ) - }, - PROCESS_PAYMENT_INPUT, - PROCESS_PAYMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SUBSCRIPTION_REQUIRED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -METADATA_FILTER_EXPRESSION: StaticSchema = (13, n0, _MFE, 0) - -REGISTRY_IDENTIFIER: StaticSchema = (3, n0, _RIeg, 0) - -REGISTRY_ID_LIST: StaticSchema = (16, n0, _RIL, 0, (_m,), ((REGISTRY_IDENTIFIER, 0),)) - -SEARCH_REGISTRY_RECORDS_INPUT: StaticSchema = ( - 18, - n0, - _SRRI, - {_sSI: _cSRRR, _smit: None}, - (_sQe, _rIeg, _mR, _f), - ( - (3, 1), - (REGISTRY_ID_LIST, 1), - (7, {_smithyap: 10}), - (METADATA_FILTER_EXPRESSION, 0), - ), -) - -DESCRIPTION: StaticSchema = (3, n0, _Des, 4) - -CUSTOM_DESCRIPTOR: StaticSchema = (18, n0, _CD, 0, (_iC,), ((INLINE_CONTENT, 0),)) - -SERVER_DEFINITION: StaticSchema = ( - 18, - n0, - _SDe, - 0, - (_sV, _iC), - ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), -) - -TOOLS_DEFINITION: StaticSchema = ( - 18, - n0, - _TD, - 0, - (_pVr, _iC), - ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), -) - -MCP_DESCRIPTOR: StaticSchema = ( - 18, - n0, - _MDc, - 0, - (_se, _to), - ((SERVER_DEFINITION, 1), (TOOLS_DEFINITION, 1)), -) - -DESCRIPTORS: StaticSchema = ( - 18, - n0, - _Desc, - 0, - (_mc, _aa, _cus, _aSg), - ( - (MCP_DESCRIPTOR, 0), - (A2A_DESCRIPTOR, 0), - (CUSTOM_DESCRIPTOR, 0), - (AGENT_SKILLS_DESCRIPTOR, 0), - ), -) - -DESCRIPTOR_TYPE: StaticSchema = ( - 14, - n0, - _DTe, - 0, - (_MCP, _AA, _CUSTOM, _AS_), - ((-1, {_sVm: _MCP}), (-1, {_sVm: _AA}), (-1, {_sVm: _CUSTOM}), (-1, {_sVm: _AS_})), -) - -REGISTRY_RECORD_NAME: StaticSchema = (3, n0, _RRN, 0) - -REGISTRY_RECORD_ARN: StaticSchema = (3, n0, _RRA, 0) - -REGISTRY_RECORD_ID: StaticSchema = (3, n0, _RRI, 0) - -REGISTRY_ARN: StaticSchema = (3, n0, _RAeg, 0) - -REGISTRY_RECORD_STATUS: StaticSchema = ( - 14, - n0, - _RRS, - 0, - (_DRAFT, _PA, _APPROVED, _REJECTED, _DEPRECATED), - ( - (-1, {_sVm: _DRAFT}), - (-1, {_sVm: _PA}), - (-1, {_sVm: _APPROVED}), - (-1, {_sVm: _REJECTED}), - (-1, {_sVm: _DEPRECATED}), - ), -) - -REGISTRY_RECORD_VERSION: StaticSchema = (3, n0, _RRV, 0) - -REGISTRY_RECORD_SUMMARY: StaticSchema = ( - 18, - n0, - _RRSe, - 0, - (_rAeg, _rAec, _rIec, _n, _d, _dT, _des, _ve, _st, _cA, _uA), - ( - (REGISTRY_ARN, 1), - (REGISTRY_RECORD_ARN, 1), - (REGISTRY_RECORD_ID, 1), - (REGISTRY_RECORD_NAME, 1), - (DESCRIPTION, 0), - (DESCRIPTOR_TYPE, 1), - (DESCRIPTORS, 1), - (REGISTRY_RECORD_VERSION, 1), - (REGISTRY_RECORD_STATUS, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - ), -) - -REGISTRY_RECORD_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _RRSL, - 0, - (_m,), - ((REGISTRY_RECORD_SUMMARY, 0),), -) - -SEARCH_REGISTRY_RECORDS_OUTPUT: StaticSchema = ( - 18, - n0, - _SRRO, - {_sSI: _cSRRRo, _smith: None}, - (_rRe,), - ((REGISTRY_RECORD_SUMMARY_LIST, 1),), -) - -SEARCH_REGISTRY_RECORDS: StaticOperationSchema = ( - 23, - n0, - _SRR, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/registry-records/search", "code": 200} - ) - }, - SEARCH_REGISTRY_RECORDS_INPUT, - SEARCH_REGISTRY_RECORDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - UNAUTHORIZED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AMAZON_BEDROCK_AGENT_CORE: StaticSchema = ( - 21, - n0, - _ABAC, - { - _aw: MappingProxyType({"name": "bedrock-agentcore"}), - _aws: MappingProxyType( - { - "sdkId": "Bedrock AgentCore", - "arnNamespace": "bedrock-agentcore", - "endpointPrefix": "bedrock-agentcore", - } - ), - _aJ: MappingProxyType( - {"http": ("http/1.1",), "eventStreamHttp": ("http/1.1",)} - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "INLINE_CONTENT", + "SCHEMA_VERSION", + "AGENT_CARD_DEFINITION", + "A2A_DESCRIPTOR", + "AB_TEST_ARN", + "AB_TEST_DESCRIPTION", + "ONLINE_EVALUATION_CONFIG_ARN", + "VARIANT_NAME", + "PER_VARIANT_ONLINE_EVALUATION_CONFIG", + "PER_VARIANT_ONLINE_EVALUATION_CONFIG_LIST", + "AB_TEST_EVALUATION_CONFIG", + "AB_TEST_EXECUTION_STATUS", + "AB_TEST_ID", + "AB_TEST_NAME", + "CONTROL_STATS", + "CONFIDENCE_INTERVAL", + "VARIANT_RESULT", + "VARIANT_RESULT_LIST", + "EVALUATOR_METRIC", + "EVALUATOR_METRIC_LIST", + "AB_TEST_RESULTS", + "AB_TEST_STATUS", + "GATEWAY_ARN", + "AB_TEST_SUMMARY", + "AB_TEST_SUMMARY_LIST", + "NON_BLANK_STRING", + "ACCESS_DENIED_EXCEPTION", + "ACCESS_TOKEN_TYPE", + "ACTOR_ID", + "ACTOR_SUMMARY", + "ACTOR_SUMMARY_LIST", + "INSIGHTS_FAILURE_CATEGORY", + "INSIGHTS_FAILURE_SIGNAL", + "INSIGHTS_FAILURE_SIGNAL_LIST", + "FAILURE_SPAN_DETAIL", + "FAILURE_SPAN_DETAIL_LIST", + "AFFECTED_SESSION", + "AFFECTED_SESSION_LIST", + "AGENT_CARD", + "SESSION_TYPE", + "GET_AGENT_CARD_INPUT", + "GET_AGENT_CARD_OUTPUT", + "GET_AGENT_CARD", + "SESSION_ID", + "HTTP_RESPONSE_CODE", + "INTERNAL_SERVER_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "RETRYABLE_CONFLICT_EXCEPTION", + "RUNTIME_CLIENT_ERROR", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION_FIELD", + "VALIDATION_EXCEPTION_FIELD_LIST", + "VALIDATION_EXCEPTION_REASON", + "VALIDATION_EXCEPTION", + "MIME_TYPE", + "STRING_TYPE", + "BODY", + "INVOKE_AGENT_RUNTIME_INPUT", + "INVOKE_AGENT_RUNTIME_OUTPUT", + "INVOKE_AGENT_RUNTIME", + "RESPONSE_STREAM", + "INVOKE_AGENT_RUNTIME_COMMAND_REQUEST_BODY", + "INVOKE_AGENT_RUNTIME_COMMAND_INPUT", + "INVOKE_AGENT_RUNTIME_COMMAND_OUTPUT", + "INVOKE_AGENT_RUNTIME_COMMAND", + "CONTENT_DELTA_EVENT", + "CONTENT_START_EVENT", + "COMMAND_EXECUTION_STATUS", + "CONTENT_STOP_EVENT", + "RESPONSE_CHUNK", + "INVOKE_AGENT_RUNTIME_COMMAND_STREAM_OUTPUT", + "CONFLICT_EXCEPTION", + "CLIENT_TOKEN", + "STOP_RUNTIME_SESSION_INPUT", + "STOP_RUNTIME_SESSION_OUTPUT", + "STOP_RUNTIME_SESSION", + "UNAUTHORIZED_EXCEPTION", + "SKILL_DEFINITION", + "MAX_RESULTS", + "NEXT_TOKEN", + "CODE_INTERPRETER_SESSION_ID", + "REQUEST_URI", + "USER_ID_TYPE", + "USER_TOKEN_TYPE", + "WORKLOAD_IDENTITY_TOKEN_TYPE", + ), + ( + "SKILL_MD_DEFINITION", + "AGENT_SKILLS_DESCRIPTOR", + "BATCH_EVALUATION_TRACE_CONFIG", + "LOG_GROUP_ARN_LIST", + "CLOUD_WATCH_LOGS_FILTER_OPERATOR", + "FILTER_STRING_VALUE", + "FILTER_VALUE", + "CLOUD_WATCH_LOGS_FILTER", + "CLOUD_WATCH_LOGS_FILTER_LIST", + "CLOUD_WATCH_LOGS_RULE", + "SERVICE_NAME", + "SERVICE_NAME_LIST", + "CLOUD_WATCH_LOGS_TRACE_CONFIG", + "ONLINE_EVALUATION_TRACE_CONFIG", + "SPAN", + "SPANS", + "AGENT_TRACES_CONFIG", + "BROWSER_PROFILE_ID", + "BROWSER_SESSION_ID", + "SAVE_BROWSER_SESSION_PROFILE_INPUT", + "SAVE_BROWSER_SESSION_PROFILE_OUTPUT", + "SAVE_BROWSER_SESSION_PROFILE", + "DATE_TIMESTAMP", + "GET_BROWSER_SESSION_INPUT", + "GET_BROWSER_SESSION_OUTPUT", + "GET_BROWSER_SESSION", + "SECRET_ARN", + "SECRETS_MANAGER_LOCATION", + "CERTIFICATE_LOCATION", + "CERTIFICATE", + "CERTIFICATES", + "S3_LOCATION", + "RESOURCE_LOCATION", + "BROWSER_ENTERPRISE_POLICY_TYPE", + "BROWSER_ENTERPRISE_POLICY", + "BROWSER_ENTERPRISE_POLICIES", + "BROWSER_EXTENSION", + "BROWSER_EXTENSIONS", + "EFS_ACCESS_POINT_ARN", + "EFS_FILE_SYSTEM_ARN", + "MOUNT_PATH", + "EFS_CONFIGURATION", + "S3_FILES_ACCESS_POINT_ARN", + "S3_FILES_FILE_SYSTEM_ARN", + "S3_FILES_CONFIGURATION", + "TOOLS_FILE_SYSTEM_CONFIGURATION", + "TOOLS_FILE_SYSTEM_CONFIGURATIONS", + "NAME", + "BROWSER_PROFILE_CONFIGURATION", + "DOMAIN_PATTERN", + "DOMAIN_PATTERNS", + "PROXY_BYPASS", + "BASIC_AUTH", + "PROXY_CREDENTIALS", + "HOST_NAME", + "EXTERNAL_PROXY", + "PROXY", + "PROXIES", + "PROXY_CONFIGURATION", + "BROWSER_SESSION_TIMEOUT", + "BROWSER_SESSION_STATUS", + "BROWSER_STREAM_ENDPOINT", + "AUTOMATION_STREAM_STATUS", + "AUTOMATION_STREAM", + "LIVE_VIEW_STREAM", + "BROWSER_SESSION_STREAM", + "VIEW_PORT_HEIGHT", + "VIEW_PORT_WIDTH", + "VIEW_PORT", + "KEY_PRESS_ARGUMENTS", + "KEY_LIST", + "KEY_SHORTCUT_ARGUMENTS", + "KEY_TYPE_ARGUMENTS", + "MOUSE_BUTTON", + "MOUSE_CLICK_ARGUMENTS", + "MOUSE_DRAG_ARGUMENTS", + "MOUSE_MOVE_ARGUMENTS", + "MOUSE_SCROLL_ARGUMENTS", + "SCREENSHOT_FORMAT", + "SCREENSHOT_ARGUMENTS", + "BROWSER_ACTION", + "INVOKE_BROWSER_INPUT", + "INVOKE_BROWSER_OUTPUT", + "INVOKE_BROWSER", + "BROWSER_ACTION_STATUS", + "KEY_PRESS_RESULT", + "KEY_SHORTCUT_RESULT", + "KEY_TYPE_RESULT", + "MOUSE_CLICK_RESULT", + "MOUSE_DRAG_RESULT", + "MOUSE_MOVE_RESULT", + "MOUSE_SCROLL_RESULT", + "SCREENSHOT_RESULT", + "BROWSER_ACTION_RESULT", + "LIST_BROWSER_SESSIONS_INPUT", + "LIST_BROWSER_SESSIONS_OUTPUT", + "LIST_BROWSER_SESSIONS", + "BROWSER_SESSION_SUMMARY", + "BROWSER_SESSION_SUMMARIES", + "START_BROWSER_SESSION_INPUT", + "START_BROWSER_SESSION_OUTPUT", + "START_BROWSER_SESSION", + ), + ( + "BATCH_EVALUATION_ARN", + "STOP_BROWSER_SESSION_INPUT", + "STOP_BROWSER_SESSION_OUTPUT", + "STOP_BROWSER_SESSION", + "AUTOMATION_STREAM_UPDATE", + "STREAM_UPDATE", + "UPDATE_BROWSER_STREAM_INPUT", + "UPDATE_BROWSER_STREAM_OUTPUT", + "UPDATE_BROWSER_STREAM", + "CAPACITY_PROVIDER_ID", + "DELETE_CAPACITY_PROVIDER_SESSION_INPUT", + "DELETE_CAPACITY_PROVIDER_SESSION_OUTPUT", + "DELETE_CAPACITY_PROVIDER_SESSION", + "CAPACITY_PROVIDER_ARN", + "CAPACITY_PROVIDER_SESSION_STATUS", + "GET_CODE_INTERPRETER_SESSION_INPUT", + "GET_CODE_INTERPRETER_SESSION_OUTPUT", + "GET_CODE_INTERPRETER_SESSION", + "CODE_INTERPRETER_SESSION_TIMEOUT", + "CODE_INTERPRETER_SESSION_STATUS", + "LIST_CODE_INTERPRETER_SESSIONS_INPUT", + "LIST_CODE_INTERPRETER_SESSIONS_OUTPUT", + "LIST_CODE_INTERPRETER_SESSIONS", + "CODE_INTERPRETER_SESSION_SUMMARY", + "CODE_INTERPRETER_SESSION_SUMMARIES", + "START_CODE_INTERPRETER_SESSION_INPUT", + "START_CODE_INTERPRETER_SESSION_OUTPUT", + "START_CODE_INTERPRETER_SESSION", + "STOP_CODE_INTERPRETER_SESSION_INPUT", + "STOP_CODE_INTERPRETER_SESSION_OUTPUT", + "STOP_CODE_INTERPRETER_SESSION", + "USER_IDENTIFIER", + "COMPLETE_RESOURCE_TOKEN_AUTH_INPUT", + "COMPLETE_RESOURCE_TOKEN_AUTH_OUTPUT", + "COMPLETE_RESOURCE_TOKEN_AUTH", + "PATH_PATTERN", + "TARGET_PATH_LIST", + "GATEWAY_FILTER", + "ROLE_ARN", + "TAG_KEY", + "TAG_VALUE", + "TAGS_MAP", + "CONFIGURATION_BUNDLE_ARN", + "CONFIGURATION_BUNDLE_VERSION", + "CONFIGURATION_BUNDLE_REF", + "TARGET_NAME", + "TARGET_REF", + "VARIANT_CONFIGURATION", + "VARIANT", + "VARIANT_LIST", + "CREATE_AB_TEST_INPUT", + "CREATE_AB_TEST_OUTPUT", + "CREATE_AB_TEST", + "DELETE_AB_TEST_INPUT", + "DELETE_AB_TEST_OUTPUT", + "DELETE_AB_TEST", + "BATCH_EVALUATION_ID", + "DELETE_BATCH_EVALUATION_INPUT", + "DELETE_BATCH_EVALUATION_OUTPUT", + "DELETE_BATCH_EVALUATION", + "BATCH_EVALUATION_STATUS", + "RECOMMENDATION_ID", + "DELETE_RECOMMENDATION_INPUT", + "DELETE_RECOMMENDATION_OUTPUT", + "DELETE_RECOMMENDATION", + "RECOMMENDATION_STATUS", + "DUPLICATE_ID_EXCEPTION", + "EVALUATION_INPUT", + "EVALUATION_CONTENT", + "EVALUATION_CONTENT_LIST", + "SPAN_CONTEXT", + "CONTEXT", + "EVALUATION_TOOL_NAME", + "EVALUATION_TOOL_NAMES", + "EVALUATION_EXPECTED_TRAJECTORY", + "EVALUATION_REFERENCE_INPUT", + "EVALUATION_REFERENCE_INPUTS", + "SPAN_ID", + "SPAN_IDS", + "TRACE_ID", + "TRACE_IDS", + "EVALUATION_TARGET", + "EVALUATOR_ID", + "EVALUATE_INPUT", + "EVALUATE_OUTPUT", + "EVALUATE", + "EVALUATION_ERROR_CODE", + "EVALUATION_ERROR_MESSAGE", + "EVALUATION_DIMENSION_NAME", + "EVALUATOR_ARN", + "EVALUATOR_NAME", + "EVALUATION_EXPLANATION", + "IGNORED_REFERENCE_INPUT_FIELD", + "IGNORED_REFERENCE_INPUT_FIELDS", + "TOKEN_USAGE", + "BATCH_EVALUATION_DESCRIPTION", + ), + ( + "EVALUATION_RESULT_CONTENT", + "EVALUATION_RESULTS", + "GET_AB_TEST_INPUT", + "GET_AB_TEST_OUTPUT", + "GET_AB_TEST", + "ERROR_DETAILS_LIST", + "GET_BATCH_EVALUATION_INPUT", + "GET_BATCH_EVALUATION_OUTPUT", + "GET_BATCH_EVALUATION", + "BATCH_EVALUATION_NAME", + "EVALUATION_STRING_LIST", + "TRACE_ID_LIST", + "SESSION_TRACE_IDS", + "SESSION_TRACE_IDS_LIST", + "SESSION_FILTER_CONFIG", + "CLOUD_WATCH_FILTER_CONFIG", + "LOG_GROUP_NAME_PREFIX", + "LOG_GROUP_NAME_PREFIX_LIST", + "LOG_GROUP_NAME", + "LOG_GROUP_NAME_LIST", + "CLOUD_WATCH_LOGS_SOURCE", + "ONLINE_EVALUATION_CONFIG_SOURCE", + "DATA_SOURCE_CONFIG", + "EVALUATOR_STATISTICS", + "EVALUATOR_SUMMARY", + "EVALUATOR_SUMMARY_LIST", + "EVALUATION_JOB_RESULTS", + "EVALUATOR", + "EVALUATOR_LIST", + "EXECUTION_SUMMARY_AFFECTED_SESSION", + "EXECUTION_SUMMARY_AFFECTED_SESSION_LIST", + "EXECUTION_SUMMARY_CLUSTER", + "EXECUTION_SUMMARY_CLUSTER_LIST", + "EXECUTION_SUMMARY_CLUSTERING_RESULT_CONTENT", + "ROOT_CAUSE_CLUSTER", + "ROOT_CAUSE_CLUSTER_LIST", + "FAILURE_SUB_CATEGORY_CLUSTER", + "FAILURE_SUB_CATEGORY_CLUSTER_LIST", + "FAILURE_CATEGORY_CLUSTER", + "FAILURE_CATEGORY_CLUSTER_LIST", + "FAILURE_ANALYSIS_RESULT_CONTENT", + "INSIGHT_DESCRIPTION", + "INSIGHT_NAME", + "ROOT_CAUSE_EXPLANATION", + "ROOT_CAUSE_NAME", + "FINDING_DESCRIPTION", + "FINDING_TARGET_ID", + "FINDING_TARGET_TYPE", + "SESSION_FINDING", + "SESSION_FINDING_LIST", + "SAMPLE_SESSION", + "INSIGHT_SAMPLE_SESSION_LIST", + "SUGGESTED_FIX", + "INSIGHT_ROOT_CAUSE", + "INSIGHT_ROOT_CAUSE_LIST", + "INSIGHT_TYPE", + "INSIGHT_RESULT", + "INSIGHT_RESULT_LIST", + "INSIGHT_ID", + "INSIGHT", + "INSIGHT_LIST", + "KMS_KEY_ARN", + "OPTIONAL_LOG_GROUP_NAME", + "LOG_STREAM_NAME", + "METRICS_NAMESPACE", + "RESULT_DESTINATION", + "CLOUD_WATCH_OUTPUT_CONFIG", + "OUTPUT_CONFIG", + "USER_INTENT_LIST", + "USER_INTENT_AFFECTED_SESSION", + "USER_INTENT_AFFECTED_SESSION_LIST", + "USER_INTENT_CLUSTER", + "USER_INTENT_CLUSTER_LIST", + "USER_INTENT_CLUSTERING_RESULT_CONTENT", + "GET_RECOMMENDATION_INPUT", + "GET_RECOMMENDATION_OUTPUT", + "GET_RECOMMENDATION", + "RECOMMENDATION_DESCRIPTION", + "RECOMMENDATION_NAME", + "RECOMMENDATION_ARN", + "RECOMMENDATION_EVALUATOR_REFERENCE", + "RECOMMENDATION_EVALUATOR_LIST", + "RECOMMENDATION_EVALUATION_CONFIG", + "CONFIGURATION_BUNDLE_VERSION_ID", + "SYSTEM_PROMPT_CONFIGURATION_BUNDLE", + "SYSTEM_PROMPT_TEXT", + "SYSTEM_PROMPT_CONFIG", + "SYSTEM_PROMPT_RECOMMENDATION_CONFIG", + "RECOMMENDATION_TOOL_NAME", + "CONFIGURATION_BUNDLE_TOOL_ENTRY", + "CONFIGURATION_BUNDLE_TOOL_ENTRY_LIST", + "TOOL_DESCRIPTION_CONFIGURATION_BUNDLE", + "TOOL_DESCRIPTION_TEXT", + "TOOL_DESCRIPTION_CONFIG", + "TOOL_DESCRIPTION_INPUT", + "TOOL_DESCRIPTION_LIST", + "TOOL_DESCRIPTION_TEXT_INPUT", + "TOOL_DESCRIPTION_SOURCE", + "TOOL_DESCRIPTION_RECOMMENDATION_CONFIG", + ), + ( + "RECOMMENDATION_CONFIG", + "RECOMMENDATION_RESULT_CONFIGURATION_BUNDLE", + "RECOMMENDATION_ERROR_CODE", + "RECOMMENDATION_ERROR_MESSAGE", + "RECOMMENDATION_EXPLANATION", + "SYSTEM_PROMPT_RECOMMENDATION_RESULT", + "TOOL_DESCRIPTION_OUTPUT", + "TOOL_DESCRIPTION_RESULT_LIST", + "TOOL_DESCRIPTION_RECOMMENDATION_RESULT", + "RECOMMENDATION_RESULT", + "RECOMMENDATION_TYPE", + "LIST_AB_TESTS_INPUT", + "LIST_AB_TESTS_OUTPUT", + "LIST_AB_TESTS", + "LIST_BATCH_EVALUATIONS_INPUT", + "LIST_BATCH_EVALUATIONS_OUTPUT", + "LIST_BATCH_EVALUATIONS", + "BATCH_EVALUATION_SUMMARY", + "BATCH_EVALUATION_SUMMARY_LIST", + "LIST_RECOMMENDATIONS_INPUT", + "LIST_RECOMMENDATIONS_OUTPUT", + "LIST_RECOMMENDATIONS", + "RECOMMENDATION_SUMMARY", + "RECOMMENDATION_SUMMARY_LIST", + "GROUND_TRUTH_TURN_INPUT", + "GROUND_TRUTH_TURN", + "GROUND_TRUTH_TURN_LIST", + "INLINE_GROUND_TRUTH", + "GROUND_TRUTH_SOURCE", + "STRING_MAP", + "SESSION_METADATA_SHAPE", + "SESSION_METADATA_LIST", + "EVALUATION_METADATA", + "START_BATCH_EVALUATION_INPUT", + "START_BATCH_EVALUATION_OUTPUT", + "START_BATCH_EVALUATION", + "START_RECOMMENDATION_INPUT", + "START_RECOMMENDATION_OUTPUT", + "START_RECOMMENDATION", + "STOP_BATCH_EVALUATION_INPUT", + "STOP_BATCH_EVALUATION_OUTPUT", + "STOP_BATCH_EVALUATION", + "UPDATE_AB_TEST_INPUT", + "UPDATE_AB_TEST_OUTPUT", + "UPDATE_AB_TEST", + "CREDENTIAL_PROVIDER_NAME", + "GET_RESOURCE_API_KEY_INPUT", + "GET_RESOURCE_API_KEY_OUTPUT", + "GET_RESOURCE_API_KEY", + "API_KEY_TYPE", + "AUDIENCE_TYPE", + "AUDIENCES_LIST_TYPE", + "CUSTOM_REQUEST_KEY_TYPE", + "CUSTOM_REQUEST_VALUE_TYPE", + "CUSTOM_REQUEST_PARAMETERS_TYPE", + "STATE", + "OAUTH2_FLOW_TYPE", + "RESOURCE_OAUTH2_RETURN_URL_TYPE", + "RESOURCE_TYPE", + "RESOURCES_LIST_TYPE", + "SCOPE_TYPE", + "SCOPES_LIST_TYPE", + "GET_RESOURCE_OAUTH2_TOKEN_INPUT", + "GET_RESOURCE_OAUTH2_TOKEN_OUTPUT", + "GET_RESOURCE_OAUTH2_TOKEN", + "AUTHORIZATION_URL_TYPE", + "SESSION_STATUS", + "COINBASE_CDP_PAYMENT_REQUEST_BODY_TYPE", + "PAYMENT_REQUEST_HOST_TYPE", + "PAYMENT_HTTP_METHOD_TYPE", + "PAYMENT_REQUEST_PATH_TYPE", + "COINBASE_CDP_TOKEN_REQUEST_INPUT", + "STRIPE_PRIVY_REQUEST_BODY_TYPE", + "STRIPE_PRIVY_REQUEST_HOST_TYPE", + "STRIPE_PRIVY_REQUEST_PATH_TYPE", + "STRIPE_PRIVY_TOKEN_REQUEST_INPUT", + "PAYMENT_TOKEN_REQUEST_INPUT", + "GET_RESOURCE_PAYMENT_TOKEN_INPUT", + "GET_RESOURCE_PAYMENT_TOKEN_OUTPUT", + "GET_RESOURCE_PAYMENT_TOKEN", + "COINBASE_CDP_PAYMENT_JWT_TOKEN_TYPE", + "COINBASE_CDP_TOKEN_RESPONSE_OUTPUT", + "STRIPE_PRIVY_APP_ID_TYPE", + "STRIPE_PRIVY_AUTHORIZATION_SIGNATURE_TYPE", + "STRIPE_PRIVY_BASIC_AUTH_TOKEN_TYPE", + "STRIPE_PRIVY_TOKEN_RESPONSE_OUTPUT", + "PAYMENT_TOKEN_RESPONSE_OUTPUT", + ), + ( + "WORKLOAD_IDENTITY_NAME_TYPE", + "GET_WORKLOAD_ACCESS_TOKEN_INPUT", + "GET_WORKLOAD_ACCESS_TOKEN_OUTPUT", + "GET_WORKLOAD_ACCESS_TOKEN", + "GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_INPUT", + "GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_OUTPUT", + "GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT", + "GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_INPUT", + "GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_OUTPUT", + "GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID", + "MAX_LEN_STRING", + "INPUT_CONTENT_BLOCK", + "INPUT_CONTENT_BLOCK_LIST", + "PROGRAMMING_LANGUAGE", + "STRING_LIST", + "LANGUAGE_RUNTIME", + "TOOL_ARGUMENTS", + "TOOL_NAME", + "INVOKE_CODE_INTERPRETER_INPUT", + "INVOKE_CODE_INTERPRETER_OUTPUT", + "INVOKE_CODE_INTERPRETER", + "RESOURCE_CONTENT_TYPE", + "RESOURCE_CONTENT", + "CONTENT_BLOCK_TYPE", + "CONTENT_BLOCK", + "CONTENT_BLOCK_LIST", + "TASK_STATUS", + "TOOL_RESULT_STRUCTURED_CONTENT", + "CODE_INTERPRETER_RESULT", + "CODE_INTERPRETER_STREAM_OUTPUT", + "HARNESS_ALLOWED_TOOL", + "HARNESS_ALLOWED_TOOLS", + "HARNESS_ARN", + "HARNESS_REASONING_TEXT_BLOCK", + "HARNESS_REASONING_CONTENT_BLOCK", + "SENSITIVE_TEXT", + "SENSITIVE_JSON", + "HARNESS_TOOL_RESULT_CONTENT_BLOCK", + "HARNESS_TOOL_RESULT_CONTENT_BLOCKS", + "HARNESS_TOOL_USE_STATUS", + "HARNESS_TOOL_USE_ID", + "HARNESS_TOOL_USE_TYPE", + "HARNESS_TOOL_RESULT_BLOCK", + "HARNESS_TOOL_NAME", + "HARNESS_TOOL_USE_BLOCK", + "HARNESS_CONTENT_BLOCK", + "HARNESS_CONTENT_BLOCKS", + "HARNESS_CONVERSATION_ROLE", + "HARNESS_MESSAGE", + "HARNESS_MESSAGES", + "HARNESS_BEDROCK_API_FORMAT", + "MAX_TOKENS", + "MODEL_ID", + "TEMPERATURE", + "TOP_P", + "HARNESS_BEDROCK_MODEL_CONFIG", + "API_KEY_ARN", + "TOP_K", + "HARNESS_GEMINI_MODEL_CONFIG", + "HARNESS_LITE_LLM_API_BASE", + "HARNESS_LITE_LLM_MODEL_CONFIG", + "HARNESS_OPEN_AI_API_BASE", + "HARNESS_OPEN_AI_API_FORMAT", + "HARNESS_OPEN_AI_MODEL_CONFIG", + "HARNESS_MODEL_CONFIGURATION", + "HARNESS_ENDPOINT_NAME", + "HARNESS_AWS_SKILL_PATH", + "HARNESS_AWS_SKILL_PATHS", + "HARNESS_SKILL_AWS_SKILLS_SOURCE", + "HARNESS_SKILL_GIT_AUTH", + "HARNESS_SKILL_GIT_URL", + "HARNESS_SKILL_GIT_SOURCE", + "HARNESS_SKILL_PATH", + "HARNESS_SKILL_S3_URI", + "HARNESS_SKILL_S3_SOURCE", + "HARNESS_SKILL", + "HARNESS_SKILLS", + "HARNESS_SYSTEM_CONTENT_BLOCK", + "HARNESS_SYSTEM_PROMPT", + "HARNESS_BROWSER_ARN", + "HARNESS_AGENT_CORE_BROWSER_CONFIG", + "HARNESS_CODE_INTERPRETER_ARN", + "HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG", + "O_AUTH_CUSTOM_PARAMETERS_KEY", + "O_AUTH_CUSTOM_PARAMETERS_VALUE", + "O_AUTH_CUSTOM_PARAMETERS", + "O_AUTH_DEFAULT_RETURN_URL", + "O_AUTH_GRANT_TYPE", + "O_AUTH_CREDENTIAL_PROVIDER_ARN", + "O_AUTH_SCOPE", + "O_AUTH_SCOPES", + "O_AUTH_CREDENTIAL_PROVIDER", + "HARNESS_GATEWAY_OUTBOUND_AUTH", + "HARNESS_AGENT_CORE_GATEWAY_CONFIG", + "HARNESS_INLINE_FUNCTION_DESCRIPTION", + "HARNESS_INLINE_FUNCTION_CONFIG", + "HTTP_HEADER_KEY", + "HTTP_HEADER_VALUE", + "HTTP_HEADERS_MAP", + "IAM_CREDENTIAL_PROVIDER", + "HARNESS_REMOTE_MCP_OUTBOUND_AUTH", + "HARNESS_REMOTE_MCP_URL", + "HARNESS_REMOTE_MCP_CONFIG", + ), + ( + "HARNESS_TOOL_CONFIGURATION", + "HARNESS_TOOL_TYPE", + "HARNESS_TOOL", + "HARNESS_TOOLS", + "INVOKE_HARNESS_INPUT", + "INVOKE_HARNESS_OUTPUT", + "INVOKE_HARNESS", + "HARNESS_REASONING_CONTENT_BLOCK_DELTA", + "HARNESS_TOOL_RESULT_BLOCK_DELTA", + "HARNESS_TOOL_RESULT_BLOCKS_DELTA", + "HARNESS_TOOL_RESULT_METADATA_BLOCK_DELTA", + "HARNESS_TOOL_USE_BLOCK_DELTA", + "HARNESS_CONTENT_BLOCK_DELTA", + "HARNESS_CONTENT_BLOCK_DELTA_EVENT", + "HARNESS_TOOL_RESULT_BLOCK_START", + "HARNESS_TOOL_USE_BLOCK_START", + "HARNESS_CONTENT_BLOCK_START", + "HARNESS_CONTENT_BLOCK_START_EVENT", + "HARNESS_CONTENT_BLOCK_STOP_EVENT", + "HARNESS_HOOK_DECISION", + "HARNESS_HOOK_EVENT_ID", + "HARNESS_HOOK_NAME", + "HARNESS_HOOK_EVENT_TYPE", + "HARNESS_HOOK_EVENT", + "HARNESS_MESSAGE_START_EVENT", + "HARNESS_STOP_REASON", + "HARNESS_MESSAGE_STOP_EVENT", + "HARNESS_STREAM_METRICS", + "HARNESS_TOKEN_USAGE", + "HARNESS_METADATA_EVENT", + "INVOKE_HARNESS_STREAM_OUTPUT", + "DOMAIN_NAME", + "DOMAIN_LIST", + "DOMAIN_FILTER", + "PUBLISHED_DATE_FILTER", + "WEB_SEARCH_FILTERS", + "WEB_SEARCH_ID", + "INVOKE_WEB_SEARCH_INPUT", + "INVOKE_WEB_SEARCH_OUTPUT", + "INVOKE_WEB_SEARCH", + "WEB_SEARCH_RESULT", + "WEB_SEARCH_RESULT_LIST", + "SERVICE_UNAVAILABLE_EXCEPTION", + "MEMORY_ID", + "RECORD_EXPIRY_ACTION", + "RECORD_EXPIRY_DURATION_DAYS", + "RECORD_EXPIRY_SPECIFICATION", + "SENSITIVE_STRING", + "MEMORY_CONTENT", + "MEMORY_STRATEGY_ID", + "METADATA_KEY", + "STRING_LIST_MEMBER_VALUE", + "STRING_VALUE_LIST", + "STRING_VALUE", + "MEMORY_RECORD_METADATA_VALUE", + "MEMORY_RECORD_METADATA_MAP", + "NAMESPACE", + "NAMESPACES_LIST", + "REQUEST_IDENTIFIER", + "MEMORY_RECORD_CREATE_INPUT", + "MEMORY_RECORDS_CREATE_INPUT_LIST", + "BATCH_CREATE_MEMORY_RECORDS_INPUT", + "BATCH_CREATE_MEMORY_RECORDS_OUTPUT", + "BATCH_CREATE_MEMORY_RECORDS", + "MEMORY_RECORD_ID", + "MEMORY_RECORD_STATUS", + "MEMORY_RECORD_OUTPUT", + "MEMORY_RECORDS_OUTPUT_LIST", + "SERVICE_EXCEPTION", + "THROTTLED_EXCEPTION", + "MEMORY_RECORD_DELETE_INPUT", + "MEMORY_RECORDS_DELETE_INPUT_LIST", + "BATCH_DELETE_MEMORY_RECORDS_INPUT", + "BATCH_DELETE_MEMORY_RECORDS_OUTPUT", + "BATCH_DELETE_MEMORY_RECORDS", + "MEMORY_RECORD_UPDATE_INPUT", + "MEMORY_RECORDS_UPDATE_INPUT_LIST", + "BATCH_UPDATE_MEMORY_RECORDS_INPUT", + "BATCH_UPDATE_MEMORY_RECORDS_OUTPUT", + "BATCH_UPDATE_MEMORY_RECORDS", + "BRANCH_NAME", + "EVENT_ID", + "BRANCH", + "NAMESPACE_VARIABLE_NAME", + "NAMESPACE_VARIABLE_VALUE", + "NAMESPACE_VARIABLES_MAP", + "EXTRACTION_CONFIG", + "EXTRACTION_MODE", + "METADATA_VALUE", + "METADATA_MAP", + "MEMORY_DOCUMENT", + "CONTENT", + "ROLE", + "CONVERSATIONAL", + "MEMORY_JSON_DATA_CONTENT", + "MEMORY_JSON_DATA", + "PAYLOAD_TYPE", + "PAYLOAD_TYPE_LIST", + ), + ( + "CREATE_EVENT_INPUT", + "CREATE_EVENT_OUTPUT", + "CREATE_EVENT", + "EVENT", + "INVALID_INPUT_EXCEPTION", + "DELETE_EVENT_INPUT", + "DELETE_EVENT_OUTPUT", + "DELETE_EVENT", + "DELETE_MEMORY_RECORD_INPUT", + "DELETE_MEMORY_RECORD_OUTPUT", + "DELETE_MEMORY_RECORD", + "GET_EVENT_INPUT", + "GET_EVENT_OUTPUT", + "GET_EVENT", + "GET_MEMORY_RECORD_INPUT", + "GET_MEMORY_RECORD_OUTPUT", + "GET_MEMORY_RECORD", + "MEMORY_RECORD", + "INGEST_PAYLOAD_TYPE", + "INGEST_PAYLOAD_LIST", + "INLINE_MEMORY_CONTENT", + "CONTENT_SOURCE", + "INGEST_DATA_INPUT", + "INGEST_DATA_OUTPUT", + "INGEST_DATA", + "PAGINATION_TOKEN", + "LIST_ACTORS_INPUT", + "LIST_ACTORS_OUTPUT", + "LIST_ACTORS", + "BRANCH_FILTER", + "LEFT_EXPRESSION", + "OPERATOR_TYPE", + "RIGHT_EXPRESSION", + "EVENT_METADATA_FILTER_EXPRESSION", + "EVENT_METADATA_FILTER_LIST", + "FILTER_INPUT", + "LIST_EVENTS_INPUT", + "LIST_EVENTS_OUTPUT", + "LIST_EVENTS", + "EVENT_LIST", + "EXTRACTION_JOB_STATUS", + "EXTRACTION_JOB_FILTER_INPUT", + "LIST_MEMORY_EXTRACTION_JOBS_INPUT", + "LIST_MEMORY_EXTRACTION_JOBS_OUTPUT", + "LIST_MEMORY_EXTRACTION_JOBS", + "MESSAGE_METADATA", + "MESSAGES_LIST", + "EXTRACTION_JOB_MESSAGES", + "EXTRACTION_JOB_METADATA", + "EXTRACTION_JOB_METADATA_LIST", + "MEMORY_RECORD_LEFT_EXPRESSION", + "MEMORY_RECORD_OPERATOR_TYPE", + "MEMORY_RECORD_RIGHT_EXPRESSION", + "MEMORY_METADATA_FILTER_EXPRESSION", + "MEMORY_METADATA_FILTER_LIST", + "LIST_MEMORY_RECORDS_INPUT", + "LIST_MEMORY_RECORDS_OUTPUT", + "LIST_MEMORY_RECORDS", + "MEMORY_RECORD_SUMMARY", + "MEMORY_RECORD_SUMMARY_LIST", + "EVENT_FILTER_CONDITION", + "SESSION_FILTER", + "LIST_SESSIONS_INPUT", + "LIST_SESSIONS_OUTPUT", + "LIST_SESSIONS", + "SESSION_SUMMARY", + "SESSION_SUMMARY_LIST", + "SEARCH_CRITERIA", + "RETRIEVE_MEMORY_RECORDS_INPUT", + "RETRIEVE_MEMORY_RECORDS_OUTPUT", + "RETRIEVE_MEMORY_RECORDS", + "EXTRACTION_JOB", + "START_MEMORY_EXTRACTION_JOB_INPUT", + "START_MEMORY_EXTRACTION_JOB_OUTPUT", + "START_MEMORY_EXTRACTION_JOB", + "PAYMENT_AGENT_NAME", + "PAYMENT_CONNECTOR_ID", + "JWT_KEY_ID", + "LINKED_ACCOUNT_DEVELOPER_JWT", + "EMAIL", + "LINKED_ACCOUNT_EMAIL", + "O_AUTH2_AUTHENTICATION", + "LINKED_ACCOUNT_O_AUTH2", + "PHONE_NUMBER", + "LINKED_ACCOUNT_SMS", + "LINKED_ACCOUNT", + "LINKED_ACCOUNT_LIST", + "CRYPTO_WALLET_NETWORK", + "EMBEDDED_CRYPTO_WALLET", + "PAYMENT_INSTRUMENT_DETAILS", + "PAYMENT_INSTRUMENT_TYPE", + "PAYMENT_MANAGER_ARN", + "USER_ID", + ), + ( + "CREATE_PAYMENT_INSTRUMENT_INPUT", + "CREATE_PAYMENT_INSTRUMENT_OUTPUT", + "CREATE_PAYMENT_INSTRUMENT", + "PAYMENT_INSTRUMENT_ID", + "PAYMENT_INSTRUMENT_STATUS", + "PAYMENT_INSTRUMENT", + "SUBSCRIPTION_REQUIRED_EXCEPTION", + "DELETE_PAYMENT_INSTRUMENT_INPUT", + "DELETE_PAYMENT_INSTRUMENT_OUTPUT", + "DELETE_PAYMENT_INSTRUMENT", + "GET_PAYMENT_INSTRUMENT_INPUT", + "GET_PAYMENT_INSTRUMENT_OUTPUT", + "GET_PAYMENT_INSTRUMENT", + "BLOCKCHAIN_CHAIN_ID", + "INSTRUMENT_BALANCE_TOKEN", + "GET_PAYMENT_INSTRUMENT_BALANCE_INPUT", + "GET_PAYMENT_INSTRUMENT_BALANCE_OUTPUT", + "GET_PAYMENT_INSTRUMENT_BALANCE", + "TOKEN_BALANCE", + "LIST_PAYMENT_INSTRUMENTS_INPUT", + "LIST_PAYMENT_INSTRUMENTS_OUTPUT", + "LIST_PAYMENT_INSTRUMENTS", + "PAYMENT_INSTRUMENT_SUMMARY", + "PAYMENT_INSTRUMENT_SUMMARY_LIST", + "CURRENCY", + "AMOUNT", + "SESSION_LIMITS", + "CREATE_PAYMENT_SESSION_INPUT", + "CREATE_PAYMENT_SESSION_OUTPUT", + "CREATE_PAYMENT_SESSION", + "AVAILABLE_LIMITS", + "PAYMENT_SESSION_ID", + "PAYMENT_SESSION", + "DELETE_PAYMENT_SESSION_INPUT", + "DELETE_PAYMENT_SESSION_OUTPUT", + "DELETE_PAYMENT_SESSION", + "PAYMENT_SESSION_STATUS", + "GET_PAYMENT_SESSION_INPUT", + "GET_PAYMENT_SESSION_OUTPUT", + "GET_PAYMENT_SESSION", + "LIST_PAYMENT_SESSIONS_INPUT", + "LIST_PAYMENT_SESSIONS_OUTPUT", + "LIST_PAYMENT_SESSIONS", + "PAYMENT_SESSION_SUMMARY", + "PAYMENT_SESSION_SUMMARY_LIST", + "PAYMENT_DOCUMENT", + "PERMIT2_ALLOWANCE_LIMIT", + "CRYPTO_X402_PAYMENT_INPUT", + "VERSION", + "WWW_AUTHENTICATE_HEADER", + "WWW_AUTHENTICATE_HEADER_LIST", + "MPP_PAYMENT_INPUT", + "PAYMENT_INPUT", + "PAYMENT_TYPE", + "PROCESS_PAYMENT_INPUT", + "PROCESS_PAYMENT_OUTPUT", + "PROCESS_PAYMENT", + "CRYPTO_X402_PAYMENT_OUTPUT", + "MPP_PAYMENT_CREDENTIAL", + "MPP_PAYMENT_OUTPUT", + "PAYMENT_OUTPUT", + "PROCESS_PAYMENT_ID", + "PAYMENT_STATUS", + "METADATA_FILTER_EXPRESSION", + "REGISTRY_IDENTIFIER", + "REGISTRY_ID_LIST", + "SEARCH_REGISTRY_RECORDS_INPUT", + "SEARCH_REGISTRY_RECORDS_OUTPUT", + "SEARCH_REGISTRY_RECORDS", + "DESCRIPTION", + "CUSTOM_DESCRIPTOR", + "SERVER_DEFINITION", + "TOOLS_DEFINITION", + "MCP_DESCRIPTOR", + "DESCRIPTORS", + "DESCRIPTOR_TYPE", + "REGISTRY_RECORD_NAME", + "REGISTRY_RECORD_ARN", + "REGISTRY_RECORD_ID", + "REGISTRY_ARN", + "REGISTRY_RECORD_STATUS", + "REGISTRY_RECORD_VERSION", + "REGISTRY_RECORD_SUMMARY", + "REGISTRY_RECORD_SUMMARY_LIST", + "AMAZON_BEDROCK_AGENT_CORE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_0.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_0.py new file mode 100644 index 000000000..602f6c687 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_0.py @@ -0,0 +1,1074 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.bedrockagentcore" +_IC = "InlineContent" +_SV = "SchemaVersion" +_ACD = "AgentCardDefinition" +_sV = "schemaVersion" +_iC = "inlineContent" +_AD = "A2aDescriptor" +_aC = "agentCard" +_s = "smithy.api#required" +_ABTA = "ABTestArn" +_ABTD = "ABTestDescription" +_OECA = "OnlineEvaluationConfigArn" +_VN = "VariantName" +_PVOEC = "PerVariantOnlineEvaluationConfig" +_n = "name" +_oECA = "onlineEvaluationConfigArn" +_PVOECL = "PerVariantOnlineEvaluationConfigList" +_m = "member" +_ABTEC = "ABTestEvaluationConfig" +_pVOEC = "perVariantOnlineEvaluationConfig" +_ABTES = "ABTestExecutionStatus" +_PAUSED = "PAUSED" +_sVm = "smithy.api#enumValue" +_RUNNING = "RUNNING" +_STOPPED = "STOPPED" +_NS = "NOT_STARTED" +_ABTI = "ABTestId" +_ABTN = "ABTestName" +_CS = "ControlStats" +_vN = "variantName" +_sS = "sampleSize" +_me = "mean" +_CI = "ConfidenceInterval" +_l = "lower" +_u = "upper" +_VR = "VariantResult" +_aCb = "absoluteChange" +_pC = "percentChange" +_pV = "pValue" +_cI = "confidenceInterval" +_iS = "isSignificant" +_VRL = "VariantResultList" +_EM = "EvaluatorMetric" +_eA = "evaluatorArn" +_cS = "controlStats" +_vR = "variantResults" +_EML = "EvaluatorMetricList" +_ABTR = "ABTestResults" +_aT = "analysisTimestamp" +_eM = "evaluatorMetrics" +_ABTS = "ABTestStatus" +_CREATING = "CREATING" +_ACTIVE = "ACTIVE" +_CF = "CREATE_FAILED" +_UPDATING = "UPDATING" +_UF = "UPDATE_FAILED" +_DELETING = "DELETING" +_DF = "DELETE_FAILED" +_FAILED = "FAILED" +_GA = "GatewayArn" +_ABTSe = "ABTestSummary" +_aTI = "abTestId" +_aTA = "abTestArn" +_st = "status" +_eS = "executionStatus" +_d = "description" +_gA = "gatewayArn" +_cA = "createdAt" +_uA = "updatedAt" +_ABTSL = "ABTestSummaryList" +_NBS = "NonBlankString" +_ADE = "AccessDeniedException" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_mes = "message" +_ATT = "AccessTokenType" +_smi = "smithy.api#sensitive" +_AI = "ActorId" +_AS = "ActorSummary" +_aI = "actorId" +_ASL = "ActorSummaryList" +_IFC = "InsightsFailureCategory" +_EEA = "EXECUTION_ERROR_AUTHENTICATION" +_eeca = "execution-error-category-authentication" +_EERNF = "EXECUTION_ERROR_RESOURCE_NOT_FOUND" +_eecrnf = "execution-error-category-resource-not-found" +_EESE = "EXECUTION_ERROR_SERVICE_ERRORS" +_eecse = "execution-error-category-service-errors" +_EERL = "EXECUTION_ERROR_RATE_LIMITING" +_eecrl = "execution-error-category-rate-limiting" +_EEF = "EXECUTION_ERROR_FORMATTING" +_eecf = "execution-error-category-formatting" +_EET = "EXECUTION_ERROR_TIMEOUT" +_eect = "execution-error-category-timeout" +_EERE = "EXECUTION_ERROR_RESOURCE_EXHAUSTION" +_eecre = "execution-error-category-resource-exhaustion" +_EEE = "EXECUTION_ERROR_ENVIRONMENT" +_eece = "execution-error-category-environment" +_EETS = "EXECUTION_ERROR_TOOL_SCHEMA" +_eects = "execution-error-category-tool-schema" +_TINC = "TASK_INSTRUCTION_NON_COMPLIANCE" +_ticnc = "task-instruction-category-non-compliance" +_TIPI = "TASK_INSTRUCTION_PROBLEM_ID" +_ticpi = "task-instruction-category-problem-id" +_IATS = "INCORRECT_ACTIONS_TOOL_SELECTION" +_iacts = "incorrect-actions-category-tool-selection" +_IAPIR = "INCORRECT_ACTIONS_POOR_INFORMATION_RETRIEVAL" +_iacpir = "incorrect-actions-category-poor-information-retrieval" +_IAC = "INCORRECT_ACTIONS_CLARIFICATION" +_iacc = "incorrect-actions-category-clarification" +_IAIIR = "INCORRECT_ACTIONS_INAPPROPRIATE_INFO_REQUEST" +_iaciir = "incorrect-actions-category-inappropriate-info-request" +_CHF = "CONTEXT_HANDLING_FAILURES" +_checchf = "context-handling-error-category-context-handling-failures" +_HC = "HALLUCINATION_CAPABILITIES" +_hchc = "hallucination-category-hall-capabilities" +_HM = "HALLUCINATION_MISUNDERSTAND" +_hchm = "hallucination-category-hall-misunderstand" +_HU = "HALLUCINATION_USAGE" +_hchu = "hallucination-category-hall-usage" +_HH = "HALLUCINATION_HISTORY" +_hchh = "hallucination-category-hall-history" +_HP = "HALLUCINATION_PARAMS" +_hchp = "hallucination-category-hall-params" +_HFTO = "HALLUCINATION_FABRICATE_TOOL_OUTPUTS" +_hcfto = "hallucination-category-fabricate-tool-outputs" +_RBT = "REPETITIVE_BEHAVIOR_TOOL" +_rbcrt = "repetitive-behavior-category-repetition-tool" +_RBI = "REPETITIVE_BEHAVIOR_INFO" +_rbcri = "repetitive-behavior-category-repetition-info" +_RBS = "REPETITIVE_BEHAVIOR_STEP" +_rbcsr = "repetitive-behavior-category-step-repetition" +_ORM = "ORCHESTRATION_REASONING_MISMATCH" +_orecrm = "orchestration-related-errors-category-reasoning-mismatch" +_OGD = "ORCHESTRATION_GOAL_DEVIATION" +_orecgd = "orchestration-related-errors-category-goal-deviation" +_OPT = "ORCHESTRATION_PREMATURE_TERMINATION" +_orecpt = "orchestration-related-errors-category-premature-termination" +_OUT = "ORCHESTRATION_UNAWARE_TERMINATION" +_orecut = "orchestration-related-errors-category-unaware-termination" +_LON = "LLM_OUTPUT_NONSENSICAL" +_locn = "llm-output-category-nonsensical" +_CMTD = "CONFIGURATION_MISMATCH_TOOL_DEFINITION" +_cmctd = "configuration-mismatch-category-tool-definition" +_CECO = "CODING_EDGE_CASE_OVERSIGHTS" +_cucsftceco = "coding-use-case-specific-failure-types-category-edge-case-oversights" +_CDI = "CODING_DEPENDENCY_ISSUES" +_cucsftcdi = "coding-use-case-specific-failure-types-category-dependency-issues" +_OTHER = "OTHER" +_o = "other" +_IFS = "InsightsFailureSignal" +_ca = "category" +_e = "evidence" +_co = "confidence" +_IFSL = "InsightsFailureSignalList" +_FSD = "FailureSpanDetail" +_sI = "spanId" +_tI = "traceId" +_si = "signals" +_FSDL = "FailureSpanDetailList" +_ASf = "AffectedSession" +_sIe = "sessionId" +_ex = "explanation" +_fT = "fixType" +_r = "recommendation" +_fS = "failureSpans" +_ASLf = "AffectedSessionList" +_AC = "AgentCard" +_ST = "SessionType" +_GACI = "GetAgentCardInput" +_sSI = "smithy.synthetic#originalShapeId" +_cGACR = "com.amazonaws.bedrockagentcore#GetAgentCardRequest" +_smit = "smithy.api#input" +_rSI = "runtimeSessionId" +_sH = "smithy.api#httpHeader" +_XABARSI = "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id" +_sT = "smithy.api#idempotencyToken" +_aRA = "agentRuntimeArn" +_sL = "smithy.api#httpLabel" +_q = "qualifier" +_sQ = "smithy.api#httpQuery" +_SI = "SessionId" +_HRC = "HttpResponseCode" +_GACO = "GetAgentCardOutput" +_cGACRo = "com.amazonaws.bedrockagentcore#GetAgentCardResponse" +_smith = "smithy.api#output" +_sP = "smithy.api#httpPayload" +_sC = "statusCode" +_sRC = "smithy.api#httpResponseCode" +_ISE = "InternalServerException" +_se = "server" +_RNFE = "ResourceNotFoundException" +_RCE = "RetryableConflictException" +_RCEu = "RuntimeClientError" +_SQEE = "ServiceQuotaExceededException" +_TE = "ThrottlingException" +_VEF = "ValidationExceptionField" +_VEFL = "ValidationExceptionFieldList" +_VER = "ValidationExceptionReason" +_CP = "CANNOT_PARSE" +_CPa = "CannotParse" +_FVF = "FIELD_VALIDATION_FAILED" +_FVFi = "FieldValidationFailed" +_IPME = "IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION" +_IPMEd = "IdempotentParameterMismatchException" +_REIOS = "ROOT_EVENT_IN_OTHER_SESSION" +_EIOS = "EventInOtherSession" +_RC = "RESOURCE_CONFLICT" +_RCe = "ResourceConflict" +_VE = "ValidationException" +_re = "reason" +_fL = "fieldList" +_GAC = "GetAgentCard" +_smithy = "smithy.api#http" +_MT = "MimeType" +_STt = "StringType" +_B = "Body" +_IARI = "InvokeAgentRuntimeInput" +_cIARR = "com.amazonaws.bedrockagentcore#InvokeAgentRuntimeRequest" +_cT = "contentType" +_CT = "Content-Type" +_a = "accept" +_A = "Accept" +_mSI = "mcpSessionId" +_MSI = "Mcp-Session-Id" +_mPV = "mcpProtocolVersion" +_MPV = "Mcp-Protocol-Version" +_mM = "mcpMethod" +_MM = "Mcp-Method" +_mN = "mcpName" +_MN = "Mcp-Name" +_rUI = "runtimeUserId" +_XABARUI = "X-Amzn-Bedrock-AgentCore-Runtime-User-Id" +_XATI = "X-Amzn-Trace-Id" +_tP = "traceParent" +_t = "traceparent" +_tS = "traceState" +_tr = "tracestate" +_b = "baggage" +_aIc = "accountId" +_p = "payload" +_RS = "ResponseStream" +_smithya = "smithy.api#streaming" +_IARO = "InvokeAgentRuntimeOutput" +_cIARRo = "com.amazonaws.bedrockagentcore#InvokeAgentRuntimeResponse" +_sEU = "sessionEndpointUrl" +_XABARSEU = "X-Amzn-Bedrock-AgentCore-Runtime-Session-Endpoint-Url" +_res = "response" +_smithyap = "smithy.api#default" +_v = "" +_IAR = "InvokeAgentRuntime" +_IARCRB = "InvokeAgentRuntimeCommandRequestBody" +_com = "command" +_ti = "timeout" +_IARCI = "InvokeAgentRuntimeCommandInput" +_cIARCR = "com.amazonaws.bedrockagentcore#InvokeAgentRuntimeCommandRequest" +_bo = "body" +_CDE = "ContentDeltaEvent" +_std = "stdout" +_stde = "stderr" +_CSE = "ContentStartEvent" +_CES = "CommandExecutionStatus" +_COMPLETED = "COMPLETED" +_TO = "TIMED_OUT" +_CSEo = "ContentStopEvent" +_eC = "exitCode" +_RCes = "ResponseChunk" +_cSo = "contentStart" +_cD = "contentDelta" +_cSon = "contentStop" +_IARCSO = "InvokeAgentRuntimeCommandStreamOutput" +_ch = "chunk" +_aDE = "accessDeniedException" +_iSE = "internalServerException" +_rNFE = "resourceNotFoundException" +_sQEE = "serviceQuotaExceededException" +_tE = "throttlingException" +_vE = "validationException" +_rCE = "runtimeClientError" +_IARCO = "InvokeAgentRuntimeCommandOutput" +_cIARCRo = "com.amazonaws.bedrockagentcore#InvokeAgentRuntimeCommandResponse" +_str = "stream" +_IARC = "InvokeAgentRuntimeCommand" +_CE = "ConflictException" +_CTl = "ClientToken" +_SRSI = "StopRuntimeSessionInput" +_cSRSR = "com.amazonaws.bedrockagentcore#StopRuntimeSessionRequest" +_cTl = "clientToken" +_SRSO = "StopRuntimeSessionOutput" +_cSRSRo = "com.amazonaws.bedrockagentcore#StopRuntimeSessionResponse" +_UE = "UnauthorizedException" +_SRS = "StopRuntimeSession" +_SD = "SkillDefinition" +_MR = "MaxResults" +_NT = "NextToken" +_CISI = "CodeInterpreterSessionId" +_RU = "RequestUri" +_UIT = "UserIdType" +_UTT = "UserTokenType" +_WITT = "WorkloadIdentityTokenType" + +INLINE_CONTENT: StaticSchema = (3, n0, _IC, 0) + +SCHEMA_VERSION: StaticSchema = (3, n0, _SV, 0) + +AGENT_CARD_DEFINITION: StaticSchema = ( + 18, + n0, + _ACD, + 0, + (_sV, _iC), + ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), +) + +A2A_DESCRIPTOR: StaticSchema = (18, n0, _AD, 0, (_aC,), ((AGENT_CARD_DEFINITION, 1),)) + +AB_TEST_ARN: StaticSchema = (3, n0, _ABTA, 0) + +AB_TEST_DESCRIPTION: StaticSchema = (3, n0, _ABTD, 0) + +ONLINE_EVALUATION_CONFIG_ARN: StaticSchema = (3, n0, _OECA, 0) + +VARIANT_NAME: StaticSchema = (3, n0, _VN, 0) + +PER_VARIANT_ONLINE_EVALUATION_CONFIG: StaticSchema = ( + 18, + n0, + _PVOEC, + 0, + (_n, _oECA), + ((VARIANT_NAME, 1), (ONLINE_EVALUATION_CONFIG_ARN, 1)), +) + +PER_VARIANT_ONLINE_EVALUATION_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _PVOECL, + 0, + (_m,), + ((PER_VARIANT_ONLINE_EVALUATION_CONFIG, 0),), +) + +AB_TEST_EVALUATION_CONFIG: StaticSchema = ( + 19, + n0, + _ABTEC, + 0, + (_oECA, _pVOEC), + ((ONLINE_EVALUATION_CONFIG_ARN, 0), (PER_VARIANT_ONLINE_EVALUATION_CONFIG_LIST, 0)), +) + +AB_TEST_EXECUTION_STATUS: StaticSchema = ( + 14, + n0, + _ABTES, + 0, + (_PAUSED, _RUNNING, _STOPPED, _NS), + ( + (-1, {_sVm: _PAUSED}), + (-1, {_sVm: _RUNNING}), + (-1, {_sVm: _STOPPED}), + (-1, {_sVm: _NS}), + ), +) + +AB_TEST_ID: StaticSchema = (3, n0, _ABTI, 0) + +AB_TEST_NAME: StaticSchema = (3, n0, _ABTN, 0) + +CONTROL_STATS: StaticSchema = ( + 18, + n0, + _CS, + 0, + (_vN, _sS, _me), + ((3, 1), (7, 1), (10, 1)), +) + +CONFIDENCE_INTERVAL: StaticSchema = (18, n0, _CI, 0, (_l, _u), ((10, 0), (10, 0))) + +VARIANT_RESULT: StaticSchema = ( + 18, + n0, + _VR, + 0, + (_vN, _sS, _me, _aCb, _pC, _pV, _cI, _iS), + ( + (3, 1), + (7, 1), + (10, 1), + (10, 0), + (10, 0), + (10, 0), + (CONFIDENCE_INTERVAL, 0), + (2, 1), + ), +) + +VARIANT_RESULT_LIST: StaticSchema = (16, n0, _VRL, 0, (_m,), ((VARIANT_RESULT, 0),)) + +EVALUATOR_METRIC: StaticSchema = ( + 18, + n0, + _EM, + 0, + (_eA, _cS, _vR), + ((3, 1), (CONTROL_STATS, 1), (VARIANT_RESULT_LIST, 1)), +) + +EVALUATOR_METRIC_LIST: StaticSchema = (16, n0, _EML, 0, (_m,), ((EVALUATOR_METRIC, 0),)) + +AB_TEST_RESULTS: StaticSchema = ( + 18, + n0, + _ABTR, + 0, + (_aT, _eM), + ((4, 0), (EVALUATOR_METRIC_LIST, 1)), +) + +AB_TEST_STATUS: StaticSchema = ( + 14, + n0, + _ABTS, + 0, + (_CREATING, _ACTIVE, _CF, _UPDATING, _UF, _DELETING, _DF, _FAILED), + ( + (-1, {_sVm: _CREATING}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _CF}), + (-1, {_sVm: _UPDATING}), + (-1, {_sVm: _UF}), + (-1, {_sVm: _DELETING}), + (-1, {_sVm: _DF}), + (-1, {_sVm: _FAILED}), + ), +) + +GATEWAY_ARN: StaticSchema = (3, n0, _GA, 0) + +AB_TEST_SUMMARY: StaticSchema = ( + 18, + n0, + _ABTSe, + 0, + (_aTI, _aTA, _n, _st, _eS, _d, _gA, _cA, _uA), + ( + (AB_TEST_ID, 1), + (AB_TEST_ARN, 1), + (AB_TEST_NAME, 1), + (AB_TEST_STATUS, 1), + (AB_TEST_EXECUTION_STATUS, 1), + (AB_TEST_DESCRIPTION, 0), + (GATEWAY_ARN, 0), + (4, 1), + (4, 1), + ), +) + +AB_TEST_SUMMARY_LIST: StaticSchema = (16, n0, _ABTSL, 0, (_m,), ((AB_TEST_SUMMARY, 0),)) + +NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_sm: _c, _sE: 403}, + (_mes,), + ((NON_BLANK_STRING, 0),), +) + +ACCESS_TOKEN_TYPE: StaticSchema = (3, n0, _ATT, 4) + +ACTOR_ID: StaticSchema = (3, n0, _AI, 0) + +ACTOR_SUMMARY: StaticSchema = (18, n0, _AS, 0, (_aI,), ((ACTOR_ID, 1),)) + +ACTOR_SUMMARY_LIST: StaticSchema = (16, n0, _ASL, 0, (_m,), ((ACTOR_SUMMARY, 0),)) + +INSIGHTS_FAILURE_CATEGORY: StaticSchema = ( + 14, + n0, + _IFC, + 0, + ( + _EEA, + _EERNF, + _EESE, + _EERL, + _EEF, + _EET, + _EERE, + _EEE, + _EETS, + _TINC, + _TIPI, + _IATS, + _IAPIR, + _IAC, + _IAIIR, + _CHF, + _HC, + _HM, + _HU, + _HH, + _HP, + _HFTO, + _RBT, + _RBI, + _RBS, + _ORM, + _OGD, + _OPT, + _OUT, + _LON, + _CMTD, + _CECO, + _CDI, + _OTHER, + ), + ( + (-1, {_sVm: _eeca}), + (-1, {_sVm: _eecrnf}), + (-1, {_sVm: _eecse}), + (-1, {_sVm: _eecrl}), + (-1, {_sVm: _eecf}), + (-1, {_sVm: _eect}), + (-1, {_sVm: _eecre}), + (-1, {_sVm: _eece}), + (-1, {_sVm: _eects}), + (-1, {_sVm: _ticnc}), + (-1, {_sVm: _ticpi}), + (-1, {_sVm: _iacts}), + (-1, {_sVm: _iacpir}), + (-1, {_sVm: _iacc}), + (-1, {_sVm: _iaciir}), + (-1, {_sVm: _checchf}), + (-1, {_sVm: _hchc}), + (-1, {_sVm: _hchm}), + (-1, {_sVm: _hchu}), + (-1, {_sVm: _hchh}), + (-1, {_sVm: _hchp}), + (-1, {_sVm: _hcfto}), + (-1, {_sVm: _rbcrt}), + (-1, {_sVm: _rbcri}), + (-1, {_sVm: _rbcsr}), + (-1, {_sVm: _orecrm}), + (-1, {_sVm: _orecgd}), + (-1, {_sVm: _orecpt}), + (-1, {_sVm: _orecut}), + (-1, {_sVm: _locn}), + (-1, {_sVm: _cmctd}), + (-1, {_sVm: _cucsftceco}), + (-1, {_sVm: _cucsftcdi}), + (-1, {_sVm: _o}), + ), +) + +INSIGHTS_FAILURE_SIGNAL: StaticSchema = ( + 18, + n0, + _IFS, + 0, + (_ca, _e, _co), + ((INSIGHTS_FAILURE_CATEGORY, 1), (3, 1), (10, 1)), +) + +INSIGHTS_FAILURE_SIGNAL_LIST: StaticSchema = ( + 16, + n0, + _IFSL, + 0, + (_m,), + ((INSIGHTS_FAILURE_SIGNAL, 0),), +) + +FAILURE_SPAN_DETAIL: StaticSchema = ( + 18, + n0, + _FSD, + 0, + (_sI, _tI, _si), + ((3, 1), (3, 1), (INSIGHTS_FAILURE_SIGNAL_LIST, 1)), +) + +FAILURE_SPAN_DETAIL_LIST: StaticSchema = ( + 16, + n0, + _FSDL, + 0, + (_m,), + ((FAILURE_SPAN_DETAIL, 0),), +) + +AFFECTED_SESSION: StaticSchema = ( + 18, + n0, + _ASf, + 0, + (_sIe, _ex, _fT, _r, _fS), + ((3, 1), (3, 1), (3, 1), (3, 1), (FAILURE_SPAN_DETAIL_LIST, 1)), +) + +AFFECTED_SESSION_LIST: StaticSchema = ( + 16, + n0, + _ASLf, + 0, + (_m,), + ((AFFECTED_SESSION, 0),), +) + +AGENT_CARD: StaticSchema = (13, n0, _AC, 0) + +SESSION_TYPE: StaticSchema = (3, n0, _ST, 0) + +GET_AGENT_CARD_INPUT: StaticSchema = ( + 18, + n0, + _GACI, + {_sSI: _cGACR, _smit: None}, + (_rSI, _aRA, _q), + ((SESSION_TYPE, {_sH: _XABARSI, _sT: None}), (3, 9), (3, {_sQ: _q})), +) + +GET_AGENT_CARD_OUTPUT: StaticSchema = ( + 18, + n0, + _GACO, + {_sSI: _cGACRo, _smith: None}, + (_rSI, _aC, _sC), + ( + (lambda: SESSION_ID, {_sH: _XABARSI}), + (AGENT_CARD, 17), + (lambda: HTTP_RESPONSE_CODE, 128), + ), +) + +GET_AGENT_CARD: StaticOperationSchema = ( + 23, + n0, + _GAC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/runtimes/{agentRuntimeArn}/invocations/.well-known/agent-card.json", + "code": 200, + } + ) + }, + GET_AGENT_CARD_INPUT, + GET_AGENT_CARD_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: RETRYABLE_CONFLICT_EXCEPTION, + lambda: RUNTIME_CLIENT_ERROR, + lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +SESSION_ID: StaticSchema = (3, n0, _SI, 0) + +HTTP_RESPONSE_CODE: StaticSchema = (7, n0, _HRC, 0) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_sm: _se, _sE: 500}, + (_mes,), + ((NON_BLANK_STRING, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_sm: _c, _sE: 404}, + (_mes,), + ((NON_BLANK_STRING, 0),), +) + +RETRYABLE_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _RCE, + {_sm: _c, _sE: 409}, + (_mes,), + ((3, 1),), +) + +RUNTIME_CLIENT_ERROR: StaticSchema = ( + 18, + n0, + _RCEu, + {_sm: _c, _sE: 424}, + (_mes,), + ((NON_BLANK_STRING, 0),), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_sm: _c, _sE: 402}, + (_mes,), + ((NON_BLANK_STRING, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + {_sm: _c, _sE: 429}, + (_mes,), + ((NON_BLANK_STRING, 0),), +) + +VALIDATION_EXCEPTION_FIELD: StaticSchema = ( + 18, + n0, + _VEF, + 0, + (_n, _mes), + ((3, 1), (3, 1)), +) + +VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( + 16, + n0, + _VEFL, + 0, + (_m,), + ((VALIDATION_EXCEPTION_FIELD, 0),), +) + +VALIDATION_EXCEPTION_REASON: StaticSchema = ( + 14, + n0, + _VER, + 0, + (_CP, _FVF, _IPME, _REIOS, _RC), + ( + (-1, {_sVm: _CPa}), + (-1, {_sVm: _FVFi}), + (-1, {_sVm: _IPMEd}), + (-1, {_sVm: _EIOS}), + (-1, {_sVm: _RCe}), + ), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_sm: _c, _sE: 400}, + (_mes, _re, _fL), + ((3, 1), (VALIDATION_EXCEPTION_REASON, 1), (VALIDATION_EXCEPTION_FIELD_LIST, 0)), +) + +MIME_TYPE: StaticSchema = (3, n0, _MT, 0) + +STRING_TYPE: StaticSchema = (3, n0, _STt, 0) + +BODY: StaticSchema = (1, n0, _B, 4) + +INVOKE_AGENT_RUNTIME_INPUT: StaticSchema = ( + 18, + n0, + _IARI, + {_sSI: _cIARR, _smit: None}, + (_cT, _a, _mSI, _rSI, _mPV, _mM, _mN, _rUI, _tI, _tP, _tS, _b, _aRA, _q, _aIc, _p), + ( + (MIME_TYPE, {_sH: _CT}), + (MIME_TYPE, {_sH: _A}), + (STRING_TYPE, {_sH: _MSI}), + (SESSION_TYPE, {_sH: _XABARSI, _sT: None}), + (STRING_TYPE, {_sH: _MPV}), + (STRING_TYPE, {_sH: _MM}), + (STRING_TYPE, {_sH: _MN}), + (STRING_TYPE, {_sH: _XABARUI}), + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (3, {_sH: _tr}), + (3, {_sH: _b}), + (3, 9), + (3, {_sQ: _q}), + (3, {_sQ: _aIc}), + (BODY, 17), + ), +) + +INVOKE_AGENT_RUNTIME_OUTPUT: StaticSchema = ( + 18, + n0, + _IARO, + {_sSI: _cIARRo, _smith: None}, + (_rSI, _sEU, _mSI, _mPV, _tI, _tP, _tS, _b, _cT, _res, _sC), + ( + (SESSION_ID, {_sH: _XABARSI}), + (3, {_sH: _XABARSEU}), + (SESSION_ID, {_sH: _MSI}), + (3, {_sH: _MPV}), + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (3, {_sH: _tr}), + (3, {_sH: _b}), + (3, {_sH: _CT, _s: None}), + (lambda: RESPONSE_STREAM, {_smithyap: _v, _sP: None}), + (HTTP_RESPONSE_CODE, 128), + ), +) + +INVOKE_AGENT_RUNTIME: StaticOperationSchema = ( + 23, + n0, + _IAR, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/runtimes/{agentRuntimeArn}/invocations", + "code": 200, + } + ) + }, + INVOKE_AGENT_RUNTIME_INPUT, + INVOKE_AGENT_RUNTIME_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + RETRYABLE_CONFLICT_EXCEPTION, + RUNTIME_CLIENT_ERROR, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +RESPONSE_STREAM: StaticSchema = (1, n0, _RS, {_smithya: None, _smi: None}) + +INVOKE_AGENT_RUNTIME_COMMAND_REQUEST_BODY: StaticSchema = ( + 18, + n0, + _IARCRB, + 0, + (_com, _ti), + ((3, 1), (7, 0)), +) + +INVOKE_AGENT_RUNTIME_COMMAND_INPUT: StaticSchema = ( + 18, + n0, + _IARCI, + {_sSI: _cIARCR, _smit: None}, + (_cT, _a, _rSI, _tI, _tP, _tS, _b, _aRA, _q, _aIc, _bo), + ( + (MIME_TYPE, {_sH: _CT}), + (MIME_TYPE, {_sH: _A}), + (SESSION_TYPE, {_sH: _XABARSI, _sT: None}), + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (3, {_sH: _tr}), + (3, {_sH: _b}), + (3, 9), + (3, {_sQ: _q}), + (3, {_sQ: _aIc}), + (INVOKE_AGENT_RUNTIME_COMMAND_REQUEST_BODY, 17), + ), +) + +INVOKE_AGENT_RUNTIME_COMMAND_OUTPUT: StaticSchema = ( + 18, + n0, + _IARCO, + {_sSI: _cIARCRo, _smith: None}, + (_rSI, _tI, _tP, _tS, _b, _cT, _sC, _str), + ( + (SESSION_ID, {_sH: _XABARSI}), + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (3, {_sH: _tr}), + (3, {_sH: _b}), + (3, {_sH: _CT, _s: None}), + (HTTP_RESPONSE_CODE, 128), + (lambda: INVOKE_AGENT_RUNTIME_COMMAND_STREAM_OUTPUT, 17), + ), +) + +INVOKE_AGENT_RUNTIME_COMMAND: StaticOperationSchema = ( + 23, + n0, + _IARC, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/runtimes/{agentRuntimeArn}/commands", + "code": 200, + } + ) + }, + INVOKE_AGENT_RUNTIME_COMMAND_INPUT, + INVOKE_AGENT_RUNTIME_COMMAND_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + RETRYABLE_CONFLICT_EXCEPTION, + RUNTIME_CLIENT_ERROR, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +CONTENT_DELTA_EVENT: StaticSchema = (18, n0, _CDE, 0, (_std, _stde), ((3, 0), (3, 0))) + +CONTENT_START_EVENT: StaticSchema = (18, n0, _CSE, 0) + +COMMAND_EXECUTION_STATUS: StaticSchema = ( + 14, + n0, + _CES, + 0, + (_COMPLETED, _TO), + ((-1, {_sVm: _COMPLETED}), (-1, {_sVm: _TO})), +) + +CONTENT_STOP_EVENT: StaticSchema = ( + 18, + n0, + _CSEo, + 0, + (_eC, _st), + ((7, 1), (COMMAND_EXECUTION_STATUS, 1)), +) + +RESPONSE_CHUNK: StaticSchema = ( + 18, + n0, + _RCes, + 0, + (_cSo, _cD, _cSon), + ((CONTENT_START_EVENT, 0), (CONTENT_DELTA_EVENT, 0), (CONTENT_STOP_EVENT, 0)), +) + +INVOKE_AGENT_RUNTIME_COMMAND_STREAM_OUTPUT: StaticSchema = ( + 19, + n0, + _IARCSO, + {_smithya: None}, + (_ch, _aDE, _iSE, _rNFE, _sQEE, _tE, _vE, _rCE), + ( + (RESPONSE_CHUNK, 0), + (ACCESS_DENIED_EXCEPTION, 0), + (INTERNAL_SERVER_EXCEPTION, 0), + (RESOURCE_NOT_FOUND_EXCEPTION, 0), + (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), + (THROTTLING_EXCEPTION, 0), + (VALIDATION_EXCEPTION, 0), + (RUNTIME_CLIENT_ERROR, 0), + ), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + {_sm: _c, _sE: 409}, + (_mes,), + ((NON_BLANK_STRING, 0),), +) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) + +STOP_RUNTIME_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _SRSI, + {_sSI: _cSRSR, _smit: None}, + (_rSI, _aRA, _q, _cTl), + ( + (SESSION_TYPE, {_sH: _XABARSI, _s: None}), + (3, 9), + (3, {_sQ: _q}), + (CLIENT_TOKEN, 2), + ), +) + +STOP_RUNTIME_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _SRSO, + {_sSI: _cSRSRo, _smith: None}, + (_rSI, _sC), + ((SESSION_ID, {_sH: _XABARSI}), (HTTP_RESPONSE_CODE, 128)), +) + +STOP_RUNTIME_SESSION: StaticOperationSchema = ( + 23, + n0, + _SRS, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/runtimes/{agentRuntimeArn}/stopruntimesession", + "code": 200, + } + ) + }, + STOP_RUNTIME_SESSION_INPUT, + STOP_RUNTIME_SESSION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + RETRYABLE_CONFLICT_EXCEPTION, + RUNTIME_CLIENT_ERROR, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + lambda: UNAUTHORIZED_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +UNAUTHORIZED_EXCEPTION: StaticSchema = ( + 18, + n0, + _UE, + {_sm: _c, _sE: 401}, + (_mes,), + ((NON_BLANK_STRING, 0),), +) + +SKILL_DEFINITION: StaticSchema = ( + 18, + n0, + _SD, + 0, + (_sV, _iC), + ((SCHEMA_VERSION, 0), (INLINE_CONTENT, 0)), +) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +CODE_INTERPRETER_SESSION_ID: StaticSchema = (3, n0, _CISI, 0) + +REQUEST_URI: StaticSchema = (3, n0, _RU, 0) + +USER_ID_TYPE: StaticSchema = (3, n0, _UIT, 0) + +USER_TOKEN_TYPE: StaticSchema = (3, n0, _UTT, 4) + +WORKLOAD_IDENTITY_TOKEN_TYPE: StaticSchema = (3, n0, _WITT, 4) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_1.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_1.py new file mode 100644 index 000000000..9c1b963fc --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_1.py @@ -0,0 +1,1089 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcore" +_iC = "inlineContent" +_s = "smithy.api#required" +_n = "name" +_oECA = "onlineEvaluationConfigArn" +_m = "member" +_sVm = "smithy.api#enumValue" +_FAILED = "FAILED" +_st = "status" +_cA = "createdAt" +_smi = "smithy.api#sensitive" +_tI = "traceId" +_sIe = "sessionId" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sH = "smithy.api#httpHeader" +_sT = "smithy.api#idempotencyToken" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_smith = "smithy.api#output" +_se = "server" +_smithy = "smithy.api#http" +_XATI = "X-Amzn-Trace-Id" +_tP = "traceParent" +_t = "traceparent" +_smithyap = "smithy.api#default" +_cTl = "clientToken" +_SMD = "SkillMdDefinition" +_ASD = "AgentSkillsDescriptor" +_sM = "skillMd" +_sD = "skillDefinition" +_BETC = "BatchEvaluationTraceConfig" +_bEA = "batchEvaluationArn" +_LGAL = "LogGroupArnList" +_CWLFO = "CloudWatchLogsFilterOperator" +_EQUALS = "EQUALS" +_E = "Equals" +_NE = "NOT_EQUALS" +_NEo = "NotEquals" +_GT = "GREATER_THAN" +_GTr = "GreaterThan" +_LT = "LESS_THAN" +_LTe = "LessThan" +_GTOE = "GREATER_THAN_OR_EQUAL" +_GTOEr = "GreaterThanOrEqual" +_LTOE = "LESS_THAN_OR_EQUAL" +_LTOEe = "LessThanOrEqual" +_CONTAINS = "CONTAINS" +_C = "Contains" +_NC = "NOT_CONTAINS" +_NCo = "NotContains" +_FSV = "FilterStringValue" +_FV = "FilterValue" +_sVt = "stringValue" +_dV = "doubleValue" +_bV = "booleanValue" +_CWLF = "CloudWatchLogsFilter" +_k = "key" +_op = "operator" +_va = "value" +_CWLFL = "CloudWatchLogsFilterList" +_CWLR = "CloudWatchLogsRule" +_f = "filters" +_SN = "ServiceName" +_SNL = "ServiceNameList" +_CWLTC = "CloudWatchLogsTraceConfig" +_lGA = "logGroupArns" +_sN = "serviceNames" +_sTt = "startTime" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_eT = "endTime" +_ru = "rule" +_OETC = "OnlineEvaluationTraceConfig" +_S = "Span" +_Sp = "Spans" +_ATC = "AgentTracesConfig" +_sSe = "sessionSpans" +_cL = "cloudwatchLogs" +_bE = "batchEvaluation" +_oE = "onlineEvaluation" +_BPI = "BrowserProfileId" +_BSI = "BrowserSessionId" +_SBSPI = "SaveBrowserSessionProfileInput" +_cSBSPR = "com.amazonaws.bedrockagentcore#SaveBrowserSessionProfileRequest" +_pI = "profileIdentifier" +_bI = "browserIdentifier" +_DT = "DateTimestamp" +_SBSPO = "SaveBrowserSessionProfileOutput" +_cSBSPRo = "com.amazonaws.bedrockagentcore#SaveBrowserSessionProfileResponse" +_lUA = "lastUpdatedAt" +_SBSP = "SaveBrowserSessionProfile" +_GBSI = "GetBrowserSessionInput" +_cGBSR = "com.amazonaws.bedrockagentcore#GetBrowserSessionRequest" +_SA = "SecretArn" +_SML = "SecretsManagerLocation" +_sA = "secretArn" +_CL = "CertificateLocation" +_sMe = "secretsManager" +_Ce = "Certificate" +_lo = "location" +_Cer = "Certificates" +_SL = "S3Location" +_bu = "bucket" +_pr = "prefix" +_vI = "versionId" +_RL = "ResourceLocation" +_s_ = "s3" +_BEPT = "BrowserEnterprisePolicyType" +_MANAGED = "MANAGED" +_RECOMMENDED = "RECOMMENDED" +_BEP = "BrowserEnterprisePolicy" +_ty = "type" +_BEPr = "BrowserEnterprisePolicies" +_BE = "BrowserExtension" +_BEr = "BrowserExtensions" +_EAPA = "EfsAccessPointArn" +_EFSA = "EfsFileSystemArn" +_MP = "MountPath" +_EC = "EfsConfiguration" +_aPA = "accessPointArn" +_mP = "mountPath" +_fSA = "fileSystemArn" +_SFAPA = "S3FilesAccessPointArn" +_SFFSA = "S3FilesFileSystemArn" +_SFC = "S3FilesConfiguration" +_TFSC = "ToolsFileSystemConfiguration" +_sFC = "s3FilesConfiguration" +_eCf = "efsConfiguration" +_TFSCo = "ToolsFileSystemConfigurations" +_N = "Name" +_BPC = "BrowserProfileConfiguration" +_DP = "DomainPattern" +_DPo = "DomainPatterns" +_PB = "ProxyBypass" +_dP = "domainPatterns" +_BA = "BasicAuth" +_PC = "ProxyCredentials" +_bA = "basicAuth" +_HN = "HostName" +_EP = "ExternalProxy" +_po = "port" +_cr = "credentials" +_P = "Proxy" +_eP = "externalProxy" +_Pr = "Proxies" +_PCr = "ProxyConfiguration" +_pro = "proxies" +_by = "bypass" +_BST = "BrowserSessionTimeout" +_BSS = "BrowserSessionStatus" +_READY = "READY" +_TERMINATED = "TERMINATED" +_BSE = "BrowserStreamEndpoint" +_ASS = "AutomationStreamStatus" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_ASu = "AutomationStream" +_sEt = "streamEndpoint" +_sSt = "streamStatus" +_LVS = "LiveViewStream" +_BSSr = "BrowserSessionStream" +_aS = "automationStream" +_lVS = "liveViewStream" +_VPH = "ViewPortHeight" +_VPW = "ViewPortWidth" +_VP = "ViewPort" +_w = "width" +_h = "height" +_GBSO = "GetBrowserSessionOutput" +_cGBSRo = "com.amazonaws.bedrockagentcore#GetBrowserSessionResponse" +_vP = "viewPort" +_ext = "extensions" +_ePn = "enterprisePolicies" +_pCr = "profileConfiguration" +_sTS = "sessionTimeoutSeconds" +_stre = "streams" +_pCro = "proxyConfiguration" +_ce = "certificates" +_fC = "filesystemConfigurations" +_sRA = "sessionReplayArtifact" +_GBS = "GetBrowserSession" +_KPA = "KeyPressArguments" +_pre = "presses" +_KL = "KeyList" +_KSA = "KeyShortcutArguments" +_ke = "keys" +_KTA = "KeyTypeArguments" +_te = "text" +_MB = "MouseButton" +_LEFT = "LEFT" +_RIGHT = "RIGHT" +_MIDDLE = "MIDDLE" +_MCA = "MouseClickArguments" +_x = "x" +_y = "y" +_but = "button" +_cC = "clickCount" +_MDA = "MouseDragArguments" +_eX = "endX" +_eY = "endY" +_sX = "startX" +_sY = "startY" +_MMA = "MouseMoveArguments" +_MSA = "MouseScrollArguments" +_dX = "deltaX" +_dY = "deltaY" +_SF = "ScreenshotFormat" +_PNG = "PNG" +_SAc = "ScreenshotArguments" +_fo = "format" +_BAr = "BrowserAction" +_mC = "mouseClick" +_mMo = "mouseMove" +_mD = "mouseDrag" +_mS = "mouseScroll" +_kT = "keyType" +_kP = "keyPress" +_kS = "keyShortcut" +_sc = "screenshot" +_IBI = "InvokeBrowserInput" +_cIBR = "com.amazonaws.bedrockagentcore#InvokeBrowserRequest" +_xabsi = "x-amzn-browser-session-id" +_ac = "action" +_BAS = "BrowserActionStatus" +_SUCCESS = "SUCCESS" +_KPR = "KeyPressResult" +_er = "error" +_KSR = "KeyShortcutResult" +_KTR = "KeyTypeResult" +_MCR = "MouseClickResult" +_MDR = "MouseDragResult" +_MMR = "MouseMoveResult" +_MSR = "MouseScrollResult" +_SR = "ScreenshotResult" +_da = "data" +_BAR = "BrowserActionResult" +_IBO = "InvokeBrowserOutput" +_cIBRo = "com.amazonaws.bedrockagentcore#InvokeBrowserResponse" +_resu = "result" +_IB = "InvokeBrowser" +_LBSI = "ListBrowserSessionsInput" +_cLBSR = "com.amazonaws.bedrockagentcore#ListBrowserSessionsRequest" +_mR = "maxResults" +_nT = "nextToken" +_BSSro = "BrowserSessionSummary" +_BSSrow = "BrowserSessionSummaries" +_LBSO = "ListBrowserSessionsOutput" +_cLBSRo = "com.amazonaws.bedrockagentcore#ListBrowserSessionsResponse" +_i = "items" +_LBS = "ListBrowserSessions" +_SBSI = "StartBrowserSessionInput" +_cSBSR = "com.amazonaws.bedrockagentcore#StartBrowserSessionRequest" +_SBSO = "StartBrowserSessionOutput" +_cSBSRo = "com.amazonaws.bedrockagentcore#StartBrowserSessionResponse" +_SBS = "StartBrowserSession" + +SKILL_MD_DEFINITION: StaticSchema = ( + 18, + n0, + _SMD, + 0, + (_iC,), + ((lambda: schemas.INLINE_CONTENT, 0),), +) + +AGENT_SKILLS_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _ASD, + 0, + (_sM, _sD), + ((SKILL_MD_DEFINITION, 1), (lambda: schemas.SKILL_DEFINITION, 0)), +) + +BATCH_EVALUATION_TRACE_CONFIG: StaticSchema = ( + 18, + n0, + _BETC, + 0, + (_bEA,), + ((lambda: schemas.BATCH_EVALUATION_ARN, 1),), +) + +LOG_GROUP_ARN_LIST: StaticSchema = (16, n0, _LGAL, 0, (_m,), ((3, 0),)) + +CLOUD_WATCH_LOGS_FILTER_OPERATOR: StaticSchema = ( + 14, + n0, + _CWLFO, + 0, + (_EQUALS, _NE, _GT, _LT, _GTOE, _LTOE, _CONTAINS, _NC), + ( + (-1, {_sVm: _E}), + (-1, {_sVm: _NEo}), + (-1, {_sVm: _GTr}), + (-1, {_sVm: _LTe}), + (-1, {_sVm: _GTOEr}), + (-1, {_sVm: _LTOEe}), + (-1, {_sVm: _C}), + (-1, {_sVm: _NCo}), + ), +) + +FILTER_STRING_VALUE: StaticSchema = (3, n0, _FSV, 0) + +FILTER_VALUE: StaticSchema = ( + 19, + n0, + _FV, + 0, + (_sVt, _dV, _bV), + ((FILTER_STRING_VALUE, 0), (10, 0), (2, 0)), +) + +CLOUD_WATCH_LOGS_FILTER: StaticSchema = ( + 18, + n0, + _CWLF, + 0, + (_k, _op, _va), + ((3, 1), (CLOUD_WATCH_LOGS_FILTER_OPERATOR, 1), (FILTER_VALUE, 1)), +) + +CLOUD_WATCH_LOGS_FILTER_LIST: StaticSchema = ( + 16, + n0, + _CWLFL, + 0, + (_m,), + ((CLOUD_WATCH_LOGS_FILTER, 0),), +) + +CLOUD_WATCH_LOGS_RULE: StaticSchema = ( + 18, + n0, + _CWLR, + 0, + (_f,), + ((CLOUD_WATCH_LOGS_FILTER_LIST, 0),), +) + +SERVICE_NAME: StaticSchema = (3, n0, _SN, 0) + +SERVICE_NAME_LIST: StaticSchema = (16, n0, _SNL, 0, (_m,), ((SERVICE_NAME, 0),)) + +CLOUD_WATCH_LOGS_TRACE_CONFIG: StaticSchema = ( + 18, + n0, + _CWLTC, + 0, + (_lGA, _sN, _sTt, _eT, _ru), + ( + (LOG_GROUP_ARN_LIST, 1), + (SERVICE_NAME_LIST, 1), + (4, {_sF: _dt, _s: None}), + (4, {_sF: _dt, _s: None}), + (CLOUD_WATCH_LOGS_RULE, 0), + ), +) + +ONLINE_EVALUATION_TRACE_CONFIG: StaticSchema = ( + 18, + n0, + _OETC, + 0, + (_oECA, _sTt, _eT), + ( + (lambda: schemas.ONLINE_EVALUATION_CONFIG_ARN, 1), + (4, {_sF: _dt, _s: None}), + (4, {_sF: _dt, _s: None}), + ), +) + +SPAN: StaticSchema = (13, n0, _S, 0) + +SPANS: StaticSchema = (16, n0, _Sp, 4, (_m,), ((SPAN, 0),)) + +AGENT_TRACES_CONFIG: StaticSchema = ( + 19, + n0, + _ATC, + 0, + (_sSe, _cL, _bE, _oE), + ( + (SPANS, 0), + (CLOUD_WATCH_LOGS_TRACE_CONFIG, 0), + (BATCH_EVALUATION_TRACE_CONFIG, 0), + (ONLINE_EVALUATION_TRACE_CONFIG, 0), + ), +) + +BROWSER_PROFILE_ID: StaticSchema = (3, n0, _BPI, 0) + +BROWSER_SESSION_ID: StaticSchema = (3, n0, _BSI, 0) + +SAVE_BROWSER_SESSION_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _SBSPI, + {_sSI: _cSBSPR, _smit: None}, + (_tI, _tP, _pI, _bI, _sIe, _cTl), + ( + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (BROWSER_PROFILE_ID, 9), + (3, 1), + (BROWSER_SESSION_ID, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +SAVE_BROWSER_SESSION_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _SBSPO, + {_sSI: _cSBSPRo, _smith: None}, + (_pI, _bI, _sIe, _lUA), + ( + (BROWSER_PROFILE_ID, 1), + (3, 1), + (BROWSER_SESSION_ID, 1), + (lambda: DATE_TIMESTAMP, 1), + ), +) + +SAVE_BROWSER_SESSION_PROFILE: StaticOperationSchema = ( + 23, + n0, + _SBSP, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/browser-profiles/{profileIdentifier}/save", + "code": 200, + } + ) + }, + SAVE_BROWSER_SESSION_PROFILE_INPUT, + SAVE_BROWSER_SESSION_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) + +GET_BROWSER_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _GBSI, + {_sSI: _cGBSR, _smit: None}, + (_bI, _sIe), + ((3, 9), (BROWSER_SESSION_ID, {_sQ: _sIe, _s: None})), +) + +GET_BROWSER_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBSO, + {_sSI: _cGBSRo, _smith: None}, + ( + _bI, + _sIe, + _n, + _cA, + _vP, + _ext, + _ePn, + _pCr, + _sTS, + _st, + _stre, + _pCro, + _ce, + _fC, + _sRA, + _lUA, + ), + ( + (3, 1), + (BROWSER_SESSION_ID, 1), + (lambda: NAME, 0), + (DATE_TIMESTAMP, 1), + (lambda: VIEW_PORT, 0), + (lambda: BROWSER_EXTENSIONS, 0), + (lambda: BROWSER_ENTERPRISE_POLICIES, 0), + (lambda: BROWSER_PROFILE_CONFIGURATION, 0), + (lambda: BROWSER_SESSION_TIMEOUT, 0), + (lambda: BROWSER_SESSION_STATUS, 0), + (lambda: BROWSER_SESSION_STREAM, 0), + (lambda: PROXY_CONFIGURATION, 0), + (lambda: CERTIFICATES, 0), + (lambda: TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), + (3, 0), + (DATE_TIMESTAMP, 0), + ), +) + +GET_BROWSER_SESSION: StaticOperationSchema = ( + 23, + n0, + _GBS, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/browsers/{browserIdentifier}/sessions/get", + "code": 200, + } + ) + }, + GET_BROWSER_SESSION_INPUT, + GET_BROWSER_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SECRET_ARN: StaticSchema = (3, n0, _SA, 0) + +SECRETS_MANAGER_LOCATION: StaticSchema = (18, n0, _SML, 0, (_sA,), ((SECRET_ARN, 1),)) + +CERTIFICATE_LOCATION: StaticSchema = ( + 19, + n0, + _CL, + 0, + (_sMe,), + ((SECRETS_MANAGER_LOCATION, 0),), +) + +CERTIFICATE: StaticSchema = (18, n0, _Ce, 0, (_lo,), ((CERTIFICATE_LOCATION, 1),)) + +CERTIFICATES: StaticSchema = (16, n0, _Cer, 0, (_m,), ((CERTIFICATE, 0),)) + +S3_LOCATION: StaticSchema = (18, n0, _SL, 0, (_bu, _pr, _vI), ((3, 1), (3, 1), (3, 0))) + +RESOURCE_LOCATION: StaticSchema = (19, n0, _RL, 0, (_s_,), ((S3_LOCATION, 0),)) + +BROWSER_ENTERPRISE_POLICY_TYPE: StaticSchema = ( + 14, + n0, + _BEPT, + 0, + (_MANAGED, _RECOMMENDED), + ((-1, {_sVm: _MANAGED}), (-1, {_sVm: _RECOMMENDED})), +) + +BROWSER_ENTERPRISE_POLICY: StaticSchema = ( + 18, + n0, + _BEP, + 0, + (_lo, _ty), + ((RESOURCE_LOCATION, 1), (BROWSER_ENTERPRISE_POLICY_TYPE, 0)), +) + +BROWSER_ENTERPRISE_POLICIES: StaticSchema = ( + 16, + n0, + _BEPr, + 0, + (_m,), + ((BROWSER_ENTERPRISE_POLICY, 0),), +) + +BROWSER_EXTENSION: StaticSchema = (18, n0, _BE, 0, (_lo,), ((RESOURCE_LOCATION, 1),)) + +BROWSER_EXTENSIONS: StaticSchema = (16, n0, _BEr, 0, (_m,), ((BROWSER_EXTENSION, 0),)) + +EFS_ACCESS_POINT_ARN: StaticSchema = (3, n0, _EAPA, 0) + +EFS_FILE_SYSTEM_ARN: StaticSchema = (3, n0, _EFSA, 0) + +MOUNT_PATH: StaticSchema = (3, n0, _MP, 0) + +EFS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EC, + 0, + (_aPA, _mP, _fSA), + ((EFS_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1), (EFS_FILE_SYSTEM_ARN, 1)), +) + +S3_FILES_ACCESS_POINT_ARN: StaticSchema = (3, n0, _SFAPA, 0) + +S3_FILES_FILE_SYSTEM_ARN: StaticSchema = (3, n0, _SFFSA, 0) + +S3_FILES_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SFC, + 0, + (_aPA, _mP, _fSA), + ((S3_FILES_ACCESS_POINT_ARN, 1), (MOUNT_PATH, 1), (S3_FILES_FILE_SYSTEM_ARN, 1)), +) + +TOOLS_FILE_SYSTEM_CONFIGURATION: StaticSchema = ( + 19, + n0, + _TFSC, + 0, + (_sFC, _eCf), + ((S3_FILES_CONFIGURATION, 0), (EFS_CONFIGURATION, 0)), +) + +TOOLS_FILE_SYSTEM_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _TFSCo, + 0, + (_m,), + ((TOOLS_FILE_SYSTEM_CONFIGURATION, 0),), +) + +NAME: StaticSchema = (3, n0, _N, 0) + +BROWSER_PROFILE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BPC, + 0, + (_pI,), + ((BROWSER_PROFILE_ID, 1),), +) + +DOMAIN_PATTERN: StaticSchema = (3, n0, _DP, 0) + +DOMAIN_PATTERNS: StaticSchema = (16, n0, _DPo, 0, (_m,), ((DOMAIN_PATTERN, 0),)) + +PROXY_BYPASS: StaticSchema = (18, n0, _PB, 0, (_dP,), ((DOMAIN_PATTERNS, 0),)) + +BASIC_AUTH: StaticSchema = (18, n0, _BA, 0, (_sA,), ((SECRET_ARN, 1),)) + +PROXY_CREDENTIALS: StaticSchema = (19, n0, _PC, 0, (_bA,), ((BASIC_AUTH, 0),)) + +HOST_NAME: StaticSchema = (3, n0, _HN, 0) + +EXTERNAL_PROXY: StaticSchema = ( + 18, + n0, + _EP, + 0, + (_se, _po, _dP, _cr), + ((HOST_NAME, 1), (7, 1), (DOMAIN_PATTERNS, 0), (PROXY_CREDENTIALS, 0)), +) + +PROXY: StaticSchema = (19, n0, _P, 0, (_eP,), ((EXTERNAL_PROXY, 0),)) + +PROXIES: StaticSchema = (16, n0, _Pr, 0, (_m,), ((PROXY, 0),)) + +PROXY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCr, + 0, + (_pro, _by), + ((PROXIES, 1), (PROXY_BYPASS, 0)), +) + +BROWSER_SESSION_TIMEOUT: StaticSchema = (7, n0, _BST, 0) + +BROWSER_SESSION_STATUS: StaticSchema = ( + 14, + n0, + _BSS, + 0, + (_READY, _TERMINATED), + ((-1, {_sVm: _READY}), (-1, {_sVm: _TERMINATED})), +) + +BROWSER_STREAM_ENDPOINT: StaticSchema = (3, n0, _BSE, 0) + +AUTOMATION_STREAM_STATUS: StaticSchema = ( + 14, + n0, + _ASS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sVm: _ENABLED}), (-1, {_sVm: _DISABLED})), +) + +AUTOMATION_STREAM: StaticSchema = ( + 18, + n0, + _ASu, + 0, + (_sEt, _sSt), + ((BROWSER_STREAM_ENDPOINT, 1), (AUTOMATION_STREAM_STATUS, 1)), +) + +LIVE_VIEW_STREAM: StaticSchema = ( + 18, + n0, + _LVS, + 0, + (_sEt,), + ((BROWSER_STREAM_ENDPOINT, 0),), +) + +BROWSER_SESSION_STREAM: StaticSchema = ( + 18, + n0, + _BSSr, + 0, + (_aS, _lVS), + ((AUTOMATION_STREAM, 1), (LIVE_VIEW_STREAM, 0)), +) + +VIEW_PORT_HEIGHT: StaticSchema = (7, n0, _VPH, 0) + +VIEW_PORT_WIDTH: StaticSchema = (7, n0, _VPW, 0) + +VIEW_PORT: StaticSchema = ( + 18, + n0, + _VP, + 0, + (_w, _h), + ((VIEW_PORT_WIDTH, 1), (VIEW_PORT_HEIGHT, 1)), +) + +KEY_PRESS_ARGUMENTS: StaticSchema = (18, n0, _KPA, 0, (_k, _pre), ((3, 1), (7, 0))) + +KEY_LIST: StaticSchema = (16, n0, _KL, 0, (_m,), ((3, 0),)) + +KEY_SHORTCUT_ARGUMENTS: StaticSchema = (18, n0, _KSA, 0, (_ke,), ((KEY_LIST, 1),)) + +KEY_TYPE_ARGUMENTS: StaticSchema = (18, n0, _KTA, 0, (_te,), ((3, 1),)) + +MOUSE_BUTTON: StaticSchema = ( + 14, + n0, + _MB, + 0, + (_LEFT, _RIGHT, _MIDDLE), + ((-1, {_sVm: _LEFT}), (-1, {_sVm: _RIGHT}), (-1, {_sVm: _MIDDLE})), +) + +MOUSE_CLICK_ARGUMENTS: StaticSchema = ( + 18, + n0, + _MCA, + 0, + (_x, _y, _but, _cC), + ((7, 1), (7, 1), (MOUSE_BUTTON, 0), (7, 0)), +) + +MOUSE_DRAG_ARGUMENTS: StaticSchema = ( + 18, + n0, + _MDA, + 0, + (_eX, _eY, _sX, _sY, _but), + ((7, 1), (7, 1), (7, 1), (7, 1), (MOUSE_BUTTON, 0)), +) + +MOUSE_MOVE_ARGUMENTS: StaticSchema = (18, n0, _MMA, 0, (_x, _y), ((7, 1), (7, 1))) + +MOUSE_SCROLL_ARGUMENTS: StaticSchema = ( + 18, + n0, + _MSA, + 0, + (_x, _y, _dX, _dY), + ((7, 1), (7, 1), (7, 0), (7, 0)), +) + +SCREENSHOT_FORMAT: StaticSchema = (14, n0, _SF, 0, (_PNG,), ((-1, {_sVm: _PNG}),)) + +SCREENSHOT_ARGUMENTS: StaticSchema = ( + 18, + n0, + _SAc, + 0, + (_fo,), + ((SCREENSHOT_FORMAT, 0),), +) + +BROWSER_ACTION: StaticSchema = ( + 19, + n0, + _BAr, + 0, + (_mC, _mMo, _mD, _mS, _kT, _kP, _kS, _sc), + ( + (MOUSE_CLICK_ARGUMENTS, 0), + (MOUSE_MOVE_ARGUMENTS, 0), + (MOUSE_DRAG_ARGUMENTS, 0), + (MOUSE_SCROLL_ARGUMENTS, 0), + (KEY_TYPE_ARGUMENTS, 0), + (KEY_PRESS_ARGUMENTS, 0), + (KEY_SHORTCUT_ARGUMENTS, 0), + (SCREENSHOT_ARGUMENTS, 0), + ), +) + +INVOKE_BROWSER_INPUT: StaticSchema = ( + 18, + n0, + _IBI, + {_sSI: _cIBR, _smit: None}, + (_bI, _sIe, _ac), + ((3, 9), (BROWSER_SESSION_ID, {_sH: _xabsi, _s: None}), (BROWSER_ACTION, 1)), +) + +INVOKE_BROWSER_OUTPUT: StaticSchema = ( + 18, + n0, + _IBO, + {_sSI: _cIBRo, _smith: None}, + (_resu, _sIe), + ((lambda: BROWSER_ACTION_RESULT, 1), (BROWSER_SESSION_ID, {_sH: _xabsi, _s: None})), +) + +INVOKE_BROWSER: StaticOperationSchema = ( + 23, + n0, + _IB, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/browsers/{browserIdentifier}/sessions/invoke", + "code": 200, + } + ) + }, + INVOKE_BROWSER_INPUT, + INVOKE_BROWSER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BROWSER_ACTION_STATUS: StaticSchema = ( + 14, + n0, + _BAS, + 0, + (_SUCCESS, _FAILED), + ((-1, {_sVm: _SUCCESS}), (-1, {_sVm: _FAILED})), +) + +KEY_PRESS_RESULT: StaticSchema = ( + 18, + n0, + _KPR, + 0, + (_st, _er), + ((BROWSER_ACTION_STATUS, 1), (3, 0)), +) + +KEY_SHORTCUT_RESULT: StaticSchema = ( + 18, + n0, + _KSR, + 0, + (_st, _er), + ((BROWSER_ACTION_STATUS, 1), (3, 0)), +) + +KEY_TYPE_RESULT: StaticSchema = ( + 18, + n0, + _KTR, + 0, + (_st, _er), + ((BROWSER_ACTION_STATUS, 1), (3, 0)), +) + +MOUSE_CLICK_RESULT: StaticSchema = ( + 18, + n0, + _MCR, + 0, + (_st, _er), + ((BROWSER_ACTION_STATUS, 1), (3, 0)), +) + +MOUSE_DRAG_RESULT: StaticSchema = ( + 18, + n0, + _MDR, + 0, + (_st, _er), + ((BROWSER_ACTION_STATUS, 1), (3, 0)), +) + +MOUSE_MOVE_RESULT: StaticSchema = ( + 18, + n0, + _MMR, + 0, + (_st, _er), + ((BROWSER_ACTION_STATUS, 1), (3, 0)), +) + +MOUSE_SCROLL_RESULT: StaticSchema = ( + 18, + n0, + _MSR, + 0, + (_st, _er), + ((BROWSER_ACTION_STATUS, 1), (3, 0)), +) + +SCREENSHOT_RESULT: StaticSchema = ( + 18, + n0, + _SR, + 0, + (_st, _er, _da), + ((BROWSER_ACTION_STATUS, 1), (3, 0), (1, 0)), +) + +BROWSER_ACTION_RESULT: StaticSchema = ( + 19, + n0, + _BAR, + 0, + (_mC, _mMo, _mD, _mS, _kT, _kP, _kS, _sc), + ( + (MOUSE_CLICK_RESULT, 0), + (MOUSE_MOVE_RESULT, 0), + (MOUSE_DRAG_RESULT, 0), + (MOUSE_SCROLL_RESULT, 0), + (KEY_TYPE_RESULT, 0), + (KEY_PRESS_RESULT, 0), + (KEY_SHORTCUT_RESULT, 0), + (SCREENSHOT_RESULT, 0), + ), +) + +LIST_BROWSER_SESSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LBSI, + {_sSI: _cLBSR, _smit: None}, + (_bI, _mR, _nT, _st), + ( + (3, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (BROWSER_SESSION_STATUS, 0), + ), +) + +LIST_BROWSER_SESSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBSO, + {_sSI: _cLBSRo, _smith: None}, + (_i, _nT), + ((lambda: BROWSER_SESSION_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_BROWSER_SESSIONS: StaticOperationSchema = ( + 23, + n0, + _LBS, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/browsers/{browserIdentifier}/sessions/list", + "code": 200, + } + ) + }, + LIST_BROWSER_SESSIONS_INPUT, + LIST_BROWSER_SESSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BROWSER_SESSION_SUMMARY: StaticSchema = ( + 18, + n0, + _BSSro, + 0, + (_bI, _sIe, _n, _st, _cA, _lUA), + ( + (3, 1), + (BROWSER_SESSION_ID, 1), + (NAME, 0), + (BROWSER_SESSION_STATUS, 1), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 0), + ), +) + +BROWSER_SESSION_SUMMARIES: StaticSchema = ( + 16, + n0, + _BSSrow, + 0, + (_m,), + ((BROWSER_SESSION_SUMMARY, 0),), +) + +START_BROWSER_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _SBSI, + {_sSI: _cSBSR, _smit: None}, + (_tI, _tP, _bI, _n, _sTS, _vP, _ext, _pCr, _pCro, _ePn, _ce, _fC, _cTl), + ( + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (3, 9), + (NAME, 0), + (BROWSER_SESSION_TIMEOUT, {_smithyap: 3600}), + (VIEW_PORT, 0), + (BROWSER_EXTENSIONS, 0), + (BROWSER_PROFILE_CONFIGURATION, 0), + (PROXY_CONFIGURATION, 0), + (BROWSER_ENTERPRISE_POLICIES, 0), + (CERTIFICATES, 0), + (TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +START_BROWSER_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _SBSO, + {_sSI: _cSBSRo, _smith: None}, + (_bI, _sIe, _cA, _stre), + ((3, 1), (BROWSER_SESSION_ID, 1), (DATE_TIMESTAMP, 1), (BROWSER_SESSION_STREAM, 0)), +) + +START_BROWSER_SESSION: StaticOperationSchema = ( + 23, + n0, + _SBS, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/browsers/{browserIdentifier}/sessions/start", + "code": 200, + } + ) + }, + START_BROWSER_SESSION_INPUT, + START_BROWSER_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_2.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_2.py new file mode 100644 index 000000000..5643d37c4 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_2.py @@ -0,0 +1,1178 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcore" +_s = "smithy.api#required" +_n = "name" +_m = "member" +_sVm = "smithy.api#enumValue" +_STOPPED = "STOPPED" +_ACTIVE = "ACTIVE" +_DELETING = "DELETING" +_FAILED = "FAILED" +_aTI = "abTestId" +_aTA = "abTestArn" +_st = "status" +_eS = "executionStatus" +_d = "description" +_gA = "gatewayArn" +_cA = "createdAt" +_uA = "updatedAt" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_mes = "message" +_smi = "smithy.api#sensitive" +_sI = "spanId" +_tI = "traceId" +_sIe = "sessionId" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sH = "smithy.api#httpHeader" +_sT = "smithy.api#idempotencyToken" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_XATI = "X-Amzn-Trace-Id" +_tP = "traceParent" +_t = "traceparent" +_smithyap = "smithy.api#default" +_COMPLETED = "COMPLETED" +_cTl = "clientToken" +_BEA = "BatchEvaluationArn" +_bEA = "batchEvaluationArn" +_k = "key" +_va = "value" +_sSe = "sessionSpans" +_bI = "browserIdentifier" +_lUA = "lastUpdatedAt" +_READY = "READY" +_TERMINATED = "TERMINATED" +_sSt = "streamStatus" +_sTS = "sessionTimeoutSeconds" +_stre = "streams" +_ce = "certificates" +_fC = "filesystemConfigurations" +_te = "text" +_mR = "maxResults" +_nT = "nextToken" +_i = "items" +_SBSIt = "StopBrowserSessionInput" +_cSBSRom = "com.amazonaws.bedrockagentcore#StopBrowserSessionRequest" +_SBSOt = "StopBrowserSessionOutput" +_cSBSRoma = "com.amazonaws.bedrockagentcore#StopBrowserSessionResponse" +_SBSt = "StopBrowserSession" +_ASU = "AutomationStreamUpdate" +_SU = "StreamUpdate" +_aSU = "automationStreamUpdate" +_UBSI = "UpdateBrowserStreamInput" +_cUBSR = "com.amazonaws.bedrockagentcore#UpdateBrowserStreamRequest" +_sU = "streamUpdate" +_UBSO = "UpdateBrowserStreamOutput" +_cUBSRo = "com.amazonaws.bedrockagentcore#UpdateBrowserStreamResponse" +_UBS = "UpdateBrowserStream" +_CPI = "CapacityProviderId" +_DCPSI = "DeleteCapacityProviderSessionInput" +_cDCPSR = "com.amazonaws.bedrockagentcore#DeleteCapacityProviderSessionRequest" +_cPI = "capacityProviderId" +_CPA = "CapacityProviderArn" +_CPSS = "CapacityProviderSessionStatus" +_PROVISIONING = "PROVISIONING" +_Pro = "Provisioning" +_DEPROVISIONING = "DEPROVISIONING" +_D = "Deprovisioning" +_Ac = "Active" +_De = "Deleting" +_DELETED = "DELETED" +_Del = "Deleted" +_St = "Stopped" +_DCPSO = "DeleteCapacityProviderSessionOutput" +_cDCPSRo = "com.amazonaws.bedrockagentcore#DeleteCapacityProviderSessionResponse" +_cPA = "capacityProviderArn" +_DCPS = "DeleteCapacityProviderSession" +_GCISI = "GetCodeInterpreterSessionInput" +_cGCISR = "com.amazonaws.bedrockagentcore#GetCodeInterpreterSessionRequest" +_cII = "codeInterpreterIdentifier" +_CIST = "CodeInterpreterSessionTimeout" +_CISS = "CodeInterpreterSessionStatus" +_GCISO = "GetCodeInterpreterSessionOutput" +_cGCISRo = "com.amazonaws.bedrockagentcore#GetCodeInterpreterSessionResponse" +_GCIS = "GetCodeInterpreterSession" +_LCISI = "ListCodeInterpreterSessionsInput" +_cLCISR = "com.amazonaws.bedrockagentcore#ListCodeInterpreterSessionsRequest" +_CISSo = "CodeInterpreterSessionSummary" +_CISSod = "CodeInterpreterSessionSummaries" +_LCISO = "ListCodeInterpreterSessionsOutput" +_cLCISRo = "com.amazonaws.bedrockagentcore#ListCodeInterpreterSessionsResponse" +_LCIS = "ListCodeInterpreterSessions" +_SCISI = "StartCodeInterpreterSessionInput" +_cSCISR = "com.amazonaws.bedrockagentcore#StartCodeInterpreterSessionRequest" +_SCISO = "StartCodeInterpreterSessionOutput" +_cSCISRo = "com.amazonaws.bedrockagentcore#StartCodeInterpreterSessionResponse" +_SCIS = "StartCodeInterpreterSession" +_SCISIt = "StopCodeInterpreterSessionInput" +_cSCISRom = "com.amazonaws.bedrockagentcore#StopCodeInterpreterSessionRequest" +_SCISOt = "StopCodeInterpreterSessionOutput" +_cSCISRoma = "com.amazonaws.bedrockagentcore#StopCodeInterpreterSessionResponse" +_SCISt = "StopCodeInterpreterSession" +_UI = "UserIdentifier" +_uT = "userToken" +_uI = "userId" +_CRTAI = "CompleteResourceTokenAuthInput" +_cCRTAR = "com.amazonaws.bedrockagentcore#CompleteResourceTokenAuthRequest" +_uIs = "userIdentifier" +_sUe = "sessionUri" +_CRTAO = "CompleteResourceTokenAuthOutput" +_cCRTARo = "com.amazonaws.bedrockagentcore#CompleteResourceTokenAuthResponse" +_CRTA = "CompleteResourceTokenAuth" +_PP = "PathPattern" +_TPL = "TargetPathList" +_GF = "GatewayFilter" +_tPa = "targetPaths" +_RA = "RoleArn" +_TK = "TagKey" +_TV = "TagValue" +_TM = "TagsMap" +_CBA = "ConfigurationBundleArn" +_CBV = "ConfigurationBundleVersion" +_CBR = "ConfigurationBundleRef" +_bAu = "bundleArn" +_bVu = "bundleVersion" +_TN = "TargetName" +_TR = "TargetRef" +_VC = "VariantConfiguration" +_cB = "configurationBundle" +_ta = "target" +_V = "Variant" +_we = "weight" +_vC = "variantConfiguration" +_VL = "VariantList" +_CABTI = "CreateABTestInput" +_cCABTR = "com.amazonaws.bedrockagentcore#CreateABTestRequest" +_var = "variants" +_gF = "gatewayFilter" +_eCv = "evaluationConfig" +_rA = "roleArn" +_eOC = "enableOnCreate" +_tag = "tags" +_CABTO = "CreateABTestOutput" +_cCABTRo = "com.amazonaws.bedrockagentcore#CreateABTestResponse" +_CABT = "CreateABTest" +_DABTI = "DeleteABTestInput" +_cDABTR = "com.amazonaws.bedrockagentcore#DeleteABTestRequest" +_DABTO = "DeleteABTestOutput" +_cDABTRo = "com.amazonaws.bedrockagentcore#DeleteABTestResponse" +_DABT = "DeleteABTest" +_BEI = "BatchEvaluationId" +_DBEI = "DeleteBatchEvaluationInput" +_cDBER = "com.amazonaws.bedrockagentcore#DeleteBatchEvaluationRequest" +_bEI = "batchEvaluationId" +_BES = "BatchEvaluationStatus" +_PENDING = "PENDING" +_IP = "IN_PROGRESS" +_CWE = "COMPLETED_WITH_ERRORS" +_STOPPING = "STOPPING" +_DBEO = "DeleteBatchEvaluationOutput" +_cDBERo = "com.amazonaws.bedrockagentcore#DeleteBatchEvaluationResponse" +_DBE = "DeleteBatchEvaluation" +_RI = "RecommendationId" +_DRI = "DeleteRecommendationInput" +_cDRR = "com.amazonaws.bedrockagentcore#DeleteRecommendationRequest" +_rI = "recommendationId" +_RSe = "RecommendationStatus" +_DRO = "DeleteRecommendationOutput" +_cDRRo = "com.amazonaws.bedrockagentcore#DeleteRecommendationResponse" +_DR = "DeleteRecommendation" +_DIE = "DuplicateIdException" +_EI = "EvaluationInput" +_ECv = "EvaluationContent" +_ECL = "EvaluationContentList" +_SC = "SpanContext" +_Co = "Context" +_sCp = "spanContext" +_ETN = "EvaluationToolName" +_ETNv = "EvaluationToolNames" +_EETv = "EvaluationExpectedTrajectory" +_tN = "toolNames" +_ERI = "EvaluationReferenceInput" +_con = "context" +_eR = "expectedResponse" +_as = "assertions" +_eTx = "expectedTrajectory" +_ERIv = "EvaluationReferenceInputs" +_SIp = "SpanId" +_SIpa = "SpanIds" +_TI = "TraceId" +_TIr = "TraceIds" +_ET = "EvaluationTarget" +_sIp = "spanIds" +_tIr = "traceIds" +_EIv = "EvaluatorId" +_EIva = "EvaluateInput" +_cER = "com.amazonaws.bedrockagentcore#EvaluateRequest" +_eI = "evaluatorId" +_eIv = "evaluationInput" +_eTv = "evaluationTarget" +_eRI = "evaluationReferenceInputs" +_EEC = "EvaluationErrorCode" +_EEM = "EvaluationErrorMessage" +_EDN = "EvaluationDimensionName" +_EA = "EvaluatorArn" +_EN = "EvaluatorName" +_EE = "EvaluationExplanation" +_IRIF = "IgnoredReferenceInputField" +_IRIFg = "IgnoredReferenceInputFields" +_TU = "TokenUsage" +_iT = "inputTokens" +_oT = "outputTokens" +_tT = "totalTokens" +_EO = "EvaluateOutput" +_cERo = "com.amazonaws.bedrockagentcore#EvaluateResponse" +_eRv = "evaluationResults" +_Ev = "Evaluate" +_BED = "BatchEvaluationDescription" + +BATCH_EVALUATION_ARN: StaticSchema = (3, n0, _BEA, 0) + +STOP_BROWSER_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _SBSIt, + {_sSI: _cSBSRom, _smit: None}, + (_tI, _tP, _bI, _sIe, _cTl), + ( + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (3, 9), + (lambda: schemas.BROWSER_SESSION_ID, {_sQ: _sIe, _s: None}), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +STOP_BROWSER_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _SBSOt, + {_sSI: _cSBSRoma, _smith: None}, + (_bI, _sIe, _lUA), + ( + (3, 1), + (lambda: schemas.BROWSER_SESSION_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +STOP_BROWSER_SESSION: StaticOperationSchema = ( + 23, + n0, + _SBSt, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/browsers/{browserIdentifier}/sessions/stop", + "code": 200, + } + ) + }, + STOP_BROWSER_SESSION_INPUT, + STOP_BROWSER_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATION_STREAM_UPDATE: StaticSchema = ( + 18, + n0, + _ASU, + 0, + (_sSt,), + ((lambda: schemas.AUTOMATION_STREAM_STATUS, 0),), +) + +STREAM_UPDATE: StaticSchema = ( + 19, + n0, + _SU, + 0, + (_aSU,), + ((AUTOMATION_STREAM_UPDATE, 0),), +) + +UPDATE_BROWSER_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _UBSI, + {_sSI: _cUBSR, _smit: None}, + (_bI, _sIe, _sU, _cTl), + ( + (3, 9), + (lambda: schemas.BROWSER_SESSION_ID, {_sQ: _sIe, _s: None}), + (STREAM_UPDATE, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +UPDATE_BROWSER_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _UBSO, + {_sSI: _cUBSRo, _smith: None}, + (_bI, _sIe, _stre, _uA), + ( + (3, 1), + (lambda: schemas.BROWSER_SESSION_ID, 1), + (lambda: schemas.BROWSER_SESSION_STREAM, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +UPDATE_BROWSER_STREAM: StaticOperationSchema = ( + 23, + n0, + _UBS, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/browsers/{browserIdentifier}/sessions/streams/update", + "code": 200, + } + ) + }, + UPDATE_BROWSER_STREAM_INPUT, + UPDATE_BROWSER_STREAM_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CAPACITY_PROVIDER_ID: StaticSchema = (3, n0, _CPI, 0) + +DELETE_CAPACITY_PROVIDER_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _DCPSI, + {_sSI: _cDCPSR, _smit: None}, + (_cPI, _sIe), + ((CAPACITY_PROVIDER_ID, 9), (lambda: schemas.SESSION_ID, 9)), +) + +DELETE_CAPACITY_PROVIDER_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DCPSO, + {_sSI: _cDCPSRo, _smith: None}, + (_cPA, _sIe, _st), + ( + (lambda: CAPACITY_PROVIDER_ARN, 1), + (lambda: schemas.SESSION_ID, 1), + (lambda: CAPACITY_PROVIDER_SESSION_STATUS, 1), + ), +) + +DELETE_CAPACITY_PROVIDER_SESSION: StaticOperationSchema = ( + 23, + n0, + _DCPS, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/capacity-providers/{capacityProviderId}/sessions/{sessionId}", + "code": 202, + } + ) + }, + DELETE_CAPACITY_PROVIDER_SESSION_INPUT, + DELETE_CAPACITY_PROVIDER_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CAPACITY_PROVIDER_ARN: StaticSchema = (3, n0, _CPA, 0) + +CAPACITY_PROVIDER_SESSION_STATUS: StaticSchema = ( + 14, + n0, + _CPSS, + 0, + (_PROVISIONING, _DEPROVISIONING, _ACTIVE, _DELETING, _DELETED, _STOPPED), + ( + (-1, {_sVm: _Pro}), + (-1, {_sVm: _D}), + (-1, {_sVm: _Ac}), + (-1, {_sVm: _De}), + (-1, {_sVm: _Del}), + (-1, {_sVm: _St}), + ), +) + +GET_CODE_INTERPRETER_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _GCISI, + {_sSI: _cGCISR, _smit: None}, + (_cII, _sIe), + ((3, 9), (lambda: schemas.CODE_INTERPRETER_SESSION_ID, {_sQ: _sIe, _s: None})), +) + +GET_CODE_INTERPRETER_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GCISO, + {_sSI: _cGCISRo, _smith: None}, + (_cII, _sIe, _n, _cA, _sTS, _st, _ce, _fC), + ( + (3, 1), + (lambda: schemas.CODE_INTERPRETER_SESSION_ID, 1), + (lambda: schemas.NAME, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: CODE_INTERPRETER_SESSION_TIMEOUT, 0), + (lambda: CODE_INTERPRETER_SESSION_STATUS, 0), + (lambda: schemas.CERTIFICATES, 0), + (lambda: schemas.TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), + ), +) + +GET_CODE_INTERPRETER_SESSION: StaticOperationSchema = ( + 23, + n0, + _GCIS, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/code-interpreters/{codeInterpreterIdentifier}/sessions/get", + "code": 200, + } + ) + }, + GET_CODE_INTERPRETER_SESSION_INPUT, + GET_CODE_INTERPRETER_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CODE_INTERPRETER_SESSION_TIMEOUT: StaticSchema = (7, n0, _CIST, 0) + +CODE_INTERPRETER_SESSION_STATUS: StaticSchema = ( + 14, + n0, + _CISS, + 0, + (_READY, _TERMINATED), + ((-1, {_sVm: _READY}), (-1, {_sVm: _TERMINATED})), +) + +LIST_CODE_INTERPRETER_SESSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LCISI, + {_sSI: _cLCISR, _smit: None}, + (_cII, _mR, _nT, _st), + ( + (3, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (CODE_INTERPRETER_SESSION_STATUS, 0), + ), +) + +LIST_CODE_INTERPRETER_SESSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCISO, + {_sSI: _cLCISRo, _smith: None}, + (_i, _nT), + ((lambda: CODE_INTERPRETER_SESSION_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_CODE_INTERPRETER_SESSIONS: StaticOperationSchema = ( + 23, + n0, + _LCIS, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/code-interpreters/{codeInterpreterIdentifier}/sessions/list", + "code": 200, + } + ) + }, + LIST_CODE_INTERPRETER_SESSIONS_INPUT, + LIST_CODE_INTERPRETER_SESSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CODE_INTERPRETER_SESSION_SUMMARY: StaticSchema = ( + 18, + n0, + _CISSo, + 0, + (_cII, _sIe, _n, _st, _cA, _lUA), + ( + (3, 1), + (lambda: schemas.CODE_INTERPRETER_SESSION_ID, 1), + (lambda: schemas.NAME, 0), + (CODE_INTERPRETER_SESSION_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +CODE_INTERPRETER_SESSION_SUMMARIES: StaticSchema = ( + 16, + n0, + _CISSod, + 0, + (_m,), + ((CODE_INTERPRETER_SESSION_SUMMARY, 0),), +) + +START_CODE_INTERPRETER_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _SCISI, + {_sSI: _cSCISR, _smit: None}, + (_tI, _tP, _cII, _n, _sTS, _ce, _fC, _cTl), + ( + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (3, 9), + (lambda: schemas.NAME, 0), + (CODE_INTERPRETER_SESSION_TIMEOUT, {_smithyap: 900}), + (lambda: schemas.CERTIFICATES, 0), + (lambda: schemas.TOOLS_FILE_SYSTEM_CONFIGURATIONS, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +START_CODE_INTERPRETER_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _SCISO, + {_sSI: _cSCISRo, _smith: None}, + (_cII, _sIe, _cA), + ( + (3, 1), + (lambda: schemas.CODE_INTERPRETER_SESSION_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +START_CODE_INTERPRETER_SESSION: StaticOperationSchema = ( + 23, + n0, + _SCIS, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/code-interpreters/{codeInterpreterIdentifier}/sessions/start", + "code": 200, + } + ) + }, + START_CODE_INTERPRETER_SESSION_INPUT, + START_CODE_INTERPRETER_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +STOP_CODE_INTERPRETER_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _SCISIt, + {_sSI: _cSCISRom, _smit: None}, + (_tI, _tP, _cII, _sIe, _cTl), + ( + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (3, 9), + (lambda: schemas.CODE_INTERPRETER_SESSION_ID, {_sQ: _sIe, _s: None}), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +STOP_CODE_INTERPRETER_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _SCISOt, + {_sSI: _cSCISRoma, _smith: None}, + (_cII, _sIe, _lUA), + ( + (3, 1), + (lambda: schemas.CODE_INTERPRETER_SESSION_ID, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +STOP_CODE_INTERPRETER_SESSION: StaticOperationSchema = ( + 23, + n0, + _SCISt, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/code-interpreters/{codeInterpreterIdentifier}/sessions/stop", + "code": 200, + } + ) + }, + STOP_CODE_INTERPRETER_SESSION_INPUT, + STOP_CODE_INTERPRETER_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +USER_IDENTIFIER: StaticSchema = ( + 19, + n0, + _UI, + 0, + (_uT, _uI), + ((lambda: schemas.USER_TOKEN_TYPE, 0), (lambda: schemas.USER_ID_TYPE, 0)), +) + +COMPLETE_RESOURCE_TOKEN_AUTH_INPUT: StaticSchema = ( + 18, + n0, + _CRTAI, + {_sSI: _cCRTAR, _smit: None}, + (_uIs, _sUe), + ((USER_IDENTIFIER, 1), (lambda: schemas.REQUEST_URI, 1)), +) + +COMPLETE_RESOURCE_TOKEN_AUTH_OUTPUT: StaticSchema = ( + 18, + n0, + _CRTAO, + {_sSI: _cCRTARo, _smith: None}, +) + +COMPLETE_RESOURCE_TOKEN_AUTH: StaticOperationSchema = ( + 23, + n0, + _CRTA, + { + _smithy: MappingProxyType( + {"uri": "/identities/CompleteResourceTokenAuth", "method": "POST"} + ) + }, + COMPLETE_RESOURCE_TOKEN_AUTH_INPUT, + COMPLETE_RESOURCE_TOKEN_AUTH_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PATH_PATTERN: StaticSchema = (3, n0, _PP, 0) + +TARGET_PATH_LIST: StaticSchema = (16, n0, _TPL, 0, (_m,), ((PATH_PATTERN, 0),)) + +GATEWAY_FILTER: StaticSchema = (18, n0, _GF, 0, (_tPa,), ((TARGET_PATH_LIST, 0),)) + +ROLE_ARN: StaticSchema = (3, n0, _RA, 0) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAGS_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _va), ((TAG_KEY, 0), (TAG_VALUE, 0))) + +CONFIGURATION_BUNDLE_ARN: StaticSchema = (3, n0, _CBA, 0) + +CONFIGURATION_BUNDLE_VERSION: StaticSchema = (3, n0, _CBV, 0) + +CONFIGURATION_BUNDLE_REF: StaticSchema = ( + 18, + n0, + _CBR, + 0, + (_bAu, _bVu), + ((CONFIGURATION_BUNDLE_ARN, 1), (CONFIGURATION_BUNDLE_VERSION, 1)), +) + +TARGET_NAME: StaticSchema = (3, n0, _TN, 0) + +TARGET_REF: StaticSchema = (18, n0, _TR, 0, (_n,), ((TARGET_NAME, 1),)) + +VARIANT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VC, + 0, + (_cB, _ta), + ((CONFIGURATION_BUNDLE_REF, 0), (TARGET_REF, 0)), +) + +VARIANT: StaticSchema = ( + 18, + n0, + _V, + 0, + (_n, _we, _vC), + ((lambda: schemas.VARIANT_NAME, 1), (7, 1), (VARIANT_CONFIGURATION, 1)), +) + +VARIANT_LIST: StaticSchema = (16, n0, _VL, 0, (_m,), ((VARIANT, 0),)) + +CREATE_AB_TEST_INPUT: StaticSchema = ( + 18, + n0, + _CABTI, + {_sSI: _cCABTR, _smit: None}, + (_n, _d, _gA, _var, _gF, _eCv, _rA, _eOC, _cTl, _tag), + ( + (lambda: schemas.AB_TEST_NAME, 1), + (lambda: schemas.AB_TEST_DESCRIPTION, 0), + (lambda: schemas.GATEWAY_ARN, 1), + (VARIANT_LIST, 1), + (GATEWAY_FILTER, 0), + (lambda: schemas.AB_TEST_EVALUATION_CONFIG, 1), + (ROLE_ARN, 1), + (2, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (TAGS_MAP, 0), + ), +) + +CREATE_AB_TEST_OUTPUT: StaticSchema = ( + 18, + n0, + _CABTO, + {_sSI: _cCABTRo, _smith: None}, + (_aTI, _aTA, _n, _st, _eS, _cA), + ( + (lambda: schemas.AB_TEST_ID, 1), + (lambda: schemas.AB_TEST_ARN, 1), + (lambda: schemas.AB_TEST_NAME, 0), + (lambda: schemas.AB_TEST_STATUS, 1), + (lambda: schemas.AB_TEST_EXECUTION_STATUS, 1), + (4, 1), + ), +) + +CREATE_AB_TEST: StaticOperationSchema = ( + 23, + n0, + _CABT, + {_smithy: MappingProxyType({"method": "POST", "uri": "/ab-tests", "code": 202})}, + CREATE_AB_TEST_INPUT, + CREATE_AB_TEST_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_AB_TEST_INPUT: StaticSchema = ( + 18, + n0, + _DABTI, + {_sSI: _cDABTR, _smit: None}, + (_aTI,), + ((lambda: schemas.AB_TEST_ID, 9),), +) + +DELETE_AB_TEST_OUTPUT: StaticSchema = ( + 18, + n0, + _DABTO, + {_sSI: _cDABTRo, _smith: None}, + (_aTI, _aTA, _st), + ( + (lambda: schemas.AB_TEST_ID, 1), + (lambda: schemas.AB_TEST_ARN, 1), + (lambda: schemas.AB_TEST_STATUS, 1), + ), +) + +DELETE_AB_TEST: StaticOperationSchema = ( + 23, + n0, + _DABT, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/ab-tests/{abTestId}", "code": 202} + ) + }, + DELETE_AB_TEST_INPUT, + DELETE_AB_TEST_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BATCH_EVALUATION_ID: StaticSchema = (3, n0, _BEI, 0) + +DELETE_BATCH_EVALUATION_INPUT: StaticSchema = ( + 18, + n0, + _DBEI, + {_sSI: _cDBER, _smit: None}, + (_bEI,), + ((BATCH_EVALUATION_ID, 9),), +) + +DELETE_BATCH_EVALUATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DBEO, + {_sSI: _cDBERo, _smith: None}, + (_bEI, _bEA, _st), + ( + (BATCH_EVALUATION_ID, 1), + (BATCH_EVALUATION_ARN, 1), + (lambda: BATCH_EVALUATION_STATUS, 1), + ), +) + +DELETE_BATCH_EVALUATION: StaticOperationSchema = ( + 23, + n0, + _DBE, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/evaluations/batch-evaluate/{batchEvaluationId}", + "code": 202, + } + ) + }, + DELETE_BATCH_EVALUATION_INPUT, + DELETE_BATCH_EVALUATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BATCH_EVALUATION_STATUS: StaticSchema = ( + 14, + n0, + _BES, + 0, + (_PENDING, _IP, _COMPLETED, _CWE, _FAILED, _STOPPING, _STOPPED, _DELETING), + ( + (-1, {_sVm: _PENDING}), + (-1, {_sVm: _IP}), + (-1, {_sVm: _COMPLETED}), + (-1, {_sVm: _CWE}), + (-1, {_sVm: _FAILED}), + (-1, {_sVm: _STOPPING}), + (-1, {_sVm: _STOPPED}), + (-1, {_sVm: _DELETING}), + ), +) + +RECOMMENDATION_ID: StaticSchema = (3, n0, _RI, 0) + +DELETE_RECOMMENDATION_INPUT: StaticSchema = ( + 18, + n0, + _DRI, + {_sSI: _cDRR, _smit: None}, + (_rI,), + ((RECOMMENDATION_ID, 9),), +) + +DELETE_RECOMMENDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DRO, + {_sSI: _cDRRo, _smith: None}, + (_rI, _st), + ((RECOMMENDATION_ID, 1), (lambda: RECOMMENDATION_STATUS, 1)), +) + +DELETE_RECOMMENDATION: StaticOperationSchema = ( + 23, + n0, + _DR, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/recommendations/{recommendationId}", + "code": 202, + } + ) + }, + DELETE_RECOMMENDATION_INPUT, + DELETE_RECOMMENDATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RECOMMENDATION_STATUS: StaticSchema = ( + 14, + n0, + _RSe, + 0, + (_PENDING, _IP, _COMPLETED, _FAILED, _DELETING), + ( + (-1, {_sVm: _PENDING}), + (-1, {_sVm: _IP}), + (-1, {_sVm: _COMPLETED}), + (-1, {_sVm: _FAILED}), + (-1, {_sVm: _DELETING}), + ), +) + +DUPLICATE_ID_EXCEPTION: StaticSchema = ( + 18, + n0, + _DIE, + {_sm: _c, _sE: 409}, + (_mes,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +EVALUATION_INPUT: StaticSchema = ( + 19, + n0, + _EI, + 0, + (_sSe,), + ((lambda: schemas.SPANS, 0),), +) + +EVALUATION_CONTENT: StaticSchema = (19, n0, _ECv, 0, (_te,), ((3, 0),)) + +EVALUATION_CONTENT_LIST: StaticSchema = ( + 16, + n0, + _ECL, + 0, + (_m,), + ((EVALUATION_CONTENT, 0),), +) + +SPAN_CONTEXT: StaticSchema = ( + 18, + n0, + _SC, + 0, + (_sIe, _tI, _sI), + ((3, 1), (3, 0), (3, 0)), +) + +CONTEXT: StaticSchema = (19, n0, _Co, 0, (_sCp,), ((SPAN_CONTEXT, 0),)) + +EVALUATION_TOOL_NAME: StaticSchema = (3, n0, _ETN, 0) + +EVALUATION_TOOL_NAMES: StaticSchema = ( + 16, + n0, + _ETNv, + 0, + (_m,), + ((EVALUATION_TOOL_NAME, 0),), +) + +EVALUATION_EXPECTED_TRAJECTORY: StaticSchema = ( + 18, + n0, + _EETv, + 0, + (_tN,), + ((EVALUATION_TOOL_NAMES, 0),), +) + +EVALUATION_REFERENCE_INPUT: StaticSchema = ( + 18, + n0, + _ERI, + 0, + (_con, _eR, _as, _eTx), + ( + (CONTEXT, 1), + (EVALUATION_CONTENT, 0), + (EVALUATION_CONTENT_LIST, 0), + (EVALUATION_EXPECTED_TRAJECTORY, 0), + ), +) + +EVALUATION_REFERENCE_INPUTS: StaticSchema = ( + 16, + n0, + _ERIv, + 4, + (_m,), + ((EVALUATION_REFERENCE_INPUT, 0),), +) + +SPAN_ID: StaticSchema = (3, n0, _SIp, 0) + +SPAN_IDS: StaticSchema = (16, n0, _SIpa, 0, (_m,), ((SPAN_ID, 0),)) + +TRACE_ID: StaticSchema = (3, n0, _TI, 0) + +TRACE_IDS: StaticSchema = (16, n0, _TIr, 0, (_m,), ((TRACE_ID, 0),)) + +EVALUATION_TARGET: StaticSchema = ( + 19, + n0, + _ET, + 0, + (_sIp, _tIr), + ((SPAN_IDS, 0), (TRACE_IDS, 0)), +) + +EVALUATOR_ID: StaticSchema = (3, n0, _EIv, 0) + +EVALUATE_INPUT: StaticSchema = ( + 18, + n0, + _EIva, + {_sSI: _cER, _smit: None}, + (_eI, _eIv, _eTv, _eRI), + ( + (EVALUATOR_ID, 9), + (EVALUATION_INPUT, 1), + (EVALUATION_TARGET, 0), + (EVALUATION_REFERENCE_INPUTS, 0), + ), +) + +EVALUATE_OUTPUT: StaticSchema = ( + 18, + n0, + _EO, + {_sSI: _cERo, _smith: None}, + (_eRv,), + ((lambda: schemas.EVALUATION_RESULTS, 1),), +) + +EVALUATE: StaticOperationSchema = ( + 23, + n0, + _Ev, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/evaluations/evaluate/{evaluatorId}"} + ) + }, + EVALUATE_INPUT, + EVALUATE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + DUPLICATE_ID_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EVALUATION_ERROR_CODE: StaticSchema = (3, n0, _EEC, 0) + +EVALUATION_ERROR_MESSAGE: StaticSchema = (3, n0, _EEM, 0) + +EVALUATION_DIMENSION_NAME: StaticSchema = (3, n0, _EDN, 0) + +EVALUATOR_ARN: StaticSchema = (3, n0, _EA, 0) + +EVALUATOR_NAME: StaticSchema = (3, n0, _EN, 0) + +EVALUATION_EXPLANATION: StaticSchema = (3, n0, _EE, 4) + +IGNORED_REFERENCE_INPUT_FIELD: StaticSchema = (3, n0, _IRIF, 0) + +IGNORED_REFERENCE_INPUT_FIELDS: StaticSchema = ( + 16, + n0, + _IRIFg, + 0, + (_m,), + ((IGNORED_REFERENCE_INPUT_FIELD, 0),), +) + +TOKEN_USAGE: StaticSchema = (18, n0, _TU, 0, (_iT, _oT, _tT), ((7, 0), (7, 0), (7, 0))) + +BATCH_EVALUATION_DESCRIPTION: StaticSchema = (3, n0, _BED, 0) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_3.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_3.py new file mode 100644 index 000000000..9746cc13a --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_3.py @@ -0,0 +1,1086 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcore" +_s = "smithy.api#required" +_n = "name" +_oECA = "onlineEvaluationConfigArn" +_m = "member" +_sVm = "smithy.api#enumValue" +_eA = "evaluatorArn" +_aTI = "abTestId" +_aTA = "abTestArn" +_st = "status" +_eS = "executionStatus" +_d = "description" +_gA = "gatewayArn" +_cA = "createdAt" +_uA = "updatedAt" +_smi = "smithy.api#sensitive" +_ca = "category" +_co = "confidence" +_sIe = "sessionId" +_ex = "explanation" +_r = "recommendation" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_smithyap = "smithy.api#default" +_v = "" +_bEA = "batchEvaluationArn" +_va = "value" +_sN = "serviceNames" +_sTt = "startTime" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_eT = "endTime" +_vI = "versionId" +_ty = "type" +_te = "text" +_bAu = "bundleArn" +_cB = "configurationBundle" +_var = "variants" +_gF = "gatewayFilter" +_eCv = "evaluationConfig" +_rA = "roleArn" +_bEI = "batchEvaluationId" +_rI = "recommendationId" +_con = "context" +_tIr = "traceIds" +_eI = "evaluatorId" +_ERC = "EvaluationResultContent" +_eN = "evaluatorName" +_eDN = "evaluationDimensionName" +_la = "label" +_tU = "tokenUsage" +_eMr = "errorMessage" +_eCr = "errorCode" +_iRIF = "ignoredReferenceInputFields" +_ER = "EvaluationResults" +_eRv = "evaluationResults" +_GABTI = "GetABTestInput" +_cGABTR = "com.amazonaws.bedrockagentcore#GetABTestRequest" +_EDL = "ErrorDetailsList" +_GABTO = "GetABTestOutput" +_cGABTRo = "com.amazonaws.bedrockagentcore#GetABTestResponse" +_cRI = "currentRunId" +_eD = "errorDetails" +_sAt = "startedAt" +_sAto = "stoppedAt" +_mDEA = "maxDurationExpiresAt" +_resul = "results" +_GABT = "GetABTest" +_GBEI = "GetBatchEvaluationInput" +_cGBER = "com.amazonaws.bedrockagentcore#GetBatchEvaluationRequest" +_BEN = "BatchEvaluationName" +_ESL = "EvaluationStringList" +_TIL = "TraceIdList" +_STI = "SessionTraceIds" +_STIL = "SessionTraceIdsList" +_SFCe = "SessionFilterConfig" +_CWFC = "CloudWatchFilterConfig" +_sIes = "sessionIds" +_tR = "timeRange" +_sTI = "sessionTraceIds" +_LGNP = "LogGroupNamePrefix" +_LGNPL = "LogGroupNamePrefixList" +_LGN = "LogGroupName" +_LGNL = "LogGroupNameList" +_CWLS = "CloudWatchLogsSource" +_lGN = "logGroupNames" +_lGNP = "logGroupNamePrefixes" +_fCi = "filterConfig" +_OECS = "OnlineEvaluationConfigSource" +_DSC = "DataSourceConfig" +_cWL = "cloudWatchLogs" +_oECS = "onlineEvaluationConfigSource" +_ES = "EvaluatorStatistics" +_aSv = "averageScore" +_ESv = "EvaluatorSummary" +_sta = "statistics" +_tEo = "totalEvaluated" +_tF = "totalFailed" +_ESLv = "EvaluatorSummaryList" +_EJR = "EvaluationJobResults" +_nOSC = "numberOfSessionsCompleted" +_nOSIP = "numberOfSessionsInProgress" +_nOSF = "numberOfSessionsFailed" +_tNOS = "totalNumberOfSessions" +_nOSI = "numberOfSessionsIgnored" +_eSv = "evaluatorSummaries" +_Eva = "Evaluator" +_EL = "EvaluatorList" +_ESAS = "ExecutionSummaryAffectedSession" +_aTp = "approachTaken" +_fO = "finalOutcome" +_ESASL = "ExecutionSummaryAffectedSessionList" +_ESC = "ExecutionSummaryCluster" +_cIl = "clusterId" +_aSC = "affectedSessionCount" +_aSf = "affectedSessions" +_ESCL = "ExecutionSummaryClusterList" +_ESCRC = "ExecutionSummaryClusteringResultContent" +_eSx = "executionSummaries" +_RCC = "RootCauseCluster" +_rC = "rootCause" +_RCCL = "RootCauseClusterList" +_FSCC = "FailureSubCategoryCluster" +_rCo = "rootCauses" +_FSCCL = "FailureSubCategoryClusterList" +_FCC = "FailureCategoryCluster" +_sCu = "subCategories" +_FCCL = "FailureCategoryClusterList" +_FARC = "FailureAnalysisResultContent" +_fa = "failures" +_ID = "InsightDescription" +_IN = "InsightName" +_RCEo = "RootCauseExplanation" +_RCN = "RootCauseName" +_FD = "FindingDescription" +_FTI = "FindingTargetId" +_FTT = "FindingTargetType" +_SI_ = "SPAN_ID" +_TI_ = "TRACE_ID" +_SN_ = "SPAN_NAME" +_SFe = "SessionFinding" +_tIa = "targetId" +_tTa = "targetType" +_SFL = "SessionFindingList" +_SS = "SampleSession" +_lSA = "lastSeenAt" +_fi = "findings" +_ISSL = "InsightSampleSessionList" +_SFu = "SuggestedFix" +_IRC = "InsightRootCause" +_sFu = "suggestedFix" +_sSa = "sampleSessions" +_IRCL = "InsightRootCauseList" +_IT = "InsightType" +_FAILURE = "FAILURE" +_IR = "InsightResult" +_IRL = "InsightResultList" +_II = "InsightId" +_I = "Insight" +_iI = "insightId" +_IL = "InsightList" +_KKA = "KmsKeyArn" +_OLGN = "OptionalLogGroupName" +_LSN = "LogStreamName" +_MNe = "MetricsNamespace" +_RD = "ResultDestination" +_DLG = "DEDICATED_LOG_GROUP" +_SLG = "SOURCE_LOG_GROUP" +_CWOC = "CloudWatchOutputConfig" +_lGNo = "logGroupName" +_lSN = "logStreamName" +_mNe = "metricsNamespace" +_rD = "resultDestination" +_OC = "OutputConfig" +_cWC = "cloudWatchConfig" +_UIL = "UserIntentList" +_UIAS = "UserIntentAffectedSession" +_uM = "userMessages" +_UIASL = "UserIntentAffectedSessionList" +_UIC = "UserIntentCluster" +_UICL = "UserIntentClusterList" +_UICRC = "UserIntentClusteringResultContent" +_uIse = "userIntents" +_GBEO = "GetBatchEvaluationOutput" +_cGBERo = "com.amazonaws.bedrockagentcore#GetBatchEvaluationResponse" +_bEN = "batchEvaluationName" +_ev = "evaluators" +_in = "insights" +_dSC = "dataSourceConfig" +_oC = "outputConfig" +_iR = "insightResults" +_fAR = "failureAnalysisResult" +_uIR = "userIntentResult" +_eSR = "executionSummaryResult" +_kKA = "kmsKeyArn" +_GBE = "GetBatchEvaluation" +_GRI = "GetRecommendationInput" +_cGRR = "com.amazonaws.bedrockagentcore#GetRecommendationRequest" +_RDe = "RecommendationDescription" +_RN = "RecommendationName" +_RAe = "RecommendationArn" +_RER = "RecommendationEvaluatorReference" +_REL = "RecommendationEvaluatorList" +_REC = "RecommendationEvaluationConfig" +_CBVI = "ConfigurationBundleVersionId" +_SPCB = "SystemPromptConfigurationBundle" +_sPJP = "systemPromptJsonPath" +_SPT = "SystemPromptText" +_SPC = "SystemPromptConfig" +_SPRC = "SystemPromptRecommendationConfig" +_sPy = "systemPrompt" +_aTg = "agentTraces" +_RTN = "RecommendationToolName" +_CBTE = "ConfigurationBundleToolEntry" +_tNo = "toolName" +_tDJP = "toolDescriptionJsonPath" +_CBTEL = "ConfigurationBundleToolEntryList" +_TDCB = "ToolDescriptionConfigurationBundle" +_to = "tools" +_TDT = "ToolDescriptionText" +_TDC = "ToolDescriptionConfig" +_TDI = "ToolDescriptionInput" +_tD = "toolDescription" +_TDL = "ToolDescriptionList" +_TDTI = "ToolDescriptionTextInput" +_TDS = "ToolDescriptionSource" +_tDT = "toolDescriptionText" +_TDRC = "ToolDescriptionRecommendationConfig" +_GRO = "GetRecommendationOutput" +_cGRRo = "com.amazonaws.bedrockagentcore#GetRecommendationResponse" +_rAe = "recommendationArn" +_rCe = "recommendationConfig" +_rR = "recommendationResult" +_GR = "GetRecommendation" + +EVALUATION_RESULT_CONTENT: StaticSchema = ( + 18, + n0, + _ERC, + 0, + (_eA, _eI, _eN, _eDN, _ex, _con, _va, _la, _tU, _eMr, _eCr, _iRIF), + ( + (lambda: schemas.EVALUATOR_ARN, 1), + (lambda: schemas.EVALUATOR_ID, 1), + (lambda: schemas.EVALUATOR_NAME, 1), + (lambda: schemas.EVALUATION_DIMENSION_NAME, 0), + (lambda: schemas.EVALUATION_EXPLANATION, 0), + (lambda: schemas.CONTEXT, 1), + (10, 0), + (3, 0), + (lambda: schemas.TOKEN_USAGE, 0), + (lambda: schemas.EVALUATION_ERROR_MESSAGE, 0), + (lambda: schemas.EVALUATION_ERROR_CODE, 0), + (lambda: schemas.IGNORED_REFERENCE_INPUT_FIELDS, 0), + ), +) + +EVALUATION_RESULTS: StaticSchema = ( + 16, + n0, + _ER, + 0, + (_m,), + ((EVALUATION_RESULT_CONTENT, 0),), +) + +GET_AB_TEST_INPUT: StaticSchema = ( + 18, + n0, + _GABTI, + {_sSI: _cGABTR, _smit: None}, + (_aTI,), + ((lambda: schemas.AB_TEST_ID, 9),), +) + +GET_AB_TEST_OUTPUT: StaticSchema = ( + 18, + n0, + _GABTO, + {_sSI: _cGABTRo, _smith: None}, + ( + _aTI, + _aTA, + _n, + _d, + _st, + _eS, + _gA, + _var, + _gF, + _eCv, + _rA, + _cRI, + _eD, + _sAt, + _sAto, + _mDEA, + _cA, + _uA, + _resul, + ), + ( + (lambda: schemas.AB_TEST_ID, 1), + (lambda: schemas.AB_TEST_ARN, 1), + (lambda: schemas.AB_TEST_NAME, 1), + (lambda: schemas.AB_TEST_DESCRIPTION, 0), + (lambda: schemas.AB_TEST_STATUS, 1), + (lambda: schemas.AB_TEST_EXECUTION_STATUS, 1), + (lambda: schemas.GATEWAY_ARN, 1), + (lambda: schemas.VARIANT_LIST, 1), + (lambda: schemas.GATEWAY_FILTER, 0), + (lambda: schemas.AB_TEST_EVALUATION_CONFIG, 1), + (lambda: schemas.ROLE_ARN, 0), + (3, 0), + (lambda: ERROR_DETAILS_LIST, 0), + (4, 0), + (4, 0), + (4, 0), + (4, 1), + (4, 1), + (lambda: schemas.AB_TEST_RESULTS, 0), + ), +) + +GET_AB_TEST: StaticOperationSchema = ( + 23, + n0, + _GABT, + {_smithy: MappingProxyType({"method": "GET", "uri": "/ab-tests/{abTestId}"})}, + GET_AB_TEST_INPUT, + GET_AB_TEST_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ERROR_DETAILS_LIST: StaticSchema = (16, n0, _EDL, 0, (_m,), ((3, 0),)) + +GET_BATCH_EVALUATION_INPUT: StaticSchema = ( + 18, + n0, + _GBEI, + {_sSI: _cGBER, _smit: None}, + (_bEI,), + ((lambda: schemas.BATCH_EVALUATION_ID, 9),), +) + +GET_BATCH_EVALUATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBEO, + {_sSI: _cGBERo, _smith: None}, + ( + _bEI, + _bEA, + _bEN, + _st, + _cA, + _ev, + _in, + _dSC, + _oC, + _eRv, + _iR, + _fAR, + _uIR, + _eSR, + _eD, + _d, + _uA, + _kKA, + ), + ( + (lambda: schemas.BATCH_EVALUATION_ID, 1), + (lambda: schemas.BATCH_EVALUATION_ARN, 1), + (lambda: BATCH_EVALUATION_NAME, 1), + (lambda: schemas.BATCH_EVALUATION_STATUS, 1), + (4, {_sF: _dt, _s: None}), + (lambda: EVALUATOR_LIST, 0), + (lambda: INSIGHT_LIST, 0), + (lambda: DATA_SOURCE_CONFIG, 0), + (lambda: OUTPUT_CONFIG, 0), + (lambda: EVALUATION_JOB_RESULTS, 0), + (lambda: INSIGHT_RESULT_LIST, 0), + (lambda: FAILURE_ANALYSIS_RESULT_CONTENT, 0), + (lambda: USER_INTENT_CLUSTERING_RESULT_CONTENT, 0), + (lambda: EXECUTION_SUMMARY_CLUSTERING_RESULT_CONTENT, 0), + (ERROR_DETAILS_LIST, 0), + (lambda: schemas.BATCH_EVALUATION_DESCRIPTION, 0), + (4, {_sF: _dt}), + (lambda: KMS_KEY_ARN, 0), + ), +) + +GET_BATCH_EVALUATION: StaticOperationSchema = ( + 23, + n0, + _GBE, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/evaluations/batch-evaluate/{batchEvaluationId}"} + ) + }, + GET_BATCH_EVALUATION_INPUT, + GET_BATCH_EVALUATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BATCH_EVALUATION_NAME: StaticSchema = (3, n0, _BEN, 0) + +EVALUATION_STRING_LIST: StaticSchema = (16, n0, _ESL, 0, (_m,), ((3, 0),)) + +TRACE_ID_LIST: StaticSchema = (16, n0, _TIL, 0, (_m,), ((lambda: schemas.TRACE_ID, 0),)) + +SESSION_TRACE_IDS: StaticSchema = ( + 18, + n0, + _STI, + 0, + (_sIe, _tIr), + ((3, 1), (TRACE_ID_LIST, 1)), +) + +SESSION_TRACE_IDS_LIST: StaticSchema = ( + 16, + n0, + _STIL, + 0, + (_m,), + ((SESSION_TRACE_IDS, 0),), +) + +SESSION_FILTER_CONFIG: StaticSchema = ( + 18, + n0, + _SFCe, + 0, + (_sTt, _eT), + ((4, {_sF: _dt}), (4, {_sF: _dt})), +) + +CLOUD_WATCH_FILTER_CONFIG: StaticSchema = ( + 18, + n0, + _CWFC, + 0, + (_sIes, _tR, _sTI), + ( + (EVALUATION_STRING_LIST, 0), + (SESSION_FILTER_CONFIG, 0), + (SESSION_TRACE_IDS_LIST, 0), + ), +) + +LOG_GROUP_NAME_PREFIX: StaticSchema = (3, n0, _LGNP, 0) + +LOG_GROUP_NAME_PREFIX_LIST: StaticSchema = ( + 16, + n0, + _LGNPL, + 0, + (_m,), + ((LOG_GROUP_NAME_PREFIX, 0),), +) + +LOG_GROUP_NAME: StaticSchema = (3, n0, _LGN, 0) + +LOG_GROUP_NAME_LIST: StaticSchema = (16, n0, _LGNL, 0, (_m,), ((LOG_GROUP_NAME, 0),)) + +CLOUD_WATCH_LOGS_SOURCE: StaticSchema = ( + 18, + n0, + _CWLS, + 0, + (_sN, _lGN, _lGNP, _fCi), + ( + (EVALUATION_STRING_LIST, 1), + (LOG_GROUP_NAME_LIST, {_smithyap: ()}), + (LOG_GROUP_NAME_PREFIX_LIST, 0), + (CLOUD_WATCH_FILTER_CONFIG, 0), + ), +) + +ONLINE_EVALUATION_CONFIG_SOURCE: StaticSchema = ( + 18, + n0, + _OECS, + 0, + (_oECA, _tR), + ((lambda: schemas.ONLINE_EVALUATION_CONFIG_ARN, 1), (SESSION_FILTER_CONFIG, 0)), +) + +DATA_SOURCE_CONFIG: StaticSchema = ( + 19, + n0, + _DSC, + 0, + (_cWL, _oECS), + ((CLOUD_WATCH_LOGS_SOURCE, 0), (ONLINE_EVALUATION_CONFIG_SOURCE, 0)), +) + +EVALUATOR_STATISTICS: StaticSchema = (18, n0, _ES, 0, (_aSv,), ((10, 0),)) + +EVALUATOR_SUMMARY: StaticSchema = ( + 18, + n0, + _ESv, + 0, + (_eI, _eDN, _sta, _tEo, _tF), + ((3, 0), (3, 0), (EVALUATOR_STATISTICS, 0), (7, 0), (7, 0)), +) + +EVALUATOR_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _ESLv, + 0, + (_m,), + ((EVALUATOR_SUMMARY, 0),), +) + +EVALUATION_JOB_RESULTS: StaticSchema = ( + 18, + n0, + _EJR, + 0, + (_nOSC, _nOSIP, _nOSF, _tNOS, _nOSI, _eSv), + ((7, 0), (7, 0), (7, 0), (7, 0), (7, 0), (EVALUATOR_SUMMARY_LIST, 0)), +) + +EVALUATOR: StaticSchema = ( + 18, + n0, + _Eva, + 0, + (_eI,), + ((lambda: schemas.EVALUATOR_ID, 1),), +) + +EVALUATOR_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((EVALUATOR, 0),)) + +EXECUTION_SUMMARY_AFFECTED_SESSION: StaticSchema = ( + 18, + n0, + _ESAS, + 0, + (_sIe, _aTp, _fO), + ((3, 1), (3, 1), (3, 1)), +) + +EXECUTION_SUMMARY_AFFECTED_SESSION_LIST: StaticSchema = ( + 16, + n0, + _ESASL, + 0, + (_m,), + ((EXECUTION_SUMMARY_AFFECTED_SESSION, 0),), +) + +EXECUTION_SUMMARY_CLUSTER: StaticSchema = ( + 18, + n0, + _ESC, + 0, + (_cIl, _n, _d, _aSC, _aSf), + ((7, 1), (3, 1), (3, 1), (7, 1), (EXECUTION_SUMMARY_AFFECTED_SESSION_LIST, 1)), +) + +EXECUTION_SUMMARY_CLUSTER_LIST: StaticSchema = ( + 16, + n0, + _ESCL, + 0, + (_m,), + ((EXECUTION_SUMMARY_CLUSTER, 0),), +) + +EXECUTION_SUMMARY_CLUSTERING_RESULT_CONTENT: StaticSchema = ( + 18, + n0, + _ESCRC, + 0, + (_eSx,), + ((EXECUTION_SUMMARY_CLUSTER_LIST, 1),), +) + +ROOT_CAUSE_CLUSTER: StaticSchema = ( + 18, + n0, + _RCC, + 0, + (_cIl, _n, _rC, _r, _aSC, _aSf), + ( + (7, 1), + (3, 1), + (3, 1), + (3, 1), + (7, 1), + (lambda: schemas.AFFECTED_SESSION_LIST, 1), + ), +) + +ROOT_CAUSE_CLUSTER_LIST: StaticSchema = ( + 16, + n0, + _RCCL, + 0, + (_m,), + ((ROOT_CAUSE_CLUSTER, 0),), +) + +FAILURE_SUB_CATEGORY_CLUSTER: StaticSchema = ( + 18, + n0, + _FSCC, + 0, + (_cIl, _n, _d, _aSC, _rCo), + ((7, 1), (3, 1), (3, 1), (7, 1), (ROOT_CAUSE_CLUSTER_LIST, 1)), +) + +FAILURE_SUB_CATEGORY_CLUSTER_LIST: StaticSchema = ( + 16, + n0, + _FSCCL, + 0, + (_m,), + ((FAILURE_SUB_CATEGORY_CLUSTER, 0),), +) + +FAILURE_CATEGORY_CLUSTER: StaticSchema = ( + 18, + n0, + _FCC, + 0, + (_cIl, _n, _d, _aSC, _sCu), + ((7, 1), (3, 1), (3, 1), (7, 1), (FAILURE_SUB_CATEGORY_CLUSTER_LIST, 1)), +) + +FAILURE_CATEGORY_CLUSTER_LIST: StaticSchema = ( + 16, + n0, + _FCCL, + 0, + (_m,), + ((FAILURE_CATEGORY_CLUSTER, 0),), +) + +FAILURE_ANALYSIS_RESULT_CONTENT: StaticSchema = ( + 18, + n0, + _FARC, + 0, + (_fa,), + ((FAILURE_CATEGORY_CLUSTER_LIST, 1),), +) + +INSIGHT_DESCRIPTION: StaticSchema = (3, n0, _ID, 4) + +INSIGHT_NAME: StaticSchema = (3, n0, _IN, 4) + +ROOT_CAUSE_EXPLANATION: StaticSchema = (3, n0, _RCEo, 4) + +ROOT_CAUSE_NAME: StaticSchema = (3, n0, _RCN, 4) + +FINDING_DESCRIPTION: StaticSchema = (3, n0, _FD, 4) + +FINDING_TARGET_ID: StaticSchema = (3, n0, _FTI, 0) + +FINDING_TARGET_TYPE: StaticSchema = ( + 14, + n0, + _FTT, + 0, + (_SI_, _TI_, _SN_), + ((-1, {_sVm: _SI_}), (-1, {_sVm: _TI_}), (-1, {_sVm: _SN_})), +) + +SESSION_FINDING: StaticSchema = ( + 18, + n0, + _SFe, + 0, + (_tIa, _tTa, _d, _ca, _co), + ( + (FINDING_TARGET_ID, 0), + (FINDING_TARGET_TYPE, 0), + (FINDING_DESCRIPTION, 1), + (3, 0), + (10, 0), + ), +) + +SESSION_FINDING_LIST: StaticSchema = (16, n0, _SFL, 0, (_m,), ((SESSION_FINDING, 0),)) + +SAMPLE_SESSION: StaticSchema = ( + 18, + n0, + _SS, + 0, + (_sIe, _lSA, _fi), + ((lambda: schemas.SESSION_ID, 1), (4, {_sF: _dt}), (SESSION_FINDING_LIST, 0)), +) + +INSIGHT_SAMPLE_SESSION_LIST: StaticSchema = ( + 16, + n0, + _ISSL, + 0, + (_m,), + ((SAMPLE_SESSION, 0),), +) + +SUGGESTED_FIX: StaticSchema = (3, n0, _SFu, 4) + +INSIGHT_ROOT_CAUSE: StaticSchema = ( + 18, + n0, + _IRC, + 0, + (_n, _ex, _aSC, _sFu, _sSa), + ( + (ROOT_CAUSE_NAME, 1), + (ROOT_CAUSE_EXPLANATION, 1), + (7, 0), + (SUGGESTED_FIX, 0), + (INSIGHT_SAMPLE_SESSION_LIST, 0), + ), +) + +INSIGHT_ROOT_CAUSE_LIST: StaticSchema = ( + 16, + n0, + _IRCL, + 0, + (_m,), + ((INSIGHT_ROOT_CAUSE, 0),), +) + +INSIGHT_TYPE: StaticSchema = (14, n0, _IT, 0, (_FAILURE,), ((-1, {_sVm: _FAILURE}),)) + +INSIGHT_RESULT: StaticSchema = ( + 18, + n0, + _IR, + 0, + (_ty, _n, _d, _cA, _aSC, _sSa, _rCo), + ( + (INSIGHT_TYPE, 1), + (INSIGHT_NAME, 1), + (INSIGHT_DESCRIPTION, 1), + (4, {_sF: _dt, _s: None}), + (7, 0), + (INSIGHT_SAMPLE_SESSION_LIST, 0), + (INSIGHT_ROOT_CAUSE_LIST, 0), + ), +) + +INSIGHT_RESULT_LIST: StaticSchema = (16, n0, _IRL, 0, (_m,), ((INSIGHT_RESULT, 0),)) + +INSIGHT_ID: StaticSchema = (3, n0, _II, 0) + +INSIGHT: StaticSchema = (18, n0, _I, 0, (_iI,), ((INSIGHT_ID, 1),)) + +INSIGHT_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((INSIGHT, 0),)) + +KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) + +OPTIONAL_LOG_GROUP_NAME: StaticSchema = (3, n0, _OLGN, 0) + +LOG_STREAM_NAME: StaticSchema = (3, n0, _LSN, 0) + +METRICS_NAMESPACE: StaticSchema = (3, n0, _MNe, 0) + +RESULT_DESTINATION: StaticSchema = ( + 14, + n0, + _RD, + 0, + (_DLG, _SLG), + ((-1, {_sVm: _DLG}), (-1, {_sVm: _SLG})), +) + +CLOUD_WATCH_OUTPUT_CONFIG: StaticSchema = ( + 18, + n0, + _CWOC, + 0, + (_lGNo, _lSN, _mNe, _rD), + ( + (OPTIONAL_LOG_GROUP_NAME, {_smithyap: _v}), + (LOG_STREAM_NAME, {_smithyap: _v}), + (METRICS_NAMESPACE, 0), + (RESULT_DESTINATION, {_smithyap: _DLG}), + ), +) + +OUTPUT_CONFIG: StaticSchema = ( + 19, + n0, + _OC, + 0, + (_cWC,), + ((CLOUD_WATCH_OUTPUT_CONFIG, 0),), +) + +USER_INTENT_LIST: StaticSchema = (16, n0, _UIL, 0, (_m,), ((3, 0),)) + +USER_INTENT_AFFECTED_SESSION: StaticSchema = ( + 18, + n0, + _UIAS, + 0, + (_sIe, _uM), + ((3, 1), (USER_INTENT_LIST, 1)), +) + +USER_INTENT_AFFECTED_SESSION_LIST: StaticSchema = ( + 16, + n0, + _UIASL, + 0, + (_m,), + ((USER_INTENT_AFFECTED_SESSION, 0),), +) + +USER_INTENT_CLUSTER: StaticSchema = ( + 18, + n0, + _UIC, + 0, + (_cIl, _n, _d, _aSC, _aSf), + ((7, 1), (3, 1), (3, 1), (7, 1), (USER_INTENT_AFFECTED_SESSION_LIST, 1)), +) + +USER_INTENT_CLUSTER_LIST: StaticSchema = ( + 16, + n0, + _UICL, + 0, + (_m,), + ((USER_INTENT_CLUSTER, 0),), +) + +USER_INTENT_CLUSTERING_RESULT_CONTENT: StaticSchema = ( + 18, + n0, + _UICRC, + 0, + (_uIse,), + ((USER_INTENT_CLUSTER_LIST, 1),), +) + +GET_RECOMMENDATION_INPUT: StaticSchema = ( + 18, + n0, + _GRI, + {_sSI: _cGRR, _smit: None}, + (_rI,), + ((lambda: schemas.RECOMMENDATION_ID, 9),), +) + +GET_RECOMMENDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GRO, + {_sSI: _cGRRo, _smith: None}, + (_rI, _rAe, _n, _d, _ty, _rCe, _st, _cA, _uA, _rR, _kKA), + ( + (lambda: schemas.RECOMMENDATION_ID, 1), + (lambda: RECOMMENDATION_ARN, 1), + (lambda: RECOMMENDATION_NAME, 1), + (lambda: RECOMMENDATION_DESCRIPTION, 0), + (lambda: schemas.RECOMMENDATION_TYPE, 1), + (lambda: schemas.RECOMMENDATION_CONFIG, 1), + (lambda: schemas.RECOMMENDATION_STATUS, 1), + (4, {_sF: _dt, _s: None}), + (4, {_sF: _dt, _s: None}), + (lambda: schemas.RECOMMENDATION_RESULT, 0), + (KMS_KEY_ARN, 0), + ), +) + +GET_RECOMMENDATION: StaticOperationSchema = ( + 23, + n0, + _GR, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/recommendations/{recommendationId}"} + ) + }, + GET_RECOMMENDATION_INPUT, + GET_RECOMMENDATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RECOMMENDATION_DESCRIPTION: StaticSchema = (3, n0, _RDe, 0) + +RECOMMENDATION_NAME: StaticSchema = (3, n0, _RN, 0) + +RECOMMENDATION_ARN: StaticSchema = (3, n0, _RAe, 0) + +RECOMMENDATION_EVALUATOR_REFERENCE: StaticSchema = ( + 18, + n0, + _RER, + 0, + (_eA,), + ((lambda: schemas.EVALUATOR_ARN, 1),), +) + +RECOMMENDATION_EVALUATOR_LIST: StaticSchema = ( + 16, + n0, + _REL, + 0, + (_m,), + ((RECOMMENDATION_EVALUATOR_REFERENCE, 0),), +) + +RECOMMENDATION_EVALUATION_CONFIG: StaticSchema = ( + 18, + n0, + _REC, + 0, + (_ev,), + ((RECOMMENDATION_EVALUATOR_LIST, 1),), +) + +CONFIGURATION_BUNDLE_VERSION_ID: StaticSchema = (3, n0, _CBVI, 0) + +SYSTEM_PROMPT_CONFIGURATION_BUNDLE: StaticSchema = ( + 18, + n0, + _SPCB, + 0, + (_bAu, _vI, _sPJP), + ( + (lambda: schemas.CONFIGURATION_BUNDLE_ARN, 1), + (CONFIGURATION_BUNDLE_VERSION_ID, 1), + (3, 1), + ), +) + +SYSTEM_PROMPT_TEXT: StaticSchema = (3, n0, _SPT, 4) + +SYSTEM_PROMPT_CONFIG: StaticSchema = ( + 19, + n0, + _SPC, + 0, + (_te, _cB), + ((SYSTEM_PROMPT_TEXT, 0), (SYSTEM_PROMPT_CONFIGURATION_BUNDLE, 0)), +) + +SYSTEM_PROMPT_RECOMMENDATION_CONFIG: StaticSchema = ( + 18, + n0, + _SPRC, + 0, + (_sPy, _aTg, _eCv), + ( + (SYSTEM_PROMPT_CONFIG, 1), + (lambda: schemas.AGENT_TRACES_CONFIG, 1), + (RECOMMENDATION_EVALUATION_CONFIG, 0), + ), +) + +RECOMMENDATION_TOOL_NAME: StaticSchema = (3, n0, _RTN, 0) + +CONFIGURATION_BUNDLE_TOOL_ENTRY: StaticSchema = ( + 18, + n0, + _CBTE, + 0, + (_tNo, _tDJP), + ((RECOMMENDATION_TOOL_NAME, 1), (3, 1)), +) + +CONFIGURATION_BUNDLE_TOOL_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _CBTEL, + 0, + (_m,), + ((CONFIGURATION_BUNDLE_TOOL_ENTRY, 0),), +) + +TOOL_DESCRIPTION_CONFIGURATION_BUNDLE: StaticSchema = ( + 18, + n0, + _TDCB, + 0, + (_bAu, _vI, _to), + ( + (lambda: schemas.CONFIGURATION_BUNDLE_ARN, 1), + (CONFIGURATION_BUNDLE_VERSION_ID, 1), + (CONFIGURATION_BUNDLE_TOOL_ENTRY_LIST, 1), + ), +) + +TOOL_DESCRIPTION_TEXT: StaticSchema = (3, n0, _TDT, 4) + +TOOL_DESCRIPTION_CONFIG: StaticSchema = ( + 19, + n0, + _TDC, + 0, + (_te,), + ((TOOL_DESCRIPTION_TEXT, 0),), +) + +TOOL_DESCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _TDI, + 0, + (_tNo, _tD), + ((RECOMMENDATION_TOOL_NAME, 1), (TOOL_DESCRIPTION_CONFIG, 1)), +) + +TOOL_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _TDL, + 0, + (_m,), + ((TOOL_DESCRIPTION_INPUT, 0),), +) + +TOOL_DESCRIPTION_TEXT_INPUT: StaticSchema = ( + 18, + n0, + _TDTI, + 0, + (_to,), + ((TOOL_DESCRIPTION_LIST, 1),), +) + +TOOL_DESCRIPTION_SOURCE: StaticSchema = ( + 19, + n0, + _TDS, + 0, + (_tDT, _cB), + ((TOOL_DESCRIPTION_TEXT_INPUT, 0), (TOOL_DESCRIPTION_CONFIGURATION_BUNDLE, 0)), +) + +TOOL_DESCRIPTION_RECOMMENDATION_CONFIG: StaticSchema = ( + 18, + n0, + _TDRC, + 0, + (_tD, _aTg), + ((TOOL_DESCRIPTION_SOURCE, 1), (lambda: schemas.AGENT_TRACES_CONFIG, 1)), +) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_4.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_4.py new file mode 100644 index 000000000..bf5002ec7 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_4.py @@ -0,0 +1,1092 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcore" +_s = "smithy.api#required" +_n = "name" +_m = "member" +_sVm = "smithy.api#enumValue" +_FAILED = "FAILED" +_aTI = "abTestId" +_aTA = "abTestArn" +_st = "status" +_eS = "executionStatus" +_d = "description" +_cA = "createdAt" +_uA = "updatedAt" +_smi = "smithy.api#sensitive" +_sIe = "sessionId" +_ex = "explanation" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sT = "smithy.api#idempotencyToken" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_smithyap = "smithy.api#default" +_cTl = "clientToken" +_bEA = "batchEvaluationArn" +_k = "key" +_va = "value" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_vI = "versionId" +_ty = "type" +_mR = "maxResults" +_nT = "nextToken" +_sUe = "sessionUri" +_bAu = "bundleArn" +_cB = "configurationBundle" +_var = "variants" +_gF = "gatewayFilter" +_eCv = "evaluationConfig" +_rA = "roleArn" +_tag = "tags" +_bEI = "batchEvaluationId" +_IP = "IN_PROGRESS" +_rI = "recommendationId" +_eR = "expectedResponse" +_as = "assertions" +_eTx = "expectedTrajectory" +_eMr = "errorMessage" +_eCr = "errorCode" +_eRv = "evaluationResults" +_eD = "errorDetails" +_bEN = "batchEvaluationName" +_ev = "evaluators" +_in = "insights" +_dSC = "dataSourceConfig" +_oC = "outputConfig" +_kKA = "kmsKeyArn" +_tNo = "toolName" +_to = "tools" +_RCec = "RecommendationConfig" +_sPRC = "systemPromptRecommendationConfig" +_tDRC = "toolDescriptionRecommendationConfig" +_RRCB = "RecommendationResultConfigurationBundle" +_RECe = "RecommendationErrorCode" +_REM = "RecommendationErrorMessage" +_RE = "RecommendationExplanation" +_SPRR = "SystemPromptRecommendationResult" +_rSP = "recommendedSystemPrompt" +_TDO = "ToolDescriptionOutput" +_rTD = "recommendedToolDescription" +_TDRL = "ToolDescriptionResultList" +_TDRR = "ToolDescriptionRecommendationResult" +_RR = "RecommendationResult" +_sPRR = "systemPromptRecommendationResult" +_tDRR = "toolDescriptionRecommendationResult" +_RT = "RecommendationType" +_SPR = "SYSTEM_PROMPT_RECOMMENDATION" +_TDR = "TOOL_DESCRIPTION_RECOMMENDATION" +_rAe = "recommendationArn" +_rCe = "recommendationConfig" +_LABTI = "ListABTestsInput" +_cLABTR = "com.amazonaws.bedrockagentcore#ListABTestsRequest" +_LABTO = "ListABTestsOutput" +_cLABTRo = "com.amazonaws.bedrockagentcore#ListABTestsResponse" +_aTb = "abTests" +_LABT = "ListABTests" +_LBEI = "ListBatchEvaluationsInput" +_cLBER = "com.amazonaws.bedrockagentcore#ListBatchEvaluationsRequest" +_BESa = "BatchEvaluationSummary" +_BESL = "BatchEvaluationSummaryList" +_LBEO = "ListBatchEvaluationsOutput" +_cLBERo = "com.amazonaws.bedrockagentcore#ListBatchEvaluationsResponse" +_bEa = "batchEvaluations" +_LBE = "ListBatchEvaluations" +_LRI = "ListRecommendationsInput" +_cLRR = "com.amazonaws.bedrockagentcore#ListRecommendationsRequest" +_sFt = "statusFilter" +_RSec = "RecommendationSummary" +_RSL = "RecommendationSummaryList" +_LRO = "ListRecommendationsOutput" +_cLRRo = "com.amazonaws.bedrockagentcore#ListRecommendationsResponse" +_rS = "recommendationSummaries" +_LR = "ListRecommendations" +_GTTI = "GroundTruthTurnInput" +_prom = "prompt" +_GTT = "GroundTruthTurn" +_inp = "input" +_GTTL = "GroundTruthTurnList" +_IGT = "InlineGroundTruth" +_tu = "turns" +_GTS = "GroundTruthSource" +_inl = "inline" +_SM = "StringMap" +_SMS = "SessionMetadataShape" +_tSI = "testScenarioId" +_gT = "groundTruth" +_met = "metadata" +_SMLe = "SessionMetadataList" +_EMv = "EvaluationMetadata" +_sMes = "sessionMetadata" +_SBEI = "StartBatchEvaluationInput" +_cSBER = "com.amazonaws.bedrockagentcore#StartBatchEvaluationRequest" +_eMv = "evaluationMetadata" +_SBEO = "StartBatchEvaluationOutput" +_cSBERo = "com.amazonaws.bedrockagentcore#StartBatchEvaluationResponse" +_SBE = "StartBatchEvaluation" +_SRI = "StartRecommendationInput" +_cSRR = "com.amazonaws.bedrockagentcore#StartRecommendationRequest" +_SRO = "StartRecommendationOutput" +_cSRRo = "com.amazonaws.bedrockagentcore#StartRecommendationResponse" +_SRt = "StartRecommendation" +_SBEIt = "StopBatchEvaluationInput" +_cSBERom = "com.amazonaws.bedrockagentcore#StopBatchEvaluationRequest" +_SBEOt = "StopBatchEvaluationOutput" +_cSBERoma = "com.amazonaws.bedrockagentcore#StopBatchEvaluationResponse" +_SBEt = "StopBatchEvaluation" +_UABTI = "UpdateABTestInput" +_cUABTR = "com.amazonaws.bedrockagentcore#UpdateABTestRequest" +_UABTO = "UpdateABTestOutput" +_cUABTRo = "com.amazonaws.bedrockagentcore#UpdateABTestResponse" +_UABT = "UpdateABTest" +_CPN = "CredentialProviderName" +_GRAKI = "GetResourceApiKeyInput" +_cGRAKR = "com.amazonaws.bedrockagentcore#GetResourceApiKeyRequest" +_wIT = "workloadIdentityToken" +_rCPN = "resourceCredentialProviderName" +_AKT = "ApiKeyType" +_GRAKO = "GetResourceApiKeyOutput" +_cGRAKRo = "com.amazonaws.bedrockagentcore#GetResourceApiKeyResponse" +_aK = "apiKey" +_GRAK = "GetResourceApiKey" +_AT = "AudienceType" +_ALT = "AudiencesListType" +_CRKT = "CustomRequestKeyType" +_CRVT = "CustomRequestValueType" +_CRPT = "CustomRequestParametersType" +_Sta = "State" +_OFT = "Oauth2FlowType" +_UF_ = "USER_FEDERATION" +_MM_ = "M2M" +_OBOTE = "ON_BEHALF_OF_TOKEN_EXCHANGE" +_RORUT = "ResourceOauth2ReturnUrlType" +_RTe = "ResourceType" +_RLT = "ResourcesListType" +_STc = "ScopeType" +_SLT = "ScopesListType" +_GROTI = "GetResourceOauth2TokenInput" +_cGROTR = "com.amazonaws.bedrockagentcore#GetResourceOauth2TokenRequest" +_sco = "scopes" +_oF = "oauth2Flow" +_rORU = "resourceOauth2ReturnUrl" +_fA = "forceAuthentication" +_cP = "customParameters" +_cSu = "customState" +_reso = "resources" +_au = "audiences" +_AUT = "AuthorizationUrlType" +_SSe = "SessionStatus" +_GROTO = "GetResourceOauth2TokenOutput" +_cGROTRo = "com.amazonaws.bedrockagentcore#GetResourceOauth2TokenResponse" +_aU = "authorizationUrl" +_aTc = "accessToken" +_sSes = "sessionStatus" +_GROT = "GetResourceOauth2Token" +_CCPRBT = "CoinbaseCdpPaymentRequestBodyType" +_PRHT = "PaymentRequestHostType" +_PHMT = "PaymentHttpMethodType" +_GET = "GET" +_POST = "POST" +_PUT = "PUT" +_DELETE = "DELETE" +_PATCH = "PATCH" +_PRPT = "PaymentRequestPathType" +_CCTRI = "CoinbaseCdpTokenRequestInput" +_rM = "requestMethod" +_rH = "requestHost" +_rP = "requestPath" +_iWAT = "includeWalletAuthToken" +_rB = "requestBody" +_SPRBT = "StripePrivyRequestBodyType" +_SPRHT = "StripePrivyRequestHostType" +_SPRPT = "StripePrivyRequestPathType" +_SPTRI = "StripePrivyTokenRequestInput" +_iAS = "includeAuthorizationSignature" +_PTRI = "PaymentTokenRequestInput" +_cCTR = "coinbaseCdpTokenRequest" +_sPTR = "stripePrivyTokenRequest" +_GRPTI = "GetResourcePaymentTokenInput" +_cGRPTR = "com.amazonaws.bedrockagentcore#GetResourcePaymentTokenRequest" +_pTR = "paymentTokenRequest" +_CCPJTT = "CoinbaseCdpPaymentJwtTokenType" +_CCTRO = "CoinbaseCdpTokenResponseOutput" +_bT = "bearerToken" +_wAT = "walletAuthToken" +_SPAIT = "StripePrivyAppIdType" +_SPAST = "StripePrivyAuthorizationSignatureType" +_SPBATT = "StripePrivyBasicAuthTokenType" +_SPTRO = "StripePrivyTokenResponseOutput" +_aSu = "authorizationSignature" +_rE = "requestExpiry" +_aIp = "appId" +_bAT = "basicAuthToken" +_PTRO = "PaymentTokenResponseOutput" +_cCTRo = "coinbaseCdpTokenResponse" +_sPTRt = "stripePrivyTokenResponse" +_GRPTO = "GetResourcePaymentTokenOutput" +_cGRPTRo = "com.amazonaws.bedrockagentcore#GetResourcePaymentTokenResponse" +_pTRa = "paymentTokenResponse" +_GRPT = "GetResourcePaymentToken" + +RECOMMENDATION_CONFIG: StaticSchema = ( + 19, + n0, + _RCec, + 0, + (_sPRC, _tDRC), + ( + (lambda: schemas.SYSTEM_PROMPT_RECOMMENDATION_CONFIG, 0), + (lambda: schemas.TOOL_DESCRIPTION_RECOMMENDATION_CONFIG, 0), + ), +) + +RECOMMENDATION_RESULT_CONFIGURATION_BUNDLE: StaticSchema = ( + 18, + n0, + _RRCB, + 0, + (_bAu, _vI), + ( + (lambda: schemas.CONFIGURATION_BUNDLE_ARN, 1), + (lambda: schemas.CONFIGURATION_BUNDLE_VERSION_ID, 1), + ), +) + +RECOMMENDATION_ERROR_CODE: StaticSchema = (3, n0, _RECe, 0) + +RECOMMENDATION_ERROR_MESSAGE: StaticSchema = (3, n0, _REM, 0) + +RECOMMENDATION_EXPLANATION: StaticSchema = (3, n0, _RE, 0) + +SYSTEM_PROMPT_RECOMMENDATION_RESULT: StaticSchema = ( + 18, + n0, + _SPRR, + 0, + (_rSP, _cB, _ex, _eCr, _eMr), + ( + (lambda: schemas.SYSTEM_PROMPT_TEXT, 0), + (RECOMMENDATION_RESULT_CONFIGURATION_BUNDLE, 0), + (RECOMMENDATION_EXPLANATION, 0), + (RECOMMENDATION_ERROR_CODE, 0), + (RECOMMENDATION_ERROR_MESSAGE, 0), + ), +) + +TOOL_DESCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _TDO, + 0, + (_tNo, _rTD, _ex), + ( + (lambda: schemas.RECOMMENDATION_TOOL_NAME, 1), + (lambda: schemas.TOOL_DESCRIPTION_TEXT, 0), + (RECOMMENDATION_EXPLANATION, 0), + ), +) + +TOOL_DESCRIPTION_RESULT_LIST: StaticSchema = ( + 16, + n0, + _TDRL, + 0, + (_m,), + ((TOOL_DESCRIPTION_OUTPUT, 0),), +) + +TOOL_DESCRIPTION_RECOMMENDATION_RESULT: StaticSchema = ( + 18, + n0, + _TDRR, + 0, + (_to, _cB, _eCr, _eMr), + ( + (TOOL_DESCRIPTION_RESULT_LIST, 0), + (RECOMMENDATION_RESULT_CONFIGURATION_BUNDLE, 0), + (RECOMMENDATION_ERROR_CODE, 0), + (RECOMMENDATION_ERROR_MESSAGE, 0), + ), +) + +RECOMMENDATION_RESULT: StaticSchema = ( + 19, + n0, + _RR, + 0, + (_sPRR, _tDRR), + ( + (SYSTEM_PROMPT_RECOMMENDATION_RESULT, 0), + (TOOL_DESCRIPTION_RECOMMENDATION_RESULT, 0), + ), +) + +RECOMMENDATION_TYPE: StaticSchema = ( + 14, + n0, + _RT, + 0, + (_SPR, _TDR), + ((-1, {_sVm: _SPR}), (-1, {_sVm: _TDR})), +) + +LIST_AB_TESTS_INPUT: StaticSchema = ( + 18, + n0, + _LABTI, + {_sSI: _cLABTR, _smit: None}, + (_mR, _nT), + ((7, {_sQ: _mR}), (3, {_sQ: _nT})), +) + +LIST_AB_TESTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LABTO, + {_sSI: _cLABTRo, _smith: None}, + (_aTb, _nT), + ((lambda: schemas.AB_TEST_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_AB_TESTS: StaticOperationSchema = ( + 23, + n0, + _LABT, + {_smithy: MappingProxyType({"method": "GET", "uri": "/ab-tests"})}, + LIST_AB_TESTS_INPUT, + LIST_AB_TESTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_BATCH_EVALUATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LBEI, + {_sSI: _cLBER, _smit: None}, + (_mR, _nT), + ((7, {_sQ: _mR}), (3, {_sQ: _nT})), +) + +LIST_BATCH_EVALUATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBEO, + {_sSI: _cLBERo, _smith: None}, + (_bEa, _nT), + ((lambda: BATCH_EVALUATION_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_BATCH_EVALUATIONS: StaticOperationSchema = ( + 23, + n0, + _LBE, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/evaluations/batch-evaluate"} + ) + }, + LIST_BATCH_EVALUATIONS_INPUT, + LIST_BATCH_EVALUATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BATCH_EVALUATION_SUMMARY: StaticSchema = ( + 18, + n0, + _BESa, + 0, + (_bEI, _bEA, _bEN, _st, _cA, _d, _ev, _in, _eRv, _eD, _kKA, _uA), + ( + (lambda: schemas.BATCH_EVALUATION_ID, 1), + (lambda: schemas.BATCH_EVALUATION_ARN, 1), + (lambda: schemas.BATCH_EVALUATION_NAME, 1), + (lambda: schemas.BATCH_EVALUATION_STATUS, 1), + (4, {_sF: _dt, _s: None}), + (lambda: schemas.BATCH_EVALUATION_DESCRIPTION, 0), + (lambda: schemas.EVALUATOR_LIST, 0), + (lambda: schemas.INSIGHT_LIST, 0), + (lambda: schemas.EVALUATION_JOB_RESULTS, 0), + (lambda: schemas.ERROR_DETAILS_LIST, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (4, {_sF: _dt}), + ), +) + +BATCH_EVALUATION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _BESL, + 0, + (_m,), + ((BATCH_EVALUATION_SUMMARY, 0),), +) + +LIST_RECOMMENDATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LRI, + {_sSI: _cLRR, _smit: None}, + (_mR, _nT, _sFt), + ( + (7, {_sQ: _mR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (lambda: schemas.RECOMMENDATION_STATUS, {_sQ: _st}), + ), +) + +LIST_RECOMMENDATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRO, + {_sSI: _cLRRo, _smith: None}, + (_rS, _nT), + ((lambda: RECOMMENDATION_SUMMARY_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_RECOMMENDATIONS: StaticOperationSchema = ( + 23, + n0, + _LR, + {_smithy: MappingProxyType({"method": "GET", "uri": "/recommendations"})}, + LIST_RECOMMENDATIONS_INPUT, + LIST_RECOMMENDATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RECOMMENDATION_SUMMARY: StaticSchema = ( + 18, + n0, + _RSec, + 0, + (_rI, _rAe, _n, _d, _ty, _st, _cA, _uA), + ( + (lambda: schemas.RECOMMENDATION_ID, 1), + (lambda: schemas.RECOMMENDATION_ARN, 1), + (lambda: schemas.RECOMMENDATION_NAME, 1), + (lambda: schemas.RECOMMENDATION_DESCRIPTION, 0), + (RECOMMENDATION_TYPE, 1), + (lambda: schemas.RECOMMENDATION_STATUS, 1), + (4, {_sF: _dt, _s: None}), + (4, {_sF: _dt, _s: None}), + ), +) + +RECOMMENDATION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _RSL, + 0, + (_m,), + ((RECOMMENDATION_SUMMARY, 0),), +) + +GROUND_TRUTH_TURN_INPUT: StaticSchema = (19, n0, _GTTI, 0, (_prom,), ((3, 0),)) + +GROUND_TRUTH_TURN: StaticSchema = ( + 18, + n0, + _GTT, + 0, + (_inp, _eR), + ((GROUND_TRUTH_TURN_INPUT, 0), (lambda: schemas.EVALUATION_CONTENT, 0)), +) + +GROUND_TRUTH_TURN_LIST: StaticSchema = ( + 16, + n0, + _GTTL, + 0, + (_m,), + ((GROUND_TRUTH_TURN, 0),), +) + +INLINE_GROUND_TRUTH: StaticSchema = ( + 18, + n0, + _IGT, + 0, + (_as, _eTx, _tu), + ( + (lambda: schemas.EVALUATION_CONTENT_LIST, 0), + (lambda: schemas.EVALUATION_EXPECTED_TRAJECTORY, 0), + (GROUND_TRUTH_TURN_LIST, 0), + ), +) + +GROUND_TRUTH_SOURCE: StaticSchema = ( + 19, + n0, + _GTS, + 0, + (_inl,), + ((INLINE_GROUND_TRUTH, 0),), +) + +STRING_MAP: StaticSchema = (17, n0, _SM, 0, (_k, _va), ((3, 0), (3, 0))) + +SESSION_METADATA_SHAPE: StaticSchema = ( + 18, + n0, + _SMS, + 0, + (_sIe, _tSI, _gT, _met), + ((3, 1), (3, 0), (GROUND_TRUTH_SOURCE, 0), (STRING_MAP, 0)), +) + +SESSION_METADATA_LIST: StaticSchema = ( + 16, + n0, + _SMLe, + 0, + (_m,), + ((SESSION_METADATA_SHAPE, 0),), +) + +EVALUATION_METADATA: StaticSchema = ( + 19, + n0, + _EMv, + 0, + (_sMes,), + ((SESSION_METADATA_LIST, 0),), +) + +START_BATCH_EVALUATION_INPUT: StaticSchema = ( + 18, + n0, + _SBEI, + {_sSI: _cSBER, _smit: None}, + (_bEN, _ev, _in, _dSC, _cTl, _eMv, _tag, _kKA, _d, _oC), + ( + (lambda: schemas.BATCH_EVALUATION_NAME, 1), + (lambda: schemas.EVALUATOR_LIST, 0), + (lambda: schemas.INSIGHT_LIST, 0), + (lambda: schemas.DATA_SOURCE_CONFIG, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + (EVALUATION_METADATA, 0), + (lambda: schemas.TAGS_MAP, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.BATCH_EVALUATION_DESCRIPTION, 0), + (lambda: schemas.OUTPUT_CONFIG, 0), + ), +) + +START_BATCH_EVALUATION_OUTPUT: StaticSchema = ( + 18, + n0, + _SBEO, + {_sSI: _cSBERo, _smith: None}, + (_bEI, _bEA, _bEN, _ev, _in, _st, _cA, _oC, _tag, _kKA, _d), + ( + (lambda: schemas.BATCH_EVALUATION_ID, 1), + (lambda: schemas.BATCH_EVALUATION_ARN, 1), + (lambda: schemas.BATCH_EVALUATION_NAME, 1), + (lambda: schemas.EVALUATOR_LIST, 0), + (lambda: schemas.INSIGHT_LIST, 0), + (lambda: schemas.BATCH_EVALUATION_STATUS, 1), + (4, {_sF: _dt, _s: None}), + (lambda: schemas.OUTPUT_CONFIG, 0), + (lambda: schemas.TAGS_MAP, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.BATCH_EVALUATION_DESCRIPTION, 0), + ), +) + +START_BATCH_EVALUATION: StaticOperationSchema = ( + 23, + n0, + _SBE, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/evaluations/batch-evaluate", "code": 202} + ) + }, + START_BATCH_EVALUATION_INPUT, + START_BATCH_EVALUATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +START_RECOMMENDATION_INPUT: StaticSchema = ( + 18, + n0, + _SRI, + {_sSI: _cSRR, _smit: None}, + (_n, _d, _ty, _rCe, _kKA, _cTl, _tag), + ( + (lambda: schemas.RECOMMENDATION_NAME, 1), + (lambda: schemas.RECOMMENDATION_DESCRIPTION, 0), + (RECOMMENDATION_TYPE, 1), + (RECOMMENDATION_CONFIG, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS_MAP, 0), + ), +) + +START_RECOMMENDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _SRO, + {_sSI: _cSRRo, _smith: None}, + (_rI, _rAe, _n, _d, _ty, _rCe, _st, _cA, _uA), + ( + (lambda: schemas.RECOMMENDATION_ID, 1), + (lambda: schemas.RECOMMENDATION_ARN, 1), + (lambda: schemas.RECOMMENDATION_NAME, 1), + (lambda: schemas.RECOMMENDATION_DESCRIPTION, 0), + (RECOMMENDATION_TYPE, 1), + (RECOMMENDATION_CONFIG, 1), + (lambda: schemas.RECOMMENDATION_STATUS, 1), + (4, {_sF: _dt, _s: None}), + (4, {_sF: _dt, _s: None}), + ), +) + +START_RECOMMENDATION: StaticOperationSchema = ( + 23, + n0, + _SRt, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/recommendations", "code": 202} + ) + }, + START_RECOMMENDATION_INPUT, + START_RECOMMENDATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +STOP_BATCH_EVALUATION_INPUT: StaticSchema = ( + 18, + n0, + _SBEIt, + {_sSI: _cSBERom, _smit: None}, + (_bEI,), + ((lambda: schemas.BATCH_EVALUATION_ID, 9),), +) + +STOP_BATCH_EVALUATION_OUTPUT: StaticSchema = ( + 18, + n0, + _SBEOt, + {_sSI: _cSBERoma, _smith: None}, + (_bEI, _bEA, _st, _d), + ( + (lambda: schemas.BATCH_EVALUATION_ID, 1), + (lambda: schemas.BATCH_EVALUATION_ARN, 1), + (lambda: schemas.BATCH_EVALUATION_STATUS, 1), + (lambda: schemas.BATCH_EVALUATION_DESCRIPTION, 0), + ), +) + +STOP_BATCH_EVALUATION: StaticOperationSchema = ( + 23, + n0, + _SBEt, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/evaluations/batch-evaluate/{batchEvaluationId}/stop", + "code": 202, + } + ) + }, + STOP_BATCH_EVALUATION_INPUT, + STOP_BATCH_EVALUATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_AB_TEST_INPUT: StaticSchema = ( + 18, + n0, + _UABTI, + {_sSI: _cUABTR, _smit: None}, + (_aTI, _cTl, _n, _d, _var, _gF, _eCv, _rA, _eS), + ( + (lambda: schemas.AB_TEST_ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.AB_TEST_NAME, 0), + (lambda: schemas.AB_TEST_DESCRIPTION, 0), + (lambda: schemas.VARIANT_LIST, 0), + (lambda: schemas.GATEWAY_FILTER, 0), + (lambda: schemas.AB_TEST_EVALUATION_CONFIG, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.AB_TEST_EXECUTION_STATUS, 0), + ), +) + +UPDATE_AB_TEST_OUTPUT: StaticSchema = ( + 18, + n0, + _UABTO, + {_sSI: _cUABTRo, _smith: None}, + (_aTI, _aTA, _st, _eS, _uA), + ( + (lambda: schemas.AB_TEST_ID, 1), + (lambda: schemas.AB_TEST_ARN, 1), + (lambda: schemas.AB_TEST_STATUS, 1), + (lambda: schemas.AB_TEST_EXECUTION_STATUS, 1), + (4, 1), + ), +) + +UPDATE_AB_TEST: StaticOperationSchema = ( + 23, + n0, + _UABT, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/ab-tests/{abTestId}", "code": 202} + ) + }, + UPDATE_AB_TEST_INPUT, + UPDATE_AB_TEST_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREDENTIAL_PROVIDER_NAME: StaticSchema = (3, n0, _CPN, 0) + +GET_RESOURCE_API_KEY_INPUT: StaticSchema = ( + 18, + n0, + _GRAKI, + {_sSI: _cGRAKR, _smit: None}, + (_wIT, _rCPN), + ((lambda: schemas.WORKLOAD_IDENTITY_TOKEN_TYPE, 1), (CREDENTIAL_PROVIDER_NAME, 1)), +) + +GET_RESOURCE_API_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRAKO, + {_sSI: _cGRAKRo, _smith: None}, + (_aK,), + ((lambda: API_KEY_TYPE, 1),), +) + +GET_RESOURCE_API_KEY: StaticOperationSchema = ( + 23, + n0, + _GRAK, + {_smithy: MappingProxyType({"uri": "/identities/api-key", "method": "POST"})}, + GET_RESOURCE_API_KEY_INPUT, + GET_RESOURCE_API_KEY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +API_KEY_TYPE: StaticSchema = (3, n0, _AKT, 4) + +AUDIENCE_TYPE: StaticSchema = (3, n0, _AT, 0) + +AUDIENCES_LIST_TYPE: StaticSchema = (16, n0, _ALT, 0, (_m,), ((AUDIENCE_TYPE, 0),)) + +CUSTOM_REQUEST_KEY_TYPE: StaticSchema = (3, n0, _CRKT, 0) + +CUSTOM_REQUEST_VALUE_TYPE: StaticSchema = (3, n0, _CRVT, 4) + +CUSTOM_REQUEST_PARAMETERS_TYPE: StaticSchema = ( + 17, + n0, + _CRPT, + 0, + (_k, _va), + ((CUSTOM_REQUEST_KEY_TYPE, 0), (CUSTOM_REQUEST_VALUE_TYPE, 0)), +) + +STATE: StaticSchema = (3, n0, _Sta, 4) + +OAUTH2_FLOW_TYPE: StaticSchema = ( + 14, + n0, + _OFT, + 0, + (_UF_, _MM_, _OBOTE), + ((-1, {_sVm: _UF_}), (-1, {_sVm: _MM_}), (-1, {_sVm: _OBOTE})), +) + +RESOURCE_OAUTH2_RETURN_URL_TYPE: StaticSchema = (3, n0, _RORUT, 0) + +RESOURCE_TYPE: StaticSchema = (3, n0, _RTe, 0) + +RESOURCES_LIST_TYPE: StaticSchema = (16, n0, _RLT, 0, (_m,), ((RESOURCE_TYPE, 0),)) + +SCOPE_TYPE: StaticSchema = (3, n0, _STc, 0) + +SCOPES_LIST_TYPE: StaticSchema = (16, n0, _SLT, 0, (_m,), ((SCOPE_TYPE, 0),)) + +GET_RESOURCE_OAUTH2_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _GROTI, + {_sSI: _cGROTR, _smit: None}, + (_wIT, _rCPN, _sco, _oF, _sUe, _rORU, _fA, _cP, _cSu, _reso, _au), + ( + (lambda: schemas.WORKLOAD_IDENTITY_TOKEN_TYPE, 1), + (CREDENTIAL_PROVIDER_NAME, 1), + (SCOPES_LIST_TYPE, 1), + (OAUTH2_FLOW_TYPE, 1), + (lambda: schemas.REQUEST_URI, 0), + (RESOURCE_OAUTH2_RETURN_URL_TYPE, 0), + (2, 0), + (CUSTOM_REQUEST_PARAMETERS_TYPE, 0), + (STATE, 0), + (RESOURCES_LIST_TYPE, 0), + (AUDIENCES_LIST_TYPE, 0), + ), +) + +GET_RESOURCE_OAUTH2_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _GROTO, + {_sSI: _cGROTRo, _smith: None}, + (_aU, _aTc, _sUe, _sSes), + ( + (lambda: AUTHORIZATION_URL_TYPE, 0), + (lambda: schemas.ACCESS_TOKEN_TYPE, 0), + (lambda: schemas.REQUEST_URI, 0), + (lambda: SESSION_STATUS, 0), + ), +) + +GET_RESOURCE_OAUTH2_TOKEN: StaticOperationSchema = ( + 23, + n0, + _GROT, + {_smithy: MappingProxyType({"uri": "/identities/oauth2/token", "method": "POST"})}, + GET_RESOURCE_OAUTH2_TOKEN_INPUT, + GET_RESOURCE_OAUTH2_TOKEN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTHORIZATION_URL_TYPE: StaticSchema = (3, n0, _AUT, 4) + +SESSION_STATUS: StaticSchema = ( + 14, + n0, + _SSe, + 0, + (_IP, _FAILED), + ((-1, {_sVm: _IP}), (-1, {_sVm: _FAILED})), +) + +COINBASE_CDP_PAYMENT_REQUEST_BODY_TYPE: StaticSchema = (3, n0, _CCPRBT, 0) + +PAYMENT_REQUEST_HOST_TYPE: StaticSchema = (3, n0, _PRHT, 0) + +PAYMENT_HTTP_METHOD_TYPE: StaticSchema = ( + 14, + n0, + _PHMT, + 0, + (_GET, _POST, _PUT, _DELETE, _PATCH), + ( + (-1, {_sVm: _GET}), + (-1, {_sVm: _POST}), + (-1, {_sVm: _PUT}), + (-1, {_sVm: _DELETE}), + (-1, {_sVm: _PATCH}), + ), +) + +PAYMENT_REQUEST_PATH_TYPE: StaticSchema = (3, n0, _PRPT, 0) + +COINBASE_CDP_TOKEN_REQUEST_INPUT: StaticSchema = ( + 18, + n0, + _CCTRI, + 0, + (_rM, _rH, _rP, _iWAT, _rB), + ( + (PAYMENT_HTTP_METHOD_TYPE, 1), + (PAYMENT_REQUEST_HOST_TYPE, 0), + (PAYMENT_REQUEST_PATH_TYPE, 1), + (2, {_smithyap: False}), + (COINBASE_CDP_PAYMENT_REQUEST_BODY_TYPE, 0), + ), +) + +STRIPE_PRIVY_REQUEST_BODY_TYPE: StaticSchema = (3, n0, _SPRBT, 4) + +STRIPE_PRIVY_REQUEST_HOST_TYPE: StaticSchema = (3, n0, _SPRHT, 0) + +STRIPE_PRIVY_REQUEST_PATH_TYPE: StaticSchema = (3, n0, _SPRPT, 0) + +STRIPE_PRIVY_TOKEN_REQUEST_INPUT: StaticSchema = ( + 18, + n0, + _SPTRI, + 0, + (_rH, _rP, _rB, _iAS), + ( + (STRIPE_PRIVY_REQUEST_HOST_TYPE, 0), + (STRIPE_PRIVY_REQUEST_PATH_TYPE, 1), + (STRIPE_PRIVY_REQUEST_BODY_TYPE, 1), + (2, {_smithyap: False}), + ), +) + +PAYMENT_TOKEN_REQUEST_INPUT: StaticSchema = ( + 19, + n0, + _PTRI, + 0, + (_cCTR, _sPTR), + ((COINBASE_CDP_TOKEN_REQUEST_INPUT, 0), (STRIPE_PRIVY_TOKEN_REQUEST_INPUT, 0)), +) + +GET_RESOURCE_PAYMENT_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _GRPTI, + {_sSI: _cGRPTR, _smit: None}, + (_wIT, _rCPN, _pTR), + ( + (lambda: schemas.WORKLOAD_IDENTITY_TOKEN_TYPE, 1), + (CREDENTIAL_PROVIDER_NAME, 1), + (PAYMENT_TOKEN_REQUEST_INPUT, 1), + ), +) + +GET_RESOURCE_PAYMENT_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPTO, + {_sSI: _cGRPTRo, _smith: None}, + (_pTRa,), + ((lambda: PAYMENT_TOKEN_RESPONSE_OUTPUT, 1),), +) + +GET_RESOURCE_PAYMENT_TOKEN: StaticOperationSchema = ( + 23, + n0, + _GRPT, + {_smithy: MappingProxyType({"uri": "/identities/payment/token", "method": "POST"})}, + GET_RESOURCE_PAYMENT_TOKEN_INPUT, + GET_RESOURCE_PAYMENT_TOKEN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +COINBASE_CDP_PAYMENT_JWT_TOKEN_TYPE: StaticSchema = (3, n0, _CCPJTT, 4) + +COINBASE_CDP_TOKEN_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _CCTRO, + 0, + (_bT, _wAT), + ( + (COINBASE_CDP_PAYMENT_JWT_TOKEN_TYPE, 1), + (COINBASE_CDP_PAYMENT_JWT_TOKEN_TYPE, 0), + ), +) + +STRIPE_PRIVY_APP_ID_TYPE: StaticSchema = (3, n0, _SPAIT, 0) + +STRIPE_PRIVY_AUTHORIZATION_SIGNATURE_TYPE: StaticSchema = (3, n0, _SPAST, 4) + +STRIPE_PRIVY_BASIC_AUTH_TOKEN_TYPE: StaticSchema = (3, n0, _SPBATT, 4) + +STRIPE_PRIVY_TOKEN_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _SPTRO, + 0, + (_aSu, _rE, _aIp, _bAT), + ( + (STRIPE_PRIVY_AUTHORIZATION_SIGNATURE_TYPE, 0), + (8, 0), + (STRIPE_PRIVY_APP_ID_TYPE, 1), + (STRIPE_PRIVY_BASIC_AUTH_TOKEN_TYPE, 1), + ), +) + +PAYMENT_TOKEN_RESPONSE_OUTPUT: StaticSchema = ( + 19, + n0, + _PTRO, + 0, + (_cCTRo, _sPTRt), + ((COINBASE_CDP_TOKEN_RESPONSE_OUTPUT, 0), (STRIPE_PRIVY_TOKEN_RESPONSE_OUTPUT, 0)), +) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_5.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_5.py new file mode 100644 index 000000000..2a24ccf49 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_5.py @@ -0,0 +1,1145 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcore" +_s = "smithy.api#required" +_n = "name" +_m = "member" +_sVm = "smithy.api#enumValue" +_FAILED = "FAILED" +_st = "status" +_d = "description" +_gA = "gatewayArn" +_smi = "smithy.api#sensitive" +_tI = "traceId" +_sIe = "sessionId" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sH = "smithy.api#httpHeader" +_sL = "smithy.api#httpLabel" +_smith = "smithy.api#output" +_sP = "smithy.api#httpPayload" +_smithy = "smithy.api#http" +_XATI = "X-Amzn-Trace-Id" +_tP = "traceParent" +_t = "traceparent" +_smithya = "smithy.api#streaming" +_smithyap = "smithy.api#default" +_com = "command" +_std = "stdout" +_stde = "stderr" +_COMPLETED = "COMPLETED" +_eC = "exitCode" +_aDE = "accessDeniedException" +_iSE = "internalServerException" +_rNFE = "resourceNotFoundException" +_sQEE = "serviceQuotaExceededException" +_tE = "throttlingException" +_vE = "validationException" +_str = "stream" +_k = "key" +_va = "value" +_s_ = "s3" +_ty = "type" +_te = "text" +_SUCCESS = "SUCCESS" +_er = "error" +_da = "data" +_resu = "result" +_cII = "codeInterpreterIdentifier" +_uT = "userToken" +_uI = "userId" +_inp = "input" +_sco = "scopes" +_cP = "customParameters" +_WINT = "WorkloadIdentityNameType" +_GWATI = "GetWorkloadAccessTokenInput" +_cGWATR = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenRequest" +_wN = "workloadName" +_GWATO = "GetWorkloadAccessTokenOutput" +_cGWATRo = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenResponse" +_wATo = "workloadAccessToken" +_GWAT = "GetWorkloadAccessToken" +_GWATFJWTI = "GetWorkloadAccessTokenForJWTInput" +_cGWATFJWTR = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenForJWTRequest" +_GWATFJWTO = "GetWorkloadAccessTokenForJWTOutput" +_cGWATFJWTRo = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenForJWTResponse" +_GWATFJWT = "GetWorkloadAccessTokenForJWT" +_GWATFUII = "GetWorkloadAccessTokenForUserIdInput" +_cGWATFUIR = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenForUserIdRequest" +_GWATFUIO = "GetWorkloadAccessTokenForUserIdOutput" +_cGWATFUIRo = "com.amazonaws.bedrockagentcore#GetWorkloadAccessTokenForUserIdResponse" +_GWATFUI = "GetWorkloadAccessTokenForUserId" +_MLS = "MaxLenString" +_ICB = "InputContentBlock" +_pa = "path" +_bl = "blob" +_ICBL = "InputContentBlockList" +_PL = "ProgrammingLanguage" +_PYTHON = "PYTHON" +_py = "python" +_JAVASCRIPT = "JAVASCRIPT" +_j = "javascript" +_TYPESCRIPT = "TYPESCRIPT" +_typ = "typescript" +_SLt = "StringList" +_LRa = "LanguageRuntime" +_NODEJS = "NODEJS" +_no = "nodejs" +_DENO = "DENO" +_de = "deno" +_TA = "ToolArguments" +_cod = "code" +_lan = "language" +_cCl = "clearContext" +_pat = "paths" +_cont = "content" +_dPi = "directoryPath" +_tIas = "taskId" +_run = "runtime" +_TNo = "ToolName" +_EC_ = "EXECUTE_CODE" +_eCx = "executeCode" +_EC__ = "EXECUTE_COMMAND" +_eCxe = "executeCommand" +_RF = "READ_FILES" +_rF = "readFiles" +_LF = "LIST_FILES" +_lF = "listFiles" +_RF_ = "REMOVE_FILES" +_rFe = "removeFiles" +_WF = "WRITE_FILES" +_wF = "writeFiles" +_SCE = "START_COMMAND_EXECUTION" +_sCE = "startCommandExecution" +_GT_ = "GET_TASK" +_gTe = "getTask" +_ST_ = "STOP_TASK" +_sTto = "stopTask" +_ICII = "InvokeCodeInterpreterInput" +_cICIR = "com.amazonaws.bedrockagentcore#InvokeCodeInterpreterRequest" +_xacisi = "x-amzn-code-interpreter-session-id" +_ar = "arguments" +_RCT = "ResourceContentType" +_TEXT = "TEXT" +_BLOB = "BLOB" +_RCeso = "ResourceContent" +_ur = "uri" +_mT = "mimeType" +_CBT = "ContentBlockType" +_IMAGE = "IMAGE" +_im = "image" +_ER_ = "EMBEDDED_RESOURCE" +_resou = "resource" +_RL_ = "RESOURCE_LINK" +_rl = "resource_link" +_CB = "ContentBlock" +_siz = "size" +_CBL = "ContentBlockList" +_TS = "TaskStatus" +_SUBMITTED = "SUBMITTED" +_su = "submitted" +_WORKING = "WORKING" +_wo = "working" +_comp = "completed" +_CANCELED = "CANCELED" +_can = "canceled" +_fai = "failed" +_TRSC = "ToolResultStructuredContent" +_tSa = "taskStatus" +_eTxe = "executionTime" +_CIR = "CodeInterpreterResult" +_sCt = "structuredContent" +_iE = "isError" +_CISO = "CodeInterpreterStreamOutput" +_cE = "conflictException" +_ICIO = "InvokeCodeInterpreterOutput" +_cICIRo = "com.amazonaws.bedrockagentcore#InvokeCodeInterpreterResponse" +_ICI = "InvokeCodeInterpreter" +_HAT = "HarnessAllowedTool" +_HATa = "HarnessAllowedTools" +_HA = "HarnessArn" +_HRTB = "HarnessReasoningTextBlock" +_sig = "signature" +_HRCB = "HarnessReasoningContentBlock" +_rT = "reasoningText" +_rCed = "redactedContent" +_STe = "SensitiveText" +_SJ = "SensitiveJson" +_HTRCB = "HarnessToolResultContentBlock" +_js = "json" +_HTRCBa = "HarnessToolResultContentBlocks" +_HTUS = "HarnessToolUseStatus" +_suc = "success" +_ERROR = "ERROR" +_HTUI = "HarnessToolUseId" +_HTUT = "HarnessToolUseType" +_TU_ = "TOOL_USE" +_tu_ = "tool_use" +_STU = "SERVER_TOOL_USE" +_stu = "server_tool_use" +_MTU = "MCP_TOOL_USE" +_mtu = "mcp_tool_use" +_HTRB = "HarnessToolResultBlock" +_tUI = "toolUseId" +_HTN = "HarnessToolName" +_HTUB = "HarnessToolUseBlock" +_sNe = "serverName" +_HCB = "HarnessContentBlock" +_tUo = "toolUse" +_tRo = "toolResult" +_rCea = "reasoningContent" +_HCBa = "HarnessContentBlocks" +_HCR = "HarnessConversationRole" +_USER = "USER" +_us = "user" +_ASSISTANT = "ASSISTANT" +_ass = "assistant" +_HMa = "HarnessMessage" +_ro = "role" +_HMar = "HarnessMessages" +_HBAF = "HarnessBedrockApiFormat" +_CS_ = "CONVERSE_STREAM" +_cs = "converse_stream" +_RESPONSES = "RESPONSES" +_resp = "responses" +_CC = "CHAT_COMPLETIONS" +_cc = "chat_completions" +_MTa = "MaxTokens" +_MI = "ModelId" +_T = "Temperature" +_TP = "TopP" +_HBMC = "HarnessBedrockModelConfig" +_mI = "modelId" +_mTa = "maxTokens" +_tem = "temperature" +_tPo = "topP" +_aF = "apiFormat" +_aP = "additionalParams" +_AKA = "ApiKeyArn" +_TKo = "TopK" +_HGMC = "HarnessGeminiModelConfig" +_aKA = "apiKeyArn" +_tK = "topK" +_HLLAB = "HarnessLiteLlmApiBase" +_HLLMC = "HarnessLiteLlmModelConfig" +_aB = "apiBase" +_HOAAB = "HarnessOpenAiApiBase" +_HOAAF = "HarnessOpenAiApiFormat" +_HOAMC = "HarnessOpenAiModelConfig" +_HMC = "HarnessModelConfiguration" +_bMC = "bedrockModelConfig" +_oAMC = "openAiModelConfig" +_gMC = "geminiModelConfig" +_lLMC = "liteLlmModelConfig" +_HEN = "HarnessEndpointName" +_HASP = "HarnessAwsSkillPath" +_HASPa = "HarnessAwsSkillPaths" +_HSASS = "HarnessSkillAwsSkillsSource" +_HSGA = "HarnessSkillGitAuth" +_cAr = "credentialArn" +_use = "username" +_HSGU = "HarnessSkillGitUrl" +_HSGS = "HarnessSkillGitSource" +_url = "url" +_aut = "auth" +_HSP = "HarnessSkillPath" +_HSSU = "HarnessSkillS3Uri" +_HSSS = "HarnessSkillS3Source" +_HS = "HarnessSkill" +_g = "git" +_aSw = "awsSkills" +_HSa = "HarnessSkills" +_HSCB = "HarnessSystemContentBlock" +_HSPa = "HarnessSystemPrompt" +_HBA = "HarnessBrowserArn" +_HACBC = "HarnessAgentCoreBrowserConfig" +_bAr = "browserArn" +_HCIA = "HarnessCodeInterpreterArn" +_HACCIC = "HarnessAgentCoreCodeInterpreterConfig" +_cIA = "codeInterpreterArn" +_OACPK = "OAuthCustomParametersKey" +_OACPV = "OAuthCustomParametersValue" +_OACP = "OAuthCustomParameters" +_OADRU = "OAuthDefaultReturnUrl" +_OAGT = "OAuthGrantType" +_CC_ = "CLIENT_CREDENTIALS" +_AC_ = "AUTHORIZATION_CODE" +_TE_ = "TOKEN_EXCHANGE" +_OACPA = "OAuthCredentialProviderArn" +_OAS = "OAuthScope" +_OASu = "OAuthScopes" +_OACPu = "OAuthCredentialProvider" +_pA = "providerArn" +_gTr = "grantType" +_dRU = "defaultReturnUrl" +_HGOA = "HarnessGatewayOutboundAuth" +_aIw = "awsIam" +_non = "none" +_oa = "oauth" +_HACGC = "HarnessAgentCoreGatewayConfig" +_oA = "outboundAuth" +_HIFD = "HarnessInlineFunctionDescription" +_HIFC = "HarnessInlineFunctionConfig" +_iSn = "inputSchema" +_HHK = "HttpHeaderKey" +_HHV = "HttpHeaderValue" +_HHM = "HttpHeadersMap" +_ICP = "IamCredentialProvider" +_ser = "service" +_reg = "region" +_HRMOA = "HarnessRemoteMcpOutboundAuth" +_HRMU = "HarnessRemoteMcpUrl" +_HRMC = "HarnessRemoteMcpConfig" +_he = "headers" + +WORKLOAD_IDENTITY_NAME_TYPE: StaticSchema = (3, n0, _WINT, 0) + +GET_WORKLOAD_ACCESS_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _GWATI, + {_sSI: _cGWATR, _smit: None}, + (_wN,), + ((WORKLOAD_IDENTITY_NAME_TYPE, 1),), +) + +GET_WORKLOAD_ACCESS_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _GWATO, + {_sSI: _cGWATRo, _smith: None}, + (_wATo,), + ((lambda: schemas.WORKLOAD_IDENTITY_TOKEN_TYPE, 1),), +) + +GET_WORKLOAD_ACCESS_TOKEN: StaticOperationSchema = ( + 23, + n0, + _GWAT, + { + _smithy: MappingProxyType( + {"uri": "/identities/GetWorkloadAccessToken", "method": "POST"} + ) + }, + GET_WORKLOAD_ACCESS_TOKEN_INPUT, + GET_WORKLOAD_ACCESS_TOKEN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_INPUT: StaticSchema = ( + 18, + n0, + _GWATFJWTI, + {_sSI: _cGWATFJWTR, _smit: None}, + (_wN, _uT), + ((WORKLOAD_IDENTITY_NAME_TYPE, 1), (lambda: schemas.USER_TOKEN_TYPE, 1)), +) + +GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_OUTPUT: StaticSchema = ( + 18, + n0, + _GWATFJWTO, + {_sSI: _cGWATFJWTRo, _smith: None}, + (_wATo,), + ((lambda: schemas.WORKLOAD_IDENTITY_TOKEN_TYPE, 1),), +) + +GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT: StaticOperationSchema = ( + 23, + n0, + _GWATFJWT, + { + _smithy: MappingProxyType( + {"uri": "/identities/GetWorkloadAccessTokenForJWT", "method": "POST"} + ) + }, + GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_INPUT, + GET_WORKLOAD_ACCESS_TOKEN_FOR_JWT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_INPUT: StaticSchema = ( + 18, + n0, + _GWATFUII, + {_sSI: _cGWATFUIR, _smit: None}, + (_wN, _uI), + ((WORKLOAD_IDENTITY_NAME_TYPE, 1), (lambda: schemas.USER_ID_TYPE, 1)), +) + +GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _GWATFUIO, + {_sSI: _cGWATFUIRo, _smith: None}, + (_wATo,), + ((lambda: schemas.WORKLOAD_IDENTITY_TOKEN_TYPE, 1),), +) + +GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID: StaticOperationSchema = ( + 23, + n0, + _GWATFUI, + { + _smithy: MappingProxyType( + {"uri": "/identities/GetWorkloadAccessTokenForUserId", "method": "POST"} + ) + }, + GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_INPUT, + GET_WORKLOAD_ACCESS_TOKEN_FOR_USER_ID_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAX_LEN_STRING: StaticSchema = (3, n0, _MLS, 0) + +INPUT_CONTENT_BLOCK: StaticSchema = ( + 18, + n0, + _ICB, + 0, + (_pa, _te, _bl), + ((MAX_LEN_STRING, 1), (MAX_LEN_STRING, 0), (lambda: schemas.BODY, 0)), +) + +INPUT_CONTENT_BLOCK_LIST: StaticSchema = ( + 16, + n0, + _ICBL, + 0, + (_m,), + ((INPUT_CONTENT_BLOCK, 0),), +) + +PROGRAMMING_LANGUAGE: StaticSchema = ( + 14, + n0, + _PL, + 0, + (_PYTHON, _JAVASCRIPT, _TYPESCRIPT), + ((-1, {_sVm: _py}), (-1, {_sVm: _j}), (-1, {_sVm: _typ})), +) + +STRING_LIST: StaticSchema = (16, n0, _SLt, 0, (_m,), ((MAX_LEN_STRING, 0),)) + +LANGUAGE_RUNTIME: StaticSchema = ( + 14, + n0, + _LRa, + 0, + (_NODEJS, _DENO, _PYTHON), + ((-1, {_sVm: _no}), (-1, {_sVm: _de}), (-1, {_sVm: _py})), +) + +TOOL_ARGUMENTS: StaticSchema = ( + 18, + n0, + _TA, + 0, + (_cod, _lan, _cCl, _com, _pa, _pat, _cont, _dPi, _tIas, _run), + ( + (MAX_LEN_STRING, 0), + (PROGRAMMING_LANGUAGE, 0), + (2, 0), + (MAX_LEN_STRING, 0), + (MAX_LEN_STRING, 0), + (STRING_LIST, 0), + (INPUT_CONTENT_BLOCK_LIST, 0), + (MAX_LEN_STRING, 0), + (MAX_LEN_STRING, 0), + (LANGUAGE_RUNTIME, 0), + ), +) + +TOOL_NAME: StaticSchema = ( + 14, + n0, + _TNo, + 0, + (_EC_, _EC__, _RF, _LF, _RF_, _WF, _SCE, _GT_, _ST_), + ( + (-1, {_sVm: _eCx}), + (-1, {_sVm: _eCxe}), + (-1, {_sVm: _rF}), + (-1, {_sVm: _lF}), + (-1, {_sVm: _rFe}), + (-1, {_sVm: _wF}), + (-1, {_sVm: _sCE}), + (-1, {_sVm: _gTe}), + (-1, {_sVm: _sTto}), + ), +) + +INVOKE_CODE_INTERPRETER_INPUT: StaticSchema = ( + 18, + n0, + _ICII, + {_sSI: _cICIR, _smit: None}, + (_cII, _sIe, _tI, _tP, _n, _ar), + ( + (3, 9), + (lambda: schemas.CODE_INTERPRETER_SESSION_ID, {_sH: _xacisi}), + (3, {_sH: _XATI}), + (3, {_sH: _t}), + (TOOL_NAME, 1), + (TOOL_ARGUMENTS, 0), + ), +) + +INVOKE_CODE_INTERPRETER_OUTPUT: StaticSchema = ( + 18, + n0, + _ICIO, + {_sSI: _cICIRo, _smith: None}, + (_sIe, _str), + ( + (lambda: schemas.CODE_INTERPRETER_SESSION_ID, {_sH: _xacisi}), + (lambda: CODE_INTERPRETER_STREAM_OUTPUT, 17), + ), +) + +INVOKE_CODE_INTERPRETER: StaticOperationSchema = ( + 23, + n0, + _ICI, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/code-interpreters/{codeInterpreterIdentifier}/tools/invoke", + "code": 200, + } + ) + }, + INVOKE_CODE_INTERPRETER_INPUT, + INVOKE_CODE_INTERPRETER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RESOURCE_CONTENT_TYPE: StaticSchema = ( + 14, + n0, + _RCT, + 0, + (_TEXT, _BLOB), + ((-1, {_sVm: _te}), (-1, {_sVm: _bl})), +) + +RESOURCE_CONTENT: StaticSchema = ( + 18, + n0, + _RCeso, + 0, + (_ty, _ur, _mT, _te, _bl), + ((RESOURCE_CONTENT_TYPE, 1), (3, 0), (3, 0), (3, 0), (1, 0)), +) + +CONTENT_BLOCK_TYPE: StaticSchema = ( + 14, + n0, + _CBT, + 0, + (_TEXT, _IMAGE, _ER_, _RL_), + ((-1, {_sVm: _te}), (-1, {_sVm: _im}), (-1, {_sVm: _resou}), (-1, {_sVm: _rl})), +) + +CONTENT_BLOCK: StaticSchema = ( + 18, + n0, + _CB, + 0, + (_ty, _te, _da, _mT, _ur, _n, _d, _siz, _resou), + ( + (CONTENT_BLOCK_TYPE, 1), + (3, 0), + (1, 0), + (3, 0), + (3, 0), + (3, 0), + (3, 0), + (8, 0), + (RESOURCE_CONTENT, 0), + ), +) + +CONTENT_BLOCK_LIST: StaticSchema = (16, n0, _CBL, 0, (_m,), ((CONTENT_BLOCK, 0),)) + +TASK_STATUS: StaticSchema = ( + 14, + n0, + _TS, + 0, + (_SUBMITTED, _WORKING, _COMPLETED, _CANCELED, _FAILED), + ( + (-1, {_sVm: _su}), + (-1, {_sVm: _wo}), + (-1, {_sVm: _comp}), + (-1, {_sVm: _can}), + (-1, {_sVm: _fai}), + ), +) + +TOOL_RESULT_STRUCTURED_CONTENT: StaticSchema = ( + 18, + n0, + _TRSC, + 0, + (_tIas, _tSa, _std, _stde, _eC, _eTxe), + ((3, 0), (TASK_STATUS, 0), (3, 0), (3, 0), (7, 0), (10, 0)), +) + +CODE_INTERPRETER_RESULT: StaticSchema = ( + 18, + n0, + _CIR, + 0, + (_cont, _sCt, _iE), + ((CONTENT_BLOCK_LIST, 1), (TOOL_RESULT_STRUCTURED_CONTENT, 0), (2, 0)), +) + +CODE_INTERPRETER_STREAM_OUTPUT: StaticSchema = ( + 19, + n0, + _CISO, + {_smithya: None}, + (_resu, _aDE, _cE, _iSE, _rNFE, _sQEE, _tE, _vE), + ( + (CODE_INTERPRETER_RESULT, 0), + (lambda: schemas.ACCESS_DENIED_EXCEPTION, 0), + (lambda: schemas.CONFLICT_EXCEPTION, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, 0), + (lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + ), +) + +HARNESS_ALLOWED_TOOL: StaticSchema = (3, n0, _HAT, 0) + +HARNESS_ALLOWED_TOOLS: StaticSchema = ( + 16, + n0, + _HATa, + 0, + (_m,), + ((HARNESS_ALLOWED_TOOL, 0),), +) + +HARNESS_ARN: StaticSchema = (3, n0, _HA, 0) + +HARNESS_REASONING_TEXT_BLOCK: StaticSchema = ( + 18, + n0, + _HRTB, + 4, + (_te, _sig), + ((3, 1), (3, 0)), +) + +HARNESS_REASONING_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _HRCB, + 4, + (_rT, _rCed), + ((HARNESS_REASONING_TEXT_BLOCK, 0), (1, 0)), +) + +SENSITIVE_TEXT: StaticSchema = (3, n0, _STe, 4) + +SENSITIVE_JSON: StaticSchema = (13, n0, _SJ, 4) + +HARNESS_TOOL_RESULT_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _HTRCB, + 0, + (_te, _js), + ((SENSITIVE_TEXT, 0), (SENSITIVE_JSON, 0)), +) + +HARNESS_TOOL_RESULT_CONTENT_BLOCKS: StaticSchema = ( + 16, + n0, + _HTRCBa, + 0, + (_m,), + ((HARNESS_TOOL_RESULT_CONTENT_BLOCK, 0),), +) + +HARNESS_TOOL_USE_STATUS: StaticSchema = ( + 14, + n0, + _HTUS, + 0, + (_SUCCESS, _ERROR), + ((-1, {_sVm: _suc}), (-1, {_sVm: _er})), +) + +HARNESS_TOOL_USE_ID: StaticSchema = (3, n0, _HTUI, 0) + +HARNESS_TOOL_USE_TYPE: StaticSchema = ( + 14, + n0, + _HTUT, + 0, + (_TU_, _STU, _MTU), + ((-1, {_sVm: _tu_}), (-1, {_sVm: _stu}), (-1, {_sVm: _mtu})), +) + +HARNESS_TOOL_RESULT_BLOCK: StaticSchema = ( + 18, + n0, + _HTRB, + 0, + (_tUI, _cont, _st, _ty), + ( + (HARNESS_TOOL_USE_ID, 1), + (HARNESS_TOOL_RESULT_CONTENT_BLOCKS, 1), + (HARNESS_TOOL_USE_STATUS, 0), + (HARNESS_TOOL_USE_TYPE, 0), + ), +) + +HARNESS_TOOL_NAME: StaticSchema = (3, n0, _HTN, 0) + +HARNESS_TOOL_USE_BLOCK: StaticSchema = ( + 18, + n0, + _HTUB, + 0, + (_n, _tUI, _inp, _ty, _sNe), + ( + (HARNESS_TOOL_NAME, 1), + (HARNESS_TOOL_USE_ID, 1), + (SENSITIVE_JSON, 1), + (HARNESS_TOOL_USE_TYPE, 0), + (3, 0), + ), +) + +HARNESS_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _HCB, + 0, + (_te, _tUo, _tRo, _rCea), + ( + (SENSITIVE_TEXT, 0), + (HARNESS_TOOL_USE_BLOCK, 0), + (HARNESS_TOOL_RESULT_BLOCK, 0), + (HARNESS_REASONING_CONTENT_BLOCK, 0), + ), +) + +HARNESS_CONTENT_BLOCKS: StaticSchema = ( + 16, + n0, + _HCBa, + 0, + (_m,), + ((HARNESS_CONTENT_BLOCK, 0),), +) + +HARNESS_CONVERSATION_ROLE: StaticSchema = ( + 14, + n0, + _HCR, + 0, + (_USER, _ASSISTANT), + ((-1, {_sVm: _us}), (-1, {_sVm: _ass})), +) + +HARNESS_MESSAGE: StaticSchema = ( + 18, + n0, + _HMa, + 0, + (_ro, _cont), + ((HARNESS_CONVERSATION_ROLE, 1), (HARNESS_CONTENT_BLOCKS, 1)), +) + +HARNESS_MESSAGES: StaticSchema = (16, n0, _HMar, 0, (_m,), ((HARNESS_MESSAGE, 0),)) + +HARNESS_BEDROCK_API_FORMAT: StaticSchema = ( + 14, + n0, + _HBAF, + 0, + (_CS_, _RESPONSES, _CC), + ((-1, {_sVm: _cs}), (-1, {_sVm: _resp}), (-1, {_sVm: _cc})), +) + +MAX_TOKENS: StaticSchema = (7, n0, _MTa, 0) + +MODEL_ID: StaticSchema = (3, n0, _MI, 0) + +TEMPERATURE: StaticSchema = (9, n0, _T, 0) + +TOP_P: StaticSchema = (9, n0, _TP, 0) + +HARNESS_BEDROCK_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _HBMC, + 0, + (_mI, _mTa, _tem, _tPo, _aF, _aP), + ( + (MODEL_ID, 1), + (MAX_TOKENS, 0), + (TEMPERATURE, 0), + (TOP_P, 0), + (HARNESS_BEDROCK_API_FORMAT, 0), + (13, 0), + ), +) + +API_KEY_ARN: StaticSchema = (3, n0, _AKA, 0) + +TOP_K: StaticSchema = (7, n0, _TKo, 0) + +HARNESS_GEMINI_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _HGMC, + 0, + (_mI, _aKA, _mTa, _tem, _tPo, _tK, _aP), + ( + (MODEL_ID, 1), + (API_KEY_ARN, 1), + (MAX_TOKENS, 0), + (TEMPERATURE, 0), + (TOP_P, 0), + (TOP_K, 0), + (13, 0), + ), +) + +HARNESS_LITE_LLM_API_BASE: StaticSchema = (3, n0, _HLLAB, 4) + +HARNESS_LITE_LLM_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _HLLMC, + 0, + (_mI, _aKA, _aB, _mTa, _tem, _tPo, _aP), + ( + (MODEL_ID, 1), + (API_KEY_ARN, 0), + (HARNESS_LITE_LLM_API_BASE, 0), + (MAX_TOKENS, 0), + (TEMPERATURE, 0), + (TOP_P, 0), + (13, 0), + ), +) + +HARNESS_OPEN_AI_API_BASE: StaticSchema = (3, n0, _HOAAB, 4) + +HARNESS_OPEN_AI_API_FORMAT: StaticSchema = ( + 14, + n0, + _HOAAF, + 0, + (_CC, _RESPONSES), + ((-1, {_sVm: _cc}), (-1, {_sVm: _resp})), +) + +HARNESS_OPEN_AI_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _HOAMC, + 0, + (_mI, _aKA, _aB, _mTa, _tem, _tPo, _aF, _aP), + ( + (MODEL_ID, 1), + (API_KEY_ARN, 1), + (HARNESS_OPEN_AI_API_BASE, 0), + (MAX_TOKENS, 0), + (TEMPERATURE, 0), + (TOP_P, 0), + (HARNESS_OPEN_AI_API_FORMAT, 0), + (13, 0), + ), +) + +HARNESS_MODEL_CONFIGURATION: StaticSchema = ( + 19, + n0, + _HMC, + 0, + (_bMC, _oAMC, _gMC, _lLMC), + ( + (HARNESS_BEDROCK_MODEL_CONFIG, 0), + (HARNESS_OPEN_AI_MODEL_CONFIG, 0), + (HARNESS_GEMINI_MODEL_CONFIG, 0), + (HARNESS_LITE_LLM_MODEL_CONFIG, 0), + ), +) + +HARNESS_ENDPOINT_NAME: StaticSchema = (3, n0, _HEN, 0) + +HARNESS_AWS_SKILL_PATH: StaticSchema = (3, n0, _HASP, 0) + +HARNESS_AWS_SKILL_PATHS: StaticSchema = ( + 16, + n0, + _HASPa, + 0, + (_m,), + ((HARNESS_AWS_SKILL_PATH, 0),), +) + +HARNESS_SKILL_AWS_SKILLS_SOURCE: StaticSchema = ( + 18, + n0, + _HSASS, + 0, + (_pat,), + ((HARNESS_AWS_SKILL_PATHS, 0),), +) + +HARNESS_SKILL_GIT_AUTH: StaticSchema = ( + 18, + n0, + _HSGA, + 0, + (_cAr, _use), + ((API_KEY_ARN, 1), (3, 0)), +) + +HARNESS_SKILL_GIT_URL: StaticSchema = (3, n0, _HSGU, 0) + +HARNESS_SKILL_GIT_SOURCE: StaticSchema = ( + 18, + n0, + _HSGS, + 0, + (_url, _pa, _aut), + ((HARNESS_SKILL_GIT_URL, 1), (3, 0), (HARNESS_SKILL_GIT_AUTH, 0)), +) + +HARNESS_SKILL_PATH: StaticSchema = (3, n0, _HSP, 0) + +HARNESS_SKILL_S3_URI: StaticSchema = (3, n0, _HSSU, 0) + +HARNESS_SKILL_S3_SOURCE: StaticSchema = ( + 18, + n0, + _HSSS, + 0, + (_ur,), + ((HARNESS_SKILL_S3_URI, 1),), +) + +HARNESS_SKILL: StaticSchema = ( + 19, + n0, + _HS, + 0, + (_pa, _s_, _g, _aSw), + ( + (HARNESS_SKILL_PATH, 0), + (HARNESS_SKILL_S3_SOURCE, 0), + (HARNESS_SKILL_GIT_SOURCE, 0), + (HARNESS_SKILL_AWS_SKILLS_SOURCE, 0), + ), +) + +HARNESS_SKILLS: StaticSchema = (16, n0, _HSa, 0, (_m,), ((HARNESS_SKILL, 0),)) + +HARNESS_SYSTEM_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _HSCB, + 0, + (_te,), + ((SENSITIVE_TEXT, 0),), +) + +HARNESS_SYSTEM_PROMPT: StaticSchema = ( + 16, + n0, + _HSPa, + 0, + (_m,), + ((HARNESS_SYSTEM_CONTENT_BLOCK, 0),), +) + +HARNESS_BROWSER_ARN: StaticSchema = (3, n0, _HBA, 0) + +HARNESS_AGENT_CORE_BROWSER_CONFIG: StaticSchema = ( + 18, + n0, + _HACBC, + 0, + (_bAr,), + ((HARNESS_BROWSER_ARN, 0),), +) + +HARNESS_CODE_INTERPRETER_ARN: StaticSchema = (3, n0, _HCIA, 0) + +HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG: StaticSchema = ( + 18, + n0, + _HACCIC, + 0, + (_cIA,), + ((HARNESS_CODE_INTERPRETER_ARN, 0),), +) + +O_AUTH_CUSTOM_PARAMETERS_KEY: StaticSchema = (3, n0, _OACPK, 0) + +O_AUTH_CUSTOM_PARAMETERS_VALUE: StaticSchema = (3, n0, _OACPV, 4) + +O_AUTH_CUSTOM_PARAMETERS: StaticSchema = ( + 17, + n0, + _OACP, + 0, + (_k, _va), + ((O_AUTH_CUSTOM_PARAMETERS_KEY, 0), (O_AUTH_CUSTOM_PARAMETERS_VALUE, 0)), +) + +O_AUTH_DEFAULT_RETURN_URL: StaticSchema = (3, n0, _OADRU, 0) + +O_AUTH_GRANT_TYPE: StaticSchema = ( + 14, + n0, + _OAGT, + 0, + (_CC_, _AC_, _TE_), + ((-1, {_sVm: _CC_}), (-1, {_sVm: _AC_}), (-1, {_sVm: _TE_})), +) + +O_AUTH_CREDENTIAL_PROVIDER_ARN: StaticSchema = (3, n0, _OACPA, 0) + +O_AUTH_SCOPE: StaticSchema = (3, n0, _OAS, 0) + +O_AUTH_SCOPES: StaticSchema = (16, n0, _OASu, 0, (_m,), ((O_AUTH_SCOPE, 0),)) + +O_AUTH_CREDENTIAL_PROVIDER: StaticSchema = ( + 18, + n0, + _OACPu, + 0, + (_pA, _sco, _cP, _gTr, _dRU), + ( + (O_AUTH_CREDENTIAL_PROVIDER_ARN, 1), + (O_AUTH_SCOPES, 1), + (O_AUTH_CUSTOM_PARAMETERS, 0), + (O_AUTH_GRANT_TYPE, {_smithyap: _CC_}), + (O_AUTH_DEFAULT_RETURN_URL, 0), + ), +) + +HARNESS_GATEWAY_OUTBOUND_AUTH: StaticSchema = ( + 19, + n0, + _HGOA, + 0, + (_aIw, _non, _oa), + ((-1, 0), (-1, 0), (O_AUTH_CREDENTIAL_PROVIDER, 0)), +) + +HARNESS_AGENT_CORE_GATEWAY_CONFIG: StaticSchema = ( + 18, + n0, + _HACGC, + 0, + (_gA, _oA), + ((lambda: schemas.GATEWAY_ARN, 1), (HARNESS_GATEWAY_OUTBOUND_AUTH, 0)), +) + +HARNESS_INLINE_FUNCTION_DESCRIPTION: StaticSchema = (3, n0, _HIFD, 4) + +HARNESS_INLINE_FUNCTION_CONFIG: StaticSchema = ( + 18, + n0, + _HIFC, + 0, + (_d, _iSn), + ((HARNESS_INLINE_FUNCTION_DESCRIPTION, 1), (SENSITIVE_JSON, 1)), +) + +HTTP_HEADER_KEY: StaticSchema = (3, n0, _HHK, 0) + +HTTP_HEADER_VALUE: StaticSchema = (3, n0, _HHV, 0) + +HTTP_HEADERS_MAP: StaticSchema = ( + 17, + n0, + _HHM, + 4, + (_k, _va), + ((HTTP_HEADER_KEY, 0), (HTTP_HEADER_VALUE, 0)), +) + +IAM_CREDENTIAL_PROVIDER: StaticSchema = ( + 18, + n0, + _ICP, + 0, + (_ser, _reg), + ((3, 1), (3, 0)), +) + +HARNESS_REMOTE_MCP_OUTBOUND_AUTH: StaticSchema = ( + 19, + n0, + _HRMOA, + 0, + (_aIw, _non), + ((IAM_CREDENTIAL_PROVIDER, 0), (-1, 0)), +) + +HARNESS_REMOTE_MCP_URL: StaticSchema = (3, n0, _HRMU, 4) + +HARNESS_REMOTE_MCP_CONFIG: StaticSchema = ( + 18, + n0, + _HRMC, + 0, + (_url, _he, _oA), + ( + (HARNESS_REMOTE_MCP_URL, 1), + (HTTP_HEADERS_MAP, 0), + (HARNESS_REMOTE_MCP_OUTBOUND_AUTH, 0), + ), +) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_6.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_6.py new file mode 100644 index 000000000..ba51adc79 --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_6.py @@ -0,0 +1,1191 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcore" +_s = "smithy.api#required" +_n = "name" +_m = "member" +_sVm = "smithy.api#enumValue" +_FAILED = "FAILED" +_st = "status" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_mes = "message" +_smi = "smithy.api#sensitive" +_aI = "actorId" +_OTHER = "OTHER" +_tI = "traceId" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_rSI = "runtimeSessionId" +_sH = "smithy.api#httpHeader" +_XABARSI = "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id" +_sT = "smithy.api#idempotencyToken" +_sL = "smithy.api#httpLabel" +_q = "qualifier" +_sQ = "smithy.api#httpQuery" +_smith = "smithy.api#output" +_sP = "smithy.api#httpPayload" +_se = "server" +_re = "reason" +_smithy = "smithy.api#http" +_rUI = "runtimeUserId" +_XABARUI = "X-Amzn-Bedrock-AgentCore-Runtime-User-Id" +_XATI = "X-Amzn-Trace-Id" +_tP = "traceParent" +_t = "traceparent" +_tS = "traceState" +_tr = "tracestate" +_b = "baggage" +_smithya = "smithy.api#streaming" +_iSE = "internalServerException" +_vE = "validationException" +_rCE = "runtimeClientError" +_str = "stream" +_cTl = "clientToken" +_sVt = "stringValue" +_k = "key" +_va = "value" +_f = "filters" +_ty = "type" +_te = "text" +_ac = "action" +_mR = "maxResults" +_iT = "inputTokens" +_oT = "outputTokens" +_tT = "totalTokens" +_eMr = "errorMessage" +_eCr = "errorCode" +_resul = "results" +_sPy = "systemPrompt" +_to = "tools" +_inp = "input" +_met = "metadata" +_bl = "blob" +_cont = "content" +_sig = "signature" +_rCed = "redactedContent" +_js = "json" +_TU_ = "TOOL_USE" +_tu_ = "tool_use" +_tUI = "toolUseId" +_sNe = "serverName" +_tUo = "toolUse" +_tRo = "toolResult" +_rCea = "reasoningContent" +_USER = "USER" +_ASSISTANT = "ASSISTANT" +_ro = "role" +_mTa = "maxTokens" +_url = "url" +_HTC = "HarnessToolConfiguration" +_rMe = "remoteMcp" +_aCB = "agentCoreBrowser" +_aCG = "agentCoreGateway" +_iF = "inlineFunction" +_aCCI = "agentCoreCodeInterpreter" +_HTT = "HarnessToolType" +_RM = "REMOTE_MCP" +_rm = "remote_mcp" +_AB = "AGENTCORE_BROWSER" +_ab = "agentcore_browser" +_AG = "AGENTCORE_GATEWAY" +_ag = "agentcore_gateway" +_IF = "INLINE_FUNCTION" +_if = "inline_function" +_ACI = "AGENTCORE_CODE_INTERPRETER" +_aci = "agentcore_code_interpreter" +_HT = "HarnessTool" +_conf = "config" +_HTa = "HarnessTools" +_IHI = "InvokeHarnessInput" +_cIHR = "com.amazonaws.bedrockagentcore#InvokeHarnessRequest" +_hA = "harnessArn" +_mess = "messages" +_mo = "model" +_sk = "skills" +_aTl = "allowedTools" +_mIa = "maxIterations" +_tSi = "timeoutSeconds" +_HRCBD = "HarnessReasoningContentBlockDelta" +_HTRBD = "HarnessToolResultBlockDelta" +_HTRBDa = "HarnessToolResultBlocksDelta" +_HTRMBD = "HarnessToolResultMetadataBlockDelta" +_HTUBD = "HarnessToolUseBlockDelta" +_HCBD = "HarnessContentBlockDelta" +_tRM = "toolResultMetadata" +_HCBDE = "HarnessContentBlockDeltaEvent" +_cBI = "contentBlockIndex" +_del = "delta" +_HTRBS = "HarnessToolResultBlockStart" +_HTUBS = "HarnessToolUseBlockStart" +_HCBS = "HarnessContentBlockStart" +_HCBSE = "HarnessContentBlockStartEvent" +_star = "start" +_HCBSEa = "HarnessContentBlockStopEvent" +_HHD = "HarnessHookDecision" +_ALLOW = "ALLOW" +_al = "allow" +_DENY = "DENY" +_den = "deny" +_HHEI = "HarnessHookEventId" +_HHN = "HarnessHookName" +_HHET = "HarnessHookEventType" +_BTC = "BEFORE_TOOL_CALL" +_btc = "before_tool_call" +_ATC_ = "AFTER_TOOL_CALL" +_atc = "after_tool_call" +_BI = "BEFORE_INVOCATION" +_bi = "before_invocation" +_AI_ = "AFTER_INVOCATION" +_ai = "after_invocation" +_HHE = "HarnessHookEvent" +_hEI = "hookEventId" +_dec = "decision" +_HMSE = "HarnessMessageStartEvent" +_HSR = "HarnessStopReason" +_ET_ = "END_TURN" +_et = "end_turn" +_TR_ = "TOOL_RESULT" +_tr_ = "tool_result" +_MT_ = "MAX_TOKENS" +_mt = "max_tokens" +_SS_ = "STOP_SEQUENCE" +_ss = "stop_sequence" +_CF_ = "CONTENT_FILTERED" +_cf = "content_filtered" +_MMO = "MALFORMED_MODEL_OUTPUT" +_mmo = "malformed_model_output" +_MTU_ = "MALFORMED_TOOL_USE" +_mtu_ = "malformed_tool_use" +_INTERRUPTED = "INTERRUPTED" +_int = "interrupted" +_PT = "PARTIAL_TURN" +_pt = "partial_turn" +_MCWE = "MODEL_CONTEXT_WINDOW_EXCEEDED" +_mcwe = "model_context_window_exceeded" +_MIE = "MAX_ITERATIONS_EXCEEDED" +_mie = "max_iterations_exceeded" +_MOTE = "MAX_OUTPUT_TOKENS_EXCEEDED" +_mote = "max_output_tokens_exceeded" +_TE__ = "TIMEOUT_EXCEEDED" +_te_ = "timeout_exceeded" +_HS_ = "HOOK_STOPPED" +_hs = "hook_stopped" +_HMSEa = "HarnessMessageStopEvent" +_sR = "stopReason" +_HSM = "HarnessStreamMetrics" +_lM = "latencyMs" +_HTU = "HarnessTokenUsage" +_cRIT = "cacheReadInputTokens" +_cWIT = "cacheWriteInputTokens" +_HME = "HarnessMetadataEvent" +_usa = "usage" +_metr = "metrics" +_IHSO = "InvokeHarnessStreamOutput" +_mSe = "messageStart" +_cBS = "contentBlockStart" +_cBD = "contentBlockDelta" +_cBSo = "contentBlockStop" +_mSes = "messageStop" +_hE = "hookEvent" +_IHO = "InvokeHarnessOutput" +_cIHRo = "com.amazonaws.bedrockagentcore#InvokeHarnessResponse" +_IH = "InvokeHarness" +_DN = "DomainName" +_DL = "DomainList" +_DFo = "DomainFilter" +_inc = "include" +_exc = "exclude" +_PDF = "PublishedDateFilter" +_pAu = "publishedAfter" +_pB = "publishedBefore" +_WSF = "WebSearchFilters" +_dF = "domainFilter" +_pDF = "publishedDateFilter" +_WSI = "WebSearchId" +_IWSI = "InvokeWebSearchInput" +_wSI = "webSearchId" +_sQe = "searchQuery" +_WSR = "WebSearchResult" +_tit = "title" +_pAub = "publishedAt" +_WSRL = "WebSearchResultList" +_IWSO = "InvokeWebSearchOutput" +_SUE = "ServiceUnavailableException" +_rAS = "retryAfterSeconds" +_IWS = "InvokeWebSearch" +_MIe = "MemoryId" +_REA = "RecordExpiryAction" +_REMOVE = "REMOVE" +_REDD = "RecordExpiryDurationDays" +_RES = "RecordExpirySpecification" +_rEDD = "recordExpiryDurationDays" +_SSen = "SensitiveString" +_MC = "MemoryContent" +_MSIe = "MemoryStrategyId" +_MK = "MetadataKey" +_SLMV = "StringListMemberValue" +_SVL = "StringValueList" +_SVt = "StringValue" +_MRMV = "MemoryRecordMetadataValue" +_sLV = "stringListValue" +_nV = "numberValue" +_dTV = "dateTimeValue" +_MRMM = "MemoryRecordMetadataMap" +_Na = "Namespace" +_NL = "NamespacesList" +_RIe = "RequestIdentifier" +_MRCI = "MemoryRecordCreateInput" +_rIe = "requestIdentifier" +_na = "namespaces" +_tim = "timestamp" +_mSIe = "memoryStrategyId" +_MRCIL = "MemoryRecordsCreateInputList" +_BCMRI = "BatchCreateMemoryRecordsInput" +_mIe = "memoryId" +_rec = "records" +_rES = "recordExpirySpecification" +_MRI = "MemoryRecordId" +_MRS = "MemoryRecordStatus" +_SUCCEEDED = "SUCCEEDED" +_MRO = "MemoryRecordOutput" +_mRI = "memoryRecordId" +_MROL = "MemoryRecordsOutputList" +_BCMRO = "BatchCreateMemoryRecordsOutput" +_sRu = "successfulRecords" +_fR = "failedRecords" +_SE = "ServiceException" +_TEh = "ThrottledException" +_BCMR = "BatchCreateMemoryRecords" +_MRDI = "MemoryRecordDeleteInput" +_nam = "namespace" +_MRDIL = "MemoryRecordsDeleteInputList" +_BDMRI = "BatchDeleteMemoryRecordsInput" +_BDMRO = "BatchDeleteMemoryRecordsOutput" +_BDMR = "BatchDeleteMemoryRecords" +_MRUI = "MemoryRecordUpdateInput" +_sNo = "sourceNamespaces" +_MRUIL = "MemoryRecordsUpdateInputList" +_BUMRI = "BatchUpdateMemoryRecordsInput" +_BUMRO = "BatchUpdateMemoryRecordsOutput" +_BUMR = "BatchUpdateMemoryRecords" +_BN = "BranchName" +_EIve = "EventId" +_Br = "Branch" +_rEI = "rootEventId" +_NVN = "NamespaceVariableName" +_NVV = "NamespaceVariableValue" +_NVM = "NamespaceVariablesMap" +_ECx = "ExtractionConfig" +_nVa = "namespaceVariables" +_EMx = "ExtractionMode" +_SKIP = "SKIP" +_MV = "MetadataValue" +_MMe = "MetadataMap" +_MD = "MemoryDocument" +_Con = "Content" +_R = "Role" +_TOOL = "TOOL" +_Conv = "Conversational" +_MJDC = "MemoryJsonDataContent" +_MJD = "MemoryJsonData" +_PTa = "PayloadType" +_conv = "conversational" +_PTL = "PayloadTypeList" + +HARNESS_TOOL_CONFIGURATION: StaticSchema = ( + 19, + n0, + _HTC, + 0, + (_rMe, _aCB, _aCG, _iF, _aCCI), + ( + (lambda: schemas.HARNESS_REMOTE_MCP_CONFIG, 0), + (lambda: schemas.HARNESS_AGENT_CORE_BROWSER_CONFIG, 0), + (lambda: schemas.HARNESS_AGENT_CORE_GATEWAY_CONFIG, 0), + (lambda: schemas.HARNESS_INLINE_FUNCTION_CONFIG, 0), + (lambda: schemas.HARNESS_AGENT_CORE_CODE_INTERPRETER_CONFIG, 0), + ), +) + +HARNESS_TOOL_TYPE: StaticSchema = ( + 14, + n0, + _HTT, + 0, + (_RM, _AB, _AG, _IF, _ACI), + ( + (-1, {_sVm: _rm}), + (-1, {_sVm: _ab}), + (-1, {_sVm: _ag}), + (-1, {_sVm: _if}), + (-1, {_sVm: _aci}), + ), +) + +HARNESS_TOOL: StaticSchema = ( + 18, + n0, + _HT, + 0, + (_ty, _n, _conf), + ( + (HARNESS_TOOL_TYPE, 1), + (lambda: schemas.HARNESS_TOOL_NAME, 0), + (HARNESS_TOOL_CONFIGURATION, 0), + ), +) + +HARNESS_TOOLS: StaticSchema = (16, n0, _HTa, 0, (_m,), ((HARNESS_TOOL, 0),)) + +INVOKE_HARNESS_INPUT: StaticSchema = ( + 18, + n0, + _IHI, + {_sSI: _cIHR, _smit: None}, + ( + _hA, + _q, + _rSI, + _rUI, + _tP, + _tS, + _tI, + _b, + _mess, + _mo, + _sPy, + _to, + _sk, + _aTl, + _mIa, + _mTa, + _tSi, + _aI, + ), + ( + (lambda: schemas.HARNESS_ARN, {_sQ: _hA, _s: None}), + (lambda: schemas.HARNESS_ENDPOINT_NAME, {_sQ: _q}), + (lambda: schemas.SESSION_ID, {_sH: _XABARSI, _s: None}), + (3, {_sH: _XABARUI}), + (3, {_sH: _t}), + (3, {_sH: _tr}), + (3, {_sH: _XATI}), + (3, {_sH: _b}), + (lambda: schemas.HARNESS_MESSAGES, 1), + (lambda: schemas.HARNESS_MODEL_CONFIGURATION, 0), + (lambda: schemas.HARNESS_SYSTEM_PROMPT, 0), + (HARNESS_TOOLS, 0), + (lambda: schemas.HARNESS_SKILLS, 0), + (lambda: schemas.HARNESS_ALLOWED_TOOLS, 0), + (7, 0), + (7, 0), + (7, 0), + (3, 0), + ), +) + +INVOKE_HARNESS_OUTPUT: StaticSchema = ( + 18, + n0, + _IHO, + {_sSI: _cIHRo, _smith: None}, + (_str,), + ((lambda: INVOKE_HARNESS_STREAM_OUTPUT, 17),), +) + +INVOKE_HARNESS: StaticOperationSchema = ( + 23, + n0, + _IH, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/harnesses/invoke"} + ) + }, + INVOKE_HARNESS_INPUT, + INVOKE_HARNESS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.RUNTIME_CLIENT_ERROR, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +HARNESS_REASONING_CONTENT_BLOCK_DELTA: StaticSchema = ( + 19, + n0, + _HRCBD, + 4, + (_te, _rCed, _sig), + ((3, 0), (lambda: schemas.BODY, 0), (3, 0)), +) + +HARNESS_TOOL_RESULT_BLOCK_DELTA: StaticSchema = ( + 19, + n0, + _HTRBD, + 0, + (_te, _js), + ((lambda: schemas.SENSITIVE_TEXT, 0), (lambda: schemas.SENSITIVE_JSON, 0)), +) + +HARNESS_TOOL_RESULT_BLOCKS_DELTA: StaticSchema = ( + 16, + n0, + _HTRBDa, + 0, + (_m,), + ((HARNESS_TOOL_RESULT_BLOCK_DELTA, 0),), +) + +HARNESS_TOOL_RESULT_METADATA_BLOCK_DELTA: StaticSchema = ( + 18, + n0, + _HTRMBD, + 0, + (_met,), + ((lambda: schemas.SENSITIVE_TEXT, 1),), +) + +HARNESS_TOOL_USE_BLOCK_DELTA: StaticSchema = ( + 18, + n0, + _HTUBD, + 0, + (_inp,), + ((lambda: schemas.SENSITIVE_TEXT, 1),), +) + +HARNESS_CONTENT_BLOCK_DELTA: StaticSchema = ( + 19, + n0, + _HCBD, + 0, + (_te, _tUo, _tRo, _rCea, _tRM), + ( + (lambda: schemas.SENSITIVE_TEXT, 0), + (HARNESS_TOOL_USE_BLOCK_DELTA, 0), + (HARNESS_TOOL_RESULT_BLOCKS_DELTA, 0), + (HARNESS_REASONING_CONTENT_BLOCK_DELTA, 0), + (HARNESS_TOOL_RESULT_METADATA_BLOCK_DELTA, 0), + ), +) + +HARNESS_CONTENT_BLOCK_DELTA_EVENT: StaticSchema = ( + 18, + n0, + _HCBDE, + 0, + (_cBI, _del), + ((7, 1), (HARNESS_CONTENT_BLOCK_DELTA, 1)), +) + +HARNESS_TOOL_RESULT_BLOCK_START: StaticSchema = ( + 18, + n0, + _HTRBS, + 0, + (_tUI, _st), + ( + (lambda: schemas.HARNESS_TOOL_USE_ID, 1), + (lambda: schemas.HARNESS_TOOL_USE_STATUS, 0), + ), +) + +HARNESS_TOOL_USE_BLOCK_START: StaticSchema = ( + 18, + n0, + _HTUBS, + 0, + (_tUI, _n, _ty, _sNe), + ( + (lambda: schemas.HARNESS_TOOL_USE_ID, 1), + (lambda: schemas.HARNESS_TOOL_NAME, 1), + (lambda: schemas.HARNESS_TOOL_USE_TYPE, 0), + (3, 0), + ), +) + +HARNESS_CONTENT_BLOCK_START: StaticSchema = ( + 19, + n0, + _HCBS, + 0, + (_tUo, _tRo), + ((HARNESS_TOOL_USE_BLOCK_START, 0), (HARNESS_TOOL_RESULT_BLOCK_START, 0)), +) + +HARNESS_CONTENT_BLOCK_START_EVENT: StaticSchema = ( + 18, + n0, + _HCBSE, + 0, + (_cBI, _star), + ((7, 1), (HARNESS_CONTENT_BLOCK_START, 1)), +) + +HARNESS_CONTENT_BLOCK_STOP_EVENT: StaticSchema = ( + 18, + n0, + _HCBSEa, + 0, + (_cBI,), + ((7, 1),), +) + +HARNESS_HOOK_DECISION: StaticSchema = ( + 14, + n0, + _HHD, + 0, + (_ALLOW, _DENY), + ((-1, {_sVm: _al}), (-1, {_sVm: _den})), +) + +HARNESS_HOOK_EVENT_ID: StaticSchema = (3, n0, _HHEI, 0) + +HARNESS_HOOK_NAME: StaticSchema = (3, n0, _HHN, 0) + +HARNESS_HOOK_EVENT_TYPE: StaticSchema = ( + 14, + n0, + _HHET, + 0, + (_BTC, _ATC_, _BI, _AI_), + ((-1, {_sVm: _btc}), (-1, {_sVm: _atc}), (-1, {_sVm: _bi}), (-1, {_sVm: _ai})), +) + +HARNESS_HOOK_EVENT: StaticSchema = ( + 18, + n0, + _HHE, + 0, + (_hEI, _n, _ty, _dec, _re), + ( + (HARNESS_HOOK_EVENT_ID, 1), + (HARNESS_HOOK_NAME, 1), + (HARNESS_HOOK_EVENT_TYPE, 1), + (HARNESS_HOOK_DECISION, 0), + (3, 0), + ), +) + +HARNESS_MESSAGE_START_EVENT: StaticSchema = ( + 18, + n0, + _HMSE, + 0, + (_ro,), + ((lambda: schemas.HARNESS_CONVERSATION_ROLE, 1),), +) + +HARNESS_STOP_REASON: StaticSchema = ( + 14, + n0, + _HSR, + 0, + ( + _ET_, + _TU_, + _TR_, + _MT_, + _SS_, + _CF_, + _MMO, + _MTU_, + _INTERRUPTED, + _PT, + _MCWE, + _MIE, + _MOTE, + _TE__, + _HS_, + ), + ( + (-1, {_sVm: _et}), + (-1, {_sVm: _tu_}), + (-1, {_sVm: _tr_}), + (-1, {_sVm: _mt}), + (-1, {_sVm: _ss}), + (-1, {_sVm: _cf}), + (-1, {_sVm: _mmo}), + (-1, {_sVm: _mtu_}), + (-1, {_sVm: _int}), + (-1, {_sVm: _pt}), + (-1, {_sVm: _mcwe}), + (-1, {_sVm: _mie}), + (-1, {_sVm: _mote}), + (-1, {_sVm: _te_}), + (-1, {_sVm: _hs}), + ), +) + +HARNESS_MESSAGE_STOP_EVENT: StaticSchema = ( + 18, + n0, + _HMSEa, + 0, + (_sR,), + ((HARNESS_STOP_REASON, 1),), +) + +HARNESS_STREAM_METRICS: StaticSchema = (18, n0, _HSM, 0, (_lM,), ((8, 1),)) + +HARNESS_TOKEN_USAGE: StaticSchema = ( + 18, + n0, + _HTU, + 0, + (_iT, _oT, _tT, _cRIT, _cWIT), + ((7, 1), (7, 1), (7, 1), (7, 0), (7, 0)), +) + +HARNESS_METADATA_EVENT: StaticSchema = ( + 18, + n0, + _HME, + 0, + (_usa, _metr), + ((HARNESS_TOKEN_USAGE, 1), (HARNESS_STREAM_METRICS, 1)), +) + +INVOKE_HARNESS_STREAM_OUTPUT: StaticSchema = ( + 19, + n0, + _IHSO, + {_smithya: None}, + (_mSe, _cBS, _cBD, _cBSo, _mSes, _met, _iSE, _vE, _rCE, _hE), + ( + (HARNESS_MESSAGE_START_EVENT, 0), + (HARNESS_CONTENT_BLOCK_START_EVENT, 0), + (HARNESS_CONTENT_BLOCK_DELTA_EVENT, 0), + (HARNESS_CONTENT_BLOCK_STOP_EVENT, 0), + (HARNESS_MESSAGE_STOP_EVENT, 0), + (HARNESS_METADATA_EVENT, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.RUNTIME_CLIENT_ERROR, 0), + (HARNESS_HOOK_EVENT, 0), + ), +) + +DOMAIN_NAME: StaticSchema = (3, n0, _DN, 0) + +DOMAIN_LIST: StaticSchema = (16, n0, _DL, 0, (_m,), ((DOMAIN_NAME, 0),)) + +DOMAIN_FILTER: StaticSchema = ( + 18, + n0, + _DFo, + 0, + (_inc, _exc), + ((DOMAIN_LIST, 0), (DOMAIN_LIST, 0)), +) + +PUBLISHED_DATE_FILTER: StaticSchema = ( + 18, + n0, + _PDF, + 0, + (_pAu, _pB), + ((lambda: schemas.DATE_TIMESTAMP, 0), (lambda: schemas.DATE_TIMESTAMP, 0)), +) + +WEB_SEARCH_FILTERS: StaticSchema = ( + 18, + n0, + _WSF, + 0, + (_dF, _pDF), + ((DOMAIN_FILTER, 0), (PUBLISHED_DATE_FILTER, 0)), +) + +WEB_SEARCH_ID: StaticSchema = (3, n0, _WSI, 0) + +INVOKE_WEB_SEARCH_INPUT: StaticSchema = ( + 18, + n0, + _IWSI, + {_smit: None}, + (_wSI, _sQe, _mR, _f), + ((WEB_SEARCH_ID, 9), (3, 1), (7, 0), (WEB_SEARCH_FILTERS, 0)), +) + +INVOKE_WEB_SEARCH_OUTPUT: StaticSchema = ( + 18, + n0, + _IWSO, + {_smith: None}, + (_resul,), + ((lambda: WEB_SEARCH_RESULT_LIST, 1),), +) + +INVOKE_WEB_SEARCH: StaticOperationSchema = ( + 23, + n0, + _IWS, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/web-search/{webSearchId}/invoke", "code": 200} + ) + }, + INVOKE_WEB_SEARCH_INPUT, + INVOKE_WEB_SEARCH_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +WEB_SEARCH_RESULT: StaticSchema = ( + 18, + n0, + _WSR, + 0, + (_tit, _url, _te, _pAub), + ((3, 0), (3, 0), (3, 1), (lambda: schemas.DATE_TIMESTAMP, 0)), +) + +WEB_SEARCH_RESULT_LIST: StaticSchema = ( + 16, + n0, + _WSRL, + 0, + (_m,), + ((WEB_SEARCH_RESULT, 0),), +) + +SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SUE, + {_sm: _se, _sE: 503}, + (_mes, _rAS), + ((3, 1), (7, 0)), +) + +MEMORY_ID: StaticSchema = (3, n0, _MIe, 0) + +RECORD_EXPIRY_ACTION: StaticSchema = ( + 14, + n0, + _REA, + 0, + (_REMOVE,), + ((-1, {_sVm: _REMOVE}),), +) + +RECORD_EXPIRY_DURATION_DAYS: StaticSchema = (7, n0, _REDD, 0) + +RECORD_EXPIRY_SPECIFICATION: StaticSchema = ( + 19, + n0, + _RES, + 0, + (_rEDD, _ac), + ((RECORD_EXPIRY_DURATION_DAYS, 0), (RECORD_EXPIRY_ACTION, 0)), +) + +SENSITIVE_STRING: StaticSchema = (3, n0, _SSen, 4) + +MEMORY_CONTENT: StaticSchema = (19, n0, _MC, 0, (_te,), ((SENSITIVE_STRING, 0),)) + +MEMORY_STRATEGY_ID: StaticSchema = (3, n0, _MSIe, 0) + +METADATA_KEY: StaticSchema = (3, n0, _MK, 0) + +STRING_LIST_MEMBER_VALUE: StaticSchema = (3, n0, _SLMV, 0) + +STRING_VALUE_LIST: StaticSchema = ( + 16, + n0, + _SVL, + 0, + (_m,), + ((STRING_LIST_MEMBER_VALUE, 0),), +) + +STRING_VALUE: StaticSchema = (3, n0, _SVt, 0) + +MEMORY_RECORD_METADATA_VALUE: StaticSchema = ( + 19, + n0, + _MRMV, + 0, + (_sVt, _sLV, _nV, _dTV), + ((STRING_VALUE, 0), (STRING_VALUE_LIST, 0), (10, 0), (4, 0)), +) + +MEMORY_RECORD_METADATA_MAP: StaticSchema = ( + 17, + n0, + _MRMM, + 0, + (_k, _va), + ((METADATA_KEY, 0), (MEMORY_RECORD_METADATA_VALUE, 0)), +) + +NAMESPACE: StaticSchema = (3, n0, _Na, 0) + +NAMESPACES_LIST: StaticSchema = (16, n0, _NL, 0, (_m,), ((NAMESPACE, 0),)) + +REQUEST_IDENTIFIER: StaticSchema = (3, n0, _RIe, 0) + +MEMORY_RECORD_CREATE_INPUT: StaticSchema = ( + 18, + n0, + _MRCI, + 0, + (_rIe, _na, _cont, _tim, _mSIe, _met), + ( + (REQUEST_IDENTIFIER, 1), + (NAMESPACES_LIST, 1), + (MEMORY_CONTENT, 1), + (4, 1), + (MEMORY_STRATEGY_ID, 0), + (MEMORY_RECORD_METADATA_MAP, 0), + ), +) + +MEMORY_RECORDS_CREATE_INPUT_LIST: StaticSchema = ( + 16, + n0, + _MRCIL, + 0, + (_m,), + ((MEMORY_RECORD_CREATE_INPUT, 0),), +) + +BATCH_CREATE_MEMORY_RECORDS_INPUT: StaticSchema = ( + 18, + n0, + _BCMRI, + {_smit: None}, + (_mIe, _rec, _cTl, _rES), + ( + (MEMORY_ID, 9), + (MEMORY_RECORDS_CREATE_INPUT_LIST, 1), + (3, 2), + (RECORD_EXPIRY_SPECIFICATION, 0), + ), +) + +BATCH_CREATE_MEMORY_RECORDS_OUTPUT: StaticSchema = ( + 18, + n0, + _BCMRO, + {_smith: None}, + (_sRu, _fR), + ((lambda: MEMORY_RECORDS_OUTPUT_LIST, 1), (lambda: MEMORY_RECORDS_OUTPUT_LIST, 1)), +) + +BATCH_CREATE_MEMORY_RECORDS: StaticOperationSchema = ( + 23, + n0, + _BCMR, + { + _smithy: MappingProxyType( + { + "code": 201, + "method": "POST", + "uri": "/memories/{memoryId}/memoryRecords/batchCreate", + } + ) + }, + BATCH_CREATE_MEMORY_RECORDS_INPUT, + BATCH_CREATE_MEMORY_RECORDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEMORY_RECORD_ID: StaticSchema = (3, n0, _MRI, 0) + +MEMORY_RECORD_STATUS: StaticSchema = ( + 14, + n0, + _MRS, + 0, + (_SUCCEEDED, _FAILED), + ((-1, {_sVm: _SUCCEEDED}), (-1, {_sVm: _FAILED})), +) + +MEMORY_RECORD_OUTPUT: StaticSchema = ( + 18, + n0, + _MRO, + 0, + (_mRI, _st, _rIe, _eCr, _eMr), + ( + (MEMORY_RECORD_ID, 1), + (MEMORY_RECORD_STATUS, 1), + (REQUEST_IDENTIFIER, 0), + (7, 0), + (3, 0), + ), +) + +MEMORY_RECORDS_OUTPUT_LIST: StaticSchema = ( + 16, + n0, + _MROL, + 0, + (_m,), + ((MEMORY_RECORD_OUTPUT, 0),), +) + +SERVICE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SE, + {_sm: _se, _sE: 500}, + (_mes,), + ((3, 1),), +) + +THROTTLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _TEh, + {_sm: _c, _sE: 429}, + (_mes,), + ((3, 1),), +) + +MEMORY_RECORD_DELETE_INPUT: StaticSchema = ( + 18, + n0, + _MRDI, + 0, + (_mRI, _nam), + ((MEMORY_RECORD_ID, 1), (NAMESPACE, 0)), +) + +MEMORY_RECORDS_DELETE_INPUT_LIST: StaticSchema = ( + 16, + n0, + _MRDIL, + 0, + (_m,), + ((MEMORY_RECORD_DELETE_INPUT, 0),), +) + +BATCH_DELETE_MEMORY_RECORDS_INPUT: StaticSchema = ( + 18, + n0, + _BDMRI, + {_smit: None}, + (_mIe, _rec), + ((MEMORY_ID, 9), (MEMORY_RECORDS_DELETE_INPUT_LIST, 1)), +) + +BATCH_DELETE_MEMORY_RECORDS_OUTPUT: StaticSchema = ( + 18, + n0, + _BDMRO, + {_smith: None}, + (_sRu, _fR), + ((MEMORY_RECORDS_OUTPUT_LIST, 1), (MEMORY_RECORDS_OUTPUT_LIST, 1)), +) + +BATCH_DELETE_MEMORY_RECORDS: StaticOperationSchema = ( + 23, + n0, + _BDMR, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/memories/{memoryId}/memoryRecords/batchDelete"} + ) + }, + BATCH_DELETE_MEMORY_RECORDS_INPUT, + BATCH_DELETE_MEMORY_RECORDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEMORY_RECORD_UPDATE_INPUT: StaticSchema = ( + 18, + n0, + _MRUI, + 0, + (_mRI, _tim, _cont, _na, _sNo, _mSIe, _met), + ( + (MEMORY_RECORD_ID, 1), + (4, 1), + (MEMORY_CONTENT, 0), + (NAMESPACES_LIST, 0), + (NAMESPACES_LIST, 0), + (MEMORY_STRATEGY_ID, 0), + (MEMORY_RECORD_METADATA_MAP, 0), + ), +) + +MEMORY_RECORDS_UPDATE_INPUT_LIST: StaticSchema = ( + 16, + n0, + _MRUIL, + 0, + (_m,), + ((MEMORY_RECORD_UPDATE_INPUT, 0),), +) + +BATCH_UPDATE_MEMORY_RECORDS_INPUT: StaticSchema = ( + 18, + n0, + _BUMRI, + {_smit: None}, + (_mIe, _rec, _rES), + ( + (MEMORY_ID, 9), + (MEMORY_RECORDS_UPDATE_INPUT_LIST, 1), + (RECORD_EXPIRY_SPECIFICATION, 0), + ), +) + +BATCH_UPDATE_MEMORY_RECORDS_OUTPUT: StaticSchema = ( + 18, + n0, + _BUMRO, + {_smith: None}, + (_sRu, _fR), + ((MEMORY_RECORDS_OUTPUT_LIST, 1), (MEMORY_RECORDS_OUTPUT_LIST, 1)), +) + +BATCH_UPDATE_MEMORY_RECORDS: StaticOperationSchema = ( + 23, + n0, + _BUMR, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/memories/{memoryId}/memoryRecords/batchUpdate"} + ) + }, + BATCH_UPDATE_MEMORY_RECORDS_INPUT, + BATCH_UPDATE_MEMORY_RECORDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BRANCH_NAME: StaticSchema = (3, n0, _BN, 0) + +EVENT_ID: StaticSchema = (3, n0, _EIve, 0) + +BRANCH: StaticSchema = (18, n0, _Br, 0, (_rEI, _n), ((EVENT_ID, 0), (BRANCH_NAME, 1))) + +NAMESPACE_VARIABLE_NAME: StaticSchema = (3, n0, _NVN, 0) + +NAMESPACE_VARIABLE_VALUE: StaticSchema = (3, n0, _NVV, 0) + +NAMESPACE_VARIABLES_MAP: StaticSchema = ( + 17, + n0, + _NVM, + 0, + (_k, _va), + ((NAMESPACE_VARIABLE_NAME, 0), (NAMESPACE_VARIABLE_VALUE, 0)), +) + +EXTRACTION_CONFIG: StaticSchema = ( + 18, + n0, + _ECx, + 0, + (_nVa,), + ((NAMESPACE_VARIABLES_MAP, 0),), +) + +EXTRACTION_MODE: StaticSchema = (14, n0, _EMx, 0, (_SKIP,), ((-1, {_sVm: _SKIP}),)) + +METADATA_VALUE: StaticSchema = (19, n0, _MV, 0, (_sVt,), ((3, 0),)) + +METADATA_MAP: StaticSchema = ( + 17, + n0, + _MMe, + 0, + (_k, _va), + ((METADATA_KEY, 0), (METADATA_VALUE, 0)), +) + +MEMORY_DOCUMENT: StaticSchema = (13, n0, _MD, 4) + +CONTENT: StaticSchema = (19, n0, _Con, 0, (_te,), ((SENSITIVE_STRING, 0),)) + +ROLE: StaticSchema = ( + 14, + n0, + _R, + 0, + (_ASSISTANT, _USER, _TOOL, _OTHER), + ( + (-1, {_sVm: _ASSISTANT}), + (-1, {_sVm: _USER}), + (-1, {_sVm: _TOOL}), + (-1, {_sVm: _OTHER}), + ), +) + +CONVERSATIONAL: StaticSchema = ( + 18, + n0, + _Conv, + 0, + (_cont, _ro), + ((CONTENT, 1), (ROLE, 1)), +) + +MEMORY_JSON_DATA_CONTENT: StaticSchema = (13, n0, _MJDC, 4) + +MEMORY_JSON_DATA: StaticSchema = ( + 18, + n0, + _MJD, + 4, + (_cont,), + ((MEMORY_JSON_DATA_CONTENT, 1),), +) + +PAYLOAD_TYPE: StaticSchema = ( + 19, + n0, + _PTa, + 0, + (_conv, _bl, _js), + ((CONVERSATIONAL, 0), (MEMORY_DOCUMENT, 0), (MEMORY_JSON_DATA, 0)), +) + +PAYLOAD_TYPE_LIST: StaticSchema = (16, n0, _PTL, 0, (_m,), ((PAYLOAD_TYPE, 0),)) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_7.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_7.py new file mode 100644 index 000000000..0743e43ae --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_7.py @@ -0,0 +1,1232 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcore" +_s = "smithy.api#required" +_n = "name" +_m = "member" +_sVm = "smithy.api#enumValue" +_FAILED = "FAILED" +_st = "status" +_cA = "createdAt" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_mes = "message" +_smi = "smithy.api#sensitive" +_aI = "actorId" +_sIe = "sessionId" +_smit = "smithy.api#input" +_sT = "smithy.api#idempotencyToken" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_p = "payload" +_smithyap = "smithy.api#default" +_cTl = "clientToken" +_GT = "GREATER_THAN" +_LT = "LESS_THAN" +_CONTAINS = "CONTAINS" +_op = "operator" +_x = "x" +_mR = "maxResults" +_nT = "nextToken" +_inl = "inline" +_met = "metadata" +_cont = "content" +_js = "json" +_tK = "topK" +_use = "username" +_mess = "messages" +_sQe = "searchQuery" +_na = "namespaces" +_tim = "timestamp" +_mSIe = "memoryStrategyId" +_mIe = "memoryId" +_mRI = "memoryRecordId" +_nam = "namespace" +_conv = "conversational" +_CEI = "CreateEventInput" +_eTve = "eventTimestamp" +_br = "branch" +_eMx = "extractionMode" +_eCxt = "extractionConfig" +_Eve = "Event" +_eIve = "eventId" +_CEO = "CreateEventOutput" +_eve = "event" +_IIE = "InvalidInputException" +_CEr = "CreateEvent" +_DEI = "DeleteEventInput" +_DEO = "DeleteEventOutput" +_DE = "DeleteEvent" +_DMRI = "DeleteMemoryRecordInput" +_DMRO = "DeleteMemoryRecordOutput" +_DMR = "DeleteMemoryRecord" +_GEI = "GetEventInput" +_GEO = "GetEventOutput" +_GE = "GetEvent" +_GMRI = "GetMemoryRecordInput" +_MRe = "MemoryRecord" +_eAx = "expiresAt" +_GMRO = "GetMemoryRecordOutput" +_mRe = "memoryRecord" +_GMR = "GetMemoryRecord" +_IPT = "IngestPayloadType" +_IPL = "IngestPayloadList" +_IMC = "InlineMemoryContent" +_CSo = "ContentSource" +_IDI = "IngestDataInput" +_so = "source" +_cTo = "contentTimestamp" +_IDO = "IngestDataOutput" +_IDn = "IngestData" +_PTag = "PaginationToken" +_LAI = "ListActorsInput" +_LAO = "ListActorsOutput" +_aSc = "actorSummaries" +_LA = "ListActors" +_BF = "BranchFilter" +_iPB = "includeParentBranches" +_LE = "LeftExpression" +_mK = "metadataKey" +_OT = "OperatorType" +_ET__ = "EQUALS_TO" +_EXISTS = "EXISTS" +_NE_ = "NOT_EXISTS" +_REi = "RightExpression" +_mV = "metadataValue" +_EMFE = "EventMetadataFilterExpression" +_le = "left" +_ri = "right" +_EMFL = "EventMetadataFilterList" +_FI = "FilterInput" +_eMve = "eventMetadata" +_LEI = "ListEventsInput" +_iP = "includePayloads" +_fil = "filter" +_ELv = "EventList" +_LEO = "ListEventsOutput" +_even = "events" +_LEi = "ListEvents" +_EJS = "ExtractionJobStatus" +_EJFI = "ExtractionJobFilterInput" +_sIt = "strategyId" +_LMEJI = "ListMemoryExtractionJobsInput" +_MMes = "MessageMetadata" +_mIes = "messageIndex" +_ML = "MessagesList" +_EJM = "ExtractionJobMessages" +_mL = "messagesList" +_EJMx = "ExtractionJobMetadata" +_jID = "jobID" +_fRa = "failureReason" +_EJML = "ExtractionJobMetadataList" +_LMEJO = "ListMemoryExtractionJobsOutput" +_jo = "jobs" +_LMEJ = "ListMemoryExtractionJobs" +_MRLE = "MemoryRecordLeftExpression" +_MROT = "MemoryRecordOperatorType" +_BEFORE = "BEFORE" +_AFTER = "AFTER" +_GTOE_ = "GREATER_THAN_OR_EQUALS" +_LTOE_ = "LESS_THAN_OR_EQUALS" +_MRRE = "MemoryRecordRightExpression" +_MMFE = "MemoryMetadataFilterExpression" +_MMFL = "MemoryMetadataFilterList" +_LMRI = "ListMemoryRecordsInput" +_nP = "namespacePath" +_mF = "metadataFilters" +_MRSe = "MemoryRecordSummary" +_scor = "score" +_MRSL = "MemoryRecordSummaryList" +_LMRO = "ListMemoryRecordsOutput" +_mRS = "memoryRecordSummaries" +_LMR = "ListMemoryRecords" +_EFC = "EventFilterCondition" +_HE = "HAS_EVENTS" +_SFes = "SessionFilter" +_eF = "eventFilter" +_LSI = "ListSessionsInput" +_SSes = "SessionSummary" +_SSL = "SessionSummaryList" +_LSO = "ListSessionsOutput" +_sSess = "sessionSummaries" +_LS = "ListSessions" +_SCe = "SearchCriteria" +_RMRI = "RetrieveMemoryRecordsInput" +_sCe = "searchCriteria" +_RMRO = "RetrieveMemoryRecordsOutput" +_RMR = "RetrieveMemoryRecords" +_EJ = "ExtractionJob" +_jI = "jobId" +_SMEJI = "StartMemoryExtractionJobInput" +_eJ = "extractionJob" +_SMEJO = "StartMemoryExtractionJobOutput" +_SMEJ = "StartMemoryExtractionJob" +_PAN = "PaymentAgentName" +_PCI = "PaymentConnectorId" +_JKI = "JwtKeyId" +_LADJ = "LinkedAccountDeveloperJwt" +_ki = "kid" +_sub = "sub" +_Em = "Email" +_LAE = "LinkedAccountEmail" +_eAm = "emailAddress" +_OAA = "OAuth2Authentication" +_LAOA = "LinkedAccountOAuth2" +_go = "google" +_ap = "apple" +_tel = "telegram" +_gi = "github" +_PN = "PhoneNumber" +_LAS = "LinkedAccountSms" +_pN = "phoneNumber" +_LAi = "LinkedAccount" +_em = "email" +_sms = "sms" +_dJ = "developerJwt" +_oAu = "oAuth2" +_LAL = "LinkedAccountList" +_CWN = "CryptoWalletNetwork" +_ETHEREUM = "ETHEREUM" +_SOLANA = "SOLANA" +_ECW = "EmbeddedCryptoWallet" +_ne = "network" +_lA = "linkedAccounts" +_wA = "walletAddress" +_rU = "redirectUrl" +_PID = "PaymentInstrumentDetails" +_eCW = "embeddedCryptoWallet" +_PIT = "PaymentInstrumentType" +_ECW_ = "EMBEDDED_CRYPTO_WALLET" +_PMA = "PaymentManagerArn" +_UIs = "UserId" + +CREATE_EVENT_INPUT: StaticSchema = ( + 18, + n0, + _CEI, + {_smit: None}, + (_mIe, _aI, _sIe, _eTve, _p, _br, _cTl, _met, _eMx, _eCxt), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.ACTOR_ID, 1), + (lambda: schemas.SESSION_ID, 0), + (4, 1), + (lambda: schemas.PAYLOAD_TYPE_LIST, 1), + (lambda: schemas.BRANCH, 0), + (3, 2), + (lambda: schemas.METADATA_MAP, 0), + (lambda: schemas.EXTRACTION_MODE, 0), + (lambda: schemas.EXTRACTION_CONFIG, 0), + ), +) + +CREATE_EVENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CEO, + {_smith: None}, + (_eve,), + ((lambda: EVENT, 1),), +) + +CREATE_EVENT: StaticOperationSchema = ( + 23, + n0, + _CEr, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/memories/{memoryId}/events"} + ) + }, + CREATE_EVENT_INPUT, + CREATE_EVENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.RETRYABLE_CONFLICT_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EVENT: StaticSchema = ( + 18, + n0, + _Eve, + 0, + (_mIe, _aI, _sIe, _eIve, _eTve, _p, _br, _met), + ( + (lambda: schemas.MEMORY_ID, 1), + (lambda: schemas.ACTOR_ID, 1), + (lambda: schemas.SESSION_ID, 1), + (lambda: schemas.EVENT_ID, 1), + (4, 1), + (lambda: schemas.PAYLOAD_TYPE_LIST, 1), + (lambda: schemas.BRANCH, 0), + (lambda: schemas.METADATA_MAP, 0), + ), +) + +INVALID_INPUT_EXCEPTION: StaticSchema = ( + 18, + n0, + _IIE, + {_sm: _c, _sE: 400}, + (_mes,), + ((3, 1),), +) + +DELETE_EVENT_INPUT: StaticSchema = ( + 18, + n0, + _DEI, + {_smit: None}, + (_mIe, _sIe, _eIve, _aI), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.SESSION_ID, 9), + (lambda: schemas.EVENT_ID, 9), + (lambda: schemas.ACTOR_ID, 9), + ), +) + +DELETE_EVENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DEO, + {_smith: None}, + (_eIve,), + ((lambda: schemas.EVENT_ID, 1),), +) + +DELETE_EVENT: StaticOperationSchema = ( + 23, + n0, + _DE, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", + } + ) + }, + DELETE_EVENT_INPUT, + DELETE_EVENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_MEMORY_RECORD_INPUT: StaticSchema = ( + 18, + n0, + _DMRI, + {_smit: None}, + (_mIe, _mRI, _nam), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.MEMORY_RECORD_ID, 9), + (lambda: schemas.NAMESPACE, {_sQ: _nam}), + ), +) + +DELETE_MEMORY_RECORD_OUTPUT: StaticSchema = ( + 18, + n0, + _DMRO, + {_smith: None}, + (_mRI,), + ((lambda: schemas.MEMORY_RECORD_ID, 1),), +) + +DELETE_MEMORY_RECORD: StaticOperationSchema = ( + 23, + n0, + _DMR, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/memories/{memoryId}/memoryRecords/{memoryRecordId}", + } + ) + }, + DELETE_MEMORY_RECORD_INPUT, + DELETE_MEMORY_RECORD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_EVENT_INPUT: StaticSchema = ( + 18, + n0, + _GEI, + {_smit: None}, + (_mIe, _sIe, _aI, _eIve), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.SESSION_ID, 9), + (lambda: schemas.ACTOR_ID, 9), + (lambda: schemas.EVENT_ID, 9), + ), +) + +GET_EVENT_OUTPUT: StaticSchema = (18, n0, _GEO, {_smith: None}, (_eve,), ((EVENT, 1),)) + +GET_EVENT: StaticOperationSchema = ( + 23, + n0, + _GE, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", + } + ) + }, + GET_EVENT_INPUT, + GET_EVENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_MEMORY_RECORD_INPUT: StaticSchema = ( + 18, + n0, + _GMRI, + {_smit: None}, + (_mIe, _mRI, _nam), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.MEMORY_RECORD_ID, 9), + (lambda: schemas.NAMESPACE, {_sQ: _nam}), + ), +) + +GET_MEMORY_RECORD_OUTPUT: StaticSchema = ( + 18, + n0, + _GMRO, + {_smith: None}, + (_mRe,), + ((lambda: MEMORY_RECORD, 1),), +) + +GET_MEMORY_RECORD: StaticOperationSchema = ( + 23, + n0, + _GMR, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/memories/{memoryId}/memoryRecord/{memoryRecordId}", + } + ) + }, + GET_MEMORY_RECORD_INPUT, + GET_MEMORY_RECORD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEMORY_RECORD: StaticSchema = ( + 18, + n0, + _MRe, + 0, + (_mRI, _cont, _mSIe, _na, _cA, _tim, _met, _eAx), + ( + (lambda: schemas.MEMORY_RECORD_ID, 1), + (lambda: schemas.MEMORY_CONTENT, 1), + (lambda: schemas.MEMORY_STRATEGY_ID, 1), + (lambda: schemas.NAMESPACES_LIST, 1), + (4, 1), + (4, 0), + (lambda: schemas.MEMORY_RECORD_METADATA_MAP, 0), + (4, 0), + ), +) + +INGEST_PAYLOAD_TYPE: StaticSchema = ( + 19, + n0, + _IPT, + 0, + (_conv, _js), + ((lambda: schemas.CONVERSATIONAL, 0), (lambda: schemas.MEMORY_JSON_DATA, 0)), +) + +INGEST_PAYLOAD_LIST: StaticSchema = ( + 16, + n0, + _IPL, + 0, + (_m,), + ((INGEST_PAYLOAD_TYPE, 0),), +) + +INLINE_MEMORY_CONTENT: StaticSchema = ( + 18, + n0, + _IMC, + 0, + (_p,), + ((INGEST_PAYLOAD_LIST, 1),), +) + +CONTENT_SOURCE: StaticSchema = (19, n0, _CSo, 0, (_inl,), ((INLINE_MEMORY_CONTENT, 0),)) + +INGEST_DATA_INPUT: StaticSchema = ( + 18, + n0, + _IDI, + {_smit: None}, + (_mIe, _so, _cTo, _aI, _sIe, _eCxt, _met, _cTl), + ( + (lambda: schemas.MEMORY_ID, 9), + (CONTENT_SOURCE, 1), + (4, 1), + (lambda: schemas.ACTOR_ID, 1), + (lambda: schemas.SESSION_ID, 0), + (lambda: schemas.EXTRACTION_CONFIG, 0), + (lambda: schemas.METADATA_MAP, 0), + (3, 2), + ), +) + +INGEST_DATA_OUTPUT: StaticSchema = ( + 18, + n0, + _IDO, + {_smith: None}, + (_sIe,), + ((lambda: schemas.SESSION_ID, 1),), +) + +INGEST_DATA: StaticOperationSchema = ( + 23, + n0, + _IDn, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/memories/{memoryId}/ingest"} + ) + }, + INGEST_DATA_INPUT, + INGEST_DATA_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAGINATION_TOKEN: StaticSchema = (3, n0, _PTag, 0) + +LIST_ACTORS_INPUT: StaticSchema = ( + 18, + n0, + _LAI, + {_smit: None}, + (_mIe, _mR, _nT), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.MAX_RESULTS, {_smithyap: 100}), + (PAGINATION_TOKEN, 0), + ), +) + +LIST_ACTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAO, + {_smith: None}, + (_aSc, _nT), + ((lambda: schemas.ACTOR_SUMMARY_LIST, 1), (PAGINATION_TOKEN, 0)), +) + +LIST_ACTORS: StaticOperationSchema = ( + 23, + n0, + _LA, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/memories/{memoryId}/actors"} + ) + }, + LIST_ACTORS_INPUT, + LIST_ACTORS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BRANCH_FILTER: StaticSchema = ( + 18, + n0, + _BF, + 0, + (_n, _iPB), + ((lambda: schemas.BRANCH_NAME, 1), (2, {_smithyap: True})), +) + +LEFT_EXPRESSION: StaticSchema = ( + 19, + n0, + _LE, + 0, + (_mK,), + ((lambda: schemas.METADATA_KEY, 0),), +) + +OPERATOR_TYPE: StaticSchema = ( + 14, + n0, + _OT, + 0, + (_ET__, _EXISTS, _NE_), + ((-1, {_sVm: _ET__}), (-1, {_sVm: _EXISTS}), (-1, {_sVm: _NE_})), +) + +RIGHT_EXPRESSION: StaticSchema = ( + 19, + n0, + _REi, + 0, + (_mV,), + ((lambda: schemas.METADATA_VALUE, 0),), +) + +EVENT_METADATA_FILTER_EXPRESSION: StaticSchema = ( + 18, + n0, + _EMFE, + 0, + (_le, _op, _ri), + ((LEFT_EXPRESSION, 1), (OPERATOR_TYPE, 1), (RIGHT_EXPRESSION, 0)), +) + +EVENT_METADATA_FILTER_LIST: StaticSchema = ( + 16, + n0, + _EMFL, + 0, + (_m,), + ((EVENT_METADATA_FILTER_EXPRESSION, 0),), +) + +FILTER_INPUT: StaticSchema = ( + 18, + n0, + _FI, + 0, + (_br, _eMve), + ((BRANCH_FILTER, 0), (EVENT_METADATA_FILTER_LIST, 0)), +) + +LIST_EVENTS_INPUT: StaticSchema = ( + 18, + n0, + _LEI, + {_smit: None}, + (_mIe, _sIe, _aI, _iP, _fil, _mR, _nT), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.SESSION_ID, 9), + (lambda: schemas.ACTOR_ID, 9), + (2, {_smithyap: True}), + (FILTER_INPUT, 0), + (lambda: schemas.MAX_RESULTS, {_smithyap: 100}), + (PAGINATION_TOKEN, 0), + ), +) + +LIST_EVENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LEO, + {_smith: None}, + (_even, _nT), + ((lambda: EVENT_LIST, 1), (PAGINATION_TOKEN, 0)), +) + +LIST_EVENTS: StaticOperationSchema = ( + 23, + n0, + _LEi, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}", + } + ) + }, + LIST_EVENTS_INPUT, + LIST_EVENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EVENT_LIST: StaticSchema = (16, n0, _ELv, 0, (_m,), ((EVENT, 0),)) + +EXTRACTION_JOB_STATUS: StaticSchema = ( + 14, + n0, + _EJS, + 0, + (_FAILED,), + ((-1, {_sVm: _FAILED}),), +) + +EXTRACTION_JOB_FILTER_INPUT: StaticSchema = ( + 18, + n0, + _EJFI, + 0, + (_sIt, _sIe, _aI, _st), + ((3, 0), (3, 0), (3, 0), (EXTRACTION_JOB_STATUS, 0)), +) + +LIST_MEMORY_EXTRACTION_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LMEJI, + {_smit: None}, + (_mIe, _mR, _fil, _nT), + ( + (lambda: schemas.MEMORY_ID, 9), + (7, {_smithyap: 20}), + (EXTRACTION_JOB_FILTER_INPUT, 0), + (PAGINATION_TOKEN, 0), + ), +) + +LIST_MEMORY_EXTRACTION_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMEJO, + {_smith: None}, + (_jo, _nT), + ((lambda: EXTRACTION_JOB_METADATA_LIST, 1), (PAGINATION_TOKEN, 0)), +) + +LIST_MEMORY_EXTRACTION_JOBS: StaticOperationSchema = ( + 23, + n0, + _LMEJ, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/memories/{memoryId}/extractionJobs"} + ) + }, + LIST_MEMORY_EXTRACTION_JOBS_INPUT, + LIST_MEMORY_EXTRACTION_JOBS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MESSAGE_METADATA: StaticSchema = (18, n0, _MMes, 0, (_eIve, _mIes), ((3, 1), (7, 1))) + +MESSAGES_LIST: StaticSchema = (16, n0, _ML, 0, (_m,), ((MESSAGE_METADATA, 0),)) + +EXTRACTION_JOB_MESSAGES: StaticSchema = (19, n0, _EJM, 0, (_mL,), ((MESSAGES_LIST, 0),)) + +EXTRACTION_JOB_METADATA: StaticSchema = ( + 18, + n0, + _EJMx, + 0, + (_jID, _mess, _st, _fRa, _sIt, _sIe, _aI), + ( + (3, 1), + (EXTRACTION_JOB_MESSAGES, 1), + (EXTRACTION_JOB_STATUS, 0), + (3, 0), + (3, 0), + (3, 0), + (3, 0), + ), +) + +EXTRACTION_JOB_METADATA_LIST: StaticSchema = ( + 16, + n0, + _EJML, + 0, + (_m,), + ((EXTRACTION_JOB_METADATA, 0),), +) + +MEMORY_RECORD_LEFT_EXPRESSION: StaticSchema = ( + 19, + n0, + _MRLE, + 0, + (_mK,), + ((lambda: schemas.METADATA_KEY, 0),), +) + +MEMORY_RECORD_OPERATOR_TYPE: StaticSchema = ( + 14, + n0, + _MROT, + 0, + (_ET__, _EXISTS, _NE_, _BEFORE, _AFTER, _CONTAINS, _GT, _GTOE_, _LT, _LTOE_), + ( + (-1, {_sVm: _ET__}), + (-1, {_sVm: _EXISTS}), + (-1, {_sVm: _NE_}), + (-1, {_sVm: _BEFORE}), + (-1, {_sVm: _AFTER}), + (-1, {_sVm: _CONTAINS}), + (-1, {_sVm: _GT}), + (-1, {_sVm: _GTOE_}), + (-1, {_sVm: _LT}), + (-1, {_sVm: _LTOE_}), + ), +) + +MEMORY_RECORD_RIGHT_EXPRESSION: StaticSchema = ( + 19, + n0, + _MRRE, + 0, + (_mV,), + ((lambda: schemas.MEMORY_RECORD_METADATA_VALUE, 0),), +) + +MEMORY_METADATA_FILTER_EXPRESSION: StaticSchema = ( + 18, + n0, + _MMFE, + 0, + (_le, _op, _ri), + ( + (MEMORY_RECORD_LEFT_EXPRESSION, 1), + (MEMORY_RECORD_OPERATOR_TYPE, 1), + (MEMORY_RECORD_RIGHT_EXPRESSION, 0), + ), +) + +MEMORY_METADATA_FILTER_LIST: StaticSchema = ( + 16, + n0, + _MMFL, + 0, + (_m,), + ((MEMORY_METADATA_FILTER_EXPRESSION, 0),), +) + +LIST_MEMORY_RECORDS_INPUT: StaticSchema = ( + 18, + n0, + _LMRI, + {_smit: None}, + (_mIe, _nam, _nP, _mSIe, _mR, _nT, _mF), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.NAMESPACE, 0), + (lambda: schemas.NAMESPACE, 0), + (lambda: schemas.MEMORY_STRATEGY_ID, 0), + (lambda: schemas.MAX_RESULTS, {_smithyap: 100}), + (PAGINATION_TOKEN, 0), + (MEMORY_METADATA_FILTER_LIST, 0), + ), +) + +LIST_MEMORY_RECORDS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMRO, + {_smith: None}, + (_mRS, _nT), + ((lambda: MEMORY_RECORD_SUMMARY_LIST, 1), (PAGINATION_TOKEN, 0)), +) + +LIST_MEMORY_RECORDS: StaticOperationSchema = ( + 23, + n0, + _LMR, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/memories/{memoryId}/memoryRecords"} + ) + }, + LIST_MEMORY_RECORDS_INPUT, + LIST_MEMORY_RECORDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEMORY_RECORD_SUMMARY: StaticSchema = ( + 18, + n0, + _MRSe, + 0, + (_mRI, _cont, _mSIe, _na, _cA, _scor, _tim, _met), + ( + (lambda: schemas.MEMORY_RECORD_ID, 1), + (lambda: schemas.MEMORY_CONTENT, 1), + (lambda: schemas.MEMORY_STRATEGY_ID, 1), + (lambda: schemas.NAMESPACES_LIST, 1), + (4, 1), + (10, 0), + (4, 0), + (lambda: schemas.MEMORY_RECORD_METADATA_MAP, 0), + ), +) + +MEMORY_RECORD_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _MRSL, + 0, + (_m,), + ((MEMORY_RECORD_SUMMARY, 0),), +) + +EVENT_FILTER_CONDITION: StaticSchema = (14, n0, _EFC, 0, (_HE,), ((-1, {_sVm: _HE}),)) + +SESSION_FILTER: StaticSchema = ( + 18, + n0, + _SFes, + 0, + (_eF,), + ((EVENT_FILTER_CONDITION, 0),), +) + +LIST_SESSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LSI, + {_smit: None}, + (_mIe, _aI, _mR, _nT, _fil), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.ACTOR_ID, 9), + (lambda: schemas.MAX_RESULTS, {_smithyap: 100}), + (PAGINATION_TOKEN, 0), + (SESSION_FILTER, 0), + ), +) + +LIST_SESSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_smith: None}, + (_sSess, _nT), + ((lambda: SESSION_SUMMARY_LIST, 1), (PAGINATION_TOKEN, 0)), +) + +LIST_SESSIONS: StaticOperationSchema = ( + 23, + n0, + _LS, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/memories/{memoryId}/actor/{actorId}/sessions"} + ) + }, + LIST_SESSIONS_INPUT, + LIST_SESSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SESSION_SUMMARY: StaticSchema = ( + 18, + n0, + _SSes, + 0, + (_sIe, _aI, _cA), + ((lambda: schemas.SESSION_ID, 1), (lambda: schemas.ACTOR_ID, 1), (4, 1)), +) + +SESSION_SUMMARY_LIST: StaticSchema = (16, n0, _SSL, 0, (_m,), ((SESSION_SUMMARY, 0),)) + +SEARCH_CRITERIA: StaticSchema = ( + 18, + n0, + _SCe, + 0, + (_sQe, _mSIe, _tK, _mF), + ( + (lambda: schemas.SENSITIVE_STRING, 1), + (lambda: schemas.MEMORY_STRATEGY_ID, 0), + (7, {_smithyap: 10}), + (MEMORY_METADATA_FILTER_LIST, 0), + ), +) + +RETRIEVE_MEMORY_RECORDS_INPUT: StaticSchema = ( + 18, + n0, + _RMRI, + {_smit: None}, + (_mIe, _nam, _nP, _sCe, _nT, _mR), + ( + (lambda: schemas.MEMORY_ID, 9), + (lambda: schemas.NAMESPACE, 0), + (lambda: schemas.NAMESPACE, 0), + (SEARCH_CRITERIA, 1), + (PAGINATION_TOKEN, 0), + (lambda: schemas.MAX_RESULTS, {_smithyap: 100}), + ), +) + +RETRIEVE_MEMORY_RECORDS_OUTPUT: StaticSchema = ( + 18, + n0, + _RMRO, + {_smith: None}, + (_mRS, _nT), + ((MEMORY_RECORD_SUMMARY_LIST, 1), (PAGINATION_TOKEN, 0)), +) + +RETRIEVE_MEMORY_RECORDS: StaticOperationSchema = ( + 23, + n0, + _RMR, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/memories/{memoryId}/retrieve"} + ) + }, + RETRIEVE_MEMORY_RECORDS_INPUT, + RETRIEVE_MEMORY_RECORDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + INVALID_INPUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EXTRACTION_JOB: StaticSchema = (18, n0, _EJ, 0, (_jI,), ((3, 1),)) + +START_MEMORY_EXTRACTION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SMEJI, + {_smit: None}, + (_mIe, _eJ, _cTl), + ((lambda: schemas.MEMORY_ID, 9), (EXTRACTION_JOB, 1), (3, 2)), +) + +START_MEMORY_EXTRACTION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SMEJO, + {_smith: None}, + (_jI,), + ((3, 1),), +) + +START_MEMORY_EXTRACTION_JOB: StaticOperationSchema = ( + 23, + n0, + _SMEJ, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/memories/{memoryId}/extractionJobs/start"} + ) + }, + START_MEMORY_EXTRACTION_JOB_INPUT, + START_MEMORY_EXTRACTION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_AGENT_NAME: StaticSchema = (3, n0, _PAN, 0) + +PAYMENT_CONNECTOR_ID: StaticSchema = (3, n0, _PCI, 0) + +JWT_KEY_ID: StaticSchema = (3, n0, _JKI, 0) + +LINKED_ACCOUNT_DEVELOPER_JWT: StaticSchema = ( + 18, + n0, + _LADJ, + 0, + (_ki, _sub), + ((JWT_KEY_ID, 1), (3, 1)), +) + +EMAIL: StaticSchema = (3, n0, _Em, 4) + +LINKED_ACCOUNT_EMAIL: StaticSchema = (18, n0, _LAE, 4, (_eAm,), ((EMAIL, 1),)) + +O_AUTH2_AUTHENTICATION: StaticSchema = ( + 18, + n0, + _OAA, + 4, + (_sub, _eAm, _n, _use), + ((3, 1), (EMAIL, 0), (3, 0), (3, 0)), +) + +LINKED_ACCOUNT_O_AUTH2: StaticSchema = ( + 19, + n0, + _LAOA, + 0, + (_go, _ap, _x, _tel, _gi), + ( + (O_AUTH2_AUTHENTICATION, 0), + (O_AUTH2_AUTHENTICATION, 0), + (O_AUTH2_AUTHENTICATION, 0), + (O_AUTH2_AUTHENTICATION, 0), + (O_AUTH2_AUTHENTICATION, 0), + ), +) + +PHONE_NUMBER: StaticSchema = (3, n0, _PN, 4) + +LINKED_ACCOUNT_SMS: StaticSchema = (18, n0, _LAS, 4, (_pN,), ((PHONE_NUMBER, 1),)) + +LINKED_ACCOUNT: StaticSchema = ( + 19, + n0, + _LAi, + 4, + (_em, _sms, _dJ, _oAu), + ( + (LINKED_ACCOUNT_EMAIL, 0), + (LINKED_ACCOUNT_SMS, 0), + (LINKED_ACCOUNT_DEVELOPER_JWT, 0), + (LINKED_ACCOUNT_O_AUTH2, 0), + ), +) + +LINKED_ACCOUNT_LIST: StaticSchema = (16, n0, _LAL, 0, (_m,), ((LINKED_ACCOUNT, 0),)) + +CRYPTO_WALLET_NETWORK: StaticSchema = ( + 14, + n0, + _CWN, + 0, + (_ETHEREUM, _SOLANA), + ((-1, {_sVm: _ETHEREUM}), (-1, {_sVm: _SOLANA})), +) + +EMBEDDED_CRYPTO_WALLET: StaticSchema = ( + 18, + n0, + _ECW, + 0, + (_ne, _lA, _wA, _rU), + ((CRYPTO_WALLET_NETWORK, 1), (LINKED_ACCOUNT_LIST, 1), (3, 0), (3, 0)), +) + +PAYMENT_INSTRUMENT_DETAILS: StaticSchema = ( + 19, + n0, + _PID, + 0, + (_eCW,), + ((EMBEDDED_CRYPTO_WALLET, 0),), +) + +PAYMENT_INSTRUMENT_TYPE: StaticSchema = ( + 14, + n0, + _PIT, + 0, + (_ECW_,), + ((-1, {_sVm: _ECW_}),), +) + +PAYMENT_MANAGER_ARN: StaticSchema = (3, n0, _PMA, 0) + +USER_ID: StaticSchema = (3, n0, _UIs, 0) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_8.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_8.py new file mode 100644 index 000000000..2b596855c --- /dev/null +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/_private/schemas_8.py @@ -0,0 +1,1144 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockagentcore" +_sV = "schemaVersion" +_iC = "inlineContent" +_s = "smithy.api#required" +_n = "name" +_m = "member" +_sVm = "smithy.api#enumValue" +_ACTIVE = "ACTIVE" +_FAILED = "FAILED" +_st = "status" +_d = "description" +_cA = "createdAt" +_uA = "updatedAt" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_mes = "message" +_smi = "smithy.api#sensitive" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sH = "smithy.api#httpHeader" +_sT = "smithy.api#idempotencyToken" +_smith = "smithy.api#output" +_se = "server" +_smithy = "smithy.api#http" +_p = "payload" +_smithyap = "smithy.api#default" +_cTl = "clientToken" +_va = "value" +_f = "filters" +_mR = "maxResults" +_nT = "nextToken" +_DELETED = "DELETED" +_uI = "userId" +_to = "tools" +_sQe = "searchQuery" +_ETHEREUM = "ETHEREUM" +_SOLANA = "SOLANA" +_ne = "network" +_CPII = "CreatePaymentInstrumentInput" +_cCPIR = "com.amazonaws.bedrockagentcore#CreatePaymentInstrumentRequest" +_XABAPUI = "X-Amzn-Bedrock-AgentCore-Payments-User-Id" +_aN = "agentName" +_XABAPAN = "X-Amzn-Bedrock-AgentCore-Payments-Agent-Name" +_pMA = "paymentManagerArn" +_pCI = "paymentConnectorId" +_pIT = "paymentInstrumentType" +_pID = "paymentInstrumentDetails" +_PII = "PaymentInstrumentId" +_PIS = "PaymentInstrumentStatus" +_INITIATED = "INITIATED" +_BLOCKED = "BLOCKED" +_PI = "PaymentInstrument" +_pII = "paymentInstrumentId" +_CPIO = "CreatePaymentInstrumentOutput" +_cCPIRo = "com.amazonaws.bedrockagentcore#CreatePaymentInstrumentResponse" +_pIa = "paymentInstrument" +_SRE = "SubscriptionRequiredException" +_sUu = "subscriptionUrl" +_pNr = "productName" +_CPIr = "CreatePaymentInstrument" +_DPII = "DeletePaymentInstrumentInput" +_cDPIR = "com.amazonaws.bedrockagentcore#DeletePaymentInstrumentRequest" +_DPIO = "DeletePaymentInstrumentOutput" +_cDPIRo = "com.amazonaws.bedrockagentcore#DeletePaymentInstrumentResponse" +_DPI = "DeletePaymentInstrument" +_GPII = "GetPaymentInstrumentInput" +_cGPIR = "com.amazonaws.bedrockagentcore#GetPaymentInstrumentRequest" +_GPIO = "GetPaymentInstrumentOutput" +_cGPIRo = "com.amazonaws.bedrockagentcore#GetPaymentInstrumentResponse" +_GPI = "GetPaymentInstrument" +_BCI = "BlockchainChainId" +_BASE = "BASE" +_BS = "BASE_SEPOLIA" +_SD_ = "SOLANA_DEVNET" +_IBT = "InstrumentBalanceToken" +_USDC = "USDC" +_GPIBI = "GetPaymentInstrumentBalanceInput" +_cGPIBR = "com.amazonaws.bedrockagentcore#GetPaymentInstrumentBalanceRequest" +_cha = "chain" +_tok = "token" +_TB = "TokenBalance" +_am = "amount" +_deci = "decimals" +_GPIBO = "GetPaymentInstrumentBalanceOutput" +_cGPIBRo = "com.amazonaws.bedrockagentcore#GetPaymentInstrumentBalanceResponse" +_tB = "tokenBalance" +_GPIB = "GetPaymentInstrumentBalance" +_LPII = "ListPaymentInstrumentsInput" +_cLPIR = "com.amazonaws.bedrockagentcore#ListPaymentInstrumentsRequest" +_PISa = "PaymentInstrumentSummary" +_PISL = "PaymentInstrumentSummaryList" +_LPIO = "ListPaymentInstrumentsOutput" +_cLPIRo = "com.amazonaws.bedrockagentcore#ListPaymentInstrumentsResponse" +_pIay = "paymentInstruments" +_LPI = "ListPaymentInstruments" +_Cu = "Currency" +_USD = "USD" +_Am = "Amount" +_cu = "currency" +_SLe = "SessionLimits" +_mSA = "maxSpendAmount" +_CPSI = "CreatePaymentSessionInput" +_cCPSR = "com.amazonaws.bedrockagentcore#CreatePaymentSessionRequest" +_li = "limits" +_eTIM = "expiryTimeInMinutes" +_AL = "AvailableLimits" +_aSA = "availableSpendAmount" +_PSI = "PaymentSessionId" +_PS = "PaymentSession" +_pSI = "paymentSessionId" +_aL = "availableLimits" +_CPSO = "CreatePaymentSessionOutput" +_cCPSRo = "com.amazonaws.bedrockagentcore#CreatePaymentSessionResponse" +_pS = "paymentSession" +_CPS = "CreatePaymentSession" +_DPSI = "DeletePaymentSessionInput" +_cDPSR = "com.amazonaws.bedrockagentcore#DeletePaymentSessionRequest" +_PSS = "PaymentSessionStatus" +_EXPIRED = "EXPIRED" +_DPSO = "DeletePaymentSessionOutput" +_cDPSRo = "com.amazonaws.bedrockagentcore#DeletePaymentSessionResponse" +_DPS = "DeletePaymentSession" +_GPSI = "GetPaymentSessionInput" +_cGPSR = "com.amazonaws.bedrockagentcore#GetPaymentSessionRequest" +_GPSO = "GetPaymentSessionOutput" +_cGPSRo = "com.amazonaws.bedrockagentcore#GetPaymentSessionResponse" +_GPS = "GetPaymentSession" +_LPSI = "ListPaymentSessionsInput" +_cLPSR = "com.amazonaws.bedrockagentcore#ListPaymentSessionsRequest" +_PSSa = "PaymentSessionSummary" +_PSSL = "PaymentSessionSummaryList" +_LPSO = "ListPaymentSessionsOutput" +_cLPSRo = "com.amazonaws.bedrockagentcore#ListPaymentSessionsResponse" +_pSa = "paymentSessions" +_LPS = "ListPaymentSessions" +_PD = "PaymentDocument" +_PAL = "Permit2AllowanceLimit" +_CXPI = "CryptoX402PaymentInput" +_ve = "version" +_pAL = "permit2AllowanceLimit" +_Ve = "Version" +_WAH = "WwwAuthenticateHeader" +_WAHL = "WwwAuthenticateHeaderList" +_MPI = "MppPaymentInput" +_wAH = "wwwAuthenticateHeaders" +_bPGF = "buyerPaysGasFees" +_PIa = "PaymentInput" +_cX = "cryptoX402" +_mp = "mpp" +_PTay = "PaymentType" +_CX = "CRYPTO_X402" +_MPP = "MPP" +_PPI = "ProcessPaymentInput" +_cPPR = "com.amazonaws.bedrockagentcore#ProcessPaymentRequest" +_pT = "paymentType" +_pIaym = "paymentInput" +_CXPO = "CryptoX402PaymentOutput" +_MPC = "MppPaymentCredential" +_MPO = "MppPaymentOutput" +_sPI = "selectedPaymentId" +_pCa = "paymentCredential" +_PO = "PaymentOutput" +_PPIr = "ProcessPaymentId" +_PSa = "PaymentStatus" +_PG = "PROOF_GENERATED" +_PPO = "ProcessPaymentOutput" +_cPPRo = "com.amazonaws.bedrockagentcore#ProcessPaymentResponse" +_pPI = "processPaymentId" +_pO = "paymentOutput" +_PPr = "ProcessPayment" +_MFE = "MetadataFilterExpression" +_RIeg = "RegistryIdentifier" +_RIL = "RegistryIdList" +_SRRI = "SearchRegistryRecordsInput" +_cSRRR = "com.amazonaws.bedrockagentcore#SearchRegistryRecordsRequest" +_rIeg = "registryIds" +_Des = "Description" +_CD = "CustomDescriptor" +_SDe = "ServerDefinition" +_TD = "ToolsDefinition" +_pVr = "protocolVersion" +_MDc = "McpDescriptor" +_Desc = "Descriptors" +_mc = "mcp" +_aa = "a2a" +_cus = "custom" +_aSg = "agentSkills" +_DTe = "DescriptorType" +_MCP = "MCP" +_AA = "A2A" +_CUSTOM = "CUSTOM" +_AS_ = "AGENT_SKILLS" +_RRN = "RegistryRecordName" +_RRA = "RegistryRecordArn" +_RRI = "RegistryRecordId" +_RAeg = "RegistryArn" +_RRS = "RegistryRecordStatus" +_DRAFT = "DRAFT" +_PA = "PENDING_APPROVAL" +_APPROVED = "APPROVED" +_REJECTED = "REJECTED" +_DEPRECATED = "DEPRECATED" +_RRV = "RegistryRecordVersion" +_RRSe = "RegistryRecordSummary" +_rAeg = "registryArn" +_rAec = "recordArn" +_rIec = "recordId" +_dT = "descriptorType" +_des = "descriptors" +_RRSL = "RegistryRecordSummaryList" +_SRRO = "SearchRegistryRecordsOutput" +_cSRRRo = "com.amazonaws.bedrockagentcore#SearchRegistryRecordsResponse" +_rRe = "registryRecords" +_SRR = "SearchRegistryRecords" +_ABAC = "AmazonBedrockAgentCore" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" + +CREATE_PAYMENT_INSTRUMENT_INPUT: StaticSchema = ( + 18, + n0, + _CPII, + {_sSI: _cCPIR, _smit: None}, + (_uI, _aN, _pMA, _pCI, _pIT, _pID, _cTl), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.PAYMENT_CONNECTOR_ID, 1), + (lambda: schemas.PAYMENT_INSTRUMENT_TYPE, 1), + (lambda: schemas.PAYMENT_INSTRUMENT_DETAILS, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_PAYMENT_INSTRUMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CPIO, + {_sSI: _cCPIRo, _smith: None}, + (_pIa,), + ((lambda: PAYMENT_INSTRUMENT, 1),), +) + +CREATE_PAYMENT_INSTRUMENT: StaticOperationSchema = ( + 23, + n0, + _CPIr, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/payments/createPaymentInstrument"} + ) + }, + CREATE_PAYMENT_INSTRUMENT_INPUT, + CREATE_PAYMENT_INSTRUMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: SUBSCRIPTION_REQUIRED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_INSTRUMENT_ID: StaticSchema = (3, n0, _PII, 0) + +PAYMENT_INSTRUMENT_STATUS: StaticSchema = ( + 14, + n0, + _PIS, + 0, + (_INITIATED, _ACTIVE, _FAILED, _DELETED, _BLOCKED), + ( + (-1, {_sVm: _INITIATED}), + (-1, {_sVm: _ACTIVE}), + (-1, {_sVm: _FAILED}), + (-1, {_sVm: _DELETED}), + (-1, {_sVm: _BLOCKED}), + ), +) + +PAYMENT_INSTRUMENT: StaticSchema = ( + 18, + n0, + _PI, + 0, + (_pII, _pMA, _pCI, _uI, _pIT, _pID, _cA, _st, _uA), + ( + (PAYMENT_INSTRUMENT_ID, 1), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.PAYMENT_CONNECTOR_ID, 1), + (lambda: schemas.USER_ID, 1), + (lambda: schemas.PAYMENT_INSTRUMENT_TYPE, 1), + (lambda: schemas.PAYMENT_INSTRUMENT_DETAILS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (PAYMENT_INSTRUMENT_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +SUBSCRIPTION_REQUIRED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SRE, + {_sm: _c, _sE: 403}, + (_mes, _sUu, _pNr), + ((3, 1), (3, 0), (3, 0)), +) + +DELETE_PAYMENT_INSTRUMENT_INPUT: StaticSchema = ( + 18, + n0, + _DPII, + {_sSI: _cDPIR, _smit: None}, + (_uI, _pMA, _pCI, _pII), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.PAYMENT_CONNECTOR_ID, 1), + (PAYMENT_INSTRUMENT_ID, 1), + ), +) + +DELETE_PAYMENT_INSTRUMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DPIO, + {_sSI: _cDPIRo, _smith: None}, + (_st,), + ((PAYMENT_INSTRUMENT_STATUS, 1),), +) + +DELETE_PAYMENT_INSTRUMENT: StaticOperationSchema = ( + 23, + n0, + _DPI, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/payments/deletePaymentInstrument"} + ) + }, + DELETE_PAYMENT_INSTRUMENT_INPUT, + DELETE_PAYMENT_INSTRUMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_PAYMENT_INSTRUMENT_INPUT: StaticSchema = ( + 18, + n0, + _GPII, + {_sSI: _cGPIR, _smit: None}, + (_uI, _aN, _pMA, _pCI, _pII), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.PAYMENT_CONNECTOR_ID, 0), + (PAYMENT_INSTRUMENT_ID, 1), + ), +) + +GET_PAYMENT_INSTRUMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GPIO, + {_sSI: _cGPIRo, _smith: None}, + (_pIa,), + ((PAYMENT_INSTRUMENT, 1),), +) + +GET_PAYMENT_INSTRUMENT: StaticOperationSchema = ( + 23, + n0, + _GPI, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/payments/getPaymentInstrument"} + ) + }, + GET_PAYMENT_INSTRUMENT_INPUT, + GET_PAYMENT_INSTRUMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BLOCKCHAIN_CHAIN_ID: StaticSchema = ( + 14, + n0, + _BCI, + 0, + (_BASE, _BS, _ETHEREUM, _SOLANA, _SD_), + ( + (-1, {_sVm: _BASE}), + (-1, {_sVm: _BS}), + (-1, {_sVm: _ETHEREUM}), + (-1, {_sVm: _SOLANA}), + (-1, {_sVm: _SD_}), + ), +) + +INSTRUMENT_BALANCE_TOKEN: StaticSchema = ( + 14, + n0, + _IBT, + 0, + (_USDC,), + ((-1, {_sVm: _USDC}),), +) + +GET_PAYMENT_INSTRUMENT_BALANCE_INPUT: StaticSchema = ( + 18, + n0, + _GPIBI, + {_sSI: _cGPIBR, _smit: None}, + (_uI, _aN, _pMA, _pCI, _pII, _cha, _tok), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.PAYMENT_CONNECTOR_ID, 1), + (PAYMENT_INSTRUMENT_ID, 1), + (BLOCKCHAIN_CHAIN_ID, 1), + (INSTRUMENT_BALANCE_TOKEN, 1), + ), +) + +GET_PAYMENT_INSTRUMENT_BALANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _GPIBO, + {_sSI: _cGPIBRo, _smith: None}, + (_pII, _tB), + ((PAYMENT_INSTRUMENT_ID, 1), (lambda: TOKEN_BALANCE, 1)), +) + +GET_PAYMENT_INSTRUMENT_BALANCE: StaticOperationSchema = ( + 23, + n0, + _GPIB, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/payments/getPaymentInstrumentBalance", + } + ) + }, + GET_PAYMENT_INSTRUMENT_BALANCE_INPUT, + GET_PAYMENT_INSTRUMENT_BALANCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TOKEN_BALANCE: StaticSchema = ( + 18, + n0, + _TB, + 0, + (_am, _deci, _tok, _ne, _cha), + ( + (3, 1), + (7, 1), + (INSTRUMENT_BALANCE_TOKEN, 1), + (lambda: schemas.CRYPTO_WALLET_NETWORK, 1), + (BLOCKCHAIN_CHAIN_ID, 1), + ), +) + +LIST_PAYMENT_INSTRUMENTS_INPUT: StaticSchema = ( + 18, + n0, + _LPII, + {_sSI: _cLPIR, _smit: None}, + (_uI, _aN, _pMA, _pCI, _nT, _mR), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.PAYMENT_CONNECTOR_ID, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (7, 0), + ), +) + +LIST_PAYMENT_INSTRUMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPIO, + {_sSI: _cLPIRo, _smith: None}, + (_pIay, _nT), + ((lambda: PAYMENT_INSTRUMENT_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_PAYMENT_INSTRUMENTS: StaticOperationSchema = ( + 23, + n0, + _LPI, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/payments/listPaymentInstruments"} + ) + }, + LIST_PAYMENT_INSTRUMENTS_INPUT, + LIST_PAYMENT_INSTRUMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_INSTRUMENT_SUMMARY: StaticSchema = ( + 18, + n0, + _PISa, + 0, + (_pII, _pMA, _pCI, _uI, _pIT, _st, _cA, _uA), + ( + (PAYMENT_INSTRUMENT_ID, 1), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.PAYMENT_CONNECTOR_ID, 1), + (lambda: schemas.USER_ID, 1), + (lambda: schemas.PAYMENT_INSTRUMENT_TYPE, 1), + (PAYMENT_INSTRUMENT_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +PAYMENT_INSTRUMENT_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _PISL, + 0, + (_m,), + ((PAYMENT_INSTRUMENT_SUMMARY, 0),), +) + +CURRENCY: StaticSchema = (14, n0, _Cu, 0, (_USD,), ((-1, {_sVm: _USD}),)) + +AMOUNT: StaticSchema = (18, n0, _Am, 0, (_va, _cu), ((3, 1), (CURRENCY, 1))) + +SESSION_LIMITS: StaticSchema = (18, n0, _SLe, 0, (_mSA,), ((AMOUNT, 1),)) + +CREATE_PAYMENT_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _CPSI, + {_sSI: _cCPSR, _smit: None}, + (_uI, _aN, _pMA, _li, _eTIM, _cTl), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (SESSION_LIMITS, 0), + (7, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_PAYMENT_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CPSO, + {_sSI: _cCPSRo, _smith: None}, + (_pS,), + ((lambda: PAYMENT_SESSION, 1),), +) + +CREATE_PAYMENT_SESSION: StaticOperationSchema = ( + 23, + n0, + _CPS, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/payments/createPaymentSession"} + ) + }, + CREATE_PAYMENT_SESSION_INPUT, + CREATE_PAYMENT_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + SUBSCRIPTION_REQUIRED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AVAILABLE_LIMITS: StaticSchema = ( + 18, + n0, + _AL, + 0, + (_aSA, _uA), + ((AMOUNT, 0), (lambda: schemas.DATE_TIMESTAMP, 0)), +) + +PAYMENT_SESSION_ID: StaticSchema = (3, n0, _PSI, 0) + +PAYMENT_SESSION: StaticSchema = ( + 18, + n0, + _PS, + 0, + (_pSI, _pMA, _li, _uI, _eTIM, _cA, _aL, _uA), + ( + (PAYMENT_SESSION_ID, 1), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (SESSION_LIMITS, 0), + (lambda: schemas.USER_ID, 1), + (7, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (AVAILABLE_LIMITS, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +DELETE_PAYMENT_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _DPSI, + {_sSI: _cDPSR, _smit: None}, + (_uI, _pMA, _pSI), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (PAYMENT_SESSION_ID, 1), + ), +) + +DELETE_PAYMENT_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DPSO, + {_sSI: _cDPSRo, _smith: None}, + (_st,), + ((lambda: PAYMENT_SESSION_STATUS, 1),), +) + +DELETE_PAYMENT_SESSION: StaticOperationSchema = ( + 23, + n0, + _DPS, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/payments/deletePaymentSession"} + ) + }, + DELETE_PAYMENT_SESSION_INPUT, + DELETE_PAYMENT_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_SESSION_STATUS: StaticSchema = ( + 14, + n0, + _PSS, + 0, + (_ACTIVE, _EXPIRED, _DELETED), + ((-1, {_sVm: _ACTIVE}), (-1, {_sVm: _EXPIRED}), (-1, {_sVm: _DELETED})), +) + +GET_PAYMENT_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _GPSI, + {_sSI: _cGPSR, _smit: None}, + (_uI, _aN, _pMA, _pSI), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (PAYMENT_SESSION_ID, 1), + ), +) + +GET_PAYMENT_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GPSO, + {_sSI: _cGPSRo, _smith: None}, + (_pS,), + ((PAYMENT_SESSION, 1),), +) + +GET_PAYMENT_SESSION: StaticOperationSchema = ( + 23, + n0, + _GPS, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/payments/getPaymentSession"} + ) + }, + GET_PAYMENT_SESSION_INPUT, + GET_PAYMENT_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_PAYMENT_SESSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LPSI, + {_sSI: _cLPSR, _smit: None}, + (_uI, _aN, _pMA, _nT, _mR), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (7, 0), + ), +) + +LIST_PAYMENT_SESSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPSO, + {_sSI: _cLPSRo, _smith: None}, + (_pSa, _nT), + ((lambda: PAYMENT_SESSION_SUMMARY_LIST, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_PAYMENT_SESSIONS: StaticOperationSchema = ( + 23, + n0, + _LPS, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/payments/listPaymentSessions"} + ) + }, + LIST_PAYMENT_SESSIONS_INPUT, + LIST_PAYMENT_SESSIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYMENT_SESSION_SUMMARY: StaticSchema = ( + 18, + n0, + _PSSa, + 0, + (_pSI, _pMA, _uI, _eTIM, _cA, _uA), + ( + (PAYMENT_SESSION_ID, 1), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (lambda: schemas.USER_ID, 1), + (7, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +PAYMENT_SESSION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _PSSL, + 0, + (_m,), + ((PAYMENT_SESSION_SUMMARY, 0),), +) + +PAYMENT_DOCUMENT: StaticSchema = (13, n0, _PD, 4) + +PERMIT2_ALLOWANCE_LIMIT: StaticSchema = (3, n0, _PAL, 0) + +CRYPTO_X402_PAYMENT_INPUT: StaticSchema = ( + 18, + n0, + _CXPI, + 0, + (_ve, _p, _pAL), + ((3, 1), (PAYMENT_DOCUMENT, 1), (PERMIT2_ALLOWANCE_LIMIT, 0)), +) + +VERSION: StaticSchema = (3, n0, _Ve, 0) + +WWW_AUTHENTICATE_HEADER: StaticSchema = (3, n0, _WAH, 0) + +WWW_AUTHENTICATE_HEADER_LIST: StaticSchema = ( + 16, + n0, + _WAHL, + 0, + (_m,), + ((WWW_AUTHENTICATE_HEADER, 0),), +) + +MPP_PAYMENT_INPUT: StaticSchema = ( + 18, + n0, + _MPI, + 0, + (_ve, _wAH, _bPGF), + ((VERSION, 1), (WWW_AUTHENTICATE_HEADER_LIST, 1), (2, 0)), +) + +PAYMENT_INPUT: StaticSchema = ( + 19, + n0, + _PIa, + 0, + (_cX, _mp), + ((CRYPTO_X402_PAYMENT_INPUT, 0), (MPP_PAYMENT_INPUT, 0)), +) + +PAYMENT_TYPE: StaticSchema = ( + 14, + n0, + _PTay, + 0, + (_CX, _MPP), + ((-1, {_sVm: _CX}), (-1, {_sVm: _MPP})), +) + +PROCESS_PAYMENT_INPUT: StaticSchema = ( + 18, + n0, + _PPI, + {_sSI: _cPPR, _smit: None}, + (_uI, _aN, _pMA, _pSI, _pII, _pT, _pIaym, _cTl), + ( + (lambda: schemas.USER_ID, {_sH: _XABAPUI}), + (lambda: schemas.PAYMENT_AGENT_NAME, {_sH: _XABAPAN}), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (PAYMENT_SESSION_ID, 1), + (PAYMENT_INSTRUMENT_ID, 1), + (PAYMENT_TYPE, 1), + (PAYMENT_INPUT, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +PROCESS_PAYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _PPO, + {_sSI: _cPPRo, _smith: None}, + (_pPI, _pMA, _pSI, _pII, _pT, _st, _pO, _cA, _uA), + ( + (lambda: PROCESS_PAYMENT_ID, 1), + (lambda: schemas.PAYMENT_MANAGER_ARN, 1), + (PAYMENT_SESSION_ID, 1), + (PAYMENT_INSTRUMENT_ID, 1), + (PAYMENT_TYPE, 1), + (lambda: PAYMENT_STATUS, 1), + (lambda: PAYMENT_OUTPUT, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +PROCESS_PAYMENT: StaticOperationSchema = ( + 23, + n0, + _PPr, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/payments/processPayment"} + ) + }, + PROCESS_PAYMENT_INPUT, + PROCESS_PAYMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + SUBSCRIPTION_REQUIRED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CRYPTO_X402_PAYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CXPO, + 0, + (_ve, _p), + ((3, 1), (PAYMENT_DOCUMENT, 1)), +) + +MPP_PAYMENT_CREDENTIAL: StaticSchema = (3, n0, _MPC, 4) + +MPP_PAYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _MPO, + 0, + (_ve, _sPI, _pCa), + ((VERSION, 1), (3, 1), (MPP_PAYMENT_CREDENTIAL, 1)), +) + +PAYMENT_OUTPUT: StaticSchema = ( + 19, + n0, + _PO, + 0, + (_cX, _mp), + ((CRYPTO_X402_PAYMENT_OUTPUT, 0), (MPP_PAYMENT_OUTPUT, 0)), +) + +PROCESS_PAYMENT_ID: StaticSchema = (3, n0, _PPIr, 0) + +PAYMENT_STATUS: StaticSchema = (14, n0, _PSa, 0, (_PG,), ((-1, {_sVm: _PG}),)) + +METADATA_FILTER_EXPRESSION: StaticSchema = (13, n0, _MFE, 0) + +REGISTRY_IDENTIFIER: StaticSchema = (3, n0, _RIeg, 0) + +REGISTRY_ID_LIST: StaticSchema = (16, n0, _RIL, 0, (_m,), ((REGISTRY_IDENTIFIER, 0),)) + +SEARCH_REGISTRY_RECORDS_INPUT: StaticSchema = ( + 18, + n0, + _SRRI, + {_sSI: _cSRRR, _smit: None}, + (_sQe, _rIeg, _mR, _f), + ( + (3, 1), + (REGISTRY_ID_LIST, 1), + (7, {_smithyap: 10}), + (METADATA_FILTER_EXPRESSION, 0), + ), +) + +SEARCH_REGISTRY_RECORDS_OUTPUT: StaticSchema = ( + 18, + n0, + _SRRO, + {_sSI: _cSRRRo, _smith: None}, + (_rRe,), + ((lambda: REGISTRY_RECORD_SUMMARY_LIST, 1),), +) + +SEARCH_REGISTRY_RECORDS: StaticOperationSchema = ( + 23, + n0, + _SRR, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/registry-records/search", "code": 200} + ) + }, + SEARCH_REGISTRY_RECORDS_INPUT, + SEARCH_REGISTRY_RECORDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNAUTHORIZED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DESCRIPTION: StaticSchema = (3, n0, _Des, 4) + +CUSTOM_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _CD, + 0, + (_iC,), + ((lambda: schemas.INLINE_CONTENT, 0),), +) + +SERVER_DEFINITION: StaticSchema = ( + 18, + n0, + _SDe, + 0, + (_sV, _iC), + ((lambda: schemas.SCHEMA_VERSION, 0), (lambda: schemas.INLINE_CONTENT, 0)), +) + +TOOLS_DEFINITION: StaticSchema = ( + 18, + n0, + _TD, + 0, + (_pVr, _iC), + ((lambda: schemas.SCHEMA_VERSION, 0), (lambda: schemas.INLINE_CONTENT, 0)), +) + +MCP_DESCRIPTOR: StaticSchema = ( + 18, + n0, + _MDc, + 0, + (_se, _to), + ((SERVER_DEFINITION, 1), (TOOLS_DEFINITION, 1)), +) + +DESCRIPTORS: StaticSchema = ( + 18, + n0, + _Desc, + 0, + (_mc, _aa, _cus, _aSg), + ( + (MCP_DESCRIPTOR, 0), + (lambda: schemas.A2A_DESCRIPTOR, 0), + (CUSTOM_DESCRIPTOR, 0), + (lambda: schemas.AGENT_SKILLS_DESCRIPTOR, 0), + ), +) + +DESCRIPTOR_TYPE: StaticSchema = ( + 14, + n0, + _DTe, + 0, + (_MCP, _AA, _CUSTOM, _AS_), + ((-1, {_sVm: _MCP}), (-1, {_sVm: _AA}), (-1, {_sVm: _CUSTOM}), (-1, {_sVm: _AS_})), +) + +REGISTRY_RECORD_NAME: StaticSchema = (3, n0, _RRN, 0) + +REGISTRY_RECORD_ARN: StaticSchema = (3, n0, _RRA, 0) + +REGISTRY_RECORD_ID: StaticSchema = (3, n0, _RRI, 0) + +REGISTRY_ARN: StaticSchema = (3, n0, _RAeg, 0) + +REGISTRY_RECORD_STATUS: StaticSchema = ( + 14, + n0, + _RRS, + 0, + (_DRAFT, _PA, _APPROVED, _REJECTED, _DEPRECATED), + ( + (-1, {_sVm: _DRAFT}), + (-1, {_sVm: _PA}), + (-1, {_sVm: _APPROVED}), + (-1, {_sVm: _REJECTED}), + (-1, {_sVm: _DEPRECATED}), + ), +) + +REGISTRY_RECORD_VERSION: StaticSchema = (3, n0, _RRV, 0) + +REGISTRY_RECORD_SUMMARY: StaticSchema = ( + 18, + n0, + _RRSe, + 0, + (_rAeg, _rAec, _rIec, _n, _d, _dT, _des, _ve, _st, _cA, _uA), + ( + (REGISTRY_ARN, 1), + (REGISTRY_RECORD_ARN, 1), + (REGISTRY_RECORD_ID, 1), + (REGISTRY_RECORD_NAME, 1), + (DESCRIPTION, 0), + (DESCRIPTOR_TYPE, 1), + (DESCRIPTORS, 1), + (REGISTRY_RECORD_VERSION, 1), + (REGISTRY_RECORD_STATUS, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +REGISTRY_RECORD_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _RRSL, + 0, + (_m,), + ((REGISTRY_RECORD_SUMMARY, 0),), +) + +AMAZON_BEDROCK_AGENT_CORE: StaticSchema = ( + 21, + n0, + _ABAC, + { + _aw: MappingProxyType({"name": "bedrock-agentcore"}), + _aws: MappingProxyType( + { + "sdkId": "Bedrock AgentCore", + "arnNamespace": "bedrock-agentcore", + "endpointPrefix": "bedrock-agentcore", + } + ), + _aJ: MappingProxyType( + {"http": ("http/1.1",), "eventStreamHttp": ("http/1.1",)} + ), + }, +) diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/aio/client.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/aio/client.py index 3a732804d..d8a147a09 100644 --- a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/aio/client.py +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncOutputEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/aio/config.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/aio/config.py index dd68e7a7c..ea7864885 100644 --- a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/aio/config.py +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/client.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/client.py index 3da3b19d2..41cdc59f0 100644 --- a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/client.py +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/config.py b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/config.py index 4e6795c67..b82102818 100644 --- a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/config.py +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/models.pyi b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/models.pyi index 49ca3fe12..dd552a23b 100644 --- a/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/models.pyi +++ b/clients/aws-sdk-bedrock-agentcore/src/aws_sdk_bedrock_agentcore/models.pyi @@ -1,18 +1,779 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self -from smithy_core.aio.interfaces import StreamingBlob from smithy_core.deserializers import ShapeDeserializer -from smithy_core.documents import Document from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + A2aDescriptor as A2aDescriptor, + ABTestEvaluationConfigOnlineEvaluationConfigArn as ABTestEvaluationConfigOnlineEvaluationConfigArn, + ABTestEvaluationConfigPerVariantOnlineEvaluationConfig as ABTestEvaluationConfigPerVariantOnlineEvaluationConfig, + ABTestEvaluationConfigUnknown as ABTestEvaluationConfigUnknown, + ABTestEvaluationConfig as ABTestEvaluationConfig, + _ABTestEvaluationConfigDeserializer as _ABTestEvaluationConfigDeserializer, + ABTestExecutionStatus as ABTestExecutionStatus, + ABTestResults as ABTestResults, + ABTestStatus as ABTestStatus, + ABTestSummary as ABTestSummary, + AccessDeniedException as AccessDeniedException, + ActorSummary as ActorSummary, + AffectedSession as AffectedSession, + AgentCardDefinition as AgentCardDefinition, + AgentSkillsDescriptor as AgentSkillsDescriptor, + AgentTracesConfigSessionSpans as AgentTracesConfigSessionSpans, + AgentTracesConfigCloudwatchLogs as AgentTracesConfigCloudwatchLogs, + AgentTracesConfigBatchEvaluation as AgentTracesConfigBatchEvaluation, + AgentTracesConfigOnlineEvaluation as AgentTracesConfigOnlineEvaluation, + AgentTracesConfigUnknown as AgentTracesConfigUnknown, + AgentTracesConfig as AgentTracesConfig, + _AgentTracesConfigDeserializer as _AgentTracesConfigDeserializer, + Amount as Amount, + AutomationStream as AutomationStream, + AutomationStreamStatus as AutomationStreamStatus, + AutomationStreamUpdate as AutomationStreamUpdate, + AvailableLimits as AvailableLimits, + BasicAuth as BasicAuth, + BatchCreateMemoryRecordsInput as BatchCreateMemoryRecordsInput, + BatchCreateMemoryRecordsOutput as BatchCreateMemoryRecordsOutput, + BatchDeleteMemoryRecordsInput as BatchDeleteMemoryRecordsInput, + BatchDeleteMemoryRecordsOutput as BatchDeleteMemoryRecordsOutput, + BatchEvaluationStatus as BatchEvaluationStatus, + BatchEvaluationSummary as BatchEvaluationSummary, + BatchEvaluationTraceConfig as BatchEvaluationTraceConfig, + BatchUpdateMemoryRecordsInput as BatchUpdateMemoryRecordsInput, + BatchUpdateMemoryRecordsOutput as BatchUpdateMemoryRecordsOutput, + BlockchainChainId as BlockchainChainId, + Branch as Branch, + BranchFilter as BranchFilter, + BrowserActionMouseClick as BrowserActionMouseClick, + BrowserActionMouseMove as BrowserActionMouseMove, + BrowserActionMouseDrag as BrowserActionMouseDrag, + BrowserActionMouseScroll as BrowserActionMouseScroll, + BrowserActionKeyType as BrowserActionKeyType, + BrowserActionKeyPress as BrowserActionKeyPress, + BrowserActionKeyShortcut as BrowserActionKeyShortcut, + BrowserActionScreenshot as BrowserActionScreenshot, + BrowserActionUnknown as BrowserActionUnknown, + BrowserAction as BrowserAction, + _BrowserActionDeserializer as _BrowserActionDeserializer, + BrowserActionResultMouseClick as BrowserActionResultMouseClick, + BrowserActionResultMouseMove as BrowserActionResultMouseMove, + BrowserActionResultMouseDrag as BrowserActionResultMouseDrag, + BrowserActionResultMouseScroll as BrowserActionResultMouseScroll, + BrowserActionResultKeyType as BrowserActionResultKeyType, + BrowserActionResultKeyPress as BrowserActionResultKeyPress, + BrowserActionResultKeyShortcut as BrowserActionResultKeyShortcut, + BrowserActionResultScreenshot as BrowserActionResultScreenshot, + BrowserActionResultUnknown as BrowserActionResultUnknown, + BrowserActionResult as BrowserActionResult, + _BrowserActionResultDeserializer as _BrowserActionResultDeserializer, + BrowserActionStatus as BrowserActionStatus, + BrowserEnterprisePolicy as BrowserEnterprisePolicy, + BrowserEnterprisePolicyType as BrowserEnterprisePolicyType, + BrowserExtension as BrowserExtension, + BrowserProfileConfiguration as BrowserProfileConfiguration, + BrowserSessionStatus as BrowserSessionStatus, + BrowserSessionStream as BrowserSessionStream, + BrowserSessionSummary as BrowserSessionSummary, + CapacityProviderSessionStatus as CapacityProviderSessionStatus, + Certificate as Certificate, + CertificateLocationSecretsManager as CertificateLocationSecretsManager, + CertificateLocationUnknown as CertificateLocationUnknown, + CertificateLocation as CertificateLocation, + _CertificateLocationDeserializer as _CertificateLocationDeserializer, + CloudWatchFilterConfig as CloudWatchFilterConfig, + CloudWatchLogsFilter as CloudWatchLogsFilter, + CloudWatchLogsFilterOperator as CloudWatchLogsFilterOperator, + CloudWatchLogsRule as CloudWatchLogsRule, + CloudWatchLogsSource as CloudWatchLogsSource, + CloudWatchLogsTraceConfig as CloudWatchLogsTraceConfig, + CloudWatchOutputConfig as CloudWatchOutputConfig, + CodeInterpreterResult as CodeInterpreterResult, + CodeInterpreterSessionStatus as CodeInterpreterSessionStatus, + CodeInterpreterSessionSummary as CodeInterpreterSessionSummary, + CodeInterpreterStreamOutputResult as CodeInterpreterStreamOutputResult, + CodeInterpreterStreamOutputAccessDeniedException as CodeInterpreterStreamOutputAccessDeniedException, + CodeInterpreterStreamOutputConflictException as CodeInterpreterStreamOutputConflictException, + CodeInterpreterStreamOutputInternalServerException as CodeInterpreterStreamOutputInternalServerException, + CodeInterpreterStreamOutputResourceNotFoundException as CodeInterpreterStreamOutputResourceNotFoundException, + CodeInterpreterStreamOutputServiceQuotaExceededException as CodeInterpreterStreamOutputServiceQuotaExceededException, + CodeInterpreterStreamOutputThrottlingException as CodeInterpreterStreamOutputThrottlingException, + CodeInterpreterStreamOutputValidationException as CodeInterpreterStreamOutputValidationException, + CodeInterpreterStreamOutputUnknown as CodeInterpreterStreamOutputUnknown, + CodeInterpreterStreamOutput as CodeInterpreterStreamOutput, + _CodeInterpreterStreamOutputDeserializer as _CodeInterpreterStreamOutputDeserializer, + CoinbaseCdpTokenRequestInput as CoinbaseCdpTokenRequestInput, + CoinbaseCdpTokenResponseOutput as CoinbaseCdpTokenResponseOutput, + CommandExecutionStatus as CommandExecutionStatus, + CompleteResourceTokenAuthInput as CompleteResourceTokenAuthInput, + CompleteResourceTokenAuthOutput as CompleteResourceTokenAuthOutput, + ConfidenceInterval as ConfidenceInterval, + ConfigurationBundleRef as ConfigurationBundleRef, + ConfigurationBundleToolEntry as ConfigurationBundleToolEntry, + ConflictException as ConflictException, + ContentText as ContentText, + ContentUnknown as ContentUnknown, + Content as Content, + _ContentDeserializer as _ContentDeserializer, + ContentBlock as ContentBlock, + ContentBlockType as ContentBlockType, + ContentDeltaEvent as ContentDeltaEvent, + ContentSourceInline as ContentSourceInline, + ContentSourceUnknown as ContentSourceUnknown, + ContentSource as ContentSource, + _ContentSourceDeserializer as _ContentSourceDeserializer, + ContentStartEvent as ContentStartEvent, + ContentStopEvent as ContentStopEvent, + ContextSpanContext as ContextSpanContext, + ContextUnknown as ContextUnknown, + Context as Context, + _ContextDeserializer as _ContextDeserializer, + ControlStats as ControlStats, + Conversational as Conversational, + CreateABTestInput as CreateABTestInput, + CreateABTestOutput as CreateABTestOutput, + CreateEventInput as CreateEventInput, + CreateEventOutput as CreateEventOutput, + CreatePaymentInstrumentInput as CreatePaymentInstrumentInput, + CreatePaymentInstrumentOutput as CreatePaymentInstrumentOutput, + CreatePaymentSessionInput as CreatePaymentSessionInput, + CreatePaymentSessionOutput as CreatePaymentSessionOutput, + CryptoWalletNetwork as CryptoWalletNetwork, + CryptoX402PaymentInput as CryptoX402PaymentInput, + CryptoX402PaymentOutput as CryptoX402PaymentOutput, + Currency as Currency, + CustomDescriptor as CustomDescriptor, + DataSourceConfigCloudWatchLogs as DataSourceConfigCloudWatchLogs, + DataSourceConfigOnlineEvaluationConfigSource as DataSourceConfigOnlineEvaluationConfigSource, + DataSourceConfigUnknown as DataSourceConfigUnknown, + DataSourceConfig as DataSourceConfig, + _DataSourceConfigDeserializer as _DataSourceConfigDeserializer, + DeleteABTestInput as DeleteABTestInput, + DeleteABTestOutput as DeleteABTestOutput, + DeleteBatchEvaluationInput as DeleteBatchEvaluationInput, + DeleteBatchEvaluationOutput as DeleteBatchEvaluationOutput, + DeleteCapacityProviderSessionInput as DeleteCapacityProviderSessionInput, + DeleteCapacityProviderSessionOutput as DeleteCapacityProviderSessionOutput, + DeleteEventInput as DeleteEventInput, + DeleteEventOutput as DeleteEventOutput, + DeleteMemoryRecordInput as DeleteMemoryRecordInput, + DeleteMemoryRecordOutput as DeleteMemoryRecordOutput, + DeletePaymentInstrumentInput as DeletePaymentInstrumentInput, + DeletePaymentInstrumentOutput as DeletePaymentInstrumentOutput, + DeletePaymentSessionInput as DeletePaymentSessionInput, + DeletePaymentSessionOutput as DeletePaymentSessionOutput, + DeleteRecommendationInput as DeleteRecommendationInput, + DeleteRecommendationOutput as DeleteRecommendationOutput, + Descriptors as Descriptors, + DescriptorType as DescriptorType, + DomainFilter as DomainFilter, + DuplicateIdException as DuplicateIdException, + EfsConfiguration as EfsConfiguration, + EmbeddedCryptoWallet as EmbeddedCryptoWallet, + EvaluateInput as EvaluateInput, + EvaluateOutput as EvaluateOutput, + EvaluationContentText as EvaluationContentText, + EvaluationContentUnknown as EvaluationContentUnknown, + EvaluationContent as EvaluationContent, + _EvaluationContentDeserializer as _EvaluationContentDeserializer, + EvaluationExpectedTrajectory as EvaluationExpectedTrajectory, + EvaluationInputSessionSpans as EvaluationInputSessionSpans, + EvaluationInputUnknown as EvaluationInputUnknown, + EvaluationInput as EvaluationInput, + _EvaluationInputDeserializer as _EvaluationInputDeserializer, + EvaluationJobResults as EvaluationJobResults, + EvaluationMetadataSessionMetadata as EvaluationMetadataSessionMetadata, + EvaluationMetadataUnknown as EvaluationMetadataUnknown, + EvaluationMetadata as EvaluationMetadata, + _EvaluationMetadataDeserializer as _EvaluationMetadataDeserializer, + EvaluationReferenceInput as EvaluationReferenceInput, + EvaluationResultContent as EvaluationResultContent, + EvaluationTargetSpanIds as EvaluationTargetSpanIds, + EvaluationTargetTraceIds as EvaluationTargetTraceIds, + EvaluationTargetUnknown as EvaluationTargetUnknown, + EvaluationTarget as EvaluationTarget, + _EvaluationTargetDeserializer as _EvaluationTargetDeserializer, + Evaluator as Evaluator, + EvaluatorMetric as EvaluatorMetric, + EvaluatorStatistics as EvaluatorStatistics, + EvaluatorSummary as EvaluatorSummary, + Event as Event, + EventFilterCondition as EventFilterCondition, + EventMetadataFilterExpression as EventMetadataFilterExpression, + ExecutionSummaryAffectedSession as ExecutionSummaryAffectedSession, + ExecutionSummaryCluster as ExecutionSummaryCluster, + ExecutionSummaryClusteringResultContent as ExecutionSummaryClusteringResultContent, + ExternalProxy as ExternalProxy, + ExtractionConfig as ExtractionConfig, + ExtractionJob as ExtractionJob, + ExtractionJobFilterInput as ExtractionJobFilterInput, + ExtractionJobMessagesMessagesList as ExtractionJobMessagesMessagesList, + ExtractionJobMessagesUnknown as ExtractionJobMessagesUnknown, + ExtractionJobMessages as ExtractionJobMessages, + _ExtractionJobMessagesDeserializer as _ExtractionJobMessagesDeserializer, + ExtractionJobMetadata as ExtractionJobMetadata, + ExtractionJobStatus as ExtractionJobStatus, + ExtractionMode as ExtractionMode, + FailureAnalysisResultContent as FailureAnalysisResultContent, + FailureCategoryCluster as FailureCategoryCluster, + FailureSpanDetail as FailureSpanDetail, + FailureSubCategoryCluster as FailureSubCategoryCluster, + FilterInput as FilterInput, + FilterValueStringValue as FilterValueStringValue, + FilterValueDoubleValue as FilterValueDoubleValue, + FilterValueBooleanValue as FilterValueBooleanValue, + FilterValueUnknown as FilterValueUnknown, + FilterValue as FilterValue, + _FilterValueDeserializer as _FilterValueDeserializer, + FindingTargetType as FindingTargetType, + GatewayFilter as GatewayFilter, + GetABTestInput as GetABTestInput, + GetABTestOutput as GetABTestOutput, + GetAgentCardInput as GetAgentCardInput, + GetAgentCardOutput as GetAgentCardOutput, + GetBatchEvaluationInput as GetBatchEvaluationInput, + GetBatchEvaluationOutput as GetBatchEvaluationOutput, + GetBrowserSessionInput as GetBrowserSessionInput, + GetBrowserSessionOutput as GetBrowserSessionOutput, + GetCodeInterpreterSessionInput as GetCodeInterpreterSessionInput, + GetCodeInterpreterSessionOutput as GetCodeInterpreterSessionOutput, + GetEventInput as GetEventInput, + GetEventOutput as GetEventOutput, + GetMemoryRecordInput as GetMemoryRecordInput, + GetMemoryRecordOutput as GetMemoryRecordOutput, + GetPaymentInstrumentBalanceInput as GetPaymentInstrumentBalanceInput, + GetPaymentInstrumentBalanceOutput as GetPaymentInstrumentBalanceOutput, + GetPaymentInstrumentInput as GetPaymentInstrumentInput, + GetPaymentInstrumentOutput as GetPaymentInstrumentOutput, + GetPaymentSessionInput as GetPaymentSessionInput, + GetPaymentSessionOutput as GetPaymentSessionOutput, + GetRecommendationInput as GetRecommendationInput, + GetRecommendationOutput as GetRecommendationOutput, + GetResourceApiKeyInput as GetResourceApiKeyInput, + GetResourceApiKeyOutput as GetResourceApiKeyOutput, + GetResourceOauth2TokenInput as GetResourceOauth2TokenInput, + GetResourceOauth2TokenOutput as GetResourceOauth2TokenOutput, + GetResourcePaymentTokenInput as GetResourcePaymentTokenInput, + GetResourcePaymentTokenOutput as GetResourcePaymentTokenOutput, + GetWorkloadAccessTokenForJWTInput as GetWorkloadAccessTokenForJWTInput, + GetWorkloadAccessTokenForJWTOutput as GetWorkloadAccessTokenForJWTOutput, + GetWorkloadAccessTokenForUserIdInput as GetWorkloadAccessTokenForUserIdInput, + GetWorkloadAccessTokenForUserIdOutput as GetWorkloadAccessTokenForUserIdOutput, + GetWorkloadAccessTokenInput as GetWorkloadAccessTokenInput, + GetWorkloadAccessTokenOutput as GetWorkloadAccessTokenOutput, + GroundTruthSourceInline as GroundTruthSourceInline, + GroundTruthSourceUnknown as GroundTruthSourceUnknown, + GroundTruthSource as GroundTruthSource, + _GroundTruthSourceDeserializer as _GroundTruthSourceDeserializer, + GroundTruthTurn as GroundTruthTurn, + GroundTruthTurnInputPrompt as GroundTruthTurnInputPrompt, + GroundTruthTurnInputUnknown as GroundTruthTurnInputUnknown, + GroundTruthTurnInput as GroundTruthTurnInput, + _GroundTruthTurnInputDeserializer as _GroundTruthTurnInputDeserializer, + HarnessAgentCoreBrowserConfig as HarnessAgentCoreBrowserConfig, + HarnessAgentCoreCodeInterpreterConfig as HarnessAgentCoreCodeInterpreterConfig, + HarnessAgentCoreGatewayConfig as HarnessAgentCoreGatewayConfig, + HarnessBedrockApiFormat as HarnessBedrockApiFormat, + HarnessBedrockModelConfig as HarnessBedrockModelConfig, + HarnessContentBlockText as HarnessContentBlockText, + HarnessContentBlockToolUse as HarnessContentBlockToolUse, + HarnessContentBlockToolResult as HarnessContentBlockToolResult, + HarnessContentBlockReasoningContent as HarnessContentBlockReasoningContent, + HarnessContentBlockUnknown as HarnessContentBlockUnknown, + HarnessContentBlock as HarnessContentBlock, + _HarnessContentBlockDeserializer as _HarnessContentBlockDeserializer, + HarnessContentBlockDeltaText as HarnessContentBlockDeltaText, + HarnessContentBlockDeltaToolUse as HarnessContentBlockDeltaToolUse, + HarnessContentBlockDeltaToolResult as HarnessContentBlockDeltaToolResult, + HarnessContentBlockDeltaReasoningContent as HarnessContentBlockDeltaReasoningContent, + HarnessContentBlockDeltaToolResultMetadata as HarnessContentBlockDeltaToolResultMetadata, + HarnessContentBlockDeltaUnknown as HarnessContentBlockDeltaUnknown, + HarnessContentBlockDelta as HarnessContentBlockDelta, + _HarnessContentBlockDeltaDeserializer as _HarnessContentBlockDeltaDeserializer, + HarnessContentBlockDeltaEvent as HarnessContentBlockDeltaEvent, + HarnessContentBlockStartToolUse as HarnessContentBlockStartToolUse, + HarnessContentBlockStartToolResult as HarnessContentBlockStartToolResult, + HarnessContentBlockStartUnknown as HarnessContentBlockStartUnknown, + HarnessContentBlockStart as HarnessContentBlockStart, + _HarnessContentBlockStartDeserializer as _HarnessContentBlockStartDeserializer, + HarnessContentBlockStartEvent as HarnessContentBlockStartEvent, + HarnessContentBlockStopEvent as HarnessContentBlockStopEvent, + HarnessConversationRole as HarnessConversationRole, + HarnessGatewayOutboundAuthAwsIam as HarnessGatewayOutboundAuthAwsIam, + HarnessGatewayOutboundAuthNone as HarnessGatewayOutboundAuthNone, + HarnessGatewayOutboundAuthOauth as HarnessGatewayOutboundAuthOauth, + HarnessGatewayOutboundAuthUnknown as HarnessGatewayOutboundAuthUnknown, + HarnessGatewayOutboundAuth as HarnessGatewayOutboundAuth, + _HarnessGatewayOutboundAuthDeserializer as _HarnessGatewayOutboundAuthDeserializer, + HarnessGeminiModelConfig as HarnessGeminiModelConfig, + HarnessHookDecision as HarnessHookDecision, + HarnessHookEvent as HarnessHookEvent, + HarnessHookEventType as HarnessHookEventType, + HarnessInlineFunctionConfig as HarnessInlineFunctionConfig, + HarnessLiteLlmModelConfig as HarnessLiteLlmModelConfig, + HarnessMessage as HarnessMessage, + HarnessMessageStartEvent as HarnessMessageStartEvent, + HarnessMessageStopEvent as HarnessMessageStopEvent, + HarnessMetadataEvent as HarnessMetadataEvent, + HarnessModelConfigurationBedrockModelConfig as HarnessModelConfigurationBedrockModelConfig, + HarnessModelConfigurationOpenAiModelConfig as HarnessModelConfigurationOpenAiModelConfig, + HarnessModelConfigurationGeminiModelConfig as HarnessModelConfigurationGeminiModelConfig, + HarnessModelConfigurationLiteLlmModelConfig as HarnessModelConfigurationLiteLlmModelConfig, + HarnessModelConfigurationUnknown as HarnessModelConfigurationUnknown, + HarnessModelConfiguration as HarnessModelConfiguration, + _HarnessModelConfigurationDeserializer as _HarnessModelConfigurationDeserializer, + HarnessOpenAiApiFormat as HarnessOpenAiApiFormat, + HarnessOpenAiModelConfig as HarnessOpenAiModelConfig, + HarnessReasoningContentBlockReasoningText as HarnessReasoningContentBlockReasoningText, + HarnessReasoningContentBlockRedactedContent as HarnessReasoningContentBlockRedactedContent, + HarnessReasoningContentBlockUnknown as HarnessReasoningContentBlockUnknown, + HarnessReasoningContentBlock as HarnessReasoningContentBlock, + _HarnessReasoningContentBlockDeserializer as _HarnessReasoningContentBlockDeserializer, + HarnessReasoningContentBlockDeltaText as HarnessReasoningContentBlockDeltaText, + HarnessReasoningContentBlockDeltaRedactedContent as HarnessReasoningContentBlockDeltaRedactedContent, + HarnessReasoningContentBlockDeltaSignature as HarnessReasoningContentBlockDeltaSignature, + HarnessReasoningContentBlockDeltaUnknown as HarnessReasoningContentBlockDeltaUnknown, + HarnessReasoningContentBlockDelta as HarnessReasoningContentBlockDelta, + _HarnessReasoningContentBlockDeltaDeserializer as _HarnessReasoningContentBlockDeltaDeserializer, + HarnessReasoningTextBlock as HarnessReasoningTextBlock, + HarnessRemoteMcpConfig as HarnessRemoteMcpConfig, + HarnessRemoteMcpOutboundAuthAwsIam as HarnessRemoteMcpOutboundAuthAwsIam, + HarnessRemoteMcpOutboundAuthNone as HarnessRemoteMcpOutboundAuthNone, + HarnessRemoteMcpOutboundAuthUnknown as HarnessRemoteMcpOutboundAuthUnknown, + HarnessRemoteMcpOutboundAuth as HarnessRemoteMcpOutboundAuth, + _HarnessRemoteMcpOutboundAuthDeserializer as _HarnessRemoteMcpOutboundAuthDeserializer, + HarnessSkillPath as HarnessSkillPath, + HarnessSkillS3 as HarnessSkillS3, + HarnessSkillGit as HarnessSkillGit, + HarnessSkillAwsSkills as HarnessSkillAwsSkills, + HarnessSkillUnknown as HarnessSkillUnknown, + HarnessSkill as HarnessSkill, + _HarnessSkillDeserializer as _HarnessSkillDeserializer, + HarnessSkillAwsSkillsSource as HarnessSkillAwsSkillsSource, + HarnessSkillGitAuth as HarnessSkillGitAuth, + HarnessSkillGitSource as HarnessSkillGitSource, + HarnessSkillS3Source as HarnessSkillS3Source, + HarnessStopReason as HarnessStopReason, + HarnessStreamMetrics as HarnessStreamMetrics, + HarnessSystemContentBlockText as HarnessSystemContentBlockText, + HarnessSystemContentBlockUnknown as HarnessSystemContentBlockUnknown, + HarnessSystemContentBlock as HarnessSystemContentBlock, + _HarnessSystemContentBlockDeserializer as _HarnessSystemContentBlockDeserializer, + HarnessTokenUsage as HarnessTokenUsage, + HarnessTool as HarnessTool, + HarnessToolConfigurationRemoteMcp as HarnessToolConfigurationRemoteMcp, + HarnessToolConfigurationAgentCoreBrowser as HarnessToolConfigurationAgentCoreBrowser, + HarnessToolConfigurationAgentCoreGateway as HarnessToolConfigurationAgentCoreGateway, + HarnessToolConfigurationInlineFunction as HarnessToolConfigurationInlineFunction, + HarnessToolConfigurationAgentCoreCodeInterpreter as HarnessToolConfigurationAgentCoreCodeInterpreter, + HarnessToolConfigurationUnknown as HarnessToolConfigurationUnknown, + HarnessToolConfiguration as HarnessToolConfiguration, + _HarnessToolConfigurationDeserializer as _HarnessToolConfigurationDeserializer, + HarnessToolResultBlock as HarnessToolResultBlock, + HarnessToolResultBlockDeltaText as HarnessToolResultBlockDeltaText, + HarnessToolResultBlockDeltaJson as HarnessToolResultBlockDeltaJson, + HarnessToolResultBlockDeltaUnknown as HarnessToolResultBlockDeltaUnknown, + HarnessToolResultBlockDelta as HarnessToolResultBlockDelta, + _HarnessToolResultBlockDeltaDeserializer as _HarnessToolResultBlockDeltaDeserializer, + HarnessToolResultBlockStart as HarnessToolResultBlockStart, + HarnessToolResultContentBlockText as HarnessToolResultContentBlockText, + HarnessToolResultContentBlockJson as HarnessToolResultContentBlockJson, + HarnessToolResultContentBlockUnknown as HarnessToolResultContentBlockUnknown, + HarnessToolResultContentBlock as HarnessToolResultContentBlock, + _HarnessToolResultContentBlockDeserializer as _HarnessToolResultContentBlockDeserializer, + HarnessToolResultMetadataBlockDelta as HarnessToolResultMetadataBlockDelta, + HarnessToolType as HarnessToolType, + HarnessToolUseBlock as HarnessToolUseBlock, + HarnessToolUseBlockDelta as HarnessToolUseBlockDelta, + HarnessToolUseBlockStart as HarnessToolUseBlockStart, + HarnessToolUseStatus as HarnessToolUseStatus, + HarnessToolUseType as HarnessToolUseType, + IamCredentialProvider as IamCredentialProvider, + IngestDataInput as IngestDataInput, + IngestDataOutput as IngestDataOutput, + IngestPayloadTypeConversational as IngestPayloadTypeConversational, + IngestPayloadTypeJson as IngestPayloadTypeJson, + IngestPayloadTypeUnknown as IngestPayloadTypeUnknown, + IngestPayloadType as IngestPayloadType, + _IngestPayloadTypeDeserializer as _IngestPayloadTypeDeserializer, + InlineGroundTruth as InlineGroundTruth, + InlineMemoryContent as InlineMemoryContent, + InputContentBlock as InputContentBlock, + Insight as Insight, + InsightResult as InsightResult, + InsightRootCause as InsightRootCause, + InsightsFailureCategory as InsightsFailureCategory, + InsightsFailureSignal as InsightsFailureSignal, + InsightType as InsightType, + InstrumentBalanceToken as InstrumentBalanceToken, + InternalServerException as InternalServerException, +) + +from ._private.models_1 import ( + InvalidInputException as InvalidInputException, + InvokeAgentRuntimeCommandInput as InvokeAgentRuntimeCommandInput, + InvokeAgentRuntimeCommandOutput as InvokeAgentRuntimeCommandOutput, + InvokeAgentRuntimeCommandRequestBody as InvokeAgentRuntimeCommandRequestBody, + InvokeAgentRuntimeCommandStreamOutputChunk as InvokeAgentRuntimeCommandStreamOutputChunk, + InvokeAgentRuntimeCommandStreamOutputAccessDeniedException as InvokeAgentRuntimeCommandStreamOutputAccessDeniedException, + InvokeAgentRuntimeCommandStreamOutputInternalServerException as InvokeAgentRuntimeCommandStreamOutputInternalServerException, + InvokeAgentRuntimeCommandStreamOutputResourceNotFoundException as InvokeAgentRuntimeCommandStreamOutputResourceNotFoundException, + InvokeAgentRuntimeCommandStreamOutputServiceQuotaExceededException as InvokeAgentRuntimeCommandStreamOutputServiceQuotaExceededException, + InvokeAgentRuntimeCommandStreamOutputThrottlingException as InvokeAgentRuntimeCommandStreamOutputThrottlingException, + InvokeAgentRuntimeCommandStreamOutputValidationException as InvokeAgentRuntimeCommandStreamOutputValidationException, + InvokeAgentRuntimeCommandStreamOutputRuntimeClientError as InvokeAgentRuntimeCommandStreamOutputRuntimeClientError, + InvokeAgentRuntimeCommandStreamOutputUnknown as InvokeAgentRuntimeCommandStreamOutputUnknown, + InvokeAgentRuntimeCommandStreamOutput as InvokeAgentRuntimeCommandStreamOutput, + _InvokeAgentRuntimeCommandStreamOutputDeserializer as _InvokeAgentRuntimeCommandStreamOutputDeserializer, + InvokeAgentRuntimeInput as InvokeAgentRuntimeInput, + InvokeAgentRuntimeOutput as InvokeAgentRuntimeOutput, + InvokeBrowserInput as InvokeBrowserInput, + InvokeBrowserOutput as InvokeBrowserOutput, + InvokeCodeInterpreterInput as InvokeCodeInterpreterInput, + InvokeCodeInterpreterOutput as InvokeCodeInterpreterOutput, + InvokeHarnessInput as InvokeHarnessInput, + InvokeHarnessOutput as InvokeHarnessOutput, + InvokeHarnessStreamOutputMessageStart as InvokeHarnessStreamOutputMessageStart, + InvokeHarnessStreamOutputContentBlockStart as InvokeHarnessStreamOutputContentBlockStart, + InvokeHarnessStreamOutputContentBlockDelta as InvokeHarnessStreamOutputContentBlockDelta, + InvokeHarnessStreamOutputContentBlockStop as InvokeHarnessStreamOutputContentBlockStop, + InvokeHarnessStreamOutputMessageStop as InvokeHarnessStreamOutputMessageStop, + InvokeHarnessStreamOutputMetadata as InvokeHarnessStreamOutputMetadata, + InvokeHarnessStreamOutputInternalServerException as InvokeHarnessStreamOutputInternalServerException, + InvokeHarnessStreamOutputValidationException as InvokeHarnessStreamOutputValidationException, + InvokeHarnessStreamOutputRuntimeClientError as InvokeHarnessStreamOutputRuntimeClientError, + InvokeHarnessStreamOutputHookEvent as InvokeHarnessStreamOutputHookEvent, + InvokeHarnessStreamOutputUnknown as InvokeHarnessStreamOutputUnknown, + InvokeHarnessStreamOutput as InvokeHarnessStreamOutput, + _InvokeHarnessStreamOutputDeserializer as _InvokeHarnessStreamOutputDeserializer, + InvokeWebSearchInput as InvokeWebSearchInput, + InvokeWebSearchOutput as InvokeWebSearchOutput, + KeyPressArguments as KeyPressArguments, + KeyPressResult as KeyPressResult, + KeyShortcutArguments as KeyShortcutArguments, + KeyShortcutResult as KeyShortcutResult, + KeyTypeArguments as KeyTypeArguments, + KeyTypeResult as KeyTypeResult, + LanguageRuntime as LanguageRuntime, + LeftExpressionMetadataKey as LeftExpressionMetadataKey, + LeftExpressionUnknown as LeftExpressionUnknown, + LeftExpression as LeftExpression, + _LeftExpressionDeserializer as _LeftExpressionDeserializer, + LinkedAccount_Email as LinkedAccount_Email, + LinkedAccount_Sms as LinkedAccount_Sms, + LinkedAccount_DeveloperJwt as LinkedAccount_DeveloperJwt, + LinkedAccount_OAuth2 as LinkedAccount_OAuth2, + LinkedAccountUnknown as LinkedAccountUnknown, + LinkedAccount as LinkedAccount, + _LinkedAccountDeserializer as _LinkedAccountDeserializer, + LinkedAccountDeveloperJwt as LinkedAccountDeveloperJwt, + LinkedAccountEmail as LinkedAccountEmail, + LinkedAccountOAuth2Google as LinkedAccountOAuth2Google, + LinkedAccountOAuth2Apple as LinkedAccountOAuth2Apple, + LinkedAccountOAuth2X as LinkedAccountOAuth2X, + LinkedAccountOAuth2Telegram as LinkedAccountOAuth2Telegram, + LinkedAccountOAuth2Github as LinkedAccountOAuth2Github, + LinkedAccountOAuth2Unknown as LinkedAccountOAuth2Unknown, + LinkedAccountOAuth2 as LinkedAccountOAuth2, + _LinkedAccountOAuth2Deserializer as _LinkedAccountOAuth2Deserializer, + LinkedAccountSms as LinkedAccountSms, + ListABTestsInput as ListABTestsInput, + ListABTestsOutput as ListABTestsOutput, + ListActorsInput as ListActorsInput, + ListActorsOutput as ListActorsOutput, + ListBatchEvaluationsInput as ListBatchEvaluationsInput, + ListBatchEvaluationsOutput as ListBatchEvaluationsOutput, + ListBrowserSessionsInput as ListBrowserSessionsInput, + ListBrowserSessionsOutput as ListBrowserSessionsOutput, + ListCodeInterpreterSessionsInput as ListCodeInterpreterSessionsInput, + ListCodeInterpreterSessionsOutput as ListCodeInterpreterSessionsOutput, + ListEventsInput as ListEventsInput, + ListEventsOutput as ListEventsOutput, + ListMemoryExtractionJobsInput as ListMemoryExtractionJobsInput, + ListMemoryExtractionJobsOutput as ListMemoryExtractionJobsOutput, + ListMemoryRecordsInput as ListMemoryRecordsInput, + ListMemoryRecordsOutput as ListMemoryRecordsOutput, + ListPaymentInstrumentsInput as ListPaymentInstrumentsInput, + ListPaymentInstrumentsOutput as ListPaymentInstrumentsOutput, + ListPaymentSessionsInput as ListPaymentSessionsInput, + ListPaymentSessionsOutput as ListPaymentSessionsOutput, + ListRecommendationsInput as ListRecommendationsInput, + ListRecommendationsOutput as ListRecommendationsOutput, + ListSessionsInput as ListSessionsInput, + ListSessionsOutput as ListSessionsOutput, + LiveViewStream as LiveViewStream, + McpDescriptor as McpDescriptor, + MemoryContentText as MemoryContentText, + MemoryContentUnknown as MemoryContentUnknown, + MemoryContent as MemoryContent, + _MemoryContentDeserializer as _MemoryContentDeserializer, + MemoryJsonData as MemoryJsonData, + MemoryMetadataFilterExpression as MemoryMetadataFilterExpression, + MemoryRecord as MemoryRecord, + MemoryRecordCreateInput as MemoryRecordCreateInput, + MemoryRecordDeleteInput as MemoryRecordDeleteInput, + MemoryRecordLeftExpressionMetadataKey as MemoryRecordLeftExpressionMetadataKey, + MemoryRecordLeftExpressionUnknown as MemoryRecordLeftExpressionUnknown, + MemoryRecordLeftExpression as MemoryRecordLeftExpression, + _MemoryRecordLeftExpressionDeserializer as _MemoryRecordLeftExpressionDeserializer, + MemoryRecordMetadataValueStringValue as MemoryRecordMetadataValueStringValue, + MemoryRecordMetadataValueStringListValue as MemoryRecordMetadataValueStringListValue, + MemoryRecordMetadataValueNumberValue as MemoryRecordMetadataValueNumberValue, + MemoryRecordMetadataValueDateTimeValue as MemoryRecordMetadataValueDateTimeValue, + MemoryRecordMetadataValueUnknown as MemoryRecordMetadataValueUnknown, + MemoryRecordMetadataValue as MemoryRecordMetadataValue, + _MemoryRecordMetadataValueDeserializer as _MemoryRecordMetadataValueDeserializer, + MemoryRecordOperatorType as MemoryRecordOperatorType, + MemoryRecordOutput as MemoryRecordOutput, + MemoryRecordRightExpressionMetadataValue as MemoryRecordRightExpressionMetadataValue, + MemoryRecordRightExpressionUnknown as MemoryRecordRightExpressionUnknown, + MemoryRecordRightExpression as MemoryRecordRightExpression, + _MemoryRecordRightExpressionDeserializer as _MemoryRecordRightExpressionDeserializer, + MemoryRecordStatus as MemoryRecordStatus, + MemoryRecordSummary as MemoryRecordSummary, + MemoryRecordUpdateInput as MemoryRecordUpdateInput, + MessageMetadata as MessageMetadata, + MetadataValueStringValue as MetadataValueStringValue, + MetadataValueUnknown as MetadataValueUnknown, + MetadataValue as MetadataValue, + _MetadataValueDeserializer as _MetadataValueDeserializer, + MouseButton as MouseButton, + MouseClickArguments as MouseClickArguments, + MouseClickResult as MouseClickResult, + MouseDragArguments as MouseDragArguments, + MouseDragResult as MouseDragResult, + MouseMoveArguments as MouseMoveArguments, + MouseMoveResult as MouseMoveResult, + MouseScrollArguments as MouseScrollArguments, + MouseScrollResult as MouseScrollResult, + MppPaymentInput as MppPaymentInput, + MppPaymentOutput as MppPaymentOutput, + OAuth2Authentication as OAuth2Authentication, + Oauth2FlowType as Oauth2FlowType, + OAuthCredentialProvider as OAuthCredentialProvider, + OAuthGrantType as OAuthGrantType, + OnlineEvaluationConfigSource as OnlineEvaluationConfigSource, + OnlineEvaluationTraceConfig as OnlineEvaluationTraceConfig, + OperatorType as OperatorType, + OutputConfigCloudWatchConfig as OutputConfigCloudWatchConfig, + OutputConfigUnknown as OutputConfigUnknown, + OutputConfig as OutputConfig, + _OutputConfigDeserializer as _OutputConfigDeserializer, + PayloadTypeConversational as PayloadTypeConversational, + PayloadTypeBlob as PayloadTypeBlob, + PayloadTypeJson as PayloadTypeJson, + PayloadTypeUnknown as PayloadTypeUnknown, + PayloadType as PayloadType, + _PayloadTypeDeserializer as _PayloadTypeDeserializer, + PaymentHttpMethodType as PaymentHttpMethodType, + PaymentInputCryptoX402 as PaymentInputCryptoX402, + PaymentInputMpp as PaymentInputMpp, + PaymentInputUnknown as PaymentInputUnknown, + PaymentInput as PaymentInput, + _PaymentInputDeserializer as _PaymentInputDeserializer, + PaymentInstrument as PaymentInstrument, + PaymentInstrumentDetailsEmbeddedCryptoWallet as PaymentInstrumentDetailsEmbeddedCryptoWallet, + PaymentInstrumentDetailsUnknown as PaymentInstrumentDetailsUnknown, + PaymentInstrumentDetails as PaymentInstrumentDetails, + _PaymentInstrumentDetailsDeserializer as _PaymentInstrumentDetailsDeserializer, + PaymentInstrumentStatus as PaymentInstrumentStatus, + PaymentInstrumentSummary as PaymentInstrumentSummary, + PaymentInstrumentType as PaymentInstrumentType, + PaymentOutputCryptoX402 as PaymentOutputCryptoX402, + PaymentOutputMpp as PaymentOutputMpp, + PaymentOutputUnknown as PaymentOutputUnknown, + PaymentOutput as PaymentOutput, + _PaymentOutputDeserializer as _PaymentOutputDeserializer, + PaymentSession as PaymentSession, + PaymentSessionStatus as PaymentSessionStatus, + PaymentSessionSummary as PaymentSessionSummary, + PaymentStatus as PaymentStatus, + PaymentTokenRequestInputCoinbaseCdpTokenRequest as PaymentTokenRequestInputCoinbaseCdpTokenRequest, + PaymentTokenRequestInputStripePrivyTokenRequest as PaymentTokenRequestInputStripePrivyTokenRequest, + PaymentTokenRequestInputUnknown as PaymentTokenRequestInputUnknown, + PaymentTokenRequestInput as PaymentTokenRequestInput, + _PaymentTokenRequestInputDeserializer as _PaymentTokenRequestInputDeserializer, + PaymentTokenResponseOutputCoinbaseCdpTokenResponse as PaymentTokenResponseOutputCoinbaseCdpTokenResponse, + PaymentTokenResponseOutputStripePrivyTokenResponse as PaymentTokenResponseOutputStripePrivyTokenResponse, + PaymentTokenResponseOutputUnknown as PaymentTokenResponseOutputUnknown, + PaymentTokenResponseOutput as PaymentTokenResponseOutput, + _PaymentTokenResponseOutputDeserializer as _PaymentTokenResponseOutputDeserializer, + PaymentType as PaymentType, + PerVariantOnlineEvaluationConfig as PerVariantOnlineEvaluationConfig, + ProcessPaymentInput as ProcessPaymentInput, + ProcessPaymentOutput as ProcessPaymentOutput, + ProgrammingLanguage as ProgrammingLanguage, + ProxyExternalProxy as ProxyExternalProxy, + ProxyUnknown as ProxyUnknown, + Proxy as Proxy, + _ProxyDeserializer as _ProxyDeserializer, + ProxyBypass as ProxyBypass, + ProxyConfiguration as ProxyConfiguration, + ProxyCredentialsBasicAuth as ProxyCredentialsBasicAuth, + ProxyCredentialsUnknown as ProxyCredentialsUnknown, + ProxyCredentials as ProxyCredentials, + _ProxyCredentialsDeserializer as _ProxyCredentialsDeserializer, + PublishedDateFilter as PublishedDateFilter, + RecommendationConfigSystemPromptRecommendationConfig as RecommendationConfigSystemPromptRecommendationConfig, + RecommendationConfigToolDescriptionRecommendationConfig as RecommendationConfigToolDescriptionRecommendationConfig, + RecommendationConfigUnknown as RecommendationConfigUnknown, + RecommendationConfig as RecommendationConfig, + _RecommendationConfigDeserializer as _RecommendationConfigDeserializer, + RecommendationEvaluationConfig as RecommendationEvaluationConfig, + RecommendationEvaluatorReference as RecommendationEvaluatorReference, + RecommendationResultSystemPromptRecommendationResult as RecommendationResultSystemPromptRecommendationResult, + RecommendationResultToolDescriptionRecommendationResult as RecommendationResultToolDescriptionRecommendationResult, + RecommendationResultUnknown as RecommendationResultUnknown, + RecommendationResult as RecommendationResult, + _RecommendationResultDeserializer as _RecommendationResultDeserializer, + RecommendationResultConfigurationBundle as RecommendationResultConfigurationBundle, + RecommendationStatus as RecommendationStatus, + RecommendationSummary as RecommendationSummary, + RecommendationType as RecommendationType, + RecordExpiryAction as RecordExpiryAction, + RecordExpirySpecificationRecordExpiryDurationDays as RecordExpirySpecificationRecordExpiryDurationDays, + RecordExpirySpecificationAction as RecordExpirySpecificationAction, + RecordExpirySpecificationUnknown as RecordExpirySpecificationUnknown, + RecordExpirySpecification as RecordExpirySpecification, + _RecordExpirySpecificationDeserializer as _RecordExpirySpecificationDeserializer, + RegistryRecordStatus as RegistryRecordStatus, + RegistryRecordSummary as RegistryRecordSummary, + ResourceContent as ResourceContent, + ResourceContentType as ResourceContentType, + ResourceLocationS3 as ResourceLocationS3, + ResourceLocationUnknown as ResourceLocationUnknown, + ResourceLocation as ResourceLocation, + _ResourceLocationDeserializer as _ResourceLocationDeserializer, + ResourceNotFoundException as ResourceNotFoundException, + ResponseChunk as ResponseChunk, + ResultDestination as ResultDestination, + RetrieveMemoryRecordsInput as RetrieveMemoryRecordsInput, + RetrieveMemoryRecordsOutput as RetrieveMemoryRecordsOutput, + RetryableConflictException as RetryableConflictException, + RightExpressionMetadataValue as RightExpressionMetadataValue, + RightExpressionUnknown as RightExpressionUnknown, + RightExpression as RightExpression, + _RightExpressionDeserializer as _RightExpressionDeserializer, + Role as Role, + RootCauseCluster as RootCauseCluster, + RuntimeClientError as RuntimeClientError, + S3FilesConfiguration as S3FilesConfiguration, + S3Location as S3Location, + SampleSession as SampleSession, + SaveBrowserSessionProfileInput as SaveBrowserSessionProfileInput, + SaveBrowserSessionProfileOutput as SaveBrowserSessionProfileOutput, + ScreenshotArguments as ScreenshotArguments, + ScreenshotFormat as ScreenshotFormat, + ScreenshotResult as ScreenshotResult, + SearchCriteria as SearchCriteria, + SearchRegistryRecordsInput as SearchRegistryRecordsInput, + SearchRegistryRecordsOutput as SearchRegistryRecordsOutput, + SecretsManagerLocation as SecretsManagerLocation, + ServerDefinition as ServerDefinition, + ServiceException as ServiceException, + ServiceQuotaExceededException as ServiceQuotaExceededException, + ServiceUnavailableException as ServiceUnavailableException, + SessionFilter as SessionFilter, + SessionFilterConfig as SessionFilterConfig, + SessionFinding as SessionFinding, + SessionLimits as SessionLimits, + SessionMetadataShape as SessionMetadataShape, + SessionStatus as SessionStatus, + SessionSummary as SessionSummary, + SessionTraceIds as SessionTraceIds, + SkillDefinition as SkillDefinition, + SkillMdDefinition as SkillMdDefinition, + SpanContext as SpanContext, + StartBatchEvaluationInput as StartBatchEvaluationInput, + StartBatchEvaluationOutput as StartBatchEvaluationOutput, + StartBrowserSessionInput as StartBrowserSessionInput, + StartBrowserSessionOutput as StartBrowserSessionOutput, + StartCodeInterpreterSessionInput as StartCodeInterpreterSessionInput, + StartCodeInterpreterSessionOutput as StartCodeInterpreterSessionOutput, + StartMemoryExtractionJobInput as StartMemoryExtractionJobInput, + StartMemoryExtractionJobOutput as StartMemoryExtractionJobOutput, + StartRecommendationInput as StartRecommendationInput, + StartRecommendationOutput as StartRecommendationOutput, + StopBatchEvaluationInput as StopBatchEvaluationInput, + StopBatchEvaluationOutput as StopBatchEvaluationOutput, + StopBrowserSessionInput as StopBrowserSessionInput, + StopBrowserSessionOutput as StopBrowserSessionOutput, + StopCodeInterpreterSessionInput as StopCodeInterpreterSessionInput, + StopCodeInterpreterSessionOutput as StopCodeInterpreterSessionOutput, + StopRuntimeSessionInput as StopRuntimeSessionInput, + StopRuntimeSessionOutput as StopRuntimeSessionOutput, + StreamUpdateAutomationStreamUpdate as StreamUpdateAutomationStreamUpdate, + StreamUpdateUnknown as StreamUpdateUnknown, + StreamUpdate as StreamUpdate, + _StreamUpdateDeserializer as _StreamUpdateDeserializer, + StripePrivyTokenRequestInput as StripePrivyTokenRequestInput, + StripePrivyTokenResponseOutput as StripePrivyTokenResponseOutput, + SubscriptionRequiredException as SubscriptionRequiredException, + SystemPromptConfigText as SystemPromptConfigText, + SystemPromptConfigConfigurationBundle as SystemPromptConfigConfigurationBundle, + SystemPromptConfigUnknown as SystemPromptConfigUnknown, + SystemPromptConfig as SystemPromptConfig, + _SystemPromptConfigDeserializer as _SystemPromptConfigDeserializer, + SystemPromptConfigurationBundle as SystemPromptConfigurationBundle, + SystemPromptRecommendationConfig as SystemPromptRecommendationConfig, + SystemPromptRecommendationResult as SystemPromptRecommendationResult, + TargetRef as TargetRef, + TaskStatus as TaskStatus, + ThrottledException as ThrottledException, + ThrottlingException as ThrottlingException, + TokenBalance as TokenBalance, + TokenUsage as TokenUsage, + ToolArguments as ToolArguments, + ToolDescriptionConfigText as ToolDescriptionConfigText, + ToolDescriptionConfigUnknown as ToolDescriptionConfigUnknown, + ToolDescriptionConfig as ToolDescriptionConfig, + _ToolDescriptionConfigDeserializer as _ToolDescriptionConfigDeserializer, + ToolDescriptionConfigurationBundle as ToolDescriptionConfigurationBundle, + ToolDescriptionInput as ToolDescriptionInput, + ToolDescriptionOutput as ToolDescriptionOutput, + ToolDescriptionRecommendationConfig as ToolDescriptionRecommendationConfig, + ToolDescriptionRecommendationResult as ToolDescriptionRecommendationResult, + ToolDescriptionSourceToolDescriptionText as ToolDescriptionSourceToolDescriptionText, + ToolDescriptionSourceConfigurationBundle as ToolDescriptionSourceConfigurationBundle, + ToolDescriptionSourceUnknown as ToolDescriptionSourceUnknown, + ToolDescriptionSource as ToolDescriptionSource, + _ToolDescriptionSourceDeserializer as _ToolDescriptionSourceDeserializer, + ToolDescriptionTextInput as ToolDescriptionTextInput, + ToolName as ToolName, + ToolResultStructuredContent as ToolResultStructuredContent, + ToolsDefinition as ToolsDefinition, + ToolsFileSystemConfigurationS3FilesConfiguration as ToolsFileSystemConfigurationS3FilesConfiguration, + ToolsFileSystemConfigurationEfsConfiguration as ToolsFileSystemConfigurationEfsConfiguration, + ToolsFileSystemConfigurationUnknown as ToolsFileSystemConfigurationUnknown, + ToolsFileSystemConfiguration as ToolsFileSystemConfiguration, + _ToolsFileSystemConfigurationDeserializer as _ToolsFileSystemConfigurationDeserializer, + UnauthorizedException as UnauthorizedException, + UpdateABTestInput as UpdateABTestInput, + UpdateABTestOutput as UpdateABTestOutput, + UpdateBrowserStreamInput as UpdateBrowserStreamInput, + UpdateBrowserStreamOutput as UpdateBrowserStreamOutput, + UserIdentifierUserToken as UserIdentifierUserToken, + UserIdentifierUserId as UserIdentifierUserId, + UserIdentifierUnknown as UserIdentifierUnknown, + UserIdentifier as UserIdentifier, + _UserIdentifierDeserializer as _UserIdentifierDeserializer, + UserIntentAffectedSession as UserIntentAffectedSession, + UserIntentCluster as UserIntentCluster, + UserIntentClusteringResultContent as UserIntentClusteringResultContent, + ValidationException as ValidationException, + ValidationExceptionField as ValidationExceptionField, + ValidationExceptionReason as ValidationExceptionReason, + Variant as Variant, + VariantConfiguration as VariantConfiguration, + VariantResult as VariantResult, + ViewPort as ViewPort, + WebSearchFilters as WebSearchFilters, + WebSearchResult as WebSearchResult, + Unit as Unit, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -28,9684 +789,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class A2aDescriptor(_SerdeShape): - """The A2A (Agent-to-Agent) descriptor configuration for a registry record.""" - - agent_card: AgentCardDefinition - """ - The agent card definition that describes the agent's capabilities and - interface. - """ - -@dataclass -class ABTestEvaluationConfigOnlineEvaluationConfigArn(_SerdeShape): - """ - The Amazon Resource Name (ARN) of a single online evaluation - configuration to use for both variants. - """ - - value: str - -@dataclass -class ABTestEvaluationConfigPerVariantOnlineEvaluationConfig(_SerdeShape): - """ - Per-variant online evaluation configurations, allowing different - evaluation settings for each variant. - """ - - value: list[PerVariantOnlineEvaluationConfig] - -@dataclass -class ABTestEvaluationConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ABTestEvaluationConfig = Union[ - ABTestEvaluationConfigOnlineEvaluationConfigArn - | ABTestEvaluationConfigPerVariantOnlineEvaluationConfig - | ABTestEvaluationConfigUnknown -] -""" -The evaluation configuration for an A/B test, specifying which online -evaluation configurations to use for measuring variant performance. -""" - -class _ABTestEvaluationConfigDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ABTestEvaluationConfig: ... - -class ABTestExecutionStatus(UnknownEnumMixin, StrEnum): - PAUSED = "PAUSED" - RUNNING = "RUNNING" - STOPPED = "STOPPED" - NOT_STARTED = "NOT_STARTED" - -@dataclass(kw_only=True) -class ABTestResults(_SerdeShape): - """The statistical results of an A/B test.""" - - analysis_timestamp: datetime | None = ... - """The timestamp when the analysis was performed.""" - evaluator_metrics: list[EvaluatorMetric] - """The per-evaluator metrics comparing control and treatment variants.""" - -class ABTestStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - CREATE_FAILED = "CREATE_FAILED" - UPDATING = "UPDATING" - UPDATE_FAILED = "UPDATE_FAILED" - DELETING = "DELETING" - DELETE_FAILED = "DELETE_FAILED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class ABTestSummary(_SerdeShape): - """Summary information about an A/B test.""" - - ab_test_id: str - """The unique identifier of the A/B test.""" - ab_test_arn: str - """The Amazon Resource Name (ARN) of the A/B test.""" - name: str - """The name of the A/B test.""" - status: str - """The current status of the A/B test.""" - execution_status: str - """The execution status of the A/B test.""" - description: str | None = ... - """The description of the A/B test.""" - gateway_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the gateway used for traffic - splitting. - """ - created_at: datetime - """The timestamp when the A/B test was created.""" - updated_at: datetime - """The timestamp when the A/B test was last updated.""" - -@dataclass(kw_only=True) -class AccessDeniedException(ServiceError, _SerdeShape): - """ - The exception that occurs when you do not have sufficient permissions to - perform an action. Verify that your IAM policy includes the necessary - permissions for the operation you are trying to perform. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ActorSummary(_SerdeShape): - """ - Contains summary information about an actor in an AgentCore Memory - resource. - """ - - actor_id: str - """The unique identifier of the actor.""" - -@dataclass(kw_only=True) -class AffectedSession(_SerdeShape): - """ - A session affected by a detected failure pattern, including root cause - details. - """ - - session_id: str - """The unique identifier of the affected session.""" - explanation: str - """An explanation of how the failure manifested in this session.""" - fix_type: str - """The type of fix recommended for this failure.""" - recommendation: str - """The specific fix recommendation for this session.""" - failure_spans: list[FailureSpanDetail] - """The list of spans where failures were detected in this session.""" - -@dataclass(kw_only=True) -class AgentCardDefinition(_SerdeShape): - """ - The agent card definition for A2A descriptors, including the schema - version and inline content that describes the agent's capabilities. - """ - - schema_version: str | None = ... - """The schema version of the agent card definition.""" - inline_content: str | None = ... - """The inline content of the agent card definition.""" - -@dataclass(kw_only=True) -class AgentSkillsDescriptor(_SerdeShape): - """The agent skills descriptor configuration for a registry record.""" - - skill_md: SkillMdDefinition - """The skill description in markdown format.""" - skill_definition: SkillDefinition | None = ... - """The structured skill definition with a schema version and content.""" - -@dataclass -class AgentTracesConfigSessionSpans(_SerdeShape): - """Agent traces provided as inline session spans in OpenTelemetry format.""" - - value: list[Document] - -@dataclass -class AgentTracesConfigCloudwatchLogs(_SerdeShape): - """Agent traces read from CloudWatch Logs.""" - - value: CloudWatchLogsTraceConfig - -@dataclass -class AgentTracesConfigBatchEvaluation(_SerdeShape): - """Use a completed batch evaluation as the source of agent traces.""" - - value: BatchEvaluationTraceConfig - -@dataclass -class AgentTracesConfigOnlineEvaluation(_SerdeShape): - """ - Agent traces from an online evaluation configuration over a specified - time range. - """ - - value: OnlineEvaluationTraceConfig - -@dataclass -class AgentTracesConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AgentTracesConfig = Union[ - AgentTracesConfigSessionSpans - | AgentTracesConfigCloudwatchLogs - | AgentTracesConfigBatchEvaluation - | AgentTracesConfigOnlineEvaluation - | AgentTracesConfigUnknown -] -""" -The configuration specifying where to read agent traces from for -recommendation analysis. -""" - -class _AgentTracesConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> AgentTracesConfig: ... - -@dataclass(kw_only=True) -class Amount(_SerdeShape): - """Represents a monetary amount with a currency.""" - - value: str - """The numeric value of the amount.""" - currency: str - """The currency code for the amount.""" - -@dataclass(kw_only=True) -class AutomationStream(_SerdeShape): - """ - The configuration for a stream that enables programmatic control of a - browser session in Amazon Bedrock AgentCore. This stream provides a - bidirectional communication channel for sending commands to the browser - and receiving responses, allowing agents to automate web interactions - such as navigation, form filling, and element clicking. - """ - - stream_endpoint: str - """ - The endpoint URL for the automation stream. This URL is used to - establish a WebSocket connection to the stream for sending commands and - receiving responses. - """ - stream_status: str - """ - The current status of the automation stream. This indicates whether the - stream is available for use. Possible values include ACTIVE, CONNECTING, - and DISCONNECTED. - """ - -class AutomationStreamStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class AutomationStreamUpdate(_SerdeShape): - """Contains information about an update to an automation stream.""" - - stream_status: str | None = ... - """The status of the automation stream.""" - -@dataclass(kw_only=True) -class AvailableLimits(_SerdeShape): - """The available spending limits for a payment session.""" - - available_spend_amount: Amount | None = ... - """The remaining available amount that can be spent.""" - updated_at: datetime | None = ... - """The timestamp when the available limits were last updated.""" - -@dataclass(kw_only=True) -class BasicAuth(_SerdeShape): - """ - Configuration for HTTP Basic Authentication using credentials stored in - Amazon Web Services Secrets Manager. The secret must contain a JSON - object with `username` and `password` string fields. Username allows - alphanumeric characters and `@._+=-` symbols (pattern: - `^[a-zA-Z0-9@._+=\\-]+$`). Password allows alphanumeric characters and - `@._+=-!#$%&*` symbols (pattern: `^[a-zA-Z0-9@._+=\\-!#$%&*]+$`). Both - fields have a maximum length of 256 characters. - """ - - secret_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Web Services Secrets - Manager secret containing proxy credentials. The secret must be a JSON - object with `username` and `password` string fields that meet validation - requirements. The caller must have `secretsmanager:GetSecretValue` - permission for this ARN. Example secret format: - `{"username": "proxy_user", "password": "secure_password"}` - """ - -@dataclass(kw_only=True) -class BatchCreateMemoryRecordsInput(_SerdeShape): - """Dataclass for BatchCreateMemoryRecordsInput structure.""" - - memory_id: str | None = ... - """The unique ID of the memory resource where records will be created.""" - records: list[MemoryRecordCreateInput] | None = ... - """ - A list of memory record creation inputs to be processed in the batch - operation. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotent processing of - the batch request. - """ - record_expiry_specification: RecordExpirySpecification | None = ... - """ - The record expiry (long-term memory time-to-live) applied to every - record created by this request. Set `recordExpiryDurationDays` to the - number of days after which the records expire. Only the expiry provided - here is applied; the records' strategy association has no effect on - their expiry. If you do not provide this value, the records do not - expire. The `REMOVE` action does not apply when creating records. - """ - -@dataclass(kw_only=True) -class BatchCreateMemoryRecordsOutput(_SerdeShape): - """Dataclass for BatchCreateMemoryRecordsOutput structure.""" - - successful_records: list[MemoryRecordOutput] - """ - A list of memory records that were successfully created during the batch - operation. - """ - failed_records: list[MemoryRecordOutput] - """ - A list of memory records that failed to be created, including error - details for each failure. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BatchDeleteMemoryRecordsInput(_SerdeShape): - """Dataclass for BatchDeleteMemoryRecordsInput structure.""" - - memory_id: str | None = ... - """The unique ID of the memory resource where records will be deleted.""" - records: list[MemoryRecordDeleteInput] | None = ... - """ - A list of memory record deletion inputs to be processed in the batch - operation. - """ - -@dataclass(kw_only=True) -class BatchDeleteMemoryRecordsOutput(_SerdeShape): - """Dataclass for BatchDeleteMemoryRecordsOutput structure.""" - - successful_records: list[MemoryRecordOutput] - """ - A list of memory records that were successfully deleted during the batch - operation. - """ - failed_records: list[MemoryRecordOutput] - """ - A list of memory records that failed to be deleted, including error - details for each failure. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class BatchEvaluationStatus(UnknownEnumMixin, StrEnum): - """The lifecycle status of a batch evaluation job.""" - - PENDING = "PENDING" - IN_PROGRESS = "IN_PROGRESS" - COMPLETED = "COMPLETED" - COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS" - FAILED = "FAILED" - STOPPING = "STOPPING" - STOPPED = "STOPPED" - DELETING = "DELETING" - -@dataclass(kw_only=True) -class BatchEvaluationSummary(_SerdeShape): - """Summary representation for list responses.""" - - batch_evaluation_id: str - """The unique identifier of the batch evaluation.""" - batch_evaluation_arn: str - """The Amazon Resource Name (ARN) of the batch evaluation.""" - batch_evaluation_name: str - """The name of the batch evaluation.""" - status: str - """The current status of the batch evaluation.""" - created_at: datetime - """The timestamp when the batch evaluation was created.""" - description: str | None = ... - """The description of the batch evaluation.""" - evaluators: list[Evaluator] | None = ... - """The list of evaluators applied during the batch evaluation.""" - insights: list[Insight] | None = ... - """The list of insight analyses applied during the batch evaluation.""" - evaluation_results: EvaluationJobResults | None = ... - """The aggregated evaluation results.""" - error_details: list[str] | None = ... - """The error details if the batch evaluation encountered failures.""" - kms_key_arn: str | None = ... - """The ARN of the KMS key used to encrypt evaluation data.""" - updated_at: datetime | None = ... - """The timestamp when the batch evaluation was last updated.""" - -@dataclass(kw_only=True) -class BatchEvaluationTraceConfig(_SerdeShape): - """ - Configuration for using a batch evaluation as the source of agent traces - for recommendations. - """ - - batch_evaluation_arn: str - """The ARN of the completed batch evaluation to use as the trace source.""" - -@dataclass(kw_only=True) -class BatchUpdateMemoryRecordsInput(_SerdeShape): - """Dataclass for BatchUpdateMemoryRecordsInput structure.""" - - memory_id: str | None = ... - """The unique ID of the memory resource where records will be updated.""" - records: list[MemoryRecordUpdateInput] | None = ... - """ - A list of memory record update inputs to be processed in the batch - operation. - """ - record_expiry_specification: RecordExpirySpecification | None = ... - """ - The record expiry (long-term memory time-to-live) applied to every - record updated by this request. Set `recordExpiryDurationDays` to - configure or overwrite the number of days after which the records - expire, or set `action` to `REMOVE` to clear a previously configured - expiry so that the records no longer expire. - - When you do not provide this value, the service determines each - record's expiry from its current state: - - - If the record already has an expiry configured, the service resets and - reapplies the expiry based on the last applied - `recordExpiryDurationDays`. - - - If the record does not have an expiry configured, no expiry is applied - and the record remains non-expiring. This is the outcome regardless of - whether the record's strategy configures an expiry. - - Providing an explicit `recordExpiryDurationDays` always takes - precedence: it overwrites an existing expiry, or sets one on a record - that previously had none. - """ - -@dataclass(kw_only=True) -class BatchUpdateMemoryRecordsOutput(_SerdeShape): - """Dataclass for BatchUpdateMemoryRecordsOutput structure.""" - - successful_records: list[MemoryRecordOutput] - """ - A list of memory records that were successfully updated during the batch - operation. - """ - failed_records: list[MemoryRecordOutput] - """ - A list of memory records that failed to be updated, including error - details for each failure. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class BlockchainChainId(UnknownEnumMixin, StrEnum): - """ - Supported blockchain chain identifiers for balance queries. Each value - maps to a specific chain supported by the underlying providers (Privy, - Coinbase). - """ - - BASE = "BASE" - """Base Mainnet (EVM L2)""" - BASE_SEPOLIA = "BASE_SEPOLIA" - """Base Sepolia testnet (EVM L2)""" - ETHEREUM = "ETHEREUM" - """Ethereum Mainnet (EVM L1)""" - SOLANA = "SOLANA" - """Solana Mainnet""" - SOLANA_DEVNET = "SOLANA_DEVNET" - """Solana Devnet testnet""" - -@dataclass(kw_only=True) -class Branch(_SerdeShape): - """ - Contains information about a branch in an AgentCore Memory resource. - Branches allow for organizing events into different conversation threads - or paths. - """ - - root_event_id: str | None = ... - """The identifier of the root event for this branch.""" - name: str - """The name of the branch.""" - -@dataclass(kw_only=True) -class BranchFilter(_SerdeShape): - """Contains filter criteria for branches when listing events.""" - - name: str - """The name of the branch to filter by.""" - include_parent_branches: bool = ... - """ - Specifies whether to include parent branches in the results. Set to true - to include parent branches, or false to exclude them. - """ - -@dataclass -class BrowserActionMouseClick(_SerdeShape): - """Click at the specified coordinates.""" - - value: MouseClickArguments - -@dataclass -class BrowserActionMouseMove(_SerdeShape): - """Move the cursor to the specified coordinates.""" - - value: MouseMoveArguments - -@dataclass -class BrowserActionMouseDrag(_SerdeShape): - """Drag from a start position to an end position.""" - - value: MouseDragArguments - -@dataclass -class BrowserActionMouseScroll(_SerdeShape): - """Scroll at the specified position.""" - - value: MouseScrollArguments - -@dataclass -class BrowserActionKeyType(_SerdeShape): - """Type a string of text.""" - - value: KeyTypeArguments - -@dataclass -class BrowserActionKeyPress(_SerdeShape): - """Press a key one or more times.""" - - value: KeyPressArguments - -@dataclass -class BrowserActionKeyShortcut(_SerdeShape): - """Press a key combination.""" - - value: KeyShortcutArguments - -@dataclass -class BrowserActionScreenshot(_SerdeShape): - """Capture a full-screen screenshot.""" - - value: ScreenshotArguments - -@dataclass -class BrowserActionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -BrowserAction = Union[ - BrowserActionMouseClick - | BrowserActionMouseMove - | BrowserActionMouseDrag - | BrowserActionMouseScroll - | BrowserActionKeyType - | BrowserActionKeyPress - | BrowserActionKeyShortcut - | BrowserActionScreenshot - | BrowserActionUnknown -] -""" -The browser action to perform. Exactly one member must be set per -request. -""" - -class _BrowserActionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> BrowserAction: ... - -@dataclass -class BrowserActionResultMouseClick(_SerdeShape): - """The result of a mouse click action.""" - - value: MouseClickResult - -@dataclass -class BrowserActionResultMouseMove(_SerdeShape): - """The result of a mouse move action.""" - - value: MouseMoveResult - -@dataclass -class BrowserActionResultMouseDrag(_SerdeShape): - """The result of a mouse drag action.""" - - value: MouseDragResult - -@dataclass -class BrowserActionResultMouseScroll(_SerdeShape): - """The result of a mouse scroll action.""" - - value: MouseScrollResult - -@dataclass -class BrowserActionResultKeyType(_SerdeShape): - """The result of a key type action.""" - - value: KeyTypeResult - -@dataclass -class BrowserActionResultKeyPress(_SerdeShape): - """The result of a key press action.""" - - value: KeyPressResult - -@dataclass -class BrowserActionResultKeyShortcut(_SerdeShape): - """The result of a key shortcut action.""" - - value: KeyShortcutResult - -@dataclass -class BrowserActionResultScreenshot(_SerdeShape): - """The result of a screenshot action.""" - - value: ScreenshotResult - -@dataclass -class BrowserActionResultUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -BrowserActionResult = Union[ - BrowserActionResultMouseClick - | BrowserActionResultMouseMove - | BrowserActionResultMouseDrag - | BrowserActionResultMouseScroll - | BrowserActionResultKeyType - | BrowserActionResultKeyPress - | BrowserActionResultKeyShortcut - | BrowserActionResultScreenshot - | BrowserActionResultUnknown -] -""" -The result of a browser action execution. Exactly one member is set, -matching the action that was performed. -""" - -class _BrowserActionResultDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> BrowserActionResult: ... - -class BrowserActionStatus(UnknownEnumMixin, StrEnum): - """The status of a browser action execution.""" - - SUCCESS = "SUCCESS" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class BrowserEnterprisePolicy(_SerdeShape): - """Browser enterprise policy configuration.""" - - location: ResourceLocation - """The location of the enterprise policy file.""" - type: str | None = ... - """The enterprise policy type. See BrowserEnterprisePolicyType.""" - -class BrowserEnterprisePolicyType(UnknownEnumMixin, StrEnum): - """ - The type of browser enterprise policy. Available values are `MANAGED` - and `RECOMMENDED`. - """ - - MANAGED = "MANAGED" - RECOMMENDED = "RECOMMENDED" - -@dataclass(kw_only=True) -class BrowserExtension(_SerdeShape): - """Browser extension configuration.""" - - location: ResourceLocation - """ - The location where the browser extension files are stored. This - specifies the source from which the extension will be loaded and - installed. - """ - -@dataclass(kw_only=True) -class BrowserProfileConfiguration(_SerdeShape): - """ - The configuration for a browser profile in Amazon Bedrock AgentCore. A - browser profile contains persistent browser data such as cookies and - local storage that can be saved from one browser session and reused in - subsequent sessions. Browser profiles enable continuity for tasks that - require authentication, maintain user preferences, or depend on - previously stored browser state. - """ - - profile_identifier: str - """ - The unique identifier of the browser profile. This identifier is used to - reference the profile when starting new browser sessions or saving - session data to the profile. - """ - -class BrowserSessionStatus(UnknownEnumMixin, StrEnum): - READY = "READY" - TERMINATED = "TERMINATED" - -@dataclass(kw_only=True) -class BrowserSessionStream(_SerdeShape): - """ - The collection of streams associated with a browser session in Amazon - Bedrock AgentCore. These streams provide different ways to interact with - and observe the browser session, including programmatic control and - visual representation of the browser content. - """ - - automation_stream: AutomationStream - """ - The stream that enables programmatic control of the browser. This stream - allows agents to perform actions such as navigating to URLs, clicking - elements, and filling forms. - """ - live_view_stream: LiveViewStream | None = ... - """ - The stream that provides a visual representation of the browser content. - This stream allows agents to observe the current state of the browser, - including rendered web pages and visual elements. - """ - -@dataclass(kw_only=True) -class BrowserSessionSummary(_SerdeShape): - """ - A condensed representation of a browser session in Amazon Bedrock - AgentCore. This structure contains key information about a browser - session, including identifiers, status, and timestamps, without the full - details of the session configuration and streams. - """ - - browser_identifier: str - """ - The unique identifier of the browser associated with the session. This - identifier specifies which browser environment is used for the session. - """ - session_id: str - """ - The unique identifier of the browser session. This identifier is used in - operations that interact with the session. - """ - name: str | None = ... - """ - The name of the browser session. This name helps identify and manage the - session. - """ - status: str - """ - The current status of the browser session. Possible values include - ACTIVE, STOPPING, and STOPPED. - """ - created_at: datetime - """ - The timestamp when the browser session was created. This value is in ISO - 8601 format. - """ - last_updated_at: datetime | None = ... - """ - The timestamp when the browser session was last updated. This value is - in ISO 8601 format. - """ - -class CapacityProviderSessionStatus(UnknownEnumMixin, StrEnum): - PROVISIONING = "Provisioning" - DEPROVISIONING = "Deprovisioning" - ACTIVE = "Active" - DELETING = "Deleting" - DELETED = "Deleted" - STOPPED = "Stopped" - -@dataclass(kw_only=True) -class Certificate(_SerdeShape): - """A certificate to install in the browser or code interpreter session.""" - - location: CertificateLocation - """The location of the certificate.""" - -@dataclass -class CertificateLocationSecretsManager(_SerdeShape): - """The Amazon Web Services Secrets Manager location of the certificate.""" - - value: SecretsManagerLocation - -@dataclass -class CertificateLocationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CertificateLocation = Union[ - CertificateLocationSecretsManager | CertificateLocationUnknown -] -"""The location from which to retrieve a certificate.""" - -class _CertificateLocationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> CertificateLocation: ... - -@dataclass(kw_only=True) -class CloudWatchFilterConfig(_SerdeShape): - """ - Filter configuration for narrowing down CloudWatch Logs sessions for - evaluation. - """ - - session_ids: list[str] | None = ... - """ - A list of specific session IDs to evaluate. If specified, only these - sessions are included in the evaluation. - """ - time_range: SessionFilterConfig | None = ... - """The time range filter for selecting sessions to evaluate.""" - session_trace_ids: list[SessionTraceIds] | None = ... - """ - A list of session and trace ID pairs that restrict evaluation to - specific traces within a session. If specified, only the listed traces - are evaluated instead of the entire session. - """ - -@dataclass(kw_only=True) -class CloudWatchLogsFilter(_SerdeShape): - """ - A filter for narrowing down agent traces from CloudWatch Logs based on - key-value comparisons. - """ - - key: str - """The key or field name to filter on within the agent trace data.""" - operator: str - """The comparison operator to use for filtering.""" - value: FilterValue - """The value to compare against using the specified operator.""" - -class CloudWatchLogsFilterOperator(UnknownEnumMixin, StrEnum): - """The comparison operator used to filter CloudWatch Logs entries.""" - - EQUALS = "Equals" - NOT_EQUALS = "NotEquals" - GREATER_THAN = "GreaterThan" - LESS_THAN = "LessThan" - GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" - LESS_THAN_OR_EQUAL = "LessThanOrEqual" - CONTAINS = "Contains" - NOT_CONTAINS = "NotContains" - -@dataclass(kw_only=True) -class CloudWatchLogsRule(_SerdeShape): - """A rule configuration for filtering agent traces from CloudWatch Logs.""" - - filters: list[CloudWatchLogsFilter] | None = ... - """The list of filters to apply when reading agent traces.""" - -@dataclass(kw_only=True) -class CloudWatchLogsSource(_SerdeShape): - """The configuration for reading agent traces from CloudWatch Logs.""" - - service_names: list[str] - """ - The list of agent service names to filter traces within the specified - log groups. - """ - log_group_names: list[str] = ... - """ - The list of CloudWatch log group names to read agent traces from. - Maximum of 10 log groups. - """ - log_group_name_prefixes: list[str] | None = ... - """ - The list of CloudWatch log group name prefixes to read agent traces - from. Specify this instead of `logGroupNames` to match log groups by - prefix. Maximum of 5 prefixes. Specify either `logGroupNames` or - `logGroupNamePrefixes`, not both. One of the two is required. - """ - filter_config: CloudWatchFilterConfig | None = ... - """Optional filter configuration to narrow down which sessions to evaluate.""" - -@dataclass(kw_only=True) -class CloudWatchLogsTraceConfig(_SerdeShape): - """ - Configuration for reading agent traces from CloudWatch Logs for - recommendation analysis. - """ - - log_group_arns: list[str] - """The list of CloudWatch log group ARNs to read agent traces from.""" - service_names: list[str] - """ - The list of service names to filter traces within the specified log - groups. - """ - start_time: datetime - """The start time of the time range to read traces from.""" - end_time: datetime - """The end time of the time range to read traces from.""" - rule: CloudWatchLogsRule | None = ... - """Optional rule configuration for filtering traces.""" - -@dataclass(kw_only=True) -class CloudWatchOutputConfig(_SerdeShape): - """CloudWatch Logs destination for batch evaluation results.""" - - log_group_name: str = ... - """ - The name of the CloudWatch log group where evaluation results will be - written. This value doesn't apply when `resultDestination` is - `SOURCE_LOG_GROUP`, because results are written back to the trace source - log group. The name can't be under the service-reserved - `/aws/bedrock-agentcore/evaluations/` namespace, apart from the - service-managed default group. - """ - log_stream_name: str = ... - """ - The name of the CloudWatch log stream where evaluation results will be - written. - """ - metrics_namespace: str | None = ... - """ - The CloudWatch metrics namespace where evaluation result metrics are - published. If you omit this value, the service publishes metrics to - `Bedrock-AgentCore/Evaluations`. This value can't begin with `AWS/`. - """ - result_destination: str = ... - """ - The destination where evaluation results are written. Valid values: - - - `DEDICATED_LOG_GROUP` (default) -- Writes results to a dedicated - result log group. - - - `SOURCE_LOG_GROUP` -- Writes results back to the log group that the - agent traces were read from. If you use this value, don't specify - `logGroupName`. - """ - -@dataclass(kw_only=True) -class CodeInterpreterResult(_SerdeShape): - """ - The output produced by executing code in a code interpreter session in - Amazon Bedrock AgentCore. This structure contains the results of code - execution, including textual output, structured data, and error - information. Agents use these results to generate responses that - incorporate computation, data analysis, and visualization. - """ - - content: list[ContentBlock] - """ - The textual content of the execution result. This includes standard - output from the code execution, such as print statements, console - output, and text representations of results. - """ - structured_content: ToolResultStructuredContent | None = ... - """ - The structured content of the execution result. This includes additional - metadata about the execution, such as execution time, memory usage, and - structured representations of output data. The format depends on the - specific code interpreter and execution context. - """ - is_error: bool | None = ... - """ - Indicates whether the result represents an error. If true, the content - contains error messages or exception information. If false, the content - contains successful execution results. - """ - -class CodeInterpreterSessionStatus(UnknownEnumMixin, StrEnum): - READY = "READY" - TERMINATED = "TERMINATED" - -@dataclass(kw_only=True) -class CodeInterpreterSessionSummary(_SerdeShape): - """ - A condensed representation of a code interpreter session in Amazon - Bedrock AgentCore. This structure contains key information about a code - interpreter session, including identifiers, status, and timestamps, - without the full details of the session configuration. - """ - - code_interpreter_identifier: str - """ - The unique identifier of the code interpreter associated with the - session. This identifier specifies which code interpreter environment is - used for the session. - """ - session_id: str - """ - The unique identifier of the code interpreter session. This identifier - is used in operations that interact with the session. - """ - name: str | None = ... - """ - The name of the code interpreter session. This name helps identify and - manage the session. - """ - status: str - """ - The current status of the code interpreter session. Possible values - include ACTIVE, STOPPING, and STOPPED. - """ - created_at: datetime - """ - The timestamp when the code interpreter session was created. This value - is in ISO 8601 format. - """ - last_updated_at: datetime | None = ... - """ - The timestamp when the code interpreter session was last updated. This - value is in ISO 8601 format. - """ - -@dataclass -class CodeInterpreterStreamOutputResult(_SerdeShape): - """ - The output produced by executing code in a code interpreter session in - Amazon Bedrock AgentCore. This structure contains the results of code - execution, including textual output, structured data, and error - information. Agents use these results to generate responses that - incorporate computation, data analysis, and visualization. - """ - - value: CodeInterpreterResult - -@dataclass -class CodeInterpreterStreamOutputAccessDeniedException(_SerdeShape): - """ - The exception that occurs when you do not have sufficient permissions to - perform an action. Verify that your IAM policy includes the necessary - permissions for the operation you are trying to perform. - """ - - value: AccessDeniedException - -@dataclass -class CodeInterpreterStreamOutputConflictException(_SerdeShape): - """ - The exception that occurs when the request conflicts with the current - state of the resource. This can happen when trying to modify a resource - that is currently being modified by another request, or when trying to - create a resource that already exists. - """ - - value: ConflictException - -@dataclass -class CodeInterpreterStreamOutputInternalServerException(_SerdeShape): - """ - The exception that occurs when the service encounters an unexpected - internal error. This is a temporary condition that will resolve itself - with retries. We recommend implementing exponential backoff retry logic - in your application. - """ - - value: InternalServerException - -@dataclass -class CodeInterpreterStreamOutputResourceNotFoundException(_SerdeShape): - """ - The exception that occurs when the specified resource does not exist. - This can happen when using an invalid identifier or when trying to - access a resource that has been deleted. - """ - - value: ResourceNotFoundException - -@dataclass -class CodeInterpreterStreamOutputServiceQuotaExceededException(_SerdeShape): - """ - The exception that occurs when the request would cause a service quota - to be exceeded. Review your service quotas and either reduce your - request rate or request a quota increase. - """ - - value: ServiceQuotaExceededException - -@dataclass -class CodeInterpreterStreamOutputThrottlingException(_SerdeShape): - """ - The exception that occurs when the request was denied due to request - throttling. This happens when you exceed the allowed request rate for an - operation. Reduce the frequency of requests or implement exponential - backoff retry logic in your application. - """ - - value: ThrottlingException - -@dataclass -class CodeInterpreterStreamOutputValidationException(_SerdeShape): - """ - The exception that occurs when the input fails to satisfy the - constraints specified by the service. Check the error message for - details about which input parameter is invalid and correct your request. - """ - - value: ValidationException - -@dataclass -class CodeInterpreterStreamOutputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CodeInterpreterStreamOutput = Union[ - CodeInterpreterStreamOutputResult - | CodeInterpreterStreamOutputAccessDeniedException - | CodeInterpreterStreamOutputConflictException - | CodeInterpreterStreamOutputInternalServerException - | CodeInterpreterStreamOutputResourceNotFoundException - | CodeInterpreterStreamOutputServiceQuotaExceededException - | CodeInterpreterStreamOutputThrottlingException - | CodeInterpreterStreamOutputValidationException - | CodeInterpreterStreamOutputUnknown -] -"""Contains output from a code interpreter stream.""" - -class _CodeInterpreterStreamOutputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CodeInterpreterStreamOutput: ... - -@dataclass(kw_only=True) -class CoinbaseCdpTokenRequestInput(_SerdeShape): - """Coinbase CDP token request parameters.""" - - request_method: str - """The HTTP method for the payment API request.""" - request_host: str | None = ... - """ - The host for the payment API request. Defaults to - \"api.cdp.coinbase.com\". - """ - request_path: str - """The path of the payment API request.""" - include_wallet_auth_token: bool = ... - """ - Set to true for wallet write operations (requires walletSecret - configured). - """ - request_body: str | None = ... - """Request body JSON --- used to generate wallet auth JWT.""" - -@dataclass(kw_only=True) -class CoinbaseCdpTokenResponseOutput(_SerdeShape): - """Coinbase CDP token response.""" - - bearer_token: str - """Bearer Token for Authorization header.""" - wallet_auth_token: str | None = ... - """Wallet Auth Token for X-Wallet-Auth header.""" - -class CommandExecutionStatus(UnknownEnumMixin, StrEnum): - COMPLETED = "COMPLETED" - TIMED_OUT = "TIMED_OUT" - -@dataclass(kw_only=True) -class CompleteResourceTokenAuthInput(_SerdeShape): - """Dataclass for CompleteResourceTokenAuthInput structure.""" - - user_identifier: UserIdentifier | None = ... - """ - The OAuth2.0 token or user ID that was used to generate the workload - access token used for initiating the user authorization flow to retrieve - OAuth2.0 tokens. - """ - session_uri: str | None = ... - """ - Unique identifier for the user's authentication session for retrieving - OAuth2 tokens. This ID tracks the authorization flow state across - multiple requests and responses during the OAuth2 authentication - process. - """ - -@dataclass(kw_only=True) -class CompleteResourceTokenAuthOutput(_SerdeShape): - """Dataclass for CompleteResourceTokenAuthOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ConfidenceInterval(_SerdeShape): - """A confidence interval for a statistical measurement.""" - - lower: float | None = ... - """The lower bound of the confidence interval.""" - upper: float | None = ... - """The upper bound of the confidence interval.""" - -@dataclass(kw_only=True) -class ConfigurationBundleRef(_SerdeShape): - """A reference to a specific version of a configuration bundle.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle.""" - bundle_version: str - """The version of the configuration bundle.""" - -@dataclass(kw_only=True) -class ConfigurationBundleToolEntry(_SerdeShape): - """Maps a tool name to its JSON path within a configuration bundle.""" - - tool_name: str - """The name of the tool.""" - tool_description_json_path: str - """ - The JSON path within the configuration bundle's components that - contains the tool description. - """ - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """ - The exception that occurs when the request conflicts with the current - state of the resource. This can happen when trying to modify a resource - that is currently being modified by another request, or when trying to - create a resource that already exists. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ContentText(_SerdeShape): - """The text content of the memory item.""" - - value: str - -@dataclass -class ContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Content = Union[ContentText | ContentUnknown] -"""Contains the content of a memory item.""" - -class _ContentDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Content: ... - -@dataclass(kw_only=True) -class ContentBlock(_SerdeShape): - """A block of content in a response.""" - - type: str - """The type of content in the block.""" - text: str | None = ... - """The text content of the block.""" - data: bytes | None = ... - """The binary data content of the block.""" - mime_type: str | None = ... - """The MIME type of the content.""" - uri: str | None = ... - """The URI of the content.""" - name: str | None = ... - """The name of the content block.""" - description: str | None = ... - """The description of the content block.""" - size: int | None = ... - """The size of the content in bytes.""" - resource: ResourceContent | None = ... - """The resource associated with the content block.""" - -class ContentBlockType(UnknownEnumMixin, StrEnum): - TEXT = "text" - IMAGE = "image" - EMBEDDED_RESOURCE = "resource" - RESOURCE_LINK = "resource_link" - -@dataclass(kw_only=True) -class ContentDeltaEvent(_SerdeShape): - """ - An event that contains incremental output from a command execution. This - event streams standard output and standard error content as it becomes - available during command execution. - """ - - stdout: str | None = ... - """ - The standard output content from the command execution. This field - contains the incremental output written to stdout by the executing - command. - """ - stderr: str | None = ... - """ - The standard error content from the command execution. This field - contains the incremental output written to stderr by the executing - command. - """ - -@dataclass -class ContentSourceInline(_SerdeShape): - """The content included directly in the request.""" - - value: InlineMemoryContent - -@dataclass -class ContentSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ContentSource = Union[ContentSourceInline | ContentSourceUnknown] -"""The source of the content to ingest. Only inline content is supported.""" - -class _ContentSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ContentSource: ... - -@dataclass(kw_only=True) -class ContentStartEvent(_SerdeShape): - """ - An event that signals the start of content streaming from a command - execution. This event is sent when the command begins producing output. - """ - -@dataclass(kw_only=True) -class ContentStopEvent(_SerdeShape): - """ - An event that signals the completion of a command execution. This event - contains the final status and exit code of the executed command. - """ - - exit_code: int - """ - The exit code returned by the executed command. An exit code of 0 - indicates successful execution, -1 indicates a platform error, and - values greater than 0 indicate command-specific errors. - """ - status: str - """ - The final status of the command execution. Valid values are `COMPLETED` - for successful completion or `TIMED_OUT` if the command exceeded the - specified timeout. - """ - -@dataclass -class ContextSpanContext(_SerdeShape): - """ - The span context information that uniquely identifies the trace and span - being evaluated, including session ID, trace ID, and span ID for precise - targeting within the agent's execution flow. - """ - - value: SpanContext - -@dataclass -class ContextUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Context = Union[ContextSpanContext | ContextUnknown] -""" -The contextual information associated with an evaluation, including span -context details that identify the specific traces and sessions being -evaluated within the agent's execution flow. -""" - -class _ContextDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Context: ... - -@dataclass(kw_only=True) -class ControlStats(_SerdeShape): - """Statistics for the control variant in an A/B test.""" - - variant_name: str - """The name of the control variant.""" - sample_size: int - """The number of sessions evaluated for the control variant.""" - mean: float - """The mean evaluation score for the control variant.""" - -@dataclass(kw_only=True) -class Conversational(_SerdeShape): - """Contains conversational content for an event payload.""" - - content: Content - """The content of the conversation message.""" - role: str - """ - The role of the participant in the conversation (for example, \"user\" - or \"assistant\"). - """ - -@dataclass(kw_only=True) -class CreateABTestInput(_SerdeShape): - """Dataclass for CreateABTestInput structure.""" - - name: str | None = ... - """The name of the A/B test. Must be unique within your account.""" - description: str | None = ... - """The description of the A/B test.""" - gateway_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the gateway to use for traffic - splitting. - """ - variants: list[Variant] | None = ... - """ - The list of variants for the A/B test. Must contain exactly two - variants: a control (C) and a treatment (T1), each with a configuration - bundle or target reference and a traffic weight. - """ - gateway_filter: GatewayFilter | None = ... - """ - Optional filter to restrict which gateway target paths are included in - the A/B test. - """ - evaluation_config: ABTestEvaluationConfig | None = ... - """ - The evaluation configuration specifying which online evaluation - configurations to use for measuring variant performance. - """ - role_arn: str | None = ... - """ - The IAM role ARN that grants permissions for the A/B test to access - gateway and evaluation resources. - """ - enable_on_create: bool | None = ... - """ - Whether to enable the A/B test immediately upon creation. If true, - traffic splitting begins automatically. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, the service ignores the request, but does not return an error. - """ - tags: dict[str, str] | None = ... - """A map of tag keys and values to associate with the A/B test.""" - -@dataclass(kw_only=True) -class CreateABTestOutput(_SerdeShape): - """Dataclass for CreateABTestOutput structure.""" - - ab_test_id: str - """The unique identifier of the created A/B test.""" - ab_test_arn: str - """The Amazon Resource Name (ARN) of the created A/B test.""" - name: str | None = ... - """The name of the A/B test.""" - status: str - """The status of the A/B test.""" - execution_status: str - """ - The execution status indicating whether the A/B test is currently - running. - """ - created_at: datetime - """The timestamp when the A/B test was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateEventInput(_SerdeShape): - """Dataclass for CreateEventInput structure.""" - - memory_id: str | None = ... - """ - The identifier of the AgentCore Memory resource in which to create the - event. - """ - actor_id: str | None = ... - """ - The identifier of the actor associated with this event. An actor - represents an entity that participates in sessions and generates events. - """ - session_id: str | None = ... - """ - The identifier of the session in which this event occurs. A session - represents a sequence of related events. - """ - event_timestamp: datetime | None = ... - """ - The timestamp when the event occurred. If not specified, the current - time is used. - """ - payload: list[PayloadType] | None = ... - """ - The content payload of the event. This can include conversational data, - JSON data, or binary content. - """ - branch: Branch | None = ... - """ - The branch information for this event. Branches allow for organizing - events into different conversation threads or paths. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, AgentCore ignores the request, but does not return an error. - """ - metadata: dict[str, MetadataValue] | None = ... - """The key-value metadata to attach to the event.""" - extraction_mode: str | None = ... - """ - Controls long-term memory extraction for this event. When set to `SKIP`, - the event is stored in short-term memory but is excluded from long-term - memory extraction. If not specified, the event is processed for - extraction as usual. - """ - extraction_config: ExtractionConfig | None = ... - """ - The extraction configuration for long-term memory records. Use this - parameter to specify namespace variable keys and their values for - namespace substitution during extraction. - """ - -@dataclass(kw_only=True) -class CreateEventOutput(_SerdeShape): - """Dataclass for CreateEventOutput structure.""" - - event: Event - """The event that was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePaymentInstrumentInput(_SerdeShape): - """Request structure for creating a payment instrument.""" - - user_id: str | None = ... - """The user ID associated with this payment instrument.""" - agent_name: str | None = ... - """The agent name associated with this request, used for observability.""" - payment_manager_arn: str | None = ... - """The ARN of the payment manager that owns this payment instrument.""" - payment_connector_id: str | None = ... - """The ID of the payment connector to use for this instrument.""" - payment_instrument_type: str | None = ... - """The type of payment instrument being created.""" - payment_instrument_details: PaymentInstrumentDetails | None = ... - """The details of the payment instrument.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - -@dataclass(kw_only=True) -class CreatePaymentInstrumentOutput(_SerdeShape): - """Response structure for creating a payment instrument.""" - - payment_instrument: PaymentInstrument - """The created payment instrument.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePaymentSessionInput(_SerdeShape): - """Request structure for creating a payment session.""" - - user_id: str | None = ... - """The user ID associated with this payment session.""" - agent_name: str | None = ... - """The agent name associated with this request, used for observability.""" - payment_manager_arn: str | None = ... - """The ARN of the payment manager that owns this session.""" - limits: SessionLimits | None = ... - """The spending limits for this payment session.""" - expiry_time_in_minutes: int | None = ... - """The session expiry time in minutes. Must be between 15 and 480 minutes.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - -@dataclass(kw_only=True) -class CreatePaymentSessionOutput(_SerdeShape): - """Response structure for creating a payment session.""" - - payment_session: PaymentSession - """The created payment session.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CryptoWalletNetwork(UnknownEnumMixin, StrEnum): - """Supported blockchain networks for crypto wallets.""" - - ETHEREUM = "ETHEREUM" - SOLANA = "SOLANA" - -@dataclass(kw_only=True) -class CryptoX402PaymentInput(_SerdeShape): - """The input for a crypto X402 payment.""" - - version: str - """The version of the X402 protocol.""" - payload: Document - """The X402 payment payload.""" - permit2_allowance_limit: str | None = ... - """ - The maximum on-chain Permit2 allowance to grant before signing the - payment authorization, in the asset's smallest denomination. This field - is valid only for the `upto` (metered) scheme; supplying it for the - `exact` scheme returns a validation error. - - When set, the service approves an ERC-20 allowance for this amount - before processing the payment. The approval sets, rather than adds to, - the wallet's allowance. Set this field only when the wallet needs - approving, for example on its first `upto` payment, to avoid a redundant - on-chain transaction. Omit the field to skip allowance handling. This is - the default, and the only behavior for the `exact` scheme. - """ - -@dataclass(kw_only=True) -class CryptoX402PaymentOutput(_SerdeShape): - """The output from a crypto X402 payment.""" - - version: str - """The version of the X402 protocol.""" - payload: Document - """The X402 payment response payload.""" - -class Currency(UnknownEnumMixin, StrEnum): - """Supported currency codes.""" - - USD = "USD" - -@dataclass(kw_only=True) -class CustomDescriptor(_SerdeShape): - """A custom descriptor configuration for a registry record.""" - - inline_content: str | None = ... - """The inline content of the custom descriptor.""" - -@dataclass -class DataSourceConfigCloudWatchLogs(_SerdeShape): - """Configuration for pulling agent session traces from CloudWatch Logs.""" - - value: CloudWatchLogsSource - -@dataclass -class DataSourceConfigOnlineEvaluationConfigSource(_SerdeShape): - """Reference an existing OnlineEvaluationConfig as session source""" - - value: OnlineEvaluationConfigSource - -@dataclass -class DataSourceConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DataSourceConfig = Union[ - DataSourceConfigCloudWatchLogs - | DataSourceConfigOnlineEvaluationConfigSource - | DataSourceConfigUnknown -] -"""Configuration for the data source used in evaluation.""" - -class _DataSourceConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> DataSourceConfig: ... - -@dataclass(kw_only=True) -class DeleteABTestInput(_SerdeShape): - """Dataclass for DeleteABTestInput structure.""" - - ab_test_id: str | None = ... - """The unique identifier of the A/B test to delete.""" - -@dataclass(kw_only=True) -class DeleteABTestOutput(_SerdeShape): - """Dataclass for DeleteABTestOutput structure.""" - - ab_test_id: str - """The unique identifier of the deleted A/B test.""" - ab_test_arn: str - """The Amazon Resource Name (ARN) of the deleted A/B test.""" - status: str - """The status of the A/B test deletion operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBatchEvaluationInput(_SerdeShape): - """Dataclass for DeleteBatchEvaluationInput structure.""" - - batch_evaluation_id: str | None = ... - """The unique identifier of the batch evaluation to delete.""" - -@dataclass(kw_only=True) -class DeleteBatchEvaluationOutput(_SerdeShape): - """Dataclass for DeleteBatchEvaluationOutput structure.""" - - batch_evaluation_id: str - """The unique identifier of the deleted batch evaluation.""" - batch_evaluation_arn: str - """The Amazon Resource Name (ARN) of the deleted batch evaluation.""" - status: str - """The status of the batch evaluation deletion operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCapacityProviderSessionInput(_SerdeShape): - """Dataclass for DeleteCapacityProviderSessionInput structure.""" - - capacity_provider_id: str | None = ... - """ - The unique identifier of the capacity provider associated with the - session. - """ - session_id: str | None = ... - """The unique identifier of the capacity provider session to delete.""" - -@dataclass(kw_only=True) -class DeleteCapacityProviderSessionOutput(_SerdeShape): - """Dataclass for DeleteCapacityProviderSessionOutput structure.""" - - capacity_provider_arn: str - """ - The Amazon Resource Name (ARN) of the capacity provider associated with - the deleted session. - """ - session_id: str - """The unique identifier of the deleted capacity provider session.""" - status: str - """ - The current status of the capacity provider session. When the status is - `Deleting`, the session is being deleted and is not available. When the - status is `Deleted`, the session is no longer available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteEventInput(_SerdeShape): - """Dataclass for DeleteEventInput structure.""" - - memory_id: str | None = ... - """ - The identifier of the AgentCore Memory resource from which to delete the - event. - """ - session_id: str | None = ... - """The identifier of the session containing the event to delete.""" - event_id: str | None = ... - """The identifier of the event to delete.""" - actor_id: str | None = ... - """The identifier of the actor associated with the event to delete.""" - -@dataclass(kw_only=True) -class DeleteEventOutput(_SerdeShape): - """Dataclass for DeleteEventOutput structure.""" - - event_id: str - """The identifier of the event that was deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteMemoryRecordInput(_SerdeShape): - """Dataclass for DeleteMemoryRecordInput structure.""" - - memory_id: str | None = ... - """ - The identifier of the AgentCore Memory resource from which to delete the - memory record. - """ - memory_record_id: str | None = ... - """The identifier of the memory record to delete.""" - namespace: str | None = ... - """ - The namespace of the memory record to delete. This value is used for IAM - condition key authorization. - """ - -@dataclass(kw_only=True) -class DeleteMemoryRecordOutput(_SerdeShape): - """Dataclass for DeleteMemoryRecordOutput structure.""" - - memory_record_id: str - """The identifier of the memory record that was deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePaymentInstrumentInput(_SerdeShape): - """Request structure for deleting a payment instrument.""" - - user_id: str | None = ... - """ - The user ID making the delete request. Must match the instrument's - userId. - """ - payment_manager_arn: str | None = ... - """The payment manager ARN. Must match the instrument's paymentManagerArn.""" - payment_connector_id: str | None = ... - """ - The payment connector ID. Must match the instrument's - paymentConnectorId. - """ - payment_instrument_id: str | None = ... - """The payment instrument ID to delete.""" - -@dataclass(kw_only=True) -class DeletePaymentInstrumentOutput(_SerdeShape): - """Response structure for deleting a payment instrument.""" - - status: str - """ - The status of the instrument after deletion. Always DELETED for - successful soft delete. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePaymentSessionInput(_SerdeShape): - """Request structure for deleting a payment session.""" - - user_id: str | None = ... - """The user ID making the delete request. Must match the session's userId.""" - payment_manager_arn: str | None = ... - """The payment manager ARN. Must match the session's paymentManagerArn.""" - payment_session_id: str | None = ... - """The payment session ID to delete.""" - -@dataclass(kw_only=True) -class DeletePaymentSessionOutput(_SerdeShape): - """Response structure for deleting a payment session.""" - - status: str - """The status of the deletion. Always DELETED for successful hard delete.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRecommendationInput(_SerdeShape): - """Dataclass for DeleteRecommendationInput structure.""" - - recommendation_id: str | None = ... - """The unique identifier of the recommendation to delete.""" - -@dataclass(kw_only=True) -class DeleteRecommendationOutput(_SerdeShape): - """Dataclass for DeleteRecommendationOutput structure.""" - - recommendation_id: str - """The unique identifier of the deleted recommendation.""" - status: str - """The status of the recommendation deletion operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Descriptors(_SerdeShape): - """ - Contains the descriptor configuration for a registry record. Only the - field that matches the record's `descriptorType` is populated. - """ - - mcp: McpDescriptor | None = ... - """ - The MCP (Model Context Protocol) descriptor configuration. Populated - when the record's `descriptorType` is `MCP`. - """ - a2a: A2aDescriptor | None = ... - """ - The A2A (Agent-to-Agent) descriptor configuration. Populated when the - record's `descriptorType` is `A2A`. - """ - custom: CustomDescriptor | None = ... - """ - The custom descriptor configuration. Populated when the record's - `descriptorType` is `CUSTOM`. - """ - agent_skills: AgentSkillsDescriptor | None = ... - """ - The agent skills descriptor configuration. Populated when the record's - `descriptorType` is `AGENT_SKILLS`. - """ - -class DescriptorType(UnknownEnumMixin, StrEnum): - """The type of descriptor associated with a registry record.""" - - MCP = "MCP" - A2_A = "A2A" - CUSTOM = "CUSTOM" - AGENT_SKILLS = "AGENT_SKILLS" - -@dataclass(kw_only=True) -class DomainFilter(_SerdeShape): - """ - The domains to include in or exclude from the results. A root domain - also matches its subdomains. For example, `example.com` also matches - `docs.example.com`. - """ - - include: list[str] | None = ... - """ - The domains to return results from. Results from other domains are not - returned. - """ - exclude: list[str] | None = ... - """The domains to never return results from.""" - -@dataclass(kw_only=True) -class DuplicateIdException(ServiceError, _SerdeShape): - """ - An exception thrown when attempting to create a resource with an - identifier that already exists. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EfsConfiguration(_SerdeShape): - """ - The configuration for mounting an Amazon Elastic File System (Amazon - EFS) access point that you own into a session. - """ - - access_point_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon - EFS) access point to mount. - """ - mount_path: str - """ - The absolute path within the session at which the access point is - mounted, for example `/mnt/efs`. Each mount path must be unique across - all file system configurations in the session. - """ - file_system_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Elastic File System (Amazon - EFS) file system that owns the access point. - """ - -@dataclass(kw_only=True) -class EmbeddedCryptoWallet(_SerdeShape): - """Embedded crypto wallet instrument details.""" - - network: str - """ - The blockchain network for this embedded crypto wallet. Supported - networks: ETHEREUM, SOLANA. - """ - linked_accounts: list[LinkedAccount] - """ - List of linked accounts linked to this wallet. Each represents a way the - end user can authenticate to this wallet. - """ - wallet_address: str | None = ... - """The wallet address on the specified blockchain network.""" - redirect_url: str | None = ... - """ - URL for the end user to complete a provider-specific action such as - wallet linking or onboarding. - """ - -@dataclass(kw_only=True) -class EvaluateInput(_SerdeShape): - """Dataclass for EvaluateInput structure.""" - - evaluator_id: str | None = ... - """ - The unique identifier of the evaluator to use for scoring. Can be a - built-in evaluator (e.g., `Builtin.Helpfulness`, `Builtin.Correctness`) - or a custom evaluator Id created through the control plane API. - """ - evaluation_input: EvaluationInput | None = ... - """ - The input data containing agent session spans to be evaluated. Includes - a list of spans in OpenTelemetry format from supported frameworks like - Strands (AgentCore Runtime) or LangGraph with OpenInference - instrumentation. - """ - evaluation_target: EvaluationTarget | None = ... - """ - The specific trace or span IDs to evaluate within the provided input. - Allows targeting evaluation at different levels: individual tool calls, - single request-response interactions (traces), or entire conversation - sessions. - """ - evaluation_reference_inputs: list[EvaluationReferenceInput] | None = ... - """ - Ground truth data to compare against agent responses during evaluation. - Allows to provide expected responses, assertions, and expected tool - trajectories at different evaluation levels. Session-level reference - inputs apply to the entire conversation, while trace-level reference - inputs target specific request-response interactions identified by trace - ID. - """ - -@dataclass(kw_only=True) -class EvaluateOutput(_SerdeShape): - """Dataclass for EvaluateOutput structure.""" - - evaluation_results: list[EvaluationResultContent] - """ - The detailed evaluation results containing scores, explanations, and - metadata. Includes the evaluator information, numerical or categorical - ratings based on the evaluator's rating scale, and token usage - statistics for the evaluation process. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class EvaluationContentText(_SerdeShape): - """ - The text content of the ground truth data. Used for expected response - text and assertion statements. - """ - - value: str - -@dataclass -class EvaluationContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluationContent = Union[EvaluationContentText | EvaluationContentUnknown] -""" -A content block for ground truth data in evaluation reference inputs. -Supports text content for expected responses and assertions. -""" - -class _EvaluationContentDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationContent: ... - -@dataclass(kw_only=True) -class EvaluationExpectedTrajectory(_SerdeShape): - """The expected tool call trajectory for trajectory-based evaluation.""" - - tool_names: list[str] | None = ... - """The list of tool names representing the expected tool call sequence.""" - -@dataclass -class EvaluationInputSessionSpans(_SerdeShape): - """ - The collection of spans representing agent execution traces within a - session. Each span contains detailed information about tool calls, model - interactions, and other agent activities that can be evaluated for - quality and performance. - """ - - value: list[Document] - -@dataclass -class EvaluationInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluationInput = Union[EvaluationInputSessionSpans | EvaluationInputUnknown] -""" -The input data structure containing agent session spans in OpenTelemetry -format. Supports traces from frameworks like Strands (AgentCore Runtime) -and LangGraph with OpenInference instrumentation for comprehensive -evaluation. -""" - -class _EvaluationInputDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationInput: ... - -@dataclass(kw_only=True) -class EvaluationJobResults(_SerdeShape): - """ - Aggregated results from a batch evaluation, including session completion - counts and evaluator score summaries. - """ - - number_of_sessions_completed: int | None = ... - """The number of sessions that have been successfully evaluated.""" - number_of_sessions_in_progress: int | None = ... - """The number of sessions currently being evaluated.""" - number_of_sessions_failed: int | None = ... - """The number of sessions that failed evaluation.""" - total_number_of_sessions: int | None = ... - """The total number of sessions included in the batch evaluation.""" - number_of_sessions_ignored: int | None = ... - """The number of sessions that were ignored during evaluation.""" - evaluator_summaries: list[EvaluatorSummary] | None = ... - """A list of per-evaluator summary statistics.""" - -@dataclass -class EvaluationMetadataSessionMetadata(_SerdeShape): - """ - A list of session metadata entries containing ground truth data and test - scenario identifiers for specific sessions. - """ - - value: list[SessionMetadataShape] - -@dataclass -class EvaluationMetadataUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluationMetadata = Union[ - EvaluationMetadataSessionMetadata | EvaluationMetadataUnknown -] -""" -Metadata for the evaluation, including session-specific ground truth -data. -""" - -class _EvaluationMetadataDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationMetadata: ... - -@dataclass(kw_only=True) -class EvaluationReferenceInput(_SerdeShape): - """ - A reference input containing ground truth data for evaluation, scoped to - a specific context level (session or trace) through its span context. - """ - - context: Context - """ - The span context that identifies which session or trace this reference - input applies to, used for correlating ground truth with agent output. - """ - expected_response: EvaluationContent | None = ... - """ - The expected response for trace-level evaluation. Built-in evaluators - that support this field compare the agent's actual response against - this value for assessment. Custom evaluators can access it through the - `{expected_response}` placeholder in their instructions. - """ - assertions: list[EvaluationContent] | None = ... - """ - A list of assertion statements for session-level evaluation. Each - assertion describes an expected behavior or outcome the agent should - demonstrate during the session. - """ - expected_trajectory: EvaluationExpectedTrajectory | None = ... - """ - The expected tool call sequence for session-level trajectory evaluation. - Contains a list of tool names representing the tools the agent is - expected to invoke. - """ - -@dataclass(kw_only=True) -class EvaluationResultContent(_SerdeShape): - """ - The comprehensive result of an evaluation containing the score, - explanation, evaluator metadata, and execution details. Provides both - quantitative ratings and qualitative insights about agent performance. - """ - - evaluator_arn: str - """ - The Amazon Resource Name (ARN) of the evaluator used to generate this - result. For custom evaluators, this is the full ARN; for built-in - evaluators, this follows the pattern `Builtin.{EvaluatorName}`. - """ - evaluator_id: str - """ - The unique identifier of the evaluator that produced this result. This - matches the `evaluatorId` provided in the evaluation request and can be - used to identify which evaluator generated specific results. - """ - evaluator_name: str - """ - The human-readable name of the evaluator used for this evaluation. For - built-in evaluators, this is the descriptive name (e.g., - \"Helpfulness\", \"Correctness\"); for custom evaluators, this is the - user-defined name. - """ - evaluation_dimension_name: str | None = ... - """ - The name of the dimension that this result scores. This field is set - only on results produced by an evaluator that uses a multi-dimensional - rating scale, where each dimension is scored independently. For - evaluators with a single rating scale, this field is absent. - """ - explanation: str | None = ... - """ - The detailed explanation provided by the evaluator describing the - reasoning behind the assigned score. This qualitative feedback helps - understand why specific ratings were given and provides actionable - insights for improvement. - """ - context: Context - """ - The contextual information associated with this evaluation result, - including span context details that identify the specific traces and - sessions that were evaluated. - """ - value: float | None = ... - """ - The numerical score assigned by the evaluator according to its - configured rating scale. For numerical scales, this is a decimal value - within the defined range. This field is not allowed for categorical - scales. - """ - label: str | None = ... - """ - The categorical label assigned by the evaluator when using a categorical - rating scale. This provides a human-readable description of the - evaluation result (e.g., \"Excellent\", \"Good\", \"Poor\") - corresponding to the numerical value. For numerical scales, this field - is optional and provides a natural language explanation of what the - value means (e.g., value 0.5 = \"Somewhat Helpful\"). - """ - token_usage: TokenUsage | None = ... - """ - The token consumption statistics for this evaluation, including input - tokens, output tokens, and total tokens used by the underlying language - model during the evaluation process. - """ - error_message: str | None = ... - """ - The error message describing what went wrong if the evaluation failed. - Provides detailed information about evaluation failures to help diagnose - and resolve issues with evaluator configuration or input data. - """ - error_code: str | None = ... - """ - The error code indicating the type of failure that occurred during - evaluation. Used to programmatically identify and handle different - categories of evaluation errors. - """ - ignored_reference_input_fields: list[str] | None = ... - """ - The list of reference input field names that were provided but not used - by the evaluator. Helps identify which ground truth data was not - consumed during evaluation. - """ - -@dataclass -class EvaluationTargetSpanIds(_SerdeShape): - """ - The list of specific span IDs to evaluate within the provided traces. - Used to target evaluation at individual tool calls or specific - operations within the agent's execution flow. - """ - - value: list[str] - -@dataclass -class EvaluationTargetTraceIds(_SerdeShape): - """ - The list of trace IDs to evaluate, representing complete - request-response interactions. Used to evaluate entire conversation - turns or specific agent interactions within a session. - """ - - value: list[str] - -@dataclass -class EvaluationTargetUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluationTarget = Union[ - EvaluationTargetSpanIds | EvaluationTargetTraceIds | EvaluationTargetUnknown -] -""" -The specification of which trace or span IDs to evaluate within the -provided input data. Allows precise targeting of evaluation at different -levels: tool calls, traces, or sessions. -""" - -class _EvaluationTargetDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationTarget: ... - -@dataclass(kw_only=True) -class Evaluator(_SerdeShape): - """An evaluator to run against sessions during batch evaluation.""" - - evaluator_id: str - """ - The unique identifier of the evaluator. Can reference built-in - evaluators (e.g., `Builtin.Helpfulness`) or custom evaluators. - """ - -@dataclass(kw_only=True) -class EvaluatorMetric(_SerdeShape): - """ - Statistical metrics for a single evaluator comparing control and - treatment variants. - """ - - evaluator_arn: str - """The Amazon Resource Name (ARN) of the evaluator.""" - control_stats: ControlStats - """The statistics for the control variant.""" - variant_results: list[VariantResult] - """The results for each treatment variant compared against the control.""" - -@dataclass(kw_only=True) -class EvaluatorStatistics(_SerdeShape): - """Aggregated statistics for an evaluator.""" - - average_score: float | None = ... - """The average score across all evaluated sessions for this evaluator.""" - -@dataclass(kw_only=True) -class EvaluatorSummary(_SerdeShape): - """Summary statistics for a single evaluator within a batch evaluation.""" - - evaluator_id: str | None = ... - """The unique identifier of the evaluator.""" - evaluation_dimension_name: str | None = ... - """ - The name of the dimension that this summary covers. This field is set - only for evaluators that use a multi-dimensional rating scale, where - each dimension is summarized separately. For single-scale evaluators, - this field is not set. - """ - statistics: EvaluatorStatistics | None = ... - """The aggregated statistics for this evaluator.""" - total_evaluated: int | None = ... - """The total number of sessions evaluated by this evaluator.""" - total_failed: int | None = ... - """The total number of sessions that failed evaluation by this evaluator.""" - -@dataclass(kw_only=True) -class Event(_SerdeShape): - """Contains information about an event in an AgentCore Memory resource.""" - - memory_id: str - """The identifier of the AgentCore Memory resource containing the event.""" - actor_id: str - """The identifier of the actor associated with the event.""" - session_id: str - """The identifier of the session containing the event.""" - event_id: str - """The unique identifier of the event.""" - event_timestamp: datetime - """The timestamp when the event occurred.""" - payload: list[PayloadType] - """The content payload of the event.""" - branch: Branch | None = ... - """The branch information for the event.""" - metadata: dict[str, MetadataValue] | None = ... - """Metadata associated with an event.""" - -class EventFilterCondition(UnknownEnumMixin, StrEnum): - """The condition to use for filtering sessions by events.""" - - HAS_EVENTS = "HAS_EVENTS" - -@dataclass(kw_only=True) -class EventMetadataFilterExpression(_SerdeShape): - """ - Filter expression for retrieving events based on metadata associated - with an event. - """ - - left: LeftExpression - """Left operand of the event metadata filter expression.""" - operator: str - """Operator applied to the event metadata filter expression.""" - right: RightExpression | None = ... - """Right operand of the event metadata filter expression.""" - -@dataclass(kw_only=True) -class ExecutionSummaryAffectedSession(_SerdeShape): - """A session associated with an execution summary cluster.""" - - session_id: str - """The unique identifier of the session.""" - approach_taken: str - """The approach taken by the agent during this session.""" - final_outcome: str - """The final outcome of the session.""" - -@dataclass(kw_only=True) -class ExecutionSummaryCluster(_SerdeShape): - """A cluster of similar execution patterns identified across sessions.""" - - cluster_id: int - """The unique identifier of the execution summary cluster.""" - name: str - """The name of the execution pattern cluster.""" - description: str - """A description of the execution pattern.""" - affected_session_count: int - """The number of sessions with this execution pattern.""" - affected_sessions: list[ExecutionSummaryAffectedSession] - """The list of sessions with this execution pattern.""" - -@dataclass(kw_only=True) -class ExecutionSummaryClusteringResultContent(_SerdeShape): - """ - The execution summary clustering result containing grouped execution - patterns identified across evaluated sessions. - """ - - execution_summaries: list[ExecutionSummaryCluster] - """ - The list of execution summary clusters identified across analyzed - sessions. - """ - -@dataclass(kw_only=True) -class ExternalProxy(_SerdeShape): - """ - Configuration for a customer-managed external proxy server. Includes - server location, optional domain-based routing patterns, and - authentication credentials. - """ - - server: str - """ - The hostname of the proxy server. Must be a valid DNS hostname (maximum - 253 characters). - """ - port: int - """The port number of the proxy server. Valid range: 1-65535.""" - domain_patterns: list[str] | None = ... - """ - Optional array of domain patterns that should route through this - specific proxy. Supports `.example.com` for subdomain matching (matches - any subdomain of example.com) or `example.com` for exact domain - matching. If omitted, this proxy acts as a catch-all for domains not - matched by other proxies. Maximum 100 patterns per proxy, each up to 253 - characters. - """ - credentials: ProxyCredentials | None = ... - """ - Optional authentication credentials for the proxy server. If omitted, - the proxy is accessed without authentication (useful for IP-allowlisted - proxies). - """ - -@dataclass(kw_only=True) -class ExtractionConfig(_SerdeShape): - """ - The configuration for extraction behavior. Use this structure to specify - namespace variable keys and their values for namespace substitution - during long-term memory extraction. - """ - - namespace_variables: dict[str, str] | None = ... - """ - A map of `namespaceKeys` to their values. The service substitutes these - values into `namespaceTemplates` during long-term memory extraction to - control namespace hierarchy. - """ - -@dataclass(kw_only=True) -class ExtractionJob(_SerdeShape): - """ - Represents the metadata of a memory extraction job such as the message - identifiers that compose this job. - """ - - job_id: str - """The unique identifier of the extraction job.""" - -@dataclass(kw_only=True) -class ExtractionJobFilterInput(_SerdeShape): - """Filters for querying memory extraction jobs based on various criteria.""" - - strategy_id: str | None = ... - """ - The memory strategy identifier to filter extraction jobs by. If - specified, only extraction jobs with this strategy ID are returned. - """ - session_id: str | None = ... - """ - The unique identifier of the session. If specified, only extraction jobs - with this session ID are returned. - """ - actor_id: str | None = ... - """ - The identifier of the actor. If specified, only extraction jobs with - this actor ID are returned. - """ - status: str | None = ... - """ - The status of the extraction job. If specified, only extraction jobs - with this status are returned. - """ - -@dataclass -class ExtractionJobMessagesMessagesList(_SerdeShape): - """The list of messages that compose this extraction job.""" - - value: list[MessageMetadata] - -@dataclass -class ExtractionJobMessagesUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ExtractionJobMessages = Union[ - ExtractionJobMessagesMessagesList | ExtractionJobMessagesUnknown -] -"""The list of messages that compose this extraction job.""" - -class _ExtractionJobMessagesDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ExtractionJobMessages: ... - -@dataclass(kw_only=True) -class ExtractionJobMetadata(_SerdeShape): - """Metadata information associated with this extraction job.""" - - job_id: str - """The unique identifier for the extraction job.""" - messages: ExtractionJobMessages - """The messages associated with the extraction job.""" - status: str | None = ... - """The current status of the extraction job.""" - failure_reason: str | None = ... - """The cause of failure, if the job did not complete successfully.""" - strategy_id: str | None = ... - """The identifier of the memory strategy for this extraction job.""" - session_id: str | None = ... - """The identifier of the session for this extraction job.""" - actor_id: str | None = ... - """The identifier of the actor for this extraction job.""" - -class ExtractionJobStatus(UnknownEnumMixin, StrEnum): - FAILED = "FAILED" - -class ExtractionMode(UnknownEnumMixin, StrEnum): - SKIP = "SKIP" - -@dataclass(kw_only=True) -class FailureAnalysisResultContent(_SerdeShape): - """ - The failure analysis clustering result containing categorized failure - clusters with root causes and remediation recommendations. - """ - - failures: list[FailureCategoryCluster] - """ - The list of failure category clusters identified across analyzed - sessions. - """ - -@dataclass(kw_only=True) -class FailureCategoryCluster(_SerdeShape): - """ - A top-level failure category identified by clustering similar failure - patterns across sessions. - """ - - cluster_id: int - """The unique identifier of the failure category cluster.""" - name: str - """The name of the failure category.""" - description: str - """A description of the failure category pattern.""" - affected_session_count: int - """The number of sessions affected by this failure category.""" - sub_categories: list[FailureSubCategoryCluster] - """The list of failure subcategories within this category.""" - -@dataclass(kw_only=True) -class FailureSpanDetail(_SerdeShape): - """Details about a specific span where a failure was detected.""" - - span_id: str - """The unique identifier of the span where the failure occurred.""" - trace_id: str - """The trace identifier associated with the failure span.""" - signals: list[InsightsFailureSignal] - """The failure signals detected in this span.""" - -@dataclass(kw_only=True) -class FailureSubCategoryCluster(_SerdeShape): - """A subcategory of failures within a top-level failure category.""" - - cluster_id: int - """The unique identifier of the failure subcategory cluster.""" - name: str - """The name of the failure subcategory.""" - description: str - """A description of the failure subcategory pattern.""" - affected_session_count: int - """The number of sessions affected by this failure subcategory.""" - root_causes: list[RootCauseCluster] - """The list of root cause clusters identified within this subcategory.""" - -@dataclass(kw_only=True) -class FilterInput(_SerdeShape): - """Contains filter criteria for listing events.""" - - branch: BranchFilter | None = ... - """The branch filter criteria to apply when listing events.""" - event_metadata: list[EventMetadataFilterExpression] | None = ... - """Event metadata filter criteria to apply when retrieving events.""" - -@dataclass -class FilterValueStringValue(_SerdeShape): - """A string value for text-based filtering.""" - - value: str - -@dataclass -class FilterValueDoubleValue(_SerdeShape): - """A numeric value for numerical filtering and comparisons.""" - - value: float - -@dataclass -class FilterValueBooleanValue(_SerdeShape): - """A boolean value for true/false filtering conditions.""" - - value: bool - -@dataclass -class FilterValueUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -FilterValue = Union[ - FilterValueStringValue - | FilterValueDoubleValue - | FilterValueBooleanValue - | FilterValueUnknown -] -"""A value used in filter comparisons, supporting different data types.""" - -class _FilterValueDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> FilterValue: ... - -class FindingTargetType(UnknownEnumMixin, StrEnum): - """ - The type of location in a session that a finding points to: a span ID, a - trace ID, or a span name. - """ - - SPAN_ID = "SPAN_ID" - TRACE_ID = "TRACE_ID" - SPAN_NAME = "SPAN_NAME" - -@dataclass(kw_only=True) -class GatewayFilter(_SerdeShape): - """ - A filter to restrict which gateway target paths are included in the A/B - test. - """ - - target_paths: list[str] | None = ... - """A list of target path patterns to include in the A/B test.""" - -@dataclass(kw_only=True) -class GetABTestInput(_SerdeShape): - """Dataclass for GetABTestInput structure.""" - - ab_test_id: str | None = ... - """The unique identifier of the A/B test to retrieve.""" - -@dataclass(kw_only=True) -class GetABTestOutput(_SerdeShape): - """Dataclass for GetABTestOutput structure.""" - - ab_test_id: str - """The unique identifier of the A/B test.""" - ab_test_arn: str - """The Amazon Resource Name (ARN) of the A/B test.""" - name: str - """The name of the A/B test.""" - description: str | None = ... - """The description of the A/B test.""" - status: str - """The current status of the A/B test.""" - execution_status: str - """ - The execution status indicating whether the A/B test is currently - running. - """ - gateway_arn: str - """ - The Amazon Resource Name (ARN) of the gateway used for traffic - splitting. - """ - variants: list[Variant] - """The list of variants in the A/B test.""" - gateway_filter: GatewayFilter | None = ... - """The gateway filter restricting which target paths are included.""" - evaluation_config: ABTestEvaluationConfig - """The evaluation configuration for measuring variant performance.""" - role_arn: str | None = ... - """The IAM role ARN used by the A/B test.""" - current_run_id: str | None = ... - """The identifier of the current run of the A/B test.""" - error_details: list[str] | None = ... - """The error details if the A/B test encountered failures.""" - started_at: datetime | None = ... - """The timestamp when the A/B test was started.""" - stopped_at: datetime | None = ... - """The timestamp when the A/B test was stopped.""" - max_duration_expires_at: datetime | None = ... - """The timestamp when the A/B test will automatically expire.""" - created_at: datetime - """The timestamp when the A/B test was created.""" - updated_at: datetime - """The timestamp when the A/B test was last updated.""" - results: ABTestResults | None = ... - """ - The statistical results of the A/B test, including per-evaluator metrics - and significance analysis. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAgentCardInput(_SerdeShape): - """Dataclass for GetAgentCardInput structure.""" - - runtime_session_id: str | None = ... - """The session ID that the AgentCore Runtime agent is using.""" - agent_runtime_arn: str | None = ... - """ - The ARN of the AgentCore Runtime agent for which you want to get the A2A - agent card. - """ - qualifier: str | None = ... - """ - Optional qualifier to specify an agent alias, such as `prod`code> or - `dev`. If you don't provide a value, the DEFAULT alias is used. - """ - -@dataclass(kw_only=True) -class GetAgentCardOutput(_SerdeShape): - """Dataclass for GetAgentCardOutput structure.""" - - runtime_session_id: str | None = ... - """The ID of the session associated with the AgentCore Runtime agent.""" - agent_card: Document - """ - An agent card document that contains metadata and capabilities for an - AgentCore Runtime agent. - """ - status_code: int | None = ... - """The status code of the request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBatchEvaluationInput(_SerdeShape): - """Dataclass for GetBatchEvaluationInput structure.""" - - batch_evaluation_id: str | None = ... - """The unique identifier of the batch evaluation to retrieve.""" - -@dataclass(kw_only=True) -class GetBatchEvaluationOutput(_SerdeShape): - """Dataclass for GetBatchEvaluationOutput structure.""" - - batch_evaluation_id: str - """The unique identifier of the batch evaluation.""" - batch_evaluation_arn: str - """The Amazon Resource Name (ARN) of the batch evaluation.""" - batch_evaluation_name: str - """The name of the batch evaluation.""" - status: str - """The current status of the batch evaluation.""" - created_at: datetime - """The timestamp when the batch evaluation was created.""" - evaluators: list[Evaluator] | None = ... - """The list of evaluators applied during the batch evaluation.""" - insights: list[Insight] | None = ... - """The list of insight analyses applied during the batch evaluation.""" - data_source_config: DataSourceConfig | None = ... - """ - The data source configuration specifying where agent traces are pulled - from. - """ - output_config: OutputConfig | None = ... - """ - The output configuration specifying where evaluation results are - written. - """ - evaluation_results: EvaluationJobResults | None = ... - """ - The aggregated evaluation results, including session completion counts - and evaluator score summaries. - """ - insight_results: list[InsightResult] | None = ... - """ - The insights generated when the batch evaluation includes the - `Builtin.FailureAnalysis` evaluator. Each insight groups related - failures found across the evaluated sessions. An empty list means that - no failures were found. If the analysis fails, this field is omitted and - `errorDetails` describes the error. - """ - failure_analysis_result: FailureAnalysisResultContent | None = ... - """ - The failure analysis results from insights, containing categorized - failure clusters with root causes and recommendations. - """ - user_intent_result: UserIntentClusteringResultContent | None = ... - """ - The user intent clustering results from insights, containing grouped - user intents across evaluated sessions. - """ - execution_summary_result: ExecutionSummaryClusteringResultContent | None = ... - """ - The execution summary clustering results from insights, containing - grouped execution patterns across evaluated sessions. - """ - error_details: list[str] | None = ... - """The error details if the batch evaluation encountered failures.""" - description: str | None = ... - """The description of the batch evaluation.""" - updated_at: datetime | None = ... - """The timestamp when the batch evaluation was last updated.""" - kms_key_arn: str | None = ... - """The ARN of the KMS key used to encrypt evaluation data.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBrowserSessionInput(_SerdeShape): - """Dataclass for GetBrowserSessionInput structure.""" - - browser_identifier: str | None = ... - """The unique identifier of the browser associated with the session.""" - session_id: str | None = ... - """The unique identifier of the browser session to retrieve.""" - -@dataclass(kw_only=True) -class GetBrowserSessionOutput(_SerdeShape): - """Dataclass for GetBrowserSessionOutput structure.""" - - browser_identifier: str - """The identifier of the browser.""" - session_id: str - """The identifier of the browser session.""" - name: str | None = ... - """The name of the browser session.""" - created_at: datetime - """The time at which the browser session was created.""" - view_port: ViewPort | None = ... - """ - The configuration that defines the dimensions of a browser viewport in a - browser session. The viewport determines the visible area of web content - and affects how web pages are rendered and displayed. Proper viewport - configuration ensures that web content is displayed correctly for the - agent's browsing tasks. - """ - extensions: list[BrowserExtension] | None = ... - """ - The list of browser extensions that are configured in the browser - session. - """ - enterprise_policies: list[BrowserEnterprisePolicy] | None = ... - """A list of files containing enterprise policies for the browser session.""" - profile_configuration: BrowserProfileConfiguration | None = ... - """ - The browser profile configuration associated with this session. Contains - the profile identifier that links to persistent browser data such as - cookies and local storage. - """ - session_timeout_seconds: int | None = ... - """The timeout period for the browser session in seconds.""" - status: str | None = ... - """ - The current status of the browser session. Possible values include - ACTIVE, STOPPING, and STOPPED. - """ - streams: BrowserSessionStream | None = ... - """ - The streams associated with this browser session. These include the - automation stream and live view stream. - """ - proxy_configuration: ProxyConfiguration | None = ... - """ - The active proxy configuration for this browser session. This field is - only present if proxy configuration was provided when the session was - started using `StartBrowserSession`. The configuration includes proxy - servers, domain bypass rules and the proxy authentication credentials. - """ - certificates: list[Certificate] | None = ... - """The list of certificates installed in the browser session.""" - filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... - """ - The file system configurations for the browser session. Each entry - describes an access point and its mount path. - """ - session_replay_artifact: str | None = ... - """The artifact containing the session replay information.""" - last_updated_at: datetime | None = ... - """The time at which the browser session was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCodeInterpreterSessionInput(_SerdeShape): - """Dataclass for GetCodeInterpreterSessionInput structure.""" - - code_interpreter_identifier: str | None = ... - """ - The unique identifier of the code interpreter associated with the - session. - """ - session_id: str | None = ... - """The unique identifier of the code interpreter session to retrieve.""" - -@dataclass(kw_only=True) -class GetCodeInterpreterSessionOutput(_SerdeShape): - """Dataclass for GetCodeInterpreterSessionOutput structure.""" - - code_interpreter_identifier: str - """The identifier of the code interpreter.""" - session_id: str - """The identifier of the code interpreter session.""" - name: str | None = ... - """The name of the code interpreter session.""" - created_at: datetime - """The time at which the code interpreter session was created.""" - session_timeout_seconds: int | None = ... - """The timeout period for the code interpreter session in seconds.""" - status: str | None = ... - """ - The current status of the code interpreter session. Possible values - include ACTIVE, STOPPING, and STOPPED. - """ - certificates: list[Certificate] | None = ... - """The list of certificates installed in the code interpreter session.""" - filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... - """ - The file system configurations for the code interpreter session. Each - entry describes an access point and its mount path. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEventInput(_SerdeShape): - """Dataclass for GetEventInput structure.""" - - memory_id: str | None = ... - """The identifier of the AgentCore Memory resource containing the event.""" - session_id: str | None = ... - """The identifier of the session containing the event.""" - actor_id: str | None = ... - """The identifier of the actor associated with the event.""" - event_id: str | None = ... - """The identifier of the event to retrieve.""" - -@dataclass(kw_only=True) -class GetEventOutput(_SerdeShape): - """Dataclass for GetEventOutput structure.""" - - event: Event - """The requested event information.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMemoryRecordInput(_SerdeShape): - """Dataclass for GetMemoryRecordInput structure.""" - - memory_id: str | None = ... - """ - The identifier of the AgentCore Memory resource containing the memory - record. - """ - memory_record_id: str | None = ... - """The identifier of the memory record to retrieve.""" - namespace: str | None = ... - """ - The namespace of the memory record to retrieve. This value is used for - IAM condition key authorization. - """ - -@dataclass(kw_only=True) -class GetMemoryRecordOutput(_SerdeShape): - """Dataclass for GetMemoryRecordOutput structure.""" - - memory_record: MemoryRecord - """The requested memory record.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPaymentInstrumentBalanceInput(_SerdeShape): - """Request structure for getting payment instrument balance.""" - - user_id: str | None = ... - """The user ID associated with this payment instrument.""" - agent_name: str | None = ... - """The agent name associated with this request, used for observability.""" - payment_manager_arn: str | None = ... - """The ARN of the payment manager that owns this payment instrument.""" - payment_connector_id: str | None = ... - """The ID of the payment connector associated with this instrument.""" - payment_instrument_id: str | None = ... - """The ID of the payment instrument to query balance for.""" - chain: str | None = ... - """ - The specific blockchain chain to query balance on. Required because - balances are chain-specific. - """ - token: str | None = ... - """ - The token to query balance for. Only tokens supported for X402 payments - are returned. - """ - -@dataclass(kw_only=True) -class GetPaymentInstrumentBalanceOutput(_SerdeShape): - """Response structure for getting payment instrument balance.""" - - payment_instrument_id: str - """The ID of the payment instrument.""" - token_balance: TokenBalance - """The balance of the supported token on the requested chain.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPaymentInstrumentInput(_SerdeShape): - """Request structure for getting a payment instrument.""" - - user_id: str | None = ... - """The user ID associated with this payment instrument.""" - agent_name: str | None = ... - """The agent name associated with this request, used for observability.""" - payment_manager_arn: str | None = ... - """The ARN of the payment manager that owns this payment instrument.""" - payment_connector_id: str | None = ... - """The ID of the payment connector.""" - payment_instrument_id: str | None = ... - """The ID of the payment instrument to retrieve.""" - -@dataclass(kw_only=True) -class GetPaymentInstrumentOutput(_SerdeShape): - """Response structure for getting a payment instrument.""" - - payment_instrument: PaymentInstrument - """The payment instrument details.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPaymentSessionInput(_SerdeShape): - """Request structure for getting a payment session.""" - - user_id: str | None = ... - """The user ID associated with this payment session.""" - agent_name: str | None = ... - """The agent name associated with this request, used for observability.""" - payment_manager_arn: str | None = ... - """The ARN of the payment manager that owns this session.""" - payment_session_id: str | None = ... - """The ID of the payment session to retrieve.""" - -@dataclass(kw_only=True) -class GetPaymentSessionOutput(_SerdeShape): - """Response structure for getting a payment session.""" - - payment_session: PaymentSession - """The payment session details.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRecommendationInput(_SerdeShape): - """Dataclass for GetRecommendationInput structure.""" - - recommendation_id: str | None = ... - """The unique identifier of the recommendation to retrieve.""" - -@dataclass(kw_only=True) -class GetRecommendationOutput(_SerdeShape): - """Dataclass for GetRecommendationOutput structure.""" - - recommendation_id: str - """The unique identifier of the recommendation.""" - recommendation_arn: str - """The Amazon Resource Name (ARN) of the recommendation.""" - name: str - """The name of the recommendation.""" - description: str | None = ... - """The description of the recommendation.""" - type: str - """The type of recommendation.""" - recommendation_config: RecommendationConfig - """The configuration for the recommendation.""" - status: str - """The current status of the recommendation.""" - created_at: datetime - """The timestamp when the recommendation was created.""" - updated_at: datetime - """The timestamp when the recommendation was last updated.""" - recommendation_result: RecommendationResult | None = ... - """ - The result of the recommendation, containing the optimized system prompt - or tool descriptions. Only present when the recommendation status is - `COMPLETED`. - """ - kms_key_arn: str | None = ... - """The ARN of the KMS key used to encrypt recommendation data.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourceApiKeyInput(_SerdeShape): - """Dataclass for GetResourceApiKeyInput structure.""" - - workload_identity_token: str | None = ... - """ - The identity token of the workload from which you want to retrieve the - API key. - """ - resource_credential_provider_name: str | None = ... - """ - The credential provider name for the resource from which you are - retrieving the API key. - """ - -@dataclass(kw_only=True) -class GetResourceApiKeyOutput(_SerdeShape): - """Dataclass for GetResourceApiKeyOutput structure.""" - - api_key: str - """The API key associated with the resource requested.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourceOauth2TokenInput(_SerdeShape): - """Dataclass for GetResourceOauth2TokenInput structure.""" - - workload_identity_token: str | None = ... - """ - The identity token of the workload from which you want to retrieve the - OAuth2 token. - """ - resource_credential_provider_name: str | None = ... - """The name of the resource's credential provider.""" - scopes: list[str] | None = ... - """The OAuth scopes being requested.""" - oauth2_flow: str | None = ... - """The type of flow to be performed.""" - session_uri: str | None = ... - """ - Unique identifier for the user's authentication session for retrieving - OAuth2 tokens. This ID tracks the authorization flow state across - multiple requests and responses during the OAuth2 authentication - process. - """ - resource_oauth2_return_url: str | None = ... - """ - The callback URL to redirect to after the OAuth 2.0 token retrieval is - complete. This URL must be one of the provided URLs configured for the - workload identity. - """ - force_authentication: bool | None = ... - """ - Indicates whether to always initiate a new three-legged OAuth (3LO) - flow, regardless of any existing session. - """ - custom_parameters: dict[str, str] | None = ... - """ - A map of custom parameters to include in the authorization request to - the resource credential provider. These parameters are in addition to - the standard OAuth 2.0 flow parameters, and will not override them. - """ - custom_state: str | None = ... - """ - An opaque string that will be sent back to the callback URL provided in - resourceOauth2ReturnUrl. This state should be used to protect the - callback URL of your application against CSRF attacks by ensuring the - response corresponds to the original request. - """ - resources: list[str] | None = ... - """ - The resources to include in the token request. These are used to specify - the target resources for which the OAuth2 token is being requested. - """ - audiences: list[str] | None = ... - """ - The audiences to include in the token request. These are used to specify - the intended recipients of the OAuth2 token. - """ - -@dataclass(kw_only=True) -class GetResourceOauth2TokenOutput(_SerdeShape): - """Dataclass for GetResourceOauth2TokenOutput structure.""" - - authorization_url: str | None = ... - """ - The URL to initiate the authorization process, provided when the access - token requires user authorization. - """ - access_token: str | None = ... - """The OAuth 2.0 access token to use.""" - session_uri: str | None = ... - """ - Unique identifier for the user's authorization session for retrieving - OAuth2 tokens. This matches the sessionId from the request and can be - used to track the session state. - """ - session_status: str | None = ... - """ - Status indicating whether the user's authorization session is in - progress or has failed. This helps determine the next steps in the - OAuth2 authentication flow. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourcePaymentTokenInput(_SerdeShape): - """Dataclass for GetResourcePaymentTokenInput structure.""" - - workload_identity_token: str | None = ... - """Workload access token for authorization.""" - resource_credential_provider_name: str | None = ... - """Name of the payment credential provider to use.""" - payment_token_request: PaymentTokenRequestInput | None = ... - """ - Vendor-specific token request input. Contains all request parameters in - a type-safe, vendor-specific structure. - """ - -@dataclass(kw_only=True) -class GetResourcePaymentTokenOutput(_SerdeShape): - """Dataclass for GetResourcePaymentTokenOutput structure.""" - - payment_token_response: PaymentTokenResponseOutput - """ - Vendor-specific token response output. Contains all response data in a - type-safe, vendor-specific structure. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetWorkloadAccessTokenForJWTInput(_SerdeShape): - """Dataclass for GetWorkloadAccessTokenForJWTInput structure.""" - - workload_name: str | None = ... - """The unique identifier for the registered workload.""" - user_token: str | None = ... - """The OAuth 2.0 token issued by the user's identity provider.""" - -@dataclass(kw_only=True) -class GetWorkloadAccessTokenForJWTOutput(_SerdeShape): - """Dataclass for GetWorkloadAccessTokenForJWTOutput structure.""" - - workload_access_token: str - """ - An opaque token representing the identity of both the workload and the - user. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetWorkloadAccessTokenForUserIdInput(_SerdeShape): - """Dataclass for GetWorkloadAccessTokenForUserIdInput structure.""" - - workload_name: str | None = ... - """ - The name of the workload from which you want to retrieve the access - token. - """ - user_id: str | None = ... - """The ID of the user for whom you are retrieving the access token.""" - -@dataclass(kw_only=True) -class GetWorkloadAccessTokenForUserIdOutput(_SerdeShape): - """Dataclass for GetWorkloadAccessTokenForUserIdOutput structure.""" - - workload_access_token: str - """The access token for the specified workload.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetWorkloadAccessTokenInput(_SerdeShape): - """Dataclass for GetWorkloadAccessTokenInput structure.""" - - workload_name: str | None = ... - """The unique identifier for the registered workload.""" - -@dataclass(kw_only=True) -class GetWorkloadAccessTokenOutput(_SerdeShape): - """Dataclass for GetWorkloadAccessTokenOutput structure.""" - - workload_access_token: str - """ - An opaque token representing the identity of both the workload and the - user. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class GroundTruthSourceInline(_SerdeShape): - """Inline ground truth data provided directly in the request.""" - - value: InlineGroundTruth - -@dataclass -class GroundTruthSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -GroundTruthSource = Union[GroundTruthSourceInline | GroundTruthSourceUnknown] -"""Where to pull ground truth from.""" - -class _GroundTruthSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> GroundTruthSource: ... - -@dataclass(kw_only=True) -class GroundTruthTurn(_SerdeShape): - """Ground truth data for a single conversation turn.""" - - input: GroundTruthTurnInput | None = ... - """The input for this conversation turn.""" - expected_response: EvaluationContent | None = ... - """The expected response for this conversation turn.""" - -@dataclass -class GroundTruthTurnInputPrompt(_SerdeShape): - """The text prompt for this conversation turn.""" - - value: str - -@dataclass -class GroundTruthTurnInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -GroundTruthTurnInput = Union[GroundTruthTurnInputPrompt | GroundTruthTurnInputUnknown] -"""The input for a ground truth conversation turn.""" - -class _GroundTruthTurnInputDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> GroundTruthTurnInput: ... - -@dataclass(kw_only=True) -class HarnessAgentCoreBrowserConfig(_SerdeShape): - """Configuration for AgentCore Browser.""" - - browser_arn: str | None = ... - """If not populated, the built-in Browser ARN is used.""" - -@dataclass(kw_only=True) -class HarnessAgentCoreCodeInterpreterConfig(_SerdeShape): - """Configuration for AgentCore Code Interpreter.""" - - code_interpreter_arn: str | None = ... - """If not populated, the built-in Code Interpreter ARN is used.""" - -@dataclass(kw_only=True) -class HarnessAgentCoreGatewayConfig(_SerdeShape): - """Configuration for AgentCore Gateway.""" - - gateway_arn: str - """The ARN of the desired AgentCore Gateway.""" - outbound_auth: HarnessGatewayOutboundAuth | None = ... - """ - How harness authenticates to this Gateway. Defaults to AWS_IAM (SigV4) - if omitted. - """ - -class HarnessBedrockApiFormat(UnknownEnumMixin, StrEnum): - CONVERSE_STREAM = "converse_stream" - """Use the Bedrock Converse Stream API format.""" - RESPONSES = "responses" - """Use the Responses API format.""" - CHAT_COMPLETIONS = "chat_completions" - """Use the Chat Completions API format.""" - -@dataclass(kw_only=True) -class HarnessBedrockModelConfig(_SerdeShape): - """Configuration for an Amazon Bedrock model provider.""" - - model_id: str - """The Bedrock model ID.""" - max_tokens: int | None = ... - """ - The maximum number of tokens to allow in the generated response per - iteration. - """ - temperature: float | None = ... - """The temperature to set when calling the model.""" - top_p: float | None = ... - """The topP set when calling the model.""" - api_format: str | None = ... - """The API format to use when calling the Bedrock provider.""" - additional_params: Document | None = ... - """ - Provider-specific parameters passed through to the model provider - unchanged. - """ - -@dataclass -class HarnessContentBlockText(_SerdeShape): - """Text content.""" - - value: str - -@dataclass -class HarnessContentBlockToolUse(_SerdeShape): - """A tool use request from the model.""" - - value: HarnessToolUseBlock - -@dataclass -class HarnessContentBlockToolResult(_SerdeShape): - """A tool execution result.""" - - value: HarnessToolResultBlock - -@dataclass -class HarnessContentBlockReasoningContent(_SerdeShape): - """Model reasoning content.""" - - value: HarnessReasoningContentBlock - -@dataclass -class HarnessContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessContentBlock = Union[ - HarnessContentBlockText - | HarnessContentBlockToolUse - | HarnessContentBlockToolResult - | HarnessContentBlockReasoningContent - | HarnessContentBlockUnknown -] -"""A content block within a message.""" - -class _HarnessContentBlockDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> HarnessContentBlock: ... - -@dataclass -class HarnessContentBlockDeltaText(_SerdeShape): - """A text delta.""" - - value: str - -@dataclass -class HarnessContentBlockDeltaToolUse(_SerdeShape): - """A tool use input delta.""" - - value: HarnessToolUseBlockDelta - -@dataclass -class HarnessContentBlockDeltaToolResult(_SerdeShape): - """A tool result delta.""" - - value: list[HarnessToolResultBlockDelta] - -@dataclass -class HarnessContentBlockDeltaReasoningContent(_SerdeShape): - """A reasoning content delta.""" - - value: HarnessReasoningContentBlockDelta - -@dataclass -class HarnessContentBlockDeltaToolResultMetadata(_SerdeShape): - """A tool result metadata delta.""" - - value: HarnessToolResultMetadataBlockDelta - -@dataclass -class HarnessContentBlockDeltaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessContentBlockDelta = Union[ - HarnessContentBlockDeltaText - | HarnessContentBlockDeltaToolUse - | HarnessContentBlockDeltaToolResult - | HarnessContentBlockDeltaReasoningContent - | HarnessContentBlockDeltaToolResultMetadata - | HarnessContentBlockDeltaUnknown -] -"""A delta update to a content block.""" - -class _HarnessContentBlockDeltaDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessContentBlockDelta: ... - -@dataclass(kw_only=True) -class HarnessContentBlockDeltaEvent(_SerdeShape): - """Event containing a delta update to a content block.""" - - content_block_index: int - """The index of the content block being updated.""" - delta: HarnessContentBlockDelta - """The delta payload.""" - -@dataclass -class HarnessContentBlockStartToolUse(_SerdeShape): - """Start of a tool use content block.""" - - value: HarnessToolUseBlockStart - -@dataclass -class HarnessContentBlockStartToolResult(_SerdeShape): - """Start of a tool result content block.""" - - value: HarnessToolResultBlockStart - -@dataclass -class HarnessContentBlockStartUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessContentBlockStart = Union[ - HarnessContentBlockStartToolUse - | HarnessContentBlockStartToolResult - | HarnessContentBlockStartUnknown -] -"""The start payload for a content block.""" - -class _HarnessContentBlockStartDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessContentBlockStart: ... - -@dataclass(kw_only=True) -class HarnessContentBlockStartEvent(_SerdeShape): - """Event indicating the start of a content block.""" - - content_block_index: int - """The index of the content block within the message.""" - start: HarnessContentBlockStart - """The content block start payload.""" - -@dataclass(kw_only=True) -class HarnessContentBlockStopEvent(_SerdeShape): - """Event indicating the end of a content block.""" - - content_block_index: int - """The index of the content block that ended.""" - -class HarnessConversationRole(UnknownEnumMixin, StrEnum): - USER = "user" - ASSISTANT = "assistant" - -@dataclass -class HarnessGatewayOutboundAuthAwsIam(_SerdeShape): - """SigV4-sign requests using the agent's execution role.""" - - value: Unit - -@dataclass -class HarnessGatewayOutboundAuthNone(_SerdeShape): - """No authentication.""" - - value: Unit - -@dataclass -class HarnessGatewayOutboundAuthOauth(_SerdeShape): - """ - OAuth 2.0 authentication via AgentCore Identity. - - The `AUTHORIZATION_CODE` grant type is not supported for outbound - authentication from a harness to an AgentCore Gateway, even when - `defaultReturnUrl` is specified. - """ - - value: OAuthCredentialProvider - -@dataclass -class HarnessGatewayOutboundAuthUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessGatewayOutboundAuth = Union[ - HarnessGatewayOutboundAuthAwsIam - | HarnessGatewayOutboundAuthNone - | HarnessGatewayOutboundAuthOauth - | HarnessGatewayOutboundAuthUnknown -] -"""Authentication method for calling a Gateway.""" - -class _HarnessGatewayOutboundAuthDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessGatewayOutboundAuth: ... - -@dataclass(kw_only=True) -class HarnessGeminiModelConfig(_SerdeShape): - """ - Configuration for a Google Gemini model provider. Requires an API key - stored in AgentCore Identity. - """ - - model_id: str - """The Gemini model ID.""" - api_key_arn: str - """The ARN of your Gemini API key on AgentCore Identity.""" - max_tokens: int | None = ... - """ - The maximum number of tokens to allow in the generated response per - iteration. - """ - temperature: float | None = ... - """The temperature to set when calling the model.""" - top_p: float | None = ... - """The topP set when calling the model.""" - top_k: int | None = ... - """The topK set when calling the model.""" - additional_params: Document | None = ... - """ - Provider-specific parameters passed through to the Gemini model provider - unchanged. - """ - -class HarnessHookDecision(UnknownEnumMixin, StrEnum): - ALLOW = "allow" - DENY = "deny" - -@dataclass(kw_only=True) -class HarnessHookEvent(_SerdeShape): - """ - A lifecycle hook event emitted in the invocation stream for visibility - into hook decisions. - """ - - hook_event_id: str - """The unique identifier for this hook event.""" - name: str - """The name of the hook that ran.""" - type: str - """The type of lifecycle hook event.""" - decision: str | None = ... - """ - The decision applied to the hook event. This field is present only for - blocking Lambda targets. - """ - reason: str | None = ... - """The optional reason for the applied decision.""" - -class HarnessHookEventType(UnknownEnumMixin, StrEnum): - BEFORE_TOOL_CALL = "before_tool_call" - AFTER_TOOL_CALL = "after_tool_call" - BEFORE_INVOCATION = "before_invocation" - AFTER_INVOCATION = "after_invocation" - -@dataclass(kw_only=True) -class HarnessInlineFunctionConfig(_SerdeShape): - """ - Configuration for an inline function tool. When the agent calls this - tool, the tool call is returned to the caller for external execution. - """ - - description: str - """Description of what the tool does, provided to the model.""" - input_schema: Document - """JSON Schema describing the tool's input parameters.""" - -@dataclass(kw_only=True) -class HarnessLiteLlmModelConfig(_SerdeShape): - """ - Configuration for a LiteLLM model provider, enabling connection to - third-party model providers. - """ - - model_id: str - """The LiteLLM model identifier (e.g., \"anthropic/claude-3-sonnet\").""" - api_key_arn: str | None = ... - """ - The ARN of the API key in AgentCore Identity for authenticating with the - model provider. - """ - api_base: str | None = ... - """The base URL for the model provider's API endpoint.""" - max_tokens: int | None = ... - """ - The maximum number of tokens to allow in the generated response per - iteration. - """ - temperature: float | None = ... - """The temperature to set when calling the model.""" - top_p: float | None = ... - """The topP set when calling the model.""" - additional_params: Document | None = ... - """ - Provider-specific parameters passed through to the model provider - unchanged. - """ - -@dataclass(kw_only=True) -class HarnessMessage(_SerdeShape): - """A message in the conversation.""" - - role: str - """The role of the message sender.""" - content: list[HarnessContentBlock] - """The content blocks of the message.""" - -@dataclass(kw_only=True) -class HarnessMessageStartEvent(_SerdeShape): - """Event indicating the start of a message.""" - - role: str - """The role of the message sender.""" - -@dataclass(kw_only=True) -class HarnessMessageStopEvent(_SerdeShape): - """Event indicating the end of a message.""" - - stop_reason: str - """The reason the agent stopped generating.""" - -@dataclass(kw_only=True) -class HarnessMetadataEvent(_SerdeShape): - """Token usage and latency metrics for the invocation.""" - - usage: HarnessTokenUsage - """Token usage counts.""" - metrics: HarnessStreamMetrics - """Latency metrics.""" - -@dataclass -class HarnessModelConfigurationBedrockModelConfig(_SerdeShape): - """Configuration for an Amazon Bedrock model.""" - - value: HarnessBedrockModelConfig - -@dataclass -class HarnessModelConfigurationOpenAiModelConfig(_SerdeShape): - """Configuration for an OpenAI model.""" - - value: HarnessOpenAiModelConfig - -@dataclass -class HarnessModelConfigurationGeminiModelConfig(_SerdeShape): - """Configuration for a Google Gemini model.""" - - value: HarnessGeminiModelConfig - -@dataclass -class HarnessModelConfigurationLiteLlmModelConfig(_SerdeShape): - """ - The LiteLLM model configuration for connecting to third-party model - providers. - """ - - value: HarnessLiteLlmModelConfig - -@dataclass -class HarnessModelConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessModelConfiguration = Union[ - HarnessModelConfigurationBedrockModelConfig - | HarnessModelConfigurationOpenAiModelConfig - | HarnessModelConfigurationGeminiModelConfig - | HarnessModelConfigurationLiteLlmModelConfig - | HarnessModelConfigurationUnknown -] -"""Specification of which model to use.""" - -class _HarnessModelConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessModelConfiguration: ... - -class HarnessOpenAiApiFormat(UnknownEnumMixin, StrEnum): - CHAT_COMPLETIONS = "chat_completions" - """Use the Chat Completions API format.""" - RESPONSES = "responses" - """Use the Responses API format.""" - -@dataclass(kw_only=True) -class HarnessOpenAiModelConfig(_SerdeShape): - """ - Configuration for an OpenAI model provider. Requires an API key stored - in AgentCore Identity. - """ - - model_id: str - """The OpenAI model ID.""" - api_key_arn: str - """The ARN of your OpenAI API key on AgentCore Identity.""" - api_base: str | None = ... - """Optional custom endpoint URL for an OpenAI-compatible endpoint.""" - max_tokens: int | None = ... - """ - The maximum number of tokens to allow in the generated response per - iteration. - """ - temperature: float | None = ... - """The temperature to set when calling the model.""" - top_p: float | None = ... - """The topP set when calling the model.""" - api_format: str | None = ... - """The API format to use when calling the OpenAI provider.""" - additional_params: Document | None = ... - """ - Provider-specific parameters passed through to the model provider - unchanged. - """ - -@dataclass -class HarnessReasoningContentBlockReasoningText(_SerdeShape): - """The reasoning text.""" - - value: HarnessReasoningTextBlock - -@dataclass -class HarnessReasoningContentBlockRedactedContent(_SerdeShape): - """Redacted reasoning content.""" - - value: bytes - -@dataclass -class HarnessReasoningContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessReasoningContentBlock = Union[ - HarnessReasoningContentBlockReasoningText - | HarnessReasoningContentBlockRedactedContent - | HarnessReasoningContentBlockUnknown -] -"""Reasoning content from the model.""" - -class _HarnessReasoningContentBlockDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessReasoningContentBlock: ... - -@dataclass -class HarnessReasoningContentBlockDeltaText(_SerdeShape): - """Reasoning text delta.""" - - value: str - -@dataclass -class HarnessReasoningContentBlockDeltaRedactedContent(_SerdeShape): - """Redacted reasoning content.""" - - value: bytes - -@dataclass -class HarnessReasoningContentBlockDeltaSignature(_SerdeShape): - """Signature for the reasoning content.""" - - value: str - -@dataclass -class HarnessReasoningContentBlockDeltaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessReasoningContentBlockDelta = Union[ - HarnessReasoningContentBlockDeltaText - | HarnessReasoningContentBlockDeltaRedactedContent - | HarnessReasoningContentBlockDeltaSignature - | HarnessReasoningContentBlockDeltaUnknown -] -"""A delta update to a reasoning content block.""" - -class _HarnessReasoningContentBlockDeltaDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessReasoningContentBlockDelta: ... - -@dataclass(kw_only=True) -class HarnessReasoningTextBlock(_SerdeShape): - """A block of reasoning text from the model.""" - - text: str - """The reasoning text.""" - signature: str | None = ... - """Signature for verifying the reasoning content.""" - -@dataclass(kw_only=True) -class HarnessRemoteMcpConfig(_SerdeShape): - """Configuration for connecting to a remote MCP server.""" - - url: str - """URL of the MCP endpoint.""" - headers: dict[str, str] | None = ... - """Custom headers to include when connecting to the remote MCP server.""" - outbound_auth: HarnessRemoteMcpOutboundAuth | None = ... - """ - How the harness authenticates to this MCP server. Defaults to no - authentication. - """ - -@dataclass -class HarnessRemoteMcpOutboundAuthAwsIam(_SerdeShape): - """ - Sign requests to the remote MCP server with Signature Version 4 (SigV4) - using the harness execution role. If you don't specify a Region, the - harness Region is used. - """ - - value: IamCredentialProvider - -@dataclass -class HarnessRemoteMcpOutboundAuthNone(_SerdeShape): - """No authentication.""" - - value: Unit - -@dataclass -class HarnessRemoteMcpOutboundAuthUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessRemoteMcpOutboundAuth = Union[ - HarnessRemoteMcpOutboundAuthAwsIam - | HarnessRemoteMcpOutboundAuthNone - | HarnessRemoteMcpOutboundAuthUnknown -] -"""Authentication method for calling a remote MCP server.""" - -class _HarnessRemoteMcpOutboundAuthDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessRemoteMcpOutboundAuth: ... - -@dataclass -class HarnessSkillPath(_SerdeShape): - """The filesystem path to the skill definition.""" - - value: str - -@dataclass -class HarnessSkillS3(_SerdeShape): - """An S3 source containing the skill.""" - - value: HarnessSkillS3Source - -@dataclass -class HarnessSkillGit(_SerdeShape): - """A git repository containing the skill.""" - - value: HarnessSkillGitSource - -@dataclass -class HarnessSkillAwsSkills(_SerdeShape): - """Amazon Web Services Skills baked into the Harness's underlying Runtime.""" - - value: HarnessSkillAwsSkillsSource - -@dataclass -class HarnessSkillUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessSkill = Union[ - HarnessSkillPath - | HarnessSkillS3 - | HarnessSkillGit - | HarnessSkillAwsSkills - | HarnessSkillUnknown -] -"""A skill available to the agent.""" - -class _HarnessSkillDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> HarnessSkill: ... - -@dataclass(kw_only=True) -class HarnessSkillAwsSkillsSource(_SerdeShape): - """Passed to show that Amazon Web Services Skills should be included.""" - - paths: list[str] | None = ... - """ - Optionally filter allowed skills with glob syntax, e.g., - ['core-skills/*']. - """ - -@dataclass(kw_only=True) -class HarnessSkillGitAuth(_SerdeShape): - """Authentication configuration for accessing a private git repository.""" - - credential_arn: str - """ - The ARN of the credential in AgentCore Identity containing the password - or personal access token. - """ - username: str | None = ... - """Username for authentication. Defaults to 'oauth2' if not specified.""" - -@dataclass(kw_only=True) -class HarnessSkillGitSource(_SerdeShape): - """A git repository source for a skill.""" - - url: str - """The HTTPS URL of the git repository.""" - path: str | None = ... - """Subdirectory within the repository containing the skill.""" - auth: HarnessSkillGitAuth | None = ... - """Authentication configuration for private repositories.""" - -@dataclass(kw_only=True) -class HarnessSkillS3Source(_SerdeShape): - """An S3 source for a skill.""" - - uri: str - """ - The S3 URI pointing to the skill directory (e.g., - s3://bucket/skills/my-skill/). - """ - -class HarnessStopReason(UnknownEnumMixin, StrEnum): - END_TURN = "end_turn" - TOOL_USE = "tool_use" - TOOL_RESULT = "tool_result" - MAX_TOKENS = "max_tokens" - STOP_SEQUENCE = "stop_sequence" - CONTENT_FILTERED = "content_filtered" - MALFORMED_MODEL_OUTPUT = "malformed_model_output" - MALFORMED_TOOL_USE = "malformed_tool_use" - INTERRUPTED = "interrupted" - PARTIAL_TURN = "partial_turn" - MODEL_CONTEXT_WINDOW_EXCEEDED = "model_context_window_exceeded" - MAX_ITERATIONS_EXCEEDED = "max_iterations_exceeded" - MAX_OUTPUT_TOKENS_EXCEEDED = "max_output_tokens_exceeded" - TIMEOUT_EXCEEDED = "timeout_exceeded" - HOOK_STOPPED = "hook_stopped" - -@dataclass(kw_only=True) -class HarnessStreamMetrics(_SerdeShape): - """Latency metrics for the invocation.""" - - latency_ms: int - """The end-to-end latency of the invocation in milliseconds.""" - -@dataclass -class HarnessSystemContentBlockText(_SerdeShape): - """The text content of the system prompt block.""" - - value: str - -@dataclass -class HarnessSystemContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessSystemContentBlock = Union[ - HarnessSystemContentBlockText | HarnessSystemContentBlockUnknown -] -"""A content block in the system prompt.""" - -class _HarnessSystemContentBlockDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessSystemContentBlock: ... - -@dataclass(kw_only=True) -class HarnessTokenUsage(_SerdeShape): - """Token usage counts for the invocation.""" - - input_tokens: int - """The number of input tokens consumed.""" - output_tokens: int - """The number of output tokens generated.""" - total_tokens: int - """The total number of tokens consumed.""" - cache_read_input_tokens: int | None = ... - """The number of input tokens read from cache.""" - cache_write_input_tokens: int | None = ... - """The number of input tokens written to cache.""" - -@dataclass(kw_only=True) -class HarnessTool(_SerdeShape): - """A tool available to the agent loop.""" - - type: str - """The type of tool.""" - name: str | None = ... - """ - Unique name for the tool. If not provided, a name will be inferred or - generated. - """ - config: HarnessToolConfiguration | None = ... - """Tool-specific configuration.""" - -@dataclass -class HarnessToolConfigurationRemoteMcp(_SerdeShape): - """Configuration for remote MCP server.""" - - value: HarnessRemoteMcpConfig - -@dataclass -class HarnessToolConfigurationAgentCoreBrowser(_SerdeShape): - """Configuration for AgentCore Browser.""" - - value: HarnessAgentCoreBrowserConfig - -@dataclass -class HarnessToolConfigurationAgentCoreGateway(_SerdeShape): - """Configuration for AgentCore Gateway.""" - - value: HarnessAgentCoreGatewayConfig - -@dataclass -class HarnessToolConfigurationInlineFunction(_SerdeShape): - """Configuration for an inline function tool.""" - - value: HarnessInlineFunctionConfig - -@dataclass -class HarnessToolConfigurationAgentCoreCodeInterpreter(_SerdeShape): - """Configuration for AgentCore Code Interpreter.""" - - value: HarnessAgentCoreCodeInterpreterConfig - -@dataclass -class HarnessToolConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessToolConfiguration = Union[ - HarnessToolConfigurationRemoteMcp - | HarnessToolConfigurationAgentCoreBrowser - | HarnessToolConfigurationAgentCoreGateway - | HarnessToolConfigurationInlineFunction - | HarnessToolConfigurationAgentCoreCodeInterpreter - | HarnessToolConfigurationUnknown -] -"""Configuration union for different tool types.""" - -class _HarnessToolConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessToolConfiguration: ... - -@dataclass(kw_only=True) -class HarnessToolResultBlock(_SerdeShape): - """The result of a tool execution.""" - - tool_use_id: str - """The tool use ID that this result corresponds to.""" - content: list[HarnessToolResultContentBlock] - """The content of the tool result.""" - status: str | None = ... - """The status of the tool execution.""" - type: str | None = ... - """The type of tool use that produced this result.""" - -@dataclass -class HarnessToolResultBlockDeltaText(_SerdeShape): - """A text tool result delta.""" - - value: str - -@dataclass -class HarnessToolResultBlockDeltaJson(_SerdeShape): - """A JSON tool result delta.""" - - value: Document - -@dataclass -class HarnessToolResultBlockDeltaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessToolResultBlockDelta = Union[ - HarnessToolResultBlockDeltaText - | HarnessToolResultBlockDeltaJson - | HarnessToolResultBlockDeltaUnknown -] -"""A delta update to a tool result content block.""" - -class _HarnessToolResultBlockDeltaDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessToolResultBlockDelta: ... - -@dataclass(kw_only=True) -class HarnessToolResultBlockStart(_SerdeShape): - """Start payload for a tool result content block.""" - - tool_use_id: str - """The tool use ID that this result corresponds to.""" - status: str | None = ... - """The status of the tool execution.""" - -@dataclass -class HarnessToolResultContentBlockText(_SerdeShape): - """Text content.""" - - value: str - -@dataclass -class HarnessToolResultContentBlockJson(_SerdeShape): - """JSON content.""" - - value: Document - -@dataclass -class HarnessToolResultContentBlockUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -HarnessToolResultContentBlock = Union[ - HarnessToolResultContentBlockText - | HarnessToolResultContentBlockJson - | HarnessToolResultContentBlockUnknown -] -"""A content block within a tool result.""" - -class _HarnessToolResultContentBlockDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> HarnessToolResultContentBlock: ... - -@dataclass(kw_only=True) -class HarnessToolResultMetadataBlockDelta(_SerdeShape): - """Delta payload for a tool result metadata.""" - - metadata: str - """The partial JSON-string fragment of the tool result metadata.""" - -class HarnessToolType(UnknownEnumMixin, StrEnum): - REMOTE_MCP = "remote_mcp" - AGENTCORE_BROWSER = "agentcore_browser" - AGENTCORE_GATEWAY = "agentcore_gateway" - INLINE_FUNCTION = "inline_function" - AGENTCORE_CODE_INTERPRETER = "agentcore_code_interpreter" - -@dataclass(kw_only=True) -class HarnessToolUseBlock(_SerdeShape): - """A tool use request from the model.""" - - name: str - """The name of the tool to call.""" - tool_use_id: str - """The unique ID of this tool use.""" - input: Document - """The JSON input to pass to the tool.""" - type: str | None = ... - """The type of tool use.""" - server_name: str | None = ... - """The name of the MCP server providing this tool.""" - -@dataclass(kw_only=True) -class HarnessToolUseBlockDelta(_SerdeShape): - """Delta payload for tool use input.""" - - input: str - """The partial JSON input for the tool call.""" - -@dataclass(kw_only=True) -class HarnessToolUseBlockStart(_SerdeShape): - """Start payload for a tool use content block.""" - - tool_use_id: str - """The unique ID of this tool use.""" - name: str - """The name of the tool being called.""" - type: str | None = ... - """The type of tool use.""" - server_name: str | None = ... - """The name of the MCP server providing this tool.""" - -class HarnessToolUseStatus(UnknownEnumMixin, StrEnum): - SUCCESS = "success" - ERROR = "error" - -class HarnessToolUseType(UnknownEnumMixin, StrEnum): - TOOL_USE = "tool_use" - SERVER_TOOL_USE = "server_tool_use" - MCP_TOOL_USE = "mcp_tool_use" - -@dataclass(kw_only=True) -class IamCredentialProvider(_SerdeShape): - """ - An IAM credential provider for authenticating requests. This structure - contains the configuration for authenticating with a target endpoint - using IAM credentials and SigV4 signing. - """ - - service: str - """ - The name of the Amazon Web Services service used for SigV4 signing. This - value identifies the service to authenticate with when sending requests - to the target endpoint. - """ - region: str | None = ... - """ - The Amazon Web Services Region used for SigV4 signing. If not specified, - defaults to the Region of the resource that makes the request. - """ - -@dataclass(kw_only=True) -class IngestDataInput(_SerdeShape): - """Dataclass for IngestDataInput structure.""" - - memory_id: str | None = ... - """The identifier of the AgentCore Memory resource to ingest content into.""" - source: ContentSource | None = ... - """The content to ingest. Only inline content is supported.""" - content_timestamp: datetime | None = ... - """The timestamp of when the content occurred.""" - actor_id: str | None = ... - """ - The identifier of the actor associated with this content. An actor - represents an entity that participates in sessions and generates - content. - """ - session_id: str | None = ... - """ - The identifier of the session that the content belongs to. If not - provided, a session identifier is generated and returned in the - response. - """ - extraction_config: ExtractionConfig | None = ... - """ - The extraction configuration for long-term memory records. Use this - parameter to specify namespace variable keys and their values for - namespace substitution during extraction. - """ - metadata: dict[str, MetadataValue] | None = ... - """The key-value metadata to attach to the content.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, AgentCore ignores the request, but does not return an error. - """ - -@dataclass(kw_only=True) -class IngestDataOutput(_SerdeShape): - """Dataclass for IngestDataOutput structure.""" - - session_id: str - """ - The identifier of the session that the service ingested the content - into. This value echoes the session identifier from the request, or the - identifier that the service generated when you did not provide one. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class IngestPayloadTypeConversational(_SerdeShape): - """The conversational content for this payload item.""" - - value: Conversational - -@dataclass -class IngestPayloadTypeJson(_SerdeShape): - """The JSON content for this payload item.""" - - value: MemoryJsonData - -@dataclass -class IngestPayloadTypeUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -IngestPayloadType = Union[ - IngestPayloadTypeConversational | IngestPayloadTypeJson | IngestPayloadTypeUnknown -] -""" -A single content payload item to ingest. A payload item contains either -conversational or JSON content. -""" - -class _IngestPayloadTypeDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> IngestPayloadType: ... - -@dataclass(kw_only=True) -class InlineGroundTruth(_SerdeShape): - """ - Inline ground truth data containing assertions, expected trajectories, - and per-turn expected responses. - """ - - assertions: list[EvaluationContent] | None = ... - """Assertions for evaluation, reuses common model EvaluationContentList.""" - expected_trajectory: EvaluationExpectedTrajectory | None = ... - """The expected tool call sequence for trajectory evaluation.""" - turns: list[GroundTruthTurn] | None = ... - """ - A list of per-turn ground truth data, each containing an input prompt - and expected response. - """ - -@dataclass(kw_only=True) -class InlineMemoryContent(_SerdeShape): - """ - The content included directly in the request as one or more payload - items. - """ - - payload: list[IngestPayloadType] - """The list of content payload items to ingest.""" - -@dataclass(kw_only=True) -class InputContentBlock(_SerdeShape): - """A block of input content.""" - - path: str - """The path to the input content.""" - text: str | None = ... - """The text input content.""" - blob: bytes | None = ... - """The binary input content.""" - -@dataclass(kw_only=True) -class Insight(_SerdeShape): - """ - A reference to an insight analysis to run against sessions during batch - evaluation. Insights provide deeper analysis beyond individual evaluator - scores, including failure detection, user intent clustering, and - execution summarization. - """ - - insight_id: str - """The unique identifier of the insight to run.""" - -@dataclass(kw_only=True) -class InsightResult(_SerdeShape): - """ - An insight that groups related failures found across the sessions in a - batch evaluation. - """ - - type: str - """The type of insight. `FAILURE` indicates a group of related failures.""" - name: str - """ - A generated label for the insight. The name is not an identifier and can - differ between batch evaluations. - """ - description: str - """A description of the failure pattern that the insight represents.""" - created_at: datetime - """The timestamp when the insight was generated.""" - affected_session_count: int | None = ... - """The number of distinct sessions affected by the insight.""" - sample_sessions: list[SampleSession] | None = ... - """ - A sample of up to 10 sessions affected by the insight. Returned only - when the insight has no root causes. Otherwise, sample sessions are - returned for each root cause. - """ - root_causes: list[InsightRootCause] | None = ... - """The root causes identified for the insight.""" - -@dataclass(kw_only=True) -class InsightRootCause(_SerdeShape): - """A root cause that contributes to an insight.""" - - name: str - """A generated label for the root cause.""" - explanation: str - """ - An explanation of how the root cause leads to the failures in the - insight. - """ - affected_session_count: int | None = ... - """ - The number of distinct sessions affected by the root cause. A session - can be affected by more than one root cause of the same insight. - """ - suggested_fix: str | None = ... - """A suggested change to the agent that addresses the root cause.""" - sample_sessions: list[SampleSession] | None = ... - """A sample of up to 10 sessions affected by the root cause.""" - -class InsightsFailureCategory(UnknownEnumMixin, StrEnum): - """ - Failure category taxonomy for agent session insights. Values must stay - in sync with the category registry in AgentCoreLens - (amzn_agentcore_lens.config.failure_detection.FAILURE_CATEGORIES). - """ - - EXECUTION_ERROR_AUTHENTICATION = "execution-error-category-authentication" - EXECUTION_ERROR_RESOURCE_NOT_FOUND = "execution-error-category-resource-not-found" - EXECUTION_ERROR_SERVICE_ERRORS = "execution-error-category-service-errors" - EXECUTION_ERROR_RATE_LIMITING = "execution-error-category-rate-limiting" - EXECUTION_ERROR_FORMATTING = "execution-error-category-formatting" - EXECUTION_ERROR_TIMEOUT = "execution-error-category-timeout" - EXECUTION_ERROR_RESOURCE_EXHAUSTION = "execution-error-category-resource-exhaustion" - EXECUTION_ERROR_ENVIRONMENT = "execution-error-category-environment" - EXECUTION_ERROR_TOOL_SCHEMA = "execution-error-category-tool-schema" - TASK_INSTRUCTION_NON_COMPLIANCE = "task-instruction-category-non-compliance" - TASK_INSTRUCTION_PROBLEM_ID = "task-instruction-category-problem-id" - INCORRECT_ACTIONS_TOOL_SELECTION = "incorrect-actions-category-tool-selection" - INCORRECT_ACTIONS_POOR_INFORMATION_RETRIEVAL = ( - "incorrect-actions-category-poor-information-retrieval" - ) - INCORRECT_ACTIONS_CLARIFICATION = "incorrect-actions-category-clarification" - INCORRECT_ACTIONS_INAPPROPRIATE_INFO_REQUEST = ( - "incorrect-actions-category-inappropriate-info-request" - ) - CONTEXT_HANDLING_FAILURES = ( - "context-handling-error-category-context-handling-failures" - ) - HALLUCINATION_CAPABILITIES = "hallucination-category-hall-capabilities" - HALLUCINATION_MISUNDERSTAND = "hallucination-category-hall-misunderstand" - HALLUCINATION_USAGE = "hallucination-category-hall-usage" - HALLUCINATION_HISTORY = "hallucination-category-hall-history" - HALLUCINATION_PARAMS = "hallucination-category-hall-params" - HALLUCINATION_FABRICATE_TOOL_OUTPUTS = ( - "hallucination-category-fabricate-tool-outputs" - ) - REPETITIVE_BEHAVIOR_TOOL = "repetitive-behavior-category-repetition-tool" - REPETITIVE_BEHAVIOR_INFO = "repetitive-behavior-category-repetition-info" - REPETITIVE_BEHAVIOR_STEP = "repetitive-behavior-category-step-repetition" - ORCHESTRATION_REASONING_MISMATCH = ( - "orchestration-related-errors-category-reasoning-mismatch" - ) - ORCHESTRATION_GOAL_DEVIATION = ( - "orchestration-related-errors-category-goal-deviation" - ) - ORCHESTRATION_PREMATURE_TERMINATION = ( - "orchestration-related-errors-category-premature-termination" - ) - ORCHESTRATION_UNAWARE_TERMINATION = ( - "orchestration-related-errors-category-unaware-termination" - ) - LLM_OUTPUT_NONSENSICAL = "llm-output-category-nonsensical" - CONFIGURATION_MISMATCH_TOOL_DEFINITION = ( - "configuration-mismatch-category-tool-definition" - ) - CODING_EDGE_CASE_OVERSIGHTS = ( - "coding-use-case-specific-failure-types-category-edge-case-oversights" - ) - CODING_DEPENDENCY_ISSUES = ( - "coding-use-case-specific-failure-types-category-dependency-issues" - ) - OTHER = "other" - -@dataclass(kw_only=True) -class InsightsFailureSignal(_SerdeShape): - """A signal indicating a detected failure within a span.""" - - category: str - """The failure category classification for this signal.""" - evidence: str - """The evidence supporting the failure detection.""" - confidence: float - """The confidence score of the failure detection.""" - -class InsightType(UnknownEnumMixin, StrEnum): - """The type of insight.""" - - FAILURE = "FAILURE" - -class InstrumentBalanceToken(UnknownEnumMixin, StrEnum): - """ - Supported tokens for instrument balance queries. Only tokens supported - for X402 payments are returned. - """ - - USDC = "USDC" - -@dataclass(kw_only=True) -class InternalServerException(ServiceError, _SerdeShape): - """ - The exception that occurs when the service encounters an unexpected - internal error. This is a temporary condition that will resolve itself - with retries. We recommend implementing exponential backoff retry logic - in your application. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidInputException(ServiceError, _SerdeShape): - """ - The input fails to satisfy the constraints specified by AgentCore. Check - your input values and try again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvokeAgentRuntimeCommandInput(_SerdeShape): - """Request for InvokeAgentRuntimeCommand operation.""" - - content_type: str | None = ... - """ - The MIME type of the input data in the request payload. This tells the - agent runtime how to interpret the payload data. Common values include - application/json for JSON data. - """ - accept: str | None = ... - """ - The desired MIME type for the response from the agent runtime command. - This tells the agent runtime what format to use for the response data. - Common values include application/json for JSON data. - """ - runtime_session_id: str | None = ... - """ - The unique identifier of the runtime session in which to execute the - command. This session ID is used to maintain state and context across - multiple command invocations. - """ - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - trace_state: str | None = ... - """The trace state information for distributed tracing.""" - baggage: str | None = ... - """Additional context information for distributed tracing.""" - agent_runtime_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the agent runtime on which to execute - the command. This identifies the specific agent runtime environment - where the command will run. - """ - qualifier: str | None = ... - """ - The qualifier to use for the agent runtime. This is an endpoint name - that points to a specific version. If not specified, Amazon Bedrock - AgentCore uses the default endpoint of the agent runtime. - """ - account_id: str | None = ... - """ - The identifier of the Amazon Web Services account for the agent runtime - resource. This parameter is required when you specify an agent ID - instead of the full ARN for `agentRuntimeArn`. - """ - body: InvokeAgentRuntimeCommandRequestBody | None = ... - """ - The request body containing the command to execute and optional - configuration parameters such as timeout settings. - """ - -@dataclass(kw_only=True) -class InvokeAgentRuntimeCommandOutput(_SerdeShape): - """Response for InvokeAgentRuntimeCommand operation.""" - - runtime_session_id: str | None = ... - """ - The unique identifier of the runtime session in which the command was - executed. - """ - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - trace_state: str | None = ... - """The trace state information for distributed tracing.""" - baggage: str | None = ... - """Additional context information for distributed tracing.""" - content_type: str - """ - The MIME type of the response data. This indicates how to interpret the - response data. Common values include application/json for JSON data. - """ - status_code: int | None = ... - """ - The HTTP status code of the response. A status code of 200 indicates a - successful operation. Other status codes indicate various error - conditions. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvokeAgentRuntimeCommandRequestBody(_SerdeShape): - """ - The request body structure for the `InvokeAgentRuntimeCommand` - operation, containing the command to execute and optional configuration - parameters. - """ - - command: str - """ - The shell command to execute on the agent runtime. This command is - executed in the runtime environment and its output is streamed back to - the caller. - """ - timeout: int | None = ... - """ - The maximum duration in seconds to wait for the command to complete. If - the command execution exceeds this timeout, it will be terminated. - Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds. - """ - -@dataclass -class InvokeAgentRuntimeCommandStreamOutputChunk(_SerdeShape): - """ - A response chunk containing command execution events such as content - start, content delta, or content stop events. - """ - - value: ResponseChunk - -@dataclass -class InvokeAgentRuntimeCommandStreamOutputAccessDeniedException(_SerdeShape): - """Exception events for error streaming.""" - - value: AccessDeniedException - -@dataclass -class InvokeAgentRuntimeCommandStreamOutputInternalServerException(_SerdeShape): - """ - The exception that occurs when the service encounters an unexpected - internal error. This is a temporary condition that will resolve itself - with retries. We recommend implementing exponential backoff retry logic - in your application. - """ - - value: InternalServerException - -@dataclass -class InvokeAgentRuntimeCommandStreamOutputResourceNotFoundException(_SerdeShape): - """ - The exception that occurs when the specified resource does not exist. - This can happen when using an invalid identifier or when trying to - access a resource that has been deleted. - """ - - value: ResourceNotFoundException - -@dataclass -class InvokeAgentRuntimeCommandStreamOutputServiceQuotaExceededException(_SerdeShape): - """ - The exception that occurs when the request would cause a service quota - to be exceeded. Review your service quotas and either reduce your - request rate or request a quota increase. - """ - - value: ServiceQuotaExceededException - -@dataclass -class InvokeAgentRuntimeCommandStreamOutputThrottlingException(_SerdeShape): - """ - The exception that occurs when the request was denied due to request - throttling. This happens when you exceed the allowed request rate for an - operation. Reduce the frequency of requests or implement exponential - backoff retry logic in your application. - """ - - value: ThrottlingException - -@dataclass -class InvokeAgentRuntimeCommandStreamOutputValidationException(_SerdeShape): - """ - The exception that occurs when the input fails to satisfy the - constraints specified by the service. Check the error message for - details about which input parameter is invalid and correct your request. - """ - - value: ValidationException - -@dataclass -class InvokeAgentRuntimeCommandStreamOutputRuntimeClientError(_SerdeShape): - """ - The exception that occurs when there is an error in the runtime client. - This can happen due to network issues, invalid configuration, or other - client-side problems. Check the error message for specific details about - the error. - """ - - value: RuntimeClientError - -@dataclass -class InvokeAgentRuntimeCommandStreamOutputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InvokeAgentRuntimeCommandStreamOutput = Union[ - InvokeAgentRuntimeCommandStreamOutputChunk - | InvokeAgentRuntimeCommandStreamOutputAccessDeniedException - | InvokeAgentRuntimeCommandStreamOutputInternalServerException - | InvokeAgentRuntimeCommandStreamOutputResourceNotFoundException - | InvokeAgentRuntimeCommandStreamOutputServiceQuotaExceededException - | InvokeAgentRuntimeCommandStreamOutputThrottlingException - | InvokeAgentRuntimeCommandStreamOutputValidationException - | InvokeAgentRuntimeCommandStreamOutputRuntimeClientError - | InvokeAgentRuntimeCommandStreamOutputUnknown -] -""" -The streaming output union for the `InvokeAgentRuntimeCommand` -operation. This union delivers typed events: `contentStart` (first), -`contentDelta` (middle), and `contentStop` (last). -""" - -class _InvokeAgentRuntimeCommandStreamOutputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> InvokeAgentRuntimeCommandStreamOutput: ... - -@dataclass(kw_only=True) -class InvokeAgentRuntimeInput(_SerdeShape): - """Dataclass for InvokeAgentRuntimeInput structure.""" - - content_type: str | None = ... - """ - The MIME type of the input data in the payload. This tells the agent - runtime how to interpret the payload data. Common values include - application/json for JSON data. - """ - accept: str | None = ... - """ - The desired MIME type for the response from the agent runtime. This - tells the agent runtime what format to use for the response data. Common - values include application/json for JSON data. - """ - mcp_session_id: str | None = ... - """The identifier of the MCP session.""" - runtime_session_id: str | None = ... - """The identifier of the runtime session.""" - mcp_protocol_version: str | None = ... - """The version of the MCP protocol being used.""" - mcp_method: str | None = ... - """ - The MCP method being invoked. For example, `tools/call`, - `resources/read`, or `prompts/get`. - """ - mcp_name: str | None = ... - """ - The name of the MCP resource, tool, or prompt being accessed. The value - depends on the method: - - - `tools/call` -- The tool name. - - - `resources/read` -- The resource URI. - - - `prompts/get` -- The prompt name. - """ - runtime_user_id: str | None = ... - """The identifier of the runtime user.""" - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - trace_state: str | None = ... - """The trace state information for distributed tracing.""" - baggage: str | None = ... - """Additional context information for distributed tracing.""" - agent_runtime_arn: str | None = ... - """ - The identifier of the agent runtime to invoke. You can specify either - the full Amazon Web Services Resource Name (ARN) or the agent ID. If you - use the agent ID, you must also provide the `accountId` query parameter. - """ - qualifier: str | None = ... - """ - The qualifier to use for the agent runtime. This is an endpoint name - that points to a specific version. If not specified, Amazon Bedrock - AgentCore uses the default endpoint of the agent runtime. - """ - account_id: str | None = ... - """ - The identifier of the Amazon Web Services account for the agent runtime - resource. This parameter is required when you specify an agent ID - instead of the full ARN for `agentRuntimeArn`. - """ - payload: bytes | None = ... - """ - The input data to send to the agent runtime. The format of this data - depends on the specific agent configuration and must match the specified - content type. For most agents, this is a JSON object containing the - user's request. - """ - -@dataclass(kw_only=True) -class InvokeAgentRuntimeOutput(_SerdeShape): - """Dataclass for InvokeAgentRuntimeOutput structure.""" - - runtime_session_id: str | None = ... - """The identifier of the runtime session.""" - session_endpoint_url: str | None = ... - """ - The HTTPS endpoint that addresses this runtime session directly. This - value is returned only when the agent runtime is configured with allowed - ports and direct runtime access is available for the session. If this - value is not present, use `InvokeAgentRuntime` to communicate with the - session. - """ - mcp_session_id: str | None = ... - """The identifier of the MCP session.""" - mcp_protocol_version: str | None = ... - """The version of the MCP protocol being used.""" - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - trace_state: str | None = ... - """The trace state information for distributed tracing.""" - baggage: str | None = ... - """Additional context information for distributed tracing.""" - content_type: str - """ - The MIME type of the response data. This indicates how to interpret the - response data. Common values include application/json for JSON data. - """ - response: StreamingBlob = ... - """ - The response data from the agent runtime. The format of this data - depends on the specific agent configuration and the requested accept - type. For most agents, this is a JSON object containing the agent's - response to the user's request. - """ - status_code: int | None = ... - """ - The HTTP status code of the response. A status code of 200 indicates a - successful operation. Other status codes indicate various error - conditions. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvokeBrowserInput(_SerdeShape): - """Request for the InvokeBrowser operation.""" - - browser_identifier: str | None = ... - """ - The unique identifier of the browser associated with the session. This - must match the identifier used when creating the session with - `StartBrowserSession`. - """ - session_id: str | None = ... - """ - The unique identifier of the browser session on which to perform the - action. This must be an active session created with - `StartBrowserSession`. - """ - action: BrowserAction | None = ... - """ - The browser action to perform. Exactly one member of the `BrowserAction` - union must be set per request. - """ - -@dataclass(kw_only=True) -class InvokeBrowserOutput(_SerdeShape): - """Response for the InvokeBrowser operation.""" - - result: BrowserActionResult - """ - The result of the browser action. The member set in the result - corresponds to the action that was performed. - """ - session_id: str - """ - The unique identifier of the browser session on which the action was - performed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvokeCodeInterpreterInput(_SerdeShape): - """Dataclass for InvokeCodeInterpreterInput structure.""" - - code_interpreter_identifier: str | None = ... - """ - The unique identifier of the code interpreter associated with the - session. This must match the identifier used when creating the session - with `StartCodeInterpreterSession`. - """ - session_id: str | None = ... - """ - The unique identifier of the code interpreter session to use. This must - be an active session created with `StartCodeInterpreterSession`. If the - session has expired or been stopped, the request will fail. - """ - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - name: str | None = ... - """The name of the code interpreter to invoke.""" - arguments: ToolArguments | None = ... - """ - The arguments for the code interpreter. This includes the code to - execute and any additional parameters such as the programming language, - whether to clear the execution context, and other execution options. The - structure of this parameter depends on the specific code interpreter - being used. - """ - -@dataclass(kw_only=True) -class InvokeCodeInterpreterOutput(_SerdeShape): - """Dataclass for InvokeCodeInterpreterOutput structure.""" - - session_id: str | None = ... - """The identifier of the code interpreter session.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvokeHarnessInput(_SerdeShape): - """Dataclass for InvokeHarnessInput structure.""" - - harness_arn: str | None = ... - """The ARN of the harness to invoke.""" - qualifier: str | None = ... - """The endpoint name to invoke. If omitted, the DEFAULT endpoint is used.""" - runtime_session_id: str | None = ... - """ - The session ID for the invocation. Use the same session ID across - requests to continue a conversation. - """ - runtime_user_id: str | None = ... - """ - An identifier for the end user making the request. This value is passed - through to the runtime container. - """ - trace_parent: str | None = ... - """ - W3C trace context parent header containing version, trace ID, parent - span ID, and trace flags. - """ - trace_state: str | None = ... - """W3C trace context state header for vendor-specific trace information.""" - trace_id: str | None = ... - """Trace ID for maintaining observability through the operation.""" - baggage: str | None = ... - """ - W3C Baggage header for user-defined context propagation. Format: - key1=value1,key2=value2 - """ - messages: list[HarnessMessage] | None = ... - """The messages to send to the agent.""" - model: HarnessModelConfiguration | None = ... - """ - The model configuration to use for this invocation. If specified, - overrides the harness default. - """ - system_prompt: list[HarnessSystemContentBlock] | None = ... - """ - The system prompt to use for this invocation. If specified, overrides - the harness default. - """ - tools: list[HarnessTool] | None = ... - """ - The tools available to the agent for this invocation. If specified, - overrides the harness default. - """ - skills: list[HarnessSkill] | None = ... - """ - The skills available to the agent for this invocation. If specified, - overrides the harness default. - """ - allowed_tools: list[str] | None = ... - """ - The tools that the agent is allowed to use for this invocation. If - specified, overrides the harness default. - """ - max_iterations: int | None = ... - """ - The maximum number of iterations the agent loop can execute. If - specified, overrides the harness default. - """ - max_tokens: int | None = ... - """ - The maximum number of tokens the agent can generate per iteration. If - specified, overrides the harness default. - """ - timeout_seconds: int | None = ... - """ - The maximum duration in seconds for the agent loop execution. If - specified, overrides the harness default. - """ - actor_id: str | None = ... - """ - The actor ID for memory operations. Overrides the actor ID configured on - the harness. - """ - -@dataclass(kw_only=True) -class InvokeHarnessOutput(_SerdeShape): - """Dataclass for InvokeHarnessOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class InvokeHarnessStreamOutputMessageStart(_SerdeShape): - """Indicates the start of a new message from the agent.""" - - value: HarnessMessageStartEvent - -@dataclass -class InvokeHarnessStreamOutputContentBlockStart(_SerdeShape): - """Indicates the start of a new content block.""" - - value: HarnessContentBlockStartEvent - -@dataclass -class InvokeHarnessStreamOutputContentBlockDelta(_SerdeShape): - """A delta update to the current content block.""" - - value: HarnessContentBlockDeltaEvent - -@dataclass -class InvokeHarnessStreamOutputContentBlockStop(_SerdeShape): - """Indicates the end of the current content block.""" - - value: HarnessContentBlockStopEvent - -@dataclass -class InvokeHarnessStreamOutputMessageStop(_SerdeShape): - """Indicates the end of the current message.""" - - value: HarnessMessageStopEvent - -@dataclass -class InvokeHarnessStreamOutputMetadata(_SerdeShape): - """Token usage and latency metrics for the invocation.""" - - value: HarnessMetadataEvent - -@dataclass -class InvokeHarnessStreamOutputInternalServerException(_SerdeShape): - """ - The exception that occurs when the service encounters an unexpected - internal error. This is a temporary condition that will resolve itself - with retries. We recommend implementing exponential backoff retry logic - in your application. - """ - - value: InternalServerException - -@dataclass -class InvokeHarnessStreamOutputValidationException(_SerdeShape): - """ - The exception that occurs when the input fails to satisfy the - constraints specified by the service. Check the error message for - details about which input parameter is invalid and correct your request. - """ - - value: ValidationException - -@dataclass -class InvokeHarnessStreamOutputRuntimeClientError(_SerdeShape): - """An error returned by the runtime container during agent execution.""" - - value: RuntimeClientError - -@dataclass -class InvokeHarnessStreamOutputHookEvent(_SerdeShape): - """A lifecycle hook event emitted when a configured hook runs.""" - - value: HarnessHookEvent - -@dataclass -class InvokeHarnessStreamOutputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InvokeHarnessStreamOutput = Union[ - InvokeHarnessStreamOutputMessageStart - | InvokeHarnessStreamOutputContentBlockStart - | InvokeHarnessStreamOutputContentBlockDelta - | InvokeHarnessStreamOutputContentBlockStop - | InvokeHarnessStreamOutputMessageStop - | InvokeHarnessStreamOutputMetadata - | InvokeHarnessStreamOutputInternalServerException - | InvokeHarnessStreamOutputValidationException - | InvokeHarnessStreamOutputRuntimeClientError - | InvokeHarnessStreamOutputHookEvent - | InvokeHarnessStreamOutputUnknown -] -"""The streaming events returned by a harness invocation.""" - -class _InvokeHarnessStreamOutputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> InvokeHarnessStreamOutput: ... - -@dataclass(kw_only=True) -class InvokeWebSearchInput(_SerdeShape): - """Request for the `InvokeWebSearch` operation.""" - - web_search_id: str | None = ... - """ - The identifier of the web search tool to invoke. The Amazon Web - Services-managed web search tool is `web-search.v1`. - """ - search_query: str | None = ... - """The text to search for.""" - max_results: int | None = ... - """The maximum number of results to return. Defaults to 25.""" - filters: WebSearchFilters | None = ... - """The filters to apply to the search results.""" - -@dataclass(kw_only=True) -class InvokeWebSearchOutput(_SerdeShape): - """Response for the `InvokeWebSearch` operation.""" - - results: list[WebSearchResult] - """The search results, in ranked order.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KeyPressArguments(_SerdeShape): - """Arguments for a key press action.""" - - key: str - """The key name to press (for example, `enter`, `tab`, `escape`).""" - presses: int | None = ... - """ - The number of times to press the key. Valid range: 1--100. Defaults to - 1. - """ - -@dataclass(kw_only=True) -class KeyPressResult(_SerdeShape): - """The result of a key press action.""" - - status: str - """The status of the action execution.""" - error: str | None = ... - """The error message. Present only when the action failed.""" - -@dataclass(kw_only=True) -class KeyShortcutArguments(_SerdeShape): - """Arguments for a key shortcut action.""" - - keys: list[str] - """ - The key combination to press (for example, `["ctrl", "s"]`). Maximum 5 - keys. - """ - -@dataclass(kw_only=True) -class KeyShortcutResult(_SerdeShape): - """The result of a key shortcut action.""" - - status: str - """The status of the action execution.""" - error: str | None = ... - """The error message. Present only when the action failed.""" - -@dataclass(kw_only=True) -class KeyTypeArguments(_SerdeShape): - """Arguments for a key type action.""" - - text: str - """The text string to type. Maximum length: 10,000 characters.""" - -@dataclass(kw_only=True) -class KeyTypeResult(_SerdeShape): - """The result of a key type action.""" - - status: str - """The status of the action execution.""" - error: str | None = ... - """The error message. Present only when the action failed.""" - -class LanguageRuntime(UnknownEnumMixin, StrEnum): - NODEJS = "nodejs" - DENO = "deno" - PYTHON = "python" - -@dataclass -class LeftExpressionMetadataKey(_SerdeShape): - """Key associated with the metadata in an event.""" - - value: str - -@dataclass -class LeftExpressionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -LeftExpression = Union[LeftExpressionMetadataKey | LeftExpressionUnknown] -"""Left expression of the event metadata filter.""" - -class _LeftExpressionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> LeftExpression: ... - -@dataclass -class LinkedAccount_Email(_SerdeShape): - """Email-based linked account.""" - - value: LinkedAccountEmail - -@dataclass -class LinkedAccount_Sms(_SerdeShape): - """SMS-based linked account using phone number.""" - - value: LinkedAccountSms - -@dataclass -class LinkedAccount_DeveloperJwt(_SerdeShape): - """Developer JWT linked account with key ID and subject.""" - - value: LinkedAccountDeveloperJwt - -@dataclass -class LinkedAccount_OAuth2(_SerdeShape): - """OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).""" - - value: LinkedAccountOAuth2 - -@dataclass -class LinkedAccountUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -LinkedAccount = Union[ - LinkedAccount_Email - | LinkedAccount_Sms - | LinkedAccount_DeveloperJwt - | LinkedAccount_OAuth2 - | LinkedAccountUnknown -] -""" -Represents different linked accounts that can be linked to an embedded -wallet. Supports email, SMS, JWT, and OAuth2 approaches. -""" - -class _LinkedAccountDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> LinkedAccount: ... - -@dataclass(kw_only=True) -class LinkedAccountDeveloperJwt(_SerdeShape): - """Authentication method using JWT with key ID and subject claims.""" - - kid: str - """ - The key ID (kid) from the JWT header. Identifies which key was used to - sign the JWT. - """ - sub: str - """ - The subject (sub) claim from the JWT payload. Identifies the principal - that is the subject of the JWT. - """ - -@dataclass(kw_only=True) -class LinkedAccountEmail(_SerdeShape): - """Linked account using an email address.""" - - email_address: str - """ - The email address used for the linked account. Must be a valid email - format. - """ - -@dataclass -class LinkedAccountOAuth2Google(_SerdeShape): - """Google OAuth2 authentication.""" - - value: OAuth2Authentication - -@dataclass -class LinkedAccountOAuth2Apple(_SerdeShape): - """Apple OAuth2 authentication.""" - - value: OAuth2Authentication - -@dataclass -class LinkedAccountOAuth2X(_SerdeShape): - """X (formerly Twitter) OAuth2 authentication.""" - - value: OAuth2Authentication - -@dataclass -class LinkedAccountOAuth2Telegram(_SerdeShape): - """Telegram OAuth2 authentication.""" - - value: OAuth2Authentication - -@dataclass -class LinkedAccountOAuth2Github(_SerdeShape): - """GitHub OAuth2 authentication.""" - - value: OAuth2Authentication - -@dataclass -class LinkedAccountOAuth2Unknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -LinkedAccountOAuth2 = Union[ - LinkedAccountOAuth2Google - | LinkedAccountOAuth2Apple - | LinkedAccountOAuth2X - | LinkedAccountOAuth2Telegram - | LinkedAccountOAuth2Github - | LinkedAccountOAuth2Unknown -] -""" -Authentication method using OAuth2 providers. Supports Google, Apple, X, -Telegram, and GitHub providers. -""" - -class _LinkedAccountOAuth2Deserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> LinkedAccountOAuth2: ... - -@dataclass(kw_only=True) -class LinkedAccountSms(_SerdeShape): - """Linked account using a phone number in E.164 format.""" - - phone_number: str - """The phone number in E.164 format (e.g., +1234567890).""" - -@dataclass(kw_only=True) -class ListABTestsInput(_SerdeShape): - """Dataclass for ListABTestsInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListABTestsOutput(_SerdeShape): - """Dataclass for ListABTestsOutput structure.""" - - ab_tests: list[ABTestSummary] - """The list of A/B test summaries.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListActorsInput(_SerdeShape): - """Dataclass for ListActorsInput structure.""" - - memory_id: str | None = ... - """ - The identifier of the AgentCore Memory resource for which to list - actors. - """ - max_results: int = ... - """ - The maximum number of results to return in a single call. The default - value is 20. - """ - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. - """ - -@dataclass(kw_only=True) -class ListActorsOutput(_SerdeShape): - """Dataclass for ListActorsOutput structure.""" - - actor_summaries: list[ActorSummary] - """The list of actor summaries.""" - next_token: str | None = ... - """ - The token to use in a subsequent request to get the next set of results. - This value is null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBatchEvaluationsInput(_SerdeShape): - """Dataclass for ListBatchEvaluationsInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - -@dataclass(kw_only=True) -class ListBatchEvaluationsOutput(_SerdeShape): - """Dataclass for ListBatchEvaluationsOutput structure.""" - - batch_evaluations: list[BatchEvaluationSummary] - """The list of batch evaluation summaries.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBrowserSessionsInput(_SerdeShape): - """Dataclass for ListBrowserSessionsInput structure.""" - - browser_identifier: str | None = ... - """ - The unique identifier of the browser to list sessions for. If specified, - only sessions for this browser are returned. If not specified, sessions - for all browsers are returned. - """ - max_results: int | None = ... - """ - The maximum number of results to return in a single call. The default - value is 10. Valid values range from 1 to 100. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. If not specified, Amazon Bedrock AgentCore returns the first - page of results. - """ - status: str | None = ... - """ - The status of the browser sessions to list. Valid values include ACTIVE, - STOPPING, and STOPPED. If not specified, sessions with any status are - returned. - """ - -@dataclass(kw_only=True) -class ListBrowserSessionsOutput(_SerdeShape): - """Dataclass for ListBrowserSessionsOutput structure.""" - - items: list[BrowserSessionSummary] - """The list of browser sessions that match the specified criteria.""" - next_token: str | None = ... - """ - The token to use in a subsequent `ListBrowserSessions` request to get - the next set of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCodeInterpreterSessionsInput(_SerdeShape): - """Dataclass for ListCodeInterpreterSessionsInput structure.""" - - code_interpreter_identifier: str | None = ... - """ - The unique identifier of the code interpreter to list sessions for. If - specified, only sessions for this code interpreter are returned. If not - specified, sessions for all code interpreters are returned. - """ - max_results: int | None = ... - """ - The maximum number of results to return in a single call. The default - value is 10. Valid values range from 1 to 100. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. If not specified, Amazon Bedrock AgentCore returns the first - page of results. - """ - status: str | None = ... - """ - The status of the code interpreter sessions to list. Valid values - include ACTIVE, STOPPING, and STOPPED. If not specified, sessions with - any status are returned. - """ - -@dataclass(kw_only=True) -class ListCodeInterpreterSessionsOutput(_SerdeShape): - """Dataclass for ListCodeInterpreterSessionsOutput structure.""" - - items: list[CodeInterpreterSessionSummary] - """The list of code interpreter sessions that match the specified criteria.""" - next_token: str | None = ... - """ - The token to use in a subsequent `ListCodeInterpreterSessions` request - to get the next set of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListEventsInput(_SerdeShape): - """Dataclass for ListEventsInput structure.""" - - memory_id: str | None = ... - """ - The identifier of the AgentCore Memory resource for which to list - events. - """ - session_id: str | None = ... - """The identifier of the session for which to list events.""" - actor_id: str | None = ... - """The identifier of the actor for which to list events.""" - include_payloads: bool = ... - """ - Specifies whether to include event payloads in the response. Set to true - to include payloads, or false to exclude them. - """ - filter: FilterInput | None = ... - """Filter criteria to apply when listing events.""" - max_results: int = ... - """ - The maximum number of results to return in a single call. The default - value is 20. - """ - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. - """ - -@dataclass(kw_only=True) -class ListEventsOutput(_SerdeShape): - """Dataclass for ListEventsOutput structure.""" - - events: list[Event] - """The list of events that match the specified criteria.""" - next_token: str | None = ... - """ - The token to use in a subsequent request to get the next set of results. - This value is null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListMemoryExtractionJobsInput(_SerdeShape): - """Dataclass for ListMemoryExtractionJobsInput structure.""" - - memory_id: str | None = ... - """The unique identifier of the memory to list extraction jobs for.""" - max_results: int = ... - """ - The maximum number of results to return in a single call. The default - value is 20. - """ - filter: ExtractionJobFilterInput | None = ... - """Filter criteria to apply when listing extraction jobs.""" - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. - """ - -@dataclass(kw_only=True) -class ListMemoryExtractionJobsOutput(_SerdeShape): - """Dataclass for ListMemoryExtractionJobsOutput structure.""" - - jobs: list[ExtractionJobMetadata] - """List of extraction job metadata matching the specified criteria.""" - next_token: str | None = ... - """Token to retrieve the next page of results, if available.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListMemoryRecordsInput(_SerdeShape): - """Dataclass for ListMemoryRecordsInput structure.""" - - memory_id: str | None = ... - """ - The identifier of the AgentCore Memory resource for which to list memory - records. - """ - namespace: str | None = ... - """ - The exact namespace to filter memory records by. Returns all memory - records that matches the provided namespace. Either `namespace` or - `namespacePath` is required. - """ - namespace_path: str | None = ... - """ - Use namespacePath for hierarchical retrievals. Return all memory records - where namespace falls under the same parent hierarchy. Either - `namespace` or `namespacePath` is required. - """ - memory_strategy_id: str | None = ... - """ - The memory strategy identifier to filter memory records by. If - specified, only memory records with this strategy ID are returned. - """ - max_results: int = ... - """ - The maximum number of results to return in a single call. The default - value is 20. - """ - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. - """ - metadata_filters: list[MemoryMetadataFilterExpression] | None = ... - """ - A list of metadata filter expressions to scope the returned memory - records. - """ - -@dataclass(kw_only=True) -class ListMemoryRecordsOutput(_SerdeShape): - """Dataclass for ListMemoryRecordsOutput structure.""" - - memory_record_summaries: list[MemoryRecordSummary] - """The list of memory record summaries that match the specified criteria.""" - next_token: str | None = ... - """ - The token to use in a subsequent request to get the next set of results. - This value is null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPaymentInstrumentsInput(_SerdeShape): - """Request structure for listing payment instruments.""" - - user_id: str | None = ... - """The user ID associated with the payment instruments.""" - agent_name: str | None = ... - """The agent name associated with this request, used for observability.""" - payment_manager_arn: str | None = ... - """The ARN of the payment manager that owns the payment instruments.""" - payment_connector_id: str | None = ... - """The ID of the payment connector to filter by.""" - next_token: str | None = ... - """Token for pagination to retrieve the next set of results.""" - max_results: int | None = ... - """Maximum number of results to return in a single response.""" - -@dataclass(kw_only=True) -class ListPaymentInstrumentsOutput(_SerdeShape): - """Response structure for listing payment instruments.""" - - payment_instruments: list[PaymentInstrumentSummary] - """List of payment instrument summaries matching the request criteria.""" - next_token: str | None = ... - """Token for pagination to retrieve the next set of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPaymentSessionsInput(_SerdeShape): - """Request structure for listing payment sessions.""" - - user_id: str | None = ... - """The user ID associated with the payment sessions.""" - agent_name: str | None = ... - """The agent name associated with this request, used for observability.""" - payment_manager_arn: str | None = ... - """The ARN of the payment manager that owns the sessions.""" - next_token: str | None = ... - """Token for pagination to retrieve the next set of results.""" - max_results: int | None = ... - """Maximum number of results to return in a single response.""" - -@dataclass(kw_only=True) -class ListPaymentSessionsOutput(_SerdeShape): - """Response structure for listing payment sessions.""" - - payment_sessions: list[PaymentSessionSummary] - """List of payment session summaries matching the request criteria.""" - next_token: str | None = ... - """Token for pagination to retrieve the next set of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRecommendationsInput(_SerdeShape): - """Dataclass for ListRecommendationsInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - status_filter: str | None = ... - """ - Optional filter to return only recommendations with the specified - status. - """ - -@dataclass(kw_only=True) -class ListRecommendationsOutput(_SerdeShape): - """Dataclass for ListRecommendationsOutput structure.""" - - recommendation_summaries: list[RecommendationSummary] - """The list of recommendation summaries.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListSessionsInput(_SerdeShape): - """Dataclass for ListSessionsInput structure.""" - - memory_id: str | None = ... - """ - The identifier of the AgentCore Memory resource for which to list - sessions. - """ - actor_id: str | None = ... - """The identifier of the actor for which to list sessions.""" - max_results: int = ... - """ - The maximum number of results to return in a single call. The default - value is 20. - """ - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. - """ - filter: SessionFilter | None = ... - """Filter criteria to apply when listing sessions.""" - -@dataclass(kw_only=True) -class ListSessionsOutput(_SerdeShape): - """Dataclass for ListSessionsOutput structure.""" - - session_summaries: list[SessionSummary] - """The list of session summaries that match the specified criteria.""" - next_token: str | None = ... - """ - The token to use in a subsequent request to get the next set of results. - This value is null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LiveViewStream(_SerdeShape): - """ - The configuration for a stream that provides a visual representation of - a browser session in Amazon Bedrock AgentCore. This stream enables - agents to observe the current state of the browser, including rendered - web pages, visual elements, and the results of interactions. - """ - - stream_endpoint: str | None = ... - """ - The endpoint URL for the live view stream. This URL is used to establish - a connection to receive visual updates from the browser session. - """ - -@dataclass(kw_only=True) -class McpDescriptor(_SerdeShape): - """ - The MCP (Model Context Protocol) descriptor configuration for a registry - record. Contains the server definition and tools definition. - """ - - server: ServerDefinition - """The MCP server definition that describes the server configuration.""" - tools: ToolsDefinition - """The MCP tools definition that describes the available tools.""" - -@dataclass -class MemoryContentText(_SerdeShape): - """The text content of the memory record.""" - - value: str - -@dataclass -class MemoryContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -MemoryContent = Union[MemoryContentText | MemoryContentUnknown] -"""Contains the content of a memory record.""" - -class _MemoryContentDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> MemoryContent: ... - -@dataclass(kw_only=True) -class MemoryJsonData(_SerdeShape): - """ - Contains non-conversational, JSON-formatted content for an event - payload. JSON payloads are extracted into long-term memory. - """ - - content: Document - """ - The JSON content of the payload. Accepts any JSON value, including - objects, arrays, strings, numbers, booleans, and null. The maximum size - is 100 KB. - """ - -@dataclass(kw_only=True) -class MemoryMetadataFilterExpression(_SerdeShape): - """ - Filters to apply to metadata associated with a memory. Specify the - metadata key and value in the `left` and `right` fields and use the - `operator` field to define the relationship to match. - """ - - left: MemoryRecordLeftExpression - """The metadata key to evaluate.""" - operator: str - """ - The relationship between the metadata key and value to match when - applying the metadata filter. - """ - right: MemoryRecordRightExpression | None = ... - """ - The value to compare against. Required for all operators except EXISTS - and NOT_EXISTS. - """ - -@dataclass(kw_only=True) -class MemoryRecord(_SerdeShape): - """ - Contains information about a memory record in an AgentCore Memory - resource. - """ - - memory_record_id: str - """The unique identifier of the memory record.""" - content: MemoryContent - """The content of the memory record.""" - memory_strategy_id: str - """The identifier of the memory strategy associated with this record.""" - namespaces: list[str] - """ - The namespaces associated with this memory record. Namespaces help - organize and categorize memory records. - """ - created_at: datetime - """The timestamp when the memory record was created.""" - timestamp: datetime | None = ... - """ - The timestamp based on which the memory record was ingested. This - reflects the time of the source content that the record was derived - from, which can differ from `createdAt`, the time the record itself was - written. - """ - metadata: dict[str, MemoryRecordMetadataValue] | None = ... - """A map of metadata key-value pairs associated with a memory record.""" - expires_at: datetime | None = ... - """ - The timestamp at which the memory record expires and becomes eligible - for deletion. This value is set when a record expiry (long-term memory - time-to-live) applies to the record, either from the strategy the record - belongs to or from a record expiry provided on the batch request that - created or updated it. If the record has no expiry configured, this - value is not present and the record does not expire. - """ - -@dataclass(kw_only=True) -class MemoryRecordCreateInput(_SerdeShape): - """Input structure to create a new memory record.""" - - request_identifier: str - """ - A client-provided identifier for tracking this specific record creation - request. - """ - namespaces: list[str] - """ - A list of namespace identifiers that categorize or group the memory - record. - """ - content: MemoryContent - """The content to be stored within the memory record.""" - timestamp: datetime - """Time at which the memory record was created.""" - memory_strategy_id: str | None = ... - """ - The ID of the memory strategy that defines how this memory record is - grouped. - """ - metadata: dict[str, MemoryRecordMetadataValue] | None = ... - """Metadata key-value pairs to be stored with the memory record.""" - -@dataclass(kw_only=True) -class MemoryRecordDeleteInput(_SerdeShape): - """Input structure to delete an existing memory record.""" - - memory_record_id: str - """The unique ID of the memory record to be deleted.""" - namespace: str | None = ... - """ - The namespace of the memory record being deleted. This value is used for - IAM condition key authorization. - """ - -@dataclass -class MemoryRecordLeftExpressionMetadataKey(_SerdeShape): - """The metadata key to filter on.""" - - value: str - -@dataclass -class MemoryRecordLeftExpressionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -MemoryRecordLeftExpression = Union[ - MemoryRecordLeftExpressionMetadataKey | MemoryRecordLeftExpressionUnknown -] -"""The left-hand side of a memory record metadata filter expression.""" - -class _MemoryRecordLeftExpressionDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> MemoryRecordLeftExpression: ... - -@dataclass -class MemoryRecordMetadataValueStringValue(_SerdeShape): - """A string value.""" - - value: str - -@dataclass -class MemoryRecordMetadataValueStringListValue(_SerdeShape): - """A list of string values.""" - - value: list[str] - -@dataclass -class MemoryRecordMetadataValueNumberValue(_SerdeShape): - """A numeric value.""" - - value: float - -@dataclass -class MemoryRecordMetadataValueDateTimeValue(_SerdeShape): - """A timestamp value in ISO 8601 UTC format.""" - - value: datetime - -@dataclass -class MemoryRecordMetadataValueUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -MemoryRecordMetadataValue = Union[ - MemoryRecordMetadataValueStringValue - | MemoryRecordMetadataValueStringListValue - | MemoryRecordMetadataValueNumberValue - | MemoryRecordMetadataValueDateTimeValue - | MemoryRecordMetadataValueUnknown -] -"""The value of a memory record metadata entry.""" - -class _MemoryRecordMetadataValueDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> MemoryRecordMetadataValue: ... - -class MemoryRecordOperatorType(UnknownEnumMixin, StrEnum): - EQUALS_TO = "EQUALS_TO" - EXISTS = "EXISTS" - NOT_EXISTS = "NOT_EXISTS" - BEFORE = "BEFORE" - AFTER = "AFTER" - CONTAINS = "CONTAINS" - GREATER_THAN = "GREATER_THAN" - GREATER_THAN_OR_EQUALS = "GREATER_THAN_OR_EQUALS" - LESS_THAN = "LESS_THAN" - LESS_THAN_OR_EQUALS = "LESS_THAN_OR_EQUALS" - -@dataclass(kw_only=True) -class MemoryRecordOutput(_SerdeShape): - """Output information returned after processing a memory record operation.""" - - memory_record_id: str - """The unique ID associated to the memory record.""" - status: str - """The status of the memory record operation (e.g., SUCCEEDED, FAILED).""" - request_identifier: str | None = ... - """ - The client-provided identifier that was used to track this record - operation. - """ - error_code: int | None = ... - """The error code returned when the memory record operation fails.""" - error_message: str | None = ... - """ - A human-readable error message describing why the memory record - operation failed. - """ - -@dataclass -class MemoryRecordRightExpressionMetadataValue(_SerdeShape): - """The metadata value to compare against.""" - - value: MemoryRecordMetadataValue - -@dataclass -class MemoryRecordRightExpressionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -MemoryRecordRightExpression = Union[ - MemoryRecordRightExpressionMetadataValue | MemoryRecordRightExpressionUnknown -] -"""The right-hand side of a memory record metadata filter expression.""" - -class _MemoryRecordRightExpressionDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> MemoryRecordRightExpression: ... - -class MemoryRecordStatus(UnknownEnumMixin, StrEnum): - SUCCEEDED = "SUCCEEDED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class MemoryRecordSummary(_SerdeShape): - """Contains summary information about a memory record.""" - - memory_record_id: str - """The unique identifier of the memory record.""" - content: MemoryContent - """The content of the memory record.""" - memory_strategy_id: str - """The identifier of the memory strategy associated with this record.""" - namespaces: list[str] - """The namespaces associated with this memory record.""" - created_at: datetime - """The timestamp when the memory record was created.""" - score: float | None = ... - """ - The relevance score of the memory record when returned as part of a - search result. Higher values indicate greater relevance to the search - query. - """ - timestamp: datetime | None = ... - """ - The timestamp based on which the memory record was ingested. This - reflects the time of the source content that the record was derived - from, which can differ from `createdAt`, the time the record itself was - written. - """ - metadata: dict[str, MemoryRecordMetadataValue] | None = ... - """A map of metadata key-value pairs associated with a memory record.""" - -@dataclass(kw_only=True) -class MemoryRecordUpdateInput(_SerdeShape): - """Input structure to update an existing memory record.""" - - memory_record_id: str - """The unique ID of the memory record to be updated.""" - timestamp: datetime - """Time at which the memory record was updated""" - content: MemoryContent | None = ... - """The content to be stored within the memory record.""" - namespaces: list[str] | None = ... - """ - The updated list of namespace identifiers for categorizing the memory - record. - """ - source_namespaces: list[str] | None = ... - """ - The namespaces of the source memory record being updated. This value is - used for IAM condition key authorization. - """ - memory_strategy_id: str | None = ... - """ - The updated ID of the memory strategy that defines how this memory - record is grouped. - """ - metadata: dict[str, MemoryRecordMetadataValue] | None = ... - """Metadata key-value pairs to be stored with the memory record.""" - -@dataclass(kw_only=True) -class MessageMetadata(_SerdeShape): - """Metadata information associated with this message.""" - - event_id: str - """The identifier of the event associated with this message.""" - message_index: int - """ - The position of this message within that event's ordered list of - messages. - """ - -@dataclass -class MetadataValueStringValue(_SerdeShape): - """Value associated with the `eventMetadata` key.""" - - value: str - -@dataclass -class MetadataValueUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -MetadataValue = Union[MetadataValueStringValue | MetadataValueUnknown] -"""Value associated with the `eventMetadata` key.""" - -class _MetadataValueDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> MetadataValue: ... - -class MouseButton(UnknownEnumMixin, StrEnum): - """The mouse button to use for a browser mouse action.""" - - LEFT = "LEFT" - RIGHT = "RIGHT" - MIDDLE = "MIDDLE" - -@dataclass(kw_only=True) -class MouseClickArguments(_SerdeShape): - """Arguments for a mouse click action.""" - - x: int - """The X coordinate on screen where the click occurs.""" - y: int - """The Y coordinate on screen where the click occurs.""" - button: str | None = ... - """The mouse button to use. Defaults to `LEFT`.""" - click_count: int | None = ... - """The number of clicks to perform. Valid range: 1--10. Defaults to 1.""" - -@dataclass(kw_only=True) -class MouseClickResult(_SerdeShape): - """The result of a mouse click action.""" - - status: str - """The status of the action execution.""" - error: str | None = ... - """The error message. Present only when the action failed.""" - -@dataclass(kw_only=True) -class MouseDragArguments(_SerdeShape): - """Arguments for a mouse drag action.""" - - end_x: int - """The ending X coordinate for the drag.""" - end_y: int - """The ending Y coordinate for the drag.""" - start_x: int - """The starting X coordinate for the drag.""" - start_y: int - """The starting Y coordinate for the drag.""" - button: str | None = ... - """The mouse button to use for the drag. Defaults to `LEFT`.""" - -@dataclass(kw_only=True) -class MouseDragResult(_SerdeShape): - """The result of a mouse drag action.""" - - status: str - """The status of the action execution.""" - error: str | None = ... - """The error message. Present only when the action failed.""" - -@dataclass(kw_only=True) -class MouseMoveArguments(_SerdeShape): - """Arguments for a mouse move action.""" - - x: int - """The target X coordinate on screen.""" - y: int - """The target Y coordinate on screen.""" - -@dataclass(kw_only=True) -class MouseMoveResult(_SerdeShape): - """The result of a mouse move action.""" - - status: str - """The status of the action execution.""" - error: str | None = ... - """The error message. Present only when the action failed.""" - -@dataclass(kw_only=True) -class MouseScrollArguments(_SerdeShape): - """Arguments for a mouse scroll action.""" - - x: int - """The X coordinate on screen where the scroll occurs.""" - y: int - """The Y coordinate on screen where the scroll occurs.""" - delta_x: int | None = ... - """The horizontal scroll delta. Valid range: -1000 to 1000.""" - delta_y: int | None = ... - """ - The vertical scroll delta. Valid range: -1000 to 1000. Negative values - scroll down. - """ - -@dataclass(kw_only=True) -class MouseScrollResult(_SerdeShape): - """The result of a mouse scroll action.""" - - status: str - """The status of the action execution.""" - error: str | None = ... - """The error message. Present only when the action failed.""" - -@dataclass(kw_only=True) -class MppPaymentInput(_SerdeShape): - """ - Contains the payment challenge from a 402 Payment Required response. - Forward the raw `WWW-Authenticate: Payment` header value verbatim. In - response, you receive a payment credential that satisfies the challenge. - Provide exactly one challenge per request. - """ - - version: str - """The MPP protocol version, for example \"1\" or \"2\".""" - www_authenticate_headers: list[str] - """ - The raw `WWW-Authenticate: Payment` header value from the 402 response, - passed verbatim. Provide exactly one entry. The service uses this value - to generate the payment credential. - """ - buyer_pays_gas_fees: bool | None = ... - """ - Authorizes the service to sign a payment whose blockchain network (gas) - fees are charged to your wallet, on top of the payment amount. - - The challenge indicates who sponsors the network fees. When the - challenge does not sponsor them, the service signs the payment only if - this field is `true`. Otherwise it returns a validation error, so you - can decide whether to pay the fees or obtain a challenge that sponsors - them. - - Optional. When omitted or `false`, you decline to pay network fees. This - field has no effect on challenges that already sponsor the fees. - """ - -@dataclass(kw_only=True) -class MppPaymentOutput(_SerdeShape): - """Contains the payment credential, ready to retry the request.""" - - version: str - """The MPP protocol version, for example \"1\" or \"2\".""" - selected_payment_id: str - """ - The id of the challenge that was paid, echoed from the input challenge - so you can correlate the result without decoding the credential. - """ - payment_credential: str - """ - Ready-to-send value for the `Authorization` header, in the form - \"Payment \". Attach this header and retry the - original request. To inspect the full credential, base64url-decode the - token. - """ - -@dataclass(kw_only=True) -class OAuth2Authentication(_SerdeShape): - """OAuth2 authentication information for third-party providers.""" - - sub: str - """ - The subject (sub) claim from the OAuth2 provider. Uniquely identifies - the user at the provider. - """ - email_address: str | None = ... - """The email address from the OAuth2 provider.""" - name: str | None = ... - """The user's name from the OAuth2 provider.""" - username: str | None = ... - """The username from the OAuth2 provider.""" - -class Oauth2FlowType(UnknownEnumMixin, StrEnum): - USER_FEDERATION = "USER_FEDERATION" - M2_M = "M2M" - ON_BEHALF_OF_TOKEN_EXCHANGE = "ON_BEHALF_OF_TOKEN_EXCHANGE" - -@dataclass(kw_only=True) -class OAuthCredentialProvider(_SerdeShape): - """ - Configuration for an OAuth 2.0 credential provider used to authenticate - tool calls. - """ - - provider_arn: str - """The ARN of the OAuth 2.0 credential provider in AgentCore Identity.""" - scopes: list[str] - """The OAuth 2.0 scopes to request when obtaining an access token.""" - custom_parameters: dict[str, str] | None = ... - """Additional custom parameters to include in the OAuth 2.0 token request.""" - grant_type: str = ... - """The OAuth 2.0 grant type to use for authentication.""" - default_return_url: str | None = ... - """The default return URL for the OAuth 2.0 authorization flow.""" - -class OAuthGrantType(UnknownEnumMixin, StrEnum): - CLIENT_CREDENTIALS = "CLIENT_CREDENTIALS" - AUTHORIZATION_CODE = "AUTHORIZATION_CODE" - TOKEN_EXCHANGE = "TOKEN_EXCHANGE" - -@dataclass(kw_only=True) -class OnlineEvaluationConfigSource(_SerdeShape): - """ - A reference to an existing online evaluation configuration to use as the - data source for batch evaluation. - """ - - online_evaluation_config_arn: str - """ - The Amazon Resource Name (ARN) of the online evaluation configuration to - use as the session source. - """ - time_range: SessionFilterConfig | None = ... - """ - Optional session filter configuration to narrow down which sessions from - the online evaluation configuration to include. - """ - -@dataclass(kw_only=True) -class OnlineEvaluationTraceConfig(_SerdeShape): - """ - Contains the configuration for reusing agent traces from an online - evaluation configuration for recommendation analysis. Because online - evaluation is a continuous stream, a time range specifies which - evaluated sessions the recommendation includes. - """ - - online_evaluation_config_arn: str - """The ARN of the online evaluation configuration to reuse sessions from.""" - start_time: datetime - """ - The start time of the time range. Only sessions evaluated at or after - this timestamp are included. - """ - end_time: datetime - """ - The end time of the time range. Only sessions evaluated before this - timestamp are included. - """ - -class OperatorType(UnknownEnumMixin, StrEnum): - EQUALS_TO = "EQUALS_TO" - EXISTS = "EXISTS" - NOT_EXISTS = "NOT_EXISTS" - -@dataclass -class OutputConfigCloudWatchConfig(_SerdeShape): - """The CloudWatch Logs configuration for writing evaluation results.""" - - value: CloudWatchOutputConfig - -@dataclass -class OutputConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -OutputConfig = Union[OutputConfigCloudWatchConfig | OutputConfigUnknown] -"""Output destination configuration.""" - -class _OutputConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> OutputConfig: ... - -@dataclass -class PayloadTypeConversational(_SerdeShape): - """The conversational content of the payload.""" - - value: Conversational - -@dataclass -class PayloadTypeBlob(_SerdeShape): - """The binary content of the payload.""" - - value: Document - -@dataclass -class PayloadTypeJson(_SerdeShape): - """ - The JSON content of the payload. Use this type to store - non-conversational, JSON-formatted data, such as behavioral events, - activity logs, or system events. - """ - - value: MemoryJsonData - -@dataclass -class PayloadTypeUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PayloadType = Union[ - PayloadTypeConversational | PayloadTypeBlob | PayloadTypeJson | PayloadTypeUnknown -] -"""Contains the payload content for an event.""" - -class _PayloadTypeDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PayloadType: ... - -class PaymentHttpMethodType(UnknownEnumMixin, StrEnum): - GET = "GET" - POST = "POST" - PUT = "PUT" - DELETE = "DELETE" - PATCH = "PATCH" - -@dataclass -class PaymentInputCryptoX402(_SerdeShape): - """Input for a crypto X402 payment.""" - - value: CryptoX402PaymentInput - -@dataclass -class PaymentInputMpp(_SerdeShape): - """ - Contains the payment challenge from a 402 Payment Required response. - Forward the raw `WWW-Authenticate: Payment` header value verbatim. In - response, you receive a payment credential that satisfies the challenge. - Provide exactly one challenge per request. - """ - - value: MppPaymentInput - -@dataclass -class PaymentInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PaymentInput = Union[PaymentInputCryptoX402 | PaymentInputMpp | PaymentInputUnknown] -"""The payment input details, which vary by payment type.""" - -class _PaymentInputDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PaymentInput: ... - -@dataclass(kw_only=True) -class PaymentInstrument(_SerdeShape): - """Represents a payment instrument.""" - - payment_instrument_id: str - """The unique identifier for this payment instrument.""" - payment_manager_arn: str - """The ARN of the payment manager that owns this payment instrument.""" - payment_connector_id: str - """The ID of the payment connector associated with this instrument.""" - user_id: str - """The user ID associated with this payment instrument.""" - payment_instrument_type: str - """The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).""" - payment_instrument_details: PaymentInstrumentDetails - """The details specific to the payment instrument type.""" - created_at: datetime - """The timestamp when this payment instrument was created.""" - status: str - """The current status of this payment instrument.""" - updated_at: datetime - """The timestamp when this payment instrument was last updated.""" - -@dataclass -class PaymentInstrumentDetailsEmbeddedCryptoWallet(_SerdeShape): - """Embedded crypto wallet managed directly by end user.""" - - value: EmbeddedCryptoWallet - -@dataclass -class PaymentInstrumentDetailsUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PaymentInstrumentDetails = Union[ - PaymentInstrumentDetailsEmbeddedCryptoWallet | PaymentInstrumentDetailsUnknown -] -"""Details specific to the instrument type.""" - -class _PaymentInstrumentDetailsDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> PaymentInstrumentDetails: ... - -class PaymentInstrumentStatus(UnknownEnumMixin, StrEnum): - """The status of a payment instrument.""" - - INITIATED = "INITIATED" - ACTIVE = "ACTIVE" - FAILED = "FAILED" - DELETED = "DELETED" - BLOCKED = "BLOCKED" - -@dataclass(kw_only=True) -class PaymentInstrumentSummary(_SerdeShape): - """Summary of a payment instrument for list operations.""" - - payment_instrument_id: str - """The unique identifier for this payment instrument.""" - payment_manager_arn: str - """The ARN of the payment manager that owns this payment instrument.""" - payment_connector_id: str - """The ID of the payment connector associated with this instrument.""" - user_id: str - """The user ID associated with this payment instrument.""" - payment_instrument_type: str - """The type of payment instrument (e.g., EMBEDDED_CRYPTO_WALLET).""" - status: str - """The current status of this payment instrument.""" - created_at: datetime - """The timestamp when this payment instrument was created.""" - updated_at: datetime - """The timestamp when this payment instrument was last updated.""" - -class PaymentInstrumentType(UnknownEnumMixin, StrEnum): - """The type of payment instrument.""" - - EMBEDDED_CRYPTO_WALLET = "EMBEDDED_CRYPTO_WALLET" - -@dataclass -class PaymentOutputCryptoX402(_SerdeShape): - """Output from a crypto X402 payment.""" - - value: CryptoX402PaymentOutput - -@dataclass -class PaymentOutputMpp(_SerdeShape): - """Contains the payment credential, ready to retry the request.""" - - value: MppPaymentOutput - -@dataclass -class PaymentOutputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PaymentOutput = Union[PaymentOutputCryptoX402 | PaymentOutputMpp | PaymentOutputUnknown] -"""The payment output details, which vary by payment type.""" - -class _PaymentOutputDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PaymentOutput: ... - -@dataclass(kw_only=True) -class PaymentSession(_SerdeShape): - """A payment session for managing payment transactions.""" - - payment_session_id: str - """The unique identifier of the payment session.""" - payment_manager_arn: str - """The ARN of the payment manager that owns this session.""" - limits: SessionLimits | None = ... - """The spending limits for the payment session.""" - user_id: str - """The user ID associated with this session.""" - expiry_time_in_minutes: int - """The session expiry time in minutes.""" - created_at: datetime - """The timestamp when the session was created.""" - available_limits: AvailableLimits | None = ... - """The current available spending limits.""" - updated_at: datetime - """The timestamp when the session was last updated.""" - -class PaymentSessionStatus(UnknownEnumMixin, StrEnum): - """The status of a payment session.""" - - ACTIVE = "ACTIVE" - EXPIRED = "EXPIRED" - DELETED = "DELETED" - -@dataclass(kw_only=True) -class PaymentSessionSummary(_SerdeShape): - """Summary information about a payment session.""" - - payment_session_id: str - """The unique identifier of the payment session.""" - payment_manager_arn: str - """The ARN of the payment manager that owns this session.""" - user_id: str - """The user ID associated with this session.""" - expiry_time_in_minutes: int - """The session expiry time in minutes.""" - created_at: datetime - """The timestamp when the session was created.""" - updated_at: datetime - """The timestamp when the session was last updated.""" - -class PaymentStatus(UnknownEnumMixin, StrEnum): - """Transaction status enum.""" - - PROOF_GENERATED = "PROOF_GENERATED" - -@dataclass -class PaymentTokenRequestInputCoinbaseCdpTokenRequest(_SerdeShape): - """The Coinbase CDP token request.""" - - value: CoinbaseCdpTokenRequestInput - -@dataclass -class PaymentTokenRequestInputStripePrivyTokenRequest(_SerdeShape): - """The Stripe Privy token request.""" - - value: StripePrivyTokenRequestInput - -@dataclass -class PaymentTokenRequestInputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PaymentTokenRequestInput = Union[ - PaymentTokenRequestInputCoinbaseCdpTokenRequest - | PaymentTokenRequestInputStripePrivyTokenRequest - | PaymentTokenRequestInputUnknown -] -"""Vendor-specific token request configuration.""" - -class _PaymentTokenRequestInputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> PaymentTokenRequestInput: ... - -@dataclass -class PaymentTokenResponseOutputCoinbaseCdpTokenResponse(_SerdeShape): - """The Coinbase CDP token response.""" - - value: CoinbaseCdpTokenResponseOutput - -@dataclass -class PaymentTokenResponseOutputStripePrivyTokenResponse(_SerdeShape): - """The Stripe Privy token response.""" - - value: StripePrivyTokenResponseOutput - -@dataclass -class PaymentTokenResponseOutputUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PaymentTokenResponseOutput = Union[ - PaymentTokenResponseOutputCoinbaseCdpTokenResponse - | PaymentTokenResponseOutputStripePrivyTokenResponse - | PaymentTokenResponseOutputUnknown -] -"""Vendor-specific token response configuration.""" - -class _PaymentTokenResponseOutputDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> PaymentTokenResponseOutput: ... - -class PaymentType(UnknownEnumMixin, StrEnum): - """Payment type enum.""" - - CRYPTO_X402 = "CRYPTO_X402" - MPP = "MPP" - -@dataclass(kw_only=True) -class PerVariantOnlineEvaluationConfig(_SerdeShape): - """ - An online evaluation configuration associated with a specific A/B test - variant. - """ - - name: str - """The name of the variant this evaluation configuration applies to.""" - online_evaluation_config_arn: str - """ - The Amazon Resource Name (ARN) of the online evaluation configuration - for this variant. - """ - -@dataclass(kw_only=True) -class ProcessPaymentInput(_SerdeShape): - """Request structure for processing a payment.""" - - user_id: str | None = ... - """The user ID associated with this payment.""" - agent_name: str | None = ... - """The agent name associated with this request, used for observability.""" - payment_manager_arn: str | None = ... - """The ARN of the payment manager.""" - payment_session_id: str | None = ... - """The ID of the payment session.""" - payment_instrument_id: str | None = ... - """The ID of the payment instrument to use.""" - payment_type: str | None = ... - """The type of payment to process.""" - payment_input: PaymentInput | None = ... - """The payment input details specific to the payment type.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - -@dataclass(kw_only=True) -class ProcessPaymentOutput(_SerdeShape): - """Response structure for processing a payment.""" - - process_payment_id: str - """The unique identifier of the processed payment.""" - payment_manager_arn: str - """The ARN of the payment manager.""" - payment_session_id: str - """The ID of the payment session used.""" - payment_instrument_id: str - """The ID of the payment instrument used.""" - payment_type: str - """The type of payment processed.""" - status: str - """The status of the payment.""" - payment_output: PaymentOutput - """The payment output details specific to the payment type.""" - created_at: datetime - """The timestamp when the payment was created.""" - updated_at: datetime - """The timestamp when the payment was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ProgrammingLanguage(UnknownEnumMixin, StrEnum): - PYTHON = "python" - JAVASCRIPT = "javascript" - TYPESCRIPT = "typescript" - -@dataclass -class ProxyExternalProxy(_SerdeShape): - """Configuration for an external customer-managed proxy server.""" - - value: ExternalProxy - -@dataclass -class ProxyUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Proxy = Union[ProxyExternalProxy | ProxyUnknown] -""" -Union type representing different proxy configurations. Currently -supports external customer-managed proxies. -""" - -class _ProxyDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Proxy: ... - -@dataclass(kw_only=True) -class ProxyBypass(_SerdeShape): - """ - Configuration for domains that should bypass all proxies and connect - directly to the internet. These bypass rules take precedence over all - proxy routing rules. - """ - - domain_patterns: list[str] | None = ... - """ - Array of domain patterns that should bypass the proxy. Supports - `.amazonaws.com` for subdomain matching or `amazonaws.com` for exact - domain matching. Requests to these domains connect directly without - using any proxy. Maximum 253 characters per pattern. - """ - -@dataclass(kw_only=True) -class ProxyConfiguration(_SerdeShape): - """ - Configuration for routing browser traffic through customer-managed proxy - servers. Supports 1-5 proxy servers for domain-based routing and proxy - bypass rules. - """ - - proxies: list[Proxy] - """ - An array of 1-5 proxy server configurations for domain-based routing. - Each proxy can specify which domains it handles via `domainPatterns`, - enabling flexible routing of different traffic through different proxies - based on destination domain. - """ - bypass: ProxyBypass | None = ... - """ - Optional configuration for domains that should bypass all proxies and - connect directly to their destination, like the internet. Takes - precedence over all proxy routing rules. - """ - -@dataclass -class ProxyCredentialsBasicAuth(_SerdeShape): - """ - HTTP Basic Authentication credentials (username and password) stored in - Amazon Web Services Secrets Manager. - """ - - value: BasicAuth - -@dataclass -class ProxyCredentialsUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ProxyCredentials = Union[ProxyCredentialsBasicAuth | ProxyCredentialsUnknown] -""" -Union type representing different proxy authentication methods. -Currently supports HTTP Basic Authentication (username and password). -""" - -class _ProxyCredentialsDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ProxyCredentials: ... - -@dataclass(kw_only=True) -class PublishedDateFilter(_SerdeShape): - """ - A publication time range for the results. Both bounds are optional, and - both are inclusive. If `publishedAfter` is later than `publishedBefore`, - the request fails with a `ValidationException`. - """ - - published_after: datetime | None = ... - """The earliest publication time of the results, inclusive.""" - published_before: datetime | None = ... - """ - The latest publication time of the results, inclusive. A date without a - time, such as one passed to the AWS CLI, means midnight UTC. To include - a whole day, use the last second of that day, for example - `2026-01-31T23:59:59Z`. - """ - -@dataclass -class RecommendationConfigSystemPromptRecommendationConfig(_SerdeShape): - """The configuration for a system prompt recommendation.""" - - value: SystemPromptRecommendationConfig - -@dataclass -class RecommendationConfigToolDescriptionRecommendationConfig(_SerdeShape): - """The configuration for a tool description recommendation.""" - - value: ToolDescriptionRecommendationConfig - -@dataclass -class RecommendationConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RecommendationConfig = Union[ - RecommendationConfigSystemPromptRecommendationConfig - | RecommendationConfigToolDescriptionRecommendationConfig - | RecommendationConfigUnknown -] -"""The configuration for a recommendation, varying by recommendation type.""" - -class _RecommendationConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RecommendationConfig: ... - -@dataclass(kw_only=True) -class RecommendationEvaluationConfig(_SerdeShape): - """The evaluation configuration for assessing recommendation quality.""" - - evaluators: list[RecommendationEvaluatorReference] - """The list of evaluators to use for assessing recommendation quality.""" - -@dataclass(kw_only=True) -class RecommendationEvaluatorReference(_SerdeShape): - """A reference to an evaluator used for recommendation assessment.""" - - evaluator_arn: str - """The Amazon Resource Name (ARN) of the evaluator.""" - -@dataclass -class RecommendationResultSystemPromptRecommendationResult(_SerdeShape): - """The result of a system prompt recommendation.""" - - value: SystemPromptRecommendationResult - -@dataclass -class RecommendationResultToolDescriptionRecommendationResult(_SerdeShape): - """The result of a tool description recommendation.""" - - value: ToolDescriptionRecommendationResult - -@dataclass -class RecommendationResultUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RecommendationResult = Union[ - RecommendationResultSystemPromptRecommendationResult - | RecommendationResultToolDescriptionRecommendationResult - | RecommendationResultUnknown -] -"""The result of a recommendation, containing the optimized output.""" - -class _RecommendationResultDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RecommendationResult: ... - -@dataclass(kw_only=True) -class RecommendationResultConfigurationBundle(_SerdeShape): - """A configuration bundle reference in a recommendation result.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle.""" - version_id: str - """ - The version identifier of the configuration bundle containing the - recommendation. - """ - -class RecommendationStatus(UnknownEnumMixin, StrEnum): - """The lifecycle status of a recommendation.""" - - PENDING = "PENDING" - IN_PROGRESS = "IN_PROGRESS" - COMPLETED = "COMPLETED" - FAILED = "FAILED" - DELETING = "DELETING" - -@dataclass(kw_only=True) -class RecommendationSummary(_SerdeShape): - """Summary information about a recommendation.""" - - recommendation_id: str - """The unique identifier of the recommendation.""" - recommendation_arn: str - """The Amazon Resource Name (ARN) of the recommendation.""" - name: str - """The name of the recommendation.""" - description: str | None = ... - """The description of the recommendation.""" - type: str - """The type of recommendation.""" - status: str - """The current status of the recommendation.""" - created_at: datetime - """The timestamp when the recommendation was created.""" - updated_at: datetime - """The timestamp when the recommendation was last updated.""" - -class RecommendationType(UnknownEnumMixin, StrEnum): - """The type of recommendation to generate.""" - - SYSTEM_PROMPT_RECOMMENDATION = "SYSTEM_PROMPT_RECOMMENDATION" - TOOL_DESCRIPTION_RECOMMENDATION = "TOOL_DESCRIPTION_RECOMMENDATION" - -class RecordExpiryAction(UnknownEnumMixin, StrEnum): - """ - The action to apply to an existing record expiry (long-term memory - time-to-live) configuration. `REMOVE` removes a previously configured - expiry so that the records no longer expire. - """ - - REMOVE = "REMOVE" - -@dataclass -class RecordExpirySpecificationRecordExpiryDurationDays(_SerdeShape): - """ - The duration, in days, after which the records in this request expire. - The minimum is 31 days. - """ - - value: int - -@dataclass -class RecordExpirySpecificationAction(_SerdeShape): - """ - The action to apply to the existing record expiry configuration. Set to - `REMOVE` to remove a previously configured expiry so that the records no - longer expire. This value does not apply when creating records. - """ - - value: str - -@dataclass -class RecordExpirySpecificationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RecordExpirySpecification = Union[ - RecordExpirySpecificationRecordExpiryDurationDays - | RecordExpirySpecificationAction - | RecordExpirySpecificationUnknown -] -""" -Specifies the record expiry (long-term memory time-to-live) applied to -the records in a batch request. Provide exactly one of -`recordExpiryDurationDays` or `action`. Set `recordExpiryDurationDays` -to configure or update the expiry, or set `action` to `REMOVE` to remove -a previously configured expiry. -""" - -class _RecordExpirySpecificationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RecordExpirySpecification: ... - -class RegistryRecordStatus(UnknownEnumMixin, StrEnum): - """The status of a registry record in its lifecycle.""" - - DRAFT = "DRAFT" - PENDING_APPROVAL = "PENDING_APPROVAL" - APPROVED = "APPROVED" - REJECTED = "REJECTED" - DEPRECATED = "DEPRECATED" - -@dataclass(kw_only=True) -class RegistryRecordSummary(_SerdeShape): - """Summary information about a registry record.""" - - registry_arn: str - """ - The Amazon Resource Name (ARN) of the registry that this record belongs - to. - """ - record_arn: str - """The Amazon Resource Name (ARN) of the registry record.""" - record_id: str - """The unique identifier of the registry record.""" - name: str - """The name of the registry record.""" - description: str | None = ... - """A description of the registry record.""" - descriptor_type: str - """The type of descriptor associated with this registry record.""" - descriptors: Descriptors - """The descriptor configurations for this registry record.""" - version: str - """The version of the registry record.""" - status: str - """The current status of the registry record.""" - created_at: datetime - """The date and time when the registry record was created.""" - updated_at: datetime - """The date and time when the registry record was last updated.""" - -@dataclass(kw_only=True) -class ResourceContent(_SerdeShape): - """Contains information about resource content.""" - - type: str - """The type of resource content.""" - uri: str | None = ... - """The URI of the resource content.""" - mime_type: str | None = ... - """The MIME type of the resource content.""" - text: str | None = ... - """The text resource content.""" - blob: bytes | None = ... - """The binary resource content.""" - -class ResourceContentType(UnknownEnumMixin, StrEnum): - TEXT = "text" - BLOB = "blob" - -@dataclass -class ResourceLocationS3(_SerdeShape): - """ - The Amazon S3 location of the resource. Use this when the resource is - stored in an Amazon S3 bucket. - """ - - value: S3Location - -@dataclass -class ResourceLocationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ResourceLocation = Union[ResourceLocationS3 | ResourceLocationUnknown] -"""The location of the browser extension.""" - -class _ResourceLocationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ResourceLocation: ... - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """ - The exception that occurs when the specified resource does not exist. - This can happen when using an invalid identifier or when trying to - access a resource that has been deleted. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResponseChunk(_SerdeShape): - """ - A structure representing a response chunk that contains exactly one of - the possible event types: `contentStart`, `contentDelta`, or - `contentStop`. - """ - - content_start: ContentStartEvent | None = ... - """ - An event indicating the start of content streaming from the command - execution. This is the first chunk received. - """ - content_delta: ContentDeltaEvent | None = ... - """ - An event containing incremental output (stdout or stderr) from the - command execution. These are the middle chunks. - """ - content_stop: ContentStopEvent | None = ... - """ - An event indicating the completion of the command execution, including - the exit code and final status. This is the last chunk received. - """ - -class ResultDestination(UnknownEnumMixin, StrEnum): - """ - Where evaluation results are written: dedicated results log group - (default) or the source log group. - """ - - DEDICATED_LOG_GROUP = "DEDICATED_LOG_GROUP" - SOURCE_LOG_GROUP = "SOURCE_LOG_GROUP" - -@dataclass(kw_only=True) -class RetrieveMemoryRecordsInput(_SerdeShape): - """Dataclass for RetrieveMemoryRecordsInput structure.""" - - memory_id: str | None = ... - """ - The identifier of the AgentCore Memory resource from which to retrieve - memory records. - """ - namespace: str | None = ... - """ - The exact namespace to filter memory records by. Searches for memory - records that matches the provided namespace value. Either `namespace` or - `namespacePath` is required. - """ - namespace_path: str | None = ... - """ - Use namespacePath for hierarchical retrievals. Return all memory records - where namespace falls under the same parent hierarchy. Either - `namespace` or `namespacePath` is required. - """ - search_criteria: SearchCriteria | None = ... - """ - The search criteria to use for finding relevant memory records. This - includes the search query, memory strategy ID, and other search - parameters. - """ - next_token: str | None = ... - """ - The token for the next set of results. Use the value returned in the - previous response in the next request to retrieve the next set of - results. - """ - max_results: int = ... - """ - The maximum number of results to return in a single call. The default - value is 20. - """ - -@dataclass(kw_only=True) -class RetrieveMemoryRecordsOutput(_SerdeShape): - """Dataclass for RetrieveMemoryRecordsOutput structure.""" - - memory_record_summaries: list[MemoryRecordSummary] - """ - The list of memory record summaries that match the search criteria, - ordered by relevance. - """ - next_token: str | None = ... - """ - The token to use in a subsequent request to get the next set of results. - This value is null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RetryableConflictException(ServiceError, _SerdeShape): - """ - The exception that occurs when there is a retryable conflict performing - an operation. This is a temporary condition that may resolve itself with - retries. We recommend implementing exponential backoff retry logic in - your application. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class RightExpressionMetadataValue(_SerdeShape): - """Value associated with the key in `eventMetadata`.""" - - value: MetadataValue - -@dataclass -class RightExpressionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RightExpression = Union[RightExpressionMetadataValue | RightExpressionUnknown] -"""Right expression of the `eventMetadata`filter.""" - -class _RightExpressionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RightExpression: ... - -class Role(UnknownEnumMixin, StrEnum): - ASSISTANT = "ASSISTANT" - USER = "USER" - TOOL = "TOOL" - OTHER = "OTHER" - -@dataclass(kw_only=True) -class RootCauseCluster(_SerdeShape): - """ - A cluster of similar root causes identified within a failure - subcategory. - """ - - cluster_id: int - """The unique identifier of the root cause cluster.""" - name: str - """The name of the root cause cluster.""" - root_cause: str - """The root cause explanation for this cluster of failures.""" - recommendation: str - """The recommended fix for this root cause.""" - affected_session_count: int - """The number of sessions affected by this root cause.""" - affected_sessions: list[AffectedSession] - """The list of sessions affected by this root cause.""" - -@dataclass(kw_only=True) -class RuntimeClientError(ServiceError, _SerdeShape): - """ - The exception that occurs when there is an error in the runtime client. - This can happen due to network issues, invalid configuration, or other - client-side problems. Check the error message for specific details about - the error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class S3FilesConfiguration(_SerdeShape): - """ - The configuration for mounting an Amazon Simple Storage Service (Amazon - S3) Files access point that you own into a session. - """ - - access_point_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Simple Storage Service - (Amazon S3) Files access point to mount. - """ - mount_path: str - """ - The absolute path within the session at which the access point is - mounted, for example `/mnt/s3data`. Each mount path must be unique - across all file system configurations in the session. - """ - file_system_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon Simple Storage Service - (Amazon S3) Files file system that owns the access point. - """ - -@dataclass(kw_only=True) -class S3Location(_SerdeShape): - """The Amazon S3 location configuration of a resource.""" - - bucket: str - """The name of the Amazon S3 bucket where the resource is stored.""" - prefix: str - """The name of the Amazon S3 prefix/key where the resource is stored.""" - version_id: str | None = ... - """ - The name of the Amazon S3 version ID where the resource is stored - (Optional). - """ - -@dataclass(kw_only=True) -class SampleSession(_SerdeShape): - """ - A session affected by an insight or root cause. Use the session ID to - find the per-session evaluation results in CloudWatch Logs. - """ - - session_id: str - """The unique identifier of the session.""" - last_seen_at: datetime | None = ... - """ - The latest timestamp observed for the session in the batch evaluation - input. - """ - findings: list[SessionFinding] | None = ... - """ - The failures found in the session that belong to the insight or root - cause, up to 10. - """ - -@dataclass(kw_only=True) -class SaveBrowserSessionProfileInput(_SerdeShape): - """Dataclass for SaveBrowserSessionProfileInput structure.""" - - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - profile_identifier: str | None = ... - """ - The unique identifier for the browser profile. This identifier is used - to reference the profile when starting new browser sessions. The - identifier must follow the pattern of an alphanumeric name (up to 48 - characters) followed by a hyphen and a 10-character alphanumeric suffix. - """ - browser_identifier: str | None = ... - """ - The unique identifier of the browser associated with the session from - which to save the profile. - """ - session_id: str | None = ... - """ - The unique identifier of the browser session from which to save the - profile. The session must be active when saving the profile. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock AgentCore ignores the request, but does not - return an error. - """ - -@dataclass(kw_only=True) -class SaveBrowserSessionProfileOutput(_SerdeShape): - """Dataclass for SaveBrowserSessionProfileOutput structure.""" - - profile_identifier: str - """The unique identifier of the saved browser profile.""" - browser_identifier: str - """ - The unique identifier of the browser associated with the session from - which the profile was saved. - """ - session_id: str - """ - The unique identifier of the browser session from which the profile was - saved. - """ - last_updated_at: datetime - """ - The timestamp when the browser profile was last updated. This value is - in ISO 8601 format. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ScreenshotArguments(_SerdeShape): - """Arguments for a screenshot action.""" - - format: str | None = ... - """The image format for the screenshot. Defaults to `PNG`.""" - -class ScreenshotFormat(UnknownEnumMixin, StrEnum): - """The image format for a browser screenshot.""" - - PNG = "PNG" - -@dataclass(kw_only=True) -class ScreenshotResult(_SerdeShape): - """The result of a screenshot action.""" - - status: str - """The status of the action execution.""" - error: str | None = ... - """The error message. Present only when the action failed.""" - data: bytes | None = ... - """The base64-encoded image data. Present only when the action succeeded.""" - -@dataclass(kw_only=True) -class SearchCriteria(_SerdeShape): - """Contains search criteria for retrieving memory records.""" - - search_query: str - """The search query to use for finding relevant memory records.""" - memory_strategy_id: str | None = ... - """The memory strategy identifier to filter memory records by.""" - top_k: int = ... - """ - The maximum number of top-scoring memory records to return. This value - is used for semantic search ranking. - """ - metadata_filters: list[MemoryMetadataFilterExpression] | None = ... - """Filters to apply to metadata associated with a memory.""" - -@dataclass(kw_only=True) -class SearchRegistryRecordsInput(_SerdeShape): - """Dataclass for SearchRegistryRecordsInput structure.""" - - search_query: str | None = ... - """The search query to find matching registry records.""" - registry_ids: list[str] | None = ... - """ - The list of registry identifiers to search within. Currently, you can - specify exactly one registry identifier. You can provide either the full - Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric - registry ID. - """ - max_results: int = ... - """ - The maximum number of records to return in a single call. Valid values - are 1 through 20. The default value is 10. - """ - filters: Document | None = ... - """ - A metadata filter expression to narrow search results. Uses structured - JSON operators including field-level operators (`$eq`, `$ne`, `$in`) and - logical operators (`$and`, `$or`) on filterable fields (`name`, - `descriptorType`, `version`). For example, to filter by descriptor type: - `{"descriptorType": {"$eq": "MCP"}}`. To combine filters: - `{"$and": [{"descriptorType": {"$eq": "MCP"}}, {"name": {"$eq": "my-tool"}}]}`. - """ - -@dataclass(kw_only=True) -class SearchRegistryRecordsOutput(_SerdeShape): - """Dataclass for SearchRegistryRecordsOutput structure.""" - - registry_records: list[RegistryRecordSummary] - """ - The list of registry records that match the search query, ordered by - relevance. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SecretsManagerLocation(_SerdeShape): - """The Amazon Web Services Secrets Manager location configuration.""" - - secret_arn: str - """ - The ARN of the Amazon Web Services Secrets Manager secret containing the - certificate. - """ - -@dataclass(kw_only=True) -class ServerDefinition(_SerdeShape): - """ - The MCP server definition with a schema version and inline content. The - `schemaVersion` identifies the version of the MCP server configuration - schema. - """ - - schema_version: str | None = ... - """ - The schema version of the MCP server configuration. The schema version - identifies the format of the server definition content. - """ - inline_content: str | None = ... - """The inline content of the server definition.""" - -@dataclass(kw_only=True) -class ServiceException(ServiceError, _SerdeShape): - """The service encountered an internal error. Try your request again later.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceQuotaExceededException(ServiceError, _SerdeShape): - """ - The exception that occurs when the request would cause a service quota - to be exceeded. Review your service quotas and either reduce your - request rate or request a quota increase. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceUnavailableException(ServiceError, _SerdeShape): - """ - The service can't handle the request right now. Retry the request. If - the response includes `retryAfterSeconds`, wait that many seconds before - you retry. - """ - - retry_after_seconds: int | None = ... - """The number of seconds to wait before you retry the request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SessionFilter(_SerdeShape): - """Contains filter criteria for listing sessions.""" - - event_filter: str | None = ... - """ - The event filter condition to apply. Use this to filter sessions based - on event presence. - """ - -@dataclass(kw_only=True) -class SessionFilterConfig(_SerdeShape): - """ - A time range filter for selecting sessions. Specifies the start and end - times to narrow down which sessions are included. - """ - - start_time: datetime | None = ... - """ - The start time of the time range. Only sessions with activity at or - after this timestamp are included. - """ - end_time: datetime | None = ... - """ - The end time of the time range. Only sessions with activity before this - timestamp are included. - """ - -@dataclass(kw_only=True) -class SessionFinding(_SerdeShape): - """A failure found in a session.""" - - target_id: str | None = ... - """ - The identifier or name of the location in the session where the failure - was found, interpreted according to `targetType`. - """ - target_type: str | None = ... - """The type of location that `targetId` refers to.""" - description: str - """A description of the failure.""" - category: str | None = ... - """The category of the failure.""" - confidence: float | None = ... - """The confidence that the finding is a failure, from 0 to 1.""" - -@dataclass(kw_only=True) -class SessionLimits(_SerdeShape): - """The spending limits configuration for a payment session.""" - - max_spend_amount: Amount - """The maximum amount that can be spent in the session.""" - -@dataclass(kw_only=True) -class SessionMetadataShape(_SerdeShape): - """ - Metadata for a specific session in a batch evaluation, including ground - truth data and test scenario identifiers. - """ - - session_id: str - """The unique identifier of the session this metadata applies to.""" - test_scenario_id: str | None = ... - """ - An optional test scenario identifier for categorizing and tracking - evaluation results. - """ - ground_truth: GroundTruthSource | None = ... - """ - The ground truth data for this session, including expected responses and - assertions. - """ - metadata: dict[str, str] | None = ... - """Additional key-value metadata associated with this session.""" - -class SessionStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "IN_PROGRESS" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class SessionSummary(_SerdeShape): - """ - Contains summary information about a session in an AgentCore Memory - resource. - """ - - session_id: str - """The unique identifier of the session.""" - actor_id: str - """The identifier of the actor associated with the session.""" - created_at: datetime - """The timestamp when the session was created.""" - -@dataclass(kw_only=True) -class SessionTraceIds(_SerdeShape): - """ - A pairing of a session with the specific trace IDs to evaluate within - that session. Use this to evaluate individual traces rather than an - entire session. - """ - - session_id: str - """ - The unique identifier of the session that contains the traces to - evaluate. - """ - trace_ids: list[str] - """The list of trace IDs within the session to evaluate.""" - -@dataclass(kw_only=True) -class SkillDefinition(_SerdeShape): - """ - The structured skill definition with a schema version and inline - content. - """ - - schema_version: str | None = ... - """ - The schema version of the skill definition. If you don't specify a - version, the service detects it automatically. - """ - inline_content: str | None = ... - """The inline content of the skill definition.""" - -@dataclass(kw_only=True) -class SkillMdDefinition(_SerdeShape): - """The skill markdown definition for agent skills descriptors.""" - - inline_content: str | None = ... - """The inline markdown content of the skill definition.""" - -@dataclass(kw_only=True) -class SpanContext(_SerdeShape): - """ - The contextual information that uniquely identifies a span within the - distributed tracing system. Contains session, trace, and span - identifiers used to correlate evaluation results with specific agent - execution points. - """ - - session_id: str - """ - The unique identifier of the session containing this span. Sessions - represent complete conversation flows and are detected using - configurable `SessionTimeoutMinutes` (default 15 minutes). - """ - trace_id: str | None = ... - """ - The unique identifier of the trace containing this span. Traces - represent individual request-response interactions within a session and - group related spans together. - """ - span_id: str | None = ... - """ - The unique identifier of the specific span being referenced. Spans - represent individual operations like tool calls, model invocations, or - other discrete actions within the agent's execution. - """ - -@dataclass(kw_only=True) -class StartBatchEvaluationInput(_SerdeShape): - """Dataclass for StartBatchEvaluationInput structure.""" - - batch_evaluation_name: str | None = ... - """The name of the batch evaluation. Must be unique within your account.""" - evaluators: list[Evaluator] | None = ... - """ - The list of evaluators to apply during the batch evaluation. Can include - both built-in evaluators and custom evaluators. Maximum of 10 - evaluators. - """ - insights: list[Insight] | None = ... - """ - The list of insight analyses to run against sessions during the batch - evaluation. Maximum of 10 insights. - """ - data_source_config: DataSourceConfig | None = ... - """ - The data source configuration that specifies where to pull agent session - traces from for evaluation. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, the service ignores the request, but does not return an error. - """ - evaluation_metadata: EvaluationMetadata | None = ... - """ - Optional metadata for the evaluation, including session-specific ground - truth data and test scenario identifiers. - """ - tags: dict[str, str] | None = ... - """A map of tag keys and values to associate with the batch evaluation.""" - kms_key_arn: str | None = ... - """ - The ARN of the KMS key used to encrypt evaluation data. If provided, - customer data is encrypted at rest with the specified key. - """ - description: str | None = ... - """The description of the batch evaluation.""" - output_config: OutputConfig | None = ... - """Output destination configuration.""" - -@dataclass(kw_only=True) -class StartBatchEvaluationOutput(_SerdeShape): - """Dataclass for StartBatchEvaluationOutput structure.""" - - batch_evaluation_id: str - """The unique identifier of the created batch evaluation.""" - batch_evaluation_arn: str - """The Amazon Resource Name (ARN) of the created batch evaluation.""" - batch_evaluation_name: str - """The name of the batch evaluation.""" - evaluators: list[Evaluator] | None = ... - """The list of evaluators applied during the batch evaluation.""" - insights: list[Insight] | None = ... - """The list of insight analyses applied during the batch evaluation.""" - status: str - """The status of the batch evaluation.""" - created_at: datetime - """The timestamp when the batch evaluation was created.""" - output_config: OutputConfig | None = ... - """ - The output configuration specifying where evaluation results are - written. - """ - tags: dict[str, str] | None = ... - """The tags associated with the batch evaluation.""" - kms_key_arn: str | None = ... - """The ARN of the KMS key used to encrypt evaluation data.""" - description: str | None = ... - """The description of the batch evaluation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartBrowserSessionInput(_SerdeShape): - """Dataclass for StartBrowserSessionInput structure.""" - - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - browser_identifier: str | None = ... - """ - The unique identifier of the browser to use for this session. This - identifier specifies which browser environment to initialize for the - session. - """ - name: str | None = ... - """ - The name of the browser session. This name helps you identify and manage - the session. The name does not need to be unique. - """ - session_timeout_seconds: int = ... - """ - The duration in seconds (time-to-live) after which the session - automatically terminates, regardless of ongoing activity. Defaults to - 3600 seconds (1 hour). Recommended minimum: 60 seconds. Maximum allowed: - 28,800 seconds (8 hours). - """ - view_port: ViewPort | None = ... - """ - The dimensions of the browser viewport for this session. This determines - the visible area of the web content and affects how web pages are - rendered. If not specified, Amazon Bedrock AgentCore uses a default - viewport size. - """ - extensions: list[BrowserExtension] | None = ... - """A list of browser extensions to load into the browser session.""" - profile_configuration: BrowserProfileConfiguration | None = ... - """ - The browser profile configuration to use for this session. A browser - profile contains persistent data such as cookies and local storage that - can be reused across multiple browser sessions. If specified, the - session initializes with the profile's stored data, enabling continuity - for tasks that require authentication or personalized settings. - """ - proxy_configuration: ProxyConfiguration | None = ... - """ - Optional proxy configuration for routing browser traffic through - customer-specified proxy servers. When provided, enables HTTP Basic - authentication via Amazon Web Services Secrets Manager and domain-based - routing rules. Requires `secretsmanager:GetSecretValue` IAM permission - for the specified secret ARNs. - """ - enterprise_policies: list[BrowserEnterprisePolicy] | None = ... - """A list of files containing enterprise policies for the browser.""" - certificates: list[Certificate] | None = ... - """A list of certificates to install in the browser session.""" - filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... - """ - The file system configurations to mount into the browser session. Use - these configurations to mount your own Amazon Simple Storage Service - (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access - points. Your session can then read and write your data. If you don't - specify this field, no additional file systems are mounted. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock AgentCore ignores the request, but does not - return an error. This parameter helps prevent the creation of duplicate - sessions if there are temporary network issues. - """ - -@dataclass(kw_only=True) -class StartBrowserSessionOutput(_SerdeShape): - """Dataclass for StartBrowserSessionOutput structure.""" - - browser_identifier: str - """The identifier of the browser.""" - session_id: str - """The unique identifier of the created browser session.""" - created_at: datetime - """The timestamp when the browser session was created.""" - streams: BrowserSessionStream | None = ... - """ - The streams associated with this browser session. These include the - automation stream and live view stream. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartCodeInterpreterSessionInput(_SerdeShape): - """Dataclass for StartCodeInterpreterSessionInput structure.""" - - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - code_interpreter_identifier: str | None = ... - """ - The unique identifier of the code interpreter to use for this session. - This identifier specifies which code interpreter environment to - initialize for the session. - """ - name: str | None = ... - """ - The name of the code interpreter session. This name helps you identify - and manage the session. The name does not need to be unique. - """ - session_timeout_seconds: int = ... - """ - The duration in seconds (time-to-live) after which the session - automatically terminates, regardless of ongoing activity. Defaults to - 900 seconds (15 minutes). Recommended minimum: 60 seconds. Maximum - allowed: 28,800 seconds (8 hours). - """ - certificates: list[Certificate] | None = ... - """A list of certificates to install in the code interpreter session.""" - filesystem_configurations: list[ToolsFileSystemConfiguration] | None = ... - """ - The file system configurations to mount into the code interpreter - session. Use these configurations to mount your own Amazon Simple - Storage Service (Amazon S3) Files or Amazon Elastic File System (Amazon - EFS) access points. Your session can then read and write your data. If - you don't specify this field, no additional file systems are mounted. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock AgentCore ignores the request, but does not - return an error. This parameter helps prevent the creation of duplicate - sessions if there are temporary network issues. - """ - -@dataclass(kw_only=True) -class StartCodeInterpreterSessionOutput(_SerdeShape): - """Dataclass for StartCodeInterpreterSessionOutput structure.""" - - code_interpreter_identifier: str - """The identifier of the code interpreter.""" - session_id: str - """The unique identifier of the created code interpreter session.""" - created_at: datetime - """The time at which the code interpreter session was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartMemoryExtractionJobInput(_SerdeShape): - """Dataclass for StartMemoryExtractionJobInput structure.""" - - memory_id: str | None = ... - """The unique identifier of the memory for which to start extraction jobs.""" - extraction_job: ExtractionJob | None = ... - """Extraction job to start in this operation.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotent processing of - the request. - """ - -@dataclass(kw_only=True) -class StartMemoryExtractionJobOutput(_SerdeShape): - """Dataclass for StartMemoryExtractionJobOutput structure.""" - - job_id: str - """Extraction Job ID that was attempted to start.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartRecommendationInput(_SerdeShape): - """Dataclass for StartRecommendationInput structure.""" - - name: str | None = ... - """The name of the recommendation. Must be unique within your account.""" - description: str | None = ... - """The description of the recommendation.""" - type: str | None = ... - """ - The type of recommendation to generate. Valid values are - `SYSTEM_PROMPT_RECOMMENDATION` for system prompt optimization or - `TOOL_DESCRIPTION_RECOMMENDATION` for tool description optimization. - """ - recommendation_config: RecommendationConfig | None = ... - """ - The configuration for the recommendation, including the input to - optimize, agent traces to analyze, and evaluation settings. - """ - kms_key_arn: str | None = ... - """ - The ARN of the KMS key used to encrypt recommendation data. If provided, - customer data is encrypted at rest with the specified key. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, the service ignores the request, but does not return an error. - """ - tags: dict[str, str] | None = ... - """A map of tag keys and values to associate with the recommendation.""" - -@dataclass(kw_only=True) -class StartRecommendationOutput(_SerdeShape): - """Dataclass for StartRecommendationOutput structure.""" - - recommendation_id: str - """The unique identifier of the created recommendation.""" - recommendation_arn: str - """The Amazon Resource Name (ARN) of the created recommendation.""" - name: str - """The name of the recommendation.""" - description: str | None = ... - """The description of the recommendation.""" - type: str - """The type of recommendation.""" - recommendation_config: RecommendationConfig - """The configuration for the recommendation.""" - status: str - """The status of the recommendation.""" - created_at: datetime - """The timestamp when the recommendation was created.""" - updated_at: datetime - """The timestamp when the recommendation was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopBatchEvaluationInput(_SerdeShape): - """Dataclass for StopBatchEvaluationInput structure.""" - - batch_evaluation_id: str | None = ... - """The unique identifier of the batch evaluation to stop.""" - -@dataclass(kw_only=True) -class StopBatchEvaluationOutput(_SerdeShape): - """Dataclass for StopBatchEvaluationOutput structure.""" - - batch_evaluation_id: str - """The unique identifier of the stopped batch evaluation.""" - batch_evaluation_arn: str - """The Amazon Resource Name (ARN) of the stopped batch evaluation.""" - status: str - """The status of the batch evaluation after the stop request.""" - description: str | None = ... - """The description of the batch evaluation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopBrowserSessionInput(_SerdeShape): - """Dataclass for StopBrowserSessionInput structure.""" - - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - browser_identifier: str | None = ... - """The unique identifier of the browser associated with the session.""" - session_id: str | None = ... - """The unique identifier of the browser session to stop.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock AgentCore ignores the request, but does not - return an error. - """ - -@dataclass(kw_only=True) -class StopBrowserSessionOutput(_SerdeShape): - """Dataclass for StopBrowserSessionOutput structure.""" - - browser_identifier: str - """The identifier of the browser.""" - session_id: str - """The identifier of the browser session.""" - last_updated_at: datetime - """The time at which the browser session was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopCodeInterpreterSessionInput(_SerdeShape): - """Dataclass for StopCodeInterpreterSessionInput structure.""" - - trace_id: str | None = ... - """The trace identifier for request tracking.""" - trace_parent: str | None = ... - """The parent trace information for distributed tracing.""" - code_interpreter_identifier: str | None = ... - """ - The unique identifier of the code interpreter associated with the - session. - """ - session_id: str | None = ... - """The unique identifier of the code interpreter session to stop.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock AgentCore ignores the request, but does not - return an error. - """ - -@dataclass(kw_only=True) -class StopCodeInterpreterSessionOutput(_SerdeShape): - """Dataclass for StopCodeInterpreterSessionOutput structure.""" - - code_interpreter_identifier: str - """The identifier of the code interpreter.""" - session_id: str - """The identifier of the code interpreter session.""" - last_updated_at: datetime - """The timestamp when the code interpreter session was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopRuntimeSessionInput(_SerdeShape): - """Dataclass for StopRuntimeSessionInput structure.""" - - runtime_session_id: str | None = ... - """The ID of the session that you want to stop.""" - agent_runtime_arn: str | None = ... - """The ARN of the agent that contains the session that you want to stop.""" - qualifier: str | None = ... - """ - Optional qualifier to specify an agent alias, such as `prod`code> or - `dev`. If you don't provide a value, the DEFAULT alias is used. - """ - client_token: str | None = ... - """ - Idempotent token used to identify the request. If you use the same token - with multiple requests, the same response is returned. Use ClientToken - to prevent the same request from being processed more than once. - """ - -@dataclass(kw_only=True) -class StopRuntimeSessionOutput(_SerdeShape): - """Dataclass for StopRuntimeSessionOutput structure.""" - - runtime_session_id: str | None = ... - """The ID of the session that you requested to stop.""" - status_code: int | None = ... - """The status code of the request to stop the session.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class StreamUpdateAutomationStreamUpdate(_SerdeShape): - """The update to an automation stream.""" - - value: AutomationStreamUpdate - -@dataclass -class StreamUpdateUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -StreamUpdate = Union[StreamUpdateAutomationStreamUpdate | StreamUpdateUnknown] -"""Contains information about an update to a stream.""" - -class _StreamUpdateDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> StreamUpdate: ... - -@dataclass(kw_only=True) -class StripePrivyTokenRequestInput(_SerdeShape): - """Stripe Privy token request parameters.""" - - request_host: str | None = ... - """The host for the Privy API request. Defaults to \"api.privy.io\".""" - request_path: str - """The path of the Stripe Privy API request.""" - request_body: str - """Request body JSON for the Privy API call.""" - include_authorization_signature: bool = ... - """Set to true to generate privy-authorization-signature.""" - -@dataclass(kw_only=True) -class StripePrivyTokenResponseOutput(_SerdeShape): - """ - Stripe Privy token response containing appId, basicAuthToken, and - optionally authorizationSignature. - """ - - authorization_signature: str | None = ... - """ - Base64-encoded ECDSA P-256 authorization signature (only present when - includeAuthorizationSignature is true). - """ - request_expiry: int | None = ... - """Unix timestamp in milliseconds when the authorization signature expires.""" - app_id: str - """The Privy app ID for the privy-app-id header.""" - basic_auth_token: str - """ - Base64-encoded Basic Auth token (appId:appSecret) for the Authorization - header. - """ - -@dataclass(kw_only=True) -class SubscriptionRequiredException(ServiceError, _SerdeShape): - """ - Returned when you attempt a wallet operation against a Coinbase - Marketplace connector whose account does not hold an active Marketplace - subscription and is not within the legacy exception period. Subscribe to - the Marketplace listing before you retry the operation. - """ - - subscription_url: str | None = ... - """The URL to the Marketplace listing where you can subscribe.""" - product_name: str | None = ... - """The name of the product that requires a Marketplace subscription.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class SystemPromptConfigText(_SerdeShape): - """The system prompt text provided inline.""" - - value: str - -@dataclass -class SystemPromptConfigConfigurationBundle(_SerdeShape): - """The system prompt sourced from a configuration bundle version.""" - - value: SystemPromptConfigurationBundle - -@dataclass -class SystemPromptConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -SystemPromptConfig = Union[ - SystemPromptConfigText - | SystemPromptConfigConfigurationBundle - | SystemPromptConfigUnknown -] -""" -The system prompt input, either as inline text or from a configuration -bundle. -""" - -class _SystemPromptConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> SystemPromptConfig: ... - -@dataclass(kw_only=True) -class SystemPromptConfigurationBundle(_SerdeShape): - """A system prompt sourced from a configuration bundle version.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle.""" - version_id: str - """The version identifier of the configuration bundle.""" - system_prompt_json_path: str - """ - The JSON path within the configuration bundle that contains the system - prompt. - """ - -@dataclass(kw_only=True) -class SystemPromptRecommendationConfig(_SerdeShape): - """Configuration for generating system prompt optimization recommendations.""" - - system_prompt: SystemPromptConfig - """The current system prompt to optimize.""" - agent_traces: AgentTracesConfig - """The agent traces to analyze for generating recommendations.""" - evaluation_config: RecommendationEvaluationConfig | None = ... - """ - The evaluation configuration specifying which evaluator to use for - assessing recommendation quality. - """ - -@dataclass(kw_only=True) -class SystemPromptRecommendationResult(_SerdeShape): - """ - The result of a system prompt recommendation, containing the optimized - prompt. - """ - - recommended_system_prompt: str | None = ... - """The optimized system prompt text generated by the recommendation.""" - configuration_bundle: RecommendationResultConfigurationBundle | None = ... - """ - The configuration bundle containing the recommended system prompt, if - the input was sourced from a configuration bundle. - """ - explanation: str | None = ... - """ - An explanation of why the recommendation was generated and what patterns - were identified in the agent traces. - """ - error_code: str | None = ... - """The error code if the recommendation failed.""" - error_message: str | None = ... - """The error message if the recommendation failed.""" - -@dataclass(kw_only=True) -class TargetRef(_SerdeShape): - """A reference to a gateway target.""" - - name: str - """The name of the gateway target.""" - -class TaskStatus(UnknownEnumMixin, StrEnum): - SUBMITTED = "submitted" - WORKING = "working" - COMPLETED = "completed" - CANCELED = "canceled" - FAILED = "failed" - -@dataclass(kw_only=True) -class ThrottledException(ServiceError, _SerdeShape): - """ - The request was denied due to request throttling. Reduce the frequency - of requests and try again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ThrottlingException(ServiceError, _SerdeShape): - """ - The exception that occurs when the request was denied due to request - throttling. This happens when you exceed the allowed request rate for an - operation. Reduce the frequency of requests or implement exponential - backoff retry logic in your application. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TokenBalance(_SerdeShape): - """A single token balance entry.""" - - amount: str - """ - Raw balance in the smallest denomination (e.g., USDC base units where 1 - USDC = 1000000). - """ - decimals: int - """Number of decimal places for the token (e.g., 6 for USDC).""" - token: str - """The supported token for this balance.""" - network: str - """The blockchain network family (ETHEREUM or SOLANA).""" - chain: str - """The specific blockchain chain.""" - -@dataclass(kw_only=True) -class TokenUsage(_SerdeShape): - """ - The token consumption statistics for language model operations during - evaluation. Provides detailed breakdown of input, output, and total - tokens used for cost tracking and performance monitoring. - """ - - input_tokens: int | None = ... - """ - The number of tokens consumed for input processing during the - evaluation. Includes tokens from the evaluation prompt, agent traces, - and any additional context provided to the evaluator model. - """ - output_tokens: int | None = ... - """ - The number of tokens generated by the evaluator model in its response. - Includes tokens for the score, explanation, and any additional output - produced during the evaluation process. - """ - total_tokens: int | None = ... - """ - The total number of tokens consumed during the evaluation, calculated as - the sum of input and output tokens. Used for cost calculation and rate - limiting within the service limits. - """ - -@dataclass(kw_only=True) -class ToolArguments(_SerdeShape): - """ - The collection of arguments that specify the operation to perform and - its parameters when invoking a tool in Amazon Bedrock AgentCore. - Different tools require different arguments, and this structure provides - a flexible way to pass the appropriate arguments to each tool type. - """ - - code: str | None = ... - """ - The code to execute in a code interpreter session. This is the source - code in the specified programming language that will be executed by the - code interpreter. - """ - language: str | None = ... - """ - The programming language of the code to execute. This tells the code - interpreter which language runtime to use for execution. - """ - clear_context: bool | None = ... - """Whether to clear the context for the tool.""" - command: str | None = ... - """The command to execute with the tool.""" - path: str | None = ... - """The path for the tool operation.""" - paths: list[str] | None = ... - """The paths for the tool operation.""" - content: list[InputContentBlock] | None = ... - """The content for the tool operation.""" - directory_path: str | None = ... - """The directory path for the tool operation.""" - task_id: str | None = ... - """The identifier of the task for the tool operation.""" - runtime: str | None = ... - """ - The runtime environment to use for code execution. If not specified, - defaults to `deno` for JavaScript and TypeScript. - """ - -@dataclass -class ToolDescriptionConfigText(_SerdeShape): - """The tool description as inline text.""" - - value: str - -@dataclass -class ToolDescriptionConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ToolDescriptionConfig = Union[ToolDescriptionConfigText | ToolDescriptionConfigUnknown] -"""The tool description content.""" - -class _ToolDescriptionConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ToolDescriptionConfig: ... - -@dataclass(kw_only=True) -class ToolDescriptionConfigurationBundle(_SerdeShape): - """Tool descriptions sourced from a configuration bundle version.""" - - bundle_arn: str - """The Amazon Resource Name (ARN) of the configuration bundle.""" - version_id: str - """The version identifier of the configuration bundle.""" - tools: list[ConfigurationBundleToolEntry] - """ - The list of tool entries mapping tool names to their JSON paths within - the bundle. - """ - -@dataclass(kw_only=True) -class ToolDescriptionInput(_SerdeShape): - """ - A tool description input containing the tool name and its current - description. - """ - - tool_name: str - """The name of the tool.""" - tool_description: ToolDescriptionConfig - """The current description of the tool to optimize.""" - -@dataclass(kw_only=True) -class ToolDescriptionOutput(_SerdeShape): - """The output for a single tool description recommendation.""" - - tool_name: str - """The name of the tool.""" - recommended_tool_description: str | None = ... - """The optimized tool description text generated by the recommendation.""" - explanation: str | None = ... - """ - An explanation of why the recommendation was generated for this tool and - what patterns were identified in the agent traces. - """ - -@dataclass(kw_only=True) -class ToolDescriptionRecommendationConfig(_SerdeShape): - """ - Configuration for generating tool description optimization - recommendations. - """ - - tool_description: ToolDescriptionSource - """The current tool descriptions to optimize.""" - agent_traces: AgentTracesConfig - """ - The agent traces to analyze for generating tool description - recommendations. - """ - -@dataclass(kw_only=True) -class ToolDescriptionRecommendationResult(_SerdeShape): - """ - The result of a tool description recommendation, containing optimized - descriptions. - """ - - tools: list[ToolDescriptionOutput] | None = ... - """The list of tools with their recommended descriptions.""" - configuration_bundle: RecommendationResultConfigurationBundle | None = ... - """ - The configuration bundle containing the recommended tool descriptions, - if the input was sourced from a configuration bundle. - """ - error_code: str | None = ... - """The error code if the recommendation failed.""" - error_message: str | None = ... - """The error message if the recommendation failed.""" - -@dataclass -class ToolDescriptionSourceToolDescriptionText(_SerdeShape): - """Tool descriptions provided as inline text.""" - - value: ToolDescriptionTextInput - -@dataclass -class ToolDescriptionSourceConfigurationBundle(_SerdeShape): - """Tool descriptions sourced from a configuration bundle version.""" - - value: ToolDescriptionConfigurationBundle - -@dataclass -class ToolDescriptionSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ToolDescriptionSource = Union[ - ToolDescriptionSourceToolDescriptionText - | ToolDescriptionSourceConfigurationBundle - | ToolDescriptionSourceUnknown -] -""" -The source of tool descriptions, either inline text or from a -configuration bundle. -""" - -class _ToolDescriptionSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ToolDescriptionSource: ... - -@dataclass(kw_only=True) -class ToolDescriptionTextInput(_SerdeShape): - """Inline tool description input containing a list of tools.""" - - tools: list[ToolDescriptionInput] - """The list of tool descriptions to optimize.""" - -class ToolName(UnknownEnumMixin, StrEnum): - EXECUTE_CODE = "executeCode" - EXECUTE_COMMAND = "executeCommand" - READ_FILES = "readFiles" - LIST_FILES = "listFiles" - REMOVE_FILES = "removeFiles" - WRITE_FILES = "writeFiles" - START_COMMAND_EXECUTION = "startCommandExecution" - GET_TASK = "getTask" - STOP_TASK = "stopTask" - -@dataclass(kw_only=True) -class ToolResultStructuredContent(_SerdeShape): - """Contains structured content from a tool result.""" - - task_id: str | None = ... - """The identifier of the task that produced the result.""" - task_status: str | None = ... - """The status of the task that produced the result.""" - stdout: str | None = ... - """The standard output from the tool execution.""" - stderr: str | None = ... - """The standard error output from the tool execution.""" - exit_code: int | None = ... - """The exit code from the tool execution.""" - execution_time: float | None = ... - """The execution time of the tool operation in milliseconds.""" - -@dataclass(kw_only=True) -class ToolsDefinition(_SerdeShape): - """ - The MCP tools definition with a protocol version and inline content. The - `protocolVersion` identifies the MCP protocol version that the tools - conform to. This differs from `schemaVersion` in the server definition, - which identifies the server configuration schema format. - """ - - protocol_version: str | None = ... - """ - The MCP protocol version that the tools conform to. This differs from - the `schemaVersion` field in the server definition, which identifies the - server configuration schema format. - """ - inline_content: str | None = ... - """The inline content of the tools definition.""" - -@dataclass -class ToolsFileSystemConfigurationS3FilesConfiguration(_SerdeShape): - """ - The configuration for mounting your own Amazon Simple Storage Service - (Amazon S3) Files access point into the session. - """ - - value: S3FilesConfiguration - -@dataclass -class ToolsFileSystemConfigurationEfsConfiguration(_SerdeShape): - """ - The configuration for mounting your own Amazon Elastic File System - (Amazon EFS) access point into the session. - """ - - value: EfsConfiguration - -@dataclass -class ToolsFileSystemConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ToolsFileSystemConfiguration = Union[ - ToolsFileSystemConfigurationS3FilesConfiguration - | ToolsFileSystemConfigurationEfsConfiguration - | ToolsFileSystemConfigurationUnknown -] -""" -Specifies a file system to mount into the session by providing exactly -one of the following: - -- `s3FilesConfiguration` - Mounts an Amazon Simple Storage Service - (Amazon S3) Files access point. - -- `efsConfiguration` - Mounts an Amazon Elastic File System (Amazon EFS) - access point. -""" - -class _ToolsFileSystemConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ToolsFileSystemConfiguration: ... - -@dataclass(kw_only=True) -class UnauthorizedException(ServiceError, _SerdeShape): - """ - This exception is thrown when the JWT bearer token is invalid or not - found for OAuth bearer token based access - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateABTestInput(_SerdeShape): - """Dataclass for UpdateABTestInput structure.""" - - ab_test_id: str | None = ... - """The unique identifier of the A/B test to update.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, the service ignores the request, but does not return an error. - """ - name: str | None = ... - """The updated name of the A/B test.""" - description: str | None = ... - """The updated description of the A/B test.""" - variants: list[Variant] | None = ... - """The updated list of variants.""" - gateway_filter: GatewayFilter | None = ... - """The updated gateway filter.""" - evaluation_config: ABTestEvaluationConfig | None = ... - """The updated evaluation configuration.""" - role_arn: str | None = ... - """The updated IAM role ARN.""" - execution_status: str | None = ... - """The updated execution status to enable or disable the A/B test.""" - -@dataclass(kw_only=True) -class UpdateABTestOutput(_SerdeShape): - """Dataclass for UpdateABTestOutput structure.""" - - ab_test_id: str - """The unique identifier of the updated A/B test.""" - ab_test_arn: str - """The Amazon Resource Name (ARN) of the updated A/B test.""" - status: str - """The status of the A/B test.""" - execution_status: str - """The execution status of the A/B test.""" - updated_at: datetime - """The timestamp when the A/B test was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateBrowserStreamInput(_SerdeShape): - """Dataclass for UpdateBrowserStreamInput structure.""" - - browser_identifier: str | None = ... - """The identifier of the browser.""" - session_id: str | None = ... - """The identifier of the browser session.""" - stream_update: StreamUpdate | None = ... - """The update to apply to the browser stream.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. - """ - -@dataclass(kw_only=True) -class UpdateBrowserStreamOutput(_SerdeShape): - """Dataclass for UpdateBrowserStreamOutput structure.""" - - browser_identifier: str - """The identifier of the browser.""" - session_id: str - """The identifier of the browser session.""" - streams: BrowserSessionStream - """ - The collection of streams associated with a browser session in Amazon - Bedrock AgentCore. These streams provide different ways to interact with - and observe the browser session, including programmatic control and - visual representation of the browser content. - """ - updated_at: datetime - """The time at which the browser stream was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class UserIdentifierUserToken(_SerdeShape): - """ - The OAuth2.0 token issued by the user's identity provider that was used - to generate the workload access token - """ - - value: str - -@dataclass -class UserIdentifierUserId(_SerdeShape): - """ - The ID of the user for whom you have retrieved a workload access token - for - """ - - value: str - -@dataclass -class UserIdentifierUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -UserIdentifier = Union[ - UserIdentifierUserToken | UserIdentifierUserId | UserIdentifierUnknown -] -""" -The OAuth2.0 token or user ID that was used to generate the workload -access token used for initiating the user authorization flow to retrieve -OAuth2.0 tokens. -""" - -class _UserIdentifierDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> UserIdentifier: ... - -@dataclass(kw_only=True) -class UserIntentAffectedSession(_SerdeShape): - """A session associated with a user intent cluster.""" - - session_id: str - """The unique identifier of the session.""" - user_messages: list[str] - """ - The user messages from this session that contributed to the intent - cluster. - """ - -@dataclass(kw_only=True) -class UserIntentCluster(_SerdeShape): - """A cluster of similar user intents identified across sessions.""" - - cluster_id: int - """The unique identifier of the user intent cluster.""" - name: str - """The name of the user intent cluster.""" - description: str - """A description of the user intent pattern.""" - affected_session_count: int - """The number of sessions with this user intent.""" - affected_sessions: list[UserIntentAffectedSession] - """The list of sessions with this user intent.""" - -@dataclass(kw_only=True) -class UserIntentClusteringResultContent(_SerdeShape): - """ - The user intent clustering result containing grouped user intents - identified across evaluated sessions. - """ - - user_intents: list[UserIntentCluster] - """The list of user intent clusters identified across analyzed sessions.""" - -@dataclass(kw_only=True) -class ValidationException(ServiceError, _SerdeShape): - """ - The exception that occurs when the input fails to satisfy the - constraints specified by the service. Check the error message for - details about which input parameter is invalid and correct your request. - """ - - reason: str - field_list: list[ValidationExceptionField] | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ValidationExceptionField(_SerdeShape): - """ - Stores information about a field passed inside a request that resulted - in an exception. - """ - - name: str - """The name of the field.""" - message: str - """A message describing why this field failed validation.""" - -class ValidationExceptionReason(UnknownEnumMixin, StrEnum): - CANNOT_PARSE = "CannotParse" - FIELD_VALIDATION_FAILED = "FieldValidationFailed" - IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION = "IdempotentParameterMismatchException" - ROOT_EVENT_IN_OTHER_SESSION = "EventInOtherSession" - RESOURCE_CONFLICT = "ResourceConflict" - -@dataclass(kw_only=True) -class Variant(_SerdeShape): - """ - A variant in an A/B test, representing either the control (C) or - treatment (T1) configuration. - """ - - name: str - """The name of the variant. Must be `C` for control or `T1` for treatment.""" - weight: int - """ - The percentage of traffic to route to this variant. Weights across all - variants must sum to 100. - """ - variant_configuration: VariantConfiguration - """ - The configuration for this variant, including the configuration bundle - or target reference. - """ - -@dataclass(kw_only=True) -class VariantConfiguration(_SerdeShape): - """The configuration for an A/B test variant.""" - - configuration_bundle: ConfigurationBundleRef | None = ... - """A reference to a configuration bundle version to use for this variant.""" - target: TargetRef | None = ... - """A reference to a gateway target to route traffic to for this variant.""" - -@dataclass(kw_only=True) -class VariantResult(_SerdeShape): - """ - Statistical results for a treatment variant compared against the - control. - """ - - variant_name: str - """The name of the treatment variant.""" - sample_size: int - """The number of sessions evaluated for this variant.""" - mean: float - """The mean evaluation score for this variant.""" - absolute_change: float | None = ... - """The absolute change in mean score compared to the control variant.""" - percent_change: float | None = ... - """The percentage change in mean score compared to the control variant.""" - p_value: float | None = ... - """ - The p-value indicating the statistical significance of the observed - difference. - """ - confidence_interval: ConfidenceInterval | None = ... - """The confidence interval for the observed difference.""" - is_significant: bool - """Whether the observed difference is statistically significant.""" - -@dataclass(kw_only=True) -class ViewPort(_SerdeShape): - """ - The configuration that defines the dimensions of a browser viewport in a - browser session. The viewport determines the visible area of web content - and affects how web pages are rendered and displayed. Proper viewport - configuration ensures that web content is displayed correctly for the - agent's browsing tasks. - """ - - width: int - """ - The width of the viewport in pixels. This value determines the - horizontal dimension of the visible area. Valid values range from 800 to - 1920 pixels. - """ - height: int - """ - The height of the viewport in pixels. This value determines the vertical - dimension of the visible area. Valid values range from 600 to 1080 - pixels. - """ - -@dataclass(kw_only=True) -class WebSearchFilters(_SerdeShape): - """The filters to apply to a web search.""" - - domain_filter: DomainFilter | None = ... - """The domains to include in or exclude from the results.""" - published_date_filter: PublishedDateFilter | None = ... - """The publication time range of the results.""" - -@dataclass(kw_only=True) -class WebSearchResult(_SerdeShape): - """A web search result.""" - - title: str | None = ... - """The title of the page.""" - url: str | None = ... - """The URL of the page.""" - text: str - """A text extract from the page.""" - published_at: datetime | None = ... - """ - The time the page was published. This field is absent when the - publication time is not known. - """ - -@dataclass(kw_only=True) -class Unit(_SerdeShape): - """Dataclass for Unit structure.""" - BATCH_CREATE_MEMORY_RECORDS: APIOperation[ BatchCreateMemoryRecordsInput, BatchCreateMemoryRecordsOutput ] diff --git a/clients/aws-sdk-bedrock-agentcore/tests/test_endpoints.py b/clients/aws-sdk-bedrock-agentcore/tests/test_endpoints.py index e76d53788..a8b3769d3 100644 --- a/clients/aws-sdk-bedrock-agentcore/tests/test_endpoints.py +++ b/clients/aws-sdk-bedrock-agentcore/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-bedrock-data-automation-runtime/pyproject.toml b/clients/aws-sdk-bedrock-data-automation-runtime/pyproject.toml index 252e66c0b..fdf9d3df5 100644 --- a/clients/aws-sdk-bedrock-data-automation-runtime/pyproject.toml +++ b/clients/aws-sdk-bedrock-data-automation-runtime/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_bedrock_data_automation_runtime" version = "0.12.0" -description = "aws_sdk_bedrock_data_automation_runtime client" +description = "Python client for Runtime for Amazon Bedrock Data Automation" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_bedrock_data_automation_runtime"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/aio/client.py b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/aio/client.py index e62c58202..9470ddb20 100644 --- a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/aio/client.py +++ b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/aio/config.py b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/aio/config.py index 75c5fb383..1160cb431 100644 --- a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/aio/config.py +++ b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson11ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/client.py b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/client.py index cd318410a..79d507f56 100644 --- a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/client.py +++ b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/config.py b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/config.py index 23b627c6b..7d4b0f1a4 100644 --- a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/config.py +++ b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson11ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/models.pyi b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/models.pyi index 19b80e0e5..5d12a3285 100644 --- a/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/models.pyi +++ b/clients/aws-sdk-bedrock-data-automation-runtime/src/aws_sdk_bedrock_data_automation_runtime/models.pyi @@ -167,7 +167,7 @@ class InvokeDataAutomationAsyncInput(_SerdeShape): """Invoke Data Automation Async Request""" client_token: str | None = ... - """Idempotency token.""" + """Idempotency token. This field is autopopulated if not provided.""" input_configuration: InputConfiguration | None = ... """Input configuration.""" output_configuration: OutputConfiguration | None = ... diff --git a/clients/aws-sdk-bedrock-data-automation-runtime/tests/test_endpoints.py b/clients/aws-sdk-bedrock-data-automation-runtime/tests/test_endpoints.py index 61f82e224..45ac343de 100644 --- a/clients/aws-sdk-bedrock-data-automation-runtime/tests/test_endpoints.py +++ b/clients/aws-sdk-bedrock-data-automation-runtime/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-bedrock-data-automation/pyproject.toml b/clients/aws-sdk-bedrock-data-automation/pyproject.toml index 86eb8f79c..386aad524 100644 --- a/clients/aws-sdk-bedrock-data-automation/pyproject.toml +++ b/clients/aws-sdk-bedrock-data-automation/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_bedrock_data_automation" version = "0.12.0" -description = "aws_sdk_bedrock_data_automation client" +description = "Python client for Data Automation for Amazon Bedrock" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_bedrock_data_automation"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas.py b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas.py index fca12449c..0e66ec589 100644 --- a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas.py +++ b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas.py @@ -1,3164 +1,285 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.bedrockdataautomation" -_NBS = "NonBlankString" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_m = "message" -_BOIA = "BlueprintOptimizationInvocationArn" -_GBOSI = "GetBlueprintOptimizationStatusInput" -_sSI = "smithy.synthetic#originalShapeId" -_cGBOSR = "com.amazonaws.bedrockdataautomation#GetBlueprintOptimizationStatusRequest" -_sm = "smithy.api#input" -_iA = "invocationArn" -_smi = "smithy.api#required" -_sL = "smithy.api#httpLabel" -_SU = "S3Uri" -_SOV = "S3ObjectVersion" -_SO = "S3Object" -_sU = "s3Uri" -_v = "version" -_BOOC = "BlueprintOptimizationOutputConfiguration" -_sO = "s3Object" -_BOJS = "BlueprintOptimizationJobStatus" -_CREATED = "CREATED" -_sV = "smithy.api#enumValue" -_C = "Created" -_IP = "IN_PROGRESS" -_IPn = "InProgress" -_SUCCESS = "SUCCESS" -_S = "Success" -_SE = "SERVICE_ERROR" -_SEe = "ServiceError" -_CE = "CLIENT_ERROR" -_CEl = "ClientError" -_GBOSO = "GetBlueprintOptimizationStatusOutput" -_cGBOSRo = "com.amazonaws.bedrockdataautomation#GetBlueprintOptimizationStatusResponse" -_smit = "smithy.api#output" -_st = "status" -_eT = "errorType" -_eM = "errorMessage" -_oC = "outputConfiguration" -_ISE = "InternalServerException" -_se = "server" -_RNFE = "ResourceNotFoundException" -_TE = "ThrottlingException" -_VEF = "ValidationExceptionField" -_n = "name" -_VEFL = "ValidationExceptionFieldList" -_me = "member" -_VE = "ValidationException" -_fL = "fieldList" -_GBOS = "GetBlueprintOptimizationStatus" -_smith = "smithy.api#http" -_BA = "BlueprintArn" -_BS = "BlueprintStage" -_DEVELOPMENT = "DEVELOPMENT" -_LIVE = "LIVE" -_BOO = "BlueprintOptimizationObject" -_bA = "blueprintArn" -_sta = "stage" -_DAPA = "DataAutomationProfileArn" -_ECK = "EncryptionContextKey" -_ECV = "EncryptionContextValue" -_KEC = "KmsEncryptionContext" -_k = "key" -_va = "value" -_KKI = "KmsKeyId" -_EC = "EncryptionConfiguration" -_kKI = "kmsKeyId" -_kEC = "kmsEncryptionContext" -_BOS = "BlueprintOptimizationSample" -_aSO = "assetS3Object" -_gTSO = "groundTruthS3Object" -_BOSl = "BlueprintOptimizationSamples" -_TK = "TagKey" -_TV = "TagValue" -_T = "Tag" -_TL = "TagList" -_IBOAI = "InvokeBlueprintOptimizationAsyncInput" -_cIBOAR = "com.amazonaws.bedrockdataautomation#InvokeBlueprintOptimizationAsyncRequest" -_b = "blueprint" -_sa = "samples" -_dAPA = "dataAutomationProfileArn" -_eC = "encryptionConfiguration" -_t = "tags" -_IBOAO = "InvokeBlueprintOptimizationAsyncOutput" -_cIBOARo = ( - "com.amazonaws.bedrockdataautomation#InvokeBlueprintOptimizationAsyncResponse" -) -_SQEE = "ServiceQuotaExceededException" -_IBOA = "InvokeBlueprintOptimizationAsync" -_CEo = "ConflictException" -_BN = "BlueprintName" -_smithy = "smithy.api#sensitive" -_CT = "ClientToken" -_BSl = "BlueprintSchema" -_Ty = "Type" -_DOCUMENT = "DOCUMENT" -_IMAGE = "IMAGE" -_AUDIO = "AUDIO" -_VIDEO = "VIDEO" -_CBI = "CreateBlueprintInput" -_cCBR = "com.amazonaws.bedrockdataautomation#CreateBlueprintRequest" -_bN = "blueprintName" -_ty = "type" -_bS = "blueprintStage" -_sc = "schema" -_cT = "clientToken" -_sT = "smithy.api#idempotencyToken" -_BV = "BlueprintVersion" -_DT = "DateTimestamp" -_sF = "smithy.api#timestampFormat" -_dt = "date-time" -_B = "Blueprint" -_cTr = "creationTime" -_lMT = "lastModifiedTime" -_bV = "blueprintVersion" -_oS = "optimizationSamples" -_oT = "optimizationTime" -_CBO = "CreateBlueprintOutput" -_cCBRo = "com.amazonaws.bedrockdataautomation#CreateBlueprintResponse" -_CB = "CreateBlueprint" -_DBI = "DeleteBlueprintInput" -_cDBR = "com.amazonaws.bedrockdataautomation#DeleteBlueprintRequest" -_sQ = "smithy.api#httpQuery" -_DBO = "DeleteBlueprintOutput" -_cDBRo = "com.amazonaws.bedrockdataautomation#DeleteBlueprintResponse" -_DB = "DeleteBlueprint" -_GBI = "GetBlueprintInput" -_cGBR = "com.amazonaws.bedrockdataautomation#GetBlueprintRequest" -_GBO = "GetBlueprintOutput" -_cGBRo = "com.amazonaws.bedrockdataautomation#GetBlueprintResponse" -_GB = "GetBlueprint" -_BSF = "BlueprintStageFilter" -_ALL = "ALL" -_MR = "MaxResults" -_NT = "NextToken" -_DAPAa = "DataAutomationProjectArn" -_DAPS = "DataAutomationProjectStage" -_DAPF = "DataAutomationProjectFilter" -_pA = "projectArn" -_pS = "projectStage" -_RO = "ResourceOwner" -_SERVICE = "SERVICE" -_ACCOUNT = "ACCOUNT" -_LBI = "ListBlueprintsInput" -_cLBR = "com.amazonaws.bedrockdataautomation#ListBlueprintsRequest" -_rO = "resourceOwner" -_bSF = "blueprintStageFilter" -_mR = "maxResults" -_nT = "nextToken" -_pF = "projectFilter" -_BSlu = "BlueprintSummary" -_Bl = "Blueprints" -_LBO = "ListBlueprintsOutput" -_cLBRo = "com.amazonaws.bedrockdataautomation#ListBlueprintsResponse" -_bl = "blueprints" -_LB = "ListBlueprints" -_UBI = "UpdateBlueprintInput" -_cUBR = "com.amazonaws.bedrockdataautomation#UpdateBlueprintRequest" -_UBO = "UpdateBlueprintOutput" -_cUBRo = "com.amazonaws.bedrockdataautomation#UpdateBlueprintResponse" -_UB = "UpdateBlueprint" -_CBSI = "CopyBlueprintStageInput" -_cCBSR = "com.amazonaws.bedrockdataautomation#CopyBlueprintStageRequest" -_sS = "sourceStage" -_tS = "targetStage" -_CBSO = "CopyBlueprintStageOutput" -_cCBSRo = "com.amazonaws.bedrockdataautomation#CopyBlueprintStageResponse" -_CBS = "CopyBlueprintStage" -_CBVI = "CreateBlueprintVersionInput" -_cCBVR = "com.amazonaws.bedrockdataautomation#CreateBlueprintVersionRequest" -_CBVO = "CreateBlueprintVersionOutput" -_cCBVRo = "com.amazonaws.bedrockdataautomation#CreateBlueprintVersionResponse" -_CBV = "CreateBlueprintVersion" -_DALIJA = "DataAutomationLibraryIngestionJobArn" -_DALA = "DataAutomationLibraryArn" -_GDALIJI = "GetDataAutomationLibraryIngestionJobInput" -_cGDALIJR = ( - "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryIngestionJobRequest" -) -_lA = "libraryArn" -_jA = "jobArn" -_ET = "EntityType" -_VOCABULARY = "VOCABULARY" -_LIJS = "LibraryIngestionJobStatus" -_COMPLETED = "COMPLETED" -_CWE = "COMPLETED_WITH_ERRORS" -_FAILED = "FAILED" -_LIJOT = "LibraryIngestionJobOperationType" -_UPSERT = "UPSERT" -_DELETE = "DELETE" -_OC = "OutputConfiguration" -_DALIJ = "DataAutomationLibraryIngestionJob" -_eTn = "entityType" -_oTp = "operationType" -_jS = "jobStatus" -_cTo = "completionTime" -_GDALIJO = "GetDataAutomationLibraryIngestionJobOutput" -_cGDALIJRo = ( - "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryIngestionJobResponse" -) -_j = "job" -_GDALIJ = "GetDataAutomationLibraryIngestionJob" -_EI = "EntityId" -_EIL = "EntityIdList" -_DEI = "DeleteEntitiesInfo" -_eI = "entityIds" -_ED = "EntityDescription" -_L = "Language" -_EN = "EN" -_DE = "DE" -_ES = "ES" -_FR = "FR" -_IT = "IT" -_PT = "PT" -_JA = "JA" -_KO = "KO" -_CN = "CN" -_TW = "TW" -_HK = "HK" -_PDAT = "PhraseDisplayAsText" -_PTh = "PhraseText" -_P = "Phrase" -_te = "text" -_dAT = "displayAsText" -_PL = "PhraseList" -_VEI = "VocabularyEntityInfo" -_eIn = "entityId" -_d = "description" -_l = "language" -_p = "phrases" -_UEI = "UpsertEntityInfo" -_vo = "vocabulary" -_UEIp = "UpsertEntitiesInfo" -_IPnl = "InlinePayload" -_uEI = "upsertEntitiesInfo" -_dEI = "deleteEntitiesInfo" -_IC = "InputConfiguration" -_iP = "inlinePayload" -_EBC = "EventBridgeConfiguration" -_eBE = "eventBridgeEnabled" -_NC = "NotificationConfiguration" -_eBC = "eventBridgeConfiguration" -_IDALIJI = "InvokeDataAutomationLibraryIngestionJobInput" -_cIDALIJR = ( - "com.amazonaws.bedrockdataautomation#InvokeDataAutomationLibraryIngestionJobRequest" -) -_iC = "inputConfiguration" -_nC = "notificationConfiguration" -_IDALIJO = "InvokeDataAutomationLibraryIngestionJobOutput" -_cIDALIJRo = "com.amazonaws.bedrockdataautomation#InvokeDataAutomationLibraryIngestionJobResponse" -_IDALIJ = "InvokeDataAutomationLibraryIngestionJob" -_LDALIJI = "ListDataAutomationLibraryIngestionJobsInput" -_cLDALIJR = ( - "com.amazonaws.bedrockdataautomation#ListDataAutomationLibraryIngestionJobsRequest" -) -_DALIJS = "DataAutomationLibraryIngestionJobSummary" -_DALIJSa = "DataAutomationLibraryIngestionJobSummaries" -_LDALIJO = "ListDataAutomationLibraryIngestionJobsOutput" -_cLDALIJRo = ( - "com.amazonaws.bedrockdataautomation#ListDataAutomationLibraryIngestionJobsResponse" -) -_jo = "jobs" -_LDALIJ = "ListDataAutomationLibraryIngestionJobs" -_DALD = "DataAutomationLibraryDescription" -_DALN = "DataAutomationLibraryName" -_CDALI = "CreateDataAutomationLibraryInput" -_cCDALR = "com.amazonaws.bedrockdataautomation#CreateDataAutomationLibraryRequest" -_lN = "libraryName" -_lD = "libraryDescription" -_DALS = "DataAutomationLibraryStatus" -_ACTIVE = "ACTIVE" -_DELETING = "DELETING" -_CDALO = "CreateDataAutomationLibraryOutput" -_cCDALRo = "com.amazonaws.bedrockdataautomation#CreateDataAutomationLibraryResponse" -_CDAL = "CreateDataAutomationLibrary" -_DDALI = "DeleteDataAutomationLibraryInput" -_cDDALR = "com.amazonaws.bedrockdataautomation#DeleteDataAutomationLibraryRequest" -_DDALO = "DeleteDataAutomationLibraryOutput" -_cDDALRo = "com.amazonaws.bedrockdataautomation#DeleteDataAutomationLibraryResponse" -_DDAL = "DeleteDataAutomationLibrary" -_GDALI = "GetDataAutomationLibraryInput" -_cGDALR = "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryRequest" -_EM = "EntityMetadata" -_ETI = "EntityTypeInfo" -_eMn = "entityMetadata" -_ETIL = "EntityTypeInfoList" -_DAL = "DataAutomationLibrary" -_eTnt = "entityTypes" -_GDALO = "GetDataAutomationLibraryOutput" -_cGDALRo = "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryResponse" -_li = "library" -_GDAL = "GetDataAutomationLibrary" -_LDALI = "ListDataAutomationLibrariesInput" -_cLDALR = "com.amazonaws.bedrockdataautomation#ListDataAutomationLibrariesRequest" -_DALSa = "DataAutomationLibrarySummary" -_DALSat = "DataAutomationLibrarySummaries" -_LDALO = "ListDataAutomationLibrariesOutput" -_cLDALRo = "com.amazonaws.bedrockdataautomation#ListDataAutomationLibrariesResponse" -_lib = "libraries" -_LDAL = "ListDataAutomationLibraries" -_UDALI = "UpdateDataAutomationLibraryInput" -_cUDALR = "com.amazonaws.bedrockdataautomation#UpdateDataAutomationLibraryRequest" -_UDALO = "UpdateDataAutomationLibraryOutput" -_cUDALRo = "com.amazonaws.bedrockdataautomation#UpdateDataAutomationLibraryResponse" -_UDAL = "UpdateDataAutomationLibrary" -_BI = "BlueprintItem" -_BIl = "BlueprintItems" -_FBI = "FallbackBlueprintItems" -_DCOC = "DocumentCustomOutputConfiguration" -_fB = "fallbackBlueprints" -_COC = "CustomOutputConfiguration" -_do = "document" -_DALI = "DataAutomationLibraryItem" -_DALIa = "DataAutomationLibraryItems" -_DALC = "DataAutomationLibraryConfiguration" -_AGOL = "AudioGenerativeOutputLanguage" -_DEFAULT = "DEFAULT" -_AIL = "AudioInputLanguages" -_ALC = "AudioLanguageConfiguration" -_iL = "inputLanguages" -_gOL = "generativeOutputLanguage" -_iML = "identifyMultipleLanguages" -_St = "State" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_MPC = "ModalityProcessingConfiguration" -_stat = "state" -_SDDM = "SensitiveDataDetectionMode" -_DETECTION = "DETECTION" -_DAR = "DETECTION_AND_REDACTION" -_SDDST = "SensitiveDataDetectionScopeType" -_STANDARD = "STANDARD" -_CUSTOM = "CUSTOM" -_SDDS = "SensitiveDataDetectionScope" -_PIIET = "PIIEntityType" -_ADDRESS = "ADDRESS" -_AGE = "AGE" -_NAME = "NAME" -_EMAIL = "EMAIL" -_PHONE = "PHONE" -_USERNAME = "USERNAME" -_PASSWORD = "PASSWORD" -_DI = "DRIVER_ID" -_LP = "LICENSE_PLATE" -_VIN = "VEHICLE_IDENTIFICATION_NUMBER" -_CDCC = "CREDIT_DEBIT_CARD_CVV" -_CDCE = "CREDIT_DEBIT_CARD_EXPIRY" -_CDCN = "CREDIT_DEBIT_CARD_NUMBER" -_PIN = "PIN" -_IBAN = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" -_SC = "SWIFT_CODE" -_IA = "IP_ADDRESS" -_MA = "MAC_ADDRESS" -_URL = "URL" -_AAK = "AWS_ACCESS_KEY" -_ASK = "AWS_SECRET_KEY" -_UBAN = "US_BANK_ACCOUNT_NUMBER" -_UBRN = "US_BANK_ROUTING_NUMBER" -_UITIN = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" -_UPN = "US_PASSPORT_NUMBER" -_USSN = "US_SOCIAL_SECURITY_NUMBER" -_CHN = "CA_HEALTH_NUMBER" -_CSIN = "CA_SOCIAL_INSURANCE_NUMBER" -_UNHSN = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" -_UNIN = "UK_NATIONAL_INSURANCE_NUMBER" -_UUTRN = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" -_PIIETn = "PIIEntityTypes" -_PIIRMM = "PIIRedactionMaskMode" -_PII = "PII" -_ET_ = "ENTITY_TYPE" -_PIIEC = "PIIEntitiesConfiguration" -_pET = "piiEntityTypes" -_rMM = "redactionMaskMode" -_SDC = "SensitiveDataConfiguration" -_dM = "detectionMode" -_dS = "detectionScope" -_pEC = "piiEntitiesConfiguration" -_AOC = "AudioOverrideConfiguration" -_mP = "modalityProcessing" -_lC = "languageConfiguration" -_sDC = "sensitiveDataConfiguration" -_SCp = "SplitterConfiguration" -_DOC = "DocumentOverrideConfiguration" -_sp = "splitter" -_IOC = "ImageOverrideConfiguration" -_DM = "DesiredModality" -_MRC = "ModalityRoutingConfiguration" -_jp = "jpeg" -_pn = "png" -_mp = "mp4" -_mo = "mov" -_VOC = "VideoOverrideConfiguration" -_OCv = "OverrideConfiguration" -_i = "image" -_vi = "video" -_a = "audio" -_mRo = "modalityRouting" -_DAPD = "DataAutomationProjectDescription" -_DAPN = "DataAutomationProjectName" -_DAPT = "DataAutomationProjectType" -_ASYNC = "ASYNC" -_SYNC = "SYNC" -_CLC = "ChannelLabelingConfiguration" -_SLC = "SpeakerLabelingConfiguration" -_TC = "TranscriptConfiguration" -_sLp = "speakerLabeling" -_cL = "channelLabeling" -_AECTC = "AudioExtractionCategoryTypeConfiguration" -_tr = "transcript" -_AECT = "AudioExtractionCategoryType" -_ACM = "AUDIO_CONTENT_MODERATION" -_TRANSCRIPT = "TRANSCRIPT" -_TCM = "TOPIC_CONTENT_MODERATION" -_AECTu = "AudioExtractionCategoryTypes" -_AEC = "AudioExtractionCategory" -_typ = "types" -_tC = "typeConfiguration" -_ASE = "AudioStandardExtraction" -_ca = "category" -_ASGFT = "AudioStandardGenerativeFieldType" -_AS = "AUDIO_SUMMARY" -_IAB = "IAB" -_TS = "TOPIC_SUMMARY" -_ASGFTu = "AudioStandardGenerativeFieldTypes" -_ASGF = "AudioStandardGenerativeField" -_ASOC = "AudioStandardOutputConfiguration" -_e = "extraction" -_gF = "generativeField" -_DBB = "DocumentBoundingBox" -_DEGT = "DocumentExtractionGranularityType" -_PAGE = "PAGE" -_ELEMENT = "ELEMENT" -_WORD = "WORD" -_LINE = "LINE" -_DEGTo = "DocumentExtractionGranularityTypes" -_DEG = "DocumentExtractionGranularity" -_DSE = "DocumentStandardExtraction" -_g = "granularity" -_bB = "boundingBox" -_DSGF = "DocumentStandardGenerativeField" -_DOAFF = "DocumentOutputAdditionalFileFormat" -_DOTFT = "DocumentOutputTextFormatType" -_PT_ = "PLAIN_TEXT" -_MARKDOWN = "MARKDOWN" -_HTML = "HTML" -_CSV = "CSV" -_DOTFTo = "DocumentOutputTextFormatTypes" -_DOTF = "DocumentOutputTextFormat" -_DOF = "DocumentOutputFormat" -_tF = "textFormat" -_aFF = "additionalFileFormat" -_DSOC = "DocumentStandardOutputConfiguration" -_oF = "outputFormat" -_IBB = "ImageBoundingBox" -_IECT = "ImageExtractionCategoryType" -_CM = "CONTENT_MODERATION" -_TD = "TEXT_DETECTION" -_LOGOS = "LOGOS" -_IECTm = "ImageExtractionCategoryTypes" -_IEC = "ImageExtractionCategory" -_ISEm = "ImageStandardExtraction" -_ISGFT = "ImageStandardGenerativeFieldType" -_IS = "IMAGE_SUMMARY" -_ISGFTm = "ImageStandardGenerativeFieldTypes" -_ISGF = "ImageStandardGenerativeField" -_ISOC = "ImageStandardOutputConfiguration" -_VBB = "VideoBoundingBox" -_VECT = "VideoExtractionCategoryType" -_VECTi = "VideoExtractionCategoryTypes" -_VEC = "VideoExtractionCategory" -_VSE = "VideoStandardExtraction" -_VSGFT = "VideoStandardGenerativeFieldType" -_VS = "VIDEO_SUMMARY" -_CS = "CHAPTER_SUMMARY" -_VSGFTi = "VideoStandardGenerativeFieldTypes" -_VSGF = "VideoStandardGenerativeField" -_VSOC = "VideoStandardOutputConfiguration" -_SOC = "StandardOutputConfiguration" -_CDAPI = "CreateDataAutomationProjectInput" -_cCDAPR = "com.amazonaws.bedrockdataautomation#CreateDataAutomationProjectRequest" -_pN = "projectName" -_pD = "projectDescription" -_pT = "projectType" -_smithya = "smithy.api#default" -_sOC = "standardOutputConfiguration" -_cOC = "customOutputConfiguration" -_oCv = "overrideConfiguration" -_dALC = "dataAutomationLibraryConfiguration" -_DAPSa = "DataAutomationProjectStatus" -_CDAPO = "CreateDataAutomationProjectOutput" -_cCDAPRo = "com.amazonaws.bedrockdataautomation#CreateDataAutomationProjectResponse" -_CDAP = "CreateDataAutomationProject" -_DDAPI = "DeleteDataAutomationProjectInput" -_cDDAPR = "com.amazonaws.bedrockdataautomation#DeleteDataAutomationProjectRequest" -_DDAPO = "DeleteDataAutomationProjectOutput" -_cDDAPRo = "com.amazonaws.bedrockdataautomation#DeleteDataAutomationProjectResponse" -_DDAP = "DeleteDataAutomationProject" -_GDAPI = "GetDataAutomationProjectInput" -_cGDAPR = "com.amazonaws.bedrockdataautomation#GetDataAutomationProjectRequest" -_DAP = "DataAutomationProject" -_GDAPO = "GetDataAutomationProjectOutput" -_cGDAPRo = "com.amazonaws.bedrockdataautomation#GetDataAutomationProjectResponse" -_pr = "project" -_GDAP = "GetDataAutomationProject" -_BF = "BlueprintFilter" -_DALF = "DataAutomationLibraryFilter" -_DAPSF = "DataAutomationProjectStageFilter" -_LDAPI = "ListDataAutomationProjectsInput" -_cLDAPR = "com.amazonaws.bedrockdataautomation#ListDataAutomationProjectsRequest" -_pSF = "projectStageFilter" -_bF = "blueprintFilter" -_lF = "libraryFilter" -_DAPSat = "DataAutomationProjectSummary" -_DAPSata = "DataAutomationProjectSummaries" -_LDAPO = "ListDataAutomationProjectsOutput" -_cLDAPRo = "com.amazonaws.bedrockdataautomation#ListDataAutomationProjectsResponse" -_pro = "projects" -_LDAP = "ListDataAutomationProjects" -_UDAPI = "UpdateDataAutomationProjectInput" -_cUDAPR = "com.amazonaws.bedrockdataautomation#UpdateDataAutomationProjectRequest" -_UDAPO = "UpdateDataAutomationProjectOutput" -_cUDAPRo = "com.amazonaws.bedrockdataautomation#UpdateDataAutomationProjectResponse" -_UDAP = "UpdateDataAutomationProject" -_GDALEI = "GetDataAutomationLibraryEntityInput" -_cGDALER = "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryEntityRequest" -_VEo = "VocabularyEntity" -_EDn = "EntityDetails" -_GDALEO = "GetDataAutomationLibraryEntityOutput" -_cGDALERo = "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryEntityResponse" -_en = "entity" -_GDALE = "GetDataAutomationLibraryEntity" -_LDALEI = "ListDataAutomationLibraryEntitiesInput" -_cLDALER = ( - "com.amazonaws.bedrockdataautomation#ListDataAutomationLibraryEntitiesRequest" -) -_VES = "VocabularyEntitySummary" -_nOP = "numOfPhrases" -_DALES = "DataAutomationLibraryEntitySummary" -_DALESa = "DataAutomationLibraryEntitySummaries" -_LDALEO = "ListDataAutomationLibraryEntitiesOutput" -_cLDALERo = ( - "com.amazonaws.bedrockdataautomation#ListDataAutomationLibraryEntitiesResponse" -) -_ent = "entities" -_LDALE = "ListDataAutomationLibraryEntities" -_TRA = "TaggableResourceArn" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.bedrockdataautomation#ListTagsForResourceRequest" -_rARN = "resourceARN" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.bedrockdataautomation#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.bedrockdataautomation#TagResourceRequest" -_TRO = "TagResourceOutput" -_cTRRo = "com.amazonaws.bedrockdataautomation#TagResourceResponse" -_TR = "TagResource" -_TKL = "TagKeyList" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.bedrockdataautomation#UntagResourceRequest" -_tK = "tagKeys" -_URO = "UntagResourceOutput" -_cURRo = "com.amazonaws.bedrockdataautomation#UntagResourceResponse" -_UR = "UntagResource" -_ABKBTS = "AmazonBedrockKeystoneBuildTimeService" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" - -NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c, _sE: 403}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -BLUEPRINT_OPTIMIZATION_INVOCATION_ARN: StaticSchema = (3, n0, _BOIA, 0) - -GET_BLUEPRINT_OPTIMIZATION_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _GBOSI, - {_sSI: _cGBOSR, _sm: None}, - (_iA,), - ((BLUEPRINT_OPTIMIZATION_INVOCATION_ARN, 9),), -) - -S3_URI: StaticSchema = (3, n0, _SU, 0) - -S3_OBJECT_VERSION: StaticSchema = (3, n0, _SOV, 0) - -S3_OBJECT: StaticSchema = ( - 18, - n0, - _SO, - 0, - (_sU, _v), - ((S3_URI, 1), (S3_OBJECT_VERSION, 0)), -) - -BLUEPRINT_OPTIMIZATION_OUTPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BOOC, - 0, - (_sO,), - ((S3_OBJECT, 1),), -) - -BLUEPRINT_OPTIMIZATION_JOB_STATUS: StaticSchema = ( - 14, - n0, - _BOJS, - 0, - (_CREATED, _IP, _SUCCESS, _SE, _CE), - ( - (-1, {_sV: _C}), - (-1, {_sV: _IPn}), - (-1, {_sV: _S}), - (-1, {_sV: _SEe}), - (-1, {_sV: _CEl}), - ), -) - -GET_BLUEPRINT_OPTIMIZATION_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _GBOSO, - {_sSI: _cGBOSRo, _smit: None}, - (_st, _eT, _eM, _oC), - ( - (BLUEPRINT_OPTIMIZATION_JOB_STATUS, 0), - (3, 0), - (3, 0), - (BLUEPRINT_OPTIMIZATION_OUTPUT_CONFIGURATION, 0), - ), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_s: _se, _sE: 500}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c, _sE: 404}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - {_s: _c, _sE: 429}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -VALIDATION_EXCEPTION_FIELD: StaticSchema = ( - 18, - n0, - _VEF, - 0, - (_n, _m), - ((NON_BLANK_STRING, 1), (NON_BLANK_STRING, 1)), -) - -VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( - 16, - n0, - _VEFL, - 0, - (_me,), - ((VALIDATION_EXCEPTION_FIELD, 0),), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_s: _c, _sE: 400}, - (_m, _fL), - ((NON_BLANK_STRING, 0), (VALIDATION_EXCEPTION_FIELD_LIST, 0)), -) - -GET_BLUEPRINT_OPTIMIZATION_STATUS: StaticOperationSchema = ( - 23, - n0, - _GBOS, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/getBlueprintOptimizationStatus/{invocationArn}", - } - ) - }, - GET_BLUEPRINT_OPTIMIZATION_STATUS_INPUT, - GET_BLUEPRINT_OPTIMIZATION_STATUS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BLUEPRINT_ARN: StaticSchema = (3, n0, _BA, 0) - -BLUEPRINT_STAGE: StaticSchema = ( - 14, - n0, - _BS, - 0, - (_DEVELOPMENT, _LIVE), - ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE})), -) - -BLUEPRINT_OPTIMIZATION_OBJECT: StaticSchema = ( - 18, - n0, - _BOO, - 0, - (_bA, _sta), - ((BLUEPRINT_ARN, 1), (BLUEPRINT_STAGE, 0)), -) - -DATA_AUTOMATION_PROFILE_ARN: StaticSchema = (3, n0, _DAPA, 0) - -ENCRYPTION_CONTEXT_KEY: StaticSchema = (3, n0, _ECK, 0) - -ENCRYPTION_CONTEXT_VALUE: StaticSchema = (3, n0, _ECV, 0) - -KMS_ENCRYPTION_CONTEXT: StaticSchema = ( - 17, - n0, - _KEC, - 0, - (_k, _va), - ((ENCRYPTION_CONTEXT_KEY, 0), (ENCRYPTION_CONTEXT_VALUE, 0)), -) - -KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) - -ENCRYPTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EC, - 0, - (_kKI, _kEC), - ((KMS_KEY_ID, 1), (KMS_ENCRYPTION_CONTEXT, 0)), -) - -BLUEPRINT_OPTIMIZATION_SAMPLE: StaticSchema = ( - 18, - n0, - _BOS, - 0, - (_aSO, _gTSO), - ((S3_OBJECT, 1), (S3_OBJECT, 1)), -) - -BLUEPRINT_OPTIMIZATION_SAMPLES: StaticSchema = ( - 16, - n0, - _BOSl, - 0, - (_me,), - ((BLUEPRINT_OPTIMIZATION_SAMPLE, 0),), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _T, 0, (_k, _va), ((TAG_KEY, 1), (TAG_VALUE, 1))) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, 0),)) - -INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_INPUT: StaticSchema = ( - 18, - n0, - _IBOAI, - {_sSI: _cIBOAR, _sm: None}, - (_b, _sa, _oC, _dAPA, _eC, _t), - ( - (BLUEPRINT_OPTIMIZATION_OBJECT, 1), - (BLUEPRINT_OPTIMIZATION_SAMPLES, 1), - (BLUEPRINT_OPTIMIZATION_OUTPUT_CONFIGURATION, 1), - (DATA_AUTOMATION_PROFILE_ARN, 1), - (ENCRYPTION_CONFIGURATION, 0), - (TAG_LIST, 0), - ), -) - -INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_OUTPUT: StaticSchema = ( - 18, - n0, - _IBOAO, - {_sSI: _cIBOARo, _smit: None}, - (_iA,), - ((BLUEPRINT_OPTIMIZATION_INVOCATION_ARN, 1),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_s: _c, _sE: 402}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC: StaticOperationSchema = ( - 23, - n0, - _IBOA, - { - _smith: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/invokeBlueprintOptimizationAsync"} - ) - }, - INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_INPUT, - INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CEo, - {_s: _c, _sE: 409}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -BLUEPRINT_NAME: StaticSchema = (3, n0, _BN, 4) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) - -BLUEPRINT_SCHEMA: StaticSchema = (3, n0, _BSl, 4) - -TYPE: StaticSchema = ( - 14, - n0, - _Ty, - 0, - (_DOCUMENT, _IMAGE, _AUDIO, _VIDEO), - ( - (-1, {_sV: _DOCUMENT}), - (-1, {_sV: _IMAGE}), - (-1, {_sV: _AUDIO}), - (-1, {_sV: _VIDEO}), - ), -) - -CREATE_BLUEPRINT_INPUT: StaticSchema = ( - 18, - n0, - _CBI, - {_sSI: _cCBR, _sm: None}, - (_bN, _ty, _bS, _sc, _cT, _eC, _t), - ( - (BLUEPRINT_NAME, 1), - (TYPE, 1), - (BLUEPRINT_STAGE, 0), - (BLUEPRINT_SCHEMA, 1), - (CLIENT_TOKEN, 2), - (ENCRYPTION_CONFIGURATION, 0), - (TAG_LIST, 0), - ), -) - -BLUEPRINT_VERSION: StaticSchema = (3, n0, _BV, 0) - -DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) - -BLUEPRINT: StaticSchema = ( - 18, - n0, - _B, - 0, - (_bA, _sc, _ty, _cTr, _lMT, _bN, _bV, _bS, _kKI, _kEC, _oS, _oT), - ( - (BLUEPRINT_ARN, 1), - (BLUEPRINT_SCHEMA, 1), - (TYPE, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (BLUEPRINT_NAME, 1), - (BLUEPRINT_VERSION, 0), - (BLUEPRINT_STAGE, 0), - (KMS_KEY_ID, 0), - (KMS_ENCRYPTION_CONTEXT, 0), - (BLUEPRINT_OPTIMIZATION_SAMPLES, 0), - (DATE_TIMESTAMP, 0), - ), -) - -CREATE_BLUEPRINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CBO, - {_sSI: _cCBRo, _smit: None}, - (_b,), - ((BLUEPRINT, 1),), -) - -CREATE_BLUEPRINT: StaticOperationSchema = ( - 23, - n0, - _CB, - {_smith: MappingProxyType({"code": 201, "method": "PUT", "uri": "/blueprints/"})}, - CREATE_BLUEPRINT_INPUT, - CREATE_BLUEPRINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_BLUEPRINT_INPUT: StaticSchema = ( - 18, - n0, - _DBI, - {_sSI: _cDBR, _sm: None}, - (_bA, _bV), - ((BLUEPRINT_ARN, 9), (BLUEPRINT_VERSION, {_sQ: _bV})), -) - -DELETE_BLUEPRINT_OUTPUT: StaticSchema = (18, n0, _DBO, {_sSI: _cDBRo, _smit: None}) - -DELETE_BLUEPRINT: StaticOperationSchema = ( - 23, - n0, - _DB, - { - _smith: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/blueprints/{blueprintArn}/"} - ) - }, - DELETE_BLUEPRINT_INPUT, - DELETE_BLUEPRINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_BLUEPRINT_INPUT: StaticSchema = ( - 18, - n0, - _GBI, - {_sSI: _cGBR, _sm: None}, - (_bA, _bV, _bS), - ((BLUEPRINT_ARN, 9), (BLUEPRINT_VERSION, 0), (BLUEPRINT_STAGE, 0)), -) - -GET_BLUEPRINT_OUTPUT: StaticSchema = ( - 18, - n0, - _GBO, - {_sSI: _cGBRo, _smit: None}, - (_b,), - ((BLUEPRINT, 1),), -) - -GET_BLUEPRINT: StaticOperationSchema = ( - 23, - n0, - _GB, - { - _smith: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/blueprints/{blueprintArn}/"} - ) - }, - GET_BLUEPRINT_INPUT, - GET_BLUEPRINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BLUEPRINT_STAGE_FILTER: StaticSchema = ( - 14, - n0, - _BSF, - 0, - (_DEVELOPMENT, _LIVE, _ALL), - ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE}), (-1, {_sV: _ALL})), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -DATA_AUTOMATION_PROJECT_ARN: StaticSchema = (3, n0, _DAPAa, 0) - -DATA_AUTOMATION_PROJECT_STAGE: StaticSchema = ( - 14, - n0, - _DAPS, - 0, - (_DEVELOPMENT, _LIVE), - ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE})), -) - -DATA_AUTOMATION_PROJECT_FILTER: StaticSchema = ( - 18, - n0, - _DAPF, - 0, - (_pA, _pS), - ((DATA_AUTOMATION_PROJECT_ARN, 1), (DATA_AUTOMATION_PROJECT_STAGE, 0)), -) - -RESOURCE_OWNER: StaticSchema = ( - 14, - n0, - _RO, - 0, - (_SERVICE, _ACCOUNT), - ((-1, {_sV: _SERVICE}), (-1, {_sV: _ACCOUNT})), -) - -LIST_BLUEPRINTS_INPUT: StaticSchema = ( - 18, - n0, - _LBI, - {_sSI: _cLBR, _sm: None}, - (_bA, _rO, _bSF, _mR, _nT, _pF), - ( - (BLUEPRINT_ARN, 0), - (RESOURCE_OWNER, 0), - (BLUEPRINT_STAGE_FILTER, 0), - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (DATA_AUTOMATION_PROJECT_FILTER, 0), - ), -) - -BLUEPRINT_SUMMARY: StaticSchema = ( - 18, - n0, - _BSlu, - 0, - (_bA, _bV, _bS, _bN, _cTr, _lMT), - ( - (BLUEPRINT_ARN, 1), - (BLUEPRINT_VERSION, 0), - (BLUEPRINT_STAGE, 0), - (BLUEPRINT_NAME, 0), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - ), -) - -BLUEPRINTS: StaticSchema = (16, n0, _Bl, 0, (_me,), ((BLUEPRINT_SUMMARY, 0),)) - -LIST_BLUEPRINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBO, - {_sSI: _cLBRo, _smit: None}, - (_bl, _nT), - ((BLUEPRINTS, 1), (NEXT_TOKEN, 0)), -) - -LIST_BLUEPRINTS: StaticOperationSchema = ( - 23, - n0, - _LB, - {_smith: MappingProxyType({"code": 200, "method": "POST", "uri": "/blueprints/"})}, - LIST_BLUEPRINTS_INPUT, - LIST_BLUEPRINTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_BLUEPRINT_INPUT: StaticSchema = ( - 18, - n0, - _UBI, - {_sSI: _cUBR, _sm: None}, - (_bA, _sc, _bS, _eC), - ( - (BLUEPRINT_ARN, 9), - (BLUEPRINT_SCHEMA, 1), - (BLUEPRINT_STAGE, 0), - (ENCRYPTION_CONFIGURATION, 0), - ), -) - -UPDATE_BLUEPRINT_OUTPUT: StaticSchema = ( - 18, - n0, - _UBO, - {_sSI: _cUBRo, _smit: None}, - (_b,), - ((BLUEPRINT, 1),), -) - -UPDATE_BLUEPRINT: StaticOperationSchema = ( - 23, - n0, - _UB, - { - _smith: MappingProxyType( - {"code": 200, "method": "PUT", "uri": "/blueprints/{blueprintArn}/"} - ) - }, - UPDATE_BLUEPRINT_INPUT, - UPDATE_BLUEPRINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -COPY_BLUEPRINT_STAGE_INPUT: StaticSchema = ( - 18, - n0, - _CBSI, - {_sSI: _cCBSR, _sm: None}, - (_bA, _sS, _tS, _cT), - ((BLUEPRINT_ARN, 9), (BLUEPRINT_STAGE, 1), (BLUEPRINT_STAGE, 1), (CLIENT_TOKEN, 2)), -) - -COPY_BLUEPRINT_STAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _CBSO, - {_sSI: _cCBSRo, _smit: None}, -) - -COPY_BLUEPRINT_STAGE: StaticOperationSchema = ( - 23, - n0, - _CBS, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/blueprints/{blueprintArn}/copy-stage", - } - ) - }, - COPY_BLUEPRINT_STAGE_INPUT, - COPY_BLUEPRINT_STAGE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_BLUEPRINT_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CBVI, - {_sSI: _cCBVR, _sm: None}, - (_bA, _cT), - ((BLUEPRINT_ARN, 9), (CLIENT_TOKEN, 2)), -) - -CREATE_BLUEPRINT_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CBVO, - {_sSI: _cCBVRo, _smit: None}, - (_b,), - ((BLUEPRINT, 1),), -) - -CREATE_BLUEPRINT_VERSION: StaticOperationSchema = ( - 23, - n0, - _CBV, - { - _smith: MappingProxyType( - { - "code": 201, - "method": "POST", - "uri": "/blueprints/{blueprintArn}/versions/", - } - ) - }, - CREATE_BLUEPRINT_VERSION_INPUT, - CREATE_BLUEPRINT_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN: StaticSchema = (3, n0, _DALIJA, 0) - -DATA_AUTOMATION_LIBRARY_ARN: StaticSchema = (3, n0, _DALA, 0) - -GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _GDALIJI, - {_sSI: _cGDALIJR, _sm: None}, - (_lA, _jA), - ((DATA_AUTOMATION_LIBRARY_ARN, 9), (DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN, 9)), -) - -ENTITY_TYPE: StaticSchema = ( - 14, - n0, - _ET, - 0, - (_VOCABULARY,), - ((-1, {_sV: _VOCABULARY}),), -) - -LIBRARY_INGESTION_JOB_STATUS: StaticSchema = ( - 14, - n0, - _LIJS, - 0, - (_IP, _COMPLETED, _CWE, _FAILED), - ( - (-1, {_sV: _IP}), - (-1, {_sV: _COMPLETED}), - (-1, {_sV: _CWE}), - (-1, {_sV: _FAILED}), - ), -) - -LIBRARY_INGESTION_JOB_OPERATION_TYPE: StaticSchema = ( - 14, - n0, - _LIJOT, - 0, - (_UPSERT, _DELETE), - ((-1, {_sV: _UPSERT}), (-1, {_sV: _DELETE})), -) - -OUTPUT_CONFIGURATION: StaticSchema = (18, n0, _OC, 0, (_sU,), ((S3_URI, 1),)) - -DATA_AUTOMATION_LIBRARY_INGESTION_JOB: StaticSchema = ( - 18, - n0, - _DALIJ, - 0, - (_jA, _cTr, _eTn, _oTp, _jS, _oC, _cTo, _eM, _eT), - ( - (DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN, 1), - (DATE_TIMESTAMP, 1), - (ENTITY_TYPE, 1), - (LIBRARY_INGESTION_JOB_OPERATION_TYPE, 1), - (LIBRARY_INGESTION_JOB_STATUS, 1), - (OUTPUT_CONFIGURATION, 1), - (DATE_TIMESTAMP, 0), - (3, 0), - (3, 0), - ), -) - -GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _GDALIJO, - {_sSI: _cGDALIJRo, _smit: None}, - (_j,), - ((DATA_AUTOMATION_LIBRARY_INGESTION_JOB, 0),), -) - -GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB: StaticOperationSchema = ( - 23, - n0, - _GDALIJ, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/data-automation-libraries/{libraryArn}/library-ingestion-jobs/{jobArn}", - } - ) - }, - GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT, - GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ENTITY_ID: StaticSchema = (3, n0, _EI, 0) - -ENTITY_ID_LIST: StaticSchema = (16, n0, _EIL, 0, (_me,), ((ENTITY_ID, 0),)) - -DELETE_ENTITIES_INFO: StaticSchema = (18, n0, _DEI, 0, (_eI,), ((ENTITY_ID_LIST, 1),)) - -ENTITY_DESCRIPTION: StaticSchema = (3, n0, _ED, 4) - -LANGUAGE: StaticSchema = ( - 14, - n0, - _L, - 0, - (_EN, _DE, _ES, _FR, _IT, _PT, _JA, _KO, _CN, _TW, _HK), - ( - (-1, {_sV: _EN}), - (-1, {_sV: _DE}), - (-1, {_sV: _ES}), - (-1, {_sV: _FR}), - (-1, {_sV: _IT}), - (-1, {_sV: _PT}), - (-1, {_sV: _JA}), - (-1, {_sV: _KO}), - (-1, {_sV: _CN}), - (-1, {_sV: _TW}), - (-1, {_sV: _HK}), - ), -) - -PHRASE_DISPLAY_AS_TEXT: StaticSchema = (3, n0, _PDAT, 4) - -PHRASE_TEXT: StaticSchema = (3, n0, _PTh, 4) - -PHRASE: StaticSchema = ( - 18, - n0, - _P, - 0, - (_te, _dAT), - ((PHRASE_TEXT, 1), (PHRASE_DISPLAY_AS_TEXT, 0)), -) - -PHRASE_LIST: StaticSchema = (16, n0, _PL, 0, (_me,), ((PHRASE, 0),)) - -VOCABULARY_ENTITY_INFO: StaticSchema = ( - 18, - n0, - _VEI, - 0, - (_eIn, _d, _l, _p), - ((ENTITY_ID, 0), (ENTITY_DESCRIPTION, 0), (LANGUAGE, 1), (PHRASE_LIST, 1)), -) - -UPSERT_ENTITY_INFO: StaticSchema = ( - 19, - n0, - _UEI, - 0, - (_vo,), - ((VOCABULARY_ENTITY_INFO, 0),), -) - -UPSERT_ENTITIES_INFO: StaticSchema = ( - 16, - n0, - _UEIp, - 0, - (_me,), - ((UPSERT_ENTITY_INFO, 0),), -) - -INLINE_PAYLOAD: StaticSchema = ( - 19, - n0, - _IPnl, - 0, - (_uEI, _dEI), - ((UPSERT_ENTITIES_INFO, 0), (DELETE_ENTITIES_INFO, 0)), -) - -INPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IC, - 0, - (_sO, _iP), - ((S3_OBJECT, 0), (INLINE_PAYLOAD, 0)), -) - -EVENT_BRIDGE_CONFIGURATION: StaticSchema = (18, n0, _EBC, 0, (_eBE,), ((2, 1),)) - -NOTIFICATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _NC, - 0, - (_eBC,), - ((EVENT_BRIDGE_CONFIGURATION, 1),), -) - -INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _IDALIJI, - {_sSI: _cIDALIJR, _sm: None}, - (_lA, _cT, _iC, _eTn, _oTp, _oC, _nC, _t), - ( - (DATA_AUTOMATION_LIBRARY_ARN, 9), - (CLIENT_TOKEN, 2), - (INPUT_CONFIGURATION, 1), - (ENTITY_TYPE, 1), - (LIBRARY_INGESTION_JOB_OPERATION_TYPE, 1), - (OUTPUT_CONFIGURATION, 1), - (NOTIFICATION_CONFIGURATION, 0), - (TAG_LIST, 0), - ), -) - -INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _IDALIJO, - {_sSI: _cIDALIJRo, _smit: None}, - (_jA,), - ((DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN, 0),), -) - -INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB: StaticOperationSchema = ( - 23, - n0, - _IDALIJ, - { - _smith: MappingProxyType( - { - "code": 201, - "method": "PUT", - "uri": "/data-automation-libraries/{libraryArn}/library-ingestion-jobs/", - } - ) - }, - INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT, - INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LDALIJI, - {_sSI: _cLDALIJR, _sm: None}, - (_lA, _mR, _nT), - ((DATA_AUTOMATION_LIBRARY_ARN, 9), (MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARY: StaticSchema = ( - 18, - n0, - _DALIJS, - 0, - (_jA, _jS, _eTn, _oTp, _cTr, _cTo), - ( - (DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN, 1), - (LIBRARY_INGESTION_JOB_STATUS, 1), - (ENTITY_TYPE, 1), - (LIBRARY_INGESTION_JOB_OPERATION_TYPE, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 0), - ), -) - -DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARIES: StaticSchema = ( - 16, - n0, - _DALIJSa, - 0, - (_me,), - ((DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARY, 0),), -) - -LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDALIJO, - {_sSI: _cLDALIJRo, _smit: None}, - (_jo, _nT), - ((DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS: StaticOperationSchema = ( - 23, - n0, - _LDALIJ, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/data-automation-libraries/{libraryArn}/library-ingestion-jobs/", - } - ) - }, - LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_INPUT, - LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DATA_AUTOMATION_LIBRARY_DESCRIPTION: StaticSchema = (3, n0, _DALD, 4) - -DATA_AUTOMATION_LIBRARY_NAME: StaticSchema = (3, n0, _DALN, 4) - -CREATE_DATA_AUTOMATION_LIBRARY_INPUT: StaticSchema = ( - 18, - n0, - _CDALI, - {_sSI: _cCDALR, _sm: None}, - (_lN, _lD, _cT, _eC, _t), - ( - (DATA_AUTOMATION_LIBRARY_NAME, 1), - (DATA_AUTOMATION_LIBRARY_DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - (ENCRYPTION_CONFIGURATION, 0), - (TAG_LIST, 0), - ), -) - -DATA_AUTOMATION_LIBRARY_STATUS: StaticSchema = ( - 14, - n0, - _DALS, - 0, - (_ACTIVE, _DELETING), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DELETING})), -) - -CREATE_DATA_AUTOMATION_LIBRARY_OUTPUT: StaticSchema = ( - 18, - n0, - _CDALO, - {_sSI: _cCDALRo, _smit: None}, - (_lA, _st), - ((DATA_AUTOMATION_LIBRARY_ARN, 0), (DATA_AUTOMATION_LIBRARY_STATUS, 0)), -) - -CREATE_DATA_AUTOMATION_LIBRARY: StaticOperationSchema = ( - 23, - n0, - _CDAL, - { - _smith: MappingProxyType( - {"code": 201, "method": "PUT", "uri": "/data-automation-libraries/"} - ) - }, - CREATE_DATA_AUTOMATION_LIBRARY_INPUT, - CREATE_DATA_AUTOMATION_LIBRARY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_DATA_AUTOMATION_LIBRARY_INPUT: StaticSchema = ( - 18, - n0, - _DDALI, - {_sSI: _cDDALR, _sm: None}, - (_lA,), - ((DATA_AUTOMATION_LIBRARY_ARN, 9),), -) - -DELETE_DATA_AUTOMATION_LIBRARY_OUTPUT: StaticSchema = ( - 18, - n0, - _DDALO, - {_sSI: _cDDALRo, _smit: None}, - (_lA, _st), - ((DATA_AUTOMATION_LIBRARY_ARN, 0), (DATA_AUTOMATION_LIBRARY_STATUS, 0)), -) - -DELETE_DATA_AUTOMATION_LIBRARY: StaticOperationSchema = ( - 23, - n0, - _DDAL, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/data-automation-libraries/{libraryArn}/", - } - ) - }, - DELETE_DATA_AUTOMATION_LIBRARY_INPUT, - DELETE_DATA_AUTOMATION_LIBRARY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_DATA_AUTOMATION_LIBRARY_INPUT: StaticSchema = ( - 18, - n0, - _GDALI, - {_sSI: _cGDALR, _sm: None}, - (_lA,), - ((DATA_AUTOMATION_LIBRARY_ARN, 9),), -) - -ENTITY_METADATA: StaticSchema = (3, n0, _EM, 0) - -ENTITY_TYPE_INFO: StaticSchema = ( - 18, - n0, - _ETI, - 0, - (_eTn, _eMn), - ((ENTITY_TYPE, 1), (ENTITY_METADATA, 0)), -) - -ENTITY_TYPE_INFO_LIST: StaticSchema = ( - 16, - n0, - _ETIL, - 0, - (_me,), - ((ENTITY_TYPE_INFO, 0),), -) - -DATA_AUTOMATION_LIBRARY: StaticSchema = ( - 18, - n0, - _DAL, - 0, - (_lA, _cTr, _lN, _lD, _st, _eTnt, _kKI, _kEC), - ( - (DATA_AUTOMATION_LIBRARY_ARN, 1), - (DATE_TIMESTAMP, 1), - (DATA_AUTOMATION_LIBRARY_NAME, 1), - (DATA_AUTOMATION_LIBRARY_DESCRIPTION, 0), - (DATA_AUTOMATION_LIBRARY_STATUS, 1), - (ENTITY_TYPE_INFO_LIST, 0), - (KMS_KEY_ID, 0), - (KMS_ENCRYPTION_CONTEXT, 0), - ), -) - -GET_DATA_AUTOMATION_LIBRARY_OUTPUT: StaticSchema = ( - 18, - n0, - _GDALO, - {_sSI: _cGDALRo, _smit: None}, - (_li,), - ((DATA_AUTOMATION_LIBRARY, 0),), -) - -GET_DATA_AUTOMATION_LIBRARY: StaticOperationSchema = ( - 23, - n0, - _GDAL, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/data-automation-libraries/{libraryArn}/", - } - ) - }, - GET_DATA_AUTOMATION_LIBRARY_INPUT, - GET_DATA_AUTOMATION_LIBRARY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_DATA_AUTOMATION_LIBRARIES_INPUT: StaticSchema = ( - 18, - n0, - _LDALI, - {_sSI: _cLDALR, _sm: None}, - (_mR, _nT, _pF), - ((MAX_RESULTS, 0), (NEXT_TOKEN, 0), (DATA_AUTOMATION_PROJECT_FILTER, 0)), -) - -DATA_AUTOMATION_LIBRARY_SUMMARY: StaticSchema = ( - 18, - n0, - _DALSa, - 0, - (_lA, _lN, _cTr), - ( - (DATA_AUTOMATION_LIBRARY_ARN, 1), - (DATA_AUTOMATION_LIBRARY_NAME, 0), - (DATE_TIMESTAMP, 1), - ), -) - -DATA_AUTOMATION_LIBRARY_SUMMARIES: StaticSchema = ( - 16, - n0, - _DALSat, - 0, - (_me,), - ((DATA_AUTOMATION_LIBRARY_SUMMARY, 0),), -) - -LIST_DATA_AUTOMATION_LIBRARIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LDALO, - {_sSI: _cLDALRo, _smit: None}, - (_lib, _nT), - ((DATA_AUTOMATION_LIBRARY_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_DATA_AUTOMATION_LIBRARIES: StaticOperationSchema = ( - 23, - n0, - _LDAL, - { - _smith: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/data-automation-libraries/"} - ) - }, - LIST_DATA_AUTOMATION_LIBRARIES_INPUT, - LIST_DATA_AUTOMATION_LIBRARIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_DATA_AUTOMATION_LIBRARY_INPUT: StaticSchema = ( - 18, - n0, - _UDALI, - {_sSI: _cUDALR, _sm: None}, - (_lA, _lD, _cT), - ( - (DATA_AUTOMATION_LIBRARY_ARN, 9), - (DATA_AUTOMATION_LIBRARY_DESCRIPTION, 0), - (CLIENT_TOKEN, 2), - ), -) - -UPDATE_DATA_AUTOMATION_LIBRARY_OUTPUT: StaticSchema = ( - 18, - n0, - _UDALO, - {_sSI: _cUDALRo, _smit: None}, - (_lA, _st), - ((DATA_AUTOMATION_LIBRARY_ARN, 0), (DATA_AUTOMATION_LIBRARY_STATUS, 0)), -) - -UPDATE_DATA_AUTOMATION_LIBRARY: StaticOperationSchema = ( - 23, - n0, - _UDAL, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/data-automation-libraries/{libraryArn}/", - } - ) - }, - UPDATE_DATA_AUTOMATION_LIBRARY_INPUT, - UPDATE_DATA_AUTOMATION_LIBRARY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BLUEPRINT_ITEM: StaticSchema = ( - 18, - n0, - _BI, - 0, - (_bA, _bV, _bS), - ((BLUEPRINT_ARN, 1), (BLUEPRINT_VERSION, 0), (BLUEPRINT_STAGE, 0)), -) - -BLUEPRINT_ITEMS: StaticSchema = (16, n0, _BIl, 0, (_me,), ((BLUEPRINT_ITEM, 0),)) - -FALLBACK_BLUEPRINT_ITEMS: StaticSchema = ( - 16, - n0, - _FBI, - 0, - (_me,), - ((BLUEPRINT_ITEM, 0),), -) - -DOCUMENT_CUSTOM_OUTPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DCOC, - 0, - (_fB,), - ((FALLBACK_BLUEPRINT_ITEMS, 0),), -) - -CUSTOM_OUTPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _COC, - 0, - (_bl, _do), - ((BLUEPRINT_ITEMS, 0), (DOCUMENT_CUSTOM_OUTPUT_CONFIGURATION, 0)), -) - -DATA_AUTOMATION_LIBRARY_ITEM: StaticSchema = ( - 18, - n0, - _DALI, - 0, - (_lA,), - ((DATA_AUTOMATION_LIBRARY_ARN, 1),), -) - -DATA_AUTOMATION_LIBRARY_ITEMS: StaticSchema = ( - 16, - n0, - _DALIa, - 0, - (_me,), - ((DATA_AUTOMATION_LIBRARY_ITEM, 0),), -) - -DATA_AUTOMATION_LIBRARY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DALC, - 0, - (_lib,), - ((DATA_AUTOMATION_LIBRARY_ITEMS, 0),), -) - -AUDIO_GENERATIVE_OUTPUT_LANGUAGE: StaticSchema = ( - 14, - n0, - _AGOL, - 0, - (_DEFAULT, _EN), - ((-1, {_sV: _DEFAULT}), (-1, {_sV: _EN})), -) - -AUDIO_INPUT_LANGUAGES: StaticSchema = (16, n0, _AIL, 0, (_me,), ((LANGUAGE, 0),)) - -AUDIO_LANGUAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ALC, - 0, - (_iL, _gOL, _iML), - ((AUDIO_INPUT_LANGUAGES, 0), (AUDIO_GENERATIVE_OUTPUT_LANGUAGE, 0), (2, 0)), -) - -STATE: StaticSchema = ( - 14, - n0, - _St, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -MODALITY_PROCESSING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MPC, - 0, - (_stat,), - ((STATE, 0),), -) - -SENSITIVE_DATA_DETECTION_MODE: StaticSchema = ( - 14, - n0, - _SDDM, - 0, - (_DETECTION, _DAR), - ((-1, {_sV: _DETECTION}), (-1, {_sV: _DAR})), -) - -SENSITIVE_DATA_DETECTION_SCOPE_TYPE: StaticSchema = ( - 14, - n0, - _SDDST, - 0, - (_STANDARD, _CUSTOM), - ((-1, {_sV: _STANDARD}), (-1, {_sV: _CUSTOM})), -) - -SENSITIVE_DATA_DETECTION_SCOPE: StaticSchema = ( - 16, - n0, - _SDDS, - 0, - (_me,), - ((SENSITIVE_DATA_DETECTION_SCOPE_TYPE, 0),), -) - -PII_ENTITY_TYPE: StaticSchema = ( - 14, - n0, - _PIIET, - 0, - ( - _ALL, - _ADDRESS, - _AGE, - _NAME, - _EMAIL, - _PHONE, - _USERNAME, - _PASSWORD, - _DI, - _LP, - _VIN, - _CDCC, - _CDCE, - _CDCN, - _PIN, - _IBAN, - _SC, - _IA, - _MA, - _URL, - _AAK, - _ASK, - _UBAN, - _UBRN, - _UITIN, - _UPN, - _USSN, - _CHN, - _CSIN, - _UNHSN, - _UNIN, - _UUTRN, - ), - ( - (-1, {_sV: _ALL}), - (-1, {_sV: _ADDRESS}), - (-1, {_sV: _AGE}), - (-1, {_sV: _NAME}), - (-1, {_sV: _EMAIL}), - (-1, {_sV: _PHONE}), - (-1, {_sV: _USERNAME}), - (-1, {_sV: _PASSWORD}), - (-1, {_sV: _DI}), - (-1, {_sV: _LP}), - (-1, {_sV: _VIN}), - (-1, {_sV: _CDCC}), - (-1, {_sV: _CDCE}), - (-1, {_sV: _CDCN}), - (-1, {_sV: _PIN}), - (-1, {_sV: _IBAN}), - (-1, {_sV: _SC}), - (-1, {_sV: _IA}), - (-1, {_sV: _MA}), - (-1, {_sV: _URL}), - (-1, {_sV: _AAK}), - (-1, {_sV: _ASK}), - (-1, {_sV: _UBAN}), - (-1, {_sV: _UBRN}), - (-1, {_sV: _UITIN}), - (-1, {_sV: _UPN}), - (-1, {_sV: _USSN}), - (-1, {_sV: _CHN}), - (-1, {_sV: _CSIN}), - (-1, {_sV: _UNHSN}), - (-1, {_sV: _UNIN}), - (-1, {_sV: _UUTRN}), - ), -) - -PII_ENTITY_TYPES: StaticSchema = (16, n0, _PIIETn, 0, (_me,), ((PII_ENTITY_TYPE, 0),)) - -PII_REDACTION_MASK_MODE: StaticSchema = ( - 14, - n0, - _PIIRMM, - 0, - (_PII, _ET_), - ((-1, {_sV: _PII}), (-1, {_sV: _ET_})), -) - -PII_ENTITIES_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PIIEC, - 0, - (_pET, _rMM), - ((PII_ENTITY_TYPES, 0), (PII_REDACTION_MASK_MODE, 0)), -) - -SENSITIVE_DATA_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SDC, - 0, - (_dM, _dS, _pEC), - ( - (SENSITIVE_DATA_DETECTION_MODE, 1), - (SENSITIVE_DATA_DETECTION_SCOPE, 0), - (PII_ENTITIES_CONFIGURATION, 0), - ), -) - -AUDIO_OVERRIDE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AOC, - 0, - (_mP, _lC, _sDC), - ( - (MODALITY_PROCESSING_CONFIGURATION, 0), - (AUDIO_LANGUAGE_CONFIGURATION, 0), - (SENSITIVE_DATA_CONFIGURATION, 0), - ), -) - -SPLITTER_CONFIGURATION: StaticSchema = (18, n0, _SCp, 0, (_stat,), ((STATE, 0),)) - -DOCUMENT_OVERRIDE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DOC, - 0, - (_sp, _mP, _sDC), - ( - (SPLITTER_CONFIGURATION, 0), - (MODALITY_PROCESSING_CONFIGURATION, 0), - (SENSITIVE_DATA_CONFIGURATION, 0), - ), -) - -IMAGE_OVERRIDE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IOC, - 0, - (_mP, _sDC), - ((MODALITY_PROCESSING_CONFIGURATION, 0), (SENSITIVE_DATA_CONFIGURATION, 0)), -) - -DESIRED_MODALITY: StaticSchema = ( - 14, - n0, - _DM, - 0, - (_IMAGE, _DOCUMENT, _AUDIO, _VIDEO), - ( - (-1, {_sV: _IMAGE}), - (-1, {_sV: _DOCUMENT}), - (-1, {_sV: _AUDIO}), - (-1, {_sV: _VIDEO}), - ), -) - -MODALITY_ROUTING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MRC, - 0, - (_jp, _pn, _mp, _mo), - ( - (DESIRED_MODALITY, 0), - (DESIRED_MODALITY, 0), - (DESIRED_MODALITY, 0), - (DESIRED_MODALITY, 0), - ), -) - -VIDEO_OVERRIDE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VOC, - 0, - (_mP, _sDC), - ((MODALITY_PROCESSING_CONFIGURATION, 0), (SENSITIVE_DATA_CONFIGURATION, 0)), -) - -OVERRIDE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OCv, - 0, - (_do, _i, _vi, _a, _mRo), - ( - (DOCUMENT_OVERRIDE_CONFIGURATION, 0), - (IMAGE_OVERRIDE_CONFIGURATION, 0), - (VIDEO_OVERRIDE_CONFIGURATION, 0), - (AUDIO_OVERRIDE_CONFIGURATION, 0), - (MODALITY_ROUTING_CONFIGURATION, 0), - ), -) - -DATA_AUTOMATION_PROJECT_DESCRIPTION: StaticSchema = (3, n0, _DAPD, 4) - -DATA_AUTOMATION_PROJECT_NAME: StaticSchema = (3, n0, _DAPN, 4) - -DATA_AUTOMATION_PROJECT_TYPE: StaticSchema = ( - 14, - n0, - _DAPT, - 0, - (_ASYNC, _SYNC), - ((-1, {_sV: _ASYNC}), (-1, {_sV: _SYNC})), -) - -CHANNEL_LABELING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CLC, - 0, - (_stat,), - ((STATE, 1),), -) - -SPEAKER_LABELING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SLC, - 0, - (_stat,), - ((STATE, 1),), -) - -TRANSCRIPT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TC, - 0, - (_sLp, _cL), - ((SPEAKER_LABELING_CONFIGURATION, 0), (CHANNEL_LABELING_CONFIGURATION, 0)), -) - -AUDIO_EXTRACTION_CATEGORY_TYPE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AECTC, - 0, - (_tr,), - ((TRANSCRIPT_CONFIGURATION, 0),), -) - -AUDIO_EXTRACTION_CATEGORY_TYPE: StaticSchema = ( - 14, - n0, - _AECT, - 0, - (_ACM, _TRANSCRIPT, _TCM), - ((-1, {_sV: _ACM}), (-1, {_sV: _TRANSCRIPT}), (-1, {_sV: _TCM})), -) - -AUDIO_EXTRACTION_CATEGORY_TYPES: StaticSchema = ( - 16, - n0, - _AECTu, - 0, - (_me,), - ((AUDIO_EXTRACTION_CATEGORY_TYPE, 0),), -) - -AUDIO_EXTRACTION_CATEGORY: StaticSchema = ( - 18, - n0, - _AEC, - 0, - (_stat, _typ, _tC), - ( - (STATE, 1), - (AUDIO_EXTRACTION_CATEGORY_TYPES, 0), - (AUDIO_EXTRACTION_CATEGORY_TYPE_CONFIGURATION, 0), - ), -) - -AUDIO_STANDARD_EXTRACTION: StaticSchema = ( - 18, - n0, - _ASE, - 0, - (_ca,), - ((AUDIO_EXTRACTION_CATEGORY, 1),), -) - -AUDIO_STANDARD_GENERATIVE_FIELD_TYPE: StaticSchema = ( - 14, - n0, - _ASGFT, - 0, - (_AS, _IAB, _TS), - ((-1, {_sV: _AS}), (-1, {_sV: _IAB}), (-1, {_sV: _TS})), -) - -AUDIO_STANDARD_GENERATIVE_FIELD_TYPES: StaticSchema = ( - 16, - n0, - _ASGFTu, - 0, - (_me,), - ((AUDIO_STANDARD_GENERATIVE_FIELD_TYPE, 0),), -) - -AUDIO_STANDARD_GENERATIVE_FIELD: StaticSchema = ( - 18, - n0, - _ASGF, - 0, - (_stat, _typ), - ((STATE, 1), (AUDIO_STANDARD_GENERATIVE_FIELD_TYPES, 0)), -) - -AUDIO_STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ASOC, - 0, - (_e, _gF), - ((AUDIO_STANDARD_EXTRACTION, 0), (AUDIO_STANDARD_GENERATIVE_FIELD, 0)), -) - -DOCUMENT_BOUNDING_BOX: StaticSchema = (18, n0, _DBB, 0, (_stat,), ((STATE, 1),)) - -DOCUMENT_EXTRACTION_GRANULARITY_TYPE: StaticSchema = ( - 14, - n0, - _DEGT, - 0, - (_DOCUMENT, _PAGE, _ELEMENT, _WORD, _LINE), - ( - (-1, {_sV: _DOCUMENT}), - (-1, {_sV: _PAGE}), - (-1, {_sV: _ELEMENT}), - (-1, {_sV: _WORD}), - (-1, {_sV: _LINE}), - ), -) - -DOCUMENT_EXTRACTION_GRANULARITY_TYPES: StaticSchema = ( - 16, - n0, - _DEGTo, - 0, - (_me,), - ((DOCUMENT_EXTRACTION_GRANULARITY_TYPE, 0),), -) - -DOCUMENT_EXTRACTION_GRANULARITY: StaticSchema = ( - 18, - n0, - _DEG, - 0, - (_typ,), - ((DOCUMENT_EXTRACTION_GRANULARITY_TYPES, 0),), -) - -DOCUMENT_STANDARD_EXTRACTION: StaticSchema = ( - 18, - n0, - _DSE, - 0, - (_g, _bB), - ((DOCUMENT_EXTRACTION_GRANULARITY, 1), (DOCUMENT_BOUNDING_BOX, 1)), -) - -DOCUMENT_STANDARD_GENERATIVE_FIELD: StaticSchema = ( - 18, - n0, - _DSGF, - 0, - (_stat,), - ((STATE, 1),), -) - -DOCUMENT_OUTPUT_ADDITIONAL_FILE_FORMAT: StaticSchema = ( - 18, - n0, - _DOAFF, - 0, - (_stat,), - ((STATE, 1),), -) - -DOCUMENT_OUTPUT_TEXT_FORMAT_TYPE: StaticSchema = ( - 14, - n0, - _DOTFT, - 0, - (_PT_, _MARKDOWN, _HTML, _CSV), - ((-1, {_sV: _PT_}), (-1, {_sV: _MARKDOWN}), (-1, {_sV: _HTML}), (-1, {_sV: _CSV})), -) - -DOCUMENT_OUTPUT_TEXT_FORMAT_TYPES: StaticSchema = ( - 16, - n0, - _DOTFTo, - 0, - (_me,), - ((DOCUMENT_OUTPUT_TEXT_FORMAT_TYPE, 0),), -) - -DOCUMENT_OUTPUT_TEXT_FORMAT: StaticSchema = ( - 18, - n0, - _DOTF, - 0, - (_typ,), - ((DOCUMENT_OUTPUT_TEXT_FORMAT_TYPES, 0),), -) - -DOCUMENT_OUTPUT_FORMAT: StaticSchema = ( - 18, - n0, - _DOF, - 0, - (_tF, _aFF), - ((DOCUMENT_OUTPUT_TEXT_FORMAT, 1), (DOCUMENT_OUTPUT_ADDITIONAL_FILE_FORMAT, 1)), -) - -DOCUMENT_STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DSOC, - 0, - (_e, _gF, _oF), - ( - (DOCUMENT_STANDARD_EXTRACTION, 0), - (DOCUMENT_STANDARD_GENERATIVE_FIELD, 0), - (DOCUMENT_OUTPUT_FORMAT, 0), - ), -) - -IMAGE_BOUNDING_BOX: StaticSchema = (18, n0, _IBB, 0, (_stat,), ((STATE, 1),)) - -IMAGE_EXTRACTION_CATEGORY_TYPE: StaticSchema = ( - 14, - n0, - _IECT, - 0, - (_CM, _TD, _LOGOS), - ((-1, {_sV: _CM}), (-1, {_sV: _TD}), (-1, {_sV: _LOGOS})), -) - -IMAGE_EXTRACTION_CATEGORY_TYPES: StaticSchema = ( - 16, - n0, - _IECTm, - 0, - (_me,), - ((IMAGE_EXTRACTION_CATEGORY_TYPE, 0),), -) - -IMAGE_EXTRACTION_CATEGORY: StaticSchema = ( - 18, - n0, - _IEC, - 0, - (_stat, _typ), - ((STATE, 1), (IMAGE_EXTRACTION_CATEGORY_TYPES, 0)), -) - -IMAGE_STANDARD_EXTRACTION: StaticSchema = ( - 18, - n0, - _ISEm, - 0, - (_ca, _bB), - ((IMAGE_EXTRACTION_CATEGORY, 1), (IMAGE_BOUNDING_BOX, 1)), -) - -IMAGE_STANDARD_GENERATIVE_FIELD_TYPE: StaticSchema = ( - 14, - n0, - _ISGFT, - 0, - (_IS, _IAB), - ((-1, {_sV: _IS}), (-1, {_sV: _IAB})), -) - -IMAGE_STANDARD_GENERATIVE_FIELD_TYPES: StaticSchema = ( - 16, - n0, - _ISGFTm, - 0, - (_me,), - ((IMAGE_STANDARD_GENERATIVE_FIELD_TYPE, 0),), -) - -IMAGE_STANDARD_GENERATIVE_FIELD: StaticSchema = ( - 18, - n0, - _ISGF, - 0, - (_stat, _typ), - ((STATE, 1), (IMAGE_STANDARD_GENERATIVE_FIELD_TYPES, 0)), -) - -IMAGE_STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ISOC, - 0, - (_e, _gF), - ((IMAGE_STANDARD_EXTRACTION, 0), (IMAGE_STANDARD_GENERATIVE_FIELD, 0)), -) - -VIDEO_BOUNDING_BOX: StaticSchema = (18, n0, _VBB, 0, (_stat,), ((STATE, 1),)) - -VIDEO_EXTRACTION_CATEGORY_TYPE: StaticSchema = ( - 14, - n0, - _VECT, - 0, - (_CM, _TD, _TRANSCRIPT, _LOGOS), - ((-1, {_sV: _CM}), (-1, {_sV: _TD}), (-1, {_sV: _TRANSCRIPT}), (-1, {_sV: _LOGOS})), -) - -VIDEO_EXTRACTION_CATEGORY_TYPES: StaticSchema = ( - 16, - n0, - _VECTi, - 0, - (_me,), - ((VIDEO_EXTRACTION_CATEGORY_TYPE, 0),), -) - -VIDEO_EXTRACTION_CATEGORY: StaticSchema = ( - 18, - n0, - _VEC, - 0, - (_stat, _typ), - ((STATE, 1), (VIDEO_EXTRACTION_CATEGORY_TYPES, 0)), -) - -VIDEO_STANDARD_EXTRACTION: StaticSchema = ( - 18, - n0, - _VSE, - 0, - (_ca, _bB), - ((VIDEO_EXTRACTION_CATEGORY, 1), (VIDEO_BOUNDING_BOX, 1)), -) - -VIDEO_STANDARD_GENERATIVE_FIELD_TYPE: StaticSchema = ( - 14, - n0, - _VSGFT, - 0, - (_VS, _IAB, _CS), - ((-1, {_sV: _VS}), (-1, {_sV: _IAB}), (-1, {_sV: _CS})), -) - -VIDEO_STANDARD_GENERATIVE_FIELD_TYPES: StaticSchema = ( - 16, - n0, - _VSGFTi, - 0, - (_me,), - ((VIDEO_STANDARD_GENERATIVE_FIELD_TYPE, 0),), -) - -VIDEO_STANDARD_GENERATIVE_FIELD: StaticSchema = ( - 18, - n0, - _VSGF, - 0, - (_stat, _typ), - ((STATE, 1), (VIDEO_STANDARD_GENERATIVE_FIELD_TYPES, 0)), -) - -VIDEO_STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSOC, - 0, - (_e, _gF), - ((VIDEO_STANDARD_EXTRACTION, 0), (VIDEO_STANDARD_GENERATIVE_FIELD, 0)), -) - -STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SOC, - 0, - (_do, _i, _vi, _a), - ( - (DOCUMENT_STANDARD_OUTPUT_CONFIGURATION, 0), - (IMAGE_STANDARD_OUTPUT_CONFIGURATION, 0), - (VIDEO_STANDARD_OUTPUT_CONFIGURATION, 0), - (AUDIO_STANDARD_OUTPUT_CONFIGURATION, 0), - ), -) - -CREATE_DATA_AUTOMATION_PROJECT_INPUT: StaticSchema = ( - 18, - n0, - _CDAPI, - {_sSI: _cCDAPR, _sm: None}, - (_pN, _pD, _pS, _pT, _sOC, _cOC, _oCv, _dALC, _cT, _eC, _t), - ( - (DATA_AUTOMATION_PROJECT_NAME, 1), - (DATA_AUTOMATION_PROJECT_DESCRIPTION, 0), - (DATA_AUTOMATION_PROJECT_STAGE, 0), - (DATA_AUTOMATION_PROJECT_TYPE, {_smithya: _ASYNC}), - (STANDARD_OUTPUT_CONFIGURATION, 1), - (CUSTOM_OUTPUT_CONFIGURATION, 0), - (OVERRIDE_CONFIGURATION, 0), - (DATA_AUTOMATION_LIBRARY_CONFIGURATION, 0), - (CLIENT_TOKEN, 2), - (ENCRYPTION_CONFIGURATION, 0), - (TAG_LIST, 0), - ), -) - -DATA_AUTOMATION_PROJECT_STATUS: StaticSchema = ( - 14, - n0, - _DAPSa, - 0, - (_COMPLETED, _IP, _FAILED), - ((-1, {_sV: _COMPLETED}), (-1, {_sV: _IP}), (-1, {_sV: _FAILED})), -) - -CREATE_DATA_AUTOMATION_PROJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDAPO, - {_sSI: _cCDAPRo, _smit: None}, - (_pA, _pS, _st), - ( - (DATA_AUTOMATION_PROJECT_ARN, 1), - (DATA_AUTOMATION_PROJECT_STAGE, 0), - (DATA_AUTOMATION_PROJECT_STATUS, 0), - ), -) - -CREATE_DATA_AUTOMATION_PROJECT: StaticOperationSchema = ( - 23, - n0, - _CDAP, - { - _smith: MappingProxyType( - {"code": 201, "method": "PUT", "uri": "/data-automation-projects/"} - ) - }, - CREATE_DATA_AUTOMATION_PROJECT_INPUT, - CREATE_DATA_AUTOMATION_PROJECT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_DATA_AUTOMATION_PROJECT_INPUT: StaticSchema = ( - 18, - n0, - _DDAPI, - {_sSI: _cDDAPR, _sm: None}, - (_pA,), - ((DATA_AUTOMATION_PROJECT_ARN, 9),), -) - -DELETE_DATA_AUTOMATION_PROJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _DDAPO, - {_sSI: _cDDAPRo, _smit: None}, - (_pA, _st), - ((DATA_AUTOMATION_PROJECT_ARN, 1), (DATA_AUTOMATION_PROJECT_STATUS, 0)), -) - -DELETE_DATA_AUTOMATION_PROJECT: StaticOperationSchema = ( - 23, - n0, - _DDAP, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/data-automation-projects/{projectArn}/", - } - ) - }, - DELETE_DATA_AUTOMATION_PROJECT_INPUT, - DELETE_DATA_AUTOMATION_PROJECT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_DATA_AUTOMATION_PROJECT_INPUT: StaticSchema = ( - 18, - n0, - _GDAPI, - {_sSI: _cGDAPR, _sm: None}, - (_pA, _pS), - ((DATA_AUTOMATION_PROJECT_ARN, 9), (DATA_AUTOMATION_PROJECT_STAGE, 0)), -) - -DATA_AUTOMATION_PROJECT: StaticSchema = ( - 18, - n0, - _DAP, - 0, - (_pA, _cTr, _lMT, _pN, _pS, _pT, _pD, _sOC, _cOC, _oCv, _dALC, _st, _kKI, _kEC), - ( - (DATA_AUTOMATION_PROJECT_ARN, 1), - (DATE_TIMESTAMP, 1), - (DATE_TIMESTAMP, 1), - (DATA_AUTOMATION_PROJECT_NAME, 1), - (DATA_AUTOMATION_PROJECT_STAGE, 0), - (DATA_AUTOMATION_PROJECT_TYPE, 0), - (DATA_AUTOMATION_PROJECT_DESCRIPTION, 0), - (STANDARD_OUTPUT_CONFIGURATION, 0), - (CUSTOM_OUTPUT_CONFIGURATION, 0), - (OVERRIDE_CONFIGURATION, 0), - (DATA_AUTOMATION_LIBRARY_CONFIGURATION, 0), - (DATA_AUTOMATION_PROJECT_STATUS, 1), - (KMS_KEY_ID, 0), - (KMS_ENCRYPTION_CONTEXT, 0), - ), -) - -GET_DATA_AUTOMATION_PROJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _GDAPO, - {_sSI: _cGDAPRo, _smit: None}, - (_pr,), - ((DATA_AUTOMATION_PROJECT, 1),), -) - -GET_DATA_AUTOMATION_PROJECT: StaticOperationSchema = ( - 23, - n0, - _GDAP, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/data-automation-projects/{projectArn}/", - } - ) - }, - GET_DATA_AUTOMATION_PROJECT_INPUT, - GET_DATA_AUTOMATION_PROJECT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BLUEPRINT_FILTER: StaticSchema = ( - 18, - n0, - _BF, - 0, - (_bA, _bV, _bS), - ((BLUEPRINT_ARN, 1), (BLUEPRINT_VERSION, 0), (BLUEPRINT_STAGE, 0)), -) - -DATA_AUTOMATION_LIBRARY_FILTER: StaticSchema = ( - 18, - n0, - _DALF, - 0, - (_lA,), - ((DATA_AUTOMATION_LIBRARY_ARN, 1),), -) - -DATA_AUTOMATION_PROJECT_STAGE_FILTER: StaticSchema = ( - 14, - n0, - _DAPSF, - 0, - (_DEVELOPMENT, _LIVE, _ALL), - ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE}), (-1, {_sV: _ALL})), -) - -LIST_DATA_AUTOMATION_PROJECTS_INPUT: StaticSchema = ( - 18, - n0, - _LDAPI, - {_sSI: _cLDAPR, _sm: None}, - (_mR, _nT, _pSF, _bF, _rO, _lF), - ( - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (DATA_AUTOMATION_PROJECT_STAGE_FILTER, 0), - (BLUEPRINT_FILTER, 0), - (RESOURCE_OWNER, 0), - (DATA_AUTOMATION_LIBRARY_FILTER, 0), - ), -) - -DATA_AUTOMATION_PROJECT_SUMMARY: StaticSchema = ( - 18, - n0, - _DAPSat, - 0, - (_pA, _pS, _pT, _pN, _cTr), - ( - (DATA_AUTOMATION_PROJECT_ARN, 1), - (DATA_AUTOMATION_PROJECT_STAGE, 0), - (DATA_AUTOMATION_PROJECT_TYPE, 0), - (DATA_AUTOMATION_PROJECT_NAME, 0), - (DATE_TIMESTAMP, 1), - ), -) - -DATA_AUTOMATION_PROJECT_SUMMARIES: StaticSchema = ( - 16, - n0, - _DAPSata, - 0, - (_me,), - ((DATA_AUTOMATION_PROJECT_SUMMARY, 0),), -) - -LIST_DATA_AUTOMATION_PROJECTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDAPO, - {_sSI: _cLDAPRo, _smit: None}, - (_pro, _nT), - ((DATA_AUTOMATION_PROJECT_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_DATA_AUTOMATION_PROJECTS: StaticOperationSchema = ( - 23, - n0, - _LDAP, - { - _smith: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/data-automation-projects/"} - ) - }, - LIST_DATA_AUTOMATION_PROJECTS_INPUT, - LIST_DATA_AUTOMATION_PROJECTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_DATA_AUTOMATION_PROJECT_INPUT: StaticSchema = ( - 18, - n0, - _UDAPI, - {_sSI: _cUDAPR, _sm: None}, - (_pA, _pS, _pD, _sOC, _cOC, _oCv, _dALC, _eC), - ( - (DATA_AUTOMATION_PROJECT_ARN, 9), - (DATA_AUTOMATION_PROJECT_STAGE, 0), - (DATA_AUTOMATION_PROJECT_DESCRIPTION, 0), - (STANDARD_OUTPUT_CONFIGURATION, 1), - (CUSTOM_OUTPUT_CONFIGURATION, 0), - (OVERRIDE_CONFIGURATION, 0), - (DATA_AUTOMATION_LIBRARY_CONFIGURATION, 0), - (ENCRYPTION_CONFIGURATION, 0), - ), -) - -UPDATE_DATA_AUTOMATION_PROJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _UDAPO, - {_sSI: _cUDAPRo, _smit: None}, - (_pA, _pS, _st), - ( - (DATA_AUTOMATION_PROJECT_ARN, 1), - (DATA_AUTOMATION_PROJECT_STAGE, 0), - (DATA_AUTOMATION_PROJECT_STATUS, 0), - ), -) - -UPDATE_DATA_AUTOMATION_PROJECT: StaticOperationSchema = ( - 23, - n0, - _UDAP, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "PUT", - "uri": "/data-automation-projects/{projectArn}/", - } - ) - }, - UPDATE_DATA_AUTOMATION_PROJECT_INPUT, - UPDATE_DATA_AUTOMATION_PROJECT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_DATA_AUTOMATION_LIBRARY_ENTITY_INPUT: StaticSchema = ( - 18, - n0, - _GDALEI, - {_sSI: _cGDALER, _sm: None}, - (_lA, _eTn, _eIn), - ((DATA_AUTOMATION_LIBRARY_ARN, 9), (ENTITY_TYPE, 9), (ENTITY_ID, 9)), -) - -VOCABULARY_ENTITY: StaticSchema = ( - 18, - n0, - _VEo, - 0, - (_eIn, _d, _l, _p, _lMT), - ( - (ENTITY_ID, 0), - (ENTITY_DESCRIPTION, 0), - (LANGUAGE, 0), - (PHRASE_LIST, 0), - (DATE_TIMESTAMP, 0), - ), -) - -ENTITY_DETAILS: StaticSchema = (19, n0, _EDn, 0, (_vo,), ((VOCABULARY_ENTITY, 0),)) - -GET_DATA_AUTOMATION_LIBRARY_ENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _GDALEO, - {_sSI: _cGDALERo, _smit: None}, - (_en,), - ((ENTITY_DETAILS, 0),), -) - -GET_DATA_AUTOMATION_LIBRARY_ENTITY: StaticOperationSchema = ( - 23, - n0, - _GDALE, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/data-automation-libraries/{libraryArn}/entityType/{entityType}/entities/{entityId}", - } - ) - }, - GET_DATA_AUTOMATION_LIBRARY_ENTITY_INPUT, - GET_DATA_AUTOMATION_LIBRARY_ENTITY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_INPUT: StaticSchema = ( - 18, - n0, - _LDALEI, - {_sSI: _cLDALER, _sm: None}, - (_lA, _eTn, _mR, _nT), - ( - (DATA_AUTOMATION_LIBRARY_ARN, 9), - (ENTITY_TYPE, 9), - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -VOCABULARY_ENTITY_SUMMARY: StaticSchema = ( - 18, - n0, - _VES, - 0, - (_eIn, _d, _l, _nOP, _lMT), - ( - (ENTITY_ID, 0), - (ENTITY_DESCRIPTION, 0), - (LANGUAGE, 0), - (7, 0), - (DATE_TIMESTAMP, 0), - ), -) - -DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARY: StaticSchema = ( - 19, - n0, - _DALES, - 0, - (_vo,), - ((VOCABULARY_ENTITY_SUMMARY, 0),), -) - -DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARIES: StaticSchema = ( - 16, - n0, - _DALESa, - 0, - (_me,), - ((DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARY, 0),), -) - -LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LDALEO, - {_sSI: _cLDALERo, _smit: None}, - (_ent, _nT), - ((DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_DATA_AUTOMATION_LIBRARY_ENTITIES: StaticOperationSchema = ( - 23, - n0, - _LDALE, - { - _smith: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/data-automation-libraries/{libraryArn}/entityType/{entityType}/entities/", - } - ) - }, - LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_INPUT, - LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAGGABLE_RESOURCE_ARN: StaticSchema = (3, n0, _TRA, 0) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _sm: None}, - (_rARN,), - ((TAGGABLE_RESOURCE_ARN, 1),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smit: None}, - (_t,), - ((TAG_LIST, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - { - _smith: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/listTagsForResource"} - ) - }, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _sm: None}, - (_rARN, _t), - ((TAGGABLE_RESOURCE_ARN, 1), (TAG_LIST, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smit: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - {_smith: MappingProxyType({"code": 200, "method": "POST", "uri": "/tagResource"})}, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _sm: None}, - (_rARN, _tK), - ((TAGGABLE_RESOURCE_ARN, 1), (TAG_KEY_LIST, 1)), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smit: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smith: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/untagResource"} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AMAZON_BEDROCK_KEYSTONE_BUILD_TIME_SERVICE: StaticSchema = ( - 21, - n0, - _ABKBTS, - { - _aw: MappingProxyType({"name": "bedrock"}), - _aws: MappingProxyType( - { - "sdkId": "Bedrock Data Automation", - "arnNamespace": "bedrock", - "endpointPrefix": "bedrock-data-automation", - "cloudTrailEventSource": "bedrock.amazonaws.com", - } - ), - _aJ: None, - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "NON_BLANK_STRING", + "ACCESS_DENIED_EXCEPTION", + "BLUEPRINT_OPTIMIZATION_INVOCATION_ARN", + "GET_BLUEPRINT_OPTIMIZATION_STATUS_INPUT", + "GET_BLUEPRINT_OPTIMIZATION_STATUS_OUTPUT", + "GET_BLUEPRINT_OPTIMIZATION_STATUS", + "S3_URI", + "S3_OBJECT_VERSION", + "S3_OBJECT", + "BLUEPRINT_OPTIMIZATION_OUTPUT_CONFIGURATION", + "BLUEPRINT_OPTIMIZATION_JOB_STATUS", + "INTERNAL_SERVER_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION_FIELD", + "VALIDATION_EXCEPTION_FIELD_LIST", + "VALIDATION_EXCEPTION", + "BLUEPRINT_ARN", + "BLUEPRINT_STAGE", + "BLUEPRINT_OPTIMIZATION_OBJECT", + "DATA_AUTOMATION_PROFILE_ARN", + "ENCRYPTION_CONTEXT_KEY", + "ENCRYPTION_CONTEXT_VALUE", + "KMS_ENCRYPTION_CONTEXT", + "KMS_KEY_ID", + "ENCRYPTION_CONFIGURATION", + "BLUEPRINT_OPTIMIZATION_SAMPLE", + "BLUEPRINT_OPTIMIZATION_SAMPLES", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAG_LIST", + "INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_INPUT", + "INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_OUTPUT", + "INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "CONFLICT_EXCEPTION", + "BLUEPRINT_NAME", + "CLIENT_TOKEN", + "BLUEPRINT_SCHEMA", + "TYPE", + "CREATE_BLUEPRINT_INPUT", + "CREATE_BLUEPRINT_OUTPUT", + "CREATE_BLUEPRINT", + "BLUEPRINT_VERSION", + "DATE_TIMESTAMP", + "BLUEPRINT", + "DELETE_BLUEPRINT_INPUT", + "DELETE_BLUEPRINT_OUTPUT", + "DELETE_BLUEPRINT", + "GET_BLUEPRINT_INPUT", + "GET_BLUEPRINT_OUTPUT", + "GET_BLUEPRINT", + "BLUEPRINT_STAGE_FILTER", + "MAX_RESULTS", + "NEXT_TOKEN", + "DATA_AUTOMATION_PROJECT_ARN", + "DATA_AUTOMATION_PROJECT_STAGE", + "DATA_AUTOMATION_PROJECT_FILTER", + "RESOURCE_OWNER", + "LIST_BLUEPRINTS_INPUT", + "LIST_BLUEPRINTS_OUTPUT", + "LIST_BLUEPRINTS", + "BLUEPRINT_SUMMARY", + "BLUEPRINTS", + "UPDATE_BLUEPRINT_INPUT", + "UPDATE_BLUEPRINT_OUTPUT", + "UPDATE_BLUEPRINT", + "COPY_BLUEPRINT_STAGE_INPUT", + "COPY_BLUEPRINT_STAGE_OUTPUT", + "COPY_BLUEPRINT_STAGE", + "CREATE_BLUEPRINT_VERSION_INPUT", + "CREATE_BLUEPRINT_VERSION_OUTPUT", + "CREATE_BLUEPRINT_VERSION", + "DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN", + "DATA_AUTOMATION_LIBRARY_ARN", + "GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT", + "GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT", + "GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB", + "ENTITY_TYPE", + "LIBRARY_INGESTION_JOB_STATUS", + "LIBRARY_INGESTION_JOB_OPERATION_TYPE", + "OUTPUT_CONFIGURATION", + "DATA_AUTOMATION_LIBRARY_INGESTION_JOB", + "ENTITY_ID", + "ENTITY_ID_LIST", + "DELETE_ENTITIES_INFO", + "ENTITY_DESCRIPTION", + "LANGUAGE", + "PHRASE_DISPLAY_AS_TEXT", + "PHRASE_TEXT", + "PHRASE", + "PHRASE_LIST", + "VOCABULARY_ENTITY_INFO", + "UPSERT_ENTITY_INFO", + ), + ( + "UPSERT_ENTITIES_INFO", + "INLINE_PAYLOAD", + "INPUT_CONFIGURATION", + "EVENT_BRIDGE_CONFIGURATION", + "NOTIFICATION_CONFIGURATION", + "INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT", + "INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT", + "INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB", + "LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_INPUT", + "LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_OUTPUT", + "LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS", + "DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARY", + "DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARIES", + "DATA_AUTOMATION_LIBRARY_DESCRIPTION", + "DATA_AUTOMATION_LIBRARY_NAME", + "CREATE_DATA_AUTOMATION_LIBRARY_INPUT", + "CREATE_DATA_AUTOMATION_LIBRARY_OUTPUT", + "CREATE_DATA_AUTOMATION_LIBRARY", + "DATA_AUTOMATION_LIBRARY_STATUS", + "DELETE_DATA_AUTOMATION_LIBRARY_INPUT", + "DELETE_DATA_AUTOMATION_LIBRARY_OUTPUT", + "DELETE_DATA_AUTOMATION_LIBRARY", + "GET_DATA_AUTOMATION_LIBRARY_INPUT", + "GET_DATA_AUTOMATION_LIBRARY_OUTPUT", + "GET_DATA_AUTOMATION_LIBRARY", + "ENTITY_METADATA", + "ENTITY_TYPE_INFO", + "ENTITY_TYPE_INFO_LIST", + "DATA_AUTOMATION_LIBRARY", + "LIST_DATA_AUTOMATION_LIBRARIES_INPUT", + "LIST_DATA_AUTOMATION_LIBRARIES_OUTPUT", + "LIST_DATA_AUTOMATION_LIBRARIES", + "DATA_AUTOMATION_LIBRARY_SUMMARY", + "DATA_AUTOMATION_LIBRARY_SUMMARIES", + "UPDATE_DATA_AUTOMATION_LIBRARY_INPUT", + "UPDATE_DATA_AUTOMATION_LIBRARY_OUTPUT", + "UPDATE_DATA_AUTOMATION_LIBRARY", + "BLUEPRINT_ITEM", + "BLUEPRINT_ITEMS", + "FALLBACK_BLUEPRINT_ITEMS", + "DOCUMENT_CUSTOM_OUTPUT_CONFIGURATION", + "CUSTOM_OUTPUT_CONFIGURATION", + "DATA_AUTOMATION_LIBRARY_ITEM", + "DATA_AUTOMATION_LIBRARY_ITEMS", + "DATA_AUTOMATION_LIBRARY_CONFIGURATION", + "AUDIO_GENERATIVE_OUTPUT_LANGUAGE", + "AUDIO_INPUT_LANGUAGES", + "AUDIO_LANGUAGE_CONFIGURATION", + "STATE", + "MODALITY_PROCESSING_CONFIGURATION", + "SENSITIVE_DATA_DETECTION_MODE", + "SENSITIVE_DATA_DETECTION_SCOPE_TYPE", + "SENSITIVE_DATA_DETECTION_SCOPE", + "PII_ENTITY_TYPE", + "PII_ENTITY_TYPES", + "PII_REDACTION_MASK_MODE", + "PII_ENTITIES_CONFIGURATION", + "SENSITIVE_DATA_CONFIGURATION", + "AUDIO_OVERRIDE_CONFIGURATION", + "SPLITTER_CONFIGURATION", + "DOCUMENT_OVERRIDE_CONFIGURATION", + "IMAGE_OVERRIDE_CONFIGURATION", + "DESIRED_MODALITY", + "MODALITY_ROUTING_CONFIGURATION", + "VIDEO_OVERRIDE_CONFIGURATION", + "OVERRIDE_CONFIGURATION", + "DATA_AUTOMATION_PROJECT_DESCRIPTION", + "DATA_AUTOMATION_PROJECT_NAME", + "DATA_AUTOMATION_PROJECT_TYPE", + "CHANNEL_LABELING_CONFIGURATION", + "SPEAKER_LABELING_CONFIGURATION", + "TRANSCRIPT_CONFIGURATION", + "AUDIO_EXTRACTION_CATEGORY_TYPE_CONFIGURATION", + "AUDIO_EXTRACTION_CATEGORY_TYPE", + "AUDIO_EXTRACTION_CATEGORY_TYPES", + "AUDIO_EXTRACTION_CATEGORY", + "AUDIO_STANDARD_EXTRACTION", + "AUDIO_STANDARD_GENERATIVE_FIELD_TYPE", + ), + ( + "AUDIO_STANDARD_GENERATIVE_FIELD_TYPES", + "AUDIO_STANDARD_GENERATIVE_FIELD", + "AUDIO_STANDARD_OUTPUT_CONFIGURATION", + "DOCUMENT_BOUNDING_BOX", + "DOCUMENT_EXTRACTION_GRANULARITY_TYPE", + "DOCUMENT_EXTRACTION_GRANULARITY_TYPES", + "DOCUMENT_EXTRACTION_GRANULARITY", + "DOCUMENT_STANDARD_EXTRACTION", + "DOCUMENT_STANDARD_GENERATIVE_FIELD", + "DOCUMENT_OUTPUT_ADDITIONAL_FILE_FORMAT", + "DOCUMENT_OUTPUT_TEXT_FORMAT_TYPE", + "DOCUMENT_OUTPUT_TEXT_FORMAT_TYPES", + "DOCUMENT_OUTPUT_TEXT_FORMAT", + "DOCUMENT_OUTPUT_FORMAT", + "DOCUMENT_STANDARD_OUTPUT_CONFIGURATION", + "IMAGE_BOUNDING_BOX", + "IMAGE_EXTRACTION_CATEGORY_TYPE", + "IMAGE_EXTRACTION_CATEGORY_TYPES", + "IMAGE_EXTRACTION_CATEGORY", + "IMAGE_STANDARD_EXTRACTION", + "IMAGE_STANDARD_GENERATIVE_FIELD_TYPE", + "IMAGE_STANDARD_GENERATIVE_FIELD_TYPES", + "IMAGE_STANDARD_GENERATIVE_FIELD", + "IMAGE_STANDARD_OUTPUT_CONFIGURATION", + "VIDEO_BOUNDING_BOX", + "VIDEO_EXTRACTION_CATEGORY_TYPE", + "VIDEO_EXTRACTION_CATEGORY_TYPES", + "VIDEO_EXTRACTION_CATEGORY", + "VIDEO_STANDARD_EXTRACTION", + "VIDEO_STANDARD_GENERATIVE_FIELD_TYPE", + "VIDEO_STANDARD_GENERATIVE_FIELD_TYPES", + "VIDEO_STANDARD_GENERATIVE_FIELD", + "VIDEO_STANDARD_OUTPUT_CONFIGURATION", + "STANDARD_OUTPUT_CONFIGURATION", + "CREATE_DATA_AUTOMATION_PROJECT_INPUT", + "CREATE_DATA_AUTOMATION_PROJECT_OUTPUT", + "CREATE_DATA_AUTOMATION_PROJECT", + "DATA_AUTOMATION_PROJECT_STATUS", + "DELETE_DATA_AUTOMATION_PROJECT_INPUT", + "DELETE_DATA_AUTOMATION_PROJECT_OUTPUT", + "DELETE_DATA_AUTOMATION_PROJECT", + "GET_DATA_AUTOMATION_PROJECT_INPUT", + "GET_DATA_AUTOMATION_PROJECT_OUTPUT", + "GET_DATA_AUTOMATION_PROJECT", + "DATA_AUTOMATION_PROJECT", + "BLUEPRINT_FILTER", + "DATA_AUTOMATION_LIBRARY_FILTER", + "DATA_AUTOMATION_PROJECT_STAGE_FILTER", + "LIST_DATA_AUTOMATION_PROJECTS_INPUT", + "LIST_DATA_AUTOMATION_PROJECTS_OUTPUT", + "LIST_DATA_AUTOMATION_PROJECTS", + "DATA_AUTOMATION_PROJECT_SUMMARY", + "DATA_AUTOMATION_PROJECT_SUMMARIES", + "UPDATE_DATA_AUTOMATION_PROJECT_INPUT", + "UPDATE_DATA_AUTOMATION_PROJECT_OUTPUT", + "UPDATE_DATA_AUTOMATION_PROJECT", + "GET_DATA_AUTOMATION_LIBRARY_ENTITY_INPUT", + "GET_DATA_AUTOMATION_LIBRARY_ENTITY_OUTPUT", + "GET_DATA_AUTOMATION_LIBRARY_ENTITY", + "VOCABULARY_ENTITY", + "ENTITY_DETAILS", + "LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_INPUT", + "LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_OUTPUT", + "LIST_DATA_AUTOMATION_LIBRARY_ENTITIES", + "VOCABULARY_ENTITY_SUMMARY", + "DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARY", + "DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARIES", + "TAGGABLE_RESOURCE_ARN", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "AMAZON_BEDROCK_KEYSTONE_BUILD_TIME_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas_0.py b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas_0.py new file mode 100644 index 000000000..03977bd9a --- /dev/null +++ b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas_0.py @@ -0,0 +1,1075 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.bedrockdataautomation" +_NBS = "NonBlankString" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_BOIA = "BlueprintOptimizationInvocationArn" +_GBOSI = "GetBlueprintOptimizationStatusInput" +_sSI = "smithy.synthetic#originalShapeId" +_cGBOSR = "com.amazonaws.bedrockdataautomation#GetBlueprintOptimizationStatusRequest" +_sm = "smithy.api#input" +_iA = "invocationArn" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_SU = "S3Uri" +_SOV = "S3ObjectVersion" +_SO = "S3Object" +_sU = "s3Uri" +_v = "version" +_BOOC = "BlueprintOptimizationOutputConfiguration" +_sO = "s3Object" +_BOJS = "BlueprintOptimizationJobStatus" +_CREATED = "CREATED" +_sV = "smithy.api#enumValue" +_C = "Created" +_IP = "IN_PROGRESS" +_IPn = "InProgress" +_SUCCESS = "SUCCESS" +_S = "Success" +_SE = "SERVICE_ERROR" +_SEe = "ServiceError" +_CE = "CLIENT_ERROR" +_CEl = "ClientError" +_GBOSO = "GetBlueprintOptimizationStatusOutput" +_cGBOSRo = "com.amazonaws.bedrockdataautomation#GetBlueprintOptimizationStatusResponse" +_smit = "smithy.api#output" +_st = "status" +_eT = "errorType" +_eM = "errorMessage" +_oC = "outputConfiguration" +_ISE = "InternalServerException" +_se = "server" +_RNFE = "ResourceNotFoundException" +_TE = "ThrottlingException" +_VEF = "ValidationExceptionField" +_n = "name" +_VEFL = "ValidationExceptionFieldList" +_me = "member" +_VE = "ValidationException" +_fL = "fieldList" +_GBOS = "GetBlueprintOptimizationStatus" +_smith = "smithy.api#http" +_BA = "BlueprintArn" +_BS = "BlueprintStage" +_DEVELOPMENT = "DEVELOPMENT" +_LIVE = "LIVE" +_BOO = "BlueprintOptimizationObject" +_bA = "blueprintArn" +_sta = "stage" +_DAPA = "DataAutomationProfileArn" +_ECK = "EncryptionContextKey" +_ECV = "EncryptionContextValue" +_KEC = "KmsEncryptionContext" +_k = "key" +_va = "value" +_KKI = "KmsKeyId" +_EC = "EncryptionConfiguration" +_kKI = "kmsKeyId" +_kEC = "kmsEncryptionContext" +_BOS = "BlueprintOptimizationSample" +_aSO = "assetS3Object" +_gTSO = "groundTruthS3Object" +_BOSl = "BlueprintOptimizationSamples" +_TK = "TagKey" +_TV = "TagValue" +_T = "Tag" +_TL = "TagList" +_IBOAI = "InvokeBlueprintOptimizationAsyncInput" +_cIBOAR = "com.amazonaws.bedrockdataautomation#InvokeBlueprintOptimizationAsyncRequest" +_b = "blueprint" +_sa = "samples" +_dAPA = "dataAutomationProfileArn" +_eC = "encryptionConfiguration" +_t = "tags" +_IBOAO = "InvokeBlueprintOptimizationAsyncOutput" +_cIBOARo = ( + "com.amazonaws.bedrockdataautomation#InvokeBlueprintOptimizationAsyncResponse" +) +_SQEE = "ServiceQuotaExceededException" +_IBOA = "InvokeBlueprintOptimizationAsync" +_CEo = "ConflictException" +_BN = "BlueprintName" +_smithy = "smithy.api#sensitive" +_CT = "ClientToken" +_BSl = "BlueprintSchema" +_Ty = "Type" +_DOCUMENT = "DOCUMENT" +_IMAGE = "IMAGE" +_AUDIO = "AUDIO" +_VIDEO = "VIDEO" +_CBI = "CreateBlueprintInput" +_cCBR = "com.amazonaws.bedrockdataautomation#CreateBlueprintRequest" +_bN = "blueprintName" +_ty = "type" +_bS = "blueprintStage" +_sc = "schema" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_BV = "BlueprintVersion" +_DT = "DateTimestamp" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_B = "Blueprint" +_cTr = "creationTime" +_lMT = "lastModifiedTime" +_bV = "blueprintVersion" +_oS = "optimizationSamples" +_oT = "optimizationTime" +_CBO = "CreateBlueprintOutput" +_cCBRo = "com.amazonaws.bedrockdataautomation#CreateBlueprintResponse" +_CB = "CreateBlueprint" +_DBI = "DeleteBlueprintInput" +_cDBR = "com.amazonaws.bedrockdataautomation#DeleteBlueprintRequest" +_sQ = "smithy.api#httpQuery" +_DBO = "DeleteBlueprintOutput" +_cDBRo = "com.amazonaws.bedrockdataautomation#DeleteBlueprintResponse" +_DB = "DeleteBlueprint" +_GBI = "GetBlueprintInput" +_cGBR = "com.amazonaws.bedrockdataautomation#GetBlueprintRequest" +_GBO = "GetBlueprintOutput" +_cGBRo = "com.amazonaws.bedrockdataautomation#GetBlueprintResponse" +_GB = "GetBlueprint" +_BSF = "BlueprintStageFilter" +_ALL = "ALL" +_MR = "MaxResults" +_NT = "NextToken" +_DAPAa = "DataAutomationProjectArn" +_DAPS = "DataAutomationProjectStage" +_DAPF = "DataAutomationProjectFilter" +_pA = "projectArn" +_pS = "projectStage" +_RO = "ResourceOwner" +_SERVICE = "SERVICE" +_ACCOUNT = "ACCOUNT" +_LBI = "ListBlueprintsInput" +_cLBR = "com.amazonaws.bedrockdataautomation#ListBlueprintsRequest" +_rO = "resourceOwner" +_bSF = "blueprintStageFilter" +_mR = "maxResults" +_nT = "nextToken" +_pF = "projectFilter" +_BSlu = "BlueprintSummary" +_Bl = "Blueprints" +_LBO = "ListBlueprintsOutput" +_cLBRo = "com.amazonaws.bedrockdataautomation#ListBlueprintsResponse" +_bl = "blueprints" +_LB = "ListBlueprints" +_UBI = "UpdateBlueprintInput" +_cUBR = "com.amazonaws.bedrockdataautomation#UpdateBlueprintRequest" +_UBO = "UpdateBlueprintOutput" +_cUBRo = "com.amazonaws.bedrockdataautomation#UpdateBlueprintResponse" +_UB = "UpdateBlueprint" +_CBSI = "CopyBlueprintStageInput" +_cCBSR = "com.amazonaws.bedrockdataautomation#CopyBlueprintStageRequest" +_sS = "sourceStage" +_tS = "targetStage" +_CBSO = "CopyBlueprintStageOutput" +_cCBSRo = "com.amazonaws.bedrockdataautomation#CopyBlueprintStageResponse" +_CBS = "CopyBlueprintStage" +_CBVI = "CreateBlueprintVersionInput" +_cCBVR = "com.amazonaws.bedrockdataautomation#CreateBlueprintVersionRequest" +_CBVO = "CreateBlueprintVersionOutput" +_cCBVRo = "com.amazonaws.bedrockdataautomation#CreateBlueprintVersionResponse" +_CBV = "CreateBlueprintVersion" +_DALIJA = "DataAutomationLibraryIngestionJobArn" +_DALA = "DataAutomationLibraryArn" +_GDALIJI = "GetDataAutomationLibraryIngestionJobInput" +_cGDALIJR = ( + "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryIngestionJobRequest" +) +_lA = "libraryArn" +_jA = "jobArn" +_ET = "EntityType" +_VOCABULARY = "VOCABULARY" +_LIJS = "LibraryIngestionJobStatus" +_COMPLETED = "COMPLETED" +_CWE = "COMPLETED_WITH_ERRORS" +_FAILED = "FAILED" +_LIJOT = "LibraryIngestionJobOperationType" +_UPSERT = "UPSERT" +_DELETE = "DELETE" +_OC = "OutputConfiguration" +_DALIJ = "DataAutomationLibraryIngestionJob" +_eTn = "entityType" +_oTp = "operationType" +_jS = "jobStatus" +_cTo = "completionTime" +_GDALIJO = "GetDataAutomationLibraryIngestionJobOutput" +_cGDALIJRo = ( + "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryIngestionJobResponse" +) +_j = "job" +_GDALIJ = "GetDataAutomationLibraryIngestionJob" +_EI = "EntityId" +_EIL = "EntityIdList" +_DEI = "DeleteEntitiesInfo" +_eI = "entityIds" +_ED = "EntityDescription" +_L = "Language" +_EN = "EN" +_DE = "DE" +_ES = "ES" +_FR = "FR" +_IT = "IT" +_PT = "PT" +_JA = "JA" +_KO = "KO" +_CN = "CN" +_TW = "TW" +_HK = "HK" +_PDAT = "PhraseDisplayAsText" +_PTh = "PhraseText" +_P = "Phrase" +_te = "text" +_dAT = "displayAsText" +_PL = "PhraseList" +_VEI = "VocabularyEntityInfo" +_eIn = "entityId" +_d = "description" +_l = "language" +_p = "phrases" +_UEI = "UpsertEntityInfo" +_vo = "vocabulary" + +NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c, _sE: 403}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +BLUEPRINT_OPTIMIZATION_INVOCATION_ARN: StaticSchema = (3, n0, _BOIA, 0) + +GET_BLUEPRINT_OPTIMIZATION_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _GBOSI, + {_sSI: _cGBOSR, _sm: None}, + (_iA,), + ((BLUEPRINT_OPTIMIZATION_INVOCATION_ARN, 9),), +) + +GET_BLUEPRINT_OPTIMIZATION_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _GBOSO, + {_sSI: _cGBOSRo, _smit: None}, + (_st, _eT, _eM, _oC), + ( + (lambda: BLUEPRINT_OPTIMIZATION_JOB_STATUS, 0), + (3, 0), + (3, 0), + (lambda: BLUEPRINT_OPTIMIZATION_OUTPUT_CONFIGURATION, 0), + ), +) + +GET_BLUEPRINT_OPTIMIZATION_STATUS: StaticOperationSchema = ( + 23, + n0, + _GBOS, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/getBlueprintOptimizationStatus/{invocationArn}", + } + ) + }, + GET_BLUEPRINT_OPTIMIZATION_STATUS_INPUT, + GET_BLUEPRINT_OPTIMIZATION_STATUS_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +S3_URI: StaticSchema = (3, n0, _SU, 0) + +S3_OBJECT_VERSION: StaticSchema = (3, n0, _SOV, 0) + +S3_OBJECT: StaticSchema = ( + 18, + n0, + _SO, + 0, + (_sU, _v), + ((S3_URI, 1), (S3_OBJECT_VERSION, 0)), +) + +BLUEPRINT_OPTIMIZATION_OUTPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BOOC, + 0, + (_sO,), + ((S3_OBJECT, 1),), +) + +BLUEPRINT_OPTIMIZATION_JOB_STATUS: StaticSchema = ( + 14, + n0, + _BOJS, + 0, + (_CREATED, _IP, _SUCCESS, _SE, _CE), + ( + (-1, {_sV: _C}), + (-1, {_sV: _IPn}), + (-1, {_sV: _S}), + (-1, {_sV: _SEe}), + (-1, {_sV: _CEl}), + ), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_s: _se, _sE: 500}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c, _sE: 404}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + {_s: _c, _sE: 429}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +VALIDATION_EXCEPTION_FIELD: StaticSchema = ( + 18, + n0, + _VEF, + 0, + (_n, _m), + ((NON_BLANK_STRING, 1), (NON_BLANK_STRING, 1)), +) + +VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( + 16, + n0, + _VEFL, + 0, + (_me,), + ((VALIDATION_EXCEPTION_FIELD, 0),), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_s: _c, _sE: 400}, + (_m, _fL), + ((NON_BLANK_STRING, 0), (VALIDATION_EXCEPTION_FIELD_LIST, 0)), +) + +BLUEPRINT_ARN: StaticSchema = (3, n0, _BA, 0) + +BLUEPRINT_STAGE: StaticSchema = ( + 14, + n0, + _BS, + 0, + (_DEVELOPMENT, _LIVE), + ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE})), +) + +BLUEPRINT_OPTIMIZATION_OBJECT: StaticSchema = ( + 18, + n0, + _BOO, + 0, + (_bA, _sta), + ((BLUEPRINT_ARN, 1), (BLUEPRINT_STAGE, 0)), +) + +DATA_AUTOMATION_PROFILE_ARN: StaticSchema = (3, n0, _DAPA, 0) + +ENCRYPTION_CONTEXT_KEY: StaticSchema = (3, n0, _ECK, 0) + +ENCRYPTION_CONTEXT_VALUE: StaticSchema = (3, n0, _ECV, 0) + +KMS_ENCRYPTION_CONTEXT: StaticSchema = ( + 17, + n0, + _KEC, + 0, + (_k, _va), + ((ENCRYPTION_CONTEXT_KEY, 0), (ENCRYPTION_CONTEXT_VALUE, 0)), +) + +KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) + +ENCRYPTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EC, + 0, + (_kKI, _kEC), + ((KMS_KEY_ID, 1), (KMS_ENCRYPTION_CONTEXT, 0)), +) + +BLUEPRINT_OPTIMIZATION_SAMPLE: StaticSchema = ( + 18, + n0, + _BOS, + 0, + (_aSO, _gTSO), + ((S3_OBJECT, 1), (S3_OBJECT, 1)), +) + +BLUEPRINT_OPTIMIZATION_SAMPLES: StaticSchema = ( + 16, + n0, + _BOSl, + 0, + (_me,), + ((BLUEPRINT_OPTIMIZATION_SAMPLE, 0),), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _T, 0, (_k, _va), ((TAG_KEY, 1), (TAG_VALUE, 1))) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, 0),)) + +INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_INPUT: StaticSchema = ( + 18, + n0, + _IBOAI, + {_sSI: _cIBOAR, _sm: None}, + (_b, _sa, _oC, _dAPA, _eC, _t), + ( + (BLUEPRINT_OPTIMIZATION_OBJECT, 1), + (BLUEPRINT_OPTIMIZATION_SAMPLES, 1), + (BLUEPRINT_OPTIMIZATION_OUTPUT_CONFIGURATION, 1), + (DATA_AUTOMATION_PROFILE_ARN, 1), + (ENCRYPTION_CONFIGURATION, 0), + (TAG_LIST, 0), + ), +) + +INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_OUTPUT: StaticSchema = ( + 18, + n0, + _IBOAO, + {_sSI: _cIBOARo, _smit: None}, + (_iA,), + ((BLUEPRINT_OPTIMIZATION_INVOCATION_ARN, 1),), +) + +INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC: StaticOperationSchema = ( + 23, + n0, + _IBOA, + { + _smith: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/invokeBlueprintOptimizationAsync"} + ) + }, + INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_INPUT, + INVOKE_BLUEPRINT_OPTIMIZATION_ASYNC_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_s: _c, _sE: 402}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CEo, + {_s: _c, _sE: 409}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +BLUEPRINT_NAME: StaticSchema = (3, n0, _BN, 4) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) + +BLUEPRINT_SCHEMA: StaticSchema = (3, n0, _BSl, 4) + +TYPE: StaticSchema = ( + 14, + n0, + _Ty, + 0, + (_DOCUMENT, _IMAGE, _AUDIO, _VIDEO), + ( + (-1, {_sV: _DOCUMENT}), + (-1, {_sV: _IMAGE}), + (-1, {_sV: _AUDIO}), + (-1, {_sV: _VIDEO}), + ), +) + +CREATE_BLUEPRINT_INPUT: StaticSchema = ( + 18, + n0, + _CBI, + {_sSI: _cCBR, _sm: None}, + (_bN, _ty, _bS, _sc, _cT, _eC, _t), + ( + (BLUEPRINT_NAME, 1), + (TYPE, 1), + (BLUEPRINT_STAGE, 0), + (BLUEPRINT_SCHEMA, 1), + (CLIENT_TOKEN, 2), + (ENCRYPTION_CONFIGURATION, 0), + (TAG_LIST, 0), + ), +) + +CREATE_BLUEPRINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CBO, + {_sSI: _cCBRo, _smit: None}, + (_b,), + ((lambda: BLUEPRINT, 1),), +) + +CREATE_BLUEPRINT: StaticOperationSchema = ( + 23, + n0, + _CB, + {_smith: MappingProxyType({"code": 201, "method": "PUT", "uri": "/blueprints/"})}, + CREATE_BLUEPRINT_INPUT, + CREATE_BLUEPRINT_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +BLUEPRINT_VERSION: StaticSchema = (3, n0, _BV, 0) + +DATE_TIMESTAMP: StaticSchema = (4, n0, _DT, {_sF: _dt}) + +BLUEPRINT: StaticSchema = ( + 18, + n0, + _B, + 0, + (_bA, _sc, _ty, _cTr, _lMT, _bN, _bV, _bS, _kKI, _kEC, _oS, _oT), + ( + (BLUEPRINT_ARN, 1), + (BLUEPRINT_SCHEMA, 1), + (TYPE, 1), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 1), + (BLUEPRINT_NAME, 1), + (BLUEPRINT_VERSION, 0), + (BLUEPRINT_STAGE, 0), + (KMS_KEY_ID, 0), + (KMS_ENCRYPTION_CONTEXT, 0), + (BLUEPRINT_OPTIMIZATION_SAMPLES, 0), + (DATE_TIMESTAMP, 0), + ), +) + +DELETE_BLUEPRINT_INPUT: StaticSchema = ( + 18, + n0, + _DBI, + {_sSI: _cDBR, _sm: None}, + (_bA, _bV), + ((BLUEPRINT_ARN, 9), (BLUEPRINT_VERSION, {_sQ: _bV})), +) + +DELETE_BLUEPRINT_OUTPUT: StaticSchema = (18, n0, _DBO, {_sSI: _cDBRo, _smit: None}) + +DELETE_BLUEPRINT: StaticOperationSchema = ( + 23, + n0, + _DB, + { + _smith: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/blueprints/{blueprintArn}/"} + ) + }, + DELETE_BLUEPRINT_INPUT, + DELETE_BLUEPRINT_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +GET_BLUEPRINT_INPUT: StaticSchema = ( + 18, + n0, + _GBI, + {_sSI: _cGBR, _sm: None}, + (_bA, _bV, _bS), + ((BLUEPRINT_ARN, 9), (BLUEPRINT_VERSION, 0), (BLUEPRINT_STAGE, 0)), +) + +GET_BLUEPRINT_OUTPUT: StaticSchema = ( + 18, + n0, + _GBO, + {_sSI: _cGBRo, _smit: None}, + (_b,), + ((BLUEPRINT, 1),), +) + +GET_BLUEPRINT: StaticOperationSchema = ( + 23, + n0, + _GB, + { + _smith: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/blueprints/{blueprintArn}/"} + ) + }, + GET_BLUEPRINT_INPUT, + GET_BLUEPRINT_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +BLUEPRINT_STAGE_FILTER: StaticSchema = ( + 14, + n0, + _BSF, + 0, + (_DEVELOPMENT, _LIVE, _ALL), + ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE}), (-1, {_sV: _ALL})), +) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +DATA_AUTOMATION_PROJECT_ARN: StaticSchema = (3, n0, _DAPAa, 0) + +DATA_AUTOMATION_PROJECT_STAGE: StaticSchema = ( + 14, + n0, + _DAPS, + 0, + (_DEVELOPMENT, _LIVE), + ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE})), +) + +DATA_AUTOMATION_PROJECT_FILTER: StaticSchema = ( + 18, + n0, + _DAPF, + 0, + (_pA, _pS), + ((DATA_AUTOMATION_PROJECT_ARN, 1), (DATA_AUTOMATION_PROJECT_STAGE, 0)), +) + +RESOURCE_OWNER: StaticSchema = ( + 14, + n0, + _RO, + 0, + (_SERVICE, _ACCOUNT), + ((-1, {_sV: _SERVICE}), (-1, {_sV: _ACCOUNT})), +) + +LIST_BLUEPRINTS_INPUT: StaticSchema = ( + 18, + n0, + _LBI, + {_sSI: _cLBR, _sm: None}, + (_bA, _rO, _bSF, _mR, _nT, _pF), + ( + (BLUEPRINT_ARN, 0), + (RESOURCE_OWNER, 0), + (BLUEPRINT_STAGE_FILTER, 0), + (MAX_RESULTS, 0), + (NEXT_TOKEN, 0), + (DATA_AUTOMATION_PROJECT_FILTER, 0), + ), +) + +LIST_BLUEPRINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBO, + {_sSI: _cLBRo, _smit: None}, + (_bl, _nT), + ((lambda: BLUEPRINTS, 1), (NEXT_TOKEN, 0)), +) + +LIST_BLUEPRINTS: StaticOperationSchema = ( + 23, + n0, + _LB, + {_smith: MappingProxyType({"code": 200, "method": "POST", "uri": "/blueprints/"})}, + LIST_BLUEPRINTS_INPUT, + LIST_BLUEPRINTS_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +BLUEPRINT_SUMMARY: StaticSchema = ( + 18, + n0, + _BSlu, + 0, + (_bA, _bV, _bS, _bN, _cTr, _lMT), + ( + (BLUEPRINT_ARN, 1), + (BLUEPRINT_VERSION, 0), + (BLUEPRINT_STAGE, 0), + (BLUEPRINT_NAME, 0), + (DATE_TIMESTAMP, 1), + (DATE_TIMESTAMP, 0), + ), +) + +BLUEPRINTS: StaticSchema = (16, n0, _Bl, 0, (_me,), ((BLUEPRINT_SUMMARY, 0),)) + +UPDATE_BLUEPRINT_INPUT: StaticSchema = ( + 18, + n0, + _UBI, + {_sSI: _cUBR, _sm: None}, + (_bA, _sc, _bS, _eC), + ( + (BLUEPRINT_ARN, 9), + (BLUEPRINT_SCHEMA, 1), + (BLUEPRINT_STAGE, 0), + (ENCRYPTION_CONFIGURATION, 0), + ), +) + +UPDATE_BLUEPRINT_OUTPUT: StaticSchema = ( + 18, + n0, + _UBO, + {_sSI: _cUBRo, _smit: None}, + (_b,), + ((BLUEPRINT, 1),), +) + +UPDATE_BLUEPRINT: StaticOperationSchema = ( + 23, + n0, + _UB, + { + _smith: MappingProxyType( + {"code": 200, "method": "PUT", "uri": "/blueprints/{blueprintArn}/"} + ) + }, + UPDATE_BLUEPRINT_INPUT, + UPDATE_BLUEPRINT_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +COPY_BLUEPRINT_STAGE_INPUT: StaticSchema = ( + 18, + n0, + _CBSI, + {_sSI: _cCBSR, _sm: None}, + (_bA, _sS, _tS, _cT), + ((BLUEPRINT_ARN, 9), (BLUEPRINT_STAGE, 1), (BLUEPRINT_STAGE, 1), (CLIENT_TOKEN, 2)), +) + +COPY_BLUEPRINT_STAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _CBSO, + {_sSI: _cCBSRo, _smit: None}, +) + +COPY_BLUEPRINT_STAGE: StaticOperationSchema = ( + 23, + n0, + _CBS, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/blueprints/{blueprintArn}/copy-stage", + } + ) + }, + COPY_BLUEPRINT_STAGE_INPUT, + COPY_BLUEPRINT_STAGE_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +CREATE_BLUEPRINT_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CBVI, + {_sSI: _cCBVR, _sm: None}, + (_bA, _cT), + ((BLUEPRINT_ARN, 9), (CLIENT_TOKEN, 2)), +) + +CREATE_BLUEPRINT_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CBVO, + {_sSI: _cCBVRo, _smit: None}, + (_b,), + ((BLUEPRINT, 1),), +) + +CREATE_BLUEPRINT_VERSION: StaticOperationSchema = ( + 23, + n0, + _CBV, + { + _smith: MappingProxyType( + { + "code": 201, + "method": "POST", + "uri": "/blueprints/{blueprintArn}/versions/", + } + ) + }, + CREATE_BLUEPRINT_VERSION_INPUT, + CREATE_BLUEPRINT_VERSION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN: StaticSchema = (3, n0, _DALIJA, 0) + +DATA_AUTOMATION_LIBRARY_ARN: StaticSchema = (3, n0, _DALA, 0) + +GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _GDALIJI, + {_sSI: _cGDALIJR, _sm: None}, + (_lA, _jA), + ((DATA_AUTOMATION_LIBRARY_ARN, 9), (DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN, 9)), +) + +GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _GDALIJO, + {_sSI: _cGDALIJRo, _smit: None}, + (_j,), + ((lambda: DATA_AUTOMATION_LIBRARY_INGESTION_JOB, 0),), +) + +GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB: StaticOperationSchema = ( + 23, + n0, + _GDALIJ, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/data-automation-libraries/{libraryArn}/library-ingestion-jobs/{jobArn}", + } + ) + }, + GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT, + GET_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +ENTITY_TYPE: StaticSchema = ( + 14, + n0, + _ET, + 0, + (_VOCABULARY,), + ((-1, {_sV: _VOCABULARY}),), +) + +LIBRARY_INGESTION_JOB_STATUS: StaticSchema = ( + 14, + n0, + _LIJS, + 0, + (_IP, _COMPLETED, _CWE, _FAILED), + ( + (-1, {_sV: _IP}), + (-1, {_sV: _COMPLETED}), + (-1, {_sV: _CWE}), + (-1, {_sV: _FAILED}), + ), +) + +LIBRARY_INGESTION_JOB_OPERATION_TYPE: StaticSchema = ( + 14, + n0, + _LIJOT, + 0, + (_UPSERT, _DELETE), + ((-1, {_sV: _UPSERT}), (-1, {_sV: _DELETE})), +) + +OUTPUT_CONFIGURATION: StaticSchema = (18, n0, _OC, 0, (_sU,), ((S3_URI, 1),)) + +DATA_AUTOMATION_LIBRARY_INGESTION_JOB: StaticSchema = ( + 18, + n0, + _DALIJ, + 0, + (_jA, _cTr, _eTn, _oTp, _jS, _oC, _cTo, _eM, _eT), + ( + (DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN, 1), + (DATE_TIMESTAMP, 1), + (ENTITY_TYPE, 1), + (LIBRARY_INGESTION_JOB_OPERATION_TYPE, 1), + (LIBRARY_INGESTION_JOB_STATUS, 1), + (OUTPUT_CONFIGURATION, 1), + (DATE_TIMESTAMP, 0), + (3, 0), + (3, 0), + ), +) + +ENTITY_ID: StaticSchema = (3, n0, _EI, 0) + +ENTITY_ID_LIST: StaticSchema = (16, n0, _EIL, 0, (_me,), ((ENTITY_ID, 0),)) + +DELETE_ENTITIES_INFO: StaticSchema = (18, n0, _DEI, 0, (_eI,), ((ENTITY_ID_LIST, 1),)) + +ENTITY_DESCRIPTION: StaticSchema = (3, n0, _ED, 4) + +LANGUAGE: StaticSchema = ( + 14, + n0, + _L, + 0, + (_EN, _DE, _ES, _FR, _IT, _PT, _JA, _KO, _CN, _TW, _HK), + ( + (-1, {_sV: _EN}), + (-1, {_sV: _DE}), + (-1, {_sV: _ES}), + (-1, {_sV: _FR}), + (-1, {_sV: _IT}), + (-1, {_sV: _PT}), + (-1, {_sV: _JA}), + (-1, {_sV: _KO}), + (-1, {_sV: _CN}), + (-1, {_sV: _TW}), + (-1, {_sV: _HK}), + ), +) + +PHRASE_DISPLAY_AS_TEXT: StaticSchema = (3, n0, _PDAT, 4) + +PHRASE_TEXT: StaticSchema = (3, n0, _PTh, 4) + +PHRASE: StaticSchema = ( + 18, + n0, + _P, + 0, + (_te, _dAT), + ((PHRASE_TEXT, 1), (PHRASE_DISPLAY_AS_TEXT, 0)), +) + +PHRASE_LIST: StaticSchema = (16, n0, _PL, 0, (_me,), ((PHRASE, 0),)) + +VOCABULARY_ENTITY_INFO: StaticSchema = ( + 18, + n0, + _VEI, + 0, + (_eIn, _d, _l, _p), + ((ENTITY_ID, 0), (ENTITY_DESCRIPTION, 0), (LANGUAGE, 1), (PHRASE_LIST, 1)), +) + +UPSERT_ENTITY_INFO: StaticSchema = ( + 19, + n0, + _UEI, + 0, + (_vo,), + ((VOCABULARY_ENTITY_INFO, 0),), +) diff --git a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas_1.py b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas_1.py new file mode 100644 index 000000000..249d14358 --- /dev/null +++ b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas_1.py @@ -0,0 +1,1140 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockdataautomation" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sO = "s3Object" +_sV = "smithy.api#enumValue" +_smit = "smithy.api#output" +_st = "status" +_oC = "outputConfiguration" +_me = "member" +_smith = "smithy.api#http" +_bA = "blueprintArn" +_kKI = "kmsKeyId" +_kEC = "kmsEncryptionContext" +_eC = "encryptionConfiguration" +_t = "tags" +_smithy = "smithy.api#sensitive" +_DOCUMENT = "DOCUMENT" +_IMAGE = "IMAGE" +_AUDIO = "AUDIO" +_VIDEO = "VIDEO" +_bS = "blueprintStage" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_cTr = "creationTime" +_bV = "blueprintVersion" +_ALL = "ALL" +_mR = "maxResults" +_nT = "nextToken" +_pF = "projectFilter" +_bl = "blueprints" +_lA = "libraryArn" +_jA = "jobArn" +_eTn = "entityType" +_oTp = "operationType" +_jS = "jobStatus" +_cTo = "completionTime" +_EN = "EN" +_UEIp = "UpsertEntitiesInfo" +_IPnl = "InlinePayload" +_uEI = "upsertEntitiesInfo" +_dEI = "deleteEntitiesInfo" +_IC = "InputConfiguration" +_iP = "inlinePayload" +_EBC = "EventBridgeConfiguration" +_eBE = "eventBridgeEnabled" +_NC = "NotificationConfiguration" +_eBC = "eventBridgeConfiguration" +_IDALIJI = "InvokeDataAutomationLibraryIngestionJobInput" +_cIDALIJR = ( + "com.amazonaws.bedrockdataautomation#InvokeDataAutomationLibraryIngestionJobRequest" +) +_iC = "inputConfiguration" +_nC = "notificationConfiguration" +_IDALIJO = "InvokeDataAutomationLibraryIngestionJobOutput" +_cIDALIJRo = "com.amazonaws.bedrockdataautomation#InvokeDataAutomationLibraryIngestionJobResponse" +_IDALIJ = "InvokeDataAutomationLibraryIngestionJob" +_LDALIJI = "ListDataAutomationLibraryIngestionJobsInput" +_cLDALIJR = ( + "com.amazonaws.bedrockdataautomation#ListDataAutomationLibraryIngestionJobsRequest" +) +_DALIJS = "DataAutomationLibraryIngestionJobSummary" +_DALIJSa = "DataAutomationLibraryIngestionJobSummaries" +_LDALIJO = "ListDataAutomationLibraryIngestionJobsOutput" +_cLDALIJRo = ( + "com.amazonaws.bedrockdataautomation#ListDataAutomationLibraryIngestionJobsResponse" +) +_jo = "jobs" +_LDALIJ = "ListDataAutomationLibraryIngestionJobs" +_DALD = "DataAutomationLibraryDescription" +_DALN = "DataAutomationLibraryName" +_CDALI = "CreateDataAutomationLibraryInput" +_cCDALR = "com.amazonaws.bedrockdataautomation#CreateDataAutomationLibraryRequest" +_lN = "libraryName" +_lD = "libraryDescription" +_DALS = "DataAutomationLibraryStatus" +_ACTIVE = "ACTIVE" +_DELETING = "DELETING" +_CDALO = "CreateDataAutomationLibraryOutput" +_cCDALRo = "com.amazonaws.bedrockdataautomation#CreateDataAutomationLibraryResponse" +_CDAL = "CreateDataAutomationLibrary" +_DDALI = "DeleteDataAutomationLibraryInput" +_cDDALR = "com.amazonaws.bedrockdataautomation#DeleteDataAutomationLibraryRequest" +_DDALO = "DeleteDataAutomationLibraryOutput" +_cDDALRo = "com.amazonaws.bedrockdataautomation#DeleteDataAutomationLibraryResponse" +_DDAL = "DeleteDataAutomationLibrary" +_GDALI = "GetDataAutomationLibraryInput" +_cGDALR = "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryRequest" +_EM = "EntityMetadata" +_ETI = "EntityTypeInfo" +_eMn = "entityMetadata" +_ETIL = "EntityTypeInfoList" +_DAL = "DataAutomationLibrary" +_eTnt = "entityTypes" +_GDALO = "GetDataAutomationLibraryOutput" +_cGDALRo = "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryResponse" +_li = "library" +_GDAL = "GetDataAutomationLibrary" +_LDALI = "ListDataAutomationLibrariesInput" +_cLDALR = "com.amazonaws.bedrockdataautomation#ListDataAutomationLibrariesRequest" +_DALSa = "DataAutomationLibrarySummary" +_DALSat = "DataAutomationLibrarySummaries" +_LDALO = "ListDataAutomationLibrariesOutput" +_cLDALRo = "com.amazonaws.bedrockdataautomation#ListDataAutomationLibrariesResponse" +_lib = "libraries" +_LDAL = "ListDataAutomationLibraries" +_UDALI = "UpdateDataAutomationLibraryInput" +_cUDALR = "com.amazonaws.bedrockdataautomation#UpdateDataAutomationLibraryRequest" +_UDALO = "UpdateDataAutomationLibraryOutput" +_cUDALRo = "com.amazonaws.bedrockdataautomation#UpdateDataAutomationLibraryResponse" +_UDAL = "UpdateDataAutomationLibrary" +_BI = "BlueprintItem" +_BIl = "BlueprintItems" +_FBI = "FallbackBlueprintItems" +_DCOC = "DocumentCustomOutputConfiguration" +_fB = "fallbackBlueprints" +_COC = "CustomOutputConfiguration" +_do = "document" +_DALI = "DataAutomationLibraryItem" +_DALIa = "DataAutomationLibraryItems" +_DALC = "DataAutomationLibraryConfiguration" +_AGOL = "AudioGenerativeOutputLanguage" +_DEFAULT = "DEFAULT" +_AIL = "AudioInputLanguages" +_ALC = "AudioLanguageConfiguration" +_iL = "inputLanguages" +_gOL = "generativeOutputLanguage" +_iML = "identifyMultipleLanguages" +_St = "State" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_MPC = "ModalityProcessingConfiguration" +_stat = "state" +_SDDM = "SensitiveDataDetectionMode" +_DETECTION = "DETECTION" +_DAR = "DETECTION_AND_REDACTION" +_SDDST = "SensitiveDataDetectionScopeType" +_STANDARD = "STANDARD" +_CUSTOM = "CUSTOM" +_SDDS = "SensitiveDataDetectionScope" +_PIIET = "PIIEntityType" +_ADDRESS = "ADDRESS" +_AGE = "AGE" +_NAME = "NAME" +_EMAIL = "EMAIL" +_PHONE = "PHONE" +_USERNAME = "USERNAME" +_PASSWORD = "PASSWORD" +_DI = "DRIVER_ID" +_LP = "LICENSE_PLATE" +_VIN = "VEHICLE_IDENTIFICATION_NUMBER" +_CDCC = "CREDIT_DEBIT_CARD_CVV" +_CDCE = "CREDIT_DEBIT_CARD_EXPIRY" +_CDCN = "CREDIT_DEBIT_CARD_NUMBER" +_PIN = "PIN" +_IBAN = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" +_SC = "SWIFT_CODE" +_IA = "IP_ADDRESS" +_MA = "MAC_ADDRESS" +_URL = "URL" +_AAK = "AWS_ACCESS_KEY" +_ASK = "AWS_SECRET_KEY" +_UBAN = "US_BANK_ACCOUNT_NUMBER" +_UBRN = "US_BANK_ROUTING_NUMBER" +_UITIN = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" +_UPN = "US_PASSPORT_NUMBER" +_USSN = "US_SOCIAL_SECURITY_NUMBER" +_CHN = "CA_HEALTH_NUMBER" +_CSIN = "CA_SOCIAL_INSURANCE_NUMBER" +_UNHSN = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" +_UNIN = "UK_NATIONAL_INSURANCE_NUMBER" +_UUTRN = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" +_PIIETn = "PIIEntityTypes" +_PIIRMM = "PIIRedactionMaskMode" +_PII = "PII" +_ET_ = "ENTITY_TYPE" +_PIIEC = "PIIEntitiesConfiguration" +_pET = "piiEntityTypes" +_rMM = "redactionMaskMode" +_SDC = "SensitiveDataConfiguration" +_dM = "detectionMode" +_dS = "detectionScope" +_pEC = "piiEntitiesConfiguration" +_AOC = "AudioOverrideConfiguration" +_mP = "modalityProcessing" +_lC = "languageConfiguration" +_sDC = "sensitiveDataConfiguration" +_SCp = "SplitterConfiguration" +_DOC = "DocumentOverrideConfiguration" +_sp = "splitter" +_IOC = "ImageOverrideConfiguration" +_DM = "DesiredModality" +_MRC = "ModalityRoutingConfiguration" +_jp = "jpeg" +_pn = "png" +_mp = "mp4" +_mo = "mov" +_VOC = "VideoOverrideConfiguration" +_OCv = "OverrideConfiguration" +_i = "image" +_vi = "video" +_a = "audio" +_mRo = "modalityRouting" +_DAPD = "DataAutomationProjectDescription" +_DAPN = "DataAutomationProjectName" +_DAPT = "DataAutomationProjectType" +_ASYNC = "ASYNC" +_SYNC = "SYNC" +_CLC = "ChannelLabelingConfiguration" +_SLC = "SpeakerLabelingConfiguration" +_TC = "TranscriptConfiguration" +_sLp = "speakerLabeling" +_cL = "channelLabeling" +_AECTC = "AudioExtractionCategoryTypeConfiguration" +_tr = "transcript" +_AECT = "AudioExtractionCategoryType" +_ACM = "AUDIO_CONTENT_MODERATION" +_TRANSCRIPT = "TRANSCRIPT" +_TCM = "TOPIC_CONTENT_MODERATION" +_AECTu = "AudioExtractionCategoryTypes" +_AEC = "AudioExtractionCategory" +_typ = "types" +_tC = "typeConfiguration" +_ASE = "AudioStandardExtraction" +_ca = "category" +_ASGFT = "AudioStandardGenerativeFieldType" +_AS = "AUDIO_SUMMARY" +_IAB = "IAB" +_TS = "TOPIC_SUMMARY" + +UPSERT_ENTITIES_INFO: StaticSchema = ( + 16, + n0, + _UEIp, + 0, + (_me,), + ((lambda: schemas.UPSERT_ENTITY_INFO, 0),), +) + +INLINE_PAYLOAD: StaticSchema = ( + 19, + n0, + _IPnl, + 0, + (_uEI, _dEI), + ((UPSERT_ENTITIES_INFO, 0), (lambda: schemas.DELETE_ENTITIES_INFO, 0)), +) + +INPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IC, + 0, + (_sO, _iP), + ((lambda: schemas.S3_OBJECT, 0), (INLINE_PAYLOAD, 0)), +) + +EVENT_BRIDGE_CONFIGURATION: StaticSchema = (18, n0, _EBC, 0, (_eBE,), ((2, 1),)) + +NOTIFICATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _NC, + 0, + (_eBC,), + ((EVENT_BRIDGE_CONFIGURATION, 1),), +) + +INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _IDALIJI, + {_sSI: _cIDALIJR, _sm: None}, + (_lA, _cT, _iC, _eTn, _oTp, _oC, _nC, _t), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (INPUT_CONFIGURATION, 1), + (lambda: schemas.ENTITY_TYPE, 1), + (lambda: schemas.LIBRARY_INGESTION_JOB_OPERATION_TYPE, 1), + (lambda: schemas.OUTPUT_CONFIGURATION, 1), + (NOTIFICATION_CONFIGURATION, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _IDALIJO, + {_sSI: _cIDALIJRo, _smit: None}, + (_jA,), + ((lambda: schemas.DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN, 0),), +) + +INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB: StaticOperationSchema = ( + 23, + n0, + _IDALIJ, + { + _smith: MappingProxyType( + { + "code": 201, + "method": "PUT", + "uri": "/data-automation-libraries/{libraryArn}/library-ingestion-jobs/", + } + ) + }, + INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_INPUT, + INVOKE_DATA_AUTOMATION_LIBRARY_INGESTION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LDALIJI, + {_sSI: _cLDALIJR, _sm: None}, + (_lA, _mR, _nT), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDALIJO, + {_sSI: _cLDALIJRo, _smit: None}, + (_jo, _nT), + ( + (lambda: DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARIES, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS: StaticOperationSchema = ( + 23, + n0, + _LDALIJ, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/data-automation-libraries/{libraryArn}/library-ingestion-jobs/", + } + ) + }, + LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_INPUT, + LIST_DATA_AUTOMATION_LIBRARY_INGESTION_JOBS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARY: StaticSchema = ( + 18, + n0, + _DALIJS, + 0, + (_jA, _jS, _eTn, _oTp, _cTr, _cTo), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_INGESTION_JOB_ARN, 1), + (lambda: schemas.LIBRARY_INGESTION_JOB_STATUS, 1), + (lambda: schemas.ENTITY_TYPE, 1), + (lambda: schemas.LIBRARY_INGESTION_JOB_OPERATION_TYPE, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARIES: StaticSchema = ( + 16, + n0, + _DALIJSa, + 0, + (_me,), + ((DATA_AUTOMATION_LIBRARY_INGESTION_JOB_SUMMARY, 0),), +) + +DATA_AUTOMATION_LIBRARY_DESCRIPTION: StaticSchema = (3, n0, _DALD, 4) + +DATA_AUTOMATION_LIBRARY_NAME: StaticSchema = (3, n0, _DALN, 4) + +CREATE_DATA_AUTOMATION_LIBRARY_INPUT: StaticSchema = ( + 18, + n0, + _CDALI, + {_sSI: _cCDALR, _sm: None}, + (_lN, _lD, _cT, _eC, _t), + ( + (DATA_AUTOMATION_LIBRARY_NAME, 1), + (DATA_AUTOMATION_LIBRARY_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.ENCRYPTION_CONFIGURATION, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DATA_AUTOMATION_LIBRARY_OUTPUT: StaticSchema = ( + 18, + n0, + _CDALO, + {_sSI: _cCDALRo, _smit: None}, + (_lA, _st), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 0), + (lambda: DATA_AUTOMATION_LIBRARY_STATUS, 0), + ), +) + +CREATE_DATA_AUTOMATION_LIBRARY: StaticOperationSchema = ( + 23, + n0, + _CDAL, + { + _smith: MappingProxyType( + {"code": 201, "method": "PUT", "uri": "/data-automation-libraries/"} + ) + }, + CREATE_DATA_AUTOMATION_LIBRARY_INPUT, + CREATE_DATA_AUTOMATION_LIBRARY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_AUTOMATION_LIBRARY_STATUS: StaticSchema = ( + 14, + n0, + _DALS, + 0, + (_ACTIVE, _DELETING), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DELETING})), +) + +DELETE_DATA_AUTOMATION_LIBRARY_INPUT: StaticSchema = ( + 18, + n0, + _DDALI, + {_sSI: _cDDALR, _sm: None}, + (_lA,), + ((lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 9),), +) + +DELETE_DATA_AUTOMATION_LIBRARY_OUTPUT: StaticSchema = ( + 18, + n0, + _DDALO, + {_sSI: _cDDALRo, _smit: None}, + (_lA, _st), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 0), + (DATA_AUTOMATION_LIBRARY_STATUS, 0), + ), +) + +DELETE_DATA_AUTOMATION_LIBRARY: StaticOperationSchema = ( + 23, + n0, + _DDAL, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/data-automation-libraries/{libraryArn}/", + } + ) + }, + DELETE_DATA_AUTOMATION_LIBRARY_INPUT, + DELETE_DATA_AUTOMATION_LIBRARY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_DATA_AUTOMATION_LIBRARY_INPUT: StaticSchema = ( + 18, + n0, + _GDALI, + {_sSI: _cGDALR, _sm: None}, + (_lA,), + ((lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 9),), +) + +GET_DATA_AUTOMATION_LIBRARY_OUTPUT: StaticSchema = ( + 18, + n0, + _GDALO, + {_sSI: _cGDALRo, _smit: None}, + (_li,), + ((lambda: DATA_AUTOMATION_LIBRARY, 0),), +) + +GET_DATA_AUTOMATION_LIBRARY: StaticOperationSchema = ( + 23, + n0, + _GDAL, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/data-automation-libraries/{libraryArn}/", + } + ) + }, + GET_DATA_AUTOMATION_LIBRARY_INPUT, + GET_DATA_AUTOMATION_LIBRARY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ENTITY_METADATA: StaticSchema = (3, n0, _EM, 0) + +ENTITY_TYPE_INFO: StaticSchema = ( + 18, + n0, + _ETI, + 0, + (_eTn, _eMn), + ((lambda: schemas.ENTITY_TYPE, 1), (ENTITY_METADATA, 0)), +) + +ENTITY_TYPE_INFO_LIST: StaticSchema = ( + 16, + n0, + _ETIL, + 0, + (_me,), + ((ENTITY_TYPE_INFO, 0),), +) + +DATA_AUTOMATION_LIBRARY: StaticSchema = ( + 18, + n0, + _DAL, + 0, + (_lA, _cTr, _lN, _lD, _st, _eTnt, _kKI, _kEC), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (DATA_AUTOMATION_LIBRARY_NAME, 1), + (DATA_AUTOMATION_LIBRARY_DESCRIPTION, 0), + (DATA_AUTOMATION_LIBRARY_STATUS, 1), + (ENTITY_TYPE_INFO_LIST, 0), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.KMS_ENCRYPTION_CONTEXT, 0), + ), +) + +LIST_DATA_AUTOMATION_LIBRARIES_INPUT: StaticSchema = ( + 18, + n0, + _LDALI, + {_sSI: _cLDALR, _sm: None}, + (_mR, _nT, _pF), + ( + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.DATA_AUTOMATION_PROJECT_FILTER, 0), + ), +) + +LIST_DATA_AUTOMATION_LIBRARIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LDALO, + {_sSI: _cLDALRo, _smit: None}, + (_lib, _nT), + ((lambda: DATA_AUTOMATION_LIBRARY_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_DATA_AUTOMATION_LIBRARIES: StaticOperationSchema = ( + 23, + n0, + _LDAL, + { + _smith: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/data-automation-libraries/"} + ) + }, + LIST_DATA_AUTOMATION_LIBRARIES_INPUT, + LIST_DATA_AUTOMATION_LIBRARIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_AUTOMATION_LIBRARY_SUMMARY: StaticSchema = ( + 18, + n0, + _DALSa, + 0, + (_lA, _lN, _cTr), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 1), + (DATA_AUTOMATION_LIBRARY_NAME, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +DATA_AUTOMATION_LIBRARY_SUMMARIES: StaticSchema = ( + 16, + n0, + _DALSat, + 0, + (_me,), + ((DATA_AUTOMATION_LIBRARY_SUMMARY, 0),), +) + +UPDATE_DATA_AUTOMATION_LIBRARY_INPUT: StaticSchema = ( + 18, + n0, + _UDALI, + {_sSI: _cUDALR, _sm: None}, + (_lA, _lD, _cT), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 9), + (DATA_AUTOMATION_LIBRARY_DESCRIPTION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +UPDATE_DATA_AUTOMATION_LIBRARY_OUTPUT: StaticSchema = ( + 18, + n0, + _UDALO, + {_sSI: _cUDALRo, _smit: None}, + (_lA, _st), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 0), + (DATA_AUTOMATION_LIBRARY_STATUS, 0), + ), +) + +UPDATE_DATA_AUTOMATION_LIBRARY: StaticOperationSchema = ( + 23, + n0, + _UDAL, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/data-automation-libraries/{libraryArn}/", + } + ) + }, + UPDATE_DATA_AUTOMATION_LIBRARY_INPUT, + UPDATE_DATA_AUTOMATION_LIBRARY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BLUEPRINT_ITEM: StaticSchema = ( + 18, + n0, + _BI, + 0, + (_bA, _bV, _bS), + ( + (lambda: schemas.BLUEPRINT_ARN, 1), + (lambda: schemas.BLUEPRINT_VERSION, 0), + (lambda: schemas.BLUEPRINT_STAGE, 0), + ), +) + +BLUEPRINT_ITEMS: StaticSchema = (16, n0, _BIl, 0, (_me,), ((BLUEPRINT_ITEM, 0),)) + +FALLBACK_BLUEPRINT_ITEMS: StaticSchema = ( + 16, + n0, + _FBI, + 0, + (_me,), + ((BLUEPRINT_ITEM, 0),), +) + +DOCUMENT_CUSTOM_OUTPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DCOC, + 0, + (_fB,), + ((FALLBACK_BLUEPRINT_ITEMS, 0),), +) + +CUSTOM_OUTPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _COC, + 0, + (_bl, _do), + ((BLUEPRINT_ITEMS, 0), (DOCUMENT_CUSTOM_OUTPUT_CONFIGURATION, 0)), +) + +DATA_AUTOMATION_LIBRARY_ITEM: StaticSchema = ( + 18, + n0, + _DALI, + 0, + (_lA,), + ((lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 1),), +) + +DATA_AUTOMATION_LIBRARY_ITEMS: StaticSchema = ( + 16, + n0, + _DALIa, + 0, + (_me,), + ((DATA_AUTOMATION_LIBRARY_ITEM, 0),), +) + +DATA_AUTOMATION_LIBRARY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DALC, + 0, + (_lib,), + ((DATA_AUTOMATION_LIBRARY_ITEMS, 0),), +) + +AUDIO_GENERATIVE_OUTPUT_LANGUAGE: StaticSchema = ( + 14, + n0, + _AGOL, + 0, + (_DEFAULT, _EN), + ((-1, {_sV: _DEFAULT}), (-1, {_sV: _EN})), +) + +AUDIO_INPUT_LANGUAGES: StaticSchema = ( + 16, + n0, + _AIL, + 0, + (_me,), + ((lambda: schemas.LANGUAGE, 0),), +) + +AUDIO_LANGUAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ALC, + 0, + (_iL, _gOL, _iML), + ((AUDIO_INPUT_LANGUAGES, 0), (AUDIO_GENERATIVE_OUTPUT_LANGUAGE, 0), (2, 0)), +) + +STATE: StaticSchema = ( + 14, + n0, + _St, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +MODALITY_PROCESSING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MPC, + 0, + (_stat,), + ((STATE, 0),), +) + +SENSITIVE_DATA_DETECTION_MODE: StaticSchema = ( + 14, + n0, + _SDDM, + 0, + (_DETECTION, _DAR), + ((-1, {_sV: _DETECTION}), (-1, {_sV: _DAR})), +) + +SENSITIVE_DATA_DETECTION_SCOPE_TYPE: StaticSchema = ( + 14, + n0, + _SDDST, + 0, + (_STANDARD, _CUSTOM), + ((-1, {_sV: _STANDARD}), (-1, {_sV: _CUSTOM})), +) + +SENSITIVE_DATA_DETECTION_SCOPE: StaticSchema = ( + 16, + n0, + _SDDS, + 0, + (_me,), + ((SENSITIVE_DATA_DETECTION_SCOPE_TYPE, 0),), +) + +PII_ENTITY_TYPE: StaticSchema = ( + 14, + n0, + _PIIET, + 0, + ( + _ALL, + _ADDRESS, + _AGE, + _NAME, + _EMAIL, + _PHONE, + _USERNAME, + _PASSWORD, + _DI, + _LP, + _VIN, + _CDCC, + _CDCE, + _CDCN, + _PIN, + _IBAN, + _SC, + _IA, + _MA, + _URL, + _AAK, + _ASK, + _UBAN, + _UBRN, + _UITIN, + _UPN, + _USSN, + _CHN, + _CSIN, + _UNHSN, + _UNIN, + _UUTRN, + ), + ( + (-1, {_sV: _ALL}), + (-1, {_sV: _ADDRESS}), + (-1, {_sV: _AGE}), + (-1, {_sV: _NAME}), + (-1, {_sV: _EMAIL}), + (-1, {_sV: _PHONE}), + (-1, {_sV: _USERNAME}), + (-1, {_sV: _PASSWORD}), + (-1, {_sV: _DI}), + (-1, {_sV: _LP}), + (-1, {_sV: _VIN}), + (-1, {_sV: _CDCC}), + (-1, {_sV: _CDCE}), + (-1, {_sV: _CDCN}), + (-1, {_sV: _PIN}), + (-1, {_sV: _IBAN}), + (-1, {_sV: _SC}), + (-1, {_sV: _IA}), + (-1, {_sV: _MA}), + (-1, {_sV: _URL}), + (-1, {_sV: _AAK}), + (-1, {_sV: _ASK}), + (-1, {_sV: _UBAN}), + (-1, {_sV: _UBRN}), + (-1, {_sV: _UITIN}), + (-1, {_sV: _UPN}), + (-1, {_sV: _USSN}), + (-1, {_sV: _CHN}), + (-1, {_sV: _CSIN}), + (-1, {_sV: _UNHSN}), + (-1, {_sV: _UNIN}), + (-1, {_sV: _UUTRN}), + ), +) + +PII_ENTITY_TYPES: StaticSchema = (16, n0, _PIIETn, 0, (_me,), ((PII_ENTITY_TYPE, 0),)) + +PII_REDACTION_MASK_MODE: StaticSchema = ( + 14, + n0, + _PIIRMM, + 0, + (_PII, _ET_), + ((-1, {_sV: _PII}), (-1, {_sV: _ET_})), +) + +PII_ENTITIES_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PIIEC, + 0, + (_pET, _rMM), + ((PII_ENTITY_TYPES, 0), (PII_REDACTION_MASK_MODE, 0)), +) + +SENSITIVE_DATA_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SDC, + 0, + (_dM, _dS, _pEC), + ( + (SENSITIVE_DATA_DETECTION_MODE, 1), + (SENSITIVE_DATA_DETECTION_SCOPE, 0), + (PII_ENTITIES_CONFIGURATION, 0), + ), +) + +AUDIO_OVERRIDE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AOC, + 0, + (_mP, _lC, _sDC), + ( + (MODALITY_PROCESSING_CONFIGURATION, 0), + (AUDIO_LANGUAGE_CONFIGURATION, 0), + (SENSITIVE_DATA_CONFIGURATION, 0), + ), +) + +SPLITTER_CONFIGURATION: StaticSchema = (18, n0, _SCp, 0, (_stat,), ((STATE, 0),)) + +DOCUMENT_OVERRIDE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DOC, + 0, + (_sp, _mP, _sDC), + ( + (SPLITTER_CONFIGURATION, 0), + (MODALITY_PROCESSING_CONFIGURATION, 0), + (SENSITIVE_DATA_CONFIGURATION, 0), + ), +) + +IMAGE_OVERRIDE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IOC, + 0, + (_mP, _sDC), + ((MODALITY_PROCESSING_CONFIGURATION, 0), (SENSITIVE_DATA_CONFIGURATION, 0)), +) + +DESIRED_MODALITY: StaticSchema = ( + 14, + n0, + _DM, + 0, + (_IMAGE, _DOCUMENT, _AUDIO, _VIDEO), + ( + (-1, {_sV: _IMAGE}), + (-1, {_sV: _DOCUMENT}), + (-1, {_sV: _AUDIO}), + (-1, {_sV: _VIDEO}), + ), +) + +MODALITY_ROUTING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MRC, + 0, + (_jp, _pn, _mp, _mo), + ( + (DESIRED_MODALITY, 0), + (DESIRED_MODALITY, 0), + (DESIRED_MODALITY, 0), + (DESIRED_MODALITY, 0), + ), +) + +VIDEO_OVERRIDE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VOC, + 0, + (_mP, _sDC), + ((MODALITY_PROCESSING_CONFIGURATION, 0), (SENSITIVE_DATA_CONFIGURATION, 0)), +) + +OVERRIDE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OCv, + 0, + (_do, _i, _vi, _a, _mRo), + ( + (DOCUMENT_OVERRIDE_CONFIGURATION, 0), + (IMAGE_OVERRIDE_CONFIGURATION, 0), + (VIDEO_OVERRIDE_CONFIGURATION, 0), + (AUDIO_OVERRIDE_CONFIGURATION, 0), + (MODALITY_ROUTING_CONFIGURATION, 0), + ), +) + +DATA_AUTOMATION_PROJECT_DESCRIPTION: StaticSchema = (3, n0, _DAPD, 4) + +DATA_AUTOMATION_PROJECT_NAME: StaticSchema = (3, n0, _DAPN, 4) + +DATA_AUTOMATION_PROJECT_TYPE: StaticSchema = ( + 14, + n0, + _DAPT, + 0, + (_ASYNC, _SYNC), + ((-1, {_sV: _ASYNC}), (-1, {_sV: _SYNC})), +) + +CHANNEL_LABELING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CLC, + 0, + (_stat,), + ((STATE, 1),), +) + +SPEAKER_LABELING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SLC, + 0, + (_stat,), + ((STATE, 1),), +) + +TRANSCRIPT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TC, + 0, + (_sLp, _cL), + ((SPEAKER_LABELING_CONFIGURATION, 0), (CHANNEL_LABELING_CONFIGURATION, 0)), +) + +AUDIO_EXTRACTION_CATEGORY_TYPE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AECTC, + 0, + (_tr,), + ((TRANSCRIPT_CONFIGURATION, 0),), +) + +AUDIO_EXTRACTION_CATEGORY_TYPE: StaticSchema = ( + 14, + n0, + _AECT, + 0, + (_ACM, _TRANSCRIPT, _TCM), + ((-1, {_sV: _ACM}), (-1, {_sV: _TRANSCRIPT}), (-1, {_sV: _TCM})), +) + +AUDIO_EXTRACTION_CATEGORY_TYPES: StaticSchema = ( + 16, + n0, + _AECTu, + 0, + (_me,), + ((AUDIO_EXTRACTION_CATEGORY_TYPE, 0),), +) + +AUDIO_EXTRACTION_CATEGORY: StaticSchema = ( + 18, + n0, + _AEC, + 0, + (_stat, _typ, _tC), + ( + (STATE, 1), + (AUDIO_EXTRACTION_CATEGORY_TYPES, 0), + (AUDIO_EXTRACTION_CATEGORY_TYPE_CONFIGURATION, 0), + ), +) + +AUDIO_STANDARD_EXTRACTION: StaticSchema = ( + 18, + n0, + _ASE, + 0, + (_ca,), + ((AUDIO_EXTRACTION_CATEGORY, 1),), +) + +AUDIO_STANDARD_GENERATIVE_FIELD_TYPE: StaticSchema = ( + 14, + n0, + _ASGFT, + 0, + (_AS, _IAB, _TS), + ((-1, {_sV: _AS}), (-1, {_sV: _IAB}), (-1, {_sV: _TS})), +) diff --git a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas_2.py b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas_2.py new file mode 100644 index 000000000..4331de0ca --- /dev/null +++ b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/_private/schemas_2.py @@ -0,0 +1,1128 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockdataautomation" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sV = "smithy.api#enumValue" +_IP = "IN_PROGRESS" +_smit = "smithy.api#output" +_st = "status" +_me = "member" +_smith = "smithy.api#http" +_DEVELOPMENT = "DEVELOPMENT" +_LIVE = "LIVE" +_bA = "blueprintArn" +_kKI = "kmsKeyId" +_kEC = "kmsEncryptionContext" +_eC = "encryptionConfiguration" +_t = "tags" +_DOCUMENT = "DOCUMENT" +_bS = "blueprintStage" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_cTr = "creationTime" +_lMT = "lastModifiedTime" +_bV = "blueprintVersion" +_ALL = "ALL" +_pA = "projectArn" +_pS = "projectStage" +_rO = "resourceOwner" +_mR = "maxResults" +_nT = "nextToken" +_lA = "libraryArn" +_COMPLETED = "COMPLETED" +_FAILED = "FAILED" +_eTn = "entityType" +_eIn = "entityId" +_d = "description" +_l = "language" +_p = "phrases" +_vo = "vocabulary" +_do = "document" +_stat = "state" +_i = "image" +_vi = "video" +_a = "audio" +_ASYNC = "ASYNC" +_TRANSCRIPT = "TRANSCRIPT" +_typ = "types" +_ca = "category" +_IAB = "IAB" +_ASGFTu = "AudioStandardGenerativeFieldTypes" +_ASGF = "AudioStandardGenerativeField" +_ASOC = "AudioStandardOutputConfiguration" +_e = "extraction" +_gF = "generativeField" +_DBB = "DocumentBoundingBox" +_DEGT = "DocumentExtractionGranularityType" +_PAGE = "PAGE" +_ELEMENT = "ELEMENT" +_WORD = "WORD" +_LINE = "LINE" +_DEGTo = "DocumentExtractionGranularityTypes" +_DEG = "DocumentExtractionGranularity" +_DSE = "DocumentStandardExtraction" +_g = "granularity" +_bB = "boundingBox" +_DSGF = "DocumentStandardGenerativeField" +_DOAFF = "DocumentOutputAdditionalFileFormat" +_DOTFT = "DocumentOutputTextFormatType" +_PT_ = "PLAIN_TEXT" +_MARKDOWN = "MARKDOWN" +_HTML = "HTML" +_CSV = "CSV" +_DOTFTo = "DocumentOutputTextFormatTypes" +_DOTF = "DocumentOutputTextFormat" +_DOF = "DocumentOutputFormat" +_tF = "textFormat" +_aFF = "additionalFileFormat" +_DSOC = "DocumentStandardOutputConfiguration" +_oF = "outputFormat" +_IBB = "ImageBoundingBox" +_IECT = "ImageExtractionCategoryType" +_CM = "CONTENT_MODERATION" +_TD = "TEXT_DETECTION" +_LOGOS = "LOGOS" +_IECTm = "ImageExtractionCategoryTypes" +_IEC = "ImageExtractionCategory" +_ISEm = "ImageStandardExtraction" +_ISGFT = "ImageStandardGenerativeFieldType" +_IS = "IMAGE_SUMMARY" +_ISGFTm = "ImageStandardGenerativeFieldTypes" +_ISGF = "ImageStandardGenerativeField" +_ISOC = "ImageStandardOutputConfiguration" +_VBB = "VideoBoundingBox" +_VECT = "VideoExtractionCategoryType" +_VECTi = "VideoExtractionCategoryTypes" +_VEC = "VideoExtractionCategory" +_VSE = "VideoStandardExtraction" +_VSGFT = "VideoStandardGenerativeFieldType" +_VS = "VIDEO_SUMMARY" +_CS = "CHAPTER_SUMMARY" +_VSGFTi = "VideoStandardGenerativeFieldTypes" +_VSGF = "VideoStandardGenerativeField" +_VSOC = "VideoStandardOutputConfiguration" +_SOC = "StandardOutputConfiguration" +_CDAPI = "CreateDataAutomationProjectInput" +_cCDAPR = "com.amazonaws.bedrockdataautomation#CreateDataAutomationProjectRequest" +_pN = "projectName" +_pD = "projectDescription" +_pT = "projectType" +_smithya = "smithy.api#default" +_sOC = "standardOutputConfiguration" +_cOC = "customOutputConfiguration" +_oCv = "overrideConfiguration" +_dALC = "dataAutomationLibraryConfiguration" +_DAPSa = "DataAutomationProjectStatus" +_CDAPO = "CreateDataAutomationProjectOutput" +_cCDAPRo = "com.amazonaws.bedrockdataautomation#CreateDataAutomationProjectResponse" +_CDAP = "CreateDataAutomationProject" +_DDAPI = "DeleteDataAutomationProjectInput" +_cDDAPR = "com.amazonaws.bedrockdataautomation#DeleteDataAutomationProjectRequest" +_DDAPO = "DeleteDataAutomationProjectOutput" +_cDDAPRo = "com.amazonaws.bedrockdataautomation#DeleteDataAutomationProjectResponse" +_DDAP = "DeleteDataAutomationProject" +_GDAPI = "GetDataAutomationProjectInput" +_cGDAPR = "com.amazonaws.bedrockdataautomation#GetDataAutomationProjectRequest" +_DAP = "DataAutomationProject" +_GDAPO = "GetDataAutomationProjectOutput" +_cGDAPRo = "com.amazonaws.bedrockdataautomation#GetDataAutomationProjectResponse" +_pr = "project" +_GDAP = "GetDataAutomationProject" +_BF = "BlueprintFilter" +_DALF = "DataAutomationLibraryFilter" +_DAPSF = "DataAutomationProjectStageFilter" +_LDAPI = "ListDataAutomationProjectsInput" +_cLDAPR = "com.amazonaws.bedrockdataautomation#ListDataAutomationProjectsRequest" +_pSF = "projectStageFilter" +_bF = "blueprintFilter" +_lF = "libraryFilter" +_DAPSat = "DataAutomationProjectSummary" +_DAPSata = "DataAutomationProjectSummaries" +_LDAPO = "ListDataAutomationProjectsOutput" +_cLDAPRo = "com.amazonaws.bedrockdataautomation#ListDataAutomationProjectsResponse" +_pro = "projects" +_LDAP = "ListDataAutomationProjects" +_UDAPI = "UpdateDataAutomationProjectInput" +_cUDAPR = "com.amazonaws.bedrockdataautomation#UpdateDataAutomationProjectRequest" +_UDAPO = "UpdateDataAutomationProjectOutput" +_cUDAPRo = "com.amazonaws.bedrockdataautomation#UpdateDataAutomationProjectResponse" +_UDAP = "UpdateDataAutomationProject" +_GDALEI = "GetDataAutomationLibraryEntityInput" +_cGDALER = "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryEntityRequest" +_VEo = "VocabularyEntity" +_EDn = "EntityDetails" +_GDALEO = "GetDataAutomationLibraryEntityOutput" +_cGDALERo = "com.amazonaws.bedrockdataautomation#GetDataAutomationLibraryEntityResponse" +_en = "entity" +_GDALE = "GetDataAutomationLibraryEntity" +_LDALEI = "ListDataAutomationLibraryEntitiesInput" +_cLDALER = ( + "com.amazonaws.bedrockdataautomation#ListDataAutomationLibraryEntitiesRequest" +) +_VES = "VocabularyEntitySummary" +_nOP = "numOfPhrases" +_DALES = "DataAutomationLibraryEntitySummary" +_DALESa = "DataAutomationLibraryEntitySummaries" +_LDALEO = "ListDataAutomationLibraryEntitiesOutput" +_cLDALERo = ( + "com.amazonaws.bedrockdataautomation#ListDataAutomationLibraryEntitiesResponse" +) +_ent = "entities" +_LDALE = "ListDataAutomationLibraryEntities" +_TRA = "TaggableResourceArn" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.bedrockdataautomation#ListTagsForResourceRequest" +_rARN = "resourceARN" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.bedrockdataautomation#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.bedrockdataautomation#TagResourceRequest" +_TRO = "TagResourceOutput" +_cTRRo = "com.amazonaws.bedrockdataautomation#TagResourceResponse" +_TR = "TagResource" +_TKL = "TagKeyList" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.bedrockdataautomation#UntagResourceRequest" +_tK = "tagKeys" +_URO = "UntagResourceOutput" +_cURRo = "com.amazonaws.bedrockdataautomation#UntagResourceResponse" +_UR = "UntagResource" +_ABKBTS = "AmazonBedrockKeystoneBuildTimeService" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" + +AUDIO_STANDARD_GENERATIVE_FIELD_TYPES: StaticSchema = ( + 16, + n0, + _ASGFTu, + 0, + (_me,), + ((lambda: schemas.AUDIO_STANDARD_GENERATIVE_FIELD_TYPE, 0),), +) + +AUDIO_STANDARD_GENERATIVE_FIELD: StaticSchema = ( + 18, + n0, + _ASGF, + 0, + (_stat, _typ), + ((lambda: schemas.STATE, 1), (AUDIO_STANDARD_GENERATIVE_FIELD_TYPES, 0)), +) + +AUDIO_STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ASOC, + 0, + (_e, _gF), + ( + (lambda: schemas.AUDIO_STANDARD_EXTRACTION, 0), + (AUDIO_STANDARD_GENERATIVE_FIELD, 0), + ), +) + +DOCUMENT_BOUNDING_BOX: StaticSchema = ( + 18, + n0, + _DBB, + 0, + (_stat,), + ((lambda: schemas.STATE, 1),), +) + +DOCUMENT_EXTRACTION_GRANULARITY_TYPE: StaticSchema = ( + 14, + n0, + _DEGT, + 0, + (_DOCUMENT, _PAGE, _ELEMENT, _WORD, _LINE), + ( + (-1, {_sV: _DOCUMENT}), + (-1, {_sV: _PAGE}), + (-1, {_sV: _ELEMENT}), + (-1, {_sV: _WORD}), + (-1, {_sV: _LINE}), + ), +) + +DOCUMENT_EXTRACTION_GRANULARITY_TYPES: StaticSchema = ( + 16, + n0, + _DEGTo, + 0, + (_me,), + ((DOCUMENT_EXTRACTION_GRANULARITY_TYPE, 0),), +) + +DOCUMENT_EXTRACTION_GRANULARITY: StaticSchema = ( + 18, + n0, + _DEG, + 0, + (_typ,), + ((DOCUMENT_EXTRACTION_GRANULARITY_TYPES, 0),), +) + +DOCUMENT_STANDARD_EXTRACTION: StaticSchema = ( + 18, + n0, + _DSE, + 0, + (_g, _bB), + ((DOCUMENT_EXTRACTION_GRANULARITY, 1), (DOCUMENT_BOUNDING_BOX, 1)), +) + +DOCUMENT_STANDARD_GENERATIVE_FIELD: StaticSchema = ( + 18, + n0, + _DSGF, + 0, + (_stat,), + ((lambda: schemas.STATE, 1),), +) + +DOCUMENT_OUTPUT_ADDITIONAL_FILE_FORMAT: StaticSchema = ( + 18, + n0, + _DOAFF, + 0, + (_stat,), + ((lambda: schemas.STATE, 1),), +) + +DOCUMENT_OUTPUT_TEXT_FORMAT_TYPE: StaticSchema = ( + 14, + n0, + _DOTFT, + 0, + (_PT_, _MARKDOWN, _HTML, _CSV), + ((-1, {_sV: _PT_}), (-1, {_sV: _MARKDOWN}), (-1, {_sV: _HTML}), (-1, {_sV: _CSV})), +) + +DOCUMENT_OUTPUT_TEXT_FORMAT_TYPES: StaticSchema = ( + 16, + n0, + _DOTFTo, + 0, + (_me,), + ((DOCUMENT_OUTPUT_TEXT_FORMAT_TYPE, 0),), +) + +DOCUMENT_OUTPUT_TEXT_FORMAT: StaticSchema = ( + 18, + n0, + _DOTF, + 0, + (_typ,), + ((DOCUMENT_OUTPUT_TEXT_FORMAT_TYPES, 0),), +) + +DOCUMENT_OUTPUT_FORMAT: StaticSchema = ( + 18, + n0, + _DOF, + 0, + (_tF, _aFF), + ((DOCUMENT_OUTPUT_TEXT_FORMAT, 1), (DOCUMENT_OUTPUT_ADDITIONAL_FILE_FORMAT, 1)), +) + +DOCUMENT_STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DSOC, + 0, + (_e, _gF, _oF), + ( + (DOCUMENT_STANDARD_EXTRACTION, 0), + (DOCUMENT_STANDARD_GENERATIVE_FIELD, 0), + (DOCUMENT_OUTPUT_FORMAT, 0), + ), +) + +IMAGE_BOUNDING_BOX: StaticSchema = ( + 18, + n0, + _IBB, + 0, + (_stat,), + ((lambda: schemas.STATE, 1),), +) + +IMAGE_EXTRACTION_CATEGORY_TYPE: StaticSchema = ( + 14, + n0, + _IECT, + 0, + (_CM, _TD, _LOGOS), + ((-1, {_sV: _CM}), (-1, {_sV: _TD}), (-1, {_sV: _LOGOS})), +) + +IMAGE_EXTRACTION_CATEGORY_TYPES: StaticSchema = ( + 16, + n0, + _IECTm, + 0, + (_me,), + ((IMAGE_EXTRACTION_CATEGORY_TYPE, 0),), +) + +IMAGE_EXTRACTION_CATEGORY: StaticSchema = ( + 18, + n0, + _IEC, + 0, + (_stat, _typ), + ((lambda: schemas.STATE, 1), (IMAGE_EXTRACTION_CATEGORY_TYPES, 0)), +) + +IMAGE_STANDARD_EXTRACTION: StaticSchema = ( + 18, + n0, + _ISEm, + 0, + (_ca, _bB), + ((IMAGE_EXTRACTION_CATEGORY, 1), (IMAGE_BOUNDING_BOX, 1)), +) + +IMAGE_STANDARD_GENERATIVE_FIELD_TYPE: StaticSchema = ( + 14, + n0, + _ISGFT, + 0, + (_IS, _IAB), + ((-1, {_sV: _IS}), (-1, {_sV: _IAB})), +) + +IMAGE_STANDARD_GENERATIVE_FIELD_TYPES: StaticSchema = ( + 16, + n0, + _ISGFTm, + 0, + (_me,), + ((IMAGE_STANDARD_GENERATIVE_FIELD_TYPE, 0),), +) + +IMAGE_STANDARD_GENERATIVE_FIELD: StaticSchema = ( + 18, + n0, + _ISGF, + 0, + (_stat, _typ), + ((lambda: schemas.STATE, 1), (IMAGE_STANDARD_GENERATIVE_FIELD_TYPES, 0)), +) + +IMAGE_STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ISOC, + 0, + (_e, _gF), + ((IMAGE_STANDARD_EXTRACTION, 0), (IMAGE_STANDARD_GENERATIVE_FIELD, 0)), +) + +VIDEO_BOUNDING_BOX: StaticSchema = ( + 18, + n0, + _VBB, + 0, + (_stat,), + ((lambda: schemas.STATE, 1),), +) + +VIDEO_EXTRACTION_CATEGORY_TYPE: StaticSchema = ( + 14, + n0, + _VECT, + 0, + (_CM, _TD, _TRANSCRIPT, _LOGOS), + ((-1, {_sV: _CM}), (-1, {_sV: _TD}), (-1, {_sV: _TRANSCRIPT}), (-1, {_sV: _LOGOS})), +) + +VIDEO_EXTRACTION_CATEGORY_TYPES: StaticSchema = ( + 16, + n0, + _VECTi, + 0, + (_me,), + ((VIDEO_EXTRACTION_CATEGORY_TYPE, 0),), +) + +VIDEO_EXTRACTION_CATEGORY: StaticSchema = ( + 18, + n0, + _VEC, + 0, + (_stat, _typ), + ((lambda: schemas.STATE, 1), (VIDEO_EXTRACTION_CATEGORY_TYPES, 0)), +) + +VIDEO_STANDARD_EXTRACTION: StaticSchema = ( + 18, + n0, + _VSE, + 0, + (_ca, _bB), + ((VIDEO_EXTRACTION_CATEGORY, 1), (VIDEO_BOUNDING_BOX, 1)), +) + +VIDEO_STANDARD_GENERATIVE_FIELD_TYPE: StaticSchema = ( + 14, + n0, + _VSGFT, + 0, + (_VS, _IAB, _CS), + ((-1, {_sV: _VS}), (-1, {_sV: _IAB}), (-1, {_sV: _CS})), +) + +VIDEO_STANDARD_GENERATIVE_FIELD_TYPES: StaticSchema = ( + 16, + n0, + _VSGFTi, + 0, + (_me,), + ((VIDEO_STANDARD_GENERATIVE_FIELD_TYPE, 0),), +) + +VIDEO_STANDARD_GENERATIVE_FIELD: StaticSchema = ( + 18, + n0, + _VSGF, + 0, + (_stat, _typ), + ((lambda: schemas.STATE, 1), (VIDEO_STANDARD_GENERATIVE_FIELD_TYPES, 0)), +) + +VIDEO_STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSOC, + 0, + (_e, _gF), + ((VIDEO_STANDARD_EXTRACTION, 0), (VIDEO_STANDARD_GENERATIVE_FIELD, 0)), +) + +STANDARD_OUTPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SOC, + 0, + (_do, _i, _vi, _a), + ( + (DOCUMENT_STANDARD_OUTPUT_CONFIGURATION, 0), + (IMAGE_STANDARD_OUTPUT_CONFIGURATION, 0), + (VIDEO_STANDARD_OUTPUT_CONFIGURATION, 0), + (AUDIO_STANDARD_OUTPUT_CONFIGURATION, 0), + ), +) + +CREATE_DATA_AUTOMATION_PROJECT_INPUT: StaticSchema = ( + 18, + n0, + _CDAPI, + {_sSI: _cCDAPR, _sm: None}, + (_pN, _pD, _pS, _pT, _sOC, _cOC, _oCv, _dALC, _cT, _eC, _t), + ( + (lambda: schemas.DATA_AUTOMATION_PROJECT_NAME, 1), + (lambda: schemas.DATA_AUTOMATION_PROJECT_DESCRIPTION, 0), + (lambda: schemas.DATA_AUTOMATION_PROJECT_STAGE, 0), + (lambda: schemas.DATA_AUTOMATION_PROJECT_TYPE, {_smithya: _ASYNC}), + (STANDARD_OUTPUT_CONFIGURATION, 1), + (lambda: schemas.CUSTOM_OUTPUT_CONFIGURATION, 0), + (lambda: schemas.OVERRIDE_CONFIGURATION, 0), + (lambda: schemas.DATA_AUTOMATION_LIBRARY_CONFIGURATION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.ENCRYPTION_CONFIGURATION, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DATA_AUTOMATION_PROJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDAPO, + {_sSI: _cCDAPRo, _smit: None}, + (_pA, _pS, _st), + ( + (lambda: schemas.DATA_AUTOMATION_PROJECT_ARN, 1), + (lambda: schemas.DATA_AUTOMATION_PROJECT_STAGE, 0), + (lambda: DATA_AUTOMATION_PROJECT_STATUS, 0), + ), +) + +CREATE_DATA_AUTOMATION_PROJECT: StaticOperationSchema = ( + 23, + n0, + _CDAP, + { + _smith: MappingProxyType( + {"code": 201, "method": "PUT", "uri": "/data-automation-projects/"} + ) + }, + CREATE_DATA_AUTOMATION_PROJECT_INPUT, + CREATE_DATA_AUTOMATION_PROJECT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_AUTOMATION_PROJECT_STATUS: StaticSchema = ( + 14, + n0, + _DAPSa, + 0, + (_COMPLETED, _IP, _FAILED), + ((-1, {_sV: _COMPLETED}), (-1, {_sV: _IP}), (-1, {_sV: _FAILED})), +) + +DELETE_DATA_AUTOMATION_PROJECT_INPUT: StaticSchema = ( + 18, + n0, + _DDAPI, + {_sSI: _cDDAPR, _sm: None}, + (_pA,), + ((lambda: schemas.DATA_AUTOMATION_PROJECT_ARN, 9),), +) + +DELETE_DATA_AUTOMATION_PROJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _DDAPO, + {_sSI: _cDDAPRo, _smit: None}, + (_pA, _st), + ( + (lambda: schemas.DATA_AUTOMATION_PROJECT_ARN, 1), + (DATA_AUTOMATION_PROJECT_STATUS, 0), + ), +) + +DELETE_DATA_AUTOMATION_PROJECT: StaticOperationSchema = ( + 23, + n0, + _DDAP, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/data-automation-projects/{projectArn}/", + } + ) + }, + DELETE_DATA_AUTOMATION_PROJECT_INPUT, + DELETE_DATA_AUTOMATION_PROJECT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_DATA_AUTOMATION_PROJECT_INPUT: StaticSchema = ( + 18, + n0, + _GDAPI, + {_sSI: _cGDAPR, _sm: None}, + (_pA, _pS), + ( + (lambda: schemas.DATA_AUTOMATION_PROJECT_ARN, 9), + (lambda: schemas.DATA_AUTOMATION_PROJECT_STAGE, 0), + ), +) + +GET_DATA_AUTOMATION_PROJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _GDAPO, + {_sSI: _cGDAPRo, _smit: None}, + (_pr,), + ((lambda: DATA_AUTOMATION_PROJECT, 1),), +) + +GET_DATA_AUTOMATION_PROJECT: StaticOperationSchema = ( + 23, + n0, + _GDAP, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/data-automation-projects/{projectArn}/", + } + ) + }, + GET_DATA_AUTOMATION_PROJECT_INPUT, + GET_DATA_AUTOMATION_PROJECT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_AUTOMATION_PROJECT: StaticSchema = ( + 18, + n0, + _DAP, + 0, + (_pA, _cTr, _lMT, _pN, _pS, _pT, _pD, _sOC, _cOC, _oCv, _dALC, _st, _kKI, _kEC), + ( + (lambda: schemas.DATA_AUTOMATION_PROJECT_ARN, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATE_TIMESTAMP, 1), + (lambda: schemas.DATA_AUTOMATION_PROJECT_NAME, 1), + (lambda: schemas.DATA_AUTOMATION_PROJECT_STAGE, 0), + (lambda: schemas.DATA_AUTOMATION_PROJECT_TYPE, 0), + (lambda: schemas.DATA_AUTOMATION_PROJECT_DESCRIPTION, 0), + (STANDARD_OUTPUT_CONFIGURATION, 0), + (lambda: schemas.CUSTOM_OUTPUT_CONFIGURATION, 0), + (lambda: schemas.OVERRIDE_CONFIGURATION, 0), + (lambda: schemas.DATA_AUTOMATION_LIBRARY_CONFIGURATION, 0), + (DATA_AUTOMATION_PROJECT_STATUS, 1), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.KMS_ENCRYPTION_CONTEXT, 0), + ), +) + +BLUEPRINT_FILTER: StaticSchema = ( + 18, + n0, + _BF, + 0, + (_bA, _bV, _bS), + ( + (lambda: schemas.BLUEPRINT_ARN, 1), + (lambda: schemas.BLUEPRINT_VERSION, 0), + (lambda: schemas.BLUEPRINT_STAGE, 0), + ), +) + +DATA_AUTOMATION_LIBRARY_FILTER: StaticSchema = ( + 18, + n0, + _DALF, + 0, + (_lA,), + ((lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 1),), +) + +DATA_AUTOMATION_PROJECT_STAGE_FILTER: StaticSchema = ( + 14, + n0, + _DAPSF, + 0, + (_DEVELOPMENT, _LIVE, _ALL), + ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE}), (-1, {_sV: _ALL})), +) + +LIST_DATA_AUTOMATION_PROJECTS_INPUT: StaticSchema = ( + 18, + n0, + _LDAPI, + {_sSI: _cLDAPR, _sm: None}, + (_mR, _nT, _pSF, _bF, _rO, _lF), + ( + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (DATA_AUTOMATION_PROJECT_STAGE_FILTER, 0), + (BLUEPRINT_FILTER, 0), + (lambda: schemas.RESOURCE_OWNER, 0), + (DATA_AUTOMATION_LIBRARY_FILTER, 0), + ), +) + +LIST_DATA_AUTOMATION_PROJECTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDAPO, + {_sSI: _cLDAPRo, _smit: None}, + (_pro, _nT), + ((lambda: DATA_AUTOMATION_PROJECT_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_DATA_AUTOMATION_PROJECTS: StaticOperationSchema = ( + 23, + n0, + _LDAP, + { + _smith: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/data-automation-projects/"} + ) + }, + LIST_DATA_AUTOMATION_PROJECTS_INPUT, + LIST_DATA_AUTOMATION_PROJECTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_AUTOMATION_PROJECT_SUMMARY: StaticSchema = ( + 18, + n0, + _DAPSat, + 0, + (_pA, _pS, _pT, _pN, _cTr), + ( + (lambda: schemas.DATA_AUTOMATION_PROJECT_ARN, 1), + (lambda: schemas.DATA_AUTOMATION_PROJECT_STAGE, 0), + (lambda: schemas.DATA_AUTOMATION_PROJECT_TYPE, 0), + (lambda: schemas.DATA_AUTOMATION_PROJECT_NAME, 0), + (lambda: schemas.DATE_TIMESTAMP, 1), + ), +) + +DATA_AUTOMATION_PROJECT_SUMMARIES: StaticSchema = ( + 16, + n0, + _DAPSata, + 0, + (_me,), + ((DATA_AUTOMATION_PROJECT_SUMMARY, 0),), +) + +UPDATE_DATA_AUTOMATION_PROJECT_INPUT: StaticSchema = ( + 18, + n0, + _UDAPI, + {_sSI: _cUDAPR, _sm: None}, + (_pA, _pS, _pD, _sOC, _cOC, _oCv, _dALC, _eC), + ( + (lambda: schemas.DATA_AUTOMATION_PROJECT_ARN, 9), + (lambda: schemas.DATA_AUTOMATION_PROJECT_STAGE, 0), + (lambda: schemas.DATA_AUTOMATION_PROJECT_DESCRIPTION, 0), + (STANDARD_OUTPUT_CONFIGURATION, 1), + (lambda: schemas.CUSTOM_OUTPUT_CONFIGURATION, 0), + (lambda: schemas.OVERRIDE_CONFIGURATION, 0), + (lambda: schemas.DATA_AUTOMATION_LIBRARY_CONFIGURATION, 0), + (lambda: schemas.ENCRYPTION_CONFIGURATION, 0), + ), +) + +UPDATE_DATA_AUTOMATION_PROJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _UDAPO, + {_sSI: _cUDAPRo, _smit: None}, + (_pA, _pS, _st), + ( + (lambda: schemas.DATA_AUTOMATION_PROJECT_ARN, 1), + (lambda: schemas.DATA_AUTOMATION_PROJECT_STAGE, 0), + (DATA_AUTOMATION_PROJECT_STATUS, 0), + ), +) + +UPDATE_DATA_AUTOMATION_PROJECT: StaticOperationSchema = ( + 23, + n0, + _UDAP, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "PUT", + "uri": "/data-automation-projects/{projectArn}/", + } + ) + }, + UPDATE_DATA_AUTOMATION_PROJECT_INPUT, + UPDATE_DATA_AUTOMATION_PROJECT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_DATA_AUTOMATION_LIBRARY_ENTITY_INPUT: StaticSchema = ( + 18, + n0, + _GDALEI, + {_sSI: _cGDALER, _sm: None}, + (_lA, _eTn, _eIn), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 9), + (lambda: schemas.ENTITY_TYPE, 9), + (lambda: schemas.ENTITY_ID, 9), + ), +) + +GET_DATA_AUTOMATION_LIBRARY_ENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _GDALEO, + {_sSI: _cGDALERo, _smit: None}, + (_en,), + ((lambda: ENTITY_DETAILS, 0),), +) + +GET_DATA_AUTOMATION_LIBRARY_ENTITY: StaticOperationSchema = ( + 23, + n0, + _GDALE, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/data-automation-libraries/{libraryArn}/entityType/{entityType}/entities/{entityId}", + } + ) + }, + GET_DATA_AUTOMATION_LIBRARY_ENTITY_INPUT, + GET_DATA_AUTOMATION_LIBRARY_ENTITY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +VOCABULARY_ENTITY: StaticSchema = ( + 18, + n0, + _VEo, + 0, + (_eIn, _d, _l, _p, _lMT), + ( + (lambda: schemas.ENTITY_ID, 0), + (lambda: schemas.ENTITY_DESCRIPTION, 0), + (lambda: schemas.LANGUAGE, 0), + (lambda: schemas.PHRASE_LIST, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +ENTITY_DETAILS: StaticSchema = (19, n0, _EDn, 0, (_vo,), ((VOCABULARY_ENTITY, 0),)) + +LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_INPUT: StaticSchema = ( + 18, + n0, + _LDALEI, + {_sSI: _cLDALER, _sm: None}, + (_lA, _eTn, _mR, _nT), + ( + (lambda: schemas.DATA_AUTOMATION_LIBRARY_ARN, 9), + (lambda: schemas.ENTITY_TYPE, 9), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LDALEO, + {_sSI: _cLDALERo, _smit: None}, + (_ent, _nT), + ( + (lambda: DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARIES, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_DATA_AUTOMATION_LIBRARY_ENTITIES: StaticOperationSchema = ( + 23, + n0, + _LDALE, + { + _smith: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/data-automation-libraries/{libraryArn}/entityType/{entityType}/entities/", + } + ) + }, + LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_INPUT, + LIST_DATA_AUTOMATION_LIBRARY_ENTITIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +VOCABULARY_ENTITY_SUMMARY: StaticSchema = ( + 18, + n0, + _VES, + 0, + (_eIn, _d, _l, _nOP, _lMT), + ( + (lambda: schemas.ENTITY_ID, 0), + (lambda: schemas.ENTITY_DESCRIPTION, 0), + (lambda: schemas.LANGUAGE, 0), + (7, 0), + (lambda: schemas.DATE_TIMESTAMP, 0), + ), +) + +DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARY: StaticSchema = ( + 19, + n0, + _DALES, + 0, + (_vo,), + ((VOCABULARY_ENTITY_SUMMARY, 0),), +) + +DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARIES: StaticSchema = ( + 16, + n0, + _DALESa, + 0, + (_me,), + ((DATA_AUTOMATION_LIBRARY_ENTITY_SUMMARY, 0),), +) + +TAGGABLE_RESOURCE_ARN: StaticSchema = (3, n0, _TRA, 0) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _sm: None}, + (_rARN,), + ((TAGGABLE_RESOURCE_ARN, 1),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smit: None}, + (_t,), + ((lambda: schemas.TAG_LIST, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + { + _smith: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/listTagsForResource"} + ) + }, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _sm: None}, + (_rARN, _t), + ((TAGGABLE_RESOURCE_ARN, 1), (lambda: schemas.TAG_LIST, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smit: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + {_smith: MappingProxyType({"code": 200, "method": "POST", "uri": "/tagResource"})}, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _sm: None}, + (_rARN, _tK), + ((TAGGABLE_RESOURCE_ARN, 1), (TAG_KEY_LIST, 1)), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smit: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smith: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/untagResource"} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AMAZON_BEDROCK_KEYSTONE_BUILD_TIME_SERVICE: StaticSchema = ( + 21, + n0, + _ABKBTS, + { + _aw: MappingProxyType({"name": "bedrock"}), + _aws: MappingProxyType( + { + "sdkId": "Bedrock Data Automation", + "arnNamespace": "bedrock", + "endpointPrefix": "bedrock-data-automation", + "cloudTrailEventSource": "bedrock.amazonaws.com", + } + ), + _aJ: None, + }, +) diff --git a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/aio/client.py b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/aio/client.py index 7ee2b20f6..6a23e2b26 100644 --- a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/aio/client.py +++ b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/aio/config.py b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/aio/config.py index 020d5624d..713e8088a 100644 --- a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/aio/config.py +++ b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/client.py b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/client.py index 468fea4e6..47248d567 100644 --- a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/client.py +++ b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/config.py b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/config.py index 8d3cf8b2b..810347c54 100644 --- a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/config.py +++ b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/models.pyi b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/models.pyi index 9f24b9a57..e60cdb220 100644 --- a/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/models.pyi +++ b/clients/aws-sdk-bedrock-data-automation/src/aws_sdk_bedrock_data_automation/models.pyi @@ -267,7 +267,10 @@ class CopyBlueprintStageInput(_SerdeShape): target_stage: str | None = ... """Target stage to copy to""" client_token: str | None = ... - """Client token for idempotency""" + """ + Client token for idempotency This field is autopopulated if not + provided. + """ @dataclass(kw_only=True) class CopyBlueprintStageOutput(_SerdeShape): @@ -294,7 +297,10 @@ class CreateBlueprintInput(_SerdeShape): schema: str | None = ... """Schema of the blueprint""" client_token: str | None = ... - """Client specified token used for idempotency checks""" + """ + Client specified token used for idempotency checks This field is + autopopulated if not provided. + """ encryption_configuration: EncryptionConfiguration | None = ... """KMS Encryption Configuration""" tags: list[Tag] | None = ... @@ -321,7 +327,10 @@ class CreateBlueprintVersionInput(_SerdeShape): blueprint_arn: str | None = ... """ARN generated at the server side when a Blueprint is created""" client_token: str | None = ... - """Client specified token used for idempotency checks""" + """ + Client specified token used for idempotency checks This field is + autopopulated if not provided. + """ @dataclass(kw_only=True) class CreateBlueprintVersionOutput(_SerdeShape): @@ -346,7 +355,10 @@ class CreateDataAutomationLibraryInput(_SerdeShape): library_description: str | None = ... """Description of the DataAutomationLibrary""" client_token: str | None = ... - """Client specified token used for idempotency checks""" + """ + Client specified token used for idempotency checks This field is + autopopulated if not provided. + """ encryption_configuration: EncryptionConfiguration | None = ... """KMS Encryption Configuration""" tags: list[Tag] | None = ... @@ -391,7 +403,10 @@ class CreateDataAutomationProjectInput(_SerdeShape): ) = ... """DataAutomation Library configuration""" client_token: str | None = ... - """Client specified token used for idempotency checks""" + """ + Client specified token used for idempotency checks This field is + autopopulated if not provided. + """ encryption_configuration: EncryptionConfiguration | None = ... """KMS Encryption Configuration""" tags: list[Tag] | None = ... @@ -1166,7 +1181,7 @@ class InvokeDataAutomationLibraryIngestionJobInput(_SerdeShape): library_arn: str | None = ... """ARN generated at the server side when a DataAutomationLibrary is created""" client_token: str | None = ... - """Idempotency token""" + """Idempotency token This field is autopopulated if not provided.""" input_configuration: InputConfiguration | None = ... """Input configuration of DataAutomationLibraryIngestionJob request""" entity_type: str | None = ... @@ -1796,7 +1811,10 @@ class UpdateDataAutomationLibraryInput(_SerdeShape): library_description: str | None = ... """Description of the DataAutomationLibrary""" client_token: str | None = ... - """Client specified token used for idempotency checks""" + """ + Client specified token used for idempotency checks This field is + autopopulated if not provided. + """ @dataclass(kw_only=True) class UpdateDataAutomationLibraryOutput(_SerdeShape): diff --git a/clients/aws-sdk-bedrock-data-automation/tests/test_endpoints.py b/clients/aws-sdk-bedrock-data-automation/tests/test_endpoints.py index 548404384..ca3f2710a 100644 --- a/clients/aws-sdk-bedrock-data-automation/tests/test_endpoints.py +++ b/clients/aws-sdk-bedrock-data-automation/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-bedrock-runtime/pyproject.toml b/clients/aws-sdk-bedrock-runtime/pyproject.toml index de7a064cc..188d4dcf0 100644 --- a/clients/aws-sdk-bedrock-runtime/pyproject.toml +++ b/clients/aws-sdk-bedrock-runtime/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_bedrock_runtime" version = "0.12.0" -description = "aws_sdk_bedrock_runtime client" +description = "Python client for Amazon Bedrock Runtime" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_bedrock_runtime"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas.py index 3dc07ee10..48abb8eae 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas.py +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas.py @@ -1,4052 +1,388 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.bedrockruntime" -_NBS = "NonBlankString" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_m = "message" -_AI = "AccountId" -_AMRFP = "AdditionalModelResponseFieldPaths" -_me = "member" -_IA = "InvocationArn" -_GAII = "GetAsyncInvokeInput" -_sSI = "smithy.synthetic#originalShapeId" -_cGAIR = "com.amazonaws.bedrockruntime#GetAsyncInvokeRequest" -_sm = "smithy.api#input" -_iA = "invocationArn" -_smi = "smithy.api#required" -_sL = "smithy.api#httpLabel" -_AIIT = "AsyncInvokeIdempotencyToken" -_T = "Timestamp" -_sF = "smithy.api#timestampFormat" -_dt = "date-time" -_AIM = "AsyncInvokeMessage" -_smit = "smithy.api#sensitive" -_AIA = "AsyncInvokeArn" -_KKI = "KmsKeyId" -_SU = "S3Uri" -_AISODC = "AsyncInvokeS3OutputDataConfig" -_sU = "s3Uri" -_kKI = "kmsKeyId" -_bO = "bucketOwner" -_AIODC = "AsyncInvokeOutputDataConfig" -_sODC = "s3OutputDataConfig" -_AIS = "AsyncInvokeStatus" -_IP = "IN_PROGRESS" -_sV = "smithy.api#enumValue" -_IPn = "InProgress" -_COMPLETED = "COMPLETED" -_C = "Completed" -_FAILED = "FAILED" -_F = "Failed" -_GAIO = "GetAsyncInvokeOutput" -_cGAIRo = "com.amazonaws.bedrockruntime#GetAsyncInvokeResponse" -_smith = "smithy.api#output" -_mA = "modelArn" -_cRT = "clientRequestToken" -_st = "status" -_fM = "failureMessage" -_sT = "submitTime" -_lMT = "lastModifiedTime" -_eT = "endTime" -_oDC = "outputDataConfig" -_ISE = "InternalServerException" -_se = "server" -_TE = "ThrottlingException" -_VE = "ValidationException" -_GAI = "GetAsyncInvoke" -_smithy = "smithy.api#http" -_MR = "MaxResults" -_PT = "PaginationToken" -_SAIB = "SortAsyncInvocationBy" -_ST = "SUBMISSION_TIME" -_STu = "SubmissionTime" -_SO = "SortOrder" -_ASCENDING = "ASCENDING" -_A = "Ascending" -_DESCENDING = "DESCENDING" -_D = "Descending" -_LAII = "ListAsyncInvokesInput" -_cLAIR = "com.amazonaws.bedrockruntime#ListAsyncInvokesRequest" -_sTA = "submitTimeAfter" -_sQ = "smithy.api#httpQuery" -_sTB = "submitTimeBefore" -_sEt = "statusEquals" -_mR = "maxResults" -_nT = "nextToken" -_sB = "sortBy" -_smithya = "smithy.api#default" -_sO = "sortOrder" -_AISs = "AsyncInvokeSummary" -_AISsy = "AsyncInvokeSummaries" -_LAIO = "ListAsyncInvokesOutput" -_cLAIRo = "com.amazonaws.bedrockruntime#ListAsyncInvokesResponse" -_aIS = "asyncInvokeSummaries" -_LAI = "ListAsyncInvokes" -_CE = "ConflictException" -_RNFE = "ResourceNotFoundException" -_SQEE = "ServiceQuotaExceededException" -_SUE = "ServiceUnavailableException" -_AII = "AsyncInvokeIdentifier" -_MIP = "ModelInputPayload" -_TK = "TagKey" -_TV = "TagValue" -_Ta = "Tag" -_k = "key" -_v = "value" -_TL = "TagList" -_SAII = "StartAsyncInvokeInput" -_cSAIR = "com.amazonaws.bedrockruntime#StartAsyncInvokeRequest" -_sTm = "smithy.api#idempotencyToken" -_mI = "modelId" -_mIo = "modelInput" -_t = "tags" -_SAIO = "StartAsyncInvokeOutput" -_cSAIRo = "com.amazonaws.bedrockruntime#StartAsyncInvokeResponse" -_SAI = "StartAsyncInvoke" -_GIF = "GuardrailImageFormat" -_PNG = "PNG" -_p = "png" -_JPEG = "JPEG" -_j = "jpeg" -_GIS = "GuardrailImageSource" -_b = "bytes" -_GIB = "GuardrailImageBlock" -_f = "format" -_so = "source" -_GCQ = "GuardrailContentQualifier" -_GS = "GROUNDING_SOURCE" -_gs = "grounding_source" -_QUERY = "QUERY" -_q = "query" -_GC = "GUARD_CONTENT" -_gc = "guard_content" -_GCQL = "GuardrailContentQualifierList" -_GTB = "GuardrailTextBlock" -_te = "text" -_qu = "qualifiers" -_GCB = "GuardrailContentBlock" -_i = "image" -_GCBL = "GuardrailContentBlockList" -_GI = "GuardrailIdentifier" -_GV = "GuardrailVersion" -_GOS = "GuardrailOutputScope" -_INTERVENTIONS = "INTERVENTIONS" -_FULL = "FULL" -_GCS = "GuardrailContentSource" -_INPUT = "INPUT" -_OUTPUT = "OUTPUT" -_AGI = "ApplyGuardrailInput" -_cAGR = "com.amazonaws.bedrockruntime#ApplyGuardrailRequest" -_gI = "guardrailIdentifier" -_gV = "guardrailVersion" -_co = "content" -_oS = "outputScope" -_GA = "GuardrailAction" -_NONE = "NONE" -_GI_ = "GUARDRAIL_INTERVENED" -_GAu = "GuardrailArn" -_GIu = "GuardrailId" -_GO = "GuardrailOrigin" -_REQUEST = "REQUEST" -_AE = "ACCOUNT_ENFORCED" -_OE = "ORGANIZATION_ENFORCED" -_GOL = "GuardrailOriginList" -_GOu = "GuardrailOwnership" -_SELF = "SELF" -_CA = "CROSS_ACCOUNT" -_AGD = "AppliedGuardrailDetails" -_gIu = "guardrailId" -_gA = "guardrailArn" -_gO = "guardrailOrigin" -_gOu = "guardrailOwnership" -_ARRI = "AutomatedReasoningRuleIdentifier" -_GARPVA = "GuardrailAutomatedReasoningPolicyVersionArn" -_GARR = "GuardrailAutomatedReasoningRule" -_id = "identifier" -_pVA = "policyVersionArn" -_GARRL = "GuardrailAutomatedReasoningRuleList" -_GARSLC = "GuardrailAutomatedReasoningStatementLogicContent" -_GARSNLC = "GuardrailAutomatedReasoningStatementNaturalLanguageContent" -_GARS = "GuardrailAutomatedReasoningStatement" -_l = "logic" -_nL = "naturalLanguage" -_GARSL = "GuardrailAutomatedReasoningStatementList" -_GARLWT = "GuardrailAutomatedReasoningLogicWarningType" -_AF = "ALWAYS_FALSE" -_AT = "ALWAYS_TRUE" -_GARLW = "GuardrailAutomatedReasoningLogicWarning" -_ty = "type" -_pr = "premises" -_cl = "claims" -_GARTC = "GuardrailAutomatedReasoningTranslationConfidence" -_GARITR = "GuardrailAutomatedReasoningInputTextReference" -_GARITRL = "GuardrailAutomatedReasoningInputTextReferenceList" -_GART = "GuardrailAutomatedReasoningTranslation" -_uP = "untranslatedPremises" -_uC = "untranslatedClaims" -_con = "confidence" -_GARIF = "GuardrailAutomatedReasoningImpossibleFinding" -_tr = "translation" -_cR = "contradictingRules" -_lW = "logicWarning" -_GARIFu = "GuardrailAutomatedReasoningInvalidFinding" -_GARNTF = "GuardrailAutomatedReasoningNoTranslationsFinding" -_GARSu = "GuardrailAutomatedReasoningScenario" -_sta = "statements" -_GARSF = "GuardrailAutomatedReasoningSatisfiableFinding" -_cTS = "claimsTrueScenario" -_cFS = "claimsFalseScenario" -_GARTCF = "GuardrailAutomatedReasoningTooComplexFinding" -_GARDSL = "GuardrailAutomatedReasoningDifferenceScenarioList" -_GARTL = "GuardrailAutomatedReasoningTranslationList" -_GARTO = "GuardrailAutomatedReasoningTranslationOption" -_tra = "translations" -_GARTOL = "GuardrailAutomatedReasoningTranslationOptionList" -_GARTAF = "GuardrailAutomatedReasoningTranslationAmbiguousFinding" -_o = "options" -_dS = "differenceScenarios" -_GARVF = "GuardrailAutomatedReasoningValidFinding" -_sR = "supportingRules" -_GARF = "GuardrailAutomatedReasoningFinding" -_va = "valid" -_in = "invalid" -_sa = "satisfiable" -_im = "impossible" -_tA = "translationAmbiguous" -_tC = "tooComplex" -_nTo = "noTranslations" -_GARFL = "GuardrailAutomatedReasoningFindingList" -_GARPA = "GuardrailAutomatedReasoningPolicyAssessment" -_fi = "findings" -_GCPA = "GuardrailContentPolicyAction" -_BLOCKED = "BLOCKED" -_GCFC = "GuardrailContentFilterConfidence" -_LOW = "LOW" -_MEDIUM = "MEDIUM" -_HIGH = "HIGH" -_GCFS = "GuardrailContentFilterStrength" -_GCFT = "GuardrailContentFilterType" -_INSULTS = "INSULTS" -_HATE = "HATE" -_SEXUAL = "SEXUAL" -_VIOLENCE = "VIOLENCE" -_MISCONDUCT = "MISCONDUCT" -_PA = "PROMPT_ATTACK" -_GCF = "GuardrailContentFilter" -_fS = "filterStrength" -_a = "action" -_d = "detected" -_GCFL = "GuardrailContentFilterList" -_GCPAu = "GuardrailContentPolicyAssessment" -_fil = "filters" -_GCGPA = "GuardrailContextualGroundingPolicyAction" -_GCGFT = "GuardrailContextualGroundingFilterType" -_GROUNDING = "GROUNDING" -_RELEVANCE = "RELEVANCE" -_GCGF = "GuardrailContextualGroundingFilter" -_th = "threshold" -_sc = "score" -_GCGFu = "GuardrailContextualGroundingFilters" -_GCGPAu = "GuardrailContextualGroundingPolicyAssessment" -_IG = "ImagesGuarded" -_IT = "ImagesTotal" -_GIC = "GuardrailImageCoverage" -_g = "guarded" -_to = "total" -_TCG = "TextCharactersGuarded" -_TCT = "TextCharactersTotal" -_GTCC = "GuardrailTextCharactersCoverage" -_GCu = "GuardrailCoverage" -_tCe = "textCharacters" -_ima = "images" -_GPL = "GuardrailProcessingLatency" -_GARPP = "GuardrailAutomatedReasoningPoliciesProcessed" -_GARPUP = "GuardrailAutomatedReasoningPolicyUnitsProcessed" -_GCPIUP = "GuardrailContentPolicyImageUnitsProcessed" -_GCPUP = "GuardrailContentPolicyUnitsProcessed" -_GCGPUP = "GuardrailContextualGroundingPolicyUnitsProcessed" -_GSIPFUP = "GuardrailSensitiveInformationPolicyFreeUnitsProcessed" -_GSIPUP = "GuardrailSensitiveInformationPolicyUnitsProcessed" -_GTPUP = "GuardrailTopicPolicyUnitsProcessed" -_GWPUP = "GuardrailWordPolicyUnitsProcessed" -_GU = "GuardrailUsage" -_tPU = "topicPolicyUnits" -_cPU = "contentPolicyUnits" -_wPU = "wordPolicyUnits" -_sIPU = "sensitiveInformationPolicyUnits" -_sIPFU = "sensitiveInformationPolicyFreeUnits" -_cGPU = "contextualGroundingPolicyUnits" -_cPIU = "contentPolicyImageUnits" -_aRPU = "automatedReasoningPolicyUnits" -_aRP = "automatedReasoningPolicies" -_GIM = "GuardrailInvocationMetrics" -_gPL = "guardrailProcessingLatency" -_u = "usage" -_gC = "guardrailCoverage" -_GSIPA = "GuardrailSensitiveInformationPolicyAction" -_ANONYMIZED = "ANONYMIZED" -_GPET = "GuardrailPiiEntityType" -_ADDRESS = "ADDRESS" -_AGE = "AGE" -_AAK = "AWS_ACCESS_KEY" -_ASK = "AWS_SECRET_KEY" -_CHN = "CA_HEALTH_NUMBER" -_CSIN = "CA_SOCIAL_INSURANCE_NUMBER" -_CDCC = "CREDIT_DEBIT_CARD_CVV" -_CDCE = "CREDIT_DEBIT_CARD_EXPIRY" -_CDCN = "CREDIT_DEBIT_CARD_NUMBER" -_DI = "DRIVER_ID" -_EMAIL = "EMAIL" -_IBAN = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" -_IA_ = "IP_ADDRESS" -_LP = "LICENSE_PLATE" -_MA = "MAC_ADDRESS" -_NAME = "NAME" -_PASSWORD = "PASSWORD" -_PHONE = "PHONE" -_PIN = "PIN" -_SC = "SWIFT_CODE" -_UNHSN = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" -_UNIN = "UK_NATIONAL_INSURANCE_NUMBER" -_UUTRN = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" -_URL = "URL" -_USERNAME = "USERNAME" -_UBAN = "US_BANK_ACCOUNT_NUMBER" -_UBRN = "US_BANK_ROUTING_NUMBER" -_UITIN = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" -_UPN = "US_PASSPORT_NUMBER" -_USSN = "US_SOCIAL_SECURITY_NUMBER" -_VIN = "VEHICLE_IDENTIFICATION_NUMBER" -_GPEF = "GuardrailPiiEntityFilter" -_ma = "match" -_GPEFL = "GuardrailPiiEntityFilterList" -_GRF = "GuardrailRegexFilter" -_n = "name" -_r = "regex" -_GRFL = "GuardrailRegexFilterList" -_GSIPAu = "GuardrailSensitiveInformationPolicyAssessment" -_pE = "piiEntities" -_re = "regexes" -_GTPA = "GuardrailTopicPolicyAction" -_GTT = "GuardrailTopicType" -_DENY = "DENY" -_GT = "GuardrailTopic" -_GTL = "GuardrailTopicList" -_GTPAu = "GuardrailTopicPolicyAssessment" -_top = "topics" -_GWPA = "GuardrailWordPolicyAction" -_GCW = "GuardrailCustomWord" -_GCWL = "GuardrailCustomWordList" -_GMWT = "GuardrailManagedWordType" -_PROFANITY = "PROFANITY" -_GMW = "GuardrailManagedWord" -_GMWL = "GuardrailManagedWordList" -_GWPAu = "GuardrailWordPolicyAssessment" -_cW = "customWords" -_mWL = "managedWordLists" -_GAua = "GuardrailAssessment" -_tP = "topicPolicy" -_cP = "contentPolicy" -_wP = "wordPolicy" -_sIP = "sensitiveInformationPolicy" -_cGP = "contextualGroundingPolicy" -_aRPu = "automatedReasoningPolicy" -_iM = "invocationMetrics" -_aGD = "appliedGuardrailDetails" -_GAL = "GuardrailAssessmentList" -_GOT = "GuardrailOutputText" -_GOC = "GuardrailOutputContent" -_GOCL = "GuardrailOutputContentList" -_AGO = "ApplyGuardrailOutput" -_cAGRo = "com.amazonaws.bedrockruntime#ApplyGuardrailResponse" -_aR = "actionReason" -_ou = "outputs" -_as = "assessments" -_AG = "ApplyGuardrail" -_GCCFC = "GuardrailChecksContentFilterCategory" -_GCCFCC = "GuardrailChecksContentFilterCategoryConfig" -_ca = "category" -_GCCFCCL = "GuardrailChecksContentFilterCategoryConfigList" -_GCCFCu = "GuardrailChecksContentFilterConfig" -_cat = "categories" -_GCPAC = "GuardrailChecksPromptAttackCategory" -_JAILBREAK = "JAILBREAK" -_PI = "PROMPT_INJECTION" -_PL = "PROMPT_LEAKAGE" -_GCPACC = "GuardrailChecksPromptAttackCategoryConfig" -_GCPACCL = "GuardrailChecksPromptAttackCategoryConfigList" -_GCPACu = "GuardrailChecksPromptAttackConfig" -_GCSIET = "GuardrailChecksSensitiveInformationEntityType" -_GCSIEC = "GuardrailChecksSensitiveInformationEntityConfig" -_GCSIECL = "GuardrailChecksSensitiveInformationEntityConfigList" -_GCSIC = "GuardrailChecksSensitiveInformationConfig" -_e = "entities" -_GCC = "GuardrailChecksConfig" -_cF = "contentFilter" -_pA = "promptAttack" -_sI = "sensitiveInformation" -_GCTC = "GuardrailChecksTextContent" -_GCCB = "GuardrailChecksContentBlock" -_GCCBL = "GuardrailChecksContentBlockList" -_GCR = "GuardrailChecksRole" -_USER = "USER" -_us = "user" -_ASSISTANT = "ASSISTANT" -_ass = "assistant" -_SYSTEM = "SYSTEM" -_sy = "system" -_GCM = "GuardrailChecksMessage" -_ro = "role" -_GCML = "GuardrailChecksMessageList" -_IGCI = "InvokeGuardrailChecksInput" -_cIGCR = "com.amazonaws.bedrockruntime#InvokeGuardrailChecksRequest" -_mes = "messages" -_ch = "checks" -_GCCFRE = "GuardrailChecksContentFilterResultEntry" -_sS = "severityScore" -_GCCFRL = "GuardrailChecksContentFilterResultList" -_GCCFR = "GuardrailChecksContentFilterResult" -_res = "results" -_GCPARE = "GuardrailChecksPromptAttackResultEntry" -_GCPARL = "GuardrailChecksPromptAttackResultList" -_GCPAR = "GuardrailChecksPromptAttackResult" -_GCSIRE = "GuardrailChecksSensitiveInformationResultEntry" -_cS = "confidenceScore" -_bOe = "beginOffset" -_eO = "endOffset" -_mIe = "messageIndex" -_cI = "contentIndex" -_GCSIRL = "GuardrailChecksSensitiveInformationResultList" -_GCSIR = "GuardrailChecksSensitiveInformationResult" -_tru = "truncated" -_GCRu = "GuardrailChecksResults" -_GCCFU = "GuardrailChecksContentFilterUsage" -_tU = "textUnits" -_GCPAU = "GuardrailChecksPromptAttackUsage" -_GCSIU = "GuardrailChecksSensitiveInformationUsage" -_GCUR = "GuardrailChecksUsageResults" -_IGCO = "InvokeGuardrailChecksOutput" -_cIGCRo = "com.amazonaws.bedrockruntime#InvokeGuardrailChecksResponse" -_IGC = "InvokeGuardrailChecks" -_GTu = "GuardrailTrace" -_ENABLED = "ENABLED" -_en = "enabled" -_DISABLED = "DISABLED" -_di = "disabled" -_EF = "ENABLED_FULL" -_ef = "enabled_full" -_GCua = "GuardrailConfiguration" -_v_ = "" -_trac = "trace" -_NES = "NonEmptyString" -_NESL = "NonEmptyStringList" -_IC = "InferenceConfiguration" -_mT = "maxTokens" -_tem = "temperature" -_tPo = "topP" -_sSt = "stopSequences" -_EB = "ErrorBlock" -_AFu = "AudioFormat" -_MP = "MP3" -_mp = "mp3" -_OPUS = "OPUS" -_op = "opus" -_WAV = "WAV" -_w = "wav" -_AAC = "AAC" -_aa = "aac" -_FLAC = "FLAC" -_fl = "flac" -_MP_ = "MP4" -_mp_ = "mp4" -_OGG = "OGG" -_og = "ogg" -_MKV = "MKV" -_mk = "mkv" -_MKA = "MKA" -_mka = "mka" -_XA = "X_AAC" -_xa = "x-aac" -_MA_ = "M4A" -_ma_ = "m4a" -_MPEG = "MPEG" -_mpe = "mpeg" -_MPGA = "MPGA" -_mpg = "mpga" -_PCM = "PCM" -_pc = "pcm" -_WEBM = "WEBM" -_we = "webm" -_SL = "S3Location" -_ur = "uri" -_AS = "AudioSource" -_sLo = "s3Location" -_AB = "AudioBlock" -_er = "error" -_CTTL = "CacheTTL" -_FM = "FIVE_MINUTES" -_m_ = "5m" -_OH = "ONE_HOUR" -_h = "1h" -_CPT = "CachePointType" -_DEFAULT = "DEFAULT" -_de = "default" -_CPB = "CachePointBlock" -_tt = "ttl" -_DCL = "DocumentCharLocation" -_dI = "documentIndex" -_star = "start" -_end = "end" -_DCLo = "DocumentChunkLocation" -_DPL = "DocumentPageLocation" -_SRL = "SearchResultLocation" -_sRI = "searchResultIndex" -_WL = "WebLocation" -_url = "url" -_do = "domain" -_CL = "CitationLocation" -_web = "web" -_dC = "documentChar" -_dP = "documentPage" -_dCo = "documentChunk" -_sRL = "searchResultLocation" -_CSC = "CitationSourceContent" -_CSCL = "CitationSourceContentList" -_Ci = "Citation" -_ti = "title" -_sC = "sourceContent" -_lo = "location" -_Cit = "Citations" -_CGC = "CitationGeneratedContent" -_CGCL = "CitationGeneratedContentList" -_CCB = "CitationsContentBlock" -_ci = "citations" -_CC = "CitationsConfig" -_DF = "DocumentFormat" -_PDF = "PDF" -_pd = "pdf" -_CSV = "CSV" -_cs = "csv" -_DOC = "DOC" -_doc = "doc" -_DOCX = "DOCX" -_docx = "docx" -_XLS = "XLS" -_x = "xls" -_XLSX = "XLSX" -_xl = "xlsx" -_HTML = "HTML" -_ht = "html" -_TXT = "TXT" -_tx = "txt" -_MD = "MD" -_md = "md" -_DCB = "DocumentContentBlock" -_DCBo = "DocumentContentBlocks" -_DS = "DocumentSource" -_DB = "DocumentBlock" -_cont = "context" -_GCIF = "GuardrailConverseImageFormat" -_GCIS = "GuardrailConverseImageSource" -_GCIB = "GuardrailConverseImageBlock" -_GCCQ = "GuardrailConverseContentQualifier" -_GCCQL = "GuardrailConverseContentQualifierList" -_GCTB = "GuardrailConverseTextBlock" -_GCCBu = "GuardrailConverseContentBlock" -_IF = "ImageFormat" -_GIF_ = "GIF" -_gi = "gif" -_WEBP = "WEBP" -_webp = "webp" -_IS = "ImageSource" -_IB = "ImageBlock" -_RTB = "ReasoningTextBlock" -_si = "signature" -_RCB = "ReasoningContentBlock" -_rT = "reasoningText" -_rC = "redactedContent" -_SRCB = "SearchResultContentBlock" -_SRCBe = "SearchResultContentBlocks" -_SRB = "SearchResultBlock" -_TR = "ToolReference" -_sN = "serverName" -_TAB = "ToolAdditionBlock" -_too = "tool" -_TRB = "ToolRemovalBlock" -_VF = "VideoFormat" -_MOV = "MOV" -_mo = "mov" -_FLV = "FLV" -_flv = "flv" -_MPG = "MPG" -_mpg_ = "mpg" -_WMV = "WMV" -_wm = "wmv" -_TG = "THREE_GP" -_tg = "three_gp" -_VS = "VideoSource" -_VB = "VideoBlock" -_TRCB = "ToolResultContentBlock" -_js = "json" -_docu = "document" -_vi = "video" -_sRe = "searchResult" -_TRCBo = "ToolResultContentBlocks" -_TRS = "ToolResultStatus" -_SUCCESS = "SUCCESS" -_su = "success" -_ERROR = "ERROR" -_TUI = "ToolUseId" -_TRBo = "ToolResultBlock" -_tUI = "toolUseId" -_TN = "ToolName" -_TUT = "ToolUseType" -_STU = "SERVER_TOOL_USE" -_stu = "server_tool_use" -_TUB = "ToolUseBlock" -_inp = "input" -_CB = "ContentBlock" -_au = "audio" -_tUo = "toolUse" -_tR = "toolResult" -_gCu = "guardContent" -_cPa = "cachePoint" -_rCe = "reasoningContent" -_cC = "citationsContent" -_tAo = "toolAddition" -_tRo = "toolRemoval" -_CBo = "ContentBlocks" -_CR = "ConversationRole" -_M = "Message" -_Me = "Messages" -_CMI = "ConversationalModelId" -_JSD = "JsonSchemaDefinition" -_sch = "schema" -_des = "description" -_OFS = "OutputFormatStructure" -_jS = "jsonSchema" -_OFT = "OutputFormatType" -_JS = "JSON_SCHEMA" -_js_ = "json_schema" -_OF = "OutputFormat" -_str = "structure" -_OC = "OutputConfig" -_tF = "textFormat" -_eff = "effort" -_PCL = "PerformanceConfigLatency" -_STANDARD = "STANDARD" -_stan = "standard" -_OPTIMIZED = "OPTIMIZED" -_opt = "optimized" -_PC = "PerformanceConfiguration" -_la = "latency" -_PVV = "PromptVariableValues" -_PVM = "PromptVariableMap" -_RM = "RequestMetadata" -_STT = "ServiceTierType" -_PRIORITY = "PRIORITY" -_pri = "priority" -_FLEX = "FLEX" -_fle = "flex" -_RESERVED = "RESERVED" -_rese = "reserved" -_STe = "ServiceTier" -_SCB = "SystemContentBlock" -_SCBy = "SystemContentBlocks" -_ATC = "AnyToolChoice" -_ATCu = "AutoToolChoice" -_STC = "SpecificToolChoice" -_TC = "ToolChoice" -_aut = "auto" -_an = "any" -_STy = "SystemTool" -_TIS = "ToolInputSchema" -_TS = "ToolSpecification" -_iS = "inputSchema" -_stri = "strict" -_To = "Tool" -_tS = "toolSpec" -_sTy = "systemTool" -_Too = "Tools" -_TCo = "ToolConfiguration" -_tool = "tools" -_tCo = "toolChoice" -_CI = "ConverseInput" -_cCR = "com.amazonaws.bedrockruntime#ConverseRequest" -_iC = "inferenceConfig" -_tCoo = "toolConfig" -_gCua = "guardrailConfig" -_aMRF = "additionalModelRequestFields" -_pV = "promptVariables" -_aMRFP = "additionalModelResponseFieldPaths" -_rM = "requestMetadata" -_pC = "performanceConfig" -_sTe = "serviceTier" -_oC = "outputConfig" -_CM = "ConverseMetrics" -_lM = "latencyMs" -_CO = "ConverseOutput" -_SR = "StopReason" -_ET = "END_TURN" -_et = "end_turn" -_TU = "TOOL_USE" -_tu = "tool_use" -_MT = "MAX_TOKENS" -_mt = "max_tokens" -_SS = "STOP_SEQUENCE" -_ss = "stop_sequence" -_gi_ = "guardrail_intervened" -_CF = "CONTENT_FILTERED" -_cf = "content_filtered" -_MMO = "MALFORMED_MODEL_OUTPUT" -_mmo = "malformed_model_output" -_MTU = "MALFORMED_TOOL_USE" -_mtu = "malformed_tool_use" -_MCWE = "MODEL_CONTEXT_WINDOW_EXCEEDED" -_mcwe = "model_context_window_exceeded" -_GAM = "GuardrailAssessmentMap" -_MO = "ModelOutputs" -_GALM = "GuardrailAssessmentListMap" -_GTA = "GuardrailTraceAssessment" -_mO = "modelOutput" -_iAn = "inputAssessment" -_oA = "outputAssessments" -_IMI = "InvokedModelId" -_PRT = "PromptRouterTrace" -_iMI = "invokedModelId" -_CT = "ConverseTrace" -_gu = "guardrail" -_pR = "promptRouter" -_CD = "CacheDetail" -_iT = "inputTokens" -_CDL = "CacheDetailsList" -_TUo = "TokenUsage" -_oT = "outputTokens" -_tT = "totalTokens" -_cRIT = "cacheReadInputTokens" -_cWIT = "cacheWriteInputTokens" -_cD = "cacheDetails" -_COO = "ConverseOperationOutput" -_cCRo = "com.amazonaws.bedrockruntime#ConverseResponse" -_out = "output" -_sRt = "stopReason" -_met = "metrics" -_aMRFd = "additionalModelResponseFields" -_SCt = "StatusCode" -_MEE = "ModelErrorException" -_oSC = "originalStatusCode" -_rN = "resourceName" -_MNRE = "ModelNotReadyException" -_MTE = "ModelTimeoutException" -_Co = "Converse" -_GSPM = "GuardrailStreamProcessingMode" -_SYNC = "SYNC" -_syn = "sync" -_ASYNC = "ASYNC" -_asy = "async" -_GSC = "GuardrailStreamConfiguration" -_sPM = "streamProcessingMode" -_CSI = "ConverseStreamInput" -_cCSR = "com.amazonaws.bedrockruntime#ConverseStreamRequest" -_NNI = "NonNegativeInteger" -_CSCD = "CitationSourceContentDelta" -_CSCLD = "CitationSourceContentListDelta" -_CDi = "CitationsDelta" -_IBD = "ImageBlockDelta" -_RCBD = "ReasoningContentBlockDelta" -_TRBD = "ToolResultBlockDelta" -_TRBDo = "ToolResultBlocksDelta" -_TUBD = "ToolUseBlockDelta" -_CBD = "ContentBlockDelta" -_cit = "citation" -_CBDE = "ContentBlockDeltaEvent" -_del = "delta" -_cBI = "contentBlockIndex" -_IBS = "ImageBlockStart" -_TRBS = "ToolResultBlockStart" -_TUBS = "ToolUseBlockStart" -_CBS = "ContentBlockStart" -_CBSE = "ContentBlockStartEvent" -_CBSEo = "ContentBlockStopEvent" -_MSE = "MessageStartEvent" -_MSEe = "MessageStopEvent" -_CSM = "ConverseStreamMetrics" -_CST = "ConverseStreamTrace" -_CSME = "ConverseStreamMetadataEvent" -_MSEE = "ModelStreamErrorException" -_oM = "originalMessage" -_CSO = "ConverseStreamOutput" -_smithyap = "smithy.api#streaming" -_mS = "messageStart" -_cBS = "contentBlockStart" -_cBD = "contentBlockDelta" -_cBSo = "contentBlockStop" -_mSe = "messageStop" -_meta = "metadata" -_iSE = "internalServerException" -_mSEE = "modelStreamErrorException" -_vE = "validationException" -_tE = "throttlingException" -_sUE = "serviceUnavailableException" -_CSOO = "ConverseStreamOperationOutput" -_cCSRo = "com.amazonaws.bedrockruntime#ConverseStreamResponse" -_stre = "stream" -_sP = "smithy.api#httpPayload" -_CS = "ConverseStream" -_MTi = "MimeType" -_B = "Body" -_IMIn = "InvokeModelIdentifier" -_RMJ = "RequestMetadataJson" -_Tr = "Trace" -_IMInv = "InvokeModelInput" -_cIMR = "com.amazonaws.bedrockruntime#InvokeModelRequest" -_bo = "body" -_cT = "contentType" -_sH = "smithy.api#httpHeader" -_CT_ = "Content-Type" -_ac = "accept" -_Ac = "Accept" -_XABT = "X-Amzn-Bedrock-Trace" -_XABG = "X-Amzn-Bedrock-GuardrailIdentifier" -_XABG_ = "X-Amzn-Bedrock-GuardrailVersion" -_pCL = "performanceConfigLatency" -_XABPL = "X-Amzn-Bedrock-PerformanceConfig-Latency" -_XABST = "X-Amzn-Bedrock-Service-Tier" -_XABRM = "X-Amzn-Bedrock-Request-Metadata" -_IMO = "InvokeModelOutput" -_cIMRo = "com.amazonaws.bedrockruntime#InvokeModelResponse" -_IM = "InvokeModel" -_PB = "PartBody" -_BIPP = "BidirectionalInputPayloadPart" -_IMWBSI = "InvokeModelWithBidirectionalStreamInput" -_chu = "chunk" -_IMWBSOI = "InvokeModelWithBidirectionalStreamOperationInput" -_cIMWBSR = "com.amazonaws.bedrockruntime#InvokeModelWithBidirectionalStreamRequest" -_BOPP = "BidirectionalOutputPayloadPart" -_IMWBSO = "InvokeModelWithBidirectionalStreamOutput" -_mTE = "modelTimeoutException" -_IMWBSOO = "InvokeModelWithBidirectionalStreamOperationOutput" -_cIMWBSRo = "com.amazonaws.bedrockruntime#InvokeModelWithBidirectionalStreamResponse" -_IMWBS = "InvokeModelWithBidirectionalStream" -_IMWRSI = "InvokeModelWithResponseStreamInput" -_cIMWRSR = "com.amazonaws.bedrockruntime#InvokeModelWithResponseStreamRequest" -_XABA = "X-Amzn-Bedrock-Accept" -_PP = "PayloadPart" -_RS = "ResponseStream" -_IMWRSO = "InvokeModelWithResponseStreamOutput" -_cIMWRSRo = "com.amazonaws.bedrockruntime#InvokeModelWithResponseStreamResponse" -_XABCT = "X-Amzn-Bedrock-Content-Type" -_IMWRS = "InvokeModelWithResponseStream" -_CTR = "ConverseTokensRequest" -_IMTR = "InvokeModelTokensRequest" -_CTI = "CountTokensInput" -_iMn = "invokeModel" -_conv = "converse" -_FMVI = "FoundationModelVersionIdentifier" -_CTOI = "CountTokensOperationInput" -_cCTR = "com.amazonaws.bedrockruntime#CountTokensRequest" -_CTO = "CountTokensOutput" -_cCTRo = "com.amazonaws.bedrockruntime#CountTokensResponse" -_CTo = "CountTokens" -_ABFS = "AmazonBedrockFrontendService" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" -_sBA = "smithy.api#httpBearerAuth" - -NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c, _sE: 403}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) - -ADDITIONAL_MODEL_RESPONSE_FIELD_PATHS: StaticSchema = ( - 16, - n0, - _AMRFP, - 0, - (_me,), - ((3, 0),), -) - -INVOCATION_ARN: StaticSchema = (3, n0, _IA, 0) - -GET_ASYNC_INVOKE_INPUT: StaticSchema = ( - 18, - n0, - _GAII, - {_sSI: _cGAIR, _sm: None}, - (_iA,), - ((INVOCATION_ARN, 9),), -) - -ASYNC_INVOKE_IDEMPOTENCY_TOKEN: StaticSchema = (3, n0, _AIIT, 0) - -TIMESTAMP: StaticSchema = (4, n0, _T, {_sF: _dt}) - -ASYNC_INVOKE_MESSAGE: StaticSchema = (3, n0, _AIM, 4) - -ASYNC_INVOKE_ARN: StaticSchema = (3, n0, _AIA, 0) - -KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) - -S3_URI: StaticSchema = (3, n0, _SU, 0) - -ASYNC_INVOKE_S3_OUTPUT_DATA_CONFIG: StaticSchema = ( - 18, - n0, - _AISODC, - 0, - (_sU, _kKI, _bO), - ((S3_URI, 1), (KMS_KEY_ID, 0), (ACCOUNT_ID, 0)), -) - -ASYNC_INVOKE_OUTPUT_DATA_CONFIG: StaticSchema = ( - 19, - n0, - _AIODC, - 0, - (_sODC,), - ((ASYNC_INVOKE_S3_OUTPUT_DATA_CONFIG, 0),), -) - -ASYNC_INVOKE_STATUS: StaticSchema = ( - 14, - n0, - _AIS, - 0, - (_IP, _COMPLETED, _FAILED), - ((-1, {_sV: _IPn}), (-1, {_sV: _C}), (-1, {_sV: _F})), -) - -GET_ASYNC_INVOKE_OUTPUT: StaticSchema = ( - 18, - n0, - _GAIO, - {_sSI: _cGAIRo, _smith: None}, - (_iA, _mA, _cRT, _st, _fM, _sT, _lMT, _eT, _oDC), - ( - (INVOCATION_ARN, 1), - (ASYNC_INVOKE_ARN, 1), - (ASYNC_INVOKE_IDEMPOTENCY_TOKEN, 0), - (ASYNC_INVOKE_STATUS, 1), - (ASYNC_INVOKE_MESSAGE, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (ASYNC_INVOKE_OUTPUT_DATA_CONFIG, 1), - ), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_s: _se, _sE: 500}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - {_s: _c, _sE: 429}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_s: _c, _sE: 400}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -GET_ASYNC_INVOKE: StaticOperationSchema = ( - 23, - n0, - _GAI, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/async-invoke/{invocationArn}"} - ) - }, - GET_ASYNC_INVOKE_INPUT, - GET_ASYNC_INVOKE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -PAGINATION_TOKEN: StaticSchema = (3, n0, _PT, 0) - -SORT_ASYNC_INVOCATION_BY: StaticSchema = ( - 14, - n0, - _SAIB, - 0, - (_ST,), - ((-1, {_sV: _STu}),), -) - -SORT_ORDER: StaticSchema = ( - 14, - n0, - _SO, - 0, - (_ASCENDING, _DESCENDING), - ((-1, {_sV: _A}), (-1, {_sV: _D})), -) - -LIST_ASYNC_INVOKES_INPUT: StaticSchema = ( - 18, - n0, - _LAII, - {_sSI: _cLAIR, _sm: None}, - (_sTA, _sTB, _sEt, _mR, _nT, _sB, _sO), - ( - (TIMESTAMP, {_sQ: _sTA}), - (TIMESTAMP, {_sQ: _sTB}), - (ASYNC_INVOKE_STATUS, {_sQ: _sEt}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_ASYNC_INVOCATION_BY, {_smithya: _STu, _sQ: _sB}), - (SORT_ORDER, {_smithya: _D, _sQ: _sO}), - ), -) - -ASYNC_INVOKE_SUMMARY: StaticSchema = ( - 18, - n0, - _AISs, - 0, - (_iA, _mA, _cRT, _st, _fM, _sT, _lMT, _eT, _oDC), - ( - (INVOCATION_ARN, 1), - (ASYNC_INVOKE_ARN, 1), - (ASYNC_INVOKE_IDEMPOTENCY_TOKEN, 0), - (ASYNC_INVOKE_STATUS, 0), - (ASYNC_INVOKE_MESSAGE, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (ASYNC_INVOKE_OUTPUT_DATA_CONFIG, 1), - ), -) - -ASYNC_INVOKE_SUMMARIES: StaticSchema = ( - 16, - n0, - _AISsy, - 0, - (_me,), - ((ASYNC_INVOKE_SUMMARY, 0),), -) - -LIST_ASYNC_INVOKES_OUTPUT: StaticSchema = ( - 18, - n0, - _LAIO, - {_sSI: _cLAIRo, _smith: None}, - (_nT, _aIS), - ((PAGINATION_TOKEN, 0), (ASYNC_INVOKE_SUMMARIES, 0)), -) - -LIST_ASYNC_INVOKES: StaticOperationSchema = ( - 23, - n0, - _LAI, - {_smithy: MappingProxyType({"code": 200, "method": "GET", "uri": "/async-invoke"})}, - LIST_ASYNC_INVOKES_INPUT, - LIST_ASYNC_INVOKES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - {_s: _c, _sE: 400}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c, _sE: 404}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_s: _c, _sE: 400}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SUE, - {_s: _se, _sE: 503}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -ASYNC_INVOKE_IDENTIFIER: StaticSchema = (3, n0, _AII, 0) - -MODEL_INPUT_PAYLOAD: StaticSchema = (13, n0, _MIP, 4) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _Ta, 0, (_k, _v), ((TAG_KEY, 1), (TAG_VALUE, 1))) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, 0),)) - -START_ASYNC_INVOKE_INPUT: StaticSchema = ( - 18, - n0, - _SAII, - {_sSI: _cSAIR, _sm: None}, - (_cRT, _mI, _mIo, _oDC, _t), - ( - (ASYNC_INVOKE_IDEMPOTENCY_TOKEN, 2), - (ASYNC_INVOKE_IDENTIFIER, 1), - (MODEL_INPUT_PAYLOAD, 1), - (ASYNC_INVOKE_OUTPUT_DATA_CONFIG, 1), - (TAG_LIST, 0), - ), -) - -START_ASYNC_INVOKE_OUTPUT: StaticSchema = ( - 18, - n0, - _SAIO, - {_sSI: _cSAIRo, _smith: None}, - (_iA,), - ((INVOCATION_ARN, 1),), -) - -START_ASYNC_INVOKE: StaticOperationSchema = ( - 23, - n0, - _SAI, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/async-invoke"} - ) - }, - START_ASYNC_INVOKE_INPUT, - START_ASYNC_INVOKE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GUARDRAIL_IMAGE_FORMAT: StaticSchema = ( - 14, - n0, - _GIF, - 0, - (_PNG, _JPEG), - ((-1, {_sV: _p}), (-1, {_sV: _j})), -) - -GUARDRAIL_IMAGE_SOURCE: StaticSchema = (19, n0, _GIS, 4, (_b,), ((1, 0),)) - -GUARDRAIL_IMAGE_BLOCK: StaticSchema = ( - 18, - n0, - _GIB, - 4, - (_f, _so), - ((GUARDRAIL_IMAGE_FORMAT, 1), (GUARDRAIL_IMAGE_SOURCE, 1)), -) - -GUARDRAIL_CONTENT_QUALIFIER: StaticSchema = ( - 14, - n0, - _GCQ, - 0, - (_GS, _QUERY, _GC), - ((-1, {_sV: _gs}), (-1, {_sV: _q}), (-1, {_sV: _gc})), -) - -GUARDRAIL_CONTENT_QUALIFIER_LIST: StaticSchema = ( - 16, - n0, - _GCQL, - 0, - (_me,), - ((GUARDRAIL_CONTENT_QUALIFIER, 0),), -) - -GUARDRAIL_TEXT_BLOCK: StaticSchema = ( - 18, - n0, - _GTB, - 0, - (_te, _qu), - ((3, 1), (GUARDRAIL_CONTENT_QUALIFIER_LIST, 0)), -) - -GUARDRAIL_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _GCB, - 0, - (_te, _i), - ((GUARDRAIL_TEXT_BLOCK, 0), (GUARDRAIL_IMAGE_BLOCK, 0)), -) - -GUARDRAIL_CONTENT_BLOCK_LIST: StaticSchema = ( - 16, - n0, - _GCBL, - 0, - (_me,), - ((GUARDRAIL_CONTENT_BLOCK, 0),), -) - -GUARDRAIL_IDENTIFIER: StaticSchema = (3, n0, _GI, 0) - -GUARDRAIL_VERSION: StaticSchema = (3, n0, _GV, 0) - -GUARDRAIL_OUTPUT_SCOPE: StaticSchema = ( - 14, - n0, - _GOS, - 0, - (_INTERVENTIONS, _FULL), - ((-1, {_sV: _INTERVENTIONS}), (-1, {_sV: _FULL})), -) - -GUARDRAIL_CONTENT_SOURCE: StaticSchema = ( - 14, - n0, - _GCS, - 0, - (_INPUT, _OUTPUT), - ((-1, {_sV: _INPUT}), (-1, {_sV: _OUTPUT})), -) - -APPLY_GUARDRAIL_INPUT: StaticSchema = ( - 18, - n0, - _AGI, - {_sSI: _cAGR, _sm: None}, - (_gI, _gV, _so, _co, _oS), - ( - (GUARDRAIL_IDENTIFIER, 9), - (GUARDRAIL_VERSION, 9), - (GUARDRAIL_CONTENT_SOURCE, 1), - (GUARDRAIL_CONTENT_BLOCK_LIST, 1), - (GUARDRAIL_OUTPUT_SCOPE, 0), - ), -) - -GUARDRAIL_ACTION: StaticSchema = ( - 14, - n0, - _GA, - 0, - (_NONE, _GI_), - ((-1, {_sV: _NONE}), (-1, {_sV: _GI_})), -) - -GUARDRAIL_ARN: StaticSchema = (3, n0, _GAu, 0) - -GUARDRAIL_ID: StaticSchema = (3, n0, _GIu, 0) - -GUARDRAIL_ORIGIN: StaticSchema = ( - 14, - n0, - _GO, - 0, - (_REQUEST, _AE, _OE), - ((-1, {_sV: _REQUEST}), (-1, {_sV: _AE}), (-1, {_sV: _OE})), -) - -GUARDRAIL_ORIGIN_LIST: StaticSchema = ( - 16, - n0, - _GOL, - 0, - (_me,), - ((GUARDRAIL_ORIGIN, 0),), -) - -GUARDRAIL_OWNERSHIP: StaticSchema = ( - 14, - n0, - _GOu, - 0, - (_SELF, _CA), - ((-1, {_sV: _SELF}), (-1, {_sV: _CA})), -) - -APPLIED_GUARDRAIL_DETAILS: StaticSchema = ( - 18, - n0, - _AGD, - 0, - (_gIu, _gV, _gA, _gO, _gOu), - ( - (GUARDRAIL_ID, 0), - (GUARDRAIL_VERSION, 0), - (GUARDRAIL_ARN, 0), - (GUARDRAIL_ORIGIN_LIST, 0), - (GUARDRAIL_OWNERSHIP, 0), - ), -) - -AUTOMATED_REASONING_RULE_IDENTIFIER: StaticSchema = (3, n0, _ARRI, 0) - -GUARDRAIL_AUTOMATED_REASONING_POLICY_VERSION_ARN: StaticSchema = (3, n0, _GARPVA, 0) - -GUARDRAIL_AUTOMATED_REASONING_RULE: StaticSchema = ( - 18, - n0, - _GARR, - 0, - (_id, _pVA), - ( - (AUTOMATED_REASONING_RULE_IDENTIFIER, 0), - (GUARDRAIL_AUTOMATED_REASONING_POLICY_VERSION_ARN, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_RULE_LIST: StaticSchema = ( - 16, - n0, - _GARRL, - 0, - (_me,), - ((GUARDRAIL_AUTOMATED_REASONING_RULE, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LOGIC_CONTENT: StaticSchema = ( - 3, - n0, - _GARSLC, - 4, -) - -GUARDRAIL_AUTOMATED_REASONING_STATEMENT_NATURAL_LANGUAGE_CONTENT: StaticSchema = ( - 3, - n0, - _GARSNLC, - 4, -) - -GUARDRAIL_AUTOMATED_REASONING_STATEMENT: StaticSchema = ( - 18, - n0, - _GARS, - 0, - (_l, _nL), - ( - (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LOGIC_CONTENT, 0), - (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_NATURAL_LANGUAGE_CONTENT, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST: StaticSchema = ( - 16, - n0, - _GARSL, - 0, - (_me,), - ((GUARDRAIL_AUTOMATED_REASONING_STATEMENT, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING_TYPE: StaticSchema = ( - 14, - n0, - _GARLWT, - 0, - (_AF, _AT), - ((-1, {_sV: _AF}), (-1, {_sV: _AT})), -) - -GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING: StaticSchema = ( - 18, - n0, - _GARLW, - 0, - (_ty, _pr, _cl), - ( - (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING_TYPE, 0), - (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0), - (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_CONFIDENCE: StaticSchema = (10, n0, _GARTC, 0) - -GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE: StaticSchema = ( - 18, - n0, - _GARITR, - 0, - (_te,), - ((GUARDRAIL_AUTOMATED_REASONING_STATEMENT_NATURAL_LANGUAGE_CONTENT, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE_LIST: StaticSchema = ( - 16, - n0, - _GARITRL, - 0, - (_me,), - ((GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_TRANSLATION: StaticSchema = ( - 18, - n0, - _GART, - 0, - (_pr, _cl, _uP, _uC, _con), - ( - (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0), - (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0), - (GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE_LIST, 0), - (GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE_LIST, 0), - (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_CONFIDENCE, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_IMPOSSIBLE_FINDING: StaticSchema = ( - 18, - n0, - _GARIF, - 0, - (_tr, _cR, _lW), - ( - (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0), - (GUARDRAIL_AUTOMATED_REASONING_RULE_LIST, 0), - (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_INVALID_FINDING: StaticSchema = ( - 18, - n0, - _GARIFu, - 0, - (_tr, _cR, _lW), - ( - (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0), - (GUARDRAIL_AUTOMATED_REASONING_RULE_LIST, 0), - (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_NO_TRANSLATIONS_FINDING: StaticSchema = ( - 18, - n0, - _GARNTF, - 0, -) - -GUARDRAIL_AUTOMATED_REASONING_SCENARIO: StaticSchema = ( - 18, - n0, - _GARSu, - 0, - (_sta,), - ((GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_SATISFIABLE_FINDING: StaticSchema = ( - 18, - n0, - _GARSF, - 0, - (_tr, _cTS, _cFS, _lW), - ( - (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0), - (GUARDRAIL_AUTOMATED_REASONING_SCENARIO, 0), - (GUARDRAIL_AUTOMATED_REASONING_SCENARIO, 0), - (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_TOO_COMPLEX_FINDING: StaticSchema = (18, n0, _GARTCF, 0) - -GUARDRAIL_AUTOMATED_REASONING_DIFFERENCE_SCENARIO_LIST: StaticSchema = ( - 16, - n0, - _GARDSL, - 0, - (_me,), - ((GUARDRAIL_AUTOMATED_REASONING_SCENARIO, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_LIST: StaticSchema = ( - 16, - n0, - _GARTL, - 0, - (_me,), - ((GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION: StaticSchema = ( - 18, - n0, - _GARTO, - 0, - (_tra,), - ((GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_LIST, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION_LIST: StaticSchema = ( - 16, - n0, - _GARTOL, - 0, - (_me,), - ((GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_AMBIGUOUS_FINDING: StaticSchema = ( - 18, - n0, - _GARTAF, - 0, - (_o, _dS), - ( - (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION_LIST, 0), - (GUARDRAIL_AUTOMATED_REASONING_DIFFERENCE_SCENARIO_LIST, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_VALID_FINDING: StaticSchema = ( - 18, - n0, - _GARVF, - 0, - (_tr, _cTS, _sR, _lW), - ( - (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0), - (GUARDRAIL_AUTOMATED_REASONING_SCENARIO, 0), - (GUARDRAIL_AUTOMATED_REASONING_RULE_LIST, 0), - (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_FINDING: StaticSchema = ( - 19, - n0, - _GARF, - 0, - (_va, _in, _sa, _im, _tA, _tC, _nTo), - ( - (GUARDRAIL_AUTOMATED_REASONING_VALID_FINDING, 0), - (GUARDRAIL_AUTOMATED_REASONING_INVALID_FINDING, 0), - (GUARDRAIL_AUTOMATED_REASONING_SATISFIABLE_FINDING, 0), - (GUARDRAIL_AUTOMATED_REASONING_IMPOSSIBLE_FINDING, 0), - (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_AMBIGUOUS_FINDING, 0), - (GUARDRAIL_AUTOMATED_REASONING_TOO_COMPLEX_FINDING, 0), - (GUARDRAIL_AUTOMATED_REASONING_NO_TRANSLATIONS_FINDING, 0), - ), -) - -GUARDRAIL_AUTOMATED_REASONING_FINDING_LIST: StaticSchema = ( - 16, - n0, - _GARFL, - 0, - (_me,), - ((GUARDRAIL_AUTOMATED_REASONING_FINDING, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GARPA, - 0, - (_fi,), - ((GUARDRAIL_AUTOMATED_REASONING_FINDING_LIST, 0),), -) - -GUARDRAIL_CONTENT_POLICY_ACTION: StaticSchema = ( - 14, - n0, - _GCPA, - 0, - (_BLOCKED, _NONE), - ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_CONTENT_FILTER_CONFIDENCE: StaticSchema = ( - 14, - n0, - _GCFC, - 0, - (_NONE, _LOW, _MEDIUM, _HIGH), - ((-1, {_sV: _NONE}), (-1, {_sV: _LOW}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _HIGH})), -) - -GUARDRAIL_CONTENT_FILTER_STRENGTH: StaticSchema = ( - 14, - n0, - _GCFS, - 0, - (_NONE, _LOW, _MEDIUM, _HIGH), - ((-1, {_sV: _NONE}), (-1, {_sV: _LOW}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _HIGH})), -) - -GUARDRAIL_CONTENT_FILTER_TYPE: StaticSchema = ( - 14, - n0, - _GCFT, - 0, - (_INSULTS, _HATE, _SEXUAL, _VIOLENCE, _MISCONDUCT, _PA), - ( - (-1, {_sV: _INSULTS}), - (-1, {_sV: _HATE}), - (-1, {_sV: _SEXUAL}), - (-1, {_sV: _VIOLENCE}), - (-1, {_sV: _MISCONDUCT}), - (-1, {_sV: _PA}), - ), -) - -GUARDRAIL_CONTENT_FILTER: StaticSchema = ( - 18, - n0, - _GCF, - 0, - (_ty, _con, _fS, _a, _d), - ( - (GUARDRAIL_CONTENT_FILTER_TYPE, 1), - (GUARDRAIL_CONTENT_FILTER_CONFIDENCE, 1), - (GUARDRAIL_CONTENT_FILTER_STRENGTH, 0), - (GUARDRAIL_CONTENT_POLICY_ACTION, 1), - (2, 0), - ), -) - -GUARDRAIL_CONTENT_FILTER_LIST: StaticSchema = ( - 16, - n0, - _GCFL, - 0, - (_me,), - ((GUARDRAIL_CONTENT_FILTER, 0),), -) - -GUARDRAIL_CONTENT_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GCPAu, - 0, - (_fil,), - ((GUARDRAIL_CONTENT_FILTER_LIST, 1),), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ACTION: StaticSchema = ( - 14, - n0, - _GCGPA, - 0, - (_BLOCKED, _NONE), - ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE: StaticSchema = ( - 14, - n0, - _GCGFT, - 0, - (_GROUNDING, _RELEVANCE), - ((-1, {_sV: _GROUNDING}), (-1, {_sV: _RELEVANCE})), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER: StaticSchema = ( - 18, - n0, - _GCGF, - 0, - (_ty, _th, _sc, _a, _d), - ( - (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE, 1), - (10, 1), - (10, 1), - (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ACTION, 1), - (2, 0), - ), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS: StaticSchema = ( - 16, - n0, - _GCGFu, - 0, - (_me,), - ((GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER, 0),), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GCGPAu, - 0, - (_fil,), - ((GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS, 0),), -) - -IMAGES_GUARDED: StaticSchema = (7, n0, _IG, 0) - -IMAGES_TOTAL: StaticSchema = (7, n0, _IT, 0) - -GUARDRAIL_IMAGE_COVERAGE: StaticSchema = ( - 18, - n0, - _GIC, - 0, - (_g, _to), - ((IMAGES_GUARDED, 0), (IMAGES_TOTAL, 0)), -) - -TEXT_CHARACTERS_GUARDED: StaticSchema = (7, n0, _TCG, 0) - -TEXT_CHARACTERS_TOTAL: StaticSchema = (7, n0, _TCT, 0) - -GUARDRAIL_TEXT_CHARACTERS_COVERAGE: StaticSchema = ( - 18, - n0, - _GTCC, - 0, - (_g, _to), - ((TEXT_CHARACTERS_GUARDED, 0), (TEXT_CHARACTERS_TOTAL, 0)), -) - -GUARDRAIL_COVERAGE: StaticSchema = ( - 18, - n0, - _GCu, - 0, - (_tCe, _ima), - ((GUARDRAIL_TEXT_CHARACTERS_COVERAGE, 0), (GUARDRAIL_IMAGE_COVERAGE, 0)), -) - -GUARDRAIL_PROCESSING_LATENCY: StaticSchema = (8, n0, _GPL, 0) - -GUARDRAIL_AUTOMATED_REASONING_POLICIES_PROCESSED: StaticSchema = (7, n0, _GARPP, 0) - -GUARDRAIL_AUTOMATED_REASONING_POLICY_UNITS_PROCESSED: StaticSchema = (7, n0, _GARPUP, 0) - -GUARDRAIL_CONTENT_POLICY_IMAGE_UNITS_PROCESSED: StaticSchema = (7, n0, _GCPIUP, 0) - -GUARDRAIL_CONTENT_POLICY_UNITS_PROCESSED: StaticSchema = (7, n0, _GCPUP, 0) - -GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_UNITS_PROCESSED: StaticSchema = ( - 7, - n0, - _GCGPUP, - 0, -) - -GUARDRAIL_SENSITIVE_INFORMATION_POLICY_FREE_UNITS_PROCESSED: StaticSchema = ( - 7, - n0, - _GSIPFUP, - 0, -) - -GUARDRAIL_SENSITIVE_INFORMATION_POLICY_UNITS_PROCESSED: StaticSchema = ( - 7, - n0, - _GSIPUP, - 0, -) - -GUARDRAIL_TOPIC_POLICY_UNITS_PROCESSED: StaticSchema = (7, n0, _GTPUP, 0) - -GUARDRAIL_WORD_POLICY_UNITS_PROCESSED: StaticSchema = (7, n0, _GWPUP, 0) - -GUARDRAIL_USAGE: StaticSchema = ( - 18, - n0, - _GU, - 0, - (_tPU, _cPU, _wPU, _sIPU, _sIPFU, _cGPU, _cPIU, _aRPU, _aRP), - ( - (GUARDRAIL_TOPIC_POLICY_UNITS_PROCESSED, 1), - (GUARDRAIL_CONTENT_POLICY_UNITS_PROCESSED, 1), - (GUARDRAIL_WORD_POLICY_UNITS_PROCESSED, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_UNITS_PROCESSED, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_FREE_UNITS_PROCESSED, 1), - (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_UNITS_PROCESSED, 1), - (GUARDRAIL_CONTENT_POLICY_IMAGE_UNITS_PROCESSED, 0), - (GUARDRAIL_AUTOMATED_REASONING_POLICY_UNITS_PROCESSED, 0), - (GUARDRAIL_AUTOMATED_REASONING_POLICIES_PROCESSED, 0), - ), -) - -GUARDRAIL_INVOCATION_METRICS: StaticSchema = ( - 18, - n0, - _GIM, - 0, - (_gPL, _u, _gC), - ((GUARDRAIL_PROCESSING_LATENCY, 0), (GUARDRAIL_USAGE, 0), (GUARDRAIL_COVERAGE, 0)), -) - -GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION: StaticSchema = ( - 14, - n0, - _GSIPA, - 0, - (_ANONYMIZED, _BLOCKED, _NONE), - ((-1, {_sV: _ANONYMIZED}), (-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_PII_ENTITY_TYPE: StaticSchema = ( - 14, - n0, - _GPET, - 0, - ( - _ADDRESS, - _AGE, - _AAK, - _ASK, - _CHN, - _CSIN, - _CDCC, - _CDCE, - _CDCN, - _DI, - _EMAIL, - _IBAN, - _IA_, - _LP, - _MA, - _NAME, - _PASSWORD, - _PHONE, - _PIN, - _SC, - _UNHSN, - _UNIN, - _UUTRN, - _URL, - _USERNAME, - _UBAN, - _UBRN, - _UITIN, - _UPN, - _USSN, - _VIN, - ), - ( - (-1, {_sV: _ADDRESS}), - (-1, {_sV: _AGE}), - (-1, {_sV: _AAK}), - (-1, {_sV: _ASK}), - (-1, {_sV: _CHN}), - (-1, {_sV: _CSIN}), - (-1, {_sV: _CDCC}), - (-1, {_sV: _CDCE}), - (-1, {_sV: _CDCN}), - (-1, {_sV: _DI}), - (-1, {_sV: _EMAIL}), - (-1, {_sV: _IBAN}), - (-1, {_sV: _IA_}), - (-1, {_sV: _LP}), - (-1, {_sV: _MA}), - (-1, {_sV: _NAME}), - (-1, {_sV: _PASSWORD}), - (-1, {_sV: _PHONE}), - (-1, {_sV: _PIN}), - (-1, {_sV: _SC}), - (-1, {_sV: _UNHSN}), - (-1, {_sV: _UNIN}), - (-1, {_sV: _UUTRN}), - (-1, {_sV: _URL}), - (-1, {_sV: _USERNAME}), - (-1, {_sV: _UBAN}), - (-1, {_sV: _UBRN}), - (-1, {_sV: _UITIN}), - (-1, {_sV: _UPN}), - (-1, {_sV: _USSN}), - (-1, {_sV: _VIN}), - ), -) - -GUARDRAIL_PII_ENTITY_FILTER: StaticSchema = ( - 18, - n0, - _GPEF, - 0, - (_ma, _ty, _a, _d), - ( - (3, 1), - (GUARDRAIL_PII_ENTITY_TYPE, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION, 1), - (2, 0), - ), -) - -GUARDRAIL_PII_ENTITY_FILTER_LIST: StaticSchema = ( - 16, - n0, - _GPEFL, - 0, - (_me,), - ((GUARDRAIL_PII_ENTITY_FILTER, 0),), -) - -GUARDRAIL_REGEX_FILTER: StaticSchema = ( - 18, - n0, - _GRF, - 0, - (_n, _ma, _r, _a, _d), - ( - (3, 0), - (3, 0), - (3, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION, 1), - (2, 0), - ), -) - -GUARDRAIL_REGEX_FILTER_LIST: StaticSchema = ( - 16, - n0, - _GRFL, - 0, - (_me,), - ((GUARDRAIL_REGEX_FILTER, 0),), -) - -GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GSIPAu, - 0, - (_pE, _re), - ((GUARDRAIL_PII_ENTITY_FILTER_LIST, 1), (GUARDRAIL_REGEX_FILTER_LIST, 1)), -) - -GUARDRAIL_TOPIC_POLICY_ACTION: StaticSchema = ( - 14, - n0, - _GTPA, - 0, - (_BLOCKED, _NONE), - ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_TOPIC_TYPE: StaticSchema = (14, n0, _GTT, 0, (_DENY,), ((-1, {_sV: _DENY}),)) - -GUARDRAIL_TOPIC: StaticSchema = ( - 18, - n0, - _GT, - 0, - (_n, _ty, _a, _d), - ((3, 1), (GUARDRAIL_TOPIC_TYPE, 1), (GUARDRAIL_TOPIC_POLICY_ACTION, 1), (2, 0)), -) - -GUARDRAIL_TOPIC_LIST: StaticSchema = (16, n0, _GTL, 0, (_me,), ((GUARDRAIL_TOPIC, 0),)) - -GUARDRAIL_TOPIC_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GTPAu, - 0, - (_top,), - ((GUARDRAIL_TOPIC_LIST, 1),), -) - -GUARDRAIL_WORD_POLICY_ACTION: StaticSchema = ( - 14, - n0, - _GWPA, - 0, - (_BLOCKED, _NONE), - ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_CUSTOM_WORD: StaticSchema = ( - 18, - n0, - _GCW, - 0, - (_ma, _a, _d), - ((3, 1), (GUARDRAIL_WORD_POLICY_ACTION, 1), (2, 0)), -) - -GUARDRAIL_CUSTOM_WORD_LIST: StaticSchema = ( - 16, - n0, - _GCWL, - 0, - (_me,), - ((GUARDRAIL_CUSTOM_WORD, 0),), -) - -GUARDRAIL_MANAGED_WORD_TYPE: StaticSchema = ( - 14, - n0, - _GMWT, - 0, - (_PROFANITY,), - ((-1, {_sV: _PROFANITY}),), -) - -GUARDRAIL_MANAGED_WORD: StaticSchema = ( - 18, - n0, - _GMW, - 0, - (_ma, _ty, _a, _d), - ( - (3, 1), - (GUARDRAIL_MANAGED_WORD_TYPE, 1), - (GUARDRAIL_WORD_POLICY_ACTION, 1), - (2, 0), - ), -) - -GUARDRAIL_MANAGED_WORD_LIST: StaticSchema = ( - 16, - n0, - _GMWL, - 0, - (_me,), - ((GUARDRAIL_MANAGED_WORD, 0),), -) - -GUARDRAIL_WORD_POLICY_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GWPAu, - 0, - (_cW, _mWL), - ((GUARDRAIL_CUSTOM_WORD_LIST, 1), (GUARDRAIL_MANAGED_WORD_LIST, 1)), -) - -GUARDRAIL_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GAua, - 0, - (_tP, _cP, _wP, _sIP, _cGP, _aRPu, _iM, _aGD), - ( - (GUARDRAIL_TOPIC_POLICY_ASSESSMENT, 0), - (GUARDRAIL_CONTENT_POLICY_ASSESSMENT, 0), - (GUARDRAIL_WORD_POLICY_ASSESSMENT, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT, 0), - (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ASSESSMENT, 0), - (GUARDRAIL_AUTOMATED_REASONING_POLICY_ASSESSMENT, 0), - (GUARDRAIL_INVOCATION_METRICS, 0), - (APPLIED_GUARDRAIL_DETAILS, 0), - ), -) - -GUARDRAIL_ASSESSMENT_LIST: StaticSchema = ( - 16, - n0, - _GAL, - 0, - (_me,), - ((GUARDRAIL_ASSESSMENT, 0),), -) - -GUARDRAIL_OUTPUT_TEXT: StaticSchema = (3, n0, _GOT, 0) - -GUARDRAIL_OUTPUT_CONTENT: StaticSchema = ( - 18, - n0, - _GOC, - 0, - (_te,), - ((GUARDRAIL_OUTPUT_TEXT, 0),), -) - -GUARDRAIL_OUTPUT_CONTENT_LIST: StaticSchema = ( - 16, - n0, - _GOCL, - 0, - (_me,), - ((GUARDRAIL_OUTPUT_CONTENT, 0),), -) - -APPLY_GUARDRAIL_OUTPUT: StaticSchema = ( - 18, - n0, - _AGO, - {_sSI: _cAGRo, _smith: None}, - (_u, _a, _aR, _ou, _as, _gC), - ( - (GUARDRAIL_USAGE, 1), - (GUARDRAIL_ACTION, 1), - (3, 0), - (GUARDRAIL_OUTPUT_CONTENT_LIST, 1), - (GUARDRAIL_ASSESSMENT_LIST, 1), - (GUARDRAIL_COVERAGE, 0), - ), -) - -APPLY_GUARDRAIL: StaticOperationSchema = ( - 23, - n0, - _AG, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", - } - ) - }, - APPLY_GUARDRAIL_INPUT, - APPLY_GUARDRAIL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY: StaticSchema = ( - 14, - n0, - _GCCFC, - 0, - (_VIOLENCE, _HATE, _SEXUAL, _MISCONDUCT, _INSULTS), - ( - (-1, {_sV: _VIOLENCE}), - (-1, {_sV: _HATE}), - (-1, {_sV: _SEXUAL}), - (-1, {_sV: _MISCONDUCT}), - (-1, {_sV: _INSULTS}), - ), -) - -GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG: StaticSchema = ( - 18, - n0, - _GCCFCC, - 0, - (_ca,), - ((GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY, 1),), -) - -GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _GCCFCCL, - 0, - (_me,), - ((GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG, 0),), -) - -GUARDRAIL_CHECKS_CONTENT_FILTER_CONFIG: StaticSchema = ( - 18, - n0, - _GCCFCu, - 0, - (_cat,), - ((GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG_LIST, 1),), -) - -GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY: StaticSchema = ( - 14, - n0, - _GCPAC, - 0, - (_JAILBREAK, _PI, _PL), - ((-1, {_sV: _JAILBREAK}), (-1, {_sV: _PI}), (-1, {_sV: _PL})), -) - -GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG: StaticSchema = ( - 18, - n0, - _GCPACC, - 0, - (_ca,), - ((GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY, 1),), -) - -GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _GCPACCL, - 0, - (_me,), - ((GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG, 0),), -) - -GUARDRAIL_CHECKS_PROMPT_ATTACK_CONFIG: StaticSchema = ( - 18, - n0, - _GCPACu, - 0, - (_cat,), - ((GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG_LIST, 1),), -) - -GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_TYPE: StaticSchema = ( - 14, - n0, - _GCSIET, - 0, - ( - _ADDRESS, - _AGE, - _AAK, - _ASK, - _CHN, - _CSIN, - _CDCC, - _CDCE, - _CDCN, - _DI, - _EMAIL, - _IBAN, - _IA_, - _LP, - _MA, - _NAME, - _PASSWORD, - _PHONE, - _PIN, - _SC, - _UNHSN, - _UNIN, - _UUTRN, - _URL, - _USERNAME, - _UBAN, - _UBRN, - _UITIN, - _UPN, - _USSN, - _VIN, - ), - ( - (-1, {_sV: _ADDRESS}), - (-1, {_sV: _AGE}), - (-1, {_sV: _AAK}), - (-1, {_sV: _ASK}), - (-1, {_sV: _CHN}), - (-1, {_sV: _CSIN}), - (-1, {_sV: _CDCC}), - (-1, {_sV: _CDCE}), - (-1, {_sV: _CDCN}), - (-1, {_sV: _DI}), - (-1, {_sV: _EMAIL}), - (-1, {_sV: _IBAN}), - (-1, {_sV: _IA_}), - (-1, {_sV: _LP}), - (-1, {_sV: _MA}), - (-1, {_sV: _NAME}), - (-1, {_sV: _PASSWORD}), - (-1, {_sV: _PHONE}), - (-1, {_sV: _PIN}), - (-1, {_sV: _SC}), - (-1, {_sV: _UNHSN}), - (-1, {_sV: _UNIN}), - (-1, {_sV: _UUTRN}), - (-1, {_sV: _URL}), - (-1, {_sV: _USERNAME}), - (-1, {_sV: _UBAN}), - (-1, {_sV: _UBRN}), - (-1, {_sV: _UITIN}), - (-1, {_sV: _UPN}), - (-1, {_sV: _USSN}), - (-1, {_sV: _VIN}), - ), -) - -GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG: StaticSchema = ( - 18, - n0, - _GCSIEC, - 0, - (_ty,), - ((GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_TYPE, 1),), -) - -GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _GCSIECL, - 0, - (_me,), - ((GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG, 0),), -) - -GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_CONFIG: StaticSchema = ( - 18, - n0, - _GCSIC, - 0, - (_e,), - ((GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG_LIST, 1),), -) - -GUARDRAIL_CHECKS_CONFIG: StaticSchema = ( - 18, - n0, - _GCC, - 0, - (_cF, _pA, _sI), - ( - (GUARDRAIL_CHECKS_CONTENT_FILTER_CONFIG, 0), - (GUARDRAIL_CHECKS_PROMPT_ATTACK_CONFIG, 0), - (GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_CONFIG, 0), - ), -) - -GUARDRAIL_CHECKS_TEXT_CONTENT: StaticSchema = (3, n0, _GCTC, 4) - -GUARDRAIL_CHECKS_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _GCCB, - 0, - (_te,), - ((GUARDRAIL_CHECKS_TEXT_CONTENT, 0),), -) - -GUARDRAIL_CHECKS_CONTENT_BLOCK_LIST: StaticSchema = ( - 16, - n0, - _GCCBL, - 0, - (_me,), - ((GUARDRAIL_CHECKS_CONTENT_BLOCK, 0),), -) - -GUARDRAIL_CHECKS_ROLE: StaticSchema = ( - 14, - n0, - _GCR, - 0, - (_USER, _ASSISTANT, _SYSTEM), - ((-1, {_sV: _us}), (-1, {_sV: _ass}), (-1, {_sV: _sy})), -) - -GUARDRAIL_CHECKS_MESSAGE: StaticSchema = ( - 18, - n0, - _GCM, - 0, - (_ro, _co), - ((GUARDRAIL_CHECKS_ROLE, 1), (GUARDRAIL_CHECKS_CONTENT_BLOCK_LIST, 1)), -) - -GUARDRAIL_CHECKS_MESSAGE_LIST: StaticSchema = ( - 16, - n0, - _GCML, - 0, - (_me,), - ((GUARDRAIL_CHECKS_MESSAGE, 0),), -) - -INVOKE_GUARDRAIL_CHECKS_INPUT: StaticSchema = ( - 18, - n0, - _IGCI, - {_sSI: _cIGCR, _sm: None}, - (_mes, _ch), - ((GUARDRAIL_CHECKS_MESSAGE_LIST, 1), (GUARDRAIL_CHECKS_CONFIG, 1)), -) - -GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_ENTRY: StaticSchema = ( - 18, - n0, - _GCCFRE, - 0, - (_ca, _sS), - ((GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY, 1), (10, 1)), -) - -GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_LIST: StaticSchema = ( - 16, - n0, - _GCCFRL, - 0, - (_me,), - ((GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_ENTRY, 0),), -) - -GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT: StaticSchema = ( - 18, - n0, - _GCCFR, - 0, - (_res,), - ((GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_LIST, 1),), -) - -GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_ENTRY: StaticSchema = ( - 18, - n0, - _GCPARE, - 0, - (_ca, _sS), - ((GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY, 1), (10, 1)), -) - -GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_LIST: StaticSchema = ( - 16, - n0, - _GCPARL, - 0, - (_me,), - ((GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_ENTRY, 0),), -) - -GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT: StaticSchema = ( - 18, - n0, - _GCPAR, - 0, - (_res,), - ((GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_LIST, 1),), -) - -GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_ENTRY: StaticSchema = ( - 18, - n0, - _GCSIRE, - 0, - (_ty, _cS, _bOe, _eO, _mIe, _cI), - ( - (GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_TYPE, 1), - (10, 1), - (7, 1), - (7, 1), - (7, 1), - (7, 1), - ), -) - -GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_LIST: StaticSchema = ( - 16, - n0, - _GCSIRL, - 0, - (_me,), - ((GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_ENTRY, 0),), -) - -GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT: StaticSchema = ( - 18, - n0, - _GCSIR, - 0, - (_res, _tru), - ((GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_LIST, 1), (2, 0)), -) - -GUARDRAIL_CHECKS_RESULTS: StaticSchema = ( - 18, - n0, - _GCRu, - 0, - (_cF, _pA, _sI), - ( - (GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT, 0), - (GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT, 0), - (GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT, 0), - ), -) - -GUARDRAIL_CHECKS_CONTENT_FILTER_USAGE: StaticSchema = ( - 18, - n0, - _GCCFU, - 0, - (_tU,), - ((7, 1),), -) - -GUARDRAIL_CHECKS_PROMPT_ATTACK_USAGE: StaticSchema = ( - 18, - n0, - _GCPAU, - 0, - (_tU,), - ((7, 1),), -) - -GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_USAGE: StaticSchema = ( - 18, - n0, - _GCSIU, - 0, - (_tU,), - ((7, 1),), -) - -GUARDRAIL_CHECKS_USAGE_RESULTS: StaticSchema = ( - 18, - n0, - _GCUR, - 0, - (_cF, _pA, _sI), - ( - (GUARDRAIL_CHECKS_CONTENT_FILTER_USAGE, 0), - (GUARDRAIL_CHECKS_PROMPT_ATTACK_USAGE, 0), - (GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_USAGE, 0), - ), -) - -INVOKE_GUARDRAIL_CHECKS_OUTPUT: StaticSchema = ( - 18, - n0, - _IGCO, - {_sSI: _cIGCRo, _smith: None}, - (_res, _u), - ((GUARDRAIL_CHECKS_RESULTS, 1), (GUARDRAIL_CHECKS_USAGE_RESULTS, 1)), -) - -INVOKE_GUARDRAIL_CHECKS: StaticOperationSchema = ( - 23, - n0, - _IGC, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/guardrail-checks/invoke"} - ) - }, - INVOKE_GUARDRAIL_CHECKS_INPUT, - INVOKE_GUARDRAIL_CHECKS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GUARDRAIL_TRACE: StaticSchema = ( - 14, - n0, - _GTu, - 0, - (_ENABLED, _DISABLED, _EF), - ((-1, {_sV: _en}), (-1, {_sV: _di}), (-1, {_sV: _ef})), -) - -GUARDRAIL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _GCua, - 0, - (_gI, _gV, _trac), - ( - (GUARDRAIL_IDENTIFIER, {_smithya: _v_}), - (GUARDRAIL_VERSION, {_smithya: _v_}), - (GUARDRAIL_TRACE, {_smithya: _di}), - ), -) - -NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) - -NON_EMPTY_STRING_LIST: StaticSchema = ( - 16, - n0, - _NESL, - 0, - (_me,), - ((NON_EMPTY_STRING, 0),), -) - -INFERENCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IC, - 0, - (_mT, _tem, _tPo, _sSt), - ((7, 0), (9, 0), (9, 0), (NON_EMPTY_STRING_LIST, 0)), -) - -ERROR_BLOCK: StaticSchema = (18, n0, _EB, 4, (_m,), ((3, 0),)) - -AUDIO_FORMAT: StaticSchema = ( - 14, - n0, - _AFu, - 0, - ( - _MP, - _OPUS, - _WAV, - _AAC, - _FLAC, - _MP_, - _OGG, - _MKV, - _MKA, - _XA, - _MA_, - _MPEG, - _MPGA, - _PCM, - _WEBM, - ), - ( - (-1, {_sV: _mp}), - (-1, {_sV: _op}), - (-1, {_sV: _w}), - (-1, {_sV: _aa}), - (-1, {_sV: _fl}), - (-1, {_sV: _mp_}), - (-1, {_sV: _og}), - (-1, {_sV: _mk}), - (-1, {_sV: _mka}), - (-1, {_sV: _xa}), - (-1, {_sV: _ma_}), - (-1, {_sV: _mpe}), - (-1, {_sV: _mpg}), - (-1, {_sV: _pc}), - (-1, {_sV: _we}), - ), -) - -S3_LOCATION: StaticSchema = (18, n0, _SL, 0, (_ur, _bO), ((S3_URI, 1), (ACCOUNT_ID, 0))) - -AUDIO_SOURCE: StaticSchema = (19, n0, _AS, 4, (_b, _sLo), ((1, 0), (S3_LOCATION, 0))) - -AUDIO_BLOCK: StaticSchema = ( - 18, - n0, - _AB, - 0, - (_f, _so, _er), - ((AUDIO_FORMAT, 1), (AUDIO_SOURCE, 1), (ERROR_BLOCK, 0)), -) - -CACHE_TTL: StaticSchema = ( - 14, - n0, - _CTTL, - 0, - (_FM, _OH), - ((-1, {_sV: _m_}), (-1, {_sV: _h})), -) - -CACHE_POINT_TYPE: StaticSchema = (14, n0, _CPT, 0, (_DEFAULT,), ((-1, {_sV: _de}),)) - -CACHE_POINT_BLOCK: StaticSchema = ( - 18, - n0, - _CPB, - 0, - (_ty, _tt), - ((CACHE_POINT_TYPE, 1), (CACHE_TTL, 0)), -) - -DOCUMENT_CHAR_LOCATION: StaticSchema = ( - 18, - n0, - _DCL, - 0, - (_dI, _star, _end), - ((7, 0), (7, 0), (7, 0)), -) - -DOCUMENT_CHUNK_LOCATION: StaticSchema = ( - 18, - n0, - _DCLo, - 0, - (_dI, _star, _end), - ((7, 0), (7, 0), (7, 0)), -) - -DOCUMENT_PAGE_LOCATION: StaticSchema = ( - 18, - n0, - _DPL, - 0, - (_dI, _star, _end), - ((7, 0), (7, 0), (7, 0)), -) - -SEARCH_RESULT_LOCATION: StaticSchema = ( - 18, - n0, - _SRL, - 0, - (_sRI, _star, _end), - ((7, 0), (7, 0), (7, 0)), -) - -WEB_LOCATION: StaticSchema = (18, n0, _WL, 0, (_url, _do), ((3, 0), (3, 0))) - -CITATION_LOCATION: StaticSchema = ( - 19, - n0, - _CL, - 0, - (_web, _dC, _dP, _dCo, _sRL), - ( - (WEB_LOCATION, 0), - (DOCUMENT_CHAR_LOCATION, 0), - (DOCUMENT_PAGE_LOCATION, 0), - (DOCUMENT_CHUNK_LOCATION, 0), - (SEARCH_RESULT_LOCATION, 0), - ), -) - -CITATION_SOURCE_CONTENT: StaticSchema = (19, n0, _CSC, 0, (_te,), ((3, 0),)) - -CITATION_SOURCE_CONTENT_LIST: StaticSchema = ( - 16, - n0, - _CSCL, - 0, - (_me,), - ((CITATION_SOURCE_CONTENT, 0),), -) - -CITATION: StaticSchema = ( - 18, - n0, - _Ci, - 0, - (_ti, _so, _sC, _lo), - ((3, 0), (3, 0), (CITATION_SOURCE_CONTENT_LIST, 0), (CITATION_LOCATION, 0)), -) - -CITATIONS: StaticSchema = (16, n0, _Cit, 0, (_me,), ((CITATION, 0),)) - -CITATION_GENERATED_CONTENT: StaticSchema = (19, n0, _CGC, 0, (_te,), ((3, 0),)) - -CITATION_GENERATED_CONTENT_LIST: StaticSchema = ( - 16, - n0, - _CGCL, - 0, - (_me,), - ((CITATION_GENERATED_CONTENT, 0),), -) - -CITATIONS_CONTENT_BLOCK: StaticSchema = ( - 18, - n0, - _CCB, - 0, - (_co, _ci), - ((CITATION_GENERATED_CONTENT_LIST, 0), (CITATIONS, 0)), -) - -CITATIONS_CONFIG: StaticSchema = (18, n0, _CC, 0, (_en,), ((2, 1),)) - -DOCUMENT_FORMAT: StaticSchema = ( - 14, - n0, - _DF, - 0, - (_PDF, _CSV, _DOC, _DOCX, _XLS, _XLSX, _HTML, _TXT, _MD), - ( - (-1, {_sV: _pd}), - (-1, {_sV: _cs}), - (-1, {_sV: _doc}), - (-1, {_sV: _docx}), - (-1, {_sV: _x}), - (-1, {_sV: _xl}), - (-1, {_sV: _ht}), - (-1, {_sV: _tx}), - (-1, {_sV: _md}), - ), -) - -DOCUMENT_CONTENT_BLOCK: StaticSchema = (19, n0, _DCB, 0, (_te,), ((3, 0),)) - -DOCUMENT_CONTENT_BLOCKS: StaticSchema = ( - 16, - n0, - _DCBo, - 0, - (_me,), - ((DOCUMENT_CONTENT_BLOCK, 0),), -) - -DOCUMENT_SOURCE: StaticSchema = ( - 19, - n0, - _DS, - 0, - (_b, _sLo, _te, _co), - ((1, 0), (S3_LOCATION, 0), (3, 0), (DOCUMENT_CONTENT_BLOCKS, 0)), -) - -DOCUMENT_BLOCK: StaticSchema = ( - 18, - n0, - _DB, - 0, - (_f, _n, _so, _cont, _ci), - ( - (DOCUMENT_FORMAT, {_smithya: _tx}), - (3, 1), - (DOCUMENT_SOURCE, 1), - (3, 0), - (CITATIONS_CONFIG, 0), - ), -) - -GUARDRAIL_CONVERSE_IMAGE_FORMAT: StaticSchema = ( - 14, - n0, - _GCIF, - 0, - (_PNG, _JPEG), - ((-1, {_sV: _p}), (-1, {_sV: _j})), -) - -GUARDRAIL_CONVERSE_IMAGE_SOURCE: StaticSchema = (19, n0, _GCIS, 4, (_b,), ((1, 0),)) - -GUARDRAIL_CONVERSE_IMAGE_BLOCK: StaticSchema = ( - 18, - n0, - _GCIB, - 4, - (_f, _so), - ((GUARDRAIL_CONVERSE_IMAGE_FORMAT, 1), (GUARDRAIL_CONVERSE_IMAGE_SOURCE, 1)), -) - -GUARDRAIL_CONVERSE_CONTENT_QUALIFIER: StaticSchema = ( - 14, - n0, - _GCCQ, - 0, - (_GS, _QUERY, _GC), - ((-1, {_sV: _gs}), (-1, {_sV: _q}), (-1, {_sV: _gc})), -) - -GUARDRAIL_CONVERSE_CONTENT_QUALIFIER_LIST: StaticSchema = ( - 16, - n0, - _GCCQL, - 0, - (_me,), - ((GUARDRAIL_CONVERSE_CONTENT_QUALIFIER, 0),), -) - -GUARDRAIL_CONVERSE_TEXT_BLOCK: StaticSchema = ( - 18, - n0, - _GCTB, - 0, - (_te, _qu), - ((3, 1), (GUARDRAIL_CONVERSE_CONTENT_QUALIFIER_LIST, 0)), -) - -GUARDRAIL_CONVERSE_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _GCCBu, - 0, - (_te, _i), - ((GUARDRAIL_CONVERSE_TEXT_BLOCK, 0), (GUARDRAIL_CONVERSE_IMAGE_BLOCK, 0)), -) - -IMAGE_FORMAT: StaticSchema = ( - 14, - n0, - _IF, - 0, - (_PNG, _JPEG, _GIF_, _WEBP), - ((-1, {_sV: _p}), (-1, {_sV: _j}), (-1, {_sV: _gi}), (-1, {_sV: _webp})), -) - -IMAGE_SOURCE: StaticSchema = (19, n0, _IS, 4, (_b, _sLo), ((1, 0), (S3_LOCATION, 0))) - -IMAGE_BLOCK: StaticSchema = ( - 18, - n0, - _IB, - 0, - (_f, _so, _er), - ((IMAGE_FORMAT, 1), (IMAGE_SOURCE, 1), (ERROR_BLOCK, 0)), -) - -REASONING_TEXT_BLOCK: StaticSchema = (18, n0, _RTB, 4, (_te, _si), ((3, 1), (3, 0))) - -REASONING_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _RCB, - 4, - (_rT, _rC), - ((REASONING_TEXT_BLOCK, 0), (1, 0)), -) - -SEARCH_RESULT_CONTENT_BLOCK: StaticSchema = (18, n0, _SRCB, 0, (_te,), ((3, 1),)) - -SEARCH_RESULT_CONTENT_BLOCKS: StaticSchema = ( - 16, - n0, - _SRCBe, - 0, - (_me,), - ((SEARCH_RESULT_CONTENT_BLOCK, 0),), -) - -SEARCH_RESULT_BLOCK: StaticSchema = ( - 18, - n0, - _SRB, - 0, - (_so, _ti, _co, _ci), - ((3, 1), (3, 1), (SEARCH_RESULT_CONTENT_BLOCKS, 1), (CITATIONS_CONFIG, 0)), -) - -TOOL_REFERENCE: StaticSchema = ( - 18, - n0, - _TR, - 0, - (_ty, _n, _sN), - ((3, 0), (3, 0), (3, 0)), -) - -TOOL_ADDITION_BLOCK: StaticSchema = (18, n0, _TAB, 0, (_too,), ((TOOL_REFERENCE, 1),)) - -TOOL_REMOVAL_BLOCK: StaticSchema = (18, n0, _TRB, 0, (_too,), ((TOOL_REFERENCE, 1),)) - -VIDEO_FORMAT: StaticSchema = ( - 14, - n0, - _VF, - 0, - (_MKV, _MOV, _MP_, _WEBM, _FLV, _MPEG, _MPG, _WMV, _TG), - ( - (-1, {_sV: _mk}), - (-1, {_sV: _mo}), - (-1, {_sV: _mp_}), - (-1, {_sV: _we}), - (-1, {_sV: _flv}), - (-1, {_sV: _mpe}), - (-1, {_sV: _mpg_}), - (-1, {_sV: _wm}), - (-1, {_sV: _tg}), - ), -) - -VIDEO_SOURCE: StaticSchema = (19, n0, _VS, 0, (_b, _sLo), ((1, 0), (S3_LOCATION, 0))) - -VIDEO_BLOCK: StaticSchema = ( - 18, - n0, - _VB, - 0, - (_f, _so), - ((VIDEO_FORMAT, 1), (VIDEO_SOURCE, 1)), -) - -TOOL_RESULT_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _TRCB, - 0, - (_js, _te, _i, _docu, _vi, _sRe), - ( - (13, 0), - (3, 0), - (IMAGE_BLOCK, 0), - (DOCUMENT_BLOCK, 0), - (VIDEO_BLOCK, 0), - (SEARCH_RESULT_BLOCK, 0), - ), -) - -TOOL_RESULT_CONTENT_BLOCKS: StaticSchema = ( - 16, - n0, - _TRCBo, - 0, - (_me,), - ((TOOL_RESULT_CONTENT_BLOCK, 0),), -) - -TOOL_RESULT_STATUS: StaticSchema = ( - 14, - n0, - _TRS, - 0, - (_SUCCESS, _ERROR), - ((-1, {_sV: _su}), (-1, {_sV: _er})), -) - -TOOL_USE_ID: StaticSchema = (3, n0, _TUI, 0) - -TOOL_RESULT_BLOCK: StaticSchema = ( - 18, - n0, - _TRBo, - 0, - (_tUI, _co, _st, _ty), - ( - (TOOL_USE_ID, 1), - (TOOL_RESULT_CONTENT_BLOCKS, 1), - (TOOL_RESULT_STATUS, 0), - (3, 0), - ), -) - -TOOL_NAME: StaticSchema = (3, n0, _TN, 0) - -TOOL_USE_TYPE: StaticSchema = (14, n0, _TUT, 0, (_STU,), ((-1, {_sV: _stu}),)) - -TOOL_USE_BLOCK: StaticSchema = ( - 18, - n0, - _TUB, - 0, - (_tUI, _n, _inp, _ty), - ((TOOL_USE_ID, 1), (TOOL_NAME, 1), (13, 1), (TOOL_USE_TYPE, 0)), -) - -CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _CB, - 0, - (_te, _i, _docu, _vi, _au, _tUo, _tR, _gCu, _cPa, _rCe, _cC, _sRe, _tAo, _tRo), - ( - (3, 0), - (IMAGE_BLOCK, 0), - (DOCUMENT_BLOCK, 0), - (VIDEO_BLOCK, 0), - (AUDIO_BLOCK, 0), - (TOOL_USE_BLOCK, 0), - (TOOL_RESULT_BLOCK, 0), - (GUARDRAIL_CONVERSE_CONTENT_BLOCK, 0), - (CACHE_POINT_BLOCK, 0), - (REASONING_CONTENT_BLOCK, 0), - (CITATIONS_CONTENT_BLOCK, 0), - (SEARCH_RESULT_BLOCK, 0), - (TOOL_ADDITION_BLOCK, 0), - (TOOL_REMOVAL_BLOCK, 0), - ), -) - -CONTENT_BLOCKS: StaticSchema = (16, n0, _CBo, 0, (_me,), ((CONTENT_BLOCK, 0),)) - -CONVERSATION_ROLE: StaticSchema = ( - 14, - n0, - _CR, - 0, - (_USER, _ASSISTANT, _SYSTEM), - ((-1, {_sV: _us}), (-1, {_sV: _ass}), (-1, {_sV: _sy})), -) - -MESSAGE: StaticSchema = ( - 18, - n0, - _M, - 0, - (_ro, _co), - ((CONVERSATION_ROLE, 1), (CONTENT_BLOCKS, 1)), -) - -MESSAGES: StaticSchema = (16, n0, _Me, 0, (_me,), ((MESSAGE, 0),)) - -CONVERSATIONAL_MODEL_ID: StaticSchema = (3, n0, _CMI, 0) - -JSON_SCHEMA_DEFINITION: StaticSchema = ( - 18, - n0, - _JSD, - 0, - (_sch, _n, _des), - ((3, 1), (3, 0), (3, 0)), -) - -OUTPUT_FORMAT_STRUCTURE: StaticSchema = ( - 19, - n0, - _OFS, - 4, - (_jS,), - ((JSON_SCHEMA_DEFINITION, 0),), -) - -OUTPUT_FORMAT_TYPE: StaticSchema = (14, n0, _OFT, 0, (_JS,), ((-1, {_sV: _js_}),)) - -OUTPUT_FORMAT: StaticSchema = ( - 18, - n0, - _OF, - 0, - (_ty, _str), - ((OUTPUT_FORMAT_TYPE, 1), (OUTPUT_FORMAT_STRUCTURE, 1)), -) - -OUTPUT_CONFIG: StaticSchema = ( - 18, - n0, - _OC, - 0, - (_tF, _eff), - ((OUTPUT_FORMAT, 0), (3, 0)), -) - -PERFORMANCE_CONFIG_LATENCY: StaticSchema = ( - 14, - n0, - _PCL, - 0, - (_STANDARD, _OPTIMIZED), - ((-1, {_sV: _stan}), (-1, {_sV: _opt})), -) - -PERFORMANCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PC, - 0, - (_la,), - ((PERFORMANCE_CONFIG_LATENCY, {_smithya: _stan}),), -) - -PROMPT_VARIABLE_VALUES: StaticSchema = (19, n0, _PVV, 0, (_te,), ((3, 0),)) - -PROMPT_VARIABLE_MAP: StaticSchema = ( - 17, - n0, - _PVM, - 4, - (_k, _v), - ((3, 0), (PROMPT_VARIABLE_VALUES, 0)), -) - -REQUEST_METADATA: StaticSchema = (17, n0, _RM, 4, (_k, _v), ((3, 0), (3, 0))) - -SERVICE_TIER_TYPE: StaticSchema = ( - 14, - n0, - _STT, - 0, - (_PRIORITY, _DEFAULT, _FLEX, _RESERVED), - ((-1, {_sV: _pri}), (-1, {_sV: _de}), (-1, {_sV: _fle}), (-1, {_sV: _rese})), -) - -SERVICE_TIER: StaticSchema = (18, n0, _STe, 0, (_ty,), ((SERVICE_TIER_TYPE, 1),)) - -SYSTEM_CONTENT_BLOCK: StaticSchema = ( - 19, - n0, - _SCB, - 0, - (_te, _gCu, _cPa), - ( - (NON_EMPTY_STRING, 0), - (GUARDRAIL_CONVERSE_CONTENT_BLOCK, 0), - (CACHE_POINT_BLOCK, 0), - ), -) - -SYSTEM_CONTENT_BLOCKS: StaticSchema = ( - 16, - n0, - _SCBy, - 0, - (_me,), - ((SYSTEM_CONTENT_BLOCK, 0),), -) - -ANY_TOOL_CHOICE: StaticSchema = (18, n0, _ATC, 0) - -AUTO_TOOL_CHOICE: StaticSchema = (18, n0, _ATCu, 0) - -SPECIFIC_TOOL_CHOICE: StaticSchema = (18, n0, _STC, 0, (_n,), ((TOOL_NAME, 1),)) - -TOOL_CHOICE: StaticSchema = ( - 19, - n0, - _TC, - 0, - (_aut, _an, _too), - ((AUTO_TOOL_CHOICE, 0), (ANY_TOOL_CHOICE, 0), (SPECIFIC_TOOL_CHOICE, 0)), -) - -SYSTEM_TOOL: StaticSchema = (18, n0, _STy, 0, (_n,), ((TOOL_NAME, 1),)) - -TOOL_INPUT_SCHEMA: StaticSchema = (19, n0, _TIS, 0, (_js,), ((13, 0),)) - -TOOL_SPECIFICATION: StaticSchema = ( - 18, - n0, - _TS, - 0, - (_n, _des, _iS, _stri), - ((TOOL_NAME, 1), (NON_EMPTY_STRING, 0), (TOOL_INPUT_SCHEMA, 1), (2, 0)), -) - -TOOL: StaticSchema = ( - 19, - n0, - _To, - 0, - (_tS, _sTy, _cPa), - ((TOOL_SPECIFICATION, 0), (SYSTEM_TOOL, 0), (CACHE_POINT_BLOCK, 0)), -) - -TOOLS: StaticSchema = (16, n0, _Too, 0, (_me,), ((TOOL, 0),)) - -TOOL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TCo, - 0, - (_tool, _tCo), - ((TOOLS, 1), (TOOL_CHOICE, 0)), -) - -CONVERSE_INPUT: StaticSchema = ( - 18, - n0, - _CI, - {_sSI: _cCR, _sm: None}, - (_mI, _mes, _sy, _iC, _tCoo, _gCua, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC), - ( - (CONVERSATIONAL_MODEL_ID, 9), - (MESSAGES, 0), - (SYSTEM_CONTENT_BLOCKS, 0), - (INFERENCE_CONFIGURATION, 0), - (TOOL_CONFIGURATION, 0), - (GUARDRAIL_CONFIGURATION, 0), - (13, 0), - (PROMPT_VARIABLE_MAP, 0), - (ADDITIONAL_MODEL_RESPONSE_FIELD_PATHS, 0), - (REQUEST_METADATA, 0), - (PERFORMANCE_CONFIGURATION, 0), - (SERVICE_TIER, 0), - (OUTPUT_CONFIG, 0), - ), -) - -CONVERSE_METRICS: StaticSchema = (18, n0, _CM, 0, (_lM,), ((8, 1),)) - -CONVERSE_OUTPUT: StaticSchema = (19, n0, _CO, 0, (_m,), ((MESSAGE, 0),)) - -STOP_REASON: StaticSchema = ( - 14, - n0, - _SR, - 0, - (_ET, _TU, _MT, _SS, _GI_, _CF, _MMO, _MTU, _MCWE), - ( - (-1, {_sV: _et}), - (-1, {_sV: _tu}), - (-1, {_sV: _mt}), - (-1, {_sV: _ss}), - (-1, {_sV: _gi_}), - (-1, {_sV: _cf}), - (-1, {_sV: _mmo}), - (-1, {_sV: _mtu}), - (-1, {_sV: _mcwe}), - ), -) - -GUARDRAIL_ASSESSMENT_MAP: StaticSchema = ( - 17, - n0, - _GAM, - 0, - (_k, _v), - ((3, 0), (GUARDRAIL_ASSESSMENT, 0)), -) - -MODEL_OUTPUTS: StaticSchema = (16, n0, _MO, 0, (_me,), ((GUARDRAIL_OUTPUT_TEXT, 0),)) - -GUARDRAIL_ASSESSMENT_LIST_MAP: StaticSchema = ( - 17, - n0, - _GALM, - 0, - (_k, _v), - ((3, 0), (GUARDRAIL_ASSESSMENT_LIST, 0)), -) - -GUARDRAIL_TRACE_ASSESSMENT: StaticSchema = ( - 18, - n0, - _GTA, - 0, - (_mO, _iAn, _oA, _aR), - ( - (MODEL_OUTPUTS, 0), - (GUARDRAIL_ASSESSMENT_MAP, 0), - (GUARDRAIL_ASSESSMENT_LIST_MAP, 0), - (3, 0), - ), -) - -INVOKED_MODEL_ID: StaticSchema = (3, n0, _IMI, 0) - -PROMPT_ROUTER_TRACE: StaticSchema = (18, n0, _PRT, 0, (_iMI,), ((INVOKED_MODEL_ID, 0),)) - -CONVERSE_TRACE: StaticSchema = ( - 18, - n0, - _CT, - 0, - (_gu, _pR), - ((GUARDRAIL_TRACE_ASSESSMENT, 0), (PROMPT_ROUTER_TRACE, 0)), -) - -CACHE_DETAIL: StaticSchema = (18, n0, _CD, 0, (_tt, _iT), ((CACHE_TTL, 1), (7, 1))) - -CACHE_DETAILS_LIST: StaticSchema = (16, n0, _CDL, 0, (_me,), ((CACHE_DETAIL, 0),)) - -TOKEN_USAGE: StaticSchema = ( - 18, - n0, - _TUo, - 0, - (_iT, _oT, _tT, _cRIT, _cWIT, _cD), - ((7, 1), (7, 1), (7, 1), (7, 0), (7, 0), (CACHE_DETAILS_LIST, 0)), -) - -CONVERSE_OPERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _COO, - {_sSI: _cCRo, _smith: None}, - (_out, _sRt, _u, _met, _aMRFd, _trac, _pC, _sTe), - ( - (CONVERSE_OUTPUT, 1), - (STOP_REASON, 1), - (TOKEN_USAGE, 1), - (CONVERSE_METRICS, 1), - (13, 0), - (CONVERSE_TRACE, 0), - (PERFORMANCE_CONFIGURATION, 0), - (SERVICE_TIER, 0), - ), -) - -STATUS_CODE: StaticSchema = (7, n0, _SCt, 0) - -MODEL_ERROR_EXCEPTION: StaticSchema = ( - 18, - n0, - _MEE, - {_s: _c, _sE: 424}, - (_m, _oSC, _rN), - ((NON_BLANK_STRING, 0), (STATUS_CODE, 0), (NON_BLANK_STRING, 0)), -) - -MODEL_NOT_READY_EXCEPTION: StaticSchema = ( - 18, - n0, - _MNRE, - {_s: _c, _sE: 429}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -MODEL_TIMEOUT_EXCEPTION: StaticSchema = ( - 18, - n0, - _MTE, - {_s: _c, _sE: 408}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -CONVERSE: StaticOperationSchema = ( - 23, - n0, - _Co, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/model/{modelId}/converse"} - ) - }, - CONVERSE_INPUT, - CONVERSE_OPERATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - MODEL_ERROR_EXCEPTION, - MODEL_NOT_READY_EXCEPTION, - MODEL_TIMEOUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GUARDRAIL_STREAM_PROCESSING_MODE: StaticSchema = ( - 14, - n0, - _GSPM, - 0, - (_SYNC, _ASYNC), - ((-1, {_sV: _syn}), (-1, {_sV: _asy})), -) - -GUARDRAIL_STREAM_CONFIGURATION: StaticSchema = ( - 18, - n0, - _GSC, - 0, - (_gI, _gV, _trac, _sPM), - ( - (GUARDRAIL_IDENTIFIER, {_smithya: _v_}), - (GUARDRAIL_VERSION, {_smithya: _v_}), - (GUARDRAIL_TRACE, {_smithya: _di}), - (GUARDRAIL_STREAM_PROCESSING_MODE, {_smithya: _syn}), - ), -) - -CONVERSE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_sSI: _cCSR, _sm: None}, - (_mI, _mes, _sy, _iC, _tCoo, _gCua, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC), - ( - (CONVERSATIONAL_MODEL_ID, 9), - (MESSAGES, 0), - (SYSTEM_CONTENT_BLOCKS, 0), - (INFERENCE_CONFIGURATION, 0), - (TOOL_CONFIGURATION, 0), - (GUARDRAIL_STREAM_CONFIGURATION, 0), - (13, 0), - (PROMPT_VARIABLE_MAP, 0), - (ADDITIONAL_MODEL_RESPONSE_FIELD_PATHS, 0), - (REQUEST_METADATA, 0), - (PERFORMANCE_CONFIGURATION, 0), - (SERVICE_TIER, 0), - (OUTPUT_CONFIG, 0), - ), -) - -NON_NEGATIVE_INTEGER: StaticSchema = (7, n0, _NNI, 0) - -CITATION_SOURCE_CONTENT_DELTA: StaticSchema = (18, n0, _CSCD, 0, (_te,), ((3, 0),)) - -CITATION_SOURCE_CONTENT_LIST_DELTA: StaticSchema = ( - 16, - n0, - _CSCLD, - 0, - (_me,), - ((CITATION_SOURCE_CONTENT_DELTA, 0),), -) - -CITATIONS_DELTA: StaticSchema = ( - 18, - n0, - _CDi, - 0, - (_ti, _so, _sC, _lo), - ((3, 0), (3, 0), (CITATION_SOURCE_CONTENT_LIST_DELTA, 0), (CITATION_LOCATION, 0)), -) - -IMAGE_BLOCK_DELTA: StaticSchema = ( - 18, - n0, - _IBD, - 0, - (_so, _er), - ((IMAGE_SOURCE, 0), (ERROR_BLOCK, 0)), -) - -REASONING_CONTENT_BLOCK_DELTA: StaticSchema = ( - 19, - n0, - _RCBD, - 4, - (_te, _rC, _si), - ((3, 0), (1, 0), (3, 0)), -) - -TOOL_RESULT_BLOCK_DELTA: StaticSchema = ( - 19, - n0, - _TRBD, - 0, - (_te, _js), - ((3, 0), (13, 0)), -) - -TOOL_RESULT_BLOCKS_DELTA: StaticSchema = ( - 16, - n0, - _TRBDo, - 0, - (_me,), - ((TOOL_RESULT_BLOCK_DELTA, 0),), -) - -TOOL_USE_BLOCK_DELTA: StaticSchema = (18, n0, _TUBD, 0, (_inp,), ((3, 1),)) - -CONTENT_BLOCK_DELTA: StaticSchema = ( - 19, - n0, - _CBD, - 0, - (_te, _tUo, _tR, _rCe, _cit, _i), - ( - (3, 0), - (TOOL_USE_BLOCK_DELTA, 0), - (TOOL_RESULT_BLOCKS_DELTA, 0), - (REASONING_CONTENT_BLOCK_DELTA, 0), - (CITATIONS_DELTA, 0), - (IMAGE_BLOCK_DELTA, 0), - ), -) - -CONTENT_BLOCK_DELTA_EVENT: StaticSchema = ( - 18, - n0, - _CBDE, - 0, - (_del, _cBI), - ((CONTENT_BLOCK_DELTA, 1), (NON_NEGATIVE_INTEGER, 1)), -) - -IMAGE_BLOCK_START: StaticSchema = (18, n0, _IBS, 0, (_f,), ((IMAGE_FORMAT, 1),)) - -TOOL_RESULT_BLOCK_START: StaticSchema = ( - 18, - n0, - _TRBS, - 0, - (_tUI, _ty, _st), - ((TOOL_USE_ID, 1), (3, 0), (TOOL_RESULT_STATUS, 0)), -) - -TOOL_USE_BLOCK_START: StaticSchema = ( - 18, - n0, - _TUBS, - 0, - (_tUI, _n, _ty), - ((TOOL_USE_ID, 1), (TOOL_NAME, 1), (TOOL_USE_TYPE, 0)), -) - -CONTENT_BLOCK_START: StaticSchema = ( - 19, - n0, - _CBS, - 0, - (_tUo, _tR, _i), - ((TOOL_USE_BLOCK_START, 0), (TOOL_RESULT_BLOCK_START, 0), (IMAGE_BLOCK_START, 0)), -) - -CONTENT_BLOCK_START_EVENT: StaticSchema = ( - 18, - n0, - _CBSE, - 0, - (_star, _cBI), - ((CONTENT_BLOCK_START, 1), (NON_NEGATIVE_INTEGER, 1)), -) - -CONTENT_BLOCK_STOP_EVENT: StaticSchema = ( - 18, - n0, - _CBSEo, - 0, - (_cBI,), - ((NON_NEGATIVE_INTEGER, 1),), -) - -MESSAGE_START_EVENT: StaticSchema = (18, n0, _MSE, 0, (_ro,), ((CONVERSATION_ROLE, 1),)) - -MESSAGE_STOP_EVENT: StaticSchema = ( - 18, - n0, - _MSEe, - 0, - (_sRt, _aMRFd), - ((STOP_REASON, 1), (13, 0)), -) - -CONVERSE_STREAM_METRICS: StaticSchema = (18, n0, _CSM, 0, (_lM,), ((8, 1),)) - -CONVERSE_STREAM_TRACE: StaticSchema = ( - 18, - n0, - _CST, - 0, - (_gu, _pR), - ((GUARDRAIL_TRACE_ASSESSMENT, 0), (PROMPT_ROUTER_TRACE, 0)), -) - -CONVERSE_STREAM_METADATA_EVENT: StaticSchema = ( - 18, - n0, - _CSME, - 0, - (_u, _met, _trac, _pC, _sTe), - ( - (TOKEN_USAGE, 1), - (CONVERSE_STREAM_METRICS, 1), - (CONVERSE_STREAM_TRACE, 0), - (PERFORMANCE_CONFIGURATION, 0), - (SERVICE_TIER, 0), - ), -) - -MODEL_STREAM_ERROR_EXCEPTION: StaticSchema = ( - 18, - n0, - _MSEE, - {_s: _c, _sE: 424}, - (_m, _oSC, _oM), - ((NON_BLANK_STRING, 0), (STATUS_CODE, 0), (NON_BLANK_STRING, 0)), -) - -CONVERSE_STREAM_OUTPUT: StaticSchema = ( - 19, - n0, - _CSO, - {_smithyap: None}, - (_mS, _cBS, _cBD, _cBSo, _mSe, _meta, _iSE, _mSEE, _vE, _tE, _sUE), - ( - (MESSAGE_START_EVENT, 0), - (CONTENT_BLOCK_START_EVENT, 0), - (CONTENT_BLOCK_DELTA_EVENT, 0), - (CONTENT_BLOCK_STOP_EVENT, 0), - (MESSAGE_STOP_EVENT, 0), - (CONVERSE_STREAM_METADATA_EVENT, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (MODEL_STREAM_ERROR_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (SERVICE_UNAVAILABLE_EXCEPTION, 0), - ), -) - -CONVERSE_STREAM_OPERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSOO, - {_sSI: _cCSRo, _smith: None}, - (_stre,), - ((CONVERSE_STREAM_OUTPUT, 16),), -) - -CONVERSE_STREAM: StaticOperationSchema = ( - 23, - n0, - _CS, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/model/{modelId}/converse-stream"} - ) - }, - CONVERSE_STREAM_INPUT, - CONVERSE_STREAM_OPERATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - MODEL_ERROR_EXCEPTION, - MODEL_NOT_READY_EXCEPTION, - MODEL_TIMEOUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MIME_TYPE: StaticSchema = (3, n0, _MTi, 0) - -BODY: StaticSchema = (1, n0, _B, 4) - -INVOKE_MODEL_IDENTIFIER: StaticSchema = (3, n0, _IMIn, 0) - -REQUEST_METADATA_JSON: StaticSchema = (3, n0, _RMJ, 4) - -TRACE: StaticSchema = ( - 14, - n0, - _Tr, - 0, - (_ENABLED, _DISABLED, _EF), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _EF})), -) - -INVOKE_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _IMInv, - {_sSI: _cIMR, _sm: None}, - (_bo, _cT, _ac, _mI, _trac, _gI, _gV, _pCL, _sTe, _rM), - ( - (BODY, 16), - (MIME_TYPE, {_sH: _CT_}), - (MIME_TYPE, {_sH: _Ac}), - (INVOKE_MODEL_IDENTIFIER, 9), - (TRACE, {_sH: _XABT}), - (GUARDRAIL_IDENTIFIER, {_sH: _XABG}), - (GUARDRAIL_VERSION, {_sH: _XABG_}), - (PERFORMANCE_CONFIG_LATENCY, {_smithya: _stan, _sH: _XABPL}), - (SERVICE_TIER_TYPE, {_sH: _XABST}), - (REQUEST_METADATA_JSON, {_sH: _XABRM}), - ), -) - -INVOKE_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _IMO, - {_sSI: _cIMRo, _smith: None}, - (_bo, _cT, _pCL, _sTe), - ( - (BODY, 17), - (MIME_TYPE, {_sH: _CT_, _smi: None}), - (PERFORMANCE_CONFIG_LATENCY, {_sH: _XABPL}), - (SERVICE_TIER_TYPE, {_sH: _XABST}), - ), -) - -INVOKE_MODEL: StaticOperationSchema = ( - 23, - n0, - _IM, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/model/{modelId}/invoke"} - ) - }, - INVOKE_MODEL_INPUT, - INVOKE_MODEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - MODEL_ERROR_EXCEPTION, - MODEL_NOT_READY_EXCEPTION, - MODEL_TIMEOUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PART_BODY: StaticSchema = (1, n0, _PB, 4) - -BIDIRECTIONAL_INPUT_PAYLOAD_PART: StaticSchema = ( - 18, - n0, - _BIPP, - 4, - (_b,), - ((PART_BODY, 0),), -) - -INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_INPUT: StaticSchema = ( - 19, - n0, - _IMWBSI, - {_smithyap: None}, - (_chu,), - ((BIDIRECTIONAL_INPUT_PAYLOAD_PART, 0),), -) - -INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_INPUT: StaticSchema = ( - 18, - n0, - _IMWBSOI, - {_sSI: _cIMWBSR, _sm: None}, - (_mI, _bo), - ((INVOKE_MODEL_IDENTIFIER, 9), (INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_INPUT, 17)), -) - -BIDIRECTIONAL_OUTPUT_PAYLOAD_PART: StaticSchema = ( - 18, - n0, - _BOPP, - 4, - (_b,), - ((PART_BODY, 0),), -) - -INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OUTPUT: StaticSchema = ( - 19, - n0, - _IMWBSO, - {_smithyap: None}, - (_chu, _iSE, _mSEE, _vE, _tE, _mTE, _sUE), - ( - (BIDIRECTIONAL_OUTPUT_PAYLOAD_PART, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (MODEL_STREAM_ERROR_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (MODEL_TIMEOUT_EXCEPTION, 0), - (SERVICE_UNAVAILABLE_EXCEPTION, 0), - ), -) - -INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _IMWBSOO, - {_sSI: _cIMWBSRo, _smith: None}, - (_bo,), - ((INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OUTPUT, 17),), -) - -INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM: StaticOperationSchema = ( - 23, - n0, - _IMWBS, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/model/{modelId}/invoke-with-bidirectional-stream", - } - ) - }, - INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_INPUT, - INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - MODEL_ERROR_EXCEPTION, - MODEL_NOT_READY_EXCEPTION, - MODEL_STREAM_ERROR_EXCEPTION, - MODEL_TIMEOUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INVOKE_MODEL_WITH_RESPONSE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _IMWRSI, - {_sSI: _cIMWRSR, _sm: None}, - (_bo, _cT, _ac, _mI, _trac, _gI, _gV, _pCL, _sTe, _rM), - ( - (BODY, 16), - (MIME_TYPE, {_sH: _CT_}), - (MIME_TYPE, {_sH: _XABA}), - (INVOKE_MODEL_IDENTIFIER, 9), - (TRACE, {_sH: _XABT}), - (GUARDRAIL_IDENTIFIER, {_sH: _XABG}), - (GUARDRAIL_VERSION, {_sH: _XABG_}), - (PERFORMANCE_CONFIG_LATENCY, {_smithya: _stan, _sH: _XABPL}), - (SERVICE_TIER_TYPE, {_sH: _XABST}), - (REQUEST_METADATA_JSON, {_sH: _XABRM}), - ), -) - -PAYLOAD_PART: StaticSchema = (18, n0, _PP, 4, (_b,), ((PART_BODY, 0),)) - -RESPONSE_STREAM: StaticSchema = ( - 19, - n0, - _RS, - {_smithyap: None}, - (_chu, _iSE, _mSEE, _vE, _tE, _mTE, _sUE), - ( - (PAYLOAD_PART, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (MODEL_STREAM_ERROR_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (MODEL_TIMEOUT_EXCEPTION, 0), - (SERVICE_UNAVAILABLE_EXCEPTION, 0), - ), -) - -INVOKE_MODEL_WITH_RESPONSE_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _IMWRSO, - {_sSI: _cIMWRSRo, _smith: None}, - (_bo, _cT, _pCL, _sTe), - ( - (RESPONSE_STREAM, 17), - (MIME_TYPE, {_sH: _XABCT, _smi: None}), - (PERFORMANCE_CONFIG_LATENCY, {_sH: _XABPL}), - (SERVICE_TIER_TYPE, {_sH: _XABST}), - ), -) - -INVOKE_MODEL_WITH_RESPONSE_STREAM: StaticOperationSchema = ( - 23, - n0, - _IMWRS, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/model/{modelId}/invoke-with-response-stream", - } - ) - }, - INVOKE_MODEL_WITH_RESPONSE_STREAM_INPUT, - INVOKE_MODEL_WITH_RESPONSE_STREAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - MODEL_ERROR_EXCEPTION, - MODEL_NOT_READY_EXCEPTION, - MODEL_STREAM_ERROR_EXCEPTION, - MODEL_TIMEOUT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONVERSE_TOKENS_REQUEST: StaticSchema = ( - 18, - n0, - _CTR, - 0, - (_mes, _sy, _tCoo, _aMRF), - ((MESSAGES, 0), (SYSTEM_CONTENT_BLOCKS, 0), (TOOL_CONFIGURATION, 0), (13, 0)), -) - -INVOKE_MODEL_TOKENS_REQUEST: StaticSchema = (18, n0, _IMTR, 0, (_bo,), ((BODY, 1),)) - -COUNT_TOKENS_INPUT: StaticSchema = ( - 19, - n0, - _CTI, - 0, - (_iMn, _conv), - ((INVOKE_MODEL_TOKENS_REQUEST, 0), (CONVERSE_TOKENS_REQUEST, 0)), -) - -FOUNDATION_MODEL_VERSION_IDENTIFIER: StaticSchema = (3, n0, _FMVI, 0) - -COUNT_TOKENS_OPERATION_INPUT: StaticSchema = ( - 18, - n0, - _CTOI, - {_sSI: _cCTR, _sm: None}, - (_mI, _inp), - ((FOUNDATION_MODEL_VERSION_IDENTIFIER, 9), (COUNT_TOKENS_INPUT, 1)), -) - -COUNT_TOKENS_OUTPUT: StaticSchema = ( - 18, - n0, - _CTO, - {_sSI: _cCTRo, _smith: None}, - (_iT,), - ((7, 1),), -) - -COUNT_TOKENS: StaticOperationSchema = ( - 23, - n0, - _CTo, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/model/{modelId}/count-tokens"} - ) - }, - COUNT_TOKENS_OPERATION_INPUT, - COUNT_TOKENS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AMAZON_BEDROCK_FRONTEND_SERVICE: StaticSchema = ( - 21, - n0, - _ABFS, - { - _aw: MappingProxyType({"name": "bedrock"}), - _aws: MappingProxyType( - { - "sdkId": "Bedrock Runtime", - "endpointPrefix": "bedrock-runtime", - "cloudTrailEventSource": "bedrock.amazonaws.com", - } - ), - _aJ: MappingProxyType( - {"http": ("h2", "http/1.1"), "eventStreamHttp": ("h2", "http/1.1")} - ), - _sBA: None, - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "NON_BLANK_STRING", + "ACCESS_DENIED_EXCEPTION", + "ACCOUNT_ID", + "ADDITIONAL_MODEL_RESPONSE_FIELD_PATHS", + "INVOCATION_ARN", + "GET_ASYNC_INVOKE_INPUT", + "GET_ASYNC_INVOKE_OUTPUT", + "GET_ASYNC_INVOKE", + "ASYNC_INVOKE_IDEMPOTENCY_TOKEN", + "TIMESTAMP", + "ASYNC_INVOKE_MESSAGE", + "ASYNC_INVOKE_ARN", + "KMS_KEY_ID", + "S3_URI", + "ASYNC_INVOKE_S3_OUTPUT_DATA_CONFIG", + "ASYNC_INVOKE_OUTPUT_DATA_CONFIG", + "ASYNC_INVOKE_STATUS", + "INTERNAL_SERVER_EXCEPTION", + "THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION", + "MAX_RESULTS", + "PAGINATION_TOKEN", + "SORT_ASYNC_INVOCATION_BY", + "SORT_ORDER", + "LIST_ASYNC_INVOKES_INPUT", + "LIST_ASYNC_INVOKES_OUTPUT", + "LIST_ASYNC_INVOKES", + "ASYNC_INVOKE_SUMMARY", + "ASYNC_INVOKE_SUMMARIES", + "CONFLICT_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "SERVICE_UNAVAILABLE_EXCEPTION", + "ASYNC_INVOKE_IDENTIFIER", + "MODEL_INPUT_PAYLOAD", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAG_LIST", + "START_ASYNC_INVOKE_INPUT", + "START_ASYNC_INVOKE_OUTPUT", + "START_ASYNC_INVOKE", + "GUARDRAIL_IMAGE_FORMAT", + "GUARDRAIL_IMAGE_SOURCE", + "GUARDRAIL_IMAGE_BLOCK", + "GUARDRAIL_CONTENT_QUALIFIER", + "GUARDRAIL_CONTENT_QUALIFIER_LIST", + "GUARDRAIL_TEXT_BLOCK", + "GUARDRAIL_CONTENT_BLOCK", + "GUARDRAIL_CONTENT_BLOCK_LIST", + "GUARDRAIL_IDENTIFIER", + "GUARDRAIL_VERSION", + "GUARDRAIL_OUTPUT_SCOPE", + "GUARDRAIL_CONTENT_SOURCE", + "APPLY_GUARDRAIL_INPUT", + "APPLY_GUARDRAIL_OUTPUT", + "APPLY_GUARDRAIL", + "GUARDRAIL_ACTION", + "GUARDRAIL_ARN", + "GUARDRAIL_ID", + "GUARDRAIL_ORIGIN", + "GUARDRAIL_ORIGIN_LIST", + "GUARDRAIL_OWNERSHIP", + "APPLIED_GUARDRAIL_DETAILS", + "AUTOMATED_REASONING_RULE_IDENTIFIER", + "GUARDRAIL_AUTOMATED_REASONING_POLICY_VERSION_ARN", + "GUARDRAIL_AUTOMATED_REASONING_RULE", + "GUARDRAIL_AUTOMATED_REASONING_RULE_LIST", + "GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LOGIC_CONTENT", + "GUARDRAIL_AUTOMATED_REASONING_STATEMENT_NATURAL_LANGUAGE_CONTENT", + "GUARDRAIL_AUTOMATED_REASONING_STATEMENT", + "GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST", + "GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING_TYPE", + "GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING", + "GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_CONFIDENCE", + "GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE", + "GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE_LIST", + "GUARDRAIL_AUTOMATED_REASONING_TRANSLATION", + "GUARDRAIL_AUTOMATED_REASONING_IMPOSSIBLE_FINDING", + "GUARDRAIL_AUTOMATED_REASONING_INVALID_FINDING", + "GUARDRAIL_AUTOMATED_REASONING_NO_TRANSLATIONS_FINDING", + "GUARDRAIL_AUTOMATED_REASONING_SCENARIO", + "GUARDRAIL_AUTOMATED_REASONING_SATISFIABLE_FINDING", + "GUARDRAIL_AUTOMATED_REASONING_TOO_COMPLEX_FINDING", + "GUARDRAIL_AUTOMATED_REASONING_DIFFERENCE_SCENARIO_LIST", + "GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_LIST", + "GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION", + "GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION_LIST", + "GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_AMBIGUOUS_FINDING", + "GUARDRAIL_AUTOMATED_REASONING_VALID_FINDING", + "GUARDRAIL_AUTOMATED_REASONING_FINDING", + "GUARDRAIL_AUTOMATED_REASONING_FINDING_LIST", + "GUARDRAIL_AUTOMATED_REASONING_POLICY_ASSESSMENT", + "GUARDRAIL_CONTENT_POLICY_ACTION", + "GUARDRAIL_CONTENT_FILTER_CONFIDENCE", + "GUARDRAIL_CONTENT_FILTER_STRENGTH", + "GUARDRAIL_CONTENT_FILTER_TYPE", + ), + ( + "GUARDRAIL_CONTENT_FILTER", + "GUARDRAIL_CONTENT_FILTER_LIST", + "GUARDRAIL_CONTENT_POLICY_ASSESSMENT", + "GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ACTION", + "GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE", + "GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER", + "GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS", + "GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ASSESSMENT", + "IMAGES_GUARDED", + "IMAGES_TOTAL", + "GUARDRAIL_IMAGE_COVERAGE", + "TEXT_CHARACTERS_GUARDED", + "TEXT_CHARACTERS_TOTAL", + "GUARDRAIL_TEXT_CHARACTERS_COVERAGE", + "GUARDRAIL_COVERAGE", + "GUARDRAIL_PROCESSING_LATENCY", + "GUARDRAIL_AUTOMATED_REASONING_POLICIES_PROCESSED", + "GUARDRAIL_AUTOMATED_REASONING_POLICY_UNITS_PROCESSED", + "GUARDRAIL_CONTENT_POLICY_IMAGE_UNITS_PROCESSED", + "GUARDRAIL_CONTENT_POLICY_UNITS_PROCESSED", + "GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_UNITS_PROCESSED", + "GUARDRAIL_SENSITIVE_INFORMATION_POLICY_FREE_UNITS_PROCESSED", + "GUARDRAIL_SENSITIVE_INFORMATION_POLICY_UNITS_PROCESSED", + "GUARDRAIL_TOPIC_POLICY_UNITS_PROCESSED", + "GUARDRAIL_WORD_POLICY_UNITS_PROCESSED", + "GUARDRAIL_USAGE", + "GUARDRAIL_INVOCATION_METRICS", + "GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION", + "GUARDRAIL_PII_ENTITY_TYPE", + "GUARDRAIL_PII_ENTITY_FILTER", + "GUARDRAIL_PII_ENTITY_FILTER_LIST", + "GUARDRAIL_REGEX_FILTER", + "GUARDRAIL_REGEX_FILTER_LIST", + "GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT", + "GUARDRAIL_TOPIC_POLICY_ACTION", + "GUARDRAIL_TOPIC_TYPE", + "GUARDRAIL_TOPIC", + "GUARDRAIL_TOPIC_LIST", + "GUARDRAIL_TOPIC_POLICY_ASSESSMENT", + "GUARDRAIL_WORD_POLICY_ACTION", + "GUARDRAIL_CUSTOM_WORD", + "GUARDRAIL_CUSTOM_WORD_LIST", + "GUARDRAIL_MANAGED_WORD_TYPE", + "GUARDRAIL_MANAGED_WORD", + "GUARDRAIL_MANAGED_WORD_LIST", + "GUARDRAIL_WORD_POLICY_ASSESSMENT", + "GUARDRAIL_ASSESSMENT", + "GUARDRAIL_ASSESSMENT_LIST", + "GUARDRAIL_OUTPUT_TEXT", + "GUARDRAIL_OUTPUT_CONTENT", + "GUARDRAIL_OUTPUT_CONTENT_LIST", + "GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY", + "GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG", + "GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG_LIST", + "GUARDRAIL_CHECKS_CONTENT_FILTER_CONFIG", + "GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY", + "GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG", + "GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG_LIST", + "GUARDRAIL_CHECKS_PROMPT_ATTACK_CONFIG", + "GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_TYPE", + "GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG", + "GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG_LIST", + "GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_CONFIG", + "GUARDRAIL_CHECKS_CONFIG", + "GUARDRAIL_CHECKS_TEXT_CONTENT", + "GUARDRAIL_CHECKS_CONTENT_BLOCK", + "GUARDRAIL_CHECKS_CONTENT_BLOCK_LIST", + "GUARDRAIL_CHECKS_ROLE", + "GUARDRAIL_CHECKS_MESSAGE", + "GUARDRAIL_CHECKS_MESSAGE_LIST", + "INVOKE_GUARDRAIL_CHECKS_INPUT", + "INVOKE_GUARDRAIL_CHECKS_OUTPUT", + "INVOKE_GUARDRAIL_CHECKS", + "GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_ENTRY", + "GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_LIST", + "GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT", + "GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_ENTRY", + "GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_LIST", + "GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT", + "GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_ENTRY", + "GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_LIST", + ), + ( + "GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT", + "GUARDRAIL_CHECKS_RESULTS", + "GUARDRAIL_CHECKS_CONTENT_FILTER_USAGE", + "GUARDRAIL_CHECKS_PROMPT_ATTACK_USAGE", + "GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_USAGE", + "GUARDRAIL_CHECKS_USAGE_RESULTS", + "GUARDRAIL_TRACE", + "GUARDRAIL_CONFIGURATION", + "NON_EMPTY_STRING", + "NON_EMPTY_STRING_LIST", + "INFERENCE_CONFIGURATION", + "ERROR_BLOCK", + "AUDIO_FORMAT", + "S3_LOCATION", + "AUDIO_SOURCE", + "AUDIO_BLOCK", + "CACHE_TTL", + "CACHE_POINT_TYPE", + "CACHE_POINT_BLOCK", + "DOCUMENT_CHAR_LOCATION", + "DOCUMENT_CHUNK_LOCATION", + "DOCUMENT_PAGE_LOCATION", + "SEARCH_RESULT_LOCATION", + "WEB_LOCATION", + "CITATION_LOCATION", + "CITATION_SOURCE_CONTENT", + "CITATION_SOURCE_CONTENT_LIST", + "CITATION", + "CITATIONS", + "CITATION_GENERATED_CONTENT", + "CITATION_GENERATED_CONTENT_LIST", + "CITATIONS_CONTENT_BLOCK", + "CITATIONS_CONFIG", + "DOCUMENT_FORMAT", + "DOCUMENT_CONTENT_BLOCK", + "DOCUMENT_CONTENT_BLOCKS", + "DOCUMENT_SOURCE", + "DOCUMENT_BLOCK", + "GUARDRAIL_CONVERSE_IMAGE_FORMAT", + "GUARDRAIL_CONVERSE_IMAGE_SOURCE", + "GUARDRAIL_CONVERSE_IMAGE_BLOCK", + "GUARDRAIL_CONVERSE_CONTENT_QUALIFIER", + "GUARDRAIL_CONVERSE_CONTENT_QUALIFIER_LIST", + "GUARDRAIL_CONVERSE_TEXT_BLOCK", + "GUARDRAIL_CONVERSE_CONTENT_BLOCK", + "IMAGE_FORMAT", + "IMAGE_SOURCE", + "IMAGE_BLOCK", + "REASONING_TEXT_BLOCK", + "REASONING_CONTENT_BLOCK", + "SEARCH_RESULT_CONTENT_BLOCK", + "SEARCH_RESULT_CONTENT_BLOCKS", + "SEARCH_RESULT_BLOCK", + "TOOL_REFERENCE", + "TOOL_ADDITION_BLOCK", + "TOOL_REMOVAL_BLOCK", + "VIDEO_FORMAT", + "VIDEO_SOURCE", + "VIDEO_BLOCK", + "TOOL_RESULT_CONTENT_BLOCK", + "TOOL_RESULT_CONTENT_BLOCKS", + "TOOL_RESULT_STATUS", + "TOOL_USE_ID", + "TOOL_RESULT_BLOCK", + "TOOL_NAME", + "TOOL_USE_TYPE", + "TOOL_USE_BLOCK", + "CONTENT_BLOCK", + "CONTENT_BLOCKS", + "CONVERSATION_ROLE", + "MESSAGE", + "MESSAGES", + "CONVERSATIONAL_MODEL_ID", + "JSON_SCHEMA_DEFINITION", + "OUTPUT_FORMAT_STRUCTURE", + "OUTPUT_FORMAT_TYPE", + "OUTPUT_FORMAT", + "OUTPUT_CONFIG", + "PERFORMANCE_CONFIG_LATENCY", + "PERFORMANCE_CONFIGURATION", + "PROMPT_VARIABLE_VALUES", + "PROMPT_VARIABLE_MAP", + "REQUEST_METADATA", + "SERVICE_TIER_TYPE", + "SERVICE_TIER", + "SYSTEM_CONTENT_BLOCK", + "SYSTEM_CONTENT_BLOCKS", + "ANY_TOOL_CHOICE", + "AUTO_TOOL_CHOICE", + "SPECIFIC_TOOL_CHOICE", + "TOOL_CHOICE", + "SYSTEM_TOOL", + "TOOL_INPUT_SCHEMA", + "TOOL_SPECIFICATION", + "TOOL", + "TOOLS", + "TOOL_CONFIGURATION", + ), + ( + "CONVERSE_INPUT", + "CONVERSE_OPERATION_OUTPUT", + "CONVERSE", + "CONVERSE_METRICS", + "CONVERSE_OUTPUT", + "STOP_REASON", + "GUARDRAIL_ASSESSMENT_MAP", + "MODEL_OUTPUTS", + "GUARDRAIL_ASSESSMENT_LIST_MAP", + "GUARDRAIL_TRACE_ASSESSMENT", + "INVOKED_MODEL_ID", + "PROMPT_ROUTER_TRACE", + "CONVERSE_TRACE", + "CACHE_DETAIL", + "CACHE_DETAILS_LIST", + "TOKEN_USAGE", + "STATUS_CODE", + "MODEL_ERROR_EXCEPTION", + "MODEL_NOT_READY_EXCEPTION", + "MODEL_TIMEOUT_EXCEPTION", + "GUARDRAIL_STREAM_PROCESSING_MODE", + "GUARDRAIL_STREAM_CONFIGURATION", + "CONVERSE_STREAM_INPUT", + "CONVERSE_STREAM_OPERATION_OUTPUT", + "CONVERSE_STREAM", + "NON_NEGATIVE_INTEGER", + "CITATION_SOURCE_CONTENT_DELTA", + "CITATION_SOURCE_CONTENT_LIST_DELTA", + "CITATIONS_DELTA", + "IMAGE_BLOCK_DELTA", + "REASONING_CONTENT_BLOCK_DELTA", + "TOOL_RESULT_BLOCK_DELTA", + "TOOL_RESULT_BLOCKS_DELTA", + "TOOL_USE_BLOCK_DELTA", + "CONTENT_BLOCK_DELTA", + "CONTENT_BLOCK_DELTA_EVENT", + "IMAGE_BLOCK_START", + "TOOL_RESULT_BLOCK_START", + "TOOL_USE_BLOCK_START", + "CONTENT_BLOCK_START", + "CONTENT_BLOCK_START_EVENT", + "CONTENT_BLOCK_STOP_EVENT", + "MESSAGE_START_EVENT", + "MESSAGE_STOP_EVENT", + "CONVERSE_STREAM_METRICS", + "CONVERSE_STREAM_TRACE", + "CONVERSE_STREAM_METADATA_EVENT", + "MODEL_STREAM_ERROR_EXCEPTION", + "CONVERSE_STREAM_OUTPUT", + "MIME_TYPE", + "BODY", + "INVOKE_MODEL_IDENTIFIER", + "REQUEST_METADATA_JSON", + "TRACE", + "INVOKE_MODEL_INPUT", + "INVOKE_MODEL_OUTPUT", + "INVOKE_MODEL", + "PART_BODY", + "BIDIRECTIONAL_INPUT_PAYLOAD_PART", + "INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_INPUT", + "INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_INPUT", + "INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_OUTPUT", + "INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM", + "BIDIRECTIONAL_OUTPUT_PAYLOAD_PART", + "INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OUTPUT", + "INVOKE_MODEL_WITH_RESPONSE_STREAM_INPUT", + "INVOKE_MODEL_WITH_RESPONSE_STREAM_OUTPUT", + "INVOKE_MODEL_WITH_RESPONSE_STREAM", + "PAYLOAD_PART", + "RESPONSE_STREAM", + "CONVERSE_TOKENS_REQUEST", + "INVOKE_MODEL_TOKENS_REQUEST", + "COUNT_TOKENS_INPUT", + "FOUNDATION_MODEL_VERSION_IDENTIFIER", + "COUNT_TOKENS_OPERATION_INPUT", + "COUNT_TOKENS_OUTPUT", + "COUNT_TOKENS", + "AMAZON_BEDROCK_FRONTEND_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_0.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_0.py new file mode 100644 index 000000000..44a0a8779 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_0.py @@ -0,0 +1,1090 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockruntime" +_NBS = "NonBlankString" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_AI = "AccountId" +_AMRFP = "AdditionalModelResponseFieldPaths" +_me = "member" +_IA = "InvocationArn" +_GAII = "GetAsyncInvokeInput" +_sSI = "smithy.synthetic#originalShapeId" +_cGAIR = "com.amazonaws.bedrockruntime#GetAsyncInvokeRequest" +_sm = "smithy.api#input" +_iA = "invocationArn" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_AIIT = "AsyncInvokeIdempotencyToken" +_T = "Timestamp" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_AIM = "AsyncInvokeMessage" +_smit = "smithy.api#sensitive" +_AIA = "AsyncInvokeArn" +_KKI = "KmsKeyId" +_SU = "S3Uri" +_AISODC = "AsyncInvokeS3OutputDataConfig" +_sU = "s3Uri" +_kKI = "kmsKeyId" +_bO = "bucketOwner" +_AIODC = "AsyncInvokeOutputDataConfig" +_sODC = "s3OutputDataConfig" +_AIS = "AsyncInvokeStatus" +_IP = "IN_PROGRESS" +_sV = "smithy.api#enumValue" +_IPn = "InProgress" +_COMPLETED = "COMPLETED" +_C = "Completed" +_FAILED = "FAILED" +_F = "Failed" +_GAIO = "GetAsyncInvokeOutput" +_cGAIRo = "com.amazonaws.bedrockruntime#GetAsyncInvokeResponse" +_smith = "smithy.api#output" +_mA = "modelArn" +_cRT = "clientRequestToken" +_st = "status" +_fM = "failureMessage" +_sT = "submitTime" +_lMT = "lastModifiedTime" +_eT = "endTime" +_oDC = "outputDataConfig" +_ISE = "InternalServerException" +_se = "server" +_TE = "ThrottlingException" +_VE = "ValidationException" +_GAI = "GetAsyncInvoke" +_smithy = "smithy.api#http" +_MR = "MaxResults" +_PT = "PaginationToken" +_SAIB = "SortAsyncInvocationBy" +_ST = "SUBMISSION_TIME" +_STu = "SubmissionTime" +_SO = "SortOrder" +_ASCENDING = "ASCENDING" +_A = "Ascending" +_DESCENDING = "DESCENDING" +_D = "Descending" +_LAII = "ListAsyncInvokesInput" +_cLAIR = "com.amazonaws.bedrockruntime#ListAsyncInvokesRequest" +_sTA = "submitTimeAfter" +_sQ = "smithy.api#httpQuery" +_sTB = "submitTimeBefore" +_sEt = "statusEquals" +_mR = "maxResults" +_nT = "nextToken" +_sB = "sortBy" +_smithya = "smithy.api#default" +_sO = "sortOrder" +_AISs = "AsyncInvokeSummary" +_AISsy = "AsyncInvokeSummaries" +_LAIO = "ListAsyncInvokesOutput" +_cLAIRo = "com.amazonaws.bedrockruntime#ListAsyncInvokesResponse" +_aIS = "asyncInvokeSummaries" +_LAI = "ListAsyncInvokes" +_CE = "ConflictException" +_RNFE = "ResourceNotFoundException" +_SQEE = "ServiceQuotaExceededException" +_SUE = "ServiceUnavailableException" +_AII = "AsyncInvokeIdentifier" +_MIP = "ModelInputPayload" +_TK = "TagKey" +_TV = "TagValue" +_Ta = "Tag" +_k = "key" +_v = "value" +_TL = "TagList" +_SAII = "StartAsyncInvokeInput" +_cSAIR = "com.amazonaws.bedrockruntime#StartAsyncInvokeRequest" +_sTm = "smithy.api#idempotencyToken" +_mI = "modelId" +_mIo = "modelInput" +_t = "tags" +_SAIO = "StartAsyncInvokeOutput" +_cSAIRo = "com.amazonaws.bedrockruntime#StartAsyncInvokeResponse" +_SAI = "StartAsyncInvoke" +_GIF = "GuardrailImageFormat" +_PNG = "PNG" +_p = "png" +_JPEG = "JPEG" +_j = "jpeg" +_GIS = "GuardrailImageSource" +_b = "bytes" +_GIB = "GuardrailImageBlock" +_f = "format" +_so = "source" +_GCQ = "GuardrailContentQualifier" +_GS = "GROUNDING_SOURCE" +_gs = "grounding_source" +_QUERY = "QUERY" +_q = "query" +_GC = "GUARD_CONTENT" +_gc = "guard_content" +_GCQL = "GuardrailContentQualifierList" +_GTB = "GuardrailTextBlock" +_te = "text" +_qu = "qualifiers" +_GCB = "GuardrailContentBlock" +_i = "image" +_GCBL = "GuardrailContentBlockList" +_GI = "GuardrailIdentifier" +_GV = "GuardrailVersion" +_GOS = "GuardrailOutputScope" +_INTERVENTIONS = "INTERVENTIONS" +_FULL = "FULL" +_GCS = "GuardrailContentSource" +_INPUT = "INPUT" +_OUTPUT = "OUTPUT" +_AGI = "ApplyGuardrailInput" +_cAGR = "com.amazonaws.bedrockruntime#ApplyGuardrailRequest" +_gI = "guardrailIdentifier" +_gV = "guardrailVersion" +_co = "content" +_oS = "outputScope" +_GA = "GuardrailAction" +_NONE = "NONE" +_GI_ = "GUARDRAIL_INTERVENED" +_GAu = "GuardrailArn" +_GIu = "GuardrailId" +_GO = "GuardrailOrigin" +_REQUEST = "REQUEST" +_AE = "ACCOUNT_ENFORCED" +_OE = "ORGANIZATION_ENFORCED" +_GOL = "GuardrailOriginList" +_GOu = "GuardrailOwnership" +_SELF = "SELF" +_CA = "CROSS_ACCOUNT" +_AGD = "AppliedGuardrailDetails" +_gIu = "guardrailId" +_gA = "guardrailArn" +_gO = "guardrailOrigin" +_gOu = "guardrailOwnership" +_ARRI = "AutomatedReasoningRuleIdentifier" +_GARPVA = "GuardrailAutomatedReasoningPolicyVersionArn" +_GARR = "GuardrailAutomatedReasoningRule" +_id = "identifier" +_pVA = "policyVersionArn" +_GARRL = "GuardrailAutomatedReasoningRuleList" +_GARSLC = "GuardrailAutomatedReasoningStatementLogicContent" +_GARSNLC = "GuardrailAutomatedReasoningStatementNaturalLanguageContent" +_GARS = "GuardrailAutomatedReasoningStatement" +_l = "logic" +_nL = "naturalLanguage" +_GARSL = "GuardrailAutomatedReasoningStatementList" +_GARLWT = "GuardrailAutomatedReasoningLogicWarningType" +_AF = "ALWAYS_FALSE" +_AT = "ALWAYS_TRUE" +_GARLW = "GuardrailAutomatedReasoningLogicWarning" +_ty = "type" +_pr = "premises" +_cl = "claims" +_GARTC = "GuardrailAutomatedReasoningTranslationConfidence" +_GARITR = "GuardrailAutomatedReasoningInputTextReference" +_GARITRL = "GuardrailAutomatedReasoningInputTextReferenceList" +_GART = "GuardrailAutomatedReasoningTranslation" +_uP = "untranslatedPremises" +_uC = "untranslatedClaims" +_con = "confidence" +_GARIF = "GuardrailAutomatedReasoningImpossibleFinding" +_tr = "translation" +_cR = "contradictingRules" +_lW = "logicWarning" +_GARIFu = "GuardrailAutomatedReasoningInvalidFinding" +_GARNTF = "GuardrailAutomatedReasoningNoTranslationsFinding" +_GARSu = "GuardrailAutomatedReasoningScenario" +_sta = "statements" +_GARSF = "GuardrailAutomatedReasoningSatisfiableFinding" +_cTS = "claimsTrueScenario" +_cFS = "claimsFalseScenario" +_GARTCF = "GuardrailAutomatedReasoningTooComplexFinding" +_GARDSL = "GuardrailAutomatedReasoningDifferenceScenarioList" +_GARTL = "GuardrailAutomatedReasoningTranslationList" +_GARTO = "GuardrailAutomatedReasoningTranslationOption" +_tra = "translations" +_GARTOL = "GuardrailAutomatedReasoningTranslationOptionList" +_GARTAF = "GuardrailAutomatedReasoningTranslationAmbiguousFinding" +_o = "options" +_dS = "differenceScenarios" +_GARVF = "GuardrailAutomatedReasoningValidFinding" +_sR = "supportingRules" +_GARF = "GuardrailAutomatedReasoningFinding" +_va = "valid" +_in = "invalid" +_sa = "satisfiable" +_im = "impossible" +_tA = "translationAmbiguous" +_tC = "tooComplex" +_nTo = "noTranslations" +_GARFL = "GuardrailAutomatedReasoningFindingList" +_GARPA = "GuardrailAutomatedReasoningPolicyAssessment" +_fi = "findings" +_GCPA = "GuardrailContentPolicyAction" +_BLOCKED = "BLOCKED" +_GCFC = "GuardrailContentFilterConfidence" +_LOW = "LOW" +_MEDIUM = "MEDIUM" +_HIGH = "HIGH" +_GCFS = "GuardrailContentFilterStrength" +_GCFT = "GuardrailContentFilterType" +_INSULTS = "INSULTS" +_HATE = "HATE" +_SEXUAL = "SEXUAL" +_VIOLENCE = "VIOLENCE" +_MISCONDUCT = "MISCONDUCT" +_PA = "PROMPT_ATTACK" +_a = "action" +_u = "usage" +_gC = "guardrailCoverage" +_AGO = "ApplyGuardrailOutput" +_cAGRo = "com.amazonaws.bedrockruntime#ApplyGuardrailResponse" +_aR = "actionReason" +_ou = "outputs" +_as = "assessments" +_AG = "ApplyGuardrail" + +NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c, _sE: 403}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) + +ADDITIONAL_MODEL_RESPONSE_FIELD_PATHS: StaticSchema = ( + 16, + n0, + _AMRFP, + 0, + (_me,), + ((3, 0),), +) + +INVOCATION_ARN: StaticSchema = (3, n0, _IA, 0) + +GET_ASYNC_INVOKE_INPUT: StaticSchema = ( + 18, + n0, + _GAII, + {_sSI: _cGAIR, _sm: None}, + (_iA,), + ((INVOCATION_ARN, 9),), +) + +GET_ASYNC_INVOKE_OUTPUT: StaticSchema = ( + 18, + n0, + _GAIO, + {_sSI: _cGAIRo, _smith: None}, + (_iA, _mA, _cRT, _st, _fM, _sT, _lMT, _eT, _oDC), + ( + (INVOCATION_ARN, 1), + (lambda: ASYNC_INVOKE_ARN, 1), + (lambda: ASYNC_INVOKE_IDEMPOTENCY_TOKEN, 0), + (lambda: ASYNC_INVOKE_STATUS, 1), + (lambda: ASYNC_INVOKE_MESSAGE, 0), + (lambda: TIMESTAMP, 1), + (lambda: TIMESTAMP, 0), + (lambda: TIMESTAMP, 0), + (lambda: ASYNC_INVOKE_OUTPUT_DATA_CONFIG, 1), + ), +) + +GET_ASYNC_INVOKE: StaticOperationSchema = ( + 23, + n0, + _GAI, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/async-invoke/{invocationArn}"} + ) + }, + GET_ASYNC_INVOKE_INPUT, + GET_ASYNC_INVOKE_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +ASYNC_INVOKE_IDEMPOTENCY_TOKEN: StaticSchema = (3, n0, _AIIT, 0) + +TIMESTAMP: StaticSchema = (4, n0, _T, {_sF: _dt}) + +ASYNC_INVOKE_MESSAGE: StaticSchema = (3, n0, _AIM, 4) + +ASYNC_INVOKE_ARN: StaticSchema = (3, n0, _AIA, 0) + +KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) + +S3_URI: StaticSchema = (3, n0, _SU, 0) + +ASYNC_INVOKE_S3_OUTPUT_DATA_CONFIG: StaticSchema = ( + 18, + n0, + _AISODC, + 0, + (_sU, _kKI, _bO), + ((S3_URI, 1), (KMS_KEY_ID, 0), (ACCOUNT_ID, 0)), +) + +ASYNC_INVOKE_OUTPUT_DATA_CONFIG: StaticSchema = ( + 19, + n0, + _AIODC, + 0, + (_sODC,), + ((ASYNC_INVOKE_S3_OUTPUT_DATA_CONFIG, 0),), +) + +ASYNC_INVOKE_STATUS: StaticSchema = ( + 14, + n0, + _AIS, + 0, + (_IP, _COMPLETED, _FAILED), + ((-1, {_sV: _IPn}), (-1, {_sV: _C}), (-1, {_sV: _F})), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_s: _se, _sE: 500}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + {_s: _c, _sE: 429}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_s: _c, _sE: 400}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +PAGINATION_TOKEN: StaticSchema = (3, n0, _PT, 0) + +SORT_ASYNC_INVOCATION_BY: StaticSchema = ( + 14, + n0, + _SAIB, + 0, + (_ST,), + ((-1, {_sV: _STu}),), +) + +SORT_ORDER: StaticSchema = ( + 14, + n0, + _SO, + 0, + (_ASCENDING, _DESCENDING), + ((-1, {_sV: _A}), (-1, {_sV: _D})), +) + +LIST_ASYNC_INVOKES_INPUT: StaticSchema = ( + 18, + n0, + _LAII, + {_sSI: _cLAIR, _sm: None}, + (_sTA, _sTB, _sEt, _mR, _nT, _sB, _sO), + ( + (TIMESTAMP, {_sQ: _sTA}), + (TIMESTAMP, {_sQ: _sTB}), + (ASYNC_INVOKE_STATUS, {_sQ: _sEt}), + (MAX_RESULTS, {_sQ: _mR}), + (PAGINATION_TOKEN, {_sQ: _nT}), + (SORT_ASYNC_INVOCATION_BY, {_smithya: _STu, _sQ: _sB}), + (SORT_ORDER, {_smithya: _D, _sQ: _sO}), + ), +) + +LIST_ASYNC_INVOKES_OUTPUT: StaticSchema = ( + 18, + n0, + _LAIO, + {_sSI: _cLAIRo, _smith: None}, + (_nT, _aIS), + ((PAGINATION_TOKEN, 0), (lambda: ASYNC_INVOKE_SUMMARIES, 0)), +) + +LIST_ASYNC_INVOKES: StaticOperationSchema = ( + 23, + n0, + _LAI, + {_smithy: MappingProxyType({"code": 200, "method": "GET", "uri": "/async-invoke"})}, + LIST_ASYNC_INVOKES_INPUT, + LIST_ASYNC_INVOKES_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +ASYNC_INVOKE_SUMMARY: StaticSchema = ( + 18, + n0, + _AISs, + 0, + (_iA, _mA, _cRT, _st, _fM, _sT, _lMT, _eT, _oDC), + ( + (INVOCATION_ARN, 1), + (ASYNC_INVOKE_ARN, 1), + (ASYNC_INVOKE_IDEMPOTENCY_TOKEN, 0), + (ASYNC_INVOKE_STATUS, 0), + (ASYNC_INVOKE_MESSAGE, 0), + (TIMESTAMP, 1), + (TIMESTAMP, 0), + (TIMESTAMP, 0), + (ASYNC_INVOKE_OUTPUT_DATA_CONFIG, 1), + ), +) + +ASYNC_INVOKE_SUMMARIES: StaticSchema = ( + 16, + n0, + _AISsy, + 0, + (_me,), + ((ASYNC_INVOKE_SUMMARY, 0),), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + {_s: _c, _sE: 400}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c, _sE: 404}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_s: _c, _sE: 400}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SUE, + {_s: _se, _sE: 503}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +ASYNC_INVOKE_IDENTIFIER: StaticSchema = (3, n0, _AII, 0) + +MODEL_INPUT_PAYLOAD: StaticSchema = (13, n0, _MIP, 4) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _Ta, 0, (_k, _v), ((TAG_KEY, 1), (TAG_VALUE, 1))) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, 0),)) + +START_ASYNC_INVOKE_INPUT: StaticSchema = ( + 18, + n0, + _SAII, + {_sSI: _cSAIR, _sm: None}, + (_cRT, _mI, _mIo, _oDC, _t), + ( + (ASYNC_INVOKE_IDEMPOTENCY_TOKEN, 2), + (ASYNC_INVOKE_IDENTIFIER, 1), + (MODEL_INPUT_PAYLOAD, 1), + (ASYNC_INVOKE_OUTPUT_DATA_CONFIG, 1), + (TAG_LIST, 0), + ), +) + +START_ASYNC_INVOKE_OUTPUT: StaticSchema = ( + 18, + n0, + _SAIO, + {_sSI: _cSAIRo, _smith: None}, + (_iA,), + ((INVOCATION_ARN, 1),), +) + +START_ASYNC_INVOKE: StaticOperationSchema = ( + 23, + n0, + _SAI, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/async-invoke"} + ) + }, + START_ASYNC_INVOKE_INPUT, + START_ASYNC_INVOKE_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + SERVICE_UNAVAILABLE_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +GUARDRAIL_IMAGE_FORMAT: StaticSchema = ( + 14, + n0, + _GIF, + 0, + (_PNG, _JPEG), + ((-1, {_sV: _p}), (-1, {_sV: _j})), +) + +GUARDRAIL_IMAGE_SOURCE: StaticSchema = (19, n0, _GIS, 4, (_b,), ((1, 0),)) + +GUARDRAIL_IMAGE_BLOCK: StaticSchema = ( + 18, + n0, + _GIB, + 4, + (_f, _so), + ((GUARDRAIL_IMAGE_FORMAT, 1), (GUARDRAIL_IMAGE_SOURCE, 1)), +) + +GUARDRAIL_CONTENT_QUALIFIER: StaticSchema = ( + 14, + n0, + _GCQ, + 0, + (_GS, _QUERY, _GC), + ((-1, {_sV: _gs}), (-1, {_sV: _q}), (-1, {_sV: _gc})), +) + +GUARDRAIL_CONTENT_QUALIFIER_LIST: StaticSchema = ( + 16, + n0, + _GCQL, + 0, + (_me,), + ((GUARDRAIL_CONTENT_QUALIFIER, 0),), +) + +GUARDRAIL_TEXT_BLOCK: StaticSchema = ( + 18, + n0, + _GTB, + 0, + (_te, _qu), + ((3, 1), (GUARDRAIL_CONTENT_QUALIFIER_LIST, 0)), +) + +GUARDRAIL_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _GCB, + 0, + (_te, _i), + ((GUARDRAIL_TEXT_BLOCK, 0), (GUARDRAIL_IMAGE_BLOCK, 0)), +) + +GUARDRAIL_CONTENT_BLOCK_LIST: StaticSchema = ( + 16, + n0, + _GCBL, + 0, + (_me,), + ((GUARDRAIL_CONTENT_BLOCK, 0),), +) + +GUARDRAIL_IDENTIFIER: StaticSchema = (3, n0, _GI, 0) + +GUARDRAIL_VERSION: StaticSchema = (3, n0, _GV, 0) + +GUARDRAIL_OUTPUT_SCOPE: StaticSchema = ( + 14, + n0, + _GOS, + 0, + (_INTERVENTIONS, _FULL), + ((-1, {_sV: _INTERVENTIONS}), (-1, {_sV: _FULL})), +) + +GUARDRAIL_CONTENT_SOURCE: StaticSchema = ( + 14, + n0, + _GCS, + 0, + (_INPUT, _OUTPUT), + ((-1, {_sV: _INPUT}), (-1, {_sV: _OUTPUT})), +) + +APPLY_GUARDRAIL_INPUT: StaticSchema = ( + 18, + n0, + _AGI, + {_sSI: _cAGR, _sm: None}, + (_gI, _gV, _so, _co, _oS), + ( + (GUARDRAIL_IDENTIFIER, 9), + (GUARDRAIL_VERSION, 9), + (GUARDRAIL_CONTENT_SOURCE, 1), + (GUARDRAIL_CONTENT_BLOCK_LIST, 1), + (GUARDRAIL_OUTPUT_SCOPE, 0), + ), +) + +APPLY_GUARDRAIL_OUTPUT: StaticSchema = ( + 18, + n0, + _AGO, + {_sSI: _cAGRo, _smith: None}, + (_u, _a, _aR, _ou, _as, _gC), + ( + (lambda: schemas.GUARDRAIL_USAGE, 1), + (lambda: GUARDRAIL_ACTION, 1), + (3, 0), + (lambda: schemas.GUARDRAIL_OUTPUT_CONTENT_LIST, 1), + (lambda: schemas.GUARDRAIL_ASSESSMENT_LIST, 1), + (lambda: schemas.GUARDRAIL_COVERAGE, 0), + ), +) + +APPLY_GUARDRAIL: StaticOperationSchema = ( + 23, + n0, + _AG, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", + } + ) + }, + APPLY_GUARDRAIL_INPUT, + APPLY_GUARDRAIL_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + SERVICE_UNAVAILABLE_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +GUARDRAIL_ACTION: StaticSchema = ( + 14, + n0, + _GA, + 0, + (_NONE, _GI_), + ((-1, {_sV: _NONE}), (-1, {_sV: _GI_})), +) + +GUARDRAIL_ARN: StaticSchema = (3, n0, _GAu, 0) + +GUARDRAIL_ID: StaticSchema = (3, n0, _GIu, 0) + +GUARDRAIL_ORIGIN: StaticSchema = ( + 14, + n0, + _GO, + 0, + (_REQUEST, _AE, _OE), + ((-1, {_sV: _REQUEST}), (-1, {_sV: _AE}), (-1, {_sV: _OE})), +) + +GUARDRAIL_ORIGIN_LIST: StaticSchema = ( + 16, + n0, + _GOL, + 0, + (_me,), + ((GUARDRAIL_ORIGIN, 0),), +) + +GUARDRAIL_OWNERSHIP: StaticSchema = ( + 14, + n0, + _GOu, + 0, + (_SELF, _CA), + ((-1, {_sV: _SELF}), (-1, {_sV: _CA})), +) + +APPLIED_GUARDRAIL_DETAILS: StaticSchema = ( + 18, + n0, + _AGD, + 0, + (_gIu, _gV, _gA, _gO, _gOu), + ( + (GUARDRAIL_ID, 0), + (GUARDRAIL_VERSION, 0), + (GUARDRAIL_ARN, 0), + (GUARDRAIL_ORIGIN_LIST, 0), + (GUARDRAIL_OWNERSHIP, 0), + ), +) + +AUTOMATED_REASONING_RULE_IDENTIFIER: StaticSchema = (3, n0, _ARRI, 0) + +GUARDRAIL_AUTOMATED_REASONING_POLICY_VERSION_ARN: StaticSchema = (3, n0, _GARPVA, 0) + +GUARDRAIL_AUTOMATED_REASONING_RULE: StaticSchema = ( + 18, + n0, + _GARR, + 0, + (_id, _pVA), + ( + (AUTOMATED_REASONING_RULE_IDENTIFIER, 0), + (GUARDRAIL_AUTOMATED_REASONING_POLICY_VERSION_ARN, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_RULE_LIST: StaticSchema = ( + 16, + n0, + _GARRL, + 0, + (_me,), + ((GUARDRAIL_AUTOMATED_REASONING_RULE, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LOGIC_CONTENT: StaticSchema = ( + 3, + n0, + _GARSLC, + 4, +) + +GUARDRAIL_AUTOMATED_REASONING_STATEMENT_NATURAL_LANGUAGE_CONTENT: StaticSchema = ( + 3, + n0, + _GARSNLC, + 4, +) + +GUARDRAIL_AUTOMATED_REASONING_STATEMENT: StaticSchema = ( + 18, + n0, + _GARS, + 0, + (_l, _nL), + ( + (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LOGIC_CONTENT, 0), + (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_NATURAL_LANGUAGE_CONTENT, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST: StaticSchema = ( + 16, + n0, + _GARSL, + 0, + (_me,), + ((GUARDRAIL_AUTOMATED_REASONING_STATEMENT, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING_TYPE: StaticSchema = ( + 14, + n0, + _GARLWT, + 0, + (_AF, _AT), + ((-1, {_sV: _AF}), (-1, {_sV: _AT})), +) + +GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING: StaticSchema = ( + 18, + n0, + _GARLW, + 0, + (_ty, _pr, _cl), + ( + (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING_TYPE, 0), + (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0), + (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_CONFIDENCE: StaticSchema = (10, n0, _GARTC, 0) + +GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE: StaticSchema = ( + 18, + n0, + _GARITR, + 0, + (_te,), + ((GUARDRAIL_AUTOMATED_REASONING_STATEMENT_NATURAL_LANGUAGE_CONTENT, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE_LIST: StaticSchema = ( + 16, + n0, + _GARITRL, + 0, + (_me,), + ((GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_TRANSLATION: StaticSchema = ( + 18, + n0, + _GART, + 0, + (_pr, _cl, _uP, _uC, _con), + ( + (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0), + (GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0), + (GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE_LIST, 0), + (GUARDRAIL_AUTOMATED_REASONING_INPUT_TEXT_REFERENCE_LIST, 0), + (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_CONFIDENCE, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_IMPOSSIBLE_FINDING: StaticSchema = ( + 18, + n0, + _GARIF, + 0, + (_tr, _cR, _lW), + ( + (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0), + (GUARDRAIL_AUTOMATED_REASONING_RULE_LIST, 0), + (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_INVALID_FINDING: StaticSchema = ( + 18, + n0, + _GARIFu, + 0, + (_tr, _cR, _lW), + ( + (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0), + (GUARDRAIL_AUTOMATED_REASONING_RULE_LIST, 0), + (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_NO_TRANSLATIONS_FINDING: StaticSchema = ( + 18, + n0, + _GARNTF, + 0, +) + +GUARDRAIL_AUTOMATED_REASONING_SCENARIO: StaticSchema = ( + 18, + n0, + _GARSu, + 0, + (_sta,), + ((GUARDRAIL_AUTOMATED_REASONING_STATEMENT_LIST, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_SATISFIABLE_FINDING: StaticSchema = ( + 18, + n0, + _GARSF, + 0, + (_tr, _cTS, _cFS, _lW), + ( + (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0), + (GUARDRAIL_AUTOMATED_REASONING_SCENARIO, 0), + (GUARDRAIL_AUTOMATED_REASONING_SCENARIO, 0), + (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_TOO_COMPLEX_FINDING: StaticSchema = (18, n0, _GARTCF, 0) + +GUARDRAIL_AUTOMATED_REASONING_DIFFERENCE_SCENARIO_LIST: StaticSchema = ( + 16, + n0, + _GARDSL, + 0, + (_me,), + ((GUARDRAIL_AUTOMATED_REASONING_SCENARIO, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_LIST: StaticSchema = ( + 16, + n0, + _GARTL, + 0, + (_me,), + ((GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION: StaticSchema = ( + 18, + n0, + _GARTO, + 0, + (_tra,), + ((GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_LIST, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION_LIST: StaticSchema = ( + 16, + n0, + _GARTOL, + 0, + (_me,), + ((GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_AMBIGUOUS_FINDING: StaticSchema = ( + 18, + n0, + _GARTAF, + 0, + (_o, _dS), + ( + (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_OPTION_LIST, 0), + (GUARDRAIL_AUTOMATED_REASONING_DIFFERENCE_SCENARIO_LIST, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_VALID_FINDING: StaticSchema = ( + 18, + n0, + _GARVF, + 0, + (_tr, _cTS, _sR, _lW), + ( + (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION, 0), + (GUARDRAIL_AUTOMATED_REASONING_SCENARIO, 0), + (GUARDRAIL_AUTOMATED_REASONING_RULE_LIST, 0), + (GUARDRAIL_AUTOMATED_REASONING_LOGIC_WARNING, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_FINDING: StaticSchema = ( + 19, + n0, + _GARF, + 0, + (_va, _in, _sa, _im, _tA, _tC, _nTo), + ( + (GUARDRAIL_AUTOMATED_REASONING_VALID_FINDING, 0), + (GUARDRAIL_AUTOMATED_REASONING_INVALID_FINDING, 0), + (GUARDRAIL_AUTOMATED_REASONING_SATISFIABLE_FINDING, 0), + (GUARDRAIL_AUTOMATED_REASONING_IMPOSSIBLE_FINDING, 0), + (GUARDRAIL_AUTOMATED_REASONING_TRANSLATION_AMBIGUOUS_FINDING, 0), + (GUARDRAIL_AUTOMATED_REASONING_TOO_COMPLEX_FINDING, 0), + (GUARDRAIL_AUTOMATED_REASONING_NO_TRANSLATIONS_FINDING, 0), + ), +) + +GUARDRAIL_AUTOMATED_REASONING_FINDING_LIST: StaticSchema = ( + 16, + n0, + _GARFL, + 0, + (_me,), + ((GUARDRAIL_AUTOMATED_REASONING_FINDING, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GARPA, + 0, + (_fi,), + ((GUARDRAIL_AUTOMATED_REASONING_FINDING_LIST, 0),), +) + +GUARDRAIL_CONTENT_POLICY_ACTION: StaticSchema = ( + 14, + n0, + _GCPA, + 0, + (_BLOCKED, _NONE), + ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_CONTENT_FILTER_CONFIDENCE: StaticSchema = ( + 14, + n0, + _GCFC, + 0, + (_NONE, _LOW, _MEDIUM, _HIGH), + ((-1, {_sV: _NONE}), (-1, {_sV: _LOW}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _HIGH})), +) + +GUARDRAIL_CONTENT_FILTER_STRENGTH: StaticSchema = ( + 14, + n0, + _GCFS, + 0, + (_NONE, _LOW, _MEDIUM, _HIGH), + ((-1, {_sV: _NONE}), (-1, {_sV: _LOW}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _HIGH})), +) + +GUARDRAIL_CONTENT_FILTER_TYPE: StaticSchema = ( + 14, + n0, + _GCFT, + 0, + (_INSULTS, _HATE, _SEXUAL, _VIOLENCE, _MISCONDUCT, _PA), + ( + (-1, {_sV: _INSULTS}), + (-1, {_sV: _HATE}), + (-1, {_sV: _SEXUAL}), + (-1, {_sV: _VIOLENCE}), + (-1, {_sV: _MISCONDUCT}), + (-1, {_sV: _PA}), + ), +) diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_1.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_1.py new file mode 100644 index 000000000..e1c97a3c4 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_1.py @@ -0,0 +1,1035 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockruntime" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_smit = "smithy.api#sensitive" +_sV = "smithy.api#enumValue" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_te = "text" +_co = "content" +_NONE = "NONE" +_ty = "type" +_con = "confidence" +_BLOCKED = "BLOCKED" +_INSULTS = "INSULTS" +_HATE = "HATE" +_SEXUAL = "SEXUAL" +_VIOLENCE = "VIOLENCE" +_MISCONDUCT = "MISCONDUCT" +_GCF = "GuardrailContentFilter" +_fS = "filterStrength" +_a = "action" +_d = "detected" +_GCFL = "GuardrailContentFilterList" +_GCPAu = "GuardrailContentPolicyAssessment" +_fil = "filters" +_GCGPA = "GuardrailContextualGroundingPolicyAction" +_GCGFT = "GuardrailContextualGroundingFilterType" +_GROUNDING = "GROUNDING" +_RELEVANCE = "RELEVANCE" +_GCGF = "GuardrailContextualGroundingFilter" +_th = "threshold" +_sc = "score" +_GCGFu = "GuardrailContextualGroundingFilters" +_GCGPAu = "GuardrailContextualGroundingPolicyAssessment" +_IG = "ImagesGuarded" +_IT = "ImagesTotal" +_GIC = "GuardrailImageCoverage" +_g = "guarded" +_to = "total" +_TCG = "TextCharactersGuarded" +_TCT = "TextCharactersTotal" +_GTCC = "GuardrailTextCharactersCoverage" +_GCu = "GuardrailCoverage" +_tCe = "textCharacters" +_ima = "images" +_GPL = "GuardrailProcessingLatency" +_GARPP = "GuardrailAutomatedReasoningPoliciesProcessed" +_GARPUP = "GuardrailAutomatedReasoningPolicyUnitsProcessed" +_GCPIUP = "GuardrailContentPolicyImageUnitsProcessed" +_GCPUP = "GuardrailContentPolicyUnitsProcessed" +_GCGPUP = "GuardrailContextualGroundingPolicyUnitsProcessed" +_GSIPFUP = "GuardrailSensitiveInformationPolicyFreeUnitsProcessed" +_GSIPUP = "GuardrailSensitiveInformationPolicyUnitsProcessed" +_GTPUP = "GuardrailTopicPolicyUnitsProcessed" +_GWPUP = "GuardrailWordPolicyUnitsProcessed" +_GU = "GuardrailUsage" +_tPU = "topicPolicyUnits" +_cPU = "contentPolicyUnits" +_wPU = "wordPolicyUnits" +_sIPU = "sensitiveInformationPolicyUnits" +_sIPFU = "sensitiveInformationPolicyFreeUnits" +_cGPU = "contextualGroundingPolicyUnits" +_cPIU = "contentPolicyImageUnits" +_aRPU = "automatedReasoningPolicyUnits" +_aRP = "automatedReasoningPolicies" +_GIM = "GuardrailInvocationMetrics" +_gPL = "guardrailProcessingLatency" +_u = "usage" +_gC = "guardrailCoverage" +_GSIPA = "GuardrailSensitiveInformationPolicyAction" +_ANONYMIZED = "ANONYMIZED" +_GPET = "GuardrailPiiEntityType" +_ADDRESS = "ADDRESS" +_AGE = "AGE" +_AAK = "AWS_ACCESS_KEY" +_ASK = "AWS_SECRET_KEY" +_CHN = "CA_HEALTH_NUMBER" +_CSIN = "CA_SOCIAL_INSURANCE_NUMBER" +_CDCC = "CREDIT_DEBIT_CARD_CVV" +_CDCE = "CREDIT_DEBIT_CARD_EXPIRY" +_CDCN = "CREDIT_DEBIT_CARD_NUMBER" +_DI = "DRIVER_ID" +_EMAIL = "EMAIL" +_IBAN = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" +_IA_ = "IP_ADDRESS" +_LP = "LICENSE_PLATE" +_MA = "MAC_ADDRESS" +_NAME = "NAME" +_PASSWORD = "PASSWORD" +_PHONE = "PHONE" +_PIN = "PIN" +_SC = "SWIFT_CODE" +_UNHSN = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" +_UNIN = "UK_NATIONAL_INSURANCE_NUMBER" +_UUTRN = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" +_URL = "URL" +_USERNAME = "USERNAME" +_UBAN = "US_BANK_ACCOUNT_NUMBER" +_UBRN = "US_BANK_ROUTING_NUMBER" +_UITIN = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" +_UPN = "US_PASSPORT_NUMBER" +_USSN = "US_SOCIAL_SECURITY_NUMBER" +_VIN = "VEHICLE_IDENTIFICATION_NUMBER" +_GPEF = "GuardrailPiiEntityFilter" +_ma = "match" +_GPEFL = "GuardrailPiiEntityFilterList" +_GRF = "GuardrailRegexFilter" +_n = "name" +_r = "regex" +_GRFL = "GuardrailRegexFilterList" +_GSIPAu = "GuardrailSensitiveInformationPolicyAssessment" +_pE = "piiEntities" +_re = "regexes" +_GTPA = "GuardrailTopicPolicyAction" +_GTT = "GuardrailTopicType" +_DENY = "DENY" +_GT = "GuardrailTopic" +_GTL = "GuardrailTopicList" +_GTPAu = "GuardrailTopicPolicyAssessment" +_top = "topics" +_GWPA = "GuardrailWordPolicyAction" +_GCW = "GuardrailCustomWord" +_GCWL = "GuardrailCustomWordList" +_GMWT = "GuardrailManagedWordType" +_PROFANITY = "PROFANITY" +_GMW = "GuardrailManagedWord" +_GMWL = "GuardrailManagedWordList" +_GWPAu = "GuardrailWordPolicyAssessment" +_cW = "customWords" +_mWL = "managedWordLists" +_GAua = "GuardrailAssessment" +_tP = "topicPolicy" +_cP = "contentPolicy" +_wP = "wordPolicy" +_sIP = "sensitiveInformationPolicy" +_cGP = "contextualGroundingPolicy" +_aRPu = "automatedReasoningPolicy" +_iM = "invocationMetrics" +_aGD = "appliedGuardrailDetails" +_GAL = "GuardrailAssessmentList" +_GOT = "GuardrailOutputText" +_GOC = "GuardrailOutputContent" +_GOCL = "GuardrailOutputContentList" +_GCCFC = "GuardrailChecksContentFilterCategory" +_GCCFCC = "GuardrailChecksContentFilterCategoryConfig" +_ca = "category" +_GCCFCCL = "GuardrailChecksContentFilterCategoryConfigList" +_GCCFCu = "GuardrailChecksContentFilterConfig" +_cat = "categories" +_GCPAC = "GuardrailChecksPromptAttackCategory" +_JAILBREAK = "JAILBREAK" +_PI = "PROMPT_INJECTION" +_PL = "PROMPT_LEAKAGE" +_GCPACC = "GuardrailChecksPromptAttackCategoryConfig" +_GCPACCL = "GuardrailChecksPromptAttackCategoryConfigList" +_GCPACu = "GuardrailChecksPromptAttackConfig" +_GCSIET = "GuardrailChecksSensitiveInformationEntityType" +_GCSIEC = "GuardrailChecksSensitiveInformationEntityConfig" +_GCSIECL = "GuardrailChecksSensitiveInformationEntityConfigList" +_GCSIC = "GuardrailChecksSensitiveInformationConfig" +_e = "entities" +_GCC = "GuardrailChecksConfig" +_cF = "contentFilter" +_pA = "promptAttack" +_sI = "sensitiveInformation" +_GCTC = "GuardrailChecksTextContent" +_GCCB = "GuardrailChecksContentBlock" +_GCCBL = "GuardrailChecksContentBlockList" +_GCR = "GuardrailChecksRole" +_USER = "USER" +_us = "user" +_ASSISTANT = "ASSISTANT" +_ass = "assistant" +_SYSTEM = "SYSTEM" +_sy = "system" +_GCM = "GuardrailChecksMessage" +_ro = "role" +_GCML = "GuardrailChecksMessageList" +_IGCI = "InvokeGuardrailChecksInput" +_cIGCR = "com.amazonaws.bedrockruntime#InvokeGuardrailChecksRequest" +_mes = "messages" +_ch = "checks" +_GCCFRE = "GuardrailChecksContentFilterResultEntry" +_sS = "severityScore" +_GCCFRL = "GuardrailChecksContentFilterResultList" +_GCCFR = "GuardrailChecksContentFilterResult" +_res = "results" +_GCPARE = "GuardrailChecksPromptAttackResultEntry" +_GCPARL = "GuardrailChecksPromptAttackResultList" +_GCPAR = "GuardrailChecksPromptAttackResult" +_GCSIRE = "GuardrailChecksSensitiveInformationResultEntry" +_cS = "confidenceScore" +_bOe = "beginOffset" +_eO = "endOffset" +_mIe = "messageIndex" +_cI = "contentIndex" +_GCSIRL = "GuardrailChecksSensitiveInformationResultList" +_IGCO = "InvokeGuardrailChecksOutput" +_cIGCRo = "com.amazonaws.bedrockruntime#InvokeGuardrailChecksResponse" +_IGC = "InvokeGuardrailChecks" + +GUARDRAIL_CONTENT_FILTER: StaticSchema = ( + 18, + n0, + _GCF, + 0, + (_ty, _con, _fS, _a, _d), + ( + (lambda: schemas.GUARDRAIL_CONTENT_FILTER_TYPE, 1), + (lambda: schemas.GUARDRAIL_CONTENT_FILTER_CONFIDENCE, 1), + (lambda: schemas.GUARDRAIL_CONTENT_FILTER_STRENGTH, 0), + (lambda: schemas.GUARDRAIL_CONTENT_POLICY_ACTION, 1), + (2, 0), + ), +) + +GUARDRAIL_CONTENT_FILTER_LIST: StaticSchema = ( + 16, + n0, + _GCFL, + 0, + (_me,), + ((GUARDRAIL_CONTENT_FILTER, 0),), +) + +GUARDRAIL_CONTENT_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GCPAu, + 0, + (_fil,), + ((GUARDRAIL_CONTENT_FILTER_LIST, 1),), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ACTION: StaticSchema = ( + 14, + n0, + _GCGPA, + 0, + (_BLOCKED, _NONE), + ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE: StaticSchema = ( + 14, + n0, + _GCGFT, + 0, + (_GROUNDING, _RELEVANCE), + ((-1, {_sV: _GROUNDING}), (-1, {_sV: _RELEVANCE})), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER: StaticSchema = ( + 18, + n0, + _GCGF, + 0, + (_ty, _th, _sc, _a, _d), + ( + (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE, 1), + (10, 1), + (10, 1), + (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ACTION, 1), + (2, 0), + ), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS: StaticSchema = ( + 16, + n0, + _GCGFu, + 0, + (_me,), + ((GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER, 0),), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GCGPAu, + 0, + (_fil,), + ((GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS, 0),), +) + +IMAGES_GUARDED: StaticSchema = (7, n0, _IG, 0) + +IMAGES_TOTAL: StaticSchema = (7, n0, _IT, 0) + +GUARDRAIL_IMAGE_COVERAGE: StaticSchema = ( + 18, + n0, + _GIC, + 0, + (_g, _to), + ((IMAGES_GUARDED, 0), (IMAGES_TOTAL, 0)), +) + +TEXT_CHARACTERS_GUARDED: StaticSchema = (7, n0, _TCG, 0) + +TEXT_CHARACTERS_TOTAL: StaticSchema = (7, n0, _TCT, 0) + +GUARDRAIL_TEXT_CHARACTERS_COVERAGE: StaticSchema = ( + 18, + n0, + _GTCC, + 0, + (_g, _to), + ((TEXT_CHARACTERS_GUARDED, 0), (TEXT_CHARACTERS_TOTAL, 0)), +) + +GUARDRAIL_COVERAGE: StaticSchema = ( + 18, + n0, + _GCu, + 0, + (_tCe, _ima), + ((GUARDRAIL_TEXT_CHARACTERS_COVERAGE, 0), (GUARDRAIL_IMAGE_COVERAGE, 0)), +) + +GUARDRAIL_PROCESSING_LATENCY: StaticSchema = (8, n0, _GPL, 0) + +GUARDRAIL_AUTOMATED_REASONING_POLICIES_PROCESSED: StaticSchema = (7, n0, _GARPP, 0) + +GUARDRAIL_AUTOMATED_REASONING_POLICY_UNITS_PROCESSED: StaticSchema = (7, n0, _GARPUP, 0) + +GUARDRAIL_CONTENT_POLICY_IMAGE_UNITS_PROCESSED: StaticSchema = (7, n0, _GCPIUP, 0) + +GUARDRAIL_CONTENT_POLICY_UNITS_PROCESSED: StaticSchema = (7, n0, _GCPUP, 0) + +GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_UNITS_PROCESSED: StaticSchema = ( + 7, + n0, + _GCGPUP, + 0, +) + +GUARDRAIL_SENSITIVE_INFORMATION_POLICY_FREE_UNITS_PROCESSED: StaticSchema = ( + 7, + n0, + _GSIPFUP, + 0, +) + +GUARDRAIL_SENSITIVE_INFORMATION_POLICY_UNITS_PROCESSED: StaticSchema = ( + 7, + n0, + _GSIPUP, + 0, +) + +GUARDRAIL_TOPIC_POLICY_UNITS_PROCESSED: StaticSchema = (7, n0, _GTPUP, 0) + +GUARDRAIL_WORD_POLICY_UNITS_PROCESSED: StaticSchema = (7, n0, _GWPUP, 0) + +GUARDRAIL_USAGE: StaticSchema = ( + 18, + n0, + _GU, + 0, + (_tPU, _cPU, _wPU, _sIPU, _sIPFU, _cGPU, _cPIU, _aRPU, _aRP), + ( + (GUARDRAIL_TOPIC_POLICY_UNITS_PROCESSED, 1), + (GUARDRAIL_CONTENT_POLICY_UNITS_PROCESSED, 1), + (GUARDRAIL_WORD_POLICY_UNITS_PROCESSED, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_UNITS_PROCESSED, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_FREE_UNITS_PROCESSED, 1), + (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_UNITS_PROCESSED, 1), + (GUARDRAIL_CONTENT_POLICY_IMAGE_UNITS_PROCESSED, 0), + (GUARDRAIL_AUTOMATED_REASONING_POLICY_UNITS_PROCESSED, 0), + (GUARDRAIL_AUTOMATED_REASONING_POLICIES_PROCESSED, 0), + ), +) + +GUARDRAIL_INVOCATION_METRICS: StaticSchema = ( + 18, + n0, + _GIM, + 0, + (_gPL, _u, _gC), + ((GUARDRAIL_PROCESSING_LATENCY, 0), (GUARDRAIL_USAGE, 0), (GUARDRAIL_COVERAGE, 0)), +) + +GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION: StaticSchema = ( + 14, + n0, + _GSIPA, + 0, + (_ANONYMIZED, _BLOCKED, _NONE), + ((-1, {_sV: _ANONYMIZED}), (-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_PII_ENTITY_TYPE: StaticSchema = ( + 14, + n0, + _GPET, + 0, + ( + _ADDRESS, + _AGE, + _AAK, + _ASK, + _CHN, + _CSIN, + _CDCC, + _CDCE, + _CDCN, + _DI, + _EMAIL, + _IBAN, + _IA_, + _LP, + _MA, + _NAME, + _PASSWORD, + _PHONE, + _PIN, + _SC, + _UNHSN, + _UNIN, + _UUTRN, + _URL, + _USERNAME, + _UBAN, + _UBRN, + _UITIN, + _UPN, + _USSN, + _VIN, + ), + ( + (-1, {_sV: _ADDRESS}), + (-1, {_sV: _AGE}), + (-1, {_sV: _AAK}), + (-1, {_sV: _ASK}), + (-1, {_sV: _CHN}), + (-1, {_sV: _CSIN}), + (-1, {_sV: _CDCC}), + (-1, {_sV: _CDCE}), + (-1, {_sV: _CDCN}), + (-1, {_sV: _DI}), + (-1, {_sV: _EMAIL}), + (-1, {_sV: _IBAN}), + (-1, {_sV: _IA_}), + (-1, {_sV: _LP}), + (-1, {_sV: _MA}), + (-1, {_sV: _NAME}), + (-1, {_sV: _PASSWORD}), + (-1, {_sV: _PHONE}), + (-1, {_sV: _PIN}), + (-1, {_sV: _SC}), + (-1, {_sV: _UNHSN}), + (-1, {_sV: _UNIN}), + (-1, {_sV: _UUTRN}), + (-1, {_sV: _URL}), + (-1, {_sV: _USERNAME}), + (-1, {_sV: _UBAN}), + (-1, {_sV: _UBRN}), + (-1, {_sV: _UITIN}), + (-1, {_sV: _UPN}), + (-1, {_sV: _USSN}), + (-1, {_sV: _VIN}), + ), +) + +GUARDRAIL_PII_ENTITY_FILTER: StaticSchema = ( + 18, + n0, + _GPEF, + 0, + (_ma, _ty, _a, _d), + ( + (3, 1), + (GUARDRAIL_PII_ENTITY_TYPE, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION, 1), + (2, 0), + ), +) + +GUARDRAIL_PII_ENTITY_FILTER_LIST: StaticSchema = ( + 16, + n0, + _GPEFL, + 0, + (_me,), + ((GUARDRAIL_PII_ENTITY_FILTER, 0),), +) + +GUARDRAIL_REGEX_FILTER: StaticSchema = ( + 18, + n0, + _GRF, + 0, + (_n, _ma, _r, _a, _d), + ( + (3, 0), + (3, 0), + (3, 0), + (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ACTION, 1), + (2, 0), + ), +) + +GUARDRAIL_REGEX_FILTER_LIST: StaticSchema = ( + 16, + n0, + _GRFL, + 0, + (_me,), + ((GUARDRAIL_REGEX_FILTER, 0),), +) + +GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GSIPAu, + 0, + (_pE, _re), + ((GUARDRAIL_PII_ENTITY_FILTER_LIST, 1), (GUARDRAIL_REGEX_FILTER_LIST, 1)), +) + +GUARDRAIL_TOPIC_POLICY_ACTION: StaticSchema = ( + 14, + n0, + _GTPA, + 0, + (_BLOCKED, _NONE), + ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_TOPIC_TYPE: StaticSchema = (14, n0, _GTT, 0, (_DENY,), ((-1, {_sV: _DENY}),)) + +GUARDRAIL_TOPIC: StaticSchema = ( + 18, + n0, + _GT, + 0, + (_n, _ty, _a, _d), + ((3, 1), (GUARDRAIL_TOPIC_TYPE, 1), (GUARDRAIL_TOPIC_POLICY_ACTION, 1), (2, 0)), +) + +GUARDRAIL_TOPIC_LIST: StaticSchema = (16, n0, _GTL, 0, (_me,), ((GUARDRAIL_TOPIC, 0),)) + +GUARDRAIL_TOPIC_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GTPAu, + 0, + (_top,), + ((GUARDRAIL_TOPIC_LIST, 1),), +) + +GUARDRAIL_WORD_POLICY_ACTION: StaticSchema = ( + 14, + n0, + _GWPA, + 0, + (_BLOCKED, _NONE), + ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_CUSTOM_WORD: StaticSchema = ( + 18, + n0, + _GCW, + 0, + (_ma, _a, _d), + ((3, 1), (GUARDRAIL_WORD_POLICY_ACTION, 1), (2, 0)), +) + +GUARDRAIL_CUSTOM_WORD_LIST: StaticSchema = ( + 16, + n0, + _GCWL, + 0, + (_me,), + ((GUARDRAIL_CUSTOM_WORD, 0),), +) + +GUARDRAIL_MANAGED_WORD_TYPE: StaticSchema = ( + 14, + n0, + _GMWT, + 0, + (_PROFANITY,), + ((-1, {_sV: _PROFANITY}),), +) + +GUARDRAIL_MANAGED_WORD: StaticSchema = ( + 18, + n0, + _GMW, + 0, + (_ma, _ty, _a, _d), + ( + (3, 1), + (GUARDRAIL_MANAGED_WORD_TYPE, 1), + (GUARDRAIL_WORD_POLICY_ACTION, 1), + (2, 0), + ), +) + +GUARDRAIL_MANAGED_WORD_LIST: StaticSchema = ( + 16, + n0, + _GMWL, + 0, + (_me,), + ((GUARDRAIL_MANAGED_WORD, 0),), +) + +GUARDRAIL_WORD_POLICY_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GWPAu, + 0, + (_cW, _mWL), + ((GUARDRAIL_CUSTOM_WORD_LIST, 1), (GUARDRAIL_MANAGED_WORD_LIST, 1)), +) + +GUARDRAIL_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GAua, + 0, + (_tP, _cP, _wP, _sIP, _cGP, _aRPu, _iM, _aGD), + ( + (GUARDRAIL_TOPIC_POLICY_ASSESSMENT, 0), + (GUARDRAIL_CONTENT_POLICY_ASSESSMENT, 0), + (GUARDRAIL_WORD_POLICY_ASSESSMENT, 0), + (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_ASSESSMENT, 0), + (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_ASSESSMENT, 0), + (lambda: schemas.GUARDRAIL_AUTOMATED_REASONING_POLICY_ASSESSMENT, 0), + (GUARDRAIL_INVOCATION_METRICS, 0), + (lambda: schemas.APPLIED_GUARDRAIL_DETAILS, 0), + ), +) + +GUARDRAIL_ASSESSMENT_LIST: StaticSchema = ( + 16, + n0, + _GAL, + 0, + (_me,), + ((GUARDRAIL_ASSESSMENT, 0),), +) + +GUARDRAIL_OUTPUT_TEXT: StaticSchema = (3, n0, _GOT, 0) + +GUARDRAIL_OUTPUT_CONTENT: StaticSchema = ( + 18, + n0, + _GOC, + 0, + (_te,), + ((GUARDRAIL_OUTPUT_TEXT, 0),), +) + +GUARDRAIL_OUTPUT_CONTENT_LIST: StaticSchema = ( + 16, + n0, + _GOCL, + 0, + (_me,), + ((GUARDRAIL_OUTPUT_CONTENT, 0),), +) + +GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY: StaticSchema = ( + 14, + n0, + _GCCFC, + 0, + (_VIOLENCE, _HATE, _SEXUAL, _MISCONDUCT, _INSULTS), + ( + (-1, {_sV: _VIOLENCE}), + (-1, {_sV: _HATE}), + (-1, {_sV: _SEXUAL}), + (-1, {_sV: _MISCONDUCT}), + (-1, {_sV: _INSULTS}), + ), +) + +GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG: StaticSchema = ( + 18, + n0, + _GCCFCC, + 0, + (_ca,), + ((GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY, 1),), +) + +GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _GCCFCCL, + 0, + (_me,), + ((GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG, 0),), +) + +GUARDRAIL_CHECKS_CONTENT_FILTER_CONFIG: StaticSchema = ( + 18, + n0, + _GCCFCu, + 0, + (_cat,), + ((GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY_CONFIG_LIST, 1),), +) + +GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY: StaticSchema = ( + 14, + n0, + _GCPAC, + 0, + (_JAILBREAK, _PI, _PL), + ((-1, {_sV: _JAILBREAK}), (-1, {_sV: _PI}), (-1, {_sV: _PL})), +) + +GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG: StaticSchema = ( + 18, + n0, + _GCPACC, + 0, + (_ca,), + ((GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY, 1),), +) + +GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _GCPACCL, + 0, + (_me,), + ((GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG, 0),), +) + +GUARDRAIL_CHECKS_PROMPT_ATTACK_CONFIG: StaticSchema = ( + 18, + n0, + _GCPACu, + 0, + (_cat,), + ((GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY_CONFIG_LIST, 1),), +) + +GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_TYPE: StaticSchema = ( + 14, + n0, + _GCSIET, + 0, + ( + _ADDRESS, + _AGE, + _AAK, + _ASK, + _CHN, + _CSIN, + _CDCC, + _CDCE, + _CDCN, + _DI, + _EMAIL, + _IBAN, + _IA_, + _LP, + _MA, + _NAME, + _PASSWORD, + _PHONE, + _PIN, + _SC, + _UNHSN, + _UNIN, + _UUTRN, + _URL, + _USERNAME, + _UBAN, + _UBRN, + _UITIN, + _UPN, + _USSN, + _VIN, + ), + ( + (-1, {_sV: _ADDRESS}), + (-1, {_sV: _AGE}), + (-1, {_sV: _AAK}), + (-1, {_sV: _ASK}), + (-1, {_sV: _CHN}), + (-1, {_sV: _CSIN}), + (-1, {_sV: _CDCC}), + (-1, {_sV: _CDCE}), + (-1, {_sV: _CDCN}), + (-1, {_sV: _DI}), + (-1, {_sV: _EMAIL}), + (-1, {_sV: _IBAN}), + (-1, {_sV: _IA_}), + (-1, {_sV: _LP}), + (-1, {_sV: _MA}), + (-1, {_sV: _NAME}), + (-1, {_sV: _PASSWORD}), + (-1, {_sV: _PHONE}), + (-1, {_sV: _PIN}), + (-1, {_sV: _SC}), + (-1, {_sV: _UNHSN}), + (-1, {_sV: _UNIN}), + (-1, {_sV: _UUTRN}), + (-1, {_sV: _URL}), + (-1, {_sV: _USERNAME}), + (-1, {_sV: _UBAN}), + (-1, {_sV: _UBRN}), + (-1, {_sV: _UITIN}), + (-1, {_sV: _UPN}), + (-1, {_sV: _USSN}), + (-1, {_sV: _VIN}), + ), +) + +GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG: StaticSchema = ( + 18, + n0, + _GCSIEC, + 0, + (_ty,), + ((GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_TYPE, 1),), +) + +GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _GCSIECL, + 0, + (_me,), + ((GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG, 0),), +) + +GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_CONFIG: StaticSchema = ( + 18, + n0, + _GCSIC, + 0, + (_e,), + ((GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_CONFIG_LIST, 1),), +) + +GUARDRAIL_CHECKS_CONFIG: StaticSchema = ( + 18, + n0, + _GCC, + 0, + (_cF, _pA, _sI), + ( + (GUARDRAIL_CHECKS_CONTENT_FILTER_CONFIG, 0), + (GUARDRAIL_CHECKS_PROMPT_ATTACK_CONFIG, 0), + (GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_CONFIG, 0), + ), +) + +GUARDRAIL_CHECKS_TEXT_CONTENT: StaticSchema = (3, n0, _GCTC, 4) + +GUARDRAIL_CHECKS_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _GCCB, + 0, + (_te,), + ((GUARDRAIL_CHECKS_TEXT_CONTENT, 0),), +) + +GUARDRAIL_CHECKS_CONTENT_BLOCK_LIST: StaticSchema = ( + 16, + n0, + _GCCBL, + 0, + (_me,), + ((GUARDRAIL_CHECKS_CONTENT_BLOCK, 0),), +) + +GUARDRAIL_CHECKS_ROLE: StaticSchema = ( + 14, + n0, + _GCR, + 0, + (_USER, _ASSISTANT, _SYSTEM), + ((-1, {_sV: _us}), (-1, {_sV: _ass}), (-1, {_sV: _sy})), +) + +GUARDRAIL_CHECKS_MESSAGE: StaticSchema = ( + 18, + n0, + _GCM, + 0, + (_ro, _co), + ((GUARDRAIL_CHECKS_ROLE, 1), (GUARDRAIL_CHECKS_CONTENT_BLOCK_LIST, 1)), +) + +GUARDRAIL_CHECKS_MESSAGE_LIST: StaticSchema = ( + 16, + n0, + _GCML, + 0, + (_me,), + ((GUARDRAIL_CHECKS_MESSAGE, 0),), +) + +INVOKE_GUARDRAIL_CHECKS_INPUT: StaticSchema = ( + 18, + n0, + _IGCI, + {_sSI: _cIGCR, _sm: None}, + (_mes, _ch), + ((GUARDRAIL_CHECKS_MESSAGE_LIST, 1), (GUARDRAIL_CHECKS_CONFIG, 1)), +) + +INVOKE_GUARDRAIL_CHECKS_OUTPUT: StaticSchema = ( + 18, + n0, + _IGCO, + {_sSI: _cIGCRo, _smith: None}, + (_res, _u), + ( + (lambda: schemas.GUARDRAIL_CHECKS_RESULTS, 1), + (lambda: schemas.GUARDRAIL_CHECKS_USAGE_RESULTS, 1), + ), +) + +INVOKE_GUARDRAIL_CHECKS: StaticOperationSchema = ( + 23, + n0, + _IGC, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/guardrail-checks/invoke"} + ) + }, + INVOKE_GUARDRAIL_CHECKS_INPUT, + INVOKE_GUARDRAIL_CHECKS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_ENTRY: StaticSchema = ( + 18, + n0, + _GCCFRE, + 0, + (_ca, _sS), + ((GUARDRAIL_CHECKS_CONTENT_FILTER_CATEGORY, 1), (10, 1)), +) + +GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_LIST: StaticSchema = ( + 16, + n0, + _GCCFRL, + 0, + (_me,), + ((GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_ENTRY, 0),), +) + +GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT: StaticSchema = ( + 18, + n0, + _GCCFR, + 0, + (_res,), + ((GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT_LIST, 1),), +) + +GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_ENTRY: StaticSchema = ( + 18, + n0, + _GCPARE, + 0, + (_ca, _sS), + ((GUARDRAIL_CHECKS_PROMPT_ATTACK_CATEGORY, 1), (10, 1)), +) + +GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_LIST: StaticSchema = ( + 16, + n0, + _GCPARL, + 0, + (_me,), + ((GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_ENTRY, 0),), +) + +GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT: StaticSchema = ( + 18, + n0, + _GCPAR, + 0, + (_res,), + ((GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT_LIST, 1),), +) + +GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_ENTRY: StaticSchema = ( + 18, + n0, + _GCSIRE, + 0, + (_ty, _cS, _bOe, _eO, _mIe, _cI), + ( + (GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_ENTITY_TYPE, 1), + (10, 1), + (7, 1), + (7, 1), + (7, 1), + (7, 1), + ), +) + +GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_LIST: StaticSchema = ( + 16, + n0, + _GCSIRL, + 0, + (_me,), + ((GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_ENTRY, 0),), +) diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_2.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_2.py new file mode 100644 index 000000000..73d075cb8 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_2.py @@ -0,0 +1,1050 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockruntime" +_m = "message" +_me = "member" +_smi = "smithy.api#required" +_smit = "smithy.api#sensitive" +_bO = "bucketOwner" +_sV = "smithy.api#enumValue" +_st = "status" +_smithya = "smithy.api#default" +_k = "key" +_v = "value" +_PNG = "PNG" +_p = "png" +_JPEG = "JPEG" +_j = "jpeg" +_b = "bytes" +_f = "format" +_so = "source" +_GS = "GROUNDING_SOURCE" +_gs = "grounding_source" +_QUERY = "QUERY" +_q = "query" +_GC = "GUARD_CONTENT" +_gc = "guard_content" +_te = "text" +_qu = "qualifiers" +_i = "image" +_gI = "guardrailIdentifier" +_gV = "guardrailVersion" +_co = "content" +_ty = "type" +_n = "name" +_cF = "contentFilter" +_pA = "promptAttack" +_sI = "sensitiveInformation" +_USER = "USER" +_us = "user" +_ASSISTANT = "ASSISTANT" +_ass = "assistant" +_SYSTEM = "SYSTEM" +_sy = "system" +_ro = "role" +_res = "results" +_GCSIR = "GuardrailChecksSensitiveInformationResult" +_tru = "truncated" +_GCRu = "GuardrailChecksResults" +_GCCFU = "GuardrailChecksContentFilterUsage" +_tU = "textUnits" +_GCPAU = "GuardrailChecksPromptAttackUsage" +_GCSIU = "GuardrailChecksSensitiveInformationUsage" +_GCUR = "GuardrailChecksUsageResults" +_GTu = "GuardrailTrace" +_ENABLED = "ENABLED" +_en = "enabled" +_DISABLED = "DISABLED" +_di = "disabled" +_EF = "ENABLED_FULL" +_ef = "enabled_full" +_GCua = "GuardrailConfiguration" +_v_ = "" +_trac = "trace" +_NES = "NonEmptyString" +_NESL = "NonEmptyStringList" +_IC = "InferenceConfiguration" +_mT = "maxTokens" +_tem = "temperature" +_tPo = "topP" +_sSt = "stopSequences" +_EB = "ErrorBlock" +_AFu = "AudioFormat" +_MP = "MP3" +_mp = "mp3" +_OPUS = "OPUS" +_op = "opus" +_WAV = "WAV" +_w = "wav" +_AAC = "AAC" +_aa = "aac" +_FLAC = "FLAC" +_fl = "flac" +_MP_ = "MP4" +_mp_ = "mp4" +_OGG = "OGG" +_og = "ogg" +_MKV = "MKV" +_mk = "mkv" +_MKA = "MKA" +_mka = "mka" +_XA = "X_AAC" +_xa = "x-aac" +_MA_ = "M4A" +_ma_ = "m4a" +_MPEG = "MPEG" +_mpe = "mpeg" +_MPGA = "MPGA" +_mpg = "mpga" +_PCM = "PCM" +_pc = "pcm" +_WEBM = "WEBM" +_we = "webm" +_SL = "S3Location" +_ur = "uri" +_AS = "AudioSource" +_sLo = "s3Location" +_AB = "AudioBlock" +_er = "error" +_CTTL = "CacheTTL" +_FM = "FIVE_MINUTES" +_m_ = "5m" +_OH = "ONE_HOUR" +_h = "1h" +_CPT = "CachePointType" +_DEFAULT = "DEFAULT" +_de = "default" +_CPB = "CachePointBlock" +_tt = "ttl" +_DCL = "DocumentCharLocation" +_dI = "documentIndex" +_star = "start" +_end = "end" +_DCLo = "DocumentChunkLocation" +_DPL = "DocumentPageLocation" +_SRL = "SearchResultLocation" +_sRI = "searchResultIndex" +_WL = "WebLocation" +_url = "url" +_do = "domain" +_CL = "CitationLocation" +_web = "web" +_dC = "documentChar" +_dP = "documentPage" +_dCo = "documentChunk" +_sRL = "searchResultLocation" +_CSC = "CitationSourceContent" +_CSCL = "CitationSourceContentList" +_Ci = "Citation" +_ti = "title" +_sC = "sourceContent" +_lo = "location" +_Cit = "Citations" +_CGC = "CitationGeneratedContent" +_CGCL = "CitationGeneratedContentList" +_CCB = "CitationsContentBlock" +_ci = "citations" +_CC = "CitationsConfig" +_DF = "DocumentFormat" +_PDF = "PDF" +_pd = "pdf" +_CSV = "CSV" +_cs = "csv" +_DOC = "DOC" +_doc = "doc" +_DOCX = "DOCX" +_docx = "docx" +_XLS = "XLS" +_x = "xls" +_XLSX = "XLSX" +_xl = "xlsx" +_HTML = "HTML" +_ht = "html" +_TXT = "TXT" +_tx = "txt" +_MD = "MD" +_md = "md" +_DCB = "DocumentContentBlock" +_DCBo = "DocumentContentBlocks" +_DS = "DocumentSource" +_DB = "DocumentBlock" +_cont = "context" +_GCIF = "GuardrailConverseImageFormat" +_GCIS = "GuardrailConverseImageSource" +_GCIB = "GuardrailConverseImageBlock" +_GCCQ = "GuardrailConverseContentQualifier" +_GCCQL = "GuardrailConverseContentQualifierList" +_GCTB = "GuardrailConverseTextBlock" +_GCCBu = "GuardrailConverseContentBlock" +_IF = "ImageFormat" +_GIF_ = "GIF" +_gi = "gif" +_WEBP = "WEBP" +_webp = "webp" +_IS = "ImageSource" +_IB = "ImageBlock" +_RTB = "ReasoningTextBlock" +_si = "signature" +_RCB = "ReasoningContentBlock" +_rT = "reasoningText" +_rC = "redactedContent" +_SRCB = "SearchResultContentBlock" +_SRCBe = "SearchResultContentBlocks" +_SRB = "SearchResultBlock" +_TR = "ToolReference" +_sN = "serverName" +_TAB = "ToolAdditionBlock" +_too = "tool" +_TRB = "ToolRemovalBlock" +_VF = "VideoFormat" +_MOV = "MOV" +_mo = "mov" +_FLV = "FLV" +_flv = "flv" +_MPG = "MPG" +_mpg_ = "mpg" +_WMV = "WMV" +_wm = "wmv" +_TG = "THREE_GP" +_tg = "three_gp" +_VS = "VideoSource" +_VB = "VideoBlock" +_TRCB = "ToolResultContentBlock" +_js = "json" +_docu = "document" +_vi = "video" +_sRe = "searchResult" +_TRCBo = "ToolResultContentBlocks" +_TRS = "ToolResultStatus" +_SUCCESS = "SUCCESS" +_su = "success" +_ERROR = "ERROR" +_TUI = "ToolUseId" +_TRBo = "ToolResultBlock" +_tUI = "toolUseId" +_TN = "ToolName" +_TUT = "ToolUseType" +_STU = "SERVER_TOOL_USE" +_stu = "server_tool_use" +_TUB = "ToolUseBlock" +_inp = "input" +_CB = "ContentBlock" +_au = "audio" +_tUo = "toolUse" +_tR = "toolResult" +_gCu = "guardContent" +_cPa = "cachePoint" +_rCe = "reasoningContent" +_cC = "citationsContent" +_tAo = "toolAddition" +_tRo = "toolRemoval" +_CBo = "ContentBlocks" +_CR = "ConversationRole" +_M = "Message" +_Me = "Messages" +_CMI = "ConversationalModelId" +_JSD = "JsonSchemaDefinition" +_sch = "schema" +_des = "description" +_OFS = "OutputFormatStructure" +_jS = "jsonSchema" +_OFT = "OutputFormatType" +_JS = "JSON_SCHEMA" +_js_ = "json_schema" +_OF = "OutputFormat" +_str = "structure" +_OC = "OutputConfig" +_tF = "textFormat" +_eff = "effort" +_PCL = "PerformanceConfigLatency" +_STANDARD = "STANDARD" +_stan = "standard" +_OPTIMIZED = "OPTIMIZED" +_opt = "optimized" +_PC = "PerformanceConfiguration" +_la = "latency" +_PVV = "PromptVariableValues" +_PVM = "PromptVariableMap" +_RM = "RequestMetadata" +_STT = "ServiceTierType" +_PRIORITY = "PRIORITY" +_pri = "priority" +_FLEX = "FLEX" +_fle = "flex" +_RESERVED = "RESERVED" +_rese = "reserved" +_STe = "ServiceTier" +_SCB = "SystemContentBlock" +_SCBy = "SystemContentBlocks" +_ATC = "AnyToolChoice" +_ATCu = "AutoToolChoice" +_STC = "SpecificToolChoice" +_TC = "ToolChoice" +_aut = "auto" +_an = "any" +_STy = "SystemTool" +_TIS = "ToolInputSchema" +_TS = "ToolSpecification" +_iS = "inputSchema" +_stri = "strict" +_To = "Tool" +_tS = "toolSpec" +_sTy = "systemTool" +_Too = "Tools" +_TCo = "ToolConfiguration" +_tool = "tools" +_tCo = "toolChoice" + +GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT: StaticSchema = ( + 18, + n0, + _GCSIR, + 0, + (_res, _tru), + ((lambda: schemas.GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT_LIST, 1), (2, 0)), +) + +GUARDRAIL_CHECKS_RESULTS: StaticSchema = ( + 18, + n0, + _GCRu, + 0, + (_cF, _pA, _sI), + ( + (lambda: schemas.GUARDRAIL_CHECKS_CONTENT_FILTER_RESULT, 0), + (lambda: schemas.GUARDRAIL_CHECKS_PROMPT_ATTACK_RESULT, 0), + (GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_RESULT, 0), + ), +) + +GUARDRAIL_CHECKS_CONTENT_FILTER_USAGE: StaticSchema = ( + 18, + n0, + _GCCFU, + 0, + (_tU,), + ((7, 1),), +) + +GUARDRAIL_CHECKS_PROMPT_ATTACK_USAGE: StaticSchema = ( + 18, + n0, + _GCPAU, + 0, + (_tU,), + ((7, 1),), +) + +GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_USAGE: StaticSchema = ( + 18, + n0, + _GCSIU, + 0, + (_tU,), + ((7, 1),), +) + +GUARDRAIL_CHECKS_USAGE_RESULTS: StaticSchema = ( + 18, + n0, + _GCUR, + 0, + (_cF, _pA, _sI), + ( + (GUARDRAIL_CHECKS_CONTENT_FILTER_USAGE, 0), + (GUARDRAIL_CHECKS_PROMPT_ATTACK_USAGE, 0), + (GUARDRAIL_CHECKS_SENSITIVE_INFORMATION_USAGE, 0), + ), +) + +GUARDRAIL_TRACE: StaticSchema = ( + 14, + n0, + _GTu, + 0, + (_ENABLED, _DISABLED, _EF), + ((-1, {_sV: _en}), (-1, {_sV: _di}), (-1, {_sV: _ef})), +) + +GUARDRAIL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _GCua, + 0, + (_gI, _gV, _trac), + ( + (lambda: schemas.GUARDRAIL_IDENTIFIER, {_smithya: _v_}), + (lambda: schemas.GUARDRAIL_VERSION, {_smithya: _v_}), + (GUARDRAIL_TRACE, {_smithya: _di}), + ), +) + +NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) + +NON_EMPTY_STRING_LIST: StaticSchema = ( + 16, + n0, + _NESL, + 0, + (_me,), + ((NON_EMPTY_STRING, 0),), +) + +INFERENCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IC, + 0, + (_mT, _tem, _tPo, _sSt), + ((7, 0), (9, 0), (9, 0), (NON_EMPTY_STRING_LIST, 0)), +) + +ERROR_BLOCK: StaticSchema = (18, n0, _EB, 4, (_m,), ((3, 0),)) + +AUDIO_FORMAT: StaticSchema = ( + 14, + n0, + _AFu, + 0, + ( + _MP, + _OPUS, + _WAV, + _AAC, + _FLAC, + _MP_, + _OGG, + _MKV, + _MKA, + _XA, + _MA_, + _MPEG, + _MPGA, + _PCM, + _WEBM, + ), + ( + (-1, {_sV: _mp}), + (-1, {_sV: _op}), + (-1, {_sV: _w}), + (-1, {_sV: _aa}), + (-1, {_sV: _fl}), + (-1, {_sV: _mp_}), + (-1, {_sV: _og}), + (-1, {_sV: _mk}), + (-1, {_sV: _mka}), + (-1, {_sV: _xa}), + (-1, {_sV: _ma_}), + (-1, {_sV: _mpe}), + (-1, {_sV: _mpg}), + (-1, {_sV: _pc}), + (-1, {_sV: _we}), + ), +) + +S3_LOCATION: StaticSchema = ( + 18, + n0, + _SL, + 0, + (_ur, _bO), + ((lambda: schemas.S3_URI, 1), (lambda: schemas.ACCOUNT_ID, 0)), +) + +AUDIO_SOURCE: StaticSchema = (19, n0, _AS, 4, (_b, _sLo), ((1, 0), (S3_LOCATION, 0))) + +AUDIO_BLOCK: StaticSchema = ( + 18, + n0, + _AB, + 0, + (_f, _so, _er), + ((AUDIO_FORMAT, 1), (AUDIO_SOURCE, 1), (ERROR_BLOCK, 0)), +) + +CACHE_TTL: StaticSchema = ( + 14, + n0, + _CTTL, + 0, + (_FM, _OH), + ((-1, {_sV: _m_}), (-1, {_sV: _h})), +) + +CACHE_POINT_TYPE: StaticSchema = (14, n0, _CPT, 0, (_DEFAULT,), ((-1, {_sV: _de}),)) + +CACHE_POINT_BLOCK: StaticSchema = ( + 18, + n0, + _CPB, + 0, + (_ty, _tt), + ((CACHE_POINT_TYPE, 1), (CACHE_TTL, 0)), +) + +DOCUMENT_CHAR_LOCATION: StaticSchema = ( + 18, + n0, + _DCL, + 0, + (_dI, _star, _end), + ((7, 0), (7, 0), (7, 0)), +) + +DOCUMENT_CHUNK_LOCATION: StaticSchema = ( + 18, + n0, + _DCLo, + 0, + (_dI, _star, _end), + ((7, 0), (7, 0), (7, 0)), +) + +DOCUMENT_PAGE_LOCATION: StaticSchema = ( + 18, + n0, + _DPL, + 0, + (_dI, _star, _end), + ((7, 0), (7, 0), (7, 0)), +) + +SEARCH_RESULT_LOCATION: StaticSchema = ( + 18, + n0, + _SRL, + 0, + (_sRI, _star, _end), + ((7, 0), (7, 0), (7, 0)), +) + +WEB_LOCATION: StaticSchema = (18, n0, _WL, 0, (_url, _do), ((3, 0), (3, 0))) + +CITATION_LOCATION: StaticSchema = ( + 19, + n0, + _CL, + 0, + (_web, _dC, _dP, _dCo, _sRL), + ( + (WEB_LOCATION, 0), + (DOCUMENT_CHAR_LOCATION, 0), + (DOCUMENT_PAGE_LOCATION, 0), + (DOCUMENT_CHUNK_LOCATION, 0), + (SEARCH_RESULT_LOCATION, 0), + ), +) + +CITATION_SOURCE_CONTENT: StaticSchema = (19, n0, _CSC, 0, (_te,), ((3, 0),)) + +CITATION_SOURCE_CONTENT_LIST: StaticSchema = ( + 16, + n0, + _CSCL, + 0, + (_me,), + ((CITATION_SOURCE_CONTENT, 0),), +) + +CITATION: StaticSchema = ( + 18, + n0, + _Ci, + 0, + (_ti, _so, _sC, _lo), + ((3, 0), (3, 0), (CITATION_SOURCE_CONTENT_LIST, 0), (CITATION_LOCATION, 0)), +) + +CITATIONS: StaticSchema = (16, n0, _Cit, 0, (_me,), ((CITATION, 0),)) + +CITATION_GENERATED_CONTENT: StaticSchema = (19, n0, _CGC, 0, (_te,), ((3, 0),)) + +CITATION_GENERATED_CONTENT_LIST: StaticSchema = ( + 16, + n0, + _CGCL, + 0, + (_me,), + ((CITATION_GENERATED_CONTENT, 0),), +) + +CITATIONS_CONTENT_BLOCK: StaticSchema = ( + 18, + n0, + _CCB, + 0, + (_co, _ci), + ((CITATION_GENERATED_CONTENT_LIST, 0), (CITATIONS, 0)), +) + +CITATIONS_CONFIG: StaticSchema = (18, n0, _CC, 0, (_en,), ((2, 1),)) + +DOCUMENT_FORMAT: StaticSchema = ( + 14, + n0, + _DF, + 0, + (_PDF, _CSV, _DOC, _DOCX, _XLS, _XLSX, _HTML, _TXT, _MD), + ( + (-1, {_sV: _pd}), + (-1, {_sV: _cs}), + (-1, {_sV: _doc}), + (-1, {_sV: _docx}), + (-1, {_sV: _x}), + (-1, {_sV: _xl}), + (-1, {_sV: _ht}), + (-1, {_sV: _tx}), + (-1, {_sV: _md}), + ), +) + +DOCUMENT_CONTENT_BLOCK: StaticSchema = (19, n0, _DCB, 0, (_te,), ((3, 0),)) + +DOCUMENT_CONTENT_BLOCKS: StaticSchema = ( + 16, + n0, + _DCBo, + 0, + (_me,), + ((DOCUMENT_CONTENT_BLOCK, 0),), +) + +DOCUMENT_SOURCE: StaticSchema = ( + 19, + n0, + _DS, + 0, + (_b, _sLo, _te, _co), + ((1, 0), (S3_LOCATION, 0), (3, 0), (DOCUMENT_CONTENT_BLOCKS, 0)), +) + +DOCUMENT_BLOCK: StaticSchema = ( + 18, + n0, + _DB, + 0, + (_f, _n, _so, _cont, _ci), + ( + (DOCUMENT_FORMAT, {_smithya: _tx}), + (3, 1), + (DOCUMENT_SOURCE, 1), + (3, 0), + (CITATIONS_CONFIG, 0), + ), +) + +GUARDRAIL_CONVERSE_IMAGE_FORMAT: StaticSchema = ( + 14, + n0, + _GCIF, + 0, + (_PNG, _JPEG), + ((-1, {_sV: _p}), (-1, {_sV: _j})), +) + +GUARDRAIL_CONVERSE_IMAGE_SOURCE: StaticSchema = (19, n0, _GCIS, 4, (_b,), ((1, 0),)) + +GUARDRAIL_CONVERSE_IMAGE_BLOCK: StaticSchema = ( + 18, + n0, + _GCIB, + 4, + (_f, _so), + ((GUARDRAIL_CONVERSE_IMAGE_FORMAT, 1), (GUARDRAIL_CONVERSE_IMAGE_SOURCE, 1)), +) + +GUARDRAIL_CONVERSE_CONTENT_QUALIFIER: StaticSchema = ( + 14, + n0, + _GCCQ, + 0, + (_GS, _QUERY, _GC), + ((-1, {_sV: _gs}), (-1, {_sV: _q}), (-1, {_sV: _gc})), +) + +GUARDRAIL_CONVERSE_CONTENT_QUALIFIER_LIST: StaticSchema = ( + 16, + n0, + _GCCQL, + 0, + (_me,), + ((GUARDRAIL_CONVERSE_CONTENT_QUALIFIER, 0),), +) + +GUARDRAIL_CONVERSE_TEXT_BLOCK: StaticSchema = ( + 18, + n0, + _GCTB, + 0, + (_te, _qu), + ((3, 1), (GUARDRAIL_CONVERSE_CONTENT_QUALIFIER_LIST, 0)), +) + +GUARDRAIL_CONVERSE_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _GCCBu, + 0, + (_te, _i), + ((GUARDRAIL_CONVERSE_TEXT_BLOCK, 0), (GUARDRAIL_CONVERSE_IMAGE_BLOCK, 0)), +) + +IMAGE_FORMAT: StaticSchema = ( + 14, + n0, + _IF, + 0, + (_PNG, _JPEG, _GIF_, _WEBP), + ((-1, {_sV: _p}), (-1, {_sV: _j}), (-1, {_sV: _gi}), (-1, {_sV: _webp})), +) + +IMAGE_SOURCE: StaticSchema = (19, n0, _IS, 4, (_b, _sLo), ((1, 0), (S3_LOCATION, 0))) + +IMAGE_BLOCK: StaticSchema = ( + 18, + n0, + _IB, + 0, + (_f, _so, _er), + ((IMAGE_FORMAT, 1), (IMAGE_SOURCE, 1), (ERROR_BLOCK, 0)), +) + +REASONING_TEXT_BLOCK: StaticSchema = (18, n0, _RTB, 4, (_te, _si), ((3, 1), (3, 0))) + +REASONING_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _RCB, + 4, + (_rT, _rC), + ((REASONING_TEXT_BLOCK, 0), (1, 0)), +) + +SEARCH_RESULT_CONTENT_BLOCK: StaticSchema = (18, n0, _SRCB, 0, (_te,), ((3, 1),)) + +SEARCH_RESULT_CONTENT_BLOCKS: StaticSchema = ( + 16, + n0, + _SRCBe, + 0, + (_me,), + ((SEARCH_RESULT_CONTENT_BLOCK, 0),), +) + +SEARCH_RESULT_BLOCK: StaticSchema = ( + 18, + n0, + _SRB, + 0, + (_so, _ti, _co, _ci), + ((3, 1), (3, 1), (SEARCH_RESULT_CONTENT_BLOCKS, 1), (CITATIONS_CONFIG, 0)), +) + +TOOL_REFERENCE: StaticSchema = ( + 18, + n0, + _TR, + 0, + (_ty, _n, _sN), + ((3, 0), (3, 0), (3, 0)), +) + +TOOL_ADDITION_BLOCK: StaticSchema = (18, n0, _TAB, 0, (_too,), ((TOOL_REFERENCE, 1),)) + +TOOL_REMOVAL_BLOCK: StaticSchema = (18, n0, _TRB, 0, (_too,), ((TOOL_REFERENCE, 1),)) + +VIDEO_FORMAT: StaticSchema = ( + 14, + n0, + _VF, + 0, + (_MKV, _MOV, _MP_, _WEBM, _FLV, _MPEG, _MPG, _WMV, _TG), + ( + (-1, {_sV: _mk}), + (-1, {_sV: _mo}), + (-1, {_sV: _mp_}), + (-1, {_sV: _we}), + (-1, {_sV: _flv}), + (-1, {_sV: _mpe}), + (-1, {_sV: _mpg_}), + (-1, {_sV: _wm}), + (-1, {_sV: _tg}), + ), +) + +VIDEO_SOURCE: StaticSchema = (19, n0, _VS, 0, (_b, _sLo), ((1, 0), (S3_LOCATION, 0))) + +VIDEO_BLOCK: StaticSchema = ( + 18, + n0, + _VB, + 0, + (_f, _so), + ((VIDEO_FORMAT, 1), (VIDEO_SOURCE, 1)), +) + +TOOL_RESULT_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _TRCB, + 0, + (_js, _te, _i, _docu, _vi, _sRe), + ( + (13, 0), + (3, 0), + (IMAGE_BLOCK, 0), + (DOCUMENT_BLOCK, 0), + (VIDEO_BLOCK, 0), + (SEARCH_RESULT_BLOCK, 0), + ), +) + +TOOL_RESULT_CONTENT_BLOCKS: StaticSchema = ( + 16, + n0, + _TRCBo, + 0, + (_me,), + ((TOOL_RESULT_CONTENT_BLOCK, 0),), +) + +TOOL_RESULT_STATUS: StaticSchema = ( + 14, + n0, + _TRS, + 0, + (_SUCCESS, _ERROR), + ((-1, {_sV: _su}), (-1, {_sV: _er})), +) + +TOOL_USE_ID: StaticSchema = (3, n0, _TUI, 0) + +TOOL_RESULT_BLOCK: StaticSchema = ( + 18, + n0, + _TRBo, + 0, + (_tUI, _co, _st, _ty), + ( + (TOOL_USE_ID, 1), + (TOOL_RESULT_CONTENT_BLOCKS, 1), + (TOOL_RESULT_STATUS, 0), + (3, 0), + ), +) + +TOOL_NAME: StaticSchema = (3, n0, _TN, 0) + +TOOL_USE_TYPE: StaticSchema = (14, n0, _TUT, 0, (_STU,), ((-1, {_sV: _stu}),)) + +TOOL_USE_BLOCK: StaticSchema = ( + 18, + n0, + _TUB, + 0, + (_tUI, _n, _inp, _ty), + ((TOOL_USE_ID, 1), (TOOL_NAME, 1), (13, 1), (TOOL_USE_TYPE, 0)), +) + +CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _CB, + 0, + (_te, _i, _docu, _vi, _au, _tUo, _tR, _gCu, _cPa, _rCe, _cC, _sRe, _tAo, _tRo), + ( + (3, 0), + (IMAGE_BLOCK, 0), + (DOCUMENT_BLOCK, 0), + (VIDEO_BLOCK, 0), + (AUDIO_BLOCK, 0), + (TOOL_USE_BLOCK, 0), + (TOOL_RESULT_BLOCK, 0), + (GUARDRAIL_CONVERSE_CONTENT_BLOCK, 0), + (CACHE_POINT_BLOCK, 0), + (REASONING_CONTENT_BLOCK, 0), + (CITATIONS_CONTENT_BLOCK, 0), + (SEARCH_RESULT_BLOCK, 0), + (TOOL_ADDITION_BLOCK, 0), + (TOOL_REMOVAL_BLOCK, 0), + ), +) + +CONTENT_BLOCKS: StaticSchema = (16, n0, _CBo, 0, (_me,), ((CONTENT_BLOCK, 0),)) + +CONVERSATION_ROLE: StaticSchema = ( + 14, + n0, + _CR, + 0, + (_USER, _ASSISTANT, _SYSTEM), + ((-1, {_sV: _us}), (-1, {_sV: _ass}), (-1, {_sV: _sy})), +) + +MESSAGE: StaticSchema = ( + 18, + n0, + _M, + 0, + (_ro, _co), + ((CONVERSATION_ROLE, 1), (CONTENT_BLOCKS, 1)), +) + +MESSAGES: StaticSchema = (16, n0, _Me, 0, (_me,), ((MESSAGE, 0),)) + +CONVERSATIONAL_MODEL_ID: StaticSchema = (3, n0, _CMI, 0) + +JSON_SCHEMA_DEFINITION: StaticSchema = ( + 18, + n0, + _JSD, + 0, + (_sch, _n, _des), + ((3, 1), (3, 0), (3, 0)), +) + +OUTPUT_FORMAT_STRUCTURE: StaticSchema = ( + 19, + n0, + _OFS, + 4, + (_jS,), + ((JSON_SCHEMA_DEFINITION, 0),), +) + +OUTPUT_FORMAT_TYPE: StaticSchema = (14, n0, _OFT, 0, (_JS,), ((-1, {_sV: _js_}),)) + +OUTPUT_FORMAT: StaticSchema = ( + 18, + n0, + _OF, + 0, + (_ty, _str), + ((OUTPUT_FORMAT_TYPE, 1), (OUTPUT_FORMAT_STRUCTURE, 1)), +) + +OUTPUT_CONFIG: StaticSchema = ( + 18, + n0, + _OC, + 0, + (_tF, _eff), + ((OUTPUT_FORMAT, 0), (3, 0)), +) + +PERFORMANCE_CONFIG_LATENCY: StaticSchema = ( + 14, + n0, + _PCL, + 0, + (_STANDARD, _OPTIMIZED), + ((-1, {_sV: _stan}), (-1, {_sV: _opt})), +) + +PERFORMANCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PC, + 0, + (_la,), + ((PERFORMANCE_CONFIG_LATENCY, {_smithya: _stan}),), +) + +PROMPT_VARIABLE_VALUES: StaticSchema = (19, n0, _PVV, 0, (_te,), ((3, 0),)) + +PROMPT_VARIABLE_MAP: StaticSchema = ( + 17, + n0, + _PVM, + 4, + (_k, _v), + ((3, 0), (PROMPT_VARIABLE_VALUES, 0)), +) + +REQUEST_METADATA: StaticSchema = (17, n0, _RM, 4, (_k, _v), ((3, 0), (3, 0))) + +SERVICE_TIER_TYPE: StaticSchema = ( + 14, + n0, + _STT, + 0, + (_PRIORITY, _DEFAULT, _FLEX, _RESERVED), + ((-1, {_sV: _pri}), (-1, {_sV: _de}), (-1, {_sV: _fle}), (-1, {_sV: _rese})), +) + +SERVICE_TIER: StaticSchema = (18, n0, _STe, 0, (_ty,), ((SERVICE_TIER_TYPE, 1),)) + +SYSTEM_CONTENT_BLOCK: StaticSchema = ( + 19, + n0, + _SCB, + 0, + (_te, _gCu, _cPa), + ( + (NON_EMPTY_STRING, 0), + (GUARDRAIL_CONVERSE_CONTENT_BLOCK, 0), + (CACHE_POINT_BLOCK, 0), + ), +) + +SYSTEM_CONTENT_BLOCKS: StaticSchema = ( + 16, + n0, + _SCBy, + 0, + (_me,), + ((SYSTEM_CONTENT_BLOCK, 0),), +) + +ANY_TOOL_CHOICE: StaticSchema = (18, n0, _ATC, 0) + +AUTO_TOOL_CHOICE: StaticSchema = (18, n0, _ATCu, 0) + +SPECIFIC_TOOL_CHOICE: StaticSchema = (18, n0, _STC, 0, (_n,), ((TOOL_NAME, 1),)) + +TOOL_CHOICE: StaticSchema = ( + 19, + n0, + _TC, + 0, + (_aut, _an, _too), + ((AUTO_TOOL_CHOICE, 0), (ANY_TOOL_CHOICE, 0), (SPECIFIC_TOOL_CHOICE, 0)), +) + +SYSTEM_TOOL: StaticSchema = (18, n0, _STy, 0, (_n,), ((TOOL_NAME, 1),)) + +TOOL_INPUT_SCHEMA: StaticSchema = (19, n0, _TIS, 0, (_js,), ((13, 0),)) + +TOOL_SPECIFICATION: StaticSchema = ( + 18, + n0, + _TS, + 0, + (_n, _des, _iS, _stri), + ((TOOL_NAME, 1), (NON_EMPTY_STRING, 0), (TOOL_INPUT_SCHEMA, 1), (2, 0)), +) + +TOOL: StaticSchema = ( + 19, + n0, + _To, + 0, + (_tS, _sTy, _cPa), + ((TOOL_SPECIFICATION, 0), (SYSTEM_TOOL, 0), (CACHE_POINT_BLOCK, 0)), +) + +TOOLS: StaticSchema = (16, n0, _Too, 0, (_me,), ((TOOL, 0),)) + +TOOL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TCo, + 0, + (_tool, _tCo), + ((TOOLS, 1), (TOOL_CHOICE, 0)), +) diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_3.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_3.py new file mode 100644 index 000000000..8036c4ad3 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas_3.py @@ -0,0 +1,1085 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrockruntime" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_me = "member" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_smit = "smithy.api#sensitive" +_sV = "smithy.api#enumValue" +_smith = "smithy.api#output" +_st = "status" +_smithy = "smithy.api#http" +_smithya = "smithy.api#default" +_k = "key" +_v = "value" +_mI = "modelId" +_b = "bytes" +_f = "format" +_so = "source" +_te = "text" +_i = "image" +_gI = "guardrailIdentifier" +_gV = "guardrailVersion" +_GI_ = "GUARDRAIL_INTERVENED" +_ty = "type" +_u = "usage" +_n = "name" +_aR = "actionReason" +_sy = "system" +_ro = "role" +_mes = "messages" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_di = "disabled" +_EF = "ENABLED_FULL" +_v_ = "" +_trac = "trace" +_er = "error" +_tt = "ttl" +_star = "start" +_ti = "title" +_sC = "sourceContent" +_lo = "location" +_si = "signature" +_rC = "redactedContent" +_js = "json" +_tUI = "toolUseId" +_inp = "input" +_tUo = "toolUse" +_tR = "toolResult" +_rCe = "reasoningContent" +_stan = "standard" +_CI = "ConverseInput" +_cCR = "com.amazonaws.bedrockruntime#ConverseRequest" +_iC = "inferenceConfig" +_tCoo = "toolConfig" +_gCua = "guardrailConfig" +_aMRF = "additionalModelRequestFields" +_pV = "promptVariables" +_aMRFP = "additionalModelResponseFieldPaths" +_rM = "requestMetadata" +_pC = "performanceConfig" +_sTe = "serviceTier" +_oC = "outputConfig" +_CM = "ConverseMetrics" +_lM = "latencyMs" +_CO = "ConverseOutput" +_SR = "StopReason" +_ET = "END_TURN" +_et = "end_turn" +_TU = "TOOL_USE" +_tu = "tool_use" +_MT = "MAX_TOKENS" +_mt = "max_tokens" +_SS = "STOP_SEQUENCE" +_ss = "stop_sequence" +_gi_ = "guardrail_intervened" +_CF = "CONTENT_FILTERED" +_cf = "content_filtered" +_MMO = "MALFORMED_MODEL_OUTPUT" +_mmo = "malformed_model_output" +_MTU = "MALFORMED_TOOL_USE" +_mtu = "malformed_tool_use" +_MCWE = "MODEL_CONTEXT_WINDOW_EXCEEDED" +_mcwe = "model_context_window_exceeded" +_GAM = "GuardrailAssessmentMap" +_MO = "ModelOutputs" +_GALM = "GuardrailAssessmentListMap" +_GTA = "GuardrailTraceAssessment" +_mO = "modelOutput" +_iAn = "inputAssessment" +_oA = "outputAssessments" +_IMI = "InvokedModelId" +_PRT = "PromptRouterTrace" +_iMI = "invokedModelId" +_CT = "ConverseTrace" +_gu = "guardrail" +_pR = "promptRouter" +_CD = "CacheDetail" +_iT = "inputTokens" +_CDL = "CacheDetailsList" +_TUo = "TokenUsage" +_oT = "outputTokens" +_tT = "totalTokens" +_cRIT = "cacheReadInputTokens" +_cWIT = "cacheWriteInputTokens" +_cD = "cacheDetails" +_COO = "ConverseOperationOutput" +_cCRo = "com.amazonaws.bedrockruntime#ConverseResponse" +_out = "output" +_sRt = "stopReason" +_met = "metrics" +_aMRFd = "additionalModelResponseFields" +_SCt = "StatusCode" +_MEE = "ModelErrorException" +_oSC = "originalStatusCode" +_rN = "resourceName" +_MNRE = "ModelNotReadyException" +_MTE = "ModelTimeoutException" +_Co = "Converse" +_GSPM = "GuardrailStreamProcessingMode" +_SYNC = "SYNC" +_syn = "sync" +_ASYNC = "ASYNC" +_asy = "async" +_GSC = "GuardrailStreamConfiguration" +_sPM = "streamProcessingMode" +_CSI = "ConverseStreamInput" +_cCSR = "com.amazonaws.bedrockruntime#ConverseStreamRequest" +_NNI = "NonNegativeInteger" +_CSCD = "CitationSourceContentDelta" +_CSCLD = "CitationSourceContentListDelta" +_CDi = "CitationsDelta" +_IBD = "ImageBlockDelta" +_RCBD = "ReasoningContentBlockDelta" +_TRBD = "ToolResultBlockDelta" +_TRBDo = "ToolResultBlocksDelta" +_TUBD = "ToolUseBlockDelta" +_CBD = "ContentBlockDelta" +_cit = "citation" +_CBDE = "ContentBlockDeltaEvent" +_del = "delta" +_cBI = "contentBlockIndex" +_IBS = "ImageBlockStart" +_TRBS = "ToolResultBlockStart" +_TUBS = "ToolUseBlockStart" +_CBS = "ContentBlockStart" +_CBSE = "ContentBlockStartEvent" +_CBSEo = "ContentBlockStopEvent" +_MSE = "MessageStartEvent" +_MSEe = "MessageStopEvent" +_CSM = "ConverseStreamMetrics" +_CST = "ConverseStreamTrace" +_CSME = "ConverseStreamMetadataEvent" +_MSEE = "ModelStreamErrorException" +_oM = "originalMessage" +_CSO = "ConverseStreamOutput" +_smithyap = "smithy.api#streaming" +_mS = "messageStart" +_cBS = "contentBlockStart" +_cBD = "contentBlockDelta" +_cBSo = "contentBlockStop" +_mSe = "messageStop" +_meta = "metadata" +_iSE = "internalServerException" +_mSEE = "modelStreamErrorException" +_vE = "validationException" +_tE = "throttlingException" +_sUE = "serviceUnavailableException" +_CSOO = "ConverseStreamOperationOutput" +_cCSRo = "com.amazonaws.bedrockruntime#ConverseStreamResponse" +_stre = "stream" +_sP = "smithy.api#httpPayload" +_CS = "ConverseStream" +_MTi = "MimeType" +_B = "Body" +_IMIn = "InvokeModelIdentifier" +_RMJ = "RequestMetadataJson" +_Tr = "Trace" +_IMInv = "InvokeModelInput" +_cIMR = "com.amazonaws.bedrockruntime#InvokeModelRequest" +_bo = "body" +_cT = "contentType" +_sH = "smithy.api#httpHeader" +_CT_ = "Content-Type" +_ac = "accept" +_Ac = "Accept" +_XABT = "X-Amzn-Bedrock-Trace" +_XABG = "X-Amzn-Bedrock-GuardrailIdentifier" +_XABG_ = "X-Amzn-Bedrock-GuardrailVersion" +_pCL = "performanceConfigLatency" +_XABPL = "X-Amzn-Bedrock-PerformanceConfig-Latency" +_XABST = "X-Amzn-Bedrock-Service-Tier" +_XABRM = "X-Amzn-Bedrock-Request-Metadata" +_IMO = "InvokeModelOutput" +_cIMRo = "com.amazonaws.bedrockruntime#InvokeModelResponse" +_IM = "InvokeModel" +_PB = "PartBody" +_BIPP = "BidirectionalInputPayloadPart" +_IMWBSI = "InvokeModelWithBidirectionalStreamInput" +_chu = "chunk" +_IMWBSOI = "InvokeModelWithBidirectionalStreamOperationInput" +_cIMWBSR = "com.amazonaws.bedrockruntime#InvokeModelWithBidirectionalStreamRequest" +_BOPP = "BidirectionalOutputPayloadPart" +_IMWBSO = "InvokeModelWithBidirectionalStreamOutput" +_mTE = "modelTimeoutException" +_IMWBSOO = "InvokeModelWithBidirectionalStreamOperationOutput" +_cIMWBSRo = "com.amazonaws.bedrockruntime#InvokeModelWithBidirectionalStreamResponse" +_IMWBS = "InvokeModelWithBidirectionalStream" +_IMWRSI = "InvokeModelWithResponseStreamInput" +_cIMWRSR = "com.amazonaws.bedrockruntime#InvokeModelWithResponseStreamRequest" +_XABA = "X-Amzn-Bedrock-Accept" +_PP = "PayloadPart" +_RS = "ResponseStream" +_IMWRSO = "InvokeModelWithResponseStreamOutput" +_cIMWRSRo = "com.amazonaws.bedrockruntime#InvokeModelWithResponseStreamResponse" +_XABCT = "X-Amzn-Bedrock-Content-Type" +_IMWRS = "InvokeModelWithResponseStream" +_CTR = "ConverseTokensRequest" +_IMTR = "InvokeModelTokensRequest" +_CTI = "CountTokensInput" +_iMn = "invokeModel" +_conv = "converse" +_FMVI = "FoundationModelVersionIdentifier" +_CTOI = "CountTokensOperationInput" +_cCTR = "com.amazonaws.bedrockruntime#CountTokensRequest" +_CTO = "CountTokensOutput" +_cCTRo = "com.amazonaws.bedrockruntime#CountTokensResponse" +_CTo = "CountTokens" +_ABFS = "AmazonBedrockFrontendService" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" +_sBA = "smithy.api#httpBearerAuth" + +CONVERSE_INPUT: StaticSchema = ( + 18, + n0, + _CI, + {_sSI: _cCR, _sm: None}, + (_mI, _mes, _sy, _iC, _tCoo, _gCua, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC), + ( + (lambda: schemas.CONVERSATIONAL_MODEL_ID, 9), + (lambda: schemas.MESSAGES, 0), + (lambda: schemas.SYSTEM_CONTENT_BLOCKS, 0), + (lambda: schemas.INFERENCE_CONFIGURATION, 0), + (lambda: schemas.TOOL_CONFIGURATION, 0), + (lambda: schemas.GUARDRAIL_CONFIGURATION, 0), + (13, 0), + (lambda: schemas.PROMPT_VARIABLE_MAP, 0), + (lambda: schemas.ADDITIONAL_MODEL_RESPONSE_FIELD_PATHS, 0), + (lambda: schemas.REQUEST_METADATA, 0), + (lambda: schemas.PERFORMANCE_CONFIGURATION, 0), + (lambda: schemas.SERVICE_TIER, 0), + (lambda: schemas.OUTPUT_CONFIG, 0), + ), +) + +CONVERSE_OPERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _COO, + {_sSI: _cCRo, _smith: None}, + (_out, _sRt, _u, _met, _aMRFd, _trac, _pC, _sTe), + ( + (lambda: CONVERSE_OUTPUT, 1), + (lambda: STOP_REASON, 1), + (lambda: TOKEN_USAGE, 1), + (lambda: CONVERSE_METRICS, 1), + (13, 0), + (lambda: CONVERSE_TRACE, 0), + (lambda: schemas.PERFORMANCE_CONFIGURATION, 0), + (lambda: schemas.SERVICE_TIER, 0), + ), +) + +CONVERSE: StaticOperationSchema = ( + 23, + n0, + _Co, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/model/{modelId}/converse"} + ) + }, + CONVERSE_INPUT, + CONVERSE_OPERATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: MODEL_ERROR_EXCEPTION, + lambda: MODEL_NOT_READY_EXCEPTION, + lambda: MODEL_TIMEOUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONVERSE_METRICS: StaticSchema = (18, n0, _CM, 0, (_lM,), ((8, 1),)) + +CONVERSE_OUTPUT: StaticSchema = (19, n0, _CO, 0, (_m,), ((lambda: schemas.MESSAGE, 0),)) + +STOP_REASON: StaticSchema = ( + 14, + n0, + _SR, + 0, + (_ET, _TU, _MT, _SS, _GI_, _CF, _MMO, _MTU, _MCWE), + ( + (-1, {_sV: _et}), + (-1, {_sV: _tu}), + (-1, {_sV: _mt}), + (-1, {_sV: _ss}), + (-1, {_sV: _gi_}), + (-1, {_sV: _cf}), + (-1, {_sV: _mmo}), + (-1, {_sV: _mtu}), + (-1, {_sV: _mcwe}), + ), +) + +GUARDRAIL_ASSESSMENT_MAP: StaticSchema = ( + 17, + n0, + _GAM, + 0, + (_k, _v), + ((3, 0), (lambda: schemas.GUARDRAIL_ASSESSMENT, 0)), +) + +MODEL_OUTPUTS: StaticSchema = ( + 16, + n0, + _MO, + 0, + (_me,), + ((lambda: schemas.GUARDRAIL_OUTPUT_TEXT, 0),), +) + +GUARDRAIL_ASSESSMENT_LIST_MAP: StaticSchema = ( + 17, + n0, + _GALM, + 0, + (_k, _v), + ((3, 0), (lambda: schemas.GUARDRAIL_ASSESSMENT_LIST, 0)), +) + +GUARDRAIL_TRACE_ASSESSMENT: StaticSchema = ( + 18, + n0, + _GTA, + 0, + (_mO, _iAn, _oA, _aR), + ( + (MODEL_OUTPUTS, 0), + (GUARDRAIL_ASSESSMENT_MAP, 0), + (GUARDRAIL_ASSESSMENT_LIST_MAP, 0), + (3, 0), + ), +) + +INVOKED_MODEL_ID: StaticSchema = (3, n0, _IMI, 0) + +PROMPT_ROUTER_TRACE: StaticSchema = (18, n0, _PRT, 0, (_iMI,), ((INVOKED_MODEL_ID, 0),)) + +CONVERSE_TRACE: StaticSchema = ( + 18, + n0, + _CT, + 0, + (_gu, _pR), + ((GUARDRAIL_TRACE_ASSESSMENT, 0), (PROMPT_ROUTER_TRACE, 0)), +) + +CACHE_DETAIL: StaticSchema = ( + 18, + n0, + _CD, + 0, + (_tt, _iT), + ((lambda: schemas.CACHE_TTL, 1), (7, 1)), +) + +CACHE_DETAILS_LIST: StaticSchema = (16, n0, _CDL, 0, (_me,), ((CACHE_DETAIL, 0),)) + +TOKEN_USAGE: StaticSchema = ( + 18, + n0, + _TUo, + 0, + (_iT, _oT, _tT, _cRIT, _cWIT, _cD), + ((7, 1), (7, 1), (7, 1), (7, 0), (7, 0), (CACHE_DETAILS_LIST, 0)), +) + +STATUS_CODE: StaticSchema = (7, n0, _SCt, 0) + +MODEL_ERROR_EXCEPTION: StaticSchema = ( + 18, + n0, + _MEE, + {_s: _c, _sE: 424}, + (_m, _oSC, _rN), + ( + (lambda: schemas.NON_BLANK_STRING, 0), + (STATUS_CODE, 0), + (lambda: schemas.NON_BLANK_STRING, 0), + ), +) + +MODEL_NOT_READY_EXCEPTION: StaticSchema = ( + 18, + n0, + _MNRE, + {_s: _c, _sE: 429}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +MODEL_TIMEOUT_EXCEPTION: StaticSchema = ( + 18, + n0, + _MTE, + {_s: _c, _sE: 408}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +GUARDRAIL_STREAM_PROCESSING_MODE: StaticSchema = ( + 14, + n0, + _GSPM, + 0, + (_SYNC, _ASYNC), + ((-1, {_sV: _syn}), (-1, {_sV: _asy})), +) + +GUARDRAIL_STREAM_CONFIGURATION: StaticSchema = ( + 18, + n0, + _GSC, + 0, + (_gI, _gV, _trac, _sPM), + ( + (lambda: schemas.GUARDRAIL_IDENTIFIER, {_smithya: _v_}), + (lambda: schemas.GUARDRAIL_VERSION, {_smithya: _v_}), + (lambda: schemas.GUARDRAIL_TRACE, {_smithya: _di}), + (GUARDRAIL_STREAM_PROCESSING_MODE, {_smithya: _syn}), + ), +) + +CONVERSE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_sSI: _cCSR, _sm: None}, + (_mI, _mes, _sy, _iC, _tCoo, _gCua, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC), + ( + (lambda: schemas.CONVERSATIONAL_MODEL_ID, 9), + (lambda: schemas.MESSAGES, 0), + (lambda: schemas.SYSTEM_CONTENT_BLOCKS, 0), + (lambda: schemas.INFERENCE_CONFIGURATION, 0), + (lambda: schemas.TOOL_CONFIGURATION, 0), + (GUARDRAIL_STREAM_CONFIGURATION, 0), + (13, 0), + (lambda: schemas.PROMPT_VARIABLE_MAP, 0), + (lambda: schemas.ADDITIONAL_MODEL_RESPONSE_FIELD_PATHS, 0), + (lambda: schemas.REQUEST_METADATA, 0), + (lambda: schemas.PERFORMANCE_CONFIGURATION, 0), + (lambda: schemas.SERVICE_TIER, 0), + (lambda: schemas.OUTPUT_CONFIG, 0), + ), +) + +CONVERSE_STREAM_OPERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSOO, + {_sSI: _cCSRo, _smith: None}, + (_stre,), + ((lambda: CONVERSE_STREAM_OUTPUT, 16),), +) + +CONVERSE_STREAM: StaticOperationSchema = ( + 23, + n0, + _CS, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/model/{modelId}/converse-stream"} + ) + }, + CONVERSE_STREAM_INPUT, + CONVERSE_STREAM_OPERATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + MODEL_ERROR_EXCEPTION, + MODEL_NOT_READY_EXCEPTION, + MODEL_TIMEOUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +NON_NEGATIVE_INTEGER: StaticSchema = (7, n0, _NNI, 0) + +CITATION_SOURCE_CONTENT_DELTA: StaticSchema = (18, n0, _CSCD, 0, (_te,), ((3, 0),)) + +CITATION_SOURCE_CONTENT_LIST_DELTA: StaticSchema = ( + 16, + n0, + _CSCLD, + 0, + (_me,), + ((CITATION_SOURCE_CONTENT_DELTA, 0),), +) + +CITATIONS_DELTA: StaticSchema = ( + 18, + n0, + _CDi, + 0, + (_ti, _so, _sC, _lo), + ( + (3, 0), + (3, 0), + (CITATION_SOURCE_CONTENT_LIST_DELTA, 0), + (lambda: schemas.CITATION_LOCATION, 0), + ), +) + +IMAGE_BLOCK_DELTA: StaticSchema = ( + 18, + n0, + _IBD, + 0, + (_so, _er), + ((lambda: schemas.IMAGE_SOURCE, 0), (lambda: schemas.ERROR_BLOCK, 0)), +) + +REASONING_CONTENT_BLOCK_DELTA: StaticSchema = ( + 19, + n0, + _RCBD, + 4, + (_te, _rC, _si), + ((3, 0), (1, 0), (3, 0)), +) + +TOOL_RESULT_BLOCK_DELTA: StaticSchema = ( + 19, + n0, + _TRBD, + 0, + (_te, _js), + ((3, 0), (13, 0)), +) + +TOOL_RESULT_BLOCKS_DELTA: StaticSchema = ( + 16, + n0, + _TRBDo, + 0, + (_me,), + ((TOOL_RESULT_BLOCK_DELTA, 0),), +) + +TOOL_USE_BLOCK_DELTA: StaticSchema = (18, n0, _TUBD, 0, (_inp,), ((3, 1),)) + +CONTENT_BLOCK_DELTA: StaticSchema = ( + 19, + n0, + _CBD, + 0, + (_te, _tUo, _tR, _rCe, _cit, _i), + ( + (3, 0), + (TOOL_USE_BLOCK_DELTA, 0), + (TOOL_RESULT_BLOCKS_DELTA, 0), + (REASONING_CONTENT_BLOCK_DELTA, 0), + (CITATIONS_DELTA, 0), + (IMAGE_BLOCK_DELTA, 0), + ), +) + +CONTENT_BLOCK_DELTA_EVENT: StaticSchema = ( + 18, + n0, + _CBDE, + 0, + (_del, _cBI), + ((CONTENT_BLOCK_DELTA, 1), (NON_NEGATIVE_INTEGER, 1)), +) + +IMAGE_BLOCK_START: StaticSchema = ( + 18, + n0, + _IBS, + 0, + (_f,), + ((lambda: schemas.IMAGE_FORMAT, 1),), +) + +TOOL_RESULT_BLOCK_START: StaticSchema = ( + 18, + n0, + _TRBS, + 0, + (_tUI, _ty, _st), + ((lambda: schemas.TOOL_USE_ID, 1), (3, 0), (lambda: schemas.TOOL_RESULT_STATUS, 0)), +) + +TOOL_USE_BLOCK_START: StaticSchema = ( + 18, + n0, + _TUBS, + 0, + (_tUI, _n, _ty), + ( + (lambda: schemas.TOOL_USE_ID, 1), + (lambda: schemas.TOOL_NAME, 1), + (lambda: schemas.TOOL_USE_TYPE, 0), + ), +) + +CONTENT_BLOCK_START: StaticSchema = ( + 19, + n0, + _CBS, + 0, + (_tUo, _tR, _i), + ((TOOL_USE_BLOCK_START, 0), (TOOL_RESULT_BLOCK_START, 0), (IMAGE_BLOCK_START, 0)), +) + +CONTENT_BLOCK_START_EVENT: StaticSchema = ( + 18, + n0, + _CBSE, + 0, + (_star, _cBI), + ((CONTENT_BLOCK_START, 1), (NON_NEGATIVE_INTEGER, 1)), +) + +CONTENT_BLOCK_STOP_EVENT: StaticSchema = ( + 18, + n0, + _CBSEo, + 0, + (_cBI,), + ((NON_NEGATIVE_INTEGER, 1),), +) + +MESSAGE_START_EVENT: StaticSchema = ( + 18, + n0, + _MSE, + 0, + (_ro,), + ((lambda: schemas.CONVERSATION_ROLE, 1),), +) + +MESSAGE_STOP_EVENT: StaticSchema = ( + 18, + n0, + _MSEe, + 0, + (_sRt, _aMRFd), + ((STOP_REASON, 1), (13, 0)), +) + +CONVERSE_STREAM_METRICS: StaticSchema = (18, n0, _CSM, 0, (_lM,), ((8, 1),)) + +CONVERSE_STREAM_TRACE: StaticSchema = ( + 18, + n0, + _CST, + 0, + (_gu, _pR), + ((GUARDRAIL_TRACE_ASSESSMENT, 0), (PROMPT_ROUTER_TRACE, 0)), +) + +CONVERSE_STREAM_METADATA_EVENT: StaticSchema = ( + 18, + n0, + _CSME, + 0, + (_u, _met, _trac, _pC, _sTe), + ( + (TOKEN_USAGE, 1), + (CONVERSE_STREAM_METRICS, 1), + (CONVERSE_STREAM_TRACE, 0), + (lambda: schemas.PERFORMANCE_CONFIGURATION, 0), + (lambda: schemas.SERVICE_TIER, 0), + ), +) + +MODEL_STREAM_ERROR_EXCEPTION: StaticSchema = ( + 18, + n0, + _MSEE, + {_s: _c, _sE: 424}, + (_m, _oSC, _oM), + ( + (lambda: schemas.NON_BLANK_STRING, 0), + (STATUS_CODE, 0), + (lambda: schemas.NON_BLANK_STRING, 0), + ), +) + +CONVERSE_STREAM_OUTPUT: StaticSchema = ( + 19, + n0, + _CSO, + {_smithyap: None}, + (_mS, _cBS, _cBD, _cBSo, _mSe, _meta, _iSE, _mSEE, _vE, _tE, _sUE), + ( + (MESSAGE_START_EVENT, 0), + (CONTENT_BLOCK_START_EVENT, 0), + (CONTENT_BLOCK_DELTA_EVENT, 0), + (CONTENT_BLOCK_STOP_EVENT, 0), + (MESSAGE_STOP_EVENT, 0), + (CONVERSE_STREAM_METADATA_EVENT, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (MODEL_STREAM_ERROR_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, 0), + ), +) + +MIME_TYPE: StaticSchema = (3, n0, _MTi, 0) + +BODY: StaticSchema = (1, n0, _B, 4) + +INVOKE_MODEL_IDENTIFIER: StaticSchema = (3, n0, _IMIn, 0) + +REQUEST_METADATA_JSON: StaticSchema = (3, n0, _RMJ, 4) + +TRACE: StaticSchema = ( + 14, + n0, + _Tr, + 0, + (_ENABLED, _DISABLED, _EF), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _EF})), +) + +INVOKE_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _IMInv, + {_sSI: _cIMR, _sm: None}, + (_bo, _cT, _ac, _mI, _trac, _gI, _gV, _pCL, _sTe, _rM), + ( + (BODY, 16), + (MIME_TYPE, {_sH: _CT_}), + (MIME_TYPE, {_sH: _Ac}), + (INVOKE_MODEL_IDENTIFIER, 9), + (TRACE, {_sH: _XABT}), + (lambda: schemas.GUARDRAIL_IDENTIFIER, {_sH: _XABG}), + (lambda: schemas.GUARDRAIL_VERSION, {_sH: _XABG_}), + (lambda: schemas.PERFORMANCE_CONFIG_LATENCY, {_smithya: _stan, _sH: _XABPL}), + (lambda: schemas.SERVICE_TIER_TYPE, {_sH: _XABST}), + (REQUEST_METADATA_JSON, {_sH: _XABRM}), + ), +) + +INVOKE_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _IMO, + {_sSI: _cIMRo, _smith: None}, + (_bo, _cT, _pCL, _sTe), + ( + (BODY, 17), + (MIME_TYPE, {_sH: _CT_, _smi: None}), + (lambda: schemas.PERFORMANCE_CONFIG_LATENCY, {_sH: _XABPL}), + (lambda: schemas.SERVICE_TIER_TYPE, {_sH: _XABST}), + ), +) + +INVOKE_MODEL: StaticOperationSchema = ( + 23, + n0, + _IM, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/model/{modelId}/invoke"} + ) + }, + INVOKE_MODEL_INPUT, + INVOKE_MODEL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + MODEL_ERROR_EXCEPTION, + MODEL_NOT_READY_EXCEPTION, + MODEL_TIMEOUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PART_BODY: StaticSchema = (1, n0, _PB, 4) + +BIDIRECTIONAL_INPUT_PAYLOAD_PART: StaticSchema = ( + 18, + n0, + _BIPP, + 4, + (_b,), + ((PART_BODY, 0),), +) + +INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_INPUT: StaticSchema = ( + 19, + n0, + _IMWBSI, + {_smithyap: None}, + (_chu,), + ((BIDIRECTIONAL_INPUT_PAYLOAD_PART, 0),), +) + +INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_INPUT: StaticSchema = ( + 18, + n0, + _IMWBSOI, + {_sSI: _cIMWBSR, _sm: None}, + (_mI, _bo), + ((INVOKE_MODEL_IDENTIFIER, 9), (INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_INPUT, 17)), +) + +INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _IMWBSOO, + {_sSI: _cIMWBSRo, _smith: None}, + (_bo,), + ((lambda: INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OUTPUT, 17),), +) + +INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM: StaticOperationSchema = ( + 23, + n0, + _IMWBS, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/model/{modelId}/invoke-with-bidirectional-stream", + } + ) + }, + INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_INPUT, + INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + MODEL_ERROR_EXCEPTION, + MODEL_NOT_READY_EXCEPTION, + MODEL_STREAM_ERROR_EXCEPTION, + MODEL_TIMEOUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BIDIRECTIONAL_OUTPUT_PAYLOAD_PART: StaticSchema = ( + 18, + n0, + _BOPP, + 4, + (_b,), + ((PART_BODY, 0),), +) + +INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OUTPUT: StaticSchema = ( + 19, + n0, + _IMWBSO, + {_smithyap: None}, + (_chu, _iSE, _mSEE, _vE, _tE, _mTE, _sUE), + ( + (BIDIRECTIONAL_OUTPUT_PAYLOAD_PART, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (MODEL_STREAM_ERROR_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (MODEL_TIMEOUT_EXCEPTION, 0), + (lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, 0), + ), +) + +INVOKE_MODEL_WITH_RESPONSE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _IMWRSI, + {_sSI: _cIMWRSR, _sm: None}, + (_bo, _cT, _ac, _mI, _trac, _gI, _gV, _pCL, _sTe, _rM), + ( + (BODY, 16), + (MIME_TYPE, {_sH: _CT_}), + (MIME_TYPE, {_sH: _XABA}), + (INVOKE_MODEL_IDENTIFIER, 9), + (TRACE, {_sH: _XABT}), + (lambda: schemas.GUARDRAIL_IDENTIFIER, {_sH: _XABG}), + (lambda: schemas.GUARDRAIL_VERSION, {_sH: _XABG_}), + (lambda: schemas.PERFORMANCE_CONFIG_LATENCY, {_smithya: _stan, _sH: _XABPL}), + (lambda: schemas.SERVICE_TIER_TYPE, {_sH: _XABST}), + (REQUEST_METADATA_JSON, {_sH: _XABRM}), + ), +) + +INVOKE_MODEL_WITH_RESPONSE_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _IMWRSO, + {_sSI: _cIMWRSRo, _smith: None}, + (_bo, _cT, _pCL, _sTe), + ( + (lambda: RESPONSE_STREAM, 17), + (MIME_TYPE, {_sH: _XABCT, _smi: None}), + (lambda: schemas.PERFORMANCE_CONFIG_LATENCY, {_sH: _XABPL}), + (lambda: schemas.SERVICE_TIER_TYPE, {_sH: _XABST}), + ), +) + +INVOKE_MODEL_WITH_RESPONSE_STREAM: StaticOperationSchema = ( + 23, + n0, + _IMWRS, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/model/{modelId}/invoke-with-response-stream", + } + ) + }, + INVOKE_MODEL_WITH_RESPONSE_STREAM_INPUT, + INVOKE_MODEL_WITH_RESPONSE_STREAM_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + MODEL_ERROR_EXCEPTION, + MODEL_NOT_READY_EXCEPTION, + MODEL_STREAM_ERROR_EXCEPTION, + MODEL_TIMEOUT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PAYLOAD_PART: StaticSchema = (18, n0, _PP, 4, (_b,), ((PART_BODY, 0),)) + +RESPONSE_STREAM: StaticSchema = ( + 19, + n0, + _RS, + {_smithyap: None}, + (_chu, _iSE, _mSEE, _vE, _tE, _mTE, _sUE), + ( + (PAYLOAD_PART, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (MODEL_STREAM_ERROR_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (MODEL_TIMEOUT_EXCEPTION, 0), + (lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, 0), + ), +) + +CONVERSE_TOKENS_REQUEST: StaticSchema = ( + 18, + n0, + _CTR, + 0, + (_mes, _sy, _tCoo, _aMRF), + ( + (lambda: schemas.MESSAGES, 0), + (lambda: schemas.SYSTEM_CONTENT_BLOCKS, 0), + (lambda: schemas.TOOL_CONFIGURATION, 0), + (13, 0), + ), +) + +INVOKE_MODEL_TOKENS_REQUEST: StaticSchema = (18, n0, _IMTR, 0, (_bo,), ((BODY, 1),)) + +COUNT_TOKENS_INPUT: StaticSchema = ( + 19, + n0, + _CTI, + 0, + (_iMn, _conv), + ((INVOKE_MODEL_TOKENS_REQUEST, 0), (CONVERSE_TOKENS_REQUEST, 0)), +) + +FOUNDATION_MODEL_VERSION_IDENTIFIER: StaticSchema = (3, n0, _FMVI, 0) + +COUNT_TOKENS_OPERATION_INPUT: StaticSchema = ( + 18, + n0, + _CTOI, + {_sSI: _cCTR, _sm: None}, + (_mI, _inp), + ((FOUNDATION_MODEL_VERSION_IDENTIFIER, 9), (COUNT_TOKENS_INPUT, 1)), +) + +COUNT_TOKENS_OUTPUT: StaticSchema = ( + 18, + n0, + _CTO, + {_sSI: _cCTRo, _smith: None}, + (_iT,), + ((7, 1),), +) + +COUNT_TOKENS: StaticOperationSchema = ( + 23, + n0, + _CTo, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/model/{modelId}/count-tokens"} + ) + }, + COUNT_TOKENS_OPERATION_INPUT, + COUNT_TOKENS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AMAZON_BEDROCK_FRONTEND_SERVICE: StaticSchema = ( + 21, + n0, + _ABFS, + { + _aw: MappingProxyType({"name": "bedrock"}), + _aws: MappingProxyType( + { + "sdkId": "Bedrock Runtime", + "endpointPrefix": "bedrock-runtime", + "cloudTrailEventSource": "bedrock.amazonaws.com", + } + ), + _aJ: MappingProxyType( + {"http": ("h2", "http/1.1"), "eventStreamHttp": ("h2", "http/1.1")} + ), + _sBA: None, + }, +) diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/aio/client.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/aio/client.py index 4fcb55117..26d6d8a89 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/aio/client.py +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncDuplexEventStream, AsyncOutputEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/aio/config.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/aio/config.py index e71ec0876..5412d0883 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/aio/config.py +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/client.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/client.py index 545cc0a1a..0d4f180f3 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/client.py +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/config.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/config.py index b0abf77e2..bf8efabc7 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/config.py +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/models.pyi b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/models.pyi index be2b36f68..18ed01e33 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/models.pyi +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/models.pyi @@ -4193,7 +4193,11 @@ class StartAsyncInvokeInput(_SerdeShape): """Dataclass for StartAsyncInvokeInput structure.""" client_request_token: str | None = ... - """Specify idempotency token to ensure that requests are not duplicated.""" + """ + Specify idempotency token to ensure that requests are not duplicated. + + This field is autopopulated if not provided. + """ model_id: str | None = ... """The model to invoke.""" model_input: Document | None = ... diff --git a/clients/aws-sdk-bedrock-runtime/tests/test_endpoints.py b/clients/aws-sdk-bedrock-runtime/tests/test_endpoints.py index 544ba0b7f..c50f4db41 100644 --- a/clients/aws-sdk-bedrock-runtime/tests/test_endpoints.py +++ b/clients/aws-sdk-bedrock-runtime/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-bedrock/pyproject.toml b/clients/aws-sdk-bedrock/pyproject.toml index b8614d5f5..9bb3a70f1 100644 --- a/clients/aws-sdk-bedrock/pyproject.toml +++ b/clients/aws-sdk-bedrock/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_bedrock" version = "0.12.0" -description = "aws_sdk_bedrock client" +description = "Python client for Amazon Bedrock" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_bedrock"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/models_0.pyi b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/models_0.pyi new file mode 100644 index 000000000..45abcc8ef --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/models_0.pyi @@ -0,0 +1,5280 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + GuardrailAutomatedReasoningPolicyConfig, + GuardrailConfiguration, + GuardrailContentPolicyConfig, + GuardrailContextualGroundingPolicyConfig, + GuardrailCrossRegionConfig, + GuardrailSensitiveInformationPolicyConfig, + GuardrailTopicPolicyConfig, + GuardrailWordPolicyConfig, + HumanEvaluationConfig, + InferenceProfileModelSource, + KbInferenceConfig, + MarketplaceModelEndpoint, + ModelConfiguration, + ModelDataSource, + ModelEnforcement, + ModelInvocationJobInputDataConfig, + ModelInvocationJobOutputDataConfig, + ModelPackageArnDataSource, + OutputDataConfig, + PerformanceConfiguration, + PromptRouterTargetModel, + PromptTemplate, + RAGConfig, + RFTConfig, + RatingScaleItem, + RoutingCriteria, + S3Config, + S3ObjectDoc, + SageMakerEndpoint, + SelectiveContentGuarding, + ServiceError, + Tag, + TeacherModelConfig, + TrainingDataConfig, + ValidationDataConfig, + VpcConfig, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AccessDeniedException(ServiceError, _SerdeShape): + """The request is denied because of missing access permissions.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AccountEnforcedGuardrailInferenceInputConfiguration(_SerdeShape): + """Account-level enforced guardrail input configuration.""" + + guardrail_identifier: str + """Identifier for the guardrail, could be the ID or the ARN.""" + guardrail_version: str + """Numerical guardrail version.""" + selective_content_guarding: SelectiveContentGuarding | None = ... + """Selective content guarding controls for enforced guardrails.""" + model_enforcement: ModelEnforcement | None = ... + """ + Model-specific information for the enforced guardrail configuration. If + not present, the configuration is enforced on all models + """ + +@dataclass(kw_only=True) +class AccountEnforcedGuardrailOutputConfiguration(_SerdeShape): + """Account enforced guardrail output configuration.""" + + config_id: str | None = ... + """Unique ID for the account enforced configuration.""" + guardrail_arn: str | None = ... + """ARN representation for the guardrail.""" + guardrail_id: str | None = ... + """Unique ID for the guardrail.""" + input_tags: str | None = ... + """Whether to honor or ignore input tags at runtime.""" + selective_content_guarding: SelectiveContentGuarding | None = ... + """Selective content guarding controls for enforced guardrails.""" + guardrail_version: str | None = ... + """Numerical guardrail version.""" + created_at: datetime | None = ... + """Timestamp.""" + created_by: str | None = ... + """The ARN of the role used to update the configuration.""" + updated_at: datetime | None = ... + """Timestamp.""" + updated_by: str | None = ... + """The ARN of the role used to update the configuration.""" + owner: str | None = ... + """Configuration owner type.""" + model_enforcement: ModelEnforcement | None = ... + """Model-specific information for the enforced guardrail configuration.""" + +@dataclass(kw_only=True) +class AdvancedPromptOptimizationInputConfig(_SerdeShape): + """ + Contains the input data configuration for an advanced prompt + optimization job. + """ + + s3_uri: str + """ + The S3 URI of the JSONL input file containing prompt templates and + evaluation samples. + """ + +class AdvancedPromptOptimizationJobStatus(UnknownEnumMixin, StrEnum): + """The status of an advanced prompt optimization job.""" + + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + PARTIALLY_COMPLETED = "PartiallyCompleted" + STOPPING = "Stopping" + STOPPED = "Stopped" + DELETING = "Deleting" + +@dataclass(kw_only=True) +class AdvancedPromptOptimizationJobSummary(_SerdeShape): + """Contains a summary of an advanced prompt optimization job.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the job.""" + job_name: str + """The name of the job.""" + job_status: str + """The status of the job.""" + creation_time: datetime + """The time at which the job was created.""" + last_modified_time: datetime | None = ... + """The time at which the job was last modified.""" + +@dataclass(kw_only=True) +class AdvancedPromptOptimizationOutputConfig(_SerdeShape): + """ + Contains the output data configuration for an advanced prompt + optimization job. + """ + + s3_uri: str + """The S3 URI prefix where the optimization results will be written.""" + +@dataclass(kw_only=True) +class AgreementAvailability(_SerdeShape): + """Information about the agreement availability""" + + status: str + """Status of the agreement.""" + error_message: str | None = ... + """Error message.""" + +class AgreementStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "AVAILABLE" + PENDING = "PENDING" + NOT_AVAILABLE = "NOT_AVAILABLE" + ERROR = "ERROR" + +class ApplicationType(UnknownEnumMixin, StrEnum): + MODEL_EVALUATION = "ModelEvaluation" + RAG_EVALUATION = "RagEvaluation" + +class AttributeType(UnknownEnumMixin, StrEnum): + STRING = "STRING" + NUMBER = "NUMBER" + BOOLEAN = "BOOLEAN" + STRING_LIST = "STRING_LIST" + +class AuthorizationStatus(UnknownEnumMixin, StrEnum): + AUTHORIZED = "AUTHORIZED" + NOT_AUTHORIZED = "NOT_AUTHORIZED" + +@dataclass(kw_only=True) +class AutomatedEvaluationConfig(_SerdeShape): + """ + The configuration details of an automated evaluation job. The + `EvaluationDatasetMetricConfig` object is used to specify the prompt + datasets, task type, and metric names. + """ + + dataset_metric_configs: list[EvaluationDatasetMetricConfig] + """ + Configuration details of the prompt datasets and metrics you want to use + for your evaluation job. + """ + evaluator_model_config: EvaluatorModelConfig | None = ... + """ + Contains the evaluator model configuration details. + `EvaluatorModelConfig` is required for evaluation jobs that use a + knowledge base or in model evaluation job that use a model as judge. + This model computes all evaluation related metrics. + """ + custom_metric_config: AutomatedEvaluationCustomMetricConfig | None = ... + """ + Defines the configuration of custom metrics to be used in an evaluation + job. + """ + +@dataclass(kw_only=True) +class AutomatedEvaluationCustomMetricConfig(_SerdeShape): + """ + Defines the configuration of custom metrics to be used in an evaluation + job. To learn more about using custom metrics in Amazon Bedrock + evaluation jobs, see [Create a prompt for a custom metrics + (LLM-as-a-judge model + evaluations)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-custom-metrics-prompt-formats.html) + and [Create a prompt for a custom metrics (RAG + evaluations)](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-evaluation-custom-metrics-prompt-formats.html). + """ + + custom_metrics: list[AutomatedEvaluationCustomMetricSource] + """ + Defines a list of custom metrics to be used in an Amazon Bedrock + evaluation job. + """ + evaluator_model_config: CustomMetricEvaluatorModelConfig + """ + Configuration of the evaluator model you want to use to evaluate custom + metrics in an Amazon Bedrock evaluation job. + """ + +@dataclass +class AutomatedEvaluationCustomMetricSourceCustomMetricDefinition(_SerdeShape): + """ + The definition of a custom metric for use in an Amazon Bedrock + evaluation job. + """ + + value: CustomMetricDefinition + +@dataclass +class AutomatedEvaluationCustomMetricSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedEvaluationCustomMetricSource = Union[ + AutomatedEvaluationCustomMetricSourceCustomMetricDefinition + | AutomatedEvaluationCustomMetricSourceUnknown +] +""" +An array item definining a single custom metric for use in an Amazon +Bedrock evaluation job. +""" + +class _AutomatedEvaluationCustomMetricSourceDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedEvaluationCustomMetricSource: ... + +@dataclass +class AutomatedReasoningCheckFindingValid(_SerdeShape): + """ + Indicates that the claims are true. The claims are implied by the + premises and the Automated Reasoning policy. Given the Automated + Reasoning policy and premises, it is not possible for these claims to be + false. + """ + + value: AutomatedReasoningCheckValidFinding + +@dataclass +class AutomatedReasoningCheckFindingInvalid(_SerdeShape): + """ + Indicates that the claims are false. The claims are not implied by the + premises and Automated Reasoning policy. Furthermore, there exist + different claims that are consistent with the premises and Automated + Reasoning policy. + """ + + value: AutomatedReasoningCheckInvalidFinding + +@dataclass +class AutomatedReasoningCheckFindingSatisfiable(_SerdeShape): + """ + Indicates that the claims can be true or false. It depends on what + assumptions are made for the claim to be implied from the premises and + Automated Reasoning policy rules. In this situation, different + assumptions can make input claims false and alternative claims true. + """ + + value: AutomatedReasoningCheckSatisfiableFinding + +@dataclass +class AutomatedReasoningCheckFindingImpossible(_SerdeShape): + """ + Indicates that Automated Reasoning cannot make a statement about the + claims. This can happen if the premises are logically incorrect, or if + there is a conflict within the Automated Reasoning policy itself. + """ + + value: AutomatedReasoningCheckImpossibleFinding + +@dataclass +class AutomatedReasoningCheckFindingTranslationAmbiguous(_SerdeShape): + """ + Indicates that an ambiguity was detected in the translation, making it + unsound to continue with validity checking. Additional context or + follow-up questions might be needed to get translation to succeed. + """ + + value: AutomatedReasoningCheckTranslationAmbiguousFinding + +@dataclass +class AutomatedReasoningCheckFindingTooComplex(_SerdeShape): + """ + Indicates that the input contains too much information for Automated + Reasoning to process within its latency limits. + """ + + value: AutomatedReasoningCheckTooComplexFinding + +@dataclass +class AutomatedReasoningCheckFindingNoTranslations(_SerdeShape): + """ + Identifies that some or all of the input prompt wasn't translated into + logic. This can happen if the input isn't relevant to the Automated + Reasoning policy, or if the policy doesn't have variables to model + relevant input. + """ + + value: AutomatedReasoningCheckNoTranslationsFinding + +@dataclass +class AutomatedReasoningCheckFindingUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningCheckFinding = Union[ + AutomatedReasoningCheckFindingValid + | AutomatedReasoningCheckFindingInvalid + | AutomatedReasoningCheckFindingSatisfiable + | AutomatedReasoningCheckFindingImpossible + | AutomatedReasoningCheckFindingTranslationAmbiguous + | AutomatedReasoningCheckFindingTooComplex + | AutomatedReasoningCheckFindingNoTranslations + | AutomatedReasoningCheckFindingUnknown +] +""" +Represents the result of an Automated Reasoning validation check, +indicating whether the content is logically valid, invalid, or falls +into other categories based on the policy rules. +""" + +class _AutomatedReasoningCheckFindingDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningCheckFinding: ... + +@dataclass(kw_only=True) +class AutomatedReasoningCheckImpossibleFinding(_SerdeShape): + """ + Indicates that no valid claims can be made due to logical contradictions + in the premises or rules. + """ + + translation: AutomatedReasoningCheckTranslation | None = ... + """The logical translation of the input that this finding evaluates.""" + contradicting_rules: list[AutomatedReasoningCheckRule] | None = ... + """ + The automated reasoning policy rules that contradict the claims and/or + premises in the input. + """ + logic_warning: AutomatedReasoningCheckLogicWarning | None = ... + """ + Indication of a logic issue with the translation without needing to + consider the automated reasoning policy rules. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningCheckInputTextReference(_SerdeShape): + """ + References a portion of the original input text that corresponds to + logical elements. + """ + + text: str | None = ... + """The specific text from the original input that this reference points to.""" + +@dataclass(kw_only=True) +class AutomatedReasoningCheckInvalidFinding(_SerdeShape): + """ + Indicates that the claims are logically false and contradictory to the + established rules or premises. + """ + + translation: AutomatedReasoningCheckTranslation | None = ... + """The logical translation of the input that this finding invalidates.""" + contradicting_rules: list[AutomatedReasoningCheckRule] | None = ... + """ + The automated reasoning policy rules that contradict the claims in the + input. + """ + logic_warning: AutomatedReasoningCheckLogicWarning | None = ... + """ + Indication of a logic issue with the translation without needing to + consider the automated reasoning policy rules. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningCheckLogicWarning(_SerdeShape): + """ + Identifies logical issues in the translated statements that exist + independent of any policy rules, such as statements that are always true + or always false. + """ + + type: str | None = ... + """ + The category of the detected logical issue, such as statements that are + always true or always false. + """ + premises: list[AutomatedReasoningLogicStatement] | None = ... + """ + The logical statements that serve as premises under which the claims are + validated. + """ + claims: list[AutomatedReasoningLogicStatement] | None = ... + """ + The logical statements that are validated while assuming the policy and + premises. + """ + +class AutomatedReasoningCheckLogicWarningType(UnknownEnumMixin, StrEnum): + ALWAYS_TRUE = "ALWAYS_TRUE" + ALWAYS_FALSE = "ALWAYS_FALSE" + +@dataclass(kw_only=True) +class AutomatedReasoningCheckNoTranslationsFinding(_SerdeShape): + """ + Indicates that no relevant logical information could be extracted from + the input for validation. + """ + +class AutomatedReasoningCheckResult(UnknownEnumMixin, StrEnum): + VALID = "VALID" + INVALID = "INVALID" + SATISFIABLE = "SATISFIABLE" + IMPOSSIBLE = "IMPOSSIBLE" + TRANSLATION_AMBIGUOUS = "TRANSLATION_AMBIGUOUS" + TOO_COMPLEX = "TOO_COMPLEX" + NO_TRANSLATION = "NO_TRANSLATION" + +@dataclass(kw_only=True) +class AutomatedReasoningCheckRule(_SerdeShape): + """ + References a specific automated reasoning policy rule that was applied + during evaluation. + """ + + id: str | None = ... + """The unique identifier of the automated reasoning rule.""" + policy_version_arn: str | None = ... + """ + The ARN of the automated reasoning policy version that contains this + rule. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningCheckSatisfiableFinding(_SerdeShape): + """ + Indicates that the claims could be either true or false depending on + additional assumptions not provided in the input. + """ + + translation: AutomatedReasoningCheckTranslation | None = ... + """The logical translation of the input that this finding evaluates.""" + claims_true_scenario: AutomatedReasoningCheckScenario | None = ... + """ + An example scenario demonstrating how the claims could be logically + true. + """ + claims_false_scenario: AutomatedReasoningCheckScenario | None = ... + """ + An example scenario demonstrating how the claims could be logically + false. + """ + logic_warning: AutomatedReasoningCheckLogicWarning | None = ... + """ + Indication of a logic issue with the translation without needing to + consider the automated reasoning policy rules. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningCheckScenario(_SerdeShape): + """ + Represents a logical scenario where claims can be evaluated as true or + false, containing specific logical assignments. + """ + + statements: list[AutomatedReasoningLogicStatement] | None = ... + """List of logical assignments and statements that define this scenario.""" + +@dataclass(kw_only=True) +class AutomatedReasoningCheckTooComplexFinding(_SerdeShape): + """ + Indicates that the input exceeds the processing capacity due to the + volume or complexity of the logical information. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningCheckTranslation(_SerdeShape): + """ + Contains the logical translation of natural language input into formal + logical statements, including premises, claims, and confidence scores. + """ + + premises: list[AutomatedReasoningLogicStatement] | None = ... + """ + The logical statements that serve as the foundation or assumptions for + the claims. + """ + claims: list[AutomatedReasoningLogicStatement] + """ + The logical statements that are being validated against the premises and + policy rules. + """ + untranslated_premises: list[AutomatedReasoningCheckInputTextReference] | None = ... + """ + References to portions of the original input text that correspond to the + premises but could not be fully translated. + """ + untranslated_claims: list[AutomatedReasoningCheckInputTextReference] | None = ... + """ + References to portions of the original input text that correspond to the + claims but could not be fully translated. + """ + confidence: float + """ + A confidence score between 0 and 1 indicating how certain the system is + about the logical translation. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningCheckTranslationAmbiguousFinding(_SerdeShape): + """ + Indicates that the input has multiple valid logical interpretations, + requiring additional context or clarification. + """ + + options: list[AutomatedReasoningCheckTranslationOption] | None = ... + """ + Different logical interpretations that were detected during translation + of the input. + """ + difference_scenarios: list[AutomatedReasoningCheckScenario] | None = ... + """ + Scenarios showing how the different translation options differ in + meaning. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningCheckTranslationOption(_SerdeShape): + """ + Represents one possible logical interpretation of ambiguous input + content. + """ + + translations: list[AutomatedReasoningCheckTranslation] | None = ... + """ + Different logical interpretations that were detected during translation + of the input. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningCheckValidFinding(_SerdeShape): + """ + Indicates that the claims are definitively true and logically implied by + the premises, with no possible alternative interpretations. + """ + + translation: AutomatedReasoningCheckTranslation | None = ... + """The logical translation of the input that this finding validates.""" + claims_true_scenario: AutomatedReasoningCheckScenario | None = ... + """An example scenario demonstrating how the claims are logically true.""" + supporting_rules: list[AutomatedReasoningCheckRule] | None = ... + """ + The automated reasoning policy rules that support why this result is + considered valid. + """ + logic_warning: AutomatedReasoningCheckLogicWarning | None = ... + """ + Indication of a logic issue with the translation without needing to + consider the automated reasoning policy rules. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningLogicStatement(_SerdeShape): + """ + Represents a logical statement that can be expressed both in formal + logic notation and natural language, providing dual representations for + better understanding and validation. + """ + + logic: str + """ + The formal logic representation of the statement using mathematical + notation and logical operators. + """ + natural_language: str | None = ... + """ + The natural language representation of the logical statement, providing + a human-readable interpretation of the formal logic. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAddRuleAnnotation(_SerdeShape): + """ + An annotation for adding a new rule to an Automated Reasoning policy + using a formal logical expression. + """ + + expression: str + """ + The formal logical expression that defines the rule, using mathematical + notation and referencing policy variables and types. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation(_SerdeShape): + """ + An annotation for adding a new rule to the policy by converting a + natural language description into a formal logical expression. + """ + + natural_language: str + """ + The natural language description of the rule that should be converted + into a formal logical expression. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAddRuleMutation(_SerdeShape): + """ + A mutation operation that adds a new rule to the policy definition + during the build process. + """ + + rule: AutomatedReasoningPolicyDefinitionRule + """ + The rule definition that specifies the formal logical expression and + metadata for the new rule being added to the policy. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAddTypeAnnotation(_SerdeShape): + """ + An annotation for adding a new custom type to an Automated Reasoning + policy, defining a set of possible values for variables. + """ + + name: str + """ + The name of the new custom type. This name will be used to reference the + type in variable definitions and rules. + """ + description: str + """ + A description of what the custom type represents and how it should be + used in the policy. + """ + values: list[AutomatedReasoningPolicyDefinitionTypeValue] + """ + The list of possible values that variables of this type can take, each + with its own description and identifier. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAddTypeMutation(_SerdeShape): + """ + A mutation operation that adds a new custom type to the policy + definition during the build process. + """ + + type: AutomatedReasoningPolicyDefinitionType + """ + The type definition that specifies the name, description, and possible + values for the new custom type being added to the policy. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAddTypeValue(_SerdeShape): + """ + Represents a single value that can be added to an existing custom type + in the policy. + """ + + value: str + """The identifier or name of the new value to add to the type.""" + description: str | None = ... + """ + A description of what this new type value represents and when it should + be used. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAddVariableAnnotation(_SerdeShape): + """ + An annotation for adding a new variable to an Automated Reasoning + policy, which can be used in rule expressions. + """ + + name: str + """ + The name of the new variable. This name will be used to reference the + variable in rule expressions. + """ + type: str + """ + The type of the variable, which can be a built-in type (like string or + number) or a custom type defined in the policy. + """ + description: str + """ + A description of what the variable represents and how it should be used + in rules. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAddVariableMutation(_SerdeShape): + """ + A mutation operation that adds a new variable to the policy definition + during the build process. + """ + + variable: AutomatedReasoningPolicyDefinitionVariable + """ + The variable definition that specifies the name, type, and description + for the new variable being added to the policy. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAnnotatedChunk(_SerdeShape): + """ + Represents a portion of a source document with line number annotations. + Chunks help organize document content for easier navigation and + reference. + """ + + page_number: int | None = ... + """ + The page number where this chunk begins, if the document is divided into + pages. + """ + content: list[AutomatedReasoningPolicyAnnotatedContent] + """ + The lines of text contained within this chunk, each annotated with its + line number. + """ + +@dataclass +class AutomatedReasoningPolicyAnnotatedContentLine(_SerdeShape): + """ + An annotated line of text from the source document, including both the + line number and the text content. + """ + + value: AutomatedReasoningPolicyAnnotatedLine + +@dataclass +class AutomatedReasoningPolicyAnnotatedContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningPolicyAnnotatedContent = Union[ + AutomatedReasoningPolicyAnnotatedContentLine + | AutomatedReasoningPolicyAnnotatedContentUnknown +] +""" +Represents a content element within an annotated chunk. This union type +allows for different types of content elements to be included in +document chunks, such as individual lines of text with their line +numbers. +""" + +class _AutomatedReasoningPolicyAnnotatedContentDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningPolicyAnnotatedContent: ... + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAnnotatedLine(_SerdeShape): + """ + Represents a single line of text from a source document, annotated with + its line number for precise referencing. + """ + + line_number: int | None = ... + """The line number of this text within the source document.""" + line_text: str | None = ... + """The actual text content of this line from the source document.""" + +@dataclass +class AutomatedReasoningPolicyAnnotationAddType(_SerdeShape): + """ + An operation to add a new custom type to the policy, defining a set of + possible values for policy variables. + """ + + value: AutomatedReasoningPolicyAddTypeAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationUpdateType(_SerdeShape): + """ + An operation to modify an existing custom type in the policy, such as + changing its name, description, or allowed values. + """ + + value: AutomatedReasoningPolicyUpdateTypeAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationDeleteType(_SerdeShape): + """ + An operation to remove a custom type from the policy. The type must not + be referenced by any variables or rules. + """ + + value: AutomatedReasoningPolicyDeleteTypeAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationAddVariable(_SerdeShape): + """ + An operation to add a new variable to the policy, which can be used in + rule expressions to represent dynamic values. + """ + + value: AutomatedReasoningPolicyAddVariableAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationUpdateVariable(_SerdeShape): + """ + An operation to modify an existing variable in the policy, such as + changing its name, type, or description. + """ + + value: AutomatedReasoningPolicyUpdateVariableAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationDeleteVariable(_SerdeShape): + """ + An operation to remove a variable from the policy. The variable must not + be referenced by any rules. + """ + + value: AutomatedReasoningPolicyDeleteVariableAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationAddRule(_SerdeShape): + """ + An operation to add a new logical rule to the policy using formal + mathematical expressions. + """ + + value: AutomatedReasoningPolicyAddRuleAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationUpdateRule(_SerdeShape): + """ + An operation to modify an existing rule in the policy, such as changing + its logical expression or conditions. + """ + + value: AutomatedReasoningPolicyUpdateRuleAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationDeleteRule(_SerdeShape): + """An operation to remove a rule from the policy.""" + + value: AutomatedReasoningPolicyDeleteRuleAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationAddRuleFromNaturalLanguage(_SerdeShape): + """ + An operation to add a new rule by converting natural language + descriptions into formal logical expressions. + """ + + value: AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationUpdateFromRulesFeedback(_SerdeShape): + """ + An operation to update the policy based on feedback about how specific + rules performed during testing or validation. + """ + + value: AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationUpdateFromScenarioFeedback(_SerdeShape): + """ + An operation to update the policy based on feedback about how it + performed on specific test scenarios. + """ + + value: AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationIngestContent(_SerdeShape): + """ + An operation to process and incorporate new content into the policy, + extracting additional rules and concepts. + """ + + value: AutomatedReasoningPolicyIngestContentAnnotation + +@dataclass +class AutomatedReasoningPolicyAnnotationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningPolicyAnnotation = Union[ + AutomatedReasoningPolicyAnnotationAddType + | AutomatedReasoningPolicyAnnotationUpdateType + | AutomatedReasoningPolicyAnnotationDeleteType + | AutomatedReasoningPolicyAnnotationAddVariable + | AutomatedReasoningPolicyAnnotationUpdateVariable + | AutomatedReasoningPolicyAnnotationDeleteVariable + | AutomatedReasoningPolicyAnnotationAddRule + | AutomatedReasoningPolicyAnnotationUpdateRule + | AutomatedReasoningPolicyAnnotationDeleteRule + | AutomatedReasoningPolicyAnnotationAddRuleFromNaturalLanguage + | AutomatedReasoningPolicyAnnotationUpdateFromRulesFeedback + | AutomatedReasoningPolicyAnnotationUpdateFromScenarioFeedback + | AutomatedReasoningPolicyAnnotationIngestContent + | AutomatedReasoningPolicyAnnotationUnknown +] +""" +Contains the various operations that can be performed on an Automated +Reasoning policy, including adding, updating, and deleting rules, +variables, and types. +""" + +class _AutomatedReasoningPolicyAnnotationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningPolicyAnnotation: ... + +class AutomatedReasoningPolicyAnnotationStatus(UnknownEnumMixin, StrEnum): + APPLIED = "APPLIED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyAtomicStatement(_SerdeShape): + """ + Represents a single, indivisible statement extracted from a source + document. Atomic statements are the fundamental units used to ground + policy rules and variables to their source material. + """ + + id: str + """ + A unique identifier for this atomic statement within the fidelity + report. + """ + text: str + """ + The actual text content of the atomic statement as extracted from the + source document. + """ + location: AutomatedReasoningPolicyStatementLocation + """ + Information about where this statement appears in the source document, + including line numbers. + """ + +class AutomatedReasoningPolicyBuildDocumentContentType(UnknownEnumMixin, StrEnum): + PDF = "pdf" + TEXT = "txt" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildLog(_SerdeShape): + """ + Contains detailed logging information about the policy build process, + including steps taken, decisions made, and any issues encountered. + """ + + entries: list[AutomatedReasoningPolicyBuildLogEntry] + """ + A list of log entries documenting each step in the policy build process, + including timestamps, status, and detailed messages. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildLogEntry(_SerdeShape): + """ + Represents a single entry in the policy build log, containing + information about a specific step or event in the build process. + """ + + annotation: AutomatedReasoningPolicyAnnotation + """ + The annotation or operation that was being processed when this log entry + was created. + """ + status: str + """The status of the build step (e.g., SUCCESS, FAILED, IN_PROGRESS).""" + build_steps: list[AutomatedReasoningPolicyBuildStep] + """ + Detailed information about the specific build steps that were executed, + including any sub-operations or transformations. + """ + +class AutomatedReasoningPolicyBuildMessageType(UnknownEnumMixin, StrEnum): + INFO = "INFO" + WARNING = "WARNING" + ERROR = "ERROR" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildResultAssetManifest(_SerdeShape): + """ + A catalog of all artifacts produced by a build workflow, providing a + comprehensive list of available assets including their types and + identifiers. + """ + + entries: list[AutomatedReasoningPolicyBuildResultAssetManifestEntry] + """ + The list of asset entries in the manifest, each describing an available + artifact that can be retrieved. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildResultAssetManifestEntry(_SerdeShape): + """ + Represents a single entry in the asset manifest, describing one artifact + produced by the build workflow. + """ + + asset_type: str + """ + The type of asset (e.g., BUILD_LOG, QUALITY_REPORT, POLICY_DEFINITION, + GENERATED_TEST_CASES, POLICY_SCENARIOS, FIDELITY_REPORT, ASSET_MANIFEST, + SOURCE_DOCUMENT). + """ + asset_name: str | None = ... + """ + A human-readable name for the asset, if applicable. This helps identify + specific documents or reports within the workflow results. + """ + asset_id: str | None = ... + """ + A unique identifier for the asset, if applicable. Use this ID when + requesting specific assets through the API. + """ + +@dataclass +class AutomatedReasoningPolicyBuildResultAssetsPolicyDefinition(_SerdeShape): + """ + The complete policy definition generated by the build workflow, + containing all rules, variables, and custom types extracted from the + source documents. + """ + + value: AutomatedReasoningPolicyDefinition + +@dataclass +class AutomatedReasoningPolicyBuildResultAssetsQualityReport(_SerdeShape): + """ + A comprehensive report analyzing the quality of the generated policy, + including metrics about rule coverage, potential conflicts, and unused + elements. + """ + + value: AutomatedReasoningPolicyDefinitionQualityReport + +@dataclass +class AutomatedReasoningPolicyBuildResultAssetsBuildLog(_SerdeShape): + """ + The complete build log containing detailed information about each step + in the policy generation process. + """ + + value: AutomatedReasoningPolicyBuildLog + +@dataclass +class AutomatedReasoningPolicyBuildResultAssetsGeneratedTestCases(_SerdeShape): + """ + A comprehensive test suite generated by the build workflow, providing + validation capabilities for automated reasoning policies. + """ + + value: AutomatedReasoningPolicyGeneratedTestCases + +@dataclass +class AutomatedReasoningPolicyBuildResultAssetsPolicyScenarios(_SerdeShape): + """ + An entity encompassing all the policy scenarios generated by the build + workflow, which can be used to validate an Automated Reasoning policy. + """ + + value: AutomatedReasoningPolicyScenarios + +@dataclass +class AutomatedReasoningPolicyBuildResultAssetsAssetManifest(_SerdeShape): + """ + A manifest listing all available artifacts produced by the build + workflow. This provides a catalog of all assets that can be retrieved, + including their types, names, and identifiers. + """ + + value: AutomatedReasoningPolicyBuildResultAssetManifest + +@dataclass +class AutomatedReasoningPolicyBuildResultAssetsDocument(_SerdeShape): + """ + A source document that was used as input during the build workflow. This + allows you to retrieve the original documents that were processed to + generate the policy. + """ + + value: AutomatedReasoningPolicySourceDocument + +@dataclass +class AutomatedReasoningPolicyBuildResultAssetsFidelityReport(_SerdeShape): + """ + A comprehensive fidelity report that measures how accurately the + generated policy represents the source documents. The report includes + coverage and accuracy scores, along with detailed grounding information + for rules and variables. + """ + + value: AutomatedReasoningPolicyFidelityReport + +@dataclass +class AutomatedReasoningPolicyBuildResultAssetsUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningPolicyBuildResultAssets = Union[ + AutomatedReasoningPolicyBuildResultAssetsPolicyDefinition + | AutomatedReasoningPolicyBuildResultAssetsQualityReport + | AutomatedReasoningPolicyBuildResultAssetsBuildLog + | AutomatedReasoningPolicyBuildResultAssetsGeneratedTestCases + | AutomatedReasoningPolicyBuildResultAssetsPolicyScenarios + | AutomatedReasoningPolicyBuildResultAssetsAssetManifest + | AutomatedReasoningPolicyBuildResultAssetsDocument + | AutomatedReasoningPolicyBuildResultAssetsFidelityReport + | AutomatedReasoningPolicyBuildResultAssetsUnknown +] +""" +Contains the various assets generated during a policy build workflow, +including logs, quality reports, test cases, and the final policy +definition. +""" + +class _AutomatedReasoningPolicyBuildResultAssetsDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningPolicyBuildResultAssets: ... + +class AutomatedReasoningPolicyBuildResultAssetType(UnknownEnumMixin, StrEnum): + BUILD_LOG = "BUILD_LOG" + QUALITY_REPORT = "QUALITY_REPORT" + POLICY_DEFINITION = "POLICY_DEFINITION" + GENERATED_TEST_CASES = "GENERATED_TEST_CASES" + POLICY_SCENARIOS = "POLICY_SCENARIOS" + FIDELITY_REPORT = "FIDELITY_REPORT" + ASSET_MANIFEST = "ASSET_MANIFEST" + SOURCE_DOCUMENT = "SOURCE_DOCUMENT" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildStep(_SerdeShape): + """ + Represents a single step in the policy build process, containing context + about what was being processed and any messages or results. + """ + + context: AutomatedReasoningPolicyBuildStepContext + """ + Contextual information about what was being processed during this build + step, such as the type of operation or the source material being + analyzed. + """ + prior_element: AutomatedReasoningPolicyDefinitionElement | None = ... + """ + Reference to the previous element or step in the build process, helping + to trace the sequence of operations. + """ + messages: list[AutomatedReasoningPolicyBuildStepMessage] + """ + A list of messages generated during this build step, including + informational messages, warnings, and error details. + """ + +@dataclass +class AutomatedReasoningPolicyBuildStepContextPlanning(_SerdeShape): + """ + Indicates that this build step was part of the planning phase, where the + system determines what operations to perform. + """ + + value: AutomatedReasoningPolicyPlanning + +@dataclass +class AutomatedReasoningPolicyBuildStepContextMutation(_SerdeShape): + """ + Indicates that this build step involved modifying the policy structure, + such as adding or updating rules, variables, or types. + """ + + value: AutomatedReasoningPolicyMutation + +@dataclass +class AutomatedReasoningPolicyBuildStepContextUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningPolicyBuildStepContext = Union[ + AutomatedReasoningPolicyBuildStepContextPlanning + | AutomatedReasoningPolicyBuildStepContextMutation + | AutomatedReasoningPolicyBuildStepContextUnknown +] +""" +Provides context about what type of operation was being performed during +a build step. +""" + +class _AutomatedReasoningPolicyBuildStepContextDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningPolicyBuildStepContext: ... + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildStepMessage(_SerdeShape): + """ + Represents a message generated during a build step, providing + information about what happened or any issues encountered. + """ + + message: str + """ + The content of the message, describing what occurred during the build + step. + """ + message_type: str + """ + The type of message (e.g., INFO, WARNING, ERROR) indicating its severity + and purpose. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildWorkflowDocument(_SerdeShape): + """ + Represents a source document used in the policy build workflow, + containing the content and metadata needed for policy generation. + """ + + document: bytes + """ + The actual content of the source document that will be analyzed to + extract policy rules and concepts. + """ + document_content_type: str + """ + The MIME type of the document content (e.g., text/plain, + application/pdf, text/markdown). + """ + document_name: str + """ + A descriptive name for the document that helps identify its purpose and + content. + """ + document_description: str | None = ... + """ + A detailed description of the document's content and how it should be + used in the policy generation process. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildWorkflowRepairContent(_SerdeShape): + """ + Contains content and instructions for repairing or improving an existing + Automated Reasoning policy. + """ + + annotations: list[AutomatedReasoningPolicyAnnotation] + """ + Specific annotations or modifications to apply during the policy repair + process, such as rule corrections or variable updates. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildWorkflowSource(_SerdeShape): + """ + Defines the source content for a policy build workflow, which can + include documents, repair instructions, or other input materials. + """ + + policy_definition: AutomatedReasoningPolicyDefinition | None = ... + """ + An existing policy definition that serves as the starting point for the + build workflow, typically used in policy repair or update scenarios. + """ + workflow_content: AutomatedReasoningPolicyWorkflowTypeContent | None = ... + """ + The actual content to be processed in the build workflow, such as + documents to analyze or repair instructions to apply. + """ + +class AutomatedReasoningPolicyBuildWorkflowStatus(UnknownEnumMixin, StrEnum): + SCHEDULED = "SCHEDULED" + CANCEL_REQUESTED = "CANCEL_REQUESTED" + PREPROCESSING = "PREPROCESSING" + BUILDING = "BUILDING" + TESTING = "TESTING" + COMPLETED = "COMPLETED" + FAILED = "FAILED" + CANCELLED = "CANCELLED" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyBuildWorkflowSummary(_SerdeShape): + """ + Provides a summary of a policy build workflow, including its current + status, timing information, and key identifiers. + """ + + policy_arn: str + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy + associated with this build workflow. + """ + build_workflow_id: str + """The unique identifier of the build workflow.""" + status: str + """ + The current status of the build workflow (e.g., RUNNING, COMPLETED, + FAILED, CANCELLED). + """ + build_workflow_type: str + """The type of build workflow (e.g., DOCUMENT_INGESTION, POLICY_REPAIR).""" + created_at: datetime + """The timestamp when the build workflow was created.""" + updated_at: datetime + """The timestamp when the build workflow was last updated.""" + +class AutomatedReasoningPolicyBuildWorkflowType(UnknownEnumMixin, StrEnum): + INGEST_CONTENT = "INGEST_CONTENT" + REFINE_POLICY = "REFINE_POLICY" + IMPORT_POLICY = "IMPORT_POLICY" + GENERATE_FIDELITY_REPORT = "GENERATE_FIDELITY_REPORT" + GENERATE_POLICY_SCENARIOS = "GENERATE_POLICY_SCENARIOS" + RESOLVE_POLICY_AMBIGUITIES = "RESOLVE_POLICY_AMBIGUITIES" + ITERATIVELY_REFINE_POLICY = "ITERATIVELY_REFINE_POLICY" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDefinition(_SerdeShape): + """ + Contains the formal logic rules, variables, and custom variable types + that define an Automated Reasoning policy. The policy definition + specifies the constraints used to validate foundation model responses + for accuracy and logical consistency. + """ + + version: str = ... + """The version of the policy definition format.""" + types: list[AutomatedReasoningPolicyDefinitionType] | None = ... + """ + The custom user-defined vairable types used in the policy. Types are + enum-based variable types that provide additional context beyond the + predefined variable types. + """ + rules: list[AutomatedReasoningPolicyDefinitionRule] | None = ... + """ + The formal logic rules extracted from the source document. Rules define + the logical constraints that determine whether model responses are + valid, invalid, or satisfiable. + """ + variables: list[AutomatedReasoningPolicyDefinitionVariable] | None = ... + """ + The variables that represent concepts in the policy. Variables can have + values assigned when translating natural language into formal logic. + Their descriptions are crucial for accurate translation. + """ + +@dataclass +class AutomatedReasoningPolicyDefinitionElementPolicyDefinitionVariable(_SerdeShape): + """ + A variable element within the policy definition that represents a + concept used in logical expressions and rules. + """ + + value: AutomatedReasoningPolicyDefinitionVariable + +@dataclass +class AutomatedReasoningPolicyDefinitionElementPolicyDefinitionType(_SerdeShape): + """ + A custom type element within the policy definition that defines a set of + possible values for variables. + """ + + value: AutomatedReasoningPolicyDefinitionType + +@dataclass +class AutomatedReasoningPolicyDefinitionElementPolicyDefinitionRule(_SerdeShape): + """ + A rule element within the policy definition that contains a formal + logical expression used for validation. + """ + + value: AutomatedReasoningPolicyDefinitionRule + +@dataclass +class AutomatedReasoningPolicyDefinitionElementUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningPolicyDefinitionElement = Union[ + AutomatedReasoningPolicyDefinitionElementPolicyDefinitionVariable + | AutomatedReasoningPolicyDefinitionElementPolicyDefinitionType + | AutomatedReasoningPolicyDefinitionElementPolicyDefinitionRule + | AutomatedReasoningPolicyDefinitionElementUnknown +] +""" +Represents a single element in an Automated Reasoning policy definition, +such as a rule, variable, or type definition. +""" + +class _AutomatedReasoningPolicyDefinitionElementDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningPolicyDefinitionElement: ... + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDefinitionQualityReport(_SerdeShape): + """ + Provides a comprehensive analysis of the quality and completeness of an + Automated Reasoning policy definition, highlighting potential issues and + optimization opportunities. + """ + + type_count: int + """The total number of custom types defined in the policy.""" + variable_count: int + """The total number of variables defined in the policy.""" + rule_count: int + """The total number of rules defined in the policy.""" + unused_types: list[str] + """ + A list of custom types that are defined but not referenced by any + variables or rules, suggesting they may be unnecessary. + """ + unused_type_values: list[AutomatedReasoningPolicyDefinitionTypeValuePair] + """ + A list of type values that are defined but never used in any rules, + indicating potential cleanup opportunities. + """ + unused_variables: list[str] + """ + A list of variables that are defined but not referenced by any rules, + suggesting they may be unnecessary. + """ + conflicting_rules: list[str] + """ + A list of rules that may conflict with each other, potentially leading + to inconsistent policy behavior. + """ + disjoint_rule_sets: list[AutomatedReasoningPolicyDisjointRuleSet] + """ + Groups of rules that operate on completely separate sets of variables, + indicating the policy may be addressing multiple unrelated concerns. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDefinitionRule(_SerdeShape): + """ + Represents a formal logic rule in an Automated Reasoning policy. For + example, rules can be expressed as if-then statements that define + logical constraints. + """ + + id: str + """The unique identifier of the rule within the policy.""" + expression: str + """The formal logic expression of the rule.""" + alternate_expression: str | None = ... + """ + The human-readable form of the rule expression, often in natural + language or simplified notation. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDefinitionType(_SerdeShape): + """ + Represents a custom user-defined viarble type in an Automated Reasoning + policy. Types are enum-based and provide additional context beyond + predefined variable types. + """ + + name: str + """The name of the custom type.""" + description: str | None = ... + """The description of what the custom type represents.""" + values: list[AutomatedReasoningPolicyDefinitionTypeValue] + """ + The possible values for this enum-based type, each with its own + description. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDefinitionTypeValue(_SerdeShape): + """ + Represents a single value within a custom type definition, including its + identifier and description. + """ + + value: str + """The actual value or identifier for this type value.""" + description: str | None = ... + """ + A human-readable description explaining what this type value represents + and when it should be used. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDefinitionTypeValuePair(_SerdeShape): + """ + Associates a type name with a specific value name, used for referencing + type values in rules and other policy elements. + """ + + type_name: str + """The name of the custom type that contains the referenced value.""" + value_name: str + """The name of the specific value within the type.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDefinitionVariable(_SerdeShape): + """ + Represents a variable in an Automated Reasoning policy. Variables + represent concepts that can have values assigned during natural language + translation. + """ + + name: str + """ + The name of the variable. Use descriptive names that clearly indicate + the concept being represented. + """ + type: str + """ + The data type of the variable. Valid types include bool, int, real, + enum, and custom types that you can provide. + """ + description: str + """ + The description of the variable that explains what it represents and how + users might refer to it. Clear and comprehensive descriptions are + essential for accurate natural language translation. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDeleteRuleAnnotation(_SerdeShape): + """An annotation for removing a rule from an Automated Reasoning policy.""" + + rule_id: str + """The unique identifier of the rule to delete from the policy.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDeleteRuleMutation(_SerdeShape): + """ + A mutation operation that removes a rule from the policy definition + during the build process. + """ + + id: str + """The unique identifier of the rule to delete.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDeleteTypeAnnotation(_SerdeShape): + """ + An annotation for removing a custom type from an Automated Reasoning + policy. + """ + + name: str + """ + The name of the custom type to delete from the policy. The type must not + be referenced by any variables or rules. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDeleteTypeMutation(_SerdeShape): + """ + A mutation operation that removes a custom type from the policy + definition during the build process. + """ + + name: str + """The name of the custom type to delete.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDeleteTypeValue(_SerdeShape): + """ + Represents a value to be removed from an existing custom type in the + policy. + """ + + value: str + """The identifier or name of the value to remove from the type.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDeleteVariableAnnotation(_SerdeShape): + """ + An annotation for removing a variable from an Automated Reasoning + policy. + """ + + name: str + """ + The name of the variable to delete from the policy. The variable must + not be referenced by any rules. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDeleteVariableMutation(_SerdeShape): + """ + A mutation operation that removes a variable from the policy definition + during the build process. + """ + + name: str + """The name of the variable to delete.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyDisjointRuleSet(_SerdeShape): + """ + Represents a set of rules that operate on completely separate variables, + indicating they address different concerns or domains within the policy. + """ + + variables: list[str] + """The set of variables that are used by the rules in this disjoint set.""" + rules: list[str] + """ + The list of rules that form this disjoint set, all operating on the same + set of variables. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyFidelityReport(_SerdeShape): + """ + A comprehensive analysis report that measures how accurately a generated + policy represents the source documents. The report includes coverage and + accuracy scores, detailed grounding information linking policy elements + to source statements, and annotated document content. + """ + + coverage_score: float + """ + A score from 0.0 to 1.0 indicating how well the policy covers the + statements in the source documents. A higher score means more of the + source content is represented in the policy. + """ + accuracy_score: float + """ + A score from 0.0 to 1.0 indicating how accurate the policy rules are + relative to the source documents. A higher score means the policy rules + more faithfully represent the source material. + """ + rule_reports: dict[str, AutomatedReasoningPolicyRuleReport] + """ + A mapping from rule identifiers to detailed fidelity reports for each + rule, showing which source statements ground each rule and how accurate + it is. + """ + variable_reports: dict[str, AutomatedReasoningPolicyVariableReport] + """ + A mapping from variable names to detailed fidelity reports for each + variable, showing which source statements ground each variable and how + accurate it is. + """ + document_sources: list[AutomatedReasoningPolicyReportSourceDocument] + """ + A list of source documents with their content broken down into atomic + statements and annotated with line numbers for precise referencing. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyGeneratedTestCase(_SerdeShape): + """ + Represents a generated test case, consisting of query content, guard + content, and expected results. + """ + + query_content: str + """ + The input query or prompt that generated the content. This provides + context for the validation. + """ + guard_content: str + """ + The output content that's validated by the Automated Reasoning policy. + This represents the foundation model response that will be checked for + accuracy. + """ + expected_aggregated_findings_result: str + """ + The expected results of the generated test case. Possible values + include: + + - `VALID` - The claims are true. The claims are implied by the premises + and the Automated Reasoning policy. Given the Automated Reasoning + policy and premises, it is not possible for these claims to be false. + In other words, there are no alternative answers that are true that + contradict the claims. + + - `INVALID` - The claims are false. The claims are not implied by the + premises and Automated Reasoning policy. Furthermore, there exists + different claims that are consistent with the premises and Automated + Reasoning policy. + + - `SATISFIABLE` - The claims can be true or false. It depends on what + assumptions are made for the claim to be implied from the premises and + Automated Reasoning policy rules. In this situation, different + assumptions can make input claims false and alternative claims true. + + - `IMPOSSIBLE` - Automated Reasoning can't make a statement about the + claims. This can happen if the premises are logically incorrect, or if + there is a conflict within the Automated Reasoning policy itself. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyGeneratedTestCases(_SerdeShape): + """ + Contains a comprehensive test suite generated by the build workflow, + providing validation capabilities for automated reasoning policies. + """ + + generated_test_cases: list[AutomatedReasoningPolicyGeneratedTestCase] + """Represents a collection of generated test cases.""" + +@dataclass +class AutomatedReasoningPolicyGenerateFidelityReportContentDocuments(_SerdeShape): + """ + Source documents to analyze for generating a new fidelity report. The + documents will be processed to create atomic statements and grounding + information. + """ + + value: list[AutomatedReasoningPolicyBuildWorkflowDocument] + +@dataclass +class AutomatedReasoningPolicyGenerateFidelityReportContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningPolicyGenerateFidelityReportContent = Union[ + AutomatedReasoningPolicyGenerateFidelityReportContentDocuments + | AutomatedReasoningPolicyGenerateFidelityReportContentUnknown +] +""" +Configuration for generating a fidelity report, which can either analyze +new documents or update an existing fidelity report with a new policy +definition. +""" + +class _AutomatedReasoningPolicyGenerateFidelityReportContentDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningPolicyGenerateFidelityReportContent: ... + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyIngestContentAnnotation(_SerdeShape): + """ + An annotation for processing and incorporating new content into an + Automated Reasoning policy. + """ + + content: str + """ + The new content to be analyzed and incorporated into the policy, such as + additional documents or rule descriptions. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyIterativeRefinementContent(_SerdeShape): + """ + Configuration for an iterative policy refinement workflow, including + source documents to process and optional feedback to guide the + refinement. + """ + + documents: list[AutomatedReasoningPolicyBuildWorkflowDocument] + """ + Source documents used for iterative policy refinement. These documents + provide context for refining the policy definition. + """ + feedback: str | None = ... + """ + Optional feedback to guide the iterative refinement workflow. Provide + specific instructions or constraints for policy refinement. + """ + +@dataclass +class AutomatedReasoningPolicyMutationAddType(_SerdeShape): + """A mutation to add a new custom type to the policy.""" + + value: AutomatedReasoningPolicyAddTypeMutation + +@dataclass +class AutomatedReasoningPolicyMutationUpdateType(_SerdeShape): + """A mutation to modify an existing custom type in the policy.""" + + value: AutomatedReasoningPolicyUpdateTypeMutation + +@dataclass +class AutomatedReasoningPolicyMutationDeleteType(_SerdeShape): + """A mutation to remove a custom type from the policy.""" + + value: AutomatedReasoningPolicyDeleteTypeMutation + +@dataclass +class AutomatedReasoningPolicyMutationAddVariable(_SerdeShape): + """A mutation to add a new variable to the policy.""" + + value: AutomatedReasoningPolicyAddVariableMutation + +@dataclass +class AutomatedReasoningPolicyMutationUpdateVariable(_SerdeShape): + """A mutation to modify an existing variable in the policy.""" + + value: AutomatedReasoningPolicyUpdateVariableMutation + +@dataclass +class AutomatedReasoningPolicyMutationDeleteVariable(_SerdeShape): + """A mutation to remove a variable from the policy.""" + + value: AutomatedReasoningPolicyDeleteVariableMutation + +@dataclass +class AutomatedReasoningPolicyMutationAddRule(_SerdeShape): + """A mutation to add a new rule to the policy.""" + + value: AutomatedReasoningPolicyAddRuleMutation + +@dataclass +class AutomatedReasoningPolicyMutationUpdateRule(_SerdeShape): + """A mutation to modify an existing rule in the policy.""" + + value: AutomatedReasoningPolicyUpdateRuleMutation + +@dataclass +class AutomatedReasoningPolicyMutationDeleteRule(_SerdeShape): + """A mutation to remove a rule from the policy.""" + + value: AutomatedReasoningPolicyDeleteRuleMutation + +@dataclass +class AutomatedReasoningPolicyMutationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningPolicyMutation = Union[ + AutomatedReasoningPolicyMutationAddType + | AutomatedReasoningPolicyMutationUpdateType + | AutomatedReasoningPolicyMutationDeleteType + | AutomatedReasoningPolicyMutationAddVariable + | AutomatedReasoningPolicyMutationUpdateVariable + | AutomatedReasoningPolicyMutationDeleteVariable + | AutomatedReasoningPolicyMutationAddRule + | AutomatedReasoningPolicyMutationUpdateRule + | AutomatedReasoningPolicyMutationDeleteRule + | AutomatedReasoningPolicyMutationUnknown +] +""" +A container for various mutation operations that can be applied to an +Automated Reasoning policy, including adding, updating, and deleting +policy elements. +""" + +class _AutomatedReasoningPolicyMutationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningPolicyMutation: ... + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyPlanning(_SerdeShape): + """ + Represents the planning phase of policy build workflow, where the system + analyzes source content and determines what operations to perform. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyReportSourceDocument(_SerdeShape): + """ + Represents a source document that was analyzed during fidelity report + generation, including the document's metadata and its content broken + down into atomic statements. + """ + + document_name: str + """The name of the source document that was analyzed.""" + document_hash: str + """ + A SHA-256 hash of the document content, used for verification and + ensuring the document hasn't changed since analysis. + """ + document_id: str + """A unique identifier for this document within the fidelity report.""" + atomic_statements: list[AutomatedReasoningPolicyAtomicStatement] + """ + The list of atomic statements extracted from this document, representing + the fundamental units of meaning used for grounding. + """ + document_content: list[AutomatedReasoningPolicyAnnotatedChunk] + """ + The document's content organized into annotated chunks with line number + information for precise referencing. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyRuleReport(_SerdeShape): + """ + Provides detailed fidelity analysis for a specific policy rule, + including which source document statements support it and how accurate + the rule is. + """ + + rule: str + """The identifier of the policy rule being analyzed in this report.""" + grounding_statements: list[AutomatedReasoningPolicyStatementReference] | None = ... + """ + References to statements from the source documents that provide the + basis or justification for this rule. + """ + grounding_justifications: list[str] | None = ... + """ + Explanations describing how the source statements support and justify + this specific rule. + """ + accuracy_score: float | None = ... + """ + A score from 0.0 to 1.0 indicating how accurately this rule represents + the source material. + """ + accuracy_justification: str | None = ... + """ + A textual explanation of the accuracy score, describing why the rule + received this particular accuracy rating. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyScenario(_SerdeShape): + """ + Represents a test scenario used to validate an Automated Reasoning + policy, including the test conditions and expected outcomes. + """ + + expression: str + """The logical expression or condition that defines this test scenario.""" + alternate_expression: str + """ + An alternative way to express the same test scenario, used for + validation and comparison purposes. + """ + expected_result: str + """ + The expected outcome when this scenario is evaluated against the policy + (e.g., PASS, FAIL, VIOLATION). + """ + rule_ids: list[str] + """ + The list of rule identifiers that are expected to be triggered or + evaluated by this test scenario. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyScenarios(_SerdeShape): + """ + Contains a comprehensive entity encompassing all the scenarios generated + by the build workflow, which can be used to validate an Automated + Reasoning policy. + """ + + policy_scenarios: list[AutomatedReasoningPolicyScenario] + """Represents a collection of generated policy scenarios.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicySourceDocument(_SerdeShape): + """ + Represents a source document that was processed during a build workflow. + Contains the document content, metadata, and a hash for verification. + """ + + document: bytes + """The raw content of the source document as a binary blob.""" + document_content_type: str + """The MIME type of the document (e.g., application/pdf, text/plain).""" + document_name: str + """The name of the source document for identification purposes.""" + document_description: str | None = ... + """ + An optional description providing context about the document's content + and purpose. + """ + document_hash: str + """ + A SHA-256 hash of the document content, used for verification and + integrity checking. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyStatementLocation(_SerdeShape): + """ + Describes the location of a statement within a source document using + line numbers. + """ + + lines: list[int] + """The line numbers in the source document where this statement appears.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyStatementReference(_SerdeShape): + """ + References a specific atomic statement within a source document, used to + link policy elements back to their source material. + """ + + document_id: str + """ + The unique identifier of the document containing the referenced + statement. + """ + statement_id: str + """The unique identifier of the specific atomic statement being referenced.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicySummary(_SerdeShape): + """ + Contains summary information about an Automated Reasoning policy, + including metadata and timestamps. + """ + + policy_arn: str + """The Amazon Resource Name (ARN) of the policy.""" + name: str + """The name of the policy.""" + description: str | None = ... + """The description of the policy.""" + version: str + """The version of the policy.""" + policy_id: str + """The unique identifier of the policy.""" + created_at: datetime + """The timestamp when the policy was created.""" + updated_at: datetime + """The timestamp when the policy was last updated.""" + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyTestCase(_SerdeShape): + """ + Represents a test for validating an Automated Reasoning policy. tests + contain sample inputs and expected outcomes to verify policy behavior. + """ + + test_case_id: str + """The unique identifier of the test.""" + guard_content: str + """ + The output content to be validated by the policy, typically representing + a foundation model response. + """ + query_content: str | None = ... + """ + The input query or prompt that generated the content. This provides + context for the validation. + """ + expected_aggregated_findings_result: str | None = ... + """The expected result of the Automated Reasoning check for this test.""" + created_at: datetime + """The timestamp when the test was created.""" + updated_at: datetime + """The timestamp when the test was last updated.""" + confidence_threshold: float | None = ... + """ + The minimum confidence level for logic validation. Content meeting this + threshold is considered high-confidence and can be validated. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyTestResult(_SerdeShape): + """ + Contains the results of testing an Automated Reasoning policy against + various scenarios and validation checks. + """ + + test_case: AutomatedReasoningPolicyTestCase + """ + The test case that was executed, including the input content, expected + results, and configuration parameters used during validation. + """ + policy_arn: str + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy that + was tested. + """ + test_run_status: str + """ + The overall status of the test run (e.g., COMPLETED, FAILED, + IN_PROGRESS). + """ + test_findings: list[AutomatedReasoningCheckFinding] | None = ... + """ + Detailed findings from the test run, including any issues, violations, + or unexpected behaviors discovered. + """ + test_run_result: str | None = ... + """ + The overall result of the test run, indicating whether the policy passed + or failed validation. + """ + aggregated_test_findings_result: str | None = ... + """ + A summary of all test findings, aggregated to provide an overall + assessment of policy quality and correctness. + """ + updated_at: datetime + """The timestamp when the test results were last updated.""" + +class AutomatedReasoningPolicyTestRunResult(UnknownEnumMixin, StrEnum): + PASSED = "PASSED" + FAILED = "FAILED" + +class AutomatedReasoningPolicyTestRunStatus(UnknownEnumMixin, StrEnum): + NOT_STARTED = "NOT_STARTED" + SCHEDULED = "SCHEDULED" + IN_PROGRESS = "IN_PROGRESS" + COMPLETED = "COMPLETED" + FAILED = "FAILED" + +@dataclass +class AutomatedReasoningPolicyTypeValueAnnotationAddTypeValue(_SerdeShape): + """An operation to add a new value to an existing custom type.""" + + value: AutomatedReasoningPolicyAddTypeValue + +@dataclass +class AutomatedReasoningPolicyTypeValueAnnotationUpdateTypeValue(_SerdeShape): + """An operation to modify an existing value within a custom type.""" + + value: AutomatedReasoningPolicyUpdateTypeValue + +@dataclass +class AutomatedReasoningPolicyTypeValueAnnotationDeleteTypeValue(_SerdeShape): + """An operation to remove a value from an existing custom type.""" + + value: AutomatedReasoningPolicyDeleteTypeValue + +@dataclass +class AutomatedReasoningPolicyTypeValueAnnotationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningPolicyTypeValueAnnotation = Union[ + AutomatedReasoningPolicyTypeValueAnnotationAddTypeValue + | AutomatedReasoningPolicyTypeValueAnnotationUpdateTypeValue + | AutomatedReasoningPolicyTypeValueAnnotationDeleteTypeValue + | AutomatedReasoningPolicyTypeValueAnnotationUnknown +] +""" +An annotation for managing values within custom types, including adding, +updating, or removing specific type values. +""" + +class _AutomatedReasoningPolicyTypeValueAnnotationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningPolicyTypeValueAnnotation: ... + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation(_SerdeShape): + """ + An annotation for updating the policy based on feedback about how + specific rules performed during testing or real-world usage. + """ + + rule_ids: list[str] | None = ... + """The list of rule identifiers that the feedback applies to.""" + feedback: str + """ + The feedback information about rule performance, including suggestions + for improvements or corrections. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation(_SerdeShape): + """ + An annotation for updating the policy based on feedback about how it + performed on specific test scenarios. + """ + + rule_ids: list[str] | None = ... + """ + The list of rule identifiers that were involved in the scenario being + evaluated. + """ + scenario_expression: str + """ + The logical expression that defines the test scenario that generated + this feedback. + """ + feedback: str | None = ... + """ + The feedback information about scenario performance, including any + issues or improvements identified. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyUpdateRuleAnnotation(_SerdeShape): + """ + An annotation for modifying an existing rule in an Automated Reasoning + policy. + """ + + rule_id: str + """The unique identifier of the rule to update.""" + expression: str + """ + The new formal logical expression for the rule, replacing the previous + expression. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyUpdateRuleMutation(_SerdeShape): + """ + A mutation operation that modifies an existing rule in the policy + definition during the build process. + """ + + rule: AutomatedReasoningPolicyDefinitionRule + """ + The updated rule definition containing the modified formal logical + expression and any changed metadata for the existing rule. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyUpdateTypeAnnotation(_SerdeShape): + """ + An annotation for modifying an existing custom type in an Automated + Reasoning policy. + """ + + name: str + """The current name of the custom type to update.""" + new_name: str | None = ... + """ + The new name for the custom type, if you want to rename it. If not + provided, the name remains unchanged. + """ + description: str | None = ... + """ + The new description for the custom type, replacing the previous + description. + """ + values: list[AutomatedReasoningPolicyTypeValueAnnotation] + """ + The updated list of values for the custom type, which can include + additions, modifications, or removals. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyUpdateTypeMutation(_SerdeShape): + """ + A mutation operation that modifies an existing custom type in the policy + definition during the build process. + """ + + type: AutomatedReasoningPolicyDefinitionType + """ + The updated type definition containing the modified name, description, + or values for the existing custom type. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyUpdateTypeValue(_SerdeShape): + """Represents a modification to a value within an existing custom type.""" + + value: str + """The current identifier or name of the type value to update.""" + new_value: str | None = ... + """The new identifier or name for the type value, if you want to rename it.""" + description: str | None = ... + """ + The new description for the type value, replacing the previous + description. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyUpdateVariableAnnotation(_SerdeShape): + """ + An annotation for modifying an existing variable in an Automated + Reasoning policy. + """ + + name: str + """The current name of the variable to update.""" + new_name: str | None = ... + """ + The new name for the variable, if you want to rename it. If not + provided, the name remains unchanged. + """ + description: str | None = ... + """ + The new description for the variable, replacing the previous + description. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyUpdateVariableMutation(_SerdeShape): + """ + A mutation operation that modifies an existing variable in the policy + definition during the build process. + """ + + variable: AutomatedReasoningPolicyDefinitionVariable + """ + The updated variable definition containing the modified name, type, or + description for the existing variable. + """ + +@dataclass(kw_only=True) +class AutomatedReasoningPolicyVariableReport(_SerdeShape): + """ + Provides detailed fidelity analysis for a specific policy variable, + including which source document statements support it and how accurate + the variable definition is. + """ + + policy_variable: str + """The name of the policy variable being analyzed in this report.""" + grounding_statements: list[AutomatedReasoningPolicyStatementReference] | None = ... + """ + References to statements from the source documents that provide the + basis or justification for this variable. + """ + grounding_justifications: list[str] | None = ... + """ + Explanations describing how the source statements support and justify + this specific variable definition. + """ + accuracy_score: float | None = ... + """ + A score from 0.0 to 1.0 indicating how accurately this variable + represents concepts from the source material. + """ + accuracy_justification: str | None = ... + """ + A textual explanation of the accuracy score, describing why the variable + received this particular accuracy rating. + """ + +@dataclass +class AutomatedReasoningPolicyWorkflowTypeContentDocuments(_SerdeShape): + """The list of documents to be processed in a document ingestion workflow.""" + + value: list[AutomatedReasoningPolicyBuildWorkflowDocument] + +@dataclass +class AutomatedReasoningPolicyWorkflowTypeContentPolicyRepairAssets(_SerdeShape): + """ + The assets and instructions needed for a policy repair workflow, + including repair annotations and guidance. + """ + + value: AutomatedReasoningPolicyBuildWorkflowRepairContent + +@dataclass +class AutomatedReasoningPolicyWorkflowTypeContentGenerateFidelityReportContent( + _SerdeShape +): + """ + The content configuration for generating a fidelity report workflow. + This can include source documents to analyze or an existing fidelity + report to update with a new policy definition. + """ + + value: AutomatedReasoningPolicyGenerateFidelityReportContent + +@dataclass +class AutomatedReasoningPolicyWorkflowTypeContentIterativeRefinementContent( + _SerdeShape +): + """ + Content configuration to start an iterative policy refinement workflow + that uses generative AI to automatically make changes to the policy + based on test results and the optional feedback provided. + """ + + value: AutomatedReasoningPolicyIterativeRefinementContent + +@dataclass +class AutomatedReasoningPolicyWorkflowTypeContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AutomatedReasoningPolicyWorkflowTypeContent = Union[ + AutomatedReasoningPolicyWorkflowTypeContentDocuments + | AutomatedReasoningPolicyWorkflowTypeContentPolicyRepairAssets + | AutomatedReasoningPolicyWorkflowTypeContentGenerateFidelityReportContent + | AutomatedReasoningPolicyWorkflowTypeContentIterativeRefinementContent + | AutomatedReasoningPolicyWorkflowTypeContentUnknown +] +""" +Defines the content and configuration for different types of policy +build workflows. +""" + +class _AutomatedReasoningPolicyWorkflowTypeContentDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> AutomatedReasoningPolicyWorkflowTypeContent: ... + +@dataclass(kw_only=True) +class BatchDeleteAdvancedPromptOptimizationJobError(_SerdeShape): + """ + Contains information about an error that occurred when deleting an + advanced prompt optimization job. + """ + + job_identifier: str + """The identifier of the job that could not be deleted.""" + code: str + """The error code for the deletion failure.""" + message: str | None = ... + """A message describing the error.""" + +@dataclass(kw_only=True) +class BatchDeleteAdvancedPromptOptimizationJobInput(_SerdeShape): + """Batch Delete Advanced Prompt Optimization Jobs Request""" + + job_identifiers: list[str] | None = ... + """ + A list of advanced prompt optimization job identifiers (ARNs or IDs) to + delete. + """ + +@dataclass(kw_only=True) +class BatchDeleteAdvancedPromptOptimizationJobItem(_SerdeShape): + """ + Contains information about a successfully deleted advanced prompt + optimization job. + """ + + job_identifier: str + """The identifier of the deleted job.""" + job_status: str + """The status of the deleted job.""" + +@dataclass(kw_only=True) +class BatchDeleteAdvancedPromptOptimizationJobOutput(_SerdeShape): + """Batch Delete Advanced Prompt Optimization Jobs Response""" + + errors: list[BatchDeleteAdvancedPromptOptimizationJobError] + """A list of errors encountered during batch deletion.""" + advanced_prompt_optimization_jobs: list[ + BatchDeleteAdvancedPromptOptimizationJobItem + ] + """A list of successfully deleted advanced prompt optimization jobs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BatchDeleteEvaluationJobError(_SerdeShape): + """ + A JSON array that provides the status of the evaluation jobs being + deleted. + """ + + job_identifier: str + """The ARN of the evaluation job being deleted.""" + code: str + """A HTTP status code of the evaluation job being deleted.""" + message: str | None = ... + """A status message about the evaluation job deletion.""" + +@dataclass(kw_only=True) +class BatchDeleteEvaluationJobInput(_SerdeShape): + """Dataclass for BatchDeleteEvaluationJobInput structure.""" + + job_identifiers: list[str] | None = ... + """ + A list of one or more evaluation job Amazon Resource Names (ARNs) you + want to delete. + """ + +@dataclass(kw_only=True) +class BatchDeleteEvaluationJobItem(_SerdeShape): + """An evaluation job for deletion, and it's current status.""" + + job_identifier: str + """The Amazon Resource Name (ARN) of the evaluation job for deletion.""" + job_status: str + """The status of the evaluation job for deletion.""" + +@dataclass(kw_only=True) +class BatchDeleteEvaluationJobOutput(_SerdeShape): + """Dataclass for BatchDeleteEvaluationJobOutput structure.""" + + errors: list[BatchDeleteEvaluationJobError] + """ + A JSON object containing the HTTP status codes and the ARNs of + evaluation jobs that failed to be deleted. + """ + evaluation_jobs: list[BatchDeleteEvaluationJobItem] + """The list of evaluation jobs for deletion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BedrockEvaluatorModel(_SerdeShape): + """ + The evaluator model used in knowledge base evaluation job or in model + evaluation job that use a model as judge. This model computes all + evaluation related metrics. + """ + + model_identifier: str + """ + The Amazon Resource Name (ARN) of the evaluator model used used in + knowledge base evaluation job or in model evaluation job that use a + model as judge. + """ + +@dataclass(kw_only=True) +class ByteContentDoc(_SerdeShape): + """ + Contains the document contained in the wrapper object, along with its + attributes/fields. + """ + + identifier: str + """The file name of the document contained in the wrapper object.""" + content_type: str + """The MIME type of the document contained in the wrapper object.""" + data: bytes + """The byte value of the file to upload, encoded as a Base-64 string.""" + +@dataclass(kw_only=True) +class CancelAutomatedReasoningPolicyBuildWorkflowInput(_SerdeShape): + """ + Dataclass for CancelAutomatedReasoningPolicyBuildWorkflowInput + structure. + """ + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy whose + build workflow you want to cancel. + """ + build_workflow_id: str | None = ... + """ + The unique identifier of the build workflow to cancel. You can get this + ID from the StartAutomatedReasoningPolicyBuildWorkflow response or by + listing build workflows. + """ + +@dataclass(kw_only=True) +class CancelAutomatedReasoningPolicyBuildWorkflowOutput(_SerdeShape): + """ + Dataclass for CancelAutomatedReasoningPolicyBuildWorkflowOutput + structure. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CloudWatchConfig(_SerdeShape): + """CloudWatch logging configuration.""" + + log_group_name: str + """The log group name.""" + role_arn: str + """The role Amazon Resource Name (ARN).""" + large_data_delivery_s3_config: S3Config | None = ... + """S3 configuration for delivering a large amount of data.""" + +class CommitmentDuration(UnknownEnumMixin, StrEnum): + ONE_MONTH = "OneMonth" + SIX_MONTHS = "SixMonths" + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """Error occurred because of a conflict while performing an operation.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAdvancedPromptOptimizationJobInput(_SerdeShape): + """Create Advanced Prompt Optimization Job Request""" + + job_name: str | None = ... + """A name for the advanced prompt optimization job.""" + job_description: str | None = ... + """A description of the advanced prompt optimization job.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request but does not return an + error. + + This field is autopopulated if not provided. + """ + input_config: AdvancedPromptOptimizationInputConfig | None = ... + """ + Specifies the S3 location of your JSONL input file containing prompt + templates and evaluation samples. + """ + output_config: AdvancedPromptOptimizationOutputConfig | None = ... + """Specifies the S3 location where optimization results will be stored.""" + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used for encrypting the + output data. If not specified, the output is encrypted with an + Amazon-owned KMS key. + """ + tags: list[Tag] | None = ... + """Tags to associate with the advanced prompt optimization job.""" + model_configurations: list[ModelConfiguration] | None = ... + """ + A list of model configurations specifying the target models for prompt + optimization. You can specify up to 5 models. + """ + +@dataclass(kw_only=True) +class CreateAdvancedPromptOptimizationJobOutput(_SerdeShape): + """Create Advanced Prompt Optimization Job Response""" + + job_arn: str + """ + The Amazon Resource Name (ARN) of the created advanced prompt + optimization job. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAutomatedReasoningPolicyInput(_SerdeShape): + """Dataclass for CreateAutomatedReasoningPolicyInput structure.""" + + name: str | None = ... + """ + A unique name for the Automated Reasoning policy. The name must be + between 1 and 63 characters and can contain letters, numbers, hyphens, + and underscores. + """ + description: str | None = ... + """ + A description of the Automated Reasoning policy. Use this to provide + context about the policy's purpose and the types of validations it + performs. + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than once. If this token matches a previous request, + Amazon Bedrock ignores the request but doesn't return an error. + + This field is autopopulated if not provided. + """ + policy_definition: AutomatedReasoningPolicyDefinition | None = ... + """ + The policy definition that contains the formal logic rules, variables, + and custom variable types used to validate foundation model responses in + your application. + """ + kms_key_id: str | None = ... + """ + The identifier of the KMS key to use for encrypting the automated + reasoning policy and its associated artifacts. If you don't specify a + KMS key, Amazon Bedrock uses an KMS managed key for encryption. For + enhanced security and control, you can specify a customer managed KMS + key. + """ + tags: list[Tag] | None = ... + """ + A list of tags to associate with the Automated Reasoning policy. Tags + help you organize and manage your policies. + """ + +@dataclass(kw_only=True) +class CreateAutomatedReasoningPolicyOutput(_SerdeShape): + """Dataclass for CreateAutomatedReasoningPolicyOutput structure.""" + + policy_arn: str + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy that + you created. + """ + version: str + """ + The version number of the newly created Automated Reasoning policy. The + initial version is always DRAFT. + """ + name: str + """The name of the Automated Reasoning policy.""" + description: str | None = ... + """The description of the Automated Reasoning policy.""" + definition_hash: str | None = ... + """ + The hash of the policy definition. This is used as a concurrency token + for creating policy versions that you can use in your application. + """ + created_at: datetime + """The timestamp when the policy was created.""" + updated_at: datetime + """The timestamp when the policy was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAutomatedReasoningPolicyTestCaseInput(_SerdeShape): + """Dataclass for CreateAutomatedReasoningPolicyTestCaseInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy for + which to create the test. + """ + guard_content: str | None = ... + """ + The output content that's validated by the Automated Reasoning policy. + This represents the foundation model response that will be checked for + accuracy. + """ + query_content: str | None = ... + """ + The input query or prompt that generated the content. This provides + context for the validation. + """ + expected_aggregated_findings_result: str | None = ... + """ + The expected result of the Automated Reasoning check. Valid values + include: , TOO_COMPLEX, and NO_TRANSLATIONS. + + - `VALID` - The claims are true. The claims are implied by the premises + and the Automated Reasoning policy. Given the Automated Reasoning + policy and premises, it is not possible for these claims to be false. + In other words, there are no alternative answers that are true that + contradict the claims. + + - `INVALID` - The claims are false. The claims are not implied by the + premises and Automated Reasoning policy. Furthermore, there exists + different claims that are consistent with the premises and Automated + Reasoning policy. + + - `SATISFIABLE` - The claims can be true or false. It depends on what + assumptions are made for the claim to be implied from the premises and + Automated Reasoning policy rules. In this situation, different + assumptions can make input claims false and alternative claims true. + + - `IMPOSSIBLE` - Automated Reasoning can't make a statement about the + claims. This can happen if the premises are logically incorrect, or if + there is a conflict within the Automated Reasoning policy itself. + + - `TRANSLATION_AMBIGUOUS` - Detected an ambiguity in the translation + meant it would be unsound to continue with validity checking. + Additional context or follow-up questions might be needed to get + translation to succeed. + + - `TOO_COMPLEX` - The input contains too much information for Automated + Reasoning to process within its latency limits. + + - `NO_TRANSLATIONS` - Identifies that some or all of the input prompt + wasn't translated into logic. This can happen if the input isn't + relevant to the Automated Reasoning policy, or if the policy doesn't + have variables to model relevant input. If Automated Reasoning can't + translate anything, you get a single `NO_TRANSLATIONS` finding. You + might also see a `NO_TRANSLATIONS` (along with other findings) if some + part of the validation isn't translated. + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + confidence_threshold: float | None = ... + """ + The minimum confidence level for logic validation. Content that meets + the threshold is considered a high-confidence finding that can be + validated. + """ + +@dataclass(kw_only=True) +class CreateAutomatedReasoningPolicyTestCaseOutput(_SerdeShape): + """Dataclass for CreateAutomatedReasoningPolicyTestCaseOutput structure.""" + + policy_arn: str + """ + The Amazon Resource Name (ARN) of the policy for which the test was + created. + """ + test_case_id: str + """The unique identifier of the created test.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAutomatedReasoningPolicyVersionInput(_SerdeShape): + """Dataclass for CreateAutomatedReasoningPolicyVersionInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy for + which to create a version. + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + last_updated_definition_hash: str | None = ... + """ + The hash of the current policy definition used as a concurrency token to + ensure the policy hasn't been modified since you last retrieved it. + """ + tags: list[Tag] | None = ... + """A list of tags to associate with the policy version.""" + +@dataclass(kw_only=True) +class CreateAutomatedReasoningPolicyVersionOutput(_SerdeShape): + """Dataclass for CreateAutomatedReasoningPolicyVersionOutput structure.""" + + policy_arn: str + """The versioned Amazon Resource Name (ARN) of the policy version.""" + version: str + """The version number of the policy version.""" + name: str + """The name of the policy version.""" + description: str | None = ... + """The description of the policy version.""" + definition_hash: str + """The hash of the policy definition for this version.""" + created_at: datetime + """The timestamp when the policy version was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCustomModelDeploymentInput(_SerdeShape): + """Dataclass for CreateCustomModelDeploymentInput structure.""" + + model_deployment_name: str | None = ... + """ + The name for the custom model deployment. The name must be unique within + your Amazon Web Services account and Region. + """ + model_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the custom model to deploy for + on-demand inference. The custom model must be in the `Active` state. + """ + description: str | None = ... + """ + A description for the custom model deployment to help you identify its + purpose. + """ + tags: list[Tag] | None = ... + """ + Tags to assign to the custom model deployment. You can use tags to + organize and track your Amazon Web Services resources for cost + allocation and management purposes. + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateCustomModelDeploymentOutput(_SerdeShape): + """Dataclass for CreateCustomModelDeploymentOutput structure.""" + + custom_model_deployment_arn: str + """ + The Amazon Resource Name (ARN) of the custom model deployment. Use this + ARN as the `modelId` parameter when invoking the model with the + `InvokeModel` or `Converse` operations. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCustomModelInput(_SerdeShape): + """Dataclass for CreateCustomModelInput structure.""" + + model_name: str | None = ... + """A unique name for the custom model.""" + model_source_config: ModelDataSource | None = ... + """ + The data source for the model. The Amazon S3 URI in the model source + must be for the Amazon-managed Amazon S3 bucket containing your model + artifacts. + """ + custom_model_data_source: CustomModelDataSource | None = ... + """ + The data source for the custom model. Use this field to specify a + SageMaker AI model package ARN as the source for your custom model. + Amazon Bedrock resolves the model package to retrieve the model + artifacts. + + You can specify either `customModelDataSource` or `modelSourceConfig`, + but not both. + """ + model_kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the customer managed KMS key to + encrypt the custom model. If you don't provide a KMS key, Amazon + Bedrock uses an Amazon Web Services-managed KMS key to encrypt the + model. + + If you provide a customer managed KMS key, your Amazon Bedrock service + role must have permissions to use it. For more information see + [Encryption of imported + models](https://docs.aws.amazon.com/bedrock/latest/userguide/encryption-import-model.html). + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM service role that Amazon + Bedrock assumes to perform tasks on your behalf. This role must have + permissions to access the Amazon S3 bucket containing your model + artifacts and the KMS key (if specified). For more information, see + [Setting up an IAM service role for importing + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-import-iam-role.html) + in the Amazon Bedrock User Guide. + + This field is required when you use `modelSourceConfig` with an Amazon + S3 data source. It is not required when you use `customModelDataSource` + with a model package ARN, because Amazon Bedrock uses its own + credentials to access the model artifacts. + """ + model_tags: list[Tag] | None = ... + """ + A list of key-value pairs to associate with the custom model resource. + You can use these tags to organize and identify your resources. + + For more information, see [Tagging + resources](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html) + in the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateCustomModelOutput(_SerdeShape): + """Dataclass for CreateCustomModelOutput structure.""" + + model_arn: str + """The Amazon Resource Name (ARN) of the new custom model.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateEvaluationJobInput(_SerdeShape): + """Dataclass for CreateEvaluationJobInput structure.""" + + job_name: str | None = ... + """ + A name for the evaluation job. Names must unique with your Amazon Web + Services account, and your account's Amazon Web Services region. + """ + job_description: str | None = ... + """A description of the evaluation job.""" + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM service role that Amazon + Bedrock can assume to perform tasks on your behalf. To learn more about + the required permissions, see [Required permissions for model + evaluations](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-security.html). + """ + customer_encryption_key_id: str | None = ... + """ + Specify your customer managed encryption key Amazon Resource Name (ARN) + that will be used to encrypt your evaluation job. + """ + job_tags: list[Tag] | None = ... + """Tags to attach to the model evaluation job.""" + application_type: str | None = ... + """ + Specifies whether the evaluation job is for evaluating a model or + evaluating a knowledge base (retrieval and response generation). + """ + evaluation_config: EvaluationConfig | None = ... + """ + Contains the configuration details of either an automated or human-based + evaluation job. + """ + inference_config: EvaluationInferenceConfig | None = ... + """ + Contains the configuration details of the inference model for the + evaluation job. + + For model evaluation jobs, automated jobs support a single model or + [inference + profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html), + and jobs that use human workers support two models or inference + profiles. + """ + output_data_config: EvaluationOutputDataConfig | None = ... + """ + Contains the configuration details of the Amazon S3 bucket for storing + the results of the evaluation job. + """ + +@dataclass(kw_only=True) +class CreateEvaluationJobOutput(_SerdeShape): + """Dataclass for CreateEvaluationJobOutput structure.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the evaluation job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFoundationModelAgreementInput(_SerdeShape): + """Dataclass for CreateFoundationModelAgreementInput structure.""" + + offer_token: str | None = ... + """An offer token encapsulates the information for an offer.""" + model_id: str | None = ... + """Model Id of the model for the access request.""" + +@dataclass(kw_only=True) +class CreateFoundationModelAgreementOutput(_SerdeShape): + """Dataclass for CreateFoundationModelAgreementOutput structure.""" + + model_id: str + """Model Id of the model for the access request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGuardrailInput(_SerdeShape): + """Dataclass for CreateGuardrailInput structure.""" + + name: str | None = ... + """The name to give the guardrail.""" + description: str | None = ... + """A description of the guardrail.""" + topic_policy_config: GuardrailTopicPolicyConfig | None = ... + """The topic policies to configure for the guardrail.""" + content_policy_config: GuardrailContentPolicyConfig | None = ... + """The content filter policies to configure for the guardrail.""" + word_policy_config: GuardrailWordPolicyConfig | None = ... + """The word policy you configure for the guardrail.""" + sensitive_information_policy_config: ( + GuardrailSensitiveInformationPolicyConfig | None + ) = ... + """The sensitive information policy to configure for the guardrail.""" + contextual_grounding_policy_config: ( + GuardrailContextualGroundingPolicyConfig | None + ) = ... + """ + The contextual grounding policy configuration used to create a + guardrail. + """ + automated_reasoning_policy_config: ( + GuardrailAutomatedReasoningPolicyConfig | None + ) = ... + """ + Optional configuration for integrating Automated Reasoning policies with + the new guardrail. + """ + cross_region_config: GuardrailCrossRegionConfig | None = ... + """ + The system-defined guardrail profile that you're using with your + guardrail. Guardrail profiles define the destination Amazon Web Services + Regions where guardrail inference requests can be automatically routed. + + For more information, see the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + blocked_input_messaging: str | None = ... + """The message to return when the guardrail blocks a prompt.""" + blocked_outputs_messaging: str | None = ... + """The message to return when the guardrail blocks a model response.""" + kms_key_id: str | None = ... + """The ARN of the KMS key that you use to encrypt the guardrail.""" + tags: list[Tag] | None = ... + """The tags that you want to attach to the guardrail.""" + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than once. If this token matches a previous request, + Amazon Bedrock ignores the request, but does not return an error. For + more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) + in the *Amazon S3 User Guide*. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateGuardrailOutput(_SerdeShape): + """Dataclass for CreateGuardrailOutput structure.""" + + guardrail_id: str + """The unique identifier of the guardrail that was created.""" + guardrail_arn: str + """The ARN of the guardrail.""" + version: str + """ + The version of the guardrail that was created. This value will always be + `DRAFT`. + """ + created_at: datetime + """The time at which the guardrail was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGuardrailVersionInput(_SerdeShape): + """Dataclass for CreateGuardrailVersionInput structure.""" + + guardrail_identifier: str | None = ... + """The unique identifier of the guardrail. This can be an ID or the ARN.""" + description: str | None = ... + """A description of the guardrail version.""" + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than once. If this token matches a previous request, + Amazon Bedrock ignores the request, but does not return an error. For + more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) + in the *Amazon S3 User Guide*. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateGuardrailVersionOutput(_SerdeShape): + """Dataclass for CreateGuardrailVersionOutput structure.""" + + guardrail_id: str + """The unique identifier of the guardrail.""" + version: str + """The number of the version of the guardrail.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInferenceProfileInput(_SerdeShape): + """Dataclass for CreateInferenceProfileInput structure.""" + + inference_profile_name: str | None = ... + """A name for the inference profile.""" + description: str | None = ... + """A description for the inference profile.""" + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + model_source: InferenceProfileModelSource | None = ... + """ + The foundation model or system-defined inference profile that the + inference profile will track metrics and costs for. + """ + tags: list[Tag] | None = ... + """ + An array of objects, each of which contains a tag and its value. For + more information, see [Tagging + resources](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) + in the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). + """ + +@dataclass(kw_only=True) +class CreateInferenceProfileOutput(_SerdeShape): + """Dataclass for CreateInferenceProfileOutput structure.""" + + inference_profile_arn: str + """The ARN of the inference profile that you created.""" + status: str | None = ... + """ + The status of the inference profile. `ACTIVE` means that the inference + profile is ready to be used. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateMarketplaceModelEndpointInput(_SerdeShape): + """Dataclass for CreateMarketplaceModelEndpointInput structure.""" + + model_source_identifier: str | None = ... + """ + The ARN of the model from Amazon Bedrock Marketplace that you want to + deploy to the endpoint. + """ + endpoint_config: EndpointConfig | None = ... + """ + The configuration for the endpoint, including the number and type of + instances to use. + """ + accept_eula: bool = ... + """ + Indicates whether you accept the end-user license agreement (EULA) for + the model. Set to `true` to accept the EULA. + """ + endpoint_name: str | None = ... + """ + The name of the endpoint. This name must be unique within your Amazon + Web Services account and region. + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. This token is listed as not required because + Amazon Web Services SDKs automatically generate it for you and set this + parameter. If you're not using the Amazon Web Services SDK or the CLI, + you must provide this token or the action will fail. + + This field is autopopulated if not provided. + """ + tags: list[Tag] | None = ... + """ + An array of key-value pairs to apply to the underlying Amazon SageMaker + endpoint. You can use these tags to organize and identify your Amazon + Web Services resources. + """ + +@dataclass(kw_only=True) +class CreateMarketplaceModelEndpointOutput(_SerdeShape): + """Dataclass for CreateMarketplaceModelEndpointOutput structure.""" + + marketplace_model_endpoint: MarketplaceModelEndpoint + """Details about the created endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateModelCopyJobInput(_SerdeShape): + """Dataclass for CreateModelCopyJobInput structure.""" + + source_model_arn: str | None = ... + """The Amazon Resource Name (ARN) of the model to be copied.""" + target_model_name: str | None = ... + """A name for the copied model.""" + model_kms_key_id: str | None = ... + """The ARN of the KMS key that you use to encrypt the model copy.""" + target_model_tags: list[Tag] | None = ... + """ + Tags to associate with the target model. For more information, see [Tag + resources](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html) + in the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateModelCopyJobOutput(_SerdeShape): + """Dataclass for CreateModelCopyJobOutput structure.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the model copy job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateModelCustomizationJobInput(_SerdeShape): + """Dataclass for CreateModelCustomizationJobInput structure.""" + + job_name: str | None = ... + """A name for the fine-tuning job.""" + custom_model_name: str | None = ... + """A name for the resulting custom model.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM service role that Amazon + Bedrock can assume to perform tasks on your behalf. For example, during + model training, Amazon Bedrock needs your permission to read input data + from an S3 bucket, write model artifacts to an S3 bucket. To pass this + role to Amazon Bedrock, the caller of this API must have the + `iam:PassRole` permission. + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + base_model_identifier: str | None = ... + """Name of the base model.""" + customization_type: str | None = ... + """The customization type.""" + custom_model_kms_key_id: str | None = ... + """The custom model is encrypted at rest using this key.""" + job_tags: list[Tag] | None = ... + """Tags to attach to the job.""" + custom_model_tags: list[Tag] | None = ... + """Tags to attach to the resulting custom model.""" + training_data_config: TrainingDataConfig | None = ... + """Information about the training dataset.""" + validation_data_config: ValidationDataConfig | None = ... + """Information about the validation dataset.""" + output_data_config: OutputDataConfig | None = ... + """S3 location for the output data.""" + hyper_parameters: dict[str, str] | None = ... + """ + Parameters related to tuning the model. For details on the format for + different models, see [Custom model + hyperparameters](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html). + """ + vpc_config: VpcConfig | None = ... + """ + The configuration of the Virtual Private Cloud (VPC) that contains the + resources that you're using for this job. For more information, see + [Protect your model customization jobs using a + VPC](https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html). + """ + customization_config: CustomizationConfig | None = ... + """The customization configuration for the model customization job.""" + +@dataclass(kw_only=True) +class CreateModelCustomizationJobOutput(_SerdeShape): + """Dataclass for CreateModelCustomizationJobOutput structure.""" + + job_arn: str + """Amazon Resource Name (ARN) of the fine tuning job""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateModelImportJobInput(_SerdeShape): + """Dataclass for CreateModelImportJobInput structure.""" + + job_name: str | None = ... + """The name of the import job.""" + imported_model_name: str | None = ... + """The name of the imported model.""" + role_arn: str | None = ... + """The Amazon Resource Name (ARN) of the model import job.""" + model_data_source: ModelDataSource | None = ... + """The data source for the imported model.""" + job_tags: list[Tag] | None = ... + """Tags to attach to this import job.""" + imported_model_tags: list[Tag] | None = ... + """Tags to attach to the imported model.""" + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + vpc_config: VpcConfig | None = ... + """ + VPC configuration parameters for the private Virtual Private Cloud (VPC) + that contains the resources you are using for the import job. + """ + imported_model_kms_key_id: str | None = ... + """The imported model is encrypted at rest using this key.""" + +@dataclass(kw_only=True) +class CreateModelImportJobOutput(_SerdeShape): + """Dataclass for CreateModelImportJobOutput structure.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the model import job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateModelInvocationJobInput(_SerdeShape): + """Dataclass for CreateModelInvocationJobInput structure.""" + + job_name: str | None = ... + """A name to give the batch inference job.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the service role with permissions to + carry out and manage batch inference. You can use the console to create + a default service role or follow the steps at [Create a service role for + batch + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html). + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + model_id: str | None = ... + """ + The unique identifier of the foundation model to use for the batch + inference job. + """ + input_data_config: ModelInvocationJobInputDataConfig | None = ... + """Details about the location of the input to the batch inference job.""" + output_data_config: ModelInvocationJobOutputDataConfig | None = ... + """Details about the location of the output of the batch inference job.""" + vpc_config: VpcConfig | None = ... + """ + The configuration of the Virtual Private Cloud (VPC) for the data in the + batch inference job. For more information, see [Protect batch inference + jobs using a + VPC](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc). + """ + timeout_duration_in_hours: int | None = ... + """ + The number of hours after which to force the batch inference job to time + out. + """ + tags: list[Tag] | None = ... + """ + Any tags to associate with the batch inference job. For more + information, see [Tagging Amazon Bedrock + resources](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). + """ + model_invocation_type: str = ... + """The invocation endpoint for ModelInvocationJob""" + +@dataclass(kw_only=True) +class CreateModelInvocationJobOutput(_SerdeShape): + """Dataclass for CreateModelInvocationJobOutput structure.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the batch inference job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePromptRouterInput(_SerdeShape): + """Dataclass for CreatePromptRouterInput structure.""" + + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure + idempotency of your requests. If not specified, the Amazon Web Services + SDK automatically generates one for you. + + This field is autopopulated if not provided. + """ + prompt_router_name: str | None = ... + """ + The name of the prompt router. The name must be unique within your + Amazon Web Services account in the current region. + """ + models: list[PromptRouterTargetModel] | None = ... + """ + A list of foundation models that the prompt router can route requests + to. At least one model must be specified. + """ + description: str | None = ... + """ + An optional description of the prompt router to help identify its + purpose. + """ + routing_criteria: RoutingCriteria | None = ... + """ + The criteria, which is the response quality difference, used to + determine how incoming requests are routed to different models. + """ + fallback_model: PromptRouterTargetModel | None = ... + """The default model to use when the routing criteria is not met.""" + tags: list[Tag] | None = ... + """ + An array of key-value pairs to apply to this resource as tags. You can + use tags to categorize and manage your Amazon Web Services resources. + """ + +@dataclass(kw_only=True) +class CreatePromptRouterOutput(_SerdeShape): + """Dataclass for CreatePromptRouterOutput structure.""" + + prompt_router_arn: str | None = ... + """ + The Amazon Resource Name (ARN) that uniquely identifies the prompt + router. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateProvisionedModelThroughputInput(_SerdeShape): + """Dataclass for CreateProvisionedModelThroughputInput structure.""" + + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) + in the Amazon S3 User Guide. + + This field is autopopulated if not provided. + """ + model_units: int | None = ... + """ + Number of model units to allocate. A model unit delivers a specific + throughput level for the specified model. The throughput level of a + model unit specifies the total number of input and output tokens that it + can process and generate within a span of one minute. By default, your + account has no model units for purchasing Provisioned Throughputs with + commitment. You must first visit the [Amazon Web Services support + center](https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase) + to request MUs. + + For model unit quotas, see [Provisioned Throughput + quotas](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html#prov-thru-quotas) + in the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). + + For more information about what an MU specifies, contact your Amazon Web + Services account manager. + """ + provisioned_model_name: str | None = ... + """The name for this Provisioned Throughput.""" + model_id: str | None = ... + """ + The Amazon Resource Name (ARN) or name of the model to associate with + this Provisioned Throughput. For a list of models for which you can + purchase Provisioned Throughput, see [Amazon Bedrock model IDs for + purchasing Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#prov-throughput-models) + in the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). + """ + commitment_duration: str | None = ... + """ + The commitment duration requested for the Provisioned Throughput. + Billing occurs hourly and is discounted for longer commitment terms. To + request a no-commit Provisioned Throughput, omit this field. + + Custom models support all levels of commitment. To see which base models + support no commitment, see [Supported regions and models for Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/pt-supported.html) + in the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) + """ + tags: list[Tag] | None = ... + """Tags to associate with this Provisioned Throughput.""" + +@dataclass(kw_only=True) +class CreateProvisionedModelThroughputOutput(_SerdeShape): + """Dataclass for CreateProvisionedModelThroughputOutput structure.""" + + provisioned_model_arn: str + """The Amazon Resource Name (ARN) for this Provisioned Throughput.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class CustomizationConfigDistillationConfig(_SerdeShape): + """The Distillation configuration for the custom model.""" + + value: DistillationConfig + +@dataclass +class CustomizationConfigRftConfig(_SerdeShape): + """ + Configuration settings for reinforcement fine-tuning (RFT) model + customization, including grader configuration and hyperparameters. + """ + + value: RFTConfig + +@dataclass +class CustomizationConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CustomizationConfig = Union[ + CustomizationConfigDistillationConfig + | CustomizationConfigRftConfig + | CustomizationConfigUnknown +] +"""A model customization configuration""" + +class _CustomizationConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> CustomizationConfig: ... + +class CustomizationType(UnknownEnumMixin, StrEnum): + FINE_TUNING = "FINE_TUNING" + CONTINUED_PRE_TRAINING = "CONTINUED_PRE_TRAINING" + DISTILLATION = "DISTILLATION" + REINFORCEMENT_FINE_TUNING = "REINFORCEMENT_FINE_TUNING" + IMPORTED = "IMPORTED" + +@dataclass(kw_only=True) +class CustomMetricBedrockEvaluatorModel(_SerdeShape): + """ + Defines the model you want to evaluate custom metrics in an Amazon + Bedrock evaluation job. + """ + + model_identifier: str + """ + The Amazon Resource Name (ARN) of the evaluator model for custom + metrics. For a list of supported evaluator models, see [Evaluate model + performance using another LLM as a + judge](https://docs.aws.amazon.com/bedrock/latest/userguide/evaluation-judge.html) + and [Evaluate the performance of RAG sources using Amazon Bedrock + evaluations](https://docs.aws.amazon.com/bedrock/latest/userguide/evaluation-kb.html). + """ + +@dataclass(kw_only=True) +class CustomMetricDefinition(_SerdeShape): + """ + The definition of a custom metric for use in an Amazon Bedrock + evaluation job. A custom metric definition includes a metric name, + prompt (instructions) and optionally, a rating scale. Your prompt must + include a task description and input variables. The required input + variables are different for model-as-a-judge and RAG evaluations. + + For more information about how to define a custom metric in Amazon + Bedrock, see [Create a prompt for a custom metrics (LLM-as-a-judge model + evaluations)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-custom-metrics-prompt-formats.html) + and [Create a prompt for a custom metrics (RAG + evaluations)](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-evaluation-custom-metrics-prompt-formats.html). + """ + + name: str + """ + The name for a custom metric. Names must be unique in your Amazon Web + Services region. + """ + instructions: str + """ + The prompt for a custom metric that instructs the evaluator model how to + rate the model or RAG source under evaluation. + """ + rating_scale: list[RatingScaleItem] | None = ... + """ + Defines the rating scale to be used for a custom metric. We recommend + that you always define a ratings scale when creating a custom metric. If + you don't define a scale, Amazon Bedrock won't be able to visually + display the results of the evaluation in the console or calculate + average values of numerical scores. For more information on specifying a + rating scale, see [Specifying an output schema (rating + scale)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-custom-metrics-prompt-formats.html#model-evaluation-custom-metrics-prompt-formats-schema). + """ + +@dataclass(kw_only=True) +class CustomMetricEvaluatorModelConfig(_SerdeShape): + """ + Configuration of the evaluator model you want to use to evaluate custom + metrics in an Amazon Bedrock evaluation job. + """ + + bedrock_evaluator_models: list[CustomMetricBedrockEvaluatorModel] + """ + Defines the model you want to evaluate custom metrics in an Amazon + Bedrock evaluation job. + """ + +@dataclass +class CustomModelDataSourceModelPackageArnDataSource(_SerdeShape): + """ + A SageMaker AI model package ARN as the data source for the custom + model. When you specify a model package ARN, Amazon Bedrock resolves the + model package to retrieve the model artifacts. + """ + + value: ModelPackageArnDataSource + +@dataclass +class CustomModelDataSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CustomModelDataSource = Union[ + CustomModelDataSourceModelPackageArnDataSource | CustomModelDataSourceUnknown +] +""" +The data source for a custom model. This is a union type that supports +the following member: + +- `modelPackageArnDataSource` --- Specifies a SageMaker AI model package + as the data source. +""" + +class _CustomModelDataSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> CustomModelDataSource: ... + +class CustomModelDeploymentStatus(UnknownEnumMixin, StrEnum): + CREATING = "Creating" + ACTIVE = "Active" + FAILED = "Failed" + +@dataclass(kw_only=True) +class CustomModelDeploymentSummary(_SerdeShape): + """ + Contains summary information about a custom model deployment, including + its ARN, name, status, and associated custom model. + """ + + custom_model_deployment_arn: str + """The Amazon Resource Name (ARN) of the custom model deployment.""" + custom_model_deployment_name: str + """The name of the custom model deployment.""" + model_arn: str + """ + The Amazon Resource Name (ARN) of the custom model associated with this + deployment. + """ + created_at: datetime + """The date and time when the custom model deployment was created.""" + status: str + """ + The status of the custom model deployment. Possible values are + `CREATING`, `ACTIVE`, and `FAILED`. + """ + last_updated_at: datetime | None = ... + """The date and time when the custom model deployment was last modified.""" + failure_message: str | None = ... + """ + If the deployment status is `FAILED`, this field contains a message + describing the failure reason. + """ + +@dataclass(kw_only=True) +class CustomModelDeploymentUpdateDetails(_SerdeShape): + """ + Details about an update to a custom model deployment, including the new + custom model resource ARN and current update status. + """ + + model_arn: str + """ARN of the new custom model being deployed as part of the update.""" + update_status: str + """Current status of the deployment update.""" + +class CustomModelDeploymentUpdateStatus(UnknownEnumMixin, StrEnum): + UPDATING = "Updating" + UPDATE_COMPLETED = "UpdateCompleted" + UPDATE_FAILED = "UpdateFailed" + +@dataclass(kw_only=True) +class CustomModelSummary(_SerdeShape): + """Summary information for a custom model.""" + + model_arn: str + """The Amazon Resource Name (ARN) of the custom model.""" + model_name: str + """The name of the custom model.""" + creation_time: datetime + """Creation time of the model.""" + base_model_arn: str + """The base model Amazon Resource Name (ARN).""" + base_model_name: str + """The base model name.""" + customization_type: str | None = ... + """ + Specifies whether to carry out continued pre-training of a model or + whether to fine-tune it. For more information, see [Custom + models](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html). + """ + owner_account_id: str | None = ... + """The unique identifier of the account that owns the model.""" + model_status: str | None = ... + """ + The current status of the custom model. Possible values include: + + - `Creating` - The model is being created and validated. + + - `Active` - The model has been successfully created and is ready for + use. + + - `Failed` - The model creation process failed. + """ + +@dataclass(kw_only=True) +class CustomModelUnits(_SerdeShape): + """ + A `CustomModelUnit` (CMU) is an abstract view of the hardware + utilization that Amazon Bedrock needs to host a single copy of your + custom model. A model copy represents a single instance of your imported + model that is ready to serve inference requests. Amazon Bedrock + determines the number of custom model units that a model copy needs when + you import the custom model. + + You can use `CustomModelUnits` to estimate the cost of running your + custom model. For more information, see Calculate the cost of running a + custom model in the Amazon Bedrock user guide. + """ + + custom_model_units_per_model_copy: int | None = ... + """The number of custom model units used to host a model copy.""" + custom_model_units_version: str | None = ... + """ + The version of the custom model unit. Use to determine the billing rate + for the custom model unit. + """ + +@dataclass(kw_only=True) +class DataProcessingDetails(_SerdeShape): + """ + For a Distillation job, the status details for the data processing + sub-task of the job. + """ + + status: str | None = ... + """The status of the data processing sub-task of the job.""" + creation_time: datetime | None = ... + """The start time of the data processing sub-task of the job.""" + last_modified_time: datetime | None = ... + """The latest update to the data processing sub-task of the job.""" + +class DataRetentionMode(UnknownEnumMixin, StrEnum): + """ + The data retention mode for the account. Valid values are: + + - `default` -- The standard data handling for the model applies. + + - `none` -- Zero data retention. + + - `aws_review` -- Amazon Web Services may review the request data. The + data is not shared with the model provider. A model must support this + mode to be invoked under it. + + - `provider_data_share` -- Data may be shared with the model provider. + + - `inherit` -- No data retention mode is set at this scope. + """ + + DEFAULT = "default" + NONE = "none" + AWS_REVIEW = "aws_review" + PROVIDER_DATA_SHARE = "provider_data_share" + INHERIT = "inherit" + +@dataclass(kw_only=True) +class DeleteAutomatedReasoningPolicyBuildWorkflowInput(_SerdeShape): + """ + Dataclass for DeleteAutomatedReasoningPolicyBuildWorkflowInput + structure. + """ + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy whose + build workflow you want to delete. + """ + build_workflow_id: str | None = ... + """The unique identifier of the build workflow to delete.""" + last_updated_at: datetime | None = ... + """ + The timestamp when the build workflow was last updated. This is used for + optimistic concurrency control to prevent accidental deletion of + workflows that have been modified. + """ + +@dataclass(kw_only=True) +class DeleteAutomatedReasoningPolicyBuildWorkflowOutput(_SerdeShape): + """ + Dataclass for DeleteAutomatedReasoningPolicyBuildWorkflowOutput + structure. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAutomatedReasoningPolicyInput(_SerdeShape): + """Dataclass for DeleteAutomatedReasoningPolicyInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy to + delete. + """ + force: bool = ... + """ + Specifies whether to force delete the automated reasoning policy even if + it has active resources. When `false`, Amazon Bedrock validates if all + artifacts have been deleted (e.g. policy version, test case, test + result) for a policy before deletion. When `true`, Amazon Bedrock will + delete the policy and all its artifacts without validation. Default is + `false`. + """ + +@dataclass(kw_only=True) +class DeleteAutomatedReasoningPolicyOutput(_SerdeShape): + """Dataclass for DeleteAutomatedReasoningPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAutomatedReasoningPolicyTestCaseInput(_SerdeShape): + """Dataclass for DeleteAutomatedReasoningPolicyTestCaseInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy that + contains the test. + """ + test_case_id: str | None = ... + """The unique identifier of the test to delete.""" + last_updated_at: datetime | None = ... + """ + The timestamp when the test was last updated. This is used as a + concurrency token to prevent conflicting modifications. + """ + +@dataclass(kw_only=True) +class DeleteAutomatedReasoningPolicyTestCaseOutput(_SerdeShape): + """Dataclass for DeleteAutomatedReasoningPolicyTestCaseOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCustomModelDeploymentInput(_SerdeShape): + """Dataclass for DeleteCustomModelDeploymentInput structure.""" + + custom_model_deployment_identifier: str | None = ... + """ + The Amazon Resource Name (ARN) or name of the custom model deployment to + delete. + """ + +@dataclass(kw_only=True) +class DeleteCustomModelDeploymentOutput(_SerdeShape): + """Dataclass for DeleteCustomModelDeploymentOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCustomModelInput(_SerdeShape): + """Dataclass for DeleteCustomModelInput structure.""" + + model_identifier: str | None = ... + """Name of the model to delete.""" + +@dataclass(kw_only=True) +class DeleteCustomModelOutput(_SerdeShape): + """Dataclass for DeleteCustomModelOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteEnforcedGuardrailConfigurationInput(_SerdeShape): + """Dataclass for DeleteEnforcedGuardrailConfigurationInput structure.""" + + config_id: str | None = ... + """Unique ID for the account enforced configuration.""" + +@dataclass(kw_only=True) +class DeleteEnforcedGuardrailConfigurationOutput(_SerdeShape): + """Dataclass for DeleteEnforcedGuardrailConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFoundationModelAgreementInput(_SerdeShape): + """Dataclass for DeleteFoundationModelAgreementInput structure.""" + + model_id: str | None = ... + """Model Id of the model access to delete.""" + +@dataclass(kw_only=True) +class DeleteFoundationModelAgreementOutput(_SerdeShape): + """Dataclass for DeleteFoundationModelAgreementOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGuardrailInput(_SerdeShape): + """Dataclass for DeleteGuardrailInput structure.""" + + guardrail_identifier: str | None = ... + """The unique identifier of the guardrail. This can be an ID or the ARN.""" + guardrail_version: str | None = ... + """The version of the guardrail.""" + +@dataclass(kw_only=True) +class DeleteGuardrailOutput(_SerdeShape): + """Dataclass for DeleteGuardrailOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteImportedModelInput(_SerdeShape): + """Dataclass for DeleteImportedModelInput structure.""" + + model_identifier: str | None = ... + """Name of the imported model to delete.""" + +@dataclass(kw_only=True) +class DeleteImportedModelOutput(_SerdeShape): + """Dataclass for DeleteImportedModelOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteInferenceProfileInput(_SerdeShape): + """Dataclass for DeleteInferenceProfileInput structure.""" + + inference_profile_identifier: str | None = ... + """ + The Amazon Resource Name (ARN) or ID of the application inference + profile to delete. + """ + +@dataclass(kw_only=True) +class DeleteInferenceProfileOutput(_SerdeShape): + """Dataclass for DeleteInferenceProfileOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteMarketplaceModelEndpointInput(_SerdeShape): + """Dataclass for DeleteMarketplaceModelEndpointInput structure.""" + + endpoint_arn: str | None = ... + """The Amazon Resource Name (ARN) of the endpoint you want to delete.""" + +@dataclass(kw_only=True) +class DeleteMarketplaceModelEndpointOutput(_SerdeShape): + """Dataclass for DeleteMarketplaceModelEndpointOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteModelInvocationLoggingConfigurationInput(_SerdeShape): + """Dataclass for DeleteModelInvocationLoggingConfigurationInput structure.""" + +@dataclass(kw_only=True) +class DeleteModelInvocationLoggingConfigurationOutput(_SerdeShape): + """Dataclass for DeleteModelInvocationLoggingConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePromptRouterInput(_SerdeShape): + """Dataclass for DeletePromptRouterInput structure.""" + + prompt_router_arn: str | None = ... + """The Amazon Resource Name (ARN) of the prompt router to delete.""" + +@dataclass(kw_only=True) +class DeletePromptRouterOutput(_SerdeShape): + """Dataclass for DeletePromptRouterOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteProvisionedModelThroughputInput(_SerdeShape): + """Dataclass for DeleteProvisionedModelThroughputInput structure.""" + + provisioned_model_id: str | None = ... + """The Amazon Resource Name (ARN) or name of the Provisioned Throughput.""" + +@dataclass(kw_only=True) +class DeleteProvisionedModelThroughputOutput(_SerdeShape): + """Dataclass for DeleteProvisionedModelThroughputOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyInput(_SerdeShape): + """Dataclass for DeleteResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """The ARN of the Bedrock resource to which this resource policy applies.""" + +@dataclass(kw_only=True) +class DeleteResourcePolicyOutput(_SerdeShape): + """Dataclass for DeleteResourcePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeregisterMarketplaceModelEndpointInput(_SerdeShape): + """Dataclass for DeregisterMarketplaceModelEndpointInput structure.""" + + endpoint_arn: str | None = ... + """The Amazon Resource Name (ARN) of the endpoint you want to deregister.""" + +@dataclass(kw_only=True) +class DeregisterMarketplaceModelEndpointOutput(_SerdeShape): + """Dataclass for DeregisterMarketplaceModelEndpointOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DimensionalPriceRate(_SerdeShape): + """Dimensional price rate.""" + + dimension: str | None = ... + """Dimension for the price rate.""" + price: str | None = ... + """Single-dimensional rate information.""" + description: str | None = ... + """Description of the price rate.""" + unit: str | None = ... + """Unit associated with the price.""" + +@dataclass(kw_only=True) +class DistillationConfig(_SerdeShape): + """ + Settings for distilling a foundation model into a smaller and more + efficient model. + """ + + teacher_model_config: TeacherModelConfig + """The teacher model configuration.""" + +@dataclass +class EndpointConfigSageMaker(_SerdeShape): + """The configuration specific to Amazon SageMaker for the endpoint.""" + + value: SageMakerEndpoint + +@dataclass +class EndpointConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EndpointConfig = Union[EndpointConfigSageMaker | EndpointConfigUnknown] +"""Specifies the configuration for the endpoint.""" + +class _EndpointConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EndpointConfig: ... + +class EntitlementAvailability(UnknownEnumMixin, StrEnum): + AVAILABLE = "AVAILABLE" + NOT_AVAILABLE = "NOT_AVAILABLE" + +@dataclass(kw_only=True) +class EvaluationBedrockModel(_SerdeShape): + """ + Contains the ARN of the Amazon Bedrock model or [inference + profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) + specified in your evaluation job. Each Amazon Bedrock model supports + different `inferenceParams`. To learn more about supported inference + parameters for Amazon Bedrock models, see [Inference parameters for + foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + + The `inferenceParams` are specified using JSON. To successfully insert + JSON as string make sure that all quotations are properly escaped. For + example, `"temperature":"0.25"` key value pair would need to be + formatted as `\"temperature\":\"0.25\"` to successfully accepted in the + request. + """ + + model_identifier: str + """The ARN of the Amazon Bedrock model or inference profile specified.""" + inference_params: str = ... + """ + Each Amazon Bedrock support different inference parameters that change + how the model behaves during inference. + """ + performance_config: PerformanceConfiguration | None = ... + """Specifies performance settings for the model or inference profile.""" + +@dataclass +class EvaluationConfigAutomated(_SerdeShape): + """ + Contains the configuration details of an automated evaluation job that + computes metrics. + """ + + value: AutomatedEvaluationConfig + +@dataclass +class EvaluationConfigHuman(_SerdeShape): + """ + Contains the configuration details of an evaluation job that uses human + workers. + """ + + value: HumanEvaluationConfig + +@dataclass +class EvaluationConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluationConfig = Union[ + EvaluationConfigAutomated | EvaluationConfigHuman | EvaluationConfigUnknown +] +""" +The configuration details of either an automated or human-based +evaluation job. +""" + +class _EvaluationConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationConfig: ... + +@dataclass(kw_only=True) +class EvaluationDataset(_SerdeShape): + """ + Used to specify the name of a built-in prompt dataset and optionally, + the Amazon S3 bucket where a custom prompt dataset is saved. + """ + + name: str + """ + Used to specify supported built-in prompt datasets. Valid values are + `Builtin.Bold`, `Builtin.BoolQ`, `Builtin.NaturalQuestions`, + `Builtin.Gigaword`, `Builtin.RealToxicityPrompts`, `Builtin.TriviaQA`, + `Builtin.T-Rex`, `Builtin.WomensEcommerceClothingReviews` and + `Builtin.Wikitext2`. + """ + dataset_location: EvaluationDatasetLocation | None = ... + """ + For custom prompt datasets, you must specify the location in Amazon S3 + where the prompt dataset is saved. + """ + +@dataclass +class EvaluationDatasetLocationS3Uri(_SerdeShape): + """The S3 URI of the S3 bucket specified in the job.""" + + value: str + +@dataclass +class EvaluationDatasetLocationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluationDatasetLocation = Union[ + EvaluationDatasetLocationS3Uri | EvaluationDatasetLocationUnknown +] +"""The location in Amazon S3 where your prompt dataset is stored.""" + +class _EvaluationDatasetLocationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> EvaluationDatasetLocation: ... + +@dataclass(kw_only=True) +class EvaluationDatasetMetricConfig(_SerdeShape): + """ + Defines the prompt datasets, built-in metric names and custom metric + names, and the task type. + """ + + task_type: str + """ + The the type of task you want to evaluate for your evaluation job. This + applies only to model evaluation jobs and is ignored for knowledge base + evaluation jobs. + """ + dataset: EvaluationDataset + """Specifies the prompt dataset.""" + metric_names: list[str] + """ + The names of the metrics you want to use for your evaluation job. + + For knowledge base evaluation jobs that evaluate retrieval only, valid + values are \"`Builtin.ContextRelevance`\", + \"`Builtin.ContextCoverage`\". + + For knowledge base evaluation jobs that evaluate retrieval with response + generation, valid values are \"`Builtin.Correctness`\", + \"`Builtin.Completeness`\", \"`Builtin.Helpfulness`\", + \"`Builtin.LogicalCoherence`\", \"`Builtin.Faithfulness`\", + \"`Builtin.Harmfulness`\", \"`Builtin.Stereotyping`\", + \"`Builtin.Refusal`\". + + For automated model evaluation jobs, valid values are + \"`Builtin.Accuracy`\", \"`Builtin.Robustness`\", and + \"`Builtin.Toxicity`\". In model evaluation jobs that use a LLM as judge + you can specify \"`Builtin.Correctness`\", \"`Builtin.Completeness"`, + \"`Builtin.Faithfulness"`, \"`Builtin.Helpfulness`\", + \"`Builtin.Coherence`\", \"`Builtin.Relevance`\", + \"`Builtin.FollowingInstructions`\", + \"`Builtin.ProfessionalStyleAndTone`\", You can also specify the + following responsible AI related metrics only for model evaluation job + that use a LLM as judge \"`Builtin.Harmfulness`\", + \"`Builtin.Stereotyping`\", and \"`Builtin.Refusal`\". + + For human-based model evaluation jobs, the list of strings must match + the `name` parameter specified in `HumanEvaluationCustomMetric`. + """ + +@dataclass +class EvaluationInferenceConfigModels(_SerdeShape): + """Specifies the inference models.""" + + value: list[EvaluationModelConfig] + +@dataclass +class EvaluationInferenceConfigRagConfigs(_SerdeShape): + """ + Contains the configuration details of the inference for a knowledge base + evaluation job, including either the retrieval only configuration or the + retrieval with response generation configuration. + """ + + value: list[RAGConfig] + +@dataclass +class EvaluationInferenceConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluationInferenceConfig = Union[ + EvaluationInferenceConfigModels + | EvaluationInferenceConfigRagConfigs + | EvaluationInferenceConfigUnknown +] +""" +The configuration details of the inference model for an evaluation job. + +For automated model evaluation jobs, only a single model is supported. + +For human-based model evaluation jobs, your annotator can compare the +responses for up to two different models. +""" + +class _EvaluationInferenceConfigDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> EvaluationInferenceConfig: ... + +@dataclass(kw_only=True) +class EvaluationInferenceConfigSummary(_SerdeShape): + """ + Identifies the models, Knowledge Bases, or other RAG sources evaluated + in a model or Knowledge Base evaluation job. + """ + + model_config_summary: EvaluationModelConfigSummary | None = ... + """ + A summary of the models used in an Amazon Bedrock model evaluation job. + These resources can be models in Amazon Bedrock or models outside of + Amazon Bedrock that you use to generate your own inference response + data. + """ + rag_config_summary: EvaluationRagConfigSummary | None = ... + """ + A summary of the RAG resources used in an Amazon Bedrock Knowledge Base + evaluation job. These resources can be Knowledge Bases in Amazon Bedrock + or RAG sources outside of Amazon Bedrock that you use to generate your + own inference response data. + """ + +class EvaluationJobStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + STOPPING = "Stopping" + STOPPED = "Stopped" + DELETING = "Deleting" + +class EvaluationJobType(UnknownEnumMixin, StrEnum): + HUMAN = "Human" + AUTOMATED = "Automated" + +@dataclass +class EvaluationModelConfigBedrockModel(_SerdeShape): + """ + Defines the Amazon Bedrock model or inference profile and inference + parameters you want used. + """ + + value: EvaluationBedrockModel + +@dataclass +class EvaluationModelConfigPrecomputedInferenceSource(_SerdeShape): + """ + Defines the model used to generate inference response data for a model + evaluation job where you provide your own inference response data. + """ + + value: EvaluationPrecomputedInferenceSource + +@dataclass +class EvaluationModelConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluationModelConfig = Union[ + EvaluationModelConfigBedrockModel + | EvaluationModelConfigPrecomputedInferenceSource + | EvaluationModelConfigUnknown +] +"""Defines the models used in the model evaluation job.""" + +class _EvaluationModelConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationModelConfig: ... + +@dataclass(kw_only=True) +class EvaluationModelConfigSummary(_SerdeShape): + """ + A summary of the models used in an Amazon Bedrock model evaluation job. + These resources can be models in Amazon Bedrock or models outside of + Amazon Bedrock that you use to generate your own inference response + data. + """ + + bedrock_model_identifiers: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the models used for the evaluation + job. + """ + precomputed_inference_source_identifiers: list[str] | None = ... + """ + A label that identifies the models used for a model evaluation job where + you provide your own inference response data. + """ + +@dataclass(kw_only=True) +class EvaluationOutputDataConfig(_SerdeShape): + """ + The Amazon S3 location where the results of your evaluation job are + saved. + """ + + s3_uri: str + """The Amazon S3 URI where the results of the evaluation job are saved.""" + +@dataclass(kw_only=True) +class EvaluationPrecomputedInferenceSource(_SerdeShape): + """ + A summary of a model used for a model evaluation job where you provide + your own inference response data. + """ + + inference_source_identifier: str + """ + A label that identifies a model used in a model evaluation job where you + provide your own inference response data. + """ + +@dataclass +class EvaluationPrecomputedRagSourceConfigRetrieveSourceConfig(_SerdeShape): + """ + A summary of a RAG source used for a retrieve-only Knowledge Base + evaluation job where you provide your own inference response data. + """ + + value: EvaluationPrecomputedRetrieveSourceConfig + +@dataclass +class EvaluationPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfig(_SerdeShape): + """ + A summary of a RAG source used for a retrieve-and-generate Knowledge + Base evaluation job where you provide your own inference response data. + """ + + value: EvaluationPrecomputedRetrieveAndGenerateSourceConfig + +@dataclass +class EvaluationPrecomputedRagSourceConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluationPrecomputedRagSourceConfig = Union[ + EvaluationPrecomputedRagSourceConfigRetrieveSourceConfig + | EvaluationPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfig + | EvaluationPrecomputedRagSourceConfigUnknown +] +""" +A summary of a RAG source used for a Knowledge Base evaluation job where +you provide your own inference response data. +""" + +class _EvaluationPrecomputedRagSourceConfigDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> EvaluationPrecomputedRagSourceConfig: ... + +@dataclass(kw_only=True) +class EvaluationPrecomputedRetrieveAndGenerateSourceConfig(_SerdeShape): + """ + A summary of a RAG source used for a retrieve-and-generate Knowledge + Base evaluation job where you provide your own inference response data. + """ + + rag_source_identifier: str + """ + A label that identifies the RAG source used for a retrieve-and-generate + Knowledge Base evaluation job where you provide your own inference + response data. + """ + +@dataclass(kw_only=True) +class EvaluationPrecomputedRetrieveSourceConfig(_SerdeShape): + """ + A summary of a RAG source used for a retrieve-only Knowledge Base + evaluation job where you provide your own inference response data. + """ + + rag_source_identifier: str + """ + A label that identifies the RAG source used for a retrieve-only + Knowledge Base evaluation job where you provide your own inference + response data. + """ + +@dataclass(kw_only=True) +class EvaluationRagConfigSummary(_SerdeShape): + """ + A summary of the RAG resources used in an Amazon Bedrock Knowledge Base + evaluation job. These resources can be Knowledge Bases in Amazon Bedrock + or RAG sources outside of Amazon Bedrock that you use to generate your + own inference response data. + """ + + bedrock_knowledge_base_identifiers: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the Knowledge Base resources used + for a Knowledge Base evaluation job where Amazon Bedrock invokes the + Knowledge Base for you. + """ + precomputed_rag_source_identifiers: list[str] | None = ... + """ + A label that identifies the RAG sources used for a Knowledge Base + evaluation job where you provide your own inference response data. + """ + +@dataclass(kw_only=True) +class EvaluationSummary(_SerdeShape): + """Summary information of an evaluation job.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the evaluation job.""" + job_name: str + """The name for the evaluation job.""" + status: str + """The current status of the evaluation job.""" + creation_time: datetime + """The time the evaluation job was created.""" + job_type: str + """Specifies whether the evaluation job is automated or human-based.""" + evaluation_task_types: list[str] + """The type of task for model evaluation.""" + model_identifiers: list[str] = ... + """ + The Amazon Resource Names (ARNs) of the model(s) used for the evaluation + job. + """ + rag_identifiers: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the knowledge base resources used + for a knowledge base evaluation job. + """ + evaluator_model_identifiers: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the models used to compute the + metrics for a knowledge base evaluation job. + """ + custom_metrics_evaluator_model_identifiers: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the models used to compute custom + metrics in an Amazon Bedrock evaluation job. + """ + inference_config_summary: EvaluationInferenceConfigSummary | None = ... + """ + Identifies the models, Knowledge Bases, or other RAG sources evaluated + in a model or Knowledge Base evaluation job. + """ + application_type: str | None = ... + """ + Specifies whether the evaluation job is for evaluating a model or + evaluating a knowledge base (retrieval and response generation). + """ + +class EvaluationTaskType(UnknownEnumMixin, StrEnum): + SUMMARIZATION = "Summarization" + CLASSIFICATION = "Classification" + QUESTION_AND_ANSWER = "QuestionAndAnswer" + GENERATION = "Generation" + CUSTOM = "Custom" + +@dataclass +class EvaluatorModelConfigBedrockEvaluatorModels(_SerdeShape): + """ + The evaluator model used in knowledge base evaluation job or in model + evaluation job that use a model as judge. This model computes all + evaluation related metrics. + """ + + value: list[BedrockEvaluatorModel] + +@dataclass +class EvaluatorModelConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +EvaluatorModelConfig = Union[ + EvaluatorModelConfigBedrockEvaluatorModels | EvaluatorModelConfigUnknown +] +""" +Specifies the model configuration for the evaluator model. +`EvaluatorModelConfig` is required for evaluation jobs that use a +knowledge base or in model evaluation job that use a model as judge. +This model computes all evaluation related metrics. +""" + +class _EvaluatorModelConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> EvaluatorModelConfig: ... + +@dataclass(kw_only=True) +class ExportAutomatedReasoningPolicyVersionInput(_SerdeShape): + """Dataclass for ExportAutomatedReasoningPolicyVersionInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy to + export. Can be either the unversioned ARN for the draft policy or a + versioned ARN for a specific policy version. + """ + +@dataclass(kw_only=True) +class ExportAutomatedReasoningPolicyVersionOutput(_SerdeShape): + """Dataclass for ExportAutomatedReasoningPolicyVersionOutput structure.""" + + policy_definition: AutomatedReasoningPolicyDefinition + """ + The exported policy definition containing the formal logic rules, + variables, and custom variable types. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExternalSource(_SerdeShape): + """ + The unique external source of the content contained in the wrapper + object. + """ + + source_type: str + """The source type of the external source wrapper object.""" + s3_location: S3ObjectDoc | None = ... + """The S3 location of the external source wrapper object.""" + byte_content: ByteContentDoc | None = ... + """ + The identifier, content type, and data of the external source wrapper + object. + """ + +@dataclass(kw_only=True) +class ExternalSourcesGenerationConfiguration(_SerdeShape): + """ + The response generation configuration of the external source wrapper + object. + """ + + prompt_template: PromptTemplate | None = ... + """ + Contains the template for the prompt for the external source wrapper + object. + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """Configuration details for the guardrail.""" + kb_inference_config: KbInferenceConfig | None = ... + """ + Configuration details for inference when using `RetrieveAndGenerate` to + generate responses while using an external source. + """ + additional_model_request_fields: dict[str, Document] | None = ... + """ + Additional model parameters and their corresponding values not included + in the text inference configuration for an external source. Takes in + custom model parameters specific to the language model being used. + """ + +@dataclass(kw_only=True) +class ExternalSourcesRetrieveAndGenerateConfiguration(_SerdeShape): + """ + The configuration of the external source wrapper object in the + `retrieveAndGenerate` function. + """ + + model_arn: str + """ + The Amazon Resource Name (ARN) of the foundation model or [inference + profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) + used to generate responses. + """ + sources: list[ExternalSource] + """ + The document for the external source wrapper object in the + `retrieveAndGenerate` function. + """ + generation_configuration: ExternalSourcesGenerationConfiguration | None = ... + """ + Contains configurations details for response generation based on + retrieved text chunks. + """ + +class ExternalSourceType(UnknownEnumMixin, StrEnum): + S3 = "S3" + BYTE_CONTENT = "BYTE_CONTENT" + +@dataclass(kw_only=True) +class FieldForReranking(_SerdeShape): + """ + Specifies a field to be used during the reranking process in a Knowledge + Base vector search. This structure identifies metadata fields that + should be considered when reordering search results to improve + relevance. + """ + + field_name: str + """The name of the metadata field to be used during the reranking process.""" + +@dataclass(kw_only=True) +class FilterAttribute(_SerdeShape): + """ + Specifies the name of the metadata attribute/field to apply filters. You + must match the name of the attribute/field in your data source/document + metadata. + """ + + key: str + """ + The name of metadata attribute/field, which must match the name in your + data source/document metadata. + """ + value: Document + """The value of the metadata attribute/field.""" + +class FineTuningJobStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + STOPPING = "Stopping" + STOPPED = "Stopped" + +@dataclass(kw_only=True) +class FoundationModelDetails(_SerdeShape): + """Information about a foundation model.""" + + model_arn: str + """The model Amazon Resource Name (ARN).""" + model_id: str + """The model identifier.""" + model_name: str | None = ... + """The model name.""" + provider_name: str | None = ... + """The model's provider name.""" + input_modalities: list[str] | None = ... + """The input modalities that the model supports.""" + output_modalities: list[str] | None = ... + """The output modalities that the model supports.""" + response_streaming_supported: bool | None = ... + """Indicates whether the model supports streaming.""" + customizations_supported: list[str] | None = ... + """The customization that the model supports.""" + inference_types_supported: list[str] | None = ... + """The inference types that the model supports.""" + model_lifecycle: FoundationModelLifecycle | None = ... + """ + Contains details about whether a model version is available or + deprecated + """ + +@dataclass(kw_only=True) +class FoundationModelLifecycle(_SerdeShape): + """Details about whether a model version is available or deprecated.""" + + status: str + """ + Specifies whether a model version is available (`ACTIVE`) or deprecated + (`LEGACY`. + """ + start_of_life_time: datetime | None = ... + """Launch time when the model first becomes available""" + end_of_life_time: datetime | None = ... + """Time when the model is no longer available for use""" + legacy_time: datetime | None = ... + """ + Time when the model enters legacy state. Models in legacy state can + still be used, but users should plan to transition to an Active model + before the end of life time + """ + public_extended_access_time: datetime | None = ... + """ + Public extended access portion of the legacy period, when users should + expect higher pricing + """ + +class FoundationModelLifecycleStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + LEGACY = "LEGACY" + +@dataclass(kw_only=True) +class FoundationModelSummary(_SerdeShape): + """Summary information for a foundation model.""" + + model_arn: str + """The Amazon Resource Name (ARN) of the foundation model.""" + model_id: str + """The model ID of the foundation model.""" + model_name: str | None = ... + """The name of the model.""" + provider_name: str | None = ... + """The model's provider name.""" + input_modalities: list[str] | None = ... + """The input modalities that the model supports.""" + output_modalities: list[str] | None = ... + """The output modalities that the model supports.""" + response_streaming_supported: bool | None = ... + """Indicates whether the model supports streaming.""" + customizations_supported: list[str] | None = ... + """Whether the model supports fine-tuning or continual pre-training.""" + inference_types_supported: list[str] | None = ... + """The inference types that the model supports.""" + model_lifecycle: FoundationModelLifecycle | None = ... + """ + Contains details about whether a model version is available or + deprecated. + """ + +@dataclass(kw_only=True) +class GenerationConfiguration(_SerdeShape): + """ + The configuration details for response generation based on retrieved + text chunks. + """ + + prompt_template: PromptTemplate | None = ... + """ + Contains the template for the prompt that's sent to the model for + response generation. + """ + guardrail_configuration: GuardrailConfiguration | None = ... + """Contains configuration details for the guardrail.""" + kb_inference_config: KbInferenceConfig | None = ... + """ + Contains configuration details for inference for knowledge base + retrieval and response generation. + """ + additional_model_request_fields: dict[str, Document] | None = ... + """ + Additional model parameters and corresponding values not included in the + `textInferenceConfig` structure for a knowledge base. This allows you to + provide custom model parameters specific to the language model being + used. + """ + +@dataclass(kw_only=True) +class GetAccountDataRetentionInput(_SerdeShape): + """Dataclass for GetAccountDataRetentionInput structure.""" + +@dataclass(kw_only=True) +class GetAccountDataRetentionOutput(_SerdeShape): + """Dataclass for GetAccountDataRetentionOutput structure.""" + + mode: str + """The data retention mode configured for the account.""" + updated_at: datetime | None = ... + """The time at which the data retention mode was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAdvancedPromptOptimizationJobInput(_SerdeShape): + """Get Advanced Prompt Optimization Job Request""" + + job_identifier: str | None = ... + """The ARN or ID of the advanced prompt optimization job.""" + +@dataclass(kw_only=True) +class GetAdvancedPromptOptimizationJobOutput(_SerdeShape): + """Get Advanced Prompt Optimization Job Response""" + + job_arn: str + """The Amazon Resource Name (ARN) of the advanced prompt optimization job.""" + job_name: str + """The name of the advanced prompt optimization job.""" + job_description: str | None = ... + """The description of the advanced prompt optimization job.""" + job_status: str + """The status of the advanced prompt optimization job.""" + input_config: AdvancedPromptOptimizationInputConfig + """The input data configuration for the optimization job.""" + output_config: AdvancedPromptOptimizationOutputConfig + """The output data configuration for the optimization job.""" + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the output + data. + """ + creation_time: datetime + """The time at which the advanced prompt optimization job was created.""" + last_modified_time: datetime | None = ... + """ + The time at which the advanced prompt optimization job was last + modified. + """ + failure_message: str | None = ... + """If the job failed, a message describing the reason for the failure.""" + model_configurations: list[ModelConfiguration] + """The model configurations used in the optimization job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/models_1.pyi b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/models_1.pyi new file mode 100644 index 000000000..538831196 --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/models_1.pyi @@ -0,0 +1,5738 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccountEnforcedGuardrailInferenceInputConfiguration, + AccountEnforcedGuardrailOutputConfiguration, + AdvancedPromptOptimizationJobSummary, + AgreementAvailability, + AutomatedReasoningPolicyAnnotation, + AutomatedReasoningPolicyBuildResultAssets, + AutomatedReasoningPolicyBuildWorkflowSummary, + AutomatedReasoningPolicyScenario, + AutomatedReasoningPolicySummary, + AutomatedReasoningPolicyTestCase, + AutomatedReasoningPolicyTestResult, + CloudWatchConfig, + CustomModelDeploymentSummary, + CustomModelDeploymentUpdateDetails, + CustomModelSummary, + CustomModelUnits, + CustomizationConfig, + DimensionalPriceRate, + EndpointConfig, + EvaluationConfig, + EvaluationDatasetMetricConfig, + EvaluationInferenceConfig, + EvaluationOutputDataConfig, + EvaluationPrecomputedRagSourceConfig, + EvaluationSummary, + ExternalSourcesRetrieveAndGenerateConfiguration, + FieldForReranking, + FilterAttribute, + FoundationModelDetails, + FoundationModelSummary, + GenerationConfiguration, + ServiceError, + StatusDetails, + Tag, + TermDetails, + TextInferenceConfig, + TrainingDataConfig, + TrainingMetrics, + ValidationDataConfig, + ValidatorMetric, + VectorSearchRerankingConfiguration, + VpcConfig, + _SerdeShape, +) + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyAnnotationsInput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyAnnotationsInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy whose + annotations you want to retrieve. + """ + build_workflow_id: str | None = ... + """ + The unique identifier of the build workflow whose annotations you want + to retrieve. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyAnnotationsOutput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyAnnotationsOutput structure.""" + + policy_arn: str + """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" + name: str + """The name of the Automated Reasoning policy.""" + build_workflow_id: str + """The unique identifier of the build workflow.""" + annotations: list[AutomatedReasoningPolicyAnnotation] + """ + The current set of annotations containing rules, variables, and types + extracted from the source documents. These can be modified before + finalizing the policy. + """ + annotation_set_hash: str + """ + A hash value representing the current state of the annotations. This is + used for optimistic concurrency control when updating annotations. + """ + updated_at: datetime + """The timestamp when the annotations were last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyBuildWorkflowInput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyBuildWorkflowInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy whose + build workflow you want to retrieve. + """ + build_workflow_id: str | None = ... + """The unique identifier of the build workflow to retrieve.""" + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyBuildWorkflowOutput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyBuildWorkflowOutput structure.""" + + policy_arn: str + """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" + build_workflow_id: str + """The unique identifier of the build workflow.""" + status: str + """ + The current status of the build workflow (e.g., RUNNING, COMPLETED, + FAILED, CANCELLED). + """ + build_workflow_type: str + """ + The type of build workflow being executed (e.g., DOCUMENT_INGESTION, + POLICY_REPAIR). + """ + document_name: str | None = ... + """The name of the source document used in the build workflow.""" + document_content_type: str | None = ... + """ + The content type of the source document (e.g., text/plain, + application/pdf). + """ + document_description: str | None = ... + """ + A detailed description of the document's content and how it should be + used in the policy generation process. + """ + created_at: datetime + """The timestamp when the build workflow was created.""" + updated_at: datetime + """The timestamp when the build workflow was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput(_SerdeShape): + """ + Dataclass for GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput + structure. + """ + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy whose + build workflow assets you want to retrieve. + """ + build_workflow_id: str | None = ... + """ + The unique identifier of the build workflow whose result assets you want + to retrieve. + """ + asset_type: str | None = ... + """ + The type of asset to retrieve (e.g., BUILD_LOG, QUALITY_REPORT, + POLICY_DEFINITION, GENERATED_TEST_CASES, POLICY_SCENARIOS, + FIDELITY_REPORT, ASSET_MANIFEST, SOURCE_DOCUMENT). + """ + asset_id: str | None = ... + """ + The unique identifier of the specific asset to retrieve when multiple + assets of the same type exist. This is required when retrieving + SOURCE_DOCUMENT assets, as multiple source documents may have been used + in the workflow. The asset ID can be obtained from the asset manifest. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput(_SerdeShape): + """ + Dataclass for GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput + structure. + """ + + policy_arn: str + """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" + build_workflow_id: str + """The unique identifier of the build workflow.""" + build_workflow_assets: AutomatedReasoningPolicyBuildResultAssets | None = ... + """ + The requested build workflow asset. This is a union type that returns + only one of the available asset types (logs, reports, or generated + artifacts) based on the specific asset type requested in the API call. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyInput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy to + retrieve. Can be either the unversioned ARN for the draft policy or an + ARN for a specific policy version. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyNextScenarioInput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyNextScenarioInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy for + which you want to get the next test scenario. + """ + build_workflow_id: str | None = ... + """ + The unique identifier of the build workflow associated with the test + scenarios. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyNextScenarioOutput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyNextScenarioOutput structure.""" + + policy_arn: str + """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" + scenario: AutomatedReasoningPolicyScenario | None = ... + """ + The next test scenario to validate, including the test expression and + expected results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyOutput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyOutput structure.""" + + policy_arn: str + """The Amazon Resource Name (ARN) of the policy.""" + name: str + """The name of the policy.""" + version: str + """The version of the policy.""" + policy_id: str + """The unique identifier of the policy.""" + description: str | None = ... + """The description of the policy.""" + definition_hash: str + """The hash of the policy definition used as a concurrency token.""" + kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the + automated reasoning policy and its associated artifacts. If a KMS key is + not provided during the initial CreateAutomatedReasoningPolicyRequest, + the kmsKeyArn won't be included in the + GetAutomatedReasoningPolicyResponse. + """ + created_at: datetime | None = ... + """The timestamp when the policy was created.""" + updated_at: datetime + """The timestamp when the policy was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyTestCaseInput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyTestCaseInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy that + contains the test. + """ + test_case_id: str | None = ... + """The unique identifier of the test to retrieve.""" + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyTestCaseOutput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyTestCaseOutput structure.""" + + policy_arn: str + """The Amazon Resource Name (ARN) of the policy that contains the test.""" + test_case: AutomatedReasoningPolicyTestCase + """ + The test details including the content, query, expected result, and + metadata. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyTestResultInput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyTestResultInput structure.""" + + policy_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" + build_workflow_id: str | None = ... + """ + The build workflow identifier. The build workflow must display a + `COMPLETED` status to get results. + """ + test_case_id: str | None = ... + """The unique identifier of the test for which to retrieve results.""" + +@dataclass(kw_only=True) +class GetAutomatedReasoningPolicyTestResultOutput(_SerdeShape): + """Dataclass for GetAutomatedReasoningPolicyTestResultOutput structure.""" + + test_result: AutomatedReasoningPolicyTestResult + """ + The test result containing validation findings, execution status, and + detailed analysis. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCustomModelDeploymentInput(_SerdeShape): + """Dataclass for GetCustomModelDeploymentInput structure.""" + + custom_model_deployment_identifier: str | None = ... + """ + The Amazon Resource Name (ARN) or name of the custom model deployment to + retrieve information about. + """ + +@dataclass(kw_only=True) +class GetCustomModelDeploymentOutput(_SerdeShape): + """Dataclass for GetCustomModelDeploymentOutput structure.""" + + custom_model_deployment_arn: str + """The Amazon Resource Name (ARN) of the custom model deployment.""" + model_deployment_name: str + """The name of the custom model deployment.""" + model_arn: str + """ + The Amazon Resource Name (ARN) of the custom model associated with this + deployment. + """ + created_at: datetime + """The date and time when the custom model deployment was created.""" + status: str + """ + The status of the custom model deployment. Possible values are: + + - `CREATING` - The deployment is being set up and prepared for + inference. + + - `ACTIVE` - The deployment is ready and available for inference + requests. + + - `FAILED` - The deployment failed to be created or became unavailable. + """ + description: str | None = ... + """The description of the custom model deployment.""" + update_details: CustomModelDeploymentUpdateDetails | None = ... + """ + Details about any pending or completed updates to the custom model + deployment, including the new model ARN and update status. + """ + failure_message: str | None = ... + """ + If the deployment status is `FAILED`, this field contains a message + describing the failure reason. + """ + last_updated_at: datetime | None = ... + """The date and time when the custom model deployment was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCustomModelInput(_SerdeShape): + """Dataclass for GetCustomModelInput structure.""" + + model_identifier: str | None = ... + """Name or Amazon Resource Name (ARN) of the custom model.""" + +@dataclass(kw_only=True) +class GetCustomModelOutput(_SerdeShape): + """Dataclass for GetCustomModelOutput structure.""" + + model_arn: str + """Amazon Resource Name (ARN) associated with this model.""" + model_name: str + """Model name associated with this model.""" + job_name: str | None = ... + """Job name associated with this model.""" + job_arn: str | None = ... + """ + Job Amazon Resource Name (ARN) associated with this model. For models + that you create with the + [CreateCustomModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateCustomModel.html) + API operation, this is `NULL`. + """ + base_model_arn: str | None = ... + """Amazon Resource Name (ARN) of the base model.""" + customization_type: str | None = ... + """The type of model customization.""" + model_kms_key_arn: str | None = ... + """The custom model is encrypted at rest using this key.""" + hyper_parameters: dict[str, str] | None = ... + """ + Hyperparameter values associated with this model. For details on the + format for different models, see [Custom model + hyperparameters](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html). + """ + training_data_config: TrainingDataConfig | None = ... + """Contains information about the training dataset.""" + validation_data_config: ValidationDataConfig | None = ... + """Contains information about the validation dataset.""" + output_data_config: OutputDataConfig | None = ... + """Output data configuration associated with this custom model.""" + training_metrics: TrainingMetrics | None = ... + """Contains training metrics from the job creation.""" + validation_metrics: list[ValidatorMetric] | None = ... + """The validation metrics from the job creation.""" + creation_time: datetime + """Creation time of the model.""" + customization_config: CustomizationConfig | None = ... + """The customization configuration for the custom model.""" + model_status: str | None = ... + """ + The current status of the custom model. Possible values include: + + - `Creating` - The model is being created and validated. + + - `Active` - The model has been successfully created and is ready for + use. + + - `Failed` - The model creation process failed. Check the + `failureMessage` field for details. + """ + failure_message: str | None = ... + """ + A failure message for any issues that occurred when creating the custom + model. This is included for only a failed CreateCustomModel operation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEvaluationJobInput(_SerdeShape): + """Dataclass for GetEvaluationJobInput structure.""" + + job_identifier: str | None = ... + """ + The Amazon Resource Name (ARN) of the evaluation job you want get + information on. + """ + +@dataclass(kw_only=True) +class GetEvaluationJobOutput(_SerdeShape): + """Dataclass for GetEvaluationJobOutput structure.""" + + job_name: str + """The name for the evaluation job.""" + status: str + """The current status of the evaluation job.""" + job_arn: str + """The Amazon Resource Name (ARN) of the evaluation job.""" + job_description: str | None = ... + """The description of the evaluation job.""" + role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM service role used in the + evaluation job. + """ + customer_encryption_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the customer managed encryption key + specified when the evaluation job was created. + """ + job_type: str + """Specifies whether the evaluation job is automated or human-based.""" + application_type: str | None = ... + """ + Specifies whether the evaluation job is for evaluating a model or + evaluating a knowledge base (retrieval and response generation). + """ + evaluation_config: EvaluationConfig + """ + Contains the configuration details of either an automated or human-based + evaluation job. + """ + inference_config: EvaluationInferenceConfig + """ + Contains the configuration details of the inference model used for the + evaluation job. + """ + output_data_config: EvaluationOutputDataConfig + """ + Contains the configuration details of the Amazon S3 bucket for storing + the results of the evaluation job. + """ + creation_time: datetime + """The time the evaluation job was created.""" + last_modified_time: datetime | None = ... + """The time the evaluation job was last modified.""" + failure_messages: list[str] | None = ... + """A list of strings that specify why the evaluation job failed to create.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFoundationModelAvailabilityInput(_SerdeShape): + """Dataclass for GetFoundationModelAvailabilityInput structure.""" + + model_id: str | None = ... + """The model Id of the foundation model.""" + +@dataclass(kw_only=True) +class GetFoundationModelAvailabilityOutput(_SerdeShape): + """Dataclass for GetFoundationModelAvailabilityOutput structure.""" + + model_id: str + """The model Id of the foundation model.""" + agreement_availability: AgreementAvailability + """Agreement availability.""" + authorization_status: str + """Authorization status.""" + entitlement_availability: str + """Entitlement availability.""" + region_availability: str + """Region availability.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFoundationModelInput(_SerdeShape): + """Dataclass for GetFoundationModelInput structure.""" + + model_identifier: str | None = ... + """The model identifier.""" + +@dataclass(kw_only=True) +class GetFoundationModelOutput(_SerdeShape): + """Dataclass for GetFoundationModelOutput structure.""" + + model_details: FoundationModelDetails | None = ... + """Information about the foundation model.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGuardrailInput(_SerdeShape): + """Dataclass for GetGuardrailInput structure.""" + + guardrail_identifier: str | None = ... + """ + The unique identifier of the guardrail for which to get details. This + can be an ID or the ARN. + """ + guardrail_version: str | None = ... + """ + The version of the guardrail for which to get details. If you don't + specify a version, the response returns details for the `DRAFT` version. + """ + +@dataclass(kw_only=True) +class GetGuardrailOutput(_SerdeShape): + """Dataclass for GetGuardrailOutput structure.""" + + name: str + """The name of the guardrail.""" + description: str | None = ... + """The description of the guardrail.""" + guardrail_id: str + """The unique identifier of the guardrail.""" + guardrail_arn: str + """The ARN of the guardrail.""" + version: str + """The version of the guardrail.""" + status: str + """The status of the guardrail.""" + topic_policy: GuardrailTopicPolicy | None = ... + """The topic policy that was configured for the guardrail.""" + content_policy: GuardrailContentPolicy | None = ... + """The content policy that was configured for the guardrail.""" + word_policy: GuardrailWordPolicy | None = ... + """The word policy that was configured for the guardrail.""" + sensitive_information_policy: GuardrailSensitiveInformationPolicy | None = ... + """The sensitive information policy that was configured for the guardrail.""" + contextual_grounding_policy: GuardrailContextualGroundingPolicy | None = ... + """The contextual grounding policy used in the guardrail.""" + automated_reasoning_policy: GuardrailAutomatedReasoningPolicy | None = ... + """ + The current Automated Reasoning policy configuration for the guardrail, + if any is configured. + """ + cross_region_details: GuardrailCrossRegionDetails | None = ... + """ + Details about the system-defined guardrail profile that you're using + with your guardrail, including the guardrail profile ID and Amazon + Resource Name (ARN). + """ + created_at: datetime + """The date and time at which the guardrail was created.""" + updated_at: datetime + """The date and time at which the guardrail was updated.""" + status_reasons: list[str] | None = ... + """ + Appears if the `status` is `FAILED`. A list of reasons for why the + guardrail failed to be created, updated, versioned, or deleted. + """ + failure_recommendations: list[str] | None = ... + """ + Appears if the `status` of the guardrail is `FAILED`. A list of + recommendations to carry out before retrying the request. + """ + blocked_input_messaging: str + """The message that the guardrail returns when it blocks a prompt.""" + blocked_outputs_messaging: str + """The message that the guardrail returns when it blocks a model response.""" + kms_key_arn: str | None = ... + """The ARN of the KMS key that encrypts the guardrail.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetImportedModelInput(_SerdeShape): + """Dataclass for GetImportedModelInput structure.""" + + model_identifier: str | None = ... + """Name or Amazon Resource Name (ARN) of the imported model.""" + +@dataclass(kw_only=True) +class GetImportedModelOutput(_SerdeShape): + """Dataclass for GetImportedModelOutput structure.""" + + model_arn: str | None = ... + """The Amazon Resource Name (ARN) associated with this imported model.""" + model_name: str | None = ... + """The name of the imported model.""" + job_name: str | None = ... + """Job name associated with the imported model.""" + job_arn: str | None = ... + """Job Amazon Resource Name (ARN) associated with the imported model.""" + model_data_source: ModelDataSource | None = ... + """The data source for this imported model.""" + creation_time: datetime | None = ... + """Creation time of the imported model.""" + model_architecture: str | None = ... + """The architecture of the imported model.""" + model_kms_key_arn: str | None = ... + """The imported model is encrypted at rest using this key.""" + instruct_supported: bool | None = ... + """Specifies if the imported model supports converse.""" + custom_model_units: CustomModelUnits | None = ... + """ + Information about the hardware utilization for a single copy of the + model. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInferenceProfileInput(_SerdeShape): + """Dataclass for GetInferenceProfileInput structure.""" + + inference_profile_identifier: str | None = ... + """The ID or Amazon Resource Name (ARN) of the inference profile.""" + +@dataclass(kw_only=True) +class GetInferenceProfileOutput(_SerdeShape): + """Dataclass for GetInferenceProfileOutput structure.""" + + inference_profile_name: str + """The name of the inference profile.""" + description: str | None = ... + """The description of the inference profile.""" + created_at: datetime | None = ... + """The time at which the inference profile was created.""" + updated_at: datetime | None = ... + """The time at which the inference profile was last updated.""" + inference_profile_arn: str + """The Amazon Resource Name (ARN) of the inference profile.""" + models: list[InferenceProfileModel] + """A list of information about each model in the inference profile.""" + inference_profile_id: str + """The unique identifier of the inference profile.""" + status: str + """ + The status of the inference profile. `ACTIVE` means that the inference + profile is ready to be used. + """ + type: str + """ + The type of the inference profile. The following types are possible: + + - `SYSTEM_DEFINED` -- The inference profile is defined by Amazon + Bedrock. You can route inference requests across regions with these + inference profiles. + + - `APPLICATION` -- The inference profile was created by a user. This + type of inference profile can track metrics and costs when invoking + the model in it. The inference profile may route requests to one or + multiple regions. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMarketplaceModelEndpointInput(_SerdeShape): + """Dataclass for GetMarketplaceModelEndpointInput structure.""" + + endpoint_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the endpoint you want to get + information about. + """ + +@dataclass(kw_only=True) +class GetMarketplaceModelEndpointOutput(_SerdeShape): + """Dataclass for GetMarketplaceModelEndpointOutput structure.""" + + marketplace_model_endpoint: MarketplaceModelEndpoint | None = ... + """Details about the requested endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetModelCopyJobInput(_SerdeShape): + """Dataclass for GetModelCopyJobInput structure.""" + + job_arn: str | None = ... + """The Amazon Resource Name (ARN) of the model copy job.""" + +@dataclass(kw_only=True) +class GetModelCopyJobOutput(_SerdeShape): + """Dataclass for GetModelCopyJobOutput structure.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the model copy job.""" + status: str + """The status of the model copy job.""" + creation_time: datetime + """The time at which the model copy job was created.""" + target_model_arn: str + """The Amazon Resource Name (ARN) of the copied model.""" + target_model_name: str | None = ... + """The name of the copied model.""" + source_account_id: str + """ + The unique identifier of the account that the model being copied + originated from. + """ + source_model_arn: str + """The Amazon Resource Name (ARN) of the original model being copied.""" + target_model_kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key encrypting the copied + model. + """ + target_model_tags: list[Tag] | None = ... + """The tags associated with the copied model.""" + failure_message: str | None = ... + """An error message for why the model copy job failed.""" + source_model_name: str | None = ... + """The name of the original model being copied.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetModelCustomizationJobInput(_SerdeShape): + """Dataclass for GetModelCustomizationJobInput structure.""" + + job_identifier: str | None = ... + """Identifier for the customization job.""" + +@dataclass(kw_only=True) +class GetModelCustomizationJobOutput(_SerdeShape): + """Dataclass for GetModelCustomizationJobOutput structure.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the customization job.""" + job_name: str + """The name of the customization job.""" + output_model_name: str + """The name of the output model.""" + output_model_arn: str | None = ... + """The Amazon Resource Name (ARN) of the output model.""" + client_request_token: str | None = ... + """The token that you specified in the `CreateCustomizationJob` request.""" + role_arn: str + """The Amazon Resource Name (ARN) of the IAM role.""" + status: str | None = ... + """ + The status of the job. A successful job transitions from in-progress to + completed when the output model is ready to use. If the job failed, the + failure message contains information about why the job failed. + """ + status_details: StatusDetails | None = ... + """ + For a Distillation job, the details about the statuses of the sub-tasks + of the customization job. + """ + failure_message: str | None = ... + """Information about why the job failed.""" + creation_time: datetime + """Time that the resource was created.""" + last_modified_time: datetime | None = ... + """Time that the resource was last modified.""" + end_time: datetime | None = ... + """Time that the resource transitioned to terminal state.""" + base_model_arn: str + """Amazon Resource Name (ARN) of the base model.""" + hyper_parameters: dict[str, str] | None = ... + """ + The hyperparameter values for the job. For details on the format for + different models, see [Custom model + hyperparameters](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html). + """ + training_data_config: TrainingDataConfig + """Contains information about the training dataset.""" + validation_data_config: ValidationDataConfig + """Contains information about the validation dataset.""" + output_data_config: OutputDataConfig + """Output data configuration""" + customization_type: str | None = ... + """The type of model customization.""" + output_model_kms_key_arn: str | None = ... + """The custom model is encrypted at rest using this key.""" + training_metrics: TrainingMetrics | None = ... + """Contains training metrics from the job creation.""" + validation_metrics: list[ValidatorMetric] | None = ... + """ + The loss metric for each validator that you provided in the createjob + request. + """ + vpc_config: VpcConfig | None = ... + """VPC configuration for the custom model job.""" + customization_config: CustomizationConfig | None = ... + """The customization configuration for the model customization job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetModelImportJobInput(_SerdeShape): + """Dataclass for GetModelImportJobInput structure.""" + + job_identifier: str | None = ... + """The identifier of the import job.""" + +@dataclass(kw_only=True) +class GetModelImportJobOutput(_SerdeShape): + """Dataclass for GetModelImportJobOutput structure.""" + + job_arn: str | None = ... + """The Amazon Resource Name (ARN) of the import job.""" + job_name: str | None = ... + """The name of the import job.""" + imported_model_name: str | None = ... + """The name of the imported model.""" + imported_model_arn: str | None = ... + """The Amazon Resource Name (ARN) of the imported model.""" + role_arn: str | None = ... + """The Amazon Resource Name (ARN) of the IAM role associated with this job.""" + model_data_source: ModelDataSource | None = ... + """The data source for the imported model.""" + status: str | None = ... + """ + The status of the job. A successful job transitions from in-progress to + completed when the imported model is ready to use. If the job failed, + the failure message contains information about why the job failed. + """ + failure_message: str | None = ... + """Information about why the import job failed.""" + creation_time: datetime | None = ... + """The time the resource was created.""" + last_modified_time: datetime | None = ... + """Time the resource was last modified.""" + end_time: datetime | None = ... + """Time that the resource transitioned to terminal state.""" + vpc_config: VpcConfig | None = ... + """The Virtual Private Cloud (VPC) configuration of the import model job.""" + imported_model_kms_key_arn: str | None = ... + """The imported model is encrypted at rest using this key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetModelInvocationJobInput(_SerdeShape): + """Dataclass for GetModelInvocationJobInput structure.""" + + job_identifier: str | None = ... + """The Amazon Resource Name (ARN) of the batch inference job.""" + +@dataclass(kw_only=True) +class GetModelInvocationJobOutput(_SerdeShape): + """Dataclass for GetModelInvocationJobOutput structure.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the batch inference job.""" + job_name: str | None = ... + """The name of the batch inference job.""" + model_id: str + """The unique identifier of the foundation model used for model inference.""" + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + role_arn: str + """ + The Amazon Resource Name (ARN) of the service role with permissions to + carry out and manage batch inference. You can use the console to create + a default service role or follow the steps at [Create a service role for + batch + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html). + """ + status: str | None = ... + """ + The status of the batch inference job. + + The following statuses are possible: + + - Submitted -- This job has been submitted to a queue for validation. + + - Validating -- This job is being validated for the requirements + described in [Format and upload your batch inference + data](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html). + The criteria include the following: + + - Your IAM service role has access to the Amazon S3 buckets containing + your files. + + - Your files are .jsonl files and each individual record is a JSON + object in the correct format. Note that validation doesn't check if + the `modelInput` value matches the request body for the model. + + - Your files fulfill the requirements for file size and number of + records. For more information, see [Quotas for Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html). + + - Scheduled -- This job has been validated and is now in a queue. The + job will automatically start when it reaches its turn. + + - Expired -- This job timed out because it was scheduled but didn't + begin before the set timeout duration. Submit a new job request. + + - InProgress -- This job has begun. You can start viewing the results in + the output S3 location. + + - Completed -- This job has successfully completed. View the output + files in the output S3 location. + + - PartiallyCompleted -- This job has partially completed. Not all of + your records could be processed in time. View the output files in the + output S3 location. + + - Failed -- This job has failed. Check the failure message for any + further details. For further assistance, reach out to the [Amazon Web + Services Support + Center](https://console.aws.amazon.com/support/home/). + + - Stopped -- This job was stopped by a user. + + - Stopping -- This job is being stopped by a user. + """ + message: str | None = ... + """ + If the batch inference job failed, this field contains a message + describing why the job failed. + """ + submit_time: datetime + """The time at which the batch inference job was submitted.""" + last_modified_time: datetime | None = ... + """The time at which the batch inference job was last modified.""" + end_time: datetime | None = ... + """The time at which the batch inference job ended.""" + input_data_config: ModelInvocationJobInputDataConfig + """Details about the location of the input to the batch inference job.""" + output_data_config: ModelInvocationJobOutputDataConfig + """Details about the location of the output of the batch inference job.""" + vpc_config: VpcConfig | None = ... + """ + The configuration of the Virtual Private Cloud (VPC) for the data in the + batch inference job. For more information, see [Protect batch inference + jobs using a + VPC](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc). + """ + timeout_duration_in_hours: int | None = ... + """The number of hours after which batch inference job was set to time out.""" + job_expiration_time: datetime | None = ... + """The time at which the batch inference job times or timed out.""" + model_invocation_type: str | None = ... + """The invocation endpoint for ModelInvocationJob""" + total_record_count: int | None = ... + """The total number of records in the batch inference job.""" + processed_record_count: int | None = ... + """ + The number of records that have been processed in the batch inference + job. + """ + success_record_count: int | None = ... + """ + The number of records that were successfully processed in the batch + inference job. + """ + error_record_count: int | None = ... + """The number of records that failed to process in the batch inference job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetModelInvocationLoggingConfigurationInput(_SerdeShape): + """Dataclass for GetModelInvocationLoggingConfigurationInput structure.""" + +@dataclass(kw_only=True) +class GetModelInvocationLoggingConfigurationOutput(_SerdeShape): + """Dataclass for GetModelInvocationLoggingConfigurationOutput structure.""" + + logging_config: LoggingConfig | None = ... + """The current configuration values.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPromptRouterInput(_SerdeShape): + """Dataclass for GetPromptRouterInput structure.""" + + prompt_router_arn: str | None = ... + """The prompt router's ARN""" + +@dataclass(kw_only=True) +class GetPromptRouterOutput(_SerdeShape): + """Dataclass for GetPromptRouterOutput structure.""" + + prompt_router_name: str + """The router's name.""" + routing_criteria: RoutingCriteria + """The router's routing criteria.""" + description: str | None = ... + """The router's description.""" + created_at: datetime | None = ... + """When the router was created.""" + updated_at: datetime | None = ... + """When the router was updated.""" + prompt_router_arn: str + """The prompt router's ARN""" + models: list[PromptRouterTargetModel] + """The router's models.""" + fallback_model: PromptRouterTargetModel + """The router's fallback model.""" + status: str + """The router's status.""" + type: str + """The router's type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetProvisionedModelThroughputInput(_SerdeShape): + """Dataclass for GetProvisionedModelThroughputInput structure.""" + + provisioned_model_id: str | None = ... + """The Amazon Resource Name (ARN) or name of the Provisioned Throughput.""" + +@dataclass(kw_only=True) +class GetProvisionedModelThroughputOutput(_SerdeShape): + """Dataclass for GetProvisionedModelThroughputOutput structure.""" + + model_units: int + """The number of model units allocated to this Provisioned Throughput.""" + desired_model_units: int + """ + The number of model units that was requested for this Provisioned + Throughput. + """ + provisioned_model_name: str + """The name of the Provisioned Throughput.""" + provisioned_model_arn: str + """The Amazon Resource Name (ARN) of the Provisioned Throughput.""" + model_arn: str + """ + The Amazon Resource Name (ARN) of the model associated with this + Provisioned Throughput. + """ + desired_model_arn: str + """ + The Amazon Resource Name (ARN) of the model requested to be associated + to this Provisioned Throughput. This value differs from the `modelArn` + if updating hasn't completed. + """ + foundation_model_arn: str + """ + The Amazon Resource Name (ARN) of the base model for which the + Provisioned Throughput was created, or of the base model that the custom + model for which the Provisioned Throughput was created was customized. + """ + status: str + """The status of the Provisioned Throughput.""" + creation_time: datetime + """The timestamp of the creation time for this Provisioned Throughput.""" + last_modified_time: datetime + """ + The timestamp of the last time that this Provisioned Throughput was + modified. + """ + failure_message: str | None = ... + """ + A failure message for any issues that occurred during creation, + updating, or deletion of the Provisioned Throughput. + """ + commitment_duration: str | None = ... + """Commitment duration of the Provisioned Throughput.""" + commitment_expiration_time: datetime | None = ... + """ + The timestamp for when the commitment term for the Provisioned + Throughput expires. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyInput(_SerdeShape): + """Dataclass for GetResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """The ARN of the Bedrock resource to which this resource policy applies.""" + +@dataclass(kw_only=True) +class GetResourcePolicyOutput(_SerdeShape): + """Dataclass for GetResourcePolicyOutput structure.""" + + resource_policy: str | None = ... + """The JSON string representing the Bedrock resource policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUseCaseForModelAccessInput(_SerdeShape): + """Dataclass for GetUseCaseForModelAccessInput structure.""" + +@dataclass(kw_only=True) +class GetUseCaseForModelAccessOutput(_SerdeShape): + """Dataclass for GetUseCaseForModelAccessOutput structure.""" + + form_data: bytes + """Get customer profile Response.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class GraderConfigLambdaGrader(_SerdeShape): + """ + Configuration for using an AWS Lambda function as the grader for + evaluating model responses and provide reward signals in reinforcement + fine-tuning. + """ + + value: LambdaGraderConfig + +@dataclass +class GraderConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +GraderConfig = Union[GraderConfigLambdaGrader | GraderConfigUnknown] +""" +Configuration for the grader used in reinforcement fine-tuning to +evaluate model responses and provide reward signals. +""" + +class _GraderConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> GraderConfig: ... + +@dataclass(kw_only=True) +class GuardrailAutomatedReasoningPolicy(_SerdeShape): + """ + Represents the configuration of Automated Reasoning policies within a + Amazon Bedrock Guardrail, including the policies to apply and confidence + thresholds. + """ + + policies: list[str] + """ + The list of Automated Reasoning policy ARNs that should be applied as + part of this guardrail configuration. + """ + confidence_threshold: float | None = ... + """ + The minimum confidence level required for Automated Reasoning policy + violations to trigger guardrail actions. Values range from 0.0 to 1.0. + """ + +@dataclass(kw_only=True) +class GuardrailAutomatedReasoningPolicyConfig(_SerdeShape): + """ + Configuration settings for integrating Automated Reasoning policies with + Amazon Bedrock Guardrails. + """ + + policies: list[str] + """ + The list of Automated Reasoning policy ARNs to include in the guardrail + configuration. + """ + confidence_threshold: float | None = ... + """ + The confidence threshold for triggering guardrail actions based on + Automated Reasoning policy violations. + """ + +@dataclass(kw_only=True) +class GuardrailConfiguration(_SerdeShape): + """The configuration details for the guardrail.""" + + guardrail_id: str + """The unique identifier for the guardrail.""" + guardrail_version: str + """The version of the guardrail.""" + +@dataclass(kw_only=True) +class GuardrailContentFilter(_SerdeShape): + """ + Contains filter strengths for harmful content. Guardrails support the + following content filters to detect and filter harmful user inputs and + FM-generated outputs. + + - **Hate** -- Describes language or a statement that discriminates, + criticizes, insults, denounces, or dehumanizes a person or group on + the basis of an identity (such as race, ethnicity, gender, religion, + sexual orientation, ability, and national origin). + + - **Insults** -- Describes language or a statement that includes + demeaning, humiliating, mocking, insulting, or belittling language. + This type of language is also labeled as bullying. + + - **Sexual** -- Describes language or a statement that indicates sexual + interest, activity, or arousal using direct or indirect references to + body parts, physical traits, or sex. + + - **Violence** -- Describes language or a statement that includes + glorification of or threats to inflict physical pain, hurt, or injury + toward a person, group or thing. + + Content filtering depends on the confidence classification of user + inputs and FM responses across each of the four harmful categories. All + input and output statements are classified into one of four confidence + levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, + if a statement is classified as *Hate* with HIGH confidence, the + likelihood of the statement representing hateful content is high. A + single statement can be classified across multiple categories with + varying confidence levels. For example, a single statement can be + classified as *Hate* with HIGH confidence, *Insults* with LOW + confidence, *Sexual* with NONE confidence, and *Violence* with MEDIUM + confidence. + + For more information, see [Guardrails content + filters](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters.html). + + This data type is used in the following API operations: + + - [GetGuardrail response + body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax) + """ + + type: str + """The harmful category that the content filter is applied to.""" + input_strength: str + """ + The strength of the content filter to apply to prompts. As you increase + the filter strength, the likelihood of filtering harmful content + increases and the probability of seeing harmful content in your + application reduces. + """ + output_strength: str + """ + The strength of the content filter to apply to model responses. As you + increase the filter strength, the likelihood of filtering harmful + content increases and the probability of seeing harmful content in your + application reduces. + """ + input_modalities: list[str] | None = ... + """The input modalities selected for the guardrail content filter.""" + output_modalities: list[str] | None = ... + """The output modalities selected for the guardrail content filter.""" + input_action: str | None = ... + """ + The action to take when harmful content is detected in the input. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + The action to take when harmful content is detected in the output. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +class GuardrailContentFilterAction(UnknownEnumMixin, StrEnum): + BLOCK = "BLOCK" + NONE = "NONE" + +@dataclass(kw_only=True) +class GuardrailContentFilterConfig(_SerdeShape): + """ + Contains filter strengths for harmful content. Guardrails support the + following content filters to detect and filter harmful user inputs and + FM-generated outputs. + + - **Hate** -- Describes language or a statement that discriminates, + criticizes, insults, denounces, or dehumanizes a person or group on + the basis of an identity (such as race, ethnicity, gender, religion, + sexual orientation, ability, and national origin). + + - **Insults** -- Describes language or a statement that includes + demeaning, humiliating, mocking, insulting, or belittling language. + This type of language is also labeled as bullying. + + - **Sexual** -- Describes language or a statement that indicates sexual + interest, activity, or arousal using direct or indirect references to + body parts, physical traits, or sex. + + - **Violence** -- Describes language or a statement that includes + glorification of or threats to inflict physical pain, hurt, or injury + toward a person, group or thing. + + Content filtering depends on the confidence classification of user + inputs and FM responses across each of the four harmful categories. All + input and output statements are classified into one of four confidence + levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, + if a statement is classified as *Hate* with HIGH confidence, the + likelihood of the statement representing hateful content is high. A + single statement can be classified across multiple categories with + varying confidence levels. For example, a single statement can be + classified as *Hate* with HIGH confidence, *Insults* with LOW + confidence, *Sexual* with NONE confidence, and *Violence* with MEDIUM + confidence. + + For more information, see [Guardrails content + filters](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters.html). + """ + + type: str + """The harmful category that the content filter is applied to.""" + input_strength: str + """ + The strength of the content filter to apply to prompts. As you increase + the filter strength, the likelihood of filtering harmful content + increases and the probability of seeing harmful content in your + application reduces. + """ + output_strength: str + """ + The strength of the content filter to apply to model responses. As you + increase the filter strength, the likelihood of filtering harmful + content increases and the probability of seeing harmful content in your + application reduces. + """ + input_modalities: list[str] | None = ... + """ + The input modalities selected for the guardrail content filter + configuration. + """ + output_modalities: list[str] | None = ... + """ + The output modalities selected for the guardrail content filter + configuration. + """ + input_action: str | None = ... + """ + Specifies the action to take when harmful content is detected. Supported + values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + output. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +@dataclass(kw_only=True) +class GuardrailContentFiltersTier(_SerdeShape): + """The tier that your guardrail uses for content filters.""" + + tier_name: str + """ + The tier that your guardrail uses for content filters. Valid values + include: + + - `CLASSIC` tier -- Provides established guardrails functionality + supporting English, French, and Spanish languages. + + - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` + tier and has more comprehensive language support. This tier requires + that your guardrail use [cross-Region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + +@dataclass(kw_only=True) +class GuardrailContentFiltersTierConfig(_SerdeShape): + """ + The tier that your guardrail uses for content filters. Consider using a + tier that balances performance, accuracy, and compatibility with your + existing generative AI workflows. + """ + + tier_name: str + """ + The tier that your guardrail uses for content filters. Valid values + include: + + - `CLASSIC` tier -- Provides established guardrails functionality + supporting English, French, and Spanish languages. + + - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` + tier and has more comprehensive language support. This tier requires + that your guardrail use [cross-Region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + +class GuardrailContentFiltersTierName(UnknownEnumMixin, StrEnum): + CLASSIC = "CLASSIC" + STANDARD = "STANDARD" + +class GuardrailContentFilterType(UnknownEnumMixin, StrEnum): + SEXUAL = "SEXUAL" + VIOLENCE = "VIOLENCE" + HATE = "HATE" + INSULTS = "INSULTS" + MISCONDUCT = "MISCONDUCT" + PROMPT_ATTACK = "PROMPT_ATTACK" + +@dataclass(kw_only=True) +class GuardrailContentPolicy(_SerdeShape): + """ + Contains details about how to handle harmful content. + + This data type is used in the following API operations: + + - [GetGuardrail response + body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax) + """ + + filters: list[GuardrailContentFilter] | None = ... + """ + Contains the type of the content filter and how strongly it should apply + to prompts and model responses. + """ + tier: GuardrailContentFiltersTier | None = ... + """The tier that your guardrail uses for content filters.""" + +@dataclass(kw_only=True) +class GuardrailContentPolicyConfig(_SerdeShape): + """Contains details about how to handle harmful content.""" + + filters_config: list[GuardrailContentFilterConfig] + """ + Contains the type of the content filter and how strongly it should apply + to prompts and model responses. + """ + tier_config: GuardrailContentFiltersTierConfig | None = ... + """The tier that your guardrail uses for content filters.""" + +class GuardrailContextualGroundingAction(UnknownEnumMixin, StrEnum): + BLOCK = "BLOCK" + NONE = "NONE" + +@dataclass(kw_only=True) +class GuardrailContextualGroundingFilter(_SerdeShape): + """The details for the guardrails contextual grounding filter.""" + + type: str + """The filter type details for the guardrails contextual grounding filter.""" + threshold: float + """The threshold details for the guardrails contextual grounding filter.""" + action: str | None = ... + """ + The action to take when content fails the contextual grounding + evaluation. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + enabled: bool | None = ... + """ + Indicates whether contextual grounding is enabled for evaluation. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +@dataclass(kw_only=True) +class GuardrailContextualGroundingFilterConfig(_SerdeShape): + """ + The filter configuration details for the guardrails contextual grounding + filter. + """ + + type: str + """The filter details for the guardrails contextual grounding filter.""" + threshold: float + """The threshold details for the guardrails contextual grounding filter.""" + action: str | None = ... + """ + Specifies the action to take when content fails the contextual grounding + evaluation. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + enabled: bool | None = ... + """ + Specifies whether to enable contextual grounding evaluation. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +class GuardrailContextualGroundingFilterType(UnknownEnumMixin, StrEnum): + GROUNDING = "GROUNDING" + RELEVANCE = "RELEVANCE" + +@dataclass(kw_only=True) +class GuardrailContextualGroundingPolicy(_SerdeShape): + """The details for the guardrails contextual grounding policy.""" + + filters: list[GuardrailContextualGroundingFilter] + """The filter details for the guardrails contextual grounding policy.""" + tier: GuardrailContextualGroundingTier | None = ... + """The tier that your guardrail uses for contextual grounding.""" + +@dataclass(kw_only=True) +class GuardrailContextualGroundingPolicyConfig(_SerdeShape): + """ + The policy configuration details for the guardrails contextual grounding + policy. + """ + + filters_config: list[GuardrailContextualGroundingFilterConfig] + """ + The filter configuration details for the guardrails contextual grounding + policy. + """ + tier_config: GuardrailContextualGroundingTierConfig | None = ... + """The tier that your guardrail uses for contextual grounding.""" + +@dataclass(kw_only=True) +class GuardrailContextualGroundingTier(_SerdeShape): + """ + Specifies the tier that your guardrail uses for contextual grounding + checks. + """ + + tier_name: str + """ + The tier that your guardrail uses for contextual grounding. Valid values + include: + + - `CLASSIC` tier -- Provides established contextual grounding + functionality supporting English, French, and Spanish languages. + + - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` + tier, with support for reasoning, conversational content and more + comprehensive language support. This tier requires that your guardrail + use [cross-Region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + +@dataclass(kw_only=True) +class GuardrailContextualGroundingTierConfig(_SerdeShape): + """ + Specifies the tier that your guardrail uses for contextual grounding + checks. + """ + + tier_name: str + """ + The tier that your guardrail uses for contextual grounding. Valid values + include: + + - `CLASSIC` tier -- Provides established contextual grounding + functionality supporting English, French, and Spanish languages. + + - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` + tier, with support for reasoning, conversational content and more + comprehensive language support. This tier requires that your guardrail + use [cross-Region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + +class GuardrailContextualGroundingTierName(UnknownEnumMixin, StrEnum): + CLASSIC = "CLASSIC" + STANDARD = "STANDARD" + +@dataclass(kw_only=True) +class GuardrailCrossRegionConfig(_SerdeShape): + """ + The system-defined guardrail profile that you're using with your + guardrail. Guardrail profiles define the destination Amazon Web Services + Regions where guardrail inference requests can be automatically routed. + Using guardrail profiles helps maintain guardrail performance and + reliability when demand increases. + + For more information, see the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + + guardrail_profile_identifier: str + """ + The ID or Amazon Resource Name (ARN) of the guardrail profile that your + guardrail is using. Guardrail profile availability depends on your + current Amazon Web Services Region. For more information, see the + [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region-support.html). + """ + +@dataclass(kw_only=True) +class GuardrailCrossRegionDetails(_SerdeShape): + """ + Contains details about the system-defined guardrail profile that you're + using with your guardrail for cross-Region inference. + + For more information, see the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + + guardrail_profile_id: str | None = ... + """ + The ID of the guardrail profile that your guardrail is using. Profile + availability depends on your current Amazon Web Services Region. For + more information, see the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region-support.html). + """ + guardrail_profile_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the guardrail profile that you're + using with your guardrail. + """ + +class GuardrailFilterStrength(UnknownEnumMixin, StrEnum): + NONE = "NONE" + LOW = "LOW" + MEDIUM = "MEDIUM" + HIGH = "HIGH" + +@dataclass(kw_only=True) +class GuardrailManagedWords(_SerdeShape): + """ + The managed word list that was configured for the guardrail. (This is a + list of words that are pre-defined and managed by guardrails only.) + """ + + type: str + """ + ManagedWords$type The managed word type that was configured for the + guardrail. (For now, we only offer profanity word list) + """ + input_action: str | None = ... + """ + The action to take when harmful content is detected in the input. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + The action to take when harmful content is detected in the output. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +@dataclass(kw_only=True) +class GuardrailManagedWordsConfig(_SerdeShape): + """The managed word list to configure for the guardrail.""" + + type: str + """The managed word type to configure for the guardrail.""" + input_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + input. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + output. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +class GuardrailManagedWordsType(UnknownEnumMixin, StrEnum): + PROFANITY = "PROFANITY" + +class GuardrailModality(UnknownEnumMixin, StrEnum): + TEXT = "TEXT" + IMAGE = "IMAGE" + +@dataclass(kw_only=True) +class GuardrailPiiEntity(_SerdeShape): + """The PII entity configured for the guardrail.""" + + type: str + """The type of PII entity. For example, Social Security Number.""" + action: str + """The configured guardrail action when PII entity is detected.""" + input_action: str | None = ... + """ + The action to take when harmful content is detected in the input. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `ANONYMIZE` -- Mask the content and replace it with identifier tags. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + The action to take when harmful content is detected in the output. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `ANONYMIZE` -- Mask the content and replace it with identifier tags. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +@dataclass(kw_only=True) +class GuardrailPiiEntityConfig(_SerdeShape): + """The PII entity to configure for the guardrail.""" + + type: str + """ + Configure guardrail type when the PII entity is detected. + + The following PIIs are used to block or mask sensitive information: + + - **General** + + - **ADDRESS** + + A physical address, such as \"100 Main Street, Anytown, USA\" or + \"Suite #12, Building 123\". An address can include information such + as the street, building, location, city, state, country, county, zip + code, precinct, and neighborhood. + + - **AGE** + + An individual's age, including the quantity and unit of time. For + example, in the phrase \"I am 40 years old,\" Guardrails recognizes + \"40 years\" as an age. + + - **NAME** + + An individual's name. This entity type does not include titles, + such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this + entity type to names that are part of organizations or addresses. + For example, guardrails recognizes the \"John Doe Organization\" as + an organization, and it recognizes \"Jane Doe Street\" as an + address. + + - **EMAIL** + + An email address, such as *marymajor@email.com*. + + - **PHONE** + + A phone number. This entity type also includes fax and pager + numbers. + + - **USERNAME** + + A user name that identifies an account, such as a login name, screen + name, nick name, or handle. + + - **PASSWORD** + + An alphanumeric string that is used as a password, such as + \"**very20special#pass**\". + + - **DRIVER_ID** + + The number assigned to a driver's license, which is an official + document permitting an individual to operate one or more motorized + vehicles on a public road. A driver's license number consists of + alphanumeric characters. + + - **LICENSE_PLATE** + + A license plate for a vehicle is issued by the state or country + where the vehicle is registered. The format for passenger vehicles + is typically five to eight digits, consisting of upper-case letters + and numbers. The format varies depending on the location of the + issuing state or country. + + - **VEHICLE_IDENTIFICATION_NUMBER** + + A Vehicle Identification Number (VIN) uniquely identifies a vehicle. + VIN content and format are defined in the *ISO 3779* specification. + Each country has specific codes and formats for VINs. + + - **Finance** + + - **CREDIT_DEBIT_CARD_CVV** + + A three-digit card verification code (CVV) that is present on VISA, + MasterCard, and Discover credit and debit cards. For American + Express credit or debit cards, the CVV is a four-digit numeric code. + + - **CREDIT_DEBIT_CARD_EXPIRY** + + The expiration date for a credit or debit card. This number is + usually four digits long and is often formatted as *month/year* or + *MM/YY*. Guardrails recognizes expiration dates such as *01/21*, + *01/2021*, and *Jan 2021*. + + - **CREDIT_DEBIT_CARD_NUMBER** + + The number for a credit or debit card. These numbers can vary from + 13 to 16 digits in length. However, Amazon Comprehend also + recognizes credit or debit card numbers when only the last four + digits are present. + + - **PIN** + + A four-digit personal identification number (PIN) with which you can + access your bank account. + + - **INTERNATIONAL_BANK_ACCOUNT_NUMBER** + + An International Bank Account Number has specific formats in each + country. For more information, see + [www.iban.com/structure](https://www.iban.com/structure). + + - **SWIFT_CODE** + + A SWIFT code is a standard format of Bank Identifier Code (BIC) used + to specify a particular bank or branch. Banks use these codes for + money transfers such as international wire transfers. + + SWIFT codes consist of eight or 11 characters. The 11-digit codes + refer to specific branches, while eight-digit codes (or 11-digit + codes ending in 'XXX') refer to the head or primary office. + + - **IT** + + - **IP_ADDRESS** + + An IPv4 address, such as *198.51.100.0*. + + - **MAC_ADDRESS** + + A *media access control* (MAC) address is a unique identifier + assigned to a network interface controller (NIC). + + - **URL** + + A web address, such as *www.example.com*. + + - **AWS_ACCESS_KEY** + + A unique identifier that's associated with a secret access key; you + use the access key ID and secret access key to sign programmatic + Amazon Web Services requests cryptographically. + + - **AWS_SECRET_KEY** + + A unique identifier that's associated with an access key. You use + the access key ID and secret access key to sign programmatic Amazon + Web Services requests cryptographically. + + - **USA specific** + + - **US_BANK_ACCOUNT_NUMBER** + + A US bank account number, which is typically 10 to 12 digits long. + + - **US_BANK_ROUTING_NUMBER** + + A US bank account routing number. These are typically nine digits + long, + + - **US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER** + + A US Individual Taxpayer Identification Number (ITIN) is a + nine-digit number that starts with a \"9\" and contain a \"7\" or + \"8\" as the fourth digit. An ITIN can be formatted with a space or + a dash after the third and forth digits. + + - **US_PASSPORT_NUMBER** + + A US passport number. Passport numbers range from six to nine + alphanumeric characters. + + - **US_SOCIAL_SECURITY_NUMBER** + + A US Social Security Number (SSN) is a nine-digit number that is + issued to US citizens, permanent residents, and temporary working + residents. + + - **Canada specific** + + - **CA_HEALTH_NUMBER** + + A Canadian Health Service Number is a 10-digit unique identifier, + required for individuals to access healthcare benefits. + + - **CA_SOCIAL_INSURANCE_NUMBER** + + A Canadian Social Insurance Number (SIN) is a nine-digit unique + identifier, required for individuals to access government programs + and benefits. + + The SIN is formatted as three groups of three digits, such as + *123-456-789*. A SIN can be validated through a simple check-digit + process called the [Luhn + algorithm](https://www.wikipedia.org/wiki/Luhn_algorithm). + + - **UK Specific** + + - **UK_NATIONAL_HEALTH_SERVICE_NUMBER** + + A UK National Health Service Number is a 10-17 digit number, such as + *485 777 3456*. The current system formats the 10-digit number with + spaces after the third and sixth digits. The final digit is an + error-detecting checksum. + + - **UK_NATIONAL_INSURANCE_NUMBER** + + A UK National Insurance Number (NINO) provides individuals with + access to National Insurance (social security) benefits. It is also + used for some purposes in the UK tax system. + + The number is nine digits long and starts with two letters, followed + by six numbers and one letter. A NINO can be formatted with a space + or a dash after the two letters and after the second, forth, and + sixth digits. + + - **UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER** + + A UK Unique Taxpayer Reference (UTR) is a 10-digit number that + identifies a taxpayer or a business. + + - **Custom** + + - **Regex filter** - You can use a regular expressions to define + patterns for a guardrail to recognize and act upon such as serial + number, booking ID etc.. + """ + action: str + """Configure guardrail action when the PII entity is detected.""" + input_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + input. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `ANONYMIZE` -- Mask the content and replace it with identifier tags. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + output. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `ANONYMIZE` -- Mask the content and replace it with identifier tags. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +class GuardrailPiiEntityType(UnknownEnumMixin, StrEnum): + ADDRESS = "ADDRESS" + AGE = "AGE" + AWS_ACCESS_KEY = "AWS_ACCESS_KEY" + AWS_SECRET_KEY = "AWS_SECRET_KEY" + CA_HEALTH_NUMBER = "CA_HEALTH_NUMBER" + CA_SOCIAL_INSURANCE_NUMBER = "CA_SOCIAL_INSURANCE_NUMBER" + CREDIT_DEBIT_CARD_CVV = "CREDIT_DEBIT_CARD_CVV" + CREDIT_DEBIT_CARD_EXPIRY = "CREDIT_DEBIT_CARD_EXPIRY" + CREDIT_DEBIT_CARD_NUMBER = "CREDIT_DEBIT_CARD_NUMBER" + DRIVER_ID = "DRIVER_ID" + EMAIL = "EMAIL" + INTERNATIONAL_BANK_ACCOUNT_NUMBER = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" + IP_ADDRESS = "IP_ADDRESS" + LICENSE_PLATE = "LICENSE_PLATE" + MAC_ADDRESS = "MAC_ADDRESS" + NAME = "NAME" + PASSWORD = "PASSWORD" + PHONE = "PHONE" + PIN = "PIN" + SWIFT_CODE = "SWIFT_CODE" + UK_NATIONAL_HEALTH_SERVICE_NUMBER = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" + UK_NATIONAL_INSURANCE_NUMBER = "UK_NATIONAL_INSURANCE_NUMBER" + UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" + URL = "URL" + USERNAME = "USERNAME" + US_BANK_ACCOUNT_NUMBER = "US_BANK_ACCOUNT_NUMBER" + US_BANK_ROUTING_NUMBER = "US_BANK_ROUTING_NUMBER" + US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" + US_PASSPORT_NUMBER = "US_PASSPORT_NUMBER" + US_SOCIAL_SECURITY_NUMBER = "US_SOCIAL_SECURITY_NUMBER" + VEHICLE_IDENTIFICATION_NUMBER = "VEHICLE_IDENTIFICATION_NUMBER" + +@dataclass(kw_only=True) +class GuardrailRegex(_SerdeShape): + """The regular expression configured for the guardrail.""" + + name: str + """The name of the regular expression for the guardrail.""" + description: str | None = ... + """The description of the regular expression for the guardrail.""" + pattern: str + """The pattern of the regular expression configured for the guardrail.""" + action: str + """The action taken when a match to the regular expression is detected.""" + input_action: str | None = ... + """ + The action to take when harmful content is detected in the input. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + The action to take when harmful content is detected in the output. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +@dataclass(kw_only=True) +class GuardrailRegexConfig(_SerdeShape): + """The regular expression to configure for the guardrail.""" + + name: str + """The name of the regular expression to configure for the guardrail.""" + description: str | None = ... + """ + The description of the regular expression to configure for the + guardrail. + """ + pattern: str + """The regular expression pattern to configure for the guardrail.""" + action: str + """ + The guardrail action to configure when matching regular expression is + detected. + """ + input_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + input. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + output. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +class GuardrailSensitiveInformationAction(UnknownEnumMixin, StrEnum): + BLOCK = "BLOCK" + ANONYMIZE = "ANONYMIZE" + NONE = "NONE" + +@dataclass(kw_only=True) +class GuardrailSensitiveInformationPolicy(_SerdeShape): + """ + Contains details about PII entities and regular expressions configured + for the guardrail. + """ + + pii_entities: list[GuardrailPiiEntity] | None = ... + """The list of PII entities configured for the guardrail.""" + regexes: list[GuardrailRegex] | None = ... + """The list of regular expressions configured for the guardrail.""" + +@dataclass(kw_only=True) +class GuardrailSensitiveInformationPolicyConfig(_SerdeShape): + """ + Contains details about PII entities and regular expressions to configure + for the guardrail. + """ + + pii_entities_config: list[GuardrailPiiEntityConfig] | None = ... + """A list of PII entities to configure to the guardrail.""" + regexes_config: list[GuardrailRegexConfig] | None = ... + """A list of regular expressions to configure to the guardrail.""" + +class GuardrailStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + UPDATING = "UPDATING" + VERSIONING = "VERSIONING" + READY = "READY" + FAILED = "FAILED" + DELETING = "DELETING" + +@dataclass(kw_only=True) +class GuardrailSummary(_SerdeShape): + """ + Contains details about a guardrail. + + This data type is used in the following API operations: + + - [ListGuardrails response + body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListGuardrails.html#API_ListGuardrails_ResponseSyntax) + """ + + id: str + """The unique identifier of the guardrail.""" + arn: str + """The ARN of the guardrail.""" + status: str + """The status of the guardrail.""" + name: str + """The name of the guardrail.""" + description: str | None = ... + """A description of the guardrail.""" + version: str + """The version of the guardrail.""" + created_at: datetime + """The date and time at which the guardrail was created.""" + updated_at: datetime + """The date and time at which the guardrail was last updated.""" + cross_region_details: GuardrailCrossRegionDetails | None = ... + """ + Details about the system-defined guardrail profile that you're using + with your guardrail, including the guardrail profile ID and Amazon + Resource Name (ARN). + """ + +@dataclass(kw_only=True) +class GuardrailTopic(_SerdeShape): + """ + Details about topics for the guardrail to identify and deny. + + This data type is used in the following API operations: + + - [GetGuardrail response + body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax) + """ + + name: str + """The name of the topic to deny.""" + definition: str + """A definition of the topic to deny.""" + examples: list[str] | None = ... + """ + A list of prompts, each of which is an example of a prompt that can be + categorized as belonging to the topic. + """ + type: str | None = ... + """Specifies to deny the topic.""" + input_action: str | None = ... + """ + The action to take when harmful content is detected in the input. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + The action to take when harmful content is detected in the output. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +class GuardrailTopicAction(UnknownEnumMixin, StrEnum): + BLOCK = "BLOCK" + NONE = "NONE" + +@dataclass(kw_only=True) +class GuardrailTopicConfig(_SerdeShape): + """Details about topics for the guardrail to identify and deny.""" + + name: str + """The name of the topic to deny.""" + definition: str + """A definition of the topic to deny.""" + examples: list[str] | None = ... + """ + A list of prompts, each of which is an example of a prompt that can be + categorized as belonging to the topic. + """ + type: str + """Specifies to deny the topic.""" + input_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + input. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + output. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +@dataclass(kw_only=True) +class GuardrailTopicPolicy(_SerdeShape): + """ + Contains details about topics that the guardrail should identify and + deny. + + This data type is used in the following API operations: + + - [GetGuardrail response + body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax) + """ + + topics: list[GuardrailTopic] + """A list of policies related to topics that the guardrail should deny.""" + tier: GuardrailTopicsTier | None = ... + """The tier that your guardrail uses for denied topic filters.""" + +@dataclass(kw_only=True) +class GuardrailTopicPolicyConfig(_SerdeShape): + """ + Contains details about topics that the guardrail should identify and + deny. + """ + + topics_config: list[GuardrailTopicConfig] + """A list of policies related to topics that the guardrail should deny.""" + tier_config: GuardrailTopicsTierConfig | None = ... + """The tier that your guardrail uses for denied topic filters.""" + +@dataclass(kw_only=True) +class GuardrailTopicsTier(_SerdeShape): + """The tier that your guardrail uses for denied topic filters.""" + + tier_name: str + """ + The tier that your guardrail uses for denied topic filters. Valid values + include: + + - `CLASSIC` tier -- Provides established guardrails functionality + supporting English, French, and Spanish languages. + + - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` + tier and has more comprehensive language support. This tier requires + that your guardrail use [cross-Region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + +@dataclass(kw_only=True) +class GuardrailTopicsTierConfig(_SerdeShape): + """ + The tier that your guardrail uses for denied topic filters. Consider + using a tier that balances performance, accuracy, and compatibility with + your existing generative AI workflows. + """ + + tier_name: str + """ + The tier that your guardrail uses for denied topic filters. Valid values + include: + + - `CLASSIC` tier -- Provides established guardrails functionality + supporting English, French, and Spanish languages. + + - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` + tier and has more comprehensive language support. This tier requires + that your guardrail use [cross-Region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + +class GuardrailTopicsTierName(UnknownEnumMixin, StrEnum): + CLASSIC = "CLASSIC" + STANDARD = "STANDARD" + +class GuardrailTopicType(UnknownEnumMixin, StrEnum): + DENY = "DENY" + +@dataclass(kw_only=True) +class GuardrailWord(_SerdeShape): + """A word configured for the guardrail.""" + + text: str + """Text of the word configured for the guardrail to block.""" + input_action: str | None = ... + """ + The action to take when harmful content is detected in the input. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + The action to take when harmful content is detected in the output. + Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the input. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Indicates whether guardrail evaluation is enabled on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +class GuardrailWordAction(UnknownEnumMixin, StrEnum): + BLOCK = "BLOCK" + NONE = "NONE" + +@dataclass(kw_only=True) +class GuardrailWordConfig(_SerdeShape): + """A word to configure for the guardrail.""" + + text: str + """Text of the word configured for the guardrail to block.""" + input_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + input. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + output_action: str | None = ... + """ + Specifies the action to take when harmful content is detected in the + output. Supported values include: + + - `BLOCK` -- Block the content and replace it with blocked messaging. + + - `NONE` -- Take no action but return detection information in the trace + response. + """ + input_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the intput. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + output_enabled: bool | None = ... + """ + Specifies whether to enable guardrail evaluation on the output. When + disabled, you aren't charged for the evaluation. The evaluation + doesn't appear in the response. + """ + +@dataclass(kw_only=True) +class GuardrailWordPolicy(_SerdeShape): + """Contains details about the word policy configured for the guardrail.""" + + words: list[GuardrailWord] | None = ... + """A list of words configured for the guardrail.""" + managed_word_lists: list[GuardrailManagedWords] | None = ... + """A list of managed words configured for the guardrail.""" + +@dataclass(kw_only=True) +class GuardrailWordPolicyConfig(_SerdeShape): + """Contains details about the word policy to configured for the guardrail.""" + + words_config: list[GuardrailWordConfig] | None = ... + """A list of words to configure for the guardrail.""" + managed_word_lists_config: list[GuardrailManagedWordsConfig] | None = ... + """A list of managed words to configure for the guardrail.""" + +@dataclass(kw_only=True) +class HumanEvaluationConfig(_SerdeShape): + """ + Specifies the custom metrics, how tasks will be rated, the flow + definition ARN, and your custom prompt datasets. Model evaluation jobs + use human workers *only* support the use of custom prompt datasets. To + learn more about custom prompt datasets and the required format, see + [Custom prompt + datasets](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-prompt-datasets-custom.html). + + When you create custom metrics in `HumanEvaluationCustomMetric` you must + specify the metric's `name`. The list of `names` specified in the + `HumanEvaluationCustomMetric` array, must match the `metricNames` array + of strings specified in `EvaluationDatasetMetricConfig`. For example, if + in the `HumanEvaluationCustomMetric` array your specified the names + `"accuracy", "toxicity", "readability"` as custom metrics *then* the + `metricNames` array would need to look like the following + `["accuracy", "toxicity", "readability"]` in + `EvaluationDatasetMetricConfig`. + """ + + human_workflow_config: HumanWorkflowConfig | None = ... + """The parameters of the human workflow.""" + custom_metrics: list[HumanEvaluationCustomMetric] | None = ... + """ + A `HumanEvaluationCustomMetric` object. It contains the names the + metrics, how the metrics are to be evaluated, an optional description. + """ + dataset_metric_configs: list[EvaluationDatasetMetricConfig] + """ + Use to specify the metrics, task, and prompt dataset to be used in your + model evaluation job. + """ + +@dataclass(kw_only=True) +class HumanEvaluationCustomMetric(_SerdeShape): + """ + In a model evaluation job that uses human workers you must define the + name of the metric, and how you want that metric rated `ratingMethod`, + and an optional description of the metric. + """ + + name: str + """ + The name of the metric. Your human evaluators will see this name in the + evaluation UI. + """ + description: str | None = ... + """ + An optional description of the metric. Use this parameter to provide + more details about the metric. + """ + rating_method: str + """ + Choose how you want your human workers to evaluation your model. Valid + values for rating methods are `ThumbsUpDown`, + `IndividualLikertScale`,`ComparisonLikertScale`, `ComparisonChoice`, and + `ComparisonRank` + """ + +@dataclass(kw_only=True) +class HumanWorkflowConfig(_SerdeShape): + """ + Contains `SageMakerFlowDefinition` object. The object is used to specify + the prompt dataset, task type, rating method and metric names. + """ + + flow_definition_arn: str + """The Amazon Resource Number (ARN) for the flow definition""" + instructions: str | None = ... + """Instructions for the flow definition""" + +@dataclass(kw_only=True) +class ImplicitFilterConfiguration(_SerdeShape): + """ + Configuration for implicit filtering in Knowledge Base vector searches. + Implicit filtering allows you to automatically filter search results + based on metadata attributes without requiring explicit filter + expressions in each query. + """ + + metadata_attributes: list[MetadataAttributeSchema] + """ + A list of metadata attribute schemas that define the structure and + properties of metadata fields used for implicit filtering. Each + attribute defines a key, type, and optional description. + """ + model_arn: str + """ + The Amazon Resource Name (ARN) of the foundation model used for implicit + filtering. This model processes the query to extract relevant filtering + criteria. + """ + +@dataclass(kw_only=True) +class ImportedModelSummary(_SerdeShape): + """Information about the imported model.""" + + model_arn: str + """The Amazon Resource Name (ARN) of the imported model.""" + model_name: str + """Name of the imported model.""" + creation_time: datetime + """Creation time of the imported model.""" + instruct_supported: bool | None = ... + """Specifies if the imported model supports converse.""" + model_architecture: str | None = ... + """The architecture of the imported model.""" + +@dataclass(kw_only=True) +class InferenceConfiguration(_SerdeShape): + """ + Base inference parameters to pass to a model. For more information, see + [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + """ + + max_tokens: int | None = ... + """ + The maximum number of tokens to allow in the generated response. The + default value is the maximum allowed value for the model that you are + using. + """ + temperature: float | None = ... + """ + The likelihood of the model selecting higher-probability options while + generating a response. A lower value makes the model more likely to + choose higher-probability options, while a higher value makes the model + more likely to choose lower-probability options. + """ + top_p: float | None = ... + """ + The percentage of most-likely candidates that the model considers for + the next token. For example, if you choose a value of 0.8 for `topP`, + the model selects from the top 80% of the probability distribution of + tokens that could be next in the sequence. + """ + stop_sequences: list[str] | None = ... + """ + A list of stop sequences. A stop sequence is a sequence of characters + that causes the model to stop generating the response. + """ + +@dataclass(kw_only=True) +class InferenceProfileModel(_SerdeShape): + """Contains information about a model.""" + + model_arn: str | None = ... + """The Amazon Resource Name (ARN) of the model.""" + +@dataclass +class InferenceProfileModelSourceCopyFrom(_SerdeShape): + """ + The ARN of the model or system-defined inference profile that is the + source for the inference profile. + """ + + value: str + +@dataclass +class InferenceProfileModelSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InferenceProfileModelSource = Union[ + InferenceProfileModelSourceCopyFrom | InferenceProfileModelSourceUnknown +] +""" +Contains information about the model or system-defined inference profile +that is the source for an inference profile.. +""" + +class _InferenceProfileModelSourceDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> InferenceProfileModelSource: ... + +class InferenceProfileStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + +@dataclass(kw_only=True) +class InferenceProfileSummary(_SerdeShape): + """Contains information about an inference profile.""" + + inference_profile_name: str + """The name of the inference profile.""" + description: str | None = ... + """The description of the inference profile.""" + created_at: datetime | None = ... + """The time at which the inference profile was created.""" + updated_at: datetime | None = ... + """The time at which the inference profile was last updated.""" + inference_profile_arn: str + """The Amazon Resource Name (ARN) of the inference profile.""" + models: list[InferenceProfileModel] + """A list of information about each model in the inference profile.""" + inference_profile_id: str + """The unique identifier of the inference profile.""" + status: str + """ + The status of the inference profile. `ACTIVE` means that the inference + profile is ready to be used. + """ + type: str + """ + The type of the inference profile. The following types are possible: + + - `SYSTEM_DEFINED` -- The inference profile is defined by Amazon + Bedrock. You can route inference requests across regions with these + inference profiles. + + - `APPLICATION` -- The inference profile was created by a user. This + type of inference profile can track metrics and costs when invoking + the model in it. The inference profile may route requests to one or + multiple regions. + """ + +class InferenceProfileType(UnknownEnumMixin, StrEnum): + SYSTEM_DEFINED = "SYSTEM_DEFINED" + APPLICATION = "APPLICATION" + +class InferenceType(UnknownEnumMixin, StrEnum): + ON_DEMAND = "ON_DEMAND" + PROVISIONED = "PROVISIONED" + +class InputTags(UnknownEnumMixin, StrEnum): + HONOR = "HONOR" + IGNORE = "IGNORE" + +@dataclass(kw_only=True) +class InternalServerException(ServiceError, _SerdeShape): + """An internal server error occurred. Retry your request.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvocationLogsConfig(_SerdeShape): + """Settings for using invocation logs to customize a model.""" + + use_prompt_response: bool = ... + """ + Whether to use the model's response for training, or just the prompt. + The default value is `False`. + """ + invocation_log_source: InvocationLogSource + """The source of the invocation logs.""" + request_metadata_filters: RequestMetadataFilters | None = ... + """Rules for filtering invocation logs based on request metadata.""" + +@dataclass +class InvocationLogSourceS3Uri(_SerdeShape): + """The URI of an invocation log in a bucket.""" + + value: str + +@dataclass +class InvocationLogSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InvocationLogSource = Union[InvocationLogSourceS3Uri | InvocationLogSourceUnknown] +"""A storage location for invocation logs.""" + +class _InvocationLogSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> InvocationLogSource: ... + +class JobStatusDetails(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + STOPPING = "Stopping" + STOPPED = "Stopped" + FAILED = "Failed" + NOT_STARTED = "NotStarted" + +@dataclass(kw_only=True) +class KbInferenceConfig(_SerdeShape): + """ + Contains configuration details of the inference for knowledge base + retrieval and response generation. + """ + + text_inference_config: TextInferenceConfig | None = ... + """ + Contains configuration details for text generation using a language + model via the `RetrieveAndGenerate` function. + """ + +@dataclass +class KnowledgeBaseConfigRetrieveConfig(_SerdeShape): + """ + Contains configuration details for retrieving information from a + knowledge base. + """ + + value: RetrieveConfig + +@dataclass +class KnowledgeBaseConfigRetrieveAndGenerateConfig(_SerdeShape): + """ + Contains configuration details for retrieving information from a + knowledge base and generating responses. + """ + + value: RetrieveAndGenerateConfiguration + +@dataclass +class KnowledgeBaseConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +KnowledgeBaseConfig = Union[ + KnowledgeBaseConfigRetrieveConfig + | KnowledgeBaseConfigRetrieveAndGenerateConfig + | KnowledgeBaseConfigUnknown +] +""" +The configuration details for retrieving information from a knowledge +base and generating responses. +""" + +class _KnowledgeBaseConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> KnowledgeBaseConfig: ... + +@dataclass(kw_only=True) +class KnowledgeBaseRetrievalConfiguration(_SerdeShape): + """ + Contains configuration details for retrieving information from a + knowledge base. + """ + + vector_search_configuration: KnowledgeBaseVectorSearchConfiguration + """ + Contains configuration details for returning the results from the vector + search. + """ + +@dataclass(kw_only=True) +class KnowledgeBaseRetrieveAndGenerateConfiguration(_SerdeShape): + """ + Contains configuration details for retrieving information from a + knowledge base and generating responses. + """ + + knowledge_base_id: str + """The unique identifier of the knowledge base.""" + model_arn: str + """ + The Amazon Resource Name (ARN) of the foundation model or [inference + profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) + used to generate responses. + """ + retrieval_configuration: KnowledgeBaseRetrievalConfiguration | None = ... + """Contains configuration details for retrieving text chunks.""" + generation_configuration: GenerationConfiguration | None = ... + """ + Contains configurations details for response generation based on + retrieved text chunks. + """ + orchestration_configuration: OrchestrationConfiguration | None = ... + """ + Contains configuration details for the model to process the prompt prior + to retrieval and response generation. + """ + +@dataclass(kw_only=True) +class KnowledgeBaseVectorSearchConfiguration(_SerdeShape): + """ + The configuration details for returning the results from the knowledge + base vector search. + """ + + number_of_results: int | None = ... + """The number of text chunks to retrieve; the number of results to return.""" + override_search_type: str | None = ... + """ + By default, Amazon Bedrock decides a search strategy for you. If you're + using an Amazon OpenSearch Serverless vector store that contains a + filterable text field, you can specify whether to query the knowledge + base with a `HYBRID` search using both vector embeddings and raw text, + or `SEMANTIC` search using only vector embeddings. For other vector + store configurations, only `SEMANTIC` search is available. + """ + filter: RetrievalFilter | None = ... + """ + Specifies the filters to use on the metadata fields in the knowledge + base data sources before returning results. + """ + implicit_filter_configuration: ImplicitFilterConfiguration | None = ... + """ + Configuration for implicit filtering in Knowledge Base vector searches. + This allows the system to automatically apply filters based on the query + context without requiring explicit filter expressions. + """ + reranking_configuration: VectorSearchRerankingConfiguration | None = ... + """ + Configuration for reranking search results in Knowledge Base vector + searches. Reranking improves search relevance by reordering initial + vector search results using more sophisticated relevance models. + """ + +@dataclass(kw_only=True) +class LambdaGraderConfig(_SerdeShape): + """ + Configuration for using an AWS Lambda function to grade model responses + during reinforcement fine-tuning training. + """ + + lambda_arn: str + """ + ARN of the AWS Lambda function that will evaluate model responses and + return reward scores for RFT training. + """ + +@dataclass(kw_only=True) +class LegalTerm(_SerdeShape): + """The legal term of the agreement.""" + + url: str | None = ... + """URL to the legal term document.""" + +@dataclass(kw_only=True) +class ListAdvancedPromptOptimizationJobsInput(_SerdeShape): + """List Advanced Prompt Optimization Jobs Request""" + + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token in a subsequent request to get + the next set of results. + """ + sort_by: str | None = ... + """The field to sort the results by.""" + sort_order: str | None = ... + """The sort order for the results.""" + +@dataclass(kw_only=True) +class ListAdvancedPromptOptimizationJobsOutput(_SerdeShape): + """List Advanced Prompt Optimization Jobs Response""" + + job_summaries: list[AdvancedPromptOptimizationJobSummary] | None = ... + """A list of advanced prompt optimization job summaries.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token in a subsequent request to get + the next set of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAutomatedReasoningPoliciesInput(_SerdeShape): + """Dataclass for ListAutomatedReasoningPoliciesInput structure.""" + + policy_arn: str | None = ... + """ + Optional filter to list only the policy versions with the specified + Amazon Resource Name (ARN). If not provided, the DRAFT versions for all + policies are listed. + """ + next_token: str | None = ... + """ + The pagination token from a previous request to retrieve the next page + of results. + """ + max_results: int = ... + """The maximum number of policies to return in a single call.""" + +@dataclass(kw_only=True) +class ListAutomatedReasoningPoliciesOutput(_SerdeShape): + """Dataclass for ListAutomatedReasoningPoliciesOutput structure.""" + + automated_reasoning_policy_summaries: list[AutomatedReasoningPolicySummary] + """A list of Automated Reasoning policy summaries.""" + next_token: str | None = ... + """ + The pagination token to use in a subsequent request to retrieve the next + page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAutomatedReasoningPolicyBuildWorkflowsInput(_SerdeShape): + """Dataclass for ListAutomatedReasoningPolicyBuildWorkflowsInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy whose + build workflows you want to list. + """ + next_token: str | None = ... + """ + A pagination token from a previous request to continue listing build + workflows from where the previous request left off. + """ + max_results: int = ... + """ + The maximum number of build workflows to return in a single response. + Valid range is 1-100. + """ + +@dataclass(kw_only=True) +class ListAutomatedReasoningPolicyBuildWorkflowsOutput(_SerdeShape): + """ + Dataclass for ListAutomatedReasoningPolicyBuildWorkflowsOutput + structure. + """ + + automated_reasoning_policy_build_workflow_summaries: list[ + AutomatedReasoningPolicyBuildWorkflowSummary + ] + """ + A list of build workflow summaries, each containing key information + about a build workflow including its status and timestamps. + """ + next_token: str | None = ... + """ + A pagination token to use in subsequent requests to retrieve additional + build workflows. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAutomatedReasoningPolicyTestCasesInput(_SerdeShape): + """Dataclass for ListAutomatedReasoningPolicyTestCasesInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy for + which to list tests. + """ + next_token: str | None = ... + """ + The pagination token from a previous request to retrieve the next page + of results. + """ + max_results: int = ... + """The maximum number of tests to return in a single call.""" + +@dataclass(kw_only=True) +class ListAutomatedReasoningPolicyTestCasesOutput(_SerdeShape): + """Dataclass for ListAutomatedReasoningPolicyTestCasesOutput structure.""" + + test_cases: list[AutomatedReasoningPolicyTestCase] + """A list of tests for the specified policy.""" + next_token: str | None = ... + """ + The pagination token to use in a subsequent request to retrieve the next + page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAutomatedReasoningPolicyTestResultsInput(_SerdeShape): + """Dataclass for ListAutomatedReasoningPolicyTestResultsInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy whose + test results you want to list. + """ + build_workflow_id: str | None = ... + """ + The unique identifier of the build workflow whose test results you want + to list. + """ + next_token: str | None = ... + """ + A pagination token from a previous request to continue listing test + results from where the previous request left off. + """ + max_results: int = ... + """ + The maximum number of test results to return in a single response. Valid + range is 1-100. + """ + +@dataclass(kw_only=True) +class ListAutomatedReasoningPolicyTestResultsOutput(_SerdeShape): + """Dataclass for ListAutomatedReasoningPolicyTestResultsOutput structure.""" + + test_results: list[AutomatedReasoningPolicyTestResult] + """ + A list of test results, each containing information about how the policy + performed on specific test scenarios. + """ + next_token: str | None = ... + """ + A pagination token to use in subsequent requests to retrieve additional + test results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCustomModelDeploymentsInput(_SerdeShape): + """Dataclass for ListCustomModelDeploymentsInput structure.""" + + created_before: datetime | None = ... + """Filters deployments created before the specified date and time.""" + created_after: datetime | None = ... + """Filters deployments created after the specified date and time.""" + name_contains: str | None = ... + """Filters deployments whose names contain the specified string.""" + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + next_token: str | None = ... + """ + The token for the next set of results. Use this token to retrieve + additional results when the response is truncated. + """ + sort_by: str | None = ... + """ + The field to sort the results by. The only supported value is + `CreationTime`. + """ + sort_order: str | None = ... + """ + The sort order for the results. Valid values are `Ascending` and + `Descending`. Default is `Descending`. + """ + status_equals: str | None = ... + """ + Filters deployments by status. Valid values are `CREATING`, `ACTIVE`, + and `FAILED`. + """ + model_arn_equals: str | None = ... + """ + Filters deployments by the Amazon Resource Name (ARN) of the associated + custom model. + """ + +@dataclass(kw_only=True) +class ListCustomModelDeploymentsOutput(_SerdeShape): + """Dataclass for ListCustomModelDeploymentsOutput structure.""" + + next_token: str | None = ... + """ + The token for the next set of results. This value is null when there are + no more results to return. + """ + model_deployment_summaries: list[CustomModelDeploymentSummary] | None = ... + """A list of custom model deployment summaries.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCustomModelsInput(_SerdeShape): + """Dataclass for ListCustomModelsInput structure.""" + + creation_time_before: datetime | None = ... + """Return custom models created before the specified time.""" + creation_time_after: datetime | None = ... + """Return custom models created after the specified time.""" + name_contains: str | None = ... + """Return custom models only if the job name contains these characters.""" + base_model_arn_equals: str | None = ... + """ + Return custom models only if the base model Amazon Resource Name (ARN) + matches this parameter. + """ + foundation_model_arn_equals: str | None = ... + """ + Return custom models only if the foundation model Amazon Resource Name + (ARN) matches this parameter. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + sort_by: str | None = ... + """The field to sort by in the returned list of models.""" + sort_order: str | None = ... + """The sort order of the results.""" + is_owned: bool | None = ... + """ + Return custom models depending on if the current account owns them + (`true`) or if they were shared with the current account (`false`). + """ + model_status: str | None = ... + """ + The status of them model to filter results by. Possible values include: + + - `Creating` - Include only models that are currently being created and + validated. + + - `Active` - Include only models that have been successfully created and + are ready for use. + + - `Failed` - Include only models where the creation process failed. + + If you don't specify a status, the API returns models in all states. + """ + +@dataclass(kw_only=True) +class ListCustomModelsOutput(_SerdeShape): + """Dataclass for ListCustomModelsOutput structure.""" + + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + model_summaries: list[CustomModelSummary] | None = ... + """Model summaries.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListEnforcedGuardrailsConfigurationInput(_SerdeShape): + """Dataclass for ListEnforcedGuardrailsConfigurationInput structure.""" + + next_token: str | None = ... + """Opaque continuation token of previous paginated response.""" + +@dataclass(kw_only=True) +class ListEnforcedGuardrailsConfigurationOutput(_SerdeShape): + """Dataclass for ListEnforcedGuardrailsConfigurationOutput structure.""" + + guardrails_config: list[AccountEnforcedGuardrailOutputConfiguration] + """Array of AccountEnforcedGuardrailOutputConfiguration objects.""" + next_token: str | None = ... + """Opaque continuation token of previous paginated response.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListEvaluationJobsInput(_SerdeShape): + """Dataclass for ListEvaluationJobsInput structure.""" + + creation_time_after: datetime | None = ... + """A filter to only list evaluation jobs created after a specified time.""" + creation_time_before: datetime | None = ... + """A filter to only list evaluation jobs created before a specified time.""" + status_equals: str | None = ... + """A filter to only list evaluation jobs that are of a certain status.""" + application_type_equals: str | None = ... + """ + A filter to only list evaluation jobs that are either model evaluations + or knowledge base evaluations. + """ + name_contains: str | None = ... + """ + A filter to only list evaluation jobs that contain a specified string in + the job name. + """ + max_results: int | None = ... + """The maximum number of results to return.""" + next_token: str | None = ... + """ + Continuation token from the previous response, for Amazon Bedrock to + list the next set of results. + """ + sort_by: str | None = ... + """ + Specifies a creation time to sort the list of evaluation jobs by when + they were created. + """ + sort_order: str | None = ... + """ + Specifies whether to sort the list of evaluation jobs by either + ascending or descending order. + """ + +@dataclass(kw_only=True) +class ListEvaluationJobsOutput(_SerdeShape): + """Dataclass for ListEvaluationJobsOutput structure.""" + + next_token: str | None = ... + """ + Continuation token from the previous response, for Amazon Bedrock to + list the next set of results. + """ + job_summaries: list[EvaluationSummary] | None = ... + """A list of summaries of the evaluation jobs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFoundationModelAgreementOffersInput(_SerdeShape): + """Dataclass for ListFoundationModelAgreementOffersInput structure.""" + + model_id: str | None = ... + """Model Id of the foundation model.""" + offer_type: str | None = ... + """Type of offer associated with the model.""" + +@dataclass(kw_only=True) +class ListFoundationModelAgreementOffersOutput(_SerdeShape): + """Dataclass for ListFoundationModelAgreementOffersOutput structure.""" + + model_id: str + """Model Id of the foundation model.""" + offers: list[Offer] + """List of the offers associated with the specified model.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFoundationModelsInput(_SerdeShape): + """Dataclass for ListFoundationModelsInput structure.""" + + by_provider: str | None = ... + """Return models belonging to the model provider that you specify.""" + by_customization_type: str | None = ... + """ + Return models that support the customization type that you specify. For + more information, see [Custom + models](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) + in the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). + """ + by_output_modality: str | None = ... + """Return models that support the output modality that you specify.""" + by_inference_type: str | None = ... + """ + Return models that support the inference type that you specify. For more + information, see [Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html) + in the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). + """ + +@dataclass(kw_only=True) +class ListFoundationModelsOutput(_SerdeShape): + """Dataclass for ListFoundationModelsOutput structure.""" + + model_summaries: list[FoundationModelSummary] | None = ... + """A list of Amazon Bedrock foundation models.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGuardrailsInput(_SerdeShape): + """Dataclass for ListGuardrailsInput structure.""" + + guardrail_identifier: str | None = ... + """The unique identifier of the guardrail. This can be an ID or the ARN.""" + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """ + If there are more results than were returned in the response, the + response returns a `nextToken` that you can send in another + `ListGuardrails` request to see the next batch of results. + """ + +@dataclass(kw_only=True) +class ListGuardrailsOutput(_SerdeShape): + """Dataclass for ListGuardrailsOutput structure.""" + + guardrails: list[GuardrailSummary] + """A list of objects, each of which contains details about a guardrail.""" + next_token: str | None = ... + """ + If there are more results than were returned in the response, the + response returns a `nextToken` that you can send in another + `ListGuardrails` request to see the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListImportedModelsInput(_SerdeShape): + """Dataclass for ListImportedModelsInput structure.""" + + creation_time_before: datetime | None = ... + """Return imported models that created before the specified time.""" + creation_time_after: datetime | None = ... + """Return imported models that were created after the specified time.""" + name_contains: str | None = ... + """Return imported models only if the model name contains these characters.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + sort_by: str | None = ... + """The field to sort by in the returned list of imported models.""" + sort_order: str | None = ... + """Specifies whetehr to sort the results in ascending or descending order.""" + +@dataclass(kw_only=True) +class ListImportedModelsOutput(_SerdeShape): + """Dataclass for ListImportedModelsOutput structure.""" + + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + model_summaries: list[ImportedModelSummary] | None = ... + """Model summaries.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInferenceProfilesInput(_SerdeShape): + """Dataclass for ListInferenceProfilesInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + type_equals: str | None = ... + """ + Filters for inference profiles that match the type you specify. + + - `SYSTEM_DEFINED` -- The inference profile is defined by Amazon + Bedrock. You can route inference requests across regions with these + inference profiles. + + - `APPLICATION` -- The inference profile was created by a user. This + type of inference profile can track metrics and costs when invoking + the model in it. The inference profile may route requests to one or + multiple regions. + """ + +@dataclass(kw_only=True) +class ListInferenceProfilesOutput(_SerdeShape): + """Dataclass for ListInferenceProfilesOutput structure.""" + + inference_profile_summaries: list[InferenceProfileSummary] | None = ... + """A list of information about each inference profile that you can use.""" + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListMarketplaceModelEndpointsInput(_SerdeShape): + """Dataclass for ListMarketplaceModelEndpointsInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If more + results are available, the operation returns a `NextToken` value. + """ + next_token: str | None = ... + """ + The token for the next set of results. You receive this token from a + previous `ListMarketplaceModelEndpoints` call. + """ + model_source_equals: str | None = ... + """ + If specified, only endpoints for the given model source identifier are + returned. + """ + +@dataclass(kw_only=True) +class ListMarketplaceModelEndpointsOutput(_SerdeShape): + """Dataclass for ListMarketplaceModelEndpointsOutput structure.""" + + marketplace_model_endpoints: list[MarketplaceModelEndpointSummary] | None = ... + """An array of endpoint summaries.""" + next_token: str | None = ... + """ + The token for the next set of results. Use this token to get the next + set of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListModelCopyJobsInput(_SerdeShape): + """Dataclass for ListModelCopyJobsInput structure.""" + + creation_time_after: datetime | None = ... + """Filters for model copy jobs created after the specified time.""" + creation_time_before: datetime | None = ... + """Filters for model copy jobs created before the specified time.""" + status_equals: str | None = ... + """ + Filters for model copy jobs whose status matches the value that you + specify. + """ + source_account_equals: str | None = ... + """ + Filters for model copy jobs in which the account that the source model + belongs to is equal to the value that you specify. + """ + source_model_arn_equals: str | None = ... + """ + Filters for model copy jobs in which the Amazon Resource Name (ARN) of + the source model to is equal to the value that you specify. + """ + target_model_name_contains: str | None = ... + """ + Filters for model copy jobs in which the name of the copied model + contains the string that you specify. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + sort_by: str | None = ... + """The field to sort by in the returned list of model copy jobs.""" + sort_order: str | None = ... + """Specifies whether to sort the results in ascending or descending order.""" + +@dataclass(kw_only=True) +class ListModelCopyJobsOutput(_SerdeShape): + """Dataclass for ListModelCopyJobsOutput structure.""" + + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + model_copy_job_summaries: list[ModelCopyJobSummary] | None = ... + """A list of information about each model copy job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListModelCustomizationJobsInput(_SerdeShape): + """Dataclass for ListModelCustomizationJobsInput structure.""" + + creation_time_after: datetime | None = ... + """Return customization jobs created after the specified time.""" + creation_time_before: datetime | None = ... + """Return customization jobs created before the specified time.""" + status_equals: str | None = ... + """Return customization jobs with the specified status.""" + name_contains: str | None = ... + """ + Return customization jobs only if the job name contains these + characters. + """ + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + sort_by: str | None = ... + """The field to sort by in the returned list of jobs.""" + sort_order: str | None = ... + """The sort order of the results.""" + +@dataclass(kw_only=True) +class ListModelCustomizationJobsOutput(_SerdeShape): + """Dataclass for ListModelCustomizationJobsOutput structure.""" + + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, use this token when making another request in + the `nextToken` field to return the next batch of results. + """ + model_customization_job_summaries: list[ModelCustomizationJobSummary] | None = ... + """Job summaries.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListModelImportJobsInput(_SerdeShape): + """Dataclass for ListModelImportJobsInput structure.""" + + creation_time_after: datetime | None = ... + """Return import jobs that were created after the specified time.""" + creation_time_before: datetime | None = ... + """Return import jobs that were created before the specified time.""" + status_equals: str | None = ... + """Return imported jobs with the specified status.""" + name_contains: str | None = ... + """Return imported jobs only if the job name contains these characters.""" + max_results: int | None = ... + """ + The maximum number of results to return in the response. If the total + number of results is greater than this value, use the token returned in + the response in the `nextToken` field when making another request to + return the next batch of results. + """ + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + sort_by: str | None = ... + """The field to sort by in the returned list of imported jobs.""" + sort_order: str | None = ... + """Specifies whether to sort the results in ascending or descending order.""" + +@dataclass(kw_only=True) +class ListModelImportJobsOutput(_SerdeShape): + """Dataclass for ListModelImportJobsOutput structure.""" + + next_token: str | None = ... + """ + If the total number of results is greater than the `maxResults` value + provided in the request, enter the token returned in the `nextToken` + field in the response in this field to return the next batch of results. + """ + model_import_job_summaries: list[ModelImportJobSummary] | None = ... + """Import job summaries.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListModelInvocationJobsInput(_SerdeShape): + """Dataclass for ListModelInvocationJobsInput structure.""" + + submit_time_after: datetime | None = ... + """ + Specify a time to filter for batch inference jobs that were submitted + after the time you specify. + """ + submit_time_before: datetime | None = ... + """ + Specify a time to filter for batch inference jobs that were submitted + before the time you specify. + """ + status_equals: str | None = ... + """ + Specify a status to filter for batch inference jobs whose statuses match + the string you specify. + + The following statuses are possible: + + - Submitted -- This job has been submitted to a queue for validation. + + - Validating -- This job is being validated for the requirements + described in [Format and upload your batch inference + data](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html). + The criteria include the following: + + - Your IAM service role has access to the Amazon S3 buckets containing + your files. + + - Your files are .jsonl files and each individual record is a JSON + object in the correct format. Note that validation doesn't check if + the `modelInput` value matches the request body for the model. + + - Your files fulfill the requirements for file size and number of + records. For more information, see [Quotas for Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html). + + - Scheduled -- This job has been validated and is now in a queue. The + job will automatically start when it reaches its turn. + + - Expired -- This job timed out because it was scheduled but didn't + begin before the set timeout duration. Submit a new job request. + + - InProgress -- This job has begun. You can start viewing the results in + the output S3 location. + + - Completed -- This job has successfully completed. View the output + files in the output S3 location. + + - PartiallyCompleted -- This job has partially completed. Not all of + your records could be processed in time. View the output files in the + output S3 location. + + - Failed -- This job has failed. Check the failure message for any + further details. For further assistance, reach out to the [Amazon Web + Services Support + Center](https://console.aws.amazon.com/support/home/). + + - Stopped -- This job was stopped by a user. + + - Stopping -- This job is being stopped by a user. + """ + name_contains: str | None = ... + """ + Specify a string to filter for batch inference jobs whose names contain + the string. + """ + max_results: int | None = ... + """ + The maximum number of results to return. If there are more results than + the number that you specify, a `nextToken` value is returned. Use the + `nextToken` in a request to return the next batch of results. + """ + next_token: str | None = ... + """ + If there were more results than the value you specified in the + `maxResults` field in a previous `ListModelInvocationJobs` request, the + response would have returned a `nextToken` value. To see the next batch + of results, send the `nextToken` value in another request. + """ + sort_by: str | None = ... + """An attribute by which to sort the results.""" + sort_order: str | None = ... + """Specifies whether to sort the results by ascending or descending order.""" + +@dataclass(kw_only=True) +class ListModelInvocationJobsOutput(_SerdeShape): + """Dataclass for ListModelInvocationJobsOutput structure.""" + + next_token: str | None = ... + """ + If there are more results than can fit in the response, a `nextToken` is + returned. Use the `nextToken` in a request to return the next batch of + results. + """ + invocation_job_summaries: list[ModelInvocationJobSummary] | None = ... + """ + A list of items, each of which contains a summary about a batch + inference job. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPromptRoutersInput(_SerdeShape): + """Dataclass for ListPromptRoutersInput structure.""" + + max_results: int | None = ... + """The maximum number of prompt routers to return in one page of results.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + type: str = ... + """The type of the prompt routers, such as whether it's default or custom.""" + +@dataclass(kw_only=True) +class ListPromptRoutersOutput(_SerdeShape): + """Dataclass for ListPromptRoutersOutput structure.""" + + prompt_router_summaries: list[PromptRouterSummary] | None = ... + """A list of prompt router summaries.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListProvisionedModelThroughputsInput(_SerdeShape): + """Dataclass for ListProvisionedModelThroughputsInput structure.""" + + creation_time_after: datetime | None = ... + """ + A filter that returns Provisioned Throughputs created after the + specified time. + """ + creation_time_before: datetime | None = ... + """ + A filter that returns Provisioned Throughputs created before the + specified time. + """ + status_equals: str | None = ... + """ + A filter that returns Provisioned Throughputs if their statuses matches + the value that you specify. + """ + model_arn_equals: str | None = ... + """ + A filter that returns Provisioned Throughputs whose model Amazon + Resource Name (ARN) is equal to the value that you specify. + """ + name_contains: str | None = ... + """ + A filter that returns Provisioned Throughputs if their name contains the + expression that you specify. + """ + max_results: int | None = ... + """ + THe maximum number of results to return in the response. If there are + more results than the number you specified, the response returns a + `nextToken` value. To see the next batch of results, send the + `nextToken` value in another list request. + """ + next_token: str | None = ... + """ + If there are more results than the number you specified in the + `maxResults` field, the response returns a `nextToken` value. To see the + next batch of results, specify the `nextToken` value in this field. + """ + sort_by: str | None = ... + """The field by which to sort the returned list of Provisioned Throughputs.""" + sort_order: str | None = ... + """The sort order of the results.""" + +@dataclass(kw_only=True) +class ListProvisionedModelThroughputsOutput(_SerdeShape): + """Dataclass for ListProvisionedModelThroughputsOutput structure.""" + + next_token: str | None = ... + """ + If there are more results than the number you specified in the + `maxResults` field, this value is returned. To see the next batch of + results, include this value in the `nextToken` field in another list + request. + """ + provisioned_model_summaries: list[ProvisionedModelSummary] | None = ... + """ + A list of summaries, one for each Provisioned Throughput in the + response. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceInput(_SerdeShape): + """Dataclass for ListTagsForResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource.""" + +@dataclass(kw_only=True) +class ListTagsForResourceOutput(_SerdeShape): + """Dataclass for ListTagsForResourceOutput structure.""" + + tags: list[Tag] | None = ... + """An array of the tags associated with this resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LoggingConfig(_SerdeShape): + """Configuration fields for invocation logging.""" + + cloud_watch_config: CloudWatchConfig | None = ... + """CloudWatch logging configuration.""" + s3_config: S3Config | None = ... + """S3 configuration for storing log data.""" + text_data_delivery_enabled: bool | None = ... + """Set to include text data in the log delivery.""" + image_data_delivery_enabled: bool | None = ... + """Set to include image data in the log delivery.""" + embedding_data_delivery_enabled: bool | None = ... + """Set to include embeddings data in the log delivery.""" + video_data_delivery_enabled: bool | None = ... + """Set to include video data in the log delivery.""" + audio_data_delivery_enabled: bool | None = ... + """Set to include audio data in the log delivery.""" + +@dataclass(kw_only=True) +class MarketplaceModelEndpoint(_SerdeShape): + """ + Contains details about an endpoint for a model from Amazon Bedrock + Marketplace. + """ + + endpoint_arn: str + """The Amazon Resource Name (ARN) of the endpoint.""" + model_source_identifier: str + """ + The ARN of the model from Amazon Bedrock Marketplace that is deployed on + this endpoint. + """ + status: str | None = ... + """ + The overall status of the endpoint in Amazon Bedrock Marketplace (e.g., + ACTIVE, INACTIVE). + """ + status_message: str | None = ... + """Additional information about the overall status, if available.""" + created_at: datetime + """The timestamp when the endpoint was registered.""" + updated_at: datetime + """The timestamp when the endpoint was last updated.""" + endpoint_config: EndpointConfig + """ + The configuration of the endpoint, including the number and type of + instances used. + """ + endpoint_status: str + """ + The current status of the endpoint (e.g., Creating, InService, Updating, + Failed). + """ + endpoint_status_message: str | None = ... + """Additional information about the endpoint status, if available.""" + +@dataclass(kw_only=True) +class MarketplaceModelEndpointSummary(_SerdeShape): + """ + Provides a summary of an endpoint for a model from Amazon Bedrock + Marketplace. + """ + + endpoint_arn: str + """The Amazon Resource Name (ARN) of the endpoint.""" + model_source_identifier: str + """ + The ARN of the model from Amazon Bedrock Marketplace that is deployed on + this endpoint. + """ + status: str | None = ... + """The overall status of the endpoint in Amazon Bedrock Marketplace.""" + status_message: str | None = ... + """Additional information about the overall status, if available.""" + created_at: datetime + """The timestamp when the endpoint was created.""" + updated_at: datetime + """The timestamp when the endpoint was last updated.""" + +@dataclass(kw_only=True) +class MetadataAttributeSchema(_SerdeShape): + """ + Defines the schema for a metadata attribute used in Knowledge Base + vector searches. Metadata attributes provide additional context for + documents and can be used for filtering and reranking search results. + """ + + key: str + """ + The unique identifier for the metadata attribute. This key is used to + reference the attribute in filter expressions and reranking + configurations. + """ + type: str + """ + The data type of the metadata attribute. The type determines how the + attribute can be used in filter expressions and reranking. + """ + description: str + """ + An optional description of the metadata attribute that provides + additional context about its purpose and usage. + """ + +@dataclass(kw_only=True) +class MetadataConfigurationForReranking(_SerdeShape): + """ + Configuration for how metadata should be used during the reranking + process in Knowledge Base vector searches. This determines which + metadata fields are included or excluded when reordering search results. + """ + + selection_mode: str + """ + The mode for selecting which metadata fields to include in the reranking + process. Valid values are ALL (use all available metadata fields) or + SELECTIVE (use only specified fields). + """ + selective_mode_configuration: ( + RerankingMetadataSelectiveModeConfiguration | None + ) = ... + """ + Configuration for selective mode, which allows you to explicitly include + or exclude specific metadata fields during reranking. This is only used + when selectionMode is set to SELECTIVE. + """ + +@dataclass(kw_only=True) +class ModelConfiguration(_SerdeShape): + """ + Contains the configuration for a model used in an advanced prompt + optimization job, including the model ID and inference parameters. + """ + + model_id: str + """ + The model to use for optimization. The value depends on the resource + that you use: + + - If you use a base model, specify the model ID or its ARN. For a list + of model IDs, see [Models at a + glance](https://docs.aws.amazon.com/bedrock/latest/userguide/model-cards.html) + in the Amazon Bedrock User Guide. + + - If you use a cross-Region (system-defined) inference profile, specify + the inference profile ID or its ARN. For a list of inference profile + IDs, see [Supported Regions and models for inference + profiles](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) + in the Amazon Bedrock User Guide. + + - If you use an application inference profile, specify its full ARN, + including the account ID and Region. + """ + inference_config: InferenceConfiguration | None = ... + """ + The inference configuration for the model, including parameters such as + maximum tokens, temperature, and top-p. + """ + additional_model_request_fields: dict[str, Document] | None = ... + """ + Additional model request fields. Use this to pass model-specific + parameters that are not included in the standard inference + configuration. + """ + +class ModelCopyJobStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + +@dataclass(kw_only=True) +class ModelCopyJobSummary(_SerdeShape): + """ + Contains details about each model copy job. + + This data type is used in the following API operations: + + - [ListModelCopyJobs + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListModelCopyJobs.html#API_ListModelCopyJobs_ResponseSyntax) + """ + + job_arn: str + """The Amazon Resoource Name (ARN) of the model copy job.""" + status: str + """The status of the model copy job.""" + creation_time: datetime + """The time that the model copy job was created.""" + target_model_arn: str + """The Amazon Resource Name (ARN) of the copied model.""" + target_model_name: str | None = ... + """The name of the copied model.""" + source_account_id: str + """ + The unique identifier of the account that the model being copied + originated from. + """ + source_model_arn: str + """The Amazon Resource Name (ARN) of the original model being copied.""" + target_model_kms_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied + model. + """ + target_model_tags: list[Tag] | None = ... + """Tags associated with the copied model.""" + failure_message: str | None = ... + """ + If a model fails to be copied, a message describing why the job failed + is included here. + """ + source_model_name: str | None = ... + """The name of the original model being copied.""" + +class ModelCustomization(UnknownEnumMixin, StrEnum): + FINE_TUNING = "FINE_TUNING" + CONTINUED_PRE_TRAINING = "CONTINUED_PRE_TRAINING" + DISTILLATION = "DISTILLATION" + +class ModelCustomizationJobStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + STOPPING = "Stopping" + STOPPED = "Stopped" + +@dataclass(kw_only=True) +class ModelCustomizationJobSummary(_SerdeShape): + """Information about one customization job""" + + job_arn: str + """Amazon Resource Name (ARN) of the customization job.""" + base_model_arn: str + """Amazon Resource Name (ARN) of the base model.""" + job_name: str + """Name of the customization job.""" + status: str + """Status of the customization job.""" + status_details: StatusDetails | None = ... + """Details about the status of the data processing sub-task of the job.""" + last_modified_time: datetime | None = ... + """Time that the customization job was last modified.""" + creation_time: datetime + """Creation time of the custom model.""" + end_time: datetime | None = ... + """Time that the customization job ended.""" + custom_model_arn: str | None = ... + """Amazon Resource Name (ARN) of the custom model.""" + custom_model_name: str | None = ... + """Name of the custom model.""" + customization_type: str | None = ... + """ + Specifies whether to carry out continued pre-training of a model or + whether to fine-tune it. For more information, see [Custom + models](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html). + """ + +@dataclass +class ModelDataSourceS3DataSource(_SerdeShape): + """The Amazon S3 data source of the model to import.""" + + value: S3DataSource + +@dataclass +class ModelDataSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ModelDataSource = Union[ModelDataSourceS3DataSource | ModelDataSourceUnknown] +"""The data source of the model to import.""" + +class _ModelDataSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ModelDataSource: ... + +@dataclass(kw_only=True) +class ModelEnforcement(_SerdeShape): + """Model-specific information for the enforced guardrail configuration.""" + + included_models: list[str] + """Models to enforce the guardrail on.""" + excluded_models: list[str] + """Models to exclude from enforcement of the guardrail.""" + +class ModelImportJobStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + +@dataclass(kw_only=True) +class ModelImportJobSummary(_SerdeShape): + """Information about the import job.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the import job.""" + job_name: str + """The name of the import job.""" + status: str + """The status of the imported job.""" + last_modified_time: datetime | None = ... + """The time when the import job was last modified.""" + creation_time: datetime + """The time import job was created.""" + end_time: datetime | None = ... + """The time when import job ended.""" + imported_model_arn: str | None = ... + """The Amazon resource Name (ARN) of the imported model.""" + imported_model_name: str | None = ... + """The name of the imported model.""" + +@dataclass +class ModelInvocationJobInputDataConfigS3InputDataConfig(_SerdeShape): + """Contains the configuration of the S3 location of the input data.""" + + value: ModelInvocationJobS3InputDataConfig + +@dataclass +class ModelInvocationJobInputDataConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ModelInvocationJobInputDataConfig = Union[ + ModelInvocationJobInputDataConfigS3InputDataConfig + | ModelInvocationJobInputDataConfigUnknown +] +"""Details about the location of the input to the batch inference job.""" + +class _ModelInvocationJobInputDataConfigDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ModelInvocationJobInputDataConfig: ... + +@dataclass +class ModelInvocationJobOutputDataConfigS3OutputDataConfig(_SerdeShape): + """Contains the configuration of the S3 location of the output data.""" + + value: ModelInvocationJobS3OutputDataConfig + +@dataclass +class ModelInvocationJobOutputDataConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ModelInvocationJobOutputDataConfig = Union[ + ModelInvocationJobOutputDataConfigS3OutputDataConfig + | ModelInvocationJobOutputDataConfigUnknown +] +"""Contains the configuration of the S3 location of the output data.""" + +class _ModelInvocationJobOutputDataConfigDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ModelInvocationJobOutputDataConfig: ... + +@dataclass(kw_only=True) +class ModelInvocationJobS3InputDataConfig(_SerdeShape): + """Contains the configuration of the S3 location of the input data.""" + + s3_input_format: str | None = ... + """The format of the input data.""" + s3_uri: str + """The S3 location of the input data.""" + s3_bucket_owner: str | None = ... + """ + The ID of the Amazon Web Services account that owns the S3 bucket + containing the input data. + """ + +@dataclass(kw_only=True) +class ModelInvocationJobS3OutputDataConfig(_SerdeShape): + """Contains the configuration of the S3 location of the output data.""" + + s3_uri: str + """The S3 location of the output data.""" + s3_encryption_key_id: str | None = ... + """ + The unique identifier of the key that encrypts the S3 location of the + output data. + """ + s3_bucket_owner: str | None = ... + """ + The ID of the Amazon Web Services account that owns the S3 bucket + containing the output data. + """ + +class ModelInvocationJobStatus(UnknownEnumMixin, StrEnum): + SUBMITTED = "Submitted" + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + STOPPING = "Stopping" + STOPPED = "Stopped" + PARTIALLY_COMPLETED = "PartiallyCompleted" + EXPIRED = "Expired" + VALIDATING = "Validating" + SCHEDULED = "Scheduled" + +@dataclass(kw_only=True) +class ModelInvocationJobSummary(_SerdeShape): + """A summary of a batch inference job.""" + + job_arn: str + """The Amazon Resource Name (ARN) of the batch inference job.""" + job_name: str + """The name of the batch inference job.""" + model_id: str + """The unique identifier of the foundation model used for model inference.""" + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the API request + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + role_arn: str + """ + The Amazon Resource Name (ARN) of the service role with permissions to + carry out and manage batch inference. You can use the console to create + a default service role or follow the steps at [Create a service role for + batch + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html). + """ + status: str | None = ... + """ + The status of the batch inference job. + + The following statuses are possible: + + - Submitted -- This job has been submitted to a queue for validation. + + - Validating -- This job is being validated for the requirements + described in [Format and upload your batch inference + data](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html). + The criteria include the following: + + - Your IAM service role has access to the Amazon S3 buckets containing + your files. + + - Your files are .jsonl files and each individual record is a JSON + object in the correct format. Note that validation doesn't check if + the `modelInput` value matches the request body for the model. + + - Your files fulfill the requirements for file size and number of + records. For more information, see [Quotas for Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html). + + - Scheduled -- This job has been validated and is now in a queue. The + job will automatically start when it reaches its turn. + + - Expired -- This job timed out because it was scheduled but didn't + begin before the set timeout duration. Submit a new job request. + + - InProgress -- This job has begun. You can start viewing the results in + the output S3 location. + + - Completed -- This job has successfully completed. View the output + files in the output S3 location. + + - PartiallyCompleted -- This job has partially completed. Not all of + your records could be processed in time. View the output files in the + output S3 location. + + - Failed -- This job has failed. Check the failure message for any + further details. For further assistance, reach out to the [Amazon Web + Services Support + Center](https://console.aws.amazon.com/support/home/). + + - Stopped -- This job was stopped by a user. + + - Stopping -- This job is being stopped by a user. + """ + message: str | None = ... + """ + If the batch inference job failed, this field contains a message + describing why the job failed. + """ + submit_time: datetime + """The time at which the batch inference job was submitted.""" + last_modified_time: datetime | None = ... + """The time at which the batch inference job was last modified.""" + end_time: datetime | None = ... + """The time at which the batch inference job ended.""" + input_data_config: ModelInvocationJobInputDataConfig + """Details about the location of the input to the batch inference job.""" + output_data_config: ModelInvocationJobOutputDataConfig + """Details about the location of the output of the batch inference job.""" + vpc_config: VpcConfig | None = ... + """ + The configuration of the Virtual Private Cloud (VPC) for the data in the + batch inference job. For more information, see [Protect batch inference + jobs using a + VPC](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc). + """ + timeout_duration_in_hours: int | None = ... + """ + The number of hours after which the batch inference job was set to time + out. + """ + job_expiration_time: datetime | None = ... + """The time at which the batch inference job times or timed out.""" + model_invocation_type: str | None = ... + """The invocation endpoint for ModelInvocationJob""" + total_record_count: int | None = ... + """The total number of records in the batch inference job.""" + processed_record_count: int | None = ... + """ + The number of records that have been processed in the batch inference + job. + """ + success_record_count: int | None = ... + """ + The number of records that were successfully processed in the batch + inference job. + """ + error_record_count: int | None = ... + """The number of records that failed to process in the batch inference job.""" + +class ModelInvocationType(UnknownEnumMixin, StrEnum): + INVOKE_MODEL = "InvokeModel" + CONVERSE = "Converse" + +class ModelModality(UnknownEnumMixin, StrEnum): + TEXT = "TEXT" + IMAGE = "IMAGE" + EMBEDDING = "EMBEDDING" + +@dataclass(kw_only=True) +class ModelPackageArnDataSource(_SerdeShape): + """ + Contains the Amazon Resource Name (ARN) of a SageMaker AI model package + to use as the data source for a custom model. + """ + + model_package_arn: str + """ + The Amazon Resource Name (ARN) of the SageMaker AI model package. The + ARN must be for a model package of `restricted` type. + + To use a model package ARN, you must have the + `sagemaker:DescribeModelPackage` and `sagemaker:AccessModelPackageData` + permissions on the model package resource. + """ + +class ModelStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "Active" + CREATING = "Creating" + FAILED = "Failed" + +@dataclass(kw_only=True) +class Offer(_SerdeShape): + """An offer dictates usage terms for the model.""" + + offer_id: str | None = ... + """Offer Id for a model offer.""" + offer_token: str + """Offer token.""" + term_details: TermDetails + """Details about the terms of the offer.""" + +class OfferType(UnknownEnumMixin, StrEnum): + ALL = "ALL" + PUBLIC = "PUBLIC" + +@dataclass(kw_only=True) +class OrchestrationConfiguration(_SerdeShape): + """ + The configuration details for the model to process the prompt prior to + retrieval and response generation. + """ + + query_transformation_configuration: QueryTransformationConfiguration + """Contains configuration details for transforming the prompt.""" + +@dataclass(kw_only=True) +class OutputDataConfig(_SerdeShape): + """S3 Location of the output data.""" + + s3_uri: str + """The S3 URI where the output data is stored.""" + +class PerformanceConfigLatency(UnknownEnumMixin, StrEnum): + STANDARD = "standard" + OPTIMIZED = "optimized" + +@dataclass(kw_only=True) +class PerformanceConfiguration(_SerdeShape): + """Contains performance settings for a model.""" + + latency: str | None = ... + """ + Specifies whether to use the latency-optimized or standard version of a + model or inference profile. + """ + +@dataclass(kw_only=True) +class PricingTerm(_SerdeShape): + """Describes the usage-based pricing term.""" + + rate_card: list[DimensionalPriceRate] + """Describes a usage price for each dimension.""" + +class PromptRouterStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "AVAILABLE" + +@dataclass(kw_only=True) +class PromptRouterSummary(_SerdeShape): + """Details about a prompt router.""" + + prompt_router_name: str + """The router's name.""" + routing_criteria: RoutingCriteria + """The router's routing criteria.""" + description: str | None = ... + """The router's description.""" + created_at: datetime | None = ... + """When the router was created.""" + updated_at: datetime | None = ... + """When the router was updated.""" + prompt_router_arn: str + """The router's ARN.""" + models: list[PromptRouterTargetModel] + """The router's models.""" + fallback_model: PromptRouterTargetModel + """The router's fallback model.""" + status: str + """The router's status.""" + type: str + """The summary's type.""" + +@dataclass(kw_only=True) +class PromptRouterTargetModel(_SerdeShape): + """The target model for a prompt router.""" + + model_arn: str | None = ... + """The target model's ARN.""" + +class PromptRouterType(UnknownEnumMixin, StrEnum): + CUSTOM = "custom" + DEFAULT = "default" + +@dataclass(kw_only=True) +class PromptTemplate(_SerdeShape): + """ + The template for the prompt that's sent to the model for response + generation. + """ + + text_prompt_template: str | None = ... + """ + The template for the prompt that's sent to the model for response + generation. You can include prompt placeholders, which become replaced + before the prompt is sent to the model to provide instructions and + context to the model. In addition, you can include XML tags to delineate + meaningful sections of the prompt template. + + For more information, see [Knowledge base prompt + template](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html) + and [Use XML tags with Anthropic Claude + models](https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags). + """ + +class ProvisionedModelStatus(UnknownEnumMixin, StrEnum): + CREATING = "Creating" + IN_SERVICE = "InService" + UPDATING = "Updating" + FAILED = "Failed" + +@dataclass(kw_only=True) +class ProvisionedModelSummary(_SerdeShape): + """ + A summary of information about a Provisioned Throughput. + + This data type is used in the following API operations: + + - [ListProvisionedThroughputs + response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListProvisionedModelThroughputs.html#API_ListProvisionedModelThroughputs_ResponseSyntax) + """ + + provisioned_model_name: str + """The name of the Provisioned Throughput.""" + provisioned_model_arn: str + """The Amazon Resource Name (ARN) of the Provisioned Throughput.""" + model_arn: str + """ + The Amazon Resource Name (ARN) of the model associated with the + Provisioned Throughput. + """ + desired_model_arn: str + """ + The Amazon Resource Name (ARN) of the model requested to be associated + to this Provisioned Throughput. This value differs from the `modelArn` + if updating hasn't completed. + """ + foundation_model_arn: str + """ + The Amazon Resource Name (ARN) of the base model for which the + Provisioned Throughput was created, or of the base model that the custom + model for which the Provisioned Throughput was created was customized. + """ + model_units: int + """The number of model units allocated to the Provisioned Throughput.""" + desired_model_units: int + """ + The number of model units that was requested to be allocated to the + Provisioned Throughput. + """ + status: str + """The status of the Provisioned Throughput.""" + commitment_duration: str | None = ... + """The duration for which the Provisioned Throughput was committed.""" + commitment_expiration_time: datetime | None = ... + """ + The timestamp for when the commitment term of the Provisioned Throughput + expires. + """ + creation_time: datetime + """The time that the Provisioned Throughput was created.""" + last_modified_time: datetime + """The time that the Provisioned Throughput was last modified.""" + +@dataclass(kw_only=True) +class PutAccountDataRetentionInput(_SerdeShape): + """Dataclass for PutAccountDataRetentionInput structure.""" + + mode: str | None = ... + """The data retention mode to set for the account.""" + +@dataclass(kw_only=True) +class PutAccountDataRetentionOutput(_SerdeShape): + """Dataclass for PutAccountDataRetentionOutput structure.""" + + mode: str + """The data retention mode set for the account.""" + updated_at: datetime | None = ... + """The time at which the data retention mode was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutEnforcedGuardrailConfigurationInput(_SerdeShape): + """Dataclass for PutEnforcedGuardrailConfigurationInput structure.""" + + config_id: str | None = ... + """Unique ID for the account enforced configuration.""" + guardrail_inference_config: ( + AccountEnforcedGuardrailInferenceInputConfiguration | None + ) = ... + """Account-level enforced guardrail input configuration.""" + +@dataclass(kw_only=True) +class PutEnforcedGuardrailConfigurationOutput(_SerdeShape): + """Dataclass for PutEnforcedGuardrailConfigurationOutput structure.""" + + config_id: str | None = ... + """Unique ID for the account enforced configuration.""" + updated_at: datetime | None = ... + """Timestamp.""" + updated_by: str | None = ... + """The ARN of the role used to update the configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutModelInvocationLoggingConfigurationInput(_SerdeShape): + """Dataclass for PutModelInvocationLoggingConfigurationInput structure.""" + + logging_config: LoggingConfig | None = ... + """The logging configuration values to set.""" + +@dataclass(kw_only=True) +class PutModelInvocationLoggingConfigurationOutput(_SerdeShape): + """Dataclass for PutModelInvocationLoggingConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyInput(_SerdeShape): + """Dataclass for PutResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """The ARN of the Bedrock resource to which this resource policy applies.""" + resource_policy: str | None = ... + """The JSON string representing the Bedrock resource policy.""" + +@dataclass(kw_only=True) +class PutResourcePolicyOutput(_SerdeShape): + """Dataclass for PutResourcePolicyOutput structure.""" + + resource_arn: str | None = ... + """The ARN of the Bedrock resource to which this resource policy applies.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutUseCaseForModelAccessInput(_SerdeShape): + """Dataclass for PutUseCaseForModelAccessInput structure.""" + + form_data: bytes | None = ... + """Put customer profile Request.""" + +@dataclass(kw_only=True) +class PutUseCaseForModelAccessOutput(_SerdeShape): + """Dataclass for PutUseCaseForModelAccessOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class QueryTransformationConfiguration(_SerdeShape): + """The configuration details for transforming the prompt.""" + + type: str + """The type of transformation to apply to the prompt.""" + +class QueryTransformationType(UnknownEnumMixin, StrEnum): + QUERY_DECOMPOSITION = "QUERY_DECOMPOSITION" + +@dataclass +class RAGConfigKnowledgeBaseConfig(_SerdeShape): + """ + Contains configuration details for knowledge base retrieval and response + generation. + """ + + value: KnowledgeBaseConfig + +@dataclass +class RAGConfigPrecomputedRagSourceConfig(_SerdeShape): + """ + Contains configuration details about the RAG source used to generate + inference response data for a Knowledge Base evaluation job. + """ + + value: EvaluationPrecomputedRagSourceConfig + +@dataclass +class RAGConfigUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RAGConfig = Union[ + RAGConfigKnowledgeBaseConfig + | RAGConfigPrecomputedRagSourceConfig + | RAGConfigUnknown +] +""" +Contains configuration details for retrieval of information and response +generation. +""" + +class _RAGConfigDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RAGConfig: ... + +@dataclass(kw_only=True) +class RatingScaleItem(_SerdeShape): + """ + Defines the value and corresponding definition for one rating in a + custom metric rating scale. + """ + + definition: str + """Defines the definition for one rating in a custom metric rating scale.""" + value: RatingScaleItemValue + """Defines the value for one rating in a custom metric rating scale.""" + +@dataclass +class RatingScaleItemValueStringValue(_SerdeShape): + """ + A string representing the value for a rating in a custom metric rating + scale. + """ + + value: str + +@dataclass +class RatingScaleItemValueFloatValue(_SerdeShape): + """ + A floating point number representing the value for a rating in a custom + metric rating scale. + """ + + value: float + +@dataclass +class RatingScaleItemValueUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RatingScaleItemValue = Union[ + RatingScaleItemValueStringValue + | RatingScaleItemValueFloatValue + | RatingScaleItemValueUnknown +] +"""Defines the value for one rating in a custom metric rating scale.""" + +class _RatingScaleItemValueDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RatingScaleItemValue: ... + +class ReasoningEffort(UnknownEnumMixin, StrEnum): + LOW = "low" + MEDIUM = "medium" + HIGH = "high" + +class RegionAvailability(UnknownEnumMixin, StrEnum): + AVAILABLE = "AVAILABLE" + NOT_AVAILABLE = "NOT_AVAILABLE" + +@dataclass(kw_only=True) +class RegisterMarketplaceModelEndpointInput(_SerdeShape): + """Dataclass for RegisterMarketplaceModelEndpointInput structure.""" + + endpoint_identifier: str | None = ... + """ + The ARN of the Amazon SageMaker endpoint you want to register with + Amazon Bedrock Marketplace. + """ + model_source_identifier: str | None = ... + """ + The ARN of the model from Amazon Bedrock Marketplace that is deployed on + the endpoint. + """ + +@dataclass(kw_only=True) +class RegisterMarketplaceModelEndpointOutput(_SerdeShape): + """Dataclass for RegisterMarketplaceModelEndpointOutput structure.""" + + marketplace_model_endpoint: MarketplaceModelEndpoint + """Details about the registered endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RequestMetadataBaseFilters(_SerdeShape): + """ + A mapping of a metadata key to a value that it should or should not + equal. + """ + + equals: dict[str, str] | None = ... + """Include results where the key equals the value.""" + not_equals: dict[str, str] | None = ... + """Include results where the key does not equal the value.""" + +@dataclass +class RequestMetadataFiltersEquals(_SerdeShape): + """Include results where the key equals the value.""" + + value: dict[str, str] + +@dataclass +class RequestMetadataFiltersNotEquals(_SerdeShape): + """Include results where the key does not equal the value.""" + + value: dict[str, str] + +@dataclass +class RequestMetadataFiltersAndAll(_SerdeShape): + """Include results where all of the based filters match.""" + + value: list[RequestMetadataBaseFilters] + +@dataclass +class RequestMetadataFiltersOrAll(_SerdeShape): + """Include results where any of the base filters match.""" + + value: list[RequestMetadataBaseFilters] + +@dataclass +class RequestMetadataFiltersUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RequestMetadataFilters = Union[ + RequestMetadataFiltersEquals + | RequestMetadataFiltersNotEquals + | RequestMetadataFiltersAndAll + | RequestMetadataFiltersOrAll + | RequestMetadataFiltersUnknown +] +""" +Rules for filtering invocation logs. A filter can be a mapping of a +metadata key to a value that it should or should not equal (a base +filter), or a list of base filters that are all applied with `AND` or +`OR` logical operators +""" + +class _RequestMetadataFiltersDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RequestMetadataFilters: ... + +class RerankingMetadataSelectionMode(UnknownEnumMixin, StrEnum): + SELECTIVE = "SELECTIVE" + ALL = "ALL" + +@dataclass +class RerankingMetadataSelectiveModeConfigurationFieldsToInclude(_SerdeShape): + """ + A list of metadata field names to explicitly include in the reranking + process. Only these fields will be considered when reordering search + results. This parameter cannot be used together with fieldsToExclude. + """ + + value: list[FieldForReranking] + +@dataclass +class RerankingMetadataSelectiveModeConfigurationFieldsToExclude(_SerdeShape): + """ + A list of metadata field names to explicitly exclude from the reranking + process. All metadata fields except these will be considered when + reordering search results. This parameter cannot be used together with + fieldsToInclude. + """ + + value: list[FieldForReranking] + +@dataclass +class RerankingMetadataSelectiveModeConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RerankingMetadataSelectiveModeConfiguration = Union[ + RerankingMetadataSelectiveModeConfigurationFieldsToInclude + | RerankingMetadataSelectiveModeConfigurationFieldsToExclude + | RerankingMetadataSelectiveModeConfigurationUnknown +] +""" +Configuration for selectively including or excluding metadata fields +during the reranking process. This allows you to control which metadata +attributes are considered when reordering search results. +""" + +class _RerankingMetadataSelectiveModeConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RerankingMetadataSelectiveModeConfiguration: ... + +@dataclass(kw_only=True) +class ResourceInUseException(ServiceError, _SerdeShape): + """ + Thrown when attempting to delete or modify a resource that is currently + being used by other resources or operations. For example, trying to + delete an Automated Reasoning policy that is referenced by an active + guardrail. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """ + The specified resource Amazon Resource Name (ARN) was not found. Check + the Amazon Resource Name (ARN) and try your request again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class RetrievalFilterEquals(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value matches the value + in this object. + + The following example would return data sources with an animal attribute + whose value is 'cat': `"equals": { "key": "animal", "value": "cat" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterNotEquals(_SerdeShape): + """ + Knowledge base data sources that contain a metadata attribute whose name + matches the key and whose value doesn't match the value in this object + are returned. + + The following example would return data sources that don't contain an + animal attribute whose value is 'cat': + `"notEquals": { "key": "animal", "value": "cat" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterGreaterThan(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value is greater than the + value in this object. + + The following example would return data sources with an year attribute + whose value is greater than '1989': + `"greaterThan": { "key": "year", "value": 1989 }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterGreaterThanOrEquals(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value is greater than or + equal to the value in this object. + + The following example would return data sources with an year attribute + whose value is greater than or equal to '1989': + `"greaterThanOrEquals": { "key": "year", "value": 1989 }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterLessThan(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value is less than the + value in this object. + + The following example would return data sources with an year attribute + whose value is less than to '1989': + `"lessThan": { "key": "year", "value": 1989 }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterLessThanOrEquals(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value is less than or + equal to the value in this object. + + The following example would return data sources with an year attribute + whose value is less than or equal to '1989': + `"lessThanOrEquals": { "key": "year", "value": 1989 }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterIn(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value is in the list + specified in the value in this object. + + The following example would return data sources with an animal attribute + that is either 'cat' or 'dog': + `"in": { "key": "animal", "value": ["cat", "dog"] }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterNotIn(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value isn't in the list + specified in the value in this object. + + The following example would return data sources whose animal attribute + is neither 'cat' nor 'dog': + `"notIn": { "key": "animal", "value": ["cat", "dog"] }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterStartsWith(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value starts with the + value in this object. This filter is currently only supported for Amazon + OpenSearch Serverless vector stores. + + The following example would return data sources with an animal attribute + starts with 'ca' (for example, 'cat' or 'camel'). + `"startsWith": { "key": "animal", "value": "ca" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterListContains(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value is a list that + contains the value as one of its members. + + The following example would return data sources with an animals + attribute that is a list containing a cat member (for example, + `["dog", "cat"]`): + `"listContains": { "key": "animals", "value": "cat" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterStringContains(_SerdeShape): + """ + Knowledge base data sources are returned if they contain a metadata + attribute whose name matches the key and whose value is one of the + following: + + A string that contains the value as a substring. The following example + would return data sources with an animal attribute that contains the + substring at (for example, 'cat'): + `"stringContains": { "key": "animal", "value": "at" }` + + A list with a member that contains the value as a substring. The + following example would return data sources with an animals attribute + that is a list containing a member that contains the substring at (for + example, `["dog", "cat"]`): + `"stringContains": { "key": "animals", "value": "at" }` + """ + + value: FilterAttribute + +@dataclass +class RetrievalFilterAndAll(_SerdeShape): + """ + Knowledge base data sources are returned if their metadata attributes + fulfill all the filter conditions inside this list. + """ + + value: list[RetrievalFilter] + +@dataclass +class RetrievalFilterOrAll(_SerdeShape): + """ + Knowledge base data sources are returned if their metadata attributes + fulfill at least one of the filter conditions inside this list. + """ + + value: list[RetrievalFilter] + +@dataclass +class RetrievalFilterUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RetrievalFilter = Union[ + RetrievalFilterEquals + | RetrievalFilterNotEquals + | RetrievalFilterGreaterThan + | RetrievalFilterGreaterThanOrEquals + | RetrievalFilterLessThan + | RetrievalFilterLessThanOrEquals + | RetrievalFilterIn + | RetrievalFilterNotIn + | RetrievalFilterStartsWith + | RetrievalFilterListContains + | RetrievalFilterStringContains + | RetrievalFilterAndAll + | RetrievalFilterOrAll + | RetrievalFilterUnknown +] +""" +Specifies the filters to use on the metadata attributes/fields in the +knowledge base data sources before returning results. +""" + +class _RetrievalFilterDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RetrievalFilter: ... + +@dataclass(kw_only=True) +class RetrieveAndGenerateConfiguration(_SerdeShape): + """ + Contains configuration details for a knowledge base retrieval and + response generation. + """ + + type: str + """ + The type of resource that contains your data for retrieving information + and generating responses. + + If you choose to use `EXTERNAL_SOURCES`, then currently only Claude 3 + Sonnet models for knowledge bases are supported. + """ + knowledge_base_configuration: ( + KnowledgeBaseRetrieveAndGenerateConfiguration | None + ) = ... + """ + Contains configuration details for the knowledge base retrieval and + response generation. + """ + external_sources_configuration: ( + ExternalSourcesRetrieveAndGenerateConfiguration | None + ) = ... + """ + The configuration for the external source wrapper object in the + `retrieveAndGenerate` function. + """ + +class RetrieveAndGenerateType(UnknownEnumMixin, StrEnum): + KNOWLEDGE_BASE = "KNOWLEDGE_BASE" + EXTERNAL_SOURCES = "EXTERNAL_SOURCES" + +@dataclass(kw_only=True) +class RetrieveConfig(_SerdeShape): + """ + The configuration details for retrieving information from a knowledge + base. + """ + + knowledge_base_id: str + """The unique identifier of the knowledge base.""" + knowledge_base_retrieval_configuration: KnowledgeBaseRetrievalConfiguration + """Contains configuration details for knowledge base retrieval.""" + +@dataclass(kw_only=True) +class RFTConfig(_SerdeShape): + """ + Configuration settings for reinforcement fine-tuning (RFT), including + grader configuration and training hyperparameters. + """ + + grader_config: GraderConfig | None = ... + """ + Configuration for the grader that evaluates model responses and provides + reward signals during RFT training. + """ + hyper_parameters: RFTHyperParameters | None = ... + """ + Hyperparameters that control the reinforcement fine-tuning training + process, including learning rate, batch size, and epoch count. + """ + +@dataclass(kw_only=True) +class RFTHyperParameters(_SerdeShape): + """ + Hyperparameters for controlling the reinforcement fine-tuning training + process, including learning settings and evaluation intervals. + """ + + epoch_count: int | None = ... + """ + Number of training epochs to run during reinforcement fine-tuning. + Higher values may improve performance but increase training time. + """ + batch_size: int | None = ... + """ + Number of training samples processed in each batch during reinforcement + fine-tuning (RFT) training. Larger batches may improve training + stability. + """ + learning_rate: float | None = ... + """ + Learning rate for the reinforcement fine-tuning. Controls how quickly + the model adapts to reward signals. + """ + max_prompt_length: int | None = ... + """ + Maximum length of input prompts during RFT training, measured in tokens. + Longer prompts allow more context but increase memory usage and + training-time. + """ + training_sample_per_prompt: int | None = ... + """ + Number of response samples generated per prompt during RFT training. + More samples provide better reward signal estimation. + """ + inference_max_tokens: int | None = ... + """ + Maximum number of tokens the model can generate in response to each + prompt during RFT training. + """ + reasoning_effort: str | None = ... + """ + Level of reasoning effort applied during RFT training. Higher values may + improve response quality but increase training time. + """ + eval_interval: int | None = ... + """ + Interval between evaluation runs during RFT training, measured in + training steps. More frequent evaluation provides better monitoring. + """ + +@dataclass(kw_only=True) +class RoutingCriteria(_SerdeShape): + """Routing criteria for a prompt router.""" + + response_quality_difference: float + """The criteria's response quality difference.""" + +@dataclass(kw_only=True) +class S3Config(_SerdeShape): + """S3 configuration for storing log data.""" + + bucket_name: str + """S3 bucket name.""" + key_prefix: str | None = ... + """S3 prefix.""" + +@dataclass(kw_only=True) +class S3DataSource(_SerdeShape): + """The Amazon S3 data source of the model to import.""" + + s3_uri: str + """The URI of the Amazon S3 data source.""" + +class S3InputFormat(UnknownEnumMixin, StrEnum): + JSONL = "JSONL" + +@dataclass(kw_only=True) +class S3ObjectDoc(_SerdeShape): + """The unique wrapper object of the document from the S3 location.""" + + uri: str + """The S3 URI location for the wrapper object of the document.""" + +@dataclass(kw_only=True) +class SageMakerEndpoint(_SerdeShape): + """Specifies the configuration for a Amazon SageMaker endpoint.""" + + initial_instance_count: int + """ + The number of Amazon EC2 compute instances to deploy for initial + endpoint creation. + """ + instance_type: str + """The Amazon EC2 compute instance type to deploy for hosting the model.""" + execution_role: str + """ + The ARN of the IAM role that Amazon SageMaker can assume to access model + artifacts and docker image for deployment on Amazon EC2 compute + instances or for batch transform jobs. + """ + kms_encryption_key: str | None = ... + """ + The Amazon Web Services KMS key that Amazon SageMaker uses to encrypt + data on the storage volume attached to the Amazon EC2 compute instance + that hosts the endpoint. + """ + vpc: VpcConfig | None = ... + """The VPC configuration for the endpoint.""" + +class SearchType(UnknownEnumMixin, StrEnum): + HYBRID = "HYBRID" + SEMANTIC = "SEMANTIC" + +@dataclass(kw_only=True) +class SelectiveContentGuarding(_SerdeShape): + """Selective content guarding controls for enforced guardrails.""" + + system: str | None = ... + """Selective guarding mode for system prompts.\"""" + messages: str | None = ... + """Selective guarding mode for user messages.""" + +class SelectiveGuardingMode(UnknownEnumMixin, StrEnum): + SELECTIVE = "SELECTIVE" + COMPREHENSIVE = "COMPREHENSIVE" diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/models_2.pyi b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/models_2.pyi new file mode 100644 index 000000000..5562be8bf --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/models_2.pyi @@ -0,0 +1,914 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AutomatedReasoningPolicyAnnotation, + AutomatedReasoningPolicyBuildWorkflowSource, + AutomatedReasoningPolicyDefinition, + DataProcessingDetails, + EndpointConfig, + GuardrailAutomatedReasoningPolicyConfig, + GuardrailContentPolicyConfig, + GuardrailContextualGroundingPolicyConfig, + GuardrailCrossRegionConfig, + GuardrailSensitiveInformationPolicyConfig, + GuardrailTopicPolicyConfig, + GuardrailWordPolicyConfig, + InvocationLogsConfig, + LegalTerm, + MarketplaceModelEndpoint, + MetadataConfigurationForReranking, + PricingTerm, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class ServiceQuotaExceededException(ServiceError, _SerdeShape): + """ + The number of requests exceeds the service quota. Resubmit your request + later. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceUnavailableException(ServiceError, _SerdeShape): + """Returned if the service cannot complete the request.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class SortByProvisionedModels(UnknownEnumMixin, StrEnum): + CREATION_TIME = "CreationTime" + +class SortJobsBy(UnknownEnumMixin, StrEnum): + CREATION_TIME = "CreationTime" + +class SortModelsBy(UnknownEnumMixin, StrEnum): + CREATION_TIME = "CreationTime" + +class SortOrder(UnknownEnumMixin, StrEnum): + ASCENDING = "Ascending" + DESCENDING = "Descending" + +@dataclass(kw_only=True) +class StartAutomatedReasoningPolicyBuildWorkflowInput(_SerdeShape): + """Dataclass for StartAutomatedReasoningPolicyBuildWorkflowInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy for + which to start the build workflow. + """ + build_workflow_type: str | None = ... + """ + The type of build workflow to start (e.g., DOCUMENT_INGESTION for + processing new documents, POLICY_REPAIR for fixing existing policies). + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than once. If this token matches a previous request, + Amazon Bedrock ignores the request but doesn't return an error. + + This field is autopopulated if not provided. + """ + source_content: AutomatedReasoningPolicyBuildWorkflowSource | None = ... + """ + The source content for the build workflow, such as documents to analyze + or repair instructions for existing policies. + """ + +@dataclass(kw_only=True) +class StartAutomatedReasoningPolicyBuildWorkflowOutput(_SerdeShape): + """ + Dataclass for StartAutomatedReasoningPolicyBuildWorkflowOutput + structure. + """ + + policy_arn: str + """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" + build_workflow_id: str + """ + The unique identifier of the newly started build workflow. Use this ID + to track the workflow's progress and retrieve its results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartAutomatedReasoningPolicyTestWorkflowInput(_SerdeShape): + """Dataclass for StartAutomatedReasoningPolicyTestWorkflowInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy to + test. + """ + build_workflow_id: str | None = ... + """ + The build workflow identifier. The build workflow must show a + `COMPLETED` status before running tests. + """ + test_case_ids: list[str] | None = ... + """ + The list of test identifiers to run. If not provided, all tests for the + policy are run. + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request but doesn't return an + error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StartAutomatedReasoningPolicyTestWorkflowOutput(_SerdeShape): + """Dataclass for StartAutomatedReasoningPolicyTestWorkflowOutput structure.""" + + policy_arn: str + """ + The Amazon Resource Name (ARN) of the policy for which the test workflow + was started. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class Status(UnknownEnumMixin, StrEnum): + REGISTERED = "REGISTERED" + INCOMPATIBLE_ENDPOINT = "INCOMPATIBLE_ENDPOINT" + +@dataclass(kw_only=True) +class StatusDetails(_SerdeShape): + """ + For a Distillation job, the status details for sub-tasks of the job. + Possible statuses for each sub-task include the following: + + - NotStarted + + - InProgress + + - Completed + + - Stopping + + - Stopped + + - Failed + """ + + validation_details: ValidationDetails | None = ... + """The status details for the validation sub-task of the job.""" + data_processing_details: DataProcessingDetails | None = ... + """The status details for the data processing sub-task of the job.""" + training_details: TrainingDetails | None = ... + """The status details for the training sub-task of the job.""" + +@dataclass(kw_only=True) +class StopAdvancedPromptOptimizationJobInput(_SerdeShape): + """Stop Advanced Prompt Optimization Job Request""" + + job_identifier: str | None = ... + """The ARN or ID of the advanced prompt optimization job to stop.""" + +@dataclass(kw_only=True) +class StopAdvancedPromptOptimizationJobOutput(_SerdeShape): + """Stop Advanced Prompt Optimization Job Response""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopEvaluationJobInput(_SerdeShape): + """Dataclass for StopEvaluationJobInput structure.""" + + job_identifier: str | None = ... + """The Amazon Resource Name (ARN) of the evaluation job you want to stop.""" + +@dataclass(kw_only=True) +class StopEvaluationJobOutput(_SerdeShape): + """Dataclass for StopEvaluationJobOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopModelCustomizationJobInput(_SerdeShape): + """Dataclass for StopModelCustomizationJobInput structure.""" + + job_identifier: str | None = ... + """Job identifier of the job to stop.""" + +@dataclass(kw_only=True) +class StopModelCustomizationJobOutput(_SerdeShape): + """Dataclass for StopModelCustomizationJobOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopModelInvocationJobInput(_SerdeShape): + """Dataclass for StopModelInvocationJobInput structure.""" + + job_identifier: str | None = ... + """The Amazon Resource Name (ARN) of the batch inference job to stop.""" + +@dataclass(kw_only=True) +class StopModelInvocationJobOutput(_SerdeShape): + """Dataclass for StopModelInvocationJobOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SupportTerm(_SerdeShape): + """Describes a support term.""" + + refund_policy_description: str | None = ... + """Describes the refund policy.""" + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """Definition of the key/value pair for a tag.""" + + key: str + """Key for the tag.""" + value: str + """Value for the tag.""" + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Dataclass for TagResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource to tag.""" + tags: list[Tag] | None = ... + """Tags to associate with the resource.""" + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TeacherModelConfig(_SerdeShape): + """Details about a teacher model used for model customization.""" + + teacher_model_identifier: str + """The identifier of the teacher model.""" + max_response_length_for_inference: int | None = ... + """ + The maximum number of tokens requested when the customization job + invokes the teacher model. + """ + +@dataclass(kw_only=True) +class TermDetails(_SerdeShape): + """Describes the usage terms of an offer.""" + + usage_based_pricing_term: PricingTerm + """Describes the usage-based pricing term.""" + legal_term: LegalTerm + """Describes the legal terms.""" + support_term: SupportTerm + """Describes the support terms.""" + validity_term: ValidityTerm | None = ... + """Describes the validity terms.""" + +@dataclass(kw_only=True) +class TextInferenceConfig(_SerdeShape): + """ + The configuration details for text generation using a language model via + the `RetrieveAndGenerate` function. + """ + + temperature: float | None = ... + """ + Controls the random-ness of text generated by the language model, + influencing how much the model sticks to the most predictable next words + versus exploring more surprising options. A lower temperature value + (e.g. 0.2 or 0.3) makes model outputs more deterministic or predictable, + while a higher temperature (e.g. 0.8 or 0.9) makes the outputs more + creative or unpredictable. + """ + top_p: float | None = ... + """ + A probability distribution threshold which controls what the model + considers for the set of possible next tokens. The model will only + consider the top p% of the probability distribution when generating the + next token. + """ + max_tokens: int | None = ... + """ + The maximum number of tokens to generate in the output text. Do not use + the minimum of 0 or the maximum of 65536. The limit values described + here are arbitrary values, for actual values consult the limits defined + by your specific model. + """ + stop_sequences: list[str] | None = ... + """ + A list of sequences of characters that, if generated, will cause the + model to stop generating further tokens. Do not use a minimum length of + 1 or a maximum length of 1000. The limit values described here are + arbitrary values, for actual values consult the limits defined by your + specific model. + """ + +@dataclass(kw_only=True) +class ThrottlingException(ServiceError, _SerdeShape): + """The number of requests exceeds the limit. Resubmit your request later.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyTagsException(ServiceError, _SerdeShape): + """ + The request contains more tags than can be associated with a resource + (50 tags per resource). The maximum number of tags includes both + existing tags and those included in your current request. + """ + + resource_name: str | None = ... + """The name of the resource with too many tags.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TrainingDataConfig(_SerdeShape): + """S3 Location of the training data.""" + + s3_uri: str | None = ... + """The S3 URI where the training data is stored.""" + invocation_logs_config: InvocationLogsConfig | None = ... + """Settings for using invocation logs to customize a model.""" + +@dataclass(kw_only=True) +class TrainingDetails(_SerdeShape): + """ + For a Distillation job, the status details for the training sub-task of + the job. + """ + + status: str | None = ... + """The status of the training sub-task of the job.""" + creation_time: datetime | None = ... + """The start time of the training sub-task of the job.""" + last_modified_time: datetime | None = ... + """The latest update to the training sub-task of the job.""" + +@dataclass(kw_only=True) +class TrainingMetrics(_SerdeShape): + """Metrics associated with the custom job.""" + + training_loss: float | None = ... + """Loss metric associated with the custom job.""" + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Dataclass for UntagResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource to untag.""" + tag_keys: list[str] | None = ... + """Tag keys of the tags to remove from the resource.""" + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAutomatedReasoningPolicyAnnotationsInput(_SerdeShape): + """Dataclass for UpdateAutomatedReasoningPolicyAnnotationsInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy whose + annotations you want to update. + """ + build_workflow_id: str | None = ... + """ + The unique identifier of the build workflow whose annotations you want + to update. + """ + annotations: list[AutomatedReasoningPolicyAnnotation] | None = ... + """ + The updated annotations containing modified rules, variables, and types + for the policy. + """ + last_updated_annotation_set_hash: str | None = ... + """ + The hash value of the annotation set that you're updating. This is used + for optimistic concurrency control to prevent conflicting updates. + """ + +@dataclass(kw_only=True) +class UpdateAutomatedReasoningPolicyAnnotationsOutput(_SerdeShape): + """Dataclass for UpdateAutomatedReasoningPolicyAnnotationsOutput structure.""" + + policy_arn: str + """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" + build_workflow_id: str + """The unique identifier of the build workflow.""" + annotation_set_hash: str + """The new hash value representing the updated state of the annotations.""" + updated_at: datetime + """The timestamp when the annotations were updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAutomatedReasoningPolicyInput(_SerdeShape): + """Dataclass for UpdateAutomatedReasoningPolicyInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy to + update. This must be the ARN of a draft policy. + """ + policy_definition: AutomatedReasoningPolicyDefinition | None = ... + """ + The updated policy definition containing the formal logic rules, + variables, and types. + """ + name: str | None = ... + """The updated name for the Automated Reasoning policy.""" + description: str | None = ... + """The updated description for the Automated Reasoning policy.""" + +@dataclass(kw_only=True) +class UpdateAutomatedReasoningPolicyOutput(_SerdeShape): + """Dataclass for UpdateAutomatedReasoningPolicyOutput structure.""" + + policy_arn: str + """The Amazon Resource Name (ARN) of the updated policy.""" + name: str + """The updated name of the policy.""" + definition_hash: str + """The hash of the updated policy definition.""" + updated_at: datetime + """The timestamp when the policy was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAutomatedReasoningPolicyTestCaseInput(_SerdeShape): + """Dataclass for UpdateAutomatedReasoningPolicyTestCaseInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Automated Reasoning policy that + contains the test. + """ + test_case_id: str | None = ... + """The unique identifier of the test to update.""" + guard_content: str | None = ... + """The updated content to be validated by the Automated Reasoning policy.""" + query_content: str | None = ... + """The updated input query or prompt that generated the content.""" + last_updated_at: datetime | None = ... + """ + The timestamp when the test was last updated. This is used as a + concurrency token to prevent conflicting modifications. + """ + expected_aggregated_findings_result: str | None = ... + """The updated expected result of the Automated Reasoning check.""" + confidence_threshold: float | None = ... + """ + The updated minimum confidence level for logic validation. If null is + provided, the threshold will be removed. + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, Amazon Bedrock ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateAutomatedReasoningPolicyTestCaseOutput(_SerdeShape): + """Dataclass for UpdateAutomatedReasoningPolicyTestCaseOutput structure.""" + + policy_arn: str + """ + The Amazon Resource Name (ARN) of the policy that contains the updated + test. + """ + test_case_id: str + """The unique identifier of the updated test.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCustomModelDeploymentInput(_SerdeShape): + """Dataclass for UpdateCustomModelDeploymentInput structure.""" + + model_arn: str | None = ... + """ + ARN of the new custom model to deploy. This replaces the currently + deployed model. + """ + custom_model_deployment_identifier: str | None = ... + """ + Identifier of the custom model deployment to update with the new custom + model. + """ + +@dataclass(kw_only=True) +class UpdateCustomModelDeploymentOutput(_SerdeShape): + """Dataclass for UpdateCustomModelDeploymentOutput structure.""" + + custom_model_deployment_arn: str + """ARN of the custom model deployment being updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGuardrailInput(_SerdeShape): + """Dataclass for UpdateGuardrailInput structure.""" + + guardrail_identifier: str | None = ... + """The unique identifier of the guardrail. This can be an ID or the ARN.""" + name: str | None = ... + """A name for the guardrail.""" + description: str | None = ... + """A description of the guardrail.""" + topic_policy_config: GuardrailTopicPolicyConfig | None = ... + """The topic policy to configure for the guardrail.""" + content_policy_config: GuardrailContentPolicyConfig | None = ... + """The content policy to configure for the guardrail.""" + word_policy_config: GuardrailWordPolicyConfig | None = ... + """The word policy to configure for the guardrail.""" + sensitive_information_policy_config: ( + GuardrailSensitiveInformationPolicyConfig | None + ) = ... + """The sensitive information policy to configure for the guardrail.""" + contextual_grounding_policy_config: ( + GuardrailContextualGroundingPolicyConfig | None + ) = ... + """ + The contextual grounding policy configuration used to update a + guardrail. + """ + automated_reasoning_policy_config: ( + GuardrailAutomatedReasoningPolicyConfig | None + ) = ... + """ + Updated configuration for Automated Reasoning policies associated with + the guardrail. + """ + cross_region_config: GuardrailCrossRegionConfig | None = ... + """ + The system-defined guardrail profile that you're using with your + guardrail. Guardrail profiles define the destination Amazon Web Services + Regions where guardrail inference requests can be automatically routed. + + For more information, see the [Amazon Bedrock User + Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). + """ + blocked_input_messaging: str | None = ... + """The message to return when the guardrail blocks a prompt.""" + blocked_outputs_messaging: str | None = ... + """The message to return when the guardrail blocks a model response.""" + kms_key_id: str | None = ... + """The ARN of the KMS key with which to encrypt the guardrail.""" + +@dataclass(kw_only=True) +class UpdateGuardrailOutput(_SerdeShape): + """Dataclass for UpdateGuardrailOutput structure.""" + + guardrail_id: str + """The unique identifier of the guardrail""" + guardrail_arn: str + """The ARN of the guardrail.""" + version: str + """The version of the guardrail.""" + updated_at: datetime + """The date and time at which the guardrail was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateMarketplaceModelEndpointInput(_SerdeShape): + """Dataclass for UpdateMarketplaceModelEndpointInput structure.""" + + endpoint_arn: str | None = ... + """The Amazon Resource Name (ARN) of the endpoint you want to update.""" + endpoint_config: EndpointConfig | None = ... + """ + The new configuration for the endpoint, including the number and type of + instances to use. + """ + client_request_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. This token is listed as not required because + Amazon Web Services SDKs automatically generate it for you and set this + parameter. If you're not using the Amazon Web Services SDK or the CLI, + you must provide this token or the action will fail. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateMarketplaceModelEndpointOutput(_SerdeShape): + """Dataclass for UpdateMarketplaceModelEndpointOutput structure.""" + + marketplace_model_endpoint: MarketplaceModelEndpoint + """Details about the updated endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateProvisionedModelThroughputInput(_SerdeShape): + """Dataclass for UpdateProvisionedModelThroughputInput structure.""" + + provisioned_model_id: str | None = ... + """ + The Amazon Resource Name (ARN) or name of the Provisioned Throughput to + update. + """ + desired_provisioned_model_name: str | None = ... + """The new name for this Provisioned Throughput.""" + desired_model_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the new model to associate with this + Provisioned Throughput. You can't specify this field if this + Provisioned Throughput is associated with a base model. + + If this Provisioned Throughput is associated with a custom model, you + can specify one of the following options: + + - The base model from which the custom model was customized. + + - Another custom model that was customized from the same base model as + the custom model. + """ + +@dataclass(kw_only=True) +class UpdateProvisionedModelThroughputOutput(_SerdeShape): + """Dataclass for UpdateProvisionedModelThroughputOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ValidationDataConfig(_SerdeShape): + """Array of up to 10 validators.""" + + validators: list[Validator] + """Information about the validators.""" + +@dataclass(kw_only=True) +class ValidationDetails(_SerdeShape): + """ + For a Distillation job, the status details for the validation sub-task + of the job. + """ + + status: str | None = ... + """The status of the validation sub-task of the job.""" + creation_time: datetime | None = ... + """The start time of the validation sub-task of the job.""" + last_modified_time: datetime | None = ... + """The latest update to the validation sub-task of the job.""" + +@dataclass(kw_only=True) +class ValidationException(ServiceError, _SerdeShape): + """ + Input validation failed. Check your request parameters and retry the + request. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Validator(_SerdeShape): + """Information about a validator.""" + + s3_uri: str + """The S3 URI where the validation data is stored.""" + +@dataclass(kw_only=True) +class ValidatorMetric(_SerdeShape): + """The metric for the validator.""" + + validation_loss: float | None = ... + """The validation loss associated with this validator.""" + +@dataclass(kw_only=True) +class ValidityTerm(_SerdeShape): + """Describes the validity terms.""" + + agreement_duration: str | None = ... + """Describes the agreement duration.""" + +@dataclass(kw_only=True) +class VectorSearchBedrockRerankingConfiguration(_SerdeShape): + """ + Configuration for using Amazon Bedrock foundation models to rerank + Knowledge Base vector search results. This enables more sophisticated + relevance ranking using large language models. + """ + + model_configuration: VectorSearchBedrockRerankingModelConfiguration + """ + Configuration for the Amazon Bedrock foundation model used for + reranking. This includes the model ARN and any additional request fields + required by the model. + """ + number_of_reranked_results: int | None = ... + """ + The maximum number of results to rerank. This limits how many of the + initial vector search results will be processed by the reranking model. + A smaller number improves performance but may exclude potentially + relevant results. + """ + metadata_configuration: MetadataConfigurationForReranking | None = ... + """ + Configuration for how document metadata should be used during the + reranking process. This determines which metadata fields are included + when reordering search results. + """ + +@dataclass(kw_only=True) +class VectorSearchBedrockRerankingModelConfiguration(_SerdeShape): + """ + Configuration for the Amazon Bedrock foundation model used for reranking + vector search results. This specifies which model to use and any + additional parameters required by the model. + """ + + model_arn: str + """ + The Amazon Resource Name (ARN) of the foundation model to use for + reranking. This model processes the query and search results to + determine a more relevant ordering. + """ + additional_model_request_fields: dict[str, Document] | None = ... + """ + A list of additional fields to include in the model request during + reranking. These fields provide extra context or configuration options + specific to the selected foundation model. + """ + +@dataclass(kw_only=True) +class VectorSearchRerankingConfiguration(_SerdeShape): + """ + Configuration for reranking vector search results to improve relevance. + Reranking applies additional relevance models to reorder the initial + vector search results based on more sophisticated criteria. + """ + + type: str + """ + The type of reranking to apply to vector search results. Currently, the + only supported value is BEDROCK, which uses Amazon Bedrock foundation + models for reranking. + """ + bedrock_reranking_configuration: ( + VectorSearchBedrockRerankingConfiguration | None + ) = ... + """ + Configuration for using Amazon Bedrock foundation models to rerank + search results. This is required when the reranking type is set to + BEDROCK. + """ + +class VectorSearchRerankingConfigurationType(UnknownEnumMixin, StrEnum): + BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" + +@dataclass(kw_only=True) +class VpcConfig(_SerdeShape): + """ + The configuration of a virtual private cloud (VPC). For more + information, see [Protect your data using Amazon Virtual Private Cloud + and Amazon Web Services + PrivateLink](https://docs.aws.amazon.com/bedrock/latest/userguide/usingVPC.html). + """ + + subnet_ids: list[str] + """An array of IDs for each subnet in the VPC to use.""" + security_group_ids: list[str] + """An array of IDs for each security group in the VPC to use.""" diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas.py index 7f7a7d6ce..6048fb0e8 100644 --- a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas.py +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas.py @@ -1,12275 +1,1035 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.bedrock" -_AE = "AcceptEula" -_s = "smithy.api#default" -_NBS = "NonBlankString" -_ADE = "AccessDeniedException" -_sm = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_m = "message" -_AEGCI = "AccountEnforcedGuardrailConfigurationId" -_GI = "GuardrailIdentifier" -_GNV = "GuardrailNumericalVersion" -_EMI = "ExcludedModelId" -_EML = "ExcludedModelsList" -_me = "member" -_IMI = "IncludedModelId" -_IML = "IncludedModelsList" -_ME = "ModelEnforcement" -_iM = "includedModels" -_smi = "smithy.api#required" -_eM = "excludedModels" -_SGM = "SelectiveGuardingMode" -_SELECTIVE = "SELECTIVE" -_sV = "smithy.api#enumValue" -_COMPREHENSIVE = "COMPREHENSIVE" -_SCG = "SelectiveContentGuarding" -_sy = "system" -_mes = "messages" -_AEGIIC = "AccountEnforcedGuardrailInferenceInputConfiguration" -_gI = "guardrailIdentifier" -_gV = "guardrailVersion" -_sCG = "selectiveContentGuarding" -_mE = "modelEnforcement" -_T = "Timestamp" -_sF = "smithy.api#timestampFormat" -_dt = "date-time" -_GA = "GuardrailArn" -_GIu = "GuardrailId" -_IT = "InputTags" -_HONOR = "HONOR" -_IGNORE = "IGNORE" -_CO = "ConfigurationOwner" -_AEGOC = "AccountEnforcedGuardrailOutputConfiguration" -_cI = "configId" -_gA = "guardrailArn" -_gIu = "guardrailId" -_iT = "inputTags" -_cA = "createdAt" -_cB = "createdBy" -_uA = "updatedAt" -_uB = "updatedBy" -_o = "owner" -_AEGOCc = "AccountEnforcedGuardrailsOutputConfiguration" -_AI = "AccountId" -_AFDB = "AcknowledgementFormDataBody" -_AMRFK = "AdditionalModelRequestFieldsKey" -_AMRFV = "AdditionalModelRequestFieldsValue" -_AMRF = "AdditionalModelRequestFields" -_k = "key" -_v = "value" -_SU = "S3Uri" -_APOIC = "AdvancedPromptOptimizationInputConfig" -_sU = "s3Uri" -_APOJA = "AdvancedPromptOptimizationJobArn" -_APOJD = "AdvancedPromptOptimizationJobDescription" -_APOJI = "AdvancedPromptOptimizationJobIdentifier" -_APOJId = "AdvancedPromptOptimizationJobIdentifiers" -_APOJN = "AdvancedPromptOptimizationJobName" -_BDAPOJI = "BatchDeleteAdvancedPromptOptimizationJobInput" -_sSI = "smithy.synthetic#originalShapeId" -_cBDAPOJR = "com.amazonaws.bedrock#BatchDeleteAdvancedPromptOptimizationJobRequest" -_smit = "smithy.api#input" -_jI = "jobIdentifiers" -_APOJS = "AdvancedPromptOptimizationJobStatus" -_IP = "IN_PROGRESS" -_IPn = "InProgress" -_COMPLETED = "COMPLETED" -_C = "Completed" -_FAILED = "FAILED" -_F = "Failed" -_PC = "PARTIALLY_COMPLETED" -_PCa = "PartiallyCompleted" -_STOPPING = "STOPPING" -_S = "Stopping" -_STOPPED = "STOPPED" -_St = "Stopped" -_DELETING = "DELETING" -_D = "Deleting" -_BDAPOJIa = "BatchDeleteAdvancedPromptOptimizationJobItem" -_jIo = "jobIdentifier" -_jS = "jobStatus" -_BDAPOJIat = "BatchDeleteAdvancedPromptOptimizationJobItems" -_BDAPOJE = "BatchDeleteAdvancedPromptOptimizationJobError" -_co = "code" -_BDAPOJEa = "BatchDeleteAdvancedPromptOptimizationJobErrors" -_BDAPOJO = "BatchDeleteAdvancedPromptOptimizationJobOutput" -_cBDAPOJRo = "com.amazonaws.bedrock#BatchDeleteAdvancedPromptOptimizationJobResponse" -_smith = "smithy.api#output" -_e = "errors" -_aPOJ = "advancedPromptOptimizationJobs" -_ISE = "InternalServerException" -_se = "server" -_TE = "ThrottlingException" -_VE = "ValidationException" -_BDAPOJ = "BatchDeleteAdvancedPromptOptimizationJob" -_smithy = "smithy.api#http" -_CE = "ConflictException" -_ITd = "IdempotencyToken" -_KKA = "KmsKeyArn" -_NESL = "NonEmptyStringList" -_IC = "InferenceConfiguration" -_mT = "maxTokens" -_t = "temperature" -_tP = "topP" -_sS = "stopSequences" -_APOMI = "AdvancedPromptOptimizationModelIdentifier" -_MC = "ModelConfiguration" -_mI = "modelId" -_iC = "inferenceConfig" -_aMRF = "additionalModelRequestFields" -_MCo = "ModelConfigurations" -_SUF = "S3UriFolder" -_APOOC = "AdvancedPromptOptimizationOutputConfig" -_TK = "TagKey" -_TV = "TagValue" -_Ta = "Tag" -_TL = "TagList" -_CAPOJI = "CreateAdvancedPromptOptimizationJobInput" -_cCAPOJR = "com.amazonaws.bedrock#CreateAdvancedPromptOptimizationJobRequest" -_jN = "jobName" -_jD = "jobDescription" -_cT = "clientToken" -_sT = "smithy.api#idempotencyToken" -_iCn = "inputConfig" -_oC = "outputConfig" -_eKA = "encryptionKeyArn" -_ta = "tags" -_mC = "modelConfigurations" -_CAPOJO = "CreateAdvancedPromptOptimizationJobOutput" -_cCAPOJRo = "com.amazonaws.bedrock#CreateAdvancedPromptOptimizationJobResponse" -_jA = "jobArn" -_RNFE = "ResourceNotFoundException" -_SQEE = "ServiceQuotaExceededException" -_TRA = "TaggableResourcesArn" -_TMTE = "TooManyTagsException" -_rN = "resourceName" -_CAPOJ = "CreateAdvancedPromptOptimizationJob" -_GAPOJI = "GetAdvancedPromptOptimizationJobInput" -_cGAPOJR = "com.amazonaws.bedrock#GetAdvancedPromptOptimizationJobRequest" -_sL = "smithy.api#httpLabel" -_EM = "ErrorMessage" -_GAPOJO = "GetAdvancedPromptOptimizationJobOutput" -_cGAPOJRo = "com.amazonaws.bedrock#GetAdvancedPromptOptimizationJobResponse" -_cTr = "creationTime" -_lMT = "lastModifiedTime" -_fM = "failureMessage" -_GAPOJ = "GetAdvancedPromptOptimizationJob" -_MR = "MaxResults" -_PT = "PaginationToken" -_SJB = "SortJobsBy" -_CT = "CREATION_TIME" -_CTr = "CreationTime" -_SO = "SortOrder" -_ASCENDING = "ASCENDING" -_A = "Ascending" -_DESCENDING = "DESCENDING" -_De = "Descending" -_LAPOJI = "ListAdvancedPromptOptimizationJobsInput" -_cLAPOJR = "com.amazonaws.bedrock#ListAdvancedPromptOptimizationJobsRequest" -_mR = "maxResults" -_sQ = "smithy.api#httpQuery" -_nT = "nextToken" -_sB = "sortBy" -_sO = "sortOrder" -_APOJSd = "AdvancedPromptOptimizationJobSummary" -_APOJSdv = "AdvancedPromptOptimizationJobSummaries" -_LAPOJO = "ListAdvancedPromptOptimizationJobsOutput" -_cLAPOJRo = "com.amazonaws.bedrock#ListAdvancedPromptOptimizationJobsResponse" -_jSo = "jobSummaries" -_LAPOJ = "ListAdvancedPromptOptimizationJobs" -_SAPOJI = "StopAdvancedPromptOptimizationJobInput" -_cSAPOJR = "com.amazonaws.bedrock#StopAdvancedPromptOptimizationJobRequest" -_SAPOJO = "StopAdvancedPromptOptimizationJobOutput" -_cSAPOJRo = "com.amazonaws.bedrock#StopAdvancedPromptOptimizationJobResponse" -_SAPOJ = "StopAdvancedPromptOptimizationJob" -_AS = "AgreementStatus" -_AVAILABLE = "AVAILABLE" -_PENDING = "PENDING" -_NA = "NOT_AVAILABLE" -_ERROR = "ERROR" -_AA = "AgreementAvailability" -_st = "status" -_eMr = "errorMessage" -_GUCFMAI = "GetUseCaseForModelAccessInput" -_cGUCFMAR = "com.amazonaws.bedrock#GetUseCaseForModelAccessRequest" -_GUCFMAO = "GetUseCaseForModelAccessOutput" -_cGUCFMARo = "com.amazonaws.bedrock#GetUseCaseForModelAccessResponse" -_fD = "formData" -_GUCFMA = "GetUseCaseForModelAccess" -_PUCFMAI = "PutUseCaseForModelAccessInput" -_cPUCFMAR = "com.amazonaws.bedrock#PutUseCaseForModelAccessRequest" -_PUCFMAO = "PutUseCaseForModelAccessOutput" -_cPUCFMARo = "com.amazonaws.bedrock#PutUseCaseForModelAccessResponse" -_PUCFMA = "PutUseCaseForModelAccess" -_ARPA = "AutomatedReasoningPolicyArn" -_ARPBWI = "AutomatedReasoningPolicyBuildWorkflowId" -_CARPBWI = "CancelAutomatedReasoningPolicyBuildWorkflowInput" -_cCARPBWR = "com.amazonaws.bedrock#CancelAutomatedReasoningPolicyBuildWorkflowRequest" -_pA = "policyArn" -_bWI = "buildWorkflowId" -_CARPBWO = "CancelAutomatedReasoningPolicyBuildWorkflowOutput" -_cCARPBWRo = "com.amazonaws.bedrock#CancelAutomatedReasoningPolicyBuildWorkflowResponse" -_CARPBW = "CancelAutomatedReasoningPolicyBuildWorkflow" -_ARPD = "AutomatedReasoningPolicyDescription" -_smithya = "smithy.api#sensitive" -_KKI = "KmsKeyId" -_ARPN = "AutomatedReasoningPolicyName" -_ARPDRAE = "AutomatedReasoningPolicyDefinitionRuleAlternateExpression" -_ARPDRE = "AutomatedReasoningPolicyDefinitionRuleExpression" -_ARPDRI = "AutomatedReasoningPolicyDefinitionRuleId" -_ARPDR = "AutomatedReasoningPolicyDefinitionRule" -_i = "id" -_ex = "expression" -_aE = "alternateExpression" -_ARPDRL = "AutomatedReasoningPolicyDefinitionRuleList" -_ARPDTD = "AutomatedReasoningPolicyDefinitionTypeDescription" -_ARPDTN = "AutomatedReasoningPolicyDefinitionTypeName" -_ARPDTVD = "AutomatedReasoningPolicyDefinitionTypeValueDescription" -_ARPDTVN = "AutomatedReasoningPolicyDefinitionTypeValueName" -_ARPDTV = "AutomatedReasoningPolicyDefinitionTypeValue" -_d = "description" -_ARPDTVL = "AutomatedReasoningPolicyDefinitionTypeValueList" -_ARPDT = "AutomatedReasoningPolicyDefinitionType" -_n = "name" -_va = "values" -_ARPDTL = "AutomatedReasoningPolicyDefinitionTypeList" -_ARPDVD = "AutomatedReasoningPolicyDefinitionVariableDescription" -_ARPDVN = "AutomatedReasoningPolicyDefinitionVariableName" -_ARPDV = "AutomatedReasoningPolicyDefinitionVariable" -_ty = "type" -_ARPDVL = "AutomatedReasoningPolicyDefinitionVariableList" -_ARPFV = "AutomatedReasoningPolicyFormatVersion" -_ARPDu = "AutomatedReasoningPolicyDefinition" -_ve = "version" -_v_ = "1" -_typ = "types" -_r = "rules" -_var = "variables" -_CARPI = "CreateAutomatedReasoningPolicyInput" -_cCARPR = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyRequest" -_cRT = "clientRequestToken" -_pD = "policyDefinition" -_kKI = "kmsKeyId" -_ARPH = "AutomatedReasoningPolicyHash" -_ARPV = "AutomatedReasoningPolicyVersion" -_CARPO = "CreateAutomatedReasoningPolicyOutput" -_cCARPRo = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyResponse" -_dH = "definitionHash" -_CARP = "CreateAutomatedReasoningPolicy" -_ARCTC = "AutomatedReasoningCheckTranslationConfidence" -_ARCR = "AutomatedReasoningCheckResult" -_VALID = "VALID" -_INVALID = "INVALID" -_SATISFIABLE = "SATISFIABLE" -_IMPOSSIBLE = "IMPOSSIBLE" -_TA = "TRANSLATION_AMBIGUOUS" -_TC = "TOO_COMPLEX" -_NT = "NO_TRANSLATION" -_ARPTGC = "AutomatedReasoningPolicyTestGuardContent" -_ARPTQC = "AutomatedReasoningPolicyTestQueryContent" -_CARPTCI = "CreateAutomatedReasoningPolicyTestCaseInput" -_cCARPTCR = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyTestCaseRequest" -_gC = "guardContent" -_qC = "queryContent" -_eAFR = "expectedAggregatedFindingsResult" -_cTo = "confidenceThreshold" -_ARPTCI = "AutomatedReasoningPolicyTestCaseId" -_CARPTCO = "CreateAutomatedReasoningPolicyTestCaseOutput" -_cCARPTCRo = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyTestCaseResponse" -_tCI = "testCaseId" -_CARPTC = "CreateAutomatedReasoningPolicyTestCase" -_CARPVI = "CreateAutomatedReasoningPolicyVersionInput" -_cCARPVR = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyVersionRequest" -_lUDH = "lastUpdatedDefinitionHash" -_CARPVO = "CreateAutomatedReasoningPolicyVersionOutput" -_cCARPVRo = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyVersionResponse" -_CARPV = "CreateAutomatedReasoningPolicyVersion" -_DARPI = "DeleteAutomatedReasoningPolicyInput" -_cDARPR = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyRequest" -_f = "force" -_DARPO = "DeleteAutomatedReasoningPolicyOutput" -_cDARPRo = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyResponse" -_RIUE = "ResourceInUseException" -_DARP = "DeleteAutomatedReasoningPolicy" -_DARPBWI = "DeleteAutomatedReasoningPolicyBuildWorkflowInput" -_cDARPBWR = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyBuildWorkflowRequest" -_lUA = "lastUpdatedAt" -_DARPBWO = "DeleteAutomatedReasoningPolicyBuildWorkflowOutput" -_cDARPBWRo = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyBuildWorkflowResponse" -_DARPBW = "DeleteAutomatedReasoningPolicyBuildWorkflow" -_DARPTCI = "DeleteAutomatedReasoningPolicyTestCaseInput" -_cDARPTCR = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyTestCaseRequest" -_DARPTCO = "DeleteAutomatedReasoningPolicyTestCaseOutput" -_cDARPTCRo = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyTestCaseResponse" -_DARPTC = "DeleteAutomatedReasoningPolicyTestCase" -_EARPVI = "ExportAutomatedReasoningPolicyVersionInput" -_cEARPVR = "com.amazonaws.bedrock#ExportAutomatedReasoningPolicyVersionRequest" -_EARPVO = "ExportAutomatedReasoningPolicyVersionOutput" -_cEARPVRo = "com.amazonaws.bedrock#ExportAutomatedReasoningPolicyVersionResponse" -_sP = "smithy.api#httpPayload" -_EARPV = "ExportAutomatedReasoningPolicyVersion" -_GARPI = "GetAutomatedReasoningPolicyInput" -_cGARPR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyRequest" -_ARPI = "AutomatedReasoningPolicyId" -_GARPO = "GetAutomatedReasoningPolicyOutput" -_cGARPRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyResponse" -_pI = "policyId" -_kKA = "kmsKeyArn" -_GARP = "GetAutomatedReasoningPolicy" -_GARPAI = "GetAutomatedReasoningPolicyAnnotationsInput" -_cGARPAR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyAnnotationsRequest" -_ARPARA = "AutomatedReasoningPolicyAddRuleAnnotation" -_ARPARNL = "AutomatedReasoningPolicyAnnotationRuleNaturalLanguage" -_ARPARFNLA = "AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation" -_nL = "naturalLanguage" -_ARPATA = "AutomatedReasoningPolicyAddTypeAnnotation" -_ARPAVA = "AutomatedReasoningPolicyAddVariableAnnotation" -_ARPDRA = "AutomatedReasoningPolicyDeleteRuleAnnotation" -_rI = "ruleId" -_ARPDTA = "AutomatedReasoningPolicyDeleteTypeAnnotation" -_ARPDVA = "AutomatedReasoningPolicyDeleteVariableAnnotation" -_ARPAIC = "AutomatedReasoningPolicyAnnotationIngestContent" -_ARPICA = "AutomatedReasoningPolicyIngestContentAnnotation" -_con = "content" -_ARPAFNL = "AutomatedReasoningPolicyAnnotationFeedbackNaturalLanguage" -_ARPDRIL = "AutomatedReasoningPolicyDefinitionRuleIdList" -_ARPUFRFA = "AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation" -_rIu = "ruleIds" -_fe = "feedback" -_ARPSE = "AutomatedReasoningPolicyScenarioExpression" -_ARPUFSFA = "AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation" -_sEc = "scenarioExpression" -_ARPURA = "AutomatedReasoningPolicyUpdateRuleAnnotation" -_ARPATV = "AutomatedReasoningPolicyAddTypeValue" -_ARPDTVu = "AutomatedReasoningPolicyDeleteTypeValue" -_ARPUTV = "AutomatedReasoningPolicyUpdateTypeValue" -_nV = "newValue" -_ARPTVA = "AutomatedReasoningPolicyTypeValueAnnotation" -_aTV = "addTypeValue" -_uTV = "updateTypeValue" -_dTV = "deleteTypeValue" -_ARPTVAL = "AutomatedReasoningPolicyTypeValueAnnotationList" -_ARPUTA = "AutomatedReasoningPolicyUpdateTypeAnnotation" -_nN = "newName" -_ARPUVA = "AutomatedReasoningPolicyUpdateVariableAnnotation" -_ARPAu = "AutomatedReasoningPolicyAnnotation" -_aT = "addType" -_uT = "updateType" -_dT = "deleteType" -_aV = "addVariable" -_uV = "updateVariable" -_dV = "deleteVariable" -_aR = "addRule" -_uR = "updateRule" -_dR = "deleteRule" -_aRFNL = "addRuleFromNaturalLanguage" -_uFRF = "updateFromRulesFeedback" -_uFSF = "updateFromScenarioFeedback" -_iCng = "ingestContent" -_ARPAL = "AutomatedReasoningPolicyAnnotationList" -_GARPAO = "GetAutomatedReasoningPolicyAnnotationsOutput" -_cGARPARo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyAnnotationsResponse" -_a = "annotations" -_aSH = "annotationSetHash" -_GARPA = "GetAutomatedReasoningPolicyAnnotations" -_GARPBWI = "GetAutomatedReasoningPolicyBuildWorkflowInput" -_cGARPBWR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyBuildWorkflowRequest" -_ARPBWT = "AutomatedReasoningPolicyBuildWorkflowType" -_IC_ = "INGEST_CONTENT" -_RP = "REFINE_POLICY" -_IP_ = "IMPORT_POLICY" -_GFR = "GENERATE_FIDELITY_REPORT" -_GPS = "GENERATE_POLICY_SCENARIOS" -_RPA = "RESOLVE_POLICY_AMBIGUITIES" -_IRP = "ITERATIVELY_REFINE_POLICY" -_ARPBDCT = "AutomatedReasoningPolicyBuildDocumentContentType" -_PDF = "PDF" -_p = "pdf" -_TEXT = "TEXT" -_tx = "txt" -_ARPBDD = "AutomatedReasoningPolicyBuildDocumentDescription" -_ARPBDN = "AutomatedReasoningPolicyBuildDocumentName" -_ARPBWS = "AutomatedReasoningPolicyBuildWorkflowStatus" -_SCHEDULED = "SCHEDULED" -_CR = "CANCEL_REQUESTED" -_PREPROCESSING = "PREPROCESSING" -_BUILDING = "BUILDING" -_TESTING = "TESTING" -_CANCELLED = "CANCELLED" -_GARPBWO = "GetAutomatedReasoningPolicyBuildWorkflowOutput" -_cGARPBWRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyBuildWorkflowResponse" -_bWT = "buildWorkflowType" -_dN = "documentName" -_dCT = "documentContentType" -_dD = "documentDescription" -_GARPBW = "GetAutomatedReasoningPolicyBuildWorkflow" -_ARPBRAI = "AutomatedReasoningPolicyBuildResultAssetId" -_ARPBRAT = "AutomatedReasoningPolicyBuildResultAssetType" -_BL = "BUILD_LOG" -_QR = "QUALITY_REPORT" -_PD = "POLICY_DEFINITION" -_GTC = "GENERATED_TEST_CASES" -_PS = "POLICY_SCENARIOS" -_FR = "FIDELITY_REPORT" -_AM = "ASSET_MANIFEST" -_SD = "SOURCE_DOCUMENT" -_GARPBWRAI = "GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput" -_cGARPBWRAR = ( - "com.amazonaws.bedrock#GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest" -) -_aTs = "assetType" -_aI = "assetId" -_ARPBRAN = "AutomatedReasoningPolicyBuildResultAssetName" -_ARPBRAME = "AutomatedReasoningPolicyBuildResultAssetManifestEntry" -_aN = "assetName" -_ARPBRAML = "AutomatedReasoningPolicyBuildResultAssetManifestList" -_ARPBRAM = "AutomatedReasoningPolicyBuildResultAssetManifest" -_en = "entries" -_ARPARM = "AutomatedReasoningPolicyAddRuleMutation" -_ru = "rule" -_ARPATM = "AutomatedReasoningPolicyAddTypeMutation" -_ARPAVM = "AutomatedReasoningPolicyAddVariableMutation" -_vari = "variable" -_ARPDRM = "AutomatedReasoningPolicyDeleteRuleMutation" -_ARPDTM = "AutomatedReasoningPolicyDeleteTypeMutation" -_ARPDVM = "AutomatedReasoningPolicyDeleteVariableMutation" -_ARPURM = "AutomatedReasoningPolicyUpdateRuleMutation" -_ARPUTM = "AutomatedReasoningPolicyUpdateTypeMutation" -_ARPUVM = "AutomatedReasoningPolicyUpdateVariableMutation" -_ARPM = "AutomatedReasoningPolicyMutation" -_ARPP = "AutomatedReasoningPolicyPlanning" -_ARPBSC = "AutomatedReasoningPolicyBuildStepContext" -_pl = "planning" -_mu = "mutation" -_ARPBMT = "AutomatedReasoningPolicyBuildMessageType" -_INFO = "INFO" -_WARNING = "WARNING" -_ARPBSM = "AutomatedReasoningPolicyBuildStepMessage" -_mTe = "messageType" -_ARPBSML = "AutomatedReasoningPolicyBuildStepMessageList" -_ARPDE = "AutomatedReasoningPolicyDefinitionElement" -_pDV = "policyDefinitionVariable" -_pDT = "policyDefinitionType" -_pDR = "policyDefinitionRule" -_ARPBS = "AutomatedReasoningPolicyBuildStep" -_cont = "context" -_pE = "priorElement" -_ARPBSL = "AutomatedReasoningPolicyBuildStepList" -_ARPAS = "AutomatedReasoningPolicyAnnotationStatus" -_APPLIED = "APPLIED" -_ARPBLE = "AutomatedReasoningPolicyBuildLogEntry" -_an = "annotation" -_bS = "buildSteps" -_ARPBLEL = "AutomatedReasoningPolicyBuildLogEntryList" -_ARPBL = "AutomatedReasoningPolicyBuildLog" -_ARPBDB = "AutomatedReasoningPolicyBuildDocumentBlob" -_ARPDS = "AutomatedReasoningPolicyDocumentSha256" -_ARPSD = "AutomatedReasoningPolicySourceDocument" -_do = "document" -_dHo = "documentHash" -_ARPASu = "AutomatedReasoningPolicyAccuracyScore" -_ARPCS = "AutomatedReasoningPolicyCoverageScore" -_ARPSI = "AutomatedReasoningPolicyStatementId" -_ARPLNL = "AutomatedReasoningPolicyLineNumberList" -_ARPSL = "AutomatedReasoningPolicyStatementLocation" -_l = "lines" -_ARPST = "AutomatedReasoningPolicyStatementText" -_ARPASut = "AutomatedReasoningPolicyAtomicStatement" -_te = "text" -_lo = "location" -_ARPASL = "AutomatedReasoningPolicyAtomicStatementList" -_ARPLT = "AutomatedReasoningPolicyLineText" -_ARPALu = "AutomatedReasoningPolicyAnnotatedLine" -_lN = "lineNumber" -_lT = "lineText" -_ARPAC = "AutomatedReasoningPolicyAnnotatedContent" -_li = "line" -_ARPACL = "AutomatedReasoningPolicyAnnotatedContentList" -_ARPACu = "AutomatedReasoningPolicyAnnotatedChunk" -_pN = "pageNumber" -_ARPACLu = "AutomatedReasoningPolicyAnnotatedChunkList" -_ARPDI = "AutomatedReasoningPolicyDocumentId" -_ARPRSD = "AutomatedReasoningPolicyReportSourceDocument" -_dI = "documentId" -_aS = "atomicStatements" -_dC = "documentContent" -_ARPRSDL = "AutomatedReasoningPolicyReportSourceDocumentList" -_ARPJT = "AutomatedReasoningPolicyJustificationText" -_ARPJL = "AutomatedReasoningPolicyJustificationList" -_ARPSR = "AutomatedReasoningPolicyStatementReference" -_sI = "statementId" -_ARPSRL = "AutomatedReasoningPolicyStatementReferenceList" -_ARPRR = "AutomatedReasoningPolicyRuleReport" -_gS = "groundingStatements" -_gJ = "groundingJustifications" -_aSc = "accuracyScore" -_aJ = "accuracyJustification" -_ARPRRM = "AutomatedReasoningPolicyRuleReportMap" -_ARPVR = "AutomatedReasoningPolicyVariableReport" -_pV = "policyVariable" -_ARPVRM = "AutomatedReasoningPolicyVariableReportMap" -_ARPFR = "AutomatedReasoningPolicyFidelityReport" -_cS = "coverageScore" -_rR = "ruleReports" -_vR = "variableReports" -_dS = "documentSources" -_ARPGTC = "AutomatedReasoningPolicyGeneratedTestCase" -_ARPGTCL = "AutomatedReasoningPolicyGeneratedTestCaseList" -_ARPGTCu = "AutomatedReasoningPolicyGeneratedTestCases" -_gTC = "generatedTestCases" -_ARPSAE = "AutomatedReasoningPolicyScenarioAlternateExpression" -_ARPS = "AutomatedReasoningPolicyScenario" -_eR = "expectedResult" -_ARPSLu = "AutomatedReasoningPolicyScenarioList" -_ARPSu = "AutomatedReasoningPolicyScenarios" -_pS = "policyScenarios" -_ARPCRIL = "AutomatedReasoningPolicyConflictedRuleIdList" -_ARPDRILu = "AutomatedReasoningPolicyDisjointedRuleIdList" -_ARPDVNL = "AutomatedReasoningPolicyDefinitionVariableNameList" -_ARPDRS = "AutomatedReasoningPolicyDisjointRuleSet" -_ARPDRSL = "AutomatedReasoningPolicyDisjointRuleSetList" -_ARPDTNL = "AutomatedReasoningPolicyDefinitionTypeNameList" -_ARPDTVP = "AutomatedReasoningPolicyDefinitionTypeValuePair" -_tN = "typeName" -_vN = "valueName" -_ARPDTVPL = "AutomatedReasoningPolicyDefinitionTypeValuePairList" -_ARPDQR = "AutomatedReasoningPolicyDefinitionQualityReport" -_tC = "typeCount" -_vC = "variableCount" -_rC = "ruleCount" -_uTn = "unusedTypes" -_uTVn = "unusedTypeValues" -_uVn = "unusedVariables" -_cR = "conflictingRules" -_dRS = "disjointRuleSets" -_ARPBRA = "AutomatedReasoningPolicyBuildResultAssets" -_qR = "qualityReport" -_bL = "buildLog" -_aM = "assetManifest" -_fR = "fidelityReport" -_GARPBWRAO = "GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput" -_cGARPBWRARo = ( - "com.amazonaws.bedrock#GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse" -) -_bWA = "buildWorkflowAssets" -_GARPBWRA = "GetAutomatedReasoningPolicyBuildWorkflowResultAssets" -_GARPNSI = "GetAutomatedReasoningPolicyNextScenarioInput" -_cGARPNSR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyNextScenarioRequest" -_GARPNSO = "GetAutomatedReasoningPolicyNextScenarioOutput" -_cGARPNSRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyNextScenarioResponse" -_sc = "scenario" -_GARPNS = "GetAutomatedReasoningPolicyNextScenario" -_GARPTCI = "GetAutomatedReasoningPolicyTestCaseInput" -_cGARPTCR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyTestCaseRequest" -_ARPTC = "AutomatedReasoningPolicyTestCase" -_GARPTCO = "GetAutomatedReasoningPolicyTestCaseOutput" -_cGARPTCRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyTestCaseResponse" -_tCe = "testCase" -_GARPTC = "GetAutomatedReasoningPolicyTestCase" -_GARPTRI = "GetAutomatedReasoningPolicyTestResultInput" -_cGARPTRR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyTestResultRequest" -_ARCRu = "AutomatedReasoningCheckRule" -_pVA = "policyVersionArn" -_ARCRL = "AutomatedReasoningCheckRuleList" -_ARLSC = "AutomatedReasoningLogicStatementContent" -_ARNLSC = "AutomatedReasoningNaturalLanguageStatementContent" -_ARLS = "AutomatedReasoningLogicStatement" -_log = "logic" -_ARLSL = "AutomatedReasoningLogicStatementList" -_ARCLWT = "AutomatedReasoningCheckLogicWarningType" -_AT = "ALWAYS_TRUE" -_AF = "ALWAYS_FALSE" -_ARCLW = "AutomatedReasoningCheckLogicWarning" -_pr = "premises" -_cl = "claims" -_ARCITR = "AutomatedReasoningCheckInputTextReference" -_ARCITRL = "AutomatedReasoningCheckInputTextReferenceList" -_ARCT = "AutomatedReasoningCheckTranslation" -_uP = "untranslatedPremises" -_uC = "untranslatedClaims" -_conf = "confidence" -_ARCIF = "AutomatedReasoningCheckImpossibleFinding" -_tr = "translation" -_cRo = "contradictingRules" -_lW = "logicWarning" -_ARCIFu = "AutomatedReasoningCheckInvalidFinding" -_ARCNTF = "AutomatedReasoningCheckNoTranslationsFinding" -_ARCS = "AutomatedReasoningCheckScenario" -_sta = "statements" -_ARCSF = "AutomatedReasoningCheckSatisfiableFinding" -_cTS = "claimsTrueScenario" -_cFS = "claimsFalseScenario" -_ARCTCF = "AutomatedReasoningCheckTooComplexFinding" -_ARCDSL = "AutomatedReasoningCheckDifferenceScenarioList" -_ARCTL = "AutomatedReasoningCheckTranslationList" -_ARCTO = "AutomatedReasoningCheckTranslationOption" -_tra = "translations" -_ARCTOL = "AutomatedReasoningCheckTranslationOptionList" -_ARCTAF = "AutomatedReasoningCheckTranslationAmbiguousFinding" -_op = "options" -_dSi = "differenceScenarios" -_ARCVF = "AutomatedReasoningCheckValidFinding" -_sR = "supportingRules" -_ARCF = "AutomatedReasoningCheckFinding" -_val = "valid" -_in = "invalid" -_sa = "satisfiable" -_im = "impossible" -_tA = "translationAmbiguous" -_tCo = "tooComplex" -_nTo = "noTranslations" -_ARCFL = "AutomatedReasoningCheckFindingList" -_ARPTRR = "AutomatedReasoningPolicyTestRunResult" -_PASSED = "PASSED" -_ARPTRS = "AutomatedReasoningPolicyTestRunStatus" -_NS = "NOT_STARTED" -_ARPTR = "AutomatedReasoningPolicyTestResult" -_tRS = "testRunStatus" -_tF = "testFindings" -_tRR = "testRunResult" -_aTFR = "aggregatedTestFindingsResult" -_GARPTRO = "GetAutomatedReasoningPolicyTestResultOutput" -_cGARPTRRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyTestResultResponse" -_tR = "testResult" -_GARPTR = "GetAutomatedReasoningPolicyTestResult" -_LARPI = "ListAutomatedReasoningPoliciesInput" -_cLARPR = "com.amazonaws.bedrock#ListAutomatedReasoningPoliciesRequest" -_ARPSut = "AutomatedReasoningPolicySummary" -_ARPSuto = "AutomatedReasoningPolicySummaries" -_LARPO = "ListAutomatedReasoningPoliciesOutput" -_cLARPRo = "com.amazonaws.bedrock#ListAutomatedReasoningPoliciesResponse" -_aRPS = "automatedReasoningPolicySummaries" -_LARP = "ListAutomatedReasoningPolicies" -_LARPBWI = "ListAutomatedReasoningPolicyBuildWorkflowsInput" -_cLARPBWR = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyBuildWorkflowsRequest" -_ARPBWSu = "AutomatedReasoningPolicyBuildWorkflowSummary" -_ARPBWSut = "AutomatedReasoningPolicyBuildWorkflowSummaries" -_LARPBWO = "ListAutomatedReasoningPolicyBuildWorkflowsOutput" -_cLARPBWRo = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyBuildWorkflowsResponse" -_aRPBWS = "automatedReasoningPolicyBuildWorkflowSummaries" -_LARPBW = "ListAutomatedReasoningPolicyBuildWorkflows" -_LARPTCI = "ListAutomatedReasoningPolicyTestCasesInput" -_cLARPTCR = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyTestCasesRequest" -_ARPTCL = "AutomatedReasoningPolicyTestCaseList" -_LARPTCO = "ListAutomatedReasoningPolicyTestCasesOutput" -_cLARPTCRo = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyTestCasesResponse" -_tCes = "testCases" -_LARPTC = "ListAutomatedReasoningPolicyTestCases" -_LARPTRI = "ListAutomatedReasoningPolicyTestResultsInput" -_cLARPTRR = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyTestResultsRequest" -_ARPTL = "AutomatedReasoningPolicyTestList" -_LARPTRO = "ListAutomatedReasoningPolicyTestResultsOutput" -_cLARPTRRo = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyTestResultsResponse" -_tRe = "testResults" -_LARPTR = "ListAutomatedReasoningPolicyTestResults" -_ARPBWD = "AutomatedReasoningPolicyBuildWorkflowDocument" -_ARPBWDL = "AutomatedReasoningPolicyBuildWorkflowDocumentList" -_ARPGFRDL = "AutomatedReasoningPolicyGenerateFidelityReportDocumentList" -_ARPGFRC = "AutomatedReasoningPolicyGenerateFidelityReportContent" -_doc = "documents" -_ARPIRDL = "AutomatedReasoningPolicyIterativeRefinementDocumentList" -_ARPBF = "AutomatedReasoningPolicyBuildFeedback" -_ARPIRC = "AutomatedReasoningPolicyIterativeRefinementContent" -_ARPBWRC = "AutomatedReasoningPolicyBuildWorkflowRepairContent" -_ARPWTC = "AutomatedReasoningPolicyWorkflowTypeContent" -_pRA = "policyRepairAssets" -_gFRC = "generateFidelityReportContent" -_iRC = "iterativeRefinementContent" -_ARPBWSuto = "AutomatedReasoningPolicyBuildWorkflowSource" -_wC = "workflowContent" -_SARPBWI = "StartAutomatedReasoningPolicyBuildWorkflowInput" -_cSARPBWR = "com.amazonaws.bedrock#StartAutomatedReasoningPolicyBuildWorkflowRequest" -_sH = "smithy.api#httpHeader" -_xact = "x-amz-client-token" -_sC = "sourceContent" -_SARPBWO = "StartAutomatedReasoningPolicyBuildWorkflowOutput" -_cSARPBWRo = "com.amazonaws.bedrock#StartAutomatedReasoningPolicyBuildWorkflowResponse" -_SARPBW = "StartAutomatedReasoningPolicyBuildWorkflow" -_ARPTCIL = "AutomatedReasoningPolicyTestCaseIdList" -_SARPTWI = "StartAutomatedReasoningPolicyTestWorkflowInput" -_cSARPTWR = "com.amazonaws.bedrock#StartAutomatedReasoningPolicyTestWorkflowRequest" -_tCIe = "testCaseIds" -_SARPTWO = "StartAutomatedReasoningPolicyTestWorkflowOutput" -_cSARPTWRo = "com.amazonaws.bedrock#StartAutomatedReasoningPolicyTestWorkflowResponse" -_SARPTW = "StartAutomatedReasoningPolicyTestWorkflow" -_UARPI = "UpdateAutomatedReasoningPolicyInput" -_cUARPR = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyRequest" -_UARPO = "UpdateAutomatedReasoningPolicyOutput" -_cUARPRo = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyResponse" -_UARP = "UpdateAutomatedReasoningPolicy" -_UARPAI = "UpdateAutomatedReasoningPolicyAnnotationsInput" -_cUARPAR = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyAnnotationsRequest" -_lUASH = "lastUpdatedAnnotationSetHash" -_UARPAO = "UpdateAutomatedReasoningPolicyAnnotationsOutput" -_cUARPARo = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyAnnotationsResponse" -_UARPA = "UpdateAutomatedReasoningPolicyAnnotations" -_UARPTCI = "UpdateAutomatedReasoningPolicyTestCaseInput" -_cUARPTCR = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyTestCaseRequest" -_UARPTCO = "UpdateAutomatedReasoningPolicyTestCaseOutput" -_cUARPTCRo = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyTestCaseResponse" -_UARPTC = "UpdateAutomatedReasoningPolicyTestCase" -_RA = "RoleArn" -_ICn = "InstanceCount" -_ITn = "InstanceType" -_SGI = "SecurityGroupId" -_SGIe = "SecurityGroupIds" -_SI = "SubnetId" -_SIu = "SubnetIds" -_VC = "VpcConfig" -_sIu = "subnetIds" -_sGI = "securityGroupIds" -_SME = "SageMakerEndpoint" -_iIC = "initialInstanceCount" -_iTn = "instanceType" -_eRx = "executionRole" -_kEK = "kmsEncryptionKey" -_vp = "vpc" -_EC = "EndpointConfig" -_sM = "sageMaker" -_EN = "EndpointName" -_MSI = "ModelSourceIdentifier" -_CMMEI = "CreateMarketplaceModelEndpointInput" -_cCMMER = "com.amazonaws.bedrock#CreateMarketplaceModelEndpointRequest" -_mSI = "modelSourceIdentifier" -_eC = "endpointConfig" -_aEc = "acceptEula" -_eN = "endpointName" -_Ar = "Arn" -_Sta = "Status" -_REGISTERED = "REGISTERED" -_IE = "INCOMPATIBLE_ENDPOINT" -_MME = "MarketplaceModelEndpoint" -_eA = "endpointArn" -_sMt = "statusMessage" -_eS = "endpointStatus" -_eSM = "endpointStatusMessage" -_CMMEO = "CreateMarketplaceModelEndpointOutput" -_cCMMERo = "com.amazonaws.bedrock#CreateMarketplaceModelEndpointResponse" -_mME = "marketplaceModelEndpoint" -_CMME = "CreateMarketplaceModelEndpoint" -_DMMEI = "DeleteMarketplaceModelEndpointInput" -_cDMMER = "com.amazonaws.bedrock#DeleteMarketplaceModelEndpointRequest" -_DMMEO = "DeleteMarketplaceModelEndpointOutput" -_cDMMERo = "com.amazonaws.bedrock#DeleteMarketplaceModelEndpointResponse" -_DMME = "DeleteMarketplaceModelEndpoint" -_DMMEIe = "DeregisterMarketplaceModelEndpointInput" -_cDMMERom = "com.amazonaws.bedrock#DeregisterMarketplaceModelEndpointRequest" -_DMMEOe = "DeregisterMarketplaceModelEndpointOutput" -_cDMMERoma = "com.amazonaws.bedrock#DeregisterMarketplaceModelEndpointResponse" -_SUE = "ServiceUnavailableException" -_DMMEe = "DeregisterMarketplaceModelEndpoint" -_GMMEI = "GetMarketplaceModelEndpointInput" -_cGMMER = "com.amazonaws.bedrock#GetMarketplaceModelEndpointRequest" -_GMMEO = "GetMarketplaceModelEndpointOutput" -_cGMMERo = "com.amazonaws.bedrock#GetMarketplaceModelEndpointResponse" -_GMME = "GetMarketplaceModelEndpoint" -_LMMEI = "ListMarketplaceModelEndpointsInput" -_cLMMER = "com.amazonaws.bedrock#ListMarketplaceModelEndpointsRequest" -_mSE = "modelSourceEquals" -_MMES = "MarketplaceModelEndpointSummary" -_MMESa = "MarketplaceModelEndpointSummaries" -_LMMEO = "ListMarketplaceModelEndpointsOutput" -_cLMMERo = "com.amazonaws.bedrock#ListMarketplaceModelEndpointsResponse" -_mMEa = "marketplaceModelEndpoints" -_LMME = "ListMarketplaceModelEndpoints" -_RMMEI = "RegisterMarketplaceModelEndpointInput" -_cRMMER = "com.amazonaws.bedrock#RegisterMarketplaceModelEndpointRequest" -_eI = "endpointIdentifier" -_RMMEO = "RegisterMarketplaceModelEndpointOutput" -_cRMMERo = "com.amazonaws.bedrock#RegisterMarketplaceModelEndpointResponse" -_RMME = "RegisterMarketplaceModelEndpoint" -_UMMEI = "UpdateMarketplaceModelEndpointInput" -_cUMMER = "com.amazonaws.bedrock#UpdateMarketplaceModelEndpointRequest" -_UMMEO = "UpdateMarketplaceModelEndpointOutput" -_cUMMERo = "com.amazonaws.bedrock#UpdateMarketplaceModelEndpointResponse" -_UMME = "UpdateMarketplaceModelEndpoint" -_CMDD = "CustomModelDeploymentDescription" -_CMA = "CustomModelArn" -_MDN = "ModelDeploymentName" -_CCMDI = "CreateCustomModelDeploymentInput" -_cCCMDR = "com.amazonaws.bedrock#CreateCustomModelDeploymentRequest" -_mDN = "modelDeploymentName" -_mA = "modelArn" -_CMDA = "CustomModelDeploymentArn" -_CCMDO = "CreateCustomModelDeploymentOutput" -_cCCMDRo = "com.amazonaws.bedrock#CreateCustomModelDeploymentResponse" -_cMDA = "customModelDeploymentArn" -_CCMD = "CreateCustomModelDeployment" -_CMDI = "CustomModelDeploymentIdentifier" -_DCMDI = "DeleteCustomModelDeploymentInput" -_cDCMDR = "com.amazonaws.bedrock#DeleteCustomModelDeploymentRequest" -_cMDI = "customModelDeploymentIdentifier" -_DCMDO = "DeleteCustomModelDeploymentOutput" -_cDCMDRo = "com.amazonaws.bedrock#DeleteCustomModelDeploymentResponse" -_DCMD = "DeleteCustomModelDeployment" -_GCMDI = "GetCustomModelDeploymentInput" -_cGCMDR = "com.amazonaws.bedrock#GetCustomModelDeploymentRequest" -_CMDS = "CustomModelDeploymentStatus" -_CREATING = "CREATING" -_Cr = "Creating" -_ACTIVE = "ACTIVE" -_Ac = "Active" -_MA = "ModelArn" -_CMDUS = "CustomModelDeploymentUpdateStatus" -_UPDATING = "UPDATING" -_U = "Updating" -_UC = "UPDATE_COMPLETED" -_UCp = "UpdateCompleted" -_UF = "UPDATE_FAILED" -_UFp = "UpdateFailed" -_CMDUD = "CustomModelDeploymentUpdateDetails" -_uS = "updateStatus" -_GCMDO = "GetCustomModelDeploymentOutput" -_cGCMDRo = "com.amazonaws.bedrock#GetCustomModelDeploymentResponse" -_uD = "updateDetails" -_GCMD = "GetCustomModelDeployment" -_SMB = "SortModelsBy" -_LCMDI = "ListCustomModelDeploymentsInput" -_cLCMDR = "com.amazonaws.bedrock#ListCustomModelDeploymentsRequest" -_cBr = "createdBefore" -_cAr = "createdAfter" -_nC = "nameContains" -_sEt = "statusEquals" -_mAE = "modelArnEquals" -_CMDSu = "CustomModelDeploymentSummary" -_cMDN = "customModelDeploymentName" -_CMDSL = "CustomModelDeploymentSummaryList" -_LCMDO = "ListCustomModelDeploymentsOutput" -_cLCMDRo = "com.amazonaws.bedrock#ListCustomModelDeploymentsResponse" -_mDS = "modelDeploymentSummaries" -_LCMD = "ListCustomModelDeployments" -_UCMDI = "UpdateCustomModelDeploymentInput" -_cUCMDR = "com.amazonaws.bedrock#UpdateCustomModelDeploymentRequest" -_UCMDO = "UpdateCustomModelDeploymentOutput" -_cUCMDRo = "com.amazonaws.bedrock#UpdateCustomModelDeploymentResponse" -_UCMD = "UpdateCustomModelDeployment" -_MPA = "ModelPackageArn" -_MPADS = "ModelPackageArnDataSource" -_mPA = "modelPackageArn" -_CMDSus = "CustomModelDataSource" -_mPADS = "modelPackageArnDataSource" -_CMN = "CustomModelName" -_SDS = "S3DataSource" -_MDS = "ModelDataSource" -_sDS = "s3DataSource" -_CCMI = "CreateCustomModelInput" -_cCCMR = "com.amazonaws.bedrock#CreateCustomModelRequest" -_mN = "modelName" -_mSC = "modelSourceConfig" -_cMDS = "customModelDataSource" -_mKKA = "modelKmsKeyArn" -_rA = "roleArn" -_mTo = "modelTags" -_CCMO = "CreateCustomModelOutput" -_cCCMRo = "com.amazonaws.bedrock#CreateCustomModelResponse" -_CCM = "CreateCustomModel" -_MI = "ModelIdentifier" -_DCMI = "DeleteCustomModelInput" -_cDCMR = "com.amazonaws.bedrock#DeleteCustomModelRequest" -_mIo = "modelIdentifier" -_DCMO = "DeleteCustomModelOutput" -_cDCMRo = "com.amazonaws.bedrock#DeleteCustomModelResponse" -_DCM = "DeleteCustomModel" -_GCMI = "GetCustomModelInput" -_cGCMR = "com.amazonaws.bedrock#GetCustomModelRequest" -_TMI = "TeacherModelIdentifier" -_TMC = "TeacherModelConfig" -_tMI = "teacherModelIdentifier" -_mRLFI = "maxResponseLengthForInference" -_DC = "DistillationConfig" -_tMC = "teacherModelConfig" -_LA = "LambdaArn" -_LGC = "LambdaGraderConfig" -_lA = "lambdaArn" -_GC = "GraderConfig" -_lG = "lambdaGrader" -_RFTBS = "RFTBatchSize" -_ECp = "EpochCount" -_RFTEI = "RFTEvalInterval" -_RFTIMT = "RFTInferenceMaxTokens" -_RFTLR = "RFTLearningRate" -_RFTMPL = "RFTMaxPromptLength" -_RE = "ReasoningEffort" -_LOW = "LOW" -_low = "low" -_MEDIUM = "MEDIUM" -_med = "medium" -_HIGH = "HIGH" -_h = "high" -_RFTTSPP = "RFTTrainingSamplePerPrompt" -_RFTHP = "RFTHyperParameters" -_eCp = "epochCount" -_bSa = "batchSize" -_lR = "learningRate" -_mPL = "maxPromptLength" -_tSPP = "trainingSamplePerPrompt" -_iMT = "inferenceMaxTokens" -_rE = "reasoningEffort" -_eIv = "evalInterval" -_RFTC = "RFTConfig" -_gCr = "graderConfig" -_hP = "hyperParameters" -_CC = "CustomizationConfig" -_dCi = "distillationConfig" -_rCf = "rftConfig" -_CTu = "CustomizationType" -_FT = "FINE_TUNING" -_CPT = "CONTINUED_PRE_TRAINING" -_DISTILLATION = "DISTILLATION" -_RFT = "REINFORCEMENT_FINE_TUNING" -_IMPORTED = "IMPORTED" -_MCHP = "ModelCustomizationHyperParameters" -_MCJA = "ModelCustomizationJobArn" -_JN = "JobName" -_MS = "ModelStatus" -_ODC = "OutputDataConfig" -_ILS = "InvocationLogSource" -_RMM = "RequestMetadataMap" -_RMBF = "RequestMetadataBaseFilters" -_eq = "equals" -_nE = "notEquals" -_RMFL = "RequestMetadataFiltersList" -_RMF = "RequestMetadataFilters" -_aA = "andAll" -_oA = "orAll" -_UPR = "UsePromptResponse" -_ILC = "InvocationLogsConfig" -_uPR = "usePromptResponse" -_iLS = "invocationLogSource" -_rMF = "requestMetadataFilters" -_TDC = "TrainingDataConfig" -_iLC = "invocationLogsConfig" -_MF = "MetricFloat" -_TM = "TrainingMetrics" -_tL = "trainingLoss" -_V = "Validator" -_Va = "Validators" -_VDC = "ValidationDataConfig" -_vali = "validators" -_VM = "ValidatorMetric" -_vL = "validationLoss" -_VMa = "ValidationMetrics" -_GCMO = "GetCustomModelOutput" -_cGCMRo = "com.amazonaws.bedrock#GetCustomModelResponse" -_bMA = "baseModelArn" -_cTu = "customizationType" -_tDC = "trainingDataConfig" -_vDC = "validationDataConfig" -_oDC = "outputDataConfig" -_tM = "trainingMetrics" -_vM = "validationMetrics" -_cC = "customizationConfig" -_mS = "modelStatus" -_GCM = "GetCustomModel" -_FMA = "FoundationModelArn" -_LCMI = "ListCustomModelsInput" -_cLCMR = "com.amazonaws.bedrock#ListCustomModelsRequest" -_cTB = "creationTimeBefore" -_cTA = "creationTimeAfter" -_bMAE = "baseModelArnEquals" -_fMAE = "foundationModelArnEquals" -_iO = "isOwned" -_MN = "ModelName" -_CMS = "CustomModelSummary" -_bMN = "baseModelName" -_oAI = "ownerAccountId" -_CMSL = "CustomModelSummaryList" -_LCMO = "ListCustomModelsOutput" -_cLCMRo = "com.amazonaws.bedrock#ListCustomModelsResponse" -_mSo = "modelSummaries" -_LCM = "ListCustomModels" -_GADRI = "GetAccountDataRetentionInput" -_cGADRR = "com.amazonaws.bedrock#GetAccountDataRetentionRequest" -_DRM = "DataRetentionMode" -_DEFAULT = "DEFAULT" -_de = "default" -_NONE = "NONE" -_no = "none" -_AR = "AWS_REVIEW" -_ar = "aws_review" -_PDS = "PROVIDER_DATA_SHARE" -_pds = "provider_data_share" -_INHERIT = "INHERIT" -_inh = "inherit" -_GADRO = "GetAccountDataRetentionOutput" -_cGADRRo = "com.amazonaws.bedrock#GetAccountDataRetentionResponse" -_mo = "mode" -_GADR = "GetAccountDataRetention" -_PADRI = "PutAccountDataRetentionInput" -_cPADRR = "com.amazonaws.bedrock#PutAccountDataRetentionRequest" -_PADRO = "PutAccountDataRetentionOutput" -_cPADRRo = "com.amazonaws.bedrock#PutAccountDataRetentionResponse" -_PADR = "PutAccountDataRetention" -_DEGCI = "DeleteEnforcedGuardrailConfigurationInput" -_cDEGCR = "com.amazonaws.bedrock#DeleteEnforcedGuardrailConfigurationRequest" -_DEGCO = "DeleteEnforcedGuardrailConfigurationOutput" -_cDEGCRo = "com.amazonaws.bedrock#DeleteEnforcedGuardrailConfigurationResponse" -_DEGC = "DeleteEnforcedGuardrailConfiguration" -_LEGCI = "ListEnforcedGuardrailsConfigurationInput" -_cLEGCR = "com.amazonaws.bedrock#ListEnforcedGuardrailsConfigurationRequest" -_LEGCO = "ListEnforcedGuardrailsConfigurationOutput" -_cLEGCRo = "com.amazonaws.bedrock#ListEnforcedGuardrailsConfigurationResponse" -_gCu = "guardrailsConfig" -_LEGC = "ListEnforcedGuardrailsConfiguration" -_PEGCI = "PutEnforcedGuardrailConfigurationInput" -_cPEGCR = "com.amazonaws.bedrock#PutEnforcedGuardrailConfigurationRequest" -_gIC = "guardrailInferenceConfig" -_PEGCO = "PutEnforcedGuardrailConfigurationOutput" -_cPEGCRo = "com.amazonaws.bedrock#PutEnforcedGuardrailConfigurationResponse" -_PEGC = "PutEnforcedGuardrailConfiguration" -_EJI = "EvaluationJobIdentifier" -_EJIv = "EvaluationJobIdentifiers" -_BDEJI = "BatchDeleteEvaluationJobInput" -_cBDEJR = "com.amazonaws.bedrock#BatchDeleteEvaluationJobRequest" -_BDEJE = "BatchDeleteEvaluationJobError" -_BDEJEa = "BatchDeleteEvaluationJobErrors" -_EJS = "EvaluationJobStatus" -_BDEJIa = "BatchDeleteEvaluationJobItem" -_BDEJIat = "BatchDeleteEvaluationJobItems" -_BDEJO = "BatchDeleteEvaluationJobOutput" -_cBDEJRo = "com.amazonaws.bedrock#BatchDeleteEvaluationJobResponse" -_eJ = "evaluationJobs" -_BDEJ = "BatchDeleteEvaluationJob" -_ATp = "ApplicationType" -_ME_ = "MODEL_EVALUATION" -_MEo = "ModelEvaluation" -_RE_ = "RAG_EVALUATION" -_REa = "RagEvaluation" -_CMI = "CustomMetricInstructions" -_MNe = "MetricName" -_RSID = "RatingScaleItemDefinition" -_RSIV = "RatingScaleItemValue" -_sVt = "stringValue" -_fV = "floatValue" -_RSI = "RatingScaleItem" -_def = "definition" -_RS = "RatingScale" -_CMD = "CustomMetricDefinition" -_ins = "instructions" -_rS = "ratingScale" -_AECMS = "AutomatedEvaluationCustomMetricSource" -_cMD = "customMetricDefinition" -_AECM = "AutomatedEvaluationCustomMetrics" -_EMIv = "EvaluatorModelIdentifier" -_CMBEM = "CustomMetricBedrockEvaluatorModel" -_CMBEMu = "CustomMetricBedrockEvaluatorModels" -_CMEMC = "CustomMetricEvaluatorModelConfig" -_bEM = "bedrockEvaluatorModels" -_AECMC = "AutomatedEvaluationCustomMetricConfig" -_cM = "customMetrics" -_eMC = "evaluatorModelConfig" -_EDL = "EvaluationDatasetLocation" -_EDN = "EvaluationDatasetName" -_ED = "EvaluationDataset" -_dL = "datasetLocation" -_EMN = "EvaluationMetricName" -_EMNv = "EvaluationMetricNames" -_ETT = "EvaluationTaskType" -_SUMMARIZATION = "SUMMARIZATION" -_Su = "Summarization" -_CLASSIFICATION = "CLASSIFICATION" -_Cl = "Classification" -_QAA = "QUESTION_AND_ANSWER" -_QAAu = "QuestionAndAnswer" -_GENERATION = "GENERATION" -_G = "Generation" -_CUSTOM = "CUSTOM" -_Cu = "Custom" -_EDMC = "EvaluationDatasetMetricConfig" -_tT = "taskType" -_da = "dataset" -_mNe = "metricNames" -_EDMCv = "EvaluationDatasetMetricConfigs" -_BEM = "BedrockEvaluatorModel" -_BEMe = "BedrockEvaluatorModels" -_EMC = "EvaluatorModelConfig" -_AEC = "AutomatedEvaluationConfig" -_dMC = "datasetMetricConfigs" -_cMC = "customMetricConfig" -_EMD = "EvaluationMetricDescription" -_ERM = "EvaluationRatingMethod" -_HECM = "HumanEvaluationCustomMetric" -_rM = "ratingMethod" -_HECMu = "HumanEvaluationCustomMetrics" -_SMFDA = "SageMakerFlowDefinitionArn" -_HTI = "HumanTaskInstructions" -_HWC = "HumanWorkflowConfig" -_fDA = "flowDefinitionArn" -_HEC = "HumanEvaluationConfig" -_hWC = "humanWorkflowConfig" -_ECv = "EvaluationConfig" -_au = "automated" -_hu = "human" -_EMIP = "EvaluationModelInferenceParams" -_EBMI = "EvaluationBedrockModelIdentifier" -_PCL = "PerformanceConfigLatency" -_STANDARD = "STANDARD" -_stan = "standard" -_OPTIMIZED = "OPTIMIZED" -_opt = "optimized" -_PCe = "PerformanceConfiguration" -_la = "latency" -_EBM = "EvaluationBedrockModel" -_iP = "inferenceParams" -_v__ = "{}" -_pC = "performanceConfig" -_EPISI = "EvaluationPrecomputedInferenceSourceIdentifier" -_EPIS = "EvaluationPrecomputedInferenceSource" -_iSI = "inferenceSourceIdentifier" -_EMCv = "EvaluationModelConfig" -_bM = "bedrockModel" -_pIS = "precomputedInferenceSource" -_EMCva = "EvaluationModelConfigs" -_GCu = "GuardrailConfiguration" -_MT = "MaxTokens" -_RAGSS = "RAGStopSequences" -_Te = "Temperature" -_TP = "TopP" -_TIC = "TextInferenceConfig" -_KIC = "KbInferenceConfig" -_tIC = "textInferenceConfig" -_TPT = "TextPromptTemplate" -_PTr = "PromptTemplate" -_tPT = "textPromptTemplate" -_ESGC = "ExternalSourcesGenerationConfiguration" -_pT = "promptTemplate" -_gCua = "guardrailConfiguration" -_kIC = "kbInferenceConfig" -_BMA = "BedrockModelArn" -_CTo = "ContentType" -_BCB = "ByteContentBlob" -_I = "Identifier" -_BCD = "ByteContentDoc" -_id = "identifier" -_cTon = "contentType" -_dat = "data" -_kBSU = "kBS3Uri" -_SOD = "S3ObjectDoc" -_u = "uri" -_EST = "ExternalSourceType" -_S_ = "S3" -_BC = "BYTE_CONTENT" -_ES = "ExternalSource" -_sTo = "sourceType" -_sLo = "s3Location" -_bC = "byteContent" -_ESx = "ExternalSources" -_ESRAGC = "ExternalSourcesRetrieveAndGenerateConfiguration" -_so = "sources" -_gCe = "generationConfiguration" -_GCe = "GenerationConfiguration" -_KBI = "KnowledgeBaseId" -_QTT = "QueryTransformationType" -_QD = "QUERY_DECOMPOSITION" -_QTC = "QueryTransformationConfiguration" -_OC = "OrchestrationConfiguration" -_qTC = "queryTransformationConfiguration" -_FK = "FilterKey" -_FV = "FilterValue" -_FA = "FilterAttribute" -_ATt = "AttributeType" -_STRING = "STRING" -_NUMBER = "NUMBER" -_BOOLEAN = "BOOLEAN" -_SL = "STRING_LIST" -_MAS = "MetadataAttributeSchema" -_MASL = "MetadataAttributeSchemaList" -_IFC = "ImplicitFilterConfiguration" -_mAe = "metadataAttributes" -_ST = "SearchType" -_HYBRID = "HYBRID" -_SEMANTIC = "SEMANTIC" -_RMSM = "RerankingMetadataSelectionMode" -_ALL = "ALL" -_FFR = "FieldForReranking" -_fN = "fieldName" -_FFRi = "FieldsForReranking" -_RMSMC = "RerankingMetadataSelectiveModeConfiguration" -_fTI = "fieldsToInclude" -_fTE = "fieldsToExclude" -_MCFR = "MetadataConfigurationForReranking" -_sMe = "selectionMode" -_sMC = "selectiveModeConfiguration" -_BRMA = "BedrockRerankingModelArn" -_VSBRMC = "VectorSearchBedrockRerankingModelConfiguration" -_VSBRC = "VectorSearchBedrockRerankingConfiguration" -_mCo = "modelConfiguration" -_nORR = "numberOfRerankedResults" -_mCe = "metadataConfiguration" -_VSRCT = "VectorSearchRerankingConfigurationType" -_BRM = "BEDROCK_RERANKING_MODEL" -_VSRC = "VectorSearchRerankingConfiguration" -_bRC = "bedrockRerankingConfiguration" -_RAGT = "RetrieveAndGenerateType" -_KB = "KNOWLEDGE_BASE" -_ES_ = "EXTERNAL_SOURCES" -_EPRSI = "EvaluationPrecomputedRagSourceIdentifier" -_EPRAGSC = "EvaluationPrecomputedRetrieveAndGenerateSourceConfig" -_rSI = "ragSourceIdentifier" -_EPRSC = "EvaluationPrecomputedRetrieveSourceConfig" -_EPRSCv = "EvaluationPrecomputedRagSourceConfig" -_rSC = "retrieveSourceConfig" -_rAGSC = "retrieveAndGenerateSourceConfig" -_EJD = "EvaluationJobDescription" -_EJN = "EvaluationJobName" -_EODC = "EvaluationOutputDataConfig" -_EJA = "EvaluationJobArn" -_CEJO = "CreateEvaluationJobOutput" -_cCEJR = "com.amazonaws.bedrock#CreateEvaluationJobResponse" -_GEJI = "GetEvaluationJobInput" -_cGEJR = "com.amazonaws.bedrock#GetEvaluationJobRequest" -_EMr = "ErrorMessages" -_EJT = "EvaluationJobType" -_HUMAN = "HUMAN" -_H = "Human" -_AUTOMATED = "AUTOMATED" -_Au = "Automated" -_LEJI = "ListEvaluationJobsInput" -_cLEJR = "com.amazonaws.bedrock#ListEvaluationJobsRequest" -_aTE = "applicationTypeEquals" -_EMIva = "EvaluatorModelIdentifiers" -_ETTv = "EvaluationTaskTypes" -_EBMIv = "EvaluationBedrockModelIdentifiers" -_EPISIv = "EvaluationPrecomputedInferenceSourceIdentifiers" -_EMCS = "EvaluationModelConfigSummary" -_bMI = "bedrockModelIdentifiers" -_pISI = "precomputedInferenceSourceIdentifiers" -_EBKBI = "EvaluationBedrockKnowledgeBaseIdentifiers" -_EPRSIv = "EvaluationPrecomputedRagSourceIdentifiers" -_ERCS = "EvaluationRagConfigSummary" -_bKBI = "bedrockKnowledgeBaseIdentifiers" -_pRSI = "precomputedRagSourceIdentifiers" -_EICS = "EvaluationInferenceConfigSummary" -_mCS = "modelConfigSummary" -_rCS = "ragConfigSummary" -_ESv = "EvaluationSummary" -_jT = "jobType" -_eTT = "evaluationTaskTypes" -_mIod = "modelIdentifiers" -_rIa = "ragIdentifiers" -_eMI = "evaluatorModelIdentifiers" -_cMEMI = "customMetricsEvaluatorModelIdentifiers" -_iCS = "inferenceConfigSummary" -_aTp = "applicationType" -_ESva = "EvaluationSummaries" -_LEJO = "ListEvaluationJobsOutput" -_cLEJRo = "com.amazonaws.bedrock#ListEvaluationJobsResponse" -_LEJ = "ListEvaluationJobs" -_SEJI = "StopEvaluationJobInput" -_cSEJR = "com.amazonaws.bedrock#StopEvaluationJobRequest" -_SEJO = "StopEvaluationJobOutput" -_cSEJRo = "com.amazonaws.bedrock#StopEvaluationJobResponse" -_SEJ = "StopEvaluationJob" -_ARCFT = "AutomatedReasoningConfidenceFilterThreshold" -_ARPALut = "AutomatedReasoningPolicyArnList" -_GARPC = "GuardrailAutomatedReasoningPolicyConfig" -_po = "policies" -_GBM = "GuardrailBlockedMessaging" -_GCFA = "GuardrailContentFilterAction" -_BLOCK = "BLOCK" -_GM = "GuardrailModality" -_IMAGE = "IMAGE" -_GMu = "GuardrailModalities" -_GFS = "GuardrailFilterStrength" -_GCFT = "GuardrailContentFilterType" -_SEXUAL = "SEXUAL" -_VIOLENCE = "VIOLENCE" -_HATE = "HATE" -_INSULTS = "INSULTS" -_MISCONDUCT = "MISCONDUCT" -_PA = "PROMPT_ATTACK" -_GCFC = "GuardrailContentFilterConfig" -_iS = "inputStrength" -_oS = "outputStrength" -_iMn = "inputModalities" -_oM = "outputModalities" -_iA = "inputAction" -_oAu = "outputAction" -_iE = "inputEnabled" -_oE = "outputEnabled" -_GCFCu = "GuardrailContentFiltersConfig" -_GCFTN = "GuardrailContentFiltersTierName" -_CLASSIC = "CLASSIC" -_GCFTC = "GuardrailContentFiltersTierConfig" -_tNi = "tierName" -_GCPC = "GuardrailContentPolicyConfig" -_fC = "filtersConfig" -_tCi = "tierConfig" -_GCGA = "GuardrailContextualGroundingAction" -_GCGFT = "GuardrailContextualGroundingFilterType" -_GROUNDING = "GROUNDING" -_RELEVANCE = "RELEVANCE" -_GCGFC = "GuardrailContextualGroundingFilterConfig" -_th = "threshold" -_ac = "action" -_ena = "enabled" -_GCGFCu = "GuardrailContextualGroundingFiltersConfig" -_GCGTN = "GuardrailContextualGroundingTierName" -_GCGTC = "GuardrailContextualGroundingTierConfig" -_GCGPC = "GuardrailContextualGroundingPolicyConfig" -_GCRGPI = "GuardrailCrossRegionGuardrailProfileIdentifier" -_GCRC = "GuardrailCrossRegionConfig" -_gPI = "guardrailProfileIdentifier" -_GD = "GuardrailDescription" -_GN = "GuardrailName" -_GSIA = "GuardrailSensitiveInformationAction" -_ANONYMIZE = "ANONYMIZE" -_GPET = "GuardrailPiiEntityType" -_ADDRESS = "ADDRESS" -_AGE = "AGE" -_AAK = "AWS_ACCESS_KEY" -_ASK = "AWS_SECRET_KEY" -_CHN = "CA_HEALTH_NUMBER" -_CSIN = "CA_SOCIAL_INSURANCE_NUMBER" -_CDCC = "CREDIT_DEBIT_CARD_CVV" -_CDCE = "CREDIT_DEBIT_CARD_EXPIRY" -_CDCN = "CREDIT_DEBIT_CARD_NUMBER" -_DI = "DRIVER_ID" -_EMAIL = "EMAIL" -_IBAN = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" -_IA = "IP_ADDRESS" -_LP = "LICENSE_PLATE" -_MA_ = "MAC_ADDRESS" -_NAME = "NAME" -_PASSWORD = "PASSWORD" -_PHONE = "PHONE" -_PIN = "PIN" -_SC = "SWIFT_CODE" -_UNHSN = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" -_UNIN = "UK_NATIONAL_INSURANCE_NUMBER" -_UUTRN = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" -_URL = "URL" -_USERNAME = "USERNAME" -_UBAN = "US_BANK_ACCOUNT_NUMBER" -_UBRN = "US_BANK_ROUTING_NUMBER" -_UITIN = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" -_UPN = "US_PASSPORT_NUMBER" -_USSN = "US_SOCIAL_SECURITY_NUMBER" -_VIN = "VEHICLE_IDENTIFICATION_NUMBER" -_GPEC = "GuardrailPiiEntityConfig" -_GPECu = "GuardrailPiiEntitiesConfig" -_GRC = "GuardrailRegexConfig" -_pa = "pattern" -_GRCu = "GuardrailRegexesConfig" -_GSIPC = "GuardrailSensitiveInformationPolicyConfig" -_pEC = "piiEntitiesConfig" -_rCe = "regexesConfig" -_GTTN = "GuardrailTopicsTierName" -_GTTC = "GuardrailTopicsTierConfig" -_GTD = "GuardrailTopicDefinition" -_GTE = "GuardrailTopicExample" -_GTEu = "GuardrailTopicExamples" -_GTA = "GuardrailTopicAction" -_GTN = "GuardrailTopicName" -_GTT = "GuardrailTopicType" -_DENY = "DENY" -_GTCu = "GuardrailTopicConfig" -_exa = "examples" -_GTCua = "GuardrailTopicsConfig" -_GTPC = "GuardrailTopicPolicyConfig" -_tCop = "topicsConfig" -_GWA = "GuardrailWordAction" -_GMWT = "GuardrailManagedWordsType" -_PROFANITY = "PROFANITY" -_GMWC = "GuardrailManagedWordsConfig" -_GMWLC = "GuardrailManagedWordListsConfig" -_GWC = "GuardrailWordConfig" -_GWCu = "GuardrailWordsConfig" -_GWPC = "GuardrailWordPolicyConfig" -_wCo = "wordsConfig" -_mWLC = "managedWordListsConfig" -_CGI = "CreateGuardrailInput" -_cCGR = "com.amazonaws.bedrock#CreateGuardrailRequest" -_tPC = "topicPolicyConfig" -_cPC = "contentPolicyConfig" -_wPC = "wordPolicyConfig" -_sIPC = "sensitiveInformationPolicyConfig" -_cGPC = "contextualGroundingPolicyConfig" -_aRPC = "automatedReasoningPolicyConfig" -_cRC = "crossRegionConfig" -_bIM = "blockedInputMessaging" -_bOM = "blockedOutputsMessaging" -_GDV = "GuardrailDraftVersion" -_CGO = "CreateGuardrailOutput" -_cCGRo = "com.amazonaws.bedrock#CreateGuardrailResponse" -_CG = "CreateGuardrail" -_CGVI = "CreateGuardrailVersionInput" -_cCGVR = "com.amazonaws.bedrock#CreateGuardrailVersionRequest" -_CGVO = "CreateGuardrailVersionOutput" -_cCGVRo = "com.amazonaws.bedrock#CreateGuardrailVersionResponse" -_CGV = "CreateGuardrailVersion" -_DGI = "DeleteGuardrailInput" -_cDGR = "com.amazonaws.bedrock#DeleteGuardrailRequest" -_DGO = "DeleteGuardrailOutput" -_cDGRo = "com.amazonaws.bedrock#DeleteGuardrailResponse" -_DG = "DeleteGuardrail" -_GV = "GuardrailVersion" -_GGI = "GetGuardrailInput" -_cGGR = "com.amazonaws.bedrock#GetGuardrailRequest" -_GARPu = "GuardrailAutomatedReasoningPolicy" -_GCF = "GuardrailContentFilter" -_GCFu = "GuardrailContentFilters" -_GCFTu = "GuardrailContentFiltersTier" -_GCP = "GuardrailContentPolicy" -_fi = "filters" -_ti = "tier" -_GCGF = "GuardrailContextualGroundingFilter" -_GCGFu = "GuardrailContextualGroundingFilters" -_GCGT = "GuardrailContextualGroundingTier" -_GCGP = "GuardrailContextualGroundingPolicy" -_GCRGPA = "GuardrailCrossRegionGuardrailProfileArn" -_GCRGPIu = "GuardrailCrossRegionGuardrailProfileId" -_GCRD = "GuardrailCrossRegionDetails" -_gPIu = "guardrailProfileId" -_gPA = "guardrailProfileArn" -_GFRu = "GuardrailFailureRecommendation" -_GFRua = "GuardrailFailureRecommendations" -_GPE = "GuardrailPiiEntity" -_GPEu = "GuardrailPiiEntities" -_GR = "GuardrailRegex" -_GRu = "GuardrailRegexes" -_GSIP = "GuardrailSensitiveInformationPolicy" -_pEi = "piiEntities" -_re = "regexes" -_GS = "GuardrailStatus" -_VERSIONING = "VERSIONING" -_READY = "READY" -_GSR = "GuardrailStatusReason" -_GSRu = "GuardrailStatusReasons" -_GTTu = "GuardrailTopicsTier" -_GT = "GuardrailTopic" -_GTu = "GuardrailTopics" -_GTP = "GuardrailTopicPolicy" -_to = "topics" -_GMW = "GuardrailManagedWords" -_GMWL = "GuardrailManagedWordLists" -_GW = "GuardrailWord" -_GWu = "GuardrailWords" -_GWP = "GuardrailWordPolicy" -_w = "words" -_mWL = "managedWordLists" -_GGO = "GetGuardrailOutput" -_cGGRo = "com.amazonaws.bedrock#GetGuardrailResponse" -_tPo = "topicPolicy" -_cP = "contentPolicy" -_wP = "wordPolicy" -_sIP = "sensitiveInformationPolicy" -_cGP = "contextualGroundingPolicy" -_aRP = "automatedReasoningPolicy" -_cRD = "crossRegionDetails" -_sRt = "statusReasons" -_fRa = "failureRecommendations" -_GG = "GetGuardrail" -_LGI = "ListGuardrailsInput" -_cLGR = "com.amazonaws.bedrock#ListGuardrailsRequest" -_GSu = "GuardrailSummary" -_arn = "arn" -_GSua = "GuardrailSummaries" -_LGO = "ListGuardrailsOutput" -_cLGRo = "com.amazonaws.bedrock#ListGuardrailsResponse" -_g = "guardrails" -_LG = "ListGuardrails" -_UGI = "UpdateGuardrailInput" -_cUGR = "com.amazonaws.bedrock#UpdateGuardrailRequest" -_UGO = "UpdateGuardrailOutput" -_cUGRo = "com.amazonaws.bedrock#UpdateGuardrailResponse" -_UG = "UpdateGuardrail" -_IPD = "InferenceProfileDescription" -_IPN = "InferenceProfileName" -_IPMSA = "InferenceProfileModelSourceArn" -_IPMS = "InferenceProfileModelSource" -_cF = "copyFrom" -_CIPI = "CreateInferenceProfileInput" -_cCIPR = "com.amazonaws.bedrock#CreateInferenceProfileRequest" -_iPN = "inferenceProfileName" -_mSod = "modelSource" -_IPA = "InferenceProfileArn" -_IPS = "InferenceProfileStatus" -_CIPO = "CreateInferenceProfileOutput" -_cCIPRo = "com.amazonaws.bedrock#CreateInferenceProfileResponse" -_iPA = "inferenceProfileArn" -_CIP = "CreateInferenceProfile" -_IPI = "InferenceProfileIdentifier" -_DIPI = "DeleteInferenceProfileInput" -_cDIPR = "com.amazonaws.bedrock#DeleteInferenceProfileRequest" -_iPI = "inferenceProfileIdentifier" -_DIPO = "DeleteInferenceProfileOutput" -_cDIPRo = "com.amazonaws.bedrock#DeleteInferenceProfileResponse" -_DIP = "DeleteInferenceProfile" -_GIPI = "GetInferenceProfileInput" -_cGIPR = "com.amazonaws.bedrock#GetInferenceProfileRequest" -_IPIn = "InferenceProfileId" -_IPM = "InferenceProfileModel" -_IPMn = "InferenceProfileModels" -_IPT = "InferenceProfileType" -_SD_ = "SYSTEM_DEFINED" -_APPLICATION = "APPLICATION" -_GIPO = "GetInferenceProfileOutput" -_cGIPRo = "com.amazonaws.bedrock#GetInferenceProfileResponse" -_mod = "models" -_iPIn = "inferenceProfileId" -_GIP = "GetInferenceProfile" -_LIPI = "ListInferenceProfilesInput" -_cLIPR = "com.amazonaws.bedrock#ListInferenceProfilesRequest" -_tE = "typeEquals" -_IPSn = "InferenceProfileSummary" -_IPSnf = "InferenceProfileSummaries" -_LIPO = "ListInferenceProfilesOutput" -_cLIPRo = "com.amazonaws.bedrock#ListInferenceProfilesResponse" -_iPS = "inferenceProfileSummaries" -_LIP = "ListInferenceProfiles" -_DMILCI = "DeleteModelInvocationLoggingConfigurationInput" -_cDMILCR = "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationRequest" -_DMILCO = "DeleteModelInvocationLoggingConfigurationOutput" -_cDMILCRo = "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationResponse" -_DMILC = "DeleteModelInvocationLoggingConfiguration" -_GMILCI = "GetModelInvocationLoggingConfigurationInput" -_cGMILCR = "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationRequest" -_BN = "BucketName" -_KP = "KeyPrefix" -_SCo = "S3Config" -_bN = "bucketName" -_kP = "keyPrefix" -_LGN = "LogGroupName" -_CWC = "CloudWatchConfig" -_lGN = "logGroupName" -_lDDSC = "largeDataDeliveryS3Config" -_LC = "LoggingConfig" -_cWC = "cloudWatchConfig" -_sCo = "s3Config" -_tDDE = "textDataDeliveryEnabled" -_iDDE = "imageDataDeliveryEnabled" -_eDDE = "embeddingDataDeliveryEnabled" -_vDDE = "videoDataDeliveryEnabled" -_aDDE = "audioDataDeliveryEnabled" -_GMILCO = "GetModelInvocationLoggingConfigurationOutput" -_cGMILCRo = "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationResponse" -_lC = "loggingConfig" -_GMILC = "GetModelInvocationLoggingConfiguration" -_PMILCI = "PutModelInvocationLoggingConfigurationInput" -_cPMILCR = "com.amazonaws.bedrock#PutModelInvocationLoggingConfigurationRequest" -_PMILCO = "PutModelInvocationLoggingConfigurationOutput" -_cPMILCRo = "com.amazonaws.bedrock#PutModelInvocationLoggingConfigurationResponse" -_PMILC = "PutModelInvocationLoggingConfiguration" -_CMCJI = "CreateModelCopyJobInput" -_cCMCJR = "com.amazonaws.bedrock#CreateModelCopyJobRequest" -_sMA = "sourceModelArn" -_tMN = "targetModelName" -_mKKI = "modelKmsKeyId" -_tMT = "targetModelTags" -_MCJAo = "ModelCopyJobArn" -_CMCJO = "CreateModelCopyJobOutput" -_cCMCJRo = "com.amazonaws.bedrock#CreateModelCopyJobResponse" -_CMCJ = "CreateModelCopyJob" -_GMCJI = "GetModelCopyJobInput" -_cGMCJR = "com.amazonaws.bedrock#GetModelCopyJobRequest" -_MCJS = "ModelCopyJobStatus" -_GMCJO = "GetModelCopyJobOutput" -_cGMCJRo = "com.amazonaws.bedrock#GetModelCopyJobResponse" -_tMA = "targetModelArn" -_sAI = "sourceAccountId" -_tMKKA = "targetModelKmsKeyArn" -_sMN = "sourceModelName" -_GMCJ = "GetModelCopyJob" -_LMCJI = "ListModelCopyJobsInput" -_cLMCJR = "com.amazonaws.bedrock#ListModelCopyJobsRequest" -_sAE = "sourceAccountEquals" -_sMAE = "sourceModelArnEquals" -_tMNC = "targetModelNameContains" -_oMNC = "outputModelNameContains" -_MCJSo = "ModelCopyJobSummary" -_MCJSod = "ModelCopyJobSummaries" -_LMCJO = "ListModelCopyJobsOutput" -_cLMCJRo = "com.amazonaws.bedrock#ListModelCopyJobsResponse" -_mCJS = "modelCopyJobSummaries" -_LMCJ = "ListModelCopyJobs" -_IMN = "ImportedModelName" -_CMIJI = "CreateModelImportJobInput" -_cCMIJR = "com.amazonaws.bedrock#CreateModelImportJobRequest" -_iMN = "importedModelName" -_mDSo = "modelDataSource" -_jTo = "jobTags" -_iMTm = "importedModelTags" -_vCp = "vpcConfig" -_iMKKI = "importedModelKmsKeyId" -_MIJA = "ModelImportJobArn" -_CMIJO = "CreateModelImportJobOutput" -_cCMIJRo = "com.amazonaws.bedrock#CreateModelImportJobResponse" -_CMIJ = "CreateModelImportJob" -_IMIm = "ImportedModelIdentifier" -_DIMI = "DeleteImportedModelInput" -_cDIMR = "com.amazonaws.bedrock#DeleteImportedModelRequest" -_DIMO = "DeleteImportedModelOutput" -_cDIMRo = "com.amazonaws.bedrock#DeleteImportedModelResponse" -_DIM = "DeleteImportedModel" -_GIMI = "GetImportedModelInput" -_cGIMR = "com.amazonaws.bedrock#GetImportedModelRequest" -_CMUV = "CustomModelUnitsVersion" -_CMU = "CustomModelUnits" -_cMUPMC = "customModelUnitsPerModelCopy" -_cMUV = "customModelUnitsVersion" -_IS = "InstructSupported" -_IMA = "ImportedModelArn" -_GIMO = "GetImportedModelOutput" -_cGIMRo = "com.amazonaws.bedrock#GetImportedModelResponse" -_mAo = "modelArchitecture" -_iSn = "instructSupported" -_cMU = "customModelUnits" -_GIM = "GetImportedModel" -_MIJI = "ModelImportJobIdentifier" -_GMIJI = "GetModelImportJobInput" -_cGMIJR = "com.amazonaws.bedrock#GetModelImportJobRequest" -_MIJS = "ModelImportJobStatus" -_GMIJO = "GetModelImportJobOutput" -_cGMIJRo = "com.amazonaws.bedrock#GetModelImportJobResponse" -_iMA = "importedModelArn" -_eT = "endTime" -_iMKKA = "importedModelKmsKeyArn" -_GMIJ = "GetModelImportJob" -_LIMI = "ListImportedModelsInput" -_cLIMR = "com.amazonaws.bedrock#ListImportedModelsRequest" -_MAo = "ModelArchitecture" -_IMS = "ImportedModelSummary" -_IMSL = "ImportedModelSummaryList" -_LIMO = "ListImportedModelsOutput" -_cLIMRo = "com.amazonaws.bedrock#ListImportedModelsResponse" -_LIM = "ListImportedModels" -_LMIJI = "ListModelImportJobsInput" -_cLMIJR = "com.amazonaws.bedrock#ListModelImportJobsRequest" -_MIJSo = "ModelImportJobSummary" -_MIJSod = "ModelImportJobSummaries" -_LMIJO = "ListModelImportJobsOutput" -_cLMIJRo = "com.amazonaws.bedrock#ListModelImportJobsResponse" -_mIJS = "modelImportJobSummaries" -_LMIJ = "ListModelImportJobs" -_MIIT = "ModelInvocationIdempotencyToken" -_SIF = "S3InputFormat" -_JSONL = "JSONL" -_MIJSIDC = "ModelInvocationJobS3InputDataConfig" -_sIF = "s3InputFormat" -_sBO = "s3BucketOwner" -_MIJIDC = "ModelInvocationJobInputDataConfig" -_sIDC = "s3InputDataConfig" -_MIJN = "ModelInvocationJobName" -_MIo = "ModelId" -_MIT = "ModelInvocationType" -_IM = "InvokeModel" -_Co = "Converse" -_MIJSODC = "ModelInvocationJobS3OutputDataConfig" -_sEKI = "s3EncryptionKeyId" -_MIJODC = "ModelInvocationJobOutputDataConfig" -_sODC = "s3OutputDataConfig" -_MIJTDIH = "ModelInvocationJobTimeoutDurationInHours" -_CMIJIr = "CreateModelInvocationJobInput" -_cCMIJRom = "com.amazonaws.bedrock#CreateModelInvocationJobRequest" -_iDC = "inputDataConfig" -_tDIH = "timeoutDurationInHours" -_mIT = "modelInvocationType" -_MIJAo = "ModelInvocationJobArn" -_CMIJOr = "CreateModelInvocationJobOutput" -_cCMIJRoma = "com.amazonaws.bedrock#CreateModelInvocationJobResponse" -_CMIJr = "CreateModelInvocationJob" -_MIJIo = "ModelInvocationJobIdentifier" -_GMIJIe = "GetModelInvocationJobInput" -_cGMIJRom = "com.amazonaws.bedrock#GetModelInvocationJobRequest" -_NNL = "NonNegativeLong" -_M = "Message" -_MIJSode = "ModelInvocationJobStatus" -_SUBMITTED = "SUBMITTED" -_Sub = "Submitted" -_EXPIRED = "EXPIRED" -_E = "Expired" -_VALIDATING = "VALIDATING" -_Val = "Validating" -_Sc = "Scheduled" -_GMIJOe = "GetModelInvocationJobOutput" -_cGMIJRoma = "com.amazonaws.bedrock#GetModelInvocationJobResponse" -_sTu = "submitTime" -_jET = "jobExpirationTime" -_tRC = "totalRecordCount" -_pRC = "processedRecordCount" -_sRC = "successRecordCount" -_eRC = "errorRecordCount" -_GMIJe = "GetModelInvocationJob" -_LMIJIi = "ListModelInvocationJobsInput" -_cLMIJRom = "com.amazonaws.bedrock#ListModelInvocationJobsRequest" -_sTA = "submitTimeAfter" -_sTB = "submitTimeBefore" -_MIJSodel = "ModelInvocationJobSummary" -_MIJSodeln = "ModelInvocationJobSummaries" -_LMIJOi = "ListModelInvocationJobsOutput" -_cLMIJRoma = "com.amazonaws.bedrock#ListModelInvocationJobsResponse" -_iJS = "invocationJobSummaries" -_LMIJi = "ListModelInvocationJobs" -_SMIJI = "StopModelInvocationJobInput" -_cSMIJR = "com.amazonaws.bedrock#StopModelInvocationJobRequest" -_SMIJO = "StopModelInvocationJobOutput" -_cSMIJRo = "com.amazonaws.bedrock#StopModelInvocationJobResponse" -_SMIJ = "StopModelInvocationJob" -_GFMI = "GetFoundationModelIdentifier" -_GFMIe = "GetFoundationModelInput" -_cGFMR = "com.amazonaws.bedrock#GetFoundationModelRequest" -_MCod = "ModelCustomization" -_MCL = "ModelCustomizationList" -_ITnf = "InferenceType" -_OD = "ON_DEMAND" -_PROVISIONED = "PROVISIONED" -_ITL = "InferenceTypeList" -_MM = "ModelModality" -_EMBEDDING = "EMBEDDING" -_MML = "ModelModalityList" -_BMI = "BedrockModelId" -_FMLS = "FoundationModelLifecycleStatus" -_LEGACY = "LEGACY" -_FML = "FoundationModelLifecycle" -_sOLT = "startOfLifeTime" -_eOLT = "endOfLifeTime" -_lTe = "legacyTime" -_pEAT = "publicExtendedAccessTime" -_BNr = "BrandedName" -_FMD = "FoundationModelDetails" -_pNr = "providerName" -_rSS = "responseStreamingSupported" -_cSu = "customizationsSupported" -_iTS = "inferenceTypesSupported" -_mL = "modelLifecycle" -_GFMO = "GetFoundationModelOutput" -_cGFMRo = "com.amazonaws.bedrock#GetFoundationModelResponse" -_mD = "modelDetails" -_GFM = "GetFoundationModel" -_P = "Provider" -_LFMI = "ListFoundationModelsInput" -_cLFMR = "com.amazonaws.bedrock#ListFoundationModelsRequest" -_bP = "byProvider" -_bCT = "byCustomizationType" -_bOMy = "byOutputModality" -_bIT = "byInferenceType" -_FMS = "FoundationModelSummary" -_FMSL = "FoundationModelSummaryList" -_LFMO = "ListFoundationModelsOutput" -_cLFMRo = "com.amazonaws.bedrock#ListFoundationModelsResponse" -_LFM = "ListFoundationModels" -_PRD = "PromptRouterDescription" -_PRTMA = "PromptRouterTargetModelArn" -_PRTM = "PromptRouterTargetModel" -_PRTMr = "PromptRouterTargetModels" -_PRN = "PromptRouterName" -_RC = "RoutingCriteria" -_rQD = "responseQualityDifference" -_CPRI = "CreatePromptRouterInput" -_cCPRR = "com.amazonaws.bedrock#CreatePromptRouterRequest" -_pRN = "promptRouterName" -_rCo = "routingCriteria" -_fMa = "fallbackModel" -_PRA = "PromptRouterArn" -_CPRO = "CreatePromptRouterOutput" -_cCPRRo = "com.amazonaws.bedrock#CreatePromptRouterResponse" -_pRAr = "promptRouterArn" -_CPR = "CreatePromptRouter" -_DPRI = "DeletePromptRouterInput" -_cDPRR = "com.amazonaws.bedrock#DeletePromptRouterRequest" -_DPRO = "DeletePromptRouterOutput" -_cDPRRo = "com.amazonaws.bedrock#DeletePromptRouterResponse" -_DPR = "DeletePromptRouter" -_GPRI = "GetPromptRouterInput" -_cGPRR = "com.amazonaws.bedrock#GetPromptRouterRequest" -_PRS = "PromptRouterStatus" -_PRT = "PromptRouterType" -_cu = "custom" -_GPRO = "GetPromptRouterOutput" -_cGPRRo = "com.amazonaws.bedrock#GetPromptRouterResponse" -_GPR = "GetPromptRouter" -_LPRI = "ListPromptRoutersInput" -_cLPRR = "com.amazonaws.bedrock#ListPromptRoutersRequest" -_PRSr = "PromptRouterSummary" -_PRSro = "PromptRouterSummaries" -_LPRO = "ListPromptRoutersOutput" -_cLPRRo = "com.amazonaws.bedrock#ListPromptRoutersResponse" -_pRS = "promptRouterSummaries" -_LPR = "ListPromptRouters" -_CD = "CommitmentDuration" -_OM = "ONE_MONTH" -_OMn = "OneMonth" -_SM = "SIX_MONTHS" -_SMi = "SixMonths" -_PI = "PositiveInteger" -_PMN = "ProvisionedModelName" -_CPMTI = "CreateProvisionedModelThroughputInput" -_cCPMTR = "com.amazonaws.bedrock#CreateProvisionedModelThroughputRequest" -_mU = "modelUnits" -_pMN = "provisionedModelName" -_cD = "commitmentDuration" -_PMA = "ProvisionedModelArn" -_CPMTO = "CreateProvisionedModelThroughputOutput" -_cCPMTRo = "com.amazonaws.bedrock#CreateProvisionedModelThroughputResponse" -_pMA = "provisionedModelArn" -_CPMT = "CreateProvisionedModelThroughput" -_PMI = "ProvisionedModelId" -_DPMTI = "DeleteProvisionedModelThroughputInput" -_cDPMTR = "com.amazonaws.bedrock#DeleteProvisionedModelThroughputRequest" -_pMI = "provisionedModelId" -_DPMTO = "DeleteProvisionedModelThroughputOutput" -_cDPMTRo = "com.amazonaws.bedrock#DeleteProvisionedModelThroughputResponse" -_DPMT = "DeleteProvisionedModelThroughput" -_GPMTI = "GetProvisionedModelThroughputInput" -_cGPMTR = "com.amazonaws.bedrock#GetProvisionedModelThroughputRequest" -_PMS = "ProvisionedModelStatus" -_IS_ = "IN_SERVICE" -_ISn = "InService" -_GPMTO = "GetProvisionedModelThroughputOutput" -_cGPMTRo = "com.amazonaws.bedrock#GetProvisionedModelThroughputResponse" -_dMU = "desiredModelUnits" -_dMA = "desiredModelArn" -_fMA = "foundationModelArn" -_cET = "commitmentExpirationTime" -_GPMT = "GetProvisionedModelThroughput" -_SBPM = "SortByProvisionedModels" -_LPMTI = "ListProvisionedModelThroughputsInput" -_cLPMTR = "com.amazonaws.bedrock#ListProvisionedModelThroughputsRequest" -_PMSr = "ProvisionedModelSummary" -_PMSro = "ProvisionedModelSummaries" -_LPMTO = "ListProvisionedModelThroughputsOutput" -_cLPMTRo = "com.amazonaws.bedrock#ListProvisionedModelThroughputsResponse" -_pMS = "provisionedModelSummaries" -_LPMT = "ListProvisionedModelThroughputs" -_UPMTI = "UpdateProvisionedModelThroughputInput" -_cUPMTR = "com.amazonaws.bedrock#UpdateProvisionedModelThroughputRequest" -_dPMN = "desiredProvisionedModelName" -_dMI = "desiredModelId" -_UPMTO = "UpdateProvisionedModelThroughputOutput" -_cUPMTRo = "com.amazonaws.bedrock#UpdateProvisionedModelThroughputResponse" -_UPMT = "UpdateProvisionedModelThroughput" -_RPRA = "ResourcePolicyResourceArn" -_DRPI = "DeleteResourcePolicyInput" -_cDRPR = "com.amazonaws.bedrock#DeleteResourcePolicyRequest" -_rAe = "resourceArn" -_DRPO = "DeleteResourcePolicyOutput" -_cDRPRo = "com.amazonaws.bedrock#DeleteResourcePolicyResponse" -_DRP = "DeleteResourcePolicy" -_GRPI = "GetResourcePolicyInput" -_cGRPR = "com.amazonaws.bedrock#GetResourcePolicyRequest" -_RPD = "ResourcePolicyDocument" -_GRPO = "GetResourcePolicyOutput" -_cGRPRo = "com.amazonaws.bedrock#GetResourcePolicyResponse" -_rP = "resourcePolicy" -_GRP = "GetResourcePolicy" -_PRPI = "PutResourcePolicyInput" -_cPRPR = "com.amazonaws.bedrock#PutResourcePolicyRequest" -_PRPO = "PutResourcePolicyOutput" -_cPRPRo = "com.amazonaws.bedrock#PutResourcePolicyResponse" -_PRP = "PutResourcePolicy" -_OT = "OfferToken" -_CFMAI = "CreateFoundationModelAgreementInput" -_cCFMAR = "com.amazonaws.bedrock#CreateFoundationModelAgreementRequest" -_oT = "offerToken" -_CFMAO = "CreateFoundationModelAgreementOutput" -_cCFMARo = "com.amazonaws.bedrock#CreateFoundationModelAgreementResponse" -_CFMA = "CreateFoundationModelAgreement" -_DFMAI = "DeleteFoundationModelAgreementInput" -_cDFMAR = "com.amazonaws.bedrock#DeleteFoundationModelAgreementRequest" -_DFMAO = "DeleteFoundationModelAgreementOutput" -_cDFMARo = "com.amazonaws.bedrock#DeleteFoundationModelAgreementResponse" -_DFMA = "DeleteFoundationModelAgreement" -_GFMAI = "GetFoundationModelAvailabilityInput" -_cGFMAR = "com.amazonaws.bedrock#GetFoundationModelAvailabilityRequest" -_ASu = "AuthorizationStatus" -_AUTHORIZED = "AUTHORIZED" -_NA_ = "NOT_AUTHORIZED" -_EA = "EntitlementAvailability" -_RAe = "RegionAvailability" -_GFMAO = "GetFoundationModelAvailabilityOutput" -_cGFMARo = "com.amazonaws.bedrock#GetFoundationModelAvailabilityResponse" -_aAg = "agreementAvailability" -_aSu = "authorizationStatus" -_eAn = "entitlementAvailability" -_rAeg = "regionAvailability" -_GFMA = "GetFoundationModelAvailability" -_OTf = "OfferType" -_PUBLIC = "PUBLIC" -_LFMAOI = "ListFoundationModelAgreementOffersInput" -_cLFMAOR = "com.amazonaws.bedrock#ListFoundationModelAgreementOffersRequest" -_oTf = "offerType" -_OI = "OfferId" -_LT = "LegalTerm" -_ur = "url" -_STu = "SupportTerm" -_rPD = "refundPolicyDescription" -_DPRi = "DimensionalPriceRate" -_di = "dimension" -_pri = "price" -_un = "unit" -_RCa = "RateCard" -_PTri = "PricingTerm" -_rCa = "rateCard" -_VT = "ValidityTerm" -_aD = "agreementDuration" -_TD = "TermDetails" -_uBPT = "usageBasedPricingTerm" -_lTeg = "legalTerm" -_sTup = "supportTerm" -_vT = "validityTerm" -_O = "Offer" -_oI = "offerId" -_tD = "termDetails" -_Of = "Offers" -_LFMAOO = "ListFoundationModelAgreementOffersOutput" -_cLFMAORo = "com.amazonaws.bedrock#ListFoundationModelAgreementOffersResponse" -_of = "offers" -_LFMAO = "ListFoundationModelAgreementOffers" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.bedrock#ListTagsForResourceRequest" -_rARN = "resourceARN" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.bedrock#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.bedrock#TagResourceRequest" -_TRO = "TagResourceOutput" -_cTRRo = "com.amazonaws.bedrock#TagResourceResponse" -_TR = "TagResource" -_TKL = "TagKeyList" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.bedrock#UntagResourceRequest" -_tK = "tagKeys" -_URO = "UntagResourceOutput" -_cURRo = "com.amazonaws.bedrock#UntagResourceResponse" -_UR = "UntagResource" -_BMIa = "BaseModelIdentifier" -_CMCJIr = "CreateModelCustomizationJobInput" -_cCMCJRom = "com.amazonaws.bedrock#CreateModelCustomizationJobRequest" -_cMN = "customModelName" -_bMIa = "baseModelIdentifier" -_cMKKI = "customModelKmsKeyId" -_cMT = "customModelTags" -_CMCJOr = "CreateModelCustomizationJobOutput" -_cCMCJRoma = "com.amazonaws.bedrock#CreateModelCustomizationJobResponse" -_CMCJr = "CreateModelCustomizationJob" -_MCJI = "ModelCustomizationJobIdentifier" -_GMCJIe = "GetModelCustomizationJobInput" -_cGMCJRom = "com.amazonaws.bedrock#GetModelCustomizationJobRequest" -_MCJSode = "ModelCustomizationJobStatus" -_JSD = "JobStatusDetails" -_NSo = "NotStarted" -_DPD = "DataProcessingDetails" -_TDr = "TrainingDetails" -_VD = "ValidationDetails" -_SDt = "StatusDetails" -_vD = "validationDetails" -_dPD = "dataProcessingDetails" -_tDr = "trainingDetails" -_GMCJOe = "GetModelCustomizationJobOutput" -_cGMCJRoma = "com.amazonaws.bedrock#GetModelCustomizationJobResponse" -_oMN = "outputModelName" -_oMA = "outputModelArn" -_sD = "statusDetails" -_oMKKA = "outputModelKmsKeyArn" -_GMCJe = "GetModelCustomizationJob" -_FTJS = "FineTuningJobStatus" -_LMCJIi = "ListModelCustomizationJobsInput" -_cLMCJRom = "com.amazonaws.bedrock#ListModelCustomizationJobsRequest" -_MCJSodel = "ModelCustomizationJobSummary" -_cMA = "customModelArn" -_MCJSodelu = "ModelCustomizationJobSummaries" -_LMCJOi = "ListModelCustomizationJobsOutput" -_cLMCJRoma = "com.amazonaws.bedrock#ListModelCustomizationJobsResponse" -_mCJSo = "modelCustomizationJobSummaries" -_LMCJi = "ListModelCustomizationJobs" -_SMCJI = "StopModelCustomizationJobInput" -_cSMCJR = "com.amazonaws.bedrock#StopModelCustomizationJobRequest" -_SMCJO = "StopModelCustomizationJobOutput" -_cSMCJRo = "com.amazonaws.bedrock#StopModelCustomizationJobResponse" -_SMCJ = "StopModelCustomizationJob" -_RF = "RetrievalFilter" -_gT = "greaterThan" -_gTOE = "greaterThanOrEquals" -_lTes = "lessThan" -_lTOE = "lessThanOrEquals" -_in_ = "in" -_nI = "notIn" -_sW = "startsWith" -_lCi = "listContains" -_sCt = "stringContains" -_RFL = "RetrievalFilterList" -_KBVSC = "KnowledgeBaseVectorSearchConfiguration" -_nOR = "numberOfResults" -_oST = "overrideSearchType" -_fil = "filter" -_iFC = "implicitFilterConfiguration" -_rCer = "rerankingConfiguration" -_KBRC = "KnowledgeBaseRetrievalConfiguration" -_vSC = "vectorSearchConfiguration" -_KBRAGC = "KnowledgeBaseRetrieveAndGenerateConfiguration" -_kBI = "knowledgeBaseId" -_rCet = "retrievalConfiguration" -_oCr = "orchestrationConfiguration" -_RCe = "RetrieveConfig" -_kBRC = "knowledgeBaseRetrievalConfiguration" -_RAGC = "RetrieveAndGenerateConfiguration" -_kBC = "knowledgeBaseConfiguration" -_eSC = "externalSourcesConfiguration" -_KBC = "KnowledgeBaseConfig" -_rCetr = "retrieveConfig" -_rAGC = "retrieveAndGenerateConfig" -_RAGCo = "RAGConfig" -_kBCn = "knowledgeBaseConfig" -_pRSC = "precomputedRagSourceConfig" -_RCag = "RagConfigs" -_EIC = "EvaluationInferenceConfig" -_rCag = "ragConfigs" -_CEJI = "CreateEvaluationJobInput" -_cCEJRo = "com.amazonaws.bedrock#CreateEvaluationJobRequest" -_cEKI = "customerEncryptionKeyId" -_eCv = "evaluationConfig" -_GEJO = "GetEvaluationJobOutput" -_cGEJRo = "com.amazonaws.bedrock#GetEvaluationJobResponse" -_fMai = "failureMessages" -_CEJ = "CreateEvaluationJob" -_GEJ = "GetEvaluationJob" -_ABCPS = "AmazonBedrockControlPlaneService" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJw = "aws.protocols#restJson1" -_sBA = "smithy.api#httpBearerAuth" - -ACCEPT_EULA: StaticSchema = (2, n0, _AE, {_s: False}) - -NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_sm: _c, _sE: 403}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID: StaticSchema = (3, n0, _AEGCI, 0) - -GUARDRAIL_IDENTIFIER: StaticSchema = (3, n0, _GI, 0) - -GUARDRAIL_NUMERICAL_VERSION: StaticSchema = (3, n0, _GNV, 0) - -EXCLUDED_MODEL_ID: StaticSchema = (3, n0, _EMI, 0) - -EXCLUDED_MODELS_LIST: StaticSchema = ( - 16, - n0, - _EML, - 0, - (_me,), - ((EXCLUDED_MODEL_ID, 0),), -) - -INCLUDED_MODEL_ID: StaticSchema = (3, n0, _IMI, 0) - -INCLUDED_MODELS_LIST: StaticSchema = ( - 16, - n0, - _IML, - 0, - (_me,), - ((INCLUDED_MODEL_ID, 0),), -) - -MODEL_ENFORCEMENT: StaticSchema = ( - 18, - n0, - _ME, - 0, - (_iM, _eM), - ((INCLUDED_MODELS_LIST, 1), (EXCLUDED_MODELS_LIST, 1)), -) - -SELECTIVE_GUARDING_MODE: StaticSchema = ( - 14, - n0, - _SGM, - 0, - (_SELECTIVE, _COMPREHENSIVE), - ((-1, {_sV: _SELECTIVE}), (-1, {_sV: _COMPREHENSIVE})), -) - -SELECTIVE_CONTENT_GUARDING: StaticSchema = ( - 18, - n0, - _SCG, - 0, - (_sy, _mes), - ((SELECTIVE_GUARDING_MODE, 0), (SELECTIVE_GUARDING_MODE, 0)), -) - -ACCOUNT_ENFORCED_GUARDRAIL_INFERENCE_INPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AEGIIC, - 0, - (_gI, _gV, _sCG, _mE), - ( - (GUARDRAIL_IDENTIFIER, 1), - (GUARDRAIL_NUMERICAL_VERSION, 1), - (SELECTIVE_CONTENT_GUARDING, 0), - (MODEL_ENFORCEMENT, 0), - ), -) - -TIMESTAMP: StaticSchema = (4, n0, _T, {_sF: _dt}) - -GUARDRAIL_ARN: StaticSchema = (3, n0, _GA, 0) - -GUARDRAIL_ID: StaticSchema = (3, n0, _GIu, 0) - -INPUT_TAGS: StaticSchema = ( - 14, - n0, - _IT, - 0, - (_HONOR, _IGNORE), - ((-1, {_sV: _HONOR}), (-1, {_sV: _IGNORE})), -) - -CONFIGURATION_OWNER: StaticSchema = (3, n0, _CO, 0) - -ACCOUNT_ENFORCED_GUARDRAIL_OUTPUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AEGOC, - 0, - (_cI, _gA, _gIu, _iT, _sCG, _gV, _cA, _cB, _uA, _uB, _o, _mE), - ( - (ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID, 0), - (GUARDRAIL_ARN, 0), - (GUARDRAIL_ID, 0), - (INPUT_TAGS, 0), - (SELECTIVE_CONTENT_GUARDING, 0), - (GUARDRAIL_NUMERICAL_VERSION, 0), - (TIMESTAMP, 0), - (3, 0), - (TIMESTAMP, 0), - (3, 0), - (CONFIGURATION_OWNER, 0), - (MODEL_ENFORCEMENT, 0), - ), -) - -ACCOUNT_ENFORCED_GUARDRAILS_OUTPUT_CONFIGURATION: StaticSchema = ( - 16, - n0, - _AEGOCc, - 0, - (_me,), - ((ACCOUNT_ENFORCED_GUARDRAIL_OUTPUT_CONFIGURATION, 0),), -) - -ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) - -ACKNOWLEDGEMENT_FORM_DATA_BODY: StaticSchema = (1, n0, _AFDB, 0) - -ADDITIONAL_MODEL_REQUEST_FIELDS_KEY: StaticSchema = (3, n0, _AMRFK, 0) - -ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE: StaticSchema = (13, n0, _AMRFV, 0) - -ADDITIONAL_MODEL_REQUEST_FIELDS: StaticSchema = ( - 17, - n0, - _AMRF, - 0, - (_k, _v), - ( - (ADDITIONAL_MODEL_REQUEST_FIELDS_KEY, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE, 0), - ), -) - -S3_URI: StaticSchema = (3, n0, _SU, 0) - -ADVANCED_PROMPT_OPTIMIZATION_INPUT_CONFIG: StaticSchema = ( - 18, - n0, - _APOIC, - 0, - (_sU,), - ((S3_URI, 1),), -) - -ADVANCED_PROMPT_OPTIMIZATION_JOB_ARN: StaticSchema = (3, n0, _APOJA, 0) - -ADVANCED_PROMPT_OPTIMIZATION_JOB_DESCRIPTION: StaticSchema = (3, n0, _APOJD, 0) - -ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER: StaticSchema = (3, n0, _APOJI, 0) - -ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _APOJId, - 0, - (_me,), - ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 0),), -) - -ADVANCED_PROMPT_OPTIMIZATION_JOB_NAME: StaticSchema = (3, n0, _APOJN, 0) - -BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _BDAPOJI, - {_sSI: _cBDAPOJR, _smit: None}, - (_jI,), - ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIERS, 1),), -) - -ADVANCED_PROMPT_OPTIMIZATION_JOB_STATUS: StaticSchema = ( - 14, - n0, - _APOJS, - 0, - (_IP, _COMPLETED, _FAILED, _PC, _STOPPING, _STOPPED, _DELETING), - ( - (-1, {_sV: _IPn}), - (-1, {_sV: _C}), - (-1, {_sV: _F}), - (-1, {_sV: _PCa}), - (-1, {_sV: _S}), - (-1, {_sV: _St}), - (-1, {_sV: _D}), - ), -) - -BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEM: StaticSchema = ( - 18, - n0, - _BDAPOJIa, - 0, - (_jIo, _jS), - ( - (ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 1), - (ADVANCED_PROMPT_OPTIMIZATION_JOB_STATUS, 1), - ), -) - -BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEMS: StaticSchema = ( - 16, - n0, - _BDAPOJIat, - 0, - (_me,), - ((BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEM, 0),), -) - -BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERROR: StaticSchema = ( - 18, - n0, - _BDAPOJE, - 0, - (_jIo, _co, _m), - ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 1), (3, 1), (3, 0)), -) - -BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERRORS: StaticSchema = ( - 16, - n0, - _BDAPOJEa, - 0, - (_me,), - ((BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERROR, 0),), -) - -BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _BDAPOJO, - {_sSI: _cBDAPOJRo, _smith: None}, - (_e, _aPOJ), - ( - (BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERRORS, 1), - (BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEMS, 1), - ), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_sm: _se, _sE: 500}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - {_sm: _c, _sE: 429}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_sm: _c, _sE: 400}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB: StaticOperationSchema = ( - 23, - n0, - _BDAPOJ, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/advanced-prompt-optimization-job/batch-delete", - } - ) - }, - BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT, - BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - {_sm: _c, _sE: 400}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -IDEMPOTENCY_TOKEN: StaticSchema = (3, n0, _ITd, 0) - -KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) - -NON_EMPTY_STRING_LIST: StaticSchema = (16, n0, _NESL, 0, (_me,), ((3, 0),)) - -INFERENCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IC, - 0, - (_mT, _t, _tP, _sS), - ((7, 0), (9, 0), (9, 0), (NON_EMPTY_STRING_LIST, 0)), -) - -ADVANCED_PROMPT_OPTIMIZATION_MODEL_IDENTIFIER: StaticSchema = (3, n0, _APOMI, 0) - -MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MC, - 0, - (_mI, _iC, _aMRF), - ( - (ADVANCED_PROMPT_OPTIMIZATION_MODEL_IDENTIFIER, 1), - (INFERENCE_CONFIGURATION, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS, 0), - ), -) - -MODEL_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _MCo, - 0, - (_me,), - ((MODEL_CONFIGURATION, 0),), -) - -S3_URI_FOLDER: StaticSchema = (3, n0, _SUF, 0) - -ADVANCED_PROMPT_OPTIMIZATION_OUTPUT_CONFIG: StaticSchema = ( - 18, - n0, - _APOOC, - 0, - (_sU,), - ((S3_URI_FOLDER, 1),), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _Ta, 0, (_k, _v), ((TAG_KEY, 1), (TAG_VALUE, 1))) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, 0),)) - -CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _CAPOJI, - {_sSI: _cCAPOJR, _smit: None}, - (_jN, _jD, _cT, _iCn, _oC, _eKA, _ta, _mC), - ( - (ADVANCED_PROMPT_OPTIMIZATION_JOB_NAME, 1), - (ADVANCED_PROMPT_OPTIMIZATION_JOB_DESCRIPTION, 0), - (IDEMPOTENCY_TOKEN, 2), - (ADVANCED_PROMPT_OPTIMIZATION_INPUT_CONFIG, 1), - (ADVANCED_PROMPT_OPTIMIZATION_OUTPUT_CONFIG, 1), - (KMS_KEY_ARN, 0), - (TAG_LIST, 0), - (MODEL_CONFIGURATIONS, 1), - ), -) - -CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _CAPOJO, - {_sSI: _cCAPOJRo, _smith: None}, - (_jA,), - ((ADVANCED_PROMPT_OPTIMIZATION_JOB_ARN, 1),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_sm: _c, _sE: 404}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_sm: _c, _sE: 400}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -TAGGABLE_RESOURCES_ARN: StaticSchema = (3, n0, _TRA, 0) - -TOO_MANY_TAGS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TMTE, - {_sm: _c, _sE: 400}, - (_m, _rN), - ((NON_BLANK_STRING, 0), (TAGGABLE_RESOURCES_ARN, 0)), -) - -CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB: StaticOperationSchema = ( - 23, - n0, - _CAPOJ, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/advanced-prompt-optimization-jobs"} - ) - }, - CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT, - CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _GAPOJI, - {_sSI: _cGAPOJR, _smit: None}, - (_jIo,), - ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 9),), -) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _GAPOJO, - {_sSI: _cGAPOJRo, _smith: None}, - (_jA, _jN, _jD, _jS, _iCn, _oC, _eKA, _cTr, _lMT, _fM, _mC), - ( - (ADVANCED_PROMPT_OPTIMIZATION_JOB_ARN, 1), - (ADVANCED_PROMPT_OPTIMIZATION_JOB_NAME, 1), - (ADVANCED_PROMPT_OPTIMIZATION_JOB_DESCRIPTION, 0), - (ADVANCED_PROMPT_OPTIMIZATION_JOB_STATUS, 1), - (ADVANCED_PROMPT_OPTIMIZATION_INPUT_CONFIG, 1), - (ADVANCED_PROMPT_OPTIMIZATION_OUTPUT_CONFIG, 1), - (KMS_KEY_ARN, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - (ERROR_MESSAGE, 0), - (MODEL_CONFIGURATIONS, 1), - ), -) - -GET_ADVANCED_PROMPT_OPTIMIZATION_JOB: StaticOperationSchema = ( - 23, - n0, - _GAPOJ, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/advanced-prompt-optimization-jobs/{jobIdentifier}", - } - ) - }, - GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT, - GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -PAGINATION_TOKEN: StaticSchema = (3, n0, _PT, 0) - -SORT_JOBS_BY: StaticSchema = (14, n0, _SJB, 0, (_CT,), ((-1, {_sV: _CTr}),)) - -SORT_ORDER: StaticSchema = ( - 14, - n0, - _SO, - 0, - (_ASCENDING, _DESCENDING), - ((-1, {_sV: _A}), (-1, {_sV: _De})), -) - -LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LAPOJI, - {_sSI: _cLAPOJR, _smit: None}, - (_mR, _nT, _sB, _sO), - ( - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_JOBS_BY, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - ), -) - -ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARY: StaticSchema = ( - 18, - n0, - _APOJSd, - 0, - (_jA, _jN, _jS, _cTr, _lMT), - ( - (ADVANCED_PROMPT_OPTIMIZATION_JOB_ARN, 1), - (ADVANCED_PROMPT_OPTIMIZATION_JOB_NAME, 1), - (ADVANCED_PROMPT_OPTIMIZATION_JOB_STATUS, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - ), -) - -ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARIES: StaticSchema = ( - 16, - n0, - _APOJSdv, - 0, - (_me,), - ((ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARY, 0),), -) - -LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAPOJO, - {_sSI: _cLAPOJRo, _smith: None}, - (_jSo, _nT), - ((ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARIES, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS: StaticOperationSchema = ( - 23, - n0, - _LAPOJ, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/advanced-prompt-optimization-jobs"} - ) - }, - LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_INPUT, - LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SAPOJI, - {_sSI: _cSAPOJR, _smit: None}, - (_jIo,), - ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 9),), -) - -STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SAPOJO, - {_sSI: _cSAPOJRo, _smith: None}, -) - -STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB: StaticOperationSchema = ( - 23, - n0, - _SAPOJ, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/advanced-prompt-optimization-jobs/{jobIdentifier}/stop", - } - ) - }, - STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT, - STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AGREEMENT_STATUS: StaticSchema = ( - 14, - n0, - _AS, - 0, - (_AVAILABLE, _PENDING, _NA, _ERROR), - ( - (-1, {_sV: _AVAILABLE}), - (-1, {_sV: _PENDING}), - (-1, {_sV: _NA}), - (-1, {_sV: _ERROR}), - ), -) - -AGREEMENT_AVAILABILITY: StaticSchema = ( - 18, - n0, - _AA, - 0, - (_st, _eMr), - ((AGREEMENT_STATUS, 1), (3, 0)), -) - -GET_USE_CASE_FOR_MODEL_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _GUCFMAI, - {_sSI: _cGUCFMAR, _smit: None}, -) - -GET_USE_CASE_FOR_MODEL_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _GUCFMAO, - {_sSI: _cGUCFMARo, _smith: None}, - (_fD,), - ((ACKNOWLEDGEMENT_FORM_DATA_BODY, 1),), -) - -GET_USE_CASE_FOR_MODEL_ACCESS: StaticOperationSchema = ( - 23, - n0, - _GUCFMA, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/use-case-for-model-access"} - ) - }, - GET_USE_CASE_FOR_MODEL_ACCESS_INPUT, - GET_USE_CASE_FOR_MODEL_ACCESS_OUTPUT, - ( - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PUT_USE_CASE_FOR_MODEL_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _PUCFMAI, - {_sSI: _cPUCFMAR, _smit: None}, - (_fD,), - ((ACKNOWLEDGEMENT_FORM_DATA_BODY, 1),), -) - -PUT_USE_CASE_FOR_MODEL_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _PUCFMAO, - {_sSI: _cPUCFMARo, _smith: None}, -) - -PUT_USE_CASE_FOR_MODEL_ACCESS: StaticOperationSchema = ( - 23, - n0, - _PUCFMA, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/use-case-for-model-access"} - ) - }, - PUT_USE_CASE_FOR_MODEL_ACCESS_INPUT, - PUT_USE_CASE_FOR_MODEL_ACCESS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUTOMATED_REASONING_POLICY_ARN: StaticSchema = (3, n0, _ARPA, 0) - -AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID: StaticSchema = (3, n0, _ARPBWI, 0) - -CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT: StaticSchema = ( - 18, - n0, - _CARPBWI, - {_sSI: _cCARPBWR, _smit: None}, - (_pA, _bWI), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - ), -) - -CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _CARPBWO, - {_sSI: _cCARPBWRo, _smith: None}, -) - -CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW: StaticOperationSchema = ( - 23, - n0, - _CARPBW, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/cancel", - } - ) - }, - CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT, - CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUTOMATED_REASONING_POLICY_DESCRIPTION: StaticSchema = (3, n0, _ARPD, 4) - -KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) - -AUTOMATED_REASONING_POLICY_NAME: StaticSchema = (3, n0, _ARPN, 4) - -AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ALTERNATE_EXPRESSION: StaticSchema = ( - 3, - n0, - _ARPDRAE, - 4, -) - -AUTOMATED_REASONING_POLICY_DEFINITION_RULE_EXPRESSION: StaticSchema = ( - 3, - n0, - _ARPDRE, - 4, -) - -AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID: StaticSchema = (3, n0, _ARPDRI, 0) - -AUTOMATED_REASONING_POLICY_DEFINITION_RULE: StaticSchema = ( - 18, - n0, - _ARPDR, - 0, - (_i, _ex, _aE), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_EXPRESSION, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ALTERNATE_EXPRESSION, 0), - ), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_RULE_LIST: StaticSchema = ( - 16, - n0, - _ARPDRL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE, 0),), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_DESCRIPTION: StaticSchema = ( - 3, - n0, - _ARPDTD, - 4, -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME: StaticSchema = (3, n0, _ARPDTN, 4) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_DESCRIPTION: StaticSchema = ( - 3, - n0, - _ARPDTVD, - 4, -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME: StaticSchema = ( - 3, - n0, - _ARPDTVN, - 0, -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE: StaticSchema = ( - 18, - n0, - _ARPDTV, - 0, - (_v, _d), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_DESCRIPTION, 0), - ), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_LIST: StaticSchema = ( - 16, - n0, - _ARPDTVL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE, 0),), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE: StaticSchema = ( - 18, - n0, - _ARPDT, - 0, - (_n, _d, _va), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_DESCRIPTION, 0), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_LIST: StaticSchema = ( - 16, - n0, - _ARPDTL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE, 0),), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_DESCRIPTION: StaticSchema = ( - 3, - n0, - _ARPDVD, - 4, -) - -AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME: StaticSchema = (3, n0, _ARPDVN, 4) - -AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE: StaticSchema = ( - 18, - n0, - _ARPDV, - 0, - (_n, _ty, _d), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_DESCRIPTION, 1), - ), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_LIST: StaticSchema = ( - 16, - n0, - _ARPDVL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE, 0),), -) - -AUTOMATED_REASONING_POLICY_FORMAT_VERSION: StaticSchema = (3, n0, _ARPFV, 0) - -AUTOMATED_REASONING_POLICY_DEFINITION: StaticSchema = ( - 18, - n0, - _ARPDu, - 0, - (_ve, _typ, _r, _var), - ( - (AUTOMATED_REASONING_POLICY_FORMAT_VERSION, {_s: _v_}), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_LIST, 0), - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_LIST, 0), - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_LIST, 0), - ), -) - -CREATE_AUTOMATED_REASONING_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _CARPI, - {_sSI: _cCARPR, _smit: None}, - (_n, _d, _cRT, _pD, _kKI, _ta), - ( - (AUTOMATED_REASONING_POLICY_NAME, 1), - (AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), - (IDEMPOTENCY_TOKEN, 2), - (AUTOMATED_REASONING_POLICY_DEFINITION, 0), - (KMS_KEY_ID, 0), - (TAG_LIST, 0), - ), -) - -AUTOMATED_REASONING_POLICY_HASH: StaticSchema = (3, n0, _ARPH, 0) - -AUTOMATED_REASONING_POLICY_VERSION: StaticSchema = (3, n0, _ARPV, 0) - -CREATE_AUTOMATED_REASONING_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _CARPO, - {_sSI: _cCARPRo, _smith: None}, - (_pA, _ve, _n, _d, _dH, _cA, _uA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_VERSION, 1), - (AUTOMATED_REASONING_POLICY_NAME, 1), - (AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), - (AUTOMATED_REASONING_POLICY_HASH, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - ), -) - -CREATE_AUTOMATED_REASONING_POLICY: StaticOperationSchema = ( - 23, - n0, - _CARP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/automated-reasoning-policies"} - ) - }, - CREATE_AUTOMATED_REASONING_POLICY_INPUT, - CREATE_AUTOMATED_REASONING_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE: StaticSchema = (10, n0, _ARCTC, 0) - -AUTOMATED_REASONING_CHECK_RESULT: StaticSchema = ( - 14, - n0, - _ARCR, - 0, - (_VALID, _INVALID, _SATISFIABLE, _IMPOSSIBLE, _TA, _TC, _NT), - ( - (-1, {_sV: _VALID}), - (-1, {_sV: _INVALID}), - (-1, {_sV: _SATISFIABLE}), - (-1, {_sV: _IMPOSSIBLE}), - (-1, {_sV: _TA}), - (-1, {_sV: _TC}), - (-1, {_sV: _NT}), - ), -) - -AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT: StaticSchema = (3, n0, _ARPTGC, 4) - -AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT: StaticSchema = (3, n0, _ARPTQC, 4) - -CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT: StaticSchema = ( - 18, - n0, - _CARPTCI, - {_sSI: _cCARPTCR, _smit: None}, - (_pA, _gC, _qC, _eAFR, _cRT, _cTo), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT, 1), - (AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT, 0), - (AUTOMATED_REASONING_CHECK_RESULT, 1), - (IDEMPOTENCY_TOKEN, 2), - (AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE, 0), - ), -) - -AUTOMATED_REASONING_POLICY_TEST_CASE_ID: StaticSchema = (3, n0, _ARPTCI, 0) - -CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT: StaticSchema = ( - 18, - n0, - _CARPTCO, - {_sSI: _cCARPTCRo, _smith: None}, - (_pA, _tCI), - ((AUTOMATED_REASONING_POLICY_ARN, 1), (AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 1)), -) - -CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE: StaticOperationSchema = ( - 23, - n0, - _CARPTC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/automated-reasoning-policies/{policyArn}/test-cases", - } - ) - }, - CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT, - CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_AUTOMATED_REASONING_POLICY_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CARPVI, - {_sSI: _cCARPVR, _smit: None}, - (_pA, _cRT, _lUDH, _ta), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (IDEMPOTENCY_TOKEN, 2), - (AUTOMATED_REASONING_POLICY_HASH, 1), - (TAG_LIST, 0), - ), -) - -CREATE_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CARPVO, - {_sSI: _cCARPVRo, _smith: None}, - (_pA, _ve, _n, _d, _dH, _cA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_VERSION, 1), - (AUTOMATED_REASONING_POLICY_NAME, 1), - (AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), - (AUTOMATED_REASONING_POLICY_HASH, 1), - (TIMESTAMP, 1), - ), -) - -CREATE_AUTOMATED_REASONING_POLICY_VERSION: StaticOperationSchema = ( - 23, - n0, - _CARPV, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/automated-reasoning-policies/{policyArn}/versions", - } - ) - }, - CREATE_AUTOMATED_REASONING_POLICY_VERSION_INPUT, - CREATE_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_AUTOMATED_REASONING_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DARPI, - {_sSI: _cDARPR, _smit: None}, - (_pA, _f), - ((AUTOMATED_REASONING_POLICY_ARN, 9), (2, {_s: False, _sQ: _f})), -) - -DELETE_AUTOMATED_REASONING_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DARPO, - {_sSI: _cDARPRo, _smith: None}, -) - -RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _RIUE, - {_sm: _c, _sE: 400}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -DELETE_AUTOMATED_REASONING_POLICY: StaticOperationSchema = ( - 23, - n0, - _DARP, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/automated-reasoning-policies/{policyArn}", - } - ) - }, - DELETE_AUTOMATED_REASONING_POLICY_INPUT, - DELETE_AUTOMATED_REASONING_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT: StaticSchema = ( - 18, - n0, - _DARPBWI, - {_sSI: _cDARPBWR, _smit: None}, - (_pA, _bWI, _lUA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - (TIMESTAMP, {_sQ: _uA, _smi: None}), - ), -) - -DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _DARPBWO, - {_sSI: _cDARPBWRo, _smith: None}, -) - -DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW: StaticOperationSchema = ( - 23, - n0, - _DARPBW, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}", - } - ) - }, - DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT, - DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT: StaticSchema = ( - 18, - n0, - _DARPTCI, - {_sSI: _cDARPTCR, _smit: None}, - (_pA, _tCI, _lUA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 9), - (TIMESTAMP, {_sQ: _uA, _smi: None}), - ), -) - -DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT: StaticSchema = ( - 18, - n0, - _DARPTCO, - {_sSI: _cDARPTCRo, _smith: None}, -) - -DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE: StaticOperationSchema = ( - 23, - n0, - _DARPTC, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", - } - ) - }, - DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT, - DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -EXPORT_AUTOMATED_REASONING_POLICY_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _EARPVI, - {_sSI: _cEARPVR, _smit: None}, - (_pA,), - ((AUTOMATED_REASONING_POLICY_ARN, 9),), -) - -EXPORT_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _EARPVO, - {_sSI: _cEARPVRo, _smith: None}, - (_pD,), - ((AUTOMATED_REASONING_POLICY_DEFINITION, 17),), -) - -EXPORT_AUTOMATED_REASONING_POLICY_VERSION: StaticOperationSchema = ( - 23, - n0, - _EARPV, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/export", - } - ) - }, - EXPORT_AUTOMATED_REASONING_POLICY_VERSION_INPUT, - EXPORT_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AUTOMATED_REASONING_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GARPI, - {_sSI: _cGARPR, _smit: None}, - (_pA,), - ((AUTOMATED_REASONING_POLICY_ARN, 9),), -) - -AUTOMATED_REASONING_POLICY_ID: StaticSchema = (3, n0, _ARPI, 0) - -GET_AUTOMATED_REASONING_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GARPO, - {_sSI: _cGARPRo, _smith: None}, - (_pA, _n, _ve, _pI, _d, _dH, _kKA, _cA, _uA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_NAME, 1), - (AUTOMATED_REASONING_POLICY_VERSION, 1), - (AUTOMATED_REASONING_POLICY_ID, 1), - (AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), - (AUTOMATED_REASONING_POLICY_HASH, 1), - (KMS_KEY_ARN, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 1), - ), -) - -GET_AUTOMATED_REASONING_POLICY: StaticOperationSchema = ( - 23, - n0, - _GARP, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}", - } - ) - }, - GET_AUTOMATED_REASONING_POLICY_INPUT, - GET_AUTOMATED_REASONING_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GARPAI, - {_sSI: _cGARPAR, _smit: None}, - (_pA, _bWI), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - ), -) - -AUTOMATED_REASONING_POLICY_ADD_RULE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPARA, - 0, - (_ex,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE_EXPRESSION, 1),), -) - -AUTOMATED_REASONING_POLICY_ANNOTATION_RULE_NATURAL_LANGUAGE: StaticSchema = ( - 3, - n0, - _ARPARNL, - 4, -) - -AUTOMATED_REASONING_POLICY_ADD_RULE_FROM_NATURAL_LANGUAGE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPARFNLA, - 0, - (_nL,), - ((AUTOMATED_REASONING_POLICY_ANNOTATION_RULE_NATURAL_LANGUAGE, 1),), -) - -AUTOMATED_REASONING_POLICY_ADD_TYPE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPATA, - 0, - (_n, _d, _va), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_DESCRIPTION, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_ADD_VARIABLE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPAVA, - 0, - (_n, _ty, _d), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_DESCRIPTION, 1), - ), -) - -AUTOMATED_REASONING_POLICY_DELETE_RULE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPDRA, - 0, - (_rI,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1),), -) - -AUTOMATED_REASONING_POLICY_DELETE_TYPE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPDTA, - 0, - (_n,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1),), -) - -AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPDVA, - 0, - (_n,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1),), -) - -AUTOMATED_REASONING_POLICY_ANNOTATION_INGEST_CONTENT: StaticSchema = (3, n0, _ARPAIC, 4) - -AUTOMATED_REASONING_POLICY_INGEST_CONTENT_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPICA, - 0, - (_con,), - ((AUTOMATED_REASONING_POLICY_ANNOTATION_INGEST_CONTENT, 1),), -) - -AUTOMATED_REASONING_POLICY_ANNOTATION_FEEDBACK_NATURAL_LANGUAGE: StaticSchema = ( - 3, - n0, - _ARPAFNL, - 4, -) - -AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID_LIST: StaticSchema = ( - 16, - n0, - _ARPDRIL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0),), -) - -AUTOMATED_REASONING_POLICY_UPDATE_FROM_RULE_FEEDBACK_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPUFRFA, - 0, - (_rIu, _fe), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID_LIST, 0), - (AUTOMATED_REASONING_POLICY_ANNOTATION_FEEDBACK_NATURAL_LANGUAGE, 1), - ), -) - -AUTOMATED_REASONING_POLICY_SCENARIO_EXPRESSION: StaticSchema = (3, n0, _ARPSE, 4) - -AUTOMATED_REASONING_POLICY_UPDATE_FROM_SCENARIO_FEEDBACK_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPUFSFA, - 0, - (_rIu, _sEc, _fe), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID_LIST, 0), - (AUTOMATED_REASONING_POLICY_SCENARIO_EXPRESSION, 1), - (AUTOMATED_REASONING_POLICY_ANNOTATION_FEEDBACK_NATURAL_LANGUAGE, 0), - ), -) - -AUTOMATED_REASONING_POLICY_UPDATE_RULE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPURA, - 0, - (_rI, _ex), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_EXPRESSION, 1), - ), -) - -AUTOMATED_REASONING_POLICY_ADD_TYPE_VALUE: StaticSchema = ( - 18, - n0, - _ARPATV, - 0, - (_v, _d), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_DESCRIPTION, 0), - ), -) - -AUTOMATED_REASONING_POLICY_DELETE_TYPE_VALUE: StaticSchema = ( - 18, - n0, - _ARPDTVu, - 0, - (_v,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1),), -) - -AUTOMATED_REASONING_POLICY_UPDATE_TYPE_VALUE: StaticSchema = ( - 18, - n0, - _ARPUTV, - 0, - (_v, _nV, _d), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 0), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_DESCRIPTION, 0), - ), -) - -AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION: StaticSchema = ( - 19, - n0, - _ARPTVA, - 0, - (_aTV, _uTV, _dTV), - ( - (AUTOMATED_REASONING_POLICY_ADD_TYPE_VALUE, 0), - (AUTOMATED_REASONING_POLICY_UPDATE_TYPE_VALUE, 0), - (AUTOMATED_REASONING_POLICY_DELETE_TYPE_VALUE, 0), - ), -) - -AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION_LIST: StaticSchema = ( - 16, - n0, - _ARPTVAL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION, 0),), -) - -AUTOMATED_REASONING_POLICY_UPDATE_TYPE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPUTA, - 0, - (_n, _nN, _d, _va), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 0), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_DESCRIPTION, 0), - (AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_ANNOTATION: StaticSchema = ( - 18, - n0, - _ARPUVA, - 0, - (_n, _nN, _d), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 0), - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_DESCRIPTION, 0), - ), -) - -AUTOMATED_REASONING_POLICY_ANNOTATION: StaticSchema = ( - 19, - n0, - _ARPAu, - 0, - (_aT, _uT, _dT, _aV, _uV, _dV, _aR, _uR, _dR, _aRFNL, _uFRF, _uFSF, _iCng), - ( - (AUTOMATED_REASONING_POLICY_ADD_TYPE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_UPDATE_TYPE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_DELETE_TYPE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_ADD_VARIABLE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_ADD_RULE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_UPDATE_RULE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_DELETE_RULE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_ADD_RULE_FROM_NATURAL_LANGUAGE_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_UPDATE_FROM_RULE_FEEDBACK_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_UPDATE_FROM_SCENARIO_FEEDBACK_ANNOTATION, 0), - (AUTOMATED_REASONING_POLICY_INGEST_CONTENT_ANNOTATION, 0), - ), -) - -AUTOMATED_REASONING_POLICY_ANNOTATION_LIST: StaticSchema = ( - 16, - n0, - _ARPAL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_ANNOTATION, 0),), -) - -GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GARPAO, - {_sSI: _cGARPARo, _smith: None}, - (_pA, _n, _bWI, _a, _aSH, _uA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_NAME, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), - (AUTOMATED_REASONING_POLICY_ANNOTATION_LIST, 1), - (AUTOMATED_REASONING_POLICY_HASH, 1), - (TIMESTAMP, 1), - ), -) - -GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS: StaticOperationSchema = ( - 23, - n0, - _GARPA, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations", - } - ) - }, - GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT, - GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT: StaticSchema = ( - 18, - n0, - _GARPBWI, - {_sSI: _cGARPBWR, _smit: None}, - (_pA, _bWI), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_TYPE: StaticSchema = ( - 14, - n0, - _ARPBWT, - 0, - (_IC_, _RP, _IP_, _GFR, _GPS, _RPA, _IRP), - ( - (-1, {_sV: _IC_}), - (-1, {_sV: _RP}), - (-1, {_sV: _IP_}), - (-1, {_sV: _GFR}), - (-1, {_sV: _GPS}), - (-1, {_sV: _RPA}), - (-1, {_sV: _IRP}), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_CONTENT_TYPE: StaticSchema = ( - 14, - n0, - _ARPBDCT, - 0, - (_PDF, _TEXT), - ((-1, {_sV: _p}), (-1, {_sV: _tx})), -) - -AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_DESCRIPTION: StaticSchema = ( - 3, - n0, - _ARPBDD, - 4, -) - -AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME: StaticSchema = (3, n0, _ARPBDN, 4) - -AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_STATUS: StaticSchema = ( - 14, - n0, - _ARPBWS, - 0, - ( - _SCHEDULED, - _CR, - _PREPROCESSING, - _BUILDING, - _TESTING, - _COMPLETED, - _FAILED, - _CANCELLED, - ), - ( - (-1, {_sV: _SCHEDULED}), - (-1, {_sV: _CR}), - (-1, {_sV: _PREPROCESSING}), - (-1, {_sV: _BUILDING}), - (-1, {_sV: _TESTING}), - (-1, {_sV: _COMPLETED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _CANCELLED}), - ), -) - -GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _GARPBWO, - {_sSI: _cGARPBWRo, _smith: None}, - (_pA, _bWI, _st, _bWT, _dN, _dCT, _dD, _cA, _uA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_STATUS, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_TYPE, 1), - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME, 0), - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_CONTENT_TYPE, 0), - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_DESCRIPTION, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - ), -) - -GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW: StaticOperationSchema = ( - 23, - n0, - _GARPBW, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}", - } - ) - }, - GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT, - GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_ID: StaticSchema = (3, n0, _ARPBRAI, 0) - -AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_TYPE: StaticSchema = ( - 14, - n0, - _ARPBRAT, - 0, - (_BL, _QR, _PD, _GTC, _PS, _FR, _AM, _SD), - ( - (-1, {_sV: _BL}), - (-1, {_sV: _QR}), - (-1, {_sV: _PD}), - (-1, {_sV: _GTC}), - (-1, {_sV: _PS}), - (-1, {_sV: _FR}), - (-1, {_sV: _AM}), - (-1, {_sV: _SD}), - ), -) - -GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_INPUT: StaticSchema = ( - 18, - n0, - _GARPBWRAI, - {_sSI: _cGARPBWRAR, _smit: None}, - (_pA, _bWI, _aTs, _aI), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_TYPE, {_sQ: _aTs, _smi: None}), - (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_ID, {_sQ: _aI}), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_NAME: StaticSchema = (3, n0, _ARPBRAN, 4) - -AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_ENTRY: StaticSchema = ( - 18, - n0, - _ARPBRAME, - 0, - (_aTs, _aN, _aI), - ( - (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_TYPE, 1), - (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_NAME, 0), - (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_ID, 0), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_LIST: StaticSchema = ( - 16, - n0, - _ARPBRAML, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_ENTRY, 0),), -) - -AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST: StaticSchema = ( - 18, - n0, - _ARPBRAM, - 0, - (_en,), - ((AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_LIST, 1),), -) - -AUTOMATED_REASONING_POLICY_ADD_RULE_MUTATION: StaticSchema = ( - 18, - n0, - _ARPARM, - 0, - (_ru,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE, 1),), -) - -AUTOMATED_REASONING_POLICY_ADD_TYPE_MUTATION: StaticSchema = ( - 18, - n0, - _ARPATM, - 0, - (_ty,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE, 1),), -) - -AUTOMATED_REASONING_POLICY_ADD_VARIABLE_MUTATION: StaticSchema = ( - 18, - n0, - _ARPAVM, - 0, - (_vari,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE, 1),), -) - -AUTOMATED_REASONING_POLICY_DELETE_RULE_MUTATION: StaticSchema = ( - 18, - n0, - _ARPDRM, - 0, - (_i,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1),), -) - -AUTOMATED_REASONING_POLICY_DELETE_TYPE_MUTATION: StaticSchema = ( - 18, - n0, - _ARPDTM, - 0, - (_n,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1),), -) - -AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_MUTATION: StaticSchema = ( - 18, - n0, - _ARPDVM, - 0, - (_n,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1),), -) - -AUTOMATED_REASONING_POLICY_UPDATE_RULE_MUTATION: StaticSchema = ( - 18, - n0, - _ARPURM, - 0, - (_ru,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE, 1),), -) - -AUTOMATED_REASONING_POLICY_UPDATE_TYPE_MUTATION: StaticSchema = ( - 18, - n0, - _ARPUTM, - 0, - (_ty,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE, 1),), -) - -AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_MUTATION: StaticSchema = ( - 18, - n0, - _ARPUVM, - 0, - (_vari,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE, 1),), -) - -AUTOMATED_REASONING_POLICY_MUTATION: StaticSchema = ( - 19, - n0, - _ARPM, - 0, - (_aT, _uT, _dT, _aV, _uV, _dV, _aR, _uR, _dR), - ( - (AUTOMATED_REASONING_POLICY_ADD_TYPE_MUTATION, 0), - (AUTOMATED_REASONING_POLICY_UPDATE_TYPE_MUTATION, 0), - (AUTOMATED_REASONING_POLICY_DELETE_TYPE_MUTATION, 0), - (AUTOMATED_REASONING_POLICY_ADD_VARIABLE_MUTATION, 0), - (AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_MUTATION, 0), - (AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_MUTATION, 0), - (AUTOMATED_REASONING_POLICY_ADD_RULE_MUTATION, 0), - (AUTOMATED_REASONING_POLICY_UPDATE_RULE_MUTATION, 0), - (AUTOMATED_REASONING_POLICY_DELETE_RULE_MUTATION, 0), - ), -) - -AUTOMATED_REASONING_POLICY_PLANNING: StaticSchema = (18, n0, _ARPP, 0) - -AUTOMATED_REASONING_POLICY_BUILD_STEP_CONTEXT: StaticSchema = ( - 19, - n0, - _ARPBSC, - 0, - (_pl, _mu), - ( - (AUTOMATED_REASONING_POLICY_PLANNING, 0), - (AUTOMATED_REASONING_POLICY_MUTATION, 0), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_MESSAGE_TYPE: StaticSchema = ( - 14, - n0, - _ARPBMT, - 0, - (_INFO, _WARNING, _ERROR), - ((-1, {_sV: _INFO}), (-1, {_sV: _WARNING}), (-1, {_sV: _ERROR})), -) - -AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE: StaticSchema = ( - 18, - n0, - _ARPBSM, - 0, - (_m, _mTe), - ((3, 1), (AUTOMATED_REASONING_POLICY_BUILD_MESSAGE_TYPE, 1)), -) - -AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE_LIST: StaticSchema = ( - 16, - n0, - _ARPBSML, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE, 0),), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_ELEMENT: StaticSchema = ( - 19, - n0, - _ARPDE, - 0, - (_pDV, _pDT, _pDR), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE, 0), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE, 0), - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE, 0), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_STEP: StaticSchema = ( - 18, - n0, - _ARPBS, - 0, - (_cont, _pE, _mes), - ( - (AUTOMATED_REASONING_POLICY_BUILD_STEP_CONTEXT, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_ELEMENT, 0), - (AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_STEP_LIST: StaticSchema = ( - 16, - n0, - _ARPBSL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_BUILD_STEP, 0),), -) - -AUTOMATED_REASONING_POLICY_ANNOTATION_STATUS: StaticSchema = ( - 14, - n0, - _ARPAS, - 0, - (_APPLIED, _FAILED), - ((-1, {_sV: _APPLIED}), (-1, {_sV: _FAILED})), -) - -AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY: StaticSchema = ( - 18, - n0, - _ARPBLE, - 0, - (_an, _st, _bS), - ( - (AUTOMATED_REASONING_POLICY_ANNOTATION, 1), - (AUTOMATED_REASONING_POLICY_ANNOTATION_STATUS, 1), - (AUTOMATED_REASONING_POLICY_BUILD_STEP_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _ARPBLEL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY, 0),), -) - -AUTOMATED_REASONING_POLICY_BUILD_LOG: StaticSchema = ( - 18, - n0, - _ARPBL, - 0, - (_en,), - ((AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY_LIST, 1),), -) - -AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_BLOB: StaticSchema = (1, n0, _ARPBDB, 4) - -AUTOMATED_REASONING_POLICY_DOCUMENT_SHA256: StaticSchema = (3, n0, _ARPDS, 0) - -AUTOMATED_REASONING_POLICY_SOURCE_DOCUMENT: StaticSchema = ( - 18, - n0, - _ARPSD, - 0, - (_do, _dCT, _dN, _dD, _dHo), - ( - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_BLOB, 1), - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_CONTENT_TYPE, 1), - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME, 1), - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_DESCRIPTION, 0), - (AUTOMATED_REASONING_POLICY_DOCUMENT_SHA256, 1), - ), -) - -AUTOMATED_REASONING_POLICY_ACCURACY_SCORE: StaticSchema = (10, n0, _ARPASu, 0) - -AUTOMATED_REASONING_POLICY_COVERAGE_SCORE: StaticSchema = (10, n0, _ARPCS, 0) - -AUTOMATED_REASONING_POLICY_STATEMENT_ID: StaticSchema = (3, n0, _ARPSI, 0) - -AUTOMATED_REASONING_POLICY_LINE_NUMBER_LIST: StaticSchema = ( - 16, - n0, - _ARPLNL, - 0, - (_me,), - ((7, 0),), -) - -AUTOMATED_REASONING_POLICY_STATEMENT_LOCATION: StaticSchema = ( - 18, - n0, - _ARPSL, - 0, - (_l,), - ((AUTOMATED_REASONING_POLICY_LINE_NUMBER_LIST, 1),), -) - -AUTOMATED_REASONING_POLICY_STATEMENT_TEXT: StaticSchema = (3, n0, _ARPST, 4) - -AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT: StaticSchema = ( - 18, - n0, - _ARPASut, - 0, - (_i, _te, _lo), - ( - (AUTOMATED_REASONING_POLICY_STATEMENT_ID, 1), - (AUTOMATED_REASONING_POLICY_STATEMENT_TEXT, 1), - (AUTOMATED_REASONING_POLICY_STATEMENT_LOCATION, 1), - ), -) - -AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT_LIST: StaticSchema = ( - 16, - n0, - _ARPASL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT, 0),), -) - -AUTOMATED_REASONING_POLICY_LINE_TEXT: StaticSchema = (3, n0, _ARPLT, 4) - -AUTOMATED_REASONING_POLICY_ANNOTATED_LINE: StaticSchema = ( - 18, - n0, - _ARPALu, - 0, - (_lN, _lT), - ((7, 0), (AUTOMATED_REASONING_POLICY_LINE_TEXT, 0)), -) - -AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT: StaticSchema = ( - 19, - n0, - _ARPAC, - 0, - (_li,), - ((AUTOMATED_REASONING_POLICY_ANNOTATED_LINE, 0),), -) - -AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT_LIST: StaticSchema = ( - 16, - n0, - _ARPACL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT, 0),), -) - -AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK: StaticSchema = ( - 18, - n0, - _ARPACu, - 0, - (_pN, _con), - ((7, 0), (AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT_LIST, 1)), -) - -AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK_LIST: StaticSchema = ( - 16, - n0, - _ARPACLu, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK, 0),), -) - -AUTOMATED_REASONING_POLICY_DOCUMENT_ID: StaticSchema = (3, n0, _ARPDI, 0) - -AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT: StaticSchema = ( - 18, - n0, - _ARPRSD, - 0, - (_dN, _dHo, _dI, _aS, _dC), - ( - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME, 1), - (AUTOMATED_REASONING_POLICY_DOCUMENT_SHA256, 1), - (AUTOMATED_REASONING_POLICY_DOCUMENT_ID, 1), - (AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT_LIST, 1), - (AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT_LIST: StaticSchema = ( - 16, - n0, - _ARPRSDL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT, 0),), -) - -AUTOMATED_REASONING_POLICY_JUSTIFICATION_TEXT: StaticSchema = (3, n0, _ARPJT, 4) - -AUTOMATED_REASONING_POLICY_JUSTIFICATION_LIST: StaticSchema = ( - 16, - n0, - _ARPJL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_JUSTIFICATION_TEXT, 0),), -) - -AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE: StaticSchema = ( - 18, - n0, - _ARPSR, - 0, - (_dI, _sI), - ( - (AUTOMATED_REASONING_POLICY_DOCUMENT_ID, 1), - (AUTOMATED_REASONING_POLICY_STATEMENT_ID, 1), - ), -) - -AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE_LIST: StaticSchema = ( - 16, - n0, - _ARPSRL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE, 0),), -) - -AUTOMATED_REASONING_POLICY_RULE_REPORT: StaticSchema = ( - 18, - n0, - _ARPRR, - 0, - (_ru, _gS, _gJ, _aSc, _aJ), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1), - (AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE_LIST, 0), - (AUTOMATED_REASONING_POLICY_JUSTIFICATION_LIST, 0), - (AUTOMATED_REASONING_POLICY_ACCURACY_SCORE, 0), - (AUTOMATED_REASONING_POLICY_JUSTIFICATION_TEXT, 0), - ), -) - -AUTOMATED_REASONING_POLICY_RULE_REPORT_MAP: StaticSchema = ( - 17, - n0, - _ARPRRM, - 0, - (_k, _v), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0), - (AUTOMATED_REASONING_POLICY_RULE_REPORT, 0), - ), -) - -AUTOMATED_REASONING_POLICY_VARIABLE_REPORT: StaticSchema = ( - 18, - n0, - _ARPVR, - 0, - (_pV, _gS, _gJ, _aSc, _aJ), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1), - (AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE_LIST, 0), - (AUTOMATED_REASONING_POLICY_JUSTIFICATION_LIST, 0), - (AUTOMATED_REASONING_POLICY_ACCURACY_SCORE, 0), - (AUTOMATED_REASONING_POLICY_JUSTIFICATION_TEXT, 0), - ), -) - -AUTOMATED_REASONING_POLICY_VARIABLE_REPORT_MAP: StaticSchema = ( - 17, - n0, - _ARPVRM, - 0, - (_k, _v), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 0), - (AUTOMATED_REASONING_POLICY_VARIABLE_REPORT, 0), - ), -) - -AUTOMATED_REASONING_POLICY_FIDELITY_REPORT: StaticSchema = ( - 18, - n0, - _ARPFR, - 0, - (_cS, _aSc, _rR, _vR, _dS), - ( - (AUTOMATED_REASONING_POLICY_COVERAGE_SCORE, 1), - (AUTOMATED_REASONING_POLICY_ACCURACY_SCORE, 1), - (AUTOMATED_REASONING_POLICY_RULE_REPORT_MAP, 1), - (AUTOMATED_REASONING_POLICY_VARIABLE_REPORT_MAP, 1), - (AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE: StaticSchema = ( - 18, - n0, - _ARPGTC, - 0, - (_qC, _gC, _eAFR), - ( - (AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT, 1), - (AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT, 1), - (AUTOMATED_REASONING_CHECK_RESULT, 1), - ), -) - -AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE_LIST: StaticSchema = ( - 16, - n0, - _ARPGTCL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE, 0),), -) - -AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASES: StaticSchema = ( - 18, - n0, - _ARPGTCu, - 0, - (_gTC,), - ((AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE_LIST, 1),), -) - -AUTOMATED_REASONING_POLICY_SCENARIO_ALTERNATE_EXPRESSION: StaticSchema = ( - 3, - n0, - _ARPSAE, - 4, -) - -AUTOMATED_REASONING_POLICY_SCENARIO: StaticSchema = ( - 18, - n0, - _ARPS, - 0, - (_ex, _aE, _eR, _rIu), - ( - (AUTOMATED_REASONING_POLICY_SCENARIO_EXPRESSION, 1), - (AUTOMATED_REASONING_POLICY_SCENARIO_ALTERNATE_EXPRESSION, 1), - (AUTOMATED_REASONING_CHECK_RESULT, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_SCENARIO_LIST: StaticSchema = ( - 16, - n0, - _ARPSLu, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_SCENARIO, 0),), -) - -AUTOMATED_REASONING_POLICY_SCENARIOS: StaticSchema = ( - 18, - n0, - _ARPSu, - 0, - (_pS,), - ((AUTOMATED_REASONING_POLICY_SCENARIO_LIST, 1),), -) - -AUTOMATED_REASONING_POLICY_CONFLICTED_RULE_ID_LIST: StaticSchema = ( - 16, - n0, - _ARPCRIL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0),), -) - -AUTOMATED_REASONING_POLICY_DISJOINTED_RULE_ID_LIST: StaticSchema = ( - 16, - n0, - _ARPDRILu, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0),), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME_LIST: StaticSchema = ( - 16, - n0, - _ARPDVNL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 0),), -) - -AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET: StaticSchema = ( - 18, - n0, - _ARPDRS, - 0, - (_var, _r), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME_LIST, 1), - (AUTOMATED_REASONING_POLICY_DISJOINTED_RULE_ID_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET_LIST: StaticSchema = ( - 16, - n0, - _ARPDRSL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET, 0),), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME_LIST: StaticSchema = ( - 16, - n0, - _ARPDTNL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 0),), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR: StaticSchema = ( - 18, - n0, - _ARPDTVP, - 0, - (_tN, _vN), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1), - ), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR_LIST: StaticSchema = ( - 16, - n0, - _ARPDTVPL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR, 0),), -) - -AUTOMATED_REASONING_POLICY_DEFINITION_QUALITY_REPORT: StaticSchema = ( - 18, - n0, - _ARPDQR, - 0, - (_tC, _vC, _rC, _uTn, _uTVn, _uVn, _cR, _dRS), - ( - (7, 1), - (7, 1), - (7, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME_LIST, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR_LIST, 1), - (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME_LIST, 1), - (AUTOMATED_REASONING_POLICY_CONFLICTED_RULE_ID_LIST, 1), - (AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET_LIST, 1), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSETS: StaticSchema = ( - 19, - n0, - _ARPBRA, - 0, - (_pD, _qR, _bL, _gTC, _pS, _aM, _do, _fR), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION, 0), - (AUTOMATED_REASONING_POLICY_DEFINITION_QUALITY_REPORT, 0), - (AUTOMATED_REASONING_POLICY_BUILD_LOG, 0), - (AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASES, 0), - (AUTOMATED_REASONING_POLICY_SCENARIOS, 0), - (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST, 0), - (AUTOMATED_REASONING_POLICY_SOURCE_DOCUMENT, 0), - (AUTOMATED_REASONING_POLICY_FIDELITY_REPORT, 0), - ), -) - -GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_OUTPUT: StaticSchema = ( - 18, - n0, - _GARPBWRAO, - {_sSI: _cGARPBWRARo, _smith: None}, - (_pA, _bWI, _bWA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), - (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSETS, 0), - ), -) - -GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS: StaticOperationSchema = ( - 23, - n0, - _GARPBWRA, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/result-assets", - } - ) - }, - GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_INPUT, - GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_INPUT: StaticSchema = ( - 18, - n0, - _GARPNSI, - {_sSI: _cGARPNSR, _smit: None}, - (_pA, _bWI), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - ), -) - -GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_OUTPUT: StaticSchema = ( - 18, - n0, - _GARPNSO, - {_sSI: _cGARPNSRo, _smith: None}, - (_pA, _sc), - ((AUTOMATED_REASONING_POLICY_ARN, 1), (AUTOMATED_REASONING_POLICY_SCENARIO, 0)), -) - -GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO: StaticOperationSchema = ( - 23, - n0, - _GARPNS, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/scenarios", - } - ) - }, - GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_INPUT, - GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT: StaticSchema = ( - 18, - n0, - _GARPTCI, - {_sSI: _cGARPTCR, _smit: None}, - (_pA, _tCI), - ((AUTOMATED_REASONING_POLICY_ARN, 9), (AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 9)), -) - -AUTOMATED_REASONING_POLICY_TEST_CASE: StaticSchema = ( - 18, - n0, - _ARPTC, - 0, - (_tCI, _gC, _qC, _eAFR, _cA, _uA, _cTo), - ( - (AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 1), - (AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT, 1), - (AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT, 0), - (AUTOMATED_REASONING_CHECK_RESULT, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE, 0), - ), -) - -GET_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT: StaticSchema = ( - 18, - n0, - _GARPTCO, - {_sSI: _cGARPTCRo, _smith: None}, - (_pA, _tCe), - ((AUTOMATED_REASONING_POLICY_ARN, 1), (AUTOMATED_REASONING_POLICY_TEST_CASE, 1)), -) - -GET_AUTOMATED_REASONING_POLICY_TEST_CASE: StaticOperationSchema = ( - 23, - n0, - _GARPTC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", - } - ) - }, - GET_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT, - GET_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_INPUT: StaticSchema = ( - 18, - n0, - _GARPTRI, - {_sSI: _cGARPTRR, _smit: None}, - (_pA, _bWI, _tCI), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - (AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 9), - ), -) - -AUTOMATED_REASONING_CHECK_RULE: StaticSchema = ( - 18, - n0, - _ARCRu, - 0, - (_i, _pVA), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0), - (AUTOMATED_REASONING_POLICY_ARN, 0), - ), -) - -AUTOMATED_REASONING_CHECK_RULE_LIST: StaticSchema = ( - 16, - n0, - _ARCRL, - 0, - (_me,), - ((AUTOMATED_REASONING_CHECK_RULE, 0),), -) - -AUTOMATED_REASONING_LOGIC_STATEMENT_CONTENT: StaticSchema = (3, n0, _ARLSC, 4) - -AUTOMATED_REASONING_NATURAL_LANGUAGE_STATEMENT_CONTENT: StaticSchema = ( - 3, - n0, - _ARNLSC, - 4, -) - -AUTOMATED_REASONING_LOGIC_STATEMENT: StaticSchema = ( - 18, - n0, - _ARLS, - 0, - (_log, _nL), - ( - (AUTOMATED_REASONING_LOGIC_STATEMENT_CONTENT, 1), - (AUTOMATED_REASONING_NATURAL_LANGUAGE_STATEMENT_CONTENT, 0), - ), -) - -AUTOMATED_REASONING_LOGIC_STATEMENT_LIST: StaticSchema = ( - 16, - n0, - _ARLSL, - 0, - (_me,), - ((AUTOMATED_REASONING_LOGIC_STATEMENT, 0),), -) - -AUTOMATED_REASONING_CHECK_LOGIC_WARNING_TYPE: StaticSchema = ( - 14, - n0, - _ARCLWT, - 0, - (_AT, _AF), - ((-1, {_sV: _AT}), (-1, {_sV: _AF})), -) - -AUTOMATED_REASONING_CHECK_LOGIC_WARNING: StaticSchema = ( - 18, - n0, - _ARCLW, - 0, - (_ty, _pr, _cl), - ( - (AUTOMATED_REASONING_CHECK_LOGIC_WARNING_TYPE, 0), - (AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 0), - (AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 0), - ), -) - -AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE: StaticSchema = ( - 18, - n0, - _ARCITR, - 0, - (_te,), - ((AUTOMATED_REASONING_NATURAL_LANGUAGE_STATEMENT_CONTENT, 0),), -) - -AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE_LIST: StaticSchema = ( - 16, - n0, - _ARCITRL, - 0, - (_me,), - ((AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE, 0),), -) - -AUTOMATED_REASONING_CHECK_TRANSLATION: StaticSchema = ( - 18, - n0, - _ARCT, - 0, - (_pr, _cl, _uP, _uC, _conf), - ( - (AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 0), - (AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 1), - (AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE_LIST, 0), - (AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE_LIST, 0), - (AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE, 1), - ), -) - -AUTOMATED_REASONING_CHECK_IMPOSSIBLE_FINDING: StaticSchema = ( - 18, - n0, - _ARCIF, - 0, - (_tr, _cRo, _lW), - ( - (AUTOMATED_REASONING_CHECK_TRANSLATION, 0), - (AUTOMATED_REASONING_CHECK_RULE_LIST, 0), - (AUTOMATED_REASONING_CHECK_LOGIC_WARNING, 0), - ), -) - -AUTOMATED_REASONING_CHECK_INVALID_FINDING: StaticSchema = ( - 18, - n0, - _ARCIFu, - 0, - (_tr, _cRo, _lW), - ( - (AUTOMATED_REASONING_CHECK_TRANSLATION, 0), - (AUTOMATED_REASONING_CHECK_RULE_LIST, 0), - (AUTOMATED_REASONING_CHECK_LOGIC_WARNING, 0), - ), -) - -AUTOMATED_REASONING_CHECK_NO_TRANSLATIONS_FINDING: StaticSchema = (18, n0, _ARCNTF, 0) - -AUTOMATED_REASONING_CHECK_SCENARIO: StaticSchema = ( - 18, - n0, - _ARCS, - 0, - (_sta,), - ((AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 0),), -) - -AUTOMATED_REASONING_CHECK_SATISFIABLE_FINDING: StaticSchema = ( - 18, - n0, - _ARCSF, - 0, - (_tr, _cTS, _cFS, _lW), - ( - (AUTOMATED_REASONING_CHECK_TRANSLATION, 0), - (AUTOMATED_REASONING_CHECK_SCENARIO, 0), - (AUTOMATED_REASONING_CHECK_SCENARIO, 0), - (AUTOMATED_REASONING_CHECK_LOGIC_WARNING, 0), - ), -) - -AUTOMATED_REASONING_CHECK_TOO_COMPLEX_FINDING: StaticSchema = (18, n0, _ARCTCF, 0) - -AUTOMATED_REASONING_CHECK_DIFFERENCE_SCENARIO_LIST: StaticSchema = ( - 16, - n0, - _ARCDSL, - 0, - (_me,), - ((AUTOMATED_REASONING_CHECK_SCENARIO, 0),), -) - -AUTOMATED_REASONING_CHECK_TRANSLATION_LIST: StaticSchema = ( - 16, - n0, - _ARCTL, - 0, - (_me,), - ((AUTOMATED_REASONING_CHECK_TRANSLATION, 0),), -) - -AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION: StaticSchema = ( - 18, - n0, - _ARCTO, - 0, - (_tra,), - ((AUTOMATED_REASONING_CHECK_TRANSLATION_LIST, 0),), -) - -AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION_LIST: StaticSchema = ( - 16, - n0, - _ARCTOL, - 0, - (_me,), - ((AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION, 0),), -) - -AUTOMATED_REASONING_CHECK_TRANSLATION_AMBIGUOUS_FINDING: StaticSchema = ( - 18, - n0, - _ARCTAF, - 0, - (_op, _dSi), - ( - (AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION_LIST, 0), - (AUTOMATED_REASONING_CHECK_DIFFERENCE_SCENARIO_LIST, 0), - ), -) - -AUTOMATED_REASONING_CHECK_VALID_FINDING: StaticSchema = ( - 18, - n0, - _ARCVF, - 0, - (_tr, _cTS, _sR, _lW), - ( - (AUTOMATED_REASONING_CHECK_TRANSLATION, 0), - (AUTOMATED_REASONING_CHECK_SCENARIO, 0), - (AUTOMATED_REASONING_CHECK_RULE_LIST, 0), - (AUTOMATED_REASONING_CHECK_LOGIC_WARNING, 0), - ), -) - -AUTOMATED_REASONING_CHECK_FINDING: StaticSchema = ( - 19, - n0, - _ARCF, - 0, - (_val, _in, _sa, _im, _tA, _tCo, _nTo), - ( - (AUTOMATED_REASONING_CHECK_VALID_FINDING, 0), - (AUTOMATED_REASONING_CHECK_INVALID_FINDING, 0), - (AUTOMATED_REASONING_CHECK_SATISFIABLE_FINDING, 0), - (AUTOMATED_REASONING_CHECK_IMPOSSIBLE_FINDING, 0), - (AUTOMATED_REASONING_CHECK_TRANSLATION_AMBIGUOUS_FINDING, 0), - (AUTOMATED_REASONING_CHECK_TOO_COMPLEX_FINDING, 0), - (AUTOMATED_REASONING_CHECK_NO_TRANSLATIONS_FINDING, 0), - ), -) - -AUTOMATED_REASONING_CHECK_FINDING_LIST: StaticSchema = ( - 16, - n0, - _ARCFL, - 0, - (_me,), - ((AUTOMATED_REASONING_CHECK_FINDING, 0),), -) - -AUTOMATED_REASONING_POLICY_TEST_RUN_RESULT: StaticSchema = ( - 14, - n0, - _ARPTRR, - 0, - (_PASSED, _FAILED), - ((-1, {_sV: _PASSED}), (-1, {_sV: _FAILED})), -) - -AUTOMATED_REASONING_POLICY_TEST_RUN_STATUS: StaticSchema = ( - 14, - n0, - _ARPTRS, - 0, - (_NS, _SCHEDULED, _IP, _COMPLETED, _FAILED), - ( - (-1, {_sV: _NS}), - (-1, {_sV: _SCHEDULED}), - (-1, {_sV: _IP}), - (-1, {_sV: _COMPLETED}), - (-1, {_sV: _FAILED}), - ), -) - -AUTOMATED_REASONING_POLICY_TEST_RESULT: StaticSchema = ( - 18, - n0, - _ARPTR, - 0, - (_tCe, _pA, _tRS, _tF, _tRR, _aTFR, _uA), - ( - (AUTOMATED_REASONING_POLICY_TEST_CASE, 1), - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_TEST_RUN_STATUS, 1), - (AUTOMATED_REASONING_CHECK_FINDING_LIST, 0), - (AUTOMATED_REASONING_POLICY_TEST_RUN_RESULT, 0), - (AUTOMATED_REASONING_CHECK_RESULT, 0), - (TIMESTAMP, 1), - ), -) - -GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_OUTPUT: StaticSchema = ( - 18, - n0, - _GARPTRO, - {_sSI: _cGARPTRRo, _smith: None}, - (_tR,), - ((AUTOMATED_REASONING_POLICY_TEST_RESULT, 1),), -) - -GET_AUTOMATED_REASONING_POLICY_TEST_RESULT: StaticOperationSchema = ( - 23, - n0, - _GARPTR, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-cases/{testCaseId}/test-results", - } - ) - }, - GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_INPUT, - GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AUTOMATED_REASONING_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LARPI, - {_sSI: _cLARPR, _smit: None}, - (_pA, _nT, _mR), - ( - (AUTOMATED_REASONING_POLICY_ARN, {_sQ: _pA}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (MAX_RESULTS, {_s: 25, _sQ: _mR}), - ), -) - -AUTOMATED_REASONING_POLICY_SUMMARY: StaticSchema = ( - 18, - n0, - _ARPSut, - 0, - (_pA, _n, _d, _ve, _pI, _cA, _uA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_NAME, 1), - (AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), - (AUTOMATED_REASONING_POLICY_VERSION, 1), - (AUTOMATED_REASONING_POLICY_ID, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - ), -) - -AUTOMATED_REASONING_POLICY_SUMMARIES: StaticSchema = ( - 16, - n0, - _ARPSuto, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_SUMMARY, 0),), -) - -LIST_AUTOMATED_REASONING_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LARPO, - {_sSI: _cLARPRo, _smith: None}, - (_aRPS, _nT), - ((AUTOMATED_REASONING_POLICY_SUMMARIES, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_AUTOMATED_REASONING_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LARP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/automated-reasoning-policies"} - ) - }, - LIST_AUTOMATED_REASONING_POLICIES_INPUT, - LIST_AUTOMATED_REASONING_POLICIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_INPUT: StaticSchema = ( - 18, - n0, - _LARPBWI, - {_sSI: _cLARPBWR, _smit: None}, - (_pA, _nT, _mR), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (PAGINATION_TOKEN, {_sQ: _nT}), - (MAX_RESULTS, {_s: 25, _sQ: _mR}), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARY: StaticSchema = ( - 18, - n0, - _ARPBWSu, - 0, - (_pA, _bWI, _st, _bWT, _cA, _uA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_STATUS, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_TYPE, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARIES: StaticSchema = ( - 16, - n0, - _ARPBWSut, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARY, 0),), -) - -LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_OUTPUT: StaticSchema = ( - 18, - n0, - _LARPBWO, - {_sSI: _cLARPBWRo, _smith: None}, - (_aRPBWS, _nT), - ((AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARIES, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS: StaticOperationSchema = ( - 23, - n0, - _LARPBW, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows", - } - ) - }, - LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_INPUT, - LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_INPUT: StaticSchema = ( - 18, - n0, - _LARPTCI, - {_sSI: _cLARPTCR, _smit: None}, - (_pA, _nT, _mR), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (PAGINATION_TOKEN, {_s: None, _sQ: _nT}), - (MAX_RESULTS, {_s: 25, _sQ: _mR}), - ), -) - -AUTOMATED_REASONING_POLICY_TEST_CASE_LIST: StaticSchema = ( - 16, - n0, - _ARPTCL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_TEST_CASE, 0),), -) - -LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_OUTPUT: StaticSchema = ( - 18, - n0, - _LARPTCO, - {_sSI: _cLARPTCRo, _smith: None}, - (_tCes, _nT), - ((AUTOMATED_REASONING_POLICY_TEST_CASE_LIST, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_AUTOMATED_REASONING_POLICY_TEST_CASES: StaticOperationSchema = ( - 23, - n0, - _LARPTC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/test-cases", - } - ) - }, - LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_INPUT, - LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_INPUT: StaticSchema = ( - 18, - n0, - _LARPTRI, - {_sSI: _cLARPTRR, _smit: None}, - (_pA, _bWI, _nT, _mR), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - (PAGINATION_TOKEN, {_s: None, _sQ: _nT}), - (MAX_RESULTS, {_s: 25, _sQ: _mR}), - ), -) - -AUTOMATED_REASONING_POLICY_TEST_LIST: StaticSchema = ( - 16, - n0, - _ARPTL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_TEST_RESULT, 0),), -) - -LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LARPTRO, - {_sSI: _cLARPTRRo, _smith: None}, - (_tRe, _nT), - ((AUTOMATED_REASONING_POLICY_TEST_LIST, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS: StaticOperationSchema = ( - 23, - n0, - _LARPTR, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-results", - } - ) - }, - LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_INPUT, - LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT: StaticSchema = ( - 18, - n0, - _ARPBWD, - 0, - (_do, _dCT, _dN, _dD), - ( - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_BLOB, 1), - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_CONTENT_TYPE, 1), - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME, 1), - (AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_DESCRIPTION, 0), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT_LIST: StaticSchema = ( - 16, - n0, - _ARPBWDL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT, 0),), -) - -AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_DOCUMENT_LIST: StaticSchema = ( - 16, - n0, - _ARPGFRDL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT, 0),), -) - -AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_CONTENT: StaticSchema = ( - 19, - n0, - _ARPGFRC, - 0, - (_doc,), - ((AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_DOCUMENT_LIST, 0),), -) - -AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_DOCUMENT_LIST: StaticSchema = ( - 16, - n0, - _ARPIRDL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT, 0),), -) - -AUTOMATED_REASONING_POLICY_BUILD_FEEDBACK: StaticSchema = (3, n0, _ARPBF, 4) - -AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_CONTENT: StaticSchema = ( - 18, - n0, - _ARPIRC, - 0, - (_doc, _fe), - ( - (AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_DOCUMENT_LIST, 1), - (AUTOMATED_REASONING_POLICY_BUILD_FEEDBACK, 0), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_REPAIR_CONTENT: StaticSchema = ( - 18, - n0, - _ARPBWRC, - 0, - (_a,), - ((AUTOMATED_REASONING_POLICY_ANNOTATION_LIST, 1),), -) - -AUTOMATED_REASONING_POLICY_WORKFLOW_TYPE_CONTENT: StaticSchema = ( - 19, - n0, - _ARPWTC, - 0, - (_doc, _pRA, _gFRC, _iRC), - ( - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT_LIST, 0), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_REPAIR_CONTENT, 0), - (AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_CONTENT, 0), - (AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_CONTENT, 0), - ), -) - -AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SOURCE: StaticSchema = ( - 18, - n0, - _ARPBWSuto, - 0, - (_pD, _wC), - ( - (AUTOMATED_REASONING_POLICY_DEFINITION, 0), - (AUTOMATED_REASONING_POLICY_WORKFLOW_TYPE_CONTENT, 0), - ), -) - -START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT: StaticSchema = ( - 18, - n0, - _SARPBWI, - {_sSI: _cSARPBWR, _smit: None}, - (_pA, _bWT, _cRT, _sC), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_TYPE, 9), - (IDEMPOTENCY_TOKEN, {_sH: _xact, _sT: None}), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SOURCE, 17), - ), -) - -START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _SARPBWO, - {_sSI: _cSARPBWRo, _smith: None}, - (_pA, _bWI), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), - ), -) - -START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW: StaticOperationSchema = ( - 23, - n0, - _SARPBW, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowType}/start", - } - ) - }, - START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT, - START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUTOMATED_REASONING_POLICY_TEST_CASE_ID_LIST: StaticSchema = ( - 16, - n0, - _ARPTCIL, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 0),), -) - -START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_INPUT: StaticSchema = ( - 18, - n0, - _SARPTWI, - {_sSI: _cSARPTWR, _smit: None}, - (_pA, _bWI, _tCIe, _cRT), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - (AUTOMATED_REASONING_POLICY_TEST_CASE_ID_LIST, 0), - (IDEMPOTENCY_TOKEN, 2), - ), -) - -START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_OUTPUT: StaticSchema = ( - 18, - n0, - _SARPTWO, - {_sSI: _cSARPTWRo, _smith: None}, - (_pA,), - ((AUTOMATED_REASONING_POLICY_ARN, 1),), -) - -START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW: StaticOperationSchema = ( - 23, - n0, - _SARPTW, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-workflows", - } - ) - }, - START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_INPUT, - START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AUTOMATED_REASONING_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _UARPI, - {_sSI: _cUARPR, _smit: None}, - (_pA, _pD, _n, _d), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_DEFINITION, 1), - (AUTOMATED_REASONING_POLICY_NAME, 0), - (AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), - ), -) - -UPDATE_AUTOMATED_REASONING_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _UARPO, - {_sSI: _cUARPRo, _smith: None}, - (_pA, _n, _dH, _uA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_NAME, 1), - (AUTOMATED_REASONING_POLICY_HASH, 1), - (TIMESTAMP, 1), - ), -) - -UPDATE_AUTOMATED_REASONING_POLICY: StaticOperationSchema = ( - 23, - n0, - _UARP, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PATCH", - "uri": "/automated-reasoning-policies/{policyArn}", - } - ) - }, - UPDATE_AUTOMATED_REASONING_POLICY_INPUT, - UPDATE_AUTOMATED_REASONING_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT: StaticSchema = ( - 18, - n0, - _UARPAI, - {_sSI: _cUARPAR, _smit: None}, - (_pA, _bWI, _a, _lUASH), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), - (AUTOMATED_REASONING_POLICY_ANNOTATION_LIST, 1), - (AUTOMATED_REASONING_POLICY_HASH, 1), - ), -) - -UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _UARPAO, - {_sSI: _cUARPARo, _smith: None}, - (_pA, _bWI, _aSH, _uA), - ( - (AUTOMATED_REASONING_POLICY_ARN, 1), - (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), - (AUTOMATED_REASONING_POLICY_HASH, 1), - (TIMESTAMP, 1), - ), -) - -UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS: StaticOperationSchema = ( - 23, - n0, - _UARPA, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PATCH", - "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations", - } - ) - }, - UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT, - UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT: StaticSchema = ( - 18, - n0, - _UARPTCI, - {_sSI: _cUARPTCR, _smit: None}, - (_pA, _tCI, _gC, _qC, _lUA, _eAFR, _cTo, _cRT), - ( - (AUTOMATED_REASONING_POLICY_ARN, 9), - (AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 9), - (AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT, 1), - (AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT, 0), - (TIMESTAMP, 1), - (AUTOMATED_REASONING_CHECK_RESULT, 1), - (AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE, 0), - (IDEMPOTENCY_TOKEN, 2), - ), -) - -UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT: StaticSchema = ( - 18, - n0, - _UARPTCO, - {_sSI: _cUARPTCRo, _smith: None}, - (_pA, _tCI), - ((AUTOMATED_REASONING_POLICY_ARN, 1), (AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 1)), -) - -UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE: StaticOperationSchema = ( - 23, - n0, - _UARPTC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PATCH", - "uri": "/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", - } - ) - }, - UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT, - UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ROLE_ARN: StaticSchema = (3, n0, _RA, 0) - -INSTANCE_COUNT: StaticSchema = (7, n0, _ICn, 0) - -INSTANCE_TYPE: StaticSchema = (3, n0, _ITn, 0) - -SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGI, 0) - -SECURITY_GROUP_IDS: StaticSchema = (16, n0, _SGIe, 0, (_me,), ((SECURITY_GROUP_ID, 0),)) - -SUBNET_ID: StaticSchema = (3, n0, _SI, 0) - -SUBNET_IDS: StaticSchema = (16, n0, _SIu, 0, (_me,), ((SUBNET_ID, 0),)) - -VPC_CONFIG: StaticSchema = ( - 18, - n0, - _VC, - 0, - (_sIu, _sGI), - ((SUBNET_IDS, 1), (SECURITY_GROUP_IDS, 1)), -) - -SAGE_MAKER_ENDPOINT: StaticSchema = ( - 18, - n0, - _SME, - 0, - (_iIC, _iTn, _eRx, _kEK, _vp), - ( - (INSTANCE_COUNT, 1), - (INSTANCE_TYPE, 1), - (ROLE_ARN, 1), - (KMS_KEY_ID, 0), - (VPC_CONFIG, 0), - ), -) - -ENDPOINT_CONFIG: StaticSchema = (19, n0, _EC, 0, (_sM,), ((SAGE_MAKER_ENDPOINT, 0),)) - -ENDPOINT_NAME: StaticSchema = (3, n0, _EN, 0) - -MODEL_SOURCE_IDENTIFIER: StaticSchema = (3, n0, _MSI, 0) - -CREATE_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CMMEI, - {_sSI: _cCMMER, _smit: None}, - (_mSI, _eC, _aEc, _eN, _cRT, _ta), - ( - (MODEL_SOURCE_IDENTIFIER, 1), - (ENDPOINT_CONFIG, 1), - (ACCEPT_EULA, {_s: False}), - (ENDPOINT_NAME, 1), - (IDEMPOTENCY_TOKEN, 2), - (TAG_LIST, 0), - ), -) - -ARN: StaticSchema = (3, n0, _Ar, 0) - -STATUS: StaticSchema = ( - 14, - n0, - _Sta, - 0, - (_REGISTERED, _IE), - ((-1, {_sV: _REGISTERED}), (-1, {_sV: _IE})), -) - -MARKETPLACE_MODEL_ENDPOINT: StaticSchema = ( - 18, - n0, - _MME, - 0, - (_eA, _mSI, _st, _sMt, _cA, _uA, _eC, _eS, _eSM), - ( - (ARN, 1), - (MODEL_SOURCE_IDENTIFIER, 1), - (STATUS, 0), - (3, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (ENDPOINT_CONFIG, 1), - (3, 1), - (3, 0), - ), -) - -CREATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CMMEO, - {_sSI: _cCMMERo, _smith: None}, - (_mME,), - ((MARKETPLACE_MODEL_ENDPOINT, 1),), -) - -CREATE_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CMME, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/marketplace-model/endpoints"} - ) - }, - CREATE_MARKETPLACE_MODEL_ENDPOINT_INPUT, - CREATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DMMEI, - {_sSI: _cDMMER, _smit: None}, - (_eA,), - ((ARN, 9),), -) - -DELETE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DMMEO, - {_sSI: _cDMMERo, _smith: None}, -) - -DELETE_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DMME, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/marketplace-model/endpoints/{endpointArn}", - } - ) - }, - DELETE_MARKETPLACE_MODEL_ENDPOINT_INPUT, - DELETE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DMMEIe, - {_sSI: _cDMMERom, _smit: None}, - (_eA,), - ((ARN, 9),), -) - -DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DMMEOe, - {_sSI: _cDMMERoma, _smith: None}, -) - -SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SUE, - {_sm: _se, _sE: 503}, - (_m,), - ((NON_BLANK_STRING, 0),), -) - -DEREGISTER_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DMMEe, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/marketplace-model/endpoints/{endpointArn}/registration", - } - ) - }, - DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT, - DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _GMMEI, - {_sSI: _cGMMER, _smit: None}, - (_eA,), - ((ARN, 9),), -) - -GET_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _GMMEO, - {_sSI: _cGMMERo, _smith: None}, - (_mME,), - ((MARKETPLACE_MODEL_ENDPOINT, 0),), -) - -GET_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _GMME, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/marketplace-model/endpoints/{endpointArn}", - } - ) - }, - GET_MARKETPLACE_MODEL_ENDPOINT_INPUT, - GET_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_MARKETPLACE_MODEL_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _LMMEI, - {_sSI: _cLMMER, _smit: None}, - (_mR, _nT, _mSE), - ( - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (MODEL_SOURCE_IDENTIFIER, {_sQ: _mSI}), - ), -) - -MARKETPLACE_MODEL_ENDPOINT_SUMMARY: StaticSchema = ( - 18, - n0, - _MMES, - 0, - (_eA, _mSI, _st, _sMt, _cA, _uA), - ( - (ARN, 1), - (MODEL_SOURCE_IDENTIFIER, 1), - (STATUS, 0), - (3, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - ), -) - -MARKETPLACE_MODEL_ENDPOINT_SUMMARIES: StaticSchema = ( - 16, - n0, - _MMESa, - 0, - (_me,), - ((MARKETPLACE_MODEL_ENDPOINT_SUMMARY, 0),), -) - -LIST_MARKETPLACE_MODEL_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMMEO, - {_sSI: _cLMMERo, _smith: None}, - (_mMEa, _nT), - ((MARKETPLACE_MODEL_ENDPOINT_SUMMARIES, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_MARKETPLACE_MODEL_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _LMME, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/marketplace-model/endpoints"} - ) - }, - LIST_MARKETPLACE_MODEL_ENDPOINTS_INPUT, - LIST_MARKETPLACE_MODEL_ENDPOINTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -REGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _RMMEI, - {_sSI: _cRMMER, _smit: None}, - (_eI, _mSI), - ((ARN, 9), (MODEL_SOURCE_IDENTIFIER, 1)), -) - -REGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _RMMEO, - {_sSI: _cRMMERo, _smith: None}, - (_mME,), - ((MARKETPLACE_MODEL_ENDPOINT, 1),), -) - -REGISTER_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _RMME, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/marketplace-model/endpoints/{endpointIdentifier}/registration", - } - ) - }, - REGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT, - REGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _UMMEI, - {_sSI: _cUMMER, _smit: None}, - (_eA, _eC, _cRT), - ((ARN, 9), (ENDPOINT_CONFIG, 1), (IDEMPOTENCY_TOKEN, 2)), -) - -UPDATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _UMMEO, - {_sSI: _cUMMERo, _smith: None}, - (_mME,), - ((MARKETPLACE_MODEL_ENDPOINT, 1),), -) - -UPDATE_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _UMME, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PATCH", - "uri": "/marketplace-model/endpoints/{endpointArn}", - } - ) - }, - UPDATE_MARKETPLACE_MODEL_ENDPOINT_INPUT, - UPDATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CUSTOM_MODEL_DEPLOYMENT_DESCRIPTION: StaticSchema = (3, n0, _CMDD, 0) - -CUSTOM_MODEL_ARN: StaticSchema = (3, n0, _CMA, 0) - -MODEL_DEPLOYMENT_NAME: StaticSchema = (3, n0, _MDN, 0) - -CREATE_CUSTOM_MODEL_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _CCMDI, - {_sSI: _cCCMDR, _smit: None}, - (_mDN, _mA, _d, _ta, _cRT), - ( - (MODEL_DEPLOYMENT_NAME, 1), - (CUSTOM_MODEL_ARN, 1), - (CUSTOM_MODEL_DEPLOYMENT_DESCRIPTION, 0), - (TAG_LIST, 0), - (IDEMPOTENCY_TOKEN, 2), - ), -) - -CUSTOM_MODEL_DEPLOYMENT_ARN: StaticSchema = (3, n0, _CMDA, 0) - -CREATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CCMDO, - {_sSI: _cCCMDRo, _smith: None}, - (_cMDA,), - ((CUSTOM_MODEL_DEPLOYMENT_ARN, 1),), -) - -CREATE_CUSTOM_MODEL_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _CCMD, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "POST", - "uri": "/model-customization/custom-model-deployments", - } - ) - }, - CREATE_CUSTOM_MODEL_DEPLOYMENT_INPUT, - CREATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CUSTOM_MODEL_DEPLOYMENT_IDENTIFIER: StaticSchema = (3, n0, _CMDI, 0) - -DELETE_CUSTOM_MODEL_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _DCMDI, - {_sSI: _cDCMDR, _smit: None}, - (_cMDI,), - ((CUSTOM_MODEL_DEPLOYMENT_IDENTIFIER, 9),), -) - -DELETE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DCMDO, - {_sSI: _cDCMDRo, _smith: None}, -) - -DELETE_CUSTOM_MODEL_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _DCMD, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", - } - ) - }, - DELETE_CUSTOM_MODEL_DEPLOYMENT_INPUT, - DELETE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_CUSTOM_MODEL_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _GCMDI, - {_sSI: _cGCMDR, _smit: None}, - (_cMDI,), - ((CUSTOM_MODEL_DEPLOYMENT_IDENTIFIER, 9),), -) - -CUSTOM_MODEL_DEPLOYMENT_STATUS: StaticSchema = ( - 14, - n0, - _CMDS, - 0, - (_CREATING, _ACTIVE, _FAILED), - ((-1, {_sV: _Cr}), (-1, {_sV: _Ac}), (-1, {_sV: _F})), -) - -MODEL_ARN: StaticSchema = (3, n0, _MA, 0) - -CUSTOM_MODEL_DEPLOYMENT_UPDATE_STATUS: StaticSchema = ( - 14, - n0, - _CMDUS, - 0, - (_UPDATING, _UC, _UF), - ((-1, {_sV: _U}), (-1, {_sV: _UCp}), (-1, {_sV: _UFp})), -) - -CUSTOM_MODEL_DEPLOYMENT_UPDATE_DETAILS: StaticSchema = ( - 18, - n0, - _CMDUD, - 0, - (_mA, _uS), - ((MODEL_ARN, 1), (CUSTOM_MODEL_DEPLOYMENT_UPDATE_STATUS, 1)), -) - -GET_CUSTOM_MODEL_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GCMDO, - {_sSI: _cGCMDRo, _smith: None}, - (_cMDA, _mDN, _mA, _cA, _st, _d, _uD, _fM, _lUA), - ( - (CUSTOM_MODEL_DEPLOYMENT_ARN, 1), - (MODEL_DEPLOYMENT_NAME, 1), - (CUSTOM_MODEL_ARN, 1), - (TIMESTAMP, 1), - (CUSTOM_MODEL_DEPLOYMENT_STATUS, 1), - (CUSTOM_MODEL_DEPLOYMENT_DESCRIPTION, 0), - (CUSTOM_MODEL_DEPLOYMENT_UPDATE_DETAILS, 0), - (ERROR_MESSAGE, 0), - (TIMESTAMP, 0), - ), -) - -GET_CUSTOM_MODEL_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _GCMD, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", - } - ) - }, - GET_CUSTOM_MODEL_DEPLOYMENT_INPUT, - GET_CUSTOM_MODEL_DEPLOYMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SORT_MODELS_BY: StaticSchema = (14, n0, _SMB, 0, (_CT,), ((-1, {_sV: _CTr}),)) - -LIST_CUSTOM_MODEL_DEPLOYMENTS_INPUT: StaticSchema = ( - 18, - n0, - _LCMDI, - {_sSI: _cLCMDR, _smit: None}, - (_cBr, _cAr, _nC, _mR, _nT, _sB, _sO, _sEt, _mAE), - ( - (TIMESTAMP, {_sQ: _cBr}), - (TIMESTAMP, {_sQ: _cAr}), - (MODEL_DEPLOYMENT_NAME, {_sQ: _nC}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_MODELS_BY, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - (CUSTOM_MODEL_DEPLOYMENT_STATUS, {_sQ: _sEt}), - (CUSTOM_MODEL_ARN, {_sQ: _mAE}), - ), -) - -CUSTOM_MODEL_DEPLOYMENT_SUMMARY: StaticSchema = ( - 18, - n0, - _CMDSu, - 0, - (_cMDA, _cMDN, _mA, _cA, _st, _lUA, _fM), - ( - (CUSTOM_MODEL_DEPLOYMENT_ARN, 1), - (MODEL_DEPLOYMENT_NAME, 1), - (MODEL_ARN, 1), - (TIMESTAMP, 1), - (CUSTOM_MODEL_DEPLOYMENT_STATUS, 1), - (TIMESTAMP, 0), - (ERROR_MESSAGE, 0), - ), -) - -CUSTOM_MODEL_DEPLOYMENT_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CMDSL, - 0, - (_me,), - ((CUSTOM_MODEL_DEPLOYMENT_SUMMARY, 0),), -) - -LIST_CUSTOM_MODEL_DEPLOYMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCMDO, - {_sSI: _cLCMDRo, _smith: None}, - (_nT, _mDS), - ((PAGINATION_TOKEN, 0), (CUSTOM_MODEL_DEPLOYMENT_SUMMARY_LIST, 0)), -) - -LIST_CUSTOM_MODEL_DEPLOYMENTS: StaticOperationSchema = ( - 23, - n0, - _LCMD, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/model-customization/custom-model-deployments", - } - ) - }, - LIST_CUSTOM_MODEL_DEPLOYMENTS_INPUT, - LIST_CUSTOM_MODEL_DEPLOYMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_CUSTOM_MODEL_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _UCMDI, - {_sSI: _cUCMDR, _smit: None}, - (_mA, _cMDI), - ((CUSTOM_MODEL_ARN, 1), (CUSTOM_MODEL_DEPLOYMENT_IDENTIFIER, 9)), -) - -UPDATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _UCMDO, - {_sSI: _cUCMDRo, _smith: None}, - (_cMDA,), - ((CUSTOM_MODEL_DEPLOYMENT_ARN, 1),), -) - -UPDATE_CUSTOM_MODEL_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _UCMD, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "PATCH", - "uri": "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", - } - ) - }, - UPDATE_CUSTOM_MODEL_DEPLOYMENT_INPUT, - UPDATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MODEL_PACKAGE_ARN: StaticSchema = (3, n0, _MPA, 0) - -MODEL_PACKAGE_ARN_DATA_SOURCE: StaticSchema = ( - 18, - n0, - _MPADS, - 0, - (_mPA,), - ((MODEL_PACKAGE_ARN, 1),), -) - -CUSTOM_MODEL_DATA_SOURCE: StaticSchema = ( - 19, - n0, - _CMDSus, - 0, - (_mPADS,), - ((MODEL_PACKAGE_ARN_DATA_SOURCE, 0),), -) - -CUSTOM_MODEL_NAME: StaticSchema = (3, n0, _CMN, 0) - -S3_DATA_SOURCE: StaticSchema = (18, n0, _SDS, 0, (_sU,), ((S3_URI, 1),)) - -MODEL_DATA_SOURCE: StaticSchema = (19, n0, _MDS, 0, (_sDS,), ((S3_DATA_SOURCE, 0),)) - -CREATE_CUSTOM_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _CCMI, - {_sSI: _cCCMR, _smit: None}, - (_mN, _mSC, _cMDS, _mKKA, _rA, _mTo, _cRT), - ( - (CUSTOM_MODEL_NAME, 1), - (MODEL_DATA_SOURCE, 0), - (CUSTOM_MODEL_DATA_SOURCE, 0), - (KMS_KEY_ARN, 0), - (ROLE_ARN, 0), - (TAG_LIST, 0), - (IDEMPOTENCY_TOKEN, 2), - ), -) - -CREATE_CUSTOM_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _CCMO, - {_sSI: _cCCMRo, _smith: None}, - (_mA,), - ((MODEL_ARN, 1),), -) - -CREATE_CUSTOM_MODEL: StaticOperationSchema = ( - 23, - n0, - _CCM, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/custom-models/create-custom-model"} - ) - }, - CREATE_CUSTOM_MODEL_INPUT, - CREATE_CUSTOM_MODEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MODEL_IDENTIFIER: StaticSchema = (3, n0, _MI, 0) - -DELETE_CUSTOM_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _DCMI, - {_sSI: _cDCMR, _smit: None}, - (_mIo,), - ((MODEL_IDENTIFIER, 9),), -) - -DELETE_CUSTOM_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _DCMO, - {_sSI: _cDCMRo, _smith: None}, -) - -DELETE_CUSTOM_MODEL: StaticOperationSchema = ( - 23, - n0, - _DCM, - { - _smithy: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/custom-models/{modelIdentifier}"} - ) - }, - DELETE_CUSTOM_MODEL_INPUT, - DELETE_CUSTOM_MODEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_CUSTOM_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _GCMI, - {_sSI: _cGCMR, _smit: None}, - (_mIo,), - ((MODEL_IDENTIFIER, 9),), -) - -TEACHER_MODEL_IDENTIFIER: StaticSchema = (3, n0, _TMI, 0) - -TEACHER_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _TMC, - 0, - (_tMI, _mRLFI), - ((TEACHER_MODEL_IDENTIFIER, 1), (7, 0)), -) - -DISTILLATION_CONFIG: StaticSchema = ( - 18, - n0, - _DC, - 0, - (_tMC,), - ((TEACHER_MODEL_CONFIG, 1),), -) - -LAMBDA_ARN: StaticSchema = (3, n0, _LA, 0) - -LAMBDA_GRADER_CONFIG: StaticSchema = (18, n0, _LGC, 0, (_lA,), ((LAMBDA_ARN, 1),)) - -GRADER_CONFIG: StaticSchema = (19, n0, _GC, 0, (_lG,), ((LAMBDA_GRADER_CONFIG, 0),)) - -RFT_BATCH_SIZE: StaticSchema = (7, n0, _RFTBS, 0) - -EPOCH_COUNT: StaticSchema = (7, n0, _ECp, 0) - -RFT_EVAL_INTERVAL: StaticSchema = (7, n0, _RFTEI, 0) - -RFT_INFERENCE_MAX_TOKENS: StaticSchema = (7, n0, _RFTIMT, 0) - -RFT_LEARNING_RATE: StaticSchema = (9, n0, _RFTLR, 0) - -RFT_MAX_PROMPT_LENGTH: StaticSchema = (7, n0, _RFTMPL, 0) - -REASONING_EFFORT: StaticSchema = ( - 14, - n0, - _RE, - 0, - (_LOW, _MEDIUM, _HIGH), - ((-1, {_sV: _low}), (-1, {_sV: _med}), (-1, {_sV: _h})), -) - -RFT_TRAINING_SAMPLE_PER_PROMPT: StaticSchema = (7, n0, _RFTTSPP, 0) - -RFT_HYPER_PARAMETERS: StaticSchema = ( - 18, - n0, - _RFTHP, - 0, - (_eCp, _bSa, _lR, _mPL, _tSPP, _iMT, _rE, _eIv), - ( - (EPOCH_COUNT, 0), - (RFT_BATCH_SIZE, 0), - (RFT_LEARNING_RATE, 0), - (RFT_MAX_PROMPT_LENGTH, 0), - (RFT_TRAINING_SAMPLE_PER_PROMPT, 0), - (RFT_INFERENCE_MAX_TOKENS, 0), - (REASONING_EFFORT, 0), - (RFT_EVAL_INTERVAL, 0), - ), -) - -RFT_CONFIG: StaticSchema = ( - 18, - n0, - _RFTC, - 0, - (_gCr, _hP), - ((GRADER_CONFIG, 0), (RFT_HYPER_PARAMETERS, 0)), -) - -CUSTOMIZATION_CONFIG: StaticSchema = ( - 19, - n0, - _CC, - 0, - (_dCi, _rCf), - ((DISTILLATION_CONFIG, 0), (RFT_CONFIG, 0)), -) - -CUSTOMIZATION_TYPE: StaticSchema = ( - 14, - n0, - _CTu, - 0, - (_FT, _CPT, _DISTILLATION, _RFT, _IMPORTED), - ( - (-1, {_sV: _FT}), - (-1, {_sV: _CPT}), - (-1, {_sV: _DISTILLATION}), - (-1, {_sV: _RFT}), - (-1, {_sV: _IMPORTED}), - ), -) - -MODEL_CUSTOMIZATION_HYPER_PARAMETERS: StaticSchema = ( - 17, - n0, - _MCHP, - 0, - (_k, _v), - ((3, 0), (3, 0)), -) - -MODEL_CUSTOMIZATION_JOB_ARN: StaticSchema = (3, n0, _MCJA, 0) - -JOB_NAME: StaticSchema = (3, n0, _JN, 0) - -MODEL_STATUS: StaticSchema = ( - 14, - n0, - _MS, - 0, - (_ACTIVE, _CREATING, _FAILED), - ((-1, {_sV: _Ac}), (-1, {_sV: _Cr}), (-1, {_sV: _F})), -) - -OUTPUT_DATA_CONFIG: StaticSchema = (18, n0, _ODC, 0, (_sU,), ((S3_URI, 1),)) - -INVOCATION_LOG_SOURCE: StaticSchema = (19, n0, _ILS, 0, (_sU,), ((S3_URI, 0),)) - -REQUEST_METADATA_MAP: StaticSchema = (17, n0, _RMM, 4, (_k, _v), ((3, 0), (3, 0))) - -REQUEST_METADATA_BASE_FILTERS: StaticSchema = ( - 18, - n0, - _RMBF, - 0, - (_eq, _nE), - ((REQUEST_METADATA_MAP, 0), (REQUEST_METADATA_MAP, 0)), -) - -REQUEST_METADATA_FILTERS_LIST: StaticSchema = ( - 16, - n0, - _RMFL, - 0, - (_me,), - ((REQUEST_METADATA_BASE_FILTERS, 0),), -) - -REQUEST_METADATA_FILTERS: StaticSchema = ( - 19, - n0, - _RMF, - 0, - (_eq, _nE, _aA, _oA), - ( - (REQUEST_METADATA_MAP, 0), - (REQUEST_METADATA_MAP, 0), - (REQUEST_METADATA_FILTERS_LIST, 0), - (REQUEST_METADATA_FILTERS_LIST, 0), - ), -) - -USE_PROMPT_RESPONSE: StaticSchema = (2, n0, _UPR, {_s: False}) - -INVOCATION_LOGS_CONFIG: StaticSchema = ( - 18, - n0, - _ILC, - 0, - (_uPR, _iLS, _rMF), - ( - (USE_PROMPT_RESPONSE, {_s: False}), - (INVOCATION_LOG_SOURCE, 1), - (REQUEST_METADATA_FILTERS, 0), - ), -) - -TRAINING_DATA_CONFIG: StaticSchema = ( - 18, - n0, - _TDC, - 0, - (_sU, _iLC), - ((S3_URI, 0), (INVOCATION_LOGS_CONFIG, 0)), -) - -METRIC_FLOAT: StaticSchema = (9, n0, _MF, 0) - -TRAINING_METRICS: StaticSchema = (18, n0, _TM, 0, (_tL,), ((METRIC_FLOAT, 0),)) - -VALIDATOR: StaticSchema = (18, n0, _V, 0, (_sU,), ((S3_URI, 1),)) - -VALIDATORS: StaticSchema = (16, n0, _Va, 0, (_me,), ((VALIDATOR, 0),)) - -VALIDATION_DATA_CONFIG: StaticSchema = (18, n0, _VDC, 0, (_vali,), ((VALIDATORS, 1),)) - -VALIDATOR_METRIC: StaticSchema = (18, n0, _VM, 0, (_vL,), ((METRIC_FLOAT, 0),)) - -VALIDATION_METRICS: StaticSchema = (16, n0, _VMa, 0, (_me,), ((VALIDATOR_METRIC, 0),)) - -GET_CUSTOM_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _GCMO, - {_sSI: _cGCMRo, _smith: None}, - ( - _mA, - _mN, - _jN, - _jA, - _bMA, - _cTu, - _mKKA, - _hP, - _tDC, - _vDC, - _oDC, - _tM, - _vM, - _cTr, - _cC, - _mS, - _fM, - ), - ( - (MODEL_ARN, 1), - (CUSTOM_MODEL_NAME, 1), - (JOB_NAME, 0), - (MODEL_CUSTOMIZATION_JOB_ARN, 0), - (MODEL_ARN, 0), - (CUSTOMIZATION_TYPE, 0), - (KMS_KEY_ARN, 0), - (MODEL_CUSTOMIZATION_HYPER_PARAMETERS, 0), - (TRAINING_DATA_CONFIG, 0), - (VALIDATION_DATA_CONFIG, 0), - (OUTPUT_DATA_CONFIG, 0), - (TRAINING_METRICS, 0), - (VALIDATION_METRICS, 0), - (TIMESTAMP, 1), - (CUSTOMIZATION_CONFIG, 0), - (MODEL_STATUS, 0), - (ERROR_MESSAGE, 0), - ), -) - -GET_CUSTOM_MODEL: StaticOperationSchema = ( - 23, - n0, - _GCM, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/custom-models/{modelIdentifier}"} - ) - }, - GET_CUSTOM_MODEL_INPUT, - GET_CUSTOM_MODEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FOUNDATION_MODEL_ARN: StaticSchema = (3, n0, _FMA, 0) - -LIST_CUSTOM_MODELS_INPUT: StaticSchema = ( - 18, - n0, - _LCMI, - {_sSI: _cLCMR, _smit: None}, - (_cTB, _cTA, _nC, _bMAE, _fMAE, _mR, _nT, _sB, _sO, _iO, _mS), - ( - (TIMESTAMP, {_sQ: _cTB}), - (TIMESTAMP, {_sQ: _cTA}), - (CUSTOM_MODEL_NAME, {_sQ: _nC}), - (MODEL_ARN, {_sQ: _bMAE}), - (FOUNDATION_MODEL_ARN, {_sQ: _fMAE}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_MODELS_BY, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - (2, {_sQ: _iO}), - (MODEL_STATUS, {_sQ: _mS}), - ), -) - -MODEL_NAME: StaticSchema = (3, n0, _MN, 0) - -CUSTOM_MODEL_SUMMARY: StaticSchema = ( - 18, - n0, - _CMS, - 0, - (_mA, _mN, _cTr, _bMA, _bMN, _cTu, _oAI, _mS), - ( - (CUSTOM_MODEL_ARN, 1), - (CUSTOM_MODEL_NAME, 1), - (TIMESTAMP, 1), - (MODEL_ARN, 1), - (MODEL_NAME, 1), - (CUSTOMIZATION_TYPE, 0), - (ACCOUNT_ID, 0), - (MODEL_STATUS, 0), - ), -) - -CUSTOM_MODEL_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CMSL, - 0, - (_me,), - ((CUSTOM_MODEL_SUMMARY, 0),), -) - -LIST_CUSTOM_MODELS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCMO, - {_sSI: _cLCMRo, _smith: None}, - (_nT, _mSo), - ((PAGINATION_TOKEN, 0), (CUSTOM_MODEL_SUMMARY_LIST, 0)), -) - -LIST_CUSTOM_MODELS: StaticOperationSchema = ( - 23, - n0, - _LCM, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/custom-models"} - ) - }, - LIST_CUSTOM_MODELS_INPUT, - LIST_CUSTOM_MODELS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_ACCOUNT_DATA_RETENTION_INPUT: StaticSchema = ( - 18, - n0, - _GADRI, - {_sSI: _cGADRR, _smit: None}, -) - -DATA_RETENTION_MODE: StaticSchema = ( - 14, - n0, - _DRM, - 0, - (_DEFAULT, _NONE, _AR, _PDS, _INHERIT), - ( - (-1, {_sV: _de}), - (-1, {_sV: _no}), - (-1, {_sV: _ar}), - (-1, {_sV: _pds}), - (-1, {_sV: _inh}), - ), -) - -GET_ACCOUNT_DATA_RETENTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GADRO, - {_sSI: _cGADRRo, _smith: None}, - (_mo, _uA), - ((DATA_RETENTION_MODE, 1), (TIMESTAMP, 0)), -) - -GET_ACCOUNT_DATA_RETENTION: StaticOperationSchema = ( - 23, - n0, - _GADR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/data-retention"} - ) - }, - GET_ACCOUNT_DATA_RETENTION_INPUT, - GET_ACCOUNT_DATA_RETENTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PUT_ACCOUNT_DATA_RETENTION_INPUT: StaticSchema = ( - 18, - n0, - _PADRI, - {_sSI: _cPADRR, _smit: None}, - (_mo,), - ((DATA_RETENTION_MODE, 1),), -) - -PUT_ACCOUNT_DATA_RETENTION_OUTPUT: StaticSchema = ( - 18, - n0, - _PADRO, - {_sSI: _cPADRRo, _smith: None}, - (_mo, _uA), - ((DATA_RETENTION_MODE, 1), (TIMESTAMP, 0)), -) - -PUT_ACCOUNT_DATA_RETENTION: StaticOperationSchema = ( - 23, - n0, - _PADR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "PUT", "uri": "/data-retention"} - ) - }, - PUT_ACCOUNT_DATA_RETENTION_INPUT, - PUT_ACCOUNT_DATA_RETENTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DEGCI, - {_sSI: _cDEGCR, _smit: None}, - (_cI,), - ((ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID, 9),), -) - -DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DEGCO, - {_sSI: _cDEGCRo, _smith: None}, -) - -DELETE_ENFORCED_GUARDRAIL_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DEGC, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/enforcedGuardrailsConfiguration/{configId}", - } - ) - }, - DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT, - DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_ENFORCED_GUARDRAILS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _LEGCI, - {_sSI: _cLEGCR, _smit: None}, - (_nT,), - ((PAGINATION_TOKEN, {_sQ: _nT}),), -) - -LIST_ENFORCED_GUARDRAILS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _LEGCO, - {_sSI: _cLEGCRo, _smith: None}, - (_gCu, _nT), - ((ACCOUNT_ENFORCED_GUARDRAILS_OUTPUT_CONFIGURATION, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_ENFORCED_GUARDRAILS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _LEGC, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/enforcedGuardrailsConfiguration"} - ) - }, - LIST_ENFORCED_GUARDRAILS_CONFIGURATION_INPUT, - LIST_ENFORCED_GUARDRAILS_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PUT_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PEGCI, - {_sSI: _cPEGCR, _smit: None}, - (_cI, _gIC), - ( - (ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID, 0), - (ACCOUNT_ENFORCED_GUARDRAIL_INFERENCE_INPUT_CONFIGURATION, 1), - ), -) - -PUT_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PEGCO, - {_sSI: _cPEGCRo, _smith: None}, - (_cI, _uA, _uB), - ((ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID, 0), (TIMESTAMP, 0), (3, 0)), -) - -PUT_ENFORCED_GUARDRAIL_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PEGC, - { - _smithy: MappingProxyType( - {"code": 200, "method": "PUT", "uri": "/enforcedGuardrailsConfiguration"} - ) - }, - PUT_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT, - PUT_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -EVALUATION_JOB_IDENTIFIER: StaticSchema = (3, n0, _EJI, 4) - -EVALUATION_JOB_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _EJIv, - 0, - (_me,), - ((EVALUATION_JOB_IDENTIFIER, 0),), -) - -BATCH_DELETE_EVALUATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _BDEJI, - {_sSI: _cBDEJR, _smit: None}, - (_jI,), - ((EVALUATION_JOB_IDENTIFIERS, 1),), -) - -BATCH_DELETE_EVALUATION_JOB_ERROR: StaticSchema = ( - 18, - n0, - _BDEJE, - 0, - (_jIo, _co, _m), - ((EVALUATION_JOB_IDENTIFIER, 1), (3, 1), (3, 0)), -) - -BATCH_DELETE_EVALUATION_JOB_ERRORS: StaticSchema = ( - 16, - n0, - _BDEJEa, - 0, - (_me,), - ((BATCH_DELETE_EVALUATION_JOB_ERROR, 0),), -) - -EVALUATION_JOB_STATUS: StaticSchema = ( - 14, - n0, - _EJS, - 0, - (_IP, _COMPLETED, _FAILED, _STOPPING, _STOPPED, _DELETING), - ( - (-1, {_sV: _IPn}), - (-1, {_sV: _C}), - (-1, {_sV: _F}), - (-1, {_sV: _S}), - (-1, {_sV: _St}), - (-1, {_sV: _D}), - ), -) - -BATCH_DELETE_EVALUATION_JOB_ITEM: StaticSchema = ( - 18, - n0, - _BDEJIa, - 0, - (_jIo, _jS), - ((EVALUATION_JOB_IDENTIFIER, 1), (EVALUATION_JOB_STATUS, 1)), -) - -BATCH_DELETE_EVALUATION_JOB_ITEMS: StaticSchema = ( - 16, - n0, - _BDEJIat, - 0, - (_me,), - ((BATCH_DELETE_EVALUATION_JOB_ITEM, 0),), -) - -BATCH_DELETE_EVALUATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _BDEJO, - {_sSI: _cBDEJRo, _smith: None}, - (_e, _eJ), - ((BATCH_DELETE_EVALUATION_JOB_ERRORS, 1), (BATCH_DELETE_EVALUATION_JOB_ITEMS, 1)), -) - -BATCH_DELETE_EVALUATION_JOB: StaticOperationSchema = ( - 23, - n0, - _BDEJ, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/evaluation-jobs/batch-delete"} - ) - }, - BATCH_DELETE_EVALUATION_JOB_INPUT, - BATCH_DELETE_EVALUATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -APPLICATION_TYPE: StaticSchema = ( - 14, - n0, - _ATp, - 0, - (_ME_, _RE_), - ((-1, {_sV: _MEo}), (-1, {_sV: _REa})), -) - -CUSTOM_METRIC_INSTRUCTIONS: StaticSchema = (3, n0, _CMI, 0) - -METRIC_NAME: StaticSchema = (3, n0, _MNe, 4) - -RATING_SCALE_ITEM_DEFINITION: StaticSchema = (3, n0, _RSID, 0) - -RATING_SCALE_ITEM_VALUE: StaticSchema = ( - 19, - n0, - _RSIV, - 0, - (_sVt, _fV), - ((3, 0), (9, 0)), -) - -RATING_SCALE_ITEM: StaticSchema = ( - 18, - n0, - _RSI, - 0, - (_def, _v), - ((RATING_SCALE_ITEM_DEFINITION, 1), (RATING_SCALE_ITEM_VALUE, 1)), -) - -RATING_SCALE: StaticSchema = (16, n0, _RS, 0, (_me,), ((RATING_SCALE_ITEM, 0),)) - -CUSTOM_METRIC_DEFINITION: StaticSchema = ( - 18, - n0, - _CMD, - 4, - (_n, _ins, _rS), - ((METRIC_NAME, 1), (CUSTOM_METRIC_INSTRUCTIONS, 1), (RATING_SCALE, 0)), -) - -AUTOMATED_EVALUATION_CUSTOM_METRIC_SOURCE: StaticSchema = ( - 19, - n0, - _AECMS, - 0, - (_cMD,), - ((CUSTOM_METRIC_DEFINITION, 0),), -) - -AUTOMATED_EVALUATION_CUSTOM_METRICS: StaticSchema = ( - 16, - n0, - _AECM, - 0, - (_me,), - ((AUTOMATED_EVALUATION_CUSTOM_METRIC_SOURCE, 0),), -) - -EVALUATOR_MODEL_IDENTIFIER: StaticSchema = (3, n0, _EMIv, 0) - -CUSTOM_METRIC_BEDROCK_EVALUATOR_MODEL: StaticSchema = ( - 18, - n0, - _CMBEM, - 0, - (_mIo,), - ((EVALUATOR_MODEL_IDENTIFIER, 1),), -) - -CUSTOM_METRIC_BEDROCK_EVALUATOR_MODELS: StaticSchema = ( - 16, - n0, - _CMBEMu, - 0, - (_me,), - ((CUSTOM_METRIC_BEDROCK_EVALUATOR_MODEL, 0),), -) - -CUSTOM_METRIC_EVALUATOR_MODEL_CONFIG: StaticSchema = ( - 18, - n0, - _CMEMC, - 0, - (_bEM,), - ((CUSTOM_METRIC_BEDROCK_EVALUATOR_MODELS, 1),), -) - -AUTOMATED_EVALUATION_CUSTOM_METRIC_CONFIG: StaticSchema = ( - 18, - n0, - _AECMC, - 0, - (_cM, _eMC), - ( - (AUTOMATED_EVALUATION_CUSTOM_METRICS, 1), - (CUSTOM_METRIC_EVALUATOR_MODEL_CONFIG, 1), - ), -) - -EVALUATION_DATASET_LOCATION: StaticSchema = (19, n0, _EDL, 0, (_sU,), ((S3_URI, 0),)) - -EVALUATION_DATASET_NAME: StaticSchema = (3, n0, _EDN, 4) - -EVALUATION_DATASET: StaticSchema = ( - 18, - n0, - _ED, - 0, - (_n, _dL), - ((EVALUATION_DATASET_NAME, 1), (EVALUATION_DATASET_LOCATION, 0)), -) - -EVALUATION_METRIC_NAME: StaticSchema = (3, n0, _EMN, 4) - -EVALUATION_METRIC_NAMES: StaticSchema = ( - 16, - n0, - _EMNv, - 0, - (_me,), - ((EVALUATION_METRIC_NAME, 0),), -) - -EVALUATION_TASK_TYPE: StaticSchema = ( - 14, - n0, - _ETT, - 0, - (_SUMMARIZATION, _CLASSIFICATION, _QAA, _GENERATION, _CUSTOM), - ( - (-1, {_sV: _Su}), - (-1, {_sV: _Cl}), - (-1, {_sV: _QAAu}), - (-1, {_sV: _G}), - (-1, {_sV: _Cu}), - ), -) - -EVALUATION_DATASET_METRIC_CONFIG: StaticSchema = ( - 18, - n0, - _EDMC, - 0, - (_tT, _da, _mNe), - ((EVALUATION_TASK_TYPE, 1), (EVALUATION_DATASET, 1), (EVALUATION_METRIC_NAMES, 1)), -) - -EVALUATION_DATASET_METRIC_CONFIGS: StaticSchema = ( - 16, - n0, - _EDMCv, - 0, - (_me,), - ((EVALUATION_DATASET_METRIC_CONFIG, 0),), -) - -BEDROCK_EVALUATOR_MODEL: StaticSchema = ( - 18, - n0, - _BEM, - 0, - (_mIo,), - ((EVALUATOR_MODEL_IDENTIFIER, 1),), -) - -BEDROCK_EVALUATOR_MODELS: StaticSchema = ( - 16, - n0, - _BEMe, - 0, - (_me,), - ((BEDROCK_EVALUATOR_MODEL, 0),), -) - -EVALUATOR_MODEL_CONFIG: StaticSchema = ( - 19, - n0, - _EMC, - 0, - (_bEM,), - ((BEDROCK_EVALUATOR_MODELS, 0),), -) - -AUTOMATED_EVALUATION_CONFIG: StaticSchema = ( - 18, - n0, - _AEC, - 0, - (_dMC, _eMC, _cMC), - ( - (EVALUATION_DATASET_METRIC_CONFIGS, 1), - (EVALUATOR_MODEL_CONFIG, 0), - (AUTOMATED_EVALUATION_CUSTOM_METRIC_CONFIG, 0), - ), -) - -EVALUATION_METRIC_DESCRIPTION: StaticSchema = (3, n0, _EMD, 4) - -EVALUATION_RATING_METHOD: StaticSchema = (3, n0, _ERM, 0) - -HUMAN_EVALUATION_CUSTOM_METRIC: StaticSchema = ( - 18, - n0, - _HECM, - 0, - (_n, _d, _rM), - ( - (EVALUATION_METRIC_NAME, 1), - (EVALUATION_METRIC_DESCRIPTION, 0), - (EVALUATION_RATING_METHOD, 1), - ), -) - -HUMAN_EVALUATION_CUSTOM_METRICS: StaticSchema = ( - 16, - n0, - _HECMu, - 0, - (_me,), - ((HUMAN_EVALUATION_CUSTOM_METRIC, 0),), -) - -SAGE_MAKER_FLOW_DEFINITION_ARN: StaticSchema = (3, n0, _SMFDA, 0) - -HUMAN_TASK_INSTRUCTIONS: StaticSchema = (3, n0, _HTI, 4) - -HUMAN_WORKFLOW_CONFIG: StaticSchema = ( - 18, - n0, - _HWC, - 0, - (_fDA, _ins), - ((SAGE_MAKER_FLOW_DEFINITION_ARN, 1), (HUMAN_TASK_INSTRUCTIONS, 0)), -) - -HUMAN_EVALUATION_CONFIG: StaticSchema = ( - 18, - n0, - _HEC, - 0, - (_hWC, _cM, _dMC), - ( - (HUMAN_WORKFLOW_CONFIG, 0), - (HUMAN_EVALUATION_CUSTOM_METRICS, 0), - (EVALUATION_DATASET_METRIC_CONFIGS, 1), - ), -) - -EVALUATION_CONFIG: StaticSchema = ( - 19, - n0, - _ECv, - 0, - (_au, _hu), - ((AUTOMATED_EVALUATION_CONFIG, 0), (HUMAN_EVALUATION_CONFIG, 0)), -) - -EVALUATION_MODEL_INFERENCE_PARAMS: StaticSchema = (3, n0, _EMIP, 4) - -EVALUATION_BEDROCK_MODEL_IDENTIFIER: StaticSchema = (3, n0, _EBMI, 0) - -PERFORMANCE_CONFIG_LATENCY: StaticSchema = ( - 14, - n0, - _PCL, - 0, - (_STANDARD, _OPTIMIZED), - ((-1, {_sV: _stan}), (-1, {_sV: _opt})), -) - -PERFORMANCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PCe, - 0, - (_la,), - ((PERFORMANCE_CONFIG_LATENCY, 0),), -) - -EVALUATION_BEDROCK_MODEL: StaticSchema = ( - 18, - n0, - _EBM, - 0, - (_mIo, _iP, _pC), - ( - (EVALUATION_BEDROCK_MODEL_IDENTIFIER, 1), - (EVALUATION_MODEL_INFERENCE_PARAMS, {_s: _v__}), - (PERFORMANCE_CONFIGURATION, 0), - ), -) - -EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIER: StaticSchema = (3, n0, _EPISI, 0) - -EVALUATION_PRECOMPUTED_INFERENCE_SOURCE: StaticSchema = ( - 18, - n0, - _EPIS, - 0, - (_iSI,), - ((EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIER, 1),), -) - -EVALUATION_MODEL_CONFIG: StaticSchema = ( - 19, - n0, - _EMCv, - 0, - (_bM, _pIS), - ((EVALUATION_BEDROCK_MODEL, 0), (EVALUATION_PRECOMPUTED_INFERENCE_SOURCE, 0)), -) - -EVALUATION_MODEL_CONFIGS: StaticSchema = ( - 16, - n0, - _EMCva, - 0, - (_me,), - ((EVALUATION_MODEL_CONFIG, 0),), -) - -GUARDRAIL_CONFIGURATION: StaticSchema = (18, n0, _GCu, 0, (_gIu, _gV), ((3, 1), (3, 1))) - -MAX_TOKENS: StaticSchema = (7, n0, _MT, 0) - -RAG_STOP_SEQUENCES: StaticSchema = (16, n0, _RAGSS, 0, (_me,), ((3, 0),)) - -TEMPERATURE: StaticSchema = (9, n0, _Te, 0) - -TOP_P: StaticSchema = (9, n0, _TP, 0) - -TEXT_INFERENCE_CONFIG: StaticSchema = ( - 18, - n0, - _TIC, - 0, - (_t, _tP, _mT, _sS), - ((TEMPERATURE, 0), (TOP_P, 0), (MAX_TOKENS, 0), (RAG_STOP_SEQUENCES, 0)), -) - -KB_INFERENCE_CONFIG: StaticSchema = ( - 18, - n0, - _KIC, - 0, - (_tIC,), - ((TEXT_INFERENCE_CONFIG, 0),), -) - -TEXT_PROMPT_TEMPLATE: StaticSchema = (3, n0, _TPT, 4) - -PROMPT_TEMPLATE: StaticSchema = (18, n0, _PTr, 0, (_tPT,), ((TEXT_PROMPT_TEMPLATE, 0),)) - -EXTERNAL_SOURCES_GENERATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ESGC, - 0, - (_pT, _gCua, _kIC, _aMRF), - ( - (PROMPT_TEMPLATE, 0), - (GUARDRAIL_CONFIGURATION, 0), - (KB_INFERENCE_CONFIG, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS, 0), - ), -) - -BEDROCK_MODEL_ARN: StaticSchema = (3, n0, _BMA, 0) - -CONTENT_TYPE: StaticSchema = (3, n0, _CTo, 0) - -BYTE_CONTENT_BLOB: StaticSchema = (1, n0, _BCB, 4) - -IDENTIFIER: StaticSchema = (3, n0, _I, 4) - -BYTE_CONTENT_DOC: StaticSchema = ( - 18, - n0, - _BCD, - 0, - (_id, _cTon, _dat), - ((IDENTIFIER, 1), (CONTENT_TYPE, 1), (BYTE_CONTENT_BLOB, 1)), -) - -K_BS3_URI: StaticSchema = (3, n0, _kBSU, 0) - -S3_OBJECT_DOC: StaticSchema = (18, n0, _SOD, 0, (_u,), ((K_BS3_URI, 1),)) - -EXTERNAL_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _EST, - 0, - (_S_, _BC), - ((-1, {_sV: _S_}), (-1, {_sV: _BC})), -) - -EXTERNAL_SOURCE: StaticSchema = ( - 18, - n0, - _ES, - 0, - (_sTo, _sLo, _bC), - ((EXTERNAL_SOURCE_TYPE, 1), (S3_OBJECT_DOC, 0), (BYTE_CONTENT_DOC, 0)), -) - -EXTERNAL_SOURCES: StaticSchema = (16, n0, _ESx, 0, (_me,), ((EXTERNAL_SOURCE, 0),)) - -EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ESRAGC, - 0, - (_mA, _so, _gCe), - ( - (BEDROCK_MODEL_ARN, 1), - (EXTERNAL_SOURCES, 1), - (EXTERNAL_SOURCES_GENERATION_CONFIGURATION, 0), - ), -) - -GENERATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _GCe, - 0, - (_pT, _gCua, _kIC, _aMRF), - ( - (PROMPT_TEMPLATE, 0), - (GUARDRAIL_CONFIGURATION, 0), - (KB_INFERENCE_CONFIG, 0), - (ADDITIONAL_MODEL_REQUEST_FIELDS, 0), - ), -) - -KNOWLEDGE_BASE_ID: StaticSchema = (3, n0, _KBI, 0) - -QUERY_TRANSFORMATION_TYPE: StaticSchema = (14, n0, _QTT, 0, (_QD,), ((-1, {_sV: _QD}),)) - -QUERY_TRANSFORMATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _QTC, - 0, - (_ty,), - ((QUERY_TRANSFORMATION_TYPE, 1),), -) - -ORCHESTRATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OC, - 0, - (_qTC,), - ((QUERY_TRANSFORMATION_CONFIGURATION, 1),), -) - -FILTER_KEY: StaticSchema = (3, n0, _FK, 0) - -FILTER_VALUE: StaticSchema = (13, n0, _FV, 0) - -FILTER_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _FA, - 0, - (_k, _v), - ((FILTER_KEY, 1), (FILTER_VALUE, 1)), -) - -ATTRIBUTE_TYPE: StaticSchema = ( - 14, - n0, - _ATt, - 0, - (_STRING, _NUMBER, _BOOLEAN, _SL), - ( - (-1, {_sV: _STRING}), - (-1, {_sV: _NUMBER}), - (-1, {_sV: _BOOLEAN}), - (-1, {_sV: _SL}), - ), -) - -METADATA_ATTRIBUTE_SCHEMA: StaticSchema = ( - 18, - n0, - _MAS, - 4, - (_k, _ty, _d), - ((3, 1), (ATTRIBUTE_TYPE, 1), (3, 1)), -) - -METADATA_ATTRIBUTE_SCHEMA_LIST: StaticSchema = ( - 16, - n0, - _MASL, - 0, - (_me,), - ((METADATA_ATTRIBUTE_SCHEMA, 0),), -) - -IMPLICIT_FILTER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IFC, - 0, - (_mAe, _mA), - ((METADATA_ATTRIBUTE_SCHEMA_LIST, 1), (BEDROCK_MODEL_ARN, 1)), -) - -SEARCH_TYPE: StaticSchema = ( - 14, - n0, - _ST, - 0, - (_HYBRID, _SEMANTIC), - ((-1, {_sV: _HYBRID}), (-1, {_sV: _SEMANTIC})), -) - -RERANKING_METADATA_SELECTION_MODE: StaticSchema = ( - 14, - n0, - _RMSM, - 0, - (_SELECTIVE, _ALL), - ((-1, {_sV: _SELECTIVE}), (-1, {_sV: _ALL})), -) - -FIELD_FOR_RERANKING: StaticSchema = (18, n0, _FFR, 0, (_fN,), ((3, 1),)) - -FIELDS_FOR_RERANKING: StaticSchema = ( - 16, - n0, - _FFRi, - 4, - (_me,), - ((FIELD_FOR_RERANKING, 0),), -) - -RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _RMSMC, - 0, - (_fTI, _fTE), - ((FIELDS_FOR_RERANKING, 0), (FIELDS_FOR_RERANKING, 0)), -) - -METADATA_CONFIGURATION_FOR_RERANKING: StaticSchema = ( - 18, - n0, - _MCFR, - 0, - (_sMe, _sMC), - ( - (RERANKING_METADATA_SELECTION_MODE, 1), - (RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION, 0), - ), -) - -BEDROCK_RERANKING_MODEL_ARN: StaticSchema = (3, n0, _BRMA, 0) - -VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSBRMC, - 0, - (_mA, _aMRF), - ((BEDROCK_RERANKING_MODEL_ARN, 1), (ADDITIONAL_MODEL_REQUEST_FIELDS, 0)), -) - -VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSBRC, - 0, - (_mCo, _nORR, _mCe), - ( - (VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1), - (7, 0), - (METADATA_CONFIGURATION_FOR_RERANKING, 0), - ), -) - -VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _VSRCT, - 0, - (_BRM,), - ((-1, {_sV: _BRM}),), -) - -VECTOR_SEARCH_RERANKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VSRC, - 0, - (_ty, _bRC), - ( - (VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE, 1), - (VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION, 0), - ), -) - -RETRIEVE_AND_GENERATE_TYPE: StaticSchema = ( - 14, - n0, - _RAGT, - 0, - (_KB, _ES_), - ((-1, {_sV: _KB}), (-1, {_sV: _ES_})), -) - -EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIER: StaticSchema = (3, n0, _EPRSI, 0) - -EVALUATION_PRECOMPUTED_RETRIEVE_AND_GENERATE_SOURCE_CONFIG: StaticSchema = ( - 18, - n0, - _EPRAGSC, - 0, - (_rSI,), - ((EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIER, 1),), -) - -EVALUATION_PRECOMPUTED_RETRIEVE_SOURCE_CONFIG: StaticSchema = ( - 18, - n0, - _EPRSC, - 0, - (_rSI,), - ((EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIER, 1),), -) - -EVALUATION_PRECOMPUTED_RAG_SOURCE_CONFIG: StaticSchema = ( - 19, - n0, - _EPRSCv, - 0, - (_rSC, _rAGSC), - ( - (EVALUATION_PRECOMPUTED_RETRIEVE_SOURCE_CONFIG, 0), - (EVALUATION_PRECOMPUTED_RETRIEVE_AND_GENERATE_SOURCE_CONFIG, 0), - ), -) - -EVALUATION_JOB_DESCRIPTION: StaticSchema = (3, n0, _EJD, 4) - -EVALUATION_JOB_NAME: StaticSchema = (3, n0, _EJN, 0) - -EVALUATION_OUTPUT_DATA_CONFIG: StaticSchema = (18, n0, _EODC, 0, (_sU,), ((S3_URI, 1),)) - -EVALUATION_JOB_ARN: StaticSchema = (3, n0, _EJA, 0) - -CREATE_EVALUATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _CEJO, - {_sSI: _cCEJR, _smith: None}, - (_jA,), - ((EVALUATION_JOB_ARN, 1),), -) - -GET_EVALUATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _GEJI, - {_sSI: _cGEJR, _smit: None}, - (_jIo,), - ((EVALUATION_JOB_IDENTIFIER, 9),), -) - -ERROR_MESSAGES: StaticSchema = (16, n0, _EMr, 0, (_me,), ((ERROR_MESSAGE, 0),)) - -EVALUATION_JOB_TYPE: StaticSchema = ( - 14, - n0, - _EJT, - 0, - (_HUMAN, _AUTOMATED), - ((-1, {_sV: _H}), (-1, {_sV: _Au})), -) - -LIST_EVALUATION_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LEJI, - {_sSI: _cLEJR, _smit: None}, - (_cTA, _cTB, _sEt, _aTE, _nC, _mR, _nT, _sB, _sO), - ( - (TIMESTAMP, {_sQ: _cTA}), - (TIMESTAMP, {_sQ: _cTB}), - (EVALUATION_JOB_STATUS, {_sQ: _sEt}), - (APPLICATION_TYPE, {_sQ: _aTE}), - (EVALUATION_JOB_NAME, {_sQ: _nC}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_JOBS_BY, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - ), -) - -EVALUATOR_MODEL_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _EMIva, - 0, - (_me,), - ((EVALUATOR_MODEL_IDENTIFIER, 0),), -) - -EVALUATION_TASK_TYPES: StaticSchema = ( - 16, - n0, - _ETTv, - 0, - (_me,), - ((EVALUATION_TASK_TYPE, 0),), -) - -EVALUATION_BEDROCK_MODEL_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _EBMIv, - 0, - (_me,), - ((EVALUATION_BEDROCK_MODEL_IDENTIFIER, 0),), -) - -EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _EPISIv, - 0, - (_me,), - ((EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIER, 0),), -) - -EVALUATION_MODEL_CONFIG_SUMMARY: StaticSchema = ( - 18, - n0, - _EMCS, - 0, - (_bMI, _pISI), - ( - (EVALUATION_BEDROCK_MODEL_IDENTIFIERS, 0), - (EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIERS, 0), - ), -) - -EVALUATION_BEDROCK_KNOWLEDGE_BASE_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _EBKBI, - 0, - (_me,), - ((KNOWLEDGE_BASE_ID, 0),), -) - -EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _EPRSIv, - 0, - (_me,), - ((EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIER, 0),), -) - -EVALUATION_RAG_CONFIG_SUMMARY: StaticSchema = ( - 18, - n0, - _ERCS, - 0, - (_bKBI, _pRSI), - ( - (EVALUATION_BEDROCK_KNOWLEDGE_BASE_IDENTIFIERS, 0), - (EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIERS, 0), - ), -) - -EVALUATION_INFERENCE_CONFIG_SUMMARY: StaticSchema = ( - 18, - n0, - _EICS, - 0, - (_mCS, _rCS), - ((EVALUATION_MODEL_CONFIG_SUMMARY, 0), (EVALUATION_RAG_CONFIG_SUMMARY, 0)), -) - -EVALUATION_SUMMARY: StaticSchema = ( - 18, - n0, - _ESv, - 0, - (_jA, _jN, _st, _cTr, _jT, _eTT, _mIod, _rIa, _eMI, _cMEMI, _iCS, _aTp), - ( - (EVALUATION_JOB_ARN, 1), - (EVALUATION_JOB_NAME, 1), - (EVALUATION_JOB_STATUS, 1), - (TIMESTAMP, 1), - (EVALUATION_JOB_TYPE, 1), - (EVALUATION_TASK_TYPES, 1), - (EVALUATION_BEDROCK_MODEL_IDENTIFIERS, {_s: ()}), - (EVALUATION_BEDROCK_KNOWLEDGE_BASE_IDENTIFIERS, 0), - (EVALUATOR_MODEL_IDENTIFIERS, 0), - (EVALUATOR_MODEL_IDENTIFIERS, 0), - (EVALUATION_INFERENCE_CONFIG_SUMMARY, 0), - (APPLICATION_TYPE, 0), - ), -) - -EVALUATION_SUMMARIES: StaticSchema = ( - 16, - n0, - _ESva, - 0, - (_me,), - ((EVALUATION_SUMMARY, 0),), -) - -LIST_EVALUATION_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LEJO, - {_sSI: _cLEJRo, _smith: None}, - (_nT, _jSo), - ((PAGINATION_TOKEN, 0), (EVALUATION_SUMMARIES, 0)), -) - -LIST_EVALUATION_JOBS: StaticOperationSchema = ( - 23, - n0, - _LEJ, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/evaluation-jobs"} - ) - }, - LIST_EVALUATION_JOBS_INPUT, - LIST_EVALUATION_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_EVALUATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SEJI, - {_sSI: _cSEJR, _smit: None}, - (_jIo,), - ((EVALUATION_JOB_IDENTIFIER, 9),), -) - -STOP_EVALUATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SEJO, - {_sSI: _cSEJRo, _smith: None}, -) - -STOP_EVALUATION_JOB: StaticOperationSchema = ( - 23, - n0, - _SEJ, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/evaluation-job/{jobIdentifier}/stop", - } - ) - }, - STOP_EVALUATION_JOB_INPUT, - STOP_EVALUATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AUTOMATED_REASONING_CONFIDENCE_FILTER_THRESHOLD: StaticSchema = (10, n0, _ARCFT, 0) - -AUTOMATED_REASONING_POLICY_ARN_LIST: StaticSchema = ( - 16, - n0, - _ARPALut, - 0, - (_me,), - ((AUTOMATED_REASONING_POLICY_ARN, 0),), -) - -GUARDRAIL_AUTOMATED_REASONING_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _GARPC, - 0, - (_po, _cTo), - ( - (AUTOMATED_REASONING_POLICY_ARN_LIST, 1), - (AUTOMATED_REASONING_CONFIDENCE_FILTER_THRESHOLD, 0), - ), -) - -GUARDRAIL_BLOCKED_MESSAGING: StaticSchema = (3, n0, _GBM, 4) - -GUARDRAIL_CONTENT_FILTER_ACTION: StaticSchema = ( - 14, - n0, - _GCFA, - 4, - (_BLOCK, _NONE), - ((-1, {_sV: _BLOCK}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_MODALITY: StaticSchema = ( - 14, - n0, - _GM, - 4, - (_TEXT, _IMAGE), - ((-1, {_sV: _TEXT}), (-1, {_sV: _IMAGE})), -) - -GUARDRAIL_MODALITIES: StaticSchema = ( - 16, - n0, - _GMu, - 0, - (_me,), - ((GUARDRAIL_MODALITY, 0),), -) - -GUARDRAIL_FILTER_STRENGTH: StaticSchema = ( - 14, - n0, - _GFS, - 0, - (_NONE, _LOW, _MEDIUM, _HIGH), - ((-1, {_sV: _NONE}), (-1, {_sV: _LOW}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _HIGH})), -) - -GUARDRAIL_CONTENT_FILTER_TYPE: StaticSchema = ( - 14, - n0, - _GCFT, - 0, - (_SEXUAL, _VIOLENCE, _HATE, _INSULTS, _MISCONDUCT, _PA), - ( - (-1, {_sV: _SEXUAL}), - (-1, {_sV: _VIOLENCE}), - (-1, {_sV: _HATE}), - (-1, {_sV: _INSULTS}), - (-1, {_sV: _MISCONDUCT}), - (-1, {_sV: _PA}), - ), -) - -GUARDRAIL_CONTENT_FILTER_CONFIG: StaticSchema = ( - 18, - n0, - _GCFC, - 0, - (_ty, _iS, _oS, _iMn, _oM, _iA, _oAu, _iE, _oE), - ( - (GUARDRAIL_CONTENT_FILTER_TYPE, 1), - (GUARDRAIL_FILTER_STRENGTH, 1), - (GUARDRAIL_FILTER_STRENGTH, 1), - (GUARDRAIL_MODALITIES, 0), - (GUARDRAIL_MODALITIES, 0), - (GUARDRAIL_CONTENT_FILTER_ACTION, 0), - (GUARDRAIL_CONTENT_FILTER_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_CONTENT_FILTERS_CONFIG: StaticSchema = ( - 16, - n0, - _GCFCu, - 0, - (_me,), - ((GUARDRAIL_CONTENT_FILTER_CONFIG, 0),), -) - -GUARDRAIL_CONTENT_FILTERS_TIER_NAME: StaticSchema = ( - 14, - n0, - _GCFTN, - 4, - (_CLASSIC, _STANDARD), - ((-1, {_sV: _CLASSIC}), (-1, {_sV: _STANDARD})), -) - -GUARDRAIL_CONTENT_FILTERS_TIER_CONFIG: StaticSchema = ( - 18, - n0, - _GCFTC, - 0, - (_tNi,), - ((GUARDRAIL_CONTENT_FILTERS_TIER_NAME, 1),), -) - -GUARDRAIL_CONTENT_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _GCPC, - 0, - (_fC, _tCi), - ((GUARDRAIL_CONTENT_FILTERS_CONFIG, 1), (GUARDRAIL_CONTENT_FILTERS_TIER_CONFIG, 0)), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_ACTION: StaticSchema = ( - 14, - n0, - _GCGA, - 4, - (_BLOCK, _NONE), - ((-1, {_sV: _BLOCK}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE: StaticSchema = ( - 14, - n0, - _GCGFT, - 0, - (_GROUNDING, _RELEVANCE), - ((-1, {_sV: _GROUNDING}), (-1, {_sV: _RELEVANCE})), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_CONFIG: StaticSchema = ( - 18, - n0, - _GCGFC, - 0, - (_ty, _th, _ac, _ena), - ( - (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE, 1), - (10, 1), - (GUARDRAIL_CONTEXTUAL_GROUNDING_ACTION, 0), - (2, 0), - ), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS_CONFIG: StaticSchema = ( - 16, - n0, - _GCGFCu, - 0, - (_me,), - ((GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_CONFIG, 0),), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_NAME: StaticSchema = ( - 14, - n0, - _GCGTN, - 4, - (_CLASSIC, _STANDARD), - ((-1, {_sV: _CLASSIC}), (-1, {_sV: _STANDARD})), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_CONFIG: StaticSchema = ( - 18, - n0, - _GCGTC, - 0, - (_tNi,), - ((GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_NAME, 1),), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _GCGPC, - 0, - (_fC, _tCi), - ( - (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS_CONFIG, 1), - (GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_CONFIG, 0), - ), -) - -GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_IDENTIFIER: StaticSchema = (3, n0, _GCRGPI, 0) - -GUARDRAIL_CROSS_REGION_CONFIG: StaticSchema = ( - 18, - n0, - _GCRC, - 0, - (_gPI,), - ((GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_IDENTIFIER, 1),), -) - -GUARDRAIL_DESCRIPTION: StaticSchema = (3, n0, _GD, 4) - -GUARDRAIL_NAME: StaticSchema = (3, n0, _GN, 4) - -GUARDRAIL_SENSITIVE_INFORMATION_ACTION: StaticSchema = ( - 14, - n0, - _GSIA, - 0, - (_BLOCK, _ANONYMIZE, _NONE), - ((-1, {_sV: _BLOCK}), (-1, {_sV: _ANONYMIZE}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_PII_ENTITY_TYPE: StaticSchema = ( - 14, - n0, - _GPET, - 0, - ( - _ADDRESS, - _AGE, - _AAK, - _ASK, - _CHN, - _CSIN, - _CDCC, - _CDCE, - _CDCN, - _DI, - _EMAIL, - _IBAN, - _IA, - _LP, - _MA_, - _NAME, - _PASSWORD, - _PHONE, - _PIN, - _SC, - _UNHSN, - _UNIN, - _UUTRN, - _URL, - _USERNAME, - _UBAN, - _UBRN, - _UITIN, - _UPN, - _USSN, - _VIN, - ), - ( - (-1, {_sV: _ADDRESS}), - (-1, {_sV: _AGE}), - (-1, {_sV: _AAK}), - (-1, {_sV: _ASK}), - (-1, {_sV: _CHN}), - (-1, {_sV: _CSIN}), - (-1, {_sV: _CDCC}), - (-1, {_sV: _CDCE}), - (-1, {_sV: _CDCN}), - (-1, {_sV: _DI}), - (-1, {_sV: _EMAIL}), - (-1, {_sV: _IBAN}), - (-1, {_sV: _IA}), - (-1, {_sV: _LP}), - (-1, {_sV: _MA_}), - (-1, {_sV: _NAME}), - (-1, {_sV: _PASSWORD}), - (-1, {_sV: _PHONE}), - (-1, {_sV: _PIN}), - (-1, {_sV: _SC}), - (-1, {_sV: _UNHSN}), - (-1, {_sV: _UNIN}), - (-1, {_sV: _UUTRN}), - (-1, {_sV: _URL}), - (-1, {_sV: _USERNAME}), - (-1, {_sV: _UBAN}), - (-1, {_sV: _UBRN}), - (-1, {_sV: _UITIN}), - (-1, {_sV: _UPN}), - (-1, {_sV: _USSN}), - (-1, {_sV: _VIN}), - ), -) - -GUARDRAIL_PII_ENTITY_CONFIG: StaticSchema = ( - 18, - n0, - _GPEC, - 0, - (_ty, _ac, _iA, _oAu, _iE, _oE), - ( - (GUARDRAIL_PII_ENTITY_TYPE, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_PII_ENTITIES_CONFIG: StaticSchema = ( - 16, - n0, - _GPECu, - 0, - (_me,), - ((GUARDRAIL_PII_ENTITY_CONFIG, 0),), -) - -GUARDRAIL_REGEX_CONFIG: StaticSchema = ( - 18, - n0, - _GRC, - 0, - (_n, _d, _pa, _ac, _iA, _oAu, _iE, _oE), - ( - (3, 1), - (3, 0), - (3, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_REGEXES_CONFIG: StaticSchema = ( - 16, - n0, - _GRCu, - 0, - (_me,), - ((GUARDRAIL_REGEX_CONFIG, 0),), -) - -GUARDRAIL_SENSITIVE_INFORMATION_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _GSIPC, - 0, - (_pEC, _rCe), - ((GUARDRAIL_PII_ENTITIES_CONFIG, 0), (GUARDRAIL_REGEXES_CONFIG, 0)), -) - -GUARDRAIL_TOPICS_TIER_NAME: StaticSchema = ( - 14, - n0, - _GTTN, - 4, - (_CLASSIC, _STANDARD), - ((-1, {_sV: _CLASSIC}), (-1, {_sV: _STANDARD})), -) - -GUARDRAIL_TOPICS_TIER_CONFIG: StaticSchema = ( - 18, - n0, - _GTTC, - 0, - (_tNi,), - ((GUARDRAIL_TOPICS_TIER_NAME, 1),), -) - -GUARDRAIL_TOPIC_DEFINITION: StaticSchema = (3, n0, _GTD, 4) - -GUARDRAIL_TOPIC_EXAMPLE: StaticSchema = (3, n0, _GTE, 4) - -GUARDRAIL_TOPIC_EXAMPLES: StaticSchema = ( - 16, - n0, - _GTEu, - 0, - (_me,), - ((GUARDRAIL_TOPIC_EXAMPLE, 0),), -) - -GUARDRAIL_TOPIC_ACTION: StaticSchema = ( - 14, - n0, - _GTA, - 4, - (_BLOCK, _NONE), - ((-1, {_sV: _BLOCK}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_TOPIC_NAME: StaticSchema = (3, n0, _GTN, 4) - -GUARDRAIL_TOPIC_TYPE: StaticSchema = (14, n0, _GTT, 0, (_DENY,), ((-1, {_sV: _DENY}),)) - -GUARDRAIL_TOPIC_CONFIG: StaticSchema = ( - 18, - n0, - _GTCu, - 0, - (_n, _def, _exa, _ty, _iA, _oAu, _iE, _oE), - ( - (GUARDRAIL_TOPIC_NAME, 1), - (GUARDRAIL_TOPIC_DEFINITION, 1), - (GUARDRAIL_TOPIC_EXAMPLES, 0), - (GUARDRAIL_TOPIC_TYPE, 1), - (GUARDRAIL_TOPIC_ACTION, 0), - (GUARDRAIL_TOPIC_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_TOPICS_CONFIG: StaticSchema = ( - 16, - n0, - _GTCua, - 0, - (_me,), - ((GUARDRAIL_TOPIC_CONFIG, 0),), -) - -GUARDRAIL_TOPIC_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _GTPC, - 0, - (_tCop, _tCi), - ((GUARDRAIL_TOPICS_CONFIG, 1), (GUARDRAIL_TOPICS_TIER_CONFIG, 0)), -) - -GUARDRAIL_WORD_ACTION: StaticSchema = ( - 14, - n0, - _GWA, - 4, - (_BLOCK, _NONE), - ((-1, {_sV: _BLOCK}), (-1, {_sV: _NONE})), -) - -GUARDRAIL_MANAGED_WORDS_TYPE: StaticSchema = ( - 14, - n0, - _GMWT, - 0, - (_PROFANITY,), - ((-1, {_sV: _PROFANITY}),), -) - -GUARDRAIL_MANAGED_WORDS_CONFIG: StaticSchema = ( - 18, - n0, - _GMWC, - 0, - (_ty, _iA, _oAu, _iE, _oE), - ( - (GUARDRAIL_MANAGED_WORDS_TYPE, 1), - (GUARDRAIL_WORD_ACTION, 0), - (GUARDRAIL_WORD_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_MANAGED_WORD_LISTS_CONFIG: StaticSchema = ( - 16, - n0, - _GMWLC, - 0, - (_me,), - ((GUARDRAIL_MANAGED_WORDS_CONFIG, 0),), -) - -GUARDRAIL_WORD_CONFIG: StaticSchema = ( - 18, - n0, - _GWC, - 0, - (_te, _iA, _oAu, _iE, _oE), - ((3, 1), (GUARDRAIL_WORD_ACTION, 0), (GUARDRAIL_WORD_ACTION, 0), (2, 0), (2, 0)), -) - -GUARDRAIL_WORDS_CONFIG: StaticSchema = ( - 16, - n0, - _GWCu, - 0, - (_me,), - ((GUARDRAIL_WORD_CONFIG, 0),), -) - -GUARDRAIL_WORD_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _GWPC, - 0, - (_wCo, _mWLC), - ((GUARDRAIL_WORDS_CONFIG, 0), (GUARDRAIL_MANAGED_WORD_LISTS_CONFIG, 0)), -) - -CREATE_GUARDRAIL_INPUT: StaticSchema = ( - 18, - n0, - _CGI, - {_sSI: _cCGR, _smit: None}, - (_n, _d, _tPC, _cPC, _wPC, _sIPC, _cGPC, _aRPC, _cRC, _bIM, _bOM, _kKI, _ta, _cRT), - ( - (GUARDRAIL_NAME, 1), - (GUARDRAIL_DESCRIPTION, 0), - (GUARDRAIL_TOPIC_POLICY_CONFIG, 0), - (GUARDRAIL_CONTENT_POLICY_CONFIG, 0), - (GUARDRAIL_WORD_POLICY_CONFIG, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_CONFIG, 0), - (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_CONFIG, 0), - (GUARDRAIL_AUTOMATED_REASONING_POLICY_CONFIG, 0), - (GUARDRAIL_CROSS_REGION_CONFIG, 0), - (GUARDRAIL_BLOCKED_MESSAGING, 1), - (GUARDRAIL_BLOCKED_MESSAGING, 1), - (KMS_KEY_ID, 0), - (TAG_LIST, 0), - (IDEMPOTENCY_TOKEN, 2), - ), -) - -GUARDRAIL_DRAFT_VERSION: StaticSchema = (3, n0, _GDV, 0) - -CREATE_GUARDRAIL_OUTPUT: StaticSchema = ( - 18, - n0, - _CGO, - {_sSI: _cCGRo, _smith: None}, - (_gIu, _gA, _ve, _cA), - ( - (GUARDRAIL_ID, 1), - (GUARDRAIL_ARN, 1), - (GUARDRAIL_DRAFT_VERSION, 1), - (TIMESTAMP, 1), - ), -) - -CREATE_GUARDRAIL: StaticOperationSchema = ( - 23, - n0, - _CG, - {_smithy: MappingProxyType({"code": 202, "method": "POST", "uri": "/guardrails"})}, - CREATE_GUARDRAIL_INPUT, - CREATE_GUARDRAIL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_GUARDRAIL_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CGVI, - {_sSI: _cCGVR, _smit: None}, - (_gI, _d, _cRT), - ((GUARDRAIL_IDENTIFIER, 9), (GUARDRAIL_DESCRIPTION, 0), (IDEMPOTENCY_TOKEN, 2)), -) - -CREATE_GUARDRAIL_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CGVO, - {_sSI: _cCGVRo, _smith: None}, - (_gIu, _ve), - ((GUARDRAIL_ID, 1), (GUARDRAIL_NUMERICAL_VERSION, 1)), -) - -CREATE_GUARDRAIL_VERSION: StaticOperationSchema = ( - 23, - n0, - _CGV, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/guardrails/{guardrailIdentifier}"} - ) - }, - CREATE_GUARDRAIL_VERSION_INPUT, - CREATE_GUARDRAIL_VERSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_GUARDRAIL_INPUT: StaticSchema = ( - 18, - n0, - _DGI, - {_sSI: _cDGR, _smit: None}, - (_gI, _gV), - ((GUARDRAIL_IDENTIFIER, 9), (GUARDRAIL_NUMERICAL_VERSION, {_sQ: _gV})), -) - -DELETE_GUARDRAIL_OUTPUT: StaticSchema = (18, n0, _DGO, {_sSI: _cDGRo, _smith: None}) - -DELETE_GUARDRAIL: StaticOperationSchema = ( - 23, - n0, - _DG, - { - _smithy: MappingProxyType( - { - "code": 202, - "method": "DELETE", - "uri": "/guardrails/{guardrailIdentifier}", - } - ) - }, - DELETE_GUARDRAIL_INPUT, - DELETE_GUARDRAIL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GUARDRAIL_VERSION: StaticSchema = (3, n0, _GV, 0) - -GET_GUARDRAIL_INPUT: StaticSchema = ( - 18, - n0, - _GGI, - {_sSI: _cGGR, _smit: None}, - (_gI, _gV), - ((GUARDRAIL_IDENTIFIER, 9), (GUARDRAIL_VERSION, {_sQ: _gV})), -) - -GUARDRAIL_AUTOMATED_REASONING_POLICY: StaticSchema = ( - 18, - n0, - _GARPu, - 0, - (_po, _cTo), - ( - (AUTOMATED_REASONING_POLICY_ARN_LIST, 1), - (AUTOMATED_REASONING_CONFIDENCE_FILTER_THRESHOLD, 0), - ), -) - -GUARDRAIL_CONTENT_FILTER: StaticSchema = ( - 18, - n0, - _GCF, - 0, - (_ty, _iS, _oS, _iMn, _oM, _iA, _oAu, _iE, _oE), - ( - (GUARDRAIL_CONTENT_FILTER_TYPE, 1), - (GUARDRAIL_FILTER_STRENGTH, 1), - (GUARDRAIL_FILTER_STRENGTH, 1), - (GUARDRAIL_MODALITIES, 0), - (GUARDRAIL_MODALITIES, 0), - (GUARDRAIL_CONTENT_FILTER_ACTION, 0), - (GUARDRAIL_CONTENT_FILTER_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_CONTENT_FILTERS: StaticSchema = ( - 16, - n0, - _GCFu, - 0, - (_me,), - ((GUARDRAIL_CONTENT_FILTER, 0),), -) - -GUARDRAIL_CONTENT_FILTERS_TIER: StaticSchema = ( - 18, - n0, - _GCFTu, - 0, - (_tNi,), - ((GUARDRAIL_CONTENT_FILTERS_TIER_NAME, 1),), -) - -GUARDRAIL_CONTENT_POLICY: StaticSchema = ( - 18, - n0, - _GCP, - 0, - (_fi, _ti), - ((GUARDRAIL_CONTENT_FILTERS, 0), (GUARDRAIL_CONTENT_FILTERS_TIER, 0)), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER: StaticSchema = ( - 18, - n0, - _GCGF, - 0, - (_ty, _th, _ac, _ena), - ( - (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE, 1), - (10, 1), - (GUARDRAIL_CONTEXTUAL_GROUNDING_ACTION, 0), - (2, 0), - ), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS: StaticSchema = ( - 16, - n0, - _GCGFu, - 0, - (_me,), - ((GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER, 0),), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_TIER: StaticSchema = ( - 18, - n0, - _GCGT, - 0, - (_tNi,), - ((GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_NAME, 1),), -) - -GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY: StaticSchema = ( - 18, - n0, - _GCGP, - 0, - (_fi, _ti), - ( - (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS, 1), - (GUARDRAIL_CONTEXTUAL_GROUNDING_TIER, 0), - ), -) - -GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ARN: StaticSchema = (3, n0, _GCRGPA, 0) - -GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ID: StaticSchema = (3, n0, _GCRGPIu, 0) - -GUARDRAIL_CROSS_REGION_DETAILS: StaticSchema = ( - 18, - n0, - _GCRD, - 0, - (_gPIu, _gPA), - ( - (GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ID, 0), - (GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ARN, 0), - ), -) - -GUARDRAIL_FAILURE_RECOMMENDATION: StaticSchema = (3, n0, _GFRu, 4) - -GUARDRAIL_FAILURE_RECOMMENDATIONS: StaticSchema = ( - 16, - n0, - _GFRua, - 0, - (_me,), - ((GUARDRAIL_FAILURE_RECOMMENDATION, 0),), -) - -GUARDRAIL_PII_ENTITY: StaticSchema = ( - 18, - n0, - _GPE, - 0, - (_ty, _ac, _iA, _oAu, _iE, _oE), - ( - (GUARDRAIL_PII_ENTITY_TYPE, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_PII_ENTITIES: StaticSchema = ( - 16, - n0, - _GPEu, - 0, - (_me,), - ((GUARDRAIL_PII_ENTITY, 0),), -) - -GUARDRAIL_REGEX: StaticSchema = ( - 18, - n0, - _GR, - 0, - (_n, _d, _pa, _ac, _iA, _oAu, _iE, _oE), - ( - (3, 1), - (3, 0), - (3, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 1), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_REGEXES: StaticSchema = (16, n0, _GRu, 0, (_me,), ((GUARDRAIL_REGEX, 0),)) - -GUARDRAIL_SENSITIVE_INFORMATION_POLICY: StaticSchema = ( - 18, - n0, - _GSIP, - 0, - (_pEi, _re), - ((GUARDRAIL_PII_ENTITIES, 0), (GUARDRAIL_REGEXES, 0)), -) - -GUARDRAIL_STATUS: StaticSchema = ( - 14, - n0, - _GS, - 0, - (_CREATING, _UPDATING, _VERSIONING, _READY, _FAILED, _DELETING), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _VERSIONING}), - (-1, {_sV: _READY}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _DELETING}), - ), -) - -GUARDRAIL_STATUS_REASON: StaticSchema = (3, n0, _GSR, 4) - -GUARDRAIL_STATUS_REASONS: StaticSchema = ( - 16, - n0, - _GSRu, - 0, - (_me,), - ((GUARDRAIL_STATUS_REASON, 0),), -) - -GUARDRAIL_TOPICS_TIER: StaticSchema = ( - 18, - n0, - _GTTu, - 0, - (_tNi,), - ((GUARDRAIL_TOPICS_TIER_NAME, 1),), -) - -GUARDRAIL_TOPIC: StaticSchema = ( - 18, - n0, - _GT, - 0, - (_n, _def, _exa, _ty, _iA, _oAu, _iE, _oE), - ( - (GUARDRAIL_TOPIC_NAME, 1), - (GUARDRAIL_TOPIC_DEFINITION, 1), - (GUARDRAIL_TOPIC_EXAMPLES, 0), - (GUARDRAIL_TOPIC_TYPE, 0), - (GUARDRAIL_TOPIC_ACTION, 0), - (GUARDRAIL_TOPIC_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_TOPICS: StaticSchema = (16, n0, _GTu, 0, (_me,), ((GUARDRAIL_TOPIC, 0),)) - -GUARDRAIL_TOPIC_POLICY: StaticSchema = ( - 18, - n0, - _GTP, - 0, - (_to, _ti), - ((GUARDRAIL_TOPICS, 1), (GUARDRAIL_TOPICS_TIER, 0)), -) - -GUARDRAIL_MANAGED_WORDS: StaticSchema = ( - 18, - n0, - _GMW, - 0, - (_ty, _iA, _oAu, _iE, _oE), - ( - (GUARDRAIL_MANAGED_WORDS_TYPE, 1), - (GUARDRAIL_WORD_ACTION, 0), - (GUARDRAIL_WORD_ACTION, 0), - (2, 0), - (2, 0), - ), -) - -GUARDRAIL_MANAGED_WORD_LISTS: StaticSchema = ( - 16, - n0, - _GMWL, - 0, - (_me,), - ((GUARDRAIL_MANAGED_WORDS, 0),), -) - -GUARDRAIL_WORD: StaticSchema = ( - 18, - n0, - _GW, - 0, - (_te, _iA, _oAu, _iE, _oE), - ((3, 1), (GUARDRAIL_WORD_ACTION, 0), (GUARDRAIL_WORD_ACTION, 0), (2, 0), (2, 0)), -) - -GUARDRAIL_WORDS: StaticSchema = (16, n0, _GWu, 0, (_me,), ((GUARDRAIL_WORD, 0),)) - -GUARDRAIL_WORD_POLICY: StaticSchema = ( - 18, - n0, - _GWP, - 0, - (_w, _mWL), - ((GUARDRAIL_WORDS, 0), (GUARDRAIL_MANAGED_WORD_LISTS, 0)), -) - -GET_GUARDRAIL_OUTPUT: StaticSchema = ( - 18, - n0, - _GGO, - {_sSI: _cGGRo, _smith: None}, - ( - _n, - _d, - _gIu, - _gA, - _ve, - _st, - _tPo, - _cP, - _wP, - _sIP, - _cGP, - _aRP, - _cRD, - _cA, - _uA, - _sRt, - _fRa, - _bIM, - _bOM, - _kKA, - ), - ( - (GUARDRAIL_NAME, 1), - (GUARDRAIL_DESCRIPTION, 0), - (GUARDRAIL_ID, 1), - (GUARDRAIL_ARN, 1), - (GUARDRAIL_VERSION, 1), - (GUARDRAIL_STATUS, 1), - (GUARDRAIL_TOPIC_POLICY, 0), - (GUARDRAIL_CONTENT_POLICY, 0), - (GUARDRAIL_WORD_POLICY, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY, 0), - (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY, 0), - (GUARDRAIL_AUTOMATED_REASONING_POLICY, 0), - (GUARDRAIL_CROSS_REGION_DETAILS, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (GUARDRAIL_STATUS_REASONS, 0), - (GUARDRAIL_FAILURE_RECOMMENDATIONS, 0), - (GUARDRAIL_BLOCKED_MESSAGING, 1), - (GUARDRAIL_BLOCKED_MESSAGING, 1), - (KMS_KEY_ARN, 0), - ), -) - -GET_GUARDRAIL: StaticOperationSchema = ( - 23, - n0, - _GG, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/guardrails/{guardrailIdentifier}"} - ) - }, - GET_GUARDRAIL_INPUT, - GET_GUARDRAIL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_GUARDRAILS_INPUT: StaticSchema = ( - 18, - n0, - _LGI, - {_sSI: _cLGR, _smit: None}, - (_gI, _mR, _nT), - ( - (GUARDRAIL_IDENTIFIER, {_sQ: _gI}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - ), -) - -GUARDRAIL_SUMMARY: StaticSchema = ( - 18, - n0, - _GSu, - 0, - (_i, _arn, _st, _n, _d, _ve, _cA, _uA, _cRD), - ( - (GUARDRAIL_ID, 1), - (GUARDRAIL_ARN, 1), - (GUARDRAIL_STATUS, 1), - (GUARDRAIL_NAME, 1), - (GUARDRAIL_DESCRIPTION, 0), - (GUARDRAIL_VERSION, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (GUARDRAIL_CROSS_REGION_DETAILS, 0), - ), -) - -GUARDRAIL_SUMMARIES: StaticSchema = ( - 16, - n0, - _GSua, - 0, - (_me,), - ((GUARDRAIL_SUMMARY, 0),), -) - -LIST_GUARDRAILS_OUTPUT: StaticSchema = ( - 18, - n0, - _LGO, - {_sSI: _cLGRo, _smith: None}, - (_g, _nT), - ((GUARDRAIL_SUMMARIES, 1), (PAGINATION_TOKEN, 0)), -) - -LIST_GUARDRAILS: StaticOperationSchema = ( - 23, - n0, - _LG, - {_smithy: MappingProxyType({"code": 200, "method": "GET", "uri": "/guardrails"})}, - LIST_GUARDRAILS_INPUT, - LIST_GUARDRAILS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_GUARDRAIL_INPUT: StaticSchema = ( - 18, - n0, - _UGI, - {_sSI: _cUGR, _smit: None}, - (_gI, _n, _d, _tPC, _cPC, _wPC, _sIPC, _cGPC, _aRPC, _cRC, _bIM, _bOM, _kKI), - ( - (GUARDRAIL_IDENTIFIER, 9), - (GUARDRAIL_NAME, 1), - (GUARDRAIL_DESCRIPTION, 0), - (GUARDRAIL_TOPIC_POLICY_CONFIG, 0), - (GUARDRAIL_CONTENT_POLICY_CONFIG, 0), - (GUARDRAIL_WORD_POLICY_CONFIG, 0), - (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_CONFIG, 0), - (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_CONFIG, 0), - (GUARDRAIL_AUTOMATED_REASONING_POLICY_CONFIG, 0), - (GUARDRAIL_CROSS_REGION_CONFIG, 0), - (GUARDRAIL_BLOCKED_MESSAGING, 1), - (GUARDRAIL_BLOCKED_MESSAGING, 1), - (KMS_KEY_ID, 0), - ), -) - -UPDATE_GUARDRAIL_OUTPUT: StaticSchema = ( - 18, - n0, - _UGO, - {_sSI: _cUGRo, _smith: None}, - (_gIu, _gA, _ve, _uA), - ( - (GUARDRAIL_ID, 1), - (GUARDRAIL_ARN, 1), - (GUARDRAIL_DRAFT_VERSION, 1), - (TIMESTAMP, 1), - ), -) - -UPDATE_GUARDRAIL: StaticOperationSchema = ( - 23, - n0, - _UG, - { - _smithy: MappingProxyType( - {"code": 202, "method": "PUT", "uri": "/guardrails/{guardrailIdentifier}"} - ) - }, - UPDATE_GUARDRAIL_INPUT, - UPDATE_GUARDRAIL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INFERENCE_PROFILE_DESCRIPTION: StaticSchema = (3, n0, _IPD, 4) - -INFERENCE_PROFILE_NAME: StaticSchema = (3, n0, _IPN, 0) - -INFERENCE_PROFILE_MODEL_SOURCE_ARN: StaticSchema = (3, n0, _IPMSA, 0) - -INFERENCE_PROFILE_MODEL_SOURCE: StaticSchema = ( - 19, - n0, - _IPMS, - 0, - (_cF,), - ((INFERENCE_PROFILE_MODEL_SOURCE_ARN, 0),), -) - -CREATE_INFERENCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _CIPI, - {_sSI: _cCIPR, _smit: None}, - (_iPN, _d, _cRT, _mSod, _ta), - ( - (INFERENCE_PROFILE_NAME, 1), - (INFERENCE_PROFILE_DESCRIPTION, 0), - (IDEMPOTENCY_TOKEN, 2), - (INFERENCE_PROFILE_MODEL_SOURCE, 1), - (TAG_LIST, 0), - ), -) - -INFERENCE_PROFILE_ARN: StaticSchema = (3, n0, _IPA, 0) - -INFERENCE_PROFILE_STATUS: StaticSchema = ( - 14, - n0, - _IPS, - 0, - (_ACTIVE,), - ((-1, {_sV: _ACTIVE}),), -) - -CREATE_INFERENCE_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _CIPO, - {_sSI: _cCIPRo, _smith: None}, - (_iPA, _st), - ((INFERENCE_PROFILE_ARN, 1), (INFERENCE_PROFILE_STATUS, 0)), -) - -CREATE_INFERENCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _CIP, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/inference-profiles"} - ) - }, - CREATE_INFERENCE_PROFILE_INPUT, - CREATE_INFERENCE_PROFILE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INFERENCE_PROFILE_IDENTIFIER: StaticSchema = (3, n0, _IPI, 0) - -DELETE_INFERENCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _DIPI, - {_sSI: _cDIPR, _smit: None}, - (_iPI,), - ((INFERENCE_PROFILE_IDENTIFIER, 9),), -) - -DELETE_INFERENCE_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPO, - {_sSI: _cDIPRo, _smith: None}, -) - -DELETE_INFERENCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _DIP, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/inference-profiles/{inferenceProfileIdentifier}", - } - ) - }, - DELETE_INFERENCE_PROFILE_INPUT, - DELETE_INFERENCE_PROFILE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_INFERENCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _GIPI, - {_sSI: _cGIPR, _smit: None}, - (_iPI,), - ((INFERENCE_PROFILE_IDENTIFIER, 9),), -) - -INFERENCE_PROFILE_ID: StaticSchema = (3, n0, _IPIn, 0) - -INFERENCE_PROFILE_MODEL: StaticSchema = ( - 18, - n0, - _IPM, - 0, - (_mA,), - ((FOUNDATION_MODEL_ARN, 0),), -) - -INFERENCE_PROFILE_MODELS: StaticSchema = ( - 16, - n0, - _IPMn, - 0, - (_me,), - ((INFERENCE_PROFILE_MODEL, 0),), -) - -INFERENCE_PROFILE_TYPE: StaticSchema = ( - 14, - n0, - _IPT, - 0, - (_SD_, _APPLICATION), - ((-1, {_sV: _SD_}), (-1, {_sV: _APPLICATION})), -) - -GET_INFERENCE_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPO, - {_sSI: _cGIPRo, _smith: None}, - (_iPN, _d, _cA, _uA, _iPA, _mod, _iPIn, _st, _ty), - ( - (INFERENCE_PROFILE_NAME, 1), - (INFERENCE_PROFILE_DESCRIPTION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (INFERENCE_PROFILE_ARN, 1), - (INFERENCE_PROFILE_MODELS, 1), - (INFERENCE_PROFILE_ID, 1), - (INFERENCE_PROFILE_STATUS, 1), - (INFERENCE_PROFILE_TYPE, 1), - ), -) - -GET_INFERENCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _GIP, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/inference-profiles/{inferenceProfileIdentifier}", - } - ) - }, - GET_INFERENCE_PROFILE_INPUT, - GET_INFERENCE_PROFILE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_INFERENCE_PROFILES_INPUT: StaticSchema = ( - 18, - n0, - _LIPI, - {_sSI: _cLIPR, _smit: None}, - (_mR, _nT, _tE), - ( - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (INFERENCE_PROFILE_TYPE, {_sQ: _ty}), - ), -) - -INFERENCE_PROFILE_SUMMARY: StaticSchema = ( - 18, - n0, - _IPSn, - 0, - (_iPN, _d, _cA, _uA, _iPA, _mod, _iPIn, _st, _ty), - ( - (INFERENCE_PROFILE_NAME, 1), - (INFERENCE_PROFILE_DESCRIPTION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (INFERENCE_PROFILE_ARN, 1), - (INFERENCE_PROFILE_MODELS, 1), - (INFERENCE_PROFILE_ID, 1), - (INFERENCE_PROFILE_STATUS, 1), - (INFERENCE_PROFILE_TYPE, 1), - ), -) - -INFERENCE_PROFILE_SUMMARIES: StaticSchema = ( - 16, - n0, - _IPSnf, - 0, - (_me,), - ((INFERENCE_PROFILE_SUMMARY, 0),), -) - -LIST_INFERENCE_PROFILES_OUTPUT: StaticSchema = ( - 18, - n0, - _LIPO, - {_sSI: _cLIPRo, _smith: None}, - (_iPS, _nT), - ((INFERENCE_PROFILE_SUMMARIES, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_INFERENCE_PROFILES: StaticOperationSchema = ( - 23, - n0, - _LIP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/inference-profiles"} - ) - }, - LIST_INFERENCE_PROFILES_INPUT, - LIST_INFERENCE_PROFILES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DMILCI, - {_sSI: _cDMILCR, _smit: None}, -) - -DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DMILCO, - {_sSI: _cDMILCRo, _smith: None}, -) - -DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DMILC, - { - _smithy: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/logging/modelinvocations"} - ) - }, - DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT, - DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT, - (ACCESS_DENIED_EXCEPTION, INTERNAL_SERVER_EXCEPTION, THROTTLING_EXCEPTION), -) - -GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GMILCI, - {_sSI: _cGMILCR, _smit: None}, -) - -BUCKET_NAME: StaticSchema = (3, n0, _BN, 0) - -KEY_PREFIX: StaticSchema = (3, n0, _KP, 0) - -S3_CONFIG: StaticSchema = ( - 18, - n0, - _SCo, - 0, - (_bN, _kP), - ((BUCKET_NAME, 1), (KEY_PREFIX, 0)), -) - -LOG_GROUP_NAME: StaticSchema = (3, n0, _LGN, 0) - -CLOUD_WATCH_CONFIG: StaticSchema = ( - 18, - n0, - _CWC, - 0, - (_lGN, _rA, _lDDSC), - ((LOG_GROUP_NAME, 1), (ROLE_ARN, 1), (S3_CONFIG, 0)), -) - -LOGGING_CONFIG: StaticSchema = ( - 18, - n0, - _LC, - 0, - (_cWC, _sCo, _tDDE, _iDDE, _eDDE, _vDDE, _aDDE), - ((CLOUD_WATCH_CONFIG, 0), (S3_CONFIG, 0), (2, 0), (2, 0), (2, 0), (2, 0), (2, 0)), -) - -GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GMILCO, - {_sSI: _cGMILCRo, _smith: None}, - (_lC,), - ((LOGGING_CONFIG, 0),), -) - -GET_MODEL_INVOCATION_LOGGING_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GMILC, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/logging/modelinvocations"} - ) - }, - GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT, - GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT, - (ACCESS_DENIED_EXCEPTION, INTERNAL_SERVER_EXCEPTION, THROTTLING_EXCEPTION), -) - -PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PMILCI, - {_sSI: _cPMILCR, _smit: None}, - (_lC,), - ((LOGGING_CONFIG, 1),), -) - -PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PMILCO, - {_sSI: _cPMILCRo, _smith: None}, -) - -PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PMILC, - { - _smithy: MappingProxyType( - {"code": 200, "method": "PUT", "uri": "/logging/modelinvocations"} - ) - }, - PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT, - PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_MODEL_COPY_JOB_INPUT: StaticSchema = ( - 18, - n0, - _CMCJI, - {_sSI: _cCMCJR, _smit: None}, - (_sMA, _tMN, _mKKI, _tMT, _cRT), - ( - (MODEL_ARN, 1), - (CUSTOM_MODEL_NAME, 1), - (KMS_KEY_ID, 0), - (TAG_LIST, 0), - (IDEMPOTENCY_TOKEN, 2), - ), -) - -MODEL_COPY_JOB_ARN: StaticSchema = (3, n0, _MCJAo, 0) - -CREATE_MODEL_COPY_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _CMCJO, - {_sSI: _cCMCJRo, _smith: None}, - (_jA,), - ((MODEL_COPY_JOB_ARN, 1),), -) - -CREATE_MODEL_COPY_JOB: StaticOperationSchema = ( - 23, - n0, - _CMCJ, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/model-copy-jobs"} - ) - }, - CREATE_MODEL_COPY_JOB_INPUT, - CREATE_MODEL_COPY_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - ), -) - -GET_MODEL_COPY_JOB_INPUT: StaticSchema = ( - 18, - n0, - _GMCJI, - {_sSI: _cGMCJR, _smit: None}, - (_jA,), - ((MODEL_COPY_JOB_ARN, 9),), -) - -MODEL_COPY_JOB_STATUS: StaticSchema = ( - 14, - n0, - _MCJS, - 0, - (_IP, _COMPLETED, _FAILED), - ((-1, {_sV: _IPn}), (-1, {_sV: _C}), (-1, {_sV: _F})), -) - -GET_MODEL_COPY_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _GMCJO, - {_sSI: _cGMCJRo, _smith: None}, - (_jA, _st, _cTr, _tMA, _tMN, _sAI, _sMA, _tMKKA, _tMT, _fM, _sMN), - ( - (MODEL_COPY_JOB_ARN, 1), - (MODEL_COPY_JOB_STATUS, 1), - (TIMESTAMP, 1), - (CUSTOM_MODEL_ARN, 1), - (CUSTOM_MODEL_NAME, 0), - (ACCOUNT_ID, 1), - (MODEL_ARN, 1), - (KMS_KEY_ARN, 0), - (TAG_LIST, 0), - (ERROR_MESSAGE, 0), - (CUSTOM_MODEL_NAME, 0), - ), -) - -GET_MODEL_COPY_JOB: StaticOperationSchema = ( - 23, - n0, - _GMCJ, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/model-copy-jobs/{jobArn}"} - ) - }, - GET_MODEL_COPY_JOB_INPUT, - GET_MODEL_COPY_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_MODEL_COPY_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LMCJI, - {_sSI: _cLMCJR, _smit: None}, - (_cTA, _cTB, _sEt, _sAE, _sMAE, _tMNC, _mR, _nT, _sB, _sO), - ( - (TIMESTAMP, {_sQ: _cTA}), - (TIMESTAMP, {_sQ: _cTB}), - (MODEL_COPY_JOB_STATUS, {_sQ: _sEt}), - (ACCOUNT_ID, {_sQ: _sAE}), - (MODEL_ARN, {_sQ: _sMAE}), - (CUSTOM_MODEL_NAME, {_sQ: _oMNC}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_JOBS_BY, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - ), -) - -MODEL_COPY_JOB_SUMMARY: StaticSchema = ( - 18, - n0, - _MCJSo, - 0, - (_jA, _st, _cTr, _tMA, _tMN, _sAI, _sMA, _tMKKA, _tMT, _fM, _sMN), - ( - (MODEL_COPY_JOB_ARN, 1), - (MODEL_COPY_JOB_STATUS, 1), - (TIMESTAMP, 1), - (CUSTOM_MODEL_ARN, 1), - (CUSTOM_MODEL_NAME, 0), - (ACCOUNT_ID, 1), - (MODEL_ARN, 1), - (KMS_KEY_ARN, 0), - (TAG_LIST, 0), - (ERROR_MESSAGE, 0), - (CUSTOM_MODEL_NAME, 0), - ), -) - -MODEL_COPY_JOB_SUMMARIES: StaticSchema = ( - 16, - n0, - _MCJSod, - 0, - (_me,), - ((MODEL_COPY_JOB_SUMMARY, 0),), -) - -LIST_MODEL_COPY_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMCJO, - {_sSI: _cLMCJRo, _smith: None}, - (_nT, _mCJS), - ((PAGINATION_TOKEN, 0), (MODEL_COPY_JOB_SUMMARIES, 0)), -) - -LIST_MODEL_COPY_JOBS: StaticOperationSchema = ( - 23, - n0, - _LMCJ, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/model-copy-jobs"} - ) - }, - LIST_MODEL_COPY_JOBS_INPUT, - LIST_MODEL_COPY_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -IMPORTED_MODEL_NAME: StaticSchema = (3, n0, _IMN, 0) - -CREATE_MODEL_IMPORT_JOB_INPUT: StaticSchema = ( - 18, - n0, - _CMIJI, - {_sSI: _cCMIJR, _smit: None}, - (_jN, _iMN, _rA, _mDSo, _jTo, _iMTm, _cRT, _vCp, _iMKKI), - ( - (JOB_NAME, 1), - (IMPORTED_MODEL_NAME, 1), - (ROLE_ARN, 1), - (MODEL_DATA_SOURCE, 1), - (TAG_LIST, 0), - (TAG_LIST, 0), - (IDEMPOTENCY_TOKEN, 0), - (VPC_CONFIG, 0), - (KMS_KEY_ID, 0), - ), -) - -MODEL_IMPORT_JOB_ARN: StaticSchema = (3, n0, _MIJA, 0) - -CREATE_MODEL_IMPORT_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _CMIJO, - {_sSI: _cCMIJRo, _smith: None}, - (_jA,), - ((MODEL_IMPORT_JOB_ARN, 1),), -) - -CREATE_MODEL_IMPORT_JOB: StaticOperationSchema = ( - 23, - n0, - _CMIJ, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/model-import-jobs"} - ) - }, - CREATE_MODEL_IMPORT_JOB_INPUT, - CREATE_MODEL_IMPORT_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -IMPORTED_MODEL_IDENTIFIER: StaticSchema = (3, n0, _IMIm, 0) - -DELETE_IMPORTED_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _DIMI, - {_sSI: _cDIMR, _smit: None}, - (_mIo,), - ((IMPORTED_MODEL_IDENTIFIER, 9),), -) - -DELETE_IMPORTED_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _DIMO, - {_sSI: _cDIMRo, _smith: None}, -) - -DELETE_IMPORTED_MODEL: StaticOperationSchema = ( - 23, - n0, - _DIM, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/imported-models/{modelIdentifier}", - } - ) - }, - DELETE_IMPORTED_MODEL_INPUT, - DELETE_IMPORTED_MODEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_IMPORTED_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _GIMI, - {_sSI: _cGIMR, _smit: None}, - (_mIo,), - ((IMPORTED_MODEL_IDENTIFIER, 9),), -) - -CUSTOM_MODEL_UNITS_VERSION: StaticSchema = (3, n0, _CMUV, 0) - -CUSTOM_MODEL_UNITS: StaticSchema = ( - 18, - n0, - _CMU, - 0, - (_cMUPMC, _cMUV), - ((7, 0), (CUSTOM_MODEL_UNITS_VERSION, 0)), -) - -INSTRUCT_SUPPORTED: StaticSchema = (2, n0, _IS, 0) - -IMPORTED_MODEL_ARN: StaticSchema = (3, n0, _IMA, 0) - -GET_IMPORTED_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _GIMO, - {_sSI: _cGIMRo, _smith: None}, - (_mA, _mN, _jN, _jA, _mDSo, _cTr, _mAo, _mKKA, _iSn, _cMU), - ( - (IMPORTED_MODEL_ARN, 0), - (IMPORTED_MODEL_NAME, 0), - (JOB_NAME, 0), - (MODEL_IMPORT_JOB_ARN, 0), - (MODEL_DATA_SOURCE, 0), - (TIMESTAMP, 0), - (3, 0), - (KMS_KEY_ARN, 0), - (INSTRUCT_SUPPORTED, 0), - (CUSTOM_MODEL_UNITS, 0), - ), -) - -GET_IMPORTED_MODEL: StaticOperationSchema = ( - 23, - n0, - _GIM, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/imported-models/{modelIdentifier}"} - ) - }, - GET_IMPORTED_MODEL_INPUT, - GET_IMPORTED_MODEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MODEL_IMPORT_JOB_IDENTIFIER: StaticSchema = (3, n0, _MIJI, 0) - -GET_MODEL_IMPORT_JOB_INPUT: StaticSchema = ( - 18, - n0, - _GMIJI, - {_sSI: _cGMIJR, _smit: None}, - (_jIo,), - ((MODEL_IMPORT_JOB_IDENTIFIER, 9),), -) - -MODEL_IMPORT_JOB_STATUS: StaticSchema = ( - 14, - n0, - _MIJS, - 0, - (_IP, _COMPLETED, _FAILED), - ((-1, {_sV: _IPn}), (-1, {_sV: _C}), (-1, {_sV: _F})), -) - -GET_MODEL_IMPORT_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _GMIJO, - {_sSI: _cGMIJRo, _smith: None}, - (_jA, _jN, _iMN, _iMA, _rA, _mDSo, _st, _fM, _cTr, _lMT, _eT, _vCp, _iMKKA), - ( - (MODEL_IMPORT_JOB_ARN, 0), - (JOB_NAME, 0), - (IMPORTED_MODEL_NAME, 0), - (IMPORTED_MODEL_ARN, 0), - (ROLE_ARN, 0), - (MODEL_DATA_SOURCE, 0), - (MODEL_IMPORT_JOB_STATUS, 0), - (ERROR_MESSAGE, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (VPC_CONFIG, 0), - (KMS_KEY_ARN, 0), - ), -) - -GET_MODEL_IMPORT_JOB: StaticOperationSchema = ( - 23, - n0, - _GMIJ, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/model-import-jobs/{jobIdentifier}"} - ) - }, - GET_MODEL_IMPORT_JOB_INPUT, - GET_MODEL_IMPORT_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_IMPORTED_MODELS_INPUT: StaticSchema = ( - 18, - n0, - _LIMI, - {_sSI: _cLIMR, _smit: None}, - (_cTB, _cTA, _nC, _mR, _nT, _sB, _sO), - ( - (TIMESTAMP, {_sQ: _cTB}), - (TIMESTAMP, {_sQ: _cTA}), - (IMPORTED_MODEL_NAME, {_sQ: _nC}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_MODELS_BY, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - ), -) - -MODEL_ARCHITECTURE: StaticSchema = (3, n0, _MAo, 0) - -IMPORTED_MODEL_SUMMARY: StaticSchema = ( - 18, - n0, - _IMS, - 0, - (_mA, _mN, _cTr, _iSn, _mAo), - ( - (IMPORTED_MODEL_ARN, 1), - (IMPORTED_MODEL_NAME, 1), - (TIMESTAMP, 1), - (INSTRUCT_SUPPORTED, 0), - (MODEL_ARCHITECTURE, 0), - ), -) - -IMPORTED_MODEL_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _IMSL, - 0, - (_me,), - ((IMPORTED_MODEL_SUMMARY, 0),), -) - -LIST_IMPORTED_MODELS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIMO, - {_sSI: _cLIMRo, _smith: None}, - (_nT, _mSo), - ((PAGINATION_TOKEN, 0), (IMPORTED_MODEL_SUMMARY_LIST, 0)), -) - -LIST_IMPORTED_MODELS: StaticOperationSchema = ( - 23, - n0, - _LIM, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/imported-models"} - ) - }, - LIST_IMPORTED_MODELS_INPUT, - LIST_IMPORTED_MODELS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_MODEL_IMPORT_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LMIJI, - {_sSI: _cLMIJR, _smit: None}, - (_cTA, _cTB, _sEt, _nC, _mR, _nT, _sB, _sO), - ( - (TIMESTAMP, {_sQ: _cTA}), - (TIMESTAMP, {_sQ: _cTB}), - (MODEL_IMPORT_JOB_STATUS, {_sQ: _sEt}), - (JOB_NAME, {_sQ: _nC}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_JOBS_BY, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - ), -) - -MODEL_IMPORT_JOB_SUMMARY: StaticSchema = ( - 18, - n0, - _MIJSo, - 0, - (_jA, _jN, _st, _lMT, _cTr, _eT, _iMA, _iMN), - ( - (MODEL_IMPORT_JOB_ARN, 1), - (JOB_NAME, 1), - (MODEL_IMPORT_JOB_STATUS, 1), - (TIMESTAMP, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - (IMPORTED_MODEL_ARN, 0), - (IMPORTED_MODEL_NAME, 0), - ), -) - -MODEL_IMPORT_JOB_SUMMARIES: StaticSchema = ( - 16, - n0, - _MIJSod, - 0, - (_me,), - ((MODEL_IMPORT_JOB_SUMMARY, 0),), -) - -LIST_MODEL_IMPORT_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMIJO, - {_sSI: _cLMIJRo, _smith: None}, - (_nT, _mIJS), - ((PAGINATION_TOKEN, 0), (MODEL_IMPORT_JOB_SUMMARIES, 0)), -) - -LIST_MODEL_IMPORT_JOBS: StaticOperationSchema = ( - 23, - n0, - _LMIJ, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/model-import-jobs"} - ) - }, - LIST_MODEL_IMPORT_JOBS_INPUT, - LIST_MODEL_IMPORT_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MODEL_INVOCATION_IDEMPOTENCY_TOKEN: StaticSchema = (3, n0, _MIIT, 0) - -S3_INPUT_FORMAT: StaticSchema = (14, n0, _SIF, 0, (_JSONL,), ((-1, {_sV: _JSONL}),)) - -MODEL_INVOCATION_JOB_S3_INPUT_DATA_CONFIG: StaticSchema = ( - 18, - n0, - _MIJSIDC, - 0, - (_sIF, _sU, _sBO), - ((S3_INPUT_FORMAT, 0), (S3_URI, 1), (ACCOUNT_ID, 0)), -) - -MODEL_INVOCATION_JOB_INPUT_DATA_CONFIG: StaticSchema = ( - 19, - n0, - _MIJIDC, - 0, - (_sIDC,), - ((MODEL_INVOCATION_JOB_S3_INPUT_DATA_CONFIG, 0),), -) - -MODEL_INVOCATION_JOB_NAME: StaticSchema = (3, n0, _MIJN, 0) - -MODEL_ID: StaticSchema = (3, n0, _MIo, 0) - -MODEL_INVOCATION_TYPE: StaticSchema = ( - 14, - n0, - _MIT, - 0, - (_IM, _Co), - ((-1, {_sV: _IM}), (-1, {_sV: _Co})), -) - -MODEL_INVOCATION_JOB_S3_OUTPUT_DATA_CONFIG: StaticSchema = ( - 18, - n0, - _MIJSODC, - 0, - (_sU, _sEKI, _sBO), - ((S3_URI, 1), (KMS_KEY_ID, 0), (ACCOUNT_ID, 0)), -) - -MODEL_INVOCATION_JOB_OUTPUT_DATA_CONFIG: StaticSchema = ( - 19, - n0, - _MIJODC, - 0, - (_sODC,), - ((MODEL_INVOCATION_JOB_S3_OUTPUT_DATA_CONFIG, 0),), -) - -MODEL_INVOCATION_JOB_TIMEOUT_DURATION_IN_HOURS: StaticSchema = (7, n0, _MIJTDIH, 0) - -CREATE_MODEL_INVOCATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _CMIJIr, - {_sSI: _cCMIJRom, _smit: None}, - (_jN, _rA, _cRT, _mI, _iDC, _oDC, _vCp, _tDIH, _ta, _mIT), - ( - (MODEL_INVOCATION_JOB_NAME, 1), - (ROLE_ARN, 1), - (MODEL_INVOCATION_IDEMPOTENCY_TOKEN, 2), - (MODEL_ID, 1), - (MODEL_INVOCATION_JOB_INPUT_DATA_CONFIG, 1), - (MODEL_INVOCATION_JOB_OUTPUT_DATA_CONFIG, 1), - (VPC_CONFIG, 0), - (MODEL_INVOCATION_JOB_TIMEOUT_DURATION_IN_HOURS, 0), - (TAG_LIST, 0), - (MODEL_INVOCATION_TYPE, {_s: _IM}), - ), -) - -MODEL_INVOCATION_JOB_ARN: StaticSchema = (3, n0, _MIJAo, 0) - -CREATE_MODEL_INVOCATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _CMIJOr, - {_sSI: _cCMIJRoma, _smith: None}, - (_jA,), - ((MODEL_INVOCATION_JOB_ARN, 1),), -) - -CREATE_MODEL_INVOCATION_JOB: StaticOperationSchema = ( - 23, - n0, - _CMIJr, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/model-invocation-job"} - ) - }, - CREATE_MODEL_INVOCATION_JOB_INPUT, - CREATE_MODEL_INVOCATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MODEL_INVOCATION_JOB_IDENTIFIER: StaticSchema = (3, n0, _MIJIo, 0) - -GET_MODEL_INVOCATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _GMIJIe, - {_sSI: _cGMIJRom, _smit: None}, - (_jIo,), - ((MODEL_INVOCATION_JOB_IDENTIFIER, 9),), -) - -NON_NEGATIVE_LONG: StaticSchema = (8, n0, _NNL, 0) - -MESSAGE: StaticSchema = (3, n0, _M, 4) - -MODEL_INVOCATION_JOB_STATUS: StaticSchema = ( - 14, - n0, - _MIJSode, - 0, - ( - _SUBMITTED, - _IP, - _COMPLETED, - _FAILED, - _STOPPING, - _STOPPED, - _PC, - _EXPIRED, - _VALIDATING, - _SCHEDULED, - ), - ( - (-1, {_sV: _Sub}), - (-1, {_sV: _IPn}), - (-1, {_sV: _C}), - (-1, {_sV: _F}), - (-1, {_sV: _S}), - (-1, {_sV: _St}), - (-1, {_sV: _PCa}), - (-1, {_sV: _E}), - (-1, {_sV: _Val}), - (-1, {_sV: _Sc}), - ), -) - -GET_MODEL_INVOCATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _GMIJOe, - {_sSI: _cGMIJRoma, _smith: None}, - ( - _jA, - _jN, - _mI, - _cRT, - _rA, - _st, - _m, - _sTu, - _lMT, - _eT, - _iDC, - _oDC, - _vCp, - _tDIH, - _jET, - _mIT, - _tRC, - _pRC, - _sRC, - _eRC, - ), - ( - (MODEL_INVOCATION_JOB_ARN, 1), - (MODEL_INVOCATION_JOB_NAME, 0), - (MODEL_ID, 1), - (MODEL_INVOCATION_IDEMPOTENCY_TOKEN, 0), - (ROLE_ARN, 1), - (MODEL_INVOCATION_JOB_STATUS, 0), - (MESSAGE, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (MODEL_INVOCATION_JOB_INPUT_DATA_CONFIG, 1), - (MODEL_INVOCATION_JOB_OUTPUT_DATA_CONFIG, 1), - (VPC_CONFIG, 0), - (MODEL_INVOCATION_JOB_TIMEOUT_DURATION_IN_HOURS, 0), - (TIMESTAMP, 0), - (MODEL_INVOCATION_TYPE, 0), - (NON_NEGATIVE_LONG, 0), - (NON_NEGATIVE_LONG, 0), - (NON_NEGATIVE_LONG, 0), - (NON_NEGATIVE_LONG, 0), - ), -) - -GET_MODEL_INVOCATION_JOB: StaticOperationSchema = ( - 23, - n0, - _GMIJe, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/model-invocation-job/{jobIdentifier}", - } - ) - }, - GET_MODEL_INVOCATION_JOB_INPUT, - GET_MODEL_INVOCATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_MODEL_INVOCATION_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LMIJIi, - {_sSI: _cLMIJRom, _smit: None}, - (_sTA, _sTB, _sEt, _nC, _mR, _nT, _sB, _sO), - ( - (TIMESTAMP, {_sQ: _sTA}), - (TIMESTAMP, {_sQ: _sTB}), - (MODEL_INVOCATION_JOB_STATUS, {_sQ: _sEt}), - (MODEL_INVOCATION_JOB_NAME, {_sQ: _nC}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_JOBS_BY, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - ), -) - -MODEL_INVOCATION_JOB_SUMMARY: StaticSchema = ( - 18, - n0, - _MIJSodel, - 0, - ( - _jA, - _jN, - _mI, - _cRT, - _rA, - _st, - _m, - _sTu, - _lMT, - _eT, - _iDC, - _oDC, - _vCp, - _tDIH, - _jET, - _mIT, - _tRC, - _pRC, - _sRC, - _eRC, - ), - ( - (MODEL_INVOCATION_JOB_ARN, 1), - (MODEL_INVOCATION_JOB_NAME, 1), - (MODEL_ID, 1), - (MODEL_INVOCATION_IDEMPOTENCY_TOKEN, 0), - (ROLE_ARN, 1), - (MODEL_INVOCATION_JOB_STATUS, 0), - (MESSAGE, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (MODEL_INVOCATION_JOB_INPUT_DATA_CONFIG, 1), - (MODEL_INVOCATION_JOB_OUTPUT_DATA_CONFIG, 1), - (VPC_CONFIG, 0), - (MODEL_INVOCATION_JOB_TIMEOUT_DURATION_IN_HOURS, 0), - (TIMESTAMP, 0), - (MODEL_INVOCATION_TYPE, 0), - (NON_NEGATIVE_LONG, 0), - (NON_NEGATIVE_LONG, 0), - (NON_NEGATIVE_LONG, 0), - (NON_NEGATIVE_LONG, 0), - ), -) - -MODEL_INVOCATION_JOB_SUMMARIES: StaticSchema = ( - 16, - n0, - _MIJSodeln, - 0, - (_me,), - ((MODEL_INVOCATION_JOB_SUMMARY, 0),), -) - -LIST_MODEL_INVOCATION_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMIJOi, - {_sSI: _cLMIJRoma, _smith: None}, - (_nT, _iJS), - ((PAGINATION_TOKEN, 0), (MODEL_INVOCATION_JOB_SUMMARIES, 0)), -) - -LIST_MODEL_INVOCATION_JOBS: StaticOperationSchema = ( - 23, - n0, - _LMIJi, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/model-invocation-jobs"} - ) - }, - LIST_MODEL_INVOCATION_JOBS_INPUT, - LIST_MODEL_INVOCATION_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_MODEL_INVOCATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SMIJI, - {_sSI: _cSMIJR, _smit: None}, - (_jIo,), - ((MODEL_INVOCATION_JOB_IDENTIFIER, 9),), -) - -STOP_MODEL_INVOCATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SMIJO, - {_sSI: _cSMIJRo, _smith: None}, -) - -STOP_MODEL_INVOCATION_JOB: StaticOperationSchema = ( - 23, - n0, - _SMIJ, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/model-invocation-job/{jobIdentifier}/stop", - } - ) - }, - STOP_MODEL_INVOCATION_JOB_INPUT, - STOP_MODEL_INVOCATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_FOUNDATION_MODEL_IDENTIFIER: StaticSchema = (3, n0, _GFMI, 0) - -GET_FOUNDATION_MODEL_INPUT: StaticSchema = ( - 18, - n0, - _GFMIe, - {_sSI: _cGFMR, _smit: None}, - (_mIo,), - ((GET_FOUNDATION_MODEL_IDENTIFIER, 9),), -) - -MODEL_CUSTOMIZATION: StaticSchema = ( - 14, - n0, - _MCod, - 0, - (_FT, _CPT, _DISTILLATION), - ((-1, {_sV: _FT}), (-1, {_sV: _CPT}), (-1, {_sV: _DISTILLATION})), -) - -MODEL_CUSTOMIZATION_LIST: StaticSchema = ( - 16, - n0, - _MCL, - 0, - (_me,), - ((MODEL_CUSTOMIZATION, 0),), -) - -INFERENCE_TYPE: StaticSchema = ( - 14, - n0, - _ITnf, - 0, - (_OD, _PROVISIONED), - ((-1, {_sV: _OD}), (-1, {_sV: _PROVISIONED})), -) - -INFERENCE_TYPE_LIST: StaticSchema = (16, n0, _ITL, 0, (_me,), ((INFERENCE_TYPE, 0),)) - -MODEL_MODALITY: StaticSchema = ( - 14, - n0, - _MM, - 0, - (_TEXT, _IMAGE, _EMBEDDING), - ((-1, {_sV: _TEXT}), (-1, {_sV: _IMAGE}), (-1, {_sV: _EMBEDDING})), -) - -MODEL_MODALITY_LIST: StaticSchema = (16, n0, _MML, 0, (_me,), ((MODEL_MODALITY, 0),)) - -BEDROCK_MODEL_ID: StaticSchema = (3, n0, _BMI, 0) - -FOUNDATION_MODEL_LIFECYCLE_STATUS: StaticSchema = ( - 14, - n0, - _FMLS, - 0, - (_ACTIVE, _LEGACY), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _LEGACY})), -) - -FOUNDATION_MODEL_LIFECYCLE: StaticSchema = ( - 18, - n0, - _FML, - 0, - (_st, _sOLT, _eOLT, _lTe, _pEAT), - ( - (FOUNDATION_MODEL_LIFECYCLE_STATUS, 1), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -BRANDED_NAME: StaticSchema = (3, n0, _BNr, 0) - -FOUNDATION_MODEL_DETAILS: StaticSchema = ( - 18, - n0, - _FMD, - 0, - (_mA, _mI, _mN, _pNr, _iMn, _oM, _rSS, _cSu, _iTS, _mL), - ( - (FOUNDATION_MODEL_ARN, 1), - (BEDROCK_MODEL_ID, 1), - (BRANDED_NAME, 0), - (BRANDED_NAME, 0), - (MODEL_MODALITY_LIST, 0), - (MODEL_MODALITY_LIST, 0), - (2, 0), - (MODEL_CUSTOMIZATION_LIST, 0), - (INFERENCE_TYPE_LIST, 0), - (FOUNDATION_MODEL_LIFECYCLE, 0), - ), -) - -GET_FOUNDATION_MODEL_OUTPUT: StaticSchema = ( - 18, - n0, - _GFMO, - {_sSI: _cGFMRo, _smith: None}, - (_mD,), - ((FOUNDATION_MODEL_DETAILS, 0),), -) - -GET_FOUNDATION_MODEL: StaticOperationSchema = ( - 23, - n0, - _GFM, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/foundation-models/{modelIdentifier}", - } - ) - }, - GET_FOUNDATION_MODEL_INPUT, - GET_FOUNDATION_MODEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PROVIDER: StaticSchema = (3, n0, _P, 0) - -LIST_FOUNDATION_MODELS_INPUT: StaticSchema = ( - 18, - n0, - _LFMI, - {_sSI: _cLFMR, _smit: None}, - (_bP, _bCT, _bOMy, _bIT), - ( - (PROVIDER, {_sQ: _bP}), - (MODEL_CUSTOMIZATION, {_sQ: _bCT}), - (MODEL_MODALITY, {_sQ: _bOMy}), - (INFERENCE_TYPE, {_sQ: _bIT}), - ), -) - -FOUNDATION_MODEL_SUMMARY: StaticSchema = ( - 18, - n0, - _FMS, - 0, - (_mA, _mI, _mN, _pNr, _iMn, _oM, _rSS, _cSu, _iTS, _mL), - ( - (FOUNDATION_MODEL_ARN, 1), - (BEDROCK_MODEL_ID, 1), - (BRANDED_NAME, 0), - (BRANDED_NAME, 0), - (MODEL_MODALITY_LIST, 0), - (MODEL_MODALITY_LIST, 0), - (2, 0), - (MODEL_CUSTOMIZATION_LIST, 0), - (INFERENCE_TYPE_LIST, 0), - (FOUNDATION_MODEL_LIFECYCLE, 0), - ), -) - -FOUNDATION_MODEL_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _FMSL, - 0, - (_me,), - ((FOUNDATION_MODEL_SUMMARY, 0),), -) - -LIST_FOUNDATION_MODELS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFMO, - {_sSI: _cLFMRo, _smith: None}, - (_mSo,), - ((FOUNDATION_MODEL_SUMMARY_LIST, 0),), -) - -LIST_FOUNDATION_MODELS: StaticOperationSchema = ( - 23, - n0, - _LFM, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/foundation-models"} - ) - }, - LIST_FOUNDATION_MODELS_INPUT, - LIST_FOUNDATION_MODELS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PROMPT_ROUTER_DESCRIPTION: StaticSchema = (3, n0, _PRD, 4) - -PROMPT_ROUTER_TARGET_MODEL_ARN: StaticSchema = (3, n0, _PRTMA, 0) - -PROMPT_ROUTER_TARGET_MODEL: StaticSchema = ( - 18, - n0, - _PRTM, - 0, - (_mA,), - ((PROMPT_ROUTER_TARGET_MODEL_ARN, 1),), -) - -PROMPT_ROUTER_TARGET_MODELS: StaticSchema = ( - 16, - n0, - _PRTMr, - 0, - (_me,), - ((PROMPT_ROUTER_TARGET_MODEL, 0),), -) - -PROMPT_ROUTER_NAME: StaticSchema = (3, n0, _PRN, 0) - -ROUTING_CRITERIA: StaticSchema = (18, n0, _RC, 0, (_rQD,), ((10, 1),)) - -CREATE_PROMPT_ROUTER_INPUT: StaticSchema = ( - 18, - n0, - _CPRI, - {_sSI: _cCPRR, _smit: None}, - (_cRT, _pRN, _mod, _d, _rCo, _fMa, _ta), - ( - (IDEMPOTENCY_TOKEN, 2), - (PROMPT_ROUTER_NAME, 1), - (PROMPT_ROUTER_TARGET_MODELS, 1), - (PROMPT_ROUTER_DESCRIPTION, 0), - (ROUTING_CRITERIA, 1), - (PROMPT_ROUTER_TARGET_MODEL, 1), - (TAG_LIST, 0), - ), -) - -PROMPT_ROUTER_ARN: StaticSchema = (3, n0, _PRA, 0) - -CREATE_PROMPT_ROUTER_OUTPUT: StaticSchema = ( - 18, - n0, - _CPRO, - {_sSI: _cCPRRo, _smith: None}, - (_pRAr,), - ((PROMPT_ROUTER_ARN, 0),), -) - -CREATE_PROMPT_ROUTER: StaticOperationSchema = ( - 23, - n0, - _CPR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/prompt-routers"} - ) - }, - CREATE_PROMPT_ROUTER_INPUT, - CREATE_PROMPT_ROUTER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_PROMPT_ROUTER_INPUT: StaticSchema = ( - 18, - n0, - _DPRI, - {_sSI: _cDPRR, _smit: None}, - (_pRAr,), - ((PROMPT_ROUTER_ARN, 9),), -) - -DELETE_PROMPT_ROUTER_OUTPUT: StaticSchema = ( - 18, - n0, - _DPRO, - {_sSI: _cDPRRo, _smith: None}, -) - -DELETE_PROMPT_ROUTER: StaticOperationSchema = ( - 23, - n0, - _DPR, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/prompt-routers/{promptRouterArn}", - } - ) - }, - DELETE_PROMPT_ROUTER_INPUT, - DELETE_PROMPT_ROUTER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_PROMPT_ROUTER_INPUT: StaticSchema = ( - 18, - n0, - _GPRI, - {_sSI: _cGPRR, _smit: None}, - (_pRAr,), - ((PROMPT_ROUTER_ARN, 9),), -) - -PROMPT_ROUTER_STATUS: StaticSchema = ( - 14, - n0, - _PRS, - 0, - (_AVAILABLE,), - ((-1, {_sV: _AVAILABLE}),), -) - -PROMPT_ROUTER_TYPE: StaticSchema = ( - 14, - n0, - _PRT, - 0, - (_CUSTOM, _DEFAULT), - ((-1, {_sV: _cu}), (-1, {_sV: _de})), -) - -GET_PROMPT_ROUTER_OUTPUT: StaticSchema = ( - 18, - n0, - _GPRO, - {_sSI: _cGPRRo, _smith: None}, - (_pRN, _rCo, _d, _cA, _uA, _pRAr, _mod, _fMa, _st, _ty), - ( - (PROMPT_ROUTER_NAME, 1), - (ROUTING_CRITERIA, 1), - (PROMPT_ROUTER_DESCRIPTION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (PROMPT_ROUTER_ARN, 1), - (PROMPT_ROUTER_TARGET_MODELS, 1), - (PROMPT_ROUTER_TARGET_MODEL, 1), - (PROMPT_ROUTER_STATUS, 1), - (PROMPT_ROUTER_TYPE, 1), - ), -) - -GET_PROMPT_ROUTER: StaticOperationSchema = ( - 23, - n0, - _GPR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/prompt-routers/{promptRouterArn}"} - ) - }, - GET_PROMPT_ROUTER_INPUT, - GET_PROMPT_ROUTER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_PROMPT_ROUTERS_INPUT: StaticSchema = ( - 18, - n0, - _LPRI, - {_sSI: _cLPRR, _smit: None}, - (_mR, _nT, _ty), - ( - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (PROMPT_ROUTER_TYPE, {_s: _de, _sQ: _ty}), - ), -) - -PROMPT_ROUTER_SUMMARY: StaticSchema = ( - 18, - n0, - _PRSr, - 0, - (_pRN, _rCo, _d, _cA, _uA, _pRAr, _mod, _fMa, _st, _ty), - ( - (PROMPT_ROUTER_NAME, 1), - (ROUTING_CRITERIA, 1), - (PROMPT_ROUTER_DESCRIPTION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (PROMPT_ROUTER_ARN, 1), - (PROMPT_ROUTER_TARGET_MODELS, 1), - (PROMPT_ROUTER_TARGET_MODEL, 1), - (PROMPT_ROUTER_STATUS, 1), - (PROMPT_ROUTER_TYPE, 1), - ), -) - -PROMPT_ROUTER_SUMMARIES: StaticSchema = ( - 16, - n0, - _PRSro, - 0, - (_me,), - ((PROMPT_ROUTER_SUMMARY, 0),), -) - -LIST_PROMPT_ROUTERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPRO, - {_sSI: _cLPRRo, _smith: None}, - (_pRS, _nT), - ((PROMPT_ROUTER_SUMMARIES, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_PROMPT_ROUTERS: StaticOperationSchema = ( - 23, - n0, - _LPR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/prompt-routers"} - ) - }, - LIST_PROMPT_ROUTERS_INPUT, - LIST_PROMPT_ROUTERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -COMMITMENT_DURATION: StaticSchema = ( - 14, - n0, - _CD, - 0, - (_OM, _SM), - ((-1, {_sV: _OMn}), (-1, {_sV: _SMi})), -) - -POSITIVE_INTEGER: StaticSchema = (7, n0, _PI, 0) - -PROVISIONED_MODEL_NAME: StaticSchema = (3, n0, _PMN, 0) - -CREATE_PROVISIONED_MODEL_THROUGHPUT_INPUT: StaticSchema = ( - 18, - n0, - _CPMTI, - {_sSI: _cCPMTR, _smit: None}, - (_cRT, _mU, _pMN, _mI, _cD, _ta), - ( - (IDEMPOTENCY_TOKEN, 2), - (POSITIVE_INTEGER, 1), - (PROVISIONED_MODEL_NAME, 1), - (MODEL_IDENTIFIER, 1), - (COMMITMENT_DURATION, 0), - (TAG_LIST, 0), - ), -) - -PROVISIONED_MODEL_ARN: StaticSchema = (3, n0, _PMA, 0) - -CREATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT: StaticSchema = ( - 18, - n0, - _CPMTO, - {_sSI: _cCPMTRo, _smith: None}, - (_pMA,), - ((PROVISIONED_MODEL_ARN, 1),), -) - -CREATE_PROVISIONED_MODEL_THROUGHPUT: StaticOperationSchema = ( - 23, - n0, - _CPMT, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/provisioned-model-throughput"} - ) - }, - CREATE_PROVISIONED_MODEL_THROUGHPUT_INPUT, - CREATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PROVISIONED_MODEL_ID: StaticSchema = (3, n0, _PMI, 0) - -DELETE_PROVISIONED_MODEL_THROUGHPUT_INPUT: StaticSchema = ( - 18, - n0, - _DPMTI, - {_sSI: _cDPMTR, _smit: None}, - (_pMI,), - ((PROVISIONED_MODEL_ID, 9),), -) - -DELETE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT: StaticSchema = ( - 18, - n0, - _DPMTO, - {_sSI: _cDPMTRo, _smith: None}, -) - -DELETE_PROVISIONED_MODEL_THROUGHPUT: StaticOperationSchema = ( - 23, - n0, - _DPMT, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "DELETE", - "uri": "/provisioned-model-throughput/{provisionedModelId}", - } - ) - }, - DELETE_PROVISIONED_MODEL_THROUGHPUT_INPUT, - DELETE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_PROVISIONED_MODEL_THROUGHPUT_INPUT: StaticSchema = ( - 18, - n0, - _GPMTI, - {_sSI: _cGPMTR, _smit: None}, - (_pMI,), - ((PROVISIONED_MODEL_ID, 9),), -) - -PROVISIONED_MODEL_STATUS: StaticSchema = ( - 14, - n0, - _PMS, - 0, - (_CREATING, _IS_, _UPDATING, _FAILED), - ((-1, {_sV: _Cr}), (-1, {_sV: _ISn}), (-1, {_sV: _U}), (-1, {_sV: _F})), -) - -GET_PROVISIONED_MODEL_THROUGHPUT_OUTPUT: StaticSchema = ( - 18, - n0, - _GPMTO, - {_sSI: _cGPMTRo, _smith: None}, - (_mU, _dMU, _pMN, _pMA, _mA, _dMA, _fMA, _st, _cTr, _lMT, _fM, _cD, _cET), - ( - (POSITIVE_INTEGER, 1), - (POSITIVE_INTEGER, 1), - (PROVISIONED_MODEL_NAME, 1), - (PROVISIONED_MODEL_ARN, 1), - (MODEL_ARN, 1), - (MODEL_ARN, 1), - (FOUNDATION_MODEL_ARN, 1), - (PROVISIONED_MODEL_STATUS, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (ERROR_MESSAGE, 0), - (COMMITMENT_DURATION, 0), - (TIMESTAMP, 0), - ), -) - -GET_PROVISIONED_MODEL_THROUGHPUT: StaticOperationSchema = ( - 23, - n0, - _GPMT, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/provisioned-model-throughput/{provisionedModelId}", - } - ) - }, - GET_PROVISIONED_MODEL_THROUGHPUT_INPUT, - GET_PROVISIONED_MODEL_THROUGHPUT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SORT_BY_PROVISIONED_MODELS: StaticSchema = ( - 14, - n0, - _SBPM, - 0, - (_CT,), - ((-1, {_sV: _CTr}),), -) - -LIST_PROVISIONED_MODEL_THROUGHPUTS_INPUT: StaticSchema = ( - 18, - n0, - _LPMTI, - {_sSI: _cLPMTR, _smit: None}, - (_cTA, _cTB, _sEt, _mAE, _nC, _mR, _nT, _sB, _sO), - ( - (TIMESTAMP, {_sQ: _cTA}), - (TIMESTAMP, {_sQ: _cTB}), - (PROVISIONED_MODEL_STATUS, {_sQ: _sEt}), - (MODEL_ARN, {_sQ: _mAE}), - (PROVISIONED_MODEL_NAME, {_sQ: _nC}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_BY_PROVISIONED_MODELS, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - ), -) - -PROVISIONED_MODEL_SUMMARY: StaticSchema = ( - 18, - n0, - _PMSr, - 0, - (_pMN, _pMA, _mA, _dMA, _fMA, _mU, _dMU, _st, _cD, _cET, _cTr, _lMT), - ( - (PROVISIONED_MODEL_NAME, 1), - (PROVISIONED_MODEL_ARN, 1), - (MODEL_ARN, 1), - (MODEL_ARN, 1), - (FOUNDATION_MODEL_ARN, 1), - (POSITIVE_INTEGER, 1), - (POSITIVE_INTEGER, 1), - (PROVISIONED_MODEL_STATUS, 1), - (COMMITMENT_DURATION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - ), -) - -PROVISIONED_MODEL_SUMMARIES: StaticSchema = ( - 16, - n0, - _PMSro, - 0, - (_me,), - ((PROVISIONED_MODEL_SUMMARY, 0),), -) - -LIST_PROVISIONED_MODEL_THROUGHPUTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPMTO, - {_sSI: _cLPMTRo, _smith: None}, - (_nT, _pMS), - ((PAGINATION_TOKEN, 0), (PROVISIONED_MODEL_SUMMARIES, 0)), -) - -LIST_PROVISIONED_MODEL_THROUGHPUTS: StaticOperationSchema = ( - 23, - n0, - _LPMT, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/provisioned-model-throughputs"} - ) - }, - LIST_PROVISIONED_MODEL_THROUGHPUTS_INPUT, - LIST_PROVISIONED_MODEL_THROUGHPUTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_PROVISIONED_MODEL_THROUGHPUT_INPUT: StaticSchema = ( - 18, - n0, - _UPMTI, - {_sSI: _cUPMTR, _smit: None}, - (_pMI, _dPMN, _dMI), - ((PROVISIONED_MODEL_ID, 9), (PROVISIONED_MODEL_NAME, 0), (MODEL_IDENTIFIER, 0)), -) - -UPDATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT: StaticSchema = ( - 18, - n0, - _UPMTO, - {_sSI: _cUPMTRo, _smith: None}, -) - -UPDATE_PROVISIONED_MODEL_THROUGHPUT: StaticOperationSchema = ( - 23, - n0, - _UPMT, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "PATCH", - "uri": "/provisioned-model-throughput/{provisionedModelId}", - } - ) - }, - UPDATE_PROVISIONED_MODEL_THROUGHPUT_INPUT, - UPDATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RESOURCE_POLICY_RESOURCE_ARN: StaticSchema = (3, n0, _RPRA, 0) - -DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_sSI: _cDRPR, _smit: None}, - (_rAe,), - ((RESOURCE_POLICY_RESOURCE_ARN, 9),), -) - -DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DRPO, - {_sSI: _cDRPRo, _smith: None}, -) - -DELETE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "DELETE", "uri": "/resource-policy/{resourceArn}"} - ) - }, - DELETE_RESOURCE_POLICY_INPUT, - DELETE_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_sSI: _cGRPR, _smit: None}, - (_rAe,), - ((RESOURCE_POLICY_RESOURCE_ARN, 9),), -) - -RESOURCE_POLICY_DOCUMENT: StaticSchema = (3, n0, _RPD, 0) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_sSI: _cGRPRo, _smith: None}, - (_rP,), - ((RESOURCE_POLICY_DOCUMENT, 0),), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRP, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/resource-policy/{resourceArn}"} - ) - }, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_sSI: _cPRPR, _smit: None}, - (_rAe, _rP), - ((RESOURCE_POLICY_RESOURCE_ARN, 1), (RESOURCE_POLICY_DOCUMENT, 1)), -) - -PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPO, - {_sSI: _cPRPRo, _smith: None}, - (_rAe,), - ((RESOURCE_POLICY_RESOURCE_ARN, 0),), -) - -PUT_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRP, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/resource-policy"} - ) - }, - PUT_RESOURCE_POLICY_INPUT, - PUT_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -OFFER_TOKEN: StaticSchema = (3, n0, _OT, 0) - -CREATE_FOUNDATION_MODEL_AGREEMENT_INPUT: StaticSchema = ( - 18, - n0, - _CFMAI, - {_sSI: _cCFMAR, _smit: None}, - (_oT, _mI), - ((OFFER_TOKEN, 1), (BEDROCK_MODEL_ID, 1)), -) - -CREATE_FOUNDATION_MODEL_AGREEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CFMAO, - {_sSI: _cCFMARo, _smith: None}, - (_mI,), - ((BEDROCK_MODEL_ID, 1),), -) - -CREATE_FOUNDATION_MODEL_AGREEMENT: StaticOperationSchema = ( - 23, - n0, - _CFMA, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/create-foundation-model-agreement"} - ) - }, - CREATE_FOUNDATION_MODEL_AGREEMENT_INPUT, - CREATE_FOUNDATION_MODEL_AGREEMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_FOUNDATION_MODEL_AGREEMENT_INPUT: StaticSchema = ( - 18, - n0, - _DFMAI, - {_sSI: _cDFMAR, _smit: None}, - (_mI,), - ((BEDROCK_MODEL_ID, 1),), -) - -DELETE_FOUNDATION_MODEL_AGREEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DFMAO, - {_sSI: _cDFMARo, _smith: None}, -) - -DELETE_FOUNDATION_MODEL_AGREEMENT: StaticOperationSchema = ( - 23, - n0, - _DFMA, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/delete-foundation-model-agreement"} - ) - }, - DELETE_FOUNDATION_MODEL_AGREEMENT_INPUT, - DELETE_FOUNDATION_MODEL_AGREEMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_FOUNDATION_MODEL_AVAILABILITY_INPUT: StaticSchema = ( - 18, - n0, - _GFMAI, - {_sSI: _cGFMAR, _smit: None}, - (_mI,), - ((BEDROCK_MODEL_ID, 9),), -) - -AUTHORIZATION_STATUS: StaticSchema = ( - 14, - n0, - _ASu, - 0, - (_AUTHORIZED, _NA_), - ((-1, {_sV: _AUTHORIZED}), (-1, {_sV: _NA_})), -) - -ENTITLEMENT_AVAILABILITY: StaticSchema = ( - 14, - n0, - _EA, - 0, - (_AVAILABLE, _NA), - ((-1, {_sV: _AVAILABLE}), (-1, {_sV: _NA})), -) - -REGION_AVAILABILITY: StaticSchema = ( - 14, - n0, - _RAe, - 0, - (_AVAILABLE, _NA), - ((-1, {_sV: _AVAILABLE}), (-1, {_sV: _NA})), -) - -GET_FOUNDATION_MODEL_AVAILABILITY_OUTPUT: StaticSchema = ( - 18, - n0, - _GFMAO, - {_sSI: _cGFMARo, _smith: None}, - (_mI, _aAg, _aSu, _eAn, _rAeg), - ( - (BEDROCK_MODEL_ID, 1), - (AGREEMENT_AVAILABILITY, 1), - (AUTHORIZATION_STATUS, 1), - (ENTITLEMENT_AVAILABILITY, 1), - (REGION_AVAILABILITY, 1), - ), -) - -GET_FOUNDATION_MODEL_AVAILABILITY: StaticOperationSchema = ( - 23, - n0, - _GFMA, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/foundation-model-availability/{modelId}", - } - ) - }, - GET_FOUNDATION_MODEL_AVAILABILITY_INPUT, - GET_FOUNDATION_MODEL_AVAILABILITY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -OFFER_TYPE: StaticSchema = ( - 14, - n0, - _OTf, - 0, - (_ALL, _PUBLIC), - ((-1, {_sV: _ALL}), (-1, {_sV: _PUBLIC})), -) - -LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_INPUT: StaticSchema = ( - 18, - n0, - _LFMAOI, - {_sSI: _cLFMAOR, _smit: None}, - (_mI, _oTf), - ((BEDROCK_MODEL_ID, 9), (OFFER_TYPE, {_sQ: _oTf})), -) - -OFFER_ID: StaticSchema = (3, n0, _OI, 0) - -LEGAL_TERM: StaticSchema = (18, n0, _LT, 0, (_ur,), ((3, 0),)) - -SUPPORT_TERM: StaticSchema = (18, n0, _STu, 0, (_rPD,), ((3, 0),)) - -DIMENSIONAL_PRICE_RATE: StaticSchema = ( - 18, - n0, - _DPRi, - 0, - (_di, _pri, _d, _un), - ((3, 0), (3, 0), (3, 0), (3, 0)), -) - -RATE_CARD: StaticSchema = (16, n0, _RCa, 0, (_me,), ((DIMENSIONAL_PRICE_RATE, 0),)) - -PRICING_TERM: StaticSchema = (18, n0, _PTri, 0, (_rCa,), ((RATE_CARD, 1),)) - -VALIDITY_TERM: StaticSchema = (18, n0, _VT, 0, (_aD,), ((3, 0),)) - -TERM_DETAILS: StaticSchema = ( - 18, - n0, - _TD, - 0, - (_uBPT, _lTeg, _sTup, _vT), - ((PRICING_TERM, 1), (LEGAL_TERM, 1), (SUPPORT_TERM, 1), (VALIDITY_TERM, 0)), -) - -OFFER: StaticSchema = ( - 18, - n0, - _O, - 0, - (_oI, _oT, _tD), - ((OFFER_ID, 0), (OFFER_TOKEN, 1), (TERM_DETAILS, 1)), -) - -OFFERS: StaticSchema = (16, n0, _Of, 0, (_me,), ((OFFER, 0),)) - -LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFMAOO, - {_sSI: _cLFMAORo, _smith: None}, - (_mI, _of), - ((BEDROCK_MODEL_ID, 1), (OFFERS, 1)), -) - -LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS: StaticOperationSchema = ( - 23, - n0, - _LFMAO, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/list-foundation-model-agreement-offers/{modelId}", - } - ) - }, - LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_INPUT, - LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _smit: None}, - (_rARN,), - ((TAGGABLE_RESOURCES_ARN, 1),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smith: None}, - (_ta,), - ((TAG_LIST, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/listTagsForResource"} - ) - }, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smit: None}, - (_rARN, _ta), - ((TAGGABLE_RESOURCES_ARN, 1), (TAG_LIST, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smith: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - {_smithy: MappingProxyType({"code": 200, "method": "POST", "uri": "/tagResource"})}, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _smit: None}, - (_rARN, _tK), - ((TAGGABLE_RESOURCES_ARN, 1), (TAG_KEY_LIST, 1)), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smith: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smithy: MappingProxyType( - {"code": 200, "method": "POST", "uri": "/untagResource"} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BASE_MODEL_IDENTIFIER: StaticSchema = (3, n0, _BMIa, 0) - -CREATE_MODEL_CUSTOMIZATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _CMCJIr, - {_sSI: _cCMCJRom, _smit: None}, - ( - _jN, - _cMN, - _rA, - _cRT, - _bMIa, - _cTu, - _cMKKI, - _jTo, - _cMT, - _tDC, - _vDC, - _oDC, - _hP, - _vCp, - _cC, - ), - ( - (JOB_NAME, 1), - (CUSTOM_MODEL_NAME, 1), - (ROLE_ARN, 1), - (IDEMPOTENCY_TOKEN, 2), - (BASE_MODEL_IDENTIFIER, 1), - (CUSTOMIZATION_TYPE, 0), - (KMS_KEY_ID, 0), - (TAG_LIST, 0), - (TAG_LIST, 0), - (TRAINING_DATA_CONFIG, 1), - (VALIDATION_DATA_CONFIG, 0), - (OUTPUT_DATA_CONFIG, 1), - (MODEL_CUSTOMIZATION_HYPER_PARAMETERS, 0), - (VPC_CONFIG, 0), - (CUSTOMIZATION_CONFIG, 0), - ), -) - -CREATE_MODEL_CUSTOMIZATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _CMCJOr, - {_sSI: _cCMCJRoma, _smith: None}, - (_jA,), - ((MODEL_CUSTOMIZATION_JOB_ARN, 1),), -) - -CREATE_MODEL_CUSTOMIZATION_JOB: StaticOperationSchema = ( - 23, - n0, - _CMCJr, - { - _smithy: MappingProxyType( - {"code": 201, "method": "POST", "uri": "/model-customization-jobs"} - ) - }, - CREATE_MODEL_CUSTOMIZATION_JOB_INPUT, - CREATE_MODEL_CUSTOMIZATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MODEL_CUSTOMIZATION_JOB_IDENTIFIER: StaticSchema = (3, n0, _MCJI, 0) - -GET_MODEL_CUSTOMIZATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _GMCJIe, - {_sSI: _cGMCJRom, _smit: None}, - (_jIo,), - ((MODEL_CUSTOMIZATION_JOB_IDENTIFIER, 9),), -) - -MODEL_CUSTOMIZATION_JOB_STATUS: StaticSchema = ( - 14, - n0, - _MCJSode, - 0, - (_IP, _COMPLETED, _FAILED, _STOPPING, _STOPPED), - ( - (-1, {_sV: _IPn}), - (-1, {_sV: _C}), - (-1, {_sV: _F}), - (-1, {_sV: _S}), - (-1, {_sV: _St}), - ), -) - -JOB_STATUS_DETAILS: StaticSchema = ( - 14, - n0, - _JSD, - 0, - (_IP, _COMPLETED, _STOPPING, _STOPPED, _FAILED, _NS), - ( - (-1, {_sV: _IPn}), - (-1, {_sV: _C}), - (-1, {_sV: _S}), - (-1, {_sV: _St}), - (-1, {_sV: _F}), - (-1, {_sV: _NSo}), - ), -) - -DATA_PROCESSING_DETAILS: StaticSchema = ( - 18, - n0, - _DPD, - 0, - (_st, _cTr, _lMT), - ((JOB_STATUS_DETAILS, 0), (TIMESTAMP, 0), (TIMESTAMP, 0)), -) - -TRAINING_DETAILS: StaticSchema = ( - 18, - n0, - _TDr, - 0, - (_st, _cTr, _lMT), - ((JOB_STATUS_DETAILS, 0), (TIMESTAMP, 0), (TIMESTAMP, 0)), -) - -VALIDATION_DETAILS: StaticSchema = ( - 18, - n0, - _VD, - 0, - (_st, _cTr, _lMT), - ((JOB_STATUS_DETAILS, 0), (TIMESTAMP, 0), (TIMESTAMP, 0)), -) - -STATUS_DETAILS: StaticSchema = ( - 18, - n0, - _SDt, - 0, - (_vD, _dPD, _tDr), - ((VALIDATION_DETAILS, 0), (DATA_PROCESSING_DETAILS, 0), (TRAINING_DETAILS, 0)), -) - -GET_MODEL_CUSTOMIZATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _GMCJOe, - {_sSI: _cGMCJRoma, _smith: None}, - ( - _jA, - _jN, - _oMN, - _oMA, - _cRT, - _rA, - _st, - _sD, - _fM, - _cTr, - _lMT, - _eT, - _bMA, - _hP, - _tDC, - _vDC, - _oDC, - _cTu, - _oMKKA, - _tM, - _vM, - _vCp, - _cC, - ), - ( - (MODEL_CUSTOMIZATION_JOB_ARN, 1), - (JOB_NAME, 1), - (CUSTOM_MODEL_NAME, 1), - (CUSTOM_MODEL_ARN, 0), - (IDEMPOTENCY_TOKEN, 0), - (ROLE_ARN, 1), - (MODEL_CUSTOMIZATION_JOB_STATUS, 0), - (STATUS_DETAILS, 0), - (ERROR_MESSAGE, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (FOUNDATION_MODEL_ARN, 1), - (MODEL_CUSTOMIZATION_HYPER_PARAMETERS, 0), - (TRAINING_DATA_CONFIG, 1), - (VALIDATION_DATA_CONFIG, 1), - (OUTPUT_DATA_CONFIG, 1), - (CUSTOMIZATION_TYPE, 0), - (KMS_KEY_ARN, 0), - (TRAINING_METRICS, 0), - (VALIDATION_METRICS, 0), - (VPC_CONFIG, 0), - (CUSTOMIZATION_CONFIG, 0), - ), -) - -GET_MODEL_CUSTOMIZATION_JOB: StaticOperationSchema = ( - 23, - n0, - _GMCJe, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/model-customization-jobs/{jobIdentifier}", - } - ) - }, - GET_MODEL_CUSTOMIZATION_JOB_INPUT, - GET_MODEL_CUSTOMIZATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -FINE_TUNING_JOB_STATUS: StaticSchema = ( - 14, - n0, - _FTJS, - 0, - (_IP, _COMPLETED, _FAILED, _STOPPING, _STOPPED), - ( - (-1, {_sV: _IPn}), - (-1, {_sV: _C}), - (-1, {_sV: _F}), - (-1, {_sV: _S}), - (-1, {_sV: _St}), - ), -) - -LIST_MODEL_CUSTOMIZATION_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LMCJIi, - {_sSI: _cLMCJRom, _smit: None}, - (_cTA, _cTB, _sEt, _nC, _mR, _nT, _sB, _sO), - ( - (TIMESTAMP, {_sQ: _cTA}), - (TIMESTAMP, {_sQ: _cTB}), - (FINE_TUNING_JOB_STATUS, {_sQ: _sEt}), - (JOB_NAME, {_sQ: _nC}), - (MAX_RESULTS, {_sQ: _mR}), - (PAGINATION_TOKEN, {_sQ: _nT}), - (SORT_JOBS_BY, {_sQ: _sB}), - (SORT_ORDER, {_sQ: _sO}), - ), -) - -MODEL_CUSTOMIZATION_JOB_SUMMARY: StaticSchema = ( - 18, - n0, - _MCJSodel, - 0, - (_jA, _bMA, _jN, _st, _sD, _lMT, _cTr, _eT, _cMA, _cMN, _cTu), - ( - (MODEL_CUSTOMIZATION_JOB_ARN, 1), - (MODEL_ARN, 1), - (JOB_NAME, 1), - (MODEL_CUSTOMIZATION_JOB_STATUS, 1), - (STATUS_DETAILS, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - (CUSTOM_MODEL_ARN, 0), - (CUSTOM_MODEL_NAME, 0), - (CUSTOMIZATION_TYPE, 0), - ), -) - -MODEL_CUSTOMIZATION_JOB_SUMMARIES: StaticSchema = ( - 16, - n0, - _MCJSodelu, - 0, - (_me,), - ((MODEL_CUSTOMIZATION_JOB_SUMMARY, 0),), -) - -LIST_MODEL_CUSTOMIZATION_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMCJOi, - {_sSI: _cLMCJRoma, _smith: None}, - (_nT, _mCJSo), - ((PAGINATION_TOKEN, 0), (MODEL_CUSTOMIZATION_JOB_SUMMARIES, 0)), -) - -LIST_MODEL_CUSTOMIZATION_JOBS: StaticOperationSchema = ( - 23, - n0, - _LMCJi, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/model-customization-jobs"} - ) - }, - LIST_MODEL_CUSTOMIZATION_JOBS_INPUT, - LIST_MODEL_CUSTOMIZATION_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_MODEL_CUSTOMIZATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SMCJI, - {_sSI: _cSMCJR, _smit: None}, - (_jIo,), - ((MODEL_CUSTOMIZATION_JOB_IDENTIFIER, 9),), -) - -STOP_MODEL_CUSTOMIZATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SMCJO, - {_sSI: _cSMCJRo, _smith: None}, -) - -STOP_MODEL_CUSTOMIZATION_JOB: StaticOperationSchema = ( - 23, - n0, - _SMCJ, - { - _smithy: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/model-customization-jobs/{jobIdentifier}/stop", - } - ) - }, - STOP_MODEL_CUSTOMIZATION_JOB_INPUT, - STOP_MODEL_CUSTOMIZATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RETRIEVAL_FILTER: StaticSchema = ( - 19, - n0, - _RF, - 4, - (_eq, _nE, _gT, _gTOE, _lTes, _lTOE, _in_, _nI, _sW, _lCi, _sCt, _aA, _oA), - ( - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (FILTER_ATTRIBUTE, 0), - (lambda: RETRIEVAL_FILTER_LIST, 0), - (lambda: RETRIEVAL_FILTER_LIST, 0), - ), -) - -RETRIEVAL_FILTER_LIST: StaticSchema = ( - 16, - n0, - _RFL, - 0, - (_me,), - ((RETRIEVAL_FILTER, 0),), -) - -KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBVSC, - 0, - (_nOR, _oST, _fil, _iFC, _rCer), - ( - (7, 0), - (SEARCH_TYPE, 0), - (RETRIEVAL_FILTER, 0), - (IMPLICIT_FILTER_CONFIGURATION, 0), - (VECTOR_SEARCH_RERANKING_CONFIGURATION, 0), - ), -) - -KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBRC, - 0, - (_vSC,), - ((KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION, 1),), -) - -KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KBRAGC, - 0, - (_kBI, _mA, _rCet, _gCe, _oCr), - ( - (KNOWLEDGE_BASE_ID, 1), - (BEDROCK_MODEL_ARN, 1), - (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 0), - (GENERATION_CONFIGURATION, 0), - (ORCHESTRATION_CONFIGURATION, 0), - ), -) - -RETRIEVE_CONFIG: StaticSchema = ( - 18, - n0, - _RCe, - 0, - (_kBI, _kBRC), - ((KNOWLEDGE_BASE_ID, 1), (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 1)), -) - -RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RAGC, - 0, - (_ty, _kBC, _eSC), - ( - (RETRIEVE_AND_GENERATE_TYPE, 1), - (KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION, 0), - (EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION, 0), - ), -) - -KNOWLEDGE_BASE_CONFIG: StaticSchema = ( - 19, - n0, - _KBC, - 0, - (_rCetr, _rAGC), - ((RETRIEVE_CONFIG, 0), (RETRIEVE_AND_GENERATE_CONFIGURATION, 0)), -) - -RAG_CONFIG: StaticSchema = ( - 19, - n0, - _RAGCo, - 0, - (_kBCn, _pRSC), - ((KNOWLEDGE_BASE_CONFIG, 0), (EVALUATION_PRECOMPUTED_RAG_SOURCE_CONFIG, 0)), -) - -RAG_CONFIGS: StaticSchema = (16, n0, _RCag, 0, (_me,), ((RAG_CONFIG, 0),)) - -EVALUATION_INFERENCE_CONFIG: StaticSchema = ( - 19, - n0, - _EIC, - 0, - (_mod, _rCag), - ((EVALUATION_MODEL_CONFIGS, 0), (RAG_CONFIGS, 0)), -) - -CREATE_EVALUATION_JOB_INPUT: StaticSchema = ( - 18, - n0, - _CEJI, - {_sSI: _cCEJRo, _smit: None}, - (_jN, _jD, _cRT, _rA, _cEKI, _jTo, _aTp, _eCv, _iC, _oDC), - ( - (EVALUATION_JOB_NAME, 1), - (EVALUATION_JOB_DESCRIPTION, 0), - (IDEMPOTENCY_TOKEN, 2), - (ROLE_ARN, 1), - (KMS_KEY_ID, 0), - (TAG_LIST, 0), - (APPLICATION_TYPE, 0), - (EVALUATION_CONFIG, 1), - (EVALUATION_INFERENCE_CONFIG, 1), - (EVALUATION_OUTPUT_DATA_CONFIG, 1), - ), -) - -GET_EVALUATION_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _GEJO, - {_sSI: _cGEJRo, _smith: None}, - (_jN, _st, _jA, _jD, _rA, _cEKI, _jT, _aTp, _eCv, _iC, _oDC, _cTr, _lMT, _fMai), - ( - (EVALUATION_JOB_NAME, 1), - (EVALUATION_JOB_STATUS, 1), - (EVALUATION_JOB_ARN, 1), - (EVALUATION_JOB_DESCRIPTION, 0), - (ROLE_ARN, 1), - (KMS_KEY_ID, 0), - (EVALUATION_JOB_TYPE, 1), - (APPLICATION_TYPE, 0), - (EVALUATION_CONFIG, 1), - (EVALUATION_INFERENCE_CONFIG, 1), - (EVALUATION_OUTPUT_DATA_CONFIG, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 0), - (ERROR_MESSAGES, 0), - ), -) - -CREATE_EVALUATION_JOB: StaticOperationSchema = ( - 23, - n0, - _CEJ, - { - _smithy: MappingProxyType( - {"code": 202, "method": "POST", "uri": "/evaluation-jobs"} - ) - }, - CREATE_EVALUATION_JOB_INPUT, - CREATE_EVALUATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_EVALUATION_JOB: StaticOperationSchema = ( - 23, - n0, - _GEJ, - { - _smithy: MappingProxyType( - {"code": 200, "method": "GET", "uri": "/evaluation-jobs/{jobIdentifier}"} - ) - }, - GET_EVALUATION_JOB_INPUT, - GET_EVALUATION_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AMAZON_BEDROCK_CONTROL_PLANE_SERVICE: StaticSchema = ( - 21, - n0, - _ABCPS, - { - _aw: MappingProxyType({"name": "bedrock"}), - _aws: MappingProxyType({"sdkId": "Bedrock", "endpointPrefix": "bedrock"}), - _aJw: None, - _sBA: None, - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ACCEPT_EULA", + "NON_BLANK_STRING", + "ACCESS_DENIED_EXCEPTION", + "ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID", + "GUARDRAIL_IDENTIFIER", + "GUARDRAIL_NUMERICAL_VERSION", + "EXCLUDED_MODEL_ID", + "EXCLUDED_MODELS_LIST", + "INCLUDED_MODEL_ID", + "INCLUDED_MODELS_LIST", + "MODEL_ENFORCEMENT", + "SELECTIVE_GUARDING_MODE", + "SELECTIVE_CONTENT_GUARDING", + "ACCOUNT_ENFORCED_GUARDRAIL_INFERENCE_INPUT_CONFIGURATION", + "TIMESTAMP", + "GUARDRAIL_ARN", + "GUARDRAIL_ID", + "INPUT_TAGS", + "CONFIGURATION_OWNER", + "ACCOUNT_ENFORCED_GUARDRAIL_OUTPUT_CONFIGURATION", + "ACCOUNT_ENFORCED_GUARDRAILS_OUTPUT_CONFIGURATION", + "ACCOUNT_ID", + "ACKNOWLEDGEMENT_FORM_DATA_BODY", + "ADDITIONAL_MODEL_REQUEST_FIELDS_KEY", + "ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE", + "ADDITIONAL_MODEL_REQUEST_FIELDS", + "S3_URI", + "ADVANCED_PROMPT_OPTIMIZATION_INPUT_CONFIG", + "ADVANCED_PROMPT_OPTIMIZATION_JOB_ARN", + "ADVANCED_PROMPT_OPTIMIZATION_JOB_DESCRIPTION", + "ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER", + "ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIERS", + "ADVANCED_PROMPT_OPTIMIZATION_JOB_NAME", + "BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT", + "BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT", + "BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB", + "ADVANCED_PROMPT_OPTIMIZATION_JOB_STATUS", + "BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEM", + "BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEMS", + "BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERROR", + "BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERRORS", + "INTERNAL_SERVER_EXCEPTION", + "THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION", + "CONFLICT_EXCEPTION", + "IDEMPOTENCY_TOKEN", + "KMS_KEY_ARN", + "NON_EMPTY_STRING_LIST", + "INFERENCE_CONFIGURATION", + "ADVANCED_PROMPT_OPTIMIZATION_MODEL_IDENTIFIER", + "MODEL_CONFIGURATION", + "MODEL_CONFIGURATIONS", + "S3_URI_FOLDER", + "ADVANCED_PROMPT_OPTIMIZATION_OUTPUT_CONFIG", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAG_LIST", + "CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT", + "CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT", + "CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB", + "RESOURCE_NOT_FOUND_EXCEPTION", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "TAGGABLE_RESOURCES_ARN", + "TOO_MANY_TAGS_EXCEPTION", + "GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT", + "GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT", + "GET_ADVANCED_PROMPT_OPTIMIZATION_JOB", + "ERROR_MESSAGE", + "MAX_RESULTS", + "PAGINATION_TOKEN", + "SORT_JOBS_BY", + "SORT_ORDER", + "LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_INPUT", + "LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_OUTPUT", + "LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS", + "ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARY", + "ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARIES", + "STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT", + "STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT", + "STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB", + "AGREEMENT_STATUS", + "AGREEMENT_AVAILABILITY", + "GET_USE_CASE_FOR_MODEL_ACCESS_INPUT", + "GET_USE_CASE_FOR_MODEL_ACCESS_OUTPUT", + "GET_USE_CASE_FOR_MODEL_ACCESS", + "PUT_USE_CASE_FOR_MODEL_ACCESS_INPUT", + "PUT_USE_CASE_FOR_MODEL_ACCESS_OUTPUT", + "PUT_USE_CASE_FOR_MODEL_ACCESS", + "AUTOMATED_REASONING_POLICY_ARN", + "AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID", + "CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT", + "CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT", + "CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW", + "AUTOMATED_REASONING_POLICY_DESCRIPTION", + "KMS_KEY_ID", + "AUTOMATED_REASONING_POLICY_NAME", + "AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ALTERNATE_EXPRESSION", + "AUTOMATED_REASONING_POLICY_DEFINITION_RULE_EXPRESSION", + "AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID", + "AUTOMATED_REASONING_POLICY_DEFINITION_RULE", + "AUTOMATED_REASONING_POLICY_DEFINITION_RULE_LIST", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_DESCRIPTION", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_DESCRIPTION", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_LIST", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_LIST", + "AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_DESCRIPTION", + "AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME", + "AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE", + "AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_LIST", + "AUTOMATED_REASONING_POLICY_FORMAT_VERSION", + "AUTOMATED_REASONING_POLICY_DEFINITION", + "CREATE_AUTOMATED_REASONING_POLICY_INPUT", + "CREATE_AUTOMATED_REASONING_POLICY_OUTPUT", + "CREATE_AUTOMATED_REASONING_POLICY", + "AUTOMATED_REASONING_POLICY_HASH", + "AUTOMATED_REASONING_POLICY_VERSION", + "AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE", + "RESOURCE_IN_USE_EXCEPTION", + "AUTOMATED_REASONING_POLICY_ID", + "SORT_MODELS_BY", + ), + ( + "AUTOMATED_REASONING_CHECK_RESULT", + "AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT", + "AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT", + "CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT", + "CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT", + "CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE", + "AUTOMATED_REASONING_POLICY_TEST_CASE_ID", + "CREATE_AUTOMATED_REASONING_POLICY_VERSION_INPUT", + "CREATE_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT", + "CREATE_AUTOMATED_REASONING_POLICY_VERSION", + "DELETE_AUTOMATED_REASONING_POLICY_INPUT", + "DELETE_AUTOMATED_REASONING_POLICY_OUTPUT", + "DELETE_AUTOMATED_REASONING_POLICY", + "DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT", + "DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT", + "DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW", + "DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT", + "DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT", + "DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE", + "EXPORT_AUTOMATED_REASONING_POLICY_VERSION_INPUT", + "EXPORT_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT", + "EXPORT_AUTOMATED_REASONING_POLICY_VERSION", + "GET_AUTOMATED_REASONING_POLICY_INPUT", + "GET_AUTOMATED_REASONING_POLICY_OUTPUT", + "GET_AUTOMATED_REASONING_POLICY", + "GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT", + "GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT", + "GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS", + "AUTOMATED_REASONING_POLICY_ADD_RULE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_ANNOTATION_RULE_NATURAL_LANGUAGE", + "AUTOMATED_REASONING_POLICY_ADD_RULE_FROM_NATURAL_LANGUAGE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_ADD_TYPE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_ADD_VARIABLE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_DELETE_RULE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_DELETE_TYPE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_ANNOTATION_INGEST_CONTENT", + "AUTOMATED_REASONING_POLICY_INGEST_CONTENT_ANNOTATION", + "AUTOMATED_REASONING_POLICY_ANNOTATION_FEEDBACK_NATURAL_LANGUAGE", + "AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID_LIST", + "AUTOMATED_REASONING_POLICY_UPDATE_FROM_RULE_FEEDBACK_ANNOTATION", + "AUTOMATED_REASONING_POLICY_SCENARIO_EXPRESSION", + "AUTOMATED_REASONING_POLICY_UPDATE_FROM_SCENARIO_FEEDBACK_ANNOTATION", + "AUTOMATED_REASONING_POLICY_UPDATE_RULE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_ADD_TYPE_VALUE", + "AUTOMATED_REASONING_POLICY_DELETE_TYPE_VALUE", + "AUTOMATED_REASONING_POLICY_UPDATE_TYPE_VALUE", + "AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION_LIST", + "AUTOMATED_REASONING_POLICY_UPDATE_TYPE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_ANNOTATION", + "AUTOMATED_REASONING_POLICY_ANNOTATION", + "AUTOMATED_REASONING_POLICY_ANNOTATION_LIST", + "GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT", + "GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT", + "GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW", + "AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_TYPE", + "AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_CONTENT_TYPE", + "AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_DESCRIPTION", + "AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME", + "AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_STATUS", + "AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_ID", + "AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_TYPE", + "GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_INPUT", + "GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_OUTPUT", + "GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS", + "AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_NAME", + "AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_ENTRY", + "AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_LIST", + "AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST", + "AUTOMATED_REASONING_POLICY_ADD_RULE_MUTATION", + "AUTOMATED_REASONING_POLICY_ADD_TYPE_MUTATION", + "AUTOMATED_REASONING_POLICY_ADD_VARIABLE_MUTATION", + "AUTOMATED_REASONING_POLICY_DELETE_RULE_MUTATION", + "AUTOMATED_REASONING_POLICY_DELETE_TYPE_MUTATION", + "AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_MUTATION", + "AUTOMATED_REASONING_POLICY_UPDATE_RULE_MUTATION", + "AUTOMATED_REASONING_POLICY_UPDATE_TYPE_MUTATION", + "AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_MUTATION", + "AUTOMATED_REASONING_POLICY_MUTATION", + "AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_BLOB", + "AUTOMATED_REASONING_POLICY_TEST_CASE", + ), + ( + "AUTOMATED_REASONING_POLICY_PLANNING", + "AUTOMATED_REASONING_POLICY_BUILD_STEP_CONTEXT", + "AUTOMATED_REASONING_POLICY_BUILD_MESSAGE_TYPE", + "AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE", + "AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE_LIST", + "AUTOMATED_REASONING_POLICY_DEFINITION_ELEMENT", + "AUTOMATED_REASONING_POLICY_BUILD_STEP", + "AUTOMATED_REASONING_POLICY_BUILD_STEP_LIST", + "AUTOMATED_REASONING_POLICY_ANNOTATION_STATUS", + "AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY", + "AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY_LIST", + "AUTOMATED_REASONING_POLICY_BUILD_LOG", + "AUTOMATED_REASONING_POLICY_DOCUMENT_SHA256", + "AUTOMATED_REASONING_POLICY_SOURCE_DOCUMENT", + "AUTOMATED_REASONING_POLICY_ACCURACY_SCORE", + "AUTOMATED_REASONING_POLICY_COVERAGE_SCORE", + "AUTOMATED_REASONING_POLICY_STATEMENT_ID", + "AUTOMATED_REASONING_POLICY_LINE_NUMBER_LIST", + "AUTOMATED_REASONING_POLICY_STATEMENT_LOCATION", + "AUTOMATED_REASONING_POLICY_STATEMENT_TEXT", + "AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT", + "AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT_LIST", + "AUTOMATED_REASONING_POLICY_LINE_TEXT", + "AUTOMATED_REASONING_POLICY_ANNOTATED_LINE", + "AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT", + "AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT_LIST", + "AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK", + "AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK_LIST", + "AUTOMATED_REASONING_POLICY_DOCUMENT_ID", + "AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT", + "AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT_LIST", + "AUTOMATED_REASONING_POLICY_JUSTIFICATION_TEXT", + "AUTOMATED_REASONING_POLICY_JUSTIFICATION_LIST", + "AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE", + "AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE_LIST", + "AUTOMATED_REASONING_POLICY_RULE_REPORT", + "AUTOMATED_REASONING_POLICY_RULE_REPORT_MAP", + "AUTOMATED_REASONING_POLICY_VARIABLE_REPORT", + "AUTOMATED_REASONING_POLICY_VARIABLE_REPORT_MAP", + "AUTOMATED_REASONING_POLICY_FIDELITY_REPORT", + "AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE", + "AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE_LIST", + "AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASES", + "AUTOMATED_REASONING_POLICY_SCENARIO_ALTERNATE_EXPRESSION", + "AUTOMATED_REASONING_POLICY_SCENARIO", + "AUTOMATED_REASONING_POLICY_SCENARIO_LIST", + "AUTOMATED_REASONING_POLICY_SCENARIOS", + "AUTOMATED_REASONING_POLICY_CONFLICTED_RULE_ID_LIST", + "AUTOMATED_REASONING_POLICY_DISJOINTED_RULE_ID_LIST", + "AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME_LIST", + "AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET", + "AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET_LIST", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME_LIST", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR", + "AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR_LIST", + "AUTOMATED_REASONING_POLICY_DEFINITION_QUALITY_REPORT", + "AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSETS", + "GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_INPUT", + "GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_OUTPUT", + "GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO", + "GET_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT", + "GET_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT", + "GET_AUTOMATED_REASONING_POLICY_TEST_CASE", + "GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_INPUT", + "GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_OUTPUT", + "GET_AUTOMATED_REASONING_POLICY_TEST_RESULT", + "AUTOMATED_REASONING_CHECK_RULE", + "AUTOMATED_REASONING_CHECK_RULE_LIST", + "AUTOMATED_REASONING_LOGIC_STATEMENT_CONTENT", + "AUTOMATED_REASONING_NATURAL_LANGUAGE_STATEMENT_CONTENT", + "AUTOMATED_REASONING_LOGIC_STATEMENT", + "AUTOMATED_REASONING_LOGIC_STATEMENT_LIST", + "AUTOMATED_REASONING_CHECK_LOGIC_WARNING_TYPE", + "AUTOMATED_REASONING_CHECK_LOGIC_WARNING", + "AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE", + "AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE_LIST", + "AUTOMATED_REASONING_CHECK_TRANSLATION", + "AUTOMATED_REASONING_CHECK_IMPOSSIBLE_FINDING", + "AUTOMATED_REASONING_CHECK_INVALID_FINDING", + "AUTOMATED_REASONING_CHECK_NO_TRANSLATIONS_FINDING", + "AUTOMATED_REASONING_CHECK_SCENARIO", + "AUTOMATED_REASONING_CHECK_SATISFIABLE_FINDING", + "AUTOMATED_REASONING_CHECK_TOO_COMPLEX_FINDING", + "AUTOMATED_REASONING_CHECK_DIFFERENCE_SCENARIO_LIST", + "AUTOMATED_REASONING_CHECK_TRANSLATION_LIST", + "AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION", + "AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION_LIST", + "AUTOMATED_REASONING_CHECK_TRANSLATION_AMBIGUOUS_FINDING", + "AUTOMATED_REASONING_CHECK_VALID_FINDING", + "AUTOMATED_REASONING_CHECK_FINDING", + "AUTOMATED_REASONING_CHECK_FINDING_LIST", + "AUTOMATED_REASONING_POLICY_TEST_RUN_RESULT", + "AUTOMATED_REASONING_POLICY_TEST_RUN_STATUS", + "AUTOMATED_REASONING_POLICY_TEST_RESULT", + ), + ( + "LIST_AUTOMATED_REASONING_POLICIES_INPUT", + "LIST_AUTOMATED_REASONING_POLICIES_OUTPUT", + "LIST_AUTOMATED_REASONING_POLICIES", + "AUTOMATED_REASONING_POLICY_SUMMARY", + "AUTOMATED_REASONING_POLICY_SUMMARIES", + "LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_INPUT", + "LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_OUTPUT", + "LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS", + "AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARY", + "AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARIES", + "LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_INPUT", + "LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_OUTPUT", + "LIST_AUTOMATED_REASONING_POLICY_TEST_CASES", + "AUTOMATED_REASONING_POLICY_TEST_CASE_LIST", + "LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_INPUT", + "LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_OUTPUT", + "LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS", + "AUTOMATED_REASONING_POLICY_TEST_LIST", + "AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT", + "AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT_LIST", + "AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_DOCUMENT_LIST", + "AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_CONTENT", + "AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_DOCUMENT_LIST", + "AUTOMATED_REASONING_POLICY_BUILD_FEEDBACK", + "AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_CONTENT", + "AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_REPAIR_CONTENT", + "AUTOMATED_REASONING_POLICY_WORKFLOW_TYPE_CONTENT", + "AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SOURCE", + "START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT", + "START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT", + "START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW", + "AUTOMATED_REASONING_POLICY_TEST_CASE_ID_LIST", + "START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_INPUT", + "START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_OUTPUT", + "START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW", + "UPDATE_AUTOMATED_REASONING_POLICY_INPUT", + "UPDATE_AUTOMATED_REASONING_POLICY_OUTPUT", + "UPDATE_AUTOMATED_REASONING_POLICY", + "UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT", + "UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT", + "UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS", + "UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT", + "UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT", + "UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE", + "ROLE_ARN", + "INSTANCE_COUNT", + "INSTANCE_TYPE", + "SECURITY_GROUP_ID", + "SECURITY_GROUP_IDS", + "SUBNET_ID", + "SUBNET_IDS", + "VPC_CONFIG", + "SAGE_MAKER_ENDPOINT", + "ENDPOINT_CONFIG", + "ENDPOINT_NAME", + "MODEL_SOURCE_IDENTIFIER", + "CREATE_MARKETPLACE_MODEL_ENDPOINT_INPUT", + "CREATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT", + "CREATE_MARKETPLACE_MODEL_ENDPOINT", + "ARN", + "STATUS", + "MARKETPLACE_MODEL_ENDPOINT", + "DELETE_MARKETPLACE_MODEL_ENDPOINT_INPUT", + "DELETE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT", + "DELETE_MARKETPLACE_MODEL_ENDPOINT", + "DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT", + "DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT", + "DEREGISTER_MARKETPLACE_MODEL_ENDPOINT", + "SERVICE_UNAVAILABLE_EXCEPTION", + "GET_MARKETPLACE_MODEL_ENDPOINT_INPUT", + "GET_MARKETPLACE_MODEL_ENDPOINT_OUTPUT", + "GET_MARKETPLACE_MODEL_ENDPOINT", + "LIST_MARKETPLACE_MODEL_ENDPOINTS_INPUT", + "LIST_MARKETPLACE_MODEL_ENDPOINTS_OUTPUT", + "LIST_MARKETPLACE_MODEL_ENDPOINTS", + "MARKETPLACE_MODEL_ENDPOINT_SUMMARY", + "MARKETPLACE_MODEL_ENDPOINT_SUMMARIES", + "REGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT", + "REGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT", + "REGISTER_MARKETPLACE_MODEL_ENDPOINT", + "UPDATE_MARKETPLACE_MODEL_ENDPOINT_INPUT", + "UPDATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT", + "UPDATE_MARKETPLACE_MODEL_ENDPOINT", + "CREATE_CUSTOM_MODEL_DEPLOYMENT_INPUT", + "CREATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT", + "CREATE_CUSTOM_MODEL_DEPLOYMENT", + ), + ( + "CUSTOM_MODEL_DEPLOYMENT_DESCRIPTION", + "CUSTOM_MODEL_ARN", + "MODEL_DEPLOYMENT_NAME", + "CUSTOM_MODEL_DEPLOYMENT_ARN", + "CUSTOM_MODEL_DEPLOYMENT_IDENTIFIER", + "DELETE_CUSTOM_MODEL_DEPLOYMENT_INPUT", + "DELETE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT", + "DELETE_CUSTOM_MODEL_DEPLOYMENT", + "GET_CUSTOM_MODEL_DEPLOYMENT_INPUT", + "GET_CUSTOM_MODEL_DEPLOYMENT_OUTPUT", + "GET_CUSTOM_MODEL_DEPLOYMENT", + "CUSTOM_MODEL_DEPLOYMENT_STATUS", + "MODEL_ARN", + "CUSTOM_MODEL_DEPLOYMENT_UPDATE_STATUS", + "CUSTOM_MODEL_DEPLOYMENT_UPDATE_DETAILS", + "LIST_CUSTOM_MODEL_DEPLOYMENTS_INPUT", + "LIST_CUSTOM_MODEL_DEPLOYMENTS_OUTPUT", + "LIST_CUSTOM_MODEL_DEPLOYMENTS", + "CUSTOM_MODEL_DEPLOYMENT_SUMMARY", + "CUSTOM_MODEL_DEPLOYMENT_SUMMARY_LIST", + "UPDATE_CUSTOM_MODEL_DEPLOYMENT_INPUT", + "UPDATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT", + "UPDATE_CUSTOM_MODEL_DEPLOYMENT", + "MODEL_PACKAGE_ARN", + "MODEL_PACKAGE_ARN_DATA_SOURCE", + "CUSTOM_MODEL_DATA_SOURCE", + "CUSTOM_MODEL_NAME", + "S3_DATA_SOURCE", + "MODEL_DATA_SOURCE", + "CREATE_CUSTOM_MODEL_INPUT", + "CREATE_CUSTOM_MODEL_OUTPUT", + "CREATE_CUSTOM_MODEL", + "MODEL_IDENTIFIER", + "DELETE_CUSTOM_MODEL_INPUT", + "DELETE_CUSTOM_MODEL_OUTPUT", + "DELETE_CUSTOM_MODEL", + "GET_CUSTOM_MODEL_INPUT", + "GET_CUSTOM_MODEL_OUTPUT", + "GET_CUSTOM_MODEL", + "TEACHER_MODEL_IDENTIFIER", + "TEACHER_MODEL_CONFIG", + "DISTILLATION_CONFIG", + "LAMBDA_ARN", + "LAMBDA_GRADER_CONFIG", + "GRADER_CONFIG", + "RFT_BATCH_SIZE", + "EPOCH_COUNT", + "RFT_EVAL_INTERVAL", + "RFT_INFERENCE_MAX_TOKENS", + "RFT_LEARNING_RATE", + "RFT_MAX_PROMPT_LENGTH", + "REASONING_EFFORT", + "RFT_TRAINING_SAMPLE_PER_PROMPT", + "RFT_HYPER_PARAMETERS", + "RFT_CONFIG", + "CUSTOMIZATION_CONFIG", + "CUSTOMIZATION_TYPE", + "MODEL_CUSTOMIZATION_HYPER_PARAMETERS", + "MODEL_CUSTOMIZATION_JOB_ARN", + "JOB_NAME", + "MODEL_STATUS", + "OUTPUT_DATA_CONFIG", + "INVOCATION_LOG_SOURCE", + "REQUEST_METADATA_MAP", + "REQUEST_METADATA_BASE_FILTERS", + "REQUEST_METADATA_FILTERS_LIST", + "REQUEST_METADATA_FILTERS", + "USE_PROMPT_RESPONSE", + "INVOCATION_LOGS_CONFIG", + "TRAINING_DATA_CONFIG", + "METRIC_FLOAT", + "TRAINING_METRICS", + "VALIDATOR", + "VALIDATORS", + "VALIDATION_DATA_CONFIG", + "VALIDATOR_METRIC", + "VALIDATION_METRICS", + "FOUNDATION_MODEL_ARN", + "LIST_CUSTOM_MODELS_INPUT", + "LIST_CUSTOM_MODELS_OUTPUT", + "LIST_CUSTOM_MODELS", + "MODEL_NAME", + "CUSTOM_MODEL_SUMMARY", + "CUSTOM_MODEL_SUMMARY_LIST", + "GET_ACCOUNT_DATA_RETENTION_INPUT", + "GET_ACCOUNT_DATA_RETENTION_OUTPUT", + "GET_ACCOUNT_DATA_RETENTION", + "DATA_RETENTION_MODE", + "PUT_ACCOUNT_DATA_RETENTION_INPUT", + "PUT_ACCOUNT_DATA_RETENTION_OUTPUT", + "PUT_ACCOUNT_DATA_RETENTION", + "DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT", + "DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT", + "DELETE_ENFORCED_GUARDRAIL_CONFIGURATION", + "LIST_ENFORCED_GUARDRAILS_CONFIGURATION_INPUT", + "LIST_ENFORCED_GUARDRAILS_CONFIGURATION_OUTPUT", + "LIST_ENFORCED_GUARDRAILS_CONFIGURATION", + "PUT_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT", + "PUT_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT", + "PUT_ENFORCED_GUARDRAIL_CONFIGURATION", + "EVALUATION_JOB_IDENTIFIER", + "EVALUATION_JOB_IDENTIFIERS", + "BATCH_DELETE_EVALUATION_JOB_INPUT", + "BATCH_DELETE_EVALUATION_JOB_OUTPUT", + "BATCH_DELETE_EVALUATION_JOB", + "BATCH_DELETE_EVALUATION_JOB_ERROR", + "BATCH_DELETE_EVALUATION_JOB_ERRORS", + "EVALUATION_JOB_STATUS", + "BATCH_DELETE_EVALUATION_JOB_ITEM", + "BATCH_DELETE_EVALUATION_JOB_ITEMS", + "APPLICATION_TYPE", + "CUSTOM_METRIC_INSTRUCTIONS", + ), + ( + "METRIC_NAME", + "RATING_SCALE_ITEM_DEFINITION", + "RATING_SCALE_ITEM_VALUE", + "RATING_SCALE_ITEM", + "RATING_SCALE", + "CUSTOM_METRIC_DEFINITION", + "AUTOMATED_EVALUATION_CUSTOM_METRIC_SOURCE", + "AUTOMATED_EVALUATION_CUSTOM_METRICS", + "EVALUATOR_MODEL_IDENTIFIER", + "CUSTOM_METRIC_BEDROCK_EVALUATOR_MODEL", + "CUSTOM_METRIC_BEDROCK_EVALUATOR_MODELS", + "CUSTOM_METRIC_EVALUATOR_MODEL_CONFIG", + "AUTOMATED_EVALUATION_CUSTOM_METRIC_CONFIG", + "EVALUATION_DATASET_LOCATION", + "EVALUATION_DATASET_NAME", + "EVALUATION_DATASET", + "EVALUATION_METRIC_NAME", + "EVALUATION_METRIC_NAMES", + "EVALUATION_TASK_TYPE", + "EVALUATION_DATASET_METRIC_CONFIG", + "EVALUATION_DATASET_METRIC_CONFIGS", + "BEDROCK_EVALUATOR_MODEL", + "BEDROCK_EVALUATOR_MODELS", + "EVALUATOR_MODEL_CONFIG", + "AUTOMATED_EVALUATION_CONFIG", + "EVALUATION_METRIC_DESCRIPTION", + "EVALUATION_RATING_METHOD", + "HUMAN_EVALUATION_CUSTOM_METRIC", + "HUMAN_EVALUATION_CUSTOM_METRICS", + "SAGE_MAKER_FLOW_DEFINITION_ARN", + "HUMAN_TASK_INSTRUCTIONS", + "HUMAN_WORKFLOW_CONFIG", + "HUMAN_EVALUATION_CONFIG", + "EVALUATION_CONFIG", + "EVALUATION_MODEL_INFERENCE_PARAMS", + "EVALUATION_BEDROCK_MODEL_IDENTIFIER", + "PERFORMANCE_CONFIG_LATENCY", + "PERFORMANCE_CONFIGURATION", + "EVALUATION_BEDROCK_MODEL", + "EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIER", + "EVALUATION_PRECOMPUTED_INFERENCE_SOURCE", + "EVALUATION_MODEL_CONFIG", + "EVALUATION_MODEL_CONFIGS", + "GUARDRAIL_CONFIGURATION", + "MAX_TOKENS", + "RAG_STOP_SEQUENCES", + "TEMPERATURE", + "TOP_P", + "TEXT_INFERENCE_CONFIG", + "KB_INFERENCE_CONFIG", + "TEXT_PROMPT_TEMPLATE", + "PROMPT_TEMPLATE", + "EXTERNAL_SOURCES_GENERATION_CONFIGURATION", + "BEDROCK_MODEL_ARN", + "CONTENT_TYPE", + "BYTE_CONTENT_BLOB", + "IDENTIFIER", + "BYTE_CONTENT_DOC", + "K_BS3_URI", + "S3_OBJECT_DOC", + "EXTERNAL_SOURCE_TYPE", + "EXTERNAL_SOURCE", + "EXTERNAL_SOURCES", + "EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION", + "GENERATION_CONFIGURATION", + "KNOWLEDGE_BASE_ID", + "QUERY_TRANSFORMATION_TYPE", + "QUERY_TRANSFORMATION_CONFIGURATION", + "ORCHESTRATION_CONFIGURATION", + "FILTER_KEY", + "FILTER_VALUE", + "FILTER_ATTRIBUTE", + "ATTRIBUTE_TYPE", + "METADATA_ATTRIBUTE_SCHEMA", + "METADATA_ATTRIBUTE_SCHEMA_LIST", + "IMPLICIT_FILTER_CONFIGURATION", + "SEARCH_TYPE", + "RERANKING_METADATA_SELECTION_MODE", + "FIELD_FOR_RERANKING", + "FIELDS_FOR_RERANKING", + "RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION", + "METADATA_CONFIGURATION_FOR_RERANKING", + "BEDROCK_RERANKING_MODEL_ARN", + "VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION", + "VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION", + "VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE", + "VECTOR_SEARCH_RERANKING_CONFIGURATION", + "RETRIEVE_AND_GENERATE_TYPE", + "EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIER", + "EVALUATION_PRECOMPUTED_RETRIEVE_AND_GENERATE_SOURCE_CONFIG", + "EVALUATION_PRECOMPUTED_RETRIEVE_SOURCE_CONFIG", + "EVALUATION_PRECOMPUTED_RAG_SOURCE_CONFIG", + "EVALUATION_JOB_DESCRIPTION", + "EVALUATION_JOB_NAME", + "EVALUATION_OUTPUT_DATA_CONFIG", + "EVALUATION_JOB_ARN", + "CREATE_EVALUATION_JOB_OUTPUT", + "CREATE_EVALUATION_JOB_INPUT", + "CREATE_EVALUATION_JOB", + "GET_EVALUATION_JOB_INPUT", + "GET_EVALUATION_JOB_OUTPUT", + "GET_EVALUATION_JOB", + "ERROR_MESSAGES", + "EVALUATION_JOB_TYPE", + "LIST_EVALUATION_JOBS_INPUT", + "LIST_EVALUATION_JOBS_OUTPUT", + "LIST_EVALUATION_JOBS", + "EVALUATOR_MODEL_IDENTIFIERS", + "EVALUATION_TASK_TYPES", + "EVALUATION_BEDROCK_MODEL_IDENTIFIERS", + "EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIERS", + "EVALUATION_MODEL_CONFIG_SUMMARY", + "EVALUATION_BEDROCK_KNOWLEDGE_BASE_IDENTIFIERS", + "EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIERS", + "EVALUATION_RAG_CONFIG_SUMMARY", + "EVALUATION_INFERENCE_CONFIG_SUMMARY", + "EVALUATION_SUMMARY", + "EVALUATION_SUMMARIES", + "STOP_EVALUATION_JOB_INPUT", + "STOP_EVALUATION_JOB_OUTPUT", + "STOP_EVALUATION_JOB", + ), + ( + "AUTOMATED_REASONING_CONFIDENCE_FILTER_THRESHOLD", + "AUTOMATED_REASONING_POLICY_ARN_LIST", + "GUARDRAIL_AUTOMATED_REASONING_POLICY_CONFIG", + "GUARDRAIL_BLOCKED_MESSAGING", + "GUARDRAIL_CONTENT_FILTER_ACTION", + "GUARDRAIL_MODALITY", + "GUARDRAIL_MODALITIES", + "GUARDRAIL_FILTER_STRENGTH", + "GUARDRAIL_CONTENT_FILTER_TYPE", + "GUARDRAIL_CONTENT_FILTER_CONFIG", + "GUARDRAIL_CONTENT_FILTERS_CONFIG", + "GUARDRAIL_CONTENT_FILTERS_TIER_NAME", + "GUARDRAIL_CONTENT_FILTERS_TIER_CONFIG", + "GUARDRAIL_CONTENT_POLICY_CONFIG", + "GUARDRAIL_CONTEXTUAL_GROUNDING_ACTION", + "GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE", + "GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_CONFIG", + "GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS_CONFIG", + "GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_NAME", + "GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_CONFIG", + "GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_CONFIG", + "GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_IDENTIFIER", + "GUARDRAIL_CROSS_REGION_CONFIG", + "GUARDRAIL_DESCRIPTION", + "GUARDRAIL_NAME", + "GUARDRAIL_SENSITIVE_INFORMATION_ACTION", + "GUARDRAIL_PII_ENTITY_TYPE", + "GUARDRAIL_PII_ENTITY_CONFIG", + "GUARDRAIL_PII_ENTITIES_CONFIG", + "GUARDRAIL_REGEX_CONFIG", + "GUARDRAIL_REGEXES_CONFIG", + "GUARDRAIL_SENSITIVE_INFORMATION_POLICY_CONFIG", + "GUARDRAIL_TOPICS_TIER_NAME", + "GUARDRAIL_TOPICS_TIER_CONFIG", + "GUARDRAIL_TOPIC_DEFINITION", + "GUARDRAIL_TOPIC_EXAMPLE", + "GUARDRAIL_TOPIC_EXAMPLES", + "GUARDRAIL_TOPIC_ACTION", + "GUARDRAIL_TOPIC_NAME", + "GUARDRAIL_TOPIC_TYPE", + "GUARDRAIL_TOPIC_CONFIG", + "GUARDRAIL_TOPICS_CONFIG", + "GUARDRAIL_TOPIC_POLICY_CONFIG", + "GUARDRAIL_WORD_ACTION", + "GUARDRAIL_MANAGED_WORDS_TYPE", + "GUARDRAIL_MANAGED_WORDS_CONFIG", + "GUARDRAIL_MANAGED_WORD_LISTS_CONFIG", + "GUARDRAIL_WORD_CONFIG", + "GUARDRAIL_WORDS_CONFIG", + "GUARDRAIL_WORD_POLICY_CONFIG", + "CREATE_GUARDRAIL_INPUT", + "CREATE_GUARDRAIL_OUTPUT", + "CREATE_GUARDRAIL", + "GUARDRAIL_DRAFT_VERSION", + "CREATE_GUARDRAIL_VERSION_INPUT", + "CREATE_GUARDRAIL_VERSION_OUTPUT", + "CREATE_GUARDRAIL_VERSION", + "DELETE_GUARDRAIL_INPUT", + "DELETE_GUARDRAIL_OUTPUT", + "DELETE_GUARDRAIL", + "GUARDRAIL_VERSION", + "GET_GUARDRAIL_INPUT", + "GET_GUARDRAIL_OUTPUT", + "GET_GUARDRAIL", + "GUARDRAIL_AUTOMATED_REASONING_POLICY", + "GUARDRAIL_CONTENT_FILTER", + "GUARDRAIL_CONTENT_FILTERS", + "GUARDRAIL_CONTENT_FILTERS_TIER", + "GUARDRAIL_CONTENT_POLICY", + "GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER", + "GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS", + "GUARDRAIL_CONTEXTUAL_GROUNDING_TIER", + "GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY", + "GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ARN", + "GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ID", + "GUARDRAIL_CROSS_REGION_DETAILS", + "GUARDRAIL_FAILURE_RECOMMENDATION", + "GUARDRAIL_FAILURE_RECOMMENDATIONS", + "GUARDRAIL_PII_ENTITY", + "GUARDRAIL_PII_ENTITIES", + "GUARDRAIL_REGEX", + "GUARDRAIL_REGEXES", + "GUARDRAIL_SENSITIVE_INFORMATION_POLICY", + "GUARDRAIL_STATUS", + "GUARDRAIL_STATUS_REASON", + "GUARDRAIL_STATUS_REASONS", + "GUARDRAIL_TOPICS_TIER", + "GUARDRAIL_TOPIC", + "GUARDRAIL_TOPICS", + "GUARDRAIL_TOPIC_POLICY", + "GUARDRAIL_MANAGED_WORDS", + "GUARDRAIL_MANAGED_WORD_LISTS", + ), + ( + "GUARDRAIL_WORD", + "GUARDRAIL_WORDS", + "GUARDRAIL_WORD_POLICY", + "LIST_GUARDRAILS_INPUT", + "LIST_GUARDRAILS_OUTPUT", + "LIST_GUARDRAILS", + "GUARDRAIL_SUMMARY", + "GUARDRAIL_SUMMARIES", + "UPDATE_GUARDRAIL_INPUT", + "UPDATE_GUARDRAIL_OUTPUT", + "UPDATE_GUARDRAIL", + "INFERENCE_PROFILE_DESCRIPTION", + "INFERENCE_PROFILE_NAME", + "INFERENCE_PROFILE_MODEL_SOURCE_ARN", + "INFERENCE_PROFILE_MODEL_SOURCE", + "CREATE_INFERENCE_PROFILE_INPUT", + "CREATE_INFERENCE_PROFILE_OUTPUT", + "CREATE_INFERENCE_PROFILE", + "INFERENCE_PROFILE_ARN", + "INFERENCE_PROFILE_STATUS", + "INFERENCE_PROFILE_IDENTIFIER", + "DELETE_INFERENCE_PROFILE_INPUT", + "DELETE_INFERENCE_PROFILE_OUTPUT", + "DELETE_INFERENCE_PROFILE", + "GET_INFERENCE_PROFILE_INPUT", + "GET_INFERENCE_PROFILE_OUTPUT", + "GET_INFERENCE_PROFILE", + "INFERENCE_PROFILE_ID", + "INFERENCE_PROFILE_MODEL", + "INFERENCE_PROFILE_MODELS", + "INFERENCE_PROFILE_TYPE", + "LIST_INFERENCE_PROFILES_INPUT", + "LIST_INFERENCE_PROFILES_OUTPUT", + "LIST_INFERENCE_PROFILES", + "INFERENCE_PROFILE_SUMMARY", + "INFERENCE_PROFILE_SUMMARIES", + "DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT", + "DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT", + "DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION", + "GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT", + "GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT", + "GET_MODEL_INVOCATION_LOGGING_CONFIGURATION", + "BUCKET_NAME", + "KEY_PREFIX", + "S3_CONFIG", + "LOG_GROUP_NAME", + "CLOUD_WATCH_CONFIG", + "LOGGING_CONFIG", + "PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT", + "PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT", + "PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION", + "CREATE_MODEL_COPY_JOB_INPUT", + "CREATE_MODEL_COPY_JOB_OUTPUT", + "CREATE_MODEL_COPY_JOB", + "MODEL_COPY_JOB_ARN", + "GET_MODEL_COPY_JOB_INPUT", + "GET_MODEL_COPY_JOB_OUTPUT", + "GET_MODEL_COPY_JOB", + "MODEL_COPY_JOB_STATUS", + "LIST_MODEL_COPY_JOBS_INPUT", + "LIST_MODEL_COPY_JOBS_OUTPUT", + "LIST_MODEL_COPY_JOBS", + "MODEL_COPY_JOB_SUMMARY", + "MODEL_COPY_JOB_SUMMARIES", + "IMPORTED_MODEL_NAME", + "CREATE_MODEL_IMPORT_JOB_INPUT", + "CREATE_MODEL_IMPORT_JOB_OUTPUT", + "CREATE_MODEL_IMPORT_JOB", + "MODEL_IMPORT_JOB_ARN", + "IMPORTED_MODEL_IDENTIFIER", + "DELETE_IMPORTED_MODEL_INPUT", + "DELETE_IMPORTED_MODEL_OUTPUT", + "DELETE_IMPORTED_MODEL", + "GET_IMPORTED_MODEL_INPUT", + "GET_IMPORTED_MODEL_OUTPUT", + "GET_IMPORTED_MODEL", + "CUSTOM_MODEL_UNITS_VERSION", + "CUSTOM_MODEL_UNITS", + "INSTRUCT_SUPPORTED", + "IMPORTED_MODEL_ARN", + "MODEL_IMPORT_JOB_IDENTIFIER", + "GET_MODEL_IMPORT_JOB_INPUT", + "GET_MODEL_IMPORT_JOB_OUTPUT", + "GET_MODEL_IMPORT_JOB", + "MODEL_IMPORT_JOB_STATUS", + "LIST_IMPORTED_MODELS_INPUT", + "LIST_IMPORTED_MODELS_OUTPUT", + "LIST_IMPORTED_MODELS", + "MODEL_ARCHITECTURE", + "IMPORTED_MODEL_SUMMARY", + "IMPORTED_MODEL_SUMMARY_LIST", + "LIST_MODEL_IMPORT_JOBS_INPUT", + "LIST_MODEL_IMPORT_JOBS_OUTPUT", + "LIST_MODEL_IMPORT_JOBS", + ), + ( + "MODEL_IMPORT_JOB_SUMMARY", + "MODEL_IMPORT_JOB_SUMMARIES", + "MODEL_INVOCATION_IDEMPOTENCY_TOKEN", + "S3_INPUT_FORMAT", + "MODEL_INVOCATION_JOB_S3_INPUT_DATA_CONFIG", + "MODEL_INVOCATION_JOB_INPUT_DATA_CONFIG", + "MODEL_INVOCATION_JOB_NAME", + "MODEL_ID", + "MODEL_INVOCATION_TYPE", + "MODEL_INVOCATION_JOB_S3_OUTPUT_DATA_CONFIG", + "MODEL_INVOCATION_JOB_OUTPUT_DATA_CONFIG", + "MODEL_INVOCATION_JOB_TIMEOUT_DURATION_IN_HOURS", + "CREATE_MODEL_INVOCATION_JOB_INPUT", + "CREATE_MODEL_INVOCATION_JOB_OUTPUT", + "CREATE_MODEL_INVOCATION_JOB", + "MODEL_INVOCATION_JOB_ARN", + "MODEL_INVOCATION_JOB_IDENTIFIER", + "GET_MODEL_INVOCATION_JOB_INPUT", + "GET_MODEL_INVOCATION_JOB_OUTPUT", + "GET_MODEL_INVOCATION_JOB", + "NON_NEGATIVE_LONG", + "MESSAGE", + "MODEL_INVOCATION_JOB_STATUS", + "LIST_MODEL_INVOCATION_JOBS_INPUT", + "LIST_MODEL_INVOCATION_JOBS_OUTPUT", + "LIST_MODEL_INVOCATION_JOBS", + "MODEL_INVOCATION_JOB_SUMMARY", + "MODEL_INVOCATION_JOB_SUMMARIES", + "STOP_MODEL_INVOCATION_JOB_INPUT", + "STOP_MODEL_INVOCATION_JOB_OUTPUT", + "STOP_MODEL_INVOCATION_JOB", + "GET_FOUNDATION_MODEL_IDENTIFIER", + "GET_FOUNDATION_MODEL_INPUT", + "GET_FOUNDATION_MODEL_OUTPUT", + "GET_FOUNDATION_MODEL", + "MODEL_CUSTOMIZATION", + "MODEL_CUSTOMIZATION_LIST", + "INFERENCE_TYPE", + "INFERENCE_TYPE_LIST", + "MODEL_MODALITY", + "MODEL_MODALITY_LIST", + "FOUNDATION_MODEL_LIFECYCLE_STATUS", + "FOUNDATION_MODEL_LIFECYCLE", + "BRANDED_NAME", + "FOUNDATION_MODEL_DETAILS", + "PROVIDER", + "LIST_FOUNDATION_MODELS_INPUT", + "LIST_FOUNDATION_MODELS_OUTPUT", + "LIST_FOUNDATION_MODELS", + "FOUNDATION_MODEL_SUMMARY", + "FOUNDATION_MODEL_SUMMARY_LIST", + "PROMPT_ROUTER_DESCRIPTION", + "PROMPT_ROUTER_TARGET_MODEL_ARN", + "PROMPT_ROUTER_TARGET_MODEL", + "PROMPT_ROUTER_TARGET_MODELS", + "PROMPT_ROUTER_NAME", + "ROUTING_CRITERIA", + "CREATE_PROMPT_ROUTER_INPUT", + "CREATE_PROMPT_ROUTER_OUTPUT", + "CREATE_PROMPT_ROUTER", + "PROMPT_ROUTER_ARN", + "DELETE_PROMPT_ROUTER_INPUT", + "DELETE_PROMPT_ROUTER_OUTPUT", + "DELETE_PROMPT_ROUTER", + "GET_PROMPT_ROUTER_INPUT", + "GET_PROMPT_ROUTER_OUTPUT", + "GET_PROMPT_ROUTER", + "PROMPT_ROUTER_STATUS", + "PROMPT_ROUTER_TYPE", + "LIST_PROMPT_ROUTERS_INPUT", + "LIST_PROMPT_ROUTERS_OUTPUT", + "LIST_PROMPT_ROUTERS", + "PROMPT_ROUTER_SUMMARY", + "PROMPT_ROUTER_SUMMARIES", + "COMMITMENT_DURATION", + "POSITIVE_INTEGER", + "PROVISIONED_MODEL_NAME", + "CREATE_PROVISIONED_MODEL_THROUGHPUT_INPUT", + "CREATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT", + "CREATE_PROVISIONED_MODEL_THROUGHPUT", + "PROVISIONED_MODEL_ARN", + "PROVISIONED_MODEL_ID", + "DELETE_PROVISIONED_MODEL_THROUGHPUT_INPUT", + "DELETE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT", + "DELETE_PROVISIONED_MODEL_THROUGHPUT", + "GET_PROVISIONED_MODEL_THROUGHPUT_INPUT", + "GET_PROVISIONED_MODEL_THROUGHPUT_OUTPUT", + "GET_PROVISIONED_MODEL_THROUGHPUT", + "PROVISIONED_MODEL_STATUS", + "SORT_BY_PROVISIONED_MODELS", + ), + ( + "BEDROCK_MODEL_ID", + "LIST_PROVISIONED_MODEL_THROUGHPUTS_INPUT", + "LIST_PROVISIONED_MODEL_THROUGHPUTS_OUTPUT", + "LIST_PROVISIONED_MODEL_THROUGHPUTS", + "PROVISIONED_MODEL_SUMMARY", + "PROVISIONED_MODEL_SUMMARIES", + "UPDATE_PROVISIONED_MODEL_THROUGHPUT_INPUT", + "UPDATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT", + "UPDATE_PROVISIONED_MODEL_THROUGHPUT", + "RESOURCE_POLICY_RESOURCE_ARN", + "DELETE_RESOURCE_POLICY_INPUT", + "DELETE_RESOURCE_POLICY_OUTPUT", + "DELETE_RESOURCE_POLICY", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + "RESOURCE_POLICY_DOCUMENT", + "PUT_RESOURCE_POLICY_INPUT", + "PUT_RESOURCE_POLICY_OUTPUT", + "PUT_RESOURCE_POLICY", + "OFFER_TOKEN", + "CREATE_FOUNDATION_MODEL_AGREEMENT_INPUT", + "CREATE_FOUNDATION_MODEL_AGREEMENT_OUTPUT", + "CREATE_FOUNDATION_MODEL_AGREEMENT", + "DELETE_FOUNDATION_MODEL_AGREEMENT_INPUT", + "DELETE_FOUNDATION_MODEL_AGREEMENT_OUTPUT", + "DELETE_FOUNDATION_MODEL_AGREEMENT", + "GET_FOUNDATION_MODEL_AVAILABILITY_INPUT", + "GET_FOUNDATION_MODEL_AVAILABILITY_OUTPUT", + "GET_FOUNDATION_MODEL_AVAILABILITY", + "AUTHORIZATION_STATUS", + "ENTITLEMENT_AVAILABILITY", + "REGION_AVAILABILITY", + "OFFER_TYPE", + "LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_INPUT", + "LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_OUTPUT", + "LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS", + "OFFER_ID", + "LEGAL_TERM", + "SUPPORT_TERM", + "DIMENSIONAL_PRICE_RATE", + "RATE_CARD", + "PRICING_TERM", + "VALIDITY_TERM", + "TERM_DETAILS", + "OFFER", + "OFFERS", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "BASE_MODEL_IDENTIFIER", + "CREATE_MODEL_CUSTOMIZATION_JOB_INPUT", + "CREATE_MODEL_CUSTOMIZATION_JOB_OUTPUT", + "CREATE_MODEL_CUSTOMIZATION_JOB", + "MODEL_CUSTOMIZATION_JOB_IDENTIFIER", + "GET_MODEL_CUSTOMIZATION_JOB_INPUT", + "GET_MODEL_CUSTOMIZATION_JOB_OUTPUT", + "GET_MODEL_CUSTOMIZATION_JOB", + "MODEL_CUSTOMIZATION_JOB_STATUS", + "JOB_STATUS_DETAILS", + "DATA_PROCESSING_DETAILS", + "TRAINING_DETAILS", + "VALIDATION_DETAILS", + "STATUS_DETAILS", + "FINE_TUNING_JOB_STATUS", + "LIST_MODEL_CUSTOMIZATION_JOBS_INPUT", + "LIST_MODEL_CUSTOMIZATION_JOBS_OUTPUT", + "LIST_MODEL_CUSTOMIZATION_JOBS", + "MODEL_CUSTOMIZATION_JOB_SUMMARY", + "MODEL_CUSTOMIZATION_JOB_SUMMARIES", + "STOP_MODEL_CUSTOMIZATION_JOB_INPUT", + "STOP_MODEL_CUSTOMIZATION_JOB_OUTPUT", + "STOP_MODEL_CUSTOMIZATION_JOB", + "RETRIEVAL_FILTER", + "RETRIEVAL_FILTER_LIST", + "KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION", + "KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION", + "KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION", + "RETRIEVE_CONFIG", + "RETRIEVE_AND_GENERATE_CONFIGURATION", + "KNOWLEDGE_BASE_CONFIG", + "RAG_CONFIG", + "RAG_CONFIGS", + "EVALUATION_INFERENCE_CONFIG", + "AMAZON_BEDROCK_CONTROL_PLANE_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_0.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_0.py new file mode 100644 index 000000000..a6454bae1 --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_0.py @@ -0,0 +1,1271 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.bedrock" +_AE = "AcceptEula" +_s = "smithy.api#default" +_NBS = "NonBlankString" +_ADE = "AccessDeniedException" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_AEGCI = "AccountEnforcedGuardrailConfigurationId" +_GI = "GuardrailIdentifier" +_GNV = "GuardrailNumericalVersion" +_EMI = "ExcludedModelId" +_EML = "ExcludedModelsList" +_me = "member" +_IMI = "IncludedModelId" +_IML = "IncludedModelsList" +_ME = "ModelEnforcement" +_iM = "includedModels" +_smi = "smithy.api#required" +_eM = "excludedModels" +_SGM = "SelectiveGuardingMode" +_SELECTIVE = "SELECTIVE" +_sV = "smithy.api#enumValue" +_COMPREHENSIVE = "COMPREHENSIVE" +_SCG = "SelectiveContentGuarding" +_sy = "system" +_mes = "messages" +_AEGIIC = "AccountEnforcedGuardrailInferenceInputConfiguration" +_gI = "guardrailIdentifier" +_gV = "guardrailVersion" +_sCG = "selectiveContentGuarding" +_mE = "modelEnforcement" +_T = "Timestamp" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_GA = "GuardrailArn" +_GIu = "GuardrailId" +_IT = "InputTags" +_HONOR = "HONOR" +_IGNORE = "IGNORE" +_CO = "ConfigurationOwner" +_AEGOC = "AccountEnforcedGuardrailOutputConfiguration" +_cI = "configId" +_gA = "guardrailArn" +_gIu = "guardrailId" +_iT = "inputTags" +_cA = "createdAt" +_cB = "createdBy" +_uA = "updatedAt" +_uB = "updatedBy" +_o = "owner" +_AEGOCc = "AccountEnforcedGuardrailsOutputConfiguration" +_AI = "AccountId" +_AFDB = "AcknowledgementFormDataBody" +_AMRFK = "AdditionalModelRequestFieldsKey" +_AMRFV = "AdditionalModelRequestFieldsValue" +_AMRF = "AdditionalModelRequestFields" +_k = "key" +_v = "value" +_SU = "S3Uri" +_APOIC = "AdvancedPromptOptimizationInputConfig" +_sU = "s3Uri" +_APOJA = "AdvancedPromptOptimizationJobArn" +_APOJD = "AdvancedPromptOptimizationJobDescription" +_APOJI = "AdvancedPromptOptimizationJobIdentifier" +_APOJId = "AdvancedPromptOptimizationJobIdentifiers" +_APOJN = "AdvancedPromptOptimizationJobName" +_BDAPOJI = "BatchDeleteAdvancedPromptOptimizationJobInput" +_sSI = "smithy.synthetic#originalShapeId" +_cBDAPOJR = "com.amazonaws.bedrock#BatchDeleteAdvancedPromptOptimizationJobRequest" +_smit = "smithy.api#input" +_jI = "jobIdentifiers" +_APOJS = "AdvancedPromptOptimizationJobStatus" +_IP = "IN_PROGRESS" +_IPn = "InProgress" +_COMPLETED = "COMPLETED" +_C = "Completed" +_FAILED = "FAILED" +_F = "Failed" +_PC = "PARTIALLY_COMPLETED" +_PCa = "PartiallyCompleted" +_STOPPING = "STOPPING" +_S = "Stopping" +_STOPPED = "STOPPED" +_St = "Stopped" +_DELETING = "DELETING" +_D = "Deleting" +_BDAPOJIa = "BatchDeleteAdvancedPromptOptimizationJobItem" +_jIo = "jobIdentifier" +_jS = "jobStatus" +_BDAPOJIat = "BatchDeleteAdvancedPromptOptimizationJobItems" +_BDAPOJE = "BatchDeleteAdvancedPromptOptimizationJobError" +_co = "code" +_BDAPOJEa = "BatchDeleteAdvancedPromptOptimizationJobErrors" +_BDAPOJO = "BatchDeleteAdvancedPromptOptimizationJobOutput" +_cBDAPOJRo = "com.amazonaws.bedrock#BatchDeleteAdvancedPromptOptimizationJobResponse" +_smith = "smithy.api#output" +_e = "errors" +_aPOJ = "advancedPromptOptimizationJobs" +_ISE = "InternalServerException" +_se = "server" +_TE = "ThrottlingException" +_VE = "ValidationException" +_BDAPOJ = "BatchDeleteAdvancedPromptOptimizationJob" +_smithy = "smithy.api#http" +_CE = "ConflictException" +_ITd = "IdempotencyToken" +_KKA = "KmsKeyArn" +_NESL = "NonEmptyStringList" +_IC = "InferenceConfiguration" +_mT = "maxTokens" +_t = "temperature" +_tP = "topP" +_sS = "stopSequences" +_APOMI = "AdvancedPromptOptimizationModelIdentifier" +_MC = "ModelConfiguration" +_mI = "modelId" +_iC = "inferenceConfig" +_aMRF = "additionalModelRequestFields" +_MCo = "ModelConfigurations" +_SUF = "S3UriFolder" +_APOOC = "AdvancedPromptOptimizationOutputConfig" +_TK = "TagKey" +_TV = "TagValue" +_Ta = "Tag" +_TL = "TagList" +_CAPOJI = "CreateAdvancedPromptOptimizationJobInput" +_cCAPOJR = "com.amazonaws.bedrock#CreateAdvancedPromptOptimizationJobRequest" +_jN = "jobName" +_jD = "jobDescription" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_iCn = "inputConfig" +_oC = "outputConfig" +_eKA = "encryptionKeyArn" +_ta = "tags" +_mC = "modelConfigurations" +_CAPOJO = "CreateAdvancedPromptOptimizationJobOutput" +_cCAPOJRo = "com.amazonaws.bedrock#CreateAdvancedPromptOptimizationJobResponse" +_jA = "jobArn" +_RNFE = "ResourceNotFoundException" +_SQEE = "ServiceQuotaExceededException" +_TRA = "TaggableResourcesArn" +_TMTE = "TooManyTagsException" +_rN = "resourceName" +_CAPOJ = "CreateAdvancedPromptOptimizationJob" +_GAPOJI = "GetAdvancedPromptOptimizationJobInput" +_cGAPOJR = "com.amazonaws.bedrock#GetAdvancedPromptOptimizationJobRequest" +_sL = "smithy.api#httpLabel" +_EM = "ErrorMessage" +_GAPOJO = "GetAdvancedPromptOptimizationJobOutput" +_cGAPOJRo = "com.amazonaws.bedrock#GetAdvancedPromptOptimizationJobResponse" +_cTr = "creationTime" +_lMT = "lastModifiedTime" +_fM = "failureMessage" +_GAPOJ = "GetAdvancedPromptOptimizationJob" +_MR = "MaxResults" +_PT = "PaginationToken" +_SJB = "SortJobsBy" +_CT = "CREATION_TIME" +_CTr = "CreationTime" +_SO = "SortOrder" +_ASCENDING = "ASCENDING" +_A = "Ascending" +_DESCENDING = "DESCENDING" +_De = "Descending" +_LAPOJI = "ListAdvancedPromptOptimizationJobsInput" +_cLAPOJR = "com.amazonaws.bedrock#ListAdvancedPromptOptimizationJobsRequest" +_mR = "maxResults" +_sQ = "smithy.api#httpQuery" +_nT = "nextToken" +_sB = "sortBy" +_sO = "sortOrder" +_APOJSd = "AdvancedPromptOptimizationJobSummary" +_APOJSdv = "AdvancedPromptOptimizationJobSummaries" +_LAPOJO = "ListAdvancedPromptOptimizationJobsOutput" +_cLAPOJRo = "com.amazonaws.bedrock#ListAdvancedPromptOptimizationJobsResponse" +_jSo = "jobSummaries" +_LAPOJ = "ListAdvancedPromptOptimizationJobs" +_SAPOJI = "StopAdvancedPromptOptimizationJobInput" +_cSAPOJR = "com.amazonaws.bedrock#StopAdvancedPromptOptimizationJobRequest" +_SAPOJO = "StopAdvancedPromptOptimizationJobOutput" +_cSAPOJRo = "com.amazonaws.bedrock#StopAdvancedPromptOptimizationJobResponse" +_SAPOJ = "StopAdvancedPromptOptimizationJob" +_AS = "AgreementStatus" +_AVAILABLE = "AVAILABLE" +_PENDING = "PENDING" +_NA = "NOT_AVAILABLE" +_ERROR = "ERROR" +_AA = "AgreementAvailability" +_st = "status" +_eMr = "errorMessage" +_GUCFMAI = "GetUseCaseForModelAccessInput" +_cGUCFMAR = "com.amazonaws.bedrock#GetUseCaseForModelAccessRequest" +_GUCFMAO = "GetUseCaseForModelAccessOutput" +_cGUCFMARo = "com.amazonaws.bedrock#GetUseCaseForModelAccessResponse" +_fD = "formData" +_GUCFMA = "GetUseCaseForModelAccess" +_PUCFMAI = "PutUseCaseForModelAccessInput" +_cPUCFMAR = "com.amazonaws.bedrock#PutUseCaseForModelAccessRequest" +_PUCFMAO = "PutUseCaseForModelAccessOutput" +_cPUCFMARo = "com.amazonaws.bedrock#PutUseCaseForModelAccessResponse" +_PUCFMA = "PutUseCaseForModelAccess" +_ARPA = "AutomatedReasoningPolicyArn" +_ARPBWI = "AutomatedReasoningPolicyBuildWorkflowId" +_CARPBWI = "CancelAutomatedReasoningPolicyBuildWorkflowInput" +_cCARPBWR = "com.amazonaws.bedrock#CancelAutomatedReasoningPolicyBuildWorkflowRequest" +_pA = "policyArn" +_bWI = "buildWorkflowId" +_CARPBWO = "CancelAutomatedReasoningPolicyBuildWorkflowOutput" +_cCARPBWRo = "com.amazonaws.bedrock#CancelAutomatedReasoningPolicyBuildWorkflowResponse" +_CARPBW = "CancelAutomatedReasoningPolicyBuildWorkflow" +_ARPD = "AutomatedReasoningPolicyDescription" +_smithya = "smithy.api#sensitive" +_KKI = "KmsKeyId" +_ARPN = "AutomatedReasoningPolicyName" +_ARPDRAE = "AutomatedReasoningPolicyDefinitionRuleAlternateExpression" +_ARPDRE = "AutomatedReasoningPolicyDefinitionRuleExpression" +_ARPDRI = "AutomatedReasoningPolicyDefinitionRuleId" +_ARPDR = "AutomatedReasoningPolicyDefinitionRule" +_i = "id" +_ex = "expression" +_aE = "alternateExpression" +_ARPDRL = "AutomatedReasoningPolicyDefinitionRuleList" +_ARPDTD = "AutomatedReasoningPolicyDefinitionTypeDescription" +_ARPDTN = "AutomatedReasoningPolicyDefinitionTypeName" +_ARPDTVD = "AutomatedReasoningPolicyDefinitionTypeValueDescription" +_ARPDTVN = "AutomatedReasoningPolicyDefinitionTypeValueName" +_ARPDTV = "AutomatedReasoningPolicyDefinitionTypeValue" +_d = "description" +_ARPDTVL = "AutomatedReasoningPolicyDefinitionTypeValueList" +_ARPDT = "AutomatedReasoningPolicyDefinitionType" +_n = "name" +_va = "values" +_ARPDTL = "AutomatedReasoningPolicyDefinitionTypeList" +_ARPDVD = "AutomatedReasoningPolicyDefinitionVariableDescription" +_ARPDVN = "AutomatedReasoningPolicyDefinitionVariableName" +_ARPDV = "AutomatedReasoningPolicyDefinitionVariable" +_ty = "type" +_ARPDVL = "AutomatedReasoningPolicyDefinitionVariableList" +_ARPFV = "AutomatedReasoningPolicyFormatVersion" +_ARPDu = "AutomatedReasoningPolicyDefinition" +_ve = "version" +_v_ = "1" +_typ = "types" +_r = "rules" +_var = "variables" +_CARPI = "CreateAutomatedReasoningPolicyInput" +_cCARPR = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyRequest" +_cRT = "clientRequestToken" +_pD = "policyDefinition" +_kKI = "kmsKeyId" +_ARPH = "AutomatedReasoningPolicyHash" +_ARPV = "AutomatedReasoningPolicyVersion" +_CARPO = "CreateAutomatedReasoningPolicyOutput" +_cCARPRo = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyResponse" +_dH = "definitionHash" +_CARP = "CreateAutomatedReasoningPolicy" +_ARCTC = "AutomatedReasoningCheckTranslationConfidence" +_RIUE = "ResourceInUseException" +_ARPI = "AutomatedReasoningPolicyId" +_SMB = "SortModelsBy" + +ACCEPT_EULA: StaticSchema = (2, n0, _AE, {_s: False}) + +NON_BLANK_STRING: StaticSchema = (3, n0, _NBS, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_sm: _c, _sE: 403}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID: StaticSchema = (3, n0, _AEGCI, 0) + +GUARDRAIL_IDENTIFIER: StaticSchema = (3, n0, _GI, 0) + +GUARDRAIL_NUMERICAL_VERSION: StaticSchema = (3, n0, _GNV, 0) + +EXCLUDED_MODEL_ID: StaticSchema = (3, n0, _EMI, 0) + +EXCLUDED_MODELS_LIST: StaticSchema = ( + 16, + n0, + _EML, + 0, + (_me,), + ((EXCLUDED_MODEL_ID, 0),), +) + +INCLUDED_MODEL_ID: StaticSchema = (3, n0, _IMI, 0) + +INCLUDED_MODELS_LIST: StaticSchema = ( + 16, + n0, + _IML, + 0, + (_me,), + ((INCLUDED_MODEL_ID, 0),), +) + +MODEL_ENFORCEMENT: StaticSchema = ( + 18, + n0, + _ME, + 0, + (_iM, _eM), + ((INCLUDED_MODELS_LIST, 1), (EXCLUDED_MODELS_LIST, 1)), +) + +SELECTIVE_GUARDING_MODE: StaticSchema = ( + 14, + n0, + _SGM, + 0, + (_SELECTIVE, _COMPREHENSIVE), + ((-1, {_sV: _SELECTIVE}), (-1, {_sV: _COMPREHENSIVE})), +) + +SELECTIVE_CONTENT_GUARDING: StaticSchema = ( + 18, + n0, + _SCG, + 0, + (_sy, _mes), + ((SELECTIVE_GUARDING_MODE, 0), (SELECTIVE_GUARDING_MODE, 0)), +) + +ACCOUNT_ENFORCED_GUARDRAIL_INFERENCE_INPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AEGIIC, + 0, + (_gI, _gV, _sCG, _mE), + ( + (GUARDRAIL_IDENTIFIER, 1), + (GUARDRAIL_NUMERICAL_VERSION, 1), + (SELECTIVE_CONTENT_GUARDING, 0), + (MODEL_ENFORCEMENT, 0), + ), +) + +TIMESTAMP: StaticSchema = (4, n0, _T, {_sF: _dt}) + +GUARDRAIL_ARN: StaticSchema = (3, n0, _GA, 0) + +GUARDRAIL_ID: StaticSchema = (3, n0, _GIu, 0) + +INPUT_TAGS: StaticSchema = ( + 14, + n0, + _IT, + 0, + (_HONOR, _IGNORE), + ((-1, {_sV: _HONOR}), (-1, {_sV: _IGNORE})), +) + +CONFIGURATION_OWNER: StaticSchema = (3, n0, _CO, 0) + +ACCOUNT_ENFORCED_GUARDRAIL_OUTPUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AEGOC, + 0, + (_cI, _gA, _gIu, _iT, _sCG, _gV, _cA, _cB, _uA, _uB, _o, _mE), + ( + (ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID, 0), + (GUARDRAIL_ARN, 0), + (GUARDRAIL_ID, 0), + (INPUT_TAGS, 0), + (SELECTIVE_CONTENT_GUARDING, 0), + (GUARDRAIL_NUMERICAL_VERSION, 0), + (TIMESTAMP, 0), + (3, 0), + (TIMESTAMP, 0), + (3, 0), + (CONFIGURATION_OWNER, 0), + (MODEL_ENFORCEMENT, 0), + ), +) + +ACCOUNT_ENFORCED_GUARDRAILS_OUTPUT_CONFIGURATION: StaticSchema = ( + 16, + n0, + _AEGOCc, + 0, + (_me,), + ((ACCOUNT_ENFORCED_GUARDRAIL_OUTPUT_CONFIGURATION, 0),), +) + +ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) + +ACKNOWLEDGEMENT_FORM_DATA_BODY: StaticSchema = (1, n0, _AFDB, 0) + +ADDITIONAL_MODEL_REQUEST_FIELDS_KEY: StaticSchema = (3, n0, _AMRFK, 0) + +ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE: StaticSchema = (13, n0, _AMRFV, 0) + +ADDITIONAL_MODEL_REQUEST_FIELDS: StaticSchema = ( + 17, + n0, + _AMRF, + 0, + (_k, _v), + ( + (ADDITIONAL_MODEL_REQUEST_FIELDS_KEY, 0), + (ADDITIONAL_MODEL_REQUEST_FIELDS_VALUE, 0), + ), +) + +S3_URI: StaticSchema = (3, n0, _SU, 0) + +ADVANCED_PROMPT_OPTIMIZATION_INPUT_CONFIG: StaticSchema = ( + 18, + n0, + _APOIC, + 0, + (_sU,), + ((S3_URI, 1),), +) + +ADVANCED_PROMPT_OPTIMIZATION_JOB_ARN: StaticSchema = (3, n0, _APOJA, 0) + +ADVANCED_PROMPT_OPTIMIZATION_JOB_DESCRIPTION: StaticSchema = (3, n0, _APOJD, 0) + +ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER: StaticSchema = (3, n0, _APOJI, 0) + +ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _APOJId, + 0, + (_me,), + ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 0),), +) + +ADVANCED_PROMPT_OPTIMIZATION_JOB_NAME: StaticSchema = (3, n0, _APOJN, 0) + +BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _BDAPOJI, + {_sSI: _cBDAPOJR, _smit: None}, + (_jI,), + ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIERS, 1),), +) + +BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _BDAPOJO, + {_sSI: _cBDAPOJRo, _smith: None}, + (_e, _aPOJ), + ( + (lambda: BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERRORS, 1), + (lambda: BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEMS, 1), + ), +) + +BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB: StaticOperationSchema = ( + 23, + n0, + _BDAPOJ, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/advanced-prompt-optimization-job/batch-delete", + } + ) + }, + BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT, + BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +ADVANCED_PROMPT_OPTIMIZATION_JOB_STATUS: StaticSchema = ( + 14, + n0, + _APOJS, + 0, + (_IP, _COMPLETED, _FAILED, _PC, _STOPPING, _STOPPED, _DELETING), + ( + (-1, {_sV: _IPn}), + (-1, {_sV: _C}), + (-1, {_sV: _F}), + (-1, {_sV: _PCa}), + (-1, {_sV: _S}), + (-1, {_sV: _St}), + (-1, {_sV: _D}), + ), +) + +BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEM: StaticSchema = ( + 18, + n0, + _BDAPOJIa, + 0, + (_jIo, _jS), + ( + (ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 1), + (ADVANCED_PROMPT_OPTIMIZATION_JOB_STATUS, 1), + ), +) + +BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEMS: StaticSchema = ( + 16, + n0, + _BDAPOJIat, + 0, + (_me,), + ((BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ITEM, 0),), +) + +BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERROR: StaticSchema = ( + 18, + n0, + _BDAPOJE, + 0, + (_jIo, _co, _m), + ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 1), (3, 1), (3, 0)), +) + +BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERRORS: StaticSchema = ( + 16, + n0, + _BDAPOJEa, + 0, + (_me,), + ((BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB_ERROR, 0),), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_sm: _se, _sE: 500}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + {_sm: _c, _sE: 429}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_sm: _c, _sE: 400}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + {_sm: _c, _sE: 400}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +IDEMPOTENCY_TOKEN: StaticSchema = (3, n0, _ITd, 0) + +KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) + +NON_EMPTY_STRING_LIST: StaticSchema = (16, n0, _NESL, 0, (_me,), ((3, 0),)) + +INFERENCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IC, + 0, + (_mT, _t, _tP, _sS), + ((7, 0), (9, 0), (9, 0), (NON_EMPTY_STRING_LIST, 0)), +) + +ADVANCED_PROMPT_OPTIMIZATION_MODEL_IDENTIFIER: StaticSchema = (3, n0, _APOMI, 0) + +MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MC, + 0, + (_mI, _iC, _aMRF), + ( + (ADVANCED_PROMPT_OPTIMIZATION_MODEL_IDENTIFIER, 1), + (INFERENCE_CONFIGURATION, 0), + (ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + ), +) + +MODEL_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _MCo, + 0, + (_me,), + ((MODEL_CONFIGURATION, 0),), +) + +S3_URI_FOLDER: StaticSchema = (3, n0, _SUF, 0) + +ADVANCED_PROMPT_OPTIMIZATION_OUTPUT_CONFIG: StaticSchema = ( + 18, + n0, + _APOOC, + 0, + (_sU,), + ((S3_URI_FOLDER, 1),), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _Ta, 0, (_k, _v), ((TAG_KEY, 1), (TAG_VALUE, 1))) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, 0),)) + +CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _CAPOJI, + {_sSI: _cCAPOJR, _smit: None}, + (_jN, _jD, _cT, _iCn, _oC, _eKA, _ta, _mC), + ( + (ADVANCED_PROMPT_OPTIMIZATION_JOB_NAME, 1), + (ADVANCED_PROMPT_OPTIMIZATION_JOB_DESCRIPTION, 0), + (IDEMPOTENCY_TOKEN, 2), + (ADVANCED_PROMPT_OPTIMIZATION_INPUT_CONFIG, 1), + (ADVANCED_PROMPT_OPTIMIZATION_OUTPUT_CONFIG, 1), + (KMS_KEY_ARN, 0), + (TAG_LIST, 0), + (MODEL_CONFIGURATIONS, 1), + ), +) + +CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _CAPOJO, + {_sSI: _cCAPOJRo, _smith: None}, + (_jA,), + ((ADVANCED_PROMPT_OPTIMIZATION_JOB_ARN, 1),), +) + +CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB: StaticOperationSchema = ( + 23, + n0, + _CAPOJ, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/advanced-prompt-optimization-jobs"} + ) + }, + CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT, + CREATE_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + lambda: TOO_MANY_TAGS_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_sm: _c, _sE: 404}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_sm: _c, _sE: 400}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +TAGGABLE_RESOURCES_ARN: StaticSchema = (3, n0, _TRA, 0) + +TOO_MANY_TAGS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TMTE, + {_sm: _c, _sE: 400}, + (_m, _rN), + ((NON_BLANK_STRING, 0), (TAGGABLE_RESOURCES_ARN, 0)), +) + +GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _GAPOJI, + {_sSI: _cGAPOJR, _smit: None}, + (_jIo,), + ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 9),), +) + +GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _GAPOJO, + {_sSI: _cGAPOJRo, _smith: None}, + (_jA, _jN, _jD, _jS, _iCn, _oC, _eKA, _cTr, _lMT, _fM, _mC), + ( + (ADVANCED_PROMPT_OPTIMIZATION_JOB_ARN, 1), + (ADVANCED_PROMPT_OPTIMIZATION_JOB_NAME, 1), + (ADVANCED_PROMPT_OPTIMIZATION_JOB_DESCRIPTION, 0), + (ADVANCED_PROMPT_OPTIMIZATION_JOB_STATUS, 1), + (ADVANCED_PROMPT_OPTIMIZATION_INPUT_CONFIG, 1), + (ADVANCED_PROMPT_OPTIMIZATION_OUTPUT_CONFIG, 1), + (KMS_KEY_ARN, 0), + (TIMESTAMP, 1), + (TIMESTAMP, 0), + (lambda: ERROR_MESSAGE, 0), + (MODEL_CONFIGURATIONS, 1), + ), +) + +GET_ADVANCED_PROMPT_OPTIMIZATION_JOB: StaticOperationSchema = ( + 23, + n0, + _GAPOJ, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/advanced-prompt-optimization-jobs/{jobIdentifier}", + } + ) + }, + GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT, + GET_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +PAGINATION_TOKEN: StaticSchema = (3, n0, _PT, 0) + +SORT_JOBS_BY: StaticSchema = (14, n0, _SJB, 0, (_CT,), ((-1, {_sV: _CTr}),)) + +SORT_ORDER: StaticSchema = ( + 14, + n0, + _SO, + 0, + (_ASCENDING, _DESCENDING), + ((-1, {_sV: _A}), (-1, {_sV: _De})), +) + +LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LAPOJI, + {_sSI: _cLAPOJR, _smit: None}, + (_mR, _nT, _sB, _sO), + ( + (MAX_RESULTS, {_sQ: _mR}), + (PAGINATION_TOKEN, {_sQ: _nT}), + (SORT_JOBS_BY, {_sQ: _sB}), + (SORT_ORDER, {_sQ: _sO}), + ), +) + +LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAPOJO, + {_sSI: _cLAPOJRo, _smith: None}, + (_jSo, _nT), + ((lambda: ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARIES, 0), (PAGINATION_TOKEN, 0)), +) + +LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS: StaticOperationSchema = ( + 23, + n0, + _LAPOJ, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/advanced-prompt-optimization-jobs"} + ) + }, + LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_INPUT, + LIST_ADVANCED_PROMPT_OPTIMIZATION_JOBS_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARY: StaticSchema = ( + 18, + n0, + _APOJSd, + 0, + (_jA, _jN, _jS, _cTr, _lMT), + ( + (ADVANCED_PROMPT_OPTIMIZATION_JOB_ARN, 1), + (ADVANCED_PROMPT_OPTIMIZATION_JOB_NAME, 1), + (ADVANCED_PROMPT_OPTIMIZATION_JOB_STATUS, 1), + (TIMESTAMP, 1), + (TIMESTAMP, 0), + ), +) + +ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARIES: StaticSchema = ( + 16, + n0, + _APOJSdv, + 0, + (_me,), + ((ADVANCED_PROMPT_OPTIMIZATION_JOB_SUMMARY, 0),), +) + +STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SAPOJI, + {_sSI: _cSAPOJR, _smit: None}, + (_jIo,), + ((ADVANCED_PROMPT_OPTIMIZATION_JOB_IDENTIFIER, 9),), +) + +STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SAPOJO, + {_sSI: _cSAPOJRo, _smith: None}, +) + +STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB: StaticOperationSchema = ( + 23, + n0, + _SAPOJ, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/advanced-prompt-optimization-jobs/{jobIdentifier}/stop", + } + ) + }, + STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_INPUT, + STOP_ADVANCED_PROMPT_OPTIMIZATION_JOB_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +AGREEMENT_STATUS: StaticSchema = ( + 14, + n0, + _AS, + 0, + (_AVAILABLE, _PENDING, _NA, _ERROR), + ( + (-1, {_sV: _AVAILABLE}), + (-1, {_sV: _PENDING}), + (-1, {_sV: _NA}), + (-1, {_sV: _ERROR}), + ), +) + +AGREEMENT_AVAILABILITY: StaticSchema = ( + 18, + n0, + _AA, + 0, + (_st, _eMr), + ((AGREEMENT_STATUS, 1), (3, 0)), +) + +GET_USE_CASE_FOR_MODEL_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _GUCFMAI, + {_sSI: _cGUCFMAR, _smit: None}, +) + +GET_USE_CASE_FOR_MODEL_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _GUCFMAO, + {_sSI: _cGUCFMARo, _smith: None}, + (_fD,), + ((ACKNOWLEDGEMENT_FORM_DATA_BODY, 1),), +) + +GET_USE_CASE_FOR_MODEL_ACCESS: StaticOperationSchema = ( + 23, + n0, + _GUCFMA, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/use-case-for-model-access"} + ) + }, + GET_USE_CASE_FOR_MODEL_ACCESS_INPUT, + GET_USE_CASE_FOR_MODEL_ACCESS_OUTPUT, + ( + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +PUT_USE_CASE_FOR_MODEL_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _PUCFMAI, + {_sSI: _cPUCFMAR, _smit: None}, + (_fD,), + ((ACKNOWLEDGEMENT_FORM_DATA_BODY, 1),), +) + +PUT_USE_CASE_FOR_MODEL_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _PUCFMAO, + {_sSI: _cPUCFMARo, _smith: None}, +) + +PUT_USE_CASE_FOR_MODEL_ACCESS: StaticOperationSchema = ( + 23, + n0, + _PUCFMA, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/use-case-for-model-access"} + ) + }, + PUT_USE_CASE_FOR_MODEL_ACCESS_INPUT, + PUT_USE_CASE_FOR_MODEL_ACCESS_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_ARN: StaticSchema = (3, n0, _ARPA, 0) + +AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID: StaticSchema = (3, n0, _ARPBWI, 0) + +CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT: StaticSchema = ( + 18, + n0, + _CARPBWI, + {_sSI: _cCARPBWR, _smit: None}, + (_pA, _bWI), + ( + (AUTOMATED_REASONING_POLICY_ARN, 9), + (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + ), +) + +CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _CARPBWO, + {_sSI: _cCARPBWRo, _smith: None}, +) + +CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW: StaticOperationSchema = ( + 23, + n0, + _CARPBW, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/cancel", + } + ) + }, + CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT, + CANCEL_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_DESCRIPTION: StaticSchema = (3, n0, _ARPD, 4) + +KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) + +AUTOMATED_REASONING_POLICY_NAME: StaticSchema = (3, n0, _ARPN, 4) + +AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ALTERNATE_EXPRESSION: StaticSchema = ( + 3, + n0, + _ARPDRAE, + 4, +) + +AUTOMATED_REASONING_POLICY_DEFINITION_RULE_EXPRESSION: StaticSchema = ( + 3, + n0, + _ARPDRE, + 4, +) + +AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID: StaticSchema = (3, n0, _ARPDRI, 0) + +AUTOMATED_REASONING_POLICY_DEFINITION_RULE: StaticSchema = ( + 18, + n0, + _ARPDR, + 0, + (_i, _ex, _aE), + ( + (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_EXPRESSION, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ALTERNATE_EXPRESSION, 0), + ), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_RULE_LIST: StaticSchema = ( + 16, + n0, + _ARPDRL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_DEFINITION_RULE, 0),), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_DESCRIPTION: StaticSchema = ( + 3, + n0, + _ARPDTD, + 4, +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME: StaticSchema = (3, n0, _ARPDTN, 4) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_DESCRIPTION: StaticSchema = ( + 3, + n0, + _ARPDTVD, + 4, +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME: StaticSchema = ( + 3, + n0, + _ARPDTVN, + 0, +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE: StaticSchema = ( + 18, + n0, + _ARPDTV, + 0, + (_v, _d), + ( + (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_DESCRIPTION, 0), + ), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_LIST: StaticSchema = ( + 16, + n0, + _ARPDTVL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE, 0),), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE: StaticSchema = ( + 18, + n0, + _ARPDT, + 0, + (_n, _d, _va), + ( + (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_DESCRIPTION, 0), + (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_LIST: StaticSchema = ( + 16, + n0, + _ARPDTL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE, 0),), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_DESCRIPTION: StaticSchema = ( + 3, + n0, + _ARPDVD, + 4, +) + +AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME: StaticSchema = (3, n0, _ARPDVN, 4) + +AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE: StaticSchema = ( + 18, + n0, + _ARPDV, + 0, + (_n, _ty, _d), + ( + (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_DESCRIPTION, 1), + ), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_LIST: StaticSchema = ( + 16, + n0, + _ARPDVL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE, 0),), +) + +AUTOMATED_REASONING_POLICY_FORMAT_VERSION: StaticSchema = (3, n0, _ARPFV, 0) + +AUTOMATED_REASONING_POLICY_DEFINITION: StaticSchema = ( + 18, + n0, + _ARPDu, + 0, + (_ve, _typ, _r, _var), + ( + (AUTOMATED_REASONING_POLICY_FORMAT_VERSION, {_s: _v_}), + (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_LIST, 0), + (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_LIST, 0), + (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_LIST, 0), + ), +) + +CREATE_AUTOMATED_REASONING_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _CARPI, + {_sSI: _cCARPR, _smit: None}, + (_n, _d, _cRT, _pD, _kKI, _ta), + ( + (AUTOMATED_REASONING_POLICY_NAME, 1), + (AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), + (IDEMPOTENCY_TOKEN, 2), + (AUTOMATED_REASONING_POLICY_DEFINITION, 0), + (KMS_KEY_ID, 0), + (TAG_LIST, 0), + ), +) + +CREATE_AUTOMATED_REASONING_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _CARPO, + {_sSI: _cCARPRo, _smith: None}, + (_pA, _ve, _n, _d, _dH, _cA, _uA), + ( + (AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: AUTOMATED_REASONING_POLICY_VERSION, 1), + (AUTOMATED_REASONING_POLICY_NAME, 1), + (AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), + (lambda: AUTOMATED_REASONING_POLICY_HASH, 0), + (TIMESTAMP, 1), + (TIMESTAMP, 1), + ), +) + +CREATE_AUTOMATED_REASONING_POLICY: StaticOperationSchema = ( + 23, + n0, + _CARP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/automated-reasoning-policies"} + ) + }, + CREATE_AUTOMATED_REASONING_POLICY_INPUT, + CREATE_AUTOMATED_REASONING_POLICY_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + TOO_MANY_TAGS_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_HASH: StaticSchema = (3, n0, _ARPH, 0) + +AUTOMATED_REASONING_POLICY_VERSION: StaticSchema = (3, n0, _ARPV, 0) + +AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE: StaticSchema = (10, n0, _ARCTC, 0) + +RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _RIUE, + {_sm: _c, _sE: 400}, + (_m,), + ((NON_BLANK_STRING, 0),), +) + +AUTOMATED_REASONING_POLICY_ID: StaticSchema = (3, n0, _ARPI, 0) + +SORT_MODELS_BY: StaticSchema = (14, n0, _SMB, 0, (_CT,), ((-1, {_sV: _CTr}),)) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_1.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_1.py new file mode 100644 index 000000000..7f01bc7bb --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_1.py @@ -0,0 +1,1250 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrock" +_s = "smithy.api#default" +_me = "member" +_smi = "smithy.api#required" +_sV = "smithy.api#enumValue" +_cA = "createdAt" +_uA = "updatedAt" +_v = "value" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_COMPLETED = "COMPLETED" +_FAILED = "FAILED" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sT = "smithy.api#idempotencyToken" +_ta = "tags" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_st = "status" +_pA = "policyArn" +_bWI = "buildWorkflowId" +_smithya = "smithy.api#sensitive" +_i = "id" +_ex = "expression" +_d = "description" +_n = "name" +_va = "values" +_ty = "type" +_ve = "version" +_cRT = "clientRequestToken" +_pD = "policyDefinition" +_dH = "definitionHash" +_ARCR = "AutomatedReasoningCheckResult" +_VALID = "VALID" +_INVALID = "INVALID" +_SATISFIABLE = "SATISFIABLE" +_IMPOSSIBLE = "IMPOSSIBLE" +_TA = "TRANSLATION_AMBIGUOUS" +_TC = "TOO_COMPLEX" +_NT = "NO_TRANSLATION" +_ARPTGC = "AutomatedReasoningPolicyTestGuardContent" +_ARPTQC = "AutomatedReasoningPolicyTestQueryContent" +_CARPTCI = "CreateAutomatedReasoningPolicyTestCaseInput" +_cCARPTCR = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyTestCaseRequest" +_gC = "guardContent" +_qC = "queryContent" +_eAFR = "expectedAggregatedFindingsResult" +_cTo = "confidenceThreshold" +_ARPTCI = "AutomatedReasoningPolicyTestCaseId" +_CARPTCO = "CreateAutomatedReasoningPolicyTestCaseOutput" +_cCARPTCRo = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyTestCaseResponse" +_tCI = "testCaseId" +_CARPTC = "CreateAutomatedReasoningPolicyTestCase" +_CARPVI = "CreateAutomatedReasoningPolicyVersionInput" +_cCARPVR = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyVersionRequest" +_lUDH = "lastUpdatedDefinitionHash" +_CARPVO = "CreateAutomatedReasoningPolicyVersionOutput" +_cCARPVRo = "com.amazonaws.bedrock#CreateAutomatedReasoningPolicyVersionResponse" +_CARPV = "CreateAutomatedReasoningPolicyVersion" +_DARPI = "DeleteAutomatedReasoningPolicyInput" +_cDARPR = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyRequest" +_f = "force" +_DARPO = "DeleteAutomatedReasoningPolicyOutput" +_cDARPRo = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyResponse" +_DARP = "DeleteAutomatedReasoningPolicy" +_DARPBWI = "DeleteAutomatedReasoningPolicyBuildWorkflowInput" +_cDARPBWR = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyBuildWorkflowRequest" +_lUA = "lastUpdatedAt" +_DARPBWO = "DeleteAutomatedReasoningPolicyBuildWorkflowOutput" +_cDARPBWRo = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyBuildWorkflowResponse" +_DARPBW = "DeleteAutomatedReasoningPolicyBuildWorkflow" +_DARPTCI = "DeleteAutomatedReasoningPolicyTestCaseInput" +_cDARPTCR = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyTestCaseRequest" +_DARPTCO = "DeleteAutomatedReasoningPolicyTestCaseOutput" +_cDARPTCRo = "com.amazonaws.bedrock#DeleteAutomatedReasoningPolicyTestCaseResponse" +_DARPTC = "DeleteAutomatedReasoningPolicyTestCase" +_EARPVI = "ExportAutomatedReasoningPolicyVersionInput" +_cEARPVR = "com.amazonaws.bedrock#ExportAutomatedReasoningPolicyVersionRequest" +_EARPVO = "ExportAutomatedReasoningPolicyVersionOutput" +_cEARPVRo = "com.amazonaws.bedrock#ExportAutomatedReasoningPolicyVersionResponse" +_sP = "smithy.api#httpPayload" +_EARPV = "ExportAutomatedReasoningPolicyVersion" +_GARPI = "GetAutomatedReasoningPolicyInput" +_cGARPR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyRequest" +_GARPO = "GetAutomatedReasoningPolicyOutput" +_cGARPRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyResponse" +_pI = "policyId" +_kKA = "kmsKeyArn" +_GARP = "GetAutomatedReasoningPolicy" +_GARPAI = "GetAutomatedReasoningPolicyAnnotationsInput" +_cGARPAR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyAnnotationsRequest" +_ARPARA = "AutomatedReasoningPolicyAddRuleAnnotation" +_ARPARNL = "AutomatedReasoningPolicyAnnotationRuleNaturalLanguage" +_ARPARFNLA = "AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation" +_nL = "naturalLanguage" +_ARPATA = "AutomatedReasoningPolicyAddTypeAnnotation" +_ARPAVA = "AutomatedReasoningPolicyAddVariableAnnotation" +_ARPDRA = "AutomatedReasoningPolicyDeleteRuleAnnotation" +_rI = "ruleId" +_ARPDTA = "AutomatedReasoningPolicyDeleteTypeAnnotation" +_ARPDVA = "AutomatedReasoningPolicyDeleteVariableAnnotation" +_ARPAIC = "AutomatedReasoningPolicyAnnotationIngestContent" +_ARPICA = "AutomatedReasoningPolicyIngestContentAnnotation" +_con = "content" +_ARPAFNL = "AutomatedReasoningPolicyAnnotationFeedbackNaturalLanguage" +_ARPDRIL = "AutomatedReasoningPolicyDefinitionRuleIdList" +_ARPUFRFA = "AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation" +_rIu = "ruleIds" +_fe = "feedback" +_ARPSE = "AutomatedReasoningPolicyScenarioExpression" +_ARPUFSFA = "AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation" +_sEc = "scenarioExpression" +_ARPURA = "AutomatedReasoningPolicyUpdateRuleAnnotation" +_ARPATV = "AutomatedReasoningPolicyAddTypeValue" +_ARPDTVu = "AutomatedReasoningPolicyDeleteTypeValue" +_ARPUTV = "AutomatedReasoningPolicyUpdateTypeValue" +_nV = "newValue" +_ARPTVA = "AutomatedReasoningPolicyTypeValueAnnotation" +_aTV = "addTypeValue" +_uTV = "updateTypeValue" +_dTV = "deleteTypeValue" +_ARPTVAL = "AutomatedReasoningPolicyTypeValueAnnotationList" +_ARPUTA = "AutomatedReasoningPolicyUpdateTypeAnnotation" +_nN = "newName" +_ARPUVA = "AutomatedReasoningPolicyUpdateVariableAnnotation" +_ARPAu = "AutomatedReasoningPolicyAnnotation" +_aT = "addType" +_uT = "updateType" +_dT = "deleteType" +_aV = "addVariable" +_uV = "updateVariable" +_dV = "deleteVariable" +_aR = "addRule" +_uR = "updateRule" +_dR = "deleteRule" +_aRFNL = "addRuleFromNaturalLanguage" +_uFRF = "updateFromRulesFeedback" +_uFSF = "updateFromScenarioFeedback" +_iCng = "ingestContent" +_ARPAL = "AutomatedReasoningPolicyAnnotationList" +_GARPAO = "GetAutomatedReasoningPolicyAnnotationsOutput" +_cGARPARo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyAnnotationsResponse" +_a = "annotations" +_aSH = "annotationSetHash" +_GARPA = "GetAutomatedReasoningPolicyAnnotations" +_GARPBWI = "GetAutomatedReasoningPolicyBuildWorkflowInput" +_cGARPBWR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyBuildWorkflowRequest" +_ARPBWT = "AutomatedReasoningPolicyBuildWorkflowType" +_IC_ = "INGEST_CONTENT" +_RP = "REFINE_POLICY" +_IP_ = "IMPORT_POLICY" +_GFR = "GENERATE_FIDELITY_REPORT" +_GPS = "GENERATE_POLICY_SCENARIOS" +_RPA = "RESOLVE_POLICY_AMBIGUITIES" +_IRP = "ITERATIVELY_REFINE_POLICY" +_ARPBDCT = "AutomatedReasoningPolicyBuildDocumentContentType" +_PDF = "PDF" +_p = "pdf" +_TEXT = "TEXT" +_tx = "txt" +_ARPBDD = "AutomatedReasoningPolicyBuildDocumentDescription" +_ARPBDN = "AutomatedReasoningPolicyBuildDocumentName" +_ARPBWS = "AutomatedReasoningPolicyBuildWorkflowStatus" +_SCHEDULED = "SCHEDULED" +_CR = "CANCEL_REQUESTED" +_PREPROCESSING = "PREPROCESSING" +_BUILDING = "BUILDING" +_TESTING = "TESTING" +_CANCELLED = "CANCELLED" +_GARPBWO = "GetAutomatedReasoningPolicyBuildWorkflowOutput" +_cGARPBWRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyBuildWorkflowResponse" +_bWT = "buildWorkflowType" +_dN = "documentName" +_dCT = "documentContentType" +_dD = "documentDescription" +_GARPBW = "GetAutomatedReasoningPolicyBuildWorkflow" +_ARPBRAI = "AutomatedReasoningPolicyBuildResultAssetId" +_ARPBRAT = "AutomatedReasoningPolicyBuildResultAssetType" +_BL = "BUILD_LOG" +_QR = "QUALITY_REPORT" +_PD = "POLICY_DEFINITION" +_GTC = "GENERATED_TEST_CASES" +_PS = "POLICY_SCENARIOS" +_FR = "FIDELITY_REPORT" +_AM = "ASSET_MANIFEST" +_SD = "SOURCE_DOCUMENT" +_GARPBWRAI = "GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput" +_cGARPBWRAR = ( + "com.amazonaws.bedrock#GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest" +) +_aTs = "assetType" +_aI = "assetId" +_ARPBRAN = "AutomatedReasoningPolicyBuildResultAssetName" +_ARPBRAME = "AutomatedReasoningPolicyBuildResultAssetManifestEntry" +_aN = "assetName" +_ARPBRAML = "AutomatedReasoningPolicyBuildResultAssetManifestList" +_ARPBRAM = "AutomatedReasoningPolicyBuildResultAssetManifest" +_en = "entries" +_ARPARM = "AutomatedReasoningPolicyAddRuleMutation" +_ru = "rule" +_ARPATM = "AutomatedReasoningPolicyAddTypeMutation" +_ARPAVM = "AutomatedReasoningPolicyAddVariableMutation" +_vari = "variable" +_ARPDRM = "AutomatedReasoningPolicyDeleteRuleMutation" +_ARPDTM = "AutomatedReasoningPolicyDeleteTypeMutation" +_ARPDVM = "AutomatedReasoningPolicyDeleteVariableMutation" +_ARPURM = "AutomatedReasoningPolicyUpdateRuleMutation" +_ARPUTM = "AutomatedReasoningPolicyUpdateTypeMutation" +_ARPUVM = "AutomatedReasoningPolicyUpdateVariableMutation" +_ARPM = "AutomatedReasoningPolicyMutation" +_ARPBDB = "AutomatedReasoningPolicyBuildDocumentBlob" +_GARPBWRAO = "GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput" +_cGARPBWRARo = ( + "com.amazonaws.bedrock#GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse" +) +_bWA = "buildWorkflowAssets" +_GARPBWRA = "GetAutomatedReasoningPolicyBuildWorkflowResultAssets" +_ARPTC = "AutomatedReasoningPolicyTestCase" + +AUTOMATED_REASONING_CHECK_RESULT: StaticSchema = ( + 14, + n0, + _ARCR, + 0, + (_VALID, _INVALID, _SATISFIABLE, _IMPOSSIBLE, _TA, _TC, _NT), + ( + (-1, {_sV: _VALID}), + (-1, {_sV: _INVALID}), + (-1, {_sV: _SATISFIABLE}), + (-1, {_sV: _IMPOSSIBLE}), + (-1, {_sV: _TA}), + (-1, {_sV: _TC}), + (-1, {_sV: _NT}), + ), +) + +AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT: StaticSchema = (3, n0, _ARPTGC, 4) + +AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT: StaticSchema = (3, n0, _ARPTQC, 4) + +CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT: StaticSchema = ( + 18, + n0, + _CARPTCI, + {_sSI: _cCARPTCR, _smit: None}, + (_pA, _gC, _qC, _eAFR, _cRT, _cTo), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT, 1), + (AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT, 0), + (AUTOMATED_REASONING_CHECK_RESULT, 1), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + (lambda: schemas.AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE, 0), + ), +) + +CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT: StaticSchema = ( + 18, + n0, + _CARPTCO, + {_sSI: _cCARPTCRo, _smith: None}, + (_pA, _tCI), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 1), + ), +) + +CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE: StaticOperationSchema = ( + 23, + n0, + _CARPTC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/automated-reasoning-policies/{policyArn}/test-cases", + } + ) + }, + CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT, + CREATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_TEST_CASE_ID: StaticSchema = (3, n0, _ARPTCI, 0) + +CREATE_AUTOMATED_REASONING_POLICY_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CARPVI, + {_sSI: _cCARPVR, _smit: None}, + (_pA, _cRT, _lUDH, _ta), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + (lambda: schemas.AUTOMATED_REASONING_POLICY_HASH, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CARPVO, + {_sSI: _cCARPVRo, _smith: None}, + (_pA, _ve, _n, _d, _dH, _cA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_VERSION, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_HASH, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +CREATE_AUTOMATED_REASONING_POLICY_VERSION: StaticOperationSchema = ( + 23, + n0, + _CARPV, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/automated-reasoning-policies/{policyArn}/versions", + } + ) + }, + CREATE_AUTOMATED_REASONING_POLICY_VERSION_INPUT, + CREATE_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_AUTOMATED_REASONING_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DARPI, + {_sSI: _cDARPR, _smit: None}, + (_pA, _f), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), (2, {_s: False, _sQ: _f})), +) + +DELETE_AUTOMATED_REASONING_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DARPO, + {_sSI: _cDARPRo, _smith: None}, +) + +DELETE_AUTOMATED_REASONING_POLICY: StaticOperationSchema = ( + 23, + n0, + _DARP, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/automated-reasoning-policies/{policyArn}", + } + ) + }, + DELETE_AUTOMATED_REASONING_POLICY_INPUT, + DELETE_AUTOMATED_REASONING_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT: StaticSchema = ( + 18, + n0, + _DARPBWI, + {_sSI: _cDARPBWR, _smit: None}, + (_pA, _bWI, _lUA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + (lambda: schemas.TIMESTAMP, {_sQ: _uA, _smi: None}), + ), +) + +DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _DARPBWO, + {_sSI: _cDARPBWRo, _smith: None}, +) + +DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW: StaticOperationSchema = ( + 23, + n0, + _DARPBW, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}", + } + ) + }, + DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT, + DELETE_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT: StaticSchema = ( + 18, + n0, + _DARPTCI, + {_sSI: _cDARPTCR, _smit: None}, + (_pA, _tCI, _lUA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 9), + (lambda: schemas.TIMESTAMP, {_sQ: _uA, _smi: None}), + ), +) + +DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT: StaticSchema = ( + 18, + n0, + _DARPTCO, + {_sSI: _cDARPTCRo, _smith: None}, +) + +DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE: StaticOperationSchema = ( + 23, + n0, + _DARPTC, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", + } + ) + }, + DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT, + DELETE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EXPORT_AUTOMATED_REASONING_POLICY_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _EARPVI, + {_sSI: _cEARPVR, _smit: None}, + (_pA,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9),), +) + +EXPORT_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _EARPVO, + {_sSI: _cEARPVRo, _smith: None}, + (_pD,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION, 17),), +) + +EXPORT_AUTOMATED_REASONING_POLICY_VERSION: StaticOperationSchema = ( + 23, + n0, + _EARPV, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/export", + } + ) + }, + EXPORT_AUTOMATED_REASONING_POLICY_VERSION_INPUT, + EXPORT_AUTOMATED_REASONING_POLICY_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_AUTOMATED_REASONING_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GARPI, + {_sSI: _cGARPR, _smit: None}, + (_pA,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9),), +) + +GET_AUTOMATED_REASONING_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GARPO, + {_sSI: _cGARPRo, _smith: None}, + (_pA, _n, _ve, _pI, _d, _dH, _kKA, _cA, _uA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_VERSION, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_ID, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_HASH, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +GET_AUTOMATED_REASONING_POLICY: StaticOperationSchema = ( + 23, + n0, + _GARP, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}", + } + ) + }, + GET_AUTOMATED_REASONING_POLICY_INPUT, + GET_AUTOMATED_REASONING_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GARPAI, + {_sSI: _cGARPAR, _smit: None}, + (_pA, _bWI), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + ), +) + +GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GARPAO, + {_sSI: _cGARPARo, _smith: None}, + (_pA, _n, _bWI, _a, _aSH, _uA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), + (lambda: AUTOMATED_REASONING_POLICY_ANNOTATION_LIST, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_HASH, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS: StaticOperationSchema = ( + 23, + n0, + _GARPA, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations", + } + ) + }, + GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT, + GET_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_ADD_RULE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPARA, + 0, + (_ex,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_EXPRESSION, 1),), +) + +AUTOMATED_REASONING_POLICY_ANNOTATION_RULE_NATURAL_LANGUAGE: StaticSchema = ( + 3, + n0, + _ARPARNL, + 4, +) + +AUTOMATED_REASONING_POLICY_ADD_RULE_FROM_NATURAL_LANGUAGE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPARFNLA, + 0, + (_nL,), + ((AUTOMATED_REASONING_POLICY_ANNOTATION_RULE_NATURAL_LANGUAGE, 1),), +) + +AUTOMATED_REASONING_POLICY_ADD_TYPE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPATA, + 0, + (_n, _d, _va), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_DESCRIPTION, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_ADD_VARIABLE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPAVA, + 0, + (_n, _ty, _d), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_DESCRIPTION, 1), + ), +) + +AUTOMATED_REASONING_POLICY_DELETE_RULE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPDRA, + 0, + (_rI,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1),), +) + +AUTOMATED_REASONING_POLICY_DELETE_TYPE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPDTA, + 0, + (_n,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1),), +) + +AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPDVA, + 0, + (_n,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1),), +) + +AUTOMATED_REASONING_POLICY_ANNOTATION_INGEST_CONTENT: StaticSchema = (3, n0, _ARPAIC, 4) + +AUTOMATED_REASONING_POLICY_INGEST_CONTENT_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPICA, + 0, + (_con,), + ((AUTOMATED_REASONING_POLICY_ANNOTATION_INGEST_CONTENT, 1),), +) + +AUTOMATED_REASONING_POLICY_ANNOTATION_FEEDBACK_NATURAL_LANGUAGE: StaticSchema = ( + 3, + n0, + _ARPAFNL, + 4, +) + +AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID_LIST: StaticSchema = ( + 16, + n0, + _ARPDRIL, + 0, + (_me,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0),), +) + +AUTOMATED_REASONING_POLICY_UPDATE_FROM_RULE_FEEDBACK_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPUFRFA, + 0, + (_rIu, _fe), + ( + (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID_LIST, 0), + (AUTOMATED_REASONING_POLICY_ANNOTATION_FEEDBACK_NATURAL_LANGUAGE, 1), + ), +) + +AUTOMATED_REASONING_POLICY_SCENARIO_EXPRESSION: StaticSchema = (3, n0, _ARPSE, 4) + +AUTOMATED_REASONING_POLICY_UPDATE_FROM_SCENARIO_FEEDBACK_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPUFSFA, + 0, + (_rIu, _sEc, _fe), + ( + (AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID_LIST, 0), + (AUTOMATED_REASONING_POLICY_SCENARIO_EXPRESSION, 1), + (AUTOMATED_REASONING_POLICY_ANNOTATION_FEEDBACK_NATURAL_LANGUAGE, 0), + ), +) + +AUTOMATED_REASONING_POLICY_UPDATE_RULE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPURA, + 0, + (_rI, _ex), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_EXPRESSION, 1), + ), +) + +AUTOMATED_REASONING_POLICY_ADD_TYPE_VALUE: StaticSchema = ( + 18, + n0, + _ARPATV, + 0, + (_v, _d), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1), + ( + lambda: ( + schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_DESCRIPTION + ), + 0, + ), + ), +) + +AUTOMATED_REASONING_POLICY_DELETE_TYPE_VALUE: StaticSchema = ( + 18, + n0, + _ARPDTVu, + 0, + (_v,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1),), +) + +AUTOMATED_REASONING_POLICY_UPDATE_TYPE_VALUE: StaticSchema = ( + 18, + n0, + _ARPUTV, + 0, + (_v, _nV, _d), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 0), + ( + lambda: ( + schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_DESCRIPTION + ), + 0, + ), + ), +) + +AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION: StaticSchema = ( + 19, + n0, + _ARPTVA, + 0, + (_aTV, _uTV, _dTV), + ( + (AUTOMATED_REASONING_POLICY_ADD_TYPE_VALUE, 0), + (AUTOMATED_REASONING_POLICY_UPDATE_TYPE_VALUE, 0), + (AUTOMATED_REASONING_POLICY_DELETE_TYPE_VALUE, 0), + ), +) + +AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION_LIST: StaticSchema = ( + 16, + n0, + _ARPTVAL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION, 0),), +) + +AUTOMATED_REASONING_POLICY_UPDATE_TYPE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPUTA, + 0, + (_n, _nN, _d, _va), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_DESCRIPTION, 0), + (AUTOMATED_REASONING_POLICY_TYPE_VALUE_ANNOTATION_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_ANNOTATION: StaticSchema = ( + 18, + n0, + _ARPUVA, + 0, + (_n, _nN, _d), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_DESCRIPTION, 0), + ), +) + +AUTOMATED_REASONING_POLICY_ANNOTATION: StaticSchema = ( + 19, + n0, + _ARPAu, + 0, + (_aT, _uT, _dT, _aV, _uV, _dV, _aR, _uR, _dR, _aRFNL, _uFRF, _uFSF, _iCng), + ( + (AUTOMATED_REASONING_POLICY_ADD_TYPE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_UPDATE_TYPE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_DELETE_TYPE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_ADD_VARIABLE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_ADD_RULE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_UPDATE_RULE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_DELETE_RULE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_ADD_RULE_FROM_NATURAL_LANGUAGE_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_UPDATE_FROM_RULE_FEEDBACK_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_UPDATE_FROM_SCENARIO_FEEDBACK_ANNOTATION, 0), + (AUTOMATED_REASONING_POLICY_INGEST_CONTENT_ANNOTATION, 0), + ), +) + +AUTOMATED_REASONING_POLICY_ANNOTATION_LIST: StaticSchema = ( + 16, + n0, + _ARPAL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_ANNOTATION, 0),), +) + +GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT: StaticSchema = ( + 18, + n0, + _GARPBWI, + {_sSI: _cGARPBWR, _smit: None}, + (_pA, _bWI), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + ), +) + +GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _GARPBWO, + {_sSI: _cGARPBWRo, _smith: None}, + (_pA, _bWI, _st, _bWT, _dN, _dCT, _dD, _cA, _uA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), + (lambda: AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_STATUS, 1), + (lambda: AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_TYPE, 1), + (lambda: AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME, 0), + (lambda: AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_CONTENT_TYPE, 0), + (lambda: AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW: StaticOperationSchema = ( + 23, + n0, + _GARPBW, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}", + } + ) + }, + GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT, + GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_TYPE: StaticSchema = ( + 14, + n0, + _ARPBWT, + 0, + (_IC_, _RP, _IP_, _GFR, _GPS, _RPA, _IRP), + ( + (-1, {_sV: _IC_}), + (-1, {_sV: _RP}), + (-1, {_sV: _IP_}), + (-1, {_sV: _GFR}), + (-1, {_sV: _GPS}), + (-1, {_sV: _RPA}), + (-1, {_sV: _IRP}), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_CONTENT_TYPE: StaticSchema = ( + 14, + n0, + _ARPBDCT, + 0, + (_PDF, _TEXT), + ((-1, {_sV: _p}), (-1, {_sV: _tx})), +) + +AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_DESCRIPTION: StaticSchema = ( + 3, + n0, + _ARPBDD, + 4, +) + +AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME: StaticSchema = (3, n0, _ARPBDN, 4) + +AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_STATUS: StaticSchema = ( + 14, + n0, + _ARPBWS, + 0, + ( + _SCHEDULED, + _CR, + _PREPROCESSING, + _BUILDING, + _TESTING, + _COMPLETED, + _FAILED, + _CANCELLED, + ), + ( + (-1, {_sV: _SCHEDULED}), + (-1, {_sV: _CR}), + (-1, {_sV: _PREPROCESSING}), + (-1, {_sV: _BUILDING}), + (-1, {_sV: _TESTING}), + (-1, {_sV: _COMPLETED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _CANCELLED}), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_ID: StaticSchema = (3, n0, _ARPBRAI, 0) + +AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_TYPE: StaticSchema = ( + 14, + n0, + _ARPBRAT, + 0, + (_BL, _QR, _PD, _GTC, _PS, _FR, _AM, _SD), + ( + (-1, {_sV: _BL}), + (-1, {_sV: _QR}), + (-1, {_sV: _PD}), + (-1, {_sV: _GTC}), + (-1, {_sV: _PS}), + (-1, {_sV: _FR}), + (-1, {_sV: _AM}), + (-1, {_sV: _SD}), + ), +) + +GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_INPUT: StaticSchema = ( + 18, + n0, + _GARPBWRAI, + {_sSI: _cGARPBWRAR, _smit: None}, + (_pA, _bWI, _aTs, _aI), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_TYPE, {_sQ: _aTs, _smi: None}), + (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_ID, {_sQ: _aI}), + ), +) + +GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_OUTPUT: StaticSchema = ( + 18, + n0, + _GARPBWRAO, + {_sSI: _cGARPBWRARo, _smith: None}, + (_pA, _bWI, _bWA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSETS, 0), + ), +) + +GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS: StaticOperationSchema = ( + 23, + n0, + _GARPBWRA, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/result-assets", + } + ) + }, + GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_INPUT, + GET_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_RESULT_ASSETS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_NAME: StaticSchema = (3, n0, _ARPBRAN, 4) + +AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_ENTRY: StaticSchema = ( + 18, + n0, + _ARPBRAME, + 0, + (_aTs, _aN, _aI), + ( + (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_TYPE, 1), + (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_NAME, 0), + (AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_ID, 0), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_LIST: StaticSchema = ( + 16, + n0, + _ARPBRAML, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_ENTRY, 0),), +) + +AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST: StaticSchema = ( + 18, + n0, + _ARPBRAM, + 0, + (_en,), + ((AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST_LIST, 1),), +) + +AUTOMATED_REASONING_POLICY_ADD_RULE_MUTATION: StaticSchema = ( + 18, + n0, + _ARPARM, + 0, + (_ru,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE, 1),), +) + +AUTOMATED_REASONING_POLICY_ADD_TYPE_MUTATION: StaticSchema = ( + 18, + n0, + _ARPATM, + 0, + (_ty,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE, 1),), +) + +AUTOMATED_REASONING_POLICY_ADD_VARIABLE_MUTATION: StaticSchema = ( + 18, + n0, + _ARPAVM, + 0, + (_vari,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE, 1),), +) + +AUTOMATED_REASONING_POLICY_DELETE_RULE_MUTATION: StaticSchema = ( + 18, + n0, + _ARPDRM, + 0, + (_i,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1),), +) + +AUTOMATED_REASONING_POLICY_DELETE_TYPE_MUTATION: StaticSchema = ( + 18, + n0, + _ARPDTM, + 0, + (_n,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1),), +) + +AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_MUTATION: StaticSchema = ( + 18, + n0, + _ARPDVM, + 0, + (_n,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1),), +) + +AUTOMATED_REASONING_POLICY_UPDATE_RULE_MUTATION: StaticSchema = ( + 18, + n0, + _ARPURM, + 0, + (_ru,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE, 1),), +) + +AUTOMATED_REASONING_POLICY_UPDATE_TYPE_MUTATION: StaticSchema = ( + 18, + n0, + _ARPUTM, + 0, + (_ty,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE, 1),), +) + +AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_MUTATION: StaticSchema = ( + 18, + n0, + _ARPUVM, + 0, + (_vari,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE, 1),), +) + +AUTOMATED_REASONING_POLICY_MUTATION: StaticSchema = ( + 19, + n0, + _ARPM, + 0, + (_aT, _uT, _dT, _aV, _uV, _dV, _aR, _uR, _dR), + ( + (AUTOMATED_REASONING_POLICY_ADD_TYPE_MUTATION, 0), + (AUTOMATED_REASONING_POLICY_UPDATE_TYPE_MUTATION, 0), + (AUTOMATED_REASONING_POLICY_DELETE_TYPE_MUTATION, 0), + (AUTOMATED_REASONING_POLICY_ADD_VARIABLE_MUTATION, 0), + (AUTOMATED_REASONING_POLICY_UPDATE_VARIABLE_MUTATION, 0), + (AUTOMATED_REASONING_POLICY_DELETE_VARIABLE_MUTATION, 0), + (AUTOMATED_REASONING_POLICY_ADD_RULE_MUTATION, 0), + (AUTOMATED_REASONING_POLICY_UPDATE_RULE_MUTATION, 0), + (AUTOMATED_REASONING_POLICY_DELETE_RULE_MUTATION, 0), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_BLOB: StaticSchema = (1, n0, _ARPBDB, 4) + +AUTOMATED_REASONING_POLICY_TEST_CASE: StaticSchema = ( + 18, + n0, + _ARPTC, + 0, + (_tCI, _gC, _qC, _eAFR, _cA, _uA, _cTo), + ( + (AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 1), + (AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT, 1), + (AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT, 0), + (AUTOMATED_REASONING_CHECK_RESULT, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE, 0), + ), +) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_2.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_2.py new file mode 100644 index 000000000..4a14380b8 --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_2.py @@ -0,0 +1,1207 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrock" +_m = "message" +_me = "member" +_smi = "smithy.api#required" +_sV = "smithy.api#enumValue" +_mes = "messages" +_uA = "updatedAt" +_k = "key" +_v = "value" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_IP = "IN_PROGRESS" +_COMPLETED = "COMPLETED" +_FAILED = "FAILED" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sL = "smithy.api#httpLabel" +_ERROR = "ERROR" +_st = "status" +_pA = "policyArn" +_bWI = "buildWorkflowId" +_smithya = "smithy.api#sensitive" +_i = "id" +_ex = "expression" +_aE = "alternateExpression" +_ty = "type" +_r = "rules" +_var = "variables" +_pD = "policyDefinition" +_gC = "guardContent" +_qC = "queryContent" +_eAFR = "expectedAggregatedFindingsResult" +_tCI = "testCaseId" +_nL = "naturalLanguage" +_con = "content" +_rIu = "ruleIds" +_SCHEDULED = "SCHEDULED" +_dN = "documentName" +_dCT = "documentContentType" +_dD = "documentDescription" +_en = "entries" +_ru = "rule" +_ARPP = "AutomatedReasoningPolicyPlanning" +_ARPBSC = "AutomatedReasoningPolicyBuildStepContext" +_pl = "planning" +_mu = "mutation" +_ARPBMT = "AutomatedReasoningPolicyBuildMessageType" +_INFO = "INFO" +_WARNING = "WARNING" +_ARPBSM = "AutomatedReasoningPolicyBuildStepMessage" +_mTe = "messageType" +_ARPBSML = "AutomatedReasoningPolicyBuildStepMessageList" +_ARPDE = "AutomatedReasoningPolicyDefinitionElement" +_pDV = "policyDefinitionVariable" +_pDT = "policyDefinitionType" +_pDR = "policyDefinitionRule" +_ARPBS = "AutomatedReasoningPolicyBuildStep" +_cont = "context" +_pE = "priorElement" +_ARPBSL = "AutomatedReasoningPolicyBuildStepList" +_ARPAS = "AutomatedReasoningPolicyAnnotationStatus" +_APPLIED = "APPLIED" +_ARPBLE = "AutomatedReasoningPolicyBuildLogEntry" +_an = "annotation" +_bS = "buildSteps" +_ARPBLEL = "AutomatedReasoningPolicyBuildLogEntryList" +_ARPBL = "AutomatedReasoningPolicyBuildLog" +_ARPDS = "AutomatedReasoningPolicyDocumentSha256" +_ARPSD = "AutomatedReasoningPolicySourceDocument" +_do = "document" +_dHo = "documentHash" +_ARPASu = "AutomatedReasoningPolicyAccuracyScore" +_ARPCS = "AutomatedReasoningPolicyCoverageScore" +_ARPSI = "AutomatedReasoningPolicyStatementId" +_ARPLNL = "AutomatedReasoningPolicyLineNumberList" +_ARPSL = "AutomatedReasoningPolicyStatementLocation" +_l = "lines" +_ARPST = "AutomatedReasoningPolicyStatementText" +_ARPASut = "AutomatedReasoningPolicyAtomicStatement" +_te = "text" +_lo = "location" +_ARPASL = "AutomatedReasoningPolicyAtomicStatementList" +_ARPLT = "AutomatedReasoningPolicyLineText" +_ARPALu = "AutomatedReasoningPolicyAnnotatedLine" +_lN = "lineNumber" +_lT = "lineText" +_ARPAC = "AutomatedReasoningPolicyAnnotatedContent" +_li = "line" +_ARPACL = "AutomatedReasoningPolicyAnnotatedContentList" +_ARPACu = "AutomatedReasoningPolicyAnnotatedChunk" +_pN = "pageNumber" +_ARPACLu = "AutomatedReasoningPolicyAnnotatedChunkList" +_ARPDI = "AutomatedReasoningPolicyDocumentId" +_ARPRSD = "AutomatedReasoningPolicyReportSourceDocument" +_dI = "documentId" +_aS = "atomicStatements" +_dC = "documentContent" +_ARPRSDL = "AutomatedReasoningPolicyReportSourceDocumentList" +_ARPJT = "AutomatedReasoningPolicyJustificationText" +_ARPJL = "AutomatedReasoningPolicyJustificationList" +_ARPSR = "AutomatedReasoningPolicyStatementReference" +_sI = "statementId" +_ARPSRL = "AutomatedReasoningPolicyStatementReferenceList" +_ARPRR = "AutomatedReasoningPolicyRuleReport" +_gS = "groundingStatements" +_gJ = "groundingJustifications" +_aSc = "accuracyScore" +_aJ = "accuracyJustification" +_ARPRRM = "AutomatedReasoningPolicyRuleReportMap" +_ARPVR = "AutomatedReasoningPolicyVariableReport" +_pV = "policyVariable" +_ARPVRM = "AutomatedReasoningPolicyVariableReportMap" +_ARPFR = "AutomatedReasoningPolicyFidelityReport" +_cS = "coverageScore" +_rR = "ruleReports" +_vR = "variableReports" +_dS = "documentSources" +_ARPGTC = "AutomatedReasoningPolicyGeneratedTestCase" +_ARPGTCL = "AutomatedReasoningPolicyGeneratedTestCaseList" +_ARPGTCu = "AutomatedReasoningPolicyGeneratedTestCases" +_gTC = "generatedTestCases" +_ARPSAE = "AutomatedReasoningPolicyScenarioAlternateExpression" +_ARPS = "AutomatedReasoningPolicyScenario" +_eR = "expectedResult" +_ARPSLu = "AutomatedReasoningPolicyScenarioList" +_ARPSu = "AutomatedReasoningPolicyScenarios" +_pS = "policyScenarios" +_ARPCRIL = "AutomatedReasoningPolicyConflictedRuleIdList" +_ARPDRILu = "AutomatedReasoningPolicyDisjointedRuleIdList" +_ARPDVNL = "AutomatedReasoningPolicyDefinitionVariableNameList" +_ARPDRS = "AutomatedReasoningPolicyDisjointRuleSet" +_ARPDRSL = "AutomatedReasoningPolicyDisjointRuleSetList" +_ARPDTNL = "AutomatedReasoningPolicyDefinitionTypeNameList" +_ARPDTVP = "AutomatedReasoningPolicyDefinitionTypeValuePair" +_tN = "typeName" +_vN = "valueName" +_ARPDTVPL = "AutomatedReasoningPolicyDefinitionTypeValuePairList" +_ARPDQR = "AutomatedReasoningPolicyDefinitionQualityReport" +_tC = "typeCount" +_vC = "variableCount" +_rC = "ruleCount" +_uTn = "unusedTypes" +_uTVn = "unusedTypeValues" +_uVn = "unusedVariables" +_cR = "conflictingRules" +_dRS = "disjointRuleSets" +_ARPBRA = "AutomatedReasoningPolicyBuildResultAssets" +_qR = "qualityReport" +_bL = "buildLog" +_aM = "assetManifest" +_fR = "fidelityReport" +_GARPNSI = "GetAutomatedReasoningPolicyNextScenarioInput" +_cGARPNSR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyNextScenarioRequest" +_GARPNSO = "GetAutomatedReasoningPolicyNextScenarioOutput" +_cGARPNSRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyNextScenarioResponse" +_sc = "scenario" +_GARPNS = "GetAutomatedReasoningPolicyNextScenario" +_GARPTCI = "GetAutomatedReasoningPolicyTestCaseInput" +_cGARPTCR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyTestCaseRequest" +_GARPTCO = "GetAutomatedReasoningPolicyTestCaseOutput" +_cGARPTCRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyTestCaseResponse" +_tCe = "testCase" +_GARPTC = "GetAutomatedReasoningPolicyTestCase" +_GARPTRI = "GetAutomatedReasoningPolicyTestResultInput" +_cGARPTRR = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyTestResultRequest" +_ARCRu = "AutomatedReasoningCheckRule" +_pVA = "policyVersionArn" +_ARCRL = "AutomatedReasoningCheckRuleList" +_ARLSC = "AutomatedReasoningLogicStatementContent" +_ARNLSC = "AutomatedReasoningNaturalLanguageStatementContent" +_ARLS = "AutomatedReasoningLogicStatement" +_log = "logic" +_ARLSL = "AutomatedReasoningLogicStatementList" +_ARCLWT = "AutomatedReasoningCheckLogicWarningType" +_AT = "ALWAYS_TRUE" +_AF = "ALWAYS_FALSE" +_ARCLW = "AutomatedReasoningCheckLogicWarning" +_pr = "premises" +_cl = "claims" +_ARCITR = "AutomatedReasoningCheckInputTextReference" +_ARCITRL = "AutomatedReasoningCheckInputTextReferenceList" +_ARCT = "AutomatedReasoningCheckTranslation" +_uP = "untranslatedPremises" +_uC = "untranslatedClaims" +_conf = "confidence" +_ARCIF = "AutomatedReasoningCheckImpossibleFinding" +_tr = "translation" +_cRo = "contradictingRules" +_lW = "logicWarning" +_ARCIFu = "AutomatedReasoningCheckInvalidFinding" +_ARCNTF = "AutomatedReasoningCheckNoTranslationsFinding" +_ARCS = "AutomatedReasoningCheckScenario" +_sta = "statements" +_ARCSF = "AutomatedReasoningCheckSatisfiableFinding" +_cTS = "claimsTrueScenario" +_cFS = "claimsFalseScenario" +_ARCTCF = "AutomatedReasoningCheckTooComplexFinding" +_ARCDSL = "AutomatedReasoningCheckDifferenceScenarioList" +_ARCTL = "AutomatedReasoningCheckTranslationList" +_ARCTO = "AutomatedReasoningCheckTranslationOption" +_tra = "translations" +_ARCTOL = "AutomatedReasoningCheckTranslationOptionList" +_ARCTAF = "AutomatedReasoningCheckTranslationAmbiguousFinding" +_op = "options" +_dSi = "differenceScenarios" +_ARCVF = "AutomatedReasoningCheckValidFinding" +_sR = "supportingRules" +_ARCF = "AutomatedReasoningCheckFinding" +_val = "valid" +_in = "invalid" +_sa = "satisfiable" +_im = "impossible" +_tA = "translationAmbiguous" +_tCo = "tooComplex" +_nTo = "noTranslations" +_ARCFL = "AutomatedReasoningCheckFindingList" +_ARPTRR = "AutomatedReasoningPolicyTestRunResult" +_PASSED = "PASSED" +_ARPTRS = "AutomatedReasoningPolicyTestRunStatus" +_NS = "NOT_STARTED" +_ARPTR = "AutomatedReasoningPolicyTestResult" +_tRS = "testRunStatus" +_tF = "testFindings" +_tRR = "testRunResult" +_aTFR = "aggregatedTestFindingsResult" +_GARPTRO = "GetAutomatedReasoningPolicyTestResultOutput" +_cGARPTRRo = "com.amazonaws.bedrock#GetAutomatedReasoningPolicyTestResultResponse" +_tR = "testResult" +_GARPTR = "GetAutomatedReasoningPolicyTestResult" + +AUTOMATED_REASONING_POLICY_PLANNING: StaticSchema = (18, n0, _ARPP, 0) + +AUTOMATED_REASONING_POLICY_BUILD_STEP_CONTEXT: StaticSchema = ( + 19, + n0, + _ARPBSC, + 0, + (_pl, _mu), + ( + (AUTOMATED_REASONING_POLICY_PLANNING, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_MUTATION, 0), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_MESSAGE_TYPE: StaticSchema = ( + 14, + n0, + _ARPBMT, + 0, + (_INFO, _WARNING, _ERROR), + ((-1, {_sV: _INFO}), (-1, {_sV: _WARNING}), (-1, {_sV: _ERROR})), +) + +AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE: StaticSchema = ( + 18, + n0, + _ARPBSM, + 0, + (_m, _mTe), + ((3, 1), (AUTOMATED_REASONING_POLICY_BUILD_MESSAGE_TYPE, 1)), +) + +AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE_LIST: StaticSchema = ( + 16, + n0, + _ARPBSML, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE, 0),), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_ELEMENT: StaticSchema = ( + 19, + n0, + _ARPDE, + 0, + (_pDV, _pDT, _pDR), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE, 0), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_STEP: StaticSchema = ( + 18, + n0, + _ARPBS, + 0, + (_cont, _pE, _mes), + ( + (AUTOMATED_REASONING_POLICY_BUILD_STEP_CONTEXT, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_ELEMENT, 0), + (AUTOMATED_REASONING_POLICY_BUILD_STEP_MESSAGE_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_STEP_LIST: StaticSchema = ( + 16, + n0, + _ARPBSL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_BUILD_STEP, 0),), +) + +AUTOMATED_REASONING_POLICY_ANNOTATION_STATUS: StaticSchema = ( + 14, + n0, + _ARPAS, + 0, + (_APPLIED, _FAILED), + ((-1, {_sV: _APPLIED}), (-1, {_sV: _FAILED})), +) + +AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY: StaticSchema = ( + 18, + n0, + _ARPBLE, + 0, + (_an, _st, _bS), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ANNOTATION, 1), + (AUTOMATED_REASONING_POLICY_ANNOTATION_STATUS, 1), + (AUTOMATED_REASONING_POLICY_BUILD_STEP_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _ARPBLEL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY, 0),), +) + +AUTOMATED_REASONING_POLICY_BUILD_LOG: StaticSchema = ( + 18, + n0, + _ARPBL, + 0, + (_en,), + ((AUTOMATED_REASONING_POLICY_BUILD_LOG_ENTRY_LIST, 1),), +) + +AUTOMATED_REASONING_POLICY_DOCUMENT_SHA256: StaticSchema = (3, n0, _ARPDS, 0) + +AUTOMATED_REASONING_POLICY_SOURCE_DOCUMENT: StaticSchema = ( + 18, + n0, + _ARPSD, + 0, + (_do, _dCT, _dN, _dD, _dHo), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_BLOB, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_CONTENT_TYPE, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_DESCRIPTION, 0), + (AUTOMATED_REASONING_POLICY_DOCUMENT_SHA256, 1), + ), +) + +AUTOMATED_REASONING_POLICY_ACCURACY_SCORE: StaticSchema = (10, n0, _ARPASu, 0) + +AUTOMATED_REASONING_POLICY_COVERAGE_SCORE: StaticSchema = (10, n0, _ARPCS, 0) + +AUTOMATED_REASONING_POLICY_STATEMENT_ID: StaticSchema = (3, n0, _ARPSI, 0) + +AUTOMATED_REASONING_POLICY_LINE_NUMBER_LIST: StaticSchema = ( + 16, + n0, + _ARPLNL, + 0, + (_me,), + ((7, 0),), +) + +AUTOMATED_REASONING_POLICY_STATEMENT_LOCATION: StaticSchema = ( + 18, + n0, + _ARPSL, + 0, + (_l,), + ((AUTOMATED_REASONING_POLICY_LINE_NUMBER_LIST, 1),), +) + +AUTOMATED_REASONING_POLICY_STATEMENT_TEXT: StaticSchema = (3, n0, _ARPST, 4) + +AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT: StaticSchema = ( + 18, + n0, + _ARPASut, + 0, + (_i, _te, _lo), + ( + (AUTOMATED_REASONING_POLICY_STATEMENT_ID, 1), + (AUTOMATED_REASONING_POLICY_STATEMENT_TEXT, 1), + (AUTOMATED_REASONING_POLICY_STATEMENT_LOCATION, 1), + ), +) + +AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT_LIST: StaticSchema = ( + 16, + n0, + _ARPASL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT, 0),), +) + +AUTOMATED_REASONING_POLICY_LINE_TEXT: StaticSchema = (3, n0, _ARPLT, 4) + +AUTOMATED_REASONING_POLICY_ANNOTATED_LINE: StaticSchema = ( + 18, + n0, + _ARPALu, + 0, + (_lN, _lT), + ((7, 0), (AUTOMATED_REASONING_POLICY_LINE_TEXT, 0)), +) + +AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT: StaticSchema = ( + 19, + n0, + _ARPAC, + 0, + (_li,), + ((AUTOMATED_REASONING_POLICY_ANNOTATED_LINE, 0),), +) + +AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT_LIST: StaticSchema = ( + 16, + n0, + _ARPACL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT, 0),), +) + +AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK: StaticSchema = ( + 18, + n0, + _ARPACu, + 0, + (_pN, _con), + ((7, 0), (AUTOMATED_REASONING_POLICY_ANNOTATED_CONTENT_LIST, 1)), +) + +AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK_LIST: StaticSchema = ( + 16, + n0, + _ARPACLu, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK, 0),), +) + +AUTOMATED_REASONING_POLICY_DOCUMENT_ID: StaticSchema = (3, n0, _ARPDI, 0) + +AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT: StaticSchema = ( + 18, + n0, + _ARPRSD, + 0, + (_dN, _dHo, _dI, _aS, _dC), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME, 1), + (AUTOMATED_REASONING_POLICY_DOCUMENT_SHA256, 1), + (AUTOMATED_REASONING_POLICY_DOCUMENT_ID, 1), + (AUTOMATED_REASONING_POLICY_ATOMIC_STATEMENT_LIST, 1), + (AUTOMATED_REASONING_POLICY_ANNOTATED_CHUNK_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT_LIST: StaticSchema = ( + 16, + n0, + _ARPRSDL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT, 0),), +) + +AUTOMATED_REASONING_POLICY_JUSTIFICATION_TEXT: StaticSchema = (3, n0, _ARPJT, 4) + +AUTOMATED_REASONING_POLICY_JUSTIFICATION_LIST: StaticSchema = ( + 16, + n0, + _ARPJL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_JUSTIFICATION_TEXT, 0),), +) + +AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE: StaticSchema = ( + 18, + n0, + _ARPSR, + 0, + (_dI, _sI), + ( + (AUTOMATED_REASONING_POLICY_DOCUMENT_ID, 1), + (AUTOMATED_REASONING_POLICY_STATEMENT_ID, 1), + ), +) + +AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE_LIST: StaticSchema = ( + 16, + n0, + _ARPSRL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE, 0),), +) + +AUTOMATED_REASONING_POLICY_RULE_REPORT: StaticSchema = ( + 18, + n0, + _ARPRR, + 0, + (_ru, _gS, _gJ, _aSc, _aJ), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 1), + (AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE_LIST, 0), + (AUTOMATED_REASONING_POLICY_JUSTIFICATION_LIST, 0), + (AUTOMATED_REASONING_POLICY_ACCURACY_SCORE, 0), + (AUTOMATED_REASONING_POLICY_JUSTIFICATION_TEXT, 0), + ), +) + +AUTOMATED_REASONING_POLICY_RULE_REPORT_MAP: StaticSchema = ( + 17, + n0, + _ARPRRM, + 0, + (_k, _v), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0), + (AUTOMATED_REASONING_POLICY_RULE_REPORT, 0), + ), +) + +AUTOMATED_REASONING_POLICY_VARIABLE_REPORT: StaticSchema = ( + 18, + n0, + _ARPVR, + 0, + (_pV, _gS, _gJ, _aSc, _aJ), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 1), + (AUTOMATED_REASONING_POLICY_STATEMENT_REFERENCE_LIST, 0), + (AUTOMATED_REASONING_POLICY_JUSTIFICATION_LIST, 0), + (AUTOMATED_REASONING_POLICY_ACCURACY_SCORE, 0), + (AUTOMATED_REASONING_POLICY_JUSTIFICATION_TEXT, 0), + ), +) + +AUTOMATED_REASONING_POLICY_VARIABLE_REPORT_MAP: StaticSchema = ( + 17, + n0, + _ARPVRM, + 0, + (_k, _v), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 0), + (AUTOMATED_REASONING_POLICY_VARIABLE_REPORT, 0), + ), +) + +AUTOMATED_REASONING_POLICY_FIDELITY_REPORT: StaticSchema = ( + 18, + n0, + _ARPFR, + 0, + (_cS, _aSc, _rR, _vR, _dS), + ( + (AUTOMATED_REASONING_POLICY_COVERAGE_SCORE, 1), + (AUTOMATED_REASONING_POLICY_ACCURACY_SCORE, 1), + (AUTOMATED_REASONING_POLICY_RULE_REPORT_MAP, 1), + (AUTOMATED_REASONING_POLICY_VARIABLE_REPORT_MAP, 1), + (AUTOMATED_REASONING_POLICY_REPORT_SOURCE_DOCUMENT_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE: StaticSchema = ( + 18, + n0, + _ARPGTC, + 0, + (_qC, _gC, _eAFR), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT, 1), + (lambda: schemas.AUTOMATED_REASONING_CHECK_RESULT, 1), + ), +) + +AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE_LIST: StaticSchema = ( + 16, + n0, + _ARPGTCL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE, 0),), +) + +AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASES: StaticSchema = ( + 18, + n0, + _ARPGTCu, + 0, + (_gTC,), + ((AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASE_LIST, 1),), +) + +AUTOMATED_REASONING_POLICY_SCENARIO_ALTERNATE_EXPRESSION: StaticSchema = ( + 3, + n0, + _ARPSAE, + 4, +) + +AUTOMATED_REASONING_POLICY_SCENARIO: StaticSchema = ( + 18, + n0, + _ARPS, + 0, + (_ex, _aE, _eR, _rIu), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_SCENARIO_EXPRESSION, 1), + (AUTOMATED_REASONING_POLICY_SCENARIO_ALTERNATE_EXPRESSION, 1), + (lambda: schemas.AUTOMATED_REASONING_CHECK_RESULT, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_SCENARIO_LIST: StaticSchema = ( + 16, + n0, + _ARPSLu, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_SCENARIO, 0),), +) + +AUTOMATED_REASONING_POLICY_SCENARIOS: StaticSchema = ( + 18, + n0, + _ARPSu, + 0, + (_pS,), + ((AUTOMATED_REASONING_POLICY_SCENARIO_LIST, 1),), +) + +AUTOMATED_REASONING_POLICY_CONFLICTED_RULE_ID_LIST: StaticSchema = ( + 16, + n0, + _ARPCRIL, + 0, + (_me,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0),), +) + +AUTOMATED_REASONING_POLICY_DISJOINTED_RULE_ID_LIST: StaticSchema = ( + 16, + n0, + _ARPDRILu, + 0, + (_me,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0),), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME_LIST: StaticSchema = ( + 16, + n0, + _ARPDVNL, + 0, + (_me,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME, 0),), +) + +AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET: StaticSchema = ( + 18, + n0, + _ARPDRS, + 0, + (_var, _r), + ( + (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME_LIST, 1), + (AUTOMATED_REASONING_POLICY_DISJOINTED_RULE_ID_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET_LIST: StaticSchema = ( + 16, + n0, + _ARPDRSL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET, 0),), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME_LIST: StaticSchema = ( + 16, + n0, + _ARPDTNL, + 0, + (_me,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 0),), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR: StaticSchema = ( + 18, + n0, + _ARPDTVP, + 0, + (_tN, _vN), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_NAME, 1), + ), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR_LIST: StaticSchema = ( + 16, + n0, + _ARPDTVPL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR, 0),), +) + +AUTOMATED_REASONING_POLICY_DEFINITION_QUALITY_REPORT: StaticSchema = ( + 18, + n0, + _ARPDQR, + 0, + (_tC, _vC, _rC, _uTn, _uTVn, _uVn, _cR, _dRS), + ( + (7, 1), + (7, 1), + (7, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_NAME_LIST, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_TYPE_VALUE_PAIR_LIST, 1), + (AUTOMATED_REASONING_POLICY_DEFINITION_VARIABLE_NAME_LIST, 1), + (AUTOMATED_REASONING_POLICY_CONFLICTED_RULE_ID_LIST, 1), + (AUTOMATED_REASONING_POLICY_DISJOINT_RULE_SET_LIST, 1), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSETS: StaticSchema = ( + 19, + n0, + _ARPBRA, + 0, + (_pD, _qR, _bL, _gTC, _pS, _aM, _do, _fR), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION, 0), + (AUTOMATED_REASONING_POLICY_DEFINITION_QUALITY_REPORT, 0), + (AUTOMATED_REASONING_POLICY_BUILD_LOG, 0), + (AUTOMATED_REASONING_POLICY_GENERATED_TEST_CASES, 0), + (AUTOMATED_REASONING_POLICY_SCENARIOS, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_RESULT_ASSET_MANIFEST, 0), + (AUTOMATED_REASONING_POLICY_SOURCE_DOCUMENT, 0), + (AUTOMATED_REASONING_POLICY_FIDELITY_REPORT, 0), + ), +) + +GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_INPUT: StaticSchema = ( + 18, + n0, + _GARPNSI, + {_sSI: _cGARPNSR, _smit: None}, + (_pA, _bWI), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + ), +) + +GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_OUTPUT: StaticSchema = ( + 18, + n0, + _GARPNSO, + {_sSI: _cGARPNSRo, _smith: None}, + (_pA, _sc), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (AUTOMATED_REASONING_POLICY_SCENARIO, 0), + ), +) + +GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO: StaticOperationSchema = ( + 23, + n0, + _GARPNS, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/scenarios", + } + ) + }, + GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_INPUT, + GET_AUTOMATED_REASONING_POLICY_NEXT_SCENARIO_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT: StaticSchema = ( + 18, + n0, + _GARPTCI, + {_sSI: _cGARPTCR, _smit: None}, + (_pA, _tCI), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 9), + ), +) + +GET_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT: StaticSchema = ( + 18, + n0, + _GARPTCO, + {_sSI: _cGARPTCRo, _smith: None}, + (_pA, _tCe), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_CASE, 1), + ), +) + +GET_AUTOMATED_REASONING_POLICY_TEST_CASE: StaticOperationSchema = ( + 23, + n0, + _GARPTC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", + } + ) + }, + GET_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT, + GET_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_INPUT: StaticSchema = ( + 18, + n0, + _GARPTRI, + {_sSI: _cGARPTRR, _smit: None}, + (_pA, _bWI, _tCI), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 9), + ), +) + +GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_OUTPUT: StaticSchema = ( + 18, + n0, + _GARPTRO, + {_sSI: _cGARPTRRo, _smith: None}, + (_tR,), + ((lambda: AUTOMATED_REASONING_POLICY_TEST_RESULT, 1),), +) + +GET_AUTOMATED_REASONING_POLICY_TEST_RESULT: StaticOperationSchema = ( + 23, + n0, + _GARPTR, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-cases/{testCaseId}/test-results", + } + ) + }, + GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_INPUT, + GET_AUTOMATED_REASONING_POLICY_TEST_RESULT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_CHECK_RULE: StaticSchema = ( + 18, + n0, + _ARCRu, + 0, + (_i, _pVA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION_RULE_ID, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 0), + ), +) + +AUTOMATED_REASONING_CHECK_RULE_LIST: StaticSchema = ( + 16, + n0, + _ARCRL, + 0, + (_me,), + ((AUTOMATED_REASONING_CHECK_RULE, 0),), +) + +AUTOMATED_REASONING_LOGIC_STATEMENT_CONTENT: StaticSchema = (3, n0, _ARLSC, 4) + +AUTOMATED_REASONING_NATURAL_LANGUAGE_STATEMENT_CONTENT: StaticSchema = ( + 3, + n0, + _ARNLSC, + 4, +) + +AUTOMATED_REASONING_LOGIC_STATEMENT: StaticSchema = ( + 18, + n0, + _ARLS, + 0, + (_log, _nL), + ( + (AUTOMATED_REASONING_LOGIC_STATEMENT_CONTENT, 1), + (AUTOMATED_REASONING_NATURAL_LANGUAGE_STATEMENT_CONTENT, 0), + ), +) + +AUTOMATED_REASONING_LOGIC_STATEMENT_LIST: StaticSchema = ( + 16, + n0, + _ARLSL, + 0, + (_me,), + ((AUTOMATED_REASONING_LOGIC_STATEMENT, 0),), +) + +AUTOMATED_REASONING_CHECK_LOGIC_WARNING_TYPE: StaticSchema = ( + 14, + n0, + _ARCLWT, + 0, + (_AT, _AF), + ((-1, {_sV: _AT}), (-1, {_sV: _AF})), +) + +AUTOMATED_REASONING_CHECK_LOGIC_WARNING: StaticSchema = ( + 18, + n0, + _ARCLW, + 0, + (_ty, _pr, _cl), + ( + (AUTOMATED_REASONING_CHECK_LOGIC_WARNING_TYPE, 0), + (AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 0), + (AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 0), + ), +) + +AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE: StaticSchema = ( + 18, + n0, + _ARCITR, + 0, + (_te,), + ((AUTOMATED_REASONING_NATURAL_LANGUAGE_STATEMENT_CONTENT, 0),), +) + +AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE_LIST: StaticSchema = ( + 16, + n0, + _ARCITRL, + 0, + (_me,), + ((AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE, 0),), +) + +AUTOMATED_REASONING_CHECK_TRANSLATION: StaticSchema = ( + 18, + n0, + _ARCT, + 0, + (_pr, _cl, _uP, _uC, _conf), + ( + (AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 0), + (AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 1), + (AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE_LIST, 0), + (AUTOMATED_REASONING_CHECK_INPUT_TEXT_REFERENCE_LIST, 0), + (lambda: schemas.AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE, 1), + ), +) + +AUTOMATED_REASONING_CHECK_IMPOSSIBLE_FINDING: StaticSchema = ( + 18, + n0, + _ARCIF, + 0, + (_tr, _cRo, _lW), + ( + (AUTOMATED_REASONING_CHECK_TRANSLATION, 0), + (AUTOMATED_REASONING_CHECK_RULE_LIST, 0), + (AUTOMATED_REASONING_CHECK_LOGIC_WARNING, 0), + ), +) + +AUTOMATED_REASONING_CHECK_INVALID_FINDING: StaticSchema = ( + 18, + n0, + _ARCIFu, + 0, + (_tr, _cRo, _lW), + ( + (AUTOMATED_REASONING_CHECK_TRANSLATION, 0), + (AUTOMATED_REASONING_CHECK_RULE_LIST, 0), + (AUTOMATED_REASONING_CHECK_LOGIC_WARNING, 0), + ), +) + +AUTOMATED_REASONING_CHECK_NO_TRANSLATIONS_FINDING: StaticSchema = (18, n0, _ARCNTF, 0) + +AUTOMATED_REASONING_CHECK_SCENARIO: StaticSchema = ( + 18, + n0, + _ARCS, + 0, + (_sta,), + ((AUTOMATED_REASONING_LOGIC_STATEMENT_LIST, 0),), +) + +AUTOMATED_REASONING_CHECK_SATISFIABLE_FINDING: StaticSchema = ( + 18, + n0, + _ARCSF, + 0, + (_tr, _cTS, _cFS, _lW), + ( + (AUTOMATED_REASONING_CHECK_TRANSLATION, 0), + (AUTOMATED_REASONING_CHECK_SCENARIO, 0), + (AUTOMATED_REASONING_CHECK_SCENARIO, 0), + (AUTOMATED_REASONING_CHECK_LOGIC_WARNING, 0), + ), +) + +AUTOMATED_REASONING_CHECK_TOO_COMPLEX_FINDING: StaticSchema = (18, n0, _ARCTCF, 0) + +AUTOMATED_REASONING_CHECK_DIFFERENCE_SCENARIO_LIST: StaticSchema = ( + 16, + n0, + _ARCDSL, + 0, + (_me,), + ((AUTOMATED_REASONING_CHECK_SCENARIO, 0),), +) + +AUTOMATED_REASONING_CHECK_TRANSLATION_LIST: StaticSchema = ( + 16, + n0, + _ARCTL, + 0, + (_me,), + ((AUTOMATED_REASONING_CHECK_TRANSLATION, 0),), +) + +AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION: StaticSchema = ( + 18, + n0, + _ARCTO, + 0, + (_tra,), + ((AUTOMATED_REASONING_CHECK_TRANSLATION_LIST, 0),), +) + +AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION_LIST: StaticSchema = ( + 16, + n0, + _ARCTOL, + 0, + (_me,), + ((AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION, 0),), +) + +AUTOMATED_REASONING_CHECK_TRANSLATION_AMBIGUOUS_FINDING: StaticSchema = ( + 18, + n0, + _ARCTAF, + 0, + (_op, _dSi), + ( + (AUTOMATED_REASONING_CHECK_TRANSLATION_OPTION_LIST, 0), + (AUTOMATED_REASONING_CHECK_DIFFERENCE_SCENARIO_LIST, 0), + ), +) + +AUTOMATED_REASONING_CHECK_VALID_FINDING: StaticSchema = ( + 18, + n0, + _ARCVF, + 0, + (_tr, _cTS, _sR, _lW), + ( + (AUTOMATED_REASONING_CHECK_TRANSLATION, 0), + (AUTOMATED_REASONING_CHECK_SCENARIO, 0), + (AUTOMATED_REASONING_CHECK_RULE_LIST, 0), + (AUTOMATED_REASONING_CHECK_LOGIC_WARNING, 0), + ), +) + +AUTOMATED_REASONING_CHECK_FINDING: StaticSchema = ( + 19, + n0, + _ARCF, + 0, + (_val, _in, _sa, _im, _tA, _tCo, _nTo), + ( + (AUTOMATED_REASONING_CHECK_VALID_FINDING, 0), + (AUTOMATED_REASONING_CHECK_INVALID_FINDING, 0), + (AUTOMATED_REASONING_CHECK_SATISFIABLE_FINDING, 0), + (AUTOMATED_REASONING_CHECK_IMPOSSIBLE_FINDING, 0), + (AUTOMATED_REASONING_CHECK_TRANSLATION_AMBIGUOUS_FINDING, 0), + (AUTOMATED_REASONING_CHECK_TOO_COMPLEX_FINDING, 0), + (AUTOMATED_REASONING_CHECK_NO_TRANSLATIONS_FINDING, 0), + ), +) + +AUTOMATED_REASONING_CHECK_FINDING_LIST: StaticSchema = ( + 16, + n0, + _ARCFL, + 0, + (_me,), + ((AUTOMATED_REASONING_CHECK_FINDING, 0),), +) + +AUTOMATED_REASONING_POLICY_TEST_RUN_RESULT: StaticSchema = ( + 14, + n0, + _ARPTRR, + 0, + (_PASSED, _FAILED), + ((-1, {_sV: _PASSED}), (-1, {_sV: _FAILED})), +) + +AUTOMATED_REASONING_POLICY_TEST_RUN_STATUS: StaticSchema = ( + 14, + n0, + _ARPTRS, + 0, + (_NS, _SCHEDULED, _IP, _COMPLETED, _FAILED), + ( + (-1, {_sV: _NS}), + (-1, {_sV: _SCHEDULED}), + (-1, {_sV: _IP}), + (-1, {_sV: _COMPLETED}), + (-1, {_sV: _FAILED}), + ), +) + +AUTOMATED_REASONING_POLICY_TEST_RESULT: StaticSchema = ( + 18, + n0, + _ARPTR, + 0, + (_tCe, _pA, _tRS, _tF, _tRR, _aTFR, _uA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_CASE, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (AUTOMATED_REASONING_POLICY_TEST_RUN_STATUS, 1), + (AUTOMATED_REASONING_CHECK_FINDING_LIST, 0), + (AUTOMATED_REASONING_POLICY_TEST_RUN_RESULT, 0), + (lambda: schemas.AUTOMATED_REASONING_CHECK_RESULT, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_3.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_3.py new file mode 100644 index 000000000..330ebecca --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_3.py @@ -0,0 +1,1310 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrock" +_s = "smithy.api#default" +_sm = "smithy.api#error" +_sE = "smithy.api#httpError" +_m = "message" +_me = "member" +_smi = "smithy.api#required" +_sV = "smithy.api#enumValue" +_cA = "createdAt" +_uA = "updatedAt" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_smith = "smithy.api#output" +_se = "server" +_smithy = "smithy.api#http" +_sT = "smithy.api#idempotencyToken" +_ta = "tags" +_sL = "smithy.api#httpLabel" +_mR = "maxResults" +_sQ = "smithy.api#httpQuery" +_nT = "nextToken" +_st = "status" +_pA = "policyArn" +_bWI = "buildWorkflowId" +_smithya = "smithy.api#sensitive" +_d = "description" +_n = "name" +_ve = "version" +_cRT = "clientRequestToken" +_pD = "policyDefinition" +_dH = "definitionHash" +_gC = "guardContent" +_qC = "queryContent" +_eAFR = "expectedAggregatedFindingsResult" +_cTo = "confidenceThreshold" +_tCI = "testCaseId" +_lUA = "lastUpdatedAt" +_sP = "smithy.api#httpPayload" +_pI = "policyId" +_fe = "feedback" +_a = "annotations" +_aSH = "annotationSetHash" +_bWT = "buildWorkflowType" +_dN = "documentName" +_dCT = "documentContentType" +_dD = "documentDescription" +_do = "document" +_LARPI = "ListAutomatedReasoningPoliciesInput" +_cLARPR = "com.amazonaws.bedrock#ListAutomatedReasoningPoliciesRequest" +_ARPSut = "AutomatedReasoningPolicySummary" +_ARPSuto = "AutomatedReasoningPolicySummaries" +_LARPO = "ListAutomatedReasoningPoliciesOutput" +_cLARPRo = "com.amazonaws.bedrock#ListAutomatedReasoningPoliciesResponse" +_aRPS = "automatedReasoningPolicySummaries" +_LARP = "ListAutomatedReasoningPolicies" +_LARPBWI = "ListAutomatedReasoningPolicyBuildWorkflowsInput" +_cLARPBWR = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyBuildWorkflowsRequest" +_ARPBWSu = "AutomatedReasoningPolicyBuildWorkflowSummary" +_ARPBWSut = "AutomatedReasoningPolicyBuildWorkflowSummaries" +_LARPBWO = "ListAutomatedReasoningPolicyBuildWorkflowsOutput" +_cLARPBWRo = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyBuildWorkflowsResponse" +_aRPBWS = "automatedReasoningPolicyBuildWorkflowSummaries" +_LARPBW = "ListAutomatedReasoningPolicyBuildWorkflows" +_LARPTCI = "ListAutomatedReasoningPolicyTestCasesInput" +_cLARPTCR = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyTestCasesRequest" +_ARPTCL = "AutomatedReasoningPolicyTestCaseList" +_LARPTCO = "ListAutomatedReasoningPolicyTestCasesOutput" +_cLARPTCRo = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyTestCasesResponse" +_tCes = "testCases" +_LARPTC = "ListAutomatedReasoningPolicyTestCases" +_LARPTRI = "ListAutomatedReasoningPolicyTestResultsInput" +_cLARPTRR = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyTestResultsRequest" +_ARPTL = "AutomatedReasoningPolicyTestList" +_LARPTRO = "ListAutomatedReasoningPolicyTestResultsOutput" +_cLARPTRRo = "com.amazonaws.bedrock#ListAutomatedReasoningPolicyTestResultsResponse" +_tRe = "testResults" +_LARPTR = "ListAutomatedReasoningPolicyTestResults" +_ARPBWD = "AutomatedReasoningPolicyBuildWorkflowDocument" +_ARPBWDL = "AutomatedReasoningPolicyBuildWorkflowDocumentList" +_ARPGFRDL = "AutomatedReasoningPolicyGenerateFidelityReportDocumentList" +_ARPGFRC = "AutomatedReasoningPolicyGenerateFidelityReportContent" +_doc = "documents" +_ARPIRDL = "AutomatedReasoningPolicyIterativeRefinementDocumentList" +_ARPBF = "AutomatedReasoningPolicyBuildFeedback" +_ARPIRC = "AutomatedReasoningPolicyIterativeRefinementContent" +_ARPBWRC = "AutomatedReasoningPolicyBuildWorkflowRepairContent" +_ARPWTC = "AutomatedReasoningPolicyWorkflowTypeContent" +_pRA = "policyRepairAssets" +_gFRC = "generateFidelityReportContent" +_iRC = "iterativeRefinementContent" +_ARPBWSuto = "AutomatedReasoningPolicyBuildWorkflowSource" +_wC = "workflowContent" +_SARPBWI = "StartAutomatedReasoningPolicyBuildWorkflowInput" +_cSARPBWR = "com.amazonaws.bedrock#StartAutomatedReasoningPolicyBuildWorkflowRequest" +_sH = "smithy.api#httpHeader" +_xact = "x-amz-client-token" +_sC = "sourceContent" +_SARPBWO = "StartAutomatedReasoningPolicyBuildWorkflowOutput" +_cSARPBWRo = "com.amazonaws.bedrock#StartAutomatedReasoningPolicyBuildWorkflowResponse" +_SARPBW = "StartAutomatedReasoningPolicyBuildWorkflow" +_ARPTCIL = "AutomatedReasoningPolicyTestCaseIdList" +_SARPTWI = "StartAutomatedReasoningPolicyTestWorkflowInput" +_cSARPTWR = "com.amazonaws.bedrock#StartAutomatedReasoningPolicyTestWorkflowRequest" +_tCIe = "testCaseIds" +_SARPTWO = "StartAutomatedReasoningPolicyTestWorkflowOutput" +_cSARPTWRo = "com.amazonaws.bedrock#StartAutomatedReasoningPolicyTestWorkflowResponse" +_SARPTW = "StartAutomatedReasoningPolicyTestWorkflow" +_UARPI = "UpdateAutomatedReasoningPolicyInput" +_cUARPR = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyRequest" +_UARPO = "UpdateAutomatedReasoningPolicyOutput" +_cUARPRo = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyResponse" +_UARP = "UpdateAutomatedReasoningPolicy" +_UARPAI = "UpdateAutomatedReasoningPolicyAnnotationsInput" +_cUARPAR = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyAnnotationsRequest" +_lUASH = "lastUpdatedAnnotationSetHash" +_UARPAO = "UpdateAutomatedReasoningPolicyAnnotationsOutput" +_cUARPARo = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyAnnotationsResponse" +_UARPA = "UpdateAutomatedReasoningPolicyAnnotations" +_UARPTCI = "UpdateAutomatedReasoningPolicyTestCaseInput" +_cUARPTCR = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyTestCaseRequest" +_UARPTCO = "UpdateAutomatedReasoningPolicyTestCaseOutput" +_cUARPTCRo = "com.amazonaws.bedrock#UpdateAutomatedReasoningPolicyTestCaseResponse" +_UARPTC = "UpdateAutomatedReasoningPolicyTestCase" +_RA = "RoleArn" +_ICn = "InstanceCount" +_ITn = "InstanceType" +_SGI = "SecurityGroupId" +_SGIe = "SecurityGroupIds" +_SI = "SubnetId" +_SIu = "SubnetIds" +_VC = "VpcConfig" +_sIu = "subnetIds" +_sGI = "securityGroupIds" +_SME = "SageMakerEndpoint" +_iIC = "initialInstanceCount" +_iTn = "instanceType" +_eRx = "executionRole" +_kEK = "kmsEncryptionKey" +_vp = "vpc" +_EC = "EndpointConfig" +_sM = "sageMaker" +_EN = "EndpointName" +_MSI = "ModelSourceIdentifier" +_CMMEI = "CreateMarketplaceModelEndpointInput" +_cCMMER = "com.amazonaws.bedrock#CreateMarketplaceModelEndpointRequest" +_mSI = "modelSourceIdentifier" +_eC = "endpointConfig" +_aEc = "acceptEula" +_eN = "endpointName" +_Ar = "Arn" +_Sta = "Status" +_REGISTERED = "REGISTERED" +_IE = "INCOMPATIBLE_ENDPOINT" +_MME = "MarketplaceModelEndpoint" +_eA = "endpointArn" +_sMt = "statusMessage" +_eS = "endpointStatus" +_eSM = "endpointStatusMessage" +_CMMEO = "CreateMarketplaceModelEndpointOutput" +_cCMMERo = "com.amazonaws.bedrock#CreateMarketplaceModelEndpointResponse" +_mME = "marketplaceModelEndpoint" +_CMME = "CreateMarketplaceModelEndpoint" +_DMMEI = "DeleteMarketplaceModelEndpointInput" +_cDMMER = "com.amazonaws.bedrock#DeleteMarketplaceModelEndpointRequest" +_DMMEO = "DeleteMarketplaceModelEndpointOutput" +_cDMMERo = "com.amazonaws.bedrock#DeleteMarketplaceModelEndpointResponse" +_DMME = "DeleteMarketplaceModelEndpoint" +_DMMEIe = "DeregisterMarketplaceModelEndpointInput" +_cDMMERom = "com.amazonaws.bedrock#DeregisterMarketplaceModelEndpointRequest" +_DMMEOe = "DeregisterMarketplaceModelEndpointOutput" +_cDMMERoma = "com.amazonaws.bedrock#DeregisterMarketplaceModelEndpointResponse" +_SUE = "ServiceUnavailableException" +_DMMEe = "DeregisterMarketplaceModelEndpoint" +_GMMEI = "GetMarketplaceModelEndpointInput" +_cGMMER = "com.amazonaws.bedrock#GetMarketplaceModelEndpointRequest" +_GMMEO = "GetMarketplaceModelEndpointOutput" +_cGMMERo = "com.amazonaws.bedrock#GetMarketplaceModelEndpointResponse" +_GMME = "GetMarketplaceModelEndpoint" +_LMMEI = "ListMarketplaceModelEndpointsInput" +_cLMMER = "com.amazonaws.bedrock#ListMarketplaceModelEndpointsRequest" +_mSE = "modelSourceEquals" +_MMES = "MarketplaceModelEndpointSummary" +_MMESa = "MarketplaceModelEndpointSummaries" +_LMMEO = "ListMarketplaceModelEndpointsOutput" +_cLMMERo = "com.amazonaws.bedrock#ListMarketplaceModelEndpointsResponse" +_mMEa = "marketplaceModelEndpoints" +_LMME = "ListMarketplaceModelEndpoints" +_RMMEI = "RegisterMarketplaceModelEndpointInput" +_cRMMER = "com.amazonaws.bedrock#RegisterMarketplaceModelEndpointRequest" +_eI = "endpointIdentifier" +_RMMEO = "RegisterMarketplaceModelEndpointOutput" +_cRMMERo = "com.amazonaws.bedrock#RegisterMarketplaceModelEndpointResponse" +_RMME = "RegisterMarketplaceModelEndpoint" +_UMMEI = "UpdateMarketplaceModelEndpointInput" +_cUMMER = "com.amazonaws.bedrock#UpdateMarketplaceModelEndpointRequest" +_UMMEO = "UpdateMarketplaceModelEndpointOutput" +_cUMMERo = "com.amazonaws.bedrock#UpdateMarketplaceModelEndpointResponse" +_UMME = "UpdateMarketplaceModelEndpoint" +_CCMDI = "CreateCustomModelDeploymentInput" +_cCCMDR = "com.amazonaws.bedrock#CreateCustomModelDeploymentRequest" +_mDN = "modelDeploymentName" +_mA = "modelArn" +_CCMDO = "CreateCustomModelDeploymentOutput" +_cCCMDRo = "com.amazonaws.bedrock#CreateCustomModelDeploymentResponse" +_cMDA = "customModelDeploymentArn" +_CCMD = "CreateCustomModelDeployment" + +LIST_AUTOMATED_REASONING_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LARPI, + {_sSI: _cLARPR, _smit: None}, + (_pA, _nT, _mR), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, {_sQ: _pA}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_s: 25, _sQ: _mR}), + ), +) + +LIST_AUTOMATED_REASONING_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LARPO, + {_sSI: _cLARPRo, _smith: None}, + (_aRPS, _nT), + ( + (lambda: AUTOMATED_REASONING_POLICY_SUMMARIES, 1), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +LIST_AUTOMATED_REASONING_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LARP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/automated-reasoning-policies"} + ) + }, + LIST_AUTOMATED_REASONING_POLICIES_INPUT, + LIST_AUTOMATED_REASONING_POLICIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_SUMMARY: StaticSchema = ( + 18, + n0, + _ARPSut, + 0, + (_pA, _n, _d, _ve, _pI, _cA, _uA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_VERSION, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_ID, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +AUTOMATED_REASONING_POLICY_SUMMARIES: StaticSchema = ( + 16, + n0, + _ARPSuto, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_SUMMARY, 0),), +) + +LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_INPUT: StaticSchema = ( + 18, + n0, + _LARPBWI, + {_sSI: _cLARPBWR, _smit: None}, + (_pA, _nT, _mR), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_s: 25, _sQ: _mR}), + ), +) + +LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_OUTPUT: StaticSchema = ( + 18, + n0, + _LARPBWO, + {_sSI: _cLARPBWRo, _smith: None}, + (_aRPBWS, _nT), + ( + (lambda: AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARIES, 1), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS: StaticOperationSchema = ( + 23, + n0, + _LARPBW, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows", + } + ) + }, + LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_INPUT, + LIST_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOWS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARY: StaticSchema = ( + 18, + n0, + _ARPBWSu, + 0, + (_pA, _bWI, _st, _bWT, _cA, _uA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_STATUS, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_TYPE, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARIES: StaticSchema = ( + 16, + n0, + _ARPBWSut, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SUMMARY, 0),), +) + +LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_INPUT: StaticSchema = ( + 18, + n0, + _LARPTCI, + {_sSI: _cLARPTCR, _smit: None}, + (_pA, _nT, _mR), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.PAGINATION_TOKEN, {_s: None, _sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_s: 25, _sQ: _mR}), + ), +) + +LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_OUTPUT: StaticSchema = ( + 18, + n0, + _LARPTCO, + {_sSI: _cLARPTCRo, _smith: None}, + (_tCes, _nT), + ( + (lambda: AUTOMATED_REASONING_POLICY_TEST_CASE_LIST, 1), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +LIST_AUTOMATED_REASONING_POLICY_TEST_CASES: StaticOperationSchema = ( + 23, + n0, + _LARPTC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/test-cases", + } + ) + }, + LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_INPUT, + LIST_AUTOMATED_REASONING_POLICY_TEST_CASES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_TEST_CASE_LIST: StaticSchema = ( + 16, + n0, + _ARPTCL, + 0, + (_me,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_CASE, 0),), +) + +LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_INPUT: StaticSchema = ( + 18, + n0, + _LARPTRI, + {_sSI: _cLARPTRR, _smit: None}, + (_pA, _bWI, _nT, _mR), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + (lambda: schemas.PAGINATION_TOKEN, {_s: None, _sQ: _nT}), + (lambda: schemas.MAX_RESULTS, {_s: 25, _sQ: _mR}), + ), +) + +LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LARPTRO, + {_sSI: _cLARPTRRo, _smith: None}, + (_tRe, _nT), + ( + (lambda: AUTOMATED_REASONING_POLICY_TEST_LIST, 1), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS: StaticOperationSchema = ( + 23, + n0, + _LARPTR, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-results", + } + ) + }, + LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_INPUT, + LIST_AUTOMATED_REASONING_POLICY_TEST_RESULTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_TEST_LIST: StaticSchema = ( + 16, + n0, + _ARPTL, + 0, + (_me,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_RESULT, 0),), +) + +AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT: StaticSchema = ( + 18, + n0, + _ARPBWD, + 0, + (_do, _dCT, _dN, _dD), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_BLOB, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_CONTENT_TYPE, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_DOCUMENT_DESCRIPTION, 0), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT_LIST: StaticSchema = ( + 16, + n0, + _ARPBWDL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT, 0),), +) + +AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_DOCUMENT_LIST: StaticSchema = ( + 16, + n0, + _ARPGFRDL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT, 0),), +) + +AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_CONTENT: StaticSchema = ( + 19, + n0, + _ARPGFRC, + 0, + (_doc,), + ((AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_DOCUMENT_LIST, 0),), +) + +AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_DOCUMENT_LIST: StaticSchema = ( + 16, + n0, + _ARPIRDL, + 0, + (_me,), + ((AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT, 0),), +) + +AUTOMATED_REASONING_POLICY_BUILD_FEEDBACK: StaticSchema = (3, n0, _ARPBF, 4) + +AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_CONTENT: StaticSchema = ( + 18, + n0, + _ARPIRC, + 0, + (_doc, _fe), + ( + (AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_DOCUMENT_LIST, 1), + (AUTOMATED_REASONING_POLICY_BUILD_FEEDBACK, 0), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_REPAIR_CONTENT: StaticSchema = ( + 18, + n0, + _ARPBWRC, + 0, + (_a,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_ANNOTATION_LIST, 1),), +) + +AUTOMATED_REASONING_POLICY_WORKFLOW_TYPE_CONTENT: StaticSchema = ( + 19, + n0, + _ARPWTC, + 0, + (_doc, _pRA, _gFRC, _iRC), + ( + (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_DOCUMENT_LIST, 0), + (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_REPAIR_CONTENT, 0), + (AUTOMATED_REASONING_POLICY_GENERATE_FIDELITY_REPORT_CONTENT, 0), + (AUTOMATED_REASONING_POLICY_ITERATIVE_REFINEMENT_CONTENT, 0), + ), +) + +AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SOURCE: StaticSchema = ( + 18, + n0, + _ARPBWSuto, + 0, + (_pD, _wC), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION, 0), + (AUTOMATED_REASONING_POLICY_WORKFLOW_TYPE_CONTENT, 0), + ), +) + +START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT: StaticSchema = ( + 18, + n0, + _SARPBWI, + {_sSI: _cSARPBWR, _smit: None}, + (_pA, _bWT, _cRT, _sC), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_TYPE, 9), + (lambda: schemas.IDEMPOTENCY_TOKEN, {_sH: _xact, _sT: None}), + (AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_SOURCE, 17), + ), +) + +START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _SARPBWO, + {_sSI: _cSARPBWRo, _smith: None}, + (_pA, _bWI), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), + ), +) + +START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW: StaticOperationSchema = ( + 23, + n0, + _SARPBW, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowType}/start", + } + ) + }, + START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_INPUT, + START_AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTOMATED_REASONING_POLICY_TEST_CASE_ID_LIST: StaticSchema = ( + 16, + n0, + _ARPTCIL, + 0, + (_me,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 0),), +) + +START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_INPUT: StaticSchema = ( + 18, + n0, + _SARPTWI, + {_sSI: _cSARPTWR, _smit: None}, + (_pA, _bWI, _tCIe, _cRT), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + (AUTOMATED_REASONING_POLICY_TEST_CASE_ID_LIST, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + ), +) + +START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_OUTPUT: StaticSchema = ( + 18, + n0, + _SARPTWO, + {_sSI: _cSARPTWRo, _smith: None}, + (_pA,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1),), +) + +START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW: StaticOperationSchema = ( + 23, + n0, + _SARPTW, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-workflows", + } + ) + }, + START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_INPUT, + START_AUTOMATED_REASONING_POLICY_TEST_WORKFLOW_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_AUTOMATED_REASONING_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _UARPI, + {_sSI: _cUARPR, _smit: None}, + (_pA, _pD, _n, _d), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DEFINITION, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_NAME, 0), + (lambda: schemas.AUTOMATED_REASONING_POLICY_DESCRIPTION, 0), + ), +) + +UPDATE_AUTOMATED_REASONING_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _UARPO, + {_sSI: _cUARPRo, _smith: None}, + (_pA, _n, _dH, _uA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_NAME, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_HASH, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +UPDATE_AUTOMATED_REASONING_POLICY: StaticOperationSchema = ( + 23, + n0, + _UARP, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PATCH", + "uri": "/automated-reasoning-policies/{policyArn}", + } + ) + }, + UPDATE_AUTOMATED_REASONING_POLICY_INPUT, + UPDATE_AUTOMATED_REASONING_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT: StaticSchema = ( + 18, + n0, + _UARPAI, + {_sSI: _cUARPAR, _smit: None}, + (_pA, _bWI, _a, _lUASH), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_ANNOTATION_LIST, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_HASH, 1), + ), +) + +UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _UARPAO, + {_sSI: _cUARPARo, _smith: None}, + (_pA, _bWI, _aSH, _uA), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_BUILD_WORKFLOW_ID, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_HASH, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS: StaticOperationSchema = ( + 23, + n0, + _UARPA, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PATCH", + "uri": "/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations", + } + ) + }, + UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_INPUT, + UPDATE_AUTOMATED_REASONING_POLICY_ANNOTATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT: StaticSchema = ( + 18, + n0, + _UARPTCI, + {_sSI: _cUARPTCR, _smit: None}, + (_pA, _tCI, _gC, _qC, _lUA, _eAFR, _cTo, _cRT), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 9), + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_GUARD_CONTENT, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_QUERY_CONTENT, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.AUTOMATED_REASONING_CHECK_RESULT, 1), + (lambda: schemas.AUTOMATED_REASONING_CHECK_TRANSLATION_CONFIDENCE, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + ), +) + +UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT: StaticSchema = ( + 18, + n0, + _UARPTCO, + {_sSI: _cUARPTCRo, _smith: None}, + (_pA, _tCI), + ( + (lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 1), + (lambda: schemas.AUTOMATED_REASONING_POLICY_TEST_CASE_ID, 1), + ), +) + +UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE: StaticOperationSchema = ( + 23, + n0, + _UARPTC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PATCH", + "uri": "/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", + } + ) + }, + UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_INPUT, + UPDATE_AUTOMATED_REASONING_POLICY_TEST_CASE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ROLE_ARN: StaticSchema = (3, n0, _RA, 0) + +INSTANCE_COUNT: StaticSchema = (7, n0, _ICn, 0) + +INSTANCE_TYPE: StaticSchema = (3, n0, _ITn, 0) + +SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGI, 0) + +SECURITY_GROUP_IDS: StaticSchema = (16, n0, _SGIe, 0, (_me,), ((SECURITY_GROUP_ID, 0),)) + +SUBNET_ID: StaticSchema = (3, n0, _SI, 0) + +SUBNET_IDS: StaticSchema = (16, n0, _SIu, 0, (_me,), ((SUBNET_ID, 0),)) + +VPC_CONFIG: StaticSchema = ( + 18, + n0, + _VC, + 0, + (_sIu, _sGI), + ((SUBNET_IDS, 1), (SECURITY_GROUP_IDS, 1)), +) + +SAGE_MAKER_ENDPOINT: StaticSchema = ( + 18, + n0, + _SME, + 0, + (_iIC, _iTn, _eRx, _kEK, _vp), + ( + (INSTANCE_COUNT, 1), + (INSTANCE_TYPE, 1), + (ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ID, 0), + (VPC_CONFIG, 0), + ), +) + +ENDPOINT_CONFIG: StaticSchema = (19, n0, _EC, 0, (_sM,), ((SAGE_MAKER_ENDPOINT, 0),)) + +ENDPOINT_NAME: StaticSchema = (3, n0, _EN, 0) + +MODEL_SOURCE_IDENTIFIER: StaticSchema = (3, n0, _MSI, 0) + +CREATE_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CMMEI, + {_sSI: _cCMMER, _smit: None}, + (_mSI, _eC, _aEc, _eN, _cRT, _ta), + ( + (MODEL_SOURCE_IDENTIFIER, 1), + (ENDPOINT_CONFIG, 1), + (lambda: schemas.ACCEPT_EULA, {_s: False}), + (ENDPOINT_NAME, 1), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CMMEO, + {_sSI: _cCMMERo, _smith: None}, + (_mME,), + ((lambda: MARKETPLACE_MODEL_ENDPOINT, 1),), +) + +CREATE_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CMME, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/marketplace-model/endpoints"} + ) + }, + CREATE_MARKETPLACE_MODEL_ENDPOINT_INPUT, + CREATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ARN: StaticSchema = (3, n0, _Ar, 0) + +STATUS: StaticSchema = ( + 14, + n0, + _Sta, + 0, + (_REGISTERED, _IE), + ((-1, {_sV: _REGISTERED}), (-1, {_sV: _IE})), +) + +MARKETPLACE_MODEL_ENDPOINT: StaticSchema = ( + 18, + n0, + _MME, + 0, + (_eA, _mSI, _st, _sMt, _cA, _uA, _eC, _eS, _eSM), + ( + (ARN, 1), + (MODEL_SOURCE_IDENTIFIER, 1), + (STATUS, 0), + (3, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (ENDPOINT_CONFIG, 1), + (3, 1), + (3, 0), + ), +) + +DELETE_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DMMEI, + {_sSI: _cDMMER, _smit: None}, + (_eA,), + ((ARN, 9),), +) + +DELETE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DMMEO, + {_sSI: _cDMMERo, _smith: None}, +) + +DELETE_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DMME, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/marketplace-model/endpoints/{endpointArn}", + } + ) + }, + DELETE_MARKETPLACE_MODEL_ENDPOINT_INPUT, + DELETE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DMMEIe, + {_sSI: _cDMMERom, _smit: None}, + (_eA,), + ((ARN, 9),), +) + +DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DMMEOe, + {_sSI: _cDMMERoma, _smith: None}, +) + +DEREGISTER_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DMMEe, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/marketplace-model/endpoints/{endpointArn}/registration", + } + ) + }, + DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT, + DEREGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SUE, + {_sm: _se, _sE: 503}, + (_m,), + ((lambda: schemas.NON_BLANK_STRING, 0),), +) + +GET_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _GMMEI, + {_sSI: _cGMMER, _smit: None}, + (_eA,), + ((ARN, 9),), +) + +GET_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _GMMEO, + {_sSI: _cGMMERo, _smith: None}, + (_mME,), + ((MARKETPLACE_MODEL_ENDPOINT, 0),), +) + +GET_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _GMME, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/marketplace-model/endpoints/{endpointArn}", + } + ) + }, + GET_MARKETPLACE_MODEL_ENDPOINT_INPUT, + GET_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_MARKETPLACE_MODEL_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _LMMEI, + {_sSI: _cLMMER, _smit: None}, + (_mR, _nT, _mSE), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (MODEL_SOURCE_IDENTIFIER, {_sQ: _mSI}), + ), +) + +LIST_MARKETPLACE_MODEL_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMMEO, + {_sSI: _cLMMERo, _smith: None}, + (_mMEa, _nT), + ( + (lambda: MARKETPLACE_MODEL_ENDPOINT_SUMMARIES, 0), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +LIST_MARKETPLACE_MODEL_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _LMME, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/marketplace-model/endpoints"} + ) + }, + LIST_MARKETPLACE_MODEL_ENDPOINTS_INPUT, + LIST_MARKETPLACE_MODEL_ENDPOINTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MARKETPLACE_MODEL_ENDPOINT_SUMMARY: StaticSchema = ( + 18, + n0, + _MMES, + 0, + (_eA, _mSI, _st, _sMt, _cA, _uA), + ( + (ARN, 1), + (MODEL_SOURCE_IDENTIFIER, 1), + (STATUS, 0), + (3, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +MARKETPLACE_MODEL_ENDPOINT_SUMMARIES: StaticSchema = ( + 16, + n0, + _MMESa, + 0, + (_me,), + ((MARKETPLACE_MODEL_ENDPOINT_SUMMARY, 0),), +) + +REGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _RMMEI, + {_sSI: _cRMMER, _smit: None}, + (_eI, _mSI), + ((ARN, 9), (MODEL_SOURCE_IDENTIFIER, 1)), +) + +REGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _RMMEO, + {_sSI: _cRMMERo, _smith: None}, + (_mME,), + ((MARKETPLACE_MODEL_ENDPOINT, 1),), +) + +REGISTER_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _RMME, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/marketplace-model/endpoints/{endpointIdentifier}/registration", + } + ) + }, + REGISTER_MARKETPLACE_MODEL_ENDPOINT_INPUT, + REGISTER_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_UNAVAILABLE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_MARKETPLACE_MODEL_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _UMMEI, + {_sSI: _cUMMER, _smit: None}, + (_eA, _eC, _cRT), + ((ARN, 9), (ENDPOINT_CONFIG, 1), (lambda: schemas.IDEMPOTENCY_TOKEN, 2)), +) + +UPDATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _UMMEO, + {_sSI: _cUMMERo, _smith: None}, + (_mME,), + ((MARKETPLACE_MODEL_ENDPOINT, 1),), +) + +UPDATE_MARKETPLACE_MODEL_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _UMME, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PATCH", + "uri": "/marketplace-model/endpoints/{endpointArn}", + } + ) + }, + UPDATE_MARKETPLACE_MODEL_ENDPOINT_INPUT, + UPDATE_MARKETPLACE_MODEL_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREATE_CUSTOM_MODEL_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _CCMDI, + {_sSI: _cCCMDR, _smit: None}, + (_mDN, _mA, _d, _ta, _cRT), + ( + (lambda: schemas.MODEL_DEPLOYMENT_NAME, 1), + (lambda: schemas.CUSTOM_MODEL_ARN, 1), + (lambda: schemas.CUSTOM_MODEL_DEPLOYMENT_DESCRIPTION, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + ), +) + +CREATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CCMDO, + {_sSI: _cCCMDRo, _smith: None}, + (_cMDA,), + ((lambda: schemas.CUSTOM_MODEL_DEPLOYMENT_ARN, 1),), +) + +CREATE_CUSTOM_MODEL_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _CCMD, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "POST", + "uri": "/model-customization/custom-model-deployments", + } + ) + }, + CREATE_CUSTOM_MODEL_DEPLOYMENT_INPUT, + CREATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_4.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_4.py new file mode 100644 index 000000000..e0ec0d6a9 --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_4.py @@ -0,0 +1,1370 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrock" +_s = "smithy.api#default" +_m = "message" +_me = "member" +_smi = "smithy.api#required" +_sV = "smithy.api#enumValue" +_cI = "configId" +_cA = "createdAt" +_uA = "updatedAt" +_uB = "updatedBy" +_k = "key" +_v = "value" +_sU = "s3Uri" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_jI = "jobIdentifiers" +_IP = "IN_PROGRESS" +_IPn = "InProgress" +_COMPLETED = "COMPLETED" +_C = "Completed" +_FAILED = "FAILED" +_F = "Failed" +_STOPPING = "STOPPING" +_S = "Stopping" +_STOPPED = "STOPPED" +_St = "Stopped" +_DELETING = "DELETING" +_D = "Deleting" +_jIo = "jobIdentifier" +_jS = "jobStatus" +_co = "code" +_smith = "smithy.api#output" +_e = "errors" +_smithy = "smithy.api#http" +_jN = "jobName" +_sT = "smithy.api#idempotencyToken" +_jA = "jobArn" +_sL = "smithy.api#httpLabel" +_cTr = "creationTime" +_fM = "failureMessage" +_mR = "maxResults" +_sQ = "smithy.api#httpQuery" +_nT = "nextToken" +_sB = "sortBy" +_sO = "sortOrder" +_st = "status" +_smithya = "smithy.api#sensitive" +_d = "description" +_cRT = "clientRequestToken" +_lUA = "lastUpdatedAt" +_CMDD = "CustomModelDeploymentDescription" +_CMA = "CustomModelArn" +_MDN = "ModelDeploymentName" +_mDN = "modelDeploymentName" +_mA = "modelArn" +_CMDA = "CustomModelDeploymentArn" +_cMDA = "customModelDeploymentArn" +_CMDI = "CustomModelDeploymentIdentifier" +_DCMDI = "DeleteCustomModelDeploymentInput" +_cDCMDR = "com.amazonaws.bedrock#DeleteCustomModelDeploymentRequest" +_cMDI = "customModelDeploymentIdentifier" +_DCMDO = "DeleteCustomModelDeploymentOutput" +_cDCMDRo = "com.amazonaws.bedrock#DeleteCustomModelDeploymentResponse" +_DCMD = "DeleteCustomModelDeployment" +_GCMDI = "GetCustomModelDeploymentInput" +_cGCMDR = "com.amazonaws.bedrock#GetCustomModelDeploymentRequest" +_CMDS = "CustomModelDeploymentStatus" +_CREATING = "CREATING" +_Cr = "Creating" +_ACTIVE = "ACTIVE" +_Ac = "Active" +_MA = "ModelArn" +_CMDUS = "CustomModelDeploymentUpdateStatus" +_UPDATING = "UPDATING" +_U = "Updating" +_UC = "UPDATE_COMPLETED" +_UCp = "UpdateCompleted" +_UF = "UPDATE_FAILED" +_UFp = "UpdateFailed" +_CMDUD = "CustomModelDeploymentUpdateDetails" +_uS = "updateStatus" +_GCMDO = "GetCustomModelDeploymentOutput" +_cGCMDRo = "com.amazonaws.bedrock#GetCustomModelDeploymentResponse" +_uD = "updateDetails" +_GCMD = "GetCustomModelDeployment" +_LCMDI = "ListCustomModelDeploymentsInput" +_cLCMDR = "com.amazonaws.bedrock#ListCustomModelDeploymentsRequest" +_cBr = "createdBefore" +_cAr = "createdAfter" +_nC = "nameContains" +_sEt = "statusEquals" +_mAE = "modelArnEquals" +_CMDSu = "CustomModelDeploymentSummary" +_cMDN = "customModelDeploymentName" +_CMDSL = "CustomModelDeploymentSummaryList" +_LCMDO = "ListCustomModelDeploymentsOutput" +_cLCMDRo = "com.amazonaws.bedrock#ListCustomModelDeploymentsResponse" +_mDS = "modelDeploymentSummaries" +_LCMD = "ListCustomModelDeployments" +_UCMDI = "UpdateCustomModelDeploymentInput" +_cUCMDR = "com.amazonaws.bedrock#UpdateCustomModelDeploymentRequest" +_UCMDO = "UpdateCustomModelDeploymentOutput" +_cUCMDRo = "com.amazonaws.bedrock#UpdateCustomModelDeploymentResponse" +_UCMD = "UpdateCustomModelDeployment" +_MPA = "ModelPackageArn" +_MPADS = "ModelPackageArnDataSource" +_mPA = "modelPackageArn" +_CMDSus = "CustomModelDataSource" +_mPADS = "modelPackageArnDataSource" +_CMN = "CustomModelName" +_SDS = "S3DataSource" +_MDS = "ModelDataSource" +_sDS = "s3DataSource" +_CCMI = "CreateCustomModelInput" +_cCCMR = "com.amazonaws.bedrock#CreateCustomModelRequest" +_mN = "modelName" +_mSC = "modelSourceConfig" +_cMDS = "customModelDataSource" +_mKKA = "modelKmsKeyArn" +_rA = "roleArn" +_mTo = "modelTags" +_CCMO = "CreateCustomModelOutput" +_cCCMRo = "com.amazonaws.bedrock#CreateCustomModelResponse" +_CCM = "CreateCustomModel" +_MI = "ModelIdentifier" +_DCMI = "DeleteCustomModelInput" +_cDCMR = "com.amazonaws.bedrock#DeleteCustomModelRequest" +_mIo = "modelIdentifier" +_DCMO = "DeleteCustomModelOutput" +_cDCMRo = "com.amazonaws.bedrock#DeleteCustomModelResponse" +_DCM = "DeleteCustomModel" +_GCMI = "GetCustomModelInput" +_cGCMR = "com.amazonaws.bedrock#GetCustomModelRequest" +_TMI = "TeacherModelIdentifier" +_TMC = "TeacherModelConfig" +_tMI = "teacherModelIdentifier" +_mRLFI = "maxResponseLengthForInference" +_DC = "DistillationConfig" +_tMC = "teacherModelConfig" +_LA = "LambdaArn" +_LGC = "LambdaGraderConfig" +_lA = "lambdaArn" +_GC = "GraderConfig" +_lG = "lambdaGrader" +_RFTBS = "RFTBatchSize" +_ECp = "EpochCount" +_RFTEI = "RFTEvalInterval" +_RFTIMT = "RFTInferenceMaxTokens" +_RFTLR = "RFTLearningRate" +_RFTMPL = "RFTMaxPromptLength" +_RE = "ReasoningEffort" +_LOW = "LOW" +_low = "low" +_MEDIUM = "MEDIUM" +_med = "medium" +_HIGH = "HIGH" +_h = "high" +_RFTTSPP = "RFTTrainingSamplePerPrompt" +_RFTHP = "RFTHyperParameters" +_eCp = "epochCount" +_bSa = "batchSize" +_lR = "learningRate" +_mPL = "maxPromptLength" +_tSPP = "trainingSamplePerPrompt" +_iMT = "inferenceMaxTokens" +_rE = "reasoningEffort" +_eIv = "evalInterval" +_RFTC = "RFTConfig" +_gCr = "graderConfig" +_hP = "hyperParameters" +_CC = "CustomizationConfig" +_dCi = "distillationConfig" +_rCf = "rftConfig" +_CTu = "CustomizationType" +_FT = "FINE_TUNING" +_CPT = "CONTINUED_PRE_TRAINING" +_DISTILLATION = "DISTILLATION" +_RFT = "REINFORCEMENT_FINE_TUNING" +_IMPORTED = "IMPORTED" +_MCHP = "ModelCustomizationHyperParameters" +_MCJA = "ModelCustomizationJobArn" +_JN = "JobName" +_MS = "ModelStatus" +_ODC = "OutputDataConfig" +_ILS = "InvocationLogSource" +_RMM = "RequestMetadataMap" +_RMBF = "RequestMetadataBaseFilters" +_eq = "equals" +_nE = "notEquals" +_RMFL = "RequestMetadataFiltersList" +_RMF = "RequestMetadataFilters" +_aA = "andAll" +_oA = "orAll" +_UPR = "UsePromptResponse" +_ILC = "InvocationLogsConfig" +_uPR = "usePromptResponse" +_iLS = "invocationLogSource" +_rMF = "requestMetadataFilters" +_TDC = "TrainingDataConfig" +_iLC = "invocationLogsConfig" +_MF = "MetricFloat" +_TM = "TrainingMetrics" +_tL = "trainingLoss" +_V = "Validator" +_Va = "Validators" +_VDC = "ValidationDataConfig" +_vali = "validators" +_VM = "ValidatorMetric" +_vL = "validationLoss" +_VMa = "ValidationMetrics" +_GCMO = "GetCustomModelOutput" +_cGCMRo = "com.amazonaws.bedrock#GetCustomModelResponse" +_bMA = "baseModelArn" +_cTu = "customizationType" +_tDC = "trainingDataConfig" +_vDC = "validationDataConfig" +_oDC = "outputDataConfig" +_tM = "trainingMetrics" +_vM = "validationMetrics" +_cC = "customizationConfig" +_mS = "modelStatus" +_GCM = "GetCustomModel" +_FMA = "FoundationModelArn" +_LCMI = "ListCustomModelsInput" +_cLCMR = "com.amazonaws.bedrock#ListCustomModelsRequest" +_cTB = "creationTimeBefore" +_cTA = "creationTimeAfter" +_bMAE = "baseModelArnEquals" +_fMAE = "foundationModelArnEquals" +_iO = "isOwned" +_MN = "ModelName" +_CMS = "CustomModelSummary" +_bMN = "baseModelName" +_oAI = "ownerAccountId" +_CMSL = "CustomModelSummaryList" +_LCMO = "ListCustomModelsOutput" +_cLCMRo = "com.amazonaws.bedrock#ListCustomModelsResponse" +_mSo = "modelSummaries" +_LCM = "ListCustomModels" +_GADRI = "GetAccountDataRetentionInput" +_cGADRR = "com.amazonaws.bedrock#GetAccountDataRetentionRequest" +_DRM = "DataRetentionMode" +_DEFAULT = "DEFAULT" +_de = "default" +_NONE = "NONE" +_no = "none" +_AR = "AWS_REVIEW" +_ar = "aws_review" +_PDS = "PROVIDER_DATA_SHARE" +_pds = "provider_data_share" +_INHERIT = "INHERIT" +_inh = "inherit" +_GADRO = "GetAccountDataRetentionOutput" +_cGADRRo = "com.amazonaws.bedrock#GetAccountDataRetentionResponse" +_mo = "mode" +_GADR = "GetAccountDataRetention" +_PADRI = "PutAccountDataRetentionInput" +_cPADRR = "com.amazonaws.bedrock#PutAccountDataRetentionRequest" +_PADRO = "PutAccountDataRetentionOutput" +_cPADRRo = "com.amazonaws.bedrock#PutAccountDataRetentionResponse" +_PADR = "PutAccountDataRetention" +_DEGCI = "DeleteEnforcedGuardrailConfigurationInput" +_cDEGCR = "com.amazonaws.bedrock#DeleteEnforcedGuardrailConfigurationRequest" +_DEGCO = "DeleteEnforcedGuardrailConfigurationOutput" +_cDEGCRo = "com.amazonaws.bedrock#DeleteEnforcedGuardrailConfigurationResponse" +_DEGC = "DeleteEnforcedGuardrailConfiguration" +_LEGCI = "ListEnforcedGuardrailsConfigurationInput" +_cLEGCR = "com.amazonaws.bedrock#ListEnforcedGuardrailsConfigurationRequest" +_LEGCO = "ListEnforcedGuardrailsConfigurationOutput" +_cLEGCRo = "com.amazonaws.bedrock#ListEnforcedGuardrailsConfigurationResponse" +_gCu = "guardrailsConfig" +_LEGC = "ListEnforcedGuardrailsConfiguration" +_PEGCI = "PutEnforcedGuardrailConfigurationInput" +_cPEGCR = "com.amazonaws.bedrock#PutEnforcedGuardrailConfigurationRequest" +_gIC = "guardrailInferenceConfig" +_PEGCO = "PutEnforcedGuardrailConfigurationOutput" +_cPEGCRo = "com.amazonaws.bedrock#PutEnforcedGuardrailConfigurationResponse" +_PEGC = "PutEnforcedGuardrailConfiguration" +_EJI = "EvaluationJobIdentifier" +_EJIv = "EvaluationJobIdentifiers" +_BDEJI = "BatchDeleteEvaluationJobInput" +_cBDEJR = "com.amazonaws.bedrock#BatchDeleteEvaluationJobRequest" +_BDEJE = "BatchDeleteEvaluationJobError" +_BDEJEa = "BatchDeleteEvaluationJobErrors" +_EJS = "EvaluationJobStatus" +_BDEJIa = "BatchDeleteEvaluationJobItem" +_BDEJIat = "BatchDeleteEvaluationJobItems" +_BDEJO = "BatchDeleteEvaluationJobOutput" +_cBDEJRo = "com.amazonaws.bedrock#BatchDeleteEvaluationJobResponse" +_eJ = "evaluationJobs" +_BDEJ = "BatchDeleteEvaluationJob" +_ATp = "ApplicationType" +_ME_ = "MODEL_EVALUATION" +_MEo = "ModelEvaluation" +_RE_ = "RAG_EVALUATION" +_REa = "RagEvaluation" +_CMI = "CustomMetricInstructions" + +CUSTOM_MODEL_DEPLOYMENT_DESCRIPTION: StaticSchema = (3, n0, _CMDD, 0) + +CUSTOM_MODEL_ARN: StaticSchema = (3, n0, _CMA, 0) + +MODEL_DEPLOYMENT_NAME: StaticSchema = (3, n0, _MDN, 0) + +CUSTOM_MODEL_DEPLOYMENT_ARN: StaticSchema = (3, n0, _CMDA, 0) + +CUSTOM_MODEL_DEPLOYMENT_IDENTIFIER: StaticSchema = (3, n0, _CMDI, 0) + +DELETE_CUSTOM_MODEL_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _DCMDI, + {_sSI: _cDCMDR, _smit: None}, + (_cMDI,), + ((CUSTOM_MODEL_DEPLOYMENT_IDENTIFIER, 9),), +) + +DELETE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DCMDO, + {_sSI: _cDCMDRo, _smith: None}, +) + +DELETE_CUSTOM_MODEL_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _DCMD, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", + } + ) + }, + DELETE_CUSTOM_MODEL_DEPLOYMENT_INPUT, + DELETE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_CUSTOM_MODEL_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _GCMDI, + {_sSI: _cGCMDR, _smit: None}, + (_cMDI,), + ((CUSTOM_MODEL_DEPLOYMENT_IDENTIFIER, 9),), +) + +GET_CUSTOM_MODEL_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GCMDO, + {_sSI: _cGCMDRo, _smith: None}, + (_cMDA, _mDN, _mA, _cA, _st, _d, _uD, _fM, _lUA), + ( + (CUSTOM_MODEL_DEPLOYMENT_ARN, 1), + (MODEL_DEPLOYMENT_NAME, 1), + (CUSTOM_MODEL_ARN, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: CUSTOM_MODEL_DEPLOYMENT_STATUS, 1), + (CUSTOM_MODEL_DEPLOYMENT_DESCRIPTION, 0), + (lambda: CUSTOM_MODEL_DEPLOYMENT_UPDATE_DETAILS, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +GET_CUSTOM_MODEL_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _GCMD, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", + } + ) + }, + GET_CUSTOM_MODEL_DEPLOYMENT_INPUT, + GET_CUSTOM_MODEL_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CUSTOM_MODEL_DEPLOYMENT_STATUS: StaticSchema = ( + 14, + n0, + _CMDS, + 0, + (_CREATING, _ACTIVE, _FAILED), + ((-1, {_sV: _Cr}), (-1, {_sV: _Ac}), (-1, {_sV: _F})), +) + +MODEL_ARN: StaticSchema = (3, n0, _MA, 0) + +CUSTOM_MODEL_DEPLOYMENT_UPDATE_STATUS: StaticSchema = ( + 14, + n0, + _CMDUS, + 0, + (_UPDATING, _UC, _UF), + ((-1, {_sV: _U}), (-1, {_sV: _UCp}), (-1, {_sV: _UFp})), +) + +CUSTOM_MODEL_DEPLOYMENT_UPDATE_DETAILS: StaticSchema = ( + 18, + n0, + _CMDUD, + 0, + (_mA, _uS), + ((MODEL_ARN, 1), (CUSTOM_MODEL_DEPLOYMENT_UPDATE_STATUS, 1)), +) + +LIST_CUSTOM_MODEL_DEPLOYMENTS_INPUT: StaticSchema = ( + 18, + n0, + _LCMDI, + {_sSI: _cLCMDR, _smit: None}, + (_cBr, _cAr, _nC, _mR, _nT, _sB, _sO, _sEt, _mAE), + ( + (lambda: schemas.TIMESTAMP, {_sQ: _cBr}), + (lambda: schemas.TIMESTAMP, {_sQ: _cAr}), + (MODEL_DEPLOYMENT_NAME, {_sQ: _nC}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.SORT_MODELS_BY, {_sQ: _sB}), + (lambda: schemas.SORT_ORDER, {_sQ: _sO}), + (CUSTOM_MODEL_DEPLOYMENT_STATUS, {_sQ: _sEt}), + (CUSTOM_MODEL_ARN, {_sQ: _mAE}), + ), +) + +LIST_CUSTOM_MODEL_DEPLOYMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCMDO, + {_sSI: _cLCMDRo, _smith: None}, + (_nT, _mDS), + ( + (lambda: schemas.PAGINATION_TOKEN, 0), + (lambda: CUSTOM_MODEL_DEPLOYMENT_SUMMARY_LIST, 0), + ), +) + +LIST_CUSTOM_MODEL_DEPLOYMENTS: StaticOperationSchema = ( + 23, + n0, + _LCMD, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/model-customization/custom-model-deployments", + } + ) + }, + LIST_CUSTOM_MODEL_DEPLOYMENTS_INPUT, + LIST_CUSTOM_MODEL_DEPLOYMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CUSTOM_MODEL_DEPLOYMENT_SUMMARY: StaticSchema = ( + 18, + n0, + _CMDSu, + 0, + (_cMDA, _cMDN, _mA, _cA, _st, _lUA, _fM), + ( + (CUSTOM_MODEL_DEPLOYMENT_ARN, 1), + (MODEL_DEPLOYMENT_NAME, 1), + (MODEL_ARN, 1), + (lambda: schemas.TIMESTAMP, 1), + (CUSTOM_MODEL_DEPLOYMENT_STATUS, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + ), +) + +CUSTOM_MODEL_DEPLOYMENT_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CMDSL, + 0, + (_me,), + ((CUSTOM_MODEL_DEPLOYMENT_SUMMARY, 0),), +) + +UPDATE_CUSTOM_MODEL_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _UCMDI, + {_sSI: _cUCMDR, _smit: None}, + (_mA, _cMDI), + ((CUSTOM_MODEL_ARN, 1), (CUSTOM_MODEL_DEPLOYMENT_IDENTIFIER, 9)), +) + +UPDATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _UCMDO, + {_sSI: _cUCMDRo, _smith: None}, + (_cMDA,), + ((CUSTOM_MODEL_DEPLOYMENT_ARN, 1),), +) + +UPDATE_CUSTOM_MODEL_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _UCMD, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "PATCH", + "uri": "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", + } + ) + }, + UPDATE_CUSTOM_MODEL_DEPLOYMENT_INPUT, + UPDATE_CUSTOM_MODEL_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_PACKAGE_ARN: StaticSchema = (3, n0, _MPA, 0) + +MODEL_PACKAGE_ARN_DATA_SOURCE: StaticSchema = ( + 18, + n0, + _MPADS, + 0, + (_mPA,), + ((MODEL_PACKAGE_ARN, 1),), +) + +CUSTOM_MODEL_DATA_SOURCE: StaticSchema = ( + 19, + n0, + _CMDSus, + 0, + (_mPADS,), + ((MODEL_PACKAGE_ARN_DATA_SOURCE, 0),), +) + +CUSTOM_MODEL_NAME: StaticSchema = (3, n0, _CMN, 0) + +S3_DATA_SOURCE: StaticSchema = (18, n0, _SDS, 0, (_sU,), ((lambda: schemas.S3_URI, 1),)) + +MODEL_DATA_SOURCE: StaticSchema = (19, n0, _MDS, 0, (_sDS,), ((S3_DATA_SOURCE, 0),)) + +CREATE_CUSTOM_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _CCMI, + {_sSI: _cCCMR, _smit: None}, + (_mN, _mSC, _cMDS, _mKKA, _rA, _mTo, _cRT), + ( + (CUSTOM_MODEL_NAME, 1), + (MODEL_DATA_SOURCE, 0), + (CUSTOM_MODEL_DATA_SOURCE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + ), +) + +CREATE_CUSTOM_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _CCMO, + {_sSI: _cCCMRo, _smith: None}, + (_mA,), + ((MODEL_ARN, 1),), +) + +CREATE_CUSTOM_MODEL: StaticOperationSchema = ( + 23, + n0, + _CCM, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/custom-models/create-custom-model"} + ) + }, + CREATE_CUSTOM_MODEL_INPUT, + CREATE_CUSTOM_MODEL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_IDENTIFIER: StaticSchema = (3, n0, _MI, 0) + +DELETE_CUSTOM_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _DCMI, + {_sSI: _cDCMR, _smit: None}, + (_mIo,), + ((MODEL_IDENTIFIER, 9),), +) + +DELETE_CUSTOM_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _DCMO, + {_sSI: _cDCMRo, _smith: None}, +) + +DELETE_CUSTOM_MODEL: StaticOperationSchema = ( + 23, + n0, + _DCM, + { + _smithy: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/custom-models/{modelIdentifier}"} + ) + }, + DELETE_CUSTOM_MODEL_INPUT, + DELETE_CUSTOM_MODEL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_CUSTOM_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _GCMI, + {_sSI: _cGCMR, _smit: None}, + (_mIo,), + ((MODEL_IDENTIFIER, 9),), +) + +GET_CUSTOM_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _GCMO, + {_sSI: _cGCMRo, _smith: None}, + ( + _mA, + _mN, + _jN, + _jA, + _bMA, + _cTu, + _mKKA, + _hP, + _tDC, + _vDC, + _oDC, + _tM, + _vM, + _cTr, + _cC, + _mS, + _fM, + ), + ( + (MODEL_ARN, 1), + (CUSTOM_MODEL_NAME, 1), + (lambda: JOB_NAME, 0), + (lambda: MODEL_CUSTOMIZATION_JOB_ARN, 0), + (MODEL_ARN, 0), + (lambda: CUSTOMIZATION_TYPE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: MODEL_CUSTOMIZATION_HYPER_PARAMETERS, 0), + (lambda: TRAINING_DATA_CONFIG, 0), + (lambda: VALIDATION_DATA_CONFIG, 0), + (lambda: OUTPUT_DATA_CONFIG, 0), + (lambda: TRAINING_METRICS, 0), + (lambda: VALIDATION_METRICS, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: CUSTOMIZATION_CONFIG, 0), + (lambda: MODEL_STATUS, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + ), +) + +GET_CUSTOM_MODEL: StaticOperationSchema = ( + 23, + n0, + _GCM, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/custom-models/{modelIdentifier}"} + ) + }, + GET_CUSTOM_MODEL_INPUT, + GET_CUSTOM_MODEL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TEACHER_MODEL_IDENTIFIER: StaticSchema = (3, n0, _TMI, 0) + +TEACHER_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _TMC, + 0, + (_tMI, _mRLFI), + ((TEACHER_MODEL_IDENTIFIER, 1), (7, 0)), +) + +DISTILLATION_CONFIG: StaticSchema = ( + 18, + n0, + _DC, + 0, + (_tMC,), + ((TEACHER_MODEL_CONFIG, 1),), +) + +LAMBDA_ARN: StaticSchema = (3, n0, _LA, 0) + +LAMBDA_GRADER_CONFIG: StaticSchema = (18, n0, _LGC, 0, (_lA,), ((LAMBDA_ARN, 1),)) + +GRADER_CONFIG: StaticSchema = (19, n0, _GC, 0, (_lG,), ((LAMBDA_GRADER_CONFIG, 0),)) + +RFT_BATCH_SIZE: StaticSchema = (7, n0, _RFTBS, 0) + +EPOCH_COUNT: StaticSchema = (7, n0, _ECp, 0) + +RFT_EVAL_INTERVAL: StaticSchema = (7, n0, _RFTEI, 0) + +RFT_INFERENCE_MAX_TOKENS: StaticSchema = (7, n0, _RFTIMT, 0) + +RFT_LEARNING_RATE: StaticSchema = (9, n0, _RFTLR, 0) + +RFT_MAX_PROMPT_LENGTH: StaticSchema = (7, n0, _RFTMPL, 0) + +REASONING_EFFORT: StaticSchema = ( + 14, + n0, + _RE, + 0, + (_LOW, _MEDIUM, _HIGH), + ((-1, {_sV: _low}), (-1, {_sV: _med}), (-1, {_sV: _h})), +) + +RFT_TRAINING_SAMPLE_PER_PROMPT: StaticSchema = (7, n0, _RFTTSPP, 0) + +RFT_HYPER_PARAMETERS: StaticSchema = ( + 18, + n0, + _RFTHP, + 0, + (_eCp, _bSa, _lR, _mPL, _tSPP, _iMT, _rE, _eIv), + ( + (EPOCH_COUNT, 0), + (RFT_BATCH_SIZE, 0), + (RFT_LEARNING_RATE, 0), + (RFT_MAX_PROMPT_LENGTH, 0), + (RFT_TRAINING_SAMPLE_PER_PROMPT, 0), + (RFT_INFERENCE_MAX_TOKENS, 0), + (REASONING_EFFORT, 0), + (RFT_EVAL_INTERVAL, 0), + ), +) + +RFT_CONFIG: StaticSchema = ( + 18, + n0, + _RFTC, + 0, + (_gCr, _hP), + ((GRADER_CONFIG, 0), (RFT_HYPER_PARAMETERS, 0)), +) + +CUSTOMIZATION_CONFIG: StaticSchema = ( + 19, + n0, + _CC, + 0, + (_dCi, _rCf), + ((DISTILLATION_CONFIG, 0), (RFT_CONFIG, 0)), +) + +CUSTOMIZATION_TYPE: StaticSchema = ( + 14, + n0, + _CTu, + 0, + (_FT, _CPT, _DISTILLATION, _RFT, _IMPORTED), + ( + (-1, {_sV: _FT}), + (-1, {_sV: _CPT}), + (-1, {_sV: _DISTILLATION}), + (-1, {_sV: _RFT}), + (-1, {_sV: _IMPORTED}), + ), +) + +MODEL_CUSTOMIZATION_HYPER_PARAMETERS: StaticSchema = ( + 17, + n0, + _MCHP, + 0, + (_k, _v), + ((3, 0), (3, 0)), +) + +MODEL_CUSTOMIZATION_JOB_ARN: StaticSchema = (3, n0, _MCJA, 0) + +JOB_NAME: StaticSchema = (3, n0, _JN, 0) + +MODEL_STATUS: StaticSchema = ( + 14, + n0, + _MS, + 0, + (_ACTIVE, _CREATING, _FAILED), + ((-1, {_sV: _Ac}), (-1, {_sV: _Cr}), (-1, {_sV: _F})), +) + +OUTPUT_DATA_CONFIG: StaticSchema = ( + 18, + n0, + _ODC, + 0, + (_sU,), + ((lambda: schemas.S3_URI, 1),), +) + +INVOCATION_LOG_SOURCE: StaticSchema = ( + 19, + n0, + _ILS, + 0, + (_sU,), + ((lambda: schemas.S3_URI, 0),), +) + +REQUEST_METADATA_MAP: StaticSchema = (17, n0, _RMM, 4, (_k, _v), ((3, 0), (3, 0))) + +REQUEST_METADATA_BASE_FILTERS: StaticSchema = ( + 18, + n0, + _RMBF, + 0, + (_eq, _nE), + ((REQUEST_METADATA_MAP, 0), (REQUEST_METADATA_MAP, 0)), +) + +REQUEST_METADATA_FILTERS_LIST: StaticSchema = ( + 16, + n0, + _RMFL, + 0, + (_me,), + ((REQUEST_METADATA_BASE_FILTERS, 0),), +) + +REQUEST_METADATA_FILTERS: StaticSchema = ( + 19, + n0, + _RMF, + 0, + (_eq, _nE, _aA, _oA), + ( + (REQUEST_METADATA_MAP, 0), + (REQUEST_METADATA_MAP, 0), + (REQUEST_METADATA_FILTERS_LIST, 0), + (REQUEST_METADATA_FILTERS_LIST, 0), + ), +) + +USE_PROMPT_RESPONSE: StaticSchema = (2, n0, _UPR, {_s: False}) + +INVOCATION_LOGS_CONFIG: StaticSchema = ( + 18, + n0, + _ILC, + 0, + (_uPR, _iLS, _rMF), + ( + (USE_PROMPT_RESPONSE, {_s: False}), + (INVOCATION_LOG_SOURCE, 1), + (REQUEST_METADATA_FILTERS, 0), + ), +) + +TRAINING_DATA_CONFIG: StaticSchema = ( + 18, + n0, + _TDC, + 0, + (_sU, _iLC), + ((lambda: schemas.S3_URI, 0), (INVOCATION_LOGS_CONFIG, 0)), +) + +METRIC_FLOAT: StaticSchema = (9, n0, _MF, 0) + +TRAINING_METRICS: StaticSchema = (18, n0, _TM, 0, (_tL,), ((METRIC_FLOAT, 0),)) + +VALIDATOR: StaticSchema = (18, n0, _V, 0, (_sU,), ((lambda: schemas.S3_URI, 1),)) + +VALIDATORS: StaticSchema = (16, n0, _Va, 0, (_me,), ((VALIDATOR, 0),)) + +VALIDATION_DATA_CONFIG: StaticSchema = (18, n0, _VDC, 0, (_vali,), ((VALIDATORS, 1),)) + +VALIDATOR_METRIC: StaticSchema = (18, n0, _VM, 0, (_vL,), ((METRIC_FLOAT, 0),)) + +VALIDATION_METRICS: StaticSchema = (16, n0, _VMa, 0, (_me,), ((VALIDATOR_METRIC, 0),)) + +FOUNDATION_MODEL_ARN: StaticSchema = (3, n0, _FMA, 0) + +LIST_CUSTOM_MODELS_INPUT: StaticSchema = ( + 18, + n0, + _LCMI, + {_sSI: _cLCMR, _smit: None}, + (_cTB, _cTA, _nC, _bMAE, _fMAE, _mR, _nT, _sB, _sO, _iO, _mS), + ( + (lambda: schemas.TIMESTAMP, {_sQ: _cTB}), + (lambda: schemas.TIMESTAMP, {_sQ: _cTA}), + (CUSTOM_MODEL_NAME, {_sQ: _nC}), + (MODEL_ARN, {_sQ: _bMAE}), + (FOUNDATION_MODEL_ARN, {_sQ: _fMAE}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.SORT_MODELS_BY, {_sQ: _sB}), + (lambda: schemas.SORT_ORDER, {_sQ: _sO}), + (2, {_sQ: _iO}), + (MODEL_STATUS, {_sQ: _mS}), + ), +) + +LIST_CUSTOM_MODELS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCMO, + {_sSI: _cLCMRo, _smith: None}, + (_nT, _mSo), + ((lambda: schemas.PAGINATION_TOKEN, 0), (lambda: CUSTOM_MODEL_SUMMARY_LIST, 0)), +) + +LIST_CUSTOM_MODELS: StaticOperationSchema = ( + 23, + n0, + _LCM, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/custom-models"} + ) + }, + LIST_CUSTOM_MODELS_INPUT, + LIST_CUSTOM_MODELS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_NAME: StaticSchema = (3, n0, _MN, 0) + +CUSTOM_MODEL_SUMMARY: StaticSchema = ( + 18, + n0, + _CMS, + 0, + (_mA, _mN, _cTr, _bMA, _bMN, _cTu, _oAI, _mS), + ( + (CUSTOM_MODEL_ARN, 1), + (CUSTOM_MODEL_NAME, 1), + (lambda: schemas.TIMESTAMP, 1), + (MODEL_ARN, 1), + (MODEL_NAME, 1), + (CUSTOMIZATION_TYPE, 0), + (lambda: schemas.ACCOUNT_ID, 0), + (MODEL_STATUS, 0), + ), +) + +CUSTOM_MODEL_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CMSL, + 0, + (_me,), + ((CUSTOM_MODEL_SUMMARY, 0),), +) + +GET_ACCOUNT_DATA_RETENTION_INPUT: StaticSchema = ( + 18, + n0, + _GADRI, + {_sSI: _cGADRR, _smit: None}, +) + +GET_ACCOUNT_DATA_RETENTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GADRO, + {_sSI: _cGADRRo, _smith: None}, + (_mo, _uA), + ((lambda: DATA_RETENTION_MODE, 1), (lambda: schemas.TIMESTAMP, 0)), +) + +GET_ACCOUNT_DATA_RETENTION: StaticOperationSchema = ( + 23, + n0, + _GADR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/data-retention"} + ) + }, + GET_ACCOUNT_DATA_RETENTION_INPUT, + GET_ACCOUNT_DATA_RETENTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_RETENTION_MODE: StaticSchema = ( + 14, + n0, + _DRM, + 0, + (_DEFAULT, _NONE, _AR, _PDS, _INHERIT), + ( + (-1, {_sV: _de}), + (-1, {_sV: _no}), + (-1, {_sV: _ar}), + (-1, {_sV: _pds}), + (-1, {_sV: _inh}), + ), +) + +PUT_ACCOUNT_DATA_RETENTION_INPUT: StaticSchema = ( + 18, + n0, + _PADRI, + {_sSI: _cPADRR, _smit: None}, + (_mo,), + ((DATA_RETENTION_MODE, 1),), +) + +PUT_ACCOUNT_DATA_RETENTION_OUTPUT: StaticSchema = ( + 18, + n0, + _PADRO, + {_sSI: _cPADRRo, _smith: None}, + (_mo, _uA), + ((DATA_RETENTION_MODE, 1), (lambda: schemas.TIMESTAMP, 0)), +) + +PUT_ACCOUNT_DATA_RETENTION: StaticOperationSchema = ( + 23, + n0, + _PADR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "PUT", "uri": "/data-retention"} + ) + }, + PUT_ACCOUNT_DATA_RETENTION_INPUT, + PUT_ACCOUNT_DATA_RETENTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DEGCI, + {_sSI: _cDEGCR, _smit: None}, + (_cI,), + ((lambda: schemas.ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID, 9),), +) + +DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DEGCO, + {_sSI: _cDEGCRo, _smith: None}, +) + +DELETE_ENFORCED_GUARDRAIL_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DEGC, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/enforcedGuardrailsConfiguration/{configId}", + } + ) + }, + DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT, + DELETE_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_ENFORCED_GUARDRAILS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _LEGCI, + {_sSI: _cLEGCR, _smit: None}, + (_nT,), + ((lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}),), +) + +LIST_ENFORCED_GUARDRAILS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _LEGCO, + {_sSI: _cLEGCRo, _smith: None}, + (_gCu, _nT), + ( + (lambda: schemas.ACCOUNT_ENFORCED_GUARDRAILS_OUTPUT_CONFIGURATION, 1), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +LIST_ENFORCED_GUARDRAILS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _LEGC, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/enforcedGuardrailsConfiguration"} + ) + }, + LIST_ENFORCED_GUARDRAILS_CONFIGURATION_INPUT, + LIST_ENFORCED_GUARDRAILS_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PUT_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PEGCI, + {_sSI: _cPEGCR, _smit: None}, + (_cI, _gIC), + ( + (lambda: schemas.ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID, 0), + (lambda: schemas.ACCOUNT_ENFORCED_GUARDRAIL_INFERENCE_INPUT_CONFIGURATION, 1), + ), +) + +PUT_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PEGCO, + {_sSI: _cPEGCRo, _smith: None}, + (_cI, _uA, _uB), + ( + (lambda: schemas.ACCOUNT_ENFORCED_GUARDRAIL_CONFIGURATION_ID, 0), + (lambda: schemas.TIMESTAMP, 0), + (3, 0), + ), +) + +PUT_ENFORCED_GUARDRAIL_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PEGC, + { + _smithy: MappingProxyType( + {"code": 200, "method": "PUT", "uri": "/enforcedGuardrailsConfiguration"} + ) + }, + PUT_ENFORCED_GUARDRAIL_CONFIGURATION_INPUT, + PUT_ENFORCED_GUARDRAIL_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EVALUATION_JOB_IDENTIFIER: StaticSchema = (3, n0, _EJI, 4) + +EVALUATION_JOB_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _EJIv, + 0, + (_me,), + ((EVALUATION_JOB_IDENTIFIER, 0),), +) + +BATCH_DELETE_EVALUATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _BDEJI, + {_sSI: _cBDEJR, _smit: None}, + (_jI,), + ((EVALUATION_JOB_IDENTIFIERS, 1),), +) + +BATCH_DELETE_EVALUATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _BDEJO, + {_sSI: _cBDEJRo, _smith: None}, + (_e, _eJ), + ( + (lambda: BATCH_DELETE_EVALUATION_JOB_ERRORS, 1), + (lambda: BATCH_DELETE_EVALUATION_JOB_ITEMS, 1), + ), +) + +BATCH_DELETE_EVALUATION_JOB: StaticOperationSchema = ( + 23, + n0, + _BDEJ, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/evaluation-jobs/batch-delete"} + ) + }, + BATCH_DELETE_EVALUATION_JOB_INPUT, + BATCH_DELETE_EVALUATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BATCH_DELETE_EVALUATION_JOB_ERROR: StaticSchema = ( + 18, + n0, + _BDEJE, + 0, + (_jIo, _co, _m), + ((EVALUATION_JOB_IDENTIFIER, 1), (3, 1), (3, 0)), +) + +BATCH_DELETE_EVALUATION_JOB_ERRORS: StaticSchema = ( + 16, + n0, + _BDEJEa, + 0, + (_me,), + ((BATCH_DELETE_EVALUATION_JOB_ERROR, 0),), +) + +EVALUATION_JOB_STATUS: StaticSchema = ( + 14, + n0, + _EJS, + 0, + (_IP, _COMPLETED, _FAILED, _STOPPING, _STOPPED, _DELETING), + ( + (-1, {_sV: _IPn}), + (-1, {_sV: _C}), + (-1, {_sV: _F}), + (-1, {_sV: _S}), + (-1, {_sV: _St}), + (-1, {_sV: _D}), + ), +) + +BATCH_DELETE_EVALUATION_JOB_ITEM: StaticSchema = ( + 18, + n0, + _BDEJIa, + 0, + (_jIo, _jS), + ((EVALUATION_JOB_IDENTIFIER, 1), (EVALUATION_JOB_STATUS, 1)), +) + +BATCH_DELETE_EVALUATION_JOB_ITEMS: StaticSchema = ( + 16, + n0, + _BDEJIat, + 0, + (_me,), + ((BATCH_DELETE_EVALUATION_JOB_ITEM, 0),), +) + +APPLICATION_TYPE: StaticSchema = ( + 14, + n0, + _ATp, + 0, + (_ME_, _RE_), + ((-1, {_sV: _MEo}), (-1, {_sV: _REa})), +) + +CUSTOM_METRIC_INSTRUCTIONS: StaticSchema = (3, n0, _CMI, 0) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_5.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_5.py new file mode 100644 index 000000000..782da8d9e --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_5.py @@ -0,0 +1,1289 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrock" +_s = "smithy.api#default" +_me = "member" +_smi = "smithy.api#required" +_SELECTIVE = "SELECTIVE" +_sV = "smithy.api#enumValue" +_gV = "guardrailVersion" +_gIu = "guardrailId" +_k = "key" +_v = "value" +_sU = "s3Uri" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_jIo = "jobIdentifier" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_mT = "maxTokens" +_t = "temperature" +_tP = "topP" +_sS = "stopSequences" +_iC = "inferenceConfig" +_aMRF = "additionalModelRequestFields" +_jN = "jobName" +_jD = "jobDescription" +_sT = "smithy.api#idempotencyToken" +_jA = "jobArn" +_sL = "smithy.api#httpLabel" +_cTr = "creationTime" +_lMT = "lastModifiedTime" +_mR = "maxResults" +_sQ = "smithy.api#httpQuery" +_nT = "nextToken" +_sB = "sortBy" +_sO = "sortOrder" +_jSo = "jobSummaries" +_st = "status" +_smithya = "smithy.api#sensitive" +_d = "description" +_n = "name" +_ty = "type" +_cRT = "clientRequestToken" +_mA = "modelArn" +_nC = "nameContains" +_sEt = "statusEquals" +_rA = "roleArn" +_mIo = "modelIdentifier" +_oDC = "outputDataConfig" +_cTB = "creationTimeBefore" +_cTA = "creationTimeAfter" +_MNe = "MetricName" +_RSID = "RatingScaleItemDefinition" +_RSIV = "RatingScaleItemValue" +_sVt = "stringValue" +_fV = "floatValue" +_RSI = "RatingScaleItem" +_def = "definition" +_RS = "RatingScale" +_CMD = "CustomMetricDefinition" +_ins = "instructions" +_rS = "ratingScale" +_AECMS = "AutomatedEvaluationCustomMetricSource" +_cMD = "customMetricDefinition" +_AECM = "AutomatedEvaluationCustomMetrics" +_EMIv = "EvaluatorModelIdentifier" +_CMBEM = "CustomMetricBedrockEvaluatorModel" +_CMBEMu = "CustomMetricBedrockEvaluatorModels" +_CMEMC = "CustomMetricEvaluatorModelConfig" +_bEM = "bedrockEvaluatorModels" +_AECMC = "AutomatedEvaluationCustomMetricConfig" +_cM = "customMetrics" +_eMC = "evaluatorModelConfig" +_EDL = "EvaluationDatasetLocation" +_EDN = "EvaluationDatasetName" +_ED = "EvaluationDataset" +_dL = "datasetLocation" +_EMN = "EvaluationMetricName" +_EMNv = "EvaluationMetricNames" +_ETT = "EvaluationTaskType" +_SUMMARIZATION = "SUMMARIZATION" +_Su = "Summarization" +_CLASSIFICATION = "CLASSIFICATION" +_Cl = "Classification" +_QAA = "QUESTION_AND_ANSWER" +_QAAu = "QuestionAndAnswer" +_GENERATION = "GENERATION" +_G = "Generation" +_CUSTOM = "CUSTOM" +_Cu = "Custom" +_EDMC = "EvaluationDatasetMetricConfig" +_tT = "taskType" +_da = "dataset" +_mNe = "metricNames" +_EDMCv = "EvaluationDatasetMetricConfigs" +_BEM = "BedrockEvaluatorModel" +_BEMe = "BedrockEvaluatorModels" +_EMC = "EvaluatorModelConfig" +_AEC = "AutomatedEvaluationConfig" +_dMC = "datasetMetricConfigs" +_cMC = "customMetricConfig" +_EMD = "EvaluationMetricDescription" +_ERM = "EvaluationRatingMethod" +_HECM = "HumanEvaluationCustomMetric" +_rM = "ratingMethod" +_HECMu = "HumanEvaluationCustomMetrics" +_SMFDA = "SageMakerFlowDefinitionArn" +_HTI = "HumanTaskInstructions" +_HWC = "HumanWorkflowConfig" +_fDA = "flowDefinitionArn" +_HEC = "HumanEvaluationConfig" +_hWC = "humanWorkflowConfig" +_ECv = "EvaluationConfig" +_au = "automated" +_hu = "human" +_EMIP = "EvaluationModelInferenceParams" +_EBMI = "EvaluationBedrockModelIdentifier" +_PCL = "PerformanceConfigLatency" +_STANDARD = "STANDARD" +_stan = "standard" +_OPTIMIZED = "OPTIMIZED" +_opt = "optimized" +_PCe = "PerformanceConfiguration" +_la = "latency" +_EBM = "EvaluationBedrockModel" +_iP = "inferenceParams" +_v__ = "{}" +_pC = "performanceConfig" +_EPISI = "EvaluationPrecomputedInferenceSourceIdentifier" +_EPIS = "EvaluationPrecomputedInferenceSource" +_iSI = "inferenceSourceIdentifier" +_EMCv = "EvaluationModelConfig" +_bM = "bedrockModel" +_pIS = "precomputedInferenceSource" +_EMCva = "EvaluationModelConfigs" +_GCu = "GuardrailConfiguration" +_MT = "MaxTokens" +_RAGSS = "RAGStopSequences" +_Te = "Temperature" +_TP = "TopP" +_TIC = "TextInferenceConfig" +_KIC = "KbInferenceConfig" +_tIC = "textInferenceConfig" +_TPT = "TextPromptTemplate" +_PTr = "PromptTemplate" +_tPT = "textPromptTemplate" +_ESGC = "ExternalSourcesGenerationConfiguration" +_pT = "promptTemplate" +_gCua = "guardrailConfiguration" +_kIC = "kbInferenceConfig" +_BMA = "BedrockModelArn" +_CTo = "ContentType" +_BCB = "ByteContentBlob" +_I = "Identifier" +_BCD = "ByteContentDoc" +_id = "identifier" +_cTon = "contentType" +_dat = "data" +_kBSU = "kBS3Uri" +_SOD = "S3ObjectDoc" +_u = "uri" +_EST = "ExternalSourceType" +_S_ = "S3" +_BC = "BYTE_CONTENT" +_ES = "ExternalSource" +_sTo = "sourceType" +_sLo = "s3Location" +_bC = "byteContent" +_ESx = "ExternalSources" +_ESRAGC = "ExternalSourcesRetrieveAndGenerateConfiguration" +_so = "sources" +_gCe = "generationConfiguration" +_GCe = "GenerationConfiguration" +_KBI = "KnowledgeBaseId" +_QTT = "QueryTransformationType" +_QD = "QUERY_DECOMPOSITION" +_QTC = "QueryTransformationConfiguration" +_OC = "OrchestrationConfiguration" +_qTC = "queryTransformationConfiguration" +_FK = "FilterKey" +_FV = "FilterValue" +_FA = "FilterAttribute" +_ATt = "AttributeType" +_STRING = "STRING" +_NUMBER = "NUMBER" +_BOOLEAN = "BOOLEAN" +_SL = "STRING_LIST" +_MAS = "MetadataAttributeSchema" +_MASL = "MetadataAttributeSchemaList" +_IFC = "ImplicitFilterConfiguration" +_mAe = "metadataAttributes" +_ST = "SearchType" +_HYBRID = "HYBRID" +_SEMANTIC = "SEMANTIC" +_RMSM = "RerankingMetadataSelectionMode" +_ALL = "ALL" +_FFR = "FieldForReranking" +_fN = "fieldName" +_FFRi = "FieldsForReranking" +_RMSMC = "RerankingMetadataSelectiveModeConfiguration" +_fTI = "fieldsToInclude" +_fTE = "fieldsToExclude" +_MCFR = "MetadataConfigurationForReranking" +_sMe = "selectionMode" +_sMC = "selectiveModeConfiguration" +_BRMA = "BedrockRerankingModelArn" +_VSBRMC = "VectorSearchBedrockRerankingModelConfiguration" +_VSBRC = "VectorSearchBedrockRerankingConfiguration" +_mCo = "modelConfiguration" +_nORR = "numberOfRerankedResults" +_mCe = "metadataConfiguration" +_VSRCT = "VectorSearchRerankingConfigurationType" +_BRM = "BEDROCK_RERANKING_MODEL" +_VSRC = "VectorSearchRerankingConfiguration" +_bRC = "bedrockRerankingConfiguration" +_RAGT = "RetrieveAndGenerateType" +_KB = "KNOWLEDGE_BASE" +_ES_ = "EXTERNAL_SOURCES" +_EPRSI = "EvaluationPrecomputedRagSourceIdentifier" +_EPRAGSC = "EvaluationPrecomputedRetrieveAndGenerateSourceConfig" +_rSI = "ragSourceIdentifier" +_EPRSC = "EvaluationPrecomputedRetrieveSourceConfig" +_EPRSCv = "EvaluationPrecomputedRagSourceConfig" +_rSC = "retrieveSourceConfig" +_rAGSC = "retrieveAndGenerateSourceConfig" +_EJD = "EvaluationJobDescription" +_EJN = "EvaluationJobName" +_EODC = "EvaluationOutputDataConfig" +_EJA = "EvaluationJobArn" +_CEJO = "CreateEvaluationJobOutput" +_cCEJR = "com.amazonaws.bedrock#CreateEvaluationJobResponse" +_GEJI = "GetEvaluationJobInput" +_cGEJR = "com.amazonaws.bedrock#GetEvaluationJobRequest" +_EMr = "ErrorMessages" +_EJT = "EvaluationJobType" +_HUMAN = "HUMAN" +_H = "Human" +_AUTOMATED = "AUTOMATED" +_Au = "Automated" +_LEJI = "ListEvaluationJobsInput" +_cLEJR = "com.amazonaws.bedrock#ListEvaluationJobsRequest" +_aTE = "applicationTypeEquals" +_EMIva = "EvaluatorModelIdentifiers" +_ETTv = "EvaluationTaskTypes" +_EBMIv = "EvaluationBedrockModelIdentifiers" +_EPISIv = "EvaluationPrecomputedInferenceSourceIdentifiers" +_EMCS = "EvaluationModelConfigSummary" +_bMI = "bedrockModelIdentifiers" +_pISI = "precomputedInferenceSourceIdentifiers" +_EBKBI = "EvaluationBedrockKnowledgeBaseIdentifiers" +_EPRSIv = "EvaluationPrecomputedRagSourceIdentifiers" +_ERCS = "EvaluationRagConfigSummary" +_bKBI = "bedrockKnowledgeBaseIdentifiers" +_pRSI = "precomputedRagSourceIdentifiers" +_EICS = "EvaluationInferenceConfigSummary" +_mCS = "modelConfigSummary" +_rCS = "ragConfigSummary" +_ESv = "EvaluationSummary" +_jT = "jobType" +_eTT = "evaluationTaskTypes" +_mIod = "modelIdentifiers" +_rIa = "ragIdentifiers" +_eMI = "evaluatorModelIdentifiers" +_cMEMI = "customMetricsEvaluatorModelIdentifiers" +_iCS = "inferenceConfigSummary" +_aTp = "applicationType" +_ESva = "EvaluationSummaries" +_LEJO = "ListEvaluationJobsOutput" +_cLEJRo = "com.amazonaws.bedrock#ListEvaluationJobsResponse" +_LEJ = "ListEvaluationJobs" +_SEJI = "StopEvaluationJobInput" +_cSEJR = "com.amazonaws.bedrock#StopEvaluationJobRequest" +_SEJO = "StopEvaluationJobOutput" +_cSEJRo = "com.amazonaws.bedrock#StopEvaluationJobResponse" +_SEJ = "StopEvaluationJob" +_jTo = "jobTags" +_CEJI = "CreateEvaluationJobInput" +_cCEJRo = "com.amazonaws.bedrock#CreateEvaluationJobRequest" +_cEKI = "customerEncryptionKeyId" +_eCv = "evaluationConfig" +_GEJO = "GetEvaluationJobOutput" +_cGEJRo = "com.amazonaws.bedrock#GetEvaluationJobResponse" +_fMai = "failureMessages" +_CEJ = "CreateEvaluationJob" +_GEJ = "GetEvaluationJob" + +METRIC_NAME: StaticSchema = (3, n0, _MNe, 4) + +RATING_SCALE_ITEM_DEFINITION: StaticSchema = (3, n0, _RSID, 0) + +RATING_SCALE_ITEM_VALUE: StaticSchema = ( + 19, + n0, + _RSIV, + 0, + (_sVt, _fV), + ((3, 0), (9, 0)), +) + +RATING_SCALE_ITEM: StaticSchema = ( + 18, + n0, + _RSI, + 0, + (_def, _v), + ((RATING_SCALE_ITEM_DEFINITION, 1), (RATING_SCALE_ITEM_VALUE, 1)), +) + +RATING_SCALE: StaticSchema = (16, n0, _RS, 0, (_me,), ((RATING_SCALE_ITEM, 0),)) + +CUSTOM_METRIC_DEFINITION: StaticSchema = ( + 18, + n0, + _CMD, + 4, + (_n, _ins, _rS), + ( + (METRIC_NAME, 1), + (lambda: schemas.CUSTOM_METRIC_INSTRUCTIONS, 1), + (RATING_SCALE, 0), + ), +) + +AUTOMATED_EVALUATION_CUSTOM_METRIC_SOURCE: StaticSchema = ( + 19, + n0, + _AECMS, + 0, + (_cMD,), + ((CUSTOM_METRIC_DEFINITION, 0),), +) + +AUTOMATED_EVALUATION_CUSTOM_METRICS: StaticSchema = ( + 16, + n0, + _AECM, + 0, + (_me,), + ((AUTOMATED_EVALUATION_CUSTOM_METRIC_SOURCE, 0),), +) + +EVALUATOR_MODEL_IDENTIFIER: StaticSchema = (3, n0, _EMIv, 0) + +CUSTOM_METRIC_BEDROCK_EVALUATOR_MODEL: StaticSchema = ( + 18, + n0, + _CMBEM, + 0, + (_mIo,), + ((EVALUATOR_MODEL_IDENTIFIER, 1),), +) + +CUSTOM_METRIC_BEDROCK_EVALUATOR_MODELS: StaticSchema = ( + 16, + n0, + _CMBEMu, + 0, + (_me,), + ((CUSTOM_METRIC_BEDROCK_EVALUATOR_MODEL, 0),), +) + +CUSTOM_METRIC_EVALUATOR_MODEL_CONFIG: StaticSchema = ( + 18, + n0, + _CMEMC, + 0, + (_bEM,), + ((CUSTOM_METRIC_BEDROCK_EVALUATOR_MODELS, 1),), +) + +AUTOMATED_EVALUATION_CUSTOM_METRIC_CONFIG: StaticSchema = ( + 18, + n0, + _AECMC, + 0, + (_cM, _eMC), + ( + (AUTOMATED_EVALUATION_CUSTOM_METRICS, 1), + (CUSTOM_METRIC_EVALUATOR_MODEL_CONFIG, 1), + ), +) + +EVALUATION_DATASET_LOCATION: StaticSchema = ( + 19, + n0, + _EDL, + 0, + (_sU,), + ((lambda: schemas.S3_URI, 0),), +) + +EVALUATION_DATASET_NAME: StaticSchema = (3, n0, _EDN, 4) + +EVALUATION_DATASET: StaticSchema = ( + 18, + n0, + _ED, + 0, + (_n, _dL), + ((EVALUATION_DATASET_NAME, 1), (EVALUATION_DATASET_LOCATION, 0)), +) + +EVALUATION_METRIC_NAME: StaticSchema = (3, n0, _EMN, 4) + +EVALUATION_METRIC_NAMES: StaticSchema = ( + 16, + n0, + _EMNv, + 0, + (_me,), + ((EVALUATION_METRIC_NAME, 0),), +) + +EVALUATION_TASK_TYPE: StaticSchema = ( + 14, + n0, + _ETT, + 0, + (_SUMMARIZATION, _CLASSIFICATION, _QAA, _GENERATION, _CUSTOM), + ( + (-1, {_sV: _Su}), + (-1, {_sV: _Cl}), + (-1, {_sV: _QAAu}), + (-1, {_sV: _G}), + (-1, {_sV: _Cu}), + ), +) + +EVALUATION_DATASET_METRIC_CONFIG: StaticSchema = ( + 18, + n0, + _EDMC, + 0, + (_tT, _da, _mNe), + ((EVALUATION_TASK_TYPE, 1), (EVALUATION_DATASET, 1), (EVALUATION_METRIC_NAMES, 1)), +) + +EVALUATION_DATASET_METRIC_CONFIGS: StaticSchema = ( + 16, + n0, + _EDMCv, + 0, + (_me,), + ((EVALUATION_DATASET_METRIC_CONFIG, 0),), +) + +BEDROCK_EVALUATOR_MODEL: StaticSchema = ( + 18, + n0, + _BEM, + 0, + (_mIo,), + ((EVALUATOR_MODEL_IDENTIFIER, 1),), +) + +BEDROCK_EVALUATOR_MODELS: StaticSchema = ( + 16, + n0, + _BEMe, + 0, + (_me,), + ((BEDROCK_EVALUATOR_MODEL, 0),), +) + +EVALUATOR_MODEL_CONFIG: StaticSchema = ( + 19, + n0, + _EMC, + 0, + (_bEM,), + ((BEDROCK_EVALUATOR_MODELS, 0),), +) + +AUTOMATED_EVALUATION_CONFIG: StaticSchema = ( + 18, + n0, + _AEC, + 0, + (_dMC, _eMC, _cMC), + ( + (EVALUATION_DATASET_METRIC_CONFIGS, 1), + (EVALUATOR_MODEL_CONFIG, 0), + (AUTOMATED_EVALUATION_CUSTOM_METRIC_CONFIG, 0), + ), +) + +EVALUATION_METRIC_DESCRIPTION: StaticSchema = (3, n0, _EMD, 4) + +EVALUATION_RATING_METHOD: StaticSchema = (3, n0, _ERM, 0) + +HUMAN_EVALUATION_CUSTOM_METRIC: StaticSchema = ( + 18, + n0, + _HECM, + 0, + (_n, _d, _rM), + ( + (EVALUATION_METRIC_NAME, 1), + (EVALUATION_METRIC_DESCRIPTION, 0), + (EVALUATION_RATING_METHOD, 1), + ), +) + +HUMAN_EVALUATION_CUSTOM_METRICS: StaticSchema = ( + 16, + n0, + _HECMu, + 0, + (_me,), + ((HUMAN_EVALUATION_CUSTOM_METRIC, 0),), +) + +SAGE_MAKER_FLOW_DEFINITION_ARN: StaticSchema = (3, n0, _SMFDA, 0) + +HUMAN_TASK_INSTRUCTIONS: StaticSchema = (3, n0, _HTI, 4) + +HUMAN_WORKFLOW_CONFIG: StaticSchema = ( + 18, + n0, + _HWC, + 0, + (_fDA, _ins), + ((SAGE_MAKER_FLOW_DEFINITION_ARN, 1), (HUMAN_TASK_INSTRUCTIONS, 0)), +) + +HUMAN_EVALUATION_CONFIG: StaticSchema = ( + 18, + n0, + _HEC, + 0, + (_hWC, _cM, _dMC), + ( + (HUMAN_WORKFLOW_CONFIG, 0), + (HUMAN_EVALUATION_CUSTOM_METRICS, 0), + (EVALUATION_DATASET_METRIC_CONFIGS, 1), + ), +) + +EVALUATION_CONFIG: StaticSchema = ( + 19, + n0, + _ECv, + 0, + (_au, _hu), + ((AUTOMATED_EVALUATION_CONFIG, 0), (HUMAN_EVALUATION_CONFIG, 0)), +) + +EVALUATION_MODEL_INFERENCE_PARAMS: StaticSchema = (3, n0, _EMIP, 4) + +EVALUATION_BEDROCK_MODEL_IDENTIFIER: StaticSchema = (3, n0, _EBMI, 0) + +PERFORMANCE_CONFIG_LATENCY: StaticSchema = ( + 14, + n0, + _PCL, + 0, + (_STANDARD, _OPTIMIZED), + ((-1, {_sV: _stan}), (-1, {_sV: _opt})), +) + +PERFORMANCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCe, + 0, + (_la,), + ((PERFORMANCE_CONFIG_LATENCY, 0),), +) + +EVALUATION_BEDROCK_MODEL: StaticSchema = ( + 18, + n0, + _EBM, + 0, + (_mIo, _iP, _pC), + ( + (EVALUATION_BEDROCK_MODEL_IDENTIFIER, 1), + (EVALUATION_MODEL_INFERENCE_PARAMS, {_s: _v__}), + (PERFORMANCE_CONFIGURATION, 0), + ), +) + +EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIER: StaticSchema = (3, n0, _EPISI, 0) + +EVALUATION_PRECOMPUTED_INFERENCE_SOURCE: StaticSchema = ( + 18, + n0, + _EPIS, + 0, + (_iSI,), + ((EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIER, 1),), +) + +EVALUATION_MODEL_CONFIG: StaticSchema = ( + 19, + n0, + _EMCv, + 0, + (_bM, _pIS), + ((EVALUATION_BEDROCK_MODEL, 0), (EVALUATION_PRECOMPUTED_INFERENCE_SOURCE, 0)), +) + +EVALUATION_MODEL_CONFIGS: StaticSchema = ( + 16, + n0, + _EMCva, + 0, + (_me,), + ((EVALUATION_MODEL_CONFIG, 0),), +) + +GUARDRAIL_CONFIGURATION: StaticSchema = (18, n0, _GCu, 0, (_gIu, _gV), ((3, 1), (3, 1))) + +MAX_TOKENS: StaticSchema = (7, n0, _MT, 0) + +RAG_STOP_SEQUENCES: StaticSchema = (16, n0, _RAGSS, 0, (_me,), ((3, 0),)) + +TEMPERATURE: StaticSchema = (9, n0, _Te, 0) + +TOP_P: StaticSchema = (9, n0, _TP, 0) + +TEXT_INFERENCE_CONFIG: StaticSchema = ( + 18, + n0, + _TIC, + 0, + (_t, _tP, _mT, _sS), + ((TEMPERATURE, 0), (TOP_P, 0), (MAX_TOKENS, 0), (RAG_STOP_SEQUENCES, 0)), +) + +KB_INFERENCE_CONFIG: StaticSchema = ( + 18, + n0, + _KIC, + 0, + (_tIC,), + ((TEXT_INFERENCE_CONFIG, 0),), +) + +TEXT_PROMPT_TEMPLATE: StaticSchema = (3, n0, _TPT, 4) + +PROMPT_TEMPLATE: StaticSchema = (18, n0, _PTr, 0, (_tPT,), ((TEXT_PROMPT_TEMPLATE, 0),)) + +EXTERNAL_SOURCES_GENERATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ESGC, + 0, + (_pT, _gCua, _kIC, _aMRF), + ( + (PROMPT_TEMPLATE, 0), + (GUARDRAIL_CONFIGURATION, 0), + (KB_INFERENCE_CONFIG, 0), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + ), +) + +BEDROCK_MODEL_ARN: StaticSchema = (3, n0, _BMA, 0) + +CONTENT_TYPE: StaticSchema = (3, n0, _CTo, 0) + +BYTE_CONTENT_BLOB: StaticSchema = (1, n0, _BCB, 4) + +IDENTIFIER: StaticSchema = (3, n0, _I, 4) + +BYTE_CONTENT_DOC: StaticSchema = ( + 18, + n0, + _BCD, + 0, + (_id, _cTon, _dat), + ((IDENTIFIER, 1), (CONTENT_TYPE, 1), (BYTE_CONTENT_BLOB, 1)), +) + +K_BS3_URI: StaticSchema = (3, n0, _kBSU, 0) + +S3_OBJECT_DOC: StaticSchema = (18, n0, _SOD, 0, (_u,), ((K_BS3_URI, 1),)) + +EXTERNAL_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _EST, + 0, + (_S_, _BC), + ((-1, {_sV: _S_}), (-1, {_sV: _BC})), +) + +EXTERNAL_SOURCE: StaticSchema = ( + 18, + n0, + _ES, + 0, + (_sTo, _sLo, _bC), + ((EXTERNAL_SOURCE_TYPE, 1), (S3_OBJECT_DOC, 0), (BYTE_CONTENT_DOC, 0)), +) + +EXTERNAL_SOURCES: StaticSchema = (16, n0, _ESx, 0, (_me,), ((EXTERNAL_SOURCE, 0),)) + +EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ESRAGC, + 0, + (_mA, _so, _gCe), + ( + (BEDROCK_MODEL_ARN, 1), + (EXTERNAL_SOURCES, 1), + (EXTERNAL_SOURCES_GENERATION_CONFIGURATION, 0), + ), +) + +GENERATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _GCe, + 0, + (_pT, _gCua, _kIC, _aMRF), + ( + (PROMPT_TEMPLATE, 0), + (GUARDRAIL_CONFIGURATION, 0), + (KB_INFERENCE_CONFIG, 0), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + ), +) + +KNOWLEDGE_BASE_ID: StaticSchema = (3, n0, _KBI, 0) + +QUERY_TRANSFORMATION_TYPE: StaticSchema = (14, n0, _QTT, 0, (_QD,), ((-1, {_sV: _QD}),)) + +QUERY_TRANSFORMATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _QTC, + 0, + (_ty,), + ((QUERY_TRANSFORMATION_TYPE, 1),), +) + +ORCHESTRATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OC, + 0, + (_qTC,), + ((QUERY_TRANSFORMATION_CONFIGURATION, 1),), +) + +FILTER_KEY: StaticSchema = (3, n0, _FK, 0) + +FILTER_VALUE: StaticSchema = (13, n0, _FV, 0) + +FILTER_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _FA, + 0, + (_k, _v), + ((FILTER_KEY, 1), (FILTER_VALUE, 1)), +) + +ATTRIBUTE_TYPE: StaticSchema = ( + 14, + n0, + _ATt, + 0, + (_STRING, _NUMBER, _BOOLEAN, _SL), + ( + (-1, {_sV: _STRING}), + (-1, {_sV: _NUMBER}), + (-1, {_sV: _BOOLEAN}), + (-1, {_sV: _SL}), + ), +) + +METADATA_ATTRIBUTE_SCHEMA: StaticSchema = ( + 18, + n0, + _MAS, + 4, + (_k, _ty, _d), + ((3, 1), (ATTRIBUTE_TYPE, 1), (3, 1)), +) + +METADATA_ATTRIBUTE_SCHEMA_LIST: StaticSchema = ( + 16, + n0, + _MASL, + 0, + (_me,), + ((METADATA_ATTRIBUTE_SCHEMA, 0),), +) + +IMPLICIT_FILTER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IFC, + 0, + (_mAe, _mA), + ((METADATA_ATTRIBUTE_SCHEMA_LIST, 1), (BEDROCK_MODEL_ARN, 1)), +) + +SEARCH_TYPE: StaticSchema = ( + 14, + n0, + _ST, + 0, + (_HYBRID, _SEMANTIC), + ((-1, {_sV: _HYBRID}), (-1, {_sV: _SEMANTIC})), +) + +RERANKING_METADATA_SELECTION_MODE: StaticSchema = ( + 14, + n0, + _RMSM, + 0, + (_SELECTIVE, _ALL), + ((-1, {_sV: _SELECTIVE}), (-1, {_sV: _ALL})), +) + +FIELD_FOR_RERANKING: StaticSchema = (18, n0, _FFR, 0, (_fN,), ((3, 1),)) + +FIELDS_FOR_RERANKING: StaticSchema = ( + 16, + n0, + _FFRi, + 4, + (_me,), + ((FIELD_FOR_RERANKING, 0),), +) + +RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _RMSMC, + 0, + (_fTI, _fTE), + ((FIELDS_FOR_RERANKING, 0), (FIELDS_FOR_RERANKING, 0)), +) + +METADATA_CONFIGURATION_FOR_RERANKING: StaticSchema = ( + 18, + n0, + _MCFR, + 0, + (_sMe, _sMC), + ( + (RERANKING_METADATA_SELECTION_MODE, 1), + (RERANKING_METADATA_SELECTIVE_MODE_CONFIGURATION, 0), + ), +) + +BEDROCK_RERANKING_MODEL_ARN: StaticSchema = (3, n0, _BRMA, 0) + +VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSBRMC, + 0, + (_mA, _aMRF), + ( + (BEDROCK_RERANKING_MODEL_ARN, 1), + (lambda: schemas.ADDITIONAL_MODEL_REQUEST_FIELDS, 0), + ), +) + +VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSBRC, + 0, + (_mCo, _nORR, _mCe), + ( + (VECTOR_SEARCH_BEDROCK_RERANKING_MODEL_CONFIGURATION, 1), + (7, 0), + (METADATA_CONFIGURATION_FOR_RERANKING, 0), + ), +) + +VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _VSRCT, + 0, + (_BRM,), + ((-1, {_sV: _BRM}),), +) + +VECTOR_SEARCH_RERANKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VSRC, + 0, + (_ty, _bRC), + ( + (VECTOR_SEARCH_RERANKING_CONFIGURATION_TYPE, 1), + (VECTOR_SEARCH_BEDROCK_RERANKING_CONFIGURATION, 0), + ), +) + +RETRIEVE_AND_GENERATE_TYPE: StaticSchema = ( + 14, + n0, + _RAGT, + 0, + (_KB, _ES_), + ((-1, {_sV: _KB}), (-1, {_sV: _ES_})), +) + +EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIER: StaticSchema = (3, n0, _EPRSI, 0) + +EVALUATION_PRECOMPUTED_RETRIEVE_AND_GENERATE_SOURCE_CONFIG: StaticSchema = ( + 18, + n0, + _EPRAGSC, + 0, + (_rSI,), + ((EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIER, 1),), +) + +EVALUATION_PRECOMPUTED_RETRIEVE_SOURCE_CONFIG: StaticSchema = ( + 18, + n0, + _EPRSC, + 0, + (_rSI,), + ((EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIER, 1),), +) + +EVALUATION_PRECOMPUTED_RAG_SOURCE_CONFIG: StaticSchema = ( + 19, + n0, + _EPRSCv, + 0, + (_rSC, _rAGSC), + ( + (EVALUATION_PRECOMPUTED_RETRIEVE_SOURCE_CONFIG, 0), + (EVALUATION_PRECOMPUTED_RETRIEVE_AND_GENERATE_SOURCE_CONFIG, 0), + ), +) + +EVALUATION_JOB_DESCRIPTION: StaticSchema = (3, n0, _EJD, 4) + +EVALUATION_JOB_NAME: StaticSchema = (3, n0, _EJN, 0) + +EVALUATION_OUTPUT_DATA_CONFIG: StaticSchema = ( + 18, + n0, + _EODC, + 0, + (_sU,), + ((lambda: schemas.S3_URI, 1),), +) + +EVALUATION_JOB_ARN: StaticSchema = (3, n0, _EJA, 0) + +CREATE_EVALUATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _CEJO, + {_sSI: _cCEJR, _smith: None}, + (_jA,), + ((EVALUATION_JOB_ARN, 1),), +) + +CREATE_EVALUATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _CEJI, + {_sSI: _cCEJRo, _smit: None}, + (_jN, _jD, _cRT, _rA, _cEKI, _jTo, _aTp, _eCv, _iC, _oDC), + ( + (EVALUATION_JOB_NAME, 1), + (EVALUATION_JOB_DESCRIPTION, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.APPLICATION_TYPE, 0), + (EVALUATION_CONFIG, 1), + (lambda: schemas.EVALUATION_INFERENCE_CONFIG, 1), + (EVALUATION_OUTPUT_DATA_CONFIG, 1), + ), +) + +CREATE_EVALUATION_JOB: StaticOperationSchema = ( + 23, + n0, + _CEJ, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/evaluation-jobs"} + ) + }, + CREATE_EVALUATION_JOB_INPUT, + CREATE_EVALUATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_EVALUATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _GEJI, + {_sSI: _cGEJR, _smit: None}, + (_jIo,), + ((lambda: schemas.EVALUATION_JOB_IDENTIFIER, 9),), +) + +GET_EVALUATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _GEJO, + {_sSI: _cGEJRo, _smith: None}, + (_jN, _st, _jA, _jD, _rA, _cEKI, _jT, _aTp, _eCv, _iC, _oDC, _cTr, _lMT, _fMai), + ( + (EVALUATION_JOB_NAME, 1), + (lambda: schemas.EVALUATION_JOB_STATUS, 1), + (EVALUATION_JOB_ARN, 1), + (EVALUATION_JOB_DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: EVALUATION_JOB_TYPE, 1), + (lambda: schemas.APPLICATION_TYPE, 0), + (EVALUATION_CONFIG, 1), + (lambda: schemas.EVALUATION_INFERENCE_CONFIG, 1), + (EVALUATION_OUTPUT_DATA_CONFIG, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: ERROR_MESSAGES, 0), + ), +) + +GET_EVALUATION_JOB: StaticOperationSchema = ( + 23, + n0, + _GEJ, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/evaluation-jobs/{jobIdentifier}"} + ) + }, + GET_EVALUATION_JOB_INPUT, + GET_EVALUATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ERROR_MESSAGES: StaticSchema = ( + 16, + n0, + _EMr, + 0, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +EVALUATION_JOB_TYPE: StaticSchema = ( + 14, + n0, + _EJT, + 0, + (_HUMAN, _AUTOMATED), + ((-1, {_sV: _H}), (-1, {_sV: _Au})), +) + +LIST_EVALUATION_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LEJI, + {_sSI: _cLEJR, _smit: None}, + (_cTA, _cTB, _sEt, _aTE, _nC, _mR, _nT, _sB, _sO), + ( + (lambda: schemas.TIMESTAMP, {_sQ: _cTA}), + (lambda: schemas.TIMESTAMP, {_sQ: _cTB}), + (lambda: schemas.EVALUATION_JOB_STATUS, {_sQ: _sEt}), + (lambda: schemas.APPLICATION_TYPE, {_sQ: _aTE}), + (EVALUATION_JOB_NAME, {_sQ: _nC}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.SORT_JOBS_BY, {_sQ: _sB}), + (lambda: schemas.SORT_ORDER, {_sQ: _sO}), + ), +) + +LIST_EVALUATION_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LEJO, + {_sSI: _cLEJRo, _smith: None}, + (_nT, _jSo), + ((lambda: schemas.PAGINATION_TOKEN, 0), (lambda: EVALUATION_SUMMARIES, 0)), +) + +LIST_EVALUATION_JOBS: StaticOperationSchema = ( + 23, + n0, + _LEJ, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/evaluation-jobs"} + ) + }, + LIST_EVALUATION_JOBS_INPUT, + LIST_EVALUATION_JOBS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EVALUATOR_MODEL_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _EMIva, + 0, + (_me,), + ((EVALUATOR_MODEL_IDENTIFIER, 0),), +) + +EVALUATION_TASK_TYPES: StaticSchema = ( + 16, + n0, + _ETTv, + 0, + (_me,), + ((EVALUATION_TASK_TYPE, 0),), +) + +EVALUATION_BEDROCK_MODEL_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _EBMIv, + 0, + (_me,), + ((EVALUATION_BEDROCK_MODEL_IDENTIFIER, 0),), +) + +EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _EPISIv, + 0, + (_me,), + ((EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIER, 0),), +) + +EVALUATION_MODEL_CONFIG_SUMMARY: StaticSchema = ( + 18, + n0, + _EMCS, + 0, + (_bMI, _pISI), + ( + (EVALUATION_BEDROCK_MODEL_IDENTIFIERS, 0), + (EVALUATION_PRECOMPUTED_INFERENCE_SOURCE_IDENTIFIERS, 0), + ), +) + +EVALUATION_BEDROCK_KNOWLEDGE_BASE_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _EBKBI, + 0, + (_me,), + ((KNOWLEDGE_BASE_ID, 0),), +) + +EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _EPRSIv, + 0, + (_me,), + ((EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIER, 0),), +) + +EVALUATION_RAG_CONFIG_SUMMARY: StaticSchema = ( + 18, + n0, + _ERCS, + 0, + (_bKBI, _pRSI), + ( + (EVALUATION_BEDROCK_KNOWLEDGE_BASE_IDENTIFIERS, 0), + (EVALUATION_PRECOMPUTED_RAG_SOURCE_IDENTIFIERS, 0), + ), +) + +EVALUATION_INFERENCE_CONFIG_SUMMARY: StaticSchema = ( + 18, + n0, + _EICS, + 0, + (_mCS, _rCS), + ((EVALUATION_MODEL_CONFIG_SUMMARY, 0), (EVALUATION_RAG_CONFIG_SUMMARY, 0)), +) + +EVALUATION_SUMMARY: StaticSchema = ( + 18, + n0, + _ESv, + 0, + (_jA, _jN, _st, _cTr, _jT, _eTT, _mIod, _rIa, _eMI, _cMEMI, _iCS, _aTp), + ( + (EVALUATION_JOB_ARN, 1), + (EVALUATION_JOB_NAME, 1), + (lambda: schemas.EVALUATION_JOB_STATUS, 1), + (lambda: schemas.TIMESTAMP, 1), + (EVALUATION_JOB_TYPE, 1), + (EVALUATION_TASK_TYPES, 1), + (EVALUATION_BEDROCK_MODEL_IDENTIFIERS, {_s: ()}), + (EVALUATION_BEDROCK_KNOWLEDGE_BASE_IDENTIFIERS, 0), + (EVALUATOR_MODEL_IDENTIFIERS, 0), + (EVALUATOR_MODEL_IDENTIFIERS, 0), + (EVALUATION_INFERENCE_CONFIG_SUMMARY, 0), + (lambda: schemas.APPLICATION_TYPE, 0), + ), +) + +EVALUATION_SUMMARIES: StaticSchema = ( + 16, + n0, + _ESva, + 0, + (_me,), + ((EVALUATION_SUMMARY, 0),), +) + +STOP_EVALUATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SEJI, + {_sSI: _cSEJR, _smit: None}, + (_jIo,), + ((lambda: schemas.EVALUATION_JOB_IDENTIFIER, 9),), +) + +STOP_EVALUATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SEJO, + {_sSI: _cSEJRo, _smith: None}, +) + +STOP_EVALUATION_JOB: StaticOperationSchema = ( + 23, + n0, + _SEJ, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/evaluation-job/{jobIdentifier}/stop", + } + ) + }, + STOP_EVALUATION_JOB_INPUT, + STOP_EVALUATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_6.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_6.py new file mode 100644 index 000000000..872a925ec --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_6.py @@ -0,0 +1,1254 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrock" +_me = "member" +_smi = "smithy.api#required" +_sV = "smithy.api#enumValue" +_gI = "guardrailIdentifier" +_gV = "guardrailVersion" +_gA = "guardrailArn" +_gIu = "guardrailId" +_cA = "createdAt" +_uA = "updatedAt" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_FAILED = "FAILED" +_DELETING = "DELETING" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sT = "smithy.api#idempotencyToken" +_ta = "tags" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_st = "status" +_smithya = "smithy.api#sensitive" +_d = "description" +_n = "name" +_ty = "type" +_ve = "version" +_cRT = "clientRequestToken" +_kKI = "kmsKeyId" +_cTo = "confidenceThreshold" +_kKA = "kmsKeyArn" +_TEXT = "TEXT" +_te = "text" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_LOW = "LOW" +_MEDIUM = "MEDIUM" +_HIGH = "HIGH" +_NONE = "NONE" +_def = "definition" +_STANDARD = "STANDARD" +_ARCFT = "AutomatedReasoningConfidenceFilterThreshold" +_ARPALut = "AutomatedReasoningPolicyArnList" +_GARPC = "GuardrailAutomatedReasoningPolicyConfig" +_po = "policies" +_GBM = "GuardrailBlockedMessaging" +_GCFA = "GuardrailContentFilterAction" +_BLOCK = "BLOCK" +_GM = "GuardrailModality" +_IMAGE = "IMAGE" +_GMu = "GuardrailModalities" +_GFS = "GuardrailFilterStrength" +_GCFT = "GuardrailContentFilterType" +_SEXUAL = "SEXUAL" +_VIOLENCE = "VIOLENCE" +_HATE = "HATE" +_INSULTS = "INSULTS" +_MISCONDUCT = "MISCONDUCT" +_PA = "PROMPT_ATTACK" +_GCFC = "GuardrailContentFilterConfig" +_iS = "inputStrength" +_oS = "outputStrength" +_iMn = "inputModalities" +_oM = "outputModalities" +_iA = "inputAction" +_oAu = "outputAction" +_iE = "inputEnabled" +_oE = "outputEnabled" +_GCFCu = "GuardrailContentFiltersConfig" +_GCFTN = "GuardrailContentFiltersTierName" +_CLASSIC = "CLASSIC" +_GCFTC = "GuardrailContentFiltersTierConfig" +_tNi = "tierName" +_GCPC = "GuardrailContentPolicyConfig" +_fC = "filtersConfig" +_tCi = "tierConfig" +_GCGA = "GuardrailContextualGroundingAction" +_GCGFT = "GuardrailContextualGroundingFilterType" +_GROUNDING = "GROUNDING" +_RELEVANCE = "RELEVANCE" +_GCGFC = "GuardrailContextualGroundingFilterConfig" +_th = "threshold" +_ac = "action" +_ena = "enabled" +_GCGFCu = "GuardrailContextualGroundingFiltersConfig" +_GCGTN = "GuardrailContextualGroundingTierName" +_GCGTC = "GuardrailContextualGroundingTierConfig" +_GCGPC = "GuardrailContextualGroundingPolicyConfig" +_GCRGPI = "GuardrailCrossRegionGuardrailProfileIdentifier" +_GCRC = "GuardrailCrossRegionConfig" +_gPI = "guardrailProfileIdentifier" +_GD = "GuardrailDescription" +_GN = "GuardrailName" +_GSIA = "GuardrailSensitiveInformationAction" +_ANONYMIZE = "ANONYMIZE" +_GPET = "GuardrailPiiEntityType" +_ADDRESS = "ADDRESS" +_AGE = "AGE" +_AAK = "AWS_ACCESS_KEY" +_ASK = "AWS_SECRET_KEY" +_CHN = "CA_HEALTH_NUMBER" +_CSIN = "CA_SOCIAL_INSURANCE_NUMBER" +_CDCC = "CREDIT_DEBIT_CARD_CVV" +_CDCE = "CREDIT_DEBIT_CARD_EXPIRY" +_CDCN = "CREDIT_DEBIT_CARD_NUMBER" +_DI = "DRIVER_ID" +_EMAIL = "EMAIL" +_IBAN = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" +_IA = "IP_ADDRESS" +_LP = "LICENSE_PLATE" +_MA_ = "MAC_ADDRESS" +_NAME = "NAME" +_PASSWORD = "PASSWORD" +_PHONE = "PHONE" +_PIN = "PIN" +_SC = "SWIFT_CODE" +_UNHSN = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" +_UNIN = "UK_NATIONAL_INSURANCE_NUMBER" +_UUTRN = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" +_URL = "URL" +_USERNAME = "USERNAME" +_UBAN = "US_BANK_ACCOUNT_NUMBER" +_UBRN = "US_BANK_ROUTING_NUMBER" +_UITIN = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" +_UPN = "US_PASSPORT_NUMBER" +_USSN = "US_SOCIAL_SECURITY_NUMBER" +_VIN = "VEHICLE_IDENTIFICATION_NUMBER" +_GPEC = "GuardrailPiiEntityConfig" +_GPECu = "GuardrailPiiEntitiesConfig" +_GRC = "GuardrailRegexConfig" +_pa = "pattern" +_GRCu = "GuardrailRegexesConfig" +_GSIPC = "GuardrailSensitiveInformationPolicyConfig" +_pEC = "piiEntitiesConfig" +_rCe = "regexesConfig" +_GTTN = "GuardrailTopicsTierName" +_GTTC = "GuardrailTopicsTierConfig" +_GTD = "GuardrailTopicDefinition" +_GTE = "GuardrailTopicExample" +_GTEu = "GuardrailTopicExamples" +_GTA = "GuardrailTopicAction" +_GTN = "GuardrailTopicName" +_GTT = "GuardrailTopicType" +_DENY = "DENY" +_GTCu = "GuardrailTopicConfig" +_exa = "examples" +_GTCua = "GuardrailTopicsConfig" +_GTPC = "GuardrailTopicPolicyConfig" +_tCop = "topicsConfig" +_GWA = "GuardrailWordAction" +_GMWT = "GuardrailManagedWordsType" +_PROFANITY = "PROFANITY" +_GMWC = "GuardrailManagedWordsConfig" +_GMWLC = "GuardrailManagedWordListsConfig" +_GWC = "GuardrailWordConfig" +_GWCu = "GuardrailWordsConfig" +_GWPC = "GuardrailWordPolicyConfig" +_wCo = "wordsConfig" +_mWLC = "managedWordListsConfig" +_CGI = "CreateGuardrailInput" +_cCGR = "com.amazonaws.bedrock#CreateGuardrailRequest" +_tPC = "topicPolicyConfig" +_cPC = "contentPolicyConfig" +_wPC = "wordPolicyConfig" +_sIPC = "sensitiveInformationPolicyConfig" +_cGPC = "contextualGroundingPolicyConfig" +_aRPC = "automatedReasoningPolicyConfig" +_cRC = "crossRegionConfig" +_bIM = "blockedInputMessaging" +_bOM = "blockedOutputsMessaging" +_GDV = "GuardrailDraftVersion" +_CGO = "CreateGuardrailOutput" +_cCGRo = "com.amazonaws.bedrock#CreateGuardrailResponse" +_CG = "CreateGuardrail" +_CGVI = "CreateGuardrailVersionInput" +_cCGVR = "com.amazonaws.bedrock#CreateGuardrailVersionRequest" +_CGVO = "CreateGuardrailVersionOutput" +_cCGVRo = "com.amazonaws.bedrock#CreateGuardrailVersionResponse" +_CGV = "CreateGuardrailVersion" +_DGI = "DeleteGuardrailInput" +_cDGR = "com.amazonaws.bedrock#DeleteGuardrailRequest" +_DGO = "DeleteGuardrailOutput" +_cDGRo = "com.amazonaws.bedrock#DeleteGuardrailResponse" +_DG = "DeleteGuardrail" +_GV = "GuardrailVersion" +_GGI = "GetGuardrailInput" +_cGGR = "com.amazonaws.bedrock#GetGuardrailRequest" +_GARPu = "GuardrailAutomatedReasoningPolicy" +_GCF = "GuardrailContentFilter" +_GCFu = "GuardrailContentFilters" +_GCFTu = "GuardrailContentFiltersTier" +_GCP = "GuardrailContentPolicy" +_fi = "filters" +_ti = "tier" +_GCGF = "GuardrailContextualGroundingFilter" +_GCGFu = "GuardrailContextualGroundingFilters" +_GCGT = "GuardrailContextualGroundingTier" +_GCGP = "GuardrailContextualGroundingPolicy" +_GCRGPA = "GuardrailCrossRegionGuardrailProfileArn" +_GCRGPIu = "GuardrailCrossRegionGuardrailProfileId" +_GCRD = "GuardrailCrossRegionDetails" +_gPIu = "guardrailProfileId" +_gPA = "guardrailProfileArn" +_GFRu = "GuardrailFailureRecommendation" +_GFRua = "GuardrailFailureRecommendations" +_GPE = "GuardrailPiiEntity" +_GPEu = "GuardrailPiiEntities" +_GR = "GuardrailRegex" +_GRu = "GuardrailRegexes" +_GSIP = "GuardrailSensitiveInformationPolicy" +_pEi = "piiEntities" +_re = "regexes" +_GS = "GuardrailStatus" +_VERSIONING = "VERSIONING" +_READY = "READY" +_GSR = "GuardrailStatusReason" +_GSRu = "GuardrailStatusReasons" +_GTTu = "GuardrailTopicsTier" +_GT = "GuardrailTopic" +_GTu = "GuardrailTopics" +_GTP = "GuardrailTopicPolicy" +_to = "topics" +_GMW = "GuardrailManagedWords" +_GMWL = "GuardrailManagedWordLists" +_GGO = "GetGuardrailOutput" +_cGGRo = "com.amazonaws.bedrock#GetGuardrailResponse" +_tPo = "topicPolicy" +_cP = "contentPolicy" +_wP = "wordPolicy" +_sIP = "sensitiveInformationPolicy" +_cGP = "contextualGroundingPolicy" +_aRP = "automatedReasoningPolicy" +_cRD = "crossRegionDetails" +_sRt = "statusReasons" +_fRa = "failureRecommendations" +_GG = "GetGuardrail" + +AUTOMATED_REASONING_CONFIDENCE_FILTER_THRESHOLD: StaticSchema = (10, n0, _ARCFT, 0) + +AUTOMATED_REASONING_POLICY_ARN_LIST: StaticSchema = ( + 16, + n0, + _ARPALut, + 0, + (_me,), + ((lambda: schemas.AUTOMATED_REASONING_POLICY_ARN, 0),), +) + +GUARDRAIL_AUTOMATED_REASONING_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _GARPC, + 0, + (_po, _cTo), + ( + (AUTOMATED_REASONING_POLICY_ARN_LIST, 1), + (AUTOMATED_REASONING_CONFIDENCE_FILTER_THRESHOLD, 0), + ), +) + +GUARDRAIL_BLOCKED_MESSAGING: StaticSchema = (3, n0, _GBM, 4) + +GUARDRAIL_CONTENT_FILTER_ACTION: StaticSchema = ( + 14, + n0, + _GCFA, + 4, + (_BLOCK, _NONE), + ((-1, {_sV: _BLOCK}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_MODALITY: StaticSchema = ( + 14, + n0, + _GM, + 4, + (_TEXT, _IMAGE), + ((-1, {_sV: _TEXT}), (-1, {_sV: _IMAGE})), +) + +GUARDRAIL_MODALITIES: StaticSchema = ( + 16, + n0, + _GMu, + 0, + (_me,), + ((GUARDRAIL_MODALITY, 0),), +) + +GUARDRAIL_FILTER_STRENGTH: StaticSchema = ( + 14, + n0, + _GFS, + 0, + (_NONE, _LOW, _MEDIUM, _HIGH), + ((-1, {_sV: _NONE}), (-1, {_sV: _LOW}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _HIGH})), +) + +GUARDRAIL_CONTENT_FILTER_TYPE: StaticSchema = ( + 14, + n0, + _GCFT, + 0, + (_SEXUAL, _VIOLENCE, _HATE, _INSULTS, _MISCONDUCT, _PA), + ( + (-1, {_sV: _SEXUAL}), + (-1, {_sV: _VIOLENCE}), + (-1, {_sV: _HATE}), + (-1, {_sV: _INSULTS}), + (-1, {_sV: _MISCONDUCT}), + (-1, {_sV: _PA}), + ), +) + +GUARDRAIL_CONTENT_FILTER_CONFIG: StaticSchema = ( + 18, + n0, + _GCFC, + 0, + (_ty, _iS, _oS, _iMn, _oM, _iA, _oAu, _iE, _oE), + ( + (GUARDRAIL_CONTENT_FILTER_TYPE, 1), + (GUARDRAIL_FILTER_STRENGTH, 1), + (GUARDRAIL_FILTER_STRENGTH, 1), + (GUARDRAIL_MODALITIES, 0), + (GUARDRAIL_MODALITIES, 0), + (GUARDRAIL_CONTENT_FILTER_ACTION, 0), + (GUARDRAIL_CONTENT_FILTER_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_CONTENT_FILTERS_CONFIG: StaticSchema = ( + 16, + n0, + _GCFCu, + 0, + (_me,), + ((GUARDRAIL_CONTENT_FILTER_CONFIG, 0),), +) + +GUARDRAIL_CONTENT_FILTERS_TIER_NAME: StaticSchema = ( + 14, + n0, + _GCFTN, + 4, + (_CLASSIC, _STANDARD), + ((-1, {_sV: _CLASSIC}), (-1, {_sV: _STANDARD})), +) + +GUARDRAIL_CONTENT_FILTERS_TIER_CONFIG: StaticSchema = ( + 18, + n0, + _GCFTC, + 0, + (_tNi,), + ((GUARDRAIL_CONTENT_FILTERS_TIER_NAME, 1),), +) + +GUARDRAIL_CONTENT_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _GCPC, + 0, + (_fC, _tCi), + ((GUARDRAIL_CONTENT_FILTERS_CONFIG, 1), (GUARDRAIL_CONTENT_FILTERS_TIER_CONFIG, 0)), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_ACTION: StaticSchema = ( + 14, + n0, + _GCGA, + 4, + (_BLOCK, _NONE), + ((-1, {_sV: _BLOCK}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE: StaticSchema = ( + 14, + n0, + _GCGFT, + 0, + (_GROUNDING, _RELEVANCE), + ((-1, {_sV: _GROUNDING}), (-1, {_sV: _RELEVANCE})), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_CONFIG: StaticSchema = ( + 18, + n0, + _GCGFC, + 0, + (_ty, _th, _ac, _ena), + ( + (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE, 1), + (10, 1), + (GUARDRAIL_CONTEXTUAL_GROUNDING_ACTION, 0), + (2, 0), + ), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS_CONFIG: StaticSchema = ( + 16, + n0, + _GCGFCu, + 0, + (_me,), + ((GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_CONFIG, 0),), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_NAME: StaticSchema = ( + 14, + n0, + _GCGTN, + 4, + (_CLASSIC, _STANDARD), + ((-1, {_sV: _CLASSIC}), (-1, {_sV: _STANDARD})), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_CONFIG: StaticSchema = ( + 18, + n0, + _GCGTC, + 0, + (_tNi,), + ((GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_NAME, 1),), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _GCGPC, + 0, + (_fC, _tCi), + ( + (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS_CONFIG, 1), + (GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_CONFIG, 0), + ), +) + +GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_IDENTIFIER: StaticSchema = (3, n0, _GCRGPI, 0) + +GUARDRAIL_CROSS_REGION_CONFIG: StaticSchema = ( + 18, + n0, + _GCRC, + 0, + (_gPI,), + ((GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_IDENTIFIER, 1),), +) + +GUARDRAIL_DESCRIPTION: StaticSchema = (3, n0, _GD, 4) + +GUARDRAIL_NAME: StaticSchema = (3, n0, _GN, 4) + +GUARDRAIL_SENSITIVE_INFORMATION_ACTION: StaticSchema = ( + 14, + n0, + _GSIA, + 0, + (_BLOCK, _ANONYMIZE, _NONE), + ((-1, {_sV: _BLOCK}), (-1, {_sV: _ANONYMIZE}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_PII_ENTITY_TYPE: StaticSchema = ( + 14, + n0, + _GPET, + 0, + ( + _ADDRESS, + _AGE, + _AAK, + _ASK, + _CHN, + _CSIN, + _CDCC, + _CDCE, + _CDCN, + _DI, + _EMAIL, + _IBAN, + _IA, + _LP, + _MA_, + _NAME, + _PASSWORD, + _PHONE, + _PIN, + _SC, + _UNHSN, + _UNIN, + _UUTRN, + _URL, + _USERNAME, + _UBAN, + _UBRN, + _UITIN, + _UPN, + _USSN, + _VIN, + ), + ( + (-1, {_sV: _ADDRESS}), + (-1, {_sV: _AGE}), + (-1, {_sV: _AAK}), + (-1, {_sV: _ASK}), + (-1, {_sV: _CHN}), + (-1, {_sV: _CSIN}), + (-1, {_sV: _CDCC}), + (-1, {_sV: _CDCE}), + (-1, {_sV: _CDCN}), + (-1, {_sV: _DI}), + (-1, {_sV: _EMAIL}), + (-1, {_sV: _IBAN}), + (-1, {_sV: _IA}), + (-1, {_sV: _LP}), + (-1, {_sV: _MA_}), + (-1, {_sV: _NAME}), + (-1, {_sV: _PASSWORD}), + (-1, {_sV: _PHONE}), + (-1, {_sV: _PIN}), + (-1, {_sV: _SC}), + (-1, {_sV: _UNHSN}), + (-1, {_sV: _UNIN}), + (-1, {_sV: _UUTRN}), + (-1, {_sV: _URL}), + (-1, {_sV: _USERNAME}), + (-1, {_sV: _UBAN}), + (-1, {_sV: _UBRN}), + (-1, {_sV: _UITIN}), + (-1, {_sV: _UPN}), + (-1, {_sV: _USSN}), + (-1, {_sV: _VIN}), + ), +) + +GUARDRAIL_PII_ENTITY_CONFIG: StaticSchema = ( + 18, + n0, + _GPEC, + 0, + (_ty, _ac, _iA, _oAu, _iE, _oE), + ( + (GUARDRAIL_PII_ENTITY_TYPE, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_PII_ENTITIES_CONFIG: StaticSchema = ( + 16, + n0, + _GPECu, + 0, + (_me,), + ((GUARDRAIL_PII_ENTITY_CONFIG, 0),), +) + +GUARDRAIL_REGEX_CONFIG: StaticSchema = ( + 18, + n0, + _GRC, + 0, + (_n, _d, _pa, _ac, _iA, _oAu, _iE, _oE), + ( + (3, 1), + (3, 0), + (3, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_REGEXES_CONFIG: StaticSchema = ( + 16, + n0, + _GRCu, + 0, + (_me,), + ((GUARDRAIL_REGEX_CONFIG, 0),), +) + +GUARDRAIL_SENSITIVE_INFORMATION_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _GSIPC, + 0, + (_pEC, _rCe), + ((GUARDRAIL_PII_ENTITIES_CONFIG, 0), (GUARDRAIL_REGEXES_CONFIG, 0)), +) + +GUARDRAIL_TOPICS_TIER_NAME: StaticSchema = ( + 14, + n0, + _GTTN, + 4, + (_CLASSIC, _STANDARD), + ((-1, {_sV: _CLASSIC}), (-1, {_sV: _STANDARD})), +) + +GUARDRAIL_TOPICS_TIER_CONFIG: StaticSchema = ( + 18, + n0, + _GTTC, + 0, + (_tNi,), + ((GUARDRAIL_TOPICS_TIER_NAME, 1),), +) + +GUARDRAIL_TOPIC_DEFINITION: StaticSchema = (3, n0, _GTD, 4) + +GUARDRAIL_TOPIC_EXAMPLE: StaticSchema = (3, n0, _GTE, 4) + +GUARDRAIL_TOPIC_EXAMPLES: StaticSchema = ( + 16, + n0, + _GTEu, + 0, + (_me,), + ((GUARDRAIL_TOPIC_EXAMPLE, 0),), +) + +GUARDRAIL_TOPIC_ACTION: StaticSchema = ( + 14, + n0, + _GTA, + 4, + (_BLOCK, _NONE), + ((-1, {_sV: _BLOCK}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_TOPIC_NAME: StaticSchema = (3, n0, _GTN, 4) + +GUARDRAIL_TOPIC_TYPE: StaticSchema = (14, n0, _GTT, 0, (_DENY,), ((-1, {_sV: _DENY}),)) + +GUARDRAIL_TOPIC_CONFIG: StaticSchema = ( + 18, + n0, + _GTCu, + 0, + (_n, _def, _exa, _ty, _iA, _oAu, _iE, _oE), + ( + (GUARDRAIL_TOPIC_NAME, 1), + (GUARDRAIL_TOPIC_DEFINITION, 1), + (GUARDRAIL_TOPIC_EXAMPLES, 0), + (GUARDRAIL_TOPIC_TYPE, 1), + (GUARDRAIL_TOPIC_ACTION, 0), + (GUARDRAIL_TOPIC_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_TOPICS_CONFIG: StaticSchema = ( + 16, + n0, + _GTCua, + 0, + (_me,), + ((GUARDRAIL_TOPIC_CONFIG, 0),), +) + +GUARDRAIL_TOPIC_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _GTPC, + 0, + (_tCop, _tCi), + ((GUARDRAIL_TOPICS_CONFIG, 1), (GUARDRAIL_TOPICS_TIER_CONFIG, 0)), +) + +GUARDRAIL_WORD_ACTION: StaticSchema = ( + 14, + n0, + _GWA, + 4, + (_BLOCK, _NONE), + ((-1, {_sV: _BLOCK}), (-1, {_sV: _NONE})), +) + +GUARDRAIL_MANAGED_WORDS_TYPE: StaticSchema = ( + 14, + n0, + _GMWT, + 0, + (_PROFANITY,), + ((-1, {_sV: _PROFANITY}),), +) + +GUARDRAIL_MANAGED_WORDS_CONFIG: StaticSchema = ( + 18, + n0, + _GMWC, + 0, + (_ty, _iA, _oAu, _iE, _oE), + ( + (GUARDRAIL_MANAGED_WORDS_TYPE, 1), + (GUARDRAIL_WORD_ACTION, 0), + (GUARDRAIL_WORD_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_MANAGED_WORD_LISTS_CONFIG: StaticSchema = ( + 16, + n0, + _GMWLC, + 0, + (_me,), + ((GUARDRAIL_MANAGED_WORDS_CONFIG, 0),), +) + +GUARDRAIL_WORD_CONFIG: StaticSchema = ( + 18, + n0, + _GWC, + 0, + (_te, _iA, _oAu, _iE, _oE), + ((3, 1), (GUARDRAIL_WORD_ACTION, 0), (GUARDRAIL_WORD_ACTION, 0), (2, 0), (2, 0)), +) + +GUARDRAIL_WORDS_CONFIG: StaticSchema = ( + 16, + n0, + _GWCu, + 0, + (_me,), + ((GUARDRAIL_WORD_CONFIG, 0),), +) + +GUARDRAIL_WORD_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _GWPC, + 0, + (_wCo, _mWLC), + ((GUARDRAIL_WORDS_CONFIG, 0), (GUARDRAIL_MANAGED_WORD_LISTS_CONFIG, 0)), +) + +CREATE_GUARDRAIL_INPUT: StaticSchema = ( + 18, + n0, + _CGI, + {_sSI: _cCGR, _smit: None}, + (_n, _d, _tPC, _cPC, _wPC, _sIPC, _cGPC, _aRPC, _cRC, _bIM, _bOM, _kKI, _ta, _cRT), + ( + (GUARDRAIL_NAME, 1), + (GUARDRAIL_DESCRIPTION, 0), + (GUARDRAIL_TOPIC_POLICY_CONFIG, 0), + (GUARDRAIL_CONTENT_POLICY_CONFIG, 0), + (GUARDRAIL_WORD_POLICY_CONFIG, 0), + (GUARDRAIL_SENSITIVE_INFORMATION_POLICY_CONFIG, 0), + (GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_CONFIG, 0), + (GUARDRAIL_AUTOMATED_REASONING_POLICY_CONFIG, 0), + (GUARDRAIL_CROSS_REGION_CONFIG, 0), + (GUARDRAIL_BLOCKED_MESSAGING, 1), + (GUARDRAIL_BLOCKED_MESSAGING, 1), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + ), +) + +CREATE_GUARDRAIL_OUTPUT: StaticSchema = ( + 18, + n0, + _CGO, + {_sSI: _cCGRo, _smith: None}, + (_gIu, _gA, _ve, _cA), + ( + (lambda: schemas.GUARDRAIL_ID, 1), + (lambda: schemas.GUARDRAIL_ARN, 1), + (lambda: GUARDRAIL_DRAFT_VERSION, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +CREATE_GUARDRAIL: StaticOperationSchema = ( + 23, + n0, + _CG, + {_smithy: MappingProxyType({"code": 202, "method": "POST", "uri": "/guardrails"})}, + CREATE_GUARDRAIL_INPUT, + CREATE_GUARDRAIL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GUARDRAIL_DRAFT_VERSION: StaticSchema = (3, n0, _GDV, 0) + +CREATE_GUARDRAIL_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CGVI, + {_sSI: _cCGVR, _smit: None}, + (_gI, _d, _cRT), + ( + (lambda: schemas.GUARDRAIL_IDENTIFIER, 9), + (GUARDRAIL_DESCRIPTION, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + ), +) + +CREATE_GUARDRAIL_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CGVO, + {_sSI: _cCGVRo, _smith: None}, + (_gIu, _ve), + ( + (lambda: schemas.GUARDRAIL_ID, 1), + (lambda: schemas.GUARDRAIL_NUMERICAL_VERSION, 1), + ), +) + +CREATE_GUARDRAIL_VERSION: StaticOperationSchema = ( + 23, + n0, + _CGV, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/guardrails/{guardrailIdentifier}"} + ) + }, + CREATE_GUARDRAIL_VERSION_INPUT, + CREATE_GUARDRAIL_VERSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_GUARDRAIL_INPUT: StaticSchema = ( + 18, + n0, + _DGI, + {_sSI: _cDGR, _smit: None}, + (_gI, _gV), + ( + (lambda: schemas.GUARDRAIL_IDENTIFIER, 9), + (lambda: schemas.GUARDRAIL_NUMERICAL_VERSION, {_sQ: _gV}), + ), +) + +DELETE_GUARDRAIL_OUTPUT: StaticSchema = (18, n0, _DGO, {_sSI: _cDGRo, _smith: None}) + +DELETE_GUARDRAIL: StaticOperationSchema = ( + 23, + n0, + _DG, + { + _smithy: MappingProxyType( + { + "code": 202, + "method": "DELETE", + "uri": "/guardrails/{guardrailIdentifier}", + } + ) + }, + DELETE_GUARDRAIL_INPUT, + DELETE_GUARDRAIL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GUARDRAIL_VERSION: StaticSchema = (3, n0, _GV, 0) + +GET_GUARDRAIL_INPUT: StaticSchema = ( + 18, + n0, + _GGI, + {_sSI: _cGGR, _smit: None}, + (_gI, _gV), + ((lambda: schemas.GUARDRAIL_IDENTIFIER, 9), (GUARDRAIL_VERSION, {_sQ: _gV})), +) + +GET_GUARDRAIL_OUTPUT: StaticSchema = ( + 18, + n0, + _GGO, + {_sSI: _cGGRo, _smith: None}, + ( + _n, + _d, + _gIu, + _gA, + _ve, + _st, + _tPo, + _cP, + _wP, + _sIP, + _cGP, + _aRP, + _cRD, + _cA, + _uA, + _sRt, + _fRa, + _bIM, + _bOM, + _kKA, + ), + ( + (GUARDRAIL_NAME, 1), + (GUARDRAIL_DESCRIPTION, 0), + (lambda: schemas.GUARDRAIL_ID, 1), + (lambda: schemas.GUARDRAIL_ARN, 1), + (GUARDRAIL_VERSION, 1), + (lambda: GUARDRAIL_STATUS, 1), + (lambda: GUARDRAIL_TOPIC_POLICY, 0), + (lambda: GUARDRAIL_CONTENT_POLICY, 0), + (lambda: schemas.GUARDRAIL_WORD_POLICY, 0), + (lambda: GUARDRAIL_SENSITIVE_INFORMATION_POLICY, 0), + (lambda: GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY, 0), + (lambda: GUARDRAIL_AUTOMATED_REASONING_POLICY, 0), + (lambda: GUARDRAIL_CROSS_REGION_DETAILS, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: GUARDRAIL_STATUS_REASONS, 0), + (lambda: GUARDRAIL_FAILURE_RECOMMENDATIONS, 0), + (GUARDRAIL_BLOCKED_MESSAGING, 1), + (GUARDRAIL_BLOCKED_MESSAGING, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +GET_GUARDRAIL: StaticOperationSchema = ( + 23, + n0, + _GG, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/guardrails/{guardrailIdentifier}"} + ) + }, + GET_GUARDRAIL_INPUT, + GET_GUARDRAIL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GUARDRAIL_AUTOMATED_REASONING_POLICY: StaticSchema = ( + 18, + n0, + _GARPu, + 0, + (_po, _cTo), + ( + (AUTOMATED_REASONING_POLICY_ARN_LIST, 1), + (AUTOMATED_REASONING_CONFIDENCE_FILTER_THRESHOLD, 0), + ), +) + +GUARDRAIL_CONTENT_FILTER: StaticSchema = ( + 18, + n0, + _GCF, + 0, + (_ty, _iS, _oS, _iMn, _oM, _iA, _oAu, _iE, _oE), + ( + (GUARDRAIL_CONTENT_FILTER_TYPE, 1), + (GUARDRAIL_FILTER_STRENGTH, 1), + (GUARDRAIL_FILTER_STRENGTH, 1), + (GUARDRAIL_MODALITIES, 0), + (GUARDRAIL_MODALITIES, 0), + (GUARDRAIL_CONTENT_FILTER_ACTION, 0), + (GUARDRAIL_CONTENT_FILTER_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_CONTENT_FILTERS: StaticSchema = ( + 16, + n0, + _GCFu, + 0, + (_me,), + ((GUARDRAIL_CONTENT_FILTER, 0),), +) + +GUARDRAIL_CONTENT_FILTERS_TIER: StaticSchema = ( + 18, + n0, + _GCFTu, + 0, + (_tNi,), + ((GUARDRAIL_CONTENT_FILTERS_TIER_NAME, 1),), +) + +GUARDRAIL_CONTENT_POLICY: StaticSchema = ( + 18, + n0, + _GCP, + 0, + (_fi, _ti), + ((GUARDRAIL_CONTENT_FILTERS, 0), (GUARDRAIL_CONTENT_FILTERS_TIER, 0)), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER: StaticSchema = ( + 18, + n0, + _GCGF, + 0, + (_ty, _th, _ac, _ena), + ( + (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER_TYPE, 1), + (10, 1), + (GUARDRAIL_CONTEXTUAL_GROUNDING_ACTION, 0), + (2, 0), + ), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS: StaticSchema = ( + 16, + n0, + _GCGFu, + 0, + (_me,), + ((GUARDRAIL_CONTEXTUAL_GROUNDING_FILTER, 0),), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_TIER: StaticSchema = ( + 18, + n0, + _GCGT, + 0, + (_tNi,), + ((GUARDRAIL_CONTEXTUAL_GROUNDING_TIER_NAME, 1),), +) + +GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY: StaticSchema = ( + 18, + n0, + _GCGP, + 0, + (_fi, _ti), + ( + (GUARDRAIL_CONTEXTUAL_GROUNDING_FILTERS, 1), + (GUARDRAIL_CONTEXTUAL_GROUNDING_TIER, 0), + ), +) + +GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ARN: StaticSchema = (3, n0, _GCRGPA, 0) + +GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ID: StaticSchema = (3, n0, _GCRGPIu, 0) + +GUARDRAIL_CROSS_REGION_DETAILS: StaticSchema = ( + 18, + n0, + _GCRD, + 0, + (_gPIu, _gPA), + ( + (GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ID, 0), + (GUARDRAIL_CROSS_REGION_GUARDRAIL_PROFILE_ARN, 0), + ), +) + +GUARDRAIL_FAILURE_RECOMMENDATION: StaticSchema = (3, n0, _GFRu, 4) + +GUARDRAIL_FAILURE_RECOMMENDATIONS: StaticSchema = ( + 16, + n0, + _GFRua, + 0, + (_me,), + ((GUARDRAIL_FAILURE_RECOMMENDATION, 0),), +) + +GUARDRAIL_PII_ENTITY: StaticSchema = ( + 18, + n0, + _GPE, + 0, + (_ty, _ac, _iA, _oAu, _iE, _oE), + ( + (GUARDRAIL_PII_ENTITY_TYPE, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_PII_ENTITIES: StaticSchema = ( + 16, + n0, + _GPEu, + 0, + (_me,), + ((GUARDRAIL_PII_ENTITY, 0),), +) + +GUARDRAIL_REGEX: StaticSchema = ( + 18, + n0, + _GR, + 0, + (_n, _d, _pa, _ac, _iA, _oAu, _iE, _oE), + ( + (3, 1), + (3, 0), + (3, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 1), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), + (GUARDRAIL_SENSITIVE_INFORMATION_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_REGEXES: StaticSchema = (16, n0, _GRu, 0, (_me,), ((GUARDRAIL_REGEX, 0),)) + +GUARDRAIL_SENSITIVE_INFORMATION_POLICY: StaticSchema = ( + 18, + n0, + _GSIP, + 0, + (_pEi, _re), + ((GUARDRAIL_PII_ENTITIES, 0), (GUARDRAIL_REGEXES, 0)), +) + +GUARDRAIL_STATUS: StaticSchema = ( + 14, + n0, + _GS, + 0, + (_CREATING, _UPDATING, _VERSIONING, _READY, _FAILED, _DELETING), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _VERSIONING}), + (-1, {_sV: _READY}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _DELETING}), + ), +) + +GUARDRAIL_STATUS_REASON: StaticSchema = (3, n0, _GSR, 4) + +GUARDRAIL_STATUS_REASONS: StaticSchema = ( + 16, + n0, + _GSRu, + 0, + (_me,), + ((GUARDRAIL_STATUS_REASON, 0),), +) + +GUARDRAIL_TOPICS_TIER: StaticSchema = ( + 18, + n0, + _GTTu, + 0, + (_tNi,), + ((GUARDRAIL_TOPICS_TIER_NAME, 1),), +) + +GUARDRAIL_TOPIC: StaticSchema = ( + 18, + n0, + _GT, + 0, + (_n, _def, _exa, _ty, _iA, _oAu, _iE, _oE), + ( + (GUARDRAIL_TOPIC_NAME, 1), + (GUARDRAIL_TOPIC_DEFINITION, 1), + (GUARDRAIL_TOPIC_EXAMPLES, 0), + (GUARDRAIL_TOPIC_TYPE, 0), + (GUARDRAIL_TOPIC_ACTION, 0), + (GUARDRAIL_TOPIC_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_TOPICS: StaticSchema = (16, n0, _GTu, 0, (_me,), ((GUARDRAIL_TOPIC, 0),)) + +GUARDRAIL_TOPIC_POLICY: StaticSchema = ( + 18, + n0, + _GTP, + 0, + (_to, _ti), + ((GUARDRAIL_TOPICS, 1), (GUARDRAIL_TOPICS_TIER, 0)), +) + +GUARDRAIL_MANAGED_WORDS: StaticSchema = ( + 18, + n0, + _GMW, + 0, + (_ty, _iA, _oAu, _iE, _oE), + ( + (GUARDRAIL_MANAGED_WORDS_TYPE, 1), + (GUARDRAIL_WORD_ACTION, 0), + (GUARDRAIL_WORD_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_MANAGED_WORD_LISTS: StaticSchema = ( + 16, + n0, + _GMWL, + 0, + (_me,), + ((GUARDRAIL_MANAGED_WORDS, 0),), +) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_7.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_7.py new file mode 100644 index 000000000..2db1030f3 --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_7.py @@ -0,0 +1,1341 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrock" +_me = "member" +_smi = "smithy.api#required" +_sV = "smithy.api#enumValue" +_gI = "guardrailIdentifier" +_gA = "guardrailArn" +_gIu = "guardrailId" +_cA = "createdAt" +_uA = "updatedAt" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_IP = "IN_PROGRESS" +_IPn = "InProgress" +_COMPLETED = "COMPLETED" +_C = "Completed" +_FAILED = "FAILED" +_F = "Failed" +_jIo = "jobIdentifier" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_jN = "jobName" +_sT = "smithy.api#idempotencyToken" +_ta = "tags" +_jA = "jobArn" +_sL = "smithy.api#httpLabel" +_cTr = "creationTime" +_lMT = "lastModifiedTime" +_fM = "failureMessage" +_mR = "maxResults" +_sQ = "smithy.api#httpQuery" +_nT = "nextToken" +_sB = "sortBy" +_sO = "sortOrder" +_st = "status" +_smithya = "smithy.api#sensitive" +_i = "id" +_d = "description" +_n = "name" +_ty = "type" +_ve = "version" +_cRT = "clientRequestToken" +_kKI = "kmsKeyId" +_te = "text" +_mA = "modelArn" +_ACTIVE = "ACTIVE" +_nC = "nameContains" +_sEt = "statusEquals" +_mN = "modelName" +_mKKA = "modelKmsKeyArn" +_rA = "roleArn" +_mIo = "modelIdentifier" +_cTB = "creationTimeBefore" +_cTA = "creationTimeAfter" +_mSo = "modelSummaries" +_iA = "inputAction" +_oAu = "outputAction" +_iE = "inputEnabled" +_oE = "outputEnabled" +_tPC = "topicPolicyConfig" +_cPC = "contentPolicyConfig" +_wPC = "wordPolicyConfig" +_sIPC = "sensitiveInformationPolicyConfig" +_cGPC = "contextualGroundingPolicyConfig" +_aRPC = "automatedReasoningPolicyConfig" +_cRC = "crossRegionConfig" +_bIM = "blockedInputMessaging" +_bOM = "blockedOutputsMessaging" +_GW = "GuardrailWord" +_GWu = "GuardrailWords" +_GWP = "GuardrailWordPolicy" +_w = "words" +_mWL = "managedWordLists" +_cRD = "crossRegionDetails" +_LGI = "ListGuardrailsInput" +_cLGR = "com.amazonaws.bedrock#ListGuardrailsRequest" +_GSu = "GuardrailSummary" +_arn = "arn" +_GSua = "GuardrailSummaries" +_LGO = "ListGuardrailsOutput" +_cLGRo = "com.amazonaws.bedrock#ListGuardrailsResponse" +_g = "guardrails" +_LG = "ListGuardrails" +_UGI = "UpdateGuardrailInput" +_cUGR = "com.amazonaws.bedrock#UpdateGuardrailRequest" +_UGO = "UpdateGuardrailOutput" +_cUGRo = "com.amazonaws.bedrock#UpdateGuardrailResponse" +_UG = "UpdateGuardrail" +_IPD = "InferenceProfileDescription" +_IPN = "InferenceProfileName" +_IPMSA = "InferenceProfileModelSourceArn" +_IPMS = "InferenceProfileModelSource" +_cF = "copyFrom" +_CIPI = "CreateInferenceProfileInput" +_cCIPR = "com.amazonaws.bedrock#CreateInferenceProfileRequest" +_iPN = "inferenceProfileName" +_mSod = "modelSource" +_IPA = "InferenceProfileArn" +_IPS = "InferenceProfileStatus" +_CIPO = "CreateInferenceProfileOutput" +_cCIPRo = "com.amazonaws.bedrock#CreateInferenceProfileResponse" +_iPA = "inferenceProfileArn" +_CIP = "CreateInferenceProfile" +_IPI = "InferenceProfileIdentifier" +_DIPI = "DeleteInferenceProfileInput" +_cDIPR = "com.amazonaws.bedrock#DeleteInferenceProfileRequest" +_iPI = "inferenceProfileIdentifier" +_DIPO = "DeleteInferenceProfileOutput" +_cDIPRo = "com.amazonaws.bedrock#DeleteInferenceProfileResponse" +_DIP = "DeleteInferenceProfile" +_GIPI = "GetInferenceProfileInput" +_cGIPR = "com.amazonaws.bedrock#GetInferenceProfileRequest" +_IPIn = "InferenceProfileId" +_IPM = "InferenceProfileModel" +_IPMn = "InferenceProfileModels" +_IPT = "InferenceProfileType" +_SD_ = "SYSTEM_DEFINED" +_APPLICATION = "APPLICATION" +_GIPO = "GetInferenceProfileOutput" +_cGIPRo = "com.amazonaws.bedrock#GetInferenceProfileResponse" +_mod = "models" +_iPIn = "inferenceProfileId" +_GIP = "GetInferenceProfile" +_LIPI = "ListInferenceProfilesInput" +_cLIPR = "com.amazonaws.bedrock#ListInferenceProfilesRequest" +_tE = "typeEquals" +_IPSn = "InferenceProfileSummary" +_IPSnf = "InferenceProfileSummaries" +_LIPO = "ListInferenceProfilesOutput" +_cLIPRo = "com.amazonaws.bedrock#ListInferenceProfilesResponse" +_iPS = "inferenceProfileSummaries" +_LIP = "ListInferenceProfiles" +_DMILCI = "DeleteModelInvocationLoggingConfigurationInput" +_cDMILCR = "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationRequest" +_DMILCO = "DeleteModelInvocationLoggingConfigurationOutput" +_cDMILCRo = "com.amazonaws.bedrock#DeleteModelInvocationLoggingConfigurationResponse" +_DMILC = "DeleteModelInvocationLoggingConfiguration" +_GMILCI = "GetModelInvocationLoggingConfigurationInput" +_cGMILCR = "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationRequest" +_BN = "BucketName" +_KP = "KeyPrefix" +_SCo = "S3Config" +_bN = "bucketName" +_kP = "keyPrefix" +_LGN = "LogGroupName" +_CWC = "CloudWatchConfig" +_lGN = "logGroupName" +_lDDSC = "largeDataDeliveryS3Config" +_LC = "LoggingConfig" +_cWC = "cloudWatchConfig" +_sCo = "s3Config" +_tDDE = "textDataDeliveryEnabled" +_iDDE = "imageDataDeliveryEnabled" +_eDDE = "embeddingDataDeliveryEnabled" +_vDDE = "videoDataDeliveryEnabled" +_aDDE = "audioDataDeliveryEnabled" +_GMILCO = "GetModelInvocationLoggingConfigurationOutput" +_cGMILCRo = "com.amazonaws.bedrock#GetModelInvocationLoggingConfigurationResponse" +_lC = "loggingConfig" +_GMILC = "GetModelInvocationLoggingConfiguration" +_PMILCI = "PutModelInvocationLoggingConfigurationInput" +_cPMILCR = "com.amazonaws.bedrock#PutModelInvocationLoggingConfigurationRequest" +_PMILCO = "PutModelInvocationLoggingConfigurationOutput" +_cPMILCRo = "com.amazonaws.bedrock#PutModelInvocationLoggingConfigurationResponse" +_PMILC = "PutModelInvocationLoggingConfiguration" +_CMCJI = "CreateModelCopyJobInput" +_cCMCJR = "com.amazonaws.bedrock#CreateModelCopyJobRequest" +_sMA = "sourceModelArn" +_tMN = "targetModelName" +_mKKI = "modelKmsKeyId" +_tMT = "targetModelTags" +_MCJAo = "ModelCopyJobArn" +_CMCJO = "CreateModelCopyJobOutput" +_cCMCJRo = "com.amazonaws.bedrock#CreateModelCopyJobResponse" +_CMCJ = "CreateModelCopyJob" +_GMCJI = "GetModelCopyJobInput" +_cGMCJR = "com.amazonaws.bedrock#GetModelCopyJobRequest" +_MCJS = "ModelCopyJobStatus" +_GMCJO = "GetModelCopyJobOutput" +_cGMCJRo = "com.amazonaws.bedrock#GetModelCopyJobResponse" +_tMA = "targetModelArn" +_sAI = "sourceAccountId" +_tMKKA = "targetModelKmsKeyArn" +_sMN = "sourceModelName" +_GMCJ = "GetModelCopyJob" +_LMCJI = "ListModelCopyJobsInput" +_cLMCJR = "com.amazonaws.bedrock#ListModelCopyJobsRequest" +_sAE = "sourceAccountEquals" +_sMAE = "sourceModelArnEquals" +_tMNC = "targetModelNameContains" +_oMNC = "outputModelNameContains" +_MCJSo = "ModelCopyJobSummary" +_MCJSod = "ModelCopyJobSummaries" +_LMCJO = "ListModelCopyJobsOutput" +_cLMCJRo = "com.amazonaws.bedrock#ListModelCopyJobsResponse" +_mCJS = "modelCopyJobSummaries" +_LMCJ = "ListModelCopyJobs" +_IMN = "ImportedModelName" +_CMIJI = "CreateModelImportJobInput" +_cCMIJR = "com.amazonaws.bedrock#CreateModelImportJobRequest" +_iMN = "importedModelName" +_mDSo = "modelDataSource" +_jTo = "jobTags" +_iMTm = "importedModelTags" +_vCp = "vpcConfig" +_iMKKI = "importedModelKmsKeyId" +_MIJA = "ModelImportJobArn" +_CMIJO = "CreateModelImportJobOutput" +_cCMIJRo = "com.amazonaws.bedrock#CreateModelImportJobResponse" +_CMIJ = "CreateModelImportJob" +_IMIm = "ImportedModelIdentifier" +_DIMI = "DeleteImportedModelInput" +_cDIMR = "com.amazonaws.bedrock#DeleteImportedModelRequest" +_DIMO = "DeleteImportedModelOutput" +_cDIMRo = "com.amazonaws.bedrock#DeleteImportedModelResponse" +_DIM = "DeleteImportedModel" +_GIMI = "GetImportedModelInput" +_cGIMR = "com.amazonaws.bedrock#GetImportedModelRequest" +_CMUV = "CustomModelUnitsVersion" +_CMU = "CustomModelUnits" +_cMUPMC = "customModelUnitsPerModelCopy" +_cMUV = "customModelUnitsVersion" +_IS = "InstructSupported" +_IMA = "ImportedModelArn" +_GIMO = "GetImportedModelOutput" +_cGIMRo = "com.amazonaws.bedrock#GetImportedModelResponse" +_mAo = "modelArchitecture" +_iSn = "instructSupported" +_cMU = "customModelUnits" +_GIM = "GetImportedModel" +_MIJI = "ModelImportJobIdentifier" +_GMIJI = "GetModelImportJobInput" +_cGMIJR = "com.amazonaws.bedrock#GetModelImportJobRequest" +_MIJS = "ModelImportJobStatus" +_GMIJO = "GetModelImportJobOutput" +_cGMIJRo = "com.amazonaws.bedrock#GetModelImportJobResponse" +_iMA = "importedModelArn" +_eT = "endTime" +_iMKKA = "importedModelKmsKeyArn" +_GMIJ = "GetModelImportJob" +_LIMI = "ListImportedModelsInput" +_cLIMR = "com.amazonaws.bedrock#ListImportedModelsRequest" +_MAo = "ModelArchitecture" +_IMS = "ImportedModelSummary" +_IMSL = "ImportedModelSummaryList" +_LIMO = "ListImportedModelsOutput" +_cLIMRo = "com.amazonaws.bedrock#ListImportedModelsResponse" +_LIM = "ListImportedModels" +_LMIJI = "ListModelImportJobsInput" +_cLMIJR = "com.amazonaws.bedrock#ListModelImportJobsRequest" +_LMIJO = "ListModelImportJobsOutput" +_cLMIJRo = "com.amazonaws.bedrock#ListModelImportJobsResponse" +_mIJS = "modelImportJobSummaries" +_LMIJ = "ListModelImportJobs" + +GUARDRAIL_WORD: StaticSchema = ( + 18, + n0, + _GW, + 0, + (_te, _iA, _oAu, _iE, _oE), + ( + (3, 1), + (lambda: schemas.GUARDRAIL_WORD_ACTION, 0), + (lambda: schemas.GUARDRAIL_WORD_ACTION, 0), + (2, 0), + (2, 0), + ), +) + +GUARDRAIL_WORDS: StaticSchema = (16, n0, _GWu, 0, (_me,), ((GUARDRAIL_WORD, 0),)) + +GUARDRAIL_WORD_POLICY: StaticSchema = ( + 18, + n0, + _GWP, + 0, + (_w, _mWL), + ((GUARDRAIL_WORDS, 0), (lambda: schemas.GUARDRAIL_MANAGED_WORD_LISTS, 0)), +) + +LIST_GUARDRAILS_INPUT: StaticSchema = ( + 18, + n0, + _LGI, + {_sSI: _cLGR, _smit: None}, + (_gI, _mR, _nT), + ( + (lambda: schemas.GUARDRAIL_IDENTIFIER, {_sQ: _gI}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + ), +) + +LIST_GUARDRAILS_OUTPUT: StaticSchema = ( + 18, + n0, + _LGO, + {_sSI: _cLGRo, _smith: None}, + (_g, _nT), + ((lambda: GUARDRAIL_SUMMARIES, 1), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_GUARDRAILS: StaticOperationSchema = ( + 23, + n0, + _LG, + {_smithy: MappingProxyType({"code": 200, "method": "GET", "uri": "/guardrails"})}, + LIST_GUARDRAILS_INPUT, + LIST_GUARDRAILS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GUARDRAIL_SUMMARY: StaticSchema = ( + 18, + n0, + _GSu, + 0, + (_i, _arn, _st, _n, _d, _ve, _cA, _uA, _cRD), + ( + (lambda: schemas.GUARDRAIL_ID, 1), + (lambda: schemas.GUARDRAIL_ARN, 1), + (lambda: schemas.GUARDRAIL_STATUS, 1), + (lambda: schemas.GUARDRAIL_NAME, 1), + (lambda: schemas.GUARDRAIL_DESCRIPTION, 0), + (lambda: schemas.GUARDRAIL_VERSION, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.GUARDRAIL_CROSS_REGION_DETAILS, 0), + ), +) + +GUARDRAIL_SUMMARIES: StaticSchema = ( + 16, + n0, + _GSua, + 0, + (_me,), + ((GUARDRAIL_SUMMARY, 0),), +) + +UPDATE_GUARDRAIL_INPUT: StaticSchema = ( + 18, + n0, + _UGI, + {_sSI: _cUGR, _smit: None}, + (_gI, _n, _d, _tPC, _cPC, _wPC, _sIPC, _cGPC, _aRPC, _cRC, _bIM, _bOM, _kKI), + ( + (lambda: schemas.GUARDRAIL_IDENTIFIER, 9), + (lambda: schemas.GUARDRAIL_NAME, 1), + (lambda: schemas.GUARDRAIL_DESCRIPTION, 0), + (lambda: schemas.GUARDRAIL_TOPIC_POLICY_CONFIG, 0), + (lambda: schemas.GUARDRAIL_CONTENT_POLICY_CONFIG, 0), + (lambda: schemas.GUARDRAIL_WORD_POLICY_CONFIG, 0), + (lambda: schemas.GUARDRAIL_SENSITIVE_INFORMATION_POLICY_CONFIG, 0), + (lambda: schemas.GUARDRAIL_CONTEXTUAL_GROUNDING_POLICY_CONFIG, 0), + (lambda: schemas.GUARDRAIL_AUTOMATED_REASONING_POLICY_CONFIG, 0), + (lambda: schemas.GUARDRAIL_CROSS_REGION_CONFIG, 0), + (lambda: schemas.GUARDRAIL_BLOCKED_MESSAGING, 1), + (lambda: schemas.GUARDRAIL_BLOCKED_MESSAGING, 1), + (lambda: schemas.KMS_KEY_ID, 0), + ), +) + +UPDATE_GUARDRAIL_OUTPUT: StaticSchema = ( + 18, + n0, + _UGO, + {_sSI: _cUGRo, _smith: None}, + (_gIu, _gA, _ve, _uA), + ( + (lambda: schemas.GUARDRAIL_ID, 1), + (lambda: schemas.GUARDRAIL_ARN, 1), + (lambda: schemas.GUARDRAIL_DRAFT_VERSION, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +UPDATE_GUARDRAIL: StaticOperationSchema = ( + 23, + n0, + _UG, + { + _smithy: MappingProxyType( + {"code": 202, "method": "PUT", "uri": "/guardrails/{guardrailIdentifier}"} + ) + }, + UPDATE_GUARDRAIL_INPUT, + UPDATE_GUARDRAIL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INFERENCE_PROFILE_DESCRIPTION: StaticSchema = (3, n0, _IPD, 4) + +INFERENCE_PROFILE_NAME: StaticSchema = (3, n0, _IPN, 0) + +INFERENCE_PROFILE_MODEL_SOURCE_ARN: StaticSchema = (3, n0, _IPMSA, 0) + +INFERENCE_PROFILE_MODEL_SOURCE: StaticSchema = ( + 19, + n0, + _IPMS, + 0, + (_cF,), + ((INFERENCE_PROFILE_MODEL_SOURCE_ARN, 0),), +) + +CREATE_INFERENCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _CIPI, + {_sSI: _cCIPR, _smit: None}, + (_iPN, _d, _cRT, _mSod, _ta), + ( + (INFERENCE_PROFILE_NAME, 1), + (INFERENCE_PROFILE_DESCRIPTION, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + (INFERENCE_PROFILE_MODEL_SOURCE, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_INFERENCE_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _CIPO, + {_sSI: _cCIPRo, _smith: None}, + (_iPA, _st), + ((lambda: INFERENCE_PROFILE_ARN, 1), (lambda: INFERENCE_PROFILE_STATUS, 0)), +) + +CREATE_INFERENCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _CIP, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/inference-profiles"} + ) + }, + CREATE_INFERENCE_PROFILE_INPUT, + CREATE_INFERENCE_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INFERENCE_PROFILE_ARN: StaticSchema = (3, n0, _IPA, 0) + +INFERENCE_PROFILE_STATUS: StaticSchema = ( + 14, + n0, + _IPS, + 0, + (_ACTIVE,), + ((-1, {_sV: _ACTIVE}),), +) + +INFERENCE_PROFILE_IDENTIFIER: StaticSchema = (3, n0, _IPI, 0) + +DELETE_INFERENCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _DIPI, + {_sSI: _cDIPR, _smit: None}, + (_iPI,), + ((INFERENCE_PROFILE_IDENTIFIER, 9),), +) + +DELETE_INFERENCE_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPO, + {_sSI: _cDIPRo, _smith: None}, +) + +DELETE_INFERENCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _DIP, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/inference-profiles/{inferenceProfileIdentifier}", + } + ) + }, + DELETE_INFERENCE_PROFILE_INPUT, + DELETE_INFERENCE_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_INFERENCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _GIPI, + {_sSI: _cGIPR, _smit: None}, + (_iPI,), + ((INFERENCE_PROFILE_IDENTIFIER, 9),), +) + +GET_INFERENCE_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPO, + {_sSI: _cGIPRo, _smith: None}, + (_iPN, _d, _cA, _uA, _iPA, _mod, _iPIn, _st, _ty), + ( + (INFERENCE_PROFILE_NAME, 1), + (INFERENCE_PROFILE_DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (INFERENCE_PROFILE_ARN, 1), + (lambda: INFERENCE_PROFILE_MODELS, 1), + (lambda: INFERENCE_PROFILE_ID, 1), + (INFERENCE_PROFILE_STATUS, 1), + (lambda: INFERENCE_PROFILE_TYPE, 1), + ), +) + +GET_INFERENCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _GIP, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/inference-profiles/{inferenceProfileIdentifier}", + } + ) + }, + GET_INFERENCE_PROFILE_INPUT, + GET_INFERENCE_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INFERENCE_PROFILE_ID: StaticSchema = (3, n0, _IPIn, 0) + +INFERENCE_PROFILE_MODEL: StaticSchema = ( + 18, + n0, + _IPM, + 0, + (_mA,), + ((lambda: schemas.FOUNDATION_MODEL_ARN, 0),), +) + +INFERENCE_PROFILE_MODELS: StaticSchema = ( + 16, + n0, + _IPMn, + 0, + (_me,), + ((INFERENCE_PROFILE_MODEL, 0),), +) + +INFERENCE_PROFILE_TYPE: StaticSchema = ( + 14, + n0, + _IPT, + 0, + (_SD_, _APPLICATION), + ((-1, {_sV: _SD_}), (-1, {_sV: _APPLICATION})), +) + +LIST_INFERENCE_PROFILES_INPUT: StaticSchema = ( + 18, + n0, + _LIPI, + {_sSI: _cLIPR, _smit: None}, + (_mR, _nT, _tE), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (INFERENCE_PROFILE_TYPE, {_sQ: _ty}), + ), +) + +LIST_INFERENCE_PROFILES_OUTPUT: StaticSchema = ( + 18, + n0, + _LIPO, + {_sSI: _cLIPRo, _smith: None}, + (_iPS, _nT), + ((lambda: INFERENCE_PROFILE_SUMMARIES, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_INFERENCE_PROFILES: StaticOperationSchema = ( + 23, + n0, + _LIP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/inference-profiles"} + ) + }, + LIST_INFERENCE_PROFILES_INPUT, + LIST_INFERENCE_PROFILES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INFERENCE_PROFILE_SUMMARY: StaticSchema = ( + 18, + n0, + _IPSn, + 0, + (_iPN, _d, _cA, _uA, _iPA, _mod, _iPIn, _st, _ty), + ( + (INFERENCE_PROFILE_NAME, 1), + (INFERENCE_PROFILE_DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (INFERENCE_PROFILE_ARN, 1), + (INFERENCE_PROFILE_MODELS, 1), + (INFERENCE_PROFILE_ID, 1), + (INFERENCE_PROFILE_STATUS, 1), + (INFERENCE_PROFILE_TYPE, 1), + ), +) + +INFERENCE_PROFILE_SUMMARIES: StaticSchema = ( + 16, + n0, + _IPSnf, + 0, + (_me,), + ((INFERENCE_PROFILE_SUMMARY, 0),), +) + +DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DMILCI, + {_sSI: _cDMILCR, _smit: None}, +) + +DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DMILCO, + {_sSI: _cDMILCRo, _smith: None}, +) + +DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DMILC, + { + _smithy: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/logging/modelinvocations"} + ) + }, + DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT, + DELETE_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GMILCI, + {_sSI: _cGMILCR, _smit: None}, +) + +GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GMILCO, + {_sSI: _cGMILCRo, _smith: None}, + (_lC,), + ((lambda: LOGGING_CONFIG, 0),), +) + +GET_MODEL_INVOCATION_LOGGING_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GMILC, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/logging/modelinvocations"} + ) + }, + GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT, + GET_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +BUCKET_NAME: StaticSchema = (3, n0, _BN, 0) + +KEY_PREFIX: StaticSchema = (3, n0, _KP, 0) + +S3_CONFIG: StaticSchema = ( + 18, + n0, + _SCo, + 0, + (_bN, _kP), + ((BUCKET_NAME, 1), (KEY_PREFIX, 0)), +) + +LOG_GROUP_NAME: StaticSchema = (3, n0, _LGN, 0) + +CLOUD_WATCH_CONFIG: StaticSchema = ( + 18, + n0, + _CWC, + 0, + (_lGN, _rA, _lDDSC), + ((LOG_GROUP_NAME, 1), (lambda: schemas.ROLE_ARN, 1), (S3_CONFIG, 0)), +) + +LOGGING_CONFIG: StaticSchema = ( + 18, + n0, + _LC, + 0, + (_cWC, _sCo, _tDDE, _iDDE, _eDDE, _vDDE, _aDDE), + ((CLOUD_WATCH_CONFIG, 0), (S3_CONFIG, 0), (2, 0), (2, 0), (2, 0), (2, 0), (2, 0)), +) + +PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PMILCI, + {_sSI: _cPMILCR, _smit: None}, + (_lC,), + ((LOGGING_CONFIG, 1),), +) + +PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PMILCO, + {_sSI: _cPMILCRo, _smith: None}, +) + +PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PMILC, + { + _smithy: MappingProxyType( + {"code": 200, "method": "PUT", "uri": "/logging/modelinvocations"} + ) + }, + PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_INPUT, + PUT_MODEL_INVOCATION_LOGGING_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREATE_MODEL_COPY_JOB_INPUT: StaticSchema = ( + 18, + n0, + _CMCJI, + {_sSI: _cCMCJR, _smit: None}, + (_sMA, _tMN, _mKKI, _tMT, _cRT), + ( + (lambda: schemas.MODEL_ARN, 1), + (lambda: schemas.CUSTOM_MODEL_NAME, 1), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + ), +) + +CREATE_MODEL_COPY_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _CMCJO, + {_sSI: _cCMCJRo, _smith: None}, + (_jA,), + ((lambda: MODEL_COPY_JOB_ARN, 1),), +) + +CREATE_MODEL_COPY_JOB: StaticOperationSchema = ( + 23, + n0, + _CMCJ, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/model-copy-jobs"} + ) + }, + CREATE_MODEL_COPY_JOB_INPUT, + CREATE_MODEL_COPY_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + ), +) + +MODEL_COPY_JOB_ARN: StaticSchema = (3, n0, _MCJAo, 0) + +GET_MODEL_COPY_JOB_INPUT: StaticSchema = ( + 18, + n0, + _GMCJI, + {_sSI: _cGMCJR, _smit: None}, + (_jA,), + ((MODEL_COPY_JOB_ARN, 9),), +) + +GET_MODEL_COPY_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _GMCJO, + {_sSI: _cGMCJRo, _smith: None}, + (_jA, _st, _cTr, _tMA, _tMN, _sAI, _sMA, _tMKKA, _tMT, _fM, _sMN), + ( + (MODEL_COPY_JOB_ARN, 1), + (lambda: MODEL_COPY_JOB_STATUS, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.CUSTOM_MODEL_ARN, 1), + (lambda: schemas.CUSTOM_MODEL_NAME, 0), + (lambda: schemas.ACCOUNT_ID, 1), + (lambda: schemas.MODEL_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + (lambda: schemas.CUSTOM_MODEL_NAME, 0), + ), +) + +GET_MODEL_COPY_JOB: StaticOperationSchema = ( + 23, + n0, + _GMCJ, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/model-copy-jobs/{jobArn}"} + ) + }, + GET_MODEL_COPY_JOB_INPUT, + GET_MODEL_COPY_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_COPY_JOB_STATUS: StaticSchema = ( + 14, + n0, + _MCJS, + 0, + (_IP, _COMPLETED, _FAILED), + ((-1, {_sV: _IPn}), (-1, {_sV: _C}), (-1, {_sV: _F})), +) + +LIST_MODEL_COPY_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LMCJI, + {_sSI: _cLMCJR, _smit: None}, + (_cTA, _cTB, _sEt, _sAE, _sMAE, _tMNC, _mR, _nT, _sB, _sO), + ( + (lambda: schemas.TIMESTAMP, {_sQ: _cTA}), + (lambda: schemas.TIMESTAMP, {_sQ: _cTB}), + (MODEL_COPY_JOB_STATUS, {_sQ: _sEt}), + (lambda: schemas.ACCOUNT_ID, {_sQ: _sAE}), + (lambda: schemas.MODEL_ARN, {_sQ: _sMAE}), + (lambda: schemas.CUSTOM_MODEL_NAME, {_sQ: _oMNC}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.SORT_JOBS_BY, {_sQ: _sB}), + (lambda: schemas.SORT_ORDER, {_sQ: _sO}), + ), +) + +LIST_MODEL_COPY_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMCJO, + {_sSI: _cLMCJRo, _smith: None}, + (_nT, _mCJS), + ((lambda: schemas.PAGINATION_TOKEN, 0), (lambda: MODEL_COPY_JOB_SUMMARIES, 0)), +) + +LIST_MODEL_COPY_JOBS: StaticOperationSchema = ( + 23, + n0, + _LMCJ, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/model-copy-jobs"} + ) + }, + LIST_MODEL_COPY_JOBS_INPUT, + LIST_MODEL_COPY_JOBS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_COPY_JOB_SUMMARY: StaticSchema = ( + 18, + n0, + _MCJSo, + 0, + (_jA, _st, _cTr, _tMA, _tMN, _sAI, _sMA, _tMKKA, _tMT, _fM, _sMN), + ( + (MODEL_COPY_JOB_ARN, 1), + (MODEL_COPY_JOB_STATUS, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.CUSTOM_MODEL_ARN, 1), + (lambda: schemas.CUSTOM_MODEL_NAME, 0), + (lambda: schemas.ACCOUNT_ID, 1), + (lambda: schemas.MODEL_ARN, 1), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + (lambda: schemas.CUSTOM_MODEL_NAME, 0), + ), +) + +MODEL_COPY_JOB_SUMMARIES: StaticSchema = ( + 16, + n0, + _MCJSod, + 0, + (_me,), + ((MODEL_COPY_JOB_SUMMARY, 0),), +) + +IMPORTED_MODEL_NAME: StaticSchema = (3, n0, _IMN, 0) + +CREATE_MODEL_IMPORT_JOB_INPUT: StaticSchema = ( + 18, + n0, + _CMIJI, + {_sSI: _cCMIJR, _smit: None}, + (_jN, _iMN, _rA, _mDSo, _jTo, _iMTm, _cRT, _vCp, _iMKKI), + ( + (lambda: schemas.JOB_NAME, 1), + (IMPORTED_MODEL_NAME, 1), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.MODEL_DATA_SOURCE, 1), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 0), + (lambda: schemas.VPC_CONFIG, 0), + (lambda: schemas.KMS_KEY_ID, 0), + ), +) + +CREATE_MODEL_IMPORT_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _CMIJO, + {_sSI: _cCMIJRo, _smith: None}, + (_jA,), + ((lambda: MODEL_IMPORT_JOB_ARN, 1),), +) + +CREATE_MODEL_IMPORT_JOB: StaticOperationSchema = ( + 23, + n0, + _CMIJ, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/model-import-jobs"} + ) + }, + CREATE_MODEL_IMPORT_JOB_INPUT, + CREATE_MODEL_IMPORT_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_IMPORT_JOB_ARN: StaticSchema = (3, n0, _MIJA, 0) + +IMPORTED_MODEL_IDENTIFIER: StaticSchema = (3, n0, _IMIm, 0) + +DELETE_IMPORTED_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _DIMI, + {_sSI: _cDIMR, _smit: None}, + (_mIo,), + ((IMPORTED_MODEL_IDENTIFIER, 9),), +) + +DELETE_IMPORTED_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _DIMO, + {_sSI: _cDIMRo, _smith: None}, +) + +DELETE_IMPORTED_MODEL: StaticOperationSchema = ( + 23, + n0, + _DIM, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/imported-models/{modelIdentifier}", + } + ) + }, + DELETE_IMPORTED_MODEL_INPUT, + DELETE_IMPORTED_MODEL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_IMPORTED_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _GIMI, + {_sSI: _cGIMR, _smit: None}, + (_mIo,), + ((IMPORTED_MODEL_IDENTIFIER, 9),), +) + +GET_IMPORTED_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _GIMO, + {_sSI: _cGIMRo, _smith: None}, + (_mA, _mN, _jN, _jA, _mDSo, _cTr, _mAo, _mKKA, _iSn, _cMU), + ( + (lambda: IMPORTED_MODEL_ARN, 0), + (IMPORTED_MODEL_NAME, 0), + (lambda: schemas.JOB_NAME, 0), + (MODEL_IMPORT_JOB_ARN, 0), + (lambda: schemas.MODEL_DATA_SOURCE, 0), + (lambda: schemas.TIMESTAMP, 0), + (3, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: INSTRUCT_SUPPORTED, 0), + (lambda: CUSTOM_MODEL_UNITS, 0), + ), +) + +GET_IMPORTED_MODEL: StaticOperationSchema = ( + 23, + n0, + _GIM, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/imported-models/{modelIdentifier}"} + ) + }, + GET_IMPORTED_MODEL_INPUT, + GET_IMPORTED_MODEL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CUSTOM_MODEL_UNITS_VERSION: StaticSchema = (3, n0, _CMUV, 0) + +CUSTOM_MODEL_UNITS: StaticSchema = ( + 18, + n0, + _CMU, + 0, + (_cMUPMC, _cMUV), + ((7, 0), (CUSTOM_MODEL_UNITS_VERSION, 0)), +) + +INSTRUCT_SUPPORTED: StaticSchema = (2, n0, _IS, 0) + +IMPORTED_MODEL_ARN: StaticSchema = (3, n0, _IMA, 0) + +MODEL_IMPORT_JOB_IDENTIFIER: StaticSchema = (3, n0, _MIJI, 0) + +GET_MODEL_IMPORT_JOB_INPUT: StaticSchema = ( + 18, + n0, + _GMIJI, + {_sSI: _cGMIJR, _smit: None}, + (_jIo,), + ((MODEL_IMPORT_JOB_IDENTIFIER, 9),), +) + +GET_MODEL_IMPORT_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _GMIJO, + {_sSI: _cGMIJRo, _smith: None}, + (_jA, _jN, _iMN, _iMA, _rA, _mDSo, _st, _fM, _cTr, _lMT, _eT, _vCp, _iMKKA), + ( + (MODEL_IMPORT_JOB_ARN, 0), + (lambda: schemas.JOB_NAME, 0), + (IMPORTED_MODEL_NAME, 0), + (IMPORTED_MODEL_ARN, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.MODEL_DATA_SOURCE, 0), + (lambda: MODEL_IMPORT_JOB_STATUS, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.VPC_CONFIG, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +GET_MODEL_IMPORT_JOB: StaticOperationSchema = ( + 23, + n0, + _GMIJ, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/model-import-jobs/{jobIdentifier}"} + ) + }, + GET_MODEL_IMPORT_JOB_INPUT, + GET_MODEL_IMPORT_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_IMPORT_JOB_STATUS: StaticSchema = ( + 14, + n0, + _MIJS, + 0, + (_IP, _COMPLETED, _FAILED), + ((-1, {_sV: _IPn}), (-1, {_sV: _C}), (-1, {_sV: _F})), +) + +LIST_IMPORTED_MODELS_INPUT: StaticSchema = ( + 18, + n0, + _LIMI, + {_sSI: _cLIMR, _smit: None}, + (_cTB, _cTA, _nC, _mR, _nT, _sB, _sO), + ( + (lambda: schemas.TIMESTAMP, {_sQ: _cTB}), + (lambda: schemas.TIMESTAMP, {_sQ: _cTA}), + (IMPORTED_MODEL_NAME, {_sQ: _nC}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.SORT_MODELS_BY, {_sQ: _sB}), + (lambda: schemas.SORT_ORDER, {_sQ: _sO}), + ), +) + +LIST_IMPORTED_MODELS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIMO, + {_sSI: _cLIMRo, _smith: None}, + (_nT, _mSo), + ((lambda: schemas.PAGINATION_TOKEN, 0), (lambda: IMPORTED_MODEL_SUMMARY_LIST, 0)), +) + +LIST_IMPORTED_MODELS: StaticOperationSchema = ( + 23, + n0, + _LIM, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/imported-models"} + ) + }, + LIST_IMPORTED_MODELS_INPUT, + LIST_IMPORTED_MODELS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_ARCHITECTURE: StaticSchema = (3, n0, _MAo, 0) + +IMPORTED_MODEL_SUMMARY: StaticSchema = ( + 18, + n0, + _IMS, + 0, + (_mA, _mN, _cTr, _iSn, _mAo), + ( + (IMPORTED_MODEL_ARN, 1), + (IMPORTED_MODEL_NAME, 1), + (lambda: schemas.TIMESTAMP, 1), + (INSTRUCT_SUPPORTED, 0), + (MODEL_ARCHITECTURE, 0), + ), +) + +IMPORTED_MODEL_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _IMSL, + 0, + (_me,), + ((IMPORTED_MODEL_SUMMARY, 0),), +) + +LIST_MODEL_IMPORT_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LMIJI, + {_sSI: _cLMIJR, _smit: None}, + (_cTA, _cTB, _sEt, _nC, _mR, _nT, _sB, _sO), + ( + (lambda: schemas.TIMESTAMP, {_sQ: _cTA}), + (lambda: schemas.TIMESTAMP, {_sQ: _cTB}), + (MODEL_IMPORT_JOB_STATUS, {_sQ: _sEt}), + (lambda: schemas.JOB_NAME, {_sQ: _nC}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.SORT_JOBS_BY, {_sQ: _sB}), + (lambda: schemas.SORT_ORDER, {_sQ: _sO}), + ), +) + +LIST_MODEL_IMPORT_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMIJO, + {_sSI: _cLMIJRo, _smith: None}, + (_nT, _mIJS), + ( + (lambda: schemas.PAGINATION_TOKEN, 0), + (lambda: schemas.MODEL_IMPORT_JOB_SUMMARIES, 0), + ), +) + +LIST_MODEL_IMPORT_JOBS: StaticOperationSchema = ( + 23, + n0, + _LMIJ, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/model-import-jobs"} + ) + }, + LIST_MODEL_IMPORT_JOBS_INPUT, + LIST_MODEL_IMPORT_JOBS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_8.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_8.py new file mode 100644 index 000000000..b90beaa86 --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_8.py @@ -0,0 +1,1319 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrock" +_s = "smithy.api#default" +_m = "message" +_me = "member" +_smi = "smithy.api#required" +_sV = "smithy.api#enumValue" +_cA = "createdAt" +_uA = "updatedAt" +_sU = "s3Uri" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_IP = "IN_PROGRESS" +_IPn = "InProgress" +_COMPLETED = "COMPLETED" +_C = "Completed" +_FAILED = "FAILED" +_F = "Failed" +_PC = "PARTIALLY_COMPLETED" +_PCa = "PartiallyCompleted" +_STOPPING = "STOPPING" +_S = "Stopping" +_STOPPED = "STOPPED" +_St = "Stopped" +_jIo = "jobIdentifier" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_mI = "modelId" +_jN = "jobName" +_sT = "smithy.api#idempotencyToken" +_ta = "tags" +_jA = "jobArn" +_sL = "smithy.api#httpLabel" +_cTr = "creationTime" +_lMT = "lastModifiedTime" +_fM = "failureMessage" +_CT = "CREATION_TIME" +_CTr = "CreationTime" +_mR = "maxResults" +_sQ = "smithy.api#httpQuery" +_nT = "nextToken" +_sB = "sortBy" +_sO = "sortOrder" +_AVAILABLE = "AVAILABLE" +_st = "status" +_smithya = "smithy.api#sensitive" +_d = "description" +_ty = "type" +_cRT = "clientRequestToken" +_TEXT = "TEXT" +_SCHEDULED = "SCHEDULED" +_mA = "modelArn" +_CREATING = "CREATING" +_Cr = "Creating" +_ACTIVE = "ACTIVE" +_UPDATING = "UPDATING" +_U = "Updating" +_nC = "nameContains" +_sEt = "statusEquals" +_mN = "modelName" +_rA = "roleArn" +_mIo = "modelIdentifier" +_FT = "FINE_TUNING" +_CPT = "CONTINUED_PRE_TRAINING" +_DISTILLATION = "DISTILLATION" +_oDC = "outputDataConfig" +_mSo = "modelSummaries" +_DEFAULT = "DEFAULT" +_de = "default" +_CUSTOM = "CUSTOM" +_IMAGE = "IMAGE" +_iMn = "inputModalities" +_oM = "outputModalities" +_mod = "models" +_iMN = "importedModelName" +_vCp = "vpcConfig" +_iMA = "importedModelArn" +_eT = "endTime" +_MIJSo = "ModelImportJobSummary" +_MIJSod = "ModelImportJobSummaries" +_MIIT = "ModelInvocationIdempotencyToken" +_SIF = "S3InputFormat" +_JSONL = "JSONL" +_MIJSIDC = "ModelInvocationJobS3InputDataConfig" +_sIF = "s3InputFormat" +_sBO = "s3BucketOwner" +_MIJIDC = "ModelInvocationJobInputDataConfig" +_sIDC = "s3InputDataConfig" +_MIJN = "ModelInvocationJobName" +_MIo = "ModelId" +_MIT = "ModelInvocationType" +_IM = "InvokeModel" +_Co = "Converse" +_MIJSODC = "ModelInvocationJobS3OutputDataConfig" +_sEKI = "s3EncryptionKeyId" +_MIJODC = "ModelInvocationJobOutputDataConfig" +_sODC = "s3OutputDataConfig" +_MIJTDIH = "ModelInvocationJobTimeoutDurationInHours" +_CMIJIr = "CreateModelInvocationJobInput" +_cCMIJRom = "com.amazonaws.bedrock#CreateModelInvocationJobRequest" +_iDC = "inputDataConfig" +_tDIH = "timeoutDurationInHours" +_mIT = "modelInvocationType" +_MIJAo = "ModelInvocationJobArn" +_CMIJOr = "CreateModelInvocationJobOutput" +_cCMIJRoma = "com.amazonaws.bedrock#CreateModelInvocationJobResponse" +_CMIJr = "CreateModelInvocationJob" +_MIJIo = "ModelInvocationJobIdentifier" +_GMIJIe = "GetModelInvocationJobInput" +_cGMIJRom = "com.amazonaws.bedrock#GetModelInvocationJobRequest" +_NNL = "NonNegativeLong" +_M = "Message" +_MIJSode = "ModelInvocationJobStatus" +_SUBMITTED = "SUBMITTED" +_Sub = "Submitted" +_EXPIRED = "EXPIRED" +_E = "Expired" +_VALIDATING = "VALIDATING" +_Val = "Validating" +_Sc = "Scheduled" +_GMIJOe = "GetModelInvocationJobOutput" +_cGMIJRoma = "com.amazonaws.bedrock#GetModelInvocationJobResponse" +_sTu = "submitTime" +_jET = "jobExpirationTime" +_tRC = "totalRecordCount" +_pRC = "processedRecordCount" +_sRC = "successRecordCount" +_eRC = "errorRecordCount" +_GMIJe = "GetModelInvocationJob" +_LMIJIi = "ListModelInvocationJobsInput" +_cLMIJRom = "com.amazonaws.bedrock#ListModelInvocationJobsRequest" +_sTA = "submitTimeAfter" +_sTB = "submitTimeBefore" +_MIJSodel = "ModelInvocationJobSummary" +_MIJSodeln = "ModelInvocationJobSummaries" +_LMIJOi = "ListModelInvocationJobsOutput" +_cLMIJRoma = "com.amazonaws.bedrock#ListModelInvocationJobsResponse" +_iJS = "invocationJobSummaries" +_LMIJi = "ListModelInvocationJobs" +_SMIJI = "StopModelInvocationJobInput" +_cSMIJR = "com.amazonaws.bedrock#StopModelInvocationJobRequest" +_SMIJO = "StopModelInvocationJobOutput" +_cSMIJRo = "com.amazonaws.bedrock#StopModelInvocationJobResponse" +_SMIJ = "StopModelInvocationJob" +_GFMI = "GetFoundationModelIdentifier" +_GFMIe = "GetFoundationModelInput" +_cGFMR = "com.amazonaws.bedrock#GetFoundationModelRequest" +_MCod = "ModelCustomization" +_MCL = "ModelCustomizationList" +_ITnf = "InferenceType" +_OD = "ON_DEMAND" +_PROVISIONED = "PROVISIONED" +_ITL = "InferenceTypeList" +_MM = "ModelModality" +_EMBEDDING = "EMBEDDING" +_MML = "ModelModalityList" +_FMLS = "FoundationModelLifecycleStatus" +_LEGACY = "LEGACY" +_FML = "FoundationModelLifecycle" +_sOLT = "startOfLifeTime" +_eOLT = "endOfLifeTime" +_lTe = "legacyTime" +_pEAT = "publicExtendedAccessTime" +_BNr = "BrandedName" +_FMD = "FoundationModelDetails" +_pNr = "providerName" +_rSS = "responseStreamingSupported" +_cSu = "customizationsSupported" +_iTS = "inferenceTypesSupported" +_mL = "modelLifecycle" +_GFMO = "GetFoundationModelOutput" +_cGFMRo = "com.amazonaws.bedrock#GetFoundationModelResponse" +_mD = "modelDetails" +_GFM = "GetFoundationModel" +_P = "Provider" +_LFMI = "ListFoundationModelsInput" +_cLFMR = "com.amazonaws.bedrock#ListFoundationModelsRequest" +_bP = "byProvider" +_bCT = "byCustomizationType" +_bOMy = "byOutputModality" +_bIT = "byInferenceType" +_FMS = "FoundationModelSummary" +_FMSL = "FoundationModelSummaryList" +_LFMO = "ListFoundationModelsOutput" +_cLFMRo = "com.amazonaws.bedrock#ListFoundationModelsResponse" +_LFM = "ListFoundationModels" +_PRD = "PromptRouterDescription" +_PRTMA = "PromptRouterTargetModelArn" +_PRTM = "PromptRouterTargetModel" +_PRTMr = "PromptRouterTargetModels" +_PRN = "PromptRouterName" +_RC = "RoutingCriteria" +_rQD = "responseQualityDifference" +_CPRI = "CreatePromptRouterInput" +_cCPRR = "com.amazonaws.bedrock#CreatePromptRouterRequest" +_pRN = "promptRouterName" +_rCo = "routingCriteria" +_fMa = "fallbackModel" +_PRA = "PromptRouterArn" +_CPRO = "CreatePromptRouterOutput" +_cCPRRo = "com.amazonaws.bedrock#CreatePromptRouterResponse" +_pRAr = "promptRouterArn" +_CPR = "CreatePromptRouter" +_DPRI = "DeletePromptRouterInput" +_cDPRR = "com.amazonaws.bedrock#DeletePromptRouterRequest" +_DPRO = "DeletePromptRouterOutput" +_cDPRRo = "com.amazonaws.bedrock#DeletePromptRouterResponse" +_DPR = "DeletePromptRouter" +_GPRI = "GetPromptRouterInput" +_cGPRR = "com.amazonaws.bedrock#GetPromptRouterRequest" +_PRS = "PromptRouterStatus" +_PRT = "PromptRouterType" +_cu = "custom" +_GPRO = "GetPromptRouterOutput" +_cGPRRo = "com.amazonaws.bedrock#GetPromptRouterResponse" +_GPR = "GetPromptRouter" +_LPRI = "ListPromptRoutersInput" +_cLPRR = "com.amazonaws.bedrock#ListPromptRoutersRequest" +_PRSr = "PromptRouterSummary" +_PRSro = "PromptRouterSummaries" +_LPRO = "ListPromptRoutersOutput" +_cLPRRo = "com.amazonaws.bedrock#ListPromptRoutersResponse" +_pRS = "promptRouterSummaries" +_LPR = "ListPromptRouters" +_CD = "CommitmentDuration" +_OM = "ONE_MONTH" +_OMn = "OneMonth" +_SM = "SIX_MONTHS" +_SMi = "SixMonths" +_PI = "PositiveInteger" +_PMN = "ProvisionedModelName" +_CPMTI = "CreateProvisionedModelThroughputInput" +_cCPMTR = "com.amazonaws.bedrock#CreateProvisionedModelThroughputRequest" +_mU = "modelUnits" +_pMN = "provisionedModelName" +_cD = "commitmentDuration" +_PMA = "ProvisionedModelArn" +_CPMTO = "CreateProvisionedModelThroughputOutput" +_cCPMTRo = "com.amazonaws.bedrock#CreateProvisionedModelThroughputResponse" +_pMA = "provisionedModelArn" +_CPMT = "CreateProvisionedModelThroughput" +_PMI = "ProvisionedModelId" +_DPMTI = "DeleteProvisionedModelThroughputInput" +_cDPMTR = "com.amazonaws.bedrock#DeleteProvisionedModelThroughputRequest" +_pMI = "provisionedModelId" +_DPMTO = "DeleteProvisionedModelThroughputOutput" +_cDPMTRo = "com.amazonaws.bedrock#DeleteProvisionedModelThroughputResponse" +_DPMT = "DeleteProvisionedModelThroughput" +_GPMTI = "GetProvisionedModelThroughputInput" +_cGPMTR = "com.amazonaws.bedrock#GetProvisionedModelThroughputRequest" +_PMS = "ProvisionedModelStatus" +_IS_ = "IN_SERVICE" +_ISn = "InService" +_GPMTO = "GetProvisionedModelThroughputOutput" +_cGPMTRo = "com.amazonaws.bedrock#GetProvisionedModelThroughputResponse" +_dMU = "desiredModelUnits" +_dMA = "desiredModelArn" +_fMA = "foundationModelArn" +_cET = "commitmentExpirationTime" +_GPMT = "GetProvisionedModelThroughput" +_SBPM = "SortByProvisionedModels" + +MODEL_IMPORT_JOB_SUMMARY: StaticSchema = ( + 18, + n0, + _MIJSo, + 0, + (_jA, _jN, _st, _lMT, _cTr, _eT, _iMA, _iMN), + ( + (lambda: schemas.MODEL_IMPORT_JOB_ARN, 1), + (lambda: schemas.JOB_NAME, 1), + (lambda: schemas.MODEL_IMPORT_JOB_STATUS, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.IMPORTED_MODEL_ARN, 0), + (lambda: schemas.IMPORTED_MODEL_NAME, 0), + ), +) + +MODEL_IMPORT_JOB_SUMMARIES: StaticSchema = ( + 16, + n0, + _MIJSod, + 0, + (_me,), + ((MODEL_IMPORT_JOB_SUMMARY, 0),), +) + +MODEL_INVOCATION_IDEMPOTENCY_TOKEN: StaticSchema = (3, n0, _MIIT, 0) + +S3_INPUT_FORMAT: StaticSchema = (14, n0, _SIF, 0, (_JSONL,), ((-1, {_sV: _JSONL}),)) + +MODEL_INVOCATION_JOB_S3_INPUT_DATA_CONFIG: StaticSchema = ( + 18, + n0, + _MIJSIDC, + 0, + (_sIF, _sU, _sBO), + ( + (S3_INPUT_FORMAT, 0), + (lambda: schemas.S3_URI, 1), + (lambda: schemas.ACCOUNT_ID, 0), + ), +) + +MODEL_INVOCATION_JOB_INPUT_DATA_CONFIG: StaticSchema = ( + 19, + n0, + _MIJIDC, + 0, + (_sIDC,), + ((MODEL_INVOCATION_JOB_S3_INPUT_DATA_CONFIG, 0),), +) + +MODEL_INVOCATION_JOB_NAME: StaticSchema = (3, n0, _MIJN, 0) + +MODEL_ID: StaticSchema = (3, n0, _MIo, 0) + +MODEL_INVOCATION_TYPE: StaticSchema = ( + 14, + n0, + _MIT, + 0, + (_IM, _Co), + ((-1, {_sV: _IM}), (-1, {_sV: _Co})), +) + +MODEL_INVOCATION_JOB_S3_OUTPUT_DATA_CONFIG: StaticSchema = ( + 18, + n0, + _MIJSODC, + 0, + (_sU, _sEKI, _sBO), + ( + (lambda: schemas.S3_URI, 1), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.ACCOUNT_ID, 0), + ), +) + +MODEL_INVOCATION_JOB_OUTPUT_DATA_CONFIG: StaticSchema = ( + 19, + n0, + _MIJODC, + 0, + (_sODC,), + ((MODEL_INVOCATION_JOB_S3_OUTPUT_DATA_CONFIG, 0),), +) + +MODEL_INVOCATION_JOB_TIMEOUT_DURATION_IN_HOURS: StaticSchema = (7, n0, _MIJTDIH, 0) + +CREATE_MODEL_INVOCATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _CMIJIr, + {_sSI: _cCMIJRom, _smit: None}, + (_jN, _rA, _cRT, _mI, _iDC, _oDC, _vCp, _tDIH, _ta, _mIT), + ( + (MODEL_INVOCATION_JOB_NAME, 1), + (lambda: schemas.ROLE_ARN, 1), + (MODEL_INVOCATION_IDEMPOTENCY_TOKEN, 2), + (MODEL_ID, 1), + (MODEL_INVOCATION_JOB_INPUT_DATA_CONFIG, 1), + (MODEL_INVOCATION_JOB_OUTPUT_DATA_CONFIG, 1), + (lambda: schemas.VPC_CONFIG, 0), + (MODEL_INVOCATION_JOB_TIMEOUT_DURATION_IN_HOURS, 0), + (lambda: schemas.TAG_LIST, 0), + (MODEL_INVOCATION_TYPE, {_s: _IM}), + ), +) + +CREATE_MODEL_INVOCATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _CMIJOr, + {_sSI: _cCMIJRoma, _smith: None}, + (_jA,), + ((lambda: MODEL_INVOCATION_JOB_ARN, 1),), +) + +CREATE_MODEL_INVOCATION_JOB: StaticOperationSchema = ( + 23, + n0, + _CMIJr, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/model-invocation-job"} + ) + }, + CREATE_MODEL_INVOCATION_JOB_INPUT, + CREATE_MODEL_INVOCATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_INVOCATION_JOB_ARN: StaticSchema = (3, n0, _MIJAo, 0) + +MODEL_INVOCATION_JOB_IDENTIFIER: StaticSchema = (3, n0, _MIJIo, 0) + +GET_MODEL_INVOCATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _GMIJIe, + {_sSI: _cGMIJRom, _smit: None}, + (_jIo,), + ((MODEL_INVOCATION_JOB_IDENTIFIER, 9),), +) + +GET_MODEL_INVOCATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _GMIJOe, + {_sSI: _cGMIJRoma, _smith: None}, + ( + _jA, + _jN, + _mI, + _cRT, + _rA, + _st, + _m, + _sTu, + _lMT, + _eT, + _iDC, + _oDC, + _vCp, + _tDIH, + _jET, + _mIT, + _tRC, + _pRC, + _sRC, + _eRC, + ), + ( + (MODEL_INVOCATION_JOB_ARN, 1), + (MODEL_INVOCATION_JOB_NAME, 0), + (MODEL_ID, 1), + (MODEL_INVOCATION_IDEMPOTENCY_TOKEN, 0), + (lambda: schemas.ROLE_ARN, 1), + (lambda: MODEL_INVOCATION_JOB_STATUS, 0), + (lambda: MESSAGE, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (MODEL_INVOCATION_JOB_INPUT_DATA_CONFIG, 1), + (MODEL_INVOCATION_JOB_OUTPUT_DATA_CONFIG, 1), + (lambda: schemas.VPC_CONFIG, 0), + (MODEL_INVOCATION_JOB_TIMEOUT_DURATION_IN_HOURS, 0), + (lambda: schemas.TIMESTAMP, 0), + (MODEL_INVOCATION_TYPE, 0), + (lambda: NON_NEGATIVE_LONG, 0), + (lambda: NON_NEGATIVE_LONG, 0), + (lambda: NON_NEGATIVE_LONG, 0), + (lambda: NON_NEGATIVE_LONG, 0), + ), +) + +GET_MODEL_INVOCATION_JOB: StaticOperationSchema = ( + 23, + n0, + _GMIJe, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/model-invocation-job/{jobIdentifier}", + } + ) + }, + GET_MODEL_INVOCATION_JOB_INPUT, + GET_MODEL_INVOCATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +NON_NEGATIVE_LONG: StaticSchema = (8, n0, _NNL, 0) + +MESSAGE: StaticSchema = (3, n0, _M, 4) + +MODEL_INVOCATION_JOB_STATUS: StaticSchema = ( + 14, + n0, + _MIJSode, + 0, + ( + _SUBMITTED, + _IP, + _COMPLETED, + _FAILED, + _STOPPING, + _STOPPED, + _PC, + _EXPIRED, + _VALIDATING, + _SCHEDULED, + ), + ( + (-1, {_sV: _Sub}), + (-1, {_sV: _IPn}), + (-1, {_sV: _C}), + (-1, {_sV: _F}), + (-1, {_sV: _S}), + (-1, {_sV: _St}), + (-1, {_sV: _PCa}), + (-1, {_sV: _E}), + (-1, {_sV: _Val}), + (-1, {_sV: _Sc}), + ), +) + +LIST_MODEL_INVOCATION_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LMIJIi, + {_sSI: _cLMIJRom, _smit: None}, + (_sTA, _sTB, _sEt, _nC, _mR, _nT, _sB, _sO), + ( + (lambda: schemas.TIMESTAMP, {_sQ: _sTA}), + (lambda: schemas.TIMESTAMP, {_sQ: _sTB}), + (MODEL_INVOCATION_JOB_STATUS, {_sQ: _sEt}), + (MODEL_INVOCATION_JOB_NAME, {_sQ: _nC}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.SORT_JOBS_BY, {_sQ: _sB}), + (lambda: schemas.SORT_ORDER, {_sQ: _sO}), + ), +) + +LIST_MODEL_INVOCATION_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMIJOi, + {_sSI: _cLMIJRoma, _smith: None}, + (_nT, _iJS), + ( + (lambda: schemas.PAGINATION_TOKEN, 0), + (lambda: MODEL_INVOCATION_JOB_SUMMARIES, 0), + ), +) + +LIST_MODEL_INVOCATION_JOBS: StaticOperationSchema = ( + 23, + n0, + _LMIJi, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/model-invocation-jobs"} + ) + }, + LIST_MODEL_INVOCATION_JOBS_INPUT, + LIST_MODEL_INVOCATION_JOBS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_INVOCATION_JOB_SUMMARY: StaticSchema = ( + 18, + n0, + _MIJSodel, + 0, + ( + _jA, + _jN, + _mI, + _cRT, + _rA, + _st, + _m, + _sTu, + _lMT, + _eT, + _iDC, + _oDC, + _vCp, + _tDIH, + _jET, + _mIT, + _tRC, + _pRC, + _sRC, + _eRC, + ), + ( + (MODEL_INVOCATION_JOB_ARN, 1), + (MODEL_INVOCATION_JOB_NAME, 1), + (MODEL_ID, 1), + (MODEL_INVOCATION_IDEMPOTENCY_TOKEN, 0), + (lambda: schemas.ROLE_ARN, 1), + (MODEL_INVOCATION_JOB_STATUS, 0), + (MESSAGE, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (MODEL_INVOCATION_JOB_INPUT_DATA_CONFIG, 1), + (MODEL_INVOCATION_JOB_OUTPUT_DATA_CONFIG, 1), + (lambda: schemas.VPC_CONFIG, 0), + (MODEL_INVOCATION_JOB_TIMEOUT_DURATION_IN_HOURS, 0), + (lambda: schemas.TIMESTAMP, 0), + (MODEL_INVOCATION_TYPE, 0), + (NON_NEGATIVE_LONG, 0), + (NON_NEGATIVE_LONG, 0), + (NON_NEGATIVE_LONG, 0), + (NON_NEGATIVE_LONG, 0), + ), +) + +MODEL_INVOCATION_JOB_SUMMARIES: StaticSchema = ( + 16, + n0, + _MIJSodeln, + 0, + (_me,), + ((MODEL_INVOCATION_JOB_SUMMARY, 0),), +) + +STOP_MODEL_INVOCATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SMIJI, + {_sSI: _cSMIJR, _smit: None}, + (_jIo,), + ((MODEL_INVOCATION_JOB_IDENTIFIER, 9),), +) + +STOP_MODEL_INVOCATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SMIJO, + {_sSI: _cSMIJRo, _smith: None}, +) + +STOP_MODEL_INVOCATION_JOB: StaticOperationSchema = ( + 23, + n0, + _SMIJ, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/model-invocation-job/{jobIdentifier}/stop", + } + ) + }, + STOP_MODEL_INVOCATION_JOB_INPUT, + STOP_MODEL_INVOCATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_FOUNDATION_MODEL_IDENTIFIER: StaticSchema = (3, n0, _GFMI, 0) + +GET_FOUNDATION_MODEL_INPUT: StaticSchema = ( + 18, + n0, + _GFMIe, + {_sSI: _cGFMR, _smit: None}, + (_mIo,), + ((GET_FOUNDATION_MODEL_IDENTIFIER, 9),), +) + +GET_FOUNDATION_MODEL_OUTPUT: StaticSchema = ( + 18, + n0, + _GFMO, + {_sSI: _cGFMRo, _smith: None}, + (_mD,), + ((lambda: FOUNDATION_MODEL_DETAILS, 0),), +) + +GET_FOUNDATION_MODEL: StaticOperationSchema = ( + 23, + n0, + _GFM, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/foundation-models/{modelIdentifier}", + } + ) + }, + GET_FOUNDATION_MODEL_INPUT, + GET_FOUNDATION_MODEL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_CUSTOMIZATION: StaticSchema = ( + 14, + n0, + _MCod, + 0, + (_FT, _CPT, _DISTILLATION), + ((-1, {_sV: _FT}), (-1, {_sV: _CPT}), (-1, {_sV: _DISTILLATION})), +) + +MODEL_CUSTOMIZATION_LIST: StaticSchema = ( + 16, + n0, + _MCL, + 0, + (_me,), + ((MODEL_CUSTOMIZATION, 0),), +) + +INFERENCE_TYPE: StaticSchema = ( + 14, + n0, + _ITnf, + 0, + (_OD, _PROVISIONED), + ((-1, {_sV: _OD}), (-1, {_sV: _PROVISIONED})), +) + +INFERENCE_TYPE_LIST: StaticSchema = (16, n0, _ITL, 0, (_me,), ((INFERENCE_TYPE, 0),)) + +MODEL_MODALITY: StaticSchema = ( + 14, + n0, + _MM, + 0, + (_TEXT, _IMAGE, _EMBEDDING), + ((-1, {_sV: _TEXT}), (-1, {_sV: _IMAGE}), (-1, {_sV: _EMBEDDING})), +) + +MODEL_MODALITY_LIST: StaticSchema = (16, n0, _MML, 0, (_me,), ((MODEL_MODALITY, 0),)) + +FOUNDATION_MODEL_LIFECYCLE_STATUS: StaticSchema = ( + 14, + n0, + _FMLS, + 0, + (_ACTIVE, _LEGACY), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _LEGACY})), +) + +FOUNDATION_MODEL_LIFECYCLE: StaticSchema = ( + 18, + n0, + _FML, + 0, + (_st, _sOLT, _eOLT, _lTe, _pEAT), + ( + (FOUNDATION_MODEL_LIFECYCLE_STATUS, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +BRANDED_NAME: StaticSchema = (3, n0, _BNr, 0) + +FOUNDATION_MODEL_DETAILS: StaticSchema = ( + 18, + n0, + _FMD, + 0, + (_mA, _mI, _mN, _pNr, _iMn, _oM, _rSS, _cSu, _iTS, _mL), + ( + (lambda: schemas.FOUNDATION_MODEL_ARN, 1), + (lambda: schemas.BEDROCK_MODEL_ID, 1), + (BRANDED_NAME, 0), + (BRANDED_NAME, 0), + (MODEL_MODALITY_LIST, 0), + (MODEL_MODALITY_LIST, 0), + (2, 0), + (MODEL_CUSTOMIZATION_LIST, 0), + (INFERENCE_TYPE_LIST, 0), + (FOUNDATION_MODEL_LIFECYCLE, 0), + ), +) + +PROVIDER: StaticSchema = (3, n0, _P, 0) + +LIST_FOUNDATION_MODELS_INPUT: StaticSchema = ( + 18, + n0, + _LFMI, + {_sSI: _cLFMR, _smit: None}, + (_bP, _bCT, _bOMy, _bIT), + ( + (PROVIDER, {_sQ: _bP}), + (MODEL_CUSTOMIZATION, {_sQ: _bCT}), + (MODEL_MODALITY, {_sQ: _bOMy}), + (INFERENCE_TYPE, {_sQ: _bIT}), + ), +) + +LIST_FOUNDATION_MODELS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFMO, + {_sSI: _cLFMRo, _smith: None}, + (_mSo,), + ((lambda: FOUNDATION_MODEL_SUMMARY_LIST, 0),), +) + +LIST_FOUNDATION_MODELS: StaticOperationSchema = ( + 23, + n0, + _LFM, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/foundation-models"} + ) + }, + LIST_FOUNDATION_MODELS_INPUT, + LIST_FOUNDATION_MODELS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FOUNDATION_MODEL_SUMMARY: StaticSchema = ( + 18, + n0, + _FMS, + 0, + (_mA, _mI, _mN, _pNr, _iMn, _oM, _rSS, _cSu, _iTS, _mL), + ( + (lambda: schemas.FOUNDATION_MODEL_ARN, 1), + (lambda: schemas.BEDROCK_MODEL_ID, 1), + (BRANDED_NAME, 0), + (BRANDED_NAME, 0), + (MODEL_MODALITY_LIST, 0), + (MODEL_MODALITY_LIST, 0), + (2, 0), + (MODEL_CUSTOMIZATION_LIST, 0), + (INFERENCE_TYPE_LIST, 0), + (FOUNDATION_MODEL_LIFECYCLE, 0), + ), +) + +FOUNDATION_MODEL_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _FMSL, + 0, + (_me,), + ((FOUNDATION_MODEL_SUMMARY, 0),), +) + +PROMPT_ROUTER_DESCRIPTION: StaticSchema = (3, n0, _PRD, 4) + +PROMPT_ROUTER_TARGET_MODEL_ARN: StaticSchema = (3, n0, _PRTMA, 0) + +PROMPT_ROUTER_TARGET_MODEL: StaticSchema = ( + 18, + n0, + _PRTM, + 0, + (_mA,), + ((PROMPT_ROUTER_TARGET_MODEL_ARN, 1),), +) + +PROMPT_ROUTER_TARGET_MODELS: StaticSchema = ( + 16, + n0, + _PRTMr, + 0, + (_me,), + ((PROMPT_ROUTER_TARGET_MODEL, 0),), +) + +PROMPT_ROUTER_NAME: StaticSchema = (3, n0, _PRN, 0) + +ROUTING_CRITERIA: StaticSchema = (18, n0, _RC, 0, (_rQD,), ((10, 1),)) + +CREATE_PROMPT_ROUTER_INPUT: StaticSchema = ( + 18, + n0, + _CPRI, + {_sSI: _cCPRR, _smit: None}, + (_cRT, _pRN, _mod, _d, _rCo, _fMa, _ta), + ( + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + (PROMPT_ROUTER_NAME, 1), + (PROMPT_ROUTER_TARGET_MODELS, 1), + (PROMPT_ROUTER_DESCRIPTION, 0), + (ROUTING_CRITERIA, 1), + (PROMPT_ROUTER_TARGET_MODEL, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_PROMPT_ROUTER_OUTPUT: StaticSchema = ( + 18, + n0, + _CPRO, + {_sSI: _cCPRRo, _smith: None}, + (_pRAr,), + ((lambda: PROMPT_ROUTER_ARN, 0),), +) + +CREATE_PROMPT_ROUTER: StaticOperationSchema = ( + 23, + n0, + _CPR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/prompt-routers"} + ) + }, + CREATE_PROMPT_ROUTER_INPUT, + CREATE_PROMPT_ROUTER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PROMPT_ROUTER_ARN: StaticSchema = (3, n0, _PRA, 0) + +DELETE_PROMPT_ROUTER_INPUT: StaticSchema = ( + 18, + n0, + _DPRI, + {_sSI: _cDPRR, _smit: None}, + (_pRAr,), + ((PROMPT_ROUTER_ARN, 9),), +) + +DELETE_PROMPT_ROUTER_OUTPUT: StaticSchema = ( + 18, + n0, + _DPRO, + {_sSI: _cDPRRo, _smith: None}, +) + +DELETE_PROMPT_ROUTER: StaticOperationSchema = ( + 23, + n0, + _DPR, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/prompt-routers/{promptRouterArn}", + } + ) + }, + DELETE_PROMPT_ROUTER_INPUT, + DELETE_PROMPT_ROUTER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_PROMPT_ROUTER_INPUT: StaticSchema = ( + 18, + n0, + _GPRI, + {_sSI: _cGPRR, _smit: None}, + (_pRAr,), + ((PROMPT_ROUTER_ARN, 9),), +) + +GET_PROMPT_ROUTER_OUTPUT: StaticSchema = ( + 18, + n0, + _GPRO, + {_sSI: _cGPRRo, _smith: None}, + (_pRN, _rCo, _d, _cA, _uA, _pRAr, _mod, _fMa, _st, _ty), + ( + (PROMPT_ROUTER_NAME, 1), + (ROUTING_CRITERIA, 1), + (PROMPT_ROUTER_DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (PROMPT_ROUTER_ARN, 1), + (PROMPT_ROUTER_TARGET_MODELS, 1), + (PROMPT_ROUTER_TARGET_MODEL, 1), + (lambda: PROMPT_ROUTER_STATUS, 1), + (lambda: PROMPT_ROUTER_TYPE, 1), + ), +) + +GET_PROMPT_ROUTER: StaticOperationSchema = ( + 23, + n0, + _GPR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/prompt-routers/{promptRouterArn}"} + ) + }, + GET_PROMPT_ROUTER_INPUT, + GET_PROMPT_ROUTER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PROMPT_ROUTER_STATUS: StaticSchema = ( + 14, + n0, + _PRS, + 0, + (_AVAILABLE,), + ((-1, {_sV: _AVAILABLE}),), +) + +PROMPT_ROUTER_TYPE: StaticSchema = ( + 14, + n0, + _PRT, + 0, + (_CUSTOM, _DEFAULT), + ((-1, {_sV: _cu}), (-1, {_sV: _de})), +) + +LIST_PROMPT_ROUTERS_INPUT: StaticSchema = ( + 18, + n0, + _LPRI, + {_sSI: _cLPRR, _smit: None}, + (_mR, _nT, _ty), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (PROMPT_ROUTER_TYPE, {_s: _de, _sQ: _ty}), + ), +) + +LIST_PROMPT_ROUTERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPRO, + {_sSI: _cLPRRo, _smith: None}, + (_pRS, _nT), + ((lambda: PROMPT_ROUTER_SUMMARIES, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_PROMPT_ROUTERS: StaticOperationSchema = ( + 23, + n0, + _LPR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/prompt-routers"} + ) + }, + LIST_PROMPT_ROUTERS_INPUT, + LIST_PROMPT_ROUTERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PROMPT_ROUTER_SUMMARY: StaticSchema = ( + 18, + n0, + _PRSr, + 0, + (_pRN, _rCo, _d, _cA, _uA, _pRAr, _mod, _fMa, _st, _ty), + ( + (PROMPT_ROUTER_NAME, 1), + (ROUTING_CRITERIA, 1), + (PROMPT_ROUTER_DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (PROMPT_ROUTER_ARN, 1), + (PROMPT_ROUTER_TARGET_MODELS, 1), + (PROMPT_ROUTER_TARGET_MODEL, 1), + (PROMPT_ROUTER_STATUS, 1), + (PROMPT_ROUTER_TYPE, 1), + ), +) + +PROMPT_ROUTER_SUMMARIES: StaticSchema = ( + 16, + n0, + _PRSro, + 0, + (_me,), + ((PROMPT_ROUTER_SUMMARY, 0),), +) + +COMMITMENT_DURATION: StaticSchema = ( + 14, + n0, + _CD, + 0, + (_OM, _SM), + ((-1, {_sV: _OMn}), (-1, {_sV: _SMi})), +) + +POSITIVE_INTEGER: StaticSchema = (7, n0, _PI, 0) + +PROVISIONED_MODEL_NAME: StaticSchema = (3, n0, _PMN, 0) + +CREATE_PROVISIONED_MODEL_THROUGHPUT_INPUT: StaticSchema = ( + 18, + n0, + _CPMTI, + {_sSI: _cCPMTR, _smit: None}, + (_cRT, _mU, _pMN, _mI, _cD, _ta), + ( + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + (POSITIVE_INTEGER, 1), + (PROVISIONED_MODEL_NAME, 1), + (lambda: schemas.MODEL_IDENTIFIER, 1), + (COMMITMENT_DURATION, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT: StaticSchema = ( + 18, + n0, + _CPMTO, + {_sSI: _cCPMTRo, _smith: None}, + (_pMA,), + ((lambda: PROVISIONED_MODEL_ARN, 1),), +) + +CREATE_PROVISIONED_MODEL_THROUGHPUT: StaticOperationSchema = ( + 23, + n0, + _CPMT, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/provisioned-model-throughput"} + ) + }, + CREATE_PROVISIONED_MODEL_THROUGHPUT_INPUT, + CREATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PROVISIONED_MODEL_ARN: StaticSchema = (3, n0, _PMA, 0) + +PROVISIONED_MODEL_ID: StaticSchema = (3, n0, _PMI, 0) + +DELETE_PROVISIONED_MODEL_THROUGHPUT_INPUT: StaticSchema = ( + 18, + n0, + _DPMTI, + {_sSI: _cDPMTR, _smit: None}, + (_pMI,), + ((PROVISIONED_MODEL_ID, 9),), +) + +DELETE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT: StaticSchema = ( + 18, + n0, + _DPMTO, + {_sSI: _cDPMTRo, _smith: None}, +) + +DELETE_PROVISIONED_MODEL_THROUGHPUT: StaticOperationSchema = ( + 23, + n0, + _DPMT, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "DELETE", + "uri": "/provisioned-model-throughput/{provisionedModelId}", + } + ) + }, + DELETE_PROVISIONED_MODEL_THROUGHPUT_INPUT, + DELETE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_PROVISIONED_MODEL_THROUGHPUT_INPUT: StaticSchema = ( + 18, + n0, + _GPMTI, + {_sSI: _cGPMTR, _smit: None}, + (_pMI,), + ((PROVISIONED_MODEL_ID, 9),), +) + +GET_PROVISIONED_MODEL_THROUGHPUT_OUTPUT: StaticSchema = ( + 18, + n0, + _GPMTO, + {_sSI: _cGPMTRo, _smith: None}, + (_mU, _dMU, _pMN, _pMA, _mA, _dMA, _fMA, _st, _cTr, _lMT, _fM, _cD, _cET), + ( + (POSITIVE_INTEGER, 1), + (POSITIVE_INTEGER, 1), + (PROVISIONED_MODEL_NAME, 1), + (PROVISIONED_MODEL_ARN, 1), + (lambda: schemas.MODEL_ARN, 1), + (lambda: schemas.MODEL_ARN, 1), + (lambda: schemas.FOUNDATION_MODEL_ARN, 1), + (lambda: PROVISIONED_MODEL_STATUS, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.ERROR_MESSAGE, 0), + (COMMITMENT_DURATION, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +GET_PROVISIONED_MODEL_THROUGHPUT: StaticOperationSchema = ( + 23, + n0, + _GPMT, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/provisioned-model-throughput/{provisionedModelId}", + } + ) + }, + GET_PROVISIONED_MODEL_THROUGHPUT_INPUT, + GET_PROVISIONED_MODEL_THROUGHPUT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PROVISIONED_MODEL_STATUS: StaticSchema = ( + 14, + n0, + _PMS, + 0, + (_CREATING, _IS_, _UPDATING, _FAILED), + ((-1, {_sV: _Cr}), (-1, {_sV: _ISn}), (-1, {_sV: _U}), (-1, {_sV: _F})), +) + +SORT_BY_PROVISIONED_MODELS: StaticSchema = ( + 14, + n0, + _SBPM, + 0, + (_CT,), + ((-1, {_sV: _CTr}),), +) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_9.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_9.py new file mode 100644 index 000000000..576cbc858 --- /dev/null +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/_private/schemas_9.py @@ -0,0 +1,1388 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.bedrock" +_me = "member" +_smi = "smithy.api#required" +_sV = "smithy.api#enumValue" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_IP = "IN_PROGRESS" +_IPn = "InProgress" +_COMPLETED = "COMPLETED" +_C = "Completed" +_FAILED = "FAILED" +_F = "Failed" +_STOPPING = "STOPPING" +_S = "Stopping" +_STOPPED = "STOPPED" +_St = "Stopped" +_jIo = "jobIdentifier" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_mI = "modelId" +_jN = "jobName" +_sT = "smithy.api#idempotencyToken" +_ta = "tags" +_jA = "jobArn" +_sL = "smithy.api#httpLabel" +_cTr = "creationTime" +_lMT = "lastModifiedTime" +_fM = "failureMessage" +_mR = "maxResults" +_sQ = "smithy.api#httpQuery" +_nT = "nextToken" +_sB = "sortBy" +_sO = "sortOrder" +_AVAILABLE = "AVAILABLE" +_NA = "NOT_AVAILABLE" +_st = "status" +_smithya = "smithy.api#sensitive" +_d = "description" +_ty = "type" +_cRT = "clientRequestToken" +_NS = "NOT_STARTED" +_mA = "modelArn" +_nC = "nameContains" +_sEt = "statusEquals" +_mAE = "modelArnEquals" +_rA = "roleArn" +_hP = "hyperParameters" +_eq = "equals" +_nE = "notEquals" +_aA = "andAll" +_oA = "orAll" +_bMA = "baseModelArn" +_cTu = "customizationType" +_tDC = "trainingDataConfig" +_vDC = "validationDataConfig" +_oDC = "outputDataConfig" +_tM = "trainingMetrics" +_vM = "validationMetrics" +_cC = "customizationConfig" +_cTB = "creationTimeBefore" +_cTA = "creationTimeAfter" +_gCe = "generationConfiguration" +_ALL = "ALL" +_mod = "models" +_jTo = "jobTags" +_vCp = "vpcConfig" +_eT = "endTime" +_BMI = "BedrockModelId" +_mU = "modelUnits" +_pMN = "provisionedModelName" +_cD = "commitmentDuration" +_pMA = "provisionedModelArn" +_pMI = "provisionedModelId" +_dMU = "desiredModelUnits" +_dMA = "desiredModelArn" +_fMA = "foundationModelArn" +_cET = "commitmentExpirationTime" +_LPMTI = "ListProvisionedModelThroughputsInput" +_cLPMTR = "com.amazonaws.bedrock#ListProvisionedModelThroughputsRequest" +_PMSr = "ProvisionedModelSummary" +_PMSro = "ProvisionedModelSummaries" +_LPMTO = "ListProvisionedModelThroughputsOutput" +_cLPMTRo = "com.amazonaws.bedrock#ListProvisionedModelThroughputsResponse" +_pMS = "provisionedModelSummaries" +_LPMT = "ListProvisionedModelThroughputs" +_UPMTI = "UpdateProvisionedModelThroughputInput" +_cUPMTR = "com.amazonaws.bedrock#UpdateProvisionedModelThroughputRequest" +_dPMN = "desiredProvisionedModelName" +_dMI = "desiredModelId" +_UPMTO = "UpdateProvisionedModelThroughputOutput" +_cUPMTRo = "com.amazonaws.bedrock#UpdateProvisionedModelThroughputResponse" +_UPMT = "UpdateProvisionedModelThroughput" +_RPRA = "ResourcePolicyResourceArn" +_DRPI = "DeleteResourcePolicyInput" +_cDRPR = "com.amazonaws.bedrock#DeleteResourcePolicyRequest" +_rAe = "resourceArn" +_DRPO = "DeleteResourcePolicyOutput" +_cDRPRo = "com.amazonaws.bedrock#DeleteResourcePolicyResponse" +_DRP = "DeleteResourcePolicy" +_GRPI = "GetResourcePolicyInput" +_cGRPR = "com.amazonaws.bedrock#GetResourcePolicyRequest" +_RPD = "ResourcePolicyDocument" +_GRPO = "GetResourcePolicyOutput" +_cGRPRo = "com.amazonaws.bedrock#GetResourcePolicyResponse" +_rP = "resourcePolicy" +_GRP = "GetResourcePolicy" +_PRPI = "PutResourcePolicyInput" +_cPRPR = "com.amazonaws.bedrock#PutResourcePolicyRequest" +_PRPO = "PutResourcePolicyOutput" +_cPRPRo = "com.amazonaws.bedrock#PutResourcePolicyResponse" +_PRP = "PutResourcePolicy" +_OT = "OfferToken" +_CFMAI = "CreateFoundationModelAgreementInput" +_cCFMAR = "com.amazonaws.bedrock#CreateFoundationModelAgreementRequest" +_oT = "offerToken" +_CFMAO = "CreateFoundationModelAgreementOutput" +_cCFMARo = "com.amazonaws.bedrock#CreateFoundationModelAgreementResponse" +_CFMA = "CreateFoundationModelAgreement" +_DFMAI = "DeleteFoundationModelAgreementInput" +_cDFMAR = "com.amazonaws.bedrock#DeleteFoundationModelAgreementRequest" +_DFMAO = "DeleteFoundationModelAgreementOutput" +_cDFMARo = "com.amazonaws.bedrock#DeleteFoundationModelAgreementResponse" +_DFMA = "DeleteFoundationModelAgreement" +_GFMAI = "GetFoundationModelAvailabilityInput" +_cGFMAR = "com.amazonaws.bedrock#GetFoundationModelAvailabilityRequest" +_ASu = "AuthorizationStatus" +_AUTHORIZED = "AUTHORIZED" +_NA_ = "NOT_AUTHORIZED" +_EA = "EntitlementAvailability" +_RAe = "RegionAvailability" +_GFMAO = "GetFoundationModelAvailabilityOutput" +_cGFMARo = "com.amazonaws.bedrock#GetFoundationModelAvailabilityResponse" +_aAg = "agreementAvailability" +_aSu = "authorizationStatus" +_eAn = "entitlementAvailability" +_rAeg = "regionAvailability" +_GFMA = "GetFoundationModelAvailability" +_OTf = "OfferType" +_PUBLIC = "PUBLIC" +_LFMAOI = "ListFoundationModelAgreementOffersInput" +_cLFMAOR = "com.amazonaws.bedrock#ListFoundationModelAgreementOffersRequest" +_oTf = "offerType" +_OI = "OfferId" +_LT = "LegalTerm" +_ur = "url" +_STu = "SupportTerm" +_rPD = "refundPolicyDescription" +_DPRi = "DimensionalPriceRate" +_di = "dimension" +_pri = "price" +_un = "unit" +_RCa = "RateCard" +_PTri = "PricingTerm" +_rCa = "rateCard" +_VT = "ValidityTerm" +_aD = "agreementDuration" +_TD = "TermDetails" +_uBPT = "usageBasedPricingTerm" +_lTeg = "legalTerm" +_sTup = "supportTerm" +_vT = "validityTerm" +_O = "Offer" +_oI = "offerId" +_tD = "termDetails" +_Of = "Offers" +_LFMAOO = "ListFoundationModelAgreementOffersOutput" +_cLFMAORo = "com.amazonaws.bedrock#ListFoundationModelAgreementOffersResponse" +_of = "offers" +_LFMAO = "ListFoundationModelAgreementOffers" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.bedrock#ListTagsForResourceRequest" +_rARN = "resourceARN" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.bedrock#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.bedrock#TagResourceRequest" +_TRO = "TagResourceOutput" +_cTRRo = "com.amazonaws.bedrock#TagResourceResponse" +_TR = "TagResource" +_TKL = "TagKeyList" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.bedrock#UntagResourceRequest" +_tK = "tagKeys" +_URO = "UntagResourceOutput" +_cURRo = "com.amazonaws.bedrock#UntagResourceResponse" +_UR = "UntagResource" +_BMIa = "BaseModelIdentifier" +_CMCJIr = "CreateModelCustomizationJobInput" +_cCMCJRom = "com.amazonaws.bedrock#CreateModelCustomizationJobRequest" +_cMN = "customModelName" +_bMIa = "baseModelIdentifier" +_cMKKI = "customModelKmsKeyId" +_cMT = "customModelTags" +_CMCJOr = "CreateModelCustomizationJobOutput" +_cCMCJRoma = "com.amazonaws.bedrock#CreateModelCustomizationJobResponse" +_CMCJr = "CreateModelCustomizationJob" +_MCJI = "ModelCustomizationJobIdentifier" +_GMCJIe = "GetModelCustomizationJobInput" +_cGMCJRom = "com.amazonaws.bedrock#GetModelCustomizationJobRequest" +_MCJSode = "ModelCustomizationJobStatus" +_JSD = "JobStatusDetails" +_NSo = "NotStarted" +_DPD = "DataProcessingDetails" +_TDr = "TrainingDetails" +_VD = "ValidationDetails" +_SDt = "StatusDetails" +_vD = "validationDetails" +_dPD = "dataProcessingDetails" +_tDr = "trainingDetails" +_GMCJOe = "GetModelCustomizationJobOutput" +_cGMCJRoma = "com.amazonaws.bedrock#GetModelCustomizationJobResponse" +_oMN = "outputModelName" +_oMA = "outputModelArn" +_sD = "statusDetails" +_oMKKA = "outputModelKmsKeyArn" +_GMCJe = "GetModelCustomizationJob" +_FTJS = "FineTuningJobStatus" +_LMCJIi = "ListModelCustomizationJobsInput" +_cLMCJRom = "com.amazonaws.bedrock#ListModelCustomizationJobsRequest" +_MCJSodel = "ModelCustomizationJobSummary" +_cMA = "customModelArn" +_MCJSodelu = "ModelCustomizationJobSummaries" +_LMCJOi = "ListModelCustomizationJobsOutput" +_cLMCJRoma = "com.amazonaws.bedrock#ListModelCustomizationJobsResponse" +_mCJSo = "modelCustomizationJobSummaries" +_LMCJi = "ListModelCustomizationJobs" +_SMCJI = "StopModelCustomizationJobInput" +_cSMCJR = "com.amazonaws.bedrock#StopModelCustomizationJobRequest" +_SMCJO = "StopModelCustomizationJobOutput" +_cSMCJRo = "com.amazonaws.bedrock#StopModelCustomizationJobResponse" +_SMCJ = "StopModelCustomizationJob" +_RF = "RetrievalFilter" +_gT = "greaterThan" +_gTOE = "greaterThanOrEquals" +_lTes = "lessThan" +_lTOE = "lessThanOrEquals" +_in_ = "in" +_nI = "notIn" +_sW = "startsWith" +_lCi = "listContains" +_sCt = "stringContains" +_RFL = "RetrievalFilterList" +_KBVSC = "KnowledgeBaseVectorSearchConfiguration" +_nOR = "numberOfResults" +_oST = "overrideSearchType" +_fil = "filter" +_iFC = "implicitFilterConfiguration" +_rCer = "rerankingConfiguration" +_KBRC = "KnowledgeBaseRetrievalConfiguration" +_vSC = "vectorSearchConfiguration" +_KBRAGC = "KnowledgeBaseRetrieveAndGenerateConfiguration" +_kBI = "knowledgeBaseId" +_rCet = "retrievalConfiguration" +_oCr = "orchestrationConfiguration" +_RCe = "RetrieveConfig" +_kBRC = "knowledgeBaseRetrievalConfiguration" +_RAGC = "RetrieveAndGenerateConfiguration" +_kBC = "knowledgeBaseConfiguration" +_eSC = "externalSourcesConfiguration" +_KBC = "KnowledgeBaseConfig" +_rCetr = "retrieveConfig" +_rAGC = "retrieveAndGenerateConfig" +_RAGCo = "RAGConfig" +_kBCn = "knowledgeBaseConfig" +_pRSC = "precomputedRagSourceConfig" +_RCag = "RagConfigs" +_EIC = "EvaluationInferenceConfig" +_rCag = "ragConfigs" +_ABCPS = "AmazonBedrockControlPlaneService" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJw = "aws.protocols#restJson1" +_sBA = "smithy.api#httpBearerAuth" + +BEDROCK_MODEL_ID: StaticSchema = (3, n0, _BMI, 0) + +LIST_PROVISIONED_MODEL_THROUGHPUTS_INPUT: StaticSchema = ( + 18, + n0, + _LPMTI, + {_sSI: _cLPMTR, _smit: None}, + (_cTA, _cTB, _sEt, _mAE, _nC, _mR, _nT, _sB, _sO), + ( + (lambda: schemas.TIMESTAMP, {_sQ: _cTA}), + (lambda: schemas.TIMESTAMP, {_sQ: _cTB}), + (lambda: schemas.PROVISIONED_MODEL_STATUS, {_sQ: _sEt}), + (lambda: schemas.MODEL_ARN, {_sQ: _mAE}), + (lambda: schemas.PROVISIONED_MODEL_NAME, {_sQ: _nC}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.SORT_BY_PROVISIONED_MODELS, {_sQ: _sB}), + (lambda: schemas.SORT_ORDER, {_sQ: _sO}), + ), +) + +LIST_PROVISIONED_MODEL_THROUGHPUTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPMTO, + {_sSI: _cLPMTRo, _smith: None}, + (_nT, _pMS), + ((lambda: schemas.PAGINATION_TOKEN, 0), (lambda: PROVISIONED_MODEL_SUMMARIES, 0)), +) + +LIST_PROVISIONED_MODEL_THROUGHPUTS: StaticOperationSchema = ( + 23, + n0, + _LPMT, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/provisioned-model-throughputs"} + ) + }, + LIST_PROVISIONED_MODEL_THROUGHPUTS_INPUT, + LIST_PROVISIONED_MODEL_THROUGHPUTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PROVISIONED_MODEL_SUMMARY: StaticSchema = ( + 18, + n0, + _PMSr, + 0, + (_pMN, _pMA, _mA, _dMA, _fMA, _mU, _dMU, _st, _cD, _cET, _cTr, _lMT), + ( + (lambda: schemas.PROVISIONED_MODEL_NAME, 1), + (lambda: schemas.PROVISIONED_MODEL_ARN, 1), + (lambda: schemas.MODEL_ARN, 1), + (lambda: schemas.MODEL_ARN, 1), + (lambda: schemas.FOUNDATION_MODEL_ARN, 1), + (lambda: schemas.POSITIVE_INTEGER, 1), + (lambda: schemas.POSITIVE_INTEGER, 1), + (lambda: schemas.PROVISIONED_MODEL_STATUS, 1), + (lambda: schemas.COMMITMENT_DURATION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +PROVISIONED_MODEL_SUMMARIES: StaticSchema = ( + 16, + n0, + _PMSro, + 0, + (_me,), + ((PROVISIONED_MODEL_SUMMARY, 0),), +) + +UPDATE_PROVISIONED_MODEL_THROUGHPUT_INPUT: StaticSchema = ( + 18, + n0, + _UPMTI, + {_sSI: _cUPMTR, _smit: None}, + (_pMI, _dPMN, _dMI), + ( + (lambda: schemas.PROVISIONED_MODEL_ID, 9), + (lambda: schemas.PROVISIONED_MODEL_NAME, 0), + (lambda: schemas.MODEL_IDENTIFIER, 0), + ), +) + +UPDATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT: StaticSchema = ( + 18, + n0, + _UPMTO, + {_sSI: _cUPMTRo, _smith: None}, +) + +UPDATE_PROVISIONED_MODEL_THROUGHPUT: StaticOperationSchema = ( + 23, + n0, + _UPMT, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "PATCH", + "uri": "/provisioned-model-throughput/{provisionedModelId}", + } + ) + }, + UPDATE_PROVISIONED_MODEL_THROUGHPUT_INPUT, + UPDATE_PROVISIONED_MODEL_THROUGHPUT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RESOURCE_POLICY_RESOURCE_ARN: StaticSchema = (3, n0, _RPRA, 0) + +DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_sSI: _cDRPR, _smit: None}, + (_rAe,), + ((RESOURCE_POLICY_RESOURCE_ARN, 9),), +) + +DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DRPO, + {_sSI: _cDRPRo, _smith: None}, +) + +DELETE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "DELETE", "uri": "/resource-policy/{resourceArn}"} + ) + }, + DELETE_RESOURCE_POLICY_INPUT, + DELETE_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_sSI: _cGRPR, _smit: None}, + (_rAe,), + ((RESOURCE_POLICY_RESOURCE_ARN, 9),), +) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_sSI: _cGRPRo, _smith: None}, + (_rP,), + ((lambda: RESOURCE_POLICY_DOCUMENT, 0),), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRP, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/resource-policy/{resourceArn}"} + ) + }, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RESOURCE_POLICY_DOCUMENT: StaticSchema = (3, n0, _RPD, 0) + +PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_sSI: _cPRPR, _smit: None}, + (_rAe, _rP), + ((RESOURCE_POLICY_RESOURCE_ARN, 1), (RESOURCE_POLICY_DOCUMENT, 1)), +) + +PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPO, + {_sSI: _cPRPRo, _smith: None}, + (_rAe,), + ((RESOURCE_POLICY_RESOURCE_ARN, 0),), +) + +PUT_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRP, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/resource-policy"} + ) + }, + PUT_RESOURCE_POLICY_INPUT, + PUT_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +OFFER_TOKEN: StaticSchema = (3, n0, _OT, 0) + +CREATE_FOUNDATION_MODEL_AGREEMENT_INPUT: StaticSchema = ( + 18, + n0, + _CFMAI, + {_sSI: _cCFMAR, _smit: None}, + (_oT, _mI), + ((OFFER_TOKEN, 1), (BEDROCK_MODEL_ID, 1)), +) + +CREATE_FOUNDATION_MODEL_AGREEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CFMAO, + {_sSI: _cCFMARo, _smith: None}, + (_mI,), + ((BEDROCK_MODEL_ID, 1),), +) + +CREATE_FOUNDATION_MODEL_AGREEMENT: StaticOperationSchema = ( + 23, + n0, + _CFMA, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/create-foundation-model-agreement"} + ) + }, + CREATE_FOUNDATION_MODEL_AGREEMENT_INPUT, + CREATE_FOUNDATION_MODEL_AGREEMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_FOUNDATION_MODEL_AGREEMENT_INPUT: StaticSchema = ( + 18, + n0, + _DFMAI, + {_sSI: _cDFMAR, _smit: None}, + (_mI,), + ((BEDROCK_MODEL_ID, 1),), +) + +DELETE_FOUNDATION_MODEL_AGREEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DFMAO, + {_sSI: _cDFMARo, _smith: None}, +) + +DELETE_FOUNDATION_MODEL_AGREEMENT: StaticOperationSchema = ( + 23, + n0, + _DFMA, + { + _smithy: MappingProxyType( + {"code": 202, "method": "POST", "uri": "/delete-foundation-model-agreement"} + ) + }, + DELETE_FOUNDATION_MODEL_AGREEMENT_INPUT, + DELETE_FOUNDATION_MODEL_AGREEMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_FOUNDATION_MODEL_AVAILABILITY_INPUT: StaticSchema = ( + 18, + n0, + _GFMAI, + {_sSI: _cGFMAR, _smit: None}, + (_mI,), + ((BEDROCK_MODEL_ID, 9),), +) + +GET_FOUNDATION_MODEL_AVAILABILITY_OUTPUT: StaticSchema = ( + 18, + n0, + _GFMAO, + {_sSI: _cGFMARo, _smith: None}, + (_mI, _aAg, _aSu, _eAn, _rAeg), + ( + (BEDROCK_MODEL_ID, 1), + (lambda: schemas.AGREEMENT_AVAILABILITY, 1), + (lambda: AUTHORIZATION_STATUS, 1), + (lambda: ENTITLEMENT_AVAILABILITY, 1), + (lambda: REGION_AVAILABILITY, 1), + ), +) + +GET_FOUNDATION_MODEL_AVAILABILITY: StaticOperationSchema = ( + 23, + n0, + _GFMA, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/foundation-model-availability/{modelId}", + } + ) + }, + GET_FOUNDATION_MODEL_AVAILABILITY_INPUT, + GET_FOUNDATION_MODEL_AVAILABILITY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +AUTHORIZATION_STATUS: StaticSchema = ( + 14, + n0, + _ASu, + 0, + (_AUTHORIZED, _NA_), + ((-1, {_sV: _AUTHORIZED}), (-1, {_sV: _NA_})), +) + +ENTITLEMENT_AVAILABILITY: StaticSchema = ( + 14, + n0, + _EA, + 0, + (_AVAILABLE, _NA), + ((-1, {_sV: _AVAILABLE}), (-1, {_sV: _NA})), +) + +REGION_AVAILABILITY: StaticSchema = ( + 14, + n0, + _RAe, + 0, + (_AVAILABLE, _NA), + ((-1, {_sV: _AVAILABLE}), (-1, {_sV: _NA})), +) + +OFFER_TYPE: StaticSchema = ( + 14, + n0, + _OTf, + 0, + (_ALL, _PUBLIC), + ((-1, {_sV: _ALL}), (-1, {_sV: _PUBLIC})), +) + +LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_INPUT: StaticSchema = ( + 18, + n0, + _LFMAOI, + {_sSI: _cLFMAOR, _smit: None}, + (_mI, _oTf), + ((BEDROCK_MODEL_ID, 9), (OFFER_TYPE, {_sQ: _oTf})), +) + +LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFMAOO, + {_sSI: _cLFMAORo, _smith: None}, + (_mI, _of), + ((BEDROCK_MODEL_ID, 1), (lambda: OFFERS, 1)), +) + +LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS: StaticOperationSchema = ( + 23, + n0, + _LFMAO, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/list-foundation-model-agreement-offers/{modelId}", + } + ) + }, + LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_INPUT, + LIST_FOUNDATION_MODEL_AGREEMENT_OFFERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +OFFER_ID: StaticSchema = (3, n0, _OI, 0) + +LEGAL_TERM: StaticSchema = (18, n0, _LT, 0, (_ur,), ((3, 0),)) + +SUPPORT_TERM: StaticSchema = (18, n0, _STu, 0, (_rPD,), ((3, 0),)) + +DIMENSIONAL_PRICE_RATE: StaticSchema = ( + 18, + n0, + _DPRi, + 0, + (_di, _pri, _d, _un), + ((3, 0), (3, 0), (3, 0), (3, 0)), +) + +RATE_CARD: StaticSchema = (16, n0, _RCa, 0, (_me,), ((DIMENSIONAL_PRICE_RATE, 0),)) + +PRICING_TERM: StaticSchema = (18, n0, _PTri, 0, (_rCa,), ((RATE_CARD, 1),)) + +VALIDITY_TERM: StaticSchema = (18, n0, _VT, 0, (_aD,), ((3, 0),)) + +TERM_DETAILS: StaticSchema = ( + 18, + n0, + _TD, + 0, + (_uBPT, _lTeg, _sTup, _vT), + ((PRICING_TERM, 1), (LEGAL_TERM, 1), (SUPPORT_TERM, 1), (VALIDITY_TERM, 0)), +) + +OFFER: StaticSchema = ( + 18, + n0, + _O, + 0, + (_oI, _oT, _tD), + ((OFFER_ID, 0), (OFFER_TOKEN, 1), (TERM_DETAILS, 1)), +) + +OFFERS: StaticSchema = (16, n0, _Of, 0, (_me,), ((OFFER, 0),)) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _smit: None}, + (_rARN,), + ((lambda: schemas.TAGGABLE_RESOURCES_ARN, 1),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smith: None}, + (_ta,), + ((lambda: schemas.TAG_LIST, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/listTagsForResource"} + ) + }, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smit: None}, + (_rARN, _ta), + ((lambda: schemas.TAGGABLE_RESOURCES_ARN, 1), (lambda: schemas.TAG_LIST, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smith: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + {_smithy: MappingProxyType({"code": 200, "method": "POST", "uri": "/tagResource"})}, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _smit: None}, + (_rARN, _tK), + ((lambda: schemas.TAGGABLE_RESOURCES_ARN, 1), (TAG_KEY_LIST, 1)), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smith: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smithy: MappingProxyType( + {"code": 200, "method": "POST", "uri": "/untagResource"} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BASE_MODEL_IDENTIFIER: StaticSchema = (3, n0, _BMIa, 0) + +CREATE_MODEL_CUSTOMIZATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _CMCJIr, + {_sSI: _cCMCJRom, _smit: None}, + ( + _jN, + _cMN, + _rA, + _cRT, + _bMIa, + _cTu, + _cMKKI, + _jTo, + _cMT, + _tDC, + _vDC, + _oDC, + _hP, + _vCp, + _cC, + ), + ( + (lambda: schemas.JOB_NAME, 1), + (lambda: schemas.CUSTOM_MODEL_NAME, 1), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.IDEMPOTENCY_TOKEN, 2), + (BASE_MODEL_IDENTIFIER, 1), + (lambda: schemas.CUSTOMIZATION_TYPE, 0), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.TRAINING_DATA_CONFIG, 1), + (lambda: schemas.VALIDATION_DATA_CONFIG, 0), + (lambda: schemas.OUTPUT_DATA_CONFIG, 1), + (lambda: schemas.MODEL_CUSTOMIZATION_HYPER_PARAMETERS, 0), + (lambda: schemas.VPC_CONFIG, 0), + (lambda: schemas.CUSTOMIZATION_CONFIG, 0), + ), +) + +CREATE_MODEL_CUSTOMIZATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _CMCJOr, + {_sSI: _cCMCJRoma, _smith: None}, + (_jA,), + ((lambda: schemas.MODEL_CUSTOMIZATION_JOB_ARN, 1),), +) + +CREATE_MODEL_CUSTOMIZATION_JOB: StaticOperationSchema = ( + 23, + n0, + _CMCJr, + { + _smithy: MappingProxyType( + {"code": 201, "method": "POST", "uri": "/model-customization-jobs"} + ) + }, + CREATE_MODEL_CUSTOMIZATION_JOB_INPUT, + CREATE_MODEL_CUSTOMIZATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TOO_MANY_TAGS_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_CUSTOMIZATION_JOB_IDENTIFIER: StaticSchema = (3, n0, _MCJI, 0) + +GET_MODEL_CUSTOMIZATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _GMCJIe, + {_sSI: _cGMCJRom, _smit: None}, + (_jIo,), + ((MODEL_CUSTOMIZATION_JOB_IDENTIFIER, 9),), +) + +GET_MODEL_CUSTOMIZATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _GMCJOe, + {_sSI: _cGMCJRoma, _smith: None}, + ( + _jA, + _jN, + _oMN, + _oMA, + _cRT, + _rA, + _st, + _sD, + _fM, + _cTr, + _lMT, + _eT, + _bMA, + _hP, + _tDC, + _vDC, + _oDC, + _cTu, + _oMKKA, + _tM, + _vM, + _vCp, + _cC, + ), + ( + (lambda: schemas.MODEL_CUSTOMIZATION_JOB_ARN, 1), + (lambda: schemas.JOB_NAME, 1), + (lambda: schemas.CUSTOM_MODEL_NAME, 1), + (lambda: schemas.CUSTOM_MODEL_ARN, 0), + (lambda: schemas.IDEMPOTENCY_TOKEN, 0), + (lambda: schemas.ROLE_ARN, 1), + (lambda: MODEL_CUSTOMIZATION_JOB_STATUS, 0), + (lambda: STATUS_DETAILS, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.FOUNDATION_MODEL_ARN, 1), + (lambda: schemas.MODEL_CUSTOMIZATION_HYPER_PARAMETERS, 0), + (lambda: schemas.TRAINING_DATA_CONFIG, 1), + (lambda: schemas.VALIDATION_DATA_CONFIG, 1), + (lambda: schemas.OUTPUT_DATA_CONFIG, 1), + (lambda: schemas.CUSTOMIZATION_TYPE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TRAINING_METRICS, 0), + (lambda: schemas.VALIDATION_METRICS, 0), + (lambda: schemas.VPC_CONFIG, 0), + (lambda: schemas.CUSTOMIZATION_CONFIG, 0), + ), +) + +GET_MODEL_CUSTOMIZATION_JOB: StaticOperationSchema = ( + 23, + n0, + _GMCJe, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/model-customization-jobs/{jobIdentifier}", + } + ) + }, + GET_MODEL_CUSTOMIZATION_JOB_INPUT, + GET_MODEL_CUSTOMIZATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_CUSTOMIZATION_JOB_STATUS: StaticSchema = ( + 14, + n0, + _MCJSode, + 0, + (_IP, _COMPLETED, _FAILED, _STOPPING, _STOPPED), + ( + (-1, {_sV: _IPn}), + (-1, {_sV: _C}), + (-1, {_sV: _F}), + (-1, {_sV: _S}), + (-1, {_sV: _St}), + ), +) + +JOB_STATUS_DETAILS: StaticSchema = ( + 14, + n0, + _JSD, + 0, + (_IP, _COMPLETED, _STOPPING, _STOPPED, _FAILED, _NS), + ( + (-1, {_sV: _IPn}), + (-1, {_sV: _C}), + (-1, {_sV: _S}), + (-1, {_sV: _St}), + (-1, {_sV: _F}), + (-1, {_sV: _NSo}), + ), +) + +DATA_PROCESSING_DETAILS: StaticSchema = ( + 18, + n0, + _DPD, + 0, + (_st, _cTr, _lMT), + ( + (JOB_STATUS_DETAILS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +TRAINING_DETAILS: StaticSchema = ( + 18, + n0, + _TDr, + 0, + (_st, _cTr, _lMT), + ( + (JOB_STATUS_DETAILS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +VALIDATION_DETAILS: StaticSchema = ( + 18, + n0, + _VD, + 0, + (_st, _cTr, _lMT), + ( + (JOB_STATUS_DETAILS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +STATUS_DETAILS: StaticSchema = ( + 18, + n0, + _SDt, + 0, + (_vD, _dPD, _tDr), + ((VALIDATION_DETAILS, 0), (DATA_PROCESSING_DETAILS, 0), (TRAINING_DETAILS, 0)), +) + +FINE_TUNING_JOB_STATUS: StaticSchema = ( + 14, + n0, + _FTJS, + 0, + (_IP, _COMPLETED, _FAILED, _STOPPING, _STOPPED), + ( + (-1, {_sV: _IPn}), + (-1, {_sV: _C}), + (-1, {_sV: _F}), + (-1, {_sV: _S}), + (-1, {_sV: _St}), + ), +) + +LIST_MODEL_CUSTOMIZATION_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LMCJIi, + {_sSI: _cLMCJRom, _smit: None}, + (_cTA, _cTB, _sEt, _nC, _mR, _nT, _sB, _sO), + ( + (lambda: schemas.TIMESTAMP, {_sQ: _cTA}), + (lambda: schemas.TIMESTAMP, {_sQ: _cTB}), + (FINE_TUNING_JOB_STATUS, {_sQ: _sEt}), + (lambda: schemas.JOB_NAME, {_sQ: _nC}), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.PAGINATION_TOKEN, {_sQ: _nT}), + (lambda: schemas.SORT_JOBS_BY, {_sQ: _sB}), + (lambda: schemas.SORT_ORDER, {_sQ: _sO}), + ), +) + +LIST_MODEL_CUSTOMIZATION_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMCJOi, + {_sSI: _cLMCJRoma, _smith: None}, + (_nT, _mCJSo), + ( + (lambda: schemas.PAGINATION_TOKEN, 0), + (lambda: MODEL_CUSTOMIZATION_JOB_SUMMARIES, 0), + ), +) + +LIST_MODEL_CUSTOMIZATION_JOBS: StaticOperationSchema = ( + 23, + n0, + _LMCJi, + { + _smithy: MappingProxyType( + {"code": 200, "method": "GET", "uri": "/model-customization-jobs"} + ) + }, + LIST_MODEL_CUSTOMIZATION_JOBS_INPUT, + LIST_MODEL_CUSTOMIZATION_JOBS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MODEL_CUSTOMIZATION_JOB_SUMMARY: StaticSchema = ( + 18, + n0, + _MCJSodel, + 0, + (_jA, _bMA, _jN, _st, _sD, _lMT, _cTr, _eT, _cMA, _cMN, _cTu), + ( + (lambda: schemas.MODEL_CUSTOMIZATION_JOB_ARN, 1), + (lambda: schemas.MODEL_ARN, 1), + (lambda: schemas.JOB_NAME, 1), + (MODEL_CUSTOMIZATION_JOB_STATUS, 1), + (STATUS_DETAILS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.CUSTOM_MODEL_ARN, 0), + (lambda: schemas.CUSTOM_MODEL_NAME, 0), + (lambda: schemas.CUSTOMIZATION_TYPE, 0), + ), +) + +MODEL_CUSTOMIZATION_JOB_SUMMARIES: StaticSchema = ( + 16, + n0, + _MCJSodelu, + 0, + (_me,), + ((MODEL_CUSTOMIZATION_JOB_SUMMARY, 0),), +) + +STOP_MODEL_CUSTOMIZATION_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SMCJI, + {_sSI: _cSMCJR, _smit: None}, + (_jIo,), + ((MODEL_CUSTOMIZATION_JOB_IDENTIFIER, 9),), +) + +STOP_MODEL_CUSTOMIZATION_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SMCJO, + {_sSI: _cSMCJRo, _smith: None}, +) + +STOP_MODEL_CUSTOMIZATION_JOB: StaticOperationSchema = ( + 23, + n0, + _SMCJ, + { + _smithy: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/model-customization-jobs/{jobIdentifier}/stop", + } + ) + }, + STOP_MODEL_CUSTOMIZATION_JOB_INPUT, + STOP_MODEL_CUSTOMIZATION_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVAL_FILTER: StaticSchema = ( + 19, + n0, + _RF, + 4, + (_eq, _nE, _gT, _gTOE, _lTes, _lTOE, _in_, _nI, _sW, _lCi, _sCt, _aA, _oA), + ( + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: schemas.FILTER_ATTRIBUTE, 0), + (lambda: RETRIEVAL_FILTER_LIST, 0), + (lambda: RETRIEVAL_FILTER_LIST, 0), + ), +) + +RETRIEVAL_FILTER_LIST: StaticSchema = ( + 16, + n0, + _RFL, + 0, + (_me,), + ((RETRIEVAL_FILTER, 0),), +) + +KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBVSC, + 0, + (_nOR, _oST, _fil, _iFC, _rCer), + ( + (7, 0), + (lambda: schemas.SEARCH_TYPE, 0), + (RETRIEVAL_FILTER, 0), + (lambda: schemas.IMPLICIT_FILTER_CONFIGURATION, 0), + (lambda: schemas.VECTOR_SEARCH_RERANKING_CONFIGURATION, 0), + ), +) + +KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBRC, + 0, + (_vSC,), + ((KNOWLEDGE_BASE_VECTOR_SEARCH_CONFIGURATION, 1),), +) + +KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KBRAGC, + 0, + (_kBI, _mA, _rCet, _gCe, _oCr), + ( + (lambda: schemas.KNOWLEDGE_BASE_ID, 1), + (lambda: schemas.BEDROCK_MODEL_ARN, 1), + (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 0), + (lambda: schemas.GENERATION_CONFIGURATION, 0), + (lambda: schemas.ORCHESTRATION_CONFIGURATION, 0), + ), +) + +RETRIEVE_CONFIG: StaticSchema = ( + 18, + n0, + _RCe, + 0, + (_kBI, _kBRC), + ( + (lambda: schemas.KNOWLEDGE_BASE_ID, 1), + (KNOWLEDGE_BASE_RETRIEVAL_CONFIGURATION, 1), + ), +) + +RETRIEVE_AND_GENERATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RAGC, + 0, + (_ty, _kBC, _eSC), + ( + (lambda: schemas.RETRIEVE_AND_GENERATE_TYPE, 1), + (KNOWLEDGE_BASE_RETRIEVE_AND_GENERATE_CONFIGURATION, 0), + (lambda: schemas.EXTERNAL_SOURCES_RETRIEVE_AND_GENERATE_CONFIGURATION, 0), + ), +) + +KNOWLEDGE_BASE_CONFIG: StaticSchema = ( + 19, + n0, + _KBC, + 0, + (_rCetr, _rAGC), + ((RETRIEVE_CONFIG, 0), (RETRIEVE_AND_GENERATE_CONFIGURATION, 0)), +) + +RAG_CONFIG: StaticSchema = ( + 19, + n0, + _RAGCo, + 0, + (_kBCn, _pRSC), + ( + (KNOWLEDGE_BASE_CONFIG, 0), + (lambda: schemas.EVALUATION_PRECOMPUTED_RAG_SOURCE_CONFIG, 0), + ), +) + +RAG_CONFIGS: StaticSchema = (16, n0, _RCag, 0, (_me,), ((RAG_CONFIG, 0),)) + +EVALUATION_INFERENCE_CONFIG: StaticSchema = ( + 19, + n0, + _EIC, + 0, + (_mod, _rCag), + ((lambda: schemas.EVALUATION_MODEL_CONFIGS, 0), (RAG_CONFIGS, 0)), +) + +AMAZON_BEDROCK_CONTROL_PLANE_SERVICE: StaticSchema = ( + 21, + n0, + _ABCPS, + { + _aw: MappingProxyType({"name": "bedrock"}), + _aws: MappingProxyType({"sdkId": "Bedrock", "endpointPrefix": "bedrock"}), + _aJw: None, + _sBA: None, + }, +) diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/aio/client.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/aio/client.py index 06dc2e83e..546fa4451 100644 --- a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/aio/client.py +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/aio/config.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/aio/config.py index 70f6d7dd6..f279922dd 100644 --- a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/aio/config.py +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/client.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/client.py index 49908a3b5..4cd612d67 100644 --- a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/client.py +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/config.py b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/config.py index 828a27a85..1d8a4a5f7 100644 --- a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/config.py +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/models.pyi b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/models.pyi index 095c1edd5..c3e94eaf1 100644 --- a/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/models.pyi +++ b/clients/aws-sdk-bedrock/src/aws_sdk_bedrock/models.pyi @@ -1,17 +1,740 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self from smithy_core.deserializers import ShapeDeserializer -from smithy_core.documents import Document from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AccessDeniedException as AccessDeniedException, + AccountEnforcedGuardrailInferenceInputConfiguration as AccountEnforcedGuardrailInferenceInputConfiguration, + AccountEnforcedGuardrailOutputConfiguration as AccountEnforcedGuardrailOutputConfiguration, + AdvancedPromptOptimizationInputConfig as AdvancedPromptOptimizationInputConfig, + AdvancedPromptOptimizationJobStatus as AdvancedPromptOptimizationJobStatus, + AdvancedPromptOptimizationJobSummary as AdvancedPromptOptimizationJobSummary, + AdvancedPromptOptimizationOutputConfig as AdvancedPromptOptimizationOutputConfig, + AgreementAvailability as AgreementAvailability, + AgreementStatus as AgreementStatus, + ApplicationType as ApplicationType, + AttributeType as AttributeType, + AuthorizationStatus as AuthorizationStatus, + AutomatedEvaluationConfig as AutomatedEvaluationConfig, + AutomatedEvaluationCustomMetricConfig as AutomatedEvaluationCustomMetricConfig, + AutomatedEvaluationCustomMetricSourceCustomMetricDefinition as AutomatedEvaluationCustomMetricSourceCustomMetricDefinition, + AutomatedEvaluationCustomMetricSourceUnknown as AutomatedEvaluationCustomMetricSourceUnknown, + AutomatedEvaluationCustomMetricSource as AutomatedEvaluationCustomMetricSource, + _AutomatedEvaluationCustomMetricSourceDeserializer as _AutomatedEvaluationCustomMetricSourceDeserializer, + AutomatedReasoningCheckFindingValid as AutomatedReasoningCheckFindingValid, + AutomatedReasoningCheckFindingInvalid as AutomatedReasoningCheckFindingInvalid, + AutomatedReasoningCheckFindingSatisfiable as AutomatedReasoningCheckFindingSatisfiable, + AutomatedReasoningCheckFindingImpossible as AutomatedReasoningCheckFindingImpossible, + AutomatedReasoningCheckFindingTranslationAmbiguous as AutomatedReasoningCheckFindingTranslationAmbiguous, + AutomatedReasoningCheckFindingTooComplex as AutomatedReasoningCheckFindingTooComplex, + AutomatedReasoningCheckFindingNoTranslations as AutomatedReasoningCheckFindingNoTranslations, + AutomatedReasoningCheckFindingUnknown as AutomatedReasoningCheckFindingUnknown, + AutomatedReasoningCheckFinding as AutomatedReasoningCheckFinding, + _AutomatedReasoningCheckFindingDeserializer as _AutomatedReasoningCheckFindingDeserializer, + AutomatedReasoningCheckImpossibleFinding as AutomatedReasoningCheckImpossibleFinding, + AutomatedReasoningCheckInputTextReference as AutomatedReasoningCheckInputTextReference, + AutomatedReasoningCheckInvalidFinding as AutomatedReasoningCheckInvalidFinding, + AutomatedReasoningCheckLogicWarning as AutomatedReasoningCheckLogicWarning, + AutomatedReasoningCheckLogicWarningType as AutomatedReasoningCheckLogicWarningType, + AutomatedReasoningCheckNoTranslationsFinding as AutomatedReasoningCheckNoTranslationsFinding, + AutomatedReasoningCheckResult as AutomatedReasoningCheckResult, + AutomatedReasoningCheckRule as AutomatedReasoningCheckRule, + AutomatedReasoningCheckSatisfiableFinding as AutomatedReasoningCheckSatisfiableFinding, + AutomatedReasoningCheckScenario as AutomatedReasoningCheckScenario, + AutomatedReasoningCheckTooComplexFinding as AutomatedReasoningCheckTooComplexFinding, + AutomatedReasoningCheckTranslation as AutomatedReasoningCheckTranslation, + AutomatedReasoningCheckTranslationAmbiguousFinding as AutomatedReasoningCheckTranslationAmbiguousFinding, + AutomatedReasoningCheckTranslationOption as AutomatedReasoningCheckTranslationOption, + AutomatedReasoningCheckValidFinding as AutomatedReasoningCheckValidFinding, + AutomatedReasoningLogicStatement as AutomatedReasoningLogicStatement, + AutomatedReasoningPolicyAddRuleAnnotation as AutomatedReasoningPolicyAddRuleAnnotation, + AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation as AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation, + AutomatedReasoningPolicyAddRuleMutation as AutomatedReasoningPolicyAddRuleMutation, + AutomatedReasoningPolicyAddTypeAnnotation as AutomatedReasoningPolicyAddTypeAnnotation, + AutomatedReasoningPolicyAddTypeMutation as AutomatedReasoningPolicyAddTypeMutation, + AutomatedReasoningPolicyAddTypeValue as AutomatedReasoningPolicyAddTypeValue, + AutomatedReasoningPolicyAddVariableAnnotation as AutomatedReasoningPolicyAddVariableAnnotation, + AutomatedReasoningPolicyAddVariableMutation as AutomatedReasoningPolicyAddVariableMutation, + AutomatedReasoningPolicyAnnotatedChunk as AutomatedReasoningPolicyAnnotatedChunk, + AutomatedReasoningPolicyAnnotatedContentLine as AutomatedReasoningPolicyAnnotatedContentLine, + AutomatedReasoningPolicyAnnotatedContentUnknown as AutomatedReasoningPolicyAnnotatedContentUnknown, + AutomatedReasoningPolicyAnnotatedContent as AutomatedReasoningPolicyAnnotatedContent, + _AutomatedReasoningPolicyAnnotatedContentDeserializer as _AutomatedReasoningPolicyAnnotatedContentDeserializer, + AutomatedReasoningPolicyAnnotatedLine as AutomatedReasoningPolicyAnnotatedLine, + AutomatedReasoningPolicyAnnotationAddType as AutomatedReasoningPolicyAnnotationAddType, + AutomatedReasoningPolicyAnnotationUpdateType as AutomatedReasoningPolicyAnnotationUpdateType, + AutomatedReasoningPolicyAnnotationDeleteType as AutomatedReasoningPolicyAnnotationDeleteType, + AutomatedReasoningPolicyAnnotationAddVariable as AutomatedReasoningPolicyAnnotationAddVariable, + AutomatedReasoningPolicyAnnotationUpdateVariable as AutomatedReasoningPolicyAnnotationUpdateVariable, + AutomatedReasoningPolicyAnnotationDeleteVariable as AutomatedReasoningPolicyAnnotationDeleteVariable, + AutomatedReasoningPolicyAnnotationAddRule as AutomatedReasoningPolicyAnnotationAddRule, + AutomatedReasoningPolicyAnnotationUpdateRule as AutomatedReasoningPolicyAnnotationUpdateRule, + AutomatedReasoningPolicyAnnotationDeleteRule as AutomatedReasoningPolicyAnnotationDeleteRule, + AutomatedReasoningPolicyAnnotationAddRuleFromNaturalLanguage as AutomatedReasoningPolicyAnnotationAddRuleFromNaturalLanguage, + AutomatedReasoningPolicyAnnotationUpdateFromRulesFeedback as AutomatedReasoningPolicyAnnotationUpdateFromRulesFeedback, + AutomatedReasoningPolicyAnnotationUpdateFromScenarioFeedback as AutomatedReasoningPolicyAnnotationUpdateFromScenarioFeedback, + AutomatedReasoningPolicyAnnotationIngestContent as AutomatedReasoningPolicyAnnotationIngestContent, + AutomatedReasoningPolicyAnnotationUnknown as AutomatedReasoningPolicyAnnotationUnknown, + AutomatedReasoningPolicyAnnotation as AutomatedReasoningPolicyAnnotation, + _AutomatedReasoningPolicyAnnotationDeserializer as _AutomatedReasoningPolicyAnnotationDeserializer, + AutomatedReasoningPolicyAnnotationStatus as AutomatedReasoningPolicyAnnotationStatus, + AutomatedReasoningPolicyAtomicStatement as AutomatedReasoningPolicyAtomicStatement, + AutomatedReasoningPolicyBuildDocumentContentType as AutomatedReasoningPolicyBuildDocumentContentType, + AutomatedReasoningPolicyBuildLog as AutomatedReasoningPolicyBuildLog, + AutomatedReasoningPolicyBuildLogEntry as AutomatedReasoningPolicyBuildLogEntry, + AutomatedReasoningPolicyBuildMessageType as AutomatedReasoningPolicyBuildMessageType, + AutomatedReasoningPolicyBuildResultAssetManifest as AutomatedReasoningPolicyBuildResultAssetManifest, + AutomatedReasoningPolicyBuildResultAssetManifestEntry as AutomatedReasoningPolicyBuildResultAssetManifestEntry, + AutomatedReasoningPolicyBuildResultAssetsPolicyDefinition as AutomatedReasoningPolicyBuildResultAssetsPolicyDefinition, + AutomatedReasoningPolicyBuildResultAssetsQualityReport as AutomatedReasoningPolicyBuildResultAssetsQualityReport, + AutomatedReasoningPolicyBuildResultAssetsBuildLog as AutomatedReasoningPolicyBuildResultAssetsBuildLog, + AutomatedReasoningPolicyBuildResultAssetsGeneratedTestCases as AutomatedReasoningPolicyBuildResultAssetsGeneratedTestCases, + AutomatedReasoningPolicyBuildResultAssetsPolicyScenarios as AutomatedReasoningPolicyBuildResultAssetsPolicyScenarios, + AutomatedReasoningPolicyBuildResultAssetsAssetManifest as AutomatedReasoningPolicyBuildResultAssetsAssetManifest, + AutomatedReasoningPolicyBuildResultAssetsDocument as AutomatedReasoningPolicyBuildResultAssetsDocument, + AutomatedReasoningPolicyBuildResultAssetsFidelityReport as AutomatedReasoningPolicyBuildResultAssetsFidelityReport, + AutomatedReasoningPolicyBuildResultAssetsUnknown as AutomatedReasoningPolicyBuildResultAssetsUnknown, + AutomatedReasoningPolicyBuildResultAssets as AutomatedReasoningPolicyBuildResultAssets, + _AutomatedReasoningPolicyBuildResultAssetsDeserializer as _AutomatedReasoningPolicyBuildResultAssetsDeserializer, + AutomatedReasoningPolicyBuildResultAssetType as AutomatedReasoningPolicyBuildResultAssetType, + AutomatedReasoningPolicyBuildStep as AutomatedReasoningPolicyBuildStep, + AutomatedReasoningPolicyBuildStepContextPlanning as AutomatedReasoningPolicyBuildStepContextPlanning, + AutomatedReasoningPolicyBuildStepContextMutation as AutomatedReasoningPolicyBuildStepContextMutation, + AutomatedReasoningPolicyBuildStepContextUnknown as AutomatedReasoningPolicyBuildStepContextUnknown, + AutomatedReasoningPolicyBuildStepContext as AutomatedReasoningPolicyBuildStepContext, + _AutomatedReasoningPolicyBuildStepContextDeserializer as _AutomatedReasoningPolicyBuildStepContextDeserializer, + AutomatedReasoningPolicyBuildStepMessage as AutomatedReasoningPolicyBuildStepMessage, + AutomatedReasoningPolicyBuildWorkflowDocument as AutomatedReasoningPolicyBuildWorkflowDocument, + AutomatedReasoningPolicyBuildWorkflowRepairContent as AutomatedReasoningPolicyBuildWorkflowRepairContent, + AutomatedReasoningPolicyBuildWorkflowSource as AutomatedReasoningPolicyBuildWorkflowSource, + AutomatedReasoningPolicyBuildWorkflowStatus as AutomatedReasoningPolicyBuildWorkflowStatus, + AutomatedReasoningPolicyBuildWorkflowSummary as AutomatedReasoningPolicyBuildWorkflowSummary, + AutomatedReasoningPolicyBuildWorkflowType as AutomatedReasoningPolicyBuildWorkflowType, + AutomatedReasoningPolicyDefinition as AutomatedReasoningPolicyDefinition, + AutomatedReasoningPolicyDefinitionElementPolicyDefinitionVariable as AutomatedReasoningPolicyDefinitionElementPolicyDefinitionVariable, + AutomatedReasoningPolicyDefinitionElementPolicyDefinitionType as AutomatedReasoningPolicyDefinitionElementPolicyDefinitionType, + AutomatedReasoningPolicyDefinitionElementPolicyDefinitionRule as AutomatedReasoningPolicyDefinitionElementPolicyDefinitionRule, + AutomatedReasoningPolicyDefinitionElementUnknown as AutomatedReasoningPolicyDefinitionElementUnknown, + AutomatedReasoningPolicyDefinitionElement as AutomatedReasoningPolicyDefinitionElement, + _AutomatedReasoningPolicyDefinitionElementDeserializer as _AutomatedReasoningPolicyDefinitionElementDeserializer, + AutomatedReasoningPolicyDefinitionQualityReport as AutomatedReasoningPolicyDefinitionQualityReport, + AutomatedReasoningPolicyDefinitionRule as AutomatedReasoningPolicyDefinitionRule, + AutomatedReasoningPolicyDefinitionType as AutomatedReasoningPolicyDefinitionType, + AutomatedReasoningPolicyDefinitionTypeValue as AutomatedReasoningPolicyDefinitionTypeValue, + AutomatedReasoningPolicyDefinitionTypeValuePair as AutomatedReasoningPolicyDefinitionTypeValuePair, + AutomatedReasoningPolicyDefinitionVariable as AutomatedReasoningPolicyDefinitionVariable, + AutomatedReasoningPolicyDeleteRuleAnnotation as AutomatedReasoningPolicyDeleteRuleAnnotation, + AutomatedReasoningPolicyDeleteRuleMutation as AutomatedReasoningPolicyDeleteRuleMutation, + AutomatedReasoningPolicyDeleteTypeAnnotation as AutomatedReasoningPolicyDeleteTypeAnnotation, + AutomatedReasoningPolicyDeleteTypeMutation as AutomatedReasoningPolicyDeleteTypeMutation, + AutomatedReasoningPolicyDeleteTypeValue as AutomatedReasoningPolicyDeleteTypeValue, + AutomatedReasoningPolicyDeleteVariableAnnotation as AutomatedReasoningPolicyDeleteVariableAnnotation, + AutomatedReasoningPolicyDeleteVariableMutation as AutomatedReasoningPolicyDeleteVariableMutation, + AutomatedReasoningPolicyDisjointRuleSet as AutomatedReasoningPolicyDisjointRuleSet, + AutomatedReasoningPolicyFidelityReport as AutomatedReasoningPolicyFidelityReport, + AutomatedReasoningPolicyGeneratedTestCase as AutomatedReasoningPolicyGeneratedTestCase, + AutomatedReasoningPolicyGeneratedTestCases as AutomatedReasoningPolicyGeneratedTestCases, + AutomatedReasoningPolicyGenerateFidelityReportContentDocuments as AutomatedReasoningPolicyGenerateFidelityReportContentDocuments, + AutomatedReasoningPolicyGenerateFidelityReportContentUnknown as AutomatedReasoningPolicyGenerateFidelityReportContentUnknown, + AutomatedReasoningPolicyGenerateFidelityReportContent as AutomatedReasoningPolicyGenerateFidelityReportContent, + _AutomatedReasoningPolicyGenerateFidelityReportContentDeserializer as _AutomatedReasoningPolicyGenerateFidelityReportContentDeserializer, + AutomatedReasoningPolicyIngestContentAnnotation as AutomatedReasoningPolicyIngestContentAnnotation, + AutomatedReasoningPolicyIterativeRefinementContent as AutomatedReasoningPolicyIterativeRefinementContent, + AutomatedReasoningPolicyMutationAddType as AutomatedReasoningPolicyMutationAddType, + AutomatedReasoningPolicyMutationUpdateType as AutomatedReasoningPolicyMutationUpdateType, + AutomatedReasoningPolicyMutationDeleteType as AutomatedReasoningPolicyMutationDeleteType, + AutomatedReasoningPolicyMutationAddVariable as AutomatedReasoningPolicyMutationAddVariable, + AutomatedReasoningPolicyMutationUpdateVariable as AutomatedReasoningPolicyMutationUpdateVariable, + AutomatedReasoningPolicyMutationDeleteVariable as AutomatedReasoningPolicyMutationDeleteVariable, + AutomatedReasoningPolicyMutationAddRule as AutomatedReasoningPolicyMutationAddRule, + AutomatedReasoningPolicyMutationUpdateRule as AutomatedReasoningPolicyMutationUpdateRule, + AutomatedReasoningPolicyMutationDeleteRule as AutomatedReasoningPolicyMutationDeleteRule, + AutomatedReasoningPolicyMutationUnknown as AutomatedReasoningPolicyMutationUnknown, + AutomatedReasoningPolicyMutation as AutomatedReasoningPolicyMutation, + _AutomatedReasoningPolicyMutationDeserializer as _AutomatedReasoningPolicyMutationDeserializer, + AutomatedReasoningPolicyPlanning as AutomatedReasoningPolicyPlanning, + AutomatedReasoningPolicyReportSourceDocument as AutomatedReasoningPolicyReportSourceDocument, + AutomatedReasoningPolicyRuleReport as AutomatedReasoningPolicyRuleReport, + AutomatedReasoningPolicyScenario as AutomatedReasoningPolicyScenario, + AutomatedReasoningPolicyScenarios as AutomatedReasoningPolicyScenarios, + AutomatedReasoningPolicySourceDocument as AutomatedReasoningPolicySourceDocument, + AutomatedReasoningPolicyStatementLocation as AutomatedReasoningPolicyStatementLocation, + AutomatedReasoningPolicyStatementReference as AutomatedReasoningPolicyStatementReference, + AutomatedReasoningPolicySummary as AutomatedReasoningPolicySummary, + AutomatedReasoningPolicyTestCase as AutomatedReasoningPolicyTestCase, + AutomatedReasoningPolicyTestResult as AutomatedReasoningPolicyTestResult, + AutomatedReasoningPolicyTestRunResult as AutomatedReasoningPolicyTestRunResult, + AutomatedReasoningPolicyTestRunStatus as AutomatedReasoningPolicyTestRunStatus, + AutomatedReasoningPolicyTypeValueAnnotationAddTypeValue as AutomatedReasoningPolicyTypeValueAnnotationAddTypeValue, + AutomatedReasoningPolicyTypeValueAnnotationUpdateTypeValue as AutomatedReasoningPolicyTypeValueAnnotationUpdateTypeValue, + AutomatedReasoningPolicyTypeValueAnnotationDeleteTypeValue as AutomatedReasoningPolicyTypeValueAnnotationDeleteTypeValue, + AutomatedReasoningPolicyTypeValueAnnotationUnknown as AutomatedReasoningPolicyTypeValueAnnotationUnknown, + AutomatedReasoningPolicyTypeValueAnnotation as AutomatedReasoningPolicyTypeValueAnnotation, + _AutomatedReasoningPolicyTypeValueAnnotationDeserializer as _AutomatedReasoningPolicyTypeValueAnnotationDeserializer, + AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation as AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation, + AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation as AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation, + AutomatedReasoningPolicyUpdateRuleAnnotation as AutomatedReasoningPolicyUpdateRuleAnnotation, + AutomatedReasoningPolicyUpdateRuleMutation as AutomatedReasoningPolicyUpdateRuleMutation, + AutomatedReasoningPolicyUpdateTypeAnnotation as AutomatedReasoningPolicyUpdateTypeAnnotation, + AutomatedReasoningPolicyUpdateTypeMutation as AutomatedReasoningPolicyUpdateTypeMutation, + AutomatedReasoningPolicyUpdateTypeValue as AutomatedReasoningPolicyUpdateTypeValue, + AutomatedReasoningPolicyUpdateVariableAnnotation as AutomatedReasoningPolicyUpdateVariableAnnotation, + AutomatedReasoningPolicyUpdateVariableMutation as AutomatedReasoningPolicyUpdateVariableMutation, + AutomatedReasoningPolicyVariableReport as AutomatedReasoningPolicyVariableReport, + AutomatedReasoningPolicyWorkflowTypeContentDocuments as AutomatedReasoningPolicyWorkflowTypeContentDocuments, + AutomatedReasoningPolicyWorkflowTypeContentPolicyRepairAssets as AutomatedReasoningPolicyWorkflowTypeContentPolicyRepairAssets, + AutomatedReasoningPolicyWorkflowTypeContentGenerateFidelityReportContent as AutomatedReasoningPolicyWorkflowTypeContentGenerateFidelityReportContent, + AutomatedReasoningPolicyWorkflowTypeContentIterativeRefinementContent as AutomatedReasoningPolicyWorkflowTypeContentIterativeRefinementContent, + AutomatedReasoningPolicyWorkflowTypeContentUnknown as AutomatedReasoningPolicyWorkflowTypeContentUnknown, + AutomatedReasoningPolicyWorkflowTypeContent as AutomatedReasoningPolicyWorkflowTypeContent, + _AutomatedReasoningPolicyWorkflowTypeContentDeserializer as _AutomatedReasoningPolicyWorkflowTypeContentDeserializer, + BatchDeleteAdvancedPromptOptimizationJobError as BatchDeleteAdvancedPromptOptimizationJobError, + BatchDeleteAdvancedPromptOptimizationJobInput as BatchDeleteAdvancedPromptOptimizationJobInput, + BatchDeleteAdvancedPromptOptimizationJobItem as BatchDeleteAdvancedPromptOptimizationJobItem, + BatchDeleteAdvancedPromptOptimizationJobOutput as BatchDeleteAdvancedPromptOptimizationJobOutput, + BatchDeleteEvaluationJobError as BatchDeleteEvaluationJobError, + BatchDeleteEvaluationJobInput as BatchDeleteEvaluationJobInput, + BatchDeleteEvaluationJobItem as BatchDeleteEvaluationJobItem, + BatchDeleteEvaluationJobOutput as BatchDeleteEvaluationJobOutput, + BedrockEvaluatorModel as BedrockEvaluatorModel, + ByteContentDoc as ByteContentDoc, + CancelAutomatedReasoningPolicyBuildWorkflowInput as CancelAutomatedReasoningPolicyBuildWorkflowInput, + CancelAutomatedReasoningPolicyBuildWorkflowOutput as CancelAutomatedReasoningPolicyBuildWorkflowOutput, + CloudWatchConfig as CloudWatchConfig, + CommitmentDuration as CommitmentDuration, + ConflictException as ConflictException, + CreateAdvancedPromptOptimizationJobInput as CreateAdvancedPromptOptimizationJobInput, + CreateAdvancedPromptOptimizationJobOutput as CreateAdvancedPromptOptimizationJobOutput, + CreateAutomatedReasoningPolicyInput as CreateAutomatedReasoningPolicyInput, + CreateAutomatedReasoningPolicyOutput as CreateAutomatedReasoningPolicyOutput, + CreateAutomatedReasoningPolicyTestCaseInput as CreateAutomatedReasoningPolicyTestCaseInput, + CreateAutomatedReasoningPolicyTestCaseOutput as CreateAutomatedReasoningPolicyTestCaseOutput, + CreateAutomatedReasoningPolicyVersionInput as CreateAutomatedReasoningPolicyVersionInput, + CreateAutomatedReasoningPolicyVersionOutput as CreateAutomatedReasoningPolicyVersionOutput, + CreateCustomModelDeploymentInput as CreateCustomModelDeploymentInput, + CreateCustomModelDeploymentOutput as CreateCustomModelDeploymentOutput, + CreateCustomModelInput as CreateCustomModelInput, + CreateCustomModelOutput as CreateCustomModelOutput, + CreateEvaluationJobInput as CreateEvaluationJobInput, + CreateEvaluationJobOutput as CreateEvaluationJobOutput, + CreateFoundationModelAgreementInput as CreateFoundationModelAgreementInput, + CreateFoundationModelAgreementOutput as CreateFoundationModelAgreementOutput, + CreateGuardrailInput as CreateGuardrailInput, + CreateGuardrailOutput as CreateGuardrailOutput, + CreateGuardrailVersionInput as CreateGuardrailVersionInput, + CreateGuardrailVersionOutput as CreateGuardrailVersionOutput, + CreateInferenceProfileInput as CreateInferenceProfileInput, + CreateInferenceProfileOutput as CreateInferenceProfileOutput, + CreateMarketplaceModelEndpointInput as CreateMarketplaceModelEndpointInput, + CreateMarketplaceModelEndpointOutput as CreateMarketplaceModelEndpointOutput, + CreateModelCopyJobInput as CreateModelCopyJobInput, + CreateModelCopyJobOutput as CreateModelCopyJobOutput, + CreateModelCustomizationJobInput as CreateModelCustomizationJobInput, + CreateModelCustomizationJobOutput as CreateModelCustomizationJobOutput, + CreateModelImportJobInput as CreateModelImportJobInput, + CreateModelImportJobOutput as CreateModelImportJobOutput, + CreateModelInvocationJobInput as CreateModelInvocationJobInput, + CreateModelInvocationJobOutput as CreateModelInvocationJobOutput, + CreatePromptRouterInput as CreatePromptRouterInput, + CreatePromptRouterOutput as CreatePromptRouterOutput, + CreateProvisionedModelThroughputInput as CreateProvisionedModelThroughputInput, + CreateProvisionedModelThroughputOutput as CreateProvisionedModelThroughputOutput, + CustomizationConfigDistillationConfig as CustomizationConfigDistillationConfig, + CustomizationConfigRftConfig as CustomizationConfigRftConfig, + CustomizationConfigUnknown as CustomizationConfigUnknown, + CustomizationConfig as CustomizationConfig, + _CustomizationConfigDeserializer as _CustomizationConfigDeserializer, + CustomizationType as CustomizationType, + CustomMetricBedrockEvaluatorModel as CustomMetricBedrockEvaluatorModel, + CustomMetricDefinition as CustomMetricDefinition, + CustomMetricEvaluatorModelConfig as CustomMetricEvaluatorModelConfig, + CustomModelDataSourceModelPackageArnDataSource as CustomModelDataSourceModelPackageArnDataSource, + CustomModelDataSourceUnknown as CustomModelDataSourceUnknown, + CustomModelDataSource as CustomModelDataSource, + _CustomModelDataSourceDeserializer as _CustomModelDataSourceDeserializer, + CustomModelDeploymentStatus as CustomModelDeploymentStatus, + CustomModelDeploymentSummary as CustomModelDeploymentSummary, + CustomModelDeploymentUpdateDetails as CustomModelDeploymentUpdateDetails, + CustomModelDeploymentUpdateStatus as CustomModelDeploymentUpdateStatus, + CustomModelSummary as CustomModelSummary, + CustomModelUnits as CustomModelUnits, + DataProcessingDetails as DataProcessingDetails, + DataRetentionMode as DataRetentionMode, + DeleteAutomatedReasoningPolicyBuildWorkflowInput as DeleteAutomatedReasoningPolicyBuildWorkflowInput, + DeleteAutomatedReasoningPolicyBuildWorkflowOutput as DeleteAutomatedReasoningPolicyBuildWorkflowOutput, + DeleteAutomatedReasoningPolicyInput as DeleteAutomatedReasoningPolicyInput, + DeleteAutomatedReasoningPolicyOutput as DeleteAutomatedReasoningPolicyOutput, + DeleteAutomatedReasoningPolicyTestCaseInput as DeleteAutomatedReasoningPolicyTestCaseInput, + DeleteAutomatedReasoningPolicyTestCaseOutput as DeleteAutomatedReasoningPolicyTestCaseOutput, + DeleteCustomModelDeploymentInput as DeleteCustomModelDeploymentInput, + DeleteCustomModelDeploymentOutput as DeleteCustomModelDeploymentOutput, + DeleteCustomModelInput as DeleteCustomModelInput, + DeleteCustomModelOutput as DeleteCustomModelOutput, + DeleteEnforcedGuardrailConfigurationInput as DeleteEnforcedGuardrailConfigurationInput, + DeleteEnforcedGuardrailConfigurationOutput as DeleteEnforcedGuardrailConfigurationOutput, + DeleteFoundationModelAgreementInput as DeleteFoundationModelAgreementInput, + DeleteFoundationModelAgreementOutput as DeleteFoundationModelAgreementOutput, + DeleteGuardrailInput as DeleteGuardrailInput, + DeleteGuardrailOutput as DeleteGuardrailOutput, + DeleteImportedModelInput as DeleteImportedModelInput, + DeleteImportedModelOutput as DeleteImportedModelOutput, + DeleteInferenceProfileInput as DeleteInferenceProfileInput, + DeleteInferenceProfileOutput as DeleteInferenceProfileOutput, + DeleteMarketplaceModelEndpointInput as DeleteMarketplaceModelEndpointInput, + DeleteMarketplaceModelEndpointOutput as DeleteMarketplaceModelEndpointOutput, + DeleteModelInvocationLoggingConfigurationInput as DeleteModelInvocationLoggingConfigurationInput, + DeleteModelInvocationLoggingConfigurationOutput as DeleteModelInvocationLoggingConfigurationOutput, + DeletePromptRouterInput as DeletePromptRouterInput, + DeletePromptRouterOutput as DeletePromptRouterOutput, + DeleteProvisionedModelThroughputInput as DeleteProvisionedModelThroughputInput, + DeleteProvisionedModelThroughputOutput as DeleteProvisionedModelThroughputOutput, + DeleteResourcePolicyInput as DeleteResourcePolicyInput, + DeleteResourcePolicyOutput as DeleteResourcePolicyOutput, + DeregisterMarketplaceModelEndpointInput as DeregisterMarketplaceModelEndpointInput, + DeregisterMarketplaceModelEndpointOutput as DeregisterMarketplaceModelEndpointOutput, + DimensionalPriceRate as DimensionalPriceRate, + DistillationConfig as DistillationConfig, + EndpointConfigSageMaker as EndpointConfigSageMaker, + EndpointConfigUnknown as EndpointConfigUnknown, + EndpointConfig as EndpointConfig, + _EndpointConfigDeserializer as _EndpointConfigDeserializer, + EntitlementAvailability as EntitlementAvailability, + EvaluationBedrockModel as EvaluationBedrockModel, + EvaluationConfigAutomated as EvaluationConfigAutomated, + EvaluationConfigHuman as EvaluationConfigHuman, + EvaluationConfigUnknown as EvaluationConfigUnknown, + EvaluationConfig as EvaluationConfig, + _EvaluationConfigDeserializer as _EvaluationConfigDeserializer, + EvaluationDataset as EvaluationDataset, + EvaluationDatasetLocationS3Uri as EvaluationDatasetLocationS3Uri, + EvaluationDatasetLocationUnknown as EvaluationDatasetLocationUnknown, + EvaluationDatasetLocation as EvaluationDatasetLocation, + _EvaluationDatasetLocationDeserializer as _EvaluationDatasetLocationDeserializer, + EvaluationDatasetMetricConfig as EvaluationDatasetMetricConfig, + EvaluationInferenceConfigModels as EvaluationInferenceConfigModels, + EvaluationInferenceConfigRagConfigs as EvaluationInferenceConfigRagConfigs, + EvaluationInferenceConfigUnknown as EvaluationInferenceConfigUnknown, + EvaluationInferenceConfig as EvaluationInferenceConfig, + _EvaluationInferenceConfigDeserializer as _EvaluationInferenceConfigDeserializer, + EvaluationInferenceConfigSummary as EvaluationInferenceConfigSummary, + EvaluationJobStatus as EvaluationJobStatus, + EvaluationJobType as EvaluationJobType, + EvaluationModelConfigBedrockModel as EvaluationModelConfigBedrockModel, + EvaluationModelConfigPrecomputedInferenceSource as EvaluationModelConfigPrecomputedInferenceSource, + EvaluationModelConfigUnknown as EvaluationModelConfigUnknown, + EvaluationModelConfig as EvaluationModelConfig, + _EvaluationModelConfigDeserializer as _EvaluationModelConfigDeserializer, + EvaluationModelConfigSummary as EvaluationModelConfigSummary, + EvaluationOutputDataConfig as EvaluationOutputDataConfig, + EvaluationPrecomputedInferenceSource as EvaluationPrecomputedInferenceSource, + EvaluationPrecomputedRagSourceConfigRetrieveSourceConfig as EvaluationPrecomputedRagSourceConfigRetrieveSourceConfig, + EvaluationPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfig as EvaluationPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfig, + EvaluationPrecomputedRagSourceConfigUnknown as EvaluationPrecomputedRagSourceConfigUnknown, + EvaluationPrecomputedRagSourceConfig as EvaluationPrecomputedRagSourceConfig, + _EvaluationPrecomputedRagSourceConfigDeserializer as _EvaluationPrecomputedRagSourceConfigDeserializer, + EvaluationPrecomputedRetrieveAndGenerateSourceConfig as EvaluationPrecomputedRetrieveAndGenerateSourceConfig, + EvaluationPrecomputedRetrieveSourceConfig as EvaluationPrecomputedRetrieveSourceConfig, + EvaluationRagConfigSummary as EvaluationRagConfigSummary, + EvaluationSummary as EvaluationSummary, + EvaluationTaskType as EvaluationTaskType, + EvaluatorModelConfigBedrockEvaluatorModels as EvaluatorModelConfigBedrockEvaluatorModels, + EvaluatorModelConfigUnknown as EvaluatorModelConfigUnknown, + EvaluatorModelConfig as EvaluatorModelConfig, + _EvaluatorModelConfigDeserializer as _EvaluatorModelConfigDeserializer, + ExportAutomatedReasoningPolicyVersionInput as ExportAutomatedReasoningPolicyVersionInput, + ExportAutomatedReasoningPolicyVersionOutput as ExportAutomatedReasoningPolicyVersionOutput, + ExternalSource as ExternalSource, + ExternalSourcesGenerationConfiguration as ExternalSourcesGenerationConfiguration, + ExternalSourcesRetrieveAndGenerateConfiguration as ExternalSourcesRetrieveAndGenerateConfiguration, + ExternalSourceType as ExternalSourceType, + FieldForReranking as FieldForReranking, + FilterAttribute as FilterAttribute, + FineTuningJobStatus as FineTuningJobStatus, + FoundationModelDetails as FoundationModelDetails, + FoundationModelLifecycle as FoundationModelLifecycle, + FoundationModelLifecycleStatus as FoundationModelLifecycleStatus, + FoundationModelSummary as FoundationModelSummary, + GenerationConfiguration as GenerationConfiguration, + GetAccountDataRetentionInput as GetAccountDataRetentionInput, + GetAccountDataRetentionOutput as GetAccountDataRetentionOutput, + GetAdvancedPromptOptimizationJobInput as GetAdvancedPromptOptimizationJobInput, + GetAdvancedPromptOptimizationJobOutput as GetAdvancedPromptOptimizationJobOutput, +) + +from ._private.models_1 import ( + GetAutomatedReasoningPolicyAnnotationsInput as GetAutomatedReasoningPolicyAnnotationsInput, + GetAutomatedReasoningPolicyAnnotationsOutput as GetAutomatedReasoningPolicyAnnotationsOutput, + GetAutomatedReasoningPolicyBuildWorkflowInput as GetAutomatedReasoningPolicyBuildWorkflowInput, + GetAutomatedReasoningPolicyBuildWorkflowOutput as GetAutomatedReasoningPolicyBuildWorkflowOutput, + GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput as GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput, + GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput as GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput, + GetAutomatedReasoningPolicyInput as GetAutomatedReasoningPolicyInput, + GetAutomatedReasoningPolicyNextScenarioInput as GetAutomatedReasoningPolicyNextScenarioInput, + GetAutomatedReasoningPolicyNextScenarioOutput as GetAutomatedReasoningPolicyNextScenarioOutput, + GetAutomatedReasoningPolicyOutput as GetAutomatedReasoningPolicyOutput, + GetAutomatedReasoningPolicyTestCaseInput as GetAutomatedReasoningPolicyTestCaseInput, + GetAutomatedReasoningPolicyTestCaseOutput as GetAutomatedReasoningPolicyTestCaseOutput, + GetAutomatedReasoningPolicyTestResultInput as GetAutomatedReasoningPolicyTestResultInput, + GetAutomatedReasoningPolicyTestResultOutput as GetAutomatedReasoningPolicyTestResultOutput, + GetCustomModelDeploymentInput as GetCustomModelDeploymentInput, + GetCustomModelDeploymentOutput as GetCustomModelDeploymentOutput, + GetCustomModelInput as GetCustomModelInput, + GetCustomModelOutput as GetCustomModelOutput, + GetEvaluationJobInput as GetEvaluationJobInput, + GetEvaluationJobOutput as GetEvaluationJobOutput, + GetFoundationModelAvailabilityInput as GetFoundationModelAvailabilityInput, + GetFoundationModelAvailabilityOutput as GetFoundationModelAvailabilityOutput, + GetFoundationModelInput as GetFoundationModelInput, + GetFoundationModelOutput as GetFoundationModelOutput, + GetGuardrailInput as GetGuardrailInput, + GetGuardrailOutput as GetGuardrailOutput, + GetImportedModelInput as GetImportedModelInput, + GetImportedModelOutput as GetImportedModelOutput, + GetInferenceProfileInput as GetInferenceProfileInput, + GetInferenceProfileOutput as GetInferenceProfileOutput, + GetMarketplaceModelEndpointInput as GetMarketplaceModelEndpointInput, + GetMarketplaceModelEndpointOutput as GetMarketplaceModelEndpointOutput, + GetModelCopyJobInput as GetModelCopyJobInput, + GetModelCopyJobOutput as GetModelCopyJobOutput, + GetModelCustomizationJobInput as GetModelCustomizationJobInput, + GetModelCustomizationJobOutput as GetModelCustomizationJobOutput, + GetModelImportJobInput as GetModelImportJobInput, + GetModelImportJobOutput as GetModelImportJobOutput, + GetModelInvocationJobInput as GetModelInvocationJobInput, + GetModelInvocationJobOutput as GetModelInvocationJobOutput, + GetModelInvocationLoggingConfigurationInput as GetModelInvocationLoggingConfigurationInput, + GetModelInvocationLoggingConfigurationOutput as GetModelInvocationLoggingConfigurationOutput, + GetPromptRouterInput as GetPromptRouterInput, + GetPromptRouterOutput as GetPromptRouterOutput, + GetProvisionedModelThroughputInput as GetProvisionedModelThroughputInput, + GetProvisionedModelThroughputOutput as GetProvisionedModelThroughputOutput, + GetResourcePolicyInput as GetResourcePolicyInput, + GetResourcePolicyOutput as GetResourcePolicyOutput, + GetUseCaseForModelAccessInput as GetUseCaseForModelAccessInput, + GetUseCaseForModelAccessOutput as GetUseCaseForModelAccessOutput, + GraderConfigLambdaGrader as GraderConfigLambdaGrader, + GraderConfigUnknown as GraderConfigUnknown, + GraderConfig as GraderConfig, + _GraderConfigDeserializer as _GraderConfigDeserializer, + GuardrailAutomatedReasoningPolicy as GuardrailAutomatedReasoningPolicy, + GuardrailAutomatedReasoningPolicyConfig as GuardrailAutomatedReasoningPolicyConfig, + GuardrailConfiguration as GuardrailConfiguration, + GuardrailContentFilter as GuardrailContentFilter, + GuardrailContentFilterAction as GuardrailContentFilterAction, + GuardrailContentFilterConfig as GuardrailContentFilterConfig, + GuardrailContentFiltersTier as GuardrailContentFiltersTier, + GuardrailContentFiltersTierConfig as GuardrailContentFiltersTierConfig, + GuardrailContentFiltersTierName as GuardrailContentFiltersTierName, + GuardrailContentFilterType as GuardrailContentFilterType, + GuardrailContentPolicy as GuardrailContentPolicy, + GuardrailContentPolicyConfig as GuardrailContentPolicyConfig, + GuardrailContextualGroundingAction as GuardrailContextualGroundingAction, + GuardrailContextualGroundingFilter as GuardrailContextualGroundingFilter, + GuardrailContextualGroundingFilterConfig as GuardrailContextualGroundingFilterConfig, + GuardrailContextualGroundingFilterType as GuardrailContextualGroundingFilterType, + GuardrailContextualGroundingPolicy as GuardrailContextualGroundingPolicy, + GuardrailContextualGroundingPolicyConfig as GuardrailContextualGroundingPolicyConfig, + GuardrailContextualGroundingTier as GuardrailContextualGroundingTier, + GuardrailContextualGroundingTierConfig as GuardrailContextualGroundingTierConfig, + GuardrailContextualGroundingTierName as GuardrailContextualGroundingTierName, + GuardrailCrossRegionConfig as GuardrailCrossRegionConfig, + GuardrailCrossRegionDetails as GuardrailCrossRegionDetails, + GuardrailFilterStrength as GuardrailFilterStrength, + GuardrailManagedWords as GuardrailManagedWords, + GuardrailManagedWordsConfig as GuardrailManagedWordsConfig, + GuardrailManagedWordsType as GuardrailManagedWordsType, + GuardrailModality as GuardrailModality, + GuardrailPiiEntity as GuardrailPiiEntity, + GuardrailPiiEntityConfig as GuardrailPiiEntityConfig, + GuardrailPiiEntityType as GuardrailPiiEntityType, + GuardrailRegex as GuardrailRegex, + GuardrailRegexConfig as GuardrailRegexConfig, + GuardrailSensitiveInformationAction as GuardrailSensitiveInformationAction, + GuardrailSensitiveInformationPolicy as GuardrailSensitiveInformationPolicy, + GuardrailSensitiveInformationPolicyConfig as GuardrailSensitiveInformationPolicyConfig, + GuardrailStatus as GuardrailStatus, + GuardrailSummary as GuardrailSummary, + GuardrailTopic as GuardrailTopic, + GuardrailTopicAction as GuardrailTopicAction, + GuardrailTopicConfig as GuardrailTopicConfig, + GuardrailTopicPolicy as GuardrailTopicPolicy, + GuardrailTopicPolicyConfig as GuardrailTopicPolicyConfig, + GuardrailTopicsTier as GuardrailTopicsTier, + GuardrailTopicsTierConfig as GuardrailTopicsTierConfig, + GuardrailTopicsTierName as GuardrailTopicsTierName, + GuardrailTopicType as GuardrailTopicType, + GuardrailWord as GuardrailWord, + GuardrailWordAction as GuardrailWordAction, + GuardrailWordConfig as GuardrailWordConfig, + GuardrailWordPolicy as GuardrailWordPolicy, + GuardrailWordPolicyConfig as GuardrailWordPolicyConfig, + HumanEvaluationConfig as HumanEvaluationConfig, + HumanEvaluationCustomMetric as HumanEvaluationCustomMetric, + HumanWorkflowConfig as HumanWorkflowConfig, + ImplicitFilterConfiguration as ImplicitFilterConfiguration, + ImportedModelSummary as ImportedModelSummary, + InferenceConfiguration as InferenceConfiguration, + InferenceProfileModel as InferenceProfileModel, + InferenceProfileModelSourceCopyFrom as InferenceProfileModelSourceCopyFrom, + InferenceProfileModelSourceUnknown as InferenceProfileModelSourceUnknown, + InferenceProfileModelSource as InferenceProfileModelSource, + _InferenceProfileModelSourceDeserializer as _InferenceProfileModelSourceDeserializer, + InferenceProfileStatus as InferenceProfileStatus, + InferenceProfileSummary as InferenceProfileSummary, + InferenceProfileType as InferenceProfileType, + InferenceType as InferenceType, + InputTags as InputTags, + InternalServerException as InternalServerException, + InvocationLogsConfig as InvocationLogsConfig, + InvocationLogSourceS3Uri as InvocationLogSourceS3Uri, + InvocationLogSourceUnknown as InvocationLogSourceUnknown, + InvocationLogSource as InvocationLogSource, + _InvocationLogSourceDeserializer as _InvocationLogSourceDeserializer, + JobStatusDetails as JobStatusDetails, + KbInferenceConfig as KbInferenceConfig, + KnowledgeBaseConfigRetrieveConfig as KnowledgeBaseConfigRetrieveConfig, + KnowledgeBaseConfigRetrieveAndGenerateConfig as KnowledgeBaseConfigRetrieveAndGenerateConfig, + KnowledgeBaseConfigUnknown as KnowledgeBaseConfigUnknown, + KnowledgeBaseConfig as KnowledgeBaseConfig, + _KnowledgeBaseConfigDeserializer as _KnowledgeBaseConfigDeserializer, + KnowledgeBaseRetrievalConfiguration as KnowledgeBaseRetrievalConfiguration, + KnowledgeBaseRetrieveAndGenerateConfiguration as KnowledgeBaseRetrieveAndGenerateConfiguration, + KnowledgeBaseVectorSearchConfiguration as KnowledgeBaseVectorSearchConfiguration, + LambdaGraderConfig as LambdaGraderConfig, + LegalTerm as LegalTerm, + ListAdvancedPromptOptimizationJobsInput as ListAdvancedPromptOptimizationJobsInput, + ListAdvancedPromptOptimizationJobsOutput as ListAdvancedPromptOptimizationJobsOutput, + ListAutomatedReasoningPoliciesInput as ListAutomatedReasoningPoliciesInput, + ListAutomatedReasoningPoliciesOutput as ListAutomatedReasoningPoliciesOutput, + ListAutomatedReasoningPolicyBuildWorkflowsInput as ListAutomatedReasoningPolicyBuildWorkflowsInput, + ListAutomatedReasoningPolicyBuildWorkflowsOutput as ListAutomatedReasoningPolicyBuildWorkflowsOutput, + ListAutomatedReasoningPolicyTestCasesInput as ListAutomatedReasoningPolicyTestCasesInput, + ListAutomatedReasoningPolicyTestCasesOutput as ListAutomatedReasoningPolicyTestCasesOutput, + ListAutomatedReasoningPolicyTestResultsInput as ListAutomatedReasoningPolicyTestResultsInput, + ListAutomatedReasoningPolicyTestResultsOutput as ListAutomatedReasoningPolicyTestResultsOutput, + ListCustomModelDeploymentsInput as ListCustomModelDeploymentsInput, + ListCustomModelDeploymentsOutput as ListCustomModelDeploymentsOutput, + ListCustomModelsInput as ListCustomModelsInput, + ListCustomModelsOutput as ListCustomModelsOutput, + ListEnforcedGuardrailsConfigurationInput as ListEnforcedGuardrailsConfigurationInput, + ListEnforcedGuardrailsConfigurationOutput as ListEnforcedGuardrailsConfigurationOutput, + ListEvaluationJobsInput as ListEvaluationJobsInput, + ListEvaluationJobsOutput as ListEvaluationJobsOutput, + ListFoundationModelAgreementOffersInput as ListFoundationModelAgreementOffersInput, + ListFoundationModelAgreementOffersOutput as ListFoundationModelAgreementOffersOutput, + ListFoundationModelsInput as ListFoundationModelsInput, + ListFoundationModelsOutput as ListFoundationModelsOutput, + ListGuardrailsInput as ListGuardrailsInput, + ListGuardrailsOutput as ListGuardrailsOutput, + ListImportedModelsInput as ListImportedModelsInput, + ListImportedModelsOutput as ListImportedModelsOutput, + ListInferenceProfilesInput as ListInferenceProfilesInput, + ListInferenceProfilesOutput as ListInferenceProfilesOutput, + ListMarketplaceModelEndpointsInput as ListMarketplaceModelEndpointsInput, + ListMarketplaceModelEndpointsOutput as ListMarketplaceModelEndpointsOutput, + ListModelCopyJobsInput as ListModelCopyJobsInput, + ListModelCopyJobsOutput as ListModelCopyJobsOutput, + ListModelCustomizationJobsInput as ListModelCustomizationJobsInput, + ListModelCustomizationJobsOutput as ListModelCustomizationJobsOutput, + ListModelImportJobsInput as ListModelImportJobsInput, + ListModelImportJobsOutput as ListModelImportJobsOutput, + ListModelInvocationJobsInput as ListModelInvocationJobsInput, + ListModelInvocationJobsOutput as ListModelInvocationJobsOutput, + ListPromptRoutersInput as ListPromptRoutersInput, + ListPromptRoutersOutput as ListPromptRoutersOutput, + ListProvisionedModelThroughputsInput as ListProvisionedModelThroughputsInput, + ListProvisionedModelThroughputsOutput as ListProvisionedModelThroughputsOutput, + ListTagsForResourceInput as ListTagsForResourceInput, + ListTagsForResourceOutput as ListTagsForResourceOutput, + LoggingConfig as LoggingConfig, + MarketplaceModelEndpoint as MarketplaceModelEndpoint, + MarketplaceModelEndpointSummary as MarketplaceModelEndpointSummary, + MetadataAttributeSchema as MetadataAttributeSchema, + MetadataConfigurationForReranking as MetadataConfigurationForReranking, + ModelConfiguration as ModelConfiguration, + ModelCopyJobStatus as ModelCopyJobStatus, + ModelCopyJobSummary as ModelCopyJobSummary, + ModelCustomization as ModelCustomization, + ModelCustomizationJobStatus as ModelCustomizationJobStatus, + ModelCustomizationJobSummary as ModelCustomizationJobSummary, + ModelDataSourceS3DataSource as ModelDataSourceS3DataSource, + ModelDataSourceUnknown as ModelDataSourceUnknown, + ModelDataSource as ModelDataSource, + _ModelDataSourceDeserializer as _ModelDataSourceDeserializer, + ModelEnforcement as ModelEnforcement, + ModelImportJobStatus as ModelImportJobStatus, + ModelImportJobSummary as ModelImportJobSummary, + ModelInvocationJobInputDataConfigS3InputDataConfig as ModelInvocationJobInputDataConfigS3InputDataConfig, + ModelInvocationJobInputDataConfigUnknown as ModelInvocationJobInputDataConfigUnknown, + ModelInvocationJobInputDataConfig as ModelInvocationJobInputDataConfig, + _ModelInvocationJobInputDataConfigDeserializer as _ModelInvocationJobInputDataConfigDeserializer, + ModelInvocationJobOutputDataConfigS3OutputDataConfig as ModelInvocationJobOutputDataConfigS3OutputDataConfig, + ModelInvocationJobOutputDataConfigUnknown as ModelInvocationJobOutputDataConfigUnknown, + ModelInvocationJobOutputDataConfig as ModelInvocationJobOutputDataConfig, + _ModelInvocationJobOutputDataConfigDeserializer as _ModelInvocationJobOutputDataConfigDeserializer, + ModelInvocationJobS3InputDataConfig as ModelInvocationJobS3InputDataConfig, + ModelInvocationJobS3OutputDataConfig as ModelInvocationJobS3OutputDataConfig, + ModelInvocationJobStatus as ModelInvocationJobStatus, + ModelInvocationJobSummary as ModelInvocationJobSummary, + ModelInvocationType as ModelInvocationType, + ModelModality as ModelModality, + ModelPackageArnDataSource as ModelPackageArnDataSource, + ModelStatus as ModelStatus, + Offer as Offer, + OfferType as OfferType, + OrchestrationConfiguration as OrchestrationConfiguration, + OutputDataConfig as OutputDataConfig, + PerformanceConfigLatency as PerformanceConfigLatency, + PerformanceConfiguration as PerformanceConfiguration, + PricingTerm as PricingTerm, + PromptRouterStatus as PromptRouterStatus, + PromptRouterSummary as PromptRouterSummary, + PromptRouterTargetModel as PromptRouterTargetModel, + PromptRouterType as PromptRouterType, + PromptTemplate as PromptTemplate, + ProvisionedModelStatus as ProvisionedModelStatus, + ProvisionedModelSummary as ProvisionedModelSummary, + PutAccountDataRetentionInput as PutAccountDataRetentionInput, + PutAccountDataRetentionOutput as PutAccountDataRetentionOutput, + PutEnforcedGuardrailConfigurationInput as PutEnforcedGuardrailConfigurationInput, + PutEnforcedGuardrailConfigurationOutput as PutEnforcedGuardrailConfigurationOutput, + PutModelInvocationLoggingConfigurationInput as PutModelInvocationLoggingConfigurationInput, + PutModelInvocationLoggingConfigurationOutput as PutModelInvocationLoggingConfigurationOutput, + PutResourcePolicyInput as PutResourcePolicyInput, + PutResourcePolicyOutput as PutResourcePolicyOutput, + PutUseCaseForModelAccessInput as PutUseCaseForModelAccessInput, + PutUseCaseForModelAccessOutput as PutUseCaseForModelAccessOutput, + QueryTransformationConfiguration as QueryTransformationConfiguration, + QueryTransformationType as QueryTransformationType, + RAGConfigKnowledgeBaseConfig as RAGConfigKnowledgeBaseConfig, + RAGConfigPrecomputedRagSourceConfig as RAGConfigPrecomputedRagSourceConfig, + RAGConfigUnknown as RAGConfigUnknown, + RAGConfig as RAGConfig, + _RAGConfigDeserializer as _RAGConfigDeserializer, + RatingScaleItem as RatingScaleItem, + RatingScaleItemValueStringValue as RatingScaleItemValueStringValue, + RatingScaleItemValueFloatValue as RatingScaleItemValueFloatValue, + RatingScaleItemValueUnknown as RatingScaleItemValueUnknown, + RatingScaleItemValue as RatingScaleItemValue, + _RatingScaleItemValueDeserializer as _RatingScaleItemValueDeserializer, + ReasoningEffort as ReasoningEffort, + RegionAvailability as RegionAvailability, + RegisterMarketplaceModelEndpointInput as RegisterMarketplaceModelEndpointInput, + RegisterMarketplaceModelEndpointOutput as RegisterMarketplaceModelEndpointOutput, + RequestMetadataBaseFilters as RequestMetadataBaseFilters, + RequestMetadataFiltersEquals as RequestMetadataFiltersEquals, + RequestMetadataFiltersNotEquals as RequestMetadataFiltersNotEquals, + RequestMetadataFiltersAndAll as RequestMetadataFiltersAndAll, + RequestMetadataFiltersOrAll as RequestMetadataFiltersOrAll, + RequestMetadataFiltersUnknown as RequestMetadataFiltersUnknown, + RequestMetadataFilters as RequestMetadataFilters, + _RequestMetadataFiltersDeserializer as _RequestMetadataFiltersDeserializer, + RerankingMetadataSelectionMode as RerankingMetadataSelectionMode, + RerankingMetadataSelectiveModeConfigurationFieldsToInclude as RerankingMetadataSelectiveModeConfigurationFieldsToInclude, + RerankingMetadataSelectiveModeConfigurationFieldsToExclude as RerankingMetadataSelectiveModeConfigurationFieldsToExclude, + RerankingMetadataSelectiveModeConfigurationUnknown as RerankingMetadataSelectiveModeConfigurationUnknown, + RerankingMetadataSelectiveModeConfiguration as RerankingMetadataSelectiveModeConfiguration, + _RerankingMetadataSelectiveModeConfigurationDeserializer as _RerankingMetadataSelectiveModeConfigurationDeserializer, + ResourceInUseException as ResourceInUseException, + ResourceNotFoundException as ResourceNotFoundException, + RetrievalFilterEquals as RetrievalFilterEquals, + RetrievalFilterNotEquals as RetrievalFilterNotEquals, + RetrievalFilterGreaterThan as RetrievalFilterGreaterThan, + RetrievalFilterGreaterThanOrEquals as RetrievalFilterGreaterThanOrEquals, + RetrievalFilterLessThan as RetrievalFilterLessThan, + RetrievalFilterLessThanOrEquals as RetrievalFilterLessThanOrEquals, + RetrievalFilterIn as RetrievalFilterIn, + RetrievalFilterNotIn as RetrievalFilterNotIn, + RetrievalFilterStartsWith as RetrievalFilterStartsWith, + RetrievalFilterListContains as RetrievalFilterListContains, + RetrievalFilterStringContains as RetrievalFilterStringContains, + RetrievalFilterAndAll as RetrievalFilterAndAll, + RetrievalFilterOrAll as RetrievalFilterOrAll, + RetrievalFilterUnknown as RetrievalFilterUnknown, + RetrievalFilter as RetrievalFilter, + _RetrievalFilterDeserializer as _RetrievalFilterDeserializer, + RetrieveAndGenerateConfiguration as RetrieveAndGenerateConfiguration, + RetrieveAndGenerateType as RetrieveAndGenerateType, + RetrieveConfig as RetrieveConfig, + RFTConfig as RFTConfig, + RFTHyperParameters as RFTHyperParameters, + RoutingCriteria as RoutingCriteria, + S3Config as S3Config, + S3DataSource as S3DataSource, + S3InputFormat as S3InputFormat, + S3ObjectDoc as S3ObjectDoc, + SageMakerEndpoint as SageMakerEndpoint, + SearchType as SearchType, + SelectiveContentGuarding as SelectiveContentGuarding, + SelectiveGuardingMode as SelectiveGuardingMode, +) + +from ._private.models_2 import ( + ServiceQuotaExceededException as ServiceQuotaExceededException, + ServiceUnavailableException as ServiceUnavailableException, + SortByProvisionedModels as SortByProvisionedModels, + SortJobsBy as SortJobsBy, + SortModelsBy as SortModelsBy, + SortOrder as SortOrder, + StartAutomatedReasoningPolicyBuildWorkflowInput as StartAutomatedReasoningPolicyBuildWorkflowInput, + StartAutomatedReasoningPolicyBuildWorkflowOutput as StartAutomatedReasoningPolicyBuildWorkflowOutput, + StartAutomatedReasoningPolicyTestWorkflowInput as StartAutomatedReasoningPolicyTestWorkflowInput, + StartAutomatedReasoningPolicyTestWorkflowOutput as StartAutomatedReasoningPolicyTestWorkflowOutput, + Status as Status, + StatusDetails as StatusDetails, + StopAdvancedPromptOptimizationJobInput as StopAdvancedPromptOptimizationJobInput, + StopAdvancedPromptOptimizationJobOutput as StopAdvancedPromptOptimizationJobOutput, + StopEvaluationJobInput as StopEvaluationJobInput, + StopEvaluationJobOutput as StopEvaluationJobOutput, + StopModelCustomizationJobInput as StopModelCustomizationJobInput, + StopModelCustomizationJobOutput as StopModelCustomizationJobOutput, + StopModelInvocationJobInput as StopModelInvocationJobInput, + StopModelInvocationJobOutput as StopModelInvocationJobOutput, + SupportTerm as SupportTerm, + Tag as Tag, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + TeacherModelConfig as TeacherModelConfig, + TermDetails as TermDetails, + TextInferenceConfig as TextInferenceConfig, + ThrottlingException as ThrottlingException, + TooManyTagsException as TooManyTagsException, + TrainingDataConfig as TrainingDataConfig, + TrainingDetails as TrainingDetails, + TrainingMetrics as TrainingMetrics, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateAutomatedReasoningPolicyAnnotationsInput as UpdateAutomatedReasoningPolicyAnnotationsInput, + UpdateAutomatedReasoningPolicyAnnotationsOutput as UpdateAutomatedReasoningPolicyAnnotationsOutput, + UpdateAutomatedReasoningPolicyInput as UpdateAutomatedReasoningPolicyInput, + UpdateAutomatedReasoningPolicyOutput as UpdateAutomatedReasoningPolicyOutput, + UpdateAutomatedReasoningPolicyTestCaseInput as UpdateAutomatedReasoningPolicyTestCaseInput, + UpdateAutomatedReasoningPolicyTestCaseOutput as UpdateAutomatedReasoningPolicyTestCaseOutput, + UpdateCustomModelDeploymentInput as UpdateCustomModelDeploymentInput, + UpdateCustomModelDeploymentOutput as UpdateCustomModelDeploymentOutput, + UpdateGuardrailInput as UpdateGuardrailInput, + UpdateGuardrailOutput as UpdateGuardrailOutput, + UpdateMarketplaceModelEndpointInput as UpdateMarketplaceModelEndpointInput, + UpdateMarketplaceModelEndpointOutput as UpdateMarketplaceModelEndpointOutput, + UpdateProvisionedModelThroughputInput as UpdateProvisionedModelThroughputInput, + UpdateProvisionedModelThroughputOutput as UpdateProvisionedModelThroughputOutput, + ValidationDataConfig as ValidationDataConfig, + ValidationDetails as ValidationDetails, + ValidationException as ValidationException, + Validator as Validator, + ValidatorMetric as ValidatorMetric, + ValidityTerm as ValidityTerm, + VectorSearchBedrockRerankingConfiguration as VectorSearchBedrockRerankingConfiguration, + VectorSearchBedrockRerankingModelConfiguration as VectorSearchBedrockRerankingModelConfiguration, + VectorSearchRerankingConfiguration as VectorSearchRerankingConfiguration, + VectorSearchRerankingConfigurationType as VectorSearchRerankingConfigurationType, + VpcConfig as VpcConfig, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -27,11759 +750,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AccessDeniedException(ServiceError, _SerdeShape): - """The request is denied because of missing access permissions.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AccountEnforcedGuardrailInferenceInputConfiguration(_SerdeShape): - """Account-level enforced guardrail input configuration.""" - - guardrail_identifier: str - """Identifier for the guardrail, could be the ID or the ARN.""" - guardrail_version: str - """Numerical guardrail version.""" - selective_content_guarding: SelectiveContentGuarding | None = ... - """Selective content guarding controls for enforced guardrails.""" - model_enforcement: ModelEnforcement | None = ... - """ - Model-specific information for the enforced guardrail configuration. If - not present, the configuration is enforced on all models - """ - -@dataclass(kw_only=True) -class AccountEnforcedGuardrailOutputConfiguration(_SerdeShape): - """Account enforced guardrail output configuration.""" - - config_id: str | None = ... - """Unique ID for the account enforced configuration.""" - guardrail_arn: str | None = ... - """ARN representation for the guardrail.""" - guardrail_id: str | None = ... - """Unique ID for the guardrail.""" - input_tags: str | None = ... - """Whether to honor or ignore input tags at runtime.""" - selective_content_guarding: SelectiveContentGuarding | None = ... - """Selective content guarding controls for enforced guardrails.""" - guardrail_version: str | None = ... - """Numerical guardrail version.""" - created_at: datetime | None = ... - """Timestamp.""" - created_by: str | None = ... - """The ARN of the role used to update the configuration.""" - updated_at: datetime | None = ... - """Timestamp.""" - updated_by: str | None = ... - """The ARN of the role used to update the configuration.""" - owner: str | None = ... - """Configuration owner type.""" - model_enforcement: ModelEnforcement | None = ... - """Model-specific information for the enforced guardrail configuration.""" - -@dataclass(kw_only=True) -class AdvancedPromptOptimizationInputConfig(_SerdeShape): - """ - Contains the input data configuration for an advanced prompt - optimization job. - """ - - s3_uri: str - """ - The S3 URI of the JSONL input file containing prompt templates and - evaluation samples. - """ - -class AdvancedPromptOptimizationJobStatus(UnknownEnumMixin, StrEnum): - """The status of an advanced prompt optimization job.""" - - IN_PROGRESS = "InProgress" - COMPLETED = "Completed" - FAILED = "Failed" - PARTIALLY_COMPLETED = "PartiallyCompleted" - STOPPING = "Stopping" - STOPPED = "Stopped" - DELETING = "Deleting" - -@dataclass(kw_only=True) -class AdvancedPromptOptimizationJobSummary(_SerdeShape): - """Contains a summary of an advanced prompt optimization job.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the job.""" - job_name: str - """The name of the job.""" - job_status: str - """The status of the job.""" - creation_time: datetime - """The time at which the job was created.""" - last_modified_time: datetime | None = ... - """The time at which the job was last modified.""" - -@dataclass(kw_only=True) -class AdvancedPromptOptimizationOutputConfig(_SerdeShape): - """ - Contains the output data configuration for an advanced prompt - optimization job. - """ - - s3_uri: str - """The S3 URI prefix where the optimization results will be written.""" - -@dataclass(kw_only=True) -class AgreementAvailability(_SerdeShape): - """Information about the agreement availability""" - - status: str - """Status of the agreement.""" - error_message: str | None = ... - """Error message.""" - -class AgreementStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "AVAILABLE" - PENDING = "PENDING" - NOT_AVAILABLE = "NOT_AVAILABLE" - ERROR = "ERROR" - -class ApplicationType(UnknownEnumMixin, StrEnum): - MODEL_EVALUATION = "ModelEvaluation" - RAG_EVALUATION = "RagEvaluation" - -class AttributeType(UnknownEnumMixin, StrEnum): - STRING = "STRING" - NUMBER = "NUMBER" - BOOLEAN = "BOOLEAN" - STRING_LIST = "STRING_LIST" - -class AuthorizationStatus(UnknownEnumMixin, StrEnum): - AUTHORIZED = "AUTHORIZED" - NOT_AUTHORIZED = "NOT_AUTHORIZED" - -@dataclass(kw_only=True) -class AutomatedEvaluationConfig(_SerdeShape): - """ - The configuration details of an automated evaluation job. The - `EvaluationDatasetMetricConfig` object is used to specify the prompt - datasets, task type, and metric names. - """ - - dataset_metric_configs: list[EvaluationDatasetMetricConfig] - """ - Configuration details of the prompt datasets and metrics you want to use - for your evaluation job. - """ - evaluator_model_config: EvaluatorModelConfig | None = ... - """ - Contains the evaluator model configuration details. - `EvaluatorModelConfig` is required for evaluation jobs that use a - knowledge base or in model evaluation job that use a model as judge. - This model computes all evaluation related metrics. - """ - custom_metric_config: AutomatedEvaluationCustomMetricConfig | None = ... - """ - Defines the configuration of custom metrics to be used in an evaluation - job. - """ - -@dataclass(kw_only=True) -class AutomatedEvaluationCustomMetricConfig(_SerdeShape): - """ - Defines the configuration of custom metrics to be used in an evaluation - job. To learn more about using custom metrics in Amazon Bedrock - evaluation jobs, see [Create a prompt for a custom metrics - (LLM-as-a-judge model - evaluations)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-custom-metrics-prompt-formats.html) - and [Create a prompt for a custom metrics (RAG - evaluations)](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-evaluation-custom-metrics-prompt-formats.html). - """ - - custom_metrics: list[AutomatedEvaluationCustomMetricSource] - """ - Defines a list of custom metrics to be used in an Amazon Bedrock - evaluation job. - """ - evaluator_model_config: CustomMetricEvaluatorModelConfig - """ - Configuration of the evaluator model you want to use to evaluate custom - metrics in an Amazon Bedrock evaluation job. - """ - -@dataclass -class AutomatedEvaluationCustomMetricSourceCustomMetricDefinition(_SerdeShape): - """ - The definition of a custom metric for use in an Amazon Bedrock - evaluation job. - """ - - value: CustomMetricDefinition - -@dataclass -class AutomatedEvaluationCustomMetricSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedEvaluationCustomMetricSource = Union[ - AutomatedEvaluationCustomMetricSourceCustomMetricDefinition - | AutomatedEvaluationCustomMetricSourceUnknown -] -""" -An array item definining a single custom metric for use in an Amazon -Bedrock evaluation job. -""" - -class _AutomatedEvaluationCustomMetricSourceDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedEvaluationCustomMetricSource: ... - -@dataclass -class AutomatedReasoningCheckFindingValid(_SerdeShape): - """ - Indicates that the claims are true. The claims are implied by the - premises and the Automated Reasoning policy. Given the Automated - Reasoning policy and premises, it is not possible for these claims to be - false. - """ - - value: AutomatedReasoningCheckValidFinding - -@dataclass -class AutomatedReasoningCheckFindingInvalid(_SerdeShape): - """ - Indicates that the claims are false. The claims are not implied by the - premises and Automated Reasoning policy. Furthermore, there exist - different claims that are consistent with the premises and Automated - Reasoning policy. - """ - - value: AutomatedReasoningCheckInvalidFinding - -@dataclass -class AutomatedReasoningCheckFindingSatisfiable(_SerdeShape): - """ - Indicates that the claims can be true or false. It depends on what - assumptions are made for the claim to be implied from the premises and - Automated Reasoning policy rules. In this situation, different - assumptions can make input claims false and alternative claims true. - """ - - value: AutomatedReasoningCheckSatisfiableFinding - -@dataclass -class AutomatedReasoningCheckFindingImpossible(_SerdeShape): - """ - Indicates that Automated Reasoning cannot make a statement about the - claims. This can happen if the premises are logically incorrect, or if - there is a conflict within the Automated Reasoning policy itself. - """ - - value: AutomatedReasoningCheckImpossibleFinding - -@dataclass -class AutomatedReasoningCheckFindingTranslationAmbiguous(_SerdeShape): - """ - Indicates that an ambiguity was detected in the translation, making it - unsound to continue with validity checking. Additional context or - follow-up questions might be needed to get translation to succeed. - """ - - value: AutomatedReasoningCheckTranslationAmbiguousFinding - -@dataclass -class AutomatedReasoningCheckFindingTooComplex(_SerdeShape): - """ - Indicates that the input contains too much information for Automated - Reasoning to process within its latency limits. - """ - - value: AutomatedReasoningCheckTooComplexFinding - -@dataclass -class AutomatedReasoningCheckFindingNoTranslations(_SerdeShape): - """ - Identifies that some or all of the input prompt wasn't translated into - logic. This can happen if the input isn't relevant to the Automated - Reasoning policy, or if the policy doesn't have variables to model - relevant input. - """ - - value: AutomatedReasoningCheckNoTranslationsFinding - -@dataclass -class AutomatedReasoningCheckFindingUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningCheckFinding = Union[ - AutomatedReasoningCheckFindingValid - | AutomatedReasoningCheckFindingInvalid - | AutomatedReasoningCheckFindingSatisfiable - | AutomatedReasoningCheckFindingImpossible - | AutomatedReasoningCheckFindingTranslationAmbiguous - | AutomatedReasoningCheckFindingTooComplex - | AutomatedReasoningCheckFindingNoTranslations - | AutomatedReasoningCheckFindingUnknown -] -""" -Represents the result of an Automated Reasoning validation check, -indicating whether the content is logically valid, invalid, or falls -into other categories based on the policy rules. -""" - -class _AutomatedReasoningCheckFindingDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningCheckFinding: ... - -@dataclass(kw_only=True) -class AutomatedReasoningCheckImpossibleFinding(_SerdeShape): - """ - Indicates that no valid claims can be made due to logical contradictions - in the premises or rules. - """ - - translation: AutomatedReasoningCheckTranslation | None = ... - """The logical translation of the input that this finding evaluates.""" - contradicting_rules: list[AutomatedReasoningCheckRule] | None = ... - """ - The automated reasoning policy rules that contradict the claims and/or - premises in the input. - """ - logic_warning: AutomatedReasoningCheckLogicWarning | None = ... - """ - Indication of a logic issue with the translation without needing to - consider the automated reasoning policy rules. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningCheckInputTextReference(_SerdeShape): - """ - References a portion of the original input text that corresponds to - logical elements. - """ - - text: str | None = ... - """The specific text from the original input that this reference points to.""" - -@dataclass(kw_only=True) -class AutomatedReasoningCheckInvalidFinding(_SerdeShape): - """ - Indicates that the claims are logically false and contradictory to the - established rules or premises. - """ - - translation: AutomatedReasoningCheckTranslation | None = ... - """The logical translation of the input that this finding invalidates.""" - contradicting_rules: list[AutomatedReasoningCheckRule] | None = ... - """ - The automated reasoning policy rules that contradict the claims in the - input. - """ - logic_warning: AutomatedReasoningCheckLogicWarning | None = ... - """ - Indication of a logic issue with the translation without needing to - consider the automated reasoning policy rules. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningCheckLogicWarning(_SerdeShape): - """ - Identifies logical issues in the translated statements that exist - independent of any policy rules, such as statements that are always true - or always false. - """ - - type: str | None = ... - """ - The category of the detected logical issue, such as statements that are - always true or always false. - """ - premises: list[AutomatedReasoningLogicStatement] | None = ... - """ - The logical statements that serve as premises under which the claims are - validated. - """ - claims: list[AutomatedReasoningLogicStatement] | None = ... - """ - The logical statements that are validated while assuming the policy and - premises. - """ - -class AutomatedReasoningCheckLogicWarningType(UnknownEnumMixin, StrEnum): - ALWAYS_TRUE = "ALWAYS_TRUE" - ALWAYS_FALSE = "ALWAYS_FALSE" - -@dataclass(kw_only=True) -class AutomatedReasoningCheckNoTranslationsFinding(_SerdeShape): - """ - Indicates that no relevant logical information could be extracted from - the input for validation. - """ - -class AutomatedReasoningCheckResult(UnknownEnumMixin, StrEnum): - VALID = "VALID" - INVALID = "INVALID" - SATISFIABLE = "SATISFIABLE" - IMPOSSIBLE = "IMPOSSIBLE" - TRANSLATION_AMBIGUOUS = "TRANSLATION_AMBIGUOUS" - TOO_COMPLEX = "TOO_COMPLEX" - NO_TRANSLATION = "NO_TRANSLATION" - -@dataclass(kw_only=True) -class AutomatedReasoningCheckRule(_SerdeShape): - """ - References a specific automated reasoning policy rule that was applied - during evaluation. - """ - - id: str | None = ... - """The unique identifier of the automated reasoning rule.""" - policy_version_arn: str | None = ... - """ - The ARN of the automated reasoning policy version that contains this - rule. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningCheckSatisfiableFinding(_SerdeShape): - """ - Indicates that the claims could be either true or false depending on - additional assumptions not provided in the input. - """ - - translation: AutomatedReasoningCheckTranslation | None = ... - """The logical translation of the input that this finding evaluates.""" - claims_true_scenario: AutomatedReasoningCheckScenario | None = ... - """ - An example scenario demonstrating how the claims could be logically - true. - """ - claims_false_scenario: AutomatedReasoningCheckScenario | None = ... - """ - An example scenario demonstrating how the claims could be logically - false. - """ - logic_warning: AutomatedReasoningCheckLogicWarning | None = ... - """ - Indication of a logic issue with the translation without needing to - consider the automated reasoning policy rules. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningCheckScenario(_SerdeShape): - """ - Represents a logical scenario where claims can be evaluated as true or - false, containing specific logical assignments. - """ - - statements: list[AutomatedReasoningLogicStatement] | None = ... - """List of logical assignments and statements that define this scenario.""" - -@dataclass(kw_only=True) -class AutomatedReasoningCheckTooComplexFinding(_SerdeShape): - """ - Indicates that the input exceeds the processing capacity due to the - volume or complexity of the logical information. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningCheckTranslation(_SerdeShape): - """ - Contains the logical translation of natural language input into formal - logical statements, including premises, claims, and confidence scores. - """ - - premises: list[AutomatedReasoningLogicStatement] | None = ... - """ - The logical statements that serve as the foundation or assumptions for - the claims. - """ - claims: list[AutomatedReasoningLogicStatement] - """ - The logical statements that are being validated against the premises and - policy rules. - """ - untranslated_premises: list[AutomatedReasoningCheckInputTextReference] | None = ... - """ - References to portions of the original input text that correspond to the - premises but could not be fully translated. - """ - untranslated_claims: list[AutomatedReasoningCheckInputTextReference] | None = ... - """ - References to portions of the original input text that correspond to the - claims but could not be fully translated. - """ - confidence: float - """ - A confidence score between 0 and 1 indicating how certain the system is - about the logical translation. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningCheckTranslationAmbiguousFinding(_SerdeShape): - """ - Indicates that the input has multiple valid logical interpretations, - requiring additional context or clarification. - """ - - options: list[AutomatedReasoningCheckTranslationOption] | None = ... - """ - Different logical interpretations that were detected during translation - of the input. - """ - difference_scenarios: list[AutomatedReasoningCheckScenario] | None = ... - """ - Scenarios showing how the different translation options differ in - meaning. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningCheckTranslationOption(_SerdeShape): - """ - Represents one possible logical interpretation of ambiguous input - content. - """ - - translations: list[AutomatedReasoningCheckTranslation] | None = ... - """ - Different logical interpretations that were detected during translation - of the input. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningCheckValidFinding(_SerdeShape): - """ - Indicates that the claims are definitively true and logically implied by - the premises, with no possible alternative interpretations. - """ - - translation: AutomatedReasoningCheckTranslation | None = ... - """The logical translation of the input that this finding validates.""" - claims_true_scenario: AutomatedReasoningCheckScenario | None = ... - """An example scenario demonstrating how the claims are logically true.""" - supporting_rules: list[AutomatedReasoningCheckRule] | None = ... - """ - The automated reasoning policy rules that support why this result is - considered valid. - """ - logic_warning: AutomatedReasoningCheckLogicWarning | None = ... - """ - Indication of a logic issue with the translation without needing to - consider the automated reasoning policy rules. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningLogicStatement(_SerdeShape): - """ - Represents a logical statement that can be expressed both in formal - logic notation and natural language, providing dual representations for - better understanding and validation. - """ - - logic: str - """ - The formal logic representation of the statement using mathematical - notation and logical operators. - """ - natural_language: str | None = ... - """ - The natural language representation of the logical statement, providing - a human-readable interpretation of the formal logic. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAddRuleAnnotation(_SerdeShape): - """ - An annotation for adding a new rule to an Automated Reasoning policy - using a formal logical expression. - """ - - expression: str - """ - The formal logical expression that defines the rule, using mathematical - notation and referencing policy variables and types. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation(_SerdeShape): - """ - An annotation for adding a new rule to the policy by converting a - natural language description into a formal logical expression. - """ - - natural_language: str - """ - The natural language description of the rule that should be converted - into a formal logical expression. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAddRuleMutation(_SerdeShape): - """ - A mutation operation that adds a new rule to the policy definition - during the build process. - """ - - rule: AutomatedReasoningPolicyDefinitionRule - """ - The rule definition that specifies the formal logical expression and - metadata for the new rule being added to the policy. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAddTypeAnnotation(_SerdeShape): - """ - An annotation for adding a new custom type to an Automated Reasoning - policy, defining a set of possible values for variables. - """ - - name: str - """ - The name of the new custom type. This name will be used to reference the - type in variable definitions and rules. - """ - description: str - """ - A description of what the custom type represents and how it should be - used in the policy. - """ - values: list[AutomatedReasoningPolicyDefinitionTypeValue] - """ - The list of possible values that variables of this type can take, each - with its own description and identifier. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAddTypeMutation(_SerdeShape): - """ - A mutation operation that adds a new custom type to the policy - definition during the build process. - """ - - type: AutomatedReasoningPolicyDefinitionType - """ - The type definition that specifies the name, description, and possible - values for the new custom type being added to the policy. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAddTypeValue(_SerdeShape): - """ - Represents a single value that can be added to an existing custom type - in the policy. - """ - - value: str - """The identifier or name of the new value to add to the type.""" - description: str | None = ... - """ - A description of what this new type value represents and when it should - be used. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAddVariableAnnotation(_SerdeShape): - """ - An annotation for adding a new variable to an Automated Reasoning - policy, which can be used in rule expressions. - """ - - name: str - """ - The name of the new variable. This name will be used to reference the - variable in rule expressions. - """ - type: str - """ - The type of the variable, which can be a built-in type (like string or - number) or a custom type defined in the policy. - """ - description: str - """ - A description of what the variable represents and how it should be used - in rules. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAddVariableMutation(_SerdeShape): - """ - A mutation operation that adds a new variable to the policy definition - during the build process. - """ - - variable: AutomatedReasoningPolicyDefinitionVariable - """ - The variable definition that specifies the name, type, and description - for the new variable being added to the policy. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAnnotatedChunk(_SerdeShape): - """ - Represents a portion of a source document with line number annotations. - Chunks help organize document content for easier navigation and - reference. - """ - - page_number: int | None = ... - """ - The page number where this chunk begins, if the document is divided into - pages. - """ - content: list[AutomatedReasoningPolicyAnnotatedContent] - """ - The lines of text contained within this chunk, each annotated with its - line number. - """ - -@dataclass -class AutomatedReasoningPolicyAnnotatedContentLine(_SerdeShape): - """ - An annotated line of text from the source document, including both the - line number and the text content. - """ - - value: AutomatedReasoningPolicyAnnotatedLine - -@dataclass -class AutomatedReasoningPolicyAnnotatedContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningPolicyAnnotatedContent = Union[ - AutomatedReasoningPolicyAnnotatedContentLine - | AutomatedReasoningPolicyAnnotatedContentUnknown -] -""" -Represents a content element within an annotated chunk. This union type -allows for different types of content elements to be included in -document chunks, such as individual lines of text with their line -numbers. -""" - -class _AutomatedReasoningPolicyAnnotatedContentDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningPolicyAnnotatedContent: ... - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAnnotatedLine(_SerdeShape): - """ - Represents a single line of text from a source document, annotated with - its line number for precise referencing. - """ - - line_number: int | None = ... - """The line number of this text within the source document.""" - line_text: str | None = ... - """The actual text content of this line from the source document.""" - -@dataclass -class AutomatedReasoningPolicyAnnotationAddType(_SerdeShape): - """ - An operation to add a new custom type to the policy, defining a set of - possible values for policy variables. - """ - - value: AutomatedReasoningPolicyAddTypeAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationUpdateType(_SerdeShape): - """ - An operation to modify an existing custom type in the policy, such as - changing its name, description, or allowed values. - """ - - value: AutomatedReasoningPolicyUpdateTypeAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationDeleteType(_SerdeShape): - """ - An operation to remove a custom type from the policy. The type must not - be referenced by any variables or rules. - """ - - value: AutomatedReasoningPolicyDeleteTypeAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationAddVariable(_SerdeShape): - """ - An operation to add a new variable to the policy, which can be used in - rule expressions to represent dynamic values. - """ - - value: AutomatedReasoningPolicyAddVariableAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationUpdateVariable(_SerdeShape): - """ - An operation to modify an existing variable in the policy, such as - changing its name, type, or description. - """ - - value: AutomatedReasoningPolicyUpdateVariableAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationDeleteVariable(_SerdeShape): - """ - An operation to remove a variable from the policy. The variable must not - be referenced by any rules. - """ - - value: AutomatedReasoningPolicyDeleteVariableAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationAddRule(_SerdeShape): - """ - An operation to add a new logical rule to the policy using formal - mathematical expressions. - """ - - value: AutomatedReasoningPolicyAddRuleAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationUpdateRule(_SerdeShape): - """ - An operation to modify an existing rule in the policy, such as changing - its logical expression or conditions. - """ - - value: AutomatedReasoningPolicyUpdateRuleAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationDeleteRule(_SerdeShape): - """An operation to remove a rule from the policy.""" - - value: AutomatedReasoningPolicyDeleteRuleAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationAddRuleFromNaturalLanguage(_SerdeShape): - """ - An operation to add a new rule by converting natural language - descriptions into formal logical expressions. - """ - - value: AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationUpdateFromRulesFeedback(_SerdeShape): - """ - An operation to update the policy based on feedback about how specific - rules performed during testing or validation. - """ - - value: AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationUpdateFromScenarioFeedback(_SerdeShape): - """ - An operation to update the policy based on feedback about how it - performed on specific test scenarios. - """ - - value: AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationIngestContent(_SerdeShape): - """ - An operation to process and incorporate new content into the policy, - extracting additional rules and concepts. - """ - - value: AutomatedReasoningPolicyIngestContentAnnotation - -@dataclass -class AutomatedReasoningPolicyAnnotationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningPolicyAnnotation = Union[ - AutomatedReasoningPolicyAnnotationAddType - | AutomatedReasoningPolicyAnnotationUpdateType - | AutomatedReasoningPolicyAnnotationDeleteType - | AutomatedReasoningPolicyAnnotationAddVariable - | AutomatedReasoningPolicyAnnotationUpdateVariable - | AutomatedReasoningPolicyAnnotationDeleteVariable - | AutomatedReasoningPolicyAnnotationAddRule - | AutomatedReasoningPolicyAnnotationUpdateRule - | AutomatedReasoningPolicyAnnotationDeleteRule - | AutomatedReasoningPolicyAnnotationAddRuleFromNaturalLanguage - | AutomatedReasoningPolicyAnnotationUpdateFromRulesFeedback - | AutomatedReasoningPolicyAnnotationUpdateFromScenarioFeedback - | AutomatedReasoningPolicyAnnotationIngestContent - | AutomatedReasoningPolicyAnnotationUnknown -] -""" -Contains the various operations that can be performed on an Automated -Reasoning policy, including adding, updating, and deleting rules, -variables, and types. -""" - -class _AutomatedReasoningPolicyAnnotationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningPolicyAnnotation: ... - -class AutomatedReasoningPolicyAnnotationStatus(UnknownEnumMixin, StrEnum): - APPLIED = "APPLIED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyAtomicStatement(_SerdeShape): - """ - Represents a single, indivisible statement extracted from a source - document. Atomic statements are the fundamental units used to ground - policy rules and variables to their source material. - """ - - id: str - """ - A unique identifier for this atomic statement within the fidelity - report. - """ - text: str - """ - The actual text content of the atomic statement as extracted from the - source document. - """ - location: AutomatedReasoningPolicyStatementLocation - """ - Information about where this statement appears in the source document, - including line numbers. - """ - -class AutomatedReasoningPolicyBuildDocumentContentType(UnknownEnumMixin, StrEnum): - PDF = "pdf" - TEXT = "txt" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildLog(_SerdeShape): - """ - Contains detailed logging information about the policy build process, - including steps taken, decisions made, and any issues encountered. - """ - - entries: list[AutomatedReasoningPolicyBuildLogEntry] - """ - A list of log entries documenting each step in the policy build process, - including timestamps, status, and detailed messages. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildLogEntry(_SerdeShape): - """ - Represents a single entry in the policy build log, containing - information about a specific step or event in the build process. - """ - - annotation: AutomatedReasoningPolicyAnnotation - """ - The annotation or operation that was being processed when this log entry - was created. - """ - status: str - """The status of the build step (e.g., SUCCESS, FAILED, IN_PROGRESS).""" - build_steps: list[AutomatedReasoningPolicyBuildStep] - """ - Detailed information about the specific build steps that were executed, - including any sub-operations or transformations. - """ - -class AutomatedReasoningPolicyBuildMessageType(UnknownEnumMixin, StrEnum): - INFO = "INFO" - WARNING = "WARNING" - ERROR = "ERROR" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildResultAssetManifest(_SerdeShape): - """ - A catalog of all artifacts produced by a build workflow, providing a - comprehensive list of available assets including their types and - identifiers. - """ - - entries: list[AutomatedReasoningPolicyBuildResultAssetManifestEntry] - """ - The list of asset entries in the manifest, each describing an available - artifact that can be retrieved. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildResultAssetManifestEntry(_SerdeShape): - """ - Represents a single entry in the asset manifest, describing one artifact - produced by the build workflow. - """ - - asset_type: str - """ - The type of asset (e.g., BUILD_LOG, QUALITY_REPORT, POLICY_DEFINITION, - GENERATED_TEST_CASES, POLICY_SCENARIOS, FIDELITY_REPORT, ASSET_MANIFEST, - SOURCE_DOCUMENT). - """ - asset_name: str | None = ... - """ - A human-readable name for the asset, if applicable. This helps identify - specific documents or reports within the workflow results. - """ - asset_id: str | None = ... - """ - A unique identifier for the asset, if applicable. Use this ID when - requesting specific assets through the API. - """ - -@dataclass -class AutomatedReasoningPolicyBuildResultAssetsPolicyDefinition(_SerdeShape): - """ - The complete policy definition generated by the build workflow, - containing all rules, variables, and custom types extracted from the - source documents. - """ - - value: AutomatedReasoningPolicyDefinition - -@dataclass -class AutomatedReasoningPolicyBuildResultAssetsQualityReport(_SerdeShape): - """ - A comprehensive report analyzing the quality of the generated policy, - including metrics about rule coverage, potential conflicts, and unused - elements. - """ - - value: AutomatedReasoningPolicyDefinitionQualityReport - -@dataclass -class AutomatedReasoningPolicyBuildResultAssetsBuildLog(_SerdeShape): - """ - The complete build log containing detailed information about each step - in the policy generation process. - """ - - value: AutomatedReasoningPolicyBuildLog - -@dataclass -class AutomatedReasoningPolicyBuildResultAssetsGeneratedTestCases(_SerdeShape): - """ - A comprehensive test suite generated by the build workflow, providing - validation capabilities for automated reasoning policies. - """ - - value: AutomatedReasoningPolicyGeneratedTestCases - -@dataclass -class AutomatedReasoningPolicyBuildResultAssetsPolicyScenarios(_SerdeShape): - """ - An entity encompassing all the policy scenarios generated by the build - workflow, which can be used to validate an Automated Reasoning policy. - """ - - value: AutomatedReasoningPolicyScenarios - -@dataclass -class AutomatedReasoningPolicyBuildResultAssetsAssetManifest(_SerdeShape): - """ - A manifest listing all available artifacts produced by the build - workflow. This provides a catalog of all assets that can be retrieved, - including their types, names, and identifiers. - """ - - value: AutomatedReasoningPolicyBuildResultAssetManifest - -@dataclass -class AutomatedReasoningPolicyBuildResultAssetsDocument(_SerdeShape): - """ - A source document that was used as input during the build workflow. This - allows you to retrieve the original documents that were processed to - generate the policy. - """ - - value: AutomatedReasoningPolicySourceDocument - -@dataclass -class AutomatedReasoningPolicyBuildResultAssetsFidelityReport(_SerdeShape): - """ - A comprehensive fidelity report that measures how accurately the - generated policy represents the source documents. The report includes - coverage and accuracy scores, along with detailed grounding information - for rules and variables. - """ - - value: AutomatedReasoningPolicyFidelityReport - -@dataclass -class AutomatedReasoningPolicyBuildResultAssetsUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningPolicyBuildResultAssets = Union[ - AutomatedReasoningPolicyBuildResultAssetsPolicyDefinition - | AutomatedReasoningPolicyBuildResultAssetsQualityReport - | AutomatedReasoningPolicyBuildResultAssetsBuildLog - | AutomatedReasoningPolicyBuildResultAssetsGeneratedTestCases - | AutomatedReasoningPolicyBuildResultAssetsPolicyScenarios - | AutomatedReasoningPolicyBuildResultAssetsAssetManifest - | AutomatedReasoningPolicyBuildResultAssetsDocument - | AutomatedReasoningPolicyBuildResultAssetsFidelityReport - | AutomatedReasoningPolicyBuildResultAssetsUnknown -] -""" -Contains the various assets generated during a policy build workflow, -including logs, quality reports, test cases, and the final policy -definition. -""" - -class _AutomatedReasoningPolicyBuildResultAssetsDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningPolicyBuildResultAssets: ... - -class AutomatedReasoningPolicyBuildResultAssetType(UnknownEnumMixin, StrEnum): - BUILD_LOG = "BUILD_LOG" - QUALITY_REPORT = "QUALITY_REPORT" - POLICY_DEFINITION = "POLICY_DEFINITION" - GENERATED_TEST_CASES = "GENERATED_TEST_CASES" - POLICY_SCENARIOS = "POLICY_SCENARIOS" - FIDELITY_REPORT = "FIDELITY_REPORT" - ASSET_MANIFEST = "ASSET_MANIFEST" - SOURCE_DOCUMENT = "SOURCE_DOCUMENT" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildStep(_SerdeShape): - """ - Represents a single step in the policy build process, containing context - about what was being processed and any messages or results. - """ - - context: AutomatedReasoningPolicyBuildStepContext - """ - Contextual information about what was being processed during this build - step, such as the type of operation or the source material being - analyzed. - """ - prior_element: AutomatedReasoningPolicyDefinitionElement | None = ... - """ - Reference to the previous element or step in the build process, helping - to trace the sequence of operations. - """ - messages: list[AutomatedReasoningPolicyBuildStepMessage] - """ - A list of messages generated during this build step, including - informational messages, warnings, and error details. - """ - -@dataclass -class AutomatedReasoningPolicyBuildStepContextPlanning(_SerdeShape): - """ - Indicates that this build step was part of the planning phase, where the - system determines what operations to perform. - """ - - value: AutomatedReasoningPolicyPlanning - -@dataclass -class AutomatedReasoningPolicyBuildStepContextMutation(_SerdeShape): - """ - Indicates that this build step involved modifying the policy structure, - such as adding or updating rules, variables, or types. - """ - - value: AutomatedReasoningPolicyMutation - -@dataclass -class AutomatedReasoningPolicyBuildStepContextUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningPolicyBuildStepContext = Union[ - AutomatedReasoningPolicyBuildStepContextPlanning - | AutomatedReasoningPolicyBuildStepContextMutation - | AutomatedReasoningPolicyBuildStepContextUnknown -] -""" -Provides context about what type of operation was being performed during -a build step. -""" - -class _AutomatedReasoningPolicyBuildStepContextDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningPolicyBuildStepContext: ... - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildStepMessage(_SerdeShape): - """ - Represents a message generated during a build step, providing - information about what happened or any issues encountered. - """ - - message: str - """ - The content of the message, describing what occurred during the build - step. - """ - message_type: str - """ - The type of message (e.g., INFO, WARNING, ERROR) indicating its severity - and purpose. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildWorkflowDocument(_SerdeShape): - """ - Represents a source document used in the policy build workflow, - containing the content and metadata needed for policy generation. - """ - - document: bytes - """ - The actual content of the source document that will be analyzed to - extract policy rules and concepts. - """ - document_content_type: str - """ - The MIME type of the document content (e.g., text/plain, - application/pdf, text/markdown). - """ - document_name: str - """ - A descriptive name for the document that helps identify its purpose and - content. - """ - document_description: str | None = ... - """ - A detailed description of the document's content and how it should be - used in the policy generation process. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildWorkflowRepairContent(_SerdeShape): - """ - Contains content and instructions for repairing or improving an existing - Automated Reasoning policy. - """ - - annotations: list[AutomatedReasoningPolicyAnnotation] - """ - Specific annotations or modifications to apply during the policy repair - process, such as rule corrections or variable updates. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildWorkflowSource(_SerdeShape): - """ - Defines the source content for a policy build workflow, which can - include documents, repair instructions, or other input materials. - """ - - policy_definition: AutomatedReasoningPolicyDefinition | None = ... - """ - An existing policy definition that serves as the starting point for the - build workflow, typically used in policy repair or update scenarios. - """ - workflow_content: AutomatedReasoningPolicyWorkflowTypeContent | None = ... - """ - The actual content to be processed in the build workflow, such as - documents to analyze or repair instructions to apply. - """ - -class AutomatedReasoningPolicyBuildWorkflowStatus(UnknownEnumMixin, StrEnum): - SCHEDULED = "SCHEDULED" - CANCEL_REQUESTED = "CANCEL_REQUESTED" - PREPROCESSING = "PREPROCESSING" - BUILDING = "BUILDING" - TESTING = "TESTING" - COMPLETED = "COMPLETED" - FAILED = "FAILED" - CANCELLED = "CANCELLED" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyBuildWorkflowSummary(_SerdeShape): - """ - Provides a summary of a policy build workflow, including its current - status, timing information, and key identifiers. - """ - - policy_arn: str - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy - associated with this build workflow. - """ - build_workflow_id: str - """The unique identifier of the build workflow.""" - status: str - """ - The current status of the build workflow (e.g., RUNNING, COMPLETED, - FAILED, CANCELLED). - """ - build_workflow_type: str - """The type of build workflow (e.g., DOCUMENT_INGESTION, POLICY_REPAIR).""" - created_at: datetime - """The timestamp when the build workflow was created.""" - updated_at: datetime - """The timestamp when the build workflow was last updated.""" - -class AutomatedReasoningPolicyBuildWorkflowType(UnknownEnumMixin, StrEnum): - INGEST_CONTENT = "INGEST_CONTENT" - REFINE_POLICY = "REFINE_POLICY" - IMPORT_POLICY = "IMPORT_POLICY" - GENERATE_FIDELITY_REPORT = "GENERATE_FIDELITY_REPORT" - GENERATE_POLICY_SCENARIOS = "GENERATE_POLICY_SCENARIOS" - RESOLVE_POLICY_AMBIGUITIES = "RESOLVE_POLICY_AMBIGUITIES" - ITERATIVELY_REFINE_POLICY = "ITERATIVELY_REFINE_POLICY" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDefinition(_SerdeShape): - """ - Contains the formal logic rules, variables, and custom variable types - that define an Automated Reasoning policy. The policy definition - specifies the constraints used to validate foundation model responses - for accuracy and logical consistency. - """ - - version: str = ... - """The version of the policy definition format.""" - types: list[AutomatedReasoningPolicyDefinitionType] | None = ... - """ - The custom user-defined vairable types used in the policy. Types are - enum-based variable types that provide additional context beyond the - predefined variable types. - """ - rules: list[AutomatedReasoningPolicyDefinitionRule] | None = ... - """ - The formal logic rules extracted from the source document. Rules define - the logical constraints that determine whether model responses are - valid, invalid, or satisfiable. - """ - variables: list[AutomatedReasoningPolicyDefinitionVariable] | None = ... - """ - The variables that represent concepts in the policy. Variables can have - values assigned when translating natural language into formal logic. - Their descriptions are crucial for accurate translation. - """ - -@dataclass -class AutomatedReasoningPolicyDefinitionElementPolicyDefinitionVariable(_SerdeShape): - """ - A variable element within the policy definition that represents a - concept used in logical expressions and rules. - """ - - value: AutomatedReasoningPolicyDefinitionVariable - -@dataclass -class AutomatedReasoningPolicyDefinitionElementPolicyDefinitionType(_SerdeShape): - """ - A custom type element within the policy definition that defines a set of - possible values for variables. - """ - - value: AutomatedReasoningPolicyDefinitionType - -@dataclass -class AutomatedReasoningPolicyDefinitionElementPolicyDefinitionRule(_SerdeShape): - """ - A rule element within the policy definition that contains a formal - logical expression used for validation. - """ - - value: AutomatedReasoningPolicyDefinitionRule - -@dataclass -class AutomatedReasoningPolicyDefinitionElementUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningPolicyDefinitionElement = Union[ - AutomatedReasoningPolicyDefinitionElementPolicyDefinitionVariable - | AutomatedReasoningPolicyDefinitionElementPolicyDefinitionType - | AutomatedReasoningPolicyDefinitionElementPolicyDefinitionRule - | AutomatedReasoningPolicyDefinitionElementUnknown -] -""" -Represents a single element in an Automated Reasoning policy definition, -such as a rule, variable, or type definition. -""" - -class _AutomatedReasoningPolicyDefinitionElementDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningPolicyDefinitionElement: ... - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDefinitionQualityReport(_SerdeShape): - """ - Provides a comprehensive analysis of the quality and completeness of an - Automated Reasoning policy definition, highlighting potential issues and - optimization opportunities. - """ - - type_count: int - """The total number of custom types defined in the policy.""" - variable_count: int - """The total number of variables defined in the policy.""" - rule_count: int - """The total number of rules defined in the policy.""" - unused_types: list[str] - """ - A list of custom types that are defined but not referenced by any - variables or rules, suggesting they may be unnecessary. - """ - unused_type_values: list[AutomatedReasoningPolicyDefinitionTypeValuePair] - """ - A list of type values that are defined but never used in any rules, - indicating potential cleanup opportunities. - """ - unused_variables: list[str] - """ - A list of variables that are defined but not referenced by any rules, - suggesting they may be unnecessary. - """ - conflicting_rules: list[str] - """ - A list of rules that may conflict with each other, potentially leading - to inconsistent policy behavior. - """ - disjoint_rule_sets: list[AutomatedReasoningPolicyDisjointRuleSet] - """ - Groups of rules that operate on completely separate sets of variables, - indicating the policy may be addressing multiple unrelated concerns. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDefinitionRule(_SerdeShape): - """ - Represents a formal logic rule in an Automated Reasoning policy. For - example, rules can be expressed as if-then statements that define - logical constraints. - """ - - id: str - """The unique identifier of the rule within the policy.""" - expression: str - """The formal logic expression of the rule.""" - alternate_expression: str | None = ... - """ - The human-readable form of the rule expression, often in natural - language or simplified notation. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDefinitionType(_SerdeShape): - """ - Represents a custom user-defined viarble type in an Automated Reasoning - policy. Types are enum-based and provide additional context beyond - predefined variable types. - """ - - name: str - """The name of the custom type.""" - description: str | None = ... - """The description of what the custom type represents.""" - values: list[AutomatedReasoningPolicyDefinitionTypeValue] - """ - The possible values for this enum-based type, each with its own - description. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDefinitionTypeValue(_SerdeShape): - """ - Represents a single value within a custom type definition, including its - identifier and description. - """ - - value: str - """The actual value or identifier for this type value.""" - description: str | None = ... - """ - A human-readable description explaining what this type value represents - and when it should be used. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDefinitionTypeValuePair(_SerdeShape): - """ - Associates a type name with a specific value name, used for referencing - type values in rules and other policy elements. - """ - - type_name: str - """The name of the custom type that contains the referenced value.""" - value_name: str - """The name of the specific value within the type.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDefinitionVariable(_SerdeShape): - """ - Represents a variable in an Automated Reasoning policy. Variables - represent concepts that can have values assigned during natural language - translation. - """ - - name: str - """ - The name of the variable. Use descriptive names that clearly indicate - the concept being represented. - """ - type: str - """ - The data type of the variable. Valid types include bool, int, real, - enum, and custom types that you can provide. - """ - description: str - """ - The description of the variable that explains what it represents and how - users might refer to it. Clear and comprehensive descriptions are - essential for accurate natural language translation. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDeleteRuleAnnotation(_SerdeShape): - """An annotation for removing a rule from an Automated Reasoning policy.""" - - rule_id: str - """The unique identifier of the rule to delete from the policy.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDeleteRuleMutation(_SerdeShape): - """ - A mutation operation that removes a rule from the policy definition - during the build process. - """ - - id: str - """The unique identifier of the rule to delete.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDeleteTypeAnnotation(_SerdeShape): - """ - An annotation for removing a custom type from an Automated Reasoning - policy. - """ - - name: str - """ - The name of the custom type to delete from the policy. The type must not - be referenced by any variables or rules. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDeleteTypeMutation(_SerdeShape): - """ - A mutation operation that removes a custom type from the policy - definition during the build process. - """ - - name: str - """The name of the custom type to delete.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDeleteTypeValue(_SerdeShape): - """ - Represents a value to be removed from an existing custom type in the - policy. - """ - - value: str - """The identifier or name of the value to remove from the type.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDeleteVariableAnnotation(_SerdeShape): - """ - An annotation for removing a variable from an Automated Reasoning - policy. - """ - - name: str - """ - The name of the variable to delete from the policy. The variable must - not be referenced by any rules. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDeleteVariableMutation(_SerdeShape): - """ - A mutation operation that removes a variable from the policy definition - during the build process. - """ - - name: str - """The name of the variable to delete.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyDisjointRuleSet(_SerdeShape): - """ - Represents a set of rules that operate on completely separate variables, - indicating they address different concerns or domains within the policy. - """ - - variables: list[str] - """The set of variables that are used by the rules in this disjoint set.""" - rules: list[str] - """ - The list of rules that form this disjoint set, all operating on the same - set of variables. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyFidelityReport(_SerdeShape): - """ - A comprehensive analysis report that measures how accurately a generated - policy represents the source documents. The report includes coverage and - accuracy scores, detailed grounding information linking policy elements - to source statements, and annotated document content. - """ - - coverage_score: float - """ - A score from 0.0 to 1.0 indicating how well the policy covers the - statements in the source documents. A higher score means more of the - source content is represented in the policy. - """ - accuracy_score: float - """ - A score from 0.0 to 1.0 indicating how accurate the policy rules are - relative to the source documents. A higher score means the policy rules - more faithfully represent the source material. - """ - rule_reports: dict[str, AutomatedReasoningPolicyRuleReport] - """ - A mapping from rule identifiers to detailed fidelity reports for each - rule, showing which source statements ground each rule and how accurate - it is. - """ - variable_reports: dict[str, AutomatedReasoningPolicyVariableReport] - """ - A mapping from variable names to detailed fidelity reports for each - variable, showing which source statements ground each variable and how - accurate it is. - """ - document_sources: list[AutomatedReasoningPolicyReportSourceDocument] - """ - A list of source documents with their content broken down into atomic - statements and annotated with line numbers for precise referencing. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyGeneratedTestCase(_SerdeShape): - """ - Represents a generated test case, consisting of query content, guard - content, and expected results. - """ - - query_content: str - """ - The input query or prompt that generated the content. This provides - context for the validation. - """ - guard_content: str - """ - The output content that's validated by the Automated Reasoning policy. - This represents the foundation model response that will be checked for - accuracy. - """ - expected_aggregated_findings_result: str - """ - The expected results of the generated test case. Possible values - include: - - - `VALID` - The claims are true. The claims are implied by the premises - and the Automated Reasoning policy. Given the Automated Reasoning - policy and premises, it is not possible for these claims to be false. - In other words, there are no alternative answers that are true that - contradict the claims. - - - `INVALID` - The claims are false. The claims are not implied by the - premises and Automated Reasoning policy. Furthermore, there exists - different claims that are consistent with the premises and Automated - Reasoning policy. - - - `SATISFIABLE` - The claims can be true or false. It depends on what - assumptions are made for the claim to be implied from the premises and - Automated Reasoning policy rules. In this situation, different - assumptions can make input claims false and alternative claims true. - - - `IMPOSSIBLE` - Automated Reasoning can't make a statement about the - claims. This can happen if the premises are logically incorrect, or if - there is a conflict within the Automated Reasoning policy itself. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyGeneratedTestCases(_SerdeShape): - """ - Contains a comprehensive test suite generated by the build workflow, - providing validation capabilities for automated reasoning policies. - """ - - generated_test_cases: list[AutomatedReasoningPolicyGeneratedTestCase] - """Represents a collection of generated test cases.""" - -@dataclass -class AutomatedReasoningPolicyGenerateFidelityReportContentDocuments(_SerdeShape): - """ - Source documents to analyze for generating a new fidelity report. The - documents will be processed to create atomic statements and grounding - information. - """ - - value: list[AutomatedReasoningPolicyBuildWorkflowDocument] - -@dataclass -class AutomatedReasoningPolicyGenerateFidelityReportContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningPolicyGenerateFidelityReportContent = Union[ - AutomatedReasoningPolicyGenerateFidelityReportContentDocuments - | AutomatedReasoningPolicyGenerateFidelityReportContentUnknown -] -""" -Configuration for generating a fidelity report, which can either analyze -new documents or update an existing fidelity report with a new policy -definition. -""" - -class _AutomatedReasoningPolicyGenerateFidelityReportContentDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningPolicyGenerateFidelityReportContent: ... - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyIngestContentAnnotation(_SerdeShape): - """ - An annotation for processing and incorporating new content into an - Automated Reasoning policy. - """ - - content: str - """ - The new content to be analyzed and incorporated into the policy, such as - additional documents or rule descriptions. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyIterativeRefinementContent(_SerdeShape): - """ - Configuration for an iterative policy refinement workflow, including - source documents to process and optional feedback to guide the - refinement. - """ - - documents: list[AutomatedReasoningPolicyBuildWorkflowDocument] - """ - Source documents used for iterative policy refinement. These documents - provide context for refining the policy definition. - """ - feedback: str | None = ... - """ - Optional feedback to guide the iterative refinement workflow. Provide - specific instructions or constraints for policy refinement. - """ - -@dataclass -class AutomatedReasoningPolicyMutationAddType(_SerdeShape): - """A mutation to add a new custom type to the policy.""" - - value: AutomatedReasoningPolicyAddTypeMutation - -@dataclass -class AutomatedReasoningPolicyMutationUpdateType(_SerdeShape): - """A mutation to modify an existing custom type in the policy.""" - - value: AutomatedReasoningPolicyUpdateTypeMutation - -@dataclass -class AutomatedReasoningPolicyMutationDeleteType(_SerdeShape): - """A mutation to remove a custom type from the policy.""" - - value: AutomatedReasoningPolicyDeleteTypeMutation - -@dataclass -class AutomatedReasoningPolicyMutationAddVariable(_SerdeShape): - """A mutation to add a new variable to the policy.""" - - value: AutomatedReasoningPolicyAddVariableMutation - -@dataclass -class AutomatedReasoningPolicyMutationUpdateVariable(_SerdeShape): - """A mutation to modify an existing variable in the policy.""" - - value: AutomatedReasoningPolicyUpdateVariableMutation - -@dataclass -class AutomatedReasoningPolicyMutationDeleteVariable(_SerdeShape): - """A mutation to remove a variable from the policy.""" - - value: AutomatedReasoningPolicyDeleteVariableMutation - -@dataclass -class AutomatedReasoningPolicyMutationAddRule(_SerdeShape): - """A mutation to add a new rule to the policy.""" - - value: AutomatedReasoningPolicyAddRuleMutation - -@dataclass -class AutomatedReasoningPolicyMutationUpdateRule(_SerdeShape): - """A mutation to modify an existing rule in the policy.""" - - value: AutomatedReasoningPolicyUpdateRuleMutation - -@dataclass -class AutomatedReasoningPolicyMutationDeleteRule(_SerdeShape): - """A mutation to remove a rule from the policy.""" - - value: AutomatedReasoningPolicyDeleteRuleMutation - -@dataclass -class AutomatedReasoningPolicyMutationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningPolicyMutation = Union[ - AutomatedReasoningPolicyMutationAddType - | AutomatedReasoningPolicyMutationUpdateType - | AutomatedReasoningPolicyMutationDeleteType - | AutomatedReasoningPolicyMutationAddVariable - | AutomatedReasoningPolicyMutationUpdateVariable - | AutomatedReasoningPolicyMutationDeleteVariable - | AutomatedReasoningPolicyMutationAddRule - | AutomatedReasoningPolicyMutationUpdateRule - | AutomatedReasoningPolicyMutationDeleteRule - | AutomatedReasoningPolicyMutationUnknown -] -""" -A container for various mutation operations that can be applied to an -Automated Reasoning policy, including adding, updating, and deleting -policy elements. -""" - -class _AutomatedReasoningPolicyMutationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningPolicyMutation: ... - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyPlanning(_SerdeShape): - """ - Represents the planning phase of policy build workflow, where the system - analyzes source content and determines what operations to perform. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyReportSourceDocument(_SerdeShape): - """ - Represents a source document that was analyzed during fidelity report - generation, including the document's metadata and its content broken - down into atomic statements. - """ - - document_name: str - """The name of the source document that was analyzed.""" - document_hash: str - """ - A SHA-256 hash of the document content, used for verification and - ensuring the document hasn't changed since analysis. - """ - document_id: str - """A unique identifier for this document within the fidelity report.""" - atomic_statements: list[AutomatedReasoningPolicyAtomicStatement] - """ - The list of atomic statements extracted from this document, representing - the fundamental units of meaning used for grounding. - """ - document_content: list[AutomatedReasoningPolicyAnnotatedChunk] - """ - The document's content organized into annotated chunks with line number - information for precise referencing. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyRuleReport(_SerdeShape): - """ - Provides detailed fidelity analysis for a specific policy rule, - including which source document statements support it and how accurate - the rule is. - """ - - rule: str - """The identifier of the policy rule being analyzed in this report.""" - grounding_statements: list[AutomatedReasoningPolicyStatementReference] | None = ... - """ - References to statements from the source documents that provide the - basis or justification for this rule. - """ - grounding_justifications: list[str] | None = ... - """ - Explanations describing how the source statements support and justify - this specific rule. - """ - accuracy_score: float | None = ... - """ - A score from 0.0 to 1.0 indicating how accurately this rule represents - the source material. - """ - accuracy_justification: str | None = ... - """ - A textual explanation of the accuracy score, describing why the rule - received this particular accuracy rating. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyScenario(_SerdeShape): - """ - Represents a test scenario used to validate an Automated Reasoning - policy, including the test conditions and expected outcomes. - """ - - expression: str - """The logical expression or condition that defines this test scenario.""" - alternate_expression: str - """ - An alternative way to express the same test scenario, used for - validation and comparison purposes. - """ - expected_result: str - """ - The expected outcome when this scenario is evaluated against the policy - (e.g., PASS, FAIL, VIOLATION). - """ - rule_ids: list[str] - """ - The list of rule identifiers that are expected to be triggered or - evaluated by this test scenario. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyScenarios(_SerdeShape): - """ - Contains a comprehensive entity encompassing all the scenarios generated - by the build workflow, which can be used to validate an Automated - Reasoning policy. - """ - - policy_scenarios: list[AutomatedReasoningPolicyScenario] - """Represents a collection of generated policy scenarios.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicySourceDocument(_SerdeShape): - """ - Represents a source document that was processed during a build workflow. - Contains the document content, metadata, and a hash for verification. - """ - - document: bytes - """The raw content of the source document as a binary blob.""" - document_content_type: str - """The MIME type of the document (e.g., application/pdf, text/plain).""" - document_name: str - """The name of the source document for identification purposes.""" - document_description: str | None = ... - """ - An optional description providing context about the document's content - and purpose. - """ - document_hash: str - """ - A SHA-256 hash of the document content, used for verification and - integrity checking. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyStatementLocation(_SerdeShape): - """ - Describes the location of a statement within a source document using - line numbers. - """ - - lines: list[int] - """The line numbers in the source document where this statement appears.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyStatementReference(_SerdeShape): - """ - References a specific atomic statement within a source document, used to - link policy elements back to their source material. - """ - - document_id: str - """ - The unique identifier of the document containing the referenced - statement. - """ - statement_id: str - """The unique identifier of the specific atomic statement being referenced.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicySummary(_SerdeShape): - """ - Contains summary information about an Automated Reasoning policy, - including metadata and timestamps. - """ - - policy_arn: str - """The Amazon Resource Name (ARN) of the policy.""" - name: str - """The name of the policy.""" - description: str | None = ... - """The description of the policy.""" - version: str - """The version of the policy.""" - policy_id: str - """The unique identifier of the policy.""" - created_at: datetime - """The timestamp when the policy was created.""" - updated_at: datetime - """The timestamp when the policy was last updated.""" - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyTestCase(_SerdeShape): - """ - Represents a test for validating an Automated Reasoning policy. tests - contain sample inputs and expected outcomes to verify policy behavior. - """ - - test_case_id: str - """The unique identifier of the test.""" - guard_content: str - """ - The output content to be validated by the policy, typically representing - a foundation model response. - """ - query_content: str | None = ... - """ - The input query or prompt that generated the content. This provides - context for the validation. - """ - expected_aggregated_findings_result: str | None = ... - """The expected result of the Automated Reasoning check for this test.""" - created_at: datetime - """The timestamp when the test was created.""" - updated_at: datetime - """The timestamp when the test was last updated.""" - confidence_threshold: float | None = ... - """ - The minimum confidence level for logic validation. Content meeting this - threshold is considered high-confidence and can be validated. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyTestResult(_SerdeShape): - """ - Contains the results of testing an Automated Reasoning policy against - various scenarios and validation checks. - """ - - test_case: AutomatedReasoningPolicyTestCase - """ - The test case that was executed, including the input content, expected - results, and configuration parameters used during validation. - """ - policy_arn: str - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy that - was tested. - """ - test_run_status: str - """ - The overall status of the test run (e.g., COMPLETED, FAILED, - IN_PROGRESS). - """ - test_findings: list[AutomatedReasoningCheckFinding] | None = ... - """ - Detailed findings from the test run, including any issues, violations, - or unexpected behaviors discovered. - """ - test_run_result: str | None = ... - """ - The overall result of the test run, indicating whether the policy passed - or failed validation. - """ - aggregated_test_findings_result: str | None = ... - """ - A summary of all test findings, aggregated to provide an overall - assessment of policy quality and correctness. - """ - updated_at: datetime - """The timestamp when the test results were last updated.""" - -class AutomatedReasoningPolicyTestRunResult(UnknownEnumMixin, StrEnum): - PASSED = "PASSED" - FAILED = "FAILED" - -class AutomatedReasoningPolicyTestRunStatus(UnknownEnumMixin, StrEnum): - NOT_STARTED = "NOT_STARTED" - SCHEDULED = "SCHEDULED" - IN_PROGRESS = "IN_PROGRESS" - COMPLETED = "COMPLETED" - FAILED = "FAILED" - -@dataclass -class AutomatedReasoningPolicyTypeValueAnnotationAddTypeValue(_SerdeShape): - """An operation to add a new value to an existing custom type.""" - - value: AutomatedReasoningPolicyAddTypeValue - -@dataclass -class AutomatedReasoningPolicyTypeValueAnnotationUpdateTypeValue(_SerdeShape): - """An operation to modify an existing value within a custom type.""" - - value: AutomatedReasoningPolicyUpdateTypeValue - -@dataclass -class AutomatedReasoningPolicyTypeValueAnnotationDeleteTypeValue(_SerdeShape): - """An operation to remove a value from an existing custom type.""" - - value: AutomatedReasoningPolicyDeleteTypeValue - -@dataclass -class AutomatedReasoningPolicyTypeValueAnnotationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningPolicyTypeValueAnnotation = Union[ - AutomatedReasoningPolicyTypeValueAnnotationAddTypeValue - | AutomatedReasoningPolicyTypeValueAnnotationUpdateTypeValue - | AutomatedReasoningPolicyTypeValueAnnotationDeleteTypeValue - | AutomatedReasoningPolicyTypeValueAnnotationUnknown -] -""" -An annotation for managing values within custom types, including adding, -updating, or removing specific type values. -""" - -class _AutomatedReasoningPolicyTypeValueAnnotationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningPolicyTypeValueAnnotation: ... - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation(_SerdeShape): - """ - An annotation for updating the policy based on feedback about how - specific rules performed during testing or real-world usage. - """ - - rule_ids: list[str] | None = ... - """The list of rule identifiers that the feedback applies to.""" - feedback: str - """ - The feedback information about rule performance, including suggestions - for improvements or corrections. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation(_SerdeShape): - """ - An annotation for updating the policy based on feedback about how it - performed on specific test scenarios. - """ - - rule_ids: list[str] | None = ... - """ - The list of rule identifiers that were involved in the scenario being - evaluated. - """ - scenario_expression: str - """ - The logical expression that defines the test scenario that generated - this feedback. - """ - feedback: str | None = ... - """ - The feedback information about scenario performance, including any - issues or improvements identified. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyUpdateRuleAnnotation(_SerdeShape): - """ - An annotation for modifying an existing rule in an Automated Reasoning - policy. - """ - - rule_id: str - """The unique identifier of the rule to update.""" - expression: str - """ - The new formal logical expression for the rule, replacing the previous - expression. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyUpdateRuleMutation(_SerdeShape): - """ - A mutation operation that modifies an existing rule in the policy - definition during the build process. - """ - - rule: AutomatedReasoningPolicyDefinitionRule - """ - The updated rule definition containing the modified formal logical - expression and any changed metadata for the existing rule. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyUpdateTypeAnnotation(_SerdeShape): - """ - An annotation for modifying an existing custom type in an Automated - Reasoning policy. - """ - - name: str - """The current name of the custom type to update.""" - new_name: str | None = ... - """ - The new name for the custom type, if you want to rename it. If not - provided, the name remains unchanged. - """ - description: str | None = ... - """ - The new description for the custom type, replacing the previous - description. - """ - values: list[AutomatedReasoningPolicyTypeValueAnnotation] - """ - The updated list of values for the custom type, which can include - additions, modifications, or removals. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyUpdateTypeMutation(_SerdeShape): - """ - A mutation operation that modifies an existing custom type in the policy - definition during the build process. - """ - - type: AutomatedReasoningPolicyDefinitionType - """ - The updated type definition containing the modified name, description, - or values for the existing custom type. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyUpdateTypeValue(_SerdeShape): - """Represents a modification to a value within an existing custom type.""" - - value: str - """The current identifier or name of the type value to update.""" - new_value: str | None = ... - """The new identifier or name for the type value, if you want to rename it.""" - description: str | None = ... - """ - The new description for the type value, replacing the previous - description. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyUpdateVariableAnnotation(_SerdeShape): - """ - An annotation for modifying an existing variable in an Automated - Reasoning policy. - """ - - name: str - """The current name of the variable to update.""" - new_name: str | None = ... - """ - The new name for the variable, if you want to rename it. If not - provided, the name remains unchanged. - """ - description: str | None = ... - """ - The new description for the variable, replacing the previous - description. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyUpdateVariableMutation(_SerdeShape): - """ - A mutation operation that modifies an existing variable in the policy - definition during the build process. - """ - - variable: AutomatedReasoningPolicyDefinitionVariable - """ - The updated variable definition containing the modified name, type, or - description for the existing variable. - """ - -@dataclass(kw_only=True) -class AutomatedReasoningPolicyVariableReport(_SerdeShape): - """ - Provides detailed fidelity analysis for a specific policy variable, - including which source document statements support it and how accurate - the variable definition is. - """ - - policy_variable: str - """The name of the policy variable being analyzed in this report.""" - grounding_statements: list[AutomatedReasoningPolicyStatementReference] | None = ... - """ - References to statements from the source documents that provide the - basis or justification for this variable. - """ - grounding_justifications: list[str] | None = ... - """ - Explanations describing how the source statements support and justify - this specific variable definition. - """ - accuracy_score: float | None = ... - """ - A score from 0.0 to 1.0 indicating how accurately this variable - represents concepts from the source material. - """ - accuracy_justification: str | None = ... - """ - A textual explanation of the accuracy score, describing why the variable - received this particular accuracy rating. - """ - -@dataclass -class AutomatedReasoningPolicyWorkflowTypeContentDocuments(_SerdeShape): - """The list of documents to be processed in a document ingestion workflow.""" - - value: list[AutomatedReasoningPolicyBuildWorkflowDocument] - -@dataclass -class AutomatedReasoningPolicyWorkflowTypeContentPolicyRepairAssets(_SerdeShape): - """ - The assets and instructions needed for a policy repair workflow, - including repair annotations and guidance. - """ - - value: AutomatedReasoningPolicyBuildWorkflowRepairContent - -@dataclass -class AutomatedReasoningPolicyWorkflowTypeContentGenerateFidelityReportContent( - _SerdeShape -): - """ - The content configuration for generating a fidelity report workflow. - This can include source documents to analyze or an existing fidelity - report to update with a new policy definition. - """ - - value: AutomatedReasoningPolicyGenerateFidelityReportContent - -@dataclass -class AutomatedReasoningPolicyWorkflowTypeContentIterativeRefinementContent( - _SerdeShape -): - """ - Content configuration to start an iterative policy refinement workflow - that uses generative AI to automatically make changes to the policy - based on test results and the optional feedback provided. - """ - - value: AutomatedReasoningPolicyIterativeRefinementContent - -@dataclass -class AutomatedReasoningPolicyWorkflowTypeContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AutomatedReasoningPolicyWorkflowTypeContent = Union[ - AutomatedReasoningPolicyWorkflowTypeContentDocuments - | AutomatedReasoningPolicyWorkflowTypeContentPolicyRepairAssets - | AutomatedReasoningPolicyWorkflowTypeContentGenerateFidelityReportContent - | AutomatedReasoningPolicyWorkflowTypeContentIterativeRefinementContent - | AutomatedReasoningPolicyWorkflowTypeContentUnknown -] -""" -Defines the content and configuration for different types of policy -build workflows. -""" - -class _AutomatedReasoningPolicyWorkflowTypeContentDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> AutomatedReasoningPolicyWorkflowTypeContent: ... - -@dataclass(kw_only=True) -class BatchDeleteAdvancedPromptOptimizationJobError(_SerdeShape): - """ - Contains information about an error that occurred when deleting an - advanced prompt optimization job. - """ - - job_identifier: str - """The identifier of the job that could not be deleted.""" - code: str - """The error code for the deletion failure.""" - message: str | None = ... - """A message describing the error.""" - -@dataclass(kw_only=True) -class BatchDeleteAdvancedPromptOptimizationJobInput(_SerdeShape): - """Batch Delete Advanced Prompt Optimization Jobs Request""" - - job_identifiers: list[str] | None = ... - """ - A list of advanced prompt optimization job identifiers (ARNs or IDs) to - delete. - """ - -@dataclass(kw_only=True) -class BatchDeleteAdvancedPromptOptimizationJobItem(_SerdeShape): - """ - Contains information about a successfully deleted advanced prompt - optimization job. - """ - - job_identifier: str - """The identifier of the deleted job.""" - job_status: str - """The status of the deleted job.""" - -@dataclass(kw_only=True) -class BatchDeleteAdvancedPromptOptimizationJobOutput(_SerdeShape): - """Batch Delete Advanced Prompt Optimization Jobs Response""" - - errors: list[BatchDeleteAdvancedPromptOptimizationJobError] - """A list of errors encountered during batch deletion.""" - advanced_prompt_optimization_jobs: list[ - BatchDeleteAdvancedPromptOptimizationJobItem - ] - """A list of successfully deleted advanced prompt optimization jobs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BatchDeleteEvaluationJobError(_SerdeShape): - """ - A JSON array that provides the status of the evaluation jobs being - deleted. - """ - - job_identifier: str - """The ARN of the evaluation job being deleted.""" - code: str - """A HTTP status code of the evaluation job being deleted.""" - message: str | None = ... - """A status message about the evaluation job deletion.""" - -@dataclass(kw_only=True) -class BatchDeleteEvaluationJobInput(_SerdeShape): - """Dataclass for BatchDeleteEvaluationJobInput structure.""" - - job_identifiers: list[str] | None = ... - """ - A list of one or more evaluation job Amazon Resource Names (ARNs) you - want to delete. - """ - -@dataclass(kw_only=True) -class BatchDeleteEvaluationJobItem(_SerdeShape): - """An evaluation job for deletion, and it's current status.""" - - job_identifier: str - """The Amazon Resource Name (ARN) of the evaluation job for deletion.""" - job_status: str - """The status of the evaluation job for deletion.""" - -@dataclass(kw_only=True) -class BatchDeleteEvaluationJobOutput(_SerdeShape): - """Dataclass for BatchDeleteEvaluationJobOutput structure.""" - - errors: list[BatchDeleteEvaluationJobError] - """ - A JSON object containing the HTTP status codes and the ARNs of - evaluation jobs that failed to be deleted. - """ - evaluation_jobs: list[BatchDeleteEvaluationJobItem] - """The list of evaluation jobs for deletion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BedrockEvaluatorModel(_SerdeShape): - """ - The evaluator model used in knowledge base evaluation job or in model - evaluation job that use a model as judge. This model computes all - evaluation related metrics. - """ - - model_identifier: str - """ - The Amazon Resource Name (ARN) of the evaluator model used used in - knowledge base evaluation job or in model evaluation job that use a - model as judge. - """ - -@dataclass(kw_only=True) -class ByteContentDoc(_SerdeShape): - """ - Contains the document contained in the wrapper object, along with its - attributes/fields. - """ - - identifier: str - """The file name of the document contained in the wrapper object.""" - content_type: str - """The MIME type of the document contained in the wrapper object.""" - data: bytes - """The byte value of the file to upload, encoded as a Base-64 string.""" - -@dataclass(kw_only=True) -class CancelAutomatedReasoningPolicyBuildWorkflowInput(_SerdeShape): - """ - Dataclass for CancelAutomatedReasoningPolicyBuildWorkflowInput - structure. - """ - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy whose - build workflow you want to cancel. - """ - build_workflow_id: str | None = ... - """ - The unique identifier of the build workflow to cancel. You can get this - ID from the StartAutomatedReasoningPolicyBuildWorkflow response or by - listing build workflows. - """ - -@dataclass(kw_only=True) -class CancelAutomatedReasoningPolicyBuildWorkflowOutput(_SerdeShape): - """ - Dataclass for CancelAutomatedReasoningPolicyBuildWorkflowOutput - structure. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CloudWatchConfig(_SerdeShape): - """CloudWatch logging configuration.""" - - log_group_name: str - """The log group name.""" - role_arn: str - """The role Amazon Resource Name (ARN).""" - large_data_delivery_s3_config: S3Config | None = ... - """S3 configuration for delivering a large amount of data.""" - -class CommitmentDuration(UnknownEnumMixin, StrEnum): - ONE_MONTH = "OneMonth" - SIX_MONTHS = "SixMonths" - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """Error occurred because of a conflict while performing an operation.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAdvancedPromptOptimizationJobInput(_SerdeShape): - """Create Advanced Prompt Optimization Job Request""" - - job_name: str | None = ... - """A name for the advanced prompt optimization job.""" - job_description: str | None = ... - """A description of the advanced prompt optimization job.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request but does not return an - error. - """ - input_config: AdvancedPromptOptimizationInputConfig | None = ... - """ - Specifies the S3 location of your JSONL input file containing prompt - templates and evaluation samples. - """ - output_config: AdvancedPromptOptimizationOutputConfig | None = ... - """Specifies the S3 location where optimization results will be stored.""" - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used for encrypting the - output data. If not specified, the output is encrypted with an - Amazon-owned KMS key. - """ - tags: list[Tag] | None = ... - """Tags to associate with the advanced prompt optimization job.""" - model_configurations: list[ModelConfiguration] | None = ... - """ - A list of model configurations specifying the target models for prompt - optimization. You can specify up to 5 models. - """ - -@dataclass(kw_only=True) -class CreateAdvancedPromptOptimizationJobOutput(_SerdeShape): - """Create Advanced Prompt Optimization Job Response""" - - job_arn: str - """ - The Amazon Resource Name (ARN) of the created advanced prompt - optimization job. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAutomatedReasoningPolicyInput(_SerdeShape): - """Dataclass for CreateAutomatedReasoningPolicyInput structure.""" - - name: str | None = ... - """ - A unique name for the Automated Reasoning policy. The name must be - between 1 and 63 characters and can contain letters, numbers, hyphens, - and underscores. - """ - description: str | None = ... - """ - A description of the Automated Reasoning policy. Use this to provide - context about the policy's purpose and the types of validations it - performs. - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than once. If this token matches a previous request, - Amazon Bedrock ignores the request but doesn't return an error. - """ - policy_definition: AutomatedReasoningPolicyDefinition | None = ... - """ - The policy definition that contains the formal logic rules, variables, - and custom variable types used to validate foundation model responses in - your application. - """ - kms_key_id: str | None = ... - """ - The identifier of the KMS key to use for encrypting the automated - reasoning policy and its associated artifacts. If you don't specify a - KMS key, Amazon Bedrock uses an KMS managed key for encryption. For - enhanced security and control, you can specify a customer managed KMS - key. - """ - tags: list[Tag] | None = ... - """ - A list of tags to associate with the Automated Reasoning policy. Tags - help you organize and manage your policies. - """ - -@dataclass(kw_only=True) -class CreateAutomatedReasoningPolicyOutput(_SerdeShape): - """Dataclass for CreateAutomatedReasoningPolicyOutput structure.""" - - policy_arn: str - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy that - you created. - """ - version: str - """ - The version number of the newly created Automated Reasoning policy. The - initial version is always DRAFT. - """ - name: str - """The name of the Automated Reasoning policy.""" - description: str | None = ... - """The description of the Automated Reasoning policy.""" - definition_hash: str | None = ... - """ - The hash of the policy definition. This is used as a concurrency token - for creating policy versions that you can use in your application. - """ - created_at: datetime - """The timestamp when the policy was created.""" - updated_at: datetime - """The timestamp when the policy was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAutomatedReasoningPolicyTestCaseInput(_SerdeShape): - """Dataclass for CreateAutomatedReasoningPolicyTestCaseInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy for - which to create the test. - """ - guard_content: str | None = ... - """ - The output content that's validated by the Automated Reasoning policy. - This represents the foundation model response that will be checked for - accuracy. - """ - query_content: str | None = ... - """ - The input query or prompt that generated the content. This provides - context for the validation. - """ - expected_aggregated_findings_result: str | None = ... - """ - The expected result of the Automated Reasoning check. Valid values - include: , TOO_COMPLEX, and NO_TRANSLATIONS. - - - `VALID` - The claims are true. The claims are implied by the premises - and the Automated Reasoning policy. Given the Automated Reasoning - policy and premises, it is not possible for these claims to be false. - In other words, there are no alternative answers that are true that - contradict the claims. - - - `INVALID` - The claims are false. The claims are not implied by the - premises and Automated Reasoning policy. Furthermore, there exists - different claims that are consistent with the premises and Automated - Reasoning policy. - - - `SATISFIABLE` - The claims can be true or false. It depends on what - assumptions are made for the claim to be implied from the premises and - Automated Reasoning policy rules. In this situation, different - assumptions can make input claims false and alternative claims true. - - - `IMPOSSIBLE` - Automated Reasoning can't make a statement about the - claims. This can happen if the premises are logically incorrect, or if - there is a conflict within the Automated Reasoning policy itself. - - - `TRANSLATION_AMBIGUOUS` - Detected an ambiguity in the translation - meant it would be unsound to continue with validity checking. - Additional context or follow-up questions might be needed to get - translation to succeed. - - - `TOO_COMPLEX` - The input contains too much information for Automated - Reasoning to process within its latency limits. - - - `NO_TRANSLATIONS` - Identifies that some or all of the input prompt - wasn't translated into logic. This can happen if the input isn't - relevant to the Automated Reasoning policy, or if the policy doesn't - have variables to model relevant input. If Automated Reasoning can't - translate anything, you get a single `NO_TRANSLATIONS` finding. You - might also see a `NO_TRANSLATIONS` (along with other findings) if some - part of the validation isn't translated. - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. - """ - confidence_threshold: float | None = ... - """ - The minimum confidence level for logic validation. Content that meets - the threshold is considered a high-confidence finding that can be - validated. - """ - -@dataclass(kw_only=True) -class CreateAutomatedReasoningPolicyTestCaseOutput(_SerdeShape): - """Dataclass for CreateAutomatedReasoningPolicyTestCaseOutput structure.""" - - policy_arn: str - """ - The Amazon Resource Name (ARN) of the policy for which the test was - created. - """ - test_case_id: str - """The unique identifier of the created test.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAutomatedReasoningPolicyVersionInput(_SerdeShape): - """Dataclass for CreateAutomatedReasoningPolicyVersionInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy for - which to create a version. - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. - """ - last_updated_definition_hash: str | None = ... - """ - The hash of the current policy definition used as a concurrency token to - ensure the policy hasn't been modified since you last retrieved it. - """ - tags: list[Tag] | None = ... - """A list of tags to associate with the policy version.""" - -@dataclass(kw_only=True) -class CreateAutomatedReasoningPolicyVersionOutput(_SerdeShape): - """Dataclass for CreateAutomatedReasoningPolicyVersionOutput structure.""" - - policy_arn: str - """The versioned Amazon Resource Name (ARN) of the policy version.""" - version: str - """The version number of the policy version.""" - name: str - """The name of the policy version.""" - description: str | None = ... - """The description of the policy version.""" - definition_hash: str - """The hash of the policy definition for this version.""" - created_at: datetime - """The timestamp when the policy version was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCustomModelDeploymentInput(_SerdeShape): - """Dataclass for CreateCustomModelDeploymentInput structure.""" - - model_deployment_name: str | None = ... - """ - The name for the custom model deployment. The name must be unique within - your Amazon Web Services account and Region. - """ - model_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the custom model to deploy for - on-demand inference. The custom model must be in the `Active` state. - """ - description: str | None = ... - """ - A description for the custom model deployment to help you identify its - purpose. - """ - tags: list[Tag] | None = ... - """ - Tags to assign to the custom model deployment. You can use tags to - organize and track your Amazon Web Services resources for cost - allocation and management purposes. - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateCustomModelDeploymentOutput(_SerdeShape): - """Dataclass for CreateCustomModelDeploymentOutput structure.""" - - custom_model_deployment_arn: str - """ - The Amazon Resource Name (ARN) of the custom model deployment. Use this - ARN as the `modelId` parameter when invoking the model with the - `InvokeModel` or `Converse` operations. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCustomModelInput(_SerdeShape): - """Dataclass for CreateCustomModelInput structure.""" - - model_name: str | None = ... - """A unique name for the custom model.""" - model_source_config: ModelDataSource | None = ... - """ - The data source for the model. The Amazon S3 URI in the model source - must be for the Amazon-managed Amazon S3 bucket containing your model - artifacts. - """ - custom_model_data_source: CustomModelDataSource | None = ... - """ - The data source for the custom model. Use this field to specify a - SageMaker AI model package ARN as the source for your custom model. - Amazon Bedrock resolves the model package to retrieve the model - artifacts. - - You can specify either `customModelDataSource` or `modelSourceConfig`, - but not both. - """ - model_kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the customer managed KMS key to - encrypt the custom model. If you don't provide a KMS key, Amazon - Bedrock uses an Amazon Web Services-managed KMS key to encrypt the - model. - - If you provide a customer managed KMS key, your Amazon Bedrock service - role must have permissions to use it. For more information see - [Encryption of imported - models](https://docs.aws.amazon.com/bedrock/latest/userguide/encryption-import-model.html). - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM service role that Amazon - Bedrock assumes to perform tasks on your behalf. This role must have - permissions to access the Amazon S3 bucket containing your model - artifacts and the KMS key (if specified). For more information, see - [Setting up an IAM service role for importing - models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-import-iam-role.html) - in the Amazon Bedrock User Guide. - - This field is required when you use `modelSourceConfig` with an Amazon - S3 data source. It is not required when you use `customModelDataSource` - with a model package ARN, because Amazon Bedrock uses its own - credentials to access the model artifacts. - """ - model_tags: list[Tag] | None = ... - """ - A list of key-value pairs to associate with the custom model resource. - You can use these tags to organize and identify your resources. - - For more information, see [Tagging - resources](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html) - in the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateCustomModelOutput(_SerdeShape): - """Dataclass for CreateCustomModelOutput structure.""" - - model_arn: str - """The Amazon Resource Name (ARN) of the new custom model.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateEvaluationJobInput(_SerdeShape): - """Dataclass for CreateEvaluationJobInput structure.""" - - job_name: str | None = ... - """ - A name for the evaluation job. Names must unique with your Amazon Web - Services account, and your account's Amazon Web Services region. - """ - job_description: str | None = ... - """A description of the evaluation job.""" - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM service role that Amazon - Bedrock can assume to perform tasks on your behalf. To learn more about - the required permissions, see [Required permissions for model - evaluations](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-security.html). - """ - customer_encryption_key_id: str | None = ... - """ - Specify your customer managed encryption key Amazon Resource Name (ARN) - that will be used to encrypt your evaluation job. - """ - job_tags: list[Tag] | None = ... - """Tags to attach to the model evaluation job.""" - application_type: str | None = ... - """ - Specifies whether the evaluation job is for evaluating a model or - evaluating a knowledge base (retrieval and response generation). - """ - evaluation_config: EvaluationConfig | None = ... - """ - Contains the configuration details of either an automated or human-based - evaluation job. - """ - inference_config: EvaluationInferenceConfig | None = ... - """ - Contains the configuration details of the inference model for the - evaluation job. - - For model evaluation jobs, automated jobs support a single model or - [inference - profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html), - and jobs that use human workers support two models or inference - profiles. - """ - output_data_config: EvaluationOutputDataConfig | None = ... - """ - Contains the configuration details of the Amazon S3 bucket for storing - the results of the evaluation job. - """ - -@dataclass(kw_only=True) -class CreateEvaluationJobOutput(_SerdeShape): - """Dataclass for CreateEvaluationJobOutput structure.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the evaluation job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFoundationModelAgreementInput(_SerdeShape): - """Dataclass for CreateFoundationModelAgreementInput structure.""" - - offer_token: str | None = ... - """An offer token encapsulates the information for an offer.""" - model_id: str | None = ... - """Model Id of the model for the access request.""" - -@dataclass(kw_only=True) -class CreateFoundationModelAgreementOutput(_SerdeShape): - """Dataclass for CreateFoundationModelAgreementOutput structure.""" - - model_id: str - """Model Id of the model for the access request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGuardrailInput(_SerdeShape): - """Dataclass for CreateGuardrailInput structure.""" - - name: str | None = ... - """The name to give the guardrail.""" - description: str | None = ... - """A description of the guardrail.""" - topic_policy_config: GuardrailTopicPolicyConfig | None = ... - """The topic policies to configure for the guardrail.""" - content_policy_config: GuardrailContentPolicyConfig | None = ... - """The content filter policies to configure for the guardrail.""" - word_policy_config: GuardrailWordPolicyConfig | None = ... - """The word policy you configure for the guardrail.""" - sensitive_information_policy_config: ( - GuardrailSensitiveInformationPolicyConfig | None - ) = ... - """The sensitive information policy to configure for the guardrail.""" - contextual_grounding_policy_config: ( - GuardrailContextualGroundingPolicyConfig | None - ) = ... - """ - The contextual grounding policy configuration used to create a - guardrail. - """ - automated_reasoning_policy_config: ( - GuardrailAutomatedReasoningPolicyConfig | None - ) = ... - """ - Optional configuration for integrating Automated Reasoning policies with - the new guardrail. - """ - cross_region_config: GuardrailCrossRegionConfig | None = ... - """ - The system-defined guardrail profile that you're using with your - guardrail. Guardrail profiles define the destination Amazon Web Services - Regions where guardrail inference requests can be automatically routed. - - For more information, see the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - blocked_input_messaging: str | None = ... - """The message to return when the guardrail blocks a prompt.""" - blocked_outputs_messaging: str | None = ... - """The message to return when the guardrail blocks a model response.""" - kms_key_id: str | None = ... - """The ARN of the KMS key that you use to encrypt the guardrail.""" - tags: list[Tag] | None = ... - """The tags that you want to attach to the guardrail.""" - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than once. If this token matches a previous request, - Amazon Bedrock ignores the request, but does not return an error. For - more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) - in the *Amazon S3 User Guide*. - """ - -@dataclass(kw_only=True) -class CreateGuardrailOutput(_SerdeShape): - """Dataclass for CreateGuardrailOutput structure.""" - - guardrail_id: str - """The unique identifier of the guardrail that was created.""" - guardrail_arn: str - """The ARN of the guardrail.""" - version: str - """ - The version of the guardrail that was created. This value will always be - `DRAFT`. - """ - created_at: datetime - """The time at which the guardrail was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGuardrailVersionInput(_SerdeShape): - """Dataclass for CreateGuardrailVersionInput structure.""" - - guardrail_identifier: str | None = ... - """The unique identifier of the guardrail. This can be an ID or the ARN.""" - description: str | None = ... - """A description of the guardrail version.""" - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than once. If this token matches a previous request, - Amazon Bedrock ignores the request, but does not return an error. For - more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) - in the *Amazon S3 User Guide*. - """ - -@dataclass(kw_only=True) -class CreateGuardrailVersionOutput(_SerdeShape): - """Dataclass for CreateGuardrailVersionOutput structure.""" - - guardrail_id: str - """The unique identifier of the guardrail.""" - version: str - """The number of the version of the guardrail.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInferenceProfileInput(_SerdeShape): - """Dataclass for CreateInferenceProfileInput structure.""" - - inference_profile_name: str | None = ... - """A name for the inference profile.""" - description: str | None = ... - """A description for the inference profile.""" - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - model_source: InferenceProfileModelSource | None = ... - """ - The foundation model or system-defined inference profile that the - inference profile will track metrics and costs for. - """ - tags: list[Tag] | None = ... - """ - An array of objects, each of which contains a tag and its value. For - more information, see [Tagging - resources](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) - in the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). - """ - -@dataclass(kw_only=True) -class CreateInferenceProfileOutput(_SerdeShape): - """Dataclass for CreateInferenceProfileOutput structure.""" - - inference_profile_arn: str - """The ARN of the inference profile that you created.""" - status: str | None = ... - """ - The status of the inference profile. `ACTIVE` means that the inference - profile is ready to be used. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateMarketplaceModelEndpointInput(_SerdeShape): - """Dataclass for CreateMarketplaceModelEndpointInput structure.""" - - model_source_identifier: str | None = ... - """ - The ARN of the model from Amazon Bedrock Marketplace that you want to - deploy to the endpoint. - """ - endpoint_config: EndpointConfig | None = ... - """ - The configuration for the endpoint, including the number and type of - instances to use. - """ - accept_eula: bool = ... - """ - Indicates whether you accept the end-user license agreement (EULA) for - the model. Set to `true` to accept the EULA. - """ - endpoint_name: str | None = ... - """ - The name of the endpoint. This name must be unique within your Amazon - Web Services account and region. - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. This token is listed as not required because - Amazon Web Services SDKs automatically generate it for you and set this - parameter. If you're not using the Amazon Web Services SDK or the CLI, - you must provide this token or the action will fail. - """ - tags: list[Tag] | None = ... - """ - An array of key-value pairs to apply to the underlying Amazon SageMaker - endpoint. You can use these tags to organize and identify your Amazon - Web Services resources. - """ - -@dataclass(kw_only=True) -class CreateMarketplaceModelEndpointOutput(_SerdeShape): - """Dataclass for CreateMarketplaceModelEndpointOutput structure.""" - - marketplace_model_endpoint: MarketplaceModelEndpoint - """Details about the created endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateModelCopyJobInput(_SerdeShape): - """Dataclass for CreateModelCopyJobInput structure.""" - - source_model_arn: str | None = ... - """The Amazon Resource Name (ARN) of the model to be copied.""" - target_model_name: str | None = ... - """A name for the copied model.""" - model_kms_key_id: str | None = ... - """The ARN of the KMS key that you use to encrypt the model copy.""" - target_model_tags: list[Tag] | None = ... - """ - Tags to associate with the target model. For more information, see [Tag - resources](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html) - in the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateModelCopyJobOutput(_SerdeShape): - """Dataclass for CreateModelCopyJobOutput structure.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the model copy job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateModelCustomizationJobInput(_SerdeShape): - """Dataclass for CreateModelCustomizationJobInput structure.""" - - job_name: str | None = ... - """A name for the fine-tuning job.""" - custom_model_name: str | None = ... - """A name for the resulting custom model.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM service role that Amazon - Bedrock can assume to perform tasks on your behalf. For example, during - model training, Amazon Bedrock needs your permission to read input data - from an S3 bucket, write model artifacts to an S3 bucket. To pass this - role to Amazon Bedrock, the caller of this API must have the - `iam:PassRole` permission. - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - base_model_identifier: str | None = ... - """Name of the base model.""" - customization_type: str | None = ... - """The customization type.""" - custom_model_kms_key_id: str | None = ... - """The custom model is encrypted at rest using this key.""" - job_tags: list[Tag] | None = ... - """Tags to attach to the job.""" - custom_model_tags: list[Tag] | None = ... - """Tags to attach to the resulting custom model.""" - training_data_config: TrainingDataConfig | None = ... - """Information about the training dataset.""" - validation_data_config: ValidationDataConfig | None = ... - """Information about the validation dataset.""" - output_data_config: OutputDataConfig | None = ... - """S3 location for the output data.""" - hyper_parameters: dict[str, str] | None = ... - """ - Parameters related to tuning the model. For details on the format for - different models, see [Custom model - hyperparameters](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html). - """ - vpc_config: VpcConfig | None = ... - """ - The configuration of the Virtual Private Cloud (VPC) that contains the - resources that you're using for this job. For more information, see - [Protect your model customization jobs using a - VPC](https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html). - """ - customization_config: CustomizationConfig | None = ... - """The customization configuration for the model customization job.""" - -@dataclass(kw_only=True) -class CreateModelCustomizationJobOutput(_SerdeShape): - """Dataclass for CreateModelCustomizationJobOutput structure.""" - - job_arn: str - """Amazon Resource Name (ARN) of the fine tuning job""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateModelImportJobInput(_SerdeShape): - """Dataclass for CreateModelImportJobInput structure.""" - - job_name: str | None = ... - """The name of the import job.""" - imported_model_name: str | None = ... - """The name of the imported model.""" - role_arn: str | None = ... - """The Amazon Resource Name (ARN) of the model import job.""" - model_data_source: ModelDataSource | None = ... - """The data source for the imported model.""" - job_tags: list[Tag] | None = ... - """Tags to attach to this import job.""" - imported_model_tags: list[Tag] | None = ... - """Tags to attach to the imported model.""" - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - vpc_config: VpcConfig | None = ... - """ - VPC configuration parameters for the private Virtual Private Cloud (VPC) - that contains the resources you are using for the import job. - """ - imported_model_kms_key_id: str | None = ... - """The imported model is encrypted at rest using this key.""" - -@dataclass(kw_only=True) -class CreateModelImportJobOutput(_SerdeShape): - """Dataclass for CreateModelImportJobOutput structure.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the model import job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateModelInvocationJobInput(_SerdeShape): - """Dataclass for CreateModelInvocationJobInput structure.""" - - job_name: str | None = ... - """A name to give the batch inference job.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the service role with permissions to - carry out and manage batch inference. You can use the console to create - a default service role or follow the steps at [Create a service role for - batch - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html). - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - model_id: str | None = ... - """ - The unique identifier of the foundation model to use for the batch - inference job. - """ - input_data_config: ModelInvocationJobInputDataConfig | None = ... - """Details about the location of the input to the batch inference job.""" - output_data_config: ModelInvocationJobOutputDataConfig | None = ... - """Details about the location of the output of the batch inference job.""" - vpc_config: VpcConfig | None = ... - """ - The configuration of the Virtual Private Cloud (VPC) for the data in the - batch inference job. For more information, see [Protect batch inference - jobs using a - VPC](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc). - """ - timeout_duration_in_hours: int | None = ... - """ - The number of hours after which to force the batch inference job to time - out. - """ - tags: list[Tag] | None = ... - """ - Any tags to associate with the batch inference job. For more - information, see [Tagging Amazon Bedrock - resources](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html). - """ - model_invocation_type: str = ... - """The invocation endpoint for ModelInvocationJob""" - -@dataclass(kw_only=True) -class CreateModelInvocationJobOutput(_SerdeShape): - """Dataclass for CreateModelInvocationJobOutput structure.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the batch inference job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePromptRouterInput(_SerdeShape): - """Dataclass for CreatePromptRouterInput structure.""" - - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure - idempotency of your requests. If not specified, the Amazon Web Services - SDK automatically generates one for you. - """ - prompt_router_name: str | None = ... - """ - The name of the prompt router. The name must be unique within your - Amazon Web Services account in the current region. - """ - models: list[PromptRouterTargetModel] | None = ... - """ - A list of foundation models that the prompt router can route requests - to. At least one model must be specified. - """ - description: str | None = ... - """ - An optional description of the prompt router to help identify its - purpose. - """ - routing_criteria: RoutingCriteria | None = ... - """ - The criteria, which is the response quality difference, used to - determine how incoming requests are routed to different models. - """ - fallback_model: PromptRouterTargetModel | None = ... - """The default model to use when the routing criteria is not met.""" - tags: list[Tag] | None = ... - """ - An array of key-value pairs to apply to this resource as tags. You can - use tags to categorize and manage your Amazon Web Services resources. - """ - -@dataclass(kw_only=True) -class CreatePromptRouterOutput(_SerdeShape): - """Dataclass for CreatePromptRouterOutput structure.""" - - prompt_router_arn: str | None = ... - """ - The Amazon Resource Name (ARN) that uniquely identifies the prompt - router. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateProvisionedModelThroughputInput(_SerdeShape): - """Dataclass for CreateProvisionedModelThroughputInput structure.""" - - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) - in the Amazon S3 User Guide. - """ - model_units: int | None = ... - """ - Number of model units to allocate. A model unit delivers a specific - throughput level for the specified model. The throughput level of a - model unit specifies the total number of input and output tokens that it - can process and generate within a span of one minute. By default, your - account has no model units for purchasing Provisioned Throughputs with - commitment. You must first visit the [Amazon Web Services support - center](https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase) - to request MUs. - - For model unit quotas, see [Provisioned Throughput - quotas](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html#prov-thru-quotas) - in the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). - - For more information about what an MU specifies, contact your Amazon Web - Services account manager. - """ - provisioned_model_name: str | None = ... - """The name for this Provisioned Throughput.""" - model_id: str | None = ... - """ - The Amazon Resource Name (ARN) or name of the model to associate with - this Provisioned Throughput. For a list of models for which you can - purchase Provisioned Throughput, see [Amazon Bedrock model IDs for - purchasing Provisioned - Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#prov-throughput-models) - in the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). - """ - commitment_duration: str | None = ... - """ - The commitment duration requested for the Provisioned Throughput. - Billing occurs hourly and is discounted for longer commitment terms. To - request a no-commit Provisioned Throughput, omit this field. - - Custom models support all levels of commitment. To see which base models - support no commitment, see [Supported regions and models for Provisioned - Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/pt-supported.html) - in the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) - """ - tags: list[Tag] | None = ... - """Tags to associate with this Provisioned Throughput.""" - -@dataclass(kw_only=True) -class CreateProvisionedModelThroughputOutput(_SerdeShape): - """Dataclass for CreateProvisionedModelThroughputOutput structure.""" - - provisioned_model_arn: str - """The Amazon Resource Name (ARN) for this Provisioned Throughput.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class CustomizationConfigDistillationConfig(_SerdeShape): - """The Distillation configuration for the custom model.""" - - value: DistillationConfig - -@dataclass -class CustomizationConfigRftConfig(_SerdeShape): - """ - Configuration settings for reinforcement fine-tuning (RFT) model - customization, including grader configuration and hyperparameters. - """ - - value: RFTConfig - -@dataclass -class CustomizationConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CustomizationConfig = Union[ - CustomizationConfigDistillationConfig - | CustomizationConfigRftConfig - | CustomizationConfigUnknown -] -"""A model customization configuration""" - -class _CustomizationConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> CustomizationConfig: ... - -class CustomizationType(UnknownEnumMixin, StrEnum): - FINE_TUNING = "FINE_TUNING" - CONTINUED_PRE_TRAINING = "CONTINUED_PRE_TRAINING" - DISTILLATION = "DISTILLATION" - REINFORCEMENT_FINE_TUNING = "REINFORCEMENT_FINE_TUNING" - IMPORTED = "IMPORTED" - -@dataclass(kw_only=True) -class CustomMetricBedrockEvaluatorModel(_SerdeShape): - """ - Defines the model you want to evaluate custom metrics in an Amazon - Bedrock evaluation job. - """ - - model_identifier: str - """ - The Amazon Resource Name (ARN) of the evaluator model for custom - metrics. For a list of supported evaluator models, see [Evaluate model - performance using another LLM as a - judge](https://docs.aws.amazon.com/bedrock/latest/userguide/evaluation-judge.html) - and [Evaluate the performance of RAG sources using Amazon Bedrock - evaluations](https://docs.aws.amazon.com/bedrock/latest/userguide/evaluation-kb.html). - """ - -@dataclass(kw_only=True) -class CustomMetricDefinition(_SerdeShape): - """ - The definition of a custom metric for use in an Amazon Bedrock - evaluation job. A custom metric definition includes a metric name, - prompt (instructions) and optionally, a rating scale. Your prompt must - include a task description and input variables. The required input - variables are different for model-as-a-judge and RAG evaluations. - - For more information about how to define a custom metric in Amazon - Bedrock, see [Create a prompt for a custom metrics (LLM-as-a-judge model - evaluations)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-custom-metrics-prompt-formats.html) - and [Create a prompt for a custom metrics (RAG - evaluations)](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-evaluation-custom-metrics-prompt-formats.html). - """ - - name: str - """ - The name for a custom metric. Names must be unique in your Amazon Web - Services region. - """ - instructions: str - """ - The prompt for a custom metric that instructs the evaluator model how to - rate the model or RAG source under evaluation. - """ - rating_scale: list[RatingScaleItem] | None = ... - """ - Defines the rating scale to be used for a custom metric. We recommend - that you always define a ratings scale when creating a custom metric. If - you don't define a scale, Amazon Bedrock won't be able to visually - display the results of the evaluation in the console or calculate - average values of numerical scores. For more information on specifying a - rating scale, see [Specifying an output schema (rating - scale)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-custom-metrics-prompt-formats.html#model-evaluation-custom-metrics-prompt-formats-schema). - """ - -@dataclass(kw_only=True) -class CustomMetricEvaluatorModelConfig(_SerdeShape): - """ - Configuration of the evaluator model you want to use to evaluate custom - metrics in an Amazon Bedrock evaluation job. - """ - - bedrock_evaluator_models: list[CustomMetricBedrockEvaluatorModel] - """ - Defines the model you want to evaluate custom metrics in an Amazon - Bedrock evaluation job. - """ - -@dataclass -class CustomModelDataSourceModelPackageArnDataSource(_SerdeShape): - """ - A SageMaker AI model package ARN as the data source for the custom - model. When you specify a model package ARN, Amazon Bedrock resolves the - model package to retrieve the model artifacts. - """ - - value: ModelPackageArnDataSource - -@dataclass -class CustomModelDataSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CustomModelDataSource = Union[ - CustomModelDataSourceModelPackageArnDataSource | CustomModelDataSourceUnknown -] -""" -The data source for a custom model. This is a union type that supports -the following member: - -- `modelPackageArnDataSource` --- Specifies a SageMaker AI model package - as the data source. -""" - -class _CustomModelDataSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> CustomModelDataSource: ... - -class CustomModelDeploymentStatus(UnknownEnumMixin, StrEnum): - CREATING = "Creating" - ACTIVE = "Active" - FAILED = "Failed" - -@dataclass(kw_only=True) -class CustomModelDeploymentSummary(_SerdeShape): - """ - Contains summary information about a custom model deployment, including - its ARN, name, status, and associated custom model. - """ - - custom_model_deployment_arn: str - """The Amazon Resource Name (ARN) of the custom model deployment.""" - custom_model_deployment_name: str - """The name of the custom model deployment.""" - model_arn: str - """ - The Amazon Resource Name (ARN) of the custom model associated with this - deployment. - """ - created_at: datetime - """The date and time when the custom model deployment was created.""" - status: str - """ - The status of the custom model deployment. Possible values are - `CREATING`, `ACTIVE`, and `FAILED`. - """ - last_updated_at: datetime | None = ... - """The date and time when the custom model deployment was last modified.""" - failure_message: str | None = ... - """ - If the deployment status is `FAILED`, this field contains a message - describing the failure reason. - """ - -@dataclass(kw_only=True) -class CustomModelDeploymentUpdateDetails(_SerdeShape): - """ - Details about an update to a custom model deployment, including the new - custom model resource ARN and current update status. - """ - - model_arn: str - """ARN of the new custom model being deployed as part of the update.""" - update_status: str - """Current status of the deployment update.""" - -class CustomModelDeploymentUpdateStatus(UnknownEnumMixin, StrEnum): - UPDATING = "Updating" - UPDATE_COMPLETED = "UpdateCompleted" - UPDATE_FAILED = "UpdateFailed" - -@dataclass(kw_only=True) -class CustomModelSummary(_SerdeShape): - """Summary information for a custom model.""" - - model_arn: str - """The Amazon Resource Name (ARN) of the custom model.""" - model_name: str - """The name of the custom model.""" - creation_time: datetime - """Creation time of the model.""" - base_model_arn: str - """The base model Amazon Resource Name (ARN).""" - base_model_name: str - """The base model name.""" - customization_type: str | None = ... - """ - Specifies whether to carry out continued pre-training of a model or - whether to fine-tune it. For more information, see [Custom - models](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html). - """ - owner_account_id: str | None = ... - """The unique identifier of the account that owns the model.""" - model_status: str | None = ... - """ - The current status of the custom model. Possible values include: - - - `Creating` - The model is being created and validated. - - - `Active` - The model has been successfully created and is ready for - use. - - - `Failed` - The model creation process failed. - """ - -@dataclass(kw_only=True) -class CustomModelUnits(_SerdeShape): - """ - A `CustomModelUnit` (CMU) is an abstract view of the hardware - utilization that Amazon Bedrock needs to host a single copy of your - custom model. A model copy represents a single instance of your imported - model that is ready to serve inference requests. Amazon Bedrock - determines the number of custom model units that a model copy needs when - you import the custom model. - - You can use `CustomModelUnits` to estimate the cost of running your - custom model. For more information, see Calculate the cost of running a - custom model in the Amazon Bedrock user guide. - """ - - custom_model_units_per_model_copy: int | None = ... - """The number of custom model units used to host a model copy.""" - custom_model_units_version: str | None = ... - """ - The version of the custom model unit. Use to determine the billing rate - for the custom model unit. - """ - -@dataclass(kw_only=True) -class DataProcessingDetails(_SerdeShape): - """ - For a Distillation job, the status details for the data processing - sub-task of the job. - """ - - status: str | None = ... - """The status of the data processing sub-task of the job.""" - creation_time: datetime | None = ... - """The start time of the data processing sub-task of the job.""" - last_modified_time: datetime | None = ... - """The latest update to the data processing sub-task of the job.""" - -class DataRetentionMode(UnknownEnumMixin, StrEnum): - """ - The data retention mode for the account. Valid values are: - - - `default` -- The standard data handling for the model applies. - - - `none` -- Zero data retention. - - - `aws_review` -- Amazon Web Services may review the request data. The - data is not shared with the model provider. A model must support this - mode to be invoked under it. - - - `provider_data_share` -- Data may be shared with the model provider. - - - `inherit` -- No data retention mode is set at this scope. - """ - - DEFAULT = "default" - NONE = "none" - AWS_REVIEW = "aws_review" - PROVIDER_DATA_SHARE = "provider_data_share" - INHERIT = "inherit" - -@dataclass(kw_only=True) -class DeleteAutomatedReasoningPolicyBuildWorkflowInput(_SerdeShape): - """ - Dataclass for DeleteAutomatedReasoningPolicyBuildWorkflowInput - structure. - """ - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy whose - build workflow you want to delete. - """ - build_workflow_id: str | None = ... - """The unique identifier of the build workflow to delete.""" - last_updated_at: datetime | None = ... - """ - The timestamp when the build workflow was last updated. This is used for - optimistic concurrency control to prevent accidental deletion of - workflows that have been modified. - """ - -@dataclass(kw_only=True) -class DeleteAutomatedReasoningPolicyBuildWorkflowOutput(_SerdeShape): - """ - Dataclass for DeleteAutomatedReasoningPolicyBuildWorkflowOutput - structure. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAutomatedReasoningPolicyInput(_SerdeShape): - """Dataclass for DeleteAutomatedReasoningPolicyInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy to - delete. - """ - force: bool = ... - """ - Specifies whether to force delete the automated reasoning policy even if - it has active resources. When `false`, Amazon Bedrock validates if all - artifacts have been deleted (e.g. policy version, test case, test - result) for a policy before deletion. When `true`, Amazon Bedrock will - delete the policy and all its artifacts without validation. Default is - `false`. - """ - -@dataclass(kw_only=True) -class DeleteAutomatedReasoningPolicyOutput(_SerdeShape): - """Dataclass for DeleteAutomatedReasoningPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAutomatedReasoningPolicyTestCaseInput(_SerdeShape): - """Dataclass for DeleteAutomatedReasoningPolicyTestCaseInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy that - contains the test. - """ - test_case_id: str | None = ... - """The unique identifier of the test to delete.""" - last_updated_at: datetime | None = ... - """ - The timestamp when the test was last updated. This is used as a - concurrency token to prevent conflicting modifications. - """ - -@dataclass(kw_only=True) -class DeleteAutomatedReasoningPolicyTestCaseOutput(_SerdeShape): - """Dataclass for DeleteAutomatedReasoningPolicyTestCaseOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCustomModelDeploymentInput(_SerdeShape): - """Dataclass for DeleteCustomModelDeploymentInput structure.""" - - custom_model_deployment_identifier: str | None = ... - """ - The Amazon Resource Name (ARN) or name of the custom model deployment to - delete. - """ - -@dataclass(kw_only=True) -class DeleteCustomModelDeploymentOutput(_SerdeShape): - """Dataclass for DeleteCustomModelDeploymentOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCustomModelInput(_SerdeShape): - """Dataclass for DeleteCustomModelInput structure.""" - - model_identifier: str | None = ... - """Name of the model to delete.""" - -@dataclass(kw_only=True) -class DeleteCustomModelOutput(_SerdeShape): - """Dataclass for DeleteCustomModelOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteEnforcedGuardrailConfigurationInput(_SerdeShape): - """Dataclass for DeleteEnforcedGuardrailConfigurationInput structure.""" - - config_id: str | None = ... - """Unique ID for the account enforced configuration.""" - -@dataclass(kw_only=True) -class DeleteEnforcedGuardrailConfigurationOutput(_SerdeShape): - """Dataclass for DeleteEnforcedGuardrailConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFoundationModelAgreementInput(_SerdeShape): - """Dataclass for DeleteFoundationModelAgreementInput structure.""" - - model_id: str | None = ... - """Model Id of the model access to delete.""" - -@dataclass(kw_only=True) -class DeleteFoundationModelAgreementOutput(_SerdeShape): - """Dataclass for DeleteFoundationModelAgreementOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGuardrailInput(_SerdeShape): - """Dataclass for DeleteGuardrailInput structure.""" - - guardrail_identifier: str | None = ... - """The unique identifier of the guardrail. This can be an ID or the ARN.""" - guardrail_version: str | None = ... - """The version of the guardrail.""" - -@dataclass(kw_only=True) -class DeleteGuardrailOutput(_SerdeShape): - """Dataclass for DeleteGuardrailOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteImportedModelInput(_SerdeShape): - """Dataclass for DeleteImportedModelInput structure.""" - - model_identifier: str | None = ... - """Name of the imported model to delete.""" - -@dataclass(kw_only=True) -class DeleteImportedModelOutput(_SerdeShape): - """Dataclass for DeleteImportedModelOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteInferenceProfileInput(_SerdeShape): - """Dataclass for DeleteInferenceProfileInput structure.""" - - inference_profile_identifier: str | None = ... - """ - The Amazon Resource Name (ARN) or ID of the application inference - profile to delete. - """ - -@dataclass(kw_only=True) -class DeleteInferenceProfileOutput(_SerdeShape): - """Dataclass for DeleteInferenceProfileOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteMarketplaceModelEndpointInput(_SerdeShape): - """Dataclass for DeleteMarketplaceModelEndpointInput structure.""" - - endpoint_arn: str | None = ... - """The Amazon Resource Name (ARN) of the endpoint you want to delete.""" - -@dataclass(kw_only=True) -class DeleteMarketplaceModelEndpointOutput(_SerdeShape): - """Dataclass for DeleteMarketplaceModelEndpointOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteModelInvocationLoggingConfigurationInput(_SerdeShape): - """Dataclass for DeleteModelInvocationLoggingConfigurationInput structure.""" - -@dataclass(kw_only=True) -class DeleteModelInvocationLoggingConfigurationOutput(_SerdeShape): - """Dataclass for DeleteModelInvocationLoggingConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePromptRouterInput(_SerdeShape): - """Dataclass for DeletePromptRouterInput structure.""" - - prompt_router_arn: str | None = ... - """The Amazon Resource Name (ARN) of the prompt router to delete.""" - -@dataclass(kw_only=True) -class DeletePromptRouterOutput(_SerdeShape): - """Dataclass for DeletePromptRouterOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteProvisionedModelThroughputInput(_SerdeShape): - """Dataclass for DeleteProvisionedModelThroughputInput structure.""" - - provisioned_model_id: str | None = ... - """The Amazon Resource Name (ARN) or name of the Provisioned Throughput.""" - -@dataclass(kw_only=True) -class DeleteProvisionedModelThroughputOutput(_SerdeShape): - """Dataclass for DeleteProvisionedModelThroughputOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyInput(_SerdeShape): - """Dataclass for DeleteResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """The ARN of the Bedrock resource to which this resource policy applies.""" - -@dataclass(kw_only=True) -class DeleteResourcePolicyOutput(_SerdeShape): - """Dataclass for DeleteResourcePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeregisterMarketplaceModelEndpointInput(_SerdeShape): - """Dataclass for DeregisterMarketplaceModelEndpointInput structure.""" - - endpoint_arn: str | None = ... - """The Amazon Resource Name (ARN) of the endpoint you want to deregister.""" - -@dataclass(kw_only=True) -class DeregisterMarketplaceModelEndpointOutput(_SerdeShape): - """Dataclass for DeregisterMarketplaceModelEndpointOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DimensionalPriceRate(_SerdeShape): - """Dimensional price rate.""" - - dimension: str | None = ... - """Dimension for the price rate.""" - price: str | None = ... - """Single-dimensional rate information.""" - description: str | None = ... - """Description of the price rate.""" - unit: str | None = ... - """Unit associated with the price.""" - -@dataclass(kw_only=True) -class DistillationConfig(_SerdeShape): - """ - Settings for distilling a foundation model into a smaller and more - efficient model. - """ - - teacher_model_config: TeacherModelConfig - """The teacher model configuration.""" - -@dataclass -class EndpointConfigSageMaker(_SerdeShape): - """The configuration specific to Amazon SageMaker for the endpoint.""" - - value: SageMakerEndpoint - -@dataclass -class EndpointConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EndpointConfig = Union[EndpointConfigSageMaker | EndpointConfigUnknown] -"""Specifies the configuration for the endpoint.""" - -class _EndpointConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EndpointConfig: ... - -class EntitlementAvailability(UnknownEnumMixin, StrEnum): - AVAILABLE = "AVAILABLE" - NOT_AVAILABLE = "NOT_AVAILABLE" - -@dataclass(kw_only=True) -class EvaluationBedrockModel(_SerdeShape): - """ - Contains the ARN of the Amazon Bedrock model or [inference - profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) - specified in your evaluation job. Each Amazon Bedrock model supports - different `inferenceParams`. To learn more about supported inference - parameters for Amazon Bedrock models, see [Inference parameters for - foundation - models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - - The `inferenceParams` are specified using JSON. To successfully insert - JSON as string make sure that all quotations are properly escaped. For - example, `"temperature":"0.25"` key value pair would need to be - formatted as `\"temperature\":\"0.25\"` to successfully accepted in the - request. - """ - - model_identifier: str - """The ARN of the Amazon Bedrock model or inference profile specified.""" - inference_params: str = ... - """ - Each Amazon Bedrock support different inference parameters that change - how the model behaves during inference. - """ - performance_config: PerformanceConfiguration | None = ... - """Specifies performance settings for the model or inference profile.""" - -@dataclass -class EvaluationConfigAutomated(_SerdeShape): - """ - Contains the configuration details of an automated evaluation job that - computes metrics. - """ - - value: AutomatedEvaluationConfig - -@dataclass -class EvaluationConfigHuman(_SerdeShape): - """ - Contains the configuration details of an evaluation job that uses human - workers. - """ - - value: HumanEvaluationConfig - -@dataclass -class EvaluationConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluationConfig = Union[ - EvaluationConfigAutomated | EvaluationConfigHuman | EvaluationConfigUnknown -] -""" -The configuration details of either an automated or human-based -evaluation job. -""" - -class _EvaluationConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationConfig: ... - -@dataclass(kw_only=True) -class EvaluationDataset(_SerdeShape): - """ - Used to specify the name of a built-in prompt dataset and optionally, - the Amazon S3 bucket where a custom prompt dataset is saved. - """ - - name: str - """ - Used to specify supported built-in prompt datasets. Valid values are - `Builtin.Bold`, `Builtin.BoolQ`, `Builtin.NaturalQuestions`, - `Builtin.Gigaword`, `Builtin.RealToxicityPrompts`, `Builtin.TriviaQA`, - `Builtin.T-Rex`, `Builtin.WomensEcommerceClothingReviews` and - `Builtin.Wikitext2`. - """ - dataset_location: EvaluationDatasetLocation | None = ... - """ - For custom prompt datasets, you must specify the location in Amazon S3 - where the prompt dataset is saved. - """ - -@dataclass -class EvaluationDatasetLocationS3Uri(_SerdeShape): - """The S3 URI of the S3 bucket specified in the job.""" - - value: str - -@dataclass -class EvaluationDatasetLocationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluationDatasetLocation = Union[ - EvaluationDatasetLocationS3Uri | EvaluationDatasetLocationUnknown -] -"""The location in Amazon S3 where your prompt dataset is stored.""" - -class _EvaluationDatasetLocationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> EvaluationDatasetLocation: ... - -@dataclass(kw_only=True) -class EvaluationDatasetMetricConfig(_SerdeShape): - """ - Defines the prompt datasets, built-in metric names and custom metric - names, and the task type. - """ - - task_type: str - """ - The the type of task you want to evaluate for your evaluation job. This - applies only to model evaluation jobs and is ignored for knowledge base - evaluation jobs. - """ - dataset: EvaluationDataset - """Specifies the prompt dataset.""" - metric_names: list[str] - """ - The names of the metrics you want to use for your evaluation job. - - For knowledge base evaluation jobs that evaluate retrieval only, valid - values are \"`Builtin.ContextRelevance`\", - \"`Builtin.ContextCoverage`\". - - For knowledge base evaluation jobs that evaluate retrieval with response - generation, valid values are \"`Builtin.Correctness`\", - \"`Builtin.Completeness`\", \"`Builtin.Helpfulness`\", - \"`Builtin.LogicalCoherence`\", \"`Builtin.Faithfulness`\", - \"`Builtin.Harmfulness`\", \"`Builtin.Stereotyping`\", - \"`Builtin.Refusal`\". - - For automated model evaluation jobs, valid values are - \"`Builtin.Accuracy`\", \"`Builtin.Robustness`\", and - \"`Builtin.Toxicity`\". In model evaluation jobs that use a LLM as judge - you can specify \"`Builtin.Correctness`\", \"`Builtin.Completeness"`, - \"`Builtin.Faithfulness"`, \"`Builtin.Helpfulness`\", - \"`Builtin.Coherence`\", \"`Builtin.Relevance`\", - \"`Builtin.FollowingInstructions`\", - \"`Builtin.ProfessionalStyleAndTone`\", You can also specify the - following responsible AI related metrics only for model evaluation job - that use a LLM as judge \"`Builtin.Harmfulness`\", - \"`Builtin.Stereotyping`\", and \"`Builtin.Refusal`\". - - For human-based model evaluation jobs, the list of strings must match - the `name` parameter specified in `HumanEvaluationCustomMetric`. - """ - -@dataclass -class EvaluationInferenceConfigModels(_SerdeShape): - """Specifies the inference models.""" - - value: list[EvaluationModelConfig] - -@dataclass -class EvaluationInferenceConfigRagConfigs(_SerdeShape): - """ - Contains the configuration details of the inference for a knowledge base - evaluation job, including either the retrieval only configuration or the - retrieval with response generation configuration. - """ - - value: list[RAGConfig] - -@dataclass -class EvaluationInferenceConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluationInferenceConfig = Union[ - EvaluationInferenceConfigModels - | EvaluationInferenceConfigRagConfigs - | EvaluationInferenceConfigUnknown -] -""" -The configuration details of the inference model for an evaluation job. - -For automated model evaluation jobs, only a single model is supported. - -For human-based model evaluation jobs, your annotator can compare the -responses for up to two different models. -""" - -class _EvaluationInferenceConfigDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> EvaluationInferenceConfig: ... - -@dataclass(kw_only=True) -class EvaluationInferenceConfigSummary(_SerdeShape): - """ - Identifies the models, Knowledge Bases, or other RAG sources evaluated - in a model or Knowledge Base evaluation job. - """ - - model_config_summary: EvaluationModelConfigSummary | None = ... - """ - A summary of the models used in an Amazon Bedrock model evaluation job. - These resources can be models in Amazon Bedrock or models outside of - Amazon Bedrock that you use to generate your own inference response - data. - """ - rag_config_summary: EvaluationRagConfigSummary | None = ... - """ - A summary of the RAG resources used in an Amazon Bedrock Knowledge Base - evaluation job. These resources can be Knowledge Bases in Amazon Bedrock - or RAG sources outside of Amazon Bedrock that you use to generate your - own inference response data. - """ - -class EvaluationJobStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "InProgress" - COMPLETED = "Completed" - FAILED = "Failed" - STOPPING = "Stopping" - STOPPED = "Stopped" - DELETING = "Deleting" - -class EvaluationJobType(UnknownEnumMixin, StrEnum): - HUMAN = "Human" - AUTOMATED = "Automated" - -@dataclass -class EvaluationModelConfigBedrockModel(_SerdeShape): - """ - Defines the Amazon Bedrock model or inference profile and inference - parameters you want used. - """ - - value: EvaluationBedrockModel - -@dataclass -class EvaluationModelConfigPrecomputedInferenceSource(_SerdeShape): - """ - Defines the model used to generate inference response data for a model - evaluation job where you provide your own inference response data. - """ - - value: EvaluationPrecomputedInferenceSource - -@dataclass -class EvaluationModelConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluationModelConfig = Union[ - EvaluationModelConfigBedrockModel - | EvaluationModelConfigPrecomputedInferenceSource - | EvaluationModelConfigUnknown -] -"""Defines the models used in the model evaluation job.""" - -class _EvaluationModelConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluationModelConfig: ... - -@dataclass(kw_only=True) -class EvaluationModelConfigSummary(_SerdeShape): - """ - A summary of the models used in an Amazon Bedrock model evaluation job. - These resources can be models in Amazon Bedrock or models outside of - Amazon Bedrock that you use to generate your own inference response - data. - """ - - bedrock_model_identifiers: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the models used for the evaluation - job. - """ - precomputed_inference_source_identifiers: list[str] | None = ... - """ - A label that identifies the models used for a model evaluation job where - you provide your own inference response data. - """ - -@dataclass(kw_only=True) -class EvaluationOutputDataConfig(_SerdeShape): - """ - The Amazon S3 location where the results of your evaluation job are - saved. - """ - - s3_uri: str - """The Amazon S3 URI where the results of the evaluation job are saved.""" - -@dataclass(kw_only=True) -class EvaluationPrecomputedInferenceSource(_SerdeShape): - """ - A summary of a model used for a model evaluation job where you provide - your own inference response data. - """ - - inference_source_identifier: str - """ - A label that identifies a model used in a model evaluation job where you - provide your own inference response data. - """ - -@dataclass -class EvaluationPrecomputedRagSourceConfigRetrieveSourceConfig(_SerdeShape): - """ - A summary of a RAG source used for a retrieve-only Knowledge Base - evaluation job where you provide your own inference response data. - """ - - value: EvaluationPrecomputedRetrieveSourceConfig - -@dataclass -class EvaluationPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfig(_SerdeShape): - """ - A summary of a RAG source used for a retrieve-and-generate Knowledge - Base evaluation job where you provide your own inference response data. - """ - - value: EvaluationPrecomputedRetrieveAndGenerateSourceConfig - -@dataclass -class EvaluationPrecomputedRagSourceConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluationPrecomputedRagSourceConfig = Union[ - EvaluationPrecomputedRagSourceConfigRetrieveSourceConfig - | EvaluationPrecomputedRagSourceConfigRetrieveAndGenerateSourceConfig - | EvaluationPrecomputedRagSourceConfigUnknown -] -""" -A summary of a RAG source used for a Knowledge Base evaluation job where -you provide your own inference response data. -""" - -class _EvaluationPrecomputedRagSourceConfigDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> EvaluationPrecomputedRagSourceConfig: ... - -@dataclass(kw_only=True) -class EvaluationPrecomputedRetrieveAndGenerateSourceConfig(_SerdeShape): - """ - A summary of a RAG source used for a retrieve-and-generate Knowledge - Base evaluation job where you provide your own inference response data. - """ - - rag_source_identifier: str - """ - A label that identifies the RAG source used for a retrieve-and-generate - Knowledge Base evaluation job where you provide your own inference - response data. - """ - -@dataclass(kw_only=True) -class EvaluationPrecomputedRetrieveSourceConfig(_SerdeShape): - """ - A summary of a RAG source used for a retrieve-only Knowledge Base - evaluation job where you provide your own inference response data. - """ - - rag_source_identifier: str - """ - A label that identifies the RAG source used for a retrieve-only - Knowledge Base evaluation job where you provide your own inference - response data. - """ - -@dataclass(kw_only=True) -class EvaluationRagConfigSummary(_SerdeShape): - """ - A summary of the RAG resources used in an Amazon Bedrock Knowledge Base - evaluation job. These resources can be Knowledge Bases in Amazon Bedrock - or RAG sources outside of Amazon Bedrock that you use to generate your - own inference response data. - """ - - bedrock_knowledge_base_identifiers: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the Knowledge Base resources used - for a Knowledge Base evaluation job where Amazon Bedrock invokes the - Knowledge Base for you. - """ - precomputed_rag_source_identifiers: list[str] | None = ... - """ - A label that identifies the RAG sources used for a Knowledge Base - evaluation job where you provide your own inference response data. - """ - -@dataclass(kw_only=True) -class EvaluationSummary(_SerdeShape): - """Summary information of an evaluation job.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the evaluation job.""" - job_name: str - """The name for the evaluation job.""" - status: str - """The current status of the evaluation job.""" - creation_time: datetime - """The time the evaluation job was created.""" - job_type: str - """Specifies whether the evaluation job is automated or human-based.""" - evaluation_task_types: list[str] - """The type of task for model evaluation.""" - model_identifiers: list[str] = ... - """ - The Amazon Resource Names (ARNs) of the model(s) used for the evaluation - job. - """ - rag_identifiers: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the knowledge base resources used - for a knowledge base evaluation job. - """ - evaluator_model_identifiers: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the models used to compute the - metrics for a knowledge base evaluation job. - """ - custom_metrics_evaluator_model_identifiers: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the models used to compute custom - metrics in an Amazon Bedrock evaluation job. - """ - inference_config_summary: EvaluationInferenceConfigSummary | None = ... - """ - Identifies the models, Knowledge Bases, or other RAG sources evaluated - in a model or Knowledge Base evaluation job. - """ - application_type: str | None = ... - """ - Specifies whether the evaluation job is for evaluating a model or - evaluating a knowledge base (retrieval and response generation). - """ - -class EvaluationTaskType(UnknownEnumMixin, StrEnum): - SUMMARIZATION = "Summarization" - CLASSIFICATION = "Classification" - QUESTION_AND_ANSWER = "QuestionAndAnswer" - GENERATION = "Generation" - CUSTOM = "Custom" - -@dataclass -class EvaluatorModelConfigBedrockEvaluatorModels(_SerdeShape): - """ - The evaluator model used in knowledge base evaluation job or in model - evaluation job that use a model as judge. This model computes all - evaluation related metrics. - """ - - value: list[BedrockEvaluatorModel] - -@dataclass -class EvaluatorModelConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -EvaluatorModelConfig = Union[ - EvaluatorModelConfigBedrockEvaluatorModels | EvaluatorModelConfigUnknown -] -""" -Specifies the model configuration for the evaluator model. -`EvaluatorModelConfig` is required for evaluation jobs that use a -knowledge base or in model evaluation job that use a model as judge. -This model computes all evaluation related metrics. -""" - -class _EvaluatorModelConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> EvaluatorModelConfig: ... - -@dataclass(kw_only=True) -class ExportAutomatedReasoningPolicyVersionInput(_SerdeShape): - """Dataclass for ExportAutomatedReasoningPolicyVersionInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy to - export. Can be either the unversioned ARN for the draft policy or a - versioned ARN for a specific policy version. - """ - -@dataclass(kw_only=True) -class ExportAutomatedReasoningPolicyVersionOutput(_SerdeShape): - """Dataclass for ExportAutomatedReasoningPolicyVersionOutput structure.""" - - policy_definition: AutomatedReasoningPolicyDefinition - """ - The exported policy definition containing the formal logic rules, - variables, and custom variable types. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExternalSource(_SerdeShape): - """ - The unique external source of the content contained in the wrapper - object. - """ - - source_type: str - """The source type of the external source wrapper object.""" - s3_location: S3ObjectDoc | None = ... - """The S3 location of the external source wrapper object.""" - byte_content: ByteContentDoc | None = ... - """ - The identifier, content type, and data of the external source wrapper - object. - """ - -@dataclass(kw_only=True) -class ExternalSourcesGenerationConfiguration(_SerdeShape): - """ - The response generation configuration of the external source wrapper - object. - """ - - prompt_template: PromptTemplate | None = ... - """ - Contains the template for the prompt for the external source wrapper - object. - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """Configuration details for the guardrail.""" - kb_inference_config: KbInferenceConfig | None = ... - """ - Configuration details for inference when using `RetrieveAndGenerate` to - generate responses while using an external source. - """ - additional_model_request_fields: dict[str, Document] | None = ... - """ - Additional model parameters and their corresponding values not included - in the text inference configuration for an external source. Takes in - custom model parameters specific to the language model being used. - """ - -@dataclass(kw_only=True) -class ExternalSourcesRetrieveAndGenerateConfiguration(_SerdeShape): - """ - The configuration of the external source wrapper object in the - `retrieveAndGenerate` function. - """ - - model_arn: str - """ - The Amazon Resource Name (ARN) of the foundation model or [inference - profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) - used to generate responses. - """ - sources: list[ExternalSource] - """ - The document for the external source wrapper object in the - `retrieveAndGenerate` function. - """ - generation_configuration: ExternalSourcesGenerationConfiguration | None = ... - """ - Contains configurations details for response generation based on - retrieved text chunks. - """ - -class ExternalSourceType(UnknownEnumMixin, StrEnum): - S3 = "S3" - BYTE_CONTENT = "BYTE_CONTENT" - -@dataclass(kw_only=True) -class FieldForReranking(_SerdeShape): - """ - Specifies a field to be used during the reranking process in a Knowledge - Base vector search. This structure identifies metadata fields that - should be considered when reordering search results to improve - relevance. - """ - - field_name: str - """The name of the metadata field to be used during the reranking process.""" - -@dataclass(kw_only=True) -class FilterAttribute(_SerdeShape): - """ - Specifies the name of the metadata attribute/field to apply filters. You - must match the name of the attribute/field in your data source/document - metadata. - """ - - key: str - """ - The name of metadata attribute/field, which must match the name in your - data source/document metadata. - """ - value: Document - """The value of the metadata attribute/field.""" - -class FineTuningJobStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "InProgress" - COMPLETED = "Completed" - FAILED = "Failed" - STOPPING = "Stopping" - STOPPED = "Stopped" - -@dataclass(kw_only=True) -class FoundationModelDetails(_SerdeShape): - """Information about a foundation model.""" - - model_arn: str - """The model Amazon Resource Name (ARN).""" - model_id: str - """The model identifier.""" - model_name: str | None = ... - """The model name.""" - provider_name: str | None = ... - """The model's provider name.""" - input_modalities: list[str] | None = ... - """The input modalities that the model supports.""" - output_modalities: list[str] | None = ... - """The output modalities that the model supports.""" - response_streaming_supported: bool | None = ... - """Indicates whether the model supports streaming.""" - customizations_supported: list[str] | None = ... - """The customization that the model supports.""" - inference_types_supported: list[str] | None = ... - """The inference types that the model supports.""" - model_lifecycle: FoundationModelLifecycle | None = ... - """ - Contains details about whether a model version is available or - deprecated - """ - -@dataclass(kw_only=True) -class FoundationModelLifecycle(_SerdeShape): - """Details about whether a model version is available or deprecated.""" - - status: str - """ - Specifies whether a model version is available (`ACTIVE`) or deprecated - (`LEGACY`. - """ - start_of_life_time: datetime | None = ... - """Launch time when the model first becomes available""" - end_of_life_time: datetime | None = ... - """Time when the model is no longer available for use""" - legacy_time: datetime | None = ... - """ - Time when the model enters legacy state. Models in legacy state can - still be used, but users should plan to transition to an Active model - before the end of life time - """ - public_extended_access_time: datetime | None = ... - """ - Public extended access portion of the legacy period, when users should - expect higher pricing - """ - -class FoundationModelLifecycleStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - LEGACY = "LEGACY" - -@dataclass(kw_only=True) -class FoundationModelSummary(_SerdeShape): - """Summary information for a foundation model.""" - - model_arn: str - """The Amazon Resource Name (ARN) of the foundation model.""" - model_id: str - """The model ID of the foundation model.""" - model_name: str | None = ... - """The name of the model.""" - provider_name: str | None = ... - """The model's provider name.""" - input_modalities: list[str] | None = ... - """The input modalities that the model supports.""" - output_modalities: list[str] | None = ... - """The output modalities that the model supports.""" - response_streaming_supported: bool | None = ... - """Indicates whether the model supports streaming.""" - customizations_supported: list[str] | None = ... - """Whether the model supports fine-tuning or continual pre-training.""" - inference_types_supported: list[str] | None = ... - """The inference types that the model supports.""" - model_lifecycle: FoundationModelLifecycle | None = ... - """ - Contains details about whether a model version is available or - deprecated. - """ - -@dataclass(kw_only=True) -class GenerationConfiguration(_SerdeShape): - """ - The configuration details for response generation based on retrieved - text chunks. - """ - - prompt_template: PromptTemplate | None = ... - """ - Contains the template for the prompt that's sent to the model for - response generation. - """ - guardrail_configuration: GuardrailConfiguration | None = ... - """Contains configuration details for the guardrail.""" - kb_inference_config: KbInferenceConfig | None = ... - """ - Contains configuration details for inference for knowledge base - retrieval and response generation. - """ - additional_model_request_fields: dict[str, Document] | None = ... - """ - Additional model parameters and corresponding values not included in the - `textInferenceConfig` structure for a knowledge base. This allows you to - provide custom model parameters specific to the language model being - used. - """ - -@dataclass(kw_only=True) -class GetAccountDataRetentionInput(_SerdeShape): - """Dataclass for GetAccountDataRetentionInput structure.""" - -@dataclass(kw_only=True) -class GetAccountDataRetentionOutput(_SerdeShape): - """Dataclass for GetAccountDataRetentionOutput structure.""" - - mode: str - """The data retention mode configured for the account.""" - updated_at: datetime | None = ... - """The time at which the data retention mode was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAdvancedPromptOptimizationJobInput(_SerdeShape): - """Get Advanced Prompt Optimization Job Request""" - - job_identifier: str | None = ... - """The ARN or ID of the advanced prompt optimization job.""" - -@dataclass(kw_only=True) -class GetAdvancedPromptOptimizationJobOutput(_SerdeShape): - """Get Advanced Prompt Optimization Job Response""" - - job_arn: str - """The Amazon Resource Name (ARN) of the advanced prompt optimization job.""" - job_name: str - """The name of the advanced prompt optimization job.""" - job_description: str | None = ... - """The description of the advanced prompt optimization job.""" - job_status: str - """The status of the advanced prompt optimization job.""" - input_config: AdvancedPromptOptimizationInputConfig - """The input data configuration for the optimization job.""" - output_config: AdvancedPromptOptimizationOutputConfig - """The output data configuration for the optimization job.""" - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the output - data. - """ - creation_time: datetime - """The time at which the advanced prompt optimization job was created.""" - last_modified_time: datetime | None = ... - """ - The time at which the advanced prompt optimization job was last - modified. - """ - failure_message: str | None = ... - """If the job failed, a message describing the reason for the failure.""" - model_configurations: list[ModelConfiguration] - """The model configurations used in the optimization job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyAnnotationsInput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyAnnotationsInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy whose - annotations you want to retrieve. - """ - build_workflow_id: str | None = ... - """ - The unique identifier of the build workflow whose annotations you want - to retrieve. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyAnnotationsOutput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyAnnotationsOutput structure.""" - - policy_arn: str - """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" - name: str - """The name of the Automated Reasoning policy.""" - build_workflow_id: str - """The unique identifier of the build workflow.""" - annotations: list[AutomatedReasoningPolicyAnnotation] - """ - The current set of annotations containing rules, variables, and types - extracted from the source documents. These can be modified before - finalizing the policy. - """ - annotation_set_hash: str - """ - A hash value representing the current state of the annotations. This is - used for optimistic concurrency control when updating annotations. - """ - updated_at: datetime - """The timestamp when the annotations were last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyBuildWorkflowInput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyBuildWorkflowInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy whose - build workflow you want to retrieve. - """ - build_workflow_id: str | None = ... - """The unique identifier of the build workflow to retrieve.""" - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyBuildWorkflowOutput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyBuildWorkflowOutput structure.""" - - policy_arn: str - """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" - build_workflow_id: str - """The unique identifier of the build workflow.""" - status: str - """ - The current status of the build workflow (e.g., RUNNING, COMPLETED, - FAILED, CANCELLED). - """ - build_workflow_type: str - """ - The type of build workflow being executed (e.g., DOCUMENT_INGESTION, - POLICY_REPAIR). - """ - document_name: str | None = ... - """The name of the source document used in the build workflow.""" - document_content_type: str | None = ... - """ - The content type of the source document (e.g., text/plain, - application/pdf). - """ - document_description: str | None = ... - """ - A detailed description of the document's content and how it should be - used in the policy generation process. - """ - created_at: datetime - """The timestamp when the build workflow was created.""" - updated_at: datetime - """The timestamp when the build workflow was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput(_SerdeShape): - """ - Dataclass for GetAutomatedReasoningPolicyBuildWorkflowResultAssetsInput - structure. - """ - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy whose - build workflow assets you want to retrieve. - """ - build_workflow_id: str | None = ... - """ - The unique identifier of the build workflow whose result assets you want - to retrieve. - """ - asset_type: str | None = ... - """ - The type of asset to retrieve (e.g., BUILD_LOG, QUALITY_REPORT, - POLICY_DEFINITION, GENERATED_TEST_CASES, POLICY_SCENARIOS, - FIDELITY_REPORT, ASSET_MANIFEST, SOURCE_DOCUMENT). - """ - asset_id: str | None = ... - """ - The unique identifier of the specific asset to retrieve when multiple - assets of the same type exist. This is required when retrieving - SOURCE_DOCUMENT assets, as multiple source documents may have been used - in the workflow. The asset ID can be obtained from the asset manifest. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput(_SerdeShape): - """ - Dataclass for GetAutomatedReasoningPolicyBuildWorkflowResultAssetsOutput - structure. - """ - - policy_arn: str - """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" - build_workflow_id: str - """The unique identifier of the build workflow.""" - build_workflow_assets: AutomatedReasoningPolicyBuildResultAssets | None = ... - """ - The requested build workflow asset. This is a union type that returns - only one of the available asset types (logs, reports, or generated - artifacts) based on the specific asset type requested in the API call. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyInput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy to - retrieve. Can be either the unversioned ARN for the draft policy or an - ARN for a specific policy version. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyNextScenarioInput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyNextScenarioInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy for - which you want to get the next test scenario. - """ - build_workflow_id: str | None = ... - """ - The unique identifier of the build workflow associated with the test - scenarios. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyNextScenarioOutput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyNextScenarioOutput structure.""" - - policy_arn: str - """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" - scenario: AutomatedReasoningPolicyScenario | None = ... - """ - The next test scenario to validate, including the test expression and - expected results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyOutput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyOutput structure.""" - - policy_arn: str - """The Amazon Resource Name (ARN) of the policy.""" - name: str - """The name of the policy.""" - version: str - """The version of the policy.""" - policy_id: str - """The unique identifier of the policy.""" - description: str | None = ... - """The description of the policy.""" - definition_hash: str - """The hash of the policy definition used as a concurrency token.""" - kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the - automated reasoning policy and its associated artifacts. If a KMS key is - not provided during the initial CreateAutomatedReasoningPolicyRequest, - the kmsKeyArn won't be included in the - GetAutomatedReasoningPolicyResponse. - """ - created_at: datetime | None = ... - """The timestamp when the policy was created.""" - updated_at: datetime - """The timestamp when the policy was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyTestCaseInput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyTestCaseInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy that - contains the test. - """ - test_case_id: str | None = ... - """The unique identifier of the test to retrieve.""" - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyTestCaseOutput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyTestCaseOutput structure.""" - - policy_arn: str - """The Amazon Resource Name (ARN) of the policy that contains the test.""" - test_case: AutomatedReasoningPolicyTestCase - """ - The test details including the content, query, expected result, and - metadata. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyTestResultInput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyTestResultInput structure.""" - - policy_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" - build_workflow_id: str | None = ... - """ - The build workflow identifier. The build workflow must display a - `COMPLETED` status to get results. - """ - test_case_id: str | None = ... - """The unique identifier of the test for which to retrieve results.""" - -@dataclass(kw_only=True) -class GetAutomatedReasoningPolicyTestResultOutput(_SerdeShape): - """Dataclass for GetAutomatedReasoningPolicyTestResultOutput structure.""" - - test_result: AutomatedReasoningPolicyTestResult - """ - The test result containing validation findings, execution status, and - detailed analysis. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCustomModelDeploymentInput(_SerdeShape): - """Dataclass for GetCustomModelDeploymentInput structure.""" - - custom_model_deployment_identifier: str | None = ... - """ - The Amazon Resource Name (ARN) or name of the custom model deployment to - retrieve information about. - """ - -@dataclass(kw_only=True) -class GetCustomModelDeploymentOutput(_SerdeShape): - """Dataclass for GetCustomModelDeploymentOutput structure.""" - - custom_model_deployment_arn: str - """The Amazon Resource Name (ARN) of the custom model deployment.""" - model_deployment_name: str - """The name of the custom model deployment.""" - model_arn: str - """ - The Amazon Resource Name (ARN) of the custom model associated with this - deployment. - """ - created_at: datetime - """The date and time when the custom model deployment was created.""" - status: str - """ - The status of the custom model deployment. Possible values are: - - - `CREATING` - The deployment is being set up and prepared for - inference. - - - `ACTIVE` - The deployment is ready and available for inference - requests. - - - `FAILED` - The deployment failed to be created or became unavailable. - """ - description: str | None = ... - """The description of the custom model deployment.""" - update_details: CustomModelDeploymentUpdateDetails | None = ... - """ - Details about any pending or completed updates to the custom model - deployment, including the new model ARN and update status. - """ - failure_message: str | None = ... - """ - If the deployment status is `FAILED`, this field contains a message - describing the failure reason. - """ - last_updated_at: datetime | None = ... - """The date and time when the custom model deployment was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCustomModelInput(_SerdeShape): - """Dataclass for GetCustomModelInput structure.""" - - model_identifier: str | None = ... - """Name or Amazon Resource Name (ARN) of the custom model.""" - -@dataclass(kw_only=True) -class GetCustomModelOutput(_SerdeShape): - """Dataclass for GetCustomModelOutput structure.""" - - model_arn: str - """Amazon Resource Name (ARN) associated with this model.""" - model_name: str - """Model name associated with this model.""" - job_name: str | None = ... - """Job name associated with this model.""" - job_arn: str | None = ... - """ - Job Amazon Resource Name (ARN) associated with this model. For models - that you create with the - [CreateCustomModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateCustomModel.html) - API operation, this is `NULL`. - """ - base_model_arn: str | None = ... - """Amazon Resource Name (ARN) of the base model.""" - customization_type: str | None = ... - """The type of model customization.""" - model_kms_key_arn: str | None = ... - """The custom model is encrypted at rest using this key.""" - hyper_parameters: dict[str, str] | None = ... - """ - Hyperparameter values associated with this model. For details on the - format for different models, see [Custom model - hyperparameters](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html). - """ - training_data_config: TrainingDataConfig | None = ... - """Contains information about the training dataset.""" - validation_data_config: ValidationDataConfig | None = ... - """Contains information about the validation dataset.""" - output_data_config: OutputDataConfig | None = ... - """Output data configuration associated with this custom model.""" - training_metrics: TrainingMetrics | None = ... - """Contains training metrics from the job creation.""" - validation_metrics: list[ValidatorMetric] | None = ... - """The validation metrics from the job creation.""" - creation_time: datetime - """Creation time of the model.""" - customization_config: CustomizationConfig | None = ... - """The customization configuration for the custom model.""" - model_status: str | None = ... - """ - The current status of the custom model. Possible values include: - - - `Creating` - The model is being created and validated. - - - `Active` - The model has been successfully created and is ready for - use. - - - `Failed` - The model creation process failed. Check the - `failureMessage` field for details. - """ - failure_message: str | None = ... - """ - A failure message for any issues that occurred when creating the custom - model. This is included for only a failed CreateCustomModel operation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEvaluationJobInput(_SerdeShape): - """Dataclass for GetEvaluationJobInput structure.""" - - job_identifier: str | None = ... - """ - The Amazon Resource Name (ARN) of the evaluation job you want get - information on. - """ - -@dataclass(kw_only=True) -class GetEvaluationJobOutput(_SerdeShape): - """Dataclass for GetEvaluationJobOutput structure.""" - - job_name: str - """The name for the evaluation job.""" - status: str - """The current status of the evaluation job.""" - job_arn: str - """The Amazon Resource Name (ARN) of the evaluation job.""" - job_description: str | None = ... - """The description of the evaluation job.""" - role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM service role used in the - evaluation job. - """ - customer_encryption_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the customer managed encryption key - specified when the evaluation job was created. - """ - job_type: str - """Specifies whether the evaluation job is automated or human-based.""" - application_type: str | None = ... - """ - Specifies whether the evaluation job is for evaluating a model or - evaluating a knowledge base (retrieval and response generation). - """ - evaluation_config: EvaluationConfig - """ - Contains the configuration details of either an automated or human-based - evaluation job. - """ - inference_config: EvaluationInferenceConfig - """ - Contains the configuration details of the inference model used for the - evaluation job. - """ - output_data_config: EvaluationOutputDataConfig - """ - Contains the configuration details of the Amazon S3 bucket for storing - the results of the evaluation job. - """ - creation_time: datetime - """The time the evaluation job was created.""" - last_modified_time: datetime | None = ... - """The time the evaluation job was last modified.""" - failure_messages: list[str] | None = ... - """A list of strings that specify why the evaluation job failed to create.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFoundationModelAvailabilityInput(_SerdeShape): - """Dataclass for GetFoundationModelAvailabilityInput structure.""" - - model_id: str | None = ... - """The model Id of the foundation model.""" - -@dataclass(kw_only=True) -class GetFoundationModelAvailabilityOutput(_SerdeShape): - """Dataclass for GetFoundationModelAvailabilityOutput structure.""" - - model_id: str - """The model Id of the foundation model.""" - agreement_availability: AgreementAvailability - """Agreement availability.""" - authorization_status: str - """Authorization status.""" - entitlement_availability: str - """Entitlement availability.""" - region_availability: str - """Region availability.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFoundationModelInput(_SerdeShape): - """Dataclass for GetFoundationModelInput structure.""" - - model_identifier: str | None = ... - """The model identifier.""" - -@dataclass(kw_only=True) -class GetFoundationModelOutput(_SerdeShape): - """Dataclass for GetFoundationModelOutput structure.""" - - model_details: FoundationModelDetails | None = ... - """Information about the foundation model.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGuardrailInput(_SerdeShape): - """Dataclass for GetGuardrailInput structure.""" - - guardrail_identifier: str | None = ... - """ - The unique identifier of the guardrail for which to get details. This - can be an ID or the ARN. - """ - guardrail_version: str | None = ... - """ - The version of the guardrail for which to get details. If you don't - specify a version, the response returns details for the `DRAFT` version. - """ - -@dataclass(kw_only=True) -class GetGuardrailOutput(_SerdeShape): - """Dataclass for GetGuardrailOutput structure.""" - - name: str - """The name of the guardrail.""" - description: str | None = ... - """The description of the guardrail.""" - guardrail_id: str - """The unique identifier of the guardrail.""" - guardrail_arn: str - """The ARN of the guardrail.""" - version: str - """The version of the guardrail.""" - status: str - """The status of the guardrail.""" - topic_policy: GuardrailTopicPolicy | None = ... - """The topic policy that was configured for the guardrail.""" - content_policy: GuardrailContentPolicy | None = ... - """The content policy that was configured for the guardrail.""" - word_policy: GuardrailWordPolicy | None = ... - """The word policy that was configured for the guardrail.""" - sensitive_information_policy: GuardrailSensitiveInformationPolicy | None = ... - """The sensitive information policy that was configured for the guardrail.""" - contextual_grounding_policy: GuardrailContextualGroundingPolicy | None = ... - """The contextual grounding policy used in the guardrail.""" - automated_reasoning_policy: GuardrailAutomatedReasoningPolicy | None = ... - """ - The current Automated Reasoning policy configuration for the guardrail, - if any is configured. - """ - cross_region_details: GuardrailCrossRegionDetails | None = ... - """ - Details about the system-defined guardrail profile that you're using - with your guardrail, including the guardrail profile ID and Amazon - Resource Name (ARN). - """ - created_at: datetime - """The date and time at which the guardrail was created.""" - updated_at: datetime - """The date and time at which the guardrail was updated.""" - status_reasons: list[str] | None = ... - """ - Appears if the `status` is `FAILED`. A list of reasons for why the - guardrail failed to be created, updated, versioned, or deleted. - """ - failure_recommendations: list[str] | None = ... - """ - Appears if the `status` of the guardrail is `FAILED`. A list of - recommendations to carry out before retrying the request. - """ - blocked_input_messaging: str - """The message that the guardrail returns when it blocks a prompt.""" - blocked_outputs_messaging: str - """The message that the guardrail returns when it blocks a model response.""" - kms_key_arn: str | None = ... - """The ARN of the KMS key that encrypts the guardrail.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetImportedModelInput(_SerdeShape): - """Dataclass for GetImportedModelInput structure.""" - - model_identifier: str | None = ... - """Name or Amazon Resource Name (ARN) of the imported model.""" - -@dataclass(kw_only=True) -class GetImportedModelOutput(_SerdeShape): - """Dataclass for GetImportedModelOutput structure.""" - - model_arn: str | None = ... - """The Amazon Resource Name (ARN) associated with this imported model.""" - model_name: str | None = ... - """The name of the imported model.""" - job_name: str | None = ... - """Job name associated with the imported model.""" - job_arn: str | None = ... - """Job Amazon Resource Name (ARN) associated with the imported model.""" - model_data_source: ModelDataSource | None = ... - """The data source for this imported model.""" - creation_time: datetime | None = ... - """Creation time of the imported model.""" - model_architecture: str | None = ... - """The architecture of the imported model.""" - model_kms_key_arn: str | None = ... - """The imported model is encrypted at rest using this key.""" - instruct_supported: bool | None = ... - """Specifies if the imported model supports converse.""" - custom_model_units: CustomModelUnits | None = ... - """ - Information about the hardware utilization for a single copy of the - model. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInferenceProfileInput(_SerdeShape): - """Dataclass for GetInferenceProfileInput structure.""" - - inference_profile_identifier: str | None = ... - """The ID or Amazon Resource Name (ARN) of the inference profile.""" - -@dataclass(kw_only=True) -class GetInferenceProfileOutput(_SerdeShape): - """Dataclass for GetInferenceProfileOutput structure.""" - - inference_profile_name: str - """The name of the inference profile.""" - description: str | None = ... - """The description of the inference profile.""" - created_at: datetime | None = ... - """The time at which the inference profile was created.""" - updated_at: datetime | None = ... - """The time at which the inference profile was last updated.""" - inference_profile_arn: str - """The Amazon Resource Name (ARN) of the inference profile.""" - models: list[InferenceProfileModel] - """A list of information about each model in the inference profile.""" - inference_profile_id: str - """The unique identifier of the inference profile.""" - status: str - """ - The status of the inference profile. `ACTIVE` means that the inference - profile is ready to be used. - """ - type: str - """ - The type of the inference profile. The following types are possible: - - - `SYSTEM_DEFINED` -- The inference profile is defined by Amazon - Bedrock. You can route inference requests across regions with these - inference profiles. - - - `APPLICATION` -- The inference profile was created by a user. This - type of inference profile can track metrics and costs when invoking - the model in it. The inference profile may route requests to one or - multiple regions. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMarketplaceModelEndpointInput(_SerdeShape): - """Dataclass for GetMarketplaceModelEndpointInput structure.""" - - endpoint_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the endpoint you want to get - information about. - """ - -@dataclass(kw_only=True) -class GetMarketplaceModelEndpointOutput(_SerdeShape): - """Dataclass for GetMarketplaceModelEndpointOutput structure.""" - - marketplace_model_endpoint: MarketplaceModelEndpoint | None = ... - """Details about the requested endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetModelCopyJobInput(_SerdeShape): - """Dataclass for GetModelCopyJobInput structure.""" - - job_arn: str | None = ... - """The Amazon Resource Name (ARN) of the model copy job.""" - -@dataclass(kw_only=True) -class GetModelCopyJobOutput(_SerdeShape): - """Dataclass for GetModelCopyJobOutput structure.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the model copy job.""" - status: str - """The status of the model copy job.""" - creation_time: datetime - """The time at which the model copy job was created.""" - target_model_arn: str - """The Amazon Resource Name (ARN) of the copied model.""" - target_model_name: str | None = ... - """The name of the copied model.""" - source_account_id: str - """ - The unique identifier of the account that the model being copied - originated from. - """ - source_model_arn: str - """The Amazon Resource Name (ARN) of the original model being copied.""" - target_model_kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key encrypting the copied - model. - """ - target_model_tags: list[Tag] | None = ... - """The tags associated with the copied model.""" - failure_message: str | None = ... - """An error message for why the model copy job failed.""" - source_model_name: str | None = ... - """The name of the original model being copied.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetModelCustomizationJobInput(_SerdeShape): - """Dataclass for GetModelCustomizationJobInput structure.""" - - job_identifier: str | None = ... - """Identifier for the customization job.""" - -@dataclass(kw_only=True) -class GetModelCustomizationJobOutput(_SerdeShape): - """Dataclass for GetModelCustomizationJobOutput structure.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the customization job.""" - job_name: str - """The name of the customization job.""" - output_model_name: str - """The name of the output model.""" - output_model_arn: str | None = ... - """The Amazon Resource Name (ARN) of the output model.""" - client_request_token: str | None = ... - """The token that you specified in the `CreateCustomizationJob` request.""" - role_arn: str - """The Amazon Resource Name (ARN) of the IAM role.""" - status: str | None = ... - """ - The status of the job. A successful job transitions from in-progress to - completed when the output model is ready to use. If the job failed, the - failure message contains information about why the job failed. - """ - status_details: StatusDetails | None = ... - """ - For a Distillation job, the details about the statuses of the sub-tasks - of the customization job. - """ - failure_message: str | None = ... - """Information about why the job failed.""" - creation_time: datetime - """Time that the resource was created.""" - last_modified_time: datetime | None = ... - """Time that the resource was last modified.""" - end_time: datetime | None = ... - """Time that the resource transitioned to terminal state.""" - base_model_arn: str - """Amazon Resource Name (ARN) of the base model.""" - hyper_parameters: dict[str, str] | None = ... - """ - The hyperparameter values for the job. For details on the format for - different models, see [Custom model - hyperparameters](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html). - """ - training_data_config: TrainingDataConfig - """Contains information about the training dataset.""" - validation_data_config: ValidationDataConfig - """Contains information about the validation dataset.""" - output_data_config: OutputDataConfig - """Output data configuration""" - customization_type: str | None = ... - """The type of model customization.""" - output_model_kms_key_arn: str | None = ... - """The custom model is encrypted at rest using this key.""" - training_metrics: TrainingMetrics | None = ... - """Contains training metrics from the job creation.""" - validation_metrics: list[ValidatorMetric] | None = ... - """ - The loss metric for each validator that you provided in the createjob - request. - """ - vpc_config: VpcConfig | None = ... - """VPC configuration for the custom model job.""" - customization_config: CustomizationConfig | None = ... - """The customization configuration for the model customization job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetModelImportJobInput(_SerdeShape): - """Dataclass for GetModelImportJobInput structure.""" - - job_identifier: str | None = ... - """The identifier of the import job.""" - -@dataclass(kw_only=True) -class GetModelImportJobOutput(_SerdeShape): - """Dataclass for GetModelImportJobOutput structure.""" - - job_arn: str | None = ... - """The Amazon Resource Name (ARN) of the import job.""" - job_name: str | None = ... - """The name of the import job.""" - imported_model_name: str | None = ... - """The name of the imported model.""" - imported_model_arn: str | None = ... - """The Amazon Resource Name (ARN) of the imported model.""" - role_arn: str | None = ... - """The Amazon Resource Name (ARN) of the IAM role associated with this job.""" - model_data_source: ModelDataSource | None = ... - """The data source for the imported model.""" - status: str | None = ... - """ - The status of the job. A successful job transitions from in-progress to - completed when the imported model is ready to use. If the job failed, - the failure message contains information about why the job failed. - """ - failure_message: str | None = ... - """Information about why the import job failed.""" - creation_time: datetime | None = ... - """The time the resource was created.""" - last_modified_time: datetime | None = ... - """Time the resource was last modified.""" - end_time: datetime | None = ... - """Time that the resource transitioned to terminal state.""" - vpc_config: VpcConfig | None = ... - """The Virtual Private Cloud (VPC) configuration of the import model job.""" - imported_model_kms_key_arn: str | None = ... - """The imported model is encrypted at rest using this key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetModelInvocationJobInput(_SerdeShape): - """Dataclass for GetModelInvocationJobInput structure.""" - - job_identifier: str | None = ... - """The Amazon Resource Name (ARN) of the batch inference job.""" - -@dataclass(kw_only=True) -class GetModelInvocationJobOutput(_SerdeShape): - """Dataclass for GetModelInvocationJobOutput structure.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the batch inference job.""" - job_name: str | None = ... - """The name of the batch inference job.""" - model_id: str - """The unique identifier of the foundation model used for model inference.""" - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - role_arn: str - """ - The Amazon Resource Name (ARN) of the service role with permissions to - carry out and manage batch inference. You can use the console to create - a default service role or follow the steps at [Create a service role for - batch - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html). - """ - status: str | None = ... - """ - The status of the batch inference job. - - The following statuses are possible: - - - Submitted -- This job has been submitted to a queue for validation. - - - Validating -- This job is being validated for the requirements - described in [Format and upload your batch inference - data](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html). - The criteria include the following: - - - Your IAM service role has access to the Amazon S3 buckets containing - your files. - - - Your files are .jsonl files and each individual record is a JSON - object in the correct format. Note that validation doesn't check if - the `modelInput` value matches the request body for the model. - - - Your files fulfill the requirements for file size and number of - records. For more information, see [Quotas for Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html). - - - Scheduled -- This job has been validated and is now in a queue. The - job will automatically start when it reaches its turn. - - - Expired -- This job timed out because it was scheduled but didn't - begin before the set timeout duration. Submit a new job request. - - - InProgress -- This job has begun. You can start viewing the results in - the output S3 location. - - - Completed -- This job has successfully completed. View the output - files in the output S3 location. - - - PartiallyCompleted -- This job has partially completed. Not all of - your records could be processed in time. View the output files in the - output S3 location. - - - Failed -- This job has failed. Check the failure message for any - further details. For further assistance, reach out to the [Amazon Web - Services Support - Center](https://console.aws.amazon.com/support/home/). - - - Stopped -- This job was stopped by a user. - - - Stopping -- This job is being stopped by a user. - """ - message: str | None = ... - """ - If the batch inference job failed, this field contains a message - describing why the job failed. - """ - submit_time: datetime - """The time at which the batch inference job was submitted.""" - last_modified_time: datetime | None = ... - """The time at which the batch inference job was last modified.""" - end_time: datetime | None = ... - """The time at which the batch inference job ended.""" - input_data_config: ModelInvocationJobInputDataConfig - """Details about the location of the input to the batch inference job.""" - output_data_config: ModelInvocationJobOutputDataConfig - """Details about the location of the output of the batch inference job.""" - vpc_config: VpcConfig | None = ... - """ - The configuration of the Virtual Private Cloud (VPC) for the data in the - batch inference job. For more information, see [Protect batch inference - jobs using a - VPC](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc). - """ - timeout_duration_in_hours: int | None = ... - """The number of hours after which batch inference job was set to time out.""" - job_expiration_time: datetime | None = ... - """The time at which the batch inference job times or timed out.""" - model_invocation_type: str | None = ... - """The invocation endpoint for ModelInvocationJob""" - total_record_count: int | None = ... - """The total number of records in the batch inference job.""" - processed_record_count: int | None = ... - """ - The number of records that have been processed in the batch inference - job. - """ - success_record_count: int | None = ... - """ - The number of records that were successfully processed in the batch - inference job. - """ - error_record_count: int | None = ... - """The number of records that failed to process in the batch inference job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetModelInvocationLoggingConfigurationInput(_SerdeShape): - """Dataclass for GetModelInvocationLoggingConfigurationInput structure.""" - -@dataclass(kw_only=True) -class GetModelInvocationLoggingConfigurationOutput(_SerdeShape): - """Dataclass for GetModelInvocationLoggingConfigurationOutput structure.""" - - logging_config: LoggingConfig | None = ... - """The current configuration values.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPromptRouterInput(_SerdeShape): - """Dataclass for GetPromptRouterInput structure.""" - - prompt_router_arn: str | None = ... - """The prompt router's ARN""" - -@dataclass(kw_only=True) -class GetPromptRouterOutput(_SerdeShape): - """Dataclass for GetPromptRouterOutput structure.""" - - prompt_router_name: str - """The router's name.""" - routing_criteria: RoutingCriteria - """The router's routing criteria.""" - description: str | None = ... - """The router's description.""" - created_at: datetime | None = ... - """When the router was created.""" - updated_at: datetime | None = ... - """When the router was updated.""" - prompt_router_arn: str - """The prompt router's ARN""" - models: list[PromptRouterTargetModel] - """The router's models.""" - fallback_model: PromptRouterTargetModel - """The router's fallback model.""" - status: str - """The router's status.""" - type: str - """The router's type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetProvisionedModelThroughputInput(_SerdeShape): - """Dataclass for GetProvisionedModelThroughputInput structure.""" - - provisioned_model_id: str | None = ... - """The Amazon Resource Name (ARN) or name of the Provisioned Throughput.""" - -@dataclass(kw_only=True) -class GetProvisionedModelThroughputOutput(_SerdeShape): - """Dataclass for GetProvisionedModelThroughputOutput structure.""" - - model_units: int - """The number of model units allocated to this Provisioned Throughput.""" - desired_model_units: int - """ - The number of model units that was requested for this Provisioned - Throughput. - """ - provisioned_model_name: str - """The name of the Provisioned Throughput.""" - provisioned_model_arn: str - """The Amazon Resource Name (ARN) of the Provisioned Throughput.""" - model_arn: str - """ - The Amazon Resource Name (ARN) of the model associated with this - Provisioned Throughput. - """ - desired_model_arn: str - """ - The Amazon Resource Name (ARN) of the model requested to be associated - to this Provisioned Throughput. This value differs from the `modelArn` - if updating hasn't completed. - """ - foundation_model_arn: str - """ - The Amazon Resource Name (ARN) of the base model for which the - Provisioned Throughput was created, or of the base model that the custom - model for which the Provisioned Throughput was created was customized. - """ - status: str - """The status of the Provisioned Throughput.""" - creation_time: datetime - """The timestamp of the creation time for this Provisioned Throughput.""" - last_modified_time: datetime - """ - The timestamp of the last time that this Provisioned Throughput was - modified. - """ - failure_message: str | None = ... - """ - A failure message for any issues that occurred during creation, - updating, or deletion of the Provisioned Throughput. - """ - commitment_duration: str | None = ... - """Commitment duration of the Provisioned Throughput.""" - commitment_expiration_time: datetime | None = ... - """ - The timestamp for when the commitment term for the Provisioned - Throughput expires. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyInput(_SerdeShape): - """Dataclass for GetResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """The ARN of the Bedrock resource to which this resource policy applies.""" - -@dataclass(kw_only=True) -class GetResourcePolicyOutput(_SerdeShape): - """Dataclass for GetResourcePolicyOutput structure.""" - - resource_policy: str | None = ... - """The JSON string representing the Bedrock resource policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUseCaseForModelAccessInput(_SerdeShape): - """Dataclass for GetUseCaseForModelAccessInput structure.""" - -@dataclass(kw_only=True) -class GetUseCaseForModelAccessOutput(_SerdeShape): - """Dataclass for GetUseCaseForModelAccessOutput structure.""" - - form_data: bytes - """Get customer profile Response.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class GraderConfigLambdaGrader(_SerdeShape): - """ - Configuration for using an AWS Lambda function as the grader for - evaluating model responses and provide reward signals in reinforcement - fine-tuning. - """ - - value: LambdaGraderConfig - -@dataclass -class GraderConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -GraderConfig = Union[GraderConfigLambdaGrader | GraderConfigUnknown] -""" -Configuration for the grader used in reinforcement fine-tuning to -evaluate model responses and provide reward signals. -""" - -class _GraderConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> GraderConfig: ... - -@dataclass(kw_only=True) -class GuardrailAutomatedReasoningPolicy(_SerdeShape): - """ - Represents the configuration of Automated Reasoning policies within a - Amazon Bedrock Guardrail, including the policies to apply and confidence - thresholds. - """ - - policies: list[str] - """ - The list of Automated Reasoning policy ARNs that should be applied as - part of this guardrail configuration. - """ - confidence_threshold: float | None = ... - """ - The minimum confidence level required for Automated Reasoning policy - violations to trigger guardrail actions. Values range from 0.0 to 1.0. - """ - -@dataclass(kw_only=True) -class GuardrailAutomatedReasoningPolicyConfig(_SerdeShape): - """ - Configuration settings for integrating Automated Reasoning policies with - Amazon Bedrock Guardrails. - """ - - policies: list[str] - """ - The list of Automated Reasoning policy ARNs to include in the guardrail - configuration. - """ - confidence_threshold: float | None = ... - """ - The confidence threshold for triggering guardrail actions based on - Automated Reasoning policy violations. - """ - -@dataclass(kw_only=True) -class GuardrailConfiguration(_SerdeShape): - """The configuration details for the guardrail.""" - - guardrail_id: str - """The unique identifier for the guardrail.""" - guardrail_version: str - """The version of the guardrail.""" - -@dataclass(kw_only=True) -class GuardrailContentFilter(_SerdeShape): - """ - Contains filter strengths for harmful content. Guardrails support the - following content filters to detect and filter harmful user inputs and - FM-generated outputs. - - - **Hate** -- Describes language or a statement that discriminates, - criticizes, insults, denounces, or dehumanizes a person or group on - the basis of an identity (such as race, ethnicity, gender, religion, - sexual orientation, ability, and national origin). - - - **Insults** -- Describes language or a statement that includes - demeaning, humiliating, mocking, insulting, or belittling language. - This type of language is also labeled as bullying. - - - **Sexual** -- Describes language or a statement that indicates sexual - interest, activity, or arousal using direct or indirect references to - body parts, physical traits, or sex. - - - **Violence** -- Describes language or a statement that includes - glorification of or threats to inflict physical pain, hurt, or injury - toward a person, group or thing. - - Content filtering depends on the confidence classification of user - inputs and FM responses across each of the four harmful categories. All - input and output statements are classified into one of four confidence - levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, - if a statement is classified as *Hate* with HIGH confidence, the - likelihood of the statement representing hateful content is high. A - single statement can be classified across multiple categories with - varying confidence levels. For example, a single statement can be - classified as *Hate* with HIGH confidence, *Insults* with LOW - confidence, *Sexual* with NONE confidence, and *Violence* with MEDIUM - confidence. - - For more information, see [Guardrails content - filters](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters.html). - - This data type is used in the following API operations: - - - [GetGuardrail response - body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax) - """ - - type: str - """The harmful category that the content filter is applied to.""" - input_strength: str - """ - The strength of the content filter to apply to prompts. As you increase - the filter strength, the likelihood of filtering harmful content - increases and the probability of seeing harmful content in your - application reduces. - """ - output_strength: str - """ - The strength of the content filter to apply to model responses. As you - increase the filter strength, the likelihood of filtering harmful - content increases and the probability of seeing harmful content in your - application reduces. - """ - input_modalities: list[str] | None = ... - """The input modalities selected for the guardrail content filter.""" - output_modalities: list[str] | None = ... - """The output modalities selected for the guardrail content filter.""" - input_action: str | None = ... - """ - The action to take when harmful content is detected in the input. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - The action to take when harmful content is detected in the output. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -class GuardrailContentFilterAction(UnknownEnumMixin, StrEnum): - BLOCK = "BLOCK" - NONE = "NONE" - -@dataclass(kw_only=True) -class GuardrailContentFilterConfig(_SerdeShape): - """ - Contains filter strengths for harmful content. Guardrails support the - following content filters to detect and filter harmful user inputs and - FM-generated outputs. - - - **Hate** -- Describes language or a statement that discriminates, - criticizes, insults, denounces, or dehumanizes a person or group on - the basis of an identity (such as race, ethnicity, gender, religion, - sexual orientation, ability, and national origin). - - - **Insults** -- Describes language or a statement that includes - demeaning, humiliating, mocking, insulting, or belittling language. - This type of language is also labeled as bullying. - - - **Sexual** -- Describes language or a statement that indicates sexual - interest, activity, or arousal using direct or indirect references to - body parts, physical traits, or sex. - - - **Violence** -- Describes language or a statement that includes - glorification of or threats to inflict physical pain, hurt, or injury - toward a person, group or thing. - - Content filtering depends on the confidence classification of user - inputs and FM responses across each of the four harmful categories. All - input and output statements are classified into one of four confidence - levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, - if a statement is classified as *Hate* with HIGH confidence, the - likelihood of the statement representing hateful content is high. A - single statement can be classified across multiple categories with - varying confidence levels. For example, a single statement can be - classified as *Hate* with HIGH confidence, *Insults* with LOW - confidence, *Sexual* with NONE confidence, and *Violence* with MEDIUM - confidence. - - For more information, see [Guardrails content - filters](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters.html). - """ - - type: str - """The harmful category that the content filter is applied to.""" - input_strength: str - """ - The strength of the content filter to apply to prompts. As you increase - the filter strength, the likelihood of filtering harmful content - increases and the probability of seeing harmful content in your - application reduces. - """ - output_strength: str - """ - The strength of the content filter to apply to model responses. As you - increase the filter strength, the likelihood of filtering harmful - content increases and the probability of seeing harmful content in your - application reduces. - """ - input_modalities: list[str] | None = ... - """ - The input modalities selected for the guardrail content filter - configuration. - """ - output_modalities: list[str] | None = ... - """ - The output modalities selected for the guardrail content filter - configuration. - """ - input_action: str | None = ... - """ - Specifies the action to take when harmful content is detected. Supported - values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - output. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -@dataclass(kw_only=True) -class GuardrailContentFiltersTier(_SerdeShape): - """The tier that your guardrail uses for content filters.""" - - tier_name: str - """ - The tier that your guardrail uses for content filters. Valid values - include: - - - `CLASSIC` tier -- Provides established guardrails functionality - supporting English, French, and Spanish languages. - - - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` - tier and has more comprehensive language support. This tier requires - that your guardrail use [cross-Region - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - -@dataclass(kw_only=True) -class GuardrailContentFiltersTierConfig(_SerdeShape): - """ - The tier that your guardrail uses for content filters. Consider using a - tier that balances performance, accuracy, and compatibility with your - existing generative AI workflows. - """ - - tier_name: str - """ - The tier that your guardrail uses for content filters. Valid values - include: - - - `CLASSIC` tier -- Provides established guardrails functionality - supporting English, French, and Spanish languages. - - - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` - tier and has more comprehensive language support. This tier requires - that your guardrail use [cross-Region - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - -class GuardrailContentFiltersTierName(UnknownEnumMixin, StrEnum): - CLASSIC = "CLASSIC" - STANDARD = "STANDARD" - -class GuardrailContentFilterType(UnknownEnumMixin, StrEnum): - SEXUAL = "SEXUAL" - VIOLENCE = "VIOLENCE" - HATE = "HATE" - INSULTS = "INSULTS" - MISCONDUCT = "MISCONDUCT" - PROMPT_ATTACK = "PROMPT_ATTACK" - -@dataclass(kw_only=True) -class GuardrailContentPolicy(_SerdeShape): - """ - Contains details about how to handle harmful content. - - This data type is used in the following API operations: - - - [GetGuardrail response - body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax) - """ - - filters: list[GuardrailContentFilter] | None = ... - """ - Contains the type of the content filter and how strongly it should apply - to prompts and model responses. - """ - tier: GuardrailContentFiltersTier | None = ... - """The tier that your guardrail uses for content filters.""" - -@dataclass(kw_only=True) -class GuardrailContentPolicyConfig(_SerdeShape): - """Contains details about how to handle harmful content.""" - - filters_config: list[GuardrailContentFilterConfig] - """ - Contains the type of the content filter and how strongly it should apply - to prompts and model responses. - """ - tier_config: GuardrailContentFiltersTierConfig | None = ... - """The tier that your guardrail uses for content filters.""" - -class GuardrailContextualGroundingAction(UnknownEnumMixin, StrEnum): - BLOCK = "BLOCK" - NONE = "NONE" - -@dataclass(kw_only=True) -class GuardrailContextualGroundingFilter(_SerdeShape): - """The details for the guardrails contextual grounding filter.""" - - type: str - """The filter type details for the guardrails contextual grounding filter.""" - threshold: float - """The threshold details for the guardrails contextual grounding filter.""" - action: str | None = ... - """ - The action to take when content fails the contextual grounding - evaluation. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - enabled: bool | None = ... - """ - Indicates whether contextual grounding is enabled for evaluation. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -@dataclass(kw_only=True) -class GuardrailContextualGroundingFilterConfig(_SerdeShape): - """ - The filter configuration details for the guardrails contextual grounding - filter. - """ - - type: str - """The filter details for the guardrails contextual grounding filter.""" - threshold: float - """The threshold details for the guardrails contextual grounding filter.""" - action: str | None = ... - """ - Specifies the action to take when content fails the contextual grounding - evaluation. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - enabled: bool | None = ... - """ - Specifies whether to enable contextual grounding evaluation. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -class GuardrailContextualGroundingFilterType(UnknownEnumMixin, StrEnum): - GROUNDING = "GROUNDING" - RELEVANCE = "RELEVANCE" - -@dataclass(kw_only=True) -class GuardrailContextualGroundingPolicy(_SerdeShape): - """The details for the guardrails contextual grounding policy.""" - - filters: list[GuardrailContextualGroundingFilter] - """The filter details for the guardrails contextual grounding policy.""" - tier: GuardrailContextualGroundingTier | None = ... - """The tier that your guardrail uses for contextual grounding.""" - -@dataclass(kw_only=True) -class GuardrailContextualGroundingPolicyConfig(_SerdeShape): - """ - The policy configuration details for the guardrails contextual grounding - policy. - """ - - filters_config: list[GuardrailContextualGroundingFilterConfig] - """ - The filter configuration details for the guardrails contextual grounding - policy. - """ - tier_config: GuardrailContextualGroundingTierConfig | None = ... - """The tier that your guardrail uses for contextual grounding.""" - -@dataclass(kw_only=True) -class GuardrailContextualGroundingTier(_SerdeShape): - """ - Specifies the tier that your guardrail uses for contextual grounding - checks. - """ - - tier_name: str - """ - The tier that your guardrail uses for contextual grounding. Valid values - include: - - - `CLASSIC` tier -- Provides established contextual grounding - functionality supporting English, French, and Spanish languages. - - - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` - tier, with support for reasoning, conversational content and more - comprehensive language support. This tier requires that your guardrail - use [cross-Region - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - -@dataclass(kw_only=True) -class GuardrailContextualGroundingTierConfig(_SerdeShape): - """ - Specifies the tier that your guardrail uses for contextual grounding - checks. - """ - - tier_name: str - """ - The tier that your guardrail uses for contextual grounding. Valid values - include: - - - `CLASSIC` tier -- Provides established contextual grounding - functionality supporting English, French, and Spanish languages. - - - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` - tier, with support for reasoning, conversational content and more - comprehensive language support. This tier requires that your guardrail - use [cross-Region - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - -class GuardrailContextualGroundingTierName(UnknownEnumMixin, StrEnum): - CLASSIC = "CLASSIC" - STANDARD = "STANDARD" - -@dataclass(kw_only=True) -class GuardrailCrossRegionConfig(_SerdeShape): - """ - The system-defined guardrail profile that you're using with your - guardrail. Guardrail profiles define the destination Amazon Web Services - Regions where guardrail inference requests can be automatically routed. - Using guardrail profiles helps maintain guardrail performance and - reliability when demand increases. - - For more information, see the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - - guardrail_profile_identifier: str - """ - The ID or Amazon Resource Name (ARN) of the guardrail profile that your - guardrail is using. Guardrail profile availability depends on your - current Amazon Web Services Region. For more information, see the - [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region-support.html). - """ - -@dataclass(kw_only=True) -class GuardrailCrossRegionDetails(_SerdeShape): - """ - Contains details about the system-defined guardrail profile that you're - using with your guardrail for cross-Region inference. - - For more information, see the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - - guardrail_profile_id: str | None = ... - """ - The ID of the guardrail profile that your guardrail is using. Profile - availability depends on your current Amazon Web Services Region. For - more information, see the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region-support.html). - """ - guardrail_profile_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the guardrail profile that you're - using with your guardrail. - """ - -class GuardrailFilterStrength(UnknownEnumMixin, StrEnum): - NONE = "NONE" - LOW = "LOW" - MEDIUM = "MEDIUM" - HIGH = "HIGH" - -@dataclass(kw_only=True) -class GuardrailManagedWords(_SerdeShape): - """ - The managed word list that was configured for the guardrail. (This is a - list of words that are pre-defined and managed by guardrails only.) - """ - - type: str - """ - ManagedWords$type The managed word type that was configured for the - guardrail. (For now, we only offer profanity word list) - """ - input_action: str | None = ... - """ - The action to take when harmful content is detected in the input. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - The action to take when harmful content is detected in the output. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -@dataclass(kw_only=True) -class GuardrailManagedWordsConfig(_SerdeShape): - """The managed word list to configure for the guardrail.""" - - type: str - """The managed word type to configure for the guardrail.""" - input_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - input. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - output. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -class GuardrailManagedWordsType(UnknownEnumMixin, StrEnum): - PROFANITY = "PROFANITY" - -class GuardrailModality(UnknownEnumMixin, StrEnum): - TEXT = "TEXT" - IMAGE = "IMAGE" - -@dataclass(kw_only=True) -class GuardrailPiiEntity(_SerdeShape): - """The PII entity configured for the guardrail.""" - - type: str - """The type of PII entity. For example, Social Security Number.""" - action: str - """The configured guardrail action when PII entity is detected.""" - input_action: str | None = ... - """ - The action to take when harmful content is detected in the input. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `ANONYMIZE` -- Mask the content and replace it with identifier tags. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - The action to take when harmful content is detected in the output. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `ANONYMIZE` -- Mask the content and replace it with identifier tags. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -@dataclass(kw_only=True) -class GuardrailPiiEntityConfig(_SerdeShape): - """The PII entity to configure for the guardrail.""" - - type: str - """ - Configure guardrail type when the PII entity is detected. - - The following PIIs are used to block or mask sensitive information: - - - **General** - - - **ADDRESS** - - A physical address, such as \"100 Main Street, Anytown, USA\" or - \"Suite #12, Building 123\". An address can include information such - as the street, building, location, city, state, country, county, zip - code, precinct, and neighborhood. - - - **AGE** - - An individual's age, including the quantity and unit of time. For - example, in the phrase \"I am 40 years old,\" Guardrails recognizes - \"40 years\" as an age. - - - **NAME** - - An individual's name. This entity type does not include titles, - such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this - entity type to names that are part of organizations or addresses. - For example, guardrails recognizes the \"John Doe Organization\" as - an organization, and it recognizes \"Jane Doe Street\" as an - address. - - - **EMAIL** - - An email address, such as *marymajor@email.com*. - - - **PHONE** - - A phone number. This entity type also includes fax and pager - numbers. - - - **USERNAME** - - A user name that identifies an account, such as a login name, screen - name, nick name, or handle. - - - **PASSWORD** - - An alphanumeric string that is used as a password, such as - \"**very20special#pass**\". - - - **DRIVER_ID** - - The number assigned to a driver's license, which is an official - document permitting an individual to operate one or more motorized - vehicles on a public road. A driver's license number consists of - alphanumeric characters. - - - **LICENSE_PLATE** - - A license plate for a vehicle is issued by the state or country - where the vehicle is registered. The format for passenger vehicles - is typically five to eight digits, consisting of upper-case letters - and numbers. The format varies depending on the location of the - issuing state or country. - - - **VEHICLE_IDENTIFICATION_NUMBER** - - A Vehicle Identification Number (VIN) uniquely identifies a vehicle. - VIN content and format are defined in the *ISO 3779* specification. - Each country has specific codes and formats for VINs. - - - **Finance** - - - **CREDIT_DEBIT_CARD_CVV** - - A three-digit card verification code (CVV) that is present on VISA, - MasterCard, and Discover credit and debit cards. For American - Express credit or debit cards, the CVV is a four-digit numeric code. - - - **CREDIT_DEBIT_CARD_EXPIRY** - - The expiration date for a credit or debit card. This number is - usually four digits long and is often formatted as *month/year* or - *MM/YY*. Guardrails recognizes expiration dates such as *01/21*, - *01/2021*, and *Jan 2021*. - - - **CREDIT_DEBIT_CARD_NUMBER** - - The number for a credit or debit card. These numbers can vary from - 13 to 16 digits in length. However, Amazon Comprehend also - recognizes credit or debit card numbers when only the last four - digits are present. - - - **PIN** - - A four-digit personal identification number (PIN) with which you can - access your bank account. - - - **INTERNATIONAL_BANK_ACCOUNT_NUMBER** - - An International Bank Account Number has specific formats in each - country. For more information, see - [www.iban.com/structure](https://www.iban.com/structure). - - - **SWIFT_CODE** - - A SWIFT code is a standard format of Bank Identifier Code (BIC) used - to specify a particular bank or branch. Banks use these codes for - money transfers such as international wire transfers. - - SWIFT codes consist of eight or 11 characters. The 11-digit codes - refer to specific branches, while eight-digit codes (or 11-digit - codes ending in 'XXX') refer to the head or primary office. - - - **IT** - - - **IP_ADDRESS** - - An IPv4 address, such as *198.51.100.0*. - - - **MAC_ADDRESS** - - A *media access control* (MAC) address is a unique identifier - assigned to a network interface controller (NIC). - - - **URL** - - A web address, such as *www.example.com*. - - - **AWS_ACCESS_KEY** - - A unique identifier that's associated with a secret access key; you - use the access key ID and secret access key to sign programmatic - Amazon Web Services requests cryptographically. - - - **AWS_SECRET_KEY** - - A unique identifier that's associated with an access key. You use - the access key ID and secret access key to sign programmatic Amazon - Web Services requests cryptographically. - - - **USA specific** - - - **US_BANK_ACCOUNT_NUMBER** - - A US bank account number, which is typically 10 to 12 digits long. - - - **US_BANK_ROUTING_NUMBER** - - A US bank account routing number. These are typically nine digits - long, - - - **US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER** - - A US Individual Taxpayer Identification Number (ITIN) is a - nine-digit number that starts with a \"9\" and contain a \"7\" or - \"8\" as the fourth digit. An ITIN can be formatted with a space or - a dash after the third and forth digits. - - - **US_PASSPORT_NUMBER** - - A US passport number. Passport numbers range from six to nine - alphanumeric characters. - - - **US_SOCIAL_SECURITY_NUMBER** - - A US Social Security Number (SSN) is a nine-digit number that is - issued to US citizens, permanent residents, and temporary working - residents. - - - **Canada specific** - - - **CA_HEALTH_NUMBER** - - A Canadian Health Service Number is a 10-digit unique identifier, - required for individuals to access healthcare benefits. - - - **CA_SOCIAL_INSURANCE_NUMBER** - - A Canadian Social Insurance Number (SIN) is a nine-digit unique - identifier, required for individuals to access government programs - and benefits. - - The SIN is formatted as three groups of three digits, such as - *123-456-789*. A SIN can be validated through a simple check-digit - process called the [Luhn - algorithm](https://www.wikipedia.org/wiki/Luhn_algorithm). - - - **UK Specific** - - - **UK_NATIONAL_HEALTH_SERVICE_NUMBER** - - A UK National Health Service Number is a 10-17 digit number, such as - *485 777 3456*. The current system formats the 10-digit number with - spaces after the third and sixth digits. The final digit is an - error-detecting checksum. - - - **UK_NATIONAL_INSURANCE_NUMBER** - - A UK National Insurance Number (NINO) provides individuals with - access to National Insurance (social security) benefits. It is also - used for some purposes in the UK tax system. - - The number is nine digits long and starts with two letters, followed - by six numbers and one letter. A NINO can be formatted with a space - or a dash after the two letters and after the second, forth, and - sixth digits. - - - **UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER** - - A UK Unique Taxpayer Reference (UTR) is a 10-digit number that - identifies a taxpayer or a business. - - - **Custom** - - - **Regex filter** - You can use a regular expressions to define - patterns for a guardrail to recognize and act upon such as serial - number, booking ID etc.. - """ - action: str - """Configure guardrail action when the PII entity is detected.""" - input_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - input. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `ANONYMIZE` -- Mask the content and replace it with identifier tags. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - output. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `ANONYMIZE` -- Mask the content and replace it with identifier tags. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -class GuardrailPiiEntityType(UnknownEnumMixin, StrEnum): - ADDRESS = "ADDRESS" - AGE = "AGE" - AWS_ACCESS_KEY = "AWS_ACCESS_KEY" - AWS_SECRET_KEY = "AWS_SECRET_KEY" - CA_HEALTH_NUMBER = "CA_HEALTH_NUMBER" - CA_SOCIAL_INSURANCE_NUMBER = "CA_SOCIAL_INSURANCE_NUMBER" - CREDIT_DEBIT_CARD_CVV = "CREDIT_DEBIT_CARD_CVV" - CREDIT_DEBIT_CARD_EXPIRY = "CREDIT_DEBIT_CARD_EXPIRY" - CREDIT_DEBIT_CARD_NUMBER = "CREDIT_DEBIT_CARD_NUMBER" - DRIVER_ID = "DRIVER_ID" - EMAIL = "EMAIL" - INTERNATIONAL_BANK_ACCOUNT_NUMBER = "INTERNATIONAL_BANK_ACCOUNT_NUMBER" - IP_ADDRESS = "IP_ADDRESS" - LICENSE_PLATE = "LICENSE_PLATE" - MAC_ADDRESS = "MAC_ADDRESS" - NAME = "NAME" - PASSWORD = "PASSWORD" - PHONE = "PHONE" - PIN = "PIN" - SWIFT_CODE = "SWIFT_CODE" - UK_NATIONAL_HEALTH_SERVICE_NUMBER = "UK_NATIONAL_HEALTH_SERVICE_NUMBER" - UK_NATIONAL_INSURANCE_NUMBER = "UK_NATIONAL_INSURANCE_NUMBER" - UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" - URL = "URL" - USERNAME = "USERNAME" - US_BANK_ACCOUNT_NUMBER = "US_BANK_ACCOUNT_NUMBER" - US_BANK_ROUTING_NUMBER = "US_BANK_ROUTING_NUMBER" - US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" - US_PASSPORT_NUMBER = "US_PASSPORT_NUMBER" - US_SOCIAL_SECURITY_NUMBER = "US_SOCIAL_SECURITY_NUMBER" - VEHICLE_IDENTIFICATION_NUMBER = "VEHICLE_IDENTIFICATION_NUMBER" - -@dataclass(kw_only=True) -class GuardrailRegex(_SerdeShape): - """The regular expression configured for the guardrail.""" - - name: str - """The name of the regular expression for the guardrail.""" - description: str | None = ... - """The description of the regular expression for the guardrail.""" - pattern: str - """The pattern of the regular expression configured for the guardrail.""" - action: str - """The action taken when a match to the regular expression is detected.""" - input_action: str | None = ... - """ - The action to take when harmful content is detected in the input. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - The action to take when harmful content is detected in the output. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -@dataclass(kw_only=True) -class GuardrailRegexConfig(_SerdeShape): - """The regular expression to configure for the guardrail.""" - - name: str - """The name of the regular expression to configure for the guardrail.""" - description: str | None = ... - """ - The description of the regular expression to configure for the - guardrail. - """ - pattern: str - """The regular expression pattern to configure for the guardrail.""" - action: str - """ - The guardrail action to configure when matching regular expression is - detected. - """ - input_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - input. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - output. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -class GuardrailSensitiveInformationAction(UnknownEnumMixin, StrEnum): - BLOCK = "BLOCK" - ANONYMIZE = "ANONYMIZE" - NONE = "NONE" - -@dataclass(kw_only=True) -class GuardrailSensitiveInformationPolicy(_SerdeShape): - """ - Contains details about PII entities and regular expressions configured - for the guardrail. - """ - - pii_entities: list[GuardrailPiiEntity] | None = ... - """The list of PII entities configured for the guardrail.""" - regexes: list[GuardrailRegex] | None = ... - """The list of regular expressions configured for the guardrail.""" - -@dataclass(kw_only=True) -class GuardrailSensitiveInformationPolicyConfig(_SerdeShape): - """ - Contains details about PII entities and regular expressions to configure - for the guardrail. - """ - - pii_entities_config: list[GuardrailPiiEntityConfig] | None = ... - """A list of PII entities to configure to the guardrail.""" - regexes_config: list[GuardrailRegexConfig] | None = ... - """A list of regular expressions to configure to the guardrail.""" - -class GuardrailStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - UPDATING = "UPDATING" - VERSIONING = "VERSIONING" - READY = "READY" - FAILED = "FAILED" - DELETING = "DELETING" - -@dataclass(kw_only=True) -class GuardrailSummary(_SerdeShape): - """ - Contains details about a guardrail. - - This data type is used in the following API operations: - - - [ListGuardrails response - body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListGuardrails.html#API_ListGuardrails_ResponseSyntax) - """ - - id: str - """The unique identifier of the guardrail.""" - arn: str - """The ARN of the guardrail.""" - status: str - """The status of the guardrail.""" - name: str - """The name of the guardrail.""" - description: str | None = ... - """A description of the guardrail.""" - version: str - """The version of the guardrail.""" - created_at: datetime - """The date and time at which the guardrail was created.""" - updated_at: datetime - """The date and time at which the guardrail was last updated.""" - cross_region_details: GuardrailCrossRegionDetails | None = ... - """ - Details about the system-defined guardrail profile that you're using - with your guardrail, including the guardrail profile ID and Amazon - Resource Name (ARN). - """ - -@dataclass(kw_only=True) -class GuardrailTopic(_SerdeShape): - """ - Details about topics for the guardrail to identify and deny. - - This data type is used in the following API operations: - - - [GetGuardrail response - body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax) - """ - - name: str - """The name of the topic to deny.""" - definition: str - """A definition of the topic to deny.""" - examples: list[str] | None = ... - """ - A list of prompts, each of which is an example of a prompt that can be - categorized as belonging to the topic. - """ - type: str | None = ... - """Specifies to deny the topic.""" - input_action: str | None = ... - """ - The action to take when harmful content is detected in the input. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - The action to take when harmful content is detected in the output. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -class GuardrailTopicAction(UnknownEnumMixin, StrEnum): - BLOCK = "BLOCK" - NONE = "NONE" - -@dataclass(kw_only=True) -class GuardrailTopicConfig(_SerdeShape): - """Details about topics for the guardrail to identify and deny.""" - - name: str - """The name of the topic to deny.""" - definition: str - """A definition of the topic to deny.""" - examples: list[str] | None = ... - """ - A list of prompts, each of which is an example of a prompt that can be - categorized as belonging to the topic. - """ - type: str - """Specifies to deny the topic.""" - input_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - input. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - output. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -@dataclass(kw_only=True) -class GuardrailTopicPolicy(_SerdeShape): - """ - Contains details about topics that the guardrail should identify and - deny. - - This data type is used in the following API operations: - - - [GetGuardrail response - body](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax) - """ - - topics: list[GuardrailTopic] - """A list of policies related to topics that the guardrail should deny.""" - tier: GuardrailTopicsTier | None = ... - """The tier that your guardrail uses for denied topic filters.""" - -@dataclass(kw_only=True) -class GuardrailTopicPolicyConfig(_SerdeShape): - """ - Contains details about topics that the guardrail should identify and - deny. - """ - - topics_config: list[GuardrailTopicConfig] - """A list of policies related to topics that the guardrail should deny.""" - tier_config: GuardrailTopicsTierConfig | None = ... - """The tier that your guardrail uses for denied topic filters.""" - -@dataclass(kw_only=True) -class GuardrailTopicsTier(_SerdeShape): - """The tier that your guardrail uses for denied topic filters.""" - - tier_name: str - """ - The tier that your guardrail uses for denied topic filters. Valid values - include: - - - `CLASSIC` tier -- Provides established guardrails functionality - supporting English, French, and Spanish languages. - - - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` - tier and has more comprehensive language support. This tier requires - that your guardrail use [cross-Region - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - -@dataclass(kw_only=True) -class GuardrailTopicsTierConfig(_SerdeShape): - """ - The tier that your guardrail uses for denied topic filters. Consider - using a tier that balances performance, accuracy, and compatibility with - your existing generative AI workflows. - """ - - tier_name: str - """ - The tier that your guardrail uses for denied topic filters. Valid values - include: - - - `CLASSIC` tier -- Provides established guardrails functionality - supporting English, French, and Spanish languages. - - - `STANDARD` tier -- Provides a more robust solution than the `CLASSIC` - tier and has more comprehensive language support. This tier requires - that your guardrail use [cross-Region - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - -class GuardrailTopicsTierName(UnknownEnumMixin, StrEnum): - CLASSIC = "CLASSIC" - STANDARD = "STANDARD" - -class GuardrailTopicType(UnknownEnumMixin, StrEnum): - DENY = "DENY" - -@dataclass(kw_only=True) -class GuardrailWord(_SerdeShape): - """A word configured for the guardrail.""" - - text: str - """Text of the word configured for the guardrail to block.""" - input_action: str | None = ... - """ - The action to take when harmful content is detected in the input. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - The action to take when harmful content is detected in the output. - Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the input. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Indicates whether guardrail evaluation is enabled on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -class GuardrailWordAction(UnknownEnumMixin, StrEnum): - BLOCK = "BLOCK" - NONE = "NONE" - -@dataclass(kw_only=True) -class GuardrailWordConfig(_SerdeShape): - """A word to configure for the guardrail.""" - - text: str - """Text of the word configured for the guardrail to block.""" - input_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - input. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - output_action: str | None = ... - """ - Specifies the action to take when harmful content is detected in the - output. Supported values include: - - - `BLOCK` -- Block the content and replace it with blocked messaging. - - - `NONE` -- Take no action but return detection information in the trace - response. - """ - input_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the intput. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - output_enabled: bool | None = ... - """ - Specifies whether to enable guardrail evaluation on the output. When - disabled, you aren't charged for the evaluation. The evaluation - doesn't appear in the response. - """ - -@dataclass(kw_only=True) -class GuardrailWordPolicy(_SerdeShape): - """Contains details about the word policy configured for the guardrail.""" - - words: list[GuardrailWord] | None = ... - """A list of words configured for the guardrail.""" - managed_word_lists: list[GuardrailManagedWords] | None = ... - """A list of managed words configured for the guardrail.""" - -@dataclass(kw_only=True) -class GuardrailWordPolicyConfig(_SerdeShape): - """Contains details about the word policy to configured for the guardrail.""" - - words_config: list[GuardrailWordConfig] | None = ... - """A list of words to configure for the guardrail.""" - managed_word_lists_config: list[GuardrailManagedWordsConfig] | None = ... - """A list of managed words to configure for the guardrail.""" - -@dataclass(kw_only=True) -class HumanEvaluationConfig(_SerdeShape): - """ - Specifies the custom metrics, how tasks will be rated, the flow - definition ARN, and your custom prompt datasets. Model evaluation jobs - use human workers *only* support the use of custom prompt datasets. To - learn more about custom prompt datasets and the required format, see - [Custom prompt - datasets](https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-prompt-datasets-custom.html). - - When you create custom metrics in `HumanEvaluationCustomMetric` you must - specify the metric's `name`. The list of `names` specified in the - `HumanEvaluationCustomMetric` array, must match the `metricNames` array - of strings specified in `EvaluationDatasetMetricConfig`. For example, if - in the `HumanEvaluationCustomMetric` array your specified the names - `"accuracy", "toxicity", "readability"` as custom metrics *then* the - `metricNames` array would need to look like the following - `["accuracy", "toxicity", "readability"]` in - `EvaluationDatasetMetricConfig`. - """ - - human_workflow_config: HumanWorkflowConfig | None = ... - """The parameters of the human workflow.""" - custom_metrics: list[HumanEvaluationCustomMetric] | None = ... - """ - A `HumanEvaluationCustomMetric` object. It contains the names the - metrics, how the metrics are to be evaluated, an optional description. - """ - dataset_metric_configs: list[EvaluationDatasetMetricConfig] - """ - Use to specify the metrics, task, and prompt dataset to be used in your - model evaluation job. - """ - -@dataclass(kw_only=True) -class HumanEvaluationCustomMetric(_SerdeShape): - """ - In a model evaluation job that uses human workers you must define the - name of the metric, and how you want that metric rated `ratingMethod`, - and an optional description of the metric. - """ - - name: str - """ - The name of the metric. Your human evaluators will see this name in the - evaluation UI. - """ - description: str | None = ... - """ - An optional description of the metric. Use this parameter to provide - more details about the metric. - """ - rating_method: str - """ - Choose how you want your human workers to evaluation your model. Valid - values for rating methods are `ThumbsUpDown`, - `IndividualLikertScale`,`ComparisonLikertScale`, `ComparisonChoice`, and - `ComparisonRank` - """ - -@dataclass(kw_only=True) -class HumanWorkflowConfig(_SerdeShape): - """ - Contains `SageMakerFlowDefinition` object. The object is used to specify - the prompt dataset, task type, rating method and metric names. - """ - - flow_definition_arn: str - """The Amazon Resource Number (ARN) for the flow definition""" - instructions: str | None = ... - """Instructions for the flow definition""" - -@dataclass(kw_only=True) -class ImplicitFilterConfiguration(_SerdeShape): - """ - Configuration for implicit filtering in Knowledge Base vector searches. - Implicit filtering allows you to automatically filter search results - based on metadata attributes without requiring explicit filter - expressions in each query. - """ - - metadata_attributes: list[MetadataAttributeSchema] - """ - A list of metadata attribute schemas that define the structure and - properties of metadata fields used for implicit filtering. Each - attribute defines a key, type, and optional description. - """ - model_arn: str - """ - The Amazon Resource Name (ARN) of the foundation model used for implicit - filtering. This model processes the query to extract relevant filtering - criteria. - """ - -@dataclass(kw_only=True) -class ImportedModelSummary(_SerdeShape): - """Information about the imported model.""" - - model_arn: str - """The Amazon Resource Name (ARN) of the imported model.""" - model_name: str - """Name of the imported model.""" - creation_time: datetime - """Creation time of the imported model.""" - instruct_supported: bool | None = ... - """Specifies if the imported model supports converse.""" - model_architecture: str | None = ... - """The architecture of the imported model.""" - -@dataclass(kw_only=True) -class InferenceConfiguration(_SerdeShape): - """ - Base inference parameters to pass to a model. For more information, see - [Inference parameters for foundation - models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). - """ - - max_tokens: int | None = ... - """ - The maximum number of tokens to allow in the generated response. The - default value is the maximum allowed value for the model that you are - using. - """ - temperature: float | None = ... - """ - The likelihood of the model selecting higher-probability options while - generating a response. A lower value makes the model more likely to - choose higher-probability options, while a higher value makes the model - more likely to choose lower-probability options. - """ - top_p: float | None = ... - """ - The percentage of most-likely candidates that the model considers for - the next token. For example, if you choose a value of 0.8 for `topP`, - the model selects from the top 80% of the probability distribution of - tokens that could be next in the sequence. - """ - stop_sequences: list[str] | None = ... - """ - A list of stop sequences. A stop sequence is a sequence of characters - that causes the model to stop generating the response. - """ - -@dataclass(kw_only=True) -class InferenceProfileModel(_SerdeShape): - """Contains information about a model.""" - - model_arn: str | None = ... - """The Amazon Resource Name (ARN) of the model.""" - -@dataclass -class InferenceProfileModelSourceCopyFrom(_SerdeShape): - """ - The ARN of the model or system-defined inference profile that is the - source for the inference profile. - """ - - value: str - -@dataclass -class InferenceProfileModelSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InferenceProfileModelSource = Union[ - InferenceProfileModelSourceCopyFrom | InferenceProfileModelSourceUnknown -] -""" -Contains information about the model or system-defined inference profile -that is the source for an inference profile.. -""" - -class _InferenceProfileModelSourceDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> InferenceProfileModelSource: ... - -class InferenceProfileStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - -@dataclass(kw_only=True) -class InferenceProfileSummary(_SerdeShape): - """Contains information about an inference profile.""" - - inference_profile_name: str - """The name of the inference profile.""" - description: str | None = ... - """The description of the inference profile.""" - created_at: datetime | None = ... - """The time at which the inference profile was created.""" - updated_at: datetime | None = ... - """The time at which the inference profile was last updated.""" - inference_profile_arn: str - """The Amazon Resource Name (ARN) of the inference profile.""" - models: list[InferenceProfileModel] - """A list of information about each model in the inference profile.""" - inference_profile_id: str - """The unique identifier of the inference profile.""" - status: str - """ - The status of the inference profile. `ACTIVE` means that the inference - profile is ready to be used. - """ - type: str - """ - The type of the inference profile. The following types are possible: - - - `SYSTEM_DEFINED` -- The inference profile is defined by Amazon - Bedrock. You can route inference requests across regions with these - inference profiles. - - - `APPLICATION` -- The inference profile was created by a user. This - type of inference profile can track metrics and costs when invoking - the model in it. The inference profile may route requests to one or - multiple regions. - """ - -class InferenceProfileType(UnknownEnumMixin, StrEnum): - SYSTEM_DEFINED = "SYSTEM_DEFINED" - APPLICATION = "APPLICATION" - -class InferenceType(UnknownEnumMixin, StrEnum): - ON_DEMAND = "ON_DEMAND" - PROVISIONED = "PROVISIONED" - -class InputTags(UnknownEnumMixin, StrEnum): - HONOR = "HONOR" - IGNORE = "IGNORE" - -@dataclass(kw_only=True) -class InternalServerException(ServiceError, _SerdeShape): - """An internal server error occurred. Retry your request.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvocationLogsConfig(_SerdeShape): - """Settings for using invocation logs to customize a model.""" - - use_prompt_response: bool = ... - """ - Whether to use the model's response for training, or just the prompt. - The default value is `False`. - """ - invocation_log_source: InvocationLogSource - """The source of the invocation logs.""" - request_metadata_filters: RequestMetadataFilters | None = ... - """Rules for filtering invocation logs based on request metadata.""" - -@dataclass -class InvocationLogSourceS3Uri(_SerdeShape): - """The URI of an invocation log in a bucket.""" - - value: str - -@dataclass -class InvocationLogSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InvocationLogSource = Union[InvocationLogSourceS3Uri | InvocationLogSourceUnknown] -"""A storage location for invocation logs.""" - -class _InvocationLogSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> InvocationLogSource: ... - -class JobStatusDetails(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "InProgress" - COMPLETED = "Completed" - STOPPING = "Stopping" - STOPPED = "Stopped" - FAILED = "Failed" - NOT_STARTED = "NotStarted" - -@dataclass(kw_only=True) -class KbInferenceConfig(_SerdeShape): - """ - Contains configuration details of the inference for knowledge base - retrieval and response generation. - """ - - text_inference_config: TextInferenceConfig | None = ... - """ - Contains configuration details for text generation using a language - model via the `RetrieveAndGenerate` function. - """ - -@dataclass -class KnowledgeBaseConfigRetrieveConfig(_SerdeShape): - """ - Contains configuration details for retrieving information from a - knowledge base. - """ - - value: RetrieveConfig - -@dataclass -class KnowledgeBaseConfigRetrieveAndGenerateConfig(_SerdeShape): - """ - Contains configuration details for retrieving information from a - knowledge base and generating responses. - """ - - value: RetrieveAndGenerateConfiguration - -@dataclass -class KnowledgeBaseConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -KnowledgeBaseConfig = Union[ - KnowledgeBaseConfigRetrieveConfig - | KnowledgeBaseConfigRetrieveAndGenerateConfig - | KnowledgeBaseConfigUnknown -] -""" -The configuration details for retrieving information from a knowledge -base and generating responses. -""" - -class _KnowledgeBaseConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> KnowledgeBaseConfig: ... - -@dataclass(kw_only=True) -class KnowledgeBaseRetrievalConfiguration(_SerdeShape): - """ - Contains configuration details for retrieving information from a - knowledge base. - """ - - vector_search_configuration: KnowledgeBaseVectorSearchConfiguration - """ - Contains configuration details for returning the results from the vector - search. - """ - -@dataclass(kw_only=True) -class KnowledgeBaseRetrieveAndGenerateConfiguration(_SerdeShape): - """ - Contains configuration details for retrieving information from a - knowledge base and generating responses. - """ - - knowledge_base_id: str - """The unique identifier of the knowledge base.""" - model_arn: str - """ - The Amazon Resource Name (ARN) of the foundation model or [inference - profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) - used to generate responses. - """ - retrieval_configuration: KnowledgeBaseRetrievalConfiguration | None = ... - """Contains configuration details for retrieving text chunks.""" - generation_configuration: GenerationConfiguration | None = ... - """ - Contains configurations details for response generation based on - retrieved text chunks. - """ - orchestration_configuration: OrchestrationConfiguration | None = ... - """ - Contains configuration details for the model to process the prompt prior - to retrieval and response generation. - """ - -@dataclass(kw_only=True) -class KnowledgeBaseVectorSearchConfiguration(_SerdeShape): - """ - The configuration details for returning the results from the knowledge - base vector search. - """ - - number_of_results: int | None = ... - """The number of text chunks to retrieve; the number of results to return.""" - override_search_type: str | None = ... - """ - By default, Amazon Bedrock decides a search strategy for you. If you're - using an Amazon OpenSearch Serverless vector store that contains a - filterable text field, you can specify whether to query the knowledge - base with a `HYBRID` search using both vector embeddings and raw text, - or `SEMANTIC` search using only vector embeddings. For other vector - store configurations, only `SEMANTIC` search is available. - """ - filter: RetrievalFilter | None = ... - """ - Specifies the filters to use on the metadata fields in the knowledge - base data sources before returning results. - """ - implicit_filter_configuration: ImplicitFilterConfiguration | None = ... - """ - Configuration for implicit filtering in Knowledge Base vector searches. - This allows the system to automatically apply filters based on the query - context without requiring explicit filter expressions. - """ - reranking_configuration: VectorSearchRerankingConfiguration | None = ... - """ - Configuration for reranking search results in Knowledge Base vector - searches. Reranking improves search relevance by reordering initial - vector search results using more sophisticated relevance models. - """ - -@dataclass(kw_only=True) -class LambdaGraderConfig(_SerdeShape): - """ - Configuration for using an AWS Lambda function to grade model responses - during reinforcement fine-tuning training. - """ - - lambda_arn: str - """ - ARN of the AWS Lambda function that will evaluate model responses and - return reward scores for RFT training. - """ - -@dataclass(kw_only=True) -class LegalTerm(_SerdeShape): - """The legal term of the agreement.""" - - url: str | None = ... - """URL to the legal term document.""" - -@dataclass(kw_only=True) -class ListAdvancedPromptOptimizationJobsInput(_SerdeShape): - """List Advanced Prompt Optimization Jobs Request""" - - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token in a subsequent request to get - the next set of results. - """ - sort_by: str | None = ... - """The field to sort the results by.""" - sort_order: str | None = ... - """The sort order for the results.""" - -@dataclass(kw_only=True) -class ListAdvancedPromptOptimizationJobsOutput(_SerdeShape): - """List Advanced Prompt Optimization Jobs Response""" - - job_summaries: list[AdvancedPromptOptimizationJobSummary] | None = ... - """A list of advanced prompt optimization job summaries.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token in a subsequent request to get - the next set of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAutomatedReasoningPoliciesInput(_SerdeShape): - """Dataclass for ListAutomatedReasoningPoliciesInput structure.""" - - policy_arn: str | None = ... - """ - Optional filter to list only the policy versions with the specified - Amazon Resource Name (ARN). If not provided, the DRAFT versions for all - policies are listed. - """ - next_token: str | None = ... - """ - The pagination token from a previous request to retrieve the next page - of results. - """ - max_results: int = ... - """The maximum number of policies to return in a single call.""" - -@dataclass(kw_only=True) -class ListAutomatedReasoningPoliciesOutput(_SerdeShape): - """Dataclass for ListAutomatedReasoningPoliciesOutput structure.""" - - automated_reasoning_policy_summaries: list[AutomatedReasoningPolicySummary] - """A list of Automated Reasoning policy summaries.""" - next_token: str | None = ... - """ - The pagination token to use in a subsequent request to retrieve the next - page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAutomatedReasoningPolicyBuildWorkflowsInput(_SerdeShape): - """Dataclass for ListAutomatedReasoningPolicyBuildWorkflowsInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy whose - build workflows you want to list. - """ - next_token: str | None = ... - """ - A pagination token from a previous request to continue listing build - workflows from where the previous request left off. - """ - max_results: int = ... - """ - The maximum number of build workflows to return in a single response. - Valid range is 1-100. - """ - -@dataclass(kw_only=True) -class ListAutomatedReasoningPolicyBuildWorkflowsOutput(_SerdeShape): - """ - Dataclass for ListAutomatedReasoningPolicyBuildWorkflowsOutput - structure. - """ - - automated_reasoning_policy_build_workflow_summaries: list[ - AutomatedReasoningPolicyBuildWorkflowSummary - ] - """ - A list of build workflow summaries, each containing key information - about a build workflow including its status and timestamps. - """ - next_token: str | None = ... - """ - A pagination token to use in subsequent requests to retrieve additional - build workflows. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAutomatedReasoningPolicyTestCasesInput(_SerdeShape): - """Dataclass for ListAutomatedReasoningPolicyTestCasesInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy for - which to list tests. - """ - next_token: str | None = ... - """ - The pagination token from a previous request to retrieve the next page - of results. - """ - max_results: int = ... - """The maximum number of tests to return in a single call.""" - -@dataclass(kw_only=True) -class ListAutomatedReasoningPolicyTestCasesOutput(_SerdeShape): - """Dataclass for ListAutomatedReasoningPolicyTestCasesOutput structure.""" - - test_cases: list[AutomatedReasoningPolicyTestCase] - """A list of tests for the specified policy.""" - next_token: str | None = ... - """ - The pagination token to use in a subsequent request to retrieve the next - page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAutomatedReasoningPolicyTestResultsInput(_SerdeShape): - """Dataclass for ListAutomatedReasoningPolicyTestResultsInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy whose - test results you want to list. - """ - build_workflow_id: str | None = ... - """ - The unique identifier of the build workflow whose test results you want - to list. - """ - next_token: str | None = ... - """ - A pagination token from a previous request to continue listing test - results from where the previous request left off. - """ - max_results: int = ... - """ - The maximum number of test results to return in a single response. Valid - range is 1-100. - """ - -@dataclass(kw_only=True) -class ListAutomatedReasoningPolicyTestResultsOutput(_SerdeShape): - """Dataclass for ListAutomatedReasoningPolicyTestResultsOutput structure.""" - - test_results: list[AutomatedReasoningPolicyTestResult] - """ - A list of test results, each containing information about how the policy - performed on specific test scenarios. - """ - next_token: str | None = ... - """ - A pagination token to use in subsequent requests to retrieve additional - test results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCustomModelDeploymentsInput(_SerdeShape): - """Dataclass for ListCustomModelDeploymentsInput structure.""" - - created_before: datetime | None = ... - """Filters deployments created before the specified date and time.""" - created_after: datetime | None = ... - """Filters deployments created after the specified date and time.""" - name_contains: str | None = ... - """Filters deployments whose names contain the specified string.""" - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - next_token: str | None = ... - """ - The token for the next set of results. Use this token to retrieve - additional results when the response is truncated. - """ - sort_by: str | None = ... - """ - The field to sort the results by. The only supported value is - `CreationTime`. - """ - sort_order: str | None = ... - """ - The sort order for the results. Valid values are `Ascending` and - `Descending`. Default is `Descending`. - """ - status_equals: str | None = ... - """ - Filters deployments by status. Valid values are `CREATING`, `ACTIVE`, - and `FAILED`. - """ - model_arn_equals: str | None = ... - """ - Filters deployments by the Amazon Resource Name (ARN) of the associated - custom model. - """ - -@dataclass(kw_only=True) -class ListCustomModelDeploymentsOutput(_SerdeShape): - """Dataclass for ListCustomModelDeploymentsOutput structure.""" - - next_token: str | None = ... - """ - The token for the next set of results. This value is null when there are - no more results to return. - """ - model_deployment_summaries: list[CustomModelDeploymentSummary] | None = ... - """A list of custom model deployment summaries.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCustomModelsInput(_SerdeShape): - """Dataclass for ListCustomModelsInput structure.""" - - creation_time_before: datetime | None = ... - """Return custom models created before the specified time.""" - creation_time_after: datetime | None = ... - """Return custom models created after the specified time.""" - name_contains: str | None = ... - """Return custom models only if the job name contains these characters.""" - base_model_arn_equals: str | None = ... - """ - Return custom models only if the base model Amazon Resource Name (ARN) - matches this parameter. - """ - foundation_model_arn_equals: str | None = ... - """ - Return custom models only if the foundation model Amazon Resource Name - (ARN) matches this parameter. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - sort_by: str | None = ... - """The field to sort by in the returned list of models.""" - sort_order: str | None = ... - """The sort order of the results.""" - is_owned: bool | None = ... - """ - Return custom models depending on if the current account owns them - (`true`) or if they were shared with the current account (`false`). - """ - model_status: str | None = ... - """ - The status of them model to filter results by. Possible values include: - - - `Creating` - Include only models that are currently being created and - validated. - - - `Active` - Include only models that have been successfully created and - are ready for use. - - - `Failed` - Include only models where the creation process failed. - - If you don't specify a status, the API returns models in all states. - """ - -@dataclass(kw_only=True) -class ListCustomModelsOutput(_SerdeShape): - """Dataclass for ListCustomModelsOutput structure.""" - - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - model_summaries: list[CustomModelSummary] | None = ... - """Model summaries.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListEnforcedGuardrailsConfigurationInput(_SerdeShape): - """Dataclass for ListEnforcedGuardrailsConfigurationInput structure.""" - - next_token: str | None = ... - """Opaque continuation token of previous paginated response.""" - -@dataclass(kw_only=True) -class ListEnforcedGuardrailsConfigurationOutput(_SerdeShape): - """Dataclass for ListEnforcedGuardrailsConfigurationOutput structure.""" - - guardrails_config: list[AccountEnforcedGuardrailOutputConfiguration] - """Array of AccountEnforcedGuardrailOutputConfiguration objects.""" - next_token: str | None = ... - """Opaque continuation token of previous paginated response.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListEvaluationJobsInput(_SerdeShape): - """Dataclass for ListEvaluationJobsInput structure.""" - - creation_time_after: datetime | None = ... - """A filter to only list evaluation jobs created after a specified time.""" - creation_time_before: datetime | None = ... - """A filter to only list evaluation jobs created before a specified time.""" - status_equals: str | None = ... - """A filter to only list evaluation jobs that are of a certain status.""" - application_type_equals: str | None = ... - """ - A filter to only list evaluation jobs that are either model evaluations - or knowledge base evaluations. - """ - name_contains: str | None = ... - """ - A filter to only list evaluation jobs that contain a specified string in - the job name. - """ - max_results: int | None = ... - """The maximum number of results to return.""" - next_token: str | None = ... - """ - Continuation token from the previous response, for Amazon Bedrock to - list the next set of results. - """ - sort_by: str | None = ... - """ - Specifies a creation time to sort the list of evaluation jobs by when - they were created. - """ - sort_order: str | None = ... - """ - Specifies whether to sort the list of evaluation jobs by either - ascending or descending order. - """ - -@dataclass(kw_only=True) -class ListEvaluationJobsOutput(_SerdeShape): - """Dataclass for ListEvaluationJobsOutput structure.""" - - next_token: str | None = ... - """ - Continuation token from the previous response, for Amazon Bedrock to - list the next set of results. - """ - job_summaries: list[EvaluationSummary] | None = ... - """A list of summaries of the evaluation jobs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFoundationModelAgreementOffersInput(_SerdeShape): - """Dataclass for ListFoundationModelAgreementOffersInput structure.""" - - model_id: str | None = ... - """Model Id of the foundation model.""" - offer_type: str | None = ... - """Type of offer associated with the model.""" - -@dataclass(kw_only=True) -class ListFoundationModelAgreementOffersOutput(_SerdeShape): - """Dataclass for ListFoundationModelAgreementOffersOutput structure.""" - - model_id: str - """Model Id of the foundation model.""" - offers: list[Offer] - """List of the offers associated with the specified model.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFoundationModelsInput(_SerdeShape): - """Dataclass for ListFoundationModelsInput structure.""" - - by_provider: str | None = ... - """Return models belonging to the model provider that you specify.""" - by_customization_type: str | None = ... - """ - Return models that support the customization type that you specify. For - more information, see [Custom - models](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) - in the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). - """ - by_output_modality: str | None = ... - """Return models that support the output modality that you specify.""" - by_inference_type: str | None = ... - """ - Return models that support the inference type that you specify. For more - information, see [Provisioned - Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html) - in the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). - """ - -@dataclass(kw_only=True) -class ListFoundationModelsOutput(_SerdeShape): - """Dataclass for ListFoundationModelsOutput structure.""" - - model_summaries: list[FoundationModelSummary] | None = ... - """A list of Amazon Bedrock foundation models.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGuardrailsInput(_SerdeShape): - """Dataclass for ListGuardrailsInput structure.""" - - guardrail_identifier: str | None = ... - """The unique identifier of the guardrail. This can be an ID or the ARN.""" - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """ - If there are more results than were returned in the response, the - response returns a `nextToken` that you can send in another - `ListGuardrails` request to see the next batch of results. - """ - -@dataclass(kw_only=True) -class ListGuardrailsOutput(_SerdeShape): - """Dataclass for ListGuardrailsOutput structure.""" - - guardrails: list[GuardrailSummary] - """A list of objects, each of which contains details about a guardrail.""" - next_token: str | None = ... - """ - If there are more results than were returned in the response, the - response returns a `nextToken` that you can send in another - `ListGuardrails` request to see the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListImportedModelsInput(_SerdeShape): - """Dataclass for ListImportedModelsInput structure.""" - - creation_time_before: datetime | None = ... - """Return imported models that created before the specified time.""" - creation_time_after: datetime | None = ... - """Return imported models that were created after the specified time.""" - name_contains: str | None = ... - """Return imported models only if the model name contains these characters.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - sort_by: str | None = ... - """The field to sort by in the returned list of imported models.""" - sort_order: str | None = ... - """Specifies whetehr to sort the results in ascending or descending order.""" - -@dataclass(kw_only=True) -class ListImportedModelsOutput(_SerdeShape): - """Dataclass for ListImportedModelsOutput structure.""" - - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - model_summaries: list[ImportedModelSummary] | None = ... - """Model summaries.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInferenceProfilesInput(_SerdeShape): - """Dataclass for ListInferenceProfilesInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - type_equals: str | None = ... - """ - Filters for inference profiles that match the type you specify. - - - `SYSTEM_DEFINED` -- The inference profile is defined by Amazon - Bedrock. You can route inference requests across regions with these - inference profiles. - - - `APPLICATION` -- The inference profile was created by a user. This - type of inference profile can track metrics and costs when invoking - the model in it. The inference profile may route requests to one or - multiple regions. - """ - -@dataclass(kw_only=True) -class ListInferenceProfilesOutput(_SerdeShape): - """Dataclass for ListInferenceProfilesOutput structure.""" - - inference_profile_summaries: list[InferenceProfileSummary] | None = ... - """A list of information about each inference profile that you can use.""" - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListMarketplaceModelEndpointsInput(_SerdeShape): - """Dataclass for ListMarketplaceModelEndpointsInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If more - results are available, the operation returns a `NextToken` value. - """ - next_token: str | None = ... - """ - The token for the next set of results. You receive this token from a - previous `ListMarketplaceModelEndpoints` call. - """ - model_source_equals: str | None = ... - """ - If specified, only endpoints for the given model source identifier are - returned. - """ - -@dataclass(kw_only=True) -class ListMarketplaceModelEndpointsOutput(_SerdeShape): - """Dataclass for ListMarketplaceModelEndpointsOutput structure.""" - - marketplace_model_endpoints: list[MarketplaceModelEndpointSummary] | None = ... - """An array of endpoint summaries.""" - next_token: str | None = ... - """ - The token for the next set of results. Use this token to get the next - set of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListModelCopyJobsInput(_SerdeShape): - """Dataclass for ListModelCopyJobsInput structure.""" - - creation_time_after: datetime | None = ... - """Filters for model copy jobs created after the specified time.""" - creation_time_before: datetime | None = ... - """Filters for model copy jobs created before the specified time.""" - status_equals: str | None = ... - """ - Filters for model copy jobs whose status matches the value that you - specify. - """ - source_account_equals: str | None = ... - """ - Filters for model copy jobs in which the account that the source model - belongs to is equal to the value that you specify. - """ - source_model_arn_equals: str | None = ... - """ - Filters for model copy jobs in which the Amazon Resource Name (ARN) of - the source model to is equal to the value that you specify. - """ - target_model_name_contains: str | None = ... - """ - Filters for model copy jobs in which the name of the copied model - contains the string that you specify. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - sort_by: str | None = ... - """The field to sort by in the returned list of model copy jobs.""" - sort_order: str | None = ... - """Specifies whether to sort the results in ascending or descending order.""" - -@dataclass(kw_only=True) -class ListModelCopyJobsOutput(_SerdeShape): - """Dataclass for ListModelCopyJobsOutput structure.""" - - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - model_copy_job_summaries: list[ModelCopyJobSummary] | None = ... - """A list of information about each model copy job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListModelCustomizationJobsInput(_SerdeShape): - """Dataclass for ListModelCustomizationJobsInput structure.""" - - creation_time_after: datetime | None = ... - """Return customization jobs created after the specified time.""" - creation_time_before: datetime | None = ... - """Return customization jobs created before the specified time.""" - status_equals: str | None = ... - """Return customization jobs with the specified status.""" - name_contains: str | None = ... - """ - Return customization jobs only if the job name contains these - characters. - """ - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - sort_by: str | None = ... - """The field to sort by in the returned list of jobs.""" - sort_order: str | None = ... - """The sort order of the results.""" - -@dataclass(kw_only=True) -class ListModelCustomizationJobsOutput(_SerdeShape): - """Dataclass for ListModelCustomizationJobsOutput structure.""" - - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, use this token when making another request in - the `nextToken` field to return the next batch of results. - """ - model_customization_job_summaries: list[ModelCustomizationJobSummary] | None = ... - """Job summaries.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListModelImportJobsInput(_SerdeShape): - """Dataclass for ListModelImportJobsInput structure.""" - - creation_time_after: datetime | None = ... - """Return import jobs that were created after the specified time.""" - creation_time_before: datetime | None = ... - """Return import jobs that were created before the specified time.""" - status_equals: str | None = ... - """Return imported jobs with the specified status.""" - name_contains: str | None = ... - """Return imported jobs only if the job name contains these characters.""" - max_results: int | None = ... - """ - The maximum number of results to return in the response. If the total - number of results is greater than this value, use the token returned in - the response in the `nextToken` field when making another request to - return the next batch of results. - """ - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - sort_by: str | None = ... - """The field to sort by in the returned list of imported jobs.""" - sort_order: str | None = ... - """Specifies whether to sort the results in ascending or descending order.""" - -@dataclass(kw_only=True) -class ListModelImportJobsOutput(_SerdeShape): - """Dataclass for ListModelImportJobsOutput structure.""" - - next_token: str | None = ... - """ - If the total number of results is greater than the `maxResults` value - provided in the request, enter the token returned in the `nextToken` - field in the response in this field to return the next batch of results. - """ - model_import_job_summaries: list[ModelImportJobSummary] | None = ... - """Import job summaries.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListModelInvocationJobsInput(_SerdeShape): - """Dataclass for ListModelInvocationJobsInput structure.""" - - submit_time_after: datetime | None = ... - """ - Specify a time to filter for batch inference jobs that were submitted - after the time you specify. - """ - submit_time_before: datetime | None = ... - """ - Specify a time to filter for batch inference jobs that were submitted - before the time you specify. - """ - status_equals: str | None = ... - """ - Specify a status to filter for batch inference jobs whose statuses match - the string you specify. - - The following statuses are possible: - - - Submitted -- This job has been submitted to a queue for validation. - - - Validating -- This job is being validated for the requirements - described in [Format and upload your batch inference - data](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html). - The criteria include the following: - - - Your IAM service role has access to the Amazon S3 buckets containing - your files. - - - Your files are .jsonl files and each individual record is a JSON - object in the correct format. Note that validation doesn't check if - the `modelInput` value matches the request body for the model. - - - Your files fulfill the requirements for file size and number of - records. For more information, see [Quotas for Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html). - - - Scheduled -- This job has been validated and is now in a queue. The - job will automatically start when it reaches its turn. - - - Expired -- This job timed out because it was scheduled but didn't - begin before the set timeout duration. Submit a new job request. - - - InProgress -- This job has begun. You can start viewing the results in - the output S3 location. - - - Completed -- This job has successfully completed. View the output - files in the output S3 location. - - - PartiallyCompleted -- This job has partially completed. Not all of - your records could be processed in time. View the output files in the - output S3 location. - - - Failed -- This job has failed. Check the failure message for any - further details. For further assistance, reach out to the [Amazon Web - Services Support - Center](https://console.aws.amazon.com/support/home/). - - - Stopped -- This job was stopped by a user. - - - Stopping -- This job is being stopped by a user. - """ - name_contains: str | None = ... - """ - Specify a string to filter for batch inference jobs whose names contain - the string. - """ - max_results: int | None = ... - """ - The maximum number of results to return. If there are more results than - the number that you specify, a `nextToken` value is returned. Use the - `nextToken` in a request to return the next batch of results. - """ - next_token: str | None = ... - """ - If there were more results than the value you specified in the - `maxResults` field in a previous `ListModelInvocationJobs` request, the - response would have returned a `nextToken` value. To see the next batch - of results, send the `nextToken` value in another request. - """ - sort_by: str | None = ... - """An attribute by which to sort the results.""" - sort_order: str | None = ... - """Specifies whether to sort the results by ascending or descending order.""" - -@dataclass(kw_only=True) -class ListModelInvocationJobsOutput(_SerdeShape): - """Dataclass for ListModelInvocationJobsOutput structure.""" - - next_token: str | None = ... - """ - If there are more results than can fit in the response, a `nextToken` is - returned. Use the `nextToken` in a request to return the next batch of - results. - """ - invocation_job_summaries: list[ModelInvocationJobSummary] | None = ... - """ - A list of items, each of which contains a summary about a batch - inference job. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPromptRoutersInput(_SerdeShape): - """Dataclass for ListPromptRoutersInput structure.""" - - max_results: int | None = ... - """The maximum number of prompt routers to return in one page of results.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - type: str = ... - """The type of the prompt routers, such as whether it's default or custom.""" - -@dataclass(kw_only=True) -class ListPromptRoutersOutput(_SerdeShape): - """Dataclass for ListPromptRoutersOutput structure.""" - - prompt_router_summaries: list[PromptRouterSummary] | None = ... - """A list of prompt router summaries.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListProvisionedModelThroughputsInput(_SerdeShape): - """Dataclass for ListProvisionedModelThroughputsInput structure.""" - - creation_time_after: datetime | None = ... - """ - A filter that returns Provisioned Throughputs created after the - specified time. - """ - creation_time_before: datetime | None = ... - """ - A filter that returns Provisioned Throughputs created before the - specified time. - """ - status_equals: str | None = ... - """ - A filter that returns Provisioned Throughputs if their statuses matches - the value that you specify. - """ - model_arn_equals: str | None = ... - """ - A filter that returns Provisioned Throughputs whose model Amazon - Resource Name (ARN) is equal to the value that you specify. - """ - name_contains: str | None = ... - """ - A filter that returns Provisioned Throughputs if their name contains the - expression that you specify. - """ - max_results: int | None = ... - """ - THe maximum number of results to return in the response. If there are - more results than the number you specified, the response returns a - `nextToken` value. To see the next batch of results, send the - `nextToken` value in another list request. - """ - next_token: str | None = ... - """ - If there are more results than the number you specified in the - `maxResults` field, the response returns a `nextToken` value. To see the - next batch of results, specify the `nextToken` value in this field. - """ - sort_by: str | None = ... - """The field by which to sort the returned list of Provisioned Throughputs.""" - sort_order: str | None = ... - """The sort order of the results.""" - -@dataclass(kw_only=True) -class ListProvisionedModelThroughputsOutput(_SerdeShape): - """Dataclass for ListProvisionedModelThroughputsOutput structure.""" - - next_token: str | None = ... - """ - If there are more results than the number you specified in the - `maxResults` field, this value is returned. To see the next batch of - results, include this value in the `nextToken` field in another list - request. - """ - provisioned_model_summaries: list[ProvisionedModelSummary] | None = ... - """ - A list of summaries, one for each Provisioned Throughput in the - response. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceInput(_SerdeShape): - """Dataclass for ListTagsForResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource.""" - -@dataclass(kw_only=True) -class ListTagsForResourceOutput(_SerdeShape): - """Dataclass for ListTagsForResourceOutput structure.""" - - tags: list[Tag] | None = ... - """An array of the tags associated with this resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LoggingConfig(_SerdeShape): - """Configuration fields for invocation logging.""" - - cloud_watch_config: CloudWatchConfig | None = ... - """CloudWatch logging configuration.""" - s3_config: S3Config | None = ... - """S3 configuration for storing log data.""" - text_data_delivery_enabled: bool | None = ... - """Set to include text data in the log delivery.""" - image_data_delivery_enabled: bool | None = ... - """Set to include image data in the log delivery.""" - embedding_data_delivery_enabled: bool | None = ... - """Set to include embeddings data in the log delivery.""" - video_data_delivery_enabled: bool | None = ... - """Set to include video data in the log delivery.""" - audio_data_delivery_enabled: bool | None = ... - """Set to include audio data in the log delivery.""" - -@dataclass(kw_only=True) -class MarketplaceModelEndpoint(_SerdeShape): - """ - Contains details about an endpoint for a model from Amazon Bedrock - Marketplace. - """ - - endpoint_arn: str - """The Amazon Resource Name (ARN) of the endpoint.""" - model_source_identifier: str - """ - The ARN of the model from Amazon Bedrock Marketplace that is deployed on - this endpoint. - """ - status: str | None = ... - """ - The overall status of the endpoint in Amazon Bedrock Marketplace (e.g., - ACTIVE, INACTIVE). - """ - status_message: str | None = ... - """Additional information about the overall status, if available.""" - created_at: datetime - """The timestamp when the endpoint was registered.""" - updated_at: datetime - """The timestamp when the endpoint was last updated.""" - endpoint_config: EndpointConfig - """ - The configuration of the endpoint, including the number and type of - instances used. - """ - endpoint_status: str - """ - The current status of the endpoint (e.g., Creating, InService, Updating, - Failed). - """ - endpoint_status_message: str | None = ... - """Additional information about the endpoint status, if available.""" - -@dataclass(kw_only=True) -class MarketplaceModelEndpointSummary(_SerdeShape): - """ - Provides a summary of an endpoint for a model from Amazon Bedrock - Marketplace. - """ - - endpoint_arn: str - """The Amazon Resource Name (ARN) of the endpoint.""" - model_source_identifier: str - """ - The ARN of the model from Amazon Bedrock Marketplace that is deployed on - this endpoint. - """ - status: str | None = ... - """The overall status of the endpoint in Amazon Bedrock Marketplace.""" - status_message: str | None = ... - """Additional information about the overall status, if available.""" - created_at: datetime - """The timestamp when the endpoint was created.""" - updated_at: datetime - """The timestamp when the endpoint was last updated.""" - -@dataclass(kw_only=True) -class MetadataAttributeSchema(_SerdeShape): - """ - Defines the schema for a metadata attribute used in Knowledge Base - vector searches. Metadata attributes provide additional context for - documents and can be used for filtering and reranking search results. - """ - - key: str - """ - The unique identifier for the metadata attribute. This key is used to - reference the attribute in filter expressions and reranking - configurations. - """ - type: str - """ - The data type of the metadata attribute. The type determines how the - attribute can be used in filter expressions and reranking. - """ - description: str - """ - An optional description of the metadata attribute that provides - additional context about its purpose and usage. - """ - -@dataclass(kw_only=True) -class MetadataConfigurationForReranking(_SerdeShape): - """ - Configuration for how metadata should be used during the reranking - process in Knowledge Base vector searches. This determines which - metadata fields are included or excluded when reordering search results. - """ - - selection_mode: str - """ - The mode for selecting which metadata fields to include in the reranking - process. Valid values are ALL (use all available metadata fields) or - SELECTIVE (use only specified fields). - """ - selective_mode_configuration: ( - RerankingMetadataSelectiveModeConfiguration | None - ) = ... - """ - Configuration for selective mode, which allows you to explicitly include - or exclude specific metadata fields during reranking. This is only used - when selectionMode is set to SELECTIVE. - """ - -@dataclass(kw_only=True) -class ModelConfiguration(_SerdeShape): - """ - Contains the configuration for a model used in an advanced prompt - optimization job, including the model ID and inference parameters. - """ - - model_id: str - """ - The model to use for optimization. The value depends on the resource - that you use: - - - If you use a base model, specify the model ID or its ARN. For a list - of model IDs, see [Models at a - glance](https://docs.aws.amazon.com/bedrock/latest/userguide/model-cards.html) - in the Amazon Bedrock User Guide. - - - If you use a cross-Region (system-defined) inference profile, specify - the inference profile ID or its ARN. For a list of inference profile - IDs, see [Supported Regions and models for inference - profiles](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) - in the Amazon Bedrock User Guide. - - - If you use an application inference profile, specify its full ARN, - including the account ID and Region. - """ - inference_config: InferenceConfiguration | None = ... - """ - The inference configuration for the model, including parameters such as - maximum tokens, temperature, and top-p. - """ - additional_model_request_fields: dict[str, Document] | None = ... - """ - Additional model request fields. Use this to pass model-specific - parameters that are not included in the standard inference - configuration. - """ - -class ModelCopyJobStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "InProgress" - COMPLETED = "Completed" - FAILED = "Failed" - -@dataclass(kw_only=True) -class ModelCopyJobSummary(_SerdeShape): - """ - Contains details about each model copy job. - - This data type is used in the following API operations: - - - [ListModelCopyJobs - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListModelCopyJobs.html#API_ListModelCopyJobs_ResponseSyntax) - """ - - job_arn: str - """The Amazon Resoource Name (ARN) of the model copy job.""" - status: str - """The status of the model copy job.""" - creation_time: datetime - """The time that the model copy job was created.""" - target_model_arn: str - """The Amazon Resource Name (ARN) of the copied model.""" - target_model_name: str | None = ... - """The name of the copied model.""" - source_account_id: str - """ - The unique identifier of the account that the model being copied - originated from. - """ - source_model_arn: str - """The Amazon Resource Name (ARN) of the original model being copied.""" - target_model_kms_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied - model. - """ - target_model_tags: list[Tag] | None = ... - """Tags associated with the copied model.""" - failure_message: str | None = ... - """ - If a model fails to be copied, a message describing why the job failed - is included here. - """ - source_model_name: str | None = ... - """The name of the original model being copied.""" - -class ModelCustomization(UnknownEnumMixin, StrEnum): - FINE_TUNING = "FINE_TUNING" - CONTINUED_PRE_TRAINING = "CONTINUED_PRE_TRAINING" - DISTILLATION = "DISTILLATION" - -class ModelCustomizationJobStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "InProgress" - COMPLETED = "Completed" - FAILED = "Failed" - STOPPING = "Stopping" - STOPPED = "Stopped" - -@dataclass(kw_only=True) -class ModelCustomizationJobSummary(_SerdeShape): - """Information about one customization job""" - - job_arn: str - """Amazon Resource Name (ARN) of the customization job.""" - base_model_arn: str - """Amazon Resource Name (ARN) of the base model.""" - job_name: str - """Name of the customization job.""" - status: str - """Status of the customization job.""" - status_details: StatusDetails | None = ... - """Details about the status of the data processing sub-task of the job.""" - last_modified_time: datetime | None = ... - """Time that the customization job was last modified.""" - creation_time: datetime - """Creation time of the custom model.""" - end_time: datetime | None = ... - """Time that the customization job ended.""" - custom_model_arn: str | None = ... - """Amazon Resource Name (ARN) of the custom model.""" - custom_model_name: str | None = ... - """Name of the custom model.""" - customization_type: str | None = ... - """ - Specifies whether to carry out continued pre-training of a model or - whether to fine-tune it. For more information, see [Custom - models](https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html). - """ - -@dataclass -class ModelDataSourceS3DataSource(_SerdeShape): - """The Amazon S3 data source of the model to import.""" - - value: S3DataSource - -@dataclass -class ModelDataSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ModelDataSource = Union[ModelDataSourceS3DataSource | ModelDataSourceUnknown] -"""The data source of the model to import.""" - -class _ModelDataSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ModelDataSource: ... - -@dataclass(kw_only=True) -class ModelEnforcement(_SerdeShape): - """Model-specific information for the enforced guardrail configuration.""" - - included_models: list[str] - """Models to enforce the guardrail on.""" - excluded_models: list[str] - """Models to exclude from enforcement of the guardrail.""" - -class ModelImportJobStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "InProgress" - COMPLETED = "Completed" - FAILED = "Failed" - -@dataclass(kw_only=True) -class ModelImportJobSummary(_SerdeShape): - """Information about the import job.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the import job.""" - job_name: str - """The name of the import job.""" - status: str - """The status of the imported job.""" - last_modified_time: datetime | None = ... - """The time when the import job was last modified.""" - creation_time: datetime - """The time import job was created.""" - end_time: datetime | None = ... - """The time when import job ended.""" - imported_model_arn: str | None = ... - """The Amazon resource Name (ARN) of the imported model.""" - imported_model_name: str | None = ... - """The name of the imported model.""" - -@dataclass -class ModelInvocationJobInputDataConfigS3InputDataConfig(_SerdeShape): - """Contains the configuration of the S3 location of the input data.""" - - value: ModelInvocationJobS3InputDataConfig - -@dataclass -class ModelInvocationJobInputDataConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ModelInvocationJobInputDataConfig = Union[ - ModelInvocationJobInputDataConfigS3InputDataConfig - | ModelInvocationJobInputDataConfigUnknown -] -"""Details about the location of the input to the batch inference job.""" - -class _ModelInvocationJobInputDataConfigDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ModelInvocationJobInputDataConfig: ... - -@dataclass -class ModelInvocationJobOutputDataConfigS3OutputDataConfig(_SerdeShape): - """Contains the configuration of the S3 location of the output data.""" - - value: ModelInvocationJobS3OutputDataConfig - -@dataclass -class ModelInvocationJobOutputDataConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ModelInvocationJobOutputDataConfig = Union[ - ModelInvocationJobOutputDataConfigS3OutputDataConfig - | ModelInvocationJobOutputDataConfigUnknown -] -"""Contains the configuration of the S3 location of the output data.""" - -class _ModelInvocationJobOutputDataConfigDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ModelInvocationJobOutputDataConfig: ... - -@dataclass(kw_only=True) -class ModelInvocationJobS3InputDataConfig(_SerdeShape): - """Contains the configuration of the S3 location of the input data.""" - - s3_input_format: str | None = ... - """The format of the input data.""" - s3_uri: str - """The S3 location of the input data.""" - s3_bucket_owner: str | None = ... - """ - The ID of the Amazon Web Services account that owns the S3 bucket - containing the input data. - """ - -@dataclass(kw_only=True) -class ModelInvocationJobS3OutputDataConfig(_SerdeShape): - """Contains the configuration of the S3 location of the output data.""" - - s3_uri: str - """The S3 location of the output data.""" - s3_encryption_key_id: str | None = ... - """ - The unique identifier of the key that encrypts the S3 location of the - output data. - """ - s3_bucket_owner: str | None = ... - """ - The ID of the Amazon Web Services account that owns the S3 bucket - containing the output data. - """ - -class ModelInvocationJobStatus(UnknownEnumMixin, StrEnum): - SUBMITTED = "Submitted" - IN_PROGRESS = "InProgress" - COMPLETED = "Completed" - FAILED = "Failed" - STOPPING = "Stopping" - STOPPED = "Stopped" - PARTIALLY_COMPLETED = "PartiallyCompleted" - EXPIRED = "Expired" - VALIDATING = "Validating" - SCHEDULED = "Scheduled" - -@dataclass(kw_only=True) -class ModelInvocationJobSummary(_SerdeShape): - """A summary of a batch inference job.""" - - job_arn: str - """The Amazon Resource Name (ARN) of the batch inference job.""" - job_name: str - """The name of the batch inference job.""" - model_id: str - """The unique identifier of the foundation model used for model inference.""" - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the API request - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - role_arn: str - """ - The Amazon Resource Name (ARN) of the service role with permissions to - carry out and manage batch inference. You can use the console to create - a default service role or follow the steps at [Create a service role for - batch - inference](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html). - """ - status: str | None = ... - """ - The status of the batch inference job. - - The following statuses are possible: - - - Submitted -- This job has been submitted to a queue for validation. - - - Validating -- This job is being validated for the requirements - described in [Format and upload your batch inference - data](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html). - The criteria include the following: - - - Your IAM service role has access to the Amazon S3 buckets containing - your files. - - - Your files are .jsonl files and each individual record is a JSON - object in the correct format. Note that validation doesn't check if - the `modelInput` value matches the request body for the model. - - - Your files fulfill the requirements for file size and number of - records. For more information, see [Quotas for Amazon - Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html). - - - Scheduled -- This job has been validated and is now in a queue. The - job will automatically start when it reaches its turn. - - - Expired -- This job timed out because it was scheduled but didn't - begin before the set timeout duration. Submit a new job request. - - - InProgress -- This job has begun. You can start viewing the results in - the output S3 location. - - - Completed -- This job has successfully completed. View the output - files in the output S3 location. - - - PartiallyCompleted -- This job has partially completed. Not all of - your records could be processed in time. View the output files in the - output S3 location. - - - Failed -- This job has failed. Check the failure message for any - further details. For further assistance, reach out to the [Amazon Web - Services Support - Center](https://console.aws.amazon.com/support/home/). - - - Stopped -- This job was stopped by a user. - - - Stopping -- This job is being stopped by a user. - """ - message: str | None = ... - """ - If the batch inference job failed, this field contains a message - describing why the job failed. - """ - submit_time: datetime - """The time at which the batch inference job was submitted.""" - last_modified_time: datetime | None = ... - """The time at which the batch inference job was last modified.""" - end_time: datetime | None = ... - """The time at which the batch inference job ended.""" - input_data_config: ModelInvocationJobInputDataConfig - """Details about the location of the input to the batch inference job.""" - output_data_config: ModelInvocationJobOutputDataConfig - """Details about the location of the output of the batch inference job.""" - vpc_config: VpcConfig | None = ... - """ - The configuration of the Virtual Private Cloud (VPC) for the data in the - batch inference job. For more information, see [Protect batch inference - jobs using a - VPC](https://docs.aws.amazon.com/bedrock/latest/userguide/batch-vpc). - """ - timeout_duration_in_hours: int | None = ... - """ - The number of hours after which the batch inference job was set to time - out. - """ - job_expiration_time: datetime | None = ... - """The time at which the batch inference job times or timed out.""" - model_invocation_type: str | None = ... - """The invocation endpoint for ModelInvocationJob""" - total_record_count: int | None = ... - """The total number of records in the batch inference job.""" - processed_record_count: int | None = ... - """ - The number of records that have been processed in the batch inference - job. - """ - success_record_count: int | None = ... - """ - The number of records that were successfully processed in the batch - inference job. - """ - error_record_count: int | None = ... - """The number of records that failed to process in the batch inference job.""" - -class ModelInvocationType(UnknownEnumMixin, StrEnum): - INVOKE_MODEL = "InvokeModel" - CONVERSE = "Converse" - -class ModelModality(UnknownEnumMixin, StrEnum): - TEXT = "TEXT" - IMAGE = "IMAGE" - EMBEDDING = "EMBEDDING" - -@dataclass(kw_only=True) -class ModelPackageArnDataSource(_SerdeShape): - """ - Contains the Amazon Resource Name (ARN) of a SageMaker AI model package - to use as the data source for a custom model. - """ - - model_package_arn: str - """ - The Amazon Resource Name (ARN) of the SageMaker AI model package. The - ARN must be for a model package of `restricted` type. - - To use a model package ARN, you must have the - `sagemaker:DescribeModelPackage` and `sagemaker:AccessModelPackageData` - permissions on the model package resource. - """ - -class ModelStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "Active" - CREATING = "Creating" - FAILED = "Failed" - -@dataclass(kw_only=True) -class Offer(_SerdeShape): - """An offer dictates usage terms for the model.""" - - offer_id: str | None = ... - """Offer Id for a model offer.""" - offer_token: str - """Offer token.""" - term_details: TermDetails - """Details about the terms of the offer.""" - -class OfferType(UnknownEnumMixin, StrEnum): - ALL = "ALL" - PUBLIC = "PUBLIC" - -@dataclass(kw_only=True) -class OrchestrationConfiguration(_SerdeShape): - """ - The configuration details for the model to process the prompt prior to - retrieval and response generation. - """ - - query_transformation_configuration: QueryTransformationConfiguration - """Contains configuration details for transforming the prompt.""" - -@dataclass(kw_only=True) -class OutputDataConfig(_SerdeShape): - """S3 Location of the output data.""" - - s3_uri: str - """The S3 URI where the output data is stored.""" - -class PerformanceConfigLatency(UnknownEnumMixin, StrEnum): - STANDARD = "standard" - OPTIMIZED = "optimized" - -@dataclass(kw_only=True) -class PerformanceConfiguration(_SerdeShape): - """Contains performance settings for a model.""" - - latency: str | None = ... - """ - Specifies whether to use the latency-optimized or standard version of a - model or inference profile. - """ - -@dataclass(kw_only=True) -class PricingTerm(_SerdeShape): - """Describes the usage-based pricing term.""" - - rate_card: list[DimensionalPriceRate] - """Describes a usage price for each dimension.""" - -class PromptRouterStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "AVAILABLE" - -@dataclass(kw_only=True) -class PromptRouterSummary(_SerdeShape): - """Details about a prompt router.""" - - prompt_router_name: str - """The router's name.""" - routing_criteria: RoutingCriteria - """The router's routing criteria.""" - description: str | None = ... - """The router's description.""" - created_at: datetime | None = ... - """When the router was created.""" - updated_at: datetime | None = ... - """When the router was updated.""" - prompt_router_arn: str - """The router's ARN.""" - models: list[PromptRouterTargetModel] - """The router's models.""" - fallback_model: PromptRouterTargetModel - """The router's fallback model.""" - status: str - """The router's status.""" - type: str - """The summary's type.""" - -@dataclass(kw_only=True) -class PromptRouterTargetModel(_SerdeShape): - """The target model for a prompt router.""" - - model_arn: str | None = ... - """The target model's ARN.""" - -class PromptRouterType(UnknownEnumMixin, StrEnum): - CUSTOM = "custom" - DEFAULT = "default" - -@dataclass(kw_only=True) -class PromptTemplate(_SerdeShape): - """ - The template for the prompt that's sent to the model for response - generation. - """ - - text_prompt_template: str | None = ... - """ - The template for the prompt that's sent to the model for response - generation. You can include prompt placeholders, which become replaced - before the prompt is sent to the model to provide instructions and - context to the model. In addition, you can include XML tags to delineate - meaningful sections of the prompt template. - - For more information, see [Knowledge base prompt - template](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html) - and [Use XML tags with Anthropic Claude - models](https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags). - """ - -class ProvisionedModelStatus(UnknownEnumMixin, StrEnum): - CREATING = "Creating" - IN_SERVICE = "InService" - UPDATING = "Updating" - FAILED = "Failed" - -@dataclass(kw_only=True) -class ProvisionedModelSummary(_SerdeShape): - """ - A summary of information about a Provisioned Throughput. - - This data type is used in the following API operations: - - - [ListProvisionedThroughputs - response](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListProvisionedModelThroughputs.html#API_ListProvisionedModelThroughputs_ResponseSyntax) - """ - - provisioned_model_name: str - """The name of the Provisioned Throughput.""" - provisioned_model_arn: str - """The Amazon Resource Name (ARN) of the Provisioned Throughput.""" - model_arn: str - """ - The Amazon Resource Name (ARN) of the model associated with the - Provisioned Throughput. - """ - desired_model_arn: str - """ - The Amazon Resource Name (ARN) of the model requested to be associated - to this Provisioned Throughput. This value differs from the `modelArn` - if updating hasn't completed. - """ - foundation_model_arn: str - """ - The Amazon Resource Name (ARN) of the base model for which the - Provisioned Throughput was created, or of the base model that the custom - model for which the Provisioned Throughput was created was customized. - """ - model_units: int - """The number of model units allocated to the Provisioned Throughput.""" - desired_model_units: int - """ - The number of model units that was requested to be allocated to the - Provisioned Throughput. - """ - status: str - """The status of the Provisioned Throughput.""" - commitment_duration: str | None = ... - """The duration for which the Provisioned Throughput was committed.""" - commitment_expiration_time: datetime | None = ... - """ - The timestamp for when the commitment term of the Provisioned Throughput - expires. - """ - creation_time: datetime - """The time that the Provisioned Throughput was created.""" - last_modified_time: datetime - """The time that the Provisioned Throughput was last modified.""" - -@dataclass(kw_only=True) -class PutAccountDataRetentionInput(_SerdeShape): - """Dataclass for PutAccountDataRetentionInput structure.""" - - mode: str | None = ... - """The data retention mode to set for the account.""" - -@dataclass(kw_only=True) -class PutAccountDataRetentionOutput(_SerdeShape): - """Dataclass for PutAccountDataRetentionOutput structure.""" - - mode: str - """The data retention mode set for the account.""" - updated_at: datetime | None = ... - """The time at which the data retention mode was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutEnforcedGuardrailConfigurationInput(_SerdeShape): - """Dataclass for PutEnforcedGuardrailConfigurationInput structure.""" - - config_id: str | None = ... - """Unique ID for the account enforced configuration.""" - guardrail_inference_config: ( - AccountEnforcedGuardrailInferenceInputConfiguration | None - ) = ... - """Account-level enforced guardrail input configuration.""" - -@dataclass(kw_only=True) -class PutEnforcedGuardrailConfigurationOutput(_SerdeShape): - """Dataclass for PutEnforcedGuardrailConfigurationOutput structure.""" - - config_id: str | None = ... - """Unique ID for the account enforced configuration.""" - updated_at: datetime | None = ... - """Timestamp.""" - updated_by: str | None = ... - """The ARN of the role used to update the configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutModelInvocationLoggingConfigurationInput(_SerdeShape): - """Dataclass for PutModelInvocationLoggingConfigurationInput structure.""" - - logging_config: LoggingConfig | None = ... - """The logging configuration values to set.""" - -@dataclass(kw_only=True) -class PutModelInvocationLoggingConfigurationOutput(_SerdeShape): - """Dataclass for PutModelInvocationLoggingConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyInput(_SerdeShape): - """Dataclass for PutResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """The ARN of the Bedrock resource to which this resource policy applies.""" - resource_policy: str | None = ... - """The JSON string representing the Bedrock resource policy.""" - -@dataclass(kw_only=True) -class PutResourcePolicyOutput(_SerdeShape): - """Dataclass for PutResourcePolicyOutput structure.""" - - resource_arn: str | None = ... - """The ARN of the Bedrock resource to which this resource policy applies.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutUseCaseForModelAccessInput(_SerdeShape): - """Dataclass for PutUseCaseForModelAccessInput structure.""" - - form_data: bytes | None = ... - """Put customer profile Request.""" - -@dataclass(kw_only=True) -class PutUseCaseForModelAccessOutput(_SerdeShape): - """Dataclass for PutUseCaseForModelAccessOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class QueryTransformationConfiguration(_SerdeShape): - """The configuration details for transforming the prompt.""" - - type: str - """The type of transformation to apply to the prompt.""" - -class QueryTransformationType(UnknownEnumMixin, StrEnum): - QUERY_DECOMPOSITION = "QUERY_DECOMPOSITION" - -@dataclass -class RAGConfigKnowledgeBaseConfig(_SerdeShape): - """ - Contains configuration details for knowledge base retrieval and response - generation. - """ - - value: KnowledgeBaseConfig - -@dataclass -class RAGConfigPrecomputedRagSourceConfig(_SerdeShape): - """ - Contains configuration details about the RAG source used to generate - inference response data for a Knowledge Base evaluation job. - """ - - value: EvaluationPrecomputedRagSourceConfig - -@dataclass -class RAGConfigUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RAGConfig = Union[ - RAGConfigKnowledgeBaseConfig - | RAGConfigPrecomputedRagSourceConfig - | RAGConfigUnknown -] -""" -Contains configuration details for retrieval of information and response -generation. -""" - -class _RAGConfigDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RAGConfig: ... - -@dataclass(kw_only=True) -class RatingScaleItem(_SerdeShape): - """ - Defines the value and corresponding definition for one rating in a - custom metric rating scale. - """ - - definition: str - """Defines the definition for one rating in a custom metric rating scale.""" - value: RatingScaleItemValue - """Defines the value for one rating in a custom metric rating scale.""" - -@dataclass -class RatingScaleItemValueStringValue(_SerdeShape): - """ - A string representing the value for a rating in a custom metric rating - scale. - """ - - value: str - -@dataclass -class RatingScaleItemValueFloatValue(_SerdeShape): - """ - A floating point number representing the value for a rating in a custom - metric rating scale. - """ - - value: float - -@dataclass -class RatingScaleItemValueUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RatingScaleItemValue = Union[ - RatingScaleItemValueStringValue - | RatingScaleItemValueFloatValue - | RatingScaleItemValueUnknown -] -"""Defines the value for one rating in a custom metric rating scale.""" - -class _RatingScaleItemValueDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RatingScaleItemValue: ... - -class ReasoningEffort(UnknownEnumMixin, StrEnum): - LOW = "low" - MEDIUM = "medium" - HIGH = "high" - -class RegionAvailability(UnknownEnumMixin, StrEnum): - AVAILABLE = "AVAILABLE" - NOT_AVAILABLE = "NOT_AVAILABLE" - -@dataclass(kw_only=True) -class RegisterMarketplaceModelEndpointInput(_SerdeShape): - """Dataclass for RegisterMarketplaceModelEndpointInput structure.""" - - endpoint_identifier: str | None = ... - """ - The ARN of the Amazon SageMaker endpoint you want to register with - Amazon Bedrock Marketplace. - """ - model_source_identifier: str | None = ... - """ - The ARN of the model from Amazon Bedrock Marketplace that is deployed on - the endpoint. - """ - -@dataclass(kw_only=True) -class RegisterMarketplaceModelEndpointOutput(_SerdeShape): - """Dataclass for RegisterMarketplaceModelEndpointOutput structure.""" - - marketplace_model_endpoint: MarketplaceModelEndpoint - """Details about the registered endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RequestMetadataBaseFilters(_SerdeShape): - """ - A mapping of a metadata key to a value that it should or should not - equal. - """ - - equals: dict[str, str] | None = ... - """Include results where the key equals the value.""" - not_equals: dict[str, str] | None = ... - """Include results where the key does not equal the value.""" - -@dataclass -class RequestMetadataFiltersEquals(_SerdeShape): - """Include results where the key equals the value.""" - - value: dict[str, str] - -@dataclass -class RequestMetadataFiltersNotEquals(_SerdeShape): - """Include results where the key does not equal the value.""" - - value: dict[str, str] - -@dataclass -class RequestMetadataFiltersAndAll(_SerdeShape): - """Include results where all of the based filters match.""" - - value: list[RequestMetadataBaseFilters] - -@dataclass -class RequestMetadataFiltersOrAll(_SerdeShape): - """Include results where any of the base filters match.""" - - value: list[RequestMetadataBaseFilters] - -@dataclass -class RequestMetadataFiltersUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RequestMetadataFilters = Union[ - RequestMetadataFiltersEquals - | RequestMetadataFiltersNotEquals - | RequestMetadataFiltersAndAll - | RequestMetadataFiltersOrAll - | RequestMetadataFiltersUnknown -] -""" -Rules for filtering invocation logs. A filter can be a mapping of a -metadata key to a value that it should or should not equal (a base -filter), or a list of base filters that are all applied with `AND` or -`OR` logical operators -""" - -class _RequestMetadataFiltersDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RequestMetadataFilters: ... - -class RerankingMetadataSelectionMode(UnknownEnumMixin, StrEnum): - SELECTIVE = "SELECTIVE" - ALL = "ALL" - -@dataclass -class RerankingMetadataSelectiveModeConfigurationFieldsToInclude(_SerdeShape): - """ - A list of metadata field names to explicitly include in the reranking - process. Only these fields will be considered when reordering search - results. This parameter cannot be used together with fieldsToExclude. - """ - - value: list[FieldForReranking] - -@dataclass -class RerankingMetadataSelectiveModeConfigurationFieldsToExclude(_SerdeShape): - """ - A list of metadata field names to explicitly exclude from the reranking - process. All metadata fields except these will be considered when - reordering search results. This parameter cannot be used together with - fieldsToInclude. - """ - - value: list[FieldForReranking] - -@dataclass -class RerankingMetadataSelectiveModeConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RerankingMetadataSelectiveModeConfiguration = Union[ - RerankingMetadataSelectiveModeConfigurationFieldsToInclude - | RerankingMetadataSelectiveModeConfigurationFieldsToExclude - | RerankingMetadataSelectiveModeConfigurationUnknown -] -""" -Configuration for selectively including or excluding metadata fields -during the reranking process. This allows you to control which metadata -attributes are considered when reordering search results. -""" - -class _RerankingMetadataSelectiveModeConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RerankingMetadataSelectiveModeConfiguration: ... - -@dataclass(kw_only=True) -class ResourceInUseException(ServiceError, _SerdeShape): - """ - Thrown when attempting to delete or modify a resource that is currently - being used by other resources or operations. For example, trying to - delete an Automated Reasoning policy that is referenced by an active - guardrail. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """ - The specified resource Amazon Resource Name (ARN) was not found. Check - the Amazon Resource Name (ARN) and try your request again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class RetrievalFilterEquals(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value matches the value - in this object. - - The following example would return data sources with an animal attribute - whose value is 'cat': `"equals": { "key": "animal", "value": "cat" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterNotEquals(_SerdeShape): - """ - Knowledge base data sources that contain a metadata attribute whose name - matches the key and whose value doesn't match the value in this object - are returned. - - The following example would return data sources that don't contain an - animal attribute whose value is 'cat': - `"notEquals": { "key": "animal", "value": "cat" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterGreaterThan(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value is greater than the - value in this object. - - The following example would return data sources with an year attribute - whose value is greater than '1989': - `"greaterThan": { "key": "year", "value": 1989 }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterGreaterThanOrEquals(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value is greater than or - equal to the value in this object. - - The following example would return data sources with an year attribute - whose value is greater than or equal to '1989': - `"greaterThanOrEquals": { "key": "year", "value": 1989 }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterLessThan(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value is less than the - value in this object. - - The following example would return data sources with an year attribute - whose value is less than to '1989': - `"lessThan": { "key": "year", "value": 1989 }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterLessThanOrEquals(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value is less than or - equal to the value in this object. - - The following example would return data sources with an year attribute - whose value is less than or equal to '1989': - `"lessThanOrEquals": { "key": "year", "value": 1989 }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterIn(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value is in the list - specified in the value in this object. - - The following example would return data sources with an animal attribute - that is either 'cat' or 'dog': - `"in": { "key": "animal", "value": ["cat", "dog"] }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterNotIn(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value isn't in the list - specified in the value in this object. - - The following example would return data sources whose animal attribute - is neither 'cat' nor 'dog': - `"notIn": { "key": "animal", "value": ["cat", "dog"] }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterStartsWith(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value starts with the - value in this object. This filter is currently only supported for Amazon - OpenSearch Serverless vector stores. - - The following example would return data sources with an animal attribute - starts with 'ca' (for example, 'cat' or 'camel'). - `"startsWith": { "key": "animal", "value": "ca" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterListContains(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value is a list that - contains the value as one of its members. - - The following example would return data sources with an animals - attribute that is a list containing a cat member (for example, - `["dog", "cat"]`): - `"listContains": { "key": "animals", "value": "cat" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterStringContains(_SerdeShape): - """ - Knowledge base data sources are returned if they contain a metadata - attribute whose name matches the key and whose value is one of the - following: - - A string that contains the value as a substring. The following example - would return data sources with an animal attribute that contains the - substring at (for example, 'cat'): - `"stringContains": { "key": "animal", "value": "at" }` - - A list with a member that contains the value as a substring. The - following example would return data sources with an animals attribute - that is a list containing a member that contains the substring at (for - example, `["dog", "cat"]`): - `"stringContains": { "key": "animals", "value": "at" }` - """ - - value: FilterAttribute - -@dataclass -class RetrievalFilterAndAll(_SerdeShape): - """ - Knowledge base data sources are returned if their metadata attributes - fulfill all the filter conditions inside this list. - """ - - value: list[RetrievalFilter] - -@dataclass -class RetrievalFilterOrAll(_SerdeShape): - """ - Knowledge base data sources are returned if their metadata attributes - fulfill at least one of the filter conditions inside this list. - """ - - value: list[RetrievalFilter] - -@dataclass -class RetrievalFilterUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RetrievalFilter = Union[ - RetrievalFilterEquals - | RetrievalFilterNotEquals - | RetrievalFilterGreaterThan - | RetrievalFilterGreaterThanOrEquals - | RetrievalFilterLessThan - | RetrievalFilterLessThanOrEquals - | RetrievalFilterIn - | RetrievalFilterNotIn - | RetrievalFilterStartsWith - | RetrievalFilterListContains - | RetrievalFilterStringContains - | RetrievalFilterAndAll - | RetrievalFilterOrAll - | RetrievalFilterUnknown -] -""" -Specifies the filters to use on the metadata attributes/fields in the -knowledge base data sources before returning results. -""" - -class _RetrievalFilterDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RetrievalFilter: ... - -@dataclass(kw_only=True) -class RetrieveAndGenerateConfiguration(_SerdeShape): - """ - Contains configuration details for a knowledge base retrieval and - response generation. - """ - - type: str - """ - The type of resource that contains your data for retrieving information - and generating responses. - - If you choose to use `EXTERNAL_SOURCES`, then currently only Claude 3 - Sonnet models for knowledge bases are supported. - """ - knowledge_base_configuration: ( - KnowledgeBaseRetrieveAndGenerateConfiguration | None - ) = ... - """ - Contains configuration details for the knowledge base retrieval and - response generation. - """ - external_sources_configuration: ( - ExternalSourcesRetrieveAndGenerateConfiguration | None - ) = ... - """ - The configuration for the external source wrapper object in the - `retrieveAndGenerate` function. - """ - -class RetrieveAndGenerateType(UnknownEnumMixin, StrEnum): - KNOWLEDGE_BASE = "KNOWLEDGE_BASE" - EXTERNAL_SOURCES = "EXTERNAL_SOURCES" - -@dataclass(kw_only=True) -class RetrieveConfig(_SerdeShape): - """ - The configuration details for retrieving information from a knowledge - base. - """ - - knowledge_base_id: str - """The unique identifier of the knowledge base.""" - knowledge_base_retrieval_configuration: KnowledgeBaseRetrievalConfiguration - """Contains configuration details for knowledge base retrieval.""" - -@dataclass(kw_only=True) -class RFTConfig(_SerdeShape): - """ - Configuration settings for reinforcement fine-tuning (RFT), including - grader configuration and training hyperparameters. - """ - - grader_config: GraderConfig | None = ... - """ - Configuration for the grader that evaluates model responses and provides - reward signals during RFT training. - """ - hyper_parameters: RFTHyperParameters | None = ... - """ - Hyperparameters that control the reinforcement fine-tuning training - process, including learning rate, batch size, and epoch count. - """ - -@dataclass(kw_only=True) -class RFTHyperParameters(_SerdeShape): - """ - Hyperparameters for controlling the reinforcement fine-tuning training - process, including learning settings and evaluation intervals. - """ - - epoch_count: int | None = ... - """ - Number of training epochs to run during reinforcement fine-tuning. - Higher values may improve performance but increase training time. - """ - batch_size: int | None = ... - """ - Number of training samples processed in each batch during reinforcement - fine-tuning (RFT) training. Larger batches may improve training - stability. - """ - learning_rate: float | None = ... - """ - Learning rate for the reinforcement fine-tuning. Controls how quickly - the model adapts to reward signals. - """ - max_prompt_length: int | None = ... - """ - Maximum length of input prompts during RFT training, measured in tokens. - Longer prompts allow more context but increase memory usage and - training-time. - """ - training_sample_per_prompt: int | None = ... - """ - Number of response samples generated per prompt during RFT training. - More samples provide better reward signal estimation. - """ - inference_max_tokens: int | None = ... - """ - Maximum number of tokens the model can generate in response to each - prompt during RFT training. - """ - reasoning_effort: str | None = ... - """ - Level of reasoning effort applied during RFT training. Higher values may - improve response quality but increase training time. - """ - eval_interval: int | None = ... - """ - Interval between evaluation runs during RFT training, measured in - training steps. More frequent evaluation provides better monitoring. - """ - -@dataclass(kw_only=True) -class RoutingCriteria(_SerdeShape): - """Routing criteria for a prompt router.""" - - response_quality_difference: float - """The criteria's response quality difference.""" - -@dataclass(kw_only=True) -class S3Config(_SerdeShape): - """S3 configuration for storing log data.""" - - bucket_name: str - """S3 bucket name.""" - key_prefix: str | None = ... - """S3 prefix.""" - -@dataclass(kw_only=True) -class S3DataSource(_SerdeShape): - """The Amazon S3 data source of the model to import.""" - - s3_uri: str - """The URI of the Amazon S3 data source.""" - -class S3InputFormat(UnknownEnumMixin, StrEnum): - JSONL = "JSONL" - -@dataclass(kw_only=True) -class S3ObjectDoc(_SerdeShape): - """The unique wrapper object of the document from the S3 location.""" - - uri: str - """The S3 URI location for the wrapper object of the document.""" - -@dataclass(kw_only=True) -class SageMakerEndpoint(_SerdeShape): - """Specifies the configuration for a Amazon SageMaker endpoint.""" - - initial_instance_count: int - """ - The number of Amazon EC2 compute instances to deploy for initial - endpoint creation. - """ - instance_type: str - """The Amazon EC2 compute instance type to deploy for hosting the model.""" - execution_role: str - """ - The ARN of the IAM role that Amazon SageMaker can assume to access model - artifacts and docker image for deployment on Amazon EC2 compute - instances or for batch transform jobs. - """ - kms_encryption_key: str | None = ... - """ - The Amazon Web Services KMS key that Amazon SageMaker uses to encrypt - data on the storage volume attached to the Amazon EC2 compute instance - that hosts the endpoint. - """ - vpc: VpcConfig | None = ... - """The VPC configuration for the endpoint.""" - -class SearchType(UnknownEnumMixin, StrEnum): - HYBRID = "HYBRID" - SEMANTIC = "SEMANTIC" - -@dataclass(kw_only=True) -class SelectiveContentGuarding(_SerdeShape): - """Selective content guarding controls for enforced guardrails.""" - - system: str | None = ... - """Selective guarding mode for system prompts.\"""" - messages: str | None = ... - """Selective guarding mode for user messages.""" - -class SelectiveGuardingMode(UnknownEnumMixin, StrEnum): - SELECTIVE = "SELECTIVE" - COMPREHENSIVE = "COMPREHENSIVE" - -@dataclass(kw_only=True) -class ServiceQuotaExceededException(ServiceError, _SerdeShape): - """ - The number of requests exceeds the service quota. Resubmit your request - later. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceUnavailableException(ServiceError, _SerdeShape): - """Returned if the service cannot complete the request.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class SortByProvisionedModels(UnknownEnumMixin, StrEnum): - CREATION_TIME = "CreationTime" - -class SortJobsBy(UnknownEnumMixin, StrEnum): - CREATION_TIME = "CreationTime" - -class SortModelsBy(UnknownEnumMixin, StrEnum): - CREATION_TIME = "CreationTime" - -class SortOrder(UnknownEnumMixin, StrEnum): - ASCENDING = "Ascending" - DESCENDING = "Descending" - -@dataclass(kw_only=True) -class StartAutomatedReasoningPolicyBuildWorkflowInput(_SerdeShape): - """Dataclass for StartAutomatedReasoningPolicyBuildWorkflowInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy for - which to start the build workflow. - """ - build_workflow_type: str | None = ... - """ - The type of build workflow to start (e.g., DOCUMENT_INGESTION for - processing new documents, POLICY_REPAIR for fixing existing policies). - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than once. If this token matches a previous request, - Amazon Bedrock ignores the request but doesn't return an error. - """ - source_content: AutomatedReasoningPolicyBuildWorkflowSource | None = ... - """ - The source content for the build workflow, such as documents to analyze - or repair instructions for existing policies. - """ - -@dataclass(kw_only=True) -class StartAutomatedReasoningPolicyBuildWorkflowOutput(_SerdeShape): - """ - Dataclass for StartAutomatedReasoningPolicyBuildWorkflowOutput - structure. - """ - - policy_arn: str - """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" - build_workflow_id: str - """ - The unique identifier of the newly started build workflow. Use this ID - to track the workflow's progress and retrieve its results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartAutomatedReasoningPolicyTestWorkflowInput(_SerdeShape): - """Dataclass for StartAutomatedReasoningPolicyTestWorkflowInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy to - test. - """ - build_workflow_id: str | None = ... - """ - The build workflow identifier. The build workflow must show a - `COMPLETED` status before running tests. - """ - test_case_ids: list[str] | None = ... - """ - The list of test identifiers to run. If not provided, all tests for the - policy are run. - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request but doesn't return an - error. - """ - -@dataclass(kw_only=True) -class StartAutomatedReasoningPolicyTestWorkflowOutput(_SerdeShape): - """Dataclass for StartAutomatedReasoningPolicyTestWorkflowOutput structure.""" - - policy_arn: str - """ - The Amazon Resource Name (ARN) of the policy for which the test workflow - was started. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class Status(UnknownEnumMixin, StrEnum): - REGISTERED = "REGISTERED" - INCOMPATIBLE_ENDPOINT = "INCOMPATIBLE_ENDPOINT" - -@dataclass(kw_only=True) -class StatusDetails(_SerdeShape): - """ - For a Distillation job, the status details for sub-tasks of the job. - Possible statuses for each sub-task include the following: - - - NotStarted - - - InProgress - - - Completed - - - Stopping - - - Stopped - - - Failed - """ - - validation_details: ValidationDetails | None = ... - """The status details for the validation sub-task of the job.""" - data_processing_details: DataProcessingDetails | None = ... - """The status details for the data processing sub-task of the job.""" - training_details: TrainingDetails | None = ... - """The status details for the training sub-task of the job.""" - -@dataclass(kw_only=True) -class StopAdvancedPromptOptimizationJobInput(_SerdeShape): - """Stop Advanced Prompt Optimization Job Request""" - - job_identifier: str | None = ... - """The ARN or ID of the advanced prompt optimization job to stop.""" - -@dataclass(kw_only=True) -class StopAdvancedPromptOptimizationJobOutput(_SerdeShape): - """Stop Advanced Prompt Optimization Job Response""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopEvaluationJobInput(_SerdeShape): - """Dataclass for StopEvaluationJobInput structure.""" - - job_identifier: str | None = ... - """The Amazon Resource Name (ARN) of the evaluation job you want to stop.""" - -@dataclass(kw_only=True) -class StopEvaluationJobOutput(_SerdeShape): - """Dataclass for StopEvaluationJobOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopModelCustomizationJobInput(_SerdeShape): - """Dataclass for StopModelCustomizationJobInput structure.""" - - job_identifier: str | None = ... - """Job identifier of the job to stop.""" - -@dataclass(kw_only=True) -class StopModelCustomizationJobOutput(_SerdeShape): - """Dataclass for StopModelCustomizationJobOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopModelInvocationJobInput(_SerdeShape): - """Dataclass for StopModelInvocationJobInput structure.""" - - job_identifier: str | None = ... - """The Amazon Resource Name (ARN) of the batch inference job to stop.""" - -@dataclass(kw_only=True) -class StopModelInvocationJobOutput(_SerdeShape): - """Dataclass for StopModelInvocationJobOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SupportTerm(_SerdeShape): - """Describes a support term.""" - - refund_policy_description: str | None = ... - """Describes the refund policy.""" - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """Definition of the key/value pair for a tag.""" - - key: str - """Key for the tag.""" - value: str - """Value for the tag.""" - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Dataclass for TagResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource to tag.""" - tags: list[Tag] | None = ... - """Tags to associate with the resource.""" - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TeacherModelConfig(_SerdeShape): - """Details about a teacher model used for model customization.""" - - teacher_model_identifier: str - """The identifier of the teacher model.""" - max_response_length_for_inference: int | None = ... - """ - The maximum number of tokens requested when the customization job - invokes the teacher model. - """ - -@dataclass(kw_only=True) -class TermDetails(_SerdeShape): - """Describes the usage terms of an offer.""" - - usage_based_pricing_term: PricingTerm - """Describes the usage-based pricing term.""" - legal_term: LegalTerm - """Describes the legal terms.""" - support_term: SupportTerm - """Describes the support terms.""" - validity_term: ValidityTerm | None = ... - """Describes the validity terms.""" - -@dataclass(kw_only=True) -class TextInferenceConfig(_SerdeShape): - """ - The configuration details for text generation using a language model via - the `RetrieveAndGenerate` function. - """ - - temperature: float | None = ... - """ - Controls the random-ness of text generated by the language model, - influencing how much the model sticks to the most predictable next words - versus exploring more surprising options. A lower temperature value - (e.g. 0.2 or 0.3) makes model outputs more deterministic or predictable, - while a higher temperature (e.g. 0.8 or 0.9) makes the outputs more - creative or unpredictable. - """ - top_p: float | None = ... - """ - A probability distribution threshold which controls what the model - considers for the set of possible next tokens. The model will only - consider the top p% of the probability distribution when generating the - next token. - """ - max_tokens: int | None = ... - """ - The maximum number of tokens to generate in the output text. Do not use - the minimum of 0 or the maximum of 65536. The limit values described - here are arbitrary values, for actual values consult the limits defined - by your specific model. - """ - stop_sequences: list[str] | None = ... - """ - A list of sequences of characters that, if generated, will cause the - model to stop generating further tokens. Do not use a minimum length of - 1 or a maximum length of 1000. The limit values described here are - arbitrary values, for actual values consult the limits defined by your - specific model. - """ - -@dataclass(kw_only=True) -class ThrottlingException(ServiceError, _SerdeShape): - """The number of requests exceeds the limit. Resubmit your request later.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyTagsException(ServiceError, _SerdeShape): - """ - The request contains more tags than can be associated with a resource - (50 tags per resource). The maximum number of tags includes both - existing tags and those included in your current request. - """ - - resource_name: str | None = ... - """The name of the resource with too many tags.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TrainingDataConfig(_SerdeShape): - """S3 Location of the training data.""" - - s3_uri: str | None = ... - """The S3 URI where the training data is stored.""" - invocation_logs_config: InvocationLogsConfig | None = ... - """Settings for using invocation logs to customize a model.""" - -@dataclass(kw_only=True) -class TrainingDetails(_SerdeShape): - """ - For a Distillation job, the status details for the training sub-task of - the job. - """ - - status: str | None = ... - """The status of the training sub-task of the job.""" - creation_time: datetime | None = ... - """The start time of the training sub-task of the job.""" - last_modified_time: datetime | None = ... - """The latest update to the training sub-task of the job.""" - -@dataclass(kw_only=True) -class TrainingMetrics(_SerdeShape): - """Metrics associated with the custom job.""" - - training_loss: float | None = ... - """Loss metric associated with the custom job.""" - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Dataclass for UntagResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource to untag.""" - tag_keys: list[str] | None = ... - """Tag keys of the tags to remove from the resource.""" - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAutomatedReasoningPolicyAnnotationsInput(_SerdeShape): - """Dataclass for UpdateAutomatedReasoningPolicyAnnotationsInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy whose - annotations you want to update. - """ - build_workflow_id: str | None = ... - """ - The unique identifier of the build workflow whose annotations you want - to update. - """ - annotations: list[AutomatedReasoningPolicyAnnotation] | None = ... - """ - The updated annotations containing modified rules, variables, and types - for the policy. - """ - last_updated_annotation_set_hash: str | None = ... - """ - The hash value of the annotation set that you're updating. This is used - for optimistic concurrency control to prevent conflicting updates. - """ - -@dataclass(kw_only=True) -class UpdateAutomatedReasoningPolicyAnnotationsOutput(_SerdeShape): - """Dataclass for UpdateAutomatedReasoningPolicyAnnotationsOutput structure.""" - - policy_arn: str - """The Amazon Resource Name (ARN) of the Automated Reasoning policy.""" - build_workflow_id: str - """The unique identifier of the build workflow.""" - annotation_set_hash: str - """The new hash value representing the updated state of the annotations.""" - updated_at: datetime - """The timestamp when the annotations were updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAutomatedReasoningPolicyInput(_SerdeShape): - """Dataclass for UpdateAutomatedReasoningPolicyInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy to - update. This must be the ARN of a draft policy. - """ - policy_definition: AutomatedReasoningPolicyDefinition | None = ... - """ - The updated policy definition containing the formal logic rules, - variables, and types. - """ - name: str | None = ... - """The updated name for the Automated Reasoning policy.""" - description: str | None = ... - """The updated description for the Automated Reasoning policy.""" - -@dataclass(kw_only=True) -class UpdateAutomatedReasoningPolicyOutput(_SerdeShape): - """Dataclass for UpdateAutomatedReasoningPolicyOutput structure.""" - - policy_arn: str - """The Amazon Resource Name (ARN) of the updated policy.""" - name: str - """The updated name of the policy.""" - definition_hash: str - """The hash of the updated policy definition.""" - updated_at: datetime - """The timestamp when the policy was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAutomatedReasoningPolicyTestCaseInput(_SerdeShape): - """Dataclass for UpdateAutomatedReasoningPolicyTestCaseInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Automated Reasoning policy that - contains the test. - """ - test_case_id: str | None = ... - """The unique identifier of the test to update.""" - guard_content: str | None = ... - """The updated content to be validated by the Automated Reasoning policy.""" - query_content: str | None = ... - """The updated input query or prompt that generated the content.""" - last_updated_at: datetime | None = ... - """ - The timestamp when the test was last updated. This is used as a - concurrency token to prevent conflicting modifications. - """ - expected_aggregated_findings_result: str | None = ... - """The updated expected result of the Automated Reasoning check.""" - confidence_threshold: float | None = ... - """ - The updated minimum confidence level for logic validation. If null is - provided, the threshold will be removed. - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, Amazon Bedrock ignores the request, but does not return an - error. - """ - -@dataclass(kw_only=True) -class UpdateAutomatedReasoningPolicyTestCaseOutput(_SerdeShape): - """Dataclass for UpdateAutomatedReasoningPolicyTestCaseOutput structure.""" - - policy_arn: str - """ - The Amazon Resource Name (ARN) of the policy that contains the updated - test. - """ - test_case_id: str - """The unique identifier of the updated test.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCustomModelDeploymentInput(_SerdeShape): - """Dataclass for UpdateCustomModelDeploymentInput structure.""" - - model_arn: str | None = ... - """ - ARN of the new custom model to deploy. This replaces the currently - deployed model. - """ - custom_model_deployment_identifier: str | None = ... - """ - Identifier of the custom model deployment to update with the new custom - model. - """ - -@dataclass(kw_only=True) -class UpdateCustomModelDeploymentOutput(_SerdeShape): - """Dataclass for UpdateCustomModelDeploymentOutput structure.""" - - custom_model_deployment_arn: str - """ARN of the custom model deployment being updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGuardrailInput(_SerdeShape): - """Dataclass for UpdateGuardrailInput structure.""" - - guardrail_identifier: str | None = ... - """The unique identifier of the guardrail. This can be an ID or the ARN.""" - name: str | None = ... - """A name for the guardrail.""" - description: str | None = ... - """A description of the guardrail.""" - topic_policy_config: GuardrailTopicPolicyConfig | None = ... - """The topic policy to configure for the guardrail.""" - content_policy_config: GuardrailContentPolicyConfig | None = ... - """The content policy to configure for the guardrail.""" - word_policy_config: GuardrailWordPolicyConfig | None = ... - """The word policy to configure for the guardrail.""" - sensitive_information_policy_config: ( - GuardrailSensitiveInformationPolicyConfig | None - ) = ... - """The sensitive information policy to configure for the guardrail.""" - contextual_grounding_policy_config: ( - GuardrailContextualGroundingPolicyConfig | None - ) = ... - """ - The contextual grounding policy configuration used to update a - guardrail. - """ - automated_reasoning_policy_config: ( - GuardrailAutomatedReasoningPolicyConfig | None - ) = ... - """ - Updated configuration for Automated Reasoning policies associated with - the guardrail. - """ - cross_region_config: GuardrailCrossRegionConfig | None = ... - """ - The system-defined guardrail profile that you're using with your - guardrail. Guardrail profiles define the destination Amazon Web Services - Regions where guardrail inference requests can be automatically routed. - - For more information, see the [Amazon Bedrock User - Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html). - """ - blocked_input_messaging: str | None = ... - """The message to return when the guardrail blocks a prompt.""" - blocked_outputs_messaging: str | None = ... - """The message to return when the guardrail blocks a model response.""" - kms_key_id: str | None = ... - """The ARN of the KMS key with which to encrypt the guardrail.""" - -@dataclass(kw_only=True) -class UpdateGuardrailOutput(_SerdeShape): - """Dataclass for UpdateGuardrailOutput structure.""" - - guardrail_id: str - """The unique identifier of the guardrail""" - guardrail_arn: str - """The ARN of the guardrail.""" - version: str - """The version of the guardrail.""" - updated_at: datetime - """The date and time at which the guardrail was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateMarketplaceModelEndpointInput(_SerdeShape): - """Dataclass for UpdateMarketplaceModelEndpointInput structure.""" - - endpoint_arn: str | None = ... - """The Amazon Resource Name (ARN) of the endpoint you want to update.""" - endpoint_config: EndpointConfig | None = ... - """ - The new configuration for the endpoint, including the number and type of - instances to use. - """ - client_request_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. This token is listed as not required because - Amazon Web Services SDKs automatically generate it for you and set this - parameter. If you're not using the Amazon Web Services SDK or the CLI, - you must provide this token or the action will fail. - """ - -@dataclass(kw_only=True) -class UpdateMarketplaceModelEndpointOutput(_SerdeShape): - """Dataclass for UpdateMarketplaceModelEndpointOutput structure.""" - - marketplace_model_endpoint: MarketplaceModelEndpoint - """Details about the updated endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateProvisionedModelThroughputInput(_SerdeShape): - """Dataclass for UpdateProvisionedModelThroughputInput structure.""" - - provisioned_model_id: str | None = ... - """ - The Amazon Resource Name (ARN) or name of the Provisioned Throughput to - update. - """ - desired_provisioned_model_name: str | None = ... - """The new name for this Provisioned Throughput.""" - desired_model_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the new model to associate with this - Provisioned Throughput. You can't specify this field if this - Provisioned Throughput is associated with a base model. - - If this Provisioned Throughput is associated with a custom model, you - can specify one of the following options: - - - The base model from which the custom model was customized. - - - Another custom model that was customized from the same base model as - the custom model. - """ - -@dataclass(kw_only=True) -class UpdateProvisionedModelThroughputOutput(_SerdeShape): - """Dataclass for UpdateProvisionedModelThroughputOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ValidationDataConfig(_SerdeShape): - """Array of up to 10 validators.""" - - validators: list[Validator] - """Information about the validators.""" - -@dataclass(kw_only=True) -class ValidationDetails(_SerdeShape): - """ - For a Distillation job, the status details for the validation sub-task - of the job. - """ - - status: str | None = ... - """The status of the validation sub-task of the job.""" - creation_time: datetime | None = ... - """The start time of the validation sub-task of the job.""" - last_modified_time: datetime | None = ... - """The latest update to the validation sub-task of the job.""" - -@dataclass(kw_only=True) -class ValidationException(ServiceError, _SerdeShape): - """ - Input validation failed. Check your request parameters and retry the - request. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Validator(_SerdeShape): - """Information about a validator.""" - - s3_uri: str - """The S3 URI where the validation data is stored.""" - -@dataclass(kw_only=True) -class ValidatorMetric(_SerdeShape): - """The metric for the validator.""" - - validation_loss: float | None = ... - """The validation loss associated with this validator.""" - -@dataclass(kw_only=True) -class ValidityTerm(_SerdeShape): - """Describes the validity terms.""" - - agreement_duration: str | None = ... - """Describes the agreement duration.""" - -@dataclass(kw_only=True) -class VectorSearchBedrockRerankingConfiguration(_SerdeShape): - """ - Configuration for using Amazon Bedrock foundation models to rerank - Knowledge Base vector search results. This enables more sophisticated - relevance ranking using large language models. - """ - - model_configuration: VectorSearchBedrockRerankingModelConfiguration - """ - Configuration for the Amazon Bedrock foundation model used for - reranking. This includes the model ARN and any additional request fields - required by the model. - """ - number_of_reranked_results: int | None = ... - """ - The maximum number of results to rerank. This limits how many of the - initial vector search results will be processed by the reranking model. - A smaller number improves performance but may exclude potentially - relevant results. - """ - metadata_configuration: MetadataConfigurationForReranking | None = ... - """ - Configuration for how document metadata should be used during the - reranking process. This determines which metadata fields are included - when reordering search results. - """ - -@dataclass(kw_only=True) -class VectorSearchBedrockRerankingModelConfiguration(_SerdeShape): - """ - Configuration for the Amazon Bedrock foundation model used for reranking - vector search results. This specifies which model to use and any - additional parameters required by the model. - """ - - model_arn: str - """ - The Amazon Resource Name (ARN) of the foundation model to use for - reranking. This model processes the query and search results to - determine a more relevant ordering. - """ - additional_model_request_fields: dict[str, Document] | None = ... - """ - A list of additional fields to include in the model request during - reranking. These fields provide extra context or configuration options - specific to the selected foundation model. - """ - -@dataclass(kw_only=True) -class VectorSearchRerankingConfiguration(_SerdeShape): - """ - Configuration for reranking vector search results to improve relevance. - Reranking applies additional relevance models to reorder the initial - vector search results based on more sophisticated criteria. - """ - - type: str - """ - The type of reranking to apply to vector search results. Currently, the - only supported value is BEDROCK, which uses Amazon Bedrock foundation - models for reranking. - """ - bedrock_reranking_configuration: ( - VectorSearchBedrockRerankingConfiguration | None - ) = ... - """ - Configuration for using Amazon Bedrock foundation models to rerank - search results. This is required when the reranking type is set to - BEDROCK. - """ - -class VectorSearchRerankingConfigurationType(UnknownEnumMixin, StrEnum): - BEDROCK_RERANKING_MODEL = "BEDROCK_RERANKING_MODEL" - -@dataclass(kw_only=True) -class VpcConfig(_SerdeShape): - """ - The configuration of a virtual private cloud (VPC). For more - information, see [Protect your data using Amazon Virtual Private Cloud - and Amazon Web Services - PrivateLink](https://docs.aws.amazon.com/bedrock/latest/userguide/usingVPC.html). - """ - - subnet_ids: list[str] - """An array of IDs for each subnet in the VPC to use.""" - security_group_ids: list[str] - """An array of IDs for each security group in the VPC to use.""" - BATCH_DELETE_ADVANCED_PROMPT_OPTIMIZATION_JOB: APIOperation[ BatchDeleteAdvancedPromptOptimizationJobInput, BatchDeleteAdvancedPromptOptimizationJobOutput, diff --git a/clients/aws-sdk-bedrock/tests/test_endpoints.py b/clients/aws-sdk-bedrock/tests/test_endpoints.py index 1eb1fae37..1f255897a 100644 --- a/clients/aws-sdk-bedrock/tests/test_endpoints.py +++ b/clients/aws-sdk-bedrock/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-cloudformation/pyproject.toml b/clients/aws-sdk-cloudformation/pyproject.toml index 644dd01f9..6590a5f76 100644 --- a/clients/aws-sdk-cloudformation/pyproject.toml +++ b/clients/aws-sdk-cloudformation/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_cloudformation" version = "0.12.0" -description = "aws_sdk_cloudformation client" +description = "Python client for AWS CloudFormation" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_cloudformation"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[xml]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[xml]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/models_0.pyi b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/models_0.pyi new file mode 100644 index 000000000..ac8b8d873 --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/models_0.pyi @@ -0,0 +1,6675 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + RequiredActivatedType, + ResourceChange, + ResourceDefinition, + ResourceDetail, + ResourceIdentifierSummary, + ResourceMapping, + ResourceScanSummary, + ResourceToImport, + RollbackConfiguration, + ScanFilter, + ScannedResource, + ScannedResourceIdentifier, + ServiceError, + Stack, + StackDefinition, + StackEvent, + StackInstance, + StackInstanceFilter, + StackInstanceResourceDriftsSummary, + StackInstanceSummary, + StackRefactorAction, + StackRefactorSummary, + StackResource, + StackResourceDetail, + StackResourceDrift, + StackResourceSummary, + StackSet, + StackSetAutoDeploymentTargetSummary, + StackSetOperation, + StackSetOperationPreferences, + StackSetOperationResultSummary, + StackSetOperationSummary, + StackSetSummary, + StackSummary, + Tag, + TemplateConfiguration, + TemplateProgress, + TemplateSummary, + TemplateSummaryConfig, + TypeConfigurationDetails, + TypeConfigurationIdentifier, + TypeFilters, + TypeSummary, + TypeVersionSummary, + Warnings, + _SerdeShape, +) + +class AccountFilterType(UnknownEnumMixin, StrEnum): + NONE = "NONE" + INTERSECTION = "INTERSECTION" + DIFFERENCE = "DIFFERENCE" + UNION = "UNION" + +@dataclass(kw_only=True) +class AccountGateResult(_SerdeShape): + """ + Structure that contains the results of the account gate function which + CloudFormation invokes, if present, before proceeding with a StackSet + operation in an account and Region. + + For each account and Region, CloudFormation lets you specify a Lambda + function that encapsulates any requirements that must be met before + CloudFormation can proceed with a StackSet operation in that account and + Region. CloudFormation invokes the function each time a StackSet + operation is requested for that account and Region; if the function + returns `FAILED`, CloudFormation cancels the operation in that account + and Region, and sets the StackSet operation result status for that + account and Region to `FAILED`. + + For more information, see [Prevent failed StackSets deployments using + target account + gates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-account-gating.html) + in the *CloudFormation User Guide*. + """ + + status: str | None = ... + """ + The status of the account gate function. + + - `SUCCEEDED`: The account gate function has determined that the account + and Region passes any requirements for a StackSet operation to occur. + CloudFormation proceeds with the stack operation in that account and + Region. + + - `FAILED`: The account gate function has determined that the account + and Region doesn't meet the requirements for a StackSet operation to + occur. CloudFormation cancels the StackSet operation in that account + and Region, and sets the StackSet operation result status for that + account and Region to `FAILED`. + + - `SKIPPED`: CloudFormation has skipped calling the account gate + function for this account and Region, for one of the following + reasons: + + - An account gate function hasn't been specified for the account and + Region. CloudFormation proceeds with the StackSet operation in this + account and Region. + + - The `AWSCloudFormationStackSetExecutionRole` of the administration + account lacks permissions to invoke the function. CloudFormation + proceeds with the StackSet operation in this account and Region. + + - Either no action is necessary, or no action is possible, on the + stack. CloudFormation skips the StackSet operation in this account + and Region. + """ + status_reason: str | None = ... + """ + The reason for the account gate status assigned to this account and + Region for the StackSet operation. + """ + +class AccountGateStatus(UnknownEnumMixin, StrEnum): + SUCCEEDED = "SUCCEEDED" + FAILED = "FAILED" + SKIPPED = "SKIPPED" + +@dataclass(kw_only=True) +class AccountLimit(_SerdeShape): + """ + Describes the current CloudFormation limits for your account. + + CloudFormation has the following limits per account: + + - Number of concurrent resources + + - Number of stacks + + - Number of stack outputs + + For more information, see [Understand CloudFormation + quotas](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) + in the *CloudFormation User Guide*. + """ + + name: str | None = ... + """ + The name of the account limit. + + Values: `ConcurrentResourcesLimit` | `StackLimit` | + `StackOutputsLimit` + """ + value: int | None = ... + """The value that's associated with the account limit name.""" + +@dataclass(kw_only=True) +class ActivateOrganizationsAccessInput(_SerdeShape): + """Dataclass for ActivateOrganizationsAccessInput structure.""" + +@dataclass(kw_only=True) +class ActivateOrganizationsAccessOutput(_SerdeShape): + """Dataclass for ActivateOrganizationsAccessOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ActivateTypeInput(_SerdeShape): + """Dataclass for ActivateTypeInput structure.""" + + type: str | None = ... + """ + The extension type. + + Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, + and `PublisherId`. + """ + public_type_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the public extension. + + Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, + and `PublisherId`. + """ + publisher_id: str | None = ... + """ + The ID of the extension publisher. + + Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, + and `PublisherId`. + """ + type_name: str | None = ... + """ + The name of the extension. + + Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, + and `PublisherId`. + """ + type_name_alias: str | None = ... + """ + An alias to assign to the public extension in this account and Region. + If you specify an alias for the extension, CloudFormation treats the + alias as the extension type name within this account and Region. You + must use the alias to refer to the extension in your templates, API + calls, and CloudFormation console. + + An extension alias must be unique within a given account and Region. You + can activate the same public resource multiple times in the same account + and Region, using different type name aliases. + """ + auto_update: bool | None = ... + """ + Whether to automatically update the extension in this account and Region + when a new *minor* version is published by the extension publisher. + Major versions released by the publisher must be manually updated. + + The default is `true`. + """ + logging_config: LoggingConfig | None = ... + """Contains logging configuration information for an extension.""" + execution_role_arn: str | None = ... + """The name of the IAM execution role to use to activate the extension.""" + version_bump: str | None = ... + """ + Manually updates a previously-activated type to a new major or minor + version, if available. You can also use this parameter to update the + value of `AutoUpdate`. + + - `MAJOR`: CloudFormation updates the extension to the newest major + version, if one is available. + + - `MINOR`: CloudFormation updates the extension to the newest minor + version, if one is available. + """ + major_version: int | None = ... + """ + The major version of this extension you want to activate, if multiple + major versions are available. The default is the latest major version. + CloudFormation uses the latest available *minor* version of the major + version selected. + + You can specify `MajorVersion` or `VersionBump`, but not both. + """ + +@dataclass(kw_only=True) +class ActivateTypeOutput(_SerdeShape): + """Dataclass for ActivateTypeOutput structure.""" + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the activated extension in this + account and Region. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AfterValueFrom(UnknownEnumMixin, StrEnum): + TEMPLATE = "TEMPLATE" + +@dataclass(kw_only=True) +class AlreadyExistsException(ServiceError, _SerdeShape): + """The resource with the name requested already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Annotation(_SerdeShape): + """ + The `Annotation` data type. + + A `GetHookResult` call returns detailed information and remediation + guidance from Control Tower, Guard, Lambda, or custom Hooks for a Hook + invocation result. + """ + + annotation_name: str | None = ... + """ + An identifier for the evaluation logic that was used when invoking the + Hook. For Control Tower, this is the control ID. For Guard, this is the + rule ID. For Lambda and custom Hooks, this is a user-defined identifier. + """ + status: str | None = ... + """The status of the Hook invocation from the downstream service.""" + status_message: str | None = ... + """ + The explanation for the specific status assigned to this Hook + invocation. For example, \"Bucket does not block public access\". + """ + remediation_message: str | None = ... + """ + Suggests what to change if your Hook returns a `FAILED` status. For + example, \"Block public access to the bucket\". + """ + remediation_link: str | None = ... + """A URL that you can access for additional remediation guidance.""" + severity_level: str | None = ... + """The relative risk associated with any violations of this type.""" + +class AnnotationSeverityLevel(UnknownEnumMixin, StrEnum): + INFORMATIONAL = "INFORMATIONAL" + LOW = "LOW" + MEDIUM = "MEDIUM" + HIGH = "HIGH" + CRITICAL = "CRITICAL" + +class AnnotationStatus(UnknownEnumMixin, StrEnum): + PASSED = "PASSED" + FAILED = "FAILED" + SKIPPED = "SKIPPED" + +class AttributeChangeType(UnknownEnumMixin, StrEnum): + ADD = "Add" + REMOVE = "Remove" + MODIFY = "Modify" + SYNC_WITH_ACTUAL = "SyncWithActual" + +@dataclass(kw_only=True) +class AutoDeployment(_SerdeShape): + """ + Describes whether StackSets automatically deploys to Organizations + accounts that are added to a target organization or organizational unit + (OU). For more information, see [Enable or disable automatic deployments + for StackSets in + Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html) + in the *CloudFormation User Guide*. + """ + + enabled: bool | None = ... + """ + If set to `true`, StackSets automatically deploys additional stack + instances to Organizations accounts that are added to a target + organization or organizational unit (OU) in the specified Regions. If an + account is removed from a target organization or OU, StackSets deletes + stack instances from the account in the specified Regions. + """ + retain_stacks_on_account_removal: bool | None = ... + """ + If set to `true`, stack resources are retained when an account is + removed from a target organization or OU. If set to `false`, stack + resources are deleted. Specify only if `Enabled` is set to `True`. + """ + depends_on: list[str] | None = ... + """ + A list of StackSet ARNs that this StackSet depends on for + auto-deployment operations. When auto-deployment is triggered, + operations will be sequenced to ensure all dependencies complete + successfully before this StackSet's operation begins. + """ + +@dataclass(kw_only=True) +class BatchDescribeTypeConfigurationsError(_SerdeShape): + """ + Detailed information concerning an error generated during the setting of + configuration data for a CloudFormation extension. + """ + + error_code: str | None = ... + """The error code.""" + error_message: str | None = ... + """The error message.""" + type_configuration_identifier: TypeConfigurationIdentifier | None = ... + """ + Identifying information for the configuration of a CloudFormation + extension. + """ + +@dataclass(kw_only=True) +class BatchDescribeTypeConfigurationsInput(_SerdeShape): + """Dataclass for BatchDescribeTypeConfigurationsInput structure.""" + + type_configuration_identifiers: list[TypeConfigurationIdentifier] | None = ... + """The list of identifiers for the desired extension configurations.""" + +@dataclass(kw_only=True) +class BatchDescribeTypeConfigurationsOutput(_SerdeShape): + """Dataclass for BatchDescribeTypeConfigurationsOutput structure.""" + + errors: list[BatchDescribeTypeConfigurationsError] | None = ... + """ + A list of information concerning any errors generated during the setting + of the specified configurations. + """ + unprocessed_type_configurations: list[TypeConfigurationIdentifier] | None = ... + """ + A list of any of the specified extension configurations that + CloudFormation could not process for any reason. + """ + type_configurations: list[TypeConfigurationDetails] | None = ... + """ + A list of any of the specified extension configurations from the + CloudFormation registry. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class BeaconStackOperationStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "IN_PROGRESS" + SUCCEEDED = "SUCCEEDED" + FAILED = "FAILED" + +class BeforeValueFrom(UnknownEnumMixin, StrEnum): + PREVIOUS_DEPLOYMENT_STATE = "PREVIOUS_DEPLOYMENT_STATE" + ACTUAL_STATE = "ACTUAL_STATE" + +class CallAs(UnknownEnumMixin, StrEnum): + SELF = "SELF" + DELEGATED_ADMIN = "DELEGATED_ADMIN" + +@dataclass(kw_only=True) +class CancelUpdateStackInput(_SerdeShape): + """The input for the CancelUpdateStack action.""" + + stack_name: str | None = ... + """ + Note: + If you don't pass a parameter to `StackName`, the API returns a + response that describes all resources in the account. + + The IAM policy below can be added to IAM policies when you want to limit + resource-level permissions and avoid returning a response when no + parameter is sent in the request: + + `{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }` + + The name or the unique stack ID that's associated with the stack. + """ + client_request_token: str | None = ... + """ + A unique identifier for this `CancelUpdateStack` request. Specify this + token if you plan to retry requests so that CloudFormation knows that + you're not attempting to cancel an update on a stack with the same + name. You might retry `CancelUpdateStack` requests to ensure that + CloudFormation successfully received them. + """ + +@dataclass(kw_only=True) +class CancelUpdateStackOutput(_SerdeShape): + """Dataclass for CancelUpdateStackOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class Capability(UnknownEnumMixin, StrEnum): + CAPABILITY_IAM = "CAPABILITY_IAM" + CAPABILITY_NAMED_IAM = "CAPABILITY_NAMED_IAM" + CAPABILITY_AUTO_EXPAND = "CAPABILITY_AUTO_EXPAND" + +class Category(UnknownEnumMixin, StrEnum): + REGISTERED = "REGISTERED" + ACTIVATED = "ACTIVATED" + THIRD_PARTY = "THIRD_PARTY" + AWS_TYPES = "AWS_TYPES" + +@dataclass(kw_only=True) +class CFNRegistryException(ServiceError, _SerdeShape): + """An error occurred during a CloudFormation registry operation.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Change(_SerdeShape): + """ + The `Change` structure describes the changes CloudFormation will perform + if you execute the change set. + """ + + type: str | None = ... + """ + The type of entity that CloudFormation changes. + + - `Resource` This change is for a resource. + """ + hook_invocation_count: int | None = ... + """ + Is either `null`, if no Hooks invoke for the resource, or contains the + number of Hooks that will invoke for the resource. + """ + resource_change: ResourceChange | None = ... + """ + A `ResourceChange` structure that describes the resource and action that + CloudFormation will perform. + """ + +class ChangeAction(UnknownEnumMixin, StrEnum): + ADD = "Add" + MODIFY = "Modify" + REMOVE = "Remove" + IMPORT_ = "Import" + DYNAMIC = "Dynamic" + SYNC_WITH_ACTUAL = "SyncWithActual" + +@dataclass(kw_only=True) +class ChangeSetHook(_SerdeShape): + """Specifies the resource, the Hook, and the Hook version to be invoked.""" + + invocation_point: str | None = ... + """ + The specific point in the provisioning process where the Hook is + invoked. + """ + failure_mode: str | None = ... + """ + Specify the Hook failure mode for non-compliant resources in the + followings ways. + + - `FAIL` Stops provisioning resources. + + - `WARN` Allows provisioning to continue with a warning message. + """ + type_name: str | None = ... + """ + The unique name for your Hook. Specifies a three-part namespace for your + Hook, with a recommended pattern of `Organization::Service::Hook`. + + Note: + The following organization namespaces are reserved and can't be used in + your Hook type names: + + - `Alexa` + + - `AMZN` + + - `Amazon` + + - `ASK` + + - `AWS` + + - `Custom` + + - `Dev` + """ + type_version_id: str | None = ... + """The version ID of the type specified.""" + type_configuration_version_id: str | None = ... + """The version ID of the type configuration.""" + target_details: ChangeSetHookTargetDetails | None = ... + """Specifies details about the target that the Hook will run against.""" + +@dataclass(kw_only=True) +class ChangeSetHookResourceTargetDetails(_SerdeShape): + """Specifies `RESOURCE` type target details for activated Hooks.""" + + logical_resource_id: str | None = ... + """The resource's logical ID, which is defined in the stack's template.""" + resource_type: str | None = ... + """The type of CloudFormation resource, such as `AWS::S3::Bucket`.""" + resource_action: str | None = ... + """Specifies the action of the resource.""" + +class ChangeSetHooksStatus(UnknownEnumMixin, StrEnum): + PLANNING = "PLANNING" + PLANNED = "PLANNED" + UNAVAILABLE = "UNAVAILABLE" + +@dataclass(kw_only=True) +class ChangeSetHookTargetDetails(_SerdeShape): + """Specifies target details for an activated Hook.""" + + target_type: str | None = ... + """The Hook target type.""" + resource_target_details: ChangeSetHookResourceTargetDetails | None = ... + """Required if `TargetType` is `RESOURCE`.""" + +@dataclass(kw_only=True) +class ChangeSetNotFoundException(ServiceError, _SerdeShape): + """ + The specified change set name or ID doesn't exit. To view valid change + sets for a stack, use the `ListChangeSets` operation. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ChangeSetStatus(UnknownEnumMixin, StrEnum): + CREATE_PENDING = "CREATE_PENDING" + CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" + CREATE_COMPLETE = "CREATE_COMPLETE" + DELETE_PENDING = "DELETE_PENDING" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + DELETE_COMPLETE = "DELETE_COMPLETE" + DELETE_FAILED = "DELETE_FAILED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class ChangeSetSummary(_SerdeShape): + """ + The `ChangeSetSummary` structure describes a change set, its status, and + the stack with which it's associated. + """ + + stack_id: str | None = ... + """The ID of the stack with which the change set is associated.""" + stack_name: str | None = ... + """The name of the stack with which the change set is associated.""" + change_set_id: str | None = ... + """The ID of the change set.""" + change_set_name: str | None = ... + """The name of the change set.""" + execution_status: str | None = ... + """ + If the change set execution status is `AVAILABLE`, you can execute the + change set. If you can't execute the change set, the status indicates + why. For example, a change set might be in an `UNAVAILABLE` state + because CloudFormation is still creating it or in an `OBSOLETE` state + because the stack was already updated. + """ + status: str | None = ... + """ + The state of the change set, such as `CREATE_PENDING`, + `CREATE_COMPLETE`, or `FAILED`. + """ + status_reason: str | None = ... + """ + A description of the change set's status. For example, if your change + set is in the `FAILED` state, CloudFormation shows the error message. + """ + creation_time: datetime | None = ... + """The start time when the change set was created, in UTC.""" + description: str | None = ... + """Descriptive information about the change set.""" + include_nested_stacks: bool | None = ... + """ + Specifies the current setting of `IncludeNestedStacks` for the change + set. + """ + parent_change_set_id: str | None = ... + """The parent change set ID.""" + root_change_set_id: str | None = ... + """The root change set ID.""" + import_existing_resources: bool | None = ... + """Indicates if the change set imports resources that already exist.""" + +class ChangeSetType(UnknownEnumMixin, StrEnum): + CREATE = "CREATE" + UPDATE = "UPDATE" + IMPORT_ = "IMPORT" + +class ChangeSource(UnknownEnumMixin, StrEnum): + RESOURCE_REFERENCE = "ResourceReference" + PARAMETER_REFERENCE = "ParameterReference" + RESOURCE_ATTRIBUTE = "ResourceAttribute" + DIRECT_MODIFICATION = "DirectModification" + AUTOMATIC = "Automatic" + NO_MODIFICATION = "NoModification" + +class ChangeType(UnknownEnumMixin, StrEnum): + RESOURCE = "Resource" + +class ConcurrencyMode(UnknownEnumMixin, StrEnum): + STRICT_FAILURE_TOLERANCE = "STRICT_FAILURE_TOLERANCE" + SOFT_FAILURE_TOLERANCE = "SOFT_FAILURE_TOLERANCE" + +@dataclass(kw_only=True) +class ConcurrentResourcesLimitExceededException(ServiceError, _SerdeShape): + """ + No more than 5 generated templates can be in an `InProgress` or + `Pending` status at one time. This error is also returned if a generated + template that is in an `InProgress` or `Pending` status is attempted to + be updated or deleted. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ContinueUpdateRollbackInput(_SerdeShape): + """The input for the ContinueUpdateRollback action.""" + + stack_name: str | None = ... + """ + The name or the unique ID of the stack that you want to continue rolling + back. + + Note: + Don't specify the name of a nested stack (a stack that was created by + using the `AWS::CloudFormation::Stack` resource). Instead, use this + operation on the parent stack (the stack that contains the + `AWS::CloudFormation::Stack` resource). + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role that CloudFormation + assumes to roll back the stack. CloudFormation uses the role's + credentials to make calls on your behalf. CloudFormation always uses + this role for all future operations on the stack. Provided that users + have permission to operate on the stack, CloudFormation uses this role + even if the users don't have permission to pass it. Ensure that the + role grants least permission. + + If you don't specify a value, CloudFormation uses the role that was + previously associated with the stack. If no role is available, + CloudFormation uses a temporary session that's generated from your user + credentials. + """ + resources_to_skip: list[str] | None = ... + """ + A list of the logical IDs of the resources that CloudFormation skips + during the continue update rollback operation. You can specify only + resources that are in the `UPDATE_FAILED` state because a rollback + failed. You can't specify resources that are in the `UPDATE_FAILED` + state for other reasons, for example, because an update was canceled. To + check why a resource update failed, use the DescribeStackResources + action, and view the resource status reason. + + Warning: + Specify this property to skip rolling back resources that CloudFormation + can't successfully roll back. We recommend that you + [troubleshoot](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed) + resources before skipping them. CloudFormation sets the status of the + specified resources to `UPDATE_COMPLETE` and continues to roll back the + stack. After the rollback is complete, the state of the skipped + resources will be inconsistent with the state of the resources in the + stack template. Before performing another stack update, you must update + the stack or resources to be consistent with each other. If you don't, + subsequent stack updates might fail, and the stack will become + unrecoverable. + + Specify the minimum number of resources required to successfully roll + back your stack. For example, a failed resource update might cause + dependent resources to fail. In this case, it might not be necessary to + skip the dependent resources. + + To skip resources that are part of nested stacks, use the following + format: `NestedStackName.ResourceLogicalID`. If you want to specify the + logical ID of a stack resource (`Type: AWS::CloudFormation::Stack`) in + the `ResourcesToSkip` list, then its corresponding embedded stack must + be in one of the following states: `DELETE_IN_PROGRESS`, + `DELETE_COMPLETE`, or `DELETE_FAILED`. + + Note: + Don't confuse a child stack's name with its corresponding logical ID + defined in the parent stack. For an example of a continue update + rollback operation with nested stacks, see [Continue rolling back from + failed nested stack + updates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html#nested-stacks). + """ + client_request_token: str | None = ... + """ + A unique identifier for this `ContinueUpdateRollback` request. Specify + this token if you plan to retry requests so that CloudFormation knows + that you're not attempting to continue the rollback to a stack with the + same name. You might retry `ContinueUpdateRollback` requests to ensure + that CloudFormation successfully received them. + """ + force_rollback: bool | None = ... + """ + Specifies whether CloudFormation forces the rollback to continue by + skipping resources currently in the `UPDATE_FAILED` state. Use this + instead of listing each resource individually in `ResourcesToSkip`. Only + resources that entered the `UPDATE_FAILED` state because a rollback + failed are skipped. If you don't specify a value, the default is + `false` and CloudFormation doesn't skip any resources. + + `ForceRollback` and `ResourcesToSkip` are mutually exclusive. Specifying + both in the same request returns a validation error. + + Warning: + We recommend that you + [troubleshoot](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed) + resources before skipping them. CloudFormation sets the status of the + skipped resources to `UPDATE_COMPLETE` and continues to roll back the + stack, including resources in nested stacks. After the rollback + completes, the skipped resources no longer match the resources in the + stack template. Before performing another stack update, you must update + the stack or resources to be consistent with each other. If you don't, + subsequent stack updates might fail, and the stack will become + unrecoverable. + + Drift detection reports skipped resources as `NOT_CHECKED`. For + guidance, see [Continue rolling back an + update](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class ContinueUpdateRollbackOutput(_SerdeShape): + """The output for a ContinueUpdateRollback operation.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateChangeSetInput(_SerdeShape): + """The input for the CreateChangeSet action.""" + + stack_name: str | None = ... + """ + The name or the unique ID of the stack for which you are creating a + change set. CloudFormation generates the change set by comparing this + stack's information with the information that you submit, such as a + modified template or different parameter input values. + """ + template_body: str | None = ... + """ + A structure that contains the body of the revised template, with a + minimum length of 1 byte and a maximum length of 51,200 bytes. + CloudFormation generates the change set by comparing this template with + the template of the stack that you specified. + + Conditional: You must specify only one of the following parameters: + `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to + `true`. + """ + template_url: str | None = ... + """ + The URL of the file that contains the revised template. The URL must + point to a template (max size: 1 MB) that's located in an Amazon S3 + bucket or a Systems Manager document. CloudFormation generates the + change set by comparing this template with the stack that you specified. + The location for an Amazon S3 bucket must start with `https://`. URLs + from S3 static websites are not supported. + + Conditional: You must specify only one of the following parameters: + `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to + `true`. + """ + use_previous_template: bool | None = ... + """ + Whether to reuse the template that's associated with the stack to + create the change set. + + When using templates with the `AWS::LanguageExtensions` transform, + provide the template instead of using `UsePreviousTemplate` to ensure + new parameter values and Systems Manager parameter updates are applied + correctly. For more information, see [AWS::LanguageExtensions + transform](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/transform-aws-languageextensions.html). + + Conditional: You must specify only one of the following parameters: + `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to + `true`. + """ + parameters: list[Parameter] | None = ... + """ + A list of `Parameter` structures that specify input parameters for the + change set. For more information, see the Parameter data type. + """ + capabilities: list[str] | None = ... + """ + In some cases, you must explicitly acknowledge that your stack template + contains certain capabilities in order for CloudFormation to create the + stack. + + - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` + + Some stack templates might include resources that can affect + permissions in your Amazon Web Services account, for example, by + creating new IAM users. For those stacks, you must explicitly + acknowledge this by specifying one of these capabilities. + + The following IAM resources require you to specify either the + `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. + + - If you have IAM resources, you can specify either capability. + + - If you have IAM resources with custom names, you *must* specify + `CAPABILITY_NAMED_IAM`. + + - If you don't specify either of these capabilities, CloudFormation + returns an `InsufficientCapabilities` error. + + If your stack template contains these resources, we suggest that you + review all permissions associated with them and edit their permissions + if necessary. + + - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) + + - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) + + - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) + + - [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html) + + - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) + + - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) + + - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) + + - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) + + For more information, see [Acknowledging IAM resources in + CloudFormation + templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). + + - `CAPABILITY_AUTO_EXPAND` + + Some template contain macros. Macros perform custom processing on + templates; this can include simple actions like find-and-replace + operations, all the way to extensive transformations of entire + templates. Because of this, users typically create a change set from + the processed template, so that they can review the changes resulting + from the macros before actually creating the stack. If your stack + template contains one or more macros, and you choose to create a stack + directly from the processed template, without first reviewing the + resulting changes in a change set, you must acknowledge this + capability. This includes the + [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) + and + [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) + transforms, which are macros hosted by CloudFormation. + + Note: + This capacity doesn't apply to creating change sets, and specifying + it when creating change sets has no effect. + + If you want to create a stack from a stack template that contains + macros *and* nested stacks, you must create or update the stack + directly from the template using the CreateStack or UpdateStack + action, and specifying this capability. + + For more information about macros, see [Perform custom processing on + CloudFormation templates with template + macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). + + Note: + Only one of the `Capabilities` and `ResourceType` parameters can be + specified. + """ + resource_types: list[str] | None = ... + """ + Specifies which resource types you can work with, such as + `AWS::EC2::Instance` or `Custom::MyCustomInstance`. + + If the list of resource types doesn't include a resource type that + you're updating, the stack update fails. By default, CloudFormation + grants permissions to all resource types. IAM uses this parameter for + condition keys in IAM policies for CloudFormation. For more information, + see [Control CloudFormation access with Identity and Access + Management](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html) + in the *CloudFormation User Guide*. + + Note: + Only one of the `Capabilities` and `ResourceType` parameters can be + specified. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role that CloudFormation + assumes when executing the change set. CloudFormation uses the role's + credentials to make calls on your behalf. CloudFormation uses this role + for all future operations on the stack. Provided that users have + permission to operate on the stack, CloudFormation uses this role even + if the users don't have permission to pass it. Ensure that the role + grants least permission. + + If you don't specify a value, CloudFormation uses the role that was + previously associated with the stack. If no role is available, + CloudFormation uses a temporary session that is generated from your user + credentials. + """ + rollback_configuration: RollbackConfiguration | None = ... + """ + The rollback triggers for CloudFormation to monitor during stack + creation and updating operations, and for the specified monitoring + period afterwards. + """ + notification_ar_ns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of Amazon SNS topics that + CloudFormation associates with the stack. To remove all associated + notification topics, specify an empty list. + """ + tags: list[Tag] | None = ... + """ + Key-value pairs to associate with this stack. CloudFormation also + propagates these tags to resources in the stack. You can specify a + maximum of 50 tags. + """ + change_set_name: str | None = ... + """ + The name of the change set. The name must be unique among all change + sets that are associated with the specified stack. + + A change set name can contain only alphanumeric, case sensitive + characters, and hyphens. It must start with an alphabetical character + and can't exceed 128 characters. + """ + client_token: str | None = ... + """ + A unique identifier for this `CreateChangeSet` request. Specify this + token if you plan to retry requests so that CloudFormation knows that + you're not attempting to create another change set with the same name. + You might retry `CreateChangeSet` requests to ensure that CloudFormation + successfully received them. + """ + description: str | None = ... + """A description to help you identify this change set.""" + change_set_type: str | None = ... + """ + The type of change set operation. To create a change set for a new + stack, specify `CREATE`. To create a change set for an existing stack, + specify `UPDATE`. To create a change set for an import operation, + specify `IMPORT`. + + If you create a change set for a new stack, CloudFormation creates a + stack with a unique stack ID, but no template or resources. The stack + will be in the `REVIEW_IN_PROGRESS` state until you execute the change + set. + + By default, CloudFormation specifies `UPDATE`. You can't use the + `UPDATE` type to create a change set for a new stack or the `CREATE` + type to create a change set for an existing stack. + """ + resources_to_import: list[ResourceToImport] | None = ... + """The resources to import into your stack.""" + include_nested_stacks: bool | None = ... + """ + Creates a change set for the all nested stacks specified in the + template. The default behavior of this action is set to `False`. To + include nested sets in a change set, specify `True`. + """ + on_stack_failure: str | None = ... + """ + Determines what action will be taken if stack creation fails. If this + parameter is specified, the `DisableRollback` parameter to the + [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) + API operation must not be specified. This must be one of these values: + + - `DELETE` - Deletes the change set if the stack creation fails. This is + only valid when the `ChangeSetType` parameter is set to `CREATE`. If + the deletion of the stack fails, the status of the stack is + `DELETE_FAILED`. + + - `DO_NOTHING` - if the stack creation fails, do nothing. This is + equivalent to specifying `true` for the `DisableRollback` parameter to + the + [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) + API operation. + + - `ROLLBACK` - if the stack creation fails, roll back the stack. This is + equivalent to specifying `false` for the `DisableRollback` parameter + to the + [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) + API operation. + + For nested stacks, when the `OnStackFailure` parameter is set to + `DELETE` for the change set for the parent stack, any failure in a child + stack will cause the parent stack creation to fail and all stacks to be + deleted. + """ + import_existing_resources: bool | None = ... + """ + Indicates if the change set auto-imports resources that already exist. + For more information, see [Import Amazon Web Services resources into a + CloudFormation stack + automatically](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/import-resources-automatically.html) + in the *CloudFormation User Guide*. + + Note: + This parameter can only import resources that have custom names in + templates. For more information, see [name + type](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html) + in the *CloudFormation User Guide*. To import resources that do not + accept custom names, such as EC2 instances, use the `ResourcesToImport` + parameter instead. + """ + deployment_mode: str | None = ... + """ + Determines how CloudFormation handles configuration drift during + deployment. + + - `REVERT_DRIFT` -- Creates a drift-aware change set that brings actual + resource states in line with template definitions. Provides a + three-way comparison between actual state, previous deployment state, + and desired state. + + For more information, see [Using drift-aware change + sets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/drift-aware-change-sets.html) + in the *CloudFormation User Guide*. + """ + deployment_config: DeploymentConfig | None = ... + """ + The deployment configuration for this stack operation, including the + deployment mode. + """ + disable_validation: bool | None = ... + """ + Set to `true` to disable pre-deployment validations in changeset or + stack operations. + + Default: `false` + """ + +@dataclass(kw_only=True) +class CreateChangeSetOutput(_SerdeShape): + """The output for the CreateChangeSet action.""" + + id: str | None = ... + """The Amazon Resource Name (ARN) of the change set.""" + stack_id: str | None = ... + """The unique ID of the stack.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatedButModifiedException(ServiceError, _SerdeShape): + """The specified resource exists, but has been changed.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGeneratedTemplateInput(_SerdeShape): + """Dataclass for CreateGeneratedTemplateInput structure.""" + + resources: list[ResourceDefinition] | None = ... + """ + An optional list of resources to be included in the generated template. + + If no resources are specified,the template will be created without any + resources. Resources can be added to the template using the + `UpdateGeneratedTemplate` API action. + """ + generated_template_name: str | None = ... + """The name assigned to the generated template.""" + stack_name: str | None = ... + """ + An optional name or ARN of a stack to use as the base stack for the + generated template. + """ + template_configuration: TemplateConfiguration | None = ... + """ + The configuration details of the generated template, including the + `DeletionPolicy` and `UpdateReplacePolicy`. + """ + +@dataclass(kw_only=True) +class CreateGeneratedTemplateOutput(_SerdeShape): + """Dataclass for CreateGeneratedTemplateOutput structure.""" + + generated_template_id: str | None = ... + """The ID of the generated template.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateStackInput(_SerdeShape): + """The input for CreateStack action.""" + + stack_name: str | None = ... + """ + The name that's associated with the stack. The name must be unique in + the Region in which you are creating the stack. + + Note: + A stack name can contain only alphanumeric characters (case sensitive) + and hyphens. It must start with an alphabetical character and can't be + longer than 128 characters. + """ + template_body: str | None = ... + """ + Structure that contains the template body with a minimum length of 1 + byte and a maximum length of 51,200 bytes. + + Conditional: You must specify either `TemplateBody` or `TemplateURL`, + but not both. + """ + template_url: str | None = ... + """ + The URL of a file that contains the template body. The URL must point to + a template (max size: 1 MB) that's located in an Amazon S3 bucket or a + Systems Manager document. The location for an Amazon S3 bucket must + start with `https://`. URLs from S3 static websites are not supported. + + Conditional: You must specify either the `TemplateBody` or the + `TemplateURL` parameter, but not both. + """ + parameters: list[Parameter] | None = ... + """ + A list of `Parameter` structures that specify input parameters for the + stack. For more information, see the + [Parameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html) + data type. + """ + disable_rollback: bool | None = ... + """ + Set to `true` to disable rollback of the stack if stack creation failed. + You can specify either `DisableRollback` or `OnFailure`, but not both. + + Default: `false` + """ + rollback_configuration: RollbackConfiguration | None = ... + """ + The rollback triggers for CloudFormation to monitor during stack + creation and updating operations, and for the specified monitoring + period afterwards. + """ + timeout_in_minutes: int | None = ... + """ + The amount of time that can pass before the stack status becomes + `CREATE_FAILED`; if `DisableRollback` is not set or is set to `false`, + the stack will be rolled back. + """ + notification_ar_ns: list[str] | None = ... + """ + The Amazon SNS topic ARNs to publish stack related events. You can find + your Amazon SNS topic ARNs using the Amazon SNS console or your Command + Line Interface (CLI). + """ + capabilities: list[str] | None = ... + """ + In some cases, you must explicitly acknowledge that your stack template + contains certain capabilities in order for CloudFormation to create the + stack. + + - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` + + Some stack templates might include resources that can affect + permissions in your Amazon Web Services account; for example, by + creating new IAM users. For those stacks, you must explicitly + acknowledge this by specifying one of these capabilities. + + The following IAM resources require you to specify either the + `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. + + - If you have IAM resources, you can specify either capability. + + - If you have IAM resources with custom names, you *must* specify + `CAPABILITY_NAMED_IAM`. + + - If you don't specify either of these capabilities, CloudFormation + returns an `InsufficientCapabilities` error. + + If your stack template contains these resources, we recommend that you + review all permissions associated with them and edit their permissions + if necessary. + + - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) + + - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) + + - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) + + - [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html) + + - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) + + - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) + + - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) + + - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) + + For more information, see [Acknowledging IAM resources in + CloudFormation + templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). + + - `CAPABILITY_AUTO_EXPAND` + + Some template contain macros. Macros perform custom processing on + templates; this can include simple actions like find-and-replace + operations, all the way to extensive transformations of entire + templates. Because of this, users typically create a change set from + the processed template, so that they can review the changes resulting + from the macros before actually creating the stack. If your stack + template contains one or more macros, and you choose to create a stack + directly from the processed template, without first reviewing the + resulting changes in a change set, you must acknowledge this + capability. This includes the + [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) + and + [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) + transforms, which are macros hosted by CloudFormation. + + If you want to create a stack from a stack template that contains + macros *and* nested stacks, you must create the stack directly from + the template using this capability. + + Warning: + You should only create stacks directly from a stack template that + contains macros if you know what processing the macro performs. + + Each macro relies on an underlying Lambda service function for + processing stack templates. Be aware that the Lambda function owner + can update the function operation without CloudFormation being + notified. + + For more information, see [Perform custom processing on CloudFormation + templates with template + macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). + + Note: + Only one of the `Capabilities` and `ResourceType` parameters can be + specified. + """ + resource_types: list[str] | None = ... + """ + Specifies which resource types you can work with, such as + `AWS::EC2::Instance` or `Custom::MyCustomInstance`. + + If the list of resource types doesn't include a resource that you're + creating, the stack creation fails. By default, CloudFormation grants + permissions to all resource types. IAM uses this parameter for + CloudFormation-specific condition keys in IAM policies. For more + information, see [Control CloudFormation access with Identity and Access + Management](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html). + + Note: + Only one of the `Capabilities` and `ResourceType` parameters can be + specified. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role that CloudFormation + assumes to create the stack. CloudFormation uses the role's credentials + to make calls on your behalf. CloudFormation always uses this role for + all future operations on the stack. Provided that users have permission + to operate on the stack, CloudFormation uses this role even if the users + don't have permission to pass it. Ensure that the role grants least + privilege. + + If you don't specify a value, CloudFormation uses the role that was + previously associated with the stack. If no role is available, + CloudFormation uses a temporary session that's generated from your user + credentials. + """ + on_failure: str | None = ... + """ + Determines what action will be taken if stack creation fails. This must + be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can specify either + `OnFailure` or `DisableRollback`, but not both. + + Note: + Although the default setting is `ROLLBACK`, there is one exception. This + exception occurs when a StackSet attempts to deploy a stack instance and + the stack instance fails to create successfully. In this case, the + `CreateStack` call overrides the default setting and sets the value of + `OnFailure` to `DELETE`. + + Default: `ROLLBACK` + """ + stack_policy_body: str | None = ... + """ + Structure that contains the stack policy body. For more information, see + [Prevent updates to stack + resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html) + in the *CloudFormation User Guide*. You can specify either the + `StackPolicyBody` or the `StackPolicyURL` parameter, but not both. + """ + stack_policy_url: str | None = ... + """ + Location of a file that contains the stack policy. The URL must point to + a policy (maximum size: 16 KB) located in an S3 bucket in the same + Region as the stack. The location for an Amazon S3 bucket must start + with `https://`. URLs from S3 static websites are not supported. + + You can specify either the `StackPolicyBody` or the `StackPolicyURL` + parameter, but not both. + """ + tags: list[Tag] | None = ... + """ + Key-value pairs to associate with this stack. CloudFormation also + propagates these tags to the resources created in the stack. A maximum + number of 50 tags can be specified. + """ + client_request_token: str | None = ... + """ + A unique identifier for this `CreateStack` request. Specify this token + if you plan to retry requests so that CloudFormation knows that you're + not attempting to create a stack with the same name. You might retry + `CreateStack` requests to ensure that CloudFormation successfully + received them. + + All events initiated by a given stack operation are assigned the same + client request token, which you can use to track operations. For + example, if you execute a `CreateStack` operation with the token + `token1`, then all the `StackEvents` generated by that operation will + have `ClientRequestToken` set as `token1`. + + In the console, stack operations display the client request token on the + Events tab. Stack operations that are initiated from the console use the + token format *Console-StackOperation-ID*, which helps you easily + identify the stack operation . For example, if you create a stack using + the console, each stack event would be assigned the same token in the + following format: + `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. + """ + enable_termination_protection: bool | None = ... + """ + Whether to enable termination protection on the specified stack. If a + user attempts to delete a stack with termination protection enabled, the + operation fails and the stack remains unchanged. For more information, + see [Protect CloudFormation stacks from being + deleted](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html) + in the *CloudFormation User Guide*. Termination protection is + deactivated on stacks by default. + + For [nested + stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html), + termination protection is set on the root stack and can't be changed + directly on the nested stack. + """ + retain_except_on_create: bool | None = ... + """ + When set to `true`, newly created resources are deleted when the + operation rolls back. This includes newly created resources marked with + a deletion policy of `Retain`. + + Default: `false` + """ + deployment_config: DeploymentConfig | None = ... + """ + The deployment configuration for this stack operation, including the + deployment mode. + """ + disable_validation: bool | None = ... + """ + Set to `true` to disable pre-deployment validations in changeset or + stack operations. + + Default: `false` + """ + +@dataclass(kw_only=True) +class CreateStackInstancesInput(_SerdeShape): + """Dataclass for CreateStackInstancesInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet that you want to create stack + instances from. + """ + accounts: list[str] | None = ... + """ + [Self-managed permissions] The account IDs of one or more Amazon Web + Services accounts that you want to create stack instances in the + specified Region(s) for. + + You can specify `Accounts` or `DeploymentTargets`, but not both. + """ + deployment_targets: DeploymentTargets | None = ... + """ + [Service-managed permissions] The Organizations accounts in which to + create stack instances in the specified Amazon Web Services Regions. + + You can specify `Accounts` or `DeploymentTargets`, but not both. + """ + regions: list[str] | None = ... + """ + The names of one or more Amazon Web Services Regions where you want to + create stack instances using the specified Amazon Web Services accounts. + """ + parameter_overrides: list[Parameter] | None = ... + """ + A list of StackSet parameters whose values you want to override in the + selected stack instances. + + Any overridden parameter values will be applied to all stack instances + in the specified accounts and Amazon Web Services Regions. When + specifying parameters and their values, be aware of how CloudFormation + sets parameter values during stack instance operations: + + - To override the current value for a parameter, include the parameter + and specify its value. + + - To leave an overridden parameter set to its present value, include the + parameter and specify `UsePreviousValue` as `true`. (You can't + specify both a value and set `UsePreviousValue` to `true`.) + + - To set an overridden parameter back to the value specified in the + StackSet, specify a parameter list but don't include the parameter in + the list. + + - To leave all parameters set to their present values, don't specify + this property at all. + + During StackSet updates, any parameter values overridden for a stack + instance aren't updated, but retain their overridden value. + + You can only override the parameter *values* that are specified in the + StackSet; to add or delete a parameter itself, use + [UpdateStackSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) + to update the StackSet template. + """ + operation_preferences: StackSetOperationPreferences | None = ... + """Preferences for how CloudFormation performs this StackSet operation.""" + operation_id: str | None = ... + """ + The unique identifier for this StackSet operation. + + The operation ID also functions as an idempotency token, to ensure that + CloudFormation performs the StackSet operation only once, even if you + retry the request multiple times. You might retry StackSet operation + requests to ensure that CloudFormation successfully received them. + + If you don't specify an operation ID, the SDK generates one + automatically. + + Repeating this StackSet operation with a new operation ID retries all + stack instances whose status is `OUTDATED`. + + This field is autopopulated if not provided. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class CreateStackInstancesOutput(_SerdeShape): + """Dataclass for CreateStackInstancesOutput structure.""" + + operation_id: str | None = ... + """The unique identifier for this StackSet operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateStackOutput(_SerdeShape): + """The output for a CreateStack action.""" + + stack_id: str | None = ... + """Unique identifier of the stack.""" + operation_id: str | None = ... + """ + A unique identifier for this stack operation that can be used to track + the operation's progress and events. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateStackRefactorInput(_SerdeShape): + """Dataclass for CreateStackRefactorInput structure.""" + + description: str | None = ... + """A description to help you identify the stack refactor.""" + enable_stack_creation: bool | None = ... + """Determines if a new stack is created with the refactor.""" + resource_mappings: list[ResourceMapping] | None = ... + """ + The mappings for the stack resource `Source` and stack resource + `Destination`. + """ + stack_definitions: list[StackDefinition] | None = ... + """The stacks being refactored.""" + +@dataclass(kw_only=True) +class CreateStackRefactorOutput(_SerdeShape): + """Dataclass for CreateStackRefactorOutput structure.""" + + stack_refactor_id: str | None = ... + """ + The ID associated with the stack refactor created from the + CreateStackRefactor action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateStackSetInput(_SerdeShape): + """Dataclass for CreateStackSetInput structure.""" + + stack_set_name: str | None = ... + """ + The name to associate with the StackSet. The name must be unique in the + Region where you create your StackSet. + + Note: + A stack name can contain only alphanumeric characters (case-sensitive) + and hyphens. It must start with an alphabetic character and can't be + longer than 128 characters. + """ + description: str | None = ... + """ + A description of the StackSet. You can use the description to identify + the StackSet's purpose or other important information. + """ + template_body: str | None = ... + """ + The structure that contains the template body, with a minimum length of + 1 byte and a maximum length of 51,200 bytes. + + Conditional: You must specify either the `TemplateBody` or the + `TemplateURL` parameter, but not both. + """ + template_url: str | None = ... + """ + The URL of a file that contains the template body. The URL must point to + a template (maximum size: 1 MB) that's located in an Amazon S3 bucket + or a Systems Manager document. The location for an Amazon S3 bucket must + start with `https://`. S3 static website URLs are not supported. + + Conditional: You must specify either the `TemplateBody` or the + `TemplateURL` parameter, but not both. + """ + stack_id: str | None = ... + """ + The stack ID you are importing into a new StackSet. Specify the Amazon + Resource Name (ARN) of the stack. + """ + parameters: list[Parameter] | None = ... + """The input parameters for the StackSet template.""" + capabilities: list[str] | None = ... + """ + In some cases, you must explicitly acknowledge that your StackSet + template contains certain capabilities in order for CloudFormation to + create the StackSet and related stack instances. + + - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` + + Some stack templates might include resources that can affect + permissions in your Amazon Web Services account; for example, by + creating new IAM users. For those StackSets, you must explicitly + acknowledge this by specifying one of these capabilities. + + The following IAM resources require you to specify either the + `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. + + - If you have IAM resources, you can specify either capability. + + - If you have IAM resources with custom names, you *must* specify + `CAPABILITY_NAMED_IAM`. + + - If you don't specify either of these capabilities, CloudFormation + returns an `InsufficientCapabilities` error. + + If your stack template contains these resources, we recommend that you + review all permissions associated with them and edit their permissions + if necessary. + + - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) + + - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) + + - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) + + - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) + + - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) + + - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) + + - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) + + For more information, see [Acknowledging IAM resources in + CloudFormation + templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). + + - `CAPABILITY_AUTO_EXPAND` + + Some templates reference macros. If your StackSet template references + one or more macros, you must create the StackSet directly from the + processed template, without first reviewing the resulting changes in a + change set. To create the StackSet directly, you must acknowledge this + capability. For more information, see [Perform custom processing on + CloudFormation templates with template + macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). + + Warning: + StackSets with service-managed permissions don't currently support + the use of macros in templates. (This includes the + [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) + and + [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) + transforms, which are macros hosted by CloudFormation.) Even if you + specify this capability for a StackSet with service-managed + permissions, if you reference a macro in your template the StackSet + operation will fail. + """ + tags: list[Tag] | None = ... + """ + The key-value pairs to associate with this StackSet and the stacks + created from it. CloudFormation also propagates these tags to supported + resources that are created in the stacks. A maximum number of 50 tags + can be specified. + + If you specify tags as part of a `CreateStackSet` action, CloudFormation + checks to see if you have the required IAM permission to tag resources. + If you don't, the entire `CreateStackSet` action fails with an + `access denied` error, and the StackSet is not created. + """ + administration_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role to use to create this + StackSet. + + Specify an IAM role only if you are using customized administrator roles + to control which users or groups can manage specific StackSets within + the same administrator account. For more information, see [Grant + self-managed + permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html) + in the *CloudFormation User Guide*. + + Valid only if the permissions model is `SELF_MANAGED`. + """ + execution_role_name: str | None = ... + """ + The name of the IAM execution role to use to create the StackSet. If you + do not specify an execution role, CloudFormation uses the + `AWSCloudFormationStackSetExecutionRole` role for the StackSet + operation. + + Specify an IAM role only if you are using customized execution roles to + control which stack resources users and groups can include in their + StackSets. + + Valid only if the permissions model is `SELF_MANAGED`. + """ + permission_model: str | None = ... + """ + Describes how the IAM roles required for StackSet operations are + created. By default, `SELF-MANAGED` is specified. + + - With `self-managed` permissions, you must create the administrator and + execution roles required to deploy to target accounts. For more + information, see [Grant self-managed + permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html). + + - With `service-managed` permissions, StackSets automatically creates + the IAM roles required to deploy to accounts managed by Organizations. + For more information, see [Activate trusted access for StackSets with + Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html). + """ + auto_deployment: AutoDeployment | None = ... + """ + Describes whether StackSets automatically deploys to Organizations + accounts that are added to the target organization or organizational + unit (OU). For more information, see [Enable or disable automatic + deployments for StackSets in + Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html) + in the *CloudFormation User Guide*. + + Required if the permissions model is `SERVICE_MANAGED`. (Not used with + self-managed permissions.) + """ + call_as: str | None = ... + """ + Specifies whether you are acting as an account administrator in the + organization's management account or as a delegated administrator in a + member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - To create a StackSet with service-managed permissions while signed in + to the management account, specify `SELF`. + + - To create a StackSet with service-managed permissions while signed in + to a delegated administrator account, specify `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + admin in the management account. For more information, see [Register a + delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + + StackSets with service-managed permissions are created in the management + account, including StackSets that are created by delegated + administrators. + + Valid only if the permissions model is `SERVICE_MANAGED`. + """ + client_request_token: str | None = ... + """ + A unique identifier for this `CreateStackSet` request. Specify this + token if you plan to retry requests so that CloudFormation knows that + you're not attempting to create another StackSet with the same name. + You might retry `CreateStackSet` requests to ensure that CloudFormation + successfully received them. + + If you don't specify an operation ID, the SDK generates one + automatically. + + This field is autopopulated if not provided. + """ + managed_execution: ManagedExecution | None = ... + """ + Describes whether CloudFormation performs non-conflicting operations + concurrently and queues conflicting operations. + """ + +@dataclass(kw_only=True) +class CreateStackSetOutput(_SerdeShape): + """Dataclass for CreateStackSetOutput structure.""" + + stack_set_id: str | None = ... + """The ID of the StackSet that you're creating.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeactivateOrganizationsAccessInput(_SerdeShape): + """Dataclass for DeactivateOrganizationsAccessInput structure.""" + +@dataclass(kw_only=True) +class DeactivateOrganizationsAccessOutput(_SerdeShape): + """Dataclass for DeactivateOrganizationsAccessOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeactivateTypeInput(_SerdeShape): + """Dataclass for DeactivateTypeInput structure.""" + + type_name: str | None = ... + """ + The type name of the extension in this account and Region. If you + specified a type name alias when enabling the extension, use the type + name alias. + + Conditional: You must specify either `Arn`, or `TypeName` and `Type`. + """ + type: str | None = ... + """ + The extension type. + + Conditional: You must specify either `Arn`, or `TypeName` and `Type`. + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the extension in this account and + Region. + + Conditional: You must specify either `Arn`, or `TypeName` and `Type`. + """ + +@dataclass(kw_only=True) +class DeactivateTypeOutput(_SerdeShape): + """Dataclass for DeactivateTypeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteChangeSetInput(_SerdeShape): + """The input for the DeleteChangeSet action.""" + + change_set_name: str | None = ... + """ + The name or Amazon Resource Name (ARN) of the change set that you want + to delete. + """ + stack_name: str | None = ... + """ + If you specified the name of a change set to delete, specify the stack + name or Amazon Resource Name (ARN) that's associated with it. + """ + +@dataclass(kw_only=True) +class DeleteChangeSetOutput(_SerdeShape): + """The output for the DeleteChangeSet action.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGeneratedTemplateInput(_SerdeShape): + """Dataclass for DeleteGeneratedTemplateInput structure.""" + + generated_template_name: str | None = ... + """The name or Amazon Resource Name (ARN) of a generated template.""" + +@dataclass(kw_only=True) +class DeleteGeneratedTemplateOutput(_SerdeShape): + """Dataclass for DeleteGeneratedTemplateOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteStackInput(_SerdeShape): + """The input for DeleteStack action.""" + + stack_name: str | None = ... + """The name or the unique stack ID that's associated with the stack.""" + retain_resources: list[str] | None = ... + """ + For stacks in the `DELETE_FAILED` state, a list of resource logical IDs + that are associated with the resources you want to retain. During + deletion, CloudFormation deletes the stack but doesn't delete the + retained resources. + + Retaining resources is useful when you can't delete a resource, such as + a non-empty S3 bucket, but you want to delete the stack. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role that CloudFormation + assumes to delete the stack. CloudFormation uses the role's credentials + to make calls on your behalf. + + If you don't specify a value, CloudFormation uses the role that was + previously associated with the stack. If no role is available, + CloudFormation uses a temporary session that's generated from your user + credentials. + """ + client_request_token: str | None = ... + """ + A unique identifier for this `DeleteStack` request. Specify this token + if you plan to retry requests so that CloudFormation knows that you're + not attempting to delete a stack with the same name. You might retry + `DeleteStack` requests to ensure that CloudFormation successfully + received them. + + All events initiated by a given stack operation are assigned the same + client request token, which you can use to track operations. For + example, if you execute a `CreateStack` operation with the token + `token1`, then all the `StackEvents` generated by that operation will + have `ClientRequestToken` set as `token1`. + + In the console, stack operations display the client request token on the + Events tab. Stack operations that are initiated from the console use the + token format *Console-StackOperation-ID*, which helps you easily + identify the stack operation . For example, if you create a stack using + the console, each stack event would be assigned the same token in the + following format: + `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. + """ + deletion_mode: str | None = ... + """ + Specifies the deletion mode for the stack. Possible values are: + + - `STANDARD` - Use the standard behavior. Specifying this value is the + same as not specifying this parameter. + + - `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a + `DELETE_FAILED` state due to resource deletion failure. + """ + deployment_config: DeploymentConfig | None = ... + """ + The deployment configuration for this stack operation, including the + deployment mode. + """ + +@dataclass(kw_only=True) +class DeleteStackInstancesInput(_SerdeShape): + """Dataclass for DeleteStackInstancesInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet that you want to delete stack + instances for. + """ + accounts: list[str] | None = ... + """ + [Self-managed permissions] The account IDs of the Amazon Web Services + accounts that you want to delete stack instances for. + + You can specify `Accounts` or `DeploymentTargets`, but not both. + """ + deployment_targets: DeploymentTargets | None = ... + """ + [Service-managed permissions] The Organizations accounts from which to + delete stack instances. + + You can specify `Accounts` or `DeploymentTargets`, but not both. + """ + regions: list[str] | None = ... + """ + The Amazon Web Services Regions where you want to delete StackSet + instances. + """ + operation_preferences: StackSetOperationPreferences | None = ... + """Preferences for how CloudFormation performs this StackSet operation.""" + retain_stacks: bool | None = ... + """ + Removes the stack instances from the specified StackSet, but doesn't + delete the stacks. You can't reassociate a retained stack or add an + existing, saved stack to a new stack set. + + For more information, see [StackSet operation + options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). + """ + operation_id: str | None = ... + """ + The unique identifier for this StackSet operation. + + If you don't specify an operation ID, the SDK generates one + automatically. + + The operation ID also functions as an idempotency token, to ensure that + CloudFormation performs the StackSet operation only once, even if you + retry the request multiple times. You can retry StackSet operation + requests to ensure that CloudFormation successfully received them. + + Repeating this StackSet operation with a new operation ID retries all + stack instances whose status is `OUTDATED`. + + This field is autopopulated if not provided. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class DeleteStackInstancesOutput(_SerdeShape): + """Dataclass for DeleteStackInstancesOutput structure.""" + + operation_id: str | None = ... + """The unique identifier for this StackSet operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteStackOutput(_SerdeShape): + """Dataclass for DeleteStackOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteStackSetInput(_SerdeShape): + """Dataclass for DeleteStackSetInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet that you're deleting. You can + obtain this value by running ListStackSets. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class DeleteStackSetOutput(_SerdeShape): + """Dataclass for DeleteStackSetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DeletionMode(UnknownEnumMixin, StrEnum): + STANDARD = "STANDARD" + FORCE_DELETE_STACK = "FORCE_DELETE_STACK" + +@dataclass(kw_only=True) +class DeploymentConfig(_SerdeShape): + """ + The deployment configuration for a stack operation, including the + deployment mode. + """ + + mode: str | None = ... + """ + Specifies the deployment mode for the stack operation. Possible values + are: + + - `STANDARD` - Use the standard deployment behavior, ensuring resources + are ready to serve traffic before completing the operation. This is + the default. You do not need to specify this value explicitly. + + - `EXPRESS` - Complete the stack operation when resource configuration + is applied, without waiting for resources to become ready to serve + traffic. Resources continue becoming ready in the background. + """ + disable_rollback: bool | None = ... + """ + Specifies whether to disable rollback of the stack if the stack + operation fails. + + Default: `false` + """ + +class DeploymentConfigMode(UnknownEnumMixin, StrEnum): + STANDARD = "STANDARD" + EXPRESS = "EXPRESS" + +class DeploymentMode(UnknownEnumMixin, StrEnum): + REVERT_DRIFT = "REVERT_DRIFT" + +@dataclass(kw_only=True) +class DeploymentTargets(_SerdeShape): + """ + Specifies the Organizations accounts where you want to create, update, + or delete stack instances. You can target either your entire + organization or specific accounts using organizational units (OUs) and + account filter options. + + CloudFormation doesn't deploy stack instances to the organization + management account, even if the organization management account is in + your organization or in an OU in your organization. + + When performing create operations, if you specify both + `OrganizationalUnitIds` and `Accounts`, you must also specify the + `AccountFilterType` property. + """ + + accounts: list[str] | None = ... + """ + The Amazon Web Services account IDs where you want to perform stack + operations. How these accounts are used depends on the + `AccountFilterType` property. + + If you have many account numbers, you can provide those accounts using + the `AccountsUrl` property instead. + """ + accounts_url: str | None = ... + """ + The Amazon S3 URL path to a file that contains a list of Amazon Web + Services account IDs. The file format must be either `.csv` or `.txt`, + and the data can be comma-separated or new-line-separated. There is + currently a 10MB limit for the data (approximately 800,000 accounts). + + This property serves the same purpose as `Accounts` but allows you to + specify a large number of accounts. + """ + organizational_unit_ids: list[str] | None = ... + """ + The organization root ID or organizational unit (OU) IDs where you want + to perform stack operations. CloudFormation will perform operations on + accounts within these OUs and their child OUs. + """ + account_filter_type: str | None = ... + """ + Refines which accounts will have stack operations performed on them by + specifying how to use the `Accounts` and `OrganizationalUnitIds` + properties together. + + The following values determine how CloudFormation selects target + accounts: + + - `INTERSECTION`: Performs stack operations only on specific individual + accounts within the selected OUs. Only accounts that are both + specified in the `Accounts` property and belong to the specified OUs + will be targeted. + + - `DIFFERENCE`: Performs stack operations on all accounts in the + selected OUs except for specific accounts listed in the `Accounts` + property. This enables you to exclude certain accounts within an OU, + such as suspended accounts. + + - `UNION`: Performs stack operations on the specified OUs plus + additional individual accounts listed in the `Accounts` property. This + is the default value if `AccountFilterType` is not provided. This lets + you target an entire OU and individual accounts from a different OU in + one request. Note that `UNION` is not supported for + `CreateStackInstances` operations. + + - `NONE`: Performs stack operations on all accounts in the specified + organizational units (OUs). + """ + +class DeprecatedStatus(UnknownEnumMixin, StrEnum): + LIVE = "LIVE" + DEPRECATED = "DEPRECATED" + +@dataclass(kw_only=True) +class DeregisterTypeInput(_SerdeShape): + """Dataclass for DeregisterTypeInput structure.""" + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + type: str | None = ... + """ + The kind of extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + type_name: str | None = ... + """ + The name of the extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + version_id: str | None = ... + """ + The ID of a specific version of the extension. The version ID is the + value at the end of the Amazon Resource Name (ARN) assigned to the + extension version when it is registered. + """ + +@dataclass(kw_only=True) +class DeregisterTypeOutput(_SerdeShape): + """Dataclass for DeregisterTypeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAccountLimitsInput(_SerdeShape): + """The input for the DescribeAccountLimits action.""" + + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class DescribeAccountLimitsOutput(_SerdeShape): + """The output for the DescribeAccountLimits action.""" + + account_limits: list[AccountLimit] | None = ... + """ + An account limit structure that contain a list of CloudFormation account + limits and their values. + """ + next_token: str | None = ... + """ + If the output exceeds 1 MB in size, a string that identifies the next + page of limits. If no additional page exists, this value is null. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeChangeSetHooksInput(_SerdeShape): + """Dataclass for DescribeChangeSetHooksInput structure.""" + + change_set_name: str | None = ... + """ + The name or Amazon Resource Name (ARN) of the change set that you want + to describe. + """ + stack_name: str | None = ... + """ + If you specified the name of a change set, specify the stack name or + stack ID (ARN) of the change set you want to describe. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + logical_resource_id: str | None = ... + """ + If specified, lists only the Hooks related to the specified + `LogicalResourceId`. + """ + +@dataclass(kw_only=True) +class DescribeChangeSetHooksOutput(_SerdeShape): + """Dataclass for DescribeChangeSetHooksOutput structure.""" + + change_set_id: str | None = ... + """The change set identifier (stack ID).""" + change_set_name: str | None = ... + """The change set name.""" + hooks: list[ChangeSetHook] | None = ... + """List of Hook objects.""" + status: str | None = ... + """Provides the status of the change set Hook.""" + next_token: str | None = ... + """Pagination token, `null` or empty if no more results.""" + stack_id: str | None = ... + """The stack identifier (stack ID).""" + stack_name: str | None = ... + """The stack name.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeChangeSetInput(_SerdeShape): + """The input for the DescribeChangeSet action.""" + + change_set_name: str | None = ... + """ + The name or Amazon Resource Name (ARN) of the change set that you want + to describe. + """ + stack_name: str | None = ... + """ + If you specified the name of a change set, specify the stack name or ID + (ARN) of the change set you want to describe. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + include_property_values: bool | None = ... + """ + If `true`, the returned changes include detailed changes in the property + values. + """ + +@dataclass(kw_only=True) +class DescribeChangeSetOutput(_SerdeShape): + """The output for the DescribeChangeSet action.""" + + change_set_name: str | None = ... + """The name of the change set.""" + change_set_id: str | None = ... + """The Amazon Resource Name (ARN) of the change set.""" + stack_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the stack that's associated with the + change set. + """ + stack_name: str | None = ... + """The name of the stack that's associated with the change set.""" + description: str | None = ... + """Information about the change set.""" + parameters: list[Parameter] | None = ... + """ + A list of `Parameter` structures that describes the input parameters and + their values used to create the change set. For more information, see + the + [Parameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html) + data type. + """ + creation_time: datetime | None = ... + """The start time when the change set was created, in UTC.""" + execution_status: str | None = ... + """ + If the change set execution status is `AVAILABLE`, you can execute the + change set. If you can't execute the change set, the status indicates + why. For example, a change set might be in an `UNAVAILABLE` state + because CloudFormation is still creating it or in an `OBSOLETE` state + because the stack was already updated. + """ + status: str | None = ... + """ + The current status of the change set, such as `CREATE_PENDING`, + `CREATE_COMPLETE`, or `FAILED`. + """ + status_reason: str | None = ... + """ + A description of the change set's status. For example, if your attempt + to create a change set failed, CloudFormation shows the error message. + """ + stack_drift_status: str | None = ... + """ + The drift status of the stack when the change set was created. Valid + values: + + - `DRIFTED` -- The stack has drifted from its last deployment. + + - `IN_SYNC` -- The stack is in sync with its last deployment. + + - `NOT_CHECKED` -- CloudFormation doesn't currently return this value. + + - `UNKNOWN` -- The drift status could not be determined. + + Only present for drift-aware change sets. + """ + notification_ar_ns: list[str] | None = ... + """ + The ARNs of the Amazon SNS topics that will be associated with the stack + if you execute the change set. + """ + rollback_configuration: RollbackConfiguration | None = ... + """ + The rollback triggers for CloudFormation to monitor during stack + creation and updating operations, and for the specified monitoring + period afterwards. + """ + capabilities: list[str] | None = ... + """ + If you execute the change set, the list of capabilities that were + explicitly acknowledged when the change set was created. + """ + tags: list[Tag] | None = ... + """ + If you execute the change set, the tags that will be associated with the + stack. + """ + changes: list[Change] | None = ... + """ + A list of `Change` structures that describes the resources + CloudFormation changes if you execute the change set. + """ + next_token: str | None = ... + """ + If the output exceeds 1 MB, a string that identifies the next page of + changes. If there is no additional page, this value is null. + """ + include_nested_stacks: bool | None = ... + """Verifies if `IncludeNestedStacks` is set to `True`.""" + parent_change_set_id: str | None = ... + """ + Specifies the change set ID of the parent change set in the current + nested change set hierarchy. + """ + root_change_set_id: str | None = ... + """ + Specifies the change set ID of the root change set in the current nested + change set hierarchy. + """ + on_stack_failure: str | None = ... + """ + Determines what action will be taken if stack creation fails. When this + parameter is specified, the `DisableRollback` parameter to the + [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) + API operation must not be specified. This must be one of these values: + + - `DELETE` - Deletes the change set if the stack creation fails. This is + only valid when the `ChangeSetType` parameter is set to `CREATE`. If + the deletion of the stack fails, the status of the stack is + `DELETE_FAILED`. + + - `DO_NOTHING` - if the stack creation fails, do nothing. This is + equivalent to specifying `true` for the `DisableRollback` parameter to + the + [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) + API operation. + + - `ROLLBACK` - if the stack creation fails, roll back the stack. This is + equivalent to specifying `false` for the `DisableRollback` parameter + to the + [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) + API operation. + """ + import_existing_resources: bool | None = ... + """ + Indicates if the change set imports resources that already exist. + + Note: + This parameter can only import resources that have [custom + names](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html) + in templates. To import resources that do not accept custom names, such + as EC2 instances, use the [resource + import](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html) + feature instead. + """ + deployment_mode: str | None = ... + """ + The deployment mode specified when the change set was created. Valid + value is `REVERT_DRIFT`. Only present for drift-aware change sets. + """ + deployment_config: DeploymentConfig | None = ... + """The deployment configuration specified when the change set was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeEventsInput(_SerdeShape): + """Dataclass for DescribeEventsInput structure.""" + + stack_name: str | None = ... + """ + The name or unique stack ID for which you want to retrieve events. If + you specified the name of a change set, specify the stack name or ID + (ARN) of the change set you want to describe. + """ + change_set_name: str | None = ... + """ + The name or Amazon Resource Name (ARN) of the change set for which you + want to retrieve events. + """ + operation_id: str | None = ... + """ + The unique identifier of the operation for which you want to retrieve + events. + """ + filters: EventFilter | None = ... + """Filters to apply when retrieving events.""" + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class DescribeEventsOutput(_SerdeShape): + """Dataclass for DescribeEventsOutput structure.""" + + operation_events: list[OperationEvent] | None = ... + """A list of operation events that match the specified criteria.""" + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call + `DescribeEvents` again and assign that token to the request object's + `NextToken` parameter. If the request returns all results, `NextToken` + is set to `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeGeneratedTemplateInput(_SerdeShape): + """Dataclass for DescribeGeneratedTemplateInput structure.""" + + generated_template_name: str | None = ... + """The name or Amazon Resource Name (ARN) of a generated template.""" + +@dataclass(kw_only=True) +class DescribeGeneratedTemplateOutput(_SerdeShape): + """Dataclass for DescribeGeneratedTemplateOutput structure.""" + + generated_template_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the generated template. The format is + `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. + For example, + `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:generatedtemplate/`*`2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc`*` `. + """ + generated_template_name: str | None = ... + """The name of the generated template.""" + resources: list[ResourceDetail] | None = ... + """ + A list of objects describing the details of the resources in the + template generation. + """ + status: str | None = ... + """ + The status of the template generation. Supported values are: + + - `CreatePending` - the creation of the template is pending. + + - `CreateInProgress` - the creation of the template is in progress. + + - `DeletePending` - the deletion of the template is pending. + + - `DeleteInProgress` - the deletion of the template is in progress. + + - `UpdatePending` - the update of the template is pending. + + - `UpdateInProgress` - the update of the template is in progress. + + - `Failed` - the template operation failed. + + - `Complete` - the template operation is complete. + """ + status_reason: str | None = ... + """ + The reason for the current template generation status. This will provide + more details if a failure happened. + """ + creation_time: datetime | None = ... + """The time the generated template was created.""" + last_updated_time: datetime | None = ... + """The time the generated template was last updated.""" + progress: TemplateProgress | None = ... + """An object describing the progress of the template generation.""" + stack_id: str | None = ... + """ + The stack ARN of the base stack if a base stack was provided when + generating the template. + """ + template_configuration: TemplateConfiguration | None = ... + """ + The configuration details of the generated template, including the + `DeletionPolicy` and `UpdateReplacePolicy`. + """ + total_warnings: int | None = ... + """ + The number of warnings generated for this template. The warnings are + found in the details of each of the resources in the template. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeOrganizationsAccessInput(_SerdeShape): + """Dataclass for DescribeOrganizationsAccessInput structure.""" + + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class DescribeOrganizationsAccessOutput(_SerdeShape): + """Dataclass for DescribeOrganizationsAccessOutput structure.""" + + status: str | None = ... + """Presents the status of the `OrganizationAccess`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribePublisherInput(_SerdeShape): + """Dataclass for DescribePublisherInput structure.""" + + publisher_id: str | None = ... + """ + The ID of the extension publisher. + + If you don't supply a `PublisherId`, and you have registered as an + extension publisher, `DescribePublisher` returns information about your + own publisher account. + """ + +@dataclass(kw_only=True) +class DescribePublisherOutput(_SerdeShape): + """Dataclass for DescribePublisherOutput structure.""" + + publisher_id: str | None = ... + """The ID of the extension publisher.""" + publisher_status: str | None = ... + """ + Whether the publisher is verified. Currently, all registered publishers + are verified. + """ + identity_provider: str | None = ... + """ + The type of account used as the identity provider when registering this + publisher with CloudFormation. + """ + publisher_profile: str | None = ... + """The URL to the publisher's profile with the identity provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeResourceScanInput(_SerdeShape): + """Dataclass for DescribeResourceScanInput structure.""" + + resource_scan_id: str | None = ... + """The Amazon Resource Name (ARN) of the resource scan.""" + +@dataclass(kw_only=True) +class DescribeResourceScanOutput(_SerdeShape): + """Dataclass for DescribeResourceScanOutput structure.""" + + resource_scan_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource scan. The format is + `arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}`. + An example is + `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:resourceScan/`*`f5b490f7-7ed4-428a-aa06-31ff25db0772`*` `. + """ + status: str | None = ... + """ + Status of the resource scan. + + IN_PROGRESS + + : The resource scan is still in progress. + + COMPLETE + + : The resource scan is complete. + + EXPIRED + + : The resource scan has expired. + + FAILED + + : The resource scan has failed. + """ + status_reason: str | None = ... + """ + The reason for the resource scan status, providing more information if a + failure happened. + """ + start_time: datetime | None = ... + """The time that the resource scan was started.""" + end_time: datetime | None = ... + """The time that the resource scan was finished.""" + percentage_completed: float | None = ... + """The percentage of the resource scan that has been completed.""" + resource_types: list[str] | None = ... + """ + The list of resource types for the specified scan. Resource types are + only available for scans with a `Status` set to `COMPLETE` or `FAILED `. + """ + resources_scanned: int | None = ... + """ + The number of resources that were listed. This is only available for + scans with a `Status` set to `COMPLETE`, `EXPIRED`, or `FAILED `. + """ + resources_read: int | None = ... + """ + The number of resources that were read. This is only available for scans + with a `Status` set to `COMPLETE`, `EXPIRED`, or `FAILED`. + + Note: + This field may be 0 if the resource scan failed with a + `ResourceScanLimitExceededException`. + """ + scan_filters: list[ScanFilter] | None = ... + """The scan filters that were used.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStackDriftDetectionStatusInput(_SerdeShape): + """Dataclass for DescribeStackDriftDetectionStatusInput structure.""" + + stack_drift_detection_id: str | None = ... + """ + The ID of the drift detection results of this operation. + + CloudFormation generates new results, with a new drift detection ID, + each time this operation is run. However, the number of drift results + CloudFormation retains for any given stack, and for how long, may vary. + """ + +@dataclass(kw_only=True) +class DescribeStackDriftDetectionStatusOutput(_SerdeShape): + """Dataclass for DescribeStackDriftDetectionStatusOutput structure.""" + + stack_id: str | None = ... + """The ID of the stack.""" + stack_drift_detection_id: str | None = ... + """ + The ID of the drift detection results of this operation. + + CloudFormation generates new results, with a new drift detection ID, + each time this operation is run. However, the number of reports + CloudFormation retains for any given stack, and for how long, may vary. + """ + stack_drift_status: str | None = ... + """ + Status of the stack's actual configuration compared to its expected + configuration. + + - `DRIFTED`: The stack differs from its expected template configuration. + A stack is considered to have drifted if one or more of its resources + have drifted. + + - `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs + from its expected template configuration. + + - `IN_SYNC`: The stack's actual configuration matches its expected + template configuration. + + - `UNKNOWN`: CloudFormation could not run drift detection for a resource + in the stack. See the `DetectionStatusReason` for details. + """ + detection_status: str | None = ... + """ + The status of the stack drift detection operation. + + - `DETECTION_COMPLETE`: The stack drift detection operation has + successfully completed for all resources in the stack that support + drift detection. (Resources that don't currently support stack + detection remain unchecked.) + + If you specified logical resource IDs for CloudFormation to use as a + filter for the stack drift detection operation, only the resources + with those logical IDs are checked for drift. + + - `DETECTION_FAILED`: The stack drift detection operation has failed for + at least one resource in the stack. Results will be available for + resources on which CloudFormation successfully completed drift + detection. + + - `DETECTION_IN_PROGRESS`: The stack drift detection operation is + currently in progress. + """ + detection_status_reason: str | None = ... + """The reason the stack drift detection operation has its current status.""" + drifted_stack_resource_count: int | None = ... + """ + Total number of stack resources that have drifted. This is NULL until + the drift detection operation reaches a status of `DETECTION_COMPLETE`. + This value will be 0 for stacks whose drift status is `IN_SYNC`. + """ + timestamp: datetime | None = ... + """Time at which the stack drift detection operation was initiated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStackEventsInput(_SerdeShape): + """The input for DescribeStackEvents action.""" + + stack_name: str | None = ... + """ + The name or the unique stack ID that's associated with the stack, which + aren't always interchangeable: + + - Running stacks: You can specify either the stack's name or its unique + stack ID. + + - Deleted stacks: You must specify the unique stack ID. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class DescribeStackEventsOutput(_SerdeShape): + """The output for a DescribeStackEvents action.""" + + stack_events: list[StackEvent] | None = ... + """A list of `StackEvents` structures.""" + next_token: str | None = ... + """ + If the output exceeds 1 MB in size, a string that identifies the next + page of events. If no additional page exists, this value is null. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStackInstanceInput(_SerdeShape): + """Dataclass for DescribeStackInstanceInput structure.""" + + stack_set_name: str | None = ... + """ + The name or the unique stack ID of the StackSet that you want to get + stack instance information for. + """ + stack_instance_account: str | None = ... + """ + The ID of an Amazon Web Services account that's associated with this + stack instance. + """ + stack_instance_region: str | None = ... + """The name of a Region that's associated with this stack instance.""" + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class DescribeStackInstanceOutput(_SerdeShape): + """Dataclass for DescribeStackInstanceOutput structure.""" + + stack_instance: StackInstance | None = ... + """The stack instance that matches the specified request parameters.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStackRefactorInput(_SerdeShape): + """Dataclass for DescribeStackRefactorInput structure.""" + + stack_refactor_id: str | None = ... + """ + The ID associated with the stack refactor created from the + CreateStackRefactor action. + """ + +@dataclass(kw_only=True) +class DescribeStackRefactorOutput(_SerdeShape): + """Dataclass for DescribeStackRefactorOutput structure.""" + + description: str | None = ... + """A description to help you identify the refactor.""" + stack_refactor_id: str | None = ... + """ + The ID associated with the stack refactor created from the + CreateStackRefactor action. + """ + stack_ids: list[str] | None = ... + """The unique ID for each stack.""" + execution_status: str | None = ... + """ + The stack refactor execution operation status that's provided after + calling the ExecuteStackRefactor action. + """ + execution_status_reason: str | None = ... + """A detailed explanation for the stack refactor `ExecutionStatus`.""" + status: str | None = ... + """ + The stack refactor operation status that's provided after calling the + CreateStackRefactor action. + """ + status_reason: str | None = ... + """A detailed explanation for the stack refactor operation `Status`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStackResourceDriftsInput(_SerdeShape): + """Dataclass for DescribeStackResourceDriftsInput structure.""" + + stack_name: str | None = ... + """The name of the stack for which you want drift information.""" + stack_resource_drift_status_filters: list[str] | None = ... + """ + The resource drift status values to use as filters for the resource + drift results returned. + + - `DELETED`: The resource differs from its expected template + configuration in that the resource has been deleted. + + - `MODIFIED`: One or more resource properties differ from their expected + template values. + + - `IN_SYNC`: The resource's actual configuration matches its expected + template configuration. + + - `NOT_CHECKED`: CloudFormation doesn't currently return this value. + + - `UNKNOWN`: CloudFormation could not run drift detection for the + resource. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + +@dataclass(kw_only=True) +class DescribeStackResourceDriftsOutput(_SerdeShape): + """Dataclass for DescribeStackResourceDriftsOutput structure.""" + + stack_resource_drifts: list[StackResourceDrift] | None = ... + """ + Drift information for the resources that have been checked for drift in + the specified stack. This includes actual and expected configuration + values for resources where CloudFormation detects drift. + + For a given stack, there will be one `StackResourceDrift` for each stack + resource that has been checked for drift. Resources that haven't yet + been checked for drift aren't included. Resources that do not currently + support drift detection aren't checked, and so not included. For a list + of resources that support drift detection, see [Resource type support + for imports and drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html). + """ + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call + `DescribeStackResourceDrifts` again and assign that token to the request + object's `NextToken` parameter. If the request returns all results, + `NextToken` is set to `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStackResourceInput(_SerdeShape): + """The input for DescribeStackResource action.""" + + stack_name: str | None = ... + """ + The name or the unique stack ID that's associated with the stack, which + aren't always interchangeable: + + - Running stacks: You can specify either the stack's name or its unique + stack ID. + + - Deleted stacks: You must specify the unique stack ID. + """ + logical_resource_id: str | None = ... + """The logical name of the resource as specified in the template.""" + +@dataclass(kw_only=True) +class DescribeStackResourceOutput(_SerdeShape): + """The output for a DescribeStackResource action.""" + + stack_resource_detail: StackResourceDetail | None = ... + """ + A `StackResourceDetail` structure that contains the description of the + specified resource in the specified stack. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStackResourcesInput(_SerdeShape): + """The input for DescribeStackResources action.""" + + stack_name: str | None = ... + """ + The name or the unique stack ID that is associated with the stack, which + aren't always interchangeable: + + - Running stacks: You can specify either the stack's name or its unique + stack ID. + + - Deleted stacks: You must specify the unique stack ID. + + Required: Conditional. If you don't specify `StackName`, you must + specify `PhysicalResourceId`. + """ + logical_resource_id: str | None = ... + """The logical name of the resource as specified in the template.""" + physical_resource_id: str | None = ... + """ + The name or unique identifier that corresponds to a physical instance ID + of a resource supported by CloudFormation. + + For example, for an Amazon Elastic Compute Cloud (EC2) instance, + `PhysicalResourceId` corresponds to the `InstanceId`. You can pass the + EC2 `InstanceId` to `DescribeStackResources` to find which stack the + instance belongs to and what other resources are part of the stack. + + Required: Conditional. If you don't specify `PhysicalResourceId`, you + must specify `StackName`. + """ + +@dataclass(kw_only=True) +class DescribeStackResourcesOutput(_SerdeShape): + """The output for a DescribeStackResources action.""" + + stack_resources: list[StackResource] | None = ... + """A list of `StackResource` structures.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStackSetInput(_SerdeShape): + """Dataclass for DescribeStackSetInput structure.""" + + stack_set_name: str | None = ... + """The name or unique ID of the StackSet whose description you want.""" + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class DescribeStackSetOperationInput(_SerdeShape): + """Dataclass for DescribeStackSetOperationInput structure.""" + + stack_set_name: str | None = ... + """The name or the unique stack ID of the StackSet for the stack operation.""" + operation_id: str | None = ... + """The unique ID of the StackSet operation.""" + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class DescribeStackSetOperationOutput(_SerdeShape): + """Dataclass for DescribeStackSetOperationOutput structure.""" + + stack_set_operation: StackSetOperation | None = ... + """The specified StackSet operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStackSetOutput(_SerdeShape): + """Dataclass for DescribeStackSetOutput structure.""" + + stack_set: StackSet | None = ... + """The specified StackSet.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStacksInput(_SerdeShape): + """The input for DescribeStacks action.""" + + stack_name: str | None = ... + """ + Note: + If you don't pass a parameter to `StackName`, the API returns a + response that describes all resources in the account, which can impact + performance. This requires `ListStacks` and `DescribeStacks` + permissions. + + Consider using the ListStacks API if you're not passing a parameter to + `StackName`. + + The IAM policy below can be added to IAM policies when you want to limit + resource-level permissions and avoid returning a response when no + parameter is sent in the request: + + { \"Version\": \"2012-10-17\", \"Statement\": [{ \"Effect\": \"Deny\", + \"Action\": \"cloudformation:DescribeStacks\", \"NotResource\": + \"arn:aws:cloudformation:*:*:stack/*/*\" }] } + + The name or the unique stack ID that's associated with the stack, which + aren't always interchangeable: + + - Running stacks: You can specify either the stack's name or its unique + stack ID. + + - Deleted stacks: You must specify the unique stack ID. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class DescribeStacksOutput(_SerdeShape): + """The output for a DescribeStacks action.""" + + stacks: list[Stack] | None = ... + """A list of stack structures.""" + next_token: str | None = ... + """ + If the output exceeds 1 MB in size, a string that identifies the next + page of stacks. If no additional page exists, this value is null. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTypeInput(_SerdeShape): + """Dataclass for DescribeTypeInput structure.""" + + type: str | None = ... + """ + The kind of extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + type_name: str | None = ... + """ + The name of the extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + version_id: str | None = ... + """ + The ID of a specific version of the extension. The version ID is the + value at the end of the Amazon Resource Name (ARN) assigned to the + extension version when it is registered. + + If you specify a `VersionId`, `DescribeType` returns information about + that specific extension version. Otherwise, it returns information about + the default extension version. + """ + publisher_id: str | None = ... + """ + The publisher ID of the extension publisher. + + Extensions provided by Amazon Web Services are not assigned a publisher + ID. + """ + public_version_number: str | None = ... + """The version number of a public third-party extension.""" + +@dataclass(kw_only=True) +class DescribeTypeOutput(_SerdeShape): + """Dataclass for DescribeTypeOutput structure.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the extension.""" + type: str | None = ... + """The kind of extension.""" + type_name: str | None = ... + """ + The name of the extension. + + If the extension is a public third-party type you have activated with a + type name alias, CloudFormation returns the type name alias. For more + information, see + [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html). + """ + default_version_id: str | None = ... + """ + The ID of the default version of the extension. The default version is + used when the extension version isn't specified. + + This applies only to private extensions you have registered in your + account. For public extensions, both those provided by Amazon Web + Services and published by third parties, CloudFormation returns `null`. + For more information, see + [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). + + To set the default version of an extension, use SetTypeDefaultVersion. + """ + is_default_version: bool | None = ... + """ + Whether the specified extension version is set as the default version. + + This applies only to private extensions you have registered in your + account, and extensions published by Amazon Web Services. For public + third-party extensions, whether they are activated in your account, + CloudFormation returns `null`. + """ + type_tests_status: str | None = ... + """ + The contract test status of the registered extension version. To return + the extension test status of a specific extension version, you must + specify `VersionId`. + + This applies only to registered private extension versions. + CloudFormation doesn't return this information for public extensions, + whether they are activated in your account. + + - `PASSED`: The extension has passed all its contract tests. + + An extension must have a test status of `PASSED` before it can be + published. For more information, see [Publishing extensions to make + them available for public + use](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html) + in the *CloudFormation Command Line Interface (CLI) User Guide*. + + - `FAILED`: The extension has failed one or more contract tests. + + - `IN_PROGRESS`: Contract tests are currently being performed on the + extension. + + - `NOT_TESTED`: Contract tests haven't been performed on the extension. + """ + type_tests_status_description: str | None = ... + """ + The description of the test status. To return the extension test status + of a specific extension version, you must specify `VersionId`. + + This applies only to registered private extension versions. + CloudFormation doesn't return this information for public extensions, + whether they are activated in your account. + """ + description: str | None = ... + """The description of the extension.""" + schema: str | None = ... + """ + The schema that defines the extension. + + For more information, see [Resource type + schema](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html) + in the *CloudFormation Command Line Interface (CLI) User Guide* and the + [CloudFormation Hooks User + Guide](https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/what-is-cloudformation-hooks.html). + """ + provisioning_type: str | None = ... + """ + For resource type extensions, the provisioning behavior of the resource + type. CloudFormation determines the provisioning type during + registration, based on the types of handlers in the schema handler + package submitted. + + Valid values include: + + - `FULLY_MUTABLE`: The resource type includes an update handler to + process updates to the type during stack update operations. + + - `IMMUTABLE`: The resource type doesn't include an update handler, so + the type can't be updated and must instead be replaced during stack + update operations. + + - `NON_PROVISIONABLE`: The resource type doesn't include all the + following handlers, and therefore can't actually be provisioned. + + - create + + - read + + - delete + """ + deprecated_status: str | None = ... + """ + The deprecation status of the extension version. + + Valid values include: + + - `LIVE`: The extension is activated or registered and can be used in + CloudFormation operations, dependent on its provisioning behavior and + visibility scope. + + - `DEPRECATED`: The extension has been deactivated or deregistered and + can no longer be used in CloudFormation operations. + + For public third-party extensions, CloudFormation returns `null`. + """ + logging_config: LoggingConfig | None = ... + """ + Contains logging configuration information for private extensions. This + applies only to private extensions you have registered in your account. + For public extensions, both those provided by Amazon Web Services and + published by third parties, CloudFormation returns `null`. For more + information, see + [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). + """ + required_activated_types: list[RequiredActivatedType] | None = ... + """ + For extensions that are modules, the public third-party extensions that + must be activated in your account in order for the module itself to be + activated. + """ + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM execution role used to + register the extension. This applies only to private extensions you have + registered in your account. For more information, see + [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). + + If the registered extension calls any Amazon Web Services APIs, you must + create an *[IAM execution + role](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html)* + that includes the necessary permissions to call those Amazon Web + Services APIs, and provision that execution role in your account. + CloudFormation then assumes that execution role to provide your + extension with the appropriate credentials. + """ + visibility: str | None = ... + """ + The scope at which the extension is visible and usable in CloudFormation + operations. + + Valid values include: + + - `PRIVATE`: The extension is only visible and usable within the account + in which it is registered. CloudFormation marks any extensions you + register as `PRIVATE`. + + - `PUBLIC`: The extension is publicly visible and usable within any + Amazon Web Services account. + """ + source_url: str | None = ... + """The URL of the source code for the extension.""" + documentation_url: str | None = ... + """The URL of a page providing detailed documentation for this extension.""" + last_updated: datetime | None = ... + """ + When the specified extension version was registered. This applies only + to: + + - Private extensions you have registered in your account. For more + information, see + [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). + + - Public extensions you have activated in your account with auto-update + specified. For more information, see + [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html). + """ + time_created: datetime | None = ... + """ + When the specified private extension version was registered or activated + in your account. + """ + configuration_schema: str | None = ... + """ + A JSON string that represent the current configuration data for the + extension in this account and Region. + + To set the configuration data for an extension, use + [SetTypeConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html). + """ + publisher_id: str | None = ... + """ + The publisher ID of the extension publisher. + + This applies only to public third-party extensions. For private + registered extensions, and extensions provided by Amazon Web Services, + CloudFormation returns `null`. + """ + original_type_name: str | None = ... + """ + For public extensions that have been activated for this account and + Region, the type name of the public extension. + + If you specified a `TypeNameAlias` when enabling the extension in this + account and Region, CloudFormation treats that alias as the extension's + type name within the account and Region, not the type name of the public + extension. For more information, see [Use aliases to refer to + extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias) + in the *CloudFormation User Guide*. + """ + original_type_arn: str | None = ... + """ + For public extensions that have been activated for this account and + Region, the Amazon Resource Name (ARN) of the public extension. + """ + public_version_number: str | None = ... + """ + The version number of a public third-party extension. + + This applies only if you specify a public extension you have activated + in your account, or specify a public extension without specifying a + version. For all other extensions, CloudFormation returns `null`. + """ + latest_public_version: str | None = ... + """ + The latest version of a public extension *that is available* for use. + + This only applies if you specify a public extension, and you don't + specify a version. For all other requests, CloudFormation returns + `null`. + """ + is_activated: bool | None = ... + """ + Whether the extension is activated in the account and Region. + + This only applies to public third-party extensions. For all other + extensions, CloudFormation returns `null`. + """ + auto_update: bool | None = ... + """ + Whether CloudFormation automatically updates the extension in this + account and Region when a new *minor* version is published by the + extension publisher. Major versions released by the publisher must be + manually updated. For more information, see [Automatically use new + versions of + extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto) + in the *CloudFormation User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTypeRegistrationInput(_SerdeShape): + """Dataclass for DescribeTypeRegistrationInput structure.""" + + registration_token: str | None = ... + """ + The identifier for this registration request. + + This registration token is generated by CloudFormation when you initiate + a registration request using RegisterType. + """ + +@dataclass(kw_only=True) +class DescribeTypeRegistrationOutput(_SerdeShape): + """Dataclass for DescribeTypeRegistrationOutput structure.""" + + progress_status: str | None = ... + """The current status of the extension registration request.""" + description: str | None = ... + """The description of the extension registration request.""" + type_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the extension being registered. + + For registration requests with a `ProgressStatus` of other than + `COMPLETE`, this will be `null`. + """ + type_version_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of this specific version of the extension + being registered. + + For registration requests with a `ProgressStatus` of other than + `COMPLETE`, this will be `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DetailedStatus(UnknownEnumMixin, StrEnum): + CONFIGURATION_COMPLETE = "CONFIGURATION_COMPLETE" + VALIDATION_FAILED = "VALIDATION_FAILED" + +@dataclass(kw_only=True) +class DetectStackDriftInput(_SerdeShape): + """Dataclass for DetectStackDriftInput structure.""" + + stack_name: str | None = ... + """The name of the stack for which you want to detect drift.""" + logical_resource_ids: list[str] | None = ... + """The logical names of any resources you want to use as filters.""" + +@dataclass(kw_only=True) +class DetectStackDriftOutput(_SerdeShape): + """Dataclass for DetectStackDriftOutput structure.""" + + stack_drift_detection_id: str | None = ... + """ + The ID of the drift detection results of this operation. + + CloudFormation generates new results, with a new drift detection ID, + each time this operation is run. However, the number of drift results + CloudFormation retains for any given stack, and for how long, may vary. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetectStackResourceDriftInput(_SerdeShape): + """Dataclass for DetectStackResourceDriftInput structure.""" + + stack_name: str | None = ... + """The name of the stack to which the resource belongs.""" + logical_resource_id: str | None = ... + """The logical name of the resource for which to return drift information.""" + +@dataclass(kw_only=True) +class DetectStackResourceDriftOutput(_SerdeShape): + """Dataclass for DetectStackResourceDriftOutput structure.""" + + stack_resource_drift: StackResourceDrift | None = ... + """ + Information about whether the resource's actual configuration has + drifted from its expected template configuration, including actual and + expected property values and any differences detected. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetectStackSetDriftInput(_SerdeShape): + """Dataclass for DetectStackSetDriftInput structure.""" + + stack_set_name: str | None = ... + """ + The name of the StackSet on which to perform the drift detection + operation. + """ + operation_preferences: StackSetOperationPreferences | None = ... + """ + The user-specified preferences for how CloudFormation performs a + StackSet operation. + + For more information about maximum concurrent accounts and failure + tolerance, see [StackSet operation + options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). + """ + operation_id: str | None = ... + """ + *The ID of the StackSet operation.* + + This field is autopopulated if not provided. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class DetectStackSetDriftOutput(_SerdeShape): + """Dataclass for DetectStackSetDriftOutput structure.""" + + operation_id: str | None = ... + """ + The ID of the drift detection StackSet operation. + + You can use this operation ID with DescribeStackSetOperation to monitor + the progress of the drift detection operation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DifferenceType(UnknownEnumMixin, StrEnum): + ADD = "ADD" + REMOVE = "REMOVE" + NOT_EQUAL = "NOT_EQUAL" + +class DriftIgnoredReason(UnknownEnumMixin, StrEnum): + MANAGED_BY_AWS = "MANAGED_BY_AWS" + WRITE_ONLY_PROPERTY = "WRITE_ONLY_PROPERTY" + SENSITIVE_PROPERTY = "SENSITIVE_PROPERTY" + +@dataclass(kw_only=True) +class EstimateTemplateCostInput(_SerdeShape): + """The input for an EstimateTemplateCost action.""" + + template_body: str | None = ... + """ + Structure that contains the template body with a minimum length of 1 + byte and a maximum length of 51,200 bytes. + + Conditional: You must pass `TemplateBody` or `TemplateURL`. If both are + passed, only `TemplateBody` is used. + """ + template_url: str | None = ... + """ + The URL of a file that contains the template body. The URL must point to + a template that's located in an Amazon S3 bucket or a Systems Manager + document. The location for an Amazon S3 bucket must start with + `https://`. URLs from S3 static websites are not supported. + + Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are + passed, only `TemplateBody` is used. + """ + parameters: list[Parameter] | None = ... + """A list of `Parameter` structures that specify input parameters.""" + +@dataclass(kw_only=True) +class EstimateTemplateCostOutput(_SerdeShape): + """The output for a EstimateTemplateCost action.""" + + url: str | None = ... + """ + An Amazon Web Services Simple Monthly Calculator URL with a query string + that describes the resources required to run the template. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class EvaluationType(UnknownEnumMixin, StrEnum): + STATIC = "Static" + DYNAMIC = "Dynamic" + +@dataclass(kw_only=True) +class EventFilter(_SerdeShape): + """Event filter allows you to focus on specific events in an operation.""" + + failed_events: bool | None = ... + """ + When set to true, only returns failed events within the operation. This + helps quickly identify root causes for a failed operation. + """ + +class EventType(UnknownEnumMixin, StrEnum): + STACK_EVENT = "STACK_EVENT" + PROGRESS_EVENT = "PROGRESS_EVENT" + VALIDATION_ERROR = "VALIDATION_ERROR" + PROVISIONING_ERROR = "PROVISIONING_ERROR" + HOOK_INVOCATION_ERROR = "HOOK_INVOCATION_ERROR" + +@dataclass(kw_only=True) +class ExecuteChangeSetInput(_SerdeShape): + """The input for the ExecuteChangeSet action.""" + + change_set_name: str | None = ... + """ + The name or Amazon Resource Name (ARN) of the change set that you want + use to update the specified stack. + """ + stack_name: str | None = ... + """ + If you specified the name of a change set, specify the stack name or + Amazon Resource Name (ARN) that's associated with the change set you + want to execute. + """ + client_request_token: str | None = ... + """ + A unique identifier for this `ExecuteChangeSet` request. Specify this + token if you plan to retry requests so that CloudFormation knows that + you're not attempting to execute a change set to update a stack with + the same name. You might retry `ExecuteChangeSet` requests to ensure + that CloudFormation successfully received them. + """ + disable_rollback: bool | None = ... + """ + Preserves the state of previously provisioned resources when an + operation fails. This parameter can't be specified when the + `OnStackFailure` parameter to the + [CreateChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html) + API operation was specified. + + - `True` - if the stack creation fails, do nothing. This is equivalent + to specifying `DO_NOTHING` for the `OnStackFailure` parameter to the + [CreateChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html) + API operation. + + - `False` - if the stack creation fails, roll back the stack. This is + equivalent to specifying `ROLLBACK` for the `OnStackFailure` parameter + to the + [CreateChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html) + API operation. + + Default: `True` + """ + retain_except_on_create: bool | None = ... + """ + When set to `true`, newly created resources are deleted when the + operation rolls back. This includes newly created resources marked with + a deletion policy of `Retain`. + + Default: `false` + """ + +@dataclass(kw_only=True) +class ExecuteChangeSetOutput(_SerdeShape): + """The output for the ExecuteChangeSet action.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExecuteStackRefactorInput(_SerdeShape): + """Dataclass for ExecuteStackRefactorInput structure.""" + + stack_refactor_id: str | None = ... + """ + The ID associated with the stack refactor created from the + CreateStackRefactor action. + """ + +@dataclass(kw_only=True) +class ExecuteStackRefactorOutput(_SerdeShape): + """Dataclass for ExecuteStackRefactorOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ExecutionStatus(UnknownEnumMixin, StrEnum): + UNAVAILABLE = "UNAVAILABLE" + AVAILABLE = "AVAILABLE" + EXECUTE_IN_PROGRESS = "EXECUTE_IN_PROGRESS" + EXECUTE_COMPLETE = "EXECUTE_COMPLETE" + EXECUTE_FAILED = "EXECUTE_FAILED" + OBSOLETE = "OBSOLETE" + +@dataclass(kw_only=True) +class Export(_SerdeShape): + """ + The `Export` structure describes the exported output values for a stack. + + For more information, see [Get exported outputs from a deployed + CloudFormation + stack](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html). + """ + + exporting_stack_id: str | None = ... + """The stack that contains the exported output name and value.""" + name: str | None = ... + """ + The name of exported output value. Use this name and the + `Fn::ImportValue` function to import the associated value into other + stacks. The name is defined in the `Export` field in the associated + stack's `Outputs` section. + """ + value: str | None = ... + """ + The value of the exported output, such as a resource physical ID. This + value is defined in the `Export` field in the associated stack's + `Outputs` section. + """ + +class GeneratedTemplateDeletionPolicy(UnknownEnumMixin, StrEnum): + DELETE = "DELETE" + RETAIN = "RETAIN" + +@dataclass(kw_only=True) +class GeneratedTemplateNotFoundException(ServiceError, _SerdeShape): + """The generated template was not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class GeneratedTemplateResourceStatus(UnknownEnumMixin, StrEnum): + PENDING = "PENDING" + IN_PROGRESS = "IN_PROGRESS" + FAILED = "FAILED" + COMPLETE = "COMPLETE" + +class GeneratedTemplateStatus(UnknownEnumMixin, StrEnum): + CREATE_PENDING = "CREATE_PENDING" + UPDATE_PENDING = "UPDATE_PENDING" + DELETE_PENDING = "DELETE_PENDING" + CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" + UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + FAILED = "FAILED" + COMPLETE = "COMPLETE" + +class GeneratedTemplateUpdateReplacePolicy(UnknownEnumMixin, StrEnum): + DELETE = "DELETE" + RETAIN = "RETAIN" + +@dataclass(kw_only=True) +class GetGeneratedTemplateInput(_SerdeShape): + """Dataclass for GetGeneratedTemplateInput structure.""" + + format: str | None = ... + """ + The language to use to retrieve for the generated template. Supported + values are: + + - `JSON` + + - `YAML` + """ + generated_template_name: str | None = ... + """ + The name or Amazon Resource Name (ARN) of the generated template. The + format is + `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. + For example, + `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:generatedtemplate/`*`2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc`*` `. + """ + +@dataclass(kw_only=True) +class GetGeneratedTemplateOutput(_SerdeShape): + """Dataclass for GetGeneratedTemplateOutput structure.""" + + status: str | None = ... + """ + The status of the template generation. Supported values are: + + - `CreatePending` - the creation of the template is pending. + + - `CreateInProgress` - the creation of the template is in progress. + + - `DeletePending` - the deletion of the template is pending. + + - `DeleteInProgress` - the deletion of the template is in progress. + + - `UpdatePending` - the update of the template is pending. + + - `UpdateInProgress` - the update of the template is in progress. + + - `Failed` - the template operation failed. + + - `Complete` - the template operation is complete. + """ + template_body: str | None = ... + """ + The template body of the generated template, in the language specified + by the `Language` parameter. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetHookResultInput(_SerdeShape): + """Dataclass for GetHookResultInput structure.""" + + hook_result_id: str | None = ... + """ + The unique identifier (ID) of the Hook invocation result that you want + details about. You can get the ID from the + [ListHookResults](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListHookResults.html) + operation. + """ + +@dataclass(kw_only=True) +class GetHookResultOutput(_SerdeShape): + """Dataclass for GetHookResultOutput structure.""" + + hook_result_id: str | None = ... + """The unique identifier of the Hook result.""" + invocation_point: str | None = ... + """ + The specific point in the provisioning process where the Hook is + invoked. + """ + failure_mode: str | None = ... + """The failure mode of the invocation.""" + type_name: str | None = ... + """The name of the Hook that was invoked.""" + original_type_name: str | None = ... + """ + The original public type name of the Hook when an alias is used. + + For example, if you activate `AWS::Hooks::GuardHook` with alias + `MyCompany::Custom::GuardHook`, then `TypeName` will be + `MyCompany::Custom::GuardHook` and `OriginalTypeName` will be + `AWS::Hooks::GuardHook`. + """ + type_version_id: str | None = ... + """The version identifier of the Hook that was invoked.""" + type_configuration_version_id: str | None = ... + """ + The version identifier of the Hook configuration data that was used + during invocation. + """ + type_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Hook.""" + status: str | None = ... + """ + The status of the Hook invocation. The following statuses are possible: + + - `HOOK_IN_PROGRESS`: The Hook is currently running. + + - `HOOK_COMPLETE_SUCCEEDED`: The Hook completed successfully. + + - `HOOK_COMPLETE_FAILED`: The Hook completed but failed validation. + + - `HOOK_FAILED`: The Hook encountered an error during execution. + """ + hook_status_reason: str | None = ... + """ + A message that provides additional details about the Hook invocation + status. + """ + invoked_at: datetime | None = ... + """The timestamp when the Hook was invoked.""" + target: HookTarget | None = ... + """Information about the target of the Hook invocation.""" + annotations: list[Annotation] | None = ... + """ + A list of objects with additional information and guidance that can help + you resolve a failed Hook invocation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetStackPolicyInput(_SerdeShape): + """The input for the GetStackPolicy action.""" + + stack_name: str | None = ... + """ + The name or unique stack ID that's associated with the stack whose + policy you want to get. + """ + +@dataclass(kw_only=True) +class GetStackPolicyOutput(_SerdeShape): + """The output for the GetStackPolicy action.""" + + stack_policy_body: str | None = ... + """ + Structure that contains the stack policy body. For more information, see + [Prevent updates to stack + resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html) + in the *CloudFormation User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTemplateInput(_SerdeShape): + """The input for a GetTemplate action.""" + + stack_name: str | None = ... + """ + The name or the unique stack ID that's associated with the stack, which + aren't always interchangeable: + + - Running stacks: You can specify either the stack's name or its unique + stack ID. + + - Deleted stacks: You must specify the unique stack ID. + """ + change_set_name: str | None = ... + """ + The name or Amazon Resource Name (ARN) of a change set for which + CloudFormation returns the associated template. If you specify a name, + you must also specify the `StackName`. + """ + template_stage: str | None = ... + """ + For templates that include transforms, the stage of the template that + CloudFormation returns. To get the user-submitted template, specify + `Original`. To get the template after CloudFormation has processed all + transforms, specify `Processed`. + + If the template doesn't include transforms, `Original` and `Processed` + return the same template. By default, CloudFormation specifies + `Processed`. + """ + +@dataclass(kw_only=True) +class GetTemplateOutput(_SerdeShape): + """The output for GetTemplate action.""" + + template_body: str | None = ... + """ + Structure that contains the template body. + + CloudFormation returns the same template that was used when the stack + was created. + """ + stages_available: list[str] | None = ... + """ + The stage of the template that you can retrieve. For stacks, the + `Original` and `Processed` templates are always available. For change + sets, the `Original` template is always available. After CloudFormation + finishes creating the change set, the `Processed` template becomes + available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTemplateSummaryInput(_SerdeShape): + """The input for the GetTemplateSummary action.""" + + template_body: str | None = ... + """ + Structure that contains the template body with a minimum length of 1 + byte and a maximum length of 51,200 bytes. + + Conditional: You must specify only one of the following parameters: + `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. + """ + template_url: str | None = ... + """ + The URL of a file that contains the template body. The URL must point to + a template (max size: 1 MB) that's located in an Amazon S3 bucket or a + Systems Manager document. The location for an Amazon S3 bucket must + start with `https://`. + + Conditional: You must specify only one of the following parameters: + `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. + """ + stack_name: str | None = ... + """ + The name or the stack ID that's associated with the stack, which + aren't always interchangeable. For running stacks, you can specify + either the stack's name or its unique stack ID. For deleted stack, you + must specify the unique stack ID. + + Conditional: You must specify only one of the following parameters: + `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. + """ + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet from which the stack was created. + + Conditional: You must specify only one of the following parameters: + `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + template_summary_config: TemplateSummaryConfig | None = ... + """Specifies options for the `GetTemplateSummary` API action.""" + +@dataclass(kw_only=True) +class GetTemplateSummaryOutput(_SerdeShape): + """The output for the GetTemplateSummary action.""" + + parameters: list[ParameterDeclaration] | None = ... + """ + A list of parameter declarations that describe various properties for + each parameter. + """ + description: str | None = ... + """The value that's defined in the `Description` property of the template.""" + capabilities: list[str] | None = ... + """ + The capabilities found within the template. If your template contains + IAM resources, you must specify the `CAPABILITY_IAM` or + `CAPABILITY_NAMED_IAM` value for this parameter when you use the + CreateStack or UpdateStack actions with your template; otherwise, those + actions return an `InsufficientCapabilities` error. + + For more information, see [Acknowledging IAM resources in CloudFormation + templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). + """ + capabilities_reason: str | None = ... + """ + The list of resources that generated the values in the `Capabilities` + response element. + """ + resource_types: list[str] | None = ... + """ + A list of all the template resource types that are defined in the + template, such as `AWS::EC2::Instance`, `AWS::Dynamo::Table`, and + `Custom::MyCustomInstance`. + """ + version: str | None = ... + """ + The Amazon Web Services template format version, which identifies the + capabilities of the template. + """ + metadata: str | None = ... + """The value that's defined for the `Metadata` property of the template.""" + declared_transforms: list[str] | None = ... + """A list of the transforms that are declared in the template.""" + resource_identifier_summaries: list[ResourceIdentifierSummary] | None = ... + """ + A list of resource identifier summaries that describe the target + resources of an import operation and the properties you can provide + during the import to identify the target resources. For example, + `BucketName` is a possible identifier property for an `AWS::S3::Bucket` + resource. + """ + warnings: Warnings | None = ... + """An object that contains any warnings returned.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class HandlerErrorCode(UnknownEnumMixin, StrEnum): + NOT_UPDATABLE = "NotUpdatable" + INVALID_REQUEST = "InvalidRequest" + ACCESS_DENIED = "AccessDenied" + INVALID_CREDENTIALS = "InvalidCredentials" + ALREADY_EXISTS = "AlreadyExists" + NOT_FOUND = "NotFound" + RESOURCE_CONFLICT = "ResourceConflict" + THROTTLING = "Throttling" + SERVICE_LIMIT_EXCEEDED = "ServiceLimitExceeded" + SERVICE_TIMEOUT = "NotStabilized" + GENERAL_SERVICE_EXCEPTION = "GeneralServiceException" + SERVICE_INTERNAL_ERROR = "ServiceInternalError" + NETWORK_FAILURE = "NetworkFailure" + INTERNAL_FAILURE = "InternalFailure" + INVALID_TYPE_CONFIGURATION = "InvalidTypeConfiguration" + HANDLER_INTERNAL_FAILURE = "HandlerInternalFailure" + NON_COMPLIANT = "NonCompliant" + UNKNOWN = "Unknown" + UNSUPPORTED_TARGET = "UnsupportedTarget" + +class HookFailureMode(UnknownEnumMixin, StrEnum): + FAIL = "FAIL" + WARN = "WARN" + +class HookInvocationPoint(UnknownEnumMixin, StrEnum): + PRE_PROVISION = "PRE_PROVISION" + +@dataclass(kw_only=True) +class HookResultNotFoundException(ServiceError, _SerdeShape): + """The specified target doesn't have any requested Hook invocations.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class HookResultSummary(_SerdeShape): + """A `ListHookResults` call returns a summary of a Hook invocation.""" + + hook_result_id: str | None = ... + """The unique identifier for this Hook invocation result.""" + invocation_point: str | None = ... + """ + The specific point in the provisioning process where the Hook is + invoked. + """ + failure_mode: str | None = ... + """The failure mode of the invocation.""" + type_name: str | None = ... + """The name of the Hook that was invoked.""" + type_version_id: str | None = ... + """The version of the Hook that was invoked.""" + type_configuration_version_id: str | None = ... + """The version of the Hook configuration.""" + status: str | None = ... + """ + The status of the Hook invocation. The following statuses are possible: + + - `HOOK_IN_PROGRESS`: The Hook is currently running. + + - `HOOK_COMPLETE_SUCCEEDED`: The Hook completed successfully. + + - `HOOK_COMPLETE_FAILED`: The Hook completed but failed validation. + + - `HOOK_FAILED`: The Hook encountered an error during execution. + """ + hook_status_reason: str | None = ... + """ + A description of the Hook results status. For example, if the Hook + result is in a failed state, this may contain additional information for + the failed state. + """ + invoked_at: datetime | None = ... + """ + The timestamp when the Hook was invoked. + + Only shown in responses when the request does not specify `TargetType` + and `TargetId` filters. + """ + target_type: str | None = ... + """The target type that the Hook was invoked against.""" + target_id: str | None = ... + """The unique identifier of the Hook invocation target.""" + type_arn: str | None = ... + """The ARN of the Hook that was invoked.""" + hook_execution_target: str | None = ... + """ + The Amazon Resource Name (ARN) of the target stack or request token of + the Cloud Control API operation. + + Only shown in responses when the request does not specify `TargetType` + and `TargetId` filters. + """ + +class HookStatus(UnknownEnumMixin, StrEnum): + HOOK_IN_PROGRESS = "HOOK_IN_PROGRESS" + HOOK_COMPLETE_SUCCEEDED = "HOOK_COMPLETE_SUCCEEDED" + HOOK_COMPLETE_FAILED = "HOOK_COMPLETE_FAILED" + HOOK_FAILED = "HOOK_FAILED" + +@dataclass(kw_only=True) +class HookTarget(_SerdeShape): + """The `HookTarget` data type.""" + + target_type: str | None = ... + """The target type.""" + target_type_name: str | None = ... + """The target name, for example, `AWS::S3::Bucket`.""" + target_id: str | None = ... + """The unique identifier of the Hook invocation target.""" + action: str | None = ... + """The action that invoked the Hook.""" + +class HookTargetAction(UnknownEnumMixin, StrEnum): + CREATE = "CREATE" + UPDATE = "UPDATE" + DELETE = "DELETE" + IMPORT_ = "IMPORT" + +class HookTargetType(UnknownEnumMixin, StrEnum): + RESOURCE = "RESOURCE" + +class IdentityProvider(UnknownEnumMixin, StrEnum): + AWS_MARKETPLACE = "AWS_Marketplace" + GIT_HUB = "GitHub" + BITBUCKET = "Bitbucket" + +@dataclass(kw_only=True) +class ImportStacksToStackSetInput(_SerdeShape): + """Dataclass for ImportStacksToStackSetInput structure.""" + + stack_set_name: str | None = ... + """ + The name of the StackSet. The name must be unique in the Region where + you create your StackSet. + """ + stack_ids: list[str] | None = ... + """ + The IDs of the stacks you are importing into a StackSet. You import up + to 10 stacks per StackSet at a time. + + Specify either `StackIds` or `StackIdsUrl`. + """ + stack_ids_url: str | None = ... + """ + The Amazon S3 URL which contains list of stack ids to be inputted. + + Specify either `StackIds` or `StackIdsUrl`. + """ + organizational_unit_ids: list[str] | None = ... + """ + The list of OU ID's to which the imported stacks must be mapped as + deployment targets. + """ + operation_preferences: StackSetOperationPreferences | None = ... + """ + The user-specified preferences for how CloudFormation performs a + StackSet operation. + + For more information about maximum concurrent accounts and failure + tolerance, see [StackSet operation + options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). + """ + operation_id: str | None = ... + """ + A unique, user defined, identifier for the StackSet operation. + + This field is autopopulated if not provided. + """ + call_as: str | None = ... + """ + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - For service managed StackSets, specify `DELEGATED_ADMIN`. + """ + +@dataclass(kw_only=True) +class ImportStacksToStackSetOutput(_SerdeShape): + """Dataclass for ImportStacksToStackSetOutput structure.""" + + operation_id: str | None = ... + """The unique identifier for the StackSet operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsufficientCapabilitiesException(ServiceError, _SerdeShape): + """ + The template contains resources with capabilities that weren't + specified in the Capabilities parameter. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidChangeSetStatusException(ServiceError, _SerdeShape): + """ + The specified change set can't be used to update the stack. For + example, the change set status might be `CREATE_IN_PROGRESS`, or the + stack status might be `UPDATE_IN_PROGRESS`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidOperationException(ServiceError, _SerdeShape): + """The specified operation isn't valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidStateTransitionException(ServiceError, _SerdeShape): + """ + Error reserved for use by the [CloudFormation + CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). + CloudFormation doesn't return this error to users. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LimitExceededException(ServiceError, _SerdeShape): + """ + The quota for the resource has already been reached. + + For information about resource and stack limitations, see + [CloudFormation + quotas](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) + in the *CloudFormation User Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListChangeSetsInput(_SerdeShape): + """The input for the ListChangeSets action.""" + + stack_name: str | None = ... + """ + The name or the Amazon Resource Name (ARN) of the stack for which you + want to list change sets. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class ListChangeSetsOutput(_SerdeShape): + """The output for the ListChangeSets action.""" + + summaries: list[ChangeSetSummary] | None = ... + """ + A list of `ChangeSetSummary` structures that provides the ID and status + of each change set for the specified stack. + """ + next_token: str | None = ... + """ + If the output exceeds 1 MB, a string that identifies the next page of + change sets. If there is no additional page, this value is `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListExportsInput(_SerdeShape): + """Dataclass for ListExportsInput structure.""" + + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class ListExportsOutput(_SerdeShape): + """Dataclass for ListExportsOutput structure.""" + + exports: list[Export] | None = ... + """The output for the ListExports action.""" + next_token: str | None = ... + """ + If the output exceeds 100 exported output values, a string that + identifies the next page of exports. If there is no additional page, + this value is null. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGeneratedTemplatesInput(_SerdeShape): + """Dataclass for ListGeneratedTemplatesInput structure.""" + + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + If the number of available results exceeds this maximum, the response + includes a `NextToken` value that you can use for the `NextToken` + parameter to get the next set of results. By default the + `ListGeneratedTemplates` API action will return at most 50 results in + each response. The maximum value is 100. + """ + +@dataclass(kw_only=True) +class ListGeneratedTemplatesOutput(_SerdeShape): + """Dataclass for ListGeneratedTemplatesOutput structure.""" + + summaries: list[TemplateSummary] | None = ... + """A list of summaries of the generated templates.""" + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call + `ListGeneratedTemplates` again and use that value for the `NextToken` + parameter. If the request returns all results, `NextToken` is set to an + empty string. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListHookResultsInput(_SerdeShape): + """Dataclass for ListHookResultsInput structure.""" + + target_type: str | None = ... + """ + Filters results by target type. Currently, only `CHANGE_SET` and + `CLOUD_CONTROL` are supported filter options. + + Required when `TargetId` is specified and cannot be used otherwise. + """ + target_id: str | None = ... + """ + Filters results by the unique identifier of the target the Hook was + invoked against. + + For change sets, this is the change set ARN. When the target is a Cloud + Control API operation, this value must be the `HookRequestToken` + returned by the Cloud Control API request. For more information on the + `HookRequestToken`, see + [ProgressEvent](https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html). + + Required when `TargetType` is specified and cannot be used otherwise. + """ + type_arn: str | None = ... + """ + Filters results by the ARN of the Hook. Can be used alone or in + combination with `Status`. + """ + status: str | None = ... + """ + Filters results by the status of Hook invocations. Can only be used in + combination with `TypeArn`. Valid values are: + + - `HOOK_IN_PROGRESS`: The Hook is currently running. + + - `HOOK_COMPLETE_SUCCEEDED`: The Hook completed successfully. + + - `HOOK_COMPLETE_FAILED`: The Hook completed but failed validation. + + - `HOOK_FAILED`: The Hook encountered an error during execution. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class ListHookResultsOutput(_SerdeShape): + """Dataclass for ListHookResultsOutput structure.""" + + target_type: str | None = ... + """The target type.""" + target_id: str | None = ... + """The unique identifier of the Hook invocation target.""" + hook_results: list[HookResultSummary] | None = ... + """ + A list of `HookResultSummary` structures that provides the status and + Hook status reason for each Hook invocation for the specified target. + """ + next_token: str | None = ... + """Pagination token, `null` or empty if no more results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ListHookResultsTargetType(UnknownEnumMixin, StrEnum): + CHANGE_SET = "CHANGE_SET" + STACK = "STACK" + RESOURCE = "RESOURCE" + CLOUD_CONTROL = "CLOUD_CONTROL" + +@dataclass(kw_only=True) +class ListImportsInput(_SerdeShape): + """Dataclass for ListImportsInput structure.""" + + export_name: str | None = ... + """ + The name of the exported output value. CloudFormation returns the stack + names that are importing this value. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class ListImportsOutput(_SerdeShape): + """Dataclass for ListImportsOutput structure.""" + + imports: list[str] | None = ... + """ + A list of stack names that are importing the specified exported output + value. + """ + next_token: str | None = ... + """ + A string that identifies the next page of exports. If there is no + additional page, this value is null. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListResourceScanRelatedResourcesInput(_SerdeShape): + """Dataclass for ListResourceScanRelatedResourcesInput structure.""" + + resource_scan_id: str | None = ... + """The Amazon Resource Name (ARN) of the resource scan.""" + resources: list[ScannedResourceIdentifier] | None = ... + """ + The list of resources for which you want to get the related resources. + Up to 100 resources can be provided. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + If the number of available results exceeds this maximum, the response + includes a `NextToken` value that you can use for the `NextToken` + parameter to get the next set of results. By default the + `ListResourceScanRelatedResources` API action will return up to 100 + results in each response. The maximum value is 100. + """ + +@dataclass(kw_only=True) +class ListResourceScanRelatedResourcesOutput(_SerdeShape): + """Dataclass for ListResourceScanRelatedResourcesOutput structure.""" + + related_resources: list[ScannedResource] | None = ... + """ + List of up to `MaxResults` resources in the specified resource scan + related to the specified resources. + """ + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call + `ListResourceScanRelatedResources` again and use that value for the + `NextToken` parameter. If the request returns all results, `NextToken` + is set to an empty string. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListResourceScanResourcesInput(_SerdeShape): + """Dataclass for ListResourceScanResourcesInput structure.""" + + resource_scan_id: str | None = ... + """The Amazon Resource Name (ARN) of the resource scan.""" + resource_identifier: str | None = ... + """ + If specified, the returned resources will have the specified resource + identifier (or one of them in the case where the resource has multiple + identifiers). + """ + resource_type_prefix: str | None = ... + """ + If specified, the returned resources will be of any of the resource + types with the specified prefix. + """ + tag_key: str | None = ... + """If specified, the returned resources will have a matching tag key.""" + tag_value: str | None = ... + """If specified, the returned resources will have a matching tag value.""" + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + If the number of available results exceeds this maximum, the response + includes a `NextToken` value that you can use for the `NextToken` + parameter to get the next set of results. By default the + `ListResourceScanResources` API action will return at most 100 results + in each response. The maximum value is 100. + """ + +@dataclass(kw_only=True) +class ListResourceScanResourcesOutput(_SerdeShape): + """Dataclass for ListResourceScanResourcesOutput structure.""" + + resources: list[ScannedResource] | None = ... + """ + List of up to `MaxResults` resources in the specified resource scan that + match all of the specified filters. + """ + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call + `ListResourceScanResources` again and use that value for the `NextToken` + parameter. If the request returns all results, `NextToken` is set to an + empty string. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListResourceScansInput(_SerdeShape): + """Dataclass for ListResourceScansInput structure.""" + + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + If the number of available results exceeds this maximum, the response + includes a `NextToken` value that you can use for the `NextToken` + parameter to get the next set of results. The default value is 10. The + maximum value is 100. + """ + scan_type_filter: str | None = ... + """ + The scan type that you want to get summary information about. The + default is `FULL`. + """ + +@dataclass(kw_only=True) +class ListResourceScansOutput(_SerdeShape): + """Dataclass for ListResourceScansOutput structure.""" + + resource_scan_summaries: list[ResourceScanSummary] | None = ... + """The list of scans returned.""" + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call + `ListResourceScans` again and use that value for the `NextToken` + parameter. If the request returns all results, `NextToken` is set to an + empty string. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStackInstanceResourceDriftsInput(_SerdeShape): + """Dataclass for ListStackInstanceResourceDriftsInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet that you want to list drifted + resources for. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + stack_instance_resource_drift_statuses: list[str] | None = ... + """ + The resource drift status of the stack instance. + + - `DELETED`: The resource differs from its expected template + configuration in that the resource has been deleted. + + - `MODIFIED`: One or more resource properties differ from their expected + template values. + + - `IN_SYNC`: The resource's actual configuration matches its expected + template configuration. + + - `NOT_CHECKED`: CloudFormation doesn't currently return this value. + """ + stack_instance_account: str | None = ... + """ + The name of the Amazon Web Services account that you want to list + resource drifts for. + """ + stack_instance_region: str | None = ... + """The name of the Region where you want to list resource drifts.""" + operation_id: str | None = ... + """The unique ID of the drift operation.""" + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class ListStackInstanceResourceDriftsOutput(_SerdeShape): + """Dataclass for ListStackInstanceResourceDriftsOutput structure.""" + + summaries: list[StackInstanceResourceDriftsSummary] | None = ... + """ + A list of `StackInstanceResourceDriftsSummary` structures that contain + information about the specified stack instances. + """ + next_token: str | None = ... + """ + If the previous paginated request didn't return all of the remaining + results, the response object's `NextToken` parameter value is set to a + token. To retrieve the next set of results, call this action again and + assign that token to the request object's `NextToken` parameter. If + there are no remaining results, the previous response object's + `NextToken` parameter is set to `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStackInstancesInput(_SerdeShape): + """Dataclass for ListStackInstancesInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet that you want to list stack + instances for. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + filters: list[StackInstanceFilter] | None = ... + """The filter to apply to stack instances""" + stack_instance_account: str | None = ... + """ + The name of the Amazon Web Services account that you want to list stack + instances for. + """ + stack_instance_region: str | None = ... + """The name of the Region where you want to list stack instances.""" + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class ListStackInstancesOutput(_SerdeShape): + """Dataclass for ListStackInstancesOutput structure.""" + + summaries: list[StackInstanceSummary] | None = ... + """ + A list of `StackInstanceSummary` structures that contain information + about the specified stack instances. + """ + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call + `ListStackInstances` again and assign that token to the request + object's `NextToken` parameter. If the request returns all results, + `NextToken` is set to `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStackRefactorActionsInput(_SerdeShape): + """Dataclass for ListStackRefactorActionsInput structure.""" + + stack_refactor_id: str | None = ... + """ + The ID associated with the stack refactor created from the + CreateStackRefactor action. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + +@dataclass(kw_only=True) +class ListStackRefactorActionsOutput(_SerdeShape): + """Dataclass for ListStackRefactorActionsOutput structure.""" + + stack_refactor_actions: list[StackRefactorAction] | None = ... + """The stack refactor actions.""" + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call this action + again and assign that token to the request object's `NextToken` + parameter. If the request returns all results, `NextToken` is set to + `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStackRefactorsInput(_SerdeShape): + """Dataclass for ListStackRefactorsInput structure.""" + + execution_status_filter: list[str] | None = ... + """ + Execution status to use as a filter. Specify one or more execution + status codes to list only stack refactors with the specified execution + status codes. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + +@dataclass(kw_only=True) +class ListStackRefactorsOutput(_SerdeShape): + """Dataclass for ListStackRefactorsOutput structure.""" + + stack_refactor_summaries: list[StackRefactorSummary] | None = ... + """ + Provides a summary of a stack refactor, including the following: + + - `StackRefactorId` + + - `Status` + + - `StatusReason` + + - `ExecutionStatus` + + - `ExecutionStatusReason` + + - `Description` + """ + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call this action + again and assign that token to the request object's `NextToken` + parameter. If the request returns all results, `NextToken` is set to + `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStackResourcesInput(_SerdeShape): + """The input for the ListStackResource action.""" + + stack_name: str | None = ... + """ + The name or the unique stack ID that is associated with the stack, which + aren't always interchangeable: + + - Running stacks: You can specify either the stack's name or its unique + stack ID. + + - Deleted stacks: You must specify the unique stack ID. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class ListStackResourcesOutput(_SerdeShape): + """The output for a ListStackResources action.""" + + stack_resource_summaries: list[StackResourceSummary] | None = ... + """A list of `StackResourceSummary` structures.""" + next_token: str | None = ... + """ + If the output exceeds 1 MB, a string that identifies the next page of + stack resources. If no additional page exists, this value is null. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStackSetAutoDeploymentTargetsInput(_SerdeShape): + """Dataclass for ListStackSetAutoDeploymentTargetsInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet that you want to get automatic + deployment targets for. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + call_as: str | None = ... + """ + Specifies whether you are acting as an account administrator in the + organization's management account or as a delegated administrator in a + member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class ListStackSetAutoDeploymentTargetsOutput(_SerdeShape): + """Dataclass for ListStackSetAutoDeploymentTargetsOutput structure.""" + + summaries: list[StackSetAutoDeploymentTargetSummary] | None = ... + """An array of summaries of the deployment targets for the StackSet.""" + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call + [ListStackSetAutoDeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStackSetAutoDeploymentTargets.html) + again and use that value for the `NextToken` parameter. If the request + returns all results, `NextToken` is set to an empty string. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStackSetOperationResultsInput(_SerdeShape): + """Dataclass for ListStackSetOperationResultsInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet that you want to get operation + results for. + """ + operation_id: str | None = ... + """The ID of the StackSet operation.""" + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + filters: list[OperationResultFilter] | None = ... + """The filter to apply to operation results.""" + +@dataclass(kw_only=True) +class ListStackSetOperationResultsOutput(_SerdeShape): + """Dataclass for ListStackSetOperationResultsOutput structure.""" + + summaries: list[StackSetOperationResultSummary] | None = ... + """ + A list of `StackSetOperationResultSummary` structures that contain + information about the specified operation results, for accounts and + Amazon Web Services Regions that are included in the operation. + """ + next_token: str | None = ... + """ + If the request doesn't return all results, `NextToken` is set to a + token. To retrieve the next set of results, call `ListOperationResults` + again and assign that token to the request object's `NextToken` + parameter. If there are no remaining results, `NextToken` is set to + `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStackSetOperationsInput(_SerdeShape): + """Dataclass for ListStackSetOperationsInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet that you want to get operation + summaries for. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class ListStackSetOperationsOutput(_SerdeShape): + """Dataclass for ListStackSetOperationsOutput structure.""" + + summaries: list[StackSetOperationSummary] | None = ... + """ + A list of `StackSetOperationSummary` structures that contain summary + information about operations for the specified StackSet. + """ + next_token: str | None = ... + """ + If the request doesn't return all results, `NextToken` is set to a + token. To retrieve the next set of results, call `ListOperationResults` + again and assign that token to the request object's `NextToken` + parameter. If there are no remaining results, `NextToken` is set to + `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStackSetsInput(_SerdeShape): + """Dataclass for ListStackSetsInput structure.""" + + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + status: str | None = ... + """ + The status of the StackSets that you want to get summary information + about. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the management account or as a delegated + administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class ListStackSetsOutput(_SerdeShape): + """Dataclass for ListStackSetsOutput structure.""" + + summaries: list[StackSetSummary] | None = ... + """ + A list of `StackSetSummary` structures that contain information about + the user's StackSets. + """ + next_token: str | None = ... + """ + If the request doesn't return all of the remaining results, `NextToken` + is set to a token. To retrieve the next set of results, call + `ListStackInstances` again and assign that token to the request + object's `NextToken` parameter. If the request returns all results, + `NextToken` is set to `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStacksInput(_SerdeShape): + """The input for ListStacks action.""" + + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + stack_status_filter: list[str] | None = ... + """ + Stack status to use as a filter. Specify one or more stack status codes + to list only stacks with the specified status codes. For a complete list + of stack status codes, see the `StackStatus` parameter of the Stack data + type. + """ + +@dataclass(kw_only=True) +class ListStacksOutput(_SerdeShape): + """The output for ListStacks action.""" + + stack_summaries: list[StackSummary] | None = ... + """ + A list of `StackSummary` structures that contains information about the + specified stacks. + """ + next_token: str | None = ... + """ + If the output exceeds 1 MB in size, a string that identifies the next + page of stacks. If no additional page exists, this value is null. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTypeRegistrationsInput(_SerdeShape): + """Dataclass for ListTypeRegistrationsInput structure.""" + + type: str | None = ... + """ + The kind of extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + type_name: str | None = ... + """ + The name of the extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + type_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + registration_status_filter: str | None = ... + """ + The current status of the extension registration request. + + The default is `IN_PROGRESS`. + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class ListTypeRegistrationsOutput(_SerdeShape): + """Dataclass for ListTypeRegistrationsOutput structure.""" + + registration_token_list: list[str] | None = ... + """ + A list of extension registration tokens. + + Use DescribeTypeRegistration to return detailed information about a type + registration request. + """ + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call this action + again and assign that token to the request object's `NextToken` + parameter. If the request returns all results, `NextToken` is set to + `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTypesInput(_SerdeShape): + """Dataclass for ListTypesInput structure.""" + + visibility: str | None = ... + """ + The scope at which the extensions are visible and usable in + CloudFormation operations. + + Valid values include: + + - `PRIVATE`: Extensions that are visible and usable within this account + and Region. This includes: + + - Private extensions you have registered in this account and Region. + + - Public extensions that you have activated in this account and + Region. + + - `PUBLIC`: Extensions that are publicly visible and available to be + activated within any Amazon Web Services account. This includes + extensions from Amazon Web Services and third-party publishers. + + The default is `PRIVATE`. + """ + provisioning_type: str | None = ... + """ + For resource types, the provisioning behavior of the resource type. + CloudFormation determines the provisioning type during registration, + based on the types of handlers in the schema handler package submitted. + + Valid values include: + + - `FULLY_MUTABLE`: The resource type includes an update handler to + process updates to the type during stack update operations. + + - `IMMUTABLE`: The resource type doesn't include an update handler, so + the type can't be updated and must instead be replaced during stack + update operations. + + - `NON_PROVISIONABLE`: The resource type doesn't include create, read, + and delete handlers, and therefore can't actually be provisioned. + + The default is `FULLY_MUTABLE`. + """ + deprecated_status: str | None = ... + """ + The deprecation status of the extension that you want to get summary + information about. + + Valid values include: + + - `LIVE`: The extension is registered for use in CloudFormation + operations. + + - `DEPRECATED`: The extension has been deregistered and can no longer be + used in CloudFormation operations. + """ + type: str | None = ... + """The type of extension.""" + filters: TypeFilters | None = ... + """ + Filter criteria to use in determining which extensions to return. + + Filters must be compatible with `Visibility` to return valid results. + For example, specifying `AWS_TYPES` for `Category` and `PRIVATE` for + `Visibility` returns an empty list of types, but specifying `PUBLIC` for + `Visibility` returns the desired list. + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + +@dataclass(kw_only=True) +class ListTypesOutput(_SerdeShape): + """Dataclass for ListTypesOutput structure.""" + + type_summaries: list[TypeSummary] | None = ... + """ + A list of `TypeSummary` structures that contain information about the + specified extensions. + """ + next_token: str | None = ... + """ + If the request doesn't return all the remaining results, `NextToken` is + set to a token. To retrieve the next set of results, call this action + again and assign that token to the request object's `NextToken` + parameter. If the request returns all results, `NextToken` is set to + `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTypeVersionsInput(_SerdeShape): + """Dataclass for ListTypeVersionsInput structure.""" + + type: str | None = ... + """ + The kind of the extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + type_name: str | None = ... + """ + The name of the extension for which you want version summary + information. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the extension for which you want + version summary information. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + max_results: int | None = ... + """ + The maximum number of results to be returned with a single call. If the + number of available results exceeds this maximum, the response includes + a `NextToken` value that you can assign to the `NextToken` request + parameter to get the next set of results. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a previous call.) + """ + deprecated_status: str | None = ... + """ + The deprecation status of the extension versions that you want to get + summary information about. + + Valid values include: + + - `LIVE`: The extension version is registered and can be used in + CloudFormation operations, dependent on its provisioning behavior and + visibility scope. + + - `DEPRECATED`: The extension version has been deregistered and can no + longer be used in CloudFormation operations. + + The default is `LIVE`. + """ + publisher_id: str | None = ... + """ + The publisher ID of the extension publisher. + + Extensions published by Amazon aren't assigned a publisher ID. + """ + +@dataclass(kw_only=True) +class ListTypeVersionsOutput(_SerdeShape): + """Dataclass for ListTypeVersionsOutput structure.""" + + type_version_summaries: list[TypeVersionSummary] | None = ... + """ + A list of `TypeVersionSummary` structures that contain information about + the specified extension's versions. + """ + next_token: str | None = ... + """ + If the request doesn't return all of the remaining results, `NextToken` + is set to a token. To retrieve the next set of results, call this action + again and assign that token to the request object's `NextToken` + parameter. If the request returns all results, `NextToken` is set to + `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LiveResourceDrift(_SerdeShape): + """ + Contains drift information for a resource property, including actual + value, previous deployment value, and drift detection timestamp. + """ + + previous_value: str | None = ... + """The configuration value from the previous CloudFormation deployment.""" + actual_value: str | None = ... + """The current live configuration value of the resource property.""" + drift_detection_timestamp: datetime | None = ... + """The timestamp when drift was detected for this resource property.""" + +@dataclass(kw_only=True) +class LoggingConfig(_SerdeShape): + """Contains logging configuration information for an extension.""" + + log_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the role that CloudFormation should + assume when sending log entries to CloudWatch Logs. + """ + log_group_name: str | None = ... + """ + The Amazon CloudWatch Logs group to which CloudFormation sends error + logging information when invoking the extension's handlers. + """ + +@dataclass(kw_only=True) +class ManagedExecution(_SerdeShape): + """ + Describes whether StackSets performs non-conflicting operations + concurrently and queues conflicting operations. + """ + + active: bool | None = ... + """ + When `true`, CloudFormation performs non-conflicting operations + concurrently and queues conflicting operations. After conflicting + operations finish, CloudFormation starts queued operations in request + order. + + Note: + If there are already running or queued operations, CloudFormation queues + all incoming operations even if they are non-conflicting. + + You can't modify your StackSet's execution configuration while there + are running or queued operations for that StackSet. + + When `false` (default), StackSets performs one operation at a time in + request order. + """ + +@dataclass(kw_only=True) +class ModuleInfo(_SerdeShape): + """ + Contains information about the module from which the resource was + created, if the resource was created from a module included in the stack + template. + + For more information about modules, see [Create reusable resource + configurations that can be included across templates with CloudFormation + modules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/modules.html) + in the *CloudFormation User Guide*. + """ + + type_hierarchy: str | None = ... + """ + A concatenated list of the module type or types that contains the + resource. Module types are listed starting with the inner-most nested + module, and separated by `/`. + + In the following example, the resource was created from a module of type + `AWS::First::Example::MODULE`, that's nested inside a parent module of + type `AWS::Second::Example::MODULE`. + + `AWS::First::Example::MODULE/AWS::Second::Example::MODULE` + """ + logical_id_hierarchy: str | None = ... + """ + A concatenated list of the logical IDs of the module or modules that + contains the resource. Modules are listed starting with the inner-most + nested module, and separated by `/`. + + In the following example, the resource was created from a module, + `moduleA`, that's nested inside a parent module, `moduleB`. + + `moduleA/moduleB` + + For more information, see [Reference module resources in CloudFormation + templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/module-ref-resources.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class NameAlreadyExistsException(ServiceError, _SerdeShape): + """The specified name is already in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class OnFailure(UnknownEnumMixin, StrEnum): + DO_NOTHING = "DO_NOTHING" + ROLLBACK = "ROLLBACK" + DELETE = "DELETE" + +class OnStackFailure(UnknownEnumMixin, StrEnum): + DO_NOTHING = "DO_NOTHING" + ROLLBACK = "ROLLBACK" + DELETE = "DELETE" + +@dataclass(kw_only=True) +class OperationEntry(_SerdeShape): + """Contains information about a CloudFormation operation.""" + + operation_type: str | None = ... + """The type of operation.""" + operation_id: str | None = ... + """The unique identifier for the operation.""" + +@dataclass(kw_only=True) +class OperationEvent(_SerdeShape): + """ + Contains detailed information about an event that occurred during a + CloudFormation operation. + """ + + event_id: str | None = ... + """A unique identifier for this event.""" + stack_id: str | None = ... + """The unique ID name of the instance of the stack.""" + operation_id: str | None = ... + """The unique identifier of the operation this event belongs to.""" + operation_type: str | None = ... + """The type of operation.""" + operation_status: str | None = ... + """The current status of the operation.""" + event_type: str | None = ... + """The type of event.""" + logical_resource_id: str | None = ... + """The logical name of the resource as specified in the template.""" + physical_resource_id: str | None = ... + """ + The name or unique identifier that corresponds to a physical instance ID + of a resource. + """ + resource_type: str | None = ... + """Type of resource.""" + timestamp: datetime | None = ... + """Time the status was updated.""" + start_time: datetime | None = ... + """The time when the event started.""" + end_time: datetime | None = ... + """The time when the event ended.""" + resource_status: str | None = ... + """Current status of the resource.""" + resource_status_reason: str | None = ... + """Success or failure message associated with the resource.""" + resource_properties: str | None = ... + """The properties used to create the resource.""" + client_request_token: str | None = ... + """A unique identifier for the request that initiated this operation.""" + hook_type: str | None = ... + """The type name of the Hook that was invoked.""" + hook_status: str | None = ... + """The status of the Hook invocation.""" + hook_status_reason: str | None = ... + """Additional information about the Hook status.""" + hook_invocation_point: str | None = ... + """The point in the operation lifecycle when the Hook was invoked.""" + hook_failure_mode: str | None = ... + """Specifies how Hook failures are handled.""" + detailed_status: str | None = ... + """Additional status information about the operation.""" + validation_failure_mode: str | None = ... + """Specifies how validation failures are handled.""" + validation_name: str | None = ... + """The name of the validation that was performed.""" + validation_status: str | None = ... + """The status of the validation.""" + validation_status_reason: str | None = ... + """Additional information about the validation status.""" + validation_path: str | None = ... + """The path within the resource where the validation was applied.""" + +@dataclass(kw_only=True) +class OperationIdAlreadyExistsException(ServiceError, _SerdeShape): + """The specified operation ID already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OperationInProgressException(ServiceError, _SerdeShape): + """ + Another operation is currently in progress for this StackSet. Only one + operation can be performed for a stack set at a given time. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OperationNotFoundException(ServiceError, _SerdeShape): + """The specified ID refers to an operation that doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OperationResultFilter(_SerdeShape): + """The status that operation results are filtered by.""" + + name: str | None = ... + """The type of filter to apply.""" + values: str | None = ... + """The value to filter by.""" + +class OperationResultFilterName(UnknownEnumMixin, StrEnum): + OPERATION_RESULT_STATUS = "OPERATION_RESULT_STATUS" + +class OperationStatus(UnknownEnumMixin, StrEnum): + PENDING = "PENDING" + IN_PROGRESS = "IN_PROGRESS" + SUCCESS = "SUCCESS" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class OperationStatusCheckFailedException(ServiceError, _SerdeShape): + """ + Error reserved for use by the [CloudFormation + CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). + CloudFormation doesn't return this error to users. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class OperationType(UnknownEnumMixin, StrEnum): + CREATE_STACK = "CREATE_STACK" + UPDATE_STACK = "UPDATE_STACK" + DELETE_STACK = "DELETE_STACK" + CONTINUE_ROLLBACK = "CONTINUE_ROLLBACK" + ROLLBACK = "ROLLBACK" + CREATE_CHANGESET = "CREATE_CHANGESET" + +class OrganizationStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + DISABLED_PERMANENTLY = "DISABLED_PERMANENTLY" + +@dataclass(kw_only=True) +class Output(_SerdeShape): + """The `Output` data type.""" + + output_key: str | None = ... + """The key associated with the output.""" + output_value: str | None = ... + """The value associated with the output.""" + description: str | None = ... + """User defined description associated with the output.""" + export_name: str | None = ... + """The name of the export associated with the output.""" + +@dataclass(kw_only=True) +class Parameter(_SerdeShape): + """The `Parameter` data type.""" + + parameter_key: str | None = ... + """ + The key associated with the parameter. If you don't specify a key and + value for a particular parameter, CloudFormation uses the default value + that's specified in your template. + """ + parameter_value: str | None = ... + """The input value associated with the parameter.""" + use_previous_value: bool | None = ... + """ + During a stack update, use the existing parameter value that the stack + is using for a given parameter key. If you specify `true`, do not + specify a parameter value. + """ + resolved_value: str | None = ... + """ + Read-only. The value that corresponds to a Systems Manager parameter + key. This field is returned only for Systems Manager parameter types in + the template. For more information, see [Specify existing resources at + runtime with CloudFormation-supplied parameter + types](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-supplied-parameter-types.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class ParameterConstraints(_SerdeShape): + """ + A set of criteria that CloudFormation uses to validate parameter values. + Although other constraints might be defined in the stack template, + CloudFormation returns only the `AllowedValues` property. + """ + + allowed_values: list[str] | None = ... + """A list of values that are permitted for a parameter.""" + +@dataclass(kw_only=True) +class ParameterDeclaration(_SerdeShape): + """The `ParameterDeclaration` data type.""" + + parameter_key: str | None = ... + """The name that's associated with the parameter.""" + default_value: str | None = ... + """The default value of the parameter.""" + parameter_type: str | None = ... + """The type of parameter.""" + no_echo: bool | None = ... + """ + Flag that indicates whether the parameter value is shown as plain text + in logs and in the Amazon Web Services Management Console. + """ + description: str | None = ... + """The description that's associate with the parameter.""" + parameter_constraints: ParameterConstraints | None = ... + """The criteria that CloudFormation uses to validate parameter values.""" + +class PermissionModels(UnknownEnumMixin, StrEnum): + SERVICE_MANAGED = "SERVICE_MANAGED" + SELF_MANAGED = "SELF_MANAGED" + +@dataclass(kw_only=True) +class PhysicalResourceIdContextKeyValuePair(_SerdeShape): + """ + Context information that enables CloudFormation to uniquely identify a + resource. CloudFormation uses context key-value pairs in cases where a + resource's logical and physical IDs aren't enough to uniquely identify + that resource. Each context key-value pair specifies a resource that + contains the targeted resource. + """ + + key: str | None = ... + """The resource context key.""" + value: str | None = ... + """The resource context value.""" + +class PolicyAction(UnknownEnumMixin, StrEnum): + DELETE = "Delete" + RETAIN = "Retain" + SNAPSHOT = "Snapshot" + REPLACE_AND_DELETE = "ReplaceAndDelete" + REPLACE_AND_RETAIN = "ReplaceAndRetain" + REPLACE_AND_SNAPSHOT = "ReplaceAndSnapshot" + +@dataclass(kw_only=True) +class PropertyDifference(_SerdeShape): + """ + Information about a resource property whose actual value differs from + its expected value, as defined in the stack template and any values + specified as template parameters. These will be present only for + resources whose `StackResourceDriftStatus` is `MODIFIED`. For more + information, see [Detect unmanaged configuration changes to stacks and + resources with drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). + """ + + property_path: str | None = ... + """The fully-qualified path to the resource property.""" + expected_value: str | None = ... + """ + The expected property value of the resource property, as defined in the + stack template and any values specified as template parameters. + """ + actual_value: str | None = ... + """The actual property value of the resource property.""" + difference_type: str | None = ... + """ + The type of property difference. + + - `ADD`: A value has been added to a resource property that's an array + or list data type. + + - `REMOVE`: The property has been removed from the current resource + configuration. + + - `NOT_EQUAL`: The current property value differs from its expected + value (as defined in the stack template and any values specified as + template parameters). + """ + +class ProvisioningType(UnknownEnumMixin, StrEnum): + NON_PROVISIONABLE = "NON_PROVISIONABLE" + IMMUTABLE = "IMMUTABLE" + FULLY_MUTABLE = "FULLY_MUTABLE" + +class PublisherStatus(UnknownEnumMixin, StrEnum): + VERIFIED = "VERIFIED" + UNVERIFIED = "UNVERIFIED" + +@dataclass(kw_only=True) +class PublishTypeInput(_SerdeShape): + """Dataclass for PublishTypeInput structure.""" + + type: str | None = ... + """ + The type of the extension. + + Conditional: You must specify `Arn`, or `TypeName` and `Type`. + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the extension. + + Conditional: You must specify `Arn`, or `TypeName` and `Type`. + """ + type_name: str | None = ... + """ + The name of the extension. + + Conditional: You must specify `Arn`, or `TypeName` and `Type`. + """ + public_version_number: str | None = ... + """ + The version number to assign to this version of the extension. + + Use the following format, and adhere to semantic versioning when + assigning a version number to your extension: + + `MAJOR.MINOR.PATCH` + + For more information, see [Semantic Versioning + 2.0.0](https://semver.org/). + + If you don't specify a version number, CloudFormation increments the + version number by one minor version release. + + You cannot specify a version number the first time you publish a type. + CloudFormation automatically sets the first version number to be + `1.0.0`. + """ + +@dataclass(kw_only=True) +class PublishTypeOutput(_SerdeShape): + """Dataclass for PublishTypeOutput structure.""" + + public_type_arn: str | None = ... + """ + The Amazon Resource Name (ARN) assigned to the public extension upon + publication. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RecordHandlerProgressInput(_SerdeShape): + """Dataclass for RecordHandlerProgressInput structure.""" + + bearer_token: str | None = ... + """ + Reserved for use by the [CloudFormation + CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). + """ + operation_status: str | None = ... + """ + Reserved for use by the [CloudFormation + CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). + """ + current_operation_status: str | None = ... + """ + Reserved for use by the [CloudFormation + CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). + """ + status_message: str | None = ... + """ + Reserved for use by the [CloudFormation + CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). + """ + error_code: str | None = ... + """ + Reserved for use by the [CloudFormation + CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). + """ + resource_model: str | None = ... + """ + Reserved for use by the [CloudFormation + CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). + """ + client_request_token: str | None = ... + """ + Reserved for use by the [CloudFormation + CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). + """ + +@dataclass(kw_only=True) +class RecordHandlerProgressOutput(_SerdeShape): + """Dataclass for RecordHandlerProgressOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class RegionConcurrencyType(UnknownEnumMixin, StrEnum): + SEQUENTIAL = "SEQUENTIAL" + PARALLEL = "PARALLEL" + +@dataclass(kw_only=True) +class RegisterPublisherInput(_SerdeShape): + """Dataclass for RegisterPublisherInput structure.""" + + accept_terms_and_conditions: bool | None = ... + """ + Whether you accept the [Terms and + Conditions](https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf) + for publishing extensions in the CloudFormation registry. You must + accept the terms and conditions in order to register to publish public + extensions to the CloudFormation registry. + + The default is `false`. + """ + connection_arn: str | None = ... + """ + If you are using a Bitbucket or GitHub account for identity + verification, the Amazon Resource Name (ARN) for your connection to that + account. + + For more information, see [Prerequisite: Registering your account to + publish CloudFormation + extensions](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs) + in the *CloudFormation Command Line Interface (CLI) User Guide*. + """ + +@dataclass(kw_only=True) +class RegisterPublisherOutput(_SerdeShape): + """Dataclass for RegisterPublisherOutput structure.""" + + publisher_id: str | None = ... + """ + The ID assigned this account by CloudFormation for publishing + extensions. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RegisterTypeInput(_SerdeShape): + """Dataclass for RegisterTypeInput structure.""" + + type: str | None = ... + """The kind of extension.""" + type_name: str | None = ... + """ + The name of the extension being registered. + + We suggest that extension names adhere to the following patterns: + + - For resource types, `company_or_organization::service::type`. + + - For modules, `company_or_organization::service::type::MODULE`. + + - For Hooks, `MyCompany::Testing::MyTestHook`. + + Note: + The following organization namespaces are reserved and can't be used in + your extension names: + + - `Alexa` + + - `AMZN` + + - `Amazon` + + - `AWS` + + - `Custom` + + - `Dev` + """ + schema_handler_package: str | None = ... + """ + A URL to the S3 bucket that contains the extension project package that + contains the necessary files for the extension you want to register. + + For information about generating a schema handler package for the + extension you want to register, see + [submit](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html) + in the *CloudFormation Command Line Interface (CLI) User Guide*. + + Note: + The user registering the extension must be able to access the package in + the S3 bucket. That's, the user needs to have + [GetObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) + permissions for the schema handler package. For more information, see + [Actions, Resources, and Condition Keys for Amazon + S3](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html) + in the *Identity and Access Management User Guide*. + """ + logging_config: LoggingConfig | None = ... + """Specifies logging configuration information for an extension.""" + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role for CloudFormation to + assume when invoking the extension. + + For CloudFormation to assume the specified execution role, the role must + contain a trust relationship with the CloudFormation service principal + (`resources.cloudformation.amazonaws.com`). For more information about + adding trust relationships, see [Modifying a role trust + policy](https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-console.html#roles-managingrole_edit-trust-policy) + in the *Identity and Access Management User Guide*. + + If your extension calls Amazon Web Services APIs in any of its handlers, + you must create an *[IAM execution + role](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html)* + that includes the necessary permissions to call those Amazon Web + Services APIs, and provision that execution role in your account. When + CloudFormation needs to invoke the resource type handler, CloudFormation + assumes this execution role to create a temporary session token, which + it then passes to the resource type handler, thereby supplying your + resource type with the appropriate credentials. + """ + client_request_token: str | None = ... + """ + A unique identifier that acts as an idempotency key for this + registration request. Specifying a client request token prevents + CloudFormation from generating more than one version of an extension + from the same registration request, even if the request is submitted + multiple times. + """ + +@dataclass(kw_only=True) +class RegisterTypeOutput(_SerdeShape): + """Dataclass for RegisterTypeOutput structure.""" + + registration_token: str | None = ... + """ + The identifier for this registration request. + + Use this registration token when calling DescribeTypeRegistration, which + returns information about the status and IDs of the extension + registration. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class RegistrationStatus(UnknownEnumMixin, StrEnum): + COMPLETE = "COMPLETE" + IN_PROGRESS = "IN_PROGRESS" + FAILED = "FAILED" diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/models_1.pyi b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/models_1.pyi new file mode 100644 index 000000000..ebf95b4b7 --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/models_1.pyi @@ -0,0 +1,4571 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccountGateResult, + AutoDeployment, + DeploymentConfig, + DeploymentTargets, + LiveResourceDrift, + ManagedExecution, + ModuleInfo, + OperationEntry, + Output, + Parameter, + PhysicalResourceIdContextKeyValuePair, + PropertyDifference, + ServiceError, + _SerdeShape, +) + +class RegistryType(UnknownEnumMixin, StrEnum): + RESOURCE = "RESOURCE" + MODULE = "MODULE" + HOOK = "HOOK" + +class Replacement(UnknownEnumMixin, StrEnum): + TRUE = "True" + FALSE = "False" + CONDITIONAL = "Conditional" + +@dataclass(kw_only=True) +class RequiredActivatedType(_SerdeShape): + """ + For extensions that are modules, a public third-party extension that + must be activated in your account in order for the module itself to be + activated. + + For more information, see [Requirements for activating third-party + public + modules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/module-versioning.html#requirements-for-modules) + in the *CloudFormation User Guide*. + """ + + type_name_alias: str | None = ... + """ + An alias assigned to the public extension, in this account and Region. + If you specify an alias for the extension, CloudFormation treats the + alias as the extension type name within this account and Region. You + must use the alias to refer to the extension in your templates, API + calls, and CloudFormation console. + """ + original_type_name: str | None = ... + """ + The type name of the public extension. + + If you specified a `TypeNameAlias` when enabling the extension in this + account and Region, CloudFormation treats that alias as the extension's + type name within the account and Region, not the type name of the public + extension. For more information, see [Use aliases to refer to + extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias) + in the *CloudFormation User Guide*. + """ + publisher_id: str | None = ... + """The publisher ID of the extension publisher.""" + supported_major_versions: list[int] | None = ... + """ + A list of the major versions of the extension type that the macro + supports. + """ + +class RequiresRecreation(UnknownEnumMixin, StrEnum): + NEVER = "Never" + CONDITIONALLY = "Conditionally" + ALWAYS = "Always" + +class ResourceAttribute(UnknownEnumMixin, StrEnum): + PROPERTIES = "Properties" + METADATA = "Metadata" + CREATION_POLICY = "CreationPolicy" + UPDATE_POLICY = "UpdatePolicy" + DELETION_POLICY = "DeletionPolicy" + UPDATE_REPLACE_POLICY = "UpdateReplacePolicy" + TAGS = "Tags" + +@dataclass(kw_only=True) +class ResourceChange(_SerdeShape): + """ + The `ResourceChange` structure describes the resource and the action + that CloudFormation will perform on it if you execute this change set. + """ + + policy_action: str | None = ... + """ + The action that will be taken on the physical resource when the change + set is executed. + + - `Delete` The resource will be deleted. + + - `Retain` The resource will be retained. + + - `Snapshot` The resource will have a snapshot taken. + + - `ReplaceAndDelete` The resource will be replaced and then deleted. + + - `ReplaceAndRetain` The resource will be replaced and then retained. + + - `ReplaceAndSnapshot` The resource will be replaced and then have a + snapshot taken. + """ + action: str | None = ... + """ + The action that CloudFormation takes on the resource, such as `Add` + (adds a new resource), `Modify` (changes a resource), `Remove` (deletes + a resource), `Import` (imports a resource), `Dynamic` (exact action for + the resource can't be determined), or `SyncWithActual` (resource will + not be changed, only CloudFormation metadata will change). + """ + logical_resource_id: str | None = ... + """The resource's logical ID, which is defined in the stack's template.""" + physical_resource_id: str | None = ... + """ + The resource's physical ID (resource name). Resources that you are + adding don't have physical IDs because they haven't been created. + """ + resource_type: str | None = ... + """The type of CloudFormation resource, such as `AWS::S3::Bucket`.""" + replacement: str | None = ... + """ + For the `Modify` action, indicates whether CloudFormation will replace + the resource by creating a new one and deleting the old one. This value + depends on the value of the `RequiresRecreation` property in the + `ResourceTargetDefinition` structure. For example, if the + `RequiresRecreation` field is `Always` and the `Evaluation` field is + `Static`, `Replacement` is `True`. If the `RequiresRecreation` field is + `Always` and the `Evaluation` field is `Dynamic`, `Replacement` is + `Conditional`. + + If you have multiple changes with different `RequiresRecreation` values, + the `Replacement` value depends on the change with the most impact. A + `RequiresRecreation` value of `Always` has the most impact, followed by + `Conditional`, and then `Never`. + """ + scope: list[str] | None = ... + """ + For the `Modify` action, indicates which resource attribute is + triggering this update, such as a change in the resource attribute's + `Metadata`, `Properties`, or `Tags`. + """ + resource_drift_status: str | None = ... + """ + The drift status of the resource. Valid values: + + - `IN_SYNC` -- The resource matches its template definition. + + - `MODIFIED` -- Resource properties were modified outside + CloudFormation. + + - `DELETED` -- The resource was deleted outside CloudFormation. + + - `NOT_CHECKED` -- CloudFormation doesn't currently return this value. + + - `UNKNOWN` -- Drift status could not be determined. + + - `UNSUPPORTED` -- Resource type does not support actual state + comparison. + + Only present for drift-aware change sets. + """ + resource_drift_ignored_attributes: list[ResourceDriftIgnoredAttribute] | None = ... + """List of resource attributes for which drift was ignored.""" + details: list[ResourceChangeDetail] | None = ... + """ + For the `Modify` action, a list of `ResourceChangeDetail` structures + that describes the changes that CloudFormation will make to the + resource. + """ + change_set_id: str | None = ... + """The change set ID of the nested change set.""" + module_info: ModuleInfo | None = ... + """ + Contains information about the module from which the resource was + created, if the resource was created from a module included in the stack + template. + """ + before_context: str | None = ... + """ + An encoded JSON string that contains the context of the resource before + the change is executed. + """ + after_context: str | None = ... + """ + An encoded JSON string that contains the context of the resource after + the change is executed. + """ + previous_deployment_context: str | None = ... + """ + Information about the resource's state from the previous CloudFormation + deployment. + """ + +@dataclass(kw_only=True) +class ResourceChangeDetail(_SerdeShape): + """ + For a resource with `Modify` as the action, the `ResourceChange` + structure describes the changes CloudFormation will make to that + resource. + """ + + target: ResourceTargetDefinition | None = ... + """ + A `ResourceTargetDefinition` structure that describes the field that + CloudFormation will change and whether the resource will be recreated. + """ + evaluation: str | None = ... + """ + Indicates whether CloudFormation can determine the target value, and + whether the target value will change before you execute a change set. + + For `Static` evaluations, CloudFormation can determine that the target + value will change, and its value. For example, if you directly modify + the `InstanceType` property of an EC2 instance, CloudFormation knows + that this property value will change, and its value, so this is a + `Static` evaluation. + + For `Dynamic` evaluations, can't determine the target value because it + depends on the result of an intrinsic function, such as a `Ref` or + `Fn::GetAtt` intrinsic function, when the stack is updated. For example, + if your template includes a reference to a resource that's + conditionally recreated, the value of the reference (the physical ID of + the resource) might change, depending on if the resource is recreated. + If the resource is recreated, it will have a new physical ID, so all + references to that resource will also be updated. + """ + change_source: str | None = ... + """ + The group to which the `CausingEntity` value belongs. There are five + entity groups: + + - `ResourceReference` entities are `Ref` intrinsic functions that refer + to resources in the template, such as + `{ "Ref" : "MyEC2InstanceResource" }`. + + - `ParameterReference` entities are `Ref` intrinsic functions that get + template parameter values, such as + `{ "Ref" : "MyPasswordParameter" }`. + + - `ResourceAttribute` entities are `Fn::GetAtt` intrinsic functions that + get resource attribute values, such as + `{ "Fn::GetAtt" : [ "MyEC2InstanceResource", "PublicDnsName" ] }`. + + - `DirectModification` entities are changes that are made directly to + the template. + + - `Automatic` entities are `AWS::CloudFormation::Stack` resource types, + which are also known as nested stacks. If you made no changes to the + `AWS::CloudFormation::Stack` resource, CloudFormation sets the + `ChangeSource` to `Automatic` because the nested stack's template + might have changed. Changes to a nested stack's template aren't + visible to CloudFormation until you run an update on the parent stack. + + - `NoModification` entities are changes made to the template that + matches the actual state of the resource. + """ + causing_entity: str | None = ... + """ + The identity of the entity that triggered this change. This entity is a + member of the group that's specified by the `ChangeSource` field. For + example, if you modified the value of the `KeyPairName` parameter, the + `CausingEntity` is the name of the parameter (`KeyPairName`). + + If the `ChangeSource` value is `DirectModification`, no value is given + for `CausingEntity`. + """ + +@dataclass(kw_only=True) +class ResourceDefinition(_SerdeShape): + """ + A resource included in a generated template. This data type is used with + the `CreateGeneratedTemplate` and `UpdateGeneratedTemplate` API actions. + """ + + resource_type: str | None = ... + """ + The type of the resource, such as `AWS::DynamoDB::Table`. For the list + of supported resources, see [Resource type support for imports and drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) + in the *CloudFormation User Guide* + """ + logical_resource_id: str | None = ... + """The logical resource id for this resource in the generated template.""" + resource_identifier: dict[str, str] | None = ... + """ + A list of up to 256 key-value pairs that identifies the scanned + resource. The key is the name of one of the primary identifiers for the + resource. (Primary identifiers are specified in the `primaryIdentifier` + list in the resource schema.) The value is the value of that primary + identifier. For example, for a `AWS::DynamoDB::Table` resource, the + primary identifiers is `TableName` so the key-value pair could be + `"TableName": "MyDDBTable"`. For more information, see + [primaryIdentifier](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier) + in the *CloudFormation Command Line Interface (CLI) User Guide*. + """ + +@dataclass(kw_only=True) +class ResourceDetail(_SerdeShape): + """Details about a resource in a generated template""" + + resource_type: str | None = ... + """ + The type of the resource, such as `AWS::DynamoDB::Table`. For the list + of supported resources, see [Resource type support for imports and drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) + In the *CloudFormation User Guide* + """ + logical_resource_id: str | None = ... + """The logical id for this resource in the final generated template.""" + resource_identifier: dict[str, str] | None = ... + """ + A list of up to 256 key-value pairs that identifies the resource in the + generated template. The key is the name of one of the primary + identifiers for the resource. (Primary identifiers are specified in the + `primaryIdentifier` list in the resource schema.) The value is the value + of that primary identifier. For example, for a `AWS::DynamoDB::Table` + resource, the primary identifiers is `TableName` so the key-value pair + could be `"TableName": "MyDDBTable"`. For more information, see + [primaryIdentifier](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier) + in the *CloudFormation Command Line Interface (CLI) User Guide*. + """ + resource_status: str | None = ... + """ + Status of the processing of a resource in a generated template. + + InProgress + + : The resource processing is still in progress. + + Complete + + : The resource processing is complete. + + Pending + + : The resource processing is pending. + + Failed + + : The resource processing has failed. + """ + resource_status_reason: str | None = ... + """ + The reason for the resource detail, providing more information if a + failure happened. + """ + warnings: list[WarningDetail] | None = ... + """The warnings generated for this resource.""" + +@dataclass(kw_only=True) +class ResourceDriftIgnoredAttribute(_SerdeShape): + """The `ResourceDriftIgnoredAttribute` data type.""" + + path: str | None = ... + """Path of the resource attribute for which drift was ignored.""" + reason: str | None = ... + """ + Reason why drift was ignored for the attribute, can have 3 possible + values: + + - `WRITE_ONLY_PROPERTY` -- Property is not included in read response for + the resource's live state. + + - `MANAGED_BY_AWS` -- Property is managed by an Amazon Web Services + service and is expected to be dynamically modified. + + - `SENSITIVE_PROPERTY` -- Property has a sensitive value, such as an + Amazon Web Services Secrets Manager value. + """ + +@dataclass(kw_only=True) +class ResourceIdentifierSummary(_SerdeShape): + """ + Describes the target resources of a specific type in your import + template (for example, all `AWS::S3::Bucket` resources) and the + properties you can provide during the import to identify resources of + that type. + """ + + resource_type: str | None = ... + """ + The template resource type of the target resources, such as + `AWS::S3::Bucket`. + """ + logical_resource_ids: list[str] | None = ... + """ + The logical IDs of the target resources of the specified `ResourceType`, + as defined in the import template. + """ + resource_identifiers: list[str] | None = ... + """ + The resource properties you can provide during the import to identify + your target resources. For example, `BucketName` is a possible + identifier property for `AWS::S3::Bucket` resources. + """ + +@dataclass(kw_only=True) +class ResourceLocation(_SerdeShape): + """The location of the resource in a stack template.""" + + stack_name: str | None = ... + """The name associated with the stack.""" + logical_resource_id: str | None = ... + """The logical name of the resource specified in the template.""" + +@dataclass(kw_only=True) +class ResourceMapping(_SerdeShape): + """ + Specifies the current source of the resource and the destination of + where it will be moved to. + """ + + source: ResourceLocation | None = ... + """ + The source stack `StackName` and `LogicalResourceId` for the resource + being refactored. + """ + destination: ResourceLocation | None = ... + """ + The destination stack `StackName` and `LogicalResourceId` for the + resource being refactored. + """ + +@dataclass(kw_only=True) +class ResourceScanInProgressException(ServiceError, _SerdeShape): + """ + A resource scan is currently in progress. Only one can be run at a time + for an account in a Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceScanLimitExceededException(ServiceError, _SerdeShape): + """ + The limit on resource scans has been exceeded. Reasons include: + + - Exceeded the daily quota for resource scans. + + - A resource scan recently failed. You must wait 10 minutes before + starting a new resource scan. + + - The last resource scan failed after exceeding 100,000 resources. When + this happens, you must wait 24 hours before starting a new resource + scan. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceScanNotFoundException(ServiceError, _SerdeShape): + """The resource scan was not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ResourceScanStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "IN_PROGRESS" + FAILED = "FAILED" + COMPLETE = "COMPLETE" + EXPIRED = "EXPIRED" + +@dataclass(kw_only=True) +class ResourceScanSummary(_SerdeShape): + """ + A summary of the resource scan. This is returned by the + `ListResourceScan` API action. + """ + + resource_scan_id: str | None = ... + """The Amazon Resource Name (ARN) of the resource scan.""" + status: str | None = ... + """ + Status of the resource scan. + + IN_PROGRESS + + : The resource scan is still in progress. + + COMPLETE + + : The resource scan is complete. + + EXPIRED + + : The resource scan has expired. + + FAILED + + : The resource scan has failed. + """ + status_reason: str | None = ... + """ + The reason for the resource scan status, providing more information if a + failure happened. + """ + start_time: datetime | None = ... + """The time that the resource scan was started.""" + end_time: datetime | None = ... + """The time that the resource scan was finished.""" + percentage_completed: float | None = ... + """The percentage of the resource scan that has been completed.""" + scan_type: str | None = ... + """The scan type that has been completed.""" + +class ResourceSignalStatus(UnknownEnumMixin, StrEnum): + SUCCESS = "SUCCESS" + FAILURE = "FAILURE" + +class ResourceStatus(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" + CREATE_FAILED = "CREATE_FAILED" + CREATE_COMPLETE = "CREATE_COMPLETE" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + DELETE_FAILED = "DELETE_FAILED" + DELETE_COMPLETE = "DELETE_COMPLETE" + DELETE_SKIPPED = "DELETE_SKIPPED" + UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" + UPDATE_FAILED = "UPDATE_FAILED" + UPDATE_COMPLETE = "UPDATE_COMPLETE" + IMPORT_FAILED = "IMPORT_FAILED" + IMPORT_COMPLETE = "IMPORT_COMPLETE" + IMPORT_IN_PROGRESS = "IMPORT_IN_PROGRESS" + IMPORT_ROLLBACK_IN_PROGRESS = "IMPORT_ROLLBACK_IN_PROGRESS" + IMPORT_ROLLBACK_FAILED = "IMPORT_ROLLBACK_FAILED" + IMPORT_ROLLBACK_COMPLETE = "IMPORT_ROLLBACK_COMPLETE" + EXPORT_FAILED = "EXPORT_FAILED" + EXPORT_COMPLETE = "EXPORT_COMPLETE" + EXPORT_IN_PROGRESS = "EXPORT_IN_PROGRESS" + EXPORT_ROLLBACK_IN_PROGRESS = "EXPORT_ROLLBACK_IN_PROGRESS" + EXPORT_ROLLBACK_FAILED = "EXPORT_ROLLBACK_FAILED" + EXPORT_ROLLBACK_COMPLETE = "EXPORT_ROLLBACK_COMPLETE" + UPDATE_ROLLBACK_IN_PROGRESS = "UPDATE_ROLLBACK_IN_PROGRESS" + UPDATE_ROLLBACK_COMPLETE = "UPDATE_ROLLBACK_COMPLETE" + UPDATE_ROLLBACK_FAILED = "UPDATE_ROLLBACK_FAILED" + ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" + ROLLBACK_COMPLETE = "ROLLBACK_COMPLETE" + ROLLBACK_FAILED = "ROLLBACK_FAILED" + +@dataclass(kw_only=True) +class ResourceTargetDefinition(_SerdeShape): + """ + The field that CloudFormation will change, such as the name of a + resource's property, and whether the resource will be recreated. + """ + + attribute: str | None = ... + """ + Indicates which resource attribute is triggering this update, such as a + change in the resource attribute's `Metadata`, `Properties`, or `Tags`. + """ + name: str | None = ... + """ + If the `Attribute` value is `Properties`, the name of the property. For + all other attributes, the value is null. + """ + requires_recreation: str | None = ... + """ + If the `Attribute` value is `Properties`, indicates whether a change to + this property causes the resource to be recreated. The value can be + `Never`, `Always`, or `Conditionally`. To determine the conditions for a + `Conditionally` recreation, see the update behavior for that property in + the [Amazon Web Services resource and property types + reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) + in the *CloudFormation User Guide*. + """ + path: str | None = ... + """The property path of the property.""" + before_value: str | None = ... + """ + The value of the property before the change is executed. Large values + can be truncated. + """ + after_value: str | None = ... + """ + The value of the property after the change is executed. Large values can + be truncated. + """ + before_value_from: str | None = ... + """ + Indicates the source of the before value. Valid values: + + - `ACTUAL_STATE` -- The before value represents current actual state. + + - `PREVIOUS_DEPLOYMENT_STATE` -- The before value represents the + previous CloudFormation deployment state. + + Only present for drift-aware change sets. + """ + after_value_from: str | None = ... + """ + Indicates the source of the after value. Valid value: + + - `TEMPLATE` -- The after value comes from the new template. + + Only present for drift-aware change sets. + """ + drift: LiveResourceDrift | None = ... + """ + Detailed drift information for the resource property, including actual + values, previous deployment values, and drift detection timestamps. + """ + attribute_change_type: str | None = ... + """ + The type of change to be made to the property if the change is executed. + + - `Add` The item will be added. + + - `Remove` The item will be removed. + + - `Modify` The item will be modified. + + - `SyncWithActual` The drift status of this item will be reset but the + item will not be modified. + """ + +@dataclass(kw_only=True) +class ResourceToImport(_SerdeShape): + """Describes the target resource of an import operation.""" + + resource_type: str | None = ... + """ + The type of resource to import into your stack, such as + `AWS::S3::Bucket`. For a list of supported resource types, see [Resource + type support for imports and drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) + in the *CloudFormation User Guide*. + """ + logical_resource_id: str | None = ... + """The logical ID of the target resource as specified in the template.""" + resource_identifier: dict[str, str] | None = ... + """ + A key-value pair that identifies the target resource. The key is an + identifier property (for example, `BucketName` for `AWS::S3::Bucket` + resources) and the value is the actual property value (for example, + `MyS3Bucket`). + """ + +@dataclass(kw_only=True) +class RollbackConfiguration(_SerdeShape): + """ + Structure that contains the rollback triggers for CloudFormation to + monitor during stack creation and updating operations, and for the + specified monitoring period afterwards. + + Rollback triggers enable you to have CloudFormation monitor the state of + your application during stack creation and updating, and to roll back + that operation if the application breaches the threshold of any of the + alarms you've specified. For more information, see [Roll back your + CloudFormation stack on alarm breach with rollback + triggers](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-rollback-triggers.html). + """ + + rollback_triggers: list[RollbackTrigger] | None = ... + """ + The triggers to monitor during stack creation or update actions. + + By default, CloudFormation saves the rollback triggers specified for a + stack and applies them to any subsequent update operations for the + stack, unless you specify otherwise. If you do specify rollback triggers + for this parameter, those triggers replace any list of triggers + previously specified for the stack. This means: + + - To use the rollback triggers previously specified for this stack, if + any, don't specify this parameter. + + - To specify new or updated rollback triggers, you must specify *all* + the triggers that you want used for this stack, even triggers you've + specified before (for example, when creating the stack or during a + previous stack update). Any triggers that you don't include in the + updated list of triggers are no longer applied to the stack. + + - To remove all currently specified triggers, specify an empty list for + this parameter. + + If a specified trigger is missing, the entire stack operation fails and + is rolled back. + """ + monitoring_time_in_minutes: int | None = ... + """ + The amount of time, in minutes, during which CloudFormation should + monitor all the rollback triggers after the stack creation or update + operation deploys all necessary resources. + + The default is 0 minutes. + + If you specify a monitoring period but don't specify any rollback + triggers, CloudFormation still waits the specified period of time before + cleaning up old resources after update operations. You can use this + monitoring period to perform any manual stack validation desired, and + manually cancel the stack creation or update (using + [CancelUpdateStack](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html), + for example) as necessary. + + If you specify 0 for this parameter, CloudFormation still monitors the + specified rollback triggers during stack creation and update operations. + Then, for update operations, it begins disposing of old resources + immediately once the operation completes. + """ + +@dataclass(kw_only=True) +class RollbackStackInput(_SerdeShape): + """Dataclass for RollbackStackInput structure.""" + + stack_name: str | None = ... + """The name that's associated with the stack.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role that CloudFormation + assumes to rollback the stack. + """ + client_request_token: str | None = ... + """A unique identifier for this `RollbackStack` request.""" + retain_except_on_create: bool | None = ... + """ + When set to `true`, newly created resources are deleted when the + operation rolls back. This includes newly created resources marked with + a deletion policy of `Retain`. + + Default: `false` + """ + deployment_config: DeploymentConfig | None = ... + """ + The deployment configuration for this stack operation, including the + deployment mode. + """ + +@dataclass(kw_only=True) +class RollbackStackOutput(_SerdeShape): + """Dataclass for RollbackStackOutput structure.""" + + stack_id: str | None = ... + """Unique identifier of the stack.""" + operation_id: str | None = ... + """ + A unique identifier for this rollback operation that can be used to + track the operation's progress and events. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RollbackTrigger(_SerdeShape): + """ + A rollback trigger CloudFormation monitors during creation and updating + of stacks. If any of the alarms you specify goes to ALARM state during + the stack operation or within the specified monitoring period + afterwards, CloudFormation rolls back the entire stack operation. + """ + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the rollback trigger. + + If a specified trigger is missing, the entire stack operation fails and + is rolled back. + """ + type: str | None = ... + """ + The resource type of the rollback trigger. Specify either + [AWS::CloudWatch::Alarm](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-alarm.html) + or + [AWS::CloudWatch::CompositeAlarm](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-compositealarm.html) + resource types. + """ + +@dataclass(kw_only=True) +class ScanFilter(_SerdeShape): + """A filter that is used to specify which resource types to scan.""" + + types: list[str] | None = ... + """ + An array of strings where each string represents an Amazon Web Services + resource type you want to scan. Each string defines the resource type + using the format `AWS::ServiceName::ResourceType`, for example, + `AWS::DynamoDB::Table`. For the full list of supported resource types, + see the [Resource type + support](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) + table in the *CloudFormation User Guide*. + + To scan all resource types within a service, you can use a wildcard, + represented by an asterisk (`*`). You can place an asterisk at only the + end of the string, for example, `AWS::S3::*`. + """ + +@dataclass(kw_only=True) +class ScannedResource(_SerdeShape): + """ + A scanned resource returned by `ListResourceScanResources` or + `ListResourceScanRelatedResources`. + """ + + resource_type: str | None = ... + """ + The type of the resource, such as `AWS::DynamoDB::Table`. For the list + of supported resources, see [Resource type support for imports and drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) + In the *CloudFormation User Guide* + """ + resource_identifier: dict[str, str] | None = ... + """ + A list of up to 256 key-value pairs that identifies for the scanned + resource. The key is the name of one of the primary identifiers for the + resource. (Primary identifiers are specified in the `primaryIdentifier` + list in the resource schema.) The value is the value of that primary + identifier. For example, for a `AWS::DynamoDB::Table` resource, the + primary identifiers is `TableName` so the key-value pair could be + `"TableName": "MyDDBTable"`. For more information, see + [primaryIdentifier](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier) + in the *CloudFormation Command Line Interface (CLI) User Guide*. + """ + managed_by_stack: bool | None = ... + """If `true`, the resource is managed by a CloudFormation stack.""" + +@dataclass(kw_only=True) +class ScannedResourceIdentifier(_SerdeShape): + """ + Identifies a scanned resource. This is used with the + `ListResourceScanRelatedResources` API action. + """ + + resource_type: str | None = ... + """ + The type of the resource, such as `AWS::DynamoDB::Table`. For the list + of supported resources, see [Resource type support for imports and drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) + In the *CloudFormation User Guide*. + """ + resource_identifier: dict[str, str] | None = ... + """ + A list of up to 256 key-value pairs that identifies the scanned + resource. The key is the name of one of the primary identifiers for the + resource. (Primary identifiers are specified in the `primaryIdentifier` + list in the resource schema.) The value is the value of that primary + identifier. For example, for a `AWS::DynamoDB::Table` resource, the + primary identifiers is `TableName` so the key-value pair could be + `"TableName": "MyDDBTable"`. For more information, see + [primaryIdentifier](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier) + in the *CloudFormation Command Line Interface (CLI) User Guide*. + """ + +class ScanType(UnknownEnumMixin, StrEnum): + FULL = "FULL" + PARTIAL = "PARTIAL" + +@dataclass(kw_only=True) +class SetStackPolicyInput(_SerdeShape): + """The input for the SetStackPolicy action.""" + + stack_name: str | None = ... + """The name or unique stack ID that you want to associate a policy with.""" + stack_policy_body: str | None = ... + """ + Structure that contains the stack policy body. For more information, see + [Prevent updates to stack + resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html) + in the *CloudFormation User Guide*. You can specify either the + `StackPolicyBody` or the `StackPolicyURL` parameter, but not both. + """ + stack_policy_url: str | None = ... + """ + Location of a file that contains the stack policy. The URL must point to + a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the + same Amazon Web Services Region as the stack. The location for an Amazon + S3 bucket must start with `https://`. URLs from S3 static websites are + not supported. + + You can specify either the `StackPolicyBody` or the `StackPolicyURL` + parameter, but not both. + """ + +@dataclass(kw_only=True) +class SetStackPolicyOutput(_SerdeShape): + """Dataclass for SetStackPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SetTypeConfigurationInput(_SerdeShape): + """Dataclass for SetTypeConfigurationInput structure.""" + + type_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the extension in this account and + Region. + + For public extensions, this will be the ARN assigned when you call the + [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html) + API operation in this account and Region. For private extensions, this + will be the ARN assigned when you call the + [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html) + API operation in this account and Region. + + Do not include the extension versions suffix at the end of the ARN. You + can set the configuration for an extension, but not for a specific + extension version. + """ + configuration: str | None = ... + """ + The configuration data for the extension in this account and Region. + + The configuration data must be formatted as JSON and validate against + the extension's schema returned in the `Schema` response element of + [DescribeType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html). + """ + configuration_alias: str | None = ... + """ + An alias by which to refer to this extension configuration data. + + Conditional: Specifying a configuration alias is required when setting a + configuration for a resource type extension. + """ + type_name: str | None = ... + """ + The name of the extension. + + Conditional: You must specify `ConfigurationArn`, or `Type` and + `TypeName`. + """ + type: str | None = ... + """ + The type of extension. + + Conditional: You must specify `ConfigurationArn`, or `Type` and + `TypeName`. + """ + +@dataclass(kw_only=True) +class SetTypeConfigurationOutput(_SerdeShape): + """Dataclass for SetTypeConfigurationOutput structure.""" + + configuration_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the configuration data in this + account and Region. + + Conditional: You must specify `ConfigurationArn`, or `Type` and + `TypeName`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SetTypeDefaultVersionInput(_SerdeShape): + """Dataclass for SetTypeDefaultVersionInput structure.""" + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the extension for which you want + version summary information. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + type: str | None = ... + """ + The kind of extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + type_name: str | None = ... + """ + The name of the extension. + + Conditional: You must specify either `TypeName` and `Type`, or `Arn`. + """ + version_id: str | None = ... + """ + The ID of a specific version of the extension. The version ID is the + value at the end of the Amazon Resource Name (ARN) assigned to the + extension version when it is registered. + """ + +@dataclass(kw_only=True) +class SetTypeDefaultVersionOutput(_SerdeShape): + """Dataclass for SetTypeDefaultVersionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SignalResourceInput(_SerdeShape): + """The input for the SignalResource action.""" + + stack_name: str | None = ... + """ + The stack name or unique stack ID that includes the resource that you + want to signal. + """ + logical_resource_id: str | None = ... + """ + The logical ID of the resource that you want to signal. The logical ID + is the name of the resource that given in the template. + """ + unique_id: str | None = ... + """ + A unique ID of the signal. When you signal Amazon EC2 instances or Auto + Scaling groups, specify the instance ID that you are signaling as the + unique ID. If you send multiple signals to a single resource (such as + signaling a wait condition), each signal requires a different unique ID. + """ + status: str | None = ... + """ + The status of the signal, which is either success or failure. A failure + signal causes CloudFormation to immediately fail the stack creation or + update. + """ + +@dataclass(kw_only=True) +class SignalResourceOutput(_SerdeShape): + """Dataclass for SignalResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Stack(_SerdeShape): + """The `Stack` data type.""" + + stack_id: str | None = ... + """Unique identifier of the stack.""" + stack_name: str | None = ... + """The name associated with the stack.""" + change_set_id: str | None = ... + """The unique ID of the change set.""" + description: str | None = ... + """A user-defined description associated with the stack.""" + parameters: list[Parameter] | None = ... + """A list of `Parameter` structures.""" + creation_time: datetime | None = ... + """The time at which the stack was created.""" + deletion_time: datetime | None = ... + """The time the stack was deleted.""" + last_updated_time: datetime | None = ... + """ + The time the stack was last updated. This field will only be returned if + the stack has been updated at least once. + """ + rollback_configuration: RollbackConfiguration | None = ... + """ + The rollback triggers for CloudFormation to monitor during stack + creation and updating operations, and for the specified monitoring + period afterwards. + """ + stack_status: str | None = ... + """Current status of the stack.""" + stack_status_reason: str | None = ... + """Success/failure message associated with the stack status.""" + disable_rollback: bool | None = ... + """ + Boolean to enable or disable rollback on stack creation failures: + + - `true`: disable rollback. + + - `false`: enable rollback. + """ + deployment_config: DeploymentConfig | None = ... + """ + The deployment configuration for the stack, including the deployment + mode used for stack operations. + """ + notification_ar_ns: list[str] | None = ... + """ + Amazon SNS topic Amazon Resource Names (ARNs) to which stack related + events are published. + """ + timeout_in_minutes: int | None = ... + """The amount of time within which stack creation should complete.""" + capabilities: list[str] | None = ... + """The capabilities allowed in the stack.""" + outputs: list[Output] | None = ... + """A list of output structures.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role that's associated with + the stack. During a stack operation, CloudFormation uses this role's + credentials to make calls on your behalf. + """ + tags: list[Tag] | None = ... + """A list of `Tag`s that specify information about the stack.""" + enable_termination_protection: bool | None = ... + """ + Whether termination protection is enabled for the stack. + + For [nested + stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html), + termination protection is set on the root stack and can't be changed + directly on the nested stack. For more information, see [Protect a + CloudFormation stack from being + deleted](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html) + in the *CloudFormation User Guide*. + """ + parent_id: str | None = ... + """ + For nested stacks, the stack ID of the direct parent of this stack. For + the first level of nested stacks, the root stack is also the parent + stack. + + For more information, see [Nested + stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) + in the *CloudFormation User Guide*. + """ + root_id: str | None = ... + """ + For nested stacks, the stack ID of the top-level stack to which the + nested stack ultimately belongs. + + For more information, see [Nested + stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) + in the *CloudFormation User Guide*. + """ + drift_information: StackDriftInformation | None = ... + """ + Information about whether a stack's actual configuration differs, or + has *drifted*, from its expected configuration, as defined in the stack + template and any values specified as template parameters. For more + information, see [Detect unmanaged configuration changes to stacks and + resources with drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). + """ + retain_except_on_create: bool | None = ... + """ + When set to `true`, newly created resources are deleted when the + operation rolls back. This includes newly created resources marked with + a deletion policy of `Retain`. + + Default: `false` + """ + deletion_mode: str | None = ... + """ + Specifies the deletion mode for the stack. Possible values are: + + - `STANDARD` - Use the standard behavior. Specifying this value is the + same as not specifying this parameter. + + - `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a + `DELETE_FAILED` state due to resource deletion failure. + """ + detailed_status: str | None = ... + """ + The detailed status of the resource or stack. If + `CONFIGURATION_COMPLETE` is present, the resource or resource + configuration phase has completed and the stabilization of the resources + is in progress. The StackSets `CONFIGURATION_COMPLETE` when all of the + resources in the stack have reached that event. For more information, + see [Understand CloudFormation stack creation + events](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html) + in the *CloudFormation User Guide*. + """ + last_operations: list[OperationEntry] | None = ... + """Information about the most recent operations performed on this stack.""" + +@dataclass(kw_only=True) +class StackDefinition(_SerdeShape): + """Describes the stack and the template used by the stack.""" + + stack_name: str | None = ... + """The name associated with the stack.""" + template_body: str | None = ... + """The file path for the stack template file.""" + template_url: str | None = ... + """The desired final state of the stack template.""" + +class StackDriftDetectionStatus(UnknownEnumMixin, StrEnum): + DETECTION_IN_PROGRESS = "DETECTION_IN_PROGRESS" + DETECTION_FAILED = "DETECTION_FAILED" + DETECTION_COMPLETE = "DETECTION_COMPLETE" + +@dataclass(kw_only=True) +class StackDriftInformation(_SerdeShape): + """ + Contains information about whether the stack's actual configuration + differs, or has *drifted*, from its expected configuration, as defined + in the stack template and any values specified as template parameters. A + stack is considered to have drifted if one or more of its resources have + drifted. + """ + + stack_drift_status: str | None = ... + """ + Status of the stack's actual configuration compared to its expected + template configuration. + + - `DRIFTED`: The stack differs from its expected template configuration. + A stack is considered to have drifted if one or more of its resources + have drifted. + + - `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs + from its expected template configuration. + + - `IN_SYNC`: The stack's actual configuration matches its expected + template configuration. + + - `UNKNOWN`: CloudFormation could not run drift detection for a resource + in the stack. + """ + last_check_timestamp: datetime | None = ... + """ + Most recent time when a drift detection operation was initiated on the + stack, or any of its individual resources that support drift detection. + """ + +@dataclass(kw_only=True) +class StackDriftInformationSummary(_SerdeShape): + """ + Contains information about whether the stack's actual configuration + differs, or has *drifted*, from its expected configuration, as defined + in the stack template and any values specified as template parameters. A + stack is considered to have drifted if one or more of its resources have + drifted. + """ + + stack_drift_status: str | None = ... + """ + Status of the stack's actual configuration compared to its expected + template configuration. + + - `DRIFTED`: The stack differs from its expected template configuration. + A stack is considered to have drifted if one or more of its resources + have drifted. + + - `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs + from its expected template configuration. + + - `IN_SYNC`: The stack's actual configuration matches its expected + template configuration. + + - `UNKNOWN`: CloudFormation could not run drift detection for a resource + in the stack. + """ + last_check_timestamp: datetime | None = ... + """ + Most recent time when a drift detection operation was initiated on the + stack, or any of its individual resources that support drift detection. + """ + +class StackDriftStatus(UnknownEnumMixin, StrEnum): + DRIFTED = "DRIFTED" + IN_SYNC = "IN_SYNC" + UNKNOWN = "UNKNOWN" + NOT_CHECKED = "NOT_CHECKED" + +@dataclass(kw_only=True) +class StackEvent(_SerdeShape): + """The `StackEvent` data type.""" + + stack_id: str | None = ... + """The unique ID name of the instance of the stack.""" + event_id: str | None = ... + """The unique identifier of this event.""" + stack_name: str | None = ... + """The name associated with a stack.""" + operation_id: str | None = ... + """The unique identifier of the operation that generated this stack event.""" + logical_resource_id: str | None = ... + """The logical name of the resource specified in the template.""" + physical_resource_id: str | None = ... + """ + The name or unique identifier associated with the physical instance of + the resource. + """ + resource_type: str | None = ... + """ + Type of resource. For more information, see [Amazon Web Services + resource and property types + reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) + in the *CloudFormation User Guide*. + """ + timestamp: datetime | None = ... + """Time the status was updated.""" + resource_status: str | None = ... + """Current status of the resource.""" + resource_status_reason: str | None = ... + """Success/failure message associated with the resource.""" + resource_properties: str | None = ... + """BLOB of the properties used to create the resource.""" + client_request_token: str | None = ... + """ + The token passed to the operation that generated this event. + + All events triggered by a given stack operation are assigned the same + client request token, which you can use to track operations. For + example, if you execute a `CreateStack` operation with the token + `token1`, then all the `StackEvents` generated by that operation will + have `ClientRequestToken` set as `token1`. + + In the console, stack operations display the client request token on the + Events tab. Stack operations that are initiated from the console use the + token format *Console-StackOperation-ID*, which helps you easily + identify the stack operation . For example, if you create a stack using + the console, each stack event would be assigned the same token in the + following format: + `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. + """ + hook_type: str | None = ... + """The name of the Hook.""" + hook_status: str | None = ... + """Provides the status of the change set Hook.""" + hook_status_reason: str | None = ... + """Provides the reason for the Hook status.""" + hook_invocation_point: str | None = ... + """ + The specific point in the provisioning process where the Hook is + invoked. + """ + hook_invocation_id: str | None = ... + """The unique identifier of the Hook invocation.""" + hook_failure_mode: str | None = ... + """ + Specify the Hook failure mode for non-compliant resources in the + followings ways. + + - `FAIL` Stops provisioning resources. + + - `WARN` Allows provisioning to continue with a warning message. + """ + detailed_status: str | None = ... + """ + An optional field that contains information about the detailed status of + the stack event. + + - `CONFIGURATION_COMPLETE` - all of the resources in the stack have + reached that event. For more information, see [Understand + CloudFormation stack creation + events](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html) + in the *CloudFormation User Guide*. + + + + - `VALIDATION_FAILED` - template validation failed because of invalid + properties in the template. The `ResourceStatusReason` field shows + what properties are defined incorrectly. + """ + +@dataclass(kw_only=True) +class StackInstance(_SerdeShape): + """ + A CloudFormation stack, in a specific account and Region, that's part + of a StackSet operation. A stack instance is a reference to an attempted + or actual stack in a given account within a given Region. A stack + instance can exist without a stack---for example, if the stack couldn't + be created for some reason. A stack instance is associated with only one + StackSet. Each stack instance contains the ID of its associated + StackSet, in addition to the ID of the actual stack and the stack + status. + """ + + stack_set_id: str | None = ... + """ + The name or unique ID of the StackSet that the stack instance is + associated with. + """ + region: str | None = ... + """ + The name of the Amazon Web Services Region that the stack instance is + associated with. + """ + account: str | None = ... + """ + [Self-managed permissions] The name of the Amazon Web Services account + that the stack instance is associated with. + """ + stack_id: str | None = ... + """The ID of the stack instance.""" + parameter_overrides: list[Parameter] | None = ... + """ + A list of parameters from the StackSet template whose values have been + overridden in this stack instance. + """ + status: str | None = ... + """ + The status of the stack instance, in terms of its synchronization with + its associated stack set. + + - `INOPERABLE`: A `DeleteStackInstances` operation has failed and left + the stack in an unstable state. Stacks in this state are excluded from + further `UpdateStackSet` operations. You might need to perform a + `DeleteStackInstances` operation, with `RetainStacks` set to `true`, + to delete the stack instance, and then delete the stack manually. + `INOPERABLE` can be returned here when the cause is a failed import. + If it's due to a failed import, the operation can be retried once the + failures are fixed. To see if this is due to a failed import, look at + the `DetailedStatus` member in the `StackInstanceSummary` member that + is a peer to this `Status` member. + + - `OUTDATED`: The stack isn't currently up to date with the StackSet + because: + + - The associated stack failed during a `CreateStackSet` or + `UpdateStackSet` operation. + + - The stack was part of a `CreateStackSet` or `UpdateStackSet` + operation that failed or was stopped before the stack was created or + updated. + + - `CURRENT`: The stack is currently up to date with the StackSet. + """ + stack_instance_status: StackInstanceComprehensiveStatus | None = ... + """The detailed status of the stack instance.""" + status_reason: str | None = ... + """ + The explanation for the specific status code that's assigned to this + stack instance. + """ + organizational_unit_id: str | None = ... + """ + [Service-managed permissions] The organization root ID or + organizational unit (OU) IDs that you specified for + [DeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html). + """ + drift_status: str | None = ... + """ + Status of the stack instance's actual configuration compared to the + expected template and parameter configuration of the StackSet it belongs + to. + + - `DRIFTED`: The stack differs from the expected template and parameter + configuration of the StackSet it belongs to. A stack instance is + considered to have drifted if one or more of the resources in the + associated stack have drifted. + + - `NOT_CHECKED`: CloudFormation hasn't checked if the stack instance + differs from its expected StackSet configuration. + + - `IN_SYNC`: The stack instance's actual configuration matches its + expected StackSset configuration. + + - `UNKNOWN`: This value is reserved for future use. + """ + last_drift_check_timestamp: datetime | None = ... + """ + Most recent time when CloudFormation performed a drift detection + operation on the stack instance. This value will be `NULL` for any stack + instance that drift detection hasn't yet been performed on. + """ + last_operation_id: str | None = ... + """ + The last unique ID of a StackSet operation performed on a stack + instance. + """ + +@dataclass(kw_only=True) +class StackInstanceComprehensiveStatus(_SerdeShape): + """The detailed status of the stack instance.""" + + detailed_status: str | None = ... + """ + - `CANCELLED`: The operation in the specified account and Region has + been canceled. This is either because a user has stopped the StackSet + operation, or because the failure tolerance of the StackSet operation + has been exceeded. + + - `FAILED`: The operation in the specified account and Region failed. If + the StackSet operation fails in enough accounts within a Region, the + failure tolerance for the StackSet operation as a whole might be + exceeded. + + - `FAILED_IMPORT`: The import of the stack instance in the specified + account and Region failed and left the stack in an unstable state. + Once the issues causing the failure are fixed, the import operation + can be retried. If enough StackSet operations fail in enough accounts + within a Region, the failure tolerance for the StackSet operation as a + whole might be exceeded. + + - `INOPERABLE`: A `DeleteStackInstances` operation has failed and left + the stack in an unstable state. Stacks in this state are excluded from + further `UpdateStackSet` operations. You might need to perform a + `DeleteStackInstances` operation, with `RetainStacks` set to `true`, + to delete the stack instance, and then delete the stack manually. + + - `PENDING`: The operation in the specified account and Region has yet + to start. + + - `RUNNING`: The operation in the specified account and Region is + currently in progress. + + - `SKIPPED_SUSPENDED_ACCOUNT`: The operation in the specified account + and Region has been skipped because the account was suspended at the + time of the operation. + + - `SUCCEEDED`: The operation in the specified account and Region + completed successfully. + """ + +class StackInstanceDetailedStatus(UnknownEnumMixin, StrEnum): + PENDING = "PENDING" + RUNNING = "RUNNING" + SUCCEEDED = "SUCCEEDED" + FAILED = "FAILED" + CANCELLED = "CANCELLED" + INOPERABLE = "INOPERABLE" + SKIPPED_SUSPENDED_ACCOUNT = "SKIPPED_SUSPENDED_ACCOUNT" + FAILED_IMPORT = "FAILED_IMPORT" + +@dataclass(kw_only=True) +class StackInstanceFilter(_SerdeShape): + """The filter to apply to stack instances""" + + name: str | None = ... + """The type of filter to apply.""" + values: str | None = ... + """The status to filter by.""" + +class StackInstanceFilterName(UnknownEnumMixin, StrEnum): + DETAILED_STATUS = "DETAILED_STATUS" + LAST_OPERATION_ID = "LAST_OPERATION_ID" + DRIFT_STATUS = "DRIFT_STATUS" + +@dataclass(kw_only=True) +class StackInstanceNotFoundException(ServiceError, _SerdeShape): + """The specified stack instance doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StackInstanceResourceDriftsSummary(_SerdeShape): + """ + The structure containing summary information about resource drifts for a + stack instance. + """ + + stack_id: str | None = ... + """The ID of the stack instance.""" + logical_resource_id: str | None = ... + """The logical name of the resource specified in the template.""" + physical_resource_id: str | None = ... + """ + The name or unique identifier that corresponds to a physical instance ID + of a resource supported by CloudFormation. + """ + physical_resource_id_context: ( + list[PhysicalResourceIdContextKeyValuePair] | None + ) = ... + """ + Context information that enables CloudFormation to uniquely identify a + resource. CloudFormation uses context key-value pairs in cases where a + resource's logical and physical IDs aren't enough to uniquely identify + that resource. Each context key-value pair specifies a unique resource + that contains the targeted resource. + """ + resource_type: str | None = ... + """ + Type of resource. For more information, see [Amazon Web Services + resource and property types + reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) + in the *CloudFormation User Guide*. + """ + property_differences: list[PropertyDifference] | None = ... + """ + Status of the actual configuration of the resource compared to its + expected configuration. These will be present only for resources whose + `StackInstanceResourceDriftStatus` is `MODIFIED`. + """ + stack_resource_drift_status: str | None = ... + """ + The drift status of the resource in a stack instance. + + - `DELETED`: The resource differs from its expected template + configuration in that the resource has been deleted. + + - `MODIFIED`: One or more resource properties differ from their expected + template values. + + - `IN_SYNC`: The resource's actual configuration matches its expected + template configuration. + + - `NOT_CHECKED`: CloudFormation doesn't currently return this value. + """ + timestamp: datetime | None = ... + """ + Time at which the stack instance drift detection operation was + initiated. + """ + +class StackInstanceStatus(UnknownEnumMixin, StrEnum): + CURRENT = "CURRENT" + OUTDATED = "OUTDATED" + INOPERABLE = "INOPERABLE" + +@dataclass(kw_only=True) +class StackInstanceSummary(_SerdeShape): + """The structure that contains summary information about a stack instance.""" + + stack_set_id: str | None = ... + """ + The name or unique ID of the StackSet that the stack instance is + associated with. + """ + region: str | None = ... + """ + The name of the Amazon Web Services Region that the stack instance is + associated with. + """ + account: str | None = ... + """ + [Self-managed permissions] The name of the Amazon Web Services account + that the stack instance is associated with. + """ + stack_id: str | None = ... + """The ID of the stack instance.""" + status: str | None = ... + """ + The status of the stack instance, in terms of its synchronization with + its associated stack set. + + - `INOPERABLE`: A `DeleteStackInstances` operation has failed and left + the stack in an unstable state. Stacks in this state are excluded from + further `UpdateStackSet` operations. You might need to perform a + `DeleteStackInstances` operation, with `RetainStacks` set to `true`, + to delete the stack instance, and then delete the stack manually. + `INOPERABLE` can be returned here when the cause is a failed import. + If it's due to a failed import, the operation can be retried once the + failures are fixed. To see if this is due to a failed import, call the + DescribeStackInstance API operation, look at the `DetailedStatus` + member returned in the `StackInstanceSummary` member. + + - `OUTDATED`: The stack isn't currently up to date with the StackSet + because: + + - The associated stack failed during a `CreateStackSet` or + `UpdateStackSet` operation. + + - The stack was part of a `CreateStackSet` or `UpdateStackSet` + operation that failed or was stopped before the stack was created or + updated. + + - `CURRENT`: The stack is currently up to date with the StackSet. + """ + status_reason: str | None = ... + """ + The explanation for the specific status code assigned to this stack + instance. + """ + stack_instance_status: StackInstanceComprehensiveStatus | None = ... + """The detailed status of the stack instance.""" + organizational_unit_id: str | None = ... + """ + [Service-managed permissions] The organization root ID or + organizational unit (OU) IDs that you specified for + [DeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html). + """ + drift_status: str | None = ... + """ + Status of the stack instance's actual configuration compared to the + expected template and parameter configuration of the StackSet it belongs + to. + + - `DRIFTED`: The stack differs from the expected template and parameter + configuration of the StackSet it belongs to. A stack instance is + considered to have drifted if one or more of the resources in the + associated stack have drifted. + + - `NOT_CHECKED`: CloudFormation hasn't checked if the stack instance + differs from its expected StackSet configuration. + + - `IN_SYNC`: The stack instance's actual configuration matches its + expected StackSet configuration. + + - `UNKNOWN`: This value is reserved for future use. + """ + last_drift_check_timestamp: datetime | None = ... + """ + Most recent time when CloudFormation performed a drift detection + operation on the stack instance. This value will be `NULL` for any stack + instance that drift detection hasn't yet been performed on. + """ + last_operation_id: str | None = ... + """ + The last unique ID of a StackSet operation performed on a stack + instance. + """ + +@dataclass(kw_only=True) +class StackNotFoundException(ServiceError, _SerdeShape): + """ + The specified stack ARN doesn't exist or stack doesn't exist + corresponding to the ARN in input. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StackRefactorAction(_SerdeShape): + """ + Describes the stack and the action that CloudFormation will perform on + it if you execute the stack refactor. + """ + + action: str | None = ... + """The action that CloudFormation takes on the stack.""" + entity: str | None = ... + """ + The type that will be evaluated in the `StackRefactorAction`. The + following are potential `Entity` types: + + - `Stack` + + - `Resource` + """ + physical_resource_id: str | None = ... + """ + The name or unique identifier associated with the physical instance of + the resource. + """ + resource_identifier: str | None = ... + """ + A key-value pair that identifies the target resource. The key is an + identifier property (for example, `BucketName` for `AWS::S3::Bucket` + resources) and the value is the actual property value (for example, + `MyS3Bucket`). + """ + description: str | None = ... + """A description to help you identify the refactor.""" + detection: str | None = ... + """ + The detection type is one of the following: + + - Auto: CloudFormation figured out the mapping on its own. + + - Manual: The customer provided the mapping in the `ResourceMapping` + parameter. + """ + detection_reason: str | None = ... + """The description of the detection type.""" + tag_resources: list[Tag] | None = ... + """Assigns one or more tags to specified resources.""" + untag_resources: list[str] | None = ... + """Removes one or more tags to specified resources.""" + resource_mapping: ResourceMapping | None = ... + """ + The mapping for the stack resource `Source` and stack resource + `Destination`. + """ + +class StackRefactorActionEntity(UnknownEnumMixin, StrEnum): + RESOURCE = "RESOURCE" + STACK = "STACK" + +class StackRefactorActionType(UnknownEnumMixin, StrEnum): + MOVE = "MOVE" + CREATE = "CREATE" + +class StackRefactorDetection(UnknownEnumMixin, StrEnum): + AUTO = "AUTO" + MANUAL = "MANUAL" + +class StackRefactorExecutionStatus(UnknownEnumMixin, StrEnum): + UNAVAILABLE = "UNAVAILABLE" + AVAILABLE = "AVAILABLE" + OBSOLETE = "OBSOLETE" + EXECUTE_IN_PROGRESS = "EXECUTE_IN_PROGRESS" + EXECUTE_COMPLETE = "EXECUTE_COMPLETE" + EXECUTE_FAILED = "EXECUTE_FAILED" + ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" + ROLLBACK_COMPLETE = "ROLLBACK_COMPLETE" + ROLLBACK_FAILED = "ROLLBACK_FAILED" + +@dataclass(kw_only=True) +class StackRefactorNotFoundException(ServiceError, _SerdeShape): + """The specified stack refactor can't be found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class StackRefactorStatus(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" + CREATE_COMPLETE = "CREATE_COMPLETE" + CREATE_FAILED = "CREATE_FAILED" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + DELETE_COMPLETE = "DELETE_COMPLETE" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class StackRefactorSummary(_SerdeShape): + """The summary of a stack refactor operation.""" + + stack_refactor_id: str | None = ... + """ + The ID associated with the stack refactor created from the + CreateStackRefactor action. + """ + description: str | None = ... + """A description to help you identify the refactor.""" + execution_status: str | None = ... + """ + The operation status that's provided after calling the + ExecuteStackRefactor action. + """ + execution_status_reason: str | None = ... + """A detailed explanation for the stack refactor `ExecutionStatus`.""" + status: str | None = ... + """ + The stack refactor operation status that's provided after calling the + CreateStackRefactor action. + """ + status_reason: str | None = ... + """A detailed explanation for the stack refactor `Status`.""" + +@dataclass(kw_only=True) +class StackResource(_SerdeShape): + """The `StackResource` data type.""" + + stack_name: str | None = ... + """The name associated with the stack.""" + stack_id: str | None = ... + """Unique identifier of the stack.""" + logical_resource_id: str | None = ... + """The logical name of the resource specified in the template.""" + physical_resource_id: str | None = ... + """ + The name or unique identifier that corresponds to a physical instance ID + of a resource supported by CloudFormation. + """ + resource_type: str | None = ... + """ + Type of resource. For more information, see [Amazon Web Services + resource and property types + reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) + in the *CloudFormation User Guide*. + """ + timestamp: datetime | None = ... + """Time the status was updated.""" + resource_status: str | None = ... + """Current status of the resource.""" + resource_status_reason: str | None = ... + """Success/failure message associated with the resource.""" + description: str | None = ... + """User defined description associated with the resource.""" + drift_information: StackResourceDriftInformation | None = ... + """ + Information about whether the resource's actual configuration differs, + or has *drifted*, from its expected configuration, as defined in the + stack template and any values specified as template parameters. For more + information, see [Detect unmanaged configuration changes to stacks and + resources with drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). + """ + module_info: ModuleInfo | None = ... + """ + Contains information about the module from which the resource was + created, if the resource was created from a module included in the stack + template. + """ + +@dataclass(kw_only=True) +class StackResourceDetail(_SerdeShape): + """Contains detailed information about the specified stack resource.""" + + stack_name: str | None = ... + """The name associated with the stack.""" + stack_id: str | None = ... + """Unique identifier of the stack.""" + logical_resource_id: str | None = ... + """The logical name of the resource specified in the template.""" + physical_resource_id: str | None = ... + """ + The name or unique identifier that corresponds to a physical instance ID + of a resource supported by CloudFormation. + """ + resource_type: str | None = ... + """ + Type of resource. For more information, see [Amazon Web Services + resource and property types + reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) + in the *CloudFormation User Guide*. + """ + last_updated_timestamp: datetime | None = ... + """Time the status was updated.""" + resource_status: str | None = ... + """Current status of the resource.""" + resource_status_reason: str | None = ... + """Success/failure message associated with the resource.""" + description: str | None = ... + """User defined description associated with the resource.""" + metadata: str | None = ... + """ + The content of the `Metadata` attribute declared for the resource. For + more information, see [Metadata + attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html) + in the *CloudFormation User Guide*. + """ + drift_information: StackResourceDriftInformation | None = ... + """ + Information about whether the resource's actual configuration differs, + or has *drifted*, from its expected configuration, as defined in the + stack template and any values specified as template parameters. For more + information, see [Detect unmanaged configuration changes to stacks and + resources with drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). + """ + module_info: ModuleInfo | None = ... + """ + Contains information about the module from which the resource was + created, if the resource was created from a module included in the stack + template. + """ + +@dataclass(kw_only=True) +class StackResourceDrift(_SerdeShape): + """ + Contains the drift information for a resource that has been checked for + drift. This includes actual and expected property values for resources + in which CloudFormation has detected drift. Only resource properties + explicitly defined in the stack template are checked for drift. For more + information, see [Detect unmanaged configuration changes to stacks and + resources with drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). + + Resources that don't currently support drift detection can't be + checked. For a list of resources that support drift detection, see + [Resource type support for imports and drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html). + + Use DetectStackResourceDrift to detect drift on individual resources, or + DetectStackDrift to detect drift on all resources in a given stack that + support drift detection. + """ + + stack_id: str | None = ... + """The ID of the stack.""" + logical_resource_id: str | None = ... + """The logical name of the resource specified in the template.""" + physical_resource_id: str | None = ... + """ + The name or unique identifier that corresponds to a physical instance ID + of a resource supported by CloudFormation. + """ + physical_resource_id_context: ( + list[PhysicalResourceIdContextKeyValuePair] | None + ) = ... + """ + Context information that enables CloudFormation to uniquely identify a + resource. CloudFormation uses context key-value pairs in cases where a + resource's logical and physical IDs aren't enough to uniquely identify + that resource. Each context key-value pair specifies a unique resource + that contains the targeted resource. + """ + resource_type: str | None = ... + """The type of the resource.""" + expected_properties: str | None = ... + """ + A JSON structure that contains the expected property values of the stack + resource, as defined in the stack template and any values specified as + template parameters. + + For resources whose `StackResourceDriftStatus` is `DELETED`, this + structure will not be present. + """ + actual_properties: str | None = ... + """ + A JSON structure that contains the actual property values of the stack + resource. + + For resources whose `StackResourceDriftStatus` is `DELETED`, this + structure will not be present. + """ + property_differences: list[PropertyDifference] | None = ... + """ + A collection of the resource properties whose actual values differ from + their expected values. These will be present only for resources whose + `StackResourceDriftStatus` is `MODIFIED`. + """ + stack_resource_drift_status: str | None = ... + """ + Status of the resource's actual configuration compared to its expected + configuration. + + - `DELETED`: The resource differs from its expected template + configuration because the resource has been deleted. + + - `MODIFIED`: One or more resource properties differ from their expected + values (as defined in the stack template and any values specified as + template parameters). + + - `IN_SYNC`: The resource's actual configuration matches its expected + template configuration. + + - `NOT_CHECKED`: CloudFormation does not currently return this value. + + - `UNKNOWN`: CloudFormation could not run drift detection for the + resource. See the `DriftStatusReason` for details. + """ + timestamp: datetime | None = ... + """ + Time at which CloudFormation performed drift detection on the stack + resource. + """ + module_info: ModuleInfo | None = ... + """ + Contains information about the module from which the resource was + created, if the resource was created from a module included in the stack + template. + """ + drift_status_reason: str | None = ... + """The reason for the drift status.""" + +@dataclass(kw_only=True) +class StackResourceDriftInformation(_SerdeShape): + """ + Contains information about whether the resource's actual configuration + differs, or has *drifted*, from its expected configuration. + """ + + stack_resource_drift_status: str | None = ... + """ + Status of the resource's actual configuration compared to its expected + configuration + + - `DELETED`: The resource differs from its expected configuration in + that it has been deleted. + + - `MODIFIED`: The resource differs from its expected configuration. + + - `NOT_CHECKED`: CloudFormation has not checked if the resource differs + from its expected configuration. + + Any resources that do not currently support drift detection have a + status of `NOT_CHECKED`. For more information, see [Resource type + support for imports and drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html). + + - `IN_SYNC`: The resource's actual configuration matches its expected + configuration. + """ + last_check_timestamp: datetime | None = ... + """ + When CloudFormation last checked if the resource had drifted from its + expected configuration. + """ + +@dataclass(kw_only=True) +class StackResourceDriftInformationSummary(_SerdeShape): + """ + Summarizes information about whether the resource's actual + configuration differs, or has *drifted*, from its expected + configuration. + """ + + stack_resource_drift_status: str | None = ... + """ + Status of the resource's actual configuration compared to its expected + configuration. + + - `DELETED`: The resource differs from its expected configuration in + that it has been deleted. + + - `MODIFIED`: The resource differs from its expected configuration. + + - `NOT_CHECKED`: CloudFormation hasn't checked if the resource differs + from its expected configuration. + + Any resources that don't currently support drift detection have a + status of `NOT_CHECKED`. For more information, see [Resource type + support for imports and drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html). + If you performed a ContinueUpdateRollback operation on a stack, + resources skipped using `ResourcesToSkip` or `ForceRollback` also have + a status of `NOT_CHECKED`. To detect whether a skipped resource + actually differs from the template, run DetectStackResourceDrift. For + more information about skipping resources during rollback operations, + see [Continue rolling back an + update](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) + in the *CloudFormation User Guide*. + + - `IN_SYNC`: The resource's actual configuration matches its expected + configuration. + """ + last_check_timestamp: datetime | None = ... + """ + When CloudFormation last checked if the resource had drifted from its + expected configuration. + """ + +class StackResourceDriftStatus(UnknownEnumMixin, StrEnum): + IN_SYNC = "IN_SYNC" + MODIFIED = "MODIFIED" + DELETED = "DELETED" + NOT_CHECKED = "NOT_CHECKED" + UNKNOWN = "UNKNOWN" + UNSUPPORTED = "UNSUPPORTED" + +@dataclass(kw_only=True) +class StackResourceSummary(_SerdeShape): + """Contains high-level information about the specified stack resource.""" + + logical_resource_id: str | None = ... + """The logical name of the resource specified in the template.""" + physical_resource_id: str | None = ... + """ + The name or unique identifier that corresponds to a physical instance ID + of the resource. + """ + resource_type: str | None = ... + """ + Type of resource. (For more information, see [Amazon Web Services + resource and property types + reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) + in the *CloudFormation User Guide*.) + """ + last_updated_timestamp: datetime | None = ... + """Time the status was updated.""" + resource_status: str | None = ... + """Current status of the resource.""" + resource_status_reason: str | None = ... + """Success/failure message associated with the resource.""" + drift_information: StackResourceDriftInformationSummary | None = ... + """ + Information about whether the resource's actual configuration differs, + or has *drifted*, from its expected configuration, as defined in the + stack template and any values specified as template parameters. For more + information, see [Detect unmanaged configuration changes to stacks and + resources with drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). + """ + module_info: ModuleInfo | None = ... + """ + Contains information about the module from which the resource was + created, if the resource was created from a module included in the stack + template. + """ + +@dataclass(kw_only=True) +class StackSet(_SerdeShape): + """ + A structure that contains information about a StackSet. With StackSets, + you can provision stacks across Amazon Web Services accounts and Regions + from a single CloudFormation template. Each stack is based on the same + CloudFormation template, but you can customize individual stacks using + parameters. + """ + + stack_set_name: str | None = ... + """The name that's associated with the StackSet.""" + stack_set_id: str | None = ... + """The ID of the StackSet.""" + description: str | None = ... + """ + A description of the StackSet that you specify when the StackSet is + created or updated. + """ + status: str | None = ... + """The status of the StackSet.""" + template_body: str | None = ... + """ + The structure that contains the body of the template that was used to + create or update the StackSet. + """ + parameters: list[Parameter] | None = ... + """A list of input parameters for a StackSet.""" + capabilities: list[str] | None = ... + """ + The capabilities that are allowed in the StackSet. Some StackSet + templates might include resources that can affect permissions in your + Amazon Web Services account---for example, by creating new Identity and + Access Management (IAM) users. For more information, see [Acknowledging + IAM resources in CloudFormation + templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). + """ + tags: list[Tag] | None = ... + """ + A list of tags that specify information about the StackSet. A maximum + number of 50 tags can be specified. + """ + stack_set_arn: str | None = ... + """The Amazon Resource Name (ARN) of the StackSet.""" + administration_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role used to create or update + the stack set. + + Use customized administrator roles to control which users or groups can + manage specific StackSets within the same administrator account. For + more information, see [Prerequisites for using CloudFormation + StackSets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html) + in the *CloudFormation User Guide*. + """ + execution_role_name: str | None = ... + """ + The name of the IAM execution role used to create or update the + StackSet. + + Use customized execution roles to control which stack resources users + and groups can include in their StackSets. + """ + stack_set_drift_detection_details: StackSetDriftDetectionDetails | None = ... + """ + Detailed information about the drift status of the StackSet. + + For StackSets, contains information about the last *completed* drift + operation performed on the StackSet. Information about drift operations + currently in progress isn't included. + """ + auto_deployment: AutoDeployment | None = ... + """ + Describes whether StackSets automatically deploys to Organizations + accounts that are added to a target organization or organizational unit + (OU). Valid only if the StackSet uses service-managed permissions. + """ + permission_model: str | None = ... + """ + Describes how the IAM roles required for StackSet operations are + created. + + - With `self-managed` permissions, you must create the administrator and + execution roles required to deploy to target accounts. For more + information, see [Grant self-managed + permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html). + + - With `service-managed` permissions, StackSets automatically creates + the IAM roles required to deploy to accounts managed by Organizations. + For more information, see [Activate trusted access for StackSets with + Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html). + """ + organizational_unit_ids: list[str] | None = ... + """ + [Service-managed permissions] The organization root ID or + organizational unit (OU) IDs that you specified for + [DeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html). + """ + managed_execution: ManagedExecution | None = ... + """ + Describes whether StackSets performs non-conflicting operations + concurrently and queues conflicting operations. + """ + regions: list[str] | None = ... + """ + Returns a list of all Amazon Web Services Regions the given StackSet has + stack instances deployed in. The Amazon Web Services Regions list output + is in no particular order. + """ + +@dataclass(kw_only=True) +class StackSetAutoDeploymentTargetSummary(_SerdeShape): + """ + One of the targets for the StackSet. Returned by the + [ListStackSetAutoDeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStackSetAutoDeploymentTargets.html) + API operation. + """ + + organizational_unit_id: str | None = ... + """ + The organization root ID or organizational unit (OU) IDs where the + StackSet is targeted. + """ + regions: list[str] | None = ... + """The list of Regions targeted for this organization or OU.""" + +@dataclass(kw_only=True) +class StackSetDriftDetectionDetails(_SerdeShape): + """ + Detailed information about the drift status of the StackSet. + + For StackSets, contains information about the last *completed* drift + operation performed on the StackSet. Information about drift operations + in-progress isn't included. + + For StackSet operations, includes information about drift operations + currently being performed on the StackSet. + + For more information, see [Performing drift detection on CloudFormation + StackSets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html) + in the *CloudFormation User Guide*. + """ + + drift_status: str | None = ... + """ + Status of the StackSet's actual configuration compared to its expected + template and parameter configuration. + + - `DRIFTED`: One or more of the stack instances belonging to the + StackSet differs from the expected template and parameter + configuration. A stack instance is considered to have drifted if one + or more of the resources in the associated stack have drifted. + + - `NOT_CHECKED`: CloudFormation hasn't checked the StackSet for drift. + + - `IN_SYNC`: All of the stack instances belonging to the StackSet stack + match the expected template and parameter configuration. + """ + drift_detection_status: str | None = ... + """ + The status of the StackSet drift detection operation. + + - `COMPLETED`: The drift detection operation completed without failing + on any stack instances. + + - `FAILED`: The drift detection operation exceeded the specified failure + tolerance. + + - `PARTIAL_SUCCESS`: The drift detection operation completed without + exceeding the failure tolerance for the operation. + + - `IN_PROGRESS`: The drift detection operation is currently being + performed. + + - `STOPPED`: The user has canceled the drift detection operation. + """ + last_drift_check_timestamp: datetime | None = ... + """ + Most recent time when CloudFormation performed a drift detection + operation on the StackSet. This value will be `NULL` for any StackSet + that drift detection hasn't yet been performed on. + """ + total_stack_instances_count: int | None = ... + """ + The total number of stack instances belonging to this StackSet. + + The total number of stack instances is equal to the total of: + + - Stack instances that match the StackSet configuration. + + - Stack instances that have drifted from the StackSet configuration. + + - Stack instances where the drift detection operation has failed. + + - Stack instances currently being checked for drift. + """ + drifted_stack_instances_count: int | None = ... + """ + The number of stack instances that have drifted from the expected + template and parameter configuration of the StackSet. A stack instance + is considered to have drifted if one or more of the resources in the + associated stack don't match their expected configuration. + """ + in_sync_stack_instances_count: int | None = ... + """ + The number of stack instances which match the expected template and + parameter configuration of the StackSet. + """ + in_progress_stack_instances_count: int | None = ... + """ + The number of stack instances that are currently being checked for + drift. + """ + failed_stack_instances_count: int | None = ... + """ + The number of stack instances for which the drift detection operation + failed. + """ + +class StackSetDriftDetectionStatus(UnknownEnumMixin, StrEnum): + COMPLETED = "COMPLETED" + FAILED = "FAILED" + PARTIAL_SUCCESS = "PARTIAL_SUCCESS" + IN_PROGRESS = "IN_PROGRESS" + STOPPED = "STOPPED" + +class StackSetDriftStatus(UnknownEnumMixin, StrEnum): + DRIFTED = "DRIFTED" + IN_SYNC = "IN_SYNC" + NOT_CHECKED = "NOT_CHECKED" + +@dataclass(kw_only=True) +class StackSetNotEmptyException(ServiceError, _SerdeShape): + """ + You can't yet delete this StackSet, because it still contains one or + more stack instances. Delete all stack instances from the StackSet + before deleting the StackSet. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StackSetNotFoundException(ServiceError, _SerdeShape): + """The specified StackSet doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StackSetOperation(_SerdeShape): + """The structure that contains information about a StackSet operation.""" + + operation_id: str | None = ... + """The unique ID of a StackSet operation.""" + stack_set_id: str | None = ... + """The ID of the StackSet.""" + action: str | None = ... + """ + The type of StackSet operation: `CREATE`, `UPDATE`, or `DELETE`. Create + and delete operations affect only the specified stack instances that are + associated with the specified StackSet. Update operations affect both + the StackSet itself, in addition to *all* associated stack instances. + """ + status: str | None = ... + """ + The status of the operation. + + - `FAILED`: The operation exceeded the specified failure tolerance. The + failure tolerance value that you've set for an operation is applied + for each Region during stack create and update operations. If the + number of failed stacks within a Region exceeds the failure tolerance, + the status of the operation in the Region is set to `FAILED`. This in + turn sets the status of the operation as a whole to `FAILED`, and + CloudFormation cancels the operation in any remaining Regions. + + - `QUEUED`: [Service-managed permissions] For automatic deployments + that require a sequence of operations, the operation is queued to be + performed. For more information, see the [StackSets status + codes](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes) + in the *CloudFormation User Guide*. + + - `RUNNING`: The operation is currently being performed. + + - `STOPPED`: The user has canceled the operation. + + - `STOPPING`: The operation is in the process of stopping, at user + request. + + - `SUCCEEDED`: The operation completed creating or updating all the + specified stacks without exceeding the failure tolerance for the + operation. + """ + operation_preferences: StackSetOperationPreferences | None = ... + """The preferences for how CloudFormation performs this StackSet operation.""" + retain_stacks: bool | None = ... + """ + For StackSet operations of action type `DELETE`, specifies whether to + remove the stack instances from the specified StackSet, but doesn't + delete the stacks. You can't re-associate a retained stack, or add an + existing, saved stack to a new StackSet. + """ + administration_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role used to perform this + StackSet operation. + + Use customized administrator roles to control which users or groups can + manage specific StackSets within the same administrator account. For + more information, see [Grant self-managed + permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html) + in the *CloudFormation User Guide*. + """ + execution_role_name: str | None = ... + """ + The name of the IAM execution role used to create or update the + StackSet. + + Use customized execution roles to control which stack resources users + and groups can include in their StackSets. + """ + creation_timestamp: datetime | None = ... + """ + The time at which the operation was initiated. Note that the creation + times for the stack set operation might differ from the creation time of + the individual stacks themselves. This is because CloudFormation needs + to perform preparatory work for the operation, such as dispatching the + work to the requested Regions, before actually creating the first + stacks. + """ + end_timestamp: datetime | None = ... + """ + The time at which the StackSet operation ended, across all accounts and + Regions specified. Note that this doesn't necessarily mean that the + StackSet operation was successful, or even attempted, in each account or + Region. + """ + deployment_targets: DeploymentTargets | None = ... + """ + The Organizations accounts affected by the stack operation. Valid only + if the StackSet uses service-managed permissions. + """ + stack_set_drift_detection_details: StackSetDriftDetectionDetails | None = ... + """ + Detailed information about the drift status of the StackSet. This + includes information about drift operations currently being performed on + the StackSet. + + This information will only be present for StackSet operations whose + `Action` type is `DETECT_DRIFT`. + + For more information, see [Performing drift detection on CloudFormation + StackSets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html) + in the *CloudFormation User Guide*. + """ + status_reason: str | None = ... + """The status of the operation in details.""" + status_details: StackSetOperationStatusDetails | None = ... + """Detailed information about the StackSet operation.""" + +class StackSetOperationAction(UnknownEnumMixin, StrEnum): + CREATE = "CREATE" + UPDATE = "UPDATE" + DELETE = "DELETE" + DETECT_DRIFT = "DETECT_DRIFT" + +@dataclass(kw_only=True) +class StackSetOperationPreferences(_SerdeShape): + """ + The user-specified preferences for how CloudFormation performs a + StackSet operation. + + For more information about maximum concurrent accounts and failure + tolerance, see [StackSet operation + options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). + + Note: + `StackSetOperationPreferences` don't apply to `AutoDeployment`, even if + it's enabled. + """ + + region_concurrency_type: str | None = ... + """ + The concurrency type of deploying StackSets operations in Regions, could + be in parallel or one Region at a time. + """ + region_order: list[str] | None = ... + """The order of the Regions where you want to perform the stack operation.""" + failure_tolerance_count: int | None = ... + """ + The number of accounts per Region this operation can fail in before + CloudFormation stops the operation in that Region. If the operation is + stopped in a Region, CloudFormation doesn't attempt the operation in + any subsequent Regions. + + You can specify either `FailureToleranceCount` or + `FailureTolerancePercentage`, but not both. + + By default, `0` is specified. + """ + failure_tolerance_percentage: int | None = ... + """ + The percentage of accounts per Region this stack operation can fail in + before CloudFormation stops the operation in that Region. If the + operation is stopped in a Region, CloudFormation doesn't attempt the + operation in any subsequent Regions. + + When calculating the number of accounts based on the specified + percentage, CloudFormation rounds *down* to the next whole number. + + You can specify either `FailureToleranceCount` or + `FailureTolerancePercentage`, but not both. + + By default, `0` is specified. + """ + max_concurrent_count: int | None = ... + """ + The maximum number of accounts in which to perform this operation at one + time. This can depend on the value of `FailureToleranceCount` depending + on your `ConcurrencyMode`. `MaxConcurrentCount` is at most one more than + the `FailureToleranceCount` if you're using `STRICT_FAILURE_TOLERANCE`. + + Note that this setting lets you specify the *maximum* for operations. + For large deployments, under certain circumstances the actual number of + accounts acted upon concurrently may be lower due to service throttling. + + You can specify either `MaxConcurrentCount` or + `MaxConcurrentPercentage`, but not both. + + By default, `1` is specified. + """ + max_concurrent_percentage: int | None = ... + """ + The maximum percentage of accounts in which to perform this operation at + one time. + + When calculating the number of accounts based on the specified + percentage, CloudFormation rounds down to the next whole number. This is + true except in cases where rounding down would result is zero. In this + case, CloudFormation sets the number as one instead. + + Note that this setting lets you specify the *maximum* for operations. + For large deployments, under certain circumstances the actual number of + accounts acted upon concurrently may be lower due to service throttling. + + You can specify either `MaxConcurrentCount` or + `MaxConcurrentPercentage`, but not both. + + By default, `1` is specified. + """ + concurrency_mode: str | None = ... + """ + Specifies how the concurrency level behaves during the operation + execution. + + - `STRICT_FAILURE_TOLERANCE`: This option dynamically lowers the + concurrency level to ensure the number of failed accounts never + exceeds the value of `FailureToleranceCount` +1. The initial actual + concurrency is set to the lower of either the value of the + `MaxConcurrentCount`, or the value of `FailureToleranceCount` +1. The + actual concurrency is then reduced proportionally by the number of + failures. This is the default behavior. + + If failure tolerance or Maximum concurrent accounts are set to + percentages, the behavior is similar. + + - `SOFT_FAILURE_TOLERANCE`: This option decouples + `FailureToleranceCount` from the actual concurrency. This allows + StackSet operations to run at the concurrency level set by the + `MaxConcurrentCount` value, or `MaxConcurrentPercentage`, regardless + of the number of failures. + """ + +class StackSetOperationResultStatus(UnknownEnumMixin, StrEnum): + PENDING = "PENDING" + RUNNING = "RUNNING" + SUCCEEDED = "SUCCEEDED" + FAILED = "FAILED" + CANCELLED = "CANCELLED" + +@dataclass(kw_only=True) +class StackSetOperationResultSummary(_SerdeShape): + """ + The structure that contains information about a specified operation's + results for a given account in a given Region. + """ + + account: str | None = ... + """ + [Self-managed permissions] The name of the Amazon Web Services account + for this operation result. + """ + region: str | None = ... + """The name of the Amazon Web Services Region for this operation result.""" + status: str | None = ... + """ + The result status of the StackSet operation for the given account in the + given Region. + + - `CANCELLED`: The operation in the specified account and Region has + been canceled. This is either because a user has stopped the StackSet + operation, or because the failure tolerance of the StackSet operation + has been exceeded. + + - `FAILED`: The operation in the specified account and Region failed. + + If the StackSet operation fails in enough accounts within a Region, + the failure tolerance for the StackSet operation as a whole might be + exceeded. + + - `RUNNING`: The operation in the specified account and Region is + currently in progress. + + - `PENDING`: The operation in the specified account and Region has yet + to start. + + - `SUCCEEDED`: The operation in the specified account and Region + completed successfully. + """ + status_reason: str | None = ... + """The reason for the assigned result status.""" + account_gate_result: AccountGateResult | None = ... + """ + The results of the account gate function CloudFormation invokes, if + present, before proceeding with StackSet operations in an account. + """ + organizational_unit_id: str | None = ... + """ + [Service-managed permissions] The organization root ID or + organizational unit (OU) IDs that you specified for + [DeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html). + """ + +class StackSetOperationStatus(UnknownEnumMixin, StrEnum): + RUNNING = "RUNNING" + SUCCEEDED = "SUCCEEDED" + FAILED = "FAILED" + STOPPING = "STOPPING" + STOPPED = "STOPPED" + QUEUED = "QUEUED" + +@dataclass(kw_only=True) +class StackSetOperationStatusDetails(_SerdeShape): + """Detailed information about the StackSet operation.""" + + failed_stack_instances_count: int | None = ... + """The number of stack instances for which the StackSet operation failed.""" + +@dataclass(kw_only=True) +class StackSetOperationSummary(_SerdeShape): + """ + The structures that contain summary information about the specified + operation. + """ + + operation_id: str | None = ... + """The unique ID of the StackSet operation.""" + action: str | None = ... + """ + The type of operation: `CREATE`, `UPDATE`, or `DELETE`. Create and + delete operations affect only the specified stack instances that are + associated with the specified StackSet. Update operations affect both + the StackSet itself and *all* associated StackSet instances. + """ + status: str | None = ... + """ + The overall status of the operation. + + - `FAILED`: The operation exceeded the specified failure tolerance. The + failure tolerance value that you've set for an operation is applied + for each Region during stack create and update operations. If the + number of failed stacks within a Region exceeds the failure tolerance, + the status of the operation in the Region is set to `FAILED`. This in + turn sets the status of the operation as a whole to `FAILED`, and + CloudFormation cancels the operation in any remaining Regions. + + - `QUEUED`: [Service-managed permissions] For automatic deployments + that require a sequence of operations, the operation is queued to be + performed. For more information, see the [StackSet status + codes](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes) + in the *CloudFormation User Guide*. + + - `RUNNING`: The operation is currently being performed. + + - `STOPPED`: The user has canceled the operation. + + - `STOPPING`: The operation is in the process of stopping, at user + request. + + - `SUCCEEDED`: The operation completed creating or updating all the + specified stacks without exceeding the failure tolerance for the + operation. + """ + creation_timestamp: datetime | None = ... + """ + The time at which the operation was initiated. Note that the creation + times for the StackSet operation might differ from the creation time of + the individual stacks themselves. This is because CloudFormation needs + to perform preparatory work for the operation, such as dispatching the + work to the requested Regions, before actually creating the first + stacks. + """ + end_timestamp: datetime | None = ... + """ + The time at which the StackSet operation ended, across all accounts and + Regions specified. Note that this doesn't necessarily mean that the + StackSet operation was successful, or even attempted, in each account or + Region. + """ + status_reason: str | None = ... + """The status of the operation in details.""" + status_details: StackSetOperationStatusDetails | None = ... + """Detailed information about the StackSet operation.""" + operation_preferences: StackSetOperationPreferences | None = ... + """ + The user-specified preferences for how CloudFormation performs a + StackSet operation. + + For more information about maximum concurrent accounts and failure + tolerance, see [StackSet operation + options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). + """ + +class StackSetStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + DELETED = "DELETED" + +@dataclass(kw_only=True) +class StackSetSummary(_SerdeShape): + """ + The structures that contain summary information about the specified + StackSet. + """ + + stack_set_name: str | None = ... + """The name of the StackSet.""" + stack_set_id: str | None = ... + """The ID of the StackSet.""" + description: str | None = ... + """ + A description of the StackSet that you specify when the StackSet is + created or updated. + """ + status: str | None = ... + """The status of the StackSet.""" + auto_deployment: AutoDeployment | None = ... + """ + [Service-managed permissions] Describes whether StackSets + automatically deploys to Organizations accounts that are added to a + target organizational unit (OU). + """ + permission_model: str | None = ... + """ + Describes how the IAM roles required for StackSet operations are + created. + + - With `self-managed` permissions, you must create the administrator and + execution roles required to deploy to target accounts. For more + information, see [Grant self-managed + permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html). + + - With `service-managed` permissions, StackSets automatically creates + the IAM roles required to deploy to accounts managed by Organizations. + For more information, see [Activate trusted access for StackSets with + Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html). + """ + drift_status: str | None = ... + """ + Status of the StackSet's actual configuration compared to its expected + template and parameter configuration. + + - `DRIFTED`: One or more of the stack instances belonging to the + StackSet differs from the expected template and parameter + configuration. A stack instance is considered to have drifted if one + or more of the resources in the associated stack have drifted. + + - `NOT_CHECKED`: CloudFormation hasn't checked the StackSet for drift. + + - `IN_SYNC`: All the stack instances belonging to the StackSet match the + expected template and parameter configuration. + + - `UNKNOWN`: This value is reserved for future use. + """ + last_drift_check_timestamp: datetime | None = ... + """ + Most recent time when CloudFormation performed a drift detection + operation on the StackSet. This value will be `NULL` for any StackSet + that drift detection hasn't yet been performed on. + """ + managed_execution: ManagedExecution | None = ... + """ + Describes whether StackSets performs non-conflicting operations + concurrently and queues conflicting operations. + """ + +class StackStatus(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" + CREATE_FAILED = "CREATE_FAILED" + CREATE_COMPLETE = "CREATE_COMPLETE" + ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" + ROLLBACK_FAILED = "ROLLBACK_FAILED" + ROLLBACK_COMPLETE = "ROLLBACK_COMPLETE" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + DELETE_FAILED = "DELETE_FAILED" + DELETE_COMPLETE = "DELETE_COMPLETE" + UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" + UPDATE_COMPLETE_CLEANUP_IN_PROGRESS = "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" + UPDATE_COMPLETE = "UPDATE_COMPLETE" + UPDATE_FAILED = "UPDATE_FAILED" + UPDATE_ROLLBACK_IN_PROGRESS = "UPDATE_ROLLBACK_IN_PROGRESS" + UPDATE_ROLLBACK_FAILED = "UPDATE_ROLLBACK_FAILED" + UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS = ( + "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" + ) + UPDATE_ROLLBACK_COMPLETE = "UPDATE_ROLLBACK_COMPLETE" + REVIEW_IN_PROGRESS = "REVIEW_IN_PROGRESS" + IMPORT_IN_PROGRESS = "IMPORT_IN_PROGRESS" + IMPORT_COMPLETE = "IMPORT_COMPLETE" + IMPORT_ROLLBACK_IN_PROGRESS = "IMPORT_ROLLBACK_IN_PROGRESS" + IMPORT_ROLLBACK_FAILED = "IMPORT_ROLLBACK_FAILED" + IMPORT_ROLLBACK_COMPLETE = "IMPORT_ROLLBACK_COMPLETE" + +@dataclass(kw_only=True) +class StackSummary(_SerdeShape): + """The `StackSummary` Data Type""" + + stack_id: str | None = ... + """Unique stack identifier.""" + stack_name: str | None = ... + """The name associated with the stack.""" + template_description: str | None = ... + """The template description of the template used to create the stack.""" + creation_time: datetime | None = ... + """The time the stack was created.""" + last_updated_time: datetime | None = ... + """ + The time the stack was last updated. This field will only be returned if + the stack has been updated at least once. + """ + deletion_time: datetime | None = ... + """The time the stack was deleted.""" + stack_status: str | None = ... + """The current status of the stack.""" + stack_status_reason: str | None = ... + """Success/Failure message associated with the stack status.""" + parent_id: str | None = ... + """ + For nested stacks, the stack ID of the direct parent of this stack. For + the first level of nested stacks, the root stack is also the parent + stack. + + For more information, see [Nested + stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) + in the *CloudFormation User Guide*. + """ + root_id: str | None = ... + """ + For nested stacks, the stack ID of the top-level stack to which the + nested stack ultimately belongs. + + For more information, see [Nested + stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) + in the *CloudFormation User Guide*. + """ + drift_information: StackDriftInformationSummary | None = ... + """ + Summarizes information about whether a stack's actual configuration + differs, or has *drifted*, from its expected configuration, as defined + in the stack template and any values specified as template parameters. + For more information, see [Detect unmanaged configuration changes to + stacks and resources with drift + detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). + """ + last_operations: list[OperationEntry] | None = ... + """Information about the most recent operations performed on this stack.""" + +@dataclass(kw_only=True) +class StaleRequestException(ServiceError, _SerdeShape): + """ + Another operation has been performed on this StackSet since the + specified operation was performed. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartResourceScanInput(_SerdeShape): + """Dataclass for StartResourceScanInput structure.""" + + client_request_token: str | None = ... + """ + A unique identifier for this `StartResourceScan` request. Specify this + token if you plan to retry requests so that CloudFormation knows that + you're not attempting to start a new resource scan. + """ + scan_filters: list[ScanFilter] | None = ... + """The scan filters to use.""" + +@dataclass(kw_only=True) +class StartResourceScanOutput(_SerdeShape): + """Dataclass for StartResourceScanOutput structure.""" + + resource_scan_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource scan. The format is + `arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}`. + An example is + `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:resourceScan/`*`f5b490f7-7ed4-428a-aa06-31ff25db0772`*` `. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopStackSetOperationInput(_SerdeShape): + """Dataclass for StopStackSetOperationInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet that you want to stop the + operation for. + """ + operation_id: str | None = ... + """The ID of the stack operation.""" + call_as: str | None = ... + """ + Specifies whether you are acting as an account administrator in the + organization's management account or as a delegated administrator in a + member account. Valid only if the StackSet uses service-managed + permissions. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class StopStackSetOperationOutput(_SerdeShape): + """Dataclass for StopStackSetOperationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """ + The Tag type enables you to specify a key-value pair that can be used to + store information about an CloudFormation stack. + """ + + key: str | None = ... + """ + A string used to identify this tag. You can specify a maximum of 128 + characters for a tag key. Tags owned by Amazon Web Services have the + reserved prefix: `aws:`. + """ + value: str | None = ... + """ + A string that contains the value for this tag. You can specify a maximum + of 256 characters for a tag value. + """ + +@dataclass(kw_only=True) +class TemplateConfiguration(_SerdeShape): + """The configuration details of a generated template.""" + + deletion_policy: str | None = ... + """ + The `DeletionPolicy` assigned to resources in the generated template. + Supported values are: + + - `DELETE` - delete all resources when the stack is deleted. + + - `RETAIN` - retain all resources when the stack is deleted. + + For more information, see [DeletionPolicy + attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html) + in the *CloudFormation User Guide*. + """ + update_replace_policy: str | None = ... + """ + The `UpdateReplacePolicy` assigned to resources in the generated + template. Supported values are: + + - `DELETE` - delete all resources when the resource is replaced during + an update operation. + + - `RETAIN` - retain all resources when the resource is replaced during + an update operation. + + For more information, see [UpdateReplacePolicy + attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatereplacepolicy.html) + in the *CloudFormation User Guide*. + """ + +class TemplateFormat(UnknownEnumMixin, StrEnum): + JSON = "JSON" + YAML = "YAML" + +@dataclass(kw_only=True) +class TemplateParameter(_SerdeShape): + """The `TemplateParameter` data type.""" + + parameter_key: str | None = ... + """The name associated with the parameter.""" + default_value: str | None = ... + """The default value associated with the parameter.""" + no_echo: bool | None = ... + """ + Flag indicating whether the parameter should be displayed as plain text + in logs and UIs. + """ + description: str | None = ... + """User defined description associated with the parameter.""" + +@dataclass(kw_only=True) +class TemplateProgress(_SerdeShape): + """A summary of the progress of the template generation.""" + + resources_succeeded: int | None = ... + """The number of resources that succeeded the template generation.""" + resources_failed: int | None = ... + """The number of resources that failed the template generation.""" + resources_processing: int | None = ... + """The number of resources that are in-process for the template generation.""" + resources_pending: int | None = ... + """The number of resources that are still pending the template generation.""" + +class TemplateStage(UnknownEnumMixin, StrEnum): + ORIGINAL = "Original" + PROCESSED = "Processed" + +@dataclass(kw_only=True) +class TemplateSummary(_SerdeShape): + """The summary of a generated template.""" + + generated_template_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the generated template. The format is + `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. + For example, + `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:generatedtemplate/`*`2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc`*` `. + """ + generated_template_name: str | None = ... + """The name of the generated template.""" + status: str | None = ... + """ + The status of the template generation. Supported values are: + + - `CreatePending` - the creation of the template is pending. + + - `CreateInProgress` - the creation of the template is in progress. + + - `DeletePending` - the deletion of the template is pending. + + - `DeleteInProgress` - the deletion of the template is in progress. + + - `UpdatePending` - the update of the template is pending. + + - `UpdateInProgress` - the update of the template is in progress. + + - `Failed` - the template operation failed. + + - `Complete` - the template operation is complete. + """ + status_reason: str | None = ... + """ + The reason for the current template generation status. This will provide + more details if a failure happened. + """ + creation_time: datetime | None = ... + """The time the generated template was created.""" + last_updated_time: datetime | None = ... + """The time the generated template was last updated.""" + number_of_resources: int | None = ... + """ + The number of resources in the generated template. This is a total of + resources in pending, in-progress, completed, and failed states. + """ + +@dataclass(kw_only=True) +class TemplateSummaryConfig(_SerdeShape): + """Options for the `GetTemplateSummary` API action.""" + + treat_unrecognized_resource_types_as_warnings: bool | None = ... + """ + If set to `True`, any unrecognized resource types generate warnings and + not an error. Any unrecognized resource types are returned in the + `Warnings` output parameter. + """ + +@dataclass(kw_only=True) +class TestTypeInput(_SerdeShape): + """Dataclass for TestTypeInput structure.""" + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the extension. + + Conditional: You must specify `Arn`, or `TypeName` and `Type`. + """ + type: str | None = ... + """ + The type of the extension to test. + + Conditional: You must specify `Arn`, or `TypeName` and `Type`. + """ + type_name: str | None = ... + """ + The name of the extension to test. + + Conditional: You must specify `Arn`, or `TypeName` and `Type`. + """ + version_id: str | None = ... + """ + The version of the extension to test. + + You can specify the version id with either `Arn`, or with `TypeName` and + `Type`. + + If you don't specify a version, CloudFormation uses the default version + of the extension in this account and Region for testing. + """ + log_delivery_bucket: str | None = ... + """ + The S3 bucket to which CloudFormation delivers the contract test + execution logs. + + CloudFormation delivers the logs by the time contract testing has + completed and the extension has been assigned a test type status of + `PASSED` or `FAILED`. + + The user calling `TestType` must be able to access items in the + specified S3 bucket. Specifically, the user needs the following + permissions: + + - `GetObject` + + - `PutObject` + + For more information, see [Actions, Resources, and Condition Keys for + Amazon + S3](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazons3.html) + in the *Identity and Access Management User Guide*. + """ + +@dataclass(kw_only=True) +class TestTypeOutput(_SerdeShape): + """Dataclass for TestTypeOutput structure.""" + + type_version_arn: str | None = ... + """The Amazon Resource Name (ARN) of the extension.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ThirdPartyType(UnknownEnumMixin, StrEnum): + RESOURCE = "RESOURCE" + MODULE = "MODULE" + HOOK = "HOOK" + +@dataclass(kw_only=True) +class TokenAlreadyExistsException(ServiceError, _SerdeShape): + """A client request token already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TypeConfigurationDetails(_SerdeShape): + """ + Detailed information concerning the specification of a CloudFormation + extension in a given account and Region. + + For more information, see [Edit configuration data for extensions in + your + account](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html) + in the *CloudFormation User Guide*. + """ + + arn: str | None = ... + """The ARN for the configuration data, in this account and Region.""" + alias: str | None = ... + """ + The alias specified for this configuration, if one was specified when + the configuration was set. + """ + configuration: str | None = ... + """ + A JSON string specifying the configuration data for the extension, in + this account and Region. + + If a configuration hasn't been set for a specified extension, + CloudFormation returns `{}`. + """ + last_updated: datetime | None = ... + """ + When the configuration data was last updated for this extension. + + If a configuration hasn't been set for a specified extension, + CloudFormation returns `null`. + """ + type_arn: str | None = ... + """ + The ARN for the extension, in this account and Region. + + For public extensions, this will be the ARN assigned when you call the + [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html) + API operation in this account and Region. For private extensions, this + will be the ARN assigned when you call the + [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html) + API operation in this account and Region. + """ + type_name: str | None = ... + """The name of the extension.""" + is_default_configuration: bool | None = ... + """ + Whether this configuration data is the default configuration for the + extension. + """ + +@dataclass(kw_only=True) +class TypeConfigurationIdentifier(_SerdeShape): + """ + Identifying information for the configuration of a CloudFormation + extension. + """ + + type_arn: str | None = ... + """ + The ARN for the extension, in this account and Region. + + For public extensions, this will be the ARN assigned when you call the + [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html) + API operation in this account and Region. For private extensions, this + will be the ARN assigned when you call the + [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html) + API operation in this account and Region. + """ + type_configuration_alias: str | None = ... + """ + The alias specified for this configuration, if one was specified when + the configuration was set. + """ + type_configuration_arn: str | None = ... + """The ARN for the configuration, in this account and Region.""" + type: str | None = ... + """The type of extension.""" + type_name: str | None = ... + """The name of the extension type to which this configuration applies.""" + +@dataclass(kw_only=True) +class TypeConfigurationNotFoundException(ServiceError, _SerdeShape): + """The specified extension configuration can't be found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TypeFilters(_SerdeShape): + """Filter criteria to use in determining which extensions to return.""" + + category: str | None = ... + """ + The category of extensions to return. + + - `REGISTERED`: Private extensions that have been registered for this + account and Region. + + - `ACTIVATED`: Public extensions that have been activated for this + account and Region. + + - `THIRD_PARTY`: Extensions available for use from publishers other than + Amazon. This includes: + + - Private extensions registered in the account. + + - Public extensions from publishers other than Amazon, whether + activated or not. + + - `AWS_TYPES`: Extensions available for use from Amazon. + """ + publisher_id: str | None = ... + """ + The id of the publisher of the extension. + + Extensions published by Amazon aren't assigned a publisher ID. Use the + `AWS_TYPES` category to specify a list of types published by Amazon. + """ + type_name_prefix: str | None = ... + """A prefix to use as a filter for results.""" + +@dataclass(kw_only=True) +class TypeNotFoundException(ServiceError, _SerdeShape): + """The specified extension doesn't exist in the CloudFormation registry.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TypeSummary(_SerdeShape): + """ + Contains summary information about the specified CloudFormation + extension. + """ + + type: str | None = ... + """The kind of extension.""" + type_name: str | None = ... + """ + The name of the extension. + + If you specified a `TypeNameAlias` when you call the + [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html) + API operation in your account and Region, CloudFormation considers that + alias as the type name. + """ + default_version_id: str | None = ... + """ + The ID of the default version of the extension. The default version is + used when the extension version isn't specified. + + This applies only to private extensions you have registered in your + account. For public extensions, both those provided by Amazon and + published by third parties, CloudFormation returns `null`. For more + information, see + [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). + + To set the default version of an extension, use SetTypeDefaultVersion. + """ + type_arn: str | None = ... + """The ARN of the extension.""" + last_updated: datetime | None = ... + """ + When the specified extension version was registered. This applies only + to: + + - Private extensions you have registered in your account. For more + information, see + [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). + + - Public extensions you have activated in your account with auto-update + specified. For more information, see + [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html). + + For all other extension types, CloudFormation returns `null`. + """ + description: str | None = ... + """The description of the extension.""" + publisher_id: str | None = ... + """ + The ID of the extension publisher, if the extension is published by a + third party. Extensions published by Amazon don't return a publisher + ID. + """ + original_type_name: str | None = ... + """ + For public extensions that have been activated for this account and + Region, the type name of the public extension. + + If you specified a `TypeNameAlias` when enabling the extension in this + account and Region, CloudFormation treats that alias as the extension's + type name within the account and Region, not the type name of the public + extension. For more information, see [Use aliases to refer to + extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias) + in the *CloudFormation User Guide*. + """ + public_version_number: str | None = ... + """ + For public extensions that have been activated for this account and + Region, the version of the public extension to be used for + CloudFormation operations in this account and Region. + + How you specified `AutoUpdate` when enabling the extension affects + whether CloudFormation automatically updates the extension in this + account and Region when a new version is released. For more information, + see [Automatically use new versions of + extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto) + in the *CloudFormation User Guide*. + """ + latest_public_version: str | None = ... + """ + For public extensions that have been activated for this account and + Region, the latest version of the public extension *that is available*. + For any extensions other than activated third-party extensions, + CloudFormation returns `null`. + + How you specified `AutoUpdate` when enabling the extension affects + whether CloudFormation automatically updates the extension in this + account and Region when a new version is released. For more information, + see [Automatically use new versions of + extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto) + in the *CloudFormation User Guide*. + """ + publisher_identity: str | None = ... + """ + The service used to verify the publisher identity. + + For more information, see [Publishing extensions to make them available + for public + use](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html) + in the *CloudFormation Command Line Interface (CLI) User Guide*. + """ + publisher_name: str | None = ... + """ + The publisher name, as defined in the public profile for that publisher + in the service used to verify the publisher identity. + """ + is_activated: bool | None = ... + """ + Whether the extension is activated for this account and Region. + + This applies only to third-party public extensions. Extensions published + by Amazon are activated by default. + """ + +class TypeTestsStatus(UnknownEnumMixin, StrEnum): + PASSED = "PASSED" + FAILED = "FAILED" + IN_PROGRESS = "IN_PROGRESS" + NOT_TESTED = "NOT_TESTED" + +@dataclass(kw_only=True) +class TypeVersionSummary(_SerdeShape): + """ + Contains summary information about a specific version of a + CloudFormation extension. + """ + + type: str | None = ... + """The kind of extension.""" + type_name: str | None = ... + """The name of the extension.""" + version_id: str | None = ... + """ + The ID of a specific version of the extension. The version ID is the + value at the end of the ARN assigned to the extension version when it's + registered. + """ + is_default_version: bool | None = ... + """ + Whether the specified extension version is set as the default version. + + This applies only to private extensions you have registered in your + account, and extensions published by Amazon. For public third-party + extensions, CloudFormation returns `null`. + """ + arn: str | None = ... + """The ARN of the extension version.""" + time_created: datetime | None = ... + """When the version was registered.""" + description: str | None = ... + """The description of the extension version.""" + public_version_number: str | None = ... + """ + For public extensions that have been activated for this account and + Region, the version of the public extension to be used for + CloudFormation operations in this account and Region. For any extensions + other than activated third-party extensions, CloudFormation returns + `null`. + + How you specified `AutoUpdate` when enabling the extension affects + whether CloudFormation automatically updates the extension in this + account and Region when a new version is released. For more information, + see [Automatically use new versions of + extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class UpdateGeneratedTemplateInput(_SerdeShape): + """Dataclass for UpdateGeneratedTemplateInput structure.""" + + generated_template_name: str | None = ... + """The name or Amazon Resource Name (ARN) of a generated template.""" + new_generated_template_name: str | None = ... + """An optional new name to assign to the generated template.""" + add_resources: list[ResourceDefinition] | None = ... + """An optional list of resources to be added to the generated template.""" + remove_resources: list[str] | None = ... + """ + A list of logical ids for resources to remove from the generated + template. + """ + refresh_all_resources: bool | None = ... + """ + If `true`, update the resource properties in the generated template with + their current live state. This feature is useful when the resource + properties in your generated a template does not reflect the live state + of the resource properties. This happens when a user update the resource + properties after generating a template. + """ + template_configuration: TemplateConfiguration | None = ... + """ + The configuration details of the generated template, including the + `DeletionPolicy` and `UpdateReplacePolicy`. + """ + +@dataclass(kw_only=True) +class UpdateGeneratedTemplateOutput(_SerdeShape): + """Dataclass for UpdateGeneratedTemplateOutput structure.""" + + generated_template_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the generated template. The format is + `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. + For example, + `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:generatedtemplate/`*`2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc`*` `. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateStackInput(_SerdeShape): + """The input for an UpdateStack action.""" + + stack_name: str | None = ... + """The name or unique stack ID of the stack to update.""" + template_body: str | None = ... + """ + Structure that contains the template body with a minimum length of 1 + byte and a maximum length of 51,200 bytes. + + Conditional: You must specify only one of the following parameters: + `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to + `true`. + """ + template_url: str | None = ... + """ + The URL of a file that contains the template body. The URL must point to + a template that's located in an Amazon S3 bucket or a Systems Manager + document. The location for an Amazon S3 bucket must start with + `https://`. + + Conditional: You must specify only one of the following parameters: + `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to + `true`. + """ + use_previous_template: bool | None = ... + """ + Reuse the existing template that is associated with the stack that you + are updating. + + When using templates with the `AWS::LanguageExtensions` transform, + provide the template instead of using `UsePreviousTemplate` to ensure + new parameter values and Systems Manager parameter updates are applied + correctly. For more information, see [AWS::LanguageExtensions + transform](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/transform-aws-languageextensions.html). + + Conditional: You must specify only one of the following parameters: + `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to + `true`. + """ + stack_policy_during_update_body: str | None = ... + """ + Structure that contains the temporary overriding stack policy body. You + can specify either the `StackPolicyDuringUpdateBody` or the + `StackPolicyDuringUpdateURL` parameter, but not both. + + If you want to update protected resources, specify a temporary + overriding stack policy during this update. If you don't specify a + stack policy, the current policy that is associated with the stack will + be used. + """ + stack_policy_during_update_url: str | None = ... + """ + Location of a file that contains the temporary overriding stack policy. + The URL must point to a policy (max size: 16KB) located in an S3 bucket + in the same Region as the stack. The location for an Amazon S3 bucket + must start with `https://`. URLs from S3 static websites are not + supported. + + You can specify either the `StackPolicyDuringUpdateBody` or the + `StackPolicyDuringUpdateURL` parameter, but not both. + + If you want to update protected resources, specify a temporary + overriding stack policy during this update. If you don't specify a + stack policy, the current policy that is associated with the stack will + be used. + """ + parameters: list[Parameter] | None = ... + """ + A list of `Parameter` structures that specify input parameters for the + stack. For more information, see the + [Parameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html) + data type. + """ + capabilities: list[str] | None = ... + """ + In some cases, you must explicitly acknowledge that your stack template + contains certain capabilities in order for CloudFormation to update the + stack. + + - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` + + Some stack templates might include resources that can affect + permissions in your Amazon Web Services account, for example, by + creating new IAM users. For those stacks, you must explicitly + acknowledge this by specifying one of these capabilities. + + The following IAM resources require you to specify either the + `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. + + - If you have IAM resources, you can specify either capability. + + - If you have IAM resources with custom names, you *must* specify + `CAPABILITY_NAMED_IAM`. + + - If you don't specify either of these capabilities, CloudFormation + returns an `InsufficientCapabilities` error. + + If your stack template contains these resources, we suggest that you + review all permissions associated with them and edit their permissions + if necessary. + + - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) + + - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) + + - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) + + - [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html) + + - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) + + - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) + + - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) + + - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) + + For more information, see [Acknowledging IAM resources in + CloudFormation + templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). + + - `CAPABILITY_AUTO_EXPAND` + + Some template contain macros. Macros perform custom processing on + templates; this can include simple actions like find-and-replace + operations, all the way to extensive transformations of entire + templates. Because of this, users typically create a change set from + the processed template, so that they can review the changes resulting + from the macros before actually updating the stack. If your stack + template contains one or more macros, and you choose to update a stack + directly from the processed template, without first reviewing the + resulting changes in a change set, you must acknowledge this + capability. This includes the + [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) + and + [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) + transforms, which are macros hosted by CloudFormation. + + If you want to update a stack from a stack template that contains + macros *and* nested stacks, you must update the stack directly from + the template using this capability. + + Warning: + You should only update stacks directly from a stack template that + contains macros if you know what processing the macro performs. + + Each macro relies on an underlying Lambda service function for + processing stack templates. Be aware that the Lambda function owner + can update the function operation without CloudFormation being + notified. + + For more information, see [Perform custom processing on CloudFormation + templates with template + macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). + + Note: + Only one of the `Capabilities` and `ResourceType` parameters can be + specified. + """ + resource_types: list[str] | None = ... + """ + Specifies which resource types you can work with, such as + `AWS::EC2::Instance` or `Custom::MyCustomInstance`. + + If the list of resource types doesn't include a resource that you're + updating, the stack update fails. By default, CloudFormation grants + permissions to all resource types. IAM uses this parameter for + CloudFormation-specific condition keys in IAM policies. For more + information, see [Control CloudFormation access with Identity and Access + Management](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html). + + Note: + Only one of the `Capabilities` and `ResourceType` parameters can be + specified. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role that CloudFormation + assumes to update the stack. CloudFormation uses the role's credentials + to make calls on your behalf. CloudFormation always uses this role for + all future operations on the stack. Provided that users have permission + to operate on the stack, CloudFormation uses this role even if the users + don't have permission to pass it. Ensure that the role grants least + privilege. + + If you don't specify a value, CloudFormation uses the role that was + previously associated with the stack. If no role is available, + CloudFormation uses a temporary session that is generated from your user + credentials. + """ + rollback_configuration: RollbackConfiguration | None = ... + """ + The rollback triggers for CloudFormation to monitor during stack + creation and updating operations, and for the specified monitoring + period afterwards. + """ + stack_policy_body: str | None = ... + """ + Structure that contains a new stack policy body. You can specify either + the `StackPolicyBody` or the `StackPolicyURL` parameter, but not both. + + You might update the stack policy, for example, in order to protect a + new resource that you created during a stack update. If you don't + specify a stack policy, the current policy that is associated with the + stack is unchanged. + """ + stack_policy_url: str | None = ... + """ + Location of a file that contains the updated stack policy. The URL must + point to a policy (max size: 16KB) located in an S3 bucket in the same + Region as the stack. The location for an Amazon S3 bucket must start + with `https://`. URLs from S3 static websites are not supported. + + You can specify either the `StackPolicyBody` or the `StackPolicyURL` + parameter, but not both. + + You might update the stack policy, for example, in order to protect a + new resource that you created during a stack update. If you don't + specify a stack policy, the current policy that is associated with the + stack is unchanged. + """ + notification_ar_ns: list[str] | None = ... + """ + Amazon Simple Notification Service topic Amazon Resource Names (ARNs) + that CloudFormation associates with the stack. Specify an empty list to + remove all notification topics. + """ + tags: list[Tag] | None = ... + """ + Key-value pairs to associate with this stack. CloudFormation also + propagates these tags to supported resources in the stack. You can + specify a maximum number of 50 tags. + + If you don't specify this parameter, CloudFormation doesn't modify the + stack's tags. If you specify an empty value, CloudFormation removes all + associated tags. + """ + disable_rollback: bool | None = ... + """ + Preserve the state of previously provisioned resources when an operation + fails. + + Default: `False` + """ + client_request_token: str | None = ... + """ + A unique identifier for this `UpdateStack` request. Specify this token + if you plan to retry requests so that CloudFormation knows that you're + not attempting to update a stack with the same name. You might retry + `UpdateStack` requests to ensure that CloudFormation successfully + received them. + + All events triggered by a given stack operation are assigned the same + client request token, which you can use to track operations. For + example, if you execute a `CreateStack` operation with the token + `token1`, then all the `StackEvents` generated by that operation will + have `ClientRequestToken` set as `token1`. + + In the console, stack operations display the client request token on the + Events tab. Stack operations that are initiated from the console use the + token format *Console-StackOperation-ID*, which helps you easily + identify the stack operation . For example, if you create a stack using + the console, each stack event would be assigned the same token in the + following format: + `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. + """ + retain_except_on_create: bool | None = ... + """ + When set to `true`, newly created resources are deleted when the + operation rolls back. This includes newly created resources marked with + a deletion policy of `Retain`. + + Default: `false` + """ + deployment_config: DeploymentConfig | None = ... + """ + The deployment configuration for this stack operation, including the + deployment mode. + """ + disable_validation: bool | None = ... + """ + Set to `true` to disable pre-deployment validations in changeset or + stack operations. + + Default: `false` + """ + +@dataclass(kw_only=True) +class UpdateStackInstancesInput(_SerdeShape): + """Dataclass for UpdateStackInstancesInput structure.""" + + stack_set_name: str | None = ... + """ + The name or unique ID of the StackSet associated with the stack + instances. + """ + accounts: list[str] | None = ... + """ + [Self-managed permissions] The account IDs of one or more Amazon Web + Services accounts in which you want to update parameter values for stack + instances. The overridden parameter values will be applied to all stack + instances in the specified accounts and Amazon Web Services Regions. + + You can specify `Accounts` or `DeploymentTargets`, but not both. + """ + deployment_targets: DeploymentTargets | None = ... + """ + [Service-managed permissions] The Organizations accounts in which you + want to update parameter values for stack instances. If your update + targets OUs, the overridden parameter values only apply to the accounts + that are currently in the target OUs and their child OUs. Accounts added + to the target OUs and their child OUs in the future won't use the + overridden values. + + You can specify `Accounts` or `DeploymentTargets`, but not both. + """ + regions: list[str] | None = ... + """ + The names of one or more Amazon Web Services Regions in which you want + to update parameter values for stack instances. The overridden parameter + values will be applied to all stack instances in the specified accounts + and Amazon Web Services Regions. + """ + parameter_overrides: list[Parameter] | None = ... + """ + A list of input parameters whose values you want to update for the + specified stack instances. + + Any overridden parameter values will be applied to all stack instances + in the specified accounts and Amazon Web Services Regions. When + specifying parameters and their values, be aware of how CloudFormation + sets parameter values during stack instance update operations: + + - To override the current value for a parameter, include the parameter + and specify its value. + + - To leave an overridden parameter set to its present value, include the + parameter and specify `UsePreviousValue` as `true`. (You can't + specify both a value and set `UsePreviousValue` to `true`.) + + - To set an overridden parameter back to the value specified in the + StackSet, specify a parameter list but don't include the parameter in + the list. + + - To leave all parameters set to their present values, don't specify + this property at all. + + During StackSet updates, any parameter values overridden for a stack + instance aren't updated, but retain their overridden value. + + You can only override the parameter *values* that are specified in the + StackSet. To add or delete a parameter itself, use `UpdateStackSet` to + update the StackSet template. If you add a parameter to a template, + before you can override the parameter value specified in the StackSet + you must first use + [UpdateStackSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) + to update all stack instances with the updated template and parameter + value specified in the StackSet. Once a stack instance has been updated + with the new parameter, you can then override the parameter value using + `UpdateStackInstances`. + """ + operation_preferences: StackSetOperationPreferences | None = ... + """Preferences for how CloudFormation performs this StackSet operation.""" + operation_id: str | None = ... + """ + The unique identifier for this StackSet operation. + + The operation ID also functions as an idempotency token, to ensure that + CloudFormation performs the StackSet operation only once, even if you + retry the request multiple times. You might retry StackSet operation + requests to ensure that CloudFormation successfully received them. + + If you don't specify an operation ID, the SDK generates one + automatically. + + This field is autopopulated if not provided. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + +@dataclass(kw_only=True) +class UpdateStackInstancesOutput(_SerdeShape): + """Dataclass for UpdateStackInstancesOutput structure.""" + + operation_id: str | None = ... + """The unique identifier for this StackSet operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateStackOutput(_SerdeShape): + """The output for an UpdateStack action.""" + + stack_id: str | None = ... + """Unique identifier of the stack.""" + operation_id: str | None = ... + """ + A unique identifier for this update operation that can be used to track + the operation's progress and events. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateStackSetInput(_SerdeShape): + """Dataclass for UpdateStackSetInput structure.""" + + stack_set_name: str | None = ... + """The name or unique ID of the StackSet that you want to update.""" + description: str | None = ... + """A brief description of updates that you are making.""" + template_body: str | None = ... + """ + The structure that contains the template body, with a minimum length of + 1 byte and a maximum length of 51,200 bytes. + + Conditional: You must specify only one of the following parameters: + `TemplateBody` or `TemplateURL`---or set `UsePreviousTemplate` to true. + """ + template_url: str | None = ... + """ + The URL of a file that contains the template body. The URL must point to + a template (maximum size: 1 MB) that is located in an Amazon S3 bucket + or a Systems Manager document. The location for an Amazon S3 bucket must + start with `https://`. S3 static website URLs are not supported. + + Conditional: You must specify only one of the following parameters: + `TemplateBody` or `TemplateURL`---or set `UsePreviousTemplate` to true. + """ + use_previous_template: bool | None = ... + """ + Use the existing template that's associated with the StackSet that + you're updating. + + Conditional: You must specify only one of the following parameters: + `TemplateBody` or `TemplateURL`---or set `UsePreviousTemplate` to true. + """ + parameters: list[Parameter] | None = ... + """A list of input parameters for the StackSet template.""" + capabilities: list[str] | None = ... + """ + In some cases, you must explicitly acknowledge that your stack template + contains certain capabilities in order for CloudFormation to update the + StackSet and its associated stack instances. + + - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` + + Some stack templates might include resources that can affect + permissions in your Amazon Web Services account, for example, by + creating new IAM users. For those stacks sets, you must explicitly + acknowledge this by specifying one of these capabilities. + + The following IAM resources require you to specify either the + `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. + + - If you have IAM resources, you can specify either capability. + + - If you have IAM resources with custom names, you *must* specify + `CAPABILITY_NAMED_IAM`. + + - If you don't specify either of these capabilities, CloudFormation + returns an `InsufficientCapabilities` error. + + If your stack template contains these resources, we recommend that you + review all permissions associated with them and edit their permissions + if necessary. + + - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) + + - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) + + - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) + + - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) + + - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) + + - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) + + - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) + + For more information, see [Acknowledging IAM resources in + CloudFormation + templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). + + - `CAPABILITY_AUTO_EXPAND` + + Some templates reference macros. If your StackSet template references + one or more macros, you must update the StackSet directly from the + processed template, without first reviewing the resulting changes in a + change set. To update the StackSet directly, you must acknowledge this + capability. For more information, see [Perform custom processing on + CloudFormation templates with template + macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). + + Warning: + StackSets with service-managed permissions do not currently support + the use of macros in templates. (This includes the + [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) + and + [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) + transforms, which are macros hosted by CloudFormation.) Even if you + specify this capability for a StackSet with service-managed + permissions, if you reference a macro in your template the StackSet + operation will fail. + """ + tags: list[Tag] | None = ... + """ + The key-value pairs to associate with this StackSet and the stacks + created from it. CloudFormation also propagates these tags to supported + resources that are created in the stacks. You can specify a maximum + number of 50 tags. + + If you specify tags for this parameter, those tags replace any list of + tags that are currently associated with this StackSet. This means: + + - If you don't specify this parameter, CloudFormation doesn't modify + the stack's tags. + + - If you specify *any* tags using this parameter, you must specify *all* + the tags that you want associated with this StackSet, even tags + you've specified before (for example, when creating the StackSet or + during a previous update of the StackSet.). Any tags that you don't + include in the updated list of tags are removed from the StackSet, and + therefore from the stacks and resources as well. + + - If you specify an empty value, CloudFormation removes all currently + associated tags. + + If you specify new tags as part of an `UpdateStackSet` action, + CloudFormation checks to see if you have the required IAM permission to + tag resources. If you omit tags that are currently associated with the + StackSet from the list of tags you specify, CloudFormation assumes that + you want to remove those tags from the StackSet, and checks to see if + you have permission to untag resources. If you don't have the necessary + permission(s), the entire `UpdateStackSet` action fails with an + `access denied` error, and the StackSet is not updated. + """ + operation_preferences: StackSetOperationPreferences | None = ... + """Preferences for how CloudFormation performs this StackSet operation.""" + administration_role_arn: str | None = ... + """ + [Self-managed permissions] The Amazon Resource Name (ARN) of the IAM + role to use to update this StackSet. + + Specify an IAM role only if you are using customized administrator roles + to control which users or groups can manage specific StackSets within + the same administrator account. For more information, see [Grant + self-managed + permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html) + in the *CloudFormation User Guide*. + + If you specified a customized administrator role when you created the + StackSet, you must specify a customized administrator role, even if it + is the same customized administrator role used with this StackSet + previously. + """ + execution_role_name: str | None = ... + """ + [Self-managed permissions] The name of the IAM execution role to use + to update the stack set. If you do not specify an execution role, + CloudFormation uses the `AWSCloudFormationStackSetExecutionRole` role + for the StackSet operation. + + Specify an IAM role only if you are using customized execution roles to + control which stack resources users and groups can include in their + StackSets. + + If you specify a customized execution role, CloudFormation uses that + role to update the stack. If you do not specify a customized execution + role, CloudFormation performs the update using the role previously + associated with the StackSet, so long as you have permissions to perform + operations on the StackSet. + """ + deployment_targets: DeploymentTargets | None = ... + """ + [Service-managed permissions] The Organizations accounts in which to + update associated stack instances. + + To update all the stack instances associated with this StackSet, do not + specify `DeploymentTargets` or `Regions`. + + If the StackSet update includes changes to the template (that is, if + `TemplateBody` or `TemplateURL` is specified), or the `Parameters`, + CloudFormation marks all stack instances with a status of `OUTDATED` + prior to updating the stack instances in the specified accounts and + Amazon Web Services Regions. If the StackSet update doesn't include + changes to the template or parameters, CloudFormation updates the stack + instances in the specified accounts and Regions, while leaving all other + stack instances with their existing stack instance status. + """ + permission_model: str | None = ... + """ + Describes how the IAM roles required for StackSet operations are + created. You cannot modify `PermissionModel` if there are stack + instances associated with your stack set. + + - With `self-managed` permissions, you must create the administrator and + execution roles required to deploy to target accounts. For more + information, see [Grant self-managed + permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html). + + - With `service-managed` permissions, StackSets automatically creates + the IAM roles required to deploy to accounts managed by Organizations. + For more information, see [Activate trusted access for StackSets with + Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html). + """ + auto_deployment: AutoDeployment | None = ... + """ + [Service-managed permissions] Describes whether StackSets + automatically deploys to Organizations accounts that are added to a + target organization or organizational unit (OU). For more information, + see [Enable or disable automatic deployments for StackSets in + Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html) + in the *CloudFormation User Guide*. + + If you specify `AutoDeployment`, don't specify `DeploymentTargets` or + `Regions`. + """ + operation_id: str | None = ... + """ + The unique ID for this StackSet operation. + + The operation ID also functions as an idempotency token, to ensure that + CloudFormation performs the StackSet operation only once, even if you + retry the request multiple times. You might retry StackSet operation + requests to ensure that CloudFormation successfully received them. + + If you don't specify an operation ID, CloudFormation generates one + automatically. + + Repeating this StackSet operation with a new operation ID retries all + stack instances whose status is `OUTDATED`. + + This field is autopopulated if not provided. + """ + accounts: list[str] | None = ... + """ + [Self-managed permissions] The accounts in which to update associated + stack instances. If you specify accounts, you must also specify the + Amazon Web Services Regions in which to update StackSet instances. + + To update *all* the stack instances associated with this StackSet, + don't specify the `Accounts` or `Regions` properties. + + If the StackSet update includes changes to the template (that is, if the + `TemplateBody` or `TemplateURL` properties are specified), or the + `Parameters` property, CloudFormation marks all stack instances with a + status of `OUTDATED` prior to updating the stack instances in the + specified accounts and Amazon Web Services Regions. If the StackSet + update does not include changes to the template or parameters, + CloudFormation updates the stack instances in the specified accounts and + Amazon Web Services Regions, while leaving all other stack instances + with their existing stack instance status. + """ + regions: list[str] | None = ... + """ + The Amazon Web Services Regions in which to update associated stack + instances. If you specify Regions, you must also specify accounts in + which to update StackSet instances. + + To update *all* the stack instances associated with this StackSet, do + not specify the `Accounts` or `Regions` properties. + + If the StackSet update includes changes to the template (that is, if the + `TemplateBody` or `TemplateURL` properties are specified), or the + `Parameters` property, CloudFormation marks all stack instances with a + status of `OUTDATED` prior to updating the stack instances in the + specified accounts and Regions. If the StackSet update does not include + changes to the template or parameters, CloudFormation updates the stack + instances in the specified accounts and Regions, while leaving all other + stack instances with their existing stack instance status. + """ + call_as: str | None = ... + """ + [Service-managed permissions] Specifies whether you are acting as an + account administrator in the organization's management account or as a + delegated administrator in a member account. + + By default, `SELF` is specified. Use `SELF` for StackSets with + self-managed permissions. + + - If you are signed in to the management account, specify `SELF`. + + - If you are signed in to a delegated administrator account, specify + `DELEGATED_ADMIN`. + + Your Amazon Web Services account must be registered as a delegated + administrator in the management account. For more information, see + [Register a delegated + administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) + in the *CloudFormation User Guide*. + """ + managed_execution: ManagedExecution | None = ... + """ + Describes whether CloudFormation performs non-conflicting operations + concurrently and queues conflicting operations. + """ + +@dataclass(kw_only=True) +class UpdateStackSetOutput(_SerdeShape): + """Dataclass for UpdateStackSetOutput structure.""" + + operation_id: str | None = ... + """The unique ID for this StackSet operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateTerminationProtectionInput(_SerdeShape): + """Dataclass for UpdateTerminationProtectionInput structure.""" + + enable_termination_protection: bool | None = ... + """Whether to enable termination protection on the specified stack.""" + stack_name: str | None = ... + """ + The name or unique ID of the stack for which you want to set termination + protection. + """ + +@dataclass(kw_only=True) +class UpdateTerminationProtectionOutput(_SerdeShape): + """Dataclass for UpdateTerminationProtectionOutput structure.""" + + stack_id: str | None = ... + """The unique ID of the stack.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ValidateTemplateInput(_SerdeShape): + """The input for ValidateTemplate action.""" + + template_body: str | None = ... + """ + Structure that contains the template body with a minimum length of 1 + byte and a maximum length of 51,200 bytes. + + Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are + passed, only `TemplateBody` is used. + """ + template_url: str | None = ... + """ + The URL of a file that contains the template body. The URL must point to + a template (max size: 1 MB) that is located in an Amazon S3 bucket or a + Systems Manager document. The location for an Amazon S3 bucket must + start with `https://`. + + Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are + passed, only `TemplateBody` is used. + """ + +@dataclass(kw_only=True) +class ValidateTemplateOutput(_SerdeShape): + """The output for ValidateTemplate action.""" + + parameters: list[TemplateParameter] | None = ... + """A list of `TemplateParameter` structures.""" + description: str | None = ... + """The description found within the template.""" + capabilities: list[str] | None = ... + """ + The capabilities found within the template. If your template contains + IAM resources, you must specify the CAPABILITY_IAM or + CAPABILITY_NAMED_IAM value for this parameter when you use the + CreateStack or UpdateStack actions with your template; otherwise, those + actions return an InsufficientCapabilities error. + + For more information, see [Acknowledging IAM resources in CloudFormation + templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). + """ + capabilities_reason: str | None = ... + """ + The list of resources that generated the values in the `Capabilities` + response element. + """ + declared_transforms: list[str] | None = ... + """A list of the transforms that are declared in the template.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ValidationStatus(UnknownEnumMixin, StrEnum): + FAILED = "FAILED" + SKIPPED = "SKIPPED" + +class VersionBump(UnknownEnumMixin, StrEnum): + MAJOR = "MAJOR" + MINOR = "MINOR" + +class Visibility(UnknownEnumMixin, StrEnum): + PUBLIC = "PUBLIC" + PRIVATE = "PRIVATE" + +@dataclass(kw_only=True) +class WarningDetail(_SerdeShape): + """ + The warnings generated for a specific resource for this generated + template. + """ + + type: str | None = ... + """ + The type of this warning. For more information, see [Resolve write-only + properties](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC-write-only-properties.html) + in the *CloudFormation User Guide*. + + - `MUTUALLY_EXCLUSIVE_PROPERTIES` - The resource requires + mutually-exclusive write-only properties. The IaC generator selects + one set of mutually exclusive properties and converts the included + properties into parameters. The parameter names have a suffix `OneOf` + and the parameter descriptions indicate that the corresponding + property can be replaced with other exclusive properties. + + - `UNSUPPORTED_PROPERTIES` - Unsupported properties are present in the + resource. One example of unsupported properties would be a required + write-only property that is an array, because a parameter cannot be an + array. Another example is an optional write-only property. + + - `MUTUALLY_EXCLUSIVE_TYPES` - One or more required write-only + properties are found in the resource, and the type of that property + can be any of several types. + + Note: + Currently the resource and property reference documentation does not + indicate if a property uses a type of `oneOf` or `anyOf`. You need to + look at the resource provider schema. + """ + properties: list[WarningProperty] | None = ... + """The properties of the resource that are impacted by this warning.""" + +@dataclass(kw_only=True) +class WarningProperty(_SerdeShape): + """A specific property that is impacted by a warning.""" + + property_path: str | None = ... + """ + The path of the property. For example, if this is for the `S3Bucket` + member of the `Code` property, the property path would be + `Code/S3Bucket`. + """ + required: bool | None = ... + """If `true`, the specified property is required.""" + description: str | None = ... + """The description of the property from the resource provider schema.""" + +@dataclass(kw_only=True) +class Warnings(_SerdeShape): + """Contains any warnings returned by the `GetTemplateSummary` API action.""" + + unrecognized_resource_types: list[str] | None = ... + """ + A list of all of the unrecognized resource types. This is only returned + if the `TemplateSummaryConfig` parameter has the + `TreatUnrecognizedResourceTypesAsWarning` configuration set to `True`. + """ + +class WarningType(UnknownEnumMixin, StrEnum): + MUTUALLY_EXCLUSIVE_PROPERTIES = "MUTUALLY_EXCLUSIVE_PROPERTIES" + UNSUPPORTED_PROPERTIES = "UNSUPPORTED_PROPERTIES" + MUTUALLY_EXCLUSIVE_TYPES = "MUTUALLY_EXCLUSIVE_TYPES" + EXCLUDED_PROPERTIES = "EXCLUDED_PROPERTIES" + EXCLUDED_RESOURCES = "EXCLUDED_RESOURCES" diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas.py index 3d40b71d6..7c3723acd 100644 --- a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas.py +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas.py @@ -1,7956 +1,807 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.cloudformation" -_ATAC = "AcceptTermsAndConditions" -_A = "Account" -_AFT = "AccountFilterType" -_NONE = "NONE" -_sV = "smithy.api#enumValue" -_INTERSECTION = "INTERSECTION" -_DIFFERENCE = "DIFFERENCE" -_UNION = "UNION" -_AGS = "AccountGateStatus" -_SUCCEEDED = "SUCCEEDED" -_FAILED = "FAILED" -_SKIPPED = "SKIPPED" -_AGSR = "AccountGateStatusReason" -_AGR = "AccountGateResult" -_S = "Status" -_SR = "StatusReason" -_LN = "LimitName" -_LV = "LimitValue" -_AL = "AccountLimit" -_N = "Name" -_V = "Value" -_ALL = "AccountLimitList" -_m = "member" -_ALc = "AccountList" -_AU = "AccountsUrl" -_AOAI = "ActivateOrganizationsAccessInput" -_s = "smithy.api#input" -_AOAO = "ActivateOrganizationsAccessOutput" -_sm = "smithy.api#output" -_EM = "ErrorMessage" -_IOE = "InvalidOperationException" -_smi = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_M = "Message" -_ONFE = "OperationNotFoundException" -_AOA = "ActivateOrganizationsAccess" -_AUu = "AutoUpdate" -_RARN = "RoleARN2" -_LGN = "LogGroupName" -_LC = "LoggingConfig" -_LRA = "LogRoleArn" -_smit = "smithy.api#required" -_MV = "MajorVersion" -_TPTA = "ThirdPartyTypeArn" -_PI = "PublisherId" -_TPT = "ThirdPartyType" -_RESOURCE = "RESOURCE" -_MODULE = "MODULE" -_HOOK = "HOOK" -_TN = "TypeName" -_VB = "VersionBump" -_MAJOR = "MAJOR" -_MINOR = "MINOR" -_ATI = "ActivateTypeInput" -_T = "Type" -_PTA = "PublicTypeArn" -_TNA = "TypeNameAlias" -_ERA = "ExecutionRoleArn" -_PTAr = "PrivateTypeArn" -_ATO = "ActivateTypeOutput" -_Ar = "Arn" -_CFNRE = "CFNRegistryException" -_TNFE = "TypeNotFoundException" -_AT = "ActivateType" -_AC = "AfterContext" -_AV = "AfterValue" -_AVF = "AfterValueFrom" -_TEMPLATE = "TEMPLATE" -_AVl = "AllowedValue" -_AVll = "AllowedValues" -_AEE = "AlreadyExistsException" -_AN = "AnnotationName" -_ARL = "AnnotationRemediationLink" -_RMRM = "RemediationMessageRemediationMessage" -_ASL = "AnnotationSeverityLevel" -_INFORMATIONAL = "INFORMATIONAL" -_LOW = "LOW" -_MEDIUM = "MEDIUM" -_HIGH = "HIGH" -_CRITICAL = "CRITICAL" -_AS = "AnnotationStatus" -_PASSED = "PASSED" -_RMSM = "RemediationMessageStatusMessage" -_An = "Annotation" -_SM = "StatusMessage" -_RM = "RemediationMessage" -_RL = "RemediationLink" -_SL = "SeverityLevel" -_ALn = "AnnotationList" -_ACT = "AttributeChangeType" -_Ad = "Add" -_R = "Remove" -_Mo = "Modify" -_SWA = "SyncWithActual" -_SSARN = "StackSetARN" -_SSARNL = "StackSetARNList" -_ADN = "AutoDeploymentNullable" -_RSOARN = "RetainStacksOnAccountRemovalNullable" -_AD = "AutoDeployment" -_E = "Enabled" -_RSOAR = "RetainStacksOnAccountRemoval" -_DO = "DependsOn" -_TA = "TypeArn" -_TCA = "TypeConfigurationAlias" -_TCAy = "TypeConfigurationArn" -_TCI = "TypeConfigurationIdentifier" -_TCIy = "TypeConfigurationIdentifiers" -_BDTCI = "BatchDescribeTypeConfigurationsInput" -_EC = "ErrorCode" -_BDTCE = "BatchDescribeTypeConfigurationsError" -_BDTCEa = "BatchDescribeTypeConfigurationsErrors" -_TC = "TypeConfiguration" -_IDC = "IsDefaultConfiguration" -_Ti = "Timestamp" -_TCD = "TypeConfigurationDetails" -_Al = "Alias" -_C = "Configuration" -_LU = "LastUpdated" -_TCDL = "TypeConfigurationDetailsList" -_UTC = "UnprocessedTypeConfigurations" -_BDTCO = "BatchDescribeTypeConfigurationsOutput" -_Er = "Errors" -_TCy = "TypeConfigurations" -_TCNFE = "TypeConfigurationNotFoundException" -_BDTC = "BatchDescribeTypeConfigurations" -_BSOS = "BeaconStackOperationStatus" -_IP = "IN_PROGRESS" -_BC = "BeforeContext" -_BV = "BeforeValue" -_BVF = "BeforeValueFrom" -_PDS = "PREVIOUS_DEPLOYMENT_STATE" -_AS_ = "ACTUAL_STATE" -_BI = "BoxedInteger" -_BMR = "BoxedMaxResults" -_CA = "CallAs" -_SELF = "SELF" -_DA = "DELEGATED_ADMIN" -_CRT = "ClientRequestToken" -_SN = "StackName" -_CUSI = "CancelUpdateStackInput" -_CUSO = "CancelUpdateStackOutput" -_sSI = "smithy.synthetic#originalShapeId" -_sU = "smithy.api#Unit" -_TAEE = "TokenAlreadyExistsException" -_CUS = "CancelUpdateStack" -_Ca = "Capability" -_CI = "CAPABILITY_IAM" -_CNI = "CAPABILITY_NAMED_IAM" -_CAE = "CAPABILITY_AUTO_EXPAND" -_Cap = "Capabilities" -_CR = "CapabilitiesReason" -_Cat = "Category" -_REGISTERED = "REGISTERED" -_ACTIVATED = "ACTIVATED" -_TP = "THIRD_PARTY" -_AT_ = "AWS_TYPES" -_CE = "CausingEntity" -_HIC = "HookInvocationCount" -_CAh = "ChangeAction" -_I = "Import" -_D = "Dynamic" -_CSI = "ChangeSetId" -_CS = "ChangeSource" -_RR = "ResourceReference" -_PR = "ParameterReference" -_RA = "ResourceAttribute" -_DM = "DirectModification" -_Au = "Automatic" -_NM = "NoModification" -_ET = "EvaluationType" -_St = "Static" -_P = "Properties" -_Me = "Metadata" -_CP = "CreationPolicy" -_UP = "UpdatePolicy" -_DP = "DeletionPolicy" -_URP = "UpdateReplacePolicy" -_Ta = "Tags" -_RDAV = "ResourceDriftActualValue" -_RDPV = "ResourceDriftPreviousValue" -_LRD = "LiveResourceDrift" -_PV = "PreviousValue" -_AVc = "ActualValue" -_DDT = "DriftDetectionTimestamp" -_PN = "PropertyName" -_RPP = "ResourcePropertyPath" -_RRe = "RequiresRecreation" -_Ne = "Never" -_Co = "Conditionally" -_Alw = "Always" -_RTD = "ResourceTargetDefinition" -_At = "Attribute" -_Pa = "Path" -_Dr = "Drift" -_RCD = "ResourceChangeDetail" -_Tar = "Target" -_Ev = "Evaluation" -_RCDe = "ResourceChangeDetails" -_LRI = "LogicalResourceId" -_LIH = "LogicalIdHierarchy" -_TH = "TypeHierarchy" -_MI = "ModuleInfo" -_PRI = "PhysicalResourceId" -_PA = "PolicyAction" -_De = "Delete" -_Re = "Retain" -_Sn = "Snapshot" -_RAD = "ReplaceAndDelete" -_RAR = "ReplaceAndRetain" -_RAS = "ReplaceAndSnapshot" -_PDC = "PreviousDeploymentContext" -_Rep = "Replacement" -_Tr = "True" -_F = "False" -_Con = "Conditional" -_DIR = "DriftIgnoredReason" -_MBA = "MANAGED_BY_AWS" -_WOP = "WRITE_ONLY_PROPERTY" -_SP = "SENSITIVE_PROPERTY" -_RDIA = "ResourceDriftIgnoredAttribute" -_Rea = "Reason" -_RDIAe = "ResourceDriftIgnoredAttributes" -_SRDS = "StackResourceDriftStatus" -_IS = "IN_SYNC" -_MODIFIED = "MODIFIED" -_DELETED = "DELETED" -_NC = "NOT_CHECKED" -_UNKNOWN = "UNKNOWN" -_UNSUPPORTED = "UNSUPPORTED" -_RT = "ResourceType" -_Sc = "Scope" -_RC = "ResourceChange" -_Ac = "Action" -_RDS = "ResourceDriftStatus" -_Det = "Details" -_CT = "ChangeType" -_Res = "Resource" -_Ch = "Change" -_Cha = "Changes" -_HFM = "HookFailureMode" -_FAIL = "FAIL" -_WARN = "WARN" -_HIP = "HookInvocationPoint" -_PP = "PRE_PROVISION" -_HTTN = "HookTargetTypeName" -_CSHRTD = "ChangeSetHookResourceTargetDetails" -_RAe = "ResourceAction" -_HTT = "HookTargetType" -_CSHTD = "ChangeSetHookTargetDetails" -_TT = "TargetType" -_RTDe = "ResourceTargetDetails" -_HTCVI = "HookTypeConfigurationVersionId" -_HTN = "HookTypeName" -_HTVI = "HookTypeVersionId" -_CSH = "ChangeSetHook" -_IPn = "InvocationPoint" -_FM = "FailureMode" -_TVI = "TypeVersionId" -_TCVI = "TypeConfigurationVersionId" -_TD = "TargetDetails" -_CSHh = "ChangeSetHooks" -_CSHS = "ChangeSetHooksStatus" -_PLANNING = "PLANNING" -_PLANNED = "PLANNED" -_UNAVAILABLE = "UNAVAILABLE" -_CSN = "ChangeSetName" -_CSNOI = "ChangeSetNameOrId" -_CSNFE = "ChangeSetNotFoundException" -_CSS = "ChangeSetStatus" -_CP_ = "CREATE_PENDING" -_CIP = "CREATE_IN_PROGRESS" -_CC = "CREATE_COMPLETE" -_DP_ = "DELETE_PENDING" -_DIP = "DELETE_IN_PROGRESS" -_DC = "DELETE_COMPLETE" -_DF = "DELETE_FAILED" -_CSSR = "ChangeSetStatusReason" -_CTr = "CreationTime" -_Des = "Description" -_ES = "ExecutionStatus" -_AVAILABLE = "AVAILABLE" -_EIP = "EXECUTE_IN_PROGRESS" -_EC_ = "EXECUTE_COMPLETE" -_EF = "EXECUTE_FAILED" -_OBSOLETE = "OBSOLETE" -_IER = "ImportExistingResources" -_INS = "IncludeNestedStacks" -_SI = "StackId" -_CSSh = "ChangeSetSummary" -_PCSI = "ParentChangeSetId" -_RCSI = "RootChangeSetId" -_CSSha = "ChangeSetSummaries" -_CST = "ChangeSetType" -_CREATE = "CREATE" -_UPDATE = "UPDATE" -_IMPORT = "IMPORT" -_CTl = "ClientToken" -_FR = "ForceRollback" -_RTS = "ResourceToSkip" -_RTSe = "ResourcesToSkip" -_RARNo = "RoleARN" -_SNOI = "StackNameOrId" -_CURI = "ContinueUpdateRollbackInput" -_CURO = "ContinueUpdateRollbackOutput" -_CUR = "ContinueUpdateRollback" -_DR = "DisableRollback" -_DCM = "DeploymentConfigMode" -_STANDARD = "STANDARD" -_EXPRESS = "EXPRESS" -_DCe = "DeploymentConfig" -_Mod = "Mode" -_DMe = "DeploymentMode" -_RD = "REVERT_DRIFT" -_DV = "DisableValidation" -_NARN = "NotificationARN" -_NARNo = "NotificationARNs" -_OSF = "OnStackFailure" -_DN = "DO_NOTHING" -_ROLLBACK = "ROLLBACK" -_DELETE = "DELETE" -_PK = "ParameterKey" -_PVa = "ParameterValue" -_UPV = "UsePreviousValue" -_Par = "Parameter" -_RV = "ResolvedValue" -_Para = "Parameters" -_RIPK = "ResourceIdentifierPropertyKey" -_RIPV = "ResourceIdentifierPropertyValue" -_RIP = "ResourceIdentifierProperties" -_k = "key" -_v = "value" -_RTI = "ResourceToImport" -_RI = "ResourceIdentifier" -_RTIe = "ResourcesToImport" -_RTe = "ResourceTypes" -_MTIM = "MonitoringTimeInMinutes" -_RTo = "RollbackTrigger" -_RTol = "RollbackTriggers" -_RCo = "RollbackConfiguration" -_TK = "TagKey" -_TV = "TagValue" -_Tag = "Tag" -_K = "Key" -_TB = "TemplateBody" -_TURL = "TemplateURL" -_UPT = "UsePreviousTemplate" -_CCSI = "CreateChangeSetInput" -_CCSO = "CreateChangeSetOutput" -_Id = "Id" -_ICE = "InsufficientCapabilitiesException" -_LEE = "LimitExceededException" -_CCS = "CreateChangeSet" -_CRLEE = "ConcurrentResourcesLimitExceededException" -_GTN = "GeneratedTemplateName" -_RDe = "ResourceDefinition" -_RDes = "ResourceDefinitions" -_GTDP = "GeneratedTemplateDeletionPolicy" -_RETAIN = "RETAIN" -_GTURP = "GeneratedTemplateUpdateReplacePolicy" -_TCe = "TemplateConfiguration" -_CGTI = "CreateGeneratedTemplateInput" -_Reso = "Resources" -_GTI = "GeneratedTemplateId" -_CGTO = "CreateGeneratedTemplateOutput" -_CGT = "CreateGeneratedTemplate" -_ETP = "EnableTerminationProtection" -_OF = "OnFailure" -_REOC = "RetainExceptOnCreate" -_SPB = "StackPolicyBody" -_SPURL = "StackPolicyURL" -_TM = "TimeoutMinutes" -_CSIr = "CreateStackInput" -_TIM = "TimeoutInMinutes" -_OI = "OperationId" -_CSO = "CreateStackOutput" -_CSr = "CreateStack" -_OUI = "OrganizationalUnitId" -_OUIL = "OrganizationalUnitIdList" -_DT = "DeploymentTargets" -_Acc = "Accounts" -_OUIr = "OrganizationalUnitIds" -_CM = "ConcurrencyMode" -_SFT = "STRICT_FAILURE_TOLERANCE" -_SFT_ = "SOFT_FAILURE_TOLERANCE" -_FTC = "FailureToleranceCount" -_FTP = "FailureTolerancePercentage" -_MCC = "MaxConcurrentCount" -_MCP = "MaxConcurrentPercentage" -_RCT = "RegionConcurrencyType" -_SEQUENTIAL = "SEQUENTIAL" -_PARALLEL = "PARALLEL" -_Reg = "Region" -_RLe = "RegionList" -_SSOP = "StackSetOperationPreferences" -_RO = "RegionOrder" -_SSN = "StackSetName" -_CSII = "CreateStackInstancesInput" -_Regi = "Regions" -_PO = "ParameterOverrides" -_OP = "OperationPreferences" -_sT = "smithy.api#idempotencyToken" -_CSIO = "CreateStackInstancesOutput" -_OIAEE = "OperationIdAlreadyExistsException" -_OIPE = "OperationInProgressException" -_SSNFE = "StackSetNotFoundException" -_SRE = "StaleRequestException" -_CSIre = "CreateStackInstances" -_ESC = "EnableStackCreation" -_RLes = "ResourceLocation" -_RMe = "ResourceMapping" -_So = "Source" -_Dest = "Destination" -_RMes = "ResourceMappings" -_SD = "StackDefinition" -_SDt = "StackDefinitions" -_CSRI = "CreateStackRefactorInput" -_SRI = "StackRefactorId" -_CSRO = "CreateStackRefactorOutput" -_CSR = "CreateStackRefactor" -_CBME = "CreatedButModifiedException" -_ERN = "ExecutionRoleName" -_MEN = "ManagedExecutionNullable" -_ME = "ManagedExecution" -_Act = "Active" -_PM = "PermissionModels" -_SM_ = "SERVICE_MANAGED" -_SM__ = "SELF_MANAGED" -_CSSI = "CreateStackSetInput" -_ARARN = "AdministrationRoleARN" -_PMe = "PermissionModel" -_SSI = "StackSetId" -_CSSO = "CreateStackSetOutput" -_NAEE = "NameAlreadyExistsException" -_CSSr = "CreateStackSet" -_DOAI = "DeactivateOrganizationsAccessInput" -_DOAO = "DeactivateOrganizationsAccessOutput" -_DOA = "DeactivateOrganizationsAccess" -_DTI = "DeactivateTypeInput" -_DTO = "DeactivateTypeOutput" -_DTe = "DeactivateType" -_DCSI = "DeleteChangeSetInput" -_DCSO = "DeleteChangeSetOutput" -_ICSSE = "InvalidChangeSetStatusException" -_DCS = "DeleteChangeSet" -_DGTI = "DeleteGeneratedTemplateInput" -_DGTO = "DeleteGeneratedTemplateOutput" -_GTNFE = "GeneratedTemplateNotFoundException" -_DGT = "DeleteGeneratedTemplate" -_DMel = "DeletionMode" -_FDS = "FORCE_DELETE_STACK" -_RRet = "RetainResources" -_DSI = "DeleteStackInput" -_DSO = "DeleteStackOutput" -_DS = "DeleteStack" -_RS = "RetainStacks" -_DSII = "DeleteStackInstancesInput" -_DSIO = "DeleteStackInstancesOutput" -_DSIe = "DeleteStackInstances" -_DSSI = "DeleteStackSetInput" -_DSSO = "DeleteStackSetOutput" -_SSNEE = "StackSetNotEmptyException" -_DSS = "DeleteStackSet" -_RTeg = "RegistryType" -_DTIe = "DeregisterTypeInput" -_VI = "VersionId" -_DTOe = "DeregisterTypeOutput" -_DTer = "DeregisterType" -_NT = "NextToken" -_DALI = "DescribeAccountLimitsInput" -_DALO = "DescribeAccountLimitsOutput" -_ALcc = "AccountLimits" -_DAL = "DescribeAccountLimits" -_IPV = "IncludePropertyValues" -_DCSIe = "DescribeChangeSetInput" -_SDS = "StackDriftStatus" -_DRIFTED = "DRIFTED" -_DCSOe = "DescribeChangeSetOutput" -_DCSe = "DescribeChangeSet" -_DCSHI = "DescribeChangeSetHooksInput" -_DCSHO = "DescribeChangeSetHooksOutput" -_H = "Hooks" -_DCSH = "DescribeChangeSetHooks" -_FEF = "FailedEventsFilter" -_EFv = "EventFilter" -_FE = "FailedEvents" -_DEI = "DescribeEventsInput" -_Fi = "Filters" -_DSe = "DetailedStatus" -_CC_ = "CONFIGURATION_COMPLETE" -_VF = "VALIDATION_FAILED" -_EI = "EventId" -_ETv = "EventType" -_SE = "STACK_EVENT" -_PE = "PROGRESS_EVENT" -_VE = "VALIDATION_ERROR" -_PE_ = "PROVISIONING_ERROR" -_HIE = "HOOK_INVOCATION_ERROR" -_HS = "HookStatus" -_HIP_ = "HOOK_IN_PROGRESS" -_HCS = "HOOK_COMPLETE_SUCCEEDED" -_HCF = "HOOK_COMPLETE_FAILED" -_HF = "HOOK_FAILED" -_HSR = "HookStatusReason" -_HT = "HookType" -_OT = "OperationType" -_CS_ = "CREATE_STACK" -_US = "UPDATE_STACK" -_DS_ = "DELETE_STACK" -_CR_ = "CONTINUE_ROLLBACK" -_CC__ = "CREATE_CHANGESET" -_RP = "ResourceProperties" -_RSe = "ResourceStatus" -_CF = "CREATE_FAILED" -_DS__ = "DELETE_SKIPPED" -_UIP = "UPDATE_IN_PROGRESS" -_UF = "UPDATE_FAILED" -_UC = "UPDATE_COMPLETE" -_IF = "IMPORT_FAILED" -_IC = "IMPORT_COMPLETE" -_IIP = "IMPORT_IN_PROGRESS" -_IRIP = "IMPORT_ROLLBACK_IN_PROGRESS" -_IRF = "IMPORT_ROLLBACK_FAILED" -_IRC = "IMPORT_ROLLBACK_COMPLETE" -_EF_ = "EXPORT_FAILED" -_EC__ = "EXPORT_COMPLETE" -_EIP_ = "EXPORT_IN_PROGRESS" -_ERIP = "EXPORT_ROLLBACK_IN_PROGRESS" -_ERF = "EXPORT_ROLLBACK_FAILED" -_ERC = "EXPORT_ROLLBACK_COMPLETE" -_URIP = "UPDATE_ROLLBACK_IN_PROGRESS" -_URC = "UPDATE_ROLLBACK_COMPLETE" -_URF = "UPDATE_ROLLBACK_FAILED" -_RIP_ = "ROLLBACK_IN_PROGRESS" -_RC_ = "ROLLBACK_COMPLETE" -_RF = "ROLLBACK_FAILED" -_RSR = "ResourceStatusReason" -_VN = "ValidationName" -_VP = "ValidationPath" -_VS = "ValidationStatus" -_VSR = "ValidationStatusReason" -_OE = "OperationEvent" -_OS = "OperationStatus" -_ST = "StartTime" -_ETn = "EndTime" -_VFM = "ValidationFailureMode" -_OEp = "OperationEvents" -_DEO = "DescribeEventsOutput" -_DE = "DescribeEvents" -_DGTIe = "DescribeGeneratedTemplateInput" -_LUT = "LastUpdatedTime" -_RFe = "ResourcesFailed" -_RPe = "ResourcesPending" -_RPes = "ResourcesProcessing" -_RSes = "ResourcesSucceeded" -_TPe = "TemplateProgress" -_GTRS = "GeneratedTemplateResourceStatus" -_PENDING = "PENDING" -_COMPLETE = "COMPLETE" -_PD = "PropertyDescription" -_PPr = "PropertyPath" -_RPeq = "RequiredProperty" -_WP = "WarningProperty" -_Req = "Required" -_WPa = "WarningProperties" -_WT = "WarningType" -_MEP = "MUTUALLY_EXCLUSIVE_PROPERTIES" -_UP_ = "UNSUPPORTED_PROPERTIES" -_MET = "MUTUALLY_EXCLUSIVE_TYPES" -_EP = "EXCLUDED_PROPERTIES" -_ER = "EXCLUDED_RESOURCES" -_WD = "WarningDetail" -_WDa = "WarningDetails" -_RDeso = "ResourceDetail" -_W = "Warnings" -_RDesou = "ResourceDetails" -_GTS = "GeneratedTemplateStatus" -_UP__ = "UPDATE_PENDING" -_TSR = "TemplateStatusReason" -_TW = "TotalWarnings" -_DGTOe = "DescribeGeneratedTemplateOutput" -_Pr = "Progress" -_DGTe = "DescribeGeneratedTemplate" -_DOAIe = "DescribeOrganizationsAccessInput" -_OSr = "OrganizationStatus" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_DP__ = "DISABLED_PERMANENTLY" -_DOAOe = "DescribeOrganizationsAccessOutput" -_DOAe = "DescribeOrganizationsAccess" -_DPI = "DescribePublisherInput" -_IPd = "IdentityProvider" -_AM = "AWS_Marketplace" -_GH = "GitHub" -_B = "Bitbucket" -_PPu = "PublisherProfile" -_PS = "PublisherStatus" -_VERIFIED = "VERIFIED" -_UNVERIFIED = "UNVERIFIED" -_DPO = "DescribePublisherOutput" -_DPe = "DescribePublisher" -_RSI = "ResourceScanId" -_DRSI = "DescribeResourceScanInput" -_PC = "PercentageCompleted" -_RRes = "ResourcesRead" -_RSeso = "ResourcesScanned" -_RTF = "ResourceTypeFilter" -_RTFe = "ResourceTypeFilters" -_SF = "ScanFilter" -_Ty = "Types" -_SFc = "ScanFilters" -_RSS = "ResourceScanStatus" -_EXPIRED = "EXPIRED" -_RSSR = "ResourceScanStatusReason" -_DRSO = "DescribeResourceScanOutput" -_RSNFE = "ResourceScanNotFoundException" -_DRS = "DescribeResourceScan" -_SDDI = "StackDriftDetectionId" -_DSDDSI = "DescribeStackDriftDetectionStatusInput" -_SDDS = "StackDriftDetectionStatus" -_DIP_ = "DETECTION_IN_PROGRESS" -_DF_ = "DETECTION_FAILED" -_DC_ = "DETECTION_COMPLETE" -_SDDSR = "StackDriftDetectionStatusReason" -_DSDDSO = "DescribeStackDriftDetectionStatusOutput" -_DSet = "DetectionStatus" -_DSR = "DetectionStatusReason" -_DSRC = "DriftedStackResourceCount" -_DSDDS = "DescribeStackDriftDetectionStatus" -_DSEI = "DescribeStackEventsInput" -_HII = "HookInvocationId" -_SEt = "StackEvent" -_SEta = "StackEvents" -_DSEO = "DescribeStackEventsOutput" -_DSE = "DescribeStackEvents" -_DSIIe = "DescribeStackInstanceInput" -_SIA = "StackInstanceAccount" -_SIR = "StackInstanceRegion" -_SIDS = "StackInstanceDetailedStatus" -_RUNNING = "RUNNING" -_CANCELLED = "CANCELLED" -_INOPERABLE = "INOPERABLE" -_SSA = "SKIPPED_SUSPENDED_ACCOUNT" -_FI = "FAILED_IMPORT" -_SICS = "StackInstanceComprehensiveStatus" -_SIS = "StackInstanceStatus" -_CURRENT = "CURRENT" -_OUTDATED = "OUTDATED" -_SIt = "StackInstance" -_DSr = "DriftStatus" -_LDCT = "LastDriftCheckTimestamp" -_LOI = "LastOperationId" -_DSIOe = "DescribeStackInstanceOutput" -_SINFE = "StackInstanceNotFoundException" -_DSIes = "DescribeStackInstance" -_DSRI = "DescribeStackRefactorInput" -_SRES = "StackRefactorExecutionStatus" -_ESR = "ExecutionStatusReason" -_SIta = "StackIds" -_SRS = "StackRefactorStatus" -_SRSR = "StackRefactorStatusReason" -_DSRO = "DescribeStackRefactorOutput" -_SRNFE = "StackRefactorNotFoundException" -_DSRe = "DescribeStackRefactor" -_DSRIe = "DescribeStackResourceInput" -_SRDI = "StackResourceDriftInformation" -_LCT = "LastCheckTimestamp" -_SRD = "StackResourceDetail" -_LUTa = "LastUpdatedTimestamp" -_DI = "DriftInformation" -_DSROe = "DescribeStackResourceOutput" -_DSRes = "DescribeStackResource" -_SRDSF = "StackResourceDriftStatusFilters" -_DSRDI = "DescribeStackResourceDriftsInput" -_MR = "MaxResults" -_SRDSR = "StackResourceDriftStatusReason" -_PRICKVP = "PhysicalResourceIdContextKeyValuePair" -_PRIC = "PhysicalResourceIdContext" -_PVr = "PropertyValue" -_DTi = "DifferenceType" -_ADD = "ADD" -_REMOVE = "REMOVE" -_NE = "NOT_EQUAL" -_PDr = "PropertyDifference" -_EV = "ExpectedValue" -_PDro = "PropertyDifferences" -_SRDt = "StackResourceDrift" -_EPx = "ExpectedProperties" -_AP = "ActualProperties" -_DSRr = "DriftStatusReason" -_SRDta = "StackResourceDrifts" -_DSRDO = "DescribeStackResourceDriftsOutput" -_DSRD = "DescribeStackResourceDrifts" -_DSRIes = "DescribeStackResourcesInput" -_SRt = "StackResource" -_SRta = "StackResources" -_DSROes = "DescribeStackResourcesOutput" -_DSResc = "DescribeStackResources" -_DSIesc = "DescribeStacksInput" -_DTel = "DeletionTime" -_SDI = "StackDriftInformation" -_OEpe = "OperationEntry" -_LO = "LastOperations" -_EN = "ExportName" -_OK = "OutputKey" -_OV = "OutputValue" -_O = "Output" -_Ou = "Outputs" -_SS = "StackStatus" -_UCCIP = "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" -_URCCIP = "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" -_RIP__ = "REVIEW_IN_PROGRESS" -_SSR = "StackStatusReason" -_Sta = "Stack" -_PIa = "ParentId" -_RIo = "RootId" -_Stac = "Stacks" -_DSOe = "DescribeStacksOutput" -_DSes = "DescribeStacks" -_DSSIe = "DescribeStackSetInput" -_SSDDS = "StackSetDriftDetectionStatus" -_COMPLETED = "COMPLETED" -_PS_ = "PARTIAL_SUCCESS" -_STOPPED = "STOPPED" -_DSIC = "DriftedStackInstancesCount" -_SSDS = "StackSetDriftStatus" -_FSIC = "FailedStackInstancesCount" -_IPSIC = "InProgressStackInstancesCount" -_ISSIC = "InSyncStackInstancesCount" -_TSIC = "TotalStackInstancesCount" -_SSDDD = "StackSetDriftDetectionDetails" -_DDS = "DriftDetectionStatus" -_SSS = "StackSetStatus" -_ACTIVE = "ACTIVE" -_SSt = "StackSet" -_DSSOe = "DescribeStackSetOutput" -_DSSe = "DescribeStackSet" -_DSSOI = "DescribeStackSetOperationInput" -_SSOA = "StackSetOperationAction" -_DD = "DETECT_DRIFT" -_RSN = "RetainStacksNullable" -_SSOS = "StackSetOperationStatus" -_STOPPING = "STOPPING" -_QUEUED = "QUEUED" -_SSOSD = "StackSetOperationStatusDetails" -_SSOSR = "StackSetOperationStatusReason" -_SSO = "StackSetOperation" -_CTre = "CreationTimestamp" -_ETnd = "EndTimestamp" -_SDta = "StatusDetails" -_DSSOO = "DescribeStackSetOperationOutput" -_DSSOes = "DescribeStackSetOperation" -_PVN = "PublicVersionNumber" -_DTIes = "DescribeTypeInput" -_CSo = "ConfigurationSchema" -_DSep = "DeprecatedStatus" -_LIVE = "LIVE" -_DEPRECATED = "DEPRECATED" -_OSU = "OptionalSecureUrl" -_IA = "IsActivated" -_IDV = "IsDefaultVersion" -_PT = "ProvisioningType" -_NP = "NON_PROVISIONABLE" -_IMMUTABLE = "IMMUTABLE" -_FM_ = "FULLY_MUTABLE" -_SMV = "SupportedMajorVersion" -_SMVu = "SupportedMajorVersions" -_RAT = "RequiredActivatedType" -_OTN = "OriginalTypeName" -_RATe = "RequiredActivatedTypes" -_TS = "TypeSchema" -_TTS = "TypeTestsStatus" -_NT_ = "NOT_TESTED" -_TTSD = "TypeTestsStatusDescription" -_Vi = "Visibility" -_PUBLIC = "PUBLIC" -_PRIVATE = "PRIVATE" -_DTOes = "DescribeTypeOutput" -_DVI = "DefaultVersionId" -_Sch = "Schema" -_SU = "SourceUrl" -_DU = "DocumentationUrl" -_TCi = "TimeCreated" -_OTA = "OriginalTypeArn" -_LPV = "LatestPublicVersion" -_DTes = "DescribeType" -_RTegi = "RegistrationToken" -_DTRI = "DescribeTypeRegistrationInput" -_RSeg = "RegistrationStatus" -_DTRO = "DescribeTypeRegistrationOutput" -_PSr = "ProgressStatus" -_TVA = "TypeVersionArn" -_DTR = "DescribeTypeRegistration" -_LRIo = "LogicalResourceIds" -_DSDI = "DetectStackDriftInput" -_DSDO = "DetectStackDriftOutput" -_DSD = "DetectStackDrift" -_DSRDIe = "DetectStackResourceDriftInput" -_DSRDOe = "DetectStackResourceDriftOutput" -_DSRDe = "DetectStackResourceDrift" -_SSNOI = "StackSetNameOrId" -_DSSDI = "DetectStackSetDriftInput" -_DSSDO = "DetectStackSetDriftOutput" -_DSSD = "DetectStackSetDrift" -_ETCI = "EstimateTemplateCostInput" -_U = "Url" -_ETCO = "EstimateTemplateCostOutput" -_ETC = "EstimateTemplateCost" -_ECSI = "ExecuteChangeSetInput" -_ECSO = "ExecuteChangeSetOutput" -_ECS = "ExecuteChangeSet" -_ESRI = "ExecuteStackRefactorInput" -_ESRO = "ExecuteStackRefactorOutput" -_ESRx = "ExecuteStackRefactor" -_TF = "TemplateFormat" -_JSON = "JSON" -_YAML = "YAML" -_GGTI = "GetGeneratedTemplateInput" -_Fo = "Format" -_GGTO = "GetGeneratedTemplateOutput" -_GGT = "GetGeneratedTemplate" -_GHRI = "GetHookResultInput" -_HRI = "HookResultId" -_HTA = "HookTargetAction" -_HTI = "HookTargetId" -_HTo = "HookTarget" -_TTN = "TargetTypeName" -_TI = "TargetId" -_HTAo = "HookTypeArn" -_GHRO = "GetHookResultOutput" -_IAn = "InvokedAt" -_Ann = "Annotations" -_HRNFE = "HookResultNotFoundException" -_GHR = "GetHookResult" -_GSPI = "GetStackPolicyInput" -_GSPO = "GetStackPolicyOutput" -_GSP = "GetStackPolicy" -_TSe = "TemplateStage" -_Or = "Original" -_Pro = "Processed" -_GTIe = "GetTemplateInput" -_SLt = "StageList" -_GTO = "GetTemplateOutput" -_SA = "StagesAvailable" -_GT = "GetTemplate" -_TURTAW = "TreatUnrecognizedResourceTypesAsWarnings" -_TSC = "TemplateSummaryConfig" -_GTSI = "GetTemplateSummaryInput" -_TNr = "TransformName" -_TL = "TransformsList" -_NEo = "NoEcho" -_PCa = "ParameterConstraints" -_PTa = "ParameterType" -_PDa = "ParameterDeclaration" -_DVe = "DefaultValue" -_PDar = "ParameterDeclarations" -_RIe = "ResourceIdentifiers" -_RIS = "ResourceIdentifierSummary" -_RISe = "ResourceIdentifierSummaries" -_Ve = "Version" -_URT = "UnrecognizedResourceTypes" -_GTSO = "GetTemplateSummaryOutput" -_DTec = "DeclaredTransforms" -_GTSe = "GetTemplateSummary" -_SIL = "StackIdList" -_SIU = "StackIdsUrl" -_ISTSSI = "ImportStacksToStackSetInput" -_ISTSSO = "ImportStacksToStackSetOutput" -_SNFE = "StackNotFoundException" -_ISTSS = "ImportStacksToStackSet" -_LCSI = "ListChangeSetsInput" -_LCSO = "ListChangeSetsOutput" -_Su = "Summaries" -_LCS = "ListChangeSets" -_LEI = "ListExportsInput" -_EVx = "ExportValue" -_Ex = "Export" -_ESI = "ExportingStackId" -_Exp = "Exports" -_LEO = "ListExportsOutput" -_LE = "ListExports" -_LGTI = "ListGeneratedTemplatesInput" -_NOR = "NumberOfResources" -_TSem = "TemplateSummary" -_TSemp = "TemplateSummaries" -_LGTO = "ListGeneratedTemplatesOutput" -_LGT = "ListGeneratedTemplates" -_LHRTT = "ListHookResultsTargetType" -_CS__ = "CHANGE_SET" -_STACK = "STACK" -_CC___ = "CLOUD_CONTROL" -_LHRI = "ListHookResultsInput" -_HRS = "HookResultSummary" -_HET = "HookExecutionTarget" -_HRSo = "HookResultSummaries" -_LHRO = "ListHookResultsOutput" -_HR = "HookResults" -_LHR = "ListHookResults" -_LII = "ListImportsInput" -_Im = "Imports" -_LIO = "ListImportsOutput" -_LI = "ListImports" -_JRIPK = "JazzResourceIdentifierPropertyKey" -_JRIPV = "JazzResourceIdentifierPropertyValue" -_JRIP = "JazzResourceIdentifierProperties" -_SRIc = "ScannedResourceIdentifier" -_SRIca = "ScannedResourceIdentifiers" -_LRSRRI = "ListResourceScanRelatedResourcesInput" -_MBS = "ManagedByStack" -_SRc = "ScannedResource" -_RRel = "RelatedResources" -_LRSRRO = "ListResourceScanRelatedResourcesOutput" -_RSIPE = "ResourceScanInProgressException" -_LRSRR = "ListResourceScanRelatedResources" -_RSMR = "ResourceScannerMaxResults" -_RTP = "ResourceTypePrefix" -_LRSRI = "ListResourceScanResourcesInput" -_SRca = "ScannedResources" -_LRSRO = "ListResourceScanResourcesOutput" -_LRSR = "ListResourceScanResources" -_STc = "ScanType" -_FULL = "FULL" -_PARTIAL = "PARTIAL" -_LRSI = "ListResourceScansInput" -_STF = "ScanTypeFilter" -_RSSe = "ResourceScanSummary" -_RSSes = "ResourceScanSummaries" -_LRSO = "ListResourceScansOutput" -_LRS = "ListResourceScans" -_LSIRDI = "ListStackInstanceResourceDriftsInput" -_SIRDS = "StackInstanceResourceDriftStatuses" -_SIRDSt = "StackInstanceResourceDriftsSummary" -_SIRDSta = "StackInstanceResourceDriftsSummaries" -_LSIRDO = "ListStackInstanceResourceDriftsOutput" -_LSIRD = "ListStackInstanceResourceDrifts" -_SIFN = "StackInstanceFilterName" -_DS___ = "DETAILED_STATUS" -_LOI_ = "LAST_OPERATION_ID" -_DS____ = "DRIFT_STATUS" -_SIFV = "StackInstanceFilterValues" -_SIF = "StackInstanceFilter" -_Va = "Values" -_SIFt = "StackInstanceFilters" -_LSII = "ListStackInstancesInput" -_SISt = "StackInstanceSummary" -_SISta = "StackInstanceSummaries" -_LSIO = "ListStackInstancesOutput" -_LSI = "ListStackInstances" -_LSRAI = "ListStackRefactorActionsInput" -_SRAT = "StackRefactorActionType" -_MOVE = "MOVE" -_SRDtac = "StackRefactorDetection" -_AUTO = "AUTO" -_MANUAL = "MANUAL" -_DRe = "DetectionReason" -_SRAE = "StackRefactorActionEntity" -_SRRI = "StackRefactorResourceIdentifier" -_SRTR = "StackRefactorTagResources" -_SRUR = "StackRefactorUntagResources" -_SRA = "StackRefactorAction" -_En = "Entity" -_Dete = "Detection" -_TR = "TagResources" -_UR = "UntagResources" -_SRAt = "StackRefactorActions" -_LSRAO = "ListStackRefactorActionsOutput" -_LSRA = "ListStackRefactorActions" -_SRESF = "StackRefactorExecutionStatusFilter" -_LSRI = "ListStackRefactorsInput" -_ESF = "ExecutionStatusFilter" -_SRSt = "StackRefactorSummary" -_SRSta = "StackRefactorSummaries" -_LSRO = "ListStackRefactorsOutput" -_LSR = "ListStackRefactors" -_LSRIi = "ListStackResourcesInput" -_SRDIS = "StackResourceDriftInformationSummary" -_SRStac = "StackResourceSummary" -_SRStack = "StackResourceSummaries" -_LSROi = "ListStackResourcesOutput" -_LSRi = "ListStackResources" -_SSF = "StackStatusFilter" -_LSIi = "ListStacksInput" -_SDIS = "StackDriftInformationSummary" -_TDe = "TemplateDescription" -_SSta = "StackSummary" -_SStac = "StackSummaries" -_LSO = "ListStacksOutput" -_LS = "ListStacks" -_LSSADTI = "ListStackSetAutoDeploymentTargetsInput" -_SSADTS = "StackSetAutoDeploymentTargetSummary" -_SSADTSt = "StackSetAutoDeploymentTargetSummaries" -_LSSADTO = "ListStackSetAutoDeploymentTargetsOutput" -_LSSADT = "ListStackSetAutoDeploymentTargets" -_ORFN = "OperationResultFilterName" -_ORS = "OPERATION_RESULT_STATUS" -_ORFV = "OperationResultFilterValues" -_ORF = "OperationResultFilter" -_ORFp = "OperationResultFilters" -_LSSORI = "ListStackSetOperationResultsInput" -_SSORS = "StackSetOperationResultStatus" -_SSORSt = "StackSetOperationResultSummary" -_SSORSta = "StackSetOperationResultSummaries" -_LSSORO = "ListStackSetOperationResultsOutput" -_LSSOR = "ListStackSetOperationResults" -_LSSOI = "ListStackSetOperationsInput" -_SSOSt = "StackSetOperationSummary" -_SSOSta = "StackSetOperationSummaries" -_LSSOO = "ListStackSetOperationsOutput" -_LSSO = "ListStackSetOperations" -_LSSI = "ListStackSetsInput" -_SSSt = "StackSetSummary" -_SSSta = "StackSetSummaries" -_LSSOi = "ListStackSetsOutput" -_LSS = "ListStackSets" -_LTRI = "ListTypeRegistrationsInput" -_RSF = "RegistrationStatusFilter" -_RTL = "RegistrationTokenList" -_LTRO = "ListTypeRegistrationsOutput" -_LTR = "ListTypeRegistrations" -_TNP = "TypeNamePrefix" -_TFy = "TypeFilters" -_LTI = "ListTypesInput" -_PNu = "PublisherName" -_TSy = "TypeSummary" -_PIu = "PublisherIdentity" -_TSyp = "TypeSummaries" -_LTO = "ListTypesOutput" -_LT = "ListTypes" -_LTVI = "ListTypeVersionsInput" -_TVS = "TypeVersionSummary" -_TVSy = "TypeVersionSummaries" -_LTVO = "ListTypeVersionsOutput" -_LTV = "ListTypeVersions" -_PTI = "PublishTypeInput" -_PTO = "PublishTypeOutput" -_PTu = "PublishType" -_ISTE = "InvalidStateTransitionException" -_OSCFE = "OperationStatusCheckFailedException" -_SUCCESS = "SUCCESS" -_HEC = "HandlerErrorCode" -_NU = "NotUpdatable" -_IR = "InvalidRequest" -_ADc = "AccessDenied" -_ICn = "InvalidCredentials" -_AE = "AlreadyExists" -_NF = "NotFound" -_RCe = "ResourceConflict" -_Th = "Throttling" -_SLE = "ServiceLimitExceeded" -_STe = "ServiceTimeout" -_NS = "NotStabilized" -_GSE = "GeneralServiceException" -_SIE = "ServiceInternalError" -_NFe = "NetworkFailure" -_IFn = "InternalFailure" -_ITC = "InvalidTypeConfiguration" -_HIF = "HandlerInternalFailure" -_NCo = "NonCompliant" -_Un = "Unknown" -_UT = "UnsupportedTarget" -_RMeso = "ResourceModel" -_RHPI = "RecordHandlerProgressInput" -_BT = "BearerToken" -_COS = "CurrentOperationStatus" -_RHPO = "RecordHandlerProgressOutput" -_RHP = "RecordHandlerProgress" -_CAo = "ConnectionArn" -_RPI = "RegisterPublisherInput" -_RPO = "RegisterPublisherOutput" -_RPeg = "RegisterPublisher" -_RTeq = "RequestToken" -_SUr = "S3Url" -_RTIeg = "RegisterTypeInput" -_SHP = "SchemaHandlerPackage" -_RTO = "RegisterTypeOutput" -_RTegis = "RegisterType" -_RSIo = "RollbackStackInput" -_RSO = "RollbackStackOutput" -_RSo = "RollbackStack" -_SSPI = "SetStackPolicyInput" -_SSPO = "SetStackPolicyOutput" -_SSP = "SetStackPolicy" -_STCI = "SetTypeConfigurationInput" -_CAon = "ConfigurationAlias" -_STCO = "SetTypeConfigurationOutput" -_CAonf = "ConfigurationArn" -_STC = "SetTypeConfiguration" -_STDVI = "SetTypeDefaultVersionInput" -_STDVO = "SetTypeDefaultVersionOutput" -_STDV = "SetTypeDefaultVersion" -_RSSeso = "ResourceSignalStatus" -_FAILURE = "FAILURE" -_RSUI = "ResourceSignalUniqueId" -_SRIi = "SignalResourceInput" -_UI = "UniqueId" -_SRO = "SignalResourceOutput" -_SRi = "SignalResource" -_RSLEE = "ResourceScanLimitExceededException" -_SRSI = "StartResourceScanInput" -_SRSO = "StartResourceScanOutput" -_SRStar = "StartResourceScan" -_SSSOI = "StopStackSetOperationInput" -_SSSOO = "StopStackSetOperationOutput" -_SSSO = "StopStackSetOperation" -_SB = "S3Bucket" -_TTI = "TestTypeInput" -_LDB = "LogDeliveryBucket" -_TTO = "TestTypeOutput" -_TTe = "TestType" -_RARe = "RefreshAllResources" -_JLRI = "JazzLogicalResourceIds" -_UGTI = "UpdateGeneratedTemplateInput" -_NGTN = "NewGeneratedTemplateName" -_AR = "AddResources" -_RRem = "RemoveResources" -_UGTO = "UpdateGeneratedTemplateOutput" -_UGT = "UpdateGeneratedTemplate" -_SPDUB = "StackPolicyDuringUpdateBody" -_SPDUURL = "StackPolicyDuringUpdateURL" -_USI = "UpdateStackInput" -_USO = "UpdateStackOutput" -_USp = "UpdateStack" -_USII = "UpdateStackInstancesInput" -_USIO = "UpdateStackInstancesOutput" -_USIp = "UpdateStackInstances" -_USSI = "UpdateStackSetInput" -_USSO = "UpdateStackSetOutput" -_USS = "UpdateStackSet" -_UTPI = "UpdateTerminationProtectionInput" -_UTPO = "UpdateTerminationProtectionOutput" -_UTP = "UpdateTerminationProtection" -_VTI = "ValidateTemplateInput" -_TPem = "TemplateParameter" -_TPemp = "TemplateParameters" -_VTO = "ValidateTemplateOutput" -_VT = "ValidateTemplate" -_CFl = "CloudFormation" -_a = "aws.auth#sigv4" -_aQ = "aws.protocols#awsQuery" -_aw = "aws.api#service" -_sN = "smithy.api#xmlNamespace" - -ACCEPT_TERMS_AND_CONDITIONS: StaticSchema = (2, n0, _ATAC, 0) - -ACCOUNT: StaticSchema = (3, n0, _A, 0) - -ACCOUNT_FILTER_TYPE: StaticSchema = ( - 14, - n0, - _AFT, - 0, - (_NONE, _INTERSECTION, _DIFFERENCE, _UNION), - ( - (-1, {_sV: _NONE}), - (-1, {_sV: _INTERSECTION}), - (-1, {_sV: _DIFFERENCE}), - (-1, {_sV: _UNION}), - ), -) - -ACCOUNT_GATE_STATUS: StaticSchema = ( - 14, - n0, - _AGS, - 0, - (_SUCCEEDED, _FAILED, _SKIPPED), - ((-1, {_sV: _SUCCEEDED}), (-1, {_sV: _FAILED}), (-1, {_sV: _SKIPPED})), -) - -ACCOUNT_GATE_STATUS_REASON: StaticSchema = (3, n0, _AGSR, 0) - -ACCOUNT_GATE_RESULT: StaticSchema = ( - 18, - n0, - _AGR, - 0, - (_S, _SR), - ((ACCOUNT_GATE_STATUS, 0), (ACCOUNT_GATE_STATUS_REASON, 0)), -) - -LIMIT_NAME: StaticSchema = (3, n0, _LN, 0) - -LIMIT_VALUE: StaticSchema = (7, n0, _LV, 0) - -ACCOUNT_LIMIT: StaticSchema = ( - 18, - n0, - _AL, - 0, - (_N, _V), - ((LIMIT_NAME, 0), (LIMIT_VALUE, 0)), -) - -ACCOUNT_LIMIT_LIST: StaticSchema = (16, n0, _ALL, 0, (_m,), ((ACCOUNT_LIMIT, 0),)) - -ACCOUNT_LIST: StaticSchema = (16, n0, _ALc, 0, (_m,), ((ACCOUNT, 0),)) - -ACCOUNTS_URL: StaticSchema = (3, n0, _AU, 0) - -ACTIVATE_ORGANIZATIONS_ACCESS_INPUT: StaticSchema = (18, n0, _AOAI, {_s: None}) - -ACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT: StaticSchema = (18, n0, _AOAO, {_sm: None}) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -INVALID_OPERATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _IOE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidOperationException", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -OPERATION_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _ONFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "OperationNotFoundException", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ACTIVATE_ORGANIZATIONS_ACCESS: StaticOperationSchema = ( - 23, - n0, - _AOA, - 0, - ACTIVATE_ORGANIZATIONS_ACCESS_INPUT, - ACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT, - (INVALID_OPERATION_EXCEPTION, OPERATION_NOT_FOUND_EXCEPTION), -) - -AUTO_UPDATE: StaticSchema = (2, n0, _AUu, 0) - -ROLE_ARN2: StaticSchema = (3, n0, _RARN, 0) - -LOG_GROUP_NAME: StaticSchema = (3, n0, _LGN, 0) - -LOGGING_CONFIG: StaticSchema = ( - 18, - n0, - _LC, - 0, - (_LRA, _LGN), - ((ROLE_ARN2, 1), (LOG_GROUP_NAME, 1)), -) - -MAJOR_VERSION: StaticSchema = (8, n0, _MV, 0) - -THIRD_PARTY_TYPE_ARN: StaticSchema = (3, n0, _TPTA, 0) - -PUBLISHER_ID: StaticSchema = (3, n0, _PI, 0) - -THIRD_PARTY_TYPE: StaticSchema = ( - 14, - n0, - _TPT, - 0, - (_RESOURCE, _MODULE, _HOOK), - ((-1, {_sV: _RESOURCE}), (-1, {_sV: _MODULE}), (-1, {_sV: _HOOK})), -) - -TYPE_NAME: StaticSchema = (3, n0, _TN, 0) - -VERSION_BUMP: StaticSchema = ( - 14, - n0, - _VB, - 0, - (_MAJOR, _MINOR), - ((-1, {_sV: _MAJOR}), (-1, {_sV: _MINOR})), -) - -ACTIVATE_TYPE_INPUT: StaticSchema = ( - 18, - n0, - _ATI, - {_s: None}, - (_T, _PTA, _PI, _TN, _TNA, _AUu, _LC, _ERA, _VB, _MV), - ( - (THIRD_PARTY_TYPE, 0), - (THIRD_PARTY_TYPE_ARN, 0), - (PUBLISHER_ID, 0), - (TYPE_NAME, 0), - (TYPE_NAME, 0), - (AUTO_UPDATE, 0), - (LOGGING_CONFIG, 0), - (ROLE_ARN2, 0), - (VERSION_BUMP, 0), - (MAJOR_VERSION, 0), - ), -) - -PRIVATE_TYPE_ARN: StaticSchema = (3, n0, _PTAr, 0) - -ACTIVATE_TYPE_OUTPUT: StaticSchema = ( - 18, - n0, - _ATO, - {_sm: None}, - (_Ar,), - ((PRIVATE_TYPE_ARN, 0),), -) - -CFN_REGISTRY_EXCEPTION: StaticSchema = ( - 18, - n0, - _CFNRE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CFNRegistryException", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -TYPE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _TNFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "TypeNotFoundException", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ACTIVATE_TYPE: StaticOperationSchema = ( - 23, - n0, - _AT, - 0, - ACTIVATE_TYPE_INPUT, - ACTIVATE_TYPE_OUTPUT, - (CFN_REGISTRY_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION), -) - -AFTER_CONTEXT: StaticSchema = (3, n0, _AC, 0) - -AFTER_VALUE: StaticSchema = (3, n0, _AV, 0) - -AFTER_VALUE_FROM: StaticSchema = ( - 14, - n0, - _AVF, - 0, - (_TEMPLATE,), - ((-1, {_sV: _TEMPLATE}),), -) - -ALLOWED_VALUE: StaticSchema = (3, n0, _AVl, 0) - -ALLOWED_VALUES: StaticSchema = (16, n0, _AVll, 0, (_m,), ((ALLOWED_VALUE, 0),)) - -ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _AEE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "AlreadyExistsException", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ANNOTATION_NAME: StaticSchema = (3, n0, _AN, 0) - -ANNOTATION_REMEDIATION_LINK: StaticSchema = (3, n0, _ARL, 0) - -REMEDIATION_MESSAGE_REMEDIATION_MESSAGE: StaticSchema = (3, n0, _RMRM, 0) - -ANNOTATION_SEVERITY_LEVEL: StaticSchema = ( - 14, - n0, - _ASL, - 0, - (_INFORMATIONAL, _LOW, _MEDIUM, _HIGH, _CRITICAL), - ( - (-1, {_sV: _INFORMATIONAL}), - (-1, {_sV: _LOW}), - (-1, {_sV: _MEDIUM}), - (-1, {_sV: _HIGH}), - (-1, {_sV: _CRITICAL}), - ), -) - -ANNOTATION_STATUS: StaticSchema = ( - 14, - n0, - _AS, - 0, - (_PASSED, _FAILED, _SKIPPED), - ((-1, {_sV: _PASSED}), (-1, {_sV: _FAILED}), (-1, {_sV: _SKIPPED})), -) - -REMEDIATION_MESSAGE_STATUS_MESSAGE: StaticSchema = (3, n0, _RMSM, 0) - -ANNOTATION: StaticSchema = ( - 18, - n0, - _An, - 0, - (_AN, _S, _SM, _RM, _RL, _SL), - ( - (ANNOTATION_NAME, 0), - (ANNOTATION_STATUS, 0), - (REMEDIATION_MESSAGE_STATUS_MESSAGE, 0), - (REMEDIATION_MESSAGE_REMEDIATION_MESSAGE, 0), - (ANNOTATION_REMEDIATION_LINK, 0), - (ANNOTATION_SEVERITY_LEVEL, 0), - ), -) - -ANNOTATION_LIST: StaticSchema = (16, n0, _ALn, 0, (_m,), ((ANNOTATION, 0),)) - -ARN: StaticSchema = (3, n0, _Ar, 0) - -ATTRIBUTE_CHANGE_TYPE: StaticSchema = ( - 14, - n0, - _ACT, - 0, - (_Ad, _R, _Mo, _SWA), - ((-1, {_sV: _Ad}), (-1, {_sV: _R}), (-1, {_sV: _Mo}), (-1, {_sV: _SWA})), -) - -STACK_SET_ARN: StaticSchema = (3, n0, _SSARN, 0) - -STACK_SET_ARN_LIST: StaticSchema = (16, n0, _SSARNL, 0, (_m,), ((STACK_SET_ARN, 0),)) - -AUTO_DEPLOYMENT_NULLABLE: StaticSchema = (2, n0, _ADN, 0) - -RETAIN_STACKS_ON_ACCOUNT_REMOVAL_NULLABLE: StaticSchema = (2, n0, _RSOARN, 0) - -AUTO_DEPLOYMENT: StaticSchema = ( - 18, - n0, - _AD, - 0, - (_E, _RSOAR, _DO), - ( - (AUTO_DEPLOYMENT_NULLABLE, 0), - (RETAIN_STACKS_ON_ACCOUNT_REMOVAL_NULLABLE, 0), - (STACK_SET_ARN_LIST, 0), - ), -) - -TYPE_ARN: StaticSchema = (3, n0, _TA, 0) - -TYPE_CONFIGURATION_ALIAS: StaticSchema = (3, n0, _TCA, 0) - -TYPE_CONFIGURATION_ARN: StaticSchema = (3, n0, _TCAy, 0) - -TYPE_CONFIGURATION_IDENTIFIER: StaticSchema = ( - 18, - n0, - _TCI, - 0, - (_TA, _TCA, _TCAy, _T, _TN), - ( - (TYPE_ARN, 0), - (TYPE_CONFIGURATION_ALIAS, 0), - (TYPE_CONFIGURATION_ARN, 0), - (THIRD_PARTY_TYPE, 0), - (TYPE_NAME, 0), - ), -) - -TYPE_CONFIGURATION_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _TCIy, - 0, - (_m,), - ((TYPE_CONFIGURATION_IDENTIFIER, 0),), -) - -BATCH_DESCRIBE_TYPE_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _BDTCI, - {_s: None}, - (_TCIy,), - ((TYPE_CONFIGURATION_IDENTIFIERS, 1),), -) - -ERROR_CODE: StaticSchema = (3, n0, _EC, 0) - -BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERROR: StaticSchema = ( - 18, - n0, - _BDTCE, - 0, - (_EC, _EM, _TCI), - ((ERROR_CODE, 0), (ERROR_MESSAGE, 0), (TYPE_CONFIGURATION_IDENTIFIER, 0)), -) - -BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERRORS: StaticSchema = ( - 16, - n0, - _BDTCEa, - 0, - (_m,), - ((BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERROR, 0),), -) - -TYPE_CONFIGURATION: StaticSchema = (3, n0, _TC, 0) - -IS_DEFAULT_CONFIGURATION: StaticSchema = (2, n0, _IDC, 0) - -TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) - -TYPE_CONFIGURATION_DETAILS: StaticSchema = ( - 18, - n0, - _TCD, - 0, - (_Ar, _Al, _C, _LU, _TA, _TN, _IDC), - ( - (TYPE_CONFIGURATION_ARN, 0), - (TYPE_CONFIGURATION_ALIAS, 0), - (TYPE_CONFIGURATION, 0), - (TIMESTAMP, 0), - (TYPE_ARN, 0), - (TYPE_NAME, 0), - (IS_DEFAULT_CONFIGURATION, 0), - ), -) - -TYPE_CONFIGURATION_DETAILS_LIST: StaticSchema = ( - 16, - n0, - _TCDL, - 0, - (_m,), - ((TYPE_CONFIGURATION_DETAILS, 0),), -) - -UNPROCESSED_TYPE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _UTC, - 0, - (_m,), - ((TYPE_CONFIGURATION_IDENTIFIER, 0),), -) - -BATCH_DESCRIBE_TYPE_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _BDTCO, - {_sm: None}, - (_Er, _UTC, _TCy), - ( - (BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERRORS, 0), - (UNPROCESSED_TYPE_CONFIGURATIONS, 0), - (TYPE_CONFIGURATION_DETAILS_LIST, 0), - ), -) - -TYPE_CONFIGURATION_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _TCNFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "TypeConfigurationNotFoundException", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -BATCH_DESCRIBE_TYPE_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _BDTC, - 0, - BATCH_DESCRIBE_TYPE_CONFIGURATIONS_INPUT, - BATCH_DESCRIBE_TYPE_CONFIGURATIONS_OUTPUT, - (CFN_REGISTRY_EXCEPTION, TYPE_CONFIGURATION_NOT_FOUND_EXCEPTION), -) - -BEACON_STACK_OPERATION_STATUS: StaticSchema = ( - 14, - n0, - _BSOS, - 0, - (_IP, _SUCCEEDED, _FAILED), - ((-1, {_sV: _IP}), (-1, {_sV: _SUCCEEDED}), (-1, {_sV: _FAILED})), -) - -BEFORE_CONTEXT: StaticSchema = (3, n0, _BC, 0) - -BEFORE_VALUE: StaticSchema = (3, n0, _BV, 0) - -BEFORE_VALUE_FROM: StaticSchema = ( - 14, - n0, - _BVF, - 0, - (_PDS, _AS_), - ((-1, {_sV: _PDS}), (-1, {_sV: _AS_})), -) - -BOXED_INTEGER: StaticSchema = (7, n0, _BI, 0) - -BOXED_MAX_RESULTS: StaticSchema = (7, n0, _BMR, 0) - -CALL_AS: StaticSchema = ( - 14, - n0, - _CA, - 0, - (_SELF, _DA), - ((-1, {_sV: _SELF}), (-1, {_sV: _DA})), -) - -CLIENT_REQUEST_TOKEN: StaticSchema = (3, n0, _CRT, 0) - -STACK_NAME: StaticSchema = (3, n0, _SN, 0) - -CANCEL_UPDATE_STACK_INPUT: StaticSchema = ( - 18, - n0, - _CUSI, - {_s: None}, - (_SN, _CRT), - ((STACK_NAME, 1), (CLIENT_REQUEST_TOKEN, 0)), -) - -CANCEL_UPDATE_STACK_OUTPUT: StaticSchema = (18, n0, _CUSO, {_sSI: _sU, _sm: None}) - -TOKEN_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TAEE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "TokenAlreadyExistsException", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CANCEL_UPDATE_STACK: StaticOperationSchema = ( - 23, - n0, - _CUS, - 0, - CANCEL_UPDATE_STACK_INPUT, - CANCEL_UPDATE_STACK_OUTPUT, - (TOKEN_ALREADY_EXISTS_EXCEPTION,), -) - -CAPABILITY: StaticSchema = ( - 14, - n0, - _Ca, - 0, - (_CI, _CNI, _CAE), - ((-1, {_sV: _CI}), (-1, {_sV: _CNI}), (-1, {_sV: _CAE})), -) - -CAPABILITIES: StaticSchema = (16, n0, _Cap, 0, (_m,), ((CAPABILITY, 0),)) - -CAPABILITIES_REASON: StaticSchema = (3, n0, _CR, 0) - -CATEGORY: StaticSchema = ( - 14, - n0, - _Cat, - 0, - (_REGISTERED, _ACTIVATED, _TP, _AT_), - ( - (-1, {_sV: _REGISTERED}), - (-1, {_sV: _ACTIVATED}), - (-1, {_sV: _TP}), - (-1, {_sV: _AT_}), - ), -) - -CAUSING_ENTITY: StaticSchema = (3, n0, _CE, 0) - -HOOK_INVOCATION_COUNT: StaticSchema = (7, n0, _HIC, 0) - -CHANGE_ACTION: StaticSchema = ( - 14, - n0, - _CAh, - 0, - (_Ad, _Mo, _R, _I, _D, _SWA), - ( - (-1, {_sV: _Ad}), - (-1, {_sV: _Mo}), - (-1, {_sV: _R}), - (-1, {_sV: _I}), - (-1, {_sV: _D}), - (-1, {_sV: _SWA}), - ), -) - -CHANGE_SET_ID: StaticSchema = (3, n0, _CSI, 0) - -CHANGE_SOURCE: StaticSchema = ( - 14, - n0, - _CS, - 0, - (_RR, _PR, _RA, _DM, _Au, _NM), - ( - (-1, {_sV: _RR}), - (-1, {_sV: _PR}), - (-1, {_sV: _RA}), - (-1, {_sV: _DM}), - (-1, {_sV: _Au}), - (-1, {_sV: _NM}), - ), -) - -EVALUATION_TYPE: StaticSchema = ( - 14, - n0, - _ET, - 0, - (_St, _D), - ((-1, {_sV: _St}), (-1, {_sV: _D})), -) - -RESOURCE_ATTRIBUTE: StaticSchema = ( - 14, - n0, - _RA, - 0, - (_P, _Me, _CP, _UP, _DP, _URP, _Ta), - ( - (-1, {_sV: _P}), - (-1, {_sV: _Me}), - (-1, {_sV: _CP}), - (-1, {_sV: _UP}), - (-1, {_sV: _DP}), - (-1, {_sV: _URP}), - (-1, {_sV: _Ta}), - ), -) - -RESOURCE_DRIFT_ACTUAL_VALUE: StaticSchema = (3, n0, _RDAV, 0) - -RESOURCE_DRIFT_PREVIOUS_VALUE: StaticSchema = (3, n0, _RDPV, 0) - -LIVE_RESOURCE_DRIFT: StaticSchema = ( - 18, - n0, - _LRD, - 0, - (_PV, _AVc, _DDT), - ( - (RESOURCE_DRIFT_PREVIOUS_VALUE, 0), - (RESOURCE_DRIFT_ACTUAL_VALUE, 0), - (TIMESTAMP, 0), - ), -) - -PROPERTY_NAME: StaticSchema = (3, n0, _PN, 0) - -RESOURCE_PROPERTY_PATH: StaticSchema = (3, n0, _RPP, 0) - -REQUIRES_RECREATION: StaticSchema = ( - 14, - n0, - _RRe, - 0, - (_Ne, _Co, _Alw), - ((-1, {_sV: _Ne}), (-1, {_sV: _Co}), (-1, {_sV: _Alw})), -) - -RESOURCE_TARGET_DEFINITION: StaticSchema = ( - 18, - n0, - _RTD, - 0, - (_At, _N, _RRe, _Pa, _BV, _AV, _BVF, _AVF, _Dr, _ACT), - ( - (RESOURCE_ATTRIBUTE, 0), - (PROPERTY_NAME, 0), - (REQUIRES_RECREATION, 0), - (RESOURCE_PROPERTY_PATH, 0), - (BEFORE_VALUE, 0), - (AFTER_VALUE, 0), - (BEFORE_VALUE_FROM, 0), - (AFTER_VALUE_FROM, 0), - (LIVE_RESOURCE_DRIFT, 0), - (ATTRIBUTE_CHANGE_TYPE, 0), - ), -) - -RESOURCE_CHANGE_DETAIL: StaticSchema = ( - 18, - n0, - _RCD, - 0, - (_Tar, _Ev, _CS, _CE), - ( - (RESOURCE_TARGET_DEFINITION, 0), - (EVALUATION_TYPE, 0), - (CHANGE_SOURCE, 0), - (CAUSING_ENTITY, 0), - ), -) - -RESOURCE_CHANGE_DETAILS: StaticSchema = ( - 16, - n0, - _RCDe, - 0, - (_m,), - ((RESOURCE_CHANGE_DETAIL, 0),), -) - -LOGICAL_RESOURCE_ID: StaticSchema = (3, n0, _LRI, 0) - -LOGICAL_ID_HIERARCHY: StaticSchema = (3, n0, _LIH, 0) - -TYPE_HIERARCHY: StaticSchema = (3, n0, _TH, 0) - -MODULE_INFO: StaticSchema = ( - 18, - n0, - _MI, - 0, - (_TH, _LIH), - ((TYPE_HIERARCHY, 0), (LOGICAL_ID_HIERARCHY, 0)), -) - -PHYSICAL_RESOURCE_ID: StaticSchema = (3, n0, _PRI, 0) - -POLICY_ACTION: StaticSchema = ( - 14, - n0, - _PA, - 0, - (_De, _Re, _Sn, _RAD, _RAR, _RAS), - ( - (-1, {_sV: _De}), - (-1, {_sV: _Re}), - (-1, {_sV: _Sn}), - (-1, {_sV: _RAD}), - (-1, {_sV: _RAR}), - (-1, {_sV: _RAS}), - ), -) - -PREVIOUS_DEPLOYMENT_CONTEXT: StaticSchema = (3, n0, _PDC, 0) - -REPLACEMENT: StaticSchema = ( - 14, - n0, - _Rep, - 0, - (_Tr, _F, _Con), - ((-1, {_sV: _Tr}), (-1, {_sV: _F}), (-1, {_sV: _Con})), -) - -DRIFT_IGNORED_REASON: StaticSchema = ( - 14, - n0, - _DIR, - 0, - (_MBA, _WOP, _SP), - ((-1, {_sV: _MBA}), (-1, {_sV: _WOP}), (-1, {_sV: _SP})), -) - -RESOURCE_DRIFT_IGNORED_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _RDIA, - 0, - (_Pa, _Rea), - ((RESOURCE_PROPERTY_PATH, 0), (DRIFT_IGNORED_REASON, 0)), -) - -RESOURCE_DRIFT_IGNORED_ATTRIBUTES: StaticSchema = ( - 16, - n0, - _RDIAe, - 0, - (_m,), - ((RESOURCE_DRIFT_IGNORED_ATTRIBUTE, 0),), -) - -STACK_RESOURCE_DRIFT_STATUS: StaticSchema = ( - 14, - n0, - _SRDS, - 0, - (_IS, _MODIFIED, _DELETED, _NC, _UNKNOWN, _UNSUPPORTED), - ( - (-1, {_sV: _IS}), - (-1, {_sV: _MODIFIED}), - (-1, {_sV: _DELETED}), - (-1, {_sV: _NC}), - (-1, {_sV: _UNKNOWN}), - (-1, {_sV: _UNSUPPORTED}), - ), -) - -RESOURCE_TYPE: StaticSchema = (3, n0, _RT, 0) - -SCOPE: StaticSchema = (16, n0, _Sc, 0, (_m,), ((RESOURCE_ATTRIBUTE, 0),)) - -RESOURCE_CHANGE: StaticSchema = ( - 18, - n0, - _RC, - 0, - ( - _PA, - _Ac, - _LRI, - _PRI, - _RT, - _Rep, - _Sc, - _RDS, - _RDIAe, - _Det, - _CSI, - _MI, - _BC, - _AC, - _PDC, - ), - ( - (POLICY_ACTION, 0), - (CHANGE_ACTION, 0), - (LOGICAL_RESOURCE_ID, 0), - (PHYSICAL_RESOURCE_ID, 0), - (RESOURCE_TYPE, 0), - (REPLACEMENT, 0), - (SCOPE, 0), - (STACK_RESOURCE_DRIFT_STATUS, 0), - (RESOURCE_DRIFT_IGNORED_ATTRIBUTES, 0), - (RESOURCE_CHANGE_DETAILS, 0), - (CHANGE_SET_ID, 0), - (MODULE_INFO, 0), - (BEFORE_CONTEXT, 0), - (AFTER_CONTEXT, 0), - (PREVIOUS_DEPLOYMENT_CONTEXT, 0), - ), -) - -CHANGE_TYPE: StaticSchema = (14, n0, _CT, 0, (_Res,), ((-1, {_sV: _Res}),)) - -CHANGE: StaticSchema = ( - 18, - n0, - _Ch, - 0, - (_T, _HIC, _RC), - ((CHANGE_TYPE, 0), (HOOK_INVOCATION_COUNT, 0), (RESOURCE_CHANGE, 0)), -) - -CHANGES: StaticSchema = (16, n0, _Cha, 0, (_m,), ((CHANGE, 0),)) - -HOOK_FAILURE_MODE: StaticSchema = ( - 14, - n0, - _HFM, - 0, - (_FAIL, _WARN), - ((-1, {_sV: _FAIL}), (-1, {_sV: _WARN})), -) - -HOOK_INVOCATION_POINT: StaticSchema = (14, n0, _HIP, 0, (_PP,), ((-1, {_sV: _PP}),)) - -HOOK_TARGET_TYPE_NAME: StaticSchema = (3, n0, _HTTN, 0) - -CHANGE_SET_HOOK_RESOURCE_TARGET_DETAILS: StaticSchema = ( - 18, - n0, - _CSHRTD, - 0, - (_LRI, _RT, _RAe), - ((LOGICAL_RESOURCE_ID, 0), (HOOK_TARGET_TYPE_NAME, 0), (CHANGE_ACTION, 0)), -) - -HOOK_TARGET_TYPE: StaticSchema = ( - 14, - n0, - _HTT, - 0, - (_RESOURCE,), - ((-1, {_sV: _RESOURCE}),), -) - -CHANGE_SET_HOOK_TARGET_DETAILS: StaticSchema = ( - 18, - n0, - _CSHTD, - 0, - (_TT, _RTDe), - ((HOOK_TARGET_TYPE, 0), (CHANGE_SET_HOOK_RESOURCE_TARGET_DETAILS, 0)), -) - -HOOK_TYPE_CONFIGURATION_VERSION_ID: StaticSchema = (3, n0, _HTCVI, 0) - -HOOK_TYPE_NAME: StaticSchema = (3, n0, _HTN, 0) - -HOOK_TYPE_VERSION_ID: StaticSchema = (3, n0, _HTVI, 0) - -CHANGE_SET_HOOK: StaticSchema = ( - 18, - n0, - _CSH, - 0, - (_IPn, _FM, _TN, _TVI, _TCVI, _TD), - ( - (HOOK_INVOCATION_POINT, 0), - (HOOK_FAILURE_MODE, 0), - (HOOK_TYPE_NAME, 0), - (HOOK_TYPE_VERSION_ID, 0), - (HOOK_TYPE_CONFIGURATION_VERSION_ID, 0), - (CHANGE_SET_HOOK_TARGET_DETAILS, 0), - ), -) - -CHANGE_SET_HOOKS: StaticSchema = (16, n0, _CSHh, 0, (_m,), ((CHANGE_SET_HOOK, 0),)) - -CHANGE_SET_HOOKS_STATUS: StaticSchema = ( - 14, - n0, - _CSHS, - 0, - (_PLANNING, _PLANNED, _UNAVAILABLE), - ((-1, {_sV: _PLANNING}), (-1, {_sV: _PLANNED}), (-1, {_sV: _UNAVAILABLE})), -) - -CHANGE_SET_NAME: StaticSchema = (3, n0, _CSN, 0) - -CHANGE_SET_NAME_OR_ID: StaticSchema = (3, n0, _CSNOI, 0) - -CHANGE_SET_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _CSNFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "ChangeSetNotFound", "httpResponseCode": 404}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CHANGE_SET_STATUS: StaticSchema = ( - 14, - n0, - _CSS, - 0, - (_CP_, _CIP, _CC, _DP_, _DIP, _DC, _DF, _FAILED), - ( - (-1, {_sV: _CP_}), - (-1, {_sV: _CIP}), - (-1, {_sV: _CC}), - (-1, {_sV: _DP_}), - (-1, {_sV: _DIP}), - (-1, {_sV: _DC}), - (-1, {_sV: _DF}), - (-1, {_sV: _FAILED}), - ), -) - -CHANGE_SET_STATUS_REASON: StaticSchema = (3, n0, _CSSR, 0) - -CREATION_TIME: StaticSchema = (4, n0, _CTr, 0) - -DESCRIPTION: StaticSchema = (3, n0, _Des, 0) - -EXECUTION_STATUS: StaticSchema = ( - 14, - n0, - _ES, - 0, - (_UNAVAILABLE, _AVAILABLE, _EIP, _EC_, _EF, _OBSOLETE), - ( - (-1, {_sV: _UNAVAILABLE}), - (-1, {_sV: _AVAILABLE}), - (-1, {_sV: _EIP}), - (-1, {_sV: _EC_}), - (-1, {_sV: _EF}), - (-1, {_sV: _OBSOLETE}), - ), -) - -IMPORT_EXISTING_RESOURCES: StaticSchema = (2, n0, _IER, 0) - -INCLUDE_NESTED_STACKS: StaticSchema = (2, n0, _INS, 0) - -STACK_ID: StaticSchema = (3, n0, _SI, 0) - -CHANGE_SET_SUMMARY: StaticSchema = ( - 18, - n0, - _CSSh, - 0, - (_SI, _SN, _CSI, _CSN, _ES, _S, _SR, _CTr, _Des, _INS, _PCSI, _RCSI, _IER), - ( - (STACK_ID, 0), - (STACK_NAME, 0), - (CHANGE_SET_ID, 0), - (CHANGE_SET_NAME, 0), - (EXECUTION_STATUS, 0), - (CHANGE_SET_STATUS, 0), - (CHANGE_SET_STATUS_REASON, 0), - (CREATION_TIME, 0), - (DESCRIPTION, 0), - (INCLUDE_NESTED_STACKS, 0), - (CHANGE_SET_ID, 0), - (CHANGE_SET_ID, 0), - (IMPORT_EXISTING_RESOURCES, 0), - ), -) - -CHANGE_SET_SUMMARIES: StaticSchema = ( - 16, - n0, - _CSSha, - 0, - (_m,), - ((CHANGE_SET_SUMMARY, 0),), -) - -CHANGE_SET_TYPE: StaticSchema = ( - 14, - n0, - _CST, - 0, - (_CREATE, _UPDATE, _IMPORT), - ((-1, {_sV: _CREATE}), (-1, {_sV: _UPDATE}), (-1, {_sV: _IMPORT})), -) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) - -FORCE_ROLLBACK: StaticSchema = (2, n0, _FR, 0) - -RESOURCE_TO_SKIP: StaticSchema = (3, n0, _RTS, 0) - -RESOURCES_TO_SKIP: StaticSchema = (16, n0, _RTSe, 0, (_m,), ((RESOURCE_TO_SKIP, 0),)) - -ROLE_ARN: StaticSchema = (3, n0, _RARNo, 0) - -STACK_NAME_OR_ID: StaticSchema = (3, n0, _SNOI, 0) - -CONTINUE_UPDATE_ROLLBACK_INPUT: StaticSchema = ( - 18, - n0, - _CURI, - {_s: None}, - (_SN, _RARNo, _RTSe, _CRT, _FR), - ( - (STACK_NAME_OR_ID, 1), - (ROLE_ARN, 0), - (RESOURCES_TO_SKIP, 0), - (CLIENT_REQUEST_TOKEN, 0), - (FORCE_ROLLBACK, 0), - ), -) - -CONTINUE_UPDATE_ROLLBACK_OUTPUT: StaticSchema = (18, n0, _CURO, {_sm: None}) - -CONTINUE_UPDATE_ROLLBACK: StaticOperationSchema = ( - 23, - n0, - _CUR, - 0, - CONTINUE_UPDATE_ROLLBACK_INPUT, - CONTINUE_UPDATE_ROLLBACK_OUTPUT, - (TOKEN_ALREADY_EXISTS_EXCEPTION,), -) - -DISABLE_ROLLBACK: StaticSchema = (2, n0, _DR, 0) - -DEPLOYMENT_CONFIG_MODE: StaticSchema = ( - 14, - n0, - _DCM, - 0, - (_STANDARD, _EXPRESS), - ((-1, {_sV: _STANDARD}), (-1, {_sV: _EXPRESS})), -) - -DEPLOYMENT_CONFIG: StaticSchema = ( - 18, - n0, - _DCe, - 0, - (_Mod, _DR), - ((DEPLOYMENT_CONFIG_MODE, 0), (DISABLE_ROLLBACK, 0)), -) - -DEPLOYMENT_MODE: StaticSchema = (14, n0, _DMe, 0, (_RD,), ((-1, {_sV: _RD}),)) - -DISABLE_VALIDATION: StaticSchema = (2, n0, _DV, 0) - -NOTIFICATION_ARN: StaticSchema = (3, n0, _NARN, 0) - -NOTIFICATION_AR_NS: StaticSchema = (16, n0, _NARNo, 0, (_m,), ((NOTIFICATION_ARN, 0),)) - -ON_STACK_FAILURE: StaticSchema = ( - 14, - n0, - _OSF, - 0, - (_DN, _ROLLBACK, _DELETE), - ((-1, {_sV: _DN}), (-1, {_sV: _ROLLBACK}), (-1, {_sV: _DELETE})), -) - -PARAMETER_KEY: StaticSchema = (3, n0, _PK, 0) - -PARAMETER_VALUE: StaticSchema = (3, n0, _PVa, 0) - -USE_PREVIOUS_VALUE: StaticSchema = (2, n0, _UPV, 0) - -PARAMETER: StaticSchema = ( - 18, - n0, - _Par, - 0, - (_PK, _PVa, _UPV, _RV), - ( - (PARAMETER_KEY, 0), - (PARAMETER_VALUE, 0), - (USE_PREVIOUS_VALUE, 0), - (PARAMETER_VALUE, 0), - ), -) - -PARAMETERS: StaticSchema = (16, n0, _Para, 0, (_m,), ((PARAMETER, 0),)) - -RESOURCE_IDENTIFIER_PROPERTY_KEY: StaticSchema = (3, n0, _RIPK, 0) - -RESOURCE_IDENTIFIER_PROPERTY_VALUE: StaticSchema = (3, n0, _RIPV, 0) - -RESOURCE_IDENTIFIER_PROPERTIES: StaticSchema = ( - 17, - n0, - _RIP, - 0, - (_k, _v), - ((RESOURCE_IDENTIFIER_PROPERTY_KEY, 0), (RESOURCE_IDENTIFIER_PROPERTY_VALUE, 0)), -) - -RESOURCE_TO_IMPORT: StaticSchema = ( - 18, - n0, - _RTI, - 0, - (_RT, _LRI, _RI), - ((RESOURCE_TYPE, 1), (LOGICAL_RESOURCE_ID, 1), (RESOURCE_IDENTIFIER_PROPERTIES, 1)), -) - -RESOURCES_TO_IMPORT: StaticSchema = ( - 16, - n0, - _RTIe, - 0, - (_m,), - ((RESOURCE_TO_IMPORT, 0),), -) - -RESOURCE_TYPES: StaticSchema = (16, n0, _RTe, 0, (_m,), ((RESOURCE_TYPE, 0),)) - -MONITORING_TIME_IN_MINUTES: StaticSchema = (7, n0, _MTIM, 0) - -TYPE: StaticSchema = (3, n0, _T, 0) - -ROLLBACK_TRIGGER: StaticSchema = (18, n0, _RTo, 0, (_Ar, _T), ((ARN, 1), (TYPE, 1))) - -ROLLBACK_TRIGGERS: StaticSchema = (16, n0, _RTol, 0, (_m,), ((ROLLBACK_TRIGGER, 0),)) - -ROLLBACK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RCo, - 0, - (_RTol, _MTIM), - ((ROLLBACK_TRIGGERS, 0), (MONITORING_TIME_IN_MINUTES, 0)), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _Tag, 0, (_K, _V), ((TAG_KEY, 1), (TAG_VALUE, 1))) - -TAGS: StaticSchema = (16, n0, _Ta, 0, (_m,), ((TAG, 0),)) - -TEMPLATE_BODY: StaticSchema = (3, n0, _TB, 0) - -TEMPLATE_URL: StaticSchema = (3, n0, _TURL, 0) - -USE_PREVIOUS_TEMPLATE: StaticSchema = (2, n0, _UPT, 0) - -CREATE_CHANGE_SET_INPUT: StaticSchema = ( - 18, - n0, - _CCSI, - {_s: None}, - ( - _SN, - _TB, - _TURL, - _UPT, - _Para, - _Cap, - _RTe, - _RARNo, - _RCo, - _NARNo, - _Ta, - _CSN, - _CTl, - _Des, - _CST, - _RTIe, - _INS, - _OSF, - _IER, - _DMe, - _DCe, - _DV, - ), - ( - (STACK_NAME_OR_ID, 1), - (TEMPLATE_BODY, 0), - (TEMPLATE_URL, 0), - (USE_PREVIOUS_TEMPLATE, 0), - (PARAMETERS, 0), - (CAPABILITIES, 0), - (RESOURCE_TYPES, 0), - (ROLE_ARN, 0), - (ROLLBACK_CONFIGURATION, 0), - (NOTIFICATION_AR_NS, 0), - (TAGS, 0), - (CHANGE_SET_NAME, 1), - (CLIENT_TOKEN, 0), - (DESCRIPTION, 0), - (CHANGE_SET_TYPE, 0), - (RESOURCES_TO_IMPORT, 0), - (INCLUDE_NESTED_STACKS, 0), - (ON_STACK_FAILURE, 0), - (IMPORT_EXISTING_RESOURCES, 0), - (DEPLOYMENT_MODE, 0), - (DEPLOYMENT_CONFIG, 0), - (DISABLE_VALIDATION, 0), - ), -) - -CREATE_CHANGE_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _CCSO, - {_sm: None}, - (_Id, _SI), - ((CHANGE_SET_ID, 0), (STACK_ID, 0)), -) - -INSUFFICIENT_CAPABILITIES_EXCEPTION: StaticSchema = ( - 18, - n0, - _ICE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InsufficientCapabilitiesException", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "LimitExceededException", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_CHANGE_SET: StaticOperationSchema = ( - 23, - n0, - _CCS, - 0, - CREATE_CHANGE_SET_INPUT, - CREATE_CHANGE_SET_OUTPUT, - ( - ALREADY_EXISTS_EXCEPTION, - INSUFFICIENT_CAPABILITIES_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - ), -) - -CONCURRENT_RESOURCES_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CRLEE, - { - _smi: _c, - _sE: 429, - _aQE: MappingProxyType( - {"code": "ConcurrentResourcesLimitExceeded", "httpResponseCode": 429} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -GENERATED_TEMPLATE_NAME: StaticSchema = (3, n0, _GTN, 0) - -RESOURCE_DEFINITION: StaticSchema = ( - 18, - n0, - _RDe, - 0, - (_RT, _LRI, _RI), - ((RESOURCE_TYPE, 1), (LOGICAL_RESOURCE_ID, 0), (RESOURCE_IDENTIFIER_PROPERTIES, 1)), -) - -RESOURCE_DEFINITIONS: StaticSchema = ( - 16, - n0, - _RDes, - 0, - (_m,), - ((RESOURCE_DEFINITION, 0),), -) - -GENERATED_TEMPLATE_DELETION_POLICY: StaticSchema = ( - 14, - n0, - _GTDP, - 0, - (_DELETE, _RETAIN), - ((-1, {_sV: _DELETE}), (-1, {_sV: _RETAIN})), -) - -GENERATED_TEMPLATE_UPDATE_REPLACE_POLICY: StaticSchema = ( - 14, - n0, - _GTURP, - 0, - (_DELETE, _RETAIN), - ((-1, {_sV: _DELETE}), (-1, {_sV: _RETAIN})), -) - -TEMPLATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TCe, - 0, - (_DP, _URP), - ( - (GENERATED_TEMPLATE_DELETION_POLICY, 0), - (GENERATED_TEMPLATE_UPDATE_REPLACE_POLICY, 0), - ), -) - -CREATE_GENERATED_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _CGTI, - {_s: None}, - (_Reso, _GTN, _SN, _TCe), - ( - (RESOURCE_DEFINITIONS, 0), - (GENERATED_TEMPLATE_NAME, 1), - (STACK_NAME, 0), - (TEMPLATE_CONFIGURATION, 0), - ), -) - -GENERATED_TEMPLATE_ID: StaticSchema = (3, n0, _GTI, 0) - -CREATE_GENERATED_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _CGTO, - {_sm: None}, - (_GTI,), - ((GENERATED_TEMPLATE_ID, 0),), -) - -CREATE_GENERATED_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _CGT, - 0, - CREATE_GENERATED_TEMPLATE_INPUT, - CREATE_GENERATED_TEMPLATE_OUTPUT, - ( - ALREADY_EXISTS_EXCEPTION, - CONCURRENT_RESOURCES_LIMIT_EXCEEDED_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - ), -) - -ENABLE_TERMINATION_PROTECTION: StaticSchema = (2, n0, _ETP, 0) - -ON_FAILURE: StaticSchema = ( - 14, - n0, - _OF, - 0, - (_DN, _ROLLBACK, _DELETE), - ((-1, {_sV: _DN}), (-1, {_sV: _ROLLBACK}), (-1, {_sV: _DELETE})), -) - -RETAIN_EXCEPT_ON_CREATE: StaticSchema = (2, n0, _REOC, 0) - -STACK_POLICY_BODY: StaticSchema = (3, n0, _SPB, 0) - -STACK_POLICY_URL: StaticSchema = (3, n0, _SPURL, 0) - -TIMEOUT_MINUTES: StaticSchema = (7, n0, _TM, 0) - -CREATE_STACK_INPUT: StaticSchema = ( - 18, - n0, - _CSIr, - {_s: None}, - ( - _SN, - _TB, - _TURL, - _Para, - _DR, - _RCo, - _TIM, - _NARNo, - _Cap, - _RTe, - _RARNo, - _OF, - _SPB, - _SPURL, - _Ta, - _CRT, - _ETP, - _REOC, - _DCe, - _DV, - ), - ( - (STACK_NAME, 1), - (TEMPLATE_BODY, 0), - (TEMPLATE_URL, 0), - (PARAMETERS, 0), - (DISABLE_ROLLBACK, 0), - (ROLLBACK_CONFIGURATION, 0), - (TIMEOUT_MINUTES, 0), - (NOTIFICATION_AR_NS, 0), - (CAPABILITIES, 0), - (RESOURCE_TYPES, 0), - (ROLE_ARN, 0), - (ON_FAILURE, 0), - (STACK_POLICY_BODY, 0), - (STACK_POLICY_URL, 0), - (TAGS, 0), - (CLIENT_REQUEST_TOKEN, 0), - (ENABLE_TERMINATION_PROTECTION, 0), - (RETAIN_EXCEPT_ON_CREATE, 0), - (DEPLOYMENT_CONFIG, 0), - (DISABLE_VALIDATION, 0), - ), -) - -OPERATION_ID: StaticSchema = (3, n0, _OI, 0) - -CREATE_STACK_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_sm: None}, - (_SI, _OI), - ((STACK_ID, 0), (OPERATION_ID, 0)), -) - -CREATE_STACK: StaticOperationSchema = ( - 23, - n0, - _CSr, - 0, - CREATE_STACK_INPUT, - CREATE_STACK_OUTPUT, - ( - ALREADY_EXISTS_EXCEPTION, - INSUFFICIENT_CAPABILITIES_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TOKEN_ALREADY_EXISTS_EXCEPTION, - ), -) - -ORGANIZATIONAL_UNIT_ID: StaticSchema = (3, n0, _OUI, 0) - -ORGANIZATIONAL_UNIT_ID_LIST: StaticSchema = ( - 16, - n0, - _OUIL, - 0, - (_m,), - ((ORGANIZATIONAL_UNIT_ID, 0),), -) - -DEPLOYMENT_TARGETS: StaticSchema = ( - 18, - n0, - _DT, - 0, - (_Acc, _AU, _OUIr, _AFT), - ( - (ACCOUNT_LIST, 0), - (ACCOUNTS_URL, 0), - (ORGANIZATIONAL_UNIT_ID_LIST, 0), - (ACCOUNT_FILTER_TYPE, 0), - ), -) - -CONCURRENCY_MODE: StaticSchema = ( - 14, - n0, - _CM, - 0, - (_SFT, _SFT_), - ((-1, {_sV: _SFT}), (-1, {_sV: _SFT_})), -) - -FAILURE_TOLERANCE_COUNT: StaticSchema = (7, n0, _FTC, 0) - -FAILURE_TOLERANCE_PERCENTAGE: StaticSchema = (7, n0, _FTP, 0) - -MAX_CONCURRENT_COUNT: StaticSchema = (7, n0, _MCC, 0) - -MAX_CONCURRENT_PERCENTAGE: StaticSchema = (7, n0, _MCP, 0) - -REGION_CONCURRENCY_TYPE: StaticSchema = ( - 14, - n0, - _RCT, - 0, - (_SEQUENTIAL, _PARALLEL), - ((-1, {_sV: _SEQUENTIAL}), (-1, {_sV: _PARALLEL})), -) - -REGION: StaticSchema = (3, n0, _Reg, 0) - -REGION_LIST: StaticSchema = (16, n0, _RLe, 0, (_m,), ((REGION, 0),)) - -STACK_SET_OPERATION_PREFERENCES: StaticSchema = ( - 18, - n0, - _SSOP, - 0, - (_RCT, _RO, _FTC, _FTP, _MCC, _MCP, _CM), - ( - (REGION_CONCURRENCY_TYPE, 0), - (REGION_LIST, 0), - (FAILURE_TOLERANCE_COUNT, 0), - (FAILURE_TOLERANCE_PERCENTAGE, 0), - (MAX_CONCURRENT_COUNT, 0), - (MAX_CONCURRENT_PERCENTAGE, 0), - (CONCURRENCY_MODE, 0), - ), -) - -STACK_SET_NAME: StaticSchema = (3, n0, _SSN, 0) - -CREATE_STACK_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _CSII, - {_s: None}, - (_SSN, _Acc, _DT, _Regi, _PO, _OP, _OI, _CA), - ( - (STACK_SET_NAME, 1), - (ACCOUNT_LIST, 0), - (DEPLOYMENT_TARGETS, 0), - (REGION_LIST, 1), - (PARAMETERS, 0), - (STACK_SET_OPERATION_PREFERENCES, 0), - (CLIENT_REQUEST_TOKEN, 2), - (CALL_AS, 0), - ), -) - -CREATE_STACK_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _CSIO, - {_sm: None}, - (_OI,), - ((CLIENT_REQUEST_TOKEN, 0),), -) - -OPERATION_ID_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _OIAEE, - { - _smi: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "OperationIdAlreadyExistsException", "httpResponseCode": 409} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -OPERATION_IN_PROGRESS_EXCEPTION: StaticSchema = ( - 18, - n0, - _OIPE, - { - _smi: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "OperationInProgressException", "httpResponseCode": 409} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -STACK_SET_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _SSNFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "StackSetNotFoundException", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -STALE_REQUEST_EXCEPTION: StaticSchema = ( - 18, - n0, - _SRE, - { - _smi: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "StaleRequestException", "httpResponseCode": 409} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_STACK_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _CSIre, - 0, - CREATE_STACK_INSTANCES_INPUT, - CREATE_STACK_INSTANCES_OUTPUT, - ( - INVALID_OPERATION_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - OPERATION_ID_ALREADY_EXISTS_EXCEPTION, - OPERATION_IN_PROGRESS_EXCEPTION, - STACK_SET_NOT_FOUND_EXCEPTION, - STALE_REQUEST_EXCEPTION, - ), -) - -ENABLE_STACK_CREATION: StaticSchema = (2, n0, _ESC, 0) - -RESOURCE_LOCATION: StaticSchema = ( - 18, - n0, - _RLes, - 0, - (_SN, _LRI), - ((STACK_NAME, 1), (LOGICAL_RESOURCE_ID, 1)), -) - -RESOURCE_MAPPING: StaticSchema = ( - 18, - n0, - _RMe, - 0, - (_So, _Dest), - ((RESOURCE_LOCATION, 1), (RESOURCE_LOCATION, 1)), -) - -RESOURCE_MAPPINGS: StaticSchema = (16, n0, _RMes, 0, (_m,), ((RESOURCE_MAPPING, 0),)) - -STACK_DEFINITION: StaticSchema = ( - 18, - n0, - _SD, - 0, - (_SN, _TB, _TURL), - ((STACK_NAME, 0), (TEMPLATE_BODY, 0), (TEMPLATE_URL, 0)), -) - -STACK_DEFINITIONS: StaticSchema = (16, n0, _SDt, 0, (_m,), ((STACK_DEFINITION, 0),)) - -CREATE_STACK_REFACTOR_INPUT: StaticSchema = ( - 18, - n0, - _CSRI, - {_s: None}, - (_Des, _ESC, _RMes, _SDt), - ( - (DESCRIPTION, 0), - (ENABLE_STACK_CREATION, 0), - (RESOURCE_MAPPINGS, 0), - (STACK_DEFINITIONS, 1), - ), -) - -STACK_REFACTOR_ID: StaticSchema = (3, n0, _SRI, 0) - -CREATE_STACK_REFACTOR_OUTPUT: StaticSchema = ( - 18, - n0, - _CSRO, - {_sm: None}, - (_SRI,), - ((STACK_REFACTOR_ID, 1),), -) - -CREATE_STACK_REFACTOR: StaticOperationSchema = ( - 23, - n0, - _CSR, - 0, - CREATE_STACK_REFACTOR_INPUT, - CREATE_STACK_REFACTOR_OUTPUT, - (), -) - -CREATED_BUT_MODIFIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CBME, - { - _smi: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "CreatedButModifiedException", "httpResponseCode": 409} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -EXECUTION_ROLE_NAME: StaticSchema = (3, n0, _ERN, 0) - -MANAGED_EXECUTION_NULLABLE: StaticSchema = (2, n0, _MEN, 0) - -MANAGED_EXECUTION: StaticSchema = ( - 18, - n0, - _ME, - 0, - (_Act,), - ((MANAGED_EXECUTION_NULLABLE, 0),), -) - -PERMISSION_MODELS: StaticSchema = ( - 14, - n0, - _PM, - 0, - (_SM_, _SM__), - ((-1, {_sV: _SM_}), (-1, {_sV: _SM__})), -) - -CREATE_STACK_SET_INPUT: StaticSchema = ( - 18, - n0, - _CSSI, - {_s: None}, - ( - _SSN, - _Des, - _TB, - _TURL, - _SI, - _Para, - _Cap, - _Ta, - _ARARN, - _ERN, - _PMe, - _AD, - _CA, - _CRT, - _ME, - ), - ( - (STACK_SET_NAME, 1), - (DESCRIPTION, 0), - (TEMPLATE_BODY, 0), - (TEMPLATE_URL, 0), - (STACK_ID, 0), - (PARAMETERS, 0), - (CAPABILITIES, 0), - (TAGS, 0), - (ROLE_ARN, 0), - (EXECUTION_ROLE_NAME, 0), - (PERMISSION_MODELS, 0), - (AUTO_DEPLOYMENT, 0), - (CALL_AS, 0), - (CLIENT_REQUEST_TOKEN, 2), - (MANAGED_EXECUTION, 0), - ), -) - -STACK_SET_ID: StaticSchema = (3, n0, _SSI, 0) - -CREATE_STACK_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _CSSO, - {_sm: None}, - (_SSI,), - ((STACK_SET_ID, 0),), -) - -NAME_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _NAEE, - { - _smi: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "NameAlreadyExistsException", "httpResponseCode": 409} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_STACK_SET: StaticOperationSchema = ( - 23, - n0, - _CSSr, - 0, - CREATE_STACK_SET_INPUT, - CREATE_STACK_SET_OUTPUT, - ( - CREATED_BUT_MODIFIED_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NAME_ALREADY_EXISTS_EXCEPTION, - ), -) - -DEACTIVATE_ORGANIZATIONS_ACCESS_INPUT: StaticSchema = (18, n0, _DOAI, {_s: None}) - -DEACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT: StaticSchema = (18, n0, _DOAO, {_sm: None}) - -DEACTIVATE_ORGANIZATIONS_ACCESS: StaticOperationSchema = ( - 23, - n0, - _DOA, - 0, - DEACTIVATE_ORGANIZATIONS_ACCESS_INPUT, - DEACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT, - (INVALID_OPERATION_EXCEPTION, OPERATION_NOT_FOUND_EXCEPTION), -) - -DEACTIVATE_TYPE_INPUT: StaticSchema = ( - 18, - n0, - _DTI, - {_s: None}, - (_TN, _T, _Ar), - ((TYPE_NAME, 0), (THIRD_PARTY_TYPE, 0), (PRIVATE_TYPE_ARN, 0)), -) - -DEACTIVATE_TYPE_OUTPUT: StaticSchema = (18, n0, _DTO, {_sm: None}) - -DEACTIVATE_TYPE: StaticOperationSchema = ( - 23, - n0, - _DTe, - 0, - DEACTIVATE_TYPE_INPUT, - DEACTIVATE_TYPE_OUTPUT, - (CFN_REGISTRY_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION), -) - -DELETE_CHANGE_SET_INPUT: StaticSchema = ( - 18, - n0, - _DCSI, - {_s: None}, - (_CSN, _SN), - ((CHANGE_SET_NAME_OR_ID, 1), (STACK_NAME_OR_ID, 0)), -) - -DELETE_CHANGE_SET_OUTPUT: StaticSchema = (18, n0, _DCSO, {_sm: None}) - -INVALID_CHANGE_SET_STATUS_EXCEPTION: StaticSchema = ( - 18, - n0, - _ICSSE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidChangeSetStatus", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DELETE_CHANGE_SET: StaticOperationSchema = ( - 23, - n0, - _DCS, - 0, - DELETE_CHANGE_SET_INPUT, - DELETE_CHANGE_SET_OUTPUT, - (INVALID_CHANGE_SET_STATUS_EXCEPTION,), -) - -DELETE_GENERATED_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _DGTI, - {_s: None}, - (_GTN,), - ((GENERATED_TEMPLATE_NAME, 1),), -) - -DELETE_GENERATED_TEMPLATE_OUTPUT: StaticSchema = (18, n0, _DGTO, {_sSI: _sU, _sm: None}) - -GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _GTNFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "GeneratedTemplateNotFound", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DELETE_GENERATED_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _DGT, - 0, - DELETE_GENERATED_TEMPLATE_INPUT, - DELETE_GENERATED_TEMPLATE_OUTPUT, - ( - CONCURRENT_RESOURCES_LIMIT_EXCEEDED_EXCEPTION, - GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION, - ), -) - -DELETION_MODE: StaticSchema = ( - 14, - n0, - _DMel, - 0, - (_STANDARD, _FDS), - ((-1, {_sV: _STANDARD}), (-1, {_sV: _FDS})), -) - -RETAIN_RESOURCES: StaticSchema = (16, n0, _RRet, 0, (_m,), ((LOGICAL_RESOURCE_ID, 0),)) - -DELETE_STACK_INPUT: StaticSchema = ( - 18, - n0, - _DSI, - {_s: None}, - (_SN, _RRet, _RARNo, _CRT, _DMel, _DCe), - ( - (STACK_NAME, 1), - (RETAIN_RESOURCES, 0), - (ROLE_ARN, 0), - (CLIENT_REQUEST_TOKEN, 0), - (DELETION_MODE, 0), - (DEPLOYMENT_CONFIG, 0), - ), -) - -DELETE_STACK_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _sU, _sm: None}) - -DELETE_STACK: StaticOperationSchema = ( - 23, - n0, - _DS, - 0, - DELETE_STACK_INPUT, - DELETE_STACK_OUTPUT, - (TOKEN_ALREADY_EXISTS_EXCEPTION,), -) - -RETAIN_STACKS: StaticSchema = (2, n0, _RS, 0) - -DELETE_STACK_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DSII, - {_s: None}, - (_SSN, _Acc, _DT, _Regi, _OP, _RS, _OI, _CA), - ( - (STACK_SET_NAME, 1), - (ACCOUNT_LIST, 0), - (DEPLOYMENT_TARGETS, 0), - (REGION_LIST, 1), - (STACK_SET_OPERATION_PREFERENCES, 0), - (RETAIN_STACKS, 1), - (CLIENT_REQUEST_TOKEN, 2), - (CALL_AS, 0), - ), -) - -DELETE_STACK_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DSIO, - {_sm: None}, - (_OI,), - ((CLIENT_REQUEST_TOKEN, 0),), -) - -DELETE_STACK_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DSIe, - 0, - DELETE_STACK_INSTANCES_INPUT, - DELETE_STACK_INSTANCES_OUTPUT, - ( - INVALID_OPERATION_EXCEPTION, - OPERATION_ID_ALREADY_EXISTS_EXCEPTION, - OPERATION_IN_PROGRESS_EXCEPTION, - STACK_SET_NOT_FOUND_EXCEPTION, - STALE_REQUEST_EXCEPTION, - ), -) - -DELETE_STACK_SET_INPUT: StaticSchema = ( - 18, - n0, - _DSSI, - {_s: None}, - (_SSN, _CA), - ((STACK_SET_NAME, 1), (CALL_AS, 0)), -) - -DELETE_STACK_SET_OUTPUT: StaticSchema = (18, n0, _DSSO, {_sm: None}) - -STACK_SET_NOT_EMPTY_EXCEPTION: StaticSchema = ( - 18, - n0, - _SSNEE, - { - _smi: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "StackSetNotEmptyException", "httpResponseCode": 409} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DELETE_STACK_SET: StaticOperationSchema = ( - 23, - n0, - _DSS, - 0, - DELETE_STACK_SET_INPUT, - DELETE_STACK_SET_OUTPUT, - (OPERATION_IN_PROGRESS_EXCEPTION, STACK_SET_NOT_EMPTY_EXCEPTION), -) - -REGISTRY_TYPE: StaticSchema = ( - 14, - n0, - _RTeg, - 0, - (_RESOURCE, _MODULE, _HOOK), - ((-1, {_sV: _RESOURCE}), (-1, {_sV: _MODULE}), (-1, {_sV: _HOOK})), -) - -TYPE_VERSION_ID: StaticSchema = (3, n0, _TVI, 0) - -DEREGISTER_TYPE_INPUT: StaticSchema = ( - 18, - n0, - _DTIe, - {_s: None}, - (_Ar, _T, _TN, _VI), - ((PRIVATE_TYPE_ARN, 0), (REGISTRY_TYPE, 0), (TYPE_NAME, 0), (TYPE_VERSION_ID, 0)), -) - -DEREGISTER_TYPE_OUTPUT: StaticSchema = (18, n0, _DTOe, {_sm: None}) - -DEREGISTER_TYPE: StaticOperationSchema = ( - 23, - n0, - _DTer, - 0, - DEREGISTER_TYPE_INPUT, - DEREGISTER_TYPE_OUTPUT, - (CFN_REGISTRY_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION), -) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -DESCRIBE_ACCOUNT_LIMITS_INPUT: StaticSchema = ( - 18, - n0, - _DALI, - {_s: None}, - (_NT,), - ((NEXT_TOKEN, 0),), -) - -DESCRIBE_ACCOUNT_LIMITS_OUTPUT: StaticSchema = ( - 18, - n0, - _DALO, - {_sm: None}, - (_ALcc, _NT), - ((ACCOUNT_LIMIT_LIST, 0), (NEXT_TOKEN, 0)), -) - -DESCRIBE_ACCOUNT_LIMITS: StaticOperationSchema = ( - 23, - n0, - _DAL, - 0, - DESCRIBE_ACCOUNT_LIMITS_INPUT, - DESCRIBE_ACCOUNT_LIMITS_OUTPUT, - (), -) - -INCLUDE_PROPERTY_VALUES: StaticSchema = (2, n0, _IPV, 0) - -DESCRIBE_CHANGE_SET_INPUT: StaticSchema = ( - 18, - n0, - _DCSIe, - {_s: None}, - (_CSN, _SN, _NT, _IPV), - ( - (CHANGE_SET_NAME_OR_ID, 1), - (STACK_NAME_OR_ID, 0), - (NEXT_TOKEN, 0), - (INCLUDE_PROPERTY_VALUES, 0), - ), -) - -STACK_DRIFT_STATUS: StaticSchema = ( - 14, - n0, - _SDS, - 0, - (_DRIFTED, _IS, _UNKNOWN, _NC), - ((-1, {_sV: _DRIFTED}), (-1, {_sV: _IS}), (-1, {_sV: _UNKNOWN}), (-1, {_sV: _NC})), -) - -DESCRIBE_CHANGE_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _DCSOe, - {_sm: None}, - ( - _CSN, - _CSI, - _SI, - _SN, - _Des, - _Para, - _CTr, - _ES, - _S, - _SR, - _SDS, - _NARNo, - _RCo, - _Cap, - _Ta, - _Cha, - _NT, - _INS, - _PCSI, - _RCSI, - _OSF, - _IER, - _DMe, - _DCe, - ), - ( - (CHANGE_SET_NAME, 0), - (CHANGE_SET_ID, 0), - (STACK_ID, 0), - (STACK_NAME, 0), - (DESCRIPTION, 0), - (PARAMETERS, 0), - (CREATION_TIME, 0), - (EXECUTION_STATUS, 0), - (CHANGE_SET_STATUS, 0), - (CHANGE_SET_STATUS_REASON, 0), - (STACK_DRIFT_STATUS, 0), - (NOTIFICATION_AR_NS, 0), - (ROLLBACK_CONFIGURATION, 0), - (CAPABILITIES, 0), - (TAGS, 0), - (CHANGES, 0), - (NEXT_TOKEN, 0), - (INCLUDE_NESTED_STACKS, 0), - (CHANGE_SET_ID, 0), - (CHANGE_SET_ID, 0), - (ON_STACK_FAILURE, 0), - (IMPORT_EXISTING_RESOURCES, 0), - (DEPLOYMENT_MODE, 0), - (DEPLOYMENT_CONFIG, 0), - ), -) - -DESCRIBE_CHANGE_SET: StaticOperationSchema = ( - 23, - n0, - _DCSe, - 0, - DESCRIBE_CHANGE_SET_INPUT, - DESCRIBE_CHANGE_SET_OUTPUT, - (CHANGE_SET_NOT_FOUND_EXCEPTION,), -) - -DESCRIBE_CHANGE_SET_HOOKS_INPUT: StaticSchema = ( - 18, - n0, - _DCSHI, - {_s: None}, - (_CSN, _SN, _NT, _LRI), - ( - (CHANGE_SET_NAME_OR_ID, 1), - (STACK_NAME_OR_ID, 0), - (NEXT_TOKEN, 0), - (LOGICAL_RESOURCE_ID, 0), - ), -) - -DESCRIBE_CHANGE_SET_HOOKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCSHO, - {_sm: None}, - (_CSI, _CSN, _H, _S, _NT, _SI, _SN), - ( - (CHANGE_SET_ID, 0), - (CHANGE_SET_NAME, 0), - (CHANGE_SET_HOOKS, 0), - (CHANGE_SET_HOOKS_STATUS, 0), - (NEXT_TOKEN, 0), - (STACK_ID, 0), - (STACK_NAME, 0), - ), -) - -DESCRIBE_CHANGE_SET_HOOKS: StaticOperationSchema = ( - 23, - n0, - _DCSH, - 0, - DESCRIBE_CHANGE_SET_HOOKS_INPUT, - DESCRIBE_CHANGE_SET_HOOKS_OUTPUT, - (CHANGE_SET_NOT_FOUND_EXCEPTION,), -) - -FAILED_EVENTS_FILTER: StaticSchema = (2, n0, _FEF, 0) - -EVENT_FILTER: StaticSchema = (18, n0, _EFv, 0, (_FE,), ((FAILED_EVENTS_FILTER, 0),)) - -DESCRIBE_EVENTS_INPUT: StaticSchema = ( - 18, - n0, - _DEI, - {_s: None}, - (_SN, _CSN, _OI, _Fi, _NT), - ( - (STACK_NAME_OR_ID, 0), - (CHANGE_SET_NAME_OR_ID, 0), - (OPERATION_ID, 0), - (EVENT_FILTER, 0), - (NEXT_TOKEN, 0), - ), -) - -DETAILED_STATUS: StaticSchema = ( - 14, - n0, - _DSe, - 0, - (_CC_, _VF), - ((-1, {_sV: _CC_}), (-1, {_sV: _VF})), -) - -EVENT_ID: StaticSchema = (3, n0, _EI, 0) - -EVENT_TYPE: StaticSchema = ( - 14, - n0, - _ETv, - 0, - (_SE, _PE, _VE, _PE_, _HIE), - ( - (-1, {_sV: _SE}), - (-1, {_sV: _PE}), - (-1, {_sV: _VE}), - (-1, {_sV: _PE_}), - (-1, {_sV: _HIE}), - ), -) - -HOOK_STATUS: StaticSchema = ( - 14, - n0, - _HS, - 0, - (_HIP_, _HCS, _HCF, _HF), - ((-1, {_sV: _HIP_}), (-1, {_sV: _HCS}), (-1, {_sV: _HCF}), (-1, {_sV: _HF})), -) - -HOOK_STATUS_REASON: StaticSchema = (3, n0, _HSR, 0) - -HOOK_TYPE: StaticSchema = (3, n0, _HT, 0) - -OPERATION_TYPE: StaticSchema = ( - 14, - n0, - _OT, - 0, - (_CS_, _US, _DS_, _CR_, _ROLLBACK, _CC__), - ( - (-1, {_sV: _CS_}), - (-1, {_sV: _US}), - (-1, {_sV: _DS_}), - (-1, {_sV: _CR_}), - (-1, {_sV: _ROLLBACK}), - (-1, {_sV: _CC__}), - ), -) - -RESOURCE_PROPERTIES: StaticSchema = (3, n0, _RP, 0) - -RESOURCE_STATUS: StaticSchema = ( - 14, - n0, - _RSe, - 0, - ( - _CIP, - _CF, - _CC, - _DIP, - _DF, - _DC, - _DS__, - _UIP, - _UF, - _UC, - _IF, - _IC, - _IIP, - _IRIP, - _IRF, - _IRC, - _EF_, - _EC__, - _EIP_, - _ERIP, - _ERF, - _ERC, - _URIP, - _URC, - _URF, - _RIP_, - _RC_, - _RF, - ), - ( - (-1, {_sV: _CIP}), - (-1, {_sV: _CF}), - (-1, {_sV: _CC}), - (-1, {_sV: _DIP}), - (-1, {_sV: _DF}), - (-1, {_sV: _DC}), - (-1, {_sV: _DS__}), - (-1, {_sV: _UIP}), - (-1, {_sV: _UF}), - (-1, {_sV: _UC}), - (-1, {_sV: _IF}), - (-1, {_sV: _IC}), - (-1, {_sV: _IIP}), - (-1, {_sV: _IRIP}), - (-1, {_sV: _IRF}), - (-1, {_sV: _IRC}), - (-1, {_sV: _EF_}), - (-1, {_sV: _EC__}), - (-1, {_sV: _EIP_}), - (-1, {_sV: _ERIP}), - (-1, {_sV: _ERF}), - (-1, {_sV: _ERC}), - (-1, {_sV: _URIP}), - (-1, {_sV: _URC}), - (-1, {_sV: _URF}), - (-1, {_sV: _RIP_}), - (-1, {_sV: _RC_}), - (-1, {_sV: _RF}), - ), -) - -RESOURCE_STATUS_REASON: StaticSchema = (3, n0, _RSR, 0) - -VALIDATION_NAME: StaticSchema = (3, n0, _VN, 0) - -VALIDATION_PATH: StaticSchema = (3, n0, _VP, 0) - -VALIDATION_STATUS: StaticSchema = ( - 14, - n0, - _VS, - 0, - (_FAILED, _SKIPPED), - ((-1, {_sV: _FAILED}), (-1, {_sV: _SKIPPED})), -) - -VALIDATION_STATUS_REASON: StaticSchema = (3, n0, _VSR, 0) - -OPERATION_EVENT: StaticSchema = ( - 18, - n0, - _OE, - 0, - ( - _EI, - _SI, - _OI, - _OT, - _OS, - _ETv, - _LRI, - _PRI, - _RT, - _Ti, - _ST, - _ETn, - _RSe, - _RSR, - _RP, - _CRT, - _HT, - _HS, - _HSR, - _HIP, - _HFM, - _DSe, - _VFM, - _VN, - _VS, - _VSR, - _VP, - ), - ( - (EVENT_ID, 0), - (STACK_ID, 0), - (OPERATION_ID, 0), - (OPERATION_TYPE, 0), - (BEACON_STACK_OPERATION_STATUS, 0), - (EVENT_TYPE, 0), - (LOGICAL_RESOURCE_ID, 0), - (PHYSICAL_RESOURCE_ID, 0), - (RESOURCE_TYPE, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (RESOURCE_STATUS, 0), - (RESOURCE_STATUS_REASON, 0), - (RESOURCE_PROPERTIES, 0), - (CLIENT_REQUEST_TOKEN, 0), - (HOOK_TYPE, 0), - (HOOK_STATUS, 0), - (HOOK_STATUS_REASON, 0), - (HOOK_INVOCATION_POINT, 0), - (HOOK_FAILURE_MODE, 0), - (DETAILED_STATUS, 0), - (HOOK_FAILURE_MODE, 0), - (VALIDATION_NAME, 0), - (VALIDATION_STATUS, 0), - (VALIDATION_STATUS_REASON, 0), - (VALIDATION_PATH, 0), - ), -) - -OPERATION_EVENTS: StaticSchema = (16, n0, _OEp, 0, (_m,), ((OPERATION_EVENT, 0),)) - -DESCRIBE_EVENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DEO, - {_sm: None}, - (_OEp, _NT), - ((OPERATION_EVENTS, 0), (NEXT_TOKEN, 0)), -) - -DESCRIBE_EVENTS: StaticOperationSchema = ( - 23, - n0, - _DE, - 0, - DESCRIBE_EVENTS_INPUT, - DESCRIBE_EVENTS_OUTPUT, - (), -) - -DESCRIBE_GENERATED_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _DGTIe, - {_s: None}, - (_GTN,), - ((GENERATED_TEMPLATE_NAME, 1),), -) - -LAST_UPDATED_TIME: StaticSchema = (4, n0, _LUT, 0) - -RESOURCES_FAILED: StaticSchema = (7, n0, _RFe, 0) - -RESOURCES_PENDING: StaticSchema = (7, n0, _RPe, 0) - -RESOURCES_PROCESSING: StaticSchema = (7, n0, _RPes, 0) - -RESOURCES_SUCCEEDED: StaticSchema = (7, n0, _RSes, 0) - -TEMPLATE_PROGRESS: StaticSchema = ( - 18, - n0, - _TPe, - 0, - (_RSes, _RFe, _RPes, _RPe), - ( - (RESOURCES_SUCCEEDED, 0), - (RESOURCES_FAILED, 0), - (RESOURCES_PROCESSING, 0), - (RESOURCES_PENDING, 0), - ), -) - -GENERATED_TEMPLATE_RESOURCE_STATUS: StaticSchema = ( - 14, - n0, - _GTRS, - 0, - (_PENDING, _IP, _FAILED, _COMPLETE), - ( - (-1, {_sV: _PENDING}), - (-1, {_sV: _IP}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _COMPLETE}), - ), -) - -PROPERTY_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) - -PROPERTY_PATH: StaticSchema = (3, n0, _PPr, 0) - -REQUIRED_PROPERTY: StaticSchema = (2, n0, _RPeq, 0) - -WARNING_PROPERTY: StaticSchema = ( - 18, - n0, - _WP, - 0, - (_PPr, _Req, _Des), - ((PROPERTY_PATH, 0), (REQUIRED_PROPERTY, 0), (PROPERTY_DESCRIPTION, 0)), -) - -WARNING_PROPERTIES: StaticSchema = (16, n0, _WPa, 0, (_m,), ((WARNING_PROPERTY, 0),)) - -WARNING_TYPE: StaticSchema = ( - 14, - n0, - _WT, - 0, - (_MEP, _UP_, _MET, _EP, _ER), - ( - (-1, {_sV: _MEP}), - (-1, {_sV: _UP_}), - (-1, {_sV: _MET}), - (-1, {_sV: _EP}), - (-1, {_sV: _ER}), - ), -) - -WARNING_DETAIL: StaticSchema = ( - 18, - n0, - _WD, - 0, - (_T, _P), - ((WARNING_TYPE, 0), (WARNING_PROPERTIES, 0)), -) - -WARNING_DETAILS: StaticSchema = (16, n0, _WDa, 0, (_m,), ((WARNING_DETAIL, 0),)) - -RESOURCE_DETAIL: StaticSchema = ( - 18, - n0, - _RDeso, - 0, - (_RT, _LRI, _RI, _RSe, _RSR, _W), - ( - (RESOURCE_TYPE, 0), - (LOGICAL_RESOURCE_ID, 0), - (RESOURCE_IDENTIFIER_PROPERTIES, 0), - (GENERATED_TEMPLATE_RESOURCE_STATUS, 0), - (RESOURCE_STATUS_REASON, 0), - (WARNING_DETAILS, 0), - ), -) - -RESOURCE_DETAILS: StaticSchema = (16, n0, _RDesou, 0, (_m,), ((RESOURCE_DETAIL, 0),)) - -GENERATED_TEMPLATE_STATUS: StaticSchema = ( - 14, - n0, - _GTS, - 0, - (_CP_, _UP__, _DP_, _CIP, _UIP, _DIP, _FAILED, _COMPLETE), - ( - (-1, {_sV: _CP_}), - (-1, {_sV: _UP__}), - (-1, {_sV: _DP_}), - (-1, {_sV: _CIP}), - (-1, {_sV: _UIP}), - (-1, {_sV: _DIP}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _COMPLETE}), - ), -) - -TEMPLATE_STATUS_REASON: StaticSchema = (3, n0, _TSR, 0) - -TOTAL_WARNINGS: StaticSchema = (7, n0, _TW, 0) - -DESCRIBE_GENERATED_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _DGTOe, - {_sm: None}, - (_GTI, _GTN, _Reso, _S, _SR, _CTr, _LUT, _Pr, _SI, _TCe, _TW), - ( - (GENERATED_TEMPLATE_ID, 0), - (GENERATED_TEMPLATE_NAME, 0), - (RESOURCE_DETAILS, 0), - (GENERATED_TEMPLATE_STATUS, 0), - (TEMPLATE_STATUS_REASON, 0), - (CREATION_TIME, 0), - (LAST_UPDATED_TIME, 0), - (TEMPLATE_PROGRESS, 0), - (STACK_ID, 0), - (TEMPLATE_CONFIGURATION, 0), - (TOTAL_WARNINGS, 0), - ), -) - -DESCRIBE_GENERATED_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _DGTe, - 0, - DESCRIBE_GENERATED_TEMPLATE_INPUT, - DESCRIBE_GENERATED_TEMPLATE_OUTPUT, - (GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION,), -) - -DESCRIBE_ORGANIZATIONS_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _DOAIe, - {_s: None}, - (_CA,), - ((CALL_AS, 0),), -) - -ORGANIZATION_STATUS: StaticSchema = ( - 14, - n0, - _OSr, - 0, - (_ENABLED, _DISABLED, _DP__), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _DP__})), -) - -DESCRIBE_ORGANIZATIONS_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _DOAOe, - {_sm: None}, - (_S,), - ((ORGANIZATION_STATUS, 0),), -) - -DESCRIBE_ORGANIZATIONS_ACCESS: StaticOperationSchema = ( - 23, - n0, - _DOAe, - 0, - DESCRIBE_ORGANIZATIONS_ACCESS_INPUT, - DESCRIBE_ORGANIZATIONS_ACCESS_OUTPUT, - (INVALID_OPERATION_EXCEPTION, OPERATION_NOT_FOUND_EXCEPTION), -) - -DESCRIBE_PUBLISHER_INPUT: StaticSchema = ( - 18, - n0, - _DPI, - {_s: None}, - (_PI,), - ((PUBLISHER_ID, 0),), -) - -IDENTITY_PROVIDER: StaticSchema = ( - 14, - n0, - _IPd, - 0, - (_AM, _GH, _B), - ((-1, {_sV: _AM}), (-1, {_sV: _GH}), (-1, {_sV: _B})), -) - -PUBLISHER_PROFILE: StaticSchema = (3, n0, _PPu, 0) - -PUBLISHER_STATUS: StaticSchema = ( - 14, - n0, - _PS, - 0, - (_VERIFIED, _UNVERIFIED), - ((-1, {_sV: _VERIFIED}), (-1, {_sV: _UNVERIFIED})), -) - -DESCRIBE_PUBLISHER_OUTPUT: StaticSchema = ( - 18, - n0, - _DPO, - {_sm: None}, - (_PI, _PS, _IPd, _PPu), - ( - (PUBLISHER_ID, 0), - (PUBLISHER_STATUS, 0), - (IDENTITY_PROVIDER, 0), - (PUBLISHER_PROFILE, 0), - ), -) - -DESCRIBE_PUBLISHER: StaticOperationSchema = ( - 23, - n0, - _DPe, - 0, - DESCRIBE_PUBLISHER_INPUT, - DESCRIBE_PUBLISHER_OUTPUT, - (CFN_REGISTRY_EXCEPTION,), -) - -RESOURCE_SCAN_ID: StaticSchema = (3, n0, _RSI, 0) - -DESCRIBE_RESOURCE_SCAN_INPUT: StaticSchema = ( - 18, - n0, - _DRSI, - {_s: None}, - (_RSI,), - ((RESOURCE_SCAN_ID, 1),), -) - -PERCENTAGE_COMPLETED: StaticSchema = (10, n0, _PC, 0) - -RESOURCES_READ: StaticSchema = (7, n0, _RRes, 0) - -RESOURCES_SCANNED: StaticSchema = (7, n0, _RSeso, 0) - -RESOURCE_TYPE_FILTER: StaticSchema = (3, n0, _RTF, 0) - -RESOURCE_TYPE_FILTERS: StaticSchema = ( - 16, - n0, - _RTFe, - 0, - (_m,), - ((RESOURCE_TYPE_FILTER, 0),), -) - -SCAN_FILTER: StaticSchema = (18, n0, _SF, 0, (_Ty,), ((RESOURCE_TYPE_FILTERS, 0),)) - -SCAN_FILTERS: StaticSchema = (16, n0, _SFc, 0, (_m,), ((SCAN_FILTER, 0),)) - -RESOURCE_SCAN_STATUS: StaticSchema = ( - 14, - n0, - _RSS, - 0, - (_IP, _FAILED, _COMPLETE, _EXPIRED), - ( - (-1, {_sV: _IP}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _COMPLETE}), - (-1, {_sV: _EXPIRED}), - ), -) - -RESOURCE_SCAN_STATUS_REASON: StaticSchema = (3, n0, _RSSR, 0) - -DESCRIBE_RESOURCE_SCAN_OUTPUT: StaticSchema = ( - 18, - n0, - _DRSO, - {_sm: None}, - (_RSI, _S, _SR, _ST, _ETn, _PC, _RTe, _RSeso, _RRes, _SFc), - ( - (RESOURCE_SCAN_ID, 0), - (RESOURCE_SCAN_STATUS, 0), - (RESOURCE_SCAN_STATUS_REASON, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (PERCENTAGE_COMPLETED, 0), - (RESOURCE_TYPES, 0), - (RESOURCES_SCANNED, 0), - (RESOURCES_READ, 0), - (SCAN_FILTERS, 0), - ), -) - -RESOURCE_SCAN_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RSNFE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ResourceScanNotFound", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DESCRIBE_RESOURCE_SCAN: StaticOperationSchema = ( - 23, - n0, - _DRS, - 0, - DESCRIBE_RESOURCE_SCAN_INPUT, - DESCRIBE_RESOURCE_SCAN_OUTPUT, - (RESOURCE_SCAN_NOT_FOUND_EXCEPTION,), -) - -STACK_DRIFT_DETECTION_ID: StaticSchema = (3, n0, _SDDI, 0) - -DESCRIBE_STACK_DRIFT_DETECTION_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _DSDDSI, - {_s: None}, - (_SDDI,), - ((STACK_DRIFT_DETECTION_ID, 1),), -) - -STACK_DRIFT_DETECTION_STATUS: StaticSchema = ( - 14, - n0, - _SDDS, - 0, - (_DIP_, _DF_, _DC_), - ((-1, {_sV: _DIP_}), (-1, {_sV: _DF_}), (-1, {_sV: _DC_})), -) - -STACK_DRIFT_DETECTION_STATUS_REASON: StaticSchema = (3, n0, _SDDSR, 0) - -DESCRIBE_STACK_DRIFT_DETECTION_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSDDSO, - {_sm: None}, - (_SI, _SDDI, _SDS, _DSet, _DSR, _DSRC, _Ti), - ( - (STACK_ID, 1), - (STACK_DRIFT_DETECTION_ID, 1), - (STACK_DRIFT_STATUS, 0), - (STACK_DRIFT_DETECTION_STATUS, 1), - (STACK_DRIFT_DETECTION_STATUS_REASON, 0), - (BOXED_INTEGER, 0), - (TIMESTAMP, 1), - ), -) - -DESCRIBE_STACK_DRIFT_DETECTION_STATUS: StaticOperationSchema = ( - 23, - n0, - _DSDDS, - 0, - DESCRIBE_STACK_DRIFT_DETECTION_STATUS_INPUT, - DESCRIBE_STACK_DRIFT_DETECTION_STATUS_OUTPUT, - (), -) - -DESCRIBE_STACK_EVENTS_INPUT: StaticSchema = ( - 18, - n0, - _DSEI, - {_s: None}, - (_SN, _NT), - ((STACK_NAME, 1), (NEXT_TOKEN, 0)), -) - -HOOK_INVOCATION_ID: StaticSchema = (3, n0, _HII, 0) - -STACK_EVENT: StaticSchema = ( - 18, - n0, - _SEt, - 0, - ( - _SI, - _EI, - _SN, - _OI, - _LRI, - _PRI, - _RT, - _Ti, - _RSe, - _RSR, - _RP, - _CRT, - _HT, - _HS, - _HSR, - _HIP, - _HII, - _HFM, - _DSe, - ), - ( - (STACK_ID, 1), - (EVENT_ID, 1), - (STACK_NAME, 1), - (OPERATION_ID, 0), - (LOGICAL_RESOURCE_ID, 0), - (PHYSICAL_RESOURCE_ID, 0), - (RESOURCE_TYPE, 0), - (TIMESTAMP, 1), - (RESOURCE_STATUS, 0), - (RESOURCE_STATUS_REASON, 0), - (RESOURCE_PROPERTIES, 0), - (CLIENT_REQUEST_TOKEN, 0), - (HOOK_TYPE, 0), - (HOOK_STATUS, 0), - (HOOK_STATUS_REASON, 0), - (HOOK_INVOCATION_POINT, 0), - (HOOK_INVOCATION_ID, 0), - (HOOK_FAILURE_MODE, 0), - (DETAILED_STATUS, 0), - ), -) - -STACK_EVENTS: StaticSchema = (16, n0, _SEta, 0, (_m,), ((STACK_EVENT, 0),)) - -DESCRIBE_STACK_EVENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSEO, - {_sm: None}, - (_SEta, _NT), - ((STACK_EVENTS, 0), (NEXT_TOKEN, 0)), -) - -DESCRIBE_STACK_EVENTS: StaticOperationSchema = ( - 23, - n0, - _DSE, - 0, - DESCRIBE_STACK_EVENTS_INPUT, - DESCRIBE_STACK_EVENTS_OUTPUT, - (), -) - -DESCRIBE_STACK_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _DSIIe, - {_s: None}, - (_SSN, _SIA, _SIR, _CA), - ((STACK_SET_NAME, 1), (ACCOUNT, 1), (REGION, 1), (CALL_AS, 0)), -) - -STACK_INSTANCE_DETAILED_STATUS: StaticSchema = ( - 14, - n0, - _SIDS, - 0, - (_PENDING, _RUNNING, _SUCCEEDED, _FAILED, _CANCELLED, _INOPERABLE, _SSA, _FI), - ( - (-1, {_sV: _PENDING}), - (-1, {_sV: _RUNNING}), - (-1, {_sV: _SUCCEEDED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _CANCELLED}), - (-1, {_sV: _INOPERABLE}), - (-1, {_sV: _SSA}), - (-1, {_sV: _FI}), - ), -) - -STACK_INSTANCE_COMPREHENSIVE_STATUS: StaticSchema = ( - 18, - n0, - _SICS, - 0, - (_DSe,), - ((STACK_INSTANCE_DETAILED_STATUS, 0),), -) - -STACK_INSTANCE_STATUS: StaticSchema = ( - 14, - n0, - _SIS, - 0, - (_CURRENT, _OUTDATED, _INOPERABLE), - ((-1, {_sV: _CURRENT}), (-1, {_sV: _OUTDATED}), (-1, {_sV: _INOPERABLE})), -) - -REASON: StaticSchema = (3, n0, _Rea, 0) - -STACK_INSTANCE: StaticSchema = ( - 18, - n0, - _SIt, - 0, - (_SSI, _Reg, _A, _SI, _PO, _S, _SIS, _SR, _OUI, _DSr, _LDCT, _LOI), - ( - (STACK_SET_ID, 0), - (REGION, 0), - (ACCOUNT, 0), - (STACK_ID, 0), - (PARAMETERS, 0), - (STACK_INSTANCE_STATUS, 0), - (STACK_INSTANCE_COMPREHENSIVE_STATUS, 0), - (REASON, 0), - (ORGANIZATIONAL_UNIT_ID, 0), - (STACK_DRIFT_STATUS, 0), - (TIMESTAMP, 0), - (CLIENT_REQUEST_TOKEN, 0), - ), -) - -DESCRIBE_STACK_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _DSIOe, - {_sm: None}, - (_SIt,), - ((STACK_INSTANCE, 0),), -) - -STACK_INSTANCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _SINFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "StackInstanceNotFoundException", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DESCRIBE_STACK_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _DSIes, - 0, - DESCRIBE_STACK_INSTANCE_INPUT, - DESCRIBE_STACK_INSTANCE_OUTPUT, - (STACK_INSTANCE_NOT_FOUND_EXCEPTION, STACK_SET_NOT_FOUND_EXCEPTION), -) - -DESCRIBE_STACK_REFACTOR_INPUT: StaticSchema = ( - 18, - n0, - _DSRI, - {_s: None}, - (_SRI,), - ((STACK_REFACTOR_ID, 1),), -) - -STACK_REFACTOR_EXECUTION_STATUS: StaticSchema = ( - 14, - n0, - _SRES, - 0, - (_UNAVAILABLE, _AVAILABLE, _OBSOLETE, _EIP, _EC_, _EF, _RIP_, _RC_, _RF), - ( - (-1, {_sV: _UNAVAILABLE}), - (-1, {_sV: _AVAILABLE}), - (-1, {_sV: _OBSOLETE}), - (-1, {_sV: _EIP}), - (-1, {_sV: _EC_}), - (-1, {_sV: _EF}), - (-1, {_sV: _RIP_}), - (-1, {_sV: _RC_}), - (-1, {_sV: _RF}), - ), -) - -EXECUTION_STATUS_REASON: StaticSchema = (3, n0, _ESR, 0) - -STACK_IDS: StaticSchema = (16, n0, _SIta, 0, (_m,), ((STACK_ID, 0),)) - -STACK_REFACTOR_STATUS: StaticSchema = ( - 14, - n0, - _SRS, - 0, - (_CIP, _CC, _CF, _DIP, _DC, _DF), - ( - (-1, {_sV: _CIP}), - (-1, {_sV: _CC}), - (-1, {_sV: _CF}), - (-1, {_sV: _DIP}), - (-1, {_sV: _DC}), - (-1, {_sV: _DF}), - ), -) - -STACK_REFACTOR_STATUS_REASON: StaticSchema = (3, n0, _SRSR, 0) - -DESCRIBE_STACK_REFACTOR_OUTPUT: StaticSchema = ( - 18, - n0, - _DSRO, - {_sm: None}, - (_Des, _SRI, _SIta, _ES, _ESR, _S, _SR), - ( - (DESCRIPTION, 0), - (STACK_REFACTOR_ID, 0), - (STACK_IDS, 0), - (STACK_REFACTOR_EXECUTION_STATUS, 0), - (EXECUTION_STATUS_REASON, 0), - (STACK_REFACTOR_STATUS, 0), - (STACK_REFACTOR_STATUS_REASON, 0), - ), -) - -STACK_REFACTOR_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _SRNFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "StackRefactorNotFoundException", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DESCRIBE_STACK_REFACTOR: StaticOperationSchema = ( - 23, - n0, - _DSRe, - 0, - DESCRIBE_STACK_REFACTOR_INPUT, - DESCRIBE_STACK_REFACTOR_OUTPUT, - (STACK_REFACTOR_NOT_FOUND_EXCEPTION,), -) - -DESCRIBE_STACK_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _DSRIe, - {_s: None}, - (_SN, _LRI), - ((STACK_NAME, 1), (LOGICAL_RESOURCE_ID, 1)), -) - -STACK_RESOURCE_DRIFT_INFORMATION: StaticSchema = ( - 18, - n0, - _SRDI, - 0, - (_SRDS, _LCT), - ((STACK_RESOURCE_DRIFT_STATUS, 1), (TIMESTAMP, 0)), -) - -METADATA: StaticSchema = (3, n0, _Me, 0) - -STACK_RESOURCE_DETAIL: StaticSchema = ( - 18, - n0, - _SRD, - 0, - (_SN, _SI, _LRI, _PRI, _RT, _LUTa, _RSe, _RSR, _Des, _Me, _DI, _MI), - ( - (STACK_NAME, 0), - (STACK_ID, 0), - (LOGICAL_RESOURCE_ID, 1), - (PHYSICAL_RESOURCE_ID, 0), - (RESOURCE_TYPE, 1), - (TIMESTAMP, 1), - (RESOURCE_STATUS, 1), - (RESOURCE_STATUS_REASON, 0), - (DESCRIPTION, 0), - (METADATA, 0), - (STACK_RESOURCE_DRIFT_INFORMATION, 0), - (MODULE_INFO, 0), - ), -) - -DESCRIBE_STACK_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _DSROe, - {_sm: None}, - (_SRD,), - ((STACK_RESOURCE_DETAIL, 0),), -) - -DESCRIBE_STACK_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _DSRes, - 0, - DESCRIBE_STACK_RESOURCE_INPUT, - DESCRIBE_STACK_RESOURCE_OUTPUT, - (), -) - -STACK_RESOURCE_DRIFT_STATUS_FILTERS: StaticSchema = ( - 16, - n0, - _SRDSF, - 0, - (_m,), - ((STACK_RESOURCE_DRIFT_STATUS, 0),), -) - -DESCRIBE_STACK_RESOURCE_DRIFTS_INPUT: StaticSchema = ( - 18, - n0, - _DSRDI, - {_s: None}, - (_SN, _SRDSF, _NT, _MR), - ( - (STACK_NAME_OR_ID, 1), - (STACK_RESOURCE_DRIFT_STATUS_FILTERS, 0), - (NEXT_TOKEN, 0), - (BOXED_MAX_RESULTS, 0), - ), -) - -PROPERTIES: StaticSchema = (3, n0, _P, 0) - -STACK_RESOURCE_DRIFT_STATUS_REASON: StaticSchema = (3, n0, _SRDSR, 0) - -KEY: StaticSchema = (3, n0, _K, 0) - -VALUE: StaticSchema = (3, n0, _V, 0) - -PHYSICAL_RESOURCE_ID_CONTEXT_KEY_VALUE_PAIR: StaticSchema = ( - 18, - n0, - _PRICKVP, - 0, - (_K, _V), - ((KEY, 1), (VALUE, 1)), -) - -PHYSICAL_RESOURCE_ID_CONTEXT: StaticSchema = ( - 16, - n0, - _PRIC, - 0, - (_m,), - ((PHYSICAL_RESOURCE_ID_CONTEXT_KEY_VALUE_PAIR, 0),), -) - -PROPERTY_VALUE: StaticSchema = (3, n0, _PVr, 0) - -DIFFERENCE_TYPE: StaticSchema = ( - 14, - n0, - _DTi, - 0, - (_ADD, _REMOVE, _NE), - ((-1, {_sV: _ADD}), (-1, {_sV: _REMOVE}), (-1, {_sV: _NE})), -) - -PROPERTY_DIFFERENCE: StaticSchema = ( - 18, - n0, - _PDr, - 0, - (_PPr, _EV, _AVc, _DTi), - ( - (PROPERTY_PATH, 1), - (PROPERTY_VALUE, 1), - (PROPERTY_VALUE, 1), - (DIFFERENCE_TYPE, 1), - ), -) - -PROPERTY_DIFFERENCES: StaticSchema = ( - 16, - n0, - _PDro, - 0, - (_m,), - ((PROPERTY_DIFFERENCE, 0),), -) - -STACK_RESOURCE_DRIFT: StaticSchema = ( - 18, - n0, - _SRDt, - 0, - (_SI, _LRI, _PRI, _PRIC, _RT, _EPx, _AP, _PDro, _SRDS, _Ti, _MI, _DSRr), - ( - (STACK_ID, 1), - (LOGICAL_RESOURCE_ID, 1), - (PHYSICAL_RESOURCE_ID, 0), - (PHYSICAL_RESOURCE_ID_CONTEXT, 0), - (RESOURCE_TYPE, 1), - (PROPERTIES, 0), - (PROPERTIES, 0), - (PROPERTY_DIFFERENCES, 0), - (STACK_RESOURCE_DRIFT_STATUS, 1), - (TIMESTAMP, 1), - (MODULE_INFO, 0), - (STACK_RESOURCE_DRIFT_STATUS_REASON, 0), - ), -) - -STACK_RESOURCE_DRIFTS: StaticSchema = ( - 16, - n0, - _SRDta, - 0, - (_m,), - ((STACK_RESOURCE_DRIFT, 0),), -) - -DESCRIBE_STACK_RESOURCE_DRIFTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSRDO, - {_sm: None}, - (_SRDta, _NT), - ((STACK_RESOURCE_DRIFTS, 1), (NEXT_TOKEN, 0)), -) - -DESCRIBE_STACK_RESOURCE_DRIFTS: StaticOperationSchema = ( - 23, - n0, - _DSRD, - 0, - DESCRIBE_STACK_RESOURCE_DRIFTS_INPUT, - DESCRIBE_STACK_RESOURCE_DRIFTS_OUTPUT, - (), -) - -DESCRIBE_STACK_RESOURCES_INPUT: StaticSchema = ( - 18, - n0, - _DSRIes, - {_s: None}, - (_SN, _LRI, _PRI), - ((STACK_NAME, 0), (LOGICAL_RESOURCE_ID, 0), (PHYSICAL_RESOURCE_ID, 0)), -) - -STACK_RESOURCE: StaticSchema = ( - 18, - n0, - _SRt, - 0, - (_SN, _SI, _LRI, _PRI, _RT, _Ti, _RSe, _RSR, _Des, _DI, _MI), - ( - (STACK_NAME, 0), - (STACK_ID, 0), - (LOGICAL_RESOURCE_ID, 1), - (PHYSICAL_RESOURCE_ID, 0), - (RESOURCE_TYPE, 1), - (TIMESTAMP, 1), - (RESOURCE_STATUS, 1), - (RESOURCE_STATUS_REASON, 0), - (DESCRIPTION, 0), - (STACK_RESOURCE_DRIFT_INFORMATION, 0), - (MODULE_INFO, 0), - ), -) - -STACK_RESOURCES: StaticSchema = (16, n0, _SRta, 0, (_m,), ((STACK_RESOURCE, 0),)) - -DESCRIBE_STACK_RESOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DSROes, - {_sm: None}, - (_SRta,), - ((STACK_RESOURCES, 0),), -) - -DESCRIBE_STACK_RESOURCES: StaticOperationSchema = ( - 23, - n0, - _DSResc, - 0, - DESCRIBE_STACK_RESOURCES_INPUT, - DESCRIBE_STACK_RESOURCES_OUTPUT, - (), -) - -DESCRIBE_STACKS_INPUT: StaticSchema = ( - 18, - n0, - _DSIesc, - {_s: None}, - (_SN, _NT), - ((STACK_NAME, 0), (NEXT_TOKEN, 0)), -) - -DELETION_TIME: StaticSchema = (4, n0, _DTel, 0) - -STACK_DRIFT_INFORMATION: StaticSchema = ( - 18, - n0, - _SDI, - 0, - (_SDS, _LCT), - ((STACK_DRIFT_STATUS, 1), (TIMESTAMP, 0)), -) - -OPERATION_ENTRY: StaticSchema = ( - 18, - n0, - _OEpe, - 0, - (_OT, _OI), - ((OPERATION_TYPE, 0), (OPERATION_ID, 0)), -) - -LAST_OPERATIONS: StaticSchema = (16, n0, _LO, 0, (_m,), ((OPERATION_ENTRY, 0),)) - -EXPORT_NAME: StaticSchema = (3, n0, _EN, 0) - -OUTPUT_KEY: StaticSchema = (3, n0, _OK, 0) - -OUTPUT_VALUE: StaticSchema = (3, n0, _OV, 0) - -OUTPUT: StaticSchema = ( - 18, - n0, - _O, - 0, - (_OK, _OV, _Des, _EN), - ((OUTPUT_KEY, 0), (OUTPUT_VALUE, 0), (DESCRIPTION, 0), (EXPORT_NAME, 0)), -) - -OUTPUTS: StaticSchema = (16, n0, _Ou, 0, (_m,), ((OUTPUT, 0),)) - -STACK_STATUS: StaticSchema = ( - 14, - n0, - _SS, - 0, - ( - _CIP, - _CF, - _CC, - _RIP_, - _RF, - _RC_, - _DIP, - _DF, - _DC, - _UIP, - _UCCIP, - _UC, - _UF, - _URIP, - _URF, - _URCCIP, - _URC, - _RIP__, - _IIP, - _IC, - _IRIP, - _IRF, - _IRC, - ), - ( - (-1, {_sV: _CIP}), - (-1, {_sV: _CF}), - (-1, {_sV: _CC}), - (-1, {_sV: _RIP_}), - (-1, {_sV: _RF}), - (-1, {_sV: _RC_}), - (-1, {_sV: _DIP}), - (-1, {_sV: _DF}), - (-1, {_sV: _DC}), - (-1, {_sV: _UIP}), - (-1, {_sV: _UCCIP}), - (-1, {_sV: _UC}), - (-1, {_sV: _UF}), - (-1, {_sV: _URIP}), - (-1, {_sV: _URF}), - (-1, {_sV: _URCCIP}), - (-1, {_sV: _URC}), - (-1, {_sV: _RIP__}), - (-1, {_sV: _IIP}), - (-1, {_sV: _IC}), - (-1, {_sV: _IRIP}), - (-1, {_sV: _IRF}), - (-1, {_sV: _IRC}), - ), -) - -STACK_STATUS_REASON: StaticSchema = (3, n0, _SSR, 0) - -STACK: StaticSchema = ( - 18, - n0, - _Sta, - 0, - ( - _SI, - _SN, - _CSI, - _Des, - _Para, - _CTr, - _DTel, - _LUT, - _RCo, - _SS, - _SSR, - _DR, - _DCe, - _NARNo, - _TIM, - _Cap, - _Ou, - _RARNo, - _Ta, - _ETP, - _PIa, - _RIo, - _DI, - _REOC, - _DMel, - _DSe, - _LO, - ), - ( - (STACK_ID, 0), - (STACK_NAME, 1), - (CHANGE_SET_ID, 0), - (DESCRIPTION, 0), - (PARAMETERS, 0), - (CREATION_TIME, 1), - (DELETION_TIME, 0), - (LAST_UPDATED_TIME, 0), - (ROLLBACK_CONFIGURATION, 0), - (STACK_STATUS, 1), - (STACK_STATUS_REASON, 0), - (DISABLE_ROLLBACK, 0), - (DEPLOYMENT_CONFIG, 0), - (NOTIFICATION_AR_NS, 0), - (TIMEOUT_MINUTES, 0), - (CAPABILITIES, 0), - (OUTPUTS, 0), - (ROLE_ARN, 0), - (TAGS, 0), - (ENABLE_TERMINATION_PROTECTION, 0), - (STACK_ID, 0), - (STACK_ID, 0), - (STACK_DRIFT_INFORMATION, 0), - (RETAIN_EXCEPT_ON_CREATE, 0), - (DELETION_MODE, 0), - (DETAILED_STATUS, 0), - (LAST_OPERATIONS, 0), - ), -) - -STACKS: StaticSchema = (16, n0, _Stac, 0, (_m,), ((STACK, 0),)) - -DESCRIBE_STACKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSOe, - {_sm: None}, - (_Stac, _NT), - ((STACKS, 0), (NEXT_TOKEN, 0)), -) - -DESCRIBE_STACKS: StaticOperationSchema = ( - 23, - n0, - _DSes, - 0, - DESCRIBE_STACKS_INPUT, - DESCRIBE_STACKS_OUTPUT, - (), -) - -DESCRIBE_STACK_SET_INPUT: StaticSchema = ( - 18, - n0, - _DSSIe, - {_s: None}, - (_SSN, _CA), - ((STACK_SET_NAME, 1), (CALL_AS, 0)), -) - -STACK_SET_DRIFT_DETECTION_STATUS: StaticSchema = ( - 14, - n0, - _SSDDS, - 0, - (_COMPLETED, _FAILED, _PS_, _IP, _STOPPED), - ( - (-1, {_sV: _COMPLETED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _PS_}), - (-1, {_sV: _IP}), - (-1, {_sV: _STOPPED}), - ), -) - -DRIFTED_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _DSIC, 0) - -STACK_SET_DRIFT_STATUS: StaticSchema = ( - 14, - n0, - _SSDS, - 0, - (_DRIFTED, _IS, _NC), - ((-1, {_sV: _DRIFTED}), (-1, {_sV: _IS}), (-1, {_sV: _NC})), -) - -FAILED_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _FSIC, 0) - -IN_PROGRESS_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _IPSIC, 0) - -IN_SYNC_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _ISSIC, 0) - -TOTAL_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _TSIC, 0) - -STACK_SET_DRIFT_DETECTION_DETAILS: StaticSchema = ( - 18, - n0, - _SSDDD, - 0, - (_DSr, _DDS, _LDCT, _TSIC, _DSIC, _ISSIC, _IPSIC, _FSIC), - ( - (STACK_SET_DRIFT_STATUS, 0), - (STACK_SET_DRIFT_DETECTION_STATUS, 0), - (TIMESTAMP, 0), - (TOTAL_STACK_INSTANCES_COUNT, 0), - (DRIFTED_STACK_INSTANCES_COUNT, 0), - (IN_SYNC_STACK_INSTANCES_COUNT, 0), - (IN_PROGRESS_STACK_INSTANCES_COUNT, 0), - (FAILED_STACK_INSTANCES_COUNT, 0), - ), -) - -STACK_SET_STATUS: StaticSchema = ( - 14, - n0, - _SSS, - 0, - (_ACTIVE, _DELETED), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DELETED})), -) - -STACK_SET: StaticSchema = ( - 18, - n0, - _SSt, - 0, - ( - _SSN, - _SSI, - _Des, - _S, - _TB, - _Para, - _Cap, - _Ta, - _SSARN, - _ARARN, - _ERN, - _SSDDD, - _AD, - _PMe, - _OUIr, - _ME, - _Regi, - ), - ( - (STACK_SET_NAME, 0), - (STACK_SET_ID, 0), - (DESCRIPTION, 0), - (STACK_SET_STATUS, 0), - (TEMPLATE_BODY, 0), - (PARAMETERS, 0), - (CAPABILITIES, 0), - (TAGS, 0), - (STACK_SET_ARN, 0), - (ROLE_ARN, 0), - (EXECUTION_ROLE_NAME, 0), - (STACK_SET_DRIFT_DETECTION_DETAILS, 0), - (AUTO_DEPLOYMENT, 0), - (PERMISSION_MODELS, 0), - (ORGANIZATIONAL_UNIT_ID_LIST, 0), - (MANAGED_EXECUTION, 0), - (REGION_LIST, 0), - ), -) - -DESCRIBE_STACK_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _DSSOe, - {_sm: None}, - (_SSt,), - ((STACK_SET, 0),), -) - -DESCRIBE_STACK_SET: StaticOperationSchema = ( - 23, - n0, - _DSSe, - 0, - DESCRIBE_STACK_SET_INPUT, - DESCRIBE_STACK_SET_OUTPUT, - (STACK_SET_NOT_FOUND_EXCEPTION,), -) - -DESCRIBE_STACK_SET_OPERATION_INPUT: StaticSchema = ( - 18, - n0, - _DSSOI, - {_s: None}, - (_SSN, _OI, _CA), - ((STACK_SET_NAME, 1), (CLIENT_REQUEST_TOKEN, 1), (CALL_AS, 0)), -) - -STACK_SET_OPERATION_ACTION: StaticSchema = ( - 14, - n0, - _SSOA, - 0, - (_CREATE, _UPDATE, _DELETE, _DD), - ( - (-1, {_sV: _CREATE}), - (-1, {_sV: _UPDATE}), - (-1, {_sV: _DELETE}), - (-1, {_sV: _DD}), - ), -) - -RETAIN_STACKS_NULLABLE: StaticSchema = (2, n0, _RSN, 0) - -STACK_SET_OPERATION_STATUS: StaticSchema = ( - 14, - n0, - _SSOS, - 0, - (_RUNNING, _SUCCEEDED, _FAILED, _STOPPING, _STOPPED, _QUEUED), - ( - (-1, {_sV: _RUNNING}), - (-1, {_sV: _SUCCEEDED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _STOPPING}), - (-1, {_sV: _STOPPED}), - (-1, {_sV: _QUEUED}), - ), -) - -STACK_SET_OPERATION_STATUS_DETAILS: StaticSchema = ( - 18, - n0, - _SSOSD, - 0, - (_FSIC,), - ((FAILED_STACK_INSTANCES_COUNT, 0),), -) - -STACK_SET_OPERATION_STATUS_REASON: StaticSchema = (3, n0, _SSOSR, 0) - -STACK_SET_OPERATION: StaticSchema = ( - 18, - n0, - _SSO, - 0, - (_OI, _SSI, _Ac, _S, _OP, _RS, _ARARN, _ERN, _CTre, _ETnd, _DT, _SSDDD, _SR, _SDta), - ( - (CLIENT_REQUEST_TOKEN, 0), - (STACK_SET_ID, 0), - (STACK_SET_OPERATION_ACTION, 0), - (STACK_SET_OPERATION_STATUS, 0), - (STACK_SET_OPERATION_PREFERENCES, 0), - (RETAIN_STACKS_NULLABLE, 0), - (ROLE_ARN, 0), - (EXECUTION_ROLE_NAME, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (DEPLOYMENT_TARGETS, 0), - (STACK_SET_DRIFT_DETECTION_DETAILS, 0), - (STACK_SET_OPERATION_STATUS_REASON, 0), - (STACK_SET_OPERATION_STATUS_DETAILS, 0), - ), -) - -DESCRIBE_STACK_SET_OPERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DSSOO, - {_sm: None}, - (_SSO,), - ((STACK_SET_OPERATION, 0),), -) - -DESCRIBE_STACK_SET_OPERATION: StaticOperationSchema = ( - 23, - n0, - _DSSOes, - 0, - DESCRIBE_STACK_SET_OPERATION_INPUT, - DESCRIBE_STACK_SET_OPERATION_OUTPUT, - (OPERATION_NOT_FOUND_EXCEPTION, STACK_SET_NOT_FOUND_EXCEPTION), -) - -PUBLIC_VERSION_NUMBER: StaticSchema = (3, n0, _PVN, 0) - -DESCRIBE_TYPE_INPUT: StaticSchema = ( - 18, - n0, - _DTIes, - {_s: None}, - (_T, _TN, _Ar, _VI, _PI, _PVN), - ( - (REGISTRY_TYPE, 0), - (TYPE_NAME, 0), - (TYPE_ARN, 0), - (TYPE_VERSION_ID, 0), - (PUBLISHER_ID, 0), - (PUBLIC_VERSION_NUMBER, 0), - ), -) - -CONFIGURATION_SCHEMA: StaticSchema = (3, n0, _CSo, 0) - -DEPRECATED_STATUS: StaticSchema = ( - 14, - n0, - _DSep, - 0, - (_LIVE, _DEPRECATED), - ((-1, {_sV: _LIVE}), (-1, {_sV: _DEPRECATED})), -) - -OPTIONAL_SECURE_URL: StaticSchema = (3, n0, _OSU, 0) - -IS_ACTIVATED: StaticSchema = (2, n0, _IA, 0) - -IS_DEFAULT_VERSION: StaticSchema = (2, n0, _IDV, 0) - -PROVISIONING_TYPE: StaticSchema = ( - 14, - n0, - _PT, - 0, - (_NP, _IMMUTABLE, _FM_), - ((-1, {_sV: _NP}), (-1, {_sV: _IMMUTABLE}), (-1, {_sV: _FM_})), -) - -SUPPORTED_MAJOR_VERSION: StaticSchema = (7, n0, _SMV, 0) - -SUPPORTED_MAJOR_VERSIONS: StaticSchema = ( - 16, - n0, - _SMVu, - 0, - (_m,), - ((SUPPORTED_MAJOR_VERSION, 0),), -) - -REQUIRED_ACTIVATED_TYPE: StaticSchema = ( - 18, - n0, - _RAT, - 0, - (_TNA, _OTN, _PI, _SMVu), - ((TYPE_NAME, 0), (TYPE_NAME, 0), (PUBLISHER_ID, 0), (SUPPORTED_MAJOR_VERSIONS, 0)), -) - -REQUIRED_ACTIVATED_TYPES: StaticSchema = ( - 16, - n0, - _RATe, - 0, - (_m,), - ((REQUIRED_ACTIVATED_TYPE, 0),), -) - -TYPE_SCHEMA: StaticSchema = (3, n0, _TS, 0) - -TYPE_TESTS_STATUS: StaticSchema = ( - 14, - n0, - _TTS, - 0, - (_PASSED, _FAILED, _IP, _NT_), - ((-1, {_sV: _PASSED}), (-1, {_sV: _FAILED}), (-1, {_sV: _IP}), (-1, {_sV: _NT_})), -) - -TYPE_TESTS_STATUS_DESCRIPTION: StaticSchema = (3, n0, _TTSD, 0) - -VISIBILITY: StaticSchema = ( - 14, - n0, - _Vi, - 0, - (_PUBLIC, _PRIVATE), - ((-1, {_sV: _PUBLIC}), (-1, {_sV: _PRIVATE})), -) - -DESCRIBE_TYPE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTOes, - {_sm: None}, - ( - _Ar, - _T, - _TN, - _DVI, - _IDV, - _TTS, - _TTSD, - _Des, - _Sch, - _PT, - _DSep, - _LC, - _RATe, - _ERA, - _Vi, - _SU, - _DU, - _LU, - _TCi, - _CSo, - _PI, - _OTN, - _OTA, - _PVN, - _LPV, - _IA, - _AUu, - ), - ( - (TYPE_ARN, 0), - (REGISTRY_TYPE, 0), - (TYPE_NAME, 0), - (TYPE_VERSION_ID, 0), - (IS_DEFAULT_VERSION, 0), - (TYPE_TESTS_STATUS, 0), - (TYPE_TESTS_STATUS_DESCRIPTION, 0), - (DESCRIPTION, 0), - (TYPE_SCHEMA, 0), - (PROVISIONING_TYPE, 0), - (DEPRECATED_STATUS, 0), - (LOGGING_CONFIG, 0), - (REQUIRED_ACTIVATED_TYPES, 0), - (ROLE_ARN2, 0), - (VISIBILITY, 0), - (OPTIONAL_SECURE_URL, 0), - (OPTIONAL_SECURE_URL, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (CONFIGURATION_SCHEMA, 0), - (PUBLISHER_ID, 0), - (TYPE_NAME, 0), - (TYPE_ARN, 0), - (PUBLIC_VERSION_NUMBER, 0), - (PUBLIC_VERSION_NUMBER, 0), - (IS_ACTIVATED, 0), - (AUTO_UPDATE, 0), - ), -) - -DESCRIBE_TYPE: StaticOperationSchema = ( - 23, - n0, - _DTes, - 0, - DESCRIBE_TYPE_INPUT, - DESCRIBE_TYPE_OUTPUT, - (CFN_REGISTRY_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION), -) - -REGISTRATION_TOKEN: StaticSchema = (3, n0, _RTegi, 0) - -DESCRIBE_TYPE_REGISTRATION_INPUT: StaticSchema = ( - 18, - n0, - _DTRI, - {_s: None}, - (_RTegi,), - ((REGISTRATION_TOKEN, 1),), -) - -REGISTRATION_STATUS: StaticSchema = ( - 14, - n0, - _RSeg, - 0, - (_COMPLETE, _IP, _FAILED), - ((-1, {_sV: _COMPLETE}), (-1, {_sV: _IP}), (-1, {_sV: _FAILED})), -) - -DESCRIBE_TYPE_REGISTRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DTRO, - {_sm: None}, - (_PSr, _Des, _TA, _TVA), - ((REGISTRATION_STATUS, 0), (DESCRIPTION, 0), (TYPE_ARN, 0), (TYPE_ARN, 0)), -) - -DESCRIBE_TYPE_REGISTRATION: StaticOperationSchema = ( - 23, - n0, - _DTR, - 0, - DESCRIBE_TYPE_REGISTRATION_INPUT, - DESCRIBE_TYPE_REGISTRATION_OUTPUT, - (CFN_REGISTRY_EXCEPTION,), -) - -LOGICAL_RESOURCE_IDS: StaticSchema = ( - 16, - n0, - _LRIo, - 0, - (_m,), - ((LOGICAL_RESOURCE_ID, 0),), -) - -DETECT_STACK_DRIFT_INPUT: StaticSchema = ( - 18, - n0, - _DSDI, - {_s: None}, - (_SN, _LRIo), - ((STACK_NAME_OR_ID, 1), (LOGICAL_RESOURCE_IDS, 0)), -) - -DETECT_STACK_DRIFT_OUTPUT: StaticSchema = ( - 18, - n0, - _DSDO, - {_sm: None}, - (_SDDI,), - ((STACK_DRIFT_DETECTION_ID, 1),), -) - -DETECT_STACK_DRIFT: StaticOperationSchema = ( - 23, - n0, - _DSD, - 0, - DETECT_STACK_DRIFT_INPUT, - DETECT_STACK_DRIFT_OUTPUT, - (), -) - -DETECT_STACK_RESOURCE_DRIFT_INPUT: StaticSchema = ( - 18, - n0, - _DSRDIe, - {_s: None}, - (_SN, _LRI), - ((STACK_NAME_OR_ID, 1), (LOGICAL_RESOURCE_ID, 1)), -) - -DETECT_STACK_RESOURCE_DRIFT_OUTPUT: StaticSchema = ( - 18, - n0, - _DSRDOe, - {_sm: None}, - (_SRDt,), - ((STACK_RESOURCE_DRIFT, 1),), -) - -DETECT_STACK_RESOURCE_DRIFT: StaticOperationSchema = ( - 23, - n0, - _DSRDe, - 0, - DETECT_STACK_RESOURCE_DRIFT_INPUT, - DETECT_STACK_RESOURCE_DRIFT_OUTPUT, - (), -) - -STACK_SET_NAME_OR_ID: StaticSchema = (3, n0, _SSNOI, 0) - -DETECT_STACK_SET_DRIFT_INPUT: StaticSchema = ( - 18, - n0, - _DSSDI, - {_s: None}, - (_SSN, _OP, _OI, _CA), - ( - (STACK_SET_NAME_OR_ID, 1), - (STACK_SET_OPERATION_PREFERENCES, 0), - (CLIENT_REQUEST_TOKEN, 2), - (CALL_AS, 0), - ), -) - -DETECT_STACK_SET_DRIFT_OUTPUT: StaticSchema = ( - 18, - n0, - _DSSDO, - {_sm: None}, - (_OI,), - ((CLIENT_REQUEST_TOKEN, 0),), -) - -DETECT_STACK_SET_DRIFT: StaticOperationSchema = ( - 23, - n0, - _DSSD, - 0, - DETECT_STACK_SET_DRIFT_INPUT, - DETECT_STACK_SET_DRIFT_OUTPUT, - ( - INVALID_OPERATION_EXCEPTION, - OPERATION_IN_PROGRESS_EXCEPTION, - STACK_SET_NOT_FOUND_EXCEPTION, - ), -) - -ESTIMATE_TEMPLATE_COST_INPUT: StaticSchema = ( - 18, - n0, - _ETCI, - {_s: None}, - (_TB, _TURL, _Para), - ((TEMPLATE_BODY, 0), (TEMPLATE_URL, 0), (PARAMETERS, 0)), -) - -URL: StaticSchema = (3, n0, _U, 0) - -ESTIMATE_TEMPLATE_COST_OUTPUT: StaticSchema = ( - 18, - n0, - _ETCO, - {_sm: None}, - (_U,), - ((URL, 0),), -) - -ESTIMATE_TEMPLATE_COST: StaticOperationSchema = ( - 23, - n0, - _ETC, - 0, - ESTIMATE_TEMPLATE_COST_INPUT, - ESTIMATE_TEMPLATE_COST_OUTPUT, - (), -) - -EXECUTE_CHANGE_SET_INPUT: StaticSchema = ( - 18, - n0, - _ECSI, - {_s: None}, - (_CSN, _SN, _CRT, _DR, _REOC), - ( - (CHANGE_SET_NAME_OR_ID, 1), - (STACK_NAME_OR_ID, 0), - (CLIENT_REQUEST_TOKEN, 0), - (DISABLE_ROLLBACK, 0), - (RETAIN_EXCEPT_ON_CREATE, 0), - ), -) - -EXECUTE_CHANGE_SET_OUTPUT: StaticSchema = (18, n0, _ECSO, {_sm: None}) - -EXECUTE_CHANGE_SET: StaticOperationSchema = ( - 23, - n0, - _ECS, - 0, - EXECUTE_CHANGE_SET_INPUT, - EXECUTE_CHANGE_SET_OUTPUT, - ( - CHANGE_SET_NOT_FOUND_EXCEPTION, - INSUFFICIENT_CAPABILITIES_EXCEPTION, - INVALID_CHANGE_SET_STATUS_EXCEPTION, - TOKEN_ALREADY_EXISTS_EXCEPTION, - ), -) - -EXECUTE_STACK_REFACTOR_INPUT: StaticSchema = ( - 18, - n0, - _ESRI, - {_s: None}, - (_SRI,), - ((STACK_REFACTOR_ID, 1),), -) - -EXECUTE_STACK_REFACTOR_OUTPUT: StaticSchema = (18, n0, _ESRO, {_sSI: _sU, _sm: None}) - -EXECUTE_STACK_REFACTOR: StaticOperationSchema = ( - 23, - n0, - _ESRx, - 0, - EXECUTE_STACK_REFACTOR_INPUT, - EXECUTE_STACK_REFACTOR_OUTPUT, - (), -) - -TEMPLATE_FORMAT: StaticSchema = ( - 14, - n0, - _TF, - 0, - (_JSON, _YAML), - ((-1, {_sV: _JSON}), (-1, {_sV: _YAML})), -) - -GET_GENERATED_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _GGTI, - {_s: None}, - (_Fo, _GTN), - ((TEMPLATE_FORMAT, 0), (GENERATED_TEMPLATE_NAME, 1)), -) - -GET_GENERATED_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GGTO, - {_sm: None}, - (_S, _TB), - ((GENERATED_TEMPLATE_STATUS, 0), (TEMPLATE_BODY, 0)), -) - -GET_GENERATED_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _GGT, - 0, - GET_GENERATED_TEMPLATE_INPUT, - GET_GENERATED_TEMPLATE_OUTPUT, - (GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION,), -) - -GET_HOOK_RESULT_INPUT: StaticSchema = ( - 18, - n0, - _GHRI, - {_s: None}, - (_HRI,), - ((HOOK_INVOCATION_ID, 0),), -) - -HOOK_TARGET_ACTION: StaticSchema = ( - 14, - n0, - _HTA, - 0, - (_CREATE, _UPDATE, _DELETE, _IMPORT), - ( - (-1, {_sV: _CREATE}), - (-1, {_sV: _UPDATE}), - (-1, {_sV: _DELETE}), - (-1, {_sV: _IMPORT}), - ), -) - -HOOK_TARGET_ID: StaticSchema = (3, n0, _HTI, 0) - -HOOK_TARGET: StaticSchema = ( - 18, - n0, - _HTo, - 0, - (_TT, _TTN, _TI, _Ac), - ( - (HOOK_TARGET_TYPE, 1), - (HOOK_TARGET_TYPE_NAME, 1), - (HOOK_TARGET_ID, 1), - (HOOK_TARGET_ACTION, 1), - ), -) - -HOOK_TYPE_ARN: StaticSchema = (3, n0, _HTAo, 0) - -GET_HOOK_RESULT_OUTPUT: StaticSchema = ( - 18, - n0, - _GHRO, - {_sm: None}, - (_HRI, _IPn, _FM, _TN, _OTN, _TVI, _TCVI, _TA, _S, _HSR, _IAn, _Tar, _Ann), - ( - (HOOK_INVOCATION_ID, 0), - (HOOK_INVOCATION_POINT, 0), - (HOOK_FAILURE_MODE, 0), - (HOOK_TYPE_NAME, 0), - (HOOK_TYPE_NAME, 0), - (HOOK_TYPE_VERSION_ID, 0), - (HOOK_TYPE_CONFIGURATION_VERSION_ID, 0), - (HOOK_TYPE_ARN, 0), - (HOOK_STATUS, 0), - (HOOK_STATUS_REASON, 0), - (TIMESTAMP, 0), - (HOOK_TARGET, 0), - (ANNOTATION_LIST, 0), - ), -) - -HOOK_RESULT_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _HRNFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "HookResultNotFound", "httpResponseCode": 404}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -GET_HOOK_RESULT: StaticOperationSchema = ( - 23, - n0, - _GHR, - 0, - GET_HOOK_RESULT_INPUT, - GET_HOOK_RESULT_OUTPUT, - (HOOK_RESULT_NOT_FOUND_EXCEPTION,), -) - -GET_STACK_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GSPI, - {_s: None}, - (_SN,), - ((STACK_NAME, 1),), -) - -GET_STACK_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GSPO, - {_sm: None}, - (_SPB,), - ((STACK_POLICY_BODY, 0),), -) - -GET_STACK_POLICY: StaticOperationSchema = ( - 23, - n0, - _GSP, - 0, - GET_STACK_POLICY_INPUT, - GET_STACK_POLICY_OUTPUT, - (), -) - -TEMPLATE_STAGE: StaticSchema = ( - 14, - n0, - _TSe, - 0, - (_Or, _Pro), - ((-1, {_sV: _Or}), (-1, {_sV: _Pro})), -) - -GET_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _GTIe, - {_s: None}, - (_SN, _CSN, _TSe), - ((STACK_NAME, 0), (CHANGE_SET_NAME_OR_ID, 0), (TEMPLATE_STAGE, 0)), -) - -STAGE_LIST: StaticSchema = (16, n0, _SLt, 0, (_m,), ((TEMPLATE_STAGE, 0),)) - -GET_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GTO, - {_sm: None}, - (_TB, _SA), - ((TEMPLATE_BODY, 0), (STAGE_LIST, 0)), -) - -GET_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _GT, - 0, - GET_TEMPLATE_INPUT, - GET_TEMPLATE_OUTPUT, - (CHANGE_SET_NOT_FOUND_EXCEPTION,), -) - -TREAT_UNRECOGNIZED_RESOURCE_TYPES_AS_WARNINGS: StaticSchema = (2, n0, _TURTAW, 0) - -TEMPLATE_SUMMARY_CONFIG: StaticSchema = ( - 18, - n0, - _TSC, - 0, - (_TURTAW,), - ((TREAT_UNRECOGNIZED_RESOURCE_TYPES_AS_WARNINGS, 0),), -) - -GET_TEMPLATE_SUMMARY_INPUT: StaticSchema = ( - 18, - n0, - _GTSI, - {_s: None}, - (_TB, _TURL, _SN, _SSN, _CA, _TSC), - ( - (TEMPLATE_BODY, 0), - (TEMPLATE_URL, 0), - (STACK_NAME_OR_ID, 0), - (STACK_SET_NAME_OR_ID, 0), - (CALL_AS, 0), - (TEMPLATE_SUMMARY_CONFIG, 0), - ), -) - -TRANSFORM_NAME: StaticSchema = (3, n0, _TNr, 0) - -TRANSFORMS_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TRANSFORM_NAME, 0),)) - -NO_ECHO: StaticSchema = (2, n0, _NEo, 0) - -PARAMETER_CONSTRAINTS: StaticSchema = ( - 18, - n0, - _PCa, - 0, - (_AVll,), - ((ALLOWED_VALUES, 0),), -) - -PARAMETER_TYPE: StaticSchema = (3, n0, _PTa, 0) - -PARAMETER_DECLARATION: StaticSchema = ( - 18, - n0, - _PDa, - 0, - (_PK, _DVe, _PTa, _NEo, _Des, _PCa), - ( - (PARAMETER_KEY, 0), - (PARAMETER_VALUE, 0), - (PARAMETER_TYPE, 0), - (NO_ECHO, 0), - (DESCRIPTION, 0), - (PARAMETER_CONSTRAINTS, 0), - ), -) - -PARAMETER_DECLARATIONS: StaticSchema = ( - 16, - n0, - _PDar, - 0, - (_m,), - ((PARAMETER_DECLARATION, 0),), -) - -RESOURCE_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _RIe, - 0, - (_m,), - ((RESOURCE_IDENTIFIER_PROPERTY_KEY, 0),), -) - -RESOURCE_IDENTIFIER_SUMMARY: StaticSchema = ( - 18, - n0, - _RIS, - 0, - (_RT, _LRIo, _RIe), - ((RESOURCE_TYPE, 0), (LOGICAL_RESOURCE_IDS, 0), (RESOURCE_IDENTIFIERS, 0)), -) - -RESOURCE_IDENTIFIER_SUMMARIES: StaticSchema = ( - 16, - n0, - _RISe, - 0, - (_m,), - ((RESOURCE_IDENTIFIER_SUMMARY, 0),), -) - -VERSION: StaticSchema = (3, n0, _Ve, 0) - -WARNINGS: StaticSchema = (18, n0, _W, 0, (_URT,), ((RESOURCE_TYPES, 0),)) - -GET_TEMPLATE_SUMMARY_OUTPUT: StaticSchema = ( - 18, - n0, - _GTSO, - {_sm: None}, - (_Para, _Des, _Cap, _CR, _RTe, _Ve, _Me, _DTec, _RISe, _W), - ( - (PARAMETER_DECLARATIONS, 0), - (DESCRIPTION, 0), - (CAPABILITIES, 0), - (CAPABILITIES_REASON, 0), - (RESOURCE_TYPES, 0), - (VERSION, 0), - (METADATA, 0), - (TRANSFORMS_LIST, 0), - (RESOURCE_IDENTIFIER_SUMMARIES, 0), - (WARNINGS, 0), - ), -) - -GET_TEMPLATE_SUMMARY: StaticOperationSchema = ( - 23, - n0, - _GTSe, - 0, - GET_TEMPLATE_SUMMARY_INPUT, - GET_TEMPLATE_SUMMARY_OUTPUT, - (STACK_SET_NOT_FOUND_EXCEPTION,), -) - -STACK_ID_LIST: StaticSchema = (16, n0, _SIL, 0, (_m,), ((STACK_ID, 0),)) - -STACK_IDS_URL: StaticSchema = (3, n0, _SIU, 0) - -IMPORT_STACKS_TO_STACK_SET_INPUT: StaticSchema = ( - 18, - n0, - _ISTSSI, - {_s: None}, - (_SSN, _SIta, _SIU, _OUIr, _OP, _OI, _CA), - ( - (STACK_SET_NAME_OR_ID, 1), - (STACK_ID_LIST, 0), - (STACK_IDS_URL, 0), - (ORGANIZATIONAL_UNIT_ID_LIST, 0), - (STACK_SET_OPERATION_PREFERENCES, 0), - (CLIENT_REQUEST_TOKEN, 2), - (CALL_AS, 0), - ), -) - -IMPORT_STACKS_TO_STACK_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _ISTSSO, - {_sm: None}, - (_OI,), - ((CLIENT_REQUEST_TOKEN, 0),), -) - -STACK_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _SNFE, - { - _smi: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "StackNotFoundException", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -IMPORT_STACKS_TO_STACK_SET: StaticOperationSchema = ( - 23, - n0, - _ISTSS, - 0, - IMPORT_STACKS_TO_STACK_SET_INPUT, - IMPORT_STACKS_TO_STACK_SET_OUTPUT, - ( - INVALID_OPERATION_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - OPERATION_ID_ALREADY_EXISTS_EXCEPTION, - OPERATION_IN_PROGRESS_EXCEPTION, - STACK_NOT_FOUND_EXCEPTION, - STACK_SET_NOT_FOUND_EXCEPTION, - STALE_REQUEST_EXCEPTION, - ), -) - -LIST_CHANGE_SETS_INPUT: StaticSchema = ( - 18, - n0, - _LCSI, - {_s: None}, - (_SN, _NT), - ((STACK_NAME_OR_ID, 1), (NEXT_TOKEN, 0)), -) - -LIST_CHANGE_SETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCSO, - {_sm: None}, - (_Su, _NT), - ((CHANGE_SET_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_CHANGE_SETS: StaticOperationSchema = ( - 23, - n0, - _LCS, - 0, - LIST_CHANGE_SETS_INPUT, - LIST_CHANGE_SETS_OUTPUT, - (), -) - -LIST_EXPORTS_INPUT: StaticSchema = ( - 18, - n0, - _LEI, - {_s: None}, - (_NT,), - ((NEXT_TOKEN, 0),), -) - -EXPORT_VALUE: StaticSchema = (3, n0, _EVx, 0) - -EXPORT: StaticSchema = ( - 18, - n0, - _Ex, - 0, - (_ESI, _N, _V), - ((STACK_ID, 0), (EXPORT_NAME, 0), (EXPORT_VALUE, 0)), -) - -EXPORTS: StaticSchema = (16, n0, _Exp, 0, (_m,), ((EXPORT, 0),)) - -LIST_EXPORTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LEO, - {_sm: None}, - (_Exp, _NT), - ((EXPORTS, 0), (NEXT_TOKEN, 0)), -) - -LIST_EXPORTS: StaticOperationSchema = ( - 23, - n0, - _LE, - 0, - LIST_EXPORTS_INPUT, - LIST_EXPORTS_OUTPUT, - (), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -LIST_GENERATED_TEMPLATES_INPUT: StaticSchema = ( - 18, - n0, - _LGTI, - {_s: None}, - (_NT, _MR), - ((NEXT_TOKEN, 0), (MAX_RESULTS, 0)), -) - -NUMBER_OF_RESOURCES: StaticSchema = (7, n0, _NOR, 0) - -TEMPLATE_SUMMARY: StaticSchema = ( - 18, - n0, - _TSem, - 0, - (_GTI, _GTN, _S, _SR, _CTr, _LUT, _NOR), - ( - (GENERATED_TEMPLATE_ID, 0), - (GENERATED_TEMPLATE_NAME, 0), - (GENERATED_TEMPLATE_STATUS, 0), - (TEMPLATE_STATUS_REASON, 0), - (CREATION_TIME, 0), - (LAST_UPDATED_TIME, 0), - (NUMBER_OF_RESOURCES, 0), - ), -) - -TEMPLATE_SUMMARIES: StaticSchema = (16, n0, _TSemp, 0, (_m,), ((TEMPLATE_SUMMARY, 0),)) - -LIST_GENERATED_TEMPLATES_OUTPUT: StaticSchema = ( - 18, - n0, - _LGTO, - {_sm: None}, - (_Su, _NT), - ((TEMPLATE_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_GENERATED_TEMPLATES: StaticOperationSchema = ( - 23, - n0, - _LGT, - 0, - LIST_GENERATED_TEMPLATES_INPUT, - LIST_GENERATED_TEMPLATES_OUTPUT, - (), -) - -HOOK_RESULT_ID: StaticSchema = (3, n0, _HRI, 0) - -LIST_HOOK_RESULTS_TARGET_TYPE: StaticSchema = ( - 14, - n0, - _LHRTT, - 0, - (_CS__, _STACK, _RESOURCE, _CC___), - ( - (-1, {_sV: _CS__}), - (-1, {_sV: _STACK}), - (-1, {_sV: _RESOURCE}), - (-1, {_sV: _CC___}), - ), -) - -LIST_HOOK_RESULTS_INPUT: StaticSchema = ( - 18, - n0, - _LHRI, - {_s: None}, - (_TT, _TI, _TA, _S, _NT), - ( - (LIST_HOOK_RESULTS_TARGET_TYPE, 0), - (HOOK_RESULT_ID, 0), - (HOOK_TYPE_ARN, 0), - (HOOK_STATUS, 0), - (NEXT_TOKEN, 0), - ), -) - -HOOK_RESULT_SUMMARY: StaticSchema = ( - 18, - n0, - _HRS, - 0, - (_HRI, _IPn, _FM, _TN, _TVI, _TCVI, _S, _HSR, _IAn, _TT, _TI, _TA, _HET), - ( - (HOOK_INVOCATION_ID, 0), - (HOOK_INVOCATION_POINT, 0), - (HOOK_FAILURE_MODE, 0), - (HOOK_TYPE_NAME, 0), - (HOOK_TYPE_VERSION_ID, 0), - (HOOK_TYPE_CONFIGURATION_VERSION_ID, 0), - (HOOK_STATUS, 0), - (HOOK_STATUS_REASON, 0), - (TIMESTAMP, 0), - (LIST_HOOK_RESULTS_TARGET_TYPE, 0), - (HOOK_RESULT_ID, 0), - (HOOK_TYPE_ARN, 0), - (HOOK_RESULT_ID, 0), - ), -) - -HOOK_RESULT_SUMMARIES: StaticSchema = ( - 16, - n0, - _HRSo, - 0, - (_m,), - ((HOOK_RESULT_SUMMARY, 0),), -) - -LIST_HOOK_RESULTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LHRO, - {_sm: None}, - (_TT, _TI, _HR, _NT), - ( - (LIST_HOOK_RESULTS_TARGET_TYPE, 0), - (HOOK_RESULT_ID, 0), - (HOOK_RESULT_SUMMARIES, 0), - (NEXT_TOKEN, 0), - ), -) - -LIST_HOOK_RESULTS: StaticOperationSchema = ( - 23, - n0, - _LHR, - 0, - LIST_HOOK_RESULTS_INPUT, - LIST_HOOK_RESULTS_OUTPUT, - (HOOK_RESULT_NOT_FOUND_EXCEPTION,), -) - -LIST_IMPORTS_INPUT: StaticSchema = ( - 18, - n0, - _LII, - {_s: None}, - (_EN, _NT), - ((EXPORT_NAME, 1), (NEXT_TOKEN, 0)), -) - -IMPORTS: StaticSchema = (16, n0, _Im, 0, (_m,), ((STACK_NAME, 0),)) - -LIST_IMPORTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIO, - {_sm: None}, - (_Im, _NT), - ((IMPORTS, 0), (NEXT_TOKEN, 0)), -) - -LIST_IMPORTS: StaticOperationSchema = ( - 23, - n0, - _LI, - 0, - LIST_IMPORTS_INPUT, - LIST_IMPORTS_OUTPUT, - (), -) - -JAZZ_RESOURCE_IDENTIFIER_PROPERTY_KEY: StaticSchema = (3, n0, _JRIPK, 0) - -JAZZ_RESOURCE_IDENTIFIER_PROPERTY_VALUE: StaticSchema = (3, n0, _JRIPV, 0) - -JAZZ_RESOURCE_IDENTIFIER_PROPERTIES: StaticSchema = ( - 17, - n0, - _JRIP, - 0, - (_k, _v), - ( - (JAZZ_RESOURCE_IDENTIFIER_PROPERTY_KEY, 0), - (JAZZ_RESOURCE_IDENTIFIER_PROPERTY_VALUE, 0), - ), -) - -SCANNED_RESOURCE_IDENTIFIER: StaticSchema = ( - 18, - n0, - _SRIc, - 0, - (_RT, _RI), - ((RESOURCE_TYPE, 1), (JAZZ_RESOURCE_IDENTIFIER_PROPERTIES, 1)), -) - -SCANNED_RESOURCE_IDENTIFIERS: StaticSchema = ( - 16, - n0, - _SRIca, - 0, - (_m,), - ((SCANNED_RESOURCE_IDENTIFIER, 0),), -) - -LIST_RESOURCE_SCAN_RELATED_RESOURCES_INPUT: StaticSchema = ( - 18, - n0, - _LRSRRI, - {_s: None}, - (_RSI, _Reso, _NT, _MR), - ( - (RESOURCE_SCAN_ID, 1), - (SCANNED_RESOURCE_IDENTIFIERS, 1), - (NEXT_TOKEN, 0), - (BOXED_MAX_RESULTS, 0), - ), -) - -MANAGED_BY_STACK: StaticSchema = (2, n0, _MBS, 0) - -SCANNED_RESOURCE: StaticSchema = ( - 18, - n0, - _SRc, - 0, - (_RT, _RI, _MBS), - ( - (RESOURCE_TYPE, 0), - (JAZZ_RESOURCE_IDENTIFIER_PROPERTIES, 0), - (MANAGED_BY_STACK, 0), - ), -) - -RELATED_RESOURCES: StaticSchema = (16, n0, _RRel, 0, (_m,), ((SCANNED_RESOURCE, 0),)) - -LIST_RESOURCE_SCAN_RELATED_RESOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _LRSRRO, - {_sm: None}, - (_RRel, _NT), - ((RELATED_RESOURCES, 0), (NEXT_TOKEN, 0)), -) - -RESOURCE_SCAN_IN_PROGRESS_EXCEPTION: StaticSchema = ( - 18, - n0, - _RSIPE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ResourceScanInProgress", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -LIST_RESOURCE_SCAN_RELATED_RESOURCES: StaticOperationSchema = ( - 23, - n0, - _LRSRR, - 0, - LIST_RESOURCE_SCAN_RELATED_RESOURCES_INPUT, - LIST_RESOURCE_SCAN_RELATED_RESOURCES_OUTPUT, - (RESOURCE_SCAN_IN_PROGRESS_EXCEPTION, RESOURCE_SCAN_NOT_FOUND_EXCEPTION), -) - -RESOURCE_SCANNER_MAX_RESULTS: StaticSchema = (7, n0, _RSMR, 0) - -RESOURCE_IDENTIFIER: StaticSchema = (3, n0, _RI, 0) - -RESOURCE_TYPE_PREFIX: StaticSchema = (3, n0, _RTP, 0) - -LIST_RESOURCE_SCAN_RESOURCES_INPUT: StaticSchema = ( - 18, - n0, - _LRSRI, - {_s: None}, - (_RSI, _RI, _RTP, _TK, _TV, _NT, _MR), - ( - (RESOURCE_SCAN_ID, 1), - (RESOURCE_IDENTIFIER, 0), - (RESOURCE_TYPE_PREFIX, 0), - (TAG_KEY, 0), - (TAG_VALUE, 0), - (NEXT_TOKEN, 0), - (RESOURCE_SCANNER_MAX_RESULTS, 0), - ), -) - -SCANNED_RESOURCES: StaticSchema = (16, n0, _SRca, 0, (_m,), ((SCANNED_RESOURCE, 0),)) - -LIST_RESOURCE_SCAN_RESOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _LRSRO, - {_sm: None}, - (_Reso, _NT), - ((SCANNED_RESOURCES, 0), (NEXT_TOKEN, 0)), -) - -LIST_RESOURCE_SCAN_RESOURCES: StaticOperationSchema = ( - 23, - n0, - _LRSR, - 0, - LIST_RESOURCE_SCAN_RESOURCES_INPUT, - LIST_RESOURCE_SCAN_RESOURCES_OUTPUT, - (RESOURCE_SCAN_IN_PROGRESS_EXCEPTION, RESOURCE_SCAN_NOT_FOUND_EXCEPTION), -) - -SCAN_TYPE: StaticSchema = ( - 14, - n0, - _STc, - 0, - (_FULL, _PARTIAL), - ((-1, {_sV: _FULL}), (-1, {_sV: _PARTIAL})), -) - -LIST_RESOURCE_SCANS_INPUT: StaticSchema = ( - 18, - n0, - _LRSI, - {_s: None}, - (_NT, _MR, _STF), - ((NEXT_TOKEN, 0), (RESOURCE_SCANNER_MAX_RESULTS, 0), (SCAN_TYPE, 0)), -) - -RESOURCE_SCAN_SUMMARY: StaticSchema = ( - 18, - n0, - _RSSe, - 0, - (_RSI, _S, _SR, _ST, _ETn, _PC, _STc), - ( - (RESOURCE_SCAN_ID, 0), - (RESOURCE_SCAN_STATUS, 0), - (RESOURCE_SCAN_STATUS_REASON, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (PERCENTAGE_COMPLETED, 0), - (SCAN_TYPE, 0), - ), -) - -RESOURCE_SCAN_SUMMARIES: StaticSchema = ( - 16, - n0, - _RSSes, - 0, - (_m,), - ((RESOURCE_SCAN_SUMMARY, 0),), -) - -LIST_RESOURCE_SCANS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRSO, - {_sm: None}, - (_RSSes, _NT), - ((RESOURCE_SCAN_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_RESOURCE_SCANS: StaticOperationSchema = ( - 23, - n0, - _LRS, - 0, - LIST_RESOURCE_SCANS_INPUT, - LIST_RESOURCE_SCANS_OUTPUT, - (), -) - -LIST_STACK_INSTANCE_RESOURCE_DRIFTS_INPUT: StaticSchema = ( - 18, - n0, - _LSIRDI, - {_s: None}, - (_SSN, _NT, _MR, _SIRDS, _SIA, _SIR, _OI, _CA), - ( - (STACK_SET_NAME_OR_ID, 1), - (NEXT_TOKEN, 0), - (MAX_RESULTS, 0), - (STACK_RESOURCE_DRIFT_STATUS_FILTERS, 0), - (ACCOUNT, 1), - (REGION, 1), - (CLIENT_REQUEST_TOKEN, 1), - (CALL_AS, 0), - ), -) - -STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARY: StaticSchema = ( - 18, - n0, - _SIRDSt, - 0, - (_SI, _LRI, _PRI, _PRIC, _RT, _PDro, _SRDS, _Ti), - ( - (STACK_ID, 1), - (LOGICAL_RESOURCE_ID, 1), - (PHYSICAL_RESOURCE_ID, 0), - (PHYSICAL_RESOURCE_ID_CONTEXT, 0), - (RESOURCE_TYPE, 1), - (PROPERTY_DIFFERENCES, 0), - (STACK_RESOURCE_DRIFT_STATUS, 1), - (TIMESTAMP, 1), - ), -) - -STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARIES: StaticSchema = ( - 16, - n0, - _SIRDSta, - 0, - (_m,), - ((STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARY, 0),), -) - -LIST_STACK_INSTANCE_RESOURCE_DRIFTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSIRDO, - {_sm: None}, - (_Su, _NT), - ((STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_STACK_INSTANCE_RESOURCE_DRIFTS: StaticOperationSchema = ( - 23, - n0, - _LSIRD, - 0, - LIST_STACK_INSTANCE_RESOURCE_DRIFTS_INPUT, - LIST_STACK_INSTANCE_RESOURCE_DRIFTS_OUTPUT, - ( - OPERATION_NOT_FOUND_EXCEPTION, - STACK_INSTANCE_NOT_FOUND_EXCEPTION, - STACK_SET_NOT_FOUND_EXCEPTION, - ), -) - -STACK_INSTANCE_FILTER_NAME: StaticSchema = ( - 14, - n0, - _SIFN, - 0, - (_DS___, _LOI_, _DS____), - ((-1, {_sV: _DS___}), (-1, {_sV: _LOI_}), (-1, {_sV: _DS____})), -) - -STACK_INSTANCE_FILTER_VALUES: StaticSchema = (3, n0, _SIFV, 0) - -STACK_INSTANCE_FILTER: StaticSchema = ( - 18, - n0, - _SIF, - 0, - (_N, _Va), - ((STACK_INSTANCE_FILTER_NAME, 0), (STACK_INSTANCE_FILTER_VALUES, 0)), -) - -STACK_INSTANCE_FILTERS: StaticSchema = ( - 16, - n0, - _SIFt, - 0, - (_m,), - ((STACK_INSTANCE_FILTER, 0),), -) - -LIST_STACK_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _LSII, - {_s: None}, - (_SSN, _NT, _MR, _Fi, _SIA, _SIR, _CA), - ( - (STACK_SET_NAME, 1), - (NEXT_TOKEN, 0), - (MAX_RESULTS, 0), - (STACK_INSTANCE_FILTERS, 0), - (ACCOUNT, 0), - (REGION, 0), - (CALL_AS, 0), - ), -) - -STACK_INSTANCE_SUMMARY: StaticSchema = ( - 18, - n0, - _SISt, - 0, - (_SSI, _Reg, _A, _SI, _S, _SR, _SIS, _OUI, _DSr, _LDCT, _LOI), - ( - (STACK_SET_ID, 0), - (REGION, 0), - (ACCOUNT, 0), - (STACK_ID, 0), - (STACK_INSTANCE_STATUS, 0), - (REASON, 0), - (STACK_INSTANCE_COMPREHENSIVE_STATUS, 0), - (ORGANIZATIONAL_UNIT_ID, 0), - (STACK_DRIFT_STATUS, 0), - (TIMESTAMP, 0), - (CLIENT_REQUEST_TOKEN, 0), - ), -) - -STACK_INSTANCE_SUMMARIES: StaticSchema = ( - 16, - n0, - _SISta, - 0, - (_m,), - ((STACK_INSTANCE_SUMMARY, 0),), -) - -LIST_STACK_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _LSIO, - {_sm: None}, - (_Su, _NT), - ((STACK_INSTANCE_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_STACK_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _LSI, - 0, - LIST_STACK_INSTANCES_INPUT, - LIST_STACK_INSTANCES_OUTPUT, - (STACK_SET_NOT_FOUND_EXCEPTION,), -) - -LIST_STACK_REFACTOR_ACTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LSRAI, - {_s: None}, - (_SRI, _NT, _MR), - ((STACK_REFACTOR_ID, 1), (NEXT_TOKEN, 0), (MAX_RESULTS, 0)), -) - -STACK_REFACTOR_ACTION_TYPE: StaticSchema = ( - 14, - n0, - _SRAT, - 0, - (_MOVE, _CREATE), - ((-1, {_sV: _MOVE}), (-1, {_sV: _CREATE})), -) - -STACK_REFACTOR_DETECTION: StaticSchema = ( - 14, - n0, - _SRDtac, - 0, - (_AUTO, _MANUAL), - ((-1, {_sV: _AUTO}), (-1, {_sV: _MANUAL})), -) - -DETECTION_REASON: StaticSchema = (3, n0, _DRe, 0) - -STACK_REFACTOR_ACTION_ENTITY: StaticSchema = ( - 14, - n0, - _SRAE, - 0, - (_RESOURCE, _STACK), - ((-1, {_sV: _RESOURCE}), (-1, {_sV: _STACK})), -) - -STACK_REFACTOR_RESOURCE_IDENTIFIER: StaticSchema = (3, n0, _SRRI, 0) - -STACK_REFACTOR_TAG_RESOURCES: StaticSchema = (16, n0, _SRTR, 0, (_m,), ((TAG, 0),)) - -STACK_REFACTOR_UNTAG_RESOURCES: StaticSchema = ( - 16, - n0, - _SRUR, - 0, - (_m,), - ((TAG_KEY, 0),), -) - -STACK_REFACTOR_ACTION: StaticSchema = ( - 18, - n0, - _SRA, - 0, - (_Ac, _En, _PRI, _RI, _Des, _Dete, _DRe, _TR, _UR, _RMe), - ( - (STACK_REFACTOR_ACTION_TYPE, 0), - (STACK_REFACTOR_ACTION_ENTITY, 0), - (PHYSICAL_RESOURCE_ID, 0), - (STACK_REFACTOR_RESOURCE_IDENTIFIER, 0), - (DESCRIPTION, 0), - (STACK_REFACTOR_DETECTION, 0), - (DETECTION_REASON, 0), - (STACK_REFACTOR_TAG_RESOURCES, 0), - (STACK_REFACTOR_UNTAG_RESOURCES, 0), - (RESOURCE_MAPPING, 0), - ), -) - -STACK_REFACTOR_ACTIONS: StaticSchema = ( - 16, - n0, - _SRAt, - 0, - (_m,), - ((STACK_REFACTOR_ACTION, 0),), -) - -LIST_STACK_REFACTOR_ACTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSRAO, - {_sm: None}, - (_SRAt, _NT), - ((STACK_REFACTOR_ACTIONS, 1), (NEXT_TOKEN, 0)), -) - -LIST_STACK_REFACTOR_ACTIONS: StaticOperationSchema = ( - 23, - n0, - _LSRA, - 0, - LIST_STACK_REFACTOR_ACTIONS_INPUT, - LIST_STACK_REFACTOR_ACTIONS_OUTPUT, - (), -) - -STACK_REFACTOR_EXECUTION_STATUS_FILTER: StaticSchema = ( - 16, - n0, - _SRESF, - 0, - (_m,), - ((STACK_REFACTOR_EXECUTION_STATUS, 0),), -) - -LIST_STACK_REFACTORS_INPUT: StaticSchema = ( - 18, - n0, - _LSRI, - {_s: None}, - (_ESF, _NT, _MR), - ((STACK_REFACTOR_EXECUTION_STATUS_FILTER, 0), (NEXT_TOKEN, 0), (MAX_RESULTS, 0)), -) - -STACK_REFACTOR_SUMMARY: StaticSchema = ( - 18, - n0, - _SRSt, - 0, - (_SRI, _Des, _ES, _ESR, _S, _SR), - ( - (STACK_REFACTOR_ID, 0), - (DESCRIPTION, 0), - (STACK_REFACTOR_EXECUTION_STATUS, 0), - (EXECUTION_STATUS_REASON, 0), - (STACK_REFACTOR_STATUS, 0), - (STACK_REFACTOR_STATUS_REASON, 0), - ), -) - -STACK_REFACTOR_SUMMARIES: StaticSchema = ( - 16, - n0, - _SRSta, - 0, - (_m,), - ((STACK_REFACTOR_SUMMARY, 0),), -) - -LIST_STACK_REFACTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSRO, - {_sm: None}, - (_SRSta, _NT), - ((STACK_REFACTOR_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_STACK_REFACTORS: StaticOperationSchema = ( - 23, - n0, - _LSR, - 0, - LIST_STACK_REFACTORS_INPUT, - LIST_STACK_REFACTORS_OUTPUT, - (), -) - -LIST_STACK_RESOURCES_INPUT: StaticSchema = ( - 18, - n0, - _LSRIi, - {_s: None}, - (_SN, _NT), - ((STACK_NAME, 1), (NEXT_TOKEN, 0)), -) - -STACK_RESOURCE_DRIFT_INFORMATION_SUMMARY: StaticSchema = ( - 18, - n0, - _SRDIS, - 0, - (_SRDS, _LCT), - ((STACK_RESOURCE_DRIFT_STATUS, 1), (TIMESTAMP, 0)), -) - -STACK_RESOURCE_SUMMARY: StaticSchema = ( - 18, - n0, - _SRStac, - 0, - (_LRI, _PRI, _RT, _LUTa, _RSe, _RSR, _DI, _MI), - ( - (LOGICAL_RESOURCE_ID, 1), - (PHYSICAL_RESOURCE_ID, 0), - (RESOURCE_TYPE, 1), - (TIMESTAMP, 1), - (RESOURCE_STATUS, 1), - (RESOURCE_STATUS_REASON, 0), - (STACK_RESOURCE_DRIFT_INFORMATION_SUMMARY, 0), - (MODULE_INFO, 0), - ), -) - -STACK_RESOURCE_SUMMARIES: StaticSchema = ( - 16, - n0, - _SRStack, - 0, - (_m,), - ((STACK_RESOURCE_SUMMARY, 0),), -) - -LIST_STACK_RESOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _LSROi, - {_sm: None}, - (_SRStack, _NT), - ((STACK_RESOURCE_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_STACK_RESOURCES: StaticOperationSchema = ( - 23, - n0, - _LSRi, - 0, - LIST_STACK_RESOURCES_INPUT, - LIST_STACK_RESOURCES_OUTPUT, - (), -) - -STACK_STATUS_FILTER: StaticSchema = (16, n0, _SSF, 0, (_m,), ((STACK_STATUS, 0),)) - -LIST_STACKS_INPUT: StaticSchema = ( - 18, - n0, - _LSIi, - {_s: None}, - (_NT, _SSF), - ((NEXT_TOKEN, 0), (STACK_STATUS_FILTER, 0)), -) - -STACK_DRIFT_INFORMATION_SUMMARY: StaticSchema = ( - 18, - n0, - _SDIS, - 0, - (_SDS, _LCT), - ((STACK_DRIFT_STATUS, 1), (TIMESTAMP, 0)), -) - -TEMPLATE_DESCRIPTION: StaticSchema = (3, n0, _TDe, 0) - -STACK_SUMMARY: StaticSchema = ( - 18, - n0, - _SSta, - 0, - (_SI, _SN, _TDe, _CTr, _LUT, _DTel, _SS, _SSR, _PIa, _RIo, _DI, _LO), - ( - (STACK_ID, 0), - (STACK_NAME, 1), - (TEMPLATE_DESCRIPTION, 0), - (CREATION_TIME, 1), - (LAST_UPDATED_TIME, 0), - (DELETION_TIME, 0), - (STACK_STATUS, 1), - (STACK_STATUS_REASON, 0), - (STACK_ID, 0), - (STACK_ID, 0), - (STACK_DRIFT_INFORMATION_SUMMARY, 0), - (LAST_OPERATIONS, 0), - ), -) - -STACK_SUMMARIES: StaticSchema = (16, n0, _SStac, 0, (_m,), ((STACK_SUMMARY, 0),)) - -LIST_STACKS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_sm: None}, - (_SStac, _NT), - ((STACK_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_STACKS: StaticOperationSchema = ( - 23, - n0, - _LS, - 0, - LIST_STACKS_INPUT, - LIST_STACKS_OUTPUT, - (), -) - -LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _LSSADTI, - {_s: None}, - (_SSN, _NT, _MR, _CA), - ((STACK_SET_NAME_OR_ID, 1), (NEXT_TOKEN, 0), (MAX_RESULTS, 0), (CALL_AS, 0)), -) - -STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARY: StaticSchema = ( - 18, - n0, - _SSADTS, - 0, - (_OUI, _Regi), - ((ORGANIZATIONAL_UNIT_ID, 0), (REGION_LIST, 0)), -) - -STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARIES: StaticSchema = ( - 16, - n0, - _SSADTSt, - 0, - (_m,), - ((STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARY, 0),), -) - -LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSSADTO, - {_sm: None}, - (_Su, _NT), - ((STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS: StaticOperationSchema = ( - 23, - n0, - _LSSADT, - 0, - LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_INPUT, - LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_OUTPUT, - (STACK_SET_NOT_FOUND_EXCEPTION,), -) - -OPERATION_RESULT_FILTER_NAME: StaticSchema = ( - 14, - n0, - _ORFN, - 0, - (_ORS,), - ((-1, {_sV: _ORS}),), -) - -OPERATION_RESULT_FILTER_VALUES: StaticSchema = (3, n0, _ORFV, 0) - -OPERATION_RESULT_FILTER: StaticSchema = ( - 18, - n0, - _ORF, - 0, - (_N, _Va), - ((OPERATION_RESULT_FILTER_NAME, 0), (OPERATION_RESULT_FILTER_VALUES, 0)), -) - -OPERATION_RESULT_FILTERS: StaticSchema = ( - 16, - n0, - _ORFp, - 0, - (_m,), - ((OPERATION_RESULT_FILTER, 0),), -) - -LIST_STACK_SET_OPERATION_RESULTS_INPUT: StaticSchema = ( - 18, - n0, - _LSSORI, - {_s: None}, - (_SSN, _OI, _NT, _MR, _CA, _Fi), - ( - (STACK_SET_NAME, 1), - (CLIENT_REQUEST_TOKEN, 1), - (NEXT_TOKEN, 0), - (MAX_RESULTS, 0), - (CALL_AS, 0), - (OPERATION_RESULT_FILTERS, 0), - ), -) - -STACK_SET_OPERATION_RESULT_STATUS: StaticSchema = ( - 14, - n0, - _SSORS, - 0, - (_PENDING, _RUNNING, _SUCCEEDED, _FAILED, _CANCELLED), - ( - (-1, {_sV: _PENDING}), - (-1, {_sV: _RUNNING}), - (-1, {_sV: _SUCCEEDED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _CANCELLED}), - ), -) - -STACK_SET_OPERATION_RESULT_SUMMARY: StaticSchema = ( - 18, - n0, - _SSORSt, - 0, - (_A, _Reg, _S, _SR, _AGR, _OUI), - ( - (ACCOUNT, 0), - (REGION, 0), - (STACK_SET_OPERATION_RESULT_STATUS, 0), - (REASON, 0), - (ACCOUNT_GATE_RESULT, 0), - (ORGANIZATIONAL_UNIT_ID, 0), - ), -) - -STACK_SET_OPERATION_RESULT_SUMMARIES: StaticSchema = ( - 16, - n0, - _SSORSta, - 0, - (_m,), - ((STACK_SET_OPERATION_RESULT_SUMMARY, 0),), -) - -LIST_STACK_SET_OPERATION_RESULTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSSORO, - {_sm: None}, - (_Su, _NT), - ((STACK_SET_OPERATION_RESULT_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_STACK_SET_OPERATION_RESULTS: StaticOperationSchema = ( - 23, - n0, - _LSSOR, - 0, - LIST_STACK_SET_OPERATION_RESULTS_INPUT, - LIST_STACK_SET_OPERATION_RESULTS_OUTPUT, - (OPERATION_NOT_FOUND_EXCEPTION, STACK_SET_NOT_FOUND_EXCEPTION), -) - -LIST_STACK_SET_OPERATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LSSOI, - {_s: None}, - (_SSN, _NT, _MR, _CA), - ((STACK_SET_NAME, 1), (NEXT_TOKEN, 0), (MAX_RESULTS, 0), (CALL_AS, 0)), -) - -STACK_SET_OPERATION_SUMMARY: StaticSchema = ( - 18, - n0, - _SSOSt, - 0, - (_OI, _Ac, _S, _CTre, _ETnd, _SR, _SDta, _OP), - ( - (CLIENT_REQUEST_TOKEN, 0), - (STACK_SET_OPERATION_ACTION, 0), - (STACK_SET_OPERATION_STATUS, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (STACK_SET_OPERATION_STATUS_REASON, 0), - (STACK_SET_OPERATION_STATUS_DETAILS, 0), - (STACK_SET_OPERATION_PREFERENCES, 0), - ), -) - -STACK_SET_OPERATION_SUMMARIES: StaticSchema = ( - 16, - n0, - _SSOSta, - 0, - (_m,), - ((STACK_SET_OPERATION_SUMMARY, 0),), -) - -LIST_STACK_SET_OPERATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSSOO, - {_sm: None}, - (_Su, _NT), - ((STACK_SET_OPERATION_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_STACK_SET_OPERATIONS: StaticOperationSchema = ( - 23, - n0, - _LSSO, - 0, - LIST_STACK_SET_OPERATIONS_INPUT, - LIST_STACK_SET_OPERATIONS_OUTPUT, - (STACK_SET_NOT_FOUND_EXCEPTION,), -) - -LIST_STACK_SETS_INPUT: StaticSchema = ( - 18, - n0, - _LSSI, - {_s: None}, - (_NT, _MR, _S, _CA), - ((NEXT_TOKEN, 0), (MAX_RESULTS, 0), (STACK_SET_STATUS, 0), (CALL_AS, 0)), -) - -STACK_SET_SUMMARY: StaticSchema = ( - 18, - n0, - _SSSt, - 0, - (_SSN, _SSI, _Des, _S, _AD, _PMe, _DSr, _LDCT, _ME), - ( - (STACK_SET_NAME, 0), - (STACK_SET_ID, 0), - (DESCRIPTION, 0), - (STACK_SET_STATUS, 0), - (AUTO_DEPLOYMENT, 0), - (PERMISSION_MODELS, 0), - (STACK_DRIFT_STATUS, 0), - (TIMESTAMP, 0), - (MANAGED_EXECUTION, 0), - ), -) - -STACK_SET_SUMMARIES: StaticSchema = ( - 16, - n0, - _SSSta, - 0, - (_m,), - ((STACK_SET_SUMMARY, 0),), -) - -LIST_STACK_SETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSSOi, - {_sm: None}, - (_Su, _NT), - ((STACK_SET_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_STACK_SETS: StaticOperationSchema = ( - 23, - n0, - _LSS, - 0, - LIST_STACK_SETS_INPUT, - LIST_STACK_SETS_OUTPUT, - (), -) - -LIST_TYPE_REGISTRATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LTRI, - {_s: None}, - (_T, _TN, _TA, _RSF, _MR, _NT), - ( - (REGISTRY_TYPE, 0), - (TYPE_NAME, 0), - (TYPE_ARN, 0), - (REGISTRATION_STATUS, 0), - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -REGISTRATION_TOKEN_LIST: StaticSchema = ( - 16, - n0, - _RTL, - 0, - (_m,), - ((REGISTRATION_TOKEN, 0),), -) - -LIST_TYPE_REGISTRATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTRO, - {_sm: None}, - (_RTL, _NT), - ((REGISTRATION_TOKEN_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_TYPE_REGISTRATIONS: StaticOperationSchema = ( - 23, - n0, - _LTR, - 0, - LIST_TYPE_REGISTRATIONS_INPUT, - LIST_TYPE_REGISTRATIONS_OUTPUT, - (CFN_REGISTRY_EXCEPTION,), -) - -TYPE_NAME_PREFIX: StaticSchema = (3, n0, _TNP, 0) - -TYPE_FILTERS: StaticSchema = ( - 18, - n0, - _TFy, - 0, - (_Cat, _PI, _TNP), - ((CATEGORY, 0), (PUBLISHER_ID, 0), (TYPE_NAME_PREFIX, 0)), -) - -LIST_TYPES_INPUT: StaticSchema = ( - 18, - n0, - _LTI, - {_s: None}, - (_Vi, _PT, _DSep, _T, _Fi, _MR, _NT), - ( - (VISIBILITY, 0), - (PROVISIONING_TYPE, 0), - (DEPRECATED_STATUS, 0), - (REGISTRY_TYPE, 0), - (TYPE_FILTERS, 0), - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -PUBLISHER_NAME: StaticSchema = (3, n0, _PNu, 0) - -TYPE_SUMMARY: StaticSchema = ( - 18, - n0, - _TSy, - 0, - (_T, _TN, _DVI, _TA, _LU, _Des, _PI, _OTN, _PVN, _LPV, _PIu, _PNu, _IA), - ( - (REGISTRY_TYPE, 0), - (TYPE_NAME, 0), - (TYPE_VERSION_ID, 0), - (TYPE_ARN, 0), - (TIMESTAMP, 0), - (DESCRIPTION, 0), - (PUBLISHER_ID, 0), - (TYPE_NAME, 0), - (PUBLIC_VERSION_NUMBER, 0), - (PUBLIC_VERSION_NUMBER, 0), - (IDENTITY_PROVIDER, 0), - (PUBLISHER_NAME, 0), - (IS_ACTIVATED, 0), - ), -) - -TYPE_SUMMARIES: StaticSchema = (16, n0, _TSyp, 0, (_m,), ((TYPE_SUMMARY, 0),)) - -LIST_TYPES_OUTPUT: StaticSchema = ( - 18, - n0, - _LTO, - {_sm: None}, - (_TSyp, _NT), - ((TYPE_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_TYPES: StaticOperationSchema = ( - 23, - n0, - _LT, - 0, - LIST_TYPES_INPUT, - LIST_TYPES_OUTPUT, - (CFN_REGISTRY_EXCEPTION,), -) - -LIST_TYPE_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LTVI, - {_s: None}, - (_T, _TN, _Ar, _MR, _NT, _DSep, _PI), - ( - (REGISTRY_TYPE, 0), - (TYPE_NAME, 0), - (TYPE_ARN, 0), - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (DEPRECATED_STATUS, 0), - (PUBLISHER_ID, 0), - ), -) - -TYPE_VERSION_SUMMARY: StaticSchema = ( - 18, - n0, - _TVS, - 0, - (_T, _TN, _VI, _IDV, _Ar, _TCi, _Des, _PVN), - ( - (REGISTRY_TYPE, 0), - (TYPE_NAME, 0), - (TYPE_VERSION_ID, 0), - (IS_DEFAULT_VERSION, 0), - (TYPE_ARN, 0), - (TIMESTAMP, 0), - (DESCRIPTION, 0), - (PUBLIC_VERSION_NUMBER, 0), - ), -) - -TYPE_VERSION_SUMMARIES: StaticSchema = ( - 16, - n0, - _TVSy, - 0, - (_m,), - ((TYPE_VERSION_SUMMARY, 0),), -) - -LIST_TYPE_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTVO, - {_sm: None}, - (_TVSy, _NT), - ((TYPE_VERSION_SUMMARIES, 0), (NEXT_TOKEN, 0)), -) - -LIST_TYPE_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LTV, - 0, - LIST_TYPE_VERSIONS_INPUT, - LIST_TYPE_VERSIONS_OUTPUT, - (CFN_REGISTRY_EXCEPTION,), -) - -PUBLISH_TYPE_INPUT: StaticSchema = ( - 18, - n0, - _PTI, - {_s: None}, - (_T, _Ar, _TN, _PVN), - ( - (THIRD_PARTY_TYPE, 0), - (PRIVATE_TYPE_ARN, 0), - (TYPE_NAME, 0), - (PUBLIC_VERSION_NUMBER, 0), - ), -) - -PUBLISH_TYPE_OUTPUT: StaticSchema = ( - 18, - n0, - _PTO, - {_sm: None}, - (_PTA,), - ((TYPE_ARN, 0),), -) - -PUBLISH_TYPE: StaticOperationSchema = ( - 23, - n0, - _PTu, - 0, - PUBLISH_TYPE_INPUT, - PUBLISH_TYPE_OUTPUT, - (CFN_REGISTRY_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION), -) - -INVALID_STATE_TRANSITION_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISTE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidStateTransition", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -OPERATION_STATUS_CHECK_FAILED_EXCEPTION: StaticSchema = ( - 18, - n0, - _OSCFE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ConditionalCheckFailed", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -OPERATION_STATUS: StaticSchema = ( - 14, - n0, - _OS, - 0, - (_PENDING, _IP, _SUCCESS, _FAILED), - ( - (-1, {_sV: _PENDING}), - (-1, {_sV: _IP}), - (-1, {_sV: _SUCCESS}), - (-1, {_sV: _FAILED}), - ), -) - -HANDLER_ERROR_CODE: StaticSchema = ( - 14, - n0, - _HEC, - 0, - ( - _NU, - _IR, - _ADc, - _ICn, - _AE, - _NF, - _RCe, - _Th, - _SLE, - _STe, - _GSE, - _SIE, - _NFe, - _IFn, - _ITC, - _HIF, - _NCo, - _Un, - _UT, - ), - ( - (-1, {_sV: _NU}), - (-1, {_sV: _IR}), - (-1, {_sV: _ADc}), - (-1, {_sV: _ICn}), - (-1, {_sV: _AE}), - (-1, {_sV: _NF}), - (-1, {_sV: _RCe}), - (-1, {_sV: _Th}), - (-1, {_sV: _SLE}), - (-1, {_sV: _NS}), - (-1, {_sV: _GSE}), - (-1, {_sV: _SIE}), - (-1, {_sV: _NFe}), - (-1, {_sV: _IFn}), - (-1, {_sV: _ITC}), - (-1, {_sV: _HIF}), - (-1, {_sV: _NCo}), - (-1, {_sV: _Un}), - (-1, {_sV: _UT}), - ), -) - -RESOURCE_MODEL: StaticSchema = (3, n0, _RMeso, 0) - -STATUS_MESSAGE: StaticSchema = (3, n0, _SM, 0) - -RECORD_HANDLER_PROGRESS_INPUT: StaticSchema = ( - 18, - n0, - _RHPI, - {_s: None}, - (_BT, _OS, _COS, _SM, _EC, _RMeso, _CRT), - ( - (CLIENT_TOKEN, 1), - (OPERATION_STATUS, 1), - (OPERATION_STATUS, 0), - (STATUS_MESSAGE, 0), - (HANDLER_ERROR_CODE, 0), - (RESOURCE_MODEL, 0), - (CLIENT_REQUEST_TOKEN, 0), - ), -) - -RECORD_HANDLER_PROGRESS_OUTPUT: StaticSchema = (18, n0, _RHPO, {_sm: None}) - -RECORD_HANDLER_PROGRESS: StaticOperationSchema = ( - 23, - n0, - _RHP, - 0, - RECORD_HANDLER_PROGRESS_INPUT, - RECORD_HANDLER_PROGRESS_OUTPUT, - (INVALID_STATE_TRANSITION_EXCEPTION, OPERATION_STATUS_CHECK_FAILED_EXCEPTION), -) - -CONNECTION_ARN: StaticSchema = (3, n0, _CAo, 0) - -REGISTER_PUBLISHER_INPUT: StaticSchema = ( - 18, - n0, - _RPI, - {_s: None}, - (_ATAC, _CAo), - ((ACCEPT_TERMS_AND_CONDITIONS, 0), (CONNECTION_ARN, 0)), -) - -REGISTER_PUBLISHER_OUTPUT: StaticSchema = ( - 18, - n0, - _RPO, - {_sm: None}, - (_PI,), - ((PUBLISHER_ID, 0),), -) - -REGISTER_PUBLISHER: StaticOperationSchema = ( - 23, - n0, - _RPeg, - 0, - REGISTER_PUBLISHER_INPUT, - REGISTER_PUBLISHER_OUTPUT, - (CFN_REGISTRY_EXCEPTION,), -) - -REQUEST_TOKEN: StaticSchema = (3, n0, _RTeq, 0) - -S3_URL: StaticSchema = (3, n0, _SUr, 0) - -REGISTER_TYPE_INPUT: StaticSchema = ( - 18, - n0, - _RTIeg, - {_s: None}, - (_T, _TN, _SHP, _LC, _ERA, _CRT), - ( - (REGISTRY_TYPE, 0), - (TYPE_NAME, 1), - (S3_URL, 1), - (LOGGING_CONFIG, 0), - (ROLE_ARN2, 0), - (REQUEST_TOKEN, 0), - ), -) - -REGISTER_TYPE_OUTPUT: StaticSchema = ( - 18, - n0, - _RTO, - {_sm: None}, - (_RTegi,), - ((REGISTRATION_TOKEN, 0),), -) - -REGISTER_TYPE: StaticOperationSchema = ( - 23, - n0, - _RTegis, - 0, - REGISTER_TYPE_INPUT, - REGISTER_TYPE_OUTPUT, - (CFN_REGISTRY_EXCEPTION,), -) - -ROLLBACK_STACK_INPUT: StaticSchema = ( - 18, - n0, - _RSIo, - {_s: None}, - (_SN, _RARNo, _CRT, _REOC, _DCe), - ( - (STACK_NAME_OR_ID, 1), - (ROLE_ARN, 0), - (CLIENT_REQUEST_TOKEN, 0), - (RETAIN_EXCEPT_ON_CREATE, 0), - (DEPLOYMENT_CONFIG, 0), - ), -) - -ROLLBACK_STACK_OUTPUT: StaticSchema = ( - 18, - n0, - _RSO, - {_sm: None}, - (_SI, _OI), - ((STACK_ID, 0), (OPERATION_ID, 0)), -) - -ROLLBACK_STACK: StaticOperationSchema = ( - 23, - n0, - _RSo, - 0, - ROLLBACK_STACK_INPUT, - ROLLBACK_STACK_OUTPUT, - (TOKEN_ALREADY_EXISTS_EXCEPTION,), -) - -SET_STACK_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _SSPI, - {_s: None}, - (_SN, _SPB, _SPURL), - ((STACK_NAME, 1), (STACK_POLICY_BODY, 0), (STACK_POLICY_URL, 0)), -) - -SET_STACK_POLICY_OUTPUT: StaticSchema = (18, n0, _SSPO, {_sSI: _sU, _sm: None}) - -SET_STACK_POLICY: StaticOperationSchema = ( - 23, - n0, - _SSP, - 0, - SET_STACK_POLICY_INPUT, - SET_STACK_POLICY_OUTPUT, - (), -) - -SET_TYPE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _STCI, - {_s: None}, - (_TA, _C, _CAon, _TN, _T), - ( - (TYPE_ARN, 0), - (TYPE_CONFIGURATION, 1), - (TYPE_CONFIGURATION_ALIAS, 0), - (TYPE_NAME, 0), - (THIRD_PARTY_TYPE, 0), - ), -) - -SET_TYPE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _STCO, - {_sm: None}, - (_CAonf,), - ((TYPE_CONFIGURATION_ARN, 0),), -) - -SET_TYPE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _STC, - 0, - SET_TYPE_CONFIGURATION_INPUT, - SET_TYPE_CONFIGURATION_OUTPUT, - (CFN_REGISTRY_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION), -) - -SET_TYPE_DEFAULT_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _STDVI, - {_s: None}, - (_Ar, _T, _TN, _VI), - ((PRIVATE_TYPE_ARN, 0), (REGISTRY_TYPE, 0), (TYPE_NAME, 0), (TYPE_VERSION_ID, 0)), -) - -SET_TYPE_DEFAULT_VERSION_OUTPUT: StaticSchema = (18, n0, _STDVO, {_sm: None}) - -SET_TYPE_DEFAULT_VERSION: StaticOperationSchema = ( - 23, - n0, - _STDV, - 0, - SET_TYPE_DEFAULT_VERSION_INPUT, - SET_TYPE_DEFAULT_VERSION_OUTPUT, - (CFN_REGISTRY_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION), -) - -RESOURCE_SIGNAL_STATUS: StaticSchema = ( - 14, - n0, - _RSSeso, - 0, - (_SUCCESS, _FAILURE), - ((-1, {_sV: _SUCCESS}), (-1, {_sV: _FAILURE})), -) - -RESOURCE_SIGNAL_UNIQUE_ID: StaticSchema = (3, n0, _RSUI, 0) - -SIGNAL_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _SRIi, - {_s: None}, - (_SN, _LRI, _UI, _S), - ( - (STACK_NAME_OR_ID, 1), - (LOGICAL_RESOURCE_ID, 1), - (RESOURCE_SIGNAL_UNIQUE_ID, 1), - (RESOURCE_SIGNAL_STATUS, 1), - ), -) - -SIGNAL_RESOURCE_OUTPUT: StaticSchema = (18, n0, _SRO, {_sSI: _sU, _sm: None}) - -SIGNAL_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _SRi, - 0, - SIGNAL_RESOURCE_INPUT, - SIGNAL_RESOURCE_OUTPUT, - (), -) - -RESOURCE_SCAN_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _RSLEE, - { - _smi: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ResourceScanLimitExceeded", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -START_RESOURCE_SCAN_INPUT: StaticSchema = ( - 18, - n0, - _SRSI, - {_s: None}, - (_CRT, _SFc), - ((CLIENT_REQUEST_TOKEN, 0), (SCAN_FILTERS, 0)), -) - -START_RESOURCE_SCAN_OUTPUT: StaticSchema = ( - 18, - n0, - _SRSO, - {_sm: None}, - (_RSI,), - ((RESOURCE_SCAN_ID, 0),), -) - -START_RESOURCE_SCAN: StaticOperationSchema = ( - 23, - n0, - _SRStar, - 0, - START_RESOURCE_SCAN_INPUT, - START_RESOURCE_SCAN_OUTPUT, - (RESOURCE_SCAN_IN_PROGRESS_EXCEPTION, RESOURCE_SCAN_LIMIT_EXCEEDED_EXCEPTION), -) - -STOP_STACK_SET_OPERATION_INPUT: StaticSchema = ( - 18, - n0, - _SSSOI, - {_s: None}, - (_SSN, _OI, _CA), - ((STACK_SET_NAME, 1), (CLIENT_REQUEST_TOKEN, 1), (CALL_AS, 0)), -) - -STOP_STACK_SET_OPERATION_OUTPUT: StaticSchema = (18, n0, _SSSOO, {_sm: None}) - -STOP_STACK_SET_OPERATION: StaticOperationSchema = ( - 23, - n0, - _SSSO, - 0, - STOP_STACK_SET_OPERATION_INPUT, - STOP_STACK_SET_OPERATION_OUTPUT, - ( - INVALID_OPERATION_EXCEPTION, - OPERATION_NOT_FOUND_EXCEPTION, - STACK_SET_NOT_FOUND_EXCEPTION, - ), -) - -S3_BUCKET: StaticSchema = (3, n0, _SB, 0) - -TEST_TYPE_INPUT: StaticSchema = ( - 18, - n0, - _TTI, - {_s: None}, - (_Ar, _T, _TN, _VI, _LDB), - ( - (TYPE_ARN, 0), - (THIRD_PARTY_TYPE, 0), - (TYPE_NAME, 0), - (TYPE_VERSION_ID, 0), - (S3_BUCKET, 0), - ), -) - -TEST_TYPE_OUTPUT: StaticSchema = (18, n0, _TTO, {_sm: None}, (_TVA,), ((TYPE_ARN, 0),)) - -TEST_TYPE: StaticOperationSchema = ( - 23, - n0, - _TTe, - 0, - TEST_TYPE_INPUT, - TEST_TYPE_OUTPUT, - (CFN_REGISTRY_EXCEPTION, TYPE_NOT_FOUND_EXCEPTION), -) - -REFRESH_ALL_RESOURCES: StaticSchema = (2, n0, _RARe, 0) - -JAZZ_LOGICAL_RESOURCE_IDS: StaticSchema = ( - 16, - n0, - _JLRI, - 0, - (_m,), - ((LOGICAL_RESOURCE_ID, 0),), -) - -UPDATE_GENERATED_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _UGTI, - {_s: None}, - (_GTN, _NGTN, _AR, _RRem, _RARe, _TCe), - ( - (GENERATED_TEMPLATE_NAME, 1), - (GENERATED_TEMPLATE_NAME, 0), - (RESOURCE_DEFINITIONS, 0), - (JAZZ_LOGICAL_RESOURCE_IDS, 0), - (REFRESH_ALL_RESOURCES, 0), - (TEMPLATE_CONFIGURATION, 0), - ), -) - -UPDATE_GENERATED_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _UGTO, - {_sm: None}, - (_GTI,), - ((GENERATED_TEMPLATE_ID, 0),), -) - -UPDATE_GENERATED_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _UGT, - 0, - UPDATE_GENERATED_TEMPLATE_INPUT, - UPDATE_GENERATED_TEMPLATE_OUTPUT, - ( - ALREADY_EXISTS_EXCEPTION, - GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - ), -) - -STACK_POLICY_DURING_UPDATE_BODY: StaticSchema = (3, n0, _SPDUB, 0) - -STACK_POLICY_DURING_UPDATE_URL: StaticSchema = (3, n0, _SPDUURL, 0) - -UPDATE_STACK_INPUT: StaticSchema = ( - 18, - n0, - _USI, - {_s: None}, - ( - _SN, - _TB, - _TURL, - _UPT, - _SPDUB, - _SPDUURL, - _Para, - _Cap, - _RTe, - _RARNo, - _RCo, - _SPB, - _SPURL, - _NARNo, - _Ta, - _DR, - _CRT, - _REOC, - _DCe, - _DV, - ), - ( - (STACK_NAME, 1), - (TEMPLATE_BODY, 0), - (TEMPLATE_URL, 0), - (USE_PREVIOUS_TEMPLATE, 0), - (STACK_POLICY_DURING_UPDATE_BODY, 0), - (STACK_POLICY_DURING_UPDATE_URL, 0), - (PARAMETERS, 0), - (CAPABILITIES, 0), - (RESOURCE_TYPES, 0), - (ROLE_ARN, 0), - (ROLLBACK_CONFIGURATION, 0), - (STACK_POLICY_BODY, 0), - (STACK_POLICY_URL, 0), - (NOTIFICATION_AR_NS, 0), - (TAGS, 0), - (DISABLE_ROLLBACK, 0), - (CLIENT_REQUEST_TOKEN, 0), - (RETAIN_EXCEPT_ON_CREATE, 0), - (DEPLOYMENT_CONFIG, 0), - (DISABLE_VALIDATION, 0), - ), -) - -UPDATE_STACK_OUTPUT: StaticSchema = ( - 18, - n0, - _USO, - {_sm: None}, - (_SI, _OI), - ((STACK_ID, 0), (OPERATION_ID, 0)), -) - -UPDATE_STACK: StaticOperationSchema = ( - 23, - n0, - _USp, - 0, - UPDATE_STACK_INPUT, - UPDATE_STACK_OUTPUT, - (INSUFFICIENT_CAPABILITIES_EXCEPTION, TOKEN_ALREADY_EXISTS_EXCEPTION), -) - -UPDATE_STACK_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _USII, - {_s: None}, - (_SSN, _Acc, _DT, _Regi, _PO, _OP, _OI, _CA), - ( - (STACK_SET_NAME_OR_ID, 1), - (ACCOUNT_LIST, 0), - (DEPLOYMENT_TARGETS, 0), - (REGION_LIST, 1), - (PARAMETERS, 0), - (STACK_SET_OPERATION_PREFERENCES, 0), - (CLIENT_REQUEST_TOKEN, 2), - (CALL_AS, 0), - ), -) - -UPDATE_STACK_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _USIO, - {_sm: None}, - (_OI,), - ((CLIENT_REQUEST_TOKEN, 0),), -) - -UPDATE_STACK_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _USIp, - 0, - UPDATE_STACK_INSTANCES_INPUT, - UPDATE_STACK_INSTANCES_OUTPUT, - ( - INVALID_OPERATION_EXCEPTION, - OPERATION_ID_ALREADY_EXISTS_EXCEPTION, - OPERATION_IN_PROGRESS_EXCEPTION, - STACK_INSTANCE_NOT_FOUND_EXCEPTION, - STACK_SET_NOT_FOUND_EXCEPTION, - STALE_REQUEST_EXCEPTION, - ), -) - -UPDATE_STACK_SET_INPUT: StaticSchema = ( - 18, - n0, - _USSI, - {_s: None}, - ( - _SSN, - _Des, - _TB, - _TURL, - _UPT, - _Para, - _Cap, - _Ta, - _OP, - _ARARN, - _ERN, - _DT, - _PMe, - _AD, - _OI, - _Acc, - _Regi, - _CA, - _ME, - ), - ( - (STACK_SET_NAME, 1), - (DESCRIPTION, 0), - (TEMPLATE_BODY, 0), - (TEMPLATE_URL, 0), - (USE_PREVIOUS_TEMPLATE, 0), - (PARAMETERS, 0), - (CAPABILITIES, 0), - (TAGS, 0), - (STACK_SET_OPERATION_PREFERENCES, 0), - (ROLE_ARN, 0), - (EXECUTION_ROLE_NAME, 0), - (DEPLOYMENT_TARGETS, 0), - (PERMISSION_MODELS, 0), - (AUTO_DEPLOYMENT, 0), - (CLIENT_REQUEST_TOKEN, 2), - (ACCOUNT_LIST, 0), - (REGION_LIST, 0), - (CALL_AS, 0), - (MANAGED_EXECUTION, 0), - ), -) - -UPDATE_STACK_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _USSO, - {_sm: None}, - (_OI,), - ((CLIENT_REQUEST_TOKEN, 0),), -) - -UPDATE_STACK_SET: StaticOperationSchema = ( - 23, - n0, - _USS, - 0, - UPDATE_STACK_SET_INPUT, - UPDATE_STACK_SET_OUTPUT, - ( - INVALID_OPERATION_EXCEPTION, - OPERATION_ID_ALREADY_EXISTS_EXCEPTION, - OPERATION_IN_PROGRESS_EXCEPTION, - STACK_INSTANCE_NOT_FOUND_EXCEPTION, - STACK_SET_NOT_FOUND_EXCEPTION, - STALE_REQUEST_EXCEPTION, - ), -) - -UPDATE_TERMINATION_PROTECTION_INPUT: StaticSchema = ( - 18, - n0, - _UTPI, - {_s: None}, - (_ETP, _SN), - ((ENABLE_TERMINATION_PROTECTION, 1), (STACK_NAME_OR_ID, 1)), -) - -UPDATE_TERMINATION_PROTECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _UTPO, - {_sm: None}, - (_SI,), - ((STACK_ID, 0),), -) - -UPDATE_TERMINATION_PROTECTION: StaticOperationSchema = ( - 23, - n0, - _UTP, - 0, - UPDATE_TERMINATION_PROTECTION_INPUT, - UPDATE_TERMINATION_PROTECTION_OUTPUT, - (), -) - -VALIDATE_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _VTI, - {_s: None}, - (_TB, _TURL), - ((TEMPLATE_BODY, 0), (TEMPLATE_URL, 0)), -) - -TEMPLATE_PARAMETER: StaticSchema = ( - 18, - n0, - _TPem, - 0, - (_PK, _DVe, _NEo, _Des), - ((PARAMETER_KEY, 0), (PARAMETER_VALUE, 0), (NO_ECHO, 0), (DESCRIPTION, 0)), -) - -TEMPLATE_PARAMETERS: StaticSchema = ( - 16, - n0, - _TPemp, - 0, - (_m,), - ((TEMPLATE_PARAMETER, 0),), -) - -VALIDATE_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _VTO, - {_sm: None}, - (_Para, _Des, _Cap, _CR, _DTec), - ( - (TEMPLATE_PARAMETERS, 0), - (DESCRIPTION, 0), - (CAPABILITIES, 0), - (CAPABILITIES_REASON, 0), - (TRANSFORMS_LIST, 0), - ), -) - -VALIDATE_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _VT, - 0, - VALIDATE_TEMPLATE_INPUT, - VALIDATE_TEMPLATE_OUTPUT, - (), -) - -CLOUD_FORMATION: StaticSchema = ( - 21, - n0, - _CFl, - { - _a: MappingProxyType({"name": "cloudformation"}), - _aQ: None, - _aw: MappingProxyType( - { - "sdkId": "CloudFormation", - "arnNamespace": "cloudformation", - "cloudFormationName": "CloudFormation", - "cloudTrailEventSource": "cloudformation.amazonaws.com", - "endpointPrefix": "cloudformation", - } - ), - _sN: MappingProxyType( - {"uri": "http://cloudformation.amazonaws.com/doc/2010-05-15/"} - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ACCEPT_TERMS_AND_CONDITIONS", + "ACCOUNT", + "ACCOUNT_FILTER_TYPE", + "ACCOUNT_GATE_STATUS", + "ACCOUNT_GATE_STATUS_REASON", + "ACCOUNT_GATE_RESULT", + "LIMIT_NAME", + "LIMIT_VALUE", + "ACCOUNT_LIMIT", + "ACCOUNT_LIMIT_LIST", + "ACCOUNT_LIST", + "ACCOUNTS_URL", + "ACTIVATE_ORGANIZATIONS_ACCESS_INPUT", + "ACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT", + "ACTIVATE_ORGANIZATIONS_ACCESS", + "ERROR_MESSAGE", + "INVALID_OPERATION_EXCEPTION", + "OPERATION_NOT_FOUND_EXCEPTION", + "AUTO_UPDATE", + "ROLE_ARN2", + "LOG_GROUP_NAME", + "LOGGING_CONFIG", + "MAJOR_VERSION", + "THIRD_PARTY_TYPE_ARN", + "PUBLISHER_ID", + "THIRD_PARTY_TYPE", + "TYPE_NAME", + "VERSION_BUMP", + "ACTIVATE_TYPE_INPUT", + "ACTIVATE_TYPE_OUTPUT", + "ACTIVATE_TYPE", + "PRIVATE_TYPE_ARN", + "CFN_REGISTRY_EXCEPTION", + "TYPE_NOT_FOUND_EXCEPTION", + "AFTER_CONTEXT", + "AFTER_VALUE", + "AFTER_VALUE_FROM", + "ALLOWED_VALUE", + "ALLOWED_VALUES", + "ALREADY_EXISTS_EXCEPTION", + "ANNOTATION_NAME", + "ANNOTATION_REMEDIATION_LINK", + "REMEDIATION_MESSAGE_REMEDIATION_MESSAGE", + "ANNOTATION_SEVERITY_LEVEL", + "ANNOTATION_STATUS", + "REMEDIATION_MESSAGE_STATUS_MESSAGE", + "ANNOTATION", + "ANNOTATION_LIST", + "ARN", + "ATTRIBUTE_CHANGE_TYPE", + "STACK_SET_ARN", + "STACK_SET_ARN_LIST", + "AUTO_DEPLOYMENT_NULLABLE", + "RETAIN_STACKS_ON_ACCOUNT_REMOVAL_NULLABLE", + "AUTO_DEPLOYMENT", + "TYPE_ARN", + "TYPE_CONFIGURATION_ALIAS", + "TYPE_CONFIGURATION_ARN", + "TYPE_CONFIGURATION_IDENTIFIER", + "TYPE_CONFIGURATION_IDENTIFIERS", + "BATCH_DESCRIBE_TYPE_CONFIGURATIONS_INPUT", + "BATCH_DESCRIBE_TYPE_CONFIGURATIONS_OUTPUT", + "BATCH_DESCRIBE_TYPE_CONFIGURATIONS", + "ERROR_CODE", + "BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERROR", + "BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERRORS", + "TYPE_CONFIGURATION", + "IS_DEFAULT_CONFIGURATION", + "TIMESTAMP", + "TYPE_CONFIGURATION_DETAILS", + "TYPE_CONFIGURATION_DETAILS_LIST", + "UNPROCESSED_TYPE_CONFIGURATIONS", + "TYPE_CONFIGURATION_NOT_FOUND_EXCEPTION", + "BEACON_STACK_OPERATION_STATUS", + "BEFORE_CONTEXT", + "BEFORE_VALUE", + "BEFORE_VALUE_FROM", + "BOXED_INTEGER", + "BOXED_MAX_RESULTS", + "CALL_AS", + "CLIENT_REQUEST_TOKEN", + "STACK_NAME", + "CANCEL_UPDATE_STACK_INPUT", + "CANCEL_UPDATE_STACK_OUTPUT", + "CANCEL_UPDATE_STACK", + "TOKEN_ALREADY_EXISTS_EXCEPTION", + "CAPABILITY", + "CAPABILITIES", + "CAPABILITIES_REASON", + "CATEGORY", + "CAUSING_ENTITY", + "HOOK_INVOCATION_COUNT", + "CHANGE_ACTION", + "CHANGE_SET_ID", + "CHANGE_SOURCE", + "EVALUATION_TYPE", + "RESOURCE_ATTRIBUTE", + "RESOURCE_DRIFT_ACTUAL_VALUE", + "RESOURCE_DRIFT_PREVIOUS_VALUE", + "LIVE_RESOURCE_DRIFT", + "PROPERTY_NAME", + "RESOURCE_PROPERTY_PATH", + "REQUIRES_RECREATION", + "RESOURCE_TARGET_DEFINITION", + "RESOURCE_CHANGE_DETAIL", + "RESOURCE_CHANGE_DETAILS", + "LOGICAL_RESOURCE_ID", + "LOGICAL_ID_HIERARCHY", + "TYPE_HIERARCHY", + "MODULE_INFO", + "PHYSICAL_RESOURCE_ID", + "POLICY_ACTION", + "PREVIOUS_DEPLOYMENT_CONTEXT", + "REPLACEMENT", + "DRIFT_IGNORED_REASON", + "RESOURCE_DRIFT_IGNORED_ATTRIBUTE", + "RESOURCE_DRIFT_IGNORED_ATTRIBUTES", + "STACK_RESOURCE_DRIFT_STATUS", + "RESOURCE_TYPE", + "CLIENT_TOKEN", + "RESOURCE_TYPES", + "STACK_POLICY_BODY", + "STACK_POLICY_URL", + "REGISTRY_TYPE", + "TYPE_VERSION_ID", + ), + ( + "SCOPE", + "RESOURCE_CHANGE", + "CHANGE_TYPE", + "CHANGE", + "CHANGES", + "HOOK_FAILURE_MODE", + "HOOK_INVOCATION_POINT", + "HOOK_TARGET_TYPE_NAME", + "CHANGE_SET_HOOK_RESOURCE_TARGET_DETAILS", + "HOOK_TARGET_TYPE", + "CHANGE_SET_HOOK_TARGET_DETAILS", + "HOOK_TYPE_CONFIGURATION_VERSION_ID", + "HOOK_TYPE_NAME", + "HOOK_TYPE_VERSION_ID", + "CHANGE_SET_HOOK", + "CHANGE_SET_HOOKS", + "CHANGE_SET_HOOKS_STATUS", + "CHANGE_SET_NAME", + "CHANGE_SET_NAME_OR_ID", + "CHANGE_SET_NOT_FOUND_EXCEPTION", + "CHANGE_SET_STATUS", + "CHANGE_SET_STATUS_REASON", + "CREATION_TIME", + "DESCRIPTION", + "EXECUTION_STATUS", + "IMPORT_EXISTING_RESOURCES", + "INCLUDE_NESTED_STACKS", + "STACK_ID", + "CHANGE_SET_SUMMARY", + "CHANGE_SET_SUMMARIES", + "CHANGE_SET_TYPE", + "FORCE_ROLLBACK", + "RESOURCE_TO_SKIP", + "RESOURCES_TO_SKIP", + "ROLE_ARN", + "STACK_NAME_OR_ID", + "CONTINUE_UPDATE_ROLLBACK_INPUT", + "CONTINUE_UPDATE_ROLLBACK_OUTPUT", + "CONTINUE_UPDATE_ROLLBACK", + "DISABLE_ROLLBACK", + "DEPLOYMENT_CONFIG_MODE", + "DEPLOYMENT_CONFIG", + "DEPLOYMENT_MODE", + "DISABLE_VALIDATION", + "NOTIFICATION_ARN", + "NOTIFICATION_AR_NS", + "ON_STACK_FAILURE", + "PARAMETER_KEY", + "PARAMETER_VALUE", + "USE_PREVIOUS_VALUE", + "PARAMETER", + "PARAMETERS", + "RESOURCE_IDENTIFIER_PROPERTY_KEY", + "RESOURCE_IDENTIFIER_PROPERTY_VALUE", + "RESOURCE_IDENTIFIER_PROPERTIES", + "RESOURCE_TO_IMPORT", + "RESOURCES_TO_IMPORT", + "MONITORING_TIME_IN_MINUTES", + "TYPE", + "ROLLBACK_TRIGGER", + "ROLLBACK_TRIGGERS", + "ROLLBACK_CONFIGURATION", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAGS", + "TEMPLATE_BODY", + "TEMPLATE_URL", + "USE_PREVIOUS_TEMPLATE", + "CREATE_CHANGE_SET_INPUT", + "CREATE_CHANGE_SET_OUTPUT", + "CREATE_CHANGE_SET", + "INSUFFICIENT_CAPABILITIES_EXCEPTION", + "LIMIT_EXCEEDED_EXCEPTION", + "CONCURRENT_RESOURCES_LIMIT_EXCEEDED_EXCEPTION", + "GENERATED_TEMPLATE_NAME", + "RESOURCE_DEFINITION", + "RESOURCE_DEFINITIONS", + "GENERATED_TEMPLATE_DELETION_POLICY", + "GENERATED_TEMPLATE_UPDATE_REPLACE_POLICY", + "TEMPLATE_CONFIGURATION", + "CREATE_GENERATED_TEMPLATE_INPUT", + "CREATE_GENERATED_TEMPLATE_OUTPUT", + "CREATE_GENERATED_TEMPLATE", + "GENERATED_TEMPLATE_ID", + "ENABLE_TERMINATION_PROTECTION", + "ON_FAILURE", + "RETAIN_EXCEPT_ON_CREATE", + "TIMEOUT_MINUTES", + "CREATE_STACK_INPUT", + "CREATE_STACK_OUTPUT", + "CREATE_STACK", + "OPERATION_ID", + "ORGANIZATIONAL_UNIT_ID", + "ORGANIZATIONAL_UNIT_ID_LIST", + "DEPLOYMENT_TARGETS", + "CONCURRENCY_MODE", + "FAILURE_TOLERANCE_COUNT", + "FAILURE_TOLERANCE_PERCENTAGE", + "MAX_CONCURRENT_COUNT", + "MAX_CONCURRENT_PERCENTAGE", + "REGION_CONCURRENCY_TYPE", + "REGION", + "REGION_LIST", + "STACK_REFACTOR_ID", + "INVALID_CHANGE_SET_STATUS_EXCEPTION", + "GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION", + "STACK_DRIFT_STATUS", + "LAST_UPDATED_TIME", + "PROPERTY_PATH", + "GENERATED_TEMPLATE_STATUS", + "STACK_DRIFT_DETECTION_ID", + ), + ( + "STACK_SET_OPERATION_PREFERENCES", + "STACK_SET_NAME", + "CREATE_STACK_INSTANCES_INPUT", + "CREATE_STACK_INSTANCES_OUTPUT", + "CREATE_STACK_INSTANCES", + "OPERATION_ID_ALREADY_EXISTS_EXCEPTION", + "OPERATION_IN_PROGRESS_EXCEPTION", + "STACK_SET_NOT_FOUND_EXCEPTION", + "STALE_REQUEST_EXCEPTION", + "ENABLE_STACK_CREATION", + "RESOURCE_LOCATION", + "RESOURCE_MAPPING", + "RESOURCE_MAPPINGS", + "STACK_DEFINITION", + "STACK_DEFINITIONS", + "CREATE_STACK_REFACTOR_INPUT", + "CREATE_STACK_REFACTOR_OUTPUT", + "CREATE_STACK_REFACTOR", + "CREATED_BUT_MODIFIED_EXCEPTION", + "EXECUTION_ROLE_NAME", + "MANAGED_EXECUTION_NULLABLE", + "MANAGED_EXECUTION", + "PERMISSION_MODELS", + "CREATE_STACK_SET_INPUT", + "CREATE_STACK_SET_OUTPUT", + "CREATE_STACK_SET", + "STACK_SET_ID", + "NAME_ALREADY_EXISTS_EXCEPTION", + "DEACTIVATE_ORGANIZATIONS_ACCESS_INPUT", + "DEACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT", + "DEACTIVATE_ORGANIZATIONS_ACCESS", + "DEACTIVATE_TYPE_INPUT", + "DEACTIVATE_TYPE_OUTPUT", + "DEACTIVATE_TYPE", + "DELETE_CHANGE_SET_INPUT", + "DELETE_CHANGE_SET_OUTPUT", + "DELETE_CHANGE_SET", + "DELETE_GENERATED_TEMPLATE_INPUT", + "DELETE_GENERATED_TEMPLATE_OUTPUT", + "DELETE_GENERATED_TEMPLATE", + "DELETION_MODE", + "RETAIN_RESOURCES", + "DELETE_STACK_INPUT", + "DELETE_STACK_OUTPUT", + "DELETE_STACK", + "RETAIN_STACKS", + "DELETE_STACK_INSTANCES_INPUT", + "DELETE_STACK_INSTANCES_OUTPUT", + "DELETE_STACK_INSTANCES", + "DELETE_STACK_SET_INPUT", + "DELETE_STACK_SET_OUTPUT", + "DELETE_STACK_SET", + "STACK_SET_NOT_EMPTY_EXCEPTION", + "DEREGISTER_TYPE_INPUT", + "DEREGISTER_TYPE_OUTPUT", + "DEREGISTER_TYPE", + "NEXT_TOKEN", + "DESCRIBE_ACCOUNT_LIMITS_INPUT", + "DESCRIBE_ACCOUNT_LIMITS_OUTPUT", + "DESCRIBE_ACCOUNT_LIMITS", + "INCLUDE_PROPERTY_VALUES", + "DESCRIBE_CHANGE_SET_INPUT", + "DESCRIBE_CHANGE_SET_OUTPUT", + "DESCRIBE_CHANGE_SET", + "DESCRIBE_CHANGE_SET_HOOKS_INPUT", + "DESCRIBE_CHANGE_SET_HOOKS_OUTPUT", + "DESCRIBE_CHANGE_SET_HOOKS", + "FAILED_EVENTS_FILTER", + "EVENT_FILTER", + "DESCRIBE_EVENTS_INPUT", + "DESCRIBE_EVENTS_OUTPUT", + "DESCRIBE_EVENTS", + "DETAILED_STATUS", + "EVENT_ID", + "EVENT_TYPE", + "HOOK_STATUS", + "HOOK_STATUS_REASON", + "HOOK_TYPE", + "OPERATION_TYPE", + "RESOURCE_PROPERTIES", + "RESOURCE_STATUS", + "RESOURCE_STATUS_REASON", + "VALIDATION_NAME", + "VALIDATION_PATH", + "VALIDATION_STATUS", + "TEMPLATE_STATUS_REASON", + "HOOK_INVOCATION_ID", + "REASON", + "STACK_INSTANCE_NOT_FOUND_EXCEPTION", + "STACK_RESOURCE_DRIFT_INFORMATION", + "METADATA", + "EXPORT_NAME", + "STACK_SET_STATUS", + "STACK_SET_NAME_OR_ID", + "MAX_RESULTS", + ), + ( + "VALIDATION_STATUS_REASON", + "OPERATION_EVENT", + "OPERATION_EVENTS", + "DESCRIBE_GENERATED_TEMPLATE_INPUT", + "DESCRIBE_GENERATED_TEMPLATE_OUTPUT", + "DESCRIBE_GENERATED_TEMPLATE", + "RESOURCES_FAILED", + "RESOURCES_PENDING", + "RESOURCES_PROCESSING", + "RESOURCES_SUCCEEDED", + "TEMPLATE_PROGRESS", + "GENERATED_TEMPLATE_RESOURCE_STATUS", + "PROPERTY_DESCRIPTION", + "REQUIRED_PROPERTY", + "WARNING_PROPERTY", + "WARNING_PROPERTIES", + "WARNING_TYPE", + "WARNING_DETAIL", + "WARNING_DETAILS", + "RESOURCE_DETAIL", + "RESOURCE_DETAILS", + "TOTAL_WARNINGS", + "DESCRIBE_ORGANIZATIONS_ACCESS_INPUT", + "DESCRIBE_ORGANIZATIONS_ACCESS_OUTPUT", + "DESCRIBE_ORGANIZATIONS_ACCESS", + "ORGANIZATION_STATUS", + "DESCRIBE_PUBLISHER_INPUT", + "DESCRIBE_PUBLISHER_OUTPUT", + "DESCRIBE_PUBLISHER", + "IDENTITY_PROVIDER", + "PUBLISHER_PROFILE", + "PUBLISHER_STATUS", + "RESOURCE_SCAN_ID", + "DESCRIBE_RESOURCE_SCAN_INPUT", + "DESCRIBE_RESOURCE_SCAN_OUTPUT", + "DESCRIBE_RESOURCE_SCAN", + "PERCENTAGE_COMPLETED", + "RESOURCES_READ", + "RESOURCES_SCANNED", + "RESOURCE_TYPE_FILTER", + "RESOURCE_TYPE_FILTERS", + "SCAN_FILTER", + "SCAN_FILTERS", + "RESOURCE_SCAN_STATUS", + "RESOURCE_SCAN_STATUS_REASON", + "RESOURCE_SCAN_NOT_FOUND_EXCEPTION", + "DESCRIBE_STACK_DRIFT_DETECTION_STATUS_INPUT", + "DESCRIBE_STACK_DRIFT_DETECTION_STATUS_OUTPUT", + "DESCRIBE_STACK_DRIFT_DETECTION_STATUS", + "STACK_DRIFT_DETECTION_STATUS", + "STACK_DRIFT_DETECTION_STATUS_REASON", + "DESCRIBE_STACK_EVENTS_INPUT", + "DESCRIBE_STACK_EVENTS_OUTPUT", + "DESCRIBE_STACK_EVENTS", + "STACK_EVENT", + "STACK_EVENTS", + "DESCRIBE_STACK_INSTANCE_INPUT", + "DESCRIBE_STACK_INSTANCE_OUTPUT", + "DESCRIBE_STACK_INSTANCE", + "STACK_INSTANCE_DETAILED_STATUS", + "STACK_INSTANCE_COMPREHENSIVE_STATUS", + "STACK_INSTANCE_STATUS", + "STACK_INSTANCE", + "DESCRIBE_STACK_REFACTOR_INPUT", + "DESCRIBE_STACK_REFACTOR_OUTPUT", + "DESCRIBE_STACK_REFACTOR", + "STACK_REFACTOR_EXECUTION_STATUS", + "EXECUTION_STATUS_REASON", + "STACK_IDS", + "STACK_REFACTOR_STATUS", + "STACK_REFACTOR_STATUS_REASON", + "STACK_REFACTOR_NOT_FOUND_EXCEPTION", + "DESCRIBE_STACK_RESOURCE_INPUT", + "DESCRIBE_STACK_RESOURCE_OUTPUT", + "DESCRIBE_STACK_RESOURCE", + "STACK_RESOURCE_DETAIL", + "RESOURCE_SCAN_IN_PROGRESS_EXCEPTION", + ), + ( + "STACK_RESOURCE_DRIFT_STATUS_FILTERS", + "DESCRIBE_STACK_RESOURCE_DRIFTS_INPUT", + "DESCRIBE_STACK_RESOURCE_DRIFTS_OUTPUT", + "DESCRIBE_STACK_RESOURCE_DRIFTS", + "PROPERTIES", + "STACK_RESOURCE_DRIFT_STATUS_REASON", + "KEY", + "VALUE", + "PHYSICAL_RESOURCE_ID_CONTEXT_KEY_VALUE_PAIR", + "PHYSICAL_RESOURCE_ID_CONTEXT", + "PROPERTY_VALUE", + "DIFFERENCE_TYPE", + "PROPERTY_DIFFERENCE", + "PROPERTY_DIFFERENCES", + "STACK_RESOURCE_DRIFT", + "STACK_RESOURCE_DRIFTS", + "DESCRIBE_STACK_RESOURCES_INPUT", + "DESCRIBE_STACK_RESOURCES_OUTPUT", + "DESCRIBE_STACK_RESOURCES", + "STACK_RESOURCE", + "STACK_RESOURCES", + "DESCRIBE_STACKS_INPUT", + "DESCRIBE_STACKS_OUTPUT", + "DESCRIBE_STACKS", + "DELETION_TIME", + "STACK_DRIFT_INFORMATION", + "OPERATION_ENTRY", + "LAST_OPERATIONS", + "OUTPUT_KEY", + "OUTPUT_VALUE", + "OUTPUT", + "OUTPUTS", + "STACK_STATUS", + "STACK_STATUS_REASON", + "STACK", + "STACKS", + "DESCRIBE_STACK_SET_INPUT", + "DESCRIBE_STACK_SET_OUTPUT", + "DESCRIBE_STACK_SET", + "STACK_SET_DRIFT_DETECTION_STATUS", + "DRIFTED_STACK_INSTANCES_COUNT", + "STACK_SET_DRIFT_STATUS", + "FAILED_STACK_INSTANCES_COUNT", + "IN_PROGRESS_STACK_INSTANCES_COUNT", + "IN_SYNC_STACK_INSTANCES_COUNT", + "TOTAL_STACK_INSTANCES_COUNT", + "STACK_SET_DRIFT_DETECTION_DETAILS", + "STACK_SET", + "DESCRIBE_STACK_SET_OPERATION_INPUT", + "DESCRIBE_STACK_SET_OPERATION_OUTPUT", + "DESCRIBE_STACK_SET_OPERATION", + "STACK_SET_OPERATION_ACTION", + "RETAIN_STACKS_NULLABLE", + "STACK_SET_OPERATION_STATUS", + "STACK_SET_OPERATION_STATUS_DETAILS", + "STACK_SET_OPERATION_STATUS_REASON", + "STACK_SET_OPERATION", + "PUBLIC_VERSION_NUMBER", + "DESCRIBE_TYPE_INPUT", + "DESCRIBE_TYPE_OUTPUT", + "DESCRIBE_TYPE", + "CONFIGURATION_SCHEMA", + "DEPRECATED_STATUS", + "OPTIONAL_SECURE_URL", + "IS_ACTIVATED", + "IS_DEFAULT_VERSION", + "PROVISIONING_TYPE", + "SUPPORTED_MAJOR_VERSION", + "SUPPORTED_MAJOR_VERSIONS", + "REQUIRED_ACTIVATED_TYPE", + "REQUIRED_ACTIVATED_TYPES", + "TYPE_SCHEMA", + "TYPE_TESTS_STATUS", + "TYPE_TESTS_STATUS_DESCRIPTION", + "VISIBILITY", + "DESCRIBE_TYPE_REGISTRATION_INPUT", + "DESCRIBE_TYPE_REGISTRATION_OUTPUT", + "DESCRIBE_TYPE_REGISTRATION", + ), + ( + "REGISTRATION_TOKEN", + "REGISTRATION_STATUS", + "LOGICAL_RESOURCE_IDS", + "DETECT_STACK_DRIFT_INPUT", + "DETECT_STACK_DRIFT_OUTPUT", + "DETECT_STACK_DRIFT", + "DETECT_STACK_RESOURCE_DRIFT_INPUT", + "DETECT_STACK_RESOURCE_DRIFT_OUTPUT", + "DETECT_STACK_RESOURCE_DRIFT", + "DETECT_STACK_SET_DRIFT_INPUT", + "DETECT_STACK_SET_DRIFT_OUTPUT", + "DETECT_STACK_SET_DRIFT", + "ESTIMATE_TEMPLATE_COST_INPUT", + "ESTIMATE_TEMPLATE_COST_OUTPUT", + "ESTIMATE_TEMPLATE_COST", + "URL", + "EXECUTE_CHANGE_SET_INPUT", + "EXECUTE_CHANGE_SET_OUTPUT", + "EXECUTE_CHANGE_SET", + "EXECUTE_STACK_REFACTOR_INPUT", + "EXECUTE_STACK_REFACTOR_OUTPUT", + "EXECUTE_STACK_REFACTOR", + "TEMPLATE_FORMAT", + "GET_GENERATED_TEMPLATE_INPUT", + "GET_GENERATED_TEMPLATE_OUTPUT", + "GET_GENERATED_TEMPLATE", + "GET_HOOK_RESULT_INPUT", + "GET_HOOK_RESULT_OUTPUT", + "GET_HOOK_RESULT", + "HOOK_TARGET_ACTION", + "HOOK_TARGET_ID", + "HOOK_TARGET", + "HOOK_TYPE_ARN", + "HOOK_RESULT_NOT_FOUND_EXCEPTION", + "GET_STACK_POLICY_INPUT", + "GET_STACK_POLICY_OUTPUT", + "GET_STACK_POLICY", + "TEMPLATE_STAGE", + "GET_TEMPLATE_INPUT", + "GET_TEMPLATE_OUTPUT", + "GET_TEMPLATE", + "STAGE_LIST", + "TREAT_UNRECOGNIZED_RESOURCE_TYPES_AS_WARNINGS", + "TEMPLATE_SUMMARY_CONFIG", + "GET_TEMPLATE_SUMMARY_INPUT", + "GET_TEMPLATE_SUMMARY_OUTPUT", + "GET_TEMPLATE_SUMMARY", + "TRANSFORM_NAME", + "TRANSFORMS_LIST", + "NO_ECHO", + "PARAMETER_CONSTRAINTS", + "PARAMETER_TYPE", + "PARAMETER_DECLARATION", + "PARAMETER_DECLARATIONS", + "RESOURCE_IDENTIFIERS", + "RESOURCE_IDENTIFIER_SUMMARY", + "RESOURCE_IDENTIFIER_SUMMARIES", + "VERSION", + "WARNINGS", + "STACK_ID_LIST", + "STACK_IDS_URL", + "IMPORT_STACKS_TO_STACK_SET_INPUT", + "IMPORT_STACKS_TO_STACK_SET_OUTPUT", + "IMPORT_STACKS_TO_STACK_SET", + "STACK_NOT_FOUND_EXCEPTION", + "LIST_CHANGE_SETS_INPUT", + "LIST_CHANGE_SETS_OUTPUT", + "LIST_CHANGE_SETS", + "LIST_EXPORTS_INPUT", + "LIST_EXPORTS_OUTPUT", + "LIST_EXPORTS", + "EXPORT_VALUE", + "EXPORT", + "EXPORTS", + "LIST_GENERATED_TEMPLATES_INPUT", + "LIST_GENERATED_TEMPLATES_OUTPUT", + "LIST_GENERATED_TEMPLATES", + "NUMBER_OF_RESOURCES", + "TEMPLATE_SUMMARY", + "TEMPLATE_SUMMARIES", + "HOOK_RESULT_ID", + "LIST_HOOK_RESULTS_TARGET_TYPE", + "LIST_HOOK_RESULTS_INPUT", + "LIST_HOOK_RESULTS_OUTPUT", + "LIST_HOOK_RESULTS", + "HOOK_RESULT_SUMMARY", + "HOOK_RESULT_SUMMARIES", + "LIST_IMPORTS_INPUT", + "LIST_IMPORTS_OUTPUT", + "LIST_IMPORTS", + "IMPORTS", + "JAZZ_RESOURCE_IDENTIFIER_PROPERTY_KEY", + "JAZZ_RESOURCE_IDENTIFIER_PROPERTY_VALUE", + "JAZZ_RESOURCE_IDENTIFIER_PROPERTIES", + "SCANNED_RESOURCE_IDENTIFIER", + "SCANNED_RESOURCE_IDENTIFIERS", + "LIST_RESOURCE_SCAN_RELATED_RESOURCES_INPUT", + "LIST_RESOURCE_SCAN_RELATED_RESOURCES_OUTPUT", + "LIST_RESOURCE_SCAN_RELATED_RESOURCES", + "MANAGED_BY_STACK", + "SCANNED_RESOURCE", + "RELATED_RESOURCES", + "RESOURCE_IDENTIFIER", + "RESOURCE_TYPE_PREFIX", + ), + ( + "RESOURCE_SCANNER_MAX_RESULTS", + "LIST_RESOURCE_SCAN_RESOURCES_INPUT", + "LIST_RESOURCE_SCAN_RESOURCES_OUTPUT", + "LIST_RESOURCE_SCAN_RESOURCES", + "SCANNED_RESOURCES", + "SCAN_TYPE", + "LIST_RESOURCE_SCANS_INPUT", + "LIST_RESOURCE_SCANS_OUTPUT", + "LIST_RESOURCE_SCANS", + "RESOURCE_SCAN_SUMMARY", + "RESOURCE_SCAN_SUMMARIES", + "LIST_STACK_INSTANCE_RESOURCE_DRIFTS_INPUT", + "LIST_STACK_INSTANCE_RESOURCE_DRIFTS_OUTPUT", + "LIST_STACK_INSTANCE_RESOURCE_DRIFTS", + "STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARY", + "STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARIES", + "STACK_INSTANCE_FILTER_NAME", + "STACK_INSTANCE_FILTER_VALUES", + "STACK_INSTANCE_FILTER", + "STACK_INSTANCE_FILTERS", + "LIST_STACK_INSTANCES_INPUT", + "LIST_STACK_INSTANCES_OUTPUT", + "LIST_STACK_INSTANCES", + "STACK_INSTANCE_SUMMARY", + "STACK_INSTANCE_SUMMARIES", + "LIST_STACK_REFACTOR_ACTIONS_INPUT", + "LIST_STACK_REFACTOR_ACTIONS_OUTPUT", + "LIST_STACK_REFACTOR_ACTIONS", + "STACK_REFACTOR_ACTION_TYPE", + "STACK_REFACTOR_DETECTION", + "DETECTION_REASON", + "STACK_REFACTOR_ACTION_ENTITY", + "STACK_REFACTOR_RESOURCE_IDENTIFIER", + "STACK_REFACTOR_TAG_RESOURCES", + "STACK_REFACTOR_UNTAG_RESOURCES", + "STACK_REFACTOR_ACTION", + "STACK_REFACTOR_ACTIONS", + "STACK_REFACTOR_EXECUTION_STATUS_FILTER", + "LIST_STACK_REFACTORS_INPUT", + "LIST_STACK_REFACTORS_OUTPUT", + "LIST_STACK_REFACTORS", + "STACK_REFACTOR_SUMMARY", + "STACK_REFACTOR_SUMMARIES", + "LIST_STACK_RESOURCES_INPUT", + "LIST_STACK_RESOURCES_OUTPUT", + "LIST_STACK_RESOURCES", + "STACK_RESOURCE_DRIFT_INFORMATION_SUMMARY", + "STACK_RESOURCE_SUMMARY", + "STACK_RESOURCE_SUMMARIES", + "STACK_STATUS_FILTER", + "LIST_STACKS_INPUT", + "LIST_STACKS_OUTPUT", + "LIST_STACKS", + "STACK_DRIFT_INFORMATION_SUMMARY", + "TEMPLATE_DESCRIPTION", + "STACK_SUMMARY", + "STACK_SUMMARIES", + "LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_INPUT", + "LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_OUTPUT", + "LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS", + "STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARY", + "STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARIES", + "OPERATION_RESULT_FILTER_NAME", + "OPERATION_RESULT_FILTER_VALUES", + "OPERATION_RESULT_FILTER", + "OPERATION_RESULT_FILTERS", + "LIST_STACK_SET_OPERATION_RESULTS_INPUT", + "LIST_STACK_SET_OPERATION_RESULTS_OUTPUT", + "LIST_STACK_SET_OPERATION_RESULTS", + "STACK_SET_OPERATION_RESULT_STATUS", + "STACK_SET_OPERATION_RESULT_SUMMARY", + "STACK_SET_OPERATION_RESULT_SUMMARIES", + "LIST_STACK_SET_OPERATIONS_INPUT", + "LIST_STACK_SET_OPERATIONS_OUTPUT", + "LIST_STACK_SET_OPERATIONS", + "STACK_SET_OPERATION_SUMMARY", + "STACK_SET_OPERATION_SUMMARIES", + "LIST_STACK_SETS_INPUT", + "LIST_STACK_SETS_OUTPUT", + "LIST_STACK_SETS", + "STACK_SET_SUMMARY", + "STACK_SET_SUMMARIES", + "LIST_TYPE_REGISTRATIONS_INPUT", + "LIST_TYPE_REGISTRATIONS_OUTPUT", + "LIST_TYPE_REGISTRATIONS", + "REGISTRATION_TOKEN_LIST", + ), + ( + "TYPE_NAME_PREFIX", + "TYPE_FILTERS", + "LIST_TYPES_INPUT", + "LIST_TYPES_OUTPUT", + "LIST_TYPES", + "PUBLISHER_NAME", + "TYPE_SUMMARY", + "TYPE_SUMMARIES", + "LIST_TYPE_VERSIONS_INPUT", + "LIST_TYPE_VERSIONS_OUTPUT", + "LIST_TYPE_VERSIONS", + "TYPE_VERSION_SUMMARY", + "TYPE_VERSION_SUMMARIES", + "PUBLISH_TYPE_INPUT", + "PUBLISH_TYPE_OUTPUT", + "PUBLISH_TYPE", + "INVALID_STATE_TRANSITION_EXCEPTION", + "OPERATION_STATUS_CHECK_FAILED_EXCEPTION", + "OPERATION_STATUS", + "HANDLER_ERROR_CODE", + "RESOURCE_MODEL", + "STATUS_MESSAGE", + "RECORD_HANDLER_PROGRESS_INPUT", + "RECORD_HANDLER_PROGRESS_OUTPUT", + "RECORD_HANDLER_PROGRESS", + "CONNECTION_ARN", + "REGISTER_PUBLISHER_INPUT", + "REGISTER_PUBLISHER_OUTPUT", + "REGISTER_PUBLISHER", + "REQUEST_TOKEN", + "S3_URL", + "REGISTER_TYPE_INPUT", + "REGISTER_TYPE_OUTPUT", + "REGISTER_TYPE", + "ROLLBACK_STACK_INPUT", + "ROLLBACK_STACK_OUTPUT", + "ROLLBACK_STACK", + "SET_STACK_POLICY_INPUT", + "SET_STACK_POLICY_OUTPUT", + "SET_STACK_POLICY", + "SET_TYPE_CONFIGURATION_INPUT", + "SET_TYPE_CONFIGURATION_OUTPUT", + "SET_TYPE_CONFIGURATION", + "SET_TYPE_DEFAULT_VERSION_INPUT", + "SET_TYPE_DEFAULT_VERSION_OUTPUT", + "SET_TYPE_DEFAULT_VERSION", + "RESOURCE_SIGNAL_STATUS", + "RESOURCE_SIGNAL_UNIQUE_ID", + "SIGNAL_RESOURCE_INPUT", + "SIGNAL_RESOURCE_OUTPUT", + "SIGNAL_RESOURCE", + "RESOURCE_SCAN_LIMIT_EXCEEDED_EXCEPTION", + "START_RESOURCE_SCAN_INPUT", + "START_RESOURCE_SCAN_OUTPUT", + "START_RESOURCE_SCAN", + "STOP_STACK_SET_OPERATION_INPUT", + "STOP_STACK_SET_OPERATION_OUTPUT", + "STOP_STACK_SET_OPERATION", + "S3_BUCKET", + "TEST_TYPE_INPUT", + "TEST_TYPE_OUTPUT", + "TEST_TYPE", + "REFRESH_ALL_RESOURCES", + "JAZZ_LOGICAL_RESOURCE_IDS", + "UPDATE_GENERATED_TEMPLATE_INPUT", + "UPDATE_GENERATED_TEMPLATE_OUTPUT", + "UPDATE_GENERATED_TEMPLATE", + "STACK_POLICY_DURING_UPDATE_BODY", + "STACK_POLICY_DURING_UPDATE_URL", + "UPDATE_STACK_INPUT", + "UPDATE_STACK_OUTPUT", + "UPDATE_STACK", + "UPDATE_STACK_INSTANCES_INPUT", + "UPDATE_STACK_INSTANCES_OUTPUT", + "UPDATE_STACK_INSTANCES", + "UPDATE_STACK_SET_INPUT", + "UPDATE_STACK_SET_OUTPUT", + "UPDATE_STACK_SET", + "UPDATE_TERMINATION_PROTECTION_INPUT", + "UPDATE_TERMINATION_PROTECTION_OUTPUT", + "UPDATE_TERMINATION_PROTECTION", + "VALIDATE_TEMPLATE_INPUT", + "VALIDATE_TEMPLATE_OUTPUT", + "VALIDATE_TEMPLATE", + "TEMPLATE_PARAMETER", + "TEMPLATE_PARAMETERS", + "CLOUD_FORMATION", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_0.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_0.py new file mode 100644 index 000000000..907af7ff5 --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_0.py @@ -0,0 +1,1060 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.cloudformation" +_ATAC = "AcceptTermsAndConditions" +_A = "Account" +_AFT = "AccountFilterType" +_NONE = "NONE" +_sV = "smithy.api#enumValue" +_INTERSECTION = "INTERSECTION" +_DIFFERENCE = "DIFFERENCE" +_UNION = "UNION" +_AGS = "AccountGateStatus" +_SUCCEEDED = "SUCCEEDED" +_FAILED = "FAILED" +_SKIPPED = "SKIPPED" +_AGSR = "AccountGateStatusReason" +_AGR = "AccountGateResult" +_S = "Status" +_SR = "StatusReason" +_LN = "LimitName" +_LV = "LimitValue" +_AL = "AccountLimit" +_N = "Name" +_V = "Value" +_ALL = "AccountLimitList" +_m = "member" +_ALc = "AccountList" +_AU = "AccountsUrl" +_AOAI = "ActivateOrganizationsAccessInput" +_s = "smithy.api#input" +_AOAO = "ActivateOrganizationsAccessOutput" +_sm = "smithy.api#output" +_EM = "ErrorMessage" +_IOE = "InvalidOperationException" +_smi = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_ONFE = "OperationNotFoundException" +_AOA = "ActivateOrganizationsAccess" +_AUu = "AutoUpdate" +_RARN = "RoleARN2" +_LGN = "LogGroupName" +_LC = "LoggingConfig" +_LRA = "LogRoleArn" +_smit = "smithy.api#required" +_MV = "MajorVersion" +_TPTA = "ThirdPartyTypeArn" +_PI = "PublisherId" +_TPT = "ThirdPartyType" +_RESOURCE = "RESOURCE" +_MODULE = "MODULE" +_HOOK = "HOOK" +_TN = "TypeName" +_VB = "VersionBump" +_MAJOR = "MAJOR" +_MINOR = "MINOR" +_ATI = "ActivateTypeInput" +_T = "Type" +_PTA = "PublicTypeArn" +_TNA = "TypeNameAlias" +_ERA = "ExecutionRoleArn" +_PTAr = "PrivateTypeArn" +_ATO = "ActivateTypeOutput" +_Ar = "Arn" +_CFNRE = "CFNRegistryException" +_TNFE = "TypeNotFoundException" +_AT = "ActivateType" +_AC = "AfterContext" +_AV = "AfterValue" +_AVF = "AfterValueFrom" +_TEMPLATE = "TEMPLATE" +_AVl = "AllowedValue" +_AVll = "AllowedValues" +_AEE = "AlreadyExistsException" +_AN = "AnnotationName" +_ARL = "AnnotationRemediationLink" +_RMRM = "RemediationMessageRemediationMessage" +_ASL = "AnnotationSeverityLevel" +_INFORMATIONAL = "INFORMATIONAL" +_LOW = "LOW" +_MEDIUM = "MEDIUM" +_HIGH = "HIGH" +_CRITICAL = "CRITICAL" +_AS = "AnnotationStatus" +_PASSED = "PASSED" +_RMSM = "RemediationMessageStatusMessage" +_An = "Annotation" +_SM = "StatusMessage" +_RM = "RemediationMessage" +_RL = "RemediationLink" +_SL = "SeverityLevel" +_ALn = "AnnotationList" +_ACT = "AttributeChangeType" +_Ad = "Add" +_R = "Remove" +_Mo = "Modify" +_SWA = "SyncWithActual" +_SSARN = "StackSetARN" +_SSARNL = "StackSetARNList" +_ADN = "AutoDeploymentNullable" +_RSOARN = "RetainStacksOnAccountRemovalNullable" +_AD = "AutoDeployment" +_E = "Enabled" +_RSOAR = "RetainStacksOnAccountRemoval" +_DO = "DependsOn" +_TA = "TypeArn" +_TCA = "TypeConfigurationAlias" +_TCAy = "TypeConfigurationArn" +_TCI = "TypeConfigurationIdentifier" +_TCIy = "TypeConfigurationIdentifiers" +_BDTCI = "BatchDescribeTypeConfigurationsInput" +_EC = "ErrorCode" +_BDTCE = "BatchDescribeTypeConfigurationsError" +_BDTCEa = "BatchDescribeTypeConfigurationsErrors" +_TC = "TypeConfiguration" +_IDC = "IsDefaultConfiguration" +_Ti = "Timestamp" +_TCD = "TypeConfigurationDetails" +_Al = "Alias" +_C = "Configuration" +_LU = "LastUpdated" +_TCDL = "TypeConfigurationDetailsList" +_UTC = "UnprocessedTypeConfigurations" +_BDTCO = "BatchDescribeTypeConfigurationsOutput" +_Er = "Errors" +_TCy = "TypeConfigurations" +_TCNFE = "TypeConfigurationNotFoundException" +_BDTC = "BatchDescribeTypeConfigurations" +_BSOS = "BeaconStackOperationStatus" +_IP = "IN_PROGRESS" +_BC = "BeforeContext" +_BV = "BeforeValue" +_BVF = "BeforeValueFrom" +_PDS = "PREVIOUS_DEPLOYMENT_STATE" +_AS_ = "ACTUAL_STATE" +_BI = "BoxedInteger" +_BMR = "BoxedMaxResults" +_CA = "CallAs" +_SELF = "SELF" +_DA = "DELEGATED_ADMIN" +_CRT = "ClientRequestToken" +_SN = "StackName" +_CUSI = "CancelUpdateStackInput" +_CUSO = "CancelUpdateStackOutput" +_sSI = "smithy.synthetic#originalShapeId" +_sU = "smithy.api#Unit" +_TAEE = "TokenAlreadyExistsException" +_CUS = "CancelUpdateStack" +_Ca = "Capability" +_CI = "CAPABILITY_IAM" +_CNI = "CAPABILITY_NAMED_IAM" +_CAE = "CAPABILITY_AUTO_EXPAND" +_Cap = "Capabilities" +_CR = "CapabilitiesReason" +_Cat = "Category" +_REGISTERED = "REGISTERED" +_ACTIVATED = "ACTIVATED" +_TP = "THIRD_PARTY" +_AT_ = "AWS_TYPES" +_CE = "CausingEntity" +_HIC = "HookInvocationCount" +_CAh = "ChangeAction" +_I = "Import" +_D = "Dynamic" +_CSI = "ChangeSetId" +_CS = "ChangeSource" +_RR = "ResourceReference" +_PR = "ParameterReference" +_RA = "ResourceAttribute" +_DM = "DirectModification" +_Au = "Automatic" +_NM = "NoModification" +_ET = "EvaluationType" +_St = "Static" +_P = "Properties" +_Me = "Metadata" +_CP = "CreationPolicy" +_UP = "UpdatePolicy" +_DP = "DeletionPolicy" +_URP = "UpdateReplacePolicy" +_Ta = "Tags" +_RDAV = "ResourceDriftActualValue" +_RDPV = "ResourceDriftPreviousValue" +_LRD = "LiveResourceDrift" +_PV = "PreviousValue" +_AVc = "ActualValue" +_DDT = "DriftDetectionTimestamp" +_PN = "PropertyName" +_RPP = "ResourcePropertyPath" +_RRe = "RequiresRecreation" +_Ne = "Never" +_Co = "Conditionally" +_Alw = "Always" +_RTD = "ResourceTargetDefinition" +_At = "Attribute" +_Pa = "Path" +_Dr = "Drift" +_RCD = "ResourceChangeDetail" +_Tar = "Target" +_Ev = "Evaluation" +_RCDe = "ResourceChangeDetails" +_LRI = "LogicalResourceId" +_LIH = "LogicalIdHierarchy" +_TH = "TypeHierarchy" +_MI = "ModuleInfo" +_PRI = "PhysicalResourceId" +_PA = "PolicyAction" +_De = "Delete" +_Re = "Retain" +_Sn = "Snapshot" +_RAD = "ReplaceAndDelete" +_RAR = "ReplaceAndRetain" +_RAS = "ReplaceAndSnapshot" +_PDC = "PreviousDeploymentContext" +_Rep = "Replacement" +_Tr = "True" +_F = "False" +_Con = "Conditional" +_DIR = "DriftIgnoredReason" +_MBA = "MANAGED_BY_AWS" +_WOP = "WRITE_ONLY_PROPERTY" +_SP = "SENSITIVE_PROPERTY" +_RDIA = "ResourceDriftIgnoredAttribute" +_Rea = "Reason" +_RDIAe = "ResourceDriftIgnoredAttributes" +_SRDS = "StackResourceDriftStatus" +_IS = "IN_SYNC" +_MODIFIED = "MODIFIED" +_DELETED = "DELETED" +_NC = "NOT_CHECKED" +_UNKNOWN = "UNKNOWN" +_UNSUPPORTED = "UNSUPPORTED" +_RT = "ResourceType" +_TVI = "TypeVersionId" +_CTl = "ClientToken" +_RTe = "ResourceTypes" +_SPB = "StackPolicyBody" +_SPURL = "StackPolicyURL" +_RTeg = "RegistryType" + +ACCEPT_TERMS_AND_CONDITIONS: StaticSchema = (2, n0, _ATAC, 0) + +ACCOUNT: StaticSchema = (3, n0, _A, 0) + +ACCOUNT_FILTER_TYPE: StaticSchema = ( + 14, + n0, + _AFT, + 0, + (_NONE, _INTERSECTION, _DIFFERENCE, _UNION), + ( + (-1, {_sV: _NONE}), + (-1, {_sV: _INTERSECTION}), + (-1, {_sV: _DIFFERENCE}), + (-1, {_sV: _UNION}), + ), +) + +ACCOUNT_GATE_STATUS: StaticSchema = ( + 14, + n0, + _AGS, + 0, + (_SUCCEEDED, _FAILED, _SKIPPED), + ((-1, {_sV: _SUCCEEDED}), (-1, {_sV: _FAILED}), (-1, {_sV: _SKIPPED})), +) + +ACCOUNT_GATE_STATUS_REASON: StaticSchema = (3, n0, _AGSR, 0) + +ACCOUNT_GATE_RESULT: StaticSchema = ( + 18, + n0, + _AGR, + 0, + (_S, _SR), + ((ACCOUNT_GATE_STATUS, 0), (ACCOUNT_GATE_STATUS_REASON, 0)), +) + +LIMIT_NAME: StaticSchema = (3, n0, _LN, 0) + +LIMIT_VALUE: StaticSchema = (7, n0, _LV, 0) + +ACCOUNT_LIMIT: StaticSchema = ( + 18, + n0, + _AL, + 0, + (_N, _V), + ((LIMIT_NAME, 0), (LIMIT_VALUE, 0)), +) + +ACCOUNT_LIMIT_LIST: StaticSchema = (16, n0, _ALL, 0, (_m,), ((ACCOUNT_LIMIT, 0),)) + +ACCOUNT_LIST: StaticSchema = (16, n0, _ALc, 0, (_m,), ((ACCOUNT, 0),)) + +ACCOUNTS_URL: StaticSchema = (3, n0, _AU, 0) + +ACTIVATE_ORGANIZATIONS_ACCESS_INPUT: StaticSchema = (18, n0, _AOAI, {_s: None}) + +ACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT: StaticSchema = (18, n0, _AOAO, {_sm: None}) + +ACTIVATE_ORGANIZATIONS_ACCESS: StaticOperationSchema = ( + 23, + n0, + _AOA, + 0, + ACTIVATE_ORGANIZATIONS_ACCESS_INPUT, + ACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT, + (lambda: INVALID_OPERATION_EXCEPTION, lambda: OPERATION_NOT_FOUND_EXCEPTION), +) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +INVALID_OPERATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _IOE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidOperationException", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +OPERATION_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _ONFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "OperationNotFoundException", "httpResponseCode": 404} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +AUTO_UPDATE: StaticSchema = (2, n0, _AUu, 0) + +ROLE_ARN2: StaticSchema = (3, n0, _RARN, 0) + +LOG_GROUP_NAME: StaticSchema = (3, n0, _LGN, 0) + +LOGGING_CONFIG: StaticSchema = ( + 18, + n0, + _LC, + 0, + (_LRA, _LGN), + ((ROLE_ARN2, 1), (LOG_GROUP_NAME, 1)), +) + +MAJOR_VERSION: StaticSchema = (8, n0, _MV, 0) + +THIRD_PARTY_TYPE_ARN: StaticSchema = (3, n0, _TPTA, 0) + +PUBLISHER_ID: StaticSchema = (3, n0, _PI, 0) + +THIRD_PARTY_TYPE: StaticSchema = ( + 14, + n0, + _TPT, + 0, + (_RESOURCE, _MODULE, _HOOK), + ((-1, {_sV: _RESOURCE}), (-1, {_sV: _MODULE}), (-1, {_sV: _HOOK})), +) + +TYPE_NAME: StaticSchema = (3, n0, _TN, 0) + +VERSION_BUMP: StaticSchema = ( + 14, + n0, + _VB, + 0, + (_MAJOR, _MINOR), + ((-1, {_sV: _MAJOR}), (-1, {_sV: _MINOR})), +) + +ACTIVATE_TYPE_INPUT: StaticSchema = ( + 18, + n0, + _ATI, + {_s: None}, + (_T, _PTA, _PI, _TN, _TNA, _AUu, _LC, _ERA, _VB, _MV), + ( + (THIRD_PARTY_TYPE, 0), + (THIRD_PARTY_TYPE_ARN, 0), + (PUBLISHER_ID, 0), + (TYPE_NAME, 0), + (TYPE_NAME, 0), + (AUTO_UPDATE, 0), + (LOGGING_CONFIG, 0), + (ROLE_ARN2, 0), + (VERSION_BUMP, 0), + (MAJOR_VERSION, 0), + ), +) + +ACTIVATE_TYPE_OUTPUT: StaticSchema = ( + 18, + n0, + _ATO, + {_sm: None}, + (_Ar,), + ((lambda: PRIVATE_TYPE_ARN, 0),), +) + +ACTIVATE_TYPE: StaticOperationSchema = ( + 23, + n0, + _AT, + 0, + ACTIVATE_TYPE_INPUT, + ACTIVATE_TYPE_OUTPUT, + (lambda: CFN_REGISTRY_EXCEPTION, lambda: TYPE_NOT_FOUND_EXCEPTION), +) + +PRIVATE_TYPE_ARN: StaticSchema = (3, n0, _PTAr, 0) + +CFN_REGISTRY_EXCEPTION: StaticSchema = ( + 18, + n0, + _CFNRE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CFNRegistryException", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +TYPE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _TNFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "TypeNotFoundException", "httpResponseCode": 404} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +AFTER_CONTEXT: StaticSchema = (3, n0, _AC, 0) + +AFTER_VALUE: StaticSchema = (3, n0, _AV, 0) + +AFTER_VALUE_FROM: StaticSchema = ( + 14, + n0, + _AVF, + 0, + (_TEMPLATE,), + ((-1, {_sV: _TEMPLATE}),), +) + +ALLOWED_VALUE: StaticSchema = (3, n0, _AVl, 0) + +ALLOWED_VALUES: StaticSchema = (16, n0, _AVll, 0, (_m,), ((ALLOWED_VALUE, 0),)) + +ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _AEE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "AlreadyExistsException", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +ANNOTATION_NAME: StaticSchema = (3, n0, _AN, 0) + +ANNOTATION_REMEDIATION_LINK: StaticSchema = (3, n0, _ARL, 0) + +REMEDIATION_MESSAGE_REMEDIATION_MESSAGE: StaticSchema = (3, n0, _RMRM, 0) + +ANNOTATION_SEVERITY_LEVEL: StaticSchema = ( + 14, + n0, + _ASL, + 0, + (_INFORMATIONAL, _LOW, _MEDIUM, _HIGH, _CRITICAL), + ( + (-1, {_sV: _INFORMATIONAL}), + (-1, {_sV: _LOW}), + (-1, {_sV: _MEDIUM}), + (-1, {_sV: _HIGH}), + (-1, {_sV: _CRITICAL}), + ), +) + +ANNOTATION_STATUS: StaticSchema = ( + 14, + n0, + _AS, + 0, + (_PASSED, _FAILED, _SKIPPED), + ((-1, {_sV: _PASSED}), (-1, {_sV: _FAILED}), (-1, {_sV: _SKIPPED})), +) + +REMEDIATION_MESSAGE_STATUS_MESSAGE: StaticSchema = (3, n0, _RMSM, 0) + +ANNOTATION: StaticSchema = ( + 18, + n0, + _An, + 0, + (_AN, _S, _SM, _RM, _RL, _SL), + ( + (ANNOTATION_NAME, 0), + (ANNOTATION_STATUS, 0), + (REMEDIATION_MESSAGE_STATUS_MESSAGE, 0), + (REMEDIATION_MESSAGE_REMEDIATION_MESSAGE, 0), + (ANNOTATION_REMEDIATION_LINK, 0), + (ANNOTATION_SEVERITY_LEVEL, 0), + ), +) + +ANNOTATION_LIST: StaticSchema = (16, n0, _ALn, 0, (_m,), ((ANNOTATION, 0),)) + +ARN: StaticSchema = (3, n0, _Ar, 0) + +ATTRIBUTE_CHANGE_TYPE: StaticSchema = ( + 14, + n0, + _ACT, + 0, + (_Ad, _R, _Mo, _SWA), + ((-1, {_sV: _Ad}), (-1, {_sV: _R}), (-1, {_sV: _Mo}), (-1, {_sV: _SWA})), +) + +STACK_SET_ARN: StaticSchema = (3, n0, _SSARN, 0) + +STACK_SET_ARN_LIST: StaticSchema = (16, n0, _SSARNL, 0, (_m,), ((STACK_SET_ARN, 0),)) + +AUTO_DEPLOYMENT_NULLABLE: StaticSchema = (2, n0, _ADN, 0) + +RETAIN_STACKS_ON_ACCOUNT_REMOVAL_NULLABLE: StaticSchema = (2, n0, _RSOARN, 0) + +AUTO_DEPLOYMENT: StaticSchema = ( + 18, + n0, + _AD, + 0, + (_E, _RSOAR, _DO), + ( + (AUTO_DEPLOYMENT_NULLABLE, 0), + (RETAIN_STACKS_ON_ACCOUNT_REMOVAL_NULLABLE, 0), + (STACK_SET_ARN_LIST, 0), + ), +) + +TYPE_ARN: StaticSchema = (3, n0, _TA, 0) + +TYPE_CONFIGURATION_ALIAS: StaticSchema = (3, n0, _TCA, 0) + +TYPE_CONFIGURATION_ARN: StaticSchema = (3, n0, _TCAy, 0) + +TYPE_CONFIGURATION_IDENTIFIER: StaticSchema = ( + 18, + n0, + _TCI, + 0, + (_TA, _TCA, _TCAy, _T, _TN), + ( + (TYPE_ARN, 0), + (TYPE_CONFIGURATION_ALIAS, 0), + (TYPE_CONFIGURATION_ARN, 0), + (THIRD_PARTY_TYPE, 0), + (TYPE_NAME, 0), + ), +) + +TYPE_CONFIGURATION_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _TCIy, + 0, + (_m,), + ((TYPE_CONFIGURATION_IDENTIFIER, 0),), +) + +BATCH_DESCRIBE_TYPE_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _BDTCI, + {_s: None}, + (_TCIy,), + ((TYPE_CONFIGURATION_IDENTIFIERS, 1),), +) + +BATCH_DESCRIBE_TYPE_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _BDTCO, + {_sm: None}, + (_Er, _UTC, _TCy), + ( + (lambda: BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERRORS, 0), + (lambda: UNPROCESSED_TYPE_CONFIGURATIONS, 0), + (lambda: TYPE_CONFIGURATION_DETAILS_LIST, 0), + ), +) + +BATCH_DESCRIBE_TYPE_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _BDTC, + 0, + BATCH_DESCRIBE_TYPE_CONFIGURATIONS_INPUT, + BATCH_DESCRIBE_TYPE_CONFIGURATIONS_OUTPUT, + (CFN_REGISTRY_EXCEPTION, lambda: TYPE_CONFIGURATION_NOT_FOUND_EXCEPTION), +) + +ERROR_CODE: StaticSchema = (3, n0, _EC, 0) + +BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERROR: StaticSchema = ( + 18, + n0, + _BDTCE, + 0, + (_EC, _EM, _TCI), + ((ERROR_CODE, 0), (ERROR_MESSAGE, 0), (TYPE_CONFIGURATION_IDENTIFIER, 0)), +) + +BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERRORS: StaticSchema = ( + 16, + n0, + _BDTCEa, + 0, + (_m,), + ((BATCH_DESCRIBE_TYPE_CONFIGURATIONS_ERROR, 0),), +) + +TYPE_CONFIGURATION: StaticSchema = (3, n0, _TC, 0) + +IS_DEFAULT_CONFIGURATION: StaticSchema = (2, n0, _IDC, 0) + +TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) + +TYPE_CONFIGURATION_DETAILS: StaticSchema = ( + 18, + n0, + _TCD, + 0, + (_Ar, _Al, _C, _LU, _TA, _TN, _IDC), + ( + (TYPE_CONFIGURATION_ARN, 0), + (TYPE_CONFIGURATION_ALIAS, 0), + (TYPE_CONFIGURATION, 0), + (TIMESTAMP, 0), + (TYPE_ARN, 0), + (TYPE_NAME, 0), + (IS_DEFAULT_CONFIGURATION, 0), + ), +) + +TYPE_CONFIGURATION_DETAILS_LIST: StaticSchema = ( + 16, + n0, + _TCDL, + 0, + (_m,), + ((TYPE_CONFIGURATION_DETAILS, 0),), +) + +UNPROCESSED_TYPE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _UTC, + 0, + (_m,), + ((TYPE_CONFIGURATION_IDENTIFIER, 0),), +) + +TYPE_CONFIGURATION_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _TCNFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "TypeConfigurationNotFoundException", "httpResponseCode": 404} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +BEACON_STACK_OPERATION_STATUS: StaticSchema = ( + 14, + n0, + _BSOS, + 0, + (_IP, _SUCCEEDED, _FAILED), + ((-1, {_sV: _IP}), (-1, {_sV: _SUCCEEDED}), (-1, {_sV: _FAILED})), +) + +BEFORE_CONTEXT: StaticSchema = (3, n0, _BC, 0) + +BEFORE_VALUE: StaticSchema = (3, n0, _BV, 0) + +BEFORE_VALUE_FROM: StaticSchema = ( + 14, + n0, + _BVF, + 0, + (_PDS, _AS_), + ((-1, {_sV: _PDS}), (-1, {_sV: _AS_})), +) + +BOXED_INTEGER: StaticSchema = (7, n0, _BI, 0) + +BOXED_MAX_RESULTS: StaticSchema = (7, n0, _BMR, 0) + +CALL_AS: StaticSchema = ( + 14, + n0, + _CA, + 0, + (_SELF, _DA), + ((-1, {_sV: _SELF}), (-1, {_sV: _DA})), +) + +CLIENT_REQUEST_TOKEN: StaticSchema = (3, n0, _CRT, 0) + +STACK_NAME: StaticSchema = (3, n0, _SN, 0) + +CANCEL_UPDATE_STACK_INPUT: StaticSchema = ( + 18, + n0, + _CUSI, + {_s: None}, + (_SN, _CRT), + ((STACK_NAME, 1), (CLIENT_REQUEST_TOKEN, 0)), +) + +CANCEL_UPDATE_STACK_OUTPUT: StaticSchema = (18, n0, _CUSO, {_sSI: _sU, _sm: None}) + +CANCEL_UPDATE_STACK: StaticOperationSchema = ( + 23, + n0, + _CUS, + 0, + CANCEL_UPDATE_STACK_INPUT, + CANCEL_UPDATE_STACK_OUTPUT, + (lambda: TOKEN_ALREADY_EXISTS_EXCEPTION,), +) + +TOKEN_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TAEE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "TokenAlreadyExistsException", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CAPABILITY: StaticSchema = ( + 14, + n0, + _Ca, + 0, + (_CI, _CNI, _CAE), + ((-1, {_sV: _CI}), (-1, {_sV: _CNI}), (-1, {_sV: _CAE})), +) + +CAPABILITIES: StaticSchema = (16, n0, _Cap, 0, (_m,), ((CAPABILITY, 0),)) + +CAPABILITIES_REASON: StaticSchema = (3, n0, _CR, 0) + +CATEGORY: StaticSchema = ( + 14, + n0, + _Cat, + 0, + (_REGISTERED, _ACTIVATED, _TP, _AT_), + ( + (-1, {_sV: _REGISTERED}), + (-1, {_sV: _ACTIVATED}), + (-1, {_sV: _TP}), + (-1, {_sV: _AT_}), + ), +) + +CAUSING_ENTITY: StaticSchema = (3, n0, _CE, 0) + +HOOK_INVOCATION_COUNT: StaticSchema = (7, n0, _HIC, 0) + +CHANGE_ACTION: StaticSchema = ( + 14, + n0, + _CAh, + 0, + (_Ad, _Mo, _R, _I, _D, _SWA), + ( + (-1, {_sV: _Ad}), + (-1, {_sV: _Mo}), + (-1, {_sV: _R}), + (-1, {_sV: _I}), + (-1, {_sV: _D}), + (-1, {_sV: _SWA}), + ), +) + +CHANGE_SET_ID: StaticSchema = (3, n0, _CSI, 0) + +CHANGE_SOURCE: StaticSchema = ( + 14, + n0, + _CS, + 0, + (_RR, _PR, _RA, _DM, _Au, _NM), + ( + (-1, {_sV: _RR}), + (-1, {_sV: _PR}), + (-1, {_sV: _RA}), + (-1, {_sV: _DM}), + (-1, {_sV: _Au}), + (-1, {_sV: _NM}), + ), +) + +EVALUATION_TYPE: StaticSchema = ( + 14, + n0, + _ET, + 0, + (_St, _D), + ((-1, {_sV: _St}), (-1, {_sV: _D})), +) + +RESOURCE_ATTRIBUTE: StaticSchema = ( + 14, + n0, + _RA, + 0, + (_P, _Me, _CP, _UP, _DP, _URP, _Ta), + ( + (-1, {_sV: _P}), + (-1, {_sV: _Me}), + (-1, {_sV: _CP}), + (-1, {_sV: _UP}), + (-1, {_sV: _DP}), + (-1, {_sV: _URP}), + (-1, {_sV: _Ta}), + ), +) + +RESOURCE_DRIFT_ACTUAL_VALUE: StaticSchema = (3, n0, _RDAV, 0) + +RESOURCE_DRIFT_PREVIOUS_VALUE: StaticSchema = (3, n0, _RDPV, 0) + +LIVE_RESOURCE_DRIFT: StaticSchema = ( + 18, + n0, + _LRD, + 0, + (_PV, _AVc, _DDT), + ( + (RESOURCE_DRIFT_PREVIOUS_VALUE, 0), + (RESOURCE_DRIFT_ACTUAL_VALUE, 0), + (TIMESTAMP, 0), + ), +) + +PROPERTY_NAME: StaticSchema = (3, n0, _PN, 0) + +RESOURCE_PROPERTY_PATH: StaticSchema = (3, n0, _RPP, 0) + +REQUIRES_RECREATION: StaticSchema = ( + 14, + n0, + _RRe, + 0, + (_Ne, _Co, _Alw), + ((-1, {_sV: _Ne}), (-1, {_sV: _Co}), (-1, {_sV: _Alw})), +) + +RESOURCE_TARGET_DEFINITION: StaticSchema = ( + 18, + n0, + _RTD, + 0, + (_At, _N, _RRe, _Pa, _BV, _AV, _BVF, _AVF, _Dr, _ACT), + ( + (RESOURCE_ATTRIBUTE, 0), + (PROPERTY_NAME, 0), + (REQUIRES_RECREATION, 0), + (RESOURCE_PROPERTY_PATH, 0), + (BEFORE_VALUE, 0), + (AFTER_VALUE, 0), + (BEFORE_VALUE_FROM, 0), + (AFTER_VALUE_FROM, 0), + (LIVE_RESOURCE_DRIFT, 0), + (ATTRIBUTE_CHANGE_TYPE, 0), + ), +) + +RESOURCE_CHANGE_DETAIL: StaticSchema = ( + 18, + n0, + _RCD, + 0, + (_Tar, _Ev, _CS, _CE), + ( + (RESOURCE_TARGET_DEFINITION, 0), + (EVALUATION_TYPE, 0), + (CHANGE_SOURCE, 0), + (CAUSING_ENTITY, 0), + ), +) + +RESOURCE_CHANGE_DETAILS: StaticSchema = ( + 16, + n0, + _RCDe, + 0, + (_m,), + ((RESOURCE_CHANGE_DETAIL, 0),), +) + +LOGICAL_RESOURCE_ID: StaticSchema = (3, n0, _LRI, 0) + +LOGICAL_ID_HIERARCHY: StaticSchema = (3, n0, _LIH, 0) + +TYPE_HIERARCHY: StaticSchema = (3, n0, _TH, 0) + +MODULE_INFO: StaticSchema = ( + 18, + n0, + _MI, + 0, + (_TH, _LIH), + ((TYPE_HIERARCHY, 0), (LOGICAL_ID_HIERARCHY, 0)), +) + +PHYSICAL_RESOURCE_ID: StaticSchema = (3, n0, _PRI, 0) + +POLICY_ACTION: StaticSchema = ( + 14, + n0, + _PA, + 0, + (_De, _Re, _Sn, _RAD, _RAR, _RAS), + ( + (-1, {_sV: _De}), + (-1, {_sV: _Re}), + (-1, {_sV: _Sn}), + (-1, {_sV: _RAD}), + (-1, {_sV: _RAR}), + (-1, {_sV: _RAS}), + ), +) + +PREVIOUS_DEPLOYMENT_CONTEXT: StaticSchema = (3, n0, _PDC, 0) + +REPLACEMENT: StaticSchema = ( + 14, + n0, + _Rep, + 0, + (_Tr, _F, _Con), + ((-1, {_sV: _Tr}), (-1, {_sV: _F}), (-1, {_sV: _Con})), +) + +DRIFT_IGNORED_REASON: StaticSchema = ( + 14, + n0, + _DIR, + 0, + (_MBA, _WOP, _SP), + ((-1, {_sV: _MBA}), (-1, {_sV: _WOP}), (-1, {_sV: _SP})), +) + +RESOURCE_DRIFT_IGNORED_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _RDIA, + 0, + (_Pa, _Rea), + ((RESOURCE_PROPERTY_PATH, 0), (DRIFT_IGNORED_REASON, 0)), +) + +RESOURCE_DRIFT_IGNORED_ATTRIBUTES: StaticSchema = ( + 16, + n0, + _RDIAe, + 0, + (_m,), + ((RESOURCE_DRIFT_IGNORED_ATTRIBUTE, 0),), +) + +STACK_RESOURCE_DRIFT_STATUS: StaticSchema = ( + 14, + n0, + _SRDS, + 0, + (_IS, _MODIFIED, _DELETED, _NC, _UNKNOWN, _UNSUPPORTED), + ( + (-1, {_sV: _IS}), + (-1, {_sV: _MODIFIED}), + (-1, {_sV: _DELETED}), + (-1, {_sV: _NC}), + (-1, {_sV: _UNKNOWN}), + (-1, {_sV: _UNSUPPORTED}), + ), +) + +RESOURCE_TYPE: StaticSchema = (3, n0, _RT, 0) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) + +RESOURCE_TYPES: StaticSchema = (16, n0, _RTe, 0, (_m,), ((RESOURCE_TYPE, 0),)) + +STACK_POLICY_BODY: StaticSchema = (3, n0, _SPB, 0) + +STACK_POLICY_URL: StaticSchema = (3, n0, _SPURL, 0) + +REGISTRY_TYPE: StaticSchema = ( + 14, + n0, + _RTeg, + 0, + (_RESOURCE, _MODULE, _HOOK), + ((-1, {_sV: _RESOURCE}), (-1, {_sV: _MODULE}), (-1, {_sV: _HOOK})), +) + +TYPE_VERSION_ID: StaticSchema = (3, n0, _TVI, 0) diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_1.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_1.py new file mode 100644 index 000000000..1fcde3856 --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_1.py @@ -0,0 +1,1071 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudformation" +_AFT = "AccountFilterType" +_sV = "smithy.api#enumValue" +_FAILED = "FAILED" +_S = "Status" +_SR = "StatusReason" +_V = "Value" +_m = "member" +_AU = "AccountsUrl" +_s = "smithy.api#input" +_sm = "smithy.api#output" +_smi = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_smit = "smithy.api#required" +_RESOURCE = "RESOURCE" +_TN = "TypeName" +_T = "Type" +_Ar = "Arn" +_AC = "AfterContext" +_BC = "BeforeContext" +_CRT = "ClientRequestToken" +_SN = "StackName" +_Cap = "Capabilities" +_HIC = "HookInvocationCount" +_CSI = "ChangeSetId" +_DP = "DeletionPolicy" +_URP = "UpdateReplacePolicy" +_Ta = "Tags" +_LRI = "LogicalResourceId" +_MI = "ModuleInfo" +_PRI = "PhysicalResourceId" +_PA = "PolicyAction" +_PDC = "PreviousDeploymentContext" +_Rep = "Replacement" +_RDIAe = "ResourceDriftIgnoredAttributes" +_IS = "IN_SYNC" +_NC = "NOT_CHECKED" +_UNKNOWN = "UNKNOWN" +_RT = "ResourceType" +_Sc = "Scope" +_RC = "ResourceChange" +_Ac = "Action" +_RDS = "ResourceDriftStatus" +_Det = "Details" +_CT = "ChangeType" +_Res = "Resource" +_Ch = "Change" +_Cha = "Changes" +_HFM = "HookFailureMode" +_FAIL = "FAIL" +_WARN = "WARN" +_HIP = "HookInvocationPoint" +_PP = "PRE_PROVISION" +_HTTN = "HookTargetTypeName" +_CSHRTD = "ChangeSetHookResourceTargetDetails" +_RAe = "ResourceAction" +_HTT = "HookTargetType" +_CSHTD = "ChangeSetHookTargetDetails" +_TT = "TargetType" +_RTDe = "ResourceTargetDetails" +_HTCVI = "HookTypeConfigurationVersionId" +_HTN = "HookTypeName" +_HTVI = "HookTypeVersionId" +_CSH = "ChangeSetHook" +_IPn = "InvocationPoint" +_FM = "FailureMode" +_TVI = "TypeVersionId" +_TCVI = "TypeConfigurationVersionId" +_TD = "TargetDetails" +_CSHh = "ChangeSetHooks" +_CSHS = "ChangeSetHooksStatus" +_PLANNING = "PLANNING" +_PLANNED = "PLANNED" +_UNAVAILABLE = "UNAVAILABLE" +_CSN = "ChangeSetName" +_CSNOI = "ChangeSetNameOrId" +_CSNFE = "ChangeSetNotFoundException" +_CSS = "ChangeSetStatus" +_CP_ = "CREATE_PENDING" +_CIP = "CREATE_IN_PROGRESS" +_CC = "CREATE_COMPLETE" +_DP_ = "DELETE_PENDING" +_DIP = "DELETE_IN_PROGRESS" +_DC = "DELETE_COMPLETE" +_DF = "DELETE_FAILED" +_CSSR = "ChangeSetStatusReason" +_CTr = "CreationTime" +_Des = "Description" +_ES = "ExecutionStatus" +_AVAILABLE = "AVAILABLE" +_EIP = "EXECUTE_IN_PROGRESS" +_EC_ = "EXECUTE_COMPLETE" +_EF = "EXECUTE_FAILED" +_OBSOLETE = "OBSOLETE" +_IER = "ImportExistingResources" +_INS = "IncludeNestedStacks" +_SI = "StackId" +_CSSh = "ChangeSetSummary" +_PCSI = "ParentChangeSetId" +_RCSI = "RootChangeSetId" +_CSSha = "ChangeSetSummaries" +_CST = "ChangeSetType" +_CREATE = "CREATE" +_UPDATE = "UPDATE" +_IMPORT = "IMPORT" +_CTl = "ClientToken" +_FR = "ForceRollback" +_RTS = "ResourceToSkip" +_RTSe = "ResourcesToSkip" +_RARNo = "RoleARN" +_SNOI = "StackNameOrId" +_CURI = "ContinueUpdateRollbackInput" +_CURO = "ContinueUpdateRollbackOutput" +_CUR = "ContinueUpdateRollback" +_DR = "DisableRollback" +_DCM = "DeploymentConfigMode" +_STANDARD = "STANDARD" +_EXPRESS = "EXPRESS" +_DCe = "DeploymentConfig" +_Mod = "Mode" +_DMe = "DeploymentMode" +_RD = "REVERT_DRIFT" +_DV = "DisableValidation" +_NARN = "NotificationARN" +_NARNo = "NotificationARNs" +_OSF = "OnStackFailure" +_DN = "DO_NOTHING" +_ROLLBACK = "ROLLBACK" +_DELETE = "DELETE" +_PK = "ParameterKey" +_PVa = "ParameterValue" +_UPV = "UsePreviousValue" +_Par = "Parameter" +_RV = "ResolvedValue" +_Para = "Parameters" +_RIPK = "ResourceIdentifierPropertyKey" +_RIPV = "ResourceIdentifierPropertyValue" +_RIP = "ResourceIdentifierProperties" +_k = "key" +_v = "value" +_RTI = "ResourceToImport" +_RI = "ResourceIdentifier" +_RTIe = "ResourcesToImport" +_RTe = "ResourceTypes" +_MTIM = "MonitoringTimeInMinutes" +_RTo = "RollbackTrigger" +_RTol = "RollbackTriggers" +_RCo = "RollbackConfiguration" +_TK = "TagKey" +_TV = "TagValue" +_Tag = "Tag" +_K = "Key" +_TB = "TemplateBody" +_TURL = "TemplateURL" +_UPT = "UsePreviousTemplate" +_CCSI = "CreateChangeSetInput" +_CCSO = "CreateChangeSetOutput" +_Id = "Id" +_ICE = "InsufficientCapabilitiesException" +_LEE = "LimitExceededException" +_CCS = "CreateChangeSet" +_CRLEE = "ConcurrentResourcesLimitExceededException" +_GTN = "GeneratedTemplateName" +_RDe = "ResourceDefinition" +_RDes = "ResourceDefinitions" +_GTDP = "GeneratedTemplateDeletionPolicy" +_RETAIN = "RETAIN" +_GTURP = "GeneratedTemplateUpdateReplacePolicy" +_TCe = "TemplateConfiguration" +_CGTI = "CreateGeneratedTemplateInput" +_Reso = "Resources" +_GTI = "GeneratedTemplateId" +_CGTO = "CreateGeneratedTemplateOutput" +_CGT = "CreateGeneratedTemplate" +_ETP = "EnableTerminationProtection" +_OF = "OnFailure" +_REOC = "RetainExceptOnCreate" +_SPB = "StackPolicyBody" +_SPURL = "StackPolicyURL" +_TM = "TimeoutMinutes" +_CSIr = "CreateStackInput" +_TIM = "TimeoutInMinutes" +_OI = "OperationId" +_CSO = "CreateStackOutput" +_CSr = "CreateStack" +_OUI = "OrganizationalUnitId" +_OUIL = "OrganizationalUnitIdList" +_DT = "DeploymentTargets" +_Acc = "Accounts" +_OUIr = "OrganizationalUnitIds" +_CM = "ConcurrencyMode" +_SFT = "STRICT_FAILURE_TOLERANCE" +_SFT_ = "SOFT_FAILURE_TOLERANCE" +_FTC = "FailureToleranceCount" +_FTP = "FailureTolerancePercentage" +_MCC = "MaxConcurrentCount" +_MCP = "MaxConcurrentPercentage" +_RCT = "RegionConcurrencyType" +_SEQUENTIAL = "SEQUENTIAL" +_PARALLEL = "PARALLEL" +_Reg = "Region" +_RLe = "RegionList" +_SRI = "StackRefactorId" +_ICSSE = "InvalidChangeSetStatusException" +_GTNFE = "GeneratedTemplateNotFoundException" +_SDS = "StackDriftStatus" +_DRIFTED = "DRIFTED" +_UIP = "UPDATE_IN_PROGRESS" +_LUT = "LastUpdatedTime" +_COMPLETE = "COMPLETE" +_PPr = "PropertyPath" +_GTS = "GeneratedTemplateStatus" +_UP__ = "UPDATE_PENDING" +_SDDI = "StackDriftDetectionId" + +SCOPE: StaticSchema = ( + 16, + n0, + _Sc, + 0, + (_m,), + ((lambda: schemas.RESOURCE_ATTRIBUTE, 0),), +) + +RESOURCE_CHANGE: StaticSchema = ( + 18, + n0, + _RC, + 0, + ( + _PA, + _Ac, + _LRI, + _PRI, + _RT, + _Rep, + _Sc, + _RDS, + _RDIAe, + _Det, + _CSI, + _MI, + _BC, + _AC, + _PDC, + ), + ( + (lambda: schemas.POLICY_ACTION, 0), + (lambda: schemas.CHANGE_ACTION, 0), + (lambda: schemas.LOGICAL_RESOURCE_ID, 0), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + (lambda: schemas.RESOURCE_TYPE, 0), + (lambda: schemas.REPLACEMENT, 0), + (SCOPE, 0), + (lambda: schemas.STACK_RESOURCE_DRIFT_STATUS, 0), + (lambda: schemas.RESOURCE_DRIFT_IGNORED_ATTRIBUTES, 0), + (lambda: schemas.RESOURCE_CHANGE_DETAILS, 0), + (lambda: schemas.CHANGE_SET_ID, 0), + (lambda: schemas.MODULE_INFO, 0), + (lambda: schemas.BEFORE_CONTEXT, 0), + (lambda: schemas.AFTER_CONTEXT, 0), + (lambda: schemas.PREVIOUS_DEPLOYMENT_CONTEXT, 0), + ), +) + +CHANGE_TYPE: StaticSchema = (14, n0, _CT, 0, (_Res,), ((-1, {_sV: _Res}),)) + +CHANGE: StaticSchema = ( + 18, + n0, + _Ch, + 0, + (_T, _HIC, _RC), + ( + (CHANGE_TYPE, 0), + (lambda: schemas.HOOK_INVOCATION_COUNT, 0), + (RESOURCE_CHANGE, 0), + ), +) + +CHANGES: StaticSchema = (16, n0, _Cha, 0, (_m,), ((CHANGE, 0),)) + +HOOK_FAILURE_MODE: StaticSchema = ( + 14, + n0, + _HFM, + 0, + (_FAIL, _WARN), + ((-1, {_sV: _FAIL}), (-1, {_sV: _WARN})), +) + +HOOK_INVOCATION_POINT: StaticSchema = (14, n0, _HIP, 0, (_PP,), ((-1, {_sV: _PP}),)) + +HOOK_TARGET_TYPE_NAME: StaticSchema = (3, n0, _HTTN, 0) + +CHANGE_SET_HOOK_RESOURCE_TARGET_DETAILS: StaticSchema = ( + 18, + n0, + _CSHRTD, + 0, + (_LRI, _RT, _RAe), + ( + (lambda: schemas.LOGICAL_RESOURCE_ID, 0), + (HOOK_TARGET_TYPE_NAME, 0), + (lambda: schemas.CHANGE_ACTION, 0), + ), +) + +HOOK_TARGET_TYPE: StaticSchema = ( + 14, + n0, + _HTT, + 0, + (_RESOURCE,), + ((-1, {_sV: _RESOURCE}),), +) + +CHANGE_SET_HOOK_TARGET_DETAILS: StaticSchema = ( + 18, + n0, + _CSHTD, + 0, + (_TT, _RTDe), + ((HOOK_TARGET_TYPE, 0), (CHANGE_SET_HOOK_RESOURCE_TARGET_DETAILS, 0)), +) + +HOOK_TYPE_CONFIGURATION_VERSION_ID: StaticSchema = (3, n0, _HTCVI, 0) + +HOOK_TYPE_NAME: StaticSchema = (3, n0, _HTN, 0) + +HOOK_TYPE_VERSION_ID: StaticSchema = (3, n0, _HTVI, 0) + +CHANGE_SET_HOOK: StaticSchema = ( + 18, + n0, + _CSH, + 0, + (_IPn, _FM, _TN, _TVI, _TCVI, _TD), + ( + (HOOK_INVOCATION_POINT, 0), + (HOOK_FAILURE_MODE, 0), + (HOOK_TYPE_NAME, 0), + (HOOK_TYPE_VERSION_ID, 0), + (HOOK_TYPE_CONFIGURATION_VERSION_ID, 0), + (CHANGE_SET_HOOK_TARGET_DETAILS, 0), + ), +) + +CHANGE_SET_HOOKS: StaticSchema = (16, n0, _CSHh, 0, (_m,), ((CHANGE_SET_HOOK, 0),)) + +CHANGE_SET_HOOKS_STATUS: StaticSchema = ( + 14, + n0, + _CSHS, + 0, + (_PLANNING, _PLANNED, _UNAVAILABLE), + ((-1, {_sV: _PLANNING}), (-1, {_sV: _PLANNED}), (-1, {_sV: _UNAVAILABLE})), +) + +CHANGE_SET_NAME: StaticSchema = (3, n0, _CSN, 0) + +CHANGE_SET_NAME_OR_ID: StaticSchema = (3, n0, _CSNOI, 0) + +CHANGE_SET_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _CSNFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "ChangeSetNotFound", "httpResponseCode": 404}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +CHANGE_SET_STATUS: StaticSchema = ( + 14, + n0, + _CSS, + 0, + (_CP_, _CIP, _CC, _DP_, _DIP, _DC, _DF, _FAILED), + ( + (-1, {_sV: _CP_}), + (-1, {_sV: _CIP}), + (-1, {_sV: _CC}), + (-1, {_sV: _DP_}), + (-1, {_sV: _DIP}), + (-1, {_sV: _DC}), + (-1, {_sV: _DF}), + (-1, {_sV: _FAILED}), + ), +) + +CHANGE_SET_STATUS_REASON: StaticSchema = (3, n0, _CSSR, 0) + +CREATION_TIME: StaticSchema = (4, n0, _CTr, 0) + +DESCRIPTION: StaticSchema = (3, n0, _Des, 0) + +EXECUTION_STATUS: StaticSchema = ( + 14, + n0, + _ES, + 0, + (_UNAVAILABLE, _AVAILABLE, _EIP, _EC_, _EF, _OBSOLETE), + ( + (-1, {_sV: _UNAVAILABLE}), + (-1, {_sV: _AVAILABLE}), + (-1, {_sV: _EIP}), + (-1, {_sV: _EC_}), + (-1, {_sV: _EF}), + (-1, {_sV: _OBSOLETE}), + ), +) + +IMPORT_EXISTING_RESOURCES: StaticSchema = (2, n0, _IER, 0) + +INCLUDE_NESTED_STACKS: StaticSchema = (2, n0, _INS, 0) + +STACK_ID: StaticSchema = (3, n0, _SI, 0) + +CHANGE_SET_SUMMARY: StaticSchema = ( + 18, + n0, + _CSSh, + 0, + (_SI, _SN, _CSI, _CSN, _ES, _S, _SR, _CTr, _Des, _INS, _PCSI, _RCSI, _IER), + ( + (STACK_ID, 0), + (lambda: schemas.STACK_NAME, 0), + (lambda: schemas.CHANGE_SET_ID, 0), + (CHANGE_SET_NAME, 0), + (EXECUTION_STATUS, 0), + (CHANGE_SET_STATUS, 0), + (CHANGE_SET_STATUS_REASON, 0), + (CREATION_TIME, 0), + (DESCRIPTION, 0), + (INCLUDE_NESTED_STACKS, 0), + (lambda: schemas.CHANGE_SET_ID, 0), + (lambda: schemas.CHANGE_SET_ID, 0), + (IMPORT_EXISTING_RESOURCES, 0), + ), +) + +CHANGE_SET_SUMMARIES: StaticSchema = ( + 16, + n0, + _CSSha, + 0, + (_m,), + ((CHANGE_SET_SUMMARY, 0),), +) + +CHANGE_SET_TYPE: StaticSchema = ( + 14, + n0, + _CST, + 0, + (_CREATE, _UPDATE, _IMPORT), + ((-1, {_sV: _CREATE}), (-1, {_sV: _UPDATE}), (-1, {_sV: _IMPORT})), +) + +FORCE_ROLLBACK: StaticSchema = (2, n0, _FR, 0) + +RESOURCE_TO_SKIP: StaticSchema = (3, n0, _RTS, 0) + +RESOURCES_TO_SKIP: StaticSchema = (16, n0, _RTSe, 0, (_m,), ((RESOURCE_TO_SKIP, 0),)) + +ROLE_ARN: StaticSchema = (3, n0, _RARNo, 0) + +STACK_NAME_OR_ID: StaticSchema = (3, n0, _SNOI, 0) + +CONTINUE_UPDATE_ROLLBACK_INPUT: StaticSchema = ( + 18, + n0, + _CURI, + {_s: None}, + (_SN, _RARNo, _RTSe, _CRT, _FR), + ( + (STACK_NAME_OR_ID, 1), + (ROLE_ARN, 0), + (RESOURCES_TO_SKIP, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (FORCE_ROLLBACK, 0), + ), +) + +CONTINUE_UPDATE_ROLLBACK_OUTPUT: StaticSchema = (18, n0, _CURO, {_sm: None}) + +CONTINUE_UPDATE_ROLLBACK: StaticOperationSchema = ( + 23, + n0, + _CUR, + 0, + CONTINUE_UPDATE_ROLLBACK_INPUT, + CONTINUE_UPDATE_ROLLBACK_OUTPUT, + (lambda: schemas.TOKEN_ALREADY_EXISTS_EXCEPTION,), +) + +DISABLE_ROLLBACK: StaticSchema = (2, n0, _DR, 0) + +DEPLOYMENT_CONFIG_MODE: StaticSchema = ( + 14, + n0, + _DCM, + 0, + (_STANDARD, _EXPRESS), + ((-1, {_sV: _STANDARD}), (-1, {_sV: _EXPRESS})), +) + +DEPLOYMENT_CONFIG: StaticSchema = ( + 18, + n0, + _DCe, + 0, + (_Mod, _DR), + ((DEPLOYMENT_CONFIG_MODE, 0), (DISABLE_ROLLBACK, 0)), +) + +DEPLOYMENT_MODE: StaticSchema = (14, n0, _DMe, 0, (_RD,), ((-1, {_sV: _RD}),)) + +DISABLE_VALIDATION: StaticSchema = (2, n0, _DV, 0) + +NOTIFICATION_ARN: StaticSchema = (3, n0, _NARN, 0) + +NOTIFICATION_AR_NS: StaticSchema = (16, n0, _NARNo, 0, (_m,), ((NOTIFICATION_ARN, 0),)) + +ON_STACK_FAILURE: StaticSchema = ( + 14, + n0, + _OSF, + 0, + (_DN, _ROLLBACK, _DELETE), + ((-1, {_sV: _DN}), (-1, {_sV: _ROLLBACK}), (-1, {_sV: _DELETE})), +) + +PARAMETER_KEY: StaticSchema = (3, n0, _PK, 0) + +PARAMETER_VALUE: StaticSchema = (3, n0, _PVa, 0) + +USE_PREVIOUS_VALUE: StaticSchema = (2, n0, _UPV, 0) + +PARAMETER: StaticSchema = ( + 18, + n0, + _Par, + 0, + (_PK, _PVa, _UPV, _RV), + ( + (PARAMETER_KEY, 0), + (PARAMETER_VALUE, 0), + (USE_PREVIOUS_VALUE, 0), + (PARAMETER_VALUE, 0), + ), +) + +PARAMETERS: StaticSchema = (16, n0, _Para, 0, (_m,), ((PARAMETER, 0),)) + +RESOURCE_IDENTIFIER_PROPERTY_KEY: StaticSchema = (3, n0, _RIPK, 0) + +RESOURCE_IDENTIFIER_PROPERTY_VALUE: StaticSchema = (3, n0, _RIPV, 0) + +RESOURCE_IDENTIFIER_PROPERTIES: StaticSchema = ( + 17, + n0, + _RIP, + 0, + (_k, _v), + ((RESOURCE_IDENTIFIER_PROPERTY_KEY, 0), (RESOURCE_IDENTIFIER_PROPERTY_VALUE, 0)), +) + +RESOURCE_TO_IMPORT: StaticSchema = ( + 18, + n0, + _RTI, + 0, + (_RT, _LRI, _RI), + ( + (lambda: schemas.RESOURCE_TYPE, 1), + (lambda: schemas.LOGICAL_RESOURCE_ID, 1), + (RESOURCE_IDENTIFIER_PROPERTIES, 1), + ), +) + +RESOURCES_TO_IMPORT: StaticSchema = ( + 16, + n0, + _RTIe, + 0, + (_m,), + ((RESOURCE_TO_IMPORT, 0),), +) + +MONITORING_TIME_IN_MINUTES: StaticSchema = (7, n0, _MTIM, 0) + +TYPE: StaticSchema = (3, n0, _T, 0) + +ROLLBACK_TRIGGER: StaticSchema = ( + 18, + n0, + _RTo, + 0, + (_Ar, _T), + ((lambda: schemas.ARN, 1), (TYPE, 1)), +) + +ROLLBACK_TRIGGERS: StaticSchema = (16, n0, _RTol, 0, (_m,), ((ROLLBACK_TRIGGER, 0),)) + +ROLLBACK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RCo, + 0, + (_RTol, _MTIM), + ((ROLLBACK_TRIGGERS, 0), (MONITORING_TIME_IN_MINUTES, 0)), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _Tag, 0, (_K, _V), ((TAG_KEY, 1), (TAG_VALUE, 1))) + +TAGS: StaticSchema = (16, n0, _Ta, 0, (_m,), ((TAG, 0),)) + +TEMPLATE_BODY: StaticSchema = (3, n0, _TB, 0) + +TEMPLATE_URL: StaticSchema = (3, n0, _TURL, 0) + +USE_PREVIOUS_TEMPLATE: StaticSchema = (2, n0, _UPT, 0) + +CREATE_CHANGE_SET_INPUT: StaticSchema = ( + 18, + n0, + _CCSI, + {_s: None}, + ( + _SN, + _TB, + _TURL, + _UPT, + _Para, + _Cap, + _RTe, + _RARNo, + _RCo, + _NARNo, + _Ta, + _CSN, + _CTl, + _Des, + _CST, + _RTIe, + _INS, + _OSF, + _IER, + _DMe, + _DCe, + _DV, + ), + ( + (STACK_NAME_OR_ID, 1), + (TEMPLATE_BODY, 0), + (TEMPLATE_URL, 0), + (USE_PREVIOUS_TEMPLATE, 0), + (PARAMETERS, 0), + (lambda: schemas.CAPABILITIES, 0), + (lambda: schemas.RESOURCE_TYPES, 0), + (ROLE_ARN, 0), + (ROLLBACK_CONFIGURATION, 0), + (NOTIFICATION_AR_NS, 0), + (TAGS, 0), + (CHANGE_SET_NAME, 1), + (lambda: schemas.CLIENT_TOKEN, 0), + (DESCRIPTION, 0), + (CHANGE_SET_TYPE, 0), + (RESOURCES_TO_IMPORT, 0), + (INCLUDE_NESTED_STACKS, 0), + (ON_STACK_FAILURE, 0), + (IMPORT_EXISTING_RESOURCES, 0), + (DEPLOYMENT_MODE, 0), + (DEPLOYMENT_CONFIG, 0), + (DISABLE_VALIDATION, 0), + ), +) + +CREATE_CHANGE_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _CCSO, + {_sm: None}, + (_Id, _SI), + ((lambda: schemas.CHANGE_SET_ID, 0), (STACK_ID, 0)), +) + +CREATE_CHANGE_SET: StaticOperationSchema = ( + 23, + n0, + _CCS, + 0, + CREATE_CHANGE_SET_INPUT, + CREATE_CHANGE_SET_OUTPUT, + ( + lambda: schemas.ALREADY_EXISTS_EXCEPTION, + lambda: INSUFFICIENT_CAPABILITIES_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + ), +) + +INSUFFICIENT_CAPABILITIES_EXCEPTION: StaticSchema = ( + 18, + n0, + _ICE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InsufficientCapabilitiesException", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "LimitExceededException", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +CONCURRENT_RESOURCES_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CRLEE, + { + _smi: _c, + _sE: 429, + _aQE: MappingProxyType( + {"code": "ConcurrentResourcesLimitExceeded", "httpResponseCode": 429} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +GENERATED_TEMPLATE_NAME: StaticSchema = (3, n0, _GTN, 0) + +RESOURCE_DEFINITION: StaticSchema = ( + 18, + n0, + _RDe, + 0, + (_RT, _LRI, _RI), + ( + (lambda: schemas.RESOURCE_TYPE, 1), + (lambda: schemas.LOGICAL_RESOURCE_ID, 0), + (RESOURCE_IDENTIFIER_PROPERTIES, 1), + ), +) + +RESOURCE_DEFINITIONS: StaticSchema = ( + 16, + n0, + _RDes, + 0, + (_m,), + ((RESOURCE_DEFINITION, 0),), +) + +GENERATED_TEMPLATE_DELETION_POLICY: StaticSchema = ( + 14, + n0, + _GTDP, + 0, + (_DELETE, _RETAIN), + ((-1, {_sV: _DELETE}), (-1, {_sV: _RETAIN})), +) + +GENERATED_TEMPLATE_UPDATE_REPLACE_POLICY: StaticSchema = ( + 14, + n0, + _GTURP, + 0, + (_DELETE, _RETAIN), + ((-1, {_sV: _DELETE}), (-1, {_sV: _RETAIN})), +) + +TEMPLATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TCe, + 0, + (_DP, _URP), + ( + (GENERATED_TEMPLATE_DELETION_POLICY, 0), + (GENERATED_TEMPLATE_UPDATE_REPLACE_POLICY, 0), + ), +) + +CREATE_GENERATED_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _CGTI, + {_s: None}, + (_Reso, _GTN, _SN, _TCe), + ( + (RESOURCE_DEFINITIONS, 0), + (GENERATED_TEMPLATE_NAME, 1), + (lambda: schemas.STACK_NAME, 0), + (TEMPLATE_CONFIGURATION, 0), + ), +) + +CREATE_GENERATED_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _CGTO, + {_sm: None}, + (_GTI,), + ((lambda: GENERATED_TEMPLATE_ID, 0),), +) + +CREATE_GENERATED_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _CGT, + 0, + CREATE_GENERATED_TEMPLATE_INPUT, + CREATE_GENERATED_TEMPLATE_OUTPUT, + ( + lambda: schemas.ALREADY_EXISTS_EXCEPTION, + CONCURRENT_RESOURCES_LIMIT_EXCEEDED_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + ), +) + +GENERATED_TEMPLATE_ID: StaticSchema = (3, n0, _GTI, 0) + +ENABLE_TERMINATION_PROTECTION: StaticSchema = (2, n0, _ETP, 0) + +ON_FAILURE: StaticSchema = ( + 14, + n0, + _OF, + 0, + (_DN, _ROLLBACK, _DELETE), + ((-1, {_sV: _DN}), (-1, {_sV: _ROLLBACK}), (-1, {_sV: _DELETE})), +) + +RETAIN_EXCEPT_ON_CREATE: StaticSchema = (2, n0, _REOC, 0) + +TIMEOUT_MINUTES: StaticSchema = (7, n0, _TM, 0) + +CREATE_STACK_INPUT: StaticSchema = ( + 18, + n0, + _CSIr, + {_s: None}, + ( + _SN, + _TB, + _TURL, + _Para, + _DR, + _RCo, + _TIM, + _NARNo, + _Cap, + _RTe, + _RARNo, + _OF, + _SPB, + _SPURL, + _Ta, + _CRT, + _ETP, + _REOC, + _DCe, + _DV, + ), + ( + (lambda: schemas.STACK_NAME, 1), + (TEMPLATE_BODY, 0), + (TEMPLATE_URL, 0), + (PARAMETERS, 0), + (DISABLE_ROLLBACK, 0), + (ROLLBACK_CONFIGURATION, 0), + (TIMEOUT_MINUTES, 0), + (NOTIFICATION_AR_NS, 0), + (lambda: schemas.CAPABILITIES, 0), + (lambda: schemas.RESOURCE_TYPES, 0), + (ROLE_ARN, 0), + (ON_FAILURE, 0), + (lambda: schemas.STACK_POLICY_BODY, 0), + (lambda: schemas.STACK_POLICY_URL, 0), + (TAGS, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (ENABLE_TERMINATION_PROTECTION, 0), + (RETAIN_EXCEPT_ON_CREATE, 0), + (DEPLOYMENT_CONFIG, 0), + (DISABLE_VALIDATION, 0), + ), +) + +CREATE_STACK_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_sm: None}, + (_SI, _OI), + ((STACK_ID, 0), (lambda: OPERATION_ID, 0)), +) + +CREATE_STACK: StaticOperationSchema = ( + 23, + n0, + _CSr, + 0, + CREATE_STACK_INPUT, + CREATE_STACK_OUTPUT, + ( + lambda: schemas.ALREADY_EXISTS_EXCEPTION, + INSUFFICIENT_CAPABILITIES_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.TOKEN_ALREADY_EXISTS_EXCEPTION, + ), +) + +OPERATION_ID: StaticSchema = (3, n0, _OI, 0) + +ORGANIZATIONAL_UNIT_ID: StaticSchema = (3, n0, _OUI, 0) + +ORGANIZATIONAL_UNIT_ID_LIST: StaticSchema = ( + 16, + n0, + _OUIL, + 0, + (_m,), + ((ORGANIZATIONAL_UNIT_ID, 0),), +) + +DEPLOYMENT_TARGETS: StaticSchema = ( + 18, + n0, + _DT, + 0, + (_Acc, _AU, _OUIr, _AFT), + ( + (lambda: schemas.ACCOUNT_LIST, 0), + (lambda: schemas.ACCOUNTS_URL, 0), + (ORGANIZATIONAL_UNIT_ID_LIST, 0), + (lambda: schemas.ACCOUNT_FILTER_TYPE, 0), + ), +) + +CONCURRENCY_MODE: StaticSchema = ( + 14, + n0, + _CM, + 0, + (_SFT, _SFT_), + ((-1, {_sV: _SFT}), (-1, {_sV: _SFT_})), +) + +FAILURE_TOLERANCE_COUNT: StaticSchema = (7, n0, _FTC, 0) + +FAILURE_TOLERANCE_PERCENTAGE: StaticSchema = (7, n0, _FTP, 0) + +MAX_CONCURRENT_COUNT: StaticSchema = (7, n0, _MCC, 0) + +MAX_CONCURRENT_PERCENTAGE: StaticSchema = (7, n0, _MCP, 0) + +REGION_CONCURRENCY_TYPE: StaticSchema = ( + 14, + n0, + _RCT, + 0, + (_SEQUENTIAL, _PARALLEL), + ((-1, {_sV: _SEQUENTIAL}), (-1, {_sV: _PARALLEL})), +) + +REGION: StaticSchema = (3, n0, _Reg, 0) + +REGION_LIST: StaticSchema = (16, n0, _RLe, 0, (_m,), ((REGION, 0),)) + +STACK_REFACTOR_ID: StaticSchema = (3, n0, _SRI, 0) + +INVALID_CHANGE_SET_STATUS_EXCEPTION: StaticSchema = ( + 18, + n0, + _ICSSE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidChangeSetStatus", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _GTNFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "GeneratedTemplateNotFound", "httpResponseCode": 404} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +STACK_DRIFT_STATUS: StaticSchema = ( + 14, + n0, + _SDS, + 0, + (_DRIFTED, _IS, _UNKNOWN, _NC), + ((-1, {_sV: _DRIFTED}), (-1, {_sV: _IS}), (-1, {_sV: _UNKNOWN}), (-1, {_sV: _NC})), +) + +LAST_UPDATED_TIME: StaticSchema = (4, n0, _LUT, 0) + +PROPERTY_PATH: StaticSchema = (3, n0, _PPr, 0) + +GENERATED_TEMPLATE_STATUS: StaticSchema = ( + 14, + n0, + _GTS, + 0, + (_CP_, _UP__, _DP_, _CIP, _UIP, _DIP, _FAILED, _COMPLETE), + ( + (-1, {_sV: _CP_}), + (-1, {_sV: _UP__}), + (-1, {_sV: _DP_}), + (-1, {_sV: _CIP}), + (-1, {_sV: _UIP}), + (-1, {_sV: _DIP}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _COMPLETE}), + ), +) + +STACK_DRIFT_DETECTION_ID: StaticSchema = (3, n0, _SDDI, 0) diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_2.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_2.py new file mode 100644 index 000000000..afe2a5afa --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_2.py @@ -0,0 +1,1163 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudformation" +_sV = "smithy.api#enumValue" +_FAILED = "FAILED" +_SKIPPED = "SKIPPED" +_S = "Status" +_SR = "StatusReason" +_m = "member" +_s = "smithy.api#input" +_sm = "smithy.api#output" +_smi = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_smit = "smithy.api#required" +_TN = "TypeName" +_T = "Type" +_Ar = "Arn" +_AD = "AutoDeployment" +_CA = "CallAs" +_CRT = "ClientRequestToken" +_SN = "StackName" +_sSI = "smithy.synthetic#originalShapeId" +_sU = "smithy.api#Unit" +_Cap = "Capabilities" +_CSI = "ChangeSetId" +_Me = "Metadata" +_Ta = "Tags" +_LRI = "LogicalResourceId" +_Rea = "Reason" +_SRDS = "StackResourceDriftStatus" +_DELETED = "DELETED" +_Cha = "Changes" +_CSN = "ChangeSetName" +_CIP = "CREATE_IN_PROGRESS" +_CC = "CREATE_COMPLETE" +_DIP = "DELETE_IN_PROGRESS" +_DC = "DELETE_COMPLETE" +_DF = "DELETE_FAILED" +_CTr = "CreationTime" +_Des = "Description" +_ES = "ExecutionStatus" +_IER = "ImportExistingResources" +_INS = "IncludeNestedStacks" +_SI = "StackId" +_PCSI = "ParentChangeSetId" +_RCSI = "RootChangeSetId" +_RARNo = "RoleARN" +_STANDARD = "STANDARD" +_DCe = "DeploymentConfig" +_DMe = "DeploymentMode" +_NARNo = "NotificationARNs" +_OSF = "OnStackFailure" +_ROLLBACK = "ROLLBACK" +_Para = "Parameters" +_RCo = "RollbackConfiguration" +_TB = "TemplateBody" +_TURL = "TemplateURL" +_GTN = "GeneratedTemplateName" +_OI = "OperationId" +_DT = "DeploymentTargets" +_Acc = "Accounts" +_CM = "ConcurrencyMode" +_FTC = "FailureToleranceCount" +_FTP = "FailureTolerancePercentage" +_MCC = "MaxConcurrentCount" +_MCP = "MaxConcurrentPercentage" +_RCT = "RegionConcurrencyType" +_SSOP = "StackSetOperationPreferences" +_RO = "RegionOrder" +_SSN = "StackSetName" +_CSII = "CreateStackInstancesInput" +_Regi = "Regions" +_PO = "ParameterOverrides" +_OP = "OperationPreferences" +_sT = "smithy.api#idempotencyToken" +_CSIO = "CreateStackInstancesOutput" +_OIAEE = "OperationIdAlreadyExistsException" +_OIPE = "OperationInProgressException" +_SSNFE = "StackSetNotFoundException" +_SRE = "StaleRequestException" +_CSIre = "CreateStackInstances" +_ESC = "EnableStackCreation" +_RLes = "ResourceLocation" +_RMe = "ResourceMapping" +_So = "Source" +_Dest = "Destination" +_RMes = "ResourceMappings" +_SD = "StackDefinition" +_SDt = "StackDefinitions" +_CSRI = "CreateStackRefactorInput" +_SRI = "StackRefactorId" +_CSRO = "CreateStackRefactorOutput" +_CSR = "CreateStackRefactor" +_CBME = "CreatedButModifiedException" +_ERN = "ExecutionRoleName" +_MEN = "ManagedExecutionNullable" +_ME = "ManagedExecution" +_Act = "Active" +_PM = "PermissionModels" +_SM_ = "SERVICE_MANAGED" +_SM__ = "SELF_MANAGED" +_CSSI = "CreateStackSetInput" +_ARARN = "AdministrationRoleARN" +_PMe = "PermissionModel" +_SSI = "StackSetId" +_CSSO = "CreateStackSetOutput" +_NAEE = "NameAlreadyExistsException" +_CSSr = "CreateStackSet" +_DOAI = "DeactivateOrganizationsAccessInput" +_DOAO = "DeactivateOrganizationsAccessOutput" +_DOA = "DeactivateOrganizationsAccess" +_DTI = "DeactivateTypeInput" +_DTO = "DeactivateTypeOutput" +_DTe = "DeactivateType" +_DCSI = "DeleteChangeSetInput" +_DCSO = "DeleteChangeSetOutput" +_DCS = "DeleteChangeSet" +_DGTI = "DeleteGeneratedTemplateInput" +_DGTO = "DeleteGeneratedTemplateOutput" +_DGT = "DeleteGeneratedTemplate" +_DMel = "DeletionMode" +_FDS = "FORCE_DELETE_STACK" +_RRet = "RetainResources" +_DSI = "DeleteStackInput" +_DSO = "DeleteStackOutput" +_DS = "DeleteStack" +_RS = "RetainStacks" +_DSII = "DeleteStackInstancesInput" +_DSIO = "DeleteStackInstancesOutput" +_DSIe = "DeleteStackInstances" +_DSSI = "DeleteStackSetInput" +_DSSO = "DeleteStackSetOutput" +_SSNEE = "StackSetNotEmptyException" +_DSS = "DeleteStackSet" +_DTIe = "DeregisterTypeInput" +_VI = "VersionId" +_DTOe = "DeregisterTypeOutput" +_DTer = "DeregisterType" +_NT = "NextToken" +_DALI = "DescribeAccountLimitsInput" +_DALO = "DescribeAccountLimitsOutput" +_ALcc = "AccountLimits" +_DAL = "DescribeAccountLimits" +_IPV = "IncludePropertyValues" +_DCSIe = "DescribeChangeSetInput" +_SDS = "StackDriftStatus" +_DCSOe = "DescribeChangeSetOutput" +_DCSe = "DescribeChangeSet" +_DCSHI = "DescribeChangeSetHooksInput" +_DCSHO = "DescribeChangeSetHooksOutput" +_H = "Hooks" +_DCSH = "DescribeChangeSetHooks" +_FEF = "FailedEventsFilter" +_EFv = "EventFilter" +_FE = "FailedEvents" +_DEI = "DescribeEventsInput" +_Fi = "Filters" +_DSe = "DetailedStatus" +_CC_ = "CONFIGURATION_COMPLETE" +_VF = "VALIDATION_FAILED" +_EI = "EventId" +_ETv = "EventType" +_SE = "STACK_EVENT" +_PE = "PROGRESS_EVENT" +_VE = "VALIDATION_ERROR" +_PE_ = "PROVISIONING_ERROR" +_HIE = "HOOK_INVOCATION_ERROR" +_HS = "HookStatus" +_HIP_ = "HOOK_IN_PROGRESS" +_HCS = "HOOK_COMPLETE_SUCCEEDED" +_HCF = "HOOK_COMPLETE_FAILED" +_HF = "HOOK_FAILED" +_HSR = "HookStatusReason" +_HT = "HookType" +_OT = "OperationType" +_CS_ = "CREATE_STACK" +_US = "UPDATE_STACK" +_DS_ = "DELETE_STACK" +_CR_ = "CONTINUE_ROLLBACK" +_CC__ = "CREATE_CHANGESET" +_RP = "ResourceProperties" +_RSe = "ResourceStatus" +_CF = "CREATE_FAILED" +_DS__ = "DELETE_SKIPPED" +_UIP = "UPDATE_IN_PROGRESS" +_UF = "UPDATE_FAILED" +_UC = "UPDATE_COMPLETE" +_IF = "IMPORT_FAILED" +_IC = "IMPORT_COMPLETE" +_IIP = "IMPORT_IN_PROGRESS" +_IRIP = "IMPORT_ROLLBACK_IN_PROGRESS" +_IRF = "IMPORT_ROLLBACK_FAILED" +_IRC = "IMPORT_ROLLBACK_COMPLETE" +_EF_ = "EXPORT_FAILED" +_EC__ = "EXPORT_COMPLETE" +_EIP_ = "EXPORT_IN_PROGRESS" +_ERIP = "EXPORT_ROLLBACK_IN_PROGRESS" +_ERF = "EXPORT_ROLLBACK_FAILED" +_ERC = "EXPORT_ROLLBACK_COMPLETE" +_URIP = "UPDATE_ROLLBACK_IN_PROGRESS" +_URC = "UPDATE_ROLLBACK_COMPLETE" +_URF = "UPDATE_ROLLBACK_FAILED" +_RIP_ = "ROLLBACK_IN_PROGRESS" +_RC_ = "ROLLBACK_COMPLETE" +_RF = "ROLLBACK_FAILED" +_RSR = "ResourceStatusReason" +_VN = "ValidationName" +_VP = "ValidationPath" +_VS = "ValidationStatus" +_OEp = "OperationEvents" +_DEO = "DescribeEventsOutput" +_DE = "DescribeEvents" +_TSR = "TemplateStatusReason" +_HII = "HookInvocationId" +_SINFE = "StackInstanceNotFoundException" +_SRDI = "StackResourceDriftInformation" +_LCT = "LastCheckTimestamp" +_MR = "MaxResults" +_EN = "ExportName" +_SSS = "StackSetStatus" +_ACTIVE = "ACTIVE" +_SSNOI = "StackSetNameOrId" + +STACK_SET_OPERATION_PREFERENCES: StaticSchema = ( + 18, + n0, + _SSOP, + 0, + (_RCT, _RO, _FTC, _FTP, _MCC, _MCP, _CM), + ( + (lambda: schemas.REGION_CONCURRENCY_TYPE, 0), + (lambda: schemas.REGION_LIST, 0), + (lambda: schemas.FAILURE_TOLERANCE_COUNT, 0), + (lambda: schemas.FAILURE_TOLERANCE_PERCENTAGE, 0), + (lambda: schemas.MAX_CONCURRENT_COUNT, 0), + (lambda: schemas.MAX_CONCURRENT_PERCENTAGE, 0), + (lambda: schemas.CONCURRENCY_MODE, 0), + ), +) + +STACK_SET_NAME: StaticSchema = (3, n0, _SSN, 0) + +CREATE_STACK_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _CSII, + {_s: None}, + (_SSN, _Acc, _DT, _Regi, _PO, _OP, _OI, _CA), + ( + (STACK_SET_NAME, 1), + (lambda: schemas.ACCOUNT_LIST, 0), + (lambda: schemas.DEPLOYMENT_TARGETS, 0), + (lambda: schemas.REGION_LIST, 1), + (lambda: schemas.PARAMETERS, 0), + (STACK_SET_OPERATION_PREFERENCES, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 2), + (lambda: schemas.CALL_AS, 0), + ), +) + +CREATE_STACK_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _CSIO, + {_sm: None}, + (_OI,), + ((lambda: schemas.CLIENT_REQUEST_TOKEN, 0),), +) + +CREATE_STACK_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _CSIre, + 0, + CREATE_STACK_INSTANCES_INPUT, + CREATE_STACK_INSTANCES_OUTPUT, + ( + lambda: schemas.INVALID_OPERATION_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: OPERATION_ID_ALREADY_EXISTS_EXCEPTION, + lambda: OPERATION_IN_PROGRESS_EXCEPTION, + lambda: STACK_SET_NOT_FOUND_EXCEPTION, + lambda: STALE_REQUEST_EXCEPTION, + ), +) + +OPERATION_ID_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _OIAEE, + { + _smi: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "OperationIdAlreadyExistsException", "httpResponseCode": 409} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +OPERATION_IN_PROGRESS_EXCEPTION: StaticSchema = ( + 18, + n0, + _OIPE, + { + _smi: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "OperationInProgressException", "httpResponseCode": 409} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +STACK_SET_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _SSNFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "StackSetNotFoundException", "httpResponseCode": 404} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +STALE_REQUEST_EXCEPTION: StaticSchema = ( + 18, + n0, + _SRE, + { + _smi: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "StaleRequestException", "httpResponseCode": 409} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +ENABLE_STACK_CREATION: StaticSchema = (2, n0, _ESC, 0) + +RESOURCE_LOCATION: StaticSchema = ( + 18, + n0, + _RLes, + 0, + (_SN, _LRI), + ((lambda: schemas.STACK_NAME, 1), (lambda: schemas.LOGICAL_RESOURCE_ID, 1)), +) + +RESOURCE_MAPPING: StaticSchema = ( + 18, + n0, + _RMe, + 0, + (_So, _Dest), + ((RESOURCE_LOCATION, 1), (RESOURCE_LOCATION, 1)), +) + +RESOURCE_MAPPINGS: StaticSchema = (16, n0, _RMes, 0, (_m,), ((RESOURCE_MAPPING, 0),)) + +STACK_DEFINITION: StaticSchema = ( + 18, + n0, + _SD, + 0, + (_SN, _TB, _TURL), + ( + (lambda: schemas.STACK_NAME, 0), + (lambda: schemas.TEMPLATE_BODY, 0), + (lambda: schemas.TEMPLATE_URL, 0), + ), +) + +STACK_DEFINITIONS: StaticSchema = (16, n0, _SDt, 0, (_m,), ((STACK_DEFINITION, 0),)) + +CREATE_STACK_REFACTOR_INPUT: StaticSchema = ( + 18, + n0, + _CSRI, + {_s: None}, + (_Des, _ESC, _RMes, _SDt), + ( + (lambda: schemas.DESCRIPTION, 0), + (ENABLE_STACK_CREATION, 0), + (RESOURCE_MAPPINGS, 0), + (STACK_DEFINITIONS, 1), + ), +) + +CREATE_STACK_REFACTOR_OUTPUT: StaticSchema = ( + 18, + n0, + _CSRO, + {_sm: None}, + (_SRI,), + ((lambda: schemas.STACK_REFACTOR_ID, 1),), +) + +CREATE_STACK_REFACTOR: StaticOperationSchema = ( + 23, + n0, + _CSR, + 0, + CREATE_STACK_REFACTOR_INPUT, + CREATE_STACK_REFACTOR_OUTPUT, + (), +) + +CREATED_BUT_MODIFIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CBME, + { + _smi: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "CreatedButModifiedException", "httpResponseCode": 409} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +EXECUTION_ROLE_NAME: StaticSchema = (3, n0, _ERN, 0) + +MANAGED_EXECUTION_NULLABLE: StaticSchema = (2, n0, _MEN, 0) + +MANAGED_EXECUTION: StaticSchema = ( + 18, + n0, + _ME, + 0, + (_Act,), + ((MANAGED_EXECUTION_NULLABLE, 0),), +) + +PERMISSION_MODELS: StaticSchema = ( + 14, + n0, + _PM, + 0, + (_SM_, _SM__), + ((-1, {_sV: _SM_}), (-1, {_sV: _SM__})), +) + +CREATE_STACK_SET_INPUT: StaticSchema = ( + 18, + n0, + _CSSI, + {_s: None}, + ( + _SSN, + _Des, + _TB, + _TURL, + _SI, + _Para, + _Cap, + _Ta, + _ARARN, + _ERN, + _PMe, + _AD, + _CA, + _CRT, + _ME, + ), + ( + (STACK_SET_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TEMPLATE_BODY, 0), + (lambda: schemas.TEMPLATE_URL, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.PARAMETERS, 0), + (lambda: schemas.CAPABILITIES, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.ROLE_ARN, 0), + (EXECUTION_ROLE_NAME, 0), + (PERMISSION_MODELS, 0), + (lambda: schemas.AUTO_DEPLOYMENT, 0), + (lambda: schemas.CALL_AS, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 2), + (MANAGED_EXECUTION, 0), + ), +) + +CREATE_STACK_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _CSSO, + {_sm: None}, + (_SSI,), + ((lambda: STACK_SET_ID, 0),), +) + +CREATE_STACK_SET: StaticOperationSchema = ( + 23, + n0, + _CSSr, + 0, + CREATE_STACK_SET_INPUT, + CREATE_STACK_SET_OUTPUT, + ( + CREATED_BUT_MODIFIED_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: NAME_ALREADY_EXISTS_EXCEPTION, + ), +) + +STACK_SET_ID: StaticSchema = (3, n0, _SSI, 0) + +NAME_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _NAEE, + { + _smi: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "NameAlreadyExistsException", "httpResponseCode": 409} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DEACTIVATE_ORGANIZATIONS_ACCESS_INPUT: StaticSchema = (18, n0, _DOAI, {_s: None}) + +DEACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT: StaticSchema = (18, n0, _DOAO, {_sm: None}) + +DEACTIVATE_ORGANIZATIONS_ACCESS: StaticOperationSchema = ( + 23, + n0, + _DOA, + 0, + DEACTIVATE_ORGANIZATIONS_ACCESS_INPUT, + DEACTIVATE_ORGANIZATIONS_ACCESS_OUTPUT, + ( + lambda: schemas.INVALID_OPERATION_EXCEPTION, + lambda: schemas.OPERATION_NOT_FOUND_EXCEPTION, + ), +) + +DEACTIVATE_TYPE_INPUT: StaticSchema = ( + 18, + n0, + _DTI, + {_s: None}, + (_TN, _T, _Ar), + ( + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.THIRD_PARTY_TYPE, 0), + (lambda: schemas.PRIVATE_TYPE_ARN, 0), + ), +) + +DEACTIVATE_TYPE_OUTPUT: StaticSchema = (18, n0, _DTO, {_sm: None}) + +DEACTIVATE_TYPE: StaticOperationSchema = ( + 23, + n0, + _DTe, + 0, + DEACTIVATE_TYPE_INPUT, + DEACTIVATE_TYPE_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION, lambda: schemas.TYPE_NOT_FOUND_EXCEPTION), +) + +DELETE_CHANGE_SET_INPUT: StaticSchema = ( + 18, + n0, + _DCSI, + {_s: None}, + (_CSN, _SN), + ((lambda: schemas.CHANGE_SET_NAME_OR_ID, 1), (lambda: schemas.STACK_NAME_OR_ID, 0)), +) + +DELETE_CHANGE_SET_OUTPUT: StaticSchema = (18, n0, _DCSO, {_sm: None}) + +DELETE_CHANGE_SET: StaticOperationSchema = ( + 23, + n0, + _DCS, + 0, + DELETE_CHANGE_SET_INPUT, + DELETE_CHANGE_SET_OUTPUT, + (lambda: schemas.INVALID_CHANGE_SET_STATUS_EXCEPTION,), +) + +DELETE_GENERATED_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _DGTI, + {_s: None}, + (_GTN,), + ((lambda: schemas.GENERATED_TEMPLATE_NAME, 1),), +) + +DELETE_GENERATED_TEMPLATE_OUTPUT: StaticSchema = (18, n0, _DGTO, {_sSI: _sU, _sm: None}) + +DELETE_GENERATED_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _DGT, + 0, + DELETE_GENERATED_TEMPLATE_INPUT, + DELETE_GENERATED_TEMPLATE_OUTPUT, + ( + lambda: schemas.CONCURRENT_RESOURCES_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION, + ), +) + +DELETION_MODE: StaticSchema = ( + 14, + n0, + _DMel, + 0, + (_STANDARD, _FDS), + ((-1, {_sV: _STANDARD}), (-1, {_sV: _FDS})), +) + +RETAIN_RESOURCES: StaticSchema = ( + 16, + n0, + _RRet, + 0, + (_m,), + ((lambda: schemas.LOGICAL_RESOURCE_ID, 0),), +) + +DELETE_STACK_INPUT: StaticSchema = ( + 18, + n0, + _DSI, + {_s: None}, + (_SN, _RRet, _RARNo, _CRT, _DMel, _DCe), + ( + (lambda: schemas.STACK_NAME, 1), + (RETAIN_RESOURCES, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (DELETION_MODE, 0), + (lambda: schemas.DEPLOYMENT_CONFIG, 0), + ), +) + +DELETE_STACK_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _sU, _sm: None}) + +DELETE_STACK: StaticOperationSchema = ( + 23, + n0, + _DS, + 0, + DELETE_STACK_INPUT, + DELETE_STACK_OUTPUT, + (lambda: schemas.TOKEN_ALREADY_EXISTS_EXCEPTION,), +) + +RETAIN_STACKS: StaticSchema = (2, n0, _RS, 0) + +DELETE_STACK_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DSII, + {_s: None}, + (_SSN, _Acc, _DT, _Regi, _OP, _RS, _OI, _CA), + ( + (STACK_SET_NAME, 1), + (lambda: schemas.ACCOUNT_LIST, 0), + (lambda: schemas.DEPLOYMENT_TARGETS, 0), + (lambda: schemas.REGION_LIST, 1), + (STACK_SET_OPERATION_PREFERENCES, 0), + (RETAIN_STACKS, 1), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 2), + (lambda: schemas.CALL_AS, 0), + ), +) + +DELETE_STACK_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DSIO, + {_sm: None}, + (_OI,), + ((lambda: schemas.CLIENT_REQUEST_TOKEN, 0),), +) + +DELETE_STACK_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DSIe, + 0, + DELETE_STACK_INSTANCES_INPUT, + DELETE_STACK_INSTANCES_OUTPUT, + ( + lambda: schemas.INVALID_OPERATION_EXCEPTION, + OPERATION_ID_ALREADY_EXISTS_EXCEPTION, + OPERATION_IN_PROGRESS_EXCEPTION, + STACK_SET_NOT_FOUND_EXCEPTION, + STALE_REQUEST_EXCEPTION, + ), +) + +DELETE_STACK_SET_INPUT: StaticSchema = ( + 18, + n0, + _DSSI, + {_s: None}, + (_SSN, _CA), + ((STACK_SET_NAME, 1), (lambda: schemas.CALL_AS, 0)), +) + +DELETE_STACK_SET_OUTPUT: StaticSchema = (18, n0, _DSSO, {_sm: None}) + +DELETE_STACK_SET: StaticOperationSchema = ( + 23, + n0, + _DSS, + 0, + DELETE_STACK_SET_INPUT, + DELETE_STACK_SET_OUTPUT, + (OPERATION_IN_PROGRESS_EXCEPTION, lambda: STACK_SET_NOT_EMPTY_EXCEPTION), +) + +STACK_SET_NOT_EMPTY_EXCEPTION: StaticSchema = ( + 18, + n0, + _SSNEE, + { + _smi: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "StackSetNotEmptyException", "httpResponseCode": 409} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DEREGISTER_TYPE_INPUT: StaticSchema = ( + 18, + n0, + _DTIe, + {_s: None}, + (_Ar, _T, _TN, _VI), + ( + (lambda: schemas.PRIVATE_TYPE_ARN, 0), + (lambda: schemas.REGISTRY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_VERSION_ID, 0), + ), +) + +DEREGISTER_TYPE_OUTPUT: StaticSchema = (18, n0, _DTOe, {_sm: None}) + +DEREGISTER_TYPE: StaticOperationSchema = ( + 23, + n0, + _DTer, + 0, + DEREGISTER_TYPE_INPUT, + DEREGISTER_TYPE_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION, lambda: schemas.TYPE_NOT_FOUND_EXCEPTION), +) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +DESCRIBE_ACCOUNT_LIMITS_INPUT: StaticSchema = ( + 18, + n0, + _DALI, + {_s: None}, + (_NT,), + ((NEXT_TOKEN, 0),), +) + +DESCRIBE_ACCOUNT_LIMITS_OUTPUT: StaticSchema = ( + 18, + n0, + _DALO, + {_sm: None}, + (_ALcc, _NT), + ((lambda: schemas.ACCOUNT_LIMIT_LIST, 0), (NEXT_TOKEN, 0)), +) + +DESCRIBE_ACCOUNT_LIMITS: StaticOperationSchema = ( + 23, + n0, + _DAL, + 0, + DESCRIBE_ACCOUNT_LIMITS_INPUT, + DESCRIBE_ACCOUNT_LIMITS_OUTPUT, + (), +) + +INCLUDE_PROPERTY_VALUES: StaticSchema = (2, n0, _IPV, 0) + +DESCRIBE_CHANGE_SET_INPUT: StaticSchema = ( + 18, + n0, + _DCSIe, + {_s: None}, + (_CSN, _SN, _NT, _IPV), + ( + (lambda: schemas.CHANGE_SET_NAME_OR_ID, 1), + (lambda: schemas.STACK_NAME_OR_ID, 0), + (NEXT_TOKEN, 0), + (INCLUDE_PROPERTY_VALUES, 0), + ), +) + +DESCRIBE_CHANGE_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _DCSOe, + {_sm: None}, + ( + _CSN, + _CSI, + _SI, + _SN, + _Des, + _Para, + _CTr, + _ES, + _S, + _SR, + _SDS, + _NARNo, + _RCo, + _Cap, + _Ta, + _Cha, + _NT, + _INS, + _PCSI, + _RCSI, + _OSF, + _IER, + _DMe, + _DCe, + ), + ( + (lambda: schemas.CHANGE_SET_NAME, 0), + (lambda: schemas.CHANGE_SET_ID, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.STACK_NAME, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.PARAMETERS, 0), + (lambda: schemas.CREATION_TIME, 0), + (lambda: schemas.EXECUTION_STATUS, 0), + (lambda: schemas.CHANGE_SET_STATUS, 0), + (lambda: schemas.CHANGE_SET_STATUS_REASON, 0), + (lambda: schemas.STACK_DRIFT_STATUS, 0), + (lambda: schemas.NOTIFICATION_AR_NS, 0), + (lambda: schemas.ROLLBACK_CONFIGURATION, 0), + (lambda: schemas.CAPABILITIES, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.CHANGES, 0), + (NEXT_TOKEN, 0), + (lambda: schemas.INCLUDE_NESTED_STACKS, 0), + (lambda: schemas.CHANGE_SET_ID, 0), + (lambda: schemas.CHANGE_SET_ID, 0), + (lambda: schemas.ON_STACK_FAILURE, 0), + (lambda: schemas.IMPORT_EXISTING_RESOURCES, 0), + (lambda: schemas.DEPLOYMENT_MODE, 0), + (lambda: schemas.DEPLOYMENT_CONFIG, 0), + ), +) + +DESCRIBE_CHANGE_SET: StaticOperationSchema = ( + 23, + n0, + _DCSe, + 0, + DESCRIBE_CHANGE_SET_INPUT, + DESCRIBE_CHANGE_SET_OUTPUT, + (lambda: schemas.CHANGE_SET_NOT_FOUND_EXCEPTION,), +) + +DESCRIBE_CHANGE_SET_HOOKS_INPUT: StaticSchema = ( + 18, + n0, + _DCSHI, + {_s: None}, + (_CSN, _SN, _NT, _LRI), + ( + (lambda: schemas.CHANGE_SET_NAME_OR_ID, 1), + (lambda: schemas.STACK_NAME_OR_ID, 0), + (NEXT_TOKEN, 0), + (lambda: schemas.LOGICAL_RESOURCE_ID, 0), + ), +) + +DESCRIBE_CHANGE_SET_HOOKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCSHO, + {_sm: None}, + (_CSI, _CSN, _H, _S, _NT, _SI, _SN), + ( + (lambda: schemas.CHANGE_SET_ID, 0), + (lambda: schemas.CHANGE_SET_NAME, 0), + (lambda: schemas.CHANGE_SET_HOOKS, 0), + (lambda: schemas.CHANGE_SET_HOOKS_STATUS, 0), + (NEXT_TOKEN, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.STACK_NAME, 0), + ), +) + +DESCRIBE_CHANGE_SET_HOOKS: StaticOperationSchema = ( + 23, + n0, + _DCSH, + 0, + DESCRIBE_CHANGE_SET_HOOKS_INPUT, + DESCRIBE_CHANGE_SET_HOOKS_OUTPUT, + (lambda: schemas.CHANGE_SET_NOT_FOUND_EXCEPTION,), +) + +FAILED_EVENTS_FILTER: StaticSchema = (2, n0, _FEF, 0) + +EVENT_FILTER: StaticSchema = (18, n0, _EFv, 0, (_FE,), ((FAILED_EVENTS_FILTER, 0),)) + +DESCRIBE_EVENTS_INPUT: StaticSchema = ( + 18, + n0, + _DEI, + {_s: None}, + (_SN, _CSN, _OI, _Fi, _NT), + ( + (lambda: schemas.STACK_NAME_OR_ID, 0), + (lambda: schemas.CHANGE_SET_NAME_OR_ID, 0), + (lambda: schemas.OPERATION_ID, 0), + (EVENT_FILTER, 0), + (NEXT_TOKEN, 0), + ), +) + +DESCRIBE_EVENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DEO, + {_sm: None}, + (_OEp, _NT), + ((lambda: schemas.OPERATION_EVENTS, 0), (NEXT_TOKEN, 0)), +) + +DESCRIBE_EVENTS: StaticOperationSchema = ( + 23, + n0, + _DE, + 0, + DESCRIBE_EVENTS_INPUT, + DESCRIBE_EVENTS_OUTPUT, + (), +) + +DETAILED_STATUS: StaticSchema = ( + 14, + n0, + _DSe, + 0, + (_CC_, _VF), + ((-1, {_sV: _CC_}), (-1, {_sV: _VF})), +) + +EVENT_ID: StaticSchema = (3, n0, _EI, 0) + +EVENT_TYPE: StaticSchema = ( + 14, + n0, + _ETv, + 0, + (_SE, _PE, _VE, _PE_, _HIE), + ( + (-1, {_sV: _SE}), + (-1, {_sV: _PE}), + (-1, {_sV: _VE}), + (-1, {_sV: _PE_}), + (-1, {_sV: _HIE}), + ), +) + +HOOK_STATUS: StaticSchema = ( + 14, + n0, + _HS, + 0, + (_HIP_, _HCS, _HCF, _HF), + ((-1, {_sV: _HIP_}), (-1, {_sV: _HCS}), (-1, {_sV: _HCF}), (-1, {_sV: _HF})), +) + +HOOK_STATUS_REASON: StaticSchema = (3, n0, _HSR, 0) + +HOOK_TYPE: StaticSchema = (3, n0, _HT, 0) + +OPERATION_TYPE: StaticSchema = ( + 14, + n0, + _OT, + 0, + (_CS_, _US, _DS_, _CR_, _ROLLBACK, _CC__), + ( + (-1, {_sV: _CS_}), + (-1, {_sV: _US}), + (-1, {_sV: _DS_}), + (-1, {_sV: _CR_}), + (-1, {_sV: _ROLLBACK}), + (-1, {_sV: _CC__}), + ), +) + +RESOURCE_PROPERTIES: StaticSchema = (3, n0, _RP, 0) + +RESOURCE_STATUS: StaticSchema = ( + 14, + n0, + _RSe, + 0, + ( + _CIP, + _CF, + _CC, + _DIP, + _DF, + _DC, + _DS__, + _UIP, + _UF, + _UC, + _IF, + _IC, + _IIP, + _IRIP, + _IRF, + _IRC, + _EF_, + _EC__, + _EIP_, + _ERIP, + _ERF, + _ERC, + _URIP, + _URC, + _URF, + _RIP_, + _RC_, + _RF, + ), + ( + (-1, {_sV: _CIP}), + (-1, {_sV: _CF}), + (-1, {_sV: _CC}), + (-1, {_sV: _DIP}), + (-1, {_sV: _DF}), + (-1, {_sV: _DC}), + (-1, {_sV: _DS__}), + (-1, {_sV: _UIP}), + (-1, {_sV: _UF}), + (-1, {_sV: _UC}), + (-1, {_sV: _IF}), + (-1, {_sV: _IC}), + (-1, {_sV: _IIP}), + (-1, {_sV: _IRIP}), + (-1, {_sV: _IRF}), + (-1, {_sV: _IRC}), + (-1, {_sV: _EF_}), + (-1, {_sV: _EC__}), + (-1, {_sV: _EIP_}), + (-1, {_sV: _ERIP}), + (-1, {_sV: _ERF}), + (-1, {_sV: _ERC}), + (-1, {_sV: _URIP}), + (-1, {_sV: _URC}), + (-1, {_sV: _URF}), + (-1, {_sV: _RIP_}), + (-1, {_sV: _RC_}), + (-1, {_sV: _RF}), + ), +) + +RESOURCE_STATUS_REASON: StaticSchema = (3, n0, _RSR, 0) + +VALIDATION_NAME: StaticSchema = (3, n0, _VN, 0) + +VALIDATION_PATH: StaticSchema = (3, n0, _VP, 0) + +VALIDATION_STATUS: StaticSchema = ( + 14, + n0, + _VS, + 0, + (_FAILED, _SKIPPED), + ((-1, {_sV: _FAILED}), (-1, {_sV: _SKIPPED})), +) + +TEMPLATE_STATUS_REASON: StaticSchema = (3, n0, _TSR, 0) + +HOOK_INVOCATION_ID: StaticSchema = (3, n0, _HII, 0) + +REASON: StaticSchema = (3, n0, _Rea, 0) + +STACK_INSTANCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _SINFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "StackInstanceNotFoundException", "httpResponseCode": 404} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +STACK_RESOURCE_DRIFT_INFORMATION: StaticSchema = ( + 18, + n0, + _SRDI, + 0, + (_SRDS, _LCT), + ((lambda: schemas.STACK_RESOURCE_DRIFT_STATUS, 1), (lambda: schemas.TIMESTAMP, 0)), +) + +METADATA: StaticSchema = (3, n0, _Me, 0) + +EXPORT_NAME: StaticSchema = (3, n0, _EN, 0) + +STACK_SET_STATUS: StaticSchema = ( + 14, + n0, + _SSS, + 0, + (_ACTIVE, _DELETED), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DELETED})), +) + +STACK_SET_NAME_OR_ID: StaticSchema = (3, n0, _SSNOI, 0) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_3.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_3.py new file mode 100644 index 000000000..e96ce8091 --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_3.py @@ -0,0 +1,985 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudformation" +_A = "Account" +_sV = "smithy.api#enumValue" +_SUCCEEDED = "SUCCEEDED" +_FAILED = "FAILED" +_S = "Status" +_SR = "StatusReason" +_m = "member" +_s = "smithy.api#input" +_sm = "smithy.api#output" +_smi = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_smit = "smithy.api#required" +_PI = "PublisherId" +_T = "Type" +_Ti = "Timestamp" +_IP = "IN_PROGRESS" +_CA = "CallAs" +_CRT = "ClientRequestToken" +_SN = "StackName" +_P = "Properties" +_Me = "Metadata" +_LRI = "LogicalResourceId" +_MI = "ModuleInfo" +_PRI = "PhysicalResourceId" +_RT = "ResourceType" +_HFM = "HookFailureMode" +_HIP = "HookInvocationPoint" +_UNAVAILABLE = "UNAVAILABLE" +_CIP = "CREATE_IN_PROGRESS" +_CC = "CREATE_COMPLETE" +_DIP = "DELETE_IN_PROGRESS" +_DC = "DELETE_COMPLETE" +_DF = "DELETE_FAILED" +_CTr = "CreationTime" +_Des = "Description" +_ES = "ExecutionStatus" +_AVAILABLE = "AVAILABLE" +_EIP = "EXECUTE_IN_PROGRESS" +_EC_ = "EXECUTE_COMPLETE" +_EF = "EXECUTE_FAILED" +_OBSOLETE = "OBSOLETE" +_SI = "StackId" +_RI = "ResourceIdentifier" +_RTe = "ResourceTypes" +_GTN = "GeneratedTemplateName" +_TCe = "TemplateConfiguration" +_Reso = "Resources" +_GTI = "GeneratedTemplateId" +_OI = "OperationId" +_OUI = "OrganizationalUnitId" +_Reg = "Region" +_SSN = "StackSetName" +_PO = "ParameterOverrides" +_SRI = "StackRefactorId" +_SSI = "StackSetId" +_NT = "NextToken" +_SDS = "StackDriftStatus" +_DSe = "DetailedStatus" +_EI = "EventId" +_ETv = "EventType" +_HS = "HookStatus" +_HSR = "HookStatusReason" +_HT = "HookType" +_OT = "OperationType" +_RP = "ResourceProperties" +_RSe = "ResourceStatus" +_CF = "CREATE_FAILED" +_RIP_ = "ROLLBACK_IN_PROGRESS" +_RC_ = "ROLLBACK_COMPLETE" +_RF = "ROLLBACK_FAILED" +_RSR = "ResourceStatusReason" +_VN = "ValidationName" +_VP = "ValidationPath" +_VS = "ValidationStatus" +_VSR = "ValidationStatusReason" +_OE = "OperationEvent" +_OS = "OperationStatus" +_ST = "StartTime" +_ETn = "EndTime" +_VFM = "ValidationFailureMode" +_OEp = "OperationEvents" +_DGTIe = "DescribeGeneratedTemplateInput" +_LUT = "LastUpdatedTime" +_RFe = "ResourcesFailed" +_RPe = "ResourcesPending" +_RPes = "ResourcesProcessing" +_RSes = "ResourcesSucceeded" +_TPe = "TemplateProgress" +_GTRS = "GeneratedTemplateResourceStatus" +_PENDING = "PENDING" +_COMPLETE = "COMPLETE" +_PD = "PropertyDescription" +_PPr = "PropertyPath" +_RPeq = "RequiredProperty" +_WP = "WarningProperty" +_Req = "Required" +_WPa = "WarningProperties" +_WT = "WarningType" +_MEP = "MUTUALLY_EXCLUSIVE_PROPERTIES" +_UP_ = "UNSUPPORTED_PROPERTIES" +_MET = "MUTUALLY_EXCLUSIVE_TYPES" +_EP = "EXCLUDED_PROPERTIES" +_ER = "EXCLUDED_RESOURCES" +_WD = "WarningDetail" +_WDa = "WarningDetails" +_RDeso = "ResourceDetail" +_W = "Warnings" +_RDesou = "ResourceDetails" +_TW = "TotalWarnings" +_DGTOe = "DescribeGeneratedTemplateOutput" +_Pr = "Progress" +_DGTe = "DescribeGeneratedTemplate" +_DOAIe = "DescribeOrganizationsAccessInput" +_OSr = "OrganizationStatus" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_DP__ = "DISABLED_PERMANENTLY" +_DOAOe = "DescribeOrganizationsAccessOutput" +_DOAe = "DescribeOrganizationsAccess" +_DPI = "DescribePublisherInput" +_IPd = "IdentityProvider" +_AM = "AWS_Marketplace" +_GH = "GitHub" +_B = "Bitbucket" +_PPu = "PublisherProfile" +_PS = "PublisherStatus" +_VERIFIED = "VERIFIED" +_UNVERIFIED = "UNVERIFIED" +_DPO = "DescribePublisherOutput" +_DPe = "DescribePublisher" +_RSI = "ResourceScanId" +_DRSI = "DescribeResourceScanInput" +_PC = "PercentageCompleted" +_RRes = "ResourcesRead" +_RSeso = "ResourcesScanned" +_RTF = "ResourceTypeFilter" +_RTFe = "ResourceTypeFilters" +_SF = "ScanFilter" +_Ty = "Types" +_SFc = "ScanFilters" +_RSS = "ResourceScanStatus" +_EXPIRED = "EXPIRED" +_RSSR = "ResourceScanStatusReason" +_DRSO = "DescribeResourceScanOutput" +_RSNFE = "ResourceScanNotFoundException" +_DRS = "DescribeResourceScan" +_SDDI = "StackDriftDetectionId" +_DSDDSI = "DescribeStackDriftDetectionStatusInput" +_SDDS = "StackDriftDetectionStatus" +_DIP_ = "DETECTION_IN_PROGRESS" +_DF_ = "DETECTION_FAILED" +_DC_ = "DETECTION_COMPLETE" +_SDDSR = "StackDriftDetectionStatusReason" +_DSDDSO = "DescribeStackDriftDetectionStatusOutput" +_DSet = "DetectionStatus" +_DSR = "DetectionStatusReason" +_DSRC = "DriftedStackResourceCount" +_DSDDS = "DescribeStackDriftDetectionStatus" +_DSEI = "DescribeStackEventsInput" +_HII = "HookInvocationId" +_SEt = "StackEvent" +_SEta = "StackEvents" +_DSEO = "DescribeStackEventsOutput" +_DSE = "DescribeStackEvents" +_DSIIe = "DescribeStackInstanceInput" +_SIA = "StackInstanceAccount" +_SIR = "StackInstanceRegion" +_SIDS = "StackInstanceDetailedStatus" +_RUNNING = "RUNNING" +_CANCELLED = "CANCELLED" +_INOPERABLE = "INOPERABLE" +_SSA = "SKIPPED_SUSPENDED_ACCOUNT" +_FI = "FAILED_IMPORT" +_SICS = "StackInstanceComprehensiveStatus" +_SIS = "StackInstanceStatus" +_CURRENT = "CURRENT" +_OUTDATED = "OUTDATED" +_SIt = "StackInstance" +_DSr = "DriftStatus" +_LDCT = "LastDriftCheckTimestamp" +_LOI = "LastOperationId" +_DSIOe = "DescribeStackInstanceOutput" +_DSIes = "DescribeStackInstance" +_DSRI = "DescribeStackRefactorInput" +_SRES = "StackRefactorExecutionStatus" +_ESR = "ExecutionStatusReason" +_SIta = "StackIds" +_SRS = "StackRefactorStatus" +_SRSR = "StackRefactorStatusReason" +_DSRO = "DescribeStackRefactorOutput" +_SRNFE = "StackRefactorNotFoundException" +_DSRe = "DescribeStackRefactor" +_DSRIe = "DescribeStackResourceInput" +_SRD = "StackResourceDetail" +_LUTa = "LastUpdatedTimestamp" +_DI = "DriftInformation" +_DSROe = "DescribeStackResourceOutput" +_DSRes = "DescribeStackResource" +_RSIPE = "ResourceScanInProgressException" + +VALIDATION_STATUS_REASON: StaticSchema = (3, n0, _VSR, 0) + +OPERATION_EVENT: StaticSchema = ( + 18, + n0, + _OE, + 0, + ( + _EI, + _SI, + _OI, + _OT, + _OS, + _ETv, + _LRI, + _PRI, + _RT, + _Ti, + _ST, + _ETn, + _RSe, + _RSR, + _RP, + _CRT, + _HT, + _HS, + _HSR, + _HIP, + _HFM, + _DSe, + _VFM, + _VN, + _VS, + _VSR, + _VP, + ), + ( + (lambda: schemas.EVENT_ID, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.OPERATION_ID, 0), + (lambda: schemas.OPERATION_TYPE, 0), + (lambda: schemas.BEACON_STACK_OPERATION_STATUS, 0), + (lambda: schemas.EVENT_TYPE, 0), + (lambda: schemas.LOGICAL_RESOURCE_ID, 0), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + (lambda: schemas.RESOURCE_TYPE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.RESOURCE_STATUS, 0), + (lambda: schemas.RESOURCE_STATUS_REASON, 0), + (lambda: schemas.RESOURCE_PROPERTIES, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (lambda: schemas.HOOK_TYPE, 0), + (lambda: schemas.HOOK_STATUS, 0), + (lambda: schemas.HOOK_STATUS_REASON, 0), + (lambda: schemas.HOOK_INVOCATION_POINT, 0), + (lambda: schemas.HOOK_FAILURE_MODE, 0), + (lambda: schemas.DETAILED_STATUS, 0), + (lambda: schemas.HOOK_FAILURE_MODE, 0), + (lambda: schemas.VALIDATION_NAME, 0), + (lambda: schemas.VALIDATION_STATUS, 0), + (VALIDATION_STATUS_REASON, 0), + (lambda: schemas.VALIDATION_PATH, 0), + ), +) + +OPERATION_EVENTS: StaticSchema = (16, n0, _OEp, 0, (_m,), ((OPERATION_EVENT, 0),)) + +DESCRIBE_GENERATED_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _DGTIe, + {_s: None}, + (_GTN,), + ((lambda: schemas.GENERATED_TEMPLATE_NAME, 1),), +) + +DESCRIBE_GENERATED_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _DGTOe, + {_sm: None}, + (_GTI, _GTN, _Reso, _S, _SR, _CTr, _LUT, _Pr, _SI, _TCe, _TW), + ( + (lambda: schemas.GENERATED_TEMPLATE_ID, 0), + (lambda: schemas.GENERATED_TEMPLATE_NAME, 0), + (lambda: RESOURCE_DETAILS, 0), + (lambda: schemas.GENERATED_TEMPLATE_STATUS, 0), + (lambda: schemas.TEMPLATE_STATUS_REASON, 0), + (lambda: schemas.CREATION_TIME, 0), + (lambda: schemas.LAST_UPDATED_TIME, 0), + (lambda: TEMPLATE_PROGRESS, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.TEMPLATE_CONFIGURATION, 0), + (lambda: TOTAL_WARNINGS, 0), + ), +) + +DESCRIBE_GENERATED_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _DGTe, + 0, + DESCRIBE_GENERATED_TEMPLATE_INPUT, + DESCRIBE_GENERATED_TEMPLATE_OUTPUT, + (lambda: schemas.GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION,), +) + +RESOURCES_FAILED: StaticSchema = (7, n0, _RFe, 0) + +RESOURCES_PENDING: StaticSchema = (7, n0, _RPe, 0) + +RESOURCES_PROCESSING: StaticSchema = (7, n0, _RPes, 0) + +RESOURCES_SUCCEEDED: StaticSchema = (7, n0, _RSes, 0) + +TEMPLATE_PROGRESS: StaticSchema = ( + 18, + n0, + _TPe, + 0, + (_RSes, _RFe, _RPes, _RPe), + ( + (RESOURCES_SUCCEEDED, 0), + (RESOURCES_FAILED, 0), + (RESOURCES_PROCESSING, 0), + (RESOURCES_PENDING, 0), + ), +) + +GENERATED_TEMPLATE_RESOURCE_STATUS: StaticSchema = ( + 14, + n0, + _GTRS, + 0, + (_PENDING, _IP, _FAILED, _COMPLETE), + ( + (-1, {_sV: _PENDING}), + (-1, {_sV: _IP}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _COMPLETE}), + ), +) + +PROPERTY_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) + +REQUIRED_PROPERTY: StaticSchema = (2, n0, _RPeq, 0) + +WARNING_PROPERTY: StaticSchema = ( + 18, + n0, + _WP, + 0, + (_PPr, _Req, _Des), + ( + (lambda: schemas.PROPERTY_PATH, 0), + (REQUIRED_PROPERTY, 0), + (PROPERTY_DESCRIPTION, 0), + ), +) + +WARNING_PROPERTIES: StaticSchema = (16, n0, _WPa, 0, (_m,), ((WARNING_PROPERTY, 0),)) + +WARNING_TYPE: StaticSchema = ( + 14, + n0, + _WT, + 0, + (_MEP, _UP_, _MET, _EP, _ER), + ( + (-1, {_sV: _MEP}), + (-1, {_sV: _UP_}), + (-1, {_sV: _MET}), + (-1, {_sV: _EP}), + (-1, {_sV: _ER}), + ), +) + +WARNING_DETAIL: StaticSchema = ( + 18, + n0, + _WD, + 0, + (_T, _P), + ((WARNING_TYPE, 0), (WARNING_PROPERTIES, 0)), +) + +WARNING_DETAILS: StaticSchema = (16, n0, _WDa, 0, (_m,), ((WARNING_DETAIL, 0),)) + +RESOURCE_DETAIL: StaticSchema = ( + 18, + n0, + _RDeso, + 0, + (_RT, _LRI, _RI, _RSe, _RSR, _W), + ( + (lambda: schemas.RESOURCE_TYPE, 0), + (lambda: schemas.LOGICAL_RESOURCE_ID, 0), + (lambda: schemas.RESOURCE_IDENTIFIER_PROPERTIES, 0), + (GENERATED_TEMPLATE_RESOURCE_STATUS, 0), + (lambda: schemas.RESOURCE_STATUS_REASON, 0), + (WARNING_DETAILS, 0), + ), +) + +RESOURCE_DETAILS: StaticSchema = (16, n0, _RDesou, 0, (_m,), ((RESOURCE_DETAIL, 0),)) + +TOTAL_WARNINGS: StaticSchema = (7, n0, _TW, 0) + +DESCRIBE_ORGANIZATIONS_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _DOAIe, + {_s: None}, + (_CA,), + ((lambda: schemas.CALL_AS, 0),), +) + +DESCRIBE_ORGANIZATIONS_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _DOAOe, + {_sm: None}, + (_S,), + ((lambda: ORGANIZATION_STATUS, 0),), +) + +DESCRIBE_ORGANIZATIONS_ACCESS: StaticOperationSchema = ( + 23, + n0, + _DOAe, + 0, + DESCRIBE_ORGANIZATIONS_ACCESS_INPUT, + DESCRIBE_ORGANIZATIONS_ACCESS_OUTPUT, + ( + lambda: schemas.INVALID_OPERATION_EXCEPTION, + lambda: schemas.OPERATION_NOT_FOUND_EXCEPTION, + ), +) + +ORGANIZATION_STATUS: StaticSchema = ( + 14, + n0, + _OSr, + 0, + (_ENABLED, _DISABLED, _DP__), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _DP__})), +) + +DESCRIBE_PUBLISHER_INPUT: StaticSchema = ( + 18, + n0, + _DPI, + {_s: None}, + (_PI,), + ((lambda: schemas.PUBLISHER_ID, 0),), +) + +DESCRIBE_PUBLISHER_OUTPUT: StaticSchema = ( + 18, + n0, + _DPO, + {_sm: None}, + (_PI, _PS, _IPd, _PPu), + ( + (lambda: schemas.PUBLISHER_ID, 0), + (lambda: PUBLISHER_STATUS, 0), + (lambda: IDENTITY_PROVIDER, 0), + (lambda: PUBLISHER_PROFILE, 0), + ), +) + +DESCRIBE_PUBLISHER: StaticOperationSchema = ( + 23, + n0, + _DPe, + 0, + DESCRIBE_PUBLISHER_INPUT, + DESCRIBE_PUBLISHER_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION,), +) + +IDENTITY_PROVIDER: StaticSchema = ( + 14, + n0, + _IPd, + 0, + (_AM, _GH, _B), + ((-1, {_sV: _AM}), (-1, {_sV: _GH}), (-1, {_sV: _B})), +) + +PUBLISHER_PROFILE: StaticSchema = (3, n0, _PPu, 0) + +PUBLISHER_STATUS: StaticSchema = ( + 14, + n0, + _PS, + 0, + (_VERIFIED, _UNVERIFIED), + ((-1, {_sV: _VERIFIED}), (-1, {_sV: _UNVERIFIED})), +) + +RESOURCE_SCAN_ID: StaticSchema = (3, n0, _RSI, 0) + +DESCRIBE_RESOURCE_SCAN_INPUT: StaticSchema = ( + 18, + n0, + _DRSI, + {_s: None}, + (_RSI,), + ((RESOURCE_SCAN_ID, 1),), +) + +DESCRIBE_RESOURCE_SCAN_OUTPUT: StaticSchema = ( + 18, + n0, + _DRSO, + {_sm: None}, + (_RSI, _S, _SR, _ST, _ETn, _PC, _RTe, _RSeso, _RRes, _SFc), + ( + (RESOURCE_SCAN_ID, 0), + (lambda: RESOURCE_SCAN_STATUS, 0), + (lambda: RESOURCE_SCAN_STATUS_REASON, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: PERCENTAGE_COMPLETED, 0), + (lambda: schemas.RESOURCE_TYPES, 0), + (lambda: RESOURCES_SCANNED, 0), + (lambda: RESOURCES_READ, 0), + (lambda: SCAN_FILTERS, 0), + ), +) + +DESCRIBE_RESOURCE_SCAN: StaticOperationSchema = ( + 23, + n0, + _DRS, + 0, + DESCRIBE_RESOURCE_SCAN_INPUT, + DESCRIBE_RESOURCE_SCAN_OUTPUT, + (lambda: RESOURCE_SCAN_NOT_FOUND_EXCEPTION,), +) + +PERCENTAGE_COMPLETED: StaticSchema = (10, n0, _PC, 0) + +RESOURCES_READ: StaticSchema = (7, n0, _RRes, 0) + +RESOURCES_SCANNED: StaticSchema = (7, n0, _RSeso, 0) + +RESOURCE_TYPE_FILTER: StaticSchema = (3, n0, _RTF, 0) + +RESOURCE_TYPE_FILTERS: StaticSchema = ( + 16, + n0, + _RTFe, + 0, + (_m,), + ((RESOURCE_TYPE_FILTER, 0),), +) + +SCAN_FILTER: StaticSchema = (18, n0, _SF, 0, (_Ty,), ((RESOURCE_TYPE_FILTERS, 0),)) + +SCAN_FILTERS: StaticSchema = (16, n0, _SFc, 0, (_m,), ((SCAN_FILTER, 0),)) + +RESOURCE_SCAN_STATUS: StaticSchema = ( + 14, + n0, + _RSS, + 0, + (_IP, _FAILED, _COMPLETE, _EXPIRED), + ( + (-1, {_sV: _IP}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _COMPLETE}), + (-1, {_sV: _EXPIRED}), + ), +) + +RESOURCE_SCAN_STATUS_REASON: StaticSchema = (3, n0, _RSSR, 0) + +RESOURCE_SCAN_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RSNFE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ResourceScanNotFound", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DESCRIBE_STACK_DRIFT_DETECTION_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _DSDDSI, + {_s: None}, + (_SDDI,), + ((lambda: schemas.STACK_DRIFT_DETECTION_ID, 1),), +) + +DESCRIBE_STACK_DRIFT_DETECTION_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSDDSO, + {_sm: None}, + (_SI, _SDDI, _SDS, _DSet, _DSR, _DSRC, _Ti), + ( + (lambda: schemas.STACK_ID, 1), + (lambda: schemas.STACK_DRIFT_DETECTION_ID, 1), + (lambda: schemas.STACK_DRIFT_STATUS, 0), + (lambda: STACK_DRIFT_DETECTION_STATUS, 1), + (lambda: STACK_DRIFT_DETECTION_STATUS_REASON, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +DESCRIBE_STACK_DRIFT_DETECTION_STATUS: StaticOperationSchema = ( + 23, + n0, + _DSDDS, + 0, + DESCRIBE_STACK_DRIFT_DETECTION_STATUS_INPUT, + DESCRIBE_STACK_DRIFT_DETECTION_STATUS_OUTPUT, + (), +) + +STACK_DRIFT_DETECTION_STATUS: StaticSchema = ( + 14, + n0, + _SDDS, + 0, + (_DIP_, _DF_, _DC_), + ((-1, {_sV: _DIP_}), (-1, {_sV: _DF_}), (-1, {_sV: _DC_})), +) + +STACK_DRIFT_DETECTION_STATUS_REASON: StaticSchema = (3, n0, _SDDSR, 0) + +DESCRIBE_STACK_EVENTS_INPUT: StaticSchema = ( + 18, + n0, + _DSEI, + {_s: None}, + (_SN, _NT), + ((lambda: schemas.STACK_NAME, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +DESCRIBE_STACK_EVENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSEO, + {_sm: None}, + (_SEta, _NT), + ((lambda: STACK_EVENTS, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +DESCRIBE_STACK_EVENTS: StaticOperationSchema = ( + 23, + n0, + _DSE, + 0, + DESCRIBE_STACK_EVENTS_INPUT, + DESCRIBE_STACK_EVENTS_OUTPUT, + (), +) + +STACK_EVENT: StaticSchema = ( + 18, + n0, + _SEt, + 0, + ( + _SI, + _EI, + _SN, + _OI, + _LRI, + _PRI, + _RT, + _Ti, + _RSe, + _RSR, + _RP, + _CRT, + _HT, + _HS, + _HSR, + _HIP, + _HII, + _HFM, + _DSe, + ), + ( + (lambda: schemas.STACK_ID, 1), + (lambda: schemas.EVENT_ID, 1), + (lambda: schemas.STACK_NAME, 1), + (lambda: schemas.OPERATION_ID, 0), + (lambda: schemas.LOGICAL_RESOURCE_ID, 0), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + (lambda: schemas.RESOURCE_TYPE, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.RESOURCE_STATUS, 0), + (lambda: schemas.RESOURCE_STATUS_REASON, 0), + (lambda: schemas.RESOURCE_PROPERTIES, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (lambda: schemas.HOOK_TYPE, 0), + (lambda: schemas.HOOK_STATUS, 0), + (lambda: schemas.HOOK_STATUS_REASON, 0), + (lambda: schemas.HOOK_INVOCATION_POINT, 0), + (lambda: schemas.HOOK_INVOCATION_ID, 0), + (lambda: schemas.HOOK_FAILURE_MODE, 0), + (lambda: schemas.DETAILED_STATUS, 0), + ), +) + +STACK_EVENTS: StaticSchema = (16, n0, _SEta, 0, (_m,), ((STACK_EVENT, 0),)) + +DESCRIBE_STACK_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _DSIIe, + {_s: None}, + (_SSN, _SIA, _SIR, _CA), + ( + (lambda: schemas.STACK_SET_NAME, 1), + (lambda: schemas.ACCOUNT, 1), + (lambda: schemas.REGION, 1), + (lambda: schemas.CALL_AS, 0), + ), +) + +DESCRIBE_STACK_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _DSIOe, + {_sm: None}, + (_SIt,), + ((lambda: STACK_INSTANCE, 0),), +) + +DESCRIBE_STACK_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _DSIes, + 0, + DESCRIBE_STACK_INSTANCE_INPUT, + DESCRIBE_STACK_INSTANCE_OUTPUT, + ( + lambda: schemas.STACK_INSTANCE_NOT_FOUND_EXCEPTION, + lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION, + ), +) + +STACK_INSTANCE_DETAILED_STATUS: StaticSchema = ( + 14, + n0, + _SIDS, + 0, + (_PENDING, _RUNNING, _SUCCEEDED, _FAILED, _CANCELLED, _INOPERABLE, _SSA, _FI), + ( + (-1, {_sV: _PENDING}), + (-1, {_sV: _RUNNING}), + (-1, {_sV: _SUCCEEDED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _CANCELLED}), + (-1, {_sV: _INOPERABLE}), + (-1, {_sV: _SSA}), + (-1, {_sV: _FI}), + ), +) + +STACK_INSTANCE_COMPREHENSIVE_STATUS: StaticSchema = ( + 18, + n0, + _SICS, + 0, + (_DSe,), + ((STACK_INSTANCE_DETAILED_STATUS, 0),), +) + +STACK_INSTANCE_STATUS: StaticSchema = ( + 14, + n0, + _SIS, + 0, + (_CURRENT, _OUTDATED, _INOPERABLE), + ((-1, {_sV: _CURRENT}), (-1, {_sV: _OUTDATED}), (-1, {_sV: _INOPERABLE})), +) + +STACK_INSTANCE: StaticSchema = ( + 18, + n0, + _SIt, + 0, + (_SSI, _Reg, _A, _SI, _PO, _S, _SIS, _SR, _OUI, _DSr, _LDCT, _LOI), + ( + (lambda: schemas.STACK_SET_ID, 0), + (lambda: schemas.REGION, 0), + (lambda: schemas.ACCOUNT, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.PARAMETERS, 0), + (STACK_INSTANCE_STATUS, 0), + (STACK_INSTANCE_COMPREHENSIVE_STATUS, 0), + (lambda: schemas.REASON, 0), + (lambda: schemas.ORGANIZATIONAL_UNIT_ID, 0), + (lambda: schemas.STACK_DRIFT_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + ), +) + +DESCRIBE_STACK_REFACTOR_INPUT: StaticSchema = ( + 18, + n0, + _DSRI, + {_s: None}, + (_SRI,), + ((lambda: schemas.STACK_REFACTOR_ID, 1),), +) + +DESCRIBE_STACK_REFACTOR_OUTPUT: StaticSchema = ( + 18, + n0, + _DSRO, + {_sm: None}, + (_Des, _SRI, _SIta, _ES, _ESR, _S, _SR), + ( + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.STACK_REFACTOR_ID, 0), + (lambda: STACK_IDS, 0), + (lambda: STACK_REFACTOR_EXECUTION_STATUS, 0), + (lambda: EXECUTION_STATUS_REASON, 0), + (lambda: STACK_REFACTOR_STATUS, 0), + (lambda: STACK_REFACTOR_STATUS_REASON, 0), + ), +) + +DESCRIBE_STACK_REFACTOR: StaticOperationSchema = ( + 23, + n0, + _DSRe, + 0, + DESCRIBE_STACK_REFACTOR_INPUT, + DESCRIBE_STACK_REFACTOR_OUTPUT, + (lambda: STACK_REFACTOR_NOT_FOUND_EXCEPTION,), +) + +STACK_REFACTOR_EXECUTION_STATUS: StaticSchema = ( + 14, + n0, + _SRES, + 0, + (_UNAVAILABLE, _AVAILABLE, _OBSOLETE, _EIP, _EC_, _EF, _RIP_, _RC_, _RF), + ( + (-1, {_sV: _UNAVAILABLE}), + (-1, {_sV: _AVAILABLE}), + (-1, {_sV: _OBSOLETE}), + (-1, {_sV: _EIP}), + (-1, {_sV: _EC_}), + (-1, {_sV: _EF}), + (-1, {_sV: _RIP_}), + (-1, {_sV: _RC_}), + (-1, {_sV: _RF}), + ), +) + +EXECUTION_STATUS_REASON: StaticSchema = (3, n0, _ESR, 0) + +STACK_IDS: StaticSchema = (16, n0, _SIta, 0, (_m,), ((lambda: schemas.STACK_ID, 0),)) + +STACK_REFACTOR_STATUS: StaticSchema = ( + 14, + n0, + _SRS, + 0, + (_CIP, _CC, _CF, _DIP, _DC, _DF), + ( + (-1, {_sV: _CIP}), + (-1, {_sV: _CC}), + (-1, {_sV: _CF}), + (-1, {_sV: _DIP}), + (-1, {_sV: _DC}), + (-1, {_sV: _DF}), + ), +) + +STACK_REFACTOR_STATUS_REASON: StaticSchema = (3, n0, _SRSR, 0) + +STACK_REFACTOR_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _SRNFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "StackRefactorNotFoundException", "httpResponseCode": 404} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DESCRIBE_STACK_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _DSRIe, + {_s: None}, + (_SN, _LRI), + ((lambda: schemas.STACK_NAME, 1), (lambda: schemas.LOGICAL_RESOURCE_ID, 1)), +) + +DESCRIBE_STACK_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _DSROe, + {_sm: None}, + (_SRD,), + ((lambda: STACK_RESOURCE_DETAIL, 0),), +) + +DESCRIBE_STACK_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _DSRes, + 0, + DESCRIBE_STACK_RESOURCE_INPUT, + DESCRIBE_STACK_RESOURCE_OUTPUT, + (), +) + +STACK_RESOURCE_DETAIL: StaticSchema = ( + 18, + n0, + _SRD, + 0, + (_SN, _SI, _LRI, _PRI, _RT, _LUTa, _RSe, _RSR, _Des, _Me, _DI, _MI), + ( + (lambda: schemas.STACK_NAME, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.LOGICAL_RESOURCE_ID, 1), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + (lambda: schemas.RESOURCE_TYPE, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.RESOURCE_STATUS, 1), + (lambda: schemas.RESOURCE_STATUS_REASON, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.METADATA, 0), + (lambda: schemas.STACK_RESOURCE_DRIFT_INFORMATION, 0), + (lambda: schemas.MODULE_INFO, 0), + ), +) + +RESOURCE_SCAN_IN_PROGRESS_EXCEPTION: StaticSchema = ( + 18, + n0, + _RSIPE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ResourceScanInProgress", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_4.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_4.py new file mode 100644 index 000000000..26c72c3df --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_4.py @@ -0,0 +1,1050 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudformation" +_sV = "smithy.api#enumValue" +_SUCCEEDED = "SUCCEEDED" +_FAILED = "FAILED" +_S = "Status" +_SR = "StatusReason" +_V = "Value" +_m = "member" +_s = "smithy.api#input" +_sm = "smithy.api#output" +_AUu = "AutoUpdate" +_LC = "LoggingConfig" +_smit = "smithy.api#required" +_PI = "PublisherId" +_TN = "TypeName" +_T = "Type" +_TNA = "TypeNameAlias" +_ERA = "ExecutionRoleArn" +_Ar = "Arn" +_PASSED = "PASSED" +_SSARN = "StackSetARN" +_AD = "AutoDeployment" +_TA = "TypeArn" +_Ti = "Timestamp" +_LU = "LastUpdated" +_IP = "IN_PROGRESS" +_CA = "CallAs" +_SN = "StackName" +_Cap = "Capabilities" +_CSI = "ChangeSetId" +_P = "Properties" +_Ta = "Tags" +_AVc = "ActualValue" +_LRI = "LogicalResourceId" +_MI = "ModuleInfo" +_PRI = "PhysicalResourceId" +_SRDS = "StackResourceDriftStatus" +_IS = "IN_SYNC" +_NC = "NOT_CHECKED" +_RT = "ResourceType" +_Ac = "Action" +_CIP = "CREATE_IN_PROGRESS" +_CC = "CREATE_COMPLETE" +_DIP = "DELETE_IN_PROGRESS" +_DC = "DELETE_COMPLETE" +_DF = "DELETE_FAILED" +_CTr = "CreationTime" +_Des = "Description" +_SI = "StackId" +_CREATE = "CREATE" +_UPDATE = "UPDATE" +_RARNo = "RoleARN" +_DR = "DisableRollback" +_DCe = "DeploymentConfig" +_NARNo = "NotificationARNs" +_DELETE = "DELETE" +_Para = "Parameters" +_RCo = "RollbackConfiguration" +_K = "Key" +_TB = "TemplateBody" +_ETP = "EnableTerminationProtection" +_REOC = "RetainExceptOnCreate" +_TIM = "TimeoutInMinutes" +_OI = "OperationId" +_DT = "DeploymentTargets" +_OUIr = "OrganizationalUnitIds" +_SSN = "StackSetName" +_Regi = "Regions" +_OP = "OperationPreferences" +_ERN = "ExecutionRoleName" +_ME = "ManagedExecution" +_ARARN = "AdministrationRoleARN" +_PMe = "PermissionModel" +_SSI = "StackSetId" +_DMel = "DeletionMode" +_RS = "RetainStacks" +_VI = "VersionId" +_NT = "NextToken" +_SDS = "StackDriftStatus" +_DRIFTED = "DRIFTED" +_DSe = "DetailedStatus" +_OT = "OperationType" +_RSe = "ResourceStatus" +_CF = "CREATE_FAILED" +_UIP = "UPDATE_IN_PROGRESS" +_UF = "UPDATE_FAILED" +_UC = "UPDATE_COMPLETE" +_IC = "IMPORT_COMPLETE" +_IIP = "IMPORT_IN_PROGRESS" +_IRIP = "IMPORT_ROLLBACK_IN_PROGRESS" +_IRF = "IMPORT_ROLLBACK_FAILED" +_IRC = "IMPORT_ROLLBACK_COMPLETE" +_URIP = "UPDATE_ROLLBACK_IN_PROGRESS" +_URC = "UPDATE_ROLLBACK_COMPLETE" +_URF = "UPDATE_ROLLBACK_FAILED" +_RIP_ = "ROLLBACK_IN_PROGRESS" +_RC_ = "ROLLBACK_COMPLETE" +_RF = "ROLLBACK_FAILED" +_RSR = "ResourceStatusReason" +_LUT = "LastUpdatedTime" +_PPr = "PropertyPath" +_RUNNING = "RUNNING" +_DSr = "DriftStatus" +_LDCT = "LastDriftCheckTimestamp" +_LCT = "LastCheckTimestamp" +_DI = "DriftInformation" +_SRDSF = "StackResourceDriftStatusFilters" +_DSRDI = "DescribeStackResourceDriftsInput" +_MR = "MaxResults" +_SRDSR = "StackResourceDriftStatusReason" +_PRICKVP = "PhysicalResourceIdContextKeyValuePair" +_PRIC = "PhysicalResourceIdContext" +_PVr = "PropertyValue" +_DTi = "DifferenceType" +_ADD = "ADD" +_REMOVE = "REMOVE" +_NE = "NOT_EQUAL" +_PDr = "PropertyDifference" +_EV = "ExpectedValue" +_PDro = "PropertyDifferences" +_SRDt = "StackResourceDrift" +_EPx = "ExpectedProperties" +_AP = "ActualProperties" +_DSRr = "DriftStatusReason" +_SRDta = "StackResourceDrifts" +_DSRDO = "DescribeStackResourceDriftsOutput" +_DSRD = "DescribeStackResourceDrifts" +_DSRIes = "DescribeStackResourcesInput" +_SRt = "StackResource" +_SRta = "StackResources" +_DSROes = "DescribeStackResourcesOutput" +_DSResc = "DescribeStackResources" +_DSIesc = "DescribeStacksInput" +_DTel = "DeletionTime" +_SDI = "StackDriftInformation" +_OEpe = "OperationEntry" +_LO = "LastOperations" +_EN = "ExportName" +_OK = "OutputKey" +_OV = "OutputValue" +_O = "Output" +_Ou = "Outputs" +_SS = "StackStatus" +_UCCIP = "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" +_URCCIP = "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" +_RIP__ = "REVIEW_IN_PROGRESS" +_SSR = "StackStatusReason" +_Sta = "Stack" +_PIa = "ParentId" +_RIo = "RootId" +_Stac = "Stacks" +_DSOe = "DescribeStacksOutput" +_DSes = "DescribeStacks" +_DSSIe = "DescribeStackSetInput" +_SSDDS = "StackSetDriftDetectionStatus" +_COMPLETED = "COMPLETED" +_PS_ = "PARTIAL_SUCCESS" +_STOPPED = "STOPPED" +_DSIC = "DriftedStackInstancesCount" +_SSDS = "StackSetDriftStatus" +_FSIC = "FailedStackInstancesCount" +_IPSIC = "InProgressStackInstancesCount" +_ISSIC = "InSyncStackInstancesCount" +_TSIC = "TotalStackInstancesCount" +_SSDDD = "StackSetDriftDetectionDetails" +_DDS = "DriftDetectionStatus" +_SSt = "StackSet" +_DSSOe = "DescribeStackSetOutput" +_DSSe = "DescribeStackSet" +_DSSOI = "DescribeStackSetOperationInput" +_SSOA = "StackSetOperationAction" +_DD = "DETECT_DRIFT" +_RSN = "RetainStacksNullable" +_SSOS = "StackSetOperationStatus" +_STOPPING = "STOPPING" +_QUEUED = "QUEUED" +_SSOSD = "StackSetOperationStatusDetails" +_SSOSR = "StackSetOperationStatusReason" +_SSO = "StackSetOperation" +_CTre = "CreationTimestamp" +_ETnd = "EndTimestamp" +_SDta = "StatusDetails" +_DSSOO = "DescribeStackSetOperationOutput" +_DSSOes = "DescribeStackSetOperation" +_PVN = "PublicVersionNumber" +_DTIes = "DescribeTypeInput" +_CSo = "ConfigurationSchema" +_DSep = "DeprecatedStatus" +_LIVE = "LIVE" +_DEPRECATED = "DEPRECATED" +_OSU = "OptionalSecureUrl" +_IA = "IsActivated" +_IDV = "IsDefaultVersion" +_PT = "ProvisioningType" +_NP = "NON_PROVISIONABLE" +_IMMUTABLE = "IMMUTABLE" +_FM_ = "FULLY_MUTABLE" +_SMV = "SupportedMajorVersion" +_SMVu = "SupportedMajorVersions" +_RAT = "RequiredActivatedType" +_OTN = "OriginalTypeName" +_RATe = "RequiredActivatedTypes" +_TS = "TypeSchema" +_TTS = "TypeTestsStatus" +_NT_ = "NOT_TESTED" +_TTSD = "TypeTestsStatusDescription" +_Vi = "Visibility" +_PUBLIC = "PUBLIC" +_PRIVATE = "PRIVATE" +_DTOes = "DescribeTypeOutput" +_DVI = "DefaultVersionId" +_Sch = "Schema" +_SU = "SourceUrl" +_DU = "DocumentationUrl" +_TCi = "TimeCreated" +_OTA = "OriginalTypeArn" +_LPV = "LatestPublicVersion" +_DTes = "DescribeType" +_RTegi = "RegistrationToken" +_DTRI = "DescribeTypeRegistrationInput" +_DTRO = "DescribeTypeRegistrationOutput" +_PSr = "ProgressStatus" +_TVA = "TypeVersionArn" +_DTR = "DescribeTypeRegistration" + +STACK_RESOURCE_DRIFT_STATUS_FILTERS: StaticSchema = ( + 16, + n0, + _SRDSF, + 0, + (_m,), + ((lambda: schemas.STACK_RESOURCE_DRIFT_STATUS, 0),), +) + +DESCRIBE_STACK_RESOURCE_DRIFTS_INPUT: StaticSchema = ( + 18, + n0, + _DSRDI, + {_s: None}, + (_SN, _SRDSF, _NT, _MR), + ( + (lambda: schemas.STACK_NAME_OR_ID, 1), + (STACK_RESOURCE_DRIFT_STATUS_FILTERS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOXED_MAX_RESULTS, 0), + ), +) + +DESCRIBE_STACK_RESOURCE_DRIFTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSRDO, + {_sm: None}, + (_SRDta, _NT), + ((lambda: STACK_RESOURCE_DRIFTS, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +DESCRIBE_STACK_RESOURCE_DRIFTS: StaticOperationSchema = ( + 23, + n0, + _DSRD, + 0, + DESCRIBE_STACK_RESOURCE_DRIFTS_INPUT, + DESCRIBE_STACK_RESOURCE_DRIFTS_OUTPUT, + (), +) + +PROPERTIES: StaticSchema = (3, n0, _P, 0) + +STACK_RESOURCE_DRIFT_STATUS_REASON: StaticSchema = (3, n0, _SRDSR, 0) + +KEY: StaticSchema = (3, n0, _K, 0) + +VALUE: StaticSchema = (3, n0, _V, 0) + +PHYSICAL_RESOURCE_ID_CONTEXT_KEY_VALUE_PAIR: StaticSchema = ( + 18, + n0, + _PRICKVP, + 0, + (_K, _V), + ((KEY, 1), (VALUE, 1)), +) + +PHYSICAL_RESOURCE_ID_CONTEXT: StaticSchema = ( + 16, + n0, + _PRIC, + 0, + (_m,), + ((PHYSICAL_RESOURCE_ID_CONTEXT_KEY_VALUE_PAIR, 0),), +) + +PROPERTY_VALUE: StaticSchema = (3, n0, _PVr, 0) + +DIFFERENCE_TYPE: StaticSchema = ( + 14, + n0, + _DTi, + 0, + (_ADD, _REMOVE, _NE), + ((-1, {_sV: _ADD}), (-1, {_sV: _REMOVE}), (-1, {_sV: _NE})), +) + +PROPERTY_DIFFERENCE: StaticSchema = ( + 18, + n0, + _PDr, + 0, + (_PPr, _EV, _AVc, _DTi), + ( + (lambda: schemas.PROPERTY_PATH, 1), + (PROPERTY_VALUE, 1), + (PROPERTY_VALUE, 1), + (DIFFERENCE_TYPE, 1), + ), +) + +PROPERTY_DIFFERENCES: StaticSchema = ( + 16, + n0, + _PDro, + 0, + (_m,), + ((PROPERTY_DIFFERENCE, 0),), +) + +STACK_RESOURCE_DRIFT: StaticSchema = ( + 18, + n0, + _SRDt, + 0, + (_SI, _LRI, _PRI, _PRIC, _RT, _EPx, _AP, _PDro, _SRDS, _Ti, _MI, _DSRr), + ( + (lambda: schemas.STACK_ID, 1), + (lambda: schemas.LOGICAL_RESOURCE_ID, 1), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + (PHYSICAL_RESOURCE_ID_CONTEXT, 0), + (lambda: schemas.RESOURCE_TYPE, 1), + (PROPERTIES, 0), + (PROPERTIES, 0), + (PROPERTY_DIFFERENCES, 0), + (lambda: schemas.STACK_RESOURCE_DRIFT_STATUS, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.MODULE_INFO, 0), + (STACK_RESOURCE_DRIFT_STATUS_REASON, 0), + ), +) + +STACK_RESOURCE_DRIFTS: StaticSchema = ( + 16, + n0, + _SRDta, + 0, + (_m,), + ((STACK_RESOURCE_DRIFT, 0),), +) + +DESCRIBE_STACK_RESOURCES_INPUT: StaticSchema = ( + 18, + n0, + _DSRIes, + {_s: None}, + (_SN, _LRI, _PRI), + ( + (lambda: schemas.STACK_NAME, 0), + (lambda: schemas.LOGICAL_RESOURCE_ID, 0), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + ), +) + +DESCRIBE_STACK_RESOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DSROes, + {_sm: None}, + (_SRta,), + ((lambda: STACK_RESOURCES, 0),), +) + +DESCRIBE_STACK_RESOURCES: StaticOperationSchema = ( + 23, + n0, + _DSResc, + 0, + DESCRIBE_STACK_RESOURCES_INPUT, + DESCRIBE_STACK_RESOURCES_OUTPUT, + (), +) + +STACK_RESOURCE: StaticSchema = ( + 18, + n0, + _SRt, + 0, + (_SN, _SI, _LRI, _PRI, _RT, _Ti, _RSe, _RSR, _Des, _DI, _MI), + ( + (lambda: schemas.STACK_NAME, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.LOGICAL_RESOURCE_ID, 1), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + (lambda: schemas.RESOURCE_TYPE, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.RESOURCE_STATUS, 1), + (lambda: schemas.RESOURCE_STATUS_REASON, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.STACK_RESOURCE_DRIFT_INFORMATION, 0), + (lambda: schemas.MODULE_INFO, 0), + ), +) + +STACK_RESOURCES: StaticSchema = (16, n0, _SRta, 0, (_m,), ((STACK_RESOURCE, 0),)) + +DESCRIBE_STACKS_INPUT: StaticSchema = ( + 18, + n0, + _DSIesc, + {_s: None}, + (_SN, _NT), + ((lambda: schemas.STACK_NAME, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +DESCRIBE_STACKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSOe, + {_sm: None}, + (_Stac, _NT), + ((lambda: STACKS, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +DESCRIBE_STACKS: StaticOperationSchema = ( + 23, + n0, + _DSes, + 0, + DESCRIBE_STACKS_INPUT, + DESCRIBE_STACKS_OUTPUT, + (), +) + +DELETION_TIME: StaticSchema = (4, n0, _DTel, 0) + +STACK_DRIFT_INFORMATION: StaticSchema = ( + 18, + n0, + _SDI, + 0, + (_SDS, _LCT), + ((lambda: schemas.STACK_DRIFT_STATUS, 1), (lambda: schemas.TIMESTAMP, 0)), +) + +OPERATION_ENTRY: StaticSchema = ( + 18, + n0, + _OEpe, + 0, + (_OT, _OI), + ((lambda: schemas.OPERATION_TYPE, 0), (lambda: schemas.OPERATION_ID, 0)), +) + +LAST_OPERATIONS: StaticSchema = (16, n0, _LO, 0, (_m,), ((OPERATION_ENTRY, 0),)) + +OUTPUT_KEY: StaticSchema = (3, n0, _OK, 0) + +OUTPUT_VALUE: StaticSchema = (3, n0, _OV, 0) + +OUTPUT: StaticSchema = ( + 18, + n0, + _O, + 0, + (_OK, _OV, _Des, _EN), + ( + (OUTPUT_KEY, 0), + (OUTPUT_VALUE, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.EXPORT_NAME, 0), + ), +) + +OUTPUTS: StaticSchema = (16, n0, _Ou, 0, (_m,), ((OUTPUT, 0),)) + +STACK_STATUS: StaticSchema = ( + 14, + n0, + _SS, + 0, + ( + _CIP, + _CF, + _CC, + _RIP_, + _RF, + _RC_, + _DIP, + _DF, + _DC, + _UIP, + _UCCIP, + _UC, + _UF, + _URIP, + _URF, + _URCCIP, + _URC, + _RIP__, + _IIP, + _IC, + _IRIP, + _IRF, + _IRC, + ), + ( + (-1, {_sV: _CIP}), + (-1, {_sV: _CF}), + (-1, {_sV: _CC}), + (-1, {_sV: _RIP_}), + (-1, {_sV: _RF}), + (-1, {_sV: _RC_}), + (-1, {_sV: _DIP}), + (-1, {_sV: _DF}), + (-1, {_sV: _DC}), + (-1, {_sV: _UIP}), + (-1, {_sV: _UCCIP}), + (-1, {_sV: _UC}), + (-1, {_sV: _UF}), + (-1, {_sV: _URIP}), + (-1, {_sV: _URF}), + (-1, {_sV: _URCCIP}), + (-1, {_sV: _URC}), + (-1, {_sV: _RIP__}), + (-1, {_sV: _IIP}), + (-1, {_sV: _IC}), + (-1, {_sV: _IRIP}), + (-1, {_sV: _IRF}), + (-1, {_sV: _IRC}), + ), +) + +STACK_STATUS_REASON: StaticSchema = (3, n0, _SSR, 0) + +STACK: StaticSchema = ( + 18, + n0, + _Sta, + 0, + ( + _SI, + _SN, + _CSI, + _Des, + _Para, + _CTr, + _DTel, + _LUT, + _RCo, + _SS, + _SSR, + _DR, + _DCe, + _NARNo, + _TIM, + _Cap, + _Ou, + _RARNo, + _Ta, + _ETP, + _PIa, + _RIo, + _DI, + _REOC, + _DMel, + _DSe, + _LO, + ), + ( + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.STACK_NAME, 1), + (lambda: schemas.CHANGE_SET_ID, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.PARAMETERS, 0), + (lambda: schemas.CREATION_TIME, 1), + (DELETION_TIME, 0), + (lambda: schemas.LAST_UPDATED_TIME, 0), + (lambda: schemas.ROLLBACK_CONFIGURATION, 0), + (STACK_STATUS, 1), + (STACK_STATUS_REASON, 0), + (lambda: schemas.DISABLE_ROLLBACK, 0), + (lambda: schemas.DEPLOYMENT_CONFIG, 0), + (lambda: schemas.NOTIFICATION_AR_NS, 0), + (lambda: schemas.TIMEOUT_MINUTES, 0), + (lambda: schemas.CAPABILITIES, 0), + (OUTPUTS, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.ENABLE_TERMINATION_PROTECTION, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.STACK_ID, 0), + (STACK_DRIFT_INFORMATION, 0), + (lambda: schemas.RETAIN_EXCEPT_ON_CREATE, 0), + (lambda: schemas.DELETION_MODE, 0), + (lambda: schemas.DETAILED_STATUS, 0), + (LAST_OPERATIONS, 0), + ), +) + +STACKS: StaticSchema = (16, n0, _Stac, 0, (_m,), ((STACK, 0),)) + +DESCRIBE_STACK_SET_INPUT: StaticSchema = ( + 18, + n0, + _DSSIe, + {_s: None}, + (_SSN, _CA), + ((lambda: schemas.STACK_SET_NAME, 1), (lambda: schemas.CALL_AS, 0)), +) + +DESCRIBE_STACK_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _DSSOe, + {_sm: None}, + (_SSt,), + ((lambda: STACK_SET, 0),), +) + +DESCRIBE_STACK_SET: StaticOperationSchema = ( + 23, + n0, + _DSSe, + 0, + DESCRIBE_STACK_SET_INPUT, + DESCRIBE_STACK_SET_OUTPUT, + (lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION,), +) + +STACK_SET_DRIFT_DETECTION_STATUS: StaticSchema = ( + 14, + n0, + _SSDDS, + 0, + (_COMPLETED, _FAILED, _PS_, _IP, _STOPPED), + ( + (-1, {_sV: _COMPLETED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _PS_}), + (-1, {_sV: _IP}), + (-1, {_sV: _STOPPED}), + ), +) + +DRIFTED_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _DSIC, 0) + +STACK_SET_DRIFT_STATUS: StaticSchema = ( + 14, + n0, + _SSDS, + 0, + (_DRIFTED, _IS, _NC), + ((-1, {_sV: _DRIFTED}), (-1, {_sV: _IS}), (-1, {_sV: _NC})), +) + +FAILED_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _FSIC, 0) + +IN_PROGRESS_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _IPSIC, 0) + +IN_SYNC_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _ISSIC, 0) + +TOTAL_STACK_INSTANCES_COUNT: StaticSchema = (7, n0, _TSIC, 0) + +STACK_SET_DRIFT_DETECTION_DETAILS: StaticSchema = ( + 18, + n0, + _SSDDD, + 0, + (_DSr, _DDS, _LDCT, _TSIC, _DSIC, _ISSIC, _IPSIC, _FSIC), + ( + (STACK_SET_DRIFT_STATUS, 0), + (STACK_SET_DRIFT_DETECTION_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (TOTAL_STACK_INSTANCES_COUNT, 0), + (DRIFTED_STACK_INSTANCES_COUNT, 0), + (IN_SYNC_STACK_INSTANCES_COUNT, 0), + (IN_PROGRESS_STACK_INSTANCES_COUNT, 0), + (FAILED_STACK_INSTANCES_COUNT, 0), + ), +) + +STACK_SET: StaticSchema = ( + 18, + n0, + _SSt, + 0, + ( + _SSN, + _SSI, + _Des, + _S, + _TB, + _Para, + _Cap, + _Ta, + _SSARN, + _ARARN, + _ERN, + _SSDDD, + _AD, + _PMe, + _OUIr, + _ME, + _Regi, + ), + ( + (lambda: schemas.STACK_SET_NAME, 0), + (lambda: schemas.STACK_SET_ID, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.STACK_SET_STATUS, 0), + (lambda: schemas.TEMPLATE_BODY, 0), + (lambda: schemas.PARAMETERS, 0), + (lambda: schemas.CAPABILITIES, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.STACK_SET_ARN, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.EXECUTION_ROLE_NAME, 0), + (STACK_SET_DRIFT_DETECTION_DETAILS, 0), + (lambda: schemas.AUTO_DEPLOYMENT, 0), + (lambda: schemas.PERMISSION_MODELS, 0), + (lambda: schemas.ORGANIZATIONAL_UNIT_ID_LIST, 0), + (lambda: schemas.MANAGED_EXECUTION, 0), + (lambda: schemas.REGION_LIST, 0), + ), +) + +DESCRIBE_STACK_SET_OPERATION_INPUT: StaticSchema = ( + 18, + n0, + _DSSOI, + {_s: None}, + (_SSN, _OI, _CA), + ( + (lambda: schemas.STACK_SET_NAME, 1), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 1), + (lambda: schemas.CALL_AS, 0), + ), +) + +DESCRIBE_STACK_SET_OPERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DSSOO, + {_sm: None}, + (_SSO,), + ((lambda: STACK_SET_OPERATION, 0),), +) + +DESCRIBE_STACK_SET_OPERATION: StaticOperationSchema = ( + 23, + n0, + _DSSOes, + 0, + DESCRIBE_STACK_SET_OPERATION_INPUT, + DESCRIBE_STACK_SET_OPERATION_OUTPUT, + ( + lambda: schemas.OPERATION_NOT_FOUND_EXCEPTION, + lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION, + ), +) + +STACK_SET_OPERATION_ACTION: StaticSchema = ( + 14, + n0, + _SSOA, + 0, + (_CREATE, _UPDATE, _DELETE, _DD), + ( + (-1, {_sV: _CREATE}), + (-1, {_sV: _UPDATE}), + (-1, {_sV: _DELETE}), + (-1, {_sV: _DD}), + ), +) + +RETAIN_STACKS_NULLABLE: StaticSchema = (2, n0, _RSN, 0) + +STACK_SET_OPERATION_STATUS: StaticSchema = ( + 14, + n0, + _SSOS, + 0, + (_RUNNING, _SUCCEEDED, _FAILED, _STOPPING, _STOPPED, _QUEUED), + ( + (-1, {_sV: _RUNNING}), + (-1, {_sV: _SUCCEEDED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _STOPPING}), + (-1, {_sV: _STOPPED}), + (-1, {_sV: _QUEUED}), + ), +) + +STACK_SET_OPERATION_STATUS_DETAILS: StaticSchema = ( + 18, + n0, + _SSOSD, + 0, + (_FSIC,), + ((FAILED_STACK_INSTANCES_COUNT, 0),), +) + +STACK_SET_OPERATION_STATUS_REASON: StaticSchema = (3, n0, _SSOSR, 0) + +STACK_SET_OPERATION: StaticSchema = ( + 18, + n0, + _SSO, + 0, + (_OI, _SSI, _Ac, _S, _OP, _RS, _ARARN, _ERN, _CTre, _ETnd, _DT, _SSDDD, _SR, _SDta), + ( + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (lambda: schemas.STACK_SET_ID, 0), + (STACK_SET_OPERATION_ACTION, 0), + (STACK_SET_OPERATION_STATUS, 0), + (lambda: schemas.STACK_SET_OPERATION_PREFERENCES, 0), + (RETAIN_STACKS_NULLABLE, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.EXECUTION_ROLE_NAME, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.DEPLOYMENT_TARGETS, 0), + (STACK_SET_DRIFT_DETECTION_DETAILS, 0), + (STACK_SET_OPERATION_STATUS_REASON, 0), + (STACK_SET_OPERATION_STATUS_DETAILS, 0), + ), +) + +PUBLIC_VERSION_NUMBER: StaticSchema = (3, n0, _PVN, 0) + +DESCRIBE_TYPE_INPUT: StaticSchema = ( + 18, + n0, + _DTIes, + {_s: None}, + (_T, _TN, _Ar, _VI, _PI, _PVN), + ( + (lambda: schemas.REGISTRY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_ARN, 0), + (lambda: schemas.TYPE_VERSION_ID, 0), + (lambda: schemas.PUBLISHER_ID, 0), + (PUBLIC_VERSION_NUMBER, 0), + ), +) + +DESCRIBE_TYPE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTOes, + {_sm: None}, + ( + _Ar, + _T, + _TN, + _DVI, + _IDV, + _TTS, + _TTSD, + _Des, + _Sch, + _PT, + _DSep, + _LC, + _RATe, + _ERA, + _Vi, + _SU, + _DU, + _LU, + _TCi, + _CSo, + _PI, + _OTN, + _OTA, + _PVN, + _LPV, + _IA, + _AUu, + ), + ( + (lambda: schemas.TYPE_ARN, 0), + (lambda: schemas.REGISTRY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_VERSION_ID, 0), + (lambda: IS_DEFAULT_VERSION, 0), + (lambda: TYPE_TESTS_STATUS, 0), + (lambda: TYPE_TESTS_STATUS_DESCRIPTION, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: TYPE_SCHEMA, 0), + (lambda: PROVISIONING_TYPE, 0), + (lambda: DEPRECATED_STATUS, 0), + (lambda: schemas.LOGGING_CONFIG, 0), + (lambda: REQUIRED_ACTIVATED_TYPES, 0), + (lambda: schemas.ROLE_ARN2, 0), + (lambda: VISIBILITY, 0), + (lambda: OPTIONAL_SECURE_URL, 0), + (lambda: OPTIONAL_SECURE_URL, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: CONFIGURATION_SCHEMA, 0), + (lambda: schemas.PUBLISHER_ID, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_ARN, 0), + (PUBLIC_VERSION_NUMBER, 0), + (PUBLIC_VERSION_NUMBER, 0), + (lambda: IS_ACTIVATED, 0), + (lambda: schemas.AUTO_UPDATE, 0), + ), +) + +DESCRIBE_TYPE: StaticOperationSchema = ( + 23, + n0, + _DTes, + 0, + DESCRIBE_TYPE_INPUT, + DESCRIBE_TYPE_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION, lambda: schemas.TYPE_NOT_FOUND_EXCEPTION), +) + +CONFIGURATION_SCHEMA: StaticSchema = (3, n0, _CSo, 0) + +DEPRECATED_STATUS: StaticSchema = ( + 14, + n0, + _DSep, + 0, + (_LIVE, _DEPRECATED), + ((-1, {_sV: _LIVE}), (-1, {_sV: _DEPRECATED})), +) + +OPTIONAL_SECURE_URL: StaticSchema = (3, n0, _OSU, 0) + +IS_ACTIVATED: StaticSchema = (2, n0, _IA, 0) + +IS_DEFAULT_VERSION: StaticSchema = (2, n0, _IDV, 0) + +PROVISIONING_TYPE: StaticSchema = ( + 14, + n0, + _PT, + 0, + (_NP, _IMMUTABLE, _FM_), + ((-1, {_sV: _NP}), (-1, {_sV: _IMMUTABLE}), (-1, {_sV: _FM_})), +) + +SUPPORTED_MAJOR_VERSION: StaticSchema = (7, n0, _SMV, 0) + +SUPPORTED_MAJOR_VERSIONS: StaticSchema = ( + 16, + n0, + _SMVu, + 0, + (_m,), + ((SUPPORTED_MAJOR_VERSION, 0),), +) + +REQUIRED_ACTIVATED_TYPE: StaticSchema = ( + 18, + n0, + _RAT, + 0, + (_TNA, _OTN, _PI, _SMVu), + ( + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.PUBLISHER_ID, 0), + (SUPPORTED_MAJOR_VERSIONS, 0), + ), +) + +REQUIRED_ACTIVATED_TYPES: StaticSchema = ( + 16, + n0, + _RATe, + 0, + (_m,), + ((REQUIRED_ACTIVATED_TYPE, 0),), +) + +TYPE_SCHEMA: StaticSchema = (3, n0, _TS, 0) + +TYPE_TESTS_STATUS: StaticSchema = ( + 14, + n0, + _TTS, + 0, + (_PASSED, _FAILED, _IP, _NT_), + ((-1, {_sV: _PASSED}), (-1, {_sV: _FAILED}), (-1, {_sV: _IP}), (-1, {_sV: _NT_})), +) + +TYPE_TESTS_STATUS_DESCRIPTION: StaticSchema = (3, n0, _TTSD, 0) + +VISIBILITY: StaticSchema = ( + 14, + n0, + _Vi, + 0, + (_PUBLIC, _PRIVATE), + ((-1, {_sV: _PUBLIC}), (-1, {_sV: _PRIVATE})), +) + +DESCRIBE_TYPE_REGISTRATION_INPUT: StaticSchema = ( + 18, + n0, + _DTRI, + {_s: None}, + (_RTegi,), + ((lambda: schemas.REGISTRATION_TOKEN, 1),), +) + +DESCRIBE_TYPE_REGISTRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DTRO, + {_sm: None}, + (_PSr, _Des, _TA, _TVA), + ( + (lambda: schemas.REGISTRATION_STATUS, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TYPE_ARN, 0), + (lambda: schemas.TYPE_ARN, 0), + ), +) + +DESCRIBE_TYPE_REGISTRATION: StaticOperationSchema = ( + 23, + n0, + _DTR, + 0, + DESCRIBE_TYPE_REGISTRATION_INPUT, + DESCRIBE_TYPE_REGISTRATION_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION,), +) diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_5.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_5.py new file mode 100644 index 000000000..abd6356bb --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_5.py @@ -0,0 +1,1140 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudformation" +_sV = "smithy.api#enumValue" +_FAILED = "FAILED" +_S = "Status" +_SR = "StatusReason" +_N = "Name" +_V = "Value" +_m = "member" +_s = "smithy.api#input" +_sm = "smithy.api#output" +_smi = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_smit = "smithy.api#required" +_RESOURCE = "RESOURCE" +_TN = "TypeName" +_AVll = "AllowedValues" +_TA = "TypeArn" +_IP = "IN_PROGRESS" +_CA = "CallAs" +_CRT = "ClientRequestToken" +_SN = "StackName" +_sSI = "smithy.synthetic#originalShapeId" +_sU = "smithy.api#Unit" +_Cap = "Capabilities" +_CR = "CapabilitiesReason" +_Me = "Metadata" +_Tar = "Target" +_LRI = "LogicalResourceId" +_RT = "ResourceType" +_Ac = "Action" +_TT = "TargetType" +_IPn = "InvocationPoint" +_FM = "FailureMode" +_TVI = "TypeVersionId" +_TCVI = "TypeConfigurationVersionId" +_CSN = "ChangeSetName" +_CTr = "CreationTime" +_Des = "Description" +_CREATE = "CREATE" +_UPDATE = "UPDATE" +_IMPORT = "IMPORT" +_DR = "DisableRollback" +_DELETE = "DELETE" +_PK = "ParameterKey" +_Para = "Parameters" +_k = "key" +_v = "value" +_RI = "ResourceIdentifier" +_RTe = "ResourceTypes" +_TB = "TemplateBody" +_TURL = "TemplateURL" +_GTN = "GeneratedTemplateName" +_Reso = "Resources" +_GTI = "GeneratedTemplateId" +_REOC = "RetainExceptOnCreate" +_SPB = "StackPolicyBody" +_OI = "OperationId" +_OUIr = "OrganizationalUnitIds" +_SSN = "StackSetName" +_OP = "OperationPreferences" +_sT = "smithy.api#idempotencyToken" +_SRI = "StackRefactorId" +_NT = "NextToken" +_HSR = "HookStatusReason" +_LUT = "LastUpdatedTime" +_COMPLETE = "COMPLETE" +_W = "Warnings" +_RSI = "ResourceScanId" +_SDDI = "StackDriftDetectionId" +_SIta = "StackIds" +_MR = "MaxResults" +_SRDt = "StackResourceDrift" +_EN = "ExportName" +_OTN = "OriginalTypeName" +_RTegi = "RegistrationToken" +_RSeg = "RegistrationStatus" +_LRIo = "LogicalResourceIds" +_DSDI = "DetectStackDriftInput" +_DSDO = "DetectStackDriftOutput" +_DSD = "DetectStackDrift" +_DSRDIe = "DetectStackResourceDriftInput" +_DSRDOe = "DetectStackResourceDriftOutput" +_DSRDe = "DetectStackResourceDrift" +_DSSDI = "DetectStackSetDriftInput" +_DSSDO = "DetectStackSetDriftOutput" +_DSSD = "DetectStackSetDrift" +_ETCI = "EstimateTemplateCostInput" +_U = "Url" +_ETCO = "EstimateTemplateCostOutput" +_ETC = "EstimateTemplateCost" +_ECSI = "ExecuteChangeSetInput" +_ECSO = "ExecuteChangeSetOutput" +_ECS = "ExecuteChangeSet" +_ESRI = "ExecuteStackRefactorInput" +_ESRO = "ExecuteStackRefactorOutput" +_ESRx = "ExecuteStackRefactor" +_TF = "TemplateFormat" +_JSON = "JSON" +_YAML = "YAML" +_GGTI = "GetGeneratedTemplateInput" +_Fo = "Format" +_GGTO = "GetGeneratedTemplateOutput" +_GGT = "GetGeneratedTemplate" +_GHRI = "GetHookResultInput" +_HRI = "HookResultId" +_HTA = "HookTargetAction" +_HTI = "HookTargetId" +_HTo = "HookTarget" +_TTN = "TargetTypeName" +_TI = "TargetId" +_HTAo = "HookTypeArn" +_GHRO = "GetHookResultOutput" +_IAn = "InvokedAt" +_Ann = "Annotations" +_HRNFE = "HookResultNotFoundException" +_GHR = "GetHookResult" +_GSPI = "GetStackPolicyInput" +_GSPO = "GetStackPolicyOutput" +_GSP = "GetStackPolicy" +_TSe = "TemplateStage" +_Or = "Original" +_Pro = "Processed" +_GTIe = "GetTemplateInput" +_SLt = "StageList" +_GTO = "GetTemplateOutput" +_SA = "StagesAvailable" +_GT = "GetTemplate" +_TURTAW = "TreatUnrecognizedResourceTypesAsWarnings" +_TSC = "TemplateSummaryConfig" +_GTSI = "GetTemplateSummaryInput" +_TNr = "TransformName" +_TL = "TransformsList" +_NEo = "NoEcho" +_PCa = "ParameterConstraints" +_PTa = "ParameterType" +_PDa = "ParameterDeclaration" +_DVe = "DefaultValue" +_PDar = "ParameterDeclarations" +_RIe = "ResourceIdentifiers" +_RIS = "ResourceIdentifierSummary" +_RISe = "ResourceIdentifierSummaries" +_Ve = "Version" +_URT = "UnrecognizedResourceTypes" +_GTSO = "GetTemplateSummaryOutput" +_DTec = "DeclaredTransforms" +_GTSe = "GetTemplateSummary" +_SIL = "StackIdList" +_SIU = "StackIdsUrl" +_ISTSSI = "ImportStacksToStackSetInput" +_ISTSSO = "ImportStacksToStackSetOutput" +_SNFE = "StackNotFoundException" +_ISTSS = "ImportStacksToStackSet" +_LCSI = "ListChangeSetsInput" +_LCSO = "ListChangeSetsOutput" +_Su = "Summaries" +_LCS = "ListChangeSets" +_LEI = "ListExportsInput" +_EVx = "ExportValue" +_Ex = "Export" +_ESI = "ExportingStackId" +_Exp = "Exports" +_LEO = "ListExportsOutput" +_LE = "ListExports" +_LGTI = "ListGeneratedTemplatesInput" +_NOR = "NumberOfResources" +_TSem = "TemplateSummary" +_TSemp = "TemplateSummaries" +_LGTO = "ListGeneratedTemplatesOutput" +_LGT = "ListGeneratedTemplates" +_LHRTT = "ListHookResultsTargetType" +_CS__ = "CHANGE_SET" +_STACK = "STACK" +_CC___ = "CLOUD_CONTROL" +_LHRI = "ListHookResultsInput" +_HRS = "HookResultSummary" +_HET = "HookExecutionTarget" +_HRSo = "HookResultSummaries" +_LHRO = "ListHookResultsOutput" +_HR = "HookResults" +_LHR = "ListHookResults" +_LII = "ListImportsInput" +_Im = "Imports" +_LIO = "ListImportsOutput" +_LI = "ListImports" +_JRIPK = "JazzResourceIdentifierPropertyKey" +_JRIPV = "JazzResourceIdentifierPropertyValue" +_JRIP = "JazzResourceIdentifierProperties" +_SRIc = "ScannedResourceIdentifier" +_SRIca = "ScannedResourceIdentifiers" +_LRSRRI = "ListResourceScanRelatedResourcesInput" +_MBS = "ManagedByStack" +_SRc = "ScannedResource" +_RRel = "RelatedResources" +_LRSRRO = "ListResourceScanRelatedResourcesOutput" +_LRSRR = "ListResourceScanRelatedResources" +_RTP = "ResourceTypePrefix" + +REGISTRATION_TOKEN: StaticSchema = (3, n0, _RTegi, 0) + +REGISTRATION_STATUS: StaticSchema = ( + 14, + n0, + _RSeg, + 0, + (_COMPLETE, _IP, _FAILED), + ((-1, {_sV: _COMPLETE}), (-1, {_sV: _IP}), (-1, {_sV: _FAILED})), +) + +LOGICAL_RESOURCE_IDS: StaticSchema = ( + 16, + n0, + _LRIo, + 0, + (_m,), + ((lambda: schemas.LOGICAL_RESOURCE_ID, 0),), +) + +DETECT_STACK_DRIFT_INPUT: StaticSchema = ( + 18, + n0, + _DSDI, + {_s: None}, + (_SN, _LRIo), + ((lambda: schemas.STACK_NAME_OR_ID, 1), (LOGICAL_RESOURCE_IDS, 0)), +) + +DETECT_STACK_DRIFT_OUTPUT: StaticSchema = ( + 18, + n0, + _DSDO, + {_sm: None}, + (_SDDI,), + ((lambda: schemas.STACK_DRIFT_DETECTION_ID, 1),), +) + +DETECT_STACK_DRIFT: StaticOperationSchema = ( + 23, + n0, + _DSD, + 0, + DETECT_STACK_DRIFT_INPUT, + DETECT_STACK_DRIFT_OUTPUT, + (), +) + +DETECT_STACK_RESOURCE_DRIFT_INPUT: StaticSchema = ( + 18, + n0, + _DSRDIe, + {_s: None}, + (_SN, _LRI), + ((lambda: schemas.STACK_NAME_OR_ID, 1), (lambda: schemas.LOGICAL_RESOURCE_ID, 1)), +) + +DETECT_STACK_RESOURCE_DRIFT_OUTPUT: StaticSchema = ( + 18, + n0, + _DSRDOe, + {_sm: None}, + (_SRDt,), + ((lambda: schemas.STACK_RESOURCE_DRIFT, 1),), +) + +DETECT_STACK_RESOURCE_DRIFT: StaticOperationSchema = ( + 23, + n0, + _DSRDe, + 0, + DETECT_STACK_RESOURCE_DRIFT_INPUT, + DETECT_STACK_RESOURCE_DRIFT_OUTPUT, + (), +) + +DETECT_STACK_SET_DRIFT_INPUT: StaticSchema = ( + 18, + n0, + _DSSDI, + {_s: None}, + (_SSN, _OP, _OI, _CA), + ( + (lambda: schemas.STACK_SET_NAME_OR_ID, 1), + (lambda: schemas.STACK_SET_OPERATION_PREFERENCES, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 2), + (lambda: schemas.CALL_AS, 0), + ), +) + +DETECT_STACK_SET_DRIFT_OUTPUT: StaticSchema = ( + 18, + n0, + _DSSDO, + {_sm: None}, + (_OI,), + ((lambda: schemas.CLIENT_REQUEST_TOKEN, 0),), +) + +DETECT_STACK_SET_DRIFT: StaticOperationSchema = ( + 23, + n0, + _DSSD, + 0, + DETECT_STACK_SET_DRIFT_INPUT, + DETECT_STACK_SET_DRIFT_OUTPUT, + ( + lambda: schemas.INVALID_OPERATION_EXCEPTION, + lambda: schemas.OPERATION_IN_PROGRESS_EXCEPTION, + lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION, + ), +) + +ESTIMATE_TEMPLATE_COST_INPUT: StaticSchema = ( + 18, + n0, + _ETCI, + {_s: None}, + (_TB, _TURL, _Para), + ( + (lambda: schemas.TEMPLATE_BODY, 0), + (lambda: schemas.TEMPLATE_URL, 0), + (lambda: schemas.PARAMETERS, 0), + ), +) + +ESTIMATE_TEMPLATE_COST_OUTPUT: StaticSchema = ( + 18, + n0, + _ETCO, + {_sm: None}, + (_U,), + ((lambda: URL, 0),), +) + +ESTIMATE_TEMPLATE_COST: StaticOperationSchema = ( + 23, + n0, + _ETC, + 0, + ESTIMATE_TEMPLATE_COST_INPUT, + ESTIMATE_TEMPLATE_COST_OUTPUT, + (), +) + +URL: StaticSchema = (3, n0, _U, 0) + +EXECUTE_CHANGE_SET_INPUT: StaticSchema = ( + 18, + n0, + _ECSI, + {_s: None}, + (_CSN, _SN, _CRT, _DR, _REOC), + ( + (lambda: schemas.CHANGE_SET_NAME_OR_ID, 1), + (lambda: schemas.STACK_NAME_OR_ID, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (lambda: schemas.DISABLE_ROLLBACK, 0), + (lambda: schemas.RETAIN_EXCEPT_ON_CREATE, 0), + ), +) + +EXECUTE_CHANGE_SET_OUTPUT: StaticSchema = (18, n0, _ECSO, {_sm: None}) + +EXECUTE_CHANGE_SET: StaticOperationSchema = ( + 23, + n0, + _ECS, + 0, + EXECUTE_CHANGE_SET_INPUT, + EXECUTE_CHANGE_SET_OUTPUT, + ( + lambda: schemas.CHANGE_SET_NOT_FOUND_EXCEPTION, + lambda: schemas.INSUFFICIENT_CAPABILITIES_EXCEPTION, + lambda: schemas.INVALID_CHANGE_SET_STATUS_EXCEPTION, + lambda: schemas.TOKEN_ALREADY_EXISTS_EXCEPTION, + ), +) + +EXECUTE_STACK_REFACTOR_INPUT: StaticSchema = ( + 18, + n0, + _ESRI, + {_s: None}, + (_SRI,), + ((lambda: schemas.STACK_REFACTOR_ID, 1),), +) + +EXECUTE_STACK_REFACTOR_OUTPUT: StaticSchema = (18, n0, _ESRO, {_sSI: _sU, _sm: None}) + +EXECUTE_STACK_REFACTOR: StaticOperationSchema = ( + 23, + n0, + _ESRx, + 0, + EXECUTE_STACK_REFACTOR_INPUT, + EXECUTE_STACK_REFACTOR_OUTPUT, + (), +) + +TEMPLATE_FORMAT: StaticSchema = ( + 14, + n0, + _TF, + 0, + (_JSON, _YAML), + ((-1, {_sV: _JSON}), (-1, {_sV: _YAML})), +) + +GET_GENERATED_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _GGTI, + {_s: None}, + (_Fo, _GTN), + ((TEMPLATE_FORMAT, 0), (lambda: schemas.GENERATED_TEMPLATE_NAME, 1)), +) + +GET_GENERATED_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GGTO, + {_sm: None}, + (_S, _TB), + ( + (lambda: schemas.GENERATED_TEMPLATE_STATUS, 0), + (lambda: schemas.TEMPLATE_BODY, 0), + ), +) + +GET_GENERATED_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _GGT, + 0, + GET_GENERATED_TEMPLATE_INPUT, + GET_GENERATED_TEMPLATE_OUTPUT, + (lambda: schemas.GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION,), +) + +GET_HOOK_RESULT_INPUT: StaticSchema = ( + 18, + n0, + _GHRI, + {_s: None}, + (_HRI,), + ((lambda: schemas.HOOK_INVOCATION_ID, 0),), +) + +GET_HOOK_RESULT_OUTPUT: StaticSchema = ( + 18, + n0, + _GHRO, + {_sm: None}, + (_HRI, _IPn, _FM, _TN, _OTN, _TVI, _TCVI, _TA, _S, _HSR, _IAn, _Tar, _Ann), + ( + (lambda: schemas.HOOK_INVOCATION_ID, 0), + (lambda: schemas.HOOK_INVOCATION_POINT, 0), + (lambda: schemas.HOOK_FAILURE_MODE, 0), + (lambda: schemas.HOOK_TYPE_NAME, 0), + (lambda: schemas.HOOK_TYPE_NAME, 0), + (lambda: schemas.HOOK_TYPE_VERSION_ID, 0), + (lambda: schemas.HOOK_TYPE_CONFIGURATION_VERSION_ID, 0), + (lambda: HOOK_TYPE_ARN, 0), + (lambda: schemas.HOOK_STATUS, 0), + (lambda: schemas.HOOK_STATUS_REASON, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: HOOK_TARGET, 0), + (lambda: schemas.ANNOTATION_LIST, 0), + ), +) + +GET_HOOK_RESULT: StaticOperationSchema = ( + 23, + n0, + _GHR, + 0, + GET_HOOK_RESULT_INPUT, + GET_HOOK_RESULT_OUTPUT, + (lambda: HOOK_RESULT_NOT_FOUND_EXCEPTION,), +) + +HOOK_TARGET_ACTION: StaticSchema = ( + 14, + n0, + _HTA, + 0, + (_CREATE, _UPDATE, _DELETE, _IMPORT), + ( + (-1, {_sV: _CREATE}), + (-1, {_sV: _UPDATE}), + (-1, {_sV: _DELETE}), + (-1, {_sV: _IMPORT}), + ), +) + +HOOK_TARGET_ID: StaticSchema = (3, n0, _HTI, 0) + +HOOK_TARGET: StaticSchema = ( + 18, + n0, + _HTo, + 0, + (_TT, _TTN, _TI, _Ac), + ( + (lambda: schemas.HOOK_TARGET_TYPE, 1), + (lambda: schemas.HOOK_TARGET_TYPE_NAME, 1), + (HOOK_TARGET_ID, 1), + (HOOK_TARGET_ACTION, 1), + ), +) + +HOOK_TYPE_ARN: StaticSchema = (3, n0, _HTAo, 0) + +HOOK_RESULT_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _HRNFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "HookResultNotFound", "httpResponseCode": 404}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +GET_STACK_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GSPI, + {_s: None}, + (_SN,), + ((lambda: schemas.STACK_NAME, 1),), +) + +GET_STACK_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GSPO, + {_sm: None}, + (_SPB,), + ((lambda: schemas.STACK_POLICY_BODY, 0),), +) + +GET_STACK_POLICY: StaticOperationSchema = ( + 23, + n0, + _GSP, + 0, + GET_STACK_POLICY_INPUT, + GET_STACK_POLICY_OUTPUT, + (), +) + +TEMPLATE_STAGE: StaticSchema = ( + 14, + n0, + _TSe, + 0, + (_Or, _Pro), + ((-1, {_sV: _Or}), (-1, {_sV: _Pro})), +) + +GET_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _GTIe, + {_s: None}, + (_SN, _CSN, _TSe), + ( + (lambda: schemas.STACK_NAME, 0), + (lambda: schemas.CHANGE_SET_NAME_OR_ID, 0), + (TEMPLATE_STAGE, 0), + ), +) + +GET_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GTO, + {_sm: None}, + (_TB, _SA), + ((lambda: schemas.TEMPLATE_BODY, 0), (lambda: STAGE_LIST, 0)), +) + +GET_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _GT, + 0, + GET_TEMPLATE_INPUT, + GET_TEMPLATE_OUTPUT, + (lambda: schemas.CHANGE_SET_NOT_FOUND_EXCEPTION,), +) + +STAGE_LIST: StaticSchema = (16, n0, _SLt, 0, (_m,), ((TEMPLATE_STAGE, 0),)) + +TREAT_UNRECOGNIZED_RESOURCE_TYPES_AS_WARNINGS: StaticSchema = (2, n0, _TURTAW, 0) + +TEMPLATE_SUMMARY_CONFIG: StaticSchema = ( + 18, + n0, + _TSC, + 0, + (_TURTAW,), + ((TREAT_UNRECOGNIZED_RESOURCE_TYPES_AS_WARNINGS, 0),), +) + +GET_TEMPLATE_SUMMARY_INPUT: StaticSchema = ( + 18, + n0, + _GTSI, + {_s: None}, + (_TB, _TURL, _SN, _SSN, _CA, _TSC), + ( + (lambda: schemas.TEMPLATE_BODY, 0), + (lambda: schemas.TEMPLATE_URL, 0), + (lambda: schemas.STACK_NAME_OR_ID, 0), + (lambda: schemas.STACK_SET_NAME_OR_ID, 0), + (lambda: schemas.CALL_AS, 0), + (TEMPLATE_SUMMARY_CONFIG, 0), + ), +) + +GET_TEMPLATE_SUMMARY_OUTPUT: StaticSchema = ( + 18, + n0, + _GTSO, + {_sm: None}, + (_Para, _Des, _Cap, _CR, _RTe, _Ve, _Me, _DTec, _RISe, _W), + ( + (lambda: PARAMETER_DECLARATIONS, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.CAPABILITIES, 0), + (lambda: schemas.CAPABILITIES_REASON, 0), + (lambda: schemas.RESOURCE_TYPES, 0), + (lambda: VERSION, 0), + (lambda: schemas.METADATA, 0), + (lambda: TRANSFORMS_LIST, 0), + (lambda: RESOURCE_IDENTIFIER_SUMMARIES, 0), + (lambda: WARNINGS, 0), + ), +) + +GET_TEMPLATE_SUMMARY: StaticOperationSchema = ( + 23, + n0, + _GTSe, + 0, + GET_TEMPLATE_SUMMARY_INPUT, + GET_TEMPLATE_SUMMARY_OUTPUT, + (lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION,), +) + +TRANSFORM_NAME: StaticSchema = (3, n0, _TNr, 0) + +TRANSFORMS_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TRANSFORM_NAME, 0),)) + +NO_ECHO: StaticSchema = (2, n0, _NEo, 0) + +PARAMETER_CONSTRAINTS: StaticSchema = ( + 18, + n0, + _PCa, + 0, + (_AVll,), + ((lambda: schemas.ALLOWED_VALUES, 0),), +) + +PARAMETER_TYPE: StaticSchema = (3, n0, _PTa, 0) + +PARAMETER_DECLARATION: StaticSchema = ( + 18, + n0, + _PDa, + 0, + (_PK, _DVe, _PTa, _NEo, _Des, _PCa), + ( + (lambda: schemas.PARAMETER_KEY, 0), + (lambda: schemas.PARAMETER_VALUE, 0), + (PARAMETER_TYPE, 0), + (NO_ECHO, 0), + (lambda: schemas.DESCRIPTION, 0), + (PARAMETER_CONSTRAINTS, 0), + ), +) + +PARAMETER_DECLARATIONS: StaticSchema = ( + 16, + n0, + _PDar, + 0, + (_m,), + ((PARAMETER_DECLARATION, 0),), +) + +RESOURCE_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _RIe, + 0, + (_m,), + ((lambda: schemas.RESOURCE_IDENTIFIER_PROPERTY_KEY, 0),), +) + +RESOURCE_IDENTIFIER_SUMMARY: StaticSchema = ( + 18, + n0, + _RIS, + 0, + (_RT, _LRIo, _RIe), + ( + (lambda: schemas.RESOURCE_TYPE, 0), + (LOGICAL_RESOURCE_IDS, 0), + (RESOURCE_IDENTIFIERS, 0), + ), +) + +RESOURCE_IDENTIFIER_SUMMARIES: StaticSchema = ( + 16, + n0, + _RISe, + 0, + (_m,), + ((RESOURCE_IDENTIFIER_SUMMARY, 0),), +) + +VERSION: StaticSchema = (3, n0, _Ve, 0) + +WARNINGS: StaticSchema = ( + 18, + n0, + _W, + 0, + (_URT,), + ((lambda: schemas.RESOURCE_TYPES, 0),), +) + +STACK_ID_LIST: StaticSchema = (16, n0, _SIL, 0, (_m,), ((lambda: schemas.STACK_ID, 0),)) + +STACK_IDS_URL: StaticSchema = (3, n0, _SIU, 0) + +IMPORT_STACKS_TO_STACK_SET_INPUT: StaticSchema = ( + 18, + n0, + _ISTSSI, + {_s: None}, + (_SSN, _SIta, _SIU, _OUIr, _OP, _OI, _CA), + ( + (lambda: schemas.STACK_SET_NAME_OR_ID, 1), + (STACK_ID_LIST, 0), + (STACK_IDS_URL, 0), + (lambda: schemas.ORGANIZATIONAL_UNIT_ID_LIST, 0), + (lambda: schemas.STACK_SET_OPERATION_PREFERENCES, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 2), + (lambda: schemas.CALL_AS, 0), + ), +) + +IMPORT_STACKS_TO_STACK_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _ISTSSO, + {_sm: None}, + (_OI,), + ((lambda: schemas.CLIENT_REQUEST_TOKEN, 0),), +) + +IMPORT_STACKS_TO_STACK_SET: StaticOperationSchema = ( + 23, + n0, + _ISTSS, + 0, + IMPORT_STACKS_TO_STACK_SET_INPUT, + IMPORT_STACKS_TO_STACK_SET_OUTPUT, + ( + lambda: schemas.INVALID_OPERATION_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.OPERATION_ID_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_IN_PROGRESS_EXCEPTION, + lambda: STACK_NOT_FOUND_EXCEPTION, + lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION, + lambda: schemas.STALE_REQUEST_EXCEPTION, + ), +) + +STACK_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _SNFE, + { + _smi: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "StackNotFoundException", "httpResponseCode": 404} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +LIST_CHANGE_SETS_INPUT: StaticSchema = ( + 18, + n0, + _LCSI, + {_s: None}, + (_SN, _NT), + ((lambda: schemas.STACK_NAME_OR_ID, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_CHANGE_SETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCSO, + {_sm: None}, + (_Su, _NT), + ((lambda: schemas.CHANGE_SET_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_CHANGE_SETS: StaticOperationSchema = ( + 23, + n0, + _LCS, + 0, + LIST_CHANGE_SETS_INPUT, + LIST_CHANGE_SETS_OUTPUT, + (), +) + +LIST_EXPORTS_INPUT: StaticSchema = ( + 18, + n0, + _LEI, + {_s: None}, + (_NT,), + ((lambda: schemas.NEXT_TOKEN, 0),), +) + +LIST_EXPORTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LEO, + {_sm: None}, + (_Exp, _NT), + ((lambda: EXPORTS, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_EXPORTS: StaticOperationSchema = ( + 23, + n0, + _LE, + 0, + LIST_EXPORTS_INPUT, + LIST_EXPORTS_OUTPUT, + (), +) + +EXPORT_VALUE: StaticSchema = (3, n0, _EVx, 0) + +EXPORT: StaticSchema = ( + 18, + n0, + _Ex, + 0, + (_ESI, _N, _V), + ( + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.EXPORT_NAME, 0), + (EXPORT_VALUE, 0), + ), +) + +EXPORTS: StaticSchema = (16, n0, _Exp, 0, (_m,), ((EXPORT, 0),)) + +LIST_GENERATED_TEMPLATES_INPUT: StaticSchema = ( + 18, + n0, + _LGTI, + {_s: None}, + (_NT, _MR), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: schemas.MAX_RESULTS, 0)), +) + +LIST_GENERATED_TEMPLATES_OUTPUT: StaticSchema = ( + 18, + n0, + _LGTO, + {_sm: None}, + (_Su, _NT), + ((lambda: TEMPLATE_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_GENERATED_TEMPLATES: StaticOperationSchema = ( + 23, + n0, + _LGT, + 0, + LIST_GENERATED_TEMPLATES_INPUT, + LIST_GENERATED_TEMPLATES_OUTPUT, + (), +) + +NUMBER_OF_RESOURCES: StaticSchema = (7, n0, _NOR, 0) + +TEMPLATE_SUMMARY: StaticSchema = ( + 18, + n0, + _TSem, + 0, + (_GTI, _GTN, _S, _SR, _CTr, _LUT, _NOR), + ( + (lambda: schemas.GENERATED_TEMPLATE_ID, 0), + (lambda: schemas.GENERATED_TEMPLATE_NAME, 0), + (lambda: schemas.GENERATED_TEMPLATE_STATUS, 0), + (lambda: schemas.TEMPLATE_STATUS_REASON, 0), + (lambda: schemas.CREATION_TIME, 0), + (lambda: schemas.LAST_UPDATED_TIME, 0), + (NUMBER_OF_RESOURCES, 0), + ), +) + +TEMPLATE_SUMMARIES: StaticSchema = (16, n0, _TSemp, 0, (_m,), ((TEMPLATE_SUMMARY, 0),)) + +HOOK_RESULT_ID: StaticSchema = (3, n0, _HRI, 0) + +LIST_HOOK_RESULTS_TARGET_TYPE: StaticSchema = ( + 14, + n0, + _LHRTT, + 0, + (_CS__, _STACK, _RESOURCE, _CC___), + ( + (-1, {_sV: _CS__}), + (-1, {_sV: _STACK}), + (-1, {_sV: _RESOURCE}), + (-1, {_sV: _CC___}), + ), +) + +LIST_HOOK_RESULTS_INPUT: StaticSchema = ( + 18, + n0, + _LHRI, + {_s: None}, + (_TT, _TI, _TA, _S, _NT), + ( + (LIST_HOOK_RESULTS_TARGET_TYPE, 0), + (HOOK_RESULT_ID, 0), + (HOOK_TYPE_ARN, 0), + (lambda: schemas.HOOK_STATUS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_HOOK_RESULTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LHRO, + {_sm: None}, + (_TT, _TI, _HR, _NT), + ( + (LIST_HOOK_RESULTS_TARGET_TYPE, 0), + (HOOK_RESULT_ID, 0), + (lambda: HOOK_RESULT_SUMMARIES, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_HOOK_RESULTS: StaticOperationSchema = ( + 23, + n0, + _LHR, + 0, + LIST_HOOK_RESULTS_INPUT, + LIST_HOOK_RESULTS_OUTPUT, + (HOOK_RESULT_NOT_FOUND_EXCEPTION,), +) + +HOOK_RESULT_SUMMARY: StaticSchema = ( + 18, + n0, + _HRS, + 0, + (_HRI, _IPn, _FM, _TN, _TVI, _TCVI, _S, _HSR, _IAn, _TT, _TI, _TA, _HET), + ( + (lambda: schemas.HOOK_INVOCATION_ID, 0), + (lambda: schemas.HOOK_INVOCATION_POINT, 0), + (lambda: schemas.HOOK_FAILURE_MODE, 0), + (lambda: schemas.HOOK_TYPE_NAME, 0), + (lambda: schemas.HOOK_TYPE_VERSION_ID, 0), + (lambda: schemas.HOOK_TYPE_CONFIGURATION_VERSION_ID, 0), + (lambda: schemas.HOOK_STATUS, 0), + (lambda: schemas.HOOK_STATUS_REASON, 0), + (lambda: schemas.TIMESTAMP, 0), + (LIST_HOOK_RESULTS_TARGET_TYPE, 0), + (HOOK_RESULT_ID, 0), + (HOOK_TYPE_ARN, 0), + (HOOK_RESULT_ID, 0), + ), +) + +HOOK_RESULT_SUMMARIES: StaticSchema = ( + 16, + n0, + _HRSo, + 0, + (_m,), + ((HOOK_RESULT_SUMMARY, 0),), +) + +LIST_IMPORTS_INPUT: StaticSchema = ( + 18, + n0, + _LII, + {_s: None}, + (_EN, _NT), + ((lambda: schemas.EXPORT_NAME, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_IMPORTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIO, + {_sm: None}, + (_Im, _NT), + ((lambda: IMPORTS, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_IMPORTS: StaticOperationSchema = ( + 23, + n0, + _LI, + 0, + LIST_IMPORTS_INPUT, + LIST_IMPORTS_OUTPUT, + (), +) + +IMPORTS: StaticSchema = (16, n0, _Im, 0, (_m,), ((lambda: schemas.STACK_NAME, 0),)) + +JAZZ_RESOURCE_IDENTIFIER_PROPERTY_KEY: StaticSchema = (3, n0, _JRIPK, 0) + +JAZZ_RESOURCE_IDENTIFIER_PROPERTY_VALUE: StaticSchema = (3, n0, _JRIPV, 0) + +JAZZ_RESOURCE_IDENTIFIER_PROPERTIES: StaticSchema = ( + 17, + n0, + _JRIP, + 0, + (_k, _v), + ( + (JAZZ_RESOURCE_IDENTIFIER_PROPERTY_KEY, 0), + (JAZZ_RESOURCE_IDENTIFIER_PROPERTY_VALUE, 0), + ), +) + +SCANNED_RESOURCE_IDENTIFIER: StaticSchema = ( + 18, + n0, + _SRIc, + 0, + (_RT, _RI), + ((lambda: schemas.RESOURCE_TYPE, 1), (JAZZ_RESOURCE_IDENTIFIER_PROPERTIES, 1)), +) + +SCANNED_RESOURCE_IDENTIFIERS: StaticSchema = ( + 16, + n0, + _SRIca, + 0, + (_m,), + ((SCANNED_RESOURCE_IDENTIFIER, 0),), +) + +LIST_RESOURCE_SCAN_RELATED_RESOURCES_INPUT: StaticSchema = ( + 18, + n0, + _LRSRRI, + {_s: None}, + (_RSI, _Reso, _NT, _MR), + ( + (lambda: schemas.RESOURCE_SCAN_ID, 1), + (SCANNED_RESOURCE_IDENTIFIERS, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOXED_MAX_RESULTS, 0), + ), +) + +LIST_RESOURCE_SCAN_RELATED_RESOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _LRSRRO, + {_sm: None}, + (_RRel, _NT), + ((lambda: RELATED_RESOURCES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_RESOURCE_SCAN_RELATED_RESOURCES: StaticOperationSchema = ( + 23, + n0, + _LRSRR, + 0, + LIST_RESOURCE_SCAN_RELATED_RESOURCES_INPUT, + LIST_RESOURCE_SCAN_RELATED_RESOURCES_OUTPUT, + ( + lambda: schemas.RESOURCE_SCAN_IN_PROGRESS_EXCEPTION, + lambda: schemas.RESOURCE_SCAN_NOT_FOUND_EXCEPTION, + ), +) + +MANAGED_BY_STACK: StaticSchema = (2, n0, _MBS, 0) + +SCANNED_RESOURCE: StaticSchema = ( + 18, + n0, + _SRc, + 0, + (_RT, _RI, _MBS), + ( + (lambda: schemas.RESOURCE_TYPE, 0), + (JAZZ_RESOURCE_IDENTIFIER_PROPERTIES, 0), + (MANAGED_BY_STACK, 0), + ), +) + +RELATED_RESOURCES: StaticSchema = (16, n0, _RRel, 0, (_m,), ((SCANNED_RESOURCE, 0),)) + +RESOURCE_IDENTIFIER: StaticSchema = (3, n0, _RI, 0) + +RESOURCE_TYPE_PREFIX: StaticSchema = (3, n0, _RTP, 0) diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_6.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_6.py new file mode 100644 index 000000000..041065300 --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_6.py @@ -0,0 +1,1120 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudformation" +_A = "Account" +_sV = "smithy.api#enumValue" +_SUCCEEDED = "SUCCEEDED" +_FAILED = "FAILED" +_AGR = "AccountGateResult" +_S = "Status" +_SR = "StatusReason" +_N = "Name" +_m = "member" +_s = "smithy.api#input" +_sm = "smithy.api#output" +_smit = "smithy.api#required" +_RESOURCE = "RESOURCE" +_TN = "TypeName" +_T = "Type" +_AD = "AutoDeployment" +_TA = "TypeArn" +_Ti = "Timestamp" +_CA = "CallAs" +_SN = "StackName" +_LRI = "LogicalResourceId" +_MI = "ModuleInfo" +_PRI = "PhysicalResourceId" +_SRDS = "StackResourceDriftStatus" +_RT = "ResourceType" +_Ac = "Action" +_CTr = "CreationTime" +_Des = "Description" +_ES = "ExecutionStatus" +_SI = "StackId" +_CREATE = "CREATE" +_RI = "ResourceIdentifier" +_TK = "TagKey" +_TV = "TagValue" +_Reso = "Resources" +_OI = "OperationId" +_OUI = "OrganizationalUnitId" +_Reg = "Region" +_SSN = "StackSetName" +_Regi = "Regions" +_OP = "OperationPreferences" +_RMe = "ResourceMapping" +_SRI = "StackRefactorId" +_ME = "ManagedExecution" +_PMe = "PermissionModel" +_SSI = "StackSetId" +_NT = "NextToken" +_SDS = "StackDriftStatus" +_Fi = "Filters" +_RSe = "ResourceStatus" +_RSR = "ResourceStatusReason" +_ST = "StartTime" +_ETn = "EndTime" +_LUT = "LastUpdatedTime" +_PENDING = "PENDING" +_RSI = "ResourceScanId" +_PC = "PercentageCompleted" +_SIA = "StackInstanceAccount" +_SIR = "StackInstanceRegion" +_RUNNING = "RUNNING" +_CANCELLED = "CANCELLED" +_SIS = "StackInstanceStatus" +_DSr = "DriftStatus" +_LDCT = "LastDriftCheckTimestamp" +_LOI = "LastOperationId" +_ESR = "ExecutionStatusReason" +_LCT = "LastCheckTimestamp" +_LUTa = "LastUpdatedTimestamp" +_DI = "DriftInformation" +_MR = "MaxResults" +_PRIC = "PhysicalResourceIdContext" +_PDro = "PropertyDifferences" +_DTel = "DeletionTime" +_LO = "LastOperations" +_SS = "StackStatus" +_SSR = "StackStatusReason" +_PIa = "ParentId" +_RIo = "RootId" +_CTre = "CreationTimestamp" +_ETnd = "EndTimestamp" +_SDta = "StatusDetails" +_Su = "Summaries" +_STACK = "STACK" +_RSMR = "ResourceScannerMaxResults" +_RTP = "ResourceTypePrefix" +_LRSRI = "ListResourceScanResourcesInput" +_SRca = "ScannedResources" +_LRSRO = "ListResourceScanResourcesOutput" +_LRSR = "ListResourceScanResources" +_STc = "ScanType" +_FULL = "FULL" +_PARTIAL = "PARTIAL" +_LRSI = "ListResourceScansInput" +_STF = "ScanTypeFilter" +_RSSe = "ResourceScanSummary" +_RSSes = "ResourceScanSummaries" +_LRSO = "ListResourceScansOutput" +_LRS = "ListResourceScans" +_LSIRDI = "ListStackInstanceResourceDriftsInput" +_SIRDS = "StackInstanceResourceDriftStatuses" +_SIRDSt = "StackInstanceResourceDriftsSummary" +_SIRDSta = "StackInstanceResourceDriftsSummaries" +_LSIRDO = "ListStackInstanceResourceDriftsOutput" +_LSIRD = "ListStackInstanceResourceDrifts" +_SIFN = "StackInstanceFilterName" +_DS___ = "DETAILED_STATUS" +_LOI_ = "LAST_OPERATION_ID" +_DS____ = "DRIFT_STATUS" +_SIFV = "StackInstanceFilterValues" +_SIF = "StackInstanceFilter" +_Va = "Values" +_SIFt = "StackInstanceFilters" +_LSII = "ListStackInstancesInput" +_SISt = "StackInstanceSummary" +_SISta = "StackInstanceSummaries" +_LSIO = "ListStackInstancesOutput" +_LSI = "ListStackInstances" +_LSRAI = "ListStackRefactorActionsInput" +_SRAT = "StackRefactorActionType" +_MOVE = "MOVE" +_SRDtac = "StackRefactorDetection" +_AUTO = "AUTO" +_MANUAL = "MANUAL" +_DRe = "DetectionReason" +_SRAE = "StackRefactorActionEntity" +_SRRI = "StackRefactorResourceIdentifier" +_SRTR = "StackRefactorTagResources" +_SRUR = "StackRefactorUntagResources" +_SRA = "StackRefactorAction" +_En = "Entity" +_Dete = "Detection" +_TR = "TagResources" +_UR = "UntagResources" +_SRAt = "StackRefactorActions" +_LSRAO = "ListStackRefactorActionsOutput" +_LSRA = "ListStackRefactorActions" +_SRESF = "StackRefactorExecutionStatusFilter" +_LSRI = "ListStackRefactorsInput" +_ESF = "ExecutionStatusFilter" +_SRSt = "StackRefactorSummary" +_SRSta = "StackRefactorSummaries" +_LSRO = "ListStackRefactorsOutput" +_LSR = "ListStackRefactors" +_LSRIi = "ListStackResourcesInput" +_SRDIS = "StackResourceDriftInformationSummary" +_SRStac = "StackResourceSummary" +_SRStack = "StackResourceSummaries" +_LSROi = "ListStackResourcesOutput" +_LSRi = "ListStackResources" +_SSF = "StackStatusFilter" +_LSIi = "ListStacksInput" +_SDIS = "StackDriftInformationSummary" +_TDe = "TemplateDescription" +_SSta = "StackSummary" +_SStac = "StackSummaries" +_LSO = "ListStacksOutput" +_LS = "ListStacks" +_LSSADTI = "ListStackSetAutoDeploymentTargetsInput" +_SSADTS = "StackSetAutoDeploymentTargetSummary" +_SSADTSt = "StackSetAutoDeploymentTargetSummaries" +_LSSADTO = "ListStackSetAutoDeploymentTargetsOutput" +_LSSADT = "ListStackSetAutoDeploymentTargets" +_ORFN = "OperationResultFilterName" +_ORS = "OPERATION_RESULT_STATUS" +_ORFV = "OperationResultFilterValues" +_ORF = "OperationResultFilter" +_ORFp = "OperationResultFilters" +_LSSORI = "ListStackSetOperationResultsInput" +_SSORS = "StackSetOperationResultStatus" +_SSORSt = "StackSetOperationResultSummary" +_SSORSta = "StackSetOperationResultSummaries" +_LSSORO = "ListStackSetOperationResultsOutput" +_LSSOR = "ListStackSetOperationResults" +_LSSOI = "ListStackSetOperationsInput" +_SSOSt = "StackSetOperationSummary" +_SSOSta = "StackSetOperationSummaries" +_LSSOO = "ListStackSetOperationsOutput" +_LSSO = "ListStackSetOperations" +_LSSI = "ListStackSetsInput" +_SSSt = "StackSetSummary" +_SSSta = "StackSetSummaries" +_LSSOi = "ListStackSetsOutput" +_LSS = "ListStackSets" +_LTRI = "ListTypeRegistrationsInput" +_RSF = "RegistrationStatusFilter" +_RTL = "RegistrationTokenList" +_LTRO = "ListTypeRegistrationsOutput" +_LTR = "ListTypeRegistrations" + +RESOURCE_SCANNER_MAX_RESULTS: StaticSchema = (7, n0, _RSMR, 0) + +LIST_RESOURCE_SCAN_RESOURCES_INPUT: StaticSchema = ( + 18, + n0, + _LRSRI, + {_s: None}, + (_RSI, _RI, _RTP, _TK, _TV, _NT, _MR), + ( + (lambda: schemas.RESOURCE_SCAN_ID, 1), + (lambda: schemas.RESOURCE_IDENTIFIER, 0), + (lambda: schemas.RESOURCE_TYPE_PREFIX, 0), + (lambda: schemas.TAG_KEY, 0), + (lambda: schemas.TAG_VALUE, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (RESOURCE_SCANNER_MAX_RESULTS, 0), + ), +) + +LIST_RESOURCE_SCAN_RESOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _LRSRO, + {_sm: None}, + (_Reso, _NT), + ((lambda: SCANNED_RESOURCES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_RESOURCE_SCAN_RESOURCES: StaticOperationSchema = ( + 23, + n0, + _LRSR, + 0, + LIST_RESOURCE_SCAN_RESOURCES_INPUT, + LIST_RESOURCE_SCAN_RESOURCES_OUTPUT, + ( + lambda: schemas.RESOURCE_SCAN_IN_PROGRESS_EXCEPTION, + lambda: schemas.RESOURCE_SCAN_NOT_FOUND_EXCEPTION, + ), +) + +SCANNED_RESOURCES: StaticSchema = ( + 16, + n0, + _SRca, + 0, + (_m,), + ((lambda: schemas.SCANNED_RESOURCE, 0),), +) + +SCAN_TYPE: StaticSchema = ( + 14, + n0, + _STc, + 0, + (_FULL, _PARTIAL), + ((-1, {_sV: _FULL}), (-1, {_sV: _PARTIAL})), +) + +LIST_RESOURCE_SCANS_INPUT: StaticSchema = ( + 18, + n0, + _LRSI, + {_s: None}, + (_NT, _MR, _STF), + ( + (lambda: schemas.NEXT_TOKEN, 0), + (RESOURCE_SCANNER_MAX_RESULTS, 0), + (SCAN_TYPE, 0), + ), +) + +LIST_RESOURCE_SCANS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRSO, + {_sm: None}, + (_RSSes, _NT), + ((lambda: RESOURCE_SCAN_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_RESOURCE_SCANS: StaticOperationSchema = ( + 23, + n0, + _LRS, + 0, + LIST_RESOURCE_SCANS_INPUT, + LIST_RESOURCE_SCANS_OUTPUT, + (), +) + +RESOURCE_SCAN_SUMMARY: StaticSchema = ( + 18, + n0, + _RSSe, + 0, + (_RSI, _S, _SR, _ST, _ETn, _PC, _STc), + ( + (lambda: schemas.RESOURCE_SCAN_ID, 0), + (lambda: schemas.RESOURCE_SCAN_STATUS, 0), + (lambda: schemas.RESOURCE_SCAN_STATUS_REASON, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.PERCENTAGE_COMPLETED, 0), + (SCAN_TYPE, 0), + ), +) + +RESOURCE_SCAN_SUMMARIES: StaticSchema = ( + 16, + n0, + _RSSes, + 0, + (_m,), + ((RESOURCE_SCAN_SUMMARY, 0),), +) + +LIST_STACK_INSTANCE_RESOURCE_DRIFTS_INPUT: StaticSchema = ( + 18, + n0, + _LSIRDI, + {_s: None}, + (_SSN, _NT, _MR, _SIRDS, _SIA, _SIR, _OI, _CA), + ( + (lambda: schemas.STACK_SET_NAME_OR_ID, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.STACK_RESOURCE_DRIFT_STATUS_FILTERS, 0), + (lambda: schemas.ACCOUNT, 1), + (lambda: schemas.REGION, 1), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 1), + (lambda: schemas.CALL_AS, 0), + ), +) + +LIST_STACK_INSTANCE_RESOURCE_DRIFTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSIRDO, + {_sm: None}, + (_Su, _NT), + ( + (lambda: STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARIES, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_STACK_INSTANCE_RESOURCE_DRIFTS: StaticOperationSchema = ( + 23, + n0, + _LSIRD, + 0, + LIST_STACK_INSTANCE_RESOURCE_DRIFTS_INPUT, + LIST_STACK_INSTANCE_RESOURCE_DRIFTS_OUTPUT, + ( + lambda: schemas.OPERATION_NOT_FOUND_EXCEPTION, + lambda: schemas.STACK_INSTANCE_NOT_FOUND_EXCEPTION, + lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION, + ), +) + +STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARY: StaticSchema = ( + 18, + n0, + _SIRDSt, + 0, + (_SI, _LRI, _PRI, _PRIC, _RT, _PDro, _SRDS, _Ti), + ( + (lambda: schemas.STACK_ID, 1), + (lambda: schemas.LOGICAL_RESOURCE_ID, 1), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + (lambda: schemas.PHYSICAL_RESOURCE_ID_CONTEXT, 0), + (lambda: schemas.RESOURCE_TYPE, 1), + (lambda: schemas.PROPERTY_DIFFERENCES, 0), + (lambda: schemas.STACK_RESOURCE_DRIFT_STATUS, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARIES: StaticSchema = ( + 16, + n0, + _SIRDSta, + 0, + (_m,), + ((STACK_INSTANCE_RESOURCE_DRIFTS_SUMMARY, 0),), +) + +STACK_INSTANCE_FILTER_NAME: StaticSchema = ( + 14, + n0, + _SIFN, + 0, + (_DS___, _LOI_, _DS____), + ((-1, {_sV: _DS___}), (-1, {_sV: _LOI_}), (-1, {_sV: _DS____})), +) + +STACK_INSTANCE_FILTER_VALUES: StaticSchema = (3, n0, _SIFV, 0) + +STACK_INSTANCE_FILTER: StaticSchema = ( + 18, + n0, + _SIF, + 0, + (_N, _Va), + ((STACK_INSTANCE_FILTER_NAME, 0), (STACK_INSTANCE_FILTER_VALUES, 0)), +) + +STACK_INSTANCE_FILTERS: StaticSchema = ( + 16, + n0, + _SIFt, + 0, + (_m,), + ((STACK_INSTANCE_FILTER, 0),), +) + +LIST_STACK_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _LSII, + {_s: None}, + (_SSN, _NT, _MR, _Fi, _SIA, _SIR, _CA), + ( + (lambda: schemas.STACK_SET_NAME, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.MAX_RESULTS, 0), + (STACK_INSTANCE_FILTERS, 0), + (lambda: schemas.ACCOUNT, 0), + (lambda: schemas.REGION, 0), + (lambda: schemas.CALL_AS, 0), + ), +) + +LIST_STACK_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _LSIO, + {_sm: None}, + (_Su, _NT), + ((lambda: STACK_INSTANCE_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_STACK_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _LSI, + 0, + LIST_STACK_INSTANCES_INPUT, + LIST_STACK_INSTANCES_OUTPUT, + (lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION,), +) + +STACK_INSTANCE_SUMMARY: StaticSchema = ( + 18, + n0, + _SISt, + 0, + (_SSI, _Reg, _A, _SI, _S, _SR, _SIS, _OUI, _DSr, _LDCT, _LOI), + ( + (lambda: schemas.STACK_SET_ID, 0), + (lambda: schemas.REGION, 0), + (lambda: schemas.ACCOUNT, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.STACK_INSTANCE_STATUS, 0), + (lambda: schemas.REASON, 0), + (lambda: schemas.STACK_INSTANCE_COMPREHENSIVE_STATUS, 0), + (lambda: schemas.ORGANIZATIONAL_UNIT_ID, 0), + (lambda: schemas.STACK_DRIFT_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + ), +) + +STACK_INSTANCE_SUMMARIES: StaticSchema = ( + 16, + n0, + _SISta, + 0, + (_m,), + ((STACK_INSTANCE_SUMMARY, 0),), +) + +LIST_STACK_REFACTOR_ACTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LSRAI, + {_s: None}, + (_SRI, _NT, _MR), + ( + (lambda: schemas.STACK_REFACTOR_ID, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.MAX_RESULTS, 0), + ), +) + +LIST_STACK_REFACTOR_ACTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSRAO, + {_sm: None}, + (_SRAt, _NT), + ((lambda: STACK_REFACTOR_ACTIONS, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_STACK_REFACTOR_ACTIONS: StaticOperationSchema = ( + 23, + n0, + _LSRA, + 0, + LIST_STACK_REFACTOR_ACTIONS_INPUT, + LIST_STACK_REFACTOR_ACTIONS_OUTPUT, + (), +) + +STACK_REFACTOR_ACTION_TYPE: StaticSchema = ( + 14, + n0, + _SRAT, + 0, + (_MOVE, _CREATE), + ((-1, {_sV: _MOVE}), (-1, {_sV: _CREATE})), +) + +STACK_REFACTOR_DETECTION: StaticSchema = ( + 14, + n0, + _SRDtac, + 0, + (_AUTO, _MANUAL), + ((-1, {_sV: _AUTO}), (-1, {_sV: _MANUAL})), +) + +DETECTION_REASON: StaticSchema = (3, n0, _DRe, 0) + +STACK_REFACTOR_ACTION_ENTITY: StaticSchema = ( + 14, + n0, + _SRAE, + 0, + (_RESOURCE, _STACK), + ((-1, {_sV: _RESOURCE}), (-1, {_sV: _STACK})), +) + +STACK_REFACTOR_RESOURCE_IDENTIFIER: StaticSchema = (3, n0, _SRRI, 0) + +STACK_REFACTOR_TAG_RESOURCES: StaticSchema = ( + 16, + n0, + _SRTR, + 0, + (_m,), + ((lambda: schemas.TAG, 0),), +) + +STACK_REFACTOR_UNTAG_RESOURCES: StaticSchema = ( + 16, + n0, + _SRUR, + 0, + (_m,), + ((lambda: schemas.TAG_KEY, 0),), +) + +STACK_REFACTOR_ACTION: StaticSchema = ( + 18, + n0, + _SRA, + 0, + (_Ac, _En, _PRI, _RI, _Des, _Dete, _DRe, _TR, _UR, _RMe), + ( + (STACK_REFACTOR_ACTION_TYPE, 0), + (STACK_REFACTOR_ACTION_ENTITY, 0), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + (STACK_REFACTOR_RESOURCE_IDENTIFIER, 0), + (lambda: schemas.DESCRIPTION, 0), + (STACK_REFACTOR_DETECTION, 0), + (DETECTION_REASON, 0), + (STACK_REFACTOR_TAG_RESOURCES, 0), + (STACK_REFACTOR_UNTAG_RESOURCES, 0), + (lambda: schemas.RESOURCE_MAPPING, 0), + ), +) + +STACK_REFACTOR_ACTIONS: StaticSchema = ( + 16, + n0, + _SRAt, + 0, + (_m,), + ((STACK_REFACTOR_ACTION, 0),), +) + +STACK_REFACTOR_EXECUTION_STATUS_FILTER: StaticSchema = ( + 16, + n0, + _SRESF, + 0, + (_m,), + ((lambda: schemas.STACK_REFACTOR_EXECUTION_STATUS, 0),), +) + +LIST_STACK_REFACTORS_INPUT: StaticSchema = ( + 18, + n0, + _LSRI, + {_s: None}, + (_ESF, _NT, _MR), + ( + (STACK_REFACTOR_EXECUTION_STATUS_FILTER, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.MAX_RESULTS, 0), + ), +) + +LIST_STACK_REFACTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSRO, + {_sm: None}, + (_SRSta, _NT), + ((lambda: STACK_REFACTOR_SUMMARIES, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_STACK_REFACTORS: StaticOperationSchema = ( + 23, + n0, + _LSR, + 0, + LIST_STACK_REFACTORS_INPUT, + LIST_STACK_REFACTORS_OUTPUT, + (), +) + +STACK_REFACTOR_SUMMARY: StaticSchema = ( + 18, + n0, + _SRSt, + 0, + (_SRI, _Des, _ES, _ESR, _S, _SR), + ( + (lambda: schemas.STACK_REFACTOR_ID, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.STACK_REFACTOR_EXECUTION_STATUS, 0), + (lambda: schemas.EXECUTION_STATUS_REASON, 0), + (lambda: schemas.STACK_REFACTOR_STATUS, 0), + (lambda: schemas.STACK_REFACTOR_STATUS_REASON, 0), + ), +) + +STACK_REFACTOR_SUMMARIES: StaticSchema = ( + 16, + n0, + _SRSta, + 0, + (_m,), + ((STACK_REFACTOR_SUMMARY, 0),), +) + +LIST_STACK_RESOURCES_INPUT: StaticSchema = ( + 18, + n0, + _LSRIi, + {_s: None}, + (_SN, _NT), + ((lambda: schemas.STACK_NAME, 1), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_STACK_RESOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _LSROi, + {_sm: None}, + (_SRStack, _NT), + ((lambda: STACK_RESOURCE_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_STACK_RESOURCES: StaticOperationSchema = ( + 23, + n0, + _LSRi, + 0, + LIST_STACK_RESOURCES_INPUT, + LIST_STACK_RESOURCES_OUTPUT, + (), +) + +STACK_RESOURCE_DRIFT_INFORMATION_SUMMARY: StaticSchema = ( + 18, + n0, + _SRDIS, + 0, + (_SRDS, _LCT), + ((lambda: schemas.STACK_RESOURCE_DRIFT_STATUS, 1), (lambda: schemas.TIMESTAMP, 0)), +) + +STACK_RESOURCE_SUMMARY: StaticSchema = ( + 18, + n0, + _SRStac, + 0, + (_LRI, _PRI, _RT, _LUTa, _RSe, _RSR, _DI, _MI), + ( + (lambda: schemas.LOGICAL_RESOURCE_ID, 1), + (lambda: schemas.PHYSICAL_RESOURCE_ID, 0), + (lambda: schemas.RESOURCE_TYPE, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.RESOURCE_STATUS, 1), + (lambda: schemas.RESOURCE_STATUS_REASON, 0), + (STACK_RESOURCE_DRIFT_INFORMATION_SUMMARY, 0), + (lambda: schemas.MODULE_INFO, 0), + ), +) + +STACK_RESOURCE_SUMMARIES: StaticSchema = ( + 16, + n0, + _SRStack, + 0, + (_m,), + ((STACK_RESOURCE_SUMMARY, 0),), +) + +STACK_STATUS_FILTER: StaticSchema = ( + 16, + n0, + _SSF, + 0, + (_m,), + ((lambda: schemas.STACK_STATUS, 0),), +) + +LIST_STACKS_INPUT: StaticSchema = ( + 18, + n0, + _LSIi, + {_s: None}, + (_NT, _SSF), + ((lambda: schemas.NEXT_TOKEN, 0), (STACK_STATUS_FILTER, 0)), +) + +LIST_STACKS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_sm: None}, + (_SStac, _NT), + ((lambda: STACK_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_STACKS: StaticOperationSchema = ( + 23, + n0, + _LS, + 0, + LIST_STACKS_INPUT, + LIST_STACKS_OUTPUT, + (), +) + +STACK_DRIFT_INFORMATION_SUMMARY: StaticSchema = ( + 18, + n0, + _SDIS, + 0, + (_SDS, _LCT), + ((lambda: schemas.STACK_DRIFT_STATUS, 1), (lambda: schemas.TIMESTAMP, 0)), +) + +TEMPLATE_DESCRIPTION: StaticSchema = (3, n0, _TDe, 0) + +STACK_SUMMARY: StaticSchema = ( + 18, + n0, + _SSta, + 0, + (_SI, _SN, _TDe, _CTr, _LUT, _DTel, _SS, _SSR, _PIa, _RIo, _DI, _LO), + ( + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.STACK_NAME, 1), + (TEMPLATE_DESCRIPTION, 0), + (lambda: schemas.CREATION_TIME, 1), + (lambda: schemas.LAST_UPDATED_TIME, 0), + (lambda: schemas.DELETION_TIME, 0), + (lambda: schemas.STACK_STATUS, 1), + (lambda: schemas.STACK_STATUS_REASON, 0), + (lambda: schemas.STACK_ID, 0), + (lambda: schemas.STACK_ID, 0), + (STACK_DRIFT_INFORMATION_SUMMARY, 0), + (lambda: schemas.LAST_OPERATIONS, 0), + ), +) + +STACK_SUMMARIES: StaticSchema = (16, n0, _SStac, 0, (_m,), ((STACK_SUMMARY, 0),)) + +LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _LSSADTI, + {_s: None}, + (_SSN, _NT, _MR, _CA), + ( + (lambda: schemas.STACK_SET_NAME_OR_ID, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.CALL_AS, 0), + ), +) + +LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSSADTO, + {_sm: None}, + (_Su, _NT), + ( + (lambda: STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARIES, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS: StaticOperationSchema = ( + 23, + n0, + _LSSADT, + 0, + LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_INPUT, + LIST_STACK_SET_AUTO_DEPLOYMENT_TARGETS_OUTPUT, + (lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION,), +) + +STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARY: StaticSchema = ( + 18, + n0, + _SSADTS, + 0, + (_OUI, _Regi), + ((lambda: schemas.ORGANIZATIONAL_UNIT_ID, 0), (lambda: schemas.REGION_LIST, 0)), +) + +STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARIES: StaticSchema = ( + 16, + n0, + _SSADTSt, + 0, + (_m,), + ((STACK_SET_AUTO_DEPLOYMENT_TARGET_SUMMARY, 0),), +) + +OPERATION_RESULT_FILTER_NAME: StaticSchema = ( + 14, + n0, + _ORFN, + 0, + (_ORS,), + ((-1, {_sV: _ORS}),), +) + +OPERATION_RESULT_FILTER_VALUES: StaticSchema = (3, n0, _ORFV, 0) + +OPERATION_RESULT_FILTER: StaticSchema = ( + 18, + n0, + _ORF, + 0, + (_N, _Va), + ((OPERATION_RESULT_FILTER_NAME, 0), (OPERATION_RESULT_FILTER_VALUES, 0)), +) + +OPERATION_RESULT_FILTERS: StaticSchema = ( + 16, + n0, + _ORFp, + 0, + (_m,), + ((OPERATION_RESULT_FILTER, 0),), +) + +LIST_STACK_SET_OPERATION_RESULTS_INPUT: StaticSchema = ( + 18, + n0, + _LSSORI, + {_s: None}, + (_SSN, _OI, _NT, _MR, _CA, _Fi), + ( + (lambda: schemas.STACK_SET_NAME, 1), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.CALL_AS, 0), + (OPERATION_RESULT_FILTERS, 0), + ), +) + +LIST_STACK_SET_OPERATION_RESULTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSSORO, + {_sm: None}, + (_Su, _NT), + ( + (lambda: STACK_SET_OPERATION_RESULT_SUMMARIES, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_STACK_SET_OPERATION_RESULTS: StaticOperationSchema = ( + 23, + n0, + _LSSOR, + 0, + LIST_STACK_SET_OPERATION_RESULTS_INPUT, + LIST_STACK_SET_OPERATION_RESULTS_OUTPUT, + ( + lambda: schemas.OPERATION_NOT_FOUND_EXCEPTION, + lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION, + ), +) + +STACK_SET_OPERATION_RESULT_STATUS: StaticSchema = ( + 14, + n0, + _SSORS, + 0, + (_PENDING, _RUNNING, _SUCCEEDED, _FAILED, _CANCELLED), + ( + (-1, {_sV: _PENDING}), + (-1, {_sV: _RUNNING}), + (-1, {_sV: _SUCCEEDED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _CANCELLED}), + ), +) + +STACK_SET_OPERATION_RESULT_SUMMARY: StaticSchema = ( + 18, + n0, + _SSORSt, + 0, + (_A, _Reg, _S, _SR, _AGR, _OUI), + ( + (lambda: schemas.ACCOUNT, 0), + (lambda: schemas.REGION, 0), + (STACK_SET_OPERATION_RESULT_STATUS, 0), + (lambda: schemas.REASON, 0), + (lambda: schemas.ACCOUNT_GATE_RESULT, 0), + (lambda: schemas.ORGANIZATIONAL_UNIT_ID, 0), + ), +) + +STACK_SET_OPERATION_RESULT_SUMMARIES: StaticSchema = ( + 16, + n0, + _SSORSta, + 0, + (_m,), + ((STACK_SET_OPERATION_RESULT_SUMMARY, 0),), +) + +LIST_STACK_SET_OPERATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LSSOI, + {_s: None}, + (_SSN, _NT, _MR, _CA), + ( + (lambda: schemas.STACK_SET_NAME, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.CALL_AS, 0), + ), +) + +LIST_STACK_SET_OPERATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSSOO, + {_sm: None}, + (_Su, _NT), + ((lambda: STACK_SET_OPERATION_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_STACK_SET_OPERATIONS: StaticOperationSchema = ( + 23, + n0, + _LSSO, + 0, + LIST_STACK_SET_OPERATIONS_INPUT, + LIST_STACK_SET_OPERATIONS_OUTPUT, + (lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION,), +) + +STACK_SET_OPERATION_SUMMARY: StaticSchema = ( + 18, + n0, + _SSOSt, + 0, + (_OI, _Ac, _S, _CTre, _ETnd, _SR, _SDta, _OP), + ( + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (lambda: schemas.STACK_SET_OPERATION_ACTION, 0), + (lambda: schemas.STACK_SET_OPERATION_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STACK_SET_OPERATION_STATUS_REASON, 0), + (lambda: schemas.STACK_SET_OPERATION_STATUS_DETAILS, 0), + (lambda: schemas.STACK_SET_OPERATION_PREFERENCES, 0), + ), +) + +STACK_SET_OPERATION_SUMMARIES: StaticSchema = ( + 16, + n0, + _SSOSta, + 0, + (_m,), + ((STACK_SET_OPERATION_SUMMARY, 0),), +) + +LIST_STACK_SETS_INPUT: StaticSchema = ( + 18, + n0, + _LSSI, + {_s: None}, + (_NT, _MR, _S, _CA), + ( + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.STACK_SET_STATUS, 0), + (lambda: schemas.CALL_AS, 0), + ), +) + +LIST_STACK_SETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSSOi, + {_sm: None}, + (_Su, _NT), + ((lambda: STACK_SET_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_STACK_SETS: StaticOperationSchema = ( + 23, + n0, + _LSS, + 0, + LIST_STACK_SETS_INPUT, + LIST_STACK_SETS_OUTPUT, + (), +) + +STACK_SET_SUMMARY: StaticSchema = ( + 18, + n0, + _SSSt, + 0, + (_SSN, _SSI, _Des, _S, _AD, _PMe, _DSr, _LDCT, _ME), + ( + (lambda: schemas.STACK_SET_NAME, 0), + (lambda: schemas.STACK_SET_ID, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.STACK_SET_STATUS, 0), + (lambda: schemas.AUTO_DEPLOYMENT, 0), + (lambda: schemas.PERMISSION_MODELS, 0), + (lambda: schemas.STACK_DRIFT_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.MANAGED_EXECUTION, 0), + ), +) + +STACK_SET_SUMMARIES: StaticSchema = ( + 16, + n0, + _SSSta, + 0, + (_m,), + ((STACK_SET_SUMMARY, 0),), +) + +LIST_TYPE_REGISTRATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LTRI, + {_s: None}, + (_T, _TN, _TA, _RSF, _MR, _NT), + ( + (lambda: schemas.REGISTRY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_ARN, 0), + (lambda: schemas.REGISTRATION_STATUS, 0), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_TYPE_REGISTRATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTRO, + {_sm: None}, + (_RTL, _NT), + ((lambda: REGISTRATION_TOKEN_LIST, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_TYPE_REGISTRATIONS: StaticOperationSchema = ( + 23, + n0, + _LTR, + 0, + LIST_TYPE_REGISTRATIONS_INPUT, + LIST_TYPE_REGISTRATIONS_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION,), +) + +REGISTRATION_TOKEN_LIST: StaticSchema = ( + 16, + n0, + _RTL, + 0, + (_m,), + ((lambda: schemas.REGISTRATION_TOKEN, 0),), +) diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_7.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_7.py new file mode 100644 index 000000000..b26a559dd --- /dev/null +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/_private/schemas_7.py @@ -0,0 +1,1217 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudformation" +_ATAC = "AcceptTermsAndConditions" +_sV = "smithy.api#enumValue" +_FAILED = "FAILED" +_S = "Status" +_m = "member" +_s = "smithy.api#input" +_sm = "smithy.api#output" +_smi = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_LC = "LoggingConfig" +_smit = "smithy.api#required" +_PI = "PublisherId" +_TN = "TypeName" +_T = "Type" +_PTA = "PublicTypeArn" +_ERA = "ExecutionRoleArn" +_Ar = "Arn" +_SM = "StatusMessage" +_AD = "AutoDeployment" +_TA = "TypeArn" +_EC = "ErrorCode" +_C = "Configuration" +_LU = "LastUpdated" +_IP = "IN_PROGRESS" +_CA = "CallAs" +_CRT = "ClientRequestToken" +_SN = "StackName" +_sSI = "smithy.synthetic#originalShapeId" +_sU = "smithy.api#Unit" +_Cap = "Capabilities" +_CR = "CapabilitiesReason" +_Cat = "Category" +_Ta = "Tags" +_LRI = "LogicalResourceId" +_Des = "Description" +_SI = "StackId" +_RARNo = "RoleARN" +_DR = "DisableRollback" +_DCe = "DeploymentConfig" +_DV = "DisableValidation" +_NARNo = "NotificationARNs" +_PK = "ParameterKey" +_Para = "Parameters" +_RTe = "ResourceTypes" +_RCo = "RollbackConfiguration" +_TB = "TemplateBody" +_TURL = "TemplateURL" +_UPT = "UsePreviousTemplate" +_GTN = "GeneratedTemplateName" +_TCe = "TemplateConfiguration" +_GTI = "GeneratedTemplateId" +_ETP = "EnableTerminationProtection" +_REOC = "RetainExceptOnCreate" +_SPB = "StackPolicyBody" +_SPURL = "StackPolicyURL" +_OI = "OperationId" +_DT = "DeploymentTargets" +_Acc = "Accounts" +_SSN = "StackSetName" +_Regi = "Regions" +_PO = "ParameterOverrides" +_OP = "OperationPreferences" +_sT = "smithy.api#idempotencyToken" +_ERN = "ExecutionRoleName" +_ME = "ManagedExecution" +_ARARN = "AdministrationRoleARN" +_PMe = "PermissionModel" +_VI = "VersionId" +_NT = "NextToken" +_Fi = "Filters" +_OS = "OperationStatus" +_PENDING = "PENDING" +_RSI = "ResourceScanId" +_SFc = "ScanFilters" +_MR = "MaxResults" +_PVN = "PublicVersionNumber" +_DSep = "DeprecatedStatus" +_IA = "IsActivated" +_IDV = "IsDefaultVersion" +_PT = "ProvisioningType" +_OTN = "OriginalTypeName" +_Vi = "Visibility" +_DVI = "DefaultVersionId" +_TCi = "TimeCreated" +_LPV = "LatestPublicVersion" +_RTegi = "RegistrationToken" +_TVA = "TypeVersionArn" +_NEo = "NoEcho" +_DVe = "DefaultValue" +_DTec = "DeclaredTransforms" +_TNP = "TypeNamePrefix" +_TFy = "TypeFilters" +_LTI = "ListTypesInput" +_PNu = "PublisherName" +_TSy = "TypeSummary" +_PIu = "PublisherIdentity" +_TSyp = "TypeSummaries" +_LTO = "ListTypesOutput" +_LT = "ListTypes" +_LTVI = "ListTypeVersionsInput" +_TVS = "TypeVersionSummary" +_TVSy = "TypeVersionSummaries" +_LTVO = "ListTypeVersionsOutput" +_LTV = "ListTypeVersions" +_PTI = "PublishTypeInput" +_PTO = "PublishTypeOutput" +_PTu = "PublishType" +_ISTE = "InvalidStateTransitionException" +_OSCFE = "OperationStatusCheckFailedException" +_SUCCESS = "SUCCESS" +_HEC = "HandlerErrorCode" +_NU = "NotUpdatable" +_IR = "InvalidRequest" +_ADc = "AccessDenied" +_ICn = "InvalidCredentials" +_AE = "AlreadyExists" +_NF = "NotFound" +_RCe = "ResourceConflict" +_Th = "Throttling" +_SLE = "ServiceLimitExceeded" +_STe = "ServiceTimeout" +_NS = "NotStabilized" +_GSE = "GeneralServiceException" +_SIE = "ServiceInternalError" +_NFe = "NetworkFailure" +_IFn = "InternalFailure" +_ITC = "InvalidTypeConfiguration" +_HIF = "HandlerInternalFailure" +_NCo = "NonCompliant" +_Un = "Unknown" +_UT = "UnsupportedTarget" +_RMeso = "ResourceModel" +_RHPI = "RecordHandlerProgressInput" +_BT = "BearerToken" +_COS = "CurrentOperationStatus" +_RHPO = "RecordHandlerProgressOutput" +_RHP = "RecordHandlerProgress" +_CAo = "ConnectionArn" +_RPI = "RegisterPublisherInput" +_RPO = "RegisterPublisherOutput" +_RPeg = "RegisterPublisher" +_RTeq = "RequestToken" +_SUr = "S3Url" +_RTIeg = "RegisterTypeInput" +_SHP = "SchemaHandlerPackage" +_RTO = "RegisterTypeOutput" +_RTegis = "RegisterType" +_RSIo = "RollbackStackInput" +_RSO = "RollbackStackOutput" +_RSo = "RollbackStack" +_SSPI = "SetStackPolicyInput" +_SSPO = "SetStackPolicyOutput" +_SSP = "SetStackPolicy" +_STCI = "SetTypeConfigurationInput" +_CAon = "ConfigurationAlias" +_STCO = "SetTypeConfigurationOutput" +_CAonf = "ConfigurationArn" +_STC = "SetTypeConfiguration" +_STDVI = "SetTypeDefaultVersionInput" +_STDVO = "SetTypeDefaultVersionOutput" +_STDV = "SetTypeDefaultVersion" +_RSSeso = "ResourceSignalStatus" +_FAILURE = "FAILURE" +_RSUI = "ResourceSignalUniqueId" +_SRIi = "SignalResourceInput" +_UI = "UniqueId" +_SRO = "SignalResourceOutput" +_SRi = "SignalResource" +_RSLEE = "ResourceScanLimitExceededException" +_SRSI = "StartResourceScanInput" +_SRSO = "StartResourceScanOutput" +_SRStar = "StartResourceScan" +_SSSOI = "StopStackSetOperationInput" +_SSSOO = "StopStackSetOperationOutput" +_SSSO = "StopStackSetOperation" +_SB = "S3Bucket" +_TTI = "TestTypeInput" +_LDB = "LogDeliveryBucket" +_TTO = "TestTypeOutput" +_TTe = "TestType" +_RARe = "RefreshAllResources" +_JLRI = "JazzLogicalResourceIds" +_UGTI = "UpdateGeneratedTemplateInput" +_NGTN = "NewGeneratedTemplateName" +_AR = "AddResources" +_RRem = "RemoveResources" +_UGTO = "UpdateGeneratedTemplateOutput" +_UGT = "UpdateGeneratedTemplate" +_SPDUB = "StackPolicyDuringUpdateBody" +_SPDUURL = "StackPolicyDuringUpdateURL" +_USI = "UpdateStackInput" +_USO = "UpdateStackOutput" +_USp = "UpdateStack" +_USII = "UpdateStackInstancesInput" +_USIO = "UpdateStackInstancesOutput" +_USIp = "UpdateStackInstances" +_USSI = "UpdateStackSetInput" +_USSO = "UpdateStackSetOutput" +_USS = "UpdateStackSet" +_UTPI = "UpdateTerminationProtectionInput" +_UTPO = "UpdateTerminationProtectionOutput" +_UTP = "UpdateTerminationProtection" +_VTI = "ValidateTemplateInput" +_TPem = "TemplateParameter" +_TPemp = "TemplateParameters" +_VTO = "ValidateTemplateOutput" +_VT = "ValidateTemplate" +_CFl = "CloudFormation" +_a = "aws.auth#sigv4" +_aQ = "aws.protocols#awsQuery" +_aw = "aws.api#service" +_sN = "smithy.api#xmlNamespace" + +TYPE_NAME_PREFIX: StaticSchema = (3, n0, _TNP, 0) + +TYPE_FILTERS: StaticSchema = ( + 18, + n0, + _TFy, + 0, + (_Cat, _PI, _TNP), + ( + (lambda: schemas.CATEGORY, 0), + (lambda: schemas.PUBLISHER_ID, 0), + (TYPE_NAME_PREFIX, 0), + ), +) + +LIST_TYPES_INPUT: StaticSchema = ( + 18, + n0, + _LTI, + {_s: None}, + (_Vi, _PT, _DSep, _T, _Fi, _MR, _NT), + ( + (lambda: schemas.VISIBILITY, 0), + (lambda: schemas.PROVISIONING_TYPE, 0), + (lambda: schemas.DEPRECATED_STATUS, 0), + (lambda: schemas.REGISTRY_TYPE, 0), + (TYPE_FILTERS, 0), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_TYPES_OUTPUT: StaticSchema = ( + 18, + n0, + _LTO, + {_sm: None}, + (_TSyp, _NT), + ((lambda: TYPE_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_TYPES: StaticOperationSchema = ( + 23, + n0, + _LT, + 0, + LIST_TYPES_INPUT, + LIST_TYPES_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION,), +) + +PUBLISHER_NAME: StaticSchema = (3, n0, _PNu, 0) + +TYPE_SUMMARY: StaticSchema = ( + 18, + n0, + _TSy, + 0, + (_T, _TN, _DVI, _TA, _LU, _Des, _PI, _OTN, _PVN, _LPV, _PIu, _PNu, _IA), + ( + (lambda: schemas.REGISTRY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_VERSION_ID, 0), + (lambda: schemas.TYPE_ARN, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.PUBLISHER_ID, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.PUBLIC_VERSION_NUMBER, 0), + (lambda: schemas.PUBLIC_VERSION_NUMBER, 0), + (lambda: schemas.IDENTITY_PROVIDER, 0), + (PUBLISHER_NAME, 0), + (lambda: schemas.IS_ACTIVATED, 0), + ), +) + +TYPE_SUMMARIES: StaticSchema = (16, n0, _TSyp, 0, (_m,), ((TYPE_SUMMARY, 0),)) + +LIST_TYPE_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LTVI, + {_s: None}, + (_T, _TN, _Ar, _MR, _NT, _DSep, _PI), + ( + (lambda: schemas.REGISTRY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_ARN, 0), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.DEPRECATED_STATUS, 0), + (lambda: schemas.PUBLISHER_ID, 0), + ), +) + +LIST_TYPE_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTVO, + {_sm: None}, + (_TVSy, _NT), + ((lambda: TYPE_VERSION_SUMMARIES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_TYPE_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LTV, + 0, + LIST_TYPE_VERSIONS_INPUT, + LIST_TYPE_VERSIONS_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION,), +) + +TYPE_VERSION_SUMMARY: StaticSchema = ( + 18, + n0, + _TVS, + 0, + (_T, _TN, _VI, _IDV, _Ar, _TCi, _Des, _PVN), + ( + (lambda: schemas.REGISTRY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_VERSION_ID, 0), + (lambda: schemas.IS_DEFAULT_VERSION, 0), + (lambda: schemas.TYPE_ARN, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.PUBLIC_VERSION_NUMBER, 0), + ), +) + +TYPE_VERSION_SUMMARIES: StaticSchema = ( + 16, + n0, + _TVSy, + 0, + (_m,), + ((TYPE_VERSION_SUMMARY, 0),), +) + +PUBLISH_TYPE_INPUT: StaticSchema = ( + 18, + n0, + _PTI, + {_s: None}, + (_T, _Ar, _TN, _PVN), + ( + (lambda: schemas.THIRD_PARTY_TYPE, 0), + (lambda: schemas.PRIVATE_TYPE_ARN, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.PUBLIC_VERSION_NUMBER, 0), + ), +) + +PUBLISH_TYPE_OUTPUT: StaticSchema = ( + 18, + n0, + _PTO, + {_sm: None}, + (_PTA,), + ((lambda: schemas.TYPE_ARN, 0),), +) + +PUBLISH_TYPE: StaticOperationSchema = ( + 23, + n0, + _PTu, + 0, + PUBLISH_TYPE_INPUT, + PUBLISH_TYPE_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION, lambda: schemas.TYPE_NOT_FOUND_EXCEPTION), +) + +INVALID_STATE_TRANSITION_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISTE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidStateTransition", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +OPERATION_STATUS_CHECK_FAILED_EXCEPTION: StaticSchema = ( + 18, + n0, + _OSCFE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ConditionalCheckFailed", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +OPERATION_STATUS: StaticSchema = ( + 14, + n0, + _OS, + 0, + (_PENDING, _IP, _SUCCESS, _FAILED), + ( + (-1, {_sV: _PENDING}), + (-1, {_sV: _IP}), + (-1, {_sV: _SUCCESS}), + (-1, {_sV: _FAILED}), + ), +) + +HANDLER_ERROR_CODE: StaticSchema = ( + 14, + n0, + _HEC, + 0, + ( + _NU, + _IR, + _ADc, + _ICn, + _AE, + _NF, + _RCe, + _Th, + _SLE, + _STe, + _GSE, + _SIE, + _NFe, + _IFn, + _ITC, + _HIF, + _NCo, + _Un, + _UT, + ), + ( + (-1, {_sV: _NU}), + (-1, {_sV: _IR}), + (-1, {_sV: _ADc}), + (-1, {_sV: _ICn}), + (-1, {_sV: _AE}), + (-1, {_sV: _NF}), + (-1, {_sV: _RCe}), + (-1, {_sV: _Th}), + (-1, {_sV: _SLE}), + (-1, {_sV: _NS}), + (-1, {_sV: _GSE}), + (-1, {_sV: _SIE}), + (-1, {_sV: _NFe}), + (-1, {_sV: _IFn}), + (-1, {_sV: _ITC}), + (-1, {_sV: _HIF}), + (-1, {_sV: _NCo}), + (-1, {_sV: _Un}), + (-1, {_sV: _UT}), + ), +) + +RESOURCE_MODEL: StaticSchema = (3, n0, _RMeso, 0) + +STATUS_MESSAGE: StaticSchema = (3, n0, _SM, 0) + +RECORD_HANDLER_PROGRESS_INPUT: StaticSchema = ( + 18, + n0, + _RHPI, + {_s: None}, + (_BT, _OS, _COS, _SM, _EC, _RMeso, _CRT), + ( + (lambda: schemas.CLIENT_TOKEN, 1), + (OPERATION_STATUS, 1), + (OPERATION_STATUS, 0), + (STATUS_MESSAGE, 0), + (HANDLER_ERROR_CODE, 0), + (RESOURCE_MODEL, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + ), +) + +RECORD_HANDLER_PROGRESS_OUTPUT: StaticSchema = (18, n0, _RHPO, {_sm: None}) + +RECORD_HANDLER_PROGRESS: StaticOperationSchema = ( + 23, + n0, + _RHP, + 0, + RECORD_HANDLER_PROGRESS_INPUT, + RECORD_HANDLER_PROGRESS_OUTPUT, + (INVALID_STATE_TRANSITION_EXCEPTION, OPERATION_STATUS_CHECK_FAILED_EXCEPTION), +) + +CONNECTION_ARN: StaticSchema = (3, n0, _CAo, 0) + +REGISTER_PUBLISHER_INPUT: StaticSchema = ( + 18, + n0, + _RPI, + {_s: None}, + (_ATAC, _CAo), + ((lambda: schemas.ACCEPT_TERMS_AND_CONDITIONS, 0), (CONNECTION_ARN, 0)), +) + +REGISTER_PUBLISHER_OUTPUT: StaticSchema = ( + 18, + n0, + _RPO, + {_sm: None}, + (_PI,), + ((lambda: schemas.PUBLISHER_ID, 0),), +) + +REGISTER_PUBLISHER: StaticOperationSchema = ( + 23, + n0, + _RPeg, + 0, + REGISTER_PUBLISHER_INPUT, + REGISTER_PUBLISHER_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION,), +) + +REQUEST_TOKEN: StaticSchema = (3, n0, _RTeq, 0) + +S3_URL: StaticSchema = (3, n0, _SUr, 0) + +REGISTER_TYPE_INPUT: StaticSchema = ( + 18, + n0, + _RTIeg, + {_s: None}, + (_T, _TN, _SHP, _LC, _ERA, _CRT), + ( + (lambda: schemas.REGISTRY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 1), + (S3_URL, 1), + (lambda: schemas.LOGGING_CONFIG, 0), + (lambda: schemas.ROLE_ARN2, 0), + (REQUEST_TOKEN, 0), + ), +) + +REGISTER_TYPE_OUTPUT: StaticSchema = ( + 18, + n0, + _RTO, + {_sm: None}, + (_RTegi,), + ((lambda: schemas.REGISTRATION_TOKEN, 0),), +) + +REGISTER_TYPE: StaticOperationSchema = ( + 23, + n0, + _RTegis, + 0, + REGISTER_TYPE_INPUT, + REGISTER_TYPE_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION,), +) + +ROLLBACK_STACK_INPUT: StaticSchema = ( + 18, + n0, + _RSIo, + {_s: None}, + (_SN, _RARNo, _CRT, _REOC, _DCe), + ( + (lambda: schemas.STACK_NAME_OR_ID, 1), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (lambda: schemas.RETAIN_EXCEPT_ON_CREATE, 0), + (lambda: schemas.DEPLOYMENT_CONFIG, 0), + ), +) + +ROLLBACK_STACK_OUTPUT: StaticSchema = ( + 18, + n0, + _RSO, + {_sm: None}, + (_SI, _OI), + ((lambda: schemas.STACK_ID, 0), (lambda: schemas.OPERATION_ID, 0)), +) + +ROLLBACK_STACK: StaticOperationSchema = ( + 23, + n0, + _RSo, + 0, + ROLLBACK_STACK_INPUT, + ROLLBACK_STACK_OUTPUT, + (lambda: schemas.TOKEN_ALREADY_EXISTS_EXCEPTION,), +) + +SET_STACK_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _SSPI, + {_s: None}, + (_SN, _SPB, _SPURL), + ( + (lambda: schemas.STACK_NAME, 1), + (lambda: schemas.STACK_POLICY_BODY, 0), + (lambda: schemas.STACK_POLICY_URL, 0), + ), +) + +SET_STACK_POLICY_OUTPUT: StaticSchema = (18, n0, _SSPO, {_sSI: _sU, _sm: None}) + +SET_STACK_POLICY: StaticOperationSchema = ( + 23, + n0, + _SSP, + 0, + SET_STACK_POLICY_INPUT, + SET_STACK_POLICY_OUTPUT, + (), +) + +SET_TYPE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _STCI, + {_s: None}, + (_TA, _C, _CAon, _TN, _T), + ( + (lambda: schemas.TYPE_ARN, 0), + (lambda: schemas.TYPE_CONFIGURATION, 1), + (lambda: schemas.TYPE_CONFIGURATION_ALIAS, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.THIRD_PARTY_TYPE, 0), + ), +) + +SET_TYPE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _STCO, + {_sm: None}, + (_CAonf,), + ((lambda: schemas.TYPE_CONFIGURATION_ARN, 0),), +) + +SET_TYPE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _STC, + 0, + SET_TYPE_CONFIGURATION_INPUT, + SET_TYPE_CONFIGURATION_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION, lambda: schemas.TYPE_NOT_FOUND_EXCEPTION), +) + +SET_TYPE_DEFAULT_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _STDVI, + {_s: None}, + (_Ar, _T, _TN, _VI), + ( + (lambda: schemas.PRIVATE_TYPE_ARN, 0), + (lambda: schemas.REGISTRY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_VERSION_ID, 0), + ), +) + +SET_TYPE_DEFAULT_VERSION_OUTPUT: StaticSchema = (18, n0, _STDVO, {_sm: None}) + +SET_TYPE_DEFAULT_VERSION: StaticOperationSchema = ( + 23, + n0, + _STDV, + 0, + SET_TYPE_DEFAULT_VERSION_INPUT, + SET_TYPE_DEFAULT_VERSION_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION, lambda: schemas.TYPE_NOT_FOUND_EXCEPTION), +) + +RESOURCE_SIGNAL_STATUS: StaticSchema = ( + 14, + n0, + _RSSeso, + 0, + (_SUCCESS, _FAILURE), + ((-1, {_sV: _SUCCESS}), (-1, {_sV: _FAILURE})), +) + +RESOURCE_SIGNAL_UNIQUE_ID: StaticSchema = (3, n0, _RSUI, 0) + +SIGNAL_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _SRIi, + {_s: None}, + (_SN, _LRI, _UI, _S), + ( + (lambda: schemas.STACK_NAME_OR_ID, 1), + (lambda: schemas.LOGICAL_RESOURCE_ID, 1), + (RESOURCE_SIGNAL_UNIQUE_ID, 1), + (RESOURCE_SIGNAL_STATUS, 1), + ), +) + +SIGNAL_RESOURCE_OUTPUT: StaticSchema = (18, n0, _SRO, {_sSI: _sU, _sm: None}) + +SIGNAL_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _SRi, + 0, + SIGNAL_RESOURCE_INPUT, + SIGNAL_RESOURCE_OUTPUT, + (), +) + +RESOURCE_SCAN_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _RSLEE, + { + _smi: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ResourceScanLimitExceeded", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +START_RESOURCE_SCAN_INPUT: StaticSchema = ( + 18, + n0, + _SRSI, + {_s: None}, + (_CRT, _SFc), + ((lambda: schemas.CLIENT_REQUEST_TOKEN, 0), (lambda: schemas.SCAN_FILTERS, 0)), +) + +START_RESOURCE_SCAN_OUTPUT: StaticSchema = ( + 18, + n0, + _SRSO, + {_sm: None}, + (_RSI,), + ((lambda: schemas.RESOURCE_SCAN_ID, 0),), +) + +START_RESOURCE_SCAN: StaticOperationSchema = ( + 23, + n0, + _SRStar, + 0, + START_RESOURCE_SCAN_INPUT, + START_RESOURCE_SCAN_OUTPUT, + ( + lambda: schemas.RESOURCE_SCAN_IN_PROGRESS_EXCEPTION, + RESOURCE_SCAN_LIMIT_EXCEEDED_EXCEPTION, + ), +) + +STOP_STACK_SET_OPERATION_INPUT: StaticSchema = ( + 18, + n0, + _SSSOI, + {_s: None}, + (_SSN, _OI, _CA), + ( + (lambda: schemas.STACK_SET_NAME, 1), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 1), + (lambda: schemas.CALL_AS, 0), + ), +) + +STOP_STACK_SET_OPERATION_OUTPUT: StaticSchema = (18, n0, _SSSOO, {_sm: None}) + +STOP_STACK_SET_OPERATION: StaticOperationSchema = ( + 23, + n0, + _SSSO, + 0, + STOP_STACK_SET_OPERATION_INPUT, + STOP_STACK_SET_OPERATION_OUTPUT, + ( + lambda: schemas.INVALID_OPERATION_EXCEPTION, + lambda: schemas.OPERATION_NOT_FOUND_EXCEPTION, + lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION, + ), +) + +S3_BUCKET: StaticSchema = (3, n0, _SB, 0) + +TEST_TYPE_INPUT: StaticSchema = ( + 18, + n0, + _TTI, + {_s: None}, + (_Ar, _T, _TN, _VI, _LDB), + ( + (lambda: schemas.TYPE_ARN, 0), + (lambda: schemas.THIRD_PARTY_TYPE, 0), + (lambda: schemas.TYPE_NAME, 0), + (lambda: schemas.TYPE_VERSION_ID, 0), + (S3_BUCKET, 0), + ), +) + +TEST_TYPE_OUTPUT: StaticSchema = ( + 18, + n0, + _TTO, + {_sm: None}, + (_TVA,), + ((lambda: schemas.TYPE_ARN, 0),), +) + +TEST_TYPE: StaticOperationSchema = ( + 23, + n0, + _TTe, + 0, + TEST_TYPE_INPUT, + TEST_TYPE_OUTPUT, + (lambda: schemas.CFN_REGISTRY_EXCEPTION, lambda: schemas.TYPE_NOT_FOUND_EXCEPTION), +) + +REFRESH_ALL_RESOURCES: StaticSchema = (2, n0, _RARe, 0) + +JAZZ_LOGICAL_RESOURCE_IDS: StaticSchema = ( + 16, + n0, + _JLRI, + 0, + (_m,), + ((lambda: schemas.LOGICAL_RESOURCE_ID, 0),), +) + +UPDATE_GENERATED_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _UGTI, + {_s: None}, + (_GTN, _NGTN, _AR, _RRem, _RARe, _TCe), + ( + (lambda: schemas.GENERATED_TEMPLATE_NAME, 1), + (lambda: schemas.GENERATED_TEMPLATE_NAME, 0), + (lambda: schemas.RESOURCE_DEFINITIONS, 0), + (JAZZ_LOGICAL_RESOURCE_IDS, 0), + (REFRESH_ALL_RESOURCES, 0), + (lambda: schemas.TEMPLATE_CONFIGURATION, 0), + ), +) + +UPDATE_GENERATED_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _UGTO, + {_sm: None}, + (_GTI,), + ((lambda: schemas.GENERATED_TEMPLATE_ID, 0),), +) + +UPDATE_GENERATED_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _UGT, + 0, + UPDATE_GENERATED_TEMPLATE_INPUT, + UPDATE_GENERATED_TEMPLATE_OUTPUT, + ( + lambda: schemas.ALREADY_EXISTS_EXCEPTION, + lambda: schemas.GENERATED_TEMPLATE_NOT_FOUND_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + ), +) + +STACK_POLICY_DURING_UPDATE_BODY: StaticSchema = (3, n0, _SPDUB, 0) + +STACK_POLICY_DURING_UPDATE_URL: StaticSchema = (3, n0, _SPDUURL, 0) + +UPDATE_STACK_INPUT: StaticSchema = ( + 18, + n0, + _USI, + {_s: None}, + ( + _SN, + _TB, + _TURL, + _UPT, + _SPDUB, + _SPDUURL, + _Para, + _Cap, + _RTe, + _RARNo, + _RCo, + _SPB, + _SPURL, + _NARNo, + _Ta, + _DR, + _CRT, + _REOC, + _DCe, + _DV, + ), + ( + (lambda: schemas.STACK_NAME, 1), + (lambda: schemas.TEMPLATE_BODY, 0), + (lambda: schemas.TEMPLATE_URL, 0), + (lambda: schemas.USE_PREVIOUS_TEMPLATE, 0), + (STACK_POLICY_DURING_UPDATE_BODY, 0), + (STACK_POLICY_DURING_UPDATE_URL, 0), + (lambda: schemas.PARAMETERS, 0), + (lambda: schemas.CAPABILITIES, 0), + (lambda: schemas.RESOURCE_TYPES, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.ROLLBACK_CONFIGURATION, 0), + (lambda: schemas.STACK_POLICY_BODY, 0), + (lambda: schemas.STACK_POLICY_URL, 0), + (lambda: schemas.NOTIFICATION_AR_NS, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.DISABLE_ROLLBACK, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 0), + (lambda: schemas.RETAIN_EXCEPT_ON_CREATE, 0), + (lambda: schemas.DEPLOYMENT_CONFIG, 0), + (lambda: schemas.DISABLE_VALIDATION, 0), + ), +) + +UPDATE_STACK_OUTPUT: StaticSchema = ( + 18, + n0, + _USO, + {_sm: None}, + (_SI, _OI), + ((lambda: schemas.STACK_ID, 0), (lambda: schemas.OPERATION_ID, 0)), +) + +UPDATE_STACK: StaticOperationSchema = ( + 23, + n0, + _USp, + 0, + UPDATE_STACK_INPUT, + UPDATE_STACK_OUTPUT, + ( + lambda: schemas.INSUFFICIENT_CAPABILITIES_EXCEPTION, + lambda: schemas.TOKEN_ALREADY_EXISTS_EXCEPTION, + ), +) + +UPDATE_STACK_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _USII, + {_s: None}, + (_SSN, _Acc, _DT, _Regi, _PO, _OP, _OI, _CA), + ( + (lambda: schemas.STACK_SET_NAME_OR_ID, 1), + (lambda: schemas.ACCOUNT_LIST, 0), + (lambda: schemas.DEPLOYMENT_TARGETS, 0), + (lambda: schemas.REGION_LIST, 1), + (lambda: schemas.PARAMETERS, 0), + (lambda: schemas.STACK_SET_OPERATION_PREFERENCES, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 2), + (lambda: schemas.CALL_AS, 0), + ), +) + +UPDATE_STACK_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _USIO, + {_sm: None}, + (_OI,), + ((lambda: schemas.CLIENT_REQUEST_TOKEN, 0),), +) + +UPDATE_STACK_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _USIp, + 0, + UPDATE_STACK_INSTANCES_INPUT, + UPDATE_STACK_INSTANCES_OUTPUT, + ( + lambda: schemas.INVALID_OPERATION_EXCEPTION, + lambda: schemas.OPERATION_ID_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_IN_PROGRESS_EXCEPTION, + lambda: schemas.STACK_INSTANCE_NOT_FOUND_EXCEPTION, + lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION, + lambda: schemas.STALE_REQUEST_EXCEPTION, + ), +) + +UPDATE_STACK_SET_INPUT: StaticSchema = ( + 18, + n0, + _USSI, + {_s: None}, + ( + _SSN, + _Des, + _TB, + _TURL, + _UPT, + _Para, + _Cap, + _Ta, + _OP, + _ARARN, + _ERN, + _DT, + _PMe, + _AD, + _OI, + _Acc, + _Regi, + _CA, + _ME, + ), + ( + (lambda: schemas.STACK_SET_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TEMPLATE_BODY, 0), + (lambda: schemas.TEMPLATE_URL, 0), + (lambda: schemas.USE_PREVIOUS_TEMPLATE, 0), + (lambda: schemas.PARAMETERS, 0), + (lambda: schemas.CAPABILITIES, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.STACK_SET_OPERATION_PREFERENCES, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.EXECUTION_ROLE_NAME, 0), + (lambda: schemas.DEPLOYMENT_TARGETS, 0), + (lambda: schemas.PERMISSION_MODELS, 0), + (lambda: schemas.AUTO_DEPLOYMENT, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 2), + (lambda: schemas.ACCOUNT_LIST, 0), + (lambda: schemas.REGION_LIST, 0), + (lambda: schemas.CALL_AS, 0), + (lambda: schemas.MANAGED_EXECUTION, 0), + ), +) + +UPDATE_STACK_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _USSO, + {_sm: None}, + (_OI,), + ((lambda: schemas.CLIENT_REQUEST_TOKEN, 0),), +) + +UPDATE_STACK_SET: StaticOperationSchema = ( + 23, + n0, + _USS, + 0, + UPDATE_STACK_SET_INPUT, + UPDATE_STACK_SET_OUTPUT, + ( + lambda: schemas.INVALID_OPERATION_EXCEPTION, + lambda: schemas.OPERATION_ID_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_IN_PROGRESS_EXCEPTION, + lambda: schemas.STACK_INSTANCE_NOT_FOUND_EXCEPTION, + lambda: schemas.STACK_SET_NOT_FOUND_EXCEPTION, + lambda: schemas.STALE_REQUEST_EXCEPTION, + ), +) + +UPDATE_TERMINATION_PROTECTION_INPUT: StaticSchema = ( + 18, + n0, + _UTPI, + {_s: None}, + (_ETP, _SN), + ( + (lambda: schemas.ENABLE_TERMINATION_PROTECTION, 1), + (lambda: schemas.STACK_NAME_OR_ID, 1), + ), +) + +UPDATE_TERMINATION_PROTECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _UTPO, + {_sm: None}, + (_SI,), + ((lambda: schemas.STACK_ID, 0),), +) + +UPDATE_TERMINATION_PROTECTION: StaticOperationSchema = ( + 23, + n0, + _UTP, + 0, + UPDATE_TERMINATION_PROTECTION_INPUT, + UPDATE_TERMINATION_PROTECTION_OUTPUT, + (), +) + +VALIDATE_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _VTI, + {_s: None}, + (_TB, _TURL), + ((lambda: schemas.TEMPLATE_BODY, 0), (lambda: schemas.TEMPLATE_URL, 0)), +) + +VALIDATE_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _VTO, + {_sm: None}, + (_Para, _Des, _Cap, _CR, _DTec), + ( + (lambda: TEMPLATE_PARAMETERS, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.CAPABILITIES, 0), + (lambda: schemas.CAPABILITIES_REASON, 0), + (lambda: schemas.TRANSFORMS_LIST, 0), + ), +) + +VALIDATE_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _VT, + 0, + VALIDATE_TEMPLATE_INPUT, + VALIDATE_TEMPLATE_OUTPUT, + (), +) + +TEMPLATE_PARAMETER: StaticSchema = ( + 18, + n0, + _TPem, + 0, + (_PK, _DVe, _NEo, _Des), + ( + (lambda: schemas.PARAMETER_KEY, 0), + (lambda: schemas.PARAMETER_VALUE, 0), + (lambda: schemas.NO_ECHO, 0), + (lambda: schemas.DESCRIPTION, 0), + ), +) + +TEMPLATE_PARAMETERS: StaticSchema = ( + 16, + n0, + _TPemp, + 0, + (_m,), + ((TEMPLATE_PARAMETER, 0),), +) + +CLOUD_FORMATION: StaticSchema = ( + 21, + n0, + _CFl, + { + _a: MappingProxyType({"name": "cloudformation"}), + _aQ: None, + _aw: MappingProxyType( + { + "sdkId": "CloudFormation", + "arnNamespace": "cloudformation", + "cloudFormationName": "CloudFormation", + "cloudTrailEventSource": "cloudformation.amazonaws.com", + "endpointPrefix": "cloudformation", + } + ), + _sN: MappingProxyType( + {"uri": "http://cloudformation.amazonaws.com/doc/2010-05-15/"} + ), + }, +) diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/aio/client.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/aio/client.py index 6e982eacc..db4f73f33 100644 --- a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/aio/client.py +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/aio/config.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/aio/config.py index 5eab63eb1..17cf86ec7 100644 --- a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/aio/config.py +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -25,7 +25,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/client.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/client.py index f14849126..17265c0ee 100644 --- a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/client.py +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/config.py b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/config.py index b03373ea9..951449895 100644 --- a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/config.py +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/models.pyi b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/models.pyi index f42a9a2b2..dca7fce27 100644 --- a/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/models.pyi +++ b/clients/aws-sdk-cloudformation/src/aws_sdk_cloudformation/models.pyi @@ -1,16 +1,400 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum from typing import Self from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AccountFilterType as AccountFilterType, + AccountGateResult as AccountGateResult, + AccountGateStatus as AccountGateStatus, + AccountLimit as AccountLimit, + ActivateOrganizationsAccessInput as ActivateOrganizationsAccessInput, + ActivateOrganizationsAccessOutput as ActivateOrganizationsAccessOutput, + ActivateTypeInput as ActivateTypeInput, + ActivateTypeOutput as ActivateTypeOutput, + AfterValueFrom as AfterValueFrom, + AlreadyExistsException as AlreadyExistsException, + Annotation as Annotation, + AnnotationSeverityLevel as AnnotationSeverityLevel, + AnnotationStatus as AnnotationStatus, + AttributeChangeType as AttributeChangeType, + AutoDeployment as AutoDeployment, + BatchDescribeTypeConfigurationsError as BatchDescribeTypeConfigurationsError, + BatchDescribeTypeConfigurationsInput as BatchDescribeTypeConfigurationsInput, + BatchDescribeTypeConfigurationsOutput as BatchDescribeTypeConfigurationsOutput, + BeaconStackOperationStatus as BeaconStackOperationStatus, + BeforeValueFrom as BeforeValueFrom, + CallAs as CallAs, + CancelUpdateStackInput as CancelUpdateStackInput, + CancelUpdateStackOutput as CancelUpdateStackOutput, + Capability as Capability, + Category as Category, + CFNRegistryException as CFNRegistryException, + Change as Change, + ChangeAction as ChangeAction, + ChangeSetHook as ChangeSetHook, + ChangeSetHookResourceTargetDetails as ChangeSetHookResourceTargetDetails, + ChangeSetHooksStatus as ChangeSetHooksStatus, + ChangeSetHookTargetDetails as ChangeSetHookTargetDetails, + ChangeSetNotFoundException as ChangeSetNotFoundException, + ChangeSetStatus as ChangeSetStatus, + ChangeSetSummary as ChangeSetSummary, + ChangeSetType as ChangeSetType, + ChangeSource as ChangeSource, + ChangeType as ChangeType, + ConcurrencyMode as ConcurrencyMode, + ConcurrentResourcesLimitExceededException as ConcurrentResourcesLimitExceededException, + ContinueUpdateRollbackInput as ContinueUpdateRollbackInput, + ContinueUpdateRollbackOutput as ContinueUpdateRollbackOutput, + CreateChangeSetInput as CreateChangeSetInput, + CreateChangeSetOutput as CreateChangeSetOutput, + CreatedButModifiedException as CreatedButModifiedException, + CreateGeneratedTemplateInput as CreateGeneratedTemplateInput, + CreateGeneratedTemplateOutput as CreateGeneratedTemplateOutput, + CreateStackInput as CreateStackInput, + CreateStackInstancesInput as CreateStackInstancesInput, + CreateStackInstancesOutput as CreateStackInstancesOutput, + CreateStackOutput as CreateStackOutput, + CreateStackRefactorInput as CreateStackRefactorInput, + CreateStackRefactorOutput as CreateStackRefactorOutput, + CreateStackSetInput as CreateStackSetInput, + CreateStackSetOutput as CreateStackSetOutput, + DeactivateOrganizationsAccessInput as DeactivateOrganizationsAccessInput, + DeactivateOrganizationsAccessOutput as DeactivateOrganizationsAccessOutput, + DeactivateTypeInput as DeactivateTypeInput, + DeactivateTypeOutput as DeactivateTypeOutput, + DeleteChangeSetInput as DeleteChangeSetInput, + DeleteChangeSetOutput as DeleteChangeSetOutput, + DeleteGeneratedTemplateInput as DeleteGeneratedTemplateInput, + DeleteGeneratedTemplateOutput as DeleteGeneratedTemplateOutput, + DeleteStackInput as DeleteStackInput, + DeleteStackInstancesInput as DeleteStackInstancesInput, + DeleteStackInstancesOutput as DeleteStackInstancesOutput, + DeleteStackOutput as DeleteStackOutput, + DeleteStackSetInput as DeleteStackSetInput, + DeleteStackSetOutput as DeleteStackSetOutput, + DeletionMode as DeletionMode, + DeploymentConfig as DeploymentConfig, + DeploymentConfigMode as DeploymentConfigMode, + DeploymentMode as DeploymentMode, + DeploymentTargets as DeploymentTargets, + DeprecatedStatus as DeprecatedStatus, + DeregisterTypeInput as DeregisterTypeInput, + DeregisterTypeOutput as DeregisterTypeOutput, + DescribeAccountLimitsInput as DescribeAccountLimitsInput, + DescribeAccountLimitsOutput as DescribeAccountLimitsOutput, + DescribeChangeSetHooksInput as DescribeChangeSetHooksInput, + DescribeChangeSetHooksOutput as DescribeChangeSetHooksOutput, + DescribeChangeSetInput as DescribeChangeSetInput, + DescribeChangeSetOutput as DescribeChangeSetOutput, + DescribeEventsInput as DescribeEventsInput, + DescribeEventsOutput as DescribeEventsOutput, + DescribeGeneratedTemplateInput as DescribeGeneratedTemplateInput, + DescribeGeneratedTemplateOutput as DescribeGeneratedTemplateOutput, + DescribeOrganizationsAccessInput as DescribeOrganizationsAccessInput, + DescribeOrganizationsAccessOutput as DescribeOrganizationsAccessOutput, + DescribePublisherInput as DescribePublisherInput, + DescribePublisherOutput as DescribePublisherOutput, + DescribeResourceScanInput as DescribeResourceScanInput, + DescribeResourceScanOutput as DescribeResourceScanOutput, + DescribeStackDriftDetectionStatusInput as DescribeStackDriftDetectionStatusInput, + DescribeStackDriftDetectionStatusOutput as DescribeStackDriftDetectionStatusOutput, + DescribeStackEventsInput as DescribeStackEventsInput, + DescribeStackEventsOutput as DescribeStackEventsOutput, + DescribeStackInstanceInput as DescribeStackInstanceInput, + DescribeStackInstanceOutput as DescribeStackInstanceOutput, + DescribeStackRefactorInput as DescribeStackRefactorInput, + DescribeStackRefactorOutput as DescribeStackRefactorOutput, + DescribeStackResourceDriftsInput as DescribeStackResourceDriftsInput, + DescribeStackResourceDriftsOutput as DescribeStackResourceDriftsOutput, + DescribeStackResourceInput as DescribeStackResourceInput, + DescribeStackResourceOutput as DescribeStackResourceOutput, + DescribeStackResourcesInput as DescribeStackResourcesInput, + DescribeStackResourcesOutput as DescribeStackResourcesOutput, + DescribeStackSetInput as DescribeStackSetInput, + DescribeStackSetOperationInput as DescribeStackSetOperationInput, + DescribeStackSetOperationOutput as DescribeStackSetOperationOutput, + DescribeStackSetOutput as DescribeStackSetOutput, + DescribeStacksInput as DescribeStacksInput, + DescribeStacksOutput as DescribeStacksOutput, + DescribeTypeInput as DescribeTypeInput, + DescribeTypeOutput as DescribeTypeOutput, + DescribeTypeRegistrationInput as DescribeTypeRegistrationInput, + DescribeTypeRegistrationOutput as DescribeTypeRegistrationOutput, + DetailedStatus as DetailedStatus, + DetectStackDriftInput as DetectStackDriftInput, + DetectStackDriftOutput as DetectStackDriftOutput, + DetectStackResourceDriftInput as DetectStackResourceDriftInput, + DetectStackResourceDriftOutput as DetectStackResourceDriftOutput, + DetectStackSetDriftInput as DetectStackSetDriftInput, + DetectStackSetDriftOutput as DetectStackSetDriftOutput, + DifferenceType as DifferenceType, + DriftIgnoredReason as DriftIgnoredReason, + EstimateTemplateCostInput as EstimateTemplateCostInput, + EstimateTemplateCostOutput as EstimateTemplateCostOutput, + EvaluationType as EvaluationType, + EventFilter as EventFilter, + EventType as EventType, + ExecuteChangeSetInput as ExecuteChangeSetInput, + ExecuteChangeSetOutput as ExecuteChangeSetOutput, + ExecuteStackRefactorInput as ExecuteStackRefactorInput, + ExecuteStackRefactorOutput as ExecuteStackRefactorOutput, + ExecutionStatus as ExecutionStatus, + Export as Export, + GeneratedTemplateDeletionPolicy as GeneratedTemplateDeletionPolicy, + GeneratedTemplateNotFoundException as GeneratedTemplateNotFoundException, + GeneratedTemplateResourceStatus as GeneratedTemplateResourceStatus, + GeneratedTemplateStatus as GeneratedTemplateStatus, + GeneratedTemplateUpdateReplacePolicy as GeneratedTemplateUpdateReplacePolicy, + GetGeneratedTemplateInput as GetGeneratedTemplateInput, + GetGeneratedTemplateOutput as GetGeneratedTemplateOutput, + GetHookResultInput as GetHookResultInput, + GetHookResultOutput as GetHookResultOutput, + GetStackPolicyInput as GetStackPolicyInput, + GetStackPolicyOutput as GetStackPolicyOutput, + GetTemplateInput as GetTemplateInput, + GetTemplateOutput as GetTemplateOutput, + GetTemplateSummaryInput as GetTemplateSummaryInput, + GetTemplateSummaryOutput as GetTemplateSummaryOutput, + HandlerErrorCode as HandlerErrorCode, + HookFailureMode as HookFailureMode, + HookInvocationPoint as HookInvocationPoint, + HookResultNotFoundException as HookResultNotFoundException, + HookResultSummary as HookResultSummary, + HookStatus as HookStatus, + HookTarget as HookTarget, + HookTargetAction as HookTargetAction, + HookTargetType as HookTargetType, + IdentityProvider as IdentityProvider, + ImportStacksToStackSetInput as ImportStacksToStackSetInput, + ImportStacksToStackSetOutput as ImportStacksToStackSetOutput, + InsufficientCapabilitiesException as InsufficientCapabilitiesException, + InvalidChangeSetStatusException as InvalidChangeSetStatusException, + InvalidOperationException as InvalidOperationException, + InvalidStateTransitionException as InvalidStateTransitionException, + LimitExceededException as LimitExceededException, + ListChangeSetsInput as ListChangeSetsInput, + ListChangeSetsOutput as ListChangeSetsOutput, + ListExportsInput as ListExportsInput, + ListExportsOutput as ListExportsOutput, + ListGeneratedTemplatesInput as ListGeneratedTemplatesInput, + ListGeneratedTemplatesOutput as ListGeneratedTemplatesOutput, + ListHookResultsInput as ListHookResultsInput, + ListHookResultsOutput as ListHookResultsOutput, + ListHookResultsTargetType as ListHookResultsTargetType, + ListImportsInput as ListImportsInput, + ListImportsOutput as ListImportsOutput, + ListResourceScanRelatedResourcesInput as ListResourceScanRelatedResourcesInput, + ListResourceScanRelatedResourcesOutput as ListResourceScanRelatedResourcesOutput, + ListResourceScanResourcesInput as ListResourceScanResourcesInput, + ListResourceScanResourcesOutput as ListResourceScanResourcesOutput, + ListResourceScansInput as ListResourceScansInput, + ListResourceScansOutput as ListResourceScansOutput, + ListStackInstanceResourceDriftsInput as ListStackInstanceResourceDriftsInput, + ListStackInstanceResourceDriftsOutput as ListStackInstanceResourceDriftsOutput, + ListStackInstancesInput as ListStackInstancesInput, + ListStackInstancesOutput as ListStackInstancesOutput, + ListStackRefactorActionsInput as ListStackRefactorActionsInput, + ListStackRefactorActionsOutput as ListStackRefactorActionsOutput, + ListStackRefactorsInput as ListStackRefactorsInput, + ListStackRefactorsOutput as ListStackRefactorsOutput, + ListStackResourcesInput as ListStackResourcesInput, + ListStackResourcesOutput as ListStackResourcesOutput, + ListStackSetAutoDeploymentTargetsInput as ListStackSetAutoDeploymentTargetsInput, + ListStackSetAutoDeploymentTargetsOutput as ListStackSetAutoDeploymentTargetsOutput, + ListStackSetOperationResultsInput as ListStackSetOperationResultsInput, + ListStackSetOperationResultsOutput as ListStackSetOperationResultsOutput, + ListStackSetOperationsInput as ListStackSetOperationsInput, + ListStackSetOperationsOutput as ListStackSetOperationsOutput, + ListStackSetsInput as ListStackSetsInput, + ListStackSetsOutput as ListStackSetsOutput, + ListStacksInput as ListStacksInput, + ListStacksOutput as ListStacksOutput, + ListTypeRegistrationsInput as ListTypeRegistrationsInput, + ListTypeRegistrationsOutput as ListTypeRegistrationsOutput, + ListTypesInput as ListTypesInput, + ListTypesOutput as ListTypesOutput, + ListTypeVersionsInput as ListTypeVersionsInput, + ListTypeVersionsOutput as ListTypeVersionsOutput, + LiveResourceDrift as LiveResourceDrift, + LoggingConfig as LoggingConfig, + ManagedExecution as ManagedExecution, + ModuleInfo as ModuleInfo, + NameAlreadyExistsException as NameAlreadyExistsException, + OnFailure as OnFailure, + OnStackFailure as OnStackFailure, + OperationEntry as OperationEntry, + OperationEvent as OperationEvent, + OperationIdAlreadyExistsException as OperationIdAlreadyExistsException, + OperationInProgressException as OperationInProgressException, + OperationNotFoundException as OperationNotFoundException, + OperationResultFilter as OperationResultFilter, + OperationResultFilterName as OperationResultFilterName, + OperationStatus as OperationStatus, + OperationStatusCheckFailedException as OperationStatusCheckFailedException, + OperationType as OperationType, + OrganizationStatus as OrganizationStatus, + Output as Output, + Parameter as Parameter, + ParameterConstraints as ParameterConstraints, + ParameterDeclaration as ParameterDeclaration, + PermissionModels as PermissionModels, + PhysicalResourceIdContextKeyValuePair as PhysicalResourceIdContextKeyValuePair, + PolicyAction as PolicyAction, + PropertyDifference as PropertyDifference, + ProvisioningType as ProvisioningType, + PublisherStatus as PublisherStatus, + PublishTypeInput as PublishTypeInput, + PublishTypeOutput as PublishTypeOutput, + RecordHandlerProgressInput as RecordHandlerProgressInput, + RecordHandlerProgressOutput as RecordHandlerProgressOutput, + RegionConcurrencyType as RegionConcurrencyType, + RegisterPublisherInput as RegisterPublisherInput, + RegisterPublisherOutput as RegisterPublisherOutput, + RegisterTypeInput as RegisterTypeInput, + RegisterTypeOutput as RegisterTypeOutput, + RegistrationStatus as RegistrationStatus, +) + +from ._private.models_1 import ( + RegistryType as RegistryType, + Replacement as Replacement, + RequiredActivatedType as RequiredActivatedType, + RequiresRecreation as RequiresRecreation, + ResourceAttribute as ResourceAttribute, + ResourceChange as ResourceChange, + ResourceChangeDetail as ResourceChangeDetail, + ResourceDefinition as ResourceDefinition, + ResourceDetail as ResourceDetail, + ResourceDriftIgnoredAttribute as ResourceDriftIgnoredAttribute, + ResourceIdentifierSummary as ResourceIdentifierSummary, + ResourceLocation as ResourceLocation, + ResourceMapping as ResourceMapping, + ResourceScanInProgressException as ResourceScanInProgressException, + ResourceScanLimitExceededException as ResourceScanLimitExceededException, + ResourceScanNotFoundException as ResourceScanNotFoundException, + ResourceScanStatus as ResourceScanStatus, + ResourceScanSummary as ResourceScanSummary, + ResourceSignalStatus as ResourceSignalStatus, + ResourceStatus as ResourceStatus, + ResourceTargetDefinition as ResourceTargetDefinition, + ResourceToImport as ResourceToImport, + RollbackConfiguration as RollbackConfiguration, + RollbackStackInput as RollbackStackInput, + RollbackStackOutput as RollbackStackOutput, + RollbackTrigger as RollbackTrigger, + ScanFilter as ScanFilter, + ScannedResource as ScannedResource, + ScannedResourceIdentifier as ScannedResourceIdentifier, + ScanType as ScanType, + SetStackPolicyInput as SetStackPolicyInput, + SetStackPolicyOutput as SetStackPolicyOutput, + SetTypeConfigurationInput as SetTypeConfigurationInput, + SetTypeConfigurationOutput as SetTypeConfigurationOutput, + SetTypeDefaultVersionInput as SetTypeDefaultVersionInput, + SetTypeDefaultVersionOutput as SetTypeDefaultVersionOutput, + SignalResourceInput as SignalResourceInput, + SignalResourceOutput as SignalResourceOutput, + Stack as Stack, + StackDefinition as StackDefinition, + StackDriftDetectionStatus as StackDriftDetectionStatus, + StackDriftInformation as StackDriftInformation, + StackDriftInformationSummary as StackDriftInformationSummary, + StackDriftStatus as StackDriftStatus, + StackEvent as StackEvent, + StackInstance as StackInstance, + StackInstanceComprehensiveStatus as StackInstanceComprehensiveStatus, + StackInstanceDetailedStatus as StackInstanceDetailedStatus, + StackInstanceFilter as StackInstanceFilter, + StackInstanceFilterName as StackInstanceFilterName, + StackInstanceNotFoundException as StackInstanceNotFoundException, + StackInstanceResourceDriftsSummary as StackInstanceResourceDriftsSummary, + StackInstanceStatus as StackInstanceStatus, + StackInstanceSummary as StackInstanceSummary, + StackNotFoundException as StackNotFoundException, + StackRefactorAction as StackRefactorAction, + StackRefactorActionEntity as StackRefactorActionEntity, + StackRefactorActionType as StackRefactorActionType, + StackRefactorDetection as StackRefactorDetection, + StackRefactorExecutionStatus as StackRefactorExecutionStatus, + StackRefactorNotFoundException as StackRefactorNotFoundException, + StackRefactorStatus as StackRefactorStatus, + StackRefactorSummary as StackRefactorSummary, + StackResource as StackResource, + StackResourceDetail as StackResourceDetail, + StackResourceDrift as StackResourceDrift, + StackResourceDriftInformation as StackResourceDriftInformation, + StackResourceDriftInformationSummary as StackResourceDriftInformationSummary, + StackResourceDriftStatus as StackResourceDriftStatus, + StackResourceSummary as StackResourceSummary, + StackSet as StackSet, + StackSetAutoDeploymentTargetSummary as StackSetAutoDeploymentTargetSummary, + StackSetDriftDetectionDetails as StackSetDriftDetectionDetails, + StackSetDriftDetectionStatus as StackSetDriftDetectionStatus, + StackSetDriftStatus as StackSetDriftStatus, + StackSetNotEmptyException as StackSetNotEmptyException, + StackSetNotFoundException as StackSetNotFoundException, + StackSetOperation as StackSetOperation, + StackSetOperationAction as StackSetOperationAction, + StackSetOperationPreferences as StackSetOperationPreferences, + StackSetOperationResultStatus as StackSetOperationResultStatus, + StackSetOperationResultSummary as StackSetOperationResultSummary, + StackSetOperationStatus as StackSetOperationStatus, + StackSetOperationStatusDetails as StackSetOperationStatusDetails, + StackSetOperationSummary as StackSetOperationSummary, + StackSetStatus as StackSetStatus, + StackSetSummary as StackSetSummary, + StackStatus as StackStatus, + StackSummary as StackSummary, + StaleRequestException as StaleRequestException, + StartResourceScanInput as StartResourceScanInput, + StartResourceScanOutput as StartResourceScanOutput, + StopStackSetOperationInput as StopStackSetOperationInput, + StopStackSetOperationOutput as StopStackSetOperationOutput, + Tag as Tag, + TemplateConfiguration as TemplateConfiguration, + TemplateFormat as TemplateFormat, + TemplateParameter as TemplateParameter, + TemplateProgress as TemplateProgress, + TemplateStage as TemplateStage, + TemplateSummary as TemplateSummary, + TemplateSummaryConfig as TemplateSummaryConfig, + TestTypeInput as TestTypeInput, + TestTypeOutput as TestTypeOutput, + ThirdPartyType as ThirdPartyType, + TokenAlreadyExistsException as TokenAlreadyExistsException, + TypeConfigurationDetails as TypeConfigurationDetails, + TypeConfigurationIdentifier as TypeConfigurationIdentifier, + TypeConfigurationNotFoundException as TypeConfigurationNotFoundException, + TypeFilters as TypeFilters, + TypeNotFoundException as TypeNotFoundException, + TypeSummary as TypeSummary, + TypeTestsStatus as TypeTestsStatus, + TypeVersionSummary as TypeVersionSummary, + UpdateGeneratedTemplateInput as UpdateGeneratedTemplateInput, + UpdateGeneratedTemplateOutput as UpdateGeneratedTemplateOutput, + UpdateStackInput as UpdateStackInput, + UpdateStackInstancesInput as UpdateStackInstancesInput, + UpdateStackInstancesOutput as UpdateStackInstancesOutput, + UpdateStackOutput as UpdateStackOutput, + UpdateStackSetInput as UpdateStackSetInput, + UpdateStackSetOutput as UpdateStackSetOutput, + UpdateTerminationProtectionInput as UpdateTerminationProtectionInput, + UpdateTerminationProtectionOutput as UpdateTerminationProtectionOutput, + ValidateTemplateInput as ValidateTemplateInput, + ValidateTemplateOutput as ValidateTemplateOutput, + ValidationStatus as ValidationStatus, + VersionBump as VersionBump, + Visibility as Visibility, + WarningDetail as WarningDetail, + WarningProperty as WarningProperty, + Warnings as Warnings, + WarningType as WarningType, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -26,11152 +410,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -class AccountFilterType(UnknownEnumMixin, StrEnum): - NONE = "NONE" - INTERSECTION = "INTERSECTION" - DIFFERENCE = "DIFFERENCE" - UNION = "UNION" - -@dataclass(kw_only=True) -class AccountGateResult(_SerdeShape): - """ - Structure that contains the results of the account gate function which - CloudFormation invokes, if present, before proceeding with a StackSet - operation in an account and Region. - - For each account and Region, CloudFormation lets you specify a Lambda - function that encapsulates any requirements that must be met before - CloudFormation can proceed with a StackSet operation in that account and - Region. CloudFormation invokes the function each time a StackSet - operation is requested for that account and Region; if the function - returns `FAILED`, CloudFormation cancels the operation in that account - and Region, and sets the StackSet operation result status for that - account and Region to `FAILED`. - - For more information, see [Prevent failed StackSets deployments using - target account - gates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-account-gating.html) - in the *CloudFormation User Guide*. - """ - - status: str | None = ... - """ - The status of the account gate function. - - - `SUCCEEDED`: The account gate function has determined that the account - and Region passes any requirements for a StackSet operation to occur. - CloudFormation proceeds with the stack operation in that account and - Region. - - - `FAILED`: The account gate function has determined that the account - and Region doesn't meet the requirements for a StackSet operation to - occur. CloudFormation cancels the StackSet operation in that account - and Region, and sets the StackSet operation result status for that - account and Region to `FAILED`. - - - `SKIPPED`: CloudFormation has skipped calling the account gate - function for this account and Region, for one of the following - reasons: - - - An account gate function hasn't been specified for the account and - Region. CloudFormation proceeds with the StackSet operation in this - account and Region. - - - The `AWSCloudFormationStackSetExecutionRole` of the administration - account lacks permissions to invoke the function. CloudFormation - proceeds with the StackSet operation in this account and Region. - - - Either no action is necessary, or no action is possible, on the - stack. CloudFormation skips the StackSet operation in this account - and Region. - """ - status_reason: str | None = ... - """ - The reason for the account gate status assigned to this account and - Region for the StackSet operation. - """ - -class AccountGateStatus(UnknownEnumMixin, StrEnum): - SUCCEEDED = "SUCCEEDED" - FAILED = "FAILED" - SKIPPED = "SKIPPED" - -@dataclass(kw_only=True) -class AccountLimit(_SerdeShape): - """ - Describes the current CloudFormation limits for your account. - - CloudFormation has the following limits per account: - - - Number of concurrent resources - - - Number of stacks - - - Number of stack outputs - - For more information, see [Understand CloudFormation - quotas](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) - in the *CloudFormation User Guide*. - """ - - name: str | None = ... - """ - The name of the account limit. - - Values: `ConcurrentResourcesLimit` | `StackLimit` | - `StackOutputsLimit` - """ - value: int | None = ... - """The value that's associated with the account limit name.""" - -@dataclass(kw_only=True) -class ActivateOrganizationsAccessInput(_SerdeShape): - """Dataclass for ActivateOrganizationsAccessInput structure.""" - -@dataclass(kw_only=True) -class ActivateOrganizationsAccessOutput(_SerdeShape): - """Dataclass for ActivateOrganizationsAccessOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ActivateTypeInput(_SerdeShape): - """Dataclass for ActivateTypeInput structure.""" - - type: str | None = ... - """ - The extension type. - - Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, - and `PublisherId`. - """ - public_type_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the public extension. - - Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, - and `PublisherId`. - """ - publisher_id: str | None = ... - """ - The ID of the extension publisher. - - Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, - and `PublisherId`. - """ - type_name: str | None = ... - """ - The name of the extension. - - Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, - and `PublisherId`. - """ - type_name_alias: str | None = ... - """ - An alias to assign to the public extension in this account and Region. - If you specify an alias for the extension, CloudFormation treats the - alias as the extension type name within this account and Region. You - must use the alias to refer to the extension in your templates, API - calls, and CloudFormation console. - - An extension alias must be unique within a given account and Region. You - can activate the same public resource multiple times in the same account - and Region, using different type name aliases. - """ - auto_update: bool | None = ... - """ - Whether to automatically update the extension in this account and Region - when a new *minor* version is published by the extension publisher. - Major versions released by the publisher must be manually updated. - - The default is `true`. - """ - logging_config: LoggingConfig | None = ... - """Contains logging configuration information for an extension.""" - execution_role_arn: str | None = ... - """The name of the IAM execution role to use to activate the extension.""" - version_bump: str | None = ... - """ - Manually updates a previously-activated type to a new major or minor - version, if available. You can also use this parameter to update the - value of `AutoUpdate`. - - - `MAJOR`: CloudFormation updates the extension to the newest major - version, if one is available. - - - `MINOR`: CloudFormation updates the extension to the newest minor - version, if one is available. - """ - major_version: int | None = ... - """ - The major version of this extension you want to activate, if multiple - major versions are available. The default is the latest major version. - CloudFormation uses the latest available *minor* version of the major - version selected. - - You can specify `MajorVersion` or `VersionBump`, but not both. - """ - -@dataclass(kw_only=True) -class ActivateTypeOutput(_SerdeShape): - """Dataclass for ActivateTypeOutput structure.""" - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the activated extension in this - account and Region. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AfterValueFrom(UnknownEnumMixin, StrEnum): - TEMPLATE = "TEMPLATE" - -@dataclass(kw_only=True) -class AlreadyExistsException(ServiceError, _SerdeShape): - """The resource with the name requested already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Annotation(_SerdeShape): - """ - The `Annotation` data type. - - A `GetHookResult` call returns detailed information and remediation - guidance from Control Tower, Guard, Lambda, or custom Hooks for a Hook - invocation result. - """ - - annotation_name: str | None = ... - """ - An identifier for the evaluation logic that was used when invoking the - Hook. For Control Tower, this is the control ID. For Guard, this is the - rule ID. For Lambda and custom Hooks, this is a user-defined identifier. - """ - status: str | None = ... - """The status of the Hook invocation from the downstream service.""" - status_message: str | None = ... - """ - The explanation for the specific status assigned to this Hook - invocation. For example, \"Bucket does not block public access\". - """ - remediation_message: str | None = ... - """ - Suggests what to change if your Hook returns a `FAILED` status. For - example, \"Block public access to the bucket\". - """ - remediation_link: str | None = ... - """A URL that you can access for additional remediation guidance.""" - severity_level: str | None = ... - """The relative risk associated with any violations of this type.""" - -class AnnotationSeverityLevel(UnknownEnumMixin, StrEnum): - INFORMATIONAL = "INFORMATIONAL" - LOW = "LOW" - MEDIUM = "MEDIUM" - HIGH = "HIGH" - CRITICAL = "CRITICAL" - -class AnnotationStatus(UnknownEnumMixin, StrEnum): - PASSED = "PASSED" - FAILED = "FAILED" - SKIPPED = "SKIPPED" - -class AttributeChangeType(UnknownEnumMixin, StrEnum): - ADD = "Add" - REMOVE = "Remove" - MODIFY = "Modify" - SYNC_WITH_ACTUAL = "SyncWithActual" - -@dataclass(kw_only=True) -class AutoDeployment(_SerdeShape): - """ - Describes whether StackSets automatically deploys to Organizations - accounts that are added to a target organization or organizational unit - (OU). For more information, see [Enable or disable automatic deployments - for StackSets in - Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html) - in the *CloudFormation User Guide*. - """ - - enabled: bool | None = ... - """ - If set to `true`, StackSets automatically deploys additional stack - instances to Organizations accounts that are added to a target - organization or organizational unit (OU) in the specified Regions. If an - account is removed from a target organization or OU, StackSets deletes - stack instances from the account in the specified Regions. - """ - retain_stacks_on_account_removal: bool | None = ... - """ - If set to `true`, stack resources are retained when an account is - removed from a target organization or OU. If set to `false`, stack - resources are deleted. Specify only if `Enabled` is set to `True`. - """ - depends_on: list[str] | None = ... - """ - A list of StackSet ARNs that this StackSet depends on for - auto-deployment operations. When auto-deployment is triggered, - operations will be sequenced to ensure all dependencies complete - successfully before this StackSet's operation begins. - """ - -@dataclass(kw_only=True) -class BatchDescribeTypeConfigurationsError(_SerdeShape): - """ - Detailed information concerning an error generated during the setting of - configuration data for a CloudFormation extension. - """ - - error_code: str | None = ... - """The error code.""" - error_message: str | None = ... - """The error message.""" - type_configuration_identifier: TypeConfigurationIdentifier | None = ... - """ - Identifying information for the configuration of a CloudFormation - extension. - """ - -@dataclass(kw_only=True) -class BatchDescribeTypeConfigurationsInput(_SerdeShape): - """Dataclass for BatchDescribeTypeConfigurationsInput structure.""" - - type_configuration_identifiers: list[TypeConfigurationIdentifier] | None = ... - """The list of identifiers for the desired extension configurations.""" - -@dataclass(kw_only=True) -class BatchDescribeTypeConfigurationsOutput(_SerdeShape): - """Dataclass for BatchDescribeTypeConfigurationsOutput structure.""" - - errors: list[BatchDescribeTypeConfigurationsError] | None = ... - """ - A list of information concerning any errors generated during the setting - of the specified configurations. - """ - unprocessed_type_configurations: list[TypeConfigurationIdentifier] | None = ... - """ - A list of any of the specified extension configurations that - CloudFormation could not process for any reason. - """ - type_configurations: list[TypeConfigurationDetails] | None = ... - """ - A list of any of the specified extension configurations from the - CloudFormation registry. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class BeaconStackOperationStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "IN_PROGRESS" - SUCCEEDED = "SUCCEEDED" - FAILED = "FAILED" - -class BeforeValueFrom(UnknownEnumMixin, StrEnum): - PREVIOUS_DEPLOYMENT_STATE = "PREVIOUS_DEPLOYMENT_STATE" - ACTUAL_STATE = "ACTUAL_STATE" - -class CallAs(UnknownEnumMixin, StrEnum): - SELF = "SELF" - DELEGATED_ADMIN = "DELEGATED_ADMIN" - -@dataclass(kw_only=True) -class CancelUpdateStackInput(_SerdeShape): - """The input for the CancelUpdateStack action.""" - - stack_name: str | None = ... - """ - Note: - If you don't pass a parameter to `StackName`, the API returns a - response that describes all resources in the account. - - The IAM policy below can be added to IAM policies when you want to limit - resource-level permissions and avoid returning a response when no - parameter is sent in the request: - - `{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }` - - The name or the unique stack ID that's associated with the stack. - """ - client_request_token: str | None = ... - """ - A unique identifier for this `CancelUpdateStack` request. Specify this - token if you plan to retry requests so that CloudFormation knows that - you're not attempting to cancel an update on a stack with the same - name. You might retry `CancelUpdateStack` requests to ensure that - CloudFormation successfully received them. - """ - -@dataclass(kw_only=True) -class CancelUpdateStackOutput(_SerdeShape): - """Dataclass for CancelUpdateStackOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class Capability(UnknownEnumMixin, StrEnum): - CAPABILITY_IAM = "CAPABILITY_IAM" - CAPABILITY_NAMED_IAM = "CAPABILITY_NAMED_IAM" - CAPABILITY_AUTO_EXPAND = "CAPABILITY_AUTO_EXPAND" - -class Category(UnknownEnumMixin, StrEnum): - REGISTERED = "REGISTERED" - ACTIVATED = "ACTIVATED" - THIRD_PARTY = "THIRD_PARTY" - AWS_TYPES = "AWS_TYPES" - -@dataclass(kw_only=True) -class CFNRegistryException(ServiceError, _SerdeShape): - """An error occurred during a CloudFormation registry operation.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Change(_SerdeShape): - """ - The `Change` structure describes the changes CloudFormation will perform - if you execute the change set. - """ - - type: str | None = ... - """ - The type of entity that CloudFormation changes. - - - `Resource` This change is for a resource. - """ - hook_invocation_count: int | None = ... - """ - Is either `null`, if no Hooks invoke for the resource, or contains the - number of Hooks that will invoke for the resource. - """ - resource_change: ResourceChange | None = ... - """ - A `ResourceChange` structure that describes the resource and action that - CloudFormation will perform. - """ - -class ChangeAction(UnknownEnumMixin, StrEnum): - ADD = "Add" - MODIFY = "Modify" - REMOVE = "Remove" - IMPORT_ = "Import" - DYNAMIC = "Dynamic" - SYNC_WITH_ACTUAL = "SyncWithActual" - -@dataclass(kw_only=True) -class ChangeSetHook(_SerdeShape): - """Specifies the resource, the Hook, and the Hook version to be invoked.""" - - invocation_point: str | None = ... - """ - The specific point in the provisioning process where the Hook is - invoked. - """ - failure_mode: str | None = ... - """ - Specify the Hook failure mode for non-compliant resources in the - followings ways. - - - `FAIL` Stops provisioning resources. - - - `WARN` Allows provisioning to continue with a warning message. - """ - type_name: str | None = ... - """ - The unique name for your Hook. Specifies a three-part namespace for your - Hook, with a recommended pattern of `Organization::Service::Hook`. - - Note: - The following organization namespaces are reserved and can't be used in - your Hook type names: - - - `Alexa` - - - `AMZN` - - - `Amazon` - - - `ASK` - - - `AWS` - - - `Custom` - - - `Dev` - """ - type_version_id: str | None = ... - """The version ID of the type specified.""" - type_configuration_version_id: str | None = ... - """The version ID of the type configuration.""" - target_details: ChangeSetHookTargetDetails | None = ... - """Specifies details about the target that the Hook will run against.""" - -@dataclass(kw_only=True) -class ChangeSetHookResourceTargetDetails(_SerdeShape): - """Specifies `RESOURCE` type target details for activated Hooks.""" - - logical_resource_id: str | None = ... - """The resource's logical ID, which is defined in the stack's template.""" - resource_type: str | None = ... - """The type of CloudFormation resource, such as `AWS::S3::Bucket`.""" - resource_action: str | None = ... - """Specifies the action of the resource.""" - -class ChangeSetHooksStatus(UnknownEnumMixin, StrEnum): - PLANNING = "PLANNING" - PLANNED = "PLANNED" - UNAVAILABLE = "UNAVAILABLE" - -@dataclass(kw_only=True) -class ChangeSetHookTargetDetails(_SerdeShape): - """Specifies target details for an activated Hook.""" - - target_type: str | None = ... - """The Hook target type.""" - resource_target_details: ChangeSetHookResourceTargetDetails | None = ... - """Required if `TargetType` is `RESOURCE`.""" - -@dataclass(kw_only=True) -class ChangeSetNotFoundException(ServiceError, _SerdeShape): - """ - The specified change set name or ID doesn't exit. To view valid change - sets for a stack, use the `ListChangeSets` operation. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ChangeSetStatus(UnknownEnumMixin, StrEnum): - CREATE_PENDING = "CREATE_PENDING" - CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" - CREATE_COMPLETE = "CREATE_COMPLETE" - DELETE_PENDING = "DELETE_PENDING" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - DELETE_COMPLETE = "DELETE_COMPLETE" - DELETE_FAILED = "DELETE_FAILED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class ChangeSetSummary(_SerdeShape): - """ - The `ChangeSetSummary` structure describes a change set, its status, and - the stack with which it's associated. - """ - - stack_id: str | None = ... - """The ID of the stack with which the change set is associated.""" - stack_name: str | None = ... - """The name of the stack with which the change set is associated.""" - change_set_id: str | None = ... - """The ID of the change set.""" - change_set_name: str | None = ... - """The name of the change set.""" - execution_status: str | None = ... - """ - If the change set execution status is `AVAILABLE`, you can execute the - change set. If you can't execute the change set, the status indicates - why. For example, a change set might be in an `UNAVAILABLE` state - because CloudFormation is still creating it or in an `OBSOLETE` state - because the stack was already updated. - """ - status: str | None = ... - """ - The state of the change set, such as `CREATE_PENDING`, - `CREATE_COMPLETE`, or `FAILED`. - """ - status_reason: str | None = ... - """ - A description of the change set's status. For example, if your change - set is in the `FAILED` state, CloudFormation shows the error message. - """ - creation_time: datetime | None = ... - """The start time when the change set was created, in UTC.""" - description: str | None = ... - """Descriptive information about the change set.""" - include_nested_stacks: bool | None = ... - """ - Specifies the current setting of `IncludeNestedStacks` for the change - set. - """ - parent_change_set_id: str | None = ... - """The parent change set ID.""" - root_change_set_id: str | None = ... - """The root change set ID.""" - import_existing_resources: bool | None = ... - """Indicates if the change set imports resources that already exist.""" - -class ChangeSetType(UnknownEnumMixin, StrEnum): - CREATE = "CREATE" - UPDATE = "UPDATE" - IMPORT_ = "IMPORT" - -class ChangeSource(UnknownEnumMixin, StrEnum): - RESOURCE_REFERENCE = "ResourceReference" - PARAMETER_REFERENCE = "ParameterReference" - RESOURCE_ATTRIBUTE = "ResourceAttribute" - DIRECT_MODIFICATION = "DirectModification" - AUTOMATIC = "Automatic" - NO_MODIFICATION = "NoModification" - -class ChangeType(UnknownEnumMixin, StrEnum): - RESOURCE = "Resource" - -class ConcurrencyMode(UnknownEnumMixin, StrEnum): - STRICT_FAILURE_TOLERANCE = "STRICT_FAILURE_TOLERANCE" - SOFT_FAILURE_TOLERANCE = "SOFT_FAILURE_TOLERANCE" - -@dataclass(kw_only=True) -class ConcurrentResourcesLimitExceededException(ServiceError, _SerdeShape): - """ - No more than 5 generated templates can be in an `InProgress` or - `Pending` status at one time. This error is also returned if a generated - template that is in an `InProgress` or `Pending` status is attempted to - be updated or deleted. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ContinueUpdateRollbackInput(_SerdeShape): - """The input for the ContinueUpdateRollback action.""" - - stack_name: str | None = ... - """ - The name or the unique ID of the stack that you want to continue rolling - back. - - Note: - Don't specify the name of a nested stack (a stack that was created by - using the `AWS::CloudFormation::Stack` resource). Instead, use this - operation on the parent stack (the stack that contains the - `AWS::CloudFormation::Stack` resource). - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role that CloudFormation - assumes to roll back the stack. CloudFormation uses the role's - credentials to make calls on your behalf. CloudFormation always uses - this role for all future operations on the stack. Provided that users - have permission to operate on the stack, CloudFormation uses this role - even if the users don't have permission to pass it. Ensure that the - role grants least permission. - - If you don't specify a value, CloudFormation uses the role that was - previously associated with the stack. If no role is available, - CloudFormation uses a temporary session that's generated from your user - credentials. - """ - resources_to_skip: list[str] | None = ... - """ - A list of the logical IDs of the resources that CloudFormation skips - during the continue update rollback operation. You can specify only - resources that are in the `UPDATE_FAILED` state because a rollback - failed. You can't specify resources that are in the `UPDATE_FAILED` - state for other reasons, for example, because an update was canceled. To - check why a resource update failed, use the DescribeStackResources - action, and view the resource status reason. - - Warning: - Specify this property to skip rolling back resources that CloudFormation - can't successfully roll back. We recommend that you - [troubleshoot](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed) - resources before skipping them. CloudFormation sets the status of the - specified resources to `UPDATE_COMPLETE` and continues to roll back the - stack. After the rollback is complete, the state of the skipped - resources will be inconsistent with the state of the resources in the - stack template. Before performing another stack update, you must update - the stack or resources to be consistent with each other. If you don't, - subsequent stack updates might fail, and the stack will become - unrecoverable. - - Specify the minimum number of resources required to successfully roll - back your stack. For example, a failed resource update might cause - dependent resources to fail. In this case, it might not be necessary to - skip the dependent resources. - - To skip resources that are part of nested stacks, use the following - format: `NestedStackName.ResourceLogicalID`. If you want to specify the - logical ID of a stack resource (`Type: AWS::CloudFormation::Stack`) in - the `ResourcesToSkip` list, then its corresponding embedded stack must - be in one of the following states: `DELETE_IN_PROGRESS`, - `DELETE_COMPLETE`, or `DELETE_FAILED`. - - Note: - Don't confuse a child stack's name with its corresponding logical ID - defined in the parent stack. For an example of a continue update - rollback operation with nested stacks, see [Continue rolling back from - failed nested stack - updates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html#nested-stacks). - """ - client_request_token: str | None = ... - """ - A unique identifier for this `ContinueUpdateRollback` request. Specify - this token if you plan to retry requests so that CloudFormation knows - that you're not attempting to continue the rollback to a stack with the - same name. You might retry `ContinueUpdateRollback` requests to ensure - that CloudFormation successfully received them. - """ - force_rollback: bool | None = ... - """ - Specifies whether CloudFormation forces the rollback to continue by - skipping resources currently in the `UPDATE_FAILED` state. Use this - instead of listing each resource individually in `ResourcesToSkip`. Only - resources that entered the `UPDATE_FAILED` state because a rollback - failed are skipped. If you don't specify a value, the default is - `false` and CloudFormation doesn't skip any resources. - - `ForceRollback` and `ResourcesToSkip` are mutually exclusive. Specifying - both in the same request returns a validation error. - - Warning: - We recommend that you - [troubleshoot](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed) - resources before skipping them. CloudFormation sets the status of the - skipped resources to `UPDATE_COMPLETE` and continues to roll back the - stack, including resources in nested stacks. After the rollback - completes, the skipped resources no longer match the resources in the - stack template. Before performing another stack update, you must update - the stack or resources to be consistent with each other. If you don't, - subsequent stack updates might fail, and the stack will become - unrecoverable. - - Drift detection reports skipped resources as `NOT_CHECKED`. For - guidance, see [Continue rolling back an - update](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class ContinueUpdateRollbackOutput(_SerdeShape): - """The output for a ContinueUpdateRollback operation.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateChangeSetInput(_SerdeShape): - """The input for the CreateChangeSet action.""" - - stack_name: str | None = ... - """ - The name or the unique ID of the stack for which you are creating a - change set. CloudFormation generates the change set by comparing this - stack's information with the information that you submit, such as a - modified template or different parameter input values. - """ - template_body: str | None = ... - """ - A structure that contains the body of the revised template, with a - minimum length of 1 byte and a maximum length of 51,200 bytes. - CloudFormation generates the change set by comparing this template with - the template of the stack that you specified. - - Conditional: You must specify only one of the following parameters: - `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to - `true`. - """ - template_url: str | None = ... - """ - The URL of the file that contains the revised template. The URL must - point to a template (max size: 1 MB) that's located in an Amazon S3 - bucket or a Systems Manager document. CloudFormation generates the - change set by comparing this template with the stack that you specified. - The location for an Amazon S3 bucket must start with `https://`. URLs - from S3 static websites are not supported. - - Conditional: You must specify only one of the following parameters: - `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to - `true`. - """ - use_previous_template: bool | None = ... - """ - Whether to reuse the template that's associated with the stack to - create the change set. - - When using templates with the `AWS::LanguageExtensions` transform, - provide the template instead of using `UsePreviousTemplate` to ensure - new parameter values and Systems Manager parameter updates are applied - correctly. For more information, see [AWS::LanguageExtensions - transform](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/transform-aws-languageextensions.html). - - Conditional: You must specify only one of the following parameters: - `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to - `true`. - """ - parameters: list[Parameter] | None = ... - """ - A list of `Parameter` structures that specify input parameters for the - change set. For more information, see the Parameter data type. - """ - capabilities: list[str] | None = ... - """ - In some cases, you must explicitly acknowledge that your stack template - contains certain capabilities in order for CloudFormation to create the - stack. - - - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` - - Some stack templates might include resources that can affect - permissions in your Amazon Web Services account, for example, by - creating new IAM users. For those stacks, you must explicitly - acknowledge this by specifying one of these capabilities. - - The following IAM resources require you to specify either the - `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. - - - If you have IAM resources, you can specify either capability. - - - If you have IAM resources with custom names, you *must* specify - `CAPABILITY_NAMED_IAM`. - - - If you don't specify either of these capabilities, CloudFormation - returns an `InsufficientCapabilities` error. - - If your stack template contains these resources, we suggest that you - review all permissions associated with them and edit their permissions - if necessary. - - - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) - - - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) - - - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) - - - [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html) - - - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) - - - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) - - - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) - - - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) - - For more information, see [Acknowledging IAM resources in - CloudFormation - templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). - - - `CAPABILITY_AUTO_EXPAND` - - Some template contain macros. Macros perform custom processing on - templates; this can include simple actions like find-and-replace - operations, all the way to extensive transformations of entire - templates. Because of this, users typically create a change set from - the processed template, so that they can review the changes resulting - from the macros before actually creating the stack. If your stack - template contains one or more macros, and you choose to create a stack - directly from the processed template, without first reviewing the - resulting changes in a change set, you must acknowledge this - capability. This includes the - [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) - and - [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) - transforms, which are macros hosted by CloudFormation. - - Note: - This capacity doesn't apply to creating change sets, and specifying - it when creating change sets has no effect. - - If you want to create a stack from a stack template that contains - macros *and* nested stacks, you must create or update the stack - directly from the template using the CreateStack or UpdateStack - action, and specifying this capability. - - For more information about macros, see [Perform custom processing on - CloudFormation templates with template - macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). - - Note: - Only one of the `Capabilities` and `ResourceType` parameters can be - specified. - """ - resource_types: list[str] | None = ... - """ - Specifies which resource types you can work with, such as - `AWS::EC2::Instance` or `Custom::MyCustomInstance`. - - If the list of resource types doesn't include a resource type that - you're updating, the stack update fails. By default, CloudFormation - grants permissions to all resource types. IAM uses this parameter for - condition keys in IAM policies for CloudFormation. For more information, - see [Control CloudFormation access with Identity and Access - Management](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html) - in the *CloudFormation User Guide*. - - Note: - Only one of the `Capabilities` and `ResourceType` parameters can be - specified. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role that CloudFormation - assumes when executing the change set. CloudFormation uses the role's - credentials to make calls on your behalf. CloudFormation uses this role - for all future operations on the stack. Provided that users have - permission to operate on the stack, CloudFormation uses this role even - if the users don't have permission to pass it. Ensure that the role - grants least permission. - - If you don't specify a value, CloudFormation uses the role that was - previously associated with the stack. If no role is available, - CloudFormation uses a temporary session that is generated from your user - credentials. - """ - rollback_configuration: RollbackConfiguration | None = ... - """ - The rollback triggers for CloudFormation to monitor during stack - creation and updating operations, and for the specified monitoring - period afterwards. - """ - notification_ar_ns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of Amazon SNS topics that - CloudFormation associates with the stack. To remove all associated - notification topics, specify an empty list. - """ - tags: list[Tag] | None = ... - """ - Key-value pairs to associate with this stack. CloudFormation also - propagates these tags to resources in the stack. You can specify a - maximum of 50 tags. - """ - change_set_name: str | None = ... - """ - The name of the change set. The name must be unique among all change - sets that are associated with the specified stack. - - A change set name can contain only alphanumeric, case sensitive - characters, and hyphens. It must start with an alphabetical character - and can't exceed 128 characters. - """ - client_token: str | None = ... - """ - A unique identifier for this `CreateChangeSet` request. Specify this - token if you plan to retry requests so that CloudFormation knows that - you're not attempting to create another change set with the same name. - You might retry `CreateChangeSet` requests to ensure that CloudFormation - successfully received them. - """ - description: str | None = ... - """A description to help you identify this change set.""" - change_set_type: str | None = ... - """ - The type of change set operation. To create a change set for a new - stack, specify `CREATE`. To create a change set for an existing stack, - specify `UPDATE`. To create a change set for an import operation, - specify `IMPORT`. - - If you create a change set for a new stack, CloudFormation creates a - stack with a unique stack ID, but no template or resources. The stack - will be in the `REVIEW_IN_PROGRESS` state until you execute the change - set. - - By default, CloudFormation specifies `UPDATE`. You can't use the - `UPDATE` type to create a change set for a new stack or the `CREATE` - type to create a change set for an existing stack. - """ - resources_to_import: list[ResourceToImport] | None = ... - """The resources to import into your stack.""" - include_nested_stacks: bool | None = ... - """ - Creates a change set for the all nested stacks specified in the - template. The default behavior of this action is set to `False`. To - include nested sets in a change set, specify `True`. - """ - on_stack_failure: str | None = ... - """ - Determines what action will be taken if stack creation fails. If this - parameter is specified, the `DisableRollback` parameter to the - [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) - API operation must not be specified. This must be one of these values: - - - `DELETE` - Deletes the change set if the stack creation fails. This is - only valid when the `ChangeSetType` parameter is set to `CREATE`. If - the deletion of the stack fails, the status of the stack is - `DELETE_FAILED`. - - - `DO_NOTHING` - if the stack creation fails, do nothing. This is - equivalent to specifying `true` for the `DisableRollback` parameter to - the - [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) - API operation. - - - `ROLLBACK` - if the stack creation fails, roll back the stack. This is - equivalent to specifying `false` for the `DisableRollback` parameter - to the - [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) - API operation. - - For nested stacks, when the `OnStackFailure` parameter is set to - `DELETE` for the change set for the parent stack, any failure in a child - stack will cause the parent stack creation to fail and all stacks to be - deleted. - """ - import_existing_resources: bool | None = ... - """ - Indicates if the change set auto-imports resources that already exist. - For more information, see [Import Amazon Web Services resources into a - CloudFormation stack - automatically](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/import-resources-automatically.html) - in the *CloudFormation User Guide*. - - Note: - This parameter can only import resources that have custom names in - templates. For more information, see [name - type](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html) - in the *CloudFormation User Guide*. To import resources that do not - accept custom names, such as EC2 instances, use the `ResourcesToImport` - parameter instead. - """ - deployment_mode: str | None = ... - """ - Determines how CloudFormation handles configuration drift during - deployment. - - - `REVERT_DRIFT` -- Creates a drift-aware change set that brings actual - resource states in line with template definitions. Provides a - three-way comparison between actual state, previous deployment state, - and desired state. - - For more information, see [Using drift-aware change - sets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/drift-aware-change-sets.html) - in the *CloudFormation User Guide*. - """ - deployment_config: DeploymentConfig | None = ... - """ - The deployment configuration for this stack operation, including the - deployment mode. - """ - disable_validation: bool | None = ... - """ - Set to `true` to disable pre-deployment validations in changeset or - stack operations. - - Default: `false` - """ - -@dataclass(kw_only=True) -class CreateChangeSetOutput(_SerdeShape): - """The output for the CreateChangeSet action.""" - - id: str | None = ... - """The Amazon Resource Name (ARN) of the change set.""" - stack_id: str | None = ... - """The unique ID of the stack.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatedButModifiedException(ServiceError, _SerdeShape): - """The specified resource exists, but has been changed.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGeneratedTemplateInput(_SerdeShape): - """Dataclass for CreateGeneratedTemplateInput structure.""" - - resources: list[ResourceDefinition] | None = ... - """ - An optional list of resources to be included in the generated template. - - If no resources are specified,the template will be created without any - resources. Resources can be added to the template using the - `UpdateGeneratedTemplate` API action. - """ - generated_template_name: str | None = ... - """The name assigned to the generated template.""" - stack_name: str | None = ... - """ - An optional name or ARN of a stack to use as the base stack for the - generated template. - """ - template_configuration: TemplateConfiguration | None = ... - """ - The configuration details of the generated template, including the - `DeletionPolicy` and `UpdateReplacePolicy`. - """ - -@dataclass(kw_only=True) -class CreateGeneratedTemplateOutput(_SerdeShape): - """Dataclass for CreateGeneratedTemplateOutput structure.""" - - generated_template_id: str | None = ... - """The ID of the generated template.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateStackInput(_SerdeShape): - """The input for CreateStack action.""" - - stack_name: str | None = ... - """ - The name that's associated with the stack. The name must be unique in - the Region in which you are creating the stack. - - Note: - A stack name can contain only alphanumeric characters (case sensitive) - and hyphens. It must start with an alphabetical character and can't be - longer than 128 characters. - """ - template_body: str | None = ... - """ - Structure that contains the template body with a minimum length of 1 - byte and a maximum length of 51,200 bytes. - - Conditional: You must specify either `TemplateBody` or `TemplateURL`, - but not both. - """ - template_url: str | None = ... - """ - The URL of a file that contains the template body. The URL must point to - a template (max size: 1 MB) that's located in an Amazon S3 bucket or a - Systems Manager document. The location for an Amazon S3 bucket must - start with `https://`. URLs from S3 static websites are not supported. - - Conditional: You must specify either the `TemplateBody` or the - `TemplateURL` parameter, but not both. - """ - parameters: list[Parameter] | None = ... - """ - A list of `Parameter` structures that specify input parameters for the - stack. For more information, see the - [Parameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html) - data type. - """ - disable_rollback: bool | None = ... - """ - Set to `true` to disable rollback of the stack if stack creation failed. - You can specify either `DisableRollback` or `OnFailure`, but not both. - - Default: `false` - """ - rollback_configuration: RollbackConfiguration | None = ... - """ - The rollback triggers for CloudFormation to monitor during stack - creation and updating operations, and for the specified monitoring - period afterwards. - """ - timeout_in_minutes: int | None = ... - """ - The amount of time that can pass before the stack status becomes - `CREATE_FAILED`; if `DisableRollback` is not set or is set to `false`, - the stack will be rolled back. - """ - notification_ar_ns: list[str] | None = ... - """ - The Amazon SNS topic ARNs to publish stack related events. You can find - your Amazon SNS topic ARNs using the Amazon SNS console or your Command - Line Interface (CLI). - """ - capabilities: list[str] | None = ... - """ - In some cases, you must explicitly acknowledge that your stack template - contains certain capabilities in order for CloudFormation to create the - stack. - - - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` - - Some stack templates might include resources that can affect - permissions in your Amazon Web Services account; for example, by - creating new IAM users. For those stacks, you must explicitly - acknowledge this by specifying one of these capabilities. - - The following IAM resources require you to specify either the - `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. - - - If you have IAM resources, you can specify either capability. - - - If you have IAM resources with custom names, you *must* specify - `CAPABILITY_NAMED_IAM`. - - - If you don't specify either of these capabilities, CloudFormation - returns an `InsufficientCapabilities` error. - - If your stack template contains these resources, we recommend that you - review all permissions associated with them and edit their permissions - if necessary. - - - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) - - - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) - - - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) - - - [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html) - - - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) - - - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) - - - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) - - - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) - - For more information, see [Acknowledging IAM resources in - CloudFormation - templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). - - - `CAPABILITY_AUTO_EXPAND` - - Some template contain macros. Macros perform custom processing on - templates; this can include simple actions like find-and-replace - operations, all the way to extensive transformations of entire - templates. Because of this, users typically create a change set from - the processed template, so that they can review the changes resulting - from the macros before actually creating the stack. If your stack - template contains one or more macros, and you choose to create a stack - directly from the processed template, without first reviewing the - resulting changes in a change set, you must acknowledge this - capability. This includes the - [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) - and - [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) - transforms, which are macros hosted by CloudFormation. - - If you want to create a stack from a stack template that contains - macros *and* nested stacks, you must create the stack directly from - the template using this capability. - - Warning: - You should only create stacks directly from a stack template that - contains macros if you know what processing the macro performs. - - Each macro relies on an underlying Lambda service function for - processing stack templates. Be aware that the Lambda function owner - can update the function operation without CloudFormation being - notified. - - For more information, see [Perform custom processing on CloudFormation - templates with template - macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). - - Note: - Only one of the `Capabilities` and `ResourceType` parameters can be - specified. - """ - resource_types: list[str] | None = ... - """ - Specifies which resource types you can work with, such as - `AWS::EC2::Instance` or `Custom::MyCustomInstance`. - - If the list of resource types doesn't include a resource that you're - creating, the stack creation fails. By default, CloudFormation grants - permissions to all resource types. IAM uses this parameter for - CloudFormation-specific condition keys in IAM policies. For more - information, see [Control CloudFormation access with Identity and Access - Management](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html). - - Note: - Only one of the `Capabilities` and `ResourceType` parameters can be - specified. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role that CloudFormation - assumes to create the stack. CloudFormation uses the role's credentials - to make calls on your behalf. CloudFormation always uses this role for - all future operations on the stack. Provided that users have permission - to operate on the stack, CloudFormation uses this role even if the users - don't have permission to pass it. Ensure that the role grants least - privilege. - - If you don't specify a value, CloudFormation uses the role that was - previously associated with the stack. If no role is available, - CloudFormation uses a temporary session that's generated from your user - credentials. - """ - on_failure: str | None = ... - """ - Determines what action will be taken if stack creation fails. This must - be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can specify either - `OnFailure` or `DisableRollback`, but not both. - - Note: - Although the default setting is `ROLLBACK`, there is one exception. This - exception occurs when a StackSet attempts to deploy a stack instance and - the stack instance fails to create successfully. In this case, the - `CreateStack` call overrides the default setting and sets the value of - `OnFailure` to `DELETE`. - - Default: `ROLLBACK` - """ - stack_policy_body: str | None = ... - """ - Structure that contains the stack policy body. For more information, see - [Prevent updates to stack - resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html) - in the *CloudFormation User Guide*. You can specify either the - `StackPolicyBody` or the `StackPolicyURL` parameter, but not both. - """ - stack_policy_url: str | None = ... - """ - Location of a file that contains the stack policy. The URL must point to - a policy (maximum size: 16 KB) located in an S3 bucket in the same - Region as the stack. The location for an Amazon S3 bucket must start - with `https://`. URLs from S3 static websites are not supported. - - You can specify either the `StackPolicyBody` or the `StackPolicyURL` - parameter, but not both. - """ - tags: list[Tag] | None = ... - """ - Key-value pairs to associate with this stack. CloudFormation also - propagates these tags to the resources created in the stack. A maximum - number of 50 tags can be specified. - """ - client_request_token: str | None = ... - """ - A unique identifier for this `CreateStack` request. Specify this token - if you plan to retry requests so that CloudFormation knows that you're - not attempting to create a stack with the same name. You might retry - `CreateStack` requests to ensure that CloudFormation successfully - received them. - - All events initiated by a given stack operation are assigned the same - client request token, which you can use to track operations. For - example, if you execute a `CreateStack` operation with the token - `token1`, then all the `StackEvents` generated by that operation will - have `ClientRequestToken` set as `token1`. - - In the console, stack operations display the client request token on the - Events tab. Stack operations that are initiated from the console use the - token format *Console-StackOperation-ID*, which helps you easily - identify the stack operation . For example, if you create a stack using - the console, each stack event would be assigned the same token in the - following format: - `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. - """ - enable_termination_protection: bool | None = ... - """ - Whether to enable termination protection on the specified stack. If a - user attempts to delete a stack with termination protection enabled, the - operation fails and the stack remains unchanged. For more information, - see [Protect CloudFormation stacks from being - deleted](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html) - in the *CloudFormation User Guide*. Termination protection is - deactivated on stacks by default. - - For [nested - stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html), - termination protection is set on the root stack and can't be changed - directly on the nested stack. - """ - retain_except_on_create: bool | None = ... - """ - When set to `true`, newly created resources are deleted when the - operation rolls back. This includes newly created resources marked with - a deletion policy of `Retain`. - - Default: `false` - """ - deployment_config: DeploymentConfig | None = ... - """ - The deployment configuration for this stack operation, including the - deployment mode. - """ - disable_validation: bool | None = ... - """ - Set to `true` to disable pre-deployment validations in changeset or - stack operations. - - Default: `false` - """ - -@dataclass(kw_only=True) -class CreateStackInstancesInput(_SerdeShape): - """Dataclass for CreateStackInstancesInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet that you want to create stack - instances from. - """ - accounts: list[str] | None = ... - """ - [Self-managed permissions] The account IDs of one or more Amazon Web - Services accounts that you want to create stack instances in the - specified Region(s) for. - - You can specify `Accounts` or `DeploymentTargets`, but not both. - """ - deployment_targets: DeploymentTargets | None = ... - """ - [Service-managed permissions] The Organizations accounts in which to - create stack instances in the specified Amazon Web Services Regions. - - You can specify `Accounts` or `DeploymentTargets`, but not both. - """ - regions: list[str] | None = ... - """ - The names of one or more Amazon Web Services Regions where you want to - create stack instances using the specified Amazon Web Services accounts. - """ - parameter_overrides: list[Parameter] | None = ... - """ - A list of StackSet parameters whose values you want to override in the - selected stack instances. - - Any overridden parameter values will be applied to all stack instances - in the specified accounts and Amazon Web Services Regions. When - specifying parameters and their values, be aware of how CloudFormation - sets parameter values during stack instance operations: - - - To override the current value for a parameter, include the parameter - and specify its value. - - - To leave an overridden parameter set to its present value, include the - parameter and specify `UsePreviousValue` as `true`. (You can't - specify both a value and set `UsePreviousValue` to `true`.) - - - To set an overridden parameter back to the value specified in the - StackSet, specify a parameter list but don't include the parameter in - the list. - - - To leave all parameters set to their present values, don't specify - this property at all. - - During StackSet updates, any parameter values overridden for a stack - instance aren't updated, but retain their overridden value. - - You can only override the parameter *values* that are specified in the - StackSet; to add or delete a parameter itself, use - [UpdateStackSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) - to update the StackSet template. - """ - operation_preferences: StackSetOperationPreferences | None = ... - """Preferences for how CloudFormation performs this StackSet operation.""" - operation_id: str | None = ... - """ - The unique identifier for this StackSet operation. - - The operation ID also functions as an idempotency token, to ensure that - CloudFormation performs the StackSet operation only once, even if you - retry the request multiple times. You might retry StackSet operation - requests to ensure that CloudFormation successfully received them. - - If you don't specify an operation ID, the SDK generates one - automatically. - - Repeating this StackSet operation with a new operation ID retries all - stack instances whose status is `OUTDATED`. - """ - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class CreateStackInstancesOutput(_SerdeShape): - """Dataclass for CreateStackInstancesOutput structure.""" - - operation_id: str | None = ... - """The unique identifier for this StackSet operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateStackOutput(_SerdeShape): - """The output for a CreateStack action.""" - - stack_id: str | None = ... - """Unique identifier of the stack.""" - operation_id: str | None = ... - """ - A unique identifier for this stack operation that can be used to track - the operation's progress and events. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateStackRefactorInput(_SerdeShape): - """Dataclass for CreateStackRefactorInput structure.""" - - description: str | None = ... - """A description to help you identify the stack refactor.""" - enable_stack_creation: bool | None = ... - """Determines if a new stack is created with the refactor.""" - resource_mappings: list[ResourceMapping] | None = ... - """ - The mappings for the stack resource `Source` and stack resource - `Destination`. - """ - stack_definitions: list[StackDefinition] | None = ... - """The stacks being refactored.""" - -@dataclass(kw_only=True) -class CreateStackRefactorOutput(_SerdeShape): - """Dataclass for CreateStackRefactorOutput structure.""" - - stack_refactor_id: str | None = ... - """ - The ID associated with the stack refactor created from the - CreateStackRefactor action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateStackSetInput(_SerdeShape): - """Dataclass for CreateStackSetInput structure.""" - - stack_set_name: str | None = ... - """ - The name to associate with the StackSet. The name must be unique in the - Region where you create your StackSet. - - Note: - A stack name can contain only alphanumeric characters (case-sensitive) - and hyphens. It must start with an alphabetic character and can't be - longer than 128 characters. - """ - description: str | None = ... - """ - A description of the StackSet. You can use the description to identify - the StackSet's purpose or other important information. - """ - template_body: str | None = ... - """ - The structure that contains the template body, with a minimum length of - 1 byte and a maximum length of 51,200 bytes. - - Conditional: You must specify either the `TemplateBody` or the - `TemplateURL` parameter, but not both. - """ - template_url: str | None = ... - """ - The URL of a file that contains the template body. The URL must point to - a template (maximum size: 1 MB) that's located in an Amazon S3 bucket - or a Systems Manager document. The location for an Amazon S3 bucket must - start with `https://`. S3 static website URLs are not supported. - - Conditional: You must specify either the `TemplateBody` or the - `TemplateURL` parameter, but not both. - """ - stack_id: str | None = ... - """ - The stack ID you are importing into a new StackSet. Specify the Amazon - Resource Name (ARN) of the stack. - """ - parameters: list[Parameter] | None = ... - """The input parameters for the StackSet template.""" - capabilities: list[str] | None = ... - """ - In some cases, you must explicitly acknowledge that your StackSet - template contains certain capabilities in order for CloudFormation to - create the StackSet and related stack instances. - - - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` - - Some stack templates might include resources that can affect - permissions in your Amazon Web Services account; for example, by - creating new IAM users. For those StackSets, you must explicitly - acknowledge this by specifying one of these capabilities. - - The following IAM resources require you to specify either the - `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. - - - If you have IAM resources, you can specify either capability. - - - If you have IAM resources with custom names, you *must* specify - `CAPABILITY_NAMED_IAM`. - - - If you don't specify either of these capabilities, CloudFormation - returns an `InsufficientCapabilities` error. - - If your stack template contains these resources, we recommend that you - review all permissions associated with them and edit their permissions - if necessary. - - - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) - - - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) - - - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) - - - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) - - - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) - - - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) - - - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) - - For more information, see [Acknowledging IAM resources in - CloudFormation - templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). - - - `CAPABILITY_AUTO_EXPAND` - - Some templates reference macros. If your StackSet template references - one or more macros, you must create the StackSet directly from the - processed template, without first reviewing the resulting changes in a - change set. To create the StackSet directly, you must acknowledge this - capability. For more information, see [Perform custom processing on - CloudFormation templates with template - macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). - - Warning: - StackSets with service-managed permissions don't currently support - the use of macros in templates. (This includes the - [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) - and - [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) - transforms, which are macros hosted by CloudFormation.) Even if you - specify this capability for a StackSet with service-managed - permissions, if you reference a macro in your template the StackSet - operation will fail. - """ - tags: list[Tag] | None = ... - """ - The key-value pairs to associate with this StackSet and the stacks - created from it. CloudFormation also propagates these tags to supported - resources that are created in the stacks. A maximum number of 50 tags - can be specified. - - If you specify tags as part of a `CreateStackSet` action, CloudFormation - checks to see if you have the required IAM permission to tag resources. - If you don't, the entire `CreateStackSet` action fails with an - `access denied` error, and the StackSet is not created. - """ - administration_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role to use to create this - StackSet. - - Specify an IAM role only if you are using customized administrator roles - to control which users or groups can manage specific StackSets within - the same administrator account. For more information, see [Grant - self-managed - permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html) - in the *CloudFormation User Guide*. - - Valid only if the permissions model is `SELF_MANAGED`. - """ - execution_role_name: str | None = ... - """ - The name of the IAM execution role to use to create the StackSet. If you - do not specify an execution role, CloudFormation uses the - `AWSCloudFormationStackSetExecutionRole` role for the StackSet - operation. - - Specify an IAM role only if you are using customized execution roles to - control which stack resources users and groups can include in their - StackSets. - - Valid only if the permissions model is `SELF_MANAGED`. - """ - permission_model: str | None = ... - """ - Describes how the IAM roles required for StackSet operations are - created. By default, `SELF-MANAGED` is specified. - - - With `self-managed` permissions, you must create the administrator and - execution roles required to deploy to target accounts. For more - information, see [Grant self-managed - permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html). - - - With `service-managed` permissions, StackSets automatically creates - the IAM roles required to deploy to accounts managed by Organizations. - For more information, see [Activate trusted access for StackSets with - Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html). - """ - auto_deployment: AutoDeployment | None = ... - """ - Describes whether StackSets automatically deploys to Organizations - accounts that are added to the target organization or organizational - unit (OU). For more information, see [Enable or disable automatic - deployments for StackSets in - Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html) - in the *CloudFormation User Guide*. - - Required if the permissions model is `SERVICE_MANAGED`. (Not used with - self-managed permissions.) - """ - call_as: str | None = ... - """ - Specifies whether you are acting as an account administrator in the - organization's management account or as a delegated administrator in a - member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - To create a StackSet with service-managed permissions while signed in - to the management account, specify `SELF`. - - - To create a StackSet with service-managed permissions while signed in - to a delegated administrator account, specify `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - admin in the management account. For more information, see [Register a - delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - - StackSets with service-managed permissions are created in the management - account, including StackSets that are created by delegated - administrators. - - Valid only if the permissions model is `SERVICE_MANAGED`. - """ - client_request_token: str | None = ... - """ - A unique identifier for this `CreateStackSet` request. Specify this - token if you plan to retry requests so that CloudFormation knows that - you're not attempting to create another StackSet with the same name. - You might retry `CreateStackSet` requests to ensure that CloudFormation - successfully received them. - - If you don't specify an operation ID, the SDK generates one - automatically. - """ - managed_execution: ManagedExecution | None = ... - """ - Describes whether CloudFormation performs non-conflicting operations - concurrently and queues conflicting operations. - """ - -@dataclass(kw_only=True) -class CreateStackSetOutput(_SerdeShape): - """Dataclass for CreateStackSetOutput structure.""" - - stack_set_id: str | None = ... - """The ID of the StackSet that you're creating.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeactivateOrganizationsAccessInput(_SerdeShape): - """Dataclass for DeactivateOrganizationsAccessInput structure.""" - -@dataclass(kw_only=True) -class DeactivateOrganizationsAccessOutput(_SerdeShape): - """Dataclass for DeactivateOrganizationsAccessOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeactivateTypeInput(_SerdeShape): - """Dataclass for DeactivateTypeInput structure.""" - - type_name: str | None = ... - """ - The type name of the extension in this account and Region. If you - specified a type name alias when enabling the extension, use the type - name alias. - - Conditional: You must specify either `Arn`, or `TypeName` and `Type`. - """ - type: str | None = ... - """ - The extension type. - - Conditional: You must specify either `Arn`, or `TypeName` and `Type`. - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the extension in this account and - Region. - - Conditional: You must specify either `Arn`, or `TypeName` and `Type`. - """ - -@dataclass(kw_only=True) -class DeactivateTypeOutput(_SerdeShape): - """Dataclass for DeactivateTypeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteChangeSetInput(_SerdeShape): - """The input for the DeleteChangeSet action.""" - - change_set_name: str | None = ... - """ - The name or Amazon Resource Name (ARN) of the change set that you want - to delete. - """ - stack_name: str | None = ... - """ - If you specified the name of a change set to delete, specify the stack - name or Amazon Resource Name (ARN) that's associated with it. - """ - -@dataclass(kw_only=True) -class DeleteChangeSetOutput(_SerdeShape): - """The output for the DeleteChangeSet action.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGeneratedTemplateInput(_SerdeShape): - """Dataclass for DeleteGeneratedTemplateInput structure.""" - - generated_template_name: str | None = ... - """The name or Amazon Resource Name (ARN) of a generated template.""" - -@dataclass(kw_only=True) -class DeleteGeneratedTemplateOutput(_SerdeShape): - """Dataclass for DeleteGeneratedTemplateOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteStackInput(_SerdeShape): - """The input for DeleteStack action.""" - - stack_name: str | None = ... - """The name or the unique stack ID that's associated with the stack.""" - retain_resources: list[str] | None = ... - """ - For stacks in the `DELETE_FAILED` state, a list of resource logical IDs - that are associated with the resources you want to retain. During - deletion, CloudFormation deletes the stack but doesn't delete the - retained resources. - - Retaining resources is useful when you can't delete a resource, such as - a non-empty S3 bucket, but you want to delete the stack. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role that CloudFormation - assumes to delete the stack. CloudFormation uses the role's credentials - to make calls on your behalf. - - If you don't specify a value, CloudFormation uses the role that was - previously associated with the stack. If no role is available, - CloudFormation uses a temporary session that's generated from your user - credentials. - """ - client_request_token: str | None = ... - """ - A unique identifier for this `DeleteStack` request. Specify this token - if you plan to retry requests so that CloudFormation knows that you're - not attempting to delete a stack with the same name. You might retry - `DeleteStack` requests to ensure that CloudFormation successfully - received them. - - All events initiated by a given stack operation are assigned the same - client request token, which you can use to track operations. For - example, if you execute a `CreateStack` operation with the token - `token1`, then all the `StackEvents` generated by that operation will - have `ClientRequestToken` set as `token1`. - - In the console, stack operations display the client request token on the - Events tab. Stack operations that are initiated from the console use the - token format *Console-StackOperation-ID*, which helps you easily - identify the stack operation . For example, if you create a stack using - the console, each stack event would be assigned the same token in the - following format: - `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. - """ - deletion_mode: str | None = ... - """ - Specifies the deletion mode for the stack. Possible values are: - - - `STANDARD` - Use the standard behavior. Specifying this value is the - same as not specifying this parameter. - - - `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a - `DELETE_FAILED` state due to resource deletion failure. - """ - deployment_config: DeploymentConfig | None = ... - """ - The deployment configuration for this stack operation, including the - deployment mode. - """ - -@dataclass(kw_only=True) -class DeleteStackInstancesInput(_SerdeShape): - """Dataclass for DeleteStackInstancesInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet that you want to delete stack - instances for. - """ - accounts: list[str] | None = ... - """ - [Self-managed permissions] The account IDs of the Amazon Web Services - accounts that you want to delete stack instances for. - - You can specify `Accounts` or `DeploymentTargets`, but not both. - """ - deployment_targets: DeploymentTargets | None = ... - """ - [Service-managed permissions] The Organizations accounts from which to - delete stack instances. - - You can specify `Accounts` or `DeploymentTargets`, but not both. - """ - regions: list[str] | None = ... - """ - The Amazon Web Services Regions where you want to delete StackSet - instances. - """ - operation_preferences: StackSetOperationPreferences | None = ... - """Preferences for how CloudFormation performs this StackSet operation.""" - retain_stacks: bool | None = ... - """ - Removes the stack instances from the specified StackSet, but doesn't - delete the stacks. You can't reassociate a retained stack or add an - existing, saved stack to a new stack set. - - For more information, see [StackSet operation - options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). - """ - operation_id: str | None = ... - """ - The unique identifier for this StackSet operation. - - If you don't specify an operation ID, the SDK generates one - automatically. - - The operation ID also functions as an idempotency token, to ensure that - CloudFormation performs the StackSet operation only once, even if you - retry the request multiple times. You can retry StackSet operation - requests to ensure that CloudFormation successfully received them. - - Repeating this StackSet operation with a new operation ID retries all - stack instances whose status is `OUTDATED`. - """ - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class DeleteStackInstancesOutput(_SerdeShape): - """Dataclass for DeleteStackInstancesOutput structure.""" - - operation_id: str | None = ... - """The unique identifier for this StackSet operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteStackOutput(_SerdeShape): - """Dataclass for DeleteStackOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteStackSetInput(_SerdeShape): - """Dataclass for DeleteStackSetInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet that you're deleting. You can - obtain this value by running ListStackSets. - """ - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class DeleteStackSetOutput(_SerdeShape): - """Dataclass for DeleteStackSetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DeletionMode(UnknownEnumMixin, StrEnum): - STANDARD = "STANDARD" - FORCE_DELETE_STACK = "FORCE_DELETE_STACK" - -@dataclass(kw_only=True) -class DeploymentConfig(_SerdeShape): - """ - The deployment configuration for a stack operation, including the - deployment mode. - """ - - mode: str | None = ... - """ - Specifies the deployment mode for the stack operation. Possible values - are: - - - `STANDARD` - Use the standard deployment behavior, ensuring resources - are ready to serve traffic before completing the operation. This is - the default. You do not need to specify this value explicitly. - - - `EXPRESS` - Complete the stack operation when resource configuration - is applied, without waiting for resources to become ready to serve - traffic. Resources continue becoming ready in the background. - """ - disable_rollback: bool | None = ... - """ - Specifies whether to disable rollback of the stack if the stack - operation fails. - - Default: `false` - """ - -class DeploymentConfigMode(UnknownEnumMixin, StrEnum): - STANDARD = "STANDARD" - EXPRESS = "EXPRESS" - -class DeploymentMode(UnknownEnumMixin, StrEnum): - REVERT_DRIFT = "REVERT_DRIFT" - -@dataclass(kw_only=True) -class DeploymentTargets(_SerdeShape): - """ - Specifies the Organizations accounts where you want to create, update, - or delete stack instances. You can target either your entire - organization or specific accounts using organizational units (OUs) and - account filter options. - - CloudFormation doesn't deploy stack instances to the organization - management account, even if the organization management account is in - your organization or in an OU in your organization. - - When performing create operations, if you specify both - `OrganizationalUnitIds` and `Accounts`, you must also specify the - `AccountFilterType` property. - """ - - accounts: list[str] | None = ... - """ - The Amazon Web Services account IDs where you want to perform stack - operations. How these accounts are used depends on the - `AccountFilterType` property. - - If you have many account numbers, you can provide those accounts using - the `AccountsUrl` property instead. - """ - accounts_url: str | None = ... - """ - The Amazon S3 URL path to a file that contains a list of Amazon Web - Services account IDs. The file format must be either `.csv` or `.txt`, - and the data can be comma-separated or new-line-separated. There is - currently a 10MB limit for the data (approximately 800,000 accounts). - - This property serves the same purpose as `Accounts` but allows you to - specify a large number of accounts. - """ - organizational_unit_ids: list[str] | None = ... - """ - The organization root ID or organizational unit (OU) IDs where you want - to perform stack operations. CloudFormation will perform operations on - accounts within these OUs and their child OUs. - """ - account_filter_type: str | None = ... - """ - Refines which accounts will have stack operations performed on them by - specifying how to use the `Accounts` and `OrganizationalUnitIds` - properties together. - - The following values determine how CloudFormation selects target - accounts: - - - `INTERSECTION`: Performs stack operations only on specific individual - accounts within the selected OUs. Only accounts that are both - specified in the `Accounts` property and belong to the specified OUs - will be targeted. - - - `DIFFERENCE`: Performs stack operations on all accounts in the - selected OUs except for specific accounts listed in the `Accounts` - property. This enables you to exclude certain accounts within an OU, - such as suspended accounts. - - - `UNION`: Performs stack operations on the specified OUs plus - additional individual accounts listed in the `Accounts` property. This - is the default value if `AccountFilterType` is not provided. This lets - you target an entire OU and individual accounts from a different OU in - one request. Note that `UNION` is not supported for - `CreateStackInstances` operations. - - - `NONE`: Performs stack operations on all accounts in the specified - organizational units (OUs). - """ - -class DeprecatedStatus(UnknownEnumMixin, StrEnum): - LIVE = "LIVE" - DEPRECATED = "DEPRECATED" - -@dataclass(kw_only=True) -class DeregisterTypeInput(_SerdeShape): - """Dataclass for DeregisterTypeInput structure.""" - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - type: str | None = ... - """ - The kind of extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - type_name: str | None = ... - """ - The name of the extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - version_id: str | None = ... - """ - The ID of a specific version of the extension. The version ID is the - value at the end of the Amazon Resource Name (ARN) assigned to the - extension version when it is registered. - """ - -@dataclass(kw_only=True) -class DeregisterTypeOutput(_SerdeShape): - """Dataclass for DeregisterTypeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAccountLimitsInput(_SerdeShape): - """The input for the DescribeAccountLimits action.""" - - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class DescribeAccountLimitsOutput(_SerdeShape): - """The output for the DescribeAccountLimits action.""" - - account_limits: list[AccountLimit] | None = ... - """ - An account limit structure that contain a list of CloudFormation account - limits and their values. - """ - next_token: str | None = ... - """ - If the output exceeds 1 MB in size, a string that identifies the next - page of limits. If no additional page exists, this value is null. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeChangeSetHooksInput(_SerdeShape): - """Dataclass for DescribeChangeSetHooksInput structure.""" - - change_set_name: str | None = ... - """ - The name or Amazon Resource Name (ARN) of the change set that you want - to describe. - """ - stack_name: str | None = ... - """ - If you specified the name of a change set, specify the stack name or - stack ID (ARN) of the change set you want to describe. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - logical_resource_id: str | None = ... - """ - If specified, lists only the Hooks related to the specified - `LogicalResourceId`. - """ - -@dataclass(kw_only=True) -class DescribeChangeSetHooksOutput(_SerdeShape): - """Dataclass for DescribeChangeSetHooksOutput structure.""" - - change_set_id: str | None = ... - """The change set identifier (stack ID).""" - change_set_name: str | None = ... - """The change set name.""" - hooks: list[ChangeSetHook] | None = ... - """List of Hook objects.""" - status: str | None = ... - """Provides the status of the change set Hook.""" - next_token: str | None = ... - """Pagination token, `null` or empty if no more results.""" - stack_id: str | None = ... - """The stack identifier (stack ID).""" - stack_name: str | None = ... - """The stack name.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeChangeSetInput(_SerdeShape): - """The input for the DescribeChangeSet action.""" - - change_set_name: str | None = ... - """ - The name or Amazon Resource Name (ARN) of the change set that you want - to describe. - """ - stack_name: str | None = ... - """ - If you specified the name of a change set, specify the stack name or ID - (ARN) of the change set you want to describe. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - include_property_values: bool | None = ... - """ - If `true`, the returned changes include detailed changes in the property - values. - """ - -@dataclass(kw_only=True) -class DescribeChangeSetOutput(_SerdeShape): - """The output for the DescribeChangeSet action.""" - - change_set_name: str | None = ... - """The name of the change set.""" - change_set_id: str | None = ... - """The Amazon Resource Name (ARN) of the change set.""" - stack_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the stack that's associated with the - change set. - """ - stack_name: str | None = ... - """The name of the stack that's associated with the change set.""" - description: str | None = ... - """Information about the change set.""" - parameters: list[Parameter] | None = ... - """ - A list of `Parameter` structures that describes the input parameters and - their values used to create the change set. For more information, see - the - [Parameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html) - data type. - """ - creation_time: datetime | None = ... - """The start time when the change set was created, in UTC.""" - execution_status: str | None = ... - """ - If the change set execution status is `AVAILABLE`, you can execute the - change set. If you can't execute the change set, the status indicates - why. For example, a change set might be in an `UNAVAILABLE` state - because CloudFormation is still creating it or in an `OBSOLETE` state - because the stack was already updated. - """ - status: str | None = ... - """ - The current status of the change set, such as `CREATE_PENDING`, - `CREATE_COMPLETE`, or `FAILED`. - """ - status_reason: str | None = ... - """ - A description of the change set's status. For example, if your attempt - to create a change set failed, CloudFormation shows the error message. - """ - stack_drift_status: str | None = ... - """ - The drift status of the stack when the change set was created. Valid - values: - - - `DRIFTED` -- The stack has drifted from its last deployment. - - - `IN_SYNC` -- The stack is in sync with its last deployment. - - - `NOT_CHECKED` -- CloudFormation doesn't currently return this value. - - - `UNKNOWN` -- The drift status could not be determined. - - Only present for drift-aware change sets. - """ - notification_ar_ns: list[str] | None = ... - """ - The ARNs of the Amazon SNS topics that will be associated with the stack - if you execute the change set. - """ - rollback_configuration: RollbackConfiguration | None = ... - """ - The rollback triggers for CloudFormation to monitor during stack - creation and updating operations, and for the specified monitoring - period afterwards. - """ - capabilities: list[str] | None = ... - """ - If you execute the change set, the list of capabilities that were - explicitly acknowledged when the change set was created. - """ - tags: list[Tag] | None = ... - """ - If you execute the change set, the tags that will be associated with the - stack. - """ - changes: list[Change] | None = ... - """ - A list of `Change` structures that describes the resources - CloudFormation changes if you execute the change set. - """ - next_token: str | None = ... - """ - If the output exceeds 1 MB, a string that identifies the next page of - changes. If there is no additional page, this value is null. - """ - include_nested_stacks: bool | None = ... - """Verifies if `IncludeNestedStacks` is set to `True`.""" - parent_change_set_id: str | None = ... - """ - Specifies the change set ID of the parent change set in the current - nested change set hierarchy. - """ - root_change_set_id: str | None = ... - """ - Specifies the change set ID of the root change set in the current nested - change set hierarchy. - """ - on_stack_failure: str | None = ... - """ - Determines what action will be taken if stack creation fails. When this - parameter is specified, the `DisableRollback` parameter to the - [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) - API operation must not be specified. This must be one of these values: - - - `DELETE` - Deletes the change set if the stack creation fails. This is - only valid when the `ChangeSetType` parameter is set to `CREATE`. If - the deletion of the stack fails, the status of the stack is - `DELETE_FAILED`. - - - `DO_NOTHING` - if the stack creation fails, do nothing. This is - equivalent to specifying `true` for the `DisableRollback` parameter to - the - [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) - API operation. - - - `ROLLBACK` - if the stack creation fails, roll back the stack. This is - equivalent to specifying `false` for the `DisableRollback` parameter - to the - [ExecuteChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html) - API operation. - """ - import_existing_resources: bool | None = ... - """ - Indicates if the change set imports resources that already exist. - - Note: - This parameter can only import resources that have [custom - names](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html) - in templates. To import resources that do not accept custom names, such - as EC2 instances, use the [resource - import](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html) - feature instead. - """ - deployment_mode: str | None = ... - """ - The deployment mode specified when the change set was created. Valid - value is `REVERT_DRIFT`. Only present for drift-aware change sets. - """ - deployment_config: DeploymentConfig | None = ... - """The deployment configuration specified when the change set was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeEventsInput(_SerdeShape): - """Dataclass for DescribeEventsInput structure.""" - - stack_name: str | None = ... - """ - The name or unique stack ID for which you want to retrieve events. If - you specified the name of a change set, specify the stack name or ID - (ARN) of the change set you want to describe. - """ - change_set_name: str | None = ... - """ - The name or Amazon Resource Name (ARN) of the change set for which you - want to retrieve events. - """ - operation_id: str | None = ... - """ - The unique identifier of the operation for which you want to retrieve - events. - """ - filters: EventFilter | None = ... - """Filters to apply when retrieving events.""" - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class DescribeEventsOutput(_SerdeShape): - """Dataclass for DescribeEventsOutput structure.""" - - operation_events: list[OperationEvent] | None = ... - """A list of operation events that match the specified criteria.""" - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call - `DescribeEvents` again and assign that token to the request object's - `NextToken` parameter. If the request returns all results, `NextToken` - is set to `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeGeneratedTemplateInput(_SerdeShape): - """Dataclass for DescribeGeneratedTemplateInput structure.""" - - generated_template_name: str | None = ... - """The name or Amazon Resource Name (ARN) of a generated template.""" - -@dataclass(kw_only=True) -class DescribeGeneratedTemplateOutput(_SerdeShape): - """Dataclass for DescribeGeneratedTemplateOutput structure.""" - - generated_template_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the generated template. The format is - `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. - For example, - `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:generatedtemplate/`*`2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc`*` `. - """ - generated_template_name: str | None = ... - """The name of the generated template.""" - resources: list[ResourceDetail] | None = ... - """ - A list of objects describing the details of the resources in the - template generation. - """ - status: str | None = ... - """ - The status of the template generation. Supported values are: - - - `CreatePending` - the creation of the template is pending. - - - `CreateInProgress` - the creation of the template is in progress. - - - `DeletePending` - the deletion of the template is pending. - - - `DeleteInProgress` - the deletion of the template is in progress. - - - `UpdatePending` - the update of the template is pending. - - - `UpdateInProgress` - the update of the template is in progress. - - - `Failed` - the template operation failed. - - - `Complete` - the template operation is complete. - """ - status_reason: str | None = ... - """ - The reason for the current template generation status. This will provide - more details if a failure happened. - """ - creation_time: datetime | None = ... - """The time the generated template was created.""" - last_updated_time: datetime | None = ... - """The time the generated template was last updated.""" - progress: TemplateProgress | None = ... - """An object describing the progress of the template generation.""" - stack_id: str | None = ... - """ - The stack ARN of the base stack if a base stack was provided when - generating the template. - """ - template_configuration: TemplateConfiguration | None = ... - """ - The configuration details of the generated template, including the - `DeletionPolicy` and `UpdateReplacePolicy`. - """ - total_warnings: int | None = ... - """ - The number of warnings generated for this template. The warnings are - found in the details of each of the resources in the template. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeOrganizationsAccessInput(_SerdeShape): - """Dataclass for DescribeOrganizationsAccessInput structure.""" - - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class DescribeOrganizationsAccessOutput(_SerdeShape): - """Dataclass for DescribeOrganizationsAccessOutput structure.""" - - status: str | None = ... - """Presents the status of the `OrganizationAccess`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribePublisherInput(_SerdeShape): - """Dataclass for DescribePublisherInput structure.""" - - publisher_id: str | None = ... - """ - The ID of the extension publisher. - - If you don't supply a `PublisherId`, and you have registered as an - extension publisher, `DescribePublisher` returns information about your - own publisher account. - """ - -@dataclass(kw_only=True) -class DescribePublisherOutput(_SerdeShape): - """Dataclass for DescribePublisherOutput structure.""" - - publisher_id: str | None = ... - """The ID of the extension publisher.""" - publisher_status: str | None = ... - """ - Whether the publisher is verified. Currently, all registered publishers - are verified. - """ - identity_provider: str | None = ... - """ - The type of account used as the identity provider when registering this - publisher with CloudFormation. - """ - publisher_profile: str | None = ... - """The URL to the publisher's profile with the identity provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeResourceScanInput(_SerdeShape): - """Dataclass for DescribeResourceScanInput structure.""" - - resource_scan_id: str | None = ... - """The Amazon Resource Name (ARN) of the resource scan.""" - -@dataclass(kw_only=True) -class DescribeResourceScanOutput(_SerdeShape): - """Dataclass for DescribeResourceScanOutput structure.""" - - resource_scan_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource scan. The format is - `arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}`. - An example is - `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:resourceScan/`*`f5b490f7-7ed4-428a-aa06-31ff25db0772`*` `. - """ - status: str | None = ... - """ - Status of the resource scan. - - IN_PROGRESS - - : The resource scan is still in progress. - - COMPLETE - - : The resource scan is complete. - - EXPIRED - - : The resource scan has expired. - - FAILED - - : The resource scan has failed. - """ - status_reason: str | None = ... - """ - The reason for the resource scan status, providing more information if a - failure happened. - """ - start_time: datetime | None = ... - """The time that the resource scan was started.""" - end_time: datetime | None = ... - """The time that the resource scan was finished.""" - percentage_completed: float | None = ... - """The percentage of the resource scan that has been completed.""" - resource_types: list[str] | None = ... - """ - The list of resource types for the specified scan. Resource types are - only available for scans with a `Status` set to `COMPLETE` or `FAILED `. - """ - resources_scanned: int | None = ... - """ - The number of resources that were listed. This is only available for - scans with a `Status` set to `COMPLETE`, `EXPIRED`, or `FAILED `. - """ - resources_read: int | None = ... - """ - The number of resources that were read. This is only available for scans - with a `Status` set to `COMPLETE`, `EXPIRED`, or `FAILED`. - - Note: - This field may be 0 if the resource scan failed with a - `ResourceScanLimitExceededException`. - """ - scan_filters: list[ScanFilter] | None = ... - """The scan filters that were used.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStackDriftDetectionStatusInput(_SerdeShape): - """Dataclass for DescribeStackDriftDetectionStatusInput structure.""" - - stack_drift_detection_id: str | None = ... - """ - The ID of the drift detection results of this operation. - - CloudFormation generates new results, with a new drift detection ID, - each time this operation is run. However, the number of drift results - CloudFormation retains for any given stack, and for how long, may vary. - """ - -@dataclass(kw_only=True) -class DescribeStackDriftDetectionStatusOutput(_SerdeShape): - """Dataclass for DescribeStackDriftDetectionStatusOutput structure.""" - - stack_id: str | None = ... - """The ID of the stack.""" - stack_drift_detection_id: str | None = ... - """ - The ID of the drift detection results of this operation. - - CloudFormation generates new results, with a new drift detection ID, - each time this operation is run. However, the number of reports - CloudFormation retains for any given stack, and for how long, may vary. - """ - stack_drift_status: str | None = ... - """ - Status of the stack's actual configuration compared to its expected - configuration. - - - `DRIFTED`: The stack differs from its expected template configuration. - A stack is considered to have drifted if one or more of its resources - have drifted. - - - `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs - from its expected template configuration. - - - `IN_SYNC`: The stack's actual configuration matches its expected - template configuration. - - - `UNKNOWN`: CloudFormation could not run drift detection for a resource - in the stack. See the `DetectionStatusReason` for details. - """ - detection_status: str | None = ... - """ - The status of the stack drift detection operation. - - - `DETECTION_COMPLETE`: The stack drift detection operation has - successfully completed for all resources in the stack that support - drift detection. (Resources that don't currently support stack - detection remain unchecked.) - - If you specified logical resource IDs for CloudFormation to use as a - filter for the stack drift detection operation, only the resources - with those logical IDs are checked for drift. - - - `DETECTION_FAILED`: The stack drift detection operation has failed for - at least one resource in the stack. Results will be available for - resources on which CloudFormation successfully completed drift - detection. - - - `DETECTION_IN_PROGRESS`: The stack drift detection operation is - currently in progress. - """ - detection_status_reason: str | None = ... - """The reason the stack drift detection operation has its current status.""" - drifted_stack_resource_count: int | None = ... - """ - Total number of stack resources that have drifted. This is NULL until - the drift detection operation reaches a status of `DETECTION_COMPLETE`. - This value will be 0 for stacks whose drift status is `IN_SYNC`. - """ - timestamp: datetime | None = ... - """Time at which the stack drift detection operation was initiated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStackEventsInput(_SerdeShape): - """The input for DescribeStackEvents action.""" - - stack_name: str | None = ... - """ - The name or the unique stack ID that's associated with the stack, which - aren't always interchangeable: - - - Running stacks: You can specify either the stack's name or its unique - stack ID. - - - Deleted stacks: You must specify the unique stack ID. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class DescribeStackEventsOutput(_SerdeShape): - """The output for a DescribeStackEvents action.""" - - stack_events: list[StackEvent] | None = ... - """A list of `StackEvents` structures.""" - next_token: str | None = ... - """ - If the output exceeds 1 MB in size, a string that identifies the next - page of events. If no additional page exists, this value is null. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStackInstanceInput(_SerdeShape): - """Dataclass for DescribeStackInstanceInput structure.""" - - stack_set_name: str | None = ... - """ - The name or the unique stack ID of the StackSet that you want to get - stack instance information for. - """ - stack_instance_account: str | None = ... - """ - The ID of an Amazon Web Services account that's associated with this - stack instance. - """ - stack_instance_region: str | None = ... - """The name of a Region that's associated with this stack instance.""" - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class DescribeStackInstanceOutput(_SerdeShape): - """Dataclass for DescribeStackInstanceOutput structure.""" - - stack_instance: StackInstance | None = ... - """The stack instance that matches the specified request parameters.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStackRefactorInput(_SerdeShape): - """Dataclass for DescribeStackRefactorInput structure.""" - - stack_refactor_id: str | None = ... - """ - The ID associated with the stack refactor created from the - CreateStackRefactor action. - """ - -@dataclass(kw_only=True) -class DescribeStackRefactorOutput(_SerdeShape): - """Dataclass for DescribeStackRefactorOutput structure.""" - - description: str | None = ... - """A description to help you identify the refactor.""" - stack_refactor_id: str | None = ... - """ - The ID associated with the stack refactor created from the - CreateStackRefactor action. - """ - stack_ids: list[str] | None = ... - """The unique ID for each stack.""" - execution_status: str | None = ... - """ - The stack refactor execution operation status that's provided after - calling the ExecuteStackRefactor action. - """ - execution_status_reason: str | None = ... - """A detailed explanation for the stack refactor `ExecutionStatus`.""" - status: str | None = ... - """ - The stack refactor operation status that's provided after calling the - CreateStackRefactor action. - """ - status_reason: str | None = ... - """A detailed explanation for the stack refactor operation `Status`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStackResourceDriftsInput(_SerdeShape): - """Dataclass for DescribeStackResourceDriftsInput structure.""" - - stack_name: str | None = ... - """The name of the stack for which you want drift information.""" - stack_resource_drift_status_filters: list[str] | None = ... - """ - The resource drift status values to use as filters for the resource - drift results returned. - - - `DELETED`: The resource differs from its expected template - configuration in that the resource has been deleted. - - - `MODIFIED`: One or more resource properties differ from their expected - template values. - - - `IN_SYNC`: The resource's actual configuration matches its expected - template configuration. - - - `NOT_CHECKED`: CloudFormation doesn't currently return this value. - - - `UNKNOWN`: CloudFormation could not run drift detection for the - resource. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - -@dataclass(kw_only=True) -class DescribeStackResourceDriftsOutput(_SerdeShape): - """Dataclass for DescribeStackResourceDriftsOutput structure.""" - - stack_resource_drifts: list[StackResourceDrift] | None = ... - """ - Drift information for the resources that have been checked for drift in - the specified stack. This includes actual and expected configuration - values for resources where CloudFormation detects drift. - - For a given stack, there will be one `StackResourceDrift` for each stack - resource that has been checked for drift. Resources that haven't yet - been checked for drift aren't included. Resources that do not currently - support drift detection aren't checked, and so not included. For a list - of resources that support drift detection, see [Resource type support - for imports and drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html). - """ - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call - `DescribeStackResourceDrifts` again and assign that token to the request - object's `NextToken` parameter. If the request returns all results, - `NextToken` is set to `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStackResourceInput(_SerdeShape): - """The input for DescribeStackResource action.""" - - stack_name: str | None = ... - """ - The name or the unique stack ID that's associated with the stack, which - aren't always interchangeable: - - - Running stacks: You can specify either the stack's name or its unique - stack ID. - - - Deleted stacks: You must specify the unique stack ID. - """ - logical_resource_id: str | None = ... - """The logical name of the resource as specified in the template.""" - -@dataclass(kw_only=True) -class DescribeStackResourceOutput(_SerdeShape): - """The output for a DescribeStackResource action.""" - - stack_resource_detail: StackResourceDetail | None = ... - """ - A `StackResourceDetail` structure that contains the description of the - specified resource in the specified stack. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStackResourcesInput(_SerdeShape): - """The input for DescribeStackResources action.""" - - stack_name: str | None = ... - """ - The name or the unique stack ID that is associated with the stack, which - aren't always interchangeable: - - - Running stacks: You can specify either the stack's name or its unique - stack ID. - - - Deleted stacks: You must specify the unique stack ID. - - Required: Conditional. If you don't specify `StackName`, you must - specify `PhysicalResourceId`. - """ - logical_resource_id: str | None = ... - """The logical name of the resource as specified in the template.""" - physical_resource_id: str | None = ... - """ - The name or unique identifier that corresponds to a physical instance ID - of a resource supported by CloudFormation. - - For example, for an Amazon Elastic Compute Cloud (EC2) instance, - `PhysicalResourceId` corresponds to the `InstanceId`. You can pass the - EC2 `InstanceId` to `DescribeStackResources` to find which stack the - instance belongs to and what other resources are part of the stack. - - Required: Conditional. If you don't specify `PhysicalResourceId`, you - must specify `StackName`. - """ - -@dataclass(kw_only=True) -class DescribeStackResourcesOutput(_SerdeShape): - """The output for a DescribeStackResources action.""" - - stack_resources: list[StackResource] | None = ... - """A list of `StackResource` structures.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStackSetInput(_SerdeShape): - """Dataclass for DescribeStackSetInput structure.""" - - stack_set_name: str | None = ... - """The name or unique ID of the StackSet whose description you want.""" - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class DescribeStackSetOperationInput(_SerdeShape): - """Dataclass for DescribeStackSetOperationInput structure.""" - - stack_set_name: str | None = ... - """The name or the unique stack ID of the StackSet for the stack operation.""" - operation_id: str | None = ... - """The unique ID of the StackSet operation.""" - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class DescribeStackSetOperationOutput(_SerdeShape): - """Dataclass for DescribeStackSetOperationOutput structure.""" - - stack_set_operation: StackSetOperation | None = ... - """The specified StackSet operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStackSetOutput(_SerdeShape): - """Dataclass for DescribeStackSetOutput structure.""" - - stack_set: StackSet | None = ... - """The specified StackSet.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStacksInput(_SerdeShape): - """The input for DescribeStacks action.""" - - stack_name: str | None = ... - """ - Note: - If you don't pass a parameter to `StackName`, the API returns a - response that describes all resources in the account, which can impact - performance. This requires `ListStacks` and `DescribeStacks` - permissions. - - Consider using the ListStacks API if you're not passing a parameter to - `StackName`. - - The IAM policy below can be added to IAM policies when you want to limit - resource-level permissions and avoid returning a response when no - parameter is sent in the request: - - { \"Version\": \"2012-10-17\", \"Statement\": [{ \"Effect\": \"Deny\", - \"Action\": \"cloudformation:DescribeStacks\", \"NotResource\": - \"arn:aws:cloudformation:*:*:stack/*/*\" }] } - - The name or the unique stack ID that's associated with the stack, which - aren't always interchangeable: - - - Running stacks: You can specify either the stack's name or its unique - stack ID. - - - Deleted stacks: You must specify the unique stack ID. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class DescribeStacksOutput(_SerdeShape): - """The output for a DescribeStacks action.""" - - stacks: list[Stack] | None = ... - """A list of stack structures.""" - next_token: str | None = ... - """ - If the output exceeds 1 MB in size, a string that identifies the next - page of stacks. If no additional page exists, this value is null. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTypeInput(_SerdeShape): - """Dataclass for DescribeTypeInput structure.""" - - type: str | None = ... - """ - The kind of extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - type_name: str | None = ... - """ - The name of the extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - version_id: str | None = ... - """ - The ID of a specific version of the extension. The version ID is the - value at the end of the Amazon Resource Name (ARN) assigned to the - extension version when it is registered. - - If you specify a `VersionId`, `DescribeType` returns information about - that specific extension version. Otherwise, it returns information about - the default extension version. - """ - publisher_id: str | None = ... - """ - The publisher ID of the extension publisher. - - Extensions provided by Amazon Web Services are not assigned a publisher - ID. - """ - public_version_number: str | None = ... - """The version number of a public third-party extension.""" - -@dataclass(kw_only=True) -class DescribeTypeOutput(_SerdeShape): - """Dataclass for DescribeTypeOutput structure.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the extension.""" - type: str | None = ... - """The kind of extension.""" - type_name: str | None = ... - """ - The name of the extension. - - If the extension is a public third-party type you have activated with a - type name alias, CloudFormation returns the type name alias. For more - information, see - [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html). - """ - default_version_id: str | None = ... - """ - The ID of the default version of the extension. The default version is - used when the extension version isn't specified. - - This applies only to private extensions you have registered in your - account. For public extensions, both those provided by Amazon Web - Services and published by third parties, CloudFormation returns `null`. - For more information, see - [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). - - To set the default version of an extension, use SetTypeDefaultVersion. - """ - is_default_version: bool | None = ... - """ - Whether the specified extension version is set as the default version. - - This applies only to private extensions you have registered in your - account, and extensions published by Amazon Web Services. For public - third-party extensions, whether they are activated in your account, - CloudFormation returns `null`. - """ - type_tests_status: str | None = ... - """ - The contract test status of the registered extension version. To return - the extension test status of a specific extension version, you must - specify `VersionId`. - - This applies only to registered private extension versions. - CloudFormation doesn't return this information for public extensions, - whether they are activated in your account. - - - `PASSED`: The extension has passed all its contract tests. - - An extension must have a test status of `PASSED` before it can be - published. For more information, see [Publishing extensions to make - them available for public - use](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html) - in the *CloudFormation Command Line Interface (CLI) User Guide*. - - - `FAILED`: The extension has failed one or more contract tests. - - - `IN_PROGRESS`: Contract tests are currently being performed on the - extension. - - - `NOT_TESTED`: Contract tests haven't been performed on the extension. - """ - type_tests_status_description: str | None = ... - """ - The description of the test status. To return the extension test status - of a specific extension version, you must specify `VersionId`. - - This applies only to registered private extension versions. - CloudFormation doesn't return this information for public extensions, - whether they are activated in your account. - """ - description: str | None = ... - """The description of the extension.""" - schema: str | None = ... - """ - The schema that defines the extension. - - For more information, see [Resource type - schema](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html) - in the *CloudFormation Command Line Interface (CLI) User Guide* and the - [CloudFormation Hooks User - Guide](https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/what-is-cloudformation-hooks.html). - """ - provisioning_type: str | None = ... - """ - For resource type extensions, the provisioning behavior of the resource - type. CloudFormation determines the provisioning type during - registration, based on the types of handlers in the schema handler - package submitted. - - Valid values include: - - - `FULLY_MUTABLE`: The resource type includes an update handler to - process updates to the type during stack update operations. - - - `IMMUTABLE`: The resource type doesn't include an update handler, so - the type can't be updated and must instead be replaced during stack - update operations. - - - `NON_PROVISIONABLE`: The resource type doesn't include all the - following handlers, and therefore can't actually be provisioned. - - - create - - - read - - - delete - """ - deprecated_status: str | None = ... - """ - The deprecation status of the extension version. - - Valid values include: - - - `LIVE`: The extension is activated or registered and can be used in - CloudFormation operations, dependent on its provisioning behavior and - visibility scope. - - - `DEPRECATED`: The extension has been deactivated or deregistered and - can no longer be used in CloudFormation operations. - - For public third-party extensions, CloudFormation returns `null`. - """ - logging_config: LoggingConfig | None = ... - """ - Contains logging configuration information for private extensions. This - applies only to private extensions you have registered in your account. - For public extensions, both those provided by Amazon Web Services and - published by third parties, CloudFormation returns `null`. For more - information, see - [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). - """ - required_activated_types: list[RequiredActivatedType] | None = ... - """ - For extensions that are modules, the public third-party extensions that - must be activated in your account in order for the module itself to be - activated. - """ - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM execution role used to - register the extension. This applies only to private extensions you have - registered in your account. For more information, see - [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). - - If the registered extension calls any Amazon Web Services APIs, you must - create an *[IAM execution - role](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html)* - that includes the necessary permissions to call those Amazon Web - Services APIs, and provision that execution role in your account. - CloudFormation then assumes that execution role to provide your - extension with the appropriate credentials. - """ - visibility: str | None = ... - """ - The scope at which the extension is visible and usable in CloudFormation - operations. - - Valid values include: - - - `PRIVATE`: The extension is only visible and usable within the account - in which it is registered. CloudFormation marks any extensions you - register as `PRIVATE`. - - - `PUBLIC`: The extension is publicly visible and usable within any - Amazon Web Services account. - """ - source_url: str | None = ... - """The URL of the source code for the extension.""" - documentation_url: str | None = ... - """The URL of a page providing detailed documentation for this extension.""" - last_updated: datetime | None = ... - """ - When the specified extension version was registered. This applies only - to: - - - Private extensions you have registered in your account. For more - information, see - [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). - - - Public extensions you have activated in your account with auto-update - specified. For more information, see - [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html). - """ - time_created: datetime | None = ... - """ - When the specified private extension version was registered or activated - in your account. - """ - configuration_schema: str | None = ... - """ - A JSON string that represent the current configuration data for the - extension in this account and Region. - - To set the configuration data for an extension, use - [SetTypeConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html). - """ - publisher_id: str | None = ... - """ - The publisher ID of the extension publisher. - - This applies only to public third-party extensions. For private - registered extensions, and extensions provided by Amazon Web Services, - CloudFormation returns `null`. - """ - original_type_name: str | None = ... - """ - For public extensions that have been activated for this account and - Region, the type name of the public extension. - - If you specified a `TypeNameAlias` when enabling the extension in this - account and Region, CloudFormation treats that alias as the extension's - type name within the account and Region, not the type name of the public - extension. For more information, see [Use aliases to refer to - extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias) - in the *CloudFormation User Guide*. - """ - original_type_arn: str | None = ... - """ - For public extensions that have been activated for this account and - Region, the Amazon Resource Name (ARN) of the public extension. - """ - public_version_number: str | None = ... - """ - The version number of a public third-party extension. - - This applies only if you specify a public extension you have activated - in your account, or specify a public extension without specifying a - version. For all other extensions, CloudFormation returns `null`. - """ - latest_public_version: str | None = ... - """ - The latest version of a public extension *that is available* for use. - - This only applies if you specify a public extension, and you don't - specify a version. For all other requests, CloudFormation returns - `null`. - """ - is_activated: bool | None = ... - """ - Whether the extension is activated in the account and Region. - - This only applies to public third-party extensions. For all other - extensions, CloudFormation returns `null`. - """ - auto_update: bool | None = ... - """ - Whether CloudFormation automatically updates the extension in this - account and Region when a new *minor* version is published by the - extension publisher. Major versions released by the publisher must be - manually updated. For more information, see [Automatically use new - versions of - extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto) - in the *CloudFormation User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTypeRegistrationInput(_SerdeShape): - """Dataclass for DescribeTypeRegistrationInput structure.""" - - registration_token: str | None = ... - """ - The identifier for this registration request. - - This registration token is generated by CloudFormation when you initiate - a registration request using RegisterType. - """ - -@dataclass(kw_only=True) -class DescribeTypeRegistrationOutput(_SerdeShape): - """Dataclass for DescribeTypeRegistrationOutput structure.""" - - progress_status: str | None = ... - """The current status of the extension registration request.""" - description: str | None = ... - """The description of the extension registration request.""" - type_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the extension being registered. - - For registration requests with a `ProgressStatus` of other than - `COMPLETE`, this will be `null`. - """ - type_version_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of this specific version of the extension - being registered. - - For registration requests with a `ProgressStatus` of other than - `COMPLETE`, this will be `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DetailedStatus(UnknownEnumMixin, StrEnum): - CONFIGURATION_COMPLETE = "CONFIGURATION_COMPLETE" - VALIDATION_FAILED = "VALIDATION_FAILED" - -@dataclass(kw_only=True) -class DetectStackDriftInput(_SerdeShape): - """Dataclass for DetectStackDriftInput structure.""" - - stack_name: str | None = ... - """The name of the stack for which you want to detect drift.""" - logical_resource_ids: list[str] | None = ... - """The logical names of any resources you want to use as filters.""" - -@dataclass(kw_only=True) -class DetectStackDriftOutput(_SerdeShape): - """Dataclass for DetectStackDriftOutput structure.""" - - stack_drift_detection_id: str | None = ... - """ - The ID of the drift detection results of this operation. - - CloudFormation generates new results, with a new drift detection ID, - each time this operation is run. However, the number of drift results - CloudFormation retains for any given stack, and for how long, may vary. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetectStackResourceDriftInput(_SerdeShape): - """Dataclass for DetectStackResourceDriftInput structure.""" - - stack_name: str | None = ... - """The name of the stack to which the resource belongs.""" - logical_resource_id: str | None = ... - """The logical name of the resource for which to return drift information.""" - -@dataclass(kw_only=True) -class DetectStackResourceDriftOutput(_SerdeShape): - """Dataclass for DetectStackResourceDriftOutput structure.""" - - stack_resource_drift: StackResourceDrift | None = ... - """ - Information about whether the resource's actual configuration has - drifted from its expected template configuration, including actual and - expected property values and any differences detected. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetectStackSetDriftInput(_SerdeShape): - """Dataclass for DetectStackSetDriftInput structure.""" - - stack_set_name: str | None = ... - """ - The name of the StackSet on which to perform the drift detection - operation. - """ - operation_preferences: StackSetOperationPreferences | None = ... - """ - The user-specified preferences for how CloudFormation performs a - StackSet operation. - - For more information about maximum concurrent accounts and failure - tolerance, see [StackSet operation - options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). - """ - operation_id: str | None = ... - """*The ID of the StackSet operation.*""" - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class DetectStackSetDriftOutput(_SerdeShape): - """Dataclass for DetectStackSetDriftOutput structure.""" - - operation_id: str | None = ... - """ - The ID of the drift detection StackSet operation. - - You can use this operation ID with DescribeStackSetOperation to monitor - the progress of the drift detection operation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DifferenceType(UnknownEnumMixin, StrEnum): - ADD = "ADD" - REMOVE = "REMOVE" - NOT_EQUAL = "NOT_EQUAL" - -class DriftIgnoredReason(UnknownEnumMixin, StrEnum): - MANAGED_BY_AWS = "MANAGED_BY_AWS" - WRITE_ONLY_PROPERTY = "WRITE_ONLY_PROPERTY" - SENSITIVE_PROPERTY = "SENSITIVE_PROPERTY" - -@dataclass(kw_only=True) -class EstimateTemplateCostInput(_SerdeShape): - """The input for an EstimateTemplateCost action.""" - - template_body: str | None = ... - """ - Structure that contains the template body with a minimum length of 1 - byte and a maximum length of 51,200 bytes. - - Conditional: You must pass `TemplateBody` or `TemplateURL`. If both are - passed, only `TemplateBody` is used. - """ - template_url: str | None = ... - """ - The URL of a file that contains the template body. The URL must point to - a template that's located in an Amazon S3 bucket or a Systems Manager - document. The location for an Amazon S3 bucket must start with - `https://`. URLs from S3 static websites are not supported. - - Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are - passed, only `TemplateBody` is used. - """ - parameters: list[Parameter] | None = ... - """A list of `Parameter` structures that specify input parameters.""" - -@dataclass(kw_only=True) -class EstimateTemplateCostOutput(_SerdeShape): - """The output for a EstimateTemplateCost action.""" - - url: str | None = ... - """ - An Amazon Web Services Simple Monthly Calculator URL with a query string - that describes the resources required to run the template. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class EvaluationType(UnknownEnumMixin, StrEnum): - STATIC = "Static" - DYNAMIC = "Dynamic" - -@dataclass(kw_only=True) -class EventFilter(_SerdeShape): - """Event filter allows you to focus on specific events in an operation.""" - - failed_events: bool | None = ... - """ - When set to true, only returns failed events within the operation. This - helps quickly identify root causes for a failed operation. - """ - -class EventType(UnknownEnumMixin, StrEnum): - STACK_EVENT = "STACK_EVENT" - PROGRESS_EVENT = "PROGRESS_EVENT" - VALIDATION_ERROR = "VALIDATION_ERROR" - PROVISIONING_ERROR = "PROVISIONING_ERROR" - HOOK_INVOCATION_ERROR = "HOOK_INVOCATION_ERROR" - -@dataclass(kw_only=True) -class ExecuteChangeSetInput(_SerdeShape): - """The input for the ExecuteChangeSet action.""" - - change_set_name: str | None = ... - """ - The name or Amazon Resource Name (ARN) of the change set that you want - use to update the specified stack. - """ - stack_name: str | None = ... - """ - If you specified the name of a change set, specify the stack name or - Amazon Resource Name (ARN) that's associated with the change set you - want to execute. - """ - client_request_token: str | None = ... - """ - A unique identifier for this `ExecuteChangeSet` request. Specify this - token if you plan to retry requests so that CloudFormation knows that - you're not attempting to execute a change set to update a stack with - the same name. You might retry `ExecuteChangeSet` requests to ensure - that CloudFormation successfully received them. - """ - disable_rollback: bool | None = ... - """ - Preserves the state of previously provisioned resources when an - operation fails. This parameter can't be specified when the - `OnStackFailure` parameter to the - [CreateChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html) - API operation was specified. - - - `True` - if the stack creation fails, do nothing. This is equivalent - to specifying `DO_NOTHING` for the `OnStackFailure` parameter to the - [CreateChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html) - API operation. - - - `False` - if the stack creation fails, roll back the stack. This is - equivalent to specifying `ROLLBACK` for the `OnStackFailure` parameter - to the - [CreateChangeSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html) - API operation. - - Default: `True` - """ - retain_except_on_create: bool | None = ... - """ - When set to `true`, newly created resources are deleted when the - operation rolls back. This includes newly created resources marked with - a deletion policy of `Retain`. - - Default: `false` - """ - -@dataclass(kw_only=True) -class ExecuteChangeSetOutput(_SerdeShape): - """The output for the ExecuteChangeSet action.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExecuteStackRefactorInput(_SerdeShape): - """Dataclass for ExecuteStackRefactorInput structure.""" - - stack_refactor_id: str | None = ... - """ - The ID associated with the stack refactor created from the - CreateStackRefactor action. - """ - -@dataclass(kw_only=True) -class ExecuteStackRefactorOutput(_SerdeShape): - """Dataclass for ExecuteStackRefactorOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ExecutionStatus(UnknownEnumMixin, StrEnum): - UNAVAILABLE = "UNAVAILABLE" - AVAILABLE = "AVAILABLE" - EXECUTE_IN_PROGRESS = "EXECUTE_IN_PROGRESS" - EXECUTE_COMPLETE = "EXECUTE_COMPLETE" - EXECUTE_FAILED = "EXECUTE_FAILED" - OBSOLETE = "OBSOLETE" - -@dataclass(kw_only=True) -class Export(_SerdeShape): - """ - The `Export` structure describes the exported output values for a stack. - - For more information, see [Get exported outputs from a deployed - CloudFormation - stack](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html). - """ - - exporting_stack_id: str | None = ... - """The stack that contains the exported output name and value.""" - name: str | None = ... - """ - The name of exported output value. Use this name and the - `Fn::ImportValue` function to import the associated value into other - stacks. The name is defined in the `Export` field in the associated - stack's `Outputs` section. - """ - value: str | None = ... - """ - The value of the exported output, such as a resource physical ID. This - value is defined in the `Export` field in the associated stack's - `Outputs` section. - """ - -class GeneratedTemplateDeletionPolicy(UnknownEnumMixin, StrEnum): - DELETE = "DELETE" - RETAIN = "RETAIN" - -@dataclass(kw_only=True) -class GeneratedTemplateNotFoundException(ServiceError, _SerdeShape): - """The generated template was not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class GeneratedTemplateResourceStatus(UnknownEnumMixin, StrEnum): - PENDING = "PENDING" - IN_PROGRESS = "IN_PROGRESS" - FAILED = "FAILED" - COMPLETE = "COMPLETE" - -class GeneratedTemplateStatus(UnknownEnumMixin, StrEnum): - CREATE_PENDING = "CREATE_PENDING" - UPDATE_PENDING = "UPDATE_PENDING" - DELETE_PENDING = "DELETE_PENDING" - CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" - UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - FAILED = "FAILED" - COMPLETE = "COMPLETE" - -class GeneratedTemplateUpdateReplacePolicy(UnknownEnumMixin, StrEnum): - DELETE = "DELETE" - RETAIN = "RETAIN" - -@dataclass(kw_only=True) -class GetGeneratedTemplateInput(_SerdeShape): - """Dataclass for GetGeneratedTemplateInput structure.""" - - format: str | None = ... - """ - The language to use to retrieve for the generated template. Supported - values are: - - - `JSON` - - - `YAML` - """ - generated_template_name: str | None = ... - """ - The name or Amazon Resource Name (ARN) of the generated template. The - format is - `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. - For example, - `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:generatedtemplate/`*`2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc`*` `. - """ - -@dataclass(kw_only=True) -class GetGeneratedTemplateOutput(_SerdeShape): - """Dataclass for GetGeneratedTemplateOutput structure.""" - - status: str | None = ... - """ - The status of the template generation. Supported values are: - - - `CreatePending` - the creation of the template is pending. - - - `CreateInProgress` - the creation of the template is in progress. - - - `DeletePending` - the deletion of the template is pending. - - - `DeleteInProgress` - the deletion of the template is in progress. - - - `UpdatePending` - the update of the template is pending. - - - `UpdateInProgress` - the update of the template is in progress. - - - `Failed` - the template operation failed. - - - `Complete` - the template operation is complete. - """ - template_body: str | None = ... - """ - The template body of the generated template, in the language specified - by the `Language` parameter. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetHookResultInput(_SerdeShape): - """Dataclass for GetHookResultInput structure.""" - - hook_result_id: str | None = ... - """ - The unique identifier (ID) of the Hook invocation result that you want - details about. You can get the ID from the - [ListHookResults](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListHookResults.html) - operation. - """ - -@dataclass(kw_only=True) -class GetHookResultOutput(_SerdeShape): - """Dataclass for GetHookResultOutput structure.""" - - hook_result_id: str | None = ... - """The unique identifier of the Hook result.""" - invocation_point: str | None = ... - """ - The specific point in the provisioning process where the Hook is - invoked. - """ - failure_mode: str | None = ... - """The failure mode of the invocation.""" - type_name: str | None = ... - """The name of the Hook that was invoked.""" - original_type_name: str | None = ... - """ - The original public type name of the Hook when an alias is used. - - For example, if you activate `AWS::Hooks::GuardHook` with alias - `MyCompany::Custom::GuardHook`, then `TypeName` will be - `MyCompany::Custom::GuardHook` and `OriginalTypeName` will be - `AWS::Hooks::GuardHook`. - """ - type_version_id: str | None = ... - """The version identifier of the Hook that was invoked.""" - type_configuration_version_id: str | None = ... - """ - The version identifier of the Hook configuration data that was used - during invocation. - """ - type_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Hook.""" - status: str | None = ... - """ - The status of the Hook invocation. The following statuses are possible: - - - `HOOK_IN_PROGRESS`: The Hook is currently running. - - - `HOOK_COMPLETE_SUCCEEDED`: The Hook completed successfully. - - - `HOOK_COMPLETE_FAILED`: The Hook completed but failed validation. - - - `HOOK_FAILED`: The Hook encountered an error during execution. - """ - hook_status_reason: str | None = ... - """ - A message that provides additional details about the Hook invocation - status. - """ - invoked_at: datetime | None = ... - """The timestamp when the Hook was invoked.""" - target: HookTarget | None = ... - """Information about the target of the Hook invocation.""" - annotations: list[Annotation] | None = ... - """ - A list of objects with additional information and guidance that can help - you resolve a failed Hook invocation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetStackPolicyInput(_SerdeShape): - """The input for the GetStackPolicy action.""" - - stack_name: str | None = ... - """ - The name or unique stack ID that's associated with the stack whose - policy you want to get. - """ - -@dataclass(kw_only=True) -class GetStackPolicyOutput(_SerdeShape): - """The output for the GetStackPolicy action.""" - - stack_policy_body: str | None = ... - """ - Structure that contains the stack policy body. For more information, see - [Prevent updates to stack - resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html) - in the *CloudFormation User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTemplateInput(_SerdeShape): - """The input for a GetTemplate action.""" - - stack_name: str | None = ... - """ - The name or the unique stack ID that's associated with the stack, which - aren't always interchangeable: - - - Running stacks: You can specify either the stack's name or its unique - stack ID. - - - Deleted stacks: You must specify the unique stack ID. - """ - change_set_name: str | None = ... - """ - The name or Amazon Resource Name (ARN) of a change set for which - CloudFormation returns the associated template. If you specify a name, - you must also specify the `StackName`. - """ - template_stage: str | None = ... - """ - For templates that include transforms, the stage of the template that - CloudFormation returns. To get the user-submitted template, specify - `Original`. To get the template after CloudFormation has processed all - transforms, specify `Processed`. - - If the template doesn't include transforms, `Original` and `Processed` - return the same template. By default, CloudFormation specifies - `Processed`. - """ - -@dataclass(kw_only=True) -class GetTemplateOutput(_SerdeShape): - """The output for GetTemplate action.""" - - template_body: str | None = ... - """ - Structure that contains the template body. - - CloudFormation returns the same template that was used when the stack - was created. - """ - stages_available: list[str] | None = ... - """ - The stage of the template that you can retrieve. For stacks, the - `Original` and `Processed` templates are always available. For change - sets, the `Original` template is always available. After CloudFormation - finishes creating the change set, the `Processed` template becomes - available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTemplateSummaryInput(_SerdeShape): - """The input for the GetTemplateSummary action.""" - - template_body: str | None = ... - """ - Structure that contains the template body with a minimum length of 1 - byte and a maximum length of 51,200 bytes. - - Conditional: You must specify only one of the following parameters: - `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. - """ - template_url: str | None = ... - """ - The URL of a file that contains the template body. The URL must point to - a template (max size: 1 MB) that's located in an Amazon S3 bucket or a - Systems Manager document. The location for an Amazon S3 bucket must - start with `https://`. - - Conditional: You must specify only one of the following parameters: - `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. - """ - stack_name: str | None = ... - """ - The name or the stack ID that's associated with the stack, which - aren't always interchangeable. For running stacks, you can specify - either the stack's name or its unique stack ID. For deleted stack, you - must specify the unique stack ID. - - Conditional: You must specify only one of the following parameters: - `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. - """ - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet from which the stack was created. - - Conditional: You must specify only one of the following parameters: - `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. - """ - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - template_summary_config: TemplateSummaryConfig | None = ... - """Specifies options for the `GetTemplateSummary` API action.""" - -@dataclass(kw_only=True) -class GetTemplateSummaryOutput(_SerdeShape): - """The output for the GetTemplateSummary action.""" - - parameters: list[ParameterDeclaration] | None = ... - """ - A list of parameter declarations that describe various properties for - each parameter. - """ - description: str | None = ... - """The value that's defined in the `Description` property of the template.""" - capabilities: list[str] | None = ... - """ - The capabilities found within the template. If your template contains - IAM resources, you must specify the `CAPABILITY_IAM` or - `CAPABILITY_NAMED_IAM` value for this parameter when you use the - CreateStack or UpdateStack actions with your template; otherwise, those - actions return an `InsufficientCapabilities` error. - - For more information, see [Acknowledging IAM resources in CloudFormation - templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). - """ - capabilities_reason: str | None = ... - """ - The list of resources that generated the values in the `Capabilities` - response element. - """ - resource_types: list[str] | None = ... - """ - A list of all the template resource types that are defined in the - template, such as `AWS::EC2::Instance`, `AWS::Dynamo::Table`, and - `Custom::MyCustomInstance`. - """ - version: str | None = ... - """ - The Amazon Web Services template format version, which identifies the - capabilities of the template. - """ - metadata: str | None = ... - """The value that's defined for the `Metadata` property of the template.""" - declared_transforms: list[str] | None = ... - """A list of the transforms that are declared in the template.""" - resource_identifier_summaries: list[ResourceIdentifierSummary] | None = ... - """ - A list of resource identifier summaries that describe the target - resources of an import operation and the properties you can provide - during the import to identify the target resources. For example, - `BucketName` is a possible identifier property for an `AWS::S3::Bucket` - resource. - """ - warnings: Warnings | None = ... - """An object that contains any warnings returned.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class HandlerErrorCode(UnknownEnumMixin, StrEnum): - NOT_UPDATABLE = "NotUpdatable" - INVALID_REQUEST = "InvalidRequest" - ACCESS_DENIED = "AccessDenied" - INVALID_CREDENTIALS = "InvalidCredentials" - ALREADY_EXISTS = "AlreadyExists" - NOT_FOUND = "NotFound" - RESOURCE_CONFLICT = "ResourceConflict" - THROTTLING = "Throttling" - SERVICE_LIMIT_EXCEEDED = "ServiceLimitExceeded" - SERVICE_TIMEOUT = "NotStabilized" - GENERAL_SERVICE_EXCEPTION = "GeneralServiceException" - SERVICE_INTERNAL_ERROR = "ServiceInternalError" - NETWORK_FAILURE = "NetworkFailure" - INTERNAL_FAILURE = "InternalFailure" - INVALID_TYPE_CONFIGURATION = "InvalidTypeConfiguration" - HANDLER_INTERNAL_FAILURE = "HandlerInternalFailure" - NON_COMPLIANT = "NonCompliant" - UNKNOWN = "Unknown" - UNSUPPORTED_TARGET = "UnsupportedTarget" - -class HookFailureMode(UnknownEnumMixin, StrEnum): - FAIL = "FAIL" - WARN = "WARN" - -class HookInvocationPoint(UnknownEnumMixin, StrEnum): - PRE_PROVISION = "PRE_PROVISION" - -@dataclass(kw_only=True) -class HookResultNotFoundException(ServiceError, _SerdeShape): - """The specified target doesn't have any requested Hook invocations.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class HookResultSummary(_SerdeShape): - """A `ListHookResults` call returns a summary of a Hook invocation.""" - - hook_result_id: str | None = ... - """The unique identifier for this Hook invocation result.""" - invocation_point: str | None = ... - """ - The specific point in the provisioning process where the Hook is - invoked. - """ - failure_mode: str | None = ... - """The failure mode of the invocation.""" - type_name: str | None = ... - """The name of the Hook that was invoked.""" - type_version_id: str | None = ... - """The version of the Hook that was invoked.""" - type_configuration_version_id: str | None = ... - """The version of the Hook configuration.""" - status: str | None = ... - """ - The status of the Hook invocation. The following statuses are possible: - - - `HOOK_IN_PROGRESS`: The Hook is currently running. - - - `HOOK_COMPLETE_SUCCEEDED`: The Hook completed successfully. - - - `HOOK_COMPLETE_FAILED`: The Hook completed but failed validation. - - - `HOOK_FAILED`: The Hook encountered an error during execution. - """ - hook_status_reason: str | None = ... - """ - A description of the Hook results status. For example, if the Hook - result is in a failed state, this may contain additional information for - the failed state. - """ - invoked_at: datetime | None = ... - """ - The timestamp when the Hook was invoked. - - Only shown in responses when the request does not specify `TargetType` - and `TargetId` filters. - """ - target_type: str | None = ... - """The target type that the Hook was invoked against.""" - target_id: str | None = ... - """The unique identifier of the Hook invocation target.""" - type_arn: str | None = ... - """The ARN of the Hook that was invoked.""" - hook_execution_target: str | None = ... - """ - The Amazon Resource Name (ARN) of the target stack or request token of - the Cloud Control API operation. - - Only shown in responses when the request does not specify `TargetType` - and `TargetId` filters. - """ - -class HookStatus(UnknownEnumMixin, StrEnum): - HOOK_IN_PROGRESS = "HOOK_IN_PROGRESS" - HOOK_COMPLETE_SUCCEEDED = "HOOK_COMPLETE_SUCCEEDED" - HOOK_COMPLETE_FAILED = "HOOK_COMPLETE_FAILED" - HOOK_FAILED = "HOOK_FAILED" - -@dataclass(kw_only=True) -class HookTarget(_SerdeShape): - """The `HookTarget` data type.""" - - target_type: str | None = ... - """The target type.""" - target_type_name: str | None = ... - """The target name, for example, `AWS::S3::Bucket`.""" - target_id: str | None = ... - """The unique identifier of the Hook invocation target.""" - action: str | None = ... - """The action that invoked the Hook.""" - -class HookTargetAction(UnknownEnumMixin, StrEnum): - CREATE = "CREATE" - UPDATE = "UPDATE" - DELETE = "DELETE" - IMPORT_ = "IMPORT" - -class HookTargetType(UnknownEnumMixin, StrEnum): - RESOURCE = "RESOURCE" - -class IdentityProvider(UnknownEnumMixin, StrEnum): - AWS_MARKETPLACE = "AWS_Marketplace" - GIT_HUB = "GitHub" - BITBUCKET = "Bitbucket" - -@dataclass(kw_only=True) -class ImportStacksToStackSetInput(_SerdeShape): - """Dataclass for ImportStacksToStackSetInput structure.""" - - stack_set_name: str | None = ... - """ - The name of the StackSet. The name must be unique in the Region where - you create your StackSet. - """ - stack_ids: list[str] | None = ... - """ - The IDs of the stacks you are importing into a StackSet. You import up - to 10 stacks per StackSet at a time. - - Specify either `StackIds` or `StackIdsUrl`. - """ - stack_ids_url: str | None = ... - """ - The Amazon S3 URL which contains list of stack ids to be inputted. - - Specify either `StackIds` or `StackIdsUrl`. - """ - organizational_unit_ids: list[str] | None = ... - """ - The list of OU ID's to which the imported stacks must be mapped as - deployment targets. - """ - operation_preferences: StackSetOperationPreferences | None = ... - """ - The user-specified preferences for how CloudFormation performs a - StackSet operation. - - For more information about maximum concurrent accounts and failure - tolerance, see [StackSet operation - options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). - """ - operation_id: str | None = ... - """A unique, user defined, identifier for the StackSet operation.""" - call_as: str | None = ... - """ - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - For service managed StackSets, specify `DELEGATED_ADMIN`. - """ - -@dataclass(kw_only=True) -class ImportStacksToStackSetOutput(_SerdeShape): - """Dataclass for ImportStacksToStackSetOutput structure.""" - - operation_id: str | None = ... - """The unique identifier for the StackSet operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsufficientCapabilitiesException(ServiceError, _SerdeShape): - """ - The template contains resources with capabilities that weren't - specified in the Capabilities parameter. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidChangeSetStatusException(ServiceError, _SerdeShape): - """ - The specified change set can't be used to update the stack. For - example, the change set status might be `CREATE_IN_PROGRESS`, or the - stack status might be `UPDATE_IN_PROGRESS`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidOperationException(ServiceError, _SerdeShape): - """The specified operation isn't valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidStateTransitionException(ServiceError, _SerdeShape): - """ - Error reserved for use by the [CloudFormation - CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). - CloudFormation doesn't return this error to users. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LimitExceededException(ServiceError, _SerdeShape): - """ - The quota for the resource has already been reached. - - For information about resource and stack limitations, see - [CloudFormation - quotas](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) - in the *CloudFormation User Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListChangeSetsInput(_SerdeShape): - """The input for the ListChangeSets action.""" - - stack_name: str | None = ... - """ - The name or the Amazon Resource Name (ARN) of the stack for which you - want to list change sets. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class ListChangeSetsOutput(_SerdeShape): - """The output for the ListChangeSets action.""" - - summaries: list[ChangeSetSummary] | None = ... - """ - A list of `ChangeSetSummary` structures that provides the ID and status - of each change set for the specified stack. - """ - next_token: str | None = ... - """ - If the output exceeds 1 MB, a string that identifies the next page of - change sets. If there is no additional page, this value is `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListExportsInput(_SerdeShape): - """Dataclass for ListExportsInput structure.""" - - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class ListExportsOutput(_SerdeShape): - """Dataclass for ListExportsOutput structure.""" - - exports: list[Export] | None = ... - """The output for the ListExports action.""" - next_token: str | None = ... - """ - If the output exceeds 100 exported output values, a string that - identifies the next page of exports. If there is no additional page, - this value is null. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGeneratedTemplatesInput(_SerdeShape): - """Dataclass for ListGeneratedTemplatesInput structure.""" - - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - If the number of available results exceeds this maximum, the response - includes a `NextToken` value that you can use for the `NextToken` - parameter to get the next set of results. By default the - `ListGeneratedTemplates` API action will return at most 50 results in - each response. The maximum value is 100. - """ - -@dataclass(kw_only=True) -class ListGeneratedTemplatesOutput(_SerdeShape): - """Dataclass for ListGeneratedTemplatesOutput structure.""" - - summaries: list[TemplateSummary] | None = ... - """A list of summaries of the generated templates.""" - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call - `ListGeneratedTemplates` again and use that value for the `NextToken` - parameter. If the request returns all results, `NextToken` is set to an - empty string. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListHookResultsInput(_SerdeShape): - """Dataclass for ListHookResultsInput structure.""" - - target_type: str | None = ... - """ - Filters results by target type. Currently, only `CHANGE_SET` and - `CLOUD_CONTROL` are supported filter options. - - Required when `TargetId` is specified and cannot be used otherwise. - """ - target_id: str | None = ... - """ - Filters results by the unique identifier of the target the Hook was - invoked against. - - For change sets, this is the change set ARN. When the target is a Cloud - Control API operation, this value must be the `HookRequestToken` - returned by the Cloud Control API request. For more information on the - `HookRequestToken`, see - [ProgressEvent](https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html). - - Required when `TargetType` is specified and cannot be used otherwise. - """ - type_arn: str | None = ... - """ - Filters results by the ARN of the Hook. Can be used alone or in - combination with `Status`. - """ - status: str | None = ... - """ - Filters results by the status of Hook invocations. Can only be used in - combination with `TypeArn`. Valid values are: - - - `HOOK_IN_PROGRESS`: The Hook is currently running. - - - `HOOK_COMPLETE_SUCCEEDED`: The Hook completed successfully. - - - `HOOK_COMPLETE_FAILED`: The Hook completed but failed validation. - - - `HOOK_FAILED`: The Hook encountered an error during execution. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class ListHookResultsOutput(_SerdeShape): - """Dataclass for ListHookResultsOutput structure.""" - - target_type: str | None = ... - """The target type.""" - target_id: str | None = ... - """The unique identifier of the Hook invocation target.""" - hook_results: list[HookResultSummary] | None = ... - """ - A list of `HookResultSummary` structures that provides the status and - Hook status reason for each Hook invocation for the specified target. - """ - next_token: str | None = ... - """Pagination token, `null` or empty if no more results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ListHookResultsTargetType(UnknownEnumMixin, StrEnum): - CHANGE_SET = "CHANGE_SET" - STACK = "STACK" - RESOURCE = "RESOURCE" - CLOUD_CONTROL = "CLOUD_CONTROL" - -@dataclass(kw_only=True) -class ListImportsInput(_SerdeShape): - """Dataclass for ListImportsInput structure.""" - - export_name: str | None = ... - """ - The name of the exported output value. CloudFormation returns the stack - names that are importing this value. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class ListImportsOutput(_SerdeShape): - """Dataclass for ListImportsOutput structure.""" - - imports: list[str] | None = ... - """ - A list of stack names that are importing the specified exported output - value. - """ - next_token: str | None = ... - """ - A string that identifies the next page of exports. If there is no - additional page, this value is null. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListResourceScanRelatedResourcesInput(_SerdeShape): - """Dataclass for ListResourceScanRelatedResourcesInput structure.""" - - resource_scan_id: str | None = ... - """The Amazon Resource Name (ARN) of the resource scan.""" - resources: list[ScannedResourceIdentifier] | None = ... - """ - The list of resources for which you want to get the related resources. - Up to 100 resources can be provided. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - If the number of available results exceeds this maximum, the response - includes a `NextToken` value that you can use for the `NextToken` - parameter to get the next set of results. By default the - `ListResourceScanRelatedResources` API action will return up to 100 - results in each response. The maximum value is 100. - """ - -@dataclass(kw_only=True) -class ListResourceScanRelatedResourcesOutput(_SerdeShape): - """Dataclass for ListResourceScanRelatedResourcesOutput structure.""" - - related_resources: list[ScannedResource] | None = ... - """ - List of up to `MaxResults` resources in the specified resource scan - related to the specified resources. - """ - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call - `ListResourceScanRelatedResources` again and use that value for the - `NextToken` parameter. If the request returns all results, `NextToken` - is set to an empty string. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListResourceScanResourcesInput(_SerdeShape): - """Dataclass for ListResourceScanResourcesInput structure.""" - - resource_scan_id: str | None = ... - """The Amazon Resource Name (ARN) of the resource scan.""" - resource_identifier: str | None = ... - """ - If specified, the returned resources will have the specified resource - identifier (or one of them in the case where the resource has multiple - identifiers). - """ - resource_type_prefix: str | None = ... - """ - If specified, the returned resources will be of any of the resource - types with the specified prefix. - """ - tag_key: str | None = ... - """If specified, the returned resources will have a matching tag key.""" - tag_value: str | None = ... - """If specified, the returned resources will have a matching tag value.""" - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - If the number of available results exceeds this maximum, the response - includes a `NextToken` value that you can use for the `NextToken` - parameter to get the next set of results. By default the - `ListResourceScanResources` API action will return at most 100 results - in each response. The maximum value is 100. - """ - -@dataclass(kw_only=True) -class ListResourceScanResourcesOutput(_SerdeShape): - """Dataclass for ListResourceScanResourcesOutput structure.""" - - resources: list[ScannedResource] | None = ... - """ - List of up to `MaxResults` resources in the specified resource scan that - match all of the specified filters. - """ - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call - `ListResourceScanResources` again and use that value for the `NextToken` - parameter. If the request returns all results, `NextToken` is set to an - empty string. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListResourceScansInput(_SerdeShape): - """Dataclass for ListResourceScansInput structure.""" - - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - If the number of available results exceeds this maximum, the response - includes a `NextToken` value that you can use for the `NextToken` - parameter to get the next set of results. The default value is 10. The - maximum value is 100. - """ - scan_type_filter: str | None = ... - """ - The scan type that you want to get summary information about. The - default is `FULL`. - """ - -@dataclass(kw_only=True) -class ListResourceScansOutput(_SerdeShape): - """Dataclass for ListResourceScansOutput structure.""" - - resource_scan_summaries: list[ResourceScanSummary] | None = ... - """The list of scans returned.""" - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call - `ListResourceScans` again and use that value for the `NextToken` - parameter. If the request returns all results, `NextToken` is set to an - empty string. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStackInstanceResourceDriftsInput(_SerdeShape): - """Dataclass for ListStackInstanceResourceDriftsInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet that you want to list drifted - resources for. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - stack_instance_resource_drift_statuses: list[str] | None = ... - """ - The resource drift status of the stack instance. - - - `DELETED`: The resource differs from its expected template - configuration in that the resource has been deleted. - - - `MODIFIED`: One or more resource properties differ from their expected - template values. - - - `IN_SYNC`: The resource's actual configuration matches its expected - template configuration. - - - `NOT_CHECKED`: CloudFormation doesn't currently return this value. - """ - stack_instance_account: str | None = ... - """ - The name of the Amazon Web Services account that you want to list - resource drifts for. - """ - stack_instance_region: str | None = ... - """The name of the Region where you want to list resource drifts.""" - operation_id: str | None = ... - """The unique ID of the drift operation.""" - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class ListStackInstanceResourceDriftsOutput(_SerdeShape): - """Dataclass for ListStackInstanceResourceDriftsOutput structure.""" - - summaries: list[StackInstanceResourceDriftsSummary] | None = ... - """ - A list of `StackInstanceResourceDriftsSummary` structures that contain - information about the specified stack instances. - """ - next_token: str | None = ... - """ - If the previous paginated request didn't return all of the remaining - results, the response object's `NextToken` parameter value is set to a - token. To retrieve the next set of results, call this action again and - assign that token to the request object's `NextToken` parameter. If - there are no remaining results, the previous response object's - `NextToken` parameter is set to `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStackInstancesInput(_SerdeShape): - """Dataclass for ListStackInstancesInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet that you want to list stack - instances for. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - filters: list[StackInstanceFilter] | None = ... - """The filter to apply to stack instances""" - stack_instance_account: str | None = ... - """ - The name of the Amazon Web Services account that you want to list stack - instances for. - """ - stack_instance_region: str | None = ... - """The name of the Region where you want to list stack instances.""" - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class ListStackInstancesOutput(_SerdeShape): - """Dataclass for ListStackInstancesOutput structure.""" - - summaries: list[StackInstanceSummary] | None = ... - """ - A list of `StackInstanceSummary` structures that contain information - about the specified stack instances. - """ - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call - `ListStackInstances` again and assign that token to the request - object's `NextToken` parameter. If the request returns all results, - `NextToken` is set to `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStackRefactorActionsInput(_SerdeShape): - """Dataclass for ListStackRefactorActionsInput structure.""" - - stack_refactor_id: str | None = ... - """ - The ID associated with the stack refactor created from the - CreateStackRefactor action. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - -@dataclass(kw_only=True) -class ListStackRefactorActionsOutput(_SerdeShape): - """Dataclass for ListStackRefactorActionsOutput structure.""" - - stack_refactor_actions: list[StackRefactorAction] | None = ... - """The stack refactor actions.""" - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call this action - again and assign that token to the request object's `NextToken` - parameter. If the request returns all results, `NextToken` is set to - `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStackRefactorsInput(_SerdeShape): - """Dataclass for ListStackRefactorsInput structure.""" - - execution_status_filter: list[str] | None = ... - """ - Execution status to use as a filter. Specify one or more execution - status codes to list only stack refactors with the specified execution - status codes. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - -@dataclass(kw_only=True) -class ListStackRefactorsOutput(_SerdeShape): - """Dataclass for ListStackRefactorsOutput structure.""" - - stack_refactor_summaries: list[StackRefactorSummary] | None = ... - """ - Provides a summary of a stack refactor, including the following: - - - `StackRefactorId` - - - `Status` - - - `StatusReason` - - - `ExecutionStatus` - - - `ExecutionStatusReason` - - - `Description` - """ - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call this action - again and assign that token to the request object's `NextToken` - parameter. If the request returns all results, `NextToken` is set to - `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStackResourcesInput(_SerdeShape): - """The input for the ListStackResource action.""" - - stack_name: str | None = ... - """ - The name or the unique stack ID that is associated with the stack, which - aren't always interchangeable: - - - Running stacks: You can specify either the stack's name or its unique - stack ID. - - - Deleted stacks: You must specify the unique stack ID. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class ListStackResourcesOutput(_SerdeShape): - """The output for a ListStackResources action.""" - - stack_resource_summaries: list[StackResourceSummary] | None = ... - """A list of `StackResourceSummary` structures.""" - next_token: str | None = ... - """ - If the output exceeds 1 MB, a string that identifies the next page of - stack resources. If no additional page exists, this value is null. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStackSetAutoDeploymentTargetsInput(_SerdeShape): - """Dataclass for ListStackSetAutoDeploymentTargetsInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet that you want to get automatic - deployment targets for. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - call_as: str | None = ... - """ - Specifies whether you are acting as an account administrator in the - organization's management account or as a delegated administrator in a - member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class ListStackSetAutoDeploymentTargetsOutput(_SerdeShape): - """Dataclass for ListStackSetAutoDeploymentTargetsOutput structure.""" - - summaries: list[StackSetAutoDeploymentTargetSummary] | None = ... - """An array of summaries of the deployment targets for the StackSet.""" - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call - [ListStackSetAutoDeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStackSetAutoDeploymentTargets.html) - again and use that value for the `NextToken` parameter. If the request - returns all results, `NextToken` is set to an empty string. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStackSetOperationResultsInput(_SerdeShape): - """Dataclass for ListStackSetOperationResultsInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet that you want to get operation - results for. - """ - operation_id: str | None = ... - """The ID of the StackSet operation.""" - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - filters: list[OperationResultFilter] | None = ... - """The filter to apply to operation results.""" - -@dataclass(kw_only=True) -class ListStackSetOperationResultsOutput(_SerdeShape): - """Dataclass for ListStackSetOperationResultsOutput structure.""" - - summaries: list[StackSetOperationResultSummary] | None = ... - """ - A list of `StackSetOperationResultSummary` structures that contain - information about the specified operation results, for accounts and - Amazon Web Services Regions that are included in the operation. - """ - next_token: str | None = ... - """ - If the request doesn't return all results, `NextToken` is set to a - token. To retrieve the next set of results, call `ListOperationResults` - again and assign that token to the request object's `NextToken` - parameter. If there are no remaining results, `NextToken` is set to - `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStackSetOperationsInput(_SerdeShape): - """Dataclass for ListStackSetOperationsInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet that you want to get operation - summaries for. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class ListStackSetOperationsOutput(_SerdeShape): - """Dataclass for ListStackSetOperationsOutput structure.""" - - summaries: list[StackSetOperationSummary] | None = ... - """ - A list of `StackSetOperationSummary` structures that contain summary - information about operations for the specified StackSet. - """ - next_token: str | None = ... - """ - If the request doesn't return all results, `NextToken` is set to a - token. To retrieve the next set of results, call `ListOperationResults` - again and assign that token to the request object's `NextToken` - parameter. If there are no remaining results, `NextToken` is set to - `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStackSetsInput(_SerdeShape): - """Dataclass for ListStackSetsInput structure.""" - - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - status: str | None = ... - """ - The status of the StackSets that you want to get summary information - about. - """ - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the management account or as a delegated - administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class ListStackSetsOutput(_SerdeShape): - """Dataclass for ListStackSetsOutput structure.""" - - summaries: list[StackSetSummary] | None = ... - """ - A list of `StackSetSummary` structures that contain information about - the user's StackSets. - """ - next_token: str | None = ... - """ - If the request doesn't return all of the remaining results, `NextToken` - is set to a token. To retrieve the next set of results, call - `ListStackInstances` again and assign that token to the request - object's `NextToken` parameter. If the request returns all results, - `NextToken` is set to `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStacksInput(_SerdeShape): - """The input for ListStacks action.""" - - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - stack_status_filter: list[str] | None = ... - """ - Stack status to use as a filter. Specify one or more stack status codes - to list only stacks with the specified status codes. For a complete list - of stack status codes, see the `StackStatus` parameter of the Stack data - type. - """ - -@dataclass(kw_only=True) -class ListStacksOutput(_SerdeShape): - """The output for ListStacks action.""" - - stack_summaries: list[StackSummary] | None = ... - """ - A list of `StackSummary` structures that contains information about the - specified stacks. - """ - next_token: str | None = ... - """ - If the output exceeds 1 MB in size, a string that identifies the next - page of stacks. If no additional page exists, this value is null. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTypeRegistrationsInput(_SerdeShape): - """Dataclass for ListTypeRegistrationsInput structure.""" - - type: str | None = ... - """ - The kind of extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - type_name: str | None = ... - """ - The name of the extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - type_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - registration_status_filter: str | None = ... - """ - The current status of the extension registration request. - - The default is `IN_PROGRESS`. - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class ListTypeRegistrationsOutput(_SerdeShape): - """Dataclass for ListTypeRegistrationsOutput structure.""" - - registration_token_list: list[str] | None = ... - """ - A list of extension registration tokens. - - Use DescribeTypeRegistration to return detailed information about a type - registration request. - """ - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call this action - again and assign that token to the request object's `NextToken` - parameter. If the request returns all results, `NextToken` is set to - `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTypesInput(_SerdeShape): - """Dataclass for ListTypesInput structure.""" - - visibility: str | None = ... - """ - The scope at which the extensions are visible and usable in - CloudFormation operations. - - Valid values include: - - - `PRIVATE`: Extensions that are visible and usable within this account - and Region. This includes: - - - Private extensions you have registered in this account and Region. - - - Public extensions that you have activated in this account and - Region. - - - `PUBLIC`: Extensions that are publicly visible and available to be - activated within any Amazon Web Services account. This includes - extensions from Amazon Web Services and third-party publishers. - - The default is `PRIVATE`. - """ - provisioning_type: str | None = ... - """ - For resource types, the provisioning behavior of the resource type. - CloudFormation determines the provisioning type during registration, - based on the types of handlers in the schema handler package submitted. - - Valid values include: - - - `FULLY_MUTABLE`: The resource type includes an update handler to - process updates to the type during stack update operations. - - - `IMMUTABLE`: The resource type doesn't include an update handler, so - the type can't be updated and must instead be replaced during stack - update operations. - - - `NON_PROVISIONABLE`: The resource type doesn't include create, read, - and delete handlers, and therefore can't actually be provisioned. - - The default is `FULLY_MUTABLE`. - """ - deprecated_status: str | None = ... - """ - The deprecation status of the extension that you want to get summary - information about. - - Valid values include: - - - `LIVE`: The extension is registered for use in CloudFormation - operations. - - - `DEPRECATED`: The extension has been deregistered and can no longer be - used in CloudFormation operations. - """ - type: str | None = ... - """The type of extension.""" - filters: TypeFilters | None = ... - """ - Filter criteria to use in determining which extensions to return. - - Filters must be compatible with `Visibility` to return valid results. - For example, specifying `AWS_TYPES` for `Category` and `PRIVATE` for - `Visibility` returns an empty list of types, but specifying `PUBLIC` for - `Visibility` returns the desired list. - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - -@dataclass(kw_only=True) -class ListTypesOutput(_SerdeShape): - """Dataclass for ListTypesOutput structure.""" - - type_summaries: list[TypeSummary] | None = ... - """ - A list of `TypeSummary` structures that contain information about the - specified extensions. - """ - next_token: str | None = ... - """ - If the request doesn't return all the remaining results, `NextToken` is - set to a token. To retrieve the next set of results, call this action - again and assign that token to the request object's `NextToken` - parameter. If the request returns all results, `NextToken` is set to - `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTypeVersionsInput(_SerdeShape): - """Dataclass for ListTypeVersionsInput structure.""" - - type: str | None = ... - """ - The kind of the extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - type_name: str | None = ... - """ - The name of the extension for which you want version summary - information. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the extension for which you want - version summary information. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - max_results: int | None = ... - """ - The maximum number of results to be returned with a single call. If the - number of available results exceeds this maximum, the response includes - a `NextToken` value that you can assign to the `NextToken` request - parameter to get the next set of results. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a previous call.) - """ - deprecated_status: str | None = ... - """ - The deprecation status of the extension versions that you want to get - summary information about. - - Valid values include: - - - `LIVE`: The extension version is registered and can be used in - CloudFormation operations, dependent on its provisioning behavior and - visibility scope. - - - `DEPRECATED`: The extension version has been deregistered and can no - longer be used in CloudFormation operations. - - The default is `LIVE`. - """ - publisher_id: str | None = ... - """ - The publisher ID of the extension publisher. - - Extensions published by Amazon aren't assigned a publisher ID. - """ - -@dataclass(kw_only=True) -class ListTypeVersionsOutput(_SerdeShape): - """Dataclass for ListTypeVersionsOutput structure.""" - - type_version_summaries: list[TypeVersionSummary] | None = ... - """ - A list of `TypeVersionSummary` structures that contain information about - the specified extension's versions. - """ - next_token: str | None = ... - """ - If the request doesn't return all of the remaining results, `NextToken` - is set to a token. To retrieve the next set of results, call this action - again and assign that token to the request object's `NextToken` - parameter. If the request returns all results, `NextToken` is set to - `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LiveResourceDrift(_SerdeShape): - """ - Contains drift information for a resource property, including actual - value, previous deployment value, and drift detection timestamp. - """ - - previous_value: str | None = ... - """The configuration value from the previous CloudFormation deployment.""" - actual_value: str | None = ... - """The current live configuration value of the resource property.""" - drift_detection_timestamp: datetime | None = ... - """The timestamp when drift was detected for this resource property.""" - -@dataclass(kw_only=True) -class LoggingConfig(_SerdeShape): - """Contains logging configuration information for an extension.""" - - log_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the role that CloudFormation should - assume when sending log entries to CloudWatch Logs. - """ - log_group_name: str | None = ... - """ - The Amazon CloudWatch Logs group to which CloudFormation sends error - logging information when invoking the extension's handlers. - """ - -@dataclass(kw_only=True) -class ManagedExecution(_SerdeShape): - """ - Describes whether StackSets performs non-conflicting operations - concurrently and queues conflicting operations. - """ - - active: bool | None = ... - """ - When `true`, CloudFormation performs non-conflicting operations - concurrently and queues conflicting operations. After conflicting - operations finish, CloudFormation starts queued operations in request - order. - - Note: - If there are already running or queued operations, CloudFormation queues - all incoming operations even if they are non-conflicting. - - You can't modify your StackSet's execution configuration while there - are running or queued operations for that StackSet. - - When `false` (default), StackSets performs one operation at a time in - request order. - """ - -@dataclass(kw_only=True) -class ModuleInfo(_SerdeShape): - """ - Contains information about the module from which the resource was - created, if the resource was created from a module included in the stack - template. - - For more information about modules, see [Create reusable resource - configurations that can be included across templates with CloudFormation - modules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/modules.html) - in the *CloudFormation User Guide*. - """ - - type_hierarchy: str | None = ... - """ - A concatenated list of the module type or types that contains the - resource. Module types are listed starting with the inner-most nested - module, and separated by `/`. - - In the following example, the resource was created from a module of type - `AWS::First::Example::MODULE`, that's nested inside a parent module of - type `AWS::Second::Example::MODULE`. - - `AWS::First::Example::MODULE/AWS::Second::Example::MODULE` - """ - logical_id_hierarchy: str | None = ... - """ - A concatenated list of the logical IDs of the module or modules that - contains the resource. Modules are listed starting with the inner-most - nested module, and separated by `/`. - - In the following example, the resource was created from a module, - `moduleA`, that's nested inside a parent module, `moduleB`. - - `moduleA/moduleB` - - For more information, see [Reference module resources in CloudFormation - templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/module-ref-resources.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class NameAlreadyExistsException(ServiceError, _SerdeShape): - """The specified name is already in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class OnFailure(UnknownEnumMixin, StrEnum): - DO_NOTHING = "DO_NOTHING" - ROLLBACK = "ROLLBACK" - DELETE = "DELETE" - -class OnStackFailure(UnknownEnumMixin, StrEnum): - DO_NOTHING = "DO_NOTHING" - ROLLBACK = "ROLLBACK" - DELETE = "DELETE" - -@dataclass(kw_only=True) -class OperationEntry(_SerdeShape): - """Contains information about a CloudFormation operation.""" - - operation_type: str | None = ... - """The type of operation.""" - operation_id: str | None = ... - """The unique identifier for the operation.""" - -@dataclass(kw_only=True) -class OperationEvent(_SerdeShape): - """ - Contains detailed information about an event that occurred during a - CloudFormation operation. - """ - - event_id: str | None = ... - """A unique identifier for this event.""" - stack_id: str | None = ... - """The unique ID name of the instance of the stack.""" - operation_id: str | None = ... - """The unique identifier of the operation this event belongs to.""" - operation_type: str | None = ... - """The type of operation.""" - operation_status: str | None = ... - """The current status of the operation.""" - event_type: str | None = ... - """The type of event.""" - logical_resource_id: str | None = ... - """The logical name of the resource as specified in the template.""" - physical_resource_id: str | None = ... - """ - The name or unique identifier that corresponds to a physical instance ID - of a resource. - """ - resource_type: str | None = ... - """Type of resource.""" - timestamp: datetime | None = ... - """Time the status was updated.""" - start_time: datetime | None = ... - """The time when the event started.""" - end_time: datetime | None = ... - """The time when the event ended.""" - resource_status: str | None = ... - """Current status of the resource.""" - resource_status_reason: str | None = ... - """Success or failure message associated with the resource.""" - resource_properties: str | None = ... - """The properties used to create the resource.""" - client_request_token: str | None = ... - """A unique identifier for the request that initiated this operation.""" - hook_type: str | None = ... - """The type name of the Hook that was invoked.""" - hook_status: str | None = ... - """The status of the Hook invocation.""" - hook_status_reason: str | None = ... - """Additional information about the Hook status.""" - hook_invocation_point: str | None = ... - """The point in the operation lifecycle when the Hook was invoked.""" - hook_failure_mode: str | None = ... - """Specifies how Hook failures are handled.""" - detailed_status: str | None = ... - """Additional status information about the operation.""" - validation_failure_mode: str | None = ... - """Specifies how validation failures are handled.""" - validation_name: str | None = ... - """The name of the validation that was performed.""" - validation_status: str | None = ... - """The status of the validation.""" - validation_status_reason: str | None = ... - """Additional information about the validation status.""" - validation_path: str | None = ... - """The path within the resource where the validation was applied.""" - -@dataclass(kw_only=True) -class OperationIdAlreadyExistsException(ServiceError, _SerdeShape): - """The specified operation ID already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OperationInProgressException(ServiceError, _SerdeShape): - """ - Another operation is currently in progress for this StackSet. Only one - operation can be performed for a stack set at a given time. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OperationNotFoundException(ServiceError, _SerdeShape): - """The specified ID refers to an operation that doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OperationResultFilter(_SerdeShape): - """The status that operation results are filtered by.""" - - name: str | None = ... - """The type of filter to apply.""" - values: str | None = ... - """The value to filter by.""" - -class OperationResultFilterName(UnknownEnumMixin, StrEnum): - OPERATION_RESULT_STATUS = "OPERATION_RESULT_STATUS" - -class OperationStatus(UnknownEnumMixin, StrEnum): - PENDING = "PENDING" - IN_PROGRESS = "IN_PROGRESS" - SUCCESS = "SUCCESS" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class OperationStatusCheckFailedException(ServiceError, _SerdeShape): - """ - Error reserved for use by the [CloudFormation - CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). - CloudFormation doesn't return this error to users. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class OperationType(UnknownEnumMixin, StrEnum): - CREATE_STACK = "CREATE_STACK" - UPDATE_STACK = "UPDATE_STACK" - DELETE_STACK = "DELETE_STACK" - CONTINUE_ROLLBACK = "CONTINUE_ROLLBACK" - ROLLBACK = "ROLLBACK" - CREATE_CHANGESET = "CREATE_CHANGESET" - -class OrganizationStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - DISABLED_PERMANENTLY = "DISABLED_PERMANENTLY" - -@dataclass(kw_only=True) -class Output(_SerdeShape): - """The `Output` data type.""" - - output_key: str | None = ... - """The key associated with the output.""" - output_value: str | None = ... - """The value associated with the output.""" - description: str | None = ... - """User defined description associated with the output.""" - export_name: str | None = ... - """The name of the export associated with the output.""" - -@dataclass(kw_only=True) -class Parameter(_SerdeShape): - """The `Parameter` data type.""" - - parameter_key: str | None = ... - """ - The key associated with the parameter. If you don't specify a key and - value for a particular parameter, CloudFormation uses the default value - that's specified in your template. - """ - parameter_value: str | None = ... - """The input value associated with the parameter.""" - use_previous_value: bool | None = ... - """ - During a stack update, use the existing parameter value that the stack - is using for a given parameter key. If you specify `true`, do not - specify a parameter value. - """ - resolved_value: str | None = ... - """ - Read-only. The value that corresponds to a Systems Manager parameter - key. This field is returned only for Systems Manager parameter types in - the template. For more information, see [Specify existing resources at - runtime with CloudFormation-supplied parameter - types](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-supplied-parameter-types.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class ParameterConstraints(_SerdeShape): - """ - A set of criteria that CloudFormation uses to validate parameter values. - Although other constraints might be defined in the stack template, - CloudFormation returns only the `AllowedValues` property. - """ - - allowed_values: list[str] | None = ... - """A list of values that are permitted for a parameter.""" - -@dataclass(kw_only=True) -class ParameterDeclaration(_SerdeShape): - """The `ParameterDeclaration` data type.""" - - parameter_key: str | None = ... - """The name that's associated with the parameter.""" - default_value: str | None = ... - """The default value of the parameter.""" - parameter_type: str | None = ... - """The type of parameter.""" - no_echo: bool | None = ... - """ - Flag that indicates whether the parameter value is shown as plain text - in logs and in the Amazon Web Services Management Console. - """ - description: str | None = ... - """The description that's associate with the parameter.""" - parameter_constraints: ParameterConstraints | None = ... - """The criteria that CloudFormation uses to validate parameter values.""" - -class PermissionModels(UnknownEnumMixin, StrEnum): - SERVICE_MANAGED = "SERVICE_MANAGED" - SELF_MANAGED = "SELF_MANAGED" - -@dataclass(kw_only=True) -class PhysicalResourceIdContextKeyValuePair(_SerdeShape): - """ - Context information that enables CloudFormation to uniquely identify a - resource. CloudFormation uses context key-value pairs in cases where a - resource's logical and physical IDs aren't enough to uniquely identify - that resource. Each context key-value pair specifies a resource that - contains the targeted resource. - """ - - key: str | None = ... - """The resource context key.""" - value: str | None = ... - """The resource context value.""" - -class PolicyAction(UnknownEnumMixin, StrEnum): - DELETE = "Delete" - RETAIN = "Retain" - SNAPSHOT = "Snapshot" - REPLACE_AND_DELETE = "ReplaceAndDelete" - REPLACE_AND_RETAIN = "ReplaceAndRetain" - REPLACE_AND_SNAPSHOT = "ReplaceAndSnapshot" - -@dataclass(kw_only=True) -class PropertyDifference(_SerdeShape): - """ - Information about a resource property whose actual value differs from - its expected value, as defined in the stack template and any values - specified as template parameters. These will be present only for - resources whose `StackResourceDriftStatus` is `MODIFIED`. For more - information, see [Detect unmanaged configuration changes to stacks and - resources with drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). - """ - - property_path: str | None = ... - """The fully-qualified path to the resource property.""" - expected_value: str | None = ... - """ - The expected property value of the resource property, as defined in the - stack template and any values specified as template parameters. - """ - actual_value: str | None = ... - """The actual property value of the resource property.""" - difference_type: str | None = ... - """ - The type of property difference. - - - `ADD`: A value has been added to a resource property that's an array - or list data type. - - - `REMOVE`: The property has been removed from the current resource - configuration. - - - `NOT_EQUAL`: The current property value differs from its expected - value (as defined in the stack template and any values specified as - template parameters). - """ - -class ProvisioningType(UnknownEnumMixin, StrEnum): - NON_PROVISIONABLE = "NON_PROVISIONABLE" - IMMUTABLE = "IMMUTABLE" - FULLY_MUTABLE = "FULLY_MUTABLE" - -class PublisherStatus(UnknownEnumMixin, StrEnum): - VERIFIED = "VERIFIED" - UNVERIFIED = "UNVERIFIED" - -@dataclass(kw_only=True) -class PublishTypeInput(_SerdeShape): - """Dataclass for PublishTypeInput structure.""" - - type: str | None = ... - """ - The type of the extension. - - Conditional: You must specify `Arn`, or `TypeName` and `Type`. - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the extension. - - Conditional: You must specify `Arn`, or `TypeName` and `Type`. - """ - type_name: str | None = ... - """ - The name of the extension. - - Conditional: You must specify `Arn`, or `TypeName` and `Type`. - """ - public_version_number: str | None = ... - """ - The version number to assign to this version of the extension. - - Use the following format, and adhere to semantic versioning when - assigning a version number to your extension: - - `MAJOR.MINOR.PATCH` - - For more information, see [Semantic Versioning - 2.0.0](https://semver.org/). - - If you don't specify a version number, CloudFormation increments the - version number by one minor version release. - - You cannot specify a version number the first time you publish a type. - CloudFormation automatically sets the first version number to be - `1.0.0`. - """ - -@dataclass(kw_only=True) -class PublishTypeOutput(_SerdeShape): - """Dataclass for PublishTypeOutput structure.""" - - public_type_arn: str | None = ... - """ - The Amazon Resource Name (ARN) assigned to the public extension upon - publication. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RecordHandlerProgressInput(_SerdeShape): - """Dataclass for RecordHandlerProgressInput structure.""" - - bearer_token: str | None = ... - """ - Reserved for use by the [CloudFormation - CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). - """ - operation_status: str | None = ... - """ - Reserved for use by the [CloudFormation - CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). - """ - current_operation_status: str | None = ... - """ - Reserved for use by the [CloudFormation - CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). - """ - status_message: str | None = ... - """ - Reserved for use by the [CloudFormation - CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). - """ - error_code: str | None = ... - """ - Reserved for use by the [CloudFormation - CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). - """ - resource_model: str | None = ... - """ - Reserved for use by the [CloudFormation - CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). - """ - client_request_token: str | None = ... - """ - Reserved for use by the [CloudFormation - CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). - """ - -@dataclass(kw_only=True) -class RecordHandlerProgressOutput(_SerdeShape): - """Dataclass for RecordHandlerProgressOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class RegionConcurrencyType(UnknownEnumMixin, StrEnum): - SEQUENTIAL = "SEQUENTIAL" - PARALLEL = "PARALLEL" - -@dataclass(kw_only=True) -class RegisterPublisherInput(_SerdeShape): - """Dataclass for RegisterPublisherInput structure.""" - - accept_terms_and_conditions: bool | None = ... - """ - Whether you accept the [Terms and - Conditions](https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf) - for publishing extensions in the CloudFormation registry. You must - accept the terms and conditions in order to register to publish public - extensions to the CloudFormation registry. - - The default is `false`. - """ - connection_arn: str | None = ... - """ - If you are using a Bitbucket or GitHub account for identity - verification, the Amazon Resource Name (ARN) for your connection to that - account. - - For more information, see [Prerequisite: Registering your account to - publish CloudFormation - extensions](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs) - in the *CloudFormation Command Line Interface (CLI) User Guide*. - """ - -@dataclass(kw_only=True) -class RegisterPublisherOutput(_SerdeShape): - """Dataclass for RegisterPublisherOutput structure.""" - - publisher_id: str | None = ... - """ - The ID assigned this account by CloudFormation for publishing - extensions. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RegisterTypeInput(_SerdeShape): - """Dataclass for RegisterTypeInput structure.""" - - type: str | None = ... - """The kind of extension.""" - type_name: str | None = ... - """ - The name of the extension being registered. - - We suggest that extension names adhere to the following patterns: - - - For resource types, `company_or_organization::service::type`. - - - For modules, `company_or_organization::service::type::MODULE`. - - - For Hooks, `MyCompany::Testing::MyTestHook`. - - Note: - The following organization namespaces are reserved and can't be used in - your extension names: - - - `Alexa` - - - `AMZN` - - - `Amazon` - - - `AWS` - - - `Custom` - - - `Dev` - """ - schema_handler_package: str | None = ... - """ - A URL to the S3 bucket that contains the extension project package that - contains the necessary files for the extension you want to register. - - For information about generating a schema handler package for the - extension you want to register, see - [submit](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html) - in the *CloudFormation Command Line Interface (CLI) User Guide*. - - Note: - The user registering the extension must be able to access the package in - the S3 bucket. That's, the user needs to have - [GetObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) - permissions for the schema handler package. For more information, see - [Actions, Resources, and Condition Keys for Amazon - S3](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html) - in the *Identity and Access Management User Guide*. - """ - logging_config: LoggingConfig | None = ... - """Specifies logging configuration information for an extension.""" - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role for CloudFormation to - assume when invoking the extension. - - For CloudFormation to assume the specified execution role, the role must - contain a trust relationship with the CloudFormation service principal - (`resources.cloudformation.amazonaws.com`). For more information about - adding trust relationships, see [Modifying a role trust - policy](https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-console.html#roles-managingrole_edit-trust-policy) - in the *Identity and Access Management User Guide*. - - If your extension calls Amazon Web Services APIs in any of its handlers, - you must create an *[IAM execution - role](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html)* - that includes the necessary permissions to call those Amazon Web - Services APIs, and provision that execution role in your account. When - CloudFormation needs to invoke the resource type handler, CloudFormation - assumes this execution role to create a temporary session token, which - it then passes to the resource type handler, thereby supplying your - resource type with the appropriate credentials. - """ - client_request_token: str | None = ... - """ - A unique identifier that acts as an idempotency key for this - registration request. Specifying a client request token prevents - CloudFormation from generating more than one version of an extension - from the same registration request, even if the request is submitted - multiple times. - """ - -@dataclass(kw_only=True) -class RegisterTypeOutput(_SerdeShape): - """Dataclass for RegisterTypeOutput structure.""" - - registration_token: str | None = ... - """ - The identifier for this registration request. - - Use this registration token when calling DescribeTypeRegistration, which - returns information about the status and IDs of the extension - registration. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class RegistrationStatus(UnknownEnumMixin, StrEnum): - COMPLETE = "COMPLETE" - IN_PROGRESS = "IN_PROGRESS" - FAILED = "FAILED" - -class RegistryType(UnknownEnumMixin, StrEnum): - RESOURCE = "RESOURCE" - MODULE = "MODULE" - HOOK = "HOOK" - -class Replacement(UnknownEnumMixin, StrEnum): - TRUE = "True" - FALSE = "False" - CONDITIONAL = "Conditional" - -@dataclass(kw_only=True) -class RequiredActivatedType(_SerdeShape): - """ - For extensions that are modules, a public third-party extension that - must be activated in your account in order for the module itself to be - activated. - - For more information, see [Requirements for activating third-party - public - modules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/module-versioning.html#requirements-for-modules) - in the *CloudFormation User Guide*. - """ - - type_name_alias: str | None = ... - """ - An alias assigned to the public extension, in this account and Region. - If you specify an alias for the extension, CloudFormation treats the - alias as the extension type name within this account and Region. You - must use the alias to refer to the extension in your templates, API - calls, and CloudFormation console. - """ - original_type_name: str | None = ... - """ - The type name of the public extension. - - If you specified a `TypeNameAlias` when enabling the extension in this - account and Region, CloudFormation treats that alias as the extension's - type name within the account and Region, not the type name of the public - extension. For more information, see [Use aliases to refer to - extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias) - in the *CloudFormation User Guide*. - """ - publisher_id: str | None = ... - """The publisher ID of the extension publisher.""" - supported_major_versions: list[int] | None = ... - """ - A list of the major versions of the extension type that the macro - supports. - """ - -class RequiresRecreation(UnknownEnumMixin, StrEnum): - NEVER = "Never" - CONDITIONALLY = "Conditionally" - ALWAYS = "Always" - -class ResourceAttribute(UnknownEnumMixin, StrEnum): - PROPERTIES = "Properties" - METADATA = "Metadata" - CREATION_POLICY = "CreationPolicy" - UPDATE_POLICY = "UpdatePolicy" - DELETION_POLICY = "DeletionPolicy" - UPDATE_REPLACE_POLICY = "UpdateReplacePolicy" - TAGS = "Tags" - -@dataclass(kw_only=True) -class ResourceChange(_SerdeShape): - """ - The `ResourceChange` structure describes the resource and the action - that CloudFormation will perform on it if you execute this change set. - """ - - policy_action: str | None = ... - """ - The action that will be taken on the physical resource when the change - set is executed. - - - `Delete` The resource will be deleted. - - - `Retain` The resource will be retained. - - - `Snapshot` The resource will have a snapshot taken. - - - `ReplaceAndDelete` The resource will be replaced and then deleted. - - - `ReplaceAndRetain` The resource will be replaced and then retained. - - - `ReplaceAndSnapshot` The resource will be replaced and then have a - snapshot taken. - """ - action: str | None = ... - """ - The action that CloudFormation takes on the resource, such as `Add` - (adds a new resource), `Modify` (changes a resource), `Remove` (deletes - a resource), `Import` (imports a resource), `Dynamic` (exact action for - the resource can't be determined), or `SyncWithActual` (resource will - not be changed, only CloudFormation metadata will change). - """ - logical_resource_id: str | None = ... - """The resource's logical ID, which is defined in the stack's template.""" - physical_resource_id: str | None = ... - """ - The resource's physical ID (resource name). Resources that you are - adding don't have physical IDs because they haven't been created. - """ - resource_type: str | None = ... - """The type of CloudFormation resource, such as `AWS::S3::Bucket`.""" - replacement: str | None = ... - """ - For the `Modify` action, indicates whether CloudFormation will replace - the resource by creating a new one and deleting the old one. This value - depends on the value of the `RequiresRecreation` property in the - `ResourceTargetDefinition` structure. For example, if the - `RequiresRecreation` field is `Always` and the `Evaluation` field is - `Static`, `Replacement` is `True`. If the `RequiresRecreation` field is - `Always` and the `Evaluation` field is `Dynamic`, `Replacement` is - `Conditional`. - - If you have multiple changes with different `RequiresRecreation` values, - the `Replacement` value depends on the change with the most impact. A - `RequiresRecreation` value of `Always` has the most impact, followed by - `Conditional`, and then `Never`. - """ - scope: list[str] | None = ... - """ - For the `Modify` action, indicates which resource attribute is - triggering this update, such as a change in the resource attribute's - `Metadata`, `Properties`, or `Tags`. - """ - resource_drift_status: str | None = ... - """ - The drift status of the resource. Valid values: - - - `IN_SYNC` -- The resource matches its template definition. - - - `MODIFIED` -- Resource properties were modified outside - CloudFormation. - - - `DELETED` -- The resource was deleted outside CloudFormation. - - - `NOT_CHECKED` -- CloudFormation doesn't currently return this value. - - - `UNKNOWN` -- Drift status could not be determined. - - - `UNSUPPORTED` -- Resource type does not support actual state - comparison. - - Only present for drift-aware change sets. - """ - resource_drift_ignored_attributes: list[ResourceDriftIgnoredAttribute] | None = ... - """List of resource attributes for which drift was ignored.""" - details: list[ResourceChangeDetail] | None = ... - """ - For the `Modify` action, a list of `ResourceChangeDetail` structures - that describes the changes that CloudFormation will make to the - resource. - """ - change_set_id: str | None = ... - """The change set ID of the nested change set.""" - module_info: ModuleInfo | None = ... - """ - Contains information about the module from which the resource was - created, if the resource was created from a module included in the stack - template. - """ - before_context: str | None = ... - """ - An encoded JSON string that contains the context of the resource before - the change is executed. - """ - after_context: str | None = ... - """ - An encoded JSON string that contains the context of the resource after - the change is executed. - """ - previous_deployment_context: str | None = ... - """ - Information about the resource's state from the previous CloudFormation - deployment. - """ - -@dataclass(kw_only=True) -class ResourceChangeDetail(_SerdeShape): - """ - For a resource with `Modify` as the action, the `ResourceChange` - structure describes the changes CloudFormation will make to that - resource. - """ - - target: ResourceTargetDefinition | None = ... - """ - A `ResourceTargetDefinition` structure that describes the field that - CloudFormation will change and whether the resource will be recreated. - """ - evaluation: str | None = ... - """ - Indicates whether CloudFormation can determine the target value, and - whether the target value will change before you execute a change set. - - For `Static` evaluations, CloudFormation can determine that the target - value will change, and its value. For example, if you directly modify - the `InstanceType` property of an EC2 instance, CloudFormation knows - that this property value will change, and its value, so this is a - `Static` evaluation. - - For `Dynamic` evaluations, can't determine the target value because it - depends on the result of an intrinsic function, such as a `Ref` or - `Fn::GetAtt` intrinsic function, when the stack is updated. For example, - if your template includes a reference to a resource that's - conditionally recreated, the value of the reference (the physical ID of - the resource) might change, depending on if the resource is recreated. - If the resource is recreated, it will have a new physical ID, so all - references to that resource will also be updated. - """ - change_source: str | None = ... - """ - The group to which the `CausingEntity` value belongs. There are five - entity groups: - - - `ResourceReference` entities are `Ref` intrinsic functions that refer - to resources in the template, such as - `{ "Ref" : "MyEC2InstanceResource" }`. - - - `ParameterReference` entities are `Ref` intrinsic functions that get - template parameter values, such as - `{ "Ref" : "MyPasswordParameter" }`. - - - `ResourceAttribute` entities are `Fn::GetAtt` intrinsic functions that - get resource attribute values, such as - `{ "Fn::GetAtt" : [ "MyEC2InstanceResource", "PublicDnsName" ] }`. - - - `DirectModification` entities are changes that are made directly to - the template. - - - `Automatic` entities are `AWS::CloudFormation::Stack` resource types, - which are also known as nested stacks. If you made no changes to the - `AWS::CloudFormation::Stack` resource, CloudFormation sets the - `ChangeSource` to `Automatic` because the nested stack's template - might have changed. Changes to a nested stack's template aren't - visible to CloudFormation until you run an update on the parent stack. - - - `NoModification` entities are changes made to the template that - matches the actual state of the resource. - """ - causing_entity: str | None = ... - """ - The identity of the entity that triggered this change. This entity is a - member of the group that's specified by the `ChangeSource` field. For - example, if you modified the value of the `KeyPairName` parameter, the - `CausingEntity` is the name of the parameter (`KeyPairName`). - - If the `ChangeSource` value is `DirectModification`, no value is given - for `CausingEntity`. - """ - -@dataclass(kw_only=True) -class ResourceDefinition(_SerdeShape): - """ - A resource included in a generated template. This data type is used with - the `CreateGeneratedTemplate` and `UpdateGeneratedTemplate` API actions. - """ - - resource_type: str | None = ... - """ - The type of the resource, such as `AWS::DynamoDB::Table`. For the list - of supported resources, see [Resource type support for imports and drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) - in the *CloudFormation User Guide* - """ - logical_resource_id: str | None = ... - """The logical resource id for this resource in the generated template.""" - resource_identifier: dict[str, str] | None = ... - """ - A list of up to 256 key-value pairs that identifies the scanned - resource. The key is the name of one of the primary identifiers for the - resource. (Primary identifiers are specified in the `primaryIdentifier` - list in the resource schema.) The value is the value of that primary - identifier. For example, for a `AWS::DynamoDB::Table` resource, the - primary identifiers is `TableName` so the key-value pair could be - `"TableName": "MyDDBTable"`. For more information, see - [primaryIdentifier](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier) - in the *CloudFormation Command Line Interface (CLI) User Guide*. - """ - -@dataclass(kw_only=True) -class ResourceDetail(_SerdeShape): - """Details about a resource in a generated template""" - - resource_type: str | None = ... - """ - The type of the resource, such as `AWS::DynamoDB::Table`. For the list - of supported resources, see [Resource type support for imports and drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) - In the *CloudFormation User Guide* - """ - logical_resource_id: str | None = ... - """The logical id for this resource in the final generated template.""" - resource_identifier: dict[str, str] | None = ... - """ - A list of up to 256 key-value pairs that identifies the resource in the - generated template. The key is the name of one of the primary - identifiers for the resource. (Primary identifiers are specified in the - `primaryIdentifier` list in the resource schema.) The value is the value - of that primary identifier. For example, for a `AWS::DynamoDB::Table` - resource, the primary identifiers is `TableName` so the key-value pair - could be `"TableName": "MyDDBTable"`. For more information, see - [primaryIdentifier](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier) - in the *CloudFormation Command Line Interface (CLI) User Guide*. - """ - resource_status: str | None = ... - """ - Status of the processing of a resource in a generated template. - - InProgress - - : The resource processing is still in progress. - - Complete - - : The resource processing is complete. - - Pending - - : The resource processing is pending. - - Failed - - : The resource processing has failed. - """ - resource_status_reason: str | None = ... - """ - The reason for the resource detail, providing more information if a - failure happened. - """ - warnings: list[WarningDetail] | None = ... - """The warnings generated for this resource.""" - -@dataclass(kw_only=True) -class ResourceDriftIgnoredAttribute(_SerdeShape): - """The `ResourceDriftIgnoredAttribute` data type.""" - - path: str | None = ... - """Path of the resource attribute for which drift was ignored.""" - reason: str | None = ... - """ - Reason why drift was ignored for the attribute, can have 3 possible - values: - - - `WRITE_ONLY_PROPERTY` -- Property is not included in read response for - the resource's live state. - - - `MANAGED_BY_AWS` -- Property is managed by an Amazon Web Services - service and is expected to be dynamically modified. - - - `SENSITIVE_PROPERTY` -- Property has a sensitive value, such as an - Amazon Web Services Secrets Manager value. - """ - -@dataclass(kw_only=True) -class ResourceIdentifierSummary(_SerdeShape): - """ - Describes the target resources of a specific type in your import - template (for example, all `AWS::S3::Bucket` resources) and the - properties you can provide during the import to identify resources of - that type. - """ - - resource_type: str | None = ... - """ - The template resource type of the target resources, such as - `AWS::S3::Bucket`. - """ - logical_resource_ids: list[str] | None = ... - """ - The logical IDs of the target resources of the specified `ResourceType`, - as defined in the import template. - """ - resource_identifiers: list[str] | None = ... - """ - The resource properties you can provide during the import to identify - your target resources. For example, `BucketName` is a possible - identifier property for `AWS::S3::Bucket` resources. - """ - -@dataclass(kw_only=True) -class ResourceLocation(_SerdeShape): - """The location of the resource in a stack template.""" - - stack_name: str | None = ... - """The name associated with the stack.""" - logical_resource_id: str | None = ... - """The logical name of the resource specified in the template.""" - -@dataclass(kw_only=True) -class ResourceMapping(_SerdeShape): - """ - Specifies the current source of the resource and the destination of - where it will be moved to. - """ - - source: ResourceLocation | None = ... - """ - The source stack `StackName` and `LogicalResourceId` for the resource - being refactored. - """ - destination: ResourceLocation | None = ... - """ - The destination stack `StackName` and `LogicalResourceId` for the - resource being refactored. - """ - -@dataclass(kw_only=True) -class ResourceScanInProgressException(ServiceError, _SerdeShape): - """ - A resource scan is currently in progress. Only one can be run at a time - for an account in a Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceScanLimitExceededException(ServiceError, _SerdeShape): - """ - The limit on resource scans has been exceeded. Reasons include: - - - Exceeded the daily quota for resource scans. - - - A resource scan recently failed. You must wait 10 minutes before - starting a new resource scan. - - - The last resource scan failed after exceeding 100,000 resources. When - this happens, you must wait 24 hours before starting a new resource - scan. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceScanNotFoundException(ServiceError, _SerdeShape): - """The resource scan was not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ResourceScanStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "IN_PROGRESS" - FAILED = "FAILED" - COMPLETE = "COMPLETE" - EXPIRED = "EXPIRED" - -@dataclass(kw_only=True) -class ResourceScanSummary(_SerdeShape): - """ - A summary of the resource scan. This is returned by the - `ListResourceScan` API action. - """ - - resource_scan_id: str | None = ... - """The Amazon Resource Name (ARN) of the resource scan.""" - status: str | None = ... - """ - Status of the resource scan. - - IN_PROGRESS - - : The resource scan is still in progress. - - COMPLETE - - : The resource scan is complete. - - EXPIRED - - : The resource scan has expired. - - FAILED - - : The resource scan has failed. - """ - status_reason: str | None = ... - """ - The reason for the resource scan status, providing more information if a - failure happened. - """ - start_time: datetime | None = ... - """The time that the resource scan was started.""" - end_time: datetime | None = ... - """The time that the resource scan was finished.""" - percentage_completed: float | None = ... - """The percentage of the resource scan that has been completed.""" - scan_type: str | None = ... - """The scan type that has been completed.""" - -class ResourceSignalStatus(UnknownEnumMixin, StrEnum): - SUCCESS = "SUCCESS" - FAILURE = "FAILURE" - -class ResourceStatus(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" - CREATE_FAILED = "CREATE_FAILED" - CREATE_COMPLETE = "CREATE_COMPLETE" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - DELETE_FAILED = "DELETE_FAILED" - DELETE_COMPLETE = "DELETE_COMPLETE" - DELETE_SKIPPED = "DELETE_SKIPPED" - UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" - UPDATE_FAILED = "UPDATE_FAILED" - UPDATE_COMPLETE = "UPDATE_COMPLETE" - IMPORT_FAILED = "IMPORT_FAILED" - IMPORT_COMPLETE = "IMPORT_COMPLETE" - IMPORT_IN_PROGRESS = "IMPORT_IN_PROGRESS" - IMPORT_ROLLBACK_IN_PROGRESS = "IMPORT_ROLLBACK_IN_PROGRESS" - IMPORT_ROLLBACK_FAILED = "IMPORT_ROLLBACK_FAILED" - IMPORT_ROLLBACK_COMPLETE = "IMPORT_ROLLBACK_COMPLETE" - EXPORT_FAILED = "EXPORT_FAILED" - EXPORT_COMPLETE = "EXPORT_COMPLETE" - EXPORT_IN_PROGRESS = "EXPORT_IN_PROGRESS" - EXPORT_ROLLBACK_IN_PROGRESS = "EXPORT_ROLLBACK_IN_PROGRESS" - EXPORT_ROLLBACK_FAILED = "EXPORT_ROLLBACK_FAILED" - EXPORT_ROLLBACK_COMPLETE = "EXPORT_ROLLBACK_COMPLETE" - UPDATE_ROLLBACK_IN_PROGRESS = "UPDATE_ROLLBACK_IN_PROGRESS" - UPDATE_ROLLBACK_COMPLETE = "UPDATE_ROLLBACK_COMPLETE" - UPDATE_ROLLBACK_FAILED = "UPDATE_ROLLBACK_FAILED" - ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" - ROLLBACK_COMPLETE = "ROLLBACK_COMPLETE" - ROLLBACK_FAILED = "ROLLBACK_FAILED" - -@dataclass(kw_only=True) -class ResourceTargetDefinition(_SerdeShape): - """ - The field that CloudFormation will change, such as the name of a - resource's property, and whether the resource will be recreated. - """ - - attribute: str | None = ... - """ - Indicates which resource attribute is triggering this update, such as a - change in the resource attribute's `Metadata`, `Properties`, or `Tags`. - """ - name: str | None = ... - """ - If the `Attribute` value is `Properties`, the name of the property. For - all other attributes, the value is null. - """ - requires_recreation: str | None = ... - """ - If the `Attribute` value is `Properties`, indicates whether a change to - this property causes the resource to be recreated. The value can be - `Never`, `Always`, or `Conditionally`. To determine the conditions for a - `Conditionally` recreation, see the update behavior for that property in - the [Amazon Web Services resource and property types - reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) - in the *CloudFormation User Guide*. - """ - path: str | None = ... - """The property path of the property.""" - before_value: str | None = ... - """ - The value of the property before the change is executed. Large values - can be truncated. - """ - after_value: str | None = ... - """ - The value of the property after the change is executed. Large values can - be truncated. - """ - before_value_from: str | None = ... - """ - Indicates the source of the before value. Valid values: - - - `ACTUAL_STATE` -- The before value represents current actual state. - - - `PREVIOUS_DEPLOYMENT_STATE` -- The before value represents the - previous CloudFormation deployment state. - - Only present for drift-aware change sets. - """ - after_value_from: str | None = ... - """ - Indicates the source of the after value. Valid value: - - - `TEMPLATE` -- The after value comes from the new template. - - Only present for drift-aware change sets. - """ - drift: LiveResourceDrift | None = ... - """ - Detailed drift information for the resource property, including actual - values, previous deployment values, and drift detection timestamps. - """ - attribute_change_type: str | None = ... - """ - The type of change to be made to the property if the change is executed. - - - `Add` The item will be added. - - - `Remove` The item will be removed. - - - `Modify` The item will be modified. - - - `SyncWithActual` The drift status of this item will be reset but the - item will not be modified. - """ - -@dataclass(kw_only=True) -class ResourceToImport(_SerdeShape): - """Describes the target resource of an import operation.""" - - resource_type: str | None = ... - """ - The type of resource to import into your stack, such as - `AWS::S3::Bucket`. For a list of supported resource types, see [Resource - type support for imports and drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) - in the *CloudFormation User Guide*. - """ - logical_resource_id: str | None = ... - """The logical ID of the target resource as specified in the template.""" - resource_identifier: dict[str, str] | None = ... - """ - A key-value pair that identifies the target resource. The key is an - identifier property (for example, `BucketName` for `AWS::S3::Bucket` - resources) and the value is the actual property value (for example, - `MyS3Bucket`). - """ - -@dataclass(kw_only=True) -class RollbackConfiguration(_SerdeShape): - """ - Structure that contains the rollback triggers for CloudFormation to - monitor during stack creation and updating operations, and for the - specified monitoring period afterwards. - - Rollback triggers enable you to have CloudFormation monitor the state of - your application during stack creation and updating, and to roll back - that operation if the application breaches the threshold of any of the - alarms you've specified. For more information, see [Roll back your - CloudFormation stack on alarm breach with rollback - triggers](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-rollback-triggers.html). - """ - - rollback_triggers: list[RollbackTrigger] | None = ... - """ - The triggers to monitor during stack creation or update actions. - - By default, CloudFormation saves the rollback triggers specified for a - stack and applies them to any subsequent update operations for the - stack, unless you specify otherwise. If you do specify rollback triggers - for this parameter, those triggers replace any list of triggers - previously specified for the stack. This means: - - - To use the rollback triggers previously specified for this stack, if - any, don't specify this parameter. - - - To specify new or updated rollback triggers, you must specify *all* - the triggers that you want used for this stack, even triggers you've - specified before (for example, when creating the stack or during a - previous stack update). Any triggers that you don't include in the - updated list of triggers are no longer applied to the stack. - - - To remove all currently specified triggers, specify an empty list for - this parameter. - - If a specified trigger is missing, the entire stack operation fails and - is rolled back. - """ - monitoring_time_in_minutes: int | None = ... - """ - The amount of time, in minutes, during which CloudFormation should - monitor all the rollback triggers after the stack creation or update - operation deploys all necessary resources. - - The default is 0 minutes. - - If you specify a monitoring period but don't specify any rollback - triggers, CloudFormation still waits the specified period of time before - cleaning up old resources after update operations. You can use this - monitoring period to perform any manual stack validation desired, and - manually cancel the stack creation or update (using - [CancelUpdateStack](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html), - for example) as necessary. - - If you specify 0 for this parameter, CloudFormation still monitors the - specified rollback triggers during stack creation and update operations. - Then, for update operations, it begins disposing of old resources - immediately once the operation completes. - """ - -@dataclass(kw_only=True) -class RollbackStackInput(_SerdeShape): - """Dataclass for RollbackStackInput structure.""" - - stack_name: str | None = ... - """The name that's associated with the stack.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role that CloudFormation - assumes to rollback the stack. - """ - client_request_token: str | None = ... - """A unique identifier for this `RollbackStack` request.""" - retain_except_on_create: bool | None = ... - """ - When set to `true`, newly created resources are deleted when the - operation rolls back. This includes newly created resources marked with - a deletion policy of `Retain`. - - Default: `false` - """ - deployment_config: DeploymentConfig | None = ... - """ - The deployment configuration for this stack operation, including the - deployment mode. - """ - -@dataclass(kw_only=True) -class RollbackStackOutput(_SerdeShape): - """Dataclass for RollbackStackOutput structure.""" - - stack_id: str | None = ... - """Unique identifier of the stack.""" - operation_id: str | None = ... - """ - A unique identifier for this rollback operation that can be used to - track the operation's progress and events. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RollbackTrigger(_SerdeShape): - """ - A rollback trigger CloudFormation monitors during creation and updating - of stacks. If any of the alarms you specify goes to ALARM state during - the stack operation or within the specified monitoring period - afterwards, CloudFormation rolls back the entire stack operation. - """ - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the rollback trigger. - - If a specified trigger is missing, the entire stack operation fails and - is rolled back. - """ - type: str | None = ... - """ - The resource type of the rollback trigger. Specify either - [AWS::CloudWatch::Alarm](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-alarm.html) - or - [AWS::CloudWatch::CompositeAlarm](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-compositealarm.html) - resource types. - """ - -@dataclass(kw_only=True) -class ScanFilter(_SerdeShape): - """A filter that is used to specify which resource types to scan.""" - - types: list[str] | None = ... - """ - An array of strings where each string represents an Amazon Web Services - resource type you want to scan. Each string defines the resource type - using the format `AWS::ServiceName::ResourceType`, for example, - `AWS::DynamoDB::Table`. For the full list of supported resource types, - see the [Resource type - support](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) - table in the *CloudFormation User Guide*. - - To scan all resource types within a service, you can use a wildcard, - represented by an asterisk (`*`). You can place an asterisk at only the - end of the string, for example, `AWS::S3::*`. - """ - -@dataclass(kw_only=True) -class ScannedResource(_SerdeShape): - """ - A scanned resource returned by `ListResourceScanResources` or - `ListResourceScanRelatedResources`. - """ - - resource_type: str | None = ... - """ - The type of the resource, such as `AWS::DynamoDB::Table`. For the list - of supported resources, see [Resource type support for imports and drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) - In the *CloudFormation User Guide* - """ - resource_identifier: dict[str, str] | None = ... - """ - A list of up to 256 key-value pairs that identifies for the scanned - resource. The key is the name of one of the primary identifiers for the - resource. (Primary identifiers are specified in the `primaryIdentifier` - list in the resource schema.) The value is the value of that primary - identifier. For example, for a `AWS::DynamoDB::Table` resource, the - primary identifiers is `TableName` so the key-value pair could be - `"TableName": "MyDDBTable"`. For more information, see - [primaryIdentifier](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier) - in the *CloudFormation Command Line Interface (CLI) User Guide*. - """ - managed_by_stack: bool | None = ... - """If `true`, the resource is managed by a CloudFormation stack.""" - -@dataclass(kw_only=True) -class ScannedResourceIdentifier(_SerdeShape): - """ - Identifies a scanned resource. This is used with the - `ListResourceScanRelatedResources` API action. - """ - - resource_type: str | None = ... - """ - The type of the resource, such as `AWS::DynamoDB::Table`. For the list - of supported resources, see [Resource type support for imports and drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) - In the *CloudFormation User Guide*. - """ - resource_identifier: dict[str, str] | None = ... - """ - A list of up to 256 key-value pairs that identifies the scanned - resource. The key is the name of one of the primary identifiers for the - resource. (Primary identifiers are specified in the `primaryIdentifier` - list in the resource schema.) The value is the value of that primary - identifier. For example, for a `AWS::DynamoDB::Table` resource, the - primary identifiers is `TableName` so the key-value pair could be - `"TableName": "MyDDBTable"`. For more information, see - [primaryIdentifier](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier) - in the *CloudFormation Command Line Interface (CLI) User Guide*. - """ - -class ScanType(UnknownEnumMixin, StrEnum): - FULL = "FULL" - PARTIAL = "PARTIAL" - -@dataclass(kw_only=True) -class SetStackPolicyInput(_SerdeShape): - """The input for the SetStackPolicy action.""" - - stack_name: str | None = ... - """The name or unique stack ID that you want to associate a policy with.""" - stack_policy_body: str | None = ... - """ - Structure that contains the stack policy body. For more information, see - [Prevent updates to stack - resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html) - in the *CloudFormation User Guide*. You can specify either the - `StackPolicyBody` or the `StackPolicyURL` parameter, but not both. - """ - stack_policy_url: str | None = ... - """ - Location of a file that contains the stack policy. The URL must point to - a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the - same Amazon Web Services Region as the stack. The location for an Amazon - S3 bucket must start with `https://`. URLs from S3 static websites are - not supported. - - You can specify either the `StackPolicyBody` or the `StackPolicyURL` - parameter, but not both. - """ - -@dataclass(kw_only=True) -class SetStackPolicyOutput(_SerdeShape): - """Dataclass for SetStackPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SetTypeConfigurationInput(_SerdeShape): - """Dataclass for SetTypeConfigurationInput structure.""" - - type_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the extension in this account and - Region. - - For public extensions, this will be the ARN assigned when you call the - [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html) - API operation in this account and Region. For private extensions, this - will be the ARN assigned when you call the - [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html) - API operation in this account and Region. - - Do not include the extension versions suffix at the end of the ARN. You - can set the configuration for an extension, but not for a specific - extension version. - """ - configuration: str | None = ... - """ - The configuration data for the extension in this account and Region. - - The configuration data must be formatted as JSON and validate against - the extension's schema returned in the `Schema` response element of - [DescribeType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html). - """ - configuration_alias: str | None = ... - """ - An alias by which to refer to this extension configuration data. - - Conditional: Specifying a configuration alias is required when setting a - configuration for a resource type extension. - """ - type_name: str | None = ... - """ - The name of the extension. - - Conditional: You must specify `ConfigurationArn`, or `Type` and - `TypeName`. - """ - type: str | None = ... - """ - The type of extension. - - Conditional: You must specify `ConfigurationArn`, or `Type` and - `TypeName`. - """ - -@dataclass(kw_only=True) -class SetTypeConfigurationOutput(_SerdeShape): - """Dataclass for SetTypeConfigurationOutput structure.""" - - configuration_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the configuration data in this - account and Region. - - Conditional: You must specify `ConfigurationArn`, or `Type` and - `TypeName`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SetTypeDefaultVersionInput(_SerdeShape): - """Dataclass for SetTypeDefaultVersionInput structure.""" - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the extension for which you want - version summary information. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - type: str | None = ... - """ - The kind of extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - type_name: str | None = ... - """ - The name of the extension. - - Conditional: You must specify either `TypeName` and `Type`, or `Arn`. - """ - version_id: str | None = ... - """ - The ID of a specific version of the extension. The version ID is the - value at the end of the Amazon Resource Name (ARN) assigned to the - extension version when it is registered. - """ - -@dataclass(kw_only=True) -class SetTypeDefaultVersionOutput(_SerdeShape): - """Dataclass for SetTypeDefaultVersionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SignalResourceInput(_SerdeShape): - """The input for the SignalResource action.""" - - stack_name: str | None = ... - """ - The stack name or unique stack ID that includes the resource that you - want to signal. - """ - logical_resource_id: str | None = ... - """ - The logical ID of the resource that you want to signal. The logical ID - is the name of the resource that given in the template. - """ - unique_id: str | None = ... - """ - A unique ID of the signal. When you signal Amazon EC2 instances or Auto - Scaling groups, specify the instance ID that you are signaling as the - unique ID. If you send multiple signals to a single resource (such as - signaling a wait condition), each signal requires a different unique ID. - """ - status: str | None = ... - """ - The status of the signal, which is either success or failure. A failure - signal causes CloudFormation to immediately fail the stack creation or - update. - """ - -@dataclass(kw_only=True) -class SignalResourceOutput(_SerdeShape): - """Dataclass for SignalResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Stack(_SerdeShape): - """The `Stack` data type.""" - - stack_id: str | None = ... - """Unique identifier of the stack.""" - stack_name: str | None = ... - """The name associated with the stack.""" - change_set_id: str | None = ... - """The unique ID of the change set.""" - description: str | None = ... - """A user-defined description associated with the stack.""" - parameters: list[Parameter] | None = ... - """A list of `Parameter` structures.""" - creation_time: datetime | None = ... - """The time at which the stack was created.""" - deletion_time: datetime | None = ... - """The time the stack was deleted.""" - last_updated_time: datetime | None = ... - """ - The time the stack was last updated. This field will only be returned if - the stack has been updated at least once. - """ - rollback_configuration: RollbackConfiguration | None = ... - """ - The rollback triggers for CloudFormation to monitor during stack - creation and updating operations, and for the specified monitoring - period afterwards. - """ - stack_status: str | None = ... - """Current status of the stack.""" - stack_status_reason: str | None = ... - """Success/failure message associated with the stack status.""" - disable_rollback: bool | None = ... - """ - Boolean to enable or disable rollback on stack creation failures: - - - `true`: disable rollback. - - - `false`: enable rollback. - """ - deployment_config: DeploymentConfig | None = ... - """ - The deployment configuration for the stack, including the deployment - mode used for stack operations. - """ - notification_ar_ns: list[str] | None = ... - """ - Amazon SNS topic Amazon Resource Names (ARNs) to which stack related - events are published. - """ - timeout_in_minutes: int | None = ... - """The amount of time within which stack creation should complete.""" - capabilities: list[str] | None = ... - """The capabilities allowed in the stack.""" - outputs: list[Output] | None = ... - """A list of output structures.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role that's associated with - the stack. During a stack operation, CloudFormation uses this role's - credentials to make calls on your behalf. - """ - tags: list[Tag] | None = ... - """A list of `Tag`s that specify information about the stack.""" - enable_termination_protection: bool | None = ... - """ - Whether termination protection is enabled for the stack. - - For [nested - stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html), - termination protection is set on the root stack and can't be changed - directly on the nested stack. For more information, see [Protect a - CloudFormation stack from being - deleted](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html) - in the *CloudFormation User Guide*. - """ - parent_id: str | None = ... - """ - For nested stacks, the stack ID of the direct parent of this stack. For - the first level of nested stacks, the root stack is also the parent - stack. - - For more information, see [Nested - stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) - in the *CloudFormation User Guide*. - """ - root_id: str | None = ... - """ - For nested stacks, the stack ID of the top-level stack to which the - nested stack ultimately belongs. - - For more information, see [Nested - stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) - in the *CloudFormation User Guide*. - """ - drift_information: StackDriftInformation | None = ... - """ - Information about whether a stack's actual configuration differs, or - has *drifted*, from its expected configuration, as defined in the stack - template and any values specified as template parameters. For more - information, see [Detect unmanaged configuration changes to stacks and - resources with drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). - """ - retain_except_on_create: bool | None = ... - """ - When set to `true`, newly created resources are deleted when the - operation rolls back. This includes newly created resources marked with - a deletion policy of `Retain`. - - Default: `false` - """ - deletion_mode: str | None = ... - """ - Specifies the deletion mode for the stack. Possible values are: - - - `STANDARD` - Use the standard behavior. Specifying this value is the - same as not specifying this parameter. - - - `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a - `DELETE_FAILED` state due to resource deletion failure. - """ - detailed_status: str | None = ... - """ - The detailed status of the resource or stack. If - `CONFIGURATION_COMPLETE` is present, the resource or resource - configuration phase has completed and the stabilization of the resources - is in progress. The StackSets `CONFIGURATION_COMPLETE` when all of the - resources in the stack have reached that event. For more information, - see [Understand CloudFormation stack creation - events](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html) - in the *CloudFormation User Guide*. - """ - last_operations: list[OperationEntry] | None = ... - """Information about the most recent operations performed on this stack.""" - -@dataclass(kw_only=True) -class StackDefinition(_SerdeShape): - """Describes the stack and the template used by the stack.""" - - stack_name: str | None = ... - """The name associated with the stack.""" - template_body: str | None = ... - """The file path for the stack template file.""" - template_url: str | None = ... - """The desired final state of the stack template.""" - -class StackDriftDetectionStatus(UnknownEnumMixin, StrEnum): - DETECTION_IN_PROGRESS = "DETECTION_IN_PROGRESS" - DETECTION_FAILED = "DETECTION_FAILED" - DETECTION_COMPLETE = "DETECTION_COMPLETE" - -@dataclass(kw_only=True) -class StackDriftInformation(_SerdeShape): - """ - Contains information about whether the stack's actual configuration - differs, or has *drifted*, from its expected configuration, as defined - in the stack template and any values specified as template parameters. A - stack is considered to have drifted if one or more of its resources have - drifted. - """ - - stack_drift_status: str | None = ... - """ - Status of the stack's actual configuration compared to its expected - template configuration. - - - `DRIFTED`: The stack differs from its expected template configuration. - A stack is considered to have drifted if one or more of its resources - have drifted. - - - `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs - from its expected template configuration. - - - `IN_SYNC`: The stack's actual configuration matches its expected - template configuration. - - - `UNKNOWN`: CloudFormation could not run drift detection for a resource - in the stack. - """ - last_check_timestamp: datetime | None = ... - """ - Most recent time when a drift detection operation was initiated on the - stack, or any of its individual resources that support drift detection. - """ - -@dataclass(kw_only=True) -class StackDriftInformationSummary(_SerdeShape): - """ - Contains information about whether the stack's actual configuration - differs, or has *drifted*, from its expected configuration, as defined - in the stack template and any values specified as template parameters. A - stack is considered to have drifted if one or more of its resources have - drifted. - """ - - stack_drift_status: str | None = ... - """ - Status of the stack's actual configuration compared to its expected - template configuration. - - - `DRIFTED`: The stack differs from its expected template configuration. - A stack is considered to have drifted if one or more of its resources - have drifted. - - - `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs - from its expected template configuration. - - - `IN_SYNC`: The stack's actual configuration matches its expected - template configuration. - - - `UNKNOWN`: CloudFormation could not run drift detection for a resource - in the stack. - """ - last_check_timestamp: datetime | None = ... - """ - Most recent time when a drift detection operation was initiated on the - stack, or any of its individual resources that support drift detection. - """ - -class StackDriftStatus(UnknownEnumMixin, StrEnum): - DRIFTED = "DRIFTED" - IN_SYNC = "IN_SYNC" - UNKNOWN = "UNKNOWN" - NOT_CHECKED = "NOT_CHECKED" - -@dataclass(kw_only=True) -class StackEvent(_SerdeShape): - """The `StackEvent` data type.""" - - stack_id: str | None = ... - """The unique ID name of the instance of the stack.""" - event_id: str | None = ... - """The unique identifier of this event.""" - stack_name: str | None = ... - """The name associated with a stack.""" - operation_id: str | None = ... - """The unique identifier of the operation that generated this stack event.""" - logical_resource_id: str | None = ... - """The logical name of the resource specified in the template.""" - physical_resource_id: str | None = ... - """ - The name or unique identifier associated with the physical instance of - the resource. - """ - resource_type: str | None = ... - """ - Type of resource. For more information, see [Amazon Web Services - resource and property types - reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) - in the *CloudFormation User Guide*. - """ - timestamp: datetime | None = ... - """Time the status was updated.""" - resource_status: str | None = ... - """Current status of the resource.""" - resource_status_reason: str | None = ... - """Success/failure message associated with the resource.""" - resource_properties: str | None = ... - """BLOB of the properties used to create the resource.""" - client_request_token: str | None = ... - """ - The token passed to the operation that generated this event. - - All events triggered by a given stack operation are assigned the same - client request token, which you can use to track operations. For - example, if you execute a `CreateStack` operation with the token - `token1`, then all the `StackEvents` generated by that operation will - have `ClientRequestToken` set as `token1`. - - In the console, stack operations display the client request token on the - Events tab. Stack operations that are initiated from the console use the - token format *Console-StackOperation-ID*, which helps you easily - identify the stack operation . For example, if you create a stack using - the console, each stack event would be assigned the same token in the - following format: - `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. - """ - hook_type: str | None = ... - """The name of the Hook.""" - hook_status: str | None = ... - """Provides the status of the change set Hook.""" - hook_status_reason: str | None = ... - """Provides the reason for the Hook status.""" - hook_invocation_point: str | None = ... - """ - The specific point in the provisioning process where the Hook is - invoked. - """ - hook_invocation_id: str | None = ... - """The unique identifier of the Hook invocation.""" - hook_failure_mode: str | None = ... - """ - Specify the Hook failure mode for non-compliant resources in the - followings ways. - - - `FAIL` Stops provisioning resources. - - - `WARN` Allows provisioning to continue with a warning message. - """ - detailed_status: str | None = ... - """ - An optional field that contains information about the detailed status of - the stack event. - - - `CONFIGURATION_COMPLETE` - all of the resources in the stack have - reached that event. For more information, see [Understand - CloudFormation stack creation - events](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html) - in the *CloudFormation User Guide*. - - - - - `VALIDATION_FAILED` - template validation failed because of invalid - properties in the template. The `ResourceStatusReason` field shows - what properties are defined incorrectly. - """ - -@dataclass(kw_only=True) -class StackInstance(_SerdeShape): - """ - A CloudFormation stack, in a specific account and Region, that's part - of a StackSet operation. A stack instance is a reference to an attempted - or actual stack in a given account within a given Region. A stack - instance can exist without a stack---for example, if the stack couldn't - be created for some reason. A stack instance is associated with only one - StackSet. Each stack instance contains the ID of its associated - StackSet, in addition to the ID of the actual stack and the stack - status. - """ - - stack_set_id: str | None = ... - """ - The name or unique ID of the StackSet that the stack instance is - associated with. - """ - region: str | None = ... - """ - The name of the Amazon Web Services Region that the stack instance is - associated with. - """ - account: str | None = ... - """ - [Self-managed permissions] The name of the Amazon Web Services account - that the stack instance is associated with. - """ - stack_id: str | None = ... - """The ID of the stack instance.""" - parameter_overrides: list[Parameter] | None = ... - """ - A list of parameters from the StackSet template whose values have been - overridden in this stack instance. - """ - status: str | None = ... - """ - The status of the stack instance, in terms of its synchronization with - its associated stack set. - - - `INOPERABLE`: A `DeleteStackInstances` operation has failed and left - the stack in an unstable state. Stacks in this state are excluded from - further `UpdateStackSet` operations. You might need to perform a - `DeleteStackInstances` operation, with `RetainStacks` set to `true`, - to delete the stack instance, and then delete the stack manually. - `INOPERABLE` can be returned here when the cause is a failed import. - If it's due to a failed import, the operation can be retried once the - failures are fixed. To see if this is due to a failed import, look at - the `DetailedStatus` member in the `StackInstanceSummary` member that - is a peer to this `Status` member. - - - `OUTDATED`: The stack isn't currently up to date with the StackSet - because: - - - The associated stack failed during a `CreateStackSet` or - `UpdateStackSet` operation. - - - The stack was part of a `CreateStackSet` or `UpdateStackSet` - operation that failed or was stopped before the stack was created or - updated. - - - `CURRENT`: The stack is currently up to date with the StackSet. - """ - stack_instance_status: StackInstanceComprehensiveStatus | None = ... - """The detailed status of the stack instance.""" - status_reason: str | None = ... - """ - The explanation for the specific status code that's assigned to this - stack instance. - """ - organizational_unit_id: str | None = ... - """ - [Service-managed permissions] The organization root ID or - organizational unit (OU) IDs that you specified for - [DeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html). - """ - drift_status: str | None = ... - """ - Status of the stack instance's actual configuration compared to the - expected template and parameter configuration of the StackSet it belongs - to. - - - `DRIFTED`: The stack differs from the expected template and parameter - configuration of the StackSet it belongs to. A stack instance is - considered to have drifted if one or more of the resources in the - associated stack have drifted. - - - `NOT_CHECKED`: CloudFormation hasn't checked if the stack instance - differs from its expected StackSet configuration. - - - `IN_SYNC`: The stack instance's actual configuration matches its - expected StackSset configuration. - - - `UNKNOWN`: This value is reserved for future use. - """ - last_drift_check_timestamp: datetime | None = ... - """ - Most recent time when CloudFormation performed a drift detection - operation on the stack instance. This value will be `NULL` for any stack - instance that drift detection hasn't yet been performed on. - """ - last_operation_id: str | None = ... - """ - The last unique ID of a StackSet operation performed on a stack - instance. - """ - -@dataclass(kw_only=True) -class StackInstanceComprehensiveStatus(_SerdeShape): - """The detailed status of the stack instance.""" - - detailed_status: str | None = ... - """ - - `CANCELLED`: The operation in the specified account and Region has - been canceled. This is either because a user has stopped the StackSet - operation, or because the failure tolerance of the StackSet operation - has been exceeded. - - - `FAILED`: The operation in the specified account and Region failed. If - the StackSet operation fails in enough accounts within a Region, the - failure tolerance for the StackSet operation as a whole might be - exceeded. - - - `FAILED_IMPORT`: The import of the stack instance in the specified - account and Region failed and left the stack in an unstable state. - Once the issues causing the failure are fixed, the import operation - can be retried. If enough StackSet operations fail in enough accounts - within a Region, the failure tolerance for the StackSet operation as a - whole might be exceeded. - - - `INOPERABLE`: A `DeleteStackInstances` operation has failed and left - the stack in an unstable state. Stacks in this state are excluded from - further `UpdateStackSet` operations. You might need to perform a - `DeleteStackInstances` operation, with `RetainStacks` set to `true`, - to delete the stack instance, and then delete the stack manually. - - - `PENDING`: The operation in the specified account and Region has yet - to start. - - - `RUNNING`: The operation in the specified account and Region is - currently in progress. - - - `SKIPPED_SUSPENDED_ACCOUNT`: The operation in the specified account - and Region has been skipped because the account was suspended at the - time of the operation. - - - `SUCCEEDED`: The operation in the specified account and Region - completed successfully. - """ - -class StackInstanceDetailedStatus(UnknownEnumMixin, StrEnum): - PENDING = "PENDING" - RUNNING = "RUNNING" - SUCCEEDED = "SUCCEEDED" - FAILED = "FAILED" - CANCELLED = "CANCELLED" - INOPERABLE = "INOPERABLE" - SKIPPED_SUSPENDED_ACCOUNT = "SKIPPED_SUSPENDED_ACCOUNT" - FAILED_IMPORT = "FAILED_IMPORT" - -@dataclass(kw_only=True) -class StackInstanceFilter(_SerdeShape): - """The filter to apply to stack instances""" - - name: str | None = ... - """The type of filter to apply.""" - values: str | None = ... - """The status to filter by.""" - -class StackInstanceFilterName(UnknownEnumMixin, StrEnum): - DETAILED_STATUS = "DETAILED_STATUS" - LAST_OPERATION_ID = "LAST_OPERATION_ID" - DRIFT_STATUS = "DRIFT_STATUS" - -@dataclass(kw_only=True) -class StackInstanceNotFoundException(ServiceError, _SerdeShape): - """The specified stack instance doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StackInstanceResourceDriftsSummary(_SerdeShape): - """ - The structure containing summary information about resource drifts for a - stack instance. - """ - - stack_id: str | None = ... - """The ID of the stack instance.""" - logical_resource_id: str | None = ... - """The logical name of the resource specified in the template.""" - physical_resource_id: str | None = ... - """ - The name or unique identifier that corresponds to a physical instance ID - of a resource supported by CloudFormation. - """ - physical_resource_id_context: ( - list[PhysicalResourceIdContextKeyValuePair] | None - ) = ... - """ - Context information that enables CloudFormation to uniquely identify a - resource. CloudFormation uses context key-value pairs in cases where a - resource's logical and physical IDs aren't enough to uniquely identify - that resource. Each context key-value pair specifies a unique resource - that contains the targeted resource. - """ - resource_type: str | None = ... - """ - Type of resource. For more information, see [Amazon Web Services - resource and property types - reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) - in the *CloudFormation User Guide*. - """ - property_differences: list[PropertyDifference] | None = ... - """ - Status of the actual configuration of the resource compared to its - expected configuration. These will be present only for resources whose - `StackInstanceResourceDriftStatus` is `MODIFIED`. - """ - stack_resource_drift_status: str | None = ... - """ - The drift status of the resource in a stack instance. - - - `DELETED`: The resource differs from its expected template - configuration in that the resource has been deleted. - - - `MODIFIED`: One or more resource properties differ from their expected - template values. - - - `IN_SYNC`: The resource's actual configuration matches its expected - template configuration. - - - `NOT_CHECKED`: CloudFormation doesn't currently return this value. - """ - timestamp: datetime | None = ... - """ - Time at which the stack instance drift detection operation was - initiated. - """ - -class StackInstanceStatus(UnknownEnumMixin, StrEnum): - CURRENT = "CURRENT" - OUTDATED = "OUTDATED" - INOPERABLE = "INOPERABLE" - -@dataclass(kw_only=True) -class StackInstanceSummary(_SerdeShape): - """The structure that contains summary information about a stack instance.""" - - stack_set_id: str | None = ... - """ - The name or unique ID of the StackSet that the stack instance is - associated with. - """ - region: str | None = ... - """ - The name of the Amazon Web Services Region that the stack instance is - associated with. - """ - account: str | None = ... - """ - [Self-managed permissions] The name of the Amazon Web Services account - that the stack instance is associated with. - """ - stack_id: str | None = ... - """The ID of the stack instance.""" - status: str | None = ... - """ - The status of the stack instance, in terms of its synchronization with - its associated stack set. - - - `INOPERABLE`: A `DeleteStackInstances` operation has failed and left - the stack in an unstable state. Stacks in this state are excluded from - further `UpdateStackSet` operations. You might need to perform a - `DeleteStackInstances` operation, with `RetainStacks` set to `true`, - to delete the stack instance, and then delete the stack manually. - `INOPERABLE` can be returned here when the cause is a failed import. - If it's due to a failed import, the operation can be retried once the - failures are fixed. To see if this is due to a failed import, call the - DescribeStackInstance API operation, look at the `DetailedStatus` - member returned in the `StackInstanceSummary` member. - - - `OUTDATED`: The stack isn't currently up to date with the StackSet - because: - - - The associated stack failed during a `CreateStackSet` or - `UpdateStackSet` operation. - - - The stack was part of a `CreateStackSet` or `UpdateStackSet` - operation that failed or was stopped before the stack was created or - updated. - - - `CURRENT`: The stack is currently up to date with the StackSet. - """ - status_reason: str | None = ... - """ - The explanation for the specific status code assigned to this stack - instance. - """ - stack_instance_status: StackInstanceComprehensiveStatus | None = ... - """The detailed status of the stack instance.""" - organizational_unit_id: str | None = ... - """ - [Service-managed permissions] The organization root ID or - organizational unit (OU) IDs that you specified for - [DeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html). - """ - drift_status: str | None = ... - """ - Status of the stack instance's actual configuration compared to the - expected template and parameter configuration of the StackSet it belongs - to. - - - `DRIFTED`: The stack differs from the expected template and parameter - configuration of the StackSet it belongs to. A stack instance is - considered to have drifted if one or more of the resources in the - associated stack have drifted. - - - `NOT_CHECKED`: CloudFormation hasn't checked if the stack instance - differs from its expected StackSet configuration. - - - `IN_SYNC`: The stack instance's actual configuration matches its - expected StackSet configuration. - - - `UNKNOWN`: This value is reserved for future use. - """ - last_drift_check_timestamp: datetime | None = ... - """ - Most recent time when CloudFormation performed a drift detection - operation on the stack instance. This value will be `NULL` for any stack - instance that drift detection hasn't yet been performed on. - """ - last_operation_id: str | None = ... - """ - The last unique ID of a StackSet operation performed on a stack - instance. - """ - -@dataclass(kw_only=True) -class StackNotFoundException(ServiceError, _SerdeShape): - """ - The specified stack ARN doesn't exist or stack doesn't exist - corresponding to the ARN in input. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StackRefactorAction(_SerdeShape): - """ - Describes the stack and the action that CloudFormation will perform on - it if you execute the stack refactor. - """ - - action: str | None = ... - """The action that CloudFormation takes on the stack.""" - entity: str | None = ... - """ - The type that will be evaluated in the `StackRefactorAction`. The - following are potential `Entity` types: - - - `Stack` - - - `Resource` - """ - physical_resource_id: str | None = ... - """ - The name or unique identifier associated with the physical instance of - the resource. - """ - resource_identifier: str | None = ... - """ - A key-value pair that identifies the target resource. The key is an - identifier property (for example, `BucketName` for `AWS::S3::Bucket` - resources) and the value is the actual property value (for example, - `MyS3Bucket`). - """ - description: str | None = ... - """A description to help you identify the refactor.""" - detection: str | None = ... - """ - The detection type is one of the following: - - - Auto: CloudFormation figured out the mapping on its own. - - - Manual: The customer provided the mapping in the `ResourceMapping` - parameter. - """ - detection_reason: str | None = ... - """The description of the detection type.""" - tag_resources: list[Tag] | None = ... - """Assigns one or more tags to specified resources.""" - untag_resources: list[str] | None = ... - """Removes one or more tags to specified resources.""" - resource_mapping: ResourceMapping | None = ... - """ - The mapping for the stack resource `Source` and stack resource - `Destination`. - """ - -class StackRefactorActionEntity(UnknownEnumMixin, StrEnum): - RESOURCE = "RESOURCE" - STACK = "STACK" - -class StackRefactorActionType(UnknownEnumMixin, StrEnum): - MOVE = "MOVE" - CREATE = "CREATE" - -class StackRefactorDetection(UnknownEnumMixin, StrEnum): - AUTO = "AUTO" - MANUAL = "MANUAL" - -class StackRefactorExecutionStatus(UnknownEnumMixin, StrEnum): - UNAVAILABLE = "UNAVAILABLE" - AVAILABLE = "AVAILABLE" - OBSOLETE = "OBSOLETE" - EXECUTE_IN_PROGRESS = "EXECUTE_IN_PROGRESS" - EXECUTE_COMPLETE = "EXECUTE_COMPLETE" - EXECUTE_FAILED = "EXECUTE_FAILED" - ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" - ROLLBACK_COMPLETE = "ROLLBACK_COMPLETE" - ROLLBACK_FAILED = "ROLLBACK_FAILED" - -@dataclass(kw_only=True) -class StackRefactorNotFoundException(ServiceError, _SerdeShape): - """The specified stack refactor can't be found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class StackRefactorStatus(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" - CREATE_COMPLETE = "CREATE_COMPLETE" - CREATE_FAILED = "CREATE_FAILED" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - DELETE_COMPLETE = "DELETE_COMPLETE" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class StackRefactorSummary(_SerdeShape): - """The summary of a stack refactor operation.""" - - stack_refactor_id: str | None = ... - """ - The ID associated with the stack refactor created from the - CreateStackRefactor action. - """ - description: str | None = ... - """A description to help you identify the refactor.""" - execution_status: str | None = ... - """ - The operation status that's provided after calling the - ExecuteStackRefactor action. - """ - execution_status_reason: str | None = ... - """A detailed explanation for the stack refactor `ExecutionStatus`.""" - status: str | None = ... - """ - The stack refactor operation status that's provided after calling the - CreateStackRefactor action. - """ - status_reason: str | None = ... - """A detailed explanation for the stack refactor `Status`.""" - -@dataclass(kw_only=True) -class StackResource(_SerdeShape): - """The `StackResource` data type.""" - - stack_name: str | None = ... - """The name associated with the stack.""" - stack_id: str | None = ... - """Unique identifier of the stack.""" - logical_resource_id: str | None = ... - """The logical name of the resource specified in the template.""" - physical_resource_id: str | None = ... - """ - The name or unique identifier that corresponds to a physical instance ID - of a resource supported by CloudFormation. - """ - resource_type: str | None = ... - """ - Type of resource. For more information, see [Amazon Web Services - resource and property types - reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) - in the *CloudFormation User Guide*. - """ - timestamp: datetime | None = ... - """Time the status was updated.""" - resource_status: str | None = ... - """Current status of the resource.""" - resource_status_reason: str | None = ... - """Success/failure message associated with the resource.""" - description: str | None = ... - """User defined description associated with the resource.""" - drift_information: StackResourceDriftInformation | None = ... - """ - Information about whether the resource's actual configuration differs, - or has *drifted*, from its expected configuration, as defined in the - stack template and any values specified as template parameters. For more - information, see [Detect unmanaged configuration changes to stacks and - resources with drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). - """ - module_info: ModuleInfo | None = ... - """ - Contains information about the module from which the resource was - created, if the resource was created from a module included in the stack - template. - """ - -@dataclass(kw_only=True) -class StackResourceDetail(_SerdeShape): - """Contains detailed information about the specified stack resource.""" - - stack_name: str | None = ... - """The name associated with the stack.""" - stack_id: str | None = ... - """Unique identifier of the stack.""" - logical_resource_id: str | None = ... - """The logical name of the resource specified in the template.""" - physical_resource_id: str | None = ... - """ - The name or unique identifier that corresponds to a physical instance ID - of a resource supported by CloudFormation. - """ - resource_type: str | None = ... - """ - Type of resource. For more information, see [Amazon Web Services - resource and property types - reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) - in the *CloudFormation User Guide*. - """ - last_updated_timestamp: datetime | None = ... - """Time the status was updated.""" - resource_status: str | None = ... - """Current status of the resource.""" - resource_status_reason: str | None = ... - """Success/failure message associated with the resource.""" - description: str | None = ... - """User defined description associated with the resource.""" - metadata: str | None = ... - """ - The content of the `Metadata` attribute declared for the resource. For - more information, see [Metadata - attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html) - in the *CloudFormation User Guide*. - """ - drift_information: StackResourceDriftInformation | None = ... - """ - Information about whether the resource's actual configuration differs, - or has *drifted*, from its expected configuration, as defined in the - stack template and any values specified as template parameters. For more - information, see [Detect unmanaged configuration changes to stacks and - resources with drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). - """ - module_info: ModuleInfo | None = ... - """ - Contains information about the module from which the resource was - created, if the resource was created from a module included in the stack - template. - """ - -@dataclass(kw_only=True) -class StackResourceDrift(_SerdeShape): - """ - Contains the drift information for a resource that has been checked for - drift. This includes actual and expected property values for resources - in which CloudFormation has detected drift. Only resource properties - explicitly defined in the stack template are checked for drift. For more - information, see [Detect unmanaged configuration changes to stacks and - resources with drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). - - Resources that don't currently support drift detection can't be - checked. For a list of resources that support drift detection, see - [Resource type support for imports and drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html). - - Use DetectStackResourceDrift to detect drift on individual resources, or - DetectStackDrift to detect drift on all resources in a given stack that - support drift detection. - """ - - stack_id: str | None = ... - """The ID of the stack.""" - logical_resource_id: str | None = ... - """The logical name of the resource specified in the template.""" - physical_resource_id: str | None = ... - """ - The name or unique identifier that corresponds to a physical instance ID - of a resource supported by CloudFormation. - """ - physical_resource_id_context: ( - list[PhysicalResourceIdContextKeyValuePair] | None - ) = ... - """ - Context information that enables CloudFormation to uniquely identify a - resource. CloudFormation uses context key-value pairs in cases where a - resource's logical and physical IDs aren't enough to uniquely identify - that resource. Each context key-value pair specifies a unique resource - that contains the targeted resource. - """ - resource_type: str | None = ... - """The type of the resource.""" - expected_properties: str | None = ... - """ - A JSON structure that contains the expected property values of the stack - resource, as defined in the stack template and any values specified as - template parameters. - - For resources whose `StackResourceDriftStatus` is `DELETED`, this - structure will not be present. - """ - actual_properties: str | None = ... - """ - A JSON structure that contains the actual property values of the stack - resource. - - For resources whose `StackResourceDriftStatus` is `DELETED`, this - structure will not be present. - """ - property_differences: list[PropertyDifference] | None = ... - """ - A collection of the resource properties whose actual values differ from - their expected values. These will be present only for resources whose - `StackResourceDriftStatus` is `MODIFIED`. - """ - stack_resource_drift_status: str | None = ... - """ - Status of the resource's actual configuration compared to its expected - configuration. - - - `DELETED`: The resource differs from its expected template - configuration because the resource has been deleted. - - - `MODIFIED`: One or more resource properties differ from their expected - values (as defined in the stack template and any values specified as - template parameters). - - - `IN_SYNC`: The resource's actual configuration matches its expected - template configuration. - - - `NOT_CHECKED`: CloudFormation does not currently return this value. - - - `UNKNOWN`: CloudFormation could not run drift detection for the - resource. See the `DriftStatusReason` for details. - """ - timestamp: datetime | None = ... - """ - Time at which CloudFormation performed drift detection on the stack - resource. - """ - module_info: ModuleInfo | None = ... - """ - Contains information about the module from which the resource was - created, if the resource was created from a module included in the stack - template. - """ - drift_status_reason: str | None = ... - """The reason for the drift status.""" - -@dataclass(kw_only=True) -class StackResourceDriftInformation(_SerdeShape): - """ - Contains information about whether the resource's actual configuration - differs, or has *drifted*, from its expected configuration. - """ - - stack_resource_drift_status: str | None = ... - """ - Status of the resource's actual configuration compared to its expected - configuration - - - `DELETED`: The resource differs from its expected configuration in - that it has been deleted. - - - `MODIFIED`: The resource differs from its expected configuration. - - - `NOT_CHECKED`: CloudFormation has not checked if the resource differs - from its expected configuration. - - Any resources that do not currently support drift detection have a - status of `NOT_CHECKED`. For more information, see [Resource type - support for imports and drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html). - - - `IN_SYNC`: The resource's actual configuration matches its expected - configuration. - """ - last_check_timestamp: datetime | None = ... - """ - When CloudFormation last checked if the resource had drifted from its - expected configuration. - """ - -@dataclass(kw_only=True) -class StackResourceDriftInformationSummary(_SerdeShape): - """ - Summarizes information about whether the resource's actual - configuration differs, or has *drifted*, from its expected - configuration. - """ - - stack_resource_drift_status: str | None = ... - """ - Status of the resource's actual configuration compared to its expected - configuration. - - - `DELETED`: The resource differs from its expected configuration in - that it has been deleted. - - - `MODIFIED`: The resource differs from its expected configuration. - - - `NOT_CHECKED`: CloudFormation hasn't checked if the resource differs - from its expected configuration. - - Any resources that don't currently support drift detection have a - status of `NOT_CHECKED`. For more information, see [Resource type - support for imports and drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html). - If you performed a ContinueUpdateRollback operation on a stack, - resources skipped using `ResourcesToSkip` or `ForceRollback` also have - a status of `NOT_CHECKED`. To detect whether a skipped resource - actually differs from the template, run DetectStackResourceDrift. For - more information about skipping resources during rollback operations, - see [Continue rolling back an - update](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) - in the *CloudFormation User Guide*. - - - `IN_SYNC`: The resource's actual configuration matches its expected - configuration. - """ - last_check_timestamp: datetime | None = ... - """ - When CloudFormation last checked if the resource had drifted from its - expected configuration. - """ - -class StackResourceDriftStatus(UnknownEnumMixin, StrEnum): - IN_SYNC = "IN_SYNC" - MODIFIED = "MODIFIED" - DELETED = "DELETED" - NOT_CHECKED = "NOT_CHECKED" - UNKNOWN = "UNKNOWN" - UNSUPPORTED = "UNSUPPORTED" - -@dataclass(kw_only=True) -class StackResourceSummary(_SerdeShape): - """Contains high-level information about the specified stack resource.""" - - logical_resource_id: str | None = ... - """The logical name of the resource specified in the template.""" - physical_resource_id: str | None = ... - """ - The name or unique identifier that corresponds to a physical instance ID - of the resource. - """ - resource_type: str | None = ... - """ - Type of resource. (For more information, see [Amazon Web Services - resource and property types - reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) - in the *CloudFormation User Guide*.) - """ - last_updated_timestamp: datetime | None = ... - """Time the status was updated.""" - resource_status: str | None = ... - """Current status of the resource.""" - resource_status_reason: str | None = ... - """Success/failure message associated with the resource.""" - drift_information: StackResourceDriftInformationSummary | None = ... - """ - Information about whether the resource's actual configuration differs, - or has *drifted*, from its expected configuration, as defined in the - stack template and any values specified as template parameters. For more - information, see [Detect unmanaged configuration changes to stacks and - resources with drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). - """ - module_info: ModuleInfo | None = ... - """ - Contains information about the module from which the resource was - created, if the resource was created from a module included in the stack - template. - """ - -@dataclass(kw_only=True) -class StackSet(_SerdeShape): - """ - A structure that contains information about a StackSet. With StackSets, - you can provision stacks across Amazon Web Services accounts and Regions - from a single CloudFormation template. Each stack is based on the same - CloudFormation template, but you can customize individual stacks using - parameters. - """ - - stack_set_name: str | None = ... - """The name that's associated with the StackSet.""" - stack_set_id: str | None = ... - """The ID of the StackSet.""" - description: str | None = ... - """ - A description of the StackSet that you specify when the StackSet is - created or updated. - """ - status: str | None = ... - """The status of the StackSet.""" - template_body: str | None = ... - """ - The structure that contains the body of the template that was used to - create or update the StackSet. - """ - parameters: list[Parameter] | None = ... - """A list of input parameters for a StackSet.""" - capabilities: list[str] | None = ... - """ - The capabilities that are allowed in the StackSet. Some StackSet - templates might include resources that can affect permissions in your - Amazon Web Services account---for example, by creating new Identity and - Access Management (IAM) users. For more information, see [Acknowledging - IAM resources in CloudFormation - templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). - """ - tags: list[Tag] | None = ... - """ - A list of tags that specify information about the StackSet. A maximum - number of 50 tags can be specified. - """ - stack_set_arn: str | None = ... - """The Amazon Resource Name (ARN) of the StackSet.""" - administration_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role used to create or update - the stack set. - - Use customized administrator roles to control which users or groups can - manage specific StackSets within the same administrator account. For - more information, see [Prerequisites for using CloudFormation - StackSets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html) - in the *CloudFormation User Guide*. - """ - execution_role_name: str | None = ... - """ - The name of the IAM execution role used to create or update the - StackSet. - - Use customized execution roles to control which stack resources users - and groups can include in their StackSets. - """ - stack_set_drift_detection_details: StackSetDriftDetectionDetails | None = ... - """ - Detailed information about the drift status of the StackSet. - - For StackSets, contains information about the last *completed* drift - operation performed on the StackSet. Information about drift operations - currently in progress isn't included. - """ - auto_deployment: AutoDeployment | None = ... - """ - Describes whether StackSets automatically deploys to Organizations - accounts that are added to a target organization or organizational unit - (OU). Valid only if the StackSet uses service-managed permissions. - """ - permission_model: str | None = ... - """ - Describes how the IAM roles required for StackSet operations are - created. - - - With `self-managed` permissions, you must create the administrator and - execution roles required to deploy to target accounts. For more - information, see [Grant self-managed - permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html). - - - With `service-managed` permissions, StackSets automatically creates - the IAM roles required to deploy to accounts managed by Organizations. - For more information, see [Activate trusted access for StackSets with - Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html). - """ - organizational_unit_ids: list[str] | None = ... - """ - [Service-managed permissions] The organization root ID or - organizational unit (OU) IDs that you specified for - [DeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html). - """ - managed_execution: ManagedExecution | None = ... - """ - Describes whether StackSets performs non-conflicting operations - concurrently and queues conflicting operations. - """ - regions: list[str] | None = ... - """ - Returns a list of all Amazon Web Services Regions the given StackSet has - stack instances deployed in. The Amazon Web Services Regions list output - is in no particular order. - """ - -@dataclass(kw_only=True) -class StackSetAutoDeploymentTargetSummary(_SerdeShape): - """ - One of the targets for the StackSet. Returned by the - [ListStackSetAutoDeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStackSetAutoDeploymentTargets.html) - API operation. - """ - - organizational_unit_id: str | None = ... - """ - The organization root ID or organizational unit (OU) IDs where the - StackSet is targeted. - """ - regions: list[str] | None = ... - """The list of Regions targeted for this organization or OU.""" - -@dataclass(kw_only=True) -class StackSetDriftDetectionDetails(_SerdeShape): - """ - Detailed information about the drift status of the StackSet. - - For StackSets, contains information about the last *completed* drift - operation performed on the StackSet. Information about drift operations - in-progress isn't included. - - For StackSet operations, includes information about drift operations - currently being performed on the StackSet. - - For more information, see [Performing drift detection on CloudFormation - StackSets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html) - in the *CloudFormation User Guide*. - """ - - drift_status: str | None = ... - """ - Status of the StackSet's actual configuration compared to its expected - template and parameter configuration. - - - `DRIFTED`: One or more of the stack instances belonging to the - StackSet differs from the expected template and parameter - configuration. A stack instance is considered to have drifted if one - or more of the resources in the associated stack have drifted. - - - `NOT_CHECKED`: CloudFormation hasn't checked the StackSet for drift. - - - `IN_SYNC`: All of the stack instances belonging to the StackSet stack - match the expected template and parameter configuration. - """ - drift_detection_status: str | None = ... - """ - The status of the StackSet drift detection operation. - - - `COMPLETED`: The drift detection operation completed without failing - on any stack instances. - - - `FAILED`: The drift detection operation exceeded the specified failure - tolerance. - - - `PARTIAL_SUCCESS`: The drift detection operation completed without - exceeding the failure tolerance for the operation. - - - `IN_PROGRESS`: The drift detection operation is currently being - performed. - - - `STOPPED`: The user has canceled the drift detection operation. - """ - last_drift_check_timestamp: datetime | None = ... - """ - Most recent time when CloudFormation performed a drift detection - operation on the StackSet. This value will be `NULL` for any StackSet - that drift detection hasn't yet been performed on. - """ - total_stack_instances_count: int | None = ... - """ - The total number of stack instances belonging to this StackSet. - - The total number of stack instances is equal to the total of: - - - Stack instances that match the StackSet configuration. - - - Stack instances that have drifted from the StackSet configuration. - - - Stack instances where the drift detection operation has failed. - - - Stack instances currently being checked for drift. - """ - drifted_stack_instances_count: int | None = ... - """ - The number of stack instances that have drifted from the expected - template and parameter configuration of the StackSet. A stack instance - is considered to have drifted if one or more of the resources in the - associated stack don't match their expected configuration. - """ - in_sync_stack_instances_count: int | None = ... - """ - The number of stack instances which match the expected template and - parameter configuration of the StackSet. - """ - in_progress_stack_instances_count: int | None = ... - """ - The number of stack instances that are currently being checked for - drift. - """ - failed_stack_instances_count: int | None = ... - """ - The number of stack instances for which the drift detection operation - failed. - """ - -class StackSetDriftDetectionStatus(UnknownEnumMixin, StrEnum): - COMPLETED = "COMPLETED" - FAILED = "FAILED" - PARTIAL_SUCCESS = "PARTIAL_SUCCESS" - IN_PROGRESS = "IN_PROGRESS" - STOPPED = "STOPPED" - -class StackSetDriftStatus(UnknownEnumMixin, StrEnum): - DRIFTED = "DRIFTED" - IN_SYNC = "IN_SYNC" - NOT_CHECKED = "NOT_CHECKED" - -@dataclass(kw_only=True) -class StackSetNotEmptyException(ServiceError, _SerdeShape): - """ - You can't yet delete this StackSet, because it still contains one or - more stack instances. Delete all stack instances from the StackSet - before deleting the StackSet. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StackSetNotFoundException(ServiceError, _SerdeShape): - """The specified StackSet doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StackSetOperation(_SerdeShape): - """The structure that contains information about a StackSet operation.""" - - operation_id: str | None = ... - """The unique ID of a StackSet operation.""" - stack_set_id: str | None = ... - """The ID of the StackSet.""" - action: str | None = ... - """ - The type of StackSet operation: `CREATE`, `UPDATE`, or `DELETE`. Create - and delete operations affect only the specified stack instances that are - associated with the specified StackSet. Update operations affect both - the StackSet itself, in addition to *all* associated stack instances. - """ - status: str | None = ... - """ - The status of the operation. - - - `FAILED`: The operation exceeded the specified failure tolerance. The - failure tolerance value that you've set for an operation is applied - for each Region during stack create and update operations. If the - number of failed stacks within a Region exceeds the failure tolerance, - the status of the operation in the Region is set to `FAILED`. This in - turn sets the status of the operation as a whole to `FAILED`, and - CloudFormation cancels the operation in any remaining Regions. - - - `QUEUED`: [Service-managed permissions] For automatic deployments - that require a sequence of operations, the operation is queued to be - performed. For more information, see the [StackSets status - codes](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes) - in the *CloudFormation User Guide*. - - - `RUNNING`: The operation is currently being performed. - - - `STOPPED`: The user has canceled the operation. - - - `STOPPING`: The operation is in the process of stopping, at user - request. - - - `SUCCEEDED`: The operation completed creating or updating all the - specified stacks without exceeding the failure tolerance for the - operation. - """ - operation_preferences: StackSetOperationPreferences | None = ... - """The preferences for how CloudFormation performs this StackSet operation.""" - retain_stacks: bool | None = ... - """ - For StackSet operations of action type `DELETE`, specifies whether to - remove the stack instances from the specified StackSet, but doesn't - delete the stacks. You can't re-associate a retained stack, or add an - existing, saved stack to a new StackSet. - """ - administration_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role used to perform this - StackSet operation. - - Use customized administrator roles to control which users or groups can - manage specific StackSets within the same administrator account. For - more information, see [Grant self-managed - permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html) - in the *CloudFormation User Guide*. - """ - execution_role_name: str | None = ... - """ - The name of the IAM execution role used to create or update the - StackSet. - - Use customized execution roles to control which stack resources users - and groups can include in their StackSets. - """ - creation_timestamp: datetime | None = ... - """ - The time at which the operation was initiated. Note that the creation - times for the stack set operation might differ from the creation time of - the individual stacks themselves. This is because CloudFormation needs - to perform preparatory work for the operation, such as dispatching the - work to the requested Regions, before actually creating the first - stacks. - """ - end_timestamp: datetime | None = ... - """ - The time at which the StackSet operation ended, across all accounts and - Regions specified. Note that this doesn't necessarily mean that the - StackSet operation was successful, or even attempted, in each account or - Region. - """ - deployment_targets: DeploymentTargets | None = ... - """ - The Organizations accounts affected by the stack operation. Valid only - if the StackSet uses service-managed permissions. - """ - stack_set_drift_detection_details: StackSetDriftDetectionDetails | None = ... - """ - Detailed information about the drift status of the StackSet. This - includes information about drift operations currently being performed on - the StackSet. - - This information will only be present for StackSet operations whose - `Action` type is `DETECT_DRIFT`. - - For more information, see [Performing drift detection on CloudFormation - StackSets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html) - in the *CloudFormation User Guide*. - """ - status_reason: str | None = ... - """The status of the operation in details.""" - status_details: StackSetOperationStatusDetails | None = ... - """Detailed information about the StackSet operation.""" - -class StackSetOperationAction(UnknownEnumMixin, StrEnum): - CREATE = "CREATE" - UPDATE = "UPDATE" - DELETE = "DELETE" - DETECT_DRIFT = "DETECT_DRIFT" - -@dataclass(kw_only=True) -class StackSetOperationPreferences(_SerdeShape): - """ - The user-specified preferences for how CloudFormation performs a - StackSet operation. - - For more information about maximum concurrent accounts and failure - tolerance, see [StackSet operation - options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). - - Note: - `StackSetOperationPreferences` don't apply to `AutoDeployment`, even if - it's enabled. - """ - - region_concurrency_type: str | None = ... - """ - The concurrency type of deploying StackSets operations in Regions, could - be in parallel or one Region at a time. - """ - region_order: list[str] | None = ... - """The order of the Regions where you want to perform the stack operation.""" - failure_tolerance_count: int | None = ... - """ - The number of accounts per Region this operation can fail in before - CloudFormation stops the operation in that Region. If the operation is - stopped in a Region, CloudFormation doesn't attempt the operation in - any subsequent Regions. - - You can specify either `FailureToleranceCount` or - `FailureTolerancePercentage`, but not both. - - By default, `0` is specified. - """ - failure_tolerance_percentage: int | None = ... - """ - The percentage of accounts per Region this stack operation can fail in - before CloudFormation stops the operation in that Region. If the - operation is stopped in a Region, CloudFormation doesn't attempt the - operation in any subsequent Regions. - - When calculating the number of accounts based on the specified - percentage, CloudFormation rounds *down* to the next whole number. - - You can specify either `FailureToleranceCount` or - `FailureTolerancePercentage`, but not both. - - By default, `0` is specified. - """ - max_concurrent_count: int | None = ... - """ - The maximum number of accounts in which to perform this operation at one - time. This can depend on the value of `FailureToleranceCount` depending - on your `ConcurrencyMode`. `MaxConcurrentCount` is at most one more than - the `FailureToleranceCount` if you're using `STRICT_FAILURE_TOLERANCE`. - - Note that this setting lets you specify the *maximum* for operations. - For large deployments, under certain circumstances the actual number of - accounts acted upon concurrently may be lower due to service throttling. - - You can specify either `MaxConcurrentCount` or - `MaxConcurrentPercentage`, but not both. - - By default, `1` is specified. - """ - max_concurrent_percentage: int | None = ... - """ - The maximum percentage of accounts in which to perform this operation at - one time. - - When calculating the number of accounts based on the specified - percentage, CloudFormation rounds down to the next whole number. This is - true except in cases where rounding down would result is zero. In this - case, CloudFormation sets the number as one instead. - - Note that this setting lets you specify the *maximum* for operations. - For large deployments, under certain circumstances the actual number of - accounts acted upon concurrently may be lower due to service throttling. - - You can specify either `MaxConcurrentCount` or - `MaxConcurrentPercentage`, but not both. - - By default, `1` is specified. - """ - concurrency_mode: str | None = ... - """ - Specifies how the concurrency level behaves during the operation - execution. - - - `STRICT_FAILURE_TOLERANCE`: This option dynamically lowers the - concurrency level to ensure the number of failed accounts never - exceeds the value of `FailureToleranceCount` +1. The initial actual - concurrency is set to the lower of either the value of the - `MaxConcurrentCount`, or the value of `FailureToleranceCount` +1. The - actual concurrency is then reduced proportionally by the number of - failures. This is the default behavior. - - If failure tolerance or Maximum concurrent accounts are set to - percentages, the behavior is similar. - - - `SOFT_FAILURE_TOLERANCE`: This option decouples - `FailureToleranceCount` from the actual concurrency. This allows - StackSet operations to run at the concurrency level set by the - `MaxConcurrentCount` value, or `MaxConcurrentPercentage`, regardless - of the number of failures. - """ - -class StackSetOperationResultStatus(UnknownEnumMixin, StrEnum): - PENDING = "PENDING" - RUNNING = "RUNNING" - SUCCEEDED = "SUCCEEDED" - FAILED = "FAILED" - CANCELLED = "CANCELLED" - -@dataclass(kw_only=True) -class StackSetOperationResultSummary(_SerdeShape): - """ - The structure that contains information about a specified operation's - results for a given account in a given Region. - """ - - account: str | None = ... - """ - [Self-managed permissions] The name of the Amazon Web Services account - for this operation result. - """ - region: str | None = ... - """The name of the Amazon Web Services Region for this operation result.""" - status: str | None = ... - """ - The result status of the StackSet operation for the given account in the - given Region. - - - `CANCELLED`: The operation in the specified account and Region has - been canceled. This is either because a user has stopped the StackSet - operation, or because the failure tolerance of the StackSet operation - has been exceeded. - - - `FAILED`: The operation in the specified account and Region failed. - - If the StackSet operation fails in enough accounts within a Region, - the failure tolerance for the StackSet operation as a whole might be - exceeded. - - - `RUNNING`: The operation in the specified account and Region is - currently in progress. - - - `PENDING`: The operation in the specified account and Region has yet - to start. - - - `SUCCEEDED`: The operation in the specified account and Region - completed successfully. - """ - status_reason: str | None = ... - """The reason for the assigned result status.""" - account_gate_result: AccountGateResult | None = ... - """ - The results of the account gate function CloudFormation invokes, if - present, before proceeding with StackSet operations in an account. - """ - organizational_unit_id: str | None = ... - """ - [Service-managed permissions] The organization root ID or - organizational unit (OU) IDs that you specified for - [DeploymentTargets](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html). - """ - -class StackSetOperationStatus(UnknownEnumMixin, StrEnum): - RUNNING = "RUNNING" - SUCCEEDED = "SUCCEEDED" - FAILED = "FAILED" - STOPPING = "STOPPING" - STOPPED = "STOPPED" - QUEUED = "QUEUED" - -@dataclass(kw_only=True) -class StackSetOperationStatusDetails(_SerdeShape): - """Detailed information about the StackSet operation.""" - - failed_stack_instances_count: int | None = ... - """The number of stack instances for which the StackSet operation failed.""" - -@dataclass(kw_only=True) -class StackSetOperationSummary(_SerdeShape): - """ - The structures that contain summary information about the specified - operation. - """ - - operation_id: str | None = ... - """The unique ID of the StackSet operation.""" - action: str | None = ... - """ - The type of operation: `CREATE`, `UPDATE`, or `DELETE`. Create and - delete operations affect only the specified stack instances that are - associated with the specified StackSet. Update operations affect both - the StackSet itself and *all* associated StackSet instances. - """ - status: str | None = ... - """ - The overall status of the operation. - - - `FAILED`: The operation exceeded the specified failure tolerance. The - failure tolerance value that you've set for an operation is applied - for each Region during stack create and update operations. If the - number of failed stacks within a Region exceeds the failure tolerance, - the status of the operation in the Region is set to `FAILED`. This in - turn sets the status of the operation as a whole to `FAILED`, and - CloudFormation cancels the operation in any remaining Regions. - - - `QUEUED`: [Service-managed permissions] For automatic deployments - that require a sequence of operations, the operation is queued to be - performed. For more information, see the [StackSet status - codes](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes) - in the *CloudFormation User Guide*. - - - `RUNNING`: The operation is currently being performed. - - - `STOPPED`: The user has canceled the operation. - - - `STOPPING`: The operation is in the process of stopping, at user - request. - - - `SUCCEEDED`: The operation completed creating or updating all the - specified stacks without exceeding the failure tolerance for the - operation. - """ - creation_timestamp: datetime | None = ... - """ - The time at which the operation was initiated. Note that the creation - times for the StackSet operation might differ from the creation time of - the individual stacks themselves. This is because CloudFormation needs - to perform preparatory work for the operation, such as dispatching the - work to the requested Regions, before actually creating the first - stacks. - """ - end_timestamp: datetime | None = ... - """ - The time at which the StackSet operation ended, across all accounts and - Regions specified. Note that this doesn't necessarily mean that the - StackSet operation was successful, or even attempted, in each account or - Region. - """ - status_reason: str | None = ... - """The status of the operation in details.""" - status_details: StackSetOperationStatusDetails | None = ... - """Detailed information about the StackSet operation.""" - operation_preferences: StackSetOperationPreferences | None = ... - """ - The user-specified preferences for how CloudFormation performs a - StackSet operation. - - For more information about maximum concurrent accounts and failure - tolerance, see [StackSet operation - options](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options). - """ - -class StackSetStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - DELETED = "DELETED" - -@dataclass(kw_only=True) -class StackSetSummary(_SerdeShape): - """ - The structures that contain summary information about the specified - StackSet. - """ - - stack_set_name: str | None = ... - """The name of the StackSet.""" - stack_set_id: str | None = ... - """The ID of the StackSet.""" - description: str | None = ... - """ - A description of the StackSet that you specify when the StackSet is - created or updated. - """ - status: str | None = ... - """The status of the StackSet.""" - auto_deployment: AutoDeployment | None = ... - """ - [Service-managed permissions] Describes whether StackSets - automatically deploys to Organizations accounts that are added to a - target organizational unit (OU). - """ - permission_model: str | None = ... - """ - Describes how the IAM roles required for StackSet operations are - created. - - - With `self-managed` permissions, you must create the administrator and - execution roles required to deploy to target accounts. For more - information, see [Grant self-managed - permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html). - - - With `service-managed` permissions, StackSets automatically creates - the IAM roles required to deploy to accounts managed by Organizations. - For more information, see [Activate trusted access for StackSets with - Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html). - """ - drift_status: str | None = ... - """ - Status of the StackSet's actual configuration compared to its expected - template and parameter configuration. - - - `DRIFTED`: One or more of the stack instances belonging to the - StackSet differs from the expected template and parameter - configuration. A stack instance is considered to have drifted if one - or more of the resources in the associated stack have drifted. - - - `NOT_CHECKED`: CloudFormation hasn't checked the StackSet for drift. - - - `IN_SYNC`: All the stack instances belonging to the StackSet match the - expected template and parameter configuration. - - - `UNKNOWN`: This value is reserved for future use. - """ - last_drift_check_timestamp: datetime | None = ... - """ - Most recent time when CloudFormation performed a drift detection - operation on the StackSet. This value will be `NULL` for any StackSet - that drift detection hasn't yet been performed on. - """ - managed_execution: ManagedExecution | None = ... - """ - Describes whether StackSets performs non-conflicting operations - concurrently and queues conflicting operations. - """ - -class StackStatus(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" - CREATE_FAILED = "CREATE_FAILED" - CREATE_COMPLETE = "CREATE_COMPLETE" - ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" - ROLLBACK_FAILED = "ROLLBACK_FAILED" - ROLLBACK_COMPLETE = "ROLLBACK_COMPLETE" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - DELETE_FAILED = "DELETE_FAILED" - DELETE_COMPLETE = "DELETE_COMPLETE" - UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" - UPDATE_COMPLETE_CLEANUP_IN_PROGRESS = "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" - UPDATE_COMPLETE = "UPDATE_COMPLETE" - UPDATE_FAILED = "UPDATE_FAILED" - UPDATE_ROLLBACK_IN_PROGRESS = "UPDATE_ROLLBACK_IN_PROGRESS" - UPDATE_ROLLBACK_FAILED = "UPDATE_ROLLBACK_FAILED" - UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS = ( - "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" - ) - UPDATE_ROLLBACK_COMPLETE = "UPDATE_ROLLBACK_COMPLETE" - REVIEW_IN_PROGRESS = "REVIEW_IN_PROGRESS" - IMPORT_IN_PROGRESS = "IMPORT_IN_PROGRESS" - IMPORT_COMPLETE = "IMPORT_COMPLETE" - IMPORT_ROLLBACK_IN_PROGRESS = "IMPORT_ROLLBACK_IN_PROGRESS" - IMPORT_ROLLBACK_FAILED = "IMPORT_ROLLBACK_FAILED" - IMPORT_ROLLBACK_COMPLETE = "IMPORT_ROLLBACK_COMPLETE" - -@dataclass(kw_only=True) -class StackSummary(_SerdeShape): - """The `StackSummary` Data Type""" - - stack_id: str | None = ... - """Unique stack identifier.""" - stack_name: str | None = ... - """The name associated with the stack.""" - template_description: str | None = ... - """The template description of the template used to create the stack.""" - creation_time: datetime | None = ... - """The time the stack was created.""" - last_updated_time: datetime | None = ... - """ - The time the stack was last updated. This field will only be returned if - the stack has been updated at least once. - """ - deletion_time: datetime | None = ... - """The time the stack was deleted.""" - stack_status: str | None = ... - """The current status of the stack.""" - stack_status_reason: str | None = ... - """Success/Failure message associated with the stack status.""" - parent_id: str | None = ... - """ - For nested stacks, the stack ID of the direct parent of this stack. For - the first level of nested stacks, the root stack is also the parent - stack. - - For more information, see [Nested - stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) - in the *CloudFormation User Guide*. - """ - root_id: str | None = ... - """ - For nested stacks, the stack ID of the top-level stack to which the - nested stack ultimately belongs. - - For more information, see [Nested - stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html) - in the *CloudFormation User Guide*. - """ - drift_information: StackDriftInformationSummary | None = ... - """ - Summarizes information about whether a stack's actual configuration - differs, or has *drifted*, from its expected configuration, as defined - in the stack template and any values specified as template parameters. - For more information, see [Detect unmanaged configuration changes to - stacks and resources with drift - detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). - """ - last_operations: list[OperationEntry] | None = ... - """Information about the most recent operations performed on this stack.""" - -@dataclass(kw_only=True) -class StaleRequestException(ServiceError, _SerdeShape): - """ - Another operation has been performed on this StackSet since the - specified operation was performed. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartResourceScanInput(_SerdeShape): - """Dataclass for StartResourceScanInput structure.""" - - client_request_token: str | None = ... - """ - A unique identifier for this `StartResourceScan` request. Specify this - token if you plan to retry requests so that CloudFormation knows that - you're not attempting to start a new resource scan. - """ - scan_filters: list[ScanFilter] | None = ... - """The scan filters to use.""" - -@dataclass(kw_only=True) -class StartResourceScanOutput(_SerdeShape): - """Dataclass for StartResourceScanOutput structure.""" - - resource_scan_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource scan. The format is - `arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}`. - An example is - `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:resourceScan/`*`f5b490f7-7ed4-428a-aa06-31ff25db0772`*` `. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopStackSetOperationInput(_SerdeShape): - """Dataclass for StopStackSetOperationInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet that you want to stop the - operation for. - """ - operation_id: str | None = ... - """The ID of the stack operation.""" - call_as: str | None = ... - """ - Specifies whether you are acting as an account administrator in the - organization's management account or as a delegated administrator in a - member account. Valid only if the StackSet uses service-managed - permissions. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class StopStackSetOperationOutput(_SerdeShape): - """Dataclass for StopStackSetOperationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """ - The Tag type enables you to specify a key-value pair that can be used to - store information about an CloudFormation stack. - """ - - key: str | None = ... - """ - A string used to identify this tag. You can specify a maximum of 128 - characters for a tag key. Tags owned by Amazon Web Services have the - reserved prefix: `aws:`. - """ - value: str | None = ... - """ - A string that contains the value for this tag. You can specify a maximum - of 256 characters for a tag value. - """ - -@dataclass(kw_only=True) -class TemplateConfiguration(_SerdeShape): - """The configuration details of a generated template.""" - - deletion_policy: str | None = ... - """ - The `DeletionPolicy` assigned to resources in the generated template. - Supported values are: - - - `DELETE` - delete all resources when the stack is deleted. - - - `RETAIN` - retain all resources when the stack is deleted. - - For more information, see [DeletionPolicy - attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html) - in the *CloudFormation User Guide*. - """ - update_replace_policy: str | None = ... - """ - The `UpdateReplacePolicy` assigned to resources in the generated - template. Supported values are: - - - `DELETE` - delete all resources when the resource is replaced during - an update operation. - - - `RETAIN` - retain all resources when the resource is replaced during - an update operation. - - For more information, see [UpdateReplacePolicy - attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatereplacepolicy.html) - in the *CloudFormation User Guide*. - """ - -class TemplateFormat(UnknownEnumMixin, StrEnum): - JSON = "JSON" - YAML = "YAML" - -@dataclass(kw_only=True) -class TemplateParameter(_SerdeShape): - """The `TemplateParameter` data type.""" - - parameter_key: str | None = ... - """The name associated with the parameter.""" - default_value: str | None = ... - """The default value associated with the parameter.""" - no_echo: bool | None = ... - """ - Flag indicating whether the parameter should be displayed as plain text - in logs and UIs. - """ - description: str | None = ... - """User defined description associated with the parameter.""" - -@dataclass(kw_only=True) -class TemplateProgress(_SerdeShape): - """A summary of the progress of the template generation.""" - - resources_succeeded: int | None = ... - """The number of resources that succeeded the template generation.""" - resources_failed: int | None = ... - """The number of resources that failed the template generation.""" - resources_processing: int | None = ... - """The number of resources that are in-process for the template generation.""" - resources_pending: int | None = ... - """The number of resources that are still pending the template generation.""" - -class TemplateStage(UnknownEnumMixin, StrEnum): - ORIGINAL = "Original" - PROCESSED = "Processed" - -@dataclass(kw_only=True) -class TemplateSummary(_SerdeShape): - """The summary of a generated template.""" - - generated_template_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the generated template. The format is - `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. - For example, - `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:generatedtemplate/`*`2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc`*` `. - """ - generated_template_name: str | None = ... - """The name of the generated template.""" - status: str | None = ... - """ - The status of the template generation. Supported values are: - - - `CreatePending` - the creation of the template is pending. - - - `CreateInProgress` - the creation of the template is in progress. - - - `DeletePending` - the deletion of the template is pending. - - - `DeleteInProgress` - the deletion of the template is in progress. - - - `UpdatePending` - the update of the template is pending. - - - `UpdateInProgress` - the update of the template is in progress. - - - `Failed` - the template operation failed. - - - `Complete` - the template operation is complete. - """ - status_reason: str | None = ... - """ - The reason for the current template generation status. This will provide - more details if a failure happened. - """ - creation_time: datetime | None = ... - """The time the generated template was created.""" - last_updated_time: datetime | None = ... - """The time the generated template was last updated.""" - number_of_resources: int | None = ... - """ - The number of resources in the generated template. This is a total of - resources in pending, in-progress, completed, and failed states. - """ - -@dataclass(kw_only=True) -class TemplateSummaryConfig(_SerdeShape): - """Options for the `GetTemplateSummary` API action.""" - - treat_unrecognized_resource_types_as_warnings: bool | None = ... - """ - If set to `True`, any unrecognized resource types generate warnings and - not an error. Any unrecognized resource types are returned in the - `Warnings` output parameter. - """ - -@dataclass(kw_only=True) -class TestTypeInput(_SerdeShape): - """Dataclass for TestTypeInput structure.""" - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the extension. - - Conditional: You must specify `Arn`, or `TypeName` and `Type`. - """ - type: str | None = ... - """ - The type of the extension to test. - - Conditional: You must specify `Arn`, or `TypeName` and `Type`. - """ - type_name: str | None = ... - """ - The name of the extension to test. - - Conditional: You must specify `Arn`, or `TypeName` and `Type`. - """ - version_id: str | None = ... - """ - The version of the extension to test. - - You can specify the version id with either `Arn`, or with `TypeName` and - `Type`. - - If you don't specify a version, CloudFormation uses the default version - of the extension in this account and Region for testing. - """ - log_delivery_bucket: str | None = ... - """ - The S3 bucket to which CloudFormation delivers the contract test - execution logs. - - CloudFormation delivers the logs by the time contract testing has - completed and the extension has been assigned a test type status of - `PASSED` or `FAILED`. - - The user calling `TestType` must be able to access items in the - specified S3 bucket. Specifically, the user needs the following - permissions: - - - `GetObject` - - - `PutObject` - - For more information, see [Actions, Resources, and Condition Keys for - Amazon - S3](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazons3.html) - in the *Identity and Access Management User Guide*. - """ - -@dataclass(kw_only=True) -class TestTypeOutput(_SerdeShape): - """Dataclass for TestTypeOutput structure.""" - - type_version_arn: str | None = ... - """The Amazon Resource Name (ARN) of the extension.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ThirdPartyType(UnknownEnumMixin, StrEnum): - RESOURCE = "RESOURCE" - MODULE = "MODULE" - HOOK = "HOOK" - -@dataclass(kw_only=True) -class TokenAlreadyExistsException(ServiceError, _SerdeShape): - """A client request token already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TypeConfigurationDetails(_SerdeShape): - """ - Detailed information concerning the specification of a CloudFormation - extension in a given account and Region. - - For more information, see [Edit configuration data for extensions in - your - account](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html) - in the *CloudFormation User Guide*. - """ - - arn: str | None = ... - """The ARN for the configuration data, in this account and Region.""" - alias: str | None = ... - """ - The alias specified for this configuration, if one was specified when - the configuration was set. - """ - configuration: str | None = ... - """ - A JSON string specifying the configuration data for the extension, in - this account and Region. - - If a configuration hasn't been set for a specified extension, - CloudFormation returns `{}`. - """ - last_updated: datetime | None = ... - """ - When the configuration data was last updated for this extension. - - If a configuration hasn't been set for a specified extension, - CloudFormation returns `null`. - """ - type_arn: str | None = ... - """ - The ARN for the extension, in this account and Region. - - For public extensions, this will be the ARN assigned when you call the - [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html) - API operation in this account and Region. For private extensions, this - will be the ARN assigned when you call the - [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html) - API operation in this account and Region. - """ - type_name: str | None = ... - """The name of the extension.""" - is_default_configuration: bool | None = ... - """ - Whether this configuration data is the default configuration for the - extension. - """ - -@dataclass(kw_only=True) -class TypeConfigurationIdentifier(_SerdeShape): - """ - Identifying information for the configuration of a CloudFormation - extension. - """ - - type_arn: str | None = ... - """ - The ARN for the extension, in this account and Region. - - For public extensions, this will be the ARN assigned when you call the - [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html) - API operation in this account and Region. For private extensions, this - will be the ARN assigned when you call the - [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html) - API operation in this account and Region. - """ - type_configuration_alias: str | None = ... - """ - The alias specified for this configuration, if one was specified when - the configuration was set. - """ - type_configuration_arn: str | None = ... - """The ARN for the configuration, in this account and Region.""" - type: str | None = ... - """The type of extension.""" - type_name: str | None = ... - """The name of the extension type to which this configuration applies.""" - -@dataclass(kw_only=True) -class TypeConfigurationNotFoundException(ServiceError, _SerdeShape): - """The specified extension configuration can't be found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TypeFilters(_SerdeShape): - """Filter criteria to use in determining which extensions to return.""" - - category: str | None = ... - """ - The category of extensions to return. - - - `REGISTERED`: Private extensions that have been registered for this - account and Region. - - - `ACTIVATED`: Public extensions that have been activated for this - account and Region. - - - `THIRD_PARTY`: Extensions available for use from publishers other than - Amazon. This includes: - - - Private extensions registered in the account. - - - Public extensions from publishers other than Amazon, whether - activated or not. - - - `AWS_TYPES`: Extensions available for use from Amazon. - """ - publisher_id: str | None = ... - """ - The id of the publisher of the extension. - - Extensions published by Amazon aren't assigned a publisher ID. Use the - `AWS_TYPES` category to specify a list of types published by Amazon. - """ - type_name_prefix: str | None = ... - """A prefix to use as a filter for results.""" - -@dataclass(kw_only=True) -class TypeNotFoundException(ServiceError, _SerdeShape): - """The specified extension doesn't exist in the CloudFormation registry.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TypeSummary(_SerdeShape): - """ - Contains summary information about the specified CloudFormation - extension. - """ - - type: str | None = ... - """The kind of extension.""" - type_name: str | None = ... - """ - The name of the extension. - - If you specified a `TypeNameAlias` when you call the - [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html) - API operation in your account and Region, CloudFormation considers that - alias as the type name. - """ - default_version_id: str | None = ... - """ - The ID of the default version of the extension. The default version is - used when the extension version isn't specified. - - This applies only to private extensions you have registered in your - account. For public extensions, both those provided by Amazon and - published by third parties, CloudFormation returns `null`. For more - information, see - [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). - - To set the default version of an extension, use SetTypeDefaultVersion. - """ - type_arn: str | None = ... - """The ARN of the extension.""" - last_updated: datetime | None = ... - """ - When the specified extension version was registered. This applies only - to: - - - Private extensions you have registered in your account. For more - information, see - [RegisterType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html). - - - Public extensions you have activated in your account with auto-update - specified. For more information, see - [ActivateType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html). - - For all other extension types, CloudFormation returns `null`. - """ - description: str | None = ... - """The description of the extension.""" - publisher_id: str | None = ... - """ - The ID of the extension publisher, if the extension is published by a - third party. Extensions published by Amazon don't return a publisher - ID. - """ - original_type_name: str | None = ... - """ - For public extensions that have been activated for this account and - Region, the type name of the public extension. - - If you specified a `TypeNameAlias` when enabling the extension in this - account and Region, CloudFormation treats that alias as the extension's - type name within the account and Region, not the type name of the public - extension. For more information, see [Use aliases to refer to - extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias) - in the *CloudFormation User Guide*. - """ - public_version_number: str | None = ... - """ - For public extensions that have been activated for this account and - Region, the version of the public extension to be used for - CloudFormation operations in this account and Region. - - How you specified `AutoUpdate` when enabling the extension affects - whether CloudFormation automatically updates the extension in this - account and Region when a new version is released. For more information, - see [Automatically use new versions of - extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto) - in the *CloudFormation User Guide*. - """ - latest_public_version: str | None = ... - """ - For public extensions that have been activated for this account and - Region, the latest version of the public extension *that is available*. - For any extensions other than activated third-party extensions, - CloudFormation returns `null`. - - How you specified `AutoUpdate` when enabling the extension affects - whether CloudFormation automatically updates the extension in this - account and Region when a new version is released. For more information, - see [Automatically use new versions of - extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto) - in the *CloudFormation User Guide*. - """ - publisher_identity: str | None = ... - """ - The service used to verify the publisher identity. - - For more information, see [Publishing extensions to make them available - for public - use](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html) - in the *CloudFormation Command Line Interface (CLI) User Guide*. - """ - publisher_name: str | None = ... - """ - The publisher name, as defined in the public profile for that publisher - in the service used to verify the publisher identity. - """ - is_activated: bool | None = ... - """ - Whether the extension is activated for this account and Region. - - This applies only to third-party public extensions. Extensions published - by Amazon are activated by default. - """ - -class TypeTestsStatus(UnknownEnumMixin, StrEnum): - PASSED = "PASSED" - FAILED = "FAILED" - IN_PROGRESS = "IN_PROGRESS" - NOT_TESTED = "NOT_TESTED" - -@dataclass(kw_only=True) -class TypeVersionSummary(_SerdeShape): - """ - Contains summary information about a specific version of a - CloudFormation extension. - """ - - type: str | None = ... - """The kind of extension.""" - type_name: str | None = ... - """The name of the extension.""" - version_id: str | None = ... - """ - The ID of a specific version of the extension. The version ID is the - value at the end of the ARN assigned to the extension version when it's - registered. - """ - is_default_version: bool | None = ... - """ - Whether the specified extension version is set as the default version. - - This applies only to private extensions you have registered in your - account, and extensions published by Amazon. For public third-party - extensions, CloudFormation returns `null`. - """ - arn: str | None = ... - """The ARN of the extension version.""" - time_created: datetime | None = ... - """When the version was registered.""" - description: str | None = ... - """The description of the extension version.""" - public_version_number: str | None = ... - """ - For public extensions that have been activated for this account and - Region, the version of the public extension to be used for - CloudFormation operations in this account and Region. For any extensions - other than activated third-party extensions, CloudFormation returns - `null`. - - How you specified `AutoUpdate` when enabling the extension affects - whether CloudFormation automatically updates the extension in this - account and Region when a new version is released. For more information, - see [Automatically use new versions of - extensions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class UpdateGeneratedTemplateInput(_SerdeShape): - """Dataclass for UpdateGeneratedTemplateInput structure.""" - - generated_template_name: str | None = ... - """The name or Amazon Resource Name (ARN) of a generated template.""" - new_generated_template_name: str | None = ... - """An optional new name to assign to the generated template.""" - add_resources: list[ResourceDefinition] | None = ... - """An optional list of resources to be added to the generated template.""" - remove_resources: list[str] | None = ... - """ - A list of logical ids for resources to remove from the generated - template. - """ - refresh_all_resources: bool | None = ... - """ - If `true`, update the resource properties in the generated template with - their current live state. This feature is useful when the resource - properties in your generated a template does not reflect the live state - of the resource properties. This happens when a user update the resource - properties after generating a template. - """ - template_configuration: TemplateConfiguration | None = ... - """ - The configuration details of the generated template, including the - `DeletionPolicy` and `UpdateReplacePolicy`. - """ - -@dataclass(kw_only=True) -class UpdateGeneratedTemplateOutput(_SerdeShape): - """Dataclass for UpdateGeneratedTemplateOutput structure.""" - - generated_template_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the generated template. The format is - `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. - For example, - `arn:aws:cloudformation:`*`us-east-1`*`:`*`123456789012`*`:generatedtemplate/`*`2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc`*` `. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateStackInput(_SerdeShape): - """The input for an UpdateStack action.""" - - stack_name: str | None = ... - """The name or unique stack ID of the stack to update.""" - template_body: str | None = ... - """ - Structure that contains the template body with a minimum length of 1 - byte and a maximum length of 51,200 bytes. - - Conditional: You must specify only one of the following parameters: - `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to - `true`. - """ - template_url: str | None = ... - """ - The URL of a file that contains the template body. The URL must point to - a template that's located in an Amazon S3 bucket or a Systems Manager - document. The location for an Amazon S3 bucket must start with - `https://`. - - Conditional: You must specify only one of the following parameters: - `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to - `true`. - """ - use_previous_template: bool | None = ... - """ - Reuse the existing template that is associated with the stack that you - are updating. - - When using templates with the `AWS::LanguageExtensions` transform, - provide the template instead of using `UsePreviousTemplate` to ensure - new parameter values and Systems Manager parameter updates are applied - correctly. For more information, see [AWS::LanguageExtensions - transform](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/transform-aws-languageextensions.html). - - Conditional: You must specify only one of the following parameters: - `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to - `true`. - """ - stack_policy_during_update_body: str | None = ... - """ - Structure that contains the temporary overriding stack policy body. You - can specify either the `StackPolicyDuringUpdateBody` or the - `StackPolicyDuringUpdateURL` parameter, but not both. - - If you want to update protected resources, specify a temporary - overriding stack policy during this update. If you don't specify a - stack policy, the current policy that is associated with the stack will - be used. - """ - stack_policy_during_update_url: str | None = ... - """ - Location of a file that contains the temporary overriding stack policy. - The URL must point to a policy (max size: 16KB) located in an S3 bucket - in the same Region as the stack. The location for an Amazon S3 bucket - must start with `https://`. URLs from S3 static websites are not - supported. - - You can specify either the `StackPolicyDuringUpdateBody` or the - `StackPolicyDuringUpdateURL` parameter, but not both. - - If you want to update protected resources, specify a temporary - overriding stack policy during this update. If you don't specify a - stack policy, the current policy that is associated with the stack will - be used. - """ - parameters: list[Parameter] | None = ... - """ - A list of `Parameter` structures that specify input parameters for the - stack. For more information, see the - [Parameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html) - data type. - """ - capabilities: list[str] | None = ... - """ - In some cases, you must explicitly acknowledge that your stack template - contains certain capabilities in order for CloudFormation to update the - stack. - - - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` - - Some stack templates might include resources that can affect - permissions in your Amazon Web Services account, for example, by - creating new IAM users. For those stacks, you must explicitly - acknowledge this by specifying one of these capabilities. - - The following IAM resources require you to specify either the - `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. - - - If you have IAM resources, you can specify either capability. - - - If you have IAM resources with custom names, you *must* specify - `CAPABILITY_NAMED_IAM`. - - - If you don't specify either of these capabilities, CloudFormation - returns an `InsufficientCapabilities` error. - - If your stack template contains these resources, we suggest that you - review all permissions associated with them and edit their permissions - if necessary. - - - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) - - - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) - - - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) - - - [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html) - - - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) - - - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) - - - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) - - - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) - - For more information, see [Acknowledging IAM resources in - CloudFormation - templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). - - - `CAPABILITY_AUTO_EXPAND` - - Some template contain macros. Macros perform custom processing on - templates; this can include simple actions like find-and-replace - operations, all the way to extensive transformations of entire - templates. Because of this, users typically create a change set from - the processed template, so that they can review the changes resulting - from the macros before actually updating the stack. If your stack - template contains one or more macros, and you choose to update a stack - directly from the processed template, without first reviewing the - resulting changes in a change set, you must acknowledge this - capability. This includes the - [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) - and - [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) - transforms, which are macros hosted by CloudFormation. - - If you want to update a stack from a stack template that contains - macros *and* nested stacks, you must update the stack directly from - the template using this capability. - - Warning: - You should only update stacks directly from a stack template that - contains macros if you know what processing the macro performs. - - Each macro relies on an underlying Lambda service function for - processing stack templates. Be aware that the Lambda function owner - can update the function operation without CloudFormation being - notified. - - For more information, see [Perform custom processing on CloudFormation - templates with template - macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). - - Note: - Only one of the `Capabilities` and `ResourceType` parameters can be - specified. - """ - resource_types: list[str] | None = ... - """ - Specifies which resource types you can work with, such as - `AWS::EC2::Instance` or `Custom::MyCustomInstance`. - - If the list of resource types doesn't include a resource that you're - updating, the stack update fails. By default, CloudFormation grants - permissions to all resource types. IAM uses this parameter for - CloudFormation-specific condition keys in IAM policies. For more - information, see [Control CloudFormation access with Identity and Access - Management](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html). - - Note: - Only one of the `Capabilities` and `ResourceType` parameters can be - specified. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role that CloudFormation - assumes to update the stack. CloudFormation uses the role's credentials - to make calls on your behalf. CloudFormation always uses this role for - all future operations on the stack. Provided that users have permission - to operate on the stack, CloudFormation uses this role even if the users - don't have permission to pass it. Ensure that the role grants least - privilege. - - If you don't specify a value, CloudFormation uses the role that was - previously associated with the stack. If no role is available, - CloudFormation uses a temporary session that is generated from your user - credentials. - """ - rollback_configuration: RollbackConfiguration | None = ... - """ - The rollback triggers for CloudFormation to monitor during stack - creation and updating operations, and for the specified monitoring - period afterwards. - """ - stack_policy_body: str | None = ... - """ - Structure that contains a new stack policy body. You can specify either - the `StackPolicyBody` or the `StackPolicyURL` parameter, but not both. - - You might update the stack policy, for example, in order to protect a - new resource that you created during a stack update. If you don't - specify a stack policy, the current policy that is associated with the - stack is unchanged. - """ - stack_policy_url: str | None = ... - """ - Location of a file that contains the updated stack policy. The URL must - point to a policy (max size: 16KB) located in an S3 bucket in the same - Region as the stack. The location for an Amazon S3 bucket must start - with `https://`. URLs from S3 static websites are not supported. - - You can specify either the `StackPolicyBody` or the `StackPolicyURL` - parameter, but not both. - - You might update the stack policy, for example, in order to protect a - new resource that you created during a stack update. If you don't - specify a stack policy, the current policy that is associated with the - stack is unchanged. - """ - notification_ar_ns: list[str] | None = ... - """ - Amazon Simple Notification Service topic Amazon Resource Names (ARNs) - that CloudFormation associates with the stack. Specify an empty list to - remove all notification topics. - """ - tags: list[Tag] | None = ... - """ - Key-value pairs to associate with this stack. CloudFormation also - propagates these tags to supported resources in the stack. You can - specify a maximum number of 50 tags. - - If you don't specify this parameter, CloudFormation doesn't modify the - stack's tags. If you specify an empty value, CloudFormation removes all - associated tags. - """ - disable_rollback: bool | None = ... - """ - Preserve the state of previously provisioned resources when an operation - fails. - - Default: `False` - """ - client_request_token: str | None = ... - """ - A unique identifier for this `UpdateStack` request. Specify this token - if you plan to retry requests so that CloudFormation knows that you're - not attempting to update a stack with the same name. You might retry - `UpdateStack` requests to ensure that CloudFormation successfully - received them. - - All events triggered by a given stack operation are assigned the same - client request token, which you can use to track operations. For - example, if you execute a `CreateStack` operation with the token - `token1`, then all the `StackEvents` generated by that operation will - have `ClientRequestToken` set as `token1`. - - In the console, stack operations display the client request token on the - Events tab. Stack operations that are initiated from the console use the - token format *Console-StackOperation-ID*, which helps you easily - identify the stack operation . For example, if you create a stack using - the console, each stack event would be assigned the same token in the - following format: - `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. - """ - retain_except_on_create: bool | None = ... - """ - When set to `true`, newly created resources are deleted when the - operation rolls back. This includes newly created resources marked with - a deletion policy of `Retain`. - - Default: `false` - """ - deployment_config: DeploymentConfig | None = ... - """ - The deployment configuration for this stack operation, including the - deployment mode. - """ - disable_validation: bool | None = ... - """ - Set to `true` to disable pre-deployment validations in changeset or - stack operations. - - Default: `false` - """ - -@dataclass(kw_only=True) -class UpdateStackInstancesInput(_SerdeShape): - """Dataclass for UpdateStackInstancesInput structure.""" - - stack_set_name: str | None = ... - """ - The name or unique ID of the StackSet associated with the stack - instances. - """ - accounts: list[str] | None = ... - """ - [Self-managed permissions] The account IDs of one or more Amazon Web - Services accounts in which you want to update parameter values for stack - instances. The overridden parameter values will be applied to all stack - instances in the specified accounts and Amazon Web Services Regions. - - You can specify `Accounts` or `DeploymentTargets`, but not both. - """ - deployment_targets: DeploymentTargets | None = ... - """ - [Service-managed permissions] The Organizations accounts in which you - want to update parameter values for stack instances. If your update - targets OUs, the overridden parameter values only apply to the accounts - that are currently in the target OUs and their child OUs. Accounts added - to the target OUs and their child OUs in the future won't use the - overridden values. - - You can specify `Accounts` or `DeploymentTargets`, but not both. - """ - regions: list[str] | None = ... - """ - The names of one or more Amazon Web Services Regions in which you want - to update parameter values for stack instances. The overridden parameter - values will be applied to all stack instances in the specified accounts - and Amazon Web Services Regions. - """ - parameter_overrides: list[Parameter] | None = ... - """ - A list of input parameters whose values you want to update for the - specified stack instances. - - Any overridden parameter values will be applied to all stack instances - in the specified accounts and Amazon Web Services Regions. When - specifying parameters and their values, be aware of how CloudFormation - sets parameter values during stack instance update operations: - - - To override the current value for a parameter, include the parameter - and specify its value. - - - To leave an overridden parameter set to its present value, include the - parameter and specify `UsePreviousValue` as `true`. (You can't - specify both a value and set `UsePreviousValue` to `true`.) - - - To set an overridden parameter back to the value specified in the - StackSet, specify a parameter list but don't include the parameter in - the list. - - - To leave all parameters set to their present values, don't specify - this property at all. - - During StackSet updates, any parameter values overridden for a stack - instance aren't updated, but retain their overridden value. - - You can only override the parameter *values* that are specified in the - StackSet. To add or delete a parameter itself, use `UpdateStackSet` to - update the StackSet template. If you add a parameter to a template, - before you can override the parameter value specified in the StackSet - you must first use - [UpdateStackSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) - to update all stack instances with the updated template and parameter - value specified in the StackSet. Once a stack instance has been updated - with the new parameter, you can then override the parameter value using - `UpdateStackInstances`. - """ - operation_preferences: StackSetOperationPreferences | None = ... - """Preferences for how CloudFormation performs this StackSet operation.""" - operation_id: str | None = ... - """ - The unique identifier for this StackSet operation. - - The operation ID also functions as an idempotency token, to ensure that - CloudFormation performs the StackSet operation only once, even if you - retry the request multiple times. You might retry StackSet operation - requests to ensure that CloudFormation successfully received them. - - If you don't specify an operation ID, the SDK generates one - automatically. - """ - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - -@dataclass(kw_only=True) -class UpdateStackInstancesOutput(_SerdeShape): - """Dataclass for UpdateStackInstancesOutput structure.""" - - operation_id: str | None = ... - """The unique identifier for this StackSet operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateStackOutput(_SerdeShape): - """The output for an UpdateStack action.""" - - stack_id: str | None = ... - """Unique identifier of the stack.""" - operation_id: str | None = ... - """ - A unique identifier for this update operation that can be used to track - the operation's progress and events. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateStackSetInput(_SerdeShape): - """Dataclass for UpdateStackSetInput structure.""" - - stack_set_name: str | None = ... - """The name or unique ID of the StackSet that you want to update.""" - description: str | None = ... - """A brief description of updates that you are making.""" - template_body: str | None = ... - """ - The structure that contains the template body, with a minimum length of - 1 byte and a maximum length of 51,200 bytes. - - Conditional: You must specify only one of the following parameters: - `TemplateBody` or `TemplateURL`---or set `UsePreviousTemplate` to true. - """ - template_url: str | None = ... - """ - The URL of a file that contains the template body. The URL must point to - a template (maximum size: 1 MB) that is located in an Amazon S3 bucket - or a Systems Manager document. The location for an Amazon S3 bucket must - start with `https://`. S3 static website URLs are not supported. - - Conditional: You must specify only one of the following parameters: - `TemplateBody` or `TemplateURL`---or set `UsePreviousTemplate` to true. - """ - use_previous_template: bool | None = ... - """ - Use the existing template that's associated with the StackSet that - you're updating. - - Conditional: You must specify only one of the following parameters: - `TemplateBody` or `TemplateURL`---or set `UsePreviousTemplate` to true. - """ - parameters: list[Parameter] | None = ... - """A list of input parameters for the StackSet template.""" - capabilities: list[str] | None = ... - """ - In some cases, you must explicitly acknowledge that your stack template - contains certain capabilities in order for CloudFormation to update the - StackSet and its associated stack instances. - - - `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` - - Some stack templates might include resources that can affect - permissions in your Amazon Web Services account, for example, by - creating new IAM users. For those stacks sets, you must explicitly - acknowledge this by specifying one of these capabilities. - - The following IAM resources require you to specify either the - `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. - - - If you have IAM resources, you can specify either capability. - - - If you have IAM resources with custom names, you *must* specify - `CAPABILITY_NAMED_IAM`. - - - If you don't specify either of these capabilities, CloudFormation - returns an `InsufficientCapabilities` error. - - If your stack template contains these resources, we recommend that you - review all permissions associated with them and edit their permissions - if necessary. - - - [AWS::IAM::AccessKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html) - - - [AWS::IAM::Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html) - - - [AWS::IAM::InstanceProfile](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html) - - - [AWS::IAM::Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html) - - - [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html) - - - [AWS::IAM::User](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html) - - - [AWS::IAM::UserToGroupAddition](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html) - - For more information, see [Acknowledging IAM resources in - CloudFormation - templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). - - - `CAPABILITY_AUTO_EXPAND` - - Some templates reference macros. If your StackSet template references - one or more macros, you must update the StackSet directly from the - processed template, without first reviewing the resulting changes in a - change set. To update the StackSet directly, you must acknowledge this - capability. For more information, see [Perform custom processing on - CloudFormation templates with template - macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). - - Warning: - StackSets with service-managed permissions do not currently support - the use of macros in templates. (This includes the - [AWS::Include](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html) - and - [AWS::Serverless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html) - transforms, which are macros hosted by CloudFormation.) Even if you - specify this capability for a StackSet with service-managed - permissions, if you reference a macro in your template the StackSet - operation will fail. - """ - tags: list[Tag] | None = ... - """ - The key-value pairs to associate with this StackSet and the stacks - created from it. CloudFormation also propagates these tags to supported - resources that are created in the stacks. You can specify a maximum - number of 50 tags. - - If you specify tags for this parameter, those tags replace any list of - tags that are currently associated with this StackSet. This means: - - - If you don't specify this parameter, CloudFormation doesn't modify - the stack's tags. - - - If you specify *any* tags using this parameter, you must specify *all* - the tags that you want associated with this StackSet, even tags - you've specified before (for example, when creating the StackSet or - during a previous update of the StackSet.). Any tags that you don't - include in the updated list of tags are removed from the StackSet, and - therefore from the stacks and resources as well. - - - If you specify an empty value, CloudFormation removes all currently - associated tags. - - If you specify new tags as part of an `UpdateStackSet` action, - CloudFormation checks to see if you have the required IAM permission to - tag resources. If you omit tags that are currently associated with the - StackSet from the list of tags you specify, CloudFormation assumes that - you want to remove those tags from the StackSet, and checks to see if - you have permission to untag resources. If you don't have the necessary - permission(s), the entire `UpdateStackSet` action fails with an - `access denied` error, and the StackSet is not updated. - """ - operation_preferences: StackSetOperationPreferences | None = ... - """Preferences for how CloudFormation performs this StackSet operation.""" - administration_role_arn: str | None = ... - """ - [Self-managed permissions] The Amazon Resource Name (ARN) of the IAM - role to use to update this StackSet. - - Specify an IAM role only if you are using customized administrator roles - to control which users or groups can manage specific StackSets within - the same administrator account. For more information, see [Grant - self-managed - permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html) - in the *CloudFormation User Guide*. - - If you specified a customized administrator role when you created the - StackSet, you must specify a customized administrator role, even if it - is the same customized administrator role used with this StackSet - previously. - """ - execution_role_name: str | None = ... - """ - [Self-managed permissions] The name of the IAM execution role to use - to update the stack set. If you do not specify an execution role, - CloudFormation uses the `AWSCloudFormationStackSetExecutionRole` role - for the StackSet operation. - - Specify an IAM role only if you are using customized execution roles to - control which stack resources users and groups can include in their - StackSets. - - If you specify a customized execution role, CloudFormation uses that - role to update the stack. If you do not specify a customized execution - role, CloudFormation performs the update using the role previously - associated with the StackSet, so long as you have permissions to perform - operations on the StackSet. - """ - deployment_targets: DeploymentTargets | None = ... - """ - [Service-managed permissions] The Organizations accounts in which to - update associated stack instances. - - To update all the stack instances associated with this StackSet, do not - specify `DeploymentTargets` or `Regions`. - - If the StackSet update includes changes to the template (that is, if - `TemplateBody` or `TemplateURL` is specified), or the `Parameters`, - CloudFormation marks all stack instances with a status of `OUTDATED` - prior to updating the stack instances in the specified accounts and - Amazon Web Services Regions. If the StackSet update doesn't include - changes to the template or parameters, CloudFormation updates the stack - instances in the specified accounts and Regions, while leaving all other - stack instances with their existing stack instance status. - """ - permission_model: str | None = ... - """ - Describes how the IAM roles required for StackSet operations are - created. You cannot modify `PermissionModel` if there are stack - instances associated with your stack set. - - - With `self-managed` permissions, you must create the administrator and - execution roles required to deploy to target accounts. For more - information, see [Grant self-managed - permissions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html). - - - With `service-managed` permissions, StackSets automatically creates - the IAM roles required to deploy to accounts managed by Organizations. - For more information, see [Activate trusted access for StackSets with - Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html). - """ - auto_deployment: AutoDeployment | None = ... - """ - [Service-managed permissions] Describes whether StackSets - automatically deploys to Organizations accounts that are added to a - target organization or organizational unit (OU). For more information, - see [Enable or disable automatic deployments for StackSets in - Organizations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html) - in the *CloudFormation User Guide*. - - If you specify `AutoDeployment`, don't specify `DeploymentTargets` or - `Regions`. - """ - operation_id: str | None = ... - """ - The unique ID for this StackSet operation. - - The operation ID also functions as an idempotency token, to ensure that - CloudFormation performs the StackSet operation only once, even if you - retry the request multiple times. You might retry StackSet operation - requests to ensure that CloudFormation successfully received them. - - If you don't specify an operation ID, CloudFormation generates one - automatically. - - Repeating this StackSet operation with a new operation ID retries all - stack instances whose status is `OUTDATED`. - """ - accounts: list[str] | None = ... - """ - [Self-managed permissions] The accounts in which to update associated - stack instances. If you specify accounts, you must also specify the - Amazon Web Services Regions in which to update StackSet instances. - - To update *all* the stack instances associated with this StackSet, - don't specify the `Accounts` or `Regions` properties. - - If the StackSet update includes changes to the template (that is, if the - `TemplateBody` or `TemplateURL` properties are specified), or the - `Parameters` property, CloudFormation marks all stack instances with a - status of `OUTDATED` prior to updating the stack instances in the - specified accounts and Amazon Web Services Regions. If the StackSet - update does not include changes to the template or parameters, - CloudFormation updates the stack instances in the specified accounts and - Amazon Web Services Regions, while leaving all other stack instances - with their existing stack instance status. - """ - regions: list[str] | None = ... - """ - The Amazon Web Services Regions in which to update associated stack - instances. If you specify Regions, you must also specify accounts in - which to update StackSet instances. - - To update *all* the stack instances associated with this StackSet, do - not specify the `Accounts` or `Regions` properties. - - If the StackSet update includes changes to the template (that is, if the - `TemplateBody` or `TemplateURL` properties are specified), or the - `Parameters` property, CloudFormation marks all stack instances with a - status of `OUTDATED` prior to updating the stack instances in the - specified accounts and Regions. If the StackSet update does not include - changes to the template or parameters, CloudFormation updates the stack - instances in the specified accounts and Regions, while leaving all other - stack instances with their existing stack instance status. - """ - call_as: str | None = ... - """ - [Service-managed permissions] Specifies whether you are acting as an - account administrator in the organization's management account or as a - delegated administrator in a member account. - - By default, `SELF` is specified. Use `SELF` for StackSets with - self-managed permissions. - - - If you are signed in to the management account, specify `SELF`. - - - If you are signed in to a delegated administrator account, specify - `DELEGATED_ADMIN`. - - Your Amazon Web Services account must be registered as a delegated - administrator in the management account. For more information, see - [Register a delegated - administrator](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html) - in the *CloudFormation User Guide*. - """ - managed_execution: ManagedExecution | None = ... - """ - Describes whether CloudFormation performs non-conflicting operations - concurrently and queues conflicting operations. - """ - -@dataclass(kw_only=True) -class UpdateStackSetOutput(_SerdeShape): - """Dataclass for UpdateStackSetOutput structure.""" - - operation_id: str | None = ... - """The unique ID for this StackSet operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateTerminationProtectionInput(_SerdeShape): - """Dataclass for UpdateTerminationProtectionInput structure.""" - - enable_termination_protection: bool | None = ... - """Whether to enable termination protection on the specified stack.""" - stack_name: str | None = ... - """ - The name or unique ID of the stack for which you want to set termination - protection. - """ - -@dataclass(kw_only=True) -class UpdateTerminationProtectionOutput(_SerdeShape): - """Dataclass for UpdateTerminationProtectionOutput structure.""" - - stack_id: str | None = ... - """The unique ID of the stack.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ValidateTemplateInput(_SerdeShape): - """The input for ValidateTemplate action.""" - - template_body: str | None = ... - """ - Structure that contains the template body with a minimum length of 1 - byte and a maximum length of 51,200 bytes. - - Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are - passed, only `TemplateBody` is used. - """ - template_url: str | None = ... - """ - The URL of a file that contains the template body. The URL must point to - a template (max size: 1 MB) that is located in an Amazon S3 bucket or a - Systems Manager document. The location for an Amazon S3 bucket must - start with `https://`. - - Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are - passed, only `TemplateBody` is used. - """ - -@dataclass(kw_only=True) -class ValidateTemplateOutput(_SerdeShape): - """The output for ValidateTemplate action.""" - - parameters: list[TemplateParameter] | None = ... - """A list of `TemplateParameter` structures.""" - description: str | None = ... - """The description found within the template.""" - capabilities: list[str] | None = ... - """ - The capabilities found within the template. If your template contains - IAM resources, you must specify the CAPABILITY_IAM or - CAPABILITY_NAMED_IAM value for this parameter when you use the - CreateStack or UpdateStack actions with your template; otherwise, those - actions return an InsufficientCapabilities error. - - For more information, see [Acknowledging IAM resources in CloudFormation - templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities). - """ - capabilities_reason: str | None = ... - """ - The list of resources that generated the values in the `Capabilities` - response element. - """ - declared_transforms: list[str] | None = ... - """A list of the transforms that are declared in the template.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ValidationStatus(UnknownEnumMixin, StrEnum): - FAILED = "FAILED" - SKIPPED = "SKIPPED" - -class VersionBump(UnknownEnumMixin, StrEnum): - MAJOR = "MAJOR" - MINOR = "MINOR" - -class Visibility(UnknownEnumMixin, StrEnum): - PUBLIC = "PUBLIC" - PRIVATE = "PRIVATE" - -@dataclass(kw_only=True) -class WarningDetail(_SerdeShape): - """ - The warnings generated for a specific resource for this generated - template. - """ - - type: str | None = ... - """ - The type of this warning. For more information, see [Resolve write-only - properties](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC-write-only-properties.html) - in the *CloudFormation User Guide*. - - - `MUTUALLY_EXCLUSIVE_PROPERTIES` - The resource requires - mutually-exclusive write-only properties. The IaC generator selects - one set of mutually exclusive properties and converts the included - properties into parameters. The parameter names have a suffix `OneOf` - and the parameter descriptions indicate that the corresponding - property can be replaced with other exclusive properties. - - - `UNSUPPORTED_PROPERTIES` - Unsupported properties are present in the - resource. One example of unsupported properties would be a required - write-only property that is an array, because a parameter cannot be an - array. Another example is an optional write-only property. - - - `MUTUALLY_EXCLUSIVE_TYPES` - One or more required write-only - properties are found in the resource, and the type of that property - can be any of several types. - - Note: - Currently the resource and property reference documentation does not - indicate if a property uses a type of `oneOf` or `anyOf`. You need to - look at the resource provider schema. - """ - properties: list[WarningProperty] | None = ... - """The properties of the resource that are impacted by this warning.""" - -@dataclass(kw_only=True) -class WarningProperty(_SerdeShape): - """A specific property that is impacted by a warning.""" - - property_path: str | None = ... - """ - The path of the property. For example, if this is for the `S3Bucket` - member of the `Code` property, the property path would be - `Code/S3Bucket`. - """ - required: bool | None = ... - """If `true`, the specified property is required.""" - description: str | None = ... - """The description of the property from the resource provider schema.""" - -@dataclass(kw_only=True) -class Warnings(_SerdeShape): - """Contains any warnings returned by the `GetTemplateSummary` API action.""" - - unrecognized_resource_types: list[str] | None = ... - """ - A list of all of the unrecognized resource types. This is only returned - if the `TemplateSummaryConfig` parameter has the - `TreatUnrecognizedResourceTypesAsWarning` configuration set to `True`. - """ - -class WarningType(UnknownEnumMixin, StrEnum): - MUTUALLY_EXCLUSIVE_PROPERTIES = "MUTUALLY_EXCLUSIVE_PROPERTIES" - UNSUPPORTED_PROPERTIES = "UNSUPPORTED_PROPERTIES" - MUTUALLY_EXCLUSIVE_TYPES = "MUTUALLY_EXCLUSIVE_TYPES" - EXCLUDED_PROPERTIES = "EXCLUDED_PROPERTIES" - EXCLUDED_RESOURCES = "EXCLUDED_RESOURCES" - ACTIVATE_ORGANIZATIONS_ACCESS: APIOperation[ ActivateOrganizationsAccessInput, ActivateOrganizationsAccessOutput ] diff --git a/clients/aws-sdk-cloudformation/tests/test_endpoints.py b/clients/aws-sdk-cloudformation/tests/test_endpoints.py index f6883697e..ca2fa5412 100644 --- a/clients/aws-sdk-cloudformation/tests/test_endpoints.py +++ b/clients/aws-sdk-cloudformation/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-cloudfront-keyvaluestore/pyproject.toml b/clients/aws-sdk-cloudfront-keyvaluestore/pyproject.toml index eb717a6a5..bce72f707 100644 --- a/clients/aws-sdk-cloudfront-keyvaluestore/pyproject.toml +++ b/clients/aws-sdk-cloudfront-keyvaluestore/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_cloudfront_keyvaluestore" version = "0.12.0" -description = "aws_sdk_cloudfront_keyvaluestore client" +description = "Python client for Amazon CloudFront KeyValueStore" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_cloudfront_keyvaluestore"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/aio/client.py b/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/aio/client.py index 4b4bb5361..da47e3aeb 100644 --- a/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/aio/client.py +++ b/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/aio/config.py b/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/aio/config.py index 9fc4aa664..454086cf6 100644 --- a/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/aio/config.py +++ b/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -25,7 +25,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/client.py b/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/client.py index a33f1f807..9f25cb8e0 100644 --- a/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/client.py +++ b/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/config.py b/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/config.py index b0180f097..f25f17c87 100644 --- a/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/config.py +++ b/clients/aws-sdk-cloudfront-keyvaluestore/src/aws_sdk_cloudfront_keyvaluestore/config.py @@ -13,15 +13,18 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_fips_endpoint_program, ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-cloudfront-keyvaluestore/tests/test_endpoints.py b/clients/aws-sdk-cloudfront-keyvaluestore/tests/test_endpoints.py index d7fd169c4..06fa2205d 100644 --- a/clients/aws-sdk-cloudfront-keyvaluestore/tests/test_endpoints.py +++ b/clients/aws-sdk-cloudfront-keyvaluestore/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-cloudfront/pyproject.toml b/clients/aws-sdk-cloudfront/pyproject.toml index f3d44379a..140f248db 100644 --- a/clients/aws-sdk-cloudfront/pyproject.toml +++ b/clients/aws-sdk-cloudfront/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_cloudfront" version = "0.12.0" -description = "aws_sdk_cloudfront client" +description = "Python client for Amazon CloudFront" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_cloudfront"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[xml]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[xml]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/models_0.pyi b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/models_0.pyi new file mode 100644 index 000000000..3a01590b7 --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/models_0.pyi @@ -0,0 +1,5610 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + GrpcConfig, + Headers, + ImportSource, + Invalidation, + InvalidationBatch, + IpamCidrConfig, + IpamConfig, + KGKeyPairIds, + KeyGroup, + KeyGroupConfig, + KeyValueStore, + KeyValueStoreAssociations, + KinesisStreamConfig, + LambdaFunctionAssociations, + LoggingConfig, + ManagedCertificateRequest, + MonitoringSubscription, + OriginAccessControl, + OriginAccessControlConfig, + OriginCustomHeader, + OriginGroups, + OriginMtlsConfig, + OriginRequestPolicy, + OriginRequestPolicyConfig, + OriginSslProtocols, + Origins, + Parameter, + ParametersInCacheKeyAndForwardedToOrigin, + PublicKey, + PublicKeyConfig, + QueryArgProfileConfig, + QueryStringCacheKeys, + QueryStringNames, + RealtimeLogConfig, + ResponseHeadersPolicy, + ResponseHeadersPolicyConfig, + Restrictions, + ServiceError, + SessionStickinessConfig, + Signer, + StagingDistributionDnsNames, + StreamingDistribution, + StreamingDistributionConfig, + StreamingDistributionConfigWithTags, + Tags, + TenantConfig, + TrafficConfig, + TrustStore, + TrustedKeyGroups, + TrustedSigners, + ViewerCertificate, + ViewerMtlsConfig, + VpcOrigin, + VpcOriginEndpointConfig, + WebAclCustomization, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AccessDenied(ServiceError, _SerdeShape): + """Access denied.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ActiveTrustedKeyGroups(_SerdeShape): + """ + A list of key groups, and the public keys in each key group, that + CloudFront can use to verify the signatures of signed URLs and signed + cookies. + """ + + enabled: bool + """ + This field is `true` if any of the key groups have public keys that + CloudFront can use to verify the signatures of signed URLs and signed + cookies. If not, this field is `false`. + """ + quantity: int + """The number of key groups in the list.""" + items: list[KGKeyPairIds] | None = ... + """ + A list of key groups, including the identifiers of the public keys in + each key group that CloudFront can use to verify the signatures of + signed URLs and signed cookies. + """ + +@dataclass(kw_only=True) +class ActiveTrustedSigners(_SerdeShape): + """ + A list of Amazon Web Services accounts and the active CloudFront key + pairs in each account that CloudFront can use to verify the signatures + of signed URLs and signed cookies. + """ + + enabled: bool + """ + This field is `true` if any of the Amazon Web Services accounts in the + list are configured as trusted signers. If not, this field is `false`. + """ + quantity: int + """The number of Amazon Web Services accounts in the list.""" + items: list[Signer] | None = ... + """ + A list of Amazon Web Services accounts and the identifiers of active + CloudFront key pairs in each account that CloudFront can use to verify + the signatures of signed URLs and signed cookies. + """ + +@dataclass(kw_only=True) +class Aliases(_SerdeShape): + """ + A complex type that contains information about CNAMEs (alternate domain + names), if any, for this distribution. + """ + + quantity: int + """ + The number of CNAME aliases, if any, that you want to associate with + this distribution. + """ + items: list[str] | None = ... + """ + A complex type that contains the CNAME aliases, if any, that you want to + associate with this distribution. + """ + +@dataclass(kw_only=True) +class AliasICPRecordal(_SerdeShape): + """ + Amazon Web Services services in China customers must file for an + Internet Content Provider (ICP) recordal if they want to serve content + publicly on an alternate domain name, also known as a CNAME, that + they've added to CloudFront. AliasICPRecordal provides the ICP recordal + status for CNAMEs associated with distributions. The status is returned + in the CloudFront response; you can't configure it yourself. + + For more information about ICP recordals, see [Signup, Accounts, and + Credentials](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) + in *Getting Started with Amazon Web Services services in China*. + """ + + cname: str | None = ... + """A domain name associated with a distribution.""" + icp_recordal_status: str | None = ... + """ + The Internet Content Provider (ICP) recordal status for a CNAME. The + ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in Amazon + Web Services Regions outside of China. + + The status values returned are the following: + + - **APPROVED** indicates that the associated CNAME has a valid ICP + recordal number. Multiple CNAMEs can be associated with a + distribution, and CNAMEs can correspond to different ICP recordals. To + be marked as APPROVED, that is, valid to use with the China Regions, a + CNAME must have one ICP recordal number associated with it. + + - **SUSPENDED** indicates that the associated CNAME does not have a + valid ICP recordal number. + + - **PENDING** indicates that CloudFront can't determine the ICP + recordal status of the CNAME associated with the distribution because + there was an error in trying to determine the status. You can try + again to see if the error is resolved in which case CloudFront returns + an APPROVED or SUSPENDED status. + """ + +@dataclass(kw_only=True) +class AllowedMethods(_SerdeShape): + """ + A complex type that controls which HTTP methods CloudFront processes and + forwards to your Amazon S3 bucket or your custom origin. There are three + choices: + + - CloudFront forwards only `GET` and `HEAD` requests. + + - CloudFront forwards only `GET`, `HEAD`, and `OPTIONS` requests. + + - CloudFront forwards `GET, HEAD, OPTIONS, PUT, PATCH, POST`, and + `DELETE` requests. + + If you pick the third choice, you may need to restrict access to your + Amazon S3 bucket or to your custom origin so users can't perform + operations that you don't want them to. For example, you might not want + users to have permissions to delete objects from your origin. + """ + + quantity: int + """ + The number of HTTP methods that you want CloudFront to forward to your + origin. Valid values are 2 (for `GET` and `HEAD` requests), 3 (for + `GET`, `HEAD`, and `OPTIONS` requests) and 7 (for + `GET, HEAD, OPTIONS, PUT, PATCH, POST`, and `DELETE` requests). + """ + items: list[str] + """ + A complex type that contains the HTTP methods that you want CloudFront + to process and forward to your origin. + """ + cached_methods: CachedMethods | None = ... + """ + A complex type that controls whether CloudFront caches the response to + requests using the specified HTTP methods. There are two choices: + + - CloudFront caches responses to `GET` and `HEAD` requests. + + - CloudFront caches responses to `GET`, `HEAD`, and `OPTIONS` requests. + + If you pick the second choice for your Amazon S3 Origin, you may need to + forward Access-Control-Request-Method, Access-Control-Request-Headers, + and Origin headers for the responses to be cached correctly. + """ + +@dataclass(kw_only=True) +class AnycastIpList(_SerdeShape): + """ + An Anycast static IP list. For more information, see [Request Anycast + static IPs to use for + allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) + in the *Amazon CloudFront Developer Guide*. + """ + + id: str + """The ID of the Anycast static IP list.""" + name: str + """The name of the Anycast static IP list.""" + status: str + """ + The status of the Anycast static IP list. Valid values: `Deployed`, + `Deploying`, or `Failed`. + """ + arn: str + """The Amazon Resource Name (ARN) of the Anycast static IP list.""" + ip_address_type: str | None = ... + """The IP address type for the Anycast static IP list.""" + ipam_config: IpamConfig | None = ... + """ + The IPAM configuration for the Anycast static IP list, that contains the + quantity and list of IPAM CIDR configurations. + """ + anycast_ips: list[str] + """ + The static IP addresses that are allocated to the Anycast static IP + list. + """ + ip_count: int + """The number of IP addresses in the Anycast static IP list.""" + last_modified_time: datetime + """The last time the Anycast static IP list was modified.""" + +@dataclass(kw_only=True) +class AnycastIpListCollection(_SerdeShape): + """The Anycast static IP list collection.""" + + items: list[AnycastIpListSummary] | None = ... + """ + Items in the Anycast static IP list collection. Each item is of the + AnycastIpListSummary structure type. + """ + marker: str + """ + Use this field when paginating results to indicate where to begin in + your list. The response includes items in the list that occur after the + marker. To get the next page of the list, set this field's value to the + value of `NextMarker` from the current page's response. + """ + next_marker: str | None = ... + """ + Indicates the next page of the Anycast static IP list collection. To get + the next page of the list, use this value in the `Marker` field of your + request. + """ + max_items: int + """ + The maximum number of Anycast static IP list collections that you want + returned in the response. + """ + is_truncated: bool + """ + If there are more items in the list collection than are in this + response, this value is `true`. + """ + quantity: int + """The quantity of Anycast static IP lists in the collection.""" + +@dataclass(kw_only=True) +class AnycastIpListSummary(_SerdeShape): + """ + An abbreviated version of the AnycastIpList structure. Omits the + allocated static IP addresses (AnycastIpList$AnycastIps). + """ + + id: str + """The ID of the Anycast static IP list.""" + name: str + """The name of the Anycast static IP list.""" + status: str + """ + The deployment status of the Anycast static IP list. Valid values: + Deployed, Deploying, or Failed. + """ + arn: str + """The Amazon Resource Name (ARN) of the Anycast static IP list.""" + ip_count: int + """The number of IP addresses in the Anycast static IP list.""" + last_modified_time: datetime + """The last time the Anycast static IP list was modified.""" + ip_address_type: str | None = ... + """The IP address type for the Anycast static IP list.""" + e_tag: str | None = ... + """The current version (ETag value) of the Anycast static IP list.""" + ipam_config: IpamConfig | None = ... + """ + The IPAM configuration for the Anycast static IP list, that contains the + quantity and list of IPAM CIDR configurations. + """ + +@dataclass(kw_only=True) +class AssociateAliasInput(_SerdeShape): + """Dataclass for AssociateAliasInput structure.""" + + target_distribution_id: str | None = ... + """ + The ID of the standard distribution that you're associating the alias + with. + """ + alias: str | None = ... + """ + The alias (also known as a CNAME) to add to the target standard + distribution. + """ + +@dataclass(kw_only=True) +class AssociateAliasOutput(_SerdeShape): + """Dataclass for AssociateAliasOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateDistributionTenantWebACLInput(_SerdeShape): + """Dataclass for AssociateDistributionTenantWebACLInput structure.""" + + id: str | None = ... + """The ID of the distribution tenant.""" + web_acl_arn: str | None = ... + """The Amazon Resource Name (ARN) of the WAF web ACL to associate.""" + if_match: str | None = ... + """ + The current `ETag` of the distribution tenant. This value is returned in + the response of the `GetDistributionTenant` API operation. + """ + +@dataclass(kw_only=True) +class AssociateDistributionTenantWebACLOutput(_SerdeShape): + """Dataclass for AssociateDistributionTenantWebACLOutput structure.""" + + id: str | None = ... + """The ID of the distribution tenant.""" + web_acl_arn: str | None = ... + """ + The ARN of the WAF web ACL that you associated with the distribution + tenant. + """ + e_tag: str | None = ... + """The current version of the distribution tenant.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateDistributionWebACLInput(_SerdeShape): + """Dataclass for AssociateDistributionWebACLInput structure.""" + + id: str | None = ... + """The ID of the distribution.""" + web_acl_arn: str | None = ... + """The Amazon Resource Name (ARN) of the WAF web ACL to associate.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + distribution that you're associating with the WAF web ACL. + """ + +@dataclass(kw_only=True) +class AssociateDistributionWebACLOutput(_SerdeShape): + """Dataclass for AssociateDistributionWebACLOutput structure.""" + + id: str | None = ... + """The ID of the distribution.""" + web_acl_arn: str | None = ... + """The ARN of the WAF web ACL that you associated with the distribution.""" + e_tag: str | None = ... + """The current version of the distribution.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BatchTooLarge(ServiceError, _SerdeShape): + """Invalidation batch specified is too large.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CaCertificatesBundleS3Location(_SerdeShape): + """The CA certificates bundle location in Amazon S3.""" + + bucket: str + """The S3 bucket.""" + key: str + """The location's key.""" + region: str + """The location's Region.""" + version: str | None = ... + """The location's version.""" + +@dataclass +class CaCertificatesBundleSourceCaCertificatesBundleS3Location(_SerdeShape): + """The CA certificates bundle location in Amazon S3.""" + + value: CaCertificatesBundleS3Location + +@dataclass +class CaCertificatesBundleSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CaCertificatesBundleSource = Union[ + CaCertificatesBundleSourceCaCertificatesBundleS3Location + | CaCertificatesBundleSourceUnknown +] +"""A CA certificates bundle source.""" + +class _CaCertificatesBundleSourceDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> CaCertificatesBundleSource: ... + +@dataclass(kw_only=True) +class CacheBehavior(_SerdeShape): + """ + A complex type that describes how CloudFront processes requests. + + You must create at least as many cache behaviors (including the default + cache behavior) as you have origins if you want CloudFront to serve + objects from all of the origins. Each cache behavior specifies the one + origin from which you want CloudFront to get objects. If you have two + origins and only the default cache behavior, the default cache behavior + will cause CloudFront to get objects from one of the origins, but the + other origin is never used. + + For the current quota (formerly known as limit) on the number of cache + behaviors that you can add to a distribution, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + in the *Amazon CloudFront Developer Guide*. + + If you don't want to specify any cache behaviors, include only an empty + `CacheBehaviors` element. Don't specify an empty individual + `CacheBehavior` element, because this is invalid. For more information, + see + [CacheBehaviors](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CacheBehaviors.html). + + To delete all cache behaviors in an existing distribution, update the + distribution configuration and include only an empty `CacheBehaviors` + element. + + To add, change, or remove one or more cache behaviors, update the + distribution configuration and specify all of the cache behaviors that + you want to include in the updated distribution. + + Warning: + If your minimum TTL is greater than 0, CloudFront will cache content for + at least the duration specified in the cache policy's minimum TTL, even + if the `Cache-Control: no-cache`, `no-store`, or `private` directives + are present in the origin headers. + + For more information about cache behaviors, see [Cache Behavior + Settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior) + in the *Amazon CloudFront Developer Guide*. + """ + + path_pattern: str + """ + The pattern (for example, `images/*.jpg`) that specifies which requests + to apply the behavior to. When CloudFront receives a viewer request, the + requested path is compared with path patterns in the order in which + cache behaviors are listed in the distribution. + + Note: + You can optionally include a slash (`/`) at the beginning of the path + pattern. For example, `/images/*.jpg`. CloudFront behavior is the same + with or without the leading `/`. + + The path pattern for the default cache behavior is `*` and cannot be + changed. If the request for an object does not match the path pattern + for any cache behaviors, CloudFront applies the behavior in the default + cache behavior. + + For more information, see [Path + Pattern](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesPathPattern) + in the *Amazon CloudFront Developer Guide*. + """ + target_origin_id: str + """ + The value of `ID` for the origin that you want CloudFront to route + requests to when they match this cache behavior. + """ + trusted_signers: TrustedSigners | None = ... + """ + Warning: + We recommend using `TrustedKeyGroups` instead of `TrustedSigners`. + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + A list of Amazon Web Services account IDs whose public keys CloudFront + can use to validate signed URLs or signed cookies. + + When a cache behavior contains trusted signers, CloudFront requires + signed URLs or signed cookies for all requests that match the cache + behavior. The URLs or cookies must be signed with the private key of a + CloudFront key pair in the trusted signer's Amazon Web Services + account. The signed URL or cookie contains information about which + public key CloudFront should use to verify the signature. For more + information, see [Serving private + content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) + in the *Amazon CloudFront Developer Guide*. + """ + trusted_key_groups: TrustedKeyGroups | None = ... + """ + A list of key groups that CloudFront can use to validate signed URLs or + signed cookies. + + When a cache behavior contains trusted key groups, CloudFront requires + signed URLs or signed cookies for all requests that match the cache + behavior. The URLs or cookies must be signed with a private key whose + corresponding public key is in the key group. The signed URL or cookie + contains information about which public key CloudFront should use to + verify the signature. For more information, see [Serving private + content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) + in the *Amazon CloudFront Developer Guide*. + """ + viewer_protocol_policy: str + """ + The protocol that viewers can use to access the files in the origin + specified by `TargetOriginId` when a request matches the path pattern in + `PathPattern`. You can specify the following options: + + - `allow-all`: Viewers can use HTTP or HTTPS. + + - `redirect-to-https`: If a viewer submits an HTTP request, CloudFront + returns an HTTP status code of 301 (Moved Permanently) to the viewer + along with the HTTPS URL. The viewer then resubmits the request using + the new URL. + + - `https-only`: If a viewer sends an HTTP request, CloudFront returns an + HTTP status code of 403 (Forbidden). + + For more information about requiring the HTTPS protocol, see [Requiring + HTTPS Between Viewers and + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) + in the *Amazon CloudFront Developer Guide*. + + Note: + The only way to guarantee that viewers retrieve an object that was + fetched from the origin using HTTPS is never to use any other protocol + to fetch the object. If you have recently changed from HTTP to HTTPS, we + recommend that you clear your objects' cache because cached objects are + protocol agnostic. That means that an edge location will return an + object from the cache regardless of whether the current request protocol + matches the protocol used previously. For more information, see + [Managing Cache + Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + """ + allowed_methods: AllowedMethods | None = ... + """ + A complex type that controls which HTTP methods CloudFront processes and + forwards to your Amazon S3 bucket or your custom origin. There are three + choices: + + - CloudFront forwards only `GET` and `HEAD` requests. + + - CloudFront forwards only `GET`, `HEAD`, and `OPTIONS` requests. + + - CloudFront forwards `GET, HEAD, OPTIONS, PUT, PATCH, POST`, and + `DELETE` requests. + + If you pick the third choice, you may need to restrict access to your + Amazon S3 bucket or to your custom origin so users can't perform + operations that you don't want them to. For example, you might not want + users to have permissions to delete objects from your origin. + """ + smooth_streaming: bool | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + Indicates whether you want to distribute media files in the Microsoft + Smooth Streaming format using the origin that is associated with this + cache behavior. If so, specify `true`; if not, specify `false`. If you + specify `true` for `SmoothStreaming`, you can still distribute other + content using this cache behavior if the content matches the value of + `PathPattern`. + """ + compress: bool | None = ... + """ + Whether you want CloudFront to automatically compress certain files for + this cache behavior. If so, specify true; if not, specify false. For + more information, see [Serving Compressed + Files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html) + in the *Amazon CloudFront Developer Guide*. + """ + lambda_function_associations: LambdaFunctionAssociations | None = ... + """ + A complex type that contains zero or more Lambda@Edge function + associations for a cache behavior. + """ + function_associations: FunctionAssociations | None = ... + """ + A list of CloudFront functions that are associated with this cache + behavior. CloudFront functions must be published to the `LIVE` stage to + associate them with a cache behavior. + """ + field_level_encryption_id: str | None = ... + """ + The value of `ID` for the field-level encryption configuration that you + want CloudFront to use for encrypting specific fields of data for this + cache behavior. + """ + realtime_log_config_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the real-time log configuration that + is attached to this cache behavior. For more information, see [Real-time + logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) + in the *Amazon CloudFront Developer Guide*. + """ + cache_policy_id: str | None = ... + """ + The unique identifier of the cache policy that is attached to this cache + behavior. For more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + A `CacheBehavior` must include either a `CachePolicyId` or + `ForwardedValues`. We recommend that you use a `CachePolicyId`. + """ + origin_request_policy_id: str | None = ... + """ + The unique identifier of the origin request policy that is attached to + this cache behavior. For more information, see [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + or [Using the managed origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) + in the *Amazon CloudFront Developer Guide*. + """ + response_headers_policy_id: str | None = ... + """The identifier for a response headers policy.""" + grpc_config: GrpcConfig | None = ... + """The gRPC configuration for your cache behavior.""" + forwarded_values: ForwardedValues | None = ... + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. For more information, see + [Working with + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html) + in the *Amazon CloudFront Developer Guide*. + + If you want to include values in the cache key, use a cache policy. For + more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + If you want to send values to the origin but not include them in the + cache key, use an origin request policy. For more information, see + [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + or [Using the managed origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) + in the *Amazon CloudFront Developer Guide*. + + A `CacheBehavior` must include either a `CachePolicyId` or + `ForwardedValues`. We recommend that you use a `CachePolicyId`. + + A complex type that specifies how CloudFront handles query strings, + cookies, and HTTP headers. + """ + min_ttl: int | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + This field is deprecated. We recommend that you use the `MinTTL` field + in a cache policy instead of this field. For more information, see + [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + The minimum amount of time that you want objects to stay in CloudFront + caches before CloudFront forwards another request to your origin to + determine whether the object has been updated. For more information, see + [Managing How Long Content Stays in an Edge Cache + (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + + You must specify `0` for `MinTTL` if you configure CloudFront to forward + all headers to your origin (under `Headers`, if you specify `1` for + `Quantity` and `*` for `Name`). + """ + default_ttl: int | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + This field is deprecated. We recommend that you use the `DefaultTTL` + field in a cache policy instead of this field. For more information, see + [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + The default amount of time that you want objects to stay in CloudFront + caches before CloudFront forwards another request to your origin to + determine whether the object has been updated. The value that you + specify applies only when your origin does not add HTTP headers such as + `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` to + objects. For more information, see [Managing How Long Content Stays in + an Edge Cache + (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + """ + max_ttl: int | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + This field is deprecated. We recommend that you use the `MaxTTL` field + in a cache policy instead of this field. For more information, see + [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + The maximum amount of time that you want objects to stay in CloudFront + caches before CloudFront forwards another request to your origin to + determine whether the object has been updated. The value that you + specify applies only when your origin adds HTTP headers such as + `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` to + objects. For more information, see [Managing How Long Content Stays in + an Edge Cache + (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class CacheBehaviors(_SerdeShape): + """A complex type that contains zero or more `CacheBehavior` elements.""" + + quantity: int + """The number of cache behaviors for this distribution.""" + items: list[CacheBehavior] | None = ... + """ + Optional: A complex type that contains cache behaviors for this + distribution. If `Quantity` is `0`, you can omit `Items`. + """ + +@dataclass(kw_only=True) +class CachedMethods(_SerdeShape): + """ + A complex type that controls whether CloudFront caches the response to + requests using the specified HTTP methods. There are two choices: + + - CloudFront caches responses to `GET` and `HEAD` requests. + + - CloudFront caches responses to `GET`, `HEAD`, and `OPTIONS` requests. + + If you pick the second choice for your Amazon S3 Origin, you may need to + forward Access-Control-Request-Method, Access-Control-Request-Headers, + and Origin headers for the responses to be cached correctly. + """ + + quantity: int + """ + The number of HTTP methods for which you want CloudFront to cache + responses. Valid values are `2` (for caching responses to `GET` and + `HEAD` requests) and `3` (for caching responses to `GET`, `HEAD`, and + `OPTIONS` requests). + """ + items: list[str] + """ + A complex type that contains the HTTP methods that you want CloudFront + to cache responses to. Valid values for `CachedMethods` include `GET`, + `HEAD`, and `OPTIONS`, depending on which caching option you choose. For + more information, see the preceding section. + """ + +@dataclass(kw_only=True) +class CachePolicy(_SerdeShape): + """ + A cache policy. + + When it's attached to a cache behavior, the cache policy determines the + following: + + - The values that CloudFront includes in the cache key. These values can + include HTTP headers, cookies, and URL query strings. CloudFront uses + the cache key to find an object in its cache that it can return to the + viewer. + + - The default, minimum, and maximum time to live (TTL) values that you + want objects to stay in the CloudFront cache. + + The headers, cookies, and query strings that are included in the cache + key are also included in requests that CloudFront sends to the origin. + CloudFront sends a request when it can't find a valid object in its + cache that matches the request's cache key. If you want to send values + to the origin but *not* include them in the cache key, use + `OriginRequestPolicy`. + """ + + id: str + """The unique identifier for the cache policy.""" + last_modified_time: datetime + """The date and time when the cache policy was last modified.""" + cache_policy_config: CachePolicyConfig + """The cache policy configuration.""" + +@dataclass(kw_only=True) +class CachePolicyAlreadyExists(ServiceError, _SerdeShape): + """ + A cache policy with this name already exists. You must provide a unique + name. To modify an existing cache policy, use `UpdateCachePolicy`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CachePolicyConfig(_SerdeShape): + """ + A cache policy configuration. + + This configuration determines the following: + + - The values that CloudFront includes in the cache key. These values can + include HTTP headers, cookies, and URL query strings. CloudFront uses + the cache key to find an object in its cache that it can return to the + viewer. + + - The default, minimum, and maximum time to live (TTL) values that you + want objects to stay in the CloudFront cache. + + Warning: + If your minimum TTL is greater than 0, CloudFront will cache content + for at least the duration specified in the cache policy's minimum + TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private` + directives are present in the origin headers. + + The headers, cookies, and query strings that are included in the cache + key are also included in requests that CloudFront sends to the origin. + CloudFront sends a request when it can't find a valid object in its + cache that matches the request's cache key. If you want to send values + to the origin but *not* include them in the cache key, use + `OriginRequestPolicy`. + """ + + comment: str | None = ... + """ + A comment to describe the cache policy. The comment cannot be longer + than 128 characters. + """ + name: str + """A unique name to identify the cache policy.""" + default_ttl: int | None = ... + """ + The default amount of time, in seconds, that you want objects to stay in + the CloudFront cache before CloudFront sends another request to the + origin to see if the object has been updated. CloudFront uses this value + as the object's time to live (TTL) only when the origin does *not* send + `Cache-Control` or `Expires` headers with the object. For more + information, see [Managing How Long Content Stays in an Edge Cache + (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + + The default value for this field is 86400 seconds (one day). If the + value of `MinTTL` is more than 86400 seconds, then the default value for + this field is the same as the value of `MinTTL`. + """ + max_ttl: int | None = ... + """ + The maximum amount of time, in seconds, that objects stay in the + CloudFront cache before CloudFront sends another request to the origin + to see if the object has been updated. CloudFront uses this value only + when the origin sends `Cache-Control` or `Expires` headers with the + object. For more information, see [Managing How Long Content Stays in an + Edge Cache + (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + + The default value for this field is 31536000 seconds (one year). If the + value of `MinTTL` or `DefaultTTL` is more than 31536000 seconds, then + the default value for this field is the same as the value of + `DefaultTTL`. + """ + min_ttl: int + """ + The minimum amount of time, in seconds, that you want objects to stay in + the CloudFront cache before CloudFront sends another request to the + origin to see if the object has been updated. For more information, see + [Managing How Long Content Stays in an Edge Cache + (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + """ + parameters_in_cache_key_and_forwarded_to_origin: ( + ParametersInCacheKeyAndForwardedToOrigin | None + ) = ... + """ + The HTTP headers, cookies, and URL query strings to include in the cache + key. The values included in the cache key are also included in requests + that CloudFront sends to the origin. + """ + +class CachePolicyCookieBehavior(UnknownEnumMixin, StrEnum): + NONE = "none" + WHITELIST = "whitelist" + ALL_EXCEPT = "allExcept" + ALL = "all" + +@dataclass(kw_only=True) +class CachePolicyCookiesConfig(_SerdeShape): + """ + An object that determines whether any cookies in viewer requests (and if + so, which cookies) are included in the cache key and in requests that + CloudFront sends to the origin. + """ + + cookie_behavior: str + """ + Determines whether any cookies in viewer requests are included in the + cache key and in requests that CloudFront sends to the origin. Valid + values are: + + - `none` -- No cookies in viewer requests are included in the cache key + or in requests that CloudFront sends to the origin. Even when this + field is set to `none`, any cookies that are listed in an + `OriginRequestPolicy` *are* included in origin requests. + + - `whitelist` -- Only the cookies in viewer requests that are listed in + the `CookieNames` type are included in the cache key and in requests + that CloudFront sends to the origin. + + - `allExcept` -- All cookies in viewer requests are included in the + cache key and in requests that CloudFront sends to the origin, + ***except*** for those that are listed in the `CookieNames` type, + which are not included. + + - `all` -- All cookies in viewer requests are included in the cache key + and in requests that CloudFront sends to the origin. + """ + cookies: CookieNames | None = ... + """Contains a list of cookie names.""" + +class CachePolicyHeaderBehavior(UnknownEnumMixin, StrEnum): + NONE = "none" + WHITELIST = "whitelist" + +@dataclass(kw_only=True) +class CachePolicyHeadersConfig(_SerdeShape): + """ + An object that determines whether any HTTP headers (and if so, which + headers) are included in the cache key and in requests that CloudFront + sends to the origin. + """ + + header_behavior: str + """ + Determines whether any HTTP headers are included in the cache key and in + requests that CloudFront sends to the origin. Valid values are: + + - `none` -- No HTTP headers are included in the cache key or in requests + that CloudFront sends to the origin. Even when this field is set to + `none`, any headers that are listed in an `OriginRequestPolicy` *are* + included in origin requests. + + - `whitelist` -- Only the HTTP headers that are listed in the `Headers` + type are included in the cache key and in requests that CloudFront + sends to the origin. + """ + headers: Headers | None = ... + """Contains a list of HTTP header names.""" + +@dataclass(kw_only=True) +class CachePolicyInUse(ServiceError, _SerdeShape): + """ + Cannot delete the cache policy because it is attached to one or more + cache behaviors. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CachePolicyList(_SerdeShape): + """A list of cache policies.""" + + next_marker: str | None = ... + """ + If there are more items in the list than are in this response, this + element is present. It contains the value that you should use in the + `Marker` field of a subsequent request to continue listing cache + policies where you left off. + """ + max_items: int + """The maximum number of cache policies requested.""" + quantity: int + """The total number of cache policies returned in the response.""" + items: list[CachePolicySummary] | None = ... + """Contains the cache policies in the list.""" + +class CachePolicyQueryStringBehavior(UnknownEnumMixin, StrEnum): + NONE = "none" + WHITELIST = "whitelist" + ALL_EXCEPT = "allExcept" + ALL = "all" + +@dataclass(kw_only=True) +class CachePolicyQueryStringsConfig(_SerdeShape): + """ + An object that determines whether any URL query strings in viewer + requests (and if so, which query strings) are included in the cache key + and in requests that CloudFront sends to the origin. + """ + + query_string_behavior: str + """ + Determines whether any URL query strings in viewer requests are included + in the cache key and in requests that CloudFront sends to the origin. + Valid values are: + + - `none` -- No query strings in viewer requests are included in the + cache key or in requests that CloudFront sends to the origin. Even + when this field is set to `none`, any query strings that are listed in + an `OriginRequestPolicy` *are* included in origin requests. + + - `whitelist` -- Only the query strings in viewer requests that are + listed in the `QueryStringNames` type are included in the cache key + and in requests that CloudFront sends to the origin. + + - `allExcept` -- All query strings in viewer requests are included in + the cache key and in requests that CloudFront sends to the origin, + ***except*** those that are listed in the `QueryStringNames` type, + which are not included. + + - `all` -- All query strings in viewer requests are included in the + cache key and in requests that CloudFront sends to the origin. + """ + query_strings: QueryStringNames | None = ... + """ + Contains the specific query strings in viewer requests that either + ***are*** or ***are not*** included in the cache key and in requests + that CloudFront sends to the origin. The behavior depends on whether the + `QueryStringBehavior` field in the `CachePolicyQueryStringsConfig` type + is set to `whitelist` (the listed query strings ***are*** included) or + `allExcept` (the listed query strings ***are not*** included, but all + other query strings are). + """ + +@dataclass(kw_only=True) +class CachePolicySummary(_SerdeShape): + """Contains a cache policy.""" + + type: str + """ + The type of cache policy, either `managed` (created by Amazon Web + Services) or `custom` (created in this Amazon Web Services account). + """ + cache_policy: CachePolicy + """The cache policy.""" + +class CachePolicyType(UnknownEnumMixin, StrEnum): + MANAGED = "managed" + CUSTOM = "custom" + +@dataclass(kw_only=True) +class CacheTagConfig(_SerdeShape): + """ + A complex type that specifies the HTTP header name from which CloudFront + extracts cache tags from origin responses. When you add `CacheTagConfig` + to a distribution, CloudFront reads the specified header from origin + responses, parses the comma-separated tag values, and stores them with + the cached object. You can then invalidate cached objects by tag using + the `CreateInvalidation` API. + """ + + header_name: str + """ + The name of the HTTP header that your origin includes in responses. + CloudFront uses this header to extract cache tags. The header value must + contain comma-separated tag values (for example, + `product:electronics, category:tv, brand:example`). + """ + +@dataclass(kw_only=True) +class CannotChangeImmutablePublicKeyFields(ServiceError, _SerdeShape): + """You can't change the value of a public key.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CannotDeleteEntityWhileInUse(ServiceError, _SerdeShape): + """The entity cannot be deleted while it is in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CannotUpdateEntityWhileInUse(ServiceError, _SerdeShape): + """The entity cannot be updated while it is in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Certificate(_SerdeShape): + """ + The Certificate Manager (ACM) certificate associated with your + distribution. + """ + + arn: str + """The Amazon Resource Name (ARN) of the ACM certificate.""" + +class CertificateSource(UnknownEnumMixin, StrEnum): + CLOUDFRONT = "cloudfront" + IAM = "iam" + ACM = "acm" + +class CertificateTransparencyLoggingPreference(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class CloudFrontOriginAccessIdentity(_SerdeShape): + """CloudFront origin access identity.""" + + id: str + """The ID for the origin access identity, for example, `E74FTE3AJFJ256A`.""" + s3_canonical_user_id: str + """ + The Amazon S3 canonical user ID for the origin access identity, used + when giving the origin access identity read permission to an object in + Amazon S3. + """ + cloud_front_origin_access_identity_config: ( + CloudFrontOriginAccessIdentityConfig | None + ) = ... + """The current configuration information for the identity.""" + +@dataclass(kw_only=True) +class CloudFrontOriginAccessIdentityAlreadyExists(ServiceError, _SerdeShape): + """ + If the `CallerReference` is a value you already sent in a previous + request to create an identity but the content of the + `CloudFrontOriginAccessIdentityConfig` is different from the original + request, CloudFront returns a + `CloudFrontOriginAccessIdentityAlreadyExists` error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CloudFrontOriginAccessIdentityConfig(_SerdeShape): + """ + Origin access identity configuration. Send a `GET` request to the + `/`*`CloudFront API version`*`/CloudFront/identity ID/config` resource. + """ + + caller_reference: str + """ + A unique value (for example, a date-time stamp) that ensures that the + request can't be replayed. + + If the value of `CallerReference` is new (regardless of the content of + the `CloudFrontOriginAccessIdentityConfig` object), a new origin access + identity is created. + + If the `CallerReference` is a value already sent in a previous identity + request, and the content of the `CloudFrontOriginAccessIdentityConfig` + is identical to the original request (ignoring white space), the + response includes the same information returned to the original request. + + If the `CallerReference` is a value you already sent in a previous + request to create an identity, but the content of the + `CloudFrontOriginAccessIdentityConfig` is different from the original + request, CloudFront returns a + `CloudFrontOriginAccessIdentityAlreadyExists` error. + """ + comment: str + """ + A comment to describe the origin access identity. The comment cannot be + longer than 128 characters. + """ + +@dataclass(kw_only=True) +class CloudFrontOriginAccessIdentityInUse(ServiceError, _SerdeShape): + """The Origin Access Identity specified is already in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CloudFrontOriginAccessIdentityList(_SerdeShape): + """ + Lists the origin access identities for CloudFront.Send a `GET` request + to the `/`*`CloudFront API version`*`/origin-access-identity/cloudfront` + resource. The response includes a `CloudFrontOriginAccessIdentityList` + element with zero or more `CloudFrontOriginAccessIdentitySummary` child + elements. By default, your entire list of origin access identities is + returned in one single page. If the list is long, you can paginate it + using the `MaxItems` and `Marker` parameters. + """ + + marker: str + """ + Use this when paginating results to indicate where to begin in your list + of origin access identities. The results include identities in the list + that occur after the marker. To get the next page of results, set the + `Marker` to the value of the `NextMarker` from the current page's + response (which is also the ID of the last identity on that page). + """ + next_marker: str | None = ... + """ + If `IsTruncated` is `true`, this element is present and contains the + value you can use for the `Marker` request parameter to continue listing + your origin access identities where they left off. + """ + max_items: int + """ + The maximum number of origin access identities you want in the response + body. + """ + is_truncated: bool + """ + A flag that indicates whether more origin access identities remain to be + listed. If your results were truncated, you can make a follow-up + pagination request using the `Marker` request parameter to retrieve more + items in the list. + """ + quantity: int + """ + The number of CloudFront origin access identities that were created by + the current Amazon Web Services account. + """ + items: list[CloudFrontOriginAccessIdentitySummary] | None = ... + """ + A complex type that contains one `CloudFrontOriginAccessIdentitySummary` + element for each origin access identity that was created by the current + Amazon Web Services account. + """ + +@dataclass(kw_only=True) +class CloudFrontOriginAccessIdentitySummary(_SerdeShape): + """Summary of the information about a CloudFront origin access identity.""" + + id: str + """The ID for the origin access identity. For example: `E74FTE3AJFJ256A`.""" + s3_canonical_user_id: str + """ + The Amazon S3 canonical user ID for the origin access identity, which + you use when giving the origin access identity read permission to an + object in Amazon S3. + """ + comment: str + """ + The comment for this origin access identity, as originally specified + when created. + """ + +@dataclass(kw_only=True) +class CNAMEAlreadyExists(ServiceError, _SerdeShape): + """The CNAME specified is already defined for CloudFront.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ConflictingAlias(_SerdeShape): + """ + An alias (also called a CNAME) and the CloudFront standard distribution + and Amazon Web Services account ID that it's associated with. The + standard distribution and account IDs are partially hidden, which allows + you to identify the standard distributions and accounts that you own, + and helps to protect the information of ones that you don't own. + """ + + alias: str | None = ... + """An alias (also called a CNAME).""" + distribution_id: str | None = ... + """ + The (partially hidden) ID of the CloudFront standard distribution + associated with the alias. + """ + account_id: str | None = ... + """ + The (partially hidden) ID of the Amazon Web Services account that owns + the standard distribution that's associated with the alias. + """ + +@dataclass(kw_only=True) +class ConflictingAliasesList(_SerdeShape): + """ + A list of aliases (also called CNAMEs) and the CloudFront standard + distributions and Amazon Web Services accounts that they are associated + with. In the list, the standard distribution and account IDs are + partially hidden, which allows you to identify the standard + distributions and accounts that you own, but helps to protect the + information of ones that you don't own. + """ + + next_marker: str | None = ... + """ + If there are more items in the list than are in this response, this + element is present. It contains the value that you should use in the + `Marker` field of a subsequent request to continue listing conflicting + aliases where you left off. + """ + max_items: int | None = ... + """The maximum number of conflicting aliases requested.""" + quantity: int | None = ... + """The number of conflicting aliases returned in the response.""" + items: list[ConflictingAlias] | None = ... + """Contains the conflicting aliases in the list.""" + +@dataclass(kw_only=True) +class ConnectionFunctionAssociation(_SerdeShape): + """A connection function association.""" + + id: str + """The association's ID.""" + +@dataclass(kw_only=True) +class ConnectionFunctionSummary(_SerdeShape): + """A connection function summary.""" + + name: str + """The connection function name.""" + id: str + """The connection function ID.""" + connection_function_config: FunctionConfig + """Contains configuration information about a CloudFront function.""" + connection_function_arn: str + """The connection function Amazon Resource Name (ARN).""" + status: str + """The connection function status.""" + stage: str + """The connection function stage.""" + created_time: datetime + """The connection function created time.""" + last_modified_time: datetime + """The connection function last modified time.""" + +@dataclass(kw_only=True) +class ConnectionFunctionTestResult(_SerdeShape): + """A connection function test result.""" + + connection_function_summary: ConnectionFunctionSummary | None = ... + """The connection function summary.""" + compute_utilization: str | None = ... + """The connection function compute utilization.""" + connection_function_execution_logs: list[str] | None = ... + """The connection function execution logs.""" + connection_function_error_message: str | None = ... + """The connection function error message.""" + connection_function_output: str | None = ... + """The connection function output.""" + +@dataclass(kw_only=True) +class ConnectionGroup(_SerdeShape): + """ + The connection group for your distribution tenants. When you first + create a distribution tenant and you don't specify a connection group, + CloudFront will automatically create a default connection group for you. + When you create a new distribution tenant and don't specify a + connection group, the default one will be associated with your + distribution tenant. + """ + + id: str | None = ... + """The ID of the connection group.""" + name: str | None = ... + """The name of the connection group.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) of the connection group.""" + created_time: datetime | None = ... + """The date and time when the connection group was created.""" + last_modified_time: datetime | None = ... + """The date and time when the connection group was updated.""" + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + ipv6_enabled: bool | None = ... + """IPv6 is enabled for the connection group.""" + routing_endpoint: str | None = ... + """ + The routing endpoint (also known as the DNS name) that is assigned to + the connection group, such as d111111abcdef8.cloudfront.net. + """ + anycast_ip_list_id: str | None = ... + """The ID of the Anycast static IP list.""" + status: str | None = ... + """The status of the connection group.""" + enabled: bool | None = ... + """Whether the connection group is enabled.""" + is_default: bool | None = ... + """ + Whether the connection group is the default connection group for the + distribution tenants. + """ + +@dataclass(kw_only=True) +class ConnectionGroupAssociationFilter(_SerdeShape): + """ + Contains information about what CloudFront resources your connection + groups are associated with. + """ + + anycast_ip_list_id: str | None = ... + """The ID of the Anycast static IP list.""" + +@dataclass(kw_only=True) +class ConnectionGroupSummary(_SerdeShape): + """A summary that contains details about your connection groups.""" + + id: str + """The ID of the connection group.""" + name: str + """The name of the connection group.""" + arn: str + """The Amazon Resource Name (ARN) of the connection group.""" + routing_endpoint: str + """ + The routing endpoint (also known as the DNS name) that is assigned to + the connection group, such as d111111abcdef8.cloudfront.net. + """ + created_time: datetime + """The date and time when the connection group was created.""" + last_modified_time: datetime + """The date and time when the connection group was updated.""" + e_tag: str + """The current version of the connection group.""" + anycast_ip_list_id: str | None = ... + """The ID of the Anycast static IP list.""" + enabled: bool | None = ... + """Whether the connection group is enabled""" + status: str | None = ... + """The status of the connection group.""" + is_default: bool | None = ... + """ + Whether the connection group is the default connection group for the + distribution tenants. + """ + +class ConnectionMode(UnknownEnumMixin, StrEnum): + DIRECT = "direct" + TENANT_ONLY = "tenant-only" + +@dataclass(kw_only=True) +class ContentTypeProfile(_SerdeShape): + """A field-level encryption content type profile.""" + + format: str + """The format for a field-level encryption content type-profile mapping.""" + profile_id: str | None = ... + """ + The profile ID for a field-level encryption content type-profile + mapping. + """ + content_type: str + """ + The content type for a field-level encryption content type-profile + mapping. + """ + +@dataclass(kw_only=True) +class ContentTypeProfileConfig(_SerdeShape): + """ + The configuration for a field-level encryption content type-profile + mapping. + """ + + forward_when_content_type_is_unknown: bool + """ + The setting in a field-level encryption content type-profile mapping + that specifies what to do when an unknown content type is provided for + the profile. If true, content is forwarded without being encrypted when + the content type is unknown. If false (the default), an error is + returned when the content type is unknown. + """ + content_type_profiles: ContentTypeProfiles | None = ... + """The configuration for a field-level encryption content type-profile.""" + +@dataclass(kw_only=True) +class ContentTypeProfiles(_SerdeShape): + """Field-level encryption content type-profile.""" + + quantity: int + """The number of field-level encryption content type-profile mappings.""" + items: list[ContentTypeProfile] | None = ... + """Items in a field-level encryption content type-profile mapping.""" + +@dataclass(kw_only=True) +class ContinuousDeploymentPolicy(_SerdeShape): + """A continuous deployment policy.""" + + id: str + """The identifier of the continuous deployment policy.""" + last_modified_time: datetime + """The date and time the continuous deployment policy was last modified.""" + continuous_deployment_policy_config: ContinuousDeploymentPolicyConfig + """Contains the configuration for a continuous deployment policy.""" + +@dataclass(kw_only=True) +class ContinuousDeploymentPolicyAlreadyExists(ServiceError, _SerdeShape): + """A continuous deployment policy with this configuration already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ContinuousDeploymentPolicyConfig(_SerdeShape): + """Contains the configuration for a continuous deployment policy.""" + + staging_distribution_dns_names: StagingDistributionDnsNames + """ + The CloudFront domain name of the staging distribution. For example: + `d111111abcdef8.cloudfront.net`. + """ + enabled: bool + """ + A Boolean that indicates whether this continuous deployment policy is + enabled (in effect). When this value is `true`, this policy is enabled + and in effect. When this value is `false`, this policy is not enabled + and has no effect. + """ + traffic_config: TrafficConfig | None = ... + """ + Contains the parameters for routing production traffic from your primary + to staging distributions. + """ + +@dataclass(kw_only=True) +class ContinuousDeploymentPolicyInUse(ServiceError, _SerdeShape): + """ + You cannot delete a continuous deployment policy that is associated with + a primary distribution. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ContinuousDeploymentPolicyList(_SerdeShape): + """Contains a list of continuous deployment policies.""" + + next_marker: str | None = ... + """ + Indicates the next page of continuous deployment policies. To get the + next page of the list, use this value in the `Marker` field of your + request. + """ + max_items: int + """ + The maximum number of continuous deployment policies that were specified + in your request. + """ + quantity: int + """ + The total number of continuous deployment policies in your Amazon Web + Services account, regardless of the `MaxItems` value. + """ + items: list[ContinuousDeploymentPolicySummary] | None = ... + """A list of continuous deployment policy items.""" + +@dataclass(kw_only=True) +class ContinuousDeploymentPolicySummary(_SerdeShape): + """A summary of the information about your continuous deployment policies.""" + + continuous_deployment_policy: ContinuousDeploymentPolicy + """The continuous deployment policy.""" + +class ContinuousDeploymentPolicyType(UnknownEnumMixin, StrEnum): + SINGLE_WEIGHT = "SingleWeight" + SINGLE_HEADER = "SingleHeader" + +@dataclass(kw_only=True) +class ContinuousDeploymentSingleHeaderConfig(_SerdeShape): + """ + This configuration determines which HTTP requests are sent to the + staging distribution. If the HTTP request contains a header and value + that matches what you specify here, the request is sent to the staging + distribution. Otherwise the request is sent to the primary distribution. + """ + + header: str + """ + The request header name that you want CloudFront to send to your staging + distribution. The header must contain the prefix `aws-cf-cd-`. + """ + value: str + """The request header value.""" + +@dataclass(kw_only=True) +class ContinuousDeploymentSingleWeightConfig(_SerdeShape): + """Contains the percentage of traffic to send to a staging distribution.""" + + weight: float + """ + The percentage of traffic to send to a staging distribution, expressed + as a decimal number between 0 and 0.15. For example, a value of 0.10 + means 10% of traffic is sent to the staging distribution. + """ + session_stickiness_config: SessionStickinessConfig | None = ... + """ + Session stickiness provides the ability to define multiple requests from + a single viewer as a single session. This prevents the potentially + inconsistent experience of sending some of a given user's requests to + your staging distribution, while others are sent to your primary + distribution. Define the session duration using TTL values. + """ + +@dataclass(kw_only=True) +class CookieNames(_SerdeShape): + """Contains a list of cookie names.""" + + quantity: int + """The number of cookie names in the `Items` list.""" + items: list[str] | None = ... + """A list of cookie names.""" + +@dataclass(kw_only=True) +class CookiePreference(_SerdeShape): + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. + + If you want to include cookies in the cache key, use `CookiesConfig` in + a cache policy. See `CachePolicy`. + + If you want to send cookies to the origin but not include them in the + cache key, use `CookiesConfig` in an origin request policy. See + `OriginRequestPolicy`. + + A complex type that specifies whether you want CloudFront to forward + cookies to the origin and, if so, which ones. For more information about + forwarding cookies to the origin, see [Caching Content Based on + Cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) + in the *Amazon CloudFront Developer Guide*. + """ + + forward: str + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. + + If you want to include cookies in the cache key, use a cache policy. For + more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + in the *Amazon CloudFront Developer Guide*. + + If you want to send cookies to the origin but not include them in the + cache key, use origin request policy. For more information, see + [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + in the *Amazon CloudFront Developer Guide*. + + Specifies which cookies to forward to the origin for this cache + behavior: all, none, or the list of cookies specified in the + `WhitelistedNames` complex type. + + Amazon S3 doesn't process cookies. When the cache behavior is + forwarding requests to an Amazon S3 origin, specify none for the + `Forward` element. + """ + whitelisted_names: CookieNames | None = ... + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. + + If you want to include cookies in the cache key, use a cache policy. For + more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + in the *Amazon CloudFront Developer Guide*. + + If you want to send cookies to the origin but not include them in the + cache key, use an origin request policy. For more information, see + [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + in the *Amazon CloudFront Developer Guide*. + + Required if you specify `whitelist` for the value of `Forward`. A + complex type that specifies how many different cookies you want + CloudFront to forward to the origin for this cache behavior and, if you + want to forward selected cookies, the names of those cookies. + + If you specify `all` or `none` for the value of `Forward`, omit + `WhitelistedNames`. If you change the value of `Forward` from + `whitelist` to `all` or `none` and you don't delete the + `WhitelistedNames` element and its child elements, CloudFront deletes + them automatically. + + For the current limit on the number of cookie names that you can + whitelist for each cache behavior, see [CloudFront + Limits](https://docs.aws.amazon.com/general/latest/gr/xrefaws_service_limits.html#limits_cloudfront) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class CopyDistributionInput(_SerdeShape): + """Dataclass for CopyDistributionInput structure.""" + + primary_distribution_id: str | None = ... + """ + The identifier of the primary distribution whose configuration you are + copying. To get a distribution ID, use `ListDistributions`. + """ + staging: bool | None = ... + """ + The type of distribution that your primary distribution will be copied + to. The only valid value is `True`, indicating that you are copying to a + staging distribution. + """ + if_match: str | None = ... + """ + The version identifier of the primary distribution whose configuration + you are copying. This is the `ETag` value returned in the response to + `GetDistribution` and `GetDistributionConfig`. + """ + caller_reference: str | None = ... + """ + A value that uniquely identifies a request to create a resource. This + helps to prevent CloudFront from creating a duplicate resource if you + accidentally resubmit an identical request. + """ + enabled: bool | None = ... + """ + A Boolean flag to specify the state of the staging distribution when + it's created. When you set this value to `True`, the staging + distribution is enabled. When you set this value to `False`, the staging + distribution is disabled. + + If you omit this field, the default value is `True`. + """ + +@dataclass(kw_only=True) +class CopyDistributionOutput(_SerdeShape): + """Dataclass for CopyDistributionOutput structure.""" + + distribution: Distribution | None = ... + """ + A distribution tells CloudFront where you want content to be delivered + from, and the details about how to track and manage content delivery. + """ + location: str | None = ... + """The URL of the staging distribution.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the staging + distribution. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAnycastIpListInput(_SerdeShape): + """Dataclass for CreateAnycastIpListInput structure.""" + + name: str | None = ... + """Name of the Anycast static IP list.""" + ip_count: int | None = ... + """ + The number of static IP addresses that are allocated to the Anycast + static IP list. Valid values: 21 or 3. + """ + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + ip_address_type: str | None = ... + """ + The IP address type for the Anycast static IP list. You can specify one + of the following options: + + - `ipv4` only + + - `ipv6` only + + - `dualstack` - Allocate a list of both IPv4 and IPv6 addresses + """ + ipam_cidr_configs: list[IpamCidrConfig] | None = ... + """ + A list of IPAM CIDR configurations that specify the IP address ranges + and IPAM pool settings for creating the Anycast static IP list. + """ + +@dataclass(kw_only=True) +class CreateAnycastIpListOutput(_SerdeShape): + """Dataclass for CreateAnycastIpListOutput structure.""" + + anycast_ip_list: AnycastIpList | None = ... + """ + A response structure that includes the version identifier (ETag) and the + created AnycastIpList structure. + """ + e_tag: str | None = ... + """ + The version identifier for the current version of the Anycast static IP + list. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCachePolicyInput(_SerdeShape): + """Dataclass for CreateCachePolicyInput structure.""" + + cache_policy_config: CachePolicyConfig | None = ... + """A cache policy configuration.""" + +@dataclass(kw_only=True) +class CreateCachePolicyOutput(_SerdeShape): + """Dataclass for CreateCachePolicyOutput structure.""" + + cache_policy: CachePolicy | None = ... + """A cache policy.""" + location: str | None = ... + """The fully qualified URI of the cache policy just created.""" + e_tag: str | None = ... + """The current version of the cache policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCloudFrontOriginAccessIdentityInput(_SerdeShape): + """ + The request to create a new origin access identity (OAI). An origin + access identity is a special CloudFront user that you can associate with + Amazon S3 origins, so that you can secure all or just some of your + Amazon S3 content. For more information, see [Restricting Access to + Amazon S3 Content by Using an Origin Access + Identity](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) + in the *Amazon CloudFront Developer Guide*. + """ + + cloud_front_origin_access_identity_config: ( + CloudFrontOriginAccessIdentityConfig | None + ) = ... + """The current configuration information for the identity.""" + +@dataclass(kw_only=True) +class CreateCloudFrontOriginAccessIdentityOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + cloud_front_origin_access_identity: CloudFrontOriginAccessIdentity | None = ... + """The origin access identity's information.""" + location: str | None = ... + """The fully qualified URI of the new origin access identity just created.""" + e_tag: str | None = ... + """The current version of the origin access identity created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateConnectionFunctionInput(_SerdeShape): + """Dataclass for CreateConnectionFunctionInput structure.""" + + name: str | None = ... + """A name for the connection function.""" + connection_function_config: FunctionConfig | None = ... + """Contains configuration information about a CloudFront function.""" + connection_function_code: bytes | None = ... + """The code for the connection function.""" + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + +@dataclass(kw_only=True) +class CreateConnectionFunctionOutput(_SerdeShape): + """Dataclass for CreateConnectionFunctionOutput structure.""" + + connection_function_summary: ConnectionFunctionSummary | None = ... + """The summary for the connection function.""" + location: str | None = ... + """The location of the connection function.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the connection + function. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateConnectionGroupInput(_SerdeShape): + """Dataclass for CreateConnectionGroupInput structure.""" + + name: str | None = ... + """ + The name of the connection group. Enter a friendly identifier that is + unique within your Amazon Web Services account. This name can't be + updated after you create the connection group. + """ + ipv6_enabled: bool | None = ... + """ + Enable IPv6 for the connection group. The default is `true`. For more + information, see [Enable + IPv6](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesEnableIPv6) + in the *Amazon CloudFront Developer Guide*. + """ + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + anycast_ip_list_id: str | None = ... + """The ID of the Anycast static IP list.""" + enabled: bool | None = ... + """Enable the connection group.""" + +@dataclass(kw_only=True) +class CreateConnectionGroupOutput(_SerdeShape): + """Dataclass for CreateConnectionGroupOutput structure.""" + + connection_group: ConnectionGroup | None = ... + """The connection group that you created.""" + e_tag: str | None = ... + """The current version of the connection group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateContinuousDeploymentPolicyInput(_SerdeShape): + """Dataclass for CreateContinuousDeploymentPolicyInput structure.""" + + continuous_deployment_policy_config: ContinuousDeploymentPolicyConfig | None = ... + """Contains the configuration for a continuous deployment policy.""" + +@dataclass(kw_only=True) +class CreateContinuousDeploymentPolicyOutput(_SerdeShape): + """Dataclass for CreateContinuousDeploymentPolicyOutput structure.""" + + continuous_deployment_policy: ContinuousDeploymentPolicy | None = ... + """A continuous deployment policy.""" + location: str | None = ... + """The location of the continuous deployment policy.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the continuous + deployment policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDistributionInput(_SerdeShape): + """The request to create a new distribution.""" + + distribution_config: DistributionConfig | None = ... + """The distribution's configuration information.""" + +@dataclass(kw_only=True) +class CreateDistributionOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + distribution: Distribution | None = ... + """The distribution's information.""" + location: str | None = ... + """The fully qualified URI of the new distribution resource just created.""" + e_tag: str | None = ... + """The current version of the distribution created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDistributionTenantInput(_SerdeShape): + """Dataclass for CreateDistributionTenantInput structure.""" + + distribution_id: str | None = ... + """ + The ID of the multi-tenant distribution to use for creating the + distribution tenant. + """ + name: str | None = ... + """ + The name of the distribution tenant. Enter a friendly identifier that is + unique within your Amazon Web Services account. This name can't be + updated after you create the distribution tenant. + """ + domains: list[DomainItem] | None = ... + """ + The domains associated with the distribution tenant. You must specify at + least one domain in the request. + """ + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + customizations: Customizations | None = ... + """ + Customizations for the distribution tenant. For each distribution + tenant, you can specify the geographic restrictions, and the Amazon + Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are + specific values that you can override or disable from the multi-tenant + distribution that was used to create the distribution tenant. + """ + parameters: list[Parameter] | None = ... + """ + A list of parameter values to add to the resource. A parameter is + specified as a key-value pair. A valid parameter value must exist for + any parameter that is marked as required in the multi-tenant + distribution. + """ + connection_group_id: str | None = ... + """ + The ID of the connection group to associate with the distribution + tenant. + """ + managed_certificate_request: ManagedCertificateRequest | None = ... + """The configuration for the CloudFront managed ACM certificate request.""" + enabled: bool | None = ... + """ + Indicates whether the distribution tenant should be enabled when + created. If the distribution tenant is disabled, the distribution tenant + won't serve traffic. + """ + +@dataclass(kw_only=True) +class CreateDistributionTenantOutput(_SerdeShape): + """Dataclass for CreateDistributionTenantOutput structure.""" + + distribution_tenant: DistributionTenant | None = ... + """The distribution tenant that you created.""" + e_tag: str | None = ... + """The current version of the distribution tenant.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDistributionWithTagsInput(_SerdeShape): + """The request to create a new distribution with tags.""" + + distribution_config_with_tags: DistributionConfigWithTags | None = ... + """The distribution's configuration information.""" + +@dataclass(kw_only=True) +class CreateDistributionWithTagsOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + distribution: Distribution | None = ... + """The distribution's information.""" + location: str | None = ... + """The fully qualified URI of the new distribution resource just created.""" + e_tag: str | None = ... + """The current version of the distribution created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFieldLevelEncryptionConfigInput(_SerdeShape): + """Dataclass for CreateFieldLevelEncryptionConfigInput structure.""" + + field_level_encryption_config: FieldLevelEncryptionConfig | None = ... + """The request to create a new field-level encryption configuration.""" + +@dataclass(kw_only=True) +class CreateFieldLevelEncryptionConfigOutput(_SerdeShape): + """Dataclass for CreateFieldLevelEncryptionConfigOutput structure.""" + + field_level_encryption: FieldLevelEncryption | None = ... + """Returned when you create a new field-level encryption configuration.""" + location: str | None = ... + """The fully qualified URI of the new configuration resource just created.""" + e_tag: str | None = ... + """ + The current version of the field level encryption configuration. For + example: `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFieldLevelEncryptionProfileInput(_SerdeShape): + """Dataclass for CreateFieldLevelEncryptionProfileInput structure.""" + + field_level_encryption_profile_config: ( + FieldLevelEncryptionProfileConfig | None + ) = ... + """The request to create a field-level encryption profile.""" + +@dataclass(kw_only=True) +class CreateFieldLevelEncryptionProfileOutput(_SerdeShape): + """Dataclass for CreateFieldLevelEncryptionProfileOutput structure.""" + + field_level_encryption_profile: FieldLevelEncryptionProfile | None = ... + """Returned when you create a new field-level encryption profile.""" + location: str | None = ... + """The fully qualified URI of the new profile resource just created.""" + e_tag: str | None = ... + """ + The current version of the field level encryption profile. For example: + `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFunctionInput(_SerdeShape): + """Dataclass for CreateFunctionInput structure.""" + + name: str | None = ... + """A name to identify the function.""" + function_config: FunctionConfig | None = ... + """ + Configuration information about the function, including an optional + comment and the function's runtime. + """ + function_code: bytes | None = ... + """ + The function code. For more information about writing a CloudFront + function, see [Writing function code for CloudFront + Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html) + in the *Amazon CloudFront Developer Guide*. + """ + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + +@dataclass(kw_only=True) +class CreateFunctionOutput(_SerdeShape): + """Dataclass for CreateFunctionOutput structure.""" + + function_summary: FunctionSummary | None = ... + """ + Contains configuration information and metadata about a CloudFront + function. + """ + location: str | None = ... + """ + The URL of the CloudFront function. Use the URL to manage the function + with the CloudFront API. + """ + e_tag: str | None = ... + """ + The version identifier for the current version of the CloudFront + function. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInvalidationForDistributionTenantInput(_SerdeShape): + """Dataclass for CreateInvalidationForDistributionTenantInput structure.""" + + id: str | None = ... + """The ID of the distribution tenant.""" + invalidation_batch: InvalidationBatch | None = ... + """An invalidation batch.""" + +@dataclass(kw_only=True) +class CreateInvalidationForDistributionTenantOutput(_SerdeShape): + """Dataclass for CreateInvalidationForDistributionTenantOutput structure.""" + + location: str | None = ... + """The location for the invalidation.""" + invalidation: Invalidation | None = ... + """An invalidation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInvalidationInput(_SerdeShape): + """The request to create an invalidation.""" + + distribution_id: str | None = ... + """The distribution's id.""" + invalidation_batch: InvalidationBatch | None = ... + """The batch information for the invalidation.""" + +@dataclass(kw_only=True) +class CreateInvalidationOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + location: str | None = ... + """ + The fully qualified URI of the distribution and invalidation batch + request, including the `Invalidation ID`. + """ + invalidation: Invalidation | None = ... + """The invalidation's information.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateKeyGroupInput(_SerdeShape): + """Dataclass for CreateKeyGroupInput structure.""" + + key_group_config: KeyGroupConfig | None = ... + """A key group configuration.""" + +@dataclass(kw_only=True) +class CreateKeyGroupOutput(_SerdeShape): + """Dataclass for CreateKeyGroupOutput structure.""" + + key_group: KeyGroup | None = ... + """The key group that was just created.""" + location: str | None = ... + """The URL of the key group.""" + e_tag: str | None = ... + """The identifier for this version of the key group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateKeyValueStoreInput(_SerdeShape): + """Dataclass for CreateKeyValueStoreInput structure.""" + + name: str | None = ... + """ + The name of the key value store. The minimum length is 1 character and + the maximum length is 64 characters. + """ + comment: str | None = ... + """The comment of the key value store.""" + import_source: ImportSource | None = ... + """ + The S3 bucket that provides the source for the import. The source must + be in a valid JSON format. + """ + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + +@dataclass(kw_only=True) +class CreateKeyValueStoreOutput(_SerdeShape): + """Dataclass for CreateKeyValueStoreOutput structure.""" + + key_value_store: KeyValueStore | None = ... + """The resulting key value store.""" + e_tag: str | None = ... + """The `ETag` in the resulting key value store.""" + location: str | None = ... + """The location of the resulting key value store.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateMonitoringSubscriptionInput(_SerdeShape): + """Dataclass for CreateMonitoringSubscriptionInput structure.""" + + distribution_id: str | None = ... + """The ID of the distribution that you are enabling metrics for.""" + monitoring_subscription: MonitoringSubscription | None = ... + """ + A monitoring subscription. This structure contains information about + whether additional CloudWatch metrics are enabled for a given CloudFront + distribution. + """ + +@dataclass(kw_only=True) +class CreateMonitoringSubscriptionOutput(_SerdeShape): + """Dataclass for CreateMonitoringSubscriptionOutput structure.""" + + monitoring_subscription: MonitoringSubscription | None = ... + """ + A monitoring subscription. This structure contains information about + whether additional CloudWatch metrics are enabled for a given CloudFront + distribution. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateOriginAccessControlInput(_SerdeShape): + """Dataclass for CreateOriginAccessControlInput structure.""" + + origin_access_control_config: OriginAccessControlConfig | None = ... + """Contains the origin access control.""" + +@dataclass(kw_only=True) +class CreateOriginAccessControlOutput(_SerdeShape): + """Dataclass for CreateOriginAccessControlOutput structure.""" + + origin_access_control: OriginAccessControl | None = ... + """Contains an origin access control.""" + location: str | None = ... + """The URL of the origin access control.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the origin access + control. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateOriginRequestPolicyInput(_SerdeShape): + """Dataclass for CreateOriginRequestPolicyInput structure.""" + + origin_request_policy_config: OriginRequestPolicyConfig | None = ... + """An origin request policy configuration.""" + +@dataclass(kw_only=True) +class CreateOriginRequestPolicyOutput(_SerdeShape): + """Dataclass for CreateOriginRequestPolicyOutput structure.""" + + origin_request_policy: OriginRequestPolicy | None = ... + """An origin request policy.""" + location: str | None = ... + """The fully qualified URI of the origin request policy just created.""" + e_tag: str | None = ... + """The current version of the origin request policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePublicKeyInput(_SerdeShape): + """Dataclass for CreatePublicKeyInput structure.""" + + public_key_config: PublicKeyConfig | None = ... + """A CloudFront public key configuration.""" + +@dataclass(kw_only=True) +class CreatePublicKeyOutput(_SerdeShape): + """Dataclass for CreatePublicKeyOutput structure.""" + + public_key: PublicKey | None = ... + """The public key.""" + location: str | None = ... + """The URL of the public key.""" + e_tag: str | None = ... + """The identifier for this version of the public key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRealtimeLogConfigInput(_SerdeShape): + """Dataclass for CreateRealtimeLogConfigInput structure.""" + + end_points: list[EndPoint] | None = ... + """ + Contains information about the Amazon Kinesis data stream where you are + sending real-time log data. + """ + fields: list[str] | None = ... + """ + A list of fields to include in each real-time log record. + + For more information about fields, see [Real-time log configuration + fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) + in the *Amazon CloudFront Developer Guide*. + """ + name: str | None = ... + """A unique name to identify this real-time log configuration.""" + sampling_rate: int | None = ... + """ + The sampling rate for this real-time log configuration. You can specify + a whole number between 1 and 100 (inclusive) to determine the percentage + of viewer requests that are represented in the real-time log data. + """ + +@dataclass(kw_only=True) +class CreateRealtimeLogConfigOutput(_SerdeShape): + """Dataclass for CreateRealtimeLogConfigOutput structure.""" + + realtime_log_config: RealtimeLogConfig | None = ... + """A real-time log configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateResponseHeadersPolicyInput(_SerdeShape): + """Dataclass for CreateResponseHeadersPolicyInput structure.""" + + response_headers_policy_config: ResponseHeadersPolicyConfig | None = ... + """ + Contains metadata about the response headers policy, and a set of + configurations that specify the HTTP headers. + """ + +@dataclass(kw_only=True) +class CreateResponseHeadersPolicyOutput(_SerdeShape): + """Dataclass for CreateResponseHeadersPolicyOutput structure.""" + + response_headers_policy: ResponseHeadersPolicy | None = ... + """Contains a response headers policy.""" + location: str | None = ... + """The URL of the response headers policy.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the response headers + policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateStreamingDistributionInput(_SerdeShape): + """The request to create a new streaming distribution.""" + + streaming_distribution_config: StreamingDistributionConfig | None = ... + """The streaming distribution's configuration information.""" + +@dataclass(kw_only=True) +class CreateStreamingDistributionOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + streaming_distribution: StreamingDistribution | None = ... + """The streaming distribution's information.""" + location: str | None = ... + """ + The fully qualified URI of the new streaming distribution resource just + created. + """ + e_tag: str | None = ... + """The current version of the streaming distribution created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateStreamingDistributionWithTagsInput(_SerdeShape): + """The request to create a new streaming distribution with tags.""" + + streaming_distribution_config_with_tags: ( + StreamingDistributionConfigWithTags | None + ) = ... + """The streaming distribution's configuration information.""" + +@dataclass(kw_only=True) +class CreateStreamingDistributionWithTagsOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + streaming_distribution: StreamingDistribution | None = ... + """The streaming distribution's information.""" + location: str | None = ... + """ + The fully qualified URI of the new streaming distribution resource just + created. + """ + e_tag: str | None = ... + """The current version of the distribution created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTrustStoreInput(_SerdeShape): + """Dataclass for CreateTrustStoreInput structure.""" + + name: str | None = ... + """A name for the trust store.""" + ca_certificates_bundle_source: CaCertificatesBundleSource | None = ... + """The CA certificates bundle source for the trust store.""" + use_client_certificate_ocsp_endpoint: bool | None = ... + """ + A Boolean that determines whether to use the CA certificate's OCSP + endpoint to check certificate revocation status. + """ + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + +@dataclass(kw_only=True) +class CreateTrustStoreOutput(_SerdeShape): + """Dataclass for CreateTrustStoreOutput structure.""" + + trust_store: TrustStore | None = ... + """The trust store.""" + e_tag: str | None = ... + """The version identifier for the current version of the trust store.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpcOriginInput(_SerdeShape): + """Dataclass for CreateVpcOriginInput structure.""" + + vpc_origin_endpoint_config: VpcOriginEndpointConfig | None = ... + """The VPC origin endpoint configuration.""" + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + +@dataclass(kw_only=True) +class CreateVpcOriginOutput(_SerdeShape): + """Dataclass for CreateVpcOriginOutput structure.""" + + vpc_origin: VpcOrigin | None = ... + """The VPC origin.""" + location: str | None = ... + """The VPC origin location.""" + e_tag: str | None = ... + """The VPC origin ETag.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CustomErrorResponse(_SerdeShape): + """ + A complex type that controls: + + - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range + with custom error messages before returning the response to the + viewer. + + - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. + + For more information about custom error pages, see [Customizing Error + Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) + in the *Amazon CloudFront Developer Guide*. + """ + + error_code: int + """ + The HTTP status code for which you want to specify a custom error page + and/or a caching duration. + """ + response_page_path: str | None = ... + """ + The path to the custom error page that you want CloudFront to return to + a viewer when your origin returns the HTTP status code specified by + `ErrorCode`, for example, `/4xx-errors/403-forbidden.html`. If you want + to store your objects and your custom error pages in different + locations, your distribution must include a cache behavior for which the + following is true: + + - The value of `PathPattern` matches the path to your custom error + messages. For example, suppose you saved custom error pages for 4xx + errors in an Amazon S3 bucket in a directory named `/4xx-errors`. Your + distribution must include a cache behavior for which the path pattern + routes requests for your custom error pages to that location, for + example, `/4xx-errors/*`. + + - The value of `TargetOriginId` specifies the value of the `ID` element + for the origin that contains your custom error pages. + + If you specify a value for `ResponsePagePath`, you must also specify a + value for `ResponseCode`. + + We recommend that you store custom error pages in an Amazon S3 bucket. + If you store custom error pages on an HTTP server and the server starts + to return 5xx errors, CloudFront can't get the files that you want to + return to viewers because the origin server is unavailable. + """ + response_code: str | None = ... + """ + The HTTP status code that you want CloudFront to return to the viewer + along with the custom error page. There are a variety of reasons that + you might want CloudFront to return a status code different from the + status code that your origin returned to CloudFront, for example: + + - Some Internet devices (some firewalls and corporate proxies, for + example) intercept HTTP 4xx and 5xx and prevent the response from + being returned to the viewer. If you substitute `200`, the response + typically won't be intercepted. + + - If you don't care about distinguishing among different client errors + or server errors, you can specify `400` or `500` as the `ResponseCode` + for all 4xx or 5xx errors. + + - You might want to return a `200` status code (OK) and static website + so your customers don't know that your website is down. + + If you specify a value for `ResponseCode`, you must also specify a value + for `ResponsePagePath`. + """ + error_caching_min_ttl: int | None = ... + """ + The minimum amount of time, in seconds, that you want CloudFront to + cache the HTTP status code specified in `ErrorCode`. When this time + period has elapsed, CloudFront queries your origin to see whether the + problem that caused the error has been resolved and the requested object + is now available. + + For more information, see [Customizing Error + Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class CustomErrorResponses(_SerdeShape): + """ + A complex type that controls: + + - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range + with custom error messages before returning the response to the + viewer. + + - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. + + For more information about custom error pages, see [Customizing Error + Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) + in the *Amazon CloudFront Developer Guide*. + """ + + quantity: int + """ + The number of HTTP status codes for which you want to specify a custom + error page and/or a caching duration. If `Quantity` is `0`, you can omit + `Items`. + """ + items: list[CustomErrorResponse] | None = ... + """ + A complex type that contains a `CustomErrorResponse` element for each + HTTP status code for which you want to specify a custom error page + and/or a caching duration. + """ + +@dataclass(kw_only=True) +class CustomHeaders(_SerdeShape): + """A complex type that contains the list of Custom Headers for each origin.""" + + quantity: int + """The number of custom headers, if any, for this distribution.""" + items: list[OriginCustomHeader] | None = ... + """ + **Optional**: A list that contains one `OriginCustomHeader` element for + each custom header that you want CloudFront to forward to the origin. If + Quantity is `0`, omit `Items`. + """ + +class CustomizationActionType(UnknownEnumMixin, StrEnum): + OVERRIDE = "override" + DISABLE = "disable" + +@dataclass(kw_only=True) +class Customizations(_SerdeShape): + """ + Customizations for the distribution tenant. For each distribution + tenant, you can specify the geographic restrictions, and the Amazon + Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are + specific values that you can override or disable from the multi-tenant + distribution that was used to create the distribution tenant. + """ + + web_acl: WebAclCustomization | None = ... + """The WAF web ACL.""" + certificate: Certificate | None = ... + """The Certificate Manager (ACM) certificate.""" + geo_restrictions: GeoRestrictionCustomization | None = ... + """The geographic restrictions.""" + +@dataclass(kw_only=True) +class CustomOriginConfig(_SerdeShape): + """ + A custom origin. A custom origin is any origin that is *not* an Amazon + S3 bucket, with one exception. An Amazon S3 bucket that is [configured + with static website + hosting](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html) + *is* a custom origin. + """ + + http_port: int + """ + The HTTP port that CloudFront uses to connect to the origin. Specify the + HTTP port that the origin listens on. + """ + https_port: int + """ + The HTTPS port that CloudFront uses to connect to the origin. Specify + the HTTPS port that the origin listens on. + """ + origin_protocol_policy: str + """ + Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect + to the origin. Valid values are: + + - `http-only` -- CloudFront always uses HTTP to connect to the origin. + + - `match-viewer` -- CloudFront connects to the origin using the same + protocol that the viewer used to connect to CloudFront. + + - `https-only` -- CloudFront always uses HTTPS to connect to the origin. + """ + origin_ssl_protocols: OriginSslProtocols | None = ... + """ + Specifies the minimum SSL/TLS protocol that CloudFront uses when + connecting to your origin over HTTPS. Valid values include `SSLv3`, + `TLSv1`, `TLSv1.1`, and `TLSv1.2`. + + For more information, see [Minimum Origin SSL + Protocol](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginSSLProtocols) + in the *Amazon CloudFront Developer Guide*. + """ + origin_read_timeout: int | None = ... + """ + Specifies how long, in seconds, CloudFront waits for a response from the + origin. This is also known as the *origin response timeout*. The minimum + timeout is 1 second, the maximum is 120 seconds, and the default (if you + don't specify otherwise) is 30 seconds. + + For more information, see [Response + timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout) + in the *Amazon CloudFront Developer Guide*. + """ + origin_keepalive_timeout: int | None = ... + """ + Specifies how long, in seconds, CloudFront persists its connection to + the origin. The minimum timeout is 1 second, the maximum is 120 seconds, + and the default (if you don't specify otherwise) is 5 seconds. + + For more information, see [Keep-alive timeout (custom origins + only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout) + in the *Amazon CloudFront Developer Guide*. + """ + ip_address_type: str | None = ... + """ + Specifies which IP protocol CloudFront uses when connecting to your + origin. If your origin uses both IPv4 and IPv6 protocols, you can choose + `dualstack` to help optimize reliability. + """ + origin_mtls_config: OriginMtlsConfig | None = ... + """ + Configures mutual TLS authentication between CloudFront and your origin + server. + """ + +@dataclass(kw_only=True) +class DefaultCacheBehavior(_SerdeShape): + """ + A complex type that describes the default cache behavior if you don't + specify a `CacheBehavior` element or if request URLs don't match any of + the values of `PathPattern` in `CacheBehavior` elements. You must create + exactly one default cache behavior. + + Warning: + If your minimum TTL is greater than 0, CloudFront will cache content for + at least the duration specified in the cache policy's minimum TTL, even + if the `Cache-Control: no-cache`, `no-store`, or `private` directives + are present in the origin headers. + """ + + target_origin_id: str + """ + The value of `ID` for the origin that you want CloudFront to route + requests to when they use the default cache behavior. + """ + trusted_signers: TrustedSigners | None = ... + """ + Warning: + We recommend using `TrustedKeyGroups` instead of `TrustedSigners`. + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + A list of Amazon Web Services account IDs whose public keys CloudFront + can use to validate signed URLs or signed cookies. + + When a cache behavior contains trusted signers, CloudFront requires + signed URLs or signed cookies for all requests that match the cache + behavior. The URLs or cookies must be signed with the private key of a + CloudFront key pair in a trusted signer's Amazon Web Services account. + The signed URL or cookie contains information about which public key + CloudFront should use to verify the signature. For more information, see + [Serving private + content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) + in the *Amazon CloudFront Developer Guide*. + """ + trusted_key_groups: TrustedKeyGroups | None = ... + """ + A list of key groups that CloudFront can use to validate signed URLs or + signed cookies. + + When a cache behavior contains trusted key groups, CloudFront requires + signed URLs or signed cookies for all requests that match the cache + behavior. The URLs or cookies must be signed with a private key whose + corresponding public key is in the key group. The signed URL or cookie + contains information about which public key CloudFront should use to + verify the signature. For more information, see [Serving private + content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) + in the *Amazon CloudFront Developer Guide*. + """ + viewer_protocol_policy: str + """ + The protocol that viewers can use to access the files in the origin + specified by `TargetOriginId` when a request matches the path pattern in + `PathPattern`. You can specify the following options: + + - `allow-all`: Viewers can use HTTP or HTTPS. + + - `redirect-to-https`: If a viewer submits an HTTP request, CloudFront + returns an HTTP status code of 301 (Moved Permanently) to the viewer + along with the HTTPS URL. The viewer then resubmits the request using + the new URL. + + - `https-only`: If a viewer sends an HTTP request, CloudFront returns an + HTTP status code of 403 (Forbidden). + + For more information about requiring the HTTPS protocol, see [Requiring + HTTPS Between Viewers and + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) + in the *Amazon CloudFront Developer Guide*. + + Note: + The only way to guarantee that viewers retrieve an object that was + fetched from the origin using HTTPS is never to use any other protocol + to fetch the object. If you have recently changed from HTTP to HTTPS, we + recommend that you clear your objects' cache because cached objects are + protocol agnostic. That means that an edge location will return an + object from the cache regardless of whether the current request protocol + matches the protocol used previously. For more information, see + [Managing Cache + Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + """ + allowed_methods: AllowedMethods | None = ... + """ + A complex type that controls which HTTP methods CloudFront processes and + forwards to your Amazon S3 bucket or your custom origin. There are three + choices: + + - CloudFront forwards only `GET` and `HEAD` requests. + + - CloudFront forwards only `GET`, `HEAD`, and `OPTIONS` requests. + + - CloudFront forwards `GET, HEAD, OPTIONS, PUT, PATCH, POST`, and + `DELETE` requests. + + If you pick the third choice, you may need to restrict access to your + Amazon S3 bucket or to your custom origin so users can't perform + operations that you don't want them to. For example, you might not want + users to have permissions to delete objects from your origin. + """ + smooth_streaming: bool | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + Indicates whether you want to distribute media files in the Microsoft + Smooth Streaming format using the origin that is associated with this + cache behavior. If so, specify `true`; if not, specify `false`. If you + specify `true` for `SmoothStreaming`, you can still distribute other + content using this cache behavior if the content matches the value of + `PathPattern`. + """ + compress: bool | None = ... + """ + Whether you want CloudFront to automatically compress certain files for + this cache behavior. If so, specify `true`; if not, specify `false`. For + more information, see [Serving Compressed + Files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html) + in the *Amazon CloudFront Developer Guide*. + """ + lambda_function_associations: LambdaFunctionAssociations | None = ... + """ + A complex type that contains zero or more Lambda@Edge function + associations for a cache behavior. + """ + function_associations: FunctionAssociations | None = ... + """ + A list of CloudFront functions that are associated with this cache + behavior. Your functions must be published to the `LIVE` stage to + associate them with a cache behavior. + """ + field_level_encryption_id: str | None = ... + """ + The value of `ID` for the field-level encryption configuration that you + want CloudFront to use for encrypting specific fields of data for the + default cache behavior. + """ + realtime_log_config_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the real-time log configuration that + is attached to this cache behavior. For more information, see [Real-time + logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) + in the *Amazon CloudFront Developer Guide*. + """ + cache_policy_id: str | None = ... + """ + The unique identifier of the cache policy that is attached to the + default cache behavior. For more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + A `DefaultCacheBehavior` must include either a `CachePolicyId` or + `ForwardedValues`. We recommend that you use a `CachePolicyId`. + """ + origin_request_policy_id: str | None = ... + """ + The unique identifier of the origin request policy that is attached to + the default cache behavior. For more information, see [Creating origin + request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + or [Using the managed origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) + in the *Amazon CloudFront Developer Guide*. + """ + response_headers_policy_id: str | None = ... + """The identifier for a response headers policy.""" + grpc_config: GrpcConfig | None = ... + """The gRPC configuration for your cache behavior.""" + forwarded_values: ForwardedValues | None = ... + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. For more information, see + [Working with + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html) + in the *Amazon CloudFront Developer Guide*. + + If you want to include values in the cache key, use a cache policy. For + more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + If you want to send values to the origin but not include them in the + cache key, use an origin request policy. For more information, see + [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + or [Using the managed origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) + in the *Amazon CloudFront Developer Guide*. + + A `DefaultCacheBehavior` must include either a `CachePolicyId` or + `ForwardedValues`. We recommend that you use a `CachePolicyId`. + + A complex type that specifies how CloudFront handles query strings, + cookies, and HTTP headers. + """ + min_ttl: int | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + This field is deprecated. We recommend that you use the `MinTTL` field + in a cache policy instead of this field. For more information, see + [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + The minimum amount of time that you want objects to stay in CloudFront + caches before CloudFront forwards another request to your origin to + determine whether the object has been updated. For more information, see + [Managing How Long Content Stays in an Edge Cache + (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + + You must specify `0` for `MinTTL` if you configure CloudFront to forward + all headers to your origin (under `Headers`, if you specify `1` for + `Quantity` and `*` for `Name`). + """ + default_ttl: int | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + This field is deprecated. We recommend that you use the `DefaultTTL` + field in a cache policy instead of this field. For more information, see + [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + The default amount of time that you want objects to stay in CloudFront + caches before CloudFront forwards another request to your origin to + determine whether the object has been updated. The value that you + specify applies only when your origin does not add HTTP headers such as + `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` to + objects. For more information, see [Managing How Long Content Stays in + an Edge Cache + (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + """ + max_ttl: int | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + This field is deprecated. We recommend that you use the `MaxTTL` field + in a cache policy instead of this field. For more information, see + [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + or [Using the managed cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) + in the *Amazon CloudFront Developer Guide*. + + The maximum amount of time that you want objects to stay in CloudFront + caches before CloudFront forwards another request to your origin to + determine whether the object has been updated. The value that you + specify applies only when your origin adds HTTP headers such as + `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` to + objects. For more information, see [Managing How Long Content Stays in + an Edge Cache + (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class DeleteAnycastIpListInput(_SerdeShape): + """Dataclass for DeleteAnycastIpListInput structure.""" + + id: str | None = ... + """The ID of the Anycast static IP list.""" + if_match: str | None = ... + """ + The current version (`ETag` value) of the Anycast static IP list that + you are deleting. + """ + +@dataclass(kw_only=True) +class DeleteAnycastIpListOutput(_SerdeShape): + """Dataclass for DeleteAnycastIpListOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCachePolicyInput(_SerdeShape): + """Dataclass for DeleteCachePolicyInput structure.""" + + id: str | None = ... + """ + The unique identifier for the cache policy that you are deleting. To get + the identifier, you can use `ListCachePolicies`. + """ + if_match: str | None = ... + """ + The version of the cache policy that you are deleting. The version is + the cache policy's `ETag` value, which you can get using + `ListCachePolicies`, `GetCachePolicy`, or `GetCachePolicyConfig`. + """ + +@dataclass(kw_only=True) +class DeleteCachePolicyOutput(_SerdeShape): + """Dataclass for DeleteCachePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCloudFrontOriginAccessIdentityInput(_SerdeShape): + """Deletes a origin access identity.""" + + id: str | None = ... + """The origin access identity's ID.""" + if_match: str | None = ... + """ + The value of the `ETag` header you received from a previous `GET` or + `PUT` request. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class DeleteCloudFrontOriginAccessIdentityOutput(_SerdeShape): + """Dataclass for DeleteCloudFrontOriginAccessIdentityOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteConnectionFunctionInput(_SerdeShape): + """Dataclass for DeleteConnectionFunctionInput structure.""" + + id: str | None = ... + """The connection function's ID.""" + if_match: str | None = ... + """ + The current version (`ETag` value) of the connection function you are + deleting. + """ + +@dataclass(kw_only=True) +class DeleteConnectionFunctionOutput(_SerdeShape): + """Dataclass for DeleteConnectionFunctionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteConnectionGroupInput(_SerdeShape): + """Dataclass for DeleteConnectionGroupInput structure.""" + + id: str | None = ... + """The ID of the connection group to delete.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + connection group to delete. + """ + +@dataclass(kw_only=True) +class DeleteConnectionGroupOutput(_SerdeShape): + """Dataclass for DeleteConnectionGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteContinuousDeploymentPolicyInput(_SerdeShape): + """Dataclass for DeleteContinuousDeploymentPolicyInput structure.""" + + id: str | None = ... + """ + The identifier of the continuous deployment policy that you are + deleting. + """ + if_match: str | None = ... + """ + The current version (`ETag` value) of the continuous deployment policy + that you are deleting. + """ + +@dataclass(kw_only=True) +class DeleteContinuousDeploymentPolicyOutput(_SerdeShape): + """Dataclass for DeleteContinuousDeploymentPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDistributionInput(_SerdeShape): + """ + This action deletes a web distribution. To delete a web distribution + using the CloudFront API, perform the following steps. + + **To delete a web distribution using the CloudFront API:** + + 1. Disable the web distribution + + 2. Submit a `GET Distribution Config` request to get the current + configuration and the `Etag` header for the distribution. + + 3. Update the XML document that was returned in the response to your + `GET Distribution Config` request to change the value of `Enabled` + to `false`. + + 4. Submit a `PUT Distribution Config` request to update the + configuration for your distribution. In the request body, include + the XML document that you updated in Step 3. Set the value of the + HTTP `If-Match` header to the value of the `ETag` header that + CloudFront returned when you submitted the `GET Distribution Config` + request in Step 2. + + 5. Review the response to the `PUT Distribution Config` request to + confirm that the distribution was successfully disabled. + + 6. Submit a `GET Distribution` request to confirm that your changes + have propagated. When propagation is complete, the value of `Status` + is `Deployed`. + + 7. Submit a `DELETE Distribution` request. Set the value of the HTTP + `If-Match` header to the value of the `ETag` header that CloudFront + returned when you submitted the `GET Distribution Config` request in + Step 6. + + 8. Review the response to your `DELETE Distribution` request to confirm + that the distribution was successfully deleted. + + For information about deleting a distribution using the CloudFront + console, see [Deleting a + Distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html) + in the *Amazon CloudFront Developer Guide*. + """ + + id: str | None = ... + """The distribution ID.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when you disabled the + distribution. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class DeleteDistributionOutput(_SerdeShape): + """Dataclass for DeleteDistributionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDistributionTenantInput(_SerdeShape): + """Dataclass for DeleteDistributionTenantInput structure.""" + + id: str | None = ... + """The ID of the distribution tenant to delete.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + distribution tenant. This value is returned in the response of the + `GetDistributionTenant` API operation. + """ + +@dataclass(kw_only=True) +class DeleteDistributionTenantOutput(_SerdeShape): + """Dataclass for DeleteDistributionTenantOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFieldLevelEncryptionConfigInput(_SerdeShape): + """Dataclass for DeleteFieldLevelEncryptionConfigInput structure.""" + + id: str | None = ... + """The ID of the configuration you want to delete from CloudFront.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + configuration identity to delete. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class DeleteFieldLevelEncryptionConfigOutput(_SerdeShape): + """Dataclass for DeleteFieldLevelEncryptionConfigOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFieldLevelEncryptionProfileInput(_SerdeShape): + """Dataclass for DeleteFieldLevelEncryptionProfileInput structure.""" + + id: str | None = ... + """Request the ID of the profile you want to delete from CloudFront.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + profile to delete. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class DeleteFieldLevelEncryptionProfileOutput(_SerdeShape): + """Dataclass for DeleteFieldLevelEncryptionProfileOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFunctionInput(_SerdeShape): + """Dataclass for DeleteFunctionInput structure.""" + + name: str | None = ... + """The name of the function that you are deleting.""" + if_match: str | None = ... + """ + The current version (`ETag` value) of the function that you are + deleting, which you can get using `DescribeFunction`. + """ + +@dataclass(kw_only=True) +class DeleteFunctionOutput(_SerdeShape): + """Dataclass for DeleteFunctionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteKeyGroupInput(_SerdeShape): + """Dataclass for DeleteKeyGroupInput structure.""" + + id: str | None = ... + """ + The identifier of the key group that you are deleting. To get the + identifier, use `ListKeyGroups`. + """ + if_match: str | None = ... + """ + The version of the key group that you are deleting. The version is the + key group's `ETag` value. To get the `ETag`, use `GetKeyGroup` or + `GetKeyGroupConfig`. + """ + +@dataclass(kw_only=True) +class DeleteKeyGroupOutput(_SerdeShape): + """Dataclass for DeleteKeyGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteKeyValueStoreInput(_SerdeShape): + """Dataclass for DeleteKeyValueStoreInput structure.""" + + name: str | None = ... + """The name of the key value store.""" + if_match: str | None = ... + """The key value store to delete, if a match occurs.""" + +@dataclass(kw_only=True) +class DeleteKeyValueStoreOutput(_SerdeShape): + """Dataclass for DeleteKeyValueStoreOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteMonitoringSubscriptionInput(_SerdeShape): + """Dataclass for DeleteMonitoringSubscriptionInput structure.""" + + distribution_id: str | None = ... + """The ID of the distribution that you are disabling metrics for.""" + +@dataclass(kw_only=True) +class DeleteMonitoringSubscriptionOutput(_SerdeShape): + """Dataclass for DeleteMonitoringSubscriptionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteOriginAccessControlInput(_SerdeShape): + """Dataclass for DeleteOriginAccessControlInput structure.""" + + id: str | None = ... + """ + The unique identifier of the origin access control that you are + deleting. + """ + if_match: str | None = ... + """ + The current version (`ETag` value) of the origin access control that you + are deleting. + """ + +@dataclass(kw_only=True) +class DeleteOriginAccessControlOutput(_SerdeShape): + """Dataclass for DeleteOriginAccessControlOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteOriginRequestPolicyInput(_SerdeShape): + """Dataclass for DeleteOriginRequestPolicyInput structure.""" + + id: str | None = ... + """ + The unique identifier for the origin request policy that you are + deleting. To get the identifier, you can use + `ListOriginRequestPolicies`. + """ + if_match: str | None = ... + """ + The version of the origin request policy that you are deleting. The + version is the origin request policy's `ETag` value, which you can get + using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or + `GetOriginRequestPolicyConfig`. + """ + +@dataclass(kw_only=True) +class DeleteOriginRequestPolicyOutput(_SerdeShape): + """Dataclass for DeleteOriginRequestPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePublicKeyInput(_SerdeShape): + """Dataclass for DeletePublicKeyInput structure.""" + + id: str | None = ... + """The ID of the public key you want to remove from CloudFront.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + public key identity to delete. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class DeletePublicKeyOutput(_SerdeShape): + """Dataclass for DeletePublicKeyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRealtimeLogConfigInput(_SerdeShape): + """Dataclass for DeleteRealtimeLogConfigInput structure.""" + + name: str | None = ... + """The name of the real-time log configuration to delete.""" + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the real-time log configuration to + delete. + """ + +@dataclass(kw_only=True) +class DeleteRealtimeLogConfigOutput(_SerdeShape): + """Dataclass for DeleteRealtimeLogConfigOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyInput(_SerdeShape): + """Dataclass for DeleteResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudFront resource for which the + resource policy should be deleted. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyOutput(_SerdeShape): + """Dataclass for DeleteResourcePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteResponseHeadersPolicyInput(_SerdeShape): + """Dataclass for DeleteResponseHeadersPolicyInput structure.""" + + id: str | None = ... + """ + The identifier for the response headers policy that you are deleting. + + To get the identifier, you can use `ListResponseHeadersPolicies`. + """ + if_match: str | None = ... + """ + The version of the response headers policy that you are deleting. + + The version is the response headers policy's `ETag` value, which you + can get using `ListResponseHeadersPolicies`, `GetResponseHeadersPolicy`, + or `GetResponseHeadersPolicyConfig`. + """ + +@dataclass(kw_only=True) +class DeleteResponseHeadersPolicyOutput(_SerdeShape): + """Dataclass for DeleteResponseHeadersPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteStreamingDistributionInput(_SerdeShape): + """The request to delete a streaming distribution.""" + + id: str | None = ... + """The distribution ID.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when you disabled the + streaming distribution. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class DeleteStreamingDistributionOutput(_SerdeShape): + """Dataclass for DeleteStreamingDistributionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTrustStoreInput(_SerdeShape): + """Dataclass for DeleteTrustStoreInput structure.""" + + id: str | None = ... + """The trust store's ID.""" + if_match: str | None = ... + """The current version (`ETag` value) of the trust store you are deleting.""" + +@dataclass(kw_only=True) +class DeleteTrustStoreOutput(_SerdeShape): + """Dataclass for DeleteTrustStoreOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcOriginInput(_SerdeShape): + """Dataclass for DeleteVpcOriginInput structure.""" + + id: str | None = ... + """The VPC origin ID.""" + if_match: str | None = ... + """ + The version identifier of the VPC origin to delete. This is the `ETag` + value returned in the response to GetVpcOrigin. + """ + +@dataclass(kw_only=True) +class DeleteVpcOriginOutput(_SerdeShape): + """Dataclass for DeleteVpcOriginOutput structure.""" + + vpc_origin: VpcOrigin | None = ... + """The VPC origin.""" + e_tag: str | None = ... + """The VPC origin ETag.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeConnectionFunctionInput(_SerdeShape): + """Dataclass for DescribeConnectionFunctionInput structure.""" + + identifier: str | None = ... + """The connection function's identifier.""" + stage: str | None = ... + """The connection function's stage.""" + +@dataclass(kw_only=True) +class DescribeConnectionFunctionOutput(_SerdeShape): + """Dataclass for DescribeConnectionFunctionOutput structure.""" + + connection_function_summary: ConnectionFunctionSummary | None = ... + """The connection function's summary.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the connection + function. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeFunctionInput(_SerdeShape): + """Dataclass for DescribeFunctionInput structure.""" + + name: str | None = ... + """The name of the function that you are getting information about.""" + stage: str | None = ... + """The function's stage, either `DEVELOPMENT` or `LIVE`.""" + +@dataclass(kw_only=True) +class DescribeFunctionOutput(_SerdeShape): + """Dataclass for DescribeFunctionOutput structure.""" + + function_summary: FunctionSummary | None = ... + """ + Contains configuration information and metadata about a CloudFront + function. + """ + e_tag: str | None = ... + """ + The version identifier for the current version of the CloudFront + function. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeKeyValueStoreInput(_SerdeShape): + """Dataclass for DescribeKeyValueStoreInput structure.""" + + name: str | None = ... + """The name of the key value store.""" + +@dataclass(kw_only=True) +class DescribeKeyValueStoreOutput(_SerdeShape): + """Dataclass for DescribeKeyValueStoreOutput structure.""" + + key_value_store: KeyValueStore | None = ... + """The resulting key value store.""" + e_tag: str | None = ... + """The `ETag` of the resulting key value store.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateDistributionTenantWebACLInput(_SerdeShape): + """Dataclass for DisassociateDistributionTenantWebACLInput structure.""" + + id: str | None = ... + """The ID of the distribution tenant.""" + if_match: str | None = ... + """ + The current version of the distribution tenant that you're + disassociating from the WAF web ACL. This is the `ETag` value returned + in the response to the `GetDistributionTenant` API operation. + """ + +@dataclass(kw_only=True) +class DisassociateDistributionTenantWebACLOutput(_SerdeShape): + """Dataclass for DisassociateDistributionTenantWebACLOutput structure.""" + + id: str | None = ... + """The ID of the distribution tenant.""" + e_tag: str | None = ... + """The current version of the distribution tenant.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateDistributionWebACLInput(_SerdeShape): + """Dataclass for DisassociateDistributionWebACLInput structure.""" + + id: str | None = ... + """The ID of the distribution.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + distribution that you're disassociating from the WAF web ACL. + """ + +@dataclass(kw_only=True) +class DisassociateDistributionWebACLOutput(_SerdeShape): + """Dataclass for DisassociateDistributionWebACLOutput structure.""" + + id: str | None = ... + """The ID of the distribution.""" + e_tag: str | None = ... + """The current version of the distribution.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Distribution(_SerdeShape): + """ + A distribution tells CloudFront where you want content to be delivered + from, and the details about how to track and manage content delivery. + """ + + id: str + """The distribution's identifier. For example: `E1U5RQF7T870K0`.""" + arn: str + """The distribution's Amazon Resource Name (ARN).""" + status: str + """ + The distribution's status. When the status is `Deployed`, the + distribution's information is fully propagated to all CloudFront edge + locations. + """ + last_modified_time: datetime + """The date and time when the distribution was last modified.""" + in_progress_invalidation_batches: int + """The number of invalidation batches currently in progress.""" + domain_name: str + """ + The distribution's CloudFront domain name. For example: + `d111111abcdef8.cloudfront.net`. + """ + active_trusted_signers: ActiveTrustedSigners | None = ... + """ + Warning: + We recommend using `TrustedKeyGroups` instead of `TrustedSigners`. + + This field contains a list of Amazon Web Services account IDs and the + active CloudFront key pairs in each account that CloudFront can use to + verify the signatures of signed URLs or signed cookies. + """ + active_trusted_key_groups: ActiveTrustedKeyGroups | None = ... + """ + This field contains a list of key groups and the public keys in each key + group that CloudFront can use to verify the signatures of signed URLs or + signed cookies. + """ + distribution_config: DistributionConfig + """The distribution's configuration.""" + alias_icp_recordals: list[AliasICPRecordal] | None = ... + """ + Amazon Web Services services in China customers must file for an + Internet Content Provider (ICP) recordal if they want to serve content + publicly on an alternate domain name, also known as a CNAME, that + they've added to CloudFront. AliasICPRecordal provides the ICP recordal + status for CNAMEs associated with distributions. + + For more information about ICP recordals, see [Signup, Accounts, and + Credentials](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) + in *Getting Started with Amazon Web Services services in China*. + """ + +@dataclass(kw_only=True) +class DistributionAlreadyExists(ServiceError, _SerdeShape): + """ + The caller reference you attempted to create the distribution with is + associated with another distribution. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DistributionConfig(_SerdeShape): + """A distribution configuration.""" + + caller_reference: str + """ + A unique value (for example, a date-time stamp) that ensures that the + request can't be replayed. + + If the value of `CallerReference` is new (regardless of the content of + the `DistributionConfig` object), CloudFront creates a new distribution. + + If `CallerReference` is a value that you already sent in a previous + request to create a distribution, CloudFront returns a + `DistributionAlreadyExists` error. + """ + aliases: Aliases | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + A complex type that contains information about CNAMEs (alternate domain + names), if any, for this distribution. + """ + default_root_object: str | None = ... + """ + When a viewer requests the root URL for your distribution, the default + root object is the object that you want CloudFront to request from your + origin. For example, if your root URL is `https://www.example.com`, you + can specify CloudFront to return the `index.html` file as the default + root object. You can specify a default root object so that viewers see a + specific file or object, instead of another object in your distribution + (for example, `https://www.example.com/product-description.html`). A + default root object avoids exposing the contents of your distribution. + + You can specify the object name or a path to the object name (for + example, `index.html` or `exampleFolderName/index.html`). Your string + can't begin with a forward slash (`/`). Only specify the object name or + the path to the object. + + If you don't want to specify a default root object when you create a + distribution, include an empty `DefaultRootObject` element. + + To delete the default root object from an existing distribution, update + the distribution configuration and include an empty `DefaultRootObject` + element. + + To replace the default root object, update the distribution + configuration and specify the new object. + + For more information about the default root object, see [Specify a + default root + object](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html) + in the *Amazon CloudFront Developer Guide*. + """ + origins: Origins + """ + A complex type that contains information about origins for this + distribution. + """ + origin_groups: OriginGroups | None = ... + """ + A complex type that contains information about origin groups for this + distribution. + """ + default_cache_behavior: DefaultCacheBehavior + """ + A complex type that describes the default cache behavior if you don't + specify a `CacheBehavior` element or if files don't match any of the + values of `PathPattern` in `CacheBehavior` elements. You must create + exactly one default cache behavior. + """ + cache_behaviors: CacheBehaviors | None = ... + """A complex type that contains zero or more `CacheBehavior` elements.""" + custom_error_responses: CustomErrorResponses | None = ... + """ + A complex type that controls the following: + + - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range + with custom error messages before returning the response to the + viewer. + + - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. + + For more information about custom error pages, see [Customizing Error + Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) + in the *Amazon CloudFront Developer Guide*. + """ + comment: str + """ + A comment to describe the distribution. The comment cannot be longer + than 128 characters. + """ + logging: LoggingConfig | None = ... + """ + A complex type that controls whether access logs are written for the + distribution. + + For more information about logging, see [Access + Logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html) + in the *Amazon CloudFront Developer Guide*. + """ + price_class: str | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + The price class that corresponds with the maximum price that you want to + pay for CloudFront service. If you specify `PriceClass_All`, CloudFront + responds to requests for your objects from all CloudFront edge + locations. + + If you specify a price class other than `PriceClass_All`, CloudFront + serves your objects from the CloudFront edge location that has the + lowest latency among the edge locations in your price class. Viewers who + are in or near regions that are excluded from your specified price class + may encounter slower performance. + + For more information about price classes, see [Choosing the Price Class + for a CloudFront + Distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html) + in the *Amazon CloudFront Developer Guide*. For information about + CloudFront pricing, including how price classes (such as Price Class + 100) map to CloudFront regions, see [Amazon CloudFront + Pricing](http://aws.amazon.com/cloudfront/pricing/). + """ + enabled: bool + """From this field, you can enable or disable the selected distribution.""" + viewer_certificate: ViewerCertificate | None = ... + """ + A complex type that determines the distribution's SSL/TLS configuration + for communicating with viewers. + """ + restrictions: Restrictions | None = ... + """ + A complex type that identifies ways in which you want to restrict + distribution of your content. + """ + web_acl_id: str | None = ... + """ + Note: + Multi-tenant distributions only support WAF V2 web ACLs. + + A unique identifier that specifies the WAF web ACL, if any, to associate + with this distribution. To specify a web ACL created using the latest + version of WAF, use the ACL ARN, for example + `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. + To specify a web ACL created using WAF Classic, use the ACL ID, for + example `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. + + WAF is a web application firewall that lets you monitor the HTTP and + HTTPS requests that are forwarded to CloudFront, and lets you control + access to your content. Based on conditions that you specify, such as + the IP addresses that requests originate from or the values of query + strings, CloudFront responds to requests either with the requested + content or with an HTTP 403 status code (Forbidden). You can also + configure CloudFront to return a custom error page when a request is + blocked. For more information about WAF, see the [WAF Developer + Guide](https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html). + """ + http_version: str | None = ... + """ + (Optional) Specify the HTTP version(s) that you want viewers to use to + communicate with CloudFront. The default value for new web distributions + is `http2`. Viewers that don't support HTTP/2 automatically use an + earlier HTTP version. + + For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 + or later, and must support Server Name Indication (SNI). + + For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 + and Server Name Indication (SNI). CloudFront supports HTTP/3 connection + migration to allow the viewer to switch networks without losing + connection. For more information about connection migration, see + [Connection + Migration](https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration) + at RFC 9000. For more information about supported TLSv1.3 ciphers, see + [Supported protocols and ciphers between viewers and + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html). + """ + is_ipv6_enabled: bool | None = ... + """ + Note: + To use this field for a multi-tenant distribution, use a connection + group instead. For more information, see + [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html). + + If you want CloudFront to respond to IPv6 DNS requests with an IPv6 + address for your distribution, specify `true`. If you specify `false`, + CloudFront responds to IPv6 DNS requests with the DNS response code + `NOERROR` and with no IP addresses. This allows viewers to submit a + second request, for an IPv4 address for your distribution. + + In general, you should enable IPv6 if you have users on IPv6 networks + who want to access your content. However, if you're using signed URLs + or signed cookies to restrict access to your content, and if you're + using a custom policy that includes the `IpAddress` parameter to + restrict the IP addresses that can access your content, don't enable + IPv6. If you want to restrict access to some content by IP address and + not restrict access to other content (or restrict access but not by IP + address), you can create two distributions. For more information, see + [Creating a Signed URL Using a Custom + Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html) + in the *Amazon CloudFront Developer Guide*. + + If you're using an Route 53 Amazon Web Services Integration alias + resource record set to route traffic to your CloudFront distribution, + you need to create a second alias resource record set when both of the + following are true: + + - You enable IPv6 for the distribution + + - You're using alternate domain names in the URLs for your objects + + For more information, see [Routing Traffic to an Amazon CloudFront Web + Distribution by Using Your Domain + Name](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html) + in the *Route 53 Amazon Web Services Integration Developer Guide*. + + If you created a CNAME resource record set, either with Route 53 Amazon + Web Services Integration or with another DNS service, you don't need to + make any changes. A CNAME record will route traffic to your distribution + regardless of the IP address format of the viewer request. + """ + continuous_deployment_policy_id: str | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + The identifier of a continuous deployment policy. For more information, + see `CreateContinuousDeploymentPolicy`. + """ + staging: bool | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + A Boolean that indicates whether this is a staging distribution. When + this value is `true`, this is a staging distribution. When this value is + `false`, this is not a staging distribution. + """ + anycast_ip_list_id: str | None = ... + """ + Note: + To use this field for a multi-tenant distribution, use a connection + group instead. For more information, see + [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html). + + ID of the Anycast static IP list that is associated with the + distribution. + """ + tenant_config: TenantConfig | None = ... + """ + Note: + This field only supports multi-tenant distributions. You can't specify + this field for standard distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + A distribution tenant configuration. + """ + connection_mode: str | None = ... + """ + This field specifies whether the connection mode is through a standard + distribution (direct) or a multi-tenant distribution with distribution + tenants (tenant-only). + """ + viewer_mtls_config: ViewerMtlsConfig | None = ... + """The distribution's viewer mTLS configuration.""" + connection_function_association: ConnectionFunctionAssociation | None = ... + """The distribution's connection function association.""" + cache_tag_config: CacheTagConfig | None = ... + """ + Configuration for cache tag extraction from origin responses. When + specified, CloudFront reads the header named in `HeaderName` from origin + responses and stores the comma-separated values as cache tags on the + object. + + Distributions without `CacheTagConfig` do not extract tags. When + `CacheTagConfig` is removed from a distribution via + `UpdateDistribution`, CloudFront stops extracting tags from origin + responses. + + Note: + Changing the `HeaderName` on an existing distribution does not + retroactively affect previously cached objects. Tag-based invalidations + will not apply to objects already cached using a previous header. To + ensure tag invalidations function after updating the header name, use + path-based invalidations to recache all objects that use cache tags. + """ + +@dataclass(kw_only=True) +class DistributionConfigWithTags(_SerdeShape): + """ + A distribution Configuration and a list of tags to be associated with + the distribution. + """ + + distribution_config: DistributionConfig + """A distribution configuration.""" + tags: Tags + """A complex type that contains zero or more `Tag` elements.""" + +@dataclass(kw_only=True) +class DistributionIdList(_SerdeShape): + """A list of distribution IDs.""" + + marker: str + """The value provided in the `Marker` request field.""" + next_marker: str | None = ... + """ + Contains the value that you should use in the `Marker` field of a + subsequent request to continue listing distribution IDs where you left + off. + """ + max_items: int + """The maximum number of distribution IDs requested.""" + is_truncated: bool + """ + A flag that indicates whether more distribution IDs remain to be listed. + If your results were truncated, you can make a subsequent request using + the `Marker` request field to retrieve more distribution IDs in the + list. + """ + quantity: int + """The total number of distribution IDs returned in the response.""" + items: list[str] | None = ... + """Contains the distribution IDs in the list.""" + +@dataclass(kw_only=True) +class DistributionIdOwner(_SerdeShape): + """ + A structure that pairs a CloudFront distribution ID with its owning + Amazon Web Services account ID. + """ + + distribution_id: str + """The ID of the distribution.""" + owner_account_id: str + """The ID of the Amazon Web Services account that owns the distribution.""" + +@dataclass(kw_only=True) +class DistributionIdOwnerList(_SerdeShape): + """ + The list of distribution IDs and the Amazon Web Services accounts that + they belong to. + """ + + marker: str + """ + Use this field when paginating results to indicate where to begin in + your list of `DistributionIdOwner` objects. The response includes + distributions in the list that occur after the marker. To get the next + page of the list, set this field's value to the value of `NextMarker` + from the current page's response. + """ + next_marker: str | None = ... + """ + A token used for pagination of results returned in the response. You can + use the token from the previous request to define where the current + request should begin. + """ + max_items: int + """The maximum number of `DistributionIdOwner` objects to return.""" + is_truncated: bool + """ + A flag that indicates whether more `DistributionIdOwner` objects remain + to be listed. If your results were truncated, you can make a follow-up + pagination request using the `Marker` request parameter to retrieve more + results in the list. + """ + quantity: int + """ + Specifies the actual number of `DistributionIdOwner` objects included in + the list for the current page. + """ + items: list[DistributionIdOwner] | None = ... + """The number of `DistributionIdOwner` objects.""" + +@dataclass(kw_only=True) +class DistributionList(_SerdeShape): + """A distribution list.""" + + marker: str + """The value you provided for the `Marker` request parameter.""" + next_marker: str | None = ... + """ + If `IsTruncated` is `true`, this element is present and contains the + value you can use for the `Marker` request parameter to continue listing + your distributions where they left off. + """ + max_items: int + """The value you provided for the `MaxItems` request parameter.""" + is_truncated: bool + """ + A flag that indicates whether more distributions remain to be listed. If + your results were truncated, you can make a follow-up pagination request + using the `Marker` request parameter to retrieve more distributions in + the list. + """ + quantity: int + """ + The number of distributions that were created by the current Amazon Web + Services account. + """ + items: list[DistributionSummary] | None = ... + """ + A complex type that contains one `DistributionSummary` element for each + distribution that was created by the current Amazon Web Services + account. + """ + +@dataclass(kw_only=True) +class DistributionNotDisabled(ServiceError, _SerdeShape): + """ + The specified CloudFront distribution is not disabled. You must disable + the distribution before you can delete it. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DistributionResourceId(_SerdeShape): + """The IDs for the distribution resources.""" + + distribution_id: str | None = ... + """The ID of the multi-tenant distribution.""" + distribution_tenant_id: str | None = ... + """The ID of the distribution tenant.""" + +class DistributionResourceType(UnknownEnumMixin, StrEnum): + DISTRIBUTION = "distribution" + DISTRIBUTION_TENANT = "distribution-tenant" + +@dataclass(kw_only=True) +class DistributionSummary(_SerdeShape): + """A summary of the information about a CloudFront distribution.""" + + id: str + """The identifier for the distribution. For example: `EDFDVBD632BHDS5`.""" + arn: str + """ + The ARN (Amazon Resource Name) for the distribution. For example: + `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where + `123456789012` is your Amazon Web Services account ID. + """ + e_tag: str | None = ... + """The current version of the distribution.""" + status: str + """ + The current status of the distribution. When the status is `Deployed`, + the distribution's information is propagated to all CloudFront edge + locations. + """ + last_modified_time: datetime + """The date and time the distribution was last modified.""" + domain_name: str + """ + The domain name that corresponds to the distribution, for example, + `d111111abcdef8.cloudfront.net`. + """ + aliases: Aliases + """ + A complex type that contains information about CNAMEs (alternate domain + names), if any, for this distribution. + """ + origins: Origins + """ + A complex type that contains information about origins for this + distribution. + """ + origin_groups: OriginGroups | None = ... + """ + A complex type that contains information about origin groups for this + distribution. + """ + default_cache_behavior: DefaultCacheBehavior + """ + A complex type that describes the default cache behavior if you don't + specify a `CacheBehavior` element or if files don't match any of the + values of `PathPattern` in `CacheBehavior` elements. You must create + exactly one default cache behavior. + """ + cache_behaviors: CacheBehaviors + """A complex type that contains zero or more `CacheBehavior` elements.""" + custom_error_responses: CustomErrorResponses + """ + A complex type that contains zero or more `CustomErrorResponses` + elements. + """ + comment: str + """The comment originally specified when this distribution was created.""" + price_class: str + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + A complex type that contains information about price class for this + streaming distribution. + """ + enabled: bool + """Whether the distribution is enabled to accept user requests for content.""" + viewer_certificate: ViewerCertificate + """ + A complex type that determines the distribution's SSL/TLS configuration + for communicating with viewers. + """ + restrictions: Restrictions + """ + A complex type that identifies ways in which you want to restrict + distribution of your content. + """ + web_acl_id: str + """The Web ACL Id (if any) associated with the distribution.""" + http_version: str + """ + Specify the maximum HTTP version that you want viewers to use to + communicate with CloudFront. The default value for new web distributions + is `http2`. Viewers that don't support `HTTP/2` will automatically use + an earlier version. + """ + is_ipv6_enabled: bool + """ + Whether CloudFront responds to IPv6 DNS requests with an IPv6 address + for your distribution. + """ + alias_icp_recordals: list[AliasICPRecordal] | None = ... + """ + Amazon Web Services services in China customers must file for an + Internet Content Provider (ICP) recordal if they want to serve content + publicly on an alternate domain name, also known as a CNAME, that + they've added to CloudFront. AliasICPRecordal provides the ICP recordal + status for CNAMEs associated with distributions. + + For more information about ICP recordals, see [Signup, Accounts, and + Credentials](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) + in *Getting Started with Amazon Web Services services in China*. + """ + staging: bool + """ + A Boolean that indicates whether this is a staging distribution. When + this value is `true`, this is a staging distribution. When this value is + `false`, this is not a staging distribution. + """ + connection_mode: str | None = ... + """ + This field specifies whether the connection mode is through a standard + distribution (direct) or a multi-tenant distribution with distribution + tenants (tenant-only). + """ + anycast_ip_list_id: str | None = ... + """ + ID of the Anycast static IP list that is associated with the + distribution. + """ + viewer_mtls_config: ViewerMtlsConfig | None = ... + """The distribution's viewer mTLS configuration.""" + connection_function_association: ConnectionFunctionAssociation | None = ... + """The distribution's connection function association.""" + +@dataclass(kw_only=True) +class DistributionTenant(_SerdeShape): + """The distribution tenant.""" + + id: str | None = ... + """The ID of the distribution tenant.""" + distribution_id: str | None = ... + """The ID of the multi-tenant distribution.""" + name: str | None = ... + """The name of the distribution tenant.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) of the distribution tenant.""" + domains: list[DomainResult] | None = ... + """The domains associated with the distribution tenant.""" + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + customizations: Customizations | None = ... + """ + Customizations for the distribution tenant. For each distribution + tenant, you can specify the geographic restrictions, and the Amazon + Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are + specific values that you can override or disable from the multi-tenant + distribution that was used to create the distribution tenant. + """ + parameters: list[Parameter] | None = ... + """ + A list of parameter values to add to the resource. A parameter is + specified as a key-value pair. A valid parameter value must exist for + any parameter that is marked as required in the multi-tenant + distribution. + """ + connection_group_id: str | None = ... + """ + The ID of the connection group for the distribution tenant. If you + don't specify a connection group, CloudFront uses the default + connection group. + """ + created_time: datetime | None = ... + """The date and time when the distribution tenant was created.""" + last_modified_time: datetime | None = ... + """The date and time when the distribution tenant was updated.""" + enabled: bool | None = ... + """ + Indicates whether the distribution tenant is in an enabled state. If + disabled, the distribution tenant won't serve traffic. + """ + status: str | None = ... + """The status of the distribution tenant.""" + +@dataclass(kw_only=True) +class DistributionTenantAssociationFilter(_SerdeShape): + """Filter by the associated distribution ID or connection group ID.""" + + distribution_id: str | None = ... + """ + The distribution ID to filter by. You can find distribution tenants + associated with a specific distribution. + """ + connection_group_id: str | None = ... + """ + The ID of the connection group to filter by. You can find distribution + tenants associated with a specific connection group. + """ + +@dataclass(kw_only=True) +class DistributionTenantSummary(_SerdeShape): + """A summary of the information about a distribution tenant.""" + + id: str + """The ID of the distribution tenant.""" + distribution_id: str + """ + The identifier for the multi-tenant distribution. For example: + `EDFDVBD632BHDS5`. + """ + name: str + """The name of the distribution tenant.""" + arn: str + """The Amazon Resource Name (ARN) of the distribution tenant.""" + domains: list[DomainResult] + """The domains associated with the distribution tenant.""" + connection_group_id: str | None = ... + """ + The ID of the connection group ID for the distribution tenant. If you + don't specify a connection group, CloudFront uses the default + connection group. + """ + customizations: Customizations | None = ... + """ + Customizations for the distribution tenant. For each distribution + tenant, you can specify the geographic restrictions, and the Amazon + Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are + specific values that you can override or disable from the multi-tenant + distribution that was used to create the distribution tenant. + """ + created_time: datetime + """The date and time when the distribution tenant was created.""" + last_modified_time: datetime + """The date and time when the distribution tenant was updated.""" + e_tag: str + """The current version of the distribution tenant.""" + enabled: bool | None = ... + """ + Indicates whether the distribution tenants are in an enabled state. If + disabled, the distribution tenant won't service traffic. + """ + status: str | None = ... + """The status of the distribution tenant.""" + +@dataclass(kw_only=True) +class DnsConfiguration(_SerdeShape): + """The DNS configuration for your domain names.""" + + domain: str + """The domain name that you're verifying.""" + status: str + """ + The status of your domain name. + + - `valid-configuration`: The domain name is correctly configured and + points to the correct routing endpoint of the connection group. + + - `invalid-configuration`: There is either a missing DNS record or the + DNS record exists but it's using an incorrect routing endpoint. + Update the DNS record to point to the correct routing endpoint. + + - `unknown-configuration`: CloudFront can't validate your DNS + configuration. This status can appear if CloudFront can't verify the + DNS record, or the DNS lookup request failed or timed out. + """ + reason: str | None = ... + """Explains the status of the DNS configuration.""" + +class DnsConfigurationStatus(UnknownEnumMixin, StrEnum): + VALID = "valid-configuration" + INVALID = "invalid-configuration" + UNKNOWN = "unknown-configuration" + +@dataclass(kw_only=True) +class DomainConflict(_SerdeShape): + """ + Contains information about the domain conflict. Use this information to + determine the affected domain, the related resource, and the affected + Amazon Web Services account. + """ + + domain: str + """The domain used to find existing conflicts for domain configurations.""" + resource_type: str + """The CloudFront resource type that has a domain conflict.""" + resource_id: str + """The ID of the resource that has a domain conflict.""" + account_id: str + """The ID of the Amazon Web Services account for the domain conflict.""" + +@dataclass(kw_only=True) +class DomainItem(_SerdeShape): + """The domain for the specified distribution tenant.""" + + domain: str + """The domain name.""" + +@dataclass(kw_only=True) +class DomainResult(_SerdeShape): + """The details about the domain result.""" + + domain: str + """The specified domain.""" + status: str | None = ... + """Whether the domain is active or inactive.""" + +class DomainStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + INACTIVE = "inactive" + +@dataclass(kw_only=True) +class EncryptionEntities(_SerdeShape): + """ + Complex data type for field-level encryption profiles that includes all + of the encryption entities. + """ + + quantity: int + """ + Number of field pattern items in a field-level encryption content + type-profile mapping. + """ + items: list[EncryptionEntity] | None = ... + """ + An array of field patterns in a field-level encryption content + type-profile mapping. + """ + +@dataclass(kw_only=True) +class EncryptionEntity(_SerdeShape): + """ + Complex data type for field-level encryption profiles that includes the + encryption key and field pattern specifications. + """ + + public_key_id: str + """ + The public key associated with a set of field-level encryption patterns, + to be used when encrypting the fields that match the patterns. + """ + provider_id: str + """ + The provider associated with the public key being used for encryption. + This value must also be provided with the private key for applications + to be able to decrypt data. + """ + field_patterns: FieldPatterns + """ + Field patterns in a field-level encryption content type profile specify + the fields that you want to be encrypted. You can provide the full field + name, or any beginning characters followed by a wildcard (*). You + can't overlap field patterns. For example, you can't have both ABC* + and AB*. Note that field patterns are case-sensitive. + """ + +@dataclass(kw_only=True) +class EndPoint(_SerdeShape): + """ + Contains information about the Amazon Kinesis data stream where you're + sending real-time log data in a real-time log configuration. + """ + + stream_type: str + """ + The type of data stream where you are sending real-time log data. The + only valid value is `Kinesis`. + """ + kinesis_stream_config: KinesisStreamConfig | None = ... + """ + Contains information about the Amazon Kinesis data stream where you are + sending real-time log data in a real-time log configuration. + """ + +@dataclass(kw_only=True) +class EntityAlreadyExists(ServiceError, _SerdeShape): + """The entity already exists. You must provide a unique entity.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EntityLimitExceeded(ServiceError, _SerdeShape): + """The entity limit has been exceeded.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EntityNotFound(ServiceError, _SerdeShape): + """The entity was not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EntitySizeLimitExceeded(ServiceError, _SerdeShape): + """The entity size limit was exceeded.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class EventType(UnknownEnumMixin, StrEnum): + VIEWER_REQUEST = "viewer-request" + VIEWER_RESPONSE = "viewer-response" + ORIGIN_REQUEST = "origin-request" + ORIGIN_RESPONSE = "origin-response" + +@dataclass(kw_only=True) +class FieldLevelEncryption(_SerdeShape): + """ + A complex data type that includes the profile configurations and other + options specified for field-level encryption. + """ + + id: str + """ + The configuration ID for a field-level encryption configuration which + includes a set of profiles that specify certain selected data fields to + be encrypted by specific public keys. + """ + last_modified_time: datetime + """The last time the field-level encryption configuration was changed.""" + field_level_encryption_config: FieldLevelEncryptionConfig + """ + A complex data type that includes the profile configurations specified + for field-level encryption. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionConfig(_SerdeShape): + """ + A complex data type that includes the profile configurations specified + for field-level encryption. + """ + + caller_reference: str + """A unique number that ensures the request can't be replayed.""" + comment: str | None = ... + """ + An optional comment about the configuration. The comment cannot be + longer than 128 characters. + """ + query_arg_profile_config: QueryArgProfileConfig | None = ... + """ + A complex data type that specifies when to forward content if a profile + isn't found and the profile that can be provided as a query argument in + a request. + """ + content_type_profile_config: ContentTypeProfileConfig | None = ... + """ + A complex data type that specifies when to forward content if a content + type isn't recognized and profiles to use as by default in a request if + a query argument doesn't specify a profile to use. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionConfigAlreadyExists(ServiceError, _SerdeShape): + """The specified configuration for field-level encryption already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionConfigInUse(ServiceError, _SerdeShape): + """The specified configuration for field-level encryption is in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionList(_SerdeShape): + """List of field-level encryption configurations.""" + + next_marker: str | None = ... + """ + If there are more elements to be listed, this element is present and + contains the value that you can use for the `Marker` request parameter + to continue listing your configurations where you left off. + """ + max_items: int + """The maximum number of elements you want in the response body.""" + quantity: int + """The number of field-level encryption items.""" + items: list[FieldLevelEncryptionSummary] | None = ... + """An array of field-level encryption items.""" + +@dataclass(kw_only=True) +class FieldLevelEncryptionProfile(_SerdeShape): + """A complex data type for field-level encryption profiles.""" + + id: str + """ + The ID for a field-level encryption profile configuration which includes + a set of profiles that specify certain selected data fields to be + encrypted by specific public keys. + """ + last_modified_time: datetime + """The last time the field-level encryption profile was updated.""" + field_level_encryption_profile_config: FieldLevelEncryptionProfileConfig + """ + A complex data type that includes the profile name and the encryption + entities for the field-level encryption profile. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionProfileAlreadyExists(ServiceError, _SerdeShape): + """The specified profile for field-level encryption already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionProfileConfig(_SerdeShape): + """A complex data type of profiles for the field-level encryption.""" + + name: str + """Profile name for the field-level encryption profile.""" + caller_reference: str + """A unique number that ensures that the request can't be replayed.""" + comment: str | None = ... + """ + An optional comment for the field-level encryption profile. The comment + cannot be longer than 128 characters. + """ + encryption_entities: EncryptionEntities + """ + A complex data type of encryption entities for the field-level + encryption profile that include the public key ID, provider, and field + patterns for specifying which fields to encrypt with this key. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionProfileInUse(ServiceError, _SerdeShape): + """The specified profile for field-level encryption is in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionProfileList(_SerdeShape): + """List of field-level encryption profiles.""" + + next_marker: str | None = ... + """ + If there are more elements to be listed, this element is present and + contains the value that you can use for the `Marker` request parameter + to continue listing your profiles where you left off. + """ + max_items: int + """ + The maximum number of field-level encryption profiles you want in the + response body. + """ + quantity: int + """The number of field-level encryption profiles.""" + items: list[FieldLevelEncryptionProfileSummary] | None = ... + """The field-level encryption profile items.""" + +@dataclass(kw_only=True) +class FieldLevelEncryptionProfileSizeExceeded(ServiceError, _SerdeShape): + """The maximum size of a profile for field-level encryption was exceeded.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionProfileSummary(_SerdeShape): + """The field-level encryption profile summary.""" + + id: str + """ID for the field-level encryption profile summary.""" + last_modified_time: datetime + """ + The time when the field-level encryption profile summary was last + updated. + """ + name: str + """Name for the field-level encryption profile summary.""" + encryption_entities: EncryptionEntities + """ + A complex data type of encryption entities for the field-level + encryption profile that include the public key ID, provider, and field + patterns for specifying which fields to encrypt with this key. + """ + comment: str | None = ... + """ + An optional comment for the field-level encryption profile summary. The + comment cannot be longer than 128 characters. + """ + +@dataclass(kw_only=True) +class FieldLevelEncryptionSummary(_SerdeShape): + """A summary of a field-level encryption item.""" + + id: str + """The unique ID of a field-level encryption item.""" + last_modified_time: datetime + """ + The last time that the summary of field-level encryption items was + modified. + """ + comment: str | None = ... + """ + An optional comment about the field-level encryption item. The comment + cannot be longer than 128 characters. + """ + query_arg_profile_config: QueryArgProfileConfig | None = ... + """A summary of a query argument-profile mapping.""" + content_type_profile_config: ContentTypeProfileConfig | None = ... + """A summary of a content type-profile mapping.""" + +@dataclass(kw_only=True) +class FieldPatterns(_SerdeShape): + """ + A complex data type that includes the field patterns to match for + field-level encryption. + """ + + quantity: int + """The number of field-level encryption field patterns.""" + items: list[str] | None = ... + """An array of the field-level encryption field patterns.""" + +class Format(UnknownEnumMixin, StrEnum): + URL_ENCODED = "URLEncoded" + +@dataclass(kw_only=True) +class ForwardedValues(_SerdeShape): + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. + + If you want to include values in the cache key, use a cache policy. For + more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + in the *Amazon CloudFront Developer Guide*. + + If you want to send values to the origin but not include them in the + cache key, use an origin request policy. For more information, see + [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + in the *Amazon CloudFront Developer Guide*. + + A complex type that specifies how CloudFront handles query strings, + cookies, and HTTP headers. + """ + + query_string: bool + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. + + If you want to include query strings in the cache key, use a cache + policy. For more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + in the *Amazon CloudFront Developer Guide*. + + If you want to send query strings to the origin but not include them in + the cache key, use an origin request policy. For more information, see + [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + in the *Amazon CloudFront Developer Guide*. + + Indicates whether you want CloudFront to forward query strings to the + origin that is associated with this cache behavior and cache based on + the query string parameters. CloudFront behavior depends on the value of + `QueryString` and on the values that you specify for + `QueryStringCacheKeys`, if any: + + If you specify true for `QueryString` and you don't specify any values + for `QueryStringCacheKeys`, CloudFront forwards all query string + parameters to the origin and caches based on all query string + parameters. Depending on how many query string parameters and values you + have, this can adversely affect performance because CloudFront must + forward more requests to the origin. + + If you specify true for `QueryString` and you specify one or more values + for `QueryStringCacheKeys`, CloudFront forwards all query string + parameters to the origin, but it only caches based on the query string + parameters that you specify. + + If you specify false for `QueryString`, CloudFront doesn't forward any + query string parameters to the origin, and doesn't cache based on query + string parameters. + + For more information, see [Configuring CloudFront to Cache Based on + Query String + Parameters](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/QueryStringParameters.html) + in the *Amazon CloudFront Developer Guide*. + """ + cookies: CookiePreference + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. + + If you want to include cookies in the cache key, use a cache policy. For + more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + in the *Amazon CloudFront Developer Guide*. + + If you want to send cookies to the origin but not include them in the + cache key, use an origin request policy. For more information, see + [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + in the *Amazon CloudFront Developer Guide*. + + A complex type that specifies whether you want CloudFront to forward + cookies to the origin and, if so, which ones. For more information about + forwarding cookies to the origin, see [How CloudFront Forwards, Caches, + and Logs + Cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) + in the *Amazon CloudFront Developer Guide*. + """ + headers: Headers | None = ... + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. + + If you want to include headers in the cache key, use a cache policy. For + more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + in the *Amazon CloudFront Developer Guide*. + + If you want to send headers to the origin but not include them in the + cache key, use an origin request policy. For more information, see + [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + in the *Amazon CloudFront Developer Guide*. + + A complex type that specifies the `Headers`, if any, that you want + CloudFront to forward to the origin for this cache behavior (whitelisted + headers). For the headers that you specify, CloudFront also caches + separate versions of a specified object that is based on the header + values in viewer requests. + + For more information, see [Caching Content Based on Request + Headers](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html) + in the *Amazon CloudFront Developer Guide*. + """ + query_string_cache_keys: QueryStringCacheKeys | None = ... + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. + + If you want to include query strings in the cache key, use a cache + policy. For more information, see [Creating cache + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) + in the *Amazon CloudFront Developer Guide*. + + If you want to send query strings to the origin but not include them in + the cache key, use an origin request policy. For more information, see + [Creating origin request + policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) + in the *Amazon CloudFront Developer Guide*. + + A complex type that contains information about the query string + parameters that you want CloudFront to use for caching for this cache + behavior. + """ + +class FrameOptionsList(UnknownEnumMixin, StrEnum): + DENY = "DENY" + SAMEORIGIN = "SAMEORIGIN" + +@dataclass(kw_only=True) +class FunctionAlreadyExists(ServiceError, _SerdeShape): + """ + A function with the same name already exists in this Amazon Web Services + account. To create a function, you must provide a unique name. To update + an existing function, use `UpdateFunction`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FunctionAssociation(_SerdeShape): + """ + A CloudFront function that is associated with a cache behavior in a + CloudFront distribution. + """ + + function_arn: str + """The Amazon Resource Name (ARN) of the function.""" + event_type: str + """ + The event type of the function, either `viewer-request` or + `viewer-response`. You cannot use origin-facing event types + (`origin-request` and `origin-response`) with a CloudFront function. + """ + +@dataclass(kw_only=True) +class FunctionAssociations(_SerdeShape): + """ + A list of CloudFront functions that are associated with a cache behavior + in a CloudFront distribution. Your functions must be published to the + `LIVE` stage to associate them with a cache behavior. + """ + + quantity: int + """The number of CloudFront functions in the list.""" + items: list[FunctionAssociation] | None = ... + """ + The CloudFront functions that are associated with a cache behavior in a + CloudFront distribution. Your functions must be published to the `LIVE` + stage to associate them with a cache behavior. + """ + +@dataclass(kw_only=True) +class FunctionConfig(_SerdeShape): + """Contains configuration information about a CloudFront function.""" + + comment: str + """A comment to describe the function.""" + runtime: str + """The function's runtime environment version.""" + key_value_store_associations: KeyValueStoreAssociations | None = ... + """The configuration for the key value store associations.""" + +@dataclass(kw_only=True) +class FunctionInUse(ServiceError, _SerdeShape): + """ + Cannot delete the function because it's attached to one or more cache + behaviors. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FunctionList(_SerdeShape): + """A list of CloudFront functions.""" + + next_marker: str | None = ... + """ + If there are more items in the list than are in this response, this + element is present. It contains the value that you should use in the + `Marker` field of a subsequent request to continue listing functions + where you left off. + """ + max_items: int + """The maximum number of functions requested.""" + quantity: int + """The number of functions returned in the response.""" + items: list[FunctionSummary] | None = ... + """Contains the functions in the list.""" + +@dataclass(kw_only=True) +class FunctionMetadata(_SerdeShape): + """Contains metadata about a CloudFront function.""" + + function_arn: str + """ + The Amazon Resource Name (ARN) of the function. The ARN uniquely + identifies the function. + """ + stage: str | None = ... + """ + The stage that the function is in, either `DEVELOPMENT` or `LIVE`. + + When a function is in the `DEVELOPMENT` stage, you can test the function + with `TestFunction`, and update it with `UpdateFunction`. + + When a function is in the `LIVE` stage, you can attach the function to a + distribution's cache behavior, using the function's ARN. + """ + created_time: datetime | None = ... + """The date and time when the function was created.""" + last_modified_time: datetime + """The date and time when the function was most recently updated.""" + +class FunctionRuntime(UnknownEnumMixin, StrEnum): + CLOUDFRONT_JS_1_0 = "cloudfront-js-1.0" + CLOUDFRONT_JS_2_0 = "cloudfront-js-2.0" + +@dataclass(kw_only=True) +class FunctionSizeLimitExceeded(ServiceError, _SerdeShape): + """ + The function is too large. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class FunctionStage(UnknownEnumMixin, StrEnum): + DEVELOPMENT = "DEVELOPMENT" + LIVE = "LIVE" + +@dataclass(kw_only=True) +class FunctionSummary(_SerdeShape): + """ + Contains configuration information and metadata about a CloudFront + function. + """ + + name: str + """The name of the CloudFront function.""" + status: str | None = ... + """The status of the CloudFront function.""" + function_config: FunctionConfig + """Contains configuration information about a CloudFront function.""" + function_metadata: FunctionMetadata + """Contains metadata about a CloudFront function.""" + +@dataclass(kw_only=True) +class GeoRestriction(_SerdeShape): + """ + A complex type that controls the countries in which your content is + distributed. CloudFront determines the location of your users using + `MaxMind` GeoIP databases. + """ + + restriction_type: str + """ + The method that you want to use to restrict distribution of your content + by country: + + - `none`: No geo restriction is enabled, meaning access to content is + not restricted by client geo location. + + - `blacklist`: The `Location` elements specify the countries in which + you don't want CloudFront to distribute your content. + + - `whitelist`: The `Location` elements specify the countries in which + you want CloudFront to distribute your content. + """ + quantity: int + """ + When geo restriction is `enabled`, this is the number of countries in + your `whitelist` or `blacklist`. Otherwise, when it is not enabled, + `Quantity` is `0`, and you can omit `Items`. + """ + items: list[str] | None = ... + """ + A complex type that contains a `Location` element for each country in + which you want CloudFront either to distribute your content + (`whitelist`) or not distribute your content (`blacklist`). + + The `Location` element is a two-letter, uppercase country code for a + country that you want to include in your `blacklist` or `whitelist`. + Include one `Location` element for each country. + + CloudFront and `MaxMind` both use `ISO 3166` country codes. For the + current list of countries and the corresponding codes, see + `ISO 3166-1-alpha-2` code on the *International Organization for + Standardization* website. You can also refer to the country list on the + CloudFront console, which includes both country names and codes. + """ + +@dataclass(kw_only=True) +class GeoRestrictionCustomization(_SerdeShape): + """ + The customizations that you specified for the distribution tenant for + geographic restrictions. + """ + + restriction_type: str + """ + The method that you want to use to restrict distribution of your content + by country: + + - `none`: No geographic restriction is enabled, meaning access to + content is not restricted by client geo location. + + - `blacklist`: The `Location` elements specify the countries in which + you don't want CloudFront to distribute your content. + + - `whitelist`: The `Location` elements specify the countries in which + you want CloudFront to distribute your content. + """ + locations: list[str] | None = ... + """The locations for geographic restrictions.""" + +class GeoRestrictionType(UnknownEnumMixin, StrEnum): + BLACKLIST = "blacklist" + WHITELIST = "whitelist" + NONE = "none" + +@dataclass(kw_only=True) +class GetAnycastIpListInput(_SerdeShape): + """Dataclass for GetAnycastIpListInput structure.""" + + id: str | None = ... + """The ID of the Anycast static IP list.""" + +@dataclass(kw_only=True) +class GetAnycastIpListOutput(_SerdeShape): + """Dataclass for GetAnycastIpListOutput structure.""" + + anycast_ip_list: AnycastIpList | None = ... + """The Anycast static IP list details.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the Anycast static IP + list. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/models_1.pyi b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/models_1.pyi new file mode 100644 index 000000000..948b2c848 --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/models_1.pyi @@ -0,0 +1,3980 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AnycastIpListCollection, + CachePolicy, + CachePolicyConfig, + CachePolicyList, + CloudFrontOriginAccessIdentity, + CloudFrontOriginAccessIdentityConfig, + CloudFrontOriginAccessIdentityList, + ConflictingAliasesList, + ConnectionFunctionSummary, + ConnectionGroup, + ConnectionGroupAssociationFilter, + ConnectionGroupSummary, + ContinuousDeploymentPolicy, + ContinuousDeploymentPolicyConfig, + ContinuousDeploymentPolicyList, + CustomHeaders, + CustomOriginConfig, + Distribution, + DistributionConfig, + DistributionIdList, + DistributionIdOwnerList, + DistributionList, + DistributionResourceId, + DistributionTenant, + DistributionTenantAssociationFilter, + DistributionTenantSummary, + DomainConflict, + FieldLevelEncryption, + FieldLevelEncryptionConfig, + FieldLevelEncryptionList, + FieldLevelEncryptionProfile, + FieldLevelEncryptionProfileConfig, + FieldLevelEncryptionProfileList, + FunctionList, + OriginAccessControlSummary, + OriginRequestPolicy, + OriginRequestPolicyConfig, + OriginRequestPolicyList, + OriginShield, + Paths, + PublicKey, + PublicKeyConfig, + PublicKeyList, + RealtimeLogConfig, + RealtimeLogConfigs, + RealtimeMetricsSubscriptionConfig, + ResponseHeadersPolicy, + ResponseHeadersPolicyConfig, + ResponseHeadersPolicyList, + S3OriginConfig, + ServiceError, + StreamingDistribution, + StreamingDistributionConfig, + StreamingDistributionList, + Tags, + TrustStore, + TrustStoreSummary, + ValidationTokenDetail, + VpcOrigin, + VpcOriginConfig, + VpcOriginList, + _SerdeShape, +) + +@dataclass(kw_only=True) +class GetCachePolicyConfigInput(_SerdeShape): + """Dataclass for GetCachePolicyConfigInput structure.""" + + id: str | None = ... + """ + The unique identifier for the cache policy. If the cache policy is + attached to a distribution's cache behavior, you can get the policy's + identifier using `ListDistributions` or `GetDistribution`. If the cache + policy is not attached to a cache behavior, you can get the identifier + using `ListCachePolicies`. + """ + +@dataclass(kw_only=True) +class GetCachePolicyConfigOutput(_SerdeShape): + """Dataclass for GetCachePolicyConfigOutput structure.""" + + cache_policy_config: CachePolicyConfig | None = ... + """The cache policy configuration.""" + e_tag: str | None = ... + """The current version of the cache policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCachePolicyInput(_SerdeShape): + """Dataclass for GetCachePolicyInput structure.""" + + id: str | None = ... + """ + The unique identifier for the cache policy. If the cache policy is + attached to a distribution's cache behavior, you can get the policy's + identifier using `ListDistributions` or `GetDistribution`. If the cache + policy is not attached to a cache behavior, you can get the identifier + using `ListCachePolicies`. + """ + +@dataclass(kw_only=True) +class GetCachePolicyOutput(_SerdeShape): + """Dataclass for GetCachePolicyOutput structure.""" + + cache_policy: CachePolicy | None = ... + """The cache policy.""" + e_tag: str | None = ... + """The current version of the cache policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCloudFrontOriginAccessIdentityConfigInput(_SerdeShape): + """ + The origin access identity's configuration information. For more + information, see + [CloudFrontOriginAccessIdentityConfig](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CloudFrontOriginAccessIdentityConfig.html). + """ + + id: str | None = ... + """The identity's ID.""" + +@dataclass(kw_only=True) +class GetCloudFrontOriginAccessIdentityConfigOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + cloud_front_origin_access_identity_config: ( + CloudFrontOriginAccessIdentityConfig | None + ) = ... + """The origin access identity's configuration information.""" + e_tag: str | None = ... + """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCloudFrontOriginAccessIdentityInput(_SerdeShape): + """The request to get an origin access identity's information.""" + + id: str | None = ... + """The identity's ID.""" + +@dataclass(kw_only=True) +class GetCloudFrontOriginAccessIdentityOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + cloud_front_origin_access_identity: CloudFrontOriginAccessIdentity | None = ... + """The origin access identity's information.""" + e_tag: str | None = ... + """ + The current version of the origin access identity's information. For + example: `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetConnectionFunctionInput(_SerdeShape): + """Dataclass for GetConnectionFunctionInput structure.""" + + identifier: str | None = ... + """The connection function's identifier.""" + stage: str | None = ... + """The connection function's stage.""" + +@dataclass(kw_only=True) +class GetConnectionFunctionOutput(_SerdeShape): + """Dataclass for GetConnectionFunctionOutput structure.""" + + connection_function_code: bytes | None = ... + """The connection function's code.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the connection + function. + """ + content_type: str | None = ... + """The connection function's content type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetConnectionGroupByRoutingEndpointInput(_SerdeShape): + """Dataclass for GetConnectionGroupByRoutingEndpointInput structure.""" + + routing_endpoint: str | None = ... + """ + The routing endpoint for the target connection group, such as + d111111abcdef8.cloudfront.net. + """ + +@dataclass(kw_only=True) +class GetConnectionGroupByRoutingEndpointOutput(_SerdeShape): + """Dataclass for GetConnectionGroupByRoutingEndpointOutput structure.""" + + connection_group: ConnectionGroup | None = ... + """ + The connection group for your distribution tenants. When you first + create a distribution tenant and you don't specify a connection group, + CloudFront will automatically create a default connection group for you. + When you create a new distribution tenant and don't specify a + connection group, the default one will be associated with your + distribution tenant. + """ + e_tag: str | None = ... + """The current version of the connection group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetConnectionGroupInput(_SerdeShape): + """Dataclass for GetConnectionGroupInput structure.""" + + identifier: str | None = ... + """The ID, name, or Amazon Resource Name (ARN) of the connection group.""" + +@dataclass(kw_only=True) +class GetConnectionGroupOutput(_SerdeShape): + """Dataclass for GetConnectionGroupOutput structure.""" + + connection_group: ConnectionGroup | None = ... + """The connection group that you retrieved.""" + e_tag: str | None = ... + """The current version of the connection group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetContinuousDeploymentPolicyConfigInput(_SerdeShape): + """Dataclass for GetContinuousDeploymentPolicyConfigInput structure.""" + + id: str | None = ... + """ + The identifier of the continuous deployment policy whose configuration + you are getting. + """ + +@dataclass(kw_only=True) +class GetContinuousDeploymentPolicyConfigOutput(_SerdeShape): + """Dataclass for GetContinuousDeploymentPolicyConfigOutput structure.""" + + continuous_deployment_policy_config: ContinuousDeploymentPolicyConfig | None = ... + """Contains the configuration for a continuous deployment policy.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the continuous + deployment policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetContinuousDeploymentPolicyInput(_SerdeShape): + """Dataclass for GetContinuousDeploymentPolicyInput structure.""" + + id: str | None = ... + """The identifier of the continuous deployment policy that you are getting.""" + +@dataclass(kw_only=True) +class GetContinuousDeploymentPolicyOutput(_SerdeShape): + """Dataclass for GetContinuousDeploymentPolicyOutput structure.""" + + continuous_deployment_policy: ContinuousDeploymentPolicy | None = ... + """A continuous deployment policy.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the continuous + deployment policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDistributionConfigInput(_SerdeShape): + """The request to get a distribution configuration.""" + + id: str | None = ... + """ + The distribution's ID. If the ID is empty, an empty distribution + configuration is returned. + """ + +@dataclass(kw_only=True) +class GetDistributionConfigOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + distribution_config: DistributionConfig | None = ... + """The distribution's configuration information.""" + e_tag: str | None = ... + """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDistributionInput(_SerdeShape): + """The request to get a distribution's information.""" + + id: str | None = ... + """ + The distribution's ID. If the ID is empty, an empty distribution + configuration is returned. + """ + +@dataclass(kw_only=True) +class GetDistributionOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + distribution: Distribution | None = ... + """The distribution's information.""" + e_tag: str | None = ... + """ + The current version of the distribution's information. For example: + `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDistributionTenantByDomainInput(_SerdeShape): + """Dataclass for GetDistributionTenantByDomainInput structure.""" + + domain: str | None = ... + """A domain name associated with the target distribution tenant.""" + +@dataclass(kw_only=True) +class GetDistributionTenantByDomainOutput(_SerdeShape): + """Dataclass for GetDistributionTenantByDomainOutput structure.""" + + distribution_tenant: DistributionTenant | None = ... + """The distribution tenant.""" + e_tag: str | None = ... + """The current version of the distribution tenant.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDistributionTenantInput(_SerdeShape): + """Dataclass for GetDistributionTenantInput structure.""" + + identifier: str | None = ... + """ + The identifier of the distribution tenant. You can specify the ARN, ID, + or name of the distribution tenant. + """ + +@dataclass(kw_only=True) +class GetDistributionTenantOutput(_SerdeShape): + """Dataclass for GetDistributionTenantOutput structure.""" + + distribution_tenant: DistributionTenant | None = ... + """The distribution tenant that you retrieved.""" + e_tag: str | None = ... + """The current version of the distribution tenant.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFieldLevelEncryptionConfigInput(_SerdeShape): + """Dataclass for GetFieldLevelEncryptionConfigInput structure.""" + + id: str | None = ... + """Request the ID for the field-level encryption configuration information.""" + +@dataclass(kw_only=True) +class GetFieldLevelEncryptionConfigOutput(_SerdeShape): + """Dataclass for GetFieldLevelEncryptionConfigOutput structure.""" + + field_level_encryption_config: FieldLevelEncryptionConfig | None = ... + """Return the field-level encryption configuration information.""" + e_tag: str | None = ... + """ + The current version of the field level encryption configuration. For + example: `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFieldLevelEncryptionInput(_SerdeShape): + """Dataclass for GetFieldLevelEncryptionInput structure.""" + + id: str | None = ... + """Request the ID for the field-level encryption configuration information.""" + +@dataclass(kw_only=True) +class GetFieldLevelEncryptionOutput(_SerdeShape): + """Dataclass for GetFieldLevelEncryptionOutput structure.""" + + field_level_encryption: FieldLevelEncryption | None = ... + """Return the field-level encryption configuration information.""" + e_tag: str | None = ... + """ + The current version of the field level encryption configuration. For + example: `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFieldLevelEncryptionProfileConfigInput(_SerdeShape): + """Dataclass for GetFieldLevelEncryptionProfileConfigInput structure.""" + + id: str | None = ... + """ + Get the ID for the field-level encryption profile configuration + information. + """ + +@dataclass(kw_only=True) +class GetFieldLevelEncryptionProfileConfigOutput(_SerdeShape): + """Dataclass for GetFieldLevelEncryptionProfileConfigOutput structure.""" + + field_level_encryption_profile_config: ( + FieldLevelEncryptionProfileConfig | None + ) = ... + """Return the field-level encryption profile configuration information.""" + e_tag: str | None = ... + """ + The current version of the field-level encryption profile configuration + result. For example: `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFieldLevelEncryptionProfileInput(_SerdeShape): + """Dataclass for GetFieldLevelEncryptionProfileInput structure.""" + + id: str | None = ... + """Get the ID for the field-level encryption profile information.""" + +@dataclass(kw_only=True) +class GetFieldLevelEncryptionProfileOutput(_SerdeShape): + """Dataclass for GetFieldLevelEncryptionProfileOutput structure.""" + + field_level_encryption_profile: FieldLevelEncryptionProfile | None = ... + """Return the field-level encryption profile information.""" + e_tag: str | None = ... + """ + The current version of the field level encryption profile. For example: + `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFunctionInput(_SerdeShape): + """Dataclass for GetFunctionInput structure.""" + + name: str | None = ... + """The name of the function whose code you are getting.""" + stage: str | None = ... + """The function's stage, either `DEVELOPMENT` or `LIVE`.""" + +@dataclass(kw_only=True) +class GetFunctionOutput(_SerdeShape): + """Dataclass for GetFunctionOutput structure.""" + + function_code: bytes | None = ... + """The function code of a CloudFront function.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the CloudFront + function. + """ + content_type: str | None = ... + """The content type (media type) of the response.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInvalidationForDistributionTenantInput(_SerdeShape): + """Dataclass for GetInvalidationForDistributionTenantInput structure.""" + + distribution_tenant_id: str | None = ... + """The ID of the distribution tenant.""" + id: str | None = ... + """The ID of the invalidation to retrieve.""" + +@dataclass(kw_only=True) +class GetInvalidationForDistributionTenantOutput(_SerdeShape): + """Dataclass for GetInvalidationForDistributionTenantOutput structure.""" + + invalidation: Invalidation | None = ... + """An invalidation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInvalidationInput(_SerdeShape): + """The request to get an invalidation's information.""" + + distribution_id: str | None = ... + """The distribution's ID.""" + id: str | None = ... + """ + The identifier for the invalidation request, for example, + `IDFDVBD632BHDS5`. + """ + +@dataclass(kw_only=True) +class GetInvalidationOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + invalidation: Invalidation | None = ... + """ + The invalidation's information. For more information, see [Invalidation + Complex + Type](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/InvalidationDatatype.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetKeyGroupConfigInput(_SerdeShape): + """Dataclass for GetKeyGroupConfigInput structure.""" + + id: str | None = ... + """ + The identifier of the key group whose configuration you are getting. To + get the identifier, use `ListKeyGroups`. + """ + +@dataclass(kw_only=True) +class GetKeyGroupConfigOutput(_SerdeShape): + """Dataclass for GetKeyGroupConfigOutput structure.""" + + key_group_config: KeyGroupConfig | None = ... + """The key group configuration.""" + e_tag: str | None = ... + """The identifier for this version of the key group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetKeyGroupInput(_SerdeShape): + """Dataclass for GetKeyGroupInput structure.""" + + id: str | None = ... + """ + The identifier of the key group that you are getting. To get the + identifier, use `ListKeyGroups`. + """ + +@dataclass(kw_only=True) +class GetKeyGroupOutput(_SerdeShape): + """Dataclass for GetKeyGroupOutput structure.""" + + key_group: KeyGroup | None = ... + """The key group.""" + e_tag: str | None = ... + """The identifier for this version of the key group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetManagedCertificateDetailsInput(_SerdeShape): + """Dataclass for GetManagedCertificateDetailsInput structure.""" + + identifier: str | None = ... + """ + The identifier of the distribution tenant. You can specify the ARN, ID, + or name of the distribution tenant. + """ + +@dataclass(kw_only=True) +class GetManagedCertificateDetailsOutput(_SerdeShape): + """Dataclass for GetManagedCertificateDetailsOutput structure.""" + + managed_certificate_details: ManagedCertificateDetails | None = ... + """Contains details about the CloudFront managed ACM certificate.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMonitoringSubscriptionInput(_SerdeShape): + """Dataclass for GetMonitoringSubscriptionInput structure.""" + + distribution_id: str | None = ... + """The ID of the distribution that you are getting metrics information for.""" + +@dataclass(kw_only=True) +class GetMonitoringSubscriptionOutput(_SerdeShape): + """Dataclass for GetMonitoringSubscriptionOutput structure.""" + + monitoring_subscription: MonitoringSubscription | None = ... + """ + A monitoring subscription. This structure contains information about + whether additional CloudWatch metrics are enabled for a given CloudFront + distribution. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOriginAccessControlConfigInput(_SerdeShape): + """Dataclass for GetOriginAccessControlConfigInput structure.""" + + id: str | None = ... + """The unique identifier of the origin access control.""" + +@dataclass(kw_only=True) +class GetOriginAccessControlConfigOutput(_SerdeShape): + """Dataclass for GetOriginAccessControlConfigOutput structure.""" + + origin_access_control_config: OriginAccessControlConfig | None = ... + """Contains an origin access control configuration.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the origin access + control. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOriginAccessControlInput(_SerdeShape): + """Dataclass for GetOriginAccessControlInput structure.""" + + id: str | None = ... + """The unique identifier of the origin access control.""" + +@dataclass(kw_only=True) +class GetOriginAccessControlOutput(_SerdeShape): + """Dataclass for GetOriginAccessControlOutput structure.""" + + origin_access_control: OriginAccessControl | None = ... + """Contains an origin access control, including its unique identifier.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the origin access + control. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOriginRequestPolicyConfigInput(_SerdeShape): + """Dataclass for GetOriginRequestPolicyConfigInput structure.""" + + id: str | None = ... + """ + The unique identifier for the origin request policy. If the origin + request policy is attached to a distribution's cache behavior, you can + get the policy's identifier using `ListDistributions` or + `GetDistribution`. If the origin request policy is not attached to a + cache behavior, you can get the identifier using + `ListOriginRequestPolicies`. + """ + +@dataclass(kw_only=True) +class GetOriginRequestPolicyConfigOutput(_SerdeShape): + """Dataclass for GetOriginRequestPolicyConfigOutput structure.""" + + origin_request_policy_config: OriginRequestPolicyConfig | None = ... + """The origin request policy configuration.""" + e_tag: str | None = ... + """The current version of the origin request policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOriginRequestPolicyInput(_SerdeShape): + """Dataclass for GetOriginRequestPolicyInput structure.""" + + id: str | None = ... + """ + The unique identifier for the origin request policy. If the origin + request policy is attached to a distribution's cache behavior, you can + get the policy's identifier using `ListDistributions` or + `GetDistribution`. If the origin request policy is not attached to a + cache behavior, you can get the identifier using + `ListOriginRequestPolicies`. + """ + +@dataclass(kw_only=True) +class GetOriginRequestPolicyOutput(_SerdeShape): + """Dataclass for GetOriginRequestPolicyOutput structure.""" + + origin_request_policy: OriginRequestPolicy | None = ... + """The origin request policy.""" + e_tag: str | None = ... + """The current version of the origin request policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPublicKeyConfigInput(_SerdeShape): + """Dataclass for GetPublicKeyConfigInput structure.""" + + id: str | None = ... + """The identifier of the public key whose configuration you are getting.""" + +@dataclass(kw_only=True) +class GetPublicKeyConfigOutput(_SerdeShape): + """Dataclass for GetPublicKeyConfigOutput structure.""" + + public_key_config: PublicKeyConfig | None = ... + """A public key configuration.""" + e_tag: str | None = ... + """The identifier for this version of the public key configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPublicKeyInput(_SerdeShape): + """Dataclass for GetPublicKeyInput structure.""" + + id: str | None = ... + """The identifier of the public key you are getting.""" + +@dataclass(kw_only=True) +class GetPublicKeyOutput(_SerdeShape): + """Dataclass for GetPublicKeyOutput structure.""" + + public_key: PublicKey | None = ... + """The public key.""" + e_tag: str | None = ... + """The identifier for this version of the public key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRealtimeLogConfigInput(_SerdeShape): + """Dataclass for GetRealtimeLogConfigInput structure.""" + + name: str | None = ... + """The name of the real-time log configuration to get.""" + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the real-time log configuration to + get. + """ + +@dataclass(kw_only=True) +class GetRealtimeLogConfigOutput(_SerdeShape): + """Dataclass for GetRealtimeLogConfigOutput structure.""" + + realtime_log_config: RealtimeLogConfig | None = ... + """A real-time log configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyInput(_SerdeShape): + """Dataclass for GetResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudFront resource that is + associated with the resource policy. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyOutput(_SerdeShape): + """Dataclass for GetResourcePolicyOutput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudFront resource that is + associated with the resource policy. + """ + policy_document: str | None = ... + """The resource policy in JSON format.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResponseHeadersPolicyConfigInput(_SerdeShape): + """Dataclass for GetResponseHeadersPolicyConfigInput structure.""" + + id: str | None = ... + """ + The identifier for the response headers policy. + + If the response headers policy is attached to a distribution's cache + behavior, you can get the policy's identifier using `ListDistributions` + or `GetDistribution`. If the response headers policy is not attached to + a cache behavior, you can get the identifier using + `ListResponseHeadersPolicies`. + """ + +@dataclass(kw_only=True) +class GetResponseHeadersPolicyConfigOutput(_SerdeShape): + """Dataclass for GetResponseHeadersPolicyConfigOutput structure.""" + + response_headers_policy_config: ResponseHeadersPolicyConfig | None = ... + """Contains a response headers policy.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the response headers + policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResponseHeadersPolicyInput(_SerdeShape): + """Dataclass for GetResponseHeadersPolicyInput structure.""" + + id: str | None = ... + """ + The identifier for the response headers policy. + + If the response headers policy is attached to a distribution's cache + behavior, you can get the policy's identifier using `ListDistributions` + or `GetDistribution`. If the response headers policy is not attached to + a cache behavior, you can get the identifier using + `ListResponseHeadersPolicies`. + """ + +@dataclass(kw_only=True) +class GetResponseHeadersPolicyOutput(_SerdeShape): + """Dataclass for GetResponseHeadersPolicyOutput structure.""" + + response_headers_policy: ResponseHeadersPolicy | None = ... + """Contains a response headers policy.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the response headers + policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetStreamingDistributionConfigInput(_SerdeShape): + """To request to get a streaming distribution configuration.""" + + id: str | None = ... + """The streaming distribution's ID.""" + +@dataclass(kw_only=True) +class GetStreamingDistributionConfigOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + streaming_distribution_config: StreamingDistributionConfig | None = ... + """The streaming distribution's configuration information.""" + e_tag: str | None = ... + """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetStreamingDistributionInput(_SerdeShape): + """The request to get a streaming distribution's information.""" + + id: str | None = ... + """The streaming distribution's ID.""" + +@dataclass(kw_only=True) +class GetStreamingDistributionOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + streaming_distribution: StreamingDistribution | None = ... + """The streaming distribution's information.""" + e_tag: str | None = ... + """ + The current version of the streaming distribution's information. For + example: `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTrustStoreInput(_SerdeShape): + """Dataclass for GetTrustStoreInput structure.""" + + identifier: str | None = ... + """The trust store's identifier.""" + +@dataclass(kw_only=True) +class GetTrustStoreOutput(_SerdeShape): + """Dataclass for GetTrustStoreOutput structure.""" + + trust_store: TrustStore | None = ... + """The trust store.""" + e_tag: str | None = ... + """The version identifier for the current version of the trust store.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVpcOriginInput(_SerdeShape): + """Dataclass for GetVpcOriginInput structure.""" + + id: str | None = ... + """The VPC origin ID.""" + +@dataclass(kw_only=True) +class GetVpcOriginOutput(_SerdeShape): + """Dataclass for GetVpcOriginOutput structure.""" + + vpc_origin: VpcOrigin | None = ... + """The VPC origin.""" + e_tag: str | None = ... + """The VPC origin ETag.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GrpcConfig(_SerdeShape): + """ + Amazon CloudFront supports gRPC, an open-source remote procedure call + (RPC) framework built on HTTP/2. gRPC offers bi-directional streaming + and binary protocol that buffers payloads, making it suitable for + applications that require low latency communications. + + To enable your distribution to handle gRPC requests, you must include + HTTP/2 as one of the supported `HTTP` versions and allow `HTTP` methods, + including `POST`. + + For more information, see [Using gRPC with CloudFront + distributions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-using-grpc.html) + in the *Amazon CloudFront Developer Guide*. + """ + + enabled: bool + """ + Enables your CloudFront distribution to receive gRPC requests and to + proxy them directly to your origins. + """ + +@dataclass(kw_only=True) +class Headers(_SerdeShape): + """Contains a list of HTTP header names.""" + + quantity: int + """The number of header names in the `Items` list.""" + items: list[str] | None = ... + """A list of HTTP header names.""" + +class HttpVersion(UnknownEnumMixin, StrEnum): + HTTP1_1 = "http1.1" + HTTP2 = "http2" + HTTP3 = "http3" + HTTP2AND3 = "http2and3" + +class ICPRecordalStatus(UnknownEnumMixin, StrEnum): + APPROVED = "APPROVED" + SUSPENDED = "SUSPENDED" + PENDING = "PENDING" + +@dataclass(kw_only=True) +class IllegalDelete(ServiceError, _SerdeShape): + """Deletion is not allowed for this entity.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior( + ServiceError, _SerdeShape +): + """ + The specified configuration for field-level encryption can't be + associated with the specified cache behavior. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IllegalOriginAccessConfiguration(ServiceError, _SerdeShape): + """ + An origin cannot contain both an origin access control (OAC) and an + origin access identity (OAI). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IllegalUpdate(ServiceError, _SerdeShape): + """The update contains modifications that are not allowed.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportSource(_SerdeShape): + """The import source for the key value store.""" + + source_type: str + """The source type of the import source for the key value store.""" + source_arn: str + """ + The Amazon Resource Name (ARN) of the import source for the key value + store. + """ + +class ImportSourceType(UnknownEnumMixin, StrEnum): + S3 = "S3" + +@dataclass(kw_only=True) +class InconsistentQuantities(ServiceError, _SerdeShape): + """The value of `Quantity` and the size of `Items` don't match.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidArgument(ServiceError, _SerdeShape): + """An argument is invalid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidAssociation(ServiceError, _SerdeShape): + """The specified CloudFront resource can't be associated.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Invalidation(_SerdeShape): + """An invalidation.""" + + id: str + """ + The identifier for the invalidation request. For example: + `IDFDVBD632BHDS5`. + """ + status: str + """ + The status of the invalidation request. When the invalidation batch is + finished, the status is `Completed`. + """ + create_time: datetime + """The date and time the invalidation request was first made.""" + invalidation_batch: InvalidationBatch + """The current invalidation information for the batch request.""" + +@dataclass(kw_only=True) +class InvalidationBatch(_SerdeShape): + """An invalidation batch.""" + + paths: Paths + """ + A complex type that contains information about the objects that you want + to invalidate. For more information, see [Specifying the Objects to + Invalidate](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) + in the *Amazon CloudFront Developer Guide*. + """ + caller_reference: str + """ + A value that you specify to uniquely identify an invalidation request. + CloudFront uses the value to prevent you from accidentally resubmitting + an identical request. Whenever you create a new invalidation request, + you must specify a new value for `CallerReference` and change other + values in the request as applicable. One way to ensure that the value of + `CallerReference` is unique is to use a `timestamp`, for example, + `20120301090000`. + + If you make a second invalidation request with the same value for + `CallerReference`, and if the rest of the request is the same, + CloudFront doesn't create a new invalidation request. Instead, + CloudFront returns information about the invalidation request that you + previously created with the same `CallerReference`. + + If `CallerReference` is a value you already sent in a previous + invalidation batch request but the content of any `Path` is different + from the original request, CloudFront returns an + `InvalidationBatchAlreadyExists` error. + """ + +@dataclass(kw_only=True) +class InvalidationList(_SerdeShape): + """ + The `InvalidationList` complex type describes the list of invalidation + objects. For more information about invalidation, see [Invalidating + Objects (Web Distributions + Only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) + in the *Amazon CloudFront Developer Guide*. + """ + + marker: str + """The value that you provided for the `Marker` request parameter.""" + next_marker: str | None = ... + """ + If `IsTruncated` is `true`, this element is present and contains the + value that you can use for the `Marker` request parameter to continue + listing your invalidation batches where they left off. + """ + max_items: int + """The value that you provided for the `MaxItems` request parameter.""" + is_truncated: bool + """ + A flag that indicates whether more invalidation batch requests remain to + be listed. If your results were truncated, you can make a follow-up + pagination request using the `Marker` request parameter to retrieve more + invalidation batches in the list. + """ + quantity: int + """ + The number of invalidation batches that were created by the current + Amazon Web Services account. + """ + items: list[InvalidationSummary] | None = ... + """ + A complex type that contains one `InvalidationSummary` element for each + invalidation batch created by the current Amazon Web Services account. + """ + +@dataclass(kw_only=True) +class InvalidationSummary(_SerdeShape): + """A summary of an invalidation request.""" + + id: str + """The unique ID for an invalidation request.""" + create_time: datetime + """The time that an invalidation request was created.""" + status: str + """The status of an invalidation request.""" + +@dataclass(kw_only=True) +class InvalidDefaultRootObject(ServiceError, _SerdeShape): + """ + The default root object file name is too big or contains an invalid + character. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDomainNameForOriginAccessControl(ServiceError, _SerdeShape): + """ + An origin access control is associated with an origin whose domain name + is not supported. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidErrorCode(ServiceError, _SerdeShape): + """An invalid error code was specified.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidForwardCookies(ServiceError, _SerdeShape): + """ + Your request contains forward cookies option which doesn't match with + the expectation for the `whitelisted` list of cookie names. Either list + of cookie names has been specified when not allowed or list of cookie + names is missing when expected. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidFunctionAssociation(ServiceError, _SerdeShape): + """A CloudFront function association is invalid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidGeoRestrictionParameter(ServiceError, _SerdeShape): + """The specified geo restriction parameter is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidHeadersForS3Origin(ServiceError, _SerdeShape): + """The headers specified are not valid for an Amazon S3 origin.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidIfMatchVersion(ServiceError, _SerdeShape): + """The `If-Match` version is missing or not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidLambdaFunctionAssociation(ServiceError, _SerdeShape): + """The specified Lambda@Edge function association is invalid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidLocationCode(ServiceError, _SerdeShape): + """The location code specified is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidMinimumProtocolVersion(ServiceError, _SerdeShape): + """The minimum protocol version specified is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidOrigin(ServiceError, _SerdeShape): + """ + The Amazon S3 origin server specified does not refer to a valid Amazon + S3 bucket. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidOriginAccessControl(ServiceError, _SerdeShape): + """The origin access control is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidOriginAccessIdentity(ServiceError, _SerdeShape): + """The origin access identity is not valid or doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidOriginKeepaliveTimeout(ServiceError, _SerdeShape): + """The keep alive timeout specified for the origin is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidOriginReadTimeout(ServiceError, _SerdeShape): + """The read timeout specified for the origin is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidProtocolSettings(ServiceError, _SerdeShape): + """ + You cannot specify SSLv3 as the minimum protocol version if you only + want to support only clients that support Server Name Indication (SNI). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidQueryStringParameters(ServiceError, _SerdeShape): + """The query string parameters specified are not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidRelativePath(ServiceError, _SerdeShape): + """ + The relative path is too big, is not URL-encoded, or does not begin with + a slash (/). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidRequiredProtocol(ServiceError, _SerdeShape): + """ + This operation requires the HTTPS protocol. Ensure that you specify the + HTTPS protocol in your request, or omit the `RequiredProtocols` element + from your distribution configuration. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidResponseCode(ServiceError, _SerdeShape): + """A response code is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidTagging(ServiceError, _SerdeShape): + """The tagging specified is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidTTLOrder(ServiceError, _SerdeShape): + """The TTL order specified is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidViewerCertificate(ServiceError, _SerdeShape): + """A viewer certificate specified is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidWebACLId(ServiceError, _SerdeShape): + """ + A web ACL ID specified is not valid. To specify a web ACL created using + the latest version of WAF, use the ACL ARN, for example + `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`. + To specify a web ACL created using WAF Classic, use the ACL ID, for + example `473e64fd-f30b-4765-81a0-62ad96dd167a`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class IpAddressType(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + IPV6 = "ipv6" + DUAL_STACK = "dualstack" + +@dataclass(kw_only=True) +class IpamCidrConfig(_SerdeShape): + """ + Configuration for an IPAM CIDR that defines a specific IP address range, + IPAM pool, and associated Anycast IP address. + """ + + cidr: str + """ + The CIDR that specifies the IP address range for this IPAM + configuration. + """ + ipam_pool_arn: str + """ + The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is + assigned to. + """ + anycast_ip: str | None = ... + """ + The specified Anycast IP address allocated from the IPAM pool for this + CIDR configuration. + """ + status: str | None = ... + """The current status of the IPAM CIDR configuration.""" + +class IpamCidrStatus(UnknownEnumMixin, StrEnum): + PROVISIONED = "provisioned" + FAILED_PROVISION = "failed-provision" + PROVISIONING = "provisioning" + DEPROVISIONED = "deprovisioned" + FAILED_DEPROVISION = "failed-deprovision" + DEPROVISIONING = "deprovisioning" + ADVERTISED = "advertised" + FAILED_ADVERTISE = "failed-advertise" + ADVERTISING = "advertising" + WITHDRAWN = "withdrawn" + FAILED_WITHDRAW = "failed-withdraw" + WITHDRAWING = "withdrawing" + +@dataclass(kw_only=True) +class IpamConfig(_SerdeShape): + """ + The configuration IPAM settings that includes the quantity of CIDR + configurations and the list of IPAM CIDR configurations. + """ + + quantity: int + """The number of IPAM CIDR configurations in the `IpamCidrConfigs` list.""" + ipam_cidr_configs: list[IpamCidrConfig] + """ + A list of IPAM CIDR configurations that define the IP address ranges, + IPAM pools, and associated Anycast IP addresses. + """ + +class ItemSelection(UnknownEnumMixin, StrEnum): + NONE = "none" + WHITELIST = "whitelist" + ALL = "all" + +@dataclass(kw_only=True) +class KeyGroup(_SerdeShape): + """ + A key group. + + A key group contains a list of public keys that you can use with + [CloudFront signed URLs and signed + cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html). + """ + + id: str + """The identifier for the key group.""" + last_modified_time: datetime + """The date and time when the key group was last modified.""" + key_group_config: KeyGroupConfig + """The key group configuration.""" + +@dataclass(kw_only=True) +class KeyGroupAlreadyExists(ServiceError, _SerdeShape): + """ + A key group with this name already exists. You must provide a unique + name. To modify an existing key group, use `UpdateKeyGroup`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KeyGroupConfig(_SerdeShape): + """ + A key group configuration. + + A key group contains a list of public keys that you can use with + [CloudFront signed URLs and signed + cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html). + """ + + name: str + """A name to identify the key group.""" + items: list[str] + """A list of the identifiers of the public keys in the key group.""" + comment: str | None = ... + """ + A comment to describe the key group. The comment cannot be longer than + 128 characters. + """ + +@dataclass(kw_only=True) +class KeyGroupList(_SerdeShape): + """A list of key groups.""" + + next_marker: str | None = ... + """ + If there are more items in the list than are in this response, this + element is present. It contains the value that you should use in the + `Marker` field of a subsequent request to continue listing key groups. + """ + max_items: int + """The maximum number of key groups requested.""" + quantity: int + """The number of key groups returned in the response.""" + items: list[KeyGroupSummary] | None = ... + """A list of key groups.""" + +@dataclass(kw_only=True) +class KeyGroupSummary(_SerdeShape): + """Contains information about a key group.""" + + key_group: KeyGroup + """A key group.""" + +@dataclass(kw_only=True) +class KeyPairIds(_SerdeShape): + """A list of CloudFront key pair identifiers.""" + + quantity: int + """The number of key pair identifiers in the list.""" + items: list[str] | None = ... + """A list of CloudFront key pair identifiers.""" + +@dataclass(kw_only=True) +class KeyValueStore(_SerdeShape): + """ + The key value store. Use this to separate data from function code, + allowing you to update data without having to publish a new version of a + function. The key value store holds keys and their corresponding values. + """ + + name: str + """The name of the key value store.""" + id: str + """The unique Id for the key value store.""" + comment: str + """A comment for the key value store.""" + arn: str + """The Amazon Resource Name (ARN) of the key value store.""" + status: str | None = ... + """The status of the key value store.""" + last_modified_time: datetime + """The last-modified time of the key value store.""" + +@dataclass(kw_only=True) +class KeyValueStoreAssociation(_SerdeShape): + """The key value store association.""" + + key_value_store_arn: str + """The Amazon Resource Name (ARN) of the key value store association.""" + +@dataclass(kw_only=True) +class KeyValueStoreAssociations(_SerdeShape): + """The key value store associations.""" + + quantity: int + """The quantity of key value store associations.""" + items: list[KeyValueStoreAssociation] | None = ... + """The items of the key value store association.""" + +@dataclass(kw_only=True) +class KeyValueStoreList(_SerdeShape): + """The key value store list.""" + + next_marker: str | None = ... + """The next marker associated with the key value store list.""" + max_items: int + """The maximum number of items in the key value store list.""" + quantity: int + """The quantity of the key value store list.""" + items: list[KeyValueStore] | None = ... + """The items of the key value store list.""" + +@dataclass(kw_only=True) +class KGKeyPairIds(_SerdeShape): + """ + A list of identifiers for the public keys that CloudFront can use to + verify the signatures of signed URLs and signed cookies. + """ + + key_group_id: str | None = ... + """The identifier of the key group that contains the public keys.""" + key_pair_ids: KeyPairIds | None = ... + """A list of CloudFront key pair identifiers.""" + +@dataclass(kw_only=True) +class KinesisStreamConfig(_SerdeShape): + """ + Contains information about the Amazon Kinesis data stream where you are + sending real-time log data. + """ + + role_arn: str + """ + The Amazon Resource Name (ARN) of an Identity and Access Management + (IAM) role that CloudFront can use to send real-time log data to your + Kinesis data stream. + + For more information the IAM role, see [Real-time log configuration IAM + role](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-iam-role) + in the *Amazon CloudFront Developer Guide*. + """ + stream_arn: str + """ + The Amazon Resource Name (ARN) of the Kinesis data stream where you are + sending real-time log data. + """ + +@dataclass(kw_only=True) +class LambdaFunctionAssociation(_SerdeShape): + """A complex type that contains a Lambda@Edge function association.""" + + lambda_function_arn: str + """ + The ARN of the Lambda@Edge function. You must specify the ARN of a + function version; you can't specify an alias or $LATEST. + """ + event_type: str + """ + Specifies the event type that triggers a Lambda@Edge function + invocation. You can specify the following values: + + - `viewer-request`: The function executes when CloudFront receives a + request from a viewer and before it checks to see whether the + requested object is in the edge cache. + + - `origin-request`: The function executes only when CloudFront sends a + request to your origin. When the requested object is in the edge + cache, the function doesn't execute. + + - `origin-response`: The function executes after CloudFront receives a + response from the origin and before it caches the object in the + response. When the requested object is in the edge cache, the function + doesn't execute. + + - `viewer-response`: The function executes before CloudFront returns the + requested object to the viewer. The function executes regardless of + whether the object was already in the edge cache. + + If the origin returns an HTTP status code other than HTTP 200 (OK), + the function doesn't execute. + """ + include_body: bool | None = ... + """ + A flag that allows a Lambda@Edge function to have read access to the + body content. For more information, see [Accessing the Request Body by + Choosing the Include Body + Option](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html) + in the Amazon CloudFront Developer Guide. + """ + +@dataclass(kw_only=True) +class LambdaFunctionAssociations(_SerdeShape): + """ + A complex type that specifies a list of Lambda@Edge functions + associations for a cache behavior. + + If you want to invoke one or more Lambda@Edge functions triggered by + requests that match the `PathPattern` of the cache behavior, specify the + applicable values for `Quantity` and `Items`. Note that there can be up + to 4 `LambdaFunctionAssociation` items in this list (one for each + possible value of `EventType`) and each `EventType` can be associated + with only one function. + + If you don't want to invoke any Lambda@Edge functions for the requests + that match `PathPattern`, specify `0` for `Quantity` and omit `Items`. + """ + + quantity: int + """The number of Lambda@Edge function associations for this cache behavior.""" + items: list[LambdaFunctionAssociation] | None = ... + """ + **Optional**: A complex type that contains `LambdaFunctionAssociation` + items for this cache behavior. If `Quantity` is `0`, you can omit + `Items`. + """ + +@dataclass(kw_only=True) +class ListAnycastIpListsInput(_SerdeShape): + """Dataclass for ListAnycastIpListsInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list. The response includes items in the list that occur after the + marker. To get the next page of the list, set this field's value to the + value of `NextMarker` from the current page's response. + """ + max_items: int | None = ... + """ + The maximum number of Anycast static IP lists that you want returned in + the response. + """ + +@dataclass(kw_only=True) +class ListAnycastIpListsOutput(_SerdeShape): + """Dataclass for ListAnycastIpListsOutput structure.""" + + anycast_ip_lists: AnycastIpListCollection | None = ... + """Root level tag for the `AnycastIpLists` parameters.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCachePoliciesInput(_SerdeShape): + """Dataclass for ListCachePoliciesInput structure.""" + + type: str | None = ... + """ + A filter to return only the specified kinds of cache policies. Valid + values are: + + - `managed` -- Returns only the managed policies created by Amazon Web + Services. + + - `custom` -- Returns only the custom policies created in your Amazon + Web Services account. + """ + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of cache policies. The response includes cache policies in the + list that occur after the marker. To get the next page of the list, set + this field's value to the value of `NextMarker` from the current + page's response. + """ + max_items: int | None = ... + """The maximum number of cache policies that you want in the response.""" + +@dataclass(kw_only=True) +class ListCachePoliciesOutput(_SerdeShape): + """Dataclass for ListCachePoliciesOutput structure.""" + + cache_policy_list: CachePolicyList | None = ... + """A list of cache policies.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCloudFrontOriginAccessIdentitiesInput(_SerdeShape): + """The request to list origin access identities.""" + + marker: str | None = ... + """ + Use this when paginating results to indicate where to begin in your list + of origin access identities. The results include identities in the list + that occur after the marker. To get the next page of results, set the + `Marker` to the value of the `NextMarker` from the current page's + response (which is also the ID of the last identity on that page). + """ + max_items: int | None = ... + """ + The maximum number of origin access identities you want in the response + body. + """ + +@dataclass(kw_only=True) +class ListCloudFrontOriginAccessIdentitiesOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + cloud_front_origin_access_identity_list: ( + CloudFrontOriginAccessIdentityList | None + ) = ... + """The `CloudFrontOriginAccessIdentityList` type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListConflictingAliasesInput(_SerdeShape): + """Dataclass for ListConflictingAliasesInput structure.""" + + distribution_id: str | None = ... + """ + The ID of a standard distribution in your account that has an attached + TLS certificate that includes the provided alias. + """ + alias: str | None = ... + """The alias (also called a CNAME) to search for conflicting aliases.""" + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in the + list of conflicting aliases. The response includes conflicting aliases + in the list that occur after the marker. To get the next page of the + list, set this field's value to the value of `NextMarker` from the + current page's response. + """ + max_items: int | None = ... + """The maximum number of conflicting aliases that you want in the response.""" + +@dataclass(kw_only=True) +class ListConflictingAliasesOutput(_SerdeShape): + """Dataclass for ListConflictingAliasesOutput structure.""" + + conflicting_aliases_list: ConflictingAliasesList | None = ... + """A list of conflicting aliases.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListConnectionFunctionsInput(_SerdeShape): + """Dataclass for ListConnectionFunctionsInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list. The response includes items in the list that occur after the + marker. To get the next page of the list, set this field's value to the + value of `NextMarker` from the current page's response. + """ + max_items: int | None = ... + """ + The maximum number of connection functions that you want returned in the + response. + """ + stage: str | None = ... + """The connection function's stage.""" + +@dataclass(kw_only=True) +class ListConnectionFunctionsOutput(_SerdeShape): + """Dataclass for ListConnectionFunctionsOutput structure.""" + + next_marker: str | None = ... + """ + Indicates the next page of connection functions. To get the next page of + the list, use this value in the `Marker` field of your request. + """ + connection_functions: list[ConnectionFunctionSummary] | None = ... + """A list of connection functions.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListConnectionGroupsInput(_SerdeShape): + """Dataclass for ListConnectionGroupsInput structure.""" + + association_filter: ConnectionGroupAssociationFilter | None = ... + """Filter by associated Anycast IP list ID.""" + marker: str | None = ... + """The marker for the next set of connection groups to retrieve.""" + max_items: int | None = ... + """The maximum number of connection groups to return.""" + +@dataclass(kw_only=True) +class ListConnectionGroupsOutput(_SerdeShape): + """Dataclass for ListConnectionGroupsOutput structure.""" + + next_marker: str | None = ... + """ + A token used for pagination of results returned in the response. You can + use the token from the previous request to define where the current + request should begin. + """ + connection_groups: list[ConnectionGroupSummary] | None = ... + """The list of connection groups that you retrieved.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListContinuousDeploymentPoliciesInput(_SerdeShape): + """Dataclass for ListContinuousDeploymentPoliciesInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of continuous deployment policies. The response includes + policies in the list that occur after the marker. To get the next page + of the list, set this field's value to the value of `NextMarker` from + the current page's response. + """ + max_items: int | None = ... + """ + The maximum number of continuous deployment policies that you want + returned in the response. + """ + +@dataclass(kw_only=True) +class ListContinuousDeploymentPoliciesOutput(_SerdeShape): + """Dataclass for ListContinuousDeploymentPoliciesOutput structure.""" + + continuous_deployment_policy_list: ContinuousDeploymentPolicyList | None = ... + """A list of continuous deployment policies.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByAnycastIpListIdInput(_SerdeShape): + """Dataclass for ListDistributionsByAnycastIpListIdInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list. The response includes items in the list that occur after the + marker. To get the next page of the list, set this field's value to the + value of `NextMarker` from the current page's response. + """ + max_items: int | None = ... + """ + The maximum number of distributions that you want returned in the + response. + """ + anycast_ip_list_id: str | None = ... + """The ID of the Anycast static IP list.""" + +@dataclass(kw_only=True) +class ListDistributionsByAnycastIpListIdOutput(_SerdeShape): + """Dataclass for ListDistributionsByAnycastIpListIdOutput structure.""" + + distribution_list: DistributionList | None = ... + """A distribution list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByCachePolicyIdInput(_SerdeShape): + """Dataclass for ListDistributionsByCachePolicyIdInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of distribution IDs. The response includes distribution IDs in + the list that occur after the marker. To get the next page of the list, + set this field's value to the value of `NextMarker` from the current + page's response. + """ + max_items: int | None = ... + """The maximum number of distribution IDs that you want in the response.""" + cache_policy_id: str | None = ... + """ + The ID of the cache policy whose associated distribution IDs you want to + list. + """ + +@dataclass(kw_only=True) +class ListDistributionsByCachePolicyIdOutput(_SerdeShape): + """Dataclass for ListDistributionsByCachePolicyIdOutput structure.""" + + distribution_id_list: DistributionIdList | None = ... + """A list of distribution IDs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByConnectionFunctionInput(_SerdeShape): + """Dataclass for ListDistributionsByConnectionFunctionInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list. The response includes items in the list that occur after the + marker. To get the next page of the list, set this field's value to the + value of `NextMarker` from the current page's response. + """ + max_items: int | None = ... + """ + The maximum number of distributions that you want returned in the + response. + """ + connection_function_identifier: str | None = ... + """The distributions by connection function identifier.""" + +@dataclass(kw_only=True) +class ListDistributionsByConnectionFunctionOutput(_SerdeShape): + """Dataclass for ListDistributionsByConnectionFunctionOutput structure.""" + + distribution_list: DistributionList | None = ... + """A distribution list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByConnectionModeInput(_SerdeShape): + """Dataclass for ListDistributionsByConnectionModeInput structure.""" + + marker: str | None = ... + """The marker for the next set of distributions to retrieve.""" + max_items: int | None = ... + """The maximum number of distributions to return.""" + connection_mode: str | None = ... + """ + This field specifies whether the connection mode is through a standard + distribution (direct) or a multi-tenant distribution with distribution + tenants (tenant-only). + """ + +@dataclass(kw_only=True) +class ListDistributionsByConnectionModeOutput(_SerdeShape): + """Dataclass for ListDistributionsByConnectionModeOutput structure.""" + + distribution_list: DistributionList | None = ... + """A distribution list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByKeyGroupInput(_SerdeShape): + """Dataclass for ListDistributionsByKeyGroupInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of distribution IDs. The response includes distribution IDs in + the list that occur after the marker. To get the next page of the list, + set this field's value to the value of `NextMarker` from the current + page's response. + """ + max_items: int | None = ... + """The maximum number of distribution IDs that you want in the response.""" + key_group_id: str | None = ... + """ + The ID of the key group whose associated distribution IDs you are + listing. + """ + +@dataclass(kw_only=True) +class ListDistributionsByKeyGroupOutput(_SerdeShape): + """Dataclass for ListDistributionsByKeyGroupOutput structure.""" + + distribution_id_list: DistributionIdList | None = ... + """A list of distribution IDs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByOriginRequestPolicyIdInput(_SerdeShape): + """Dataclass for ListDistributionsByOriginRequestPolicyIdInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of distribution IDs. The response includes distribution IDs in + the list that occur after the marker. To get the next page of the list, + set this field's value to the value of `NextMarker` from the current + page's response. + """ + max_items: int | None = ... + """The maximum number of distribution IDs that you want in the response.""" + origin_request_policy_id: str | None = ... + """ + The ID of the origin request policy whose associated distribution IDs + you want to list. + """ + +@dataclass(kw_only=True) +class ListDistributionsByOriginRequestPolicyIdOutput(_SerdeShape): + """Dataclass for ListDistributionsByOriginRequestPolicyIdOutput structure.""" + + distribution_id_list: DistributionIdList | None = ... + """A list of distribution IDs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByOwnedResourceInput(_SerdeShape): + """Dataclass for ListDistributionsByOwnedResourceInput structure.""" + + resource_arn: str | None = ... + """ + The ARN of the CloudFront resource that you've shared with other Amazon + Web Services accounts. + """ + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of distributions. The response includes distributions in the + list that occur after the marker. To get the next page of the list, set + this field's value to the value of `NextMarker` from the current + page's response. + """ + max_items: int | None = ... + """The maximum number of distributions to return.""" + +@dataclass(kw_only=True) +class ListDistributionsByOwnedResourceOutput(_SerdeShape): + """Dataclass for ListDistributionsByOwnedResourceOutput structure.""" + + distribution_list: DistributionIdOwnerList | None = ... + """The list of distributions that are using the shared resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByRealtimeLogConfigInput(_SerdeShape): + """Dataclass for ListDistributionsByRealtimeLogConfigInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of distributions. The response includes distributions in the + list that occur after the marker. To get the next page of the list, set + this field's value to the value of `NextMarker` from the current + page's response. + """ + max_items: int | None = ... + """The maximum number of distributions that you want in the response.""" + realtime_log_config_name: str | None = ... + """ + The name of the real-time log configuration whose associated + distributions you want to list. + """ + realtime_log_config_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the real-time log configuration whose + associated distributions you want to list. + """ + +@dataclass(kw_only=True) +class ListDistributionsByRealtimeLogConfigOutput(_SerdeShape): + """Dataclass for ListDistributionsByRealtimeLogConfigOutput structure.""" + + distribution_list: DistributionList | None = ... + """A distribution list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByResponseHeadersPolicyIdInput(_SerdeShape): + """Dataclass for ListDistributionsByResponseHeadersPolicyIdInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of distribution IDs. The response includes distribution IDs in + the list that occur after the marker. To get the next page of the list, + set this field's value to the value of `NextMarker` from the current + page's response. + """ + max_items: int | None = ... + """ + The maximum number of distribution IDs that you want to get in the + response. + """ + response_headers_policy_id: str | None = ... + """ + The ID of the response headers policy whose associated distribution IDs + you want to list. + """ + +@dataclass(kw_only=True) +class ListDistributionsByResponseHeadersPolicyIdOutput(_SerdeShape): + """ + Dataclass for ListDistributionsByResponseHeadersPolicyIdOutput + structure. + """ + + distribution_id_list: DistributionIdList | None = ... + """A list of distribution IDs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByTrustStoreInput(_SerdeShape): + """Dataclass for ListDistributionsByTrustStoreInput structure.""" + + trust_store_identifier: str | None = ... + """The distributions by trust store identifier.""" + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list. The response includes items in the list that occur after the + marker. To get the next page of the list, set this field's value to the + value of `NextMarker` from the current page's response. + """ + max_items: int | None = ... + """ + The maximum number of distributions that you want returned in the + response. + """ + +@dataclass(kw_only=True) +class ListDistributionsByTrustStoreOutput(_SerdeShape): + """Dataclass for ListDistributionsByTrustStoreOutput structure.""" + + distribution_list: DistributionList | None = ... + """A distribution list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByVpcOriginIdInput(_SerdeShape): + """Dataclass for ListDistributionsByVpcOriginIdInput structure.""" + + marker: str | None = ... + """The marker associated with the VPC origin distributions list.""" + max_items: int | None = ... + """The maximum number of items included in the list.""" + vpc_origin_id: str | None = ... + """The VPC origin ID.""" + +@dataclass(kw_only=True) +class ListDistributionsByVpcOriginIdOutput(_SerdeShape): + """Dataclass for ListDistributionsByVpcOriginIdOutput structure.""" + + distribution_id_list: DistributionIdList | None = ... + """A list of distribution IDs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsByWebACLIdInput(_SerdeShape): + """ + The request to list distributions that are associated with a specified + WAF web ACL. + """ + + marker: str | None = ... + """ + Use `Marker` and `MaxItems` to control pagination of results. If you + have more than `MaxItems` distributions that satisfy the request, the + response includes a `NextMarker` element. To get the next page of + results, submit another request. For the value of `Marker`, specify the + value of `NextMarker` from the last response. (For the first request, + omit `Marker`.) + """ + max_items: int | None = ... + """ + The maximum number of distributions that you want CloudFront to return + in the response body. The maximum and default values are both 100. + """ + web_acl_id: str | None = ... + """ + The ID of the WAF web ACL that you want to list the associated + distributions. If you specify \"null\" for the ID, the request returns a + list of the distributions that aren't associated with a web ACL. + + For WAFV2, this is the ARN of the web ACL, such as + `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. + + For WAF Classic, this is the ID of the web ACL, such as + `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. + """ + +@dataclass(kw_only=True) +class ListDistributionsByWebACLIdOutput(_SerdeShape): + """ + The response to a request to list the distributions that are associated + with a specified WAF web ACL. + """ + + distribution_list: DistributionList | None = ... + """The `DistributionList` type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionsInput(_SerdeShape): + """The request to list your distributions.""" + + marker: str | None = ... + """ + Use this when paginating results to indicate where to begin in your list + of distributions. The results include distributions in the list that + occur after the marker. To get the next page of results, set the + `Marker` to the value of the `NextMarker` from the current page's + response (which is also the ID of the last distribution on that page). + """ + max_items: int | None = ... + """The maximum number of distributions you want in the response body.""" + +@dataclass(kw_only=True) +class ListDistributionsOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + distribution_list: DistributionList | None = ... + """The `DistributionList` type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionTenantsByCustomizationInput(_SerdeShape): + """Dataclass for ListDistributionTenantsByCustomizationInput structure.""" + + web_acl_arn: str | None = ... + """Filter by the ARN of the associated WAF web ACL.""" + certificate_arn: str | None = ... + """Filter by the ARN of the associated ACM certificate.""" + marker: str | None = ... + """The marker for the next set of results.""" + max_items: int | None = ... + """ + The maximum number of distribution tenants to return by the specified + customization. + """ + +@dataclass(kw_only=True) +class ListDistributionTenantsByCustomizationOutput(_SerdeShape): + """Dataclass for ListDistributionTenantsByCustomizationOutput structure.""" + + next_marker: str | None = ... + """ + A token used for pagination of results returned in the response. You can + use the token from the previous request to define where the current + request should begin. + """ + distribution_tenant_list: list[DistributionTenantSummary] | None = ... + """A list of distribution tenants with the specified customization.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDistributionTenantsInput(_SerdeShape): + """Dataclass for ListDistributionTenantsInput structure.""" + + association_filter: DistributionTenantAssociationFilter | None = ... + """Filter by the associated distribution ID or connection group ID.""" + marker: str | None = ... + """The marker for the next set of results.""" + max_items: int | None = ... + """The maximum number of distribution tenants to return.""" + +@dataclass(kw_only=True) +class ListDistributionTenantsOutput(_SerdeShape): + """Dataclass for ListDistributionTenantsOutput structure.""" + + next_marker: str | None = ... + """ + A token used for pagination of results returned in the response. You can + use the token from the previous request to define where the current + request should begin. + """ + distribution_tenant_list: list[DistributionTenantSummary] | None = ... + """The list of distribution tenants that you retrieved.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDomainConflictsInput(_SerdeShape): + """Dataclass for ListDomainConflictsInput structure.""" + + domain: str | None = ... + """The domain to check for conflicts.""" + domain_control_validation_resource: DistributionResourceId | None = ... + """ + The distribution resource identifier. This can be the standard + distribution or distribution tenant that has a valid certificate, which + covers the domain that you specify. + """ + max_items: int | None = ... + """The maximum number of domain conflicts to return.""" + marker: str | None = ... + """The marker for the next set of domain conflicts.""" + +@dataclass(kw_only=True) +class ListDomainConflictsOutput(_SerdeShape): + """Dataclass for ListDomainConflictsOutput structure.""" + + domain_conflicts: list[DomainConflict] | None = ... + """Contains details about the domain conflicts.""" + next_marker: str | None = ... + """ + A token used for pagination of results returned in the response. You can + use the token from the previous request to define where the current + request should begin. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFieldLevelEncryptionConfigsInput(_SerdeShape): + """Dataclass for ListFieldLevelEncryptionConfigsInput structure.""" + + marker: str | None = ... + """ + Use this when paginating results to indicate where to begin in your list + of configurations. The results include configurations in the list that + occur after the marker. To get the next page of results, set the + `Marker` to the value of the `NextMarker` from the current page's + response (which is also the ID of the last configuration on that page). + """ + max_items: int | None = ... + """ + The maximum number of field-level encryption configurations you want in + the response body. + """ + +@dataclass(kw_only=True) +class ListFieldLevelEncryptionConfigsOutput(_SerdeShape): + """Dataclass for ListFieldLevelEncryptionConfigsOutput structure.""" + + field_level_encryption_list: FieldLevelEncryptionList | None = ... + """ + Returns a list of all field-level encryption configurations that have + been created in CloudFront for this account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFieldLevelEncryptionProfilesInput(_SerdeShape): + """Dataclass for ListFieldLevelEncryptionProfilesInput structure.""" + + marker: str | None = ... + """ + Use this when paginating results to indicate where to begin in your list + of profiles. The results include profiles in the list that occur after + the marker. To get the next page of results, set the `Marker` to the + value of the `NextMarker` from the current page's response (which is + also the ID of the last profile on that page). + """ + max_items: int | None = ... + """ + The maximum number of field-level encryption profiles you want in the + response body. + """ + +@dataclass(kw_only=True) +class ListFieldLevelEncryptionProfilesOutput(_SerdeShape): + """Dataclass for ListFieldLevelEncryptionProfilesOutput structure.""" + + field_level_encryption_profile_list: FieldLevelEncryptionProfileList | None = ... + """ + Returns a list of the field-level encryption profiles that have been + created in CloudFront for this account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFunctionsInput(_SerdeShape): + """Dataclass for ListFunctionsInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of functions. The response includes functions in the list that + occur after the marker. To get the next page of the list, set this + field's value to the value of `NextMarker` from the current page's + response. + """ + max_items: int | None = ... + """The maximum number of functions that you want in the response.""" + stage: str | None = ... + """ + An optional filter to return only the functions that are in the + specified stage, either `DEVELOPMENT` or `LIVE`. + """ + +@dataclass(kw_only=True) +class ListFunctionsOutput(_SerdeShape): + """Dataclass for ListFunctionsOutput structure.""" + + function_list: FunctionList | None = ... + """A list of CloudFront functions.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInvalidationsForDistributionTenantInput(_SerdeShape): + """Dataclass for ListInvalidationsForDistributionTenantInput structure.""" + + id: str | None = ... + """The ID of the distribution tenant.""" + marker: str | None = ... + """ + Use this parameter when paginating results to indicate where to begin in + your list of invalidation batches. Because the results are returned in + decreasing order from most recent to oldest, the most recent results are + on the first page, the second page will contain earlier results, and so + on. To get the next page of results, set `Marker` to the value of the + `NextMarker` from the current page's response. This value is the same + as the ID of the last invalidation batch on that page. + """ + max_items: int | None = ... + """ + The maximum number of invalidations to return for the distribution + tenant. + """ + +@dataclass(kw_only=True) +class ListInvalidationsForDistributionTenantOutput(_SerdeShape): + """Dataclass for ListInvalidationsForDistributionTenantOutput structure.""" + + invalidation_list: InvalidationList | None = ... + """ + The `InvalidationList` complex type describes the list of invalidation + objects. For more information about invalidation, see [Invalidating + Objects (Web Distributions + Only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) + in the *Amazon CloudFront Developer Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInvalidationsInput(_SerdeShape): + """The request to list invalidations.""" + + distribution_id: str | None = ... + """The distribution's ID.""" + marker: str | None = ... + """ + Use this parameter when paginating results to indicate where to begin in + your list of invalidation batches. Because the results are returned in + decreasing order from most recent to oldest, the most recent results are + on the first page, the second page will contain earlier results, and so + on. To get the next page of results, set `Marker` to the value of the + `NextMarker` from the current page's response. This value is the same + as the ID of the last invalidation batch on that page. + """ + max_items: int | None = ... + """ + The maximum number of invalidation batches that you want in the response + body. + """ + +@dataclass(kw_only=True) +class ListInvalidationsOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + invalidation_list: InvalidationList | None = ... + """Information about invalidation batches.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListKeyGroupsInput(_SerdeShape): + """Dataclass for ListKeyGroupsInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of key groups. The response includes key groups in the list + that occur after the marker. To get the next page of the list, set this + field's value to the value of `NextMarker` from the current page's + response. + """ + max_items: int | None = ... + """The maximum number of key groups that you want in the response.""" + +@dataclass(kw_only=True) +class ListKeyGroupsOutput(_SerdeShape): + """Dataclass for ListKeyGroupsOutput structure.""" + + key_group_list: KeyGroupList | None = ... + """A list of key groups.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListKeyValueStoresInput(_SerdeShape): + """Dataclass for ListKeyValueStoresInput structure.""" + + marker: str | None = ... + """The marker associated with the key value stores list.""" + max_items: int | None = ... + """The maximum number of items in the key value stores list.""" + status: str | None = ... + """The status of the request for the key value stores list.""" + +@dataclass(kw_only=True) +class ListKeyValueStoresOutput(_SerdeShape): + """Dataclass for ListKeyValueStoresOutput structure.""" + + key_value_store_list: KeyValueStoreList | None = ... + """The resulting key value stores list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListOriginAccessControlsInput(_SerdeShape): + """Dataclass for ListOriginAccessControlsInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of origin access controls. The response includes the items in + the list that occur after the marker. To get the next page of the list, + set this field's value to the value of `NextMarker` from the current + page's response. + """ + max_items: int | None = ... + """ + The maximum number of origin access controls that you want in the + response. + """ + +@dataclass(kw_only=True) +class ListOriginAccessControlsOutput(_SerdeShape): + """Dataclass for ListOriginAccessControlsOutput structure.""" + + origin_access_control_list: OriginAccessControlList | None = ... + """A list of origin access controls.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListOriginRequestPoliciesInput(_SerdeShape): + """Dataclass for ListOriginRequestPoliciesInput structure.""" + + type: str | None = ... + """ + A filter to return only the specified kinds of origin request policies. + Valid values are: + + - `managed` -- Returns only the managed policies created by Amazon Web + Services. + + - `custom` -- Returns only the custom policies created in your Amazon + Web Services account. + """ + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of origin request policies. The response includes origin + request policies in the list that occur after the marker. To get the + next page of the list, set this field's value to the value of + `NextMarker` from the current page's response. + """ + max_items: int | None = ... + """ + The maximum number of origin request policies that you want in the + response. + """ + +@dataclass(kw_only=True) +class ListOriginRequestPoliciesOutput(_SerdeShape): + """Dataclass for ListOriginRequestPoliciesOutput structure.""" + + origin_request_policy_list: OriginRequestPolicyList | None = ... + """A list of origin request policies.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPublicKeysInput(_SerdeShape): + """Dataclass for ListPublicKeysInput structure.""" + + marker: str | None = ... + """ + Use this when paginating results to indicate where to begin in your list + of public keys. The results include public keys in the list that occur + after the marker. To get the next page of results, set the `Marker` to + the value of the `NextMarker` from the current page's response (which + is also the ID of the last public key on that page). + """ + max_items: int | None = ... + """The maximum number of public keys you want in the response body.""" + +@dataclass(kw_only=True) +class ListPublicKeysOutput(_SerdeShape): + """Dataclass for ListPublicKeysOutput structure.""" + + public_key_list: PublicKeyList | None = ... + """ + Returns a list of all public keys that have been added to CloudFront for + this account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRealtimeLogConfigsInput(_SerdeShape): + """Dataclass for ListRealtimeLogConfigsInput structure.""" + + max_items: int | None = ... + """ + The maximum number of real-time log configurations that you want in the + response. + """ + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of real-time log configurations. The response includes + real-time log configurations in the list that occur after the marker. To + get the next page of the list, set this field's value to the value of + `NextMarker` from the current page's response. + """ + +@dataclass(kw_only=True) +class ListRealtimeLogConfigsOutput(_SerdeShape): + """Dataclass for ListRealtimeLogConfigsOutput structure.""" + + realtime_log_configs: RealtimeLogConfigs | None = ... + """A list of real-time log configurations.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListResponseHeadersPoliciesInput(_SerdeShape): + """Dataclass for ListResponseHeadersPoliciesInput structure.""" + + type: str | None = ... + """ + A filter to get only the specified kind of response headers policies. + Valid values are: + + - `managed` -- Gets only the managed policies created by Amazon Web + Services. + + - `custom` -- Gets only the custom policies created in your Amazon Web + Services account. + """ + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list of response headers policies. The response includes response + headers policies in the list that occur after the marker. To get the + next page of the list, set this field's value to the value of + `NextMarker` from the current page's response. + """ + max_items: int | None = ... + """ + The maximum number of response headers policies that you want to get in + the response. + """ + +@dataclass(kw_only=True) +class ListResponseHeadersPoliciesOutput(_SerdeShape): + """Dataclass for ListResponseHeadersPoliciesOutput structure.""" + + response_headers_policy_list: ResponseHeadersPolicyList | None = ... + """A list of response headers policies.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListStreamingDistributionsInput(_SerdeShape): + """The request to list your streaming distributions.""" + + marker: str | None = ... + """The value that you provided for the `Marker` request parameter.""" + max_items: int | None = ... + """The value that you provided for the `MaxItems` request parameter.""" + +@dataclass(kw_only=True) +class ListStreamingDistributionsOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + streaming_distribution_list: StreamingDistributionList | None = ... + """The `StreamingDistributionList` type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceInput(_SerdeShape): + """The request to list tags for a CloudFront resource.""" + + resource: str | None = ... + """An ARN of a CloudFront resource.""" + +@dataclass(kw_only=True) +class ListTagsForResourceOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + tags: Tags + """A complex type that contains zero or more `Tag` elements.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTrustStoresInput(_SerdeShape): + """Dataclass for ListTrustStoresInput structure.""" + + marker: str | None = ... + """ + Use this field when paginating results to indicate where to begin in + your list. The response includes items in the list that occur after the + marker. To get the next page of the list, set this field's value to the + value of `NextMarker` from the current page's response. + """ + max_items: int | None = ... + """ + The maximum number of trust stores that you want returned in the + response. + """ + +@dataclass(kw_only=True) +class ListTrustStoresOutput(_SerdeShape): + """Dataclass for ListTrustStoresOutput structure.""" + + next_marker: str | None = ... + """ + Indicates the next page of trust stores. To get the next page of the + list, use this value in the `Marker` field of your request. + """ + trust_store_list: list[TrustStoreSummary] | None = ... + """The trust store list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListVpcOriginsInput(_SerdeShape): + """Dataclass for ListVpcOriginsInput structure.""" + + marker: str | None = ... + """The marker associated with the VPC origins list.""" + max_items: int | None = ... + """The maximum number of items included in the list.""" + +@dataclass(kw_only=True) +class ListVpcOriginsOutput(_SerdeShape): + """Dataclass for ListVpcOriginsOutput structure.""" + + vpc_origin_list: VpcOriginList | None = ... + """List of VPC origins.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LoggingConfig(_SerdeShape): + """ + A complex type that specifies whether access logs are written for the + distribution. + + Note: + If you already enabled standard logging (legacy) and you want to enable + standard logging (v2) to send your access logs to Amazon S3, we + recommend that you specify a *different* Amazon S3 bucket or use a + *separate path* in the same bucket (for example, use a log prefix or + partitioning). This helps you keep track of which log files are + associated with which logging subscription and prevents log files from + overwriting each other. For more information, see [Standard logging + (access + logs)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html) + in the *Amazon CloudFront Developer Guide*. + """ + + enabled: bool = ... + """ + Specifies whether you want CloudFront to save access logs to an Amazon + S3 bucket. If you don't want to enable logging when you create a + distribution or if you want to disable logging for an existing + distribution, specify `false` for `Enabled`, and specify empty `Bucket` + and `Prefix` elements. If you specify `false` for `Enabled` but you + specify values for `Bucket` and `prefix`, the values are automatically + deleted. + """ + include_cookies: bool = ... + """ + Specifies whether you want CloudFront to include cookies in access logs, + specify `true` for `IncludeCookies`. If you choose to include cookies in + logs, CloudFront logs all cookies regardless of how you configure the + cache behaviors for this distribution. If you don't want to include + cookies when you create a distribution or if you want to disable include + cookies for an existing distribution, specify `false` for + `IncludeCookies`. + """ + bucket: str = ... + """ + The Amazon S3 bucket to store the access logs in, for example, + `amzn-s3-demo-bucket.s3.amazonaws.com`. + """ + prefix: str = ... + """ + An optional string that you want CloudFront to prefix to the access log + `filenames` for this distribution, for example, `myprefix/`. If you want + to enable logging, but you don't want to specify a prefix, you still + must include an empty `Prefix` element in the `Logging` element. + """ + +@dataclass(kw_only=True) +class ManagedCertificateDetails(_SerdeShape): + """Contains details about the CloudFront managed ACM certificate.""" + + certificate_arn: str | None = ... + """The ARN of the CloudFront managed ACM certificate.""" + certificate_status: str | None = ... + """ + The status of the CloudFront managed ACM certificate. + + Note: + Your distribution tenant will be updated with the latest certificate + status. When calling the + [UpdateDistributionTenant](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistributionTenant.html) + operation, use the latest value for the `ETag`. + """ + validation_token_host: str | None = ... + """ + Contains details about the validation token host of the specified + CloudFront managed ACM certificate. + + - For `cloudfront`, CloudFront will automatically serve the validation + token. Choose this mode if you can point the domain's DNS to + CloudFront immediately. + + - For `self-hosted`, you serve the validation token from your existing + infrastructure. Choose this mode when you need to maintain current + traffic flow while your certificate is being issued. You can place the + validation token at the well-known path on your existing web server, + wait for ACM to validate and issue the certificate, and then update + your DNS to point to CloudFront. + + Note: + This setting only affects the initial certificate request. Once the DNS + points to CloudFront, all future certificate renewals are automatically + handled through CloudFront. + """ + validation_token_details: list[ValidationTokenDetail] | None = ... + """ + Contains details about the validation token of the specified CloudFront + managed ACM certificate. + """ + +@dataclass(kw_only=True) +class ManagedCertificateRequest(_SerdeShape): + """ + An object that represents the request for the Amazon CloudFront managed + ACM certificate. + """ + + validation_token_host: str + """ + Specify how the HTTP validation token will be served when requesting the + CloudFront managed ACM certificate. + + - For `cloudfront`, CloudFront will automatically serve the validation + token. Choose this mode if you can point the domain's DNS to + CloudFront immediately. + + - For `self-hosted`, you serve the validation token from your existing + infrastructure. Choose this mode when you need to maintain current + traffic flow while your certificate is being issued. You can place the + validation token at the well-known path on your existing web server, + wait for ACM to validate and issue the certificate, and then update + your DNS to point to CloudFront. + """ + primary_domain_name: str | None = ... + """ + The primary domain name associated with the CloudFront managed ACM + certificate. + """ + certificate_transparency_logging_preference: str | None = ... + """ + You can opt out of certificate transparency logging by specifying the + `disabled` option. Opt in by specifying `enabled`. For more information, + see [Certificate Transparency + Logging](https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency) + in the *Certificate Manager User Guide*. + """ + +class ManagedCertificateStatus(UnknownEnumMixin, StrEnum): + PENDING_VALIDATION = "pending-validation" + ISSUED = "issued" + INACTIVE = "inactive" + EXPIRED = "expired" + VALIDATION_TIMED_OUT = "validation-timed-out" + REVOKED = "revoked" + FAILED = "failed" + +class Method(UnknownEnumMixin, StrEnum): + GET = "GET" + HEAD = "HEAD" + POST = "POST" + PUT = "PUT" + PATCH = "PATCH" + OPTIONS = "OPTIONS" + DELETE = "DELETE" + +class MinimumProtocolVersion(UnknownEnumMixin, StrEnum): + SS_LV3 = "SSLv3" + TL_SV1 = "TLSv1" + TL_SV1_2016 = "TLSv1_2016" + TL_SV1_1_2016 = "TLSv1.1_2016" + TL_SV1_2_2018 = "TLSv1.2_2018" + TL_SV1_2_2019 = "TLSv1.2_2019" + TL_SV1_2_2021 = "TLSv1.2_2021" + TL_SV1_3_2025 = "TLSv1.3_2025" + TL_SV1_2_2025 = "TLSv1.2_2025" + +@dataclass(kw_only=True) +class MissingBody(ServiceError, _SerdeShape): + """ + This operation requires a body. Ensure that the body is present and the + `Content-Type` header is set. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class MonitoringSubscription(_SerdeShape): + """ + A monitoring subscription. This structure contains information about + whether additional CloudWatch metrics are enabled for a given CloudFront + distribution. + """ + + realtime_metrics_subscription_config: RealtimeMetricsSubscriptionConfig | None = ... + """A subscription configuration for additional CloudWatch metrics.""" + +@dataclass(kw_only=True) +class MonitoringSubscriptionAlreadyExists(ServiceError, _SerdeShape): + """A monitoring subscription already exists for the specified distribution.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchCachePolicy(ServiceError, _SerdeShape): + """The cache policy does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchCloudFrontOriginAccessIdentity(ServiceError, _SerdeShape): + """The specified origin access identity does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchContinuousDeploymentPolicy(ServiceError, _SerdeShape): + """The continuous deployment policy doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchDistribution(ServiceError, _SerdeShape): + """The specified distribution does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchFieldLevelEncryptionConfig(ServiceError, _SerdeShape): + """The specified configuration for field-level encryption doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchFieldLevelEncryptionProfile(ServiceError, _SerdeShape): + """The specified profile for field-level encryption doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchFunctionExists(ServiceError, _SerdeShape): + """The function does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchInvalidation(ServiceError, _SerdeShape): + """The specified invalidation does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchMonitoringSubscription(ServiceError, _SerdeShape): + """A monitoring subscription does not exist for the specified distribution.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchOrigin(ServiceError, _SerdeShape): + """No origin exists with the specified `Origin Id`.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchOriginAccessControl(ServiceError, _SerdeShape): + """The origin access control does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchOriginRequestPolicy(ServiceError, _SerdeShape): + """The origin request policy does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchPublicKey(ServiceError, _SerdeShape): + """The specified public key doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchRealtimeLogConfig(ServiceError, _SerdeShape): + """The real-time log configuration does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchResource(ServiceError, _SerdeShape): + """A resource that was specified is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchResponseHeadersPolicy(ServiceError, _SerdeShape): + """The response headers policy does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchStreamingDistribution(ServiceError, _SerdeShape): + """The specified streaming distribution does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Origin(_SerdeShape): + """ + An origin. + + An origin is the location where content is stored, and from which + CloudFront gets content to serve to viewers. To specify an origin: + + - Use `S3OriginConfig` to specify an Amazon S3 bucket that is not + configured with static website hosting. + + - Use `VpcOriginConfig` to specify a VPC origin. + + - Use `CustomOriginConfig` to specify all other kinds of origins, + including: + + - An Amazon S3 bucket that is configured with static website hosting + + - An Elastic Load Balancing load balancer + + - An Elemental MediaPackage endpoint + + - An Elemental MediaStore container + + - Any other HTTP server, running on an Amazon EC2 instance or any + other kind of host + + For the current maximum number of origins that you can specify per + distribution, see [General Quotas on Web + Distributions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-web-distributions) + in the *Amazon CloudFront Developer Guide* (quotas were formerly + referred to as limits). + """ + + id: str + """ + A unique identifier for the origin. This value must be unique within the + distribution. + + Use this value to specify the `TargetOriginId` in a `CacheBehavior` or + `DefaultCacheBehavior`. + """ + domain_name: str + """ + The domain name for the origin. + + For more information, see [Origin Domain + Name](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesDomainName) + in the *Amazon CloudFront Developer Guide*. + """ + origin_path: str | None = ... + """ + An optional path that CloudFront appends to the origin domain name when + CloudFront requests content from the origin. + + For more information, see [Origin + Path](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginPath) + in the *Amazon CloudFront Developer Guide*. + """ + custom_headers: CustomHeaders | None = ... + """ + A list of HTTP header names and values that CloudFront adds to the + requests that it sends to the origin. + + For more information, see [Adding Custom Headers to Origin + Requests](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html) + in the *Amazon CloudFront Developer Guide*. + """ + s3_origin_config: S3OriginConfig | None = ... + """ + Use this type to specify an origin that is an Amazon S3 bucket that is + not configured with static website hosting. To specify any other type of + origin, including an Amazon S3 bucket that is configured with static + website hosting, use the `CustomOriginConfig` type instead. + """ + custom_origin_config: CustomOriginConfig | None = ... + """ + Use this type to specify an origin that is not an Amazon S3 bucket, with + one exception. If the Amazon S3 bucket is configured with static website + hosting, use this type. If the Amazon S3 bucket is not configured with + static website hosting, use the `S3OriginConfig` type instead. + """ + vpc_origin_config: VpcOriginConfig | None = ... + """The VPC origin configuration.""" + connection_attempts: int | None = ... + """ + The number of times that CloudFront attempts to connect to the origin. + The minimum number is 1, the maximum is 3, and the default (if you + don't specify otherwise) is 3. + + For a custom origin (including an Amazon S3 bucket that's configured + with static website hosting), this value also specifies the number of + times that CloudFront attempts to get a response from the origin, in the + case of an [Origin Response + Timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout). + + For more information, see [Origin Connection + Attempts](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-attempts) + in the *Amazon CloudFront Developer Guide*. + """ + connection_timeout: int | None = ... + """ + The number of seconds that CloudFront waits when trying to establish a + connection to the origin. The minimum timeout is 1 second, the maximum + is 10 seconds, and the default (if you don't specify otherwise) is 10 + seconds. + + For more information, see [Origin Connection + Timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-timeout) + in the *Amazon CloudFront Developer Guide*. + """ + response_completion_timeout: int | None = ... + """ + The time (in seconds) that a request from CloudFront to the origin can + stay open and wait for a response. If the complete response isn't + received from the origin by this time, CloudFront ends the connection. + + The value for `ResponseCompletionTimeout` must be equal to or greater + than the value for `OriginReadTimeout`. If you don't set a value for + `ResponseCompletionTimeout`, CloudFront doesn't enforce a maximum + value. + + For more information, see [Response completion + timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout) + in the *Amazon CloudFront Developer Guide*. + """ + origin_shield: OriginShield | None = ... + """ + CloudFront Origin Shield. Using Origin Shield can help reduce the load + on your origin. + + For more information, see [Using Origin + Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) + in the *Amazon CloudFront Developer Guide*. + """ + origin_access_control_id: str | None = ... + """ + The unique identifier of an origin access control for this origin. + + For more information, see [Restricting access to an Amazon S3 + origin](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class OriginAccessControl(_SerdeShape): + """A CloudFront origin access control, including its unique identifier.""" + + id: str + """The unique identifier of the origin access control.""" + origin_access_control_config: OriginAccessControlConfig | None = ... + """The origin access control.""" + +@dataclass(kw_only=True) +class OriginAccessControlAlreadyExists(ServiceError, _SerdeShape): + """An origin access control with the specified parameters already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OriginAccessControlConfig(_SerdeShape): + """A CloudFront origin access control configuration.""" + + name: str + """ + A name to identify the origin access control. You can specify up to 64 + characters. + """ + description: str | None = ... + """A description of the origin access control.""" + signing_protocol: str + """ + The signing protocol of the origin access control, which determines how + CloudFront signs (authenticates) requests. The only valid values are + `sigv4` and `sigv4a`. + """ + signing_behavior: str + """ + Specifies which requests CloudFront signs (adds authentication + information to). Specify `always` for the most common use case. For more + information, see [origin access control advanced + settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings) + in the *Amazon CloudFront Developer Guide*. + + This field can have one of the following values: + + - `always` -- CloudFront signs all origin requests, overwriting the + `Authorization` header from the viewer request if one exists. + + - `never` -- CloudFront doesn't sign any origin requests. This value + turns off origin access control for all origins in all distributions + that use this origin access control. + + - `no-override` -- If the viewer request doesn't contain the + `Authorization` header, then CloudFront signs the origin request. If + the viewer request contains the `Authorization` header, then + CloudFront doesn't sign the origin request and instead passes along + the `Authorization` header from the viewer request. **WARNING: To pass + along the `Authorization` header from the viewer request, you *must* + add the `Authorization` header to a [cache + policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) + for all cache behaviors that use origins associated with this origin + access control.** + + - `always-amz-auth` -- CloudFront signs all origin requests with Amazon + authentication headers. If the viewer request contains the + `Authorization` header, then CloudFront also forwards that header to + the origin. This value is only valid with Lambda-Web origins. + **WARNING: To forward the `Authorization` header from the viewer + request, you *must* add the `Authorization` header to a [cache + policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) + for all cache behaviors that use origins associated with this origin + access control.** + """ + origin_access_control_origin_type: str + """The type of origin that this origin access control is for.""" + +@dataclass(kw_only=True) +class OriginAccessControlInUse(ServiceError, _SerdeShape): + """ + Cannot delete the origin access control because it's in use by one or + more distributions. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OriginAccessControlList(_SerdeShape): + """A list of CloudFront origin access controls.""" + + marker: str + """The value of the `Marker` field that was provided in the request.""" + next_marker: str | None = ... + """ + If there are more items in the list than are in this response, this + element is present. It contains the value to use in the `Marker` field + of another request to continue listing origin access controls. + """ + max_items: int + """The maximum number of origin access controls requested.""" + is_truncated: bool + """ + If there are more items in the list than are in this response, this + value is `true`. + """ + quantity: int + """The number of origin access controls returned in the response.""" + items: list[OriginAccessControlSummary] | None = ... + """Contains the origin access controls in the list.""" + +class OriginAccessControlOriginTypes(UnknownEnumMixin, StrEnum): + S3 = "s3" + MEDIASTORE = "mediastore" + MEDIAPACKAGEV2 = "mediapackagev2" + LAMBDA_ = "lambda" + +class OriginAccessControlSigningBehaviors(UnknownEnumMixin, StrEnum): + NEVER = "never" + ALWAYS = "always" + NO_OVERRIDE = "no-override" + ALWAYS_AMZ_AUTH = "always-amz-auth" + +class OriginAccessControlSigningProtocols(UnknownEnumMixin, StrEnum): + SIGV4 = "sigv4" + SIGV4A = "sigv4a" diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/models_2.pyi b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/models_2.pyi new file mode 100644 index 000000000..b04e54fc8 --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/models_2.pyi @@ -0,0 +1,4761 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + ActiveTrustedSigners, + Aliases, + AnycastIpList, + CaCertificatesBundleSource, + CachePolicy, + CachePolicyConfig, + CachePolicyCookiesConfig, + CachePolicyHeadersConfig, + CachePolicyQueryStringsConfig, + CloudFrontOriginAccessIdentity, + CloudFrontOriginAccessIdentityConfig, + ConnectionFunctionSummary, + ConnectionFunctionTestResult, + ConnectionGroup, + ContinuousDeploymentPolicy, + ContinuousDeploymentPolicyConfig, + ContinuousDeploymentSingleHeaderConfig, + ContinuousDeploymentSingleWeightConfig, + CookieNames, + Customizations, + Distribution, + DistributionConfig, + DistributionResourceId, + DistributionTenant, + DnsConfiguration, + DomainItem, + EndPoint, + FieldLevelEncryption, + FieldLevelEncryptionConfig, + FieldLevelEncryptionProfile, + FieldLevelEncryptionProfileConfig, + FunctionConfig, + FunctionSummary, + GeoRestriction, + Headers, + IpamCidrConfig, + KeyGroup, + KeyGroupConfig, + KeyPairIds, + KeyValueStore, + ManagedCertificateRequest, + Origin, + OriginAccessControl, + OriginAccessControlConfig, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class OriginAccessControlSummary(_SerdeShape): + """A CloudFront origin access control.""" + + id: str + """The unique identifier of the origin access control.""" + description: str + """A description of the origin access control.""" + name: str + """A unique name that identifies the origin access control.""" + signing_protocol: str + """ + The signing protocol of the origin access control. The signing protocol + determines how CloudFront signs (authenticates) requests. The only valid + values are `sigv4` and `sigv4a`. + """ + signing_behavior: str + """ + A value that specifies which requests CloudFront signs (adds + authentication information to). This field can have one of the following + values: + + - `never` -- CloudFront doesn't sign any origin requests. + + - `always` -- CloudFront signs all origin requests, overwriting the + `Authorization` header from the viewer request if necessary. + + - `no-override` -- If the viewer request doesn't contain the + `Authorization` header, CloudFront signs the origin request. If the + viewer request contains the `Authorization` header, CloudFront + doesn't sign the origin request, but instead passes along the + `Authorization` header that it received in the viewer request. + + - `always-amz-auth` -- CloudFront signs all origin requests with Amazon + authentication headers, and forwards the viewer's `Authorization` + header to the origin if one is present. This value is only valid with + Lambda-Web origins. + """ + origin_access_control_origin_type: str + """The type of origin that this origin access control is for.""" + +@dataclass(kw_only=True) +class OriginCustomHeader(_SerdeShape): + """ + A complex type that contains `HeaderName` and `HeaderValue` elements, if + any, for this distribution. + """ + + header_name: str + """ + The name of a header that you want CloudFront to send to your origin. + For more information, see [Adding Custom Headers to Origin + Requests](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/forward-custom-headers.html) + in the *Amazon CloudFront Developer Guide*. + """ + header_value: str + """The value for the header that you specified in the `HeaderName` field.""" + +@dataclass(kw_only=True) +class OriginGroup(_SerdeShape): + """ + An origin group includes two origins (a primary origin and a secondary + origin to failover to) and a failover criteria that you specify. You + create an origin group to support origin failover in CloudFront. When + you create or update a distribution, you can specify the origin group + instead of a single origin, and CloudFront will failover from the + primary origin to the secondary origin under the failover conditions + that you've chosen. + + Optionally, you can choose selection criteria for your origin group to + specify how your origins are selected when your distribution routes + viewer requests. + """ + + id: str + """The origin group's ID.""" + failover_criteria: OriginGroupFailoverCriteria + """ + A complex type that contains information about the failover criteria for + an origin group. + """ + members: OriginGroupMembers + """ + A complex type that contains information about the origins in an origin + group. + """ + selection_criteria: str | None = ... + """ + The selection criteria for the origin group. For more information, see + [Create an origin + group](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/high_availability_origin_failover.html#concept_origin_groups.creating) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class OriginGroupFailoverCriteria(_SerdeShape): + """ + A complex data type that includes information about the failover + criteria for an origin group, including the status codes for which + CloudFront will failover from the primary origin to the second origin. + """ + + status_codes: StatusCodes + """ + The status codes that, when returned from the primary origin, will + trigger CloudFront to failover to the second origin. + """ + +@dataclass(kw_only=True) +class OriginGroupMember(_SerdeShape): + """An origin in an origin group.""" + + origin_id: str + """The ID for an origin in an origin group.""" + +@dataclass(kw_only=True) +class OriginGroupMembers(_SerdeShape): + """A complex data type for the origins included in an origin group.""" + + quantity: int + """The number of origins in an origin group.""" + items: list[OriginGroupMember] + """Items (origins) in an origin group.""" + +@dataclass(kw_only=True) +class OriginGroups(_SerdeShape): + """A complex data type for the origin groups specified for a distribution.""" + + quantity: int + """The number of origin groups.""" + items: list[OriginGroup] | None = ... + """The items (origin groups) in a distribution.""" + +class OriginGroupSelectionCriteria(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + MEDIA_QUALITY_BASED = "media-quality-based" + +@dataclass(kw_only=True) +class OriginMtlsConfig(_SerdeShape): + """ + Configures mutual TLS authentication between CloudFront and your origin + server. + """ + + client_certificate_arn: str + """ + The Amazon Resource Name (ARN) of the client certificate stored in + Amazon Web Services Certificate Manager (ACM) that CloudFront uses to + authenticate with your origin using Mutual TLS. + """ + +class OriginProtocolPolicy(UnknownEnumMixin, StrEnum): + HTTP_ONLY = "http-only" + MATCH_VIEWER = "match-viewer" + HTTPS_ONLY = "https-only" + +@dataclass(kw_only=True) +class OriginRequestPolicy(_SerdeShape): + """ + An origin request policy. + + When it's attached to a cache behavior, the origin request policy + determines the values that CloudFront includes in requests that it sends + to the origin. Each request that CloudFront sends to the origin includes + the following: + + - The request body and the URL path (without the domain name) from the + viewer request. + + - The headers that CloudFront automatically includes in every origin + request, including `Host`, `User-Agent`, and `X-Amz-Cf-Id`. + + - All HTTP headers, cookies, and URL query strings that are specified in + the cache policy or the origin request policy. These can include items + from the viewer request and, in the case of headers, additional ones + that are added by CloudFront. + + CloudFront sends a request when it can't find an object in its cache + that matches the request. If you want to send values to the origin and + also include them in the cache key, use `CachePolicy`. + """ + + id: str + """The unique identifier for the origin request policy.""" + last_modified_time: datetime + """The date and time when the origin request policy was last modified.""" + origin_request_policy_config: OriginRequestPolicyConfig + """The origin request policy configuration.""" + +@dataclass(kw_only=True) +class OriginRequestPolicyAlreadyExists(ServiceError, _SerdeShape): + """ + An origin request policy with this name already exists. You must provide + a unique name. To modify an existing origin request policy, use + `UpdateOriginRequestPolicy`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OriginRequestPolicyConfig(_SerdeShape): + """ + An origin request policy configuration. + + This configuration determines the values that CloudFront includes in + requests that it sends to the origin. Each request that CloudFront sends + to the origin includes the following: + + - The request body and the URL path (without the domain name) from the + viewer request. + + - The headers that CloudFront automatically includes in every origin + request, including `Host`, `User-Agent`, and `X-Amz-Cf-Id`. + + - All HTTP headers, cookies, and URL query strings that are specified in + the cache policy or the origin request policy. These can include items + from the viewer request and, in the case of headers, additional ones + that are added by CloudFront. + + CloudFront sends a request when it can't find an object in its cache + that matches the request. If you want to send values to the origin and + also include them in the cache key, use `CachePolicy`. + """ + + comment: str | None = ... + """ + A comment to describe the origin request policy. The comment cannot be + longer than 128 characters. + """ + name: str + """A unique name to identify the origin request policy.""" + headers_config: OriginRequestPolicyHeadersConfig + """ + The HTTP headers to include in origin requests. These can include + headers from viewer requests and additional headers added by CloudFront. + """ + cookies_config: OriginRequestPolicyCookiesConfig + """The cookies from viewer requests to include in origin requests.""" + query_strings_config: OriginRequestPolicyQueryStringsConfig + """ + The URL query strings from viewer requests to include in origin + requests. + """ + +class OriginRequestPolicyCookieBehavior(UnknownEnumMixin, StrEnum): + NONE = "none" + WHITELIST = "whitelist" + ALL = "all" + ALL_EXCEPT = "allExcept" + +@dataclass(kw_only=True) +class OriginRequestPolicyCookiesConfig(_SerdeShape): + """ + An object that determines whether any cookies in viewer requests (and if + so, which cookies) are included in requests that CloudFront sends to the + origin. + """ + + cookie_behavior: str + """ + Determines whether cookies in viewer requests are included in requests + that CloudFront sends to the origin. Valid values are: + + - `none` -- No cookies in viewer requests are included in requests that + CloudFront sends to the origin. Even when this field is set to `none`, + any cookies that are listed in a `CachePolicy` *are* included in + origin requests. + + - `whitelist` -- Only the cookies in viewer requests that are listed in + the `CookieNames` type are included in requests that CloudFront sends + to the origin. + + - `all` -- All cookies in viewer requests are included in requests that + CloudFront sends to the origin. + + - `allExcept` -- All cookies in viewer requests are included in requests + that CloudFront sends to the origin, ***except*** for those listed in + the `CookieNames` type, which are not included. + """ + cookies: CookieNames | None = ... + """Contains a list of cookie names.""" + +class OriginRequestPolicyHeaderBehavior(UnknownEnumMixin, StrEnum): + NONE = "none" + WHITELIST = "whitelist" + ALL_VIEWER = "allViewer" + ALL_VIEWER_AND_WHITELIST_CLOUD_FRONT = "allViewerAndWhitelistCloudFront" + ALL_EXCEPT = "allExcept" + +@dataclass(kw_only=True) +class OriginRequestPolicyHeadersConfig(_SerdeShape): + """ + An object that determines whether any HTTP headers (and if so, which + headers) are included in requests that CloudFront sends to the origin. + """ + + header_behavior: str + """ + Determines whether any HTTP headers are included in requests that + CloudFront sends to the origin. Valid values are: + + - `none` -- No HTTP headers in viewer requests are included in requests + that CloudFront sends to the origin. Even when this field is set to + `none`, any headers that are listed in a `CachePolicy` *are* included + in origin requests. + + - `whitelist` -- Only the HTTP headers that are listed in the `Headers` + type are included in requests that CloudFront sends to the origin. + + - `allViewer` -- All HTTP headers in viewer requests are included in + requests that CloudFront sends to the origin. + + - `allViewerAndWhitelistCloudFront` -- All HTTP headers in viewer + requests and the additional CloudFront headers that are listed in the + `Headers` type are included in requests that CloudFront sends to the + origin. The additional headers are added by CloudFront. + + - `allExcept` -- All HTTP headers in viewer requests are included in + requests that CloudFront sends to the origin, ***except*** for those + listed in the `Headers` type, which are not included. + """ + headers: Headers | None = ... + """Contains a list of HTTP header names.""" + +@dataclass(kw_only=True) +class OriginRequestPolicyInUse(ServiceError, _SerdeShape): + """ + Cannot delete the origin request policy because it is attached to one or + more cache behaviors. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OriginRequestPolicyList(_SerdeShape): + """A list of origin request policies.""" + + next_marker: str | None = ... + """ + If there are more items in the list than are in this response, this + element is present. It contains the value that you should use in the + `Marker` field of a subsequent request to continue listing origin + request policies where you left off. + """ + max_items: int + """The maximum number of origin request policies requested.""" + quantity: int + """The total number of origin request policies returned in the response.""" + items: list[OriginRequestPolicySummary] | None = ... + """Contains the origin request policies in the list.""" + +class OriginRequestPolicyQueryStringBehavior(UnknownEnumMixin, StrEnum): + NONE = "none" + WHITELIST = "whitelist" + ALL = "all" + ALL_EXCEPT = "allExcept" + +@dataclass(kw_only=True) +class OriginRequestPolicyQueryStringsConfig(_SerdeShape): + """ + An object that determines whether any URL query strings in viewer + requests (and if so, which query strings) are included in requests that + CloudFront sends to the origin. + """ + + query_string_behavior: str + """ + Determines whether any URL query strings in viewer requests are included + in requests that CloudFront sends to the origin. Valid values are: + + - `none` -- No query strings in viewer requests are included in requests + that CloudFront sends to the origin. Even when this field is set to + `none`, any query strings that are listed in a `CachePolicy` *are* + included in origin requests. + + - `whitelist` -- Only the query strings in viewer requests that are + listed in the `QueryStringNames` type are included in requests that + CloudFront sends to the origin. + + - `all` -- All query strings in viewer requests are included in requests + that CloudFront sends to the origin. + + - `allExcept` -- All query strings in viewer requests are included in + requests that CloudFront sends to the origin, ***except*** for those + listed in the `QueryStringNames` type, which are not included. + """ + query_strings: QueryStringNames | None = ... + """ + Contains the specific query strings in viewer requests that either + ***are*** or ***are not*** included in requests that CloudFront sends to + the origin. The behavior depends on whether the `QueryStringBehavior` + field in the `OriginRequestPolicyQueryStringsConfig` type is set to + `whitelist` (the listed query strings ***are*** included) or `allExcept` + (the listed query strings ***are not*** included, but all other query + strings are). + """ + +@dataclass(kw_only=True) +class OriginRequestPolicySummary(_SerdeShape): + """Contains an origin request policy.""" + + type: str + """ + The type of origin request policy, either `managed` (created by Amazon + Web Services) or `custom` (created in this Amazon Web Services account). + """ + origin_request_policy: OriginRequestPolicy + """The origin request policy.""" + +class OriginRequestPolicyType(UnknownEnumMixin, StrEnum): + MANAGED = "managed" + CUSTOM = "custom" + +@dataclass(kw_only=True) +class Origins(_SerdeShape): + """Contains information about the origins for this distribution.""" + + quantity: int + """The number of origins for this distribution.""" + items: list[Origin] + """A list of origins.""" + +@dataclass(kw_only=True) +class OriginShield(_SerdeShape): + """ + CloudFront Origin Shield. + + Using Origin Shield can help reduce the load on your origin. For more + information, see [Using Origin + Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) + in the *Amazon CloudFront Developer Guide*. + """ + + enabled: bool + """ + A flag that specifies whether Origin Shield is enabled. + + When it's enabled, CloudFront routes all requests through Origin + Shield, which can help protect your origin. When it's disabled, + CloudFront might send requests directly to your origin from multiple + edge locations or regional edge caches. + """ + origin_shield_region: str | None = ... + """ + The Amazon Web Services Region for Origin Shield. + + Specify the Amazon Web Services Region that has the lowest latency to + your origin. To specify a region, use the region code, not the region + name. For example, specify the US East (Ohio) region as `us-east-2`. + + When you enable CloudFront Origin Shield, you must specify the Amazon + Web Services Region for Origin Shield. For the list of Amazon Web + Services Regions that you can specify, and for help choosing the best + Region for your origin, see [Choosing the Amazon Web Services Region for + Origin + Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html#choose-origin-shield-region) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class OriginSslProtocols(_SerdeShape): + """ + A complex type that contains information about the SSL/TLS protocols + that CloudFront can use when establishing an HTTPS connection with your + origin. + """ + + quantity: int + """ + The number of SSL/TLS protocols that you want to allow CloudFront to use + when establishing an HTTPS connection with this origin. + """ + items: list[str] + """A list that contains allowed SSL/TLS protocols for this distribution.""" + +@dataclass(kw_only=True) +class Parameter(_SerdeShape): + """ + A list of parameter values to add to the resource. A parameter is + specified as a key-value pair. A valid parameter value must exist for + any parameter that is marked as required in the multi-tenant + distribution. + """ + + name: str + """The parameter name.""" + value: str + """The parameter value.""" + +@dataclass(kw_only=True) +class ParameterDefinition(_SerdeShape): + """ + A list of parameter values to add to the resource. A parameter is + specified as a key-value pair. A valid parameter value must exist for + any parameter that is marked as required in the multi-tenant + distribution. + """ + + name: str + """The name of the parameter.""" + definition: ParameterDefinitionSchema + """The value that you assigned to the parameter.""" + +@dataclass(kw_only=True) +class ParameterDefinitionSchema(_SerdeShape): + """An object that contains information about the parameter definition.""" + + string_schema: StringSchemaConfig | None = ... + """An object that contains information about the string schema.""" + +@dataclass(kw_only=True) +class ParametersInCacheKeyAndForwardedToOrigin(_SerdeShape): + """ + This object determines the values that CloudFront includes in the cache + key. These values can include HTTP headers, cookies, and URL query + strings. CloudFront uses the cache key to find an object in its cache + that it can return to the viewer. + + The headers, cookies, and query strings that are included in the cache + key are also included in requests that CloudFront sends to the origin. + CloudFront sends a request when it can't find an object in its cache + that matches the request's cache key. If you want to send values to the + origin but *not* include them in the cache key, use + `OriginRequestPolicy`. + """ + + enable_accept_encoding_gzip: bool + """ + A flag that can affect whether the `Accept-Encoding` HTTP header is + included in the cache key and included in requests that CloudFront sends + to the origin. + + This field is related to the `EnableAcceptEncodingBrotli` field. If one + or both of these fields is `true` *and* the viewer request includes the + `Accept-Encoding` header, then CloudFront does the following: + + - Normalizes the value of the viewer's `Accept-Encoding` header + + - Includes the normalized header in the cache key + + - Includes the normalized header in the request to the origin, if a + request is necessary + + For more information, see [Compression + support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects) + in the *Amazon CloudFront Developer Guide*. + + If you set this value to `true`, and this cache behavior also has an + origin request policy attached, do not include the `Accept-Encoding` + header in the origin request policy. CloudFront always includes the + `Accept-Encoding` header in origin requests when the value of this field + is `true`, so including this header in an origin request policy has no + effect. + + If both of these fields are `false`, then CloudFront treats the + `Accept-Encoding` header the same as any other HTTP header in the viewer + request. By default, it's not included in the cache key and it's not + included in origin requests. In this case, you can manually add + `Accept-Encoding` to the headers whitelist like any other HTTP header. + """ + enable_accept_encoding_brotli: bool | None = ... + """ + A flag that can affect whether the `Accept-Encoding` HTTP header is + included in the cache key and included in requests that CloudFront sends + to the origin. + + This field is related to the `EnableAcceptEncodingGzip` field. If one or + both of these fields is `true` *and* the viewer request includes the + `Accept-Encoding` header, then CloudFront does the following: + + - Normalizes the value of the viewer's `Accept-Encoding` header + + - Includes the normalized header in the cache key + + - Includes the normalized header in the request to the origin, if a + request is necessary + + For more information, see [Compression + support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects) + in the *Amazon CloudFront Developer Guide*. + + If you set this value to `true`, and this cache behavior also has an + origin request policy attached, do not include the `Accept-Encoding` + header in the origin request policy. CloudFront always includes the + `Accept-Encoding` header in origin requests when the value of this field + is `true`, so including this header in an origin request policy has no + effect. + + If both of these fields are `false`, then CloudFront treats the + `Accept-Encoding` header the same as any other HTTP header in the viewer + request. By default, it's not included in the cache key and it's not + included in origin requests. In this case, you can manually add + `Accept-Encoding` to the headers whitelist like any other HTTP header. + """ + headers_config: CachePolicyHeadersConfig + """ + An object that determines whether any HTTP headers (and if so, which + headers) are included in the cache key and in requests that CloudFront + sends to the origin. + """ + cookies_config: CachePolicyCookiesConfig + """ + An object that determines whether any cookies in viewer requests (and if + so, which cookies) are included in the cache key and in requests that + CloudFront sends to the origin. + """ + query_strings_config: CachePolicyQueryStringsConfig + """ + An object that determines whether any URL query strings in viewer + requests (and if so, which query strings) are included in the cache key + and in requests that CloudFront sends to the origin. + """ + +@dataclass(kw_only=True) +class Paths(_SerdeShape): + """ + A complex type that contains information about the objects that you want + to invalidate. For more information, see [Specifying the Objects to + Invalidate](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) + in the *Amazon CloudFront Developer Guide*. + """ + + quantity: int + """ + The number of invalidation paths specified for the objects that you want + to invalidate. + """ + items: list[str] | None = ... + """ + A complex type that contains a list of the paths that you want to + invalidate. + """ + +@dataclass(kw_only=True) +class PreconditionFailed(ServiceError, _SerdeShape): + """ + The precondition in one or more of the request fields evaluated to + `false`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class PriceClass(UnknownEnumMixin, StrEnum): + PRICE_CLASS_100 = "PriceClass_100" + PRICE_CLASS_200 = "PriceClass_200" + PRICE_CLASS_ALL = "PriceClass_All" + NONE = "None" + +@dataclass(kw_only=True) +class PublicKey(_SerdeShape): + """ + A public key that you can use with [signed URLs and signed + cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), + or with [field-level + encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). + + CloudFront supports signed URLs and signed cookies with RSA 2048 or + ECDSA 256 key signatures. Field-level encryption is only compatible with + RSA 2048 key signatures. + """ + + id: str + """The identifier of the public key.""" + created_time: datetime + """The date and time when the public key was uploaded.""" + public_key_config: PublicKeyConfig + """ + Configuration information about a public key that you can use with + [signed URLs and signed + cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), + or with [field-level + encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). + """ + +@dataclass(kw_only=True) +class PublicKeyAlreadyExists(ServiceError, _SerdeShape): + """The specified public key already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PublicKeyConfig(_SerdeShape): + """ + Configuration information about a public key that you can use with + [signed URLs and signed + cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), + or with [field-level + encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). + + CloudFront supports signed URLs and signed cookies with RSA 2048 or + ECDSA 256 key signatures. Field-level encryption is only compatible with + RSA 2048 key signatures. + """ + + caller_reference: str + """ + A string included in the request to help make sure that the request + can't be replayed. + """ + name: str + """A name to help identify the public key.""" + encoded_key: str + """ + The public key that you can use with [signed URLs and signed + cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), + or with [field-level + encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). + """ + comment: str | None = ... + """ + A comment to describe the public key. The comment cannot be longer than + 128 characters. + """ + +@dataclass(kw_only=True) +class PublicKeyInUse(ServiceError, _SerdeShape): + """The specified public key is in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PublicKeyList(_SerdeShape): + """ + A list of public keys that you can use with [signed URLs and signed + cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), + or with [field-level + encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). + """ + + next_marker: str | None = ... + """ + If there are more elements to be listed, this element is present and + contains the value that you can use for the `Marker` request parameter + to continue listing your public keys where you left off. + """ + max_items: int + """The maximum number of public keys you want in the response.""" + quantity: int + """The number of public keys in the list.""" + items: list[PublicKeySummary] | None = ... + """A list of public keys.""" + +@dataclass(kw_only=True) +class PublicKeySummary(_SerdeShape): + """Contains information about a public key.""" + + id: str + """The identifier of the public key.""" + name: str + """A name to help identify the public key.""" + created_time: datetime + """The date and time when the public key was uploaded.""" + encoded_key: str + """The public key.""" + comment: str | None = ... + """ + A comment to describe the public key. The comment cannot be longer than + 128 characters. + """ + +@dataclass(kw_only=True) +class PublishConnectionFunctionInput(_SerdeShape): + """Dataclass for PublishConnectionFunctionInput structure.""" + + id: str | None = ... + """The connection function ID.""" + if_match: str | None = ... + """The current version (`ETag` value) of the connection function.""" + +@dataclass(kw_only=True) +class PublishConnectionFunctionOutput(_SerdeShape): + """Dataclass for PublishConnectionFunctionOutput structure.""" + + connection_function_summary: ConnectionFunctionSummary | None = ... + """The connection function summary.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PublishFunctionInput(_SerdeShape): + """Dataclass for PublishFunctionInput structure.""" + + name: str | None = ... + """The name of the function that you are publishing.""" + if_match: str | None = ... + """ + The current version (`ETag` value) of the function that you are + publishing, which you can get using `DescribeFunction`. + """ + +@dataclass(kw_only=True) +class PublishFunctionOutput(_SerdeShape): + """Dataclass for PublishFunctionOutput structure.""" + + function_summary: FunctionSummary | None = ... + """ + Contains configuration information and metadata about a CloudFront + function. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyInput(_SerdeShape): + """Dataclass for PutResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudFront resource for which the + policy is being created. + """ + policy_document: str | None = ... + """The JSON-formatted resource policy to create.""" + +@dataclass(kw_only=True) +class PutResourcePolicyOutput(_SerdeShape): + """Dataclass for PutResourcePolicyOutput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudFront resource for which the + policy was created. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class QueryArgProfile(_SerdeShape): + """Query argument-profile mapping for field-level encryption.""" + + query_arg: str + """ + Query argument for field-level encryption query argument-profile + mapping. + """ + profile_id: str + """ + ID of profile to use for field-level encryption query argument-profile + mapping + """ + +@dataclass(kw_only=True) +class QueryArgProfileConfig(_SerdeShape): + """ + Configuration for query argument-profile mapping for field-level + encryption. + """ + + forward_when_query_arg_profile_is_unknown: bool + """ + Flag to set if you want a request to be forwarded to the origin even if + the profile specified by the field-level encryption query argument, + fle-profile, is unknown. + """ + query_arg_profiles: QueryArgProfiles | None = ... + """ + Profiles specified for query argument-profile mapping for field-level + encryption. + """ + +@dataclass(kw_only=True) +class QueryArgProfileEmpty(ServiceError, _SerdeShape): + """No profile specified for the field-level encryption query argument.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class QueryArgProfiles(_SerdeShape): + """Query argument-profile mapping for field-level encryption.""" + + quantity: int + """ + Number of profiles for query argument-profile mapping for field-level + encryption. + """ + items: list[QueryArgProfile] | None = ... + """ + Number of items for query argument-profile mapping for field-level + encryption. + """ + +@dataclass(kw_only=True) +class QueryStringCacheKeys(_SerdeShape): + """ + This field is deprecated. We recommend that you use a cache policy or an + origin request policy instead of this field. + + If you want to include query strings in the cache key, use + `QueryStringsConfig` in a cache policy. See `CachePolicy`. + + If you want to send query strings to the origin but not include them in + the cache key, use `QueryStringsConfig` in an origin request policy. See + `OriginRequestPolicy`. + + A complex type that contains information about the query string + parameters that you want CloudFront to use for caching for a cache + behavior. + """ + + quantity: int + """ + The number of `whitelisted` query string parameters for a cache + behavior. + """ + items: list[str] | None = ... + """ + A list that contains the query string parameters that you want + CloudFront to use as a basis for caching for a cache behavior. If + `Quantity` is 0, you can omit `Items`. + """ + +@dataclass(kw_only=True) +class QueryStringNames(_SerdeShape): + """Contains a list of query string names.""" + + quantity: int + """The number of query string names in the `Items` list.""" + items: list[str] | None = ... + """A list of query string names.""" + +@dataclass(kw_only=True) +class RealtimeLogConfig(_SerdeShape): + """A real-time log configuration.""" + + arn: str + """The Amazon Resource Name (ARN) of this real-time log configuration.""" + name: str + """The unique name of this real-time log configuration.""" + sampling_rate: int + """ + The sampling rate for this real-time log configuration. The sampling + rate determines the percentage of viewer requests that are represented + in the real-time log data. The sampling rate is an integer between 1 and + 100, inclusive. + """ + end_points: list[EndPoint] + """ + Contains information about the Amazon Kinesis data stream where you are + sending real-time log data for this real-time log configuration. + """ + fields: list[str] + """ + A list of fields that are included in each real-time log record. In an + API response, the fields are provided in the same order in which they + are sent to the Amazon Kinesis data stream. + + For more information about fields, see [Real-time log configuration + fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class RealtimeLogConfigAlreadyExists(ServiceError, _SerdeShape): + """ + A real-time log configuration with this name already exists. You must + provide a unique name. To modify an existing real-time log + configuration, use `UpdateRealtimeLogConfig`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RealtimeLogConfigInUse(ServiceError, _SerdeShape): + """ + Cannot delete the real-time log configuration because it is attached to + one or more cache behaviors. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RealtimeLogConfigOwnerMismatch(ServiceError, _SerdeShape): + """ + The specified real-time log configuration belongs to a different Amazon + Web Services account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RealtimeLogConfigs(_SerdeShape): + """A list of real-time log configurations.""" + + max_items: int + """The maximum number of real-time log configurations requested.""" + items: list[RealtimeLogConfig] | None = ... + """Contains the list of real-time log configurations.""" + is_truncated: bool + """ + A flag that indicates whether there are more real-time log + configurations than are contained in this list. + """ + marker: str + """ + This parameter indicates where this list of real-time log configurations + begins. This list includes real-time log configurations that occur after + the marker. + """ + next_marker: str | None = ... + """ + If there are more items in the list than are in this response, this + element is present. It contains the value that you should use in the + `Marker` field of a subsequent request to continue listing real-time log + configurations where you left off. + """ + +@dataclass(kw_only=True) +class RealtimeMetricsSubscriptionConfig(_SerdeShape): + """A subscription configuration for additional CloudWatch metrics.""" + + realtime_metrics_subscription_status: str + """ + A flag that indicates whether additional CloudWatch metrics are enabled + for a given CloudFront distribution. + """ + +class RealtimeMetricsSubscriptionStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ReferrerPolicyList(UnknownEnumMixin, StrEnum): + NO_REFERRER = "no-referrer" + NO_REFERRER_WHEN_DOWNGRADE = "no-referrer-when-downgrade" + ORIGIN = "origin" + ORIGIN_WHEN_CROSS_ORIGIN = "origin-when-cross-origin" + SAME_ORIGIN = "same-origin" + STRICT_ORIGIN = "strict-origin" + STRICT_ORIGIN_WHEN_CROSS_ORIGIN = "strict-origin-when-cross-origin" + UNSAFE_URL = "unsafe-url" + +@dataclass(kw_only=True) +class ResourceInUse(ServiceError, _SerdeShape): + """Cannot delete this resource because it is in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceNotDisabled(ServiceError, _SerdeShape): + """The specified CloudFront resource hasn't been disabled yet.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicy(_SerdeShape): + """ + A response headers policy. + + A response headers policy contains information about a set of HTTP + response headers. + + After you create a response headers policy, you can use its ID to attach + it to one or more cache behaviors in a CloudFront distribution. When + it's attached to a cache behavior, the response headers policy affects + the HTTP headers that CloudFront includes in HTTP responses to requests + that match the cache behavior. CloudFront adds or removes response + headers according to the configuration of the response headers policy. + + For more information, see [Adding or removing HTTP headers in CloudFront + responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html) + in the *Amazon CloudFront Developer Guide*. + """ + + id: str + """The identifier for the response headers policy.""" + last_modified_time: datetime + """The date and time when the response headers policy was last modified.""" + response_headers_policy_config: ResponseHeadersPolicyConfig + """A response headers policy configuration.""" + +@dataclass(kw_only=True) +class ResponseHeadersPolicyAccessControlAllowHeaders(_SerdeShape): + """ + A list of HTTP header names that CloudFront includes as values for the + `Access-Control-Allow-Headers` HTTP response header. + + For more information about the `Access-Control-Allow-Headers` HTTP + response header, see + [Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) + in the MDN Web Docs. + """ + + quantity: int + """The number of HTTP header names in the list.""" + items: list[str] + """The list of HTTP header names. You can specify `*` to allow all headers.""" + +@dataclass(kw_only=True) +class ResponseHeadersPolicyAccessControlAllowMethods(_SerdeShape): + """ + A list of HTTP methods that CloudFront includes as values for the + `Access-Control-Allow-Methods` HTTP response header. + + For more information about the `Access-Control-Allow-Methods` HTTP + response header, see + [Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods) + in the MDN Web Docs. + """ + + quantity: int + """The number of HTTP methods in the list.""" + items: list[str] + """ + The list of HTTP methods. Valid values are: + + - `GET` + + - `DELETE` + + - `HEAD` + + - `OPTIONS` + + - `PATCH` + + - `POST` + + - `PUT` + + - `ALL` + + `ALL` is a special value that includes all of the listed HTTP methods. + """ + +class ResponseHeadersPolicyAccessControlAllowMethodsValues(UnknownEnumMixin, StrEnum): + GET = "GET" + POST = "POST" + OPTIONS = "OPTIONS" + PUT = "PUT" + DELETE = "DELETE" + PATCH = "PATCH" + HEAD = "HEAD" + ALL = "ALL" + +@dataclass(kw_only=True) +class ResponseHeadersPolicyAccessControlAllowOrigins(_SerdeShape): + """ + A list of origins (domain names) that CloudFront can use as the value + for the `Access-Control-Allow-Origin` HTTP response header. + + For more information about the `Access-Control-Allow-Origin` HTTP + response header, see + [Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) + in the MDN Web Docs. + """ + + quantity: int + """The number of origins in the list.""" + items: list[str] + """ + The list of origins (domain names). You can specify `*` to allow all + origins. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyAccessControlExposeHeaders(_SerdeShape): + """ + A list of HTTP headers that CloudFront includes as values for the + `Access-Control-Expose-Headers` HTTP response header. + + For more information about the `Access-Control-Expose-Headers` HTTP + response header, see + [Access-Control-Expose-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) + in the MDN Web Docs. + """ + + quantity: int + """The number of HTTP headers in the list.""" + items: list[str] | None = ... + """The list of HTTP headers. You can specify `*` to expose all headers.""" + +@dataclass(kw_only=True) +class ResponseHeadersPolicyAlreadyExists(ServiceError, _SerdeShape): + """ + A response headers policy with this name already exists. You must + provide a unique name. To modify an existing response headers policy, + use `UpdateResponseHeadersPolicy`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyConfig(_SerdeShape): + """ + A response headers policy configuration. + + A response headers policy configuration contains metadata about the + response headers policy, and configurations for sets of HTTP response + headers. + """ + + comment: str | None = ... + """ + A comment to describe the response headers policy. + + The comment cannot be longer than 128 characters. + """ + name: str + """ + A name to identify the response headers policy. + + The name must be unique for response headers policies in this Amazon Web + Services account. + """ + cors_config: ResponseHeadersPolicyCorsConfig | None = ... + """ + A configuration for a set of HTTP response headers that are used for + cross-origin resource sharing (CORS). + """ + security_headers_config: ResponseHeadersPolicySecurityHeadersConfig | None = ... + """A configuration for a set of security-related HTTP response headers.""" + server_timing_headers_config: ( + ResponseHeadersPolicyServerTimingHeadersConfig | None + ) = ... + """ + A configuration for enabling the `Server-Timing` header in HTTP + responses sent from CloudFront. + """ + custom_headers_config: ResponseHeadersPolicyCustomHeadersConfig | None = ... + """A configuration for a set of custom HTTP response headers.""" + remove_headers_config: ResponseHeadersPolicyRemoveHeadersConfig | None = ... + """ + A configuration for a set of HTTP headers to remove from the HTTP + response. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyContentSecurityPolicy(_SerdeShape): + """ + The policy directives and their values that CloudFront includes as + values for the `Content-Security-Policy` HTTP response header. + + For more information about the `Content-Security-Policy` HTTP response + header, see + [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) + in the MDN Web Docs. + """ + + override: bool + """ + A Boolean that determines whether CloudFront overrides the + `Content-Security-Policy` HTTP response header received from the origin + with the one specified in this response headers policy. + """ + content_security_policy: str + """ + The policy directives and their values that CloudFront includes as + values for the `Content-Security-Policy` HTTP response header. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyContentTypeOptions(_SerdeShape): + """ + Determines whether CloudFront includes the `X-Content-Type-Options` HTTP + response header with its value set to `nosniff`. + + For more information about the `X-Content-Type-Options` HTTP response + header, see + [X-Content-Type-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options) + in the MDN Web Docs. + """ + + override: bool + """ + A Boolean that determines whether CloudFront overrides the + `X-Content-Type-Options` HTTP response header received from the origin + with the one specified in this response headers policy. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyCorsConfig(_SerdeShape): + """ + A configuration for a set of HTTP response headers that are used for + cross-origin resource sharing (CORS). CloudFront adds these headers to + HTTP responses that it sends for CORS requests that match a cache + behavior associated with this response headers policy. + + For more information about CORS, see [Cross-Origin Resource Sharing + (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) in the + MDN Web Docs. + """ + + access_control_allow_origins: ResponseHeadersPolicyAccessControlAllowOrigins + """ + A list of origins (domain names) that CloudFront can use as the value + for the `Access-Control-Allow-Origin` HTTP response header. + + For more information about the `Access-Control-Allow-Origin` HTTP + response header, see + [Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) + in the MDN Web Docs. + """ + access_control_allow_headers: ResponseHeadersPolicyAccessControlAllowHeaders + """ + A list of HTTP header names that CloudFront includes as values for the + `Access-Control-Allow-Headers` HTTP response header. + + For more information about the `Access-Control-Allow-Headers` HTTP + response header, see + [Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) + in the MDN Web Docs. + """ + access_control_allow_methods: ResponseHeadersPolicyAccessControlAllowMethods + """ + A list of HTTP methods that CloudFront includes as values for the + `Access-Control-Allow-Methods` HTTP response header. + + For more information about the `Access-Control-Allow-Methods` HTTP + response header, see + [Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods) + in the MDN Web Docs. + """ + access_control_allow_credentials: bool + """ + A Boolean that CloudFront uses as the value for the + `Access-Control-Allow-Credentials` HTTP response header. + + For more information about the `Access-Control-Allow-Credentials` HTTP + response header, see + [Access-Control-Allow-Credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials) + in the MDN Web Docs. + """ + access_control_expose_headers: ( + ResponseHeadersPolicyAccessControlExposeHeaders | None + ) = ... + """ + A list of HTTP headers that CloudFront includes as values for the + `Access-Control-Expose-Headers` HTTP response header. + + For more information about the `Access-Control-Expose-Headers` HTTP + response header, see + [Access-Control-Expose-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) + in the MDN Web Docs. + """ + access_control_max_age_sec: int | None = ... + """ + A number that CloudFront uses as the value for the + `Access-Control-Max-Age` HTTP response header. + + For more information about the `Access-Control-Max-Age` HTTP response + header, see + [Access-Control-Max-Age](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age) + in the MDN Web Docs. + """ + origin_override: bool + """ + A Boolean that determines whether CloudFront overrides HTTP response + headers received from the origin with the ones specified in this + response headers policy. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyCustomHeader(_SerdeShape): + """ + An HTTP response header name and its value. CloudFront includes this + header in HTTP responses that it sends for requests that match a cache + behavior that's associated with this response headers policy. + """ + + header: str + """The HTTP response header name.""" + value: str + """The value for the HTTP response header.""" + override: bool + """ + A Boolean that determines whether CloudFront overrides a response header + with the same name received from the origin with the header specified + here. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyCustomHeadersConfig(_SerdeShape): + """ + A list of HTTP response header names and their values. CloudFront + includes these headers in HTTP responses that it sends for requests that + match a cache behavior that's associated with this response headers + policy. + """ + + quantity: int + """The number of HTTP response headers in the list.""" + items: list[ResponseHeadersPolicyCustomHeader] | None = ... + """The list of HTTP response headers and their values.""" + +@dataclass(kw_only=True) +class ResponseHeadersPolicyFrameOptions(_SerdeShape): + """ + Determines whether CloudFront includes the `X-Frame-Options` HTTP + response header and the header's value. + + For more information about the `X-Frame-Options` HTTP response header, + see + [X-Frame-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) + in the MDN Web Docs. + """ + + override: bool + """ + A Boolean that determines whether CloudFront overrides the + `X-Frame-Options` HTTP response header received from the origin with the + one specified in this response headers policy. + """ + frame_option: str + """ + The value of the `X-Frame-Options` HTTP response header. Valid values + are `DENY` and `SAMEORIGIN`. + + For more information about these values, see + [X-Frame-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) + in the MDN Web Docs. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyInUse(ServiceError, _SerdeShape): + """ + Cannot delete the response headers policy because it is attached to one + or more cache behaviors in a CloudFront distribution. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyList(_SerdeShape): + """A list of response headers policies.""" + + next_marker: str | None = ... + """ + If there are more items in the list than are in this response, this + element is present. It contains the value that you should use in the + `Marker` field of a subsequent request to continue listing response + headers policies where you left off. + """ + max_items: int + """The maximum number of response headers policies requested.""" + quantity: int + """The number of response headers policies returned.""" + items: list[ResponseHeadersPolicySummary] | None = ... + """The response headers policies in the list.""" + +@dataclass(kw_only=True) +class ResponseHeadersPolicyReferrerPolicy(_SerdeShape): + """ + Determines whether CloudFront includes the `Referrer-Policy` HTTP + response header and the header's value. + + For more information about the `Referrer-Policy` HTTP response header, + see + [Referrer-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) + in the MDN Web Docs. + """ + + override: bool + """ + A Boolean that determines whether CloudFront overrides the + `Referrer-Policy` HTTP response header received from the origin with the + one specified in this response headers policy. + """ + referrer_policy: str + """ + The value of the `Referrer-Policy` HTTP response header. Valid values + are: + + - `no-referrer` + + - `no-referrer-when-downgrade` + + - `origin` + + - `origin-when-cross-origin` + + - `same-origin` + + - `strict-origin` + + - `strict-origin-when-cross-origin` + + - `unsafe-url` + + For more information about these values, see + [Referrer-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) + in the MDN Web Docs. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyRemoveHeader(_SerdeShape): + """ + The name of an HTTP header that CloudFront removes from HTTP responses + to requests that match the cache behavior that this response headers + policy is attached to. + """ + + header: str + """The HTTP header name.""" + +@dataclass(kw_only=True) +class ResponseHeadersPolicyRemoveHeadersConfig(_SerdeShape): + """ + A list of HTTP header names that CloudFront removes from HTTP responses + to requests that match the cache behavior that this response headers + policy is attached to. + """ + + quantity: int + """The number of HTTP header names in the list.""" + items: list[ResponseHeadersPolicyRemoveHeader] | None = ... + """The list of HTTP header names.""" + +@dataclass(kw_only=True) +class ResponseHeadersPolicySecurityHeadersConfig(_SerdeShape): + """ + A configuration for a set of security-related HTTP response headers. + CloudFront adds these headers to HTTP responses that it sends for + requests that match a cache behavior associated with this response + headers policy. + """ + + xss_protection: ResponseHeadersPolicyXSSProtection | None = ... + """ + Determines whether CloudFront includes the `X-XSS-Protection` HTTP + response header and the header's value. + + For more information about the `X-XSS-Protection` HTTP response header, + see + [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) + in the MDN Web Docs. + """ + frame_options: ResponseHeadersPolicyFrameOptions | None = ... + """ + Determines whether CloudFront includes the `X-Frame-Options` HTTP + response header and the header's value. + + For more information about the `X-Frame-Options` HTTP response header, + see + [X-Frame-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) + in the MDN Web Docs. + """ + referrer_policy: ResponseHeadersPolicyReferrerPolicy | None = ... + """ + Determines whether CloudFront includes the `Referrer-Policy` HTTP + response header and the header's value. + + For more information about the `Referrer-Policy` HTTP response header, + see + [Referrer-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) + in the MDN Web Docs. + """ + content_security_policy: ResponseHeadersPolicyContentSecurityPolicy | None = ... + """ + The policy directives and their values that CloudFront includes as + values for the `Content-Security-Policy` HTTP response header. + + For more information about the `Content-Security-Policy` HTTP response + header, see + [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) + in the MDN Web Docs. + """ + content_type_options: ResponseHeadersPolicyContentTypeOptions | None = ... + """ + Determines whether CloudFront includes the `X-Content-Type-Options` HTTP + response header with its value set to `nosniff`. + + For more information about the `X-Content-Type-Options` HTTP response + header, see + [X-Content-Type-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options) + in the MDN Web Docs. + """ + strict_transport_security: ResponseHeadersPolicyStrictTransportSecurity | None = ... + """ + Determines whether CloudFront includes the `Strict-Transport-Security` + HTTP response header and the header's value. + + For more information about the `Strict-Transport-Security` HTTP response + header, see [Security + headers](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#understanding-response-headers-policies-security) + in the *Amazon CloudFront Developer Guide* and + [Strict-Transport-Security](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) + in the MDN Web Docs. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyServerTimingHeadersConfig(_SerdeShape): + """ + A configuration for enabling the `Server-Timing` header in HTTP + responses sent from CloudFront. CloudFront adds this header to HTTP + responses that it sends in response to requests that match a cache + behavior that's associated with this response headers policy. + + You can use the `Server-Timing` header to view metrics that can help you + gain insights about the behavior and performance of CloudFront. For + example, you can see which cache layer served a cache hit, or the first + byte latency from the origin when there was a cache miss. You can use + the metrics in the `Server-Timing` header to troubleshoot issues or test + the efficiency of your CloudFront configuration. For more information, + see [Server-Timing + header](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#server-timing-header) + in the *Amazon CloudFront Developer Guide*. + """ + + enabled: bool + """ + A Boolean that determines whether CloudFront adds the `Server-Timing` + header to HTTP responses that it sends in response to requests that + match a cache behavior that's associated with this response headers + policy. + """ + sampling_rate: float | None = ... + """ + A number 0--100 (inclusive) that specifies the percentage of responses + that you want CloudFront to add the `Server-Timing` header to. When you + set the sampling rate to 100, CloudFront adds the `Server-Timing` header + to the HTTP response for every request that matches the cache behavior + that this response headers policy is attached to. When you set it to 50, + CloudFront adds the header to 50% of the responses for requests that + match the cache behavior. You can set the sampling rate to any number + 0--100 with up to four decimal places. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicyStrictTransportSecurity(_SerdeShape): + """ + Determines whether CloudFront includes the `Strict-Transport-Security` + HTTP response header and the header's value. + + For more information about the `Strict-Transport-Security` HTTP response + header, see + [Strict-Transport-Security](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) + in the MDN Web Docs. + """ + + override: bool + """ + A Boolean that determines whether CloudFront overrides the + `Strict-Transport-Security` HTTP response header received from the + origin with the one specified in this response headers policy. + """ + include_subdomains: bool | None = ... + """ + A Boolean that determines whether CloudFront includes the + `includeSubDomains` directive in the `Strict-Transport-Security` HTTP + response header. + """ + preload: bool | None = ... + """ + A Boolean that determines whether CloudFront includes the `preload` + directive in the `Strict-Transport-Security` HTTP response header. + """ + access_control_max_age_sec: int + """ + A number that CloudFront uses as the value for the `max-age` directive + in the `Strict-Transport-Security` HTTP response header. + """ + +@dataclass(kw_only=True) +class ResponseHeadersPolicySummary(_SerdeShape): + """Contains a response headers policy.""" + + type: str + """ + The type of response headers policy, either `managed` (created by Amazon + Web Services) or `custom` (created in this Amazon Web Services account). + """ + response_headers_policy: ResponseHeadersPolicy + """The response headers policy.""" + +class ResponseHeadersPolicyType(UnknownEnumMixin, StrEnum): + MANAGED = "managed" + CUSTOM = "custom" + +@dataclass(kw_only=True) +class ResponseHeadersPolicyXSSProtection(_SerdeShape): + """ + Determines whether CloudFront includes the `X-XSS-Protection` HTTP + response header and the header's value. + + For more information about the `X-XSS-Protection` HTTP response header, + see + [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) + in the MDN Web Docs. + """ + + override: bool + """ + A Boolean that determines whether CloudFront overrides the + `X-XSS-Protection` HTTP response header received from the origin with + the one specified in this response headers policy. + """ + protection: bool + """ + A Boolean that determines the value of the `X-XSS-Protection` HTTP + response header. When this setting is `true`, the value of the + `X-XSS-Protection` header is `1`. When this setting is `false`, the + value of the `X-XSS-Protection` header is `0`. + + For more information about these settings, see + [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) + in the MDN Web Docs. + """ + mode_block: bool | None = ... + """ + A Boolean that determines whether CloudFront includes the `mode=block` + directive in the `X-XSS-Protection` header. + + For more information about this directive, see + [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) + in the MDN Web Docs. + """ + report_uri: str | None = ... + """ + A reporting URI, which CloudFront uses as the value of the `report` + directive in the `X-XSS-Protection` header. + + You cannot specify a `ReportUri` when `ModeBlock` is `true`. + + For more information about using a reporting URL, see + [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) + in the MDN Web Docs. + """ + +@dataclass(kw_only=True) +class Restrictions(_SerdeShape): + """ + A complex type that identifies ways in which you want to restrict + distribution of your content. + """ + + geo_restriction: GeoRestriction + """ + A complex type that controls the countries in which your content is + distributed. CloudFront determines the location of your users using + `MaxMind` GeoIP databases. + """ + +@dataclass(kw_only=True) +class S3Origin(_SerdeShape): + """ + A complex type that contains information about the Amazon S3 bucket from + which you want CloudFront to get your media files for distribution. + """ + + domain_name: str + """The DNS name of the Amazon S3 origin.""" + origin_access_identity: str + """ + The CloudFront origin access identity to associate with the + distribution. Use an origin access identity to configure the + distribution so that end users can only access objects in an Amazon S3 + bucket through CloudFront. + + If you want end users to be able to access objects using either the + CloudFront URL or the Amazon S3 URL, specify an empty + `OriginAccessIdentity` element. + + To delete the origin access identity from an existing distribution, + update the distribution configuration and include an empty + `OriginAccessIdentity` element. + + To replace the origin access identity, update the distribution + configuration and specify the new origin access identity. + + For more information, see [Using an Origin Access Identity to Restrict + Access to Your Amazon S3 + Content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class S3OriginConfig(_SerdeShape): + """ + A complex type that contains information about the Amazon S3 origin. If + the origin is a custom origin or an S3 bucket that is configured as a + website endpoint, use the `CustomOriginConfig` element instead. + """ + + origin_access_identity: str = ... + """ + Note: + If you're using origin access control (OAC) instead of origin access + identity, specify an empty `OriginAccessIdentity` element. For more + information, see [Restricting access to an Amazon Web + Services](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html) + in the *Amazon CloudFront Developer Guide*. + + The CloudFront origin access identity to associate with the origin. Use + an origin access identity to configure the origin so that viewers can + *only* access objects in an Amazon S3 bucket through CloudFront. The + format of the value is: + + `origin-access-identity/cloudfront/ID-of-origin-access-identity` + + The ` `*`ID-of-origin-access-identity`*` ` is the value that CloudFront + returned in the `ID` element when you created the origin access + identity. + + If you want viewers to be able to access objects using either the + CloudFront URL or the Amazon S3 URL, specify an empty + `OriginAccessIdentity` element. + + To delete the origin access identity from an existing distribution, + update the distribution configuration and include an empty + `OriginAccessIdentity` element. + + To replace the origin access identity, update the distribution + configuration and specify the new origin access identity. + + For more information about the origin access identity, see [Serving + Private Content through + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) + in the *Amazon CloudFront Developer Guide*. + """ + origin_read_timeout: int | None = ... + """ + Specifies how long, in seconds, CloudFront waits for a response from the + origin. This is also known as the *origin response timeout*. The minimum + timeout is 1 second, the maximum is 120 seconds, and the default (if you + don't specify otherwise) is 30 seconds. + + For more information, see [Response + timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class SessionStickinessConfig(_SerdeShape): + """ + Session stickiness provides the ability to define multiple requests from + a single viewer as a single session. This prevents the potentially + inconsistent experience of sending some of a given user's requests to + your staging distribution, while others are sent to your primary + distribution. Define the session duration using TTL values. + """ + + idle_ttl: int + """ + The amount of time after which you want sessions to cease if no requests + are received. Allowed values are 300--3600 seconds (5--60 minutes). + + The value must be less than or equal to `MaximumTTL`. + """ + maximum_ttl: int + """ + The maximum amount of time to consider requests from the viewer as being + part of the same session. Allowed values are 300--3600 seconds (5--60 + minutes). + + The value must be greater than or equal to `IdleTTL`. + """ + +@dataclass(kw_only=True) +class Signer(_SerdeShape): + """ + A list of Amazon Web Services accounts and the active CloudFront key + pairs in each account that CloudFront can use to verify the signatures + of signed URLs and signed cookies. + """ + + aws_account_number: str | None = ... + """ + An Amazon Web Services account number that contains active CloudFront + key pairs that CloudFront can use to verify the signatures of signed + URLs and signed cookies. If the Amazon Web Services account that owns + the key pairs is the same account that owns the CloudFront distribution, + the value of this field is `self`. + """ + key_pair_ids: KeyPairIds | None = ... + """A list of CloudFront key pair identifiers.""" + +class SslProtocol(UnknownEnumMixin, StrEnum): + SS_LV3 = "SSLv3" + TL_SV1 = "TLSv1" + TL_SV1_1 = "TLSv1.1" + TL_SV1_2 = "TLSv1.2" + +class SSLSupportMethod(UnknownEnumMixin, StrEnum): + SNI_ONLY = "sni-only" + VIP = "vip" + STATIC_IP = "static-ip" + +@dataclass(kw_only=True) +class StagingDistributionDnsNames(_SerdeShape): + """The CloudFront domain name of the staging distribution.""" + + quantity: int + """The number of CloudFront domain names in your staging distribution.""" + items: list[str] | None = ... + """The CloudFront domain name of the staging distribution.""" + +@dataclass(kw_only=True) +class StagingDistributionInUse(ServiceError, _SerdeShape): + """ + A continuous deployment policy for this staging distribution already + exists. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StatusCodes(_SerdeShape): + """ + A complex data type for the status codes that you specify that, when + returned by a primary origin, trigger CloudFront to failover to a second + origin. + """ + + quantity: int + """The number of status codes.""" + items: list[int] + """The items (status codes) for an origin group.""" + +@dataclass(kw_only=True) +class StreamingDistribution(_SerdeShape): + """ + A streaming distribution tells CloudFront where you want RTMP content to + be delivered from, and the details about how to track and manage content + delivery. + """ + + id: str + """ + The identifier for the RTMP distribution. For example: + `EGTXBD79EXAMPLE`. + """ + arn: str + """ + The ARN (Amazon Resource Name) for the distribution. For example: + `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where + `123456789012` is your Amazon Web Services account ID. + """ + status: str + """ + The current status of the RTMP distribution. When the status is + `Deployed`, the distribution's information is propagated to all + CloudFront edge locations. + """ + last_modified_time: datetime | None = ... + """The date and time that the distribution was last modified.""" + domain_name: str + """ + The domain name that corresponds to the streaming distribution, for + example, `s5c39gqb8ow64r.cloudfront.net`. + """ + active_trusted_signers: ActiveTrustedSigners + """ + A complex type that lists the Amazon Web Services accounts, if any, that + you included in the `TrustedSigners` complex type for this distribution. + These are the accounts that you want to allow to create signed URLs for + private content. + + The `Signer` complex type lists the Amazon Web Services account number + of the trusted signer or `self` if the signer is the Amazon Web Services + account that created the distribution. The `Signer` element also + includes the IDs of any active CloudFront key pairs that are associated + with the trusted signer's Amazon Web Services account. If no + `KeyPairId` element appears for a `Signer`, that signer can't create + signed URLs. + + For more information, see [Serving Private Content through + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) + in the *Amazon CloudFront Developer Guide*. + """ + streaming_distribution_config: StreamingDistributionConfig + """The current configuration information for the RTMP distribution.""" + +@dataclass(kw_only=True) +class StreamingDistributionAlreadyExists(ServiceError, _SerdeShape): + """ + The caller reference you attempted to create the streaming distribution + with is associated with another distribution + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StreamingDistributionConfig(_SerdeShape): + """The RTMP distribution's configuration information.""" + + caller_reference: str + """ + A unique value (for example, a date-time stamp) that ensures that the + request can't be replayed. + + If the value of `CallerReference` is new (regardless of the content of + the `StreamingDistributionConfig` object), CloudFront creates a new + distribution. + + If `CallerReference` is a value that you already sent in a previous + request to create a distribution, CloudFront returns a + `DistributionAlreadyExists` error. + """ + s3_origin: S3Origin + """ + A complex type that contains information about the Amazon S3 bucket from + which you want CloudFront to get your media files for distribution. + """ + aliases: Aliases | None = ... + """ + A complex type that contains information about CNAMEs (alternate domain + names), if any, for this streaming distribution. + """ + comment: str + """Any comments you want to include about the streaming distribution.""" + logging: StreamingLoggingConfig | None = ... + """ + A complex type that controls whether access logs are written for the + streaming distribution. + """ + trusted_signers: TrustedSigners + """ + A complex type that specifies any Amazon Web Services accounts that you + want to permit to create signed URLs for private content. If you want + the distribution to use signed URLs, include this element; if you want + the distribution to use public URLs, remove this element. For more + information, see [Serving Private Content through + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) + in the *Amazon CloudFront Developer Guide*. + """ + price_class: str | None = ... + """ + A complex type that contains information about price class for this + streaming distribution. + """ + enabled: bool + """ + Whether the streaming distribution is enabled to accept user requests + for content. + """ + +@dataclass(kw_only=True) +class StreamingDistributionConfigWithTags(_SerdeShape): + """ + A streaming distribution Configuration and a list of tags to be + associated with the streaming distribution. + """ + + streaming_distribution_config: StreamingDistributionConfig + """A streaming distribution Configuration.""" + tags: Tags + """A complex type that contains zero or more `Tag` elements.""" + +@dataclass(kw_only=True) +class StreamingDistributionList(_SerdeShape): + """A streaming distribution list.""" + + marker: str + """The value you provided for the `Marker` request parameter.""" + next_marker: str | None = ... + """ + If `IsTruncated` is `true`, this element is present and contains the + value you can use for the `Marker` request parameter to continue listing + your RTMP distributions where they left off. + """ + max_items: int + """The value you provided for the `MaxItems` request parameter.""" + is_truncated: bool + """ + A flag that indicates whether more streaming distributions remain to be + listed. If your results were truncated, you can make a follow-up + pagination request using the `Marker` request parameter to retrieve more + distributions in the list. + """ + quantity: int + """ + The number of streaming distributions that were created by the current + Amazon Web Services account. + """ + items: list[StreamingDistributionSummary] | None = ... + """ + A complex type that contains one `StreamingDistributionSummary` element + for each distribution that was created by the current Amazon Web + Services account. + """ + +@dataclass(kw_only=True) +class StreamingDistributionNotDisabled(ServiceError, _SerdeShape): + """ + The specified CloudFront distribution is not disabled. You must disable + the distribution before you can delete it. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StreamingDistributionSummary(_SerdeShape): + """A summary of the information for a CloudFront streaming distribution.""" + + id: str + """The identifier for the distribution, for example, `EDFDVBD632BHDS5`.""" + arn: str + """ + The ARN (Amazon Resource Name) for the streaming distribution. For + example: + `arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5`, + where `123456789012` is your Amazon Web Services account ID. + """ + status: str + """ + Indicates the current status of the distribution. When the status is + `Deployed`, the distribution's information is fully propagated + throughout the Amazon CloudFront system. + """ + last_modified_time: datetime + """The date and time the distribution was last modified.""" + domain_name: str + """ + The domain name corresponding to the distribution, for example, + `d111111abcdef8.cloudfront.net`. + """ + s3_origin: S3Origin + """ + A complex type that contains information about the Amazon S3 bucket from + which you want CloudFront to get your media files for distribution. + """ + aliases: Aliases + """ + A complex type that contains information about CNAMEs (alternate domain + names), if any, for this streaming distribution. + """ + trusted_signers: TrustedSigners + """ + A complex type that specifies the Amazon Web Services accounts, if any, + that you want to allow to create signed URLs for private content. If you + want to require signed URLs in requests for objects in the target origin + that match the `PathPattern` for this cache behavior, specify `true` for + `Enabled`, and specify the applicable values for `Quantity` and + `Items`.If you don't want to require signed URLs in requests for + objects that match `PathPattern`, specify `false` for `Enabled` and `0` + for `Quantity`. Omit `Items`. To add, change, or remove one or more + trusted signers, change `Enabled` to `true` (if it's currently + `false`), change `Quantity` as applicable, and specify all of the + trusted signers that you want to include in the updated distribution. + + For more information, see [Serving Private Content through + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) + in the *Amazon CloudFront Developer Guide*. + """ + comment: str + """The comment originally specified when this distribution was created.""" + price_class: str + """ + A complex type that contains information about price class for this + streaming distribution. + """ + enabled: bool + """ + Whether the distribution is enabled to accept end user requests for + content. + """ + +@dataclass(kw_only=True) +class StreamingLoggingConfig(_SerdeShape): + """ + A complex type that controls whether access logs are written for this + streaming distribution. + """ + + enabled: bool + """ + Specifies whether you want CloudFront to save access logs to an Amazon + S3 bucket. If you don't want to enable logging when you create a + streaming distribution or if you want to disable logging for an existing + streaming distribution, specify `false` for `Enabled`, and specify + `empty Bucket` and `Prefix` elements. If you specify `false` for + `Enabled` but you specify values for `Bucket` and `Prefix`, the values + are automatically deleted. + """ + bucket: str + """ + The Amazon S3 bucket to store the access logs in, for example, + `amzn-s3-demo-bucket.s3.amazonaws.com`. + """ + prefix: str + """ + An optional string that you want CloudFront to prefix to the access log + filenames for this streaming distribution, for example, `myprefix/`. If + you want to enable logging, but you don't want to specify a prefix, you + still must include an empty `Prefix` element in the `Logging` element. + """ + +@dataclass(kw_only=True) +class StringSchemaConfig(_SerdeShape): + """The configuration for a string schema.""" + + comment: str | None = ... + """A comment to describe the parameter.""" + default_value: str | None = ... + """The default value of the parameter.""" + required: bool + """Whether the defined parameter is required.""" + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """A complex type that contains `Tag` key and `Tag` value.""" + + key: str + """ + A string that contains `Tag` key. + + The string length should be between 1 and 128 characters. Valid + characters include `a-z`, `A-Z`, `0-9`, space, and the special + characters `_ - . : / = + @`. + """ + value: str | None = ... + """ + A string that contains an optional `Tag` value. + + The string length should be between 0 and 256 characters. Valid + characters include `a-z`, `A-Z`, `0-9`, space, and the special + characters `_ - . : / = + @`. + """ + +@dataclass(kw_only=True) +class TagKeys(_SerdeShape): + """A complex type that contains zero or more `Tag` elements.""" + + items: list[str] | None = ... + """A complex type that contains `Tag` key elements.""" + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """The request to add tags to a CloudFront resource.""" + + resource: str | None = ... + """An ARN of a CloudFront resource.""" + tags: Tags | None = ... + """A complex type that contains zero or more `Tag` elements.""" + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Tags(_SerdeShape): + """A complex type that contains zero or more `Tag` elements.""" + + items: list[Tag] | None = ... + """A complex type that contains `Tag` elements.""" + +@dataclass(kw_only=True) +class TenantConfig(_SerdeShape): + """ + Note: + This field only supports multi-tenant distributions. You can't specify + this field for standard distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + The configuration for a distribution tenant. + """ + + parameter_definitions: list[ParameterDefinition] | None = ... + """The parameters that you specify for a distribution tenant.""" + +@dataclass(kw_only=True) +class TestConnectionFunctionInput(_SerdeShape): + """Dataclass for TestConnectionFunctionInput structure.""" + + id: str | None = ... + """The connection function ID.""" + if_match: str | None = ... + """The current version (`ETag` value) of the connection function.""" + stage: str | None = ... + """The connection function stage.""" + connection_object: bytes | None = ... + """The connection object.""" + +@dataclass(kw_only=True) +class TestConnectionFunctionOutput(_SerdeShape): + """Dataclass for TestConnectionFunctionOutput structure.""" + + connection_function_test_result: ConnectionFunctionTestResult | None = ... + """The connection function test result.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TestFunctionFailed(ServiceError, _SerdeShape): + """The CloudFront function failed.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TestFunctionInput(_SerdeShape): + """Dataclass for TestFunctionInput structure.""" + + name: str | None = ... + """The name of the function that you are testing.""" + if_match: str | None = ... + """ + The current version (`ETag` value) of the function that you are testing, + which you can get using `DescribeFunction`. + """ + stage: str | None = ... + """ + The stage of the function that you are testing, either `DEVELOPMENT` or + `LIVE`. + """ + event_object: bytes | None = ... + """ + The event object to test the function with. For more information about + the structure of the event object, see [Testing + functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class TestFunctionOutput(_SerdeShape): + """Dataclass for TestFunctionOutput structure.""" + + test_result: TestResult | None = ... + """ + An object that represents the result of running the function with the + provided event object. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TestResult(_SerdeShape): + """ + Contains the result of testing a CloudFront function with + `TestFunction`. + """ + + function_summary: FunctionSummary | None = ... + """ + Contains configuration information and metadata about the CloudFront + function that was tested. + """ + compute_utilization: str | None = ... + """ + The amount of time that the function took to run as a percentage of the + maximum allowed time. For example, a compute utilization of 35 means + that the function completed in 35% of the maximum allowed time. + """ + function_execution_logs: list[str] | None = ... + """ + Contains the log lines that the function wrote (if any) when running the + test. + """ + function_error_message: str | None = ... + """ + If the result of testing the function was an error, this field contains + the error message. + """ + function_output: str | None = ... + """ + The event object returned by the function. For more information about + the structure of the event object, see [Event object + structure](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/functions-event-structure.html) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class TooLongCSPInResponseHeadersPolicy(ServiceError, _SerdeShape): + """ + The length of the `Content-Security-Policy` header value in the response + headers policy exceeds the maximum. + + For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyCacheBehaviors(ServiceError, _SerdeShape): + """You cannot create more cache behaviors for the distribution.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyCachePolicies(ServiceError, _SerdeShape): + """ + You have reached the maximum number of cache policies for this Amazon + Web Services account. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyCertificates(ServiceError, _SerdeShape): + """You cannot create anymore custom SSL/TLS certificates.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyCloudFrontOriginAccessIdentities(ServiceError, _SerdeShape): + """ + Processing your request would cause you to exceed the maximum number of + origin access identities allowed. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyContinuousDeploymentPolicies(ServiceError, _SerdeShape): + """ + You have reached the maximum number of continuous deployment policies + for this Amazon Web Services account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyCookieNamesInWhiteList(ServiceError, _SerdeShape): + """ + Your request contains more cookie names in the whitelist than are + allowed per cache behavior. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyCookiesInCachePolicy(ServiceError, _SerdeShape): + """ + The number of cookies in the cache policy exceeds the maximum. For more + information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyCookiesInOriginRequestPolicy(ServiceError, _SerdeShape): + """ + The number of cookies in the origin request policy exceeds the maximum. + For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyCustomHeadersInResponseHeadersPolicy(ServiceError, _SerdeShape): + """ + The number of custom headers in the response headers policy exceeds the + maximum. + + For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionCNAMEs(ServiceError, _SerdeShape): + """Your request contains more CNAMEs than are allowed per distribution.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributions(ServiceError, _SerdeShape): + """ + Processing your request would cause you to exceed the maximum number of + distributions allowed. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionsAssociatedToCachePolicy(ServiceError, _SerdeShape): + """ + The maximum number of distributions have been associated with the + specified cache policy. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionsAssociatedToFieldLevelEncryptionConfig( + ServiceError, _SerdeShape +): + """ + The maximum number of distributions have been associated with the + specified configuration for field-level encryption. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionsAssociatedToKeyGroup(ServiceError, _SerdeShape): + """ + The number of distributions that reference this key group is more than + the maximum allowed. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionsAssociatedToOriginAccessControl(ServiceError, _SerdeShape): + """ + The maximum number of distributions have been associated with the + specified origin access control. + + For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionsAssociatedToOriginRequestPolicy(ServiceError, _SerdeShape): + """ + The maximum number of distributions have been associated with the + specified origin request policy. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionsAssociatedToResponseHeadersPolicy(ServiceError, _SerdeShape): + """ + The maximum number of distributions have been associated with the + specified response headers policy. + + For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionsWithFunctionAssociations(ServiceError, _SerdeShape): + """ + You have reached the maximum number of distributions that are associated + with a CloudFront function. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionsWithLambdaAssociations(ServiceError, _SerdeShape): + """ + Processing your request would cause the maximum number of distributions + with Lambda@Edge function associations per owner to be exceeded. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyDistributionsWithSingleFunctionARN(ServiceError, _SerdeShape): + """ + The maximum number of distributions have been associated with the + specified Lambda@Edge function. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyFieldLevelEncryptionConfigs(ServiceError, _SerdeShape): + """ + The maximum number of configurations for field-level encryption have + been created. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyFieldLevelEncryptionContentTypeProfiles(ServiceError, _SerdeShape): + """ + The maximum number of content type profiles for field-level encryption + have been created. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyFieldLevelEncryptionEncryptionEntities(ServiceError, _SerdeShape): + """ + The maximum number of encryption entities for field-level encryption + have been created. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyFieldLevelEncryptionFieldPatterns(ServiceError, _SerdeShape): + """ + The maximum number of field patterns for field-level encryption have + been created. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyFieldLevelEncryptionProfiles(ServiceError, _SerdeShape): + """ + The maximum number of profiles for field-level encryption have been + created. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyFieldLevelEncryptionQueryArgProfiles(ServiceError, _SerdeShape): + """ + The maximum number of query arg profiles for field-level encryption have + been created. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyFunctionAssociations(ServiceError, _SerdeShape): + """ + You have reached the maximum number of CloudFront function associations + for this distribution. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyFunctions(ServiceError, _SerdeShape): + """ + You have reached the maximum number of CloudFront functions for this + Amazon Web Services account. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyHeadersInCachePolicy(ServiceError, _SerdeShape): + """ + The number of headers in the cache policy exceeds the maximum. For more + information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyHeadersInForwardedValues(ServiceError, _SerdeShape): + """Your request contains too many headers in forwarded values.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyHeadersInOriginRequestPolicy(ServiceError, _SerdeShape): + """ + The number of headers in the origin request policy exceeds the maximum. + For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyInvalidationsInProgress(ServiceError, _SerdeShape): + """ + You have exceeded the maximum number of allowable InProgress + invalidation batch requests, or invalidation objects. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyKeyGroups(ServiceError, _SerdeShape): + """ + You have reached the maximum number of key groups for this Amazon Web + Services account. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyKeyGroupsAssociatedToDistribution(ServiceError, _SerdeShape): + """ + The number of key groups referenced by this distribution is more than + the maximum allowed. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyLambdaFunctionAssociations(ServiceError, _SerdeShape): + """ + Your request contains more Lambda@Edge function associations than are + allowed per distribution. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyOriginAccessControls(ServiceError, _SerdeShape): + """ + The number of origin access controls in your Amazon Web Services account + exceeds the maximum allowed. + + For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyOriginCustomHeaders(ServiceError, _SerdeShape): + """Your request contains too many origin custom headers.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyOriginGroupsPerDistribution(ServiceError, _SerdeShape): + """ + Processing your request would cause you to exceed the maximum number of + origin groups allowed. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyOriginRequestPolicies(ServiceError, _SerdeShape): + """ + You have reached the maximum number of origin request policies for this + Amazon Web Services account. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyOrigins(ServiceError, _SerdeShape): + """You cannot create more origins for the distribution.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyPublicKeys(ServiceError, _SerdeShape): + """ + The maximum number of public keys for field-level encryption have been + created. To create a new public key, delete one of the existing keys. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyPublicKeysInKeyGroup(ServiceError, _SerdeShape): + """ + The number of public keys in this key group is more than the maximum + allowed. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyQueryStringParameters(ServiceError, _SerdeShape): + """Your request contains too many query string parameters.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyQueryStringsInCachePolicy(ServiceError, _SerdeShape): + """ + The number of query strings in the cache policy exceeds the maximum. For + more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyQueryStringsInOriginRequestPolicy(ServiceError, _SerdeShape): + """ + The number of query strings in the origin request policy exceeds the + maximum. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyRealtimeLogConfigs(ServiceError, _SerdeShape): + """ + You have reached the maximum number of real-time log configurations for + this Amazon Web Services account. For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyRemoveHeadersInResponseHeadersPolicy(ServiceError, _SerdeShape): + """ + The number of headers in `RemoveHeadersConfig` in the response headers + policy exceeds the maximum. + + For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyResponseHeadersPolicies(ServiceError, _SerdeShape): + """ + You have reached the maximum number of response headers policies for + this Amazon Web Services account. + + For more information, see + [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) + (formerly known as limits) in the *Amazon CloudFront Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyStreamingDistributionCNAMEs(ServiceError, _SerdeShape): + """Your request contains more CNAMEs than are allowed per distribution.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyStreamingDistributions(ServiceError, _SerdeShape): + """ + Processing your request would cause you to exceed the maximum number of + streaming distributions allowed. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TooManyTrustedSigners(ServiceError, _SerdeShape): + """ + Your request contains more trusted signers than are allowed per + distribution. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TrafficConfig(_SerdeShape): + """The traffic configuration of your continuous deployment.""" + + single_weight_config: ContinuousDeploymentSingleWeightConfig | None = ... + """Contains the percentage of traffic to send to the staging distribution.""" + single_header_config: ContinuousDeploymentSingleHeaderConfig | None = ... + """Determines which HTTP requests are sent to the staging distribution.""" + type: str + """The type of traffic configuration.""" + +@dataclass(kw_only=True) +class TrustedKeyGroupDoesNotExist(ServiceError, _SerdeShape): + """The specified key group does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TrustedKeyGroups(_SerdeShape): + """ + A list of key groups whose public keys CloudFront can use to verify the + signatures of signed URLs and signed cookies. + """ + + enabled: bool + """ + This field is `true` if any of the key groups in the list have public + keys that CloudFront can use to verify the signatures of signed URLs and + signed cookies. If not, this field is `false`. + """ + quantity: int + """The number of key groups in the list.""" + items: list[str] | None = ... + """A list of key groups identifiers.""" + +@dataclass(kw_only=True) +class TrustedSignerDoesNotExist(ServiceError, _SerdeShape): + """One or more of your trusted signers don't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TrustedSigners(_SerdeShape): + """ + A list of Amazon Web Services accounts whose public keys CloudFront can + use to verify the signatures of signed URLs and signed cookies. + """ + + enabled: bool + """ + This field is `true` if any of the Amazon Web Services accounts in the + list are configured as trusted signers. If not, this field is `false`. + """ + quantity: int + """The number of Amazon Web Services accounts in the list.""" + items: list[str] | None = ... + """A list of Amazon Web Services account identifiers.""" + +@dataclass(kw_only=True) +class TrustStore(_SerdeShape): + """A trust store.""" + + id: str | None = ... + """The trust store's ID.""" + arn: str | None = ... + """The trust store's Amazon Resource Name (ARN).""" + name: str | None = ... + """The trust store's name.""" + status: str | None = ... + """The trust store's status.""" + number_of_ca_certificates: int | None = ... + """The trust store's number of CA certificates.""" + last_modified_time: datetime | None = ... + """The trust store's last modified time.""" + reason: str | None = ... + """The trust store's reason.""" + use_client_certificate_ocsp_endpoint: bool | None = ... + """ + A Boolean that determines whether the trust store uses the CA + certificate's OCSP endpoint to check certificate revocation status. + """ + +@dataclass(kw_only=True) +class TrustStoreConfig(_SerdeShape): + """A trust store configuration.""" + + trust_store_id: str + """The trust store ID.""" + advertise_trust_store_ca_names: bool | None = ... + """The configuration to use to advertise trust store CA names.""" + ignore_certificate_expiry: bool | None = ... + """The configuration to use to ignore certificate expiration.""" + +class TrustStoreStatus(UnknownEnumMixin, StrEnum): + PENDING = "pending" + ACTIVE = "active" + FAILED = "failed" + +@dataclass(kw_only=True) +class TrustStoreSummary(_SerdeShape): + """A trust store summary.""" + + id: str + """The trust store's ID.""" + arn: str + """The trust store's Amazon Resource Name (ARN).""" + name: str + """The trust store's name.""" + status: str + """The trust store's status.""" + number_of_ca_certificates: int + """The trust store's number of CA certificates.""" + last_modified_time: datetime + """The trust store's last modified time.""" + reason: str | None = ... + """The trust store's reason.""" + e_tag: str + """The version identifier for the current version of the trust store.""" + +@dataclass(kw_only=True) +class UnsupportedOperation(ServiceError, _SerdeShape): + """This operation is not supported in this Amazon Web Services Region.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """The request to remove tags from a CloudFront resource.""" + + resource: str | None = ... + """An ARN of a CloudFront resource.""" + tag_keys: TagKeys | None = ... + """A complex type that contains zero or more `Tag` key elements.""" + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAnycastIpListInput(_SerdeShape): + """Dataclass for UpdateAnycastIpListInput structure.""" + + id: str | None = ... + """The ID of the Anycast static IP list.""" + ip_address_type: str | None = ... + """ + The IP address type for the Anycast static IP list. You can specify one + of the following options: + + - `ipv4` only + + - `ipv6` only + + - `dualstack` - Allocate a list of both IPv4 and IPv6 addresses + """ + ipam_cidr_configs: list[IpamCidrConfig] | None = ... + """ + A list of IPAM CIDR configurations that specify the IP address ranges + and IPAM pool settings for updating the Anycast static IP list. + """ + if_match: str | None = ... + """ + The current version (ETag value) of the Anycast static IP list that you + are updating. + """ + +@dataclass(kw_only=True) +class UpdateAnycastIpListOutput(_SerdeShape): + """Dataclass for UpdateAnycastIpListOutput structure.""" + + anycast_ip_list: AnycastIpList | None = ... + """ + An Anycast static IP list. For more information, see [Request Anycast + static IPs to use for + allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) + in the *Amazon CloudFront Developer Guide*. + """ + e_tag: str | None = ... + """The current version of the Anycast static IP list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCachePolicyInput(_SerdeShape): + """Dataclass for UpdateCachePolicyInput structure.""" + + cache_policy_config: CachePolicyConfig | None = ... + """A cache policy configuration.""" + id: str | None = ... + """ + The unique identifier for the cache policy that you are updating. The + identifier is returned in a cache behavior's `CachePolicyId` field in + the response to `GetDistributionConfig`. + """ + if_match: str | None = ... + """ + The version of the cache policy that you are updating. The version is + returned in the cache policy's `ETag` field in the response to + `GetCachePolicyConfig`. + """ + +@dataclass(kw_only=True) +class UpdateCachePolicyOutput(_SerdeShape): + """Dataclass for UpdateCachePolicyOutput structure.""" + + cache_policy: CachePolicy | None = ... + """A cache policy.""" + e_tag: str | None = ... + """The current version of the cache policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCloudFrontOriginAccessIdentityInput(_SerdeShape): + """The request to update an origin access identity.""" + + cloud_front_origin_access_identity_config: ( + CloudFrontOriginAccessIdentityConfig | None + ) = ... + """The identity's configuration information.""" + id: str | None = ... + """The identity's id.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + identity's configuration. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class UpdateCloudFrontOriginAccessIdentityOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + cloud_front_origin_access_identity: CloudFrontOriginAccessIdentity | None = ... + """The origin access identity's information.""" + e_tag: str | None = ... + """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateConnectionFunctionInput(_SerdeShape): + """Dataclass for UpdateConnectionFunctionInput structure.""" + + id: str | None = ... + """The connection function ID.""" + if_match: str | None = ... + """ + The current version (`ETag` value) of the connection function you are + updating. + """ + connection_function_config: FunctionConfig | None = ... + """Contains configuration information about a CloudFront function.""" + connection_function_code: bytes | None = ... + """The connection function code.""" + +@dataclass(kw_only=True) +class UpdateConnectionFunctionOutput(_SerdeShape): + """Dataclass for UpdateConnectionFunctionOutput structure.""" + + connection_function_summary: ConnectionFunctionSummary | None = ... + """The connection function summary.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the connection + function. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateConnectionGroupInput(_SerdeShape): + """Dataclass for UpdateConnectionGroupInput structure.""" + + id: str | None = ... + """The ID of the connection group.""" + ipv6_enabled: bool | None = ... + """ + Enable IPv6 for the connection group. For more information, see [Enable + IPv6](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesEnableIPv6) + in the *Amazon CloudFront Developer Guide*. + """ + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + connection group that you're updating. + """ + anycast_ip_list_id: str | None = ... + """The ID of the Anycast static IP list.""" + enabled: bool | None = ... + """Whether the connection group is enabled.""" + +@dataclass(kw_only=True) +class UpdateConnectionGroupOutput(_SerdeShape): + """Dataclass for UpdateConnectionGroupOutput structure.""" + + connection_group: ConnectionGroup | None = ... + """The connection group that you updated.""" + e_tag: str | None = ... + """The current version of the connection group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateContinuousDeploymentPolicyInput(_SerdeShape): + """Dataclass for UpdateContinuousDeploymentPolicyInput structure.""" + + continuous_deployment_policy_config: ContinuousDeploymentPolicyConfig | None = ... + """The continuous deployment policy configuration.""" + id: str | None = ... + """ + The identifier of the continuous deployment policy that you are + updating. + """ + if_match: str | None = ... + """ + The current version (`ETag` value) of the continuous deployment policy + that you are updating. + """ + +@dataclass(kw_only=True) +class UpdateContinuousDeploymentPolicyOutput(_SerdeShape): + """Dataclass for UpdateContinuousDeploymentPolicyOutput structure.""" + + continuous_deployment_policy: ContinuousDeploymentPolicy | None = ... + """A continuous deployment policy.""" + e_tag: str | None = ... + """ + The version identifier for the current version of the continuous + deployment policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDistributionInput(_SerdeShape): + """The request to update a distribution.""" + + distribution_config: DistributionConfig | None = ... + """The distribution's configuration information.""" + id: str | None = ... + """The distribution's id.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + distribution's configuration. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class UpdateDistributionOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + distribution: Distribution | None = ... + """The distribution's information.""" + e_tag: str | None = ... + """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDistributionTenantInput(_SerdeShape): + """Dataclass for UpdateDistributionTenantInput structure.""" + + id: str | None = ... + """The ID of the distribution tenant.""" + distribution_id: str | None = ... + """The ID for the multi-tenant distribution.""" + domains: list[DomainItem] | None = ... + """ + The domains to update for the distribution tenant. A domain object can + contain only a domain property. You must specify at least one domain. + Each distribution tenant can have up to 5 domains. + """ + customizations: Customizations | None = ... + """ + Customizations for the distribution tenant. For each distribution + tenant, you can specify the geographic restrictions, and the Amazon + Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are + specific values that you can override or disable from the multi-tenant + distribution that was used to create the distribution tenant. + """ + parameters: list[Parameter] | None = ... + """ + A list of parameter values to add to the resource. A parameter is + specified as a key-value pair. A valid parameter value must exist for + any parameter that is marked as required in the multi-tenant + distribution. + """ + connection_group_id: str | None = ... + """The ID of the target connection group.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + distribution tenant to update. This value is returned in the response of + the `GetDistributionTenant` API operation. + """ + managed_certificate_request: ManagedCertificateRequest | None = ... + """An object that contains the CloudFront managed ACM certificate request.""" + enabled: bool | None = ... + """ + Indicates whether the distribution tenant should be updated to an + enabled state. If you update the distribution tenant and it's not + enabled, the distribution tenant won't serve traffic. + """ + +@dataclass(kw_only=True) +class UpdateDistributionTenantOutput(_SerdeShape): + """Dataclass for UpdateDistributionTenantOutput structure.""" + + distribution_tenant: DistributionTenant | None = ... + """The distribution tenant that you're updating.""" + e_tag: str | None = ... + """The current version of the distribution tenant.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDistributionWithStagingConfigInput(_SerdeShape): + """Dataclass for UpdateDistributionWithStagingConfigInput structure.""" + + id: str | None = ... + """ + The identifier of the primary distribution to which you are copying a + staging distribution's configuration. + """ + staging_distribution_id: str | None = ... + """ + The identifier of the staging distribution whose configuration you are + copying to the primary distribution. + """ + if_match: str | None = ... + """ + The current versions (`ETag` values) of both primary and staging + distributions. Provide these in the following format: + + `, ` + """ + +@dataclass(kw_only=True) +class UpdateDistributionWithStagingConfigOutput(_SerdeShape): + """Dataclass for UpdateDistributionWithStagingConfigOutput structure.""" + + distribution: Distribution | None = ... + """ + A distribution tells CloudFront where you want content to be delivered + from, and the details about how to track and manage content delivery. + """ + e_tag: str | None = ... + """The current version of the primary distribution (after it's updated).""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDomainAssociationInput(_SerdeShape): + """Dataclass for UpdateDomainAssociationInput structure.""" + + domain: str | None = ... + """The domain to update.""" + target_resource: DistributionResourceId | None = ... + """ + The target standard distribution or distribution tenant resource for the + domain. You can specify either `DistributionId` or + `DistributionTenantId`, but not both. + """ + if_match: str | None = ... + """ + The value of the `ETag` identifier for the standard distribution or + distribution tenant that will be associated with the domain. + """ + +@dataclass(kw_only=True) +class UpdateDomainAssociationOutput(_SerdeShape): + """Dataclass for UpdateDomainAssociationOutput structure.""" + + domain: str | None = ... + """The domain that you're moving.""" + resource_id: str | None = ... + """The intended destination for the domain.""" + e_tag: str | None = ... + """ + The current version of the target standard distribution or distribution + tenant that was associated with the domain. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFieldLevelEncryptionConfigInput(_SerdeShape): + """Dataclass for UpdateFieldLevelEncryptionConfigInput structure.""" + + field_level_encryption_config: FieldLevelEncryptionConfig | None = ... + """Request to update a field-level encryption configuration.""" + id: str | None = ... + """The ID of the configuration you want to update.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + configuration identity to update. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class UpdateFieldLevelEncryptionConfigOutput(_SerdeShape): + """Dataclass for UpdateFieldLevelEncryptionConfigOutput structure.""" + + field_level_encryption: FieldLevelEncryption | None = ... + """Return the results of updating the configuration.""" + e_tag: str | None = ... + """ + The value of the `ETag` header that you received when updating the + configuration. For example: `E2QWRUHAPOMQZL`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFieldLevelEncryptionProfileInput(_SerdeShape): + """Dataclass for UpdateFieldLevelEncryptionProfileInput structure.""" + + field_level_encryption_profile_config: ( + FieldLevelEncryptionProfileConfig | None + ) = ... + """Request to update a field-level encryption profile.""" + id: str | None = ... + """The ID of the field-level encryption profile request.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + profile identity to update. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class UpdateFieldLevelEncryptionProfileOutput(_SerdeShape): + """Dataclass for UpdateFieldLevelEncryptionProfileOutput structure.""" + + field_level_encryption_profile: FieldLevelEncryptionProfile | None = ... + """Return the results of updating the profile.""" + e_tag: str | None = ... + """The result of the field-level encryption profile request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFunctionInput(_SerdeShape): + """Dataclass for UpdateFunctionInput structure.""" + + name: str | None = ... + """The name of the function that you are updating.""" + if_match: str | None = ... + """ + The current version (`ETag` value) of the function that you are + updating, which you can get using `DescribeFunction`. + """ + function_config: FunctionConfig | None = ... + """Configuration information about the function.""" + function_code: bytes | None = ... + """ + The function code. For more information about writing a CloudFront + function, see [Writing function code for CloudFront + Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class UpdateFunctionOutput(_SerdeShape): + """Dataclass for UpdateFunctionOutput structure.""" + + function_summary: FunctionSummary | None = ... + """ + Contains configuration information and metadata about a CloudFront + function. + """ + e_tag: str | None = ... + """ + The version identifier for the current version of the CloudFront + function. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateKeyGroupInput(_SerdeShape): + """Dataclass for UpdateKeyGroupInput structure.""" + + key_group_config: KeyGroupConfig | None = ... + """The key group configuration.""" + id: str | None = ... + """The identifier of the key group that you are updating.""" + if_match: str | None = ... + """ + The version of the key group that you are updating. The version is the + key group's `ETag` value. + """ + +@dataclass(kw_only=True) +class UpdateKeyGroupOutput(_SerdeShape): + """Dataclass for UpdateKeyGroupOutput structure.""" + + key_group: KeyGroup | None = ... + """The key group that was just updated.""" + e_tag: str | None = ... + """The identifier for this version of the key group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateKeyValueStoreInput(_SerdeShape): + """Dataclass for UpdateKeyValueStoreInput structure.""" + + name: str | None = ... + """The name of the key value store to update.""" + comment: str | None = ... + """The comment of the key value store to update.""" + if_match: str | None = ... + """The key value store to update, if a match occurs.""" + +@dataclass(kw_only=True) +class UpdateKeyValueStoreOutput(_SerdeShape): + """Dataclass for UpdateKeyValueStoreOutput structure.""" + + key_value_store: KeyValueStore | None = ... + """The resulting key value store to update.""" + e_tag: str | None = ... + """The `ETag` of the resulting key value store.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateOriginAccessControlInput(_SerdeShape): + """Dataclass for UpdateOriginAccessControlInput structure.""" + + origin_access_control_config: OriginAccessControlConfig | None = ... + """An origin access control.""" + id: str | None = ... + """ + The unique identifier of the origin access control that you are + updating. + """ + if_match: str | None = ... + """ + The current version (`ETag` value) of the origin access control that you + are updating. + """ + +@dataclass(kw_only=True) +class UpdateOriginAccessControlOutput(_SerdeShape): + """Dataclass for UpdateOriginAccessControlOutput structure.""" + + origin_access_control: OriginAccessControl | None = ... + """The origin access control after it has been updated.""" + e_tag: str | None = ... + """The new version of the origin access control after it has been updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateOriginRequestPolicyInput(_SerdeShape): + """Dataclass for UpdateOriginRequestPolicyInput structure.""" + + origin_request_policy_config: OriginRequestPolicyConfig | None = ... + """An origin request policy configuration.""" + id: str | None = ... + """ + The unique identifier for the origin request policy that you are + updating. The identifier is returned in a cache behavior's + `OriginRequestPolicyId` field in the response to + `GetDistributionConfig`. + """ + if_match: str | None = ... + """ + The version of the origin request policy that you are updating. The + version is returned in the origin request policy's `ETag` field in the + response to `GetOriginRequestPolicyConfig`. + """ + +@dataclass(kw_only=True) +class UpdateOriginRequestPolicyOutput(_SerdeShape): + """Dataclass for UpdateOriginRequestPolicyOutput structure.""" + + origin_request_policy: OriginRequestPolicy | None = ... + """An origin request policy.""" + e_tag: str | None = ... + """The current version of the origin request policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatePublicKeyInput(_SerdeShape): + """Dataclass for UpdatePublicKeyInput structure.""" + + public_key_config: PublicKeyConfig | None = ... + """A public key configuration.""" + id: str | None = ... + """The identifier of the public key that you are updating.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + public key to update. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class UpdatePublicKeyOutput(_SerdeShape): + """Dataclass for UpdatePublicKeyOutput structure.""" + + public_key: PublicKey | None = ... + """The public key.""" + e_tag: str | None = ... + """The identifier of the current version of the public key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRealtimeLogConfigInput(_SerdeShape): + """Dataclass for UpdateRealtimeLogConfigInput structure.""" + + end_points: list[EndPoint] | None = ... + """ + Contains information about the Amazon Kinesis data stream where you are + sending real-time log data. + """ + fields: list[str] | None = ... + """ + A list of fields to include in each real-time log record. + + For more information about fields, see [Real-time log configuration + fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) + in the *Amazon CloudFront Developer Guide*. + """ + name: str | None = ... + """The name for this real-time log configuration.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) for this real-time log configuration.""" + sampling_rate: int | None = ... + """ + The sampling rate for this real-time log configuration. The sampling + rate determines the percentage of viewer requests that are represented + in the real-time log data. You must provide an integer between 1 and + 100, inclusive. + """ + +@dataclass(kw_only=True) +class UpdateRealtimeLogConfigOutput(_SerdeShape): + """Dataclass for UpdateRealtimeLogConfigOutput structure.""" + + realtime_log_config: RealtimeLogConfig | None = ... + """A real-time log configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateResponseHeadersPolicyInput(_SerdeShape): + """Dataclass for UpdateResponseHeadersPolicyInput structure.""" + + response_headers_policy_config: ResponseHeadersPolicyConfig | None = ... + """A response headers policy configuration.""" + id: str | None = ... + """The identifier for the response headers policy that you are updating.""" + if_match: str | None = ... + """ + The version of the response headers policy that you are updating. + + The version is returned in the cache policy's `ETag` field in the + response to `GetResponseHeadersPolicyConfig`. + """ + +@dataclass(kw_only=True) +class UpdateResponseHeadersPolicyOutput(_SerdeShape): + """Dataclass for UpdateResponseHeadersPolicyOutput structure.""" + + response_headers_policy: ResponseHeadersPolicy | None = ... + """A response headers policy.""" + e_tag: str | None = ... + """The current version of the response headers policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateStreamingDistributionInput(_SerdeShape): + """The request to update a streaming distribution.""" + + streaming_distribution_config: StreamingDistributionConfig | None = ... + """The streaming distribution's configuration information.""" + id: str | None = ... + """The streaming distribution's id.""" + if_match: str | None = ... + """ + The value of the `ETag` header that you received when retrieving the + streaming distribution's configuration. For example: `E2QWRUHAPOMQZL`. + """ + +@dataclass(kw_only=True) +class UpdateStreamingDistributionOutput(_SerdeShape): + """The returned result of the corresponding request.""" + + streaming_distribution: StreamingDistribution | None = ... + """The streaming distribution's information.""" + e_tag: str | None = ... + """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateTrustStoreInput(_SerdeShape): + """Dataclass for UpdateTrustStoreInput structure.""" + + id: str | None = ... + """The trust store ID.""" + ca_certificates_bundle_source: CaCertificatesBundleSource | None = ... + """The CA certificates bundle source.""" + use_client_certificate_ocsp_endpoint: bool | None = ... + """ + A Boolean that determines whether to use the CA certificate's OCSP + endpoint to check certificate revocation status. + """ + if_match: str | None = ... + """The current version (`ETag` value) of the trust store you are updating.""" + +@dataclass(kw_only=True) +class UpdateTrustStoreOutput(_SerdeShape): + """Dataclass for UpdateTrustStoreOutput structure.""" + + trust_store: TrustStore | None = ... + """The trust store.""" + e_tag: str | None = ... + """The version identifier for the current version of the trust store.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateVpcOriginInput(_SerdeShape): + """Dataclass for UpdateVpcOriginInput structure.""" + + vpc_origin_endpoint_config: VpcOriginEndpointConfig | None = ... + """The VPC origin endpoint configuration.""" + id: str | None = ... + """The VPC origin ID.""" + if_match: str | None = ... + """The VPC origin to update, if a match occurs.""" + +@dataclass(kw_only=True) +class UpdateVpcOriginOutput(_SerdeShape): + """Dataclass for UpdateVpcOriginOutput structure.""" + + vpc_origin: VpcOrigin | None = ... + """The VPC origin.""" + e_tag: str | None = ... + """The VPC origin ETag.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ValidationTokenDetail(_SerdeShape): + """Contains details about the validation token.""" + + domain: str + """The domain name.""" + redirect_to: str | None = ... + """The domain to redirect to.""" + redirect_from: str | None = ... + """The domain to redirect from.""" + +class ValidationTokenHost(UnknownEnumMixin, StrEnum): + CLOUD_FRONT = "cloudfront" + SELF_HOSTED = "self-hosted" + +@dataclass(kw_only=True) +class VerifyDnsConfigurationInput(_SerdeShape): + """Dataclass for VerifyDnsConfigurationInput structure.""" + + domain: str | None = ... + """The domain name that you're verifying.""" + identifier: str | None = ... + """ + The identifier of the distribution tenant. You can specify the ARN, ID, + or name of the distribution tenant. + """ + +@dataclass(kw_only=True) +class VerifyDnsConfigurationOutput(_SerdeShape): + """Dataclass for VerifyDnsConfigurationOutput structure.""" + + dns_configuration_list: list[DnsConfiguration] | None = ... + """ + The list of domain names, their statuses, and a description of each + status. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ViewerCertificate(_SerdeShape): + """ + A complex type that determines the distribution's SSL/TLS configuration + for communicating with viewers. + + If the distribution doesn't use `Aliases` (also known as alternate + domain names or CNAMEs)---that is, if the distribution uses the + CloudFront domain name such as `d111111abcdef8.cloudfront.net`---set + `CloudFrontDefaultCertificate` to `true` and leave all other fields + empty. + + If the distribution uses `Aliases` (alternate domain names or CNAMEs), + use the fields in this type to specify the following settings: + + - Which viewers the distribution accepts HTTPS connections from: only + viewers that support [server name indication + (SNI)](https://en.wikipedia.org/wiki/Server_Name_Indication) + (recommended), or all viewers including those that don't support SNI. + + - To accept HTTPS connections from only viewers that support SNI, set + `SSLSupportMethod` to `sni-only`. This is recommended. Most browsers + and clients support SNI. + + - To accept HTTPS connections from all viewers, including those that + don't support SNI, set `SSLSupportMethod` to `vip`. This is not + recommended, and results in additional monthly charges from + CloudFront. + + - The minimum SSL/TLS protocol version that the distribution can use to + communicate with viewers. To specify a minimum version, choose a value + for `MinimumProtocolVersion`. For more information, see [Security + Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) + in the *Amazon CloudFront Developer Guide*. + + - The location of the SSL/TLS certificate, [Certificate Manager + (ACM)](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html) + (recommended) or [Identity and Access Management + (IAM)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html). + You specify the location by setting a value in one of the following + fields (not both): + + - `ACMCertificateArn` + + - `IAMCertificateId` + + All distributions support HTTPS connections from viewers. To require + viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use + `ViewerProtocolPolicy` in the `CacheBehavior` or `DefaultCacheBehavior`. + To specify how CloudFront should use SSL/TLS to communicate with your + custom origin, use `CustomOriginConfig`. + + For more information, see [Using HTTPS with + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https.html) + and [Using Alternate Domain Names and + HTTPS](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html) + in the *Amazon CloudFront Developer Guide*. + """ + + cloud_front_default_certificate: bool | None = ... + """ + If the distribution uses the CloudFront domain name such as + `d111111abcdef8.cloudfront.net`, set this field to `true`. + + If the distribution uses `Aliases` (alternate domain names or CNAMEs), + set this field to `false` and specify values for the following fields: + + - `ACMCertificateArn` or `IAMCertificateId` (specify a value for one, + not both) + + - `MinimumProtocolVersion` + + - `SSLSupportMethod` + """ + iam_certificate_id: str | None = ... + """ + Note: + This field only supports standard distributions. You can't specify this + field for multi-tenant distributions. For more information, see + [Unsupported features for SaaS Manager for Amazon + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) + in the *Amazon CloudFront Developer Guide*. + + If the distribution uses `Aliases` (alternate domain names or CNAMEs) + and the SSL/TLS certificate is stored in [Identity and Access Management + (IAM)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html), + provide the ID of the IAM certificate. + + If you specify an IAM certificate ID, you must also specify values for + `MinimumProtocolVersion` and `SSLSupportMethod`. + """ + acm_certificate_arn: str | None = ... + """ + If the distribution uses `Aliases` (alternate domain names or CNAMEs) + and the SSL/TLS certificate is stored in [Certificate Manager + (ACM)](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html), + provide the Amazon Resource Name (ARN) of the ACM certificate. + CloudFront only supports ACM certificates in the US East (N. Virginia) + Region (`us-east-1`). + + If you specify an ACM certificate ARN, you must also specify values for + `MinimumProtocolVersion` and `SSLSupportMethod`. + """ + ssl_support_method: str | None = ... + """ + If the distribution uses `Aliases` (alternate domain names or CNAMEs), + specify which viewers the distribution accepts HTTPS connections from. + + - `sni-only` -- The distribution accepts HTTPS connections from only + viewers that support [server name indication + (SNI)](https://en.wikipedia.org/wiki/Server_Name_Indication). This is + recommended. Most browsers and clients support SNI. + + - `vip` -- The distribution accepts HTTPS connections from all viewers + including those that don't support SNI. This is not recommended, and + results in additional monthly charges from CloudFront. + + - `static-ip` - Do not specify this value unless your distribution has + been enabled for this feature by the CloudFront team. If you have a + use case that requires static IP addresses for a distribution, contact + CloudFront through the [Amazon Web ServicesSupport + Center](https://console.aws.amazon.com/support/home). + + If the distribution uses the CloudFront domain name such as + `d111111abcdef8.cloudfront.net`, don't set a value for this field. + """ + minimum_protocol_version: str | None = ... + """ + If the distribution uses `Aliases` (alternate domain names or CNAMEs), + specify the security policy that you want CloudFront to use for HTTPS + connections with viewers. The security policy determines two settings: + + - The minimum SSL/TLS protocol that CloudFront can use to communicate + with viewers. + + - The ciphers that CloudFront can use to encrypt the content that it + returns to viewers. + + For more information, see [Security + Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) + and [Supported Protocols and Ciphers Between Viewers and + CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html#secure-connections-supported-ciphers) + in the *Amazon CloudFront Developer Guide*. + + Note: + On the CloudFront console, this setting is called **Security Policy**. + + When you're using SNI only (you set `SSLSupportMethod` to `sni-only`), + you must specify `TLSv1` or higher. + + If the distribution uses the CloudFront domain name such as + `d111111abcdef8.cloudfront.net` (you set `CloudFrontDefaultCertificate` + to `true`), CloudFront automatically sets the security policy to `TLSv1` + regardless of the value that you set here. + """ + certificate: str | None = ... + """ + This field is deprecated. Use one of the following fields instead: + + - `ACMCertificateArn` + + - `IAMCertificateId` + + - `CloudFrontDefaultCertificate` + """ + certificate_source: str | None = ... + """ + This field is deprecated. Use one of the following fields instead: + + - `ACMCertificateArn` + + - `IAMCertificateId` + + - `CloudFrontDefaultCertificate` + """ + +@dataclass(kw_only=True) +class ViewerMtlsConfig(_SerdeShape): + """A viewer mTLS configuration.""" + + mode: str = ... + """The viewer mTLS mode.""" + trust_store_config: TrustStoreConfig | None = ... + """ + The trust store configuration associated with the viewer mTLS + configuration. + """ + +class ViewerMtlsMode(UnknownEnumMixin, StrEnum): + REQUIRED = "required" + OPTIONAL = "optional" + PASSTHROUGH = "passthrough" + +class ViewerProtocolPolicy(UnknownEnumMixin, StrEnum): + ALLOW_ALL = "allow-all" + HTTPS_ONLY = "https-only" + REDIRECT_TO_HTTPS = "redirect-to-https" + +class VpcIpAddressType(UnknownEnumMixin, StrEnum): + """ + IP address type supported for VPC Origins. IPv6-only is not supported + for VPC Origins. + """ + + IPV4 = "ipv4" + DUAL_STACK = "dualstack" + +@dataclass(kw_only=True) +class VpcOrigin(_SerdeShape): + """An Amazon CloudFront VPC origin.""" + + id: str + """The VPC origin ID.""" + arn: str + """The VPC origin ARN.""" + account_id: str | None = ... + """ + The account ID of the Amazon Web Services account that owns the VPC + origin. + """ + status: str + """The VPC origin status.""" + created_time: datetime + """The VPC origin created time.""" + last_modified_time: datetime + """The VPC origin last modified time.""" + vpc_origin_endpoint_config: VpcOriginEndpointConfig + """The VPC origin endpoint configuration.""" + +@dataclass(kw_only=True) +class VpcOriginConfig(_SerdeShape): + """An Amazon CloudFront VPC origin configuration.""" + + vpc_origin_id: str + """The VPC origin ID.""" + owner_account_id: str | None = ... + """ + The account ID of the Amazon Web Services account that owns the VPC + origin. + """ + origin_read_timeout: int | None = ... + """ + Specifies how long, in seconds, CloudFront waits for a response from the + origin. This is also known as the *origin response timeout*. The minimum + timeout is 1 second, the maximum is 120 seconds, and the default (if you + don't specify otherwise) is 30 seconds. + + For more information, see [Response + timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout) + in the *Amazon CloudFront Developer Guide*. + """ + origin_keepalive_timeout: int | None = ... + """ + Specifies how long, in seconds, CloudFront persists its connection to + the origin. The minimum timeout is 1 second, the maximum is 120 seconds, + and the default (if you don't specify otherwise) is 5 seconds. + + For more information, see [Keep-alive timeout (custom origins + only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout) + in the *Amazon CloudFront Developer Guide*. + """ + +@dataclass(kw_only=True) +class VpcOriginEndpointConfig(_SerdeShape): + """An Amazon CloudFront VPC origin endpoint configuration.""" + + name: str + """The name of the CloudFront VPC origin endpoint configuration.""" + arn: str + """The ARN of the CloudFront VPC origin endpoint configuration.""" + http_port: int + """ + The HTTP port for the CloudFront VPC origin endpoint configuration. The + default value is `80`. + """ + https_port: int + """ + The HTTPS port of the CloudFront VPC origin endpoint configuration. The + default value is `443`. + """ + origin_protocol_policy: str + """ + The origin protocol policy for the CloudFront VPC origin endpoint + configuration. + """ + origin_ssl_protocols: OriginSslProtocols | None = ... + """ + A complex type that contains information about the SSL/TLS protocols + that CloudFront can use when establishing an HTTPS connection with your + origin. + """ + ip_address_type: str | None = ... + """ + The IP address type of the CloudFront VPC origin endpoint configuration. + Valid values are `ipv4` and `dualstack`. IPv6-only is not supported for + VPC origins. + """ + +@dataclass(kw_only=True) +class VpcOriginList(_SerdeShape): + """A list of CloudFront VPC origins.""" + + marker: str + """The marker associated with the VPC origins list.""" + next_marker: str | None = ... + """The next marker associated with the VPC origins list.""" + max_items: int + """The maximum number of items included in the list.""" + is_truncated: bool + """ + A flag that indicates whether more VPC origins remain to be listed. If + your results were truncated, you can make a follow-up pagination request + using the `Marker` request parameter to retrieve more VPC origins in the + list. + """ + quantity: int + """The number of VPC origins in the list.""" + items: list[VpcOriginSummary] | None = ... + """The items of the VPC origins list.""" + +@dataclass(kw_only=True) +class VpcOriginSummary(_SerdeShape): + """A summary of the CloudFront VPC origin.""" + + id: str + """The VPC origin summary ID.""" + name: str + """The VPC origin summary name.""" + status: str + """The VPC origin summary status.""" + created_time: datetime + """The VPC origin summary created time.""" + last_modified_time: datetime + """The VPC origin summary last modified time.""" + arn: str + """The VPC origin summary ARN.""" + account_id: str | None = ... + """ + The account ID of the Amazon Web Services account that owns the VPC + origin. + """ + origin_endpoint_arn: str + """The VPC origin summary origin endpoint ARN.""" + ip_address_type: str | None = ... + """ + The IP address type of the CloudFront VPC origin. Valid values are + `ipv4` and `dualstack`. IPv6-only is not supported for VPC origins. + """ + +@dataclass(kw_only=True) +class WebAclCustomization(_SerdeShape): + """The WAF web ACL customization specified for the distribution tenant.""" + + action: str + """ + The action for the WAF web ACL customization. You can specify `override` + to specify a separate WAF web ACL for the distribution tenant. If you + specify `disable`, the distribution tenant won't have WAF web ACL + protections and won't inherit from the multi-tenant distribution. + """ + arn: str | None = ... + """The Amazon Resource Name (ARN) of the WAF web ACL.""" diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas.py index 30fe2429c..2d2656170 100644 --- a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas.py +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas.py @@ -1,13245 +1,1064 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.cloudfront" -_s = "string" -_ACAHL = "AccessControlAllowHeadersList" -_m = "member" -_sN = "smithy.api#xmlName" -_H = "Header" -_RHPACAMV = "ResponseHeadersPolicyAccessControlAllowMethodsValues" -_GET = "GET" -_sV = "smithy.api#enumValue" -_POST = "POST" -_OPTIONS = "OPTIONS" -_PUT = "PUT" -_DELETE = "DELETE" -_PATCH = "PATCH" -_HEAD = "HEAD" -_ALL = "ALL" -_ACAML = "AccessControlAllowMethodsList" -_M = "Method" -_ACAOL = "AccessControlAllowOriginsList" -_O = "Origin" -_ACEHL = "AccessControlExposeHeadersList" -_AD = "AccessDenied" -_sm = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_Me = "Message" -_b = "boolean" -_KPIL = "KeyPairIdList" -_KPI = "KeyPairId" -_i = "integer" -_KPIe = "KeyPairIds" -_Q = "Quantity" -_smi = "smithy.api#required" -_I = "Items" -_KGKPI = "KGKeyPairIds" -_KGI = "KeyGroupId" -_KGKPIL = "KGKeyPairIdsList" -_KG = "KeyGroup" -_ATKG = "ActiveTrustedKeyGroups" -_E = "Enabled" -_S = "Signer" -_AAN = "AwsAccountNumber" -_SL = "SignerList" -_ATS = "ActiveTrustedSigners" -_AL = "AliasList" -_CNAME = "CNAME" -_A = "Aliases" -_ICPRS = "ICPRecordalStatus" -_APPROVED = "APPROVED" -_SUSPENDED = "SUSPENDED" -_PENDING = "PENDING" -_AICPR = "AliasICPRecordal" -_AICPRl = "AliasICPRecordals" -_aS = "aliasString" -_ML = "MethodsList" -_CM = "CachedMethods" -_AM = "AllowedMethods" -_AI = "AnycastIps" -_AIn = "AnycastIp" -_IAT = "IpAddressType" -_Ip = "Ipv4" -_ip = "ipv4" -_Ipv = "Ipv6" -_ipv = "ipv6" -_DS = "DualStack" -_d = "dualstack" -_ICS = "IpamCidrStatus" -_P = "Provisioned" -_p = "provisioned" -_FP = "FailedProvision" -_fp = "failed-provision" -_Pr = "Provisioning" -_pr = "provisioning" -_D = "Deprovisioned" -_de = "deprovisioned" -_FD = "FailedDeprovision" -_fd = "failed-deprovision" -_De = "Deprovisioning" -_dep = "deprovisioning" -_Ad = "Advertised" -_a = "advertised" -_FA = "FailedAdvertise" -_fa = "failed-advertise" -_Adv = "Advertising" -_ad = "advertising" -_W = "Withdrawn" -_w = "withdrawn" -_FW = "FailedWithdraw" -_fw = "failed-withdraw" -_Wi = "Withdrawing" -_wi = "withdrawing" -_ICC = "IpamCidrConfig" -_C = "Cidr" -_IPA = "IpamPoolArn" -_St = "Status" -_ICCL = "IpamCidrConfigList" -_IC = "IpamConfig" -_ICCp = "IpamCidrConfigs" -_t = "timestamp" -_AILN = "AnycastIpListName" -_AIL = "AnycastIpList" -_Id = "Id" -_N = "Name" -_Ar = "Arn" -_ICp = "IpCount" -_LMT = "LastModifiedTime" -_AILS = "AnycastIpListSummary" -_ET = "ETag" -_AILSn = "AnycastIpListSummaries" -_AILC = "AnycastIpListCollection" -_Ma = "Marker" -_NM = "NextMarker" -_MI = "MaxItems" -_IT = "IsTruncated" -_AAI = "AssociateAliasInput" -_sSI = "smithy.synthetic#originalShapeId" -_cAAR = "com.amazonaws.cloudfront#AssociateAliasRequest" -_smit = "smithy.api#input" -_TDI = "TargetDistributionId" -_sL = "smithy.api#httpLabel" -_Al = "Alias" -_sQ = "smithy.api#httpQuery" -_AAO = "AssociateAliasOutput" -_sU = "smithy.api#Unit" -_smith = "smithy.api#output" -_IU = "IllegalUpdate" -_IA = "InvalidArgument" -_NSD = "NoSuchDistribution" -_TMDCNAME = "TooManyDistributionCNAMEs" -_AA = "AssociateAlias" -_smithy = "smithy.api#http" -_ADTWACLI = "AssociateDistributionTenantWebACLInput" -_cADTWACLR = "com.amazonaws.cloudfront#AssociateDistributionTenantWebACLRequest" -_WACLA = "WebACLArn" -_IM = "IfMatch" -_sH = "smithy.api#httpHeader" -_IM_ = "If-Match" -_ADTWACLO = "AssociateDistributionTenantWebACLOutput" -_cADTWACLRo = "com.amazonaws.cloudfront#AssociateDistributionTenantWebACLResult" -_ELE = "EntityLimitExceeded" -_ENF = "EntityNotFound" -_IIMV = "InvalidIfMatchVersion" -_PF = "PreconditionFailed" -_ADTWACL = "AssociateDistributionTenantWebACL" -_ADWACLI = "AssociateDistributionWebACLInput" -_cADWACLR = "com.amazonaws.cloudfront#AssociateDistributionWebACLRequest" -_ADWACLO = "AssociateDistributionWebACLOutput" -_cADWACLRo = "com.amazonaws.cloudfront#AssociateDistributionWebACLResult" -_ADWACL = "AssociateDistributionWebACL" -_AANL = "AwsAccountNumberList" -_BTL = "BatchTooLarge" -_CCBSL = "CaCertificatesBundleS3Location" -_B = "Bucket" -_K = "Key" -_R = "Region" -_V = "Version" -_CCBS = "CaCertificatesBundleSource" -_l = "long" -_IS = "ItemSelection" -_n = "none" -_wh = "whitelist" -_al = "all" -_CNL = "CookieNameList" -_CN = "CookieNames" -_CP = "CookiePreference" -_F = "Forward" -_WN = "WhitelistedNames" -_HL = "HeaderList" -_He = "Headers" -_QSCKL = "QueryStringCacheKeysList" -_QSCK = "QueryStringCacheKeys" -_FV = "ForwardedValues" -_QS = "QueryString" -_Co = "Cookies" -_ETv = "EventType" -_vr = "viewer_request" -_vr_ = "viewer-request" -_vr__ = "viewer_response" -_vr___ = "viewer-response" -_or = "origin_request" -_or_ = "origin-request" -_or__ = "origin_response" -_or___ = "origin-response" -_FARN = "FunctionARN" -_FAu = "FunctionAssociation" -_FAL = "FunctionAssociationList" -_FAun = "FunctionAssociations" -_GC = "GrpcConfig" -_LFARN = "LambdaFunctionARN" -_LFA = "LambdaFunctionAssociation" -_IB = "IncludeBody" -_LFAL = "LambdaFunctionAssociationList" -_LFAa = "LambdaFunctionAssociations" -_TKGIL = "TrustedKeyGroupIdList" -_TKG = "TrustedKeyGroups" -_TS = "TrustedSigners" -_VPP = "ViewerProtocolPolicy" -_aa = "allow_all" -_aa_ = "allow-all" -_ho = "https_only" -_ho_ = "https-only" -_rth = "redirect_to_https" -_rth_ = "redirect-to-https" -_CB = "CacheBehavior" -_PP = "PathPattern" -_TOI = "TargetOriginId" -_SS = "SmoothStreaming" -_Com = "Compress" -_FLEI = "FieldLevelEncryptionId" -_RLCA = "RealtimeLogConfigArn" -_CPI = "CachePolicyId" -_ORPI = "OriginRequestPolicyId" -_RHPI = "ResponseHeadersPolicyId" -_MTTL = "MinTTL" -_DTTL = "DefaultTTL" -_MTTLa = "MaxTTL" -_CBL = "CacheBehaviorList" -_CBa = "CacheBehaviors" -_CPCB = "CachePolicyCookieBehavior" -_aE = "allExcept" -_CPCC = "CachePolicyCookiesConfig" -_CBo = "CookieBehavior" -_CPHB = "CachePolicyHeaderBehavior" -_CPHC = "CachePolicyHeadersConfig" -_HB = "HeaderBehavior" -_CPQSB = "CachePolicyQueryStringBehavior" -_QSNL = "QueryStringNamesList" -_QSN = "QueryStringNames" -_CPQSC = "CachePolicyQueryStringsConfig" -_QSB = "QueryStringBehavior" -_QSu = "QueryStrings" -_PICKAFTO = "ParametersInCacheKeyAndForwardedToOrigin" -_EAEG = "EnableAcceptEncodingGzip" -_EAEB = "EnableAcceptEncodingBrotli" -_HC = "HeadersConfig" -_CC = "CookiesConfig" -_QSC = "QueryStringsConfig" -_CPC = "CachePolicyConfig" -_Comm = "Comment" -_CPa = "CachePolicy" -_CPAE = "CachePolicyAlreadyExists" -_CPIU = "CachePolicyInUse" -_CPT = "CachePolicyType" -_ma = "managed" -_cu = "custom" -_CPS = "CachePolicySummary" -_T = "Type" -_CPSL = "CachePolicySummaryList" -_CPL = "CachePolicyList" -_CTC = "CacheTagConfig" -_HN = "HeaderName" -_CCIPKF = "CannotChangeImmutablePublicKeyFields" -_CDEWIU = "CannotDeleteEntityWhileInUse" -_CUEWIU = "CannotUpdateEntityWhileInUse" -_Ce = "Certificate" -_CS = "CertificateSource" -_cl = "cloudfront" -_ia = "iam" -_ac = "acm" -_CTLP = "CertificateTransparencyLoggingPreference" -_e = "enabled" -_Di = "Disabled" -_di = "disabled" -_CNAMEAE = "CNAMEAlreadyExists" -_CDI = "CopyDistributionInput" -_cCDR = "com.amazonaws.cloudfront#CopyDistributionRequest" -_PDI = "PrimaryDistributionId" -_Sta = "Staging" -_CR = "CallerReference" -_CT = "CommentType" -_smithya = "smithy.api#sensitive" -_RI = "ResourceId" -_CFA = "ConnectionFunctionAssociation" -_CMo = "ConnectionMode" -_Dir = "Direct" -_dir = "direct" -_TO = "TenantOnly" -_to = "tenant-only" -_CER = "CustomErrorResponse" -_EC = "ErrorCode" -_RPP = "ResponsePagePath" -_RC = "ResponseCode" -_ECMTTL = "ErrorCachingMinTTL" -_CERL = "CustomErrorResponseList" -_CERu = "CustomErrorResponses" -_DCB = "DefaultCacheBehavior" -_HV = "HttpVersion" -_h = "http1_1" -_ht = "http1.1" -_htt = "http2" -_http = "http3" -_httpa = "http2and3" -_LC = "LoggingConfig" -_smithyap = "smithy.api#default" -_ICn = "IncludeCookies" -_v = "" -_Pre = "Prefix" -_SCL = "StatusCodeList" -_SC = "StatusCode" -_SCt = "StatusCodes" -_OGFC = "OriginGroupFailoverCriteria" -_OGM = "OriginGroupMember" -_OI = "OriginId" -_OGML = "OriginGroupMemberList" -_OGMr = "OriginGroupMembers" -_OGSC = "OriginGroupSelectionCriteria" -_Def = "Default" -_def = "default" -_MQB = "MediaQualityBased" -_mqb = "media-quality-based" -_OG = "OriginGroup" -_FC = "FailoverCriteria" -_Mem = "Members" -_SCe = "SelectionCriteria" -_OGL = "OriginGroupList" -_OGr = "OriginGroups" -_sST = "sensitiveStringType" -_OCH = "OriginCustomHeader" -_HVe = "HeaderValue" -_OCHL = "OriginCustomHeadersList" -_CH = "CustomHeaders" -_OMC = "OriginMtlsConfig" -_CCA = "ClientCertificateArn" -_OPP = "OriginProtocolPolicy" -_ho__ = "http_only" -_ho___ = "http-only" -_mv = "match_viewer" -_mv_ = "match-viewer" -_SP = "SslProtocol" -_SSL = "SSLv3" -_TLS = "TLSv1" -_T_ = "TLSv1_1" -_TLSv = "TLSv1.1" -_T__ = "TLSv1_2" -_TLSv_ = "TLSv1.2" -_SPL = "SslProtocolsList" -_OSP = "OriginSslProtocols" -_COC = "CustomOriginConfig" -_HTTPP = "HTTPPort" -_HTTPSP = "HTTPSPort" -_ORT = "OriginReadTimeout" -_OKT = "OriginKeepaliveTimeout" -_OSR = "OriginShieldRegion" -_OS = "OriginShield" -_SOC = "S3OriginConfig" -_OAI = "OriginAccessIdentity" -_VOC = "VpcOriginConfig" -_VOI = "VpcOriginId" -_OAIw = "OwnerAccountId" -_DN = "DomainName" -_OP = "OriginPath" -_CA = "ConnectionAttempts" -_CTo = "ConnectionTimeout" -_RCT = "ResponseCompletionTimeout" -_OACI = "OriginAccessControlId" -_OL = "OriginList" -_Or = "Origins" -_PC = "PriceClass" -_P_ = "PriceClass_100" -_P__ = "PriceClass_200" -_PA = "PriceClass_All" -_No = "None" -_LL = "LocationList" -_L = "Location" -_GRT = "GeoRestrictionType" -_bl = "blacklist" -_GR = "GeoRestriction" -_RT = "RestrictionType" -_Re = "Restrictions" -_PV = "ParameterValue" -_SSC = "StringSchemaConfig" -_DV = "DefaultValue" -_Req = "Required" -_PDS = "ParameterDefinitionSchema" -_SSt = "StringSchema" -_PN = "ParameterName" -_PD = "ParameterDefinition" -_Defi = "Definition" -_PDa = "ParameterDefinitions" -_TC = "TenantConfig" -_SCI = "ServerCertificateId" -_MPV = "MinimumProtocolVersion" -_T___ = "TLSv1_2016" -_T____ = "TLSv1_1_2016" -_T_____ = "TLSv1.1_2016" -_T______ = "TLSv1_2_2018" -_T_______ = "TLSv1.2_2018" -_T________ = "TLSv1_2_2019" -_T_________ = "TLSv1.2_2019" -_T__________ = "TLSv1_2_2021" -_T___________ = "TLSv1.2_2021" -_T____________ = "TLSv1_3_2025" -_T_____________ = "TLSv1.3_2025" -_T______________ = "TLSv1_2_2025" -_T_______________ = "TLSv1.2_2025" -_SSLSM = "SSLSupportMethod" -_so = "sni_only" -_so_ = "sni-only" -_vi = "vip" -_si = "static_ip" -_si_ = "static-ip" -_VC = "ViewerCertificate" -_CFDC = "CloudFrontDefaultCertificate" -_IAMCI = "IAMCertificateId" -_ACMCA = "ACMCertificateArn" -_VMM = "ViewerMtlsMode" -_r = "required" -_Op = "Optional" -_o = "optional" -_Pa = "Passthrough" -_pa = "passthrough" -_TSC = "TrustStoreConfig" -_TSI = "TrustStoreId" -_ATSCN = "AdvertiseTrustStoreCaNames" -_ICE = "IgnoreCertificateExpiry" -_VMC = "ViewerMtlsConfig" -_Mo = "Mode" -_DC = "DistributionConfig" -_DRO = "DefaultRootObject" -_Lo = "Logging" -_WACLI = "WebACLId" -_IIPVE = "IsIPV6Enabled" -_CDPI = "ContinuousDeploymentPolicyId" -_AILI = "AnycastIpListId" -_Dis = "Distribution" -_ARN = "ARN" -_IPIB = "InProgressInvalidationBatches" -_CDO = "CopyDistributionOutput" -_cCDRo = "com.amazonaws.cloudfront#CopyDistributionResult" -_sP = "smithy.api#httpPayload" -_DAE = "DistributionAlreadyExists" -_IFLECAWCB = "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" -_IQ = "InconsistentQuantities" -_IDRO = "InvalidDefaultRootObject" -_IEC = "InvalidErrorCode" -_IFC = "InvalidForwardCookies" -_IFA = "InvalidFunctionAssociation" -_IGRP = "InvalidGeoRestrictionParameter" -_IHFSO = "InvalidHeadersForS3Origin" -_ILFA = "InvalidLambdaFunctionAssociation" -_ILC = "InvalidLocationCode" -_IMPV = "InvalidMinimumProtocolVersion" -_IO = "InvalidOrigin" -_IOAC = "InvalidOriginAccessControl" -_IOAI = "InvalidOriginAccessIdentity" -_IOKT = "InvalidOriginKeepaliveTimeout" -_IORT = "InvalidOriginReadTimeout" -_IPS = "InvalidProtocolSettings" -_IQSP = "InvalidQueryStringParameters" -_IRP = "InvalidRelativePath" -_IRPn = "InvalidRequiredProtocol" -_IRC = "InvalidResponseCode" -_ITTLO = "InvalidTTLOrder" -_IVC = "InvalidViewerCertificate" -_IWACLI = "InvalidWebACLId" -_MB = "MissingBody" -_NSCP = "NoSuchCachePolicy" -_NSFLEC = "NoSuchFieldLevelEncryptionConfig" -_NSO = "NoSuchOrigin" -_NSORP = "NoSuchOriginRequestPolicy" -_NSRLC = "NoSuchRealtimeLogConfig" -_NSRHP = "NoSuchResponseHeadersPolicy" -_RLCOM = "RealtimeLogConfigOwnerMismatch" -_TMCB = "TooManyCacheBehaviors" -_TMC = "TooManyCertificates" -_TMCNIWL = "TooManyCookieNamesInWhiteList" -_TMD = "TooManyDistributions" -_TMDATCP = "TooManyDistributionsAssociatedToCachePolicy" -_TMDATFLEC = "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" -_TMDATKG = "TooManyDistributionsAssociatedToKeyGroup" -_TMDATOAC = "TooManyDistributionsAssociatedToOriginAccessControl" -_TMDATORP = "TooManyDistributionsAssociatedToOriginRequestPolicy" -_TMDATRHP = "TooManyDistributionsAssociatedToResponseHeadersPolicy" -_TMDWFA = "TooManyDistributionsWithFunctionAssociations" -_TMDWLA = "TooManyDistributionsWithLambdaAssociations" -_TMDWSFARN = "TooManyDistributionsWithSingleFunctionARN" -_TMFA = "TooManyFunctionAssociations" -_TMHIFV = "TooManyHeadersInForwardedValues" -_TMKGATD = "TooManyKeyGroupsAssociatedToDistribution" -_TMLFA = "TooManyLambdaFunctionAssociations" -_TMOCH = "TooManyOriginCustomHeaders" -_TMOGPD = "TooManyOriginGroupsPerDistribution" -_TMO = "TooManyOrigins" -_TMQSP = "TooManyQueryStringParameters" -_TMTS = "TooManyTrustedSigners" -_TKGDNE = "TrustedKeyGroupDoesNotExist" -_TSDNE = "TrustedSignerDoesNotExist" -_CD = "CopyDistribution" -_TK = "TagKey" -_TV = "TagValue" -_Ta = "Tag" -_Va = "Value" -_TL = "TagList" -_Tag = "Tags" -_CAILI = "CreateAnycastIpListInput" -_cCAILR = "com.amazonaws.cloudfront#CreateAnycastIpListRequest" -_CAILO = "CreateAnycastIpListOutput" -_cCAILRo = "com.amazonaws.cloudfront#CreateAnycastIpListResult" -_EAE = "EntityAlreadyExists" -_ITn = "InvalidTagging" -_UO = "UnsupportedOperation" -_CAIL = "CreateAnycastIpList" -_CCPI = "CreateCachePolicyInput" -_cCCPR = "com.amazonaws.cloudfront#CreateCachePolicyRequest" -_CCPO = "CreateCachePolicyOutput" -_cCCPRo = "com.amazonaws.cloudfront#CreateCachePolicyResult" -_TMCP = "TooManyCachePolicies" -_TMCICP = "TooManyCookiesInCachePolicy" -_TMHICP = "TooManyHeadersInCachePolicy" -_TMQSICP = "TooManyQueryStringsInCachePolicy" -_CCP = "CreateCachePolicy" -_CFOAIAE = "CloudFrontOriginAccessIdentityAlreadyExists" -_CFOAIC = "CloudFrontOriginAccessIdentityConfig" -_CCFOAII = "CreateCloudFrontOriginAccessIdentityInput" -_cCCFOAIR = "com.amazonaws.cloudfront#CreateCloudFrontOriginAccessIdentityRequest" -_CFOAI = "CloudFrontOriginAccessIdentity" -_SCUI = "S3CanonicalUserId" -_CCFOAIO = "CreateCloudFrontOriginAccessIdentityOutput" -_cCCFOAIRo = "com.amazonaws.cloudfront#CreateCloudFrontOriginAccessIdentityResult" -_TMCFOAI = "TooManyCloudFrontOriginAccessIdentities" -_CCFOAI = "CreateCloudFrontOriginAccessIdentity" -_FB = "FunctionBlob" -_KVSARN = "KeyValueStoreARN" -_KVSA = "KeyValueStoreAssociation" -_KVSAL = "KeyValueStoreAssociationList" -_KVSAe = "KeyValueStoreAssociations" -_FR = "FunctionRuntime" -_cj = "cloudfront_js_1_0" -_cj_ = "cloudfront-js-1.0" -_cj__ = "cloudfront_js_2_0" -_cj___ = "cloudfront-js-2.0" -_FCu = "FunctionConfig" -_Ru = "Runtime" -_FN = "FunctionName" -_CCFI = "CreateConnectionFunctionInput" -_cCCFR = "com.amazonaws.cloudfront#CreateConnectionFunctionRequest" -_CFC = "ConnectionFunctionConfig" -_CFCo = "ConnectionFunctionCode" -_FS = "FunctionStage" -_DEVELOPMENT = "DEVELOPMENT" -_LIVE = "LIVE" -_CFS = "ConnectionFunctionSummary" -_CFAo = "ConnectionFunctionArn" -_Stag = "Stage" -_CTr = "CreatedTime" -_CCFO = "CreateConnectionFunctionOutput" -_cCCFRo = "com.amazonaws.cloudfront#CreateConnectionFunctionResult" -_ESLE = "EntitySizeLimitExceeded" -_CCF = "CreateConnectionFunction" -_CCGI = "CreateConnectionGroupInput" -_cCCGR = "com.amazonaws.cloudfront#CreateConnectionGroupRequest" -_IE = "Ipv6Enabled" -_CG = "ConnectionGroup" -_RE = "RoutingEndpoint" -_ID = "IsDefault" -_CCGO = "CreateConnectionGroupOutput" -_cCCGRo = "com.amazonaws.cloudfront#CreateConnectionGroupResult" -_CCG = "CreateConnectionGroup" -_CDPAE = "ContinuousDeploymentPolicyAlreadyExists" -_SDDNL = "StagingDistributionDnsNameList" -_DNn = "DnsName" -_SDDN = "StagingDistributionDnsNames" -_CDSHC = "ContinuousDeploymentSingleHeaderConfig" -_SSCe = "SessionStickinessConfig" -_ITTL = "IdleTTL" -_MTTLax = "MaximumTTL" -_f = "float" -_CDSWC = "ContinuousDeploymentSingleWeightConfig" -_We = "Weight" -_CDPT = "ContinuousDeploymentPolicyType" -_SW = "SingleWeight" -_SH = "SingleHeader" -_TCr = "TrafficConfig" -_SWC = "SingleWeightConfig" -_SHC = "SingleHeaderConfig" -_CDPC = "ContinuousDeploymentPolicyConfig" -_CCDPI = "CreateContinuousDeploymentPolicyInput" -_cCCDPR = "com.amazonaws.cloudfront#CreateContinuousDeploymentPolicyRequest" -_CDP = "ContinuousDeploymentPolicy" -_CCDPO = "CreateContinuousDeploymentPolicyOutput" -_cCCDPRo = "com.amazonaws.cloudfront#CreateContinuousDeploymentPolicyResult" -_SDIU = "StagingDistributionInUse" -_TMCDP = "TooManyContinuousDeploymentPolicies" -_CCDP = "CreateContinuousDeploymentPolicy" -_CDPIU = "ContinuousDeploymentPolicyInUse" -_CDIr = "CreateDistributionInput" -_cCDRom = "com.amazonaws.cloudfront#CreateDistributionRequest" -_CDOr = "CreateDistributionOutput" -_cCDRoma = "com.amazonaws.cloudfront#CreateDistributionResult" -_IOACl = "IllegalOriginAccessConfiguration" -_IDNFOAC = "InvalidDomainNameForOriginAccessControl" -_NSCDP = "NoSuchContinuousDeploymentPolicy" -_CDr = "CreateDistribution" -_GRC = "GeoRestrictionCustomization" -_Loc = "Locations" -_CAT = "CustomizationActionType" -_ov = "override" -_dis = "disable" -_WAC = "WebAclCustomization" -_Ac = "Action" -_Cu = "Customizations" -_WA = "WebAcl" -_GRe = "GeoRestrictions" -_DI = "DomainItem" -_Do = "Domain" -_DL = "DomainList" -_VTH = "ValidationTokenHost" -_CF = "CloudFront" -_SHe = "SelfHosted" -_sh = "self-hosted" -_MCR = "ManagedCertificateRequest" -_PDN = "PrimaryDomainName" -_Par = "Parameter" -_Para = "Parameters" -_CDTI = "CreateDistributionTenantInput" -_cCDTR = "com.amazonaws.cloudfront#CreateDistributionTenantRequest" -_DIi = "DistributionId" -_Dom = "Domains" -_CGI = "ConnectionGroupId" -_DSo = "DomainStatus" -_Act = "Active" -_act = "active" -_In = "Inactive" -_in = "inactive" -_DR = "DomainResult" -_DRL = "DomainResultList" -_DT = "DistributionTenant" -_CDTO = "CreateDistributionTenantOutput" -_cCDTRo = "com.amazonaws.cloudfront#CreateDistributionTenantResult" -_IAn = "InvalidAssociation" -_CDT = "CreateDistributionTenant" -_DCWT = "DistributionConfigWithTags" -_CDWTI = "CreateDistributionWithTagsInput" -_cCDWTR = "com.amazonaws.cloudfront#CreateDistributionWithTagsRequest" -_CDWTO = "CreateDistributionWithTagsOutput" -_cCDWTRo = "com.amazonaws.cloudfront#CreateDistributionWithTagsResult" -_CDWT = "CreateDistributionWithTags" -_Fo = "Format" -_URLE = "URLEncoded" -_CTP = "ContentTypeProfile" -_PI = "ProfileId" -_CTon = "ContentType" -_CTPL = "ContentTypeProfileList" -_CTPo = "ContentTypeProfiles" -_CTPC = "ContentTypeProfileConfig" -_FWCTIU = "ForwardWhenContentTypeIsUnknown" -_QAP = "QueryArgProfile" -_QA = "QueryArg" -_QAPL = "QueryArgProfileList" -_QAPu = "QueryArgProfiles" -_QAPC = "QueryArgProfileConfig" -_FWQAPIU = "ForwardWhenQueryArgProfileIsUnknown" -_FLEC = "FieldLevelEncryptionConfig" -_CFLECI = "CreateFieldLevelEncryptionConfigInput" -_cCFLECR = "com.amazonaws.cloudfront#CreateFieldLevelEncryptionConfigRequest" -_FLE = "FieldLevelEncryption" -_CFLECO = "CreateFieldLevelEncryptionConfigOutput" -_cCFLECRo = "com.amazonaws.cloudfront#CreateFieldLevelEncryptionConfigResult" -_FLECAE = "FieldLevelEncryptionConfigAlreadyExists" -_NSFLEP = "NoSuchFieldLevelEncryptionProfile" -_QAPE = "QueryArgProfileEmpty" -_TMFLEC = "TooManyFieldLevelEncryptionConfigs" -_TMFLECTP = "TooManyFieldLevelEncryptionContentTypeProfiles" -_TMFLEQAP = "TooManyFieldLevelEncryptionQueryArgProfiles" -_CFLEC = "CreateFieldLevelEncryptionConfig" -_FPL = "FieldPatternList" -_FPi = "FieldPattern" -_FPie = "FieldPatterns" -_EE = "EncryptionEntity" -_PKI = "PublicKeyId" -_PIr = "ProviderId" -_EEL = "EncryptionEntityList" -_EEn = "EncryptionEntities" -_FLEPC = "FieldLevelEncryptionProfileConfig" -_CFLEPI = "CreateFieldLevelEncryptionProfileInput" -_cCFLEPR = "com.amazonaws.cloudfront#CreateFieldLevelEncryptionProfileRequest" -_FLEP = "FieldLevelEncryptionProfile" -_CFLEPO = "CreateFieldLevelEncryptionProfileOutput" -_cCFLEPRo = "com.amazonaws.cloudfront#CreateFieldLevelEncryptionProfileResult" -_FLEPAE = "FieldLevelEncryptionProfileAlreadyExists" -_FLEPSE = "FieldLevelEncryptionProfileSizeExceeded" -_NSPK = "NoSuchPublicKey" -_TMFLEEE = "TooManyFieldLevelEncryptionEncryptionEntities" -_TMFLEFP = "TooManyFieldLevelEncryptionFieldPatterns" -_TMFLEP = "TooManyFieldLevelEncryptionProfiles" -_CFLEP = "CreateFieldLevelEncryptionProfile" -_CFI = "CreateFunctionInput" -_cCFR = "com.amazonaws.cloudfront#CreateFunctionRequest" -_FCun = "FunctionCode" -_FM = "FunctionMetadata" -_FSu = "FunctionSummary" -_CFO = "CreateFunctionOutput" -_cCFRo = "com.amazonaws.cloudfront#CreateFunctionResult" -_FAE = "FunctionAlreadyExists" -_FSLE = "FunctionSizeLimitExceeded" -_TMF = "TooManyFunctions" -_CFr = "CreateFunction" -_PL = "PathList" -_Pat = "Path" -_Path = "Paths" -_IBn = "InvalidationBatch" -_CII = "CreateInvalidationInput" -_cCIR = "com.amazonaws.cloudfront#CreateInvalidationRequest" -_Inv = "Invalidation" -_CTre = "CreateTime" -_CIO = "CreateInvalidationOutput" -_cCIRo = "com.amazonaws.cloudfront#CreateInvalidationResult" -_TMIIP = "TooManyInvalidationsInProgress" -_CI = "CreateInvalidation" -_CIFDTI = "CreateInvalidationForDistributionTenantInput" -_cCIFDTR = "com.amazonaws.cloudfront#CreateInvalidationForDistributionTenantRequest" -_CIFDTO = "CreateInvalidationForDistributionTenantOutput" -_cCIFDTRo = "com.amazonaws.cloudfront#CreateInvalidationForDistributionTenantResult" -_CIFDT = "CreateInvalidationForDistributionTenant" -_PKIL = "PublicKeyIdList" -_PK = "PublicKey" -_KGC = "KeyGroupConfig" -_CKGI = "CreateKeyGroupInput" -_cCKGR = "com.amazonaws.cloudfront#CreateKeyGroupRequest" -_CKGO = "CreateKeyGroupOutput" -_cCKGRo = "com.amazonaws.cloudfront#CreateKeyGroupResult" -_KGAE = "KeyGroupAlreadyExists" -_TMKG = "TooManyKeyGroups" -_TMPKIKG = "TooManyPublicKeysInKeyGroup" -_CKG = "CreateKeyGroup" -_KVSC = "KeyValueStoreComment" -_IST = "ImportSourceType" -_S_ = "S3" -_ISm = "ImportSource" -_ST = "SourceType" -_SARN = "SourceARN" -_KVSN = "KeyValueStoreName" -_CKVSI = "CreateKeyValueStoreInput" -_cCKVSR = "com.amazonaws.cloudfront#CreateKeyValueStoreRequest" -_KVS = "KeyValueStore" -_CKVSO = "CreateKeyValueStoreOutput" -_cCKVSRo = "com.amazonaws.cloudfront#CreateKeyValueStoreResult" -_CKVS = "CreateKeyValueStore" -_RMSS = "RealtimeMetricsSubscriptionStatus" -_RMSC = "RealtimeMetricsSubscriptionConfig" -_MS = "MonitoringSubscription" -_CMSI = "CreateMonitoringSubscriptionInput" -_cCMSR = "com.amazonaws.cloudfront#CreateMonitoringSubscriptionRequest" -_CMSO = "CreateMonitoringSubscriptionOutput" -_cCMSRo = "com.amazonaws.cloudfront#CreateMonitoringSubscriptionResult" -_MSAE = "MonitoringSubscriptionAlreadyExists" -_CMS = "CreateMonitoringSubscription" -_OACOT = "OriginAccessControlOriginTypes" -_s_ = "s3" -_me = "mediastore" -_med = "mediapackagev2" -_la = "lambda" -_OACSB = "OriginAccessControlSigningBehaviors" -_ne = "never" -_alw = "always" -_no = "no_override" -_no_ = "no-override" -_aaa = "always_amz_auth" -_aaa_ = "always-amz-auth" -_OACSP = "OriginAccessControlSigningProtocols" -_sig = "sigv4" -_sigv = "sigv4a" -_OACC = "OriginAccessControlConfig" -_Des = "Description" -_SPi = "SigningProtocol" -_SB = "SigningBehavior" -_OACOTr = "OriginAccessControlOriginType" -_COACI = "CreateOriginAccessControlInput" -_cCOACR = "com.amazonaws.cloudfront#CreateOriginAccessControlRequest" -_OAC = "OriginAccessControl" -_COACO = "CreateOriginAccessControlOutput" -_cCOACRo = "com.amazonaws.cloudfront#CreateOriginAccessControlResult" -_OACAE = "OriginAccessControlAlreadyExists" -_TMOAC = "TooManyOriginAccessControls" -_COAC = "CreateOriginAccessControl" -_ORPCB = "OriginRequestPolicyCookieBehavior" -_ORPCC = "OriginRequestPolicyCookiesConfig" -_ORPHB = "OriginRequestPolicyHeaderBehavior" -_aV = "allViewer" -_aVAWCF = "allViewerAndWhitelistCloudFront" -_ORPHC = "OriginRequestPolicyHeadersConfig" -_ORPQSB = "OriginRequestPolicyQueryStringBehavior" -_ORPQSC = "OriginRequestPolicyQueryStringsConfig" -_ORPC = "OriginRequestPolicyConfig" -_CORPI = "CreateOriginRequestPolicyInput" -_cCORPR = "com.amazonaws.cloudfront#CreateOriginRequestPolicyRequest" -_ORP = "OriginRequestPolicy" -_CORPO = "CreateOriginRequestPolicyOutput" -_cCORPRo = "com.amazonaws.cloudfront#CreateOriginRequestPolicyResult" -_ORPAE = "OriginRequestPolicyAlreadyExists" -_TMCIORP = "TooManyCookiesInOriginRequestPolicy" -_TMHIORP = "TooManyHeadersInOriginRequestPolicy" -_TMORP = "TooManyOriginRequestPolicies" -_TMQSIORP = "TooManyQueryStringsInOriginRequestPolicy" -_CORP = "CreateOriginRequestPolicy" -_PKC = "PublicKeyConfig" -_EK = "EncodedKey" -_CPKI = "CreatePublicKeyInput" -_cCPKR = "com.amazonaws.cloudfront#CreatePublicKeyRequest" -_CPKO = "CreatePublicKeyOutput" -_cCPKRo = "com.amazonaws.cloudfront#CreatePublicKeyResult" -_PKAE = "PublicKeyAlreadyExists" -_TMPK = "TooManyPublicKeys" -_CPK = "CreatePublicKey" -_KSC = "KinesisStreamConfig" -_RARN = "RoleARN" -_SARNt = "StreamARN" -_EP = "EndPoint" -_STt = "StreamType" -_EPL = "EndPointList" -_FL = "FieldList" -_Fi = "Field" -_CRLCI = "CreateRealtimeLogConfigInput" -_cCRLCR = "com.amazonaws.cloudfront#CreateRealtimeLogConfigRequest" -_EPn = "EndPoints" -_Fie = "Fields" -_SR = "SamplingRate" -_RLC = "RealtimeLogConfig" -_CRLCO = "CreateRealtimeLogConfigOutput" -_cCRLCRo = "com.amazonaws.cloudfront#CreateRealtimeLogConfigResult" -_RLCAE = "RealtimeLogConfigAlreadyExists" -_TMRLC = "TooManyRealtimeLogConfigs" -_CRLC = "CreateRealtimeLogConfig" -_RHPACAH = "ResponseHeadersPolicyAccessControlAllowHeaders" -_RHPACAM = "ResponseHeadersPolicyAccessControlAllowMethods" -_RHPACAO = "ResponseHeadersPolicyAccessControlAllowOrigins" -_RHPACEH = "ResponseHeadersPolicyAccessControlExposeHeaders" -_RHPCC = "ResponseHeadersPolicyCorsConfig" -_ACAO = "AccessControlAllowOrigins" -_ACAH = "AccessControlAllowHeaders" -_ACAM = "AccessControlAllowMethods" -_ACAC = "AccessControlAllowCredentials" -_ACEH = "AccessControlExposeHeaders" -_ACMAS = "AccessControlMaxAgeSec" -_OO = "OriginOverride" -_RHPCH = "ResponseHeadersPolicyCustomHeader" -_Ov = "Override" -_RHPCHL = "ResponseHeadersPolicyCustomHeaderList" -_RHPCHC = "ResponseHeadersPolicyCustomHeadersConfig" -_RHPRH = "ResponseHeadersPolicyRemoveHeader" -_RHPRHL = "ResponseHeadersPolicyRemoveHeaderList" -_RHPRHC = "ResponseHeadersPolicyRemoveHeadersConfig" -_RHPCSP = "ResponseHeadersPolicyContentSecurityPolicy" -_CSP = "ContentSecurityPolicy" -_RHPCTO = "ResponseHeadersPolicyContentTypeOptions" -_FOL = "FrameOptionsList" -_DENY = "DENY" -_SAMEORIGIN = "SAMEORIGIN" -_RHPFO = "ResponseHeadersPolicyFrameOptions" -_FO = "FrameOption" -_RPL = "ReferrerPolicyList" -_nr = "no_referrer" -_nr_ = "no-referrer" -_nrwd = "no_referrer_when_downgrade" -_nrwd_ = "no-referrer-when-downgrade" -_ori = "origin" -_owco = "origin_when_cross_origin" -_owco_ = "origin-when-cross-origin" -_so__ = "same_origin" -_so___ = "same-origin" -_so____ = "strict_origin" -_so_____ = "strict-origin" -_sowco = "strict_origin_when_cross_origin" -_sowco_ = "strict-origin-when-cross-origin" -_uu = "unsafe_url" -_uu_ = "unsafe-url" -_RHPRP = "ResponseHeadersPolicyReferrerPolicy" -_RP = "ReferrerPolicy" -_RHPSTS = "ResponseHeadersPolicyStrictTransportSecurity" -_ISn = "IncludeSubdomains" -_Prel = "Preload" -_RHPXSSP = "ResponseHeadersPolicyXSSProtection" -_Pro = "Protection" -_MBo = "ModeBlock" -_RU = "ReportUri" -_RHPSHC = "ResponseHeadersPolicySecurityHeadersConfig" -_XSSP = "XSSProtection" -_FOr = "FrameOptions" -_CTO = "ContentTypeOptions" -_STS = "StrictTransportSecurity" -_RHPSTHC = "ResponseHeadersPolicyServerTimingHeadersConfig" -_RHPC = "ResponseHeadersPolicyConfig" -_CCo = "CorsConfig" -_SHCe = "SecurityHeadersConfig" -_STHC = "ServerTimingHeadersConfig" -_CHC = "CustomHeadersConfig" -_RHC = "RemoveHeadersConfig" -_CRHPI = "CreateResponseHeadersPolicyInput" -_cCRHPR = "com.amazonaws.cloudfront#CreateResponseHeadersPolicyRequest" -_RHP = "ResponseHeadersPolicy" -_CRHPO = "CreateResponseHeadersPolicyOutput" -_cCRHPRo = "com.amazonaws.cloudfront#CreateResponseHeadersPolicyResult" -_RHPAE = "ResponseHeadersPolicyAlreadyExists" -_TLCSPIRHP = "TooLongCSPInResponseHeadersPolicy" -_TMCHIRHP = "TooManyCustomHeadersInResponseHeadersPolicy" -_TMRHIRHP = "TooManyRemoveHeadersInResponseHeadersPolicy" -_TMRHP = "TooManyResponseHeadersPolicies" -_CRHP = "CreateResponseHeadersPolicy" -_SLC = "StreamingLoggingConfig" -_SO = "S3Origin" -_SDC = "StreamingDistributionConfig" -_CSDI = "CreateStreamingDistributionInput" -_cCSDR = "com.amazonaws.cloudfront#CreateStreamingDistributionRequest" -_SD = "StreamingDistribution" -_CSDO = "CreateStreamingDistributionOutput" -_cCSDRo = "com.amazonaws.cloudfront#CreateStreamingDistributionResult" -_SDAE = "StreamingDistributionAlreadyExists" -_TMSDCNAME = "TooManyStreamingDistributionCNAMEs" -_TMSD = "TooManyStreamingDistributions" -_CSD = "CreateStreamingDistribution" -_SDCWT = "StreamingDistributionConfigWithTags" -_CSDWTI = "CreateStreamingDistributionWithTagsInput" -_cCSDWTR = "com.amazonaws.cloudfront#CreateStreamingDistributionWithTagsRequest" -_CSDWTO = "CreateStreamingDistributionWithTagsOutput" -_cCSDWTRo = "com.amazonaws.cloudfront#CreateStreamingDistributionWithTagsResult" -_CSDWT = "CreateStreamingDistributionWithTags" -_CTSI = "CreateTrustStoreInput" -_cCTSR = "com.amazonaws.cloudfront#CreateTrustStoreRequest" -_UCCOCSPE = "UseClientCertificateOCSPEndpoint" -_TSS = "TrustStoreStatus" -_Pe = "Pending" -_pe = "pending" -_Fa = "Failed" -_fai = "failed" -_TSr = "TrustStore" -_NOCC = "NumberOfCaCertificates" -_Rea = "Reason" -_CTSO = "CreateTrustStoreOutput" -_cCTSRo = "com.amazonaws.cloudfront#CreateTrustStoreResult" -_CTS = "CreateTrustStore" -_VIAT = "VpcIpAddressType" -_VOEC = "VpcOriginEndpointConfig" -_CVOI = "CreateVpcOriginInput" -_cCVOR = "com.amazonaws.cloudfront#CreateVpcOriginRequest" -_VO = "VpcOrigin" -_AIc = "AccountId" -_CVOO = "CreateVpcOriginOutput" -_cCVORo = "com.amazonaws.cloudfront#CreateVpcOriginResult" -_CVO = "CreateVpcOrigin" -_DAILI = "DeleteAnycastIpListInput" -_cDAILR = "com.amazonaws.cloudfront#DeleteAnycastIpListRequest" -_DAILO = "DeleteAnycastIpListOutput" -_IDl = "IllegalDelete" -_DAIL = "DeleteAnycastIpList" -_DCPI = "DeleteCachePolicyInput" -_cDCPR = "com.amazonaws.cloudfront#DeleteCachePolicyRequest" -_DCPO = "DeleteCachePolicyOutput" -_DCP = "DeleteCachePolicy" -_CFOAIIU = "CloudFrontOriginAccessIdentityInUse" -_DCFOAII = "DeleteCloudFrontOriginAccessIdentityInput" -_cDCFOAIR = "com.amazonaws.cloudfront#DeleteCloudFrontOriginAccessIdentityRequest" -_DCFOAIO = "DeleteCloudFrontOriginAccessIdentityOutput" -_NSCFOAI = "NoSuchCloudFrontOriginAccessIdentity" -_DCFOAI = "DeleteCloudFrontOriginAccessIdentity" -_DCFI = "DeleteConnectionFunctionInput" -_cDCFR = "com.amazonaws.cloudfront#DeleteConnectionFunctionRequest" -_DCFO = "DeleteConnectionFunctionOutput" -_DCF = "DeleteConnectionFunction" -_DCGI = "DeleteConnectionGroupInput" -_cDCGR = "com.amazonaws.cloudfront#DeleteConnectionGroupRequest" -_DCGO = "DeleteConnectionGroupOutput" -_RND = "ResourceNotDisabled" -_DCG = "DeleteConnectionGroup" -_DCDPI = "DeleteContinuousDeploymentPolicyInput" -_cDCDPR = "com.amazonaws.cloudfront#DeleteContinuousDeploymentPolicyRequest" -_DCDPO = "DeleteContinuousDeploymentPolicyOutput" -_DCDP = "DeleteContinuousDeploymentPolicy" -_DDI = "DeleteDistributionInput" -_cDDR = "com.amazonaws.cloudfront#DeleteDistributionRequest" -_DDO = "DeleteDistributionOutput" -_DND = "DistributionNotDisabled" -_RIU = "ResourceInUse" -_DD = "DeleteDistribution" -_DDTI = "DeleteDistributionTenantInput" -_cDDTR = "com.amazonaws.cloudfront#DeleteDistributionTenantRequest" -_DDTO = "DeleteDistributionTenantOutput" -_DDT = "DeleteDistributionTenant" -_DFLECI = "DeleteFieldLevelEncryptionConfigInput" -_cDFLECR = "com.amazonaws.cloudfront#DeleteFieldLevelEncryptionConfigRequest" -_DFLECO = "DeleteFieldLevelEncryptionConfigOutput" -_FLECIU = "FieldLevelEncryptionConfigInUse" -_DFLEC = "DeleteFieldLevelEncryptionConfig" -_DFLEPI = "DeleteFieldLevelEncryptionProfileInput" -_cDFLEPR = "com.amazonaws.cloudfront#DeleteFieldLevelEncryptionProfileRequest" -_DFLEPO = "DeleteFieldLevelEncryptionProfileOutput" -_FLEPIU = "FieldLevelEncryptionProfileInUse" -_DFLEP = "DeleteFieldLevelEncryptionProfile" -_DFI = "DeleteFunctionInput" -_cDFR = "com.amazonaws.cloudfront#DeleteFunctionRequest" -_DFO = "DeleteFunctionOutput" -_FIU = "FunctionInUse" -_NSFE = "NoSuchFunctionExists" -_DF = "DeleteFunction" -_DKGI = "DeleteKeyGroupInput" -_cDKGR = "com.amazonaws.cloudfront#DeleteKeyGroupRequest" -_DKGO = "DeleteKeyGroupOutput" -_NSR = "NoSuchResource" -_DKG = "DeleteKeyGroup" -_DKVSI = "DeleteKeyValueStoreInput" -_cDKVSR = "com.amazonaws.cloudfront#DeleteKeyValueStoreRequest" -_DKVSO = "DeleteKeyValueStoreOutput" -_DKVS = "DeleteKeyValueStore" -_DMSI = "DeleteMonitoringSubscriptionInput" -_cDMSR = "com.amazonaws.cloudfront#DeleteMonitoringSubscriptionRequest" -_DMSO = "DeleteMonitoringSubscriptionOutput" -_cDMSRo = "com.amazonaws.cloudfront#DeleteMonitoringSubscriptionResult" -_NSMS = "NoSuchMonitoringSubscription" -_DMS = "DeleteMonitoringSubscription" -_DOACI = "DeleteOriginAccessControlInput" -_cDOACR = "com.amazonaws.cloudfront#DeleteOriginAccessControlRequest" -_DOACO = "DeleteOriginAccessControlOutput" -_NSOAC = "NoSuchOriginAccessControl" -_OACIU = "OriginAccessControlInUse" -_DOAC = "DeleteOriginAccessControl" -_DORPI = "DeleteOriginRequestPolicyInput" -_cDORPR = "com.amazonaws.cloudfront#DeleteOriginRequestPolicyRequest" -_DORPO = "DeleteOriginRequestPolicyOutput" -_ORPIU = "OriginRequestPolicyInUse" -_DORP = "DeleteOriginRequestPolicy" -_DPKI = "DeletePublicKeyInput" -_cDPKR = "com.amazonaws.cloudfront#DeletePublicKeyRequest" -_DPKO = "DeletePublicKeyOutput" -_PKIU = "PublicKeyInUse" -_DPK = "DeletePublicKey" -_DRLCI = "DeleteRealtimeLogConfigInput" -_cDRLCR = "com.amazonaws.cloudfront#DeleteRealtimeLogConfigRequest" -_DRLCO = "DeleteRealtimeLogConfigOutput" -_RLCIU = "RealtimeLogConfigInUse" -_DRLC = "DeleteRealtimeLogConfig" -_DRPI = "DeleteResourcePolicyInput" -_cDRPR = "com.amazonaws.cloudfront#DeleteResourcePolicyRequest" -_RA = "ResourceArn" -_DRPO = "DeleteResourcePolicyOutput" -_DRP = "DeleteResourcePolicy" -_DRHPI = "DeleteResponseHeadersPolicyInput" -_cDRHPR = "com.amazonaws.cloudfront#DeleteResponseHeadersPolicyRequest" -_DRHPO = "DeleteResponseHeadersPolicyOutput" -_RHPIU = "ResponseHeadersPolicyInUse" -_DRHP = "DeleteResponseHeadersPolicy" -_DSDI = "DeleteStreamingDistributionInput" -_cDSDR = "com.amazonaws.cloudfront#DeleteStreamingDistributionRequest" -_DSDO = "DeleteStreamingDistributionOutput" -_NSSD = "NoSuchStreamingDistribution" -_SDND = "StreamingDistributionNotDisabled" -_DSD = "DeleteStreamingDistribution" -_DTSI = "DeleteTrustStoreInput" -_cDTSR = "com.amazonaws.cloudfront#DeleteTrustStoreRequest" -_DTSO = "DeleteTrustStoreOutput" -_DTS = "DeleteTrustStore" -_DVOI = "DeleteVpcOriginInput" -_cDVOR = "com.amazonaws.cloudfront#DeleteVpcOriginRequest" -_DVOO = "DeleteVpcOriginOutput" -_cDVORo = "com.amazonaws.cloudfront#DeleteVpcOriginResult" -_DVO = "DeleteVpcOrigin" -_DCFIe = "DescribeConnectionFunctionInput" -_cDCFRo = "com.amazonaws.cloudfront#DescribeConnectionFunctionRequest" -_Ide = "Identifier" -_DCFOe = "DescribeConnectionFunctionOutput" -_cDCFRom = "com.amazonaws.cloudfront#DescribeConnectionFunctionResult" -_DCFe = "DescribeConnectionFunction" -_DFIe = "DescribeFunctionInput" -_cDFRo = "com.amazonaws.cloudfront#DescribeFunctionRequest" -_DFOe = "DescribeFunctionOutput" -_cDFRom = "com.amazonaws.cloudfront#DescribeFunctionResult" -_DFe = "DescribeFunction" -_DKVSIe = "DescribeKeyValueStoreInput" -_cDKVSRo = "com.amazonaws.cloudfront#DescribeKeyValueStoreRequest" -_DKVSOe = "DescribeKeyValueStoreOutput" -_cDKVSRom = "com.amazonaws.cloudfront#DescribeKeyValueStoreResult" -_DKVSe = "DescribeKeyValueStore" -_DDTWACLI = "DisassociateDistributionTenantWebACLInput" -_cDDTWACLR = "com.amazonaws.cloudfront#DisassociateDistributionTenantWebACLRequest" -_DDTWACLO = "DisassociateDistributionTenantWebACLOutput" -_cDDTWACLRo = "com.amazonaws.cloudfront#DisassociateDistributionTenantWebACLResult" -_DDTWACL = "DisassociateDistributionTenantWebACL" -_DDWACLI = "DisassociateDistributionWebACLInput" -_cDDWACLR = "com.amazonaws.cloudfront#DisassociateDistributionWebACLRequest" -_DDWACLO = "DisassociateDistributionWebACLOutput" -_cDDWACLRo = "com.amazonaws.cloudfront#DisassociateDistributionWebACLResult" -_DDWACL = "DisassociateDistributionWebACL" -_GAILI = "GetAnycastIpListInput" -_cGAILR = "com.amazonaws.cloudfront#GetAnycastIpListRequest" -_GAILO = "GetAnycastIpListOutput" -_cGAILRo = "com.amazonaws.cloudfront#GetAnycastIpListResult" -_GAIL = "GetAnycastIpList" -_GCPI = "GetCachePolicyInput" -_cGCPR = "com.amazonaws.cloudfront#GetCachePolicyRequest" -_GCPO = "GetCachePolicyOutput" -_cGCPRo = "com.amazonaws.cloudfront#GetCachePolicyResult" -_GCP = "GetCachePolicy" -_GCPCI = "GetCachePolicyConfigInput" -_cGCPCR = "com.amazonaws.cloudfront#GetCachePolicyConfigRequest" -_GCPCO = "GetCachePolicyConfigOutput" -_cGCPCRo = "com.amazonaws.cloudfront#GetCachePolicyConfigResult" -_GCPC = "GetCachePolicyConfig" -_GCFOAII = "GetCloudFrontOriginAccessIdentityInput" -_cGCFOAIR = "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityRequest" -_GCFOAIO = "GetCloudFrontOriginAccessIdentityOutput" -_cGCFOAIRo = "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityResult" -_GCFOAI = "GetCloudFrontOriginAccessIdentity" -_GCFOAICI = "GetCloudFrontOriginAccessIdentityConfigInput" -_cGCFOAICR = "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityConfigRequest" -_GCFOAICO = "GetCloudFrontOriginAccessIdentityConfigOutput" -_cGCFOAICRo = "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityConfigResult" -_GCFOAIC = "GetCloudFrontOriginAccessIdentityConfig" -_GCFI = "GetConnectionFunctionInput" -_cGCFR = "com.amazonaws.cloudfront#GetConnectionFunctionRequest" -_GCFO = "GetConnectionFunctionOutput" -_cGCFRo = "com.amazonaws.cloudfront#GetConnectionFunctionResult" -_CT_ = "Content-Type" -_GCF = "GetConnectionFunction" -_GCGI = "GetConnectionGroupInput" -_cGCGR = "com.amazonaws.cloudfront#GetConnectionGroupRequest" -_GCGO = "GetConnectionGroupOutput" -_cGCGRo = "com.amazonaws.cloudfront#GetConnectionGroupResult" -_GCG = "GetConnectionGroup" -_GCGBREI = "GetConnectionGroupByRoutingEndpointInput" -_cGCGBRER = "com.amazonaws.cloudfront#GetConnectionGroupByRoutingEndpointRequest" -_GCGBREO = "GetConnectionGroupByRoutingEndpointOutput" -_cGCGBRERo = "com.amazonaws.cloudfront#GetConnectionGroupByRoutingEndpointResult" -_GCGBRE = "GetConnectionGroupByRoutingEndpoint" -_GCDPI = "GetContinuousDeploymentPolicyInput" -_cGCDPR = "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyRequest" -_GCDPO = "GetContinuousDeploymentPolicyOutput" -_cGCDPRo = "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyResult" -_GCDP = "GetContinuousDeploymentPolicy" -_GCDPCI = "GetContinuousDeploymentPolicyConfigInput" -_cGCDPCR = "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyConfigRequest" -_GCDPCO = "GetContinuousDeploymentPolicyConfigOutput" -_cGCDPCRo = "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyConfigResult" -_GCDPC = "GetContinuousDeploymentPolicyConfig" -_GDI = "GetDistributionInput" -_cGDR = "com.amazonaws.cloudfront#GetDistributionRequest" -_GDO = "GetDistributionOutput" -_cGDRo = "com.amazonaws.cloudfront#GetDistributionResult" -_GD = "GetDistribution" -_GDCI = "GetDistributionConfigInput" -_cGDCR = "com.amazonaws.cloudfront#GetDistributionConfigRequest" -_GDCO = "GetDistributionConfigOutput" -_cGDCRo = "com.amazonaws.cloudfront#GetDistributionConfigResult" -_GDC = "GetDistributionConfig" -_GDTI = "GetDistributionTenantInput" -_cGDTR = "com.amazonaws.cloudfront#GetDistributionTenantRequest" -_GDTO = "GetDistributionTenantOutput" -_cGDTRo = "com.amazonaws.cloudfront#GetDistributionTenantResult" -_GDT = "GetDistributionTenant" -_GDTBDI = "GetDistributionTenantByDomainInput" -_cGDTBDR = "com.amazonaws.cloudfront#GetDistributionTenantByDomainRequest" -_do = "domain" -_GDTBDO = "GetDistributionTenantByDomainOutput" -_cGDTBDRo = "com.amazonaws.cloudfront#GetDistributionTenantByDomainResult" -_GDTBD = "GetDistributionTenantByDomain" -_GFLEI = "GetFieldLevelEncryptionInput" -_cGFLER = "com.amazonaws.cloudfront#GetFieldLevelEncryptionRequest" -_GFLEO = "GetFieldLevelEncryptionOutput" -_cGFLERo = "com.amazonaws.cloudfront#GetFieldLevelEncryptionResult" -_GFLE = "GetFieldLevelEncryption" -_GFLECI = "GetFieldLevelEncryptionConfigInput" -_cGFLECR = "com.amazonaws.cloudfront#GetFieldLevelEncryptionConfigRequest" -_GFLECO = "GetFieldLevelEncryptionConfigOutput" -_cGFLECRo = "com.amazonaws.cloudfront#GetFieldLevelEncryptionConfigResult" -_GFLEC = "GetFieldLevelEncryptionConfig" -_GFLEPI = "GetFieldLevelEncryptionProfileInput" -_cGFLEPR = "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileRequest" -_GFLEPO = "GetFieldLevelEncryptionProfileOutput" -_cGFLEPRo = "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileResult" -_GFLEP = "GetFieldLevelEncryptionProfile" -_GFLEPCI = "GetFieldLevelEncryptionProfileConfigInput" -_cGFLEPCR = "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileConfigRequest" -_GFLEPCO = "GetFieldLevelEncryptionProfileConfigOutput" -_cGFLEPCRo = "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileConfigResult" -_GFLEPC = "GetFieldLevelEncryptionProfileConfig" -_GFI = "GetFunctionInput" -_cGFR = "com.amazonaws.cloudfront#GetFunctionRequest" -_GFO = "GetFunctionOutput" -_cGFRo = "com.amazonaws.cloudfront#GetFunctionResult" -_GF = "GetFunction" -_GII = "GetInvalidationInput" -_cGIR = "com.amazonaws.cloudfront#GetInvalidationRequest" -_GIO = "GetInvalidationOutput" -_cGIRo = "com.amazonaws.cloudfront#GetInvalidationResult" -_NSI = "NoSuchInvalidation" -_GI = "GetInvalidation" -_GIFDTI = "GetInvalidationForDistributionTenantInput" -_cGIFDTR = "com.amazonaws.cloudfront#GetInvalidationForDistributionTenantRequest" -_DTI = "DistributionTenantId" -_GIFDTO = "GetInvalidationForDistributionTenantOutput" -_cGIFDTRo = "com.amazonaws.cloudfront#GetInvalidationForDistributionTenantResult" -_GIFDT = "GetInvalidationForDistributionTenant" -_GKGI = "GetKeyGroupInput" -_cGKGR = "com.amazonaws.cloudfront#GetKeyGroupRequest" -_GKGO = "GetKeyGroupOutput" -_cGKGRo = "com.amazonaws.cloudfront#GetKeyGroupResult" -_GKG = "GetKeyGroup" -_GKGCI = "GetKeyGroupConfigInput" -_cGKGCR = "com.amazonaws.cloudfront#GetKeyGroupConfigRequest" -_GKGCO = "GetKeyGroupConfigOutput" -_cGKGCRo = "com.amazonaws.cloudfront#GetKeyGroupConfigResult" -_GKGC = "GetKeyGroupConfig" -_GMCDI = "GetManagedCertificateDetailsInput" -_cGMCDR = "com.amazonaws.cloudfront#GetManagedCertificateDetailsRequest" -_MCS = "ManagedCertificateStatus" -_PVe = "PendingValidation" -_pv = "pending-validation" -_Is = "Issued" -_is = "issued" -_Ex = "Expired" -_ex = "expired" -_VTO = "ValidationTimedOut" -_vto = "validation-timed-out" -_Rev = "Revoked" -_re = "revoked" -_VTD = "ValidationTokenDetail" -_RTe = "RedirectTo" -_RF = "RedirectFrom" -_VTDL = "ValidationTokenDetailList" -_MCD = "ManagedCertificateDetails" -_CAe = "CertificateArn" -_CSe = "CertificateStatus" -_VTDa = "ValidationTokenDetails" -_GMCDO = "GetManagedCertificateDetailsOutput" -_cGMCDRo = "com.amazonaws.cloudfront#GetManagedCertificateDetailsResult" -_GMCD = "GetManagedCertificateDetails" -_GMSI = "GetMonitoringSubscriptionInput" -_cGMSR = "com.amazonaws.cloudfront#GetMonitoringSubscriptionRequest" -_GMSO = "GetMonitoringSubscriptionOutput" -_cGMSRo = "com.amazonaws.cloudfront#GetMonitoringSubscriptionResult" -_GMS = "GetMonitoringSubscription" -_GOACI = "GetOriginAccessControlInput" -_cGOACR = "com.amazonaws.cloudfront#GetOriginAccessControlRequest" -_GOACO = "GetOriginAccessControlOutput" -_cGOACRo = "com.amazonaws.cloudfront#GetOriginAccessControlResult" -_GOAC = "GetOriginAccessControl" -_GOACCI = "GetOriginAccessControlConfigInput" -_cGOACCR = "com.amazonaws.cloudfront#GetOriginAccessControlConfigRequest" -_GOACCO = "GetOriginAccessControlConfigOutput" -_cGOACCRo = "com.amazonaws.cloudfront#GetOriginAccessControlConfigResult" -_GOACC = "GetOriginAccessControlConfig" -_GORPI = "GetOriginRequestPolicyInput" -_cGORPR = "com.amazonaws.cloudfront#GetOriginRequestPolicyRequest" -_GORPO = "GetOriginRequestPolicyOutput" -_cGORPRo = "com.amazonaws.cloudfront#GetOriginRequestPolicyResult" -_GORP = "GetOriginRequestPolicy" -_GORPCI = "GetOriginRequestPolicyConfigInput" -_cGORPCR = "com.amazonaws.cloudfront#GetOriginRequestPolicyConfigRequest" -_GORPCO = "GetOriginRequestPolicyConfigOutput" -_cGORPCRo = "com.amazonaws.cloudfront#GetOriginRequestPolicyConfigResult" -_GORPC = "GetOriginRequestPolicyConfig" -_GPKI = "GetPublicKeyInput" -_cGPKR = "com.amazonaws.cloudfront#GetPublicKeyRequest" -_GPKO = "GetPublicKeyOutput" -_cGPKRo = "com.amazonaws.cloudfront#GetPublicKeyResult" -_GPK = "GetPublicKey" -_GPKCI = "GetPublicKeyConfigInput" -_cGPKCR = "com.amazonaws.cloudfront#GetPublicKeyConfigRequest" -_GPKCO = "GetPublicKeyConfigOutput" -_cGPKCRo = "com.amazonaws.cloudfront#GetPublicKeyConfigResult" -_GPKC = "GetPublicKeyConfig" -_GRLCI = "GetRealtimeLogConfigInput" -_cGRLCR = "com.amazonaws.cloudfront#GetRealtimeLogConfigRequest" -_GRLCO = "GetRealtimeLogConfigOutput" -_cGRLCRo = "com.amazonaws.cloudfront#GetRealtimeLogConfigResult" -_GRLC = "GetRealtimeLogConfig" -_GRPI = "GetResourcePolicyInput" -_cGRPR = "com.amazonaws.cloudfront#GetResourcePolicyRequest" -_GRPO = "GetResourcePolicyOutput" -_cGRPRo = "com.amazonaws.cloudfront#GetResourcePolicyResult" -_PDo = "PolicyDocument" -_GRP = "GetResourcePolicy" -_GRHPI = "GetResponseHeadersPolicyInput" -_cGRHPR = "com.amazonaws.cloudfront#GetResponseHeadersPolicyRequest" -_GRHPO = "GetResponseHeadersPolicyOutput" -_cGRHPRo = "com.amazonaws.cloudfront#GetResponseHeadersPolicyResult" -_GRHP = "GetResponseHeadersPolicy" -_GRHPCI = "GetResponseHeadersPolicyConfigInput" -_cGRHPCR = "com.amazonaws.cloudfront#GetResponseHeadersPolicyConfigRequest" -_GRHPCO = "GetResponseHeadersPolicyConfigOutput" -_cGRHPCRo = "com.amazonaws.cloudfront#GetResponseHeadersPolicyConfigResult" -_GRHPC = "GetResponseHeadersPolicyConfig" -_GSDI = "GetStreamingDistributionInput" -_cGSDR = "com.amazonaws.cloudfront#GetStreamingDistributionRequest" -_GSDO = "GetStreamingDistributionOutput" -_cGSDRo = "com.amazonaws.cloudfront#GetStreamingDistributionResult" -_GSD = "GetStreamingDistribution" -_GSDCI = "GetStreamingDistributionConfigInput" -_cGSDCR = "com.amazonaws.cloudfront#GetStreamingDistributionConfigRequest" -_GSDCO = "GetStreamingDistributionConfigOutput" -_cGSDCRo = "com.amazonaws.cloudfront#GetStreamingDistributionConfigResult" -_GSDC = "GetStreamingDistributionConfig" -_GTSI = "GetTrustStoreInput" -_cGTSR = "com.amazonaws.cloudfront#GetTrustStoreRequest" -_GTSO = "GetTrustStoreOutput" -_cGTSRo = "com.amazonaws.cloudfront#GetTrustStoreResult" -_GTS = "GetTrustStore" -_GVOI = "GetVpcOriginInput" -_cGVOR = "com.amazonaws.cloudfront#GetVpcOriginRequest" -_GVOO = "GetVpcOriginOutput" -_cGVORo = "com.amazonaws.cloudfront#GetVpcOriginResult" -_GVO = "GetVpcOrigin" -_LAILI = "ListAnycastIpListsInput" -_cLAILR = "com.amazonaws.cloudfront#ListAnycastIpListsRequest" -_LAILO = "ListAnycastIpListsOutput" -_cLAILRo = "com.amazonaws.cloudfront#ListAnycastIpListsResult" -_AILn = "AnycastIpLists" -_LAIL = "ListAnycastIpLists" -_LCPI = "ListCachePoliciesInput" -_cLCPR = "com.amazonaws.cloudfront#ListCachePoliciesRequest" -_LCPO = "ListCachePoliciesOutput" -_cLCPRo = "com.amazonaws.cloudfront#ListCachePoliciesResult" -_LCP = "ListCachePolicies" -_LCFOAII = "ListCloudFrontOriginAccessIdentitiesInput" -_cLCFOAIR = "com.amazonaws.cloudfront#ListCloudFrontOriginAccessIdentitiesRequest" -_CFOAIS = "CloudFrontOriginAccessIdentitySummary" -_CFOAISL = "CloudFrontOriginAccessIdentitySummaryList" -_CFOAIL = "CloudFrontOriginAccessIdentityList" -_LCFOAIO = "ListCloudFrontOriginAccessIdentitiesOutput" -_cLCFOAIRo = "com.amazonaws.cloudfront#ListCloudFrontOriginAccessIdentitiesResult" -_LCFOAI = "ListCloudFrontOriginAccessIdentities" -_dIS = "distributionIdString" -_lCAMII = "listConflictingAliasesMaxItemsInteger" -_LCAI = "ListConflictingAliasesInput" -_cLCAR = "com.amazonaws.cloudfront#ListConflictingAliasesRequest" -_CAo = "ConflictingAlias" -_CAon = "ConflictingAliases" -_CAL = "ConflictingAliasesList" -_LCAO = "ListConflictingAliasesOutput" -_cLCARo = "com.amazonaws.cloudfront#ListConflictingAliasesResult" -_LCA = "ListConflictingAliases" -_LCFI = "ListConnectionFunctionsInput" -_cLCFR = "com.amazonaws.cloudfront#ListConnectionFunctionsRequest" -_CFSL = "ConnectionFunctionSummaryList" -_LCFO = "ListConnectionFunctionsOutput" -_cLCFRo = "com.amazonaws.cloudfront#ListConnectionFunctionsResult" -_CFo = "ConnectionFunctions" -_LCF = "ListConnectionFunctions" -_CGAF = "ConnectionGroupAssociationFilter" -_LCGI = "ListConnectionGroupsInput" -_cLCGR = "com.amazonaws.cloudfront#ListConnectionGroupsRequest" -_AF = "AssociationFilter" -_CGS = "ConnectionGroupSummary" -_CGSL = "ConnectionGroupSummaryList" -_LCGO = "ListConnectionGroupsOutput" -_cLCGRo = "com.amazonaws.cloudfront#ListConnectionGroupsResult" -_CGo = "ConnectionGroups" -_LCG = "ListConnectionGroups" -_LCDPI = "ListContinuousDeploymentPoliciesInput" -_cLCDPR = "com.amazonaws.cloudfront#ListContinuousDeploymentPoliciesRequest" -_CDPS = "ContinuousDeploymentPolicySummary" -_CDPSL = "ContinuousDeploymentPolicySummaryList" -_CDPL = "ContinuousDeploymentPolicyList" -_LCDPO = "ListContinuousDeploymentPoliciesOutput" -_cLCDPRo = "com.amazonaws.cloudfront#ListContinuousDeploymentPoliciesResult" -_LCDP = "ListContinuousDeploymentPolicies" -_LDI = "ListDistributionsInput" -_cLDR = "com.amazonaws.cloudfront#ListDistributionsRequest" -_DSi = "DistributionSummary" -_DSL = "DistributionSummaryList" -_DLi = "DistributionList" -_LDO = "ListDistributionsOutput" -_cLDRo = "com.amazonaws.cloudfront#ListDistributionsResult" -_LD = "ListDistributions" -_LDBAILII = "ListDistributionsByAnycastIpListIdInput" -_cLDBAILIR = "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListIdRequest" -_LDBAILIO = "ListDistributionsByAnycastIpListIdOutput" -_cLDBAILIRo = "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListIdResult" -_LDBAILI = "ListDistributionsByAnycastIpListId" -_LDBCPII = "ListDistributionsByCachePolicyIdInput" -_cLDBCPIR = "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdRequest" -_DILS = "DistributionIdListSummary" -_DIL = "DistributionIdList" -_LDBCPIO = "ListDistributionsByCachePolicyIdOutput" -_cLDBCPIRo = "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdResult" -_LDBCPI = "ListDistributionsByCachePolicyId" -_LDBCFI = "ListDistributionsByConnectionFunctionInput" -_cLDBCFR = "com.amazonaws.cloudfront#ListDistributionsByConnectionFunctionRequest" -_CFIo = "ConnectionFunctionIdentifier" -_LDBCFO = "ListDistributionsByConnectionFunctionOutput" -_cLDBCFRo = "com.amazonaws.cloudfront#ListDistributionsByConnectionFunctionResult" -_LDBCF = "ListDistributionsByConnectionFunction" -_LDBCMI = "ListDistributionsByConnectionModeInput" -_cLDBCMR = "com.amazonaws.cloudfront#ListDistributionsByConnectionModeRequest" -_LDBCMO = "ListDistributionsByConnectionModeOutput" -_cLDBCMRo = "com.amazonaws.cloudfront#ListDistributionsByConnectionModeResult" -_LDBCM = "ListDistributionsByConnectionMode" -_LDBKGI = "ListDistributionsByKeyGroupInput" -_cLDBKGR = "com.amazonaws.cloudfront#ListDistributionsByKeyGroupRequest" -_LDBKGO = "ListDistributionsByKeyGroupOutput" -_cLDBKGRo = "com.amazonaws.cloudfront#ListDistributionsByKeyGroupResult" -_LDBKG = "ListDistributionsByKeyGroup" -_LDBORPII = "ListDistributionsByOriginRequestPolicyIdInput" -_cLDBORPIR = "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyIdRequest" -_LDBORPIO = "ListDistributionsByOriginRequestPolicyIdOutput" -_cLDBORPIRo = "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyIdResult" -_LDBORPI = "ListDistributionsByOriginRequestPolicyId" -_LDBORI = "ListDistributionsByOwnedResourceInput" -_cLDBORR = "com.amazonaws.cloudfront#ListDistributionsByOwnedResourceRequest" -_DIO = "DistributionIdOwner" -_DIOIL = "DistributionIdOwnerItemList" -_DIOL = "DistributionIdOwnerList" -_LDBORO = "ListDistributionsByOwnedResourceOutput" -_cLDBORRo = "com.amazonaws.cloudfront#ListDistributionsByOwnedResourceResult" -_LDBOR = "ListDistributionsByOwnedResource" -_LDBRLCI = "ListDistributionsByRealtimeLogConfigInput" -_cLDBRLCR = "com.amazonaws.cloudfront#ListDistributionsByRealtimeLogConfigRequest" -_RLCN = "RealtimeLogConfigName" -_LDBRLCO = "ListDistributionsByRealtimeLogConfigOutput" -_cLDBRLCRo = "com.amazonaws.cloudfront#ListDistributionsByRealtimeLogConfigResult" -_LDBRLC = "ListDistributionsByRealtimeLogConfig" -_LDBRHPII = "ListDistributionsByResponseHeadersPolicyIdInput" -_cLDBRHPIR = ( - "com.amazonaws.cloudfront#ListDistributionsByResponseHeadersPolicyIdRequest" -) -_LDBRHPIO = "ListDistributionsByResponseHeadersPolicyIdOutput" -_cLDBRHPIRo = ( - "com.amazonaws.cloudfront#ListDistributionsByResponseHeadersPolicyIdResult" -) -_LDBRHPI = "ListDistributionsByResponseHeadersPolicyId" -_LDBTSI = "ListDistributionsByTrustStoreInput" -_cLDBTSR = "com.amazonaws.cloudfront#ListDistributionsByTrustStoreRequest" -_TSIr = "TrustStoreIdentifier" -_LDBTSO = "ListDistributionsByTrustStoreOutput" -_cLDBTSRo = "com.amazonaws.cloudfront#ListDistributionsByTrustStoreResult" -_LDBTS = "ListDistributionsByTrustStore" -_LDBVOII = "ListDistributionsByVpcOriginIdInput" -_cLDBVOIR = "com.amazonaws.cloudfront#ListDistributionsByVpcOriginIdRequest" -_LDBVOIO = "ListDistributionsByVpcOriginIdOutput" -_cLDBVOIRo = "com.amazonaws.cloudfront#ListDistributionsByVpcOriginIdResult" -_LDBVOI = "ListDistributionsByVpcOriginId" -_LDBWACLII = "ListDistributionsByWebACLIdInput" -_cLDBWACLIR = "com.amazonaws.cloudfront#ListDistributionsByWebACLIdRequest" -_LDBWACLIO = "ListDistributionsByWebACLIdOutput" -_cLDBWACLIRo = "com.amazonaws.cloudfront#ListDistributionsByWebACLIdResult" -_LDBWACLI = "ListDistributionsByWebACLId" -_DTAF = "DistributionTenantAssociationFilter" -_LDTI = "ListDistributionTenantsInput" -_cLDTR = "com.amazonaws.cloudfront#ListDistributionTenantsRequest" -_DTSi = "DistributionTenantSummary" -_DTL = "DistributionTenantList" -_LDTO = "ListDistributionTenantsOutput" -_cLDTRo = "com.amazonaws.cloudfront#ListDistributionTenantsResult" -_LDT = "ListDistributionTenants" -_LDTBCI = "ListDistributionTenantsByCustomizationInput" -_cLDTBCR = "com.amazonaws.cloudfront#ListDistributionTenantsByCustomizationRequest" -_LDTBCO = "ListDistributionTenantsByCustomizationOutput" -_cLDTBCRo = "com.amazonaws.cloudfront#ListDistributionTenantsByCustomizationResult" -_LDTBC = "ListDistributionTenantsByCustomization" -_DRI = "DistributionResourceId" -_LDCI = "ListDomainConflictsInput" -_cLDCR = "com.amazonaws.cloudfront#ListDomainConflictsRequest" -_DCVR = "DomainControlValidationResource" -_DRT = "DistributionResourceType" -_dist = "distribution" -_dt = "distribution-tenant" -_DCo = "DomainConflict" -_RTes = "ResourceType" -_DCL = "DomainConflictsList" -_DCom = "DomainConflicts" -_LDCO = "ListDomainConflictsOutput" -_cLDCRo = "com.amazonaws.cloudfront#ListDomainConflictsResult" -_LDC = "ListDomainConflicts" -_LFLECI = "ListFieldLevelEncryptionConfigsInput" -_cLFLECR = "com.amazonaws.cloudfront#ListFieldLevelEncryptionConfigsRequest" -_FLES = "FieldLevelEncryptionSummary" -_FLESL = "FieldLevelEncryptionSummaryList" -_FLEL = "FieldLevelEncryptionList" -_LFLECO = "ListFieldLevelEncryptionConfigsOutput" -_cLFLECRo = "com.amazonaws.cloudfront#ListFieldLevelEncryptionConfigsResult" -_LFLEC = "ListFieldLevelEncryptionConfigs" -_LFLEPI = "ListFieldLevelEncryptionProfilesInput" -_cLFLEPR = "com.amazonaws.cloudfront#ListFieldLevelEncryptionProfilesRequest" -_FLEPS = "FieldLevelEncryptionProfileSummary" -_FLEPSL = "FieldLevelEncryptionProfileSummaryList" -_FLEPL = "FieldLevelEncryptionProfileList" -_LFLEPO = "ListFieldLevelEncryptionProfilesOutput" -_cLFLEPRo = "com.amazonaws.cloudfront#ListFieldLevelEncryptionProfilesResult" -_LFLEP = "ListFieldLevelEncryptionProfiles" -_LFI = "ListFunctionsInput" -_cLFR = "com.amazonaws.cloudfront#ListFunctionsRequest" -_FSL = "FunctionSummaryList" -_FLu = "FunctionList" -_LFO = "ListFunctionsOutput" -_cLFRo = "com.amazonaws.cloudfront#ListFunctionsResult" -_LF = "ListFunctions" -_LII = "ListInvalidationsInput" -_cLIR = "com.amazonaws.cloudfront#ListInvalidationsRequest" -_ISnv = "InvalidationSummary" -_ISL = "InvalidationSummaryList" -_IL = "InvalidationList" -_LIO = "ListInvalidationsOutput" -_cLIRo = "com.amazonaws.cloudfront#ListInvalidationsResult" -_LI = "ListInvalidations" -_LIFDTI = "ListInvalidationsForDistributionTenantInput" -_cLIFDTR = "com.amazonaws.cloudfront#ListInvalidationsForDistributionTenantRequest" -_LIFDTO = "ListInvalidationsForDistributionTenantOutput" -_cLIFDTRo = "com.amazonaws.cloudfront#ListInvalidationsForDistributionTenantResult" -_LIFDT = "ListInvalidationsForDistributionTenant" -_LKGI = "ListKeyGroupsInput" -_cLKGR = "com.amazonaws.cloudfront#ListKeyGroupsRequest" -_KGS = "KeyGroupSummary" -_KGSL = "KeyGroupSummaryList" -_KGL = "KeyGroupList" -_LKGO = "ListKeyGroupsOutput" -_cLKGRo = "com.amazonaws.cloudfront#ListKeyGroupsResult" -_LKG = "ListKeyGroups" -_LKVSI = "ListKeyValueStoresInput" -_cLKVSR = "com.amazonaws.cloudfront#ListKeyValueStoresRequest" -_KVSSL = "KeyValueStoreSummaryList" -_KVSL = "KeyValueStoreList" -_LKVSO = "ListKeyValueStoresOutput" -_cLKVSRo = "com.amazonaws.cloudfront#ListKeyValueStoresResult" -_LKVS = "ListKeyValueStores" -_LOACI = "ListOriginAccessControlsInput" -_cLOACR = "com.amazonaws.cloudfront#ListOriginAccessControlsRequest" -_OACS = "OriginAccessControlSummary" -_OACSL = "OriginAccessControlSummaryList" -_OACL = "OriginAccessControlList" -_LOACO = "ListOriginAccessControlsOutput" -_cLOACRo = "com.amazonaws.cloudfront#ListOriginAccessControlsResult" -_LOAC = "ListOriginAccessControls" -_ORPT = "OriginRequestPolicyType" -_LORPI = "ListOriginRequestPoliciesInput" -_cLORPR = "com.amazonaws.cloudfront#ListOriginRequestPoliciesRequest" -_ORPS = "OriginRequestPolicySummary" -_ORPSL = "OriginRequestPolicySummaryList" -_ORPL = "OriginRequestPolicyList" -_LORPO = "ListOriginRequestPoliciesOutput" -_cLORPRo = "com.amazonaws.cloudfront#ListOriginRequestPoliciesResult" -_LORP = "ListOriginRequestPolicies" -_LPKI = "ListPublicKeysInput" -_cLPKR = "com.amazonaws.cloudfront#ListPublicKeysRequest" -_PKS = "PublicKeySummary" -_PKSL = "PublicKeySummaryList" -_PKL = "PublicKeyList" -_LPKO = "ListPublicKeysOutput" -_cLPKRo = "com.amazonaws.cloudfront#ListPublicKeysResult" -_LPK = "ListPublicKeys" -_LRLCI = "ListRealtimeLogConfigsInput" -_cLRLCR = "com.amazonaws.cloudfront#ListRealtimeLogConfigsRequest" -_RLCL = "RealtimeLogConfigList" -_RLCe = "RealtimeLogConfigs" -_LRLCO = "ListRealtimeLogConfigsOutput" -_cLRLCRo = "com.amazonaws.cloudfront#ListRealtimeLogConfigsResult" -_LRLC = "ListRealtimeLogConfigs" -_RHPT = "ResponseHeadersPolicyType" -_LRHPI = "ListResponseHeadersPoliciesInput" -_cLRHPR = "com.amazonaws.cloudfront#ListResponseHeadersPoliciesRequest" -_RHPS = "ResponseHeadersPolicySummary" -_RHPSL = "ResponseHeadersPolicySummaryList" -_RHPL = "ResponseHeadersPolicyList" -_LRHPO = "ListResponseHeadersPoliciesOutput" -_cLRHPRo = "com.amazonaws.cloudfront#ListResponseHeadersPoliciesResult" -_LRHP = "ListResponseHeadersPolicies" -_LSDI = "ListStreamingDistributionsInput" -_cLSDR = "com.amazonaws.cloudfront#ListStreamingDistributionsRequest" -_SDS = "StreamingDistributionSummary" -_SDSL = "StreamingDistributionSummaryList" -_SDL = "StreamingDistributionList" -_LSDO = "ListStreamingDistributionsOutput" -_cLSDRo = "com.amazonaws.cloudfront#ListStreamingDistributionsResult" -_LSD = "ListStreamingDistributions" -_RARNe = "ResourceARN" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.cloudfront#ListTagsForResourceRequest" -_Res = "Resource" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.cloudfront#ListTagsForResourceResult" -_LTFR = "ListTagsForResource" -_LTSI = "ListTrustStoresInput" -_cLTSR = "com.amazonaws.cloudfront#ListTrustStoresRequest" -_TSSr = "TrustStoreSummary" -_TSL = "TrustStoreList" -_LTSO = "ListTrustStoresOutput" -_cLTSRo = "com.amazonaws.cloudfront#ListTrustStoresResult" -_LTS = "ListTrustStores" -_LVOI = "ListVpcOriginsInput" -_cLVOR = "com.amazonaws.cloudfront#ListVpcOriginsRequest" -_VOS = "VpcOriginSummary" -_OEA = "OriginEndpointArn" -_VOSL = "VpcOriginSummaryList" -_VOL = "VpcOriginList" -_LVOO = "ListVpcOriginsOutput" -_cLVORo = "com.amazonaws.cloudfront#ListVpcOriginsResult" -_LVO = "ListVpcOrigins" -_PCFI = "PublishConnectionFunctionInput" -_cPCFR = "com.amazonaws.cloudfront#PublishConnectionFunctionRequest" -_PCFO = "PublishConnectionFunctionOutput" -_cPCFRo = "com.amazonaws.cloudfront#PublishConnectionFunctionResult" -_PCF = "PublishConnectionFunction" -_PFI = "PublishFunctionInput" -_cPFR = "com.amazonaws.cloudfront#PublishFunctionRequest" -_PFO = "PublishFunctionOutput" -_cPFRo = "com.amazonaws.cloudfront#PublishFunctionResult" -_PFu = "PublishFunction" -_PRPI = "PutResourcePolicyInput" -_cPRPR = "com.amazonaws.cloudfront#PutResourcePolicyRequest" -_PRPO = "PutResourcePolicyOutput" -_cPRPRo = "com.amazonaws.cloudfront#PutResourcePolicyResult" -_PRP = "PutResourcePolicy" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.cloudfront#TagResourceRequest" -_TRO = "TagResourceOutput" -_TR = "TagResource" -_FEO = "FunctionEventObject" -_TCFI = "TestConnectionFunctionInput" -_cTCFR = "com.amazonaws.cloudfront#TestConnectionFunctionRequest" -_CO = "ConnectionObject" -_FELL = "FunctionExecutionLogList" -_CFTR = "ConnectionFunctionTestResult" -_CU = "ComputeUtilization" -_CFEL = "ConnectionFunctionExecutionLogs" -_CFEM = "ConnectionFunctionErrorMessage" -_CFOo = "ConnectionFunctionOutput" -_TCFO = "TestConnectionFunctionOutput" -_cTCFRo = "com.amazonaws.cloudfront#TestConnectionFunctionResult" -_TFF = "TestFunctionFailed" -_se = "server" -_TCF = "TestConnectionFunction" -_TFI = "TestFunctionInput" -_cTFR = "com.amazonaws.cloudfront#TestFunctionRequest" -_EO = "EventObject" -_TRe = "TestResult" -_FEL = "FunctionExecutionLogs" -_FEM = "FunctionErrorMessage" -_FOu = "FunctionOutput" -_TFO = "TestFunctionOutput" -_cTFRo = "com.amazonaws.cloudfront#TestFunctionResult" -_TF = "TestFunction" -_TKL = "TagKeyList" -_TKa = "TagKeys" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.cloudfront#UntagResourceRequest" -_URO = "UntagResourceOutput" -_UR = "UntagResource" -_UAILI = "UpdateAnycastIpListInput" -_cUAILR = "com.amazonaws.cloudfront#UpdateAnycastIpListRequest" -_UAILO = "UpdateAnycastIpListOutput" -_cUAILRo = "com.amazonaws.cloudfront#UpdateAnycastIpListResult" -_UAIL = "UpdateAnycastIpList" -_UCPI = "UpdateCachePolicyInput" -_cUCPR = "com.amazonaws.cloudfront#UpdateCachePolicyRequest" -_UCPO = "UpdateCachePolicyOutput" -_cUCPRo = "com.amazonaws.cloudfront#UpdateCachePolicyResult" -_UCP = "UpdateCachePolicy" -_UCFOAII = "UpdateCloudFrontOriginAccessIdentityInput" -_cUCFOAIR = "com.amazonaws.cloudfront#UpdateCloudFrontOriginAccessIdentityRequest" -_UCFOAIO = "UpdateCloudFrontOriginAccessIdentityOutput" -_cUCFOAIRo = "com.amazonaws.cloudfront#UpdateCloudFrontOriginAccessIdentityResult" -_UCFOAI = "UpdateCloudFrontOriginAccessIdentity" -_UCFI = "UpdateConnectionFunctionInput" -_cUCFR = "com.amazonaws.cloudfront#UpdateConnectionFunctionRequest" -_UCFO = "UpdateConnectionFunctionOutput" -_cUCFRo = "com.amazonaws.cloudfront#UpdateConnectionFunctionResult" -_UCF = "UpdateConnectionFunction" -_UCGI = "UpdateConnectionGroupInput" -_cUCGR = "com.amazonaws.cloudfront#UpdateConnectionGroupRequest" -_UCGO = "UpdateConnectionGroupOutput" -_cUCGRo = "com.amazonaws.cloudfront#UpdateConnectionGroupResult" -_UCG = "UpdateConnectionGroup" -_UCDPI = "UpdateContinuousDeploymentPolicyInput" -_cUCDPR = "com.amazonaws.cloudfront#UpdateContinuousDeploymentPolicyRequest" -_UCDPO = "UpdateContinuousDeploymentPolicyOutput" -_cUCDPRo = "com.amazonaws.cloudfront#UpdateContinuousDeploymentPolicyResult" -_UCDP = "UpdateContinuousDeploymentPolicy" -_UDI = "UpdateDistributionInput" -_cUDR = "com.amazonaws.cloudfront#UpdateDistributionRequest" -_UDO = "UpdateDistributionOutput" -_cUDRo = "com.amazonaws.cloudfront#UpdateDistributionResult" -_UD = "UpdateDistribution" -_UDTI = "UpdateDistributionTenantInput" -_cUDTR = "com.amazonaws.cloudfront#UpdateDistributionTenantRequest" -_UDTO = "UpdateDistributionTenantOutput" -_cUDTRo = "com.amazonaws.cloudfront#UpdateDistributionTenantResult" -_UDT = "UpdateDistributionTenant" -_UDWSCI = "UpdateDistributionWithStagingConfigInput" -_cUDWSCR = "com.amazonaws.cloudfront#UpdateDistributionWithStagingConfigRequest" -_SDI = "StagingDistributionId" -_UDWSCO = "UpdateDistributionWithStagingConfigOutput" -_cUDWSCRo = "com.amazonaws.cloudfront#UpdateDistributionWithStagingConfigResult" -_UDWSC = "UpdateDistributionWithStagingConfig" -_UDAI = "UpdateDomainAssociationInput" -_cUDAR = "com.amazonaws.cloudfront#UpdateDomainAssociationRequest" -_TRa = "TargetResource" -_UDAO = "UpdateDomainAssociationOutput" -_cUDARo = "com.amazonaws.cloudfront#UpdateDomainAssociationResult" -_UDA = "UpdateDomainAssociation" -_UFLECI = "UpdateFieldLevelEncryptionConfigInput" -_cUFLECR = "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionConfigRequest" -_UFLECO = "UpdateFieldLevelEncryptionConfigOutput" -_cUFLECRo = "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionConfigResult" -_UFLEC = "UpdateFieldLevelEncryptionConfig" -_UFLEPI = "UpdateFieldLevelEncryptionProfileInput" -_cUFLEPR = "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionProfileRequest" -_UFLEPO = "UpdateFieldLevelEncryptionProfileOutput" -_cUFLEPRo = "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionProfileResult" -_UFLEP = "UpdateFieldLevelEncryptionProfile" -_UFI = "UpdateFunctionInput" -_cUFR = "com.amazonaws.cloudfront#UpdateFunctionRequest" -_UFO = "UpdateFunctionOutput" -_cUFRo = "com.amazonaws.cloudfront#UpdateFunctionResult" -_ETt = "ETtag" -_UF = "UpdateFunction" -_UKGI = "UpdateKeyGroupInput" -_cUKGR = "com.amazonaws.cloudfront#UpdateKeyGroupRequest" -_UKGO = "UpdateKeyGroupOutput" -_cUKGRo = "com.amazonaws.cloudfront#UpdateKeyGroupResult" -_UKG = "UpdateKeyGroup" -_UKVSI = "UpdateKeyValueStoreInput" -_cUKVSR = "com.amazonaws.cloudfront#UpdateKeyValueStoreRequest" -_UKVSO = "UpdateKeyValueStoreOutput" -_cUKVSRo = "com.amazonaws.cloudfront#UpdateKeyValueStoreResult" -_UKVS = "UpdateKeyValueStore" -_UOACI = "UpdateOriginAccessControlInput" -_cUOACR = "com.amazonaws.cloudfront#UpdateOriginAccessControlRequest" -_UOACO = "UpdateOriginAccessControlOutput" -_cUOACRo = "com.amazonaws.cloudfront#UpdateOriginAccessControlResult" -_UOAC = "UpdateOriginAccessControl" -_UORPI = "UpdateOriginRequestPolicyInput" -_cUORPR = "com.amazonaws.cloudfront#UpdateOriginRequestPolicyRequest" -_UORPO = "UpdateOriginRequestPolicyOutput" -_cUORPRo = "com.amazonaws.cloudfront#UpdateOriginRequestPolicyResult" -_UORP = "UpdateOriginRequestPolicy" -_UPKI = "UpdatePublicKeyInput" -_cUPKR = "com.amazonaws.cloudfront#UpdatePublicKeyRequest" -_UPKO = "UpdatePublicKeyOutput" -_cUPKRo = "com.amazonaws.cloudfront#UpdatePublicKeyResult" -_UPK = "UpdatePublicKey" -_URLCI = "UpdateRealtimeLogConfigInput" -_cURLCR = "com.amazonaws.cloudfront#UpdateRealtimeLogConfigRequest" -_URLCO = "UpdateRealtimeLogConfigOutput" -_cURLCRo = "com.amazonaws.cloudfront#UpdateRealtimeLogConfigResult" -_URLC = "UpdateRealtimeLogConfig" -_URHPI = "UpdateResponseHeadersPolicyInput" -_cURHPR = "com.amazonaws.cloudfront#UpdateResponseHeadersPolicyRequest" -_URHPO = "UpdateResponseHeadersPolicyOutput" -_cURHPRo = "com.amazonaws.cloudfront#UpdateResponseHeadersPolicyResult" -_URHP = "UpdateResponseHeadersPolicy" -_USDI = "UpdateStreamingDistributionInput" -_cUSDR = "com.amazonaws.cloudfront#UpdateStreamingDistributionRequest" -_USDO = "UpdateStreamingDistributionOutput" -_cUSDRo = "com.amazonaws.cloudfront#UpdateStreamingDistributionResult" -_USD = "UpdateStreamingDistribution" -_UTSI = "UpdateTrustStoreInput" -_cUTSR = "com.amazonaws.cloudfront#UpdateTrustStoreRequest" -_UTSO = "UpdateTrustStoreOutput" -_cUTSRo = "com.amazonaws.cloudfront#UpdateTrustStoreResult" -_UTS = "UpdateTrustStore" -_UVOI = "UpdateVpcOriginInput" -_cUVOR = "com.amazonaws.cloudfront#UpdateVpcOriginRequest" -_UVOO = "UpdateVpcOriginOutput" -_cUVORo = "com.amazonaws.cloudfront#UpdateVpcOriginResult" -_UVO = "UpdateVpcOrigin" -_VDCI = "VerifyDnsConfigurationInput" -_cVDCR = "com.amazonaws.cloudfront#VerifyDnsConfigurationRequest" -_DCS = "DnsConfigurationStatus" -_Val = "Valid" -_vc = "valid-configuration" -_Inva = "Invalid" -_ic = "invalid-configuration" -_U = "Unknown" -_uc = "unknown-configuration" -_DCn = "DnsConfiguration" -_DCLn = "DnsConfigurationList" -_VDCO = "VerifyDnsConfigurationOutput" -_cVDCRo = "com.amazonaws.cloudfront#VerifyDnsConfigurationResult" -_VDC = "VerifyDnsConfiguration" -_C_ = "Cloudfront2020_05_31" -_aw = "aws.auth#sigv4" -_aX = "aws.protocols#restXml" -_aws = "aws.api#service" -_sNm = "smithy.api#xmlNamespace" - -STRING: StaticSchema = (3, n0, _s, 0) - -ACCESS_CONTROL_ALLOW_HEADERS_LIST: StaticSchema = ( - 16, - n0, - _ACAHL, - 0, - (_m,), - ((STRING, {_sN: _H}),), -) - -RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS_VALUES: StaticSchema = ( - 14, - n0, - _RHPACAMV, - 0, - (_GET, _POST, _OPTIONS, _PUT, _DELETE, _PATCH, _HEAD, _ALL), - ( - (-1, {_sV: _GET}), - (-1, {_sV: _POST}), - (-1, {_sV: _OPTIONS}), - (-1, {_sV: _PUT}), - (-1, {_sV: _DELETE}), - (-1, {_sV: _PATCH}), - (-1, {_sV: _HEAD}), - (-1, {_sV: _ALL}), - ), -) - -ACCESS_CONTROL_ALLOW_METHODS_LIST: StaticSchema = ( - 16, - n0, - _ACAML, - 0, - (_m,), - ((RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS_VALUES, {_sN: _M}),), -) - -ACCESS_CONTROL_ALLOW_ORIGINS_LIST: StaticSchema = ( - 16, - n0, - _ACAOL, - 0, - (_m,), - ((STRING, {_sN: _O}),), -) - -ACCESS_CONTROL_EXPOSE_HEADERS_LIST: StaticSchema = ( - 16, - n0, - _ACEHL, - 0, - (_m,), - ((STRING, {_sN: _H}),), -) - -ACCESS_DENIED: StaticSchema = (18, n0, _AD, {_sm: _c, _sE: 403}, (_Me,), ((STRING, 0),)) - -BOOLEAN: StaticSchema = (2, n0, _b, 0) - -KEY_PAIR_ID_LIST: StaticSchema = (16, n0, _KPIL, 0, (_m,), ((STRING, {_sN: _KPI}),)) - -INTEGER: StaticSchema = (7, n0, _i, 0) - -KEY_PAIR_IDS: StaticSchema = ( - 18, - n0, - _KPIe, - 0, - (_Q, _I), - ((INTEGER, 1), (KEY_PAIR_ID_LIST, 0)), -) - -KG_KEY_PAIR_IDS: StaticSchema = ( - 18, - n0, - _KGKPI, - 0, - (_KGI, _KPIe), - ((STRING, 0), (KEY_PAIR_IDS, 0)), -) - -KG_KEY_PAIR_IDS_LIST: StaticSchema = ( - 16, - n0, - _KGKPIL, - 0, - (_m,), - ((KG_KEY_PAIR_IDS, {_sN: _KG}),), -) - -ACTIVE_TRUSTED_KEY_GROUPS: StaticSchema = ( - 18, - n0, - _ATKG, - 0, - (_E, _Q, _I), - ((BOOLEAN, 1), (INTEGER, 1), (KG_KEY_PAIR_IDS_LIST, 0)), -) - -SIGNER: StaticSchema = (18, n0, _S, 0, (_AAN, _KPIe), ((STRING, 0), (KEY_PAIR_IDS, 0))) - -SIGNER_LIST: StaticSchema = (16, n0, _SL, 0, (_m,), ((SIGNER, {_sN: _S}),)) - -ACTIVE_TRUSTED_SIGNERS: StaticSchema = ( - 18, - n0, - _ATS, - 0, - (_E, _Q, _I), - ((BOOLEAN, 1), (INTEGER, 1), (SIGNER_LIST, 0)), -) - -ALIAS_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((STRING, {_sN: _CNAME}),)) - -ALIASES: StaticSchema = (18, n0, _A, 0, (_Q, _I), ((INTEGER, 1), (ALIAS_LIST, 0))) - -ICP_RECORDAL_STATUS: StaticSchema = ( - 14, - n0, - _ICPRS, - 0, - (_APPROVED, _SUSPENDED, _PENDING), - ((-1, {_sV: _APPROVED}), (-1, {_sV: _SUSPENDED}), (-1, {_sV: _PENDING})), -) - -ALIAS_ICP_RECORDAL: StaticSchema = ( - 18, - n0, - _AICPR, - 0, - (_CNAME, _ICPRS), - ((STRING, 0), (ICP_RECORDAL_STATUS, 0)), -) - -ALIAS_ICP_RECORDALS: StaticSchema = ( - 16, - n0, - _AICPRl, - 0, - (_m,), - ((ALIAS_ICP_RECORDAL, {_sN: _AICPR}),), -) - -ALIAS_STRING: StaticSchema = (3, n0, _aS, 0) - -METHOD: StaticSchema = ( - 14, - n0, - _M, - 0, - (_GET, _HEAD, _POST, _PUT, _PATCH, _OPTIONS, _DELETE), - ( - (-1, {_sV: _GET}), - (-1, {_sV: _HEAD}), - (-1, {_sV: _POST}), - (-1, {_sV: _PUT}), - (-1, {_sV: _PATCH}), - (-1, {_sV: _OPTIONS}), - (-1, {_sV: _DELETE}), - ), -) - -METHODS_LIST: StaticSchema = (16, n0, _ML, 0, (_m,), ((METHOD, {_sN: _M}),)) - -CACHED_METHODS: StaticSchema = ( - 18, - n0, - _CM, - 0, - (_Q, _I), - ((INTEGER, 1), (METHODS_LIST, 1)), -) - -ALLOWED_METHODS: StaticSchema = ( - 18, - n0, - _AM, - 0, - (_Q, _I, _CM), - ((INTEGER, 1), (METHODS_LIST, 1), (CACHED_METHODS, 0)), -) - -ANYCAST_IPS: StaticSchema = (16, n0, _AI, 0, (_m,), ((STRING, {_sN: _AIn}),)) - -IP_ADDRESS_TYPE: StaticSchema = ( - 14, - n0, - _IAT, - 0, - (_Ip, _Ipv, _DS), - ((-1, {_sV: _ip}), (-1, {_sV: _ipv}), (-1, {_sV: _d})), -) - -IPAM_CIDR_STATUS: StaticSchema = ( - 14, - n0, - _ICS, - 0, - (_P, _FP, _Pr, _D, _FD, _De, _Ad, _FA, _Adv, _W, _FW, _Wi), - ( - (-1, {_sV: _p}), - (-1, {_sV: _fp}), - (-1, {_sV: _pr}), - (-1, {_sV: _de}), - (-1, {_sV: _fd}), - (-1, {_sV: _dep}), - (-1, {_sV: _a}), - (-1, {_sV: _fa}), - (-1, {_sV: _ad}), - (-1, {_sV: _w}), - (-1, {_sV: _fw}), - (-1, {_sV: _wi}), - ), -) - -IPAM_CIDR_CONFIG: StaticSchema = ( - 18, - n0, - _ICC, - 0, - (_C, _IPA, _AIn, _St), - ((STRING, 1), (STRING, 1), (STRING, 0), (IPAM_CIDR_STATUS, 0)), -) - -IPAM_CIDR_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _ICCL, - 0, - (_m,), - ((IPAM_CIDR_CONFIG, {_sN: _ICC}),), -) - -IPAM_CONFIG: StaticSchema = ( - 18, - n0, - _IC, - 0, - (_Q, _ICCp), - ((INTEGER, 1), (IPAM_CIDR_CONFIG_LIST, 1)), -) - -TIMESTAMP: StaticSchema = (4, n0, _t, 0) - -ANYCAST_IP_LIST_NAME: StaticSchema = (3, n0, _AILN, 0) - -ANYCAST_IP_LIST: StaticSchema = ( - 18, - n0, - _AIL, - 0, - (_Id, _N, _St, _Ar, _IAT, _IC, _AI, _ICp, _LMT), - ( - (STRING, 1), - (ANYCAST_IP_LIST_NAME, 1), - (STRING, 1), - (STRING, 1), - (IP_ADDRESS_TYPE, 0), - (IPAM_CONFIG, 0), - (ANYCAST_IPS, 1), - (INTEGER, 1), - (TIMESTAMP, 1), - ), -) - -ANYCAST_IP_LIST_SUMMARY: StaticSchema = ( - 18, - n0, - _AILS, - 0, - (_Id, _N, _St, _Ar, _ICp, _LMT, _IAT, _ET, _IC), - ( - (STRING, 1), - (ANYCAST_IP_LIST_NAME, 1), - (STRING, 1), - (STRING, 1), - (INTEGER, 1), - (TIMESTAMP, 1), - (IP_ADDRESS_TYPE, 0), - (STRING, 0), - (IPAM_CONFIG, 0), - ), -) - -ANYCAST_IP_LIST_SUMMARIES: StaticSchema = ( - 16, - n0, - _AILSn, - 0, - (_m,), - ((ANYCAST_IP_LIST_SUMMARY, {_sN: _AILS}),), -) - -ANYCAST_IP_LIST_COLLECTION: StaticSchema = ( - 18, - n0, - _AILC, - 0, - (_I, _Ma, _NM, _MI, _IT, _Q), - ( - (ANYCAST_IP_LIST_SUMMARIES, 0), - (STRING, 1), - (STRING, 0), - (INTEGER, 1), - (BOOLEAN, 1), - (INTEGER, 1), - ), -) - -ASSOCIATE_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _AAI, - {_sSI: _cAAR, _smit: None}, - (_TDI, _Al), - ((STRING, 9), (STRING, {_sQ: _Al, _smi: None})), -) - -ASSOCIATE_ALIAS_OUTPUT: StaticSchema = (18, n0, _AAO, {_sSI: _sU, _smith: None}) - -ILLEGAL_UPDATE: StaticSchema = ( - 18, - n0, - _IU, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_ARGUMENT: StaticSchema = ( - 18, - n0, - _IA, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_DISTRIBUTION: StaticSchema = ( - 18, - n0, - _NSD, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTION_CNAM_ES: StaticSchema = ( - 18, - n0, - _TMDCNAME, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -ASSOCIATE_ALIAS: StaticOperationSchema = ( - 23, - n0, - _AA, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/distribution/{TargetDistributionId}/associate-alias", - "code": 200, - } - ) - }, - ASSOCIATE_ALIAS_INPUT, - ASSOCIATE_ALIAS_OUTPUT, - ( - ACCESS_DENIED, - ILLEGAL_UPDATE, - INVALID_ARGUMENT, - NO_SUCH_DISTRIBUTION, - TOO_MANY_DISTRIBUTION_CNAM_ES, - ), -) - -ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT: StaticSchema = ( - 18, - n0, - _ADTWACLI, - {_sSI: _cADTWACLR, _smit: None}, - (_Id, _WACLA, _IM), - ((STRING, 9), (STRING, 1), (STRING, {_sH: _IM_})), -) - -ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _ADTWACLO, - {_sSI: _cADTWACLRo, _smith: None}, - (_Id, _WACLA, _ET), - ((STRING, 0), (STRING, 0), (STRING, {_sH: _ET})), -) - -ENTITY_LIMIT_EXCEEDED: StaticSchema = ( - 18, - n0, - _ELE, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -ENTITY_NOT_FOUND: StaticSchema = ( - 18, - n0, - _ENF, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -INVALID_IF_MATCH_VERSION: StaticSchema = ( - 18, - n0, - _IIMV, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -PRECONDITION_FAILED: StaticSchema = ( - 18, - n0, - _PF, - {_sm: _c, _sE: 412}, - (_Me,), - ((STRING, 0),), -) - -ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL: StaticOperationSchema = ( - 23, - n0, - _ADTWACL, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/distribution-tenant/{Id}/associate-web-acl", - "code": 200, - } - ) - }, - ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT, - ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - ), -) - -ASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT: StaticSchema = ( - 18, - n0, - _ADWACLI, - {_sSI: _cADWACLR, _smit: None}, - (_Id, _WACLA, _IM), - ((STRING, 9), (STRING, 1), (STRING, {_sH: _IM_})), -) - -ASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _ADWACLO, - {_sSI: _cADWACLRo, _smith: None}, - (_Id, _WACLA, _ET), - ((STRING, 0), (STRING, 0), (STRING, {_sH: _ET})), -) - -ASSOCIATE_DISTRIBUTION_WEB_ACL: StaticOperationSchema = ( - 23, - n0, - _ADWACL, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/distribution/{Id}/associate-web-acl", - "code": 200, - } - ) - }, - ASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT, - ASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - ), -) - -AWS_ACCOUNT_NUMBER_LIST: StaticSchema = ( - 16, - n0, - _AANL, - 0, - (_m,), - ((STRING, {_sN: _AAN}),), -) - -BATCH_TOO_LARGE: StaticSchema = ( - 18, - n0, - _BTL, - {_sm: _c, _sE: 413}, - (_Me,), - ((STRING, 0),), -) - -CA_CERTIFICATES_BUNDLE_S3_LOCATION: StaticSchema = ( - 18, - n0, - _CCBSL, - 0, - (_B, _K, _R, _V), - ((STRING, 1), (STRING, 1), (STRING, 1), (STRING, 0)), -) - -CA_CERTIFICATES_BUNDLE_SOURCE: StaticSchema = ( - 19, - n0, - _CCBS, - 0, - (_CCBSL,), - ((CA_CERTIFICATES_BUNDLE_S3_LOCATION, 0),), -) - -LONG: StaticSchema = (8, n0, _l, 0) - -ITEM_SELECTION: StaticSchema = ( - 14, - n0, - _IS, - 0, - (_n, _wh, _al), - ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _al})), -) - -COOKIE_NAME_LIST: StaticSchema = (16, n0, _CNL, 0, (_m,), ((STRING, {_sN: _N}),)) - -COOKIE_NAMES: StaticSchema = ( - 18, - n0, - _CN, - 0, - (_Q, _I), - ((INTEGER, 1), (COOKIE_NAME_LIST, 0)), -) - -COOKIE_PREFERENCE: StaticSchema = ( - 18, - n0, - _CP, - 0, - (_F, _WN), - ((ITEM_SELECTION, 1), (COOKIE_NAMES, 0)), -) - -HEADER_LIST: StaticSchema = (16, n0, _HL, 0, (_m,), ((STRING, {_sN: _N}),)) - -HEADERS: StaticSchema = (18, n0, _He, 0, (_Q, _I), ((INTEGER, 1), (HEADER_LIST, 0))) - -QUERY_STRING_CACHE_KEYS_LIST: StaticSchema = ( - 16, - n0, - _QSCKL, - 0, - (_m,), - ((STRING, {_sN: _N}),), -) - -QUERY_STRING_CACHE_KEYS: StaticSchema = ( - 18, - n0, - _QSCK, - 0, - (_Q, _I), - ((INTEGER, 1), (QUERY_STRING_CACHE_KEYS_LIST, 0)), -) - -FORWARDED_VALUES: StaticSchema = ( - 18, - n0, - _FV, - 0, - (_QS, _Co, _He, _QSCK), - ((BOOLEAN, 1), (COOKIE_PREFERENCE, 1), (HEADERS, 0), (QUERY_STRING_CACHE_KEYS, 0)), -) - -EVENT_TYPE: StaticSchema = ( - 14, - n0, - _ETv, - 0, - (_vr, _vr__, _or, _or__), - ((-1, {_sV: _vr_}), (-1, {_sV: _vr___}), (-1, {_sV: _or_}), (-1, {_sV: _or___})), -) - -FUNCTION_ARN: StaticSchema = (3, n0, _FARN, 0) - -FUNCTION_ASSOCIATION: StaticSchema = ( - 18, - n0, - _FAu, - 0, - (_FARN, _ETv), - ((FUNCTION_ARN, 1), (EVENT_TYPE, 1)), -) - -FUNCTION_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _FAL, - 0, - (_m,), - ((FUNCTION_ASSOCIATION, {_sN: _FAu}),), -) - -FUNCTION_ASSOCIATIONS: StaticSchema = ( - 18, - n0, - _FAun, - 0, - (_Q, _I), - ((INTEGER, 1), (FUNCTION_ASSOCIATION_LIST, 0)), -) - -GRPC_CONFIG: StaticSchema = (18, n0, _GC, 0, (_E,), ((BOOLEAN, 1),)) - -LAMBDA_FUNCTION_ARN: StaticSchema = (3, n0, _LFARN, 0) - -LAMBDA_FUNCTION_ASSOCIATION: StaticSchema = ( - 18, - n0, - _LFA, - 0, - (_LFARN, _ETv, _IB), - ((LAMBDA_FUNCTION_ARN, 1), (EVENT_TYPE, 1), (BOOLEAN, 0)), -) - -LAMBDA_FUNCTION_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _LFAL, - 0, - (_m,), - ((LAMBDA_FUNCTION_ASSOCIATION, {_sN: _LFA}),), -) - -LAMBDA_FUNCTION_ASSOCIATIONS: StaticSchema = ( - 18, - n0, - _LFAa, - 0, - (_Q, _I), - ((INTEGER, 1), (LAMBDA_FUNCTION_ASSOCIATION_LIST, 0)), -) - -TRUSTED_KEY_GROUP_ID_LIST: StaticSchema = ( - 16, - n0, - _TKGIL, - 0, - (_m,), - ((STRING, {_sN: _KG}),), -) - -TRUSTED_KEY_GROUPS: StaticSchema = ( - 18, - n0, - _TKG, - 0, - (_E, _Q, _I), - ((BOOLEAN, 1), (INTEGER, 1), (TRUSTED_KEY_GROUP_ID_LIST, 0)), -) - -TRUSTED_SIGNERS: StaticSchema = ( - 18, - n0, - _TS, - 0, - (_E, _Q, _I), - ((BOOLEAN, 1), (INTEGER, 1), (AWS_ACCOUNT_NUMBER_LIST, 0)), -) - -VIEWER_PROTOCOL_POLICY: StaticSchema = ( - 14, - n0, - _VPP, - 0, - (_aa, _ho, _rth), - ((-1, {_sV: _aa_}), (-1, {_sV: _ho_}), (-1, {_sV: _rth_})), -) - -CACHE_BEHAVIOR: StaticSchema = ( - 18, - n0, - _CB, - 0, - ( - _PP, - _TOI, - _TS, - _TKG, - _VPP, - _AM, - _SS, - _Com, - _LFAa, - _FAun, - _FLEI, - _RLCA, - _CPI, - _ORPI, - _RHPI, - _GC, - _FV, - _MTTL, - _DTTL, - _MTTLa, - ), - ( - (STRING, 1), - (STRING, 1), - (TRUSTED_SIGNERS, 0), - (TRUSTED_KEY_GROUPS, 0), - (VIEWER_PROTOCOL_POLICY, 1), - (ALLOWED_METHODS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (LAMBDA_FUNCTION_ASSOCIATIONS, 0), - (FUNCTION_ASSOCIATIONS, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (GRPC_CONFIG, 0), - (FORWARDED_VALUES, 0), - (LONG, 0), - (LONG, 0), - (LONG, 0), - ), -) - -CACHE_BEHAVIOR_LIST: StaticSchema = ( - 16, - n0, - _CBL, - 0, - (_m,), - ((CACHE_BEHAVIOR, {_sN: _CB}),), -) - -CACHE_BEHAVIORS: StaticSchema = ( - 18, - n0, - _CBa, - 0, - (_Q, _I), - ((INTEGER, 1), (CACHE_BEHAVIOR_LIST, 0)), -) - -CACHE_POLICY_COOKIE_BEHAVIOR: StaticSchema = ( - 14, - n0, - _CPCB, - 0, - (_n, _wh, _aE, _al), - ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _aE}), (-1, {_sV: _al})), -) - -CACHE_POLICY_COOKIES_CONFIG: StaticSchema = ( - 18, - n0, - _CPCC, - 0, - (_CBo, _Co), - ((CACHE_POLICY_COOKIE_BEHAVIOR, 1), (COOKIE_NAMES, 0)), -) - -CACHE_POLICY_HEADER_BEHAVIOR: StaticSchema = ( - 14, - n0, - _CPHB, - 0, - (_n, _wh), - ((-1, {_sV: _n}), (-1, {_sV: _wh})), -) - -CACHE_POLICY_HEADERS_CONFIG: StaticSchema = ( - 18, - n0, - _CPHC, - 0, - (_HB, _He), - ((CACHE_POLICY_HEADER_BEHAVIOR, 1), (HEADERS, 0)), -) - -CACHE_POLICY_QUERY_STRING_BEHAVIOR: StaticSchema = ( - 14, - n0, - _CPQSB, - 0, - (_n, _wh, _aE, _al), - ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _aE}), (-1, {_sV: _al})), -) - -QUERY_STRING_NAMES_LIST: StaticSchema = ( - 16, - n0, - _QSNL, - 0, - (_m,), - ((STRING, {_sN: _N}),), -) - -QUERY_STRING_NAMES: StaticSchema = ( - 18, - n0, - _QSN, - 0, - (_Q, _I), - ((INTEGER, 1), (QUERY_STRING_NAMES_LIST, 0)), -) - -CACHE_POLICY_QUERY_STRINGS_CONFIG: StaticSchema = ( - 18, - n0, - _CPQSC, - 0, - (_QSB, _QSu), - ((CACHE_POLICY_QUERY_STRING_BEHAVIOR, 1), (QUERY_STRING_NAMES, 0)), -) - -PARAMETERS_IN_CACHE_KEY_AND_FORWARDED_TO_ORIGIN: StaticSchema = ( - 18, - n0, - _PICKAFTO, - 0, - (_EAEG, _EAEB, _HC, _CC, _QSC), - ( - (BOOLEAN, 1), - (BOOLEAN, 0), - (CACHE_POLICY_HEADERS_CONFIG, 1), - (CACHE_POLICY_COOKIES_CONFIG, 1), - (CACHE_POLICY_QUERY_STRINGS_CONFIG, 1), - ), -) - -CACHE_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _CPC, - 0, - (_Comm, _N, _DTTL, _MTTLa, _MTTL, _PICKAFTO), - ( - (STRING, 0), - (STRING, 1), - (LONG, 0), - (LONG, 0), - (LONG, 1), - (PARAMETERS_IN_CACHE_KEY_AND_FORWARDED_TO_ORIGIN, 0), - ), -) - -CACHE_POLICY: StaticSchema = ( - 18, - n0, - _CPa, - 0, - (_Id, _LMT, _CPC), - ((STRING, 1), (TIMESTAMP, 1), (CACHE_POLICY_CONFIG, 1)), -) - -CACHE_POLICY_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _CPAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -CACHE_POLICY_IN_USE: StaticSchema = ( - 18, - n0, - _CPIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -CACHE_POLICY_TYPE: StaticSchema = ( - 14, - n0, - _CPT, - 0, - (_ma, _cu), - ((-1, {_sV: _ma}), (-1, {_sV: _cu})), -) - -CACHE_POLICY_SUMMARY: StaticSchema = ( - 18, - n0, - _CPS, - 0, - (_T, _CPa), - ((CACHE_POLICY_TYPE, 1), (CACHE_POLICY, 1)), -) - -CACHE_POLICY_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CPSL, - 0, - (_m,), - ((CACHE_POLICY_SUMMARY, {_sN: _CPS}),), -) - -CACHE_POLICY_LIST: StaticSchema = ( - 18, - n0, - _CPL, - 0, - (_NM, _MI, _Q, _I), - ((STRING, 0), (INTEGER, 1), (INTEGER, 1), (CACHE_POLICY_SUMMARY_LIST, 0)), -) - -CACHE_TAG_CONFIG: StaticSchema = (18, n0, _CTC, 0, (_HN,), ((STRING, 1),)) - -CANNOT_CHANGE_IMMUTABLE_PUBLIC_KEY_FIELDS: StaticSchema = ( - 18, - n0, - _CCIPKF, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CANNOT_DELETE_ENTITY_WHILE_IN_USE: StaticSchema = ( - 18, - n0, - _CDEWIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -CANNOT_UPDATE_ENTITY_WHILE_IN_USE: StaticSchema = ( - 18, - n0, - _CUEWIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -CERTIFICATE: StaticSchema = (18, n0, _Ce, 0, (_Ar,), ((STRING, 1),)) - -CERTIFICATE_SOURCE: StaticSchema = ( - 14, - n0, - _CS, - 0, - (_cl, _ia, _ac), - ((-1, {_sV: _cl}), (-1, {_sV: _ia}), (-1, {_sV: _ac})), -) - -CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE: StaticSchema = ( - 14, - n0, - _CTLP, - 0, - (_E, _Di), - ((-1, {_sV: _e}), (-1, {_sV: _di})), -) - -CNAME_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _CNAMEAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -COPY_DISTRIBUTION_INPUT: StaticSchema = ( - 18, - n0, - _CDI, - {_sSI: _cCDR, _smit: None}, - (_PDI, _Sta, _IM, _CR, _E), - ( - (STRING, 9), - (BOOLEAN, {_sH: _Sta}), - (STRING, {_sH: _IM_}), - (STRING, 1), - (BOOLEAN, 0), - ), -) - -COMMENT_TYPE: StaticSchema = (3, n0, _CT, 4) - -RESOURCE_ID: StaticSchema = (3, n0, _RI, 0) - -CONNECTION_FUNCTION_ASSOCIATION: StaticSchema = ( - 18, - n0, - _CFA, - 0, - (_Id,), - ((RESOURCE_ID, 1),), -) - -CONNECTION_MODE: StaticSchema = ( - 14, - n0, - _CMo, - 0, - (_Dir, _TO), - ((-1, {_sV: _dir}), (-1, {_sV: _to})), -) - -CUSTOM_ERROR_RESPONSE: StaticSchema = ( - 18, - n0, - _CER, - 0, - (_EC, _RPP, _RC, _ECMTTL), - ((INTEGER, 1), (STRING, 0), (STRING, 0), (LONG, 0)), -) - -CUSTOM_ERROR_RESPONSE_LIST: StaticSchema = ( - 16, - n0, - _CERL, - 0, - (_m,), - ((CUSTOM_ERROR_RESPONSE, {_sN: _CER}),), -) - -CUSTOM_ERROR_RESPONSES: StaticSchema = ( - 18, - n0, - _CERu, - 0, - (_Q, _I), - ((INTEGER, 1), (CUSTOM_ERROR_RESPONSE_LIST, 0)), -) - -DEFAULT_CACHE_BEHAVIOR: StaticSchema = ( - 18, - n0, - _DCB, - 0, - ( - _TOI, - _TS, - _TKG, - _VPP, - _AM, - _SS, - _Com, - _LFAa, - _FAun, - _FLEI, - _RLCA, - _CPI, - _ORPI, - _RHPI, - _GC, - _FV, - _MTTL, - _DTTL, - _MTTLa, - ), - ( - (STRING, 1), - (TRUSTED_SIGNERS, 0), - (TRUSTED_KEY_GROUPS, 0), - (VIEWER_PROTOCOL_POLICY, 1), - (ALLOWED_METHODS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (LAMBDA_FUNCTION_ASSOCIATIONS, 0), - (FUNCTION_ASSOCIATIONS, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (GRPC_CONFIG, 0), - (FORWARDED_VALUES, 0), - (LONG, 0), - (LONG, 0), - (LONG, 0), - ), -) - -HTTP_VERSION: StaticSchema = ( - 14, - n0, - _HV, - 0, - (_h, _htt, _http, _httpa), - ((-1, {_sV: _ht}), (-1, {_sV: _htt}), (-1, {_sV: _http}), (-1, {_sV: _httpa})), -) - -LOGGING_CONFIG: StaticSchema = ( - 18, - n0, - _LC, - 0, - (_E, _ICn, _B, _Pre), - ( - (BOOLEAN, {_smithyap: False}), - (BOOLEAN, {_smithyap: False}), - (STRING, {_smithyap: _v}), - (STRING, {_smithyap: _v}), - ), -) - -STATUS_CODE_LIST: StaticSchema = (16, n0, _SCL, 0, (_m,), ((INTEGER, {_sN: _SC}),)) - -STATUS_CODES: StaticSchema = ( - 18, - n0, - _SCt, - 0, - (_Q, _I), - ((INTEGER, 1), (STATUS_CODE_LIST, 1)), -) - -ORIGIN_GROUP_FAILOVER_CRITERIA: StaticSchema = ( - 18, - n0, - _OGFC, - 0, - (_SCt,), - ((STATUS_CODES, 1),), -) - -ORIGIN_GROUP_MEMBER: StaticSchema = (18, n0, _OGM, 0, (_OI,), ((STRING, 1),)) - -ORIGIN_GROUP_MEMBER_LIST: StaticSchema = ( - 16, - n0, - _OGML, - 0, - (_m,), - ((ORIGIN_GROUP_MEMBER, {_sN: _OGM}),), -) - -ORIGIN_GROUP_MEMBERS: StaticSchema = ( - 18, - n0, - _OGMr, - 0, - (_Q, _I), - ((INTEGER, 1), (ORIGIN_GROUP_MEMBER_LIST, 1)), -) - -ORIGIN_GROUP_SELECTION_CRITERIA: StaticSchema = ( - 14, - n0, - _OGSC, - 0, - (_Def, _MQB), - ((-1, {_sV: _def}), (-1, {_sV: _mqb})), -) - -ORIGIN_GROUP: StaticSchema = ( - 18, - n0, - _OG, - 0, - (_Id, _FC, _Mem, _SCe), - ( - (STRING, 1), - (ORIGIN_GROUP_FAILOVER_CRITERIA, 1), - (ORIGIN_GROUP_MEMBERS, 1), - (ORIGIN_GROUP_SELECTION_CRITERIA, 0), - ), -) - -ORIGIN_GROUP_LIST: StaticSchema = ( - 16, - n0, - _OGL, - 0, - (_m,), - ((ORIGIN_GROUP, {_sN: _OG}),), -) - -ORIGIN_GROUPS: StaticSchema = ( - 18, - n0, - _OGr, - 0, - (_Q, _I), - ((INTEGER, 1), (ORIGIN_GROUP_LIST, 0)), -) - -SENSITIVE_STRING_TYPE: StaticSchema = (3, n0, _sST, 4) - -ORIGIN_CUSTOM_HEADER: StaticSchema = ( - 18, - n0, - _OCH, - 0, - (_HN, _HVe), - ((STRING, 1), (SENSITIVE_STRING_TYPE, 1)), -) - -ORIGIN_CUSTOM_HEADERS_LIST: StaticSchema = ( - 16, - n0, - _OCHL, - 0, - (_m,), - ((ORIGIN_CUSTOM_HEADER, {_sN: _OCH}),), -) - -CUSTOM_HEADERS: StaticSchema = ( - 18, - n0, - _CH, - 0, - (_Q, _I), - ((INTEGER, 1), (ORIGIN_CUSTOM_HEADERS_LIST, 0)), -) - -ORIGIN_MTLS_CONFIG: StaticSchema = (18, n0, _OMC, 0, (_CCA,), ((STRING, 1),)) - -ORIGIN_PROTOCOL_POLICY: StaticSchema = ( - 14, - n0, - _OPP, - 0, - (_ho__, _mv, _ho), - ((-1, {_sV: _ho___}), (-1, {_sV: _mv_}), (-1, {_sV: _ho_})), -) - -SSL_PROTOCOL: StaticSchema = ( - 14, - n0, - _SP, - 0, - (_SSL, _TLS, _T_, _T__), - ((-1, {_sV: _SSL}), (-1, {_sV: _TLS}), (-1, {_sV: _TLSv}), (-1, {_sV: _TLSv_})), -) - -SSL_PROTOCOLS_LIST: StaticSchema = ( - 16, - n0, - _SPL, - 0, - (_m,), - ((SSL_PROTOCOL, {_sN: _SP}),), -) - -ORIGIN_SSL_PROTOCOLS: StaticSchema = ( - 18, - n0, - _OSP, - 0, - (_Q, _I), - ((INTEGER, 1), (SSL_PROTOCOLS_LIST, 1)), -) - -CUSTOM_ORIGIN_CONFIG: StaticSchema = ( - 18, - n0, - _COC, - 0, - (_HTTPP, _HTTPSP, _OPP, _OSP, _ORT, _OKT, _IAT, _OMC), - ( - (INTEGER, 1), - (INTEGER, 1), - (ORIGIN_PROTOCOL_POLICY, 1), - (ORIGIN_SSL_PROTOCOLS, 0), - (INTEGER, 0), - (INTEGER, 0), - (IP_ADDRESS_TYPE, 0), - (ORIGIN_MTLS_CONFIG, 0), - ), -) - -ORIGIN_SHIELD_REGION: StaticSchema = (3, n0, _OSR, 0) - -ORIGIN_SHIELD: StaticSchema = ( - 18, - n0, - _OS, - 0, - (_E, _OSR), - ((BOOLEAN, 1), (ORIGIN_SHIELD_REGION, 0)), -) - -S3_ORIGIN_CONFIG: StaticSchema = ( - 18, - n0, - _SOC, - 0, - (_OAI, _ORT), - ((STRING, {_smithyap: _v, _smi: None}), (INTEGER, 0)), -) - -VPC_ORIGIN_CONFIG: StaticSchema = ( - 18, - n0, - _VOC, - 0, - (_VOI, _OAIw, _ORT, _OKT), - ((STRING, 1), (STRING, 0), (INTEGER, 0), (INTEGER, 0)), -) - -ORIGIN: StaticSchema = ( - 18, - n0, - _O, - 0, - (_Id, _DN, _OP, _CH, _SOC, _COC, _VOC, _CA, _CTo, _RCT, _OS, _OACI), - ( - (STRING, 1), - (STRING, 1), - (STRING, 0), - (CUSTOM_HEADERS, 0), - (S3_ORIGIN_CONFIG, 0), - (CUSTOM_ORIGIN_CONFIG, 0), - (VPC_ORIGIN_CONFIG, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (ORIGIN_SHIELD, 0), - (STRING, 0), - ), -) - -ORIGIN_LIST: StaticSchema = (16, n0, _OL, 0, (_m,), ((ORIGIN, {_sN: _O}),)) - -ORIGINS: StaticSchema = (18, n0, _Or, 0, (_Q, _I), ((INTEGER, 1), (ORIGIN_LIST, 1))) - -PRICE_CLASS: StaticSchema = ( - 14, - n0, - _PC, - 0, - (_P_, _P__, _PA, _No), - ((-1, {_sV: _P_}), (-1, {_sV: _P__}), (-1, {_sV: _PA}), (-1, {_sV: _No})), -) - -LOCATION_LIST: StaticSchema = (16, n0, _LL, 0, (_m,), ((STRING, {_sN: _L}),)) - -GEO_RESTRICTION_TYPE: StaticSchema = ( - 14, - n0, - _GRT, - 0, - (_bl, _wh, _n), - ((-1, {_sV: _bl}), (-1, {_sV: _wh}), (-1, {_sV: _n})), -) - -GEO_RESTRICTION: StaticSchema = ( - 18, - n0, - _GR, - 0, - (_RT, _Q, _I), - ((GEO_RESTRICTION_TYPE, 1), (INTEGER, 1), (LOCATION_LIST, 0)), -) - -RESTRICTIONS: StaticSchema = (18, n0, _Re, 0, (_GR,), ((GEO_RESTRICTION, 1),)) - -PARAMETER_VALUE: StaticSchema = (3, n0, _PV, 0) - -STRING_SCHEMA_CONFIG: StaticSchema = ( - 18, - n0, - _SSC, - 0, - (_Comm, _DV, _Req), - ((SENSITIVE_STRING_TYPE, 0), (PARAMETER_VALUE, 0), (BOOLEAN, 1)), -) - -PARAMETER_DEFINITION_SCHEMA: StaticSchema = ( - 18, - n0, - _PDS, - 0, - (_SSt,), - ((STRING_SCHEMA_CONFIG, 0),), -) - -PARAMETER_NAME: StaticSchema = (3, n0, _PN, 0) - -PARAMETER_DEFINITION: StaticSchema = ( - 18, - n0, - _PD, - 0, - (_N, _Defi), - ((PARAMETER_NAME, 1), (PARAMETER_DEFINITION_SCHEMA, 1)), -) - -PARAMETER_DEFINITIONS: StaticSchema = ( - 16, - n0, - _PDa, - 0, - (_m,), - ((PARAMETER_DEFINITION, 0),), -) - -TENANT_CONFIG: StaticSchema = (18, n0, _TC, 0, (_PDa,), ((PARAMETER_DEFINITIONS, 0),)) - -SERVER_CERTIFICATE_ID: StaticSchema = (3, n0, _SCI, 0) - -MINIMUM_PROTOCOL_VERSION: StaticSchema = ( - 14, - n0, - _MPV, - 0, - ( - _SSL, - _TLS, - _T___, - _T____, - _T______, - _T________, - _T__________, - _T____________, - _T______________, - ), - ( - (-1, {_sV: _SSL}), - (-1, {_sV: _TLS}), - (-1, {_sV: _T___}), - (-1, {_sV: _T_____}), - (-1, {_sV: _T_______}), - (-1, {_sV: _T_________}), - (-1, {_sV: _T___________}), - (-1, {_sV: _T_____________}), - (-1, {_sV: _T_______________}), - ), -) - -SSL_SUPPORT_METHOD: StaticSchema = ( - 14, - n0, - _SSLSM, - 0, - (_so, _vi, _si), - ((-1, {_sV: _so_}), (-1, {_sV: _vi}), (-1, {_sV: _si_})), -) - -VIEWER_CERTIFICATE: StaticSchema = ( - 18, - n0, - _VC, - 0, - (_CFDC, _IAMCI, _ACMCA, _SSLSM, _MPV, _Ce, _CS), - ( - (BOOLEAN, 0), - (SERVER_CERTIFICATE_ID, 0), - (STRING, 0), - (SSL_SUPPORT_METHOD, 0), - (MINIMUM_PROTOCOL_VERSION, 0), - (STRING, 0), - (CERTIFICATE_SOURCE, 0), - ), -) - -VIEWER_MTLS_MODE: StaticSchema = ( - 14, - n0, - _VMM, - 0, - (_Req, _Op, _Pa), - ((-1, {_sV: _r}), (-1, {_sV: _o}), (-1, {_sV: _pa})), -) - -TRUST_STORE_CONFIG: StaticSchema = ( - 18, - n0, - _TSC, - 0, - (_TSI, _ATSCN, _ICE), - ((STRING, 1), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -VIEWER_MTLS_CONFIG: StaticSchema = ( - 18, - n0, - _VMC, - 0, - (_Mo, _TSC), - ((VIEWER_MTLS_MODE, {_smithyap: _r}), (TRUST_STORE_CONFIG, 0)), -) - -DISTRIBUTION_CONFIG: StaticSchema = ( - 18, - n0, - _DC, - 0, - ( - _CR, - _A, - _DRO, - _Or, - _OGr, - _DCB, - _CBa, - _CERu, - _Comm, - _Lo, - _PC, - _E, - _VC, - _Re, - _WACLI, - _HV, - _IIPVE, - _CDPI, - _Sta, - _AILI, - _TC, - _CMo, - _VMC, - _CFA, - _CTC, - ), - ( - (STRING, 1), - (ALIASES, 0), - (STRING, 0), - (ORIGINS, 1), - (ORIGIN_GROUPS, 0), - (DEFAULT_CACHE_BEHAVIOR, 1), - (CACHE_BEHAVIORS, 0), - (CUSTOM_ERROR_RESPONSES, 0), - (COMMENT_TYPE, 1), - (LOGGING_CONFIG, 0), - (PRICE_CLASS, 0), - (BOOLEAN, 1), - (VIEWER_CERTIFICATE, 0), - (RESTRICTIONS, 0), - (STRING, 0), - (HTTP_VERSION, 0), - (BOOLEAN, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (TENANT_CONFIG, 0), - (CONNECTION_MODE, 0), - (VIEWER_MTLS_CONFIG, 0), - (CONNECTION_FUNCTION_ASSOCIATION, 0), - (CACHE_TAG_CONFIG, 0), - ), -) - -DISTRIBUTION: StaticSchema = ( - 18, - n0, - _Dis, - 0, - (_Id, _ARN, _St, _LMT, _IPIB, _DN, _ATS, _ATKG, _DC, _AICPRl), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (TIMESTAMP, 1), - (INTEGER, 1), - (STRING, 1), - (ACTIVE_TRUSTED_SIGNERS, 0), - (ACTIVE_TRUSTED_KEY_GROUPS, 0), - (DISTRIBUTION_CONFIG, 1), - (ALIAS_ICP_RECORDALS, 0), - ), -) - -COPY_DISTRIBUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CDO, - {_sSI: _cCDRo, _smith: None}, - (_Dis, _L, _ET), - ((DISTRIBUTION, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -DISTRIBUTION_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _DAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR: StaticSchema = ( - 18, - n0, - _IFLECAWCB, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INCONSISTENT_QUANTITIES: StaticSchema = ( - 18, - n0, - _IQ, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_DEFAULT_ROOT_OBJECT: StaticSchema = ( - 18, - n0, - _IDRO, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_ERROR_CODE: StaticSchema = ( - 18, - n0, - _IEC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_FORWARD_COOKIES: StaticSchema = ( - 18, - n0, - _IFC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_FUNCTION_ASSOCIATION: StaticSchema = ( - 18, - n0, - _IFA, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_GEO_RESTRICTION_PARAMETER: StaticSchema = ( - 18, - n0, - _IGRP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_HEADERS_FOR_S3_ORIGIN: StaticSchema = ( - 18, - n0, - _IHFSO, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_LAMBDA_FUNCTION_ASSOCIATION: StaticSchema = ( - 18, - n0, - _ILFA, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_LOCATION_CODE: StaticSchema = ( - 18, - n0, - _ILC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_MINIMUM_PROTOCOL_VERSION: StaticSchema = ( - 18, - n0, - _IMPV, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_ORIGIN: StaticSchema = ( - 18, - n0, - _IO, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_ORIGIN_ACCESS_CONTROL: StaticSchema = ( - 18, - n0, - _IOAC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_ORIGIN_ACCESS_IDENTITY: StaticSchema = ( - 18, - n0, - _IOAI, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_ORIGIN_KEEPALIVE_TIMEOUT: StaticSchema = ( - 18, - n0, - _IOKT, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_ORIGIN_READ_TIMEOUT: StaticSchema = ( - 18, - n0, - _IORT, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_PROTOCOL_SETTINGS: StaticSchema = ( - 18, - n0, - _IPS, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_QUERY_STRING_PARAMETERS: StaticSchema = ( - 18, - n0, - _IQSP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_RELATIVE_PATH: StaticSchema = ( - 18, - n0, - _IRP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_REQUIRED_PROTOCOL: StaticSchema = ( - 18, - n0, - _IRPn, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_RESPONSE_CODE: StaticSchema = ( - 18, - n0, - _IRC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_TTL_ORDER: StaticSchema = ( - 18, - n0, - _ITTLO, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_VIEWER_CERTIFICATE: StaticSchema = ( - 18, - n0, - _IVC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_WEB_ACL_ID: StaticSchema = ( - 18, - n0, - _IWACLI, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -MISSING_BODY: StaticSchema = (18, n0, _MB, {_sm: _c, _sE: 400}, (_Me,), ((STRING, 0),)) - -NO_SUCH_CACHE_POLICY: StaticSchema = ( - 18, - n0, - _NSCP, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticSchema = ( - 18, - n0, - _NSFLEC, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_ORIGIN: StaticSchema = ( - 18, - n0, - _NSO, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_ORIGIN_REQUEST_POLICY: StaticSchema = ( - 18, - n0, - _NSORP, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_REALTIME_LOG_CONFIG: StaticSchema = ( - 18, - n0, - _NSRLC, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_RESPONSE_HEADERS_POLICY: StaticSchema = ( - 18, - n0, - _NSRHP, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -REALTIME_LOG_CONFIG_OWNER_MISMATCH: StaticSchema = ( - 18, - n0, - _RLCOM, - {_sm: _c, _sE: 401}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_CACHE_BEHAVIORS: StaticSchema = ( - 18, - n0, - _TMCB, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_CERTIFICATES: StaticSchema = ( - 18, - n0, - _TMC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST: StaticSchema = ( - 18, - n0, - _TMCNIWL, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS: StaticSchema = ( - 18, - n0, - _TMD, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY: StaticSchema = ( - 18, - n0, - _TMDATCP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticSchema = ( - 18, - n0, - _TMDATFLEC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP: StaticSchema = ( - 18, - n0, - _TMDATKG, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL: StaticSchema = ( - 18, - n0, - _TMDATOAC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY: StaticSchema = ( - 18, - n0, - _TMDATORP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY: StaticSchema = ( - 18, - n0, - _TMDATRHP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS: StaticSchema = ( - 18, - n0, - _TMDWFA, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS: StaticSchema = ( - 18, - n0, - _TMDWLA, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN: StaticSchema = ( - 18, - n0, - _TMDWSFARN, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_FUNCTION_ASSOCIATIONS: StaticSchema = ( - 18, - n0, - _TMFA, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_HEADERS_IN_FORWARDED_VALUES: StaticSchema = ( - 18, - n0, - _TMHIFV, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION: StaticSchema = ( - 18, - n0, - _TMKGATD, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS: StaticSchema = ( - 18, - n0, - _TMLFA, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_ORIGIN_CUSTOM_HEADERS: StaticSchema = ( - 18, - n0, - _TMOCH, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION: StaticSchema = ( - 18, - n0, - _TMOGPD, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_ORIGINS: StaticSchema = ( - 18, - n0, - _TMO, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_QUERY_STRING_PARAMETERS: StaticSchema = ( - 18, - n0, - _TMQSP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_TRUSTED_SIGNERS: StaticSchema = ( - 18, - n0, - _TMTS, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TRUSTED_KEY_GROUP_DOES_NOT_EXIST: StaticSchema = ( - 18, - n0, - _TKGDNE, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TRUSTED_SIGNER_DOES_NOT_EXIST: StaticSchema = ( - 18, - n0, - _TSDNE, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -COPY_DISTRIBUTION: StaticOperationSchema = ( - 23, - n0, - _CD, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/distribution/{PrimaryDistributionId}/copy", - "code": 201, - } - ) - }, - COPY_DISTRIBUTION_INPUT, - COPY_DISTRIBUTION_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - DISTRIBUTION_ALREADY_EXISTS, - ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_DEFAULT_ROOT_OBJECT, - INVALID_ERROR_CODE, - INVALID_FORWARD_COOKIES, - INVALID_FUNCTION_ASSOCIATION, - INVALID_GEO_RESTRICTION_PARAMETER, - INVALID_HEADERS_FOR_S3_ORIGIN, - INVALID_IF_MATCH_VERSION, - INVALID_LAMBDA_FUNCTION_ASSOCIATION, - INVALID_LOCATION_CODE, - INVALID_MINIMUM_PROTOCOL_VERSION, - INVALID_ORIGIN, - INVALID_ORIGIN_ACCESS_CONTROL, - INVALID_ORIGIN_ACCESS_IDENTITY, - INVALID_ORIGIN_KEEPALIVE_TIMEOUT, - INVALID_ORIGIN_READ_TIMEOUT, - INVALID_PROTOCOL_SETTINGS, - INVALID_QUERY_STRING_PARAMETERS, - INVALID_RELATIVE_PATH, - INVALID_REQUIRED_PROTOCOL, - INVALID_RESPONSE_CODE, - INVALID_TTL_ORDER, - INVALID_VIEWER_CERTIFICATE, - INVALID_WEB_ACL_ID, - MISSING_BODY, - NO_SUCH_CACHE_POLICY, - NO_SUCH_DISTRIBUTION, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, - NO_SUCH_ORIGIN, - NO_SUCH_ORIGIN_REQUEST_POLICY, - NO_SUCH_REALTIME_LOG_CONFIG, - NO_SUCH_RESPONSE_HEADERS_POLICY, - PRECONDITION_FAILED, - REALTIME_LOG_CONFIG_OWNER_MISMATCH, - TOO_MANY_CACHE_BEHAVIORS, - TOO_MANY_CERTIFICATES, - TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, - TOO_MANY_DISTRIBUTION_CNAM_ES, - TOO_MANY_DISTRIBUTIONS, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, - TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, - TOO_MANY_FUNCTION_ASSOCIATIONS, - TOO_MANY_HEADERS_IN_FORWARDED_VALUES, - TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, - TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, - TOO_MANY_ORIGIN_CUSTOM_HEADERS, - TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, - TOO_MANY_ORIGINS, - TOO_MANY_QUERY_STRING_PARAMETERS, - TOO_MANY_TRUSTED_SIGNERS, - TRUSTED_KEY_GROUP_DOES_NOT_EXIST, - TRUSTED_SIGNER_DOES_NOT_EXIST, - ), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _Ta, 0, (_K, _Va), ((TAG_KEY, 1), (TAG_VALUE, 0))) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, {_sN: _Ta}),)) - -TAGS: StaticSchema = (18, n0, _Tag, 0, (_I,), ((TAG_LIST, 0),)) - -CREATE_ANYCAST_IP_LIST_INPUT: StaticSchema = ( - 18, - n0, - _CAILI, - {_sSI: _cCAILR, _smit: None}, - (_N, _ICp, _Tag, _IAT, _ICCp), - ( - (ANYCAST_IP_LIST_NAME, 1), - (INTEGER, 1), - (TAGS, 0), - (IP_ADDRESS_TYPE, 0), - (IPAM_CIDR_CONFIG_LIST, 0), - ), -) - -CREATE_ANYCAST_IP_LIST_OUTPUT: StaticSchema = ( - 18, - n0, - _CAILO, - {_sSI: _cCAILRo, _smith: None}, - (_AIL, _ET), - ((ANYCAST_IP_LIST, 16), (STRING, {_sH: _ET})), -) - -ENTITY_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _EAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -INVALID_TAGGING: StaticSchema = ( - 18, - n0, - _ITn, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -UNSUPPORTED_OPERATION: StaticSchema = ( - 18, - n0, - _UO, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_ANYCAST_IP_LIST: StaticOperationSchema = ( - 23, - n0, - _CAIL, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/anycast-ip-list", "code": 202} - ) - }, - CREATE_ANYCAST_IP_LIST_INPUT, - CREATE_ANYCAST_IP_LIST_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - INVALID_ARGUMENT, - INVALID_TAGGING, - UNSUPPORTED_OPERATION, - ), -) - -CREATE_CACHE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _CCPI, - {_sSI: _cCCPR, _smit: None}, - (_CPC,), - ((CACHE_POLICY_CONFIG, {_sN: _CPC, _smi: None, _sP: None}),), -) - -CREATE_CACHE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _CCPO, - {_sSI: _cCCPRo, _smith: None}, - (_CPa, _L, _ET), - ((CACHE_POLICY, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -TOO_MANY_CACHE_POLICIES: StaticSchema = ( - 18, - n0, - _TMCP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_COOKIES_IN_CACHE_POLICY: StaticSchema = ( - 18, - n0, - _TMCICP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_HEADERS_IN_CACHE_POLICY: StaticSchema = ( - 18, - n0, - _TMHICP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_QUERY_STRINGS_IN_CACHE_POLICY: StaticSchema = ( - 18, - n0, - _TMQSICP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_CACHE_POLICY: StaticOperationSchema = ( - 23, - n0, - _CCP, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/cache-policy", "code": 201} - ) - }, - CREATE_CACHE_POLICY_INPUT, - CREATE_CACHE_POLICY_OUTPUT, - ( - ACCESS_DENIED, - CACHE_POLICY_ALREADY_EXISTS, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - TOO_MANY_CACHE_POLICIES, - TOO_MANY_COOKIES_IN_CACHE_POLICY, - TOO_MANY_HEADERS_IN_CACHE_POLICY, - TOO_MANY_QUERY_STRINGS_IN_CACHE_POLICY, - ), -) - -CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _CFOAIAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG: StaticSchema = ( - 18, - n0, - _CFOAIC, - 0, - (_CR, _Comm), - ((STRING, 1), (STRING, 1)), -) - -CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _CCFOAII, - {_sSI: _cCCFOAIR, _smit: None}, - (_CFOAIC,), - ( - ( - CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG, - {_sN: _CFOAIC, _smi: None, _sP: None}, - ), - ), -) - -CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticSchema = ( - 18, - n0, - _CFOAI, - 0, - (_Id, _SCUI, _CFOAIC), - ((STRING, 1), (STRING, 1), (CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG, 0)), -) - -CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _CCFOAIO, - {_sSI: _cCCFOAIRo, _smith: None}, - (_CFOAI, _L, _ET), - ( - (CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, 16), - (STRING, {_sH: _L}), - (STRING, {_sH: _ET}), - ), -) - -TOO_MANY_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES: StaticSchema = ( - 18, - n0, - _TMCFOAI, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _CCFOAI, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/origin-access-identity/cloudfront", - "code": 201, - } - ) - }, - CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT, - CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT, - ( - CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_ALREADY_EXISTS, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - MISSING_BODY, - TOO_MANY_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES, - ), -) - -FUNCTION_BLOB: StaticSchema = (1, n0, _FB, 4) - -KEY_VALUE_STORE_ARN: StaticSchema = (3, n0, _KVSARN, 0) - -KEY_VALUE_STORE_ASSOCIATION: StaticSchema = ( - 18, - n0, - _KVSA, - 0, - (_KVSARN,), - ((KEY_VALUE_STORE_ARN, 1),), -) - -KEY_VALUE_STORE_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _KVSAL, - 0, - (_m,), - ((KEY_VALUE_STORE_ASSOCIATION, {_sN: _KVSA}),), -) - -KEY_VALUE_STORE_ASSOCIATIONS: StaticSchema = ( - 18, - n0, - _KVSAe, - 0, - (_Q, _I), - ((INTEGER, 1), (KEY_VALUE_STORE_ASSOCIATION_LIST, 0)), -) - -FUNCTION_RUNTIME: StaticSchema = ( - 14, - n0, - _FR, - 0, - (_cj, _cj__), - ((-1, {_sV: _cj_}), (-1, {_sV: _cj___})), -) - -FUNCTION_CONFIG: StaticSchema = ( - 18, - n0, - _FCu, - 0, - (_Comm, _Ru, _KVSAe), - ((STRING, 1), (FUNCTION_RUNTIME, 1), (KEY_VALUE_STORE_ASSOCIATIONS, 0)), -) - -FUNCTION_NAME: StaticSchema = (3, n0, _FN, 0) - -CREATE_CONNECTION_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _CCFI, - {_sSI: _cCCFR, _smit: None}, - (_N, _CFC, _CFCo, _Tag), - ((FUNCTION_NAME, 1), (FUNCTION_CONFIG, 1), (FUNCTION_BLOB, 1), (TAGS, 0)), -) - -FUNCTION_STAGE: StaticSchema = ( - 14, - n0, - _FS, - 0, - (_DEVELOPMENT, _LIVE), - ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE})), -) - -CONNECTION_FUNCTION_SUMMARY: StaticSchema = ( - 18, - n0, - _CFS, - 0, - (_N, _Id, _CFC, _CFAo, _St, _Stag, _CTr, _LMT), - ( - (FUNCTION_NAME, 1), - (RESOURCE_ID, 1), - (FUNCTION_CONFIG, 1), - (STRING, 1), - (STRING, 1), - (FUNCTION_STAGE, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - ), -) - -CREATE_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CCFO, - {_sSI: _cCCFRo, _smith: None}, - (_CFS, _L, _ET), - ((CONNECTION_FUNCTION_SUMMARY, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -ENTITY_SIZE_LIMIT_EXCEEDED: StaticSchema = ( - 18, - n0, - _ESLE, - {_sm: _c, _sE: 413}, - (_Me,), - ((STRING, 0),), -) - -CREATE_CONNECTION_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _CCF, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/connection-function", "code": 201} - ) - }, - CREATE_CONNECTION_FUNCTION_INPUT, - CREATE_CONNECTION_FUNCTION_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_SIZE_LIMIT_EXCEEDED, - INVALID_ARGUMENT, - INVALID_TAGGING, - UNSUPPORTED_OPERATION, - ), -) - -CREATE_CONNECTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CCGI, - {_sSI: _cCCGR, _smit: None}, - (_N, _IE, _Tag, _AILI, _E), - ((STRING, 1), (BOOLEAN, 0), (TAGS, 0), (STRING, 0), (BOOLEAN, 0)), -) - -CONNECTION_GROUP: StaticSchema = ( - 18, - n0, - _CG, - 0, - (_Id, _N, _Ar, _CTr, _LMT, _Tag, _IE, _RE, _AILI, _St, _E, _ID), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TAGS, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -CREATE_CONNECTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CCGO, - {_sSI: _cCCGRo, _smith: None}, - (_CG, _ET), - ((CONNECTION_GROUP, 16), (STRING, {_sH: _ET})), -) - -CREATE_CONNECTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _CCG, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/connection-group", "code": 201} - ) - }, - CREATE_CONNECTION_GROUP_INPUT, - CREATE_CONNECTION_GROUP_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_TAGGING, - ), -) - -CONTINUOUS_DEPLOYMENT_POLICY_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _CDPAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -STAGING_DISTRIBUTION_DNS_NAME_LIST: StaticSchema = ( - 16, - n0, - _SDDNL, - 0, - (_m,), - ((STRING, {_sN: _DNn}),), -) - -STAGING_DISTRIBUTION_DNS_NAMES: StaticSchema = ( - 18, - n0, - _SDDN, - 0, - (_Q, _I), - ((INTEGER, 1), (STAGING_DISTRIBUTION_DNS_NAME_LIST, 0)), -) - -CONTINUOUS_DEPLOYMENT_SINGLE_HEADER_CONFIG: StaticSchema = ( - 18, - n0, - _CDSHC, - 0, - (_H, _Va), - ((STRING, 1), (STRING, 1)), -) - -SESSION_STICKINESS_CONFIG: StaticSchema = ( - 18, - n0, - _SSCe, - 0, - (_ITTL, _MTTLax), - ((INTEGER, 1), (INTEGER, 1)), -) - -FLOAT: StaticSchema = (9, n0, _f, 0) - -CONTINUOUS_DEPLOYMENT_SINGLE_WEIGHT_CONFIG: StaticSchema = ( - 18, - n0, - _CDSWC, - 0, - (_We, _SSCe), - ((FLOAT, 1), (SESSION_STICKINESS_CONFIG, 0)), -) - -CONTINUOUS_DEPLOYMENT_POLICY_TYPE: StaticSchema = ( - 14, - n0, - _CDPT, - 0, - (_SW, _SH), - ((-1, {_sV: _SW}), (-1, {_sV: _SH})), -) - -TRAFFIC_CONFIG: StaticSchema = ( - 18, - n0, - _TCr, - 0, - (_SWC, _SHC, _T), - ( - (CONTINUOUS_DEPLOYMENT_SINGLE_WEIGHT_CONFIG, 0), - (CONTINUOUS_DEPLOYMENT_SINGLE_HEADER_CONFIG, 0), - (CONTINUOUS_DEPLOYMENT_POLICY_TYPE, 1), - ), -) - -CONTINUOUS_DEPLOYMENT_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _CDPC, - 0, - (_SDDN, _E, _TCr), - ((STAGING_DISTRIBUTION_DNS_NAMES, 1), (BOOLEAN, 1), (TRAFFIC_CONFIG, 0)), -) - -CREATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _CCDPI, - {_sSI: _cCCDPR, _smit: None}, - (_CDPC,), - ((CONTINUOUS_DEPLOYMENT_POLICY_CONFIG, {_sN: _CDPC, _smi: None, _sP: None}),), -) - -CONTINUOUS_DEPLOYMENT_POLICY: StaticSchema = ( - 18, - n0, - _CDP, - 0, - (_Id, _LMT, _CDPC), - ((STRING, 1), (TIMESTAMP, 1), (CONTINUOUS_DEPLOYMENT_POLICY_CONFIG, 1)), -) - -CREATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _CCDPO, - {_sSI: _cCCDPRo, _smith: None}, - (_CDP, _L, _ET), - ((CONTINUOUS_DEPLOYMENT_POLICY, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -STAGING_DISTRIBUTION_IN_USE: StaticSchema = ( - 18, - n0, - _SDIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_CONTINUOUS_DEPLOYMENT_POLICIES: StaticSchema = ( - 18, - n0, - _TMCDP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_CONTINUOUS_DEPLOYMENT_POLICY: StaticOperationSchema = ( - 23, - n0, - _CCDP, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/continuous-deployment-policy", - "code": 201, - } - ) - }, - CREATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT, - CREATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT, - ( - ACCESS_DENIED, - CONTINUOUS_DEPLOYMENT_POLICY_ALREADY_EXISTS, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - STAGING_DISTRIBUTION_IN_USE, - TOO_MANY_CONTINUOUS_DEPLOYMENT_POLICIES, - ), -) - -CONTINUOUS_DEPLOYMENT_POLICY_IN_USE: StaticSchema = ( - 18, - n0, - _CDPIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -CREATE_DISTRIBUTION_INPUT: StaticSchema = ( - 18, - n0, - _CDIr, - {_sSI: _cCDRom, _smit: None}, - (_DC,), - ((DISTRIBUTION_CONFIG, {_sN: _DC, _smi: None, _sP: None}),), -) - -CREATE_DISTRIBUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CDOr, - {_sSI: _cCDRoma, _smith: None}, - (_Dis, _L, _ET), - ((DISTRIBUTION, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -ILLEGAL_ORIGIN_ACCESS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IOACl, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -INVALID_DOMAIN_NAME_FOR_ORIGIN_ACCESS_CONTROL: StaticSchema = ( - 18, - n0, - _IDNFOAC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY: StaticSchema = ( - 18, - n0, - _NSCDP, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -CREATE_DISTRIBUTION: StaticOperationSchema = ( - 23, - n0, - _CDr, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/distribution", "code": 201} - ) - }, - CREATE_DISTRIBUTION_INPUT, - CREATE_DISTRIBUTION_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - CONTINUOUS_DEPLOYMENT_POLICY_IN_USE, - DISTRIBUTION_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR, - ILLEGAL_ORIGIN_ACCESS_CONFIGURATION, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_DEFAULT_ROOT_OBJECT, - INVALID_DOMAIN_NAME_FOR_ORIGIN_ACCESS_CONTROL, - INVALID_ERROR_CODE, - INVALID_FORWARD_COOKIES, - INVALID_FUNCTION_ASSOCIATION, - INVALID_GEO_RESTRICTION_PARAMETER, - INVALID_HEADERS_FOR_S3_ORIGIN, - INVALID_LAMBDA_FUNCTION_ASSOCIATION, - INVALID_LOCATION_CODE, - INVALID_MINIMUM_PROTOCOL_VERSION, - INVALID_ORIGIN, - INVALID_ORIGIN_ACCESS_CONTROL, - INVALID_ORIGIN_ACCESS_IDENTITY, - INVALID_ORIGIN_KEEPALIVE_TIMEOUT, - INVALID_ORIGIN_READ_TIMEOUT, - INVALID_PROTOCOL_SETTINGS, - INVALID_QUERY_STRING_PARAMETERS, - INVALID_RELATIVE_PATH, - INVALID_REQUIRED_PROTOCOL, - INVALID_RESPONSE_CODE, - INVALID_TTL_ORDER, - INVALID_VIEWER_CERTIFICATE, - INVALID_WEB_ACL_ID, - MISSING_BODY, - NO_SUCH_CACHE_POLICY, - NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, - NO_SUCH_ORIGIN, - NO_SUCH_ORIGIN_REQUEST_POLICY, - NO_SUCH_REALTIME_LOG_CONFIG, - NO_SUCH_RESPONSE_HEADERS_POLICY, - REALTIME_LOG_CONFIG_OWNER_MISMATCH, - TOO_MANY_CACHE_BEHAVIORS, - TOO_MANY_CERTIFICATES, - TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, - TOO_MANY_DISTRIBUTION_CNAM_ES, - TOO_MANY_DISTRIBUTIONS, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, - TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, - TOO_MANY_FUNCTION_ASSOCIATIONS, - TOO_MANY_HEADERS_IN_FORWARDED_VALUES, - TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, - TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, - TOO_MANY_ORIGIN_CUSTOM_HEADERS, - TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, - TOO_MANY_ORIGINS, - TOO_MANY_QUERY_STRING_PARAMETERS, - TOO_MANY_TRUSTED_SIGNERS, - TRUSTED_KEY_GROUP_DOES_NOT_EXIST, - TRUSTED_SIGNER_DOES_NOT_EXIST, - ), -) - -GEO_RESTRICTION_CUSTOMIZATION: StaticSchema = ( - 18, - n0, - _GRC, - 0, - (_RT, _Loc), - ((GEO_RESTRICTION_TYPE, 1), (LOCATION_LIST, 0)), -) - -CUSTOMIZATION_ACTION_TYPE: StaticSchema = ( - 14, - n0, - _CAT, - 0, - (_ov, _dis), - ((-1, {_sV: _ov}), (-1, {_sV: _dis})), -) - -WEB_ACL_CUSTOMIZATION: StaticSchema = ( - 18, - n0, - _WAC, - 0, - (_Ac, _Ar), - ((CUSTOMIZATION_ACTION_TYPE, 1), (STRING, 0)), -) - -CUSTOMIZATIONS: StaticSchema = ( - 18, - n0, - _Cu, - 0, - (_WA, _Ce, _GRe), - ((WEB_ACL_CUSTOMIZATION, 0), (CERTIFICATE, 0), (GEO_RESTRICTION_CUSTOMIZATION, 0)), -) - -DOMAIN_ITEM: StaticSchema = (18, n0, _DI, 0, (_Do,), ((STRING, 1),)) - -DOMAIN_LIST: StaticSchema = (16, n0, _DL, 0, (_m,), ((DOMAIN_ITEM, 0),)) - -VALIDATION_TOKEN_HOST: StaticSchema = ( - 14, - n0, - _VTH, - 0, - (_CF, _SHe), - ((-1, {_sV: _cl}), (-1, {_sV: _sh})), -) - -MANAGED_CERTIFICATE_REQUEST: StaticSchema = ( - 18, - n0, - _MCR, - 0, - (_VTH, _PDN, _CTLP), - ( - (VALIDATION_TOKEN_HOST, 1), - (STRING, 0), - (CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE, 0), - ), -) - -PARAMETER: StaticSchema = ( - 18, - n0, - _Par, - 0, - (_N, _Va), - ((PARAMETER_NAME, 1), (PARAMETER_VALUE, 1)), -) - -PARAMETERS: StaticSchema = (16, n0, _Para, 0, (_m,), ((PARAMETER, 0),)) - -CREATE_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( - 18, - n0, - _CDTI, - {_sSI: _cCDTR, _smit: None}, - (_DIi, _N, _Dom, _Tag, _Cu, _Para, _CGI, _MCR, _E), - ( - (STRING, 1), - (STRING, 1), - (DOMAIN_LIST, 1), - (TAGS, 0), - (CUSTOMIZATIONS, 0), - (PARAMETERS, 0), - (STRING, 0), - (MANAGED_CERTIFICATE_REQUEST, 0), - (BOOLEAN, 0), - ), -) - -DOMAIN_STATUS: StaticSchema = ( - 14, - n0, - _DSo, - 0, - (_Act, _In), - ((-1, {_sV: _act}), (-1, {_sV: _in})), -) - -DOMAIN_RESULT: StaticSchema = ( - 18, - n0, - _DR, - 0, - (_Do, _St), - ((STRING, 1), (DOMAIN_STATUS, 0)), -) - -DOMAIN_RESULT_LIST: StaticSchema = (16, n0, _DRL, 0, (_m,), ((DOMAIN_RESULT, 0),)) - -DISTRIBUTION_TENANT: StaticSchema = ( - 18, - n0, - _DT, - 0, - (_Id, _DIi, _N, _Ar, _Dom, _Tag, _Cu, _Para, _CGI, _CTr, _LMT, _E, _St), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DOMAIN_RESULT_LIST, 0), - (TAGS, 0), - (CUSTOMIZATIONS, 0), - (PARAMETERS, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -CREATE_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDTO, - {_sSI: _cCDTRo, _smith: None}, - (_DT, _ET), - ((DISTRIBUTION_TENANT, 16), (STRING, {_sH: _ET})), -) - -INVALID_ASSOCIATION: StaticSchema = ( - 18, - n0, - _IAn, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -CREATE_DISTRIBUTION_TENANT: StaticOperationSchema = ( - 23, - n0, - _CDT, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/distribution-tenant", "code": 201} - ) - }, - CREATE_DISTRIBUTION_TENANT_INPUT, - CREATE_DISTRIBUTION_TENANT_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_ASSOCIATION, - INVALID_TAGGING, - ), -) - -DISTRIBUTION_CONFIG_WITH_TAGS: StaticSchema = ( - 18, - n0, - _DCWT, - 0, - (_DC, _Tag), - ((DISTRIBUTION_CONFIG, 1), (TAGS, 1)), -) - -CREATE_DISTRIBUTION_WITH_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _CDWTI, - {_sSI: _cCDWTR, _smit: None}, - (_DCWT,), - ((DISTRIBUTION_CONFIG_WITH_TAGS, {_sN: _DCWT, _smi: None, _sP: None}),), -) - -CREATE_DISTRIBUTION_WITH_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _CDWTO, - {_sSI: _cCDWTRo, _smith: None}, - (_Dis, _L, _ET), - ((DISTRIBUTION, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -CREATE_DISTRIBUTION_WITH_TAGS: StaticOperationSchema = ( - 23, - n0, - _CDWT, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/distribution?WithTags", "code": 201} - ) - }, - CREATE_DISTRIBUTION_WITH_TAGS_INPUT, - CREATE_DISTRIBUTION_WITH_TAGS_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - CONTINUOUS_DEPLOYMENT_POLICY_IN_USE, - DISTRIBUTION_ALREADY_EXISTS, - ENTITY_NOT_FOUND, - ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR, - ILLEGAL_ORIGIN_ACCESS_CONFIGURATION, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_DEFAULT_ROOT_OBJECT, - INVALID_DOMAIN_NAME_FOR_ORIGIN_ACCESS_CONTROL, - INVALID_ERROR_CODE, - INVALID_FORWARD_COOKIES, - INVALID_FUNCTION_ASSOCIATION, - INVALID_GEO_RESTRICTION_PARAMETER, - INVALID_HEADERS_FOR_S3_ORIGIN, - INVALID_LAMBDA_FUNCTION_ASSOCIATION, - INVALID_LOCATION_CODE, - INVALID_MINIMUM_PROTOCOL_VERSION, - INVALID_ORIGIN, - INVALID_ORIGIN_ACCESS_CONTROL, - INVALID_ORIGIN_ACCESS_IDENTITY, - INVALID_ORIGIN_KEEPALIVE_TIMEOUT, - INVALID_ORIGIN_READ_TIMEOUT, - INVALID_PROTOCOL_SETTINGS, - INVALID_QUERY_STRING_PARAMETERS, - INVALID_RELATIVE_PATH, - INVALID_REQUIRED_PROTOCOL, - INVALID_RESPONSE_CODE, - INVALID_TAGGING, - INVALID_TTL_ORDER, - INVALID_VIEWER_CERTIFICATE, - INVALID_WEB_ACL_ID, - MISSING_BODY, - NO_SUCH_CACHE_POLICY, - NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, - NO_SUCH_ORIGIN, - NO_SUCH_ORIGIN_REQUEST_POLICY, - NO_SUCH_REALTIME_LOG_CONFIG, - NO_SUCH_RESPONSE_HEADERS_POLICY, - REALTIME_LOG_CONFIG_OWNER_MISMATCH, - TOO_MANY_CACHE_BEHAVIORS, - TOO_MANY_CERTIFICATES, - TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, - TOO_MANY_DISTRIBUTION_CNAM_ES, - TOO_MANY_DISTRIBUTIONS, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, - TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, - TOO_MANY_FUNCTION_ASSOCIATIONS, - TOO_MANY_HEADERS_IN_FORWARDED_VALUES, - TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, - TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, - TOO_MANY_ORIGIN_CUSTOM_HEADERS, - TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, - TOO_MANY_ORIGINS, - TOO_MANY_QUERY_STRING_PARAMETERS, - TOO_MANY_TRUSTED_SIGNERS, - TRUSTED_KEY_GROUP_DOES_NOT_EXIST, - TRUSTED_SIGNER_DOES_NOT_EXIST, - ), -) - -FORMAT: StaticSchema = (14, n0, _Fo, 0, (_URLE,), ((-1, {_sV: _URLE}),)) - -CONTENT_TYPE_PROFILE: StaticSchema = ( - 18, - n0, - _CTP, - 0, - (_Fo, _PI, _CTon), - ((FORMAT, 1), (STRING, 0), (STRING, 1)), -) - -CONTENT_TYPE_PROFILE_LIST: StaticSchema = ( - 16, - n0, - _CTPL, - 0, - (_m,), - ((CONTENT_TYPE_PROFILE, {_sN: _CTP}),), -) - -CONTENT_TYPE_PROFILES: StaticSchema = ( - 18, - n0, - _CTPo, - 0, - (_Q, _I), - ((INTEGER, 1), (CONTENT_TYPE_PROFILE_LIST, 0)), -) - -CONTENT_TYPE_PROFILE_CONFIG: StaticSchema = ( - 18, - n0, - _CTPC, - 0, - (_FWCTIU, _CTPo), - ((BOOLEAN, 1), (CONTENT_TYPE_PROFILES, 0)), -) - -QUERY_ARG_PROFILE: StaticSchema = ( - 18, - n0, - _QAP, - 0, - (_QA, _PI), - ((STRING, 1), (STRING, 1)), -) - -QUERY_ARG_PROFILE_LIST: StaticSchema = ( - 16, - n0, - _QAPL, - 0, - (_m,), - ((QUERY_ARG_PROFILE, {_sN: _QAP}),), -) - -QUERY_ARG_PROFILES: StaticSchema = ( - 18, - n0, - _QAPu, - 0, - (_Q, _I), - ((INTEGER, 1), (QUERY_ARG_PROFILE_LIST, 0)), -) - -QUERY_ARG_PROFILE_CONFIG: StaticSchema = ( - 18, - n0, - _QAPC, - 0, - (_FWQAPIU, _QAPu), - ((BOOLEAN, 1), (QUERY_ARG_PROFILES, 0)), -) - -FIELD_LEVEL_ENCRYPTION_CONFIG: StaticSchema = ( - 18, - n0, - _FLEC, - 0, - (_CR, _Comm, _QAPC, _CTPC), - ( - (STRING, 1), - (STRING, 0), - (QUERY_ARG_PROFILE_CONFIG, 0), - (CONTENT_TYPE_PROFILE_CONFIG, 0), - ), -) - -CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _CFLECI, - {_sSI: _cCFLECR, _smit: None}, - (_FLEC,), - ((FIELD_LEVEL_ENCRYPTION_CONFIG, {_sN: _FLEC, _smi: None, _sP: None}),), -) - -FIELD_LEVEL_ENCRYPTION: StaticSchema = ( - 18, - n0, - _FLE, - 0, - (_Id, _LMT, _FLEC), - ((STRING, 1), (TIMESTAMP, 1), (FIELD_LEVEL_ENCRYPTION_CONFIG, 1)), -) - -CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _CFLECO, - {_sSI: _cCFLECRo, _smith: None}, - (_FLE, _L, _ET), - ((FIELD_LEVEL_ENCRYPTION, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -FIELD_LEVEL_ENCRYPTION_CONFIG_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _FLECAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticSchema = ( - 18, - n0, - _NSFLEP, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -QUERY_ARG_PROFILE_EMPTY: StaticSchema = ( - 18, - n0, - _QAPE, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONFIGS: StaticSchema = ( - 18, - n0, - _TMFLEC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONTENT_TYPE_PROFILES: StaticSchema = ( - 18, - n0, - _TMFLECTP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_FIELD_LEVEL_ENCRYPTION_QUERY_ARG_PROFILES: StaticSchema = ( - 18, - n0, - _TMFLEQAP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _CFLEC, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/field-level-encryption", "code": 201} - ) - }, - CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT, - CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT, - ( - FIELD_LEVEL_ENCRYPTION_CONFIG_ALREADY_EXISTS, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, - QUERY_ARG_PROFILE_EMPTY, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONFIGS, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONTENT_TYPE_PROFILES, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_QUERY_ARG_PROFILES, - ), -) - -FIELD_PATTERN_LIST: StaticSchema = (16, n0, _FPL, 0, (_m,), ((STRING, {_sN: _FPi}),)) - -FIELD_PATTERNS: StaticSchema = ( - 18, - n0, - _FPie, - 0, - (_Q, _I), - ((INTEGER, 1), (FIELD_PATTERN_LIST, 0)), -) - -ENCRYPTION_ENTITY: StaticSchema = ( - 18, - n0, - _EE, - 0, - (_PKI, _PIr, _FPie), - ((STRING, 1), (STRING, 1), (FIELD_PATTERNS, 1)), -) - -ENCRYPTION_ENTITY_LIST: StaticSchema = ( - 16, - n0, - _EEL, - 0, - (_m,), - ((ENCRYPTION_ENTITY, {_sN: _EE}),), -) - -ENCRYPTION_ENTITIES: StaticSchema = ( - 18, - n0, - _EEn, - 0, - (_Q, _I), - ((INTEGER, 1), (ENCRYPTION_ENTITY_LIST, 0)), -) - -FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG: StaticSchema = ( - 18, - n0, - _FLEPC, - 0, - (_N, _CR, _Comm, _EEn), - ((STRING, 1), (STRING, 1), (STRING, 0), (ENCRYPTION_ENTITIES, 1)), -) - -CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _CFLEPI, - {_sSI: _cCFLEPR, _smit: None}, - (_FLEPC,), - ((FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG, {_sN: _FLEPC, _smi: None, _sP: None}),), -) - -FIELD_LEVEL_ENCRYPTION_PROFILE: StaticSchema = ( - 18, - n0, - _FLEP, - 0, - (_Id, _LMT, _FLEPC), - ((STRING, 1), (TIMESTAMP, 1), (FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG, 1)), -) - -CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _CFLEPO, - {_sSI: _cCFLEPRo, _smith: None}, - (_FLEP, _L, _ET), - ((FIELD_LEVEL_ENCRYPTION_PROFILE, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -FIELD_LEVEL_ENCRYPTION_PROFILE_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _FLEPAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -FIELD_LEVEL_ENCRYPTION_PROFILE_SIZE_EXCEEDED: StaticSchema = ( - 18, - n0, - _FLEPSE, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_PUBLIC_KEY: StaticSchema = ( - 18, - n0, - _NSPK, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_FIELD_LEVEL_ENCRYPTION_ENCRYPTION_ENTITIES: StaticSchema = ( - 18, - n0, - _TMFLEEE, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_FIELD_LEVEL_ENCRYPTION_FIELD_PATTERNS: StaticSchema = ( - 18, - n0, - _TMFLEFP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_FIELD_LEVEL_ENCRYPTION_PROFILES: StaticSchema = ( - 18, - n0, - _TMFLEP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticOperationSchema = ( - 23, - n0, - _CFLEP, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/field-level-encryption-profile", - "code": 201, - } - ) - }, - CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT, - CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT, - ( - FIELD_LEVEL_ENCRYPTION_PROFILE_ALREADY_EXISTS, - FIELD_LEVEL_ENCRYPTION_PROFILE_SIZE_EXCEEDED, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - NO_SUCH_PUBLIC_KEY, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_ENCRYPTION_ENTITIES, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_FIELD_PATTERNS, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_PROFILES, - ), -) - -CREATE_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _CFI, - {_sSI: _cCFR, _smit: None}, - (_N, _FCu, _FCun, _Tag), - ((FUNCTION_NAME, 1), (FUNCTION_CONFIG, 1), (FUNCTION_BLOB, 1), (TAGS, 0)), -) - -FUNCTION_METADATA: StaticSchema = ( - 18, - n0, - _FM, - 0, - (_FARN, _Stag, _CTr, _LMT), - ((STRING, 1), (FUNCTION_STAGE, 0), (TIMESTAMP, 0), (TIMESTAMP, 1)), -) - -FUNCTION_SUMMARY: StaticSchema = ( - 18, - n0, - _FSu, - 0, - (_N, _St, _FCu, _FM), - ((FUNCTION_NAME, 1), (STRING, 0), (FUNCTION_CONFIG, 1), (FUNCTION_METADATA, 1)), -) - -CREATE_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CFO, - {_sSI: _cCFRo, _smith: None}, - (_FSu, _L, _ET), - ((FUNCTION_SUMMARY, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -FUNCTION_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _FAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -FUNCTION_SIZE_LIMIT_EXCEEDED: StaticSchema = ( - 18, - n0, - _FSLE, - {_sm: _c, _sE: 413}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_FUNCTIONS: StaticSchema = ( - 18, - n0, - _TMF, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _CFr, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/function", "code": 201} - ) - }, - CREATE_FUNCTION_INPUT, - CREATE_FUNCTION_OUTPUT, - ( - FUNCTION_ALREADY_EXISTS, - FUNCTION_SIZE_LIMIT_EXCEEDED, - INVALID_ARGUMENT, - TOO_MANY_FUNCTIONS, - UNSUPPORTED_OPERATION, - ), -) - -PATH_LIST: StaticSchema = (16, n0, _PL, 0, (_m,), ((STRING, {_sN: _Pat}),)) - -PATHS: StaticSchema = (18, n0, _Path, 0, (_Q, _I), ((INTEGER, 1), (PATH_LIST, 0))) - -INVALIDATION_BATCH: StaticSchema = ( - 18, - n0, - _IBn, - 0, - (_Path, _CR), - ((PATHS, 1), (STRING, 1)), -) - -CREATE_INVALIDATION_INPUT: StaticSchema = ( - 18, - n0, - _CII, - {_sSI: _cCIR, _smit: None}, - (_DIi, _IBn), - ((STRING, 9), (INVALIDATION_BATCH, {_sN: _IBn, _smi: None, _sP: None})), -) - -INVALIDATION: StaticSchema = ( - 18, - n0, - _Inv, - 0, - (_Id, _St, _CTre, _IBn), - ((STRING, 1), (STRING, 1), (TIMESTAMP, 1), (INVALIDATION_BATCH, 1)), -) - -CREATE_INVALIDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CIO, - {_sSI: _cCIRo, _smith: None}, - (_L, _Inv), - ((STRING, {_sH: _L}), (INVALIDATION, 16)), -) - -TOO_MANY_INVALIDATIONS_IN_PROGRESS: StaticSchema = ( - 18, - n0, - _TMIIP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_INVALIDATION: StaticOperationSchema = ( - 23, - n0, - _CI, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/distribution/{DistributionId}/invalidation", - "code": 201, - } - ) - }, - CREATE_INVALIDATION_INPUT, - CREATE_INVALIDATION_OUTPUT, - ( - ACCESS_DENIED, - BATCH_TOO_LARGE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - MISSING_BODY, - NO_SUCH_DISTRIBUTION, - TOO_MANY_INVALIDATIONS_IN_PROGRESS, - ), -) - -CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( - 18, - n0, - _CIFDTI, - {_sSI: _cCIFDTR, _smit: None}, - (_Id, _IBn), - ((STRING, 9), (INVALIDATION_BATCH, {_sN: _IBn, _smi: None, _sP: None})), -) - -CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( - 18, - n0, - _CIFDTO, - {_sSI: _cCIFDTRo, _smith: None}, - (_L, _Inv), - ((STRING, {_sH: _L}), (INVALIDATION, 16)), -) - -CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT: StaticOperationSchema = ( - 23, - n0, - _CIFDT, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/distribution-tenant/{Id}/invalidation", - "code": 201, - } - ) - }, - CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT, - CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT, - ( - ACCESS_DENIED, - BATCH_TOO_LARGE, - ENTITY_NOT_FOUND, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - MISSING_BODY, - TOO_MANY_INVALIDATIONS_IN_PROGRESS, - ), -) - -PUBLIC_KEY_ID_LIST: StaticSchema = (16, n0, _PKIL, 0, (_m,), ((STRING, {_sN: _PK}),)) - -KEY_GROUP_CONFIG: StaticSchema = ( - 18, - n0, - _KGC, - 0, - (_N, _I, _Comm), - ((STRING, 1), (PUBLIC_KEY_ID_LIST, 1), (STRING, 0)), -) - -CREATE_KEY_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CKGI, - {_sSI: _cCKGR, _smit: None}, - (_KGC,), - ((KEY_GROUP_CONFIG, {_sN: _KGC, _smi: None, _sP: None}),), -) - -KEY_GROUP: StaticSchema = ( - 18, - n0, - _KG, - 0, - (_Id, _LMT, _KGC), - ((STRING, 1), (TIMESTAMP, 1), (KEY_GROUP_CONFIG, 1)), -) - -CREATE_KEY_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CKGO, - {_sSI: _cCKGRo, _smith: None}, - (_KG, _L, _ET), - ((KEY_GROUP, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -KEY_GROUP_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _KGAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_KEY_GROUPS: StaticSchema = ( - 18, - n0, - _TMKG, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_PUBLIC_KEYS_IN_KEY_GROUP: StaticSchema = ( - 18, - n0, - _TMPKIKG, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_KEY_GROUP: StaticOperationSchema = ( - 23, - n0, - _CKG, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/key-group", "code": 201} - ) - }, - CREATE_KEY_GROUP_INPUT, - CREATE_KEY_GROUP_OUTPUT, - ( - INVALID_ARGUMENT, - KEY_GROUP_ALREADY_EXISTS, - TOO_MANY_KEY_GROUPS, - TOO_MANY_PUBLIC_KEYS_IN_KEY_GROUP, - ), -) - -KEY_VALUE_STORE_COMMENT: StaticSchema = (3, n0, _KVSC, 0) - -IMPORT_SOURCE_TYPE: StaticSchema = (14, n0, _IST, 0, (_S_,), ((-1, {_sV: _S_}),)) - -IMPORT_SOURCE: StaticSchema = ( - 18, - n0, - _ISm, - 0, - (_ST, _SARN), - ((IMPORT_SOURCE_TYPE, 1), (STRING, 1)), -) - -KEY_VALUE_STORE_NAME: StaticSchema = (3, n0, _KVSN, 0) - -CREATE_KEY_VALUE_STORE_INPUT: StaticSchema = ( - 18, - n0, - _CKVSI, - {_sSI: _cCKVSR, _smit: None}, - (_N, _Comm, _ISm, _Tag), - ( - (KEY_VALUE_STORE_NAME, 1), - (KEY_VALUE_STORE_COMMENT, 0), - (IMPORT_SOURCE, 0), - (TAGS, 0), - ), -) - -KEY_VALUE_STORE: StaticSchema = ( - 18, - n0, - _KVS, - 0, - (_N, _Id, _Comm, _ARN, _St, _LMT), - ((STRING, 1), (STRING, 1), (STRING, 1), (STRING, 1), (STRING, 0), (TIMESTAMP, 1)), -) - -CREATE_KEY_VALUE_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _CKVSO, - {_sSI: _cCKVSRo, _smith: None}, - (_KVS, _ET, _L), - ((KEY_VALUE_STORE, 16), (STRING, {_sH: _ET}), (STRING, {_sH: _L})), -) - -CREATE_KEY_VALUE_STORE: StaticOperationSchema = ( - 23, - n0, - _CKVS, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/key-value-store", "code": 201} - ) - }, - CREATE_KEY_VALUE_STORE_INPUT, - CREATE_KEY_VALUE_STORE_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_SIZE_LIMIT_EXCEEDED, - INVALID_ARGUMENT, - UNSUPPORTED_OPERATION, - ), -) - -REALTIME_METRICS_SUBSCRIPTION_STATUS: StaticSchema = ( - 14, - n0, - _RMSS, - 0, - (_E, _Di), - ((-1, {_sV: _E}), (-1, {_sV: _Di})), -) - -REALTIME_METRICS_SUBSCRIPTION_CONFIG: StaticSchema = ( - 18, - n0, - _RMSC, - 0, - (_RMSS,), - ((REALTIME_METRICS_SUBSCRIPTION_STATUS, 1),), -) - -MONITORING_SUBSCRIPTION: StaticSchema = ( - 18, - n0, - _MS, - 0, - (_RMSC,), - ((REALTIME_METRICS_SUBSCRIPTION_CONFIG, 0),), -) - -CREATE_MONITORING_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _CMSI, - {_sSI: _cCMSR, _smit: None}, - (_DIi, _MS), - ((STRING, 9), (MONITORING_SUBSCRIPTION, {_sN: _MS, _smi: None, _sP: None})), -) - -CREATE_MONITORING_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CMSO, - {_sSI: _cCMSRo, _smith: None}, - (_MS,), - ((MONITORING_SUBSCRIPTION, 16),), -) - -MONITORING_SUBSCRIPTION_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _MSAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -CREATE_MONITORING_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _CMS, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription", - "code": 200, - } - ) - }, - CREATE_MONITORING_SUBSCRIPTION_INPUT, - CREATE_MONITORING_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED, - MONITORING_SUBSCRIPTION_ALREADY_EXISTS, - NO_SUCH_DISTRIBUTION, - UNSUPPORTED_OPERATION, - ), -) - -ORIGIN_ACCESS_CONTROL_ORIGIN_TYPES: StaticSchema = ( - 14, - n0, - _OACOT, - 0, - (_s_, _me, _med, _la), - ((-1, {_sV: _s_}), (-1, {_sV: _me}), (-1, {_sV: _med}), (-1, {_sV: _la})), -) - -ORIGIN_ACCESS_CONTROL_SIGNING_BEHAVIORS: StaticSchema = ( - 14, - n0, - _OACSB, - 0, - (_ne, _alw, _no, _aaa), - ((-1, {_sV: _ne}), (-1, {_sV: _alw}), (-1, {_sV: _no_}), (-1, {_sV: _aaa_})), -) - -ORIGIN_ACCESS_CONTROL_SIGNING_PROTOCOLS: StaticSchema = ( - 14, - n0, - _OACSP, - 0, - (_sig, _sigv), - ((-1, {_sV: _sig}), (-1, {_sV: _sigv})), -) - -ORIGIN_ACCESS_CONTROL_CONFIG: StaticSchema = ( - 18, - n0, - _OACC, - 0, - (_N, _Des, _SPi, _SB, _OACOTr), - ( - (STRING, 1), - (STRING, 0), - (ORIGIN_ACCESS_CONTROL_SIGNING_PROTOCOLS, 1), - (ORIGIN_ACCESS_CONTROL_SIGNING_BEHAVIORS, 1), - (ORIGIN_ACCESS_CONTROL_ORIGIN_TYPES, 1), - ), -) - -CREATE_ORIGIN_ACCESS_CONTROL_INPUT: StaticSchema = ( - 18, - n0, - _COACI, - {_sSI: _cCOACR, _smit: None}, - (_OACC,), - ((ORIGIN_ACCESS_CONTROL_CONFIG, {_sN: _OACC, _smi: None, _sP: None}),), -) - -ORIGIN_ACCESS_CONTROL: StaticSchema = ( - 18, - n0, - _OAC, - 0, - (_Id, _OACC), - ((STRING, 1), (ORIGIN_ACCESS_CONTROL_CONFIG, 0)), -) - -CREATE_ORIGIN_ACCESS_CONTROL_OUTPUT: StaticSchema = ( - 18, - n0, - _COACO, - {_sSI: _cCOACRo, _smith: None}, - (_OAC, _L, _ET), - ((ORIGIN_ACCESS_CONTROL, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -ORIGIN_ACCESS_CONTROL_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _OACAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_ORIGIN_ACCESS_CONTROLS: StaticSchema = ( - 18, - n0, - _TMOAC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_ORIGIN_ACCESS_CONTROL: StaticOperationSchema = ( - 23, - n0, - _COAC, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/origin-access-control", "code": 201} - ) - }, - CREATE_ORIGIN_ACCESS_CONTROL_INPUT, - CREATE_ORIGIN_ACCESS_CONTROL_OUTPUT, - ( - INVALID_ARGUMENT, - ORIGIN_ACCESS_CONTROL_ALREADY_EXISTS, - TOO_MANY_ORIGIN_ACCESS_CONTROLS, - ), -) - -ORIGIN_REQUEST_POLICY_COOKIE_BEHAVIOR: StaticSchema = ( - 14, - n0, - _ORPCB, - 0, - (_n, _wh, _al, _aE), - ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _al}), (-1, {_sV: _aE})), -) - -ORIGIN_REQUEST_POLICY_COOKIES_CONFIG: StaticSchema = ( - 18, - n0, - _ORPCC, - 0, - (_CBo, _Co), - ((ORIGIN_REQUEST_POLICY_COOKIE_BEHAVIOR, 1), (COOKIE_NAMES, 0)), -) - -ORIGIN_REQUEST_POLICY_HEADER_BEHAVIOR: StaticSchema = ( - 14, - n0, - _ORPHB, - 0, - (_n, _wh, _aV, _aVAWCF, _aE), - ( - (-1, {_sV: _n}), - (-1, {_sV: _wh}), - (-1, {_sV: _aV}), - (-1, {_sV: _aVAWCF}), - (-1, {_sV: _aE}), - ), -) - -ORIGIN_REQUEST_POLICY_HEADERS_CONFIG: StaticSchema = ( - 18, - n0, - _ORPHC, - 0, - (_HB, _He), - ((ORIGIN_REQUEST_POLICY_HEADER_BEHAVIOR, 1), (HEADERS, 0)), -) - -ORIGIN_REQUEST_POLICY_QUERY_STRING_BEHAVIOR: StaticSchema = ( - 14, - n0, - _ORPQSB, - 0, - (_n, _wh, _al, _aE), - ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _al}), (-1, {_sV: _aE})), -) - -ORIGIN_REQUEST_POLICY_QUERY_STRINGS_CONFIG: StaticSchema = ( - 18, - n0, - _ORPQSC, - 0, - (_QSB, _QSu), - ((ORIGIN_REQUEST_POLICY_QUERY_STRING_BEHAVIOR, 1), (QUERY_STRING_NAMES, 0)), -) - -ORIGIN_REQUEST_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _ORPC, - 0, - (_Comm, _N, _HC, _CC, _QSC), - ( - (STRING, 0), - (STRING, 1), - (ORIGIN_REQUEST_POLICY_HEADERS_CONFIG, 1), - (ORIGIN_REQUEST_POLICY_COOKIES_CONFIG, 1), - (ORIGIN_REQUEST_POLICY_QUERY_STRINGS_CONFIG, 1), - ), -) - -CREATE_ORIGIN_REQUEST_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _CORPI, - {_sSI: _cCORPR, _smit: None}, - (_ORPC,), - ((ORIGIN_REQUEST_POLICY_CONFIG, {_sN: _ORPC, _smi: None, _sP: None}),), -) - -ORIGIN_REQUEST_POLICY: StaticSchema = ( - 18, - n0, - _ORP, - 0, - (_Id, _LMT, _ORPC), - ((STRING, 1), (TIMESTAMP, 1), (ORIGIN_REQUEST_POLICY_CONFIG, 1)), -) - -CREATE_ORIGIN_REQUEST_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _CORPO, - {_sSI: _cCORPRo, _smith: None}, - (_ORP, _L, _ET), - ((ORIGIN_REQUEST_POLICY, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -ORIGIN_REQUEST_POLICY_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _ORPAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_COOKIES_IN_ORIGIN_REQUEST_POLICY: StaticSchema = ( - 18, - n0, - _TMCIORP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_HEADERS_IN_ORIGIN_REQUEST_POLICY: StaticSchema = ( - 18, - n0, - _TMHIORP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_ORIGIN_REQUEST_POLICIES: StaticSchema = ( - 18, - n0, - _TMORP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY: StaticSchema = ( - 18, - n0, - _TMQSIORP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_ORIGIN_REQUEST_POLICY: StaticOperationSchema = ( - 23, - n0, - _CORP, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/origin-request-policy", "code": 201} - ) - }, - CREATE_ORIGIN_REQUEST_POLICY_INPUT, - CREATE_ORIGIN_REQUEST_POLICY_OUTPUT, - ( - ACCESS_DENIED, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - ORIGIN_REQUEST_POLICY_ALREADY_EXISTS, - TOO_MANY_COOKIES_IN_ORIGIN_REQUEST_POLICY, - TOO_MANY_HEADERS_IN_ORIGIN_REQUEST_POLICY, - TOO_MANY_ORIGIN_REQUEST_POLICIES, - TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY, - ), -) - -PUBLIC_KEY_CONFIG: StaticSchema = ( - 18, - n0, - _PKC, - 0, - (_CR, _N, _EK, _Comm), - ((STRING, 1), (STRING, 1), (STRING, 1), (STRING, 0)), -) - -CREATE_PUBLIC_KEY_INPUT: StaticSchema = ( - 18, - n0, - _CPKI, - {_sSI: _cCPKR, _smit: None}, - (_PKC,), - ((PUBLIC_KEY_CONFIG, {_sN: _PKC, _smi: None, _sP: None}),), -) - -PUBLIC_KEY: StaticSchema = ( - 18, - n0, - _PK, - 0, - (_Id, _CTr, _PKC), - ((STRING, 1), (TIMESTAMP, 1), (PUBLIC_KEY_CONFIG, 1)), -) - -CREATE_PUBLIC_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _CPKO, - {_sSI: _cCPKRo, _smith: None}, - (_PK, _L, _ET), - ((PUBLIC_KEY, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -PUBLIC_KEY_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _PKAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_PUBLIC_KEYS: StaticSchema = ( - 18, - n0, - _TMPK, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_PUBLIC_KEY: StaticOperationSchema = ( - 23, - n0, - _CPK, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/public-key", "code": 201} - ) - }, - CREATE_PUBLIC_KEY_INPUT, - CREATE_PUBLIC_KEY_OUTPUT, - (INVALID_ARGUMENT, PUBLIC_KEY_ALREADY_EXISTS, TOO_MANY_PUBLIC_KEYS), -) - -KINESIS_STREAM_CONFIG: StaticSchema = ( - 18, - n0, - _KSC, - 0, - (_RARN, _SARNt), - ((STRING, 1), (STRING, 1)), -) - -END_POINT: StaticSchema = ( - 18, - n0, - _EP, - 0, - (_STt, _KSC), - ((STRING, 1), (KINESIS_STREAM_CONFIG, 0)), -) - -END_POINT_LIST: StaticSchema = (16, n0, _EPL, 0, (_m,), ((END_POINT, 0),)) - -FIELD_LIST: StaticSchema = (16, n0, _FL, 0, (_m,), ((STRING, {_sN: _Fi}),)) - -CREATE_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _CRLCI, - {_sSI: _cCRLCR, _smit: None}, - (_EPn, _Fie, _N, _SR), - ((END_POINT_LIST, 1), (FIELD_LIST, 1), (STRING, 1), (LONG, 1)), -) - -REALTIME_LOG_CONFIG: StaticSchema = ( - 18, - n0, - _RLC, - 0, - (_ARN, _N, _SR, _EPn, _Fie), - ((STRING, 1), (STRING, 1), (LONG, 1), (END_POINT_LIST, 1), (FIELD_LIST, 1)), -) - -CREATE_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _CRLCO, - {_sSI: _cCRLCRo, _smith: None}, - (_RLC,), - ((REALTIME_LOG_CONFIG, 0),), -) - -REALTIME_LOG_CONFIG_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _RLCAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_REALTIME_LOG_CONFIGS: StaticSchema = ( - 18, - n0, - _TMRLC, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_REALTIME_LOG_CONFIG: StaticOperationSchema = ( - 23, - n0, - _CRLC, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/realtime-log-config", "code": 201} - ) - }, - CREATE_REALTIME_LOG_CONFIG_INPUT, - CREATE_REALTIME_LOG_CONFIG_OUTPUT, - ( - ACCESS_DENIED, - INVALID_ARGUMENT, - REALTIME_LOG_CONFIG_ALREADY_EXISTS, - TOO_MANY_REALTIME_LOG_CONFIGS, - ), -) - -RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_HEADERS: StaticSchema = ( - 18, - n0, - _RHPACAH, - 0, - (_Q, _I), - ((INTEGER, 1), (ACCESS_CONTROL_ALLOW_HEADERS_LIST, 1)), -) - -RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS: StaticSchema = ( - 18, - n0, - _RHPACAM, - 0, - (_Q, _I), - ((INTEGER, 1), (ACCESS_CONTROL_ALLOW_METHODS_LIST, 1)), -) - -RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_ORIGINS: StaticSchema = ( - 18, - n0, - _RHPACAO, - 0, - (_Q, _I), - ((INTEGER, 1), (ACCESS_CONTROL_ALLOW_ORIGINS_LIST, 1)), -) - -RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_EXPOSE_HEADERS: StaticSchema = ( - 18, - n0, - _RHPACEH, - 0, - (_Q, _I), - ((INTEGER, 1), (ACCESS_CONTROL_EXPOSE_HEADERS_LIST, 0)), -) - -RESPONSE_HEADERS_POLICY_CORS_CONFIG: StaticSchema = ( - 18, - n0, - _RHPCC, - 0, - (_ACAO, _ACAH, _ACAM, _ACAC, _ACEH, _ACMAS, _OO), - ( - (RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_ORIGINS, 1), - (RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_HEADERS, 1), - (RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS, 1), - (BOOLEAN, 1), - (RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_EXPOSE_HEADERS, 0), - (INTEGER, 0), - (BOOLEAN, 1), - ), -) - -RESPONSE_HEADERS_POLICY_CUSTOM_HEADER: StaticSchema = ( - 18, - n0, - _RHPCH, - 0, - (_H, _Va, _Ov), - ((STRING, 1), (STRING, 1), (BOOLEAN, 1)), -) - -RESPONSE_HEADERS_POLICY_CUSTOM_HEADER_LIST: StaticSchema = ( - 16, - n0, - _RHPCHL, - 0, - (_m,), - ((RESPONSE_HEADERS_POLICY_CUSTOM_HEADER, {_sN: _RHPCH}),), -) - -RESPONSE_HEADERS_POLICY_CUSTOM_HEADERS_CONFIG: StaticSchema = ( - 18, - n0, - _RHPCHC, - 0, - (_Q, _I), - ((INTEGER, 1), (RESPONSE_HEADERS_POLICY_CUSTOM_HEADER_LIST, 0)), -) - -RESPONSE_HEADERS_POLICY_REMOVE_HEADER: StaticSchema = ( - 18, - n0, - _RHPRH, - 0, - (_H,), - ((STRING, 1),), -) - -RESPONSE_HEADERS_POLICY_REMOVE_HEADER_LIST: StaticSchema = ( - 16, - n0, - _RHPRHL, - 0, - (_m,), - ((RESPONSE_HEADERS_POLICY_REMOVE_HEADER, {_sN: _RHPRH}),), -) - -RESPONSE_HEADERS_POLICY_REMOVE_HEADERS_CONFIG: StaticSchema = ( - 18, - n0, - _RHPRHC, - 0, - (_Q, _I), - ((INTEGER, 1), (RESPONSE_HEADERS_POLICY_REMOVE_HEADER_LIST, 0)), -) - -RESPONSE_HEADERS_POLICY_CONTENT_SECURITY_POLICY: StaticSchema = ( - 18, - n0, - _RHPCSP, - 0, - (_Ov, _CSP), - ((BOOLEAN, 1), (STRING, 1)), -) - -RESPONSE_HEADERS_POLICY_CONTENT_TYPE_OPTIONS: StaticSchema = ( - 18, - n0, - _RHPCTO, - 0, - (_Ov,), - ((BOOLEAN, 1),), -) - -FRAME_OPTIONS_LIST: StaticSchema = ( - 14, - n0, - _FOL, - 0, - (_DENY, _SAMEORIGIN), - ((-1, {_sV: _DENY}), (-1, {_sV: _SAMEORIGIN})), -) - -RESPONSE_HEADERS_POLICY_FRAME_OPTIONS: StaticSchema = ( - 18, - n0, - _RHPFO, - 0, - (_Ov, _FO), - ((BOOLEAN, 1), (FRAME_OPTIONS_LIST, 1)), -) - -REFERRER_POLICY_LIST: StaticSchema = ( - 14, - n0, - _RPL, - 0, - (_nr, _nrwd, _ori, _owco, _so__, _so____, _sowco, _uu), - ( - (-1, {_sV: _nr_}), - (-1, {_sV: _nrwd_}), - (-1, {_sV: _ori}), - (-1, {_sV: _owco_}), - (-1, {_sV: _so___}), - (-1, {_sV: _so_____}), - (-1, {_sV: _sowco_}), - (-1, {_sV: _uu_}), - ), -) - -RESPONSE_HEADERS_POLICY_REFERRER_POLICY: StaticSchema = ( - 18, - n0, - _RHPRP, - 0, - (_Ov, _RP), - ((BOOLEAN, 1), (REFERRER_POLICY_LIST, 1)), -) - -RESPONSE_HEADERS_POLICY_STRICT_TRANSPORT_SECURITY: StaticSchema = ( - 18, - n0, - _RHPSTS, - 0, - (_Ov, _ISn, _Prel, _ACMAS), - ((BOOLEAN, 1), (BOOLEAN, 0), (BOOLEAN, 0), (INTEGER, 1)), -) - -RESPONSE_HEADERS_POLICY_XSS_PROTECTION: StaticSchema = ( - 18, - n0, - _RHPXSSP, - 0, - (_Ov, _Pro, _MBo, _RU), - ((BOOLEAN, 1), (BOOLEAN, 1), (BOOLEAN, 0), (STRING, 0)), -) - -RESPONSE_HEADERS_POLICY_SECURITY_HEADERS_CONFIG: StaticSchema = ( - 18, - n0, - _RHPSHC, - 0, - (_XSSP, _FOr, _RP, _CSP, _CTO, _STS), - ( - (RESPONSE_HEADERS_POLICY_XSS_PROTECTION, 0), - (RESPONSE_HEADERS_POLICY_FRAME_OPTIONS, 0), - (RESPONSE_HEADERS_POLICY_REFERRER_POLICY, 0), - (RESPONSE_HEADERS_POLICY_CONTENT_SECURITY_POLICY, 0), - (RESPONSE_HEADERS_POLICY_CONTENT_TYPE_OPTIONS, 0), - (RESPONSE_HEADERS_POLICY_STRICT_TRANSPORT_SECURITY, 0), - ), -) - -SAMPLING_RATE: StaticSchema = (10, n0, _SR, 0) - -RESPONSE_HEADERS_POLICY_SERVER_TIMING_HEADERS_CONFIG: StaticSchema = ( - 18, - n0, - _RHPSTHC, - 0, - (_E, _SR), - ((BOOLEAN, 1), (SAMPLING_RATE, 0)), -) - -RESPONSE_HEADERS_POLICY_CONFIG: StaticSchema = ( - 18, - n0, - _RHPC, - 0, - (_Comm, _N, _CCo, _SHCe, _STHC, _CHC, _RHC), - ( - (STRING, 0), - (STRING, 1), - (RESPONSE_HEADERS_POLICY_CORS_CONFIG, 0), - (RESPONSE_HEADERS_POLICY_SECURITY_HEADERS_CONFIG, 0), - (RESPONSE_HEADERS_POLICY_SERVER_TIMING_HEADERS_CONFIG, 0), - (RESPONSE_HEADERS_POLICY_CUSTOM_HEADERS_CONFIG, 0), - (RESPONSE_HEADERS_POLICY_REMOVE_HEADERS_CONFIG, 0), - ), -) - -CREATE_RESPONSE_HEADERS_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _CRHPI, - {_sSI: _cCRHPR, _smit: None}, - (_RHPC,), - ((RESPONSE_HEADERS_POLICY_CONFIG, {_sN: _RHPC, _smi: None, _sP: None}),), -) - -RESPONSE_HEADERS_POLICY: StaticSchema = ( - 18, - n0, - _RHP, - 0, - (_Id, _LMT, _RHPC), - ((STRING, 1), (TIMESTAMP, 1), (RESPONSE_HEADERS_POLICY_CONFIG, 1)), -) - -CREATE_RESPONSE_HEADERS_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _CRHPO, - {_sSI: _cCRHPRo, _smith: None}, - (_RHP, _L, _ET), - ((RESPONSE_HEADERS_POLICY, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -RESPONSE_HEADERS_POLICY_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _RHPAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -TOO_LONG_CSP_IN_RESPONSE_HEADERS_POLICY: StaticSchema = ( - 18, - n0, - _TLCSPIRHP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_CUSTOM_HEADERS_IN_RESPONSE_HEADERS_POLICY: StaticSchema = ( - 18, - n0, - _TMCHIRHP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_REMOVE_HEADERS_IN_RESPONSE_HEADERS_POLICY: StaticSchema = ( - 18, - n0, - _TMRHIRHP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_RESPONSE_HEADERS_POLICIES: StaticSchema = ( - 18, - n0, - _TMRHP, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_RESPONSE_HEADERS_POLICY: StaticOperationSchema = ( - 23, - n0, - _CRHP, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/response-headers-policy", - "code": 201, - } - ) - }, - CREATE_RESPONSE_HEADERS_POLICY_INPUT, - CREATE_RESPONSE_HEADERS_POLICY_OUTPUT, - ( - ACCESS_DENIED, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - RESPONSE_HEADERS_POLICY_ALREADY_EXISTS, - TOO_LONG_CSP_IN_RESPONSE_HEADERS_POLICY, - TOO_MANY_CUSTOM_HEADERS_IN_RESPONSE_HEADERS_POLICY, - TOO_MANY_REMOVE_HEADERS_IN_RESPONSE_HEADERS_POLICY, - TOO_MANY_RESPONSE_HEADERS_POLICIES, - ), -) - -STREAMING_LOGGING_CONFIG: StaticSchema = ( - 18, - n0, - _SLC, - 0, - (_E, _B, _Pre), - ((BOOLEAN, 1), (STRING, 1), (STRING, 1)), -) - -S3_ORIGIN: StaticSchema = (18, n0, _SO, 0, (_DN, _OAI), ((STRING, 1), (STRING, 1))) - -STREAMING_DISTRIBUTION_CONFIG: StaticSchema = ( - 18, - n0, - _SDC, - 0, - (_CR, _SO, _A, _Comm, _Lo, _TS, _PC, _E), - ( - (STRING, 1), - (S3_ORIGIN, 1), - (ALIASES, 0), - (STRING, 1), - (STREAMING_LOGGING_CONFIG, 0), - (TRUSTED_SIGNERS, 1), - (PRICE_CLASS, 0), - (BOOLEAN, 1), - ), -) - -CREATE_STREAMING_DISTRIBUTION_INPUT: StaticSchema = ( - 18, - n0, - _CSDI, - {_sSI: _cCSDR, _smit: None}, - (_SDC,), - ((STREAMING_DISTRIBUTION_CONFIG, {_sN: _SDC, _smi: None, _sP: None}),), -) - -STREAMING_DISTRIBUTION: StaticSchema = ( - 18, - n0, - _SD, - 0, - (_Id, _ARN, _St, _LMT, _DN, _ATS, _SDC), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (TIMESTAMP, 0), - (STRING, 1), - (ACTIVE_TRUSTED_SIGNERS, 1), - (STREAMING_DISTRIBUTION_CONFIG, 1), - ), -) - -CREATE_STREAMING_DISTRIBUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSDO, - {_sSI: _cCSDRo, _smith: None}, - (_SD, _L, _ET), - ((STREAMING_DISTRIBUTION, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -STREAMING_DISTRIBUTION_ALREADY_EXISTS: StaticSchema = ( - 18, - n0, - _SDAE, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_STREAMING_DISTRIBUTION_CNAM_ES: StaticSchema = ( - 18, - n0, - _TMSDCNAME, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -TOO_MANY_STREAMING_DISTRIBUTIONS: StaticSchema = ( - 18, - n0, - _TMSD, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -CREATE_STREAMING_DISTRIBUTION: StaticOperationSchema = ( - 23, - n0, - _CSD, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/streaming-distribution", "code": 201} - ) - }, - CREATE_STREAMING_DISTRIBUTION_INPUT, - CREATE_STREAMING_DISTRIBUTION_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_ORIGIN, - INVALID_ORIGIN_ACCESS_CONTROL, - INVALID_ORIGIN_ACCESS_IDENTITY, - MISSING_BODY, - STREAMING_DISTRIBUTION_ALREADY_EXISTS, - TOO_MANY_STREAMING_DISTRIBUTION_CNAM_ES, - TOO_MANY_STREAMING_DISTRIBUTIONS, - TOO_MANY_TRUSTED_SIGNERS, - TRUSTED_SIGNER_DOES_NOT_EXIST, - ), -) - -STREAMING_DISTRIBUTION_CONFIG_WITH_TAGS: StaticSchema = ( - 18, - n0, - _SDCWT, - 0, - (_SDC, _Tag), - ((STREAMING_DISTRIBUTION_CONFIG, 1), (TAGS, 1)), -) - -CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _CSDWTI, - {_sSI: _cCSDWTR, _smit: None}, - (_SDCWT,), - ((STREAMING_DISTRIBUTION_CONFIG_WITH_TAGS, {_sN: _SDCWT, _smi: None, _sP: None}),), -) - -CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _CSDWTO, - {_sSI: _cCSDWTRo, _smith: None}, - (_SD, _L, _ET), - ((STREAMING_DISTRIBUTION, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -CREATE_STREAMING_DISTRIBUTION_WITH_TAGS: StaticOperationSchema = ( - 23, - n0, - _CSDWT, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/streaming-distribution?WithTags", - "code": 201, - } - ) - }, - CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_INPUT, - CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_ORIGIN, - INVALID_ORIGIN_ACCESS_CONTROL, - INVALID_ORIGIN_ACCESS_IDENTITY, - INVALID_TAGGING, - MISSING_BODY, - STREAMING_DISTRIBUTION_ALREADY_EXISTS, - TOO_MANY_STREAMING_DISTRIBUTION_CNAM_ES, - TOO_MANY_STREAMING_DISTRIBUTIONS, - TOO_MANY_TRUSTED_SIGNERS, - TRUSTED_SIGNER_DOES_NOT_EXIST, - ), -) - -CREATE_TRUST_STORE_INPUT: StaticSchema = ( - 18, - n0, - _CTSI, - {_sSI: _cCTSR, _smit: None}, - (_N, _CCBS, _UCCOCSPE, _Tag), - ((STRING, 1), (CA_CERTIFICATES_BUNDLE_SOURCE, 1), (BOOLEAN, 0), (TAGS, 0)), -) - -TRUST_STORE_STATUS: StaticSchema = ( - 14, - n0, - _TSS, - 0, - (_Pe, _Act, _Fa), - ((-1, {_sV: _pe}), (-1, {_sV: _act}), (-1, {_sV: _fai})), -) - -TRUST_STORE: StaticSchema = ( - 18, - n0, - _TSr, - 0, - (_Id, _Ar, _N, _St, _NOCC, _LMT, _Rea, _UCCOCSPE), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TRUST_STORE_STATUS, 0), - (INTEGER, 0), - (TIMESTAMP, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -CREATE_TRUST_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _CTSO, - {_sSI: _cCTSRo, _smith: None}, - (_TSr, _ET), - ((TRUST_STORE, 16), (STRING, {_sH: _ET})), -) - -CREATE_TRUST_STORE: StaticOperationSchema = ( - 23, - n0, - _CTS, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/trust-store", "code": 201} - ) - }, - CREATE_TRUST_STORE_INPUT, - CREATE_TRUST_STORE_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_TAGGING, - ), -) - -VPC_IP_ADDRESS_TYPE: StaticSchema = ( - 14, - n0, - _VIAT, - 0, - (_Ip, _DS), - ((-1, {_sV: _ip}), (-1, {_sV: _d})), -) - -VPC_ORIGIN_ENDPOINT_CONFIG: StaticSchema = ( - 18, - n0, - _VOEC, - 0, - (_N, _Ar, _HTTPP, _HTTPSP, _OPP, _OSP, _IAT), - ( - (STRING, 1), - (STRING, 1), - (INTEGER, 1), - (INTEGER, 1), - (ORIGIN_PROTOCOL_POLICY, 1), - (ORIGIN_SSL_PROTOCOLS, 0), - (VPC_IP_ADDRESS_TYPE, 0), - ), -) - -CREATE_VPC_ORIGIN_INPUT: StaticSchema = ( - 18, - n0, - _CVOI, - {_sSI: _cCVOR, _smit: None}, - (_VOEC, _Tag), - ((VPC_ORIGIN_ENDPOINT_CONFIG, 1), (TAGS, 0)), -) - -VPC_ORIGIN: StaticSchema = ( - 18, - n0, - _VO, - 0, - (_Id, _Ar, _AIc, _St, _CTr, _LMT, _VOEC), - ( - (STRING, 1), - (STRING, 1), - (STRING, 0), - (STRING, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (VPC_ORIGIN_ENDPOINT_CONFIG, 1), - ), -) - -CREATE_VPC_ORIGIN_OUTPUT: StaticSchema = ( - 18, - n0, - _CVOO, - {_sSI: _cCVORo, _smith: None}, - (_VO, _L, _ET), - ((VPC_ORIGIN, 16), (STRING, {_sH: _L}), (STRING, {_sH: _ET})), -) - -CREATE_VPC_ORIGIN: StaticOperationSchema = ( - 23, - n0, - _CVO, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/vpc-origin", "code": 202} - ) - }, - CREATE_VPC_ORIGIN_INPUT, - CREATE_VPC_ORIGIN_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_TAGGING, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_ANYCAST_IP_LIST_INPUT: StaticSchema = ( - 18, - n0, - _DAILI, - {_sSI: _cDAILR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -DELETE_ANYCAST_IP_LIST_OUTPUT: StaticSchema = ( - 18, - n0, - _DAILO, - {_sSI: _sU, _smith: None}, -) - -ILLEGAL_DELETE: StaticSchema = ( - 18, - n0, - _IDl, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -DELETE_ANYCAST_IP_LIST: StaticOperationSchema = ( - 23, - n0, - _DAIL, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2020-05-31/anycast-ip-list/{Id}", "code": 204} - ) - }, - DELETE_ANYCAST_IP_LIST_INPUT, - DELETE_ANYCAST_IP_LIST_OUTPUT, - ( - ACCESS_DENIED, - CANNOT_DELETE_ENTITY_WHILE_IN_USE, - ENTITY_NOT_FOUND, - ILLEGAL_DELETE, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_CACHE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DCPI, - {_sSI: _cDCPR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_CACHE_POLICY_OUTPUT: StaticSchema = (18, n0, _DCPO, {_sSI: _sU, _smith: None}) - -DELETE_CACHE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DCP, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2020-05-31/cache-policy/{Id}", "code": 204} - ) - }, - DELETE_CACHE_POLICY_INPUT, - DELETE_CACHE_POLICY_OUTPUT, - ( - ACCESS_DENIED, - CACHE_POLICY_IN_USE, - ILLEGAL_DELETE, - INVALID_IF_MATCH_VERSION, - NO_SUCH_CACHE_POLICY, - PRECONDITION_FAILED, - ), -) - -CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_IN_USE: StaticSchema = ( - 18, - n0, - _CFOAIIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _DCFOAII, - {_sSI: _cDCFOAIR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _DCFOAIO, - {_sSI: _sU, _smith: None}, -) - -NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticSchema = ( - 18, - n0, - _NSCFOAI, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _DCFOAI, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/origin-access-identity/cloudfront/{Id}", - "code": 204, - } - ) - }, - DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT, - DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT, - ( - ACCESS_DENIED, - CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_IN_USE, - INVALID_IF_MATCH_VERSION, - NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, - PRECONDITION_FAILED, - ), -) - -DELETE_CONNECTION_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _DCFI, - {_sSI: _cDCFR, _smit: None}, - (_Id, _IM), - ((RESOURCE_ID, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -DELETE_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DCFO, - {_sSI: _sU, _smith: None}, -) - -DELETE_CONNECTION_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _DCF, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/connection-function/{Id}", - "code": 204, - } - ) - }, - DELETE_CONNECTION_FUNCTION_INPUT, - DELETE_CONNECTION_FUNCTION_OUTPUT, - ( - ACCESS_DENIED, - CANNOT_DELETE_ENTITY_WHILE_IN_USE, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_CONNECTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DCGI, - {_sSI: _cDCGR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -DELETE_CONNECTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DCGO, - {_sSI: _sU, _smith: None}, -) - -RESOURCE_NOT_DISABLED: StaticSchema = ( - 18, - n0, - _RND, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_CONNECTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _DCG, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/connection-group/{Id}", - "code": 204, - } - ) - }, - DELETE_CONNECTION_GROUP_INPUT, - DELETE_CONNECTION_GROUP_OUTPUT, - ( - ACCESS_DENIED, - CANNOT_DELETE_ENTITY_WHILE_IN_USE, - ENTITY_NOT_FOUND, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - RESOURCE_NOT_DISABLED, - ), -) - -DELETE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DCDPI, - {_sSI: _cDCDPR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DCDPO, - {_sSI: _sU, _smith: None}, -) - -DELETE_CONTINUOUS_DEPLOYMENT_POLICY: StaticOperationSchema = ( - 23, - n0, - _DCDP, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/continuous-deployment-policy/{Id}", - "code": 204, - } - ) - }, - DELETE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT, - DELETE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT, - ( - ACCESS_DENIED, - CONTINUOUS_DEPLOYMENT_POLICY_IN_USE, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, - PRECONDITION_FAILED, - ), -) - -DELETE_DISTRIBUTION_INPUT: StaticSchema = ( - 18, - n0, - _DDI, - {_sSI: _cDDR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_DISTRIBUTION_OUTPUT: StaticSchema = (18, n0, _DDO, {_sSI: _sU, _smith: None}) - -DISTRIBUTION_NOT_DISABLED: StaticSchema = ( - 18, - n0, - _DND, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -RESOURCE_IN_USE: StaticSchema = ( - 18, - n0, - _RIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_DISTRIBUTION: StaticOperationSchema = ( - 23, - n0, - _DD, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2020-05-31/distribution/{Id}", "code": 204} - ) - }, - DELETE_DISTRIBUTION_INPUT, - DELETE_DISTRIBUTION_OUTPUT, - ( - ACCESS_DENIED, - DISTRIBUTION_NOT_DISABLED, - INVALID_IF_MATCH_VERSION, - NO_SUCH_DISTRIBUTION, - PRECONDITION_FAILED, - RESOURCE_IN_USE, - ), -) - -DELETE_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( - 18, - n0, - _DDTI, - {_sSI: _cDDTR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -DELETE_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( - 18, - n0, - _DDTO, - {_sSI: _sU, _smith: None}, -) - -DELETE_DISTRIBUTION_TENANT: StaticOperationSchema = ( - 23, - n0, - _DDT, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/distribution-tenant/{Id}", - "code": 204, - } - ) - }, - DELETE_DISTRIBUTION_TENANT_INPUT, - DELETE_DISTRIBUTION_TENANT_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - RESOURCE_NOT_DISABLED, - ), -) - -DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _DFLECI, - {_sSI: _cDFLECR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _DFLECO, - {_sSI: _sU, _smith: None}, -) - -FIELD_LEVEL_ENCRYPTION_CONFIG_IN_USE: StaticSchema = ( - 18, - n0, - _FLECIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _DFLEC, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/field-level-encryption/{Id}", - "code": 204, - } - ) - }, - DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT, - DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT, - ( - ACCESS_DENIED, - FIELD_LEVEL_ENCRYPTION_CONFIG_IN_USE, - INVALID_IF_MATCH_VERSION, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, - PRECONDITION_FAILED, - ), -) - -DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _DFLEPI, - {_sSI: _cDFLEPR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _DFLEPO, - {_sSI: _sU, _smith: None}, -) - -FIELD_LEVEL_ENCRYPTION_PROFILE_IN_USE: StaticSchema = ( - 18, - n0, - _FLEPIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticOperationSchema = ( - 23, - n0, - _DFLEP, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/field-level-encryption-profile/{Id}", - "code": 204, - } - ) - }, - DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT, - DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT, - ( - ACCESS_DENIED, - FIELD_LEVEL_ENCRYPTION_PROFILE_IN_USE, - INVALID_IF_MATCH_VERSION, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, - PRECONDITION_FAILED, - ), -) - -DELETE_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _DFI, - {_sSI: _cDFR, _smit: None}, - (_N, _IM), - ((FUNCTION_NAME, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -DELETE_FUNCTION_OUTPUT: StaticSchema = (18, n0, _DFO, {_sSI: _sU, _smith: None}) - -FUNCTION_IN_USE: StaticSchema = ( - 18, - n0, - _FIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -NO_SUCH_FUNCTION_EXISTS: StaticSchema = ( - 18, - n0, - _NSFE, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -DELETE_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _DF, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2020-05-31/function/{Name}", "code": 204} - ) - }, - DELETE_FUNCTION_INPUT, - DELETE_FUNCTION_OUTPUT, - ( - FUNCTION_IN_USE, - INVALID_IF_MATCH_VERSION, - NO_SUCH_FUNCTION_EXISTS, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_KEY_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DKGI, - {_sSI: _cDKGR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_KEY_GROUP_OUTPUT: StaticSchema = (18, n0, _DKGO, {_sSI: _sU, _smith: None}) - -NO_SUCH_RESOURCE: StaticSchema = ( - 18, - n0, - _NSR, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -DELETE_KEY_GROUP: StaticOperationSchema = ( - 23, - n0, - _DKG, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2020-05-31/key-group/{Id}", "code": 204} - ) - }, - DELETE_KEY_GROUP_INPUT, - DELETE_KEY_GROUP_OUTPUT, - (INVALID_IF_MATCH_VERSION, NO_SUCH_RESOURCE, PRECONDITION_FAILED, RESOURCE_IN_USE), -) - -DELETE_KEY_VALUE_STORE_INPUT: StaticSchema = ( - 18, - n0, - _DKVSI, - {_sSI: _cDKVSR, _smit: None}, - (_N, _IM), - ((KEY_VALUE_STORE_NAME, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -DELETE_KEY_VALUE_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _DKVSO, - {_sSI: _sU, _smith: None}, -) - -DELETE_KEY_VALUE_STORE: StaticOperationSchema = ( - 23, - n0, - _DKVS, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/key-value-store/{Name}", - "code": 204, - } - ) - }, - DELETE_KEY_VALUE_STORE_INPUT, - DELETE_KEY_VALUE_STORE_OUTPUT, - ( - ACCESS_DENIED, - CANNOT_DELETE_ENTITY_WHILE_IN_USE, - ENTITY_NOT_FOUND, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_MONITORING_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _DMSI, - {_sSI: _cDMSR, _smit: None}, - (_DIi,), - ((STRING, 9),), -) - -DELETE_MONITORING_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DMSO, - {_sSI: _cDMSRo, _smith: None}, -) - -NO_SUCH_MONITORING_SUBSCRIPTION: StaticSchema = ( - 18, - n0, - _NSMS, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -DELETE_MONITORING_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _DMS, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription", - "code": 200, - } - ) - }, - DELETE_MONITORING_SUBSCRIPTION_INPUT, - DELETE_MONITORING_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED, - NO_SUCH_DISTRIBUTION, - NO_SUCH_MONITORING_SUBSCRIPTION, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_ORIGIN_ACCESS_CONTROL_INPUT: StaticSchema = ( - 18, - n0, - _DOACI, - {_sSI: _cDOACR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_ORIGIN_ACCESS_CONTROL_OUTPUT: StaticSchema = ( - 18, - n0, - _DOACO, - {_sSI: _sU, _smith: None}, -) - -NO_SUCH_ORIGIN_ACCESS_CONTROL: StaticSchema = ( - 18, - n0, - _NSOAC, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -ORIGIN_ACCESS_CONTROL_IN_USE: StaticSchema = ( - 18, - n0, - _OACIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_ORIGIN_ACCESS_CONTROL: StaticOperationSchema = ( - 23, - n0, - _DOAC, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/origin-access-control/{Id}", - "code": 204, - } - ) - }, - DELETE_ORIGIN_ACCESS_CONTROL_INPUT, - DELETE_ORIGIN_ACCESS_CONTROL_OUTPUT, - ( - ACCESS_DENIED, - INVALID_IF_MATCH_VERSION, - NO_SUCH_ORIGIN_ACCESS_CONTROL, - ORIGIN_ACCESS_CONTROL_IN_USE, - PRECONDITION_FAILED, - ), -) - -DELETE_ORIGIN_REQUEST_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DORPI, - {_sSI: _cDORPR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_ORIGIN_REQUEST_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DORPO, - {_sSI: _sU, _smith: None}, -) - -ORIGIN_REQUEST_POLICY_IN_USE: StaticSchema = ( - 18, - n0, - _ORPIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_ORIGIN_REQUEST_POLICY: StaticOperationSchema = ( - 23, - n0, - _DORP, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/origin-request-policy/{Id}", - "code": 204, - } - ) - }, - DELETE_ORIGIN_REQUEST_POLICY_INPUT, - DELETE_ORIGIN_REQUEST_POLICY_OUTPUT, - ( - ACCESS_DENIED, - ILLEGAL_DELETE, - INVALID_IF_MATCH_VERSION, - NO_SUCH_ORIGIN_REQUEST_POLICY, - ORIGIN_REQUEST_POLICY_IN_USE, - PRECONDITION_FAILED, - ), -) - -DELETE_PUBLIC_KEY_INPUT: StaticSchema = ( - 18, - n0, - _DPKI, - {_sSI: _cDPKR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_PUBLIC_KEY_OUTPUT: StaticSchema = (18, n0, _DPKO, {_sSI: _sU, _smith: None}) - -PUBLIC_KEY_IN_USE: StaticSchema = ( - 18, - n0, - _PKIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_PUBLIC_KEY: StaticOperationSchema = ( - 23, - n0, - _DPK, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2020-05-31/public-key/{Id}", "code": 204} - ) - }, - DELETE_PUBLIC_KEY_INPUT, - DELETE_PUBLIC_KEY_OUTPUT, - ( - ACCESS_DENIED, - INVALID_IF_MATCH_VERSION, - NO_SUCH_PUBLIC_KEY, - PRECONDITION_FAILED, - PUBLIC_KEY_IN_USE, - ), -) - -DELETE_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _DRLCI, - {_sSI: _cDRLCR, _smit: None}, - (_N, _ARN), - ((STRING, 0), (STRING, 0)), -) - -DELETE_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _DRLCO, - {_sSI: _sU, _smith: None}, -) - -REALTIME_LOG_CONFIG_IN_USE: StaticSchema = ( - 18, - n0, - _RLCIU, - {_sm: _c, _sE: 400}, - (_Me,), - ((STRING, 0),), -) - -DELETE_REALTIME_LOG_CONFIG: StaticOperationSchema = ( - 23, - n0, - _DRLC, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/delete-realtime-log-config", - "code": 204, - } - ) - }, - DELETE_REALTIME_LOG_CONFIG_INPUT, - DELETE_REALTIME_LOG_CONFIG_OUTPUT, - ( - ACCESS_DENIED, - INVALID_ARGUMENT, - NO_SUCH_REALTIME_LOG_CONFIG, - REALTIME_LOG_CONFIG_IN_USE, - ), -) - -DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_sSI: _cDRPR, _smit: None}, - (_RA,), - ((STRING, 1),), -) - -DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPO, {_sSI: _sU, _smith: None}) - -DELETE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/delete-resource-policy", "code": 200} - ) - }, - DELETE_RESOURCE_POLICY_INPUT, - DELETE_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - ILLEGAL_DELETE, - INVALID_ARGUMENT, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_RESPONSE_HEADERS_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRHPI, - {_sSI: _cDRHPR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_RESPONSE_HEADERS_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DRHPO, - {_sSI: _sU, _smith: None}, -) - -RESPONSE_HEADERS_POLICY_IN_USE: StaticSchema = ( - 18, - n0, - _RHPIU, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_RESPONSE_HEADERS_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRHP, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/response-headers-policy/{Id}", - "code": 204, - } - ) - }, - DELETE_RESPONSE_HEADERS_POLICY_INPUT, - DELETE_RESPONSE_HEADERS_POLICY_OUTPUT, - ( - ACCESS_DENIED, - ILLEGAL_DELETE, - INVALID_IF_MATCH_VERSION, - NO_SUCH_RESPONSE_HEADERS_POLICY, - PRECONDITION_FAILED, - RESPONSE_HEADERS_POLICY_IN_USE, - ), -) - -DELETE_STREAMING_DISTRIBUTION_INPUT: StaticSchema = ( - 18, - n0, - _DSDI, - {_sSI: _cDSDR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DELETE_STREAMING_DISTRIBUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DSDO, - {_sSI: _sU, _smith: None}, -) - -NO_SUCH_STREAMING_DISTRIBUTION: StaticSchema = ( - 18, - n0, - _NSSD, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -STREAMING_DISTRIBUTION_NOT_DISABLED: StaticSchema = ( - 18, - n0, - _SDND, - {_sm: _c, _sE: 409}, - (_Me,), - ((STRING, 0),), -) - -DELETE_STREAMING_DISTRIBUTION: StaticOperationSchema = ( - 23, - n0, - _DSD, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-05-31/streaming-distribution/{Id}", - "code": 204, - } - ) - }, - DELETE_STREAMING_DISTRIBUTION_INPUT, - DELETE_STREAMING_DISTRIBUTION_OUTPUT, - ( - ACCESS_DENIED, - INVALID_IF_MATCH_VERSION, - NO_SUCH_STREAMING_DISTRIBUTION, - PRECONDITION_FAILED, - STREAMING_DISTRIBUTION_NOT_DISABLED, - ), -) - -DELETE_TRUST_STORE_INPUT: StaticSchema = ( - 18, - n0, - _DTSI, - {_sSI: _cDTSR, _smit: None}, - (_Id, _IM), - ((RESOURCE_ID, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -DELETE_TRUST_STORE_OUTPUT: StaticSchema = (18, n0, _DTSO, {_sSI: _sU, _smith: None}) - -DELETE_TRUST_STORE: StaticOperationSchema = ( - 23, - n0, - _DTS, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2020-05-31/trust-store/{Id}", "code": 204} - ) - }, - DELETE_TRUST_STORE_INPUT, - DELETE_TRUST_STORE_OUTPUT, - ( - ACCESS_DENIED, - CANNOT_DELETE_ENTITY_WHILE_IN_USE, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - ), -) - -DELETE_VPC_ORIGIN_INPUT: StaticSchema = ( - 18, - n0, - _DVOI, - {_sSI: _cDVOR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -DELETE_VPC_ORIGIN_OUTPUT: StaticSchema = ( - 18, - n0, - _DVOO, - {_sSI: _cDVORo, _smith: None}, - (_VO, _ET), - ((VPC_ORIGIN, 16), (STRING, {_sH: _ET})), -) - -DELETE_VPC_ORIGIN: StaticOperationSchema = ( - 23, - n0, - _DVO, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2020-05-31/vpc-origin/{Id}", "code": 202} - ) - }, - DELETE_VPC_ORIGIN_INPUT, - DELETE_VPC_ORIGIN_OUTPUT, - ( - ACCESS_DENIED, - CANNOT_DELETE_ENTITY_WHILE_IN_USE, - ENTITY_NOT_FOUND, - ILLEGAL_DELETE, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -DESCRIBE_CONNECTION_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _DCFIe, - {_sSI: _cDCFRo, _smit: None}, - (_Ide, _Stag), - ((STRING, 9), (FUNCTION_STAGE, {_sQ: _Stag})), -) - -DESCRIBE_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DCFOe, - {_sSI: _cDCFRom, _smith: None}, - (_CFS, _ET), - ((CONNECTION_FUNCTION_SUMMARY, 16), (STRING, {_sH: _ET})), -) - -DESCRIBE_CONNECTION_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _DCFe, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/connection-function/{Identifier}/describe", - "code": 200, - } - ) - }, - DESCRIBE_CONNECTION_FUNCTION_INPUT, - DESCRIBE_CONNECTION_FUNCTION_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -DESCRIBE_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _DFIe, - {_sSI: _cDFRo, _smit: None}, - (_N, _Stag), - ((FUNCTION_NAME, 9), (FUNCTION_STAGE, {_sQ: _Stag})), -) - -DESCRIBE_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DFOe, - {_sSI: _cDFRom, _smith: None}, - (_FSu, _ET), - ((FUNCTION_SUMMARY, 16), (STRING, {_sH: _ET})), -) - -DESCRIBE_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _DFe, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/function/{Name}/describe", - "code": 200, - } - ) - }, - DESCRIBE_FUNCTION_INPUT, - DESCRIBE_FUNCTION_OUTPUT, - (NO_SUCH_FUNCTION_EXISTS, UNSUPPORTED_OPERATION), -) - -DESCRIBE_KEY_VALUE_STORE_INPUT: StaticSchema = ( - 18, - n0, - _DKVSIe, - {_sSI: _cDKVSRo, _smit: None}, - (_N,), - ((KEY_VALUE_STORE_NAME, 9),), -) - -DESCRIBE_KEY_VALUE_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _DKVSOe, - {_sSI: _cDKVSRom, _smith: None}, - (_KVS, _ET), - ((KEY_VALUE_STORE, 16), (STRING, {_sH: _ET})), -) - -DESCRIBE_KEY_VALUE_STORE: StaticOperationSchema = ( - 23, - n0, - _DKVSe, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/key-value-store/{Name}", "code": 200} - ) - }, - DESCRIBE_KEY_VALUE_STORE_INPUT, - DESCRIBE_KEY_VALUE_STORE_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT: StaticSchema = ( - 18, - n0, - _DDTWACLI, - {_sSI: _cDDTWACLR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _DDTWACLO, - {_sSI: _cDDTWACLRo, _smith: None}, - (_Id, _ET), - ((STRING, 0), (STRING, {_sH: _ET})), -) - -DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL: StaticOperationSchema = ( - 23, - n0, - _DDTWACL, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/distribution-tenant/{Id}/disassociate-web-acl", - "code": 200, - } - ) - }, - DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT, - DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - ), -) - -DISASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT: StaticSchema = ( - 18, - n0, - _DDWACLI, - {_sSI: _cDDWACLR, _smit: None}, - (_Id, _IM), - ((STRING, 9), (STRING, {_sH: _IM_})), -) - -DISASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _DDWACLO, - {_sSI: _cDDWACLRo, _smith: None}, - (_Id, _ET), - ((STRING, 0), (STRING, {_sH: _ET})), -) - -DISASSOCIATE_DISTRIBUTION_WEB_ACL: StaticOperationSchema = ( - 23, - n0, - _DDWACL, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/distribution/{Id}/disassociate-web-acl", - "code": 200, - } - ) - }, - DISASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT, - DISASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - ), -) - -GET_ANYCAST_IP_LIST_INPUT: StaticSchema = ( - 18, - n0, - _GAILI, - {_sSI: _cGAILR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_ANYCAST_IP_LIST_OUTPUT: StaticSchema = ( - 18, - n0, - _GAILO, - {_sSI: _cGAILRo, _smith: None}, - (_AIL, _ET), - ((ANYCAST_IP_LIST, 16), (STRING, {_sH: _ET})), -) - -GET_ANYCAST_IP_LIST: StaticOperationSchema = ( - 23, - n0, - _GAIL, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/anycast-ip-list/{Id}", "code": 200} - ) - }, - GET_ANYCAST_IP_LIST_INPUT, - GET_ANYCAST_IP_LIST_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -GET_CACHE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GCPI, - {_sSI: _cGCPR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_CACHE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GCPO, - {_sSI: _cGCPRo, _smith: None}, - (_CPa, _ET), - ((CACHE_POLICY, 16), (STRING, {_sH: _ET})), -) - -GET_CACHE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GCP, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/cache-policy/{Id}", "code": 200} - ) - }, - GET_CACHE_POLICY_INPUT, - GET_CACHE_POLICY_OUTPUT, - (ACCESS_DENIED, NO_SUCH_CACHE_POLICY), -) - -GET_CACHE_POLICY_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GCPCI, - {_sSI: _cGCPCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_CACHE_POLICY_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GCPCO, - {_sSI: _cGCPCRo, _smith: None}, - (_CPC, _ET), - ((CACHE_POLICY_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_CACHE_POLICY_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GCPC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/cache-policy/{Id}/config", - "code": 200, - } - ) - }, - GET_CACHE_POLICY_CONFIG_INPUT, - GET_CACHE_POLICY_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_CACHE_POLICY), -) - -GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _GCFOAII, - {_sSI: _cGCFOAIR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _GCFOAIO, - {_sSI: _cGCFOAIRo, _smith: None}, - (_CFOAI, _ET), - ((CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, 16), (STRING, {_sH: _ET})), -) - -GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _GCFOAI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/origin-access-identity/cloudfront/{Id}", - "code": 200, - } - ) - }, - GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT, - GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT, - (ACCESS_DENIED, NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY), -) - -GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GCFOAICI, - {_sSI: _cGCFOAICR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GCFOAICO, - {_sSI: _cGCFOAICRo, _smith: None}, - (_CFOAIC, _ET), - ((CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GCFOAIC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/origin-access-identity/cloudfront/{Id}/config", - "code": 200, - } - ) - }, - GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_INPUT, - GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY), -) - -GET_CONNECTION_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _GCFI, - {_sSI: _cGCFR, _smit: None}, - (_Ide, _Stag), - ((STRING, 9), (FUNCTION_STAGE, {_sQ: _Stag})), -) - -GET_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GCFO, - {_sSI: _cGCFRo, _smith: None}, - (_CFCo, _ET, _CTon), - ((FUNCTION_BLOB, 16), (STRING, {_sH: _ET}), (STRING, {_sH: _CT_})), -) - -GET_CONNECTION_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _GCF, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/connection-function/{Identifier}", - "code": 200, - } - ) - }, - GET_CONNECTION_FUNCTION_INPUT, - GET_CONNECTION_FUNCTION_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, UNSUPPORTED_OPERATION), -) - -GET_CONNECTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _GCGI, - {_sSI: _cGCGR, _smit: None}, - (_Ide,), - ((STRING, 9),), -) - -GET_CONNECTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _GCGO, - {_sSI: _cGCGRo, _smith: None}, - (_CG, _ET), - ((CONNECTION_GROUP, 16), (STRING, {_sH: _ET})), -) - -GET_CONNECTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _GCG, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/connection-group/{Identifier}", - "code": 200, - } - ) - }, - GET_CONNECTION_GROUP_INPUT, - GET_CONNECTION_GROUP_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND), -) - -GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _GCGBREI, - {_sSI: _cGCGBRER, _smit: None}, - (_RE,), - ((STRING, {_sQ: _RE, _smi: None}),), -) - -GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _GCGBREO, - {_sSI: _cGCGBRERo, _smith: None}, - (_CG, _ET), - ((CONNECTION_GROUP, 16), (STRING, {_sH: _ET})), -) - -GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _GCGBRE, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/connection-group", "code": 200} - ) - }, - GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_INPUT, - GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND), -) - -GET_CONTINUOUS_DEPLOYMENT_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GCDPI, - {_sSI: _cGCDPR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GCDPO, - {_sSI: _cGCDPRo, _smith: None}, - (_CDP, _ET), - ((CONTINUOUS_DEPLOYMENT_POLICY, 16), (STRING, {_sH: _ET})), -) - -GET_CONTINUOUS_DEPLOYMENT_POLICY: StaticOperationSchema = ( - 23, - n0, - _GCDP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/continuous-deployment-policy/{Id}", - "code": 200, - } - ) - }, - GET_CONTINUOUS_DEPLOYMENT_POLICY_INPUT, - GET_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT, - (ACCESS_DENIED, NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY), -) - -GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GCDPCI, - {_sSI: _cGCDPCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GCDPCO, - {_sSI: _cGCDPCRo, _smith: None}, - (_CDPC, _ET), - ((CONTINUOUS_DEPLOYMENT_POLICY_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GCDPC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/continuous-deployment-policy/{Id}/config", - "code": 200, - } - ) - }, - GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_INPUT, - GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY), -) - -GET_DISTRIBUTION_INPUT: StaticSchema = ( - 18, - n0, - _GDI, - {_sSI: _cGDR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_DISTRIBUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GDO, - {_sSI: _cGDRo, _smith: None}, - (_Dis, _ET), - ((DISTRIBUTION, 16), (STRING, {_sH: _ET})), -) - -GET_DISTRIBUTION: StaticOperationSchema = ( - 23, - n0, - _GD, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/distribution/{Id}", "code": 200} - ) - }, - GET_DISTRIBUTION_INPUT, - GET_DISTRIBUTION_OUTPUT, - (ACCESS_DENIED, NO_SUCH_DISTRIBUTION), -) - -GET_DISTRIBUTION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GDCI, - {_sSI: _cGDCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_DISTRIBUTION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GDCO, - {_sSI: _cGDCRo, _smith: None}, - (_DC, _ET), - ((DISTRIBUTION_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_DISTRIBUTION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GDC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distribution/{Id}/config", - "code": 200, - } - ) - }, - GET_DISTRIBUTION_CONFIG_INPUT, - GET_DISTRIBUTION_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_DISTRIBUTION), -) - -GET_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( - 18, - n0, - _GDTI, - {_sSI: _cGDTR, _smit: None}, - (_Ide,), - ((STRING, 9),), -) - -GET_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( - 18, - n0, - _GDTO, - {_sSI: _cGDTRo, _smith: None}, - (_DT, _ET), - ((DISTRIBUTION_TENANT, 16), (STRING, {_sH: _ET})), -) - -GET_DISTRIBUTION_TENANT: StaticOperationSchema = ( - 23, - n0, - _GDT, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distribution-tenant/{Identifier}", - "code": 200, - } - ) - }, - GET_DISTRIBUTION_TENANT_INPUT, - GET_DISTRIBUTION_TENANT_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND), -) - -GET_DISTRIBUTION_TENANT_BY_DOMAIN_INPUT: StaticSchema = ( - 18, - n0, - _GDTBDI, - {_sSI: _cGDTBDR, _smit: None}, - (_Do,), - ((STRING, {_sQ: _do, _smi: None}),), -) - -GET_DISTRIBUTION_TENANT_BY_DOMAIN_OUTPUT: StaticSchema = ( - 18, - n0, - _GDTBDO, - {_sSI: _cGDTBDRo, _smith: None}, - (_DT, _ET), - ((DISTRIBUTION_TENANT, 16), (STRING, {_sH: _ET})), -) - -GET_DISTRIBUTION_TENANT_BY_DOMAIN: StaticOperationSchema = ( - 23, - n0, - _GDTBD, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/distribution-tenant", "code": 200} - ) - }, - GET_DISTRIBUTION_TENANT_BY_DOMAIN_INPUT, - GET_DISTRIBUTION_TENANT_BY_DOMAIN_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND), -) - -GET_FIELD_LEVEL_ENCRYPTION_INPUT: StaticSchema = ( - 18, - n0, - _GFLEI, - {_sSI: _cGFLER, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_FIELD_LEVEL_ENCRYPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GFLEO, - {_sSI: _cGFLERo, _smith: None}, - (_FLE, _ET), - ((FIELD_LEVEL_ENCRYPTION, 16), (STRING, {_sH: _ET})), -) - -GET_FIELD_LEVEL_ENCRYPTION: StaticOperationSchema = ( - 23, - n0, - _GFLE, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/field-level-encryption/{Id}", - "code": 200, - } - ) - }, - GET_FIELD_LEVEL_ENCRYPTION_INPUT, - GET_FIELD_LEVEL_ENCRYPTION_OUTPUT, - (ACCESS_DENIED, NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG), -) - -GET_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GFLECI, - {_sSI: _cGFLECR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GFLECO, - {_sSI: _cGFLECRo, _smith: None}, - (_FLEC, _ET), - ((FIELD_LEVEL_ENCRYPTION_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GFLEC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/field-level-encryption/{Id}/config", - "code": 200, - } - ) - }, - GET_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT, - GET_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG), -) - -GET_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _GFLEPI, - {_sSI: _cGFLEPR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _GFLEPO, - {_sSI: _cGFLEPRo, _smith: None}, - (_FLEP, _ET), - ((FIELD_LEVEL_ENCRYPTION_PROFILE, 16), (STRING, {_sH: _ET})), -) - -GET_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticOperationSchema = ( - 23, - n0, - _GFLEP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/field-level-encryption-profile/{Id}", - "code": 200, - } - ) - }, - GET_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT, - GET_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT, - (ACCESS_DENIED, NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE), -) - -GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GFLEPCI, - {_sSI: _cGFLEPCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GFLEPCO, - {_sSI: _cGFLEPCRo, _smith: None}, - (_FLEPC, _ET), - ((FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GFLEPC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/field-level-encryption-profile/{Id}/config", - "code": 200, - } - ) - }, - GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_INPUT, - GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE), -) - -GET_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _GFI, - {_sSI: _cGFR, _smit: None}, - (_N, _Stag), - ((FUNCTION_NAME, 9), (FUNCTION_STAGE, {_sQ: _Stag})), -) - -GET_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GFO, - {_sSI: _cGFRo, _smith: None}, - (_FCun, _ET, _CTon), - ((FUNCTION_BLOB, 16), (STRING, {_sH: _ET}), (STRING, {_sH: _CT_})), -) - -GET_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _GF, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/function/{Name}", "code": 200} - ) - }, - GET_FUNCTION_INPUT, - GET_FUNCTION_OUTPUT, - (NO_SUCH_FUNCTION_EXISTS, UNSUPPORTED_OPERATION), -) - -GET_INVALIDATION_INPUT: StaticSchema = ( - 18, - n0, - _GII, - {_sSI: _cGIR, _smit: None}, - (_DIi, _Id), - ((STRING, 9), (STRING, 9)), -) - -GET_INVALIDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GIO, - {_sSI: _cGIRo, _smith: None}, - (_Inv,), - ((INVALIDATION, 16),), -) - -NO_SUCH_INVALIDATION: StaticSchema = ( - 18, - n0, - _NSI, - {_sm: _c, _sE: 404}, - (_Me,), - ((STRING, 0),), -) - -GET_INVALIDATION: StaticOperationSchema = ( - 23, - n0, - _GI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distribution/{DistributionId}/invalidation/{Id}", - "code": 200, - } - ) - }, - GET_INVALIDATION_INPUT, - GET_INVALIDATION_OUTPUT, - (ACCESS_DENIED, NO_SUCH_DISTRIBUTION, NO_SUCH_INVALIDATION), -) - -GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( - 18, - n0, - _GIFDTI, - {_sSI: _cGIFDTR, _smit: None}, - (_DTI, _Id), - ((STRING, 9), (STRING, 9)), -) - -GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( - 18, - n0, - _GIFDTO, - {_sSI: _cGIFDTRo, _smith: None}, - (_Inv,), - ((INVALIDATION, 16),), -) - -GET_INVALIDATION_FOR_DISTRIBUTION_TENANT: StaticOperationSchema = ( - 23, - n0, - _GIFDT, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distribution-tenant/{DistributionTenantId}/invalidation/{Id}", - "code": 200, - } - ) - }, - GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT, - GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, NO_SUCH_INVALIDATION), -) - -GET_KEY_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _GKGI, - {_sSI: _cGKGR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_KEY_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _GKGO, - {_sSI: _cGKGRo, _smith: None}, - (_KG, _ET), - ((KEY_GROUP, 16), (STRING, {_sH: _ET})), -) - -GET_KEY_GROUP: StaticOperationSchema = ( - 23, - n0, - _GKG, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/key-group/{Id}", "code": 200} - ) - }, - GET_KEY_GROUP_INPUT, - GET_KEY_GROUP_OUTPUT, - (NO_SUCH_RESOURCE,), -) - -GET_KEY_GROUP_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GKGCI, - {_sSI: _cGKGCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_KEY_GROUP_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GKGCO, - {_sSI: _cGKGCRo, _smith: None}, - (_KGC, _ET), - ((KEY_GROUP_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_KEY_GROUP_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GKGC, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/key-group/{Id}/config", "code": 200} - ) - }, - GET_KEY_GROUP_CONFIG_INPUT, - GET_KEY_GROUP_CONFIG_OUTPUT, - (NO_SUCH_RESOURCE,), -) - -GET_MANAGED_CERTIFICATE_DETAILS_INPUT: StaticSchema = ( - 18, - n0, - _GMCDI, - {_sSI: _cGMCDR, _smit: None}, - (_Ide,), - ((STRING, 9),), -) - -MANAGED_CERTIFICATE_STATUS: StaticSchema = ( - 14, - n0, - _MCS, - 0, - (_PVe, _Is, _In, _Ex, _VTO, _Rev, _Fa), - ( - (-1, {_sV: _pv}), - (-1, {_sV: _is}), - (-1, {_sV: _in}), - (-1, {_sV: _ex}), - (-1, {_sV: _vto}), - (-1, {_sV: _re}), - (-1, {_sV: _fai}), - ), -) - -VALIDATION_TOKEN_DETAIL: StaticSchema = ( - 18, - n0, - _VTD, - 0, - (_Do, _RTe, _RF), - ((STRING, 1), (STRING, 0), (STRING, 0)), -) - -VALIDATION_TOKEN_DETAIL_LIST: StaticSchema = ( - 16, - n0, - _VTDL, - 0, - (_m,), - ((VALIDATION_TOKEN_DETAIL, 0),), -) - -MANAGED_CERTIFICATE_DETAILS: StaticSchema = ( - 18, - n0, - _MCD, - 0, - (_CAe, _CSe, _VTH, _VTDa), - ( - (STRING, 0), - (MANAGED_CERTIFICATE_STATUS, 0), - (VALIDATION_TOKEN_HOST, 0), - (VALIDATION_TOKEN_DETAIL_LIST, 0), - ), -) - -GET_MANAGED_CERTIFICATE_DETAILS_OUTPUT: StaticSchema = ( - 18, - n0, - _GMCDO, - {_sSI: _cGMCDRo, _smith: None}, - (_MCD,), - ((MANAGED_CERTIFICATE_DETAILS, 16),), -) - -GET_MANAGED_CERTIFICATE_DETAILS: StaticOperationSchema = ( - 23, - n0, - _GMCD, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/managed-certificate/{Identifier}", - "code": 200, - } - ) - }, - GET_MANAGED_CERTIFICATE_DETAILS_INPUT, - GET_MANAGED_CERTIFICATE_DETAILS_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND), -) - -GET_MONITORING_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _GMSI, - {_sSI: _cGMSR, _smit: None}, - (_DIi,), - ((STRING, 9),), -) - -GET_MONITORING_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GMSO, - {_sSI: _cGMSRo, _smith: None}, - (_MS,), - ((MONITORING_SUBSCRIPTION, 16),), -) - -GET_MONITORING_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _GMS, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription", - "code": 200, - } - ) - }, - GET_MONITORING_SUBSCRIPTION_INPUT, - GET_MONITORING_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED, - NO_SUCH_DISTRIBUTION, - NO_SUCH_MONITORING_SUBSCRIPTION, - UNSUPPORTED_OPERATION, - ), -) - -GET_ORIGIN_ACCESS_CONTROL_INPUT: StaticSchema = ( - 18, - n0, - _GOACI, - {_sSI: _cGOACR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_ORIGIN_ACCESS_CONTROL_OUTPUT: StaticSchema = ( - 18, - n0, - _GOACO, - {_sSI: _cGOACRo, _smith: None}, - (_OAC, _ET), - ((ORIGIN_ACCESS_CONTROL, 16), (STRING, {_sH: _ET})), -) - -GET_ORIGIN_ACCESS_CONTROL: StaticOperationSchema = ( - 23, - n0, - _GOAC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/origin-access-control/{Id}", - "code": 200, - } - ) - }, - GET_ORIGIN_ACCESS_CONTROL_INPUT, - GET_ORIGIN_ACCESS_CONTROL_OUTPUT, - (ACCESS_DENIED, NO_SUCH_ORIGIN_ACCESS_CONTROL), -) - -GET_ORIGIN_ACCESS_CONTROL_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GOACCI, - {_sSI: _cGOACCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_ORIGIN_ACCESS_CONTROL_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GOACCO, - {_sSI: _cGOACCRo, _smith: None}, - (_OACC, _ET), - ((ORIGIN_ACCESS_CONTROL_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_ORIGIN_ACCESS_CONTROL_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GOACC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/origin-access-control/{Id}/config", - "code": 200, - } - ) - }, - GET_ORIGIN_ACCESS_CONTROL_CONFIG_INPUT, - GET_ORIGIN_ACCESS_CONTROL_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_ORIGIN_ACCESS_CONTROL), -) - -GET_ORIGIN_REQUEST_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GORPI, - {_sSI: _cGORPR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_ORIGIN_REQUEST_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GORPO, - {_sSI: _cGORPRo, _smith: None}, - (_ORP, _ET), - ((ORIGIN_REQUEST_POLICY, 16), (STRING, {_sH: _ET})), -) - -GET_ORIGIN_REQUEST_POLICY: StaticOperationSchema = ( - 23, - n0, - _GORP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/origin-request-policy/{Id}", - "code": 200, - } - ) - }, - GET_ORIGIN_REQUEST_POLICY_INPUT, - GET_ORIGIN_REQUEST_POLICY_OUTPUT, - (ACCESS_DENIED, NO_SUCH_ORIGIN_REQUEST_POLICY), -) - -GET_ORIGIN_REQUEST_POLICY_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GORPCI, - {_sSI: _cGORPCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_ORIGIN_REQUEST_POLICY_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GORPCO, - {_sSI: _cGORPCRo, _smith: None}, - (_ORPC, _ET), - ((ORIGIN_REQUEST_POLICY_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_ORIGIN_REQUEST_POLICY_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GORPC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/origin-request-policy/{Id}/config", - "code": 200, - } - ) - }, - GET_ORIGIN_REQUEST_POLICY_CONFIG_INPUT, - GET_ORIGIN_REQUEST_POLICY_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_ORIGIN_REQUEST_POLICY), -) - -GET_PUBLIC_KEY_INPUT: StaticSchema = ( - 18, - n0, - _GPKI, - {_sSI: _cGPKR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_PUBLIC_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _GPKO, - {_sSI: _cGPKRo, _smith: None}, - (_PK, _ET), - ((PUBLIC_KEY, 16), (STRING, {_sH: _ET})), -) - -GET_PUBLIC_KEY: StaticOperationSchema = ( - 23, - n0, - _GPK, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/public-key/{Id}", "code": 200} - ) - }, - GET_PUBLIC_KEY_INPUT, - GET_PUBLIC_KEY_OUTPUT, - (ACCESS_DENIED, NO_SUCH_PUBLIC_KEY), -) - -GET_PUBLIC_KEY_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GPKCI, - {_sSI: _cGPKCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_PUBLIC_KEY_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GPKCO, - {_sSI: _cGPKCRo, _smith: None}, - (_PKC, _ET), - ((PUBLIC_KEY_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_PUBLIC_KEY_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GPKC, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/public-key/{Id}/config", "code": 200} - ) - }, - GET_PUBLIC_KEY_CONFIG_INPUT, - GET_PUBLIC_KEY_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_PUBLIC_KEY), -) - -GET_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GRLCI, - {_sSI: _cGRLCR, _smit: None}, - (_N, _ARN), - ((STRING, 0), (STRING, 0)), -) - -GET_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GRLCO, - {_sSI: _cGRLCRo, _smith: None}, - (_RLC,), - ((REALTIME_LOG_CONFIG, 0),), -) - -GET_REALTIME_LOG_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GRLC, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/get-realtime-log-config", - "code": 200, - } - ) - }, - GET_REALTIME_LOG_CONFIG_INPUT, - GET_REALTIME_LOG_CONFIG_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_REALTIME_LOG_CONFIG), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_sSI: _cGRPR, _smit: None}, - (_RA,), - ((STRING, 1),), -) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_sSI: _cGRPRo, _smith: None}, - (_RA, _PDo), - ((STRING, 0), (STRING, 0)), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRP, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/get-resource-policy", "code": 200} - ) - }, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -GET_RESPONSE_HEADERS_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRHPI, - {_sSI: _cGRHPR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_RESPONSE_HEADERS_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRHPO, - {_sSI: _cGRHPRo, _smith: None}, - (_RHP, _ET), - ((RESPONSE_HEADERS_POLICY, 16), (STRING, {_sH: _ET})), -) - -GET_RESPONSE_HEADERS_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRHP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/response-headers-policy/{Id}", - "code": 200, - } - ) - }, - GET_RESPONSE_HEADERS_POLICY_INPUT, - GET_RESPONSE_HEADERS_POLICY_OUTPUT, - (ACCESS_DENIED, NO_SUCH_RESPONSE_HEADERS_POLICY), -) - -GET_RESPONSE_HEADERS_POLICY_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GRHPCI, - {_sSI: _cGRHPCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_RESPONSE_HEADERS_POLICY_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GRHPCO, - {_sSI: _cGRHPCRo, _smith: None}, - (_RHPC, _ET), - ((RESPONSE_HEADERS_POLICY_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_RESPONSE_HEADERS_POLICY_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GRHPC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/response-headers-policy/{Id}/config", - "code": 200, - } - ) - }, - GET_RESPONSE_HEADERS_POLICY_CONFIG_INPUT, - GET_RESPONSE_HEADERS_POLICY_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_RESPONSE_HEADERS_POLICY), -) - -GET_STREAMING_DISTRIBUTION_INPUT: StaticSchema = ( - 18, - n0, - _GSDI, - {_sSI: _cGSDR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_STREAMING_DISTRIBUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GSDO, - {_sSI: _cGSDRo, _smith: None}, - (_SD, _ET), - ((STREAMING_DISTRIBUTION, 16), (STRING, {_sH: _ET})), -) - -GET_STREAMING_DISTRIBUTION: StaticOperationSchema = ( - 23, - n0, - _GSD, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/streaming-distribution/{Id}", - "code": 200, - } - ) - }, - GET_STREAMING_DISTRIBUTION_INPUT, - GET_STREAMING_DISTRIBUTION_OUTPUT, - (ACCESS_DENIED, NO_SUCH_STREAMING_DISTRIBUTION), -) - -GET_STREAMING_DISTRIBUTION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GSDCI, - {_sSI: _cGSDCR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_STREAMING_DISTRIBUTION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GSDCO, - {_sSI: _cGSDCRo, _smith: None}, - (_SDC, _ET), - ((STREAMING_DISTRIBUTION_CONFIG, 16), (STRING, {_sH: _ET})), -) - -GET_STREAMING_DISTRIBUTION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GSDC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/streaming-distribution/{Id}/config", - "code": 200, - } - ) - }, - GET_STREAMING_DISTRIBUTION_CONFIG_INPUT, - GET_STREAMING_DISTRIBUTION_CONFIG_OUTPUT, - (ACCESS_DENIED, NO_SUCH_STREAMING_DISTRIBUTION), -) - -GET_TRUST_STORE_INPUT: StaticSchema = ( - 18, - n0, - _GTSI, - {_sSI: _cGTSR, _smit: None}, - (_Ide,), - ((STRING, 9),), -) - -GET_TRUST_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _GTSO, - {_sSI: _cGTSRo, _smith: None}, - (_TSr, _ET), - ((TRUST_STORE, 16), (STRING, {_sH: _ET})), -) - -GET_TRUST_STORE: StaticOperationSchema = ( - 23, - n0, - _GTS, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/trust-store/{Identifier}", - "code": 200, - } - ) - }, - GET_TRUST_STORE_INPUT, - GET_TRUST_STORE_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -GET_VPC_ORIGIN_INPUT: StaticSchema = ( - 18, - n0, - _GVOI, - {_sSI: _cGVOR, _smit: None}, - (_Id,), - ((STRING, 9),), -) - -GET_VPC_ORIGIN_OUTPUT: StaticSchema = ( - 18, - n0, - _GVOO, - {_sSI: _cGVORo, _smith: None}, - (_VO, _ET), - ((VPC_ORIGIN, 16), (STRING, {_sH: _ET})), -) - -GET_VPC_ORIGIN: StaticOperationSchema = ( - 23, - n0, - _GVO, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/vpc-origin/{Id}", "code": 200} - ) - }, - GET_VPC_ORIGIN_INPUT, - GET_VPC_ORIGIN_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -LIST_ANYCAST_IP_LISTS_INPUT: StaticSchema = ( - 18, - n0, - _LAILI, - {_sSI: _cLAILR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -LIST_ANYCAST_IP_LISTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAILO, - {_sSI: _cLAILRo, _smith: None}, - (_AILn,), - ((ANYCAST_IP_LIST_COLLECTION, {_sN: _AILC, _sP: None}),), -) - -LIST_ANYCAST_IP_LISTS: StaticOperationSchema = ( - 23, - n0, - _LAIL, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/anycast-ip-list", "code": 200} - ) - }, - LIST_ANYCAST_IP_LISTS_INPUT, - LIST_ANYCAST_IP_LISTS_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -LIST_CACHE_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LCPI, - {_sSI: _cLCPR, _smit: None}, - (_T, _Ma, _MI), - ((CACHE_POLICY_TYPE, {_sQ: _T}), (STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -LIST_CACHE_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LCPO, - {_sSI: _cLCPRo, _smith: None}, - (_CPL,), - ((CACHE_POLICY_LIST, 16),), -) - -LIST_CACHE_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LCP, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/cache-policy", "code": 200} - ) - }, - LIST_CACHE_POLICIES_INPUT, - LIST_CACHE_POLICIES_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_CACHE_POLICY), -) - -LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_INPUT: StaticSchema = ( - 18, - n0, - _LCFOAII, - {_sSI: _cLCFOAIR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY: StaticSchema = ( - 18, - n0, - _CFOAIS, - 0, - (_Id, _SCUI, _Comm), - ((STRING, 1), (STRING, 1), (STRING, 1)), -) - -CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CFOAISL, - 0, - (_m,), - ((CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY, {_sN: _CFOAIS}),), -) - -CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_LIST: StaticSchema = ( - 18, - n0, - _CFOAIL, - 0, - (_Ma, _NM, _MI, _IT, _Q, _I), - ( - (STRING, 1), - (STRING, 0), - (INTEGER, 1), - (BOOLEAN, 1), - (INTEGER, 1), - (CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY_LIST, 0), - ), -) - -LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LCFOAIO, - {_sSI: _cLCFOAIRo, _smith: None}, - (_CFOAIL,), - ((CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_LIST, 16),), -) - -LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES: StaticOperationSchema = ( - 23, - n0, - _LCFOAI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/origin-access-identity/cloudfront", - "code": 200, - } - ) - }, - LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_INPUT, - LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_OUTPUT, - (INVALID_ARGUMENT,), -) - -DISTRIBUTION_ID_STRING: StaticSchema = (3, n0, _dIS, 0) - -LIST_CONFLICTING_ALIASES_MAX_ITEMS_INTEGER: StaticSchema = (7, n0, _lCAMII, 0) - -LIST_CONFLICTING_ALIASES_INPUT: StaticSchema = ( - 18, - n0, - _LCAI, - {_sSI: _cLCAR, _smit: None}, - (_DIi, _Al, _Ma, _MI), - ( - (DISTRIBUTION_ID_STRING, {_sQ: _DIi, _smi: None}), - (ALIAS_STRING, {_sQ: _Al, _smi: None}), - (STRING, {_sQ: _Ma}), - (LIST_CONFLICTING_ALIASES_MAX_ITEMS_INTEGER, {_sQ: _MI}), - ), -) - -CONFLICTING_ALIAS: StaticSchema = ( - 18, - n0, - _CAo, - 0, - (_Al, _DIi, _AIc), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -CONFLICTING_ALIASES: StaticSchema = ( - 16, - n0, - _CAon, - 0, - (_m,), - ((CONFLICTING_ALIAS, {_sN: _CAo}),), -) - -CONFLICTING_ALIASES_LIST: StaticSchema = ( - 18, - n0, - _CAL, - 0, - (_NM, _MI, _Q, _I), - ((STRING, 0), (INTEGER, 0), (INTEGER, 0), (CONFLICTING_ALIASES, 0)), -) - -LIST_CONFLICTING_ALIASES_OUTPUT: StaticSchema = ( - 18, - n0, - _LCAO, - {_sSI: _cLCARo, _smith: None}, - (_CAL,), - ((CONFLICTING_ALIASES_LIST, 16),), -) - -LIST_CONFLICTING_ALIASES: StaticOperationSchema = ( - 23, - n0, - _LCA, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/conflicting-alias", "code": 200} - ) - }, - LIST_CONFLICTING_ALIASES_INPUT, - LIST_CONFLICTING_ALIASES_OUTPUT, - (INVALID_ARGUMENT, NO_SUCH_DISTRIBUTION), -) - -LIST_CONNECTION_FUNCTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LCFI, - {_sSI: _cLCFR, _smit: None}, - (_Ma, _MI, _Stag), - ((STRING, 0), (INTEGER, 0), (FUNCTION_STAGE, 0)), -) - -CONNECTION_FUNCTION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CFSL, - 0, - (_m,), - ((CONNECTION_FUNCTION_SUMMARY, {_sN: _CFS}),), -) - -LIST_CONNECTION_FUNCTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCFO, - {_sSI: _cLCFRo, _smith: None}, - (_NM, _CFo), - ((STRING, 0), (CONNECTION_FUNCTION_SUMMARY_LIST, 0)), -) - -LIST_CONNECTION_FUNCTIONS: StaticOperationSchema = ( - 23, - n0, - _LCF, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/connection-functions", "code": 200} - ) - }, - LIST_CONNECTION_FUNCTIONS_INPUT, - LIST_CONNECTION_FUNCTIONS_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -CONNECTION_GROUP_ASSOCIATION_FILTER: StaticSchema = ( - 18, - n0, - _CGAF, - 0, - (_AILI,), - ((STRING, 0),), -) - -LIST_CONNECTION_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _LCGI, - {_sSI: _cLCGR, _smit: None}, - (_AF, _Ma, _MI), - ((CONNECTION_GROUP_ASSOCIATION_FILTER, 0), (STRING, 0), (INTEGER, 0)), -) - -CONNECTION_GROUP_SUMMARY: StaticSchema = ( - 18, - n0, - _CGS, - 0, - (_Id, _N, _Ar, _RE, _CTr, _LMT, _ET, _AILI, _E, _St, _ID), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (STRING, 1), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -CONNECTION_GROUP_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CGSL, - 0, - (_m,), - ((CONNECTION_GROUP_SUMMARY, {_sN: _CGS}),), -) - -LIST_CONNECTION_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCGO, - {_sSI: _cLCGRo, _smith: None}, - (_NM, _CGo), - ((STRING, 0), (CONNECTION_GROUP_SUMMARY_LIST, 0)), -) - -LIST_CONNECTION_GROUPS: StaticOperationSchema = ( - 23, - n0, - _LCG, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/connection-groups", "code": 200} - ) - }, - LIST_CONNECTION_GROUPS_INPUT, - LIST_CONNECTION_GROUPS_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -LIST_CONTINUOUS_DEPLOYMENT_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LCDPI, - {_sSI: _cLCDPR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY: StaticSchema = ( - 18, - n0, - _CDPS, - 0, - (_CDP,), - ((CONTINUOUS_DEPLOYMENT_POLICY, 1),), -) - -CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _CDPSL, - 0, - (_m,), - ((CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY, {_sN: _CDPS}),), -) - -CONTINUOUS_DEPLOYMENT_POLICY_LIST: StaticSchema = ( - 18, - n0, - _CDPL, - 0, - (_NM, _MI, _Q, _I), - ( - (STRING, 0), - (INTEGER, 1), - (INTEGER, 1), - (CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY_LIST, 0), - ), -) - -LIST_CONTINUOUS_DEPLOYMENT_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LCDPO, - {_sSI: _cLCDPRo, _smith: None}, - (_CDPL,), - ((CONTINUOUS_DEPLOYMENT_POLICY_LIST, 16),), -) - -LIST_CONTINUOUS_DEPLOYMENT_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LCDP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/continuous-deployment-policy", - "code": 200, - } - ) - }, - LIST_CONTINUOUS_DEPLOYMENT_POLICIES_INPUT, - LIST_CONTINUOUS_DEPLOYMENT_POLICIES_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY), -) - -LIST_DISTRIBUTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LDI, - {_sSI: _cLDR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -DISTRIBUTION_SUMMARY: StaticSchema = ( - 18, - n0, - _DSi, - 0, - ( - _Id, - _ARN, - _ET, - _St, - _LMT, - _DN, - _A, - _Or, - _OGr, - _DCB, - _CBa, - _CERu, - _Comm, - _PC, - _E, - _VC, - _Re, - _WACLI, - _HV, - _IIPVE, - _AICPRl, - _Sta, - _CMo, - _AILI, - _VMC, - _CFA, - ), - ( - (STRING, 1), - (STRING, 1), - (STRING, 0), - (STRING, 1), - (TIMESTAMP, 1), - (STRING, 1), - (ALIASES, 1), - (ORIGINS, 1), - (ORIGIN_GROUPS, 0), - (DEFAULT_CACHE_BEHAVIOR, 1), - (CACHE_BEHAVIORS, 1), - (CUSTOM_ERROR_RESPONSES, 1), - (SENSITIVE_STRING_TYPE, 1), - (PRICE_CLASS, 1), - (BOOLEAN, 1), - (VIEWER_CERTIFICATE, 1), - (RESTRICTIONS, 1), - (STRING, 1), - (HTTP_VERSION, 1), - (BOOLEAN, 1), - (ALIAS_ICP_RECORDALS, 0), - (BOOLEAN, 1), - (CONNECTION_MODE, 0), - (STRING, 0), - (VIEWER_MTLS_CONFIG, 0), - (CONNECTION_FUNCTION_ASSOCIATION, 0), - ), -) - -DISTRIBUTION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _DSL, - 0, - (_m,), - ((DISTRIBUTION_SUMMARY, {_sN: _DSi}),), -) - -DISTRIBUTION_LIST: StaticSchema = ( - 18, - n0, - _DLi, - 0, - (_Ma, _NM, _MI, _IT, _Q, _I), - ( - (STRING, 1), - (STRING, 0), - (INTEGER, 1), - (BOOLEAN, 1), - (INTEGER, 1), - (DISTRIBUTION_SUMMARY_LIST, 0), - ), -) - -LIST_DISTRIBUTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDO, - {_sSI: _cLDRo, _smith: None}, - (_DLi,), - ((DISTRIBUTION_LIST, 16),), -) - -LIST_DISTRIBUTIONS: StaticOperationSchema = ( - 23, - n0, - _LD, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/distribution", "code": 200} - ) - }, - LIST_DISTRIBUTIONS_INPUT, - LIST_DISTRIBUTIONS_OUTPUT, - (INVALID_ARGUMENT,), -) - -LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_INPUT: StaticSchema = ( - 18, - n0, - _LDBAILII, - {_sSI: _cLDBAILIR, _smit: None}, - (_Ma, _MI, _AILI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (STRING, 9)), -) - -LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBAILIO, - {_sSI: _cLDBAILIRo, _smith: None}, - (_DLi,), - ((DISTRIBUTION_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID: StaticOperationSchema = ( - 23, - n0, - _LDBAILI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByAnycastIpListId/{AnycastIpListId}", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_INPUT, - LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_INPUT: StaticSchema = ( - 18, - n0, - _LDBCPII, - {_sSI: _cLDBCPIR, _smit: None}, - (_Ma, _MI, _CPI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (STRING, 9)), -) - -DISTRIBUTION_ID_LIST_SUMMARY: StaticSchema = ( - 16, - n0, - _DILS, - 0, - (_m,), - ((STRING, {_sN: _DIi}),), -) - -DISTRIBUTION_ID_LIST: StaticSchema = ( - 18, - n0, - _DIL, - 0, - (_Ma, _NM, _MI, _IT, _Q, _I), - ( - (STRING, 1), - (STRING, 0), - (INTEGER, 1), - (BOOLEAN, 1), - (INTEGER, 1), - (DISTRIBUTION_ID_LIST_SUMMARY, 0), - ), -) - -LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBCPIO, - {_sSI: _cLDBCPIRo, _smith: None}, - (_DIL,), - ((DISTRIBUTION_ID_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID: StaticOperationSchema = ( - 23, - n0, - _LDBCPI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_INPUT, - LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_CACHE_POLICY), -) - -LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _LDBCFI, - {_sSI: _cLDBCFR, _smit: None}, - (_Ma, _MI, _CFIo), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (STRING, {_sQ: _CFIo, _smi: None})), -) - -LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBCFO, - {_sSI: _cLDBCFRo, _smith: None}, - (_DLi,), - ((DISTRIBUTION_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _LDBCF, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByConnectionFunction", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_INPUT, - LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_INPUT: StaticSchema = ( - 18, - n0, - _LDBCMI, - {_sSI: _cLDBCMR, _smit: None}, - (_Ma, _MI, _CMo), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (CONNECTION_MODE, 9)), -) - -LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBCMO, - {_sSI: _cLDBCMRo, _smith: None}, - (_DLi,), - ((DISTRIBUTION_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_CONNECTION_MODE: StaticOperationSchema = ( - 23, - n0, - _LDBCM, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByConnectionMode/{ConnectionMode}", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_INPUT, - LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT), -) - -LIST_DISTRIBUTIONS_BY_KEY_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _LDBKGI, - {_sSI: _cLDBKGR, _smit: None}, - (_Ma, _MI, _KGI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (STRING, 9)), -) - -LIST_DISTRIBUTIONS_BY_KEY_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBKGO, - {_sSI: _cLDBKGRo, _smith: None}, - (_DIL,), - ((DISTRIBUTION_ID_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_KEY_GROUP: StaticOperationSchema = ( - 23, - n0, - _LDBKG, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByKeyGroupId/{KeyGroupId}", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_KEY_GROUP_INPUT, - LIST_DISTRIBUTIONS_BY_KEY_GROUP_OUTPUT, - (INVALID_ARGUMENT, NO_SUCH_RESOURCE), -) - -LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_INPUT: StaticSchema = ( - 18, - n0, - _LDBORPII, - {_sSI: _cLDBORPIR, _smit: None}, - (_Ma, _MI, _ORPI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (STRING, 9)), -) - -LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBORPIO, - {_sSI: _cLDBORPIRo, _smith: None}, - (_DIL,), - ((DISTRIBUTION_ID_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID: StaticOperationSchema = ( - 23, - n0, - _LDBORPI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_INPUT, - LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_ORIGIN_REQUEST_POLICY), -) - -LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LDBORI, - {_sSI: _cLDBORR, _smit: None}, - (_RA, _Ma, _MI), - ((STRING, 9), (STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -DISTRIBUTION_ID_OWNER: StaticSchema = ( - 18, - n0, - _DIO, - 0, - (_DIi, _OAIw), - ((STRING, 1), (STRING, 1)), -) - -DISTRIBUTION_ID_OWNER_ITEM_LIST: StaticSchema = ( - 16, - n0, - _DIOIL, - 0, - (_m,), - ((DISTRIBUTION_ID_OWNER, {_sN: _DIO}),), -) - -DISTRIBUTION_ID_OWNER_LIST: StaticSchema = ( - 18, - n0, - _DIOL, - 0, - (_Ma, _NM, _MI, _IT, _Q, _I), - ( - (STRING, 1), - (STRING, 0), - (INTEGER, 1), - (BOOLEAN, 1), - (INTEGER, 1), - (DISTRIBUTION_ID_OWNER_ITEM_LIST, 0), - ), -) - -LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBORO, - {_sSI: _cLDBORRo, _smith: None}, - (_DLi,), - ((DISTRIBUTION_ID_OWNER_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LDBOR, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByOwnedResource/{ResourceArn}", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_INPUT, - LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _LDBRLCI, - {_sSI: _cLDBRLCR, _smit: None}, - (_Ma, _MI, _RLCN, _RLCA), - ((STRING, 0), (INTEGER, 0), (STRING, 0), (STRING, 0)), -) - -LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBRLCO, - {_sSI: _cLDBRLCRo, _smith: None}, - (_DLi,), - ((DISTRIBUTION_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG: StaticOperationSchema = ( - 23, - n0, - _LDBRLC, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/distributionsByRealtimeLogConfig", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_INPUT, - LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_OUTPUT, - (INVALID_ARGUMENT,), -) - -LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_INPUT: StaticSchema = ( - 18, - n0, - _LDBRHPII, - {_sSI: _cLDBRHPIR, _smit: None}, - (_Ma, _MI, _RHPI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (STRING, 9)), -) - -LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBRHPIO, - {_sSI: _cLDBRHPIRo, _smith: None}, - (_DIL,), - ((DISTRIBUTION_ID_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID: StaticOperationSchema = ( - 23, - n0, - _LDBRHPI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByResponseHeadersPolicyId/{ResponseHeadersPolicyId}", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_INPUT, - LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_RESPONSE_HEADERS_POLICY), -) - -LIST_DISTRIBUTIONS_BY_TRUST_STORE_INPUT: StaticSchema = ( - 18, - n0, - _LDBTSI, - {_sSI: _cLDBTSR, _smit: None}, - (_TSIr, _Ma, _MI), - ((STRING, {_sQ: _TSIr, _smi: None}), (STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -LIST_DISTRIBUTIONS_BY_TRUST_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBTSO, - {_sSI: _cLDBTSRo, _smith: None}, - (_DLi,), - ((DISTRIBUTION_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_TRUST_STORE: StaticOperationSchema = ( - 23, - n0, - _LDBTS, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByTrustStore", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_TRUST_STORE_INPUT, - LIST_DISTRIBUTIONS_BY_TRUST_STORE_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_INPUT: StaticSchema = ( - 18, - n0, - _LDBVOII, - {_sSI: _cLDBVOIR, _smit: None}, - (_Ma, _MI, _VOI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (STRING, 9)), -) - -LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBVOIO, - {_sSI: _cLDBVOIRo, _smith: None}, - (_DIL,), - ((DISTRIBUTION_ID_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID: StaticOperationSchema = ( - 23, - n0, - _LDBVOI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByVpcOriginId/{VpcOriginId}", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_INPUT, - LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_INPUT: StaticSchema = ( - 18, - n0, - _LDBWACLII, - {_sSI: _cLDBWACLIR, _smit: None}, - (_Ma, _MI, _WACLI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (STRING, 9)), -) - -LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBWACLIO, - {_sSI: _cLDBWACLIRo, _smith: None}, - (_DLi,), - ((DISTRIBUTION_LIST, 16),), -) - -LIST_DISTRIBUTIONS_BY_WEB_ACL_ID: StaticOperationSchema = ( - 23, - n0, - _LDBWACLI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distributionsByWebACLId/{WebACLId}", - "code": 200, - } - ) - }, - LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_INPUT, - LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_OUTPUT, - (INVALID_ARGUMENT, INVALID_WEB_ACL_ID), -) - -DISTRIBUTION_TENANT_ASSOCIATION_FILTER: StaticSchema = ( - 18, - n0, - _DTAF, - 0, - (_DIi, _CGI), - ((STRING, 0), (STRING, 0)), -) - -LIST_DISTRIBUTION_TENANTS_INPUT: StaticSchema = ( - 18, - n0, - _LDTI, - {_sSI: _cLDTR, _smit: None}, - (_AF, _Ma, _MI), - ((DISTRIBUTION_TENANT_ASSOCIATION_FILTER, 0), (STRING, 0), (INTEGER, 0)), -) - -DISTRIBUTION_TENANT_SUMMARY: StaticSchema = ( - 18, - n0, - _DTSi, - 0, - (_Id, _DIi, _N, _Ar, _Dom, _CGI, _Cu, _CTr, _LMT, _ET, _E, _St), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (DOMAIN_RESULT_LIST, 1), - (STRING, 0), - (CUSTOMIZATIONS, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (STRING, 1), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -DISTRIBUTION_TENANT_LIST: StaticSchema = ( - 16, - n0, - _DTL, - 0, - (_m,), - ((DISTRIBUTION_TENANT_SUMMARY, {_sN: _DTSi}),), -) - -LIST_DISTRIBUTION_TENANTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDTO, - {_sSI: _cLDTRo, _smith: None}, - (_NM, _DTL), - ((STRING, 0), (DISTRIBUTION_TENANT_LIST, 0)), -) - -LIST_DISTRIBUTION_TENANTS: StaticOperationSchema = ( - 23, - n0, - _LDT, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/distribution-tenants", "code": 200} - ) - }, - LIST_DISTRIBUTION_TENANTS_INPUT, - LIST_DISTRIBUTION_TENANTS_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_INPUT: StaticSchema = ( - 18, - n0, - _LDTBCI, - {_sSI: _cLDTBCR, _smit: None}, - (_WACLA, _CAe, _Ma, _MI), - ((STRING, 0), (STRING, 0), (STRING, 0), (INTEGER, 0)), -) - -LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_OUTPUT: StaticSchema = ( - 18, - n0, - _LDTBCO, - {_sSI: _cLDTBCRo, _smith: None}, - (_NM, _DTL), - ((STRING, 0), (DISTRIBUTION_TENANT_LIST, 0)), -) - -LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION: StaticOperationSchema = ( - 23, - n0, - _LDTBC, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/distribution-tenants-by-customization", - "code": 200, - } - ) - }, - LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_INPUT, - LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -DISTRIBUTION_RESOURCE_ID: StaticSchema = ( - 18, - n0, - _DRI, - 0, - (_DIi, _DTI), - ((STRING, 0), (STRING, 0)), -) - -LIST_DOMAIN_CONFLICTS_INPUT: StaticSchema = ( - 18, - n0, - _LDCI, - {_sSI: _cLDCR, _smit: None}, - (_Do, _DCVR, _MI, _Ma), - ((STRING, 1), (DISTRIBUTION_RESOURCE_ID, 1), (INTEGER, 0), (STRING, 0)), -) - -DISTRIBUTION_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _DRT, - 0, - (_Dis, _DT), - ((-1, {_sV: _dist}), (-1, {_sV: _dt})), -) - -DOMAIN_CONFLICT: StaticSchema = ( - 18, - n0, - _DCo, - 0, - (_Do, _RTes, _RI, _AIc), - ((STRING, 1), (DISTRIBUTION_RESOURCE_TYPE, 1), (STRING, 1), (STRING, 1)), -) - -DOMAIN_CONFLICTS_LIST: StaticSchema = ( - 16, - n0, - _DCL, - 0, - (_m,), - ((DOMAIN_CONFLICT, {_sN: _DCom}),), -) - -LIST_DOMAIN_CONFLICTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDCO, - {_sSI: _cLDCRo, _smith: None}, - (_DCom, _NM), - ((DOMAIN_CONFLICTS_LIST, 0), (STRING, 0)), -) - -LIST_DOMAIN_CONFLICTS: StaticOperationSchema = ( - 23, - n0, - _LDC, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/domain-conflicts", "code": 200} - ) - }, - LIST_DOMAIN_CONFLICTS_INPUT, - LIST_DOMAIN_CONFLICTS_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_INPUT: StaticSchema = ( - 18, - n0, - _LFLECI, - {_sSI: _cLFLECR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -FIELD_LEVEL_ENCRYPTION_SUMMARY: StaticSchema = ( - 18, - n0, - _FLES, - 0, - (_Id, _LMT, _Comm, _QAPC, _CTPC), - ( - (STRING, 1), - (TIMESTAMP, 1), - (STRING, 0), - (QUERY_ARG_PROFILE_CONFIG, 0), - (CONTENT_TYPE_PROFILE_CONFIG, 0), - ), -) - -FIELD_LEVEL_ENCRYPTION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _FLESL, - 0, - (_m,), - ((FIELD_LEVEL_ENCRYPTION_SUMMARY, {_sN: _FLES}),), -) - -FIELD_LEVEL_ENCRYPTION_LIST: StaticSchema = ( - 18, - n0, - _FLEL, - 0, - (_NM, _MI, _Q, _I), - ((STRING, 0), (INTEGER, 1), (INTEGER, 1), (FIELD_LEVEL_ENCRYPTION_SUMMARY_LIST, 0)), -) - -LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFLECO, - {_sSI: _cLFLECRo, _smith: None}, - (_FLEL,), - ((FIELD_LEVEL_ENCRYPTION_LIST, 16),), -) - -LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS: StaticOperationSchema = ( - 23, - n0, - _LFLEC, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/field-level-encryption", "code": 200} - ) - }, - LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_INPUT, - LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_OUTPUT, - (INVALID_ARGUMENT,), -) - -LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_INPUT: StaticSchema = ( - 18, - n0, - _LFLEPI, - {_sSI: _cLFLEPR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY: StaticSchema = ( - 18, - n0, - _FLEPS, - 0, - (_Id, _LMT, _N, _EEn, _Comm), - ((STRING, 1), (TIMESTAMP, 1), (STRING, 1), (ENCRYPTION_ENTITIES, 1), (STRING, 0)), -) - -FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _FLEPSL, - 0, - (_m,), - ((FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY, {_sN: _FLEPS}),), -) - -FIELD_LEVEL_ENCRYPTION_PROFILE_LIST: StaticSchema = ( - 18, - n0, - _FLEPL, - 0, - (_NM, _MI, _Q, _I), - ( - (STRING, 0), - (INTEGER, 1), - (INTEGER, 1), - (FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY_LIST, 0), - ), -) - -LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_OUTPUT: StaticSchema = ( - 18, - n0, - _LFLEPO, - {_sSI: _cLFLEPRo, _smith: None}, - (_FLEPL,), - ((FIELD_LEVEL_ENCRYPTION_PROFILE_LIST, 16),), -) - -LIST_FIELD_LEVEL_ENCRYPTION_PROFILES: StaticOperationSchema = ( - 23, - n0, - _LFLEP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/field-level-encryption-profile", - "code": 200, - } - ) - }, - LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_INPUT, - LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_OUTPUT, - (INVALID_ARGUMENT,), -) - -LIST_FUNCTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LFI, - {_sSI: _cLFR, _smit: None}, - (_Ma, _MI, _Stag), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (FUNCTION_STAGE, {_sQ: _Stag})), -) - -FUNCTION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _FSL, - 0, - (_m,), - ((FUNCTION_SUMMARY, {_sN: _FSu}),), -) - -FUNCTION_LIST: StaticSchema = ( - 18, - n0, - _FLu, - 0, - (_NM, _MI, _Q, _I), - ((STRING, 0), (INTEGER, 1), (INTEGER, 1), (FUNCTION_SUMMARY_LIST, 0)), -) - -LIST_FUNCTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFO, - {_sSI: _cLFRo, _smith: None}, - (_FLu,), - ((FUNCTION_LIST, 16),), -) - -LIST_FUNCTIONS: StaticOperationSchema = ( - 23, - n0, - _LF, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/function", "code": 200} - ) - }, - LIST_FUNCTIONS_INPUT, - LIST_FUNCTIONS_OUTPUT, - (INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -LIST_INVALIDATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LII, - {_sSI: _cLIR, _smit: None}, - (_DIi, _Ma, _MI), - ((STRING, 9), (STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -INVALIDATION_SUMMARY: StaticSchema = ( - 18, - n0, - _ISnv, - 0, - (_Id, _CTre, _St), - ((STRING, 1), (TIMESTAMP, 1), (STRING, 1)), -) - -INVALIDATION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _ISL, - 0, - (_m,), - ((INVALIDATION_SUMMARY, {_sN: _ISnv}),), -) - -INVALIDATION_LIST: StaticSchema = ( - 18, - n0, - _IL, - 0, - (_Ma, _NM, _MI, _IT, _Q, _I), - ( - (STRING, 1), - (STRING, 0), - (INTEGER, 1), - (BOOLEAN, 1), - (INTEGER, 1), - (INVALIDATION_SUMMARY_LIST, 0), - ), -) - -LIST_INVALIDATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIO, - {_sSI: _cLIRo, _smith: None}, - (_IL,), - ((INVALIDATION_LIST, 16),), -) - -LIST_INVALIDATIONS: StaticOperationSchema = ( - 23, - n0, - _LI, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distribution/{DistributionId}/invalidation", - "code": 200, - } - ) - }, - LIST_INVALIDATIONS_INPUT, - LIST_INVALIDATIONS_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_DISTRIBUTION), -) - -LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( - 18, - n0, - _LIFDTI, - {_sSI: _cLIFDTR, _smit: None}, - (_Id, _Ma, _MI), - ((STRING, 9), (STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( - 18, - n0, - _LIFDTO, - {_sSI: _cLIFDTRo, _smith: None}, - (_IL,), - ((INVALIDATION_LIST, 16),), -) - -LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT: StaticOperationSchema = ( - 23, - n0, - _LIFDT, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-05-31/distribution-tenant/{Id}/invalidation", - "code": 200, - } - ) - }, - LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_INPUT, - LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -LIST_KEY_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _LKGI, - {_sSI: _cLKGR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -KEY_GROUP_SUMMARY: StaticSchema = (18, n0, _KGS, 0, (_KG,), ((KEY_GROUP, 1),)) - -KEY_GROUP_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _KGSL, - 0, - (_m,), - ((KEY_GROUP_SUMMARY, {_sN: _KGS}),), -) - -KEY_GROUP_LIST: StaticSchema = ( - 18, - n0, - _KGL, - 0, - (_NM, _MI, _Q, _I), - ((STRING, 0), (INTEGER, 1), (INTEGER, 1), (KEY_GROUP_SUMMARY_LIST, 0)), -) - -LIST_KEY_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _LKGO, - {_sSI: _cLKGRo, _smith: None}, - (_KGL,), - ((KEY_GROUP_LIST, 16),), -) - -LIST_KEY_GROUPS: StaticOperationSchema = ( - 23, - n0, - _LKG, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/key-group", "code": 200} - ) - }, - LIST_KEY_GROUPS_INPUT, - LIST_KEY_GROUPS_OUTPUT, - (INVALID_ARGUMENT,), -) - -LIST_KEY_VALUE_STORES_INPUT: StaticSchema = ( - 18, - n0, - _LKVSI, - {_sSI: _cLKVSR, _smit: None}, - (_Ma, _MI, _St), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI}), (STRING, {_sQ: _St})), -) - -KEY_VALUE_STORE_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _KVSSL, - 0, - (_m,), - ((KEY_VALUE_STORE, {_sN: _KVS}),), -) - -KEY_VALUE_STORE_LIST: StaticSchema = ( - 18, - n0, - _KVSL, - 0, - (_NM, _MI, _Q, _I), - ((STRING, 0), (INTEGER, 1), (INTEGER, 1), (KEY_VALUE_STORE_SUMMARY_LIST, 0)), -) - -LIST_KEY_VALUE_STORES_OUTPUT: StaticSchema = ( - 18, - n0, - _LKVSO, - {_sSI: _cLKVSRo, _smith: None}, - (_KVSL,), - ((KEY_VALUE_STORE_LIST, 16),), -) - -LIST_KEY_VALUE_STORES: StaticOperationSchema = ( - 23, - n0, - _LKVS, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/key-value-store", "code": 200} - ) - }, - LIST_KEY_VALUE_STORES_INPUT, - LIST_KEY_VALUE_STORES_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -LIST_ORIGIN_ACCESS_CONTROLS_INPUT: StaticSchema = ( - 18, - n0, - _LOACI, - {_sSI: _cLOACR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -ORIGIN_ACCESS_CONTROL_SUMMARY: StaticSchema = ( - 18, - n0, - _OACS, - 0, - (_Id, _Des, _N, _SPi, _SB, _OACOTr), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (ORIGIN_ACCESS_CONTROL_SIGNING_PROTOCOLS, 1), - (ORIGIN_ACCESS_CONTROL_SIGNING_BEHAVIORS, 1), - (ORIGIN_ACCESS_CONTROL_ORIGIN_TYPES, 1), - ), -) - -ORIGIN_ACCESS_CONTROL_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _OACSL, - 0, - (_m,), - ((ORIGIN_ACCESS_CONTROL_SUMMARY, {_sN: _OACS}),), -) - -ORIGIN_ACCESS_CONTROL_LIST: StaticSchema = ( - 18, - n0, - _OACL, - 0, - (_Ma, _NM, _MI, _IT, _Q, _I), - ( - (STRING, 1), - (STRING, 0), - (INTEGER, 1), - (BOOLEAN, 1), - (INTEGER, 1), - (ORIGIN_ACCESS_CONTROL_SUMMARY_LIST, 0), - ), -) - -LIST_ORIGIN_ACCESS_CONTROLS_OUTPUT: StaticSchema = ( - 18, - n0, - _LOACO, - {_sSI: _cLOACRo, _smith: None}, - (_OACL,), - ((ORIGIN_ACCESS_CONTROL_LIST, 16),), -) - -LIST_ORIGIN_ACCESS_CONTROLS: StaticOperationSchema = ( - 23, - n0, - _LOAC, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/origin-access-control", "code": 200} - ) - }, - LIST_ORIGIN_ACCESS_CONTROLS_INPUT, - LIST_ORIGIN_ACCESS_CONTROLS_OUTPUT, - (INVALID_ARGUMENT,), -) - -ORIGIN_REQUEST_POLICY_TYPE: StaticSchema = ( - 14, - n0, - _ORPT, - 0, - (_ma, _cu), - ((-1, {_sV: _ma}), (-1, {_sV: _cu})), -) - -LIST_ORIGIN_REQUEST_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LORPI, - {_sSI: _cLORPR, _smit: None}, - (_T, _Ma, _MI), - ( - (ORIGIN_REQUEST_POLICY_TYPE, {_sQ: _T}), - (STRING, {_sQ: _Ma}), - (INTEGER, {_sQ: _MI}), - ), -) - -ORIGIN_REQUEST_POLICY_SUMMARY: StaticSchema = ( - 18, - n0, - _ORPS, - 0, - (_T, _ORP), - ((ORIGIN_REQUEST_POLICY_TYPE, 1), (ORIGIN_REQUEST_POLICY, 1)), -) - -ORIGIN_REQUEST_POLICY_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _ORPSL, - 0, - (_m,), - ((ORIGIN_REQUEST_POLICY_SUMMARY, {_sN: _ORPS}),), -) - -ORIGIN_REQUEST_POLICY_LIST: StaticSchema = ( - 18, - n0, - _ORPL, - 0, - (_NM, _MI, _Q, _I), - ((STRING, 0), (INTEGER, 1), (INTEGER, 1), (ORIGIN_REQUEST_POLICY_SUMMARY_LIST, 0)), -) - -LIST_ORIGIN_REQUEST_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LORPO, - {_sSI: _cLORPRo, _smith: None}, - (_ORPL,), - ((ORIGIN_REQUEST_POLICY_LIST, 16),), -) - -LIST_ORIGIN_REQUEST_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LORP, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/origin-request-policy", "code": 200} - ) - }, - LIST_ORIGIN_REQUEST_POLICIES_INPUT, - LIST_ORIGIN_REQUEST_POLICIES_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_ORIGIN_REQUEST_POLICY), -) - -LIST_PUBLIC_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _LPKI, - {_sSI: _cLPKR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -PUBLIC_KEY_SUMMARY: StaticSchema = ( - 18, - n0, - _PKS, - 0, - (_Id, _N, _CTr, _EK, _Comm), - ((STRING, 1), (STRING, 1), (TIMESTAMP, 1), (STRING, 1), (STRING, 0)), -) - -PUBLIC_KEY_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _PKSL, - 0, - (_m,), - ((PUBLIC_KEY_SUMMARY, {_sN: _PKS}),), -) - -PUBLIC_KEY_LIST: StaticSchema = ( - 18, - n0, - _PKL, - 0, - (_NM, _MI, _Q, _I), - ((STRING, 0), (INTEGER, 1), (INTEGER, 1), (PUBLIC_KEY_SUMMARY_LIST, 0)), -) - -LIST_PUBLIC_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPKO, - {_sSI: _cLPKRo, _smith: None}, - (_PKL,), - ((PUBLIC_KEY_LIST, 16),), -) - -LIST_PUBLIC_KEYS: StaticOperationSchema = ( - 23, - n0, - _LPK, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/public-key", "code": 200} - ) - }, - LIST_PUBLIC_KEYS_INPUT, - LIST_PUBLIC_KEYS_OUTPUT, - (INVALID_ARGUMENT,), -) - -LIST_REALTIME_LOG_CONFIGS_INPUT: StaticSchema = ( - 18, - n0, - _LRLCI, - {_sSI: _cLRLCR, _smit: None}, - (_MI, _Ma), - ((INTEGER, {_sQ: _MI}), (STRING, {_sQ: _Ma})), -) - -REALTIME_LOG_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _RLCL, - 0, - (_m,), - ((REALTIME_LOG_CONFIG, 0),), -) - -REALTIME_LOG_CONFIGS: StaticSchema = ( - 18, - n0, - _RLCe, - 0, - (_MI, _I, _IT, _Ma, _NM), - ( - (INTEGER, 1), - (REALTIME_LOG_CONFIG_LIST, 0), - (BOOLEAN, 1), - (STRING, 1), - (STRING, 0), - ), -) - -LIST_REALTIME_LOG_CONFIGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRLCO, - {_sSI: _cLRLCRo, _smith: None}, - (_RLCe,), - ((REALTIME_LOG_CONFIGS, 16),), -) - -LIST_REALTIME_LOG_CONFIGS: StaticOperationSchema = ( - 23, - n0, - _LRLC, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/realtime-log-config", "code": 200} - ) - }, - LIST_REALTIME_LOG_CONFIGS_INPUT, - LIST_REALTIME_LOG_CONFIGS_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_REALTIME_LOG_CONFIG), -) - -RESPONSE_HEADERS_POLICY_TYPE: StaticSchema = ( - 14, - n0, - _RHPT, - 0, - (_ma, _cu), - ((-1, {_sV: _ma}), (-1, {_sV: _cu})), -) - -LIST_RESPONSE_HEADERS_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LRHPI, - {_sSI: _cLRHPR, _smit: None}, - (_T, _Ma, _MI), - ( - (RESPONSE_HEADERS_POLICY_TYPE, {_sQ: _T}), - (STRING, {_sQ: _Ma}), - (INTEGER, {_sQ: _MI}), - ), -) - -RESPONSE_HEADERS_POLICY_SUMMARY: StaticSchema = ( - 18, - n0, - _RHPS, - 0, - (_T, _RHP), - ((RESPONSE_HEADERS_POLICY_TYPE, 1), (RESPONSE_HEADERS_POLICY, 1)), -) - -RESPONSE_HEADERS_POLICY_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _RHPSL, - 0, - (_m,), - ((RESPONSE_HEADERS_POLICY_SUMMARY, {_sN: _RHPS}),), -) - -RESPONSE_HEADERS_POLICY_LIST: StaticSchema = ( - 18, - n0, - _RHPL, - 0, - (_NM, _MI, _Q, _I), - ( - (STRING, 0), - (INTEGER, 1), - (INTEGER, 1), - (RESPONSE_HEADERS_POLICY_SUMMARY_LIST, 0), - ), -) - -LIST_RESPONSE_HEADERS_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LRHPO, - {_sSI: _cLRHPRo, _smith: None}, - (_RHPL,), - ((RESPONSE_HEADERS_POLICY_LIST, 16),), -) - -LIST_RESPONSE_HEADERS_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LRHP, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/response-headers-policy", "code": 200} - ) - }, - LIST_RESPONSE_HEADERS_POLICIES_INPUT, - LIST_RESPONSE_HEADERS_POLICIES_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_RESPONSE_HEADERS_POLICY), -) - -LIST_STREAMING_DISTRIBUTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LSDI, - {_sSI: _cLSDR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -STREAMING_DISTRIBUTION_SUMMARY: StaticSchema = ( - 18, - n0, - _SDS, - 0, - (_Id, _ARN, _St, _LMT, _DN, _SO, _A, _TS, _Comm, _PC, _E), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (TIMESTAMP, 1), - (STRING, 1), - (S3_ORIGIN, 1), - (ALIASES, 1), - (TRUSTED_SIGNERS, 1), - (STRING, 1), - (PRICE_CLASS, 1), - (BOOLEAN, 1), - ), -) - -STREAMING_DISTRIBUTION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _SDSL, - 0, - (_m,), - ((STREAMING_DISTRIBUTION_SUMMARY, {_sN: _SDS}),), -) - -STREAMING_DISTRIBUTION_LIST: StaticSchema = ( - 18, - n0, - _SDL, - 0, - (_Ma, _NM, _MI, _IT, _Q, _I), - ( - (STRING, 1), - (STRING, 0), - (INTEGER, 1), - (BOOLEAN, 1), - (INTEGER, 1), - (STREAMING_DISTRIBUTION_SUMMARY_LIST, 0), - ), -) - -LIST_STREAMING_DISTRIBUTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSDO, - {_sSI: _cLSDRo, _smith: None}, - (_SDL,), - ((STREAMING_DISTRIBUTION_LIST, 16),), -) - -LIST_STREAMING_DISTRIBUTIONS: StaticOperationSchema = ( - 23, - n0, - _LSD, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/streaming-distribution", "code": 200} - ) - }, - LIST_STREAMING_DISTRIBUTIONS_INPUT, - LIST_STREAMING_DISTRIBUTIONS_OUTPUT, - (INVALID_ARGUMENT,), -) - -RESOURCE_ARN: StaticSchema = (3, n0, _RARNe, 0) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _smit: None}, - (_Res,), - ((RESOURCE_ARN, {_sQ: _Res, _smi: None}),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smith: None}, - (_Tag,), - ((TAGS, 17),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/tagging", "code": 200} - ) - }, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, INVALID_TAGGING, NO_SUCH_RESOURCE), -) - -LIST_TRUST_STORES_INPUT: StaticSchema = ( - 18, - n0, - _LTSI, - {_sSI: _cLTSR, _smit: None}, - (_Ma, _MI), - ((STRING, 0), (INTEGER, 0)), -) - -TRUST_STORE_SUMMARY: StaticSchema = ( - 18, - n0, - _TSSr, - 0, - (_Id, _Ar, _N, _St, _NOCC, _LMT, _Rea, _ET), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (TRUST_STORE_STATUS, 1), - (INTEGER, 1), - (TIMESTAMP, 1), - (STRING, 0), - (STRING, 1), - ), -) - -TRUST_STORE_LIST: StaticSchema = ( - 16, - n0, - _TSL, - 0, - (_m,), - ((TRUST_STORE_SUMMARY, {_sN: _TSSr}),), -) - -LIST_TRUST_STORES_OUTPUT: StaticSchema = ( - 18, - n0, - _LTSO, - {_sSI: _cLTSRo, _smith: None}, - (_NM, _TSL), - ((STRING, 0), (TRUST_STORE_LIST, 0)), -) - -LIST_TRUST_STORES: StaticOperationSchema = ( - 23, - n0, - _LTS, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/trust-stores", "code": 200} - ) - }, - LIST_TRUST_STORES_INPUT, - LIST_TRUST_STORES_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -LIST_VPC_ORIGINS_INPUT: StaticSchema = ( - 18, - n0, - _LVOI, - {_sSI: _cLVOR, _smit: None}, - (_Ma, _MI), - ((STRING, {_sQ: _Ma}), (INTEGER, {_sQ: _MI})), -) - -VPC_ORIGIN_SUMMARY: StaticSchema = ( - 18, - n0, - _VOS, - 0, - (_Id, _N, _St, _CTr, _LMT, _Ar, _AIc, _OEA, _IAT), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (STRING, 1), - (STRING, 0), - (STRING, 1), - (VPC_IP_ADDRESS_TYPE, 0), - ), -) - -VPC_ORIGIN_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _VOSL, - 0, - (_m,), - ((VPC_ORIGIN_SUMMARY, {_sN: _VOS}),), -) - -VPC_ORIGIN_LIST: StaticSchema = ( - 18, - n0, - _VOL, - 0, - (_Ma, _NM, _MI, _IT, _Q, _I), - ( - (STRING, 1), - (STRING, 0), - (INTEGER, 1), - (BOOLEAN, 1), - (INTEGER, 1), - (VPC_ORIGIN_SUMMARY_LIST, 0), - ), -) - -LIST_VPC_ORIGINS_OUTPUT: StaticSchema = ( - 18, - n0, - _LVOO, - {_sSI: _cLVORo, _smith: None}, - (_VOL,), - ((VPC_ORIGIN_LIST, 16),), -) - -LIST_VPC_ORIGINS: StaticOperationSchema = ( - 23, - n0, - _LVO, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-05-31/vpc-origin", "code": 200} - ) - }, - LIST_VPC_ORIGINS_INPUT, - LIST_VPC_ORIGINS_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT, UNSUPPORTED_OPERATION), -) - -PUBLISH_CONNECTION_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _PCFI, - {_sSI: _cPCFR, _smit: None}, - (_Id, _IM), - ((RESOURCE_ID, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -PUBLISH_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _PCFO, - {_sSI: _cPCFRo, _smith: None}, - (_CFS,), - ((CONNECTION_FUNCTION_SUMMARY, 16),), -) - -PUBLISH_CONNECTION_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _PCF, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/connection-function/{Id}/publish", - "code": 200, - } - ) - }, - PUBLISH_CONNECTION_FUNCTION_INPUT, - PUBLISH_CONNECTION_FUNCTION_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -PUBLISH_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _PFI, - {_sSI: _cPFR, _smit: None}, - (_N, _IM), - ((FUNCTION_NAME, 9), (STRING, {_sH: _IM_, _smi: None})), -) - -PUBLISH_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _PFO, - {_sSI: _cPFRo, _smith: None}, - (_FSu,), - ((FUNCTION_SUMMARY, 16),), -) - -PUBLISH_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _PFu, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/function/{Name}/publish", - "code": 200, - } - ) - }, - PUBLISH_FUNCTION_INPUT, - PUBLISH_FUNCTION_OUTPUT, - ( - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_FUNCTION_EXISTS, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_sSI: _cPRPR, _smit: None}, - (_RA, _PDo), - ((STRING, 1), (STRING, 1)), -) - -PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPO, - {_sSI: _cPRPRo, _smith: None}, - (_RA,), - ((STRING, 0),), -) - -PUT_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRP, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/put-resource-policy", "code": 200} - ) - }, - PUT_RESOURCE_POLICY_INPUT, - PUT_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - ILLEGAL_UPDATE, - INVALID_ARGUMENT, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smit: None}, - (_Res, _Tag), - ( - (RESOURCE_ARN, {_sQ: _Res, _smi: None}), - (TAGS, {_sN: _Tag, _smi: None, _sP: None}), - ), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smith: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/tagging?Operation=Tag", "code": 204} - ) - }, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, INVALID_TAGGING, NO_SUCH_RESOURCE), -) - -FUNCTION_EVENT_OBJECT: StaticSchema = (1, n0, _FEO, 4) - -TEST_CONNECTION_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _TCFI, - {_sSI: _cTCFR, _smit: None}, - (_Id, _IM, _Stag, _CO), - ( - (RESOURCE_ID, 9), - (STRING, {_sH: _IM_, _smi: None}), - (FUNCTION_STAGE, 0), - (FUNCTION_EVENT_OBJECT, 1), - ), -) - -FUNCTION_EXECUTION_LOG_LIST: StaticSchema = (16, n0, _FELL, 4, (_m,), ((STRING, 0),)) - -CONNECTION_FUNCTION_TEST_RESULT: StaticSchema = ( - 18, - n0, - _CFTR, - 0, - (_CFS, _CU, _CFEL, _CFEM, _CFOo), - ( - (CONNECTION_FUNCTION_SUMMARY, 0), - (STRING, 0), - (FUNCTION_EXECUTION_LOG_LIST, 0), - (SENSITIVE_STRING_TYPE, 0), - (SENSITIVE_STRING_TYPE, 0), - ), -) - -TEST_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _TCFO, - {_sSI: _cTCFRo, _smith: None}, - (_CFTR,), - ((CONNECTION_FUNCTION_TEST_RESULT, 16),), -) - -TEST_FUNCTION_FAILED: StaticSchema = ( - 18, - n0, - _TFF, - {_sm: _se, _sE: 500}, - (_Me,), - ((STRING, 0),), -) - -TEST_CONNECTION_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _TCF, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/connection-function/{Id}/test", - "code": 200, - } - ) - }, - TEST_CONNECTION_FUNCTION_INPUT, - TEST_CONNECTION_FUNCTION_OUTPUT, - ( - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - TEST_FUNCTION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -TEST_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _TFI, - {_sSI: _cTFR, _smit: None}, - (_N, _IM, _Stag, _EO), - ( - (FUNCTION_NAME, 9), - (STRING, {_sH: _IM_, _smi: None}), - (FUNCTION_STAGE, 0), - (FUNCTION_EVENT_OBJECT, 1), - ), -) - -TEST_RESULT: StaticSchema = ( - 18, - n0, - _TRe, - 0, - (_FSu, _CU, _FEL, _FEM, _FOu), - ( - (FUNCTION_SUMMARY, 0), - (STRING, 0), - (FUNCTION_EXECUTION_LOG_LIST, 0), - (SENSITIVE_STRING_TYPE, 0), - (SENSITIVE_STRING_TYPE, 0), - ), -) - -TEST_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _TFO, - {_sSI: _cTFRo, _smith: None}, - (_TRe,), - ((TEST_RESULT, 16),), -) - -TEST_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _TF, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/function/{Name}/test", "code": 200} - ) - }, - TEST_FUNCTION_INPUT, - TEST_FUNCTION_OUTPUT, - ( - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_FUNCTION_EXISTS, - TEST_FUNCTION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_m,), ((TAG_KEY, {_sN: _K}),)) - -TAG_KEYS: StaticSchema = (18, n0, _TKa, 0, (_I,), ((TAG_KEY_LIST, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _smit: None}, - (_Res, _TKa), - ( - (RESOURCE_ARN, {_sQ: _Res, _smi: None}), - (TAG_KEYS, {_sN: _TKa, _smi: None, _sP: None}), - ), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smith: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/tagging?Operation=Untag", - "code": 204, - } - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, INVALID_TAGGING, NO_SUCH_RESOURCE), -) - -UPDATE_ANYCAST_IP_LIST_INPUT: StaticSchema = ( - 18, - n0, - _UAILI, - {_sSI: _cUAILR, _smit: None}, - (_Id, _IAT, _ICCp, _IM), - ( - (STRING, 9), - (IP_ADDRESS_TYPE, 0), - (IPAM_CIDR_CONFIG_LIST, 0), - (STRING, {_sH: _IM_, _smi: None}), - ), -) - -UPDATE_ANYCAST_IP_LIST_OUTPUT: StaticSchema = ( - 18, - n0, - _UAILO, - {_sSI: _cUAILRo, _smith: None}, - (_AIL, _ET), - ((ANYCAST_IP_LIST, 16), (STRING, {_sH: _ET})), -) - -UPDATE_ANYCAST_IP_LIST: StaticOperationSchema = ( - 23, - n0, - _UAIL, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/anycast-ip-list/{Id}", "code": 200} - ) - }, - UPDATE_ANYCAST_IP_LIST_INPUT, - UPDATE_ANYCAST_IP_LIST_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -UPDATE_CACHE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _UCPI, - {_sSI: _cUCPR, _smit: None}, - (_CPC, _Id, _IM), - ( - (CACHE_POLICY_CONFIG, {_sN: _CPC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_CACHE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _UCPO, - {_sSI: _cUCPRo, _smith: None}, - (_CPa, _ET), - ((CACHE_POLICY, 16), (STRING, {_sH: _ET})), -) - -UPDATE_CACHE_POLICY: StaticOperationSchema = ( - 23, - n0, - _UCP, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/cache-policy/{Id}", "code": 200} - ) - }, - UPDATE_CACHE_POLICY_INPUT, - UPDATE_CACHE_POLICY_OUTPUT, - ( - ACCESS_DENIED, - CACHE_POLICY_ALREADY_EXISTS, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_CACHE_POLICY, - PRECONDITION_FAILED, - TOO_MANY_COOKIES_IN_CACHE_POLICY, - TOO_MANY_HEADERS_IN_CACHE_POLICY, - TOO_MANY_QUERY_STRINGS_IN_CACHE_POLICY, - ), -) - -UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _UCFOAII, - {_sSI: _cUCFOAIR, _smit: None}, - (_CFOAIC, _Id, _IM), - ( - ( - CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG, - {_sN: _CFOAIC, _smi: None, _sP: None}, - ), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _UCFOAIO, - {_sSI: _cUCFOAIRo, _smith: None}, - (_CFOAI, _ET), - ((CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, 16), (STRING, {_sH: _ET})), -) - -UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _UCFOAI, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/origin-access-identity/cloudfront/{Id}/config", - "code": 200, - } - ) - }, - UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT, - UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT, - ( - ACCESS_DENIED, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - MISSING_BODY, - NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, - PRECONDITION_FAILED, - ), -) - -UPDATE_CONNECTION_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _UCFI, - {_sSI: _cUCFR, _smit: None}, - (_Id, _IM, _CFC, _CFCo), - ( - (RESOURCE_ID, 9), - (STRING, {_sH: _IM_, _smi: None}), - (FUNCTION_CONFIG, 1), - (FUNCTION_BLOB, 1), - ), -) - -UPDATE_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _UCFO, - {_sSI: _cUCFRo, _smith: None}, - (_CFS, _ET), - ((CONNECTION_FUNCTION_SUMMARY, 16), (STRING, {_sH: _ET})), -) - -UPDATE_CONNECTION_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _UCF, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/connection-function/{Id}", - "code": 200, - } - ) - }, - UPDATE_CONNECTION_FUNCTION_INPUT, - UPDATE_CONNECTION_FUNCTION_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - ENTITY_SIZE_LIMIT_EXCEEDED, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -UPDATE_CONNECTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _UCGI, - {_sSI: _cUCGR, _smit: None}, - (_Id, _IE, _IM, _AILI, _E), - ( - (STRING, 9), - (BOOLEAN, 0), - (STRING, {_sH: _IM_, _smi: None}), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -UPDATE_CONNECTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _UCGO, - {_sSI: _cUCGRo, _smith: None}, - (_CG, _ET), - ((CONNECTION_GROUP, 16), (STRING, {_sH: _ET})), -) - -UPDATE_CONNECTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _UCG, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/connection-group/{Id}", "code": 200} - ) - }, - UPDATE_CONNECTION_GROUP_INPUT, - UPDATE_CONNECTION_GROUP_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - RESOURCE_IN_USE, - ), -) - -UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _UCDPI, - {_sSI: _cUCDPR, _smit: None}, - (_CDPC, _Id, _IM), - ( - (CONTINUOUS_DEPLOYMENT_POLICY_CONFIG, {_sN: _CDPC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _UCDPO, - {_sSI: _cUCDPRo, _smith: None}, - (_CDP, _ET), - ((CONTINUOUS_DEPLOYMENT_POLICY, 16), (STRING, {_sH: _ET})), -) - -UPDATE_CONTINUOUS_DEPLOYMENT_POLICY: StaticOperationSchema = ( - 23, - n0, - _UCDP, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/continuous-deployment-policy/{Id}", - "code": 200, - } - ) - }, - UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT, - UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT, - ( - ACCESS_DENIED, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, - PRECONDITION_FAILED, - STAGING_DISTRIBUTION_IN_USE, - ), -) - -UPDATE_DISTRIBUTION_INPUT: StaticSchema = ( - 18, - n0, - _UDI, - {_sSI: _cUDR, _smit: None}, - (_DC, _Id, _IM), - ( - (DISTRIBUTION_CONFIG, {_sN: _DC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_DISTRIBUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _UDO, - {_sSI: _cUDRo, _smith: None}, - (_Dis, _ET), - ((DISTRIBUTION, 16), (STRING, {_sH: _ET})), -) - -UPDATE_DISTRIBUTION: StaticOperationSchema = ( - 23, - n0, - _UD, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/distribution/{Id}/config", - "code": 200, - } - ) - }, - UPDATE_DISTRIBUTION_INPUT, - UPDATE_DISTRIBUTION_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - CONTINUOUS_DEPLOYMENT_POLICY_IN_USE, - ENTITY_NOT_FOUND, - ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR, - ILLEGAL_ORIGIN_ACCESS_CONFIGURATION, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_DEFAULT_ROOT_OBJECT, - INVALID_DOMAIN_NAME_FOR_ORIGIN_ACCESS_CONTROL, - INVALID_ERROR_CODE, - INVALID_FORWARD_COOKIES, - INVALID_FUNCTION_ASSOCIATION, - INVALID_GEO_RESTRICTION_PARAMETER, - INVALID_HEADERS_FOR_S3_ORIGIN, - INVALID_IF_MATCH_VERSION, - INVALID_LAMBDA_FUNCTION_ASSOCIATION, - INVALID_LOCATION_CODE, - INVALID_MINIMUM_PROTOCOL_VERSION, - INVALID_ORIGIN_ACCESS_CONTROL, - INVALID_ORIGIN_ACCESS_IDENTITY, - INVALID_ORIGIN_KEEPALIVE_TIMEOUT, - INVALID_ORIGIN_READ_TIMEOUT, - INVALID_QUERY_STRING_PARAMETERS, - INVALID_RELATIVE_PATH, - INVALID_REQUIRED_PROTOCOL, - INVALID_RESPONSE_CODE, - INVALID_TTL_ORDER, - INVALID_VIEWER_CERTIFICATE, - INVALID_WEB_ACL_ID, - MISSING_BODY, - NO_SUCH_CACHE_POLICY, - NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, - NO_SUCH_DISTRIBUTION, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, - NO_SUCH_ORIGIN, - NO_SUCH_ORIGIN_REQUEST_POLICY, - NO_SUCH_REALTIME_LOG_CONFIG, - NO_SUCH_RESPONSE_HEADERS_POLICY, - PRECONDITION_FAILED, - REALTIME_LOG_CONFIG_OWNER_MISMATCH, - STAGING_DISTRIBUTION_IN_USE, - TOO_MANY_CACHE_BEHAVIORS, - TOO_MANY_CERTIFICATES, - TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, - TOO_MANY_DISTRIBUTION_CNAM_ES, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, - TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, - TOO_MANY_FUNCTION_ASSOCIATIONS, - TOO_MANY_HEADERS_IN_FORWARDED_VALUES, - TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, - TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, - TOO_MANY_ORIGIN_CUSTOM_HEADERS, - TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, - TOO_MANY_ORIGINS, - TOO_MANY_QUERY_STRING_PARAMETERS, - TOO_MANY_TRUSTED_SIGNERS, - TRUSTED_KEY_GROUP_DOES_NOT_EXIST, - TRUSTED_SIGNER_DOES_NOT_EXIST, - ), -) - -UPDATE_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( - 18, - n0, - _UDTI, - {_sSI: _cUDTR, _smit: None}, - (_Id, _DIi, _Dom, _Cu, _Para, _CGI, _IM, _MCR, _E), - ( - (STRING, 9), - (STRING, 0), - (DOMAIN_LIST, 0), - (CUSTOMIZATIONS, 0), - (PARAMETERS, 0), - (STRING, 0), - (STRING, {_sH: _IM_, _smi: None}), - (MANAGED_CERTIFICATE_REQUEST, 0), - (BOOLEAN, 0), - ), -) - -UPDATE_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( - 18, - n0, - _UDTO, - {_sSI: _cUDTRo, _smith: None}, - (_DT, _ET), - ((DISTRIBUTION_TENANT, 16), (STRING, {_sH: _ET})), -) - -UPDATE_DISTRIBUTION_TENANT: StaticOperationSchema = ( - 23, - n0, - _UDT, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/distribution-tenant/{Id}", - "code": 200, - } - ) - }, - UPDATE_DISTRIBUTION_TENANT_INPUT, - UPDATE_DISTRIBUTION_TENANT_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_ASSOCIATION, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - ), -) - -UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _UDWSCI, - {_sSI: _cUDWSCR, _smit: None}, - (_Id, _SDI, _IM), - ((STRING, 9), (STRING, {_sQ: _SDI}), (STRING, {_sH: _IM_})), -) - -UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _UDWSCO, - {_sSI: _cUDWSCRo, _smith: None}, - (_Dis, _ET), - ((DISTRIBUTION, 16), (STRING, {_sH: _ET})), -) - -UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _UDWSC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/distribution/{Id}/promote-staging-config", - "code": 200, - } - ) - }, - UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_INPUT, - UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_DEFAULT_ROOT_OBJECT, - INVALID_ERROR_CODE, - INVALID_FORWARD_COOKIES, - INVALID_FUNCTION_ASSOCIATION, - INVALID_GEO_RESTRICTION_PARAMETER, - INVALID_HEADERS_FOR_S3_ORIGIN, - INVALID_IF_MATCH_VERSION, - INVALID_LAMBDA_FUNCTION_ASSOCIATION, - INVALID_LOCATION_CODE, - INVALID_MINIMUM_PROTOCOL_VERSION, - INVALID_ORIGIN_ACCESS_CONTROL, - INVALID_ORIGIN_ACCESS_IDENTITY, - INVALID_ORIGIN_KEEPALIVE_TIMEOUT, - INVALID_ORIGIN_READ_TIMEOUT, - INVALID_QUERY_STRING_PARAMETERS, - INVALID_RELATIVE_PATH, - INVALID_REQUIRED_PROTOCOL, - INVALID_RESPONSE_CODE, - INVALID_TTL_ORDER, - INVALID_VIEWER_CERTIFICATE, - INVALID_WEB_ACL_ID, - MISSING_BODY, - NO_SUCH_CACHE_POLICY, - NO_SUCH_DISTRIBUTION, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, - NO_SUCH_ORIGIN, - NO_SUCH_ORIGIN_REQUEST_POLICY, - NO_SUCH_REALTIME_LOG_CONFIG, - NO_SUCH_RESPONSE_HEADERS_POLICY, - PRECONDITION_FAILED, - REALTIME_LOG_CONFIG_OWNER_MISMATCH, - TOO_MANY_CACHE_BEHAVIORS, - TOO_MANY_CERTIFICATES, - TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, - TOO_MANY_DISTRIBUTION_CNAM_ES, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, - TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, - TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, - TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, - TOO_MANY_FUNCTION_ASSOCIATIONS, - TOO_MANY_HEADERS_IN_FORWARDED_VALUES, - TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, - TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, - TOO_MANY_ORIGIN_CUSTOM_HEADERS, - TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, - TOO_MANY_ORIGINS, - TOO_MANY_QUERY_STRING_PARAMETERS, - TOO_MANY_TRUSTED_SIGNERS, - TRUSTED_KEY_GROUP_DOES_NOT_EXIST, - TRUSTED_SIGNER_DOES_NOT_EXIST, - ), -) - -UPDATE_DOMAIN_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _UDAI, - {_sSI: _cUDAR, _smit: None}, - (_Do, _TRa, _IM), - ((STRING, 1), (DISTRIBUTION_RESOURCE_ID, 1), (STRING, {_sH: _IM_})), -) - -UPDATE_DOMAIN_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UDAO, - {_sSI: _cUDARo, _smith: None}, - (_Do, _RI, _ET), - ((STRING, 0), (STRING, 0), (STRING, {_sH: _ET})), -) - -UPDATE_DOMAIN_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _UDA, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-05-31/domain-association", "code": 200} - ) - }, - UPDATE_DOMAIN_ASSOCIATION_INPUT, - UPDATE_DOMAIN_ASSOCIATION_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - ILLEGAL_UPDATE, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - ), -) - -UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _UFLECI, - {_sSI: _cUFLECR, _smit: None}, - (_FLEC, _Id, _IM), - ( - (FIELD_LEVEL_ENCRYPTION_CONFIG, {_sN: _FLEC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _UFLECO, - {_sSI: _cUFLECRo, _smith: None}, - (_FLE, _ET), - ((FIELD_LEVEL_ENCRYPTION, 16), (STRING, {_sH: _ET})), -) - -UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _UFLEC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/field-level-encryption/{Id}/config", - "code": 200, - } - ) - }, - UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT, - UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT, - ( - ACCESS_DENIED, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, - PRECONDITION_FAILED, - QUERY_ARG_PROFILE_EMPTY, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONTENT_TYPE_PROFILES, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_QUERY_ARG_PROFILES, - ), -) - -UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _UFLEPI, - {_sSI: _cUFLEPR, _smit: None}, - (_FLEPC, _Id, _IM), - ( - (FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG, {_sN: _FLEPC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _UFLEPO, - {_sSI: _cUFLEPRo, _smith: None}, - (_FLEP, _ET), - ((FIELD_LEVEL_ENCRYPTION_PROFILE, 16), (STRING, {_sH: _ET})), -) - -UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticOperationSchema = ( - 23, - n0, - _UFLEP, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/field-level-encryption-profile/{Id}/config", - "code": 200, - } - ) - }, - UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT, - UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT, - ( - ACCESS_DENIED, - FIELD_LEVEL_ENCRYPTION_PROFILE_ALREADY_EXISTS, - FIELD_LEVEL_ENCRYPTION_PROFILE_SIZE_EXCEEDED, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, - NO_SUCH_PUBLIC_KEY, - PRECONDITION_FAILED, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_ENCRYPTION_ENTITIES, - TOO_MANY_FIELD_LEVEL_ENCRYPTION_FIELD_PATTERNS, - ), -) - -UPDATE_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _UFI, - {_sSI: _cUFR, _smit: None}, - (_N, _IM, _FCu, _FCun), - ( - (FUNCTION_NAME, 9), - (STRING, {_sH: _IM_, _smi: None}), - (FUNCTION_CONFIG, 1), - (FUNCTION_BLOB, 1), - ), -) - -UPDATE_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _UFO, - {_sSI: _cUFRo, _smith: None}, - (_FSu, _ET), - ((FUNCTION_SUMMARY, 16), (STRING, {_sH: _ETt})), -) - -UPDATE_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _UF, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/function/{Name}", "code": 200} - ) - }, - UPDATE_FUNCTION_INPUT, - UPDATE_FUNCTION_OUTPUT, - ( - FUNCTION_SIZE_LIMIT_EXCEEDED, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_FUNCTION_EXISTS, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -UPDATE_KEY_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _UKGI, - {_sSI: _cUKGR, _smit: None}, - (_KGC, _Id, _IM), - ( - (KEY_GROUP_CONFIG, {_sN: _KGC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_KEY_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _UKGO, - {_sSI: _cUKGRo, _smith: None}, - (_KG, _ET), - ((KEY_GROUP, 16), (STRING, {_sH: _ET})), -) - -UPDATE_KEY_GROUP: StaticOperationSchema = ( - 23, - n0, - _UKG, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/key-group/{Id}", "code": 200} - ) - }, - UPDATE_KEY_GROUP_INPUT, - UPDATE_KEY_GROUP_OUTPUT, - ( - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - KEY_GROUP_ALREADY_EXISTS, - NO_SUCH_RESOURCE, - PRECONDITION_FAILED, - TOO_MANY_PUBLIC_KEYS_IN_KEY_GROUP, - ), -) - -UPDATE_KEY_VALUE_STORE_INPUT: StaticSchema = ( - 18, - n0, - _UKVSI, - {_sSI: _cUKVSR, _smit: None}, - (_N, _Comm, _IM), - ( - (KEY_VALUE_STORE_NAME, 9), - (KEY_VALUE_STORE_COMMENT, 1), - (STRING, {_sH: _IM_, _smi: None}), - ), -) - -UPDATE_KEY_VALUE_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _UKVSO, - {_sSI: _cUKVSRo, _smith: None}, - (_KVS, _ET), - ((KEY_VALUE_STORE, 16), (STRING, {_sH: _ET})), -) - -UPDATE_KEY_VALUE_STORE: StaticOperationSchema = ( - 23, - n0, - _UKVS, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/key-value-store/{Name}", "code": 200} - ) - }, - UPDATE_KEY_VALUE_STORE_INPUT, - UPDATE_KEY_VALUE_STORE_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -UPDATE_ORIGIN_ACCESS_CONTROL_INPUT: StaticSchema = ( - 18, - n0, - _UOACI, - {_sSI: _cUOACR, _smit: None}, - (_OACC, _Id, _IM), - ( - (ORIGIN_ACCESS_CONTROL_CONFIG, {_sN: _OACC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_ORIGIN_ACCESS_CONTROL_OUTPUT: StaticSchema = ( - 18, - n0, - _UOACO, - {_sSI: _cUOACRo, _smith: None}, - (_OAC, _ET), - ((ORIGIN_ACCESS_CONTROL, 16), (STRING, {_sH: _ET})), -) - -UPDATE_ORIGIN_ACCESS_CONTROL: StaticOperationSchema = ( - 23, - n0, - _UOAC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/origin-access-control/{Id}/config", - "code": 200, - } - ) - }, - UPDATE_ORIGIN_ACCESS_CONTROL_INPUT, - UPDATE_ORIGIN_ACCESS_CONTROL_OUTPUT, - ( - ACCESS_DENIED, - ILLEGAL_UPDATE, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_ORIGIN_ACCESS_CONTROL, - ORIGIN_ACCESS_CONTROL_ALREADY_EXISTS, - PRECONDITION_FAILED, - ), -) - -UPDATE_ORIGIN_REQUEST_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _UORPI, - {_sSI: _cUORPR, _smit: None}, - (_ORPC, _Id, _IM), - ( - (ORIGIN_REQUEST_POLICY_CONFIG, {_sN: _ORPC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_ORIGIN_REQUEST_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _UORPO, - {_sSI: _cUORPRo, _smith: None}, - (_ORP, _ET), - ((ORIGIN_REQUEST_POLICY, 16), (STRING, {_sH: _ET})), -) - -UPDATE_ORIGIN_REQUEST_POLICY: StaticOperationSchema = ( - 23, - n0, - _UORP, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/origin-request-policy/{Id}", - "code": 200, - } - ) - }, - UPDATE_ORIGIN_REQUEST_POLICY_INPUT, - UPDATE_ORIGIN_REQUEST_POLICY_OUTPUT, - ( - ACCESS_DENIED, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_ORIGIN_REQUEST_POLICY, - ORIGIN_REQUEST_POLICY_ALREADY_EXISTS, - PRECONDITION_FAILED, - TOO_MANY_COOKIES_IN_ORIGIN_REQUEST_POLICY, - TOO_MANY_HEADERS_IN_ORIGIN_REQUEST_POLICY, - TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY, - ), -) - -UPDATE_PUBLIC_KEY_INPUT: StaticSchema = ( - 18, - n0, - _UPKI, - {_sSI: _cUPKR, _smit: None}, - (_PKC, _Id, _IM), - ( - (PUBLIC_KEY_CONFIG, {_sN: _PKC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_PUBLIC_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _UPKO, - {_sSI: _cUPKRo, _smith: None}, - (_PK, _ET), - ((PUBLIC_KEY, 16), (STRING, {_sH: _ET})), -) - -UPDATE_PUBLIC_KEY: StaticOperationSchema = ( - 23, - n0, - _UPK, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/public-key/{Id}/config", "code": 200} - ) - }, - UPDATE_PUBLIC_KEY_INPUT, - UPDATE_PUBLIC_KEY_OUTPUT, - ( - ACCESS_DENIED, - CANNOT_CHANGE_IMMUTABLE_PUBLIC_KEY_FIELDS, - ILLEGAL_UPDATE, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_PUBLIC_KEY, - PRECONDITION_FAILED, - ), -) - -UPDATE_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _URLCI, - {_sSI: _cURLCR, _smit: None}, - (_EPn, _Fie, _N, _ARN, _SR), - ((END_POINT_LIST, 0), (FIELD_LIST, 0), (STRING, 0), (STRING, 0), (LONG, 0)), -) - -UPDATE_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _URLCO, - {_sSI: _cURLCRo, _smith: None}, - (_RLC,), - ((REALTIME_LOG_CONFIG, 0),), -) - -UPDATE_REALTIME_LOG_CONFIG: StaticOperationSchema = ( - 23, - n0, - _URLC, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/realtime-log-config", "code": 200} - ) - }, - UPDATE_REALTIME_LOG_CONFIG_INPUT, - UPDATE_REALTIME_LOG_CONFIG_OUTPUT, - (ACCESS_DENIED, INVALID_ARGUMENT, NO_SUCH_REALTIME_LOG_CONFIG), -) - -UPDATE_RESPONSE_HEADERS_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _URHPI, - {_sSI: _cURHPR, _smit: None}, - (_RHPC, _Id, _IM), - ( - (RESPONSE_HEADERS_POLICY_CONFIG, {_sN: _RHPC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_RESPONSE_HEADERS_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _URHPO, - {_sSI: _cURHPRo, _smith: None}, - (_RHP, _ET), - ((RESPONSE_HEADERS_POLICY, 16), (STRING, {_sH: _ET})), -) - -UPDATE_RESPONSE_HEADERS_POLICY: StaticOperationSchema = ( - 23, - n0, - _URHP, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/response-headers-policy/{Id}", - "code": 200, - } - ) - }, - UPDATE_RESPONSE_HEADERS_POLICY_INPUT, - UPDATE_RESPONSE_HEADERS_POLICY_OUTPUT, - ( - ACCESS_DENIED, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - NO_SUCH_RESPONSE_HEADERS_POLICY, - PRECONDITION_FAILED, - RESPONSE_HEADERS_POLICY_ALREADY_EXISTS, - TOO_LONG_CSP_IN_RESPONSE_HEADERS_POLICY, - TOO_MANY_CUSTOM_HEADERS_IN_RESPONSE_HEADERS_POLICY, - TOO_MANY_REMOVE_HEADERS_IN_RESPONSE_HEADERS_POLICY, - ), -) - -UPDATE_STREAMING_DISTRIBUTION_INPUT: StaticSchema = ( - 18, - n0, - _USDI, - {_sSI: _cUSDR, _smit: None}, - (_SDC, _Id, _IM), - ( - (STREAMING_DISTRIBUTION_CONFIG, {_sN: _SDC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_}), - ), -) - -UPDATE_STREAMING_DISTRIBUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _USDO, - {_sSI: _cUSDRo, _smith: None}, - (_SD, _ET), - ((STREAMING_DISTRIBUTION, 16), (STRING, {_sH: _ET})), -) - -UPDATE_STREAMING_DISTRIBUTION: StaticOperationSchema = ( - 23, - n0, - _USD, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-05-31/streaming-distribution/{Id}/config", - "code": 200, - } - ) - }, - UPDATE_STREAMING_DISTRIBUTION_INPUT, - UPDATE_STREAMING_DISTRIBUTION_OUTPUT, - ( - ACCESS_DENIED, - CNAME_ALREADY_EXISTS, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - INVALID_ORIGIN_ACCESS_CONTROL, - INVALID_ORIGIN_ACCESS_IDENTITY, - MISSING_BODY, - NO_SUCH_STREAMING_DISTRIBUTION, - PRECONDITION_FAILED, - TOO_MANY_STREAMING_DISTRIBUTION_CNAM_ES, - TOO_MANY_TRUSTED_SIGNERS, - TRUSTED_SIGNER_DOES_NOT_EXIST, - ), -) - -UPDATE_TRUST_STORE_INPUT: StaticSchema = ( - 18, - n0, - _UTSI, - {_sSI: _cUTSR, _smit: None}, - (_Id, _CCBS, _UCCOCSPE, _IM), - ( - (RESOURCE_ID, 9), - (CA_CERTIFICATES_BUNDLE_SOURCE, 16), - (BOOLEAN, {_sH: _UCCOCSPE}), - (STRING, {_sH: _IM_, _smi: None}), - ), -) - -UPDATE_TRUST_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _UTSO, - {_sSI: _cUTSRo, _smith: None}, - (_TSr, _ET), - ((TRUST_STORE, 16), (STRING, {_sH: _ET})), -) - -UPDATE_TRUST_STORE: StaticOperationSchema = ( - 23, - n0, - _UTS, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/trust-store/{Id}", "code": 200} - ) - }, - UPDATE_TRUST_STORE_INPUT, - UPDATE_TRUST_STORE_OUTPUT, - ( - ACCESS_DENIED, - ENTITY_NOT_FOUND, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - ), -) - -UPDATE_VPC_ORIGIN_INPUT: StaticSchema = ( - 18, - n0, - _UVOI, - {_sSI: _cUVOR, _smit: None}, - (_VOEC, _Id, _IM), - ( - (VPC_ORIGIN_ENDPOINT_CONFIG, {_sN: _VOEC, _smi: None, _sP: None}), - (STRING, 9), - (STRING, {_sH: _IM_, _smi: None}), - ), -) - -UPDATE_VPC_ORIGIN_OUTPUT: StaticSchema = ( - 18, - n0, - _UVOO, - {_sSI: _cUVORo, _smith: None}, - (_VO, _ET), - ((VPC_ORIGIN, 16), (STRING, {_sH: _ET})), -) - -UPDATE_VPC_ORIGIN: StaticOperationSchema = ( - 23, - n0, - _UVO, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/2020-05-31/vpc-origin/{Id}", "code": 202} - ) - }, - UPDATE_VPC_ORIGIN_INPUT, - UPDATE_VPC_ORIGIN_OUTPUT, - ( - ACCESS_DENIED, - CANNOT_UPDATE_ENTITY_WHILE_IN_USE, - ENTITY_ALREADY_EXISTS, - ENTITY_LIMIT_EXCEEDED, - ENTITY_NOT_FOUND, - ILLEGAL_UPDATE, - INCONSISTENT_QUANTITIES, - INVALID_ARGUMENT, - INVALID_IF_MATCH_VERSION, - PRECONDITION_FAILED, - UNSUPPORTED_OPERATION, - ), -) - -VERIFY_DNS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _VDCI, - {_sSI: _cVDCR, _smit: None}, - (_Do, _Ide), - ((STRING, 0), (STRING, 1)), -) - -DNS_CONFIGURATION_STATUS: StaticSchema = ( - 14, - n0, - _DCS, - 0, - (_Val, _Inva, _U), - ((-1, {_sV: _vc}), (-1, {_sV: _ic}), (-1, {_sV: _uc})), -) - -DNS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DCn, - 0, - (_Do, _St, _Rea), - ((STRING, 1), (DNS_CONFIGURATION_STATUS, 1), (STRING, 0)), -) - -DNS_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _DCLn, - 0, - (_m,), - ((DNS_CONFIGURATION, {_sN: _DCn}),), -) - -VERIFY_DNS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _VDCO, - {_sSI: _cVDCRo, _smith: None}, - (_DCLn,), - ((DNS_CONFIGURATION_LIST, 0),), -) - -VERIFY_DNS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _VDC, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2020-05-31/verify-dns-configuration", - "code": 200, - } - ) - }, - VERIFY_DNS_CONFIGURATION_INPUT, - VERIFY_DNS_CONFIGURATION_OUTPUT, - (ACCESS_DENIED, ENTITY_NOT_FOUND, INVALID_ARGUMENT), -) - -CLOUDFRONT2020_05_31: StaticSchema = ( - 21, - n0, - _C_, - { - _aw: MappingProxyType({"name": "cloudfront"}), - _aX: None, - _aws: MappingProxyType( - { - "sdkId": "CloudFront", - "arnNamespace": "cloudfront", - "cloudFormationName": "CloudFront", - "cloudTrailEventSource": "cloudfront.amazonaws.com", - "endpointPrefix": "cloudfront", - } - ), - _sNm: MappingProxyType( - {"uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/"} - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "STRING", + "ACCESS_CONTROL_ALLOW_HEADERS_LIST", + "RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS_VALUES", + "ACCESS_CONTROL_ALLOW_METHODS_LIST", + "ACCESS_CONTROL_ALLOW_ORIGINS_LIST", + "ACCESS_CONTROL_EXPOSE_HEADERS_LIST", + "ACCESS_DENIED", + "BOOLEAN", + "KEY_PAIR_ID_LIST", + "INTEGER", + "KEY_PAIR_IDS", + "KG_KEY_PAIR_IDS", + "KG_KEY_PAIR_IDS_LIST", + "ACTIVE_TRUSTED_KEY_GROUPS", + "SIGNER", + "SIGNER_LIST", + "ACTIVE_TRUSTED_SIGNERS", + "ALIAS_LIST", + "ALIASES", + "ICP_RECORDAL_STATUS", + "ALIAS_ICP_RECORDAL", + "ALIAS_ICP_RECORDALS", + "ALIAS_STRING", + "METHOD", + "METHODS_LIST", + "CACHED_METHODS", + "ALLOWED_METHODS", + "ANYCAST_IPS", + "IP_ADDRESS_TYPE", + "IPAM_CIDR_STATUS", + "IPAM_CIDR_CONFIG", + "IPAM_CIDR_CONFIG_LIST", + "IPAM_CONFIG", + "TIMESTAMP", + "ANYCAST_IP_LIST_NAME", + "ANYCAST_IP_LIST", + "ANYCAST_IP_LIST_SUMMARY", + "ANYCAST_IP_LIST_SUMMARIES", + "ANYCAST_IP_LIST_COLLECTION", + "ASSOCIATE_ALIAS_INPUT", + "ASSOCIATE_ALIAS_OUTPUT", + "ASSOCIATE_ALIAS", + "ILLEGAL_UPDATE", + "INVALID_ARGUMENT", + "NO_SUCH_DISTRIBUTION", + "TOO_MANY_DISTRIBUTION_CNAM_ES", + "ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT", + "ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT", + "ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL", + "ENTITY_LIMIT_EXCEEDED", + "ENTITY_NOT_FOUND", + "INVALID_IF_MATCH_VERSION", + "PRECONDITION_FAILED", + "ASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT", + "ASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT", + "ASSOCIATE_DISTRIBUTION_WEB_ACL", + "AWS_ACCOUNT_NUMBER_LIST", + "BATCH_TOO_LARGE", + "CA_CERTIFICATES_BUNDLE_S3_LOCATION", + "CA_CERTIFICATES_BUNDLE_SOURCE", + "LONG", + "ITEM_SELECTION", + "COOKIE_NAME_LIST", + "COOKIE_NAMES", + "COOKIE_PREFERENCE", + "HEADER_LIST", + "HEADERS", + "QUERY_STRING_CACHE_KEYS_LIST", + "QUERY_STRING_CACHE_KEYS", + "FORWARDED_VALUES", + "EVENT_TYPE", + "FUNCTION_ARN", + "FUNCTION_ASSOCIATION", + "FUNCTION_ASSOCIATION_LIST", + "FUNCTION_ASSOCIATIONS", + "GRPC_CONFIG", + "LAMBDA_FUNCTION_ARN", + "LAMBDA_FUNCTION_ASSOCIATION", + "LAMBDA_FUNCTION_ASSOCIATION_LIST", + "LAMBDA_FUNCTION_ASSOCIATIONS", + "TRUSTED_KEY_GROUP_ID_LIST", + "TRUSTED_KEY_GROUPS", + "TRUSTED_SIGNERS", + "VIEWER_PROTOCOL_POLICY", + "CACHE_BEHAVIOR", + "CACHE_BEHAVIOR_LIST", + "CACHE_BEHAVIORS", + "CACHE_POLICY_COOKIE_BEHAVIOR", + "CACHE_POLICY_COOKIES_CONFIG", + "CACHE_POLICY_HEADER_BEHAVIOR", + "CACHE_POLICY_HEADERS_CONFIG", + "CACHE_POLICY_QUERY_STRING_BEHAVIOR", + "QUERY_STRING_NAMES_LIST", + "QUERY_STRING_NAMES", + "CACHE_POLICY_QUERY_STRINGS_CONFIG", + "PARAMETERS_IN_CACHE_KEY_AND_FORWARDED_TO_ORIGIN", + "CACHE_POLICY_CONFIG", + "CACHE_POLICY", + "CACHE_POLICY_ALREADY_EXISTS", + "CACHE_POLICY_IN_USE", + "CACHE_POLICY_TYPE", + "CACHE_POLICY_SUMMARY", + "CACHE_POLICY_SUMMARY_LIST", + "CACHE_POLICY_LIST", + "CACHE_TAG_CONFIG", + "CANNOT_DELETE_ENTITY_WHILE_IN_USE", + "NO_SUCH_CACHE_POLICY", + "NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG", + "NO_SUCH_ORIGIN_REQUEST_POLICY", + "NO_SUCH_REALTIME_LOG_CONFIG", + "NO_SUCH_RESPONSE_HEADERS_POLICY", + "CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG", + "CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY", + "VALIDATION_TOKEN_HOST", + "NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE", + "NO_SUCH_PUBLIC_KEY", + "PUBLIC_KEY_CONFIG", + "PUBLIC_KEY", + "TRUST_STORE_STATUS", + "TRUST_STORE", + "NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY", + "RESOURCE_IN_USE", + "NO_SUCH_RESOURCE", + "NO_SUCH_ORIGIN_ACCESS_CONTROL", + "NO_SUCH_STREAMING_DISTRIBUTION", + ), + ( + "CANNOT_CHANGE_IMMUTABLE_PUBLIC_KEY_FIELDS", + "CANNOT_UPDATE_ENTITY_WHILE_IN_USE", + "CERTIFICATE", + "CERTIFICATE_SOURCE", + "CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE", + "CNAME_ALREADY_EXISTS", + "COPY_DISTRIBUTION_INPUT", + "COPY_DISTRIBUTION_OUTPUT", + "COPY_DISTRIBUTION", + "COMMENT_TYPE", + "RESOURCE_ID", + "CONNECTION_FUNCTION_ASSOCIATION", + "CONNECTION_MODE", + "CUSTOM_ERROR_RESPONSE", + "CUSTOM_ERROR_RESPONSE_LIST", + "CUSTOM_ERROR_RESPONSES", + "DEFAULT_CACHE_BEHAVIOR", + "HTTP_VERSION", + "LOGGING_CONFIG", + "STATUS_CODE_LIST", + "STATUS_CODES", + "ORIGIN_GROUP_FAILOVER_CRITERIA", + "ORIGIN_GROUP_MEMBER", + "ORIGIN_GROUP_MEMBER_LIST", + "ORIGIN_GROUP_MEMBERS", + "ORIGIN_GROUP_SELECTION_CRITERIA", + "ORIGIN_GROUP", + "ORIGIN_GROUP_LIST", + "ORIGIN_GROUPS", + "SENSITIVE_STRING_TYPE", + "ORIGIN_CUSTOM_HEADER", + "ORIGIN_CUSTOM_HEADERS_LIST", + "CUSTOM_HEADERS", + "ORIGIN_MTLS_CONFIG", + "ORIGIN_PROTOCOL_POLICY", + "SSL_PROTOCOL", + "SSL_PROTOCOLS_LIST", + "ORIGIN_SSL_PROTOCOLS", + "CUSTOM_ORIGIN_CONFIG", + "ORIGIN_SHIELD_REGION", + "ORIGIN_SHIELD", + "S3_ORIGIN_CONFIG", + "VPC_ORIGIN_CONFIG", + "ORIGIN", + "ORIGIN_LIST", + "ORIGINS", + "PRICE_CLASS", + "LOCATION_LIST", + "GEO_RESTRICTION_TYPE", + "GEO_RESTRICTION", + "RESTRICTIONS", + "PARAMETER_VALUE", + "STRING_SCHEMA_CONFIG", + "PARAMETER_DEFINITION_SCHEMA", + "PARAMETER_NAME", + "PARAMETER_DEFINITION", + "PARAMETER_DEFINITIONS", + "TENANT_CONFIG", + "SERVER_CERTIFICATE_ID", + "MINIMUM_PROTOCOL_VERSION", + "SSL_SUPPORT_METHOD", + "VIEWER_CERTIFICATE", + "VIEWER_MTLS_MODE", + "TRUST_STORE_CONFIG", + "VIEWER_MTLS_CONFIG", + "DISTRIBUTION_CONFIG", + "DISTRIBUTION", + "DISTRIBUTION_ALREADY_EXISTS", + "ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR", + "INCONSISTENT_QUANTITIES", + "INVALID_DEFAULT_ROOT_OBJECT", + "INVALID_ERROR_CODE", + "INVALID_FORWARD_COOKIES", + "INVALID_FUNCTION_ASSOCIATION", + "INVALID_GEO_RESTRICTION_PARAMETER", + "INVALID_HEADERS_FOR_S3_ORIGIN", + "INVALID_LAMBDA_FUNCTION_ASSOCIATION", + "INVALID_LOCATION_CODE", + "INVALID_MINIMUM_PROTOCOL_VERSION", + "INVALID_ORIGIN", + "INVALID_ORIGIN_ACCESS_CONTROL", + "INVALID_ORIGIN_ACCESS_IDENTITY", + "INVALID_ORIGIN_KEEPALIVE_TIMEOUT", + "INVALID_ORIGIN_READ_TIMEOUT", + "INVALID_PROTOCOL_SETTINGS", + "INVALID_QUERY_STRING_PARAMETERS", + "INVALID_RELATIVE_PATH", + "INVALID_REQUIRED_PROTOCOL", + "INVALID_RESPONSE_CODE", + "INVALID_TTL_ORDER", + "INVALID_VIEWER_CERTIFICATE", + "INVALID_WEB_ACL_ID", + "MISSING_BODY", + "S3_ORIGIN", + ), + ( + "NO_SUCH_ORIGIN", + "REALTIME_LOG_CONFIG_OWNER_MISMATCH", + "TOO_MANY_CACHE_BEHAVIORS", + "TOO_MANY_CERTIFICATES", + "TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST", + "TOO_MANY_DISTRIBUTIONS", + "TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY", + "TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG", + "TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP", + "TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL", + "TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY", + "TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY", + "TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS", + "TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS", + "TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN", + "TOO_MANY_FUNCTION_ASSOCIATIONS", + "TOO_MANY_HEADERS_IN_FORWARDED_VALUES", + "TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION", + "TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS", + "TOO_MANY_ORIGIN_CUSTOM_HEADERS", + "TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION", + "TOO_MANY_ORIGINS", + "TOO_MANY_QUERY_STRING_PARAMETERS", + "TOO_MANY_TRUSTED_SIGNERS", + "TRUSTED_KEY_GROUP_DOES_NOT_EXIST", + "TRUSTED_SIGNER_DOES_NOT_EXIST", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAG_LIST", + "TAGS", + "CREATE_ANYCAST_IP_LIST_INPUT", + "CREATE_ANYCAST_IP_LIST_OUTPUT", + "CREATE_ANYCAST_IP_LIST", + "ENTITY_ALREADY_EXISTS", + "INVALID_TAGGING", + "UNSUPPORTED_OPERATION", + "CREATE_CACHE_POLICY_INPUT", + "CREATE_CACHE_POLICY_OUTPUT", + "CREATE_CACHE_POLICY", + "TOO_MANY_CACHE_POLICIES", + "TOO_MANY_COOKIES_IN_CACHE_POLICY", + "TOO_MANY_HEADERS_IN_CACHE_POLICY", + "TOO_MANY_QUERY_STRINGS_IN_CACHE_POLICY", + "CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_ALREADY_EXISTS", + "CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT", + "CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT", + "CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY", + "TOO_MANY_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES", + "FUNCTION_BLOB", + "KEY_VALUE_STORE_ARN", + "KEY_VALUE_STORE_ASSOCIATION", + "KEY_VALUE_STORE_ASSOCIATION_LIST", + "KEY_VALUE_STORE_ASSOCIATIONS", + "FUNCTION_RUNTIME", + "FUNCTION_CONFIG", + "FUNCTION_NAME", + "CREATE_CONNECTION_FUNCTION_INPUT", + "CREATE_CONNECTION_FUNCTION_OUTPUT", + "CREATE_CONNECTION_FUNCTION", + "FUNCTION_STAGE", + "CONNECTION_FUNCTION_SUMMARY", + "ENTITY_SIZE_LIMIT_EXCEEDED", + "CREATE_CONNECTION_GROUP_INPUT", + "CREATE_CONNECTION_GROUP_OUTPUT", + "CREATE_CONNECTION_GROUP", + "CONNECTION_GROUP", + "CONTINUOUS_DEPLOYMENT_POLICY_ALREADY_EXISTS", + "STAGING_DISTRIBUTION_DNS_NAME_LIST", + "STAGING_DISTRIBUTION_DNS_NAMES", + "CONTINUOUS_DEPLOYMENT_SINGLE_HEADER_CONFIG", + "SESSION_STICKINESS_CONFIG", + "FLOAT", + "CONTINUOUS_DEPLOYMENT_SINGLE_WEIGHT_CONFIG", + "CONTINUOUS_DEPLOYMENT_POLICY_TYPE", + "TRAFFIC_CONFIG", + "CONTINUOUS_DEPLOYMENT_POLICY_CONFIG", + "CREATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT", + "CREATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT", + "CREATE_CONTINUOUS_DEPLOYMENT_POLICY", + "CONTINUOUS_DEPLOYMENT_POLICY", + "STAGING_DISTRIBUTION_IN_USE", + "TOO_MANY_CONTINUOUS_DEPLOYMENT_POLICIES", + "CONTINUOUS_DEPLOYMENT_POLICY_IN_USE", + "CREATE_DISTRIBUTION_INPUT", + "CREATE_DISTRIBUTION_OUTPUT", + "CREATE_DISTRIBUTION", + "ILLEGAL_ORIGIN_ACCESS_CONFIGURATION", + "INVALID_DOMAIN_NAME_FOR_ORIGIN_ACCESS_CONTROL", + "NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY", + "GEO_RESTRICTION_CUSTOMIZATION", + "CUSTOMIZATION_ACTION_TYPE", + "WEB_ACL_CUSTOMIZATION", + "CUSTOMIZATIONS", + "KEY_VALUE_STORE_COMMENT", + "KEY_VALUE_STORE_NAME", + "KEY_VALUE_STORE", + "TOO_MANY_STREAMING_DISTRIBUTION_CNAM_ES", + "VPC_IP_ADDRESS_TYPE", + "NO_SUCH_FUNCTION_EXISTS", + "NO_SUCH_MONITORING_SUBSCRIPTION", + ), + ( + "DOMAIN_ITEM", + "DOMAIN_LIST", + "MANAGED_CERTIFICATE_REQUEST", + "PARAMETER", + "PARAMETERS", + "CREATE_DISTRIBUTION_TENANT_INPUT", + "CREATE_DISTRIBUTION_TENANT_OUTPUT", + "CREATE_DISTRIBUTION_TENANT", + "DOMAIN_STATUS", + "DOMAIN_RESULT", + "DOMAIN_RESULT_LIST", + "DISTRIBUTION_TENANT", + "INVALID_ASSOCIATION", + "DISTRIBUTION_CONFIG_WITH_TAGS", + "CREATE_DISTRIBUTION_WITH_TAGS_INPUT", + "CREATE_DISTRIBUTION_WITH_TAGS_OUTPUT", + "CREATE_DISTRIBUTION_WITH_TAGS", + "FORMAT", + "CONTENT_TYPE_PROFILE", + "CONTENT_TYPE_PROFILE_LIST", + "CONTENT_TYPE_PROFILES", + "CONTENT_TYPE_PROFILE_CONFIG", + "QUERY_ARG_PROFILE", + "QUERY_ARG_PROFILE_LIST", + "QUERY_ARG_PROFILES", + "QUERY_ARG_PROFILE_CONFIG", + "FIELD_LEVEL_ENCRYPTION_CONFIG", + "CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT", + "CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT", + "CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG", + "FIELD_LEVEL_ENCRYPTION", + "FIELD_LEVEL_ENCRYPTION_CONFIG_ALREADY_EXISTS", + "QUERY_ARG_PROFILE_EMPTY", + "TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONFIGS", + "TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONTENT_TYPE_PROFILES", + "TOO_MANY_FIELD_LEVEL_ENCRYPTION_QUERY_ARG_PROFILES", + "FIELD_PATTERN_LIST", + "FIELD_PATTERNS", + "ENCRYPTION_ENTITY", + "ENCRYPTION_ENTITY_LIST", + "ENCRYPTION_ENTITIES", + "FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG", + "CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT", + "CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT", + "CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE", + "FIELD_LEVEL_ENCRYPTION_PROFILE", + "FIELD_LEVEL_ENCRYPTION_PROFILE_ALREADY_EXISTS", + "FIELD_LEVEL_ENCRYPTION_PROFILE_SIZE_EXCEEDED", + "TOO_MANY_FIELD_LEVEL_ENCRYPTION_ENCRYPTION_ENTITIES", + "TOO_MANY_FIELD_LEVEL_ENCRYPTION_FIELD_PATTERNS", + "TOO_MANY_FIELD_LEVEL_ENCRYPTION_PROFILES", + "CREATE_FUNCTION_INPUT", + "CREATE_FUNCTION_OUTPUT", + "CREATE_FUNCTION", + "FUNCTION_METADATA", + "FUNCTION_SUMMARY", + "FUNCTION_ALREADY_EXISTS", + "FUNCTION_SIZE_LIMIT_EXCEEDED", + "TOO_MANY_FUNCTIONS", + "PATH_LIST", + "PATHS", + "INVALIDATION_BATCH", + "CREATE_INVALIDATION_INPUT", + "CREATE_INVALIDATION_OUTPUT", + "CREATE_INVALIDATION", + "INVALIDATION", + "TOO_MANY_INVALIDATIONS_IN_PROGRESS", + "CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT", + "CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT", + "CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT", + "PUBLIC_KEY_ID_LIST", + "KEY_GROUP_CONFIG", + "CREATE_KEY_GROUP_INPUT", + "CREATE_KEY_GROUP_OUTPUT", + "CREATE_KEY_GROUP", + "KEY_GROUP", + "KEY_GROUP_ALREADY_EXISTS", + "TOO_MANY_KEY_GROUPS", + "TOO_MANY_PUBLIC_KEYS_IN_KEY_GROUP", + "IMPORT_SOURCE_TYPE", + "IMPORT_SOURCE", + "CREATE_KEY_VALUE_STORE_INPUT", + "CREATE_KEY_VALUE_STORE_OUTPUT", + "CREATE_KEY_VALUE_STORE", + "REALTIME_METRICS_SUBSCRIPTION_STATUS", + "REALTIME_METRICS_SUBSCRIPTION_CONFIG", + "MONITORING_SUBSCRIPTION", + ), + ( + "CREATE_MONITORING_SUBSCRIPTION_INPUT", + "CREATE_MONITORING_SUBSCRIPTION_OUTPUT", + "CREATE_MONITORING_SUBSCRIPTION", + "MONITORING_SUBSCRIPTION_ALREADY_EXISTS", + "ORIGIN_ACCESS_CONTROL_ORIGIN_TYPES", + "ORIGIN_ACCESS_CONTROL_SIGNING_BEHAVIORS", + "ORIGIN_ACCESS_CONTROL_SIGNING_PROTOCOLS", + "ORIGIN_ACCESS_CONTROL_CONFIG", + "CREATE_ORIGIN_ACCESS_CONTROL_INPUT", + "CREATE_ORIGIN_ACCESS_CONTROL_OUTPUT", + "CREATE_ORIGIN_ACCESS_CONTROL", + "ORIGIN_ACCESS_CONTROL", + "ORIGIN_ACCESS_CONTROL_ALREADY_EXISTS", + "TOO_MANY_ORIGIN_ACCESS_CONTROLS", + "ORIGIN_REQUEST_POLICY_COOKIE_BEHAVIOR", + "ORIGIN_REQUEST_POLICY_COOKIES_CONFIG", + "ORIGIN_REQUEST_POLICY_HEADER_BEHAVIOR", + "ORIGIN_REQUEST_POLICY_HEADERS_CONFIG", + "ORIGIN_REQUEST_POLICY_QUERY_STRING_BEHAVIOR", + "ORIGIN_REQUEST_POLICY_QUERY_STRINGS_CONFIG", + "ORIGIN_REQUEST_POLICY_CONFIG", + "CREATE_ORIGIN_REQUEST_POLICY_INPUT", + "CREATE_ORIGIN_REQUEST_POLICY_OUTPUT", + "CREATE_ORIGIN_REQUEST_POLICY", + "ORIGIN_REQUEST_POLICY", + "ORIGIN_REQUEST_POLICY_ALREADY_EXISTS", + "TOO_MANY_COOKIES_IN_ORIGIN_REQUEST_POLICY", + "TOO_MANY_HEADERS_IN_ORIGIN_REQUEST_POLICY", + "TOO_MANY_ORIGIN_REQUEST_POLICIES", + "TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY", + "CREATE_PUBLIC_KEY_INPUT", + "CREATE_PUBLIC_KEY_OUTPUT", + "CREATE_PUBLIC_KEY", + "PUBLIC_KEY_ALREADY_EXISTS", + "TOO_MANY_PUBLIC_KEYS", + "KINESIS_STREAM_CONFIG", + "END_POINT", + "END_POINT_LIST", + "FIELD_LIST", + "CREATE_REALTIME_LOG_CONFIG_INPUT", + "CREATE_REALTIME_LOG_CONFIG_OUTPUT", + "CREATE_REALTIME_LOG_CONFIG", + "REALTIME_LOG_CONFIG", + "REALTIME_LOG_CONFIG_ALREADY_EXISTS", + "TOO_MANY_REALTIME_LOG_CONFIGS", + "RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_HEADERS", + "RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS", + "RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_ORIGINS", + "RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_EXPOSE_HEADERS", + "RESPONSE_HEADERS_POLICY_CORS_CONFIG", + "RESPONSE_HEADERS_POLICY_CUSTOM_HEADER", + "RESPONSE_HEADERS_POLICY_CUSTOM_HEADER_LIST", + "RESPONSE_HEADERS_POLICY_CUSTOM_HEADERS_CONFIG", + "RESPONSE_HEADERS_POLICY_REMOVE_HEADER", + "RESPONSE_HEADERS_POLICY_REMOVE_HEADER_LIST", + "RESPONSE_HEADERS_POLICY_REMOVE_HEADERS_CONFIG", + "RESPONSE_HEADERS_POLICY_CONTENT_SECURITY_POLICY", + "RESPONSE_HEADERS_POLICY_CONTENT_TYPE_OPTIONS", + "FRAME_OPTIONS_LIST", + "RESPONSE_HEADERS_POLICY_FRAME_OPTIONS", + "REFERRER_POLICY_LIST", + "RESPONSE_HEADERS_POLICY_REFERRER_POLICY", + "RESPONSE_HEADERS_POLICY_STRICT_TRANSPORT_SECURITY", + "RESPONSE_HEADERS_POLICY_XSS_PROTECTION", + "RESPONSE_HEADERS_POLICY_SECURITY_HEADERS_CONFIG", + "SAMPLING_RATE", + "RESPONSE_HEADERS_POLICY_SERVER_TIMING_HEADERS_CONFIG", + "RESPONSE_HEADERS_POLICY_CONFIG", + "CREATE_RESPONSE_HEADERS_POLICY_INPUT", + "CREATE_RESPONSE_HEADERS_POLICY_OUTPUT", + "CREATE_RESPONSE_HEADERS_POLICY", + "RESPONSE_HEADERS_POLICY", + "RESPONSE_HEADERS_POLICY_ALREADY_EXISTS", + "TOO_LONG_CSP_IN_RESPONSE_HEADERS_POLICY", + "TOO_MANY_CUSTOM_HEADERS_IN_RESPONSE_HEADERS_POLICY", + "TOO_MANY_REMOVE_HEADERS_IN_RESPONSE_HEADERS_POLICY", + "TOO_MANY_RESPONSE_HEADERS_POLICIES", + "STREAMING_LOGGING_CONFIG", + "STREAMING_DISTRIBUTION_CONFIG", + "CREATE_STREAMING_DISTRIBUTION_INPUT", + "CREATE_STREAMING_DISTRIBUTION_OUTPUT", + "CREATE_STREAMING_DISTRIBUTION", + "STREAMING_DISTRIBUTION", + ), + ( + "STREAMING_DISTRIBUTION_ALREADY_EXISTS", + "TOO_MANY_STREAMING_DISTRIBUTIONS", + "STREAMING_DISTRIBUTION_CONFIG_WITH_TAGS", + "CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_INPUT", + "CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_OUTPUT", + "CREATE_STREAMING_DISTRIBUTION_WITH_TAGS", + "CREATE_TRUST_STORE_INPUT", + "CREATE_TRUST_STORE_OUTPUT", + "CREATE_TRUST_STORE", + "VPC_ORIGIN_ENDPOINT_CONFIG", + "CREATE_VPC_ORIGIN_INPUT", + "CREATE_VPC_ORIGIN_OUTPUT", + "CREATE_VPC_ORIGIN", + "VPC_ORIGIN", + "DELETE_ANYCAST_IP_LIST_INPUT", + "DELETE_ANYCAST_IP_LIST_OUTPUT", + "DELETE_ANYCAST_IP_LIST", + "ILLEGAL_DELETE", + "DELETE_CACHE_POLICY_INPUT", + "DELETE_CACHE_POLICY_OUTPUT", + "DELETE_CACHE_POLICY", + "CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_IN_USE", + "DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT", + "DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT", + "DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY", + "DELETE_CONNECTION_FUNCTION_INPUT", + "DELETE_CONNECTION_FUNCTION_OUTPUT", + "DELETE_CONNECTION_FUNCTION", + "DELETE_CONNECTION_GROUP_INPUT", + "DELETE_CONNECTION_GROUP_OUTPUT", + "DELETE_CONNECTION_GROUP", + "RESOURCE_NOT_DISABLED", + "DELETE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT", + "DELETE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT", + "DELETE_CONTINUOUS_DEPLOYMENT_POLICY", + "DELETE_DISTRIBUTION_INPUT", + "DELETE_DISTRIBUTION_OUTPUT", + "DELETE_DISTRIBUTION", + "DISTRIBUTION_NOT_DISABLED", + "DELETE_DISTRIBUTION_TENANT_INPUT", + "DELETE_DISTRIBUTION_TENANT_OUTPUT", + "DELETE_DISTRIBUTION_TENANT", + "DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT", + "DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT", + "DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG", + "FIELD_LEVEL_ENCRYPTION_CONFIG_IN_USE", + "DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT", + "DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT", + "DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE", + "FIELD_LEVEL_ENCRYPTION_PROFILE_IN_USE", + "DELETE_FUNCTION_INPUT", + "DELETE_FUNCTION_OUTPUT", + "DELETE_FUNCTION", + "FUNCTION_IN_USE", + "DELETE_KEY_GROUP_INPUT", + "DELETE_KEY_GROUP_OUTPUT", + "DELETE_KEY_GROUP", + "DELETE_KEY_VALUE_STORE_INPUT", + "DELETE_KEY_VALUE_STORE_OUTPUT", + "DELETE_KEY_VALUE_STORE", + "DELETE_MONITORING_SUBSCRIPTION_INPUT", + "DELETE_MONITORING_SUBSCRIPTION_OUTPUT", + "DELETE_MONITORING_SUBSCRIPTION", + "DELETE_ORIGIN_ACCESS_CONTROL_INPUT", + "DELETE_ORIGIN_ACCESS_CONTROL_OUTPUT", + "DELETE_ORIGIN_ACCESS_CONTROL", + "ORIGIN_ACCESS_CONTROL_IN_USE", + "DELETE_ORIGIN_REQUEST_POLICY_INPUT", + "DELETE_ORIGIN_REQUEST_POLICY_OUTPUT", + "DELETE_ORIGIN_REQUEST_POLICY", + "ORIGIN_REQUEST_POLICY_IN_USE", + "DELETE_PUBLIC_KEY_INPUT", + "DELETE_PUBLIC_KEY_OUTPUT", + "DELETE_PUBLIC_KEY", + "PUBLIC_KEY_IN_USE", + "DELETE_REALTIME_LOG_CONFIG_INPUT", + "DELETE_REALTIME_LOG_CONFIG_OUTPUT", + "DELETE_REALTIME_LOG_CONFIG", + "REALTIME_LOG_CONFIG_IN_USE", + "DELETE_RESOURCE_POLICY_INPUT", + "DELETE_RESOURCE_POLICY_OUTPUT", + "DELETE_RESOURCE_POLICY", + "DELETE_RESPONSE_HEADERS_POLICY_INPUT", + "DELETE_RESPONSE_HEADERS_POLICY_OUTPUT", + "DELETE_RESPONSE_HEADERS_POLICY", + "RESPONSE_HEADERS_POLICY_IN_USE", + "DELETE_STREAMING_DISTRIBUTION_INPUT", + "DELETE_STREAMING_DISTRIBUTION_OUTPUT", + "DELETE_STREAMING_DISTRIBUTION", + "STREAMING_DISTRIBUTION_NOT_DISABLED", + "DELETE_TRUST_STORE_INPUT", + "DELETE_TRUST_STORE_OUTPUT", + "DELETE_TRUST_STORE", + ), + ( + "DELETE_VPC_ORIGIN_INPUT", + "DELETE_VPC_ORIGIN_OUTPUT", + "DELETE_VPC_ORIGIN", + "DESCRIBE_CONNECTION_FUNCTION_INPUT", + "DESCRIBE_CONNECTION_FUNCTION_OUTPUT", + "DESCRIBE_CONNECTION_FUNCTION", + "DESCRIBE_FUNCTION_INPUT", + "DESCRIBE_FUNCTION_OUTPUT", + "DESCRIBE_FUNCTION", + "DESCRIBE_KEY_VALUE_STORE_INPUT", + "DESCRIBE_KEY_VALUE_STORE_OUTPUT", + "DESCRIBE_KEY_VALUE_STORE", + "DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT", + "DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT", + "DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL", + "DISASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT", + "DISASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT", + "DISASSOCIATE_DISTRIBUTION_WEB_ACL", + "GET_ANYCAST_IP_LIST_INPUT", + "GET_ANYCAST_IP_LIST_OUTPUT", + "GET_ANYCAST_IP_LIST", + "GET_CACHE_POLICY_INPUT", + "GET_CACHE_POLICY_OUTPUT", + "GET_CACHE_POLICY", + "GET_CACHE_POLICY_CONFIG_INPUT", + "GET_CACHE_POLICY_CONFIG_OUTPUT", + "GET_CACHE_POLICY_CONFIG", + "GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT", + "GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT", + "GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY", + "GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_INPUT", + "GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_OUTPUT", + "GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG", + "GET_CONNECTION_FUNCTION_INPUT", + "GET_CONNECTION_FUNCTION_OUTPUT", + "GET_CONNECTION_FUNCTION", + "GET_CONNECTION_GROUP_INPUT", + "GET_CONNECTION_GROUP_OUTPUT", + "GET_CONNECTION_GROUP", + "GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_INPUT", + "GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_OUTPUT", + "GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT", + "GET_CONTINUOUS_DEPLOYMENT_POLICY_INPUT", + "GET_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT", + "GET_CONTINUOUS_DEPLOYMENT_POLICY", + "GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_INPUT", + "GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_OUTPUT", + "GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG", + "GET_DISTRIBUTION_INPUT", + "GET_DISTRIBUTION_OUTPUT", + "GET_DISTRIBUTION", + "GET_DISTRIBUTION_CONFIG_INPUT", + "GET_DISTRIBUTION_CONFIG_OUTPUT", + "GET_DISTRIBUTION_CONFIG", + "GET_DISTRIBUTION_TENANT_INPUT", + "GET_DISTRIBUTION_TENANT_OUTPUT", + "GET_DISTRIBUTION_TENANT", + "GET_DISTRIBUTION_TENANT_BY_DOMAIN_INPUT", + "GET_DISTRIBUTION_TENANT_BY_DOMAIN_OUTPUT", + "GET_DISTRIBUTION_TENANT_BY_DOMAIN", + "GET_FIELD_LEVEL_ENCRYPTION_INPUT", + "GET_FIELD_LEVEL_ENCRYPTION_OUTPUT", + "GET_FIELD_LEVEL_ENCRYPTION", + "GET_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT", + "GET_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT", + "GET_FIELD_LEVEL_ENCRYPTION_CONFIG", + "GET_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT", + "GET_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT", + "GET_FIELD_LEVEL_ENCRYPTION_PROFILE", + "GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_INPUT", + "GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_OUTPUT", + "GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG", + "GET_FUNCTION_INPUT", + "GET_FUNCTION_OUTPUT", + "GET_FUNCTION", + "GET_INVALIDATION_INPUT", + "GET_INVALIDATION_OUTPUT", + "GET_INVALIDATION", + "NO_SUCH_INVALIDATION", + "GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT", + "GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT", + "GET_INVALIDATION_FOR_DISTRIBUTION_TENANT", + "GET_KEY_GROUP_INPUT", + "GET_KEY_GROUP_OUTPUT", + "GET_KEY_GROUP", + "GET_KEY_GROUP_CONFIG_INPUT", + "GET_KEY_GROUP_CONFIG_OUTPUT", + "GET_KEY_GROUP_CONFIG", + "GET_MANAGED_CERTIFICATE_DETAILS_INPUT", + "GET_MANAGED_CERTIFICATE_DETAILS_OUTPUT", + "GET_MANAGED_CERTIFICATE_DETAILS", + "MANAGED_CERTIFICATE_STATUS", + "VALIDATION_TOKEN_DETAIL", + ), + ( + "VALIDATION_TOKEN_DETAIL_LIST", + "MANAGED_CERTIFICATE_DETAILS", + "GET_MONITORING_SUBSCRIPTION_INPUT", + "GET_MONITORING_SUBSCRIPTION_OUTPUT", + "GET_MONITORING_SUBSCRIPTION", + "GET_ORIGIN_ACCESS_CONTROL_INPUT", + "GET_ORIGIN_ACCESS_CONTROL_OUTPUT", + "GET_ORIGIN_ACCESS_CONTROL", + "GET_ORIGIN_ACCESS_CONTROL_CONFIG_INPUT", + "GET_ORIGIN_ACCESS_CONTROL_CONFIG_OUTPUT", + "GET_ORIGIN_ACCESS_CONTROL_CONFIG", + "GET_ORIGIN_REQUEST_POLICY_INPUT", + "GET_ORIGIN_REQUEST_POLICY_OUTPUT", + "GET_ORIGIN_REQUEST_POLICY", + "GET_ORIGIN_REQUEST_POLICY_CONFIG_INPUT", + "GET_ORIGIN_REQUEST_POLICY_CONFIG_OUTPUT", + "GET_ORIGIN_REQUEST_POLICY_CONFIG", + "GET_PUBLIC_KEY_INPUT", + "GET_PUBLIC_KEY_OUTPUT", + "GET_PUBLIC_KEY", + "GET_PUBLIC_KEY_CONFIG_INPUT", + "GET_PUBLIC_KEY_CONFIG_OUTPUT", + "GET_PUBLIC_KEY_CONFIG", + "GET_REALTIME_LOG_CONFIG_INPUT", + "GET_REALTIME_LOG_CONFIG_OUTPUT", + "GET_REALTIME_LOG_CONFIG", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + "GET_RESPONSE_HEADERS_POLICY_INPUT", + "GET_RESPONSE_HEADERS_POLICY_OUTPUT", + "GET_RESPONSE_HEADERS_POLICY", + "GET_RESPONSE_HEADERS_POLICY_CONFIG_INPUT", + "GET_RESPONSE_HEADERS_POLICY_CONFIG_OUTPUT", + "GET_RESPONSE_HEADERS_POLICY_CONFIG", + "GET_STREAMING_DISTRIBUTION_INPUT", + "GET_STREAMING_DISTRIBUTION_OUTPUT", + "GET_STREAMING_DISTRIBUTION", + "GET_STREAMING_DISTRIBUTION_CONFIG_INPUT", + "GET_STREAMING_DISTRIBUTION_CONFIG_OUTPUT", + "GET_STREAMING_DISTRIBUTION_CONFIG", + "GET_TRUST_STORE_INPUT", + "GET_TRUST_STORE_OUTPUT", + "GET_TRUST_STORE", + "GET_VPC_ORIGIN_INPUT", + "GET_VPC_ORIGIN_OUTPUT", + "GET_VPC_ORIGIN", + "LIST_ANYCAST_IP_LISTS_INPUT", + "LIST_ANYCAST_IP_LISTS_OUTPUT", + "LIST_ANYCAST_IP_LISTS", + "LIST_CACHE_POLICIES_INPUT", + "LIST_CACHE_POLICIES_OUTPUT", + "LIST_CACHE_POLICIES", + "LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_INPUT", + "LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_OUTPUT", + "LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES", + "CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY", + "CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY_LIST", + "CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_LIST", + "DISTRIBUTION_ID_STRING", + "LIST_CONFLICTING_ALIASES_MAX_ITEMS_INTEGER", + "LIST_CONFLICTING_ALIASES_INPUT", + "LIST_CONFLICTING_ALIASES_OUTPUT", + "LIST_CONFLICTING_ALIASES", + "CONFLICTING_ALIAS", + "CONFLICTING_ALIASES", + "CONFLICTING_ALIASES_LIST", + "LIST_CONNECTION_FUNCTIONS_INPUT", + "LIST_CONNECTION_FUNCTIONS_OUTPUT", + "LIST_CONNECTION_FUNCTIONS", + "CONNECTION_FUNCTION_SUMMARY_LIST", + "CONNECTION_GROUP_ASSOCIATION_FILTER", + "LIST_CONNECTION_GROUPS_INPUT", + "LIST_CONNECTION_GROUPS_OUTPUT", + "LIST_CONNECTION_GROUPS", + "CONNECTION_GROUP_SUMMARY", + "CONNECTION_GROUP_SUMMARY_LIST", + "LIST_CONTINUOUS_DEPLOYMENT_POLICIES_INPUT", + "LIST_CONTINUOUS_DEPLOYMENT_POLICIES_OUTPUT", + "LIST_CONTINUOUS_DEPLOYMENT_POLICIES", + "CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY", + "CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY_LIST", + "CONTINUOUS_DEPLOYMENT_POLICY_LIST", + "LIST_DISTRIBUTIONS_INPUT", + "LIST_DISTRIBUTIONS_OUTPUT", + "LIST_DISTRIBUTIONS", + "DISTRIBUTION_SUMMARY", + "DISTRIBUTION_SUMMARY_LIST", + "DISTRIBUTION_LIST", + "LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_INPUT", + "LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_OUTPUT", + "LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID", + ), + ( + "LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_INPUT", + "LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_OUTPUT", + "LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID", + "DISTRIBUTION_ID_LIST_SUMMARY", + "DISTRIBUTION_ID_LIST", + "LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_INPUT", + "LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_OUTPUT", + "LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION", + "LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_INPUT", + "LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_OUTPUT", + "LIST_DISTRIBUTIONS_BY_CONNECTION_MODE", + "LIST_DISTRIBUTIONS_BY_KEY_GROUP_INPUT", + "LIST_DISTRIBUTIONS_BY_KEY_GROUP_OUTPUT", + "LIST_DISTRIBUTIONS_BY_KEY_GROUP", + "LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_INPUT", + "LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_OUTPUT", + "LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID", + "LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_INPUT", + "LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_OUTPUT", + "LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE", + "DISTRIBUTION_ID_OWNER", + "DISTRIBUTION_ID_OWNER_ITEM_LIST", + "DISTRIBUTION_ID_OWNER_LIST", + "LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_INPUT", + "LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_OUTPUT", + "LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG", + "LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_INPUT", + "LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_OUTPUT", + "LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID", + "LIST_DISTRIBUTIONS_BY_TRUST_STORE_INPUT", + "LIST_DISTRIBUTIONS_BY_TRUST_STORE_OUTPUT", + "LIST_DISTRIBUTIONS_BY_TRUST_STORE", + "LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_INPUT", + "LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_OUTPUT", + "LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID", + "LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_INPUT", + "LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_OUTPUT", + "LIST_DISTRIBUTIONS_BY_WEB_ACL_ID", + "DISTRIBUTION_TENANT_ASSOCIATION_FILTER", + "LIST_DISTRIBUTION_TENANTS_INPUT", + "LIST_DISTRIBUTION_TENANTS_OUTPUT", + "LIST_DISTRIBUTION_TENANTS", + "DISTRIBUTION_TENANT_SUMMARY", + "DISTRIBUTION_TENANT_LIST", + "LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_INPUT", + "LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_OUTPUT", + "LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION", + "DISTRIBUTION_RESOURCE_ID", + "LIST_DOMAIN_CONFLICTS_INPUT", + "LIST_DOMAIN_CONFLICTS_OUTPUT", + "LIST_DOMAIN_CONFLICTS", + "DISTRIBUTION_RESOURCE_TYPE", + "DOMAIN_CONFLICT", + "DOMAIN_CONFLICTS_LIST", + "LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_INPUT", + "LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_OUTPUT", + "LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS", + "FIELD_LEVEL_ENCRYPTION_SUMMARY", + "FIELD_LEVEL_ENCRYPTION_SUMMARY_LIST", + "FIELD_LEVEL_ENCRYPTION_LIST", + "LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_INPUT", + "LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_OUTPUT", + "LIST_FIELD_LEVEL_ENCRYPTION_PROFILES", + "FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY", + "FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY_LIST", + "FIELD_LEVEL_ENCRYPTION_PROFILE_LIST", + "LIST_FUNCTIONS_INPUT", + "LIST_FUNCTIONS_OUTPUT", + "LIST_FUNCTIONS", + "FUNCTION_SUMMARY_LIST", + "FUNCTION_LIST", + "LIST_INVALIDATIONS_INPUT", + "LIST_INVALIDATIONS_OUTPUT", + "LIST_INVALIDATIONS", + "INVALIDATION_SUMMARY", + "INVALIDATION_SUMMARY_LIST", + "INVALIDATION_LIST", + "LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_INPUT", + "LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_OUTPUT", + "LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT", + "LIST_KEY_GROUPS_INPUT", + "LIST_KEY_GROUPS_OUTPUT", + "LIST_KEY_GROUPS", + "KEY_GROUP_SUMMARY", + "KEY_GROUP_SUMMARY_LIST", + "KEY_GROUP_LIST", + ), + ( + "LIST_KEY_VALUE_STORES_INPUT", + "LIST_KEY_VALUE_STORES_OUTPUT", + "LIST_KEY_VALUE_STORES", + "KEY_VALUE_STORE_SUMMARY_LIST", + "KEY_VALUE_STORE_LIST", + "LIST_ORIGIN_ACCESS_CONTROLS_INPUT", + "LIST_ORIGIN_ACCESS_CONTROLS_OUTPUT", + "LIST_ORIGIN_ACCESS_CONTROLS", + "ORIGIN_ACCESS_CONTROL_SUMMARY", + "ORIGIN_ACCESS_CONTROL_SUMMARY_LIST", + "ORIGIN_ACCESS_CONTROL_LIST", + "ORIGIN_REQUEST_POLICY_TYPE", + "LIST_ORIGIN_REQUEST_POLICIES_INPUT", + "LIST_ORIGIN_REQUEST_POLICIES_OUTPUT", + "LIST_ORIGIN_REQUEST_POLICIES", + "ORIGIN_REQUEST_POLICY_SUMMARY", + "ORIGIN_REQUEST_POLICY_SUMMARY_LIST", + "ORIGIN_REQUEST_POLICY_LIST", + "LIST_PUBLIC_KEYS_INPUT", + "LIST_PUBLIC_KEYS_OUTPUT", + "LIST_PUBLIC_KEYS", + "PUBLIC_KEY_SUMMARY", + "PUBLIC_KEY_SUMMARY_LIST", + "PUBLIC_KEY_LIST", + "LIST_REALTIME_LOG_CONFIGS_INPUT", + "LIST_REALTIME_LOG_CONFIGS_OUTPUT", + "LIST_REALTIME_LOG_CONFIGS", + "REALTIME_LOG_CONFIG_LIST", + "REALTIME_LOG_CONFIGS", + "RESPONSE_HEADERS_POLICY_TYPE", + "LIST_RESPONSE_HEADERS_POLICIES_INPUT", + "LIST_RESPONSE_HEADERS_POLICIES_OUTPUT", + "LIST_RESPONSE_HEADERS_POLICIES", + "RESPONSE_HEADERS_POLICY_SUMMARY", + "RESPONSE_HEADERS_POLICY_SUMMARY_LIST", + "RESPONSE_HEADERS_POLICY_LIST", + "LIST_STREAMING_DISTRIBUTIONS_INPUT", + "LIST_STREAMING_DISTRIBUTIONS_OUTPUT", + "LIST_STREAMING_DISTRIBUTIONS", + "STREAMING_DISTRIBUTION_SUMMARY", + "STREAMING_DISTRIBUTION_SUMMARY_LIST", + "STREAMING_DISTRIBUTION_LIST", + "RESOURCE_ARN", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "LIST_TRUST_STORES_INPUT", + "LIST_TRUST_STORES_OUTPUT", + "LIST_TRUST_STORES", + "TRUST_STORE_SUMMARY", + "TRUST_STORE_LIST", + "LIST_VPC_ORIGINS_INPUT", + "LIST_VPC_ORIGINS_OUTPUT", + "LIST_VPC_ORIGINS", + "VPC_ORIGIN_SUMMARY", + "VPC_ORIGIN_SUMMARY_LIST", + "VPC_ORIGIN_LIST", + "PUBLISH_CONNECTION_FUNCTION_INPUT", + "PUBLISH_CONNECTION_FUNCTION_OUTPUT", + "PUBLISH_CONNECTION_FUNCTION", + "PUBLISH_FUNCTION_INPUT", + "PUBLISH_FUNCTION_OUTPUT", + "PUBLISH_FUNCTION", + "PUT_RESOURCE_POLICY_INPUT", + "PUT_RESOURCE_POLICY_OUTPUT", + "PUT_RESOURCE_POLICY", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "FUNCTION_EVENT_OBJECT", + "TEST_CONNECTION_FUNCTION_INPUT", + "TEST_CONNECTION_FUNCTION_OUTPUT", + "TEST_CONNECTION_FUNCTION", + "FUNCTION_EXECUTION_LOG_LIST", + "CONNECTION_FUNCTION_TEST_RESULT", + "TEST_FUNCTION_FAILED", + "TEST_FUNCTION_INPUT", + "TEST_FUNCTION_OUTPUT", + "TEST_FUNCTION", + "TEST_RESULT", + "TAG_KEY_LIST", + "TAG_KEYS", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "UPDATE_ANYCAST_IP_LIST_INPUT", + "UPDATE_ANYCAST_IP_LIST_OUTPUT", + "UPDATE_ANYCAST_IP_LIST", + "UPDATE_CACHE_POLICY_INPUT", + "UPDATE_CACHE_POLICY_OUTPUT", + "UPDATE_CACHE_POLICY", + ), + ( + "UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT", + "UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT", + "UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY", + "UPDATE_CONNECTION_FUNCTION_INPUT", + "UPDATE_CONNECTION_FUNCTION_OUTPUT", + "UPDATE_CONNECTION_FUNCTION", + "UPDATE_CONNECTION_GROUP_INPUT", + "UPDATE_CONNECTION_GROUP_OUTPUT", + "UPDATE_CONNECTION_GROUP", + "UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT", + "UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT", + "UPDATE_CONTINUOUS_DEPLOYMENT_POLICY", + "UPDATE_DISTRIBUTION_INPUT", + "UPDATE_DISTRIBUTION_OUTPUT", + "UPDATE_DISTRIBUTION", + "UPDATE_DISTRIBUTION_TENANT_INPUT", + "UPDATE_DISTRIBUTION_TENANT_OUTPUT", + "UPDATE_DISTRIBUTION_TENANT", + "UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_INPUT", + "UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_OUTPUT", + "UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG", + "UPDATE_DOMAIN_ASSOCIATION_INPUT", + "UPDATE_DOMAIN_ASSOCIATION_OUTPUT", + "UPDATE_DOMAIN_ASSOCIATION", + "UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT", + "UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT", + "UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG", + "UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT", + "UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT", + "UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE", + "UPDATE_FUNCTION_INPUT", + "UPDATE_FUNCTION_OUTPUT", + "UPDATE_FUNCTION", + "UPDATE_KEY_GROUP_INPUT", + "UPDATE_KEY_GROUP_OUTPUT", + "UPDATE_KEY_GROUP", + "UPDATE_KEY_VALUE_STORE_INPUT", + "UPDATE_KEY_VALUE_STORE_OUTPUT", + "UPDATE_KEY_VALUE_STORE", + "UPDATE_ORIGIN_ACCESS_CONTROL_INPUT", + "UPDATE_ORIGIN_ACCESS_CONTROL_OUTPUT", + "UPDATE_ORIGIN_ACCESS_CONTROL", + "UPDATE_ORIGIN_REQUEST_POLICY_INPUT", + "UPDATE_ORIGIN_REQUEST_POLICY_OUTPUT", + "UPDATE_ORIGIN_REQUEST_POLICY", + "UPDATE_PUBLIC_KEY_INPUT", + "UPDATE_PUBLIC_KEY_OUTPUT", + "UPDATE_PUBLIC_KEY", + "UPDATE_REALTIME_LOG_CONFIG_INPUT", + "UPDATE_REALTIME_LOG_CONFIG_OUTPUT", + "UPDATE_REALTIME_LOG_CONFIG", + "UPDATE_RESPONSE_HEADERS_POLICY_INPUT", + "UPDATE_RESPONSE_HEADERS_POLICY_OUTPUT", + "UPDATE_RESPONSE_HEADERS_POLICY", + "UPDATE_STREAMING_DISTRIBUTION_INPUT", + "UPDATE_STREAMING_DISTRIBUTION_OUTPUT", + "UPDATE_STREAMING_DISTRIBUTION", + "UPDATE_TRUST_STORE_INPUT", + "UPDATE_TRUST_STORE_OUTPUT", + "UPDATE_TRUST_STORE", + "UPDATE_VPC_ORIGIN_INPUT", + "UPDATE_VPC_ORIGIN_OUTPUT", + "UPDATE_VPC_ORIGIN", + "VERIFY_DNS_CONFIGURATION_INPUT", + "VERIFY_DNS_CONFIGURATION_OUTPUT", + "VERIFY_DNS_CONFIGURATION", + "DNS_CONFIGURATION_STATUS", + "DNS_CONFIGURATION", + "DNS_CONFIGURATION_LIST", + "CLOUDFRONT2020_05_31", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_0.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_0.py new file mode 100644 index 000000000..8b0df71fc --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_0.py @@ -0,0 +1,1427 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.cloudfront" +_s = "string" +_ACAHL = "AccessControlAllowHeadersList" +_m = "member" +_sN = "smithy.api#xmlName" +_H = "Header" +_RHPACAMV = "ResponseHeadersPolicyAccessControlAllowMethodsValues" +_GET = "GET" +_sV = "smithy.api#enumValue" +_POST = "POST" +_OPTIONS = "OPTIONS" +_PUT = "PUT" +_DELETE = "DELETE" +_PATCH = "PATCH" +_HEAD = "HEAD" +_ALL = "ALL" +_ACAML = "AccessControlAllowMethodsList" +_M = "Method" +_ACAOL = "AccessControlAllowOriginsList" +_O = "Origin" +_ACEHL = "AccessControlExposeHeadersList" +_AD = "AccessDenied" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_Me = "Message" +_b = "boolean" +_KPIL = "KeyPairIdList" +_KPI = "KeyPairId" +_i = "integer" +_KPIe = "KeyPairIds" +_Q = "Quantity" +_smi = "smithy.api#required" +_I = "Items" +_KGKPI = "KGKeyPairIds" +_KGI = "KeyGroupId" +_KGKPIL = "KGKeyPairIdsList" +_KG = "KeyGroup" +_ATKG = "ActiveTrustedKeyGroups" +_E = "Enabled" +_S = "Signer" +_AAN = "AwsAccountNumber" +_SL = "SignerList" +_ATS = "ActiveTrustedSigners" +_AL = "AliasList" +_CNAME = "CNAME" +_A = "Aliases" +_ICPRS = "ICPRecordalStatus" +_APPROVED = "APPROVED" +_SUSPENDED = "SUSPENDED" +_PENDING = "PENDING" +_AICPR = "AliasICPRecordal" +_AICPRl = "AliasICPRecordals" +_aS = "aliasString" +_ML = "MethodsList" +_CM = "CachedMethods" +_AM = "AllowedMethods" +_AI = "AnycastIps" +_AIn = "AnycastIp" +_IAT = "IpAddressType" +_Ip = "Ipv4" +_ip = "ipv4" +_Ipv = "Ipv6" +_ipv = "ipv6" +_DS = "DualStack" +_d = "dualstack" +_ICS = "IpamCidrStatus" +_P = "Provisioned" +_p = "provisioned" +_FP = "FailedProvision" +_fp = "failed-provision" +_Pr = "Provisioning" +_pr = "provisioning" +_D = "Deprovisioned" +_de = "deprovisioned" +_FD = "FailedDeprovision" +_fd = "failed-deprovision" +_De = "Deprovisioning" +_dep = "deprovisioning" +_Ad = "Advertised" +_a = "advertised" +_FA = "FailedAdvertise" +_fa = "failed-advertise" +_Adv = "Advertising" +_ad = "advertising" +_W = "Withdrawn" +_w = "withdrawn" +_FW = "FailedWithdraw" +_fw = "failed-withdraw" +_Wi = "Withdrawing" +_wi = "withdrawing" +_ICC = "IpamCidrConfig" +_C = "Cidr" +_IPA = "IpamPoolArn" +_St = "Status" +_ICCL = "IpamCidrConfigList" +_IC = "IpamConfig" +_ICCp = "IpamCidrConfigs" +_t = "timestamp" +_AILN = "AnycastIpListName" +_AIL = "AnycastIpList" +_Id = "Id" +_N = "Name" +_Ar = "Arn" +_ICp = "IpCount" +_LMT = "LastModifiedTime" +_AILS = "AnycastIpListSummary" +_ET = "ETag" +_AILSn = "AnycastIpListSummaries" +_AILC = "AnycastIpListCollection" +_Ma = "Marker" +_NM = "NextMarker" +_MI = "MaxItems" +_IT = "IsTruncated" +_AAI = "AssociateAliasInput" +_sSI = "smithy.synthetic#originalShapeId" +_cAAR = "com.amazonaws.cloudfront#AssociateAliasRequest" +_smit = "smithy.api#input" +_TDI = "TargetDistributionId" +_sL = "smithy.api#httpLabel" +_Al = "Alias" +_sQ = "smithy.api#httpQuery" +_AAO = "AssociateAliasOutput" +_sU = "smithy.api#Unit" +_smith = "smithy.api#output" +_IU = "IllegalUpdate" +_IA = "InvalidArgument" +_NSD = "NoSuchDistribution" +_TMDCNAME = "TooManyDistributionCNAMEs" +_AA = "AssociateAlias" +_smithy = "smithy.api#http" +_ADTWACLI = "AssociateDistributionTenantWebACLInput" +_cADTWACLR = "com.amazonaws.cloudfront#AssociateDistributionTenantWebACLRequest" +_WACLA = "WebACLArn" +_IM = "IfMatch" +_sH = "smithy.api#httpHeader" +_IM_ = "If-Match" +_ADTWACLO = "AssociateDistributionTenantWebACLOutput" +_cADTWACLRo = "com.amazonaws.cloudfront#AssociateDistributionTenantWebACLResult" +_ELE = "EntityLimitExceeded" +_ENF = "EntityNotFound" +_IIMV = "InvalidIfMatchVersion" +_PF = "PreconditionFailed" +_ADTWACL = "AssociateDistributionTenantWebACL" +_ADWACLI = "AssociateDistributionWebACLInput" +_cADWACLR = "com.amazonaws.cloudfront#AssociateDistributionWebACLRequest" +_ADWACLO = "AssociateDistributionWebACLOutput" +_cADWACLRo = "com.amazonaws.cloudfront#AssociateDistributionWebACLResult" +_ADWACL = "AssociateDistributionWebACL" +_AANL = "AwsAccountNumberList" +_BTL = "BatchTooLarge" +_CCBSL = "CaCertificatesBundleS3Location" +_B = "Bucket" +_K = "Key" +_R = "Region" +_V = "Version" +_CCBS = "CaCertificatesBundleSource" +_l = "long" +_IS = "ItemSelection" +_n = "none" +_wh = "whitelist" +_al = "all" +_CNL = "CookieNameList" +_CN = "CookieNames" +_CP = "CookiePreference" +_F = "Forward" +_WN = "WhitelistedNames" +_HL = "HeaderList" +_He = "Headers" +_QSCKL = "QueryStringCacheKeysList" +_QSCK = "QueryStringCacheKeys" +_FV = "ForwardedValues" +_QS = "QueryString" +_Co = "Cookies" +_ETv = "EventType" +_vr = "viewer_request" +_vr_ = "viewer-request" +_vr__ = "viewer_response" +_vr___ = "viewer-response" +_or = "origin_request" +_or_ = "origin-request" +_or__ = "origin_response" +_or___ = "origin-response" +_FARN = "FunctionARN" +_FAu = "FunctionAssociation" +_FAL = "FunctionAssociationList" +_FAun = "FunctionAssociations" +_GC = "GrpcConfig" +_LFARN = "LambdaFunctionARN" +_LFA = "LambdaFunctionAssociation" +_IB = "IncludeBody" +_LFAL = "LambdaFunctionAssociationList" +_LFAa = "LambdaFunctionAssociations" +_TKGIL = "TrustedKeyGroupIdList" +_TKG = "TrustedKeyGroups" +_TS = "TrustedSigners" +_VPP = "ViewerProtocolPolicy" +_aa = "allow_all" +_aa_ = "allow-all" +_ho = "https_only" +_ho_ = "https-only" +_rth = "redirect_to_https" +_rth_ = "redirect-to-https" +_CB = "CacheBehavior" +_PP = "PathPattern" +_TOI = "TargetOriginId" +_SS = "SmoothStreaming" +_Com = "Compress" +_FLEI = "FieldLevelEncryptionId" +_RLCA = "RealtimeLogConfigArn" +_CPI = "CachePolicyId" +_ORPI = "OriginRequestPolicyId" +_RHPI = "ResponseHeadersPolicyId" +_MTTL = "MinTTL" +_DTTL = "DefaultTTL" +_MTTLa = "MaxTTL" +_CBL = "CacheBehaviorList" +_CBa = "CacheBehaviors" +_CPCB = "CachePolicyCookieBehavior" +_aE = "allExcept" +_CPCC = "CachePolicyCookiesConfig" +_CBo = "CookieBehavior" +_CPHB = "CachePolicyHeaderBehavior" +_CPHC = "CachePolicyHeadersConfig" +_HB = "HeaderBehavior" +_CPQSB = "CachePolicyQueryStringBehavior" +_QSNL = "QueryStringNamesList" +_QSN = "QueryStringNames" +_CPQSC = "CachePolicyQueryStringsConfig" +_QSB = "QueryStringBehavior" +_QSu = "QueryStrings" +_PICKAFTO = "ParametersInCacheKeyAndForwardedToOrigin" +_EAEG = "EnableAcceptEncodingGzip" +_EAEB = "EnableAcceptEncodingBrotli" +_HC = "HeadersConfig" +_CC = "CookiesConfig" +_QSC = "QueryStringsConfig" +_CPC = "CachePolicyConfig" +_Comm = "Comment" +_CPa = "CachePolicy" +_CPAE = "CachePolicyAlreadyExists" +_CPIU = "CachePolicyInUse" +_CPT = "CachePolicyType" +_ma = "managed" +_cu = "custom" +_CPS = "CachePolicySummary" +_T = "Type" +_CPSL = "CachePolicySummaryList" +_CPL = "CachePolicyList" +_CTC = "CacheTagConfig" +_HN = "HeaderName" +_CDEWIU = "CannotDeleteEntityWhileInUse" +_cl = "cloudfront" +_CR = "CallerReference" +_NSCP = "NoSuchCachePolicy" +_NSFLEC = "NoSuchFieldLevelEncryptionConfig" +_NSORP = "NoSuchOriginRequestPolicy" +_NSRLC = "NoSuchRealtimeLogConfig" +_NSRHP = "NoSuchResponseHeadersPolicy" +_CFOAIC = "CloudFrontOriginAccessIdentityConfig" +_CFOAI = "CloudFrontOriginAccessIdentity" +_SCUI = "S3CanonicalUserId" +_CTr = "CreatedTime" +_VTH = "ValidationTokenHost" +_CF = "CloudFront" +_SHe = "SelfHosted" +_sh = "self-hosted" +_Act = "Active" +_act = "active" +_NSFLEP = "NoSuchFieldLevelEncryptionProfile" +_NSPK = "NoSuchPublicKey" +_PK = "PublicKey" +_PKC = "PublicKeyConfig" +_EK = "EncodedKey" +_UCCOCSPE = "UseClientCertificateOCSPEndpoint" +_TSS = "TrustStoreStatus" +_Pe = "Pending" +_pe = "pending" +_Fa = "Failed" +_fai = "failed" +_TSr = "TrustStore" +_NOCC = "NumberOfCaCertificates" +_Rea = "Reason" +_NSCFOAI = "NoSuchCloudFrontOriginAccessIdentity" +_RIU = "ResourceInUse" +_NSR = "NoSuchResource" +_NSOAC = "NoSuchOriginAccessControl" +_NSSD = "NoSuchStreamingDistribution" + +STRING: StaticSchema = (3, n0, _s, 0) + +ACCESS_CONTROL_ALLOW_HEADERS_LIST: StaticSchema = ( + 16, + n0, + _ACAHL, + 0, + (_m,), + ((STRING, {_sN: _H}),), +) + +RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS_VALUES: StaticSchema = ( + 14, + n0, + _RHPACAMV, + 0, + (_GET, _POST, _OPTIONS, _PUT, _DELETE, _PATCH, _HEAD, _ALL), + ( + (-1, {_sV: _GET}), + (-1, {_sV: _POST}), + (-1, {_sV: _OPTIONS}), + (-1, {_sV: _PUT}), + (-1, {_sV: _DELETE}), + (-1, {_sV: _PATCH}), + (-1, {_sV: _HEAD}), + (-1, {_sV: _ALL}), + ), +) + +ACCESS_CONTROL_ALLOW_METHODS_LIST: StaticSchema = ( + 16, + n0, + _ACAML, + 0, + (_m,), + ((RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS_VALUES, {_sN: _M}),), +) + +ACCESS_CONTROL_ALLOW_ORIGINS_LIST: StaticSchema = ( + 16, + n0, + _ACAOL, + 0, + (_m,), + ((STRING, {_sN: _O}),), +) + +ACCESS_CONTROL_EXPOSE_HEADERS_LIST: StaticSchema = ( + 16, + n0, + _ACEHL, + 0, + (_m,), + ((STRING, {_sN: _H}),), +) + +ACCESS_DENIED: StaticSchema = (18, n0, _AD, {_sm: _c, _sE: 403}, (_Me,), ((STRING, 0),)) + +BOOLEAN: StaticSchema = (2, n0, _b, 0) + +KEY_PAIR_ID_LIST: StaticSchema = (16, n0, _KPIL, 0, (_m,), ((STRING, {_sN: _KPI}),)) + +INTEGER: StaticSchema = (7, n0, _i, 0) + +KEY_PAIR_IDS: StaticSchema = ( + 18, + n0, + _KPIe, + 0, + (_Q, _I), + ((INTEGER, 1), (KEY_PAIR_ID_LIST, 0)), +) + +KG_KEY_PAIR_IDS: StaticSchema = ( + 18, + n0, + _KGKPI, + 0, + (_KGI, _KPIe), + ((STRING, 0), (KEY_PAIR_IDS, 0)), +) + +KG_KEY_PAIR_IDS_LIST: StaticSchema = ( + 16, + n0, + _KGKPIL, + 0, + (_m,), + ((KG_KEY_PAIR_IDS, {_sN: _KG}),), +) + +ACTIVE_TRUSTED_KEY_GROUPS: StaticSchema = ( + 18, + n0, + _ATKG, + 0, + (_E, _Q, _I), + ((BOOLEAN, 1), (INTEGER, 1), (KG_KEY_PAIR_IDS_LIST, 0)), +) + +SIGNER: StaticSchema = (18, n0, _S, 0, (_AAN, _KPIe), ((STRING, 0), (KEY_PAIR_IDS, 0))) + +SIGNER_LIST: StaticSchema = (16, n0, _SL, 0, (_m,), ((SIGNER, {_sN: _S}),)) + +ACTIVE_TRUSTED_SIGNERS: StaticSchema = ( + 18, + n0, + _ATS, + 0, + (_E, _Q, _I), + ((BOOLEAN, 1), (INTEGER, 1), (SIGNER_LIST, 0)), +) + +ALIAS_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((STRING, {_sN: _CNAME}),)) + +ALIASES: StaticSchema = (18, n0, _A, 0, (_Q, _I), ((INTEGER, 1), (ALIAS_LIST, 0))) + +ICP_RECORDAL_STATUS: StaticSchema = ( + 14, + n0, + _ICPRS, + 0, + (_APPROVED, _SUSPENDED, _PENDING), + ((-1, {_sV: _APPROVED}), (-1, {_sV: _SUSPENDED}), (-1, {_sV: _PENDING})), +) + +ALIAS_ICP_RECORDAL: StaticSchema = ( + 18, + n0, + _AICPR, + 0, + (_CNAME, _ICPRS), + ((STRING, 0), (ICP_RECORDAL_STATUS, 0)), +) + +ALIAS_ICP_RECORDALS: StaticSchema = ( + 16, + n0, + _AICPRl, + 0, + (_m,), + ((ALIAS_ICP_RECORDAL, {_sN: _AICPR}),), +) + +ALIAS_STRING: StaticSchema = (3, n0, _aS, 0) + +METHOD: StaticSchema = ( + 14, + n0, + _M, + 0, + (_GET, _HEAD, _POST, _PUT, _PATCH, _OPTIONS, _DELETE), + ( + (-1, {_sV: _GET}), + (-1, {_sV: _HEAD}), + (-1, {_sV: _POST}), + (-1, {_sV: _PUT}), + (-1, {_sV: _PATCH}), + (-1, {_sV: _OPTIONS}), + (-1, {_sV: _DELETE}), + ), +) + +METHODS_LIST: StaticSchema = (16, n0, _ML, 0, (_m,), ((METHOD, {_sN: _M}),)) + +CACHED_METHODS: StaticSchema = ( + 18, + n0, + _CM, + 0, + (_Q, _I), + ((INTEGER, 1), (METHODS_LIST, 1)), +) + +ALLOWED_METHODS: StaticSchema = ( + 18, + n0, + _AM, + 0, + (_Q, _I, _CM), + ((INTEGER, 1), (METHODS_LIST, 1), (CACHED_METHODS, 0)), +) + +ANYCAST_IPS: StaticSchema = (16, n0, _AI, 0, (_m,), ((STRING, {_sN: _AIn}),)) + +IP_ADDRESS_TYPE: StaticSchema = ( + 14, + n0, + _IAT, + 0, + (_Ip, _Ipv, _DS), + ((-1, {_sV: _ip}), (-1, {_sV: _ipv}), (-1, {_sV: _d})), +) + +IPAM_CIDR_STATUS: StaticSchema = ( + 14, + n0, + _ICS, + 0, + (_P, _FP, _Pr, _D, _FD, _De, _Ad, _FA, _Adv, _W, _FW, _Wi), + ( + (-1, {_sV: _p}), + (-1, {_sV: _fp}), + (-1, {_sV: _pr}), + (-1, {_sV: _de}), + (-1, {_sV: _fd}), + (-1, {_sV: _dep}), + (-1, {_sV: _a}), + (-1, {_sV: _fa}), + (-1, {_sV: _ad}), + (-1, {_sV: _w}), + (-1, {_sV: _fw}), + (-1, {_sV: _wi}), + ), +) + +IPAM_CIDR_CONFIG: StaticSchema = ( + 18, + n0, + _ICC, + 0, + (_C, _IPA, _AIn, _St), + ((STRING, 1), (STRING, 1), (STRING, 0), (IPAM_CIDR_STATUS, 0)), +) + +IPAM_CIDR_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _ICCL, + 0, + (_m,), + ((IPAM_CIDR_CONFIG, {_sN: _ICC}),), +) + +IPAM_CONFIG: StaticSchema = ( + 18, + n0, + _IC, + 0, + (_Q, _ICCp), + ((INTEGER, 1), (IPAM_CIDR_CONFIG_LIST, 1)), +) + +TIMESTAMP: StaticSchema = (4, n0, _t, 0) + +ANYCAST_IP_LIST_NAME: StaticSchema = (3, n0, _AILN, 0) + +ANYCAST_IP_LIST: StaticSchema = ( + 18, + n0, + _AIL, + 0, + (_Id, _N, _St, _Ar, _IAT, _IC, _AI, _ICp, _LMT), + ( + (STRING, 1), + (ANYCAST_IP_LIST_NAME, 1), + (STRING, 1), + (STRING, 1), + (IP_ADDRESS_TYPE, 0), + (IPAM_CONFIG, 0), + (ANYCAST_IPS, 1), + (INTEGER, 1), + (TIMESTAMP, 1), + ), +) + +ANYCAST_IP_LIST_SUMMARY: StaticSchema = ( + 18, + n0, + _AILS, + 0, + (_Id, _N, _St, _Ar, _ICp, _LMT, _IAT, _ET, _IC), + ( + (STRING, 1), + (ANYCAST_IP_LIST_NAME, 1), + (STRING, 1), + (STRING, 1), + (INTEGER, 1), + (TIMESTAMP, 1), + (IP_ADDRESS_TYPE, 0), + (STRING, 0), + (IPAM_CONFIG, 0), + ), +) + +ANYCAST_IP_LIST_SUMMARIES: StaticSchema = ( + 16, + n0, + _AILSn, + 0, + (_m,), + ((ANYCAST_IP_LIST_SUMMARY, {_sN: _AILS}),), +) + +ANYCAST_IP_LIST_COLLECTION: StaticSchema = ( + 18, + n0, + _AILC, + 0, + (_I, _Ma, _NM, _MI, _IT, _Q), + ( + (ANYCAST_IP_LIST_SUMMARIES, 0), + (STRING, 1), + (STRING, 0), + (INTEGER, 1), + (BOOLEAN, 1), + (INTEGER, 1), + ), +) + +ASSOCIATE_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _AAI, + {_sSI: _cAAR, _smit: None}, + (_TDI, _Al), + ((STRING, 9), (STRING, {_sQ: _Al, _smi: None})), +) + +ASSOCIATE_ALIAS_OUTPUT: StaticSchema = (18, n0, _AAO, {_sSI: _sU, _smith: None}) + +ASSOCIATE_ALIAS: StaticOperationSchema = ( + 23, + n0, + _AA, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/distribution/{TargetDistributionId}/associate-alias", + "code": 200, + } + ) + }, + ASSOCIATE_ALIAS_INPUT, + ASSOCIATE_ALIAS_OUTPUT, + ( + ACCESS_DENIED, + lambda: ILLEGAL_UPDATE, + lambda: INVALID_ARGUMENT, + lambda: NO_SUCH_DISTRIBUTION, + lambda: TOO_MANY_DISTRIBUTION_CNAM_ES, + ), +) + +ILLEGAL_UPDATE: StaticSchema = ( + 18, + n0, + _IU, + {_sm: _c, _sE: 400}, + (_Me,), + ((STRING, 0),), +) + +INVALID_ARGUMENT: StaticSchema = ( + 18, + n0, + _IA, + {_sm: _c, _sE: 400}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_DISTRIBUTION: StaticSchema = ( + 18, + n0, + _NSD, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +TOO_MANY_DISTRIBUTION_CNAM_ES: StaticSchema = ( + 18, + n0, + _TMDCNAME, + {_sm: _c, _sE: 400}, + (_Me,), + ((STRING, 0),), +) + +ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT: StaticSchema = ( + 18, + n0, + _ADTWACLI, + {_sSI: _cADTWACLR, _smit: None}, + (_Id, _WACLA, _IM), + ((STRING, 9), (STRING, 1), (STRING, {_sH: _IM_})), +) + +ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _ADTWACLO, + {_sSI: _cADTWACLRo, _smith: None}, + (_Id, _WACLA, _ET), + ((STRING, 0), (STRING, 0), (STRING, {_sH: _ET})), +) + +ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL: StaticOperationSchema = ( + 23, + n0, + _ADTWACL, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/distribution-tenant/{Id}/associate-web-acl", + "code": 200, + } + ) + }, + ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT, + ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT, + ( + ACCESS_DENIED, + lambda: ENTITY_LIMIT_EXCEEDED, + lambda: ENTITY_NOT_FOUND, + INVALID_ARGUMENT, + lambda: INVALID_IF_MATCH_VERSION, + lambda: PRECONDITION_FAILED, + ), +) + +ENTITY_LIMIT_EXCEEDED: StaticSchema = ( + 18, + n0, + _ELE, + {_sm: _c, _sE: 400}, + (_Me,), + ((STRING, 0),), +) + +ENTITY_NOT_FOUND: StaticSchema = ( + 18, + n0, + _ENF, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +INVALID_IF_MATCH_VERSION: StaticSchema = ( + 18, + n0, + _IIMV, + {_sm: _c, _sE: 400}, + (_Me,), + ((STRING, 0),), +) + +PRECONDITION_FAILED: StaticSchema = ( + 18, + n0, + _PF, + {_sm: _c, _sE: 412}, + (_Me,), + ((STRING, 0),), +) + +ASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT: StaticSchema = ( + 18, + n0, + _ADWACLI, + {_sSI: _cADWACLR, _smit: None}, + (_Id, _WACLA, _IM), + ((STRING, 9), (STRING, 1), (STRING, {_sH: _IM_})), +) + +ASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _ADWACLO, + {_sSI: _cADWACLRo, _smith: None}, + (_Id, _WACLA, _ET), + ((STRING, 0), (STRING, 0), (STRING, {_sH: _ET})), +) + +ASSOCIATE_DISTRIBUTION_WEB_ACL: StaticOperationSchema = ( + 23, + n0, + _ADWACL, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/distribution/{Id}/associate-web-acl", + "code": 200, + } + ) + }, + ASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT, + ASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT, + ( + ACCESS_DENIED, + ENTITY_LIMIT_EXCEEDED, + ENTITY_NOT_FOUND, + INVALID_ARGUMENT, + INVALID_IF_MATCH_VERSION, + PRECONDITION_FAILED, + ), +) + +AWS_ACCOUNT_NUMBER_LIST: StaticSchema = ( + 16, + n0, + _AANL, + 0, + (_m,), + ((STRING, {_sN: _AAN}),), +) + +BATCH_TOO_LARGE: StaticSchema = ( + 18, + n0, + _BTL, + {_sm: _c, _sE: 413}, + (_Me,), + ((STRING, 0),), +) + +CA_CERTIFICATES_BUNDLE_S3_LOCATION: StaticSchema = ( + 18, + n0, + _CCBSL, + 0, + (_B, _K, _R, _V), + ((STRING, 1), (STRING, 1), (STRING, 1), (STRING, 0)), +) + +CA_CERTIFICATES_BUNDLE_SOURCE: StaticSchema = ( + 19, + n0, + _CCBS, + 0, + (_CCBSL,), + ((CA_CERTIFICATES_BUNDLE_S3_LOCATION, 0),), +) + +LONG: StaticSchema = (8, n0, _l, 0) + +ITEM_SELECTION: StaticSchema = ( + 14, + n0, + _IS, + 0, + (_n, _wh, _al), + ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _al})), +) + +COOKIE_NAME_LIST: StaticSchema = (16, n0, _CNL, 0, (_m,), ((STRING, {_sN: _N}),)) + +COOKIE_NAMES: StaticSchema = ( + 18, + n0, + _CN, + 0, + (_Q, _I), + ((INTEGER, 1), (COOKIE_NAME_LIST, 0)), +) + +COOKIE_PREFERENCE: StaticSchema = ( + 18, + n0, + _CP, + 0, + (_F, _WN), + ((ITEM_SELECTION, 1), (COOKIE_NAMES, 0)), +) + +HEADER_LIST: StaticSchema = (16, n0, _HL, 0, (_m,), ((STRING, {_sN: _N}),)) + +HEADERS: StaticSchema = (18, n0, _He, 0, (_Q, _I), ((INTEGER, 1), (HEADER_LIST, 0))) + +QUERY_STRING_CACHE_KEYS_LIST: StaticSchema = ( + 16, + n0, + _QSCKL, + 0, + (_m,), + ((STRING, {_sN: _N}),), +) + +QUERY_STRING_CACHE_KEYS: StaticSchema = ( + 18, + n0, + _QSCK, + 0, + (_Q, _I), + ((INTEGER, 1), (QUERY_STRING_CACHE_KEYS_LIST, 0)), +) + +FORWARDED_VALUES: StaticSchema = ( + 18, + n0, + _FV, + 0, + (_QS, _Co, _He, _QSCK), + ((BOOLEAN, 1), (COOKIE_PREFERENCE, 1), (HEADERS, 0), (QUERY_STRING_CACHE_KEYS, 0)), +) + +EVENT_TYPE: StaticSchema = ( + 14, + n0, + _ETv, + 0, + (_vr, _vr__, _or, _or__), + ((-1, {_sV: _vr_}), (-1, {_sV: _vr___}), (-1, {_sV: _or_}), (-1, {_sV: _or___})), +) + +FUNCTION_ARN: StaticSchema = (3, n0, _FARN, 0) + +FUNCTION_ASSOCIATION: StaticSchema = ( + 18, + n0, + _FAu, + 0, + (_FARN, _ETv), + ((FUNCTION_ARN, 1), (EVENT_TYPE, 1)), +) + +FUNCTION_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _FAL, + 0, + (_m,), + ((FUNCTION_ASSOCIATION, {_sN: _FAu}),), +) + +FUNCTION_ASSOCIATIONS: StaticSchema = ( + 18, + n0, + _FAun, + 0, + (_Q, _I), + ((INTEGER, 1), (FUNCTION_ASSOCIATION_LIST, 0)), +) + +GRPC_CONFIG: StaticSchema = (18, n0, _GC, 0, (_E,), ((BOOLEAN, 1),)) + +LAMBDA_FUNCTION_ARN: StaticSchema = (3, n0, _LFARN, 0) + +LAMBDA_FUNCTION_ASSOCIATION: StaticSchema = ( + 18, + n0, + _LFA, + 0, + (_LFARN, _ETv, _IB), + ((LAMBDA_FUNCTION_ARN, 1), (EVENT_TYPE, 1), (BOOLEAN, 0)), +) + +LAMBDA_FUNCTION_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _LFAL, + 0, + (_m,), + ((LAMBDA_FUNCTION_ASSOCIATION, {_sN: _LFA}),), +) + +LAMBDA_FUNCTION_ASSOCIATIONS: StaticSchema = ( + 18, + n0, + _LFAa, + 0, + (_Q, _I), + ((INTEGER, 1), (LAMBDA_FUNCTION_ASSOCIATION_LIST, 0)), +) + +TRUSTED_KEY_GROUP_ID_LIST: StaticSchema = ( + 16, + n0, + _TKGIL, + 0, + (_m,), + ((STRING, {_sN: _KG}),), +) + +TRUSTED_KEY_GROUPS: StaticSchema = ( + 18, + n0, + _TKG, + 0, + (_E, _Q, _I), + ((BOOLEAN, 1), (INTEGER, 1), (TRUSTED_KEY_GROUP_ID_LIST, 0)), +) + +TRUSTED_SIGNERS: StaticSchema = ( + 18, + n0, + _TS, + 0, + (_E, _Q, _I), + ((BOOLEAN, 1), (INTEGER, 1), (AWS_ACCOUNT_NUMBER_LIST, 0)), +) + +VIEWER_PROTOCOL_POLICY: StaticSchema = ( + 14, + n0, + _VPP, + 0, + (_aa, _ho, _rth), + ((-1, {_sV: _aa_}), (-1, {_sV: _ho_}), (-1, {_sV: _rth_})), +) + +CACHE_BEHAVIOR: StaticSchema = ( + 18, + n0, + _CB, + 0, + ( + _PP, + _TOI, + _TS, + _TKG, + _VPP, + _AM, + _SS, + _Com, + _LFAa, + _FAun, + _FLEI, + _RLCA, + _CPI, + _ORPI, + _RHPI, + _GC, + _FV, + _MTTL, + _DTTL, + _MTTLa, + ), + ( + (STRING, 1), + (STRING, 1), + (TRUSTED_SIGNERS, 0), + (TRUSTED_KEY_GROUPS, 0), + (VIEWER_PROTOCOL_POLICY, 1), + (ALLOWED_METHODS, 0), + (BOOLEAN, 0), + (BOOLEAN, 0), + (LAMBDA_FUNCTION_ASSOCIATIONS, 0), + (FUNCTION_ASSOCIATIONS, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (GRPC_CONFIG, 0), + (FORWARDED_VALUES, 0), + (LONG, 0), + (LONG, 0), + (LONG, 0), + ), +) + +CACHE_BEHAVIOR_LIST: StaticSchema = ( + 16, + n0, + _CBL, + 0, + (_m,), + ((CACHE_BEHAVIOR, {_sN: _CB}),), +) + +CACHE_BEHAVIORS: StaticSchema = ( + 18, + n0, + _CBa, + 0, + (_Q, _I), + ((INTEGER, 1), (CACHE_BEHAVIOR_LIST, 0)), +) + +CACHE_POLICY_COOKIE_BEHAVIOR: StaticSchema = ( + 14, + n0, + _CPCB, + 0, + (_n, _wh, _aE, _al), + ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _aE}), (-1, {_sV: _al})), +) + +CACHE_POLICY_COOKIES_CONFIG: StaticSchema = ( + 18, + n0, + _CPCC, + 0, + (_CBo, _Co), + ((CACHE_POLICY_COOKIE_BEHAVIOR, 1), (COOKIE_NAMES, 0)), +) + +CACHE_POLICY_HEADER_BEHAVIOR: StaticSchema = ( + 14, + n0, + _CPHB, + 0, + (_n, _wh), + ((-1, {_sV: _n}), (-1, {_sV: _wh})), +) + +CACHE_POLICY_HEADERS_CONFIG: StaticSchema = ( + 18, + n0, + _CPHC, + 0, + (_HB, _He), + ((CACHE_POLICY_HEADER_BEHAVIOR, 1), (HEADERS, 0)), +) + +CACHE_POLICY_QUERY_STRING_BEHAVIOR: StaticSchema = ( + 14, + n0, + _CPQSB, + 0, + (_n, _wh, _aE, _al), + ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _aE}), (-1, {_sV: _al})), +) + +QUERY_STRING_NAMES_LIST: StaticSchema = ( + 16, + n0, + _QSNL, + 0, + (_m,), + ((STRING, {_sN: _N}),), +) + +QUERY_STRING_NAMES: StaticSchema = ( + 18, + n0, + _QSN, + 0, + (_Q, _I), + ((INTEGER, 1), (QUERY_STRING_NAMES_LIST, 0)), +) + +CACHE_POLICY_QUERY_STRINGS_CONFIG: StaticSchema = ( + 18, + n0, + _CPQSC, + 0, + (_QSB, _QSu), + ((CACHE_POLICY_QUERY_STRING_BEHAVIOR, 1), (QUERY_STRING_NAMES, 0)), +) + +PARAMETERS_IN_CACHE_KEY_AND_FORWARDED_TO_ORIGIN: StaticSchema = ( + 18, + n0, + _PICKAFTO, + 0, + (_EAEG, _EAEB, _HC, _CC, _QSC), + ( + (BOOLEAN, 1), + (BOOLEAN, 0), + (CACHE_POLICY_HEADERS_CONFIG, 1), + (CACHE_POLICY_COOKIES_CONFIG, 1), + (CACHE_POLICY_QUERY_STRINGS_CONFIG, 1), + ), +) + +CACHE_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _CPC, + 0, + (_Comm, _N, _DTTL, _MTTLa, _MTTL, _PICKAFTO), + ( + (STRING, 0), + (STRING, 1), + (LONG, 0), + (LONG, 0), + (LONG, 1), + (PARAMETERS_IN_CACHE_KEY_AND_FORWARDED_TO_ORIGIN, 0), + ), +) + +CACHE_POLICY: StaticSchema = ( + 18, + n0, + _CPa, + 0, + (_Id, _LMT, _CPC), + ((STRING, 1), (TIMESTAMP, 1), (CACHE_POLICY_CONFIG, 1)), +) + +CACHE_POLICY_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _CPAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((STRING, 0),), +) + +CACHE_POLICY_IN_USE: StaticSchema = ( + 18, + n0, + _CPIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((STRING, 0),), +) + +CACHE_POLICY_TYPE: StaticSchema = ( + 14, + n0, + _CPT, + 0, + (_ma, _cu), + ((-1, {_sV: _ma}), (-1, {_sV: _cu})), +) + +CACHE_POLICY_SUMMARY: StaticSchema = ( + 18, + n0, + _CPS, + 0, + (_T, _CPa), + ((CACHE_POLICY_TYPE, 1), (CACHE_POLICY, 1)), +) + +CACHE_POLICY_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CPSL, + 0, + (_m,), + ((CACHE_POLICY_SUMMARY, {_sN: _CPS}),), +) + +CACHE_POLICY_LIST: StaticSchema = ( + 18, + n0, + _CPL, + 0, + (_NM, _MI, _Q, _I), + ((STRING, 0), (INTEGER, 1), (INTEGER, 1), (CACHE_POLICY_SUMMARY_LIST, 0)), +) + +CACHE_TAG_CONFIG: StaticSchema = (18, n0, _CTC, 0, (_HN,), ((STRING, 1),)) + +CANNOT_DELETE_ENTITY_WHILE_IN_USE: StaticSchema = ( + 18, + n0, + _CDEWIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_CACHE_POLICY: StaticSchema = ( + 18, + n0, + _NSCP, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticSchema = ( + 18, + n0, + _NSFLEC, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_ORIGIN_REQUEST_POLICY: StaticSchema = ( + 18, + n0, + _NSORP, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_REALTIME_LOG_CONFIG: StaticSchema = ( + 18, + n0, + _NSRLC, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_RESPONSE_HEADERS_POLICY: StaticSchema = ( + 18, + n0, + _NSRHP, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG: StaticSchema = ( + 18, + n0, + _CFOAIC, + 0, + (_CR, _Comm), + ((STRING, 1), (STRING, 1)), +) + +CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticSchema = ( + 18, + n0, + _CFOAI, + 0, + (_Id, _SCUI, _CFOAIC), + ((STRING, 1), (STRING, 1), (CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG, 0)), +) + +VALIDATION_TOKEN_HOST: StaticSchema = ( + 14, + n0, + _VTH, + 0, + (_CF, _SHe), + ((-1, {_sV: _cl}), (-1, {_sV: _sh})), +) + +NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticSchema = ( + 18, + n0, + _NSFLEP, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_PUBLIC_KEY: StaticSchema = ( + 18, + n0, + _NSPK, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +PUBLIC_KEY_CONFIG: StaticSchema = ( + 18, + n0, + _PKC, + 0, + (_CR, _N, _EK, _Comm), + ((STRING, 1), (STRING, 1), (STRING, 1), (STRING, 0)), +) + +PUBLIC_KEY: StaticSchema = ( + 18, + n0, + _PK, + 0, + (_Id, _CTr, _PKC), + ((STRING, 1), (TIMESTAMP, 1), (PUBLIC_KEY_CONFIG, 1)), +) + +TRUST_STORE_STATUS: StaticSchema = ( + 14, + n0, + _TSS, + 0, + (_Pe, _Act, _Fa), + ((-1, {_sV: _pe}), (-1, {_sV: _act}), (-1, {_sV: _fai})), +) + +TRUST_STORE: StaticSchema = ( + 18, + n0, + _TSr, + 0, + (_Id, _Ar, _N, _St, _NOCC, _LMT, _Rea, _UCCOCSPE), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (TRUST_STORE_STATUS, 0), + (INTEGER, 0), + (TIMESTAMP, 0), + (STRING, 0), + (BOOLEAN, 0), + ), +) + +NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticSchema = ( + 18, + n0, + _NSCFOAI, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +RESOURCE_IN_USE: StaticSchema = ( + 18, + n0, + _RIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_RESOURCE: StaticSchema = ( + 18, + n0, + _NSR, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_ORIGIN_ACCESS_CONTROL: StaticSchema = ( + 18, + n0, + _NSOAC, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) + +NO_SUCH_STREAMING_DISTRIBUTION: StaticSchema = ( + 18, + n0, + _NSSD, + {_sm: _c, _sE: 404}, + (_Me,), + ((STRING, 0),), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_1.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_1.py new file mode 100644 index 000000000..b909c560a --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_1.py @@ -0,0 +1,1310 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_O = "Origin" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_Me = "Message" +_Q = "Quantity" +_smi = "smithy.api#required" +_I = "Items" +_ATKG = "ActiveTrustedKeyGroups" +_E = "Enabled" +_ATS = "ActiveTrustedSigners" +_A = "Aliases" +_AICPRl = "AliasICPRecordals" +_AM = "AllowedMethods" +_IAT = "IpAddressType" +_St = "Status" +_Id = "Id" +_N = "Name" +_Ar = "Arn" +_LMT = "LastModifiedTime" +_ET = "ETag" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_IM = "IfMatch" +_sH = "smithy.api#httpHeader" +_IM_ = "If-Match" +_B = "Bucket" +_n = "none" +_wh = "whitelist" +_FV = "ForwardedValues" +_FAun = "FunctionAssociations" +_GC = "GrpcConfig" +_LFAa = "LambdaFunctionAssociations" +_TKG = "TrustedKeyGroups" +_TS = "TrustedSigners" +_VPP = "ViewerProtocolPolicy" +_ho = "https_only" +_ho_ = "https-only" +_TOI = "TargetOriginId" +_SS = "SmoothStreaming" +_Com = "Compress" +_FLEI = "FieldLevelEncryptionId" +_RLCA = "RealtimeLogConfigArn" +_CPI = "CachePolicyId" +_ORPI = "OriginRequestPolicyId" +_RHPI = "ResponseHeadersPolicyId" +_MTTL = "MinTTL" +_DTTL = "DefaultTTL" +_MTTLa = "MaxTTL" +_CBa = "CacheBehaviors" +_Comm = "Comment" +_CTC = "CacheTagConfig" +_HN = "HeaderName" +_CCIPKF = "CannotChangeImmutablePublicKeyFields" +_CUEWIU = "CannotUpdateEntityWhileInUse" +_Ce = "Certificate" +_CS = "CertificateSource" +_cl = "cloudfront" +_ia = "iam" +_ac = "acm" +_CTLP = "CertificateTransparencyLoggingPreference" +_e = "enabled" +_Di = "Disabled" +_di = "disabled" +_CNAMEAE = "CNAMEAlreadyExists" +_CDI = "CopyDistributionInput" +_cCDR = "com.amazonaws.cloudfront#CopyDistributionRequest" +_PDI = "PrimaryDistributionId" +_Sta = "Staging" +_CR = "CallerReference" +_CT = "CommentType" +_smithya = "smithy.api#sensitive" +_RI = "ResourceId" +_CFA = "ConnectionFunctionAssociation" +_CMo = "ConnectionMode" +_Dir = "Direct" +_dir = "direct" +_TO = "TenantOnly" +_to = "tenant-only" +_CER = "CustomErrorResponse" +_EC = "ErrorCode" +_RPP = "ResponsePagePath" +_RC = "ResponseCode" +_ECMTTL = "ErrorCachingMinTTL" +_CERL = "CustomErrorResponseList" +_CERu = "CustomErrorResponses" +_DCB = "DefaultCacheBehavior" +_HV = "HttpVersion" +_h = "http1_1" +_ht = "http1.1" +_htt = "http2" +_http = "http3" +_httpa = "http2and3" +_LC = "LoggingConfig" +_smithyap = "smithy.api#default" +_ICn = "IncludeCookies" +_v = "" +_Pre = "Prefix" +_SCL = "StatusCodeList" +_SC = "StatusCode" +_SCt = "StatusCodes" +_OGFC = "OriginGroupFailoverCriteria" +_OGM = "OriginGroupMember" +_OI = "OriginId" +_OGML = "OriginGroupMemberList" +_OGMr = "OriginGroupMembers" +_OGSC = "OriginGroupSelectionCriteria" +_Def = "Default" +_def = "default" +_MQB = "MediaQualityBased" +_mqb = "media-quality-based" +_OG = "OriginGroup" +_FC = "FailoverCriteria" +_Mem = "Members" +_SCe = "SelectionCriteria" +_OGL = "OriginGroupList" +_OGr = "OriginGroups" +_sST = "sensitiveStringType" +_OCH = "OriginCustomHeader" +_HVe = "HeaderValue" +_OCHL = "OriginCustomHeadersList" +_CH = "CustomHeaders" +_OMC = "OriginMtlsConfig" +_CCA = "ClientCertificateArn" +_OPP = "OriginProtocolPolicy" +_ho__ = "http_only" +_ho___ = "http-only" +_mv = "match_viewer" +_mv_ = "match-viewer" +_SP = "SslProtocol" +_SSL = "SSLv3" +_TLS = "TLSv1" +_T_ = "TLSv1_1" +_TLSv = "TLSv1.1" +_T__ = "TLSv1_2" +_TLSv_ = "TLSv1.2" +_SPL = "SslProtocolsList" +_OSP = "OriginSslProtocols" +_COC = "CustomOriginConfig" +_HTTPP = "HTTPPort" +_HTTPSP = "HTTPSPort" +_ORT = "OriginReadTimeout" +_OKT = "OriginKeepaliveTimeout" +_OSR = "OriginShieldRegion" +_OS = "OriginShield" +_SOC = "S3OriginConfig" +_OAI = "OriginAccessIdentity" +_VOC = "VpcOriginConfig" +_VOI = "VpcOriginId" +_OAIw = "OwnerAccountId" +_DN = "DomainName" +_OP = "OriginPath" +_CA = "ConnectionAttempts" +_CTo = "ConnectionTimeout" +_RCT = "ResponseCompletionTimeout" +_OACI = "OriginAccessControlId" +_OL = "OriginList" +_Or = "Origins" +_PC = "PriceClass" +_P_ = "PriceClass_100" +_P__ = "PriceClass_200" +_PA = "PriceClass_All" +_No = "None" +_LL = "LocationList" +_L = "Location" +_GRT = "GeoRestrictionType" +_bl = "blacklist" +_GR = "GeoRestriction" +_RT = "RestrictionType" +_Re = "Restrictions" +_PV = "ParameterValue" +_SSC = "StringSchemaConfig" +_DV = "DefaultValue" +_Req = "Required" +_PDS = "ParameterDefinitionSchema" +_SSt = "StringSchema" +_PN = "ParameterName" +_PD = "ParameterDefinition" +_Defi = "Definition" +_PDa = "ParameterDefinitions" +_TC = "TenantConfig" +_SCI = "ServerCertificateId" +_MPV = "MinimumProtocolVersion" +_T___ = "TLSv1_2016" +_T____ = "TLSv1_1_2016" +_T_____ = "TLSv1.1_2016" +_T______ = "TLSv1_2_2018" +_T_______ = "TLSv1.2_2018" +_T________ = "TLSv1_2_2019" +_T_________ = "TLSv1.2_2019" +_T__________ = "TLSv1_2_2021" +_T___________ = "TLSv1.2_2021" +_T____________ = "TLSv1_3_2025" +_T_____________ = "TLSv1.3_2025" +_T______________ = "TLSv1_2_2025" +_T_______________ = "TLSv1.2_2025" +_SSLSM = "SSLSupportMethod" +_so = "sni_only" +_so_ = "sni-only" +_vi = "vip" +_si = "static_ip" +_si_ = "static-ip" +_VC = "ViewerCertificate" +_CFDC = "CloudFrontDefaultCertificate" +_IAMCI = "IAMCertificateId" +_ACMCA = "ACMCertificateArn" +_VMM = "ViewerMtlsMode" +_r = "required" +_Op = "Optional" +_o = "optional" +_Pa = "Passthrough" +_pa = "passthrough" +_TSC = "TrustStoreConfig" +_TSI = "TrustStoreId" +_ATSCN = "AdvertiseTrustStoreCaNames" +_ICE = "IgnoreCertificateExpiry" +_VMC = "ViewerMtlsConfig" +_Mo = "Mode" +_DC = "DistributionConfig" +_DRO = "DefaultRootObject" +_Lo = "Logging" +_WACLI = "WebACLId" +_IIPVE = "IsIPV6Enabled" +_CDPI = "ContinuousDeploymentPolicyId" +_AILI = "AnycastIpListId" +_Dis = "Distribution" +_ARN = "ARN" +_IPIB = "InProgressInvalidationBatches" +_CDO = "CopyDistributionOutput" +_cCDRo = "com.amazonaws.cloudfront#CopyDistributionResult" +_sP = "smithy.api#httpPayload" +_DAE = "DistributionAlreadyExists" +_IFLECAWCB = "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" +_IQ = "InconsistentQuantities" +_IDRO = "InvalidDefaultRootObject" +_IEC = "InvalidErrorCode" +_IFC = "InvalidForwardCookies" +_IFA = "InvalidFunctionAssociation" +_IGRP = "InvalidGeoRestrictionParameter" +_IHFSO = "InvalidHeadersForS3Origin" +_ILFA = "InvalidLambdaFunctionAssociation" +_ILC = "InvalidLocationCode" +_IMPV = "InvalidMinimumProtocolVersion" +_IO = "InvalidOrigin" +_IOAC = "InvalidOriginAccessControl" +_IOAI = "InvalidOriginAccessIdentity" +_IOKT = "InvalidOriginKeepaliveTimeout" +_IORT = "InvalidOriginReadTimeout" +_IPS = "InvalidProtocolSettings" +_IQSP = "InvalidQueryStringParameters" +_IRP = "InvalidRelativePath" +_IRPn = "InvalidRequiredProtocol" +_IRC = "InvalidResponseCode" +_ITTLO = "InvalidTTLOrder" +_IVC = "InvalidViewerCertificate" +_IWACLI = "InvalidWebACLId" +_MB = "MissingBody" +_CD = "CopyDistribution" +_SO = "S3Origin" + +CANNOT_CHANGE_IMMUTABLE_PUBLIC_KEY_FIELDS: StaticSchema = ( + 18, + n0, + _CCIPKF, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CANNOT_UPDATE_ENTITY_WHILE_IN_USE: StaticSchema = ( + 18, + n0, + _CUEWIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CERTIFICATE: StaticSchema = (18, n0, _Ce, 0, (_Ar,), ((lambda: schemas.STRING, 1),)) + +CERTIFICATE_SOURCE: StaticSchema = ( + 14, + n0, + _CS, + 0, + (_cl, _ia, _ac), + ((-1, {_sV: _cl}), (-1, {_sV: _ia}), (-1, {_sV: _ac})), +) + +CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE: StaticSchema = ( + 14, + n0, + _CTLP, + 0, + (_E, _Di), + ((-1, {_sV: _e}), (-1, {_sV: _di})), +) + +CNAME_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _CNAMEAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +COPY_DISTRIBUTION_INPUT: StaticSchema = ( + 18, + n0, + _CDI, + {_sSI: _cCDR, _smit: None}, + (_PDI, _Sta, _IM, _CR, _E), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.BOOLEAN, {_sH: _Sta}), + (lambda: schemas.STRING, {_sH: _IM_}), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +COPY_DISTRIBUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CDO, + {_sSI: _cCDRo, _smith: None}, + (_Dis, _L, _ET), + ( + (lambda: DISTRIBUTION, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +COPY_DISTRIBUTION: StaticOperationSchema = ( + 23, + n0, + _CD, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/distribution/{PrimaryDistributionId}/copy", + "code": 201, + } + ) + }, + COPY_DISTRIBUTION_INPUT, + COPY_DISTRIBUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + CNAME_ALREADY_EXISTS, + lambda: DISTRIBUTION_ALREADY_EXISTS, + lambda: ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR, + lambda: INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: INVALID_DEFAULT_ROOT_OBJECT, + lambda: INVALID_ERROR_CODE, + lambda: INVALID_FORWARD_COOKIES, + lambda: INVALID_FUNCTION_ASSOCIATION, + lambda: INVALID_GEO_RESTRICTION_PARAMETER, + lambda: INVALID_HEADERS_FOR_S3_ORIGIN, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: INVALID_LAMBDA_FUNCTION_ASSOCIATION, + lambda: INVALID_LOCATION_CODE, + lambda: INVALID_MINIMUM_PROTOCOL_VERSION, + lambda: INVALID_ORIGIN, + lambda: INVALID_ORIGIN_ACCESS_CONTROL, + lambda: INVALID_ORIGIN_ACCESS_IDENTITY, + lambda: INVALID_ORIGIN_KEEPALIVE_TIMEOUT, + lambda: INVALID_ORIGIN_READ_TIMEOUT, + lambda: INVALID_PROTOCOL_SETTINGS, + lambda: INVALID_QUERY_STRING_PARAMETERS, + lambda: INVALID_RELATIVE_PATH, + lambda: INVALID_REQUIRED_PROTOCOL, + lambda: INVALID_RESPONSE_CODE, + lambda: INVALID_TTL_ORDER, + lambda: INVALID_VIEWER_CERTIFICATE, + lambda: INVALID_WEB_ACL_ID, + lambda: MISSING_BODY, + lambda: schemas.NO_SUCH_CACHE_POLICY, + lambda: schemas.NO_SUCH_DISTRIBUTION, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, + lambda: schemas.NO_SUCH_ORIGIN, + lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY, + lambda: schemas.NO_SUCH_REALTIME_LOG_CONFIG, + lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.REALTIME_LOG_CONFIG_OWNER_MISMATCH, + lambda: schemas.TOO_MANY_CACHE_BEHAVIORS, + lambda: schemas.TOO_MANY_CERTIFICATES, + lambda: schemas.TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, + lambda: schemas.TOO_MANY_DISTRIBUTION_CNAM_ES, + lambda: schemas.TOO_MANY_DISTRIBUTIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, + lambda: ( + schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG + ), + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, + lambda: schemas.TOO_MANY_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_HEADERS_IN_FORWARDED_VALUES, + lambda: schemas.TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, + lambda: schemas.TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_ORIGIN_CUSTOM_HEADERS, + lambda: schemas.TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, + lambda: schemas.TOO_MANY_ORIGINS, + lambda: schemas.TOO_MANY_QUERY_STRING_PARAMETERS, + lambda: schemas.TOO_MANY_TRUSTED_SIGNERS, + lambda: schemas.TRUSTED_KEY_GROUP_DOES_NOT_EXIST, + lambda: schemas.TRUSTED_SIGNER_DOES_NOT_EXIST, + ), +) + +COMMENT_TYPE: StaticSchema = (3, n0, _CT, 4) + +RESOURCE_ID: StaticSchema = (3, n0, _RI, 0) + +CONNECTION_FUNCTION_ASSOCIATION: StaticSchema = ( + 18, + n0, + _CFA, + 0, + (_Id,), + ((RESOURCE_ID, 1),), +) + +CONNECTION_MODE: StaticSchema = ( + 14, + n0, + _CMo, + 0, + (_Dir, _TO), + ((-1, {_sV: _dir}), (-1, {_sV: _to})), +) + +CUSTOM_ERROR_RESPONSE: StaticSchema = ( + 18, + n0, + _CER, + 0, + (_EC, _RPP, _RC, _ECMTTL), + ( + (lambda: schemas.INTEGER, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, 0), + ), +) + +CUSTOM_ERROR_RESPONSE_LIST: StaticSchema = ( + 16, + n0, + _CERL, + 0, + (_m,), + ((CUSTOM_ERROR_RESPONSE, {_sN: _CER}),), +) + +CUSTOM_ERROR_RESPONSES: StaticSchema = ( + 18, + n0, + _CERu, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (CUSTOM_ERROR_RESPONSE_LIST, 0)), +) + +DEFAULT_CACHE_BEHAVIOR: StaticSchema = ( + 18, + n0, + _DCB, + 0, + ( + _TOI, + _TS, + _TKG, + _VPP, + _AM, + _SS, + _Com, + _LFAa, + _FAun, + _FLEI, + _RLCA, + _CPI, + _ORPI, + _RHPI, + _GC, + _FV, + _MTTL, + _DTTL, + _MTTLa, + ), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TRUSTED_SIGNERS, 0), + (lambda: schemas.TRUSTED_KEY_GROUPS, 0), + (lambda: schemas.VIEWER_PROTOCOL_POLICY, 1), + (lambda: schemas.ALLOWED_METHODS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.LAMBDA_FUNCTION_ASSOCIATIONS, 0), + (lambda: schemas.FUNCTION_ASSOCIATIONS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.GRPC_CONFIG, 0), + (lambda: schemas.FORWARDED_VALUES, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.LONG, 0), + ), +) + +HTTP_VERSION: StaticSchema = ( + 14, + n0, + _HV, + 0, + (_h, _htt, _http, _httpa), + ((-1, {_sV: _ht}), (-1, {_sV: _htt}), (-1, {_sV: _http}), (-1, {_sV: _httpa})), +) + +LOGGING_CONFIG: StaticSchema = ( + 18, + n0, + _LC, + 0, + (_E, _ICn, _B, _Pre), + ( + (lambda: schemas.BOOLEAN, {_smithyap: False}), + (lambda: schemas.BOOLEAN, {_smithyap: False}), + (lambda: schemas.STRING, {_smithyap: _v}), + (lambda: schemas.STRING, {_smithyap: _v}), + ), +) + +STATUS_CODE_LIST: StaticSchema = ( + 16, + n0, + _SCL, + 0, + (_m,), + ((lambda: schemas.INTEGER, {_sN: _SC}),), +) + +STATUS_CODES: StaticSchema = ( + 18, + n0, + _SCt, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (STATUS_CODE_LIST, 1)), +) + +ORIGIN_GROUP_FAILOVER_CRITERIA: StaticSchema = ( + 18, + n0, + _OGFC, + 0, + (_SCt,), + ((STATUS_CODES, 1),), +) + +ORIGIN_GROUP_MEMBER: StaticSchema = ( + 18, + n0, + _OGM, + 0, + (_OI,), + ((lambda: schemas.STRING, 1),), +) + +ORIGIN_GROUP_MEMBER_LIST: StaticSchema = ( + 16, + n0, + _OGML, + 0, + (_m,), + ((ORIGIN_GROUP_MEMBER, {_sN: _OGM}),), +) + +ORIGIN_GROUP_MEMBERS: StaticSchema = ( + 18, + n0, + _OGMr, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (ORIGIN_GROUP_MEMBER_LIST, 1)), +) + +ORIGIN_GROUP_SELECTION_CRITERIA: StaticSchema = ( + 14, + n0, + _OGSC, + 0, + (_Def, _MQB), + ((-1, {_sV: _def}), (-1, {_sV: _mqb})), +) + +ORIGIN_GROUP: StaticSchema = ( + 18, + n0, + _OG, + 0, + (_Id, _FC, _Mem, _SCe), + ( + (lambda: schemas.STRING, 1), + (ORIGIN_GROUP_FAILOVER_CRITERIA, 1), + (ORIGIN_GROUP_MEMBERS, 1), + (ORIGIN_GROUP_SELECTION_CRITERIA, 0), + ), +) + +ORIGIN_GROUP_LIST: StaticSchema = ( + 16, + n0, + _OGL, + 0, + (_m,), + ((ORIGIN_GROUP, {_sN: _OG}),), +) + +ORIGIN_GROUPS: StaticSchema = ( + 18, + n0, + _OGr, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (ORIGIN_GROUP_LIST, 0)), +) + +SENSITIVE_STRING_TYPE: StaticSchema = (3, n0, _sST, 4) + +ORIGIN_CUSTOM_HEADER: StaticSchema = ( + 18, + n0, + _OCH, + 0, + (_HN, _HVe), + ((lambda: schemas.STRING, 1), (SENSITIVE_STRING_TYPE, 1)), +) + +ORIGIN_CUSTOM_HEADERS_LIST: StaticSchema = ( + 16, + n0, + _OCHL, + 0, + (_m,), + ((ORIGIN_CUSTOM_HEADER, {_sN: _OCH}),), +) + +CUSTOM_HEADERS: StaticSchema = ( + 18, + n0, + _CH, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (ORIGIN_CUSTOM_HEADERS_LIST, 0)), +) + +ORIGIN_MTLS_CONFIG: StaticSchema = ( + 18, + n0, + _OMC, + 0, + (_CCA,), + ((lambda: schemas.STRING, 1),), +) + +ORIGIN_PROTOCOL_POLICY: StaticSchema = ( + 14, + n0, + _OPP, + 0, + (_ho__, _mv, _ho), + ((-1, {_sV: _ho___}), (-1, {_sV: _mv_}), (-1, {_sV: _ho_})), +) + +SSL_PROTOCOL: StaticSchema = ( + 14, + n0, + _SP, + 0, + (_SSL, _TLS, _T_, _T__), + ((-1, {_sV: _SSL}), (-1, {_sV: _TLS}), (-1, {_sV: _TLSv}), (-1, {_sV: _TLSv_})), +) + +SSL_PROTOCOLS_LIST: StaticSchema = ( + 16, + n0, + _SPL, + 0, + (_m,), + ((SSL_PROTOCOL, {_sN: _SP}),), +) + +ORIGIN_SSL_PROTOCOLS: StaticSchema = ( + 18, + n0, + _OSP, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (SSL_PROTOCOLS_LIST, 1)), +) + +CUSTOM_ORIGIN_CONFIG: StaticSchema = ( + 18, + n0, + _COC, + 0, + (_HTTPP, _HTTPSP, _OPP, _OSP, _ORT, _OKT, _IAT, _OMC), + ( + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (ORIGIN_PROTOCOL_POLICY, 1), + (ORIGIN_SSL_PROTOCOLS, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.IP_ADDRESS_TYPE, 0), + (ORIGIN_MTLS_CONFIG, 0), + ), +) + +ORIGIN_SHIELD_REGION: StaticSchema = (3, n0, _OSR, 0) + +ORIGIN_SHIELD: StaticSchema = ( + 18, + n0, + _OS, + 0, + (_E, _OSR), + ((lambda: schemas.BOOLEAN, 1), (ORIGIN_SHIELD_REGION, 0)), +) + +S3_ORIGIN_CONFIG: StaticSchema = ( + 18, + n0, + _SOC, + 0, + (_OAI, _ORT), + ( + (lambda: schemas.STRING, {_smithyap: _v, _smi: None}), + (lambda: schemas.INTEGER, 0), + ), +) + +VPC_ORIGIN_CONFIG: StaticSchema = ( + 18, + n0, + _VOC, + 0, + (_VOI, _OAIw, _ORT, _OKT), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +ORIGIN: StaticSchema = ( + 18, + n0, + _O, + 0, + (_Id, _DN, _OP, _CH, _SOC, _COC, _VOC, _CA, _CTo, _RCT, _OS, _OACI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (CUSTOM_HEADERS, 0), + (S3_ORIGIN_CONFIG, 0), + (CUSTOM_ORIGIN_CONFIG, 0), + (VPC_ORIGIN_CONFIG, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (ORIGIN_SHIELD, 0), + (lambda: schemas.STRING, 0), + ), +) + +ORIGIN_LIST: StaticSchema = (16, n0, _OL, 0, (_m,), ((ORIGIN, {_sN: _O}),)) + +ORIGINS: StaticSchema = ( + 18, + n0, + _Or, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (ORIGIN_LIST, 1)), +) + +PRICE_CLASS: StaticSchema = ( + 14, + n0, + _PC, + 0, + (_P_, _P__, _PA, _No), + ((-1, {_sV: _P_}), (-1, {_sV: _P__}), (-1, {_sV: _PA}), (-1, {_sV: _No})), +) + +LOCATION_LIST: StaticSchema = ( + 16, + n0, + _LL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _L}),), +) + +GEO_RESTRICTION_TYPE: StaticSchema = ( + 14, + n0, + _GRT, + 0, + (_bl, _wh, _n), + ((-1, {_sV: _bl}), (-1, {_sV: _wh}), (-1, {_sV: _n})), +) + +GEO_RESTRICTION: StaticSchema = ( + 18, + n0, + _GR, + 0, + (_RT, _Q, _I), + ((GEO_RESTRICTION_TYPE, 1), (lambda: schemas.INTEGER, 1), (LOCATION_LIST, 0)), +) + +RESTRICTIONS: StaticSchema = (18, n0, _Re, 0, (_GR,), ((GEO_RESTRICTION, 1),)) + +PARAMETER_VALUE: StaticSchema = (3, n0, _PV, 0) + +STRING_SCHEMA_CONFIG: StaticSchema = ( + 18, + n0, + _SSC, + 0, + (_Comm, _DV, _Req), + ((SENSITIVE_STRING_TYPE, 0), (PARAMETER_VALUE, 0), (lambda: schemas.BOOLEAN, 1)), +) + +PARAMETER_DEFINITION_SCHEMA: StaticSchema = ( + 18, + n0, + _PDS, + 0, + (_SSt,), + ((STRING_SCHEMA_CONFIG, 0),), +) + +PARAMETER_NAME: StaticSchema = (3, n0, _PN, 0) + +PARAMETER_DEFINITION: StaticSchema = ( + 18, + n0, + _PD, + 0, + (_N, _Defi), + ((PARAMETER_NAME, 1), (PARAMETER_DEFINITION_SCHEMA, 1)), +) + +PARAMETER_DEFINITIONS: StaticSchema = ( + 16, + n0, + _PDa, + 0, + (_m,), + ((PARAMETER_DEFINITION, 0),), +) + +TENANT_CONFIG: StaticSchema = (18, n0, _TC, 0, (_PDa,), ((PARAMETER_DEFINITIONS, 0),)) + +SERVER_CERTIFICATE_ID: StaticSchema = (3, n0, _SCI, 0) + +MINIMUM_PROTOCOL_VERSION: StaticSchema = ( + 14, + n0, + _MPV, + 0, + ( + _SSL, + _TLS, + _T___, + _T____, + _T______, + _T________, + _T__________, + _T____________, + _T______________, + ), + ( + (-1, {_sV: _SSL}), + (-1, {_sV: _TLS}), + (-1, {_sV: _T___}), + (-1, {_sV: _T_____}), + (-1, {_sV: _T_______}), + (-1, {_sV: _T_________}), + (-1, {_sV: _T___________}), + (-1, {_sV: _T_____________}), + (-1, {_sV: _T_______________}), + ), +) + +SSL_SUPPORT_METHOD: StaticSchema = ( + 14, + n0, + _SSLSM, + 0, + (_so, _vi, _si), + ((-1, {_sV: _so_}), (-1, {_sV: _vi}), (-1, {_sV: _si_})), +) + +VIEWER_CERTIFICATE: StaticSchema = ( + 18, + n0, + _VC, + 0, + (_CFDC, _IAMCI, _ACMCA, _SSLSM, _MPV, _Ce, _CS), + ( + (lambda: schemas.BOOLEAN, 0), + (SERVER_CERTIFICATE_ID, 0), + (lambda: schemas.STRING, 0), + (SSL_SUPPORT_METHOD, 0), + (MINIMUM_PROTOCOL_VERSION, 0), + (lambda: schemas.STRING, 0), + (CERTIFICATE_SOURCE, 0), + ), +) + +VIEWER_MTLS_MODE: StaticSchema = ( + 14, + n0, + _VMM, + 0, + (_Req, _Op, _Pa), + ((-1, {_sV: _r}), (-1, {_sV: _o}), (-1, {_sV: _pa})), +) + +TRUST_STORE_CONFIG: StaticSchema = ( + 18, + n0, + _TSC, + 0, + (_TSI, _ATSCN, _ICE), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +VIEWER_MTLS_CONFIG: StaticSchema = ( + 18, + n0, + _VMC, + 0, + (_Mo, _TSC), + ((VIEWER_MTLS_MODE, {_smithyap: _r}), (TRUST_STORE_CONFIG, 0)), +) + +DISTRIBUTION_CONFIG: StaticSchema = ( + 18, + n0, + _DC, + 0, + ( + _CR, + _A, + _DRO, + _Or, + _OGr, + _DCB, + _CBa, + _CERu, + _Comm, + _Lo, + _PC, + _E, + _VC, + _Re, + _WACLI, + _HV, + _IIPVE, + _CDPI, + _Sta, + _AILI, + _TC, + _CMo, + _VMC, + _CFA, + _CTC, + ), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.ALIASES, 0), + (lambda: schemas.STRING, 0), + (ORIGINS, 1), + (ORIGIN_GROUPS, 0), + (DEFAULT_CACHE_BEHAVIOR, 1), + (lambda: schemas.CACHE_BEHAVIORS, 0), + (CUSTOM_ERROR_RESPONSES, 0), + (COMMENT_TYPE, 1), + (LOGGING_CONFIG, 0), + (PRICE_CLASS, 0), + (lambda: schemas.BOOLEAN, 1), + (VIEWER_CERTIFICATE, 0), + (RESTRICTIONS, 0), + (lambda: schemas.STRING, 0), + (HTTP_VERSION, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (TENANT_CONFIG, 0), + (CONNECTION_MODE, 0), + (VIEWER_MTLS_CONFIG, 0), + (CONNECTION_FUNCTION_ASSOCIATION, 0), + (lambda: schemas.CACHE_TAG_CONFIG, 0), + ), +) + +DISTRIBUTION: StaticSchema = ( + 18, + n0, + _Dis, + 0, + (_Id, _ARN, _St, _LMT, _IPIB, _DN, _ATS, _ATKG, _DC, _AICPRl), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.ACTIVE_TRUSTED_SIGNERS, 0), + (lambda: schemas.ACTIVE_TRUSTED_KEY_GROUPS, 0), + (DISTRIBUTION_CONFIG, 1), + (lambda: schemas.ALIAS_ICP_RECORDALS, 0), + ), +) + +DISTRIBUTION_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _DAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR: StaticSchema = ( + 18, + n0, + _IFLECAWCB, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INCONSISTENT_QUANTITIES: StaticSchema = ( + 18, + n0, + _IQ, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_DEFAULT_ROOT_OBJECT: StaticSchema = ( + 18, + n0, + _IDRO, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_ERROR_CODE: StaticSchema = ( + 18, + n0, + _IEC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_FORWARD_COOKIES: StaticSchema = ( + 18, + n0, + _IFC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_FUNCTION_ASSOCIATION: StaticSchema = ( + 18, + n0, + _IFA, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_GEO_RESTRICTION_PARAMETER: StaticSchema = ( + 18, + n0, + _IGRP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_HEADERS_FOR_S3_ORIGIN: StaticSchema = ( + 18, + n0, + _IHFSO, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_LAMBDA_FUNCTION_ASSOCIATION: StaticSchema = ( + 18, + n0, + _ILFA, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_LOCATION_CODE: StaticSchema = ( + 18, + n0, + _ILC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_MINIMUM_PROTOCOL_VERSION: StaticSchema = ( + 18, + n0, + _IMPV, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_ORIGIN: StaticSchema = ( + 18, + n0, + _IO, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_ORIGIN_ACCESS_CONTROL: StaticSchema = ( + 18, + n0, + _IOAC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_ORIGIN_ACCESS_IDENTITY: StaticSchema = ( + 18, + n0, + _IOAI, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_ORIGIN_KEEPALIVE_TIMEOUT: StaticSchema = ( + 18, + n0, + _IOKT, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_ORIGIN_READ_TIMEOUT: StaticSchema = ( + 18, + n0, + _IORT, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_PROTOCOL_SETTINGS: StaticSchema = ( + 18, + n0, + _IPS, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_QUERY_STRING_PARAMETERS: StaticSchema = ( + 18, + n0, + _IQSP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_RELATIVE_PATH: StaticSchema = ( + 18, + n0, + _IRP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_REQUIRED_PROTOCOL: StaticSchema = ( + 18, + n0, + _IRPn, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_RESPONSE_CODE: StaticSchema = ( + 18, + n0, + _IRC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_TTL_ORDER: StaticSchema = ( + 18, + n0, + _ITTLO, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_VIEWER_CERTIFICATE: StaticSchema = ( + 18, + n0, + _IVC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_WEB_ACL_ID: StaticSchema = ( + 18, + n0, + _IWACLI, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +MISSING_BODY: StaticSchema = ( + 18, + n0, + _MB, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +S3_ORIGIN: StaticSchema = ( + 18, + n0, + _SO, + 0, + (_DN, _OAI), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_10.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_10.py new file mode 100644 index 000000000..95d67fa9a --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_10.py @@ -0,0 +1,1486 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_smi = "smithy.api#required" +_KG = "KeyGroup" +_E = "Enabled" +_St = "Status" +_Id = "Id" +_N = "Name" +_ET = "ETag" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_IM = "IfMatch" +_sH = "smithy.api#httpHeader" +_IM_ = "If-Match" +_CCBS = "CaCertificatesBundleSource" +_Comm = "Comment" +_RI = "ResourceId" +_DC = "DistributionConfig" +_AILI = "AnycastIpListId" +_Dis = "Distribution" +_ARN = "ARN" +_sP = "smithy.api#httpPayload" +_CFOAIC = "CloudFrontOriginAccessIdentityConfig" +_CFOAI = "CloudFrontOriginAccessIdentity" +_FCu = "FunctionConfig" +_CFC = "ConnectionFunctionConfig" +_CFCo = "ConnectionFunctionCode" +_CFS = "ConnectionFunctionSummary" +_IE = "Ipv6Enabled" +_CG = "ConnectionGroup" +_CDPC = "ContinuousDeploymentPolicyConfig" +_CDP = "ContinuousDeploymentPolicy" +_Cu = "Customizations" +_Do = "Domain" +_MCR = "ManagedCertificateRequest" +_Para = "Parameters" +_DIi = "DistributionId" +_Dom = "Domains" +_CGI = "ConnectionGroupId" +_DT = "DistributionTenant" +_FLEC = "FieldLevelEncryptionConfig" +_FLE = "FieldLevelEncryption" +_FLEPC = "FieldLevelEncryptionProfileConfig" +_FLEP = "FieldLevelEncryptionProfile" +_FCun = "FunctionCode" +_FSu = "FunctionSummary" +_PK = "PublicKey" +_KGC = "KeyGroupConfig" +_KVS = "KeyValueStore" +_OACC = "OriginAccessControlConfig" +_OAC = "OriginAccessControl" +_ORPC = "OriginRequestPolicyConfig" +_ORP = "OriginRequestPolicy" +_PKC = "PublicKeyConfig" +_EPn = "EndPoints" +_Fie = "Fields" +_SR = "SamplingRate" +_RLC = "RealtimeLogConfig" +_RHPC = "ResponseHeadersPolicyConfig" +_RHP = "ResponseHeadersPolicy" +_SDC = "StreamingDistributionConfig" +_SD = "StreamingDistribution" +_UCCOCSPE = "UseClientCertificateOCSPEndpoint" +_TSr = "TrustStore" +_Rea = "Reason" +_VOEC = "VpcOriginEndpointConfig" +_VO = "VpcOrigin" +_Ide = "Identifier" +_UCFOAII = "UpdateCloudFrontOriginAccessIdentityInput" +_cUCFOAIR = "com.amazonaws.cloudfront#UpdateCloudFrontOriginAccessIdentityRequest" +_UCFOAIO = "UpdateCloudFrontOriginAccessIdentityOutput" +_cUCFOAIRo = "com.amazonaws.cloudfront#UpdateCloudFrontOriginAccessIdentityResult" +_UCFOAI = "UpdateCloudFrontOriginAccessIdentity" +_UCFI = "UpdateConnectionFunctionInput" +_cUCFR = "com.amazonaws.cloudfront#UpdateConnectionFunctionRequest" +_UCFO = "UpdateConnectionFunctionOutput" +_cUCFRo = "com.amazonaws.cloudfront#UpdateConnectionFunctionResult" +_UCF = "UpdateConnectionFunction" +_UCGI = "UpdateConnectionGroupInput" +_cUCGR = "com.amazonaws.cloudfront#UpdateConnectionGroupRequest" +_UCGO = "UpdateConnectionGroupOutput" +_cUCGRo = "com.amazonaws.cloudfront#UpdateConnectionGroupResult" +_UCG = "UpdateConnectionGroup" +_UCDPI = "UpdateContinuousDeploymentPolicyInput" +_cUCDPR = "com.amazonaws.cloudfront#UpdateContinuousDeploymentPolicyRequest" +_UCDPO = "UpdateContinuousDeploymentPolicyOutput" +_cUCDPRo = "com.amazonaws.cloudfront#UpdateContinuousDeploymentPolicyResult" +_UCDP = "UpdateContinuousDeploymentPolicy" +_UDI = "UpdateDistributionInput" +_cUDR = "com.amazonaws.cloudfront#UpdateDistributionRequest" +_UDO = "UpdateDistributionOutput" +_cUDRo = "com.amazonaws.cloudfront#UpdateDistributionResult" +_UD = "UpdateDistribution" +_UDTI = "UpdateDistributionTenantInput" +_cUDTR = "com.amazonaws.cloudfront#UpdateDistributionTenantRequest" +_UDTO = "UpdateDistributionTenantOutput" +_cUDTRo = "com.amazonaws.cloudfront#UpdateDistributionTenantResult" +_UDT = "UpdateDistributionTenant" +_UDWSCI = "UpdateDistributionWithStagingConfigInput" +_cUDWSCR = "com.amazonaws.cloudfront#UpdateDistributionWithStagingConfigRequest" +_SDI = "StagingDistributionId" +_UDWSCO = "UpdateDistributionWithStagingConfigOutput" +_cUDWSCRo = "com.amazonaws.cloudfront#UpdateDistributionWithStagingConfigResult" +_UDWSC = "UpdateDistributionWithStagingConfig" +_UDAI = "UpdateDomainAssociationInput" +_cUDAR = "com.amazonaws.cloudfront#UpdateDomainAssociationRequest" +_TRa = "TargetResource" +_UDAO = "UpdateDomainAssociationOutput" +_cUDARo = "com.amazonaws.cloudfront#UpdateDomainAssociationResult" +_UDA = "UpdateDomainAssociation" +_UFLECI = "UpdateFieldLevelEncryptionConfigInput" +_cUFLECR = "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionConfigRequest" +_UFLECO = "UpdateFieldLevelEncryptionConfigOutput" +_cUFLECRo = "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionConfigResult" +_UFLEC = "UpdateFieldLevelEncryptionConfig" +_UFLEPI = "UpdateFieldLevelEncryptionProfileInput" +_cUFLEPR = "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionProfileRequest" +_UFLEPO = "UpdateFieldLevelEncryptionProfileOutput" +_cUFLEPRo = "com.amazonaws.cloudfront#UpdateFieldLevelEncryptionProfileResult" +_UFLEP = "UpdateFieldLevelEncryptionProfile" +_UFI = "UpdateFunctionInput" +_cUFR = "com.amazonaws.cloudfront#UpdateFunctionRequest" +_UFO = "UpdateFunctionOutput" +_cUFRo = "com.amazonaws.cloudfront#UpdateFunctionResult" +_ETt = "ETtag" +_UF = "UpdateFunction" +_UKGI = "UpdateKeyGroupInput" +_cUKGR = "com.amazonaws.cloudfront#UpdateKeyGroupRequest" +_UKGO = "UpdateKeyGroupOutput" +_cUKGRo = "com.amazonaws.cloudfront#UpdateKeyGroupResult" +_UKG = "UpdateKeyGroup" +_UKVSI = "UpdateKeyValueStoreInput" +_cUKVSR = "com.amazonaws.cloudfront#UpdateKeyValueStoreRequest" +_UKVSO = "UpdateKeyValueStoreOutput" +_cUKVSRo = "com.amazonaws.cloudfront#UpdateKeyValueStoreResult" +_UKVS = "UpdateKeyValueStore" +_UOACI = "UpdateOriginAccessControlInput" +_cUOACR = "com.amazonaws.cloudfront#UpdateOriginAccessControlRequest" +_UOACO = "UpdateOriginAccessControlOutput" +_cUOACRo = "com.amazonaws.cloudfront#UpdateOriginAccessControlResult" +_UOAC = "UpdateOriginAccessControl" +_UORPI = "UpdateOriginRequestPolicyInput" +_cUORPR = "com.amazonaws.cloudfront#UpdateOriginRequestPolicyRequest" +_UORPO = "UpdateOriginRequestPolicyOutput" +_cUORPRo = "com.amazonaws.cloudfront#UpdateOriginRequestPolicyResult" +_UORP = "UpdateOriginRequestPolicy" +_UPKI = "UpdatePublicKeyInput" +_cUPKR = "com.amazonaws.cloudfront#UpdatePublicKeyRequest" +_UPKO = "UpdatePublicKeyOutput" +_cUPKRo = "com.amazonaws.cloudfront#UpdatePublicKeyResult" +_UPK = "UpdatePublicKey" +_URLCI = "UpdateRealtimeLogConfigInput" +_cURLCR = "com.amazonaws.cloudfront#UpdateRealtimeLogConfigRequest" +_URLCO = "UpdateRealtimeLogConfigOutput" +_cURLCRo = "com.amazonaws.cloudfront#UpdateRealtimeLogConfigResult" +_URLC = "UpdateRealtimeLogConfig" +_URHPI = "UpdateResponseHeadersPolicyInput" +_cURHPR = "com.amazonaws.cloudfront#UpdateResponseHeadersPolicyRequest" +_URHPO = "UpdateResponseHeadersPolicyOutput" +_cURHPRo = "com.amazonaws.cloudfront#UpdateResponseHeadersPolicyResult" +_URHP = "UpdateResponseHeadersPolicy" +_USDI = "UpdateStreamingDistributionInput" +_cUSDR = "com.amazonaws.cloudfront#UpdateStreamingDistributionRequest" +_USDO = "UpdateStreamingDistributionOutput" +_cUSDRo = "com.amazonaws.cloudfront#UpdateStreamingDistributionResult" +_USD = "UpdateStreamingDistribution" +_UTSI = "UpdateTrustStoreInput" +_cUTSR = "com.amazonaws.cloudfront#UpdateTrustStoreRequest" +_UTSO = "UpdateTrustStoreOutput" +_cUTSRo = "com.amazonaws.cloudfront#UpdateTrustStoreResult" +_UTS = "UpdateTrustStore" +_UVOI = "UpdateVpcOriginInput" +_cUVOR = "com.amazonaws.cloudfront#UpdateVpcOriginRequest" +_UVOO = "UpdateVpcOriginOutput" +_cUVORo = "com.amazonaws.cloudfront#UpdateVpcOriginResult" +_UVO = "UpdateVpcOrigin" +_VDCI = "VerifyDnsConfigurationInput" +_cVDCR = "com.amazonaws.cloudfront#VerifyDnsConfigurationRequest" +_DCS = "DnsConfigurationStatus" +_Val = "Valid" +_vc = "valid-configuration" +_Inva = "Invalid" +_ic = "invalid-configuration" +_U = "Unknown" +_uc = "unknown-configuration" +_DCn = "DnsConfiguration" +_DCLn = "DnsConfigurationList" +_VDCO = "VerifyDnsConfigurationOutput" +_cVDCRo = "com.amazonaws.cloudfront#VerifyDnsConfigurationResult" +_VDC = "VerifyDnsConfiguration" +_C_ = "Cloudfront2020_05_31" +_aw = "aws.auth#sigv4" +_aX = "aws.protocols#restXml" +_aws = "aws.api#service" +_sNm = "smithy.api#xmlNamespace" + +UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _UCFOAII, + {_sSI: _cUCFOAIR, _smit: None}, + (_CFOAIC, _Id, _IM), + ( + ( + lambda: schemas.CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG, + {_sN: _CFOAIC, _smi: None, _sP: None}, + ), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _UCFOAIO, + {_sSI: _cUCFOAIRo, _smith: None}, + (_CFOAI, _ET), + ( + (lambda: schemas.CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _UCFOAI, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/origin-access-identity/cloudfront/{Id}/config", + "code": 200, + } + ) + }, + UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT, + UPDATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.MISSING_BODY, + lambda: schemas.NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +UPDATE_CONNECTION_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _UCFI, + {_sSI: _cUCFR, _smit: None}, + (_Id, _IM, _CFC, _CFCo), + ( + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + (lambda: schemas.FUNCTION_CONFIG, 1), + (lambda: schemas.FUNCTION_BLOB, 1), + ), +) + +UPDATE_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _UCFO, + {_sSI: _cUCFRo, _smith: None}, + (_CFS, _ET), + ( + (lambda: schemas.CONNECTION_FUNCTION_SUMMARY, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +UPDATE_CONNECTION_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _UCF, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/connection-function/{Id}", + "code": 200, + } + ) + }, + UPDATE_CONNECTION_FUNCTION_INPUT, + UPDATE_CONNECTION_FUNCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.ENTITY_SIZE_LIMIT_EXCEEDED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +UPDATE_CONNECTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _UCGI, + {_sSI: _cUCGR, _smit: None}, + (_Id, _IE, _IM, _AILI, _E), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +UPDATE_CONNECTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _UCGO, + {_sSI: _cUCGRo, _smith: None}, + (_CG, _ET), + ((lambda: schemas.CONNECTION_GROUP, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_CONNECTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _UCG, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/connection-group/{Id}", "code": 200} + ) + }, + UPDATE_CONNECTION_GROUP_INPUT, + UPDATE_CONNECTION_GROUP_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.RESOURCE_IN_USE, + ), +) + +UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _UCDPI, + {_sSI: _cUCDPR, _smit: None}, + (_CDPC, _Id, _IM), + ( + ( + lambda: schemas.CONTINUOUS_DEPLOYMENT_POLICY_CONFIG, + {_sN: _CDPC, _smi: None, _sP: None}, + ), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _UCDPO, + {_sSI: _cUCDPRo, _smith: None}, + (_CDP, _ET), + ( + (lambda: schemas.CONTINUOUS_DEPLOYMENT_POLICY, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +UPDATE_CONTINUOUS_DEPLOYMENT_POLICY: StaticOperationSchema = ( + 23, + n0, + _UCDP, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/continuous-deployment-policy/{Id}", + "code": 200, + } + ) + }, + UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT, + UPDATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.STAGING_DISTRIBUTION_IN_USE, + ), +) + +UPDATE_DISTRIBUTION_INPUT: StaticSchema = ( + 18, + n0, + _UDI, + {_sSI: _cUDR, _smit: None}, + (_DC, _Id, _IM), + ( + (lambda: schemas.DISTRIBUTION_CONFIG, {_sN: _DC, _smi: None, _sP: None}), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_DISTRIBUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _UDO, + {_sSI: _cUDRo, _smith: None}, + (_Dis, _ET), + ((lambda: schemas.DISTRIBUTION, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_DISTRIBUTION: StaticOperationSchema = ( + 23, + n0, + _UD, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/distribution/{Id}/config", + "code": 200, + } + ) + }, + UPDATE_DISTRIBUTION_INPUT, + UPDATE_DISTRIBUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CNAME_ALREADY_EXISTS, + lambda: schemas.CONTINUOUS_DEPLOYMENT_POLICY_IN_USE, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: ( + schemas.ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR + ), + lambda: schemas.ILLEGAL_ORIGIN_ACCESS_CONFIGURATION, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_DEFAULT_ROOT_OBJECT, + lambda: schemas.INVALID_DOMAIN_NAME_FOR_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ERROR_CODE, + lambda: schemas.INVALID_FORWARD_COOKIES, + lambda: schemas.INVALID_FUNCTION_ASSOCIATION, + lambda: schemas.INVALID_GEO_RESTRICTION_PARAMETER, + lambda: schemas.INVALID_HEADERS_FOR_S3_ORIGIN, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.INVALID_LAMBDA_FUNCTION_ASSOCIATION, + lambda: schemas.INVALID_LOCATION_CODE, + lambda: schemas.INVALID_MINIMUM_PROTOCOL_VERSION, + lambda: schemas.INVALID_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ORIGIN_ACCESS_IDENTITY, + lambda: schemas.INVALID_ORIGIN_KEEPALIVE_TIMEOUT, + lambda: schemas.INVALID_ORIGIN_READ_TIMEOUT, + lambda: schemas.INVALID_QUERY_STRING_PARAMETERS, + lambda: schemas.INVALID_RELATIVE_PATH, + lambda: schemas.INVALID_REQUIRED_PROTOCOL, + lambda: schemas.INVALID_RESPONSE_CODE, + lambda: schemas.INVALID_TTL_ORDER, + lambda: schemas.INVALID_VIEWER_CERTIFICATE, + lambda: schemas.INVALID_WEB_ACL_ID, + lambda: schemas.MISSING_BODY, + lambda: schemas.NO_SUCH_CACHE_POLICY, + lambda: schemas.NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, + lambda: schemas.NO_SUCH_DISTRIBUTION, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, + lambda: schemas.NO_SUCH_ORIGIN, + lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY, + lambda: schemas.NO_SUCH_REALTIME_LOG_CONFIG, + lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.REALTIME_LOG_CONFIG_OWNER_MISMATCH, + lambda: schemas.STAGING_DISTRIBUTION_IN_USE, + lambda: schemas.TOO_MANY_CACHE_BEHAVIORS, + lambda: schemas.TOO_MANY_CERTIFICATES, + lambda: schemas.TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, + lambda: schemas.TOO_MANY_DISTRIBUTION_CNAM_ES, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, + lambda: ( + schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG + ), + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, + lambda: schemas.TOO_MANY_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_HEADERS_IN_FORWARDED_VALUES, + lambda: schemas.TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, + lambda: schemas.TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_ORIGIN_CUSTOM_HEADERS, + lambda: schemas.TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, + lambda: schemas.TOO_MANY_ORIGINS, + lambda: schemas.TOO_MANY_QUERY_STRING_PARAMETERS, + lambda: schemas.TOO_MANY_TRUSTED_SIGNERS, + lambda: schemas.TRUSTED_KEY_GROUP_DOES_NOT_EXIST, + lambda: schemas.TRUSTED_SIGNER_DOES_NOT_EXIST, + ), +) + +UPDATE_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( + 18, + n0, + _UDTI, + {_sSI: _cUDTR, _smit: None}, + (_Id, _DIi, _Dom, _Cu, _Para, _CGI, _IM, _MCR, _E), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, 0), + (lambda: schemas.DOMAIN_LIST, 0), + (lambda: schemas.CUSTOMIZATIONS, 0), + (lambda: schemas.PARAMETERS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + (lambda: schemas.MANAGED_CERTIFICATE_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +UPDATE_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( + 18, + n0, + _UDTO, + {_sSI: _cUDTRo, _smith: None}, + (_DT, _ET), + ((lambda: schemas.DISTRIBUTION_TENANT, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_DISTRIBUTION_TENANT: StaticOperationSchema = ( + 23, + n0, + _UDT, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/distribution-tenant/{Id}", + "code": 200, + } + ) + }, + UPDATE_DISTRIBUTION_TENANT_INPUT, + UPDATE_DISTRIBUTION_TENANT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CNAME_ALREADY_EXISTS, + lambda: schemas.ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_ASSOCIATION, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _UDWSCI, + {_sSI: _cUDWSCR, _smit: None}, + (_Id, _SDI, _IM), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _SDI}), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _UDWSCO, + {_sSI: _cUDWSCRo, _smith: None}, + (_Dis, _ET), + ((lambda: schemas.DISTRIBUTION, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _UDWSC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/distribution/{Id}/promote-staging-config", + "code": 200, + } + ) + }, + UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_INPUT, + UPDATE_DISTRIBUTION_WITH_STAGING_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CNAME_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: ( + schemas.ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR + ), + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_DEFAULT_ROOT_OBJECT, + lambda: schemas.INVALID_ERROR_CODE, + lambda: schemas.INVALID_FORWARD_COOKIES, + lambda: schemas.INVALID_FUNCTION_ASSOCIATION, + lambda: schemas.INVALID_GEO_RESTRICTION_PARAMETER, + lambda: schemas.INVALID_HEADERS_FOR_S3_ORIGIN, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.INVALID_LAMBDA_FUNCTION_ASSOCIATION, + lambda: schemas.INVALID_LOCATION_CODE, + lambda: schemas.INVALID_MINIMUM_PROTOCOL_VERSION, + lambda: schemas.INVALID_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ORIGIN_ACCESS_IDENTITY, + lambda: schemas.INVALID_ORIGIN_KEEPALIVE_TIMEOUT, + lambda: schemas.INVALID_ORIGIN_READ_TIMEOUT, + lambda: schemas.INVALID_QUERY_STRING_PARAMETERS, + lambda: schemas.INVALID_RELATIVE_PATH, + lambda: schemas.INVALID_REQUIRED_PROTOCOL, + lambda: schemas.INVALID_RESPONSE_CODE, + lambda: schemas.INVALID_TTL_ORDER, + lambda: schemas.INVALID_VIEWER_CERTIFICATE, + lambda: schemas.INVALID_WEB_ACL_ID, + lambda: schemas.MISSING_BODY, + lambda: schemas.NO_SUCH_CACHE_POLICY, + lambda: schemas.NO_SUCH_DISTRIBUTION, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, + lambda: schemas.NO_SUCH_ORIGIN, + lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY, + lambda: schemas.NO_SUCH_REALTIME_LOG_CONFIG, + lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.REALTIME_LOG_CONFIG_OWNER_MISMATCH, + lambda: schemas.TOO_MANY_CACHE_BEHAVIORS, + lambda: schemas.TOO_MANY_CERTIFICATES, + lambda: schemas.TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, + lambda: schemas.TOO_MANY_DISTRIBUTION_CNAM_ES, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, + lambda: ( + schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG + ), + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, + lambda: schemas.TOO_MANY_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_HEADERS_IN_FORWARDED_VALUES, + lambda: schemas.TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, + lambda: schemas.TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_ORIGIN_CUSTOM_HEADERS, + lambda: schemas.TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, + lambda: schemas.TOO_MANY_ORIGINS, + lambda: schemas.TOO_MANY_QUERY_STRING_PARAMETERS, + lambda: schemas.TOO_MANY_TRUSTED_SIGNERS, + lambda: schemas.TRUSTED_KEY_GROUP_DOES_NOT_EXIST, + lambda: schemas.TRUSTED_SIGNER_DOES_NOT_EXIST, + ), +) + +UPDATE_DOMAIN_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _UDAI, + {_sSI: _cUDAR, _smit: None}, + (_Do, _TRa, _IM), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.DISTRIBUTION_RESOURCE_ID, 1), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_DOMAIN_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UDAO, + {_sSI: _cUDARo, _smith: None}, + (_Do, _RI, _ET), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +UPDATE_DOMAIN_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _UDA, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/domain-association", "code": 200} + ) + }, + UPDATE_DOMAIN_ASSOCIATION_INPUT, + UPDATE_DOMAIN_ASSOCIATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _UFLECI, + {_sSI: _cUFLECR, _smit: None}, + (_FLEC, _Id, _IM), + ( + ( + lambda: schemas.FIELD_LEVEL_ENCRYPTION_CONFIG, + {_sN: _FLEC, _smi: None, _sP: None}, + ), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _UFLECO, + {_sSI: _cUFLECRo, _smith: None}, + (_FLE, _ET), + ( + (lambda: schemas.FIELD_LEVEL_ENCRYPTION, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _UFLEC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/field-level-encryption/{Id}/config", + "code": 200, + } + ) + }, + UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT, + UPDATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.QUERY_ARG_PROFILE_EMPTY, + lambda: schemas.TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONTENT_TYPE_PROFILES, + lambda: schemas.TOO_MANY_FIELD_LEVEL_ENCRYPTION_QUERY_ARG_PROFILES, + ), +) + +UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _UFLEPI, + {_sSI: _cUFLEPR, _smit: None}, + (_FLEPC, _Id, _IM), + ( + ( + lambda: schemas.FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG, + {_sN: _FLEPC, _smi: None, _sP: None}, + ), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _UFLEPO, + {_sSI: _cUFLEPRo, _smith: None}, + (_FLEP, _ET), + ( + (lambda: schemas.FIELD_LEVEL_ENCRYPTION_PROFILE, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticOperationSchema = ( + 23, + n0, + _UFLEP, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/field-level-encryption-profile/{Id}/config", + "code": 200, + } + ) + }, + UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT, + UPDATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.FIELD_LEVEL_ENCRYPTION_PROFILE_ALREADY_EXISTS, + lambda: schemas.FIELD_LEVEL_ENCRYPTION_PROFILE_SIZE_EXCEEDED, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, + lambda: schemas.NO_SUCH_PUBLIC_KEY, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.TOO_MANY_FIELD_LEVEL_ENCRYPTION_ENCRYPTION_ENTITIES, + lambda: schemas.TOO_MANY_FIELD_LEVEL_ENCRYPTION_FIELD_PATTERNS, + ), +) + +UPDATE_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _UFI, + {_sSI: _cUFR, _smit: None}, + (_N, _IM, _FCu, _FCun), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + (lambda: schemas.FUNCTION_CONFIG, 1), + (lambda: schemas.FUNCTION_BLOB, 1), + ), +) + +UPDATE_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _UFO, + {_sSI: _cUFRo, _smith: None}, + (_FSu, _ET), + ((lambda: schemas.FUNCTION_SUMMARY, 16), (lambda: schemas.STRING, {_sH: _ETt})), +) + +UPDATE_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _UF, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/function/{Name}", "code": 200} + ) + }, + UPDATE_FUNCTION_INPUT, + UPDATE_FUNCTION_OUTPUT, + ( + lambda: schemas.FUNCTION_SIZE_LIMIT_EXCEEDED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_FUNCTION_EXISTS, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +UPDATE_KEY_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _UKGI, + {_sSI: _cUKGR, _smit: None}, + (_KGC, _Id, _IM), + ( + (lambda: schemas.KEY_GROUP_CONFIG, {_sN: _KGC, _smi: None, _sP: None}), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_KEY_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _UKGO, + {_sSI: _cUKGRo, _smith: None}, + (_KG, _ET), + ((lambda: schemas.KEY_GROUP, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_KEY_GROUP: StaticOperationSchema = ( + 23, + n0, + _UKG, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/key-group/{Id}", "code": 200} + ) + }, + UPDATE_KEY_GROUP_INPUT, + UPDATE_KEY_GROUP_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.KEY_GROUP_ALREADY_EXISTS, + lambda: schemas.NO_SUCH_RESOURCE, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.TOO_MANY_PUBLIC_KEYS_IN_KEY_GROUP, + ), +) + +UPDATE_KEY_VALUE_STORE_INPUT: StaticSchema = ( + 18, + n0, + _UKVSI, + {_sSI: _cUKVSR, _smit: None}, + (_N, _Comm, _IM), + ( + (lambda: schemas.KEY_VALUE_STORE_NAME, 9), + (lambda: schemas.KEY_VALUE_STORE_COMMENT, 1), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +UPDATE_KEY_VALUE_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _UKVSO, + {_sSI: _cUKVSRo, _smith: None}, + (_KVS, _ET), + ((lambda: schemas.KEY_VALUE_STORE, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_KEY_VALUE_STORE: StaticOperationSchema = ( + 23, + n0, + _UKVS, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/key-value-store/{Name}", "code": 200} + ) + }, + UPDATE_KEY_VALUE_STORE_INPUT, + UPDATE_KEY_VALUE_STORE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +UPDATE_ORIGIN_ACCESS_CONTROL_INPUT: StaticSchema = ( + 18, + n0, + _UOACI, + {_sSI: _cUOACR, _smit: None}, + (_OACC, _Id, _IM), + ( + ( + lambda: schemas.ORIGIN_ACCESS_CONTROL_CONFIG, + {_sN: _OACC, _smi: None, _sP: None}, + ), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_ORIGIN_ACCESS_CONTROL_OUTPUT: StaticSchema = ( + 18, + n0, + _UOACO, + {_sSI: _cUOACRo, _smith: None}, + (_OAC, _ET), + ((lambda: schemas.ORIGIN_ACCESS_CONTROL, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_ORIGIN_ACCESS_CONTROL: StaticOperationSchema = ( + 23, + n0, + _UOAC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/origin-access-control/{Id}/config", + "code": 200, + } + ) + }, + UPDATE_ORIGIN_ACCESS_CONTROL_INPUT, + UPDATE_ORIGIN_ACCESS_CONTROL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_ORIGIN_ACCESS_CONTROL, + lambda: schemas.ORIGIN_ACCESS_CONTROL_ALREADY_EXISTS, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +UPDATE_ORIGIN_REQUEST_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _UORPI, + {_sSI: _cUORPR, _smit: None}, + (_ORPC, _Id, _IM), + ( + ( + lambda: schemas.ORIGIN_REQUEST_POLICY_CONFIG, + {_sN: _ORPC, _smi: None, _sP: None}, + ), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_ORIGIN_REQUEST_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _UORPO, + {_sSI: _cUORPRo, _smith: None}, + (_ORP, _ET), + ((lambda: schemas.ORIGIN_REQUEST_POLICY, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_ORIGIN_REQUEST_POLICY: StaticOperationSchema = ( + 23, + n0, + _UORP, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/origin-request-policy/{Id}", + "code": 200, + } + ) + }, + UPDATE_ORIGIN_REQUEST_POLICY_INPUT, + UPDATE_ORIGIN_REQUEST_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY, + lambda: schemas.ORIGIN_REQUEST_POLICY_ALREADY_EXISTS, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.TOO_MANY_COOKIES_IN_ORIGIN_REQUEST_POLICY, + lambda: schemas.TOO_MANY_HEADERS_IN_ORIGIN_REQUEST_POLICY, + lambda: schemas.TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY, + ), +) + +UPDATE_PUBLIC_KEY_INPUT: StaticSchema = ( + 18, + n0, + _UPKI, + {_sSI: _cUPKR, _smit: None}, + (_PKC, _Id, _IM), + ( + (lambda: schemas.PUBLIC_KEY_CONFIG, {_sN: _PKC, _smi: None, _sP: None}), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_PUBLIC_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _UPKO, + {_sSI: _cUPKRo, _smith: None}, + (_PK, _ET), + ((lambda: schemas.PUBLIC_KEY, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_PUBLIC_KEY: StaticOperationSchema = ( + 23, + n0, + _UPK, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/public-key/{Id}/config", "code": 200} + ) + }, + UPDATE_PUBLIC_KEY_INPUT, + UPDATE_PUBLIC_KEY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CANNOT_CHANGE_IMMUTABLE_PUBLIC_KEY_FIELDS, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_PUBLIC_KEY, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +UPDATE_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _URLCI, + {_sSI: _cURLCR, _smit: None}, + (_EPn, _Fie, _N, _ARN, _SR), + ( + (lambda: schemas.END_POINT_LIST, 0), + (lambda: schemas.FIELD_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, 0), + ), +) + +UPDATE_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _URLCO, + {_sSI: _cURLCRo, _smith: None}, + (_RLC,), + ((lambda: schemas.REALTIME_LOG_CONFIG, 0),), +) + +UPDATE_REALTIME_LOG_CONFIG: StaticOperationSchema = ( + 23, + n0, + _URLC, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/realtime-log-config", "code": 200} + ) + }, + UPDATE_REALTIME_LOG_CONFIG_INPUT, + UPDATE_REALTIME_LOG_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_REALTIME_LOG_CONFIG, + ), +) + +UPDATE_RESPONSE_HEADERS_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _URHPI, + {_sSI: _cURHPR, _smit: None}, + (_RHPC, _Id, _IM), + ( + ( + lambda: schemas.RESPONSE_HEADERS_POLICY_CONFIG, + {_sN: _RHPC, _smi: None, _sP: None}, + ), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_RESPONSE_HEADERS_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _URHPO, + {_sSI: _cURHPRo, _smith: None}, + (_RHP, _ET), + ( + (lambda: schemas.RESPONSE_HEADERS_POLICY, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +UPDATE_RESPONSE_HEADERS_POLICY: StaticOperationSchema = ( + 23, + n0, + _URHP, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/response-headers-policy/{Id}", + "code": 200, + } + ) + }, + UPDATE_RESPONSE_HEADERS_POLICY_INPUT, + UPDATE_RESPONSE_HEADERS_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.RESPONSE_HEADERS_POLICY_ALREADY_EXISTS, + lambda: schemas.TOO_LONG_CSP_IN_RESPONSE_HEADERS_POLICY, + lambda: schemas.TOO_MANY_CUSTOM_HEADERS_IN_RESPONSE_HEADERS_POLICY, + lambda: schemas.TOO_MANY_REMOVE_HEADERS_IN_RESPONSE_HEADERS_POLICY, + ), +) + +UPDATE_STREAMING_DISTRIBUTION_INPUT: StaticSchema = ( + 18, + n0, + _USDI, + {_sSI: _cUSDR, _smit: None}, + (_SDC, _Id, _IM), + ( + ( + lambda: schemas.STREAMING_DISTRIBUTION_CONFIG, + {_sN: _SDC, _smi: None, _sP: None}, + ), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_STREAMING_DISTRIBUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _USDO, + {_sSI: _cUSDRo, _smith: None}, + (_SD, _ET), + ( + (lambda: schemas.STREAMING_DISTRIBUTION, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +UPDATE_STREAMING_DISTRIBUTION: StaticOperationSchema = ( + 23, + n0, + _USD, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/streaming-distribution/{Id}/config", + "code": 200, + } + ) + }, + UPDATE_STREAMING_DISTRIBUTION_INPUT, + UPDATE_STREAMING_DISTRIBUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CNAME_ALREADY_EXISTS, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.INVALID_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ORIGIN_ACCESS_IDENTITY, + lambda: schemas.MISSING_BODY, + lambda: schemas.NO_SUCH_STREAMING_DISTRIBUTION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.TOO_MANY_STREAMING_DISTRIBUTION_CNAM_ES, + lambda: schemas.TOO_MANY_TRUSTED_SIGNERS, + lambda: schemas.TRUSTED_SIGNER_DOES_NOT_EXIST, + ), +) + +UPDATE_TRUST_STORE_INPUT: StaticSchema = ( + 18, + n0, + _UTSI, + {_sSI: _cUTSR, _smit: None}, + (_Id, _CCBS, _UCCOCSPE, _IM), + ( + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.CA_CERTIFICATES_BUNDLE_SOURCE, 16), + (lambda: schemas.BOOLEAN, {_sH: _UCCOCSPE}), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +UPDATE_TRUST_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _UTSO, + {_sSI: _cUTSRo, _smith: None}, + (_TSr, _ET), + ((lambda: schemas.TRUST_STORE, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_TRUST_STORE: StaticOperationSchema = ( + 23, + n0, + _UTS, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/trust-store/{Id}", "code": 200} + ) + }, + UPDATE_TRUST_STORE_INPUT, + UPDATE_TRUST_STORE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +UPDATE_VPC_ORIGIN_INPUT: StaticSchema = ( + 18, + n0, + _UVOI, + {_sSI: _cUVOR, _smit: None}, + (_VOEC, _Id, _IM), + ( + ( + lambda: schemas.VPC_ORIGIN_ENDPOINT_CONFIG, + {_sN: _VOEC, _smi: None, _sP: None}, + ), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +UPDATE_VPC_ORIGIN_OUTPUT: StaticSchema = ( + 18, + n0, + _UVOO, + {_sSI: _cUVORo, _smith: None}, + (_VO, _ET), + ((lambda: schemas.VPC_ORIGIN, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_VPC_ORIGIN: StaticOperationSchema = ( + 23, + n0, + _UVO, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/vpc-origin/{Id}", "code": 202} + ) + }, + UPDATE_VPC_ORIGIN_INPUT, + UPDATE_VPC_ORIGIN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CANNOT_UPDATE_ENTITY_WHILE_IN_USE, + lambda: schemas.ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +VERIFY_DNS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _VDCI, + {_sSI: _cVDCR, _smit: None}, + (_Do, _Ide), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 1)), +) + +VERIFY_DNS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _VDCO, + {_sSI: _cVDCRo, _smith: None}, + (_DCLn,), + ((lambda: DNS_CONFIGURATION_LIST, 0),), +) + +VERIFY_DNS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _VDC, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/verify-dns-configuration", + "code": 200, + } + ) + }, + VERIFY_DNS_CONFIGURATION_INPUT, + VERIFY_DNS_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +DNS_CONFIGURATION_STATUS: StaticSchema = ( + 14, + n0, + _DCS, + 0, + (_Val, _Inva, _U), + ((-1, {_sV: _vc}), (-1, {_sV: _ic}), (-1, {_sV: _uc})), +) + +DNS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DCn, + 0, + (_Do, _St, _Rea), + ( + (lambda: schemas.STRING, 1), + (DNS_CONFIGURATION_STATUS, 1), + (lambda: schemas.STRING, 0), + ), +) + +DNS_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _DCLn, + 0, + (_m,), + ((DNS_CONFIGURATION, {_sN: _DCn}),), +) + +CLOUDFRONT2020_05_31: StaticSchema = ( + 21, + n0, + _C_, + { + _aw: MappingProxyType({"name": "cloudfront"}), + _aX: None, + _aws: MappingProxyType( + { + "sdkId": "CloudFront", + "arnNamespace": "cloudfront", + "cloudFormationName": "CloudFront", + "cloudTrailEventSource": "cloudfront.amazonaws.com", + "endpointPrefix": "cloudfront", + } + ), + _sNm: MappingProxyType( + {"uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/"} + ), + }, +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_2.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_2.py new file mode 100644 index 000000000..4e7e3e3e1 --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_2.py @@ -0,0 +1,1277 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_m = "member" +_sN = "smithy.api#xmlName" +_H = "Header" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_Me = "Message" +_Q = "Quantity" +_smi = "smithy.api#required" +_I = "Items" +_E = "Enabled" +_IAT = "IpAddressType" +_Ip = "Ipv4" +_ip = "ipv4" +_DS = "DualStack" +_d = "dualstack" +_St = "Status" +_ICCp = "IpamCidrConfigs" +_AIL = "AnycastIpList" +_Id = "Id" +_N = "Name" +_Ar = "Arn" +_ICp = "IpCount" +_LMT = "LastModifiedTime" +_ET = "ETag" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sH = "smithy.api#httpHeader" +_K = "Key" +_CPC = "CachePolicyConfig" +_Comm = "Comment" +_CPa = "CachePolicy" +_T = "Type" +_Ce = "Certificate" +_smithya = "smithy.api#sensitive" +_L = "Location" +_RT = "RestrictionType" +_DC = "DistributionConfig" +_AILI = "AnycastIpListId" +_Dis = "Distribution" +_ARN = "ARN" +_sP = "smithy.api#httpPayload" +_NSO = "NoSuchOrigin" +_RLCOM = "RealtimeLogConfigOwnerMismatch" +_TMCB = "TooManyCacheBehaviors" +_TMC = "TooManyCertificates" +_TMCNIWL = "TooManyCookieNamesInWhiteList" +_TMD = "TooManyDistributions" +_TMDATCP = "TooManyDistributionsAssociatedToCachePolicy" +_TMDATFLEC = "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" +_TMDATKG = "TooManyDistributionsAssociatedToKeyGroup" +_TMDATOAC = "TooManyDistributionsAssociatedToOriginAccessControl" +_TMDATORP = "TooManyDistributionsAssociatedToOriginRequestPolicy" +_TMDATRHP = "TooManyDistributionsAssociatedToResponseHeadersPolicy" +_TMDWFA = "TooManyDistributionsWithFunctionAssociations" +_TMDWLA = "TooManyDistributionsWithLambdaAssociations" +_TMDWSFARN = "TooManyDistributionsWithSingleFunctionARN" +_TMFA = "TooManyFunctionAssociations" +_TMHIFV = "TooManyHeadersInForwardedValues" +_TMKGATD = "TooManyKeyGroupsAssociatedToDistribution" +_TMLFA = "TooManyLambdaFunctionAssociations" +_TMOCH = "TooManyOriginCustomHeaders" +_TMOGPD = "TooManyOriginGroupsPerDistribution" +_TMO = "TooManyOrigins" +_TMQSP = "TooManyQueryStringParameters" +_TMTS = "TooManyTrustedSigners" +_TKGDNE = "TrustedKeyGroupDoesNotExist" +_TSDNE = "TrustedSignerDoesNotExist" +_TK = "TagKey" +_TV = "TagValue" +_Ta = "Tag" +_Va = "Value" +_TL = "TagList" +_Tag = "Tags" +_CAILI = "CreateAnycastIpListInput" +_cCAILR = "com.amazonaws.cloudfront#CreateAnycastIpListRequest" +_CAILO = "CreateAnycastIpListOutput" +_cCAILRo = "com.amazonaws.cloudfront#CreateAnycastIpListResult" +_EAE = "EntityAlreadyExists" +_ITn = "InvalidTagging" +_UO = "UnsupportedOperation" +_CAIL = "CreateAnycastIpList" +_CCPI = "CreateCachePolicyInput" +_cCCPR = "com.amazonaws.cloudfront#CreateCachePolicyRequest" +_CCPO = "CreateCachePolicyOutput" +_cCCPRo = "com.amazonaws.cloudfront#CreateCachePolicyResult" +_TMCP = "TooManyCachePolicies" +_TMCICP = "TooManyCookiesInCachePolicy" +_TMHICP = "TooManyHeadersInCachePolicy" +_TMQSICP = "TooManyQueryStringsInCachePolicy" +_CCP = "CreateCachePolicy" +_CFOAIAE = "CloudFrontOriginAccessIdentityAlreadyExists" +_CFOAIC = "CloudFrontOriginAccessIdentityConfig" +_CCFOAII = "CreateCloudFrontOriginAccessIdentityInput" +_cCCFOAIR = "com.amazonaws.cloudfront#CreateCloudFrontOriginAccessIdentityRequest" +_CFOAI = "CloudFrontOriginAccessIdentity" +_CCFOAIO = "CreateCloudFrontOriginAccessIdentityOutput" +_cCCFOAIRo = "com.amazonaws.cloudfront#CreateCloudFrontOriginAccessIdentityResult" +_TMCFOAI = "TooManyCloudFrontOriginAccessIdentities" +_CCFOAI = "CreateCloudFrontOriginAccessIdentity" +_FB = "FunctionBlob" +_KVSARN = "KeyValueStoreARN" +_KVSA = "KeyValueStoreAssociation" +_KVSAL = "KeyValueStoreAssociationList" +_KVSAe = "KeyValueStoreAssociations" +_FR = "FunctionRuntime" +_cj = "cloudfront_js_1_0" +_cj_ = "cloudfront-js-1.0" +_cj__ = "cloudfront_js_2_0" +_cj___ = "cloudfront-js-2.0" +_FCu = "FunctionConfig" +_Ru = "Runtime" +_FN = "FunctionName" +_CCFI = "CreateConnectionFunctionInput" +_cCCFR = "com.amazonaws.cloudfront#CreateConnectionFunctionRequest" +_CFC = "ConnectionFunctionConfig" +_CFCo = "ConnectionFunctionCode" +_FS = "FunctionStage" +_DEVELOPMENT = "DEVELOPMENT" +_LIVE = "LIVE" +_CFS = "ConnectionFunctionSummary" +_CFAo = "ConnectionFunctionArn" +_Stag = "Stage" +_CTr = "CreatedTime" +_CCFO = "CreateConnectionFunctionOutput" +_cCCFRo = "com.amazonaws.cloudfront#CreateConnectionFunctionResult" +_ESLE = "EntitySizeLimitExceeded" +_CCF = "CreateConnectionFunction" +_CCGI = "CreateConnectionGroupInput" +_cCCGR = "com.amazonaws.cloudfront#CreateConnectionGroupRequest" +_IE = "Ipv6Enabled" +_CG = "ConnectionGroup" +_RE = "RoutingEndpoint" +_ID = "IsDefault" +_CCGO = "CreateConnectionGroupOutput" +_cCCGRo = "com.amazonaws.cloudfront#CreateConnectionGroupResult" +_CCG = "CreateConnectionGroup" +_CDPAE = "ContinuousDeploymentPolicyAlreadyExists" +_SDDNL = "StagingDistributionDnsNameList" +_DNn = "DnsName" +_SDDN = "StagingDistributionDnsNames" +_CDSHC = "ContinuousDeploymentSingleHeaderConfig" +_SSCe = "SessionStickinessConfig" +_ITTL = "IdleTTL" +_MTTLax = "MaximumTTL" +_f = "float" +_CDSWC = "ContinuousDeploymentSingleWeightConfig" +_We = "Weight" +_CDPT = "ContinuousDeploymentPolicyType" +_SW = "SingleWeight" +_SH = "SingleHeader" +_TCr = "TrafficConfig" +_SWC = "SingleWeightConfig" +_SHC = "SingleHeaderConfig" +_CDPC = "ContinuousDeploymentPolicyConfig" +_CCDPI = "CreateContinuousDeploymentPolicyInput" +_cCCDPR = "com.amazonaws.cloudfront#CreateContinuousDeploymentPolicyRequest" +_CDP = "ContinuousDeploymentPolicy" +_CCDPO = "CreateContinuousDeploymentPolicyOutput" +_cCCDPRo = "com.amazonaws.cloudfront#CreateContinuousDeploymentPolicyResult" +_SDIU = "StagingDistributionInUse" +_TMCDP = "TooManyContinuousDeploymentPolicies" +_CCDP = "CreateContinuousDeploymentPolicy" +_CDPIU = "ContinuousDeploymentPolicyInUse" +_CDIr = "CreateDistributionInput" +_cCDRom = "com.amazonaws.cloudfront#CreateDistributionRequest" +_CDOr = "CreateDistributionOutput" +_cCDRoma = "com.amazonaws.cloudfront#CreateDistributionResult" +_IOACl = "IllegalOriginAccessConfiguration" +_IDNFOAC = "InvalidDomainNameForOriginAccessControl" +_NSCDP = "NoSuchContinuousDeploymentPolicy" +_CDr = "CreateDistribution" +_GRC = "GeoRestrictionCustomization" +_Loc = "Locations" +_CAT = "CustomizationActionType" +_ov = "override" +_dis = "disable" +_WAC = "WebAclCustomization" +_Ac = "Action" +_Cu = "Customizations" +_WA = "WebAcl" +_GRe = "GeoRestrictions" +_KVSC = "KeyValueStoreComment" +_KVSN = "KeyValueStoreName" +_KVS = "KeyValueStore" +_TMSDCNAME = "TooManyStreamingDistributionCNAMEs" +_VIAT = "VpcIpAddressType" +_NSFE = "NoSuchFunctionExists" +_NSMS = "NoSuchMonitoringSubscription" + +NO_SUCH_ORIGIN: StaticSchema = ( + 18, + n0, + _NSO, + {_sm: _c, _sE: 404}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +REALTIME_LOG_CONFIG_OWNER_MISMATCH: StaticSchema = ( + 18, + n0, + _RLCOM, + {_sm: _c, _sE: 401}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_CACHE_BEHAVIORS: StaticSchema = ( + 18, + n0, + _TMCB, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_CERTIFICATES: StaticSchema = ( + 18, + n0, + _TMC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST: StaticSchema = ( + 18, + n0, + _TMCNIWL, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS: StaticSchema = ( + 18, + n0, + _TMD, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY: StaticSchema = ( + 18, + n0, + _TMDATCP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticSchema = ( + 18, + n0, + _TMDATFLEC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP: StaticSchema = ( + 18, + n0, + _TMDATKG, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL: StaticSchema = ( + 18, + n0, + _TMDATOAC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY: StaticSchema = ( + 18, + n0, + _TMDATORP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY: StaticSchema = ( + 18, + n0, + _TMDATRHP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS: StaticSchema = ( + 18, + n0, + _TMDWFA, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS: StaticSchema = ( + 18, + n0, + _TMDWLA, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN: StaticSchema = ( + 18, + n0, + _TMDWSFARN, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_FUNCTION_ASSOCIATIONS: StaticSchema = ( + 18, + n0, + _TMFA, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_HEADERS_IN_FORWARDED_VALUES: StaticSchema = ( + 18, + n0, + _TMHIFV, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION: StaticSchema = ( + 18, + n0, + _TMKGATD, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS: StaticSchema = ( + 18, + n0, + _TMLFA, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_ORIGIN_CUSTOM_HEADERS: StaticSchema = ( + 18, + n0, + _TMOCH, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION: StaticSchema = ( + 18, + n0, + _TMOGPD, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_ORIGINS: StaticSchema = ( + 18, + n0, + _TMO, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_QUERY_STRING_PARAMETERS: StaticSchema = ( + 18, + n0, + _TMQSP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_TRUSTED_SIGNERS: StaticSchema = ( + 18, + n0, + _TMTS, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TRUSTED_KEY_GROUP_DOES_NOT_EXIST: StaticSchema = ( + 18, + n0, + _TKGDNE, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TRUSTED_SIGNER_DOES_NOT_EXIST: StaticSchema = ( + 18, + n0, + _TSDNE, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _Ta, 0, (_K, _Va), ((TAG_KEY, 1), (TAG_VALUE, 0))) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, {_sN: _Ta}),)) + +TAGS: StaticSchema = (18, n0, _Tag, 0, (_I,), ((TAG_LIST, 0),)) + +CREATE_ANYCAST_IP_LIST_INPUT: StaticSchema = ( + 18, + n0, + _CAILI, + {_sSI: _cCAILR, _smit: None}, + (_N, _ICp, _Tag, _IAT, _ICCp), + ( + (lambda: schemas.ANYCAST_IP_LIST_NAME, 1), + (lambda: schemas.INTEGER, 1), + (TAGS, 0), + (lambda: schemas.IP_ADDRESS_TYPE, 0), + (lambda: schemas.IPAM_CIDR_CONFIG_LIST, 0), + ), +) + +CREATE_ANYCAST_IP_LIST_OUTPUT: StaticSchema = ( + 18, + n0, + _CAILO, + {_sSI: _cCAILRo, _smith: None}, + (_AIL, _ET), + ((lambda: schemas.ANYCAST_IP_LIST, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +CREATE_ANYCAST_IP_LIST: StaticOperationSchema = ( + 23, + n0, + _CAIL, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/anycast-ip-list", "code": 202} + ) + }, + CREATE_ANYCAST_IP_LIST_INPUT, + CREATE_ANYCAST_IP_LIST_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.INVALID_ARGUMENT, + lambda: INVALID_TAGGING, + lambda: UNSUPPORTED_OPERATION, + ), +) + +ENTITY_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _EAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_TAGGING: StaticSchema = ( + 18, + n0, + _ITn, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +UNSUPPORTED_OPERATION: StaticSchema = ( + 18, + n0, + _UO, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CREATE_CACHE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _CCPI, + {_sSI: _cCCPR, _smit: None}, + (_CPC,), + ((lambda: schemas.CACHE_POLICY_CONFIG, {_sN: _CPC, _smi: None, _sP: None}),), +) + +CREATE_CACHE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _CCPO, + {_sSI: _cCCPRo, _smith: None}, + (_CPa, _L, _ET), + ( + (lambda: schemas.CACHE_POLICY, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_CACHE_POLICY: StaticOperationSchema = ( + 23, + n0, + _CCP, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/cache-policy", "code": 201} + ) + }, + CREATE_CACHE_POLICY_INPUT, + CREATE_CACHE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CACHE_POLICY_ALREADY_EXISTS, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: TOO_MANY_CACHE_POLICIES, + lambda: TOO_MANY_COOKIES_IN_CACHE_POLICY, + lambda: TOO_MANY_HEADERS_IN_CACHE_POLICY, + lambda: TOO_MANY_QUERY_STRINGS_IN_CACHE_POLICY, + ), +) + +TOO_MANY_CACHE_POLICIES: StaticSchema = ( + 18, + n0, + _TMCP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_COOKIES_IN_CACHE_POLICY: StaticSchema = ( + 18, + n0, + _TMCICP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_HEADERS_IN_CACHE_POLICY: StaticSchema = ( + 18, + n0, + _TMHICP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_QUERY_STRINGS_IN_CACHE_POLICY: StaticSchema = ( + 18, + n0, + _TMQSICP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _CFOAIAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _CCFOAII, + {_sSI: _cCCFOAIR, _smit: None}, + (_CFOAIC,), + ( + ( + lambda: schemas.CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG, + {_sN: _CFOAIC, _smi: None, _sP: None}, + ), + ), +) + +CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _CCFOAIO, + {_sSI: _cCCFOAIRo, _smith: None}, + (_CFOAI, _L, _ET), + ( + (lambda: schemas.CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _CCFOAI, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/origin-access-identity/cloudfront", + "code": 201, + } + ) + }, + CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT, + CREATE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT, + ( + CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_ALREADY_EXISTS, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.MISSING_BODY, + lambda: TOO_MANY_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES, + ), +) + +TOO_MANY_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES: StaticSchema = ( + 18, + n0, + _TMCFOAI, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +FUNCTION_BLOB: StaticSchema = (1, n0, _FB, 4) + +KEY_VALUE_STORE_ARN: StaticSchema = (3, n0, _KVSARN, 0) + +KEY_VALUE_STORE_ASSOCIATION: StaticSchema = ( + 18, + n0, + _KVSA, + 0, + (_KVSARN,), + ((KEY_VALUE_STORE_ARN, 1),), +) + +KEY_VALUE_STORE_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _KVSAL, + 0, + (_m,), + ((KEY_VALUE_STORE_ASSOCIATION, {_sN: _KVSA}),), +) + +KEY_VALUE_STORE_ASSOCIATIONS: StaticSchema = ( + 18, + n0, + _KVSAe, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (KEY_VALUE_STORE_ASSOCIATION_LIST, 0)), +) + +FUNCTION_RUNTIME: StaticSchema = ( + 14, + n0, + _FR, + 0, + (_cj, _cj__), + ((-1, {_sV: _cj_}), (-1, {_sV: _cj___})), +) + +FUNCTION_CONFIG: StaticSchema = ( + 18, + n0, + _FCu, + 0, + (_Comm, _Ru, _KVSAe), + ( + (lambda: schemas.STRING, 1), + (FUNCTION_RUNTIME, 1), + (KEY_VALUE_STORE_ASSOCIATIONS, 0), + ), +) + +FUNCTION_NAME: StaticSchema = (3, n0, _FN, 0) + +CREATE_CONNECTION_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _CCFI, + {_sSI: _cCCFR, _smit: None}, + (_N, _CFC, _CFCo, _Tag), + ((FUNCTION_NAME, 1), (FUNCTION_CONFIG, 1), (FUNCTION_BLOB, 1), (TAGS, 0)), +) + +CREATE_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CCFO, + {_sSI: _cCCFRo, _smith: None}, + (_CFS, _L, _ET), + ( + (lambda: CONNECTION_FUNCTION_SUMMARY, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_CONNECTION_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _CCF, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/connection-function", "code": 201} + ) + }, + CREATE_CONNECTION_FUNCTION_INPUT, + CREATE_CONNECTION_FUNCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: ENTITY_SIZE_LIMIT_EXCEEDED, + lambda: schemas.INVALID_ARGUMENT, + INVALID_TAGGING, + UNSUPPORTED_OPERATION, + ), +) + +FUNCTION_STAGE: StaticSchema = ( + 14, + n0, + _FS, + 0, + (_DEVELOPMENT, _LIVE), + ((-1, {_sV: _DEVELOPMENT}), (-1, {_sV: _LIVE})), +) + +CONNECTION_FUNCTION_SUMMARY: StaticSchema = ( + 18, + n0, + _CFS, + 0, + (_N, _Id, _CFC, _CFAo, _St, _Stag, _CTr, _LMT), + ( + (FUNCTION_NAME, 1), + (lambda: schemas.RESOURCE_ID, 1), + (FUNCTION_CONFIG, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (FUNCTION_STAGE, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +ENTITY_SIZE_LIMIT_EXCEEDED: StaticSchema = ( + 18, + n0, + _ESLE, + {_sm: _c, _sE: 413}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CREATE_CONNECTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CCGI, + {_sSI: _cCCGR, _smit: None}, + (_N, _IE, _Tag, _AILI, _E), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + (TAGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_CONNECTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CCGO, + {_sSI: _cCCGRo, _smith: None}, + (_CG, _ET), + ((lambda: CONNECTION_GROUP, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +CREATE_CONNECTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _CCG, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/connection-group", "code": 201} + ) + }, + CREATE_CONNECTION_GROUP_INPUT, + CREATE_CONNECTION_GROUP_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + INVALID_TAGGING, + ), +) + +CONNECTION_GROUP: StaticSchema = ( + 18, + n0, + _CG, + 0, + (_Id, _N, _Ar, _CTr, _LMT, _Tag, _IE, _RE, _AILI, _St, _E, _ID), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (TAGS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CONTINUOUS_DEPLOYMENT_POLICY_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _CDPAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +STAGING_DISTRIBUTION_DNS_NAME_LIST: StaticSchema = ( + 16, + n0, + _SDDNL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _DNn}),), +) + +STAGING_DISTRIBUTION_DNS_NAMES: StaticSchema = ( + 18, + n0, + _SDDN, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (STAGING_DISTRIBUTION_DNS_NAME_LIST, 0)), +) + +CONTINUOUS_DEPLOYMENT_SINGLE_HEADER_CONFIG: StaticSchema = ( + 18, + n0, + _CDSHC, + 0, + (_H, _Va), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +SESSION_STICKINESS_CONFIG: StaticSchema = ( + 18, + n0, + _SSCe, + 0, + (_ITTL, _MTTLax), + ((lambda: schemas.INTEGER, 1), (lambda: schemas.INTEGER, 1)), +) + +FLOAT: StaticSchema = (9, n0, _f, 0) + +CONTINUOUS_DEPLOYMENT_SINGLE_WEIGHT_CONFIG: StaticSchema = ( + 18, + n0, + _CDSWC, + 0, + (_We, _SSCe), + ((FLOAT, 1), (SESSION_STICKINESS_CONFIG, 0)), +) + +CONTINUOUS_DEPLOYMENT_POLICY_TYPE: StaticSchema = ( + 14, + n0, + _CDPT, + 0, + (_SW, _SH), + ((-1, {_sV: _SW}), (-1, {_sV: _SH})), +) + +TRAFFIC_CONFIG: StaticSchema = ( + 18, + n0, + _TCr, + 0, + (_SWC, _SHC, _T), + ( + (CONTINUOUS_DEPLOYMENT_SINGLE_WEIGHT_CONFIG, 0), + (CONTINUOUS_DEPLOYMENT_SINGLE_HEADER_CONFIG, 0), + (CONTINUOUS_DEPLOYMENT_POLICY_TYPE, 1), + ), +) + +CONTINUOUS_DEPLOYMENT_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _CDPC, + 0, + (_SDDN, _E, _TCr), + ( + (STAGING_DISTRIBUTION_DNS_NAMES, 1), + (lambda: schemas.BOOLEAN, 1), + (TRAFFIC_CONFIG, 0), + ), +) + +CREATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _CCDPI, + {_sSI: _cCCDPR, _smit: None}, + (_CDPC,), + ((CONTINUOUS_DEPLOYMENT_POLICY_CONFIG, {_sN: _CDPC, _smi: None, _sP: None}),), +) + +CREATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _CCDPO, + {_sSI: _cCCDPRo, _smith: None}, + (_CDP, _L, _ET), + ( + (lambda: CONTINUOUS_DEPLOYMENT_POLICY, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_CONTINUOUS_DEPLOYMENT_POLICY: StaticOperationSchema = ( + 23, + n0, + _CCDP, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/continuous-deployment-policy", + "code": 201, + } + ) + }, + CREATE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT, + CREATE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + CONTINUOUS_DEPLOYMENT_POLICY_ALREADY_EXISTS, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: STAGING_DISTRIBUTION_IN_USE, + lambda: TOO_MANY_CONTINUOUS_DEPLOYMENT_POLICIES, + ), +) + +CONTINUOUS_DEPLOYMENT_POLICY: StaticSchema = ( + 18, + n0, + _CDP, + 0, + (_Id, _LMT, _CDPC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (CONTINUOUS_DEPLOYMENT_POLICY_CONFIG, 1), + ), +) + +STAGING_DISTRIBUTION_IN_USE: StaticSchema = ( + 18, + n0, + _SDIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_CONTINUOUS_DEPLOYMENT_POLICIES: StaticSchema = ( + 18, + n0, + _TMCDP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CONTINUOUS_DEPLOYMENT_POLICY_IN_USE: StaticSchema = ( + 18, + n0, + _CDPIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CREATE_DISTRIBUTION_INPUT: StaticSchema = ( + 18, + n0, + _CDIr, + {_sSI: _cCDRom, _smit: None}, + (_DC,), + ((lambda: schemas.DISTRIBUTION_CONFIG, {_sN: _DC, _smi: None, _sP: None}),), +) + +CREATE_DISTRIBUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CDOr, + {_sSI: _cCDRoma, _smith: None}, + (_Dis, _L, _ET), + ( + (lambda: schemas.DISTRIBUTION, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_DISTRIBUTION: StaticOperationSchema = ( + 23, + n0, + _CDr, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/distribution", "code": 201} + ) + }, + CREATE_DISTRIBUTION_INPUT, + CREATE_DISTRIBUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CNAME_ALREADY_EXISTS, + CONTINUOUS_DEPLOYMENT_POLICY_IN_USE, + lambda: schemas.DISTRIBUTION_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: ( + schemas.ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR + ), + lambda: ILLEGAL_ORIGIN_ACCESS_CONFIGURATION, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_DEFAULT_ROOT_OBJECT, + lambda: INVALID_DOMAIN_NAME_FOR_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ERROR_CODE, + lambda: schemas.INVALID_FORWARD_COOKIES, + lambda: schemas.INVALID_FUNCTION_ASSOCIATION, + lambda: schemas.INVALID_GEO_RESTRICTION_PARAMETER, + lambda: schemas.INVALID_HEADERS_FOR_S3_ORIGIN, + lambda: schemas.INVALID_LAMBDA_FUNCTION_ASSOCIATION, + lambda: schemas.INVALID_LOCATION_CODE, + lambda: schemas.INVALID_MINIMUM_PROTOCOL_VERSION, + lambda: schemas.INVALID_ORIGIN, + lambda: schemas.INVALID_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ORIGIN_ACCESS_IDENTITY, + lambda: schemas.INVALID_ORIGIN_KEEPALIVE_TIMEOUT, + lambda: schemas.INVALID_ORIGIN_READ_TIMEOUT, + lambda: schemas.INVALID_PROTOCOL_SETTINGS, + lambda: schemas.INVALID_QUERY_STRING_PARAMETERS, + lambda: schemas.INVALID_RELATIVE_PATH, + lambda: schemas.INVALID_REQUIRED_PROTOCOL, + lambda: schemas.INVALID_RESPONSE_CODE, + lambda: schemas.INVALID_TTL_ORDER, + lambda: schemas.INVALID_VIEWER_CERTIFICATE, + lambda: schemas.INVALID_WEB_ACL_ID, + lambda: schemas.MISSING_BODY, + lambda: schemas.NO_SUCH_CACHE_POLICY, + lambda: NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, + NO_SUCH_ORIGIN, + lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY, + lambda: schemas.NO_SUCH_REALTIME_LOG_CONFIG, + lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY, + REALTIME_LOG_CONFIG_OWNER_MISMATCH, + TOO_MANY_CACHE_BEHAVIORS, + TOO_MANY_CERTIFICATES, + TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, + lambda: schemas.TOO_MANY_DISTRIBUTION_CNAM_ES, + TOO_MANY_DISTRIBUTIONS, + TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, + TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG, + TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, + TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, + TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, + TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, + TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, + TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, + TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, + TOO_MANY_FUNCTION_ASSOCIATIONS, + TOO_MANY_HEADERS_IN_FORWARDED_VALUES, + TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, + TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, + TOO_MANY_ORIGIN_CUSTOM_HEADERS, + TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, + TOO_MANY_ORIGINS, + TOO_MANY_QUERY_STRING_PARAMETERS, + TOO_MANY_TRUSTED_SIGNERS, + TRUSTED_KEY_GROUP_DOES_NOT_EXIST, + TRUSTED_SIGNER_DOES_NOT_EXIST, + ), +) + +ILLEGAL_ORIGIN_ACCESS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IOACl, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_DOMAIN_NAME_FOR_ORIGIN_ACCESS_CONTROL: StaticSchema = ( + 18, + n0, + _IDNFOAC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY: StaticSchema = ( + 18, + n0, + _NSCDP, + {_sm: _c, _sE: 404}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +GEO_RESTRICTION_CUSTOMIZATION: StaticSchema = ( + 18, + n0, + _GRC, + 0, + (_RT, _Loc), + ((lambda: schemas.GEO_RESTRICTION_TYPE, 1), (lambda: schemas.LOCATION_LIST, 0)), +) + +CUSTOMIZATION_ACTION_TYPE: StaticSchema = ( + 14, + n0, + _CAT, + 0, + (_ov, _dis), + ((-1, {_sV: _ov}), (-1, {_sV: _dis})), +) + +WEB_ACL_CUSTOMIZATION: StaticSchema = ( + 18, + n0, + _WAC, + 0, + (_Ac, _Ar), + ((CUSTOMIZATION_ACTION_TYPE, 1), (lambda: schemas.STRING, 0)), +) + +CUSTOMIZATIONS: StaticSchema = ( + 18, + n0, + _Cu, + 0, + (_WA, _Ce, _GRe), + ( + (WEB_ACL_CUSTOMIZATION, 0), + (lambda: schemas.CERTIFICATE, 0), + (GEO_RESTRICTION_CUSTOMIZATION, 0), + ), +) + +KEY_VALUE_STORE_COMMENT: StaticSchema = (3, n0, _KVSC, 0) + +KEY_VALUE_STORE_NAME: StaticSchema = (3, n0, _KVSN, 0) + +KEY_VALUE_STORE: StaticSchema = ( + 18, + n0, + _KVS, + 0, + (_N, _Id, _Comm, _ARN, _St, _LMT), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +TOO_MANY_STREAMING_DISTRIBUTION_CNAM_ES: StaticSchema = ( + 18, + n0, + _TMSDCNAME, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +VPC_IP_ADDRESS_TYPE: StaticSchema = ( + 14, + n0, + _VIAT, + 0, + (_Ip, _DS), + ((-1, {_sV: _ip}), (-1, {_sV: _d})), +) + +NO_SUCH_FUNCTION_EXISTS: StaticSchema = ( + 18, + n0, + _NSFE, + {_sm: _c, _sE: 404}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +NO_SUCH_MONITORING_SUBSCRIPTION: StaticSchema = ( + 18, + n0, + _NSMS, + {_sm: _c, _sE: 404}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_3.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_3.py new file mode 100644 index 000000000..d3b4f436e --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_3.py @@ -0,0 +1,1216 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_Me = "Message" +_Q = "Quantity" +_smi = "smithy.api#required" +_I = "Items" +_KG = "KeyGroup" +_E = "Enabled" +_St = "Status" +_Id = "Id" +_N = "Name" +_Ar = "Arn" +_LMT = "LastModifiedTime" +_ET = "ETag" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sH = "smithy.api#httpHeader" +_FARN = "FunctionARN" +_Comm = "Comment" +_CTLP = "CertificateTransparencyLoggingPreference" +_Di = "Disabled" +_CR = "CallerReference" +_L = "Location" +_DC = "DistributionConfig" +_Dis = "Distribution" +_sP = "smithy.api#httpPayload" +_Va = "Value" +_Tag = "Tags" +_FCu = "FunctionConfig" +_Stag = "Stage" +_CTr = "CreatedTime" +_Cu = "Customizations" +_DI = "DomainItem" +_Do = "Domain" +_DL = "DomainList" +_VTH = "ValidationTokenHost" +_MCR = "ManagedCertificateRequest" +_PDN = "PrimaryDomainName" +_Par = "Parameter" +_Para = "Parameters" +_CDTI = "CreateDistributionTenantInput" +_cCDTR = "com.amazonaws.cloudfront#CreateDistributionTenantRequest" +_DIi = "DistributionId" +_Dom = "Domains" +_CGI = "ConnectionGroupId" +_DSo = "DomainStatus" +_Act = "Active" +_act = "active" +_In = "Inactive" +_in = "inactive" +_DR = "DomainResult" +_DRL = "DomainResultList" +_DT = "DistributionTenant" +_CDTO = "CreateDistributionTenantOutput" +_cCDTRo = "com.amazonaws.cloudfront#CreateDistributionTenantResult" +_IAn = "InvalidAssociation" +_CDT = "CreateDistributionTenant" +_DCWT = "DistributionConfigWithTags" +_CDWTI = "CreateDistributionWithTagsInput" +_cCDWTR = "com.amazonaws.cloudfront#CreateDistributionWithTagsRequest" +_CDWTO = "CreateDistributionWithTagsOutput" +_cCDWTRo = "com.amazonaws.cloudfront#CreateDistributionWithTagsResult" +_CDWT = "CreateDistributionWithTags" +_Fo = "Format" +_URLE = "URLEncoded" +_CTP = "ContentTypeProfile" +_PI = "ProfileId" +_CTon = "ContentType" +_CTPL = "ContentTypeProfileList" +_CTPo = "ContentTypeProfiles" +_CTPC = "ContentTypeProfileConfig" +_FWCTIU = "ForwardWhenContentTypeIsUnknown" +_QAP = "QueryArgProfile" +_QA = "QueryArg" +_QAPL = "QueryArgProfileList" +_QAPu = "QueryArgProfiles" +_QAPC = "QueryArgProfileConfig" +_FWQAPIU = "ForwardWhenQueryArgProfileIsUnknown" +_FLEC = "FieldLevelEncryptionConfig" +_CFLECI = "CreateFieldLevelEncryptionConfigInput" +_cCFLECR = "com.amazonaws.cloudfront#CreateFieldLevelEncryptionConfigRequest" +_FLE = "FieldLevelEncryption" +_CFLECO = "CreateFieldLevelEncryptionConfigOutput" +_cCFLECRo = "com.amazonaws.cloudfront#CreateFieldLevelEncryptionConfigResult" +_FLECAE = "FieldLevelEncryptionConfigAlreadyExists" +_QAPE = "QueryArgProfileEmpty" +_TMFLEC = "TooManyFieldLevelEncryptionConfigs" +_TMFLECTP = "TooManyFieldLevelEncryptionContentTypeProfiles" +_TMFLEQAP = "TooManyFieldLevelEncryptionQueryArgProfiles" +_CFLEC = "CreateFieldLevelEncryptionConfig" +_FPL = "FieldPatternList" +_FPi = "FieldPattern" +_FPie = "FieldPatterns" +_EE = "EncryptionEntity" +_PKI = "PublicKeyId" +_PIr = "ProviderId" +_EEL = "EncryptionEntityList" +_EEn = "EncryptionEntities" +_FLEPC = "FieldLevelEncryptionProfileConfig" +_CFLEPI = "CreateFieldLevelEncryptionProfileInput" +_cCFLEPR = "com.amazonaws.cloudfront#CreateFieldLevelEncryptionProfileRequest" +_FLEP = "FieldLevelEncryptionProfile" +_CFLEPO = "CreateFieldLevelEncryptionProfileOutput" +_cCFLEPRo = "com.amazonaws.cloudfront#CreateFieldLevelEncryptionProfileResult" +_FLEPAE = "FieldLevelEncryptionProfileAlreadyExists" +_FLEPSE = "FieldLevelEncryptionProfileSizeExceeded" +_TMFLEEE = "TooManyFieldLevelEncryptionEncryptionEntities" +_TMFLEFP = "TooManyFieldLevelEncryptionFieldPatterns" +_TMFLEP = "TooManyFieldLevelEncryptionProfiles" +_CFLEP = "CreateFieldLevelEncryptionProfile" +_CFI = "CreateFunctionInput" +_cCFR = "com.amazonaws.cloudfront#CreateFunctionRequest" +_FCun = "FunctionCode" +_FM = "FunctionMetadata" +_FSu = "FunctionSummary" +_CFO = "CreateFunctionOutput" +_cCFRo = "com.amazonaws.cloudfront#CreateFunctionResult" +_FAE = "FunctionAlreadyExists" +_FSLE = "FunctionSizeLimitExceeded" +_TMF = "TooManyFunctions" +_CFr = "CreateFunction" +_PL = "PathList" +_Pat = "Path" +_Path = "Paths" +_IBn = "InvalidationBatch" +_CII = "CreateInvalidationInput" +_cCIR = "com.amazonaws.cloudfront#CreateInvalidationRequest" +_Inv = "Invalidation" +_CTre = "CreateTime" +_CIO = "CreateInvalidationOutput" +_cCIRo = "com.amazonaws.cloudfront#CreateInvalidationResult" +_TMIIP = "TooManyInvalidationsInProgress" +_CI = "CreateInvalidation" +_CIFDTI = "CreateInvalidationForDistributionTenantInput" +_cCIFDTR = "com.amazonaws.cloudfront#CreateInvalidationForDistributionTenantRequest" +_CIFDTO = "CreateInvalidationForDistributionTenantOutput" +_cCIFDTRo = "com.amazonaws.cloudfront#CreateInvalidationForDistributionTenantResult" +_CIFDT = "CreateInvalidationForDistributionTenant" +_PKIL = "PublicKeyIdList" +_PK = "PublicKey" +_KGC = "KeyGroupConfig" +_CKGI = "CreateKeyGroupInput" +_cCKGR = "com.amazonaws.cloudfront#CreateKeyGroupRequest" +_CKGO = "CreateKeyGroupOutput" +_cCKGRo = "com.amazonaws.cloudfront#CreateKeyGroupResult" +_KGAE = "KeyGroupAlreadyExists" +_TMKG = "TooManyKeyGroups" +_TMPKIKG = "TooManyPublicKeysInKeyGroup" +_CKG = "CreateKeyGroup" +_IST = "ImportSourceType" +_S_ = "S3" +_ISm = "ImportSource" +_ST = "SourceType" +_SARN = "SourceARN" +_CKVSI = "CreateKeyValueStoreInput" +_cCKVSR = "com.amazonaws.cloudfront#CreateKeyValueStoreRequest" +_KVS = "KeyValueStore" +_CKVSO = "CreateKeyValueStoreOutput" +_cCKVSRo = "com.amazonaws.cloudfront#CreateKeyValueStoreResult" +_CKVS = "CreateKeyValueStore" +_RMSS = "RealtimeMetricsSubscriptionStatus" +_RMSC = "RealtimeMetricsSubscriptionConfig" +_MS = "MonitoringSubscription" + +DOMAIN_ITEM: StaticSchema = (18, n0, _DI, 0, (_Do,), ((lambda: schemas.STRING, 1),)) + +DOMAIN_LIST: StaticSchema = (16, n0, _DL, 0, (_m,), ((DOMAIN_ITEM, 0),)) + +MANAGED_CERTIFICATE_REQUEST: StaticSchema = ( + 18, + n0, + _MCR, + 0, + (_VTH, _PDN, _CTLP), + ( + (lambda: schemas.VALIDATION_TOKEN_HOST, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.CERTIFICATE_TRANSPARENCY_LOGGING_PREFERENCE, 0), + ), +) + +PARAMETER: StaticSchema = ( + 18, + n0, + _Par, + 0, + (_N, _Va), + ((lambda: schemas.PARAMETER_NAME, 1), (lambda: schemas.PARAMETER_VALUE, 1)), +) + +PARAMETERS: StaticSchema = (16, n0, _Para, 0, (_m,), ((PARAMETER, 0),)) + +CREATE_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( + 18, + n0, + _CDTI, + {_sSI: _cCDTR, _smit: None}, + (_DIi, _N, _Dom, _Tag, _Cu, _Para, _CGI, _MCR, _E), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (DOMAIN_LIST, 1), + (lambda: schemas.TAGS, 0), + (lambda: schemas.CUSTOMIZATIONS, 0), + (PARAMETERS, 0), + (lambda: schemas.STRING, 0), + (MANAGED_CERTIFICATE_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDTO, + {_sSI: _cCDTRo, _smith: None}, + (_DT, _ET), + ((lambda: DISTRIBUTION_TENANT, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +CREATE_DISTRIBUTION_TENANT: StaticOperationSchema = ( + 23, + n0, + _CDT, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/distribution-tenant", "code": 201} + ) + }, + CREATE_DISTRIBUTION_TENANT_INPUT, + CREATE_DISTRIBUTION_TENANT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CNAME_ALREADY_EXISTS, + lambda: schemas.ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: INVALID_ASSOCIATION, + lambda: schemas.INVALID_TAGGING, + ), +) + +DOMAIN_STATUS: StaticSchema = ( + 14, + n0, + _DSo, + 0, + (_Act, _In), + ((-1, {_sV: _act}), (-1, {_sV: _in})), +) + +DOMAIN_RESULT: StaticSchema = ( + 18, + n0, + _DR, + 0, + (_Do, _St), + ((lambda: schemas.STRING, 1), (DOMAIN_STATUS, 0)), +) + +DOMAIN_RESULT_LIST: StaticSchema = (16, n0, _DRL, 0, (_m,), ((DOMAIN_RESULT, 0),)) + +DISTRIBUTION_TENANT: StaticSchema = ( + 18, + n0, + _DT, + 0, + (_Id, _DIi, _N, _Ar, _Dom, _Tag, _Cu, _Para, _CGI, _CTr, _LMT, _E, _St), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DOMAIN_RESULT_LIST, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.CUSTOMIZATIONS, 0), + (PARAMETERS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +INVALID_ASSOCIATION: StaticSchema = ( + 18, + n0, + _IAn, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DISTRIBUTION_CONFIG_WITH_TAGS: StaticSchema = ( + 18, + n0, + _DCWT, + 0, + (_DC, _Tag), + ((lambda: schemas.DISTRIBUTION_CONFIG, 1), (lambda: schemas.TAGS, 1)), +) + +CREATE_DISTRIBUTION_WITH_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _CDWTI, + {_sSI: _cCDWTR, _smit: None}, + (_DCWT,), + ((DISTRIBUTION_CONFIG_WITH_TAGS, {_sN: _DCWT, _smi: None, _sP: None}),), +) + +CREATE_DISTRIBUTION_WITH_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _CDWTO, + {_sSI: _cCDWTRo, _smith: None}, + (_Dis, _L, _ET), + ( + (lambda: schemas.DISTRIBUTION, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_DISTRIBUTION_WITH_TAGS: StaticOperationSchema = ( + 23, + n0, + _CDWT, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/distribution?WithTags", "code": 201} + ) + }, + CREATE_DISTRIBUTION_WITH_TAGS_INPUT, + CREATE_DISTRIBUTION_WITH_TAGS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CNAME_ALREADY_EXISTS, + lambda: schemas.CONTINUOUS_DEPLOYMENT_POLICY_IN_USE, + lambda: schemas.DISTRIBUTION_ALREADY_EXISTS, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: ( + schemas.ILLEGAL_FIELD_LEVEL_ENCRYPTION_CONFIG_ASSOCIATION_WITH_CACHE_BEHAVIOR + ), + lambda: schemas.ILLEGAL_ORIGIN_ACCESS_CONFIGURATION, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_DEFAULT_ROOT_OBJECT, + lambda: schemas.INVALID_DOMAIN_NAME_FOR_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ERROR_CODE, + lambda: schemas.INVALID_FORWARD_COOKIES, + lambda: schemas.INVALID_FUNCTION_ASSOCIATION, + lambda: schemas.INVALID_GEO_RESTRICTION_PARAMETER, + lambda: schemas.INVALID_HEADERS_FOR_S3_ORIGIN, + lambda: schemas.INVALID_LAMBDA_FUNCTION_ASSOCIATION, + lambda: schemas.INVALID_LOCATION_CODE, + lambda: schemas.INVALID_MINIMUM_PROTOCOL_VERSION, + lambda: schemas.INVALID_ORIGIN, + lambda: schemas.INVALID_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ORIGIN_ACCESS_IDENTITY, + lambda: schemas.INVALID_ORIGIN_KEEPALIVE_TIMEOUT, + lambda: schemas.INVALID_ORIGIN_READ_TIMEOUT, + lambda: schemas.INVALID_PROTOCOL_SETTINGS, + lambda: schemas.INVALID_QUERY_STRING_PARAMETERS, + lambda: schemas.INVALID_RELATIVE_PATH, + lambda: schemas.INVALID_REQUIRED_PROTOCOL, + lambda: schemas.INVALID_RESPONSE_CODE, + lambda: schemas.INVALID_TAGGING, + lambda: schemas.INVALID_TTL_ORDER, + lambda: schemas.INVALID_VIEWER_CERTIFICATE, + lambda: schemas.INVALID_WEB_ACL_ID, + lambda: schemas.MISSING_BODY, + lambda: schemas.NO_SUCH_CACHE_POLICY, + lambda: schemas.NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, + lambda: schemas.NO_SUCH_ORIGIN, + lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY, + lambda: schemas.NO_SUCH_REALTIME_LOG_CONFIG, + lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY, + lambda: schemas.REALTIME_LOG_CONFIG_OWNER_MISMATCH, + lambda: schemas.TOO_MANY_CACHE_BEHAVIORS, + lambda: schemas.TOO_MANY_CERTIFICATES, + lambda: schemas.TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST, + lambda: schemas.TOO_MANY_DISTRIBUTION_CNAM_ES, + lambda: schemas.TOO_MANY_DISTRIBUTIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY, + lambda: ( + schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_FIELD_LEVEL_ENCRYPTION_CONFIG + ), + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_KEY_GROUP, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_REQUEST_POLICY, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_RESPONSE_HEADERS_POLICY, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_LAMBDA_ASSOCIATIONS, + lambda: schemas.TOO_MANY_DISTRIBUTIONS_WITH_SINGLE_FUNCTION_ARN, + lambda: schemas.TOO_MANY_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_HEADERS_IN_FORWARDED_VALUES, + lambda: schemas.TOO_MANY_KEY_GROUPS_ASSOCIATED_TO_DISTRIBUTION, + lambda: schemas.TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS, + lambda: schemas.TOO_MANY_ORIGIN_CUSTOM_HEADERS, + lambda: schemas.TOO_MANY_ORIGIN_GROUPS_PER_DISTRIBUTION, + lambda: schemas.TOO_MANY_ORIGINS, + lambda: schemas.TOO_MANY_QUERY_STRING_PARAMETERS, + lambda: schemas.TOO_MANY_TRUSTED_SIGNERS, + lambda: schemas.TRUSTED_KEY_GROUP_DOES_NOT_EXIST, + lambda: schemas.TRUSTED_SIGNER_DOES_NOT_EXIST, + ), +) + +FORMAT: StaticSchema = (14, n0, _Fo, 0, (_URLE,), ((-1, {_sV: _URLE}),)) + +CONTENT_TYPE_PROFILE: StaticSchema = ( + 18, + n0, + _CTP, + 0, + (_Fo, _PI, _CTon), + ((FORMAT, 1), (lambda: schemas.STRING, 0), (lambda: schemas.STRING, 1)), +) + +CONTENT_TYPE_PROFILE_LIST: StaticSchema = ( + 16, + n0, + _CTPL, + 0, + (_m,), + ((CONTENT_TYPE_PROFILE, {_sN: _CTP}),), +) + +CONTENT_TYPE_PROFILES: StaticSchema = ( + 18, + n0, + _CTPo, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (CONTENT_TYPE_PROFILE_LIST, 0)), +) + +CONTENT_TYPE_PROFILE_CONFIG: StaticSchema = ( + 18, + n0, + _CTPC, + 0, + (_FWCTIU, _CTPo), + ((lambda: schemas.BOOLEAN, 1), (CONTENT_TYPE_PROFILES, 0)), +) + +QUERY_ARG_PROFILE: StaticSchema = ( + 18, + n0, + _QAP, + 0, + (_QA, _PI), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +QUERY_ARG_PROFILE_LIST: StaticSchema = ( + 16, + n0, + _QAPL, + 0, + (_m,), + ((QUERY_ARG_PROFILE, {_sN: _QAP}),), +) + +QUERY_ARG_PROFILES: StaticSchema = ( + 18, + n0, + _QAPu, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (QUERY_ARG_PROFILE_LIST, 0)), +) + +QUERY_ARG_PROFILE_CONFIG: StaticSchema = ( + 18, + n0, + _QAPC, + 0, + (_FWQAPIU, _QAPu), + ((lambda: schemas.BOOLEAN, 1), (QUERY_ARG_PROFILES, 0)), +) + +FIELD_LEVEL_ENCRYPTION_CONFIG: StaticSchema = ( + 18, + n0, + _FLEC, + 0, + (_CR, _Comm, _QAPC, _CTPC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (QUERY_ARG_PROFILE_CONFIG, 0), + (CONTENT_TYPE_PROFILE_CONFIG, 0), + ), +) + +CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _CFLECI, + {_sSI: _cCFLECR, _smit: None}, + (_FLEC,), + ((FIELD_LEVEL_ENCRYPTION_CONFIG, {_sN: _FLEC, _smi: None, _sP: None}),), +) + +CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _CFLECO, + {_sSI: _cCFLECRo, _smith: None}, + (_FLE, _L, _ET), + ( + (lambda: FIELD_LEVEL_ENCRYPTION, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _CFLEC, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/field-level-encryption", "code": 201} + ) + }, + CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT, + CREATE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT, + ( + lambda: FIELD_LEVEL_ENCRYPTION_CONFIG_ALREADY_EXISTS, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, + lambda: QUERY_ARG_PROFILE_EMPTY, + lambda: TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONFIGS, + lambda: TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONTENT_TYPE_PROFILES, + lambda: TOO_MANY_FIELD_LEVEL_ENCRYPTION_QUERY_ARG_PROFILES, + ), +) + +FIELD_LEVEL_ENCRYPTION: StaticSchema = ( + 18, + n0, + _FLE, + 0, + (_Id, _LMT, _FLEC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (FIELD_LEVEL_ENCRYPTION_CONFIG, 1), + ), +) + +FIELD_LEVEL_ENCRYPTION_CONFIG_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _FLECAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +QUERY_ARG_PROFILE_EMPTY: StaticSchema = ( + 18, + n0, + _QAPE, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONFIGS: StaticSchema = ( + 18, + n0, + _TMFLEC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_FIELD_LEVEL_ENCRYPTION_CONTENT_TYPE_PROFILES: StaticSchema = ( + 18, + n0, + _TMFLECTP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_FIELD_LEVEL_ENCRYPTION_QUERY_ARG_PROFILES: StaticSchema = ( + 18, + n0, + _TMFLEQAP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +FIELD_PATTERN_LIST: StaticSchema = ( + 16, + n0, + _FPL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _FPi}),), +) + +FIELD_PATTERNS: StaticSchema = ( + 18, + n0, + _FPie, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (FIELD_PATTERN_LIST, 0)), +) + +ENCRYPTION_ENTITY: StaticSchema = ( + 18, + n0, + _EE, + 0, + (_PKI, _PIr, _FPie), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1), (FIELD_PATTERNS, 1)), +) + +ENCRYPTION_ENTITY_LIST: StaticSchema = ( + 16, + n0, + _EEL, + 0, + (_m,), + ((ENCRYPTION_ENTITY, {_sN: _EE}),), +) + +ENCRYPTION_ENTITIES: StaticSchema = ( + 18, + n0, + _EEn, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (ENCRYPTION_ENTITY_LIST, 0)), +) + +FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG: StaticSchema = ( + 18, + n0, + _FLEPC, + 0, + (_N, _CR, _Comm, _EEn), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (ENCRYPTION_ENTITIES, 1), + ), +) + +CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _CFLEPI, + {_sSI: _cCFLEPR, _smit: None}, + (_FLEPC,), + ((FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG, {_sN: _FLEPC, _smi: None, _sP: None}),), +) + +CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _CFLEPO, + {_sSI: _cCFLEPRo, _smith: None}, + (_FLEP, _L, _ET), + ( + (lambda: FIELD_LEVEL_ENCRYPTION_PROFILE, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticOperationSchema = ( + 23, + n0, + _CFLEP, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/field-level-encryption-profile", + "code": 201, + } + ) + }, + CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT, + CREATE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT, + ( + lambda: FIELD_LEVEL_ENCRYPTION_PROFILE_ALREADY_EXISTS, + lambda: FIELD_LEVEL_ENCRYPTION_PROFILE_SIZE_EXCEEDED, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_PUBLIC_KEY, + lambda: TOO_MANY_FIELD_LEVEL_ENCRYPTION_ENCRYPTION_ENTITIES, + lambda: TOO_MANY_FIELD_LEVEL_ENCRYPTION_FIELD_PATTERNS, + lambda: TOO_MANY_FIELD_LEVEL_ENCRYPTION_PROFILES, + ), +) + +FIELD_LEVEL_ENCRYPTION_PROFILE: StaticSchema = ( + 18, + n0, + _FLEP, + 0, + (_Id, _LMT, _FLEPC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG, 1), + ), +) + +FIELD_LEVEL_ENCRYPTION_PROFILE_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _FLEPAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +FIELD_LEVEL_ENCRYPTION_PROFILE_SIZE_EXCEEDED: StaticSchema = ( + 18, + n0, + _FLEPSE, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_FIELD_LEVEL_ENCRYPTION_ENCRYPTION_ENTITIES: StaticSchema = ( + 18, + n0, + _TMFLEEE, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_FIELD_LEVEL_ENCRYPTION_FIELD_PATTERNS: StaticSchema = ( + 18, + n0, + _TMFLEFP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_FIELD_LEVEL_ENCRYPTION_PROFILES: StaticSchema = ( + 18, + n0, + _TMFLEP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CREATE_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _CFI, + {_sSI: _cCFR, _smit: None}, + (_N, _FCu, _FCun, _Tag), + ( + (lambda: schemas.FUNCTION_NAME, 1), + (lambda: schemas.FUNCTION_CONFIG, 1), + (lambda: schemas.FUNCTION_BLOB, 1), + (lambda: schemas.TAGS, 0), + ), +) + +CREATE_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CFO, + {_sSI: _cCFRo, _smith: None}, + (_FSu, _L, _ET), + ( + (lambda: FUNCTION_SUMMARY, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _CFr, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/function", "code": 201} + ) + }, + CREATE_FUNCTION_INPUT, + CREATE_FUNCTION_OUTPUT, + ( + lambda: FUNCTION_ALREADY_EXISTS, + lambda: FUNCTION_SIZE_LIMIT_EXCEEDED, + lambda: schemas.INVALID_ARGUMENT, + lambda: TOO_MANY_FUNCTIONS, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +FUNCTION_METADATA: StaticSchema = ( + 18, + n0, + _FM, + 0, + (_FARN, _Stag, _CTr, _LMT), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.FUNCTION_STAGE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +FUNCTION_SUMMARY: StaticSchema = ( + 18, + n0, + _FSu, + 0, + (_N, _St, _FCu, _FM), + ( + (lambda: schemas.FUNCTION_NAME, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.FUNCTION_CONFIG, 1), + (FUNCTION_METADATA, 1), + ), +) + +FUNCTION_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _FAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +FUNCTION_SIZE_LIMIT_EXCEEDED: StaticSchema = ( + 18, + n0, + _FSLE, + {_sm: _c, _sE: 413}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_FUNCTIONS: StaticSchema = ( + 18, + n0, + _TMF, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +PATH_LIST: StaticSchema = ( + 16, + n0, + _PL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _Pat}),), +) + +PATHS: StaticSchema = ( + 18, + n0, + _Path, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (PATH_LIST, 0)), +) + +INVALIDATION_BATCH: StaticSchema = ( + 18, + n0, + _IBn, + 0, + (_Path, _CR), + ((PATHS, 1), (lambda: schemas.STRING, 1)), +) + +CREATE_INVALIDATION_INPUT: StaticSchema = ( + 18, + n0, + _CII, + {_sSI: _cCIR, _smit: None}, + (_DIi, _IBn), + ( + (lambda: schemas.STRING, 9), + (INVALIDATION_BATCH, {_sN: _IBn, _smi: None, _sP: None}), + ), +) + +CREATE_INVALIDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CIO, + {_sSI: _cCIRo, _smith: None}, + (_L, _Inv), + ((lambda: schemas.STRING, {_sH: _L}), (lambda: INVALIDATION, 16)), +) + +CREATE_INVALIDATION: StaticOperationSchema = ( + 23, + n0, + _CI, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/distribution/{DistributionId}/invalidation", + "code": 201, + } + ) + }, + CREATE_INVALIDATION_INPUT, + CREATE_INVALIDATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.BATCH_TOO_LARGE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.MISSING_BODY, + lambda: schemas.NO_SUCH_DISTRIBUTION, + lambda: TOO_MANY_INVALIDATIONS_IN_PROGRESS, + ), +) + +INVALIDATION: StaticSchema = ( + 18, + n0, + _Inv, + 0, + (_Id, _St, _CTre, _IBn), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (INVALIDATION_BATCH, 1), + ), +) + +TOO_MANY_INVALIDATIONS_IN_PROGRESS: StaticSchema = ( + 18, + n0, + _TMIIP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( + 18, + n0, + _CIFDTI, + {_sSI: _cCIFDTR, _smit: None}, + (_Id, _IBn), + ( + (lambda: schemas.STRING, 9), + (INVALIDATION_BATCH, {_sN: _IBn, _smi: None, _sP: None}), + ), +) + +CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( + 18, + n0, + _CIFDTO, + {_sSI: _cCIFDTRo, _smith: None}, + (_L, _Inv), + ((lambda: schemas.STRING, {_sH: _L}), (INVALIDATION, 16)), +) + +CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT: StaticOperationSchema = ( + 23, + n0, + _CIFDT, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/distribution-tenant/{Id}/invalidation", + "code": 201, + } + ) + }, + CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT, + CREATE_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.BATCH_TOO_LARGE, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.MISSING_BODY, + TOO_MANY_INVALIDATIONS_IN_PROGRESS, + ), +) + +PUBLIC_KEY_ID_LIST: StaticSchema = ( + 16, + n0, + _PKIL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _PK}),), +) + +KEY_GROUP_CONFIG: StaticSchema = ( + 18, + n0, + _KGC, + 0, + (_N, _I, _Comm), + ((lambda: schemas.STRING, 1), (PUBLIC_KEY_ID_LIST, 1), (lambda: schemas.STRING, 0)), +) + +CREATE_KEY_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CKGI, + {_sSI: _cCKGR, _smit: None}, + (_KGC,), + ((KEY_GROUP_CONFIG, {_sN: _KGC, _smi: None, _sP: None}),), +) + +CREATE_KEY_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CKGO, + {_sSI: _cCKGRo, _smith: None}, + (_KG, _L, _ET), + ( + (lambda: KEY_GROUP, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_KEY_GROUP: StaticOperationSchema = ( + 23, + n0, + _CKG, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/key-group", "code": 201} + ) + }, + CREATE_KEY_GROUP_INPUT, + CREATE_KEY_GROUP_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT, + lambda: KEY_GROUP_ALREADY_EXISTS, + lambda: TOO_MANY_KEY_GROUPS, + lambda: TOO_MANY_PUBLIC_KEYS_IN_KEY_GROUP, + ), +) + +KEY_GROUP: StaticSchema = ( + 18, + n0, + _KG, + 0, + (_Id, _LMT, _KGC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (KEY_GROUP_CONFIG, 1), + ), +) + +KEY_GROUP_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _KGAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_KEY_GROUPS: StaticSchema = ( + 18, + n0, + _TMKG, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_PUBLIC_KEYS_IN_KEY_GROUP: StaticSchema = ( + 18, + n0, + _TMPKIKG, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +IMPORT_SOURCE_TYPE: StaticSchema = (14, n0, _IST, 0, (_S_,), ((-1, {_sV: _S_}),)) + +IMPORT_SOURCE: StaticSchema = ( + 18, + n0, + _ISm, + 0, + (_ST, _SARN), + ((IMPORT_SOURCE_TYPE, 1), (lambda: schemas.STRING, 1)), +) + +CREATE_KEY_VALUE_STORE_INPUT: StaticSchema = ( + 18, + n0, + _CKVSI, + {_sSI: _cCKVSR, _smit: None}, + (_N, _Comm, _ISm, _Tag), + ( + (lambda: schemas.KEY_VALUE_STORE_NAME, 1), + (lambda: schemas.KEY_VALUE_STORE_COMMENT, 0), + (IMPORT_SOURCE, 0), + (lambda: schemas.TAGS, 0), + ), +) + +CREATE_KEY_VALUE_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _CKVSO, + {_sSI: _cCKVSRo, _smith: None}, + (_KVS, _ET, _L), + ( + (lambda: schemas.KEY_VALUE_STORE, 16), + (lambda: schemas.STRING, {_sH: _ET}), + (lambda: schemas.STRING, {_sH: _L}), + ), +) + +CREATE_KEY_VALUE_STORE: StaticOperationSchema = ( + 23, + n0, + _CKVS, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/key-value-store", "code": 201} + ) + }, + CREATE_KEY_VALUE_STORE_INPUT, + CREATE_KEY_VALUE_STORE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.ENTITY_SIZE_LIMIT_EXCEEDED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +REALTIME_METRICS_SUBSCRIPTION_STATUS: StaticSchema = ( + 14, + n0, + _RMSS, + 0, + (_E, _Di), + ((-1, {_sV: _E}), (-1, {_sV: _Di})), +) + +REALTIME_METRICS_SUBSCRIPTION_CONFIG: StaticSchema = ( + 18, + n0, + _RMSC, + 0, + (_RMSS,), + ((REALTIME_METRICS_SUBSCRIPTION_STATUS, 1),), +) + +MONITORING_SUBSCRIPTION: StaticSchema = ( + 18, + n0, + _MS, + 0, + (_RMSC,), + ((REALTIME_METRICS_SUBSCRIPTION_CONFIG, 0),), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_4.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_4.py new file mode 100644 index 000000000..025f0ff2a --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_4.py @@ -0,0 +1,1196 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_m = "member" +_sN = "smithy.api#xmlName" +_H = "Header" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_Me = "Message" +_Q = "Quantity" +_smi = "smithy.api#required" +_I = "Items" +_E = "Enabled" +_ATS = "ActiveTrustedSigners" +_A = "Aliases" +_St = "Status" +_Id = "Id" +_N = "Name" +_LMT = "LastModifiedTime" +_ET = "ETag" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sH = "smithy.api#httpHeader" +_B = "Bucket" +_n = "none" +_wh = "whitelist" +_al = "all" +_He = "Headers" +_Co = "Cookies" +_TS = "TrustedSigners" +_aE = "allExcept" +_CBo = "CookieBehavior" +_HB = "HeaderBehavior" +_QSB = "QueryStringBehavior" +_QSu = "QueryStrings" +_HC = "HeadersConfig" +_CC = "CookiesConfig" +_QSC = "QueryStringsConfig" +_Comm = "Comment" +_CR = "CallerReference" +_Pre = "Prefix" +_DN = "DomainName" +_PC = "PriceClass" +_L = "Location" +_Lo = "Logging" +_ARN = "ARN" +_sP = "smithy.api#httpPayload" +_Va = "Value" +_DIi = "DistributionId" +_PK = "PublicKey" +_MS = "MonitoringSubscription" +_CMSI = "CreateMonitoringSubscriptionInput" +_cCMSR = "com.amazonaws.cloudfront#CreateMonitoringSubscriptionRequest" +_CMSO = "CreateMonitoringSubscriptionOutput" +_cCMSRo = "com.amazonaws.cloudfront#CreateMonitoringSubscriptionResult" +_MSAE = "MonitoringSubscriptionAlreadyExists" +_CMS = "CreateMonitoringSubscription" +_OACOT = "OriginAccessControlOriginTypes" +_s_ = "s3" +_me = "mediastore" +_med = "mediapackagev2" +_la = "lambda" +_OACSB = "OriginAccessControlSigningBehaviors" +_ne = "never" +_alw = "always" +_no = "no_override" +_no_ = "no-override" +_aaa = "always_amz_auth" +_aaa_ = "always-amz-auth" +_OACSP = "OriginAccessControlSigningProtocols" +_sig = "sigv4" +_sigv = "sigv4a" +_OACC = "OriginAccessControlConfig" +_Des = "Description" +_SPi = "SigningProtocol" +_SB = "SigningBehavior" +_OACOTr = "OriginAccessControlOriginType" +_COACI = "CreateOriginAccessControlInput" +_cCOACR = "com.amazonaws.cloudfront#CreateOriginAccessControlRequest" +_OAC = "OriginAccessControl" +_COACO = "CreateOriginAccessControlOutput" +_cCOACRo = "com.amazonaws.cloudfront#CreateOriginAccessControlResult" +_OACAE = "OriginAccessControlAlreadyExists" +_TMOAC = "TooManyOriginAccessControls" +_COAC = "CreateOriginAccessControl" +_ORPCB = "OriginRequestPolicyCookieBehavior" +_ORPCC = "OriginRequestPolicyCookiesConfig" +_ORPHB = "OriginRequestPolicyHeaderBehavior" +_aV = "allViewer" +_aVAWCF = "allViewerAndWhitelistCloudFront" +_ORPHC = "OriginRequestPolicyHeadersConfig" +_ORPQSB = "OriginRequestPolicyQueryStringBehavior" +_ORPQSC = "OriginRequestPolicyQueryStringsConfig" +_ORPC = "OriginRequestPolicyConfig" +_CORPI = "CreateOriginRequestPolicyInput" +_cCORPR = "com.amazonaws.cloudfront#CreateOriginRequestPolicyRequest" +_ORP = "OriginRequestPolicy" +_CORPO = "CreateOriginRequestPolicyOutput" +_cCORPRo = "com.amazonaws.cloudfront#CreateOriginRequestPolicyResult" +_ORPAE = "OriginRequestPolicyAlreadyExists" +_TMCIORP = "TooManyCookiesInOriginRequestPolicy" +_TMHIORP = "TooManyHeadersInOriginRequestPolicy" +_TMORP = "TooManyOriginRequestPolicies" +_TMQSIORP = "TooManyQueryStringsInOriginRequestPolicy" +_CORP = "CreateOriginRequestPolicy" +_PKC = "PublicKeyConfig" +_CPKI = "CreatePublicKeyInput" +_cCPKR = "com.amazonaws.cloudfront#CreatePublicKeyRequest" +_CPKO = "CreatePublicKeyOutput" +_cCPKRo = "com.amazonaws.cloudfront#CreatePublicKeyResult" +_PKAE = "PublicKeyAlreadyExists" +_TMPK = "TooManyPublicKeys" +_CPK = "CreatePublicKey" +_KSC = "KinesisStreamConfig" +_RARN = "RoleARN" +_SARNt = "StreamARN" +_EP = "EndPoint" +_STt = "StreamType" +_EPL = "EndPointList" +_FL = "FieldList" +_Fi = "Field" +_CRLCI = "CreateRealtimeLogConfigInput" +_cCRLCR = "com.amazonaws.cloudfront#CreateRealtimeLogConfigRequest" +_EPn = "EndPoints" +_Fie = "Fields" +_SR = "SamplingRate" +_RLC = "RealtimeLogConfig" +_CRLCO = "CreateRealtimeLogConfigOutput" +_cCRLCRo = "com.amazonaws.cloudfront#CreateRealtimeLogConfigResult" +_RLCAE = "RealtimeLogConfigAlreadyExists" +_TMRLC = "TooManyRealtimeLogConfigs" +_CRLC = "CreateRealtimeLogConfig" +_RHPACAH = "ResponseHeadersPolicyAccessControlAllowHeaders" +_RHPACAM = "ResponseHeadersPolicyAccessControlAllowMethods" +_RHPACAO = "ResponseHeadersPolicyAccessControlAllowOrigins" +_RHPACEH = "ResponseHeadersPolicyAccessControlExposeHeaders" +_RHPCC = "ResponseHeadersPolicyCorsConfig" +_ACAO = "AccessControlAllowOrigins" +_ACAH = "AccessControlAllowHeaders" +_ACAM = "AccessControlAllowMethods" +_ACAC = "AccessControlAllowCredentials" +_ACEH = "AccessControlExposeHeaders" +_ACMAS = "AccessControlMaxAgeSec" +_OO = "OriginOverride" +_RHPCH = "ResponseHeadersPolicyCustomHeader" +_Ov = "Override" +_RHPCHL = "ResponseHeadersPolicyCustomHeaderList" +_RHPCHC = "ResponseHeadersPolicyCustomHeadersConfig" +_RHPRH = "ResponseHeadersPolicyRemoveHeader" +_RHPRHL = "ResponseHeadersPolicyRemoveHeaderList" +_RHPRHC = "ResponseHeadersPolicyRemoveHeadersConfig" +_RHPCSP = "ResponseHeadersPolicyContentSecurityPolicy" +_CSP = "ContentSecurityPolicy" +_RHPCTO = "ResponseHeadersPolicyContentTypeOptions" +_FOL = "FrameOptionsList" +_DENY = "DENY" +_SAMEORIGIN = "SAMEORIGIN" +_RHPFO = "ResponseHeadersPolicyFrameOptions" +_FO = "FrameOption" +_RPL = "ReferrerPolicyList" +_nr = "no_referrer" +_nr_ = "no-referrer" +_nrwd = "no_referrer_when_downgrade" +_nrwd_ = "no-referrer-when-downgrade" +_ori = "origin" +_owco = "origin_when_cross_origin" +_owco_ = "origin-when-cross-origin" +_so__ = "same_origin" +_so___ = "same-origin" +_so____ = "strict_origin" +_so_____ = "strict-origin" +_sowco = "strict_origin_when_cross_origin" +_sowco_ = "strict-origin-when-cross-origin" +_uu = "unsafe_url" +_uu_ = "unsafe-url" +_RHPRP = "ResponseHeadersPolicyReferrerPolicy" +_RP = "ReferrerPolicy" +_RHPSTS = "ResponseHeadersPolicyStrictTransportSecurity" +_ISn = "IncludeSubdomains" +_Prel = "Preload" +_RHPXSSP = "ResponseHeadersPolicyXSSProtection" +_Pro = "Protection" +_MBo = "ModeBlock" +_RU = "ReportUri" +_RHPSHC = "ResponseHeadersPolicySecurityHeadersConfig" +_XSSP = "XSSProtection" +_FOr = "FrameOptions" +_CTO = "ContentTypeOptions" +_STS = "StrictTransportSecurity" +_RHPSTHC = "ResponseHeadersPolicyServerTimingHeadersConfig" +_RHPC = "ResponseHeadersPolicyConfig" +_CCo = "CorsConfig" +_SHCe = "SecurityHeadersConfig" +_STHC = "ServerTimingHeadersConfig" +_CHC = "CustomHeadersConfig" +_RHC = "RemoveHeadersConfig" +_CRHPI = "CreateResponseHeadersPolicyInput" +_cCRHPR = "com.amazonaws.cloudfront#CreateResponseHeadersPolicyRequest" +_RHP = "ResponseHeadersPolicy" +_CRHPO = "CreateResponseHeadersPolicyOutput" +_cCRHPRo = "com.amazonaws.cloudfront#CreateResponseHeadersPolicyResult" +_RHPAE = "ResponseHeadersPolicyAlreadyExists" +_TLCSPIRHP = "TooLongCSPInResponseHeadersPolicy" +_TMCHIRHP = "TooManyCustomHeadersInResponseHeadersPolicy" +_TMRHIRHP = "TooManyRemoveHeadersInResponseHeadersPolicy" +_TMRHP = "TooManyResponseHeadersPolicies" +_CRHP = "CreateResponseHeadersPolicy" +_SLC = "StreamingLoggingConfig" +_SO = "S3Origin" +_SDC = "StreamingDistributionConfig" +_CSDI = "CreateStreamingDistributionInput" +_cCSDR = "com.amazonaws.cloudfront#CreateStreamingDistributionRequest" +_SD = "StreamingDistribution" +_CSDO = "CreateStreamingDistributionOutput" +_cCSDRo = "com.amazonaws.cloudfront#CreateStreamingDistributionResult" +_CSD = "CreateStreamingDistribution" + +CREATE_MONITORING_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _CMSI, + {_sSI: _cCMSR, _smit: None}, + (_DIi, _MS), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.MONITORING_SUBSCRIPTION, {_sN: _MS, _smi: None, _sP: None}), + ), +) + +CREATE_MONITORING_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CMSO, + {_sSI: _cCMSRo, _smith: None}, + (_MS,), + ((lambda: schemas.MONITORING_SUBSCRIPTION, 16),), +) + +CREATE_MONITORING_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _CMS, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription", + "code": 200, + } + ) + }, + CREATE_MONITORING_SUBSCRIPTION_INPUT, + CREATE_MONITORING_SUBSCRIPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: MONITORING_SUBSCRIPTION_ALREADY_EXISTS, + lambda: schemas.NO_SUCH_DISTRIBUTION, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +MONITORING_SUBSCRIPTION_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _MSAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +ORIGIN_ACCESS_CONTROL_ORIGIN_TYPES: StaticSchema = ( + 14, + n0, + _OACOT, + 0, + (_s_, _me, _med, _la), + ((-1, {_sV: _s_}), (-1, {_sV: _me}), (-1, {_sV: _med}), (-1, {_sV: _la})), +) + +ORIGIN_ACCESS_CONTROL_SIGNING_BEHAVIORS: StaticSchema = ( + 14, + n0, + _OACSB, + 0, + (_ne, _alw, _no, _aaa), + ((-1, {_sV: _ne}), (-1, {_sV: _alw}), (-1, {_sV: _no_}), (-1, {_sV: _aaa_})), +) + +ORIGIN_ACCESS_CONTROL_SIGNING_PROTOCOLS: StaticSchema = ( + 14, + n0, + _OACSP, + 0, + (_sig, _sigv), + ((-1, {_sV: _sig}), (-1, {_sV: _sigv})), +) + +ORIGIN_ACCESS_CONTROL_CONFIG: StaticSchema = ( + 18, + n0, + _OACC, + 0, + (_N, _Des, _SPi, _SB, _OACOTr), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (ORIGIN_ACCESS_CONTROL_SIGNING_PROTOCOLS, 1), + (ORIGIN_ACCESS_CONTROL_SIGNING_BEHAVIORS, 1), + (ORIGIN_ACCESS_CONTROL_ORIGIN_TYPES, 1), + ), +) + +CREATE_ORIGIN_ACCESS_CONTROL_INPUT: StaticSchema = ( + 18, + n0, + _COACI, + {_sSI: _cCOACR, _smit: None}, + (_OACC,), + ((ORIGIN_ACCESS_CONTROL_CONFIG, {_sN: _OACC, _smi: None, _sP: None}),), +) + +CREATE_ORIGIN_ACCESS_CONTROL_OUTPUT: StaticSchema = ( + 18, + n0, + _COACO, + {_sSI: _cCOACRo, _smith: None}, + (_OAC, _L, _ET), + ( + (lambda: ORIGIN_ACCESS_CONTROL, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_ORIGIN_ACCESS_CONTROL: StaticOperationSchema = ( + 23, + n0, + _COAC, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/origin-access-control", "code": 201} + ) + }, + CREATE_ORIGIN_ACCESS_CONTROL_INPUT, + CREATE_ORIGIN_ACCESS_CONTROL_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT, + lambda: ORIGIN_ACCESS_CONTROL_ALREADY_EXISTS, + lambda: TOO_MANY_ORIGIN_ACCESS_CONTROLS, + ), +) + +ORIGIN_ACCESS_CONTROL: StaticSchema = ( + 18, + n0, + _OAC, + 0, + (_Id, _OACC), + ((lambda: schemas.STRING, 1), (ORIGIN_ACCESS_CONTROL_CONFIG, 0)), +) + +ORIGIN_ACCESS_CONTROL_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _OACAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_ORIGIN_ACCESS_CONTROLS: StaticSchema = ( + 18, + n0, + _TMOAC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +ORIGIN_REQUEST_POLICY_COOKIE_BEHAVIOR: StaticSchema = ( + 14, + n0, + _ORPCB, + 0, + (_n, _wh, _al, _aE), + ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _al}), (-1, {_sV: _aE})), +) + +ORIGIN_REQUEST_POLICY_COOKIES_CONFIG: StaticSchema = ( + 18, + n0, + _ORPCC, + 0, + (_CBo, _Co), + ((ORIGIN_REQUEST_POLICY_COOKIE_BEHAVIOR, 1), (lambda: schemas.COOKIE_NAMES, 0)), +) + +ORIGIN_REQUEST_POLICY_HEADER_BEHAVIOR: StaticSchema = ( + 14, + n0, + _ORPHB, + 0, + (_n, _wh, _aV, _aVAWCF, _aE), + ( + (-1, {_sV: _n}), + (-1, {_sV: _wh}), + (-1, {_sV: _aV}), + (-1, {_sV: _aVAWCF}), + (-1, {_sV: _aE}), + ), +) + +ORIGIN_REQUEST_POLICY_HEADERS_CONFIG: StaticSchema = ( + 18, + n0, + _ORPHC, + 0, + (_HB, _He), + ((ORIGIN_REQUEST_POLICY_HEADER_BEHAVIOR, 1), (lambda: schemas.HEADERS, 0)), +) + +ORIGIN_REQUEST_POLICY_QUERY_STRING_BEHAVIOR: StaticSchema = ( + 14, + n0, + _ORPQSB, + 0, + (_n, _wh, _al, _aE), + ((-1, {_sV: _n}), (-1, {_sV: _wh}), (-1, {_sV: _al}), (-1, {_sV: _aE})), +) + +ORIGIN_REQUEST_POLICY_QUERY_STRINGS_CONFIG: StaticSchema = ( + 18, + n0, + _ORPQSC, + 0, + (_QSB, _QSu), + ( + (ORIGIN_REQUEST_POLICY_QUERY_STRING_BEHAVIOR, 1), + (lambda: schemas.QUERY_STRING_NAMES, 0), + ), +) + +ORIGIN_REQUEST_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _ORPC, + 0, + (_Comm, _N, _HC, _CC, _QSC), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (ORIGIN_REQUEST_POLICY_HEADERS_CONFIG, 1), + (ORIGIN_REQUEST_POLICY_COOKIES_CONFIG, 1), + (ORIGIN_REQUEST_POLICY_QUERY_STRINGS_CONFIG, 1), + ), +) + +CREATE_ORIGIN_REQUEST_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _CORPI, + {_sSI: _cCORPR, _smit: None}, + (_ORPC,), + ((ORIGIN_REQUEST_POLICY_CONFIG, {_sN: _ORPC, _smi: None, _sP: None}),), +) + +CREATE_ORIGIN_REQUEST_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _CORPO, + {_sSI: _cCORPRo, _smith: None}, + (_ORP, _L, _ET), + ( + (lambda: ORIGIN_REQUEST_POLICY, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_ORIGIN_REQUEST_POLICY: StaticOperationSchema = ( + 23, + n0, + _CORP, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/origin-request-policy", "code": 201} + ) + }, + CREATE_ORIGIN_REQUEST_POLICY_INPUT, + CREATE_ORIGIN_REQUEST_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: ORIGIN_REQUEST_POLICY_ALREADY_EXISTS, + lambda: TOO_MANY_COOKIES_IN_ORIGIN_REQUEST_POLICY, + lambda: TOO_MANY_HEADERS_IN_ORIGIN_REQUEST_POLICY, + lambda: TOO_MANY_ORIGIN_REQUEST_POLICIES, + lambda: TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY, + ), +) + +ORIGIN_REQUEST_POLICY: StaticSchema = ( + 18, + n0, + _ORP, + 0, + (_Id, _LMT, _ORPC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (ORIGIN_REQUEST_POLICY_CONFIG, 1), + ), +) + +ORIGIN_REQUEST_POLICY_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _ORPAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_COOKIES_IN_ORIGIN_REQUEST_POLICY: StaticSchema = ( + 18, + n0, + _TMCIORP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_HEADERS_IN_ORIGIN_REQUEST_POLICY: StaticSchema = ( + 18, + n0, + _TMHIORP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_ORIGIN_REQUEST_POLICIES: StaticSchema = ( + 18, + n0, + _TMORP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY: StaticSchema = ( + 18, + n0, + _TMQSIORP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +CREATE_PUBLIC_KEY_INPUT: StaticSchema = ( + 18, + n0, + _CPKI, + {_sSI: _cCPKR, _smit: None}, + (_PKC,), + ((lambda: schemas.PUBLIC_KEY_CONFIG, {_sN: _PKC, _smi: None, _sP: None}),), +) + +CREATE_PUBLIC_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _CPKO, + {_sSI: _cCPKRo, _smith: None}, + (_PK, _L, _ET), + ( + (lambda: schemas.PUBLIC_KEY, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_PUBLIC_KEY: StaticOperationSchema = ( + 23, + n0, + _CPK, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/public-key", "code": 201} + ) + }, + CREATE_PUBLIC_KEY_INPUT, + CREATE_PUBLIC_KEY_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT, + lambda: PUBLIC_KEY_ALREADY_EXISTS, + lambda: TOO_MANY_PUBLIC_KEYS, + ), +) + +PUBLIC_KEY_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _PKAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_PUBLIC_KEYS: StaticSchema = ( + 18, + n0, + _TMPK, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +KINESIS_STREAM_CONFIG: StaticSchema = ( + 18, + n0, + _KSC, + 0, + (_RARN, _SARNt), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +END_POINT: StaticSchema = ( + 18, + n0, + _EP, + 0, + (_STt, _KSC), + ((lambda: schemas.STRING, 1), (KINESIS_STREAM_CONFIG, 0)), +) + +END_POINT_LIST: StaticSchema = (16, n0, _EPL, 0, (_m,), ((END_POINT, 0),)) + +FIELD_LIST: StaticSchema = ( + 16, + n0, + _FL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _Fi}),), +) + +CREATE_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _CRLCI, + {_sSI: _cCRLCR, _smit: None}, + (_EPn, _Fie, _N, _SR), + ( + (END_POINT_LIST, 1), + (FIELD_LIST, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.LONG, 1), + ), +) + +CREATE_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _CRLCO, + {_sSI: _cCRLCRo, _smith: None}, + (_RLC,), + ((lambda: REALTIME_LOG_CONFIG, 0),), +) + +CREATE_REALTIME_LOG_CONFIG: StaticOperationSchema = ( + 23, + n0, + _CRLC, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/realtime-log-config", "code": 201} + ) + }, + CREATE_REALTIME_LOG_CONFIG_INPUT, + CREATE_REALTIME_LOG_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: REALTIME_LOG_CONFIG_ALREADY_EXISTS, + lambda: TOO_MANY_REALTIME_LOG_CONFIGS, + ), +) + +REALTIME_LOG_CONFIG: StaticSchema = ( + 18, + n0, + _RLC, + 0, + (_ARN, _N, _SR, _EPn, _Fie), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.LONG, 1), + (END_POINT_LIST, 1), + (FIELD_LIST, 1), + ), +) + +REALTIME_LOG_CONFIG_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _RLCAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_REALTIME_LOG_CONFIGS: StaticSchema = ( + 18, + n0, + _TMRLC, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_HEADERS: StaticSchema = ( + 18, + n0, + _RHPACAH, + 0, + (_Q, _I), + ( + (lambda: schemas.INTEGER, 1), + (lambda: schemas.ACCESS_CONTROL_ALLOW_HEADERS_LIST, 1), + ), +) + +RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS: StaticSchema = ( + 18, + n0, + _RHPACAM, + 0, + (_Q, _I), + ( + (lambda: schemas.INTEGER, 1), + (lambda: schemas.ACCESS_CONTROL_ALLOW_METHODS_LIST, 1), + ), +) + +RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_ORIGINS: StaticSchema = ( + 18, + n0, + _RHPACAO, + 0, + (_Q, _I), + ( + (lambda: schemas.INTEGER, 1), + (lambda: schemas.ACCESS_CONTROL_ALLOW_ORIGINS_LIST, 1), + ), +) + +RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_EXPOSE_HEADERS: StaticSchema = ( + 18, + n0, + _RHPACEH, + 0, + (_Q, _I), + ( + (lambda: schemas.INTEGER, 1), + (lambda: schemas.ACCESS_CONTROL_EXPOSE_HEADERS_LIST, 0), + ), +) + +RESPONSE_HEADERS_POLICY_CORS_CONFIG: StaticSchema = ( + 18, + n0, + _RHPCC, + 0, + (_ACAO, _ACAH, _ACAM, _ACAC, _ACEH, _ACMAS, _OO), + ( + (RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_ORIGINS, 1), + (RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_HEADERS, 1), + (RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_ALLOW_METHODS, 1), + (lambda: schemas.BOOLEAN, 1), + (RESPONSE_HEADERS_POLICY_ACCESS_CONTROL_EXPOSE_HEADERS, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 1), + ), +) + +RESPONSE_HEADERS_POLICY_CUSTOM_HEADER: StaticSchema = ( + 18, + n0, + _RHPCH, + 0, + (_H, _Va, _Ov), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 1), + ), +) + +RESPONSE_HEADERS_POLICY_CUSTOM_HEADER_LIST: StaticSchema = ( + 16, + n0, + _RHPCHL, + 0, + (_m,), + ((RESPONSE_HEADERS_POLICY_CUSTOM_HEADER, {_sN: _RHPCH}),), +) + +RESPONSE_HEADERS_POLICY_CUSTOM_HEADERS_CONFIG: StaticSchema = ( + 18, + n0, + _RHPCHC, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (RESPONSE_HEADERS_POLICY_CUSTOM_HEADER_LIST, 0)), +) + +RESPONSE_HEADERS_POLICY_REMOVE_HEADER: StaticSchema = ( + 18, + n0, + _RHPRH, + 0, + (_H,), + ((lambda: schemas.STRING, 1),), +) + +RESPONSE_HEADERS_POLICY_REMOVE_HEADER_LIST: StaticSchema = ( + 16, + n0, + _RHPRHL, + 0, + (_m,), + ((RESPONSE_HEADERS_POLICY_REMOVE_HEADER, {_sN: _RHPRH}),), +) + +RESPONSE_HEADERS_POLICY_REMOVE_HEADERS_CONFIG: StaticSchema = ( + 18, + n0, + _RHPRHC, + 0, + (_Q, _I), + ((lambda: schemas.INTEGER, 1), (RESPONSE_HEADERS_POLICY_REMOVE_HEADER_LIST, 0)), +) + +RESPONSE_HEADERS_POLICY_CONTENT_SECURITY_POLICY: StaticSchema = ( + 18, + n0, + _RHPCSP, + 0, + (_Ov, _CSP), + ((lambda: schemas.BOOLEAN, 1), (lambda: schemas.STRING, 1)), +) + +RESPONSE_HEADERS_POLICY_CONTENT_TYPE_OPTIONS: StaticSchema = ( + 18, + n0, + _RHPCTO, + 0, + (_Ov,), + ((lambda: schemas.BOOLEAN, 1),), +) + +FRAME_OPTIONS_LIST: StaticSchema = ( + 14, + n0, + _FOL, + 0, + (_DENY, _SAMEORIGIN), + ((-1, {_sV: _DENY}), (-1, {_sV: _SAMEORIGIN})), +) + +RESPONSE_HEADERS_POLICY_FRAME_OPTIONS: StaticSchema = ( + 18, + n0, + _RHPFO, + 0, + (_Ov, _FO), + ((lambda: schemas.BOOLEAN, 1), (FRAME_OPTIONS_LIST, 1)), +) + +REFERRER_POLICY_LIST: StaticSchema = ( + 14, + n0, + _RPL, + 0, + (_nr, _nrwd, _ori, _owco, _so__, _so____, _sowco, _uu), + ( + (-1, {_sV: _nr_}), + (-1, {_sV: _nrwd_}), + (-1, {_sV: _ori}), + (-1, {_sV: _owco_}), + (-1, {_sV: _so___}), + (-1, {_sV: _so_____}), + (-1, {_sV: _sowco_}), + (-1, {_sV: _uu_}), + ), +) + +RESPONSE_HEADERS_POLICY_REFERRER_POLICY: StaticSchema = ( + 18, + n0, + _RHPRP, + 0, + (_Ov, _RP), + ((lambda: schemas.BOOLEAN, 1), (REFERRER_POLICY_LIST, 1)), +) + +RESPONSE_HEADERS_POLICY_STRICT_TRANSPORT_SECURITY: StaticSchema = ( + 18, + n0, + _RHPSTS, + 0, + (_Ov, _ISn, _Prel, _ACMAS), + ( + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 1), + ), +) + +RESPONSE_HEADERS_POLICY_XSS_PROTECTION: StaticSchema = ( + 18, + n0, + _RHPXSSP, + 0, + (_Ov, _Pro, _MBo, _RU), + ( + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +RESPONSE_HEADERS_POLICY_SECURITY_HEADERS_CONFIG: StaticSchema = ( + 18, + n0, + _RHPSHC, + 0, + (_XSSP, _FOr, _RP, _CSP, _CTO, _STS), + ( + (RESPONSE_HEADERS_POLICY_XSS_PROTECTION, 0), + (RESPONSE_HEADERS_POLICY_FRAME_OPTIONS, 0), + (RESPONSE_HEADERS_POLICY_REFERRER_POLICY, 0), + (RESPONSE_HEADERS_POLICY_CONTENT_SECURITY_POLICY, 0), + (RESPONSE_HEADERS_POLICY_CONTENT_TYPE_OPTIONS, 0), + (RESPONSE_HEADERS_POLICY_STRICT_TRANSPORT_SECURITY, 0), + ), +) + +SAMPLING_RATE: StaticSchema = (10, n0, _SR, 0) + +RESPONSE_HEADERS_POLICY_SERVER_TIMING_HEADERS_CONFIG: StaticSchema = ( + 18, + n0, + _RHPSTHC, + 0, + (_E, _SR), + ((lambda: schemas.BOOLEAN, 1), (SAMPLING_RATE, 0)), +) + +RESPONSE_HEADERS_POLICY_CONFIG: StaticSchema = ( + 18, + n0, + _RHPC, + 0, + (_Comm, _N, _CCo, _SHCe, _STHC, _CHC, _RHC), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (RESPONSE_HEADERS_POLICY_CORS_CONFIG, 0), + (RESPONSE_HEADERS_POLICY_SECURITY_HEADERS_CONFIG, 0), + (RESPONSE_HEADERS_POLICY_SERVER_TIMING_HEADERS_CONFIG, 0), + (RESPONSE_HEADERS_POLICY_CUSTOM_HEADERS_CONFIG, 0), + (RESPONSE_HEADERS_POLICY_REMOVE_HEADERS_CONFIG, 0), + ), +) + +CREATE_RESPONSE_HEADERS_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _CRHPI, + {_sSI: _cCRHPR, _smit: None}, + (_RHPC,), + ((RESPONSE_HEADERS_POLICY_CONFIG, {_sN: _RHPC, _smi: None, _sP: None}),), +) + +CREATE_RESPONSE_HEADERS_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _CRHPO, + {_sSI: _cCRHPRo, _smith: None}, + (_RHP, _L, _ET), + ( + (lambda: RESPONSE_HEADERS_POLICY, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_RESPONSE_HEADERS_POLICY: StaticOperationSchema = ( + 23, + n0, + _CRHP, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/response-headers-policy", + "code": 201, + } + ) + }, + CREATE_RESPONSE_HEADERS_POLICY_INPUT, + CREATE_RESPONSE_HEADERS_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: RESPONSE_HEADERS_POLICY_ALREADY_EXISTS, + lambda: TOO_LONG_CSP_IN_RESPONSE_HEADERS_POLICY, + lambda: TOO_MANY_CUSTOM_HEADERS_IN_RESPONSE_HEADERS_POLICY, + lambda: TOO_MANY_REMOVE_HEADERS_IN_RESPONSE_HEADERS_POLICY, + lambda: TOO_MANY_RESPONSE_HEADERS_POLICIES, + ), +) + +RESPONSE_HEADERS_POLICY: StaticSchema = ( + 18, + n0, + _RHP, + 0, + (_Id, _LMT, _RHPC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (RESPONSE_HEADERS_POLICY_CONFIG, 1), + ), +) + +RESPONSE_HEADERS_POLICY_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _RHPAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_LONG_CSP_IN_RESPONSE_HEADERS_POLICY: StaticSchema = ( + 18, + n0, + _TLCSPIRHP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_CUSTOM_HEADERS_IN_RESPONSE_HEADERS_POLICY: StaticSchema = ( + 18, + n0, + _TMCHIRHP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_REMOVE_HEADERS_IN_RESPONSE_HEADERS_POLICY: StaticSchema = ( + 18, + n0, + _TMRHIRHP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_RESPONSE_HEADERS_POLICIES: StaticSchema = ( + 18, + n0, + _TMRHP, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +STREAMING_LOGGING_CONFIG: StaticSchema = ( + 18, + n0, + _SLC, + 0, + (_E, _B, _Pre), + ( + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + ), +) + +STREAMING_DISTRIBUTION_CONFIG: StaticSchema = ( + 18, + n0, + _SDC, + 0, + (_CR, _SO, _A, _Comm, _Lo, _TS, _PC, _E), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.S3_ORIGIN, 1), + (lambda: schemas.ALIASES, 0), + (lambda: schemas.STRING, 1), + (STREAMING_LOGGING_CONFIG, 0), + (lambda: schemas.TRUSTED_SIGNERS, 1), + (lambda: schemas.PRICE_CLASS, 0), + (lambda: schemas.BOOLEAN, 1), + ), +) + +CREATE_STREAMING_DISTRIBUTION_INPUT: StaticSchema = ( + 18, + n0, + _CSDI, + {_sSI: _cCSDR, _smit: None}, + (_SDC,), + ((STREAMING_DISTRIBUTION_CONFIG, {_sN: _SDC, _smi: None, _sP: None}),), +) + +CREATE_STREAMING_DISTRIBUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSDO, + {_sSI: _cCSDRo, _smith: None}, + (_SD, _L, _ET), + ( + (lambda: STREAMING_DISTRIBUTION, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_STREAMING_DISTRIBUTION: StaticOperationSchema = ( + 23, + n0, + _CSD, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/streaming-distribution", "code": 201} + ) + }, + CREATE_STREAMING_DISTRIBUTION_INPUT, + CREATE_STREAMING_DISTRIBUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CNAME_ALREADY_EXISTS, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_ORIGIN, + lambda: schemas.INVALID_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ORIGIN_ACCESS_IDENTITY, + lambda: schemas.MISSING_BODY, + lambda: schemas.STREAMING_DISTRIBUTION_ALREADY_EXISTS, + lambda: schemas.TOO_MANY_STREAMING_DISTRIBUTION_CNAM_ES, + lambda: schemas.TOO_MANY_STREAMING_DISTRIBUTIONS, + lambda: schemas.TOO_MANY_TRUSTED_SIGNERS, + lambda: schemas.TRUSTED_SIGNER_DOES_NOT_EXIST, + ), +) + +STREAMING_DISTRIBUTION: StaticSchema = ( + 18, + n0, + _SD, + 0, + (_Id, _ARN, _St, _LMT, _DN, _ATS, _SDC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.ACTIVE_TRUSTED_SIGNERS, 1), + (STREAMING_DISTRIBUTION_CONFIG, 1), + ), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_5.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_5.py new file mode 100644 index 000000000..acf9f4f5b --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_5.py @@ -0,0 +1,1328 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_sN = "smithy.api#xmlName" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_Me = "Message" +_smi = "smithy.api#required" +_IAT = "IpAddressType" +_St = "Status" +_Id = "Id" +_N = "Name" +_Ar = "Arn" +_LMT = "LastModifiedTime" +_ET = "ETag" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_sU = "smithy.api#Unit" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_IM = "IfMatch" +_sH = "smithy.api#httpHeader" +_IM_ = "If-Match" +_CCBS = "CaCertificatesBundleSource" +_OPP = "OriginProtocolPolicy" +_OSP = "OriginSslProtocols" +_HTTPP = "HTTPPort" +_HTTPSP = "HTTPSPort" +_L = "Location" +_ARN = "ARN" +_sP = "smithy.api#httpPayload" +_Tag = "Tags" +_CTr = "CreatedTime" +_DIi = "DistributionId" +_SDC = "StreamingDistributionConfig" +_SD = "StreamingDistribution" +_SDAE = "StreamingDistributionAlreadyExists" +_TMSD = "TooManyStreamingDistributions" +_SDCWT = "StreamingDistributionConfigWithTags" +_CSDWTI = "CreateStreamingDistributionWithTagsInput" +_cCSDWTR = "com.amazonaws.cloudfront#CreateStreamingDistributionWithTagsRequest" +_CSDWTO = "CreateStreamingDistributionWithTagsOutput" +_cCSDWTRo = "com.amazonaws.cloudfront#CreateStreamingDistributionWithTagsResult" +_CSDWT = "CreateStreamingDistributionWithTags" +_CTSI = "CreateTrustStoreInput" +_cCTSR = "com.amazonaws.cloudfront#CreateTrustStoreRequest" +_UCCOCSPE = "UseClientCertificateOCSPEndpoint" +_TSr = "TrustStore" +_CTSO = "CreateTrustStoreOutput" +_cCTSRo = "com.amazonaws.cloudfront#CreateTrustStoreResult" +_CTS = "CreateTrustStore" +_VOEC = "VpcOriginEndpointConfig" +_CVOI = "CreateVpcOriginInput" +_cCVOR = "com.amazonaws.cloudfront#CreateVpcOriginRequest" +_VO = "VpcOrigin" +_AIc = "AccountId" +_CVOO = "CreateVpcOriginOutput" +_cCVORo = "com.amazonaws.cloudfront#CreateVpcOriginResult" +_CVO = "CreateVpcOrigin" +_DAILI = "DeleteAnycastIpListInput" +_cDAILR = "com.amazonaws.cloudfront#DeleteAnycastIpListRequest" +_DAILO = "DeleteAnycastIpListOutput" +_IDl = "IllegalDelete" +_DAIL = "DeleteAnycastIpList" +_DCPI = "DeleteCachePolicyInput" +_cDCPR = "com.amazonaws.cloudfront#DeleteCachePolicyRequest" +_DCPO = "DeleteCachePolicyOutput" +_DCP = "DeleteCachePolicy" +_CFOAIIU = "CloudFrontOriginAccessIdentityInUse" +_DCFOAII = "DeleteCloudFrontOriginAccessIdentityInput" +_cDCFOAIR = "com.amazonaws.cloudfront#DeleteCloudFrontOriginAccessIdentityRequest" +_DCFOAIO = "DeleteCloudFrontOriginAccessIdentityOutput" +_DCFOAI = "DeleteCloudFrontOriginAccessIdentity" +_DCFI = "DeleteConnectionFunctionInput" +_cDCFR = "com.amazonaws.cloudfront#DeleteConnectionFunctionRequest" +_DCFO = "DeleteConnectionFunctionOutput" +_DCF = "DeleteConnectionFunction" +_DCGI = "DeleteConnectionGroupInput" +_cDCGR = "com.amazonaws.cloudfront#DeleteConnectionGroupRequest" +_DCGO = "DeleteConnectionGroupOutput" +_RND = "ResourceNotDisabled" +_DCG = "DeleteConnectionGroup" +_DCDPI = "DeleteContinuousDeploymentPolicyInput" +_cDCDPR = "com.amazonaws.cloudfront#DeleteContinuousDeploymentPolicyRequest" +_DCDPO = "DeleteContinuousDeploymentPolicyOutput" +_DCDP = "DeleteContinuousDeploymentPolicy" +_DDI = "DeleteDistributionInput" +_cDDR = "com.amazonaws.cloudfront#DeleteDistributionRequest" +_DDO = "DeleteDistributionOutput" +_DND = "DistributionNotDisabled" +_DD = "DeleteDistribution" +_DDTI = "DeleteDistributionTenantInput" +_cDDTR = "com.amazonaws.cloudfront#DeleteDistributionTenantRequest" +_DDTO = "DeleteDistributionTenantOutput" +_DDT = "DeleteDistributionTenant" +_DFLECI = "DeleteFieldLevelEncryptionConfigInput" +_cDFLECR = "com.amazonaws.cloudfront#DeleteFieldLevelEncryptionConfigRequest" +_DFLECO = "DeleteFieldLevelEncryptionConfigOutput" +_FLECIU = "FieldLevelEncryptionConfigInUse" +_DFLEC = "DeleteFieldLevelEncryptionConfig" +_DFLEPI = "DeleteFieldLevelEncryptionProfileInput" +_cDFLEPR = "com.amazonaws.cloudfront#DeleteFieldLevelEncryptionProfileRequest" +_DFLEPO = "DeleteFieldLevelEncryptionProfileOutput" +_FLEPIU = "FieldLevelEncryptionProfileInUse" +_DFLEP = "DeleteFieldLevelEncryptionProfile" +_DFI = "DeleteFunctionInput" +_cDFR = "com.amazonaws.cloudfront#DeleteFunctionRequest" +_DFO = "DeleteFunctionOutput" +_FIU = "FunctionInUse" +_DF = "DeleteFunction" +_DKGI = "DeleteKeyGroupInput" +_cDKGR = "com.amazonaws.cloudfront#DeleteKeyGroupRequest" +_DKGO = "DeleteKeyGroupOutput" +_DKG = "DeleteKeyGroup" +_DKVSI = "DeleteKeyValueStoreInput" +_cDKVSR = "com.amazonaws.cloudfront#DeleteKeyValueStoreRequest" +_DKVSO = "DeleteKeyValueStoreOutput" +_DKVS = "DeleteKeyValueStore" +_DMSI = "DeleteMonitoringSubscriptionInput" +_cDMSR = "com.amazonaws.cloudfront#DeleteMonitoringSubscriptionRequest" +_DMSO = "DeleteMonitoringSubscriptionOutput" +_cDMSRo = "com.amazonaws.cloudfront#DeleteMonitoringSubscriptionResult" +_DMS = "DeleteMonitoringSubscription" +_DOACI = "DeleteOriginAccessControlInput" +_cDOACR = "com.amazonaws.cloudfront#DeleteOriginAccessControlRequest" +_DOACO = "DeleteOriginAccessControlOutput" +_OACIU = "OriginAccessControlInUse" +_DOAC = "DeleteOriginAccessControl" +_DORPI = "DeleteOriginRequestPolicyInput" +_cDORPR = "com.amazonaws.cloudfront#DeleteOriginRequestPolicyRequest" +_DORPO = "DeleteOriginRequestPolicyOutput" +_ORPIU = "OriginRequestPolicyInUse" +_DORP = "DeleteOriginRequestPolicy" +_DPKI = "DeletePublicKeyInput" +_cDPKR = "com.amazonaws.cloudfront#DeletePublicKeyRequest" +_DPKO = "DeletePublicKeyOutput" +_PKIU = "PublicKeyInUse" +_DPK = "DeletePublicKey" +_DRLCI = "DeleteRealtimeLogConfigInput" +_cDRLCR = "com.amazonaws.cloudfront#DeleteRealtimeLogConfigRequest" +_DRLCO = "DeleteRealtimeLogConfigOutput" +_RLCIU = "RealtimeLogConfigInUse" +_DRLC = "DeleteRealtimeLogConfig" +_DRPI = "DeleteResourcePolicyInput" +_cDRPR = "com.amazonaws.cloudfront#DeleteResourcePolicyRequest" +_RA = "ResourceArn" +_DRPO = "DeleteResourcePolicyOutput" +_DRP = "DeleteResourcePolicy" +_DRHPI = "DeleteResponseHeadersPolicyInput" +_cDRHPR = "com.amazonaws.cloudfront#DeleteResponseHeadersPolicyRequest" +_DRHPO = "DeleteResponseHeadersPolicyOutput" +_RHPIU = "ResponseHeadersPolicyInUse" +_DRHP = "DeleteResponseHeadersPolicy" +_DSDI = "DeleteStreamingDistributionInput" +_cDSDR = "com.amazonaws.cloudfront#DeleteStreamingDistributionRequest" +_DSDO = "DeleteStreamingDistributionOutput" +_SDND = "StreamingDistributionNotDisabled" +_DSD = "DeleteStreamingDistribution" +_DTSI = "DeleteTrustStoreInput" +_cDTSR = "com.amazonaws.cloudfront#DeleteTrustStoreRequest" +_DTSO = "DeleteTrustStoreOutput" +_DTS = "DeleteTrustStore" + +STREAMING_DISTRIBUTION_ALREADY_EXISTS: StaticSchema = ( + 18, + n0, + _SDAE, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TOO_MANY_STREAMING_DISTRIBUTIONS: StaticSchema = ( + 18, + n0, + _TMSD, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +STREAMING_DISTRIBUTION_CONFIG_WITH_TAGS: StaticSchema = ( + 18, + n0, + _SDCWT, + 0, + (_SDC, _Tag), + ((lambda: schemas.STREAMING_DISTRIBUTION_CONFIG, 1), (lambda: schemas.TAGS, 1)), +) + +CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _CSDWTI, + {_sSI: _cCSDWTR, _smit: None}, + (_SDCWT,), + ((STREAMING_DISTRIBUTION_CONFIG_WITH_TAGS, {_sN: _SDCWT, _smi: None, _sP: None}),), +) + +CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _CSDWTO, + {_sSI: _cCSDWTRo, _smith: None}, + (_SD, _L, _ET), + ( + (lambda: schemas.STREAMING_DISTRIBUTION, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_STREAMING_DISTRIBUTION_WITH_TAGS: StaticOperationSchema = ( + 23, + n0, + _CSDWT, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/streaming-distribution?WithTags", + "code": 201, + } + ) + }, + CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_INPUT, + CREATE_STREAMING_DISTRIBUTION_WITH_TAGS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CNAME_ALREADY_EXISTS, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_ORIGIN, + lambda: schemas.INVALID_ORIGIN_ACCESS_CONTROL, + lambda: schemas.INVALID_ORIGIN_ACCESS_IDENTITY, + lambda: schemas.INVALID_TAGGING, + lambda: schemas.MISSING_BODY, + STREAMING_DISTRIBUTION_ALREADY_EXISTS, + lambda: schemas.TOO_MANY_STREAMING_DISTRIBUTION_CNAM_ES, + TOO_MANY_STREAMING_DISTRIBUTIONS, + lambda: schemas.TOO_MANY_TRUSTED_SIGNERS, + lambda: schemas.TRUSTED_SIGNER_DOES_NOT_EXIST, + ), +) + +CREATE_TRUST_STORE_INPUT: StaticSchema = ( + 18, + n0, + _CTSI, + {_sSI: _cCTSR, _smit: None}, + (_N, _CCBS, _UCCOCSPE, _Tag), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.CA_CERTIFICATES_BUNDLE_SOURCE, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAGS, 0), + ), +) + +CREATE_TRUST_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _CTSO, + {_sSI: _cCTSRo, _smith: None}, + (_TSr, _ET), + ((lambda: schemas.TRUST_STORE, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +CREATE_TRUST_STORE: StaticOperationSchema = ( + 23, + n0, + _CTS, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/trust-store", "code": 201} + ) + }, + CREATE_TRUST_STORE_INPUT, + CREATE_TRUST_STORE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_TAGGING, + ), +) + +VPC_ORIGIN_ENDPOINT_CONFIG: StaticSchema = ( + 18, + n0, + _VOEC, + 0, + (_N, _Ar, _HTTPP, _HTTPSP, _OPP, _OSP, _IAT), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.ORIGIN_PROTOCOL_POLICY, 1), + (lambda: schemas.ORIGIN_SSL_PROTOCOLS, 0), + (lambda: schemas.VPC_IP_ADDRESS_TYPE, 0), + ), +) + +CREATE_VPC_ORIGIN_INPUT: StaticSchema = ( + 18, + n0, + _CVOI, + {_sSI: _cCVOR, _smit: None}, + (_VOEC, _Tag), + ((VPC_ORIGIN_ENDPOINT_CONFIG, 1), (lambda: schemas.TAGS, 0)), +) + +CREATE_VPC_ORIGIN_OUTPUT: StaticSchema = ( + 18, + n0, + _CVOO, + {_sSI: _cCVORo, _smith: None}, + (_VO, _L, _ET), + ( + (lambda: VPC_ORIGIN, 16), + (lambda: schemas.STRING, {_sH: _L}), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +CREATE_VPC_ORIGIN: StaticOperationSchema = ( + 23, + n0, + _CVO, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/vpc-origin", "code": 202} + ) + }, + CREATE_VPC_ORIGIN_INPUT, + CREATE_VPC_ORIGIN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_ALREADY_EXISTS, + lambda: schemas.ENTITY_LIMIT_EXCEEDED, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_TAGGING, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +VPC_ORIGIN: StaticSchema = ( + 18, + n0, + _VO, + 0, + (_Id, _Ar, _AIc, _St, _CTr, _LMT, _VOEC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (VPC_ORIGIN_ENDPOINT_CONFIG, 1), + ), +) + +DELETE_ANYCAST_IP_LIST_INPUT: StaticSchema = ( + 18, + n0, + _DAILI, + {_sSI: _cDAILR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_, _smi: None})), +) + +DELETE_ANYCAST_IP_LIST_OUTPUT: StaticSchema = ( + 18, + n0, + _DAILO, + {_sSI: _sU, _smith: None}, +) + +DELETE_ANYCAST_IP_LIST: StaticOperationSchema = ( + 23, + n0, + _DAIL, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2020-05-31/anycast-ip-list/{Id}", "code": 204} + ) + }, + DELETE_ANYCAST_IP_LIST_INPUT, + DELETE_ANYCAST_IP_LIST_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CANNOT_DELETE_ENTITY_WHILE_IN_USE, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: ILLEGAL_DELETE, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +ILLEGAL_DELETE: StaticSchema = ( + 18, + n0, + _IDl, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_CACHE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DCPI, + {_sSI: _cDCPR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_CACHE_POLICY_OUTPUT: StaticSchema = (18, n0, _DCPO, {_sSI: _sU, _smith: None}) + +DELETE_CACHE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DCP, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2020-05-31/cache-policy/{Id}", "code": 204} + ) + }, + DELETE_CACHE_POLICY_INPUT, + DELETE_CACHE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CACHE_POLICY_IN_USE, + ILLEGAL_DELETE, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_CACHE_POLICY, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_IN_USE: StaticSchema = ( + 18, + n0, + _CFOAIIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _DCFOAII, + {_sSI: _cDCFOAIR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _DCFOAIO, + {_sSI: _sU, _smith: None}, +) + +DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _DCFOAI, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/origin-access-identity/cloudfront/{Id}", + "code": 204, + } + ) + }, + DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT, + DELETE_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_IN_USE, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +DELETE_CONNECTION_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _DCFI, + {_sSI: _cDCFR, _smit: None}, + (_Id, _IM), + ( + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +DELETE_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DCFO, + {_sSI: _sU, _smith: None}, +) + +DELETE_CONNECTION_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _DCF, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/connection-function/{Id}", + "code": 204, + } + ) + }, + DELETE_CONNECTION_FUNCTION_INPUT, + DELETE_CONNECTION_FUNCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CANNOT_DELETE_ENTITY_WHILE_IN_USE, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +DELETE_CONNECTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DCGI, + {_sSI: _cDCGR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_, _smi: None})), +) + +DELETE_CONNECTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DCGO, + {_sSI: _sU, _smith: None}, +) + +DELETE_CONNECTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _DCG, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/connection-group/{Id}", + "code": 204, + } + ) + }, + DELETE_CONNECTION_GROUP_INPUT, + DELETE_CONNECTION_GROUP_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CANNOT_DELETE_ENTITY_WHILE_IN_USE, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: RESOURCE_NOT_DISABLED, + ), +) + +RESOURCE_NOT_DISABLED: StaticSchema = ( + 18, + n0, + _RND, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DCDPI, + {_sSI: _cDCDPR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DCDPO, + {_sSI: _sU, _smith: None}, +) + +DELETE_CONTINUOUS_DEPLOYMENT_POLICY: StaticOperationSchema = ( + 23, + n0, + _DCDP, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/continuous-deployment-policy/{Id}", + "code": 204, + } + ) + }, + DELETE_CONTINUOUS_DEPLOYMENT_POLICY_INPUT, + DELETE_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CONTINUOUS_DEPLOYMENT_POLICY_IN_USE, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +DELETE_DISTRIBUTION_INPUT: StaticSchema = ( + 18, + n0, + _DDI, + {_sSI: _cDDR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_DISTRIBUTION_OUTPUT: StaticSchema = (18, n0, _DDO, {_sSI: _sU, _smith: None}) + +DELETE_DISTRIBUTION: StaticOperationSchema = ( + 23, + n0, + _DD, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2020-05-31/distribution/{Id}", "code": 204} + ) + }, + DELETE_DISTRIBUTION_INPUT, + DELETE_DISTRIBUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: DISTRIBUTION_NOT_DISABLED, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_DISTRIBUTION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.RESOURCE_IN_USE, + ), +) + +DISTRIBUTION_NOT_DISABLED: StaticSchema = ( + 18, + n0, + _DND, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( + 18, + n0, + _DDTI, + {_sSI: _cDDTR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_, _smi: None})), +) + +DELETE_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( + 18, + n0, + _DDTO, + {_sSI: _sU, _smith: None}, +) + +DELETE_DISTRIBUTION_TENANT: StaticOperationSchema = ( + 23, + n0, + _DDT, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/distribution-tenant/{Id}", + "code": 204, + } + ) + }, + DELETE_DISTRIBUTION_TENANT_INPUT, + DELETE_DISTRIBUTION_TENANT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + RESOURCE_NOT_DISABLED, + ), +) + +DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _DFLECI, + {_sSI: _cDFLECR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _DFLECO, + {_sSI: _sU, _smith: None}, +) + +DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _DFLEC, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/field-level-encryption/{Id}", + "code": 204, + } + ) + }, + DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT, + DELETE_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: FIELD_LEVEL_ENCRYPTION_CONFIG_IN_USE, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +FIELD_LEVEL_ENCRYPTION_CONFIG_IN_USE: StaticSchema = ( + 18, + n0, + _FLECIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _DFLEPI, + {_sSI: _cDFLEPR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _DFLEPO, + {_sSI: _sU, _smith: None}, +) + +DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticOperationSchema = ( + 23, + n0, + _DFLEP, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/field-level-encryption-profile/{Id}", + "code": 204, + } + ) + }, + DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT, + DELETE_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: FIELD_LEVEL_ENCRYPTION_PROFILE_IN_USE, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +FIELD_LEVEL_ENCRYPTION_PROFILE_IN_USE: StaticSchema = ( + 18, + n0, + _FLEPIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _DFI, + {_sSI: _cDFR, _smit: None}, + (_N, _IM), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +DELETE_FUNCTION_OUTPUT: StaticSchema = (18, n0, _DFO, {_sSI: _sU, _smith: None}) + +DELETE_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _DF, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2020-05-31/function/{Name}", "code": 204} + ) + }, + DELETE_FUNCTION_INPUT, + DELETE_FUNCTION_OUTPUT, + ( + lambda: FUNCTION_IN_USE, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_FUNCTION_EXISTS, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +FUNCTION_IN_USE: StaticSchema = ( + 18, + n0, + _FIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_KEY_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DKGI, + {_sSI: _cDKGR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_KEY_GROUP_OUTPUT: StaticSchema = (18, n0, _DKGO, {_sSI: _sU, _smith: None}) + +DELETE_KEY_GROUP: StaticOperationSchema = ( + 23, + n0, + _DKG, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2020-05-31/key-group/{Id}", "code": 204} + ) + }, + DELETE_KEY_GROUP_INPUT, + DELETE_KEY_GROUP_OUTPUT, + ( + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_RESOURCE, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.RESOURCE_IN_USE, + ), +) + +DELETE_KEY_VALUE_STORE_INPUT: StaticSchema = ( + 18, + n0, + _DKVSI, + {_sSI: _cDKVSR, _smit: None}, + (_N, _IM), + ( + (lambda: schemas.KEY_VALUE_STORE_NAME, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +DELETE_KEY_VALUE_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _DKVSO, + {_sSI: _sU, _smith: None}, +) + +DELETE_KEY_VALUE_STORE: StaticOperationSchema = ( + 23, + n0, + _DKVS, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/key-value-store/{Name}", + "code": 204, + } + ) + }, + DELETE_KEY_VALUE_STORE_INPUT, + DELETE_KEY_VALUE_STORE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CANNOT_DELETE_ENTITY_WHILE_IN_USE, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +DELETE_MONITORING_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _DMSI, + {_sSI: _cDMSR, _smit: None}, + (_DIi,), + ((lambda: schemas.STRING, 9),), +) + +DELETE_MONITORING_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DMSO, + {_sSI: _cDMSRo, _smith: None}, +) + +DELETE_MONITORING_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _DMS, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription", + "code": 200, + } + ) + }, + DELETE_MONITORING_SUBSCRIPTION_INPUT, + DELETE_MONITORING_SUBSCRIPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_DISTRIBUTION, + lambda: schemas.NO_SUCH_MONITORING_SUBSCRIPTION, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +DELETE_ORIGIN_ACCESS_CONTROL_INPUT: StaticSchema = ( + 18, + n0, + _DOACI, + {_sSI: _cDOACR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_ORIGIN_ACCESS_CONTROL_OUTPUT: StaticSchema = ( + 18, + n0, + _DOACO, + {_sSI: _sU, _smith: None}, +) + +DELETE_ORIGIN_ACCESS_CONTROL: StaticOperationSchema = ( + 23, + n0, + _DOAC, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/origin-access-control/{Id}", + "code": 204, + } + ) + }, + DELETE_ORIGIN_ACCESS_CONTROL_INPUT, + DELETE_ORIGIN_ACCESS_CONTROL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_ORIGIN_ACCESS_CONTROL, + lambda: ORIGIN_ACCESS_CONTROL_IN_USE, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +ORIGIN_ACCESS_CONTROL_IN_USE: StaticSchema = ( + 18, + n0, + _OACIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_ORIGIN_REQUEST_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DORPI, + {_sSI: _cDORPR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_ORIGIN_REQUEST_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DORPO, + {_sSI: _sU, _smith: None}, +) + +DELETE_ORIGIN_REQUEST_POLICY: StaticOperationSchema = ( + 23, + n0, + _DORP, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/origin-request-policy/{Id}", + "code": 204, + } + ) + }, + DELETE_ORIGIN_REQUEST_POLICY_INPUT, + DELETE_ORIGIN_REQUEST_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + ILLEGAL_DELETE, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY, + lambda: ORIGIN_REQUEST_POLICY_IN_USE, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +ORIGIN_REQUEST_POLICY_IN_USE: StaticSchema = ( + 18, + n0, + _ORPIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_PUBLIC_KEY_INPUT: StaticSchema = ( + 18, + n0, + _DPKI, + {_sSI: _cDPKR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_PUBLIC_KEY_OUTPUT: StaticSchema = (18, n0, _DPKO, {_sSI: _sU, _smith: None}) + +DELETE_PUBLIC_KEY: StaticOperationSchema = ( + 23, + n0, + _DPK, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2020-05-31/public-key/{Id}", "code": 204} + ) + }, + DELETE_PUBLIC_KEY_INPUT, + DELETE_PUBLIC_KEY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_PUBLIC_KEY, + lambda: schemas.PRECONDITION_FAILED, + lambda: PUBLIC_KEY_IN_USE, + ), +) + +PUBLIC_KEY_IN_USE: StaticSchema = ( + 18, + n0, + _PKIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _DRLCI, + {_sSI: _cDRLCR, _smit: None}, + (_N, _ARN), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DELETE_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _DRLCO, + {_sSI: _sU, _smith: None}, +) + +DELETE_REALTIME_LOG_CONFIG: StaticOperationSchema = ( + 23, + n0, + _DRLC, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/delete-realtime-log-config", + "code": 204, + } + ) + }, + DELETE_REALTIME_LOG_CONFIG_INPUT, + DELETE_REALTIME_LOG_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_REALTIME_LOG_CONFIG, + lambda: REALTIME_LOG_CONFIG_IN_USE, + ), +) + +REALTIME_LOG_CONFIG_IN_USE: StaticSchema = ( + 18, + n0, + _RLCIU, + {_sm: _c, _sE: 400}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_sSI: _cDRPR, _smit: None}, + (_RA,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPO, {_sSI: _sU, _smith: None}) + +DELETE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/delete-resource-policy", "code": 200} + ) + }, + DELETE_RESOURCE_POLICY_INPUT, + DELETE_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + ILLEGAL_DELETE, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +DELETE_RESPONSE_HEADERS_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRHPI, + {_sSI: _cDRHPR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_RESPONSE_HEADERS_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DRHPO, + {_sSI: _sU, _smith: None}, +) + +DELETE_RESPONSE_HEADERS_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRHP, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/response-headers-policy/{Id}", + "code": 204, + } + ) + }, + DELETE_RESPONSE_HEADERS_POLICY_INPUT, + DELETE_RESPONSE_HEADERS_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + ILLEGAL_DELETE, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY, + lambda: schemas.PRECONDITION_FAILED, + lambda: RESPONSE_HEADERS_POLICY_IN_USE, + ), +) + +RESPONSE_HEADERS_POLICY_IN_USE: StaticSchema = ( + 18, + n0, + _RHPIU, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_STREAMING_DISTRIBUTION_INPUT: StaticSchema = ( + 18, + n0, + _DSDI, + {_sSI: _cDSDR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DELETE_STREAMING_DISTRIBUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DSDO, + {_sSI: _sU, _smith: None}, +) + +DELETE_STREAMING_DISTRIBUTION: StaticOperationSchema = ( + 23, + n0, + _DSD, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-05-31/streaming-distribution/{Id}", + "code": 204, + } + ) + }, + DELETE_STREAMING_DISTRIBUTION_INPUT, + DELETE_STREAMING_DISTRIBUTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_STREAMING_DISTRIBUTION, + lambda: schemas.PRECONDITION_FAILED, + lambda: STREAMING_DISTRIBUTION_NOT_DISABLED, + ), +) + +STREAMING_DISTRIBUTION_NOT_DISABLED: StaticSchema = ( + 18, + n0, + _SDND, + {_sm: _c, _sE: 409}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_TRUST_STORE_INPUT: StaticSchema = ( + 18, + n0, + _DTSI, + {_sSI: _cDTSR, _smit: None}, + (_Id, _IM), + ( + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +DELETE_TRUST_STORE_OUTPUT: StaticSchema = (18, n0, _DTSO, {_sSI: _sU, _smith: None}) + +DELETE_TRUST_STORE: StaticOperationSchema = ( + 23, + n0, + _DTS, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2020-05-31/trust-store/{Id}", "code": 204} + ) + }, + DELETE_TRUST_STORE_INPUT, + DELETE_TRUST_STORE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CANNOT_DELETE_ENTITY_WHILE_IN_USE, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + ), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_6.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_6.py new file mode 100644 index 000000000..5a3d43a23 --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_6.py @@ -0,0 +1,1424 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_Me = "Message" +_smi = "smithy.api#required" +_KG = "KeyGroup" +_AIL = "AnycastIpList" +_Id = "Id" +_N = "Name" +_ET = "ETag" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_IM = "IfMatch" +_sH = "smithy.api#httpHeader" +_IM_ = "If-Match" +_CPC = "CachePolicyConfig" +_CPa = "CachePolicy" +_DC = "DistributionConfig" +_Dis = "Distribution" +_sP = "smithy.api#httpPayload" +_CFOAIC = "CloudFrontOriginAccessIdentityConfig" +_CFOAI = "CloudFrontOriginAccessIdentity" +_CFCo = "ConnectionFunctionCode" +_CFS = "ConnectionFunctionSummary" +_Stag = "Stage" +_CG = "ConnectionGroup" +_RE = "RoutingEndpoint" +_CDPC = "ContinuousDeploymentPolicyConfig" +_CDP = "ContinuousDeploymentPolicy" +_Do = "Domain" +_DIi = "DistributionId" +_In = "Inactive" +_in = "inactive" +_DT = "DistributionTenant" +_CTon = "ContentType" +_FLEC = "FieldLevelEncryptionConfig" +_FLE = "FieldLevelEncryption" +_FLEPC = "FieldLevelEncryptionProfileConfig" +_FLEP = "FieldLevelEncryptionProfile" +_FCun = "FunctionCode" +_FSu = "FunctionSummary" +_Inv = "Invalidation" +_KGC = "KeyGroupConfig" +_KVS = "KeyValueStore" +_Fa = "Failed" +_fai = "failed" +_VO = "VpcOrigin" +_DVOI = "DeleteVpcOriginInput" +_cDVOR = "com.amazonaws.cloudfront#DeleteVpcOriginRequest" +_DVOO = "DeleteVpcOriginOutput" +_cDVORo = "com.amazonaws.cloudfront#DeleteVpcOriginResult" +_DVO = "DeleteVpcOrigin" +_DCFIe = "DescribeConnectionFunctionInput" +_cDCFRo = "com.amazonaws.cloudfront#DescribeConnectionFunctionRequest" +_Ide = "Identifier" +_DCFOe = "DescribeConnectionFunctionOutput" +_cDCFRom = "com.amazonaws.cloudfront#DescribeConnectionFunctionResult" +_DCFe = "DescribeConnectionFunction" +_DFIe = "DescribeFunctionInput" +_cDFRo = "com.amazonaws.cloudfront#DescribeFunctionRequest" +_DFOe = "DescribeFunctionOutput" +_cDFRom = "com.amazonaws.cloudfront#DescribeFunctionResult" +_DFe = "DescribeFunction" +_DKVSIe = "DescribeKeyValueStoreInput" +_cDKVSRo = "com.amazonaws.cloudfront#DescribeKeyValueStoreRequest" +_DKVSOe = "DescribeKeyValueStoreOutput" +_cDKVSRom = "com.amazonaws.cloudfront#DescribeKeyValueStoreResult" +_DKVSe = "DescribeKeyValueStore" +_DDTWACLI = "DisassociateDistributionTenantWebACLInput" +_cDDTWACLR = "com.amazonaws.cloudfront#DisassociateDistributionTenantWebACLRequest" +_DDTWACLO = "DisassociateDistributionTenantWebACLOutput" +_cDDTWACLRo = "com.amazonaws.cloudfront#DisassociateDistributionTenantWebACLResult" +_DDTWACL = "DisassociateDistributionTenantWebACL" +_DDWACLI = "DisassociateDistributionWebACLInput" +_cDDWACLR = "com.amazonaws.cloudfront#DisassociateDistributionWebACLRequest" +_DDWACLO = "DisassociateDistributionWebACLOutput" +_cDDWACLRo = "com.amazonaws.cloudfront#DisassociateDistributionWebACLResult" +_DDWACL = "DisassociateDistributionWebACL" +_GAILI = "GetAnycastIpListInput" +_cGAILR = "com.amazonaws.cloudfront#GetAnycastIpListRequest" +_GAILO = "GetAnycastIpListOutput" +_cGAILRo = "com.amazonaws.cloudfront#GetAnycastIpListResult" +_GAIL = "GetAnycastIpList" +_GCPI = "GetCachePolicyInput" +_cGCPR = "com.amazonaws.cloudfront#GetCachePolicyRequest" +_GCPO = "GetCachePolicyOutput" +_cGCPRo = "com.amazonaws.cloudfront#GetCachePolicyResult" +_GCP = "GetCachePolicy" +_GCPCI = "GetCachePolicyConfigInput" +_cGCPCR = "com.amazonaws.cloudfront#GetCachePolicyConfigRequest" +_GCPCO = "GetCachePolicyConfigOutput" +_cGCPCRo = "com.amazonaws.cloudfront#GetCachePolicyConfigResult" +_GCPC = "GetCachePolicyConfig" +_GCFOAII = "GetCloudFrontOriginAccessIdentityInput" +_cGCFOAIR = "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityRequest" +_GCFOAIO = "GetCloudFrontOriginAccessIdentityOutput" +_cGCFOAIRo = "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityResult" +_GCFOAI = "GetCloudFrontOriginAccessIdentity" +_GCFOAICI = "GetCloudFrontOriginAccessIdentityConfigInput" +_cGCFOAICR = "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityConfigRequest" +_GCFOAICO = "GetCloudFrontOriginAccessIdentityConfigOutput" +_cGCFOAICRo = "com.amazonaws.cloudfront#GetCloudFrontOriginAccessIdentityConfigResult" +_GCFOAIC = "GetCloudFrontOriginAccessIdentityConfig" +_GCFI = "GetConnectionFunctionInput" +_cGCFR = "com.amazonaws.cloudfront#GetConnectionFunctionRequest" +_GCFO = "GetConnectionFunctionOutput" +_cGCFRo = "com.amazonaws.cloudfront#GetConnectionFunctionResult" +_CT_ = "Content-Type" +_GCF = "GetConnectionFunction" +_GCGI = "GetConnectionGroupInput" +_cGCGR = "com.amazonaws.cloudfront#GetConnectionGroupRequest" +_GCGO = "GetConnectionGroupOutput" +_cGCGRo = "com.amazonaws.cloudfront#GetConnectionGroupResult" +_GCG = "GetConnectionGroup" +_GCGBREI = "GetConnectionGroupByRoutingEndpointInput" +_cGCGBRER = "com.amazonaws.cloudfront#GetConnectionGroupByRoutingEndpointRequest" +_GCGBREO = "GetConnectionGroupByRoutingEndpointOutput" +_cGCGBRERo = "com.amazonaws.cloudfront#GetConnectionGroupByRoutingEndpointResult" +_GCGBRE = "GetConnectionGroupByRoutingEndpoint" +_GCDPI = "GetContinuousDeploymentPolicyInput" +_cGCDPR = "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyRequest" +_GCDPO = "GetContinuousDeploymentPolicyOutput" +_cGCDPRo = "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyResult" +_GCDP = "GetContinuousDeploymentPolicy" +_GCDPCI = "GetContinuousDeploymentPolicyConfigInput" +_cGCDPCR = "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyConfigRequest" +_GCDPCO = "GetContinuousDeploymentPolicyConfigOutput" +_cGCDPCRo = "com.amazonaws.cloudfront#GetContinuousDeploymentPolicyConfigResult" +_GCDPC = "GetContinuousDeploymentPolicyConfig" +_GDI = "GetDistributionInput" +_cGDR = "com.amazonaws.cloudfront#GetDistributionRequest" +_GDO = "GetDistributionOutput" +_cGDRo = "com.amazonaws.cloudfront#GetDistributionResult" +_GD = "GetDistribution" +_GDCI = "GetDistributionConfigInput" +_cGDCR = "com.amazonaws.cloudfront#GetDistributionConfigRequest" +_GDCO = "GetDistributionConfigOutput" +_cGDCRo = "com.amazonaws.cloudfront#GetDistributionConfigResult" +_GDC = "GetDistributionConfig" +_GDTI = "GetDistributionTenantInput" +_cGDTR = "com.amazonaws.cloudfront#GetDistributionTenantRequest" +_GDTO = "GetDistributionTenantOutput" +_cGDTRo = "com.amazonaws.cloudfront#GetDistributionTenantResult" +_GDT = "GetDistributionTenant" +_GDTBDI = "GetDistributionTenantByDomainInput" +_cGDTBDR = "com.amazonaws.cloudfront#GetDistributionTenantByDomainRequest" +_do = "domain" +_GDTBDO = "GetDistributionTenantByDomainOutput" +_cGDTBDRo = "com.amazonaws.cloudfront#GetDistributionTenantByDomainResult" +_GDTBD = "GetDistributionTenantByDomain" +_GFLEI = "GetFieldLevelEncryptionInput" +_cGFLER = "com.amazonaws.cloudfront#GetFieldLevelEncryptionRequest" +_GFLEO = "GetFieldLevelEncryptionOutput" +_cGFLERo = "com.amazonaws.cloudfront#GetFieldLevelEncryptionResult" +_GFLE = "GetFieldLevelEncryption" +_GFLECI = "GetFieldLevelEncryptionConfigInput" +_cGFLECR = "com.amazonaws.cloudfront#GetFieldLevelEncryptionConfigRequest" +_GFLECO = "GetFieldLevelEncryptionConfigOutput" +_cGFLECRo = "com.amazonaws.cloudfront#GetFieldLevelEncryptionConfigResult" +_GFLEC = "GetFieldLevelEncryptionConfig" +_GFLEPI = "GetFieldLevelEncryptionProfileInput" +_cGFLEPR = "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileRequest" +_GFLEPO = "GetFieldLevelEncryptionProfileOutput" +_cGFLEPRo = "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileResult" +_GFLEP = "GetFieldLevelEncryptionProfile" +_GFLEPCI = "GetFieldLevelEncryptionProfileConfigInput" +_cGFLEPCR = "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileConfigRequest" +_GFLEPCO = "GetFieldLevelEncryptionProfileConfigOutput" +_cGFLEPCRo = "com.amazonaws.cloudfront#GetFieldLevelEncryptionProfileConfigResult" +_GFLEPC = "GetFieldLevelEncryptionProfileConfig" +_GFI = "GetFunctionInput" +_cGFR = "com.amazonaws.cloudfront#GetFunctionRequest" +_GFO = "GetFunctionOutput" +_cGFRo = "com.amazonaws.cloudfront#GetFunctionResult" +_GF = "GetFunction" +_GII = "GetInvalidationInput" +_cGIR = "com.amazonaws.cloudfront#GetInvalidationRequest" +_GIO = "GetInvalidationOutput" +_cGIRo = "com.amazonaws.cloudfront#GetInvalidationResult" +_NSI = "NoSuchInvalidation" +_GI = "GetInvalidation" +_GIFDTI = "GetInvalidationForDistributionTenantInput" +_cGIFDTR = "com.amazonaws.cloudfront#GetInvalidationForDistributionTenantRequest" +_DTI = "DistributionTenantId" +_GIFDTO = "GetInvalidationForDistributionTenantOutput" +_cGIFDTRo = "com.amazonaws.cloudfront#GetInvalidationForDistributionTenantResult" +_GIFDT = "GetInvalidationForDistributionTenant" +_GKGI = "GetKeyGroupInput" +_cGKGR = "com.amazonaws.cloudfront#GetKeyGroupRequest" +_GKGO = "GetKeyGroupOutput" +_cGKGRo = "com.amazonaws.cloudfront#GetKeyGroupResult" +_GKG = "GetKeyGroup" +_GKGCI = "GetKeyGroupConfigInput" +_cGKGCR = "com.amazonaws.cloudfront#GetKeyGroupConfigRequest" +_GKGCO = "GetKeyGroupConfigOutput" +_cGKGCRo = "com.amazonaws.cloudfront#GetKeyGroupConfigResult" +_GKGC = "GetKeyGroupConfig" +_GMCDI = "GetManagedCertificateDetailsInput" +_cGMCDR = "com.amazonaws.cloudfront#GetManagedCertificateDetailsRequest" +_MCS = "ManagedCertificateStatus" +_PVe = "PendingValidation" +_pv = "pending-validation" +_Is = "Issued" +_is = "issued" +_Ex = "Expired" +_ex = "expired" +_VTO = "ValidationTimedOut" +_vto = "validation-timed-out" +_Rev = "Revoked" +_re = "revoked" +_VTD = "ValidationTokenDetail" +_RTe = "RedirectTo" +_RF = "RedirectFrom" +_MCD = "ManagedCertificateDetails" +_GMCDO = "GetManagedCertificateDetailsOutput" +_cGMCDRo = "com.amazonaws.cloudfront#GetManagedCertificateDetailsResult" +_GMCD = "GetManagedCertificateDetails" + +DELETE_VPC_ORIGIN_INPUT: StaticSchema = ( + 18, + n0, + _DVOI, + {_sSI: _cDVOR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_, _smi: None})), +) + +DELETE_VPC_ORIGIN_OUTPUT: StaticSchema = ( + 18, + n0, + _DVOO, + {_sSI: _cDVORo, _smith: None}, + (_VO, _ET), + ((lambda: schemas.VPC_ORIGIN, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +DELETE_VPC_ORIGIN: StaticOperationSchema = ( + 23, + n0, + _DVO, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2020-05-31/vpc-origin/{Id}", "code": 202} + ) + }, + DELETE_VPC_ORIGIN_INPUT, + DELETE_VPC_ORIGIN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CANNOT_DELETE_ENTITY_WHILE_IN_USE, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.ILLEGAL_DELETE, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +DESCRIBE_CONNECTION_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _DCFIe, + {_sSI: _cDCFRo, _smit: None}, + (_Ide, _Stag), + ((lambda: schemas.STRING, 9), (lambda: schemas.FUNCTION_STAGE, {_sQ: _Stag})), +) + +DESCRIBE_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DCFOe, + {_sSI: _cDCFRom, _smith: None}, + (_CFS, _ET), + ( + (lambda: schemas.CONNECTION_FUNCTION_SUMMARY, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +DESCRIBE_CONNECTION_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _DCFe, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/connection-function/{Identifier}/describe", + "code": 200, + } + ) + }, + DESCRIBE_CONNECTION_FUNCTION_INPUT, + DESCRIBE_CONNECTION_FUNCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +DESCRIBE_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _DFIe, + {_sSI: _cDFRo, _smit: None}, + (_N, _Stag), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.FUNCTION_STAGE, {_sQ: _Stag}), + ), +) + +DESCRIBE_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DFOe, + {_sSI: _cDFRom, _smith: None}, + (_FSu, _ET), + ((lambda: schemas.FUNCTION_SUMMARY, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +DESCRIBE_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _DFe, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/function/{Name}/describe", + "code": 200, + } + ) + }, + DESCRIBE_FUNCTION_INPUT, + DESCRIBE_FUNCTION_OUTPUT, + (lambda: schemas.NO_SUCH_FUNCTION_EXISTS, lambda: schemas.UNSUPPORTED_OPERATION), +) + +DESCRIBE_KEY_VALUE_STORE_INPUT: StaticSchema = ( + 18, + n0, + _DKVSIe, + {_sSI: _cDKVSRo, _smit: None}, + (_N,), + ((lambda: schemas.KEY_VALUE_STORE_NAME, 9),), +) + +DESCRIBE_KEY_VALUE_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _DKVSOe, + {_sSI: _cDKVSRom, _smith: None}, + (_KVS, _ET), + ((lambda: schemas.KEY_VALUE_STORE, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +DESCRIBE_KEY_VALUE_STORE: StaticOperationSchema = ( + 23, + n0, + _DKVSe, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/key-value-store/{Name}", "code": 200} + ) + }, + DESCRIBE_KEY_VALUE_STORE_INPUT, + DESCRIBE_KEY_VALUE_STORE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT: StaticSchema = ( + 18, + n0, + _DDTWACLI, + {_sSI: _cDDTWACLR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _DDTWACLO, + {_sSI: _cDDTWACLRo, _smith: None}, + (_Id, _ET), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, {_sH: _ET})), +) + +DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL: StaticOperationSchema = ( + 23, + n0, + _DDTWACL, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/distribution-tenant/{Id}/disassociate-web-acl", + "code": 200, + } + ) + }, + DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_INPUT, + DISASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +DISASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT: StaticSchema = ( + 18, + n0, + _DDWACLI, + {_sSI: _cDDWACLR, _smit: None}, + (_Id, _IM), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, {_sH: _IM_})), +) + +DISASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _DDWACLO, + {_sSI: _cDDWACLRo, _smith: None}, + (_Id, _ET), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, {_sH: _ET})), +) + +DISASSOCIATE_DISTRIBUTION_WEB_ACL: StaticOperationSchema = ( + 23, + n0, + _DDWACL, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-05-31/distribution/{Id}/disassociate-web-acl", + "code": 200, + } + ) + }, + DISASSOCIATE_DISTRIBUTION_WEB_ACL_INPUT, + DISASSOCIATE_DISTRIBUTION_WEB_ACL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + ), +) + +GET_ANYCAST_IP_LIST_INPUT: StaticSchema = ( + 18, + n0, + _GAILI, + {_sSI: _cGAILR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_ANYCAST_IP_LIST_OUTPUT: StaticSchema = ( + 18, + n0, + _GAILO, + {_sSI: _cGAILRo, _smith: None}, + (_AIL, _ET), + ((lambda: schemas.ANYCAST_IP_LIST, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_ANYCAST_IP_LIST: StaticOperationSchema = ( + 23, + n0, + _GAIL, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/anycast-ip-list/{Id}", "code": 200} + ) + }, + GET_ANYCAST_IP_LIST_INPUT, + GET_ANYCAST_IP_LIST_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +GET_CACHE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GCPI, + {_sSI: _cGCPR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_CACHE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GCPO, + {_sSI: _cGCPRo, _smith: None}, + (_CPa, _ET), + ((lambda: schemas.CACHE_POLICY, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_CACHE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GCP, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/cache-policy/{Id}", "code": 200} + ) + }, + GET_CACHE_POLICY_INPUT, + GET_CACHE_POLICY_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_CACHE_POLICY), +) + +GET_CACHE_POLICY_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GCPCI, + {_sSI: _cGCPCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_CACHE_POLICY_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GCPCO, + {_sSI: _cGCPCRo, _smith: None}, + (_CPC, _ET), + ((lambda: schemas.CACHE_POLICY_CONFIG, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_CACHE_POLICY_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GCPC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/cache-policy/{Id}/config", + "code": 200, + } + ) + }, + GET_CACHE_POLICY_CONFIG_INPUT, + GET_CACHE_POLICY_CONFIG_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_CACHE_POLICY), +) + +GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _GCFOAII, + {_sSI: _cGCFOAIR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _GCFOAIO, + {_sSI: _cGCFOAIRo, _smith: None}, + (_CFOAI, _ET), + ( + (lambda: schemas.CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _GCFOAI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/origin-access-identity/cloudfront/{Id}", + "code": 200, + } + ) + }, + GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_INPUT, + GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, + ), +) + +GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GCFOAICI, + {_sSI: _cGCFOAICR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GCFOAICO, + {_sSI: _cGCFOAICRo, _smith: None}, + (_CFOAIC, _ET), + ( + (lambda: schemas.CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GCFOAIC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/origin-access-identity/cloudfront/{Id}/config", + "code": 200, + } + ) + }, + GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_INPUT, + GET_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY, + ), +) + +GET_CONNECTION_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _GCFI, + {_sSI: _cGCFR, _smit: None}, + (_Ide, _Stag), + ((lambda: schemas.STRING, 9), (lambda: schemas.FUNCTION_STAGE, {_sQ: _Stag})), +) + +GET_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GCFO, + {_sSI: _cGCFRo, _smith: None}, + (_CFCo, _ET, _CTon), + ( + (lambda: schemas.FUNCTION_BLOB, 16), + (lambda: schemas.STRING, {_sH: _ET}), + (lambda: schemas.STRING, {_sH: _CT_}), + ), +) + +GET_CONNECTION_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _GCF, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/connection-function/{Identifier}", + "code": 200, + } + ) + }, + GET_CONNECTION_FUNCTION_INPUT, + GET_CONNECTION_FUNCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +GET_CONNECTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _GCGI, + {_sSI: _cGCGR, _smit: None}, + (_Ide,), + ((lambda: schemas.STRING, 9),), +) + +GET_CONNECTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _GCGO, + {_sSI: _cGCGRo, _smith: None}, + (_CG, _ET), + ((lambda: schemas.CONNECTION_GROUP, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_CONNECTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _GCG, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/connection-group/{Identifier}", + "code": 200, + } + ) + }, + GET_CONNECTION_GROUP_INPUT, + GET_CONNECTION_GROUP_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.ENTITY_NOT_FOUND), +) + +GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _GCGBREI, + {_sSI: _cGCGBRER, _smit: None}, + (_RE,), + ((lambda: schemas.STRING, {_sQ: _RE, _smi: None}),), +) + +GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _GCGBREO, + {_sSI: _cGCGBRERo, _smith: None}, + (_CG, _ET), + ((lambda: schemas.CONNECTION_GROUP, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _GCGBRE, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/connection-group", "code": 200} + ) + }, + GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_INPUT, + GET_CONNECTION_GROUP_BY_ROUTING_ENDPOINT_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.ENTITY_NOT_FOUND), +) + +GET_CONTINUOUS_DEPLOYMENT_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GCDPI, + {_sSI: _cGCDPR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GCDPO, + {_sSI: _cGCDPRo, _smith: None}, + (_CDP, _ET), + ( + (lambda: schemas.CONTINUOUS_DEPLOYMENT_POLICY, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_CONTINUOUS_DEPLOYMENT_POLICY: StaticOperationSchema = ( + 23, + n0, + _GCDP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/continuous-deployment-policy/{Id}", + "code": 200, + } + ) + }, + GET_CONTINUOUS_DEPLOYMENT_POLICY_INPUT, + GET_CONTINUOUS_DEPLOYMENT_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, + ), +) + +GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GCDPCI, + {_sSI: _cGCDPCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GCDPCO, + {_sSI: _cGCDPCRo, _smith: None}, + (_CDPC, _ET), + ( + (lambda: schemas.CONTINUOUS_DEPLOYMENT_POLICY_CONFIG, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GCDPC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/continuous-deployment-policy/{Id}/config", + "code": 200, + } + ) + }, + GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_INPUT, + GET_CONTINUOUS_DEPLOYMENT_POLICY_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, + ), +) + +GET_DISTRIBUTION_INPUT: StaticSchema = ( + 18, + n0, + _GDI, + {_sSI: _cGDR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_DISTRIBUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GDO, + {_sSI: _cGDRo, _smith: None}, + (_Dis, _ET), + ((lambda: schemas.DISTRIBUTION, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_DISTRIBUTION: StaticOperationSchema = ( + 23, + n0, + _GD, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/distribution/{Id}", "code": 200} + ) + }, + GET_DISTRIBUTION_INPUT, + GET_DISTRIBUTION_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_DISTRIBUTION), +) + +GET_DISTRIBUTION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GDCI, + {_sSI: _cGDCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_DISTRIBUTION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GDCO, + {_sSI: _cGDCRo, _smith: None}, + (_DC, _ET), + ((lambda: schemas.DISTRIBUTION_CONFIG, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_DISTRIBUTION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GDC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distribution/{Id}/config", + "code": 200, + } + ) + }, + GET_DISTRIBUTION_CONFIG_INPUT, + GET_DISTRIBUTION_CONFIG_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_DISTRIBUTION), +) + +GET_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( + 18, + n0, + _GDTI, + {_sSI: _cGDTR, _smit: None}, + (_Ide,), + ((lambda: schemas.STRING, 9),), +) + +GET_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( + 18, + n0, + _GDTO, + {_sSI: _cGDTRo, _smith: None}, + (_DT, _ET), + ((lambda: schemas.DISTRIBUTION_TENANT, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_DISTRIBUTION_TENANT: StaticOperationSchema = ( + 23, + n0, + _GDT, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distribution-tenant/{Identifier}", + "code": 200, + } + ) + }, + GET_DISTRIBUTION_TENANT_INPUT, + GET_DISTRIBUTION_TENANT_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.ENTITY_NOT_FOUND), +) + +GET_DISTRIBUTION_TENANT_BY_DOMAIN_INPUT: StaticSchema = ( + 18, + n0, + _GDTBDI, + {_sSI: _cGDTBDR, _smit: None}, + (_Do,), + ((lambda: schemas.STRING, {_sQ: _do, _smi: None}),), +) + +GET_DISTRIBUTION_TENANT_BY_DOMAIN_OUTPUT: StaticSchema = ( + 18, + n0, + _GDTBDO, + {_sSI: _cGDTBDRo, _smith: None}, + (_DT, _ET), + ((lambda: schemas.DISTRIBUTION_TENANT, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_DISTRIBUTION_TENANT_BY_DOMAIN: StaticOperationSchema = ( + 23, + n0, + _GDTBD, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/distribution-tenant", "code": 200} + ) + }, + GET_DISTRIBUTION_TENANT_BY_DOMAIN_INPUT, + GET_DISTRIBUTION_TENANT_BY_DOMAIN_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.ENTITY_NOT_FOUND), +) + +GET_FIELD_LEVEL_ENCRYPTION_INPUT: StaticSchema = ( + 18, + n0, + _GFLEI, + {_sSI: _cGFLER, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_FIELD_LEVEL_ENCRYPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GFLEO, + {_sSI: _cGFLERo, _smith: None}, + (_FLE, _ET), + ( + (lambda: schemas.FIELD_LEVEL_ENCRYPTION, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_FIELD_LEVEL_ENCRYPTION: StaticOperationSchema = ( + 23, + n0, + _GFLE, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/field-level-encryption/{Id}", + "code": 200, + } + ) + }, + GET_FIELD_LEVEL_ENCRYPTION_INPUT, + GET_FIELD_LEVEL_ENCRYPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, + ), +) + +GET_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GFLECI, + {_sSI: _cGFLECR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GFLECO, + {_sSI: _cGFLECRo, _smith: None}, + (_FLEC, _ET), + ( + (lambda: schemas.FIELD_LEVEL_ENCRYPTION_CONFIG, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_FIELD_LEVEL_ENCRYPTION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GFLEC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/field-level-encryption/{Id}/config", + "code": 200, + } + ) + }, + GET_FIELD_LEVEL_ENCRYPTION_CONFIG_INPUT, + GET_FIELD_LEVEL_ENCRYPTION_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_CONFIG, + ), +) + +GET_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _GFLEPI, + {_sSI: _cGFLEPR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _GFLEPO, + {_sSI: _cGFLEPRo, _smith: None}, + (_FLEP, _ET), + ( + (lambda: schemas.FIELD_LEVEL_ENCRYPTION_PROFILE, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_FIELD_LEVEL_ENCRYPTION_PROFILE: StaticOperationSchema = ( + 23, + n0, + _GFLEP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/field-level-encryption-profile/{Id}", + "code": 200, + } + ) + }, + GET_FIELD_LEVEL_ENCRYPTION_PROFILE_INPUT, + GET_FIELD_LEVEL_ENCRYPTION_PROFILE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, + ), +) + +GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GFLEPCI, + {_sSI: _cGFLEPCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GFLEPCO, + {_sSI: _cGFLEPCRo, _smith: None}, + (_FLEPC, _ET), + ( + (lambda: schemas.FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GFLEPC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/field-level-encryption-profile/{Id}/config", + "code": 200, + } + ) + }, + GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_INPUT, + GET_FIELD_LEVEL_ENCRYPTION_PROFILE_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE, + ), +) + +GET_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _GFI, + {_sSI: _cGFR, _smit: None}, + (_N, _Stag), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.FUNCTION_STAGE, {_sQ: _Stag}), + ), +) + +GET_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GFO, + {_sSI: _cGFRo, _smith: None}, + (_FCun, _ET, _CTon), + ( + (lambda: schemas.FUNCTION_BLOB, 16), + (lambda: schemas.STRING, {_sH: _ET}), + (lambda: schemas.STRING, {_sH: _CT_}), + ), +) + +GET_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _GF, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/function/{Name}", "code": 200} + ) + }, + GET_FUNCTION_INPUT, + GET_FUNCTION_OUTPUT, + (lambda: schemas.NO_SUCH_FUNCTION_EXISTS, lambda: schemas.UNSUPPORTED_OPERATION), +) + +GET_INVALIDATION_INPUT: StaticSchema = ( + 18, + n0, + _GII, + {_sSI: _cGIR, _smit: None}, + (_DIi, _Id), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +GET_INVALIDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GIO, + {_sSI: _cGIRo, _smith: None}, + (_Inv,), + ((lambda: schemas.INVALIDATION, 16),), +) + +GET_INVALIDATION: StaticOperationSchema = ( + 23, + n0, + _GI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distribution/{DistributionId}/invalidation/{Id}", + "code": 200, + } + ) + }, + GET_INVALIDATION_INPUT, + GET_INVALIDATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_DISTRIBUTION, + lambda: NO_SUCH_INVALIDATION, + ), +) + +NO_SUCH_INVALIDATION: StaticSchema = ( + 18, + n0, + _NSI, + {_sm: _c, _sE: 404}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( + 18, + n0, + _GIFDTI, + {_sSI: _cGIFDTR, _smit: None}, + (_DTI, _Id), + ((lambda: schemas.STRING, 9), (lambda: schemas.STRING, 9)), +) + +GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( + 18, + n0, + _GIFDTO, + {_sSI: _cGIFDTRo, _smith: None}, + (_Inv,), + ((lambda: schemas.INVALIDATION, 16),), +) + +GET_INVALIDATION_FOR_DISTRIBUTION_TENANT: StaticOperationSchema = ( + 23, + n0, + _GIFDT, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distribution-tenant/{DistributionTenantId}/invalidation/{Id}", + "code": 200, + } + ) + }, + GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_INPUT, + GET_INVALIDATION_FOR_DISTRIBUTION_TENANT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + NO_SUCH_INVALIDATION, + ), +) + +GET_KEY_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _GKGI, + {_sSI: _cGKGR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_KEY_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _GKGO, + {_sSI: _cGKGRo, _smith: None}, + (_KG, _ET), + ((lambda: schemas.KEY_GROUP, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_KEY_GROUP: StaticOperationSchema = ( + 23, + n0, + _GKG, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/key-group/{Id}", "code": 200} + ) + }, + GET_KEY_GROUP_INPUT, + GET_KEY_GROUP_OUTPUT, + (lambda: schemas.NO_SUCH_RESOURCE,), +) + +GET_KEY_GROUP_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GKGCI, + {_sSI: _cGKGCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_KEY_GROUP_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GKGCO, + {_sSI: _cGKGCRo, _smith: None}, + (_KGC, _ET), + ((lambda: schemas.KEY_GROUP_CONFIG, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_KEY_GROUP_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GKGC, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/key-group/{Id}/config", "code": 200} + ) + }, + GET_KEY_GROUP_CONFIG_INPUT, + GET_KEY_GROUP_CONFIG_OUTPUT, + (lambda: schemas.NO_SUCH_RESOURCE,), +) + +GET_MANAGED_CERTIFICATE_DETAILS_INPUT: StaticSchema = ( + 18, + n0, + _GMCDI, + {_sSI: _cGMCDR, _smit: None}, + (_Ide,), + ((lambda: schemas.STRING, 9),), +) + +GET_MANAGED_CERTIFICATE_DETAILS_OUTPUT: StaticSchema = ( + 18, + n0, + _GMCDO, + {_sSI: _cGMCDRo, _smith: None}, + (_MCD,), + ((lambda: schemas.MANAGED_CERTIFICATE_DETAILS, 16),), +) + +GET_MANAGED_CERTIFICATE_DETAILS: StaticOperationSchema = ( + 23, + n0, + _GMCD, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/managed-certificate/{Identifier}", + "code": 200, + } + ) + }, + GET_MANAGED_CERTIFICATE_DETAILS_INPUT, + GET_MANAGED_CERTIFICATE_DETAILS_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.ENTITY_NOT_FOUND), +) + +MANAGED_CERTIFICATE_STATUS: StaticSchema = ( + 14, + n0, + _MCS, + 0, + (_PVe, _Is, _In, _Ex, _VTO, _Rev, _Fa), + ( + (-1, {_sV: _pv}), + (-1, {_sV: _is}), + (-1, {_sV: _in}), + (-1, {_sV: _ex}), + (-1, {_sV: _vto}), + (-1, {_sV: _re}), + (-1, {_sV: _fai}), + ), +) + +VALIDATION_TOKEN_DETAIL: StaticSchema = ( + 18, + n0, + _VTD, + 0, + (_Do, _RTe, _RF), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_7.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_7.py new file mode 100644 index 000000000..4d8e70914 --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_7.py @@ -0,0 +1,1414 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_m = "member" +_sN = "smithy.api#xmlName" +_Q = "Quantity" +_smi = "smithy.api#required" +_I = "Items" +_E = "Enabled" +_A = "Aliases" +_AICPRl = "AliasICPRecordals" +_St = "Status" +_Id = "Id" +_N = "Name" +_Ar = "Arn" +_LMT = "LastModifiedTime" +_ET = "ETag" +_AILC = "AnycastIpListCollection" +_Ma = "Marker" +_NM = "NextMarker" +_MI = "MaxItems" +_IT = "IsTruncated" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_Al = "Alias" +_sQ = "smithy.api#httpQuery" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sH = "smithy.api#httpHeader" +_CBa = "CacheBehaviors" +_Comm = "Comment" +_T = "Type" +_CPL = "CachePolicyList" +_Sta = "Staging" +_CFA = "ConnectionFunctionAssociation" +_CMo = "ConnectionMode" +_CERu = "CustomErrorResponses" +_DCB = "DefaultCacheBehavior" +_HV = "HttpVersion" +_OGr = "OriginGroups" +_DN = "DomainName" +_Or = "Origins" +_PC = "PriceClass" +_Re = "Restrictions" +_VC = "ViewerCertificate" +_VMC = "ViewerMtlsConfig" +_WACLI = "WebACLId" +_IIPVE = "IsIPV6Enabled" +_AILI = "AnycastIpListId" +_ARN = "ARN" +_sP = "smithy.api#httpPayload" +_SCUI = "S3CanonicalUserId" +_CFS = "ConnectionFunctionSummary" +_Stag = "Stage" +_CTr = "CreatedTime" +_RE = "RoutingEndpoint" +_ID = "IsDefault" +_CDP = "ContinuousDeploymentPolicy" +_VTH = "ValidationTokenHost" +_DIi = "DistributionId" +_PK = "PublicKey" +_MS = "MonitoringSubscription" +_OACC = "OriginAccessControlConfig" +_OAC = "OriginAccessControl" +_ORPC = "OriginRequestPolicyConfig" +_ORP = "OriginRequestPolicy" +_PKC = "PublicKeyConfig" +_RLC = "RealtimeLogConfig" +_RHPC = "ResponseHeadersPolicyConfig" +_RHP = "ResponseHeadersPolicy" +_SDC = "StreamingDistributionConfig" +_SD = "StreamingDistribution" +_TSr = "TrustStore" +_VO = "VpcOrigin" +_AIc = "AccountId" +_RA = "ResourceArn" +_Ide = "Identifier" +_VTDL = "ValidationTokenDetailList" +_MCD = "ManagedCertificateDetails" +_CAe = "CertificateArn" +_CSe = "CertificateStatus" +_VTDa = "ValidationTokenDetails" +_GMSI = "GetMonitoringSubscriptionInput" +_cGMSR = "com.amazonaws.cloudfront#GetMonitoringSubscriptionRequest" +_GMSO = "GetMonitoringSubscriptionOutput" +_cGMSRo = "com.amazonaws.cloudfront#GetMonitoringSubscriptionResult" +_GMS = "GetMonitoringSubscription" +_GOACI = "GetOriginAccessControlInput" +_cGOACR = "com.amazonaws.cloudfront#GetOriginAccessControlRequest" +_GOACO = "GetOriginAccessControlOutput" +_cGOACRo = "com.amazonaws.cloudfront#GetOriginAccessControlResult" +_GOAC = "GetOriginAccessControl" +_GOACCI = "GetOriginAccessControlConfigInput" +_cGOACCR = "com.amazonaws.cloudfront#GetOriginAccessControlConfigRequest" +_GOACCO = "GetOriginAccessControlConfigOutput" +_cGOACCRo = "com.amazonaws.cloudfront#GetOriginAccessControlConfigResult" +_GOACC = "GetOriginAccessControlConfig" +_GORPI = "GetOriginRequestPolicyInput" +_cGORPR = "com.amazonaws.cloudfront#GetOriginRequestPolicyRequest" +_GORPO = "GetOriginRequestPolicyOutput" +_cGORPRo = "com.amazonaws.cloudfront#GetOriginRequestPolicyResult" +_GORP = "GetOriginRequestPolicy" +_GORPCI = "GetOriginRequestPolicyConfigInput" +_cGORPCR = "com.amazonaws.cloudfront#GetOriginRequestPolicyConfigRequest" +_GORPCO = "GetOriginRequestPolicyConfigOutput" +_cGORPCRo = "com.amazonaws.cloudfront#GetOriginRequestPolicyConfigResult" +_GORPC = "GetOriginRequestPolicyConfig" +_GPKI = "GetPublicKeyInput" +_cGPKR = "com.amazonaws.cloudfront#GetPublicKeyRequest" +_GPKO = "GetPublicKeyOutput" +_cGPKRo = "com.amazonaws.cloudfront#GetPublicKeyResult" +_GPK = "GetPublicKey" +_GPKCI = "GetPublicKeyConfigInput" +_cGPKCR = "com.amazonaws.cloudfront#GetPublicKeyConfigRequest" +_GPKCO = "GetPublicKeyConfigOutput" +_cGPKCRo = "com.amazonaws.cloudfront#GetPublicKeyConfigResult" +_GPKC = "GetPublicKeyConfig" +_GRLCI = "GetRealtimeLogConfigInput" +_cGRLCR = "com.amazonaws.cloudfront#GetRealtimeLogConfigRequest" +_GRLCO = "GetRealtimeLogConfigOutput" +_cGRLCRo = "com.amazonaws.cloudfront#GetRealtimeLogConfigResult" +_GRLC = "GetRealtimeLogConfig" +_GRPI = "GetResourcePolicyInput" +_cGRPR = "com.amazonaws.cloudfront#GetResourcePolicyRequest" +_GRPO = "GetResourcePolicyOutput" +_cGRPRo = "com.amazonaws.cloudfront#GetResourcePolicyResult" +_PDo = "PolicyDocument" +_GRP = "GetResourcePolicy" +_GRHPI = "GetResponseHeadersPolicyInput" +_cGRHPR = "com.amazonaws.cloudfront#GetResponseHeadersPolicyRequest" +_GRHPO = "GetResponseHeadersPolicyOutput" +_cGRHPRo = "com.amazonaws.cloudfront#GetResponseHeadersPolicyResult" +_GRHP = "GetResponseHeadersPolicy" +_GRHPCI = "GetResponseHeadersPolicyConfigInput" +_cGRHPCR = "com.amazonaws.cloudfront#GetResponseHeadersPolicyConfigRequest" +_GRHPCO = "GetResponseHeadersPolicyConfigOutput" +_cGRHPCRo = "com.amazonaws.cloudfront#GetResponseHeadersPolicyConfigResult" +_GRHPC = "GetResponseHeadersPolicyConfig" +_GSDI = "GetStreamingDistributionInput" +_cGSDR = "com.amazonaws.cloudfront#GetStreamingDistributionRequest" +_GSDO = "GetStreamingDistributionOutput" +_cGSDRo = "com.amazonaws.cloudfront#GetStreamingDistributionResult" +_GSD = "GetStreamingDistribution" +_GSDCI = "GetStreamingDistributionConfigInput" +_cGSDCR = "com.amazonaws.cloudfront#GetStreamingDistributionConfigRequest" +_GSDCO = "GetStreamingDistributionConfigOutput" +_cGSDCRo = "com.amazonaws.cloudfront#GetStreamingDistributionConfigResult" +_GSDC = "GetStreamingDistributionConfig" +_GTSI = "GetTrustStoreInput" +_cGTSR = "com.amazonaws.cloudfront#GetTrustStoreRequest" +_GTSO = "GetTrustStoreOutput" +_cGTSRo = "com.amazonaws.cloudfront#GetTrustStoreResult" +_GTS = "GetTrustStore" +_GVOI = "GetVpcOriginInput" +_cGVOR = "com.amazonaws.cloudfront#GetVpcOriginRequest" +_GVOO = "GetVpcOriginOutput" +_cGVORo = "com.amazonaws.cloudfront#GetVpcOriginResult" +_GVO = "GetVpcOrigin" +_LAILI = "ListAnycastIpListsInput" +_cLAILR = "com.amazonaws.cloudfront#ListAnycastIpListsRequest" +_LAILO = "ListAnycastIpListsOutput" +_cLAILRo = "com.amazonaws.cloudfront#ListAnycastIpListsResult" +_AILn = "AnycastIpLists" +_LAIL = "ListAnycastIpLists" +_LCPI = "ListCachePoliciesInput" +_cLCPR = "com.amazonaws.cloudfront#ListCachePoliciesRequest" +_LCPO = "ListCachePoliciesOutput" +_cLCPRo = "com.amazonaws.cloudfront#ListCachePoliciesResult" +_LCP = "ListCachePolicies" +_LCFOAII = "ListCloudFrontOriginAccessIdentitiesInput" +_cLCFOAIR = "com.amazonaws.cloudfront#ListCloudFrontOriginAccessIdentitiesRequest" +_CFOAIS = "CloudFrontOriginAccessIdentitySummary" +_CFOAISL = "CloudFrontOriginAccessIdentitySummaryList" +_CFOAIL = "CloudFrontOriginAccessIdentityList" +_LCFOAIO = "ListCloudFrontOriginAccessIdentitiesOutput" +_cLCFOAIRo = "com.amazonaws.cloudfront#ListCloudFrontOriginAccessIdentitiesResult" +_LCFOAI = "ListCloudFrontOriginAccessIdentities" +_dIS = "distributionIdString" +_lCAMII = "listConflictingAliasesMaxItemsInteger" +_LCAI = "ListConflictingAliasesInput" +_cLCAR = "com.amazonaws.cloudfront#ListConflictingAliasesRequest" +_CAo = "ConflictingAlias" +_CAon = "ConflictingAliases" +_CAL = "ConflictingAliasesList" +_LCAO = "ListConflictingAliasesOutput" +_cLCARo = "com.amazonaws.cloudfront#ListConflictingAliasesResult" +_LCA = "ListConflictingAliases" +_LCFI = "ListConnectionFunctionsInput" +_cLCFR = "com.amazonaws.cloudfront#ListConnectionFunctionsRequest" +_CFSL = "ConnectionFunctionSummaryList" +_LCFO = "ListConnectionFunctionsOutput" +_cLCFRo = "com.amazonaws.cloudfront#ListConnectionFunctionsResult" +_CFo = "ConnectionFunctions" +_LCF = "ListConnectionFunctions" +_CGAF = "ConnectionGroupAssociationFilter" +_LCGI = "ListConnectionGroupsInput" +_cLCGR = "com.amazonaws.cloudfront#ListConnectionGroupsRequest" +_AF = "AssociationFilter" +_CGS = "ConnectionGroupSummary" +_CGSL = "ConnectionGroupSummaryList" +_LCGO = "ListConnectionGroupsOutput" +_cLCGRo = "com.amazonaws.cloudfront#ListConnectionGroupsResult" +_CGo = "ConnectionGroups" +_LCG = "ListConnectionGroups" +_LCDPI = "ListContinuousDeploymentPoliciesInput" +_cLCDPR = "com.amazonaws.cloudfront#ListContinuousDeploymentPoliciesRequest" +_CDPS = "ContinuousDeploymentPolicySummary" +_CDPSL = "ContinuousDeploymentPolicySummaryList" +_CDPL = "ContinuousDeploymentPolicyList" +_LCDPO = "ListContinuousDeploymentPoliciesOutput" +_cLCDPRo = "com.amazonaws.cloudfront#ListContinuousDeploymentPoliciesResult" +_LCDP = "ListContinuousDeploymentPolicies" +_LDI = "ListDistributionsInput" +_cLDR = "com.amazonaws.cloudfront#ListDistributionsRequest" +_DSi = "DistributionSummary" +_DSL = "DistributionSummaryList" +_DLi = "DistributionList" +_LDO = "ListDistributionsOutput" +_cLDRo = "com.amazonaws.cloudfront#ListDistributionsResult" +_LD = "ListDistributions" +_LDBAILII = "ListDistributionsByAnycastIpListIdInput" +_cLDBAILIR = "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListIdRequest" +_LDBAILIO = "ListDistributionsByAnycastIpListIdOutput" +_cLDBAILIRo = "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListIdResult" +_LDBAILI = "ListDistributionsByAnycastIpListId" + +VALIDATION_TOKEN_DETAIL_LIST: StaticSchema = ( + 16, + n0, + _VTDL, + 0, + (_m,), + ((lambda: schemas.VALIDATION_TOKEN_DETAIL, 0),), +) + +MANAGED_CERTIFICATE_DETAILS: StaticSchema = ( + 18, + n0, + _MCD, + 0, + (_CAe, _CSe, _VTH, _VTDa), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.MANAGED_CERTIFICATE_STATUS, 0), + (lambda: schemas.VALIDATION_TOKEN_HOST, 0), + (VALIDATION_TOKEN_DETAIL_LIST, 0), + ), +) + +GET_MONITORING_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _GMSI, + {_sSI: _cGMSR, _smit: None}, + (_DIi,), + ((lambda: schemas.STRING, 9),), +) + +GET_MONITORING_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GMSO, + {_sSI: _cGMSRo, _smith: None}, + (_MS,), + ((lambda: schemas.MONITORING_SUBSCRIPTION, 16),), +) + +GET_MONITORING_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _GMS, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributions/{DistributionId}/monitoring-subscription", + "code": 200, + } + ) + }, + GET_MONITORING_SUBSCRIPTION_INPUT, + GET_MONITORING_SUBSCRIPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.NO_SUCH_DISTRIBUTION, + lambda: schemas.NO_SUCH_MONITORING_SUBSCRIPTION, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +GET_ORIGIN_ACCESS_CONTROL_INPUT: StaticSchema = ( + 18, + n0, + _GOACI, + {_sSI: _cGOACR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_ORIGIN_ACCESS_CONTROL_OUTPUT: StaticSchema = ( + 18, + n0, + _GOACO, + {_sSI: _cGOACRo, _smith: None}, + (_OAC, _ET), + ((lambda: schemas.ORIGIN_ACCESS_CONTROL, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_ORIGIN_ACCESS_CONTROL: StaticOperationSchema = ( + 23, + n0, + _GOAC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/origin-access-control/{Id}", + "code": 200, + } + ) + }, + GET_ORIGIN_ACCESS_CONTROL_INPUT, + GET_ORIGIN_ACCESS_CONTROL_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_ORIGIN_ACCESS_CONTROL), +) + +GET_ORIGIN_ACCESS_CONTROL_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GOACCI, + {_sSI: _cGOACCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_ORIGIN_ACCESS_CONTROL_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GOACCO, + {_sSI: _cGOACCRo, _smith: None}, + (_OACC, _ET), + ( + (lambda: schemas.ORIGIN_ACCESS_CONTROL_CONFIG, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_ORIGIN_ACCESS_CONTROL_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GOACC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/origin-access-control/{Id}/config", + "code": 200, + } + ) + }, + GET_ORIGIN_ACCESS_CONTROL_CONFIG_INPUT, + GET_ORIGIN_ACCESS_CONTROL_CONFIG_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_ORIGIN_ACCESS_CONTROL), +) + +GET_ORIGIN_REQUEST_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GORPI, + {_sSI: _cGORPR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_ORIGIN_REQUEST_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GORPO, + {_sSI: _cGORPRo, _smith: None}, + (_ORP, _ET), + ((lambda: schemas.ORIGIN_REQUEST_POLICY, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_ORIGIN_REQUEST_POLICY: StaticOperationSchema = ( + 23, + n0, + _GORP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/origin-request-policy/{Id}", + "code": 200, + } + ) + }, + GET_ORIGIN_REQUEST_POLICY_INPUT, + GET_ORIGIN_REQUEST_POLICY_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY), +) + +GET_ORIGIN_REQUEST_POLICY_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GORPCI, + {_sSI: _cGORPCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_ORIGIN_REQUEST_POLICY_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GORPCO, + {_sSI: _cGORPCRo, _smith: None}, + (_ORPC, _ET), + ( + (lambda: schemas.ORIGIN_REQUEST_POLICY_CONFIG, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_ORIGIN_REQUEST_POLICY_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GORPC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/origin-request-policy/{Id}/config", + "code": 200, + } + ) + }, + GET_ORIGIN_REQUEST_POLICY_CONFIG_INPUT, + GET_ORIGIN_REQUEST_POLICY_CONFIG_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY), +) + +GET_PUBLIC_KEY_INPUT: StaticSchema = ( + 18, + n0, + _GPKI, + {_sSI: _cGPKR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_PUBLIC_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _GPKO, + {_sSI: _cGPKRo, _smith: None}, + (_PK, _ET), + ((lambda: schemas.PUBLIC_KEY, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_PUBLIC_KEY: StaticOperationSchema = ( + 23, + n0, + _GPK, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/public-key/{Id}", "code": 200} + ) + }, + GET_PUBLIC_KEY_INPUT, + GET_PUBLIC_KEY_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_PUBLIC_KEY), +) + +GET_PUBLIC_KEY_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GPKCI, + {_sSI: _cGPKCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_PUBLIC_KEY_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GPKCO, + {_sSI: _cGPKCRo, _smith: None}, + (_PKC, _ET), + ((lambda: schemas.PUBLIC_KEY_CONFIG, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_PUBLIC_KEY_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GPKC, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/public-key/{Id}/config", "code": 200} + ) + }, + GET_PUBLIC_KEY_CONFIG_INPUT, + GET_PUBLIC_KEY_CONFIG_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_PUBLIC_KEY), +) + +GET_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GRLCI, + {_sSI: _cGRLCR, _smit: None}, + (_N, _ARN), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +GET_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GRLCO, + {_sSI: _cGRLCRo, _smith: None}, + (_RLC,), + ((lambda: schemas.REALTIME_LOG_CONFIG, 0),), +) + +GET_REALTIME_LOG_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GRLC, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/get-realtime-log-config", + "code": 200, + } + ) + }, + GET_REALTIME_LOG_CONFIG_INPUT, + GET_REALTIME_LOG_CONFIG_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_REALTIME_LOG_CONFIG, + ), +) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_sSI: _cGRPR, _smit: None}, + (_RA,), + ((lambda: schemas.STRING, 1),), +) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_sSI: _cGRPRo, _smith: None}, + (_RA, _PDo), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRP, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/get-resource-policy", "code": 200} + ) + }, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +GET_RESPONSE_HEADERS_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRHPI, + {_sSI: _cGRHPR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_RESPONSE_HEADERS_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRHPO, + {_sSI: _cGRHPRo, _smith: None}, + (_RHP, _ET), + ( + (lambda: schemas.RESPONSE_HEADERS_POLICY, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_RESPONSE_HEADERS_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRHP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/response-headers-policy/{Id}", + "code": 200, + } + ) + }, + GET_RESPONSE_HEADERS_POLICY_INPUT, + GET_RESPONSE_HEADERS_POLICY_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY), +) + +GET_RESPONSE_HEADERS_POLICY_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GRHPCI, + {_sSI: _cGRHPCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_RESPONSE_HEADERS_POLICY_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GRHPCO, + {_sSI: _cGRHPCRo, _smith: None}, + (_RHPC, _ET), + ( + (lambda: schemas.RESPONSE_HEADERS_POLICY_CONFIG, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_RESPONSE_HEADERS_POLICY_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GRHPC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/response-headers-policy/{Id}/config", + "code": 200, + } + ) + }, + GET_RESPONSE_HEADERS_POLICY_CONFIG_INPUT, + GET_RESPONSE_HEADERS_POLICY_CONFIG_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY), +) + +GET_STREAMING_DISTRIBUTION_INPUT: StaticSchema = ( + 18, + n0, + _GSDI, + {_sSI: _cGSDR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_STREAMING_DISTRIBUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GSDO, + {_sSI: _cGSDRo, _smith: None}, + (_SD, _ET), + ( + (lambda: schemas.STREAMING_DISTRIBUTION, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_STREAMING_DISTRIBUTION: StaticOperationSchema = ( + 23, + n0, + _GSD, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/streaming-distribution/{Id}", + "code": 200, + } + ) + }, + GET_STREAMING_DISTRIBUTION_INPUT, + GET_STREAMING_DISTRIBUTION_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_STREAMING_DISTRIBUTION), +) + +GET_STREAMING_DISTRIBUTION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GSDCI, + {_sSI: _cGSDCR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_STREAMING_DISTRIBUTION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GSDCO, + {_sSI: _cGSDCRo, _smith: None}, + (_SDC, _ET), + ( + (lambda: schemas.STREAMING_DISTRIBUTION_CONFIG, 16), + (lambda: schemas.STRING, {_sH: _ET}), + ), +) + +GET_STREAMING_DISTRIBUTION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GSDC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/streaming-distribution/{Id}/config", + "code": 200, + } + ) + }, + GET_STREAMING_DISTRIBUTION_CONFIG_INPUT, + GET_STREAMING_DISTRIBUTION_CONFIG_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.NO_SUCH_STREAMING_DISTRIBUTION), +) + +GET_TRUST_STORE_INPUT: StaticSchema = ( + 18, + n0, + _GTSI, + {_sSI: _cGTSR, _smit: None}, + (_Ide,), + ((lambda: schemas.STRING, 9),), +) + +GET_TRUST_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _GTSO, + {_sSI: _cGTSRo, _smith: None}, + (_TSr, _ET), + ((lambda: schemas.TRUST_STORE, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_TRUST_STORE: StaticOperationSchema = ( + 23, + n0, + _GTS, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/trust-store/{Identifier}", + "code": 200, + } + ) + }, + GET_TRUST_STORE_INPUT, + GET_TRUST_STORE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +GET_VPC_ORIGIN_INPUT: StaticSchema = ( + 18, + n0, + _GVOI, + {_sSI: _cGVOR, _smit: None}, + (_Id,), + ((lambda: schemas.STRING, 9),), +) + +GET_VPC_ORIGIN_OUTPUT: StaticSchema = ( + 18, + n0, + _GVOO, + {_sSI: _cGVORo, _smith: None}, + (_VO, _ET), + ((lambda: schemas.VPC_ORIGIN, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +GET_VPC_ORIGIN: StaticOperationSchema = ( + 23, + n0, + _GVO, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/vpc-origin/{Id}", "code": 200} + ) + }, + GET_VPC_ORIGIN_INPUT, + GET_VPC_ORIGIN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +LIST_ANYCAST_IP_LISTS_INPUT: StaticSchema = ( + 18, + n0, + _LAILI, + {_sSI: _cLAILR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_ANYCAST_IP_LISTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAILO, + {_sSI: _cLAILRo, _smith: None}, + (_AILn,), + ((lambda: schemas.ANYCAST_IP_LIST_COLLECTION, {_sN: _AILC, _sP: None}),), +) + +LIST_ANYCAST_IP_LISTS: StaticOperationSchema = ( + 23, + n0, + _LAIL, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/anycast-ip-list", "code": 200} + ) + }, + LIST_ANYCAST_IP_LISTS_INPUT, + LIST_ANYCAST_IP_LISTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +LIST_CACHE_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LCPI, + {_sSI: _cLCPR, _smit: None}, + (_T, _Ma, _MI), + ( + (lambda: schemas.CACHE_POLICY_TYPE, {_sQ: _T}), + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + ), +) + +LIST_CACHE_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LCPO, + {_sSI: _cLCPRo, _smith: None}, + (_CPL,), + ((lambda: schemas.CACHE_POLICY_LIST, 16),), +) + +LIST_CACHE_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LCP, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/cache-policy", "code": 200} + ) + }, + LIST_CACHE_POLICIES_INPUT, + LIST_CACHE_POLICIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_CACHE_POLICY, + ), +) + +LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_INPUT: StaticSchema = ( + 18, + n0, + _LCFOAII, + {_sSI: _cLCFOAIR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LCFOAIO, + {_sSI: _cLCFOAIRo, _smith: None}, + (_CFOAIL,), + ((lambda: CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_LIST, 16),), +) + +LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES: StaticOperationSchema = ( + 23, + n0, + _LCFOAI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/origin-access-identity/cloudfront", + "code": 200, + } + ) + }, + LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_INPUT, + LIST_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT,), +) + +CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY: StaticSchema = ( + 18, + n0, + _CFOAIS, + 0, + (_Id, _SCUI, _Comm), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + ), +) + +CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CFOAISL, + 0, + (_m,), + ((CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY, {_sN: _CFOAIS}),), +) + +CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_LIST: StaticSchema = ( + 18, + n0, + _CFOAIL, + 0, + (_Ma, _NM, _MI, _IT, _Q, _I), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.INTEGER, 1), + (CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_SUMMARY_LIST, 0), + ), +) + +DISTRIBUTION_ID_STRING: StaticSchema = (3, n0, _dIS, 0) + +LIST_CONFLICTING_ALIASES_MAX_ITEMS_INTEGER: StaticSchema = (7, n0, _lCAMII, 0) + +LIST_CONFLICTING_ALIASES_INPUT: StaticSchema = ( + 18, + n0, + _LCAI, + {_sSI: _cLCAR, _smit: None}, + (_DIi, _Al, _Ma, _MI), + ( + (DISTRIBUTION_ID_STRING, {_sQ: _DIi, _smi: None}), + (lambda: schemas.ALIAS_STRING, {_sQ: _Al, _smi: None}), + (lambda: schemas.STRING, {_sQ: _Ma}), + (LIST_CONFLICTING_ALIASES_MAX_ITEMS_INTEGER, {_sQ: _MI}), + ), +) + +LIST_CONFLICTING_ALIASES_OUTPUT: StaticSchema = ( + 18, + n0, + _LCAO, + {_sSI: _cLCARo, _smith: None}, + (_CAL,), + ((lambda: CONFLICTING_ALIASES_LIST, 16),), +) + +LIST_CONFLICTING_ALIASES: StaticOperationSchema = ( + 23, + n0, + _LCA, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/conflicting-alias", "code": 200} + ) + }, + LIST_CONFLICTING_ALIASES_INPUT, + LIST_CONFLICTING_ALIASES_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT, lambda: schemas.NO_SUCH_DISTRIBUTION), +) + +CONFLICTING_ALIAS: StaticSchema = ( + 18, + n0, + _CAo, + 0, + (_Al, _DIi, _AIc), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +CONFLICTING_ALIASES: StaticSchema = ( + 16, + n0, + _CAon, + 0, + (_m,), + ((CONFLICTING_ALIAS, {_sN: _CAo}),), +) + +CONFLICTING_ALIASES_LIST: StaticSchema = ( + 18, + n0, + _CAL, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (CONFLICTING_ALIASES, 0), + ), +) + +LIST_CONNECTION_FUNCTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LCFI, + {_sSI: _cLCFR, _smit: None}, + (_Ma, _MI, _Stag), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.FUNCTION_STAGE, 0), + ), +) + +LIST_CONNECTION_FUNCTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCFO, + {_sSI: _cLCFRo, _smith: None}, + (_NM, _CFo), + ((lambda: schemas.STRING, 0), (lambda: CONNECTION_FUNCTION_SUMMARY_LIST, 0)), +) + +LIST_CONNECTION_FUNCTIONS: StaticOperationSchema = ( + 23, + n0, + _LCF, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/connection-functions", "code": 200} + ) + }, + LIST_CONNECTION_FUNCTIONS_INPUT, + LIST_CONNECTION_FUNCTIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +CONNECTION_FUNCTION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CFSL, + 0, + (_m,), + ((lambda: schemas.CONNECTION_FUNCTION_SUMMARY, {_sN: _CFS}),), +) + +CONNECTION_GROUP_ASSOCIATION_FILTER: StaticSchema = ( + 18, + n0, + _CGAF, + 0, + (_AILI,), + ((lambda: schemas.STRING, 0),), +) + +LIST_CONNECTION_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _LCGI, + {_sSI: _cLCGR, _smit: None}, + (_AF, _Ma, _MI), + ( + (CONNECTION_GROUP_ASSOCIATION_FILTER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +LIST_CONNECTION_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCGO, + {_sSI: _cLCGRo, _smith: None}, + (_NM, _CGo), + ((lambda: schemas.STRING, 0), (lambda: CONNECTION_GROUP_SUMMARY_LIST, 0)), +) + +LIST_CONNECTION_GROUPS: StaticOperationSchema = ( + 23, + n0, + _LCG, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/connection-groups", "code": 200} + ) + }, + LIST_CONNECTION_GROUPS_INPUT, + LIST_CONNECTION_GROUPS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +CONNECTION_GROUP_SUMMARY: StaticSchema = ( + 18, + n0, + _CGS, + 0, + (_Id, _N, _Ar, _RE, _CTr, _LMT, _ET, _AILI, _E, _St, _ID), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CONNECTION_GROUP_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CGSL, + 0, + (_m,), + ((CONNECTION_GROUP_SUMMARY, {_sN: _CGS}),), +) + +LIST_CONTINUOUS_DEPLOYMENT_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LCDPI, + {_sSI: _cLCDPR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_CONTINUOUS_DEPLOYMENT_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LCDPO, + {_sSI: _cLCDPRo, _smith: None}, + (_CDPL,), + ((lambda: CONTINUOUS_DEPLOYMENT_POLICY_LIST, 16),), +) + +LIST_CONTINUOUS_DEPLOYMENT_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LCDP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/continuous-deployment-policy", + "code": 200, + } + ) + }, + LIST_CONTINUOUS_DEPLOYMENT_POLICIES_INPUT, + LIST_CONTINUOUS_DEPLOYMENT_POLICIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_CONTINUOUS_DEPLOYMENT_POLICY, + ), +) + +CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY: StaticSchema = ( + 18, + n0, + _CDPS, + 0, + (_CDP,), + ((lambda: schemas.CONTINUOUS_DEPLOYMENT_POLICY, 1),), +) + +CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _CDPSL, + 0, + (_m,), + ((CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY, {_sN: _CDPS}),), +) + +CONTINUOUS_DEPLOYMENT_POLICY_LIST: StaticSchema = ( + 18, + n0, + _CDPL, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (CONTINUOUS_DEPLOYMENT_POLICY_SUMMARY_LIST, 0), + ), +) + +LIST_DISTRIBUTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LDI, + {_sSI: _cLDR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_DISTRIBUTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDO, + {_sSI: _cLDRo, _smith: None}, + (_DLi,), + ((lambda: DISTRIBUTION_LIST, 16),), +) + +LIST_DISTRIBUTIONS: StaticOperationSchema = ( + 23, + n0, + _LD, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/distribution", "code": 200} + ) + }, + LIST_DISTRIBUTIONS_INPUT, + LIST_DISTRIBUTIONS_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT,), +) + +DISTRIBUTION_SUMMARY: StaticSchema = ( + 18, + n0, + _DSi, + 0, + ( + _Id, + _ARN, + _ET, + _St, + _LMT, + _DN, + _A, + _Or, + _OGr, + _DCB, + _CBa, + _CERu, + _Comm, + _PC, + _E, + _VC, + _Re, + _WACLI, + _HV, + _IIPVE, + _AICPRl, + _Sta, + _CMo, + _AILI, + _VMC, + _CFA, + ), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.ALIASES, 1), + (lambda: schemas.ORIGINS, 1), + (lambda: schemas.ORIGIN_GROUPS, 0), + (lambda: schemas.DEFAULT_CACHE_BEHAVIOR, 1), + (lambda: schemas.CACHE_BEHAVIORS, 1), + (lambda: schemas.CUSTOM_ERROR_RESPONSES, 1), + (lambda: schemas.SENSITIVE_STRING_TYPE, 1), + (lambda: schemas.PRICE_CLASS, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.VIEWER_CERTIFICATE, 1), + (lambda: schemas.RESTRICTIONS, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.HTTP_VERSION, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.ALIAS_ICP_RECORDALS, 0), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.CONNECTION_MODE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VIEWER_MTLS_CONFIG, 0), + (lambda: schemas.CONNECTION_FUNCTION_ASSOCIATION, 0), + ), +) + +DISTRIBUTION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _DSL, + 0, + (_m,), + ((DISTRIBUTION_SUMMARY, {_sN: _DSi}),), +) + +DISTRIBUTION_LIST: StaticSchema = ( + 18, + n0, + _DLi, + 0, + (_Ma, _NM, _MI, _IT, _Q, _I), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.INTEGER, 1), + (DISTRIBUTION_SUMMARY_LIST, 0), + ), +) + +LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_INPUT: StaticSchema = ( + 18, + n0, + _LDBAILII, + {_sSI: _cLDBAILIR, _smit: None}, + (_Ma, _MI, _AILI), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.STRING, 9), + ), +) + +LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBAILIO, + {_sSI: _cLDBAILIRo, _smith: None}, + (_DLi,), + ((DISTRIBUTION_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID: StaticOperationSchema = ( + 23, + n0, + _LDBAILI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByAnycastIpListId/{AnycastIpListId}", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_INPUT, + LIST_DISTRIBUTIONS_BY_ANYCAST_IP_LIST_ID_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_8.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_8.py new file mode 100644 index 000000000..1a36c2010 --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_8.py @@ -0,0 +1,1335 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_Q = "Quantity" +_smi = "smithy.api#required" +_I = "Items" +_KGI = "KeyGroupId" +_KG = "KeyGroup" +_E = "Enabled" +_St = "Status" +_Id = "Id" +_N = "Name" +_Ar = "Arn" +_LMT = "LastModifiedTime" +_ET = "ETag" +_Ma = "Marker" +_NM = "NextMarker" +_MI = "MaxItems" +_IT = "IsTruncated" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_WACLA = "WebACLArn" +_RLCA = "RealtimeLogConfigArn" +_CPI = "CachePolicyId" +_ORPI = "OriginRequestPolicyId" +_RHPI = "ResponseHeadersPolicyId" +_Comm = "Comment" +_RI = "ResourceId" +_CMo = "ConnectionMode" +_VOI = "VpcOriginId" +_OAIw = "OwnerAccountId" +_WACLI = "WebACLId" +_Dis = "Distribution" +_sP = "smithy.api#httpPayload" +_Stag = "Stage" +_CTr = "CreatedTime" +_Cu = "Customizations" +_Do = "Domain" +_DIi = "DistributionId" +_Dom = "Domains" +_CGI = "ConnectionGroupId" +_DT = "DistributionTenant" +_CTPC = "ContentTypeProfileConfig" +_QAPC = "QueryArgProfileConfig" +_EEn = "EncryptionEntities" +_FSu = "FunctionSummary" +_CTre = "CreateTime" +_AIc = "AccountId" +_RA = "ResourceArn" +_DTI = "DistributionTenantId" +_CAe = "CertificateArn" +_AF = "AssociationFilter" +_DLi = "DistributionList" +_LDBCPII = "ListDistributionsByCachePolicyIdInput" +_cLDBCPIR = "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdRequest" +_DILS = "DistributionIdListSummary" +_DIL = "DistributionIdList" +_LDBCPIO = "ListDistributionsByCachePolicyIdOutput" +_cLDBCPIRo = "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdResult" +_LDBCPI = "ListDistributionsByCachePolicyId" +_LDBCFI = "ListDistributionsByConnectionFunctionInput" +_cLDBCFR = "com.amazonaws.cloudfront#ListDistributionsByConnectionFunctionRequest" +_CFIo = "ConnectionFunctionIdentifier" +_LDBCFO = "ListDistributionsByConnectionFunctionOutput" +_cLDBCFRo = "com.amazonaws.cloudfront#ListDistributionsByConnectionFunctionResult" +_LDBCF = "ListDistributionsByConnectionFunction" +_LDBCMI = "ListDistributionsByConnectionModeInput" +_cLDBCMR = "com.amazonaws.cloudfront#ListDistributionsByConnectionModeRequest" +_LDBCMO = "ListDistributionsByConnectionModeOutput" +_cLDBCMRo = "com.amazonaws.cloudfront#ListDistributionsByConnectionModeResult" +_LDBCM = "ListDistributionsByConnectionMode" +_LDBKGI = "ListDistributionsByKeyGroupInput" +_cLDBKGR = "com.amazonaws.cloudfront#ListDistributionsByKeyGroupRequest" +_LDBKGO = "ListDistributionsByKeyGroupOutput" +_cLDBKGRo = "com.amazonaws.cloudfront#ListDistributionsByKeyGroupResult" +_LDBKG = "ListDistributionsByKeyGroup" +_LDBORPII = "ListDistributionsByOriginRequestPolicyIdInput" +_cLDBORPIR = "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyIdRequest" +_LDBORPIO = "ListDistributionsByOriginRequestPolicyIdOutput" +_cLDBORPIRo = "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyIdResult" +_LDBORPI = "ListDistributionsByOriginRequestPolicyId" +_LDBORI = "ListDistributionsByOwnedResourceInput" +_cLDBORR = "com.amazonaws.cloudfront#ListDistributionsByOwnedResourceRequest" +_DIO = "DistributionIdOwner" +_DIOIL = "DistributionIdOwnerItemList" +_DIOL = "DistributionIdOwnerList" +_LDBORO = "ListDistributionsByOwnedResourceOutput" +_cLDBORRo = "com.amazonaws.cloudfront#ListDistributionsByOwnedResourceResult" +_LDBOR = "ListDistributionsByOwnedResource" +_LDBRLCI = "ListDistributionsByRealtimeLogConfigInput" +_cLDBRLCR = "com.amazonaws.cloudfront#ListDistributionsByRealtimeLogConfigRequest" +_RLCN = "RealtimeLogConfigName" +_LDBRLCO = "ListDistributionsByRealtimeLogConfigOutput" +_cLDBRLCRo = "com.amazonaws.cloudfront#ListDistributionsByRealtimeLogConfigResult" +_LDBRLC = "ListDistributionsByRealtimeLogConfig" +_LDBRHPII = "ListDistributionsByResponseHeadersPolicyIdInput" +_cLDBRHPIR = ( + "com.amazonaws.cloudfront#ListDistributionsByResponseHeadersPolicyIdRequest" +) +_LDBRHPIO = "ListDistributionsByResponseHeadersPolicyIdOutput" +_cLDBRHPIRo = ( + "com.amazonaws.cloudfront#ListDistributionsByResponseHeadersPolicyIdResult" +) +_LDBRHPI = "ListDistributionsByResponseHeadersPolicyId" +_LDBTSI = "ListDistributionsByTrustStoreInput" +_cLDBTSR = "com.amazonaws.cloudfront#ListDistributionsByTrustStoreRequest" +_TSIr = "TrustStoreIdentifier" +_LDBTSO = "ListDistributionsByTrustStoreOutput" +_cLDBTSRo = "com.amazonaws.cloudfront#ListDistributionsByTrustStoreResult" +_LDBTS = "ListDistributionsByTrustStore" +_LDBVOII = "ListDistributionsByVpcOriginIdInput" +_cLDBVOIR = "com.amazonaws.cloudfront#ListDistributionsByVpcOriginIdRequest" +_LDBVOIO = "ListDistributionsByVpcOriginIdOutput" +_cLDBVOIRo = "com.amazonaws.cloudfront#ListDistributionsByVpcOriginIdResult" +_LDBVOI = "ListDistributionsByVpcOriginId" +_LDBWACLII = "ListDistributionsByWebACLIdInput" +_cLDBWACLIR = "com.amazonaws.cloudfront#ListDistributionsByWebACLIdRequest" +_LDBWACLIO = "ListDistributionsByWebACLIdOutput" +_cLDBWACLIRo = "com.amazonaws.cloudfront#ListDistributionsByWebACLIdResult" +_LDBWACLI = "ListDistributionsByWebACLId" +_DTAF = "DistributionTenantAssociationFilter" +_LDTI = "ListDistributionTenantsInput" +_cLDTR = "com.amazonaws.cloudfront#ListDistributionTenantsRequest" +_DTSi = "DistributionTenantSummary" +_DTL = "DistributionTenantList" +_LDTO = "ListDistributionTenantsOutput" +_cLDTRo = "com.amazonaws.cloudfront#ListDistributionTenantsResult" +_LDT = "ListDistributionTenants" +_LDTBCI = "ListDistributionTenantsByCustomizationInput" +_cLDTBCR = "com.amazonaws.cloudfront#ListDistributionTenantsByCustomizationRequest" +_LDTBCO = "ListDistributionTenantsByCustomizationOutput" +_cLDTBCRo = "com.amazonaws.cloudfront#ListDistributionTenantsByCustomizationResult" +_LDTBC = "ListDistributionTenantsByCustomization" +_DRI = "DistributionResourceId" +_LDCI = "ListDomainConflictsInput" +_cLDCR = "com.amazonaws.cloudfront#ListDomainConflictsRequest" +_DCVR = "DomainControlValidationResource" +_DRT = "DistributionResourceType" +_dist = "distribution" +_dt = "distribution-tenant" +_DCo = "DomainConflict" +_RTes = "ResourceType" +_DCL = "DomainConflictsList" +_DCom = "DomainConflicts" +_LDCO = "ListDomainConflictsOutput" +_cLDCRo = "com.amazonaws.cloudfront#ListDomainConflictsResult" +_LDC = "ListDomainConflicts" +_LFLECI = "ListFieldLevelEncryptionConfigsInput" +_cLFLECR = "com.amazonaws.cloudfront#ListFieldLevelEncryptionConfigsRequest" +_FLES = "FieldLevelEncryptionSummary" +_FLESL = "FieldLevelEncryptionSummaryList" +_FLEL = "FieldLevelEncryptionList" +_LFLECO = "ListFieldLevelEncryptionConfigsOutput" +_cLFLECRo = "com.amazonaws.cloudfront#ListFieldLevelEncryptionConfigsResult" +_LFLEC = "ListFieldLevelEncryptionConfigs" +_LFLEPI = "ListFieldLevelEncryptionProfilesInput" +_cLFLEPR = "com.amazonaws.cloudfront#ListFieldLevelEncryptionProfilesRequest" +_FLEPS = "FieldLevelEncryptionProfileSummary" +_FLEPSL = "FieldLevelEncryptionProfileSummaryList" +_FLEPL = "FieldLevelEncryptionProfileList" +_LFLEPO = "ListFieldLevelEncryptionProfilesOutput" +_cLFLEPRo = "com.amazonaws.cloudfront#ListFieldLevelEncryptionProfilesResult" +_LFLEP = "ListFieldLevelEncryptionProfiles" +_LFI = "ListFunctionsInput" +_cLFR = "com.amazonaws.cloudfront#ListFunctionsRequest" +_FSL = "FunctionSummaryList" +_FLu = "FunctionList" +_LFO = "ListFunctionsOutput" +_cLFRo = "com.amazonaws.cloudfront#ListFunctionsResult" +_LF = "ListFunctions" +_LII = "ListInvalidationsInput" +_cLIR = "com.amazonaws.cloudfront#ListInvalidationsRequest" +_ISnv = "InvalidationSummary" +_ISL = "InvalidationSummaryList" +_IL = "InvalidationList" +_LIO = "ListInvalidationsOutput" +_cLIRo = "com.amazonaws.cloudfront#ListInvalidationsResult" +_LI = "ListInvalidations" +_LIFDTI = "ListInvalidationsForDistributionTenantInput" +_cLIFDTR = "com.amazonaws.cloudfront#ListInvalidationsForDistributionTenantRequest" +_LIFDTO = "ListInvalidationsForDistributionTenantOutput" +_cLIFDTRo = "com.amazonaws.cloudfront#ListInvalidationsForDistributionTenantResult" +_LIFDT = "ListInvalidationsForDistributionTenant" +_LKGI = "ListKeyGroupsInput" +_cLKGR = "com.amazonaws.cloudfront#ListKeyGroupsRequest" +_KGS = "KeyGroupSummary" +_KGSL = "KeyGroupSummaryList" +_KGL = "KeyGroupList" +_LKGO = "ListKeyGroupsOutput" +_cLKGRo = "com.amazonaws.cloudfront#ListKeyGroupsResult" +_LKG = "ListKeyGroups" + +LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_INPUT: StaticSchema = ( + 18, + n0, + _LDBCPII, + {_sSI: _cLDBCPIR, _smit: None}, + (_Ma, _MI, _CPI), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.STRING, 9), + ), +) + +LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBCPIO, + {_sSI: _cLDBCPIRo, _smith: None}, + (_DIL,), + ((lambda: DISTRIBUTION_ID_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID: StaticOperationSchema = ( + 23, + n0, + _LDBCPI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_INPUT, + LIST_DISTRIBUTIONS_BY_CACHE_POLICY_ID_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_CACHE_POLICY, + ), +) + +DISTRIBUTION_ID_LIST_SUMMARY: StaticSchema = ( + 16, + n0, + _DILS, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _DIi}),), +) + +DISTRIBUTION_ID_LIST: StaticSchema = ( + 18, + n0, + _DIL, + 0, + (_Ma, _NM, _MI, _IT, _Q, _I), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.INTEGER, 1), + (DISTRIBUTION_ID_LIST_SUMMARY, 0), + ), +) + +LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _LDBCFI, + {_sSI: _cLDBCFR, _smit: None}, + (_Ma, _MI, _CFIo), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.STRING, {_sQ: _CFIo, _smi: None}), + ), +) + +LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBCFO, + {_sSI: _cLDBCFRo, _smith: None}, + (_DLi,), + ((lambda: schemas.DISTRIBUTION_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _LDBCF, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByConnectionFunction", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_INPUT, + LIST_DISTRIBUTIONS_BY_CONNECTION_FUNCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_INPUT: StaticSchema = ( + 18, + n0, + _LDBCMI, + {_sSI: _cLDBCMR, _smit: None}, + (_Ma, _MI, _CMo), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.CONNECTION_MODE, 9), + ), +) + +LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBCMO, + {_sSI: _cLDBCMRo, _smith: None}, + (_DLi,), + ((lambda: schemas.DISTRIBUTION_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_CONNECTION_MODE: StaticOperationSchema = ( + 23, + n0, + _LDBCM, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByConnectionMode/{ConnectionMode}", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_INPUT, + LIST_DISTRIBUTIONS_BY_CONNECTION_MODE_OUTPUT, + (lambda: schemas.ACCESS_DENIED, lambda: schemas.INVALID_ARGUMENT), +) + +LIST_DISTRIBUTIONS_BY_KEY_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _LDBKGI, + {_sSI: _cLDBKGR, _smit: None}, + (_Ma, _MI, _KGI), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.STRING, 9), + ), +) + +LIST_DISTRIBUTIONS_BY_KEY_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBKGO, + {_sSI: _cLDBKGRo, _smith: None}, + (_DIL,), + ((DISTRIBUTION_ID_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_KEY_GROUP: StaticOperationSchema = ( + 23, + n0, + _LDBKG, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByKeyGroupId/{KeyGroupId}", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_KEY_GROUP_INPUT, + LIST_DISTRIBUTIONS_BY_KEY_GROUP_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT, lambda: schemas.NO_SUCH_RESOURCE), +) + +LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_INPUT: StaticSchema = ( + 18, + n0, + _LDBORPII, + {_sSI: _cLDBORPIR, _smit: None}, + (_Ma, _MI, _ORPI), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.STRING, 9), + ), +) + +LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBORPIO, + {_sSI: _cLDBORPIRo, _smith: None}, + (_DIL,), + ((DISTRIBUTION_ID_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID: StaticOperationSchema = ( + 23, + n0, + _LDBORPI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_INPUT, + LIST_DISTRIBUTIONS_BY_ORIGIN_REQUEST_POLICY_ID_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY, + ), +) + +LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LDBORI, + {_sSI: _cLDBORR, _smit: None}, + (_RA, _Ma, _MI), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + ), +) + +LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBORO, + {_sSI: _cLDBORRo, _smith: None}, + (_DLi,), + ((lambda: DISTRIBUTION_ID_OWNER_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LDBOR, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByOwnedResource/{ResourceArn}", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_INPUT, + LIST_DISTRIBUTIONS_BY_OWNED_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +DISTRIBUTION_ID_OWNER: StaticSchema = ( + 18, + n0, + _DIO, + 0, + (_DIi, _OAIw), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +DISTRIBUTION_ID_OWNER_ITEM_LIST: StaticSchema = ( + 16, + n0, + _DIOIL, + 0, + (_m,), + ((DISTRIBUTION_ID_OWNER, {_sN: _DIO}),), +) + +DISTRIBUTION_ID_OWNER_LIST: StaticSchema = ( + 18, + n0, + _DIOL, + 0, + (_Ma, _NM, _MI, _IT, _Q, _I), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.INTEGER, 1), + (DISTRIBUTION_ID_OWNER_ITEM_LIST, 0), + ), +) + +LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _LDBRLCI, + {_sSI: _cLDBRLCR, _smit: None}, + (_Ma, _MI, _RLCN, _RLCA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBRLCO, + {_sSI: _cLDBRLCRo, _smith: None}, + (_DLi,), + ((lambda: schemas.DISTRIBUTION_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG: StaticOperationSchema = ( + 23, + n0, + _LDBRLC, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/distributionsByRealtimeLogConfig", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_INPUT, + LIST_DISTRIBUTIONS_BY_REALTIME_LOG_CONFIG_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT,), +) + +LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_INPUT: StaticSchema = ( + 18, + n0, + _LDBRHPII, + {_sSI: _cLDBRHPIR, _smit: None}, + (_Ma, _MI, _RHPI), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.STRING, 9), + ), +) + +LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBRHPIO, + {_sSI: _cLDBRHPIRo, _smith: None}, + (_DIL,), + ((DISTRIBUTION_ID_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID: StaticOperationSchema = ( + 23, + n0, + _LDBRHPI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByResponseHeadersPolicyId/{ResponseHeadersPolicyId}", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_INPUT, + LIST_DISTRIBUTIONS_BY_RESPONSE_HEADERS_POLICY_ID_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY, + ), +) + +LIST_DISTRIBUTIONS_BY_TRUST_STORE_INPUT: StaticSchema = ( + 18, + n0, + _LDBTSI, + {_sSI: _cLDBTSR, _smit: None}, + (_TSIr, _Ma, _MI), + ( + (lambda: schemas.STRING, {_sQ: _TSIr, _smi: None}), + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + ), +) + +LIST_DISTRIBUTIONS_BY_TRUST_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBTSO, + {_sSI: _cLDBTSRo, _smith: None}, + (_DLi,), + ((lambda: schemas.DISTRIBUTION_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_TRUST_STORE: StaticOperationSchema = ( + 23, + n0, + _LDBTS, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByTrustStore", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_TRUST_STORE_INPUT, + LIST_DISTRIBUTIONS_BY_TRUST_STORE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_INPUT: StaticSchema = ( + 18, + n0, + _LDBVOII, + {_sSI: _cLDBVOIR, _smit: None}, + (_Ma, _MI, _VOI), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.STRING, 9), + ), +) + +LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBVOIO, + {_sSI: _cLDBVOIRo, _smith: None}, + (_DIL,), + ((DISTRIBUTION_ID_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID: StaticOperationSchema = ( + 23, + n0, + _LDBVOI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByVpcOriginId/{VpcOriginId}", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_INPUT, + LIST_DISTRIBUTIONS_BY_VPC_ORIGIN_ID_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_INPUT: StaticSchema = ( + 18, + n0, + _LDBWACLII, + {_sSI: _cLDBWACLIR, _smit: None}, + (_Ma, _MI, _WACLI), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.STRING, 9), + ), +) + +LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBWACLIO, + {_sSI: _cLDBWACLIRo, _smith: None}, + (_DLi,), + ((lambda: schemas.DISTRIBUTION_LIST, 16),), +) + +LIST_DISTRIBUTIONS_BY_WEB_ACL_ID: StaticOperationSchema = ( + 23, + n0, + _LDBWACLI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distributionsByWebACLId/{WebACLId}", + "code": 200, + } + ) + }, + LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_INPUT, + LIST_DISTRIBUTIONS_BY_WEB_ACL_ID_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT, lambda: schemas.INVALID_WEB_ACL_ID), +) + +DISTRIBUTION_TENANT_ASSOCIATION_FILTER: StaticSchema = ( + 18, + n0, + _DTAF, + 0, + (_DIi, _CGI), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +LIST_DISTRIBUTION_TENANTS_INPUT: StaticSchema = ( + 18, + n0, + _LDTI, + {_sSI: _cLDTR, _smit: None}, + (_AF, _Ma, _MI), + ( + (DISTRIBUTION_TENANT_ASSOCIATION_FILTER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +LIST_DISTRIBUTION_TENANTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDTO, + {_sSI: _cLDTRo, _smith: None}, + (_NM, _DTL), + ((lambda: schemas.STRING, 0), (lambda: DISTRIBUTION_TENANT_LIST, 0)), +) + +LIST_DISTRIBUTION_TENANTS: StaticOperationSchema = ( + 23, + n0, + _LDT, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/distribution-tenants", "code": 200} + ) + }, + LIST_DISTRIBUTION_TENANTS_INPUT, + LIST_DISTRIBUTION_TENANTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +DISTRIBUTION_TENANT_SUMMARY: StaticSchema = ( + 18, + n0, + _DTSi, + 0, + (_Id, _DIi, _N, _Ar, _Dom, _CGI, _Cu, _CTr, _LMT, _ET, _E, _St), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.DOMAIN_RESULT_LIST, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.CUSTOMIZATIONS, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +DISTRIBUTION_TENANT_LIST: StaticSchema = ( + 16, + n0, + _DTL, + 0, + (_m,), + ((DISTRIBUTION_TENANT_SUMMARY, {_sN: _DTSi}),), +) + +LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_INPUT: StaticSchema = ( + 18, + n0, + _LDTBCI, + {_sSI: _cLDTBCR, _smit: None}, + (_WACLA, _CAe, _Ma, _MI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_OUTPUT: StaticSchema = ( + 18, + n0, + _LDTBCO, + {_sSI: _cLDTBCRo, _smith: None}, + (_NM, _DTL), + ((lambda: schemas.STRING, 0), (DISTRIBUTION_TENANT_LIST, 0)), +) + +LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION: StaticOperationSchema = ( + 23, + n0, + _LDTBC, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/distribution-tenants-by-customization", + "code": 200, + } + ) + }, + LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_INPUT, + LIST_DISTRIBUTION_TENANTS_BY_CUSTOMIZATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +DISTRIBUTION_RESOURCE_ID: StaticSchema = ( + 18, + n0, + _DRI, + 0, + (_DIi, _DTI), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +LIST_DOMAIN_CONFLICTS_INPUT: StaticSchema = ( + 18, + n0, + _LDCI, + {_sSI: _cLDCR, _smit: None}, + (_Do, _DCVR, _MI, _Ma), + ( + (lambda: schemas.STRING, 1), + (DISTRIBUTION_RESOURCE_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_DOMAIN_CONFLICTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDCO, + {_sSI: _cLDCRo, _smith: None}, + (_DCom, _NM), + ((lambda: DOMAIN_CONFLICTS_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_DOMAIN_CONFLICTS: StaticOperationSchema = ( + 23, + n0, + _LDC, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/domain-conflicts", "code": 200} + ) + }, + LIST_DOMAIN_CONFLICTS_INPUT, + LIST_DOMAIN_CONFLICTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +DISTRIBUTION_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _DRT, + 0, + (_Dis, _DT), + ((-1, {_sV: _dist}), (-1, {_sV: _dt})), +) + +DOMAIN_CONFLICT: StaticSchema = ( + 18, + n0, + _DCo, + 0, + (_Do, _RTes, _RI, _AIc), + ( + (lambda: schemas.STRING, 1), + (DISTRIBUTION_RESOURCE_TYPE, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + ), +) + +DOMAIN_CONFLICTS_LIST: StaticSchema = ( + 16, + n0, + _DCL, + 0, + (_m,), + ((DOMAIN_CONFLICT, {_sN: _DCom}),), +) + +LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_INPUT: StaticSchema = ( + 18, + n0, + _LFLECI, + {_sSI: _cLFLECR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFLECO, + {_sSI: _cLFLECRo, _smith: None}, + (_FLEL,), + ((lambda: FIELD_LEVEL_ENCRYPTION_LIST, 16),), +) + +LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS: StaticOperationSchema = ( + 23, + n0, + _LFLEC, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/field-level-encryption", "code": 200} + ) + }, + LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_INPUT, + LIST_FIELD_LEVEL_ENCRYPTION_CONFIGS_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT,), +) + +FIELD_LEVEL_ENCRYPTION_SUMMARY: StaticSchema = ( + 18, + n0, + _FLES, + 0, + (_Id, _LMT, _Comm, _QAPC, _CTPC), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.QUERY_ARG_PROFILE_CONFIG, 0), + (lambda: schemas.CONTENT_TYPE_PROFILE_CONFIG, 0), + ), +) + +FIELD_LEVEL_ENCRYPTION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _FLESL, + 0, + (_m,), + ((FIELD_LEVEL_ENCRYPTION_SUMMARY, {_sN: _FLES}),), +) + +FIELD_LEVEL_ENCRYPTION_LIST: StaticSchema = ( + 18, + n0, + _FLEL, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (FIELD_LEVEL_ENCRYPTION_SUMMARY_LIST, 0), + ), +) + +LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_INPUT: StaticSchema = ( + 18, + n0, + _LFLEPI, + {_sSI: _cLFLEPR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_OUTPUT: StaticSchema = ( + 18, + n0, + _LFLEPO, + {_sSI: _cLFLEPRo, _smith: None}, + (_FLEPL,), + ((lambda: FIELD_LEVEL_ENCRYPTION_PROFILE_LIST, 16),), +) + +LIST_FIELD_LEVEL_ENCRYPTION_PROFILES: StaticOperationSchema = ( + 23, + n0, + _LFLEP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/field-level-encryption-profile", + "code": 200, + } + ) + }, + LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_INPUT, + LIST_FIELD_LEVEL_ENCRYPTION_PROFILES_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT,), +) + +FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY: StaticSchema = ( + 18, + n0, + _FLEPS, + 0, + (_Id, _LMT, _N, _EEn, _Comm), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.ENCRYPTION_ENTITIES, 1), + (lambda: schemas.STRING, 0), + ), +) + +FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _FLEPSL, + 0, + (_m,), + ((FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY, {_sN: _FLEPS}),), +) + +FIELD_LEVEL_ENCRYPTION_PROFILE_LIST: StaticSchema = ( + 18, + n0, + _FLEPL, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (FIELD_LEVEL_ENCRYPTION_PROFILE_SUMMARY_LIST, 0), + ), +) + +LIST_FUNCTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LFI, + {_sSI: _cLFR, _smit: None}, + (_Ma, _MI, _Stag), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.FUNCTION_STAGE, {_sQ: _Stag}), + ), +) + +LIST_FUNCTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFO, + {_sSI: _cLFRo, _smith: None}, + (_FLu,), + ((lambda: FUNCTION_LIST, 16),), +) + +LIST_FUNCTIONS: StaticOperationSchema = ( + 23, + n0, + _LF, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/function", "code": 200} + ) + }, + LIST_FUNCTIONS_INPUT, + LIST_FUNCTIONS_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT, lambda: schemas.UNSUPPORTED_OPERATION), +) + +FUNCTION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _FSL, + 0, + (_m,), + ((lambda: schemas.FUNCTION_SUMMARY, {_sN: _FSu}),), +) + +FUNCTION_LIST: StaticSchema = ( + 18, + n0, + _FLu, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (FUNCTION_SUMMARY_LIST, 0), + ), +) + +LIST_INVALIDATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LII, + {_sSI: _cLIR, _smit: None}, + (_DIi, _Ma, _MI), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + ), +) + +LIST_INVALIDATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIO, + {_sSI: _cLIRo, _smith: None}, + (_IL,), + ((lambda: INVALIDATION_LIST, 16),), +) + +LIST_INVALIDATIONS: StaticOperationSchema = ( + 23, + n0, + _LI, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distribution/{DistributionId}/invalidation", + "code": 200, + } + ) + }, + LIST_INVALIDATIONS_INPUT, + LIST_INVALIDATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_DISTRIBUTION, + ), +) + +INVALIDATION_SUMMARY: StaticSchema = ( + 18, + n0, + _ISnv, + 0, + (_Id, _CTre, _St), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + ), +) + +INVALIDATION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _ISL, + 0, + (_m,), + ((INVALIDATION_SUMMARY, {_sN: _ISnv}),), +) + +INVALIDATION_LIST: StaticSchema = ( + 18, + n0, + _IL, + 0, + (_Ma, _NM, _MI, _IT, _Q, _I), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.INTEGER, 1), + (INVALIDATION_SUMMARY_LIST, 0), + ), +) + +LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_INPUT: StaticSchema = ( + 18, + n0, + _LIFDTI, + {_sSI: _cLIFDTR, _smit: None}, + (_Id, _Ma, _MI), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + ), +) + +LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_OUTPUT: StaticSchema = ( + 18, + n0, + _LIFDTO, + {_sSI: _cLIFDTRo, _smith: None}, + (_IL,), + ((INVALIDATION_LIST, 16),), +) + +LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT: StaticOperationSchema = ( + 23, + n0, + _LIFDT, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-05-31/distribution-tenant/{Id}/invalidation", + "code": 200, + } + ) + }, + LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_INPUT, + LIST_INVALIDATIONS_FOR_DISTRIBUTION_TENANT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +LIST_KEY_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _LKGI, + {_sSI: _cLKGR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_KEY_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _LKGO, + {_sSI: _cLKGRo, _smith: None}, + (_KGL,), + ((lambda: KEY_GROUP_LIST, 16),), +) + +LIST_KEY_GROUPS: StaticOperationSchema = ( + 23, + n0, + _LKG, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/key-group", "code": 200} + ) + }, + LIST_KEY_GROUPS_INPUT, + LIST_KEY_GROUPS_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT,), +) + +KEY_GROUP_SUMMARY: StaticSchema = ( + 18, + n0, + _KGS, + 0, + (_KG,), + ((lambda: schemas.KEY_GROUP, 1),), +) + +KEY_GROUP_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _KGSL, + 0, + (_m,), + ((KEY_GROUP_SUMMARY, {_sN: _KGS}),), +) + +KEY_GROUP_LIST: StaticSchema = ( + 18, + n0, + _KGL, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (KEY_GROUP_SUMMARY_LIST, 0), + ), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_9.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_9.py new file mode 100644 index 000000000..ae3b4a22b --- /dev/null +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/_private/schemas_9.py @@ -0,0 +1,1348 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudfront" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#error" +_sE = "smithy.api#httpError" +_Me = "Message" +_Q = "Quantity" +_smi = "smithy.api#required" +_I = "Items" +_E = "Enabled" +_A = "Aliases" +_IAT = "IpAddressType" +_St = "Status" +_ICCp = "IpamCidrConfigs" +_AIL = "AnycastIpList" +_Id = "Id" +_N = "Name" +_Ar = "Arn" +_LMT = "LastModifiedTime" +_ET = "ETag" +_Ma = "Marker" +_NM = "NextMarker" +_MI = "MaxItems" +_IT = "IsTruncated" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_sU = "smithy.api#Unit" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_IM = "IfMatch" +_sH = "smithy.api#httpHeader" +_IM_ = "If-Match" +_K = "Key" +_TS = "TrustedSigners" +_CPC = "CachePolicyConfig" +_Comm = "Comment" +_CPa = "CachePolicy" +_ma = "managed" +_cu = "custom" +_T = "Type" +_smithya = "smithy.api#sensitive" +_DN = "DomainName" +_PC = "PriceClass" +_ARN = "ARN" +_sP = "smithy.api#httpPayload" +_Tag = "Tags" +_CFS = "ConnectionFunctionSummary" +_Stag = "Stage" +_CTr = "CreatedTime" +_FSu = "FunctionSummary" +_KVS = "KeyValueStore" +_Des = "Description" +_SPi = "SigningProtocol" +_SB = "SigningBehavior" +_OACOTr = "OriginAccessControlOriginType" +_ORP = "OriginRequestPolicy" +_EK = "EncodedKey" +_RHP = "ResponseHeadersPolicy" +_SO = "S3Origin" +_NOCC = "NumberOfCaCertificates" +_Rea = "Reason" +_AIc = "AccountId" +_RA = "ResourceArn" +_PDo = "PolicyDocument" +_LKVSI = "ListKeyValueStoresInput" +_cLKVSR = "com.amazonaws.cloudfront#ListKeyValueStoresRequest" +_KVSSL = "KeyValueStoreSummaryList" +_KVSL = "KeyValueStoreList" +_LKVSO = "ListKeyValueStoresOutput" +_cLKVSRo = "com.amazonaws.cloudfront#ListKeyValueStoresResult" +_LKVS = "ListKeyValueStores" +_LOACI = "ListOriginAccessControlsInput" +_cLOACR = "com.amazonaws.cloudfront#ListOriginAccessControlsRequest" +_OACS = "OriginAccessControlSummary" +_OACSL = "OriginAccessControlSummaryList" +_OACL = "OriginAccessControlList" +_LOACO = "ListOriginAccessControlsOutput" +_cLOACRo = "com.amazonaws.cloudfront#ListOriginAccessControlsResult" +_LOAC = "ListOriginAccessControls" +_ORPT = "OriginRequestPolicyType" +_LORPI = "ListOriginRequestPoliciesInput" +_cLORPR = "com.amazonaws.cloudfront#ListOriginRequestPoliciesRequest" +_ORPS = "OriginRequestPolicySummary" +_ORPSL = "OriginRequestPolicySummaryList" +_ORPL = "OriginRequestPolicyList" +_LORPO = "ListOriginRequestPoliciesOutput" +_cLORPRo = "com.amazonaws.cloudfront#ListOriginRequestPoliciesResult" +_LORP = "ListOriginRequestPolicies" +_LPKI = "ListPublicKeysInput" +_cLPKR = "com.amazonaws.cloudfront#ListPublicKeysRequest" +_PKS = "PublicKeySummary" +_PKSL = "PublicKeySummaryList" +_PKL = "PublicKeyList" +_LPKO = "ListPublicKeysOutput" +_cLPKRo = "com.amazonaws.cloudfront#ListPublicKeysResult" +_LPK = "ListPublicKeys" +_LRLCI = "ListRealtimeLogConfigsInput" +_cLRLCR = "com.amazonaws.cloudfront#ListRealtimeLogConfigsRequest" +_RLCL = "RealtimeLogConfigList" +_RLCe = "RealtimeLogConfigs" +_LRLCO = "ListRealtimeLogConfigsOutput" +_cLRLCRo = "com.amazonaws.cloudfront#ListRealtimeLogConfigsResult" +_LRLC = "ListRealtimeLogConfigs" +_RHPT = "ResponseHeadersPolicyType" +_LRHPI = "ListResponseHeadersPoliciesInput" +_cLRHPR = "com.amazonaws.cloudfront#ListResponseHeadersPoliciesRequest" +_RHPS = "ResponseHeadersPolicySummary" +_RHPSL = "ResponseHeadersPolicySummaryList" +_RHPL = "ResponseHeadersPolicyList" +_LRHPO = "ListResponseHeadersPoliciesOutput" +_cLRHPRo = "com.amazonaws.cloudfront#ListResponseHeadersPoliciesResult" +_LRHP = "ListResponseHeadersPolicies" +_LSDI = "ListStreamingDistributionsInput" +_cLSDR = "com.amazonaws.cloudfront#ListStreamingDistributionsRequest" +_SDS = "StreamingDistributionSummary" +_SDSL = "StreamingDistributionSummaryList" +_SDL = "StreamingDistributionList" +_LSDO = "ListStreamingDistributionsOutput" +_cLSDRo = "com.amazonaws.cloudfront#ListStreamingDistributionsResult" +_LSD = "ListStreamingDistributions" +_RARNe = "ResourceARN" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.cloudfront#ListTagsForResourceRequest" +_Res = "Resource" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.cloudfront#ListTagsForResourceResult" +_LTFR = "ListTagsForResource" +_LTSI = "ListTrustStoresInput" +_cLTSR = "com.amazonaws.cloudfront#ListTrustStoresRequest" +_TSSr = "TrustStoreSummary" +_TSL = "TrustStoreList" +_LTSO = "ListTrustStoresOutput" +_cLTSRo = "com.amazonaws.cloudfront#ListTrustStoresResult" +_LTS = "ListTrustStores" +_LVOI = "ListVpcOriginsInput" +_cLVOR = "com.amazonaws.cloudfront#ListVpcOriginsRequest" +_VOS = "VpcOriginSummary" +_OEA = "OriginEndpointArn" +_VOSL = "VpcOriginSummaryList" +_VOL = "VpcOriginList" +_LVOO = "ListVpcOriginsOutput" +_cLVORo = "com.amazonaws.cloudfront#ListVpcOriginsResult" +_LVO = "ListVpcOrigins" +_PCFI = "PublishConnectionFunctionInput" +_cPCFR = "com.amazonaws.cloudfront#PublishConnectionFunctionRequest" +_PCFO = "PublishConnectionFunctionOutput" +_cPCFRo = "com.amazonaws.cloudfront#PublishConnectionFunctionResult" +_PCF = "PublishConnectionFunction" +_PFI = "PublishFunctionInput" +_cPFR = "com.amazonaws.cloudfront#PublishFunctionRequest" +_PFO = "PublishFunctionOutput" +_cPFRo = "com.amazonaws.cloudfront#PublishFunctionResult" +_PFu = "PublishFunction" +_PRPI = "PutResourcePolicyInput" +_cPRPR = "com.amazonaws.cloudfront#PutResourcePolicyRequest" +_PRPO = "PutResourcePolicyOutput" +_cPRPRo = "com.amazonaws.cloudfront#PutResourcePolicyResult" +_PRP = "PutResourcePolicy" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.cloudfront#TagResourceRequest" +_TRO = "TagResourceOutput" +_TR = "TagResource" +_FEO = "FunctionEventObject" +_TCFI = "TestConnectionFunctionInput" +_cTCFR = "com.amazonaws.cloudfront#TestConnectionFunctionRequest" +_CO = "ConnectionObject" +_FELL = "FunctionExecutionLogList" +_CFTR = "ConnectionFunctionTestResult" +_CU = "ComputeUtilization" +_CFEL = "ConnectionFunctionExecutionLogs" +_CFEM = "ConnectionFunctionErrorMessage" +_CFOo = "ConnectionFunctionOutput" +_TCFO = "TestConnectionFunctionOutput" +_cTCFRo = "com.amazonaws.cloudfront#TestConnectionFunctionResult" +_TFF = "TestFunctionFailed" +_se = "server" +_TCF = "TestConnectionFunction" +_TFI = "TestFunctionInput" +_cTFR = "com.amazonaws.cloudfront#TestFunctionRequest" +_EO = "EventObject" +_TRe = "TestResult" +_FEL = "FunctionExecutionLogs" +_FEM = "FunctionErrorMessage" +_FOu = "FunctionOutput" +_TFO = "TestFunctionOutput" +_cTFRo = "com.amazonaws.cloudfront#TestFunctionResult" +_TF = "TestFunction" +_TKL = "TagKeyList" +_TKa = "TagKeys" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.cloudfront#UntagResourceRequest" +_URO = "UntagResourceOutput" +_UR = "UntagResource" +_UAILI = "UpdateAnycastIpListInput" +_cUAILR = "com.amazonaws.cloudfront#UpdateAnycastIpListRequest" +_UAILO = "UpdateAnycastIpListOutput" +_cUAILRo = "com.amazonaws.cloudfront#UpdateAnycastIpListResult" +_UAIL = "UpdateAnycastIpList" +_UCPI = "UpdateCachePolicyInput" +_cUCPR = "com.amazonaws.cloudfront#UpdateCachePolicyRequest" +_UCPO = "UpdateCachePolicyOutput" +_cUCPRo = "com.amazonaws.cloudfront#UpdateCachePolicyResult" +_UCP = "UpdateCachePolicy" + +LIST_KEY_VALUE_STORES_INPUT: StaticSchema = ( + 18, + n0, + _LKVSI, + {_sSI: _cLKVSR, _smit: None}, + (_Ma, _MI, _St), + ( + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + (lambda: schemas.STRING, {_sQ: _St}), + ), +) + +LIST_KEY_VALUE_STORES_OUTPUT: StaticSchema = ( + 18, + n0, + _LKVSO, + {_sSI: _cLKVSRo, _smith: None}, + (_KVSL,), + ((lambda: KEY_VALUE_STORE_LIST, 16),), +) + +LIST_KEY_VALUE_STORES: StaticOperationSchema = ( + 23, + n0, + _LKVS, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/key-value-store", "code": 200} + ) + }, + LIST_KEY_VALUE_STORES_INPUT, + LIST_KEY_VALUE_STORES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +KEY_VALUE_STORE_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _KVSSL, + 0, + (_m,), + ((lambda: schemas.KEY_VALUE_STORE, {_sN: _KVS}),), +) + +KEY_VALUE_STORE_LIST: StaticSchema = ( + 18, + n0, + _KVSL, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (KEY_VALUE_STORE_SUMMARY_LIST, 0), + ), +) + +LIST_ORIGIN_ACCESS_CONTROLS_INPUT: StaticSchema = ( + 18, + n0, + _LOACI, + {_sSI: _cLOACR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_ORIGIN_ACCESS_CONTROLS_OUTPUT: StaticSchema = ( + 18, + n0, + _LOACO, + {_sSI: _cLOACRo, _smith: None}, + (_OACL,), + ((lambda: ORIGIN_ACCESS_CONTROL_LIST, 16),), +) + +LIST_ORIGIN_ACCESS_CONTROLS: StaticOperationSchema = ( + 23, + n0, + _LOAC, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/origin-access-control", "code": 200} + ) + }, + LIST_ORIGIN_ACCESS_CONTROLS_INPUT, + LIST_ORIGIN_ACCESS_CONTROLS_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT,), +) + +ORIGIN_ACCESS_CONTROL_SUMMARY: StaticSchema = ( + 18, + n0, + _OACS, + 0, + (_Id, _Des, _N, _SPi, _SB, _OACOTr), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.ORIGIN_ACCESS_CONTROL_SIGNING_PROTOCOLS, 1), + (lambda: schemas.ORIGIN_ACCESS_CONTROL_SIGNING_BEHAVIORS, 1), + (lambda: schemas.ORIGIN_ACCESS_CONTROL_ORIGIN_TYPES, 1), + ), +) + +ORIGIN_ACCESS_CONTROL_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _OACSL, + 0, + (_m,), + ((ORIGIN_ACCESS_CONTROL_SUMMARY, {_sN: _OACS}),), +) + +ORIGIN_ACCESS_CONTROL_LIST: StaticSchema = ( + 18, + n0, + _OACL, + 0, + (_Ma, _NM, _MI, _IT, _Q, _I), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.INTEGER, 1), + (ORIGIN_ACCESS_CONTROL_SUMMARY_LIST, 0), + ), +) + +ORIGIN_REQUEST_POLICY_TYPE: StaticSchema = ( + 14, + n0, + _ORPT, + 0, + (_ma, _cu), + ((-1, {_sV: _ma}), (-1, {_sV: _cu})), +) + +LIST_ORIGIN_REQUEST_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LORPI, + {_sSI: _cLORPR, _smit: None}, + (_T, _Ma, _MI), + ( + (ORIGIN_REQUEST_POLICY_TYPE, {_sQ: _T}), + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + ), +) + +LIST_ORIGIN_REQUEST_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LORPO, + {_sSI: _cLORPRo, _smith: None}, + (_ORPL,), + ((lambda: ORIGIN_REQUEST_POLICY_LIST, 16),), +) + +LIST_ORIGIN_REQUEST_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LORP, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/origin-request-policy", "code": 200} + ) + }, + LIST_ORIGIN_REQUEST_POLICIES_INPUT, + LIST_ORIGIN_REQUEST_POLICIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_ORIGIN_REQUEST_POLICY, + ), +) + +ORIGIN_REQUEST_POLICY_SUMMARY: StaticSchema = ( + 18, + n0, + _ORPS, + 0, + (_T, _ORP), + ((ORIGIN_REQUEST_POLICY_TYPE, 1), (lambda: schemas.ORIGIN_REQUEST_POLICY, 1)), +) + +ORIGIN_REQUEST_POLICY_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _ORPSL, + 0, + (_m,), + ((ORIGIN_REQUEST_POLICY_SUMMARY, {_sN: _ORPS}),), +) + +ORIGIN_REQUEST_POLICY_LIST: StaticSchema = ( + 18, + n0, + _ORPL, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (ORIGIN_REQUEST_POLICY_SUMMARY_LIST, 0), + ), +) + +LIST_PUBLIC_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _LPKI, + {_sSI: _cLPKR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_PUBLIC_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPKO, + {_sSI: _cLPKRo, _smith: None}, + (_PKL,), + ((lambda: PUBLIC_KEY_LIST, 16),), +) + +LIST_PUBLIC_KEYS: StaticOperationSchema = ( + 23, + n0, + _LPK, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/public-key", "code": 200} + ) + }, + LIST_PUBLIC_KEYS_INPUT, + LIST_PUBLIC_KEYS_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT,), +) + +PUBLIC_KEY_SUMMARY: StaticSchema = ( + 18, + n0, + _PKS, + 0, + (_Id, _N, _CTr, _EK, _Comm), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + ), +) + +PUBLIC_KEY_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _PKSL, + 0, + (_m,), + ((PUBLIC_KEY_SUMMARY, {_sN: _PKS}),), +) + +PUBLIC_KEY_LIST: StaticSchema = ( + 18, + n0, + _PKL, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (PUBLIC_KEY_SUMMARY_LIST, 0), + ), +) + +LIST_REALTIME_LOG_CONFIGS_INPUT: StaticSchema = ( + 18, + n0, + _LRLCI, + {_sSI: _cLRLCR, _smit: None}, + (_MI, _Ma), + ((lambda: schemas.INTEGER, {_sQ: _MI}), (lambda: schemas.STRING, {_sQ: _Ma})), +) + +LIST_REALTIME_LOG_CONFIGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRLCO, + {_sSI: _cLRLCRo, _smith: None}, + (_RLCe,), + ((lambda: REALTIME_LOG_CONFIGS, 16),), +) + +LIST_REALTIME_LOG_CONFIGS: StaticOperationSchema = ( + 23, + n0, + _LRLC, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/realtime-log-config", "code": 200} + ) + }, + LIST_REALTIME_LOG_CONFIGS_INPUT, + LIST_REALTIME_LOG_CONFIGS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_REALTIME_LOG_CONFIG, + ), +) + +REALTIME_LOG_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _RLCL, + 0, + (_m,), + ((lambda: schemas.REALTIME_LOG_CONFIG, 0),), +) + +REALTIME_LOG_CONFIGS: StaticSchema = ( + 18, + n0, + _RLCe, + 0, + (_MI, _I, _IT, _Ma, _NM), + ( + (lambda: schemas.INTEGER, 1), + (REALTIME_LOG_CONFIG_LIST, 0), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + ), +) + +RESPONSE_HEADERS_POLICY_TYPE: StaticSchema = ( + 14, + n0, + _RHPT, + 0, + (_ma, _cu), + ((-1, {_sV: _ma}), (-1, {_sV: _cu})), +) + +LIST_RESPONSE_HEADERS_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LRHPI, + {_sSI: _cLRHPR, _smit: None}, + (_T, _Ma, _MI), + ( + (RESPONSE_HEADERS_POLICY_TYPE, {_sQ: _T}), + (lambda: schemas.STRING, {_sQ: _Ma}), + (lambda: schemas.INTEGER, {_sQ: _MI}), + ), +) + +LIST_RESPONSE_HEADERS_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LRHPO, + {_sSI: _cLRHPRo, _smith: None}, + (_RHPL,), + ((lambda: RESPONSE_HEADERS_POLICY_LIST, 16),), +) + +LIST_RESPONSE_HEADERS_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LRHP, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/response-headers-policy", "code": 200} + ) + }, + LIST_RESPONSE_HEADERS_POLICIES_INPUT, + LIST_RESPONSE_HEADERS_POLICIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.NO_SUCH_RESPONSE_HEADERS_POLICY, + ), +) + +RESPONSE_HEADERS_POLICY_SUMMARY: StaticSchema = ( + 18, + n0, + _RHPS, + 0, + (_T, _RHP), + ((RESPONSE_HEADERS_POLICY_TYPE, 1), (lambda: schemas.RESPONSE_HEADERS_POLICY, 1)), +) + +RESPONSE_HEADERS_POLICY_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _RHPSL, + 0, + (_m,), + ((RESPONSE_HEADERS_POLICY_SUMMARY, {_sN: _RHPS}),), +) + +RESPONSE_HEADERS_POLICY_LIST: StaticSchema = ( + 18, + n0, + _RHPL, + 0, + (_NM, _MI, _Q, _I), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (RESPONSE_HEADERS_POLICY_SUMMARY_LIST, 0), + ), +) + +LIST_STREAMING_DISTRIBUTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LSDI, + {_sSI: _cLSDR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_STREAMING_DISTRIBUTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSDO, + {_sSI: _cLSDRo, _smith: None}, + (_SDL,), + ((lambda: STREAMING_DISTRIBUTION_LIST, 16),), +) + +LIST_STREAMING_DISTRIBUTIONS: StaticOperationSchema = ( + 23, + n0, + _LSD, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/streaming-distribution", "code": 200} + ) + }, + LIST_STREAMING_DISTRIBUTIONS_INPUT, + LIST_STREAMING_DISTRIBUTIONS_OUTPUT, + (lambda: schemas.INVALID_ARGUMENT,), +) + +STREAMING_DISTRIBUTION_SUMMARY: StaticSchema = ( + 18, + n0, + _SDS, + 0, + (_Id, _ARN, _St, _LMT, _DN, _SO, _A, _TS, _Comm, _PC, _E), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.S3_ORIGIN, 1), + (lambda: schemas.ALIASES, 1), + (lambda: schemas.TRUSTED_SIGNERS, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.PRICE_CLASS, 1), + (lambda: schemas.BOOLEAN, 1), + ), +) + +STREAMING_DISTRIBUTION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _SDSL, + 0, + (_m,), + ((STREAMING_DISTRIBUTION_SUMMARY, {_sN: _SDS}),), +) + +STREAMING_DISTRIBUTION_LIST: StaticSchema = ( + 18, + n0, + _SDL, + 0, + (_Ma, _NM, _MI, _IT, _Q, _I), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.INTEGER, 1), + (STREAMING_DISTRIBUTION_SUMMARY_LIST, 0), + ), +) + +RESOURCE_ARN: StaticSchema = (3, n0, _RARNe, 0) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _smit: None}, + (_Res,), + ((RESOURCE_ARN, {_sQ: _Res, _smi: None}),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smith: None}, + (_Tag,), + ((lambda: schemas.TAGS, 17),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/tagging", "code": 200} + ) + }, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_TAGGING, + lambda: schemas.NO_SUCH_RESOURCE, + ), +) + +LIST_TRUST_STORES_INPUT: StaticSchema = ( + 18, + n0, + _LTSI, + {_sSI: _cLTSR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, 0), (lambda: schemas.INTEGER, 0)), +) + +LIST_TRUST_STORES_OUTPUT: StaticSchema = ( + 18, + n0, + _LTSO, + {_sSI: _cLTSRo, _smith: None}, + (_NM, _TSL), + ((lambda: schemas.STRING, 0), (lambda: TRUST_STORE_LIST, 0)), +) + +LIST_TRUST_STORES: StaticOperationSchema = ( + 23, + n0, + _LTS, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/trust-stores", "code": 200} + ) + }, + LIST_TRUST_STORES_INPUT, + LIST_TRUST_STORES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + ), +) + +TRUST_STORE_SUMMARY: StaticSchema = ( + 18, + n0, + _TSSr, + 0, + (_Id, _Ar, _N, _St, _NOCC, _LMT, _Rea, _ET), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TRUST_STORE_STATUS, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + ), +) + +TRUST_STORE_LIST: StaticSchema = ( + 16, + n0, + _TSL, + 0, + (_m,), + ((TRUST_STORE_SUMMARY, {_sN: _TSSr}),), +) + +LIST_VPC_ORIGINS_INPUT: StaticSchema = ( + 18, + n0, + _LVOI, + {_sSI: _cLVOR, _smit: None}, + (_Ma, _MI), + ((lambda: schemas.STRING, {_sQ: _Ma}), (lambda: schemas.INTEGER, {_sQ: _MI})), +) + +LIST_VPC_ORIGINS_OUTPUT: StaticSchema = ( + 18, + n0, + _LVOO, + {_sSI: _cLVORo, _smith: None}, + (_VOL,), + ((lambda: VPC_ORIGIN_LIST, 16),), +) + +LIST_VPC_ORIGINS: StaticOperationSchema = ( + 23, + n0, + _LVO, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-05-31/vpc-origin", "code": 200} + ) + }, + LIST_VPC_ORIGINS_INPUT, + LIST_VPC_ORIGINS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +VPC_ORIGIN_SUMMARY: StaticSchema = ( + 18, + n0, + _VOS, + 0, + (_Id, _N, _St, _CTr, _LMT, _Ar, _AIc, _OEA, _IAT), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.VPC_IP_ADDRESS_TYPE, 0), + ), +) + +VPC_ORIGIN_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _VOSL, + 0, + (_m,), + ((VPC_ORIGIN_SUMMARY, {_sN: _VOS}),), +) + +VPC_ORIGIN_LIST: StaticSchema = ( + 18, + n0, + _VOL, + 0, + (_Ma, _NM, _MI, _IT, _Q, _I), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.INTEGER, 1), + (VPC_ORIGIN_SUMMARY_LIST, 0), + ), +) + +PUBLISH_CONNECTION_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _PCFI, + {_sSI: _cPCFR, _smit: None}, + (_Id, _IM), + ( + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +PUBLISH_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _PCFO, + {_sSI: _cPCFRo, _smith: None}, + (_CFS,), + ((lambda: schemas.CONNECTION_FUNCTION_SUMMARY, 16),), +) + +PUBLISH_CONNECTION_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _PCF, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/connection-function/{Id}/publish", + "code": 200, + } + ) + }, + PUBLISH_CONNECTION_FUNCTION_INPUT, + PUBLISH_CONNECTION_FUNCTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +PUBLISH_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _PFI, + {_sSI: _cPFR, _smit: None}, + (_N, _IM), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +PUBLISH_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _PFO, + {_sSI: _cPFRo, _smith: None}, + (_FSu,), + ((lambda: schemas.FUNCTION_SUMMARY, 16),), +) + +PUBLISH_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _PFu, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/function/{Name}/publish", + "code": 200, + } + ) + }, + PUBLISH_FUNCTION_INPUT, + PUBLISH_FUNCTION_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_FUNCTION_EXISTS, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_sSI: _cPRPR, _smit: None}, + (_RA, _PDo), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPO, + {_sSI: _cPRPRo, _smith: None}, + (_RA,), + ((lambda: schemas.STRING, 0),), +) + +PUT_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRP, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/put-resource-policy", "code": 200} + ) + }, + PUT_RESOURCE_POLICY_INPUT, + PUT_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smit: None}, + (_Res, _Tag), + ( + (RESOURCE_ARN, {_sQ: _Res, _smi: None}), + (lambda: schemas.TAGS, {_sN: _Tag, _smi: None, _sP: None}), + ), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smith: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/tagging?Operation=Tag", "code": 204} + ) + }, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_TAGGING, + lambda: schemas.NO_SUCH_RESOURCE, + ), +) + +FUNCTION_EVENT_OBJECT: StaticSchema = (1, n0, _FEO, 4) + +TEST_CONNECTION_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _TCFI, + {_sSI: _cTCFR, _smit: None}, + (_Id, _IM, _Stag, _CO), + ( + (lambda: schemas.RESOURCE_ID, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + (lambda: schemas.FUNCTION_STAGE, 0), + (FUNCTION_EVENT_OBJECT, 1), + ), +) + +TEST_CONNECTION_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _TCFO, + {_sSI: _cTCFRo, _smith: None}, + (_CFTR,), + ((lambda: CONNECTION_FUNCTION_TEST_RESULT, 16),), +) + +TEST_CONNECTION_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _TCF, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/connection-function/{Id}/test", + "code": 200, + } + ) + }, + TEST_CONNECTION_FUNCTION_INPUT, + TEST_CONNECTION_FUNCTION_OUTPUT, + ( + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: TEST_FUNCTION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +FUNCTION_EXECUTION_LOG_LIST: StaticSchema = ( + 16, + n0, + _FELL, + 4, + (_m,), + ((lambda: schemas.STRING, 0),), +) + +CONNECTION_FUNCTION_TEST_RESULT: StaticSchema = ( + 18, + n0, + _CFTR, + 0, + (_CFS, _CU, _CFEL, _CFEM, _CFOo), + ( + (lambda: schemas.CONNECTION_FUNCTION_SUMMARY, 0), + (lambda: schemas.STRING, 0), + (FUNCTION_EXECUTION_LOG_LIST, 0), + (lambda: schemas.SENSITIVE_STRING_TYPE, 0), + (lambda: schemas.SENSITIVE_STRING_TYPE, 0), + ), +) + +TEST_FUNCTION_FAILED: StaticSchema = ( + 18, + n0, + _TFF, + {_sm: _se, _sE: 500}, + (_Me,), + ((lambda: schemas.STRING, 0),), +) + +TEST_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _TFI, + {_sSI: _cTFR, _smit: None}, + (_N, _IM, _Stag, _EO), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + (lambda: schemas.FUNCTION_STAGE, 0), + (FUNCTION_EVENT_OBJECT, 1), + ), +) + +TEST_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _TFO, + {_sSI: _cTFRo, _smith: None}, + (_TRe,), + ((lambda: TEST_RESULT, 16),), +) + +TEST_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _TF, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-05-31/function/{Name}/test", "code": 200} + ) + }, + TEST_FUNCTION_INPUT, + TEST_FUNCTION_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_FUNCTION_EXISTS, + TEST_FUNCTION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +TEST_RESULT: StaticSchema = ( + 18, + n0, + _TRe, + 0, + (_FSu, _CU, _FEL, _FEM, _FOu), + ( + (lambda: schemas.FUNCTION_SUMMARY, 0), + (lambda: schemas.STRING, 0), + (FUNCTION_EXECUTION_LOG_LIST, 0), + (lambda: schemas.SENSITIVE_STRING_TYPE, 0), + (lambda: schemas.SENSITIVE_STRING_TYPE, 0), + ), +) + +TAG_KEY_LIST: StaticSchema = ( + 16, + n0, + _TKL, + 0, + (_m,), + ((lambda: schemas.TAG_KEY, {_sN: _K}),), +) + +TAG_KEYS: StaticSchema = (18, n0, _TKa, 0, (_I,), ((TAG_KEY_LIST, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _smit: None}, + (_Res, _TKa), + ( + (RESOURCE_ARN, {_sQ: _Res, _smi: None}), + (TAG_KEYS, {_sN: _TKa, _smi: None, _sP: None}), + ), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smith: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2020-05-31/tagging?Operation=Untag", + "code": 204, + } + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_TAGGING, + lambda: schemas.NO_SUCH_RESOURCE, + ), +) + +UPDATE_ANYCAST_IP_LIST_INPUT: StaticSchema = ( + 18, + n0, + _UAILI, + {_sSI: _cUAILR, _smit: None}, + (_Id, _IAT, _ICCp, _IM), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.IP_ADDRESS_TYPE, 0), + (lambda: schemas.IPAM_CIDR_CONFIG_LIST, 0), + (lambda: schemas.STRING, {_sH: _IM_, _smi: None}), + ), +) + +UPDATE_ANYCAST_IP_LIST_OUTPUT: StaticSchema = ( + 18, + n0, + _UAILO, + {_sSI: _cUAILRo, _smith: None}, + (_AIL, _ET), + ((lambda: schemas.ANYCAST_IP_LIST, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_ANYCAST_IP_LIST: StaticOperationSchema = ( + 23, + n0, + _UAIL, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/anycast-ip-list/{Id}", "code": 200} + ) + }, + UPDATE_ANYCAST_IP_LIST_INPUT, + UPDATE_ANYCAST_IP_LIST_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.ENTITY_NOT_FOUND, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +UPDATE_CACHE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _UCPI, + {_sSI: _cUCPR, _smit: None}, + (_CPC, _Id, _IM), + ( + (lambda: schemas.CACHE_POLICY_CONFIG, {_sN: _CPC, _smi: None, _sP: None}), + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sH: _IM_}), + ), +) + +UPDATE_CACHE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _UCPO, + {_sSI: _cUCPRo, _smith: None}, + (_CPa, _ET), + ((lambda: schemas.CACHE_POLICY, 16), (lambda: schemas.STRING, {_sH: _ET})), +) + +UPDATE_CACHE_POLICY: StaticOperationSchema = ( + 23, + n0, + _UCP, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/2020-05-31/cache-policy/{Id}", "code": 200} + ) + }, + UPDATE_CACHE_POLICY_INPUT, + UPDATE_CACHE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.CACHE_POLICY_ALREADY_EXISTS, + lambda: schemas.ILLEGAL_UPDATE, + lambda: schemas.INCONSISTENT_QUANTITIES, + lambda: schemas.INVALID_ARGUMENT, + lambda: schemas.INVALID_IF_MATCH_VERSION, + lambda: schemas.NO_SUCH_CACHE_POLICY, + lambda: schemas.PRECONDITION_FAILED, + lambda: schemas.TOO_MANY_COOKIES_IN_CACHE_POLICY, + lambda: schemas.TOO_MANY_HEADERS_IN_CACHE_POLICY, + lambda: schemas.TOO_MANY_QUERY_STRINGS_IN_CACHE_POLICY, + ), +) diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/aio/client.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/aio/client.py index f565c4595..89c92c6e0 100644 --- a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/aio/client.py +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/aio/config.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/aio/config.py index 3a40bee31..e0eb7a4db 100644 --- a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/aio/config.py +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestXmlClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/client.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/client.py index a7a05a332..d86bc888e 100644 --- a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/client.py +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/config.py b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/config.py index e4abacffa..9dde39995 100644 --- a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/config.py +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestXmlClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/models.pyi b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/models.pyi index a1fedab1f..7ef92c262 100644 --- a/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/models.pyi +++ b/clients/aws-sdk-cloudfront/src/aws_sdk_cloudfront/models.pyi @@ -1,16 +1,765 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AccessDenied as AccessDenied, + ActiveTrustedKeyGroups as ActiveTrustedKeyGroups, + ActiveTrustedSigners as ActiveTrustedSigners, + Aliases as Aliases, + AliasICPRecordal as AliasICPRecordal, + AllowedMethods as AllowedMethods, + AnycastIpList as AnycastIpList, + AnycastIpListCollection as AnycastIpListCollection, + AnycastIpListSummary as AnycastIpListSummary, + AssociateAliasInput as AssociateAliasInput, + AssociateAliasOutput as AssociateAliasOutput, + AssociateDistributionTenantWebACLInput as AssociateDistributionTenantWebACLInput, + AssociateDistributionTenantWebACLOutput as AssociateDistributionTenantWebACLOutput, + AssociateDistributionWebACLInput as AssociateDistributionWebACLInput, + AssociateDistributionWebACLOutput as AssociateDistributionWebACLOutput, + BatchTooLarge as BatchTooLarge, + CaCertificatesBundleS3Location as CaCertificatesBundleS3Location, + CaCertificatesBundleSourceCaCertificatesBundleS3Location as CaCertificatesBundleSourceCaCertificatesBundleS3Location, + CaCertificatesBundleSourceUnknown as CaCertificatesBundleSourceUnknown, + CaCertificatesBundleSource as CaCertificatesBundleSource, + _CaCertificatesBundleSourceDeserializer as _CaCertificatesBundleSourceDeserializer, + CacheBehavior as CacheBehavior, + CacheBehaviors as CacheBehaviors, + CachedMethods as CachedMethods, + CachePolicy as CachePolicy, + CachePolicyAlreadyExists as CachePolicyAlreadyExists, + CachePolicyConfig as CachePolicyConfig, + CachePolicyCookieBehavior as CachePolicyCookieBehavior, + CachePolicyCookiesConfig as CachePolicyCookiesConfig, + CachePolicyHeaderBehavior as CachePolicyHeaderBehavior, + CachePolicyHeadersConfig as CachePolicyHeadersConfig, + CachePolicyInUse as CachePolicyInUse, + CachePolicyList as CachePolicyList, + CachePolicyQueryStringBehavior as CachePolicyQueryStringBehavior, + CachePolicyQueryStringsConfig as CachePolicyQueryStringsConfig, + CachePolicySummary as CachePolicySummary, + CachePolicyType as CachePolicyType, + CacheTagConfig as CacheTagConfig, + CannotChangeImmutablePublicKeyFields as CannotChangeImmutablePublicKeyFields, + CannotDeleteEntityWhileInUse as CannotDeleteEntityWhileInUse, + CannotUpdateEntityWhileInUse as CannotUpdateEntityWhileInUse, + Certificate as Certificate, + CertificateSource as CertificateSource, + CertificateTransparencyLoggingPreference as CertificateTransparencyLoggingPreference, + CloudFrontOriginAccessIdentity as CloudFrontOriginAccessIdentity, + CloudFrontOriginAccessIdentityAlreadyExists as CloudFrontOriginAccessIdentityAlreadyExists, + CloudFrontOriginAccessIdentityConfig as CloudFrontOriginAccessIdentityConfig, + CloudFrontOriginAccessIdentityInUse as CloudFrontOriginAccessIdentityInUse, + CloudFrontOriginAccessIdentityList as CloudFrontOriginAccessIdentityList, + CloudFrontOriginAccessIdentitySummary as CloudFrontOriginAccessIdentitySummary, + CNAMEAlreadyExists as CNAMEAlreadyExists, + ConflictingAlias as ConflictingAlias, + ConflictingAliasesList as ConflictingAliasesList, + ConnectionFunctionAssociation as ConnectionFunctionAssociation, + ConnectionFunctionSummary as ConnectionFunctionSummary, + ConnectionFunctionTestResult as ConnectionFunctionTestResult, + ConnectionGroup as ConnectionGroup, + ConnectionGroupAssociationFilter as ConnectionGroupAssociationFilter, + ConnectionGroupSummary as ConnectionGroupSummary, + ConnectionMode as ConnectionMode, + ContentTypeProfile as ContentTypeProfile, + ContentTypeProfileConfig as ContentTypeProfileConfig, + ContentTypeProfiles as ContentTypeProfiles, + ContinuousDeploymentPolicy as ContinuousDeploymentPolicy, + ContinuousDeploymentPolicyAlreadyExists as ContinuousDeploymentPolicyAlreadyExists, + ContinuousDeploymentPolicyConfig as ContinuousDeploymentPolicyConfig, + ContinuousDeploymentPolicyInUse as ContinuousDeploymentPolicyInUse, + ContinuousDeploymentPolicyList as ContinuousDeploymentPolicyList, + ContinuousDeploymentPolicySummary as ContinuousDeploymentPolicySummary, + ContinuousDeploymentPolicyType as ContinuousDeploymentPolicyType, + ContinuousDeploymentSingleHeaderConfig as ContinuousDeploymentSingleHeaderConfig, + ContinuousDeploymentSingleWeightConfig as ContinuousDeploymentSingleWeightConfig, + CookieNames as CookieNames, + CookiePreference as CookiePreference, + CopyDistributionInput as CopyDistributionInput, + CopyDistributionOutput as CopyDistributionOutput, + CreateAnycastIpListInput as CreateAnycastIpListInput, + CreateAnycastIpListOutput as CreateAnycastIpListOutput, + CreateCachePolicyInput as CreateCachePolicyInput, + CreateCachePolicyOutput as CreateCachePolicyOutput, + CreateCloudFrontOriginAccessIdentityInput as CreateCloudFrontOriginAccessIdentityInput, + CreateCloudFrontOriginAccessIdentityOutput as CreateCloudFrontOriginAccessIdentityOutput, + CreateConnectionFunctionInput as CreateConnectionFunctionInput, + CreateConnectionFunctionOutput as CreateConnectionFunctionOutput, + CreateConnectionGroupInput as CreateConnectionGroupInput, + CreateConnectionGroupOutput as CreateConnectionGroupOutput, + CreateContinuousDeploymentPolicyInput as CreateContinuousDeploymentPolicyInput, + CreateContinuousDeploymentPolicyOutput as CreateContinuousDeploymentPolicyOutput, + CreateDistributionInput as CreateDistributionInput, + CreateDistributionOutput as CreateDistributionOutput, + CreateDistributionTenantInput as CreateDistributionTenantInput, + CreateDistributionTenantOutput as CreateDistributionTenantOutput, + CreateDistributionWithTagsInput as CreateDistributionWithTagsInput, + CreateDistributionWithTagsOutput as CreateDistributionWithTagsOutput, + CreateFieldLevelEncryptionConfigInput as CreateFieldLevelEncryptionConfigInput, + CreateFieldLevelEncryptionConfigOutput as CreateFieldLevelEncryptionConfigOutput, + CreateFieldLevelEncryptionProfileInput as CreateFieldLevelEncryptionProfileInput, + CreateFieldLevelEncryptionProfileOutput as CreateFieldLevelEncryptionProfileOutput, + CreateFunctionInput as CreateFunctionInput, + CreateFunctionOutput as CreateFunctionOutput, + CreateInvalidationForDistributionTenantInput as CreateInvalidationForDistributionTenantInput, + CreateInvalidationForDistributionTenantOutput as CreateInvalidationForDistributionTenantOutput, + CreateInvalidationInput as CreateInvalidationInput, + CreateInvalidationOutput as CreateInvalidationOutput, + CreateKeyGroupInput as CreateKeyGroupInput, + CreateKeyGroupOutput as CreateKeyGroupOutput, + CreateKeyValueStoreInput as CreateKeyValueStoreInput, + CreateKeyValueStoreOutput as CreateKeyValueStoreOutput, + CreateMonitoringSubscriptionInput as CreateMonitoringSubscriptionInput, + CreateMonitoringSubscriptionOutput as CreateMonitoringSubscriptionOutput, + CreateOriginAccessControlInput as CreateOriginAccessControlInput, + CreateOriginAccessControlOutput as CreateOriginAccessControlOutput, + CreateOriginRequestPolicyInput as CreateOriginRequestPolicyInput, + CreateOriginRequestPolicyOutput as CreateOriginRequestPolicyOutput, + CreatePublicKeyInput as CreatePublicKeyInput, + CreatePublicKeyOutput as CreatePublicKeyOutput, + CreateRealtimeLogConfigInput as CreateRealtimeLogConfigInput, + CreateRealtimeLogConfigOutput as CreateRealtimeLogConfigOutput, + CreateResponseHeadersPolicyInput as CreateResponseHeadersPolicyInput, + CreateResponseHeadersPolicyOutput as CreateResponseHeadersPolicyOutput, + CreateStreamingDistributionInput as CreateStreamingDistributionInput, + CreateStreamingDistributionOutput as CreateStreamingDistributionOutput, + CreateStreamingDistributionWithTagsInput as CreateStreamingDistributionWithTagsInput, + CreateStreamingDistributionWithTagsOutput as CreateStreamingDistributionWithTagsOutput, + CreateTrustStoreInput as CreateTrustStoreInput, + CreateTrustStoreOutput as CreateTrustStoreOutput, + CreateVpcOriginInput as CreateVpcOriginInput, + CreateVpcOriginOutput as CreateVpcOriginOutput, + CustomErrorResponse as CustomErrorResponse, + CustomErrorResponses as CustomErrorResponses, + CustomHeaders as CustomHeaders, + CustomizationActionType as CustomizationActionType, + Customizations as Customizations, + CustomOriginConfig as CustomOriginConfig, + DefaultCacheBehavior as DefaultCacheBehavior, + DeleteAnycastIpListInput as DeleteAnycastIpListInput, + DeleteAnycastIpListOutput as DeleteAnycastIpListOutput, + DeleteCachePolicyInput as DeleteCachePolicyInput, + DeleteCachePolicyOutput as DeleteCachePolicyOutput, + DeleteCloudFrontOriginAccessIdentityInput as DeleteCloudFrontOriginAccessIdentityInput, + DeleteCloudFrontOriginAccessIdentityOutput as DeleteCloudFrontOriginAccessIdentityOutput, + DeleteConnectionFunctionInput as DeleteConnectionFunctionInput, + DeleteConnectionFunctionOutput as DeleteConnectionFunctionOutput, + DeleteConnectionGroupInput as DeleteConnectionGroupInput, + DeleteConnectionGroupOutput as DeleteConnectionGroupOutput, + DeleteContinuousDeploymentPolicyInput as DeleteContinuousDeploymentPolicyInput, + DeleteContinuousDeploymentPolicyOutput as DeleteContinuousDeploymentPolicyOutput, + DeleteDistributionInput as DeleteDistributionInput, + DeleteDistributionOutput as DeleteDistributionOutput, + DeleteDistributionTenantInput as DeleteDistributionTenantInput, + DeleteDistributionTenantOutput as DeleteDistributionTenantOutput, + DeleteFieldLevelEncryptionConfigInput as DeleteFieldLevelEncryptionConfigInput, + DeleteFieldLevelEncryptionConfigOutput as DeleteFieldLevelEncryptionConfigOutput, + DeleteFieldLevelEncryptionProfileInput as DeleteFieldLevelEncryptionProfileInput, + DeleteFieldLevelEncryptionProfileOutput as DeleteFieldLevelEncryptionProfileOutput, + DeleteFunctionInput as DeleteFunctionInput, + DeleteFunctionOutput as DeleteFunctionOutput, + DeleteKeyGroupInput as DeleteKeyGroupInput, + DeleteKeyGroupOutput as DeleteKeyGroupOutput, + DeleteKeyValueStoreInput as DeleteKeyValueStoreInput, + DeleteKeyValueStoreOutput as DeleteKeyValueStoreOutput, + DeleteMonitoringSubscriptionInput as DeleteMonitoringSubscriptionInput, + DeleteMonitoringSubscriptionOutput as DeleteMonitoringSubscriptionOutput, + DeleteOriginAccessControlInput as DeleteOriginAccessControlInput, + DeleteOriginAccessControlOutput as DeleteOriginAccessControlOutput, + DeleteOriginRequestPolicyInput as DeleteOriginRequestPolicyInput, + DeleteOriginRequestPolicyOutput as DeleteOriginRequestPolicyOutput, + DeletePublicKeyInput as DeletePublicKeyInput, + DeletePublicKeyOutput as DeletePublicKeyOutput, + DeleteRealtimeLogConfigInput as DeleteRealtimeLogConfigInput, + DeleteRealtimeLogConfigOutput as DeleteRealtimeLogConfigOutput, + DeleteResourcePolicyInput as DeleteResourcePolicyInput, + DeleteResourcePolicyOutput as DeleteResourcePolicyOutput, + DeleteResponseHeadersPolicyInput as DeleteResponseHeadersPolicyInput, + DeleteResponseHeadersPolicyOutput as DeleteResponseHeadersPolicyOutput, + DeleteStreamingDistributionInput as DeleteStreamingDistributionInput, + DeleteStreamingDistributionOutput as DeleteStreamingDistributionOutput, + DeleteTrustStoreInput as DeleteTrustStoreInput, + DeleteTrustStoreOutput as DeleteTrustStoreOutput, + DeleteVpcOriginInput as DeleteVpcOriginInput, + DeleteVpcOriginOutput as DeleteVpcOriginOutput, + DescribeConnectionFunctionInput as DescribeConnectionFunctionInput, + DescribeConnectionFunctionOutput as DescribeConnectionFunctionOutput, + DescribeFunctionInput as DescribeFunctionInput, + DescribeFunctionOutput as DescribeFunctionOutput, + DescribeKeyValueStoreInput as DescribeKeyValueStoreInput, + DescribeKeyValueStoreOutput as DescribeKeyValueStoreOutput, + DisassociateDistributionTenantWebACLInput as DisassociateDistributionTenantWebACLInput, + DisassociateDistributionTenantWebACLOutput as DisassociateDistributionTenantWebACLOutput, + DisassociateDistributionWebACLInput as DisassociateDistributionWebACLInput, + DisassociateDistributionWebACLOutput as DisassociateDistributionWebACLOutput, + Distribution as Distribution, + DistributionAlreadyExists as DistributionAlreadyExists, + DistributionConfig as DistributionConfig, + DistributionConfigWithTags as DistributionConfigWithTags, + DistributionIdList as DistributionIdList, + DistributionIdOwner as DistributionIdOwner, + DistributionIdOwnerList as DistributionIdOwnerList, + DistributionList as DistributionList, + DistributionNotDisabled as DistributionNotDisabled, + DistributionResourceId as DistributionResourceId, + DistributionResourceType as DistributionResourceType, + DistributionSummary as DistributionSummary, + DistributionTenant as DistributionTenant, + DistributionTenantAssociationFilter as DistributionTenantAssociationFilter, + DistributionTenantSummary as DistributionTenantSummary, + DnsConfiguration as DnsConfiguration, + DnsConfigurationStatus as DnsConfigurationStatus, + DomainConflict as DomainConflict, + DomainItem as DomainItem, + DomainResult as DomainResult, + DomainStatus as DomainStatus, + EncryptionEntities as EncryptionEntities, + EncryptionEntity as EncryptionEntity, + EndPoint as EndPoint, + EntityAlreadyExists as EntityAlreadyExists, + EntityLimitExceeded as EntityLimitExceeded, + EntityNotFound as EntityNotFound, + EntitySizeLimitExceeded as EntitySizeLimitExceeded, + EventType as EventType, + FieldLevelEncryption as FieldLevelEncryption, + FieldLevelEncryptionConfig as FieldLevelEncryptionConfig, + FieldLevelEncryptionConfigAlreadyExists as FieldLevelEncryptionConfigAlreadyExists, + FieldLevelEncryptionConfigInUse as FieldLevelEncryptionConfigInUse, + FieldLevelEncryptionList as FieldLevelEncryptionList, + FieldLevelEncryptionProfile as FieldLevelEncryptionProfile, + FieldLevelEncryptionProfileAlreadyExists as FieldLevelEncryptionProfileAlreadyExists, + FieldLevelEncryptionProfileConfig as FieldLevelEncryptionProfileConfig, + FieldLevelEncryptionProfileInUse as FieldLevelEncryptionProfileInUse, + FieldLevelEncryptionProfileList as FieldLevelEncryptionProfileList, + FieldLevelEncryptionProfileSizeExceeded as FieldLevelEncryptionProfileSizeExceeded, + FieldLevelEncryptionProfileSummary as FieldLevelEncryptionProfileSummary, + FieldLevelEncryptionSummary as FieldLevelEncryptionSummary, + FieldPatterns as FieldPatterns, + Format as Format, + ForwardedValues as ForwardedValues, + FrameOptionsList as FrameOptionsList, + FunctionAlreadyExists as FunctionAlreadyExists, + FunctionAssociation as FunctionAssociation, + FunctionAssociations as FunctionAssociations, + FunctionConfig as FunctionConfig, + FunctionInUse as FunctionInUse, + FunctionList as FunctionList, + FunctionMetadata as FunctionMetadata, + FunctionRuntime as FunctionRuntime, + FunctionSizeLimitExceeded as FunctionSizeLimitExceeded, + FunctionStage as FunctionStage, + FunctionSummary as FunctionSummary, + GeoRestriction as GeoRestriction, + GeoRestrictionCustomization as GeoRestrictionCustomization, + GeoRestrictionType as GeoRestrictionType, + GetAnycastIpListInput as GetAnycastIpListInput, + GetAnycastIpListOutput as GetAnycastIpListOutput, +) + +from ._private.models_1 import ( + GetCachePolicyConfigInput as GetCachePolicyConfigInput, + GetCachePolicyConfigOutput as GetCachePolicyConfigOutput, + GetCachePolicyInput as GetCachePolicyInput, + GetCachePolicyOutput as GetCachePolicyOutput, + GetCloudFrontOriginAccessIdentityConfigInput as GetCloudFrontOriginAccessIdentityConfigInput, + GetCloudFrontOriginAccessIdentityConfigOutput as GetCloudFrontOriginAccessIdentityConfigOutput, + GetCloudFrontOriginAccessIdentityInput as GetCloudFrontOriginAccessIdentityInput, + GetCloudFrontOriginAccessIdentityOutput as GetCloudFrontOriginAccessIdentityOutput, + GetConnectionFunctionInput as GetConnectionFunctionInput, + GetConnectionFunctionOutput as GetConnectionFunctionOutput, + GetConnectionGroupByRoutingEndpointInput as GetConnectionGroupByRoutingEndpointInput, + GetConnectionGroupByRoutingEndpointOutput as GetConnectionGroupByRoutingEndpointOutput, + GetConnectionGroupInput as GetConnectionGroupInput, + GetConnectionGroupOutput as GetConnectionGroupOutput, + GetContinuousDeploymentPolicyConfigInput as GetContinuousDeploymentPolicyConfigInput, + GetContinuousDeploymentPolicyConfigOutput as GetContinuousDeploymentPolicyConfigOutput, + GetContinuousDeploymentPolicyInput as GetContinuousDeploymentPolicyInput, + GetContinuousDeploymentPolicyOutput as GetContinuousDeploymentPolicyOutput, + GetDistributionConfigInput as GetDistributionConfigInput, + GetDistributionConfigOutput as GetDistributionConfigOutput, + GetDistributionInput as GetDistributionInput, + GetDistributionOutput as GetDistributionOutput, + GetDistributionTenantByDomainInput as GetDistributionTenantByDomainInput, + GetDistributionTenantByDomainOutput as GetDistributionTenantByDomainOutput, + GetDistributionTenantInput as GetDistributionTenantInput, + GetDistributionTenantOutput as GetDistributionTenantOutput, + GetFieldLevelEncryptionConfigInput as GetFieldLevelEncryptionConfigInput, + GetFieldLevelEncryptionConfigOutput as GetFieldLevelEncryptionConfigOutput, + GetFieldLevelEncryptionInput as GetFieldLevelEncryptionInput, + GetFieldLevelEncryptionOutput as GetFieldLevelEncryptionOutput, + GetFieldLevelEncryptionProfileConfigInput as GetFieldLevelEncryptionProfileConfigInput, + GetFieldLevelEncryptionProfileConfigOutput as GetFieldLevelEncryptionProfileConfigOutput, + GetFieldLevelEncryptionProfileInput as GetFieldLevelEncryptionProfileInput, + GetFieldLevelEncryptionProfileOutput as GetFieldLevelEncryptionProfileOutput, + GetFunctionInput as GetFunctionInput, + GetFunctionOutput as GetFunctionOutput, + GetInvalidationForDistributionTenantInput as GetInvalidationForDistributionTenantInput, + GetInvalidationForDistributionTenantOutput as GetInvalidationForDistributionTenantOutput, + GetInvalidationInput as GetInvalidationInput, + GetInvalidationOutput as GetInvalidationOutput, + GetKeyGroupConfigInput as GetKeyGroupConfigInput, + GetKeyGroupConfigOutput as GetKeyGroupConfigOutput, + GetKeyGroupInput as GetKeyGroupInput, + GetKeyGroupOutput as GetKeyGroupOutput, + GetManagedCertificateDetailsInput as GetManagedCertificateDetailsInput, + GetManagedCertificateDetailsOutput as GetManagedCertificateDetailsOutput, + GetMonitoringSubscriptionInput as GetMonitoringSubscriptionInput, + GetMonitoringSubscriptionOutput as GetMonitoringSubscriptionOutput, + GetOriginAccessControlConfigInput as GetOriginAccessControlConfigInput, + GetOriginAccessControlConfigOutput as GetOriginAccessControlConfigOutput, + GetOriginAccessControlInput as GetOriginAccessControlInput, + GetOriginAccessControlOutput as GetOriginAccessControlOutput, + GetOriginRequestPolicyConfigInput as GetOriginRequestPolicyConfigInput, + GetOriginRequestPolicyConfigOutput as GetOriginRequestPolicyConfigOutput, + GetOriginRequestPolicyInput as GetOriginRequestPolicyInput, + GetOriginRequestPolicyOutput as GetOriginRequestPolicyOutput, + GetPublicKeyConfigInput as GetPublicKeyConfigInput, + GetPublicKeyConfigOutput as GetPublicKeyConfigOutput, + GetPublicKeyInput as GetPublicKeyInput, + GetPublicKeyOutput as GetPublicKeyOutput, + GetRealtimeLogConfigInput as GetRealtimeLogConfigInput, + GetRealtimeLogConfigOutput as GetRealtimeLogConfigOutput, + GetResourcePolicyInput as GetResourcePolicyInput, + GetResourcePolicyOutput as GetResourcePolicyOutput, + GetResponseHeadersPolicyConfigInput as GetResponseHeadersPolicyConfigInput, + GetResponseHeadersPolicyConfigOutput as GetResponseHeadersPolicyConfigOutput, + GetResponseHeadersPolicyInput as GetResponseHeadersPolicyInput, + GetResponseHeadersPolicyOutput as GetResponseHeadersPolicyOutput, + GetStreamingDistributionConfigInput as GetStreamingDistributionConfigInput, + GetStreamingDistributionConfigOutput as GetStreamingDistributionConfigOutput, + GetStreamingDistributionInput as GetStreamingDistributionInput, + GetStreamingDistributionOutput as GetStreamingDistributionOutput, + GetTrustStoreInput as GetTrustStoreInput, + GetTrustStoreOutput as GetTrustStoreOutput, + GetVpcOriginInput as GetVpcOriginInput, + GetVpcOriginOutput as GetVpcOriginOutput, + GrpcConfig as GrpcConfig, + Headers as Headers, + HttpVersion as HttpVersion, + ICPRecordalStatus as ICPRecordalStatus, + IllegalDelete as IllegalDelete, + IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior as IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, + IllegalOriginAccessConfiguration as IllegalOriginAccessConfiguration, + IllegalUpdate as IllegalUpdate, + ImportSource as ImportSource, + ImportSourceType as ImportSourceType, + InconsistentQuantities as InconsistentQuantities, + InvalidArgument as InvalidArgument, + InvalidAssociation as InvalidAssociation, + Invalidation as Invalidation, + InvalidationBatch as InvalidationBatch, + InvalidationList as InvalidationList, + InvalidationSummary as InvalidationSummary, + InvalidDefaultRootObject as InvalidDefaultRootObject, + InvalidDomainNameForOriginAccessControl as InvalidDomainNameForOriginAccessControl, + InvalidErrorCode as InvalidErrorCode, + InvalidForwardCookies as InvalidForwardCookies, + InvalidFunctionAssociation as InvalidFunctionAssociation, + InvalidGeoRestrictionParameter as InvalidGeoRestrictionParameter, + InvalidHeadersForS3Origin as InvalidHeadersForS3Origin, + InvalidIfMatchVersion as InvalidIfMatchVersion, + InvalidLambdaFunctionAssociation as InvalidLambdaFunctionAssociation, + InvalidLocationCode as InvalidLocationCode, + InvalidMinimumProtocolVersion as InvalidMinimumProtocolVersion, + InvalidOrigin as InvalidOrigin, + InvalidOriginAccessControl as InvalidOriginAccessControl, + InvalidOriginAccessIdentity as InvalidOriginAccessIdentity, + InvalidOriginKeepaliveTimeout as InvalidOriginKeepaliveTimeout, + InvalidOriginReadTimeout as InvalidOriginReadTimeout, + InvalidProtocolSettings as InvalidProtocolSettings, + InvalidQueryStringParameters as InvalidQueryStringParameters, + InvalidRelativePath as InvalidRelativePath, + InvalidRequiredProtocol as InvalidRequiredProtocol, + InvalidResponseCode as InvalidResponseCode, + InvalidTagging as InvalidTagging, + InvalidTTLOrder as InvalidTTLOrder, + InvalidViewerCertificate as InvalidViewerCertificate, + InvalidWebACLId as InvalidWebACLId, + IpAddressType as IpAddressType, + IpamCidrConfig as IpamCidrConfig, + IpamCidrStatus as IpamCidrStatus, + IpamConfig as IpamConfig, + ItemSelection as ItemSelection, + KeyGroup as KeyGroup, + KeyGroupAlreadyExists as KeyGroupAlreadyExists, + KeyGroupConfig as KeyGroupConfig, + KeyGroupList as KeyGroupList, + KeyGroupSummary as KeyGroupSummary, + KeyPairIds as KeyPairIds, + KeyValueStore as KeyValueStore, + KeyValueStoreAssociation as KeyValueStoreAssociation, + KeyValueStoreAssociations as KeyValueStoreAssociations, + KeyValueStoreList as KeyValueStoreList, + KGKeyPairIds as KGKeyPairIds, + KinesisStreamConfig as KinesisStreamConfig, + LambdaFunctionAssociation as LambdaFunctionAssociation, + LambdaFunctionAssociations as LambdaFunctionAssociations, + ListAnycastIpListsInput as ListAnycastIpListsInput, + ListAnycastIpListsOutput as ListAnycastIpListsOutput, + ListCachePoliciesInput as ListCachePoliciesInput, + ListCachePoliciesOutput as ListCachePoliciesOutput, + ListCloudFrontOriginAccessIdentitiesInput as ListCloudFrontOriginAccessIdentitiesInput, + ListCloudFrontOriginAccessIdentitiesOutput as ListCloudFrontOriginAccessIdentitiesOutput, + ListConflictingAliasesInput as ListConflictingAliasesInput, + ListConflictingAliasesOutput as ListConflictingAliasesOutput, + ListConnectionFunctionsInput as ListConnectionFunctionsInput, + ListConnectionFunctionsOutput as ListConnectionFunctionsOutput, + ListConnectionGroupsInput as ListConnectionGroupsInput, + ListConnectionGroupsOutput as ListConnectionGroupsOutput, + ListContinuousDeploymentPoliciesInput as ListContinuousDeploymentPoliciesInput, + ListContinuousDeploymentPoliciesOutput as ListContinuousDeploymentPoliciesOutput, + ListDistributionsByAnycastIpListIdInput as ListDistributionsByAnycastIpListIdInput, + ListDistributionsByAnycastIpListIdOutput as ListDistributionsByAnycastIpListIdOutput, + ListDistributionsByCachePolicyIdInput as ListDistributionsByCachePolicyIdInput, + ListDistributionsByCachePolicyIdOutput as ListDistributionsByCachePolicyIdOutput, + ListDistributionsByConnectionFunctionInput as ListDistributionsByConnectionFunctionInput, + ListDistributionsByConnectionFunctionOutput as ListDistributionsByConnectionFunctionOutput, + ListDistributionsByConnectionModeInput as ListDistributionsByConnectionModeInput, + ListDistributionsByConnectionModeOutput as ListDistributionsByConnectionModeOutput, + ListDistributionsByKeyGroupInput as ListDistributionsByKeyGroupInput, + ListDistributionsByKeyGroupOutput as ListDistributionsByKeyGroupOutput, + ListDistributionsByOriginRequestPolicyIdInput as ListDistributionsByOriginRequestPolicyIdInput, + ListDistributionsByOriginRequestPolicyIdOutput as ListDistributionsByOriginRequestPolicyIdOutput, + ListDistributionsByOwnedResourceInput as ListDistributionsByOwnedResourceInput, + ListDistributionsByOwnedResourceOutput as ListDistributionsByOwnedResourceOutput, + ListDistributionsByRealtimeLogConfigInput as ListDistributionsByRealtimeLogConfigInput, + ListDistributionsByRealtimeLogConfigOutput as ListDistributionsByRealtimeLogConfigOutput, + ListDistributionsByResponseHeadersPolicyIdInput as ListDistributionsByResponseHeadersPolicyIdInput, + ListDistributionsByResponseHeadersPolicyIdOutput as ListDistributionsByResponseHeadersPolicyIdOutput, + ListDistributionsByTrustStoreInput as ListDistributionsByTrustStoreInput, + ListDistributionsByTrustStoreOutput as ListDistributionsByTrustStoreOutput, + ListDistributionsByVpcOriginIdInput as ListDistributionsByVpcOriginIdInput, + ListDistributionsByVpcOriginIdOutput as ListDistributionsByVpcOriginIdOutput, + ListDistributionsByWebACLIdInput as ListDistributionsByWebACLIdInput, + ListDistributionsByWebACLIdOutput as ListDistributionsByWebACLIdOutput, + ListDistributionsInput as ListDistributionsInput, + ListDistributionsOutput as ListDistributionsOutput, + ListDistributionTenantsByCustomizationInput as ListDistributionTenantsByCustomizationInput, + ListDistributionTenantsByCustomizationOutput as ListDistributionTenantsByCustomizationOutput, + ListDistributionTenantsInput as ListDistributionTenantsInput, + ListDistributionTenantsOutput as ListDistributionTenantsOutput, + ListDomainConflictsInput as ListDomainConflictsInput, + ListDomainConflictsOutput as ListDomainConflictsOutput, + ListFieldLevelEncryptionConfigsInput as ListFieldLevelEncryptionConfigsInput, + ListFieldLevelEncryptionConfigsOutput as ListFieldLevelEncryptionConfigsOutput, + ListFieldLevelEncryptionProfilesInput as ListFieldLevelEncryptionProfilesInput, + ListFieldLevelEncryptionProfilesOutput as ListFieldLevelEncryptionProfilesOutput, + ListFunctionsInput as ListFunctionsInput, + ListFunctionsOutput as ListFunctionsOutput, + ListInvalidationsForDistributionTenantInput as ListInvalidationsForDistributionTenantInput, + ListInvalidationsForDistributionTenantOutput as ListInvalidationsForDistributionTenantOutput, + ListInvalidationsInput as ListInvalidationsInput, + ListInvalidationsOutput as ListInvalidationsOutput, + ListKeyGroupsInput as ListKeyGroupsInput, + ListKeyGroupsOutput as ListKeyGroupsOutput, + ListKeyValueStoresInput as ListKeyValueStoresInput, + ListKeyValueStoresOutput as ListKeyValueStoresOutput, + ListOriginAccessControlsInput as ListOriginAccessControlsInput, + ListOriginAccessControlsOutput as ListOriginAccessControlsOutput, + ListOriginRequestPoliciesInput as ListOriginRequestPoliciesInput, + ListOriginRequestPoliciesOutput as ListOriginRequestPoliciesOutput, + ListPublicKeysInput as ListPublicKeysInput, + ListPublicKeysOutput as ListPublicKeysOutput, + ListRealtimeLogConfigsInput as ListRealtimeLogConfigsInput, + ListRealtimeLogConfigsOutput as ListRealtimeLogConfigsOutput, + ListResponseHeadersPoliciesInput as ListResponseHeadersPoliciesInput, + ListResponseHeadersPoliciesOutput as ListResponseHeadersPoliciesOutput, + ListStreamingDistributionsInput as ListStreamingDistributionsInput, + ListStreamingDistributionsOutput as ListStreamingDistributionsOutput, + ListTagsForResourceInput as ListTagsForResourceInput, + ListTagsForResourceOutput as ListTagsForResourceOutput, + ListTrustStoresInput as ListTrustStoresInput, + ListTrustStoresOutput as ListTrustStoresOutput, + ListVpcOriginsInput as ListVpcOriginsInput, + ListVpcOriginsOutput as ListVpcOriginsOutput, + LoggingConfig as LoggingConfig, + ManagedCertificateDetails as ManagedCertificateDetails, + ManagedCertificateRequest as ManagedCertificateRequest, + ManagedCertificateStatus as ManagedCertificateStatus, + Method as Method, + MinimumProtocolVersion as MinimumProtocolVersion, + MissingBody as MissingBody, + MonitoringSubscription as MonitoringSubscription, + MonitoringSubscriptionAlreadyExists as MonitoringSubscriptionAlreadyExists, + NoSuchCachePolicy as NoSuchCachePolicy, + NoSuchCloudFrontOriginAccessIdentity as NoSuchCloudFrontOriginAccessIdentity, + NoSuchContinuousDeploymentPolicy as NoSuchContinuousDeploymentPolicy, + NoSuchDistribution as NoSuchDistribution, + NoSuchFieldLevelEncryptionConfig as NoSuchFieldLevelEncryptionConfig, + NoSuchFieldLevelEncryptionProfile as NoSuchFieldLevelEncryptionProfile, + NoSuchFunctionExists as NoSuchFunctionExists, + NoSuchInvalidation as NoSuchInvalidation, + NoSuchMonitoringSubscription as NoSuchMonitoringSubscription, + NoSuchOrigin as NoSuchOrigin, + NoSuchOriginAccessControl as NoSuchOriginAccessControl, + NoSuchOriginRequestPolicy as NoSuchOriginRequestPolicy, + NoSuchPublicKey as NoSuchPublicKey, + NoSuchRealtimeLogConfig as NoSuchRealtimeLogConfig, + NoSuchResource as NoSuchResource, + NoSuchResponseHeadersPolicy as NoSuchResponseHeadersPolicy, + NoSuchStreamingDistribution as NoSuchStreamingDistribution, + Origin as Origin, + OriginAccessControl as OriginAccessControl, + OriginAccessControlAlreadyExists as OriginAccessControlAlreadyExists, + OriginAccessControlConfig as OriginAccessControlConfig, + OriginAccessControlInUse as OriginAccessControlInUse, + OriginAccessControlList as OriginAccessControlList, + OriginAccessControlOriginTypes as OriginAccessControlOriginTypes, + OriginAccessControlSigningBehaviors as OriginAccessControlSigningBehaviors, + OriginAccessControlSigningProtocols as OriginAccessControlSigningProtocols, +) + +from ._private.models_2 import ( + OriginAccessControlSummary as OriginAccessControlSummary, + OriginCustomHeader as OriginCustomHeader, + OriginGroup as OriginGroup, + OriginGroupFailoverCriteria as OriginGroupFailoverCriteria, + OriginGroupMember as OriginGroupMember, + OriginGroupMembers as OriginGroupMembers, + OriginGroups as OriginGroups, + OriginGroupSelectionCriteria as OriginGroupSelectionCriteria, + OriginMtlsConfig as OriginMtlsConfig, + OriginProtocolPolicy as OriginProtocolPolicy, + OriginRequestPolicy as OriginRequestPolicy, + OriginRequestPolicyAlreadyExists as OriginRequestPolicyAlreadyExists, + OriginRequestPolicyConfig as OriginRequestPolicyConfig, + OriginRequestPolicyCookieBehavior as OriginRequestPolicyCookieBehavior, + OriginRequestPolicyCookiesConfig as OriginRequestPolicyCookiesConfig, + OriginRequestPolicyHeaderBehavior as OriginRequestPolicyHeaderBehavior, + OriginRequestPolicyHeadersConfig as OriginRequestPolicyHeadersConfig, + OriginRequestPolicyInUse as OriginRequestPolicyInUse, + OriginRequestPolicyList as OriginRequestPolicyList, + OriginRequestPolicyQueryStringBehavior as OriginRequestPolicyQueryStringBehavior, + OriginRequestPolicyQueryStringsConfig as OriginRequestPolicyQueryStringsConfig, + OriginRequestPolicySummary as OriginRequestPolicySummary, + OriginRequestPolicyType as OriginRequestPolicyType, + Origins as Origins, + OriginShield as OriginShield, + OriginSslProtocols as OriginSslProtocols, + Parameter as Parameter, + ParameterDefinition as ParameterDefinition, + ParameterDefinitionSchema as ParameterDefinitionSchema, + ParametersInCacheKeyAndForwardedToOrigin as ParametersInCacheKeyAndForwardedToOrigin, + Paths as Paths, + PreconditionFailed as PreconditionFailed, + PriceClass as PriceClass, + PublicKey as PublicKey, + PublicKeyAlreadyExists as PublicKeyAlreadyExists, + PublicKeyConfig as PublicKeyConfig, + PublicKeyInUse as PublicKeyInUse, + PublicKeyList as PublicKeyList, + PublicKeySummary as PublicKeySummary, + PublishConnectionFunctionInput as PublishConnectionFunctionInput, + PublishConnectionFunctionOutput as PublishConnectionFunctionOutput, + PublishFunctionInput as PublishFunctionInput, + PublishFunctionOutput as PublishFunctionOutput, + PutResourcePolicyInput as PutResourcePolicyInput, + PutResourcePolicyOutput as PutResourcePolicyOutput, + QueryArgProfile as QueryArgProfile, + QueryArgProfileConfig as QueryArgProfileConfig, + QueryArgProfileEmpty as QueryArgProfileEmpty, + QueryArgProfiles as QueryArgProfiles, + QueryStringCacheKeys as QueryStringCacheKeys, + QueryStringNames as QueryStringNames, + RealtimeLogConfig as RealtimeLogConfig, + RealtimeLogConfigAlreadyExists as RealtimeLogConfigAlreadyExists, + RealtimeLogConfigInUse as RealtimeLogConfigInUse, + RealtimeLogConfigOwnerMismatch as RealtimeLogConfigOwnerMismatch, + RealtimeLogConfigs as RealtimeLogConfigs, + RealtimeMetricsSubscriptionConfig as RealtimeMetricsSubscriptionConfig, + RealtimeMetricsSubscriptionStatus as RealtimeMetricsSubscriptionStatus, + ReferrerPolicyList as ReferrerPolicyList, + ResourceInUse as ResourceInUse, + ResourceNotDisabled as ResourceNotDisabled, + ResponseHeadersPolicy as ResponseHeadersPolicy, + ResponseHeadersPolicyAccessControlAllowHeaders as ResponseHeadersPolicyAccessControlAllowHeaders, + ResponseHeadersPolicyAccessControlAllowMethods as ResponseHeadersPolicyAccessControlAllowMethods, + ResponseHeadersPolicyAccessControlAllowMethodsValues as ResponseHeadersPolicyAccessControlAllowMethodsValues, + ResponseHeadersPolicyAccessControlAllowOrigins as ResponseHeadersPolicyAccessControlAllowOrigins, + ResponseHeadersPolicyAccessControlExposeHeaders as ResponseHeadersPolicyAccessControlExposeHeaders, + ResponseHeadersPolicyAlreadyExists as ResponseHeadersPolicyAlreadyExists, + ResponseHeadersPolicyConfig as ResponseHeadersPolicyConfig, + ResponseHeadersPolicyContentSecurityPolicy as ResponseHeadersPolicyContentSecurityPolicy, + ResponseHeadersPolicyContentTypeOptions as ResponseHeadersPolicyContentTypeOptions, + ResponseHeadersPolicyCorsConfig as ResponseHeadersPolicyCorsConfig, + ResponseHeadersPolicyCustomHeader as ResponseHeadersPolicyCustomHeader, + ResponseHeadersPolicyCustomHeadersConfig as ResponseHeadersPolicyCustomHeadersConfig, + ResponseHeadersPolicyFrameOptions as ResponseHeadersPolicyFrameOptions, + ResponseHeadersPolicyInUse as ResponseHeadersPolicyInUse, + ResponseHeadersPolicyList as ResponseHeadersPolicyList, + ResponseHeadersPolicyReferrerPolicy as ResponseHeadersPolicyReferrerPolicy, + ResponseHeadersPolicyRemoveHeader as ResponseHeadersPolicyRemoveHeader, + ResponseHeadersPolicyRemoveHeadersConfig as ResponseHeadersPolicyRemoveHeadersConfig, + ResponseHeadersPolicySecurityHeadersConfig as ResponseHeadersPolicySecurityHeadersConfig, + ResponseHeadersPolicyServerTimingHeadersConfig as ResponseHeadersPolicyServerTimingHeadersConfig, + ResponseHeadersPolicyStrictTransportSecurity as ResponseHeadersPolicyStrictTransportSecurity, + ResponseHeadersPolicySummary as ResponseHeadersPolicySummary, + ResponseHeadersPolicyType as ResponseHeadersPolicyType, + ResponseHeadersPolicyXSSProtection as ResponseHeadersPolicyXSSProtection, + Restrictions as Restrictions, + S3Origin as S3Origin, + S3OriginConfig as S3OriginConfig, + SessionStickinessConfig as SessionStickinessConfig, + Signer as Signer, + SslProtocol as SslProtocol, + SSLSupportMethod as SSLSupportMethod, + StagingDistributionDnsNames as StagingDistributionDnsNames, + StagingDistributionInUse as StagingDistributionInUse, + StatusCodes as StatusCodes, + StreamingDistribution as StreamingDistribution, + StreamingDistributionAlreadyExists as StreamingDistributionAlreadyExists, + StreamingDistributionConfig as StreamingDistributionConfig, + StreamingDistributionConfigWithTags as StreamingDistributionConfigWithTags, + StreamingDistributionList as StreamingDistributionList, + StreamingDistributionNotDisabled as StreamingDistributionNotDisabled, + StreamingDistributionSummary as StreamingDistributionSummary, + StreamingLoggingConfig as StreamingLoggingConfig, + StringSchemaConfig as StringSchemaConfig, + Tag as Tag, + TagKeys as TagKeys, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + Tags as Tags, + TenantConfig as TenantConfig, + TestConnectionFunctionInput as TestConnectionFunctionInput, + TestConnectionFunctionOutput as TestConnectionFunctionOutput, + TestFunctionFailed as TestFunctionFailed, + TestFunctionInput as TestFunctionInput, + TestFunctionOutput as TestFunctionOutput, + TestResult as TestResult, + TooLongCSPInResponseHeadersPolicy as TooLongCSPInResponseHeadersPolicy, + TooManyCacheBehaviors as TooManyCacheBehaviors, + TooManyCachePolicies as TooManyCachePolicies, + TooManyCertificates as TooManyCertificates, + TooManyCloudFrontOriginAccessIdentities as TooManyCloudFrontOriginAccessIdentities, + TooManyContinuousDeploymentPolicies as TooManyContinuousDeploymentPolicies, + TooManyCookieNamesInWhiteList as TooManyCookieNamesInWhiteList, + TooManyCookiesInCachePolicy as TooManyCookiesInCachePolicy, + TooManyCookiesInOriginRequestPolicy as TooManyCookiesInOriginRequestPolicy, + TooManyCustomHeadersInResponseHeadersPolicy as TooManyCustomHeadersInResponseHeadersPolicy, + TooManyDistributionCNAMEs as TooManyDistributionCNAMEs, + TooManyDistributions as TooManyDistributions, + TooManyDistributionsAssociatedToCachePolicy as TooManyDistributionsAssociatedToCachePolicy, + TooManyDistributionsAssociatedToFieldLevelEncryptionConfig as TooManyDistributionsAssociatedToFieldLevelEncryptionConfig, + TooManyDistributionsAssociatedToKeyGroup as TooManyDistributionsAssociatedToKeyGroup, + TooManyDistributionsAssociatedToOriginAccessControl as TooManyDistributionsAssociatedToOriginAccessControl, + TooManyDistributionsAssociatedToOriginRequestPolicy as TooManyDistributionsAssociatedToOriginRequestPolicy, + TooManyDistributionsAssociatedToResponseHeadersPolicy as TooManyDistributionsAssociatedToResponseHeadersPolicy, + TooManyDistributionsWithFunctionAssociations as TooManyDistributionsWithFunctionAssociations, + TooManyDistributionsWithLambdaAssociations as TooManyDistributionsWithLambdaAssociations, + TooManyDistributionsWithSingleFunctionARN as TooManyDistributionsWithSingleFunctionARN, + TooManyFieldLevelEncryptionConfigs as TooManyFieldLevelEncryptionConfigs, + TooManyFieldLevelEncryptionContentTypeProfiles as TooManyFieldLevelEncryptionContentTypeProfiles, + TooManyFieldLevelEncryptionEncryptionEntities as TooManyFieldLevelEncryptionEncryptionEntities, + TooManyFieldLevelEncryptionFieldPatterns as TooManyFieldLevelEncryptionFieldPatterns, + TooManyFieldLevelEncryptionProfiles as TooManyFieldLevelEncryptionProfiles, + TooManyFieldLevelEncryptionQueryArgProfiles as TooManyFieldLevelEncryptionQueryArgProfiles, + TooManyFunctionAssociations as TooManyFunctionAssociations, + TooManyFunctions as TooManyFunctions, + TooManyHeadersInCachePolicy as TooManyHeadersInCachePolicy, + TooManyHeadersInForwardedValues as TooManyHeadersInForwardedValues, + TooManyHeadersInOriginRequestPolicy as TooManyHeadersInOriginRequestPolicy, + TooManyInvalidationsInProgress as TooManyInvalidationsInProgress, + TooManyKeyGroups as TooManyKeyGroups, + TooManyKeyGroupsAssociatedToDistribution as TooManyKeyGroupsAssociatedToDistribution, + TooManyLambdaFunctionAssociations as TooManyLambdaFunctionAssociations, + TooManyOriginAccessControls as TooManyOriginAccessControls, + TooManyOriginCustomHeaders as TooManyOriginCustomHeaders, + TooManyOriginGroupsPerDistribution as TooManyOriginGroupsPerDistribution, + TooManyOriginRequestPolicies as TooManyOriginRequestPolicies, + TooManyOrigins as TooManyOrigins, + TooManyPublicKeys as TooManyPublicKeys, + TooManyPublicKeysInKeyGroup as TooManyPublicKeysInKeyGroup, + TooManyQueryStringParameters as TooManyQueryStringParameters, + TooManyQueryStringsInCachePolicy as TooManyQueryStringsInCachePolicy, + TooManyQueryStringsInOriginRequestPolicy as TooManyQueryStringsInOriginRequestPolicy, + TooManyRealtimeLogConfigs as TooManyRealtimeLogConfigs, + TooManyRemoveHeadersInResponseHeadersPolicy as TooManyRemoveHeadersInResponseHeadersPolicy, + TooManyResponseHeadersPolicies as TooManyResponseHeadersPolicies, + TooManyStreamingDistributionCNAMEs as TooManyStreamingDistributionCNAMEs, + TooManyStreamingDistributions as TooManyStreamingDistributions, + TooManyTrustedSigners as TooManyTrustedSigners, + TrafficConfig as TrafficConfig, + TrustedKeyGroupDoesNotExist as TrustedKeyGroupDoesNotExist, + TrustedKeyGroups as TrustedKeyGroups, + TrustedSignerDoesNotExist as TrustedSignerDoesNotExist, + TrustedSigners as TrustedSigners, + TrustStore as TrustStore, + TrustStoreConfig as TrustStoreConfig, + TrustStoreStatus as TrustStoreStatus, + TrustStoreSummary as TrustStoreSummary, + UnsupportedOperation as UnsupportedOperation, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateAnycastIpListInput as UpdateAnycastIpListInput, + UpdateAnycastIpListOutput as UpdateAnycastIpListOutput, + UpdateCachePolicyInput as UpdateCachePolicyInput, + UpdateCachePolicyOutput as UpdateCachePolicyOutput, + UpdateCloudFrontOriginAccessIdentityInput as UpdateCloudFrontOriginAccessIdentityInput, + UpdateCloudFrontOriginAccessIdentityOutput as UpdateCloudFrontOriginAccessIdentityOutput, + UpdateConnectionFunctionInput as UpdateConnectionFunctionInput, + UpdateConnectionFunctionOutput as UpdateConnectionFunctionOutput, + UpdateConnectionGroupInput as UpdateConnectionGroupInput, + UpdateConnectionGroupOutput as UpdateConnectionGroupOutput, + UpdateContinuousDeploymentPolicyInput as UpdateContinuousDeploymentPolicyInput, + UpdateContinuousDeploymentPolicyOutput as UpdateContinuousDeploymentPolicyOutput, + UpdateDistributionInput as UpdateDistributionInput, + UpdateDistributionOutput as UpdateDistributionOutput, + UpdateDistributionTenantInput as UpdateDistributionTenantInput, + UpdateDistributionTenantOutput as UpdateDistributionTenantOutput, + UpdateDistributionWithStagingConfigInput as UpdateDistributionWithStagingConfigInput, + UpdateDistributionWithStagingConfigOutput as UpdateDistributionWithStagingConfigOutput, + UpdateDomainAssociationInput as UpdateDomainAssociationInput, + UpdateDomainAssociationOutput as UpdateDomainAssociationOutput, + UpdateFieldLevelEncryptionConfigInput as UpdateFieldLevelEncryptionConfigInput, + UpdateFieldLevelEncryptionConfigOutput as UpdateFieldLevelEncryptionConfigOutput, + UpdateFieldLevelEncryptionProfileInput as UpdateFieldLevelEncryptionProfileInput, + UpdateFieldLevelEncryptionProfileOutput as UpdateFieldLevelEncryptionProfileOutput, + UpdateFunctionInput as UpdateFunctionInput, + UpdateFunctionOutput as UpdateFunctionOutput, + UpdateKeyGroupInput as UpdateKeyGroupInput, + UpdateKeyGroupOutput as UpdateKeyGroupOutput, + UpdateKeyValueStoreInput as UpdateKeyValueStoreInput, + UpdateKeyValueStoreOutput as UpdateKeyValueStoreOutput, + UpdateOriginAccessControlInput as UpdateOriginAccessControlInput, + UpdateOriginAccessControlOutput as UpdateOriginAccessControlOutput, + UpdateOriginRequestPolicyInput as UpdateOriginRequestPolicyInput, + UpdateOriginRequestPolicyOutput as UpdateOriginRequestPolicyOutput, + UpdatePublicKeyInput as UpdatePublicKeyInput, + UpdatePublicKeyOutput as UpdatePublicKeyOutput, + UpdateRealtimeLogConfigInput as UpdateRealtimeLogConfigInput, + UpdateRealtimeLogConfigOutput as UpdateRealtimeLogConfigOutput, + UpdateResponseHeadersPolicyInput as UpdateResponseHeadersPolicyInput, + UpdateResponseHeadersPolicyOutput as UpdateResponseHeadersPolicyOutput, + UpdateStreamingDistributionInput as UpdateStreamingDistributionInput, + UpdateStreamingDistributionOutput as UpdateStreamingDistributionOutput, + UpdateTrustStoreInput as UpdateTrustStoreInput, + UpdateTrustStoreOutput as UpdateTrustStoreOutput, + UpdateVpcOriginInput as UpdateVpcOriginInput, + UpdateVpcOriginOutput as UpdateVpcOriginOutput, + ValidationTokenDetail as ValidationTokenDetail, + ValidationTokenHost as ValidationTokenHost, + VerifyDnsConfigurationInput as VerifyDnsConfigurationInput, + VerifyDnsConfigurationOutput as VerifyDnsConfigurationOutput, + ViewerCertificate as ViewerCertificate, + ViewerMtlsConfig as ViewerMtlsConfig, + ViewerMtlsMode as ViewerMtlsMode, + ViewerProtocolPolicy as ViewerProtocolPolicy, + VpcIpAddressType as VpcIpAddressType, + VpcOrigin as VpcOrigin, + VpcOriginConfig as VpcOriginConfig, + VpcOriginEndpointConfig as VpcOriginEndpointConfig, + VpcOriginList as VpcOriginList, + VpcOriginSummary as VpcOriginSummary, + WebAclCustomization as WebAclCustomization, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -26,14158 +775,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AccessDenied(ServiceError, _SerdeShape): - """Access denied.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ActiveTrustedKeyGroups(_SerdeShape): - """ - A list of key groups, and the public keys in each key group, that - CloudFront can use to verify the signatures of signed URLs and signed - cookies. - """ - - enabled: bool - """ - This field is `true` if any of the key groups have public keys that - CloudFront can use to verify the signatures of signed URLs and signed - cookies. If not, this field is `false`. - """ - quantity: int - """The number of key groups in the list.""" - items: list[KGKeyPairIds] | None = ... - """ - A list of key groups, including the identifiers of the public keys in - each key group that CloudFront can use to verify the signatures of - signed URLs and signed cookies. - """ - -@dataclass(kw_only=True) -class ActiveTrustedSigners(_SerdeShape): - """ - A list of Amazon Web Services accounts and the active CloudFront key - pairs in each account that CloudFront can use to verify the signatures - of signed URLs and signed cookies. - """ - - enabled: bool - """ - This field is `true` if any of the Amazon Web Services accounts in the - list are configured as trusted signers. If not, this field is `false`. - """ - quantity: int - """The number of Amazon Web Services accounts in the list.""" - items: list[Signer] | None = ... - """ - A list of Amazon Web Services accounts and the identifiers of active - CloudFront key pairs in each account that CloudFront can use to verify - the signatures of signed URLs and signed cookies. - """ - -@dataclass(kw_only=True) -class Aliases(_SerdeShape): - """ - A complex type that contains information about CNAMEs (alternate domain - names), if any, for this distribution. - """ - - quantity: int - """ - The number of CNAME aliases, if any, that you want to associate with - this distribution. - """ - items: list[str] | None = ... - """ - A complex type that contains the CNAME aliases, if any, that you want to - associate with this distribution. - """ - -@dataclass(kw_only=True) -class AliasICPRecordal(_SerdeShape): - """ - Amazon Web Services services in China customers must file for an - Internet Content Provider (ICP) recordal if they want to serve content - publicly on an alternate domain name, also known as a CNAME, that - they've added to CloudFront. AliasICPRecordal provides the ICP recordal - status for CNAMEs associated with distributions. The status is returned - in the CloudFront response; you can't configure it yourself. - - For more information about ICP recordals, see [Signup, Accounts, and - Credentials](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) - in *Getting Started with Amazon Web Services services in China*. - """ - - cname: str | None = ... - """A domain name associated with a distribution.""" - icp_recordal_status: str | None = ... - """ - The Internet Content Provider (ICP) recordal status for a CNAME. The - ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in Amazon - Web Services Regions outside of China. - - The status values returned are the following: - - - **APPROVED** indicates that the associated CNAME has a valid ICP - recordal number. Multiple CNAMEs can be associated with a - distribution, and CNAMEs can correspond to different ICP recordals. To - be marked as APPROVED, that is, valid to use with the China Regions, a - CNAME must have one ICP recordal number associated with it. - - - **SUSPENDED** indicates that the associated CNAME does not have a - valid ICP recordal number. - - - **PENDING** indicates that CloudFront can't determine the ICP - recordal status of the CNAME associated with the distribution because - there was an error in trying to determine the status. You can try - again to see if the error is resolved in which case CloudFront returns - an APPROVED or SUSPENDED status. - """ - -@dataclass(kw_only=True) -class AllowedMethods(_SerdeShape): - """ - A complex type that controls which HTTP methods CloudFront processes and - forwards to your Amazon S3 bucket or your custom origin. There are three - choices: - - - CloudFront forwards only `GET` and `HEAD` requests. - - - CloudFront forwards only `GET`, `HEAD`, and `OPTIONS` requests. - - - CloudFront forwards `GET, HEAD, OPTIONS, PUT, PATCH, POST`, and - `DELETE` requests. - - If you pick the third choice, you may need to restrict access to your - Amazon S3 bucket or to your custom origin so users can't perform - operations that you don't want them to. For example, you might not want - users to have permissions to delete objects from your origin. - """ - - quantity: int - """ - The number of HTTP methods that you want CloudFront to forward to your - origin. Valid values are 2 (for `GET` and `HEAD` requests), 3 (for - `GET`, `HEAD`, and `OPTIONS` requests) and 7 (for - `GET, HEAD, OPTIONS, PUT, PATCH, POST`, and `DELETE` requests). - """ - items: list[str] - """ - A complex type that contains the HTTP methods that you want CloudFront - to process and forward to your origin. - """ - cached_methods: CachedMethods | None = ... - """ - A complex type that controls whether CloudFront caches the response to - requests using the specified HTTP methods. There are two choices: - - - CloudFront caches responses to `GET` and `HEAD` requests. - - - CloudFront caches responses to `GET`, `HEAD`, and `OPTIONS` requests. - - If you pick the second choice for your Amazon S3 Origin, you may need to - forward Access-Control-Request-Method, Access-Control-Request-Headers, - and Origin headers for the responses to be cached correctly. - """ - -@dataclass(kw_only=True) -class AnycastIpList(_SerdeShape): - """ - An Anycast static IP list. For more information, see [Request Anycast - static IPs to use for - allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) - in the *Amazon CloudFront Developer Guide*. - """ - - id: str - """The ID of the Anycast static IP list.""" - name: str - """The name of the Anycast static IP list.""" - status: str - """ - The status of the Anycast static IP list. Valid values: `Deployed`, - `Deploying`, or `Failed`. - """ - arn: str - """The Amazon Resource Name (ARN) of the Anycast static IP list.""" - ip_address_type: str | None = ... - """The IP address type for the Anycast static IP list.""" - ipam_config: IpamConfig | None = ... - """ - The IPAM configuration for the Anycast static IP list, that contains the - quantity and list of IPAM CIDR configurations. - """ - anycast_ips: list[str] - """ - The static IP addresses that are allocated to the Anycast static IP - list. - """ - ip_count: int - """The number of IP addresses in the Anycast static IP list.""" - last_modified_time: datetime - """The last time the Anycast static IP list was modified.""" - -@dataclass(kw_only=True) -class AnycastIpListCollection(_SerdeShape): - """The Anycast static IP list collection.""" - - items: list[AnycastIpListSummary] | None = ... - """ - Items in the Anycast static IP list collection. Each item is of the - AnycastIpListSummary structure type. - """ - marker: str - """ - Use this field when paginating results to indicate where to begin in - your list. The response includes items in the list that occur after the - marker. To get the next page of the list, set this field's value to the - value of `NextMarker` from the current page's response. - """ - next_marker: str | None = ... - """ - Indicates the next page of the Anycast static IP list collection. To get - the next page of the list, use this value in the `Marker` field of your - request. - """ - max_items: int - """ - The maximum number of Anycast static IP list collections that you want - returned in the response. - """ - is_truncated: bool - """ - If there are more items in the list collection than are in this - response, this value is `true`. - """ - quantity: int - """The quantity of Anycast static IP lists in the collection.""" - -@dataclass(kw_only=True) -class AnycastIpListSummary(_SerdeShape): - """ - An abbreviated version of the AnycastIpList structure. Omits the - allocated static IP addresses (AnycastIpList$AnycastIps). - """ - - id: str - """The ID of the Anycast static IP list.""" - name: str - """The name of the Anycast static IP list.""" - status: str - """ - The deployment status of the Anycast static IP list. Valid values: - Deployed, Deploying, or Failed. - """ - arn: str - """The Amazon Resource Name (ARN) of the Anycast static IP list.""" - ip_count: int - """The number of IP addresses in the Anycast static IP list.""" - last_modified_time: datetime - """The last time the Anycast static IP list was modified.""" - ip_address_type: str | None = ... - """The IP address type for the Anycast static IP list.""" - e_tag: str | None = ... - """The current version (ETag value) of the Anycast static IP list.""" - ipam_config: IpamConfig | None = ... - """ - The IPAM configuration for the Anycast static IP list, that contains the - quantity and list of IPAM CIDR configurations. - """ - -@dataclass(kw_only=True) -class AssociateAliasInput(_SerdeShape): - """Dataclass for AssociateAliasInput structure.""" - - target_distribution_id: str | None = ... - """ - The ID of the standard distribution that you're associating the alias - with. - """ - alias: str | None = ... - """ - The alias (also known as a CNAME) to add to the target standard - distribution. - """ - -@dataclass(kw_only=True) -class AssociateAliasOutput(_SerdeShape): - """Dataclass for AssociateAliasOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateDistributionTenantWebACLInput(_SerdeShape): - """Dataclass for AssociateDistributionTenantWebACLInput structure.""" - - id: str | None = ... - """The ID of the distribution tenant.""" - web_acl_arn: str | None = ... - """The Amazon Resource Name (ARN) of the WAF web ACL to associate.""" - if_match: str | None = ... - """ - The current `ETag` of the distribution tenant. This value is returned in - the response of the `GetDistributionTenant` API operation. - """ - -@dataclass(kw_only=True) -class AssociateDistributionTenantWebACLOutput(_SerdeShape): - """Dataclass for AssociateDistributionTenantWebACLOutput structure.""" - - id: str | None = ... - """The ID of the distribution tenant.""" - web_acl_arn: str | None = ... - """ - The ARN of the WAF web ACL that you associated with the distribution - tenant. - """ - e_tag: str | None = ... - """The current version of the distribution tenant.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateDistributionWebACLInput(_SerdeShape): - """Dataclass for AssociateDistributionWebACLInput structure.""" - - id: str | None = ... - """The ID of the distribution.""" - web_acl_arn: str | None = ... - """The Amazon Resource Name (ARN) of the WAF web ACL to associate.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - distribution that you're associating with the WAF web ACL. - """ - -@dataclass(kw_only=True) -class AssociateDistributionWebACLOutput(_SerdeShape): - """Dataclass for AssociateDistributionWebACLOutput structure.""" - - id: str | None = ... - """The ID of the distribution.""" - web_acl_arn: str | None = ... - """The ARN of the WAF web ACL that you associated with the distribution.""" - e_tag: str | None = ... - """The current version of the distribution.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BatchTooLarge(ServiceError, _SerdeShape): - """Invalidation batch specified is too large.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CaCertificatesBundleS3Location(_SerdeShape): - """The CA certificates bundle location in Amazon S3.""" - - bucket: str - """The S3 bucket.""" - key: str - """The location's key.""" - region: str - """The location's Region.""" - version: str | None = ... - """The location's version.""" - -@dataclass -class CaCertificatesBundleSourceCaCertificatesBundleS3Location(_SerdeShape): - """The CA certificates bundle location in Amazon S3.""" - - value: CaCertificatesBundleS3Location - -@dataclass -class CaCertificatesBundleSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CaCertificatesBundleSource = Union[ - CaCertificatesBundleSourceCaCertificatesBundleS3Location - | CaCertificatesBundleSourceUnknown -] -"""A CA certificates bundle source.""" - -class _CaCertificatesBundleSourceDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> CaCertificatesBundleSource: ... - -@dataclass(kw_only=True) -class CacheBehavior(_SerdeShape): - """ - A complex type that describes how CloudFront processes requests. - - You must create at least as many cache behaviors (including the default - cache behavior) as you have origins if you want CloudFront to serve - objects from all of the origins. Each cache behavior specifies the one - origin from which you want CloudFront to get objects. If you have two - origins and only the default cache behavior, the default cache behavior - will cause CloudFront to get objects from one of the origins, but the - other origin is never used. - - For the current quota (formerly known as limit) on the number of cache - behaviors that you can add to a distribution, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - in the *Amazon CloudFront Developer Guide*. - - If you don't want to specify any cache behaviors, include only an empty - `CacheBehaviors` element. Don't specify an empty individual - `CacheBehavior` element, because this is invalid. For more information, - see - [CacheBehaviors](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CacheBehaviors.html). - - To delete all cache behaviors in an existing distribution, update the - distribution configuration and include only an empty `CacheBehaviors` - element. - - To add, change, or remove one or more cache behaviors, update the - distribution configuration and specify all of the cache behaviors that - you want to include in the updated distribution. - - Warning: - If your minimum TTL is greater than 0, CloudFront will cache content for - at least the duration specified in the cache policy's minimum TTL, even - if the `Cache-Control: no-cache`, `no-store`, or `private` directives - are present in the origin headers. - - For more information about cache behaviors, see [Cache Behavior - Settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior) - in the *Amazon CloudFront Developer Guide*. - """ - - path_pattern: str - """ - The pattern (for example, `images/*.jpg`) that specifies which requests - to apply the behavior to. When CloudFront receives a viewer request, the - requested path is compared with path patterns in the order in which - cache behaviors are listed in the distribution. - - Note: - You can optionally include a slash (`/`) at the beginning of the path - pattern. For example, `/images/*.jpg`. CloudFront behavior is the same - with or without the leading `/`. - - The path pattern for the default cache behavior is `*` and cannot be - changed. If the request for an object does not match the path pattern - for any cache behaviors, CloudFront applies the behavior in the default - cache behavior. - - For more information, see [Path - Pattern](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesPathPattern) - in the *Amazon CloudFront Developer Guide*. - """ - target_origin_id: str - """ - The value of `ID` for the origin that you want CloudFront to route - requests to when they match this cache behavior. - """ - trusted_signers: TrustedSigners | None = ... - """ - Warning: - We recommend using `TrustedKeyGroups` instead of `TrustedSigners`. - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - A list of Amazon Web Services account IDs whose public keys CloudFront - can use to validate signed URLs or signed cookies. - - When a cache behavior contains trusted signers, CloudFront requires - signed URLs or signed cookies for all requests that match the cache - behavior. The URLs or cookies must be signed with the private key of a - CloudFront key pair in the trusted signer's Amazon Web Services - account. The signed URL or cookie contains information about which - public key CloudFront should use to verify the signature. For more - information, see [Serving private - content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) - in the *Amazon CloudFront Developer Guide*. - """ - trusted_key_groups: TrustedKeyGroups | None = ... - """ - A list of key groups that CloudFront can use to validate signed URLs or - signed cookies. - - When a cache behavior contains trusted key groups, CloudFront requires - signed URLs or signed cookies for all requests that match the cache - behavior. The URLs or cookies must be signed with a private key whose - corresponding public key is in the key group. The signed URL or cookie - contains information about which public key CloudFront should use to - verify the signature. For more information, see [Serving private - content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) - in the *Amazon CloudFront Developer Guide*. - """ - viewer_protocol_policy: str - """ - The protocol that viewers can use to access the files in the origin - specified by `TargetOriginId` when a request matches the path pattern in - `PathPattern`. You can specify the following options: - - - `allow-all`: Viewers can use HTTP or HTTPS. - - - `redirect-to-https`: If a viewer submits an HTTP request, CloudFront - returns an HTTP status code of 301 (Moved Permanently) to the viewer - along with the HTTPS URL. The viewer then resubmits the request using - the new URL. - - - `https-only`: If a viewer sends an HTTP request, CloudFront returns an - HTTP status code of 403 (Forbidden). - - For more information about requiring the HTTPS protocol, see [Requiring - HTTPS Between Viewers and - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) - in the *Amazon CloudFront Developer Guide*. - - Note: - The only way to guarantee that viewers retrieve an object that was - fetched from the origin using HTTPS is never to use any other protocol - to fetch the object. If you have recently changed from HTTP to HTTPS, we - recommend that you clear your objects' cache because cached objects are - protocol agnostic. That means that an edge location will return an - object from the cache regardless of whether the current request protocol - matches the protocol used previously. For more information, see - [Managing Cache - Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - """ - allowed_methods: AllowedMethods | None = ... - """ - A complex type that controls which HTTP methods CloudFront processes and - forwards to your Amazon S3 bucket or your custom origin. There are three - choices: - - - CloudFront forwards only `GET` and `HEAD` requests. - - - CloudFront forwards only `GET`, `HEAD`, and `OPTIONS` requests. - - - CloudFront forwards `GET, HEAD, OPTIONS, PUT, PATCH, POST`, and - `DELETE` requests. - - If you pick the third choice, you may need to restrict access to your - Amazon S3 bucket or to your custom origin so users can't perform - operations that you don't want them to. For example, you might not want - users to have permissions to delete objects from your origin. - """ - smooth_streaming: bool | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - Indicates whether you want to distribute media files in the Microsoft - Smooth Streaming format using the origin that is associated with this - cache behavior. If so, specify `true`; if not, specify `false`. If you - specify `true` for `SmoothStreaming`, you can still distribute other - content using this cache behavior if the content matches the value of - `PathPattern`. - """ - compress: bool | None = ... - """ - Whether you want CloudFront to automatically compress certain files for - this cache behavior. If so, specify true; if not, specify false. For - more information, see [Serving Compressed - Files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html) - in the *Amazon CloudFront Developer Guide*. - """ - lambda_function_associations: LambdaFunctionAssociations | None = ... - """ - A complex type that contains zero or more Lambda@Edge function - associations for a cache behavior. - """ - function_associations: FunctionAssociations | None = ... - """ - A list of CloudFront functions that are associated with this cache - behavior. CloudFront functions must be published to the `LIVE` stage to - associate them with a cache behavior. - """ - field_level_encryption_id: str | None = ... - """ - The value of `ID` for the field-level encryption configuration that you - want CloudFront to use for encrypting specific fields of data for this - cache behavior. - """ - realtime_log_config_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the real-time log configuration that - is attached to this cache behavior. For more information, see [Real-time - logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) - in the *Amazon CloudFront Developer Guide*. - """ - cache_policy_id: str | None = ... - """ - The unique identifier of the cache policy that is attached to this cache - behavior. For more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - A `CacheBehavior` must include either a `CachePolicyId` or - `ForwardedValues`. We recommend that you use a `CachePolicyId`. - """ - origin_request_policy_id: str | None = ... - """ - The unique identifier of the origin request policy that is attached to - this cache behavior. For more information, see [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - or [Using the managed origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) - in the *Amazon CloudFront Developer Guide*. - """ - response_headers_policy_id: str | None = ... - """The identifier for a response headers policy.""" - grpc_config: GrpcConfig | None = ... - """The gRPC configuration for your cache behavior.""" - forwarded_values: ForwardedValues | None = ... - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. For more information, see - [Working with - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html) - in the *Amazon CloudFront Developer Guide*. - - If you want to include values in the cache key, use a cache policy. For - more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - If you want to send values to the origin but not include them in the - cache key, use an origin request policy. For more information, see - [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - or [Using the managed origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) - in the *Amazon CloudFront Developer Guide*. - - A `CacheBehavior` must include either a `CachePolicyId` or - `ForwardedValues`. We recommend that you use a `CachePolicyId`. - - A complex type that specifies how CloudFront handles query strings, - cookies, and HTTP headers. - """ - min_ttl: int | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - This field is deprecated. We recommend that you use the `MinTTL` field - in a cache policy instead of this field. For more information, see - [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - The minimum amount of time that you want objects to stay in CloudFront - caches before CloudFront forwards another request to your origin to - determine whether the object has been updated. For more information, see - [Managing How Long Content Stays in an Edge Cache - (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - - You must specify `0` for `MinTTL` if you configure CloudFront to forward - all headers to your origin (under `Headers`, if you specify `1` for - `Quantity` and `*` for `Name`). - """ - default_ttl: int | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - This field is deprecated. We recommend that you use the `DefaultTTL` - field in a cache policy instead of this field. For more information, see - [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - The default amount of time that you want objects to stay in CloudFront - caches before CloudFront forwards another request to your origin to - determine whether the object has been updated. The value that you - specify applies only when your origin does not add HTTP headers such as - `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` to - objects. For more information, see [Managing How Long Content Stays in - an Edge Cache - (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - """ - max_ttl: int | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - This field is deprecated. We recommend that you use the `MaxTTL` field - in a cache policy instead of this field. For more information, see - [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - The maximum amount of time that you want objects to stay in CloudFront - caches before CloudFront forwards another request to your origin to - determine whether the object has been updated. The value that you - specify applies only when your origin adds HTTP headers such as - `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` to - objects. For more information, see [Managing How Long Content Stays in - an Edge Cache - (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class CacheBehaviors(_SerdeShape): - """A complex type that contains zero or more `CacheBehavior` elements.""" - - quantity: int - """The number of cache behaviors for this distribution.""" - items: list[CacheBehavior] | None = ... - """ - Optional: A complex type that contains cache behaviors for this - distribution. If `Quantity` is `0`, you can omit `Items`. - """ - -@dataclass(kw_only=True) -class CachedMethods(_SerdeShape): - """ - A complex type that controls whether CloudFront caches the response to - requests using the specified HTTP methods. There are two choices: - - - CloudFront caches responses to `GET` and `HEAD` requests. - - - CloudFront caches responses to `GET`, `HEAD`, and `OPTIONS` requests. - - If you pick the second choice for your Amazon S3 Origin, you may need to - forward Access-Control-Request-Method, Access-Control-Request-Headers, - and Origin headers for the responses to be cached correctly. - """ - - quantity: int - """ - The number of HTTP methods for which you want CloudFront to cache - responses. Valid values are `2` (for caching responses to `GET` and - `HEAD` requests) and `3` (for caching responses to `GET`, `HEAD`, and - `OPTIONS` requests). - """ - items: list[str] - """ - A complex type that contains the HTTP methods that you want CloudFront - to cache responses to. Valid values for `CachedMethods` include `GET`, - `HEAD`, and `OPTIONS`, depending on which caching option you choose. For - more information, see the preceding section. - """ - -@dataclass(kw_only=True) -class CachePolicy(_SerdeShape): - """ - A cache policy. - - When it's attached to a cache behavior, the cache policy determines the - following: - - - The values that CloudFront includes in the cache key. These values can - include HTTP headers, cookies, and URL query strings. CloudFront uses - the cache key to find an object in its cache that it can return to the - viewer. - - - The default, minimum, and maximum time to live (TTL) values that you - want objects to stay in the CloudFront cache. - - The headers, cookies, and query strings that are included in the cache - key are also included in requests that CloudFront sends to the origin. - CloudFront sends a request when it can't find a valid object in its - cache that matches the request's cache key. If you want to send values - to the origin but *not* include them in the cache key, use - `OriginRequestPolicy`. - """ - - id: str - """The unique identifier for the cache policy.""" - last_modified_time: datetime - """The date and time when the cache policy was last modified.""" - cache_policy_config: CachePolicyConfig - """The cache policy configuration.""" - -@dataclass(kw_only=True) -class CachePolicyAlreadyExists(ServiceError, _SerdeShape): - """ - A cache policy with this name already exists. You must provide a unique - name. To modify an existing cache policy, use `UpdateCachePolicy`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CachePolicyConfig(_SerdeShape): - """ - A cache policy configuration. - - This configuration determines the following: - - - The values that CloudFront includes in the cache key. These values can - include HTTP headers, cookies, and URL query strings. CloudFront uses - the cache key to find an object in its cache that it can return to the - viewer. - - - The default, minimum, and maximum time to live (TTL) values that you - want objects to stay in the CloudFront cache. - - Warning: - If your minimum TTL is greater than 0, CloudFront will cache content - for at least the duration specified in the cache policy's minimum - TTL, even if the `Cache-Control: no-cache`, `no-store`, or `private` - directives are present in the origin headers. - - The headers, cookies, and query strings that are included in the cache - key are also included in requests that CloudFront sends to the origin. - CloudFront sends a request when it can't find a valid object in its - cache that matches the request's cache key. If you want to send values - to the origin but *not* include them in the cache key, use - `OriginRequestPolicy`. - """ - - comment: str | None = ... - """ - A comment to describe the cache policy. The comment cannot be longer - than 128 characters. - """ - name: str - """A unique name to identify the cache policy.""" - default_ttl: int | None = ... - """ - The default amount of time, in seconds, that you want objects to stay in - the CloudFront cache before CloudFront sends another request to the - origin to see if the object has been updated. CloudFront uses this value - as the object's time to live (TTL) only when the origin does *not* send - `Cache-Control` or `Expires` headers with the object. For more - information, see [Managing How Long Content Stays in an Edge Cache - (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - - The default value for this field is 86400 seconds (one day). If the - value of `MinTTL` is more than 86400 seconds, then the default value for - this field is the same as the value of `MinTTL`. - """ - max_ttl: int | None = ... - """ - The maximum amount of time, in seconds, that objects stay in the - CloudFront cache before CloudFront sends another request to the origin - to see if the object has been updated. CloudFront uses this value only - when the origin sends `Cache-Control` or `Expires` headers with the - object. For more information, see [Managing How Long Content Stays in an - Edge Cache - (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - - The default value for this field is 31536000 seconds (one year). If the - value of `MinTTL` or `DefaultTTL` is more than 31536000 seconds, then - the default value for this field is the same as the value of - `DefaultTTL`. - """ - min_ttl: int - """ - The minimum amount of time, in seconds, that you want objects to stay in - the CloudFront cache before CloudFront sends another request to the - origin to see if the object has been updated. For more information, see - [Managing How Long Content Stays in an Edge Cache - (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - """ - parameters_in_cache_key_and_forwarded_to_origin: ( - ParametersInCacheKeyAndForwardedToOrigin | None - ) = ... - """ - The HTTP headers, cookies, and URL query strings to include in the cache - key. The values included in the cache key are also included in requests - that CloudFront sends to the origin. - """ - -class CachePolicyCookieBehavior(UnknownEnumMixin, StrEnum): - NONE = "none" - WHITELIST = "whitelist" - ALL_EXCEPT = "allExcept" - ALL = "all" - -@dataclass(kw_only=True) -class CachePolicyCookiesConfig(_SerdeShape): - """ - An object that determines whether any cookies in viewer requests (and if - so, which cookies) are included in the cache key and in requests that - CloudFront sends to the origin. - """ - - cookie_behavior: str - """ - Determines whether any cookies in viewer requests are included in the - cache key and in requests that CloudFront sends to the origin. Valid - values are: - - - `none` -- No cookies in viewer requests are included in the cache key - or in requests that CloudFront sends to the origin. Even when this - field is set to `none`, any cookies that are listed in an - `OriginRequestPolicy` *are* included in origin requests. - - - `whitelist` -- Only the cookies in viewer requests that are listed in - the `CookieNames` type are included in the cache key and in requests - that CloudFront sends to the origin. - - - `allExcept` -- All cookies in viewer requests are included in the - cache key and in requests that CloudFront sends to the origin, - ***except*** for those that are listed in the `CookieNames` type, - which are not included. - - - `all` -- All cookies in viewer requests are included in the cache key - and in requests that CloudFront sends to the origin. - """ - cookies: CookieNames | None = ... - """Contains a list of cookie names.""" - -class CachePolicyHeaderBehavior(UnknownEnumMixin, StrEnum): - NONE = "none" - WHITELIST = "whitelist" - -@dataclass(kw_only=True) -class CachePolicyHeadersConfig(_SerdeShape): - """ - An object that determines whether any HTTP headers (and if so, which - headers) are included in the cache key and in requests that CloudFront - sends to the origin. - """ - - header_behavior: str - """ - Determines whether any HTTP headers are included in the cache key and in - requests that CloudFront sends to the origin. Valid values are: - - - `none` -- No HTTP headers are included in the cache key or in requests - that CloudFront sends to the origin. Even when this field is set to - `none`, any headers that are listed in an `OriginRequestPolicy` *are* - included in origin requests. - - - `whitelist` -- Only the HTTP headers that are listed in the `Headers` - type are included in the cache key and in requests that CloudFront - sends to the origin. - """ - headers: Headers | None = ... - """Contains a list of HTTP header names.""" - -@dataclass(kw_only=True) -class CachePolicyInUse(ServiceError, _SerdeShape): - """ - Cannot delete the cache policy because it is attached to one or more - cache behaviors. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CachePolicyList(_SerdeShape): - """A list of cache policies.""" - - next_marker: str | None = ... - """ - If there are more items in the list than are in this response, this - element is present. It contains the value that you should use in the - `Marker` field of a subsequent request to continue listing cache - policies where you left off. - """ - max_items: int - """The maximum number of cache policies requested.""" - quantity: int - """The total number of cache policies returned in the response.""" - items: list[CachePolicySummary] | None = ... - """Contains the cache policies in the list.""" - -class CachePolicyQueryStringBehavior(UnknownEnumMixin, StrEnum): - NONE = "none" - WHITELIST = "whitelist" - ALL_EXCEPT = "allExcept" - ALL = "all" - -@dataclass(kw_only=True) -class CachePolicyQueryStringsConfig(_SerdeShape): - """ - An object that determines whether any URL query strings in viewer - requests (and if so, which query strings) are included in the cache key - and in requests that CloudFront sends to the origin. - """ - - query_string_behavior: str - """ - Determines whether any URL query strings in viewer requests are included - in the cache key and in requests that CloudFront sends to the origin. - Valid values are: - - - `none` -- No query strings in viewer requests are included in the - cache key or in requests that CloudFront sends to the origin. Even - when this field is set to `none`, any query strings that are listed in - an `OriginRequestPolicy` *are* included in origin requests. - - - `whitelist` -- Only the query strings in viewer requests that are - listed in the `QueryStringNames` type are included in the cache key - and in requests that CloudFront sends to the origin. - - - `allExcept` -- All query strings in viewer requests are included in - the cache key and in requests that CloudFront sends to the origin, - ***except*** those that are listed in the `QueryStringNames` type, - which are not included. - - - `all` -- All query strings in viewer requests are included in the - cache key and in requests that CloudFront sends to the origin. - """ - query_strings: QueryStringNames | None = ... - """ - Contains the specific query strings in viewer requests that either - ***are*** or ***are not*** included in the cache key and in requests - that CloudFront sends to the origin. The behavior depends on whether the - `QueryStringBehavior` field in the `CachePolicyQueryStringsConfig` type - is set to `whitelist` (the listed query strings ***are*** included) or - `allExcept` (the listed query strings ***are not*** included, but all - other query strings are). - """ - -@dataclass(kw_only=True) -class CachePolicySummary(_SerdeShape): - """Contains a cache policy.""" - - type: str - """ - The type of cache policy, either `managed` (created by Amazon Web - Services) or `custom` (created in this Amazon Web Services account). - """ - cache_policy: CachePolicy - """The cache policy.""" - -class CachePolicyType(UnknownEnumMixin, StrEnum): - MANAGED = "managed" - CUSTOM = "custom" - -@dataclass(kw_only=True) -class CacheTagConfig(_SerdeShape): - """ - A complex type that specifies the HTTP header name from which CloudFront - extracts cache tags from origin responses. When you add `CacheTagConfig` - to a distribution, CloudFront reads the specified header from origin - responses, parses the comma-separated tag values, and stores them with - the cached object. You can then invalidate cached objects by tag using - the `CreateInvalidation` API. - """ - - header_name: str - """ - The name of the HTTP header that your origin includes in responses. - CloudFront uses this header to extract cache tags. The header value must - contain comma-separated tag values (for example, - `product:electronics, category:tv, brand:example`). - """ - -@dataclass(kw_only=True) -class CannotChangeImmutablePublicKeyFields(ServiceError, _SerdeShape): - """You can't change the value of a public key.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CannotDeleteEntityWhileInUse(ServiceError, _SerdeShape): - """The entity cannot be deleted while it is in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CannotUpdateEntityWhileInUse(ServiceError, _SerdeShape): - """The entity cannot be updated while it is in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Certificate(_SerdeShape): - """ - The Certificate Manager (ACM) certificate associated with your - distribution. - """ - - arn: str - """The Amazon Resource Name (ARN) of the ACM certificate.""" - -class CertificateSource(UnknownEnumMixin, StrEnum): - CLOUDFRONT = "cloudfront" - IAM = "iam" - ACM = "acm" - -class CertificateTransparencyLoggingPreference(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class CloudFrontOriginAccessIdentity(_SerdeShape): - """CloudFront origin access identity.""" - - id: str - """The ID for the origin access identity, for example, `E74FTE3AJFJ256A`.""" - s3_canonical_user_id: str - """ - The Amazon S3 canonical user ID for the origin access identity, used - when giving the origin access identity read permission to an object in - Amazon S3. - """ - cloud_front_origin_access_identity_config: ( - CloudFrontOriginAccessIdentityConfig | None - ) = ... - """The current configuration information for the identity.""" - -@dataclass(kw_only=True) -class CloudFrontOriginAccessIdentityAlreadyExists(ServiceError, _SerdeShape): - """ - If the `CallerReference` is a value you already sent in a previous - request to create an identity but the content of the - `CloudFrontOriginAccessIdentityConfig` is different from the original - request, CloudFront returns a - `CloudFrontOriginAccessIdentityAlreadyExists` error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CloudFrontOriginAccessIdentityConfig(_SerdeShape): - """ - Origin access identity configuration. Send a `GET` request to the - `/`*`CloudFront API version`*`/CloudFront/identity ID/config` resource. - """ - - caller_reference: str - """ - A unique value (for example, a date-time stamp) that ensures that the - request can't be replayed. - - If the value of `CallerReference` is new (regardless of the content of - the `CloudFrontOriginAccessIdentityConfig` object), a new origin access - identity is created. - - If the `CallerReference` is a value already sent in a previous identity - request, and the content of the `CloudFrontOriginAccessIdentityConfig` - is identical to the original request (ignoring white space), the - response includes the same information returned to the original request. - - If the `CallerReference` is a value you already sent in a previous - request to create an identity, but the content of the - `CloudFrontOriginAccessIdentityConfig` is different from the original - request, CloudFront returns a - `CloudFrontOriginAccessIdentityAlreadyExists` error. - """ - comment: str - """ - A comment to describe the origin access identity. The comment cannot be - longer than 128 characters. - """ - -@dataclass(kw_only=True) -class CloudFrontOriginAccessIdentityInUse(ServiceError, _SerdeShape): - """The Origin Access Identity specified is already in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CloudFrontOriginAccessIdentityList(_SerdeShape): - """ - Lists the origin access identities for CloudFront.Send a `GET` request - to the `/`*`CloudFront API version`*`/origin-access-identity/cloudfront` - resource. The response includes a `CloudFrontOriginAccessIdentityList` - element with zero or more `CloudFrontOriginAccessIdentitySummary` child - elements. By default, your entire list of origin access identities is - returned in one single page. If the list is long, you can paginate it - using the `MaxItems` and `Marker` parameters. - """ - - marker: str - """ - Use this when paginating results to indicate where to begin in your list - of origin access identities. The results include identities in the list - that occur after the marker. To get the next page of results, set the - `Marker` to the value of the `NextMarker` from the current page's - response (which is also the ID of the last identity on that page). - """ - next_marker: str | None = ... - """ - If `IsTruncated` is `true`, this element is present and contains the - value you can use for the `Marker` request parameter to continue listing - your origin access identities where they left off. - """ - max_items: int - """ - The maximum number of origin access identities you want in the response - body. - """ - is_truncated: bool - """ - A flag that indicates whether more origin access identities remain to be - listed. If your results were truncated, you can make a follow-up - pagination request using the `Marker` request parameter to retrieve more - items in the list. - """ - quantity: int - """ - The number of CloudFront origin access identities that were created by - the current Amazon Web Services account. - """ - items: list[CloudFrontOriginAccessIdentitySummary] | None = ... - """ - A complex type that contains one `CloudFrontOriginAccessIdentitySummary` - element for each origin access identity that was created by the current - Amazon Web Services account. - """ - -@dataclass(kw_only=True) -class CloudFrontOriginAccessIdentitySummary(_SerdeShape): - """Summary of the information about a CloudFront origin access identity.""" - - id: str - """The ID for the origin access identity. For example: `E74FTE3AJFJ256A`.""" - s3_canonical_user_id: str - """ - The Amazon S3 canonical user ID for the origin access identity, which - you use when giving the origin access identity read permission to an - object in Amazon S3. - """ - comment: str - """ - The comment for this origin access identity, as originally specified - when created. - """ - -@dataclass(kw_only=True) -class CNAMEAlreadyExists(ServiceError, _SerdeShape): - """The CNAME specified is already defined for CloudFront.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ConflictingAlias(_SerdeShape): - """ - An alias (also called a CNAME) and the CloudFront standard distribution - and Amazon Web Services account ID that it's associated with. The - standard distribution and account IDs are partially hidden, which allows - you to identify the standard distributions and accounts that you own, - and helps to protect the information of ones that you don't own. - """ - - alias: str | None = ... - """An alias (also called a CNAME).""" - distribution_id: str | None = ... - """ - The (partially hidden) ID of the CloudFront standard distribution - associated with the alias. - """ - account_id: str | None = ... - """ - The (partially hidden) ID of the Amazon Web Services account that owns - the standard distribution that's associated with the alias. - """ - -@dataclass(kw_only=True) -class ConflictingAliasesList(_SerdeShape): - """ - A list of aliases (also called CNAMEs) and the CloudFront standard - distributions and Amazon Web Services accounts that they are associated - with. In the list, the standard distribution and account IDs are - partially hidden, which allows you to identify the standard - distributions and accounts that you own, but helps to protect the - information of ones that you don't own. - """ - - next_marker: str | None = ... - """ - If there are more items in the list than are in this response, this - element is present. It contains the value that you should use in the - `Marker` field of a subsequent request to continue listing conflicting - aliases where you left off. - """ - max_items: int | None = ... - """The maximum number of conflicting aliases requested.""" - quantity: int | None = ... - """The number of conflicting aliases returned in the response.""" - items: list[ConflictingAlias] | None = ... - """Contains the conflicting aliases in the list.""" - -@dataclass(kw_only=True) -class ConnectionFunctionAssociation(_SerdeShape): - """A connection function association.""" - - id: str - """The association's ID.""" - -@dataclass(kw_only=True) -class ConnectionFunctionSummary(_SerdeShape): - """A connection function summary.""" - - name: str - """The connection function name.""" - id: str - """The connection function ID.""" - connection_function_config: FunctionConfig - """Contains configuration information about a CloudFront function.""" - connection_function_arn: str - """The connection function Amazon Resource Name (ARN).""" - status: str - """The connection function status.""" - stage: str - """The connection function stage.""" - created_time: datetime - """The connection function created time.""" - last_modified_time: datetime - """The connection function last modified time.""" - -@dataclass(kw_only=True) -class ConnectionFunctionTestResult(_SerdeShape): - """A connection function test result.""" - - connection_function_summary: ConnectionFunctionSummary | None = ... - """The connection function summary.""" - compute_utilization: str | None = ... - """The connection function compute utilization.""" - connection_function_execution_logs: list[str] | None = ... - """The connection function execution logs.""" - connection_function_error_message: str | None = ... - """The connection function error message.""" - connection_function_output: str | None = ... - """The connection function output.""" - -@dataclass(kw_only=True) -class ConnectionGroup(_SerdeShape): - """ - The connection group for your distribution tenants. When you first - create a distribution tenant and you don't specify a connection group, - CloudFront will automatically create a default connection group for you. - When you create a new distribution tenant and don't specify a - connection group, the default one will be associated with your - distribution tenant. - """ - - id: str | None = ... - """The ID of the connection group.""" - name: str | None = ... - """The name of the connection group.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) of the connection group.""" - created_time: datetime | None = ... - """The date and time when the connection group was created.""" - last_modified_time: datetime | None = ... - """The date and time when the connection group was updated.""" - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - ipv6_enabled: bool | None = ... - """IPv6 is enabled for the connection group.""" - routing_endpoint: str | None = ... - """ - The routing endpoint (also known as the DNS name) that is assigned to - the connection group, such as d111111abcdef8.cloudfront.net. - """ - anycast_ip_list_id: str | None = ... - """The ID of the Anycast static IP list.""" - status: str | None = ... - """The status of the connection group.""" - enabled: bool | None = ... - """Whether the connection group is enabled.""" - is_default: bool | None = ... - """ - Whether the connection group is the default connection group for the - distribution tenants. - """ - -@dataclass(kw_only=True) -class ConnectionGroupAssociationFilter(_SerdeShape): - """ - Contains information about what CloudFront resources your connection - groups are associated with. - """ - - anycast_ip_list_id: str | None = ... - """The ID of the Anycast static IP list.""" - -@dataclass(kw_only=True) -class ConnectionGroupSummary(_SerdeShape): - """A summary that contains details about your connection groups.""" - - id: str - """The ID of the connection group.""" - name: str - """The name of the connection group.""" - arn: str - """The Amazon Resource Name (ARN) of the connection group.""" - routing_endpoint: str - """ - The routing endpoint (also known as the DNS name) that is assigned to - the connection group, such as d111111abcdef8.cloudfront.net. - """ - created_time: datetime - """The date and time when the connection group was created.""" - last_modified_time: datetime - """The date and time when the connection group was updated.""" - e_tag: str - """The current version of the connection group.""" - anycast_ip_list_id: str | None = ... - """The ID of the Anycast static IP list.""" - enabled: bool | None = ... - """Whether the connection group is enabled""" - status: str | None = ... - """The status of the connection group.""" - is_default: bool | None = ... - """ - Whether the connection group is the default connection group for the - distribution tenants. - """ - -class ConnectionMode(UnknownEnumMixin, StrEnum): - DIRECT = "direct" - TENANT_ONLY = "tenant-only" - -@dataclass(kw_only=True) -class ContentTypeProfile(_SerdeShape): - """A field-level encryption content type profile.""" - - format: str - """The format for a field-level encryption content type-profile mapping.""" - profile_id: str | None = ... - """ - The profile ID for a field-level encryption content type-profile - mapping. - """ - content_type: str - """ - The content type for a field-level encryption content type-profile - mapping. - """ - -@dataclass(kw_only=True) -class ContentTypeProfileConfig(_SerdeShape): - """ - The configuration for a field-level encryption content type-profile - mapping. - """ - - forward_when_content_type_is_unknown: bool - """ - The setting in a field-level encryption content type-profile mapping - that specifies what to do when an unknown content type is provided for - the profile. If true, content is forwarded without being encrypted when - the content type is unknown. If false (the default), an error is - returned when the content type is unknown. - """ - content_type_profiles: ContentTypeProfiles | None = ... - """The configuration for a field-level encryption content type-profile.""" - -@dataclass(kw_only=True) -class ContentTypeProfiles(_SerdeShape): - """Field-level encryption content type-profile.""" - - quantity: int - """The number of field-level encryption content type-profile mappings.""" - items: list[ContentTypeProfile] | None = ... - """Items in a field-level encryption content type-profile mapping.""" - -@dataclass(kw_only=True) -class ContinuousDeploymentPolicy(_SerdeShape): - """A continuous deployment policy.""" - - id: str - """The identifier of the continuous deployment policy.""" - last_modified_time: datetime - """The date and time the continuous deployment policy was last modified.""" - continuous_deployment_policy_config: ContinuousDeploymentPolicyConfig - """Contains the configuration for a continuous deployment policy.""" - -@dataclass(kw_only=True) -class ContinuousDeploymentPolicyAlreadyExists(ServiceError, _SerdeShape): - """A continuous deployment policy with this configuration already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ContinuousDeploymentPolicyConfig(_SerdeShape): - """Contains the configuration for a continuous deployment policy.""" - - staging_distribution_dns_names: StagingDistributionDnsNames - """ - The CloudFront domain name of the staging distribution. For example: - `d111111abcdef8.cloudfront.net`. - """ - enabled: bool - """ - A Boolean that indicates whether this continuous deployment policy is - enabled (in effect). When this value is `true`, this policy is enabled - and in effect. When this value is `false`, this policy is not enabled - and has no effect. - """ - traffic_config: TrafficConfig | None = ... - """ - Contains the parameters for routing production traffic from your primary - to staging distributions. - """ - -@dataclass(kw_only=True) -class ContinuousDeploymentPolicyInUse(ServiceError, _SerdeShape): - """ - You cannot delete a continuous deployment policy that is associated with - a primary distribution. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ContinuousDeploymentPolicyList(_SerdeShape): - """Contains a list of continuous deployment policies.""" - - next_marker: str | None = ... - """ - Indicates the next page of continuous deployment policies. To get the - next page of the list, use this value in the `Marker` field of your - request. - """ - max_items: int - """ - The maximum number of continuous deployment policies that were specified - in your request. - """ - quantity: int - """ - The total number of continuous deployment policies in your Amazon Web - Services account, regardless of the `MaxItems` value. - """ - items: list[ContinuousDeploymentPolicySummary] | None = ... - """A list of continuous deployment policy items.""" - -@dataclass(kw_only=True) -class ContinuousDeploymentPolicySummary(_SerdeShape): - """A summary of the information about your continuous deployment policies.""" - - continuous_deployment_policy: ContinuousDeploymentPolicy - """The continuous deployment policy.""" - -class ContinuousDeploymentPolicyType(UnknownEnumMixin, StrEnum): - SINGLE_WEIGHT = "SingleWeight" - SINGLE_HEADER = "SingleHeader" - -@dataclass(kw_only=True) -class ContinuousDeploymentSingleHeaderConfig(_SerdeShape): - """ - This configuration determines which HTTP requests are sent to the - staging distribution. If the HTTP request contains a header and value - that matches what you specify here, the request is sent to the staging - distribution. Otherwise the request is sent to the primary distribution. - """ - - header: str - """ - The request header name that you want CloudFront to send to your staging - distribution. The header must contain the prefix `aws-cf-cd-`. - """ - value: str - """The request header value.""" - -@dataclass(kw_only=True) -class ContinuousDeploymentSingleWeightConfig(_SerdeShape): - """Contains the percentage of traffic to send to a staging distribution.""" - - weight: float - """ - The percentage of traffic to send to a staging distribution, expressed - as a decimal number between 0 and 0.15. For example, a value of 0.10 - means 10% of traffic is sent to the staging distribution. - """ - session_stickiness_config: SessionStickinessConfig | None = ... - """ - Session stickiness provides the ability to define multiple requests from - a single viewer as a single session. This prevents the potentially - inconsistent experience of sending some of a given user's requests to - your staging distribution, while others are sent to your primary - distribution. Define the session duration using TTL values. - """ - -@dataclass(kw_only=True) -class CookieNames(_SerdeShape): - """Contains a list of cookie names.""" - - quantity: int - """The number of cookie names in the `Items` list.""" - items: list[str] | None = ... - """A list of cookie names.""" - -@dataclass(kw_only=True) -class CookiePreference(_SerdeShape): - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. - - If you want to include cookies in the cache key, use `CookiesConfig` in - a cache policy. See `CachePolicy`. - - If you want to send cookies to the origin but not include them in the - cache key, use `CookiesConfig` in an origin request policy. See - `OriginRequestPolicy`. - - A complex type that specifies whether you want CloudFront to forward - cookies to the origin and, if so, which ones. For more information about - forwarding cookies to the origin, see [Caching Content Based on - Cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) - in the *Amazon CloudFront Developer Guide*. - """ - - forward: str - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. - - If you want to include cookies in the cache key, use a cache policy. For - more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - in the *Amazon CloudFront Developer Guide*. - - If you want to send cookies to the origin but not include them in the - cache key, use origin request policy. For more information, see - [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - in the *Amazon CloudFront Developer Guide*. - - Specifies which cookies to forward to the origin for this cache - behavior: all, none, or the list of cookies specified in the - `WhitelistedNames` complex type. - - Amazon S3 doesn't process cookies. When the cache behavior is - forwarding requests to an Amazon S3 origin, specify none for the - `Forward` element. - """ - whitelisted_names: CookieNames | None = ... - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. - - If you want to include cookies in the cache key, use a cache policy. For - more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - in the *Amazon CloudFront Developer Guide*. - - If you want to send cookies to the origin but not include them in the - cache key, use an origin request policy. For more information, see - [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - in the *Amazon CloudFront Developer Guide*. - - Required if you specify `whitelist` for the value of `Forward`. A - complex type that specifies how many different cookies you want - CloudFront to forward to the origin for this cache behavior and, if you - want to forward selected cookies, the names of those cookies. - - If you specify `all` or `none` for the value of `Forward`, omit - `WhitelistedNames`. If you change the value of `Forward` from - `whitelist` to `all` or `none` and you don't delete the - `WhitelistedNames` element and its child elements, CloudFront deletes - them automatically. - - For the current limit on the number of cookie names that you can - whitelist for each cache behavior, see [CloudFront - Limits](https://docs.aws.amazon.com/general/latest/gr/xrefaws_service_limits.html#limits_cloudfront) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class CopyDistributionInput(_SerdeShape): - """Dataclass for CopyDistributionInput structure.""" - - primary_distribution_id: str | None = ... - """ - The identifier of the primary distribution whose configuration you are - copying. To get a distribution ID, use `ListDistributions`. - """ - staging: bool | None = ... - """ - The type of distribution that your primary distribution will be copied - to. The only valid value is `True`, indicating that you are copying to a - staging distribution. - """ - if_match: str | None = ... - """ - The version identifier of the primary distribution whose configuration - you are copying. This is the `ETag` value returned in the response to - `GetDistribution` and `GetDistributionConfig`. - """ - caller_reference: str | None = ... - """ - A value that uniquely identifies a request to create a resource. This - helps to prevent CloudFront from creating a duplicate resource if you - accidentally resubmit an identical request. - """ - enabled: bool | None = ... - """ - A Boolean flag to specify the state of the staging distribution when - it's created. When you set this value to `True`, the staging - distribution is enabled. When you set this value to `False`, the staging - distribution is disabled. - - If you omit this field, the default value is `True`. - """ - -@dataclass(kw_only=True) -class CopyDistributionOutput(_SerdeShape): - """Dataclass for CopyDistributionOutput structure.""" - - distribution: Distribution | None = ... - """ - A distribution tells CloudFront where you want content to be delivered - from, and the details about how to track and manage content delivery. - """ - location: str | None = ... - """The URL of the staging distribution.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the staging - distribution. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAnycastIpListInput(_SerdeShape): - """Dataclass for CreateAnycastIpListInput structure.""" - - name: str | None = ... - """Name of the Anycast static IP list.""" - ip_count: int | None = ... - """ - The number of static IP addresses that are allocated to the Anycast - static IP list. Valid values: 21 or 3. - """ - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - ip_address_type: str | None = ... - """ - The IP address type for the Anycast static IP list. You can specify one - of the following options: - - - `ipv4` only - - - `ipv6` only - - - `dualstack` - Allocate a list of both IPv4 and IPv6 addresses - """ - ipam_cidr_configs: list[IpamCidrConfig] | None = ... - """ - A list of IPAM CIDR configurations that specify the IP address ranges - and IPAM pool settings for creating the Anycast static IP list. - """ - -@dataclass(kw_only=True) -class CreateAnycastIpListOutput(_SerdeShape): - """Dataclass for CreateAnycastIpListOutput structure.""" - - anycast_ip_list: AnycastIpList | None = ... - """ - A response structure that includes the version identifier (ETag) and the - created AnycastIpList structure. - """ - e_tag: str | None = ... - """ - The version identifier for the current version of the Anycast static IP - list. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCachePolicyInput(_SerdeShape): - """Dataclass for CreateCachePolicyInput structure.""" - - cache_policy_config: CachePolicyConfig | None = ... - """A cache policy configuration.""" - -@dataclass(kw_only=True) -class CreateCachePolicyOutput(_SerdeShape): - """Dataclass for CreateCachePolicyOutput structure.""" - - cache_policy: CachePolicy | None = ... - """A cache policy.""" - location: str | None = ... - """The fully qualified URI of the cache policy just created.""" - e_tag: str | None = ... - """The current version of the cache policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCloudFrontOriginAccessIdentityInput(_SerdeShape): - """ - The request to create a new origin access identity (OAI). An origin - access identity is a special CloudFront user that you can associate with - Amazon S3 origins, so that you can secure all or just some of your - Amazon S3 content. For more information, see [Restricting Access to - Amazon S3 Content by Using an Origin Access - Identity](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) - in the *Amazon CloudFront Developer Guide*. - """ - - cloud_front_origin_access_identity_config: ( - CloudFrontOriginAccessIdentityConfig | None - ) = ... - """The current configuration information for the identity.""" - -@dataclass(kw_only=True) -class CreateCloudFrontOriginAccessIdentityOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - cloud_front_origin_access_identity: CloudFrontOriginAccessIdentity | None = ... - """The origin access identity's information.""" - location: str | None = ... - """The fully qualified URI of the new origin access identity just created.""" - e_tag: str | None = ... - """The current version of the origin access identity created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateConnectionFunctionInput(_SerdeShape): - """Dataclass for CreateConnectionFunctionInput structure.""" - - name: str | None = ... - """A name for the connection function.""" - connection_function_config: FunctionConfig | None = ... - """Contains configuration information about a CloudFront function.""" - connection_function_code: bytes | None = ... - """The code for the connection function.""" - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - -@dataclass(kw_only=True) -class CreateConnectionFunctionOutput(_SerdeShape): - """Dataclass for CreateConnectionFunctionOutput structure.""" - - connection_function_summary: ConnectionFunctionSummary | None = ... - """The summary for the connection function.""" - location: str | None = ... - """The location of the connection function.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the connection - function. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateConnectionGroupInput(_SerdeShape): - """Dataclass for CreateConnectionGroupInput structure.""" - - name: str | None = ... - """ - The name of the connection group. Enter a friendly identifier that is - unique within your Amazon Web Services account. This name can't be - updated after you create the connection group. - """ - ipv6_enabled: bool | None = ... - """ - Enable IPv6 for the connection group. The default is `true`. For more - information, see [Enable - IPv6](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesEnableIPv6) - in the *Amazon CloudFront Developer Guide*. - """ - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - anycast_ip_list_id: str | None = ... - """The ID of the Anycast static IP list.""" - enabled: bool | None = ... - """Enable the connection group.""" - -@dataclass(kw_only=True) -class CreateConnectionGroupOutput(_SerdeShape): - """Dataclass for CreateConnectionGroupOutput structure.""" - - connection_group: ConnectionGroup | None = ... - """The connection group that you created.""" - e_tag: str | None = ... - """The current version of the connection group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateContinuousDeploymentPolicyInput(_SerdeShape): - """Dataclass for CreateContinuousDeploymentPolicyInput structure.""" - - continuous_deployment_policy_config: ContinuousDeploymentPolicyConfig | None = ... - """Contains the configuration for a continuous deployment policy.""" - -@dataclass(kw_only=True) -class CreateContinuousDeploymentPolicyOutput(_SerdeShape): - """Dataclass for CreateContinuousDeploymentPolicyOutput structure.""" - - continuous_deployment_policy: ContinuousDeploymentPolicy | None = ... - """A continuous deployment policy.""" - location: str | None = ... - """The location of the continuous deployment policy.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the continuous - deployment policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDistributionInput(_SerdeShape): - """The request to create a new distribution.""" - - distribution_config: DistributionConfig | None = ... - """The distribution's configuration information.""" - -@dataclass(kw_only=True) -class CreateDistributionOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - distribution: Distribution | None = ... - """The distribution's information.""" - location: str | None = ... - """The fully qualified URI of the new distribution resource just created.""" - e_tag: str | None = ... - """The current version of the distribution created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDistributionTenantInput(_SerdeShape): - """Dataclass for CreateDistributionTenantInput structure.""" - - distribution_id: str | None = ... - """ - The ID of the multi-tenant distribution to use for creating the - distribution tenant. - """ - name: str | None = ... - """ - The name of the distribution tenant. Enter a friendly identifier that is - unique within your Amazon Web Services account. This name can't be - updated after you create the distribution tenant. - """ - domains: list[DomainItem] | None = ... - """ - The domains associated with the distribution tenant. You must specify at - least one domain in the request. - """ - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - customizations: Customizations | None = ... - """ - Customizations for the distribution tenant. For each distribution - tenant, you can specify the geographic restrictions, and the Amazon - Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are - specific values that you can override or disable from the multi-tenant - distribution that was used to create the distribution tenant. - """ - parameters: list[Parameter] | None = ... - """ - A list of parameter values to add to the resource. A parameter is - specified as a key-value pair. A valid parameter value must exist for - any parameter that is marked as required in the multi-tenant - distribution. - """ - connection_group_id: str | None = ... - """ - The ID of the connection group to associate with the distribution - tenant. - """ - managed_certificate_request: ManagedCertificateRequest | None = ... - """The configuration for the CloudFront managed ACM certificate request.""" - enabled: bool | None = ... - """ - Indicates whether the distribution tenant should be enabled when - created. If the distribution tenant is disabled, the distribution tenant - won't serve traffic. - """ - -@dataclass(kw_only=True) -class CreateDistributionTenantOutput(_SerdeShape): - """Dataclass for CreateDistributionTenantOutput structure.""" - - distribution_tenant: DistributionTenant | None = ... - """The distribution tenant that you created.""" - e_tag: str | None = ... - """The current version of the distribution tenant.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDistributionWithTagsInput(_SerdeShape): - """The request to create a new distribution with tags.""" - - distribution_config_with_tags: DistributionConfigWithTags | None = ... - """The distribution's configuration information.""" - -@dataclass(kw_only=True) -class CreateDistributionWithTagsOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - distribution: Distribution | None = ... - """The distribution's information.""" - location: str | None = ... - """The fully qualified URI of the new distribution resource just created.""" - e_tag: str | None = ... - """The current version of the distribution created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFieldLevelEncryptionConfigInput(_SerdeShape): - """Dataclass for CreateFieldLevelEncryptionConfigInput structure.""" - - field_level_encryption_config: FieldLevelEncryptionConfig | None = ... - """The request to create a new field-level encryption configuration.""" - -@dataclass(kw_only=True) -class CreateFieldLevelEncryptionConfigOutput(_SerdeShape): - """Dataclass for CreateFieldLevelEncryptionConfigOutput structure.""" - - field_level_encryption: FieldLevelEncryption | None = ... - """Returned when you create a new field-level encryption configuration.""" - location: str | None = ... - """The fully qualified URI of the new configuration resource just created.""" - e_tag: str | None = ... - """ - The current version of the field level encryption configuration. For - example: `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFieldLevelEncryptionProfileInput(_SerdeShape): - """Dataclass for CreateFieldLevelEncryptionProfileInput structure.""" - - field_level_encryption_profile_config: ( - FieldLevelEncryptionProfileConfig | None - ) = ... - """The request to create a field-level encryption profile.""" - -@dataclass(kw_only=True) -class CreateFieldLevelEncryptionProfileOutput(_SerdeShape): - """Dataclass for CreateFieldLevelEncryptionProfileOutput structure.""" - - field_level_encryption_profile: FieldLevelEncryptionProfile | None = ... - """Returned when you create a new field-level encryption profile.""" - location: str | None = ... - """The fully qualified URI of the new profile resource just created.""" - e_tag: str | None = ... - """ - The current version of the field level encryption profile. For example: - `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFunctionInput(_SerdeShape): - """Dataclass for CreateFunctionInput structure.""" - - name: str | None = ... - """A name to identify the function.""" - function_config: FunctionConfig | None = ... - """ - Configuration information about the function, including an optional - comment and the function's runtime. - """ - function_code: bytes | None = ... - """ - The function code. For more information about writing a CloudFront - function, see [Writing function code for CloudFront - Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html) - in the *Amazon CloudFront Developer Guide*. - """ - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - -@dataclass(kw_only=True) -class CreateFunctionOutput(_SerdeShape): - """Dataclass for CreateFunctionOutput structure.""" - - function_summary: FunctionSummary | None = ... - """ - Contains configuration information and metadata about a CloudFront - function. - """ - location: str | None = ... - """ - The URL of the CloudFront function. Use the URL to manage the function - with the CloudFront API. - """ - e_tag: str | None = ... - """ - The version identifier for the current version of the CloudFront - function. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInvalidationForDistributionTenantInput(_SerdeShape): - """Dataclass for CreateInvalidationForDistributionTenantInput structure.""" - - id: str | None = ... - """The ID of the distribution tenant.""" - invalidation_batch: InvalidationBatch | None = ... - """An invalidation batch.""" - -@dataclass(kw_only=True) -class CreateInvalidationForDistributionTenantOutput(_SerdeShape): - """Dataclass for CreateInvalidationForDistributionTenantOutput structure.""" - - location: str | None = ... - """The location for the invalidation.""" - invalidation: Invalidation | None = ... - """An invalidation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInvalidationInput(_SerdeShape): - """The request to create an invalidation.""" - - distribution_id: str | None = ... - """The distribution's id.""" - invalidation_batch: InvalidationBatch | None = ... - """The batch information for the invalidation.""" - -@dataclass(kw_only=True) -class CreateInvalidationOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - location: str | None = ... - """ - The fully qualified URI of the distribution and invalidation batch - request, including the `Invalidation ID`. - """ - invalidation: Invalidation | None = ... - """The invalidation's information.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateKeyGroupInput(_SerdeShape): - """Dataclass for CreateKeyGroupInput structure.""" - - key_group_config: KeyGroupConfig | None = ... - """A key group configuration.""" - -@dataclass(kw_only=True) -class CreateKeyGroupOutput(_SerdeShape): - """Dataclass for CreateKeyGroupOutput structure.""" - - key_group: KeyGroup | None = ... - """The key group that was just created.""" - location: str | None = ... - """The URL of the key group.""" - e_tag: str | None = ... - """The identifier for this version of the key group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateKeyValueStoreInput(_SerdeShape): - """Dataclass for CreateKeyValueStoreInput structure.""" - - name: str | None = ... - """ - The name of the key value store. The minimum length is 1 character and - the maximum length is 64 characters. - """ - comment: str | None = ... - """The comment of the key value store.""" - import_source: ImportSource | None = ... - """ - The S3 bucket that provides the source for the import. The source must - be in a valid JSON format. - """ - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - -@dataclass(kw_only=True) -class CreateKeyValueStoreOutput(_SerdeShape): - """Dataclass for CreateKeyValueStoreOutput structure.""" - - key_value_store: KeyValueStore | None = ... - """The resulting key value store.""" - e_tag: str | None = ... - """The `ETag` in the resulting key value store.""" - location: str | None = ... - """The location of the resulting key value store.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateMonitoringSubscriptionInput(_SerdeShape): - """Dataclass for CreateMonitoringSubscriptionInput structure.""" - - distribution_id: str | None = ... - """The ID of the distribution that you are enabling metrics for.""" - monitoring_subscription: MonitoringSubscription | None = ... - """ - A monitoring subscription. This structure contains information about - whether additional CloudWatch metrics are enabled for a given CloudFront - distribution. - """ - -@dataclass(kw_only=True) -class CreateMonitoringSubscriptionOutput(_SerdeShape): - """Dataclass for CreateMonitoringSubscriptionOutput structure.""" - - monitoring_subscription: MonitoringSubscription | None = ... - """ - A monitoring subscription. This structure contains information about - whether additional CloudWatch metrics are enabled for a given CloudFront - distribution. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateOriginAccessControlInput(_SerdeShape): - """Dataclass for CreateOriginAccessControlInput structure.""" - - origin_access_control_config: OriginAccessControlConfig | None = ... - """Contains the origin access control.""" - -@dataclass(kw_only=True) -class CreateOriginAccessControlOutput(_SerdeShape): - """Dataclass for CreateOriginAccessControlOutput structure.""" - - origin_access_control: OriginAccessControl | None = ... - """Contains an origin access control.""" - location: str | None = ... - """The URL of the origin access control.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the origin access - control. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateOriginRequestPolicyInput(_SerdeShape): - """Dataclass for CreateOriginRequestPolicyInput structure.""" - - origin_request_policy_config: OriginRequestPolicyConfig | None = ... - """An origin request policy configuration.""" - -@dataclass(kw_only=True) -class CreateOriginRequestPolicyOutput(_SerdeShape): - """Dataclass for CreateOriginRequestPolicyOutput structure.""" - - origin_request_policy: OriginRequestPolicy | None = ... - """An origin request policy.""" - location: str | None = ... - """The fully qualified URI of the origin request policy just created.""" - e_tag: str | None = ... - """The current version of the origin request policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePublicKeyInput(_SerdeShape): - """Dataclass for CreatePublicKeyInput structure.""" - - public_key_config: PublicKeyConfig | None = ... - """A CloudFront public key configuration.""" - -@dataclass(kw_only=True) -class CreatePublicKeyOutput(_SerdeShape): - """Dataclass for CreatePublicKeyOutput structure.""" - - public_key: PublicKey | None = ... - """The public key.""" - location: str | None = ... - """The URL of the public key.""" - e_tag: str | None = ... - """The identifier for this version of the public key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRealtimeLogConfigInput(_SerdeShape): - """Dataclass for CreateRealtimeLogConfigInput structure.""" - - end_points: list[EndPoint] | None = ... - """ - Contains information about the Amazon Kinesis data stream where you are - sending real-time log data. - """ - fields: list[str] | None = ... - """ - A list of fields to include in each real-time log record. - - For more information about fields, see [Real-time log configuration - fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) - in the *Amazon CloudFront Developer Guide*. - """ - name: str | None = ... - """A unique name to identify this real-time log configuration.""" - sampling_rate: int | None = ... - """ - The sampling rate for this real-time log configuration. You can specify - a whole number between 1 and 100 (inclusive) to determine the percentage - of viewer requests that are represented in the real-time log data. - """ - -@dataclass(kw_only=True) -class CreateRealtimeLogConfigOutput(_SerdeShape): - """Dataclass for CreateRealtimeLogConfigOutput structure.""" - - realtime_log_config: RealtimeLogConfig | None = ... - """A real-time log configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateResponseHeadersPolicyInput(_SerdeShape): - """Dataclass for CreateResponseHeadersPolicyInput structure.""" - - response_headers_policy_config: ResponseHeadersPolicyConfig | None = ... - """ - Contains metadata about the response headers policy, and a set of - configurations that specify the HTTP headers. - """ - -@dataclass(kw_only=True) -class CreateResponseHeadersPolicyOutput(_SerdeShape): - """Dataclass for CreateResponseHeadersPolicyOutput structure.""" - - response_headers_policy: ResponseHeadersPolicy | None = ... - """Contains a response headers policy.""" - location: str | None = ... - """The URL of the response headers policy.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the response headers - policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateStreamingDistributionInput(_SerdeShape): - """The request to create a new streaming distribution.""" - - streaming_distribution_config: StreamingDistributionConfig | None = ... - """The streaming distribution's configuration information.""" - -@dataclass(kw_only=True) -class CreateStreamingDistributionOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - streaming_distribution: StreamingDistribution | None = ... - """The streaming distribution's information.""" - location: str | None = ... - """ - The fully qualified URI of the new streaming distribution resource just - created. - """ - e_tag: str | None = ... - """The current version of the streaming distribution created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateStreamingDistributionWithTagsInput(_SerdeShape): - """The request to create a new streaming distribution with tags.""" - - streaming_distribution_config_with_tags: ( - StreamingDistributionConfigWithTags | None - ) = ... - """The streaming distribution's configuration information.""" - -@dataclass(kw_only=True) -class CreateStreamingDistributionWithTagsOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - streaming_distribution: StreamingDistribution | None = ... - """The streaming distribution's information.""" - location: str | None = ... - """ - The fully qualified URI of the new streaming distribution resource just - created. - """ - e_tag: str | None = ... - """The current version of the distribution created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTrustStoreInput(_SerdeShape): - """Dataclass for CreateTrustStoreInput structure.""" - - name: str | None = ... - """A name for the trust store.""" - ca_certificates_bundle_source: CaCertificatesBundleSource | None = ... - """The CA certificates bundle source for the trust store.""" - use_client_certificate_ocsp_endpoint: bool | None = ... - """ - A Boolean that determines whether to use the CA certificate's OCSP - endpoint to check certificate revocation status. - """ - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - -@dataclass(kw_only=True) -class CreateTrustStoreOutput(_SerdeShape): - """Dataclass for CreateTrustStoreOutput structure.""" - - trust_store: TrustStore | None = ... - """The trust store.""" - e_tag: str | None = ... - """The version identifier for the current version of the trust store.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpcOriginInput(_SerdeShape): - """Dataclass for CreateVpcOriginInput structure.""" - - vpc_origin_endpoint_config: VpcOriginEndpointConfig | None = ... - """The VPC origin endpoint configuration.""" - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - -@dataclass(kw_only=True) -class CreateVpcOriginOutput(_SerdeShape): - """Dataclass for CreateVpcOriginOutput structure.""" - - vpc_origin: VpcOrigin | None = ... - """The VPC origin.""" - location: str | None = ... - """The VPC origin location.""" - e_tag: str | None = ... - """The VPC origin ETag.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CustomErrorResponse(_SerdeShape): - """ - A complex type that controls: - - - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range - with custom error messages before returning the response to the - viewer. - - - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. - - For more information about custom error pages, see [Customizing Error - Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) - in the *Amazon CloudFront Developer Guide*. - """ - - error_code: int - """ - The HTTP status code for which you want to specify a custom error page - and/or a caching duration. - """ - response_page_path: str | None = ... - """ - The path to the custom error page that you want CloudFront to return to - a viewer when your origin returns the HTTP status code specified by - `ErrorCode`, for example, `/4xx-errors/403-forbidden.html`. If you want - to store your objects and your custom error pages in different - locations, your distribution must include a cache behavior for which the - following is true: - - - The value of `PathPattern` matches the path to your custom error - messages. For example, suppose you saved custom error pages for 4xx - errors in an Amazon S3 bucket in a directory named `/4xx-errors`. Your - distribution must include a cache behavior for which the path pattern - routes requests for your custom error pages to that location, for - example, `/4xx-errors/*`. - - - The value of `TargetOriginId` specifies the value of the `ID` element - for the origin that contains your custom error pages. - - If you specify a value for `ResponsePagePath`, you must also specify a - value for `ResponseCode`. - - We recommend that you store custom error pages in an Amazon S3 bucket. - If you store custom error pages on an HTTP server and the server starts - to return 5xx errors, CloudFront can't get the files that you want to - return to viewers because the origin server is unavailable. - """ - response_code: str | None = ... - """ - The HTTP status code that you want CloudFront to return to the viewer - along with the custom error page. There are a variety of reasons that - you might want CloudFront to return a status code different from the - status code that your origin returned to CloudFront, for example: - - - Some Internet devices (some firewalls and corporate proxies, for - example) intercept HTTP 4xx and 5xx and prevent the response from - being returned to the viewer. If you substitute `200`, the response - typically won't be intercepted. - - - If you don't care about distinguishing among different client errors - or server errors, you can specify `400` or `500` as the `ResponseCode` - for all 4xx or 5xx errors. - - - You might want to return a `200` status code (OK) and static website - so your customers don't know that your website is down. - - If you specify a value for `ResponseCode`, you must also specify a value - for `ResponsePagePath`. - """ - error_caching_min_ttl: int | None = ... - """ - The minimum amount of time, in seconds, that you want CloudFront to - cache the HTTP status code specified in `ErrorCode`. When this time - period has elapsed, CloudFront queries your origin to see whether the - problem that caused the error has been resolved and the requested object - is now available. - - For more information, see [Customizing Error - Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class CustomErrorResponses(_SerdeShape): - """ - A complex type that controls: - - - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range - with custom error messages before returning the response to the - viewer. - - - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. - - For more information about custom error pages, see [Customizing Error - Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) - in the *Amazon CloudFront Developer Guide*. - """ - - quantity: int - """ - The number of HTTP status codes for which you want to specify a custom - error page and/or a caching duration. If `Quantity` is `0`, you can omit - `Items`. - """ - items: list[CustomErrorResponse] | None = ... - """ - A complex type that contains a `CustomErrorResponse` element for each - HTTP status code for which you want to specify a custom error page - and/or a caching duration. - """ - -@dataclass(kw_only=True) -class CustomHeaders(_SerdeShape): - """A complex type that contains the list of Custom Headers for each origin.""" - - quantity: int - """The number of custom headers, if any, for this distribution.""" - items: list[OriginCustomHeader] | None = ... - """ - **Optional**: A list that contains one `OriginCustomHeader` element for - each custom header that you want CloudFront to forward to the origin. If - Quantity is `0`, omit `Items`. - """ - -class CustomizationActionType(UnknownEnumMixin, StrEnum): - OVERRIDE = "override" - DISABLE = "disable" - -@dataclass(kw_only=True) -class Customizations(_SerdeShape): - """ - Customizations for the distribution tenant. For each distribution - tenant, you can specify the geographic restrictions, and the Amazon - Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are - specific values that you can override or disable from the multi-tenant - distribution that was used to create the distribution tenant. - """ - - web_acl: WebAclCustomization | None = ... - """The WAF web ACL.""" - certificate: Certificate | None = ... - """The Certificate Manager (ACM) certificate.""" - geo_restrictions: GeoRestrictionCustomization | None = ... - """The geographic restrictions.""" - -@dataclass(kw_only=True) -class CustomOriginConfig(_SerdeShape): - """ - A custom origin. A custom origin is any origin that is *not* an Amazon - S3 bucket, with one exception. An Amazon S3 bucket that is [configured - with static website - hosting](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html) - *is* a custom origin. - """ - - http_port: int - """ - The HTTP port that CloudFront uses to connect to the origin. Specify the - HTTP port that the origin listens on. - """ - https_port: int - """ - The HTTPS port that CloudFront uses to connect to the origin. Specify - the HTTPS port that the origin listens on. - """ - origin_protocol_policy: str - """ - Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect - to the origin. Valid values are: - - - `http-only` -- CloudFront always uses HTTP to connect to the origin. - - - `match-viewer` -- CloudFront connects to the origin using the same - protocol that the viewer used to connect to CloudFront. - - - `https-only` -- CloudFront always uses HTTPS to connect to the origin. - """ - origin_ssl_protocols: OriginSslProtocols | None = ... - """ - Specifies the minimum SSL/TLS protocol that CloudFront uses when - connecting to your origin over HTTPS. Valid values include `SSLv3`, - `TLSv1`, `TLSv1.1`, and `TLSv1.2`. - - For more information, see [Minimum Origin SSL - Protocol](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginSSLProtocols) - in the *Amazon CloudFront Developer Guide*. - """ - origin_read_timeout: int | None = ... - """ - Specifies how long, in seconds, CloudFront waits for a response from the - origin. This is also known as the *origin response timeout*. The minimum - timeout is 1 second, the maximum is 120 seconds, and the default (if you - don't specify otherwise) is 30 seconds. - - For more information, see [Response - timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout) - in the *Amazon CloudFront Developer Guide*. - """ - origin_keepalive_timeout: int | None = ... - """ - Specifies how long, in seconds, CloudFront persists its connection to - the origin. The minimum timeout is 1 second, the maximum is 120 seconds, - and the default (if you don't specify otherwise) is 5 seconds. - - For more information, see [Keep-alive timeout (custom origins - only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout) - in the *Amazon CloudFront Developer Guide*. - """ - ip_address_type: str | None = ... - """ - Specifies which IP protocol CloudFront uses when connecting to your - origin. If your origin uses both IPv4 and IPv6 protocols, you can choose - `dualstack` to help optimize reliability. - """ - origin_mtls_config: OriginMtlsConfig | None = ... - """ - Configures mutual TLS authentication between CloudFront and your origin - server. - """ - -@dataclass(kw_only=True) -class DefaultCacheBehavior(_SerdeShape): - """ - A complex type that describes the default cache behavior if you don't - specify a `CacheBehavior` element or if request URLs don't match any of - the values of `PathPattern` in `CacheBehavior` elements. You must create - exactly one default cache behavior. - - Warning: - If your minimum TTL is greater than 0, CloudFront will cache content for - at least the duration specified in the cache policy's minimum TTL, even - if the `Cache-Control: no-cache`, `no-store`, or `private` directives - are present in the origin headers. - """ - - target_origin_id: str - """ - The value of `ID` for the origin that you want CloudFront to route - requests to when they use the default cache behavior. - """ - trusted_signers: TrustedSigners | None = ... - """ - Warning: - We recommend using `TrustedKeyGroups` instead of `TrustedSigners`. - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - A list of Amazon Web Services account IDs whose public keys CloudFront - can use to validate signed URLs or signed cookies. - - When a cache behavior contains trusted signers, CloudFront requires - signed URLs or signed cookies for all requests that match the cache - behavior. The URLs or cookies must be signed with the private key of a - CloudFront key pair in a trusted signer's Amazon Web Services account. - The signed URL or cookie contains information about which public key - CloudFront should use to verify the signature. For more information, see - [Serving private - content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) - in the *Amazon CloudFront Developer Guide*. - """ - trusted_key_groups: TrustedKeyGroups | None = ... - """ - A list of key groups that CloudFront can use to validate signed URLs or - signed cookies. - - When a cache behavior contains trusted key groups, CloudFront requires - signed URLs or signed cookies for all requests that match the cache - behavior. The URLs or cookies must be signed with a private key whose - corresponding public key is in the key group. The signed URL or cookie - contains information about which public key CloudFront should use to - verify the signature. For more information, see [Serving private - content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) - in the *Amazon CloudFront Developer Guide*. - """ - viewer_protocol_policy: str - """ - The protocol that viewers can use to access the files in the origin - specified by `TargetOriginId` when a request matches the path pattern in - `PathPattern`. You can specify the following options: - - - `allow-all`: Viewers can use HTTP or HTTPS. - - - `redirect-to-https`: If a viewer submits an HTTP request, CloudFront - returns an HTTP status code of 301 (Moved Permanently) to the viewer - along with the HTTPS URL. The viewer then resubmits the request using - the new URL. - - - `https-only`: If a viewer sends an HTTP request, CloudFront returns an - HTTP status code of 403 (Forbidden). - - For more information about requiring the HTTPS protocol, see [Requiring - HTTPS Between Viewers and - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) - in the *Amazon CloudFront Developer Guide*. - - Note: - The only way to guarantee that viewers retrieve an object that was - fetched from the origin using HTTPS is never to use any other protocol - to fetch the object. If you have recently changed from HTTP to HTTPS, we - recommend that you clear your objects' cache because cached objects are - protocol agnostic. That means that an edge location will return an - object from the cache regardless of whether the current request protocol - matches the protocol used previously. For more information, see - [Managing Cache - Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - """ - allowed_methods: AllowedMethods | None = ... - """ - A complex type that controls which HTTP methods CloudFront processes and - forwards to your Amazon S3 bucket or your custom origin. There are three - choices: - - - CloudFront forwards only `GET` and `HEAD` requests. - - - CloudFront forwards only `GET`, `HEAD`, and `OPTIONS` requests. - - - CloudFront forwards `GET, HEAD, OPTIONS, PUT, PATCH, POST`, and - `DELETE` requests. - - If you pick the third choice, you may need to restrict access to your - Amazon S3 bucket or to your custom origin so users can't perform - operations that you don't want them to. For example, you might not want - users to have permissions to delete objects from your origin. - """ - smooth_streaming: bool | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - Indicates whether you want to distribute media files in the Microsoft - Smooth Streaming format using the origin that is associated with this - cache behavior. If so, specify `true`; if not, specify `false`. If you - specify `true` for `SmoothStreaming`, you can still distribute other - content using this cache behavior if the content matches the value of - `PathPattern`. - """ - compress: bool | None = ... - """ - Whether you want CloudFront to automatically compress certain files for - this cache behavior. If so, specify `true`; if not, specify `false`. For - more information, see [Serving Compressed - Files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html) - in the *Amazon CloudFront Developer Guide*. - """ - lambda_function_associations: LambdaFunctionAssociations | None = ... - """ - A complex type that contains zero or more Lambda@Edge function - associations for a cache behavior. - """ - function_associations: FunctionAssociations | None = ... - """ - A list of CloudFront functions that are associated with this cache - behavior. Your functions must be published to the `LIVE` stage to - associate them with a cache behavior. - """ - field_level_encryption_id: str | None = ... - """ - The value of `ID` for the field-level encryption configuration that you - want CloudFront to use for encrypting specific fields of data for the - default cache behavior. - """ - realtime_log_config_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the real-time log configuration that - is attached to this cache behavior. For more information, see [Real-time - logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) - in the *Amazon CloudFront Developer Guide*. - """ - cache_policy_id: str | None = ... - """ - The unique identifier of the cache policy that is attached to the - default cache behavior. For more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - A `DefaultCacheBehavior` must include either a `CachePolicyId` or - `ForwardedValues`. We recommend that you use a `CachePolicyId`. - """ - origin_request_policy_id: str | None = ... - """ - The unique identifier of the origin request policy that is attached to - the default cache behavior. For more information, see [Creating origin - request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - or [Using the managed origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) - in the *Amazon CloudFront Developer Guide*. - """ - response_headers_policy_id: str | None = ... - """The identifier for a response headers policy.""" - grpc_config: GrpcConfig | None = ... - """The gRPC configuration for your cache behavior.""" - forwarded_values: ForwardedValues | None = ... - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. For more information, see - [Working with - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html) - in the *Amazon CloudFront Developer Guide*. - - If you want to include values in the cache key, use a cache policy. For - more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - If you want to send values to the origin but not include them in the - cache key, use an origin request policy. For more information, see - [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - or [Using the managed origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) - in the *Amazon CloudFront Developer Guide*. - - A `DefaultCacheBehavior` must include either a `CachePolicyId` or - `ForwardedValues`. We recommend that you use a `CachePolicyId`. - - A complex type that specifies how CloudFront handles query strings, - cookies, and HTTP headers. - """ - min_ttl: int | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - This field is deprecated. We recommend that you use the `MinTTL` field - in a cache policy instead of this field. For more information, see - [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - The minimum amount of time that you want objects to stay in CloudFront - caches before CloudFront forwards another request to your origin to - determine whether the object has been updated. For more information, see - [Managing How Long Content Stays in an Edge Cache - (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - - You must specify `0` for `MinTTL` if you configure CloudFront to forward - all headers to your origin (under `Headers`, if you specify `1` for - `Quantity` and `*` for `Name`). - """ - default_ttl: int | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - This field is deprecated. We recommend that you use the `DefaultTTL` - field in a cache policy instead of this field. For more information, see - [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - The default amount of time that you want objects to stay in CloudFront - caches before CloudFront forwards another request to your origin to - determine whether the object has been updated. The value that you - specify applies only when your origin does not add HTTP headers such as - `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` to - objects. For more information, see [Managing How Long Content Stays in - an Edge Cache - (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - """ - max_ttl: int | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - This field is deprecated. We recommend that you use the `MaxTTL` field - in a cache policy instead of this field. For more information, see - [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - or [Using the managed cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) - in the *Amazon CloudFront Developer Guide*. - - The maximum amount of time that you want objects to stay in CloudFront - caches before CloudFront forwards another request to your origin to - determine whether the object has been updated. The value that you - specify applies only when your origin adds HTTP headers such as - `Cache-Control max-age`, `Cache-Control s-maxage`, and `Expires` to - objects. For more information, see [Managing How Long Content Stays in - an Edge Cache - (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class DeleteAnycastIpListInput(_SerdeShape): - """Dataclass for DeleteAnycastIpListInput structure.""" - - id: str | None = ... - """The ID of the Anycast static IP list.""" - if_match: str | None = ... - """ - The current version (`ETag` value) of the Anycast static IP list that - you are deleting. - """ - -@dataclass(kw_only=True) -class DeleteAnycastIpListOutput(_SerdeShape): - """Dataclass for DeleteAnycastIpListOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCachePolicyInput(_SerdeShape): - """Dataclass for DeleteCachePolicyInput structure.""" - - id: str | None = ... - """ - The unique identifier for the cache policy that you are deleting. To get - the identifier, you can use `ListCachePolicies`. - """ - if_match: str | None = ... - """ - The version of the cache policy that you are deleting. The version is - the cache policy's `ETag` value, which you can get using - `ListCachePolicies`, `GetCachePolicy`, or `GetCachePolicyConfig`. - """ - -@dataclass(kw_only=True) -class DeleteCachePolicyOutput(_SerdeShape): - """Dataclass for DeleteCachePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCloudFrontOriginAccessIdentityInput(_SerdeShape): - """Deletes a origin access identity.""" - - id: str | None = ... - """The origin access identity's ID.""" - if_match: str | None = ... - """ - The value of the `ETag` header you received from a previous `GET` or - `PUT` request. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class DeleteCloudFrontOriginAccessIdentityOutput(_SerdeShape): - """Dataclass for DeleteCloudFrontOriginAccessIdentityOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteConnectionFunctionInput(_SerdeShape): - """Dataclass for DeleteConnectionFunctionInput structure.""" - - id: str | None = ... - """The connection function's ID.""" - if_match: str | None = ... - """ - The current version (`ETag` value) of the connection function you are - deleting. - """ - -@dataclass(kw_only=True) -class DeleteConnectionFunctionOutput(_SerdeShape): - """Dataclass for DeleteConnectionFunctionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteConnectionGroupInput(_SerdeShape): - """Dataclass for DeleteConnectionGroupInput structure.""" - - id: str | None = ... - """The ID of the connection group to delete.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - connection group to delete. - """ - -@dataclass(kw_only=True) -class DeleteConnectionGroupOutput(_SerdeShape): - """Dataclass for DeleteConnectionGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteContinuousDeploymentPolicyInput(_SerdeShape): - """Dataclass for DeleteContinuousDeploymentPolicyInput structure.""" - - id: str | None = ... - """ - The identifier of the continuous deployment policy that you are - deleting. - """ - if_match: str | None = ... - """ - The current version (`ETag` value) of the continuous deployment policy - that you are deleting. - """ - -@dataclass(kw_only=True) -class DeleteContinuousDeploymentPolicyOutput(_SerdeShape): - """Dataclass for DeleteContinuousDeploymentPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDistributionInput(_SerdeShape): - """ - This action deletes a web distribution. To delete a web distribution - using the CloudFront API, perform the following steps. - - **To delete a web distribution using the CloudFront API:** - - 1. Disable the web distribution - - 2. Submit a `GET Distribution Config` request to get the current - configuration and the `Etag` header for the distribution. - - 3. Update the XML document that was returned in the response to your - `GET Distribution Config` request to change the value of `Enabled` - to `false`. - - 4. Submit a `PUT Distribution Config` request to update the - configuration for your distribution. In the request body, include - the XML document that you updated in Step 3. Set the value of the - HTTP `If-Match` header to the value of the `ETag` header that - CloudFront returned when you submitted the `GET Distribution Config` - request in Step 2. - - 5. Review the response to the `PUT Distribution Config` request to - confirm that the distribution was successfully disabled. - - 6. Submit a `GET Distribution` request to confirm that your changes - have propagated. When propagation is complete, the value of `Status` - is `Deployed`. - - 7. Submit a `DELETE Distribution` request. Set the value of the HTTP - `If-Match` header to the value of the `ETag` header that CloudFront - returned when you submitted the `GET Distribution Config` request in - Step 6. - - 8. Review the response to your `DELETE Distribution` request to confirm - that the distribution was successfully deleted. - - For information about deleting a distribution using the CloudFront - console, see [Deleting a - Distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html) - in the *Amazon CloudFront Developer Guide*. - """ - - id: str | None = ... - """The distribution ID.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when you disabled the - distribution. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class DeleteDistributionOutput(_SerdeShape): - """Dataclass for DeleteDistributionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDistributionTenantInput(_SerdeShape): - """Dataclass for DeleteDistributionTenantInput structure.""" - - id: str | None = ... - """The ID of the distribution tenant to delete.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - distribution tenant. This value is returned in the response of the - `GetDistributionTenant` API operation. - """ - -@dataclass(kw_only=True) -class DeleteDistributionTenantOutput(_SerdeShape): - """Dataclass for DeleteDistributionTenantOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFieldLevelEncryptionConfigInput(_SerdeShape): - """Dataclass for DeleteFieldLevelEncryptionConfigInput structure.""" - - id: str | None = ... - """The ID of the configuration you want to delete from CloudFront.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - configuration identity to delete. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class DeleteFieldLevelEncryptionConfigOutput(_SerdeShape): - """Dataclass for DeleteFieldLevelEncryptionConfigOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFieldLevelEncryptionProfileInput(_SerdeShape): - """Dataclass for DeleteFieldLevelEncryptionProfileInput structure.""" - - id: str | None = ... - """Request the ID of the profile you want to delete from CloudFront.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - profile to delete. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class DeleteFieldLevelEncryptionProfileOutput(_SerdeShape): - """Dataclass for DeleteFieldLevelEncryptionProfileOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFunctionInput(_SerdeShape): - """Dataclass for DeleteFunctionInput structure.""" - - name: str | None = ... - """The name of the function that you are deleting.""" - if_match: str | None = ... - """ - The current version (`ETag` value) of the function that you are - deleting, which you can get using `DescribeFunction`. - """ - -@dataclass(kw_only=True) -class DeleteFunctionOutput(_SerdeShape): - """Dataclass for DeleteFunctionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteKeyGroupInput(_SerdeShape): - """Dataclass for DeleteKeyGroupInput structure.""" - - id: str | None = ... - """ - The identifier of the key group that you are deleting. To get the - identifier, use `ListKeyGroups`. - """ - if_match: str | None = ... - """ - The version of the key group that you are deleting. The version is the - key group's `ETag` value. To get the `ETag`, use `GetKeyGroup` or - `GetKeyGroupConfig`. - """ - -@dataclass(kw_only=True) -class DeleteKeyGroupOutput(_SerdeShape): - """Dataclass for DeleteKeyGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteKeyValueStoreInput(_SerdeShape): - """Dataclass for DeleteKeyValueStoreInput structure.""" - - name: str | None = ... - """The name of the key value store.""" - if_match: str | None = ... - """The key value store to delete, if a match occurs.""" - -@dataclass(kw_only=True) -class DeleteKeyValueStoreOutput(_SerdeShape): - """Dataclass for DeleteKeyValueStoreOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteMonitoringSubscriptionInput(_SerdeShape): - """Dataclass for DeleteMonitoringSubscriptionInput structure.""" - - distribution_id: str | None = ... - """The ID of the distribution that you are disabling metrics for.""" - -@dataclass(kw_only=True) -class DeleteMonitoringSubscriptionOutput(_SerdeShape): - """Dataclass for DeleteMonitoringSubscriptionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteOriginAccessControlInput(_SerdeShape): - """Dataclass for DeleteOriginAccessControlInput structure.""" - - id: str | None = ... - """ - The unique identifier of the origin access control that you are - deleting. - """ - if_match: str | None = ... - """ - The current version (`ETag` value) of the origin access control that you - are deleting. - """ - -@dataclass(kw_only=True) -class DeleteOriginAccessControlOutput(_SerdeShape): - """Dataclass for DeleteOriginAccessControlOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteOriginRequestPolicyInput(_SerdeShape): - """Dataclass for DeleteOriginRequestPolicyInput structure.""" - - id: str | None = ... - """ - The unique identifier for the origin request policy that you are - deleting. To get the identifier, you can use - `ListOriginRequestPolicies`. - """ - if_match: str | None = ... - """ - The version of the origin request policy that you are deleting. The - version is the origin request policy's `ETag` value, which you can get - using `ListOriginRequestPolicies`, `GetOriginRequestPolicy`, or - `GetOriginRequestPolicyConfig`. - """ - -@dataclass(kw_only=True) -class DeleteOriginRequestPolicyOutput(_SerdeShape): - """Dataclass for DeleteOriginRequestPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePublicKeyInput(_SerdeShape): - """Dataclass for DeletePublicKeyInput structure.""" - - id: str | None = ... - """The ID of the public key you want to remove from CloudFront.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - public key identity to delete. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class DeletePublicKeyOutput(_SerdeShape): - """Dataclass for DeletePublicKeyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRealtimeLogConfigInput(_SerdeShape): - """Dataclass for DeleteRealtimeLogConfigInput structure.""" - - name: str | None = ... - """The name of the real-time log configuration to delete.""" - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the real-time log configuration to - delete. - """ - -@dataclass(kw_only=True) -class DeleteRealtimeLogConfigOutput(_SerdeShape): - """Dataclass for DeleteRealtimeLogConfigOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyInput(_SerdeShape): - """Dataclass for DeleteResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudFront resource for which the - resource policy should be deleted. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyOutput(_SerdeShape): - """Dataclass for DeleteResourcePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteResponseHeadersPolicyInput(_SerdeShape): - """Dataclass for DeleteResponseHeadersPolicyInput structure.""" - - id: str | None = ... - """ - The identifier for the response headers policy that you are deleting. - - To get the identifier, you can use `ListResponseHeadersPolicies`. - """ - if_match: str | None = ... - """ - The version of the response headers policy that you are deleting. - - The version is the response headers policy's `ETag` value, which you - can get using `ListResponseHeadersPolicies`, `GetResponseHeadersPolicy`, - or `GetResponseHeadersPolicyConfig`. - """ - -@dataclass(kw_only=True) -class DeleteResponseHeadersPolicyOutput(_SerdeShape): - """Dataclass for DeleteResponseHeadersPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteStreamingDistributionInput(_SerdeShape): - """The request to delete a streaming distribution.""" - - id: str | None = ... - """The distribution ID.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when you disabled the - streaming distribution. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class DeleteStreamingDistributionOutput(_SerdeShape): - """Dataclass for DeleteStreamingDistributionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTrustStoreInput(_SerdeShape): - """Dataclass for DeleteTrustStoreInput structure.""" - - id: str | None = ... - """The trust store's ID.""" - if_match: str | None = ... - """The current version (`ETag` value) of the trust store you are deleting.""" - -@dataclass(kw_only=True) -class DeleteTrustStoreOutput(_SerdeShape): - """Dataclass for DeleteTrustStoreOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcOriginInput(_SerdeShape): - """Dataclass for DeleteVpcOriginInput structure.""" - - id: str | None = ... - """The VPC origin ID.""" - if_match: str | None = ... - """ - The version identifier of the VPC origin to delete. This is the `ETag` - value returned in the response to GetVpcOrigin. - """ - -@dataclass(kw_only=True) -class DeleteVpcOriginOutput(_SerdeShape): - """Dataclass for DeleteVpcOriginOutput structure.""" - - vpc_origin: VpcOrigin | None = ... - """The VPC origin.""" - e_tag: str | None = ... - """The VPC origin ETag.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeConnectionFunctionInput(_SerdeShape): - """Dataclass for DescribeConnectionFunctionInput structure.""" - - identifier: str | None = ... - """The connection function's identifier.""" - stage: str | None = ... - """The connection function's stage.""" - -@dataclass(kw_only=True) -class DescribeConnectionFunctionOutput(_SerdeShape): - """Dataclass for DescribeConnectionFunctionOutput structure.""" - - connection_function_summary: ConnectionFunctionSummary | None = ... - """The connection function's summary.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the connection - function. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeFunctionInput(_SerdeShape): - """Dataclass for DescribeFunctionInput structure.""" - - name: str | None = ... - """The name of the function that you are getting information about.""" - stage: str | None = ... - """The function's stage, either `DEVELOPMENT` or `LIVE`.""" - -@dataclass(kw_only=True) -class DescribeFunctionOutput(_SerdeShape): - """Dataclass for DescribeFunctionOutput structure.""" - - function_summary: FunctionSummary | None = ... - """ - Contains configuration information and metadata about a CloudFront - function. - """ - e_tag: str | None = ... - """ - The version identifier for the current version of the CloudFront - function. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeKeyValueStoreInput(_SerdeShape): - """Dataclass for DescribeKeyValueStoreInput structure.""" - - name: str | None = ... - """The name of the key value store.""" - -@dataclass(kw_only=True) -class DescribeKeyValueStoreOutput(_SerdeShape): - """Dataclass for DescribeKeyValueStoreOutput structure.""" - - key_value_store: KeyValueStore | None = ... - """The resulting key value store.""" - e_tag: str | None = ... - """The `ETag` of the resulting key value store.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateDistributionTenantWebACLInput(_SerdeShape): - """Dataclass for DisassociateDistributionTenantWebACLInput structure.""" - - id: str | None = ... - """The ID of the distribution tenant.""" - if_match: str | None = ... - """ - The current version of the distribution tenant that you're - disassociating from the WAF web ACL. This is the `ETag` value returned - in the response to the `GetDistributionTenant` API operation. - """ - -@dataclass(kw_only=True) -class DisassociateDistributionTenantWebACLOutput(_SerdeShape): - """Dataclass for DisassociateDistributionTenantWebACLOutput structure.""" - - id: str | None = ... - """The ID of the distribution tenant.""" - e_tag: str | None = ... - """The current version of the distribution tenant.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateDistributionWebACLInput(_SerdeShape): - """Dataclass for DisassociateDistributionWebACLInput structure.""" - - id: str | None = ... - """The ID of the distribution.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - distribution that you're disassociating from the WAF web ACL. - """ - -@dataclass(kw_only=True) -class DisassociateDistributionWebACLOutput(_SerdeShape): - """Dataclass for DisassociateDistributionWebACLOutput structure.""" - - id: str | None = ... - """The ID of the distribution.""" - e_tag: str | None = ... - """The current version of the distribution.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Distribution(_SerdeShape): - """ - A distribution tells CloudFront where you want content to be delivered - from, and the details about how to track and manage content delivery. - """ - - id: str - """The distribution's identifier. For example: `E1U5RQF7T870K0`.""" - arn: str - """The distribution's Amazon Resource Name (ARN).""" - status: str - """ - The distribution's status. When the status is `Deployed`, the - distribution's information is fully propagated to all CloudFront edge - locations. - """ - last_modified_time: datetime - """The date and time when the distribution was last modified.""" - in_progress_invalidation_batches: int - """The number of invalidation batches currently in progress.""" - domain_name: str - """ - The distribution's CloudFront domain name. For example: - `d111111abcdef8.cloudfront.net`. - """ - active_trusted_signers: ActiveTrustedSigners | None = ... - """ - Warning: - We recommend using `TrustedKeyGroups` instead of `TrustedSigners`. - - This field contains a list of Amazon Web Services account IDs and the - active CloudFront key pairs in each account that CloudFront can use to - verify the signatures of signed URLs or signed cookies. - """ - active_trusted_key_groups: ActiveTrustedKeyGroups | None = ... - """ - This field contains a list of key groups and the public keys in each key - group that CloudFront can use to verify the signatures of signed URLs or - signed cookies. - """ - distribution_config: DistributionConfig - """The distribution's configuration.""" - alias_icp_recordals: list[AliasICPRecordal] | None = ... - """ - Amazon Web Services services in China customers must file for an - Internet Content Provider (ICP) recordal if they want to serve content - publicly on an alternate domain name, also known as a CNAME, that - they've added to CloudFront. AliasICPRecordal provides the ICP recordal - status for CNAMEs associated with distributions. - - For more information about ICP recordals, see [Signup, Accounts, and - Credentials](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) - in *Getting Started with Amazon Web Services services in China*. - """ - -@dataclass(kw_only=True) -class DistributionAlreadyExists(ServiceError, _SerdeShape): - """ - The caller reference you attempted to create the distribution with is - associated with another distribution. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DistributionConfig(_SerdeShape): - """A distribution configuration.""" - - caller_reference: str - """ - A unique value (for example, a date-time stamp) that ensures that the - request can't be replayed. - - If the value of `CallerReference` is new (regardless of the content of - the `DistributionConfig` object), CloudFront creates a new distribution. - - If `CallerReference` is a value that you already sent in a previous - request to create a distribution, CloudFront returns a - `DistributionAlreadyExists` error. - """ - aliases: Aliases | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - A complex type that contains information about CNAMEs (alternate domain - names), if any, for this distribution. - """ - default_root_object: str | None = ... - """ - When a viewer requests the root URL for your distribution, the default - root object is the object that you want CloudFront to request from your - origin. For example, if your root URL is `https://www.example.com`, you - can specify CloudFront to return the `index.html` file as the default - root object. You can specify a default root object so that viewers see a - specific file or object, instead of another object in your distribution - (for example, `https://www.example.com/product-description.html`). A - default root object avoids exposing the contents of your distribution. - - You can specify the object name or a path to the object name (for - example, `index.html` or `exampleFolderName/index.html`). Your string - can't begin with a forward slash (`/`). Only specify the object name or - the path to the object. - - If you don't want to specify a default root object when you create a - distribution, include an empty `DefaultRootObject` element. - - To delete the default root object from an existing distribution, update - the distribution configuration and include an empty `DefaultRootObject` - element. - - To replace the default root object, update the distribution - configuration and specify the new object. - - For more information about the default root object, see [Specify a - default root - object](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html) - in the *Amazon CloudFront Developer Guide*. - """ - origins: Origins - """ - A complex type that contains information about origins for this - distribution. - """ - origin_groups: OriginGroups | None = ... - """ - A complex type that contains information about origin groups for this - distribution. - """ - default_cache_behavior: DefaultCacheBehavior - """ - A complex type that describes the default cache behavior if you don't - specify a `CacheBehavior` element or if files don't match any of the - values of `PathPattern` in `CacheBehavior` elements. You must create - exactly one default cache behavior. - """ - cache_behaviors: CacheBehaviors | None = ... - """A complex type that contains zero or more `CacheBehavior` elements.""" - custom_error_responses: CustomErrorResponses | None = ... - """ - A complex type that controls the following: - - - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range - with custom error messages before returning the response to the - viewer. - - - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. - - For more information about custom error pages, see [Customizing Error - Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) - in the *Amazon CloudFront Developer Guide*. - """ - comment: str - """ - A comment to describe the distribution. The comment cannot be longer - than 128 characters. - """ - logging: LoggingConfig | None = ... - """ - A complex type that controls whether access logs are written for the - distribution. - - For more information about logging, see [Access - Logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html) - in the *Amazon CloudFront Developer Guide*. - """ - price_class: str | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - The price class that corresponds with the maximum price that you want to - pay for CloudFront service. If you specify `PriceClass_All`, CloudFront - responds to requests for your objects from all CloudFront edge - locations. - - If you specify a price class other than `PriceClass_All`, CloudFront - serves your objects from the CloudFront edge location that has the - lowest latency among the edge locations in your price class. Viewers who - are in or near regions that are excluded from your specified price class - may encounter slower performance. - - For more information about price classes, see [Choosing the Price Class - for a CloudFront - Distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html) - in the *Amazon CloudFront Developer Guide*. For information about - CloudFront pricing, including how price classes (such as Price Class - 100) map to CloudFront regions, see [Amazon CloudFront - Pricing](http://aws.amazon.com/cloudfront/pricing/). - """ - enabled: bool - """From this field, you can enable or disable the selected distribution.""" - viewer_certificate: ViewerCertificate | None = ... - """ - A complex type that determines the distribution's SSL/TLS configuration - for communicating with viewers. - """ - restrictions: Restrictions | None = ... - """ - A complex type that identifies ways in which you want to restrict - distribution of your content. - """ - web_acl_id: str | None = ... - """ - Note: - Multi-tenant distributions only support WAF V2 web ACLs. - - A unique identifier that specifies the WAF web ACL, if any, to associate - with this distribution. To specify a web ACL created using the latest - version of WAF, use the ACL ARN, for example - `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. - To specify a web ACL created using WAF Classic, use the ACL ID, for - example `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. - - WAF is a web application firewall that lets you monitor the HTTP and - HTTPS requests that are forwarded to CloudFront, and lets you control - access to your content. Based on conditions that you specify, such as - the IP addresses that requests originate from or the values of query - strings, CloudFront responds to requests either with the requested - content or with an HTTP 403 status code (Forbidden). You can also - configure CloudFront to return a custom error page when a request is - blocked. For more information about WAF, see the [WAF Developer - Guide](https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html). - """ - http_version: str | None = ... - """ - (Optional) Specify the HTTP version(s) that you want viewers to use to - communicate with CloudFront. The default value for new web distributions - is `http2`. Viewers that don't support HTTP/2 automatically use an - earlier HTTP version. - - For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 - or later, and must support Server Name Indication (SNI). - - For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 - and Server Name Indication (SNI). CloudFront supports HTTP/3 connection - migration to allow the viewer to switch networks without losing - connection. For more information about connection migration, see - [Connection - Migration](https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration) - at RFC 9000. For more information about supported TLSv1.3 ciphers, see - [Supported protocols and ciphers between viewers and - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html). - """ - is_ipv6_enabled: bool | None = ... - """ - Note: - To use this field for a multi-tenant distribution, use a connection - group instead. For more information, see - [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html). - - If you want CloudFront to respond to IPv6 DNS requests with an IPv6 - address for your distribution, specify `true`. If you specify `false`, - CloudFront responds to IPv6 DNS requests with the DNS response code - `NOERROR` and with no IP addresses. This allows viewers to submit a - second request, for an IPv4 address for your distribution. - - In general, you should enable IPv6 if you have users on IPv6 networks - who want to access your content. However, if you're using signed URLs - or signed cookies to restrict access to your content, and if you're - using a custom policy that includes the `IpAddress` parameter to - restrict the IP addresses that can access your content, don't enable - IPv6. If you want to restrict access to some content by IP address and - not restrict access to other content (or restrict access but not by IP - address), you can create two distributions. For more information, see - [Creating a Signed URL Using a Custom - Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html) - in the *Amazon CloudFront Developer Guide*. - - If you're using an Route 53 Amazon Web Services Integration alias - resource record set to route traffic to your CloudFront distribution, - you need to create a second alias resource record set when both of the - following are true: - - - You enable IPv6 for the distribution - - - You're using alternate domain names in the URLs for your objects - - For more information, see [Routing Traffic to an Amazon CloudFront Web - Distribution by Using Your Domain - Name](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html) - in the *Route 53 Amazon Web Services Integration Developer Guide*. - - If you created a CNAME resource record set, either with Route 53 Amazon - Web Services Integration or with another DNS service, you don't need to - make any changes. A CNAME record will route traffic to your distribution - regardless of the IP address format of the viewer request. - """ - continuous_deployment_policy_id: str | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - The identifier of a continuous deployment policy. For more information, - see `CreateContinuousDeploymentPolicy`. - """ - staging: bool | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - A Boolean that indicates whether this is a staging distribution. When - this value is `true`, this is a staging distribution. When this value is - `false`, this is not a staging distribution. - """ - anycast_ip_list_id: str | None = ... - """ - Note: - To use this field for a multi-tenant distribution, use a connection - group instead. For more information, see - [ConnectionGroup](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html). - - ID of the Anycast static IP list that is associated with the - distribution. - """ - tenant_config: TenantConfig | None = ... - """ - Note: - This field only supports multi-tenant distributions. You can't specify - this field for standard distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - A distribution tenant configuration. - """ - connection_mode: str | None = ... - """ - This field specifies whether the connection mode is through a standard - distribution (direct) or a multi-tenant distribution with distribution - tenants (tenant-only). - """ - viewer_mtls_config: ViewerMtlsConfig | None = ... - """The distribution's viewer mTLS configuration.""" - connection_function_association: ConnectionFunctionAssociation | None = ... - """The distribution's connection function association.""" - cache_tag_config: CacheTagConfig | None = ... - """ - Configuration for cache tag extraction from origin responses. When - specified, CloudFront reads the header named in `HeaderName` from origin - responses and stores the comma-separated values as cache tags on the - object. - - Distributions without `CacheTagConfig` do not extract tags. When - `CacheTagConfig` is removed from a distribution via - `UpdateDistribution`, CloudFront stops extracting tags from origin - responses. - - Note: - Changing the `HeaderName` on an existing distribution does not - retroactively affect previously cached objects. Tag-based invalidations - will not apply to objects already cached using a previous header. To - ensure tag invalidations function after updating the header name, use - path-based invalidations to recache all objects that use cache tags. - """ - -@dataclass(kw_only=True) -class DistributionConfigWithTags(_SerdeShape): - """ - A distribution Configuration and a list of tags to be associated with - the distribution. - """ - - distribution_config: DistributionConfig - """A distribution configuration.""" - tags: Tags - """A complex type that contains zero or more `Tag` elements.""" - -@dataclass(kw_only=True) -class DistributionIdList(_SerdeShape): - """A list of distribution IDs.""" - - marker: str - """The value provided in the `Marker` request field.""" - next_marker: str | None = ... - """ - Contains the value that you should use in the `Marker` field of a - subsequent request to continue listing distribution IDs where you left - off. - """ - max_items: int - """The maximum number of distribution IDs requested.""" - is_truncated: bool - """ - A flag that indicates whether more distribution IDs remain to be listed. - If your results were truncated, you can make a subsequent request using - the `Marker` request field to retrieve more distribution IDs in the - list. - """ - quantity: int - """The total number of distribution IDs returned in the response.""" - items: list[str] | None = ... - """Contains the distribution IDs in the list.""" - -@dataclass(kw_only=True) -class DistributionIdOwner(_SerdeShape): - """ - A structure that pairs a CloudFront distribution ID with its owning - Amazon Web Services account ID. - """ - - distribution_id: str - """The ID of the distribution.""" - owner_account_id: str - """The ID of the Amazon Web Services account that owns the distribution.""" - -@dataclass(kw_only=True) -class DistributionIdOwnerList(_SerdeShape): - """ - The list of distribution IDs and the Amazon Web Services accounts that - they belong to. - """ - - marker: str - """ - Use this field when paginating results to indicate where to begin in - your list of `DistributionIdOwner` objects. The response includes - distributions in the list that occur after the marker. To get the next - page of the list, set this field's value to the value of `NextMarker` - from the current page's response. - """ - next_marker: str | None = ... - """ - A token used for pagination of results returned in the response. You can - use the token from the previous request to define where the current - request should begin. - """ - max_items: int - """The maximum number of `DistributionIdOwner` objects to return.""" - is_truncated: bool - """ - A flag that indicates whether more `DistributionIdOwner` objects remain - to be listed. If your results were truncated, you can make a follow-up - pagination request using the `Marker` request parameter to retrieve more - results in the list. - """ - quantity: int - """ - Specifies the actual number of `DistributionIdOwner` objects included in - the list for the current page. - """ - items: list[DistributionIdOwner] | None = ... - """The number of `DistributionIdOwner` objects.""" - -@dataclass(kw_only=True) -class DistributionList(_SerdeShape): - """A distribution list.""" - - marker: str - """The value you provided for the `Marker` request parameter.""" - next_marker: str | None = ... - """ - If `IsTruncated` is `true`, this element is present and contains the - value you can use for the `Marker` request parameter to continue listing - your distributions where they left off. - """ - max_items: int - """The value you provided for the `MaxItems` request parameter.""" - is_truncated: bool - """ - A flag that indicates whether more distributions remain to be listed. If - your results were truncated, you can make a follow-up pagination request - using the `Marker` request parameter to retrieve more distributions in - the list. - """ - quantity: int - """ - The number of distributions that were created by the current Amazon Web - Services account. - """ - items: list[DistributionSummary] | None = ... - """ - A complex type that contains one `DistributionSummary` element for each - distribution that was created by the current Amazon Web Services - account. - """ - -@dataclass(kw_only=True) -class DistributionNotDisabled(ServiceError, _SerdeShape): - """ - The specified CloudFront distribution is not disabled. You must disable - the distribution before you can delete it. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DistributionResourceId(_SerdeShape): - """The IDs for the distribution resources.""" - - distribution_id: str | None = ... - """The ID of the multi-tenant distribution.""" - distribution_tenant_id: str | None = ... - """The ID of the distribution tenant.""" - -class DistributionResourceType(UnknownEnumMixin, StrEnum): - DISTRIBUTION = "distribution" - DISTRIBUTION_TENANT = "distribution-tenant" - -@dataclass(kw_only=True) -class DistributionSummary(_SerdeShape): - """A summary of the information about a CloudFront distribution.""" - - id: str - """The identifier for the distribution. For example: `EDFDVBD632BHDS5`.""" - arn: str - """ - The ARN (Amazon Resource Name) for the distribution. For example: - `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where - `123456789012` is your Amazon Web Services account ID. - """ - e_tag: str | None = ... - """The current version of the distribution.""" - status: str - """ - The current status of the distribution. When the status is `Deployed`, - the distribution's information is propagated to all CloudFront edge - locations. - """ - last_modified_time: datetime - """The date and time the distribution was last modified.""" - domain_name: str - """ - The domain name that corresponds to the distribution, for example, - `d111111abcdef8.cloudfront.net`. - """ - aliases: Aliases - """ - A complex type that contains information about CNAMEs (alternate domain - names), if any, for this distribution. - """ - origins: Origins - """ - A complex type that contains information about origins for this - distribution. - """ - origin_groups: OriginGroups | None = ... - """ - A complex type that contains information about origin groups for this - distribution. - """ - default_cache_behavior: DefaultCacheBehavior - """ - A complex type that describes the default cache behavior if you don't - specify a `CacheBehavior` element or if files don't match any of the - values of `PathPattern` in `CacheBehavior` elements. You must create - exactly one default cache behavior. - """ - cache_behaviors: CacheBehaviors - """A complex type that contains zero or more `CacheBehavior` elements.""" - custom_error_responses: CustomErrorResponses - """ - A complex type that contains zero or more `CustomErrorResponses` - elements. - """ - comment: str - """The comment originally specified when this distribution was created.""" - price_class: str - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - A complex type that contains information about price class for this - streaming distribution. - """ - enabled: bool - """Whether the distribution is enabled to accept user requests for content.""" - viewer_certificate: ViewerCertificate - """ - A complex type that determines the distribution's SSL/TLS configuration - for communicating with viewers. - """ - restrictions: Restrictions - """ - A complex type that identifies ways in which you want to restrict - distribution of your content. - """ - web_acl_id: str - """The Web ACL Id (if any) associated with the distribution.""" - http_version: str - """ - Specify the maximum HTTP version that you want viewers to use to - communicate with CloudFront. The default value for new web distributions - is `http2`. Viewers that don't support `HTTP/2` will automatically use - an earlier version. - """ - is_ipv6_enabled: bool - """ - Whether CloudFront responds to IPv6 DNS requests with an IPv6 address - for your distribution. - """ - alias_icp_recordals: list[AliasICPRecordal] | None = ... - """ - Amazon Web Services services in China customers must file for an - Internet Content Provider (ICP) recordal if they want to serve content - publicly on an alternate domain name, also known as a CNAME, that - they've added to CloudFront. AliasICPRecordal provides the ICP recordal - status for CNAMEs associated with distributions. - - For more information about ICP recordals, see [Signup, Accounts, and - Credentials](https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html) - in *Getting Started with Amazon Web Services services in China*. - """ - staging: bool - """ - A Boolean that indicates whether this is a staging distribution. When - this value is `true`, this is a staging distribution. When this value is - `false`, this is not a staging distribution. - """ - connection_mode: str | None = ... - """ - This field specifies whether the connection mode is through a standard - distribution (direct) or a multi-tenant distribution with distribution - tenants (tenant-only). - """ - anycast_ip_list_id: str | None = ... - """ - ID of the Anycast static IP list that is associated with the - distribution. - """ - viewer_mtls_config: ViewerMtlsConfig | None = ... - """The distribution's viewer mTLS configuration.""" - connection_function_association: ConnectionFunctionAssociation | None = ... - """The distribution's connection function association.""" - -@dataclass(kw_only=True) -class DistributionTenant(_SerdeShape): - """The distribution tenant.""" - - id: str | None = ... - """The ID of the distribution tenant.""" - distribution_id: str | None = ... - """The ID of the multi-tenant distribution.""" - name: str | None = ... - """The name of the distribution tenant.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) of the distribution tenant.""" - domains: list[DomainResult] | None = ... - """The domains associated with the distribution tenant.""" - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - customizations: Customizations | None = ... - """ - Customizations for the distribution tenant. For each distribution - tenant, you can specify the geographic restrictions, and the Amazon - Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are - specific values that you can override or disable from the multi-tenant - distribution that was used to create the distribution tenant. - """ - parameters: list[Parameter] | None = ... - """ - A list of parameter values to add to the resource. A parameter is - specified as a key-value pair. A valid parameter value must exist for - any parameter that is marked as required in the multi-tenant - distribution. - """ - connection_group_id: str | None = ... - """ - The ID of the connection group for the distribution tenant. If you - don't specify a connection group, CloudFront uses the default - connection group. - """ - created_time: datetime | None = ... - """The date and time when the distribution tenant was created.""" - last_modified_time: datetime | None = ... - """The date and time when the distribution tenant was updated.""" - enabled: bool | None = ... - """ - Indicates whether the distribution tenant is in an enabled state. If - disabled, the distribution tenant won't serve traffic. - """ - status: str | None = ... - """The status of the distribution tenant.""" - -@dataclass(kw_only=True) -class DistributionTenantAssociationFilter(_SerdeShape): - """Filter by the associated distribution ID or connection group ID.""" - - distribution_id: str | None = ... - """ - The distribution ID to filter by. You can find distribution tenants - associated with a specific distribution. - """ - connection_group_id: str | None = ... - """ - The ID of the connection group to filter by. You can find distribution - tenants associated with a specific connection group. - """ - -@dataclass(kw_only=True) -class DistributionTenantSummary(_SerdeShape): - """A summary of the information about a distribution tenant.""" - - id: str - """The ID of the distribution tenant.""" - distribution_id: str - """ - The identifier for the multi-tenant distribution. For example: - `EDFDVBD632BHDS5`. - """ - name: str - """The name of the distribution tenant.""" - arn: str - """The Amazon Resource Name (ARN) of the distribution tenant.""" - domains: list[DomainResult] - """The domains associated with the distribution tenant.""" - connection_group_id: str | None = ... - """ - The ID of the connection group ID for the distribution tenant. If you - don't specify a connection group, CloudFront uses the default - connection group. - """ - customizations: Customizations | None = ... - """ - Customizations for the distribution tenant. For each distribution - tenant, you can specify the geographic restrictions, and the Amazon - Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are - specific values that you can override or disable from the multi-tenant - distribution that was used to create the distribution tenant. - """ - created_time: datetime - """The date and time when the distribution tenant was created.""" - last_modified_time: datetime - """The date and time when the distribution tenant was updated.""" - e_tag: str - """The current version of the distribution tenant.""" - enabled: bool | None = ... - """ - Indicates whether the distribution tenants are in an enabled state. If - disabled, the distribution tenant won't service traffic. - """ - status: str | None = ... - """The status of the distribution tenant.""" - -@dataclass(kw_only=True) -class DnsConfiguration(_SerdeShape): - """The DNS configuration for your domain names.""" - - domain: str - """The domain name that you're verifying.""" - status: str - """ - The status of your domain name. - - - `valid-configuration`: The domain name is correctly configured and - points to the correct routing endpoint of the connection group. - - - `invalid-configuration`: There is either a missing DNS record or the - DNS record exists but it's using an incorrect routing endpoint. - Update the DNS record to point to the correct routing endpoint. - - - `unknown-configuration`: CloudFront can't validate your DNS - configuration. This status can appear if CloudFront can't verify the - DNS record, or the DNS lookup request failed or timed out. - """ - reason: str | None = ... - """Explains the status of the DNS configuration.""" - -class DnsConfigurationStatus(UnknownEnumMixin, StrEnum): - VALID = "valid-configuration" - INVALID = "invalid-configuration" - UNKNOWN = "unknown-configuration" - -@dataclass(kw_only=True) -class DomainConflict(_SerdeShape): - """ - Contains information about the domain conflict. Use this information to - determine the affected domain, the related resource, and the affected - Amazon Web Services account. - """ - - domain: str - """The domain used to find existing conflicts for domain configurations.""" - resource_type: str - """The CloudFront resource type that has a domain conflict.""" - resource_id: str - """The ID of the resource that has a domain conflict.""" - account_id: str - """The ID of the Amazon Web Services account for the domain conflict.""" - -@dataclass(kw_only=True) -class DomainItem(_SerdeShape): - """The domain for the specified distribution tenant.""" - - domain: str - """The domain name.""" - -@dataclass(kw_only=True) -class DomainResult(_SerdeShape): - """The details about the domain result.""" - - domain: str - """The specified domain.""" - status: str | None = ... - """Whether the domain is active or inactive.""" - -class DomainStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - INACTIVE = "inactive" - -@dataclass(kw_only=True) -class EncryptionEntities(_SerdeShape): - """ - Complex data type for field-level encryption profiles that includes all - of the encryption entities. - """ - - quantity: int - """ - Number of field pattern items in a field-level encryption content - type-profile mapping. - """ - items: list[EncryptionEntity] | None = ... - """ - An array of field patterns in a field-level encryption content - type-profile mapping. - """ - -@dataclass(kw_only=True) -class EncryptionEntity(_SerdeShape): - """ - Complex data type for field-level encryption profiles that includes the - encryption key and field pattern specifications. - """ - - public_key_id: str - """ - The public key associated with a set of field-level encryption patterns, - to be used when encrypting the fields that match the patterns. - """ - provider_id: str - """ - The provider associated with the public key being used for encryption. - This value must also be provided with the private key for applications - to be able to decrypt data. - """ - field_patterns: FieldPatterns - """ - Field patterns in a field-level encryption content type profile specify - the fields that you want to be encrypted. You can provide the full field - name, or any beginning characters followed by a wildcard (*). You - can't overlap field patterns. For example, you can't have both ABC* - and AB*. Note that field patterns are case-sensitive. - """ - -@dataclass(kw_only=True) -class EndPoint(_SerdeShape): - """ - Contains information about the Amazon Kinesis data stream where you're - sending real-time log data in a real-time log configuration. - """ - - stream_type: str - """ - The type of data stream where you are sending real-time log data. The - only valid value is `Kinesis`. - """ - kinesis_stream_config: KinesisStreamConfig | None = ... - """ - Contains information about the Amazon Kinesis data stream where you are - sending real-time log data in a real-time log configuration. - """ - -@dataclass(kw_only=True) -class EntityAlreadyExists(ServiceError, _SerdeShape): - """The entity already exists. You must provide a unique entity.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EntityLimitExceeded(ServiceError, _SerdeShape): - """The entity limit has been exceeded.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EntityNotFound(ServiceError, _SerdeShape): - """The entity was not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EntitySizeLimitExceeded(ServiceError, _SerdeShape): - """The entity size limit was exceeded.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class EventType(UnknownEnumMixin, StrEnum): - VIEWER_REQUEST = "viewer-request" - VIEWER_RESPONSE = "viewer-response" - ORIGIN_REQUEST = "origin-request" - ORIGIN_RESPONSE = "origin-response" - -@dataclass(kw_only=True) -class FieldLevelEncryption(_SerdeShape): - """ - A complex data type that includes the profile configurations and other - options specified for field-level encryption. - """ - - id: str - """ - The configuration ID for a field-level encryption configuration which - includes a set of profiles that specify certain selected data fields to - be encrypted by specific public keys. - """ - last_modified_time: datetime - """The last time the field-level encryption configuration was changed.""" - field_level_encryption_config: FieldLevelEncryptionConfig - """ - A complex data type that includes the profile configurations specified - for field-level encryption. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionConfig(_SerdeShape): - """ - A complex data type that includes the profile configurations specified - for field-level encryption. - """ - - caller_reference: str - """A unique number that ensures the request can't be replayed.""" - comment: str | None = ... - """ - An optional comment about the configuration. The comment cannot be - longer than 128 characters. - """ - query_arg_profile_config: QueryArgProfileConfig | None = ... - """ - A complex data type that specifies when to forward content if a profile - isn't found and the profile that can be provided as a query argument in - a request. - """ - content_type_profile_config: ContentTypeProfileConfig | None = ... - """ - A complex data type that specifies when to forward content if a content - type isn't recognized and profiles to use as by default in a request if - a query argument doesn't specify a profile to use. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionConfigAlreadyExists(ServiceError, _SerdeShape): - """The specified configuration for field-level encryption already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionConfigInUse(ServiceError, _SerdeShape): - """The specified configuration for field-level encryption is in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionList(_SerdeShape): - """List of field-level encryption configurations.""" - - next_marker: str | None = ... - """ - If there are more elements to be listed, this element is present and - contains the value that you can use for the `Marker` request parameter - to continue listing your configurations where you left off. - """ - max_items: int - """The maximum number of elements you want in the response body.""" - quantity: int - """The number of field-level encryption items.""" - items: list[FieldLevelEncryptionSummary] | None = ... - """An array of field-level encryption items.""" - -@dataclass(kw_only=True) -class FieldLevelEncryptionProfile(_SerdeShape): - """A complex data type for field-level encryption profiles.""" - - id: str - """ - The ID for a field-level encryption profile configuration which includes - a set of profiles that specify certain selected data fields to be - encrypted by specific public keys. - """ - last_modified_time: datetime - """The last time the field-level encryption profile was updated.""" - field_level_encryption_profile_config: FieldLevelEncryptionProfileConfig - """ - A complex data type that includes the profile name and the encryption - entities for the field-level encryption profile. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionProfileAlreadyExists(ServiceError, _SerdeShape): - """The specified profile for field-level encryption already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionProfileConfig(_SerdeShape): - """A complex data type of profiles for the field-level encryption.""" - - name: str - """Profile name for the field-level encryption profile.""" - caller_reference: str - """A unique number that ensures that the request can't be replayed.""" - comment: str | None = ... - """ - An optional comment for the field-level encryption profile. The comment - cannot be longer than 128 characters. - """ - encryption_entities: EncryptionEntities - """ - A complex data type of encryption entities for the field-level - encryption profile that include the public key ID, provider, and field - patterns for specifying which fields to encrypt with this key. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionProfileInUse(ServiceError, _SerdeShape): - """The specified profile for field-level encryption is in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionProfileList(_SerdeShape): - """List of field-level encryption profiles.""" - - next_marker: str | None = ... - """ - If there are more elements to be listed, this element is present and - contains the value that you can use for the `Marker` request parameter - to continue listing your profiles where you left off. - """ - max_items: int - """ - The maximum number of field-level encryption profiles you want in the - response body. - """ - quantity: int - """The number of field-level encryption profiles.""" - items: list[FieldLevelEncryptionProfileSummary] | None = ... - """The field-level encryption profile items.""" - -@dataclass(kw_only=True) -class FieldLevelEncryptionProfileSizeExceeded(ServiceError, _SerdeShape): - """The maximum size of a profile for field-level encryption was exceeded.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionProfileSummary(_SerdeShape): - """The field-level encryption profile summary.""" - - id: str - """ID for the field-level encryption profile summary.""" - last_modified_time: datetime - """ - The time when the field-level encryption profile summary was last - updated. - """ - name: str - """Name for the field-level encryption profile summary.""" - encryption_entities: EncryptionEntities - """ - A complex data type of encryption entities for the field-level - encryption profile that include the public key ID, provider, and field - patterns for specifying which fields to encrypt with this key. - """ - comment: str | None = ... - """ - An optional comment for the field-level encryption profile summary. The - comment cannot be longer than 128 characters. - """ - -@dataclass(kw_only=True) -class FieldLevelEncryptionSummary(_SerdeShape): - """A summary of a field-level encryption item.""" - - id: str - """The unique ID of a field-level encryption item.""" - last_modified_time: datetime - """ - The last time that the summary of field-level encryption items was - modified. - """ - comment: str | None = ... - """ - An optional comment about the field-level encryption item. The comment - cannot be longer than 128 characters. - """ - query_arg_profile_config: QueryArgProfileConfig | None = ... - """A summary of a query argument-profile mapping.""" - content_type_profile_config: ContentTypeProfileConfig | None = ... - """A summary of a content type-profile mapping.""" - -@dataclass(kw_only=True) -class FieldPatterns(_SerdeShape): - """ - A complex data type that includes the field patterns to match for - field-level encryption. - """ - - quantity: int - """The number of field-level encryption field patterns.""" - items: list[str] | None = ... - """An array of the field-level encryption field patterns.""" - -class Format(UnknownEnumMixin, StrEnum): - URL_ENCODED = "URLEncoded" - -@dataclass(kw_only=True) -class ForwardedValues(_SerdeShape): - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. - - If you want to include values in the cache key, use a cache policy. For - more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - in the *Amazon CloudFront Developer Guide*. - - If you want to send values to the origin but not include them in the - cache key, use an origin request policy. For more information, see - [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - in the *Amazon CloudFront Developer Guide*. - - A complex type that specifies how CloudFront handles query strings, - cookies, and HTTP headers. - """ - - query_string: bool - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. - - If you want to include query strings in the cache key, use a cache - policy. For more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - in the *Amazon CloudFront Developer Guide*. - - If you want to send query strings to the origin but not include them in - the cache key, use an origin request policy. For more information, see - [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - in the *Amazon CloudFront Developer Guide*. - - Indicates whether you want CloudFront to forward query strings to the - origin that is associated with this cache behavior and cache based on - the query string parameters. CloudFront behavior depends on the value of - `QueryString` and on the values that you specify for - `QueryStringCacheKeys`, if any: - - If you specify true for `QueryString` and you don't specify any values - for `QueryStringCacheKeys`, CloudFront forwards all query string - parameters to the origin and caches based on all query string - parameters. Depending on how many query string parameters and values you - have, this can adversely affect performance because CloudFront must - forward more requests to the origin. - - If you specify true for `QueryString` and you specify one or more values - for `QueryStringCacheKeys`, CloudFront forwards all query string - parameters to the origin, but it only caches based on the query string - parameters that you specify. - - If you specify false for `QueryString`, CloudFront doesn't forward any - query string parameters to the origin, and doesn't cache based on query - string parameters. - - For more information, see [Configuring CloudFront to Cache Based on - Query String - Parameters](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/QueryStringParameters.html) - in the *Amazon CloudFront Developer Guide*. - """ - cookies: CookiePreference - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. - - If you want to include cookies in the cache key, use a cache policy. For - more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - in the *Amazon CloudFront Developer Guide*. - - If you want to send cookies to the origin but not include them in the - cache key, use an origin request policy. For more information, see - [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - in the *Amazon CloudFront Developer Guide*. - - A complex type that specifies whether you want CloudFront to forward - cookies to the origin and, if so, which ones. For more information about - forwarding cookies to the origin, see [How CloudFront Forwards, Caches, - and Logs - Cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) - in the *Amazon CloudFront Developer Guide*. - """ - headers: Headers | None = ... - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. - - If you want to include headers in the cache key, use a cache policy. For - more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - in the *Amazon CloudFront Developer Guide*. - - If you want to send headers to the origin but not include them in the - cache key, use an origin request policy. For more information, see - [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - in the *Amazon CloudFront Developer Guide*. - - A complex type that specifies the `Headers`, if any, that you want - CloudFront to forward to the origin for this cache behavior (whitelisted - headers). For the headers that you specify, CloudFront also caches - separate versions of a specified object that is based on the header - values in viewer requests. - - For more information, see [Caching Content Based on Request - Headers](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html) - in the *Amazon CloudFront Developer Guide*. - """ - query_string_cache_keys: QueryStringCacheKeys | None = ... - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. - - If you want to include query strings in the cache key, use a cache - policy. For more information, see [Creating cache - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) - in the *Amazon CloudFront Developer Guide*. - - If you want to send query strings to the origin but not include them in - the cache key, use an origin request policy. For more information, see - [Creating origin request - policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) - in the *Amazon CloudFront Developer Guide*. - - A complex type that contains information about the query string - parameters that you want CloudFront to use for caching for this cache - behavior. - """ - -class FrameOptionsList(UnknownEnumMixin, StrEnum): - DENY = "DENY" - SAMEORIGIN = "SAMEORIGIN" - -@dataclass(kw_only=True) -class FunctionAlreadyExists(ServiceError, _SerdeShape): - """ - A function with the same name already exists in this Amazon Web Services - account. To create a function, you must provide a unique name. To update - an existing function, use `UpdateFunction`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FunctionAssociation(_SerdeShape): - """ - A CloudFront function that is associated with a cache behavior in a - CloudFront distribution. - """ - - function_arn: str - """The Amazon Resource Name (ARN) of the function.""" - event_type: str - """ - The event type of the function, either `viewer-request` or - `viewer-response`. You cannot use origin-facing event types - (`origin-request` and `origin-response`) with a CloudFront function. - """ - -@dataclass(kw_only=True) -class FunctionAssociations(_SerdeShape): - """ - A list of CloudFront functions that are associated with a cache behavior - in a CloudFront distribution. Your functions must be published to the - `LIVE` stage to associate them with a cache behavior. - """ - - quantity: int - """The number of CloudFront functions in the list.""" - items: list[FunctionAssociation] | None = ... - """ - The CloudFront functions that are associated with a cache behavior in a - CloudFront distribution. Your functions must be published to the `LIVE` - stage to associate them with a cache behavior. - """ - -@dataclass(kw_only=True) -class FunctionConfig(_SerdeShape): - """Contains configuration information about a CloudFront function.""" - - comment: str - """A comment to describe the function.""" - runtime: str - """The function's runtime environment version.""" - key_value_store_associations: KeyValueStoreAssociations | None = ... - """The configuration for the key value store associations.""" - -@dataclass(kw_only=True) -class FunctionInUse(ServiceError, _SerdeShape): - """ - Cannot delete the function because it's attached to one or more cache - behaviors. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FunctionList(_SerdeShape): - """A list of CloudFront functions.""" - - next_marker: str | None = ... - """ - If there are more items in the list than are in this response, this - element is present. It contains the value that you should use in the - `Marker` field of a subsequent request to continue listing functions - where you left off. - """ - max_items: int - """The maximum number of functions requested.""" - quantity: int - """The number of functions returned in the response.""" - items: list[FunctionSummary] | None = ... - """Contains the functions in the list.""" - -@dataclass(kw_only=True) -class FunctionMetadata(_SerdeShape): - """Contains metadata about a CloudFront function.""" - - function_arn: str - """ - The Amazon Resource Name (ARN) of the function. The ARN uniquely - identifies the function. - """ - stage: str | None = ... - """ - The stage that the function is in, either `DEVELOPMENT` or `LIVE`. - - When a function is in the `DEVELOPMENT` stage, you can test the function - with `TestFunction`, and update it with `UpdateFunction`. - - When a function is in the `LIVE` stage, you can attach the function to a - distribution's cache behavior, using the function's ARN. - """ - created_time: datetime | None = ... - """The date and time when the function was created.""" - last_modified_time: datetime - """The date and time when the function was most recently updated.""" - -class FunctionRuntime(UnknownEnumMixin, StrEnum): - CLOUDFRONT_JS_1_0 = "cloudfront-js-1.0" - CLOUDFRONT_JS_2_0 = "cloudfront-js-2.0" - -@dataclass(kw_only=True) -class FunctionSizeLimitExceeded(ServiceError, _SerdeShape): - """ - The function is too large. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class FunctionStage(UnknownEnumMixin, StrEnum): - DEVELOPMENT = "DEVELOPMENT" - LIVE = "LIVE" - -@dataclass(kw_only=True) -class FunctionSummary(_SerdeShape): - """ - Contains configuration information and metadata about a CloudFront - function. - """ - - name: str - """The name of the CloudFront function.""" - status: str | None = ... - """The status of the CloudFront function.""" - function_config: FunctionConfig - """Contains configuration information about a CloudFront function.""" - function_metadata: FunctionMetadata - """Contains metadata about a CloudFront function.""" - -@dataclass(kw_only=True) -class GeoRestriction(_SerdeShape): - """ - A complex type that controls the countries in which your content is - distributed. CloudFront determines the location of your users using - `MaxMind` GeoIP databases. - """ - - restriction_type: str - """ - The method that you want to use to restrict distribution of your content - by country: - - - `none`: No geo restriction is enabled, meaning access to content is - not restricted by client geo location. - - - `blacklist`: The `Location` elements specify the countries in which - you don't want CloudFront to distribute your content. - - - `whitelist`: The `Location` elements specify the countries in which - you want CloudFront to distribute your content. - """ - quantity: int - """ - When geo restriction is `enabled`, this is the number of countries in - your `whitelist` or `blacklist`. Otherwise, when it is not enabled, - `Quantity` is `0`, and you can omit `Items`. - """ - items: list[str] | None = ... - """ - A complex type that contains a `Location` element for each country in - which you want CloudFront either to distribute your content - (`whitelist`) or not distribute your content (`blacklist`). - - The `Location` element is a two-letter, uppercase country code for a - country that you want to include in your `blacklist` or `whitelist`. - Include one `Location` element for each country. - - CloudFront and `MaxMind` both use `ISO 3166` country codes. For the - current list of countries and the corresponding codes, see - `ISO 3166-1-alpha-2` code on the *International Organization for - Standardization* website. You can also refer to the country list on the - CloudFront console, which includes both country names and codes. - """ - -@dataclass(kw_only=True) -class GeoRestrictionCustomization(_SerdeShape): - """ - The customizations that you specified for the distribution tenant for - geographic restrictions. - """ - - restriction_type: str - """ - The method that you want to use to restrict distribution of your content - by country: - - - `none`: No geographic restriction is enabled, meaning access to - content is not restricted by client geo location. - - - `blacklist`: The `Location` elements specify the countries in which - you don't want CloudFront to distribute your content. - - - `whitelist`: The `Location` elements specify the countries in which - you want CloudFront to distribute your content. - """ - locations: list[str] | None = ... - """The locations for geographic restrictions.""" - -class GeoRestrictionType(UnknownEnumMixin, StrEnum): - BLACKLIST = "blacklist" - WHITELIST = "whitelist" - NONE = "none" - -@dataclass(kw_only=True) -class GetAnycastIpListInput(_SerdeShape): - """Dataclass for GetAnycastIpListInput structure.""" - - id: str | None = ... - """The ID of the Anycast static IP list.""" - -@dataclass(kw_only=True) -class GetAnycastIpListOutput(_SerdeShape): - """Dataclass for GetAnycastIpListOutput structure.""" - - anycast_ip_list: AnycastIpList | None = ... - """The Anycast static IP list details.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the Anycast static IP - list. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCachePolicyConfigInput(_SerdeShape): - """Dataclass for GetCachePolicyConfigInput structure.""" - - id: str | None = ... - """ - The unique identifier for the cache policy. If the cache policy is - attached to a distribution's cache behavior, you can get the policy's - identifier using `ListDistributions` or `GetDistribution`. If the cache - policy is not attached to a cache behavior, you can get the identifier - using `ListCachePolicies`. - """ - -@dataclass(kw_only=True) -class GetCachePolicyConfigOutput(_SerdeShape): - """Dataclass for GetCachePolicyConfigOutput structure.""" - - cache_policy_config: CachePolicyConfig | None = ... - """The cache policy configuration.""" - e_tag: str | None = ... - """The current version of the cache policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCachePolicyInput(_SerdeShape): - """Dataclass for GetCachePolicyInput structure.""" - - id: str | None = ... - """ - The unique identifier for the cache policy. If the cache policy is - attached to a distribution's cache behavior, you can get the policy's - identifier using `ListDistributions` or `GetDistribution`. If the cache - policy is not attached to a cache behavior, you can get the identifier - using `ListCachePolicies`. - """ - -@dataclass(kw_only=True) -class GetCachePolicyOutput(_SerdeShape): - """Dataclass for GetCachePolicyOutput structure.""" - - cache_policy: CachePolicy | None = ... - """The cache policy.""" - e_tag: str | None = ... - """The current version of the cache policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCloudFrontOriginAccessIdentityConfigInput(_SerdeShape): - """ - The origin access identity's configuration information. For more - information, see - [CloudFrontOriginAccessIdentityConfig](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CloudFrontOriginAccessIdentityConfig.html). - """ - - id: str | None = ... - """The identity's ID.""" - -@dataclass(kw_only=True) -class GetCloudFrontOriginAccessIdentityConfigOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - cloud_front_origin_access_identity_config: ( - CloudFrontOriginAccessIdentityConfig | None - ) = ... - """The origin access identity's configuration information.""" - e_tag: str | None = ... - """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCloudFrontOriginAccessIdentityInput(_SerdeShape): - """The request to get an origin access identity's information.""" - - id: str | None = ... - """The identity's ID.""" - -@dataclass(kw_only=True) -class GetCloudFrontOriginAccessIdentityOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - cloud_front_origin_access_identity: CloudFrontOriginAccessIdentity | None = ... - """The origin access identity's information.""" - e_tag: str | None = ... - """ - The current version of the origin access identity's information. For - example: `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetConnectionFunctionInput(_SerdeShape): - """Dataclass for GetConnectionFunctionInput structure.""" - - identifier: str | None = ... - """The connection function's identifier.""" - stage: str | None = ... - """The connection function's stage.""" - -@dataclass(kw_only=True) -class GetConnectionFunctionOutput(_SerdeShape): - """Dataclass for GetConnectionFunctionOutput structure.""" - - connection_function_code: bytes | None = ... - """The connection function's code.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the connection - function. - """ - content_type: str | None = ... - """The connection function's content type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetConnectionGroupByRoutingEndpointInput(_SerdeShape): - """Dataclass for GetConnectionGroupByRoutingEndpointInput structure.""" - - routing_endpoint: str | None = ... - """ - The routing endpoint for the target connection group, such as - d111111abcdef8.cloudfront.net. - """ - -@dataclass(kw_only=True) -class GetConnectionGroupByRoutingEndpointOutput(_SerdeShape): - """Dataclass for GetConnectionGroupByRoutingEndpointOutput structure.""" - - connection_group: ConnectionGroup | None = ... - """ - The connection group for your distribution tenants. When you first - create a distribution tenant and you don't specify a connection group, - CloudFront will automatically create a default connection group for you. - When you create a new distribution tenant and don't specify a - connection group, the default one will be associated with your - distribution tenant. - """ - e_tag: str | None = ... - """The current version of the connection group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetConnectionGroupInput(_SerdeShape): - """Dataclass for GetConnectionGroupInput structure.""" - - identifier: str | None = ... - """The ID, name, or Amazon Resource Name (ARN) of the connection group.""" - -@dataclass(kw_only=True) -class GetConnectionGroupOutput(_SerdeShape): - """Dataclass for GetConnectionGroupOutput structure.""" - - connection_group: ConnectionGroup | None = ... - """The connection group that you retrieved.""" - e_tag: str | None = ... - """The current version of the connection group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetContinuousDeploymentPolicyConfigInput(_SerdeShape): - """Dataclass for GetContinuousDeploymentPolicyConfigInput structure.""" - - id: str | None = ... - """ - The identifier of the continuous deployment policy whose configuration - you are getting. - """ - -@dataclass(kw_only=True) -class GetContinuousDeploymentPolicyConfigOutput(_SerdeShape): - """Dataclass for GetContinuousDeploymentPolicyConfigOutput structure.""" - - continuous_deployment_policy_config: ContinuousDeploymentPolicyConfig | None = ... - """Contains the configuration for a continuous deployment policy.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the continuous - deployment policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetContinuousDeploymentPolicyInput(_SerdeShape): - """Dataclass for GetContinuousDeploymentPolicyInput structure.""" - - id: str | None = ... - """The identifier of the continuous deployment policy that you are getting.""" - -@dataclass(kw_only=True) -class GetContinuousDeploymentPolicyOutput(_SerdeShape): - """Dataclass for GetContinuousDeploymentPolicyOutput structure.""" - - continuous_deployment_policy: ContinuousDeploymentPolicy | None = ... - """A continuous deployment policy.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the continuous - deployment policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDistributionConfigInput(_SerdeShape): - """The request to get a distribution configuration.""" - - id: str | None = ... - """ - The distribution's ID. If the ID is empty, an empty distribution - configuration is returned. - """ - -@dataclass(kw_only=True) -class GetDistributionConfigOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - distribution_config: DistributionConfig | None = ... - """The distribution's configuration information.""" - e_tag: str | None = ... - """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDistributionInput(_SerdeShape): - """The request to get a distribution's information.""" - - id: str | None = ... - """ - The distribution's ID. If the ID is empty, an empty distribution - configuration is returned. - """ - -@dataclass(kw_only=True) -class GetDistributionOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - distribution: Distribution | None = ... - """The distribution's information.""" - e_tag: str | None = ... - """ - The current version of the distribution's information. For example: - `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDistributionTenantByDomainInput(_SerdeShape): - """Dataclass for GetDistributionTenantByDomainInput structure.""" - - domain: str | None = ... - """A domain name associated with the target distribution tenant.""" - -@dataclass(kw_only=True) -class GetDistributionTenantByDomainOutput(_SerdeShape): - """Dataclass for GetDistributionTenantByDomainOutput structure.""" - - distribution_tenant: DistributionTenant | None = ... - """The distribution tenant.""" - e_tag: str | None = ... - """The current version of the distribution tenant.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDistributionTenantInput(_SerdeShape): - """Dataclass for GetDistributionTenantInput structure.""" - - identifier: str | None = ... - """ - The identifier of the distribution tenant. You can specify the ARN, ID, - or name of the distribution tenant. - """ - -@dataclass(kw_only=True) -class GetDistributionTenantOutput(_SerdeShape): - """Dataclass for GetDistributionTenantOutput structure.""" - - distribution_tenant: DistributionTenant | None = ... - """The distribution tenant that you retrieved.""" - e_tag: str | None = ... - """The current version of the distribution tenant.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFieldLevelEncryptionConfigInput(_SerdeShape): - """Dataclass for GetFieldLevelEncryptionConfigInput structure.""" - - id: str | None = ... - """Request the ID for the field-level encryption configuration information.""" - -@dataclass(kw_only=True) -class GetFieldLevelEncryptionConfigOutput(_SerdeShape): - """Dataclass for GetFieldLevelEncryptionConfigOutput structure.""" - - field_level_encryption_config: FieldLevelEncryptionConfig | None = ... - """Return the field-level encryption configuration information.""" - e_tag: str | None = ... - """ - The current version of the field level encryption configuration. For - example: `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFieldLevelEncryptionInput(_SerdeShape): - """Dataclass for GetFieldLevelEncryptionInput structure.""" - - id: str | None = ... - """Request the ID for the field-level encryption configuration information.""" - -@dataclass(kw_only=True) -class GetFieldLevelEncryptionOutput(_SerdeShape): - """Dataclass for GetFieldLevelEncryptionOutput structure.""" - - field_level_encryption: FieldLevelEncryption | None = ... - """Return the field-level encryption configuration information.""" - e_tag: str | None = ... - """ - The current version of the field level encryption configuration. For - example: `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFieldLevelEncryptionProfileConfigInput(_SerdeShape): - """Dataclass for GetFieldLevelEncryptionProfileConfigInput structure.""" - - id: str | None = ... - """ - Get the ID for the field-level encryption profile configuration - information. - """ - -@dataclass(kw_only=True) -class GetFieldLevelEncryptionProfileConfigOutput(_SerdeShape): - """Dataclass for GetFieldLevelEncryptionProfileConfigOutput structure.""" - - field_level_encryption_profile_config: ( - FieldLevelEncryptionProfileConfig | None - ) = ... - """Return the field-level encryption profile configuration information.""" - e_tag: str | None = ... - """ - The current version of the field-level encryption profile configuration - result. For example: `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFieldLevelEncryptionProfileInput(_SerdeShape): - """Dataclass for GetFieldLevelEncryptionProfileInput structure.""" - - id: str | None = ... - """Get the ID for the field-level encryption profile information.""" - -@dataclass(kw_only=True) -class GetFieldLevelEncryptionProfileOutput(_SerdeShape): - """Dataclass for GetFieldLevelEncryptionProfileOutput structure.""" - - field_level_encryption_profile: FieldLevelEncryptionProfile | None = ... - """Return the field-level encryption profile information.""" - e_tag: str | None = ... - """ - The current version of the field level encryption profile. For example: - `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFunctionInput(_SerdeShape): - """Dataclass for GetFunctionInput structure.""" - - name: str | None = ... - """The name of the function whose code you are getting.""" - stage: str | None = ... - """The function's stage, either `DEVELOPMENT` or `LIVE`.""" - -@dataclass(kw_only=True) -class GetFunctionOutput(_SerdeShape): - """Dataclass for GetFunctionOutput structure.""" - - function_code: bytes | None = ... - """The function code of a CloudFront function.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the CloudFront - function. - """ - content_type: str | None = ... - """The content type (media type) of the response.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInvalidationForDistributionTenantInput(_SerdeShape): - """Dataclass for GetInvalidationForDistributionTenantInput structure.""" - - distribution_tenant_id: str | None = ... - """The ID of the distribution tenant.""" - id: str | None = ... - """The ID of the invalidation to retrieve.""" - -@dataclass(kw_only=True) -class GetInvalidationForDistributionTenantOutput(_SerdeShape): - """Dataclass for GetInvalidationForDistributionTenantOutput structure.""" - - invalidation: Invalidation | None = ... - """An invalidation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInvalidationInput(_SerdeShape): - """The request to get an invalidation's information.""" - - distribution_id: str | None = ... - """The distribution's ID.""" - id: str | None = ... - """ - The identifier for the invalidation request, for example, - `IDFDVBD632BHDS5`. - """ - -@dataclass(kw_only=True) -class GetInvalidationOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - invalidation: Invalidation | None = ... - """ - The invalidation's information. For more information, see [Invalidation - Complex - Type](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/InvalidationDatatype.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetKeyGroupConfigInput(_SerdeShape): - """Dataclass for GetKeyGroupConfigInput structure.""" - - id: str | None = ... - """ - The identifier of the key group whose configuration you are getting. To - get the identifier, use `ListKeyGroups`. - """ - -@dataclass(kw_only=True) -class GetKeyGroupConfigOutput(_SerdeShape): - """Dataclass for GetKeyGroupConfigOutput structure.""" - - key_group_config: KeyGroupConfig | None = ... - """The key group configuration.""" - e_tag: str | None = ... - """The identifier for this version of the key group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetKeyGroupInput(_SerdeShape): - """Dataclass for GetKeyGroupInput structure.""" - - id: str | None = ... - """ - The identifier of the key group that you are getting. To get the - identifier, use `ListKeyGroups`. - """ - -@dataclass(kw_only=True) -class GetKeyGroupOutput(_SerdeShape): - """Dataclass for GetKeyGroupOutput structure.""" - - key_group: KeyGroup | None = ... - """The key group.""" - e_tag: str | None = ... - """The identifier for this version of the key group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetManagedCertificateDetailsInput(_SerdeShape): - """Dataclass for GetManagedCertificateDetailsInput structure.""" - - identifier: str | None = ... - """ - The identifier of the distribution tenant. You can specify the ARN, ID, - or name of the distribution tenant. - """ - -@dataclass(kw_only=True) -class GetManagedCertificateDetailsOutput(_SerdeShape): - """Dataclass for GetManagedCertificateDetailsOutput structure.""" - - managed_certificate_details: ManagedCertificateDetails | None = ... - """Contains details about the CloudFront managed ACM certificate.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMonitoringSubscriptionInput(_SerdeShape): - """Dataclass for GetMonitoringSubscriptionInput structure.""" - - distribution_id: str | None = ... - """The ID of the distribution that you are getting metrics information for.""" - -@dataclass(kw_only=True) -class GetMonitoringSubscriptionOutput(_SerdeShape): - """Dataclass for GetMonitoringSubscriptionOutput structure.""" - - monitoring_subscription: MonitoringSubscription | None = ... - """ - A monitoring subscription. This structure contains information about - whether additional CloudWatch metrics are enabled for a given CloudFront - distribution. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOriginAccessControlConfigInput(_SerdeShape): - """Dataclass for GetOriginAccessControlConfigInput structure.""" - - id: str | None = ... - """The unique identifier of the origin access control.""" - -@dataclass(kw_only=True) -class GetOriginAccessControlConfigOutput(_SerdeShape): - """Dataclass for GetOriginAccessControlConfigOutput structure.""" - - origin_access_control_config: OriginAccessControlConfig | None = ... - """Contains an origin access control configuration.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the origin access - control. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOriginAccessControlInput(_SerdeShape): - """Dataclass for GetOriginAccessControlInput structure.""" - - id: str | None = ... - """The unique identifier of the origin access control.""" - -@dataclass(kw_only=True) -class GetOriginAccessControlOutput(_SerdeShape): - """Dataclass for GetOriginAccessControlOutput structure.""" - - origin_access_control: OriginAccessControl | None = ... - """Contains an origin access control, including its unique identifier.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the origin access - control. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOriginRequestPolicyConfigInput(_SerdeShape): - """Dataclass for GetOriginRequestPolicyConfigInput structure.""" - - id: str | None = ... - """ - The unique identifier for the origin request policy. If the origin - request policy is attached to a distribution's cache behavior, you can - get the policy's identifier using `ListDistributions` or - `GetDistribution`. If the origin request policy is not attached to a - cache behavior, you can get the identifier using - `ListOriginRequestPolicies`. - """ - -@dataclass(kw_only=True) -class GetOriginRequestPolicyConfigOutput(_SerdeShape): - """Dataclass for GetOriginRequestPolicyConfigOutput structure.""" - - origin_request_policy_config: OriginRequestPolicyConfig | None = ... - """The origin request policy configuration.""" - e_tag: str | None = ... - """The current version of the origin request policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOriginRequestPolicyInput(_SerdeShape): - """Dataclass for GetOriginRequestPolicyInput structure.""" - - id: str | None = ... - """ - The unique identifier for the origin request policy. If the origin - request policy is attached to a distribution's cache behavior, you can - get the policy's identifier using `ListDistributions` or - `GetDistribution`. If the origin request policy is not attached to a - cache behavior, you can get the identifier using - `ListOriginRequestPolicies`. - """ - -@dataclass(kw_only=True) -class GetOriginRequestPolicyOutput(_SerdeShape): - """Dataclass for GetOriginRequestPolicyOutput structure.""" - - origin_request_policy: OriginRequestPolicy | None = ... - """The origin request policy.""" - e_tag: str | None = ... - """The current version of the origin request policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPublicKeyConfigInput(_SerdeShape): - """Dataclass for GetPublicKeyConfigInput structure.""" - - id: str | None = ... - """The identifier of the public key whose configuration you are getting.""" - -@dataclass(kw_only=True) -class GetPublicKeyConfigOutput(_SerdeShape): - """Dataclass for GetPublicKeyConfigOutput structure.""" - - public_key_config: PublicKeyConfig | None = ... - """A public key configuration.""" - e_tag: str | None = ... - """The identifier for this version of the public key configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPublicKeyInput(_SerdeShape): - """Dataclass for GetPublicKeyInput structure.""" - - id: str | None = ... - """The identifier of the public key you are getting.""" - -@dataclass(kw_only=True) -class GetPublicKeyOutput(_SerdeShape): - """Dataclass for GetPublicKeyOutput structure.""" - - public_key: PublicKey | None = ... - """The public key.""" - e_tag: str | None = ... - """The identifier for this version of the public key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRealtimeLogConfigInput(_SerdeShape): - """Dataclass for GetRealtimeLogConfigInput structure.""" - - name: str | None = ... - """The name of the real-time log configuration to get.""" - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the real-time log configuration to - get. - """ - -@dataclass(kw_only=True) -class GetRealtimeLogConfigOutput(_SerdeShape): - """Dataclass for GetRealtimeLogConfigOutput structure.""" - - realtime_log_config: RealtimeLogConfig | None = ... - """A real-time log configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyInput(_SerdeShape): - """Dataclass for GetResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudFront resource that is - associated with the resource policy. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyOutput(_SerdeShape): - """Dataclass for GetResourcePolicyOutput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudFront resource that is - associated with the resource policy. - """ - policy_document: str | None = ... - """The resource policy in JSON format.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResponseHeadersPolicyConfigInput(_SerdeShape): - """Dataclass for GetResponseHeadersPolicyConfigInput structure.""" - - id: str | None = ... - """ - The identifier for the response headers policy. - - If the response headers policy is attached to a distribution's cache - behavior, you can get the policy's identifier using `ListDistributions` - or `GetDistribution`. If the response headers policy is not attached to - a cache behavior, you can get the identifier using - `ListResponseHeadersPolicies`. - """ - -@dataclass(kw_only=True) -class GetResponseHeadersPolicyConfigOutput(_SerdeShape): - """Dataclass for GetResponseHeadersPolicyConfigOutput structure.""" - - response_headers_policy_config: ResponseHeadersPolicyConfig | None = ... - """Contains a response headers policy.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the response headers - policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResponseHeadersPolicyInput(_SerdeShape): - """Dataclass for GetResponseHeadersPolicyInput structure.""" - - id: str | None = ... - """ - The identifier for the response headers policy. - - If the response headers policy is attached to a distribution's cache - behavior, you can get the policy's identifier using `ListDistributions` - or `GetDistribution`. If the response headers policy is not attached to - a cache behavior, you can get the identifier using - `ListResponseHeadersPolicies`. - """ - -@dataclass(kw_only=True) -class GetResponseHeadersPolicyOutput(_SerdeShape): - """Dataclass for GetResponseHeadersPolicyOutput structure.""" - - response_headers_policy: ResponseHeadersPolicy | None = ... - """Contains a response headers policy.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the response headers - policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetStreamingDistributionConfigInput(_SerdeShape): - """To request to get a streaming distribution configuration.""" - - id: str | None = ... - """The streaming distribution's ID.""" - -@dataclass(kw_only=True) -class GetStreamingDistributionConfigOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - streaming_distribution_config: StreamingDistributionConfig | None = ... - """The streaming distribution's configuration information.""" - e_tag: str | None = ... - """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetStreamingDistributionInput(_SerdeShape): - """The request to get a streaming distribution's information.""" - - id: str | None = ... - """The streaming distribution's ID.""" - -@dataclass(kw_only=True) -class GetStreamingDistributionOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - streaming_distribution: StreamingDistribution | None = ... - """The streaming distribution's information.""" - e_tag: str | None = ... - """ - The current version of the streaming distribution's information. For - example: `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTrustStoreInput(_SerdeShape): - """Dataclass for GetTrustStoreInput structure.""" - - identifier: str | None = ... - """The trust store's identifier.""" - -@dataclass(kw_only=True) -class GetTrustStoreOutput(_SerdeShape): - """Dataclass for GetTrustStoreOutput structure.""" - - trust_store: TrustStore | None = ... - """The trust store.""" - e_tag: str | None = ... - """The version identifier for the current version of the trust store.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVpcOriginInput(_SerdeShape): - """Dataclass for GetVpcOriginInput structure.""" - - id: str | None = ... - """The VPC origin ID.""" - -@dataclass(kw_only=True) -class GetVpcOriginOutput(_SerdeShape): - """Dataclass for GetVpcOriginOutput structure.""" - - vpc_origin: VpcOrigin | None = ... - """The VPC origin.""" - e_tag: str | None = ... - """The VPC origin ETag.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GrpcConfig(_SerdeShape): - """ - Amazon CloudFront supports gRPC, an open-source remote procedure call - (RPC) framework built on HTTP/2. gRPC offers bi-directional streaming - and binary protocol that buffers payloads, making it suitable for - applications that require low latency communications. - - To enable your distribution to handle gRPC requests, you must include - HTTP/2 as one of the supported `HTTP` versions and allow `HTTP` methods, - including `POST`. - - For more information, see [Using gRPC with CloudFront - distributions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-using-grpc.html) - in the *Amazon CloudFront Developer Guide*. - """ - - enabled: bool - """ - Enables your CloudFront distribution to receive gRPC requests and to - proxy them directly to your origins. - """ - -@dataclass(kw_only=True) -class Headers(_SerdeShape): - """Contains a list of HTTP header names.""" - - quantity: int - """The number of header names in the `Items` list.""" - items: list[str] | None = ... - """A list of HTTP header names.""" - -class HttpVersion(UnknownEnumMixin, StrEnum): - HTTP1_1 = "http1.1" - HTTP2 = "http2" - HTTP3 = "http3" - HTTP2AND3 = "http2and3" - -class ICPRecordalStatus(UnknownEnumMixin, StrEnum): - APPROVED = "APPROVED" - SUSPENDED = "SUSPENDED" - PENDING = "PENDING" - -@dataclass(kw_only=True) -class IllegalDelete(ServiceError, _SerdeShape): - """Deletion is not allowed for this entity.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior( - ServiceError, _SerdeShape -): - """ - The specified configuration for field-level encryption can't be - associated with the specified cache behavior. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IllegalOriginAccessConfiguration(ServiceError, _SerdeShape): - """ - An origin cannot contain both an origin access control (OAC) and an - origin access identity (OAI). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IllegalUpdate(ServiceError, _SerdeShape): - """The update contains modifications that are not allowed.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportSource(_SerdeShape): - """The import source for the key value store.""" - - source_type: str - """The source type of the import source for the key value store.""" - source_arn: str - """ - The Amazon Resource Name (ARN) of the import source for the key value - store. - """ - -class ImportSourceType(UnknownEnumMixin, StrEnum): - S3 = "S3" - -@dataclass(kw_only=True) -class InconsistentQuantities(ServiceError, _SerdeShape): - """The value of `Quantity` and the size of `Items` don't match.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidArgument(ServiceError, _SerdeShape): - """An argument is invalid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidAssociation(ServiceError, _SerdeShape): - """The specified CloudFront resource can't be associated.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Invalidation(_SerdeShape): - """An invalidation.""" - - id: str - """ - The identifier for the invalidation request. For example: - `IDFDVBD632BHDS5`. - """ - status: str - """ - The status of the invalidation request. When the invalidation batch is - finished, the status is `Completed`. - """ - create_time: datetime - """The date and time the invalidation request was first made.""" - invalidation_batch: InvalidationBatch - """The current invalidation information for the batch request.""" - -@dataclass(kw_only=True) -class InvalidationBatch(_SerdeShape): - """An invalidation batch.""" - - paths: Paths - """ - A complex type that contains information about the objects that you want - to invalidate. For more information, see [Specifying the Objects to - Invalidate](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) - in the *Amazon CloudFront Developer Guide*. - """ - caller_reference: str - """ - A value that you specify to uniquely identify an invalidation request. - CloudFront uses the value to prevent you from accidentally resubmitting - an identical request. Whenever you create a new invalidation request, - you must specify a new value for `CallerReference` and change other - values in the request as applicable. One way to ensure that the value of - `CallerReference` is unique is to use a `timestamp`, for example, - `20120301090000`. - - If you make a second invalidation request with the same value for - `CallerReference`, and if the rest of the request is the same, - CloudFront doesn't create a new invalidation request. Instead, - CloudFront returns information about the invalidation request that you - previously created with the same `CallerReference`. - - If `CallerReference` is a value you already sent in a previous - invalidation batch request but the content of any `Path` is different - from the original request, CloudFront returns an - `InvalidationBatchAlreadyExists` error. - """ - -@dataclass(kw_only=True) -class InvalidationList(_SerdeShape): - """ - The `InvalidationList` complex type describes the list of invalidation - objects. For more information about invalidation, see [Invalidating - Objects (Web Distributions - Only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) - in the *Amazon CloudFront Developer Guide*. - """ - - marker: str - """The value that you provided for the `Marker` request parameter.""" - next_marker: str | None = ... - """ - If `IsTruncated` is `true`, this element is present and contains the - value that you can use for the `Marker` request parameter to continue - listing your invalidation batches where they left off. - """ - max_items: int - """The value that you provided for the `MaxItems` request parameter.""" - is_truncated: bool - """ - A flag that indicates whether more invalidation batch requests remain to - be listed. If your results were truncated, you can make a follow-up - pagination request using the `Marker` request parameter to retrieve more - invalidation batches in the list. - """ - quantity: int - """ - The number of invalidation batches that were created by the current - Amazon Web Services account. - """ - items: list[InvalidationSummary] | None = ... - """ - A complex type that contains one `InvalidationSummary` element for each - invalidation batch created by the current Amazon Web Services account. - """ - -@dataclass(kw_only=True) -class InvalidationSummary(_SerdeShape): - """A summary of an invalidation request.""" - - id: str - """The unique ID for an invalidation request.""" - create_time: datetime - """The time that an invalidation request was created.""" - status: str - """The status of an invalidation request.""" - -@dataclass(kw_only=True) -class InvalidDefaultRootObject(ServiceError, _SerdeShape): - """ - The default root object file name is too big or contains an invalid - character. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDomainNameForOriginAccessControl(ServiceError, _SerdeShape): - """ - An origin access control is associated with an origin whose domain name - is not supported. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidErrorCode(ServiceError, _SerdeShape): - """An invalid error code was specified.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidForwardCookies(ServiceError, _SerdeShape): - """ - Your request contains forward cookies option which doesn't match with - the expectation for the `whitelisted` list of cookie names. Either list - of cookie names has been specified when not allowed or list of cookie - names is missing when expected. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidFunctionAssociation(ServiceError, _SerdeShape): - """A CloudFront function association is invalid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidGeoRestrictionParameter(ServiceError, _SerdeShape): - """The specified geo restriction parameter is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidHeadersForS3Origin(ServiceError, _SerdeShape): - """The headers specified are not valid for an Amazon S3 origin.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidIfMatchVersion(ServiceError, _SerdeShape): - """The `If-Match` version is missing or not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidLambdaFunctionAssociation(ServiceError, _SerdeShape): - """The specified Lambda@Edge function association is invalid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidLocationCode(ServiceError, _SerdeShape): - """The location code specified is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidMinimumProtocolVersion(ServiceError, _SerdeShape): - """The minimum protocol version specified is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidOrigin(ServiceError, _SerdeShape): - """ - The Amazon S3 origin server specified does not refer to a valid Amazon - S3 bucket. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidOriginAccessControl(ServiceError, _SerdeShape): - """The origin access control is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidOriginAccessIdentity(ServiceError, _SerdeShape): - """The origin access identity is not valid or doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidOriginKeepaliveTimeout(ServiceError, _SerdeShape): - """The keep alive timeout specified for the origin is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidOriginReadTimeout(ServiceError, _SerdeShape): - """The read timeout specified for the origin is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidProtocolSettings(ServiceError, _SerdeShape): - """ - You cannot specify SSLv3 as the minimum protocol version if you only - want to support only clients that support Server Name Indication (SNI). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidQueryStringParameters(ServiceError, _SerdeShape): - """The query string parameters specified are not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidRelativePath(ServiceError, _SerdeShape): - """ - The relative path is too big, is not URL-encoded, or does not begin with - a slash (/). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidRequiredProtocol(ServiceError, _SerdeShape): - """ - This operation requires the HTTPS protocol. Ensure that you specify the - HTTPS protocol in your request, or omit the `RequiredProtocols` element - from your distribution configuration. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidResponseCode(ServiceError, _SerdeShape): - """A response code is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidTagging(ServiceError, _SerdeShape): - """The tagging specified is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidTTLOrder(ServiceError, _SerdeShape): - """The TTL order specified is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidViewerCertificate(ServiceError, _SerdeShape): - """A viewer certificate specified is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidWebACLId(ServiceError, _SerdeShape): - """ - A web ACL ID specified is not valid. To specify a web ACL created using - the latest version of WAF, use the ACL ARN, for example - `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a`. - To specify a web ACL created using WAF Classic, use the ACL ID, for - example `473e64fd-f30b-4765-81a0-62ad96dd167a`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class IpAddressType(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - IPV6 = "ipv6" - DUAL_STACK = "dualstack" - -@dataclass(kw_only=True) -class IpamCidrConfig(_SerdeShape): - """ - Configuration for an IPAM CIDR that defines a specific IP address range, - IPAM pool, and associated Anycast IP address. - """ - - cidr: str - """ - The CIDR that specifies the IP address range for this IPAM - configuration. - """ - ipam_pool_arn: str - """ - The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is - assigned to. - """ - anycast_ip: str | None = ... - """ - The specified Anycast IP address allocated from the IPAM pool for this - CIDR configuration. - """ - status: str | None = ... - """The current status of the IPAM CIDR configuration.""" - -class IpamCidrStatus(UnknownEnumMixin, StrEnum): - PROVISIONED = "provisioned" - FAILED_PROVISION = "failed-provision" - PROVISIONING = "provisioning" - DEPROVISIONED = "deprovisioned" - FAILED_DEPROVISION = "failed-deprovision" - DEPROVISIONING = "deprovisioning" - ADVERTISED = "advertised" - FAILED_ADVERTISE = "failed-advertise" - ADVERTISING = "advertising" - WITHDRAWN = "withdrawn" - FAILED_WITHDRAW = "failed-withdraw" - WITHDRAWING = "withdrawing" - -@dataclass(kw_only=True) -class IpamConfig(_SerdeShape): - """ - The configuration IPAM settings that includes the quantity of CIDR - configurations and the list of IPAM CIDR configurations. - """ - - quantity: int - """The number of IPAM CIDR configurations in the `IpamCidrConfigs` list.""" - ipam_cidr_configs: list[IpamCidrConfig] - """ - A list of IPAM CIDR configurations that define the IP address ranges, - IPAM pools, and associated Anycast IP addresses. - """ - -class ItemSelection(UnknownEnumMixin, StrEnum): - NONE = "none" - WHITELIST = "whitelist" - ALL = "all" - -@dataclass(kw_only=True) -class KeyGroup(_SerdeShape): - """ - A key group. - - A key group contains a list of public keys that you can use with - [CloudFront signed URLs and signed - cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html). - """ - - id: str - """The identifier for the key group.""" - last_modified_time: datetime - """The date and time when the key group was last modified.""" - key_group_config: KeyGroupConfig - """The key group configuration.""" - -@dataclass(kw_only=True) -class KeyGroupAlreadyExists(ServiceError, _SerdeShape): - """ - A key group with this name already exists. You must provide a unique - name. To modify an existing key group, use `UpdateKeyGroup`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KeyGroupConfig(_SerdeShape): - """ - A key group configuration. - - A key group contains a list of public keys that you can use with - [CloudFront signed URLs and signed - cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html). - """ - - name: str - """A name to identify the key group.""" - items: list[str] - """A list of the identifiers of the public keys in the key group.""" - comment: str | None = ... - """ - A comment to describe the key group. The comment cannot be longer than - 128 characters. - """ - -@dataclass(kw_only=True) -class KeyGroupList(_SerdeShape): - """A list of key groups.""" - - next_marker: str | None = ... - """ - If there are more items in the list than are in this response, this - element is present. It contains the value that you should use in the - `Marker` field of a subsequent request to continue listing key groups. - """ - max_items: int - """The maximum number of key groups requested.""" - quantity: int - """The number of key groups returned in the response.""" - items: list[KeyGroupSummary] | None = ... - """A list of key groups.""" - -@dataclass(kw_only=True) -class KeyGroupSummary(_SerdeShape): - """Contains information about a key group.""" - - key_group: KeyGroup - """A key group.""" - -@dataclass(kw_only=True) -class KeyPairIds(_SerdeShape): - """A list of CloudFront key pair identifiers.""" - - quantity: int - """The number of key pair identifiers in the list.""" - items: list[str] | None = ... - """A list of CloudFront key pair identifiers.""" - -@dataclass(kw_only=True) -class KeyValueStore(_SerdeShape): - """ - The key value store. Use this to separate data from function code, - allowing you to update data without having to publish a new version of a - function. The key value store holds keys and their corresponding values. - """ - - name: str - """The name of the key value store.""" - id: str - """The unique Id for the key value store.""" - comment: str - """A comment for the key value store.""" - arn: str - """The Amazon Resource Name (ARN) of the key value store.""" - status: str | None = ... - """The status of the key value store.""" - last_modified_time: datetime - """The last-modified time of the key value store.""" - -@dataclass(kw_only=True) -class KeyValueStoreAssociation(_SerdeShape): - """The key value store association.""" - - key_value_store_arn: str - """The Amazon Resource Name (ARN) of the key value store association.""" - -@dataclass(kw_only=True) -class KeyValueStoreAssociations(_SerdeShape): - """The key value store associations.""" - - quantity: int - """The quantity of key value store associations.""" - items: list[KeyValueStoreAssociation] | None = ... - """The items of the key value store association.""" - -@dataclass(kw_only=True) -class KeyValueStoreList(_SerdeShape): - """The key value store list.""" - - next_marker: str | None = ... - """The next marker associated with the key value store list.""" - max_items: int - """The maximum number of items in the key value store list.""" - quantity: int - """The quantity of the key value store list.""" - items: list[KeyValueStore] | None = ... - """The items of the key value store list.""" - -@dataclass(kw_only=True) -class KGKeyPairIds(_SerdeShape): - """ - A list of identifiers for the public keys that CloudFront can use to - verify the signatures of signed URLs and signed cookies. - """ - - key_group_id: str | None = ... - """The identifier of the key group that contains the public keys.""" - key_pair_ids: KeyPairIds | None = ... - """A list of CloudFront key pair identifiers.""" - -@dataclass(kw_only=True) -class KinesisStreamConfig(_SerdeShape): - """ - Contains information about the Amazon Kinesis data stream where you are - sending real-time log data. - """ - - role_arn: str - """ - The Amazon Resource Name (ARN) of an Identity and Access Management - (IAM) role that CloudFront can use to send real-time log data to your - Kinesis data stream. - - For more information the IAM role, see [Real-time log configuration IAM - role](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-iam-role) - in the *Amazon CloudFront Developer Guide*. - """ - stream_arn: str - """ - The Amazon Resource Name (ARN) of the Kinesis data stream where you are - sending real-time log data. - """ - -@dataclass(kw_only=True) -class LambdaFunctionAssociation(_SerdeShape): - """A complex type that contains a Lambda@Edge function association.""" - - lambda_function_arn: str - """ - The ARN of the Lambda@Edge function. You must specify the ARN of a - function version; you can't specify an alias or $LATEST. - """ - event_type: str - """ - Specifies the event type that triggers a Lambda@Edge function - invocation. You can specify the following values: - - - `viewer-request`: The function executes when CloudFront receives a - request from a viewer and before it checks to see whether the - requested object is in the edge cache. - - - `origin-request`: The function executes only when CloudFront sends a - request to your origin. When the requested object is in the edge - cache, the function doesn't execute. - - - `origin-response`: The function executes after CloudFront receives a - response from the origin and before it caches the object in the - response. When the requested object is in the edge cache, the function - doesn't execute. - - - `viewer-response`: The function executes before CloudFront returns the - requested object to the viewer. The function executes regardless of - whether the object was already in the edge cache. - - If the origin returns an HTTP status code other than HTTP 200 (OK), - the function doesn't execute. - """ - include_body: bool | None = ... - """ - A flag that allows a Lambda@Edge function to have read access to the - body content. For more information, see [Accessing the Request Body by - Choosing the Include Body - Option](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html) - in the Amazon CloudFront Developer Guide. - """ - -@dataclass(kw_only=True) -class LambdaFunctionAssociations(_SerdeShape): - """ - A complex type that specifies a list of Lambda@Edge functions - associations for a cache behavior. - - If you want to invoke one or more Lambda@Edge functions triggered by - requests that match the `PathPattern` of the cache behavior, specify the - applicable values for `Quantity` and `Items`. Note that there can be up - to 4 `LambdaFunctionAssociation` items in this list (one for each - possible value of `EventType`) and each `EventType` can be associated - with only one function. - - If you don't want to invoke any Lambda@Edge functions for the requests - that match `PathPattern`, specify `0` for `Quantity` and omit `Items`. - """ - - quantity: int - """The number of Lambda@Edge function associations for this cache behavior.""" - items: list[LambdaFunctionAssociation] | None = ... - """ - **Optional**: A complex type that contains `LambdaFunctionAssociation` - items for this cache behavior. If `Quantity` is `0`, you can omit - `Items`. - """ - -@dataclass(kw_only=True) -class ListAnycastIpListsInput(_SerdeShape): - """Dataclass for ListAnycastIpListsInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list. The response includes items in the list that occur after the - marker. To get the next page of the list, set this field's value to the - value of `NextMarker` from the current page's response. - """ - max_items: int | None = ... - """ - The maximum number of Anycast static IP lists that you want returned in - the response. - """ - -@dataclass(kw_only=True) -class ListAnycastIpListsOutput(_SerdeShape): - """Dataclass for ListAnycastIpListsOutput structure.""" - - anycast_ip_lists: AnycastIpListCollection | None = ... - """Root level tag for the `AnycastIpLists` parameters.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCachePoliciesInput(_SerdeShape): - """Dataclass for ListCachePoliciesInput structure.""" - - type: str | None = ... - """ - A filter to return only the specified kinds of cache policies. Valid - values are: - - - `managed` -- Returns only the managed policies created by Amazon Web - Services. - - - `custom` -- Returns only the custom policies created in your Amazon - Web Services account. - """ - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of cache policies. The response includes cache policies in the - list that occur after the marker. To get the next page of the list, set - this field's value to the value of `NextMarker` from the current - page's response. - """ - max_items: int | None = ... - """The maximum number of cache policies that you want in the response.""" - -@dataclass(kw_only=True) -class ListCachePoliciesOutput(_SerdeShape): - """Dataclass for ListCachePoliciesOutput structure.""" - - cache_policy_list: CachePolicyList | None = ... - """A list of cache policies.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCloudFrontOriginAccessIdentitiesInput(_SerdeShape): - """The request to list origin access identities.""" - - marker: str | None = ... - """ - Use this when paginating results to indicate where to begin in your list - of origin access identities. The results include identities in the list - that occur after the marker. To get the next page of results, set the - `Marker` to the value of the `NextMarker` from the current page's - response (which is also the ID of the last identity on that page). - """ - max_items: int | None = ... - """ - The maximum number of origin access identities you want in the response - body. - """ - -@dataclass(kw_only=True) -class ListCloudFrontOriginAccessIdentitiesOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - cloud_front_origin_access_identity_list: ( - CloudFrontOriginAccessIdentityList | None - ) = ... - """The `CloudFrontOriginAccessIdentityList` type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListConflictingAliasesInput(_SerdeShape): - """Dataclass for ListConflictingAliasesInput structure.""" - - distribution_id: str | None = ... - """ - The ID of a standard distribution in your account that has an attached - TLS certificate that includes the provided alias. - """ - alias: str | None = ... - """The alias (also called a CNAME) to search for conflicting aliases.""" - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in the - list of conflicting aliases. The response includes conflicting aliases - in the list that occur after the marker. To get the next page of the - list, set this field's value to the value of `NextMarker` from the - current page's response. - """ - max_items: int | None = ... - """The maximum number of conflicting aliases that you want in the response.""" - -@dataclass(kw_only=True) -class ListConflictingAliasesOutput(_SerdeShape): - """Dataclass for ListConflictingAliasesOutput structure.""" - - conflicting_aliases_list: ConflictingAliasesList | None = ... - """A list of conflicting aliases.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListConnectionFunctionsInput(_SerdeShape): - """Dataclass for ListConnectionFunctionsInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list. The response includes items in the list that occur after the - marker. To get the next page of the list, set this field's value to the - value of `NextMarker` from the current page's response. - """ - max_items: int | None = ... - """ - The maximum number of connection functions that you want returned in the - response. - """ - stage: str | None = ... - """The connection function's stage.""" - -@dataclass(kw_only=True) -class ListConnectionFunctionsOutput(_SerdeShape): - """Dataclass for ListConnectionFunctionsOutput structure.""" - - next_marker: str | None = ... - """ - Indicates the next page of connection functions. To get the next page of - the list, use this value in the `Marker` field of your request. - """ - connection_functions: list[ConnectionFunctionSummary] | None = ... - """A list of connection functions.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListConnectionGroupsInput(_SerdeShape): - """Dataclass for ListConnectionGroupsInput structure.""" - - association_filter: ConnectionGroupAssociationFilter | None = ... - """Filter by associated Anycast IP list ID.""" - marker: str | None = ... - """The marker for the next set of connection groups to retrieve.""" - max_items: int | None = ... - """The maximum number of connection groups to return.""" - -@dataclass(kw_only=True) -class ListConnectionGroupsOutput(_SerdeShape): - """Dataclass for ListConnectionGroupsOutput structure.""" - - next_marker: str | None = ... - """ - A token used for pagination of results returned in the response. You can - use the token from the previous request to define where the current - request should begin. - """ - connection_groups: list[ConnectionGroupSummary] | None = ... - """The list of connection groups that you retrieved.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListContinuousDeploymentPoliciesInput(_SerdeShape): - """Dataclass for ListContinuousDeploymentPoliciesInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of continuous deployment policies. The response includes - policies in the list that occur after the marker. To get the next page - of the list, set this field's value to the value of `NextMarker` from - the current page's response. - """ - max_items: int | None = ... - """ - The maximum number of continuous deployment policies that you want - returned in the response. - """ - -@dataclass(kw_only=True) -class ListContinuousDeploymentPoliciesOutput(_SerdeShape): - """Dataclass for ListContinuousDeploymentPoliciesOutput structure.""" - - continuous_deployment_policy_list: ContinuousDeploymentPolicyList | None = ... - """A list of continuous deployment policies.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByAnycastIpListIdInput(_SerdeShape): - """Dataclass for ListDistributionsByAnycastIpListIdInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list. The response includes items in the list that occur after the - marker. To get the next page of the list, set this field's value to the - value of `NextMarker` from the current page's response. - """ - max_items: int | None = ... - """ - The maximum number of distributions that you want returned in the - response. - """ - anycast_ip_list_id: str | None = ... - """The ID of the Anycast static IP list.""" - -@dataclass(kw_only=True) -class ListDistributionsByAnycastIpListIdOutput(_SerdeShape): - """Dataclass for ListDistributionsByAnycastIpListIdOutput structure.""" - - distribution_list: DistributionList | None = ... - """A distribution list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByCachePolicyIdInput(_SerdeShape): - """Dataclass for ListDistributionsByCachePolicyIdInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of distribution IDs. The response includes distribution IDs in - the list that occur after the marker. To get the next page of the list, - set this field's value to the value of `NextMarker` from the current - page's response. - """ - max_items: int | None = ... - """The maximum number of distribution IDs that you want in the response.""" - cache_policy_id: str | None = ... - """ - The ID of the cache policy whose associated distribution IDs you want to - list. - """ - -@dataclass(kw_only=True) -class ListDistributionsByCachePolicyIdOutput(_SerdeShape): - """Dataclass for ListDistributionsByCachePolicyIdOutput structure.""" - - distribution_id_list: DistributionIdList | None = ... - """A list of distribution IDs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByConnectionFunctionInput(_SerdeShape): - """Dataclass for ListDistributionsByConnectionFunctionInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list. The response includes items in the list that occur after the - marker. To get the next page of the list, set this field's value to the - value of `NextMarker` from the current page's response. - """ - max_items: int | None = ... - """ - The maximum number of distributions that you want returned in the - response. - """ - connection_function_identifier: str | None = ... - """The distributions by connection function identifier.""" - -@dataclass(kw_only=True) -class ListDistributionsByConnectionFunctionOutput(_SerdeShape): - """Dataclass for ListDistributionsByConnectionFunctionOutput structure.""" - - distribution_list: DistributionList | None = ... - """A distribution list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByConnectionModeInput(_SerdeShape): - """Dataclass for ListDistributionsByConnectionModeInput structure.""" - - marker: str | None = ... - """The marker for the next set of distributions to retrieve.""" - max_items: int | None = ... - """The maximum number of distributions to return.""" - connection_mode: str | None = ... - """ - This field specifies whether the connection mode is through a standard - distribution (direct) or a multi-tenant distribution with distribution - tenants (tenant-only). - """ - -@dataclass(kw_only=True) -class ListDistributionsByConnectionModeOutput(_SerdeShape): - """Dataclass for ListDistributionsByConnectionModeOutput structure.""" - - distribution_list: DistributionList | None = ... - """A distribution list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByKeyGroupInput(_SerdeShape): - """Dataclass for ListDistributionsByKeyGroupInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of distribution IDs. The response includes distribution IDs in - the list that occur after the marker. To get the next page of the list, - set this field's value to the value of `NextMarker` from the current - page's response. - """ - max_items: int | None = ... - """The maximum number of distribution IDs that you want in the response.""" - key_group_id: str | None = ... - """ - The ID of the key group whose associated distribution IDs you are - listing. - """ - -@dataclass(kw_only=True) -class ListDistributionsByKeyGroupOutput(_SerdeShape): - """Dataclass for ListDistributionsByKeyGroupOutput structure.""" - - distribution_id_list: DistributionIdList | None = ... - """A list of distribution IDs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByOriginRequestPolicyIdInput(_SerdeShape): - """Dataclass for ListDistributionsByOriginRequestPolicyIdInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of distribution IDs. The response includes distribution IDs in - the list that occur after the marker. To get the next page of the list, - set this field's value to the value of `NextMarker` from the current - page's response. - """ - max_items: int | None = ... - """The maximum number of distribution IDs that you want in the response.""" - origin_request_policy_id: str | None = ... - """ - The ID of the origin request policy whose associated distribution IDs - you want to list. - """ - -@dataclass(kw_only=True) -class ListDistributionsByOriginRequestPolicyIdOutput(_SerdeShape): - """Dataclass for ListDistributionsByOriginRequestPolicyIdOutput structure.""" - - distribution_id_list: DistributionIdList | None = ... - """A list of distribution IDs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByOwnedResourceInput(_SerdeShape): - """Dataclass for ListDistributionsByOwnedResourceInput structure.""" - - resource_arn: str | None = ... - """ - The ARN of the CloudFront resource that you've shared with other Amazon - Web Services accounts. - """ - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of distributions. The response includes distributions in the - list that occur after the marker. To get the next page of the list, set - this field's value to the value of `NextMarker` from the current - page's response. - """ - max_items: int | None = ... - """The maximum number of distributions to return.""" - -@dataclass(kw_only=True) -class ListDistributionsByOwnedResourceOutput(_SerdeShape): - """Dataclass for ListDistributionsByOwnedResourceOutput structure.""" - - distribution_list: DistributionIdOwnerList | None = ... - """The list of distributions that are using the shared resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByRealtimeLogConfigInput(_SerdeShape): - """Dataclass for ListDistributionsByRealtimeLogConfigInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of distributions. The response includes distributions in the - list that occur after the marker. To get the next page of the list, set - this field's value to the value of `NextMarker` from the current - page's response. - """ - max_items: int | None = ... - """The maximum number of distributions that you want in the response.""" - realtime_log_config_name: str | None = ... - """ - The name of the real-time log configuration whose associated - distributions you want to list. - """ - realtime_log_config_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the real-time log configuration whose - associated distributions you want to list. - """ - -@dataclass(kw_only=True) -class ListDistributionsByRealtimeLogConfigOutput(_SerdeShape): - """Dataclass for ListDistributionsByRealtimeLogConfigOutput structure.""" - - distribution_list: DistributionList | None = ... - """A distribution list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByResponseHeadersPolicyIdInput(_SerdeShape): - """Dataclass for ListDistributionsByResponseHeadersPolicyIdInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of distribution IDs. The response includes distribution IDs in - the list that occur after the marker. To get the next page of the list, - set this field's value to the value of `NextMarker` from the current - page's response. - """ - max_items: int | None = ... - """ - The maximum number of distribution IDs that you want to get in the - response. - """ - response_headers_policy_id: str | None = ... - """ - The ID of the response headers policy whose associated distribution IDs - you want to list. - """ - -@dataclass(kw_only=True) -class ListDistributionsByResponseHeadersPolicyIdOutput(_SerdeShape): - """ - Dataclass for ListDistributionsByResponseHeadersPolicyIdOutput - structure. - """ - - distribution_id_list: DistributionIdList | None = ... - """A list of distribution IDs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByTrustStoreInput(_SerdeShape): - """Dataclass for ListDistributionsByTrustStoreInput structure.""" - - trust_store_identifier: str | None = ... - """The distributions by trust store identifier.""" - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list. The response includes items in the list that occur after the - marker. To get the next page of the list, set this field's value to the - value of `NextMarker` from the current page's response. - """ - max_items: int | None = ... - """ - The maximum number of distributions that you want returned in the - response. - """ - -@dataclass(kw_only=True) -class ListDistributionsByTrustStoreOutput(_SerdeShape): - """Dataclass for ListDistributionsByTrustStoreOutput structure.""" - - distribution_list: DistributionList | None = ... - """A distribution list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByVpcOriginIdInput(_SerdeShape): - """Dataclass for ListDistributionsByVpcOriginIdInput structure.""" - - marker: str | None = ... - """The marker associated with the VPC origin distributions list.""" - max_items: int | None = ... - """The maximum number of items included in the list.""" - vpc_origin_id: str | None = ... - """The VPC origin ID.""" - -@dataclass(kw_only=True) -class ListDistributionsByVpcOriginIdOutput(_SerdeShape): - """Dataclass for ListDistributionsByVpcOriginIdOutput structure.""" - - distribution_id_list: DistributionIdList | None = ... - """A list of distribution IDs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsByWebACLIdInput(_SerdeShape): - """ - The request to list distributions that are associated with a specified - WAF web ACL. - """ - - marker: str | None = ... - """ - Use `Marker` and `MaxItems` to control pagination of results. If you - have more than `MaxItems` distributions that satisfy the request, the - response includes a `NextMarker` element. To get the next page of - results, submit another request. For the value of `Marker`, specify the - value of `NextMarker` from the last response. (For the first request, - omit `Marker`.) - """ - max_items: int | None = ... - """ - The maximum number of distributions that you want CloudFront to return - in the response body. The maximum and default values are both 100. - """ - web_acl_id: str | None = ... - """ - The ID of the WAF web ACL that you want to list the associated - distributions. If you specify \"null\" for the ID, the request returns a - list of the distributions that aren't associated with a web ACL. - - For WAFV2, this is the ARN of the web ACL, such as - `arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. - - For WAF Classic, this is the ID of the web ACL, such as - `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`. - """ - -@dataclass(kw_only=True) -class ListDistributionsByWebACLIdOutput(_SerdeShape): - """ - The response to a request to list the distributions that are associated - with a specified WAF web ACL. - """ - - distribution_list: DistributionList | None = ... - """The `DistributionList` type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionsInput(_SerdeShape): - """The request to list your distributions.""" - - marker: str | None = ... - """ - Use this when paginating results to indicate where to begin in your list - of distributions. The results include distributions in the list that - occur after the marker. To get the next page of results, set the - `Marker` to the value of the `NextMarker` from the current page's - response (which is also the ID of the last distribution on that page). - """ - max_items: int | None = ... - """The maximum number of distributions you want in the response body.""" - -@dataclass(kw_only=True) -class ListDistributionsOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - distribution_list: DistributionList | None = ... - """The `DistributionList` type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionTenantsByCustomizationInput(_SerdeShape): - """Dataclass for ListDistributionTenantsByCustomizationInput structure.""" - - web_acl_arn: str | None = ... - """Filter by the ARN of the associated WAF web ACL.""" - certificate_arn: str | None = ... - """Filter by the ARN of the associated ACM certificate.""" - marker: str | None = ... - """The marker for the next set of results.""" - max_items: int | None = ... - """ - The maximum number of distribution tenants to return by the specified - customization. - """ - -@dataclass(kw_only=True) -class ListDistributionTenantsByCustomizationOutput(_SerdeShape): - """Dataclass for ListDistributionTenantsByCustomizationOutput structure.""" - - next_marker: str | None = ... - """ - A token used for pagination of results returned in the response. You can - use the token from the previous request to define where the current - request should begin. - """ - distribution_tenant_list: list[DistributionTenantSummary] | None = ... - """A list of distribution tenants with the specified customization.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDistributionTenantsInput(_SerdeShape): - """Dataclass for ListDistributionTenantsInput structure.""" - - association_filter: DistributionTenantAssociationFilter | None = ... - """Filter by the associated distribution ID or connection group ID.""" - marker: str | None = ... - """The marker for the next set of results.""" - max_items: int | None = ... - """The maximum number of distribution tenants to return.""" - -@dataclass(kw_only=True) -class ListDistributionTenantsOutput(_SerdeShape): - """Dataclass for ListDistributionTenantsOutput structure.""" - - next_marker: str | None = ... - """ - A token used for pagination of results returned in the response. You can - use the token from the previous request to define where the current - request should begin. - """ - distribution_tenant_list: list[DistributionTenantSummary] | None = ... - """The list of distribution tenants that you retrieved.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDomainConflictsInput(_SerdeShape): - """Dataclass for ListDomainConflictsInput structure.""" - - domain: str | None = ... - """The domain to check for conflicts.""" - domain_control_validation_resource: DistributionResourceId | None = ... - """ - The distribution resource identifier. This can be the standard - distribution or distribution tenant that has a valid certificate, which - covers the domain that you specify. - """ - max_items: int | None = ... - """The maximum number of domain conflicts to return.""" - marker: str | None = ... - """The marker for the next set of domain conflicts.""" - -@dataclass(kw_only=True) -class ListDomainConflictsOutput(_SerdeShape): - """Dataclass for ListDomainConflictsOutput structure.""" - - domain_conflicts: list[DomainConflict] | None = ... - """Contains details about the domain conflicts.""" - next_marker: str | None = ... - """ - A token used for pagination of results returned in the response. You can - use the token from the previous request to define where the current - request should begin. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFieldLevelEncryptionConfigsInput(_SerdeShape): - """Dataclass for ListFieldLevelEncryptionConfigsInput structure.""" - - marker: str | None = ... - """ - Use this when paginating results to indicate where to begin in your list - of configurations. The results include configurations in the list that - occur after the marker. To get the next page of results, set the - `Marker` to the value of the `NextMarker` from the current page's - response (which is also the ID of the last configuration on that page). - """ - max_items: int | None = ... - """ - The maximum number of field-level encryption configurations you want in - the response body. - """ - -@dataclass(kw_only=True) -class ListFieldLevelEncryptionConfigsOutput(_SerdeShape): - """Dataclass for ListFieldLevelEncryptionConfigsOutput structure.""" - - field_level_encryption_list: FieldLevelEncryptionList | None = ... - """ - Returns a list of all field-level encryption configurations that have - been created in CloudFront for this account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFieldLevelEncryptionProfilesInput(_SerdeShape): - """Dataclass for ListFieldLevelEncryptionProfilesInput structure.""" - - marker: str | None = ... - """ - Use this when paginating results to indicate where to begin in your list - of profiles. The results include profiles in the list that occur after - the marker. To get the next page of results, set the `Marker` to the - value of the `NextMarker` from the current page's response (which is - also the ID of the last profile on that page). - """ - max_items: int | None = ... - """ - The maximum number of field-level encryption profiles you want in the - response body. - """ - -@dataclass(kw_only=True) -class ListFieldLevelEncryptionProfilesOutput(_SerdeShape): - """Dataclass for ListFieldLevelEncryptionProfilesOutput structure.""" - - field_level_encryption_profile_list: FieldLevelEncryptionProfileList | None = ... - """ - Returns a list of the field-level encryption profiles that have been - created in CloudFront for this account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFunctionsInput(_SerdeShape): - """Dataclass for ListFunctionsInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of functions. The response includes functions in the list that - occur after the marker. To get the next page of the list, set this - field's value to the value of `NextMarker` from the current page's - response. - """ - max_items: int | None = ... - """The maximum number of functions that you want in the response.""" - stage: str | None = ... - """ - An optional filter to return only the functions that are in the - specified stage, either `DEVELOPMENT` or `LIVE`. - """ - -@dataclass(kw_only=True) -class ListFunctionsOutput(_SerdeShape): - """Dataclass for ListFunctionsOutput structure.""" - - function_list: FunctionList | None = ... - """A list of CloudFront functions.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInvalidationsForDistributionTenantInput(_SerdeShape): - """Dataclass for ListInvalidationsForDistributionTenantInput structure.""" - - id: str | None = ... - """The ID of the distribution tenant.""" - marker: str | None = ... - """ - Use this parameter when paginating results to indicate where to begin in - your list of invalidation batches. Because the results are returned in - decreasing order from most recent to oldest, the most recent results are - on the first page, the second page will contain earlier results, and so - on. To get the next page of results, set `Marker` to the value of the - `NextMarker` from the current page's response. This value is the same - as the ID of the last invalidation batch on that page. - """ - max_items: int | None = ... - """ - The maximum number of invalidations to return for the distribution - tenant. - """ - -@dataclass(kw_only=True) -class ListInvalidationsForDistributionTenantOutput(_SerdeShape): - """Dataclass for ListInvalidationsForDistributionTenantOutput structure.""" - - invalidation_list: InvalidationList | None = ... - """ - The `InvalidationList` complex type describes the list of invalidation - objects. For more information about invalidation, see [Invalidating - Objects (Web Distributions - Only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) - in the *Amazon CloudFront Developer Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInvalidationsInput(_SerdeShape): - """The request to list invalidations.""" - - distribution_id: str | None = ... - """The distribution's ID.""" - marker: str | None = ... - """ - Use this parameter when paginating results to indicate where to begin in - your list of invalidation batches. Because the results are returned in - decreasing order from most recent to oldest, the most recent results are - on the first page, the second page will contain earlier results, and so - on. To get the next page of results, set `Marker` to the value of the - `NextMarker` from the current page's response. This value is the same - as the ID of the last invalidation batch on that page. - """ - max_items: int | None = ... - """ - The maximum number of invalidation batches that you want in the response - body. - """ - -@dataclass(kw_only=True) -class ListInvalidationsOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - invalidation_list: InvalidationList | None = ... - """Information about invalidation batches.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListKeyGroupsInput(_SerdeShape): - """Dataclass for ListKeyGroupsInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of key groups. The response includes key groups in the list - that occur after the marker. To get the next page of the list, set this - field's value to the value of `NextMarker` from the current page's - response. - """ - max_items: int | None = ... - """The maximum number of key groups that you want in the response.""" - -@dataclass(kw_only=True) -class ListKeyGroupsOutput(_SerdeShape): - """Dataclass for ListKeyGroupsOutput structure.""" - - key_group_list: KeyGroupList | None = ... - """A list of key groups.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListKeyValueStoresInput(_SerdeShape): - """Dataclass for ListKeyValueStoresInput structure.""" - - marker: str | None = ... - """The marker associated with the key value stores list.""" - max_items: int | None = ... - """The maximum number of items in the key value stores list.""" - status: str | None = ... - """The status of the request for the key value stores list.""" - -@dataclass(kw_only=True) -class ListKeyValueStoresOutput(_SerdeShape): - """Dataclass for ListKeyValueStoresOutput structure.""" - - key_value_store_list: KeyValueStoreList | None = ... - """The resulting key value stores list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListOriginAccessControlsInput(_SerdeShape): - """Dataclass for ListOriginAccessControlsInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of origin access controls. The response includes the items in - the list that occur after the marker. To get the next page of the list, - set this field's value to the value of `NextMarker` from the current - page's response. - """ - max_items: int | None = ... - """ - The maximum number of origin access controls that you want in the - response. - """ - -@dataclass(kw_only=True) -class ListOriginAccessControlsOutput(_SerdeShape): - """Dataclass for ListOriginAccessControlsOutput structure.""" - - origin_access_control_list: OriginAccessControlList | None = ... - """A list of origin access controls.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListOriginRequestPoliciesInput(_SerdeShape): - """Dataclass for ListOriginRequestPoliciesInput structure.""" - - type: str | None = ... - """ - A filter to return only the specified kinds of origin request policies. - Valid values are: - - - `managed` -- Returns only the managed policies created by Amazon Web - Services. - - - `custom` -- Returns only the custom policies created in your Amazon - Web Services account. - """ - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of origin request policies. The response includes origin - request policies in the list that occur after the marker. To get the - next page of the list, set this field's value to the value of - `NextMarker` from the current page's response. - """ - max_items: int | None = ... - """ - The maximum number of origin request policies that you want in the - response. - """ - -@dataclass(kw_only=True) -class ListOriginRequestPoliciesOutput(_SerdeShape): - """Dataclass for ListOriginRequestPoliciesOutput structure.""" - - origin_request_policy_list: OriginRequestPolicyList | None = ... - """A list of origin request policies.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPublicKeysInput(_SerdeShape): - """Dataclass for ListPublicKeysInput structure.""" - - marker: str | None = ... - """ - Use this when paginating results to indicate where to begin in your list - of public keys. The results include public keys in the list that occur - after the marker. To get the next page of results, set the `Marker` to - the value of the `NextMarker` from the current page's response (which - is also the ID of the last public key on that page). - """ - max_items: int | None = ... - """The maximum number of public keys you want in the response body.""" - -@dataclass(kw_only=True) -class ListPublicKeysOutput(_SerdeShape): - """Dataclass for ListPublicKeysOutput structure.""" - - public_key_list: PublicKeyList | None = ... - """ - Returns a list of all public keys that have been added to CloudFront for - this account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRealtimeLogConfigsInput(_SerdeShape): - """Dataclass for ListRealtimeLogConfigsInput structure.""" - - max_items: int | None = ... - """ - The maximum number of real-time log configurations that you want in the - response. - """ - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of real-time log configurations. The response includes - real-time log configurations in the list that occur after the marker. To - get the next page of the list, set this field's value to the value of - `NextMarker` from the current page's response. - """ - -@dataclass(kw_only=True) -class ListRealtimeLogConfigsOutput(_SerdeShape): - """Dataclass for ListRealtimeLogConfigsOutput structure.""" - - realtime_log_configs: RealtimeLogConfigs | None = ... - """A list of real-time log configurations.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListResponseHeadersPoliciesInput(_SerdeShape): - """Dataclass for ListResponseHeadersPoliciesInput structure.""" - - type: str | None = ... - """ - A filter to get only the specified kind of response headers policies. - Valid values are: - - - `managed` -- Gets only the managed policies created by Amazon Web - Services. - - - `custom` -- Gets only the custom policies created in your Amazon Web - Services account. - """ - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list of response headers policies. The response includes response - headers policies in the list that occur after the marker. To get the - next page of the list, set this field's value to the value of - `NextMarker` from the current page's response. - """ - max_items: int | None = ... - """ - The maximum number of response headers policies that you want to get in - the response. - """ - -@dataclass(kw_only=True) -class ListResponseHeadersPoliciesOutput(_SerdeShape): - """Dataclass for ListResponseHeadersPoliciesOutput structure.""" - - response_headers_policy_list: ResponseHeadersPolicyList | None = ... - """A list of response headers policies.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListStreamingDistributionsInput(_SerdeShape): - """The request to list your streaming distributions.""" - - marker: str | None = ... - """The value that you provided for the `Marker` request parameter.""" - max_items: int | None = ... - """The value that you provided for the `MaxItems` request parameter.""" - -@dataclass(kw_only=True) -class ListStreamingDistributionsOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - streaming_distribution_list: StreamingDistributionList | None = ... - """The `StreamingDistributionList` type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceInput(_SerdeShape): - """The request to list tags for a CloudFront resource.""" - - resource: str | None = ... - """An ARN of a CloudFront resource.""" - -@dataclass(kw_only=True) -class ListTagsForResourceOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - tags: Tags - """A complex type that contains zero or more `Tag` elements.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTrustStoresInput(_SerdeShape): - """Dataclass for ListTrustStoresInput structure.""" - - marker: str | None = ... - """ - Use this field when paginating results to indicate where to begin in - your list. The response includes items in the list that occur after the - marker. To get the next page of the list, set this field's value to the - value of `NextMarker` from the current page's response. - """ - max_items: int | None = ... - """ - The maximum number of trust stores that you want returned in the - response. - """ - -@dataclass(kw_only=True) -class ListTrustStoresOutput(_SerdeShape): - """Dataclass for ListTrustStoresOutput structure.""" - - next_marker: str | None = ... - """ - Indicates the next page of trust stores. To get the next page of the - list, use this value in the `Marker` field of your request. - """ - trust_store_list: list[TrustStoreSummary] | None = ... - """The trust store list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListVpcOriginsInput(_SerdeShape): - """Dataclass for ListVpcOriginsInput structure.""" - - marker: str | None = ... - """The marker associated with the VPC origins list.""" - max_items: int | None = ... - """The maximum number of items included in the list.""" - -@dataclass(kw_only=True) -class ListVpcOriginsOutput(_SerdeShape): - """Dataclass for ListVpcOriginsOutput structure.""" - - vpc_origin_list: VpcOriginList | None = ... - """List of VPC origins.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LoggingConfig(_SerdeShape): - """ - A complex type that specifies whether access logs are written for the - distribution. - - Note: - If you already enabled standard logging (legacy) and you want to enable - standard logging (v2) to send your access logs to Amazon S3, we - recommend that you specify a *different* Amazon S3 bucket or use a - *separate path* in the same bucket (for example, use a log prefix or - partitioning). This helps you keep track of which log files are - associated with which logging subscription and prevents log files from - overwriting each other. For more information, see [Standard logging - (access - logs)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html) - in the *Amazon CloudFront Developer Guide*. - """ - - enabled: bool = ... - """ - Specifies whether you want CloudFront to save access logs to an Amazon - S3 bucket. If you don't want to enable logging when you create a - distribution or if you want to disable logging for an existing - distribution, specify `false` for `Enabled`, and specify empty `Bucket` - and `Prefix` elements. If you specify `false` for `Enabled` but you - specify values for `Bucket` and `prefix`, the values are automatically - deleted. - """ - include_cookies: bool = ... - """ - Specifies whether you want CloudFront to include cookies in access logs, - specify `true` for `IncludeCookies`. If you choose to include cookies in - logs, CloudFront logs all cookies regardless of how you configure the - cache behaviors for this distribution. If you don't want to include - cookies when you create a distribution or if you want to disable include - cookies for an existing distribution, specify `false` for - `IncludeCookies`. - """ - bucket: str = ... - """ - The Amazon S3 bucket to store the access logs in, for example, - `amzn-s3-demo-bucket.s3.amazonaws.com`. - """ - prefix: str = ... - """ - An optional string that you want CloudFront to prefix to the access log - `filenames` for this distribution, for example, `myprefix/`. If you want - to enable logging, but you don't want to specify a prefix, you still - must include an empty `Prefix` element in the `Logging` element. - """ - -@dataclass(kw_only=True) -class ManagedCertificateDetails(_SerdeShape): - """Contains details about the CloudFront managed ACM certificate.""" - - certificate_arn: str | None = ... - """The ARN of the CloudFront managed ACM certificate.""" - certificate_status: str | None = ... - """ - The status of the CloudFront managed ACM certificate. - - Note: - Your distribution tenant will be updated with the latest certificate - status. When calling the - [UpdateDistributionTenant](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistributionTenant.html) - operation, use the latest value for the `ETag`. - """ - validation_token_host: str | None = ... - """ - Contains details about the validation token host of the specified - CloudFront managed ACM certificate. - - - For `cloudfront`, CloudFront will automatically serve the validation - token. Choose this mode if you can point the domain's DNS to - CloudFront immediately. - - - For `self-hosted`, you serve the validation token from your existing - infrastructure. Choose this mode when you need to maintain current - traffic flow while your certificate is being issued. You can place the - validation token at the well-known path on your existing web server, - wait for ACM to validate and issue the certificate, and then update - your DNS to point to CloudFront. - - Note: - This setting only affects the initial certificate request. Once the DNS - points to CloudFront, all future certificate renewals are automatically - handled through CloudFront. - """ - validation_token_details: list[ValidationTokenDetail] | None = ... - """ - Contains details about the validation token of the specified CloudFront - managed ACM certificate. - """ - -@dataclass(kw_only=True) -class ManagedCertificateRequest(_SerdeShape): - """ - An object that represents the request for the Amazon CloudFront managed - ACM certificate. - """ - - validation_token_host: str - """ - Specify how the HTTP validation token will be served when requesting the - CloudFront managed ACM certificate. - - - For `cloudfront`, CloudFront will automatically serve the validation - token. Choose this mode if you can point the domain's DNS to - CloudFront immediately. - - - For `self-hosted`, you serve the validation token from your existing - infrastructure. Choose this mode when you need to maintain current - traffic flow while your certificate is being issued. You can place the - validation token at the well-known path on your existing web server, - wait for ACM to validate and issue the certificate, and then update - your DNS to point to CloudFront. - """ - primary_domain_name: str | None = ... - """ - The primary domain name associated with the CloudFront managed ACM - certificate. - """ - certificate_transparency_logging_preference: str | None = ... - """ - You can opt out of certificate transparency logging by specifying the - `disabled` option. Opt in by specifying `enabled`. For more information, - see [Certificate Transparency - Logging](https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency) - in the *Certificate Manager User Guide*. - """ - -class ManagedCertificateStatus(UnknownEnumMixin, StrEnum): - PENDING_VALIDATION = "pending-validation" - ISSUED = "issued" - INACTIVE = "inactive" - EXPIRED = "expired" - VALIDATION_TIMED_OUT = "validation-timed-out" - REVOKED = "revoked" - FAILED = "failed" - -class Method(UnknownEnumMixin, StrEnum): - GET = "GET" - HEAD = "HEAD" - POST = "POST" - PUT = "PUT" - PATCH = "PATCH" - OPTIONS = "OPTIONS" - DELETE = "DELETE" - -class MinimumProtocolVersion(UnknownEnumMixin, StrEnum): - SS_LV3 = "SSLv3" - TL_SV1 = "TLSv1" - TL_SV1_2016 = "TLSv1_2016" - TL_SV1_1_2016 = "TLSv1.1_2016" - TL_SV1_2_2018 = "TLSv1.2_2018" - TL_SV1_2_2019 = "TLSv1.2_2019" - TL_SV1_2_2021 = "TLSv1.2_2021" - TL_SV1_3_2025 = "TLSv1.3_2025" - TL_SV1_2_2025 = "TLSv1.2_2025" - -@dataclass(kw_only=True) -class MissingBody(ServiceError, _SerdeShape): - """ - This operation requires a body. Ensure that the body is present and the - `Content-Type` header is set. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class MonitoringSubscription(_SerdeShape): - """ - A monitoring subscription. This structure contains information about - whether additional CloudWatch metrics are enabled for a given CloudFront - distribution. - """ - - realtime_metrics_subscription_config: RealtimeMetricsSubscriptionConfig | None = ... - """A subscription configuration for additional CloudWatch metrics.""" - -@dataclass(kw_only=True) -class MonitoringSubscriptionAlreadyExists(ServiceError, _SerdeShape): - """A monitoring subscription already exists for the specified distribution.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchCachePolicy(ServiceError, _SerdeShape): - """The cache policy does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchCloudFrontOriginAccessIdentity(ServiceError, _SerdeShape): - """The specified origin access identity does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchContinuousDeploymentPolicy(ServiceError, _SerdeShape): - """The continuous deployment policy doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchDistribution(ServiceError, _SerdeShape): - """The specified distribution does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchFieldLevelEncryptionConfig(ServiceError, _SerdeShape): - """The specified configuration for field-level encryption doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchFieldLevelEncryptionProfile(ServiceError, _SerdeShape): - """The specified profile for field-level encryption doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchFunctionExists(ServiceError, _SerdeShape): - """The function does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchInvalidation(ServiceError, _SerdeShape): - """The specified invalidation does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchMonitoringSubscription(ServiceError, _SerdeShape): - """A monitoring subscription does not exist for the specified distribution.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchOrigin(ServiceError, _SerdeShape): - """No origin exists with the specified `Origin Id`.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchOriginAccessControl(ServiceError, _SerdeShape): - """The origin access control does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchOriginRequestPolicy(ServiceError, _SerdeShape): - """The origin request policy does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchPublicKey(ServiceError, _SerdeShape): - """The specified public key doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchRealtimeLogConfig(ServiceError, _SerdeShape): - """The real-time log configuration does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchResource(ServiceError, _SerdeShape): - """A resource that was specified is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchResponseHeadersPolicy(ServiceError, _SerdeShape): - """The response headers policy does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchStreamingDistribution(ServiceError, _SerdeShape): - """The specified streaming distribution does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Origin(_SerdeShape): - """ - An origin. - - An origin is the location where content is stored, and from which - CloudFront gets content to serve to viewers. To specify an origin: - - - Use `S3OriginConfig` to specify an Amazon S3 bucket that is not - configured with static website hosting. - - - Use `VpcOriginConfig` to specify a VPC origin. - - - Use `CustomOriginConfig` to specify all other kinds of origins, - including: - - - An Amazon S3 bucket that is configured with static website hosting - - - An Elastic Load Balancing load balancer - - - An Elemental MediaPackage endpoint - - - An Elemental MediaStore container - - - Any other HTTP server, running on an Amazon EC2 instance or any - other kind of host - - For the current maximum number of origins that you can specify per - distribution, see [General Quotas on Web - Distributions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-web-distributions) - in the *Amazon CloudFront Developer Guide* (quotas were formerly - referred to as limits). - """ - - id: str - """ - A unique identifier for the origin. This value must be unique within the - distribution. - - Use this value to specify the `TargetOriginId` in a `CacheBehavior` or - `DefaultCacheBehavior`. - """ - domain_name: str - """ - The domain name for the origin. - - For more information, see [Origin Domain - Name](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesDomainName) - in the *Amazon CloudFront Developer Guide*. - """ - origin_path: str | None = ... - """ - An optional path that CloudFront appends to the origin domain name when - CloudFront requests content from the origin. - - For more information, see [Origin - Path](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginPath) - in the *Amazon CloudFront Developer Guide*. - """ - custom_headers: CustomHeaders | None = ... - """ - A list of HTTP header names and values that CloudFront adds to the - requests that it sends to the origin. - - For more information, see [Adding Custom Headers to Origin - Requests](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html) - in the *Amazon CloudFront Developer Guide*. - """ - s3_origin_config: S3OriginConfig | None = ... - """ - Use this type to specify an origin that is an Amazon S3 bucket that is - not configured with static website hosting. To specify any other type of - origin, including an Amazon S3 bucket that is configured with static - website hosting, use the `CustomOriginConfig` type instead. - """ - custom_origin_config: CustomOriginConfig | None = ... - """ - Use this type to specify an origin that is not an Amazon S3 bucket, with - one exception. If the Amazon S3 bucket is configured with static website - hosting, use this type. If the Amazon S3 bucket is not configured with - static website hosting, use the `S3OriginConfig` type instead. - """ - vpc_origin_config: VpcOriginConfig | None = ... - """The VPC origin configuration.""" - connection_attempts: int | None = ... - """ - The number of times that CloudFront attempts to connect to the origin. - The minimum number is 1, the maximum is 3, and the default (if you - don't specify otherwise) is 3. - - For a custom origin (including an Amazon S3 bucket that's configured - with static website hosting), this value also specifies the number of - times that CloudFront attempts to get a response from the origin, in the - case of an [Origin Response - Timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout). - - For more information, see [Origin Connection - Attempts](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-attempts) - in the *Amazon CloudFront Developer Guide*. - """ - connection_timeout: int | None = ... - """ - The number of seconds that CloudFront waits when trying to establish a - connection to the origin. The minimum timeout is 1 second, the maximum - is 10 seconds, and the default (if you don't specify otherwise) is 10 - seconds. - - For more information, see [Origin Connection - Timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-timeout) - in the *Amazon CloudFront Developer Guide*. - """ - response_completion_timeout: int | None = ... - """ - The time (in seconds) that a request from CloudFront to the origin can - stay open and wait for a response. If the complete response isn't - received from the origin by this time, CloudFront ends the connection. - - The value for `ResponseCompletionTimeout` must be equal to or greater - than the value for `OriginReadTimeout`. If you don't set a value for - `ResponseCompletionTimeout`, CloudFront doesn't enforce a maximum - value. - - For more information, see [Response completion - timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout) - in the *Amazon CloudFront Developer Guide*. - """ - origin_shield: OriginShield | None = ... - """ - CloudFront Origin Shield. Using Origin Shield can help reduce the load - on your origin. - - For more information, see [Using Origin - Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) - in the *Amazon CloudFront Developer Guide*. - """ - origin_access_control_id: str | None = ... - """ - The unique identifier of an origin access control for this origin. - - For more information, see [Restricting access to an Amazon S3 - origin](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class OriginAccessControl(_SerdeShape): - """A CloudFront origin access control, including its unique identifier.""" - - id: str - """The unique identifier of the origin access control.""" - origin_access_control_config: OriginAccessControlConfig | None = ... - """The origin access control.""" - -@dataclass(kw_only=True) -class OriginAccessControlAlreadyExists(ServiceError, _SerdeShape): - """An origin access control with the specified parameters already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OriginAccessControlConfig(_SerdeShape): - """A CloudFront origin access control configuration.""" - - name: str - """ - A name to identify the origin access control. You can specify up to 64 - characters. - """ - description: str | None = ... - """A description of the origin access control.""" - signing_protocol: str - """ - The signing protocol of the origin access control, which determines how - CloudFront signs (authenticates) requests. The only valid values are - `sigv4` and `sigv4a`. - """ - signing_behavior: str - """ - Specifies which requests CloudFront signs (adds authentication - information to). Specify `always` for the most common use case. For more - information, see [origin access control advanced - settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings) - in the *Amazon CloudFront Developer Guide*. - - This field can have one of the following values: - - - `always` -- CloudFront signs all origin requests, overwriting the - `Authorization` header from the viewer request if one exists. - - - `never` -- CloudFront doesn't sign any origin requests. This value - turns off origin access control for all origins in all distributions - that use this origin access control. - - - `no-override` -- If the viewer request doesn't contain the - `Authorization` header, then CloudFront signs the origin request. If - the viewer request contains the `Authorization` header, then - CloudFront doesn't sign the origin request and instead passes along - the `Authorization` header from the viewer request. **WARNING: To pass - along the `Authorization` header from the viewer request, you *must* - add the `Authorization` header to a [cache - policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) - for all cache behaviors that use origins associated with this origin - access control.** - - - `always-amz-auth` -- CloudFront signs all origin requests with Amazon - authentication headers. If the viewer request contains the - `Authorization` header, then CloudFront also forwards that header to - the origin. This value is only valid with Lambda-Web origins. - **WARNING: To forward the `Authorization` header from the viewer - request, you *must* add the `Authorization` header to a [cache - policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) - for all cache behaviors that use origins associated with this origin - access control.** - """ - origin_access_control_origin_type: str - """The type of origin that this origin access control is for.""" - -@dataclass(kw_only=True) -class OriginAccessControlInUse(ServiceError, _SerdeShape): - """ - Cannot delete the origin access control because it's in use by one or - more distributions. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OriginAccessControlList(_SerdeShape): - """A list of CloudFront origin access controls.""" - - marker: str - """The value of the `Marker` field that was provided in the request.""" - next_marker: str | None = ... - """ - If there are more items in the list than are in this response, this - element is present. It contains the value to use in the `Marker` field - of another request to continue listing origin access controls. - """ - max_items: int - """The maximum number of origin access controls requested.""" - is_truncated: bool - """ - If there are more items in the list than are in this response, this - value is `true`. - """ - quantity: int - """The number of origin access controls returned in the response.""" - items: list[OriginAccessControlSummary] | None = ... - """Contains the origin access controls in the list.""" - -class OriginAccessControlOriginTypes(UnknownEnumMixin, StrEnum): - S3 = "s3" - MEDIASTORE = "mediastore" - MEDIAPACKAGEV2 = "mediapackagev2" - LAMBDA_ = "lambda" - -class OriginAccessControlSigningBehaviors(UnknownEnumMixin, StrEnum): - NEVER = "never" - ALWAYS = "always" - NO_OVERRIDE = "no-override" - ALWAYS_AMZ_AUTH = "always-amz-auth" - -class OriginAccessControlSigningProtocols(UnknownEnumMixin, StrEnum): - SIGV4 = "sigv4" - SIGV4A = "sigv4a" - -@dataclass(kw_only=True) -class OriginAccessControlSummary(_SerdeShape): - """A CloudFront origin access control.""" - - id: str - """The unique identifier of the origin access control.""" - description: str - """A description of the origin access control.""" - name: str - """A unique name that identifies the origin access control.""" - signing_protocol: str - """ - The signing protocol of the origin access control. The signing protocol - determines how CloudFront signs (authenticates) requests. The only valid - values are `sigv4` and `sigv4a`. - """ - signing_behavior: str - """ - A value that specifies which requests CloudFront signs (adds - authentication information to). This field can have one of the following - values: - - - `never` -- CloudFront doesn't sign any origin requests. - - - `always` -- CloudFront signs all origin requests, overwriting the - `Authorization` header from the viewer request if necessary. - - - `no-override` -- If the viewer request doesn't contain the - `Authorization` header, CloudFront signs the origin request. If the - viewer request contains the `Authorization` header, CloudFront - doesn't sign the origin request, but instead passes along the - `Authorization` header that it received in the viewer request. - - - `always-amz-auth` -- CloudFront signs all origin requests with Amazon - authentication headers, and forwards the viewer's `Authorization` - header to the origin if one is present. This value is only valid with - Lambda-Web origins. - """ - origin_access_control_origin_type: str - """The type of origin that this origin access control is for.""" - -@dataclass(kw_only=True) -class OriginCustomHeader(_SerdeShape): - """ - A complex type that contains `HeaderName` and `HeaderValue` elements, if - any, for this distribution. - """ - - header_name: str - """ - The name of a header that you want CloudFront to send to your origin. - For more information, see [Adding Custom Headers to Origin - Requests](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/forward-custom-headers.html) - in the *Amazon CloudFront Developer Guide*. - """ - header_value: str - """The value for the header that you specified in the `HeaderName` field.""" - -@dataclass(kw_only=True) -class OriginGroup(_SerdeShape): - """ - An origin group includes two origins (a primary origin and a secondary - origin to failover to) and a failover criteria that you specify. You - create an origin group to support origin failover in CloudFront. When - you create or update a distribution, you can specify the origin group - instead of a single origin, and CloudFront will failover from the - primary origin to the secondary origin under the failover conditions - that you've chosen. - - Optionally, you can choose selection criteria for your origin group to - specify how your origins are selected when your distribution routes - viewer requests. - """ - - id: str - """The origin group's ID.""" - failover_criteria: OriginGroupFailoverCriteria - """ - A complex type that contains information about the failover criteria for - an origin group. - """ - members: OriginGroupMembers - """ - A complex type that contains information about the origins in an origin - group. - """ - selection_criteria: str | None = ... - """ - The selection criteria for the origin group. For more information, see - [Create an origin - group](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/high_availability_origin_failover.html#concept_origin_groups.creating) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class OriginGroupFailoverCriteria(_SerdeShape): - """ - A complex data type that includes information about the failover - criteria for an origin group, including the status codes for which - CloudFront will failover from the primary origin to the second origin. - """ - - status_codes: StatusCodes - """ - The status codes that, when returned from the primary origin, will - trigger CloudFront to failover to the second origin. - """ - -@dataclass(kw_only=True) -class OriginGroupMember(_SerdeShape): - """An origin in an origin group.""" - - origin_id: str - """The ID for an origin in an origin group.""" - -@dataclass(kw_only=True) -class OriginGroupMembers(_SerdeShape): - """A complex data type for the origins included in an origin group.""" - - quantity: int - """The number of origins in an origin group.""" - items: list[OriginGroupMember] - """Items (origins) in an origin group.""" - -@dataclass(kw_only=True) -class OriginGroups(_SerdeShape): - """A complex data type for the origin groups specified for a distribution.""" - - quantity: int - """The number of origin groups.""" - items: list[OriginGroup] | None = ... - """The items (origin groups) in a distribution.""" - -class OriginGroupSelectionCriteria(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - MEDIA_QUALITY_BASED = "media-quality-based" - -@dataclass(kw_only=True) -class OriginMtlsConfig(_SerdeShape): - """ - Configures mutual TLS authentication between CloudFront and your origin - server. - """ - - client_certificate_arn: str - """ - The Amazon Resource Name (ARN) of the client certificate stored in - Amazon Web Services Certificate Manager (ACM) that CloudFront uses to - authenticate with your origin using Mutual TLS. - """ - -class OriginProtocolPolicy(UnknownEnumMixin, StrEnum): - HTTP_ONLY = "http-only" - MATCH_VIEWER = "match-viewer" - HTTPS_ONLY = "https-only" - -@dataclass(kw_only=True) -class OriginRequestPolicy(_SerdeShape): - """ - An origin request policy. - - When it's attached to a cache behavior, the origin request policy - determines the values that CloudFront includes in requests that it sends - to the origin. Each request that CloudFront sends to the origin includes - the following: - - - The request body and the URL path (without the domain name) from the - viewer request. - - - The headers that CloudFront automatically includes in every origin - request, including `Host`, `User-Agent`, and `X-Amz-Cf-Id`. - - - All HTTP headers, cookies, and URL query strings that are specified in - the cache policy or the origin request policy. These can include items - from the viewer request and, in the case of headers, additional ones - that are added by CloudFront. - - CloudFront sends a request when it can't find an object in its cache - that matches the request. If you want to send values to the origin and - also include them in the cache key, use `CachePolicy`. - """ - - id: str - """The unique identifier for the origin request policy.""" - last_modified_time: datetime - """The date and time when the origin request policy was last modified.""" - origin_request_policy_config: OriginRequestPolicyConfig - """The origin request policy configuration.""" - -@dataclass(kw_only=True) -class OriginRequestPolicyAlreadyExists(ServiceError, _SerdeShape): - """ - An origin request policy with this name already exists. You must provide - a unique name. To modify an existing origin request policy, use - `UpdateOriginRequestPolicy`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OriginRequestPolicyConfig(_SerdeShape): - """ - An origin request policy configuration. - - This configuration determines the values that CloudFront includes in - requests that it sends to the origin. Each request that CloudFront sends - to the origin includes the following: - - - The request body and the URL path (without the domain name) from the - viewer request. - - - The headers that CloudFront automatically includes in every origin - request, including `Host`, `User-Agent`, and `X-Amz-Cf-Id`. - - - All HTTP headers, cookies, and URL query strings that are specified in - the cache policy or the origin request policy. These can include items - from the viewer request and, in the case of headers, additional ones - that are added by CloudFront. - - CloudFront sends a request when it can't find an object in its cache - that matches the request. If you want to send values to the origin and - also include them in the cache key, use `CachePolicy`. - """ - - comment: str | None = ... - """ - A comment to describe the origin request policy. The comment cannot be - longer than 128 characters. - """ - name: str - """A unique name to identify the origin request policy.""" - headers_config: OriginRequestPolicyHeadersConfig - """ - The HTTP headers to include in origin requests. These can include - headers from viewer requests and additional headers added by CloudFront. - """ - cookies_config: OriginRequestPolicyCookiesConfig - """The cookies from viewer requests to include in origin requests.""" - query_strings_config: OriginRequestPolicyQueryStringsConfig - """ - The URL query strings from viewer requests to include in origin - requests. - """ - -class OriginRequestPolicyCookieBehavior(UnknownEnumMixin, StrEnum): - NONE = "none" - WHITELIST = "whitelist" - ALL = "all" - ALL_EXCEPT = "allExcept" - -@dataclass(kw_only=True) -class OriginRequestPolicyCookiesConfig(_SerdeShape): - """ - An object that determines whether any cookies in viewer requests (and if - so, which cookies) are included in requests that CloudFront sends to the - origin. - """ - - cookie_behavior: str - """ - Determines whether cookies in viewer requests are included in requests - that CloudFront sends to the origin. Valid values are: - - - `none` -- No cookies in viewer requests are included in requests that - CloudFront sends to the origin. Even when this field is set to `none`, - any cookies that are listed in a `CachePolicy` *are* included in - origin requests. - - - `whitelist` -- Only the cookies in viewer requests that are listed in - the `CookieNames` type are included in requests that CloudFront sends - to the origin. - - - `all` -- All cookies in viewer requests are included in requests that - CloudFront sends to the origin. - - - `allExcept` -- All cookies in viewer requests are included in requests - that CloudFront sends to the origin, ***except*** for those listed in - the `CookieNames` type, which are not included. - """ - cookies: CookieNames | None = ... - """Contains a list of cookie names.""" - -class OriginRequestPolicyHeaderBehavior(UnknownEnumMixin, StrEnum): - NONE = "none" - WHITELIST = "whitelist" - ALL_VIEWER = "allViewer" - ALL_VIEWER_AND_WHITELIST_CLOUD_FRONT = "allViewerAndWhitelistCloudFront" - ALL_EXCEPT = "allExcept" - -@dataclass(kw_only=True) -class OriginRequestPolicyHeadersConfig(_SerdeShape): - """ - An object that determines whether any HTTP headers (and if so, which - headers) are included in requests that CloudFront sends to the origin. - """ - - header_behavior: str - """ - Determines whether any HTTP headers are included in requests that - CloudFront sends to the origin. Valid values are: - - - `none` -- No HTTP headers in viewer requests are included in requests - that CloudFront sends to the origin. Even when this field is set to - `none`, any headers that are listed in a `CachePolicy` *are* included - in origin requests. - - - `whitelist` -- Only the HTTP headers that are listed in the `Headers` - type are included in requests that CloudFront sends to the origin. - - - `allViewer` -- All HTTP headers in viewer requests are included in - requests that CloudFront sends to the origin. - - - `allViewerAndWhitelistCloudFront` -- All HTTP headers in viewer - requests and the additional CloudFront headers that are listed in the - `Headers` type are included in requests that CloudFront sends to the - origin. The additional headers are added by CloudFront. - - - `allExcept` -- All HTTP headers in viewer requests are included in - requests that CloudFront sends to the origin, ***except*** for those - listed in the `Headers` type, which are not included. - """ - headers: Headers | None = ... - """Contains a list of HTTP header names.""" - -@dataclass(kw_only=True) -class OriginRequestPolicyInUse(ServiceError, _SerdeShape): - """ - Cannot delete the origin request policy because it is attached to one or - more cache behaviors. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OriginRequestPolicyList(_SerdeShape): - """A list of origin request policies.""" - - next_marker: str | None = ... - """ - If there are more items in the list than are in this response, this - element is present. It contains the value that you should use in the - `Marker` field of a subsequent request to continue listing origin - request policies where you left off. - """ - max_items: int - """The maximum number of origin request policies requested.""" - quantity: int - """The total number of origin request policies returned in the response.""" - items: list[OriginRequestPolicySummary] | None = ... - """Contains the origin request policies in the list.""" - -class OriginRequestPolicyQueryStringBehavior(UnknownEnumMixin, StrEnum): - NONE = "none" - WHITELIST = "whitelist" - ALL = "all" - ALL_EXCEPT = "allExcept" - -@dataclass(kw_only=True) -class OriginRequestPolicyQueryStringsConfig(_SerdeShape): - """ - An object that determines whether any URL query strings in viewer - requests (and if so, which query strings) are included in requests that - CloudFront sends to the origin. - """ - - query_string_behavior: str - """ - Determines whether any URL query strings in viewer requests are included - in requests that CloudFront sends to the origin. Valid values are: - - - `none` -- No query strings in viewer requests are included in requests - that CloudFront sends to the origin. Even when this field is set to - `none`, any query strings that are listed in a `CachePolicy` *are* - included in origin requests. - - - `whitelist` -- Only the query strings in viewer requests that are - listed in the `QueryStringNames` type are included in requests that - CloudFront sends to the origin. - - - `all` -- All query strings in viewer requests are included in requests - that CloudFront sends to the origin. - - - `allExcept` -- All query strings in viewer requests are included in - requests that CloudFront sends to the origin, ***except*** for those - listed in the `QueryStringNames` type, which are not included. - """ - query_strings: QueryStringNames | None = ... - """ - Contains the specific query strings in viewer requests that either - ***are*** or ***are not*** included in requests that CloudFront sends to - the origin. The behavior depends on whether the `QueryStringBehavior` - field in the `OriginRequestPolicyQueryStringsConfig` type is set to - `whitelist` (the listed query strings ***are*** included) or `allExcept` - (the listed query strings ***are not*** included, but all other query - strings are). - """ - -@dataclass(kw_only=True) -class OriginRequestPolicySummary(_SerdeShape): - """Contains an origin request policy.""" - - type: str - """ - The type of origin request policy, either `managed` (created by Amazon - Web Services) or `custom` (created in this Amazon Web Services account). - """ - origin_request_policy: OriginRequestPolicy - """The origin request policy.""" - -class OriginRequestPolicyType(UnknownEnumMixin, StrEnum): - MANAGED = "managed" - CUSTOM = "custom" - -@dataclass(kw_only=True) -class Origins(_SerdeShape): - """Contains information about the origins for this distribution.""" - - quantity: int - """The number of origins for this distribution.""" - items: list[Origin] - """A list of origins.""" - -@dataclass(kw_only=True) -class OriginShield(_SerdeShape): - """ - CloudFront Origin Shield. - - Using Origin Shield can help reduce the load on your origin. For more - information, see [Using Origin - Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) - in the *Amazon CloudFront Developer Guide*. - """ - - enabled: bool - """ - A flag that specifies whether Origin Shield is enabled. - - When it's enabled, CloudFront routes all requests through Origin - Shield, which can help protect your origin. When it's disabled, - CloudFront might send requests directly to your origin from multiple - edge locations or regional edge caches. - """ - origin_shield_region: str | None = ... - """ - The Amazon Web Services Region for Origin Shield. - - Specify the Amazon Web Services Region that has the lowest latency to - your origin. To specify a region, use the region code, not the region - name. For example, specify the US East (Ohio) region as `us-east-2`. - - When you enable CloudFront Origin Shield, you must specify the Amazon - Web Services Region for Origin Shield. For the list of Amazon Web - Services Regions that you can specify, and for help choosing the best - Region for your origin, see [Choosing the Amazon Web Services Region for - Origin - Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html#choose-origin-shield-region) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class OriginSslProtocols(_SerdeShape): - """ - A complex type that contains information about the SSL/TLS protocols - that CloudFront can use when establishing an HTTPS connection with your - origin. - """ - - quantity: int - """ - The number of SSL/TLS protocols that you want to allow CloudFront to use - when establishing an HTTPS connection with this origin. - """ - items: list[str] - """A list that contains allowed SSL/TLS protocols for this distribution.""" - -@dataclass(kw_only=True) -class Parameter(_SerdeShape): - """ - A list of parameter values to add to the resource. A parameter is - specified as a key-value pair. A valid parameter value must exist for - any parameter that is marked as required in the multi-tenant - distribution. - """ - - name: str - """The parameter name.""" - value: str - """The parameter value.""" - -@dataclass(kw_only=True) -class ParameterDefinition(_SerdeShape): - """ - A list of parameter values to add to the resource. A parameter is - specified as a key-value pair. A valid parameter value must exist for - any parameter that is marked as required in the multi-tenant - distribution. - """ - - name: str - """The name of the parameter.""" - definition: ParameterDefinitionSchema - """The value that you assigned to the parameter.""" - -@dataclass(kw_only=True) -class ParameterDefinitionSchema(_SerdeShape): - """An object that contains information about the parameter definition.""" - - string_schema: StringSchemaConfig | None = ... - """An object that contains information about the string schema.""" - -@dataclass(kw_only=True) -class ParametersInCacheKeyAndForwardedToOrigin(_SerdeShape): - """ - This object determines the values that CloudFront includes in the cache - key. These values can include HTTP headers, cookies, and URL query - strings. CloudFront uses the cache key to find an object in its cache - that it can return to the viewer. - - The headers, cookies, and query strings that are included in the cache - key are also included in requests that CloudFront sends to the origin. - CloudFront sends a request when it can't find an object in its cache - that matches the request's cache key. If you want to send values to the - origin but *not* include them in the cache key, use - `OriginRequestPolicy`. - """ - - enable_accept_encoding_gzip: bool - """ - A flag that can affect whether the `Accept-Encoding` HTTP header is - included in the cache key and included in requests that CloudFront sends - to the origin. - - This field is related to the `EnableAcceptEncodingBrotli` field. If one - or both of these fields is `true` *and* the viewer request includes the - `Accept-Encoding` header, then CloudFront does the following: - - - Normalizes the value of the viewer's `Accept-Encoding` header - - - Includes the normalized header in the cache key - - - Includes the normalized header in the request to the origin, if a - request is necessary - - For more information, see [Compression - support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects) - in the *Amazon CloudFront Developer Guide*. - - If you set this value to `true`, and this cache behavior also has an - origin request policy attached, do not include the `Accept-Encoding` - header in the origin request policy. CloudFront always includes the - `Accept-Encoding` header in origin requests when the value of this field - is `true`, so including this header in an origin request policy has no - effect. - - If both of these fields are `false`, then CloudFront treats the - `Accept-Encoding` header the same as any other HTTP header in the viewer - request. By default, it's not included in the cache key and it's not - included in origin requests. In this case, you can manually add - `Accept-Encoding` to the headers whitelist like any other HTTP header. - """ - enable_accept_encoding_brotli: bool | None = ... - """ - A flag that can affect whether the `Accept-Encoding` HTTP header is - included in the cache key and included in requests that CloudFront sends - to the origin. - - This field is related to the `EnableAcceptEncodingGzip` field. If one or - both of these fields is `true` *and* the viewer request includes the - `Accept-Encoding` header, then CloudFront does the following: - - - Normalizes the value of the viewer's `Accept-Encoding` header - - - Includes the normalized header in the cache key - - - Includes the normalized header in the request to the origin, if a - request is necessary - - For more information, see [Compression - support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects) - in the *Amazon CloudFront Developer Guide*. - - If you set this value to `true`, and this cache behavior also has an - origin request policy attached, do not include the `Accept-Encoding` - header in the origin request policy. CloudFront always includes the - `Accept-Encoding` header in origin requests when the value of this field - is `true`, so including this header in an origin request policy has no - effect. - - If both of these fields are `false`, then CloudFront treats the - `Accept-Encoding` header the same as any other HTTP header in the viewer - request. By default, it's not included in the cache key and it's not - included in origin requests. In this case, you can manually add - `Accept-Encoding` to the headers whitelist like any other HTTP header. - """ - headers_config: CachePolicyHeadersConfig - """ - An object that determines whether any HTTP headers (and if so, which - headers) are included in the cache key and in requests that CloudFront - sends to the origin. - """ - cookies_config: CachePolicyCookiesConfig - """ - An object that determines whether any cookies in viewer requests (and if - so, which cookies) are included in the cache key and in requests that - CloudFront sends to the origin. - """ - query_strings_config: CachePolicyQueryStringsConfig - """ - An object that determines whether any URL query strings in viewer - requests (and if so, which query strings) are included in the cache key - and in requests that CloudFront sends to the origin. - """ - -@dataclass(kw_only=True) -class Paths(_SerdeShape): - """ - A complex type that contains information about the objects that you want - to invalidate. For more information, see [Specifying the Objects to - Invalidate](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) - in the *Amazon CloudFront Developer Guide*. - """ - - quantity: int - """ - The number of invalidation paths specified for the objects that you want - to invalidate. - """ - items: list[str] | None = ... - """ - A complex type that contains a list of the paths that you want to - invalidate. - """ - -@dataclass(kw_only=True) -class PreconditionFailed(ServiceError, _SerdeShape): - """ - The precondition in one or more of the request fields evaluated to - `false`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class PriceClass(UnknownEnumMixin, StrEnum): - PRICE_CLASS_100 = "PriceClass_100" - PRICE_CLASS_200 = "PriceClass_200" - PRICE_CLASS_ALL = "PriceClass_All" - NONE = "None" - -@dataclass(kw_only=True) -class PublicKey(_SerdeShape): - """ - A public key that you can use with [signed URLs and signed - cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), - or with [field-level - encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). - - CloudFront supports signed URLs and signed cookies with RSA 2048 or - ECDSA 256 key signatures. Field-level encryption is only compatible with - RSA 2048 key signatures. - """ - - id: str - """The identifier of the public key.""" - created_time: datetime - """The date and time when the public key was uploaded.""" - public_key_config: PublicKeyConfig - """ - Configuration information about a public key that you can use with - [signed URLs and signed - cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), - or with [field-level - encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). - """ - -@dataclass(kw_only=True) -class PublicKeyAlreadyExists(ServiceError, _SerdeShape): - """The specified public key already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PublicKeyConfig(_SerdeShape): - """ - Configuration information about a public key that you can use with - [signed URLs and signed - cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), - or with [field-level - encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). - - CloudFront supports signed URLs and signed cookies with RSA 2048 or - ECDSA 256 key signatures. Field-level encryption is only compatible with - RSA 2048 key signatures. - """ - - caller_reference: str - """ - A string included in the request to help make sure that the request - can't be replayed. - """ - name: str - """A name to help identify the public key.""" - encoded_key: str - """ - The public key that you can use with [signed URLs and signed - cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), - or with [field-level - encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). - """ - comment: str | None = ... - """ - A comment to describe the public key. The comment cannot be longer than - 128 characters. - """ - -@dataclass(kw_only=True) -class PublicKeyInUse(ServiceError, _SerdeShape): - """The specified public key is in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PublicKeyList(_SerdeShape): - """ - A list of public keys that you can use with [signed URLs and signed - cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), - or with [field-level - encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). - """ - - next_marker: str | None = ... - """ - If there are more elements to be listed, this element is present and - contains the value that you can use for the `Marker` request parameter - to continue listing your public keys where you left off. - """ - max_items: int - """The maximum number of public keys you want in the response.""" - quantity: int - """The number of public keys in the list.""" - items: list[PublicKeySummary] | None = ... - """A list of public keys.""" - -@dataclass(kw_only=True) -class PublicKeySummary(_SerdeShape): - """Contains information about a public key.""" - - id: str - """The identifier of the public key.""" - name: str - """A name to help identify the public key.""" - created_time: datetime - """The date and time when the public key was uploaded.""" - encoded_key: str - """The public key.""" - comment: str | None = ... - """ - A comment to describe the public key. The comment cannot be longer than - 128 characters. - """ - -@dataclass(kw_only=True) -class PublishConnectionFunctionInput(_SerdeShape): - """Dataclass for PublishConnectionFunctionInput structure.""" - - id: str | None = ... - """The connection function ID.""" - if_match: str | None = ... - """The current version (`ETag` value) of the connection function.""" - -@dataclass(kw_only=True) -class PublishConnectionFunctionOutput(_SerdeShape): - """Dataclass for PublishConnectionFunctionOutput structure.""" - - connection_function_summary: ConnectionFunctionSummary | None = ... - """The connection function summary.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PublishFunctionInput(_SerdeShape): - """Dataclass for PublishFunctionInput structure.""" - - name: str | None = ... - """The name of the function that you are publishing.""" - if_match: str | None = ... - """ - The current version (`ETag` value) of the function that you are - publishing, which you can get using `DescribeFunction`. - """ - -@dataclass(kw_only=True) -class PublishFunctionOutput(_SerdeShape): - """Dataclass for PublishFunctionOutput structure.""" - - function_summary: FunctionSummary | None = ... - """ - Contains configuration information and metadata about a CloudFront - function. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyInput(_SerdeShape): - """Dataclass for PutResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudFront resource for which the - policy is being created. - """ - policy_document: str | None = ... - """The JSON-formatted resource policy to create.""" - -@dataclass(kw_only=True) -class PutResourcePolicyOutput(_SerdeShape): - """Dataclass for PutResourcePolicyOutput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudFront resource for which the - policy was created. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class QueryArgProfile(_SerdeShape): - """Query argument-profile mapping for field-level encryption.""" - - query_arg: str - """ - Query argument for field-level encryption query argument-profile - mapping. - """ - profile_id: str - """ - ID of profile to use for field-level encryption query argument-profile - mapping - """ - -@dataclass(kw_only=True) -class QueryArgProfileConfig(_SerdeShape): - """ - Configuration for query argument-profile mapping for field-level - encryption. - """ - - forward_when_query_arg_profile_is_unknown: bool - """ - Flag to set if you want a request to be forwarded to the origin even if - the profile specified by the field-level encryption query argument, - fle-profile, is unknown. - """ - query_arg_profiles: QueryArgProfiles | None = ... - """ - Profiles specified for query argument-profile mapping for field-level - encryption. - """ - -@dataclass(kw_only=True) -class QueryArgProfileEmpty(ServiceError, _SerdeShape): - """No profile specified for the field-level encryption query argument.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class QueryArgProfiles(_SerdeShape): - """Query argument-profile mapping for field-level encryption.""" - - quantity: int - """ - Number of profiles for query argument-profile mapping for field-level - encryption. - """ - items: list[QueryArgProfile] | None = ... - """ - Number of items for query argument-profile mapping for field-level - encryption. - """ - -@dataclass(kw_only=True) -class QueryStringCacheKeys(_SerdeShape): - """ - This field is deprecated. We recommend that you use a cache policy or an - origin request policy instead of this field. - - If you want to include query strings in the cache key, use - `QueryStringsConfig` in a cache policy. See `CachePolicy`. - - If you want to send query strings to the origin but not include them in - the cache key, use `QueryStringsConfig` in an origin request policy. See - `OriginRequestPolicy`. - - A complex type that contains information about the query string - parameters that you want CloudFront to use for caching for a cache - behavior. - """ - - quantity: int - """ - The number of `whitelisted` query string parameters for a cache - behavior. - """ - items: list[str] | None = ... - """ - A list that contains the query string parameters that you want - CloudFront to use as a basis for caching for a cache behavior. If - `Quantity` is 0, you can omit `Items`. - """ - -@dataclass(kw_only=True) -class QueryStringNames(_SerdeShape): - """Contains a list of query string names.""" - - quantity: int - """The number of query string names in the `Items` list.""" - items: list[str] | None = ... - """A list of query string names.""" - -@dataclass(kw_only=True) -class RealtimeLogConfig(_SerdeShape): - """A real-time log configuration.""" - - arn: str - """The Amazon Resource Name (ARN) of this real-time log configuration.""" - name: str - """The unique name of this real-time log configuration.""" - sampling_rate: int - """ - The sampling rate for this real-time log configuration. The sampling - rate determines the percentage of viewer requests that are represented - in the real-time log data. The sampling rate is an integer between 1 and - 100, inclusive. - """ - end_points: list[EndPoint] - """ - Contains information about the Amazon Kinesis data stream where you are - sending real-time log data for this real-time log configuration. - """ - fields: list[str] - """ - A list of fields that are included in each real-time log record. In an - API response, the fields are provided in the same order in which they - are sent to the Amazon Kinesis data stream. - - For more information about fields, see [Real-time log configuration - fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class RealtimeLogConfigAlreadyExists(ServiceError, _SerdeShape): - """ - A real-time log configuration with this name already exists. You must - provide a unique name. To modify an existing real-time log - configuration, use `UpdateRealtimeLogConfig`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RealtimeLogConfigInUse(ServiceError, _SerdeShape): - """ - Cannot delete the real-time log configuration because it is attached to - one or more cache behaviors. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RealtimeLogConfigOwnerMismatch(ServiceError, _SerdeShape): - """ - The specified real-time log configuration belongs to a different Amazon - Web Services account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RealtimeLogConfigs(_SerdeShape): - """A list of real-time log configurations.""" - - max_items: int - """The maximum number of real-time log configurations requested.""" - items: list[RealtimeLogConfig] | None = ... - """Contains the list of real-time log configurations.""" - is_truncated: bool - """ - A flag that indicates whether there are more real-time log - configurations than are contained in this list. - """ - marker: str - """ - This parameter indicates where this list of real-time log configurations - begins. This list includes real-time log configurations that occur after - the marker. - """ - next_marker: str | None = ... - """ - If there are more items in the list than are in this response, this - element is present. It contains the value that you should use in the - `Marker` field of a subsequent request to continue listing real-time log - configurations where you left off. - """ - -@dataclass(kw_only=True) -class RealtimeMetricsSubscriptionConfig(_SerdeShape): - """A subscription configuration for additional CloudWatch metrics.""" - - realtime_metrics_subscription_status: str - """ - A flag that indicates whether additional CloudWatch metrics are enabled - for a given CloudFront distribution. - """ - -class RealtimeMetricsSubscriptionStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -class ReferrerPolicyList(UnknownEnumMixin, StrEnum): - NO_REFERRER = "no-referrer" - NO_REFERRER_WHEN_DOWNGRADE = "no-referrer-when-downgrade" - ORIGIN = "origin" - ORIGIN_WHEN_CROSS_ORIGIN = "origin-when-cross-origin" - SAME_ORIGIN = "same-origin" - STRICT_ORIGIN = "strict-origin" - STRICT_ORIGIN_WHEN_CROSS_ORIGIN = "strict-origin-when-cross-origin" - UNSAFE_URL = "unsafe-url" - -@dataclass(kw_only=True) -class ResourceInUse(ServiceError, _SerdeShape): - """Cannot delete this resource because it is in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceNotDisabled(ServiceError, _SerdeShape): - """The specified CloudFront resource hasn't been disabled yet.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicy(_SerdeShape): - """ - A response headers policy. - - A response headers policy contains information about a set of HTTP - response headers. - - After you create a response headers policy, you can use its ID to attach - it to one or more cache behaviors in a CloudFront distribution. When - it's attached to a cache behavior, the response headers policy affects - the HTTP headers that CloudFront includes in HTTP responses to requests - that match the cache behavior. CloudFront adds or removes response - headers according to the configuration of the response headers policy. - - For more information, see [Adding or removing HTTP headers in CloudFront - responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html) - in the *Amazon CloudFront Developer Guide*. - """ - - id: str - """The identifier for the response headers policy.""" - last_modified_time: datetime - """The date and time when the response headers policy was last modified.""" - response_headers_policy_config: ResponseHeadersPolicyConfig - """A response headers policy configuration.""" - -@dataclass(kw_only=True) -class ResponseHeadersPolicyAccessControlAllowHeaders(_SerdeShape): - """ - A list of HTTP header names that CloudFront includes as values for the - `Access-Control-Allow-Headers` HTTP response header. - - For more information about the `Access-Control-Allow-Headers` HTTP - response header, see - [Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) - in the MDN Web Docs. - """ - - quantity: int - """The number of HTTP header names in the list.""" - items: list[str] - """The list of HTTP header names. You can specify `*` to allow all headers.""" - -@dataclass(kw_only=True) -class ResponseHeadersPolicyAccessControlAllowMethods(_SerdeShape): - """ - A list of HTTP methods that CloudFront includes as values for the - `Access-Control-Allow-Methods` HTTP response header. - - For more information about the `Access-Control-Allow-Methods` HTTP - response header, see - [Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods) - in the MDN Web Docs. - """ - - quantity: int - """The number of HTTP methods in the list.""" - items: list[str] - """ - The list of HTTP methods. Valid values are: - - - `GET` - - - `DELETE` - - - `HEAD` - - - `OPTIONS` - - - `PATCH` - - - `POST` - - - `PUT` - - - `ALL` - - `ALL` is a special value that includes all of the listed HTTP methods. - """ - -class ResponseHeadersPolicyAccessControlAllowMethodsValues(UnknownEnumMixin, StrEnum): - GET = "GET" - POST = "POST" - OPTIONS = "OPTIONS" - PUT = "PUT" - DELETE = "DELETE" - PATCH = "PATCH" - HEAD = "HEAD" - ALL = "ALL" - -@dataclass(kw_only=True) -class ResponseHeadersPolicyAccessControlAllowOrigins(_SerdeShape): - """ - A list of origins (domain names) that CloudFront can use as the value - for the `Access-Control-Allow-Origin` HTTP response header. - - For more information about the `Access-Control-Allow-Origin` HTTP - response header, see - [Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) - in the MDN Web Docs. - """ - - quantity: int - """The number of origins in the list.""" - items: list[str] - """ - The list of origins (domain names). You can specify `*` to allow all - origins. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyAccessControlExposeHeaders(_SerdeShape): - """ - A list of HTTP headers that CloudFront includes as values for the - `Access-Control-Expose-Headers` HTTP response header. - - For more information about the `Access-Control-Expose-Headers` HTTP - response header, see - [Access-Control-Expose-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) - in the MDN Web Docs. - """ - - quantity: int - """The number of HTTP headers in the list.""" - items: list[str] | None = ... - """The list of HTTP headers. You can specify `*` to expose all headers.""" - -@dataclass(kw_only=True) -class ResponseHeadersPolicyAlreadyExists(ServiceError, _SerdeShape): - """ - A response headers policy with this name already exists. You must - provide a unique name. To modify an existing response headers policy, - use `UpdateResponseHeadersPolicy`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyConfig(_SerdeShape): - """ - A response headers policy configuration. - - A response headers policy configuration contains metadata about the - response headers policy, and configurations for sets of HTTP response - headers. - """ - - comment: str | None = ... - """ - A comment to describe the response headers policy. - - The comment cannot be longer than 128 characters. - """ - name: str - """ - A name to identify the response headers policy. - - The name must be unique for response headers policies in this Amazon Web - Services account. - """ - cors_config: ResponseHeadersPolicyCorsConfig | None = ... - """ - A configuration for a set of HTTP response headers that are used for - cross-origin resource sharing (CORS). - """ - security_headers_config: ResponseHeadersPolicySecurityHeadersConfig | None = ... - """A configuration for a set of security-related HTTP response headers.""" - server_timing_headers_config: ( - ResponseHeadersPolicyServerTimingHeadersConfig | None - ) = ... - """ - A configuration for enabling the `Server-Timing` header in HTTP - responses sent from CloudFront. - """ - custom_headers_config: ResponseHeadersPolicyCustomHeadersConfig | None = ... - """A configuration for a set of custom HTTP response headers.""" - remove_headers_config: ResponseHeadersPolicyRemoveHeadersConfig | None = ... - """ - A configuration for a set of HTTP headers to remove from the HTTP - response. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyContentSecurityPolicy(_SerdeShape): - """ - The policy directives and their values that CloudFront includes as - values for the `Content-Security-Policy` HTTP response header. - - For more information about the `Content-Security-Policy` HTTP response - header, see - [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) - in the MDN Web Docs. - """ - - override: bool - """ - A Boolean that determines whether CloudFront overrides the - `Content-Security-Policy` HTTP response header received from the origin - with the one specified in this response headers policy. - """ - content_security_policy: str - """ - The policy directives and their values that CloudFront includes as - values for the `Content-Security-Policy` HTTP response header. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyContentTypeOptions(_SerdeShape): - """ - Determines whether CloudFront includes the `X-Content-Type-Options` HTTP - response header with its value set to `nosniff`. - - For more information about the `X-Content-Type-Options` HTTP response - header, see - [X-Content-Type-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options) - in the MDN Web Docs. - """ - - override: bool - """ - A Boolean that determines whether CloudFront overrides the - `X-Content-Type-Options` HTTP response header received from the origin - with the one specified in this response headers policy. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyCorsConfig(_SerdeShape): - """ - A configuration for a set of HTTP response headers that are used for - cross-origin resource sharing (CORS). CloudFront adds these headers to - HTTP responses that it sends for CORS requests that match a cache - behavior associated with this response headers policy. - - For more information about CORS, see [Cross-Origin Resource Sharing - (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) in the - MDN Web Docs. - """ - - access_control_allow_origins: ResponseHeadersPolicyAccessControlAllowOrigins - """ - A list of origins (domain names) that CloudFront can use as the value - for the `Access-Control-Allow-Origin` HTTP response header. - - For more information about the `Access-Control-Allow-Origin` HTTP - response header, see - [Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) - in the MDN Web Docs. - """ - access_control_allow_headers: ResponseHeadersPolicyAccessControlAllowHeaders - """ - A list of HTTP header names that CloudFront includes as values for the - `Access-Control-Allow-Headers` HTTP response header. - - For more information about the `Access-Control-Allow-Headers` HTTP - response header, see - [Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) - in the MDN Web Docs. - """ - access_control_allow_methods: ResponseHeadersPolicyAccessControlAllowMethods - """ - A list of HTTP methods that CloudFront includes as values for the - `Access-Control-Allow-Methods` HTTP response header. - - For more information about the `Access-Control-Allow-Methods` HTTP - response header, see - [Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods) - in the MDN Web Docs. - """ - access_control_allow_credentials: bool - """ - A Boolean that CloudFront uses as the value for the - `Access-Control-Allow-Credentials` HTTP response header. - - For more information about the `Access-Control-Allow-Credentials` HTTP - response header, see - [Access-Control-Allow-Credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials) - in the MDN Web Docs. - """ - access_control_expose_headers: ( - ResponseHeadersPolicyAccessControlExposeHeaders | None - ) = ... - """ - A list of HTTP headers that CloudFront includes as values for the - `Access-Control-Expose-Headers` HTTP response header. - - For more information about the `Access-Control-Expose-Headers` HTTP - response header, see - [Access-Control-Expose-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) - in the MDN Web Docs. - """ - access_control_max_age_sec: int | None = ... - """ - A number that CloudFront uses as the value for the - `Access-Control-Max-Age` HTTP response header. - - For more information about the `Access-Control-Max-Age` HTTP response - header, see - [Access-Control-Max-Age](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age) - in the MDN Web Docs. - """ - origin_override: bool - """ - A Boolean that determines whether CloudFront overrides HTTP response - headers received from the origin with the ones specified in this - response headers policy. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyCustomHeader(_SerdeShape): - """ - An HTTP response header name and its value. CloudFront includes this - header in HTTP responses that it sends for requests that match a cache - behavior that's associated with this response headers policy. - """ - - header: str - """The HTTP response header name.""" - value: str - """The value for the HTTP response header.""" - override: bool - """ - A Boolean that determines whether CloudFront overrides a response header - with the same name received from the origin with the header specified - here. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyCustomHeadersConfig(_SerdeShape): - """ - A list of HTTP response header names and their values. CloudFront - includes these headers in HTTP responses that it sends for requests that - match a cache behavior that's associated with this response headers - policy. - """ - - quantity: int - """The number of HTTP response headers in the list.""" - items: list[ResponseHeadersPolicyCustomHeader] | None = ... - """The list of HTTP response headers and their values.""" - -@dataclass(kw_only=True) -class ResponseHeadersPolicyFrameOptions(_SerdeShape): - """ - Determines whether CloudFront includes the `X-Frame-Options` HTTP - response header and the header's value. - - For more information about the `X-Frame-Options` HTTP response header, - see - [X-Frame-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) - in the MDN Web Docs. - """ - - override: bool - """ - A Boolean that determines whether CloudFront overrides the - `X-Frame-Options` HTTP response header received from the origin with the - one specified in this response headers policy. - """ - frame_option: str - """ - The value of the `X-Frame-Options` HTTP response header. Valid values - are `DENY` and `SAMEORIGIN`. - - For more information about these values, see - [X-Frame-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) - in the MDN Web Docs. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyInUse(ServiceError, _SerdeShape): - """ - Cannot delete the response headers policy because it is attached to one - or more cache behaviors in a CloudFront distribution. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyList(_SerdeShape): - """A list of response headers policies.""" - - next_marker: str | None = ... - """ - If there are more items in the list than are in this response, this - element is present. It contains the value that you should use in the - `Marker` field of a subsequent request to continue listing response - headers policies where you left off. - """ - max_items: int - """The maximum number of response headers policies requested.""" - quantity: int - """The number of response headers policies returned.""" - items: list[ResponseHeadersPolicySummary] | None = ... - """The response headers policies in the list.""" - -@dataclass(kw_only=True) -class ResponseHeadersPolicyReferrerPolicy(_SerdeShape): - """ - Determines whether CloudFront includes the `Referrer-Policy` HTTP - response header and the header's value. - - For more information about the `Referrer-Policy` HTTP response header, - see - [Referrer-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) - in the MDN Web Docs. - """ - - override: bool - """ - A Boolean that determines whether CloudFront overrides the - `Referrer-Policy` HTTP response header received from the origin with the - one specified in this response headers policy. - """ - referrer_policy: str - """ - The value of the `Referrer-Policy` HTTP response header. Valid values - are: - - - `no-referrer` - - - `no-referrer-when-downgrade` - - - `origin` - - - `origin-when-cross-origin` - - - `same-origin` - - - `strict-origin` - - - `strict-origin-when-cross-origin` - - - `unsafe-url` - - For more information about these values, see - [Referrer-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) - in the MDN Web Docs. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyRemoveHeader(_SerdeShape): - """ - The name of an HTTP header that CloudFront removes from HTTP responses - to requests that match the cache behavior that this response headers - policy is attached to. - """ - - header: str - """The HTTP header name.""" - -@dataclass(kw_only=True) -class ResponseHeadersPolicyRemoveHeadersConfig(_SerdeShape): - """ - A list of HTTP header names that CloudFront removes from HTTP responses - to requests that match the cache behavior that this response headers - policy is attached to. - """ - - quantity: int - """The number of HTTP header names in the list.""" - items: list[ResponseHeadersPolicyRemoveHeader] | None = ... - """The list of HTTP header names.""" - -@dataclass(kw_only=True) -class ResponseHeadersPolicySecurityHeadersConfig(_SerdeShape): - """ - A configuration for a set of security-related HTTP response headers. - CloudFront adds these headers to HTTP responses that it sends for - requests that match a cache behavior associated with this response - headers policy. - """ - - xss_protection: ResponseHeadersPolicyXSSProtection | None = ... - """ - Determines whether CloudFront includes the `X-XSS-Protection` HTTP - response header and the header's value. - - For more information about the `X-XSS-Protection` HTTP response header, - see - [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) - in the MDN Web Docs. - """ - frame_options: ResponseHeadersPolicyFrameOptions | None = ... - """ - Determines whether CloudFront includes the `X-Frame-Options` HTTP - response header and the header's value. - - For more information about the `X-Frame-Options` HTTP response header, - see - [X-Frame-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) - in the MDN Web Docs. - """ - referrer_policy: ResponseHeadersPolicyReferrerPolicy | None = ... - """ - Determines whether CloudFront includes the `Referrer-Policy` HTTP - response header and the header's value. - - For more information about the `Referrer-Policy` HTTP response header, - see - [Referrer-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) - in the MDN Web Docs. - """ - content_security_policy: ResponseHeadersPolicyContentSecurityPolicy | None = ... - """ - The policy directives and their values that CloudFront includes as - values for the `Content-Security-Policy` HTTP response header. - - For more information about the `Content-Security-Policy` HTTP response - header, see - [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) - in the MDN Web Docs. - """ - content_type_options: ResponseHeadersPolicyContentTypeOptions | None = ... - """ - Determines whether CloudFront includes the `X-Content-Type-Options` HTTP - response header with its value set to `nosniff`. - - For more information about the `X-Content-Type-Options` HTTP response - header, see - [X-Content-Type-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options) - in the MDN Web Docs. - """ - strict_transport_security: ResponseHeadersPolicyStrictTransportSecurity | None = ... - """ - Determines whether CloudFront includes the `Strict-Transport-Security` - HTTP response header and the header's value. - - For more information about the `Strict-Transport-Security` HTTP response - header, see [Security - headers](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#understanding-response-headers-policies-security) - in the *Amazon CloudFront Developer Guide* and - [Strict-Transport-Security](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) - in the MDN Web Docs. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyServerTimingHeadersConfig(_SerdeShape): - """ - A configuration for enabling the `Server-Timing` header in HTTP - responses sent from CloudFront. CloudFront adds this header to HTTP - responses that it sends in response to requests that match a cache - behavior that's associated with this response headers policy. - - You can use the `Server-Timing` header to view metrics that can help you - gain insights about the behavior and performance of CloudFront. For - example, you can see which cache layer served a cache hit, or the first - byte latency from the origin when there was a cache miss. You can use - the metrics in the `Server-Timing` header to troubleshoot issues or test - the efficiency of your CloudFront configuration. For more information, - see [Server-Timing - header](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#server-timing-header) - in the *Amazon CloudFront Developer Guide*. - """ - - enabled: bool - """ - A Boolean that determines whether CloudFront adds the `Server-Timing` - header to HTTP responses that it sends in response to requests that - match a cache behavior that's associated with this response headers - policy. - """ - sampling_rate: float | None = ... - """ - A number 0--100 (inclusive) that specifies the percentage of responses - that you want CloudFront to add the `Server-Timing` header to. When you - set the sampling rate to 100, CloudFront adds the `Server-Timing` header - to the HTTP response for every request that matches the cache behavior - that this response headers policy is attached to. When you set it to 50, - CloudFront adds the header to 50% of the responses for requests that - match the cache behavior. You can set the sampling rate to any number - 0--100 with up to four decimal places. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicyStrictTransportSecurity(_SerdeShape): - """ - Determines whether CloudFront includes the `Strict-Transport-Security` - HTTP response header and the header's value. - - For more information about the `Strict-Transport-Security` HTTP response - header, see - [Strict-Transport-Security](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) - in the MDN Web Docs. - """ - - override: bool - """ - A Boolean that determines whether CloudFront overrides the - `Strict-Transport-Security` HTTP response header received from the - origin with the one specified in this response headers policy. - """ - include_subdomains: bool | None = ... - """ - A Boolean that determines whether CloudFront includes the - `includeSubDomains` directive in the `Strict-Transport-Security` HTTP - response header. - """ - preload: bool | None = ... - """ - A Boolean that determines whether CloudFront includes the `preload` - directive in the `Strict-Transport-Security` HTTP response header. - """ - access_control_max_age_sec: int - """ - A number that CloudFront uses as the value for the `max-age` directive - in the `Strict-Transport-Security` HTTP response header. - """ - -@dataclass(kw_only=True) -class ResponseHeadersPolicySummary(_SerdeShape): - """Contains a response headers policy.""" - - type: str - """ - The type of response headers policy, either `managed` (created by Amazon - Web Services) or `custom` (created in this Amazon Web Services account). - """ - response_headers_policy: ResponseHeadersPolicy - """The response headers policy.""" - -class ResponseHeadersPolicyType(UnknownEnumMixin, StrEnum): - MANAGED = "managed" - CUSTOM = "custom" - -@dataclass(kw_only=True) -class ResponseHeadersPolicyXSSProtection(_SerdeShape): - """ - Determines whether CloudFront includes the `X-XSS-Protection` HTTP - response header and the header's value. - - For more information about the `X-XSS-Protection` HTTP response header, - see - [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) - in the MDN Web Docs. - """ - - override: bool - """ - A Boolean that determines whether CloudFront overrides the - `X-XSS-Protection` HTTP response header received from the origin with - the one specified in this response headers policy. - """ - protection: bool - """ - A Boolean that determines the value of the `X-XSS-Protection` HTTP - response header. When this setting is `true`, the value of the - `X-XSS-Protection` header is `1`. When this setting is `false`, the - value of the `X-XSS-Protection` header is `0`. - - For more information about these settings, see - [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) - in the MDN Web Docs. - """ - mode_block: bool | None = ... - """ - A Boolean that determines whether CloudFront includes the `mode=block` - directive in the `X-XSS-Protection` header. - - For more information about this directive, see - [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) - in the MDN Web Docs. - """ - report_uri: str | None = ... - """ - A reporting URI, which CloudFront uses as the value of the `report` - directive in the `X-XSS-Protection` header. - - You cannot specify a `ReportUri` when `ModeBlock` is `true`. - - For more information about using a reporting URL, see - [X-XSS-Protection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) - in the MDN Web Docs. - """ - -@dataclass(kw_only=True) -class Restrictions(_SerdeShape): - """ - A complex type that identifies ways in which you want to restrict - distribution of your content. - """ - - geo_restriction: GeoRestriction - """ - A complex type that controls the countries in which your content is - distributed. CloudFront determines the location of your users using - `MaxMind` GeoIP databases. - """ - -@dataclass(kw_only=True) -class S3Origin(_SerdeShape): - """ - A complex type that contains information about the Amazon S3 bucket from - which you want CloudFront to get your media files for distribution. - """ - - domain_name: str - """The DNS name of the Amazon S3 origin.""" - origin_access_identity: str - """ - The CloudFront origin access identity to associate with the - distribution. Use an origin access identity to configure the - distribution so that end users can only access objects in an Amazon S3 - bucket through CloudFront. - - If you want end users to be able to access objects using either the - CloudFront URL or the Amazon S3 URL, specify an empty - `OriginAccessIdentity` element. - - To delete the origin access identity from an existing distribution, - update the distribution configuration and include an empty - `OriginAccessIdentity` element. - - To replace the origin access identity, update the distribution - configuration and specify the new origin access identity. - - For more information, see [Using an Origin Access Identity to Restrict - Access to Your Amazon S3 - Content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class S3OriginConfig(_SerdeShape): - """ - A complex type that contains information about the Amazon S3 origin. If - the origin is a custom origin or an S3 bucket that is configured as a - website endpoint, use the `CustomOriginConfig` element instead. - """ - - origin_access_identity: str = ... - """ - Note: - If you're using origin access control (OAC) instead of origin access - identity, specify an empty `OriginAccessIdentity` element. For more - information, see [Restricting access to an Amazon Web - Services](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html) - in the *Amazon CloudFront Developer Guide*. - - The CloudFront origin access identity to associate with the origin. Use - an origin access identity to configure the origin so that viewers can - *only* access objects in an Amazon S3 bucket through CloudFront. The - format of the value is: - - `origin-access-identity/cloudfront/ID-of-origin-access-identity` - - The ` `*`ID-of-origin-access-identity`*` ` is the value that CloudFront - returned in the `ID` element when you created the origin access - identity. - - If you want viewers to be able to access objects using either the - CloudFront URL or the Amazon S3 URL, specify an empty - `OriginAccessIdentity` element. - - To delete the origin access identity from an existing distribution, - update the distribution configuration and include an empty - `OriginAccessIdentity` element. - - To replace the origin access identity, update the distribution - configuration and specify the new origin access identity. - - For more information about the origin access identity, see [Serving - Private Content through - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) - in the *Amazon CloudFront Developer Guide*. - """ - origin_read_timeout: int | None = ... - """ - Specifies how long, in seconds, CloudFront waits for a response from the - origin. This is also known as the *origin response timeout*. The minimum - timeout is 1 second, the maximum is 120 seconds, and the default (if you - don't specify otherwise) is 30 seconds. - - For more information, see [Response - timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class SessionStickinessConfig(_SerdeShape): - """ - Session stickiness provides the ability to define multiple requests from - a single viewer as a single session. This prevents the potentially - inconsistent experience of sending some of a given user's requests to - your staging distribution, while others are sent to your primary - distribution. Define the session duration using TTL values. - """ - - idle_ttl: int - """ - The amount of time after which you want sessions to cease if no requests - are received. Allowed values are 300--3600 seconds (5--60 minutes). - - The value must be less than or equal to `MaximumTTL`. - """ - maximum_ttl: int - """ - The maximum amount of time to consider requests from the viewer as being - part of the same session. Allowed values are 300--3600 seconds (5--60 - minutes). - - The value must be greater than or equal to `IdleTTL`. - """ - -@dataclass(kw_only=True) -class Signer(_SerdeShape): - """ - A list of Amazon Web Services accounts and the active CloudFront key - pairs in each account that CloudFront can use to verify the signatures - of signed URLs and signed cookies. - """ - - aws_account_number: str | None = ... - """ - An Amazon Web Services account number that contains active CloudFront - key pairs that CloudFront can use to verify the signatures of signed - URLs and signed cookies. If the Amazon Web Services account that owns - the key pairs is the same account that owns the CloudFront distribution, - the value of this field is `self`. - """ - key_pair_ids: KeyPairIds | None = ... - """A list of CloudFront key pair identifiers.""" - -class SslProtocol(UnknownEnumMixin, StrEnum): - SS_LV3 = "SSLv3" - TL_SV1 = "TLSv1" - TL_SV1_1 = "TLSv1.1" - TL_SV1_2 = "TLSv1.2" - -class SSLSupportMethod(UnknownEnumMixin, StrEnum): - SNI_ONLY = "sni-only" - VIP = "vip" - STATIC_IP = "static-ip" - -@dataclass(kw_only=True) -class StagingDistributionDnsNames(_SerdeShape): - """The CloudFront domain name of the staging distribution.""" - - quantity: int - """The number of CloudFront domain names in your staging distribution.""" - items: list[str] | None = ... - """The CloudFront domain name of the staging distribution.""" - -@dataclass(kw_only=True) -class StagingDistributionInUse(ServiceError, _SerdeShape): - """ - A continuous deployment policy for this staging distribution already - exists. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StatusCodes(_SerdeShape): - """ - A complex data type for the status codes that you specify that, when - returned by a primary origin, trigger CloudFront to failover to a second - origin. - """ - - quantity: int - """The number of status codes.""" - items: list[int] - """The items (status codes) for an origin group.""" - -@dataclass(kw_only=True) -class StreamingDistribution(_SerdeShape): - """ - A streaming distribution tells CloudFront where you want RTMP content to - be delivered from, and the details about how to track and manage content - delivery. - """ - - id: str - """ - The identifier for the RTMP distribution. For example: - `EGTXBD79EXAMPLE`. - """ - arn: str - """ - The ARN (Amazon Resource Name) for the distribution. For example: - `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`, where - `123456789012` is your Amazon Web Services account ID. - """ - status: str - """ - The current status of the RTMP distribution. When the status is - `Deployed`, the distribution's information is propagated to all - CloudFront edge locations. - """ - last_modified_time: datetime | None = ... - """The date and time that the distribution was last modified.""" - domain_name: str - """ - The domain name that corresponds to the streaming distribution, for - example, `s5c39gqb8ow64r.cloudfront.net`. - """ - active_trusted_signers: ActiveTrustedSigners - """ - A complex type that lists the Amazon Web Services accounts, if any, that - you included in the `TrustedSigners` complex type for this distribution. - These are the accounts that you want to allow to create signed URLs for - private content. - - The `Signer` complex type lists the Amazon Web Services account number - of the trusted signer or `self` if the signer is the Amazon Web Services - account that created the distribution. The `Signer` element also - includes the IDs of any active CloudFront key pairs that are associated - with the trusted signer's Amazon Web Services account. If no - `KeyPairId` element appears for a `Signer`, that signer can't create - signed URLs. - - For more information, see [Serving Private Content through - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) - in the *Amazon CloudFront Developer Guide*. - """ - streaming_distribution_config: StreamingDistributionConfig - """The current configuration information for the RTMP distribution.""" - -@dataclass(kw_only=True) -class StreamingDistributionAlreadyExists(ServiceError, _SerdeShape): - """ - The caller reference you attempted to create the streaming distribution - with is associated with another distribution - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StreamingDistributionConfig(_SerdeShape): - """The RTMP distribution's configuration information.""" - - caller_reference: str - """ - A unique value (for example, a date-time stamp) that ensures that the - request can't be replayed. - - If the value of `CallerReference` is new (regardless of the content of - the `StreamingDistributionConfig` object), CloudFront creates a new - distribution. - - If `CallerReference` is a value that you already sent in a previous - request to create a distribution, CloudFront returns a - `DistributionAlreadyExists` error. - """ - s3_origin: S3Origin - """ - A complex type that contains information about the Amazon S3 bucket from - which you want CloudFront to get your media files for distribution. - """ - aliases: Aliases | None = ... - """ - A complex type that contains information about CNAMEs (alternate domain - names), if any, for this streaming distribution. - """ - comment: str - """Any comments you want to include about the streaming distribution.""" - logging: StreamingLoggingConfig | None = ... - """ - A complex type that controls whether access logs are written for the - streaming distribution. - """ - trusted_signers: TrustedSigners - """ - A complex type that specifies any Amazon Web Services accounts that you - want to permit to create signed URLs for private content. If you want - the distribution to use signed URLs, include this element; if you want - the distribution to use public URLs, remove this element. For more - information, see [Serving Private Content through - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) - in the *Amazon CloudFront Developer Guide*. - """ - price_class: str | None = ... - """ - A complex type that contains information about price class for this - streaming distribution. - """ - enabled: bool - """ - Whether the streaming distribution is enabled to accept user requests - for content. - """ - -@dataclass(kw_only=True) -class StreamingDistributionConfigWithTags(_SerdeShape): - """ - A streaming distribution Configuration and a list of tags to be - associated with the streaming distribution. - """ - - streaming_distribution_config: StreamingDistributionConfig - """A streaming distribution Configuration.""" - tags: Tags - """A complex type that contains zero or more `Tag` elements.""" - -@dataclass(kw_only=True) -class StreamingDistributionList(_SerdeShape): - """A streaming distribution list.""" - - marker: str - """The value you provided for the `Marker` request parameter.""" - next_marker: str | None = ... - """ - If `IsTruncated` is `true`, this element is present and contains the - value you can use for the `Marker` request parameter to continue listing - your RTMP distributions where they left off. - """ - max_items: int - """The value you provided for the `MaxItems` request parameter.""" - is_truncated: bool - """ - A flag that indicates whether more streaming distributions remain to be - listed. If your results were truncated, you can make a follow-up - pagination request using the `Marker` request parameter to retrieve more - distributions in the list. - """ - quantity: int - """ - The number of streaming distributions that were created by the current - Amazon Web Services account. - """ - items: list[StreamingDistributionSummary] | None = ... - """ - A complex type that contains one `StreamingDistributionSummary` element - for each distribution that was created by the current Amazon Web - Services account. - """ - -@dataclass(kw_only=True) -class StreamingDistributionNotDisabled(ServiceError, _SerdeShape): - """ - The specified CloudFront distribution is not disabled. You must disable - the distribution before you can delete it. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StreamingDistributionSummary(_SerdeShape): - """A summary of the information for a CloudFront streaming distribution.""" - - id: str - """The identifier for the distribution, for example, `EDFDVBD632BHDS5`.""" - arn: str - """ - The ARN (Amazon Resource Name) for the streaming distribution. For - example: - `arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5`, - where `123456789012` is your Amazon Web Services account ID. - """ - status: str - """ - Indicates the current status of the distribution. When the status is - `Deployed`, the distribution's information is fully propagated - throughout the Amazon CloudFront system. - """ - last_modified_time: datetime - """The date and time the distribution was last modified.""" - domain_name: str - """ - The domain name corresponding to the distribution, for example, - `d111111abcdef8.cloudfront.net`. - """ - s3_origin: S3Origin - """ - A complex type that contains information about the Amazon S3 bucket from - which you want CloudFront to get your media files for distribution. - """ - aliases: Aliases - """ - A complex type that contains information about CNAMEs (alternate domain - names), if any, for this streaming distribution. - """ - trusted_signers: TrustedSigners - """ - A complex type that specifies the Amazon Web Services accounts, if any, - that you want to allow to create signed URLs for private content. If you - want to require signed URLs in requests for objects in the target origin - that match the `PathPattern` for this cache behavior, specify `true` for - `Enabled`, and specify the applicable values for `Quantity` and - `Items`.If you don't want to require signed URLs in requests for - objects that match `PathPattern`, specify `false` for `Enabled` and `0` - for `Quantity`. Omit `Items`. To add, change, or remove one or more - trusted signers, change `Enabled` to `true` (if it's currently - `false`), change `Quantity` as applicable, and specify all of the - trusted signers that you want to include in the updated distribution. - - For more information, see [Serving Private Content through - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) - in the *Amazon CloudFront Developer Guide*. - """ - comment: str - """The comment originally specified when this distribution was created.""" - price_class: str - """ - A complex type that contains information about price class for this - streaming distribution. - """ - enabled: bool - """ - Whether the distribution is enabled to accept end user requests for - content. - """ - -@dataclass(kw_only=True) -class StreamingLoggingConfig(_SerdeShape): - """ - A complex type that controls whether access logs are written for this - streaming distribution. - """ - - enabled: bool - """ - Specifies whether you want CloudFront to save access logs to an Amazon - S3 bucket. If you don't want to enable logging when you create a - streaming distribution or if you want to disable logging for an existing - streaming distribution, specify `false` for `Enabled`, and specify - `empty Bucket` and `Prefix` elements. If you specify `false` for - `Enabled` but you specify values for `Bucket` and `Prefix`, the values - are automatically deleted. - """ - bucket: str - """ - The Amazon S3 bucket to store the access logs in, for example, - `amzn-s3-demo-bucket.s3.amazonaws.com`. - """ - prefix: str - """ - An optional string that you want CloudFront to prefix to the access log - filenames for this streaming distribution, for example, `myprefix/`. If - you want to enable logging, but you don't want to specify a prefix, you - still must include an empty `Prefix` element in the `Logging` element. - """ - -@dataclass(kw_only=True) -class StringSchemaConfig(_SerdeShape): - """The configuration for a string schema.""" - - comment: str | None = ... - """A comment to describe the parameter.""" - default_value: str | None = ... - """The default value of the parameter.""" - required: bool - """Whether the defined parameter is required.""" - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """A complex type that contains `Tag` key and `Tag` value.""" - - key: str - """ - A string that contains `Tag` key. - - The string length should be between 1 and 128 characters. Valid - characters include `a-z`, `A-Z`, `0-9`, space, and the special - characters `_ - . : / = + @`. - """ - value: str | None = ... - """ - A string that contains an optional `Tag` value. - - The string length should be between 0 and 256 characters. Valid - characters include `a-z`, `A-Z`, `0-9`, space, and the special - characters `_ - . : / = + @`. - """ - -@dataclass(kw_only=True) -class TagKeys(_SerdeShape): - """A complex type that contains zero or more `Tag` elements.""" - - items: list[str] | None = ... - """A complex type that contains `Tag` key elements.""" - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """The request to add tags to a CloudFront resource.""" - - resource: str | None = ... - """An ARN of a CloudFront resource.""" - tags: Tags | None = ... - """A complex type that contains zero or more `Tag` elements.""" - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Tags(_SerdeShape): - """A complex type that contains zero or more `Tag` elements.""" - - items: list[Tag] | None = ... - """A complex type that contains `Tag` elements.""" - -@dataclass(kw_only=True) -class TenantConfig(_SerdeShape): - """ - Note: - This field only supports multi-tenant distributions. You can't specify - this field for standard distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - The configuration for a distribution tenant. - """ - - parameter_definitions: list[ParameterDefinition] | None = ... - """The parameters that you specify for a distribution tenant.""" - -@dataclass(kw_only=True) -class TestConnectionFunctionInput(_SerdeShape): - """Dataclass for TestConnectionFunctionInput structure.""" - - id: str | None = ... - """The connection function ID.""" - if_match: str | None = ... - """The current version (`ETag` value) of the connection function.""" - stage: str | None = ... - """The connection function stage.""" - connection_object: bytes | None = ... - """The connection object.""" - -@dataclass(kw_only=True) -class TestConnectionFunctionOutput(_SerdeShape): - """Dataclass for TestConnectionFunctionOutput structure.""" - - connection_function_test_result: ConnectionFunctionTestResult | None = ... - """The connection function test result.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TestFunctionFailed(ServiceError, _SerdeShape): - """The CloudFront function failed.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TestFunctionInput(_SerdeShape): - """Dataclass for TestFunctionInput structure.""" - - name: str | None = ... - """The name of the function that you are testing.""" - if_match: str | None = ... - """ - The current version (`ETag` value) of the function that you are testing, - which you can get using `DescribeFunction`. - """ - stage: str | None = ... - """ - The stage of the function that you are testing, either `DEVELOPMENT` or - `LIVE`. - """ - event_object: bytes | None = ... - """ - The event object to test the function with. For more information about - the structure of the event object, see [Testing - functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class TestFunctionOutput(_SerdeShape): - """Dataclass for TestFunctionOutput structure.""" - - test_result: TestResult | None = ... - """ - An object that represents the result of running the function with the - provided event object. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TestResult(_SerdeShape): - """ - Contains the result of testing a CloudFront function with - `TestFunction`. - """ - - function_summary: FunctionSummary | None = ... - """ - Contains configuration information and metadata about the CloudFront - function that was tested. - """ - compute_utilization: str | None = ... - """ - The amount of time that the function took to run as a percentage of the - maximum allowed time. For example, a compute utilization of 35 means - that the function completed in 35% of the maximum allowed time. - """ - function_execution_logs: list[str] | None = ... - """ - Contains the log lines that the function wrote (if any) when running the - test. - """ - function_error_message: str | None = ... - """ - If the result of testing the function was an error, this field contains - the error message. - """ - function_output: str | None = ... - """ - The event object returned by the function. For more information about - the structure of the event object, see [Event object - structure](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/functions-event-structure.html) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class TooLongCSPInResponseHeadersPolicy(ServiceError, _SerdeShape): - """ - The length of the `Content-Security-Policy` header value in the response - headers policy exceeds the maximum. - - For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyCacheBehaviors(ServiceError, _SerdeShape): - """You cannot create more cache behaviors for the distribution.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyCachePolicies(ServiceError, _SerdeShape): - """ - You have reached the maximum number of cache policies for this Amazon - Web Services account. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyCertificates(ServiceError, _SerdeShape): - """You cannot create anymore custom SSL/TLS certificates.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyCloudFrontOriginAccessIdentities(ServiceError, _SerdeShape): - """ - Processing your request would cause you to exceed the maximum number of - origin access identities allowed. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyContinuousDeploymentPolicies(ServiceError, _SerdeShape): - """ - You have reached the maximum number of continuous deployment policies - for this Amazon Web Services account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyCookieNamesInWhiteList(ServiceError, _SerdeShape): - """ - Your request contains more cookie names in the whitelist than are - allowed per cache behavior. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyCookiesInCachePolicy(ServiceError, _SerdeShape): - """ - The number of cookies in the cache policy exceeds the maximum. For more - information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyCookiesInOriginRequestPolicy(ServiceError, _SerdeShape): - """ - The number of cookies in the origin request policy exceeds the maximum. - For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyCustomHeadersInResponseHeadersPolicy(ServiceError, _SerdeShape): - """ - The number of custom headers in the response headers policy exceeds the - maximum. - - For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionCNAMEs(ServiceError, _SerdeShape): - """Your request contains more CNAMEs than are allowed per distribution.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributions(ServiceError, _SerdeShape): - """ - Processing your request would cause you to exceed the maximum number of - distributions allowed. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionsAssociatedToCachePolicy(ServiceError, _SerdeShape): - """ - The maximum number of distributions have been associated with the - specified cache policy. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionsAssociatedToFieldLevelEncryptionConfig( - ServiceError, _SerdeShape -): - """ - The maximum number of distributions have been associated with the - specified configuration for field-level encryption. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionsAssociatedToKeyGroup(ServiceError, _SerdeShape): - """ - The number of distributions that reference this key group is more than - the maximum allowed. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionsAssociatedToOriginAccessControl(ServiceError, _SerdeShape): - """ - The maximum number of distributions have been associated with the - specified origin access control. - - For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionsAssociatedToOriginRequestPolicy(ServiceError, _SerdeShape): - """ - The maximum number of distributions have been associated with the - specified origin request policy. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionsAssociatedToResponseHeadersPolicy(ServiceError, _SerdeShape): - """ - The maximum number of distributions have been associated with the - specified response headers policy. - - For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionsWithFunctionAssociations(ServiceError, _SerdeShape): - """ - You have reached the maximum number of distributions that are associated - with a CloudFront function. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionsWithLambdaAssociations(ServiceError, _SerdeShape): - """ - Processing your request would cause the maximum number of distributions - with Lambda@Edge function associations per owner to be exceeded. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyDistributionsWithSingleFunctionARN(ServiceError, _SerdeShape): - """ - The maximum number of distributions have been associated with the - specified Lambda@Edge function. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyFieldLevelEncryptionConfigs(ServiceError, _SerdeShape): - """ - The maximum number of configurations for field-level encryption have - been created. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyFieldLevelEncryptionContentTypeProfiles(ServiceError, _SerdeShape): - """ - The maximum number of content type profiles for field-level encryption - have been created. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyFieldLevelEncryptionEncryptionEntities(ServiceError, _SerdeShape): - """ - The maximum number of encryption entities for field-level encryption - have been created. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyFieldLevelEncryptionFieldPatterns(ServiceError, _SerdeShape): - """ - The maximum number of field patterns for field-level encryption have - been created. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyFieldLevelEncryptionProfiles(ServiceError, _SerdeShape): - """ - The maximum number of profiles for field-level encryption have been - created. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyFieldLevelEncryptionQueryArgProfiles(ServiceError, _SerdeShape): - """ - The maximum number of query arg profiles for field-level encryption have - been created. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyFunctionAssociations(ServiceError, _SerdeShape): - """ - You have reached the maximum number of CloudFront function associations - for this distribution. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyFunctions(ServiceError, _SerdeShape): - """ - You have reached the maximum number of CloudFront functions for this - Amazon Web Services account. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyHeadersInCachePolicy(ServiceError, _SerdeShape): - """ - The number of headers in the cache policy exceeds the maximum. For more - information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyHeadersInForwardedValues(ServiceError, _SerdeShape): - """Your request contains too many headers in forwarded values.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyHeadersInOriginRequestPolicy(ServiceError, _SerdeShape): - """ - The number of headers in the origin request policy exceeds the maximum. - For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyInvalidationsInProgress(ServiceError, _SerdeShape): - """ - You have exceeded the maximum number of allowable InProgress - invalidation batch requests, or invalidation objects. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyKeyGroups(ServiceError, _SerdeShape): - """ - You have reached the maximum number of key groups for this Amazon Web - Services account. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyKeyGroupsAssociatedToDistribution(ServiceError, _SerdeShape): - """ - The number of key groups referenced by this distribution is more than - the maximum allowed. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyLambdaFunctionAssociations(ServiceError, _SerdeShape): - """ - Your request contains more Lambda@Edge function associations than are - allowed per distribution. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyOriginAccessControls(ServiceError, _SerdeShape): - """ - The number of origin access controls in your Amazon Web Services account - exceeds the maximum allowed. - - For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyOriginCustomHeaders(ServiceError, _SerdeShape): - """Your request contains too many origin custom headers.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyOriginGroupsPerDistribution(ServiceError, _SerdeShape): - """ - Processing your request would cause you to exceed the maximum number of - origin groups allowed. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyOriginRequestPolicies(ServiceError, _SerdeShape): - """ - You have reached the maximum number of origin request policies for this - Amazon Web Services account. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyOrigins(ServiceError, _SerdeShape): - """You cannot create more origins for the distribution.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyPublicKeys(ServiceError, _SerdeShape): - """ - The maximum number of public keys for field-level encryption have been - created. To create a new public key, delete one of the existing keys. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyPublicKeysInKeyGroup(ServiceError, _SerdeShape): - """ - The number of public keys in this key group is more than the maximum - allowed. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyQueryStringParameters(ServiceError, _SerdeShape): - """Your request contains too many query string parameters.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyQueryStringsInCachePolicy(ServiceError, _SerdeShape): - """ - The number of query strings in the cache policy exceeds the maximum. For - more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyQueryStringsInOriginRequestPolicy(ServiceError, _SerdeShape): - """ - The number of query strings in the origin request policy exceeds the - maximum. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyRealtimeLogConfigs(ServiceError, _SerdeShape): - """ - You have reached the maximum number of real-time log configurations for - this Amazon Web Services account. For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyRemoveHeadersInResponseHeadersPolicy(ServiceError, _SerdeShape): - """ - The number of headers in `RemoveHeadersConfig` in the response headers - policy exceeds the maximum. - - For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyResponseHeadersPolicies(ServiceError, _SerdeShape): - """ - You have reached the maximum number of response headers policies for - this Amazon Web Services account. - - For more information, see - [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) - (formerly known as limits) in the *Amazon CloudFront Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyStreamingDistributionCNAMEs(ServiceError, _SerdeShape): - """Your request contains more CNAMEs than are allowed per distribution.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyStreamingDistributions(ServiceError, _SerdeShape): - """ - Processing your request would cause you to exceed the maximum number of - streaming distributions allowed. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TooManyTrustedSigners(ServiceError, _SerdeShape): - """ - Your request contains more trusted signers than are allowed per - distribution. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TrafficConfig(_SerdeShape): - """The traffic configuration of your continuous deployment.""" - - single_weight_config: ContinuousDeploymentSingleWeightConfig | None = ... - """Contains the percentage of traffic to send to the staging distribution.""" - single_header_config: ContinuousDeploymentSingleHeaderConfig | None = ... - """Determines which HTTP requests are sent to the staging distribution.""" - type: str - """The type of traffic configuration.""" - -@dataclass(kw_only=True) -class TrustedKeyGroupDoesNotExist(ServiceError, _SerdeShape): - """The specified key group does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TrustedKeyGroups(_SerdeShape): - """ - A list of key groups whose public keys CloudFront can use to verify the - signatures of signed URLs and signed cookies. - """ - - enabled: bool - """ - This field is `true` if any of the key groups in the list have public - keys that CloudFront can use to verify the signatures of signed URLs and - signed cookies. If not, this field is `false`. - """ - quantity: int - """The number of key groups in the list.""" - items: list[str] | None = ... - """A list of key groups identifiers.""" - -@dataclass(kw_only=True) -class TrustedSignerDoesNotExist(ServiceError, _SerdeShape): - """One or more of your trusted signers don't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TrustedSigners(_SerdeShape): - """ - A list of Amazon Web Services accounts whose public keys CloudFront can - use to verify the signatures of signed URLs and signed cookies. - """ - - enabled: bool - """ - This field is `true` if any of the Amazon Web Services accounts in the - list are configured as trusted signers. If not, this field is `false`. - """ - quantity: int - """The number of Amazon Web Services accounts in the list.""" - items: list[str] | None = ... - """A list of Amazon Web Services account identifiers.""" - -@dataclass(kw_only=True) -class TrustStore(_SerdeShape): - """A trust store.""" - - id: str | None = ... - """The trust store's ID.""" - arn: str | None = ... - """The trust store's Amazon Resource Name (ARN).""" - name: str | None = ... - """The trust store's name.""" - status: str | None = ... - """The trust store's status.""" - number_of_ca_certificates: int | None = ... - """The trust store's number of CA certificates.""" - last_modified_time: datetime | None = ... - """The trust store's last modified time.""" - reason: str | None = ... - """The trust store's reason.""" - use_client_certificate_ocsp_endpoint: bool | None = ... - """ - A Boolean that determines whether the trust store uses the CA - certificate's OCSP endpoint to check certificate revocation status. - """ - -@dataclass(kw_only=True) -class TrustStoreConfig(_SerdeShape): - """A trust store configuration.""" - - trust_store_id: str - """The trust store ID.""" - advertise_trust_store_ca_names: bool | None = ... - """The configuration to use to advertise trust store CA names.""" - ignore_certificate_expiry: bool | None = ... - """The configuration to use to ignore certificate expiration.""" - -class TrustStoreStatus(UnknownEnumMixin, StrEnum): - PENDING = "pending" - ACTIVE = "active" - FAILED = "failed" - -@dataclass(kw_only=True) -class TrustStoreSummary(_SerdeShape): - """A trust store summary.""" - - id: str - """The trust store's ID.""" - arn: str - """The trust store's Amazon Resource Name (ARN).""" - name: str - """The trust store's name.""" - status: str - """The trust store's status.""" - number_of_ca_certificates: int - """The trust store's number of CA certificates.""" - last_modified_time: datetime - """The trust store's last modified time.""" - reason: str | None = ... - """The trust store's reason.""" - e_tag: str - """The version identifier for the current version of the trust store.""" - -@dataclass(kw_only=True) -class UnsupportedOperation(ServiceError, _SerdeShape): - """This operation is not supported in this Amazon Web Services Region.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """The request to remove tags from a CloudFront resource.""" - - resource: str | None = ... - """An ARN of a CloudFront resource.""" - tag_keys: TagKeys | None = ... - """A complex type that contains zero or more `Tag` key elements.""" - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAnycastIpListInput(_SerdeShape): - """Dataclass for UpdateAnycastIpListInput structure.""" - - id: str | None = ... - """The ID of the Anycast static IP list.""" - ip_address_type: str | None = ... - """ - The IP address type for the Anycast static IP list. You can specify one - of the following options: - - - `ipv4` only - - - `ipv6` only - - - `dualstack` - Allocate a list of both IPv4 and IPv6 addresses - """ - ipam_cidr_configs: list[IpamCidrConfig] | None = ... - """ - A list of IPAM CIDR configurations that specify the IP address ranges - and IPAM pool settings for updating the Anycast static IP list. - """ - if_match: str | None = ... - """ - The current version (ETag value) of the Anycast static IP list that you - are updating. - """ - -@dataclass(kw_only=True) -class UpdateAnycastIpListOutput(_SerdeShape): - """Dataclass for UpdateAnycastIpListOutput structure.""" - - anycast_ip_list: AnycastIpList | None = ... - """ - An Anycast static IP list. For more information, see [Request Anycast - static IPs to use for - allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) - in the *Amazon CloudFront Developer Guide*. - """ - e_tag: str | None = ... - """The current version of the Anycast static IP list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCachePolicyInput(_SerdeShape): - """Dataclass for UpdateCachePolicyInput structure.""" - - cache_policy_config: CachePolicyConfig | None = ... - """A cache policy configuration.""" - id: str | None = ... - """ - The unique identifier for the cache policy that you are updating. The - identifier is returned in a cache behavior's `CachePolicyId` field in - the response to `GetDistributionConfig`. - """ - if_match: str | None = ... - """ - The version of the cache policy that you are updating. The version is - returned in the cache policy's `ETag` field in the response to - `GetCachePolicyConfig`. - """ - -@dataclass(kw_only=True) -class UpdateCachePolicyOutput(_SerdeShape): - """Dataclass for UpdateCachePolicyOutput structure.""" - - cache_policy: CachePolicy | None = ... - """A cache policy.""" - e_tag: str | None = ... - """The current version of the cache policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCloudFrontOriginAccessIdentityInput(_SerdeShape): - """The request to update an origin access identity.""" - - cloud_front_origin_access_identity_config: ( - CloudFrontOriginAccessIdentityConfig | None - ) = ... - """The identity's configuration information.""" - id: str | None = ... - """The identity's id.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - identity's configuration. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class UpdateCloudFrontOriginAccessIdentityOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - cloud_front_origin_access_identity: CloudFrontOriginAccessIdentity | None = ... - """The origin access identity's information.""" - e_tag: str | None = ... - """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateConnectionFunctionInput(_SerdeShape): - """Dataclass for UpdateConnectionFunctionInput structure.""" - - id: str | None = ... - """The connection function ID.""" - if_match: str | None = ... - """ - The current version (`ETag` value) of the connection function you are - updating. - """ - connection_function_config: FunctionConfig | None = ... - """Contains configuration information about a CloudFront function.""" - connection_function_code: bytes | None = ... - """The connection function code.""" - -@dataclass(kw_only=True) -class UpdateConnectionFunctionOutput(_SerdeShape): - """Dataclass for UpdateConnectionFunctionOutput structure.""" - - connection_function_summary: ConnectionFunctionSummary | None = ... - """The connection function summary.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the connection - function. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateConnectionGroupInput(_SerdeShape): - """Dataclass for UpdateConnectionGroupInput structure.""" - - id: str | None = ... - """The ID of the connection group.""" - ipv6_enabled: bool | None = ... - """ - Enable IPv6 for the connection group. For more information, see [Enable - IPv6](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesEnableIPv6) - in the *Amazon CloudFront Developer Guide*. - """ - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - connection group that you're updating. - """ - anycast_ip_list_id: str | None = ... - """The ID of the Anycast static IP list.""" - enabled: bool | None = ... - """Whether the connection group is enabled.""" - -@dataclass(kw_only=True) -class UpdateConnectionGroupOutput(_SerdeShape): - """Dataclass for UpdateConnectionGroupOutput structure.""" - - connection_group: ConnectionGroup | None = ... - """The connection group that you updated.""" - e_tag: str | None = ... - """The current version of the connection group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateContinuousDeploymentPolicyInput(_SerdeShape): - """Dataclass for UpdateContinuousDeploymentPolicyInput structure.""" - - continuous_deployment_policy_config: ContinuousDeploymentPolicyConfig | None = ... - """The continuous deployment policy configuration.""" - id: str | None = ... - """ - The identifier of the continuous deployment policy that you are - updating. - """ - if_match: str | None = ... - """ - The current version (`ETag` value) of the continuous deployment policy - that you are updating. - """ - -@dataclass(kw_only=True) -class UpdateContinuousDeploymentPolicyOutput(_SerdeShape): - """Dataclass for UpdateContinuousDeploymentPolicyOutput structure.""" - - continuous_deployment_policy: ContinuousDeploymentPolicy | None = ... - """A continuous deployment policy.""" - e_tag: str | None = ... - """ - The version identifier for the current version of the continuous - deployment policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDistributionInput(_SerdeShape): - """The request to update a distribution.""" - - distribution_config: DistributionConfig | None = ... - """The distribution's configuration information.""" - id: str | None = ... - """The distribution's id.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - distribution's configuration. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class UpdateDistributionOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - distribution: Distribution | None = ... - """The distribution's information.""" - e_tag: str | None = ... - """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDistributionTenantInput(_SerdeShape): - """Dataclass for UpdateDistributionTenantInput structure.""" - - id: str | None = ... - """The ID of the distribution tenant.""" - distribution_id: str | None = ... - """The ID for the multi-tenant distribution.""" - domains: list[DomainItem] | None = ... - """ - The domains to update for the distribution tenant. A domain object can - contain only a domain property. You must specify at least one domain. - Each distribution tenant can have up to 5 domains. - """ - customizations: Customizations | None = ... - """ - Customizations for the distribution tenant. For each distribution - tenant, you can specify the geographic restrictions, and the Amazon - Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are - specific values that you can override or disable from the multi-tenant - distribution that was used to create the distribution tenant. - """ - parameters: list[Parameter] | None = ... - """ - A list of parameter values to add to the resource. A parameter is - specified as a key-value pair. A valid parameter value must exist for - any parameter that is marked as required in the multi-tenant - distribution. - """ - connection_group_id: str | None = ... - """The ID of the target connection group.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - distribution tenant to update. This value is returned in the response of - the `GetDistributionTenant` API operation. - """ - managed_certificate_request: ManagedCertificateRequest | None = ... - """An object that contains the CloudFront managed ACM certificate request.""" - enabled: bool | None = ... - """ - Indicates whether the distribution tenant should be updated to an - enabled state. If you update the distribution tenant and it's not - enabled, the distribution tenant won't serve traffic. - """ - -@dataclass(kw_only=True) -class UpdateDistributionTenantOutput(_SerdeShape): - """Dataclass for UpdateDistributionTenantOutput structure.""" - - distribution_tenant: DistributionTenant | None = ... - """The distribution tenant that you're updating.""" - e_tag: str | None = ... - """The current version of the distribution tenant.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDistributionWithStagingConfigInput(_SerdeShape): - """Dataclass for UpdateDistributionWithStagingConfigInput structure.""" - - id: str | None = ... - """ - The identifier of the primary distribution to which you are copying a - staging distribution's configuration. - """ - staging_distribution_id: str | None = ... - """ - The identifier of the staging distribution whose configuration you are - copying to the primary distribution. - """ - if_match: str | None = ... - """ - The current versions (`ETag` values) of both primary and staging - distributions. Provide these in the following format: - - `, ` - """ - -@dataclass(kw_only=True) -class UpdateDistributionWithStagingConfigOutput(_SerdeShape): - """Dataclass for UpdateDistributionWithStagingConfigOutput structure.""" - - distribution: Distribution | None = ... - """ - A distribution tells CloudFront where you want content to be delivered - from, and the details about how to track and manage content delivery. - """ - e_tag: str | None = ... - """The current version of the primary distribution (after it's updated).""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDomainAssociationInput(_SerdeShape): - """Dataclass for UpdateDomainAssociationInput structure.""" - - domain: str | None = ... - """The domain to update.""" - target_resource: DistributionResourceId | None = ... - """ - The target standard distribution or distribution tenant resource for the - domain. You can specify either `DistributionId` or - `DistributionTenantId`, but not both. - """ - if_match: str | None = ... - """ - The value of the `ETag` identifier for the standard distribution or - distribution tenant that will be associated with the domain. - """ - -@dataclass(kw_only=True) -class UpdateDomainAssociationOutput(_SerdeShape): - """Dataclass for UpdateDomainAssociationOutput structure.""" - - domain: str | None = ... - """The domain that you're moving.""" - resource_id: str | None = ... - """The intended destination for the domain.""" - e_tag: str | None = ... - """ - The current version of the target standard distribution or distribution - tenant that was associated with the domain. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFieldLevelEncryptionConfigInput(_SerdeShape): - """Dataclass for UpdateFieldLevelEncryptionConfigInput structure.""" - - field_level_encryption_config: FieldLevelEncryptionConfig | None = ... - """Request to update a field-level encryption configuration.""" - id: str | None = ... - """The ID of the configuration you want to update.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - configuration identity to update. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class UpdateFieldLevelEncryptionConfigOutput(_SerdeShape): - """Dataclass for UpdateFieldLevelEncryptionConfigOutput structure.""" - - field_level_encryption: FieldLevelEncryption | None = ... - """Return the results of updating the configuration.""" - e_tag: str | None = ... - """ - The value of the `ETag` header that you received when updating the - configuration. For example: `E2QWRUHAPOMQZL`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFieldLevelEncryptionProfileInput(_SerdeShape): - """Dataclass for UpdateFieldLevelEncryptionProfileInput structure.""" - - field_level_encryption_profile_config: ( - FieldLevelEncryptionProfileConfig | None - ) = ... - """Request to update a field-level encryption profile.""" - id: str | None = ... - """The ID of the field-level encryption profile request.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - profile identity to update. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class UpdateFieldLevelEncryptionProfileOutput(_SerdeShape): - """Dataclass for UpdateFieldLevelEncryptionProfileOutput structure.""" - - field_level_encryption_profile: FieldLevelEncryptionProfile | None = ... - """Return the results of updating the profile.""" - e_tag: str | None = ... - """The result of the field-level encryption profile request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFunctionInput(_SerdeShape): - """Dataclass for UpdateFunctionInput structure.""" - - name: str | None = ... - """The name of the function that you are updating.""" - if_match: str | None = ... - """ - The current version (`ETag` value) of the function that you are - updating, which you can get using `DescribeFunction`. - """ - function_config: FunctionConfig | None = ... - """Configuration information about the function.""" - function_code: bytes | None = ... - """ - The function code. For more information about writing a CloudFront - function, see [Writing function code for CloudFront - Functions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class UpdateFunctionOutput(_SerdeShape): - """Dataclass for UpdateFunctionOutput structure.""" - - function_summary: FunctionSummary | None = ... - """ - Contains configuration information and metadata about a CloudFront - function. - """ - e_tag: str | None = ... - """ - The version identifier for the current version of the CloudFront - function. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateKeyGroupInput(_SerdeShape): - """Dataclass for UpdateKeyGroupInput structure.""" - - key_group_config: KeyGroupConfig | None = ... - """The key group configuration.""" - id: str | None = ... - """The identifier of the key group that you are updating.""" - if_match: str | None = ... - """ - The version of the key group that you are updating. The version is the - key group's `ETag` value. - """ - -@dataclass(kw_only=True) -class UpdateKeyGroupOutput(_SerdeShape): - """Dataclass for UpdateKeyGroupOutput structure.""" - - key_group: KeyGroup | None = ... - """The key group that was just updated.""" - e_tag: str | None = ... - """The identifier for this version of the key group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateKeyValueStoreInput(_SerdeShape): - """Dataclass for UpdateKeyValueStoreInput structure.""" - - name: str | None = ... - """The name of the key value store to update.""" - comment: str | None = ... - """The comment of the key value store to update.""" - if_match: str | None = ... - """The key value store to update, if a match occurs.""" - -@dataclass(kw_only=True) -class UpdateKeyValueStoreOutput(_SerdeShape): - """Dataclass for UpdateKeyValueStoreOutput structure.""" - - key_value_store: KeyValueStore | None = ... - """The resulting key value store to update.""" - e_tag: str | None = ... - """The `ETag` of the resulting key value store.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateOriginAccessControlInput(_SerdeShape): - """Dataclass for UpdateOriginAccessControlInput structure.""" - - origin_access_control_config: OriginAccessControlConfig | None = ... - """An origin access control.""" - id: str | None = ... - """ - The unique identifier of the origin access control that you are - updating. - """ - if_match: str | None = ... - """ - The current version (`ETag` value) of the origin access control that you - are updating. - """ - -@dataclass(kw_only=True) -class UpdateOriginAccessControlOutput(_SerdeShape): - """Dataclass for UpdateOriginAccessControlOutput structure.""" - - origin_access_control: OriginAccessControl | None = ... - """The origin access control after it has been updated.""" - e_tag: str | None = ... - """The new version of the origin access control after it has been updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateOriginRequestPolicyInput(_SerdeShape): - """Dataclass for UpdateOriginRequestPolicyInput structure.""" - - origin_request_policy_config: OriginRequestPolicyConfig | None = ... - """An origin request policy configuration.""" - id: str | None = ... - """ - The unique identifier for the origin request policy that you are - updating. The identifier is returned in a cache behavior's - `OriginRequestPolicyId` field in the response to - `GetDistributionConfig`. - """ - if_match: str | None = ... - """ - The version of the origin request policy that you are updating. The - version is returned in the origin request policy's `ETag` field in the - response to `GetOriginRequestPolicyConfig`. - """ - -@dataclass(kw_only=True) -class UpdateOriginRequestPolicyOutput(_SerdeShape): - """Dataclass for UpdateOriginRequestPolicyOutput structure.""" - - origin_request_policy: OriginRequestPolicy | None = ... - """An origin request policy.""" - e_tag: str | None = ... - """The current version of the origin request policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatePublicKeyInput(_SerdeShape): - """Dataclass for UpdatePublicKeyInput structure.""" - - public_key_config: PublicKeyConfig | None = ... - """A public key configuration.""" - id: str | None = ... - """The identifier of the public key that you are updating.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - public key to update. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class UpdatePublicKeyOutput(_SerdeShape): - """Dataclass for UpdatePublicKeyOutput structure.""" - - public_key: PublicKey | None = ... - """The public key.""" - e_tag: str | None = ... - """The identifier of the current version of the public key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRealtimeLogConfigInput(_SerdeShape): - """Dataclass for UpdateRealtimeLogConfigInput structure.""" - - end_points: list[EndPoint] | None = ... - """ - Contains information about the Amazon Kinesis data stream where you are - sending real-time log data. - """ - fields: list[str] | None = ... - """ - A list of fields to include in each real-time log record. - - For more information about fields, see [Real-time log configuration - fields](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) - in the *Amazon CloudFront Developer Guide*. - """ - name: str | None = ... - """The name for this real-time log configuration.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) for this real-time log configuration.""" - sampling_rate: int | None = ... - """ - The sampling rate for this real-time log configuration. The sampling - rate determines the percentage of viewer requests that are represented - in the real-time log data. You must provide an integer between 1 and - 100, inclusive. - """ - -@dataclass(kw_only=True) -class UpdateRealtimeLogConfigOutput(_SerdeShape): - """Dataclass for UpdateRealtimeLogConfigOutput structure.""" - - realtime_log_config: RealtimeLogConfig | None = ... - """A real-time log configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateResponseHeadersPolicyInput(_SerdeShape): - """Dataclass for UpdateResponseHeadersPolicyInput structure.""" - - response_headers_policy_config: ResponseHeadersPolicyConfig | None = ... - """A response headers policy configuration.""" - id: str | None = ... - """The identifier for the response headers policy that you are updating.""" - if_match: str | None = ... - """ - The version of the response headers policy that you are updating. - - The version is returned in the cache policy's `ETag` field in the - response to `GetResponseHeadersPolicyConfig`. - """ - -@dataclass(kw_only=True) -class UpdateResponseHeadersPolicyOutput(_SerdeShape): - """Dataclass for UpdateResponseHeadersPolicyOutput structure.""" - - response_headers_policy: ResponseHeadersPolicy | None = ... - """A response headers policy.""" - e_tag: str | None = ... - """The current version of the response headers policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateStreamingDistributionInput(_SerdeShape): - """The request to update a streaming distribution.""" - - streaming_distribution_config: StreamingDistributionConfig | None = ... - """The streaming distribution's configuration information.""" - id: str | None = ... - """The streaming distribution's id.""" - if_match: str | None = ... - """ - The value of the `ETag` header that you received when retrieving the - streaming distribution's configuration. For example: `E2QWRUHAPOMQZL`. - """ - -@dataclass(kw_only=True) -class UpdateStreamingDistributionOutput(_SerdeShape): - """The returned result of the corresponding request.""" - - streaming_distribution: StreamingDistribution | None = ... - """The streaming distribution's information.""" - e_tag: str | None = ... - """The current version of the configuration. For example: `E2QWRUHAPOMQZL`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateTrustStoreInput(_SerdeShape): - """Dataclass for UpdateTrustStoreInput structure.""" - - id: str | None = ... - """The trust store ID.""" - ca_certificates_bundle_source: CaCertificatesBundleSource | None = ... - """The CA certificates bundle source.""" - use_client_certificate_ocsp_endpoint: bool | None = ... - """ - A Boolean that determines whether to use the CA certificate's OCSP - endpoint to check certificate revocation status. - """ - if_match: str | None = ... - """The current version (`ETag` value) of the trust store you are updating.""" - -@dataclass(kw_only=True) -class UpdateTrustStoreOutput(_SerdeShape): - """Dataclass for UpdateTrustStoreOutput structure.""" - - trust_store: TrustStore | None = ... - """The trust store.""" - e_tag: str | None = ... - """The version identifier for the current version of the trust store.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateVpcOriginInput(_SerdeShape): - """Dataclass for UpdateVpcOriginInput structure.""" - - vpc_origin_endpoint_config: VpcOriginEndpointConfig | None = ... - """The VPC origin endpoint configuration.""" - id: str | None = ... - """The VPC origin ID.""" - if_match: str | None = ... - """The VPC origin to update, if a match occurs.""" - -@dataclass(kw_only=True) -class UpdateVpcOriginOutput(_SerdeShape): - """Dataclass for UpdateVpcOriginOutput structure.""" - - vpc_origin: VpcOrigin | None = ... - """The VPC origin.""" - e_tag: str | None = ... - """The VPC origin ETag.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ValidationTokenDetail(_SerdeShape): - """Contains details about the validation token.""" - - domain: str - """The domain name.""" - redirect_to: str | None = ... - """The domain to redirect to.""" - redirect_from: str | None = ... - """The domain to redirect from.""" - -class ValidationTokenHost(UnknownEnumMixin, StrEnum): - CLOUD_FRONT = "cloudfront" - SELF_HOSTED = "self-hosted" - -@dataclass(kw_only=True) -class VerifyDnsConfigurationInput(_SerdeShape): - """Dataclass for VerifyDnsConfigurationInput structure.""" - - domain: str | None = ... - """The domain name that you're verifying.""" - identifier: str | None = ... - """ - The identifier of the distribution tenant. You can specify the ARN, ID, - or name of the distribution tenant. - """ - -@dataclass(kw_only=True) -class VerifyDnsConfigurationOutput(_SerdeShape): - """Dataclass for VerifyDnsConfigurationOutput structure.""" - - dns_configuration_list: list[DnsConfiguration] | None = ... - """ - The list of domain names, their statuses, and a description of each - status. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ViewerCertificate(_SerdeShape): - """ - A complex type that determines the distribution's SSL/TLS configuration - for communicating with viewers. - - If the distribution doesn't use `Aliases` (also known as alternate - domain names or CNAMEs)---that is, if the distribution uses the - CloudFront domain name such as `d111111abcdef8.cloudfront.net`---set - `CloudFrontDefaultCertificate` to `true` and leave all other fields - empty. - - If the distribution uses `Aliases` (alternate domain names or CNAMEs), - use the fields in this type to specify the following settings: - - - Which viewers the distribution accepts HTTPS connections from: only - viewers that support [server name indication - (SNI)](https://en.wikipedia.org/wiki/Server_Name_Indication) - (recommended), or all viewers including those that don't support SNI. - - - To accept HTTPS connections from only viewers that support SNI, set - `SSLSupportMethod` to `sni-only`. This is recommended. Most browsers - and clients support SNI. - - - To accept HTTPS connections from all viewers, including those that - don't support SNI, set `SSLSupportMethod` to `vip`. This is not - recommended, and results in additional monthly charges from - CloudFront. - - - The minimum SSL/TLS protocol version that the distribution can use to - communicate with viewers. To specify a minimum version, choose a value - for `MinimumProtocolVersion`. For more information, see [Security - Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) - in the *Amazon CloudFront Developer Guide*. - - - The location of the SSL/TLS certificate, [Certificate Manager - (ACM)](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html) - (recommended) or [Identity and Access Management - (IAM)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html). - You specify the location by setting a value in one of the following - fields (not both): - - - `ACMCertificateArn` - - - `IAMCertificateId` - - All distributions support HTTPS connections from viewers. To require - viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use - `ViewerProtocolPolicy` in the `CacheBehavior` or `DefaultCacheBehavior`. - To specify how CloudFront should use SSL/TLS to communicate with your - custom origin, use `CustomOriginConfig`. - - For more information, see [Using HTTPS with - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https.html) - and [Using Alternate Domain Names and - HTTPS](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html) - in the *Amazon CloudFront Developer Guide*. - """ - - cloud_front_default_certificate: bool | None = ... - """ - If the distribution uses the CloudFront domain name such as - `d111111abcdef8.cloudfront.net`, set this field to `true`. - - If the distribution uses `Aliases` (alternate domain names or CNAMEs), - set this field to `false` and specify values for the following fields: - - - `ACMCertificateArn` or `IAMCertificateId` (specify a value for one, - not both) - - - `MinimumProtocolVersion` - - - `SSLSupportMethod` - """ - iam_certificate_id: str | None = ... - """ - Note: - This field only supports standard distributions. You can't specify this - field for multi-tenant distributions. For more information, see - [Unsupported features for SaaS Manager for Amazon - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas) - in the *Amazon CloudFront Developer Guide*. - - If the distribution uses `Aliases` (alternate domain names or CNAMEs) - and the SSL/TLS certificate is stored in [Identity and Access Management - (IAM)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html), - provide the ID of the IAM certificate. - - If you specify an IAM certificate ID, you must also specify values for - `MinimumProtocolVersion` and `SSLSupportMethod`. - """ - acm_certificate_arn: str | None = ... - """ - If the distribution uses `Aliases` (alternate domain names or CNAMEs) - and the SSL/TLS certificate is stored in [Certificate Manager - (ACM)](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html), - provide the Amazon Resource Name (ARN) of the ACM certificate. - CloudFront only supports ACM certificates in the US East (N. Virginia) - Region (`us-east-1`). - - If you specify an ACM certificate ARN, you must also specify values for - `MinimumProtocolVersion` and `SSLSupportMethod`. - """ - ssl_support_method: str | None = ... - """ - If the distribution uses `Aliases` (alternate domain names or CNAMEs), - specify which viewers the distribution accepts HTTPS connections from. - - - `sni-only` -- The distribution accepts HTTPS connections from only - viewers that support [server name indication - (SNI)](https://en.wikipedia.org/wiki/Server_Name_Indication). This is - recommended. Most browsers and clients support SNI. - - - `vip` -- The distribution accepts HTTPS connections from all viewers - including those that don't support SNI. This is not recommended, and - results in additional monthly charges from CloudFront. - - - `static-ip` - Do not specify this value unless your distribution has - been enabled for this feature by the CloudFront team. If you have a - use case that requires static IP addresses for a distribution, contact - CloudFront through the [Amazon Web ServicesSupport - Center](https://console.aws.amazon.com/support/home). - - If the distribution uses the CloudFront domain name such as - `d111111abcdef8.cloudfront.net`, don't set a value for this field. - """ - minimum_protocol_version: str | None = ... - """ - If the distribution uses `Aliases` (alternate domain names or CNAMEs), - specify the security policy that you want CloudFront to use for HTTPS - connections with viewers. The security policy determines two settings: - - - The minimum SSL/TLS protocol that CloudFront can use to communicate - with viewers. - - - The ciphers that CloudFront can use to encrypt the content that it - returns to viewers. - - For more information, see [Security - Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) - and [Supported Protocols and Ciphers Between Viewers and - CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html#secure-connections-supported-ciphers) - in the *Amazon CloudFront Developer Guide*. - - Note: - On the CloudFront console, this setting is called **Security Policy**. - - When you're using SNI only (you set `SSLSupportMethod` to `sni-only`), - you must specify `TLSv1` or higher. - - If the distribution uses the CloudFront domain name such as - `d111111abcdef8.cloudfront.net` (you set `CloudFrontDefaultCertificate` - to `true`), CloudFront automatically sets the security policy to `TLSv1` - regardless of the value that you set here. - """ - certificate: str | None = ... - """ - This field is deprecated. Use one of the following fields instead: - - - `ACMCertificateArn` - - - `IAMCertificateId` - - - `CloudFrontDefaultCertificate` - """ - certificate_source: str | None = ... - """ - This field is deprecated. Use one of the following fields instead: - - - `ACMCertificateArn` - - - `IAMCertificateId` - - - `CloudFrontDefaultCertificate` - """ - -@dataclass(kw_only=True) -class ViewerMtlsConfig(_SerdeShape): - """A viewer mTLS configuration.""" - - mode: str = ... - """The viewer mTLS mode.""" - trust_store_config: TrustStoreConfig | None = ... - """ - The trust store configuration associated with the viewer mTLS - configuration. - """ - -class ViewerMtlsMode(UnknownEnumMixin, StrEnum): - REQUIRED = "required" - OPTIONAL = "optional" - PASSTHROUGH = "passthrough" - -class ViewerProtocolPolicy(UnknownEnumMixin, StrEnum): - ALLOW_ALL = "allow-all" - HTTPS_ONLY = "https-only" - REDIRECT_TO_HTTPS = "redirect-to-https" - -class VpcIpAddressType(UnknownEnumMixin, StrEnum): - """ - IP address type supported for VPC Origins. IPv6-only is not supported - for VPC Origins. - """ - - IPV4 = "ipv4" - DUAL_STACK = "dualstack" - -@dataclass(kw_only=True) -class VpcOrigin(_SerdeShape): - """An Amazon CloudFront VPC origin.""" - - id: str - """The VPC origin ID.""" - arn: str - """The VPC origin ARN.""" - account_id: str | None = ... - """ - The account ID of the Amazon Web Services account that owns the VPC - origin. - """ - status: str - """The VPC origin status.""" - created_time: datetime - """The VPC origin created time.""" - last_modified_time: datetime - """The VPC origin last modified time.""" - vpc_origin_endpoint_config: VpcOriginEndpointConfig - """The VPC origin endpoint configuration.""" - -@dataclass(kw_only=True) -class VpcOriginConfig(_SerdeShape): - """An Amazon CloudFront VPC origin configuration.""" - - vpc_origin_id: str - """The VPC origin ID.""" - owner_account_id: str | None = ... - """ - The account ID of the Amazon Web Services account that owns the VPC - origin. - """ - origin_read_timeout: int | None = ... - """ - Specifies how long, in seconds, CloudFront waits for a response from the - origin. This is also known as the *origin response timeout*. The minimum - timeout is 1 second, the maximum is 120 seconds, and the default (if you - don't specify otherwise) is 30 seconds. - - For more information, see [Response - timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout) - in the *Amazon CloudFront Developer Guide*. - """ - origin_keepalive_timeout: int | None = ... - """ - Specifies how long, in seconds, CloudFront persists its connection to - the origin. The minimum timeout is 1 second, the maximum is 120 seconds, - and the default (if you don't specify otherwise) is 5 seconds. - - For more information, see [Keep-alive timeout (custom origins - only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout) - in the *Amazon CloudFront Developer Guide*. - """ - -@dataclass(kw_only=True) -class VpcOriginEndpointConfig(_SerdeShape): - """An Amazon CloudFront VPC origin endpoint configuration.""" - - name: str - """The name of the CloudFront VPC origin endpoint configuration.""" - arn: str - """The ARN of the CloudFront VPC origin endpoint configuration.""" - http_port: int - """ - The HTTP port for the CloudFront VPC origin endpoint configuration. The - default value is `80`. - """ - https_port: int - """ - The HTTPS port of the CloudFront VPC origin endpoint configuration. The - default value is `443`. - """ - origin_protocol_policy: str - """ - The origin protocol policy for the CloudFront VPC origin endpoint - configuration. - """ - origin_ssl_protocols: OriginSslProtocols | None = ... - """ - A complex type that contains information about the SSL/TLS protocols - that CloudFront can use when establishing an HTTPS connection with your - origin. - """ - ip_address_type: str | None = ... - """ - The IP address type of the CloudFront VPC origin endpoint configuration. - Valid values are `ipv4` and `dualstack`. IPv6-only is not supported for - VPC origins. - """ - -@dataclass(kw_only=True) -class VpcOriginList(_SerdeShape): - """A list of CloudFront VPC origins.""" - - marker: str - """The marker associated with the VPC origins list.""" - next_marker: str | None = ... - """The next marker associated with the VPC origins list.""" - max_items: int - """The maximum number of items included in the list.""" - is_truncated: bool - """ - A flag that indicates whether more VPC origins remain to be listed. If - your results were truncated, you can make a follow-up pagination request - using the `Marker` request parameter to retrieve more VPC origins in the - list. - """ - quantity: int - """The number of VPC origins in the list.""" - items: list[VpcOriginSummary] | None = ... - """The items of the VPC origins list.""" - -@dataclass(kw_only=True) -class VpcOriginSummary(_SerdeShape): - """A summary of the CloudFront VPC origin.""" - - id: str - """The VPC origin summary ID.""" - name: str - """The VPC origin summary name.""" - status: str - """The VPC origin summary status.""" - created_time: datetime - """The VPC origin summary created time.""" - last_modified_time: datetime - """The VPC origin summary last modified time.""" - arn: str - """The VPC origin summary ARN.""" - account_id: str | None = ... - """ - The account ID of the Amazon Web Services account that owns the VPC - origin. - """ - origin_endpoint_arn: str - """The VPC origin summary origin endpoint ARN.""" - ip_address_type: str | None = ... - """ - The IP address type of the CloudFront VPC origin. Valid values are - `ipv4` and `dualstack`. IPv6-only is not supported for VPC origins. - """ - -@dataclass(kw_only=True) -class WebAclCustomization(_SerdeShape): - """The WAF web ACL customization specified for the distribution tenant.""" - - action: str - """ - The action for the WAF web ACL customization. You can specify `override` - to specify a separate WAF web ACL for the distribution tenant. If you - specify `disable`, the distribution tenant won't have WAF web ACL - protections and won't inherit from the multi-tenant distribution. - """ - arn: str | None = ... - """The Amazon Resource Name (ARN) of the WAF web ACL.""" - ASSOCIATE_ALIAS: APIOperation[AssociateAliasInput, AssociateAliasOutput] ASSOCIATE_DISTRIBUTION_TENANT_WEB_ACL: APIOperation[ AssociateDistributionTenantWebACLInput, AssociateDistributionTenantWebACLOutput diff --git a/clients/aws-sdk-cloudfront/tests/test_endpoints.py b/clients/aws-sdk-cloudfront/tests/test_endpoints.py index 967679ca3..a90c2b9b2 100644 --- a/clients/aws-sdk-cloudfront/tests/test_endpoints.py +++ b/clients/aws-sdk-cloudfront/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-cloudtrail/pyproject.toml b/clients/aws-sdk-cloudtrail/pyproject.toml index 2f8784959..2ea77a1b6 100644 --- a/clients/aws-sdk-cloudtrail/pyproject.toml +++ b/clients/aws-sdk-cloudtrail/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_cloudtrail" version = "0.12.0" -description = "aws_sdk_cloudtrail client" +description = "Python client for AWS CloudTrail" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_cloudtrail"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/models_0.pyi b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/models_0.pyi new file mode 100644 index 000000000..173deca80 --- /dev/null +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/models_0.pyi @@ -0,0 +1,5279 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ServiceError, TrailInfo, Widget, _SerdeShape + +@dataclass(kw_only=True) +class AccessDeniedException(ServiceError, _SerdeShape): + """You do not have sufficient access to perform this action.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AccountHasOngoingImportException(ServiceError, _SerdeShape): + """ + This exception is thrown when you start a new import and a previous + import is still in progress. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AccountNotFoundException(ServiceError, _SerdeShape): + """ + This exception is thrown when the specified account is not found or not + part of an organization. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AccountNotRegisteredException(ServiceError, _SerdeShape): + """ + This exception is thrown when the specified account is not registered as + the CloudTrail delegated administrator. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AccountRegisteredException(ServiceError, _SerdeShape): + """ + This exception is thrown when the account is already registered as the + CloudTrail delegated administrator. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AddTagsInput(_SerdeShape): + """ + Specifies the tags to add to a trail, event data store, dashboard, or + channel. + """ + + resource_id: str | None = ... + """ + Specifies the ARN of the trail, event data store, dashboard, or channel + to which one or more tags will be added. + + The format of a trail ARN is: + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + + The format of an event data store ARN is: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + The format of a dashboard ARN is: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + The format of a channel ARN is: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + tags_list: list[Tag] | None = ... + """Contains a list of tags, up to a limit of 50""" + +@dataclass(kw_only=True) +class AddTagsOutput(_SerdeShape): + """Returns the objects or data if successful. Otherwise, returns an error.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AdvancedEventSelector(_SerdeShape): + """ + Advanced event selectors let you create fine-grained selectors for + CloudTrail management, data, and network activity events. They help you + control costs by logging only those events that are important to you. + For more information about configuring advanced event selectors, see the + [Logging data + events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html), + [Logging network activity + events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html), + and [Logging management + events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html) + topics in the *CloudTrail User Guide*. + + You cannot apply both event selectors and advanced event selectors to a + trail. + + For information about configurable advanced event selector fields, see + [AdvancedEventSelector](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html) + in the *CloudTrail API Reference*. + """ + + name: str | None = ... + """ + An optional, descriptive name for an advanced event selector, such as + \"Log data events for only two S3 buckets\". + """ + field_selectors: list[AdvancedFieldSelector] + """Contains all selector statements in an advanced event selector.""" + +@dataclass(kw_only=True) +class AdvancedFieldSelector(_SerdeShape): + """A single selector statement in an advanced event selector.""" + + field: str + """ + A field in a CloudTrail event record on which to filter events to be + logged. For event data stores for CloudTrail Insights events, Config + configuration items, Audit Manager evidence, or events outside of Amazon + Web Services, the field is used only for selecting events as filtering + is not supported. + + For more information, see + [AdvancedFieldSelector](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html) + in the *CloudTrail API Reference*. + + Note: + Selectors don't support the use of wildcards like `*` . To match + multiple values with a single condition, you may use `StartsWith`, + `EndsWith`, `NotStartsWith`, or `NotEndsWith` to explicitly match the + beginning or end of the event field. + """ + equals: list[str] | None = ... + """ + An operator that includes events that match the exact value of the event + record field specified as the value of `Field`. This is the only valid + operator that you can use with the `readOnly`, `eventCategory`, and + `resources.type` fields. + """ + starts_with: list[str] | None = ... + """ + An operator that includes events that match the first few characters of + the event record field specified as the value of `Field`. + """ + ends_with: list[str] | None = ... + """ + An operator that includes events that match the last few characters of + the event record field specified as the value of `Field`. + """ + not_equals: list[str] | None = ... + """ + An operator that excludes events that match the exact value of the event + record field specified as the value of `Field`. + """ + not_starts_with: list[str] | None = ... + """ + An operator that excludes events that match the first few characters of + the event record field specified as the value of `Field`. + """ + not_ends_with: list[str] | None = ... + """ + An operator that excludes events that match the last few characters of + the event record field specified as the value of `Field`. + """ + +@dataclass(kw_only=True) +class AggregationConfiguration(_SerdeShape): + """An object that contains configuration settings for aggregating events.""" + + templates: list[str] + """ + A list of aggregation templates that can be used to configure event + aggregation. + """ + event_category: str + """Specifies the event category for which aggregation should be performed.""" + +class BillingMode(UnknownEnumMixin, StrEnum): + EXTENDABLE_RETENTION_PRICING = "EXTENDABLE_RETENTION_PRICING" + FIXED_RETENTION_PRICING = "FIXED_RETENTION_PRICING" + +@dataclass(kw_only=True) +class CancelQueryInput(_SerdeShape): + """Dataclass for CancelQueryInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or the ID suffix of the ARN) of an event data store on which + the specified query is running. + """ + query_id: str | None = ... + """ + The ID of the query that you want to cancel. The `QueryId` comes from + the response of a `StartQuery` operation. + """ + event_data_store_owner_account_id: str | None = ... + """The account ID of the event data store owner.""" + +@dataclass(kw_only=True) +class CancelQueryOutput(_SerdeShape): + """Dataclass for CancelQueryOutput structure.""" + + query_id: str + """The ID of the canceled query.""" + query_status: str + """ + Shows the status of a query after a `CancelQuery` request. Typically, + the values shown are either `RUNNING` or `CANCELLED`. + """ + event_data_store_owner_account_id: str | None = ... + """The account ID of the event data store owner.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CannotDelegateManagementAccountException(ServiceError, _SerdeShape): + """ + This exception is thrown when the management account of an organization + is registered as the CloudTrail delegated administrator. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Channel(_SerdeShape): + """Contains information about a returned CloudTrail channel.""" + + channel_arn: str | None = ... + """The Amazon Resource Name (ARN) of a channel.""" + name: str | None = ... + """ + The name of the CloudTrail channel. For service-linked channels, the + name is `aws-service-channel/service-name/custom-suffix` where + `service-name` represents the name of the Amazon Web Services service + that created the channel and `custom-suffix` represents the suffix + created by the Amazon Web Services service. + """ + +@dataclass(kw_only=True) +class ChannelAlreadyExistsException(ServiceError, _SerdeShape): + """This exception is thrown when the provided channel already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ChannelARNInvalidException(ServiceError, _SerdeShape): + """ + This exception is thrown when the specified value of `ChannelARN` is not + valid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ChannelExistsForEDSException(ServiceError, _SerdeShape): + """ + This exception is thrown when the specified event data store cannot yet + be deleted because it is in use by a channel. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ChannelMaxLimitExceededException(ServiceError, _SerdeShape): + """ + This exception is thrown when the maximum number of channels limit is + exceeded. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ChannelNotFoundException(ServiceError, _SerdeShape): + """ + This exception is thrown when CloudTrail cannot find the specified + channel. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CloudTrailAccessNotEnabledException(ServiceError, _SerdeShape): + """ + This exception is thrown when trusted access has not been enabled + between CloudTrail and Organizations. For more information, see [How to + enable or disable trusted + access](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_how-to-enable-disable-trusted-access) + in the *Organizations User Guide* and [Prepare For Creating a Trail For + Your + Organization](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) + in the *CloudTrail User Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CloudTrailARNInvalidException(ServiceError, _SerdeShape): + """ + This exception is thrown when an operation is called with an ARN that is + not valid. + + The following is the format of a trail ARN: + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + + The following is the format of an event data store ARN: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + The following is the format of a dashboard ARN: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + The following is the format of a channel ARN: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CloudTrailInvalidClientTokenIdException(ServiceError, _SerdeShape): + """ + This exception is thrown when a call results in the + `InvalidClientTokenId` error code. This can occur when you are creating + or updating a trail to send notifications to an Amazon SNS topic that is + in a suspended Amazon Web Services account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CloudWatchLogsDeliveryUnavailableException(ServiceError, _SerdeShape): + """Cannot set a CloudWatch Logs delivery for this Region.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ConcurrentModificationException(ServiceError, _SerdeShape): + """ + You are trying to update a resource when another request is in progress. + Allow sufficient wait time for the previous request to complete, then + retry your request. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """ + This exception is thrown when the specified resource is not ready for an + operation. This can occur when you try to run an operation on a resource + before CloudTrail has time to fully load the resource, or because + another operation is modifying the resource. If this exception occurs, + wait a few minutes, and then try the operation again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ContextKeySelector(_SerdeShape): + """ + An object that contains information types to be included in CloudTrail + enriched events. + """ + + type: str + """ + Specifies the type of the event record field in ContextKeySelector. + Valid values include RequestContext, TagContext. + """ + equals: list[str] + """ + A list of keys defined by Type to be included in CloudTrail enriched + events. + """ + +@dataclass(kw_only=True) +class CreateChannelInput(_SerdeShape): + """Dataclass for CreateChannelInput structure.""" + + name: str | None = ... + """The name of the channel.""" + source: str | None = ... + """ + The name of the partner or external event source. You cannot change this + name after you create the channel. A maximum of one channel is allowed + per source. + + A source can be either `Custom` for all valid non-Amazon Web Services + events, or the name of a partner event source. For information about the + source names for available partners, see [Additional information about + integration + partners](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store-integration.html#cloudtrail-lake-partner-information) + in the CloudTrail User Guide. + """ + destinations: list[Destination] | None = ... + """ + One or more event data stores to which events arriving through a channel + will be logged. + """ + tags: list[Tag] | None = ... + """A list of tags.""" + +@dataclass(kw_only=True) +class CreateChannelOutput(_SerdeShape): + """Dataclass for CreateChannelOutput structure.""" + + channel_arn: str | None = ... + """The Amazon Resource Name (ARN) of the new channel.""" + name: str | None = ... + """The name of the new channel.""" + source: str | None = ... + """The partner or external event source name.""" + destinations: list[Destination] | None = ... + """The event data stores that log the events arriving through the channel.""" + tags: list[Tag] | None = ... + """A list of tags.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDashboardInput(_SerdeShape): + """Dataclass for CreateDashboardInput structure.""" + + name: str | None = ... + """ + The name of the dashboard. The name must be unique to your account. + + To create the Highlights dashboard, the name must be + `AWSCloudTrail-Highlights`. + """ + refresh_schedule: RefreshSchedule | None = ... + """ + The refresh schedule configuration for the dashboard. + + To create the Highlights dashboard, you must set a refresh schedule and + set the `Status` to `ENABLED`. The `Unit` for the refresh schedule must + be `HOURS` and the `Value` must be `6`. + """ + tags_list: list[Tag] | None = ... + """A list of tags.""" + termination_protection_enabled: bool | None = ... + """ + Specifies whether termination protection is enabled for the dashboard. + If termination protection is enabled, you cannot delete the dashboard + until termination protection is disabled. + """ + widgets: list[RequestWidget] | None = ... + """ + An array of widgets for a custom dashboard. A custom dashboard can have + a maximum of ten widgets. + + You do not need to specify widgets for the Highlights dashboard. + """ + +@dataclass(kw_only=True) +class CreateDashboardOutput(_SerdeShape): + """Dataclass for CreateDashboardOutput structure.""" + + dashboard_arn: str | None = ... + """The ARN for the dashboard.""" + name: str | None = ... + """The name of the dashboard.""" + type: str | None = ... + """The dashboard type.""" + widgets: list[Widget] | None = ... + """An array of widgets for the dashboard.""" + tags_list: list[Tag] | None = ... + """A list of tags.""" + refresh_schedule: RefreshSchedule | None = ... + """The refresh schedule for the dashboard, if configured.""" + termination_protection_enabled: bool | None = ... + """Indicates whether termination protection is enabled for the dashboard.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateEventDataStoreInput(_SerdeShape): + """Dataclass for CreateEventDataStoreInput structure.""" + + name: str | None = ... + """The name of the event data store.""" + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """ + The advanced event selectors to use to select the events for the data + store. You can configure up to five advanced event selectors for each + event data store. + + For more information about how to use advanced event selectors to log + CloudTrail events, see [Log events by using advanced event + selectors](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced) + in the CloudTrail User Guide. + + For more information about how to use advanced event selectors to + include Config configuration items in your event data store, see [Create + an event data store for Config configuration + items](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-eds-cli.html#lake-cli-create-eds-config) + in the CloudTrail User Guide. + + For more information about how to use advanced event selectors to + include events outside of Amazon Web Services events in your event data + store, see [Create an integration to log events from outside Amazon Web + Services](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-integrations-cli.html#lake-cli-create-integration) + in the CloudTrail User Guide. + """ + multi_region_enabled: bool | None = ... + """ + Specifies whether the event data store includes events from all Regions, + or only from the Region in which the event data store is created. + """ + organization_enabled: bool | None = ... + """ + Specifies whether an event data store collects events logged for an + organization in Organizations. + """ + retention_period: int | None = ... + """ + The retention period of the event data store, in days. If `BillingMode` + is set to `EXTENDABLE_RETENTION_PRICING`, you can set a retention period + of up to 3653 days, the equivalent of 10 years. If `BillingMode` is set + to `FIXED_RETENTION_PRICING`, you can set a retention period of up to + 2557 days, the equivalent of seven years. + + CloudTrail Lake determines whether to retain an event by checking if the + `eventTime` of the event is within the specified retention period. For + example, if you set a retention period of 90 days, CloudTrail will + remove events when the `eventTime` is older than 90 days. + + Note: + If you plan to copy trail events to this event data store, we recommend + that you consider both the age of the events that you want to copy as + well as how long you want to keep the copied events in your event data + store. For example, if you copy trail events that are 5 years old and + specify a retention period of 7 years, the event data store will retain + those events for two years. + """ + termination_protection_enabled: bool | None = ... + """ + Specifies whether termination protection is enabled for the event data + store. If termination protection is enabled, you cannot delete the event + data store until termination protection is disabled. + """ + tags_list: list[Tag] | None = ... + """A list of tags.""" + kms_key_id: str | None = ... + """ + Specifies the KMS key ID to use to encrypt the events delivered by + CloudTrail. The value can be an alias name prefixed by `alias/`, a fully + specified ARN to an alias, a fully specified ARN to a key, or a globally + unique identifier. + + Warning: + Disabling or deleting the KMS key, or removing CloudTrail permissions on + the key, prevents CloudTrail from logging events to the event data + store, and prevents users from querying the data in the event data store + that was encrypted with the key. After you associate an event data store + with a KMS key, the KMS key cannot be removed or changed. Before you + disable or delete a KMS key that you are using with an event data store, + delete or back up your event data store. + + CloudTrail also supports KMS multi-Region keys. For more information + about multi-Region keys, see [Using multi-Region + keys](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) + in the *Key Management Service Developer Guide*. + + Examples: + + - `alias/MyAliasName` + + - `arn:aws:kms:us-east-2:123456789012:alias/MyAliasName` + + - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + + - `12345678-1234-1234-1234-123456789012` + """ + start_ingestion: bool | None = ... + """ + Specifies whether the event data store should start ingesting live + events. The default is true. + """ + billing_mode: str | None = ... + """ + The billing mode for the event data store determines the cost for + ingesting events and the default and maximum retention period for the + event data store. + + The following are the possible values: + + - `EXTENDABLE_RETENTION_PRICING` - This billing mode is generally + recommended if you want a flexible retention period of up to 3653 days + (about 10 years). The default retention period for this billing mode + is 366 days. + + - `FIXED_RETENTION_PRICING` - This billing mode is recommended if you + expect to ingest more than 25 TB of event data per month and need a + retention period of up to 2557 days (about 7 years). The default + retention period for this billing mode is 2557 days. + + The default value is `EXTENDABLE_RETENTION_PRICING`. + + For more information about CloudTrail pricing, see [CloudTrail + Pricing](http://aws.amazon.com/cloudtrail/pricing/) and [Managing + CloudTrail Lake + costs](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html). + """ + +@dataclass(kw_only=True) +class CreateEventDataStoreOutput(_SerdeShape): + """Dataclass for CreateEventDataStoreOutput structure.""" + + event_data_store_arn: str | None = ... + """The ARN of the event data store.""" + name: str | None = ... + """The name of the event data store.""" + status: str | None = ... + """The status of event data store creation.""" + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """ + The advanced event selectors that were used to select the events for the + data store. + """ + multi_region_enabled: bool | None = ... + """ + Indicates whether the event data store collects events from all Regions, + or only from the Region in which it was created. + """ + organization_enabled: bool | None = ... + """ + Indicates whether an event data store is collecting logged events for an + organization in Organizations. + """ + retention_period: int | None = ... + """The retention period of an event data store, in days.""" + termination_protection_enabled: bool | None = ... + """ + Indicates whether termination protection is enabled for the event data + store. + """ + tags_list: list[Tag] | None = ... + """A list of tags.""" + created_timestamp: datetime | None = ... + """The timestamp that shows when the event data store was created.""" + updated_timestamp: datetime | None = ... + """ + The timestamp that shows when an event data store was updated, if + applicable. `UpdatedTimestamp` is always either the same or newer than + the time shown in `CreatedTimestamp`. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID that encrypts the events delivered by + CloudTrail. The value is a fully specified ARN to a KMS key in the + following format. + + `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + """ + billing_mode: str | None = ... + """The billing mode for the event data store.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTrailInput(_SerdeShape): + """Specifies the settings for each trail.""" + + name: str | None = ... + """ + Specifies the name of the trail. The name must meet the following + requirements: + + - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), + underscores (_), or dashes (-) + + - Start with a letter or number, and end with a letter or number + + - Be between 3 and 128 characters + + - Have no adjacent periods, underscores or dashes. Names like + `my-_namespace` and `my--namespace` are not valid. + + - Not be in IP address format (for example, 192.168.5.4) + """ + s3_bucket_name: str | None = ... + """ + Specifies the name of the Amazon S3 bucket designated for publishing log + files. For information about bucket naming rules, see [Bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) + in the *Amazon Simple Storage Service User Guide*. + """ + s3_key_prefix: str | None = ... + """ + Specifies the Amazon S3 key prefix that comes after the name of the + bucket you have designated for log file delivery. For more information, + see [Finding Your CloudTrail Log + Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). + The maximum length is 200 characters. + """ + sns_topic_name: str | None = ... + """ + Specifies the name or ARN of the Amazon SNS topic defined for + notification of log file delivery. The maximum length is 256 characters. + """ + include_global_service_events: bool | None = ... + """ + Specifies whether the trail is publishing events from global services + such as IAM to the log files. Setting this value to `true` only delivers + global service events to the trail if the trail is multi-Region or if + the trail's home Region is the partition leader Region (for example, + us-east-1). + """ + is_multi_region_trail: bool | None = ... + """ + Specifies whether the trail is created in the current Region or in all + Regions. The default is false, which creates a trail only in the Region + where you are signed in. As a best practice, consider creating trails + that log events in all Regions. + """ + enable_log_file_validation: bool | None = ... + """ + Specifies whether log file integrity validation is enabled. The default + is false. + + Note: + When you disable log file integrity validation, the chain of digest + files is broken after one hour. CloudTrail does not create digest files + for log files that were delivered during a period in which log file + integrity validation was disabled. For example, if you enable log file + integrity validation at noon on January 1, disable it at noon on January + 2, and re-enable it at noon on January 10, digest files will not be + created for the log files delivered from noon on January 2 to noon on + January 10. The same applies whenever you stop CloudTrail logging or + delete a trail. + """ + cloud_watch_logs_log_group_arn: str | None = ... + """ + Specifies a log group name using an Amazon Resource Name (ARN), a unique + identifier that represents the log group to which CloudTrail logs will + be delivered. You must use a log group that exists in your account. + + Not required unless you specify `CloudWatchLogsRoleArn`. + """ + cloud_watch_logs_role_arn: str | None = ... + """ + Specifies the role for the CloudWatch Logs endpoint to assume to write + to a user's log group. You must use a role that exists in your account. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID to use to encrypt the logs and digest files + delivered by CloudTrail. The value can be an alias name prefixed by + `alias/`, a fully specified ARN to an alias, a fully specified ARN to a + key, or a globally unique identifier. + + CloudTrail also supports KMS multi-Region keys. For more information + about multi-Region keys, see [Using multi-Region + keys](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) + in the *Key Management Service Developer Guide*. + + Examples: + + - `alias/MyAliasName` + + - `arn:aws:kms:us-east-2:123456789012:alias/MyAliasName` + + - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + + - `12345678-1234-1234-1234-123456789012` + """ + is_organization_trail: bool | None = ... + """ + Specifies whether the trail is created for all accounts in an + organization in Organizations, or only for the current Amazon Web + Services account. The default is false, and cannot be true unless the + call is made on behalf of an Amazon Web Services account that is the + management account or delegated administrator account for an + organization in Organizations. + """ + tags_list: list[Tag] | None = ... + """A list of tags.""" + recursive_logging: bool | None = ... + """ + Specifies whether recursive logging is enabled for the trail. If you set + `RecursiveLogging` to `false`, CloudTrail suppresses events generated by + CloudTrail when it delivers log files to your trail's destinations, + including Amazon S3 and CloudWatch Logs. The default value is `true`. + """ + +@dataclass(kw_only=True) +class CreateTrailOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + name: str | None = ... + """Specifies the name of the trail.""" + s3_bucket_name: str | None = ... + """ + Specifies the name of the Amazon S3 bucket designated for publishing log + files. + """ + s3_key_prefix: str | None = ... + """ + Specifies the Amazon S3 key prefix that comes after the name of the + bucket you have designated for log file delivery. For more information, + see [Finding Your CloudTrail Log + Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). + """ + sns_topic_name: str | None = ... + """This field is no longer in use. Use `SnsTopicARN`.""" + sns_topic_arn: str | None = ... + """ + Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send + notifications when log files are delivered. The format of a topic ARN + is: + + `arn:aws:sns:us-east-2:123456789012:MyTopic` + """ + include_global_service_events: bool | None = ... + """ + Specifies whether the trail is publishing events from global services + such as IAM to the log files. Setting this value to `true` only delivers + global service events to the trail if the trail is multi-Region or if + the trail's home Region is the partition leader Region (for example, + us-east-1). + """ + is_multi_region_trail: bool | None = ... + """Specifies whether the trail exists in one Region or in all Regions.""" + trail_arn: str | None = ... + """ + Specifies the ARN of the trail that was created. The format of a trail + ARN is: + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + log_file_validation_enabled: bool | None = ... + """Specifies whether log file integrity validation is enabled.""" + cloud_watch_logs_log_group_arn: str | None = ... + """ + Specifies the Amazon Resource Name (ARN) of the log group to which + CloudTrail logs will be delivered. + """ + cloud_watch_logs_role_arn: str | None = ... + """ + Specifies the role for the CloudWatch Logs endpoint to assume to write + to a user's log group. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID that encrypts the events delivered by + CloudTrail. The value is a fully specified ARN to a KMS key in the + following format. + + `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + """ + is_organization_trail: bool | None = ... + """Specifies whether the trail is an organization trail.""" + recursive_logging: bool | None = ... + """Specifies whether recursive logging is enabled for the trail.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DashboardDetail(_SerdeShape): + """Provides information about a CloudTrail Lake dashboard.""" + + dashboard_arn: str | None = ... + """The ARN for the dashboard.""" + type: str | None = ... + """The type of dashboard.""" + +class DashboardStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + CREATED = "CREATED" + UPDATING = "UPDATING" + UPDATED = "UPDATED" + DELETING = "DELETING" + +class DashboardType(UnknownEnumMixin, StrEnum): + MANAGED = "MANAGED" + CUSTOM = "CUSTOM" + +@dataclass(kw_only=True) +class DataResource(_SerdeShape): + """ + You can configure the `DataResource` in an `EventSelector` to log data + events for the following three resource types: + + - `AWS::DynamoDB::Table` + + - `AWS::Lambda::Function` + + - `AWS::S3::Object` + + To log data events for all other resource types including objects stored + in [directory + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html), + you must use + [AdvancedEventSelectors](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html). + You must also use `AdvancedEventSelectors` if you want to filter on the + `eventName` field. + + Configure the `DataResource` to specify the resource type and resource + ARNs for which you want to log data events. + + Note: + The total number of allowed data resources is 250. This number can be + distributed between 1 and 5 event selectors, but the total cannot exceed + 250 across all selectors for the trail. + + The following example demonstrates how logging works when you configure + logging of all data events for a general purpose bucket named + `amzn-s3-demo-bucket1`. In this example, the CloudTrail user specified + an empty prefix, and the option to log both `Read` and `Write` data + events. + + 1. A user uploads an image file to `amzn-s3-demo-bucket1`. + + 2. The `PutObject` API operation is an Amazon S3 object-level API. It + is recorded as a data event in CloudTrail. Because the CloudTrail + user specified an S3 bucket with an empty prefix, events that occur + on any object in that bucket are logged. The trail processes and + logs the event. + + 3. A user uploads an object to an Amazon S3 bucket named + `arn:aws:s3:::amzn-s3-demo-bucket1`. + + 4. The `PutObject` API operation occurred for an object in an S3 bucket + that the CloudTrail user didn't specify for the trail. The trail + doesn't log the event. + + The following example demonstrates how logging works when you configure + logging of Lambda data events for a Lambda function named + *MyLambdaFunction*, but not for all Lambda functions. + + 1. A user runs a script that includes a call to the *MyLambdaFunction* + function and the *MyOtherLambdaFunction* function. + + 2. The `Invoke` API operation on *MyLambdaFunction* is an Lambda API. + It is recorded as a data event in CloudTrail. Because the CloudTrail + user specified logging data events for *MyLambdaFunction*, any + invocations of that function are logged. The trail processes and + logs the event. + + 3. The `Invoke` API operation on *MyOtherLambdaFunction* is an Lambda + API. Because the CloudTrail user did not specify logging data events + for all Lambda functions, the `Invoke` operation for + *MyOtherLambdaFunction* does not match the function specified for + the trail. The trail doesn't log the event. + """ + + type: str | None = ... + """ + The resource type in which you want to log data events. You can specify + the following *basic* event selector resource types: + + - `AWS::DynamoDB::Table` + + - `AWS::Lambda::Function` + + - `AWS::S3::Object` + + Additional resource types are available through *advanced* event + selectors. For more information, see + [AdvancedEventSelector](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html). + """ + values: list[str] | None = ... + """ + An array of Amazon Resource Name (ARN) strings or partial ARN strings + for the specified resource type. + + - To log data events for all objects in all S3 buckets in your Amazon + Web Services account, specify the prefix as `arn:aws:s3`. + + Note: + This also enables logging of data event activity performed by any user + or role in your Amazon Web Services account, even if that activity is + performed on a bucket that belongs to another Amazon Web Services + account. + + - To log data events for all objects in an S3 bucket, specify the bucket + and an empty object prefix such as + `arn:aws:s3:::amzn-s3-demo-bucket1/`. The trail logs data events for + all objects in this S3 bucket. + + - To log data events for specific objects, specify the S3 bucket and + object prefix such as + `arn:aws:s3:::amzn-s3-demo-bucket1/example-images`. The trail logs + data events for objects in this S3 bucket that match the prefix. + + - To log data events for all Lambda functions in your Amazon Web + Services account, specify the prefix as `arn:aws:lambda`. + + Note: + This also enables logging of `Invoke` activity performed by any user + or role in your Amazon Web Services account, even if that activity is + performed on a function that belongs to another Amazon Web Services + account. + + - To log data events for a specific Lambda function, specify the + function ARN. + + Note: + Lambda function ARNs are exact. For example, if you specify a function + ARN *arn:aws:lambda:us-west-2:111111111111:function:helloworld*, data + events will only be logged for + *arn:aws:lambda:us-west-2:111111111111:function:helloworld*. They will + not be logged for + *arn:aws:lambda:us-west-2:111111111111:function:helloworld2*. + + - To log data events for all DynamoDB tables in your Amazon Web Services + account, specify the prefix as `arn:aws:dynamodb`. + """ + +@dataclass(kw_only=True) +class DelegatedAdminAccountLimitExceededException(ServiceError, _SerdeShape): + """ + This exception is thrown when the maximum number of CloudTrail delegated + administrators is reached. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteChannelInput(_SerdeShape): + """Dataclass for DeleteChannelInput structure.""" + + channel: str | None = ... + """The ARN or the `UUID` value of the channel that you want to delete.""" + +@dataclass(kw_only=True) +class DeleteChannelOutput(_SerdeShape): + """Dataclass for DeleteChannelOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDashboardInput(_SerdeShape): + """Dataclass for DeleteDashboardInput structure.""" + + dashboard_id: str | None = ... + """The name or ARN for the dashboard.""" + +@dataclass(kw_only=True) +class DeleteDashboardOutput(_SerdeShape): + """Dataclass for DeleteDashboardOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteEventDataStoreInput(_SerdeShape): + """Dataclass for DeleteEventDataStoreInput structure.""" + + event_data_store: str | None = ... + """The ARN (or the ID suffix of the ARN) of the event data store to delete.""" + +@dataclass(kw_only=True) +class DeleteEventDataStoreOutput(_SerdeShape): + """Dataclass for DeleteEventDataStoreOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyInput(_SerdeShape): + """Dataclass for DeleteResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudTrail event data store, + dashboard, or channel you're deleting the resource-based policy from. + + Example event data store ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + Example dashboard ARN format: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + Example channel ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyOutput(_SerdeShape): + """Dataclass for DeleteResourcePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTrailInput(_SerdeShape): + """The request that specifies the name of a trail to delete.""" + + name: str | None = ... + """ + Specifies the name or the CloudTrail ARN of the trail to be deleted. The + following is the format of a trail ARN. + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + +@dataclass(kw_only=True) +class DeleteTrailOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DeliveryStatus(UnknownEnumMixin, StrEnum): + SUCCESS = "SUCCESS" + FAILED = "FAILED" + FAILED_SIGNING_FILE = "FAILED_SIGNING_FILE" + PENDING = "PENDING" + RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND" + ACCESS_DENIED = "ACCESS_DENIED" + ACCESS_DENIED_SIGNING_FILE = "ACCESS_DENIED_SIGNING_FILE" + CANCELLED = "CANCELLED" + UNKNOWN = "UNKNOWN" + +@dataclass(kw_only=True) +class DeregisterOrganizationDelegatedAdminInput(_SerdeShape): + """ + Removes CloudTrail delegated administrator permissions from a specified + member account in an organization that is currently designated as a + delegated administrator. + """ + + delegated_admin_account_id: str | None = ... + """ + A delegated administrator account ID. This is a member account in an + organization that is currently designated as a delegated administrator. + """ + +@dataclass(kw_only=True) +class DeregisterOrganizationDelegatedAdminOutput(_SerdeShape): + """ + Returns the following response if successful. Otherwise, returns an + error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeQueryInput(_SerdeShape): + """Dataclass for DescribeQueryInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or the ID suffix of the ARN) of an event data store on which + the specified query was run. + """ + query_id: str | None = ... + """The query ID.""" + query_alias: str | None = ... + """The alias that identifies a query template.""" + refresh_id: str | None = ... + """The ID of the dashboard refresh.""" + event_data_store_owner_account_id: str | None = ... + """The account ID of the event data store owner.""" + +@dataclass(kw_only=True) +class DescribeQueryOutput(_SerdeShape): + """Dataclass for DescribeQueryOutput structure.""" + + query_id: str | None = ... + """The ID of the query.""" + query_string: str | None = ... + """The SQL code of a query.""" + query_status: str | None = ... + """ + The status of a query. Values for `QueryStatus` include `QUEUED`, + `RUNNING`, `FINISHED`, `FAILED`, `TIMED_OUT`, or `CANCELLED` + """ + query_statistics: QueryStatisticsForDescribeQuery | None = ... + """ + Metadata about a query, including the number of events that were + matched, the total number of events scanned, the query run time in + milliseconds, and the query's creation time. + """ + error_message: str | None = ... + """The error message returned if a query failed.""" + delivery_s3_uri: str | None = ... + """ + The URI for the S3 bucket where CloudTrail delivered query results, if + applicable. + """ + delivery_status: str | None = ... + """The delivery status.""" + prompt: str | None = ... + """ + The prompt used for a generated query. For information about generated + queries, see [Create CloudTrail Lake queries from natural language + prompts](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-query-generator.html) + in the *CloudTrail* user guide. + """ + event_data_store_owner_account_id: str | None = ... + """The account ID of the event data store owner.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTrailsInput(_SerdeShape): + """Returns information about the trail.""" + + trail_name_list: list[str] | None = ... + """ + Specifies a list of trail names, trail ARNs, or both, of the trails to + describe. The format of a trail ARN is: + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + + If an empty list is specified, information for the trail in the current + Region is returned. + + - If an empty list is specified and `IncludeShadowTrails` is false, then + information for all trails in the current Region is returned. + + - If an empty list is specified and IncludeShadowTrails is null or true, + then information for all trails in the current Region and any + associated shadow trails in other Regions is returned. + + Note: + If one or more trail names are specified, information is returned only + if the names match the names of trails belonging only to the current + Region and current account. To return information about a trail in + another Region, you must specify its trail ARN. + """ + include_shadow_trails: bool | None = ... + """ + Specifies whether to include shadow trails in the response. A shadow + trail is the replication in a Region of a trail that was created in a + different Region, or in the case of an organization trail, the + replication of an organization trail in member accounts. If you do not + include shadow trails, organization trails in a member account and + Region replication trails will not be returned. The default is true. + """ + +@dataclass(kw_only=True) +class DescribeTrailsOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + trail_list: list[Trail] | None = ... + """ + The list of trail objects. Trail objects with string values are only + returned if values for the objects exist in a trail's configuration. + For example, `SNSTopicName` and `SNSTopicARN` are only returned in + results if a trail is configured to send SNS notifications. Similarly, + `KMSKeyId` only appears in results if a trail's log files are encrypted + with KMS customer managed keys. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Destination(_SerdeShape): + """Contains information about the destination receiving events.""" + + type: str + """ + The type of destination for events arriving from a channel. For channels + used for a CloudTrail Lake integration, the value is `EVENT_DATA_STORE`. + For service-linked channels, the value is `AWS_SERVICE`. + """ + location: str + """ + For channels used for a CloudTrail Lake integration, the location is the + ARN of an event data store that receives events from a channel. For + service-linked channels, the location is the name of the Amazon Web + Services service. + """ + +class DestinationType(UnknownEnumMixin, StrEnum): + EVENT_DATA_STORE = "EVENT_DATA_STORE" + AWS_SERVICE = "AWS_SERVICE" + +@dataclass(kw_only=True) +class DisableFederationInput(_SerdeShape): + """Dataclass for DisableFederationInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or ID suffix of the ARN) of the event data store for which you + want to disable Lake query federation. + """ + +@dataclass(kw_only=True) +class DisableFederationOutput(_SerdeShape): + """Dataclass for DisableFederationOutput structure.""" + + event_data_store_arn: str | None = ... + """ + The ARN of the event data store for which you disabled Lake query + federation. + """ + federation_status: str | None = ... + """The federation status.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableFederationInput(_SerdeShape): + """Dataclass for EnableFederationInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or ID suffix of the ARN) of the event data store for which you + want to enable Lake query federation. + """ + federation_role_arn: str | None = ... + """ + The ARN of the federation role to use for the event data store. Amazon + Web Services services like Lake Formation use this federation role to + access data for the federated event data store. The federation role must + exist in your account and provide the [required minimum + permissions](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html#query-federation-permissions-role). + """ + +@dataclass(kw_only=True) +class EnableFederationOutput(_SerdeShape): + """Dataclass for EnableFederationOutput structure.""" + + event_data_store_arn: str | None = ... + """ + The ARN of the event data store for which you enabled Lake query + federation. + """ + federation_status: str | None = ... + """The federation status.""" + federation_role_arn: str | None = ... + """The ARN of the federation role.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Event(_SerdeShape): + """ + Contains information about an event that was returned by a lookup + request. The result includes a representation of a CloudTrail event. + """ + + event_id: str | None = ... + """The CloudTrail ID of the event returned.""" + event_name: str | None = ... + """The name of the event returned.""" + read_only: str | None = ... + """Information about whether the event is a write event or a read event.""" + access_key_id: str | None = ... + """ + The Amazon Web Services access key ID that was used to sign the request. + If the request was made with temporary security credentials, this is the + access key ID of the temporary credentials. + """ + event_time: datetime | None = ... + """The date and time of the event returned.""" + event_source: str | None = ... + """The Amazon Web Services service to which the request was made.""" + username: str | None = ... + """ + A user name or role name of the requester that called the API in the + event returned. + """ + resources: list[Resource] | None = ... + """A list of resources referenced by the event returned.""" + cloud_trail_event: str | None = ... + """A JSON string that contains a representation of the event returned.""" + +class EventCategory(UnknownEnumMixin, StrEnum): + """ + Specifies the event category for which aggregation configuration is + enabled. Valid value is Data. + """ + + INSIGHT = "insight" + +class EventCategoryAggregation(UnknownEnumMixin, StrEnum): + DATA = "Data" + +@dataclass(kw_only=True) +class EventDataStore(_SerdeShape): + """ + A storage lake of event data against which you can run complex SQL-based + queries. An event data store can include events that you have logged on + your account. To select events for an event data store, use [advanced + event + selectors](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-concepts.html#adv-event-selectors). + """ + + event_data_store_arn: str | None = ... + """The ARN of the event data store.""" + name: str | None = ... + """The name of the event data store.""" + termination_protection_enabled: bool | None = ... + """Indicates whether the event data store is protected from termination.""" + status: str | None = ... + """The status of an event data store.""" + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """ + The advanced event selectors that were used to select events for the + data store. + """ + multi_region_enabled: bool | None = ... + """ + Indicates whether the event data store includes events from all Regions, + or only from the Region in which it was created. + """ + organization_enabled: bool | None = ... + """ + Indicates that an event data store is collecting logged events for an + organization. + """ + retention_period: int | None = ... + """The retention period, in days.""" + created_timestamp: datetime | None = ... + """The timestamp of the event data store's creation.""" + updated_timestamp: datetime | None = ... + """ + The timestamp showing when an event data store was updated, if + applicable. `UpdatedTimestamp` is always either the same or newer than + the time shown in `CreatedTimestamp`. + """ + +@dataclass(kw_only=True) +class EventDataStoreAlreadyExistsException(ServiceError, _SerdeShape): + """An event data store with that name already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EventDataStoreARNInvalidException(ServiceError, _SerdeShape): + """ + The specified event data store ARN is not valid or does not map to an + event data store in your account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EventDataStoreFederationEnabledException(ServiceError, _SerdeShape): + """ + You cannot delete the event data store because Lake query federation is + enabled. To delete the event data store, run the `DisableFederation` + operation to disable Lake query federation on the event data store. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EventDataStoreHasOngoingImportException(ServiceError, _SerdeShape): + """ + This exception is thrown when you try to update or delete an event data + store that currently has an import in progress. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EventDataStoreMaxLimitExceededException(ServiceError, _SerdeShape): + """Your account has used the maximum number of event data stores.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EventDataStoreNotFoundException(ServiceError, _SerdeShape): + """The specified event data store was not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class EventDataStoreStatus(UnknownEnumMixin, StrEnum): + CREATED = "CREATED" + ENABLED = "ENABLED" + PENDING_DELETION = "PENDING_DELETION" + STARTING_INGESTION = "STARTING_INGESTION" + STOPPING_INGESTION = "STOPPING_INGESTION" + STOPPED_INGESTION = "STOPPED_INGESTION" + +@dataclass(kw_only=True) +class EventDataStoreTerminationProtectedException(ServiceError, _SerdeShape): + """ + The event data store cannot be deleted because termination protection is + enabled for it. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EventSelector(_SerdeShape): + """ + Use event selectors to further specify the management and data event + settings for your trail. By default, trails created without specific + event selectors will be configured to log all read and write management + events, and no data events. When an event occurs in your account, + CloudTrail evaluates the event selector for all trails. For each trail, + if the event matches any event selector, the trail processes and logs + the event. If the event doesn't match any event selector, the trail + doesn't log the event. + + You can configure up to five event selectors for a trail. + + You cannot apply both event selectors and advanced event selectors to a + trail. + """ + + read_write_type: str | None = ... + """ + Specify if you want your trail to log read-only events, write-only + events, or all. For example, the EC2 `GetConsoleOutput` is a read-only + API operation and `RunInstances` is a write-only API operation. + + By default, the value is `All`. + """ + include_management_events: bool | None = ... + """ + Specify if you want your event selector to include management events for + your trail. + + For more information, see [Management + Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html) + in the *CloudTrail User Guide*. + + By default, the value is `true`. + + The first copy of management events is free. You are charged for + additional copies of management events that you are logging on any + subsequent trail in the same Region. For more information about + CloudTrail pricing, see [CloudTrail + Pricing](http://aws.amazon.com/cloudtrail/pricing/). + """ + data_resources: list[DataResource] | None = ... + """ + CloudTrail supports data event logging for Amazon S3 objects in standard + S3 buckets, Lambda functions, and Amazon DynamoDB tables with basic + event selectors. You can specify up to 250 resources for an individual + event selector, but the total number of data resources cannot exceed 250 + across all event selectors in a trail. This limit does not apply if you + configure resource logging for all data events. + + For more information, see [Data + Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) + and [Limits in + CloudTrail](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html) + in the *CloudTrail User Guide*. + + Note: + To log data events for all other resource types including objects stored + in [directory + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html), + you must use + [AdvancedEventSelectors](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html). + You must also use `AdvancedEventSelectors` if you want to filter on the + `eventName` field. + """ + exclude_management_event_sources: list[str] | None = ... + """ + An optional list of service event sources from which you do not want + management events to be logged on your trail. In this release, the list + can be empty (disables the filter), or it can filter out Key Management + Service or Amazon RDS Data API events by containing `kms.amazonaws.com` + or `rdsdata.amazonaws.com`. By default, `ExcludeManagementEventSources` + is empty, and KMS and Amazon RDS Data API events are logged to your + trail. You can exclude management event sources only in Regions that + support the event source. + """ + +class FederationStatus(UnknownEnumMixin, StrEnum): + ENABLING = "ENABLING" + ENABLED = "ENABLED" + DISABLING = "DISABLING" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class GenerateQueryInput(_SerdeShape): + """Dataclass for GenerateQueryInput structure.""" + + event_data_stores: list[str] | None = ... + """ + The ARN (or ID suffix of the ARN) of the event data store that you want + to query. You can only specify one event data store. + """ + prompt: str | None = ... + """ + The prompt that you want to use to generate the query. The prompt must + be in English. For example prompts, see [Example + prompts](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-query-generator.html#lake-query-generator-examples) + in the *CloudTrail* user guide. + """ + +@dataclass(kw_only=True) +class GenerateQueryOutput(_SerdeShape): + """Dataclass for GenerateQueryOutput structure.""" + + query_statement: str | None = ... + """The SQL query statement generated from the prompt.""" + query_alias: str | None = ... + """ + An alias that identifies the prompt. When you run the `StartQuery` + operation, you can pass in either the `QueryAlias` or `QueryStatement` + parameter. + """ + event_data_store_owner_account_id: str | None = ... + """The account ID of the event data store owner.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GenerateResponseException(ServiceError, _SerdeShape): + """ + This exception is thrown when a valid query could not be generated for + the provided prompt. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetChannelInput(_SerdeShape): + """Dataclass for GetChannelInput structure.""" + + channel: str | None = ... + """The ARN or `UUID` of a channel.""" + +@dataclass(kw_only=True) +class GetChannelOutput(_SerdeShape): + """Dataclass for GetChannelOutput structure.""" + + channel_arn: str | None = ... + """The ARN of an channel returned by a `GetChannel` request.""" + name: str | None = ... + """ + The name of the CloudTrail channel. For service-linked channels, the + name is `aws-service-channel/service-name/custom-suffix` where + `service-name` represents the name of the Amazon Web Services service + that created the channel and `custom-suffix` represents the suffix + generated by the Amazon Web Services service. + """ + source: str | None = ... + """The source for the CloudTrail channel.""" + source_config: SourceConfig | None = ... + """ + Provides information about the advanced event selectors configured for + the channel, and whether the channel applies to all Regions or a single + Region. + """ + destinations: list[Destination] | None = ... + """ + The destinations for the channel. For channels created for integrations, + the destinations are the event data stores that log events arriving + through the channel. For service-linked channels, the destination is the + Amazon Web Services service that created the service-linked channel to + receive events. + """ + ingestion_status: IngestionStatus | None = ... + """ + A table showing information about the most recent successful and failed + attempts to ingest events. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDashboardInput(_SerdeShape): + """Dataclass for GetDashboardInput structure.""" + + dashboard_id: str | None = ... + """The name or ARN for the dashboard.""" + +@dataclass(kw_only=True) +class GetDashboardOutput(_SerdeShape): + """Dataclass for GetDashboardOutput structure.""" + + dashboard_arn: str | None = ... + """The ARN for the dashboard.""" + type: str | None = ... + """The type of dashboard.""" + status: str | None = ... + """The status of the dashboard.""" + widgets: list[Widget] | None = ... + """An array of widgets for the dashboard.""" + refresh_schedule: RefreshSchedule | None = ... + """The refresh schedule for the dashboard, if configured.""" + created_timestamp: datetime | None = ... + """The timestamp that shows when the dashboard was created.""" + updated_timestamp: datetime | None = ... + """The timestamp that shows when the dashboard was last updated.""" + last_refresh_id: str | None = ... + """The ID of the last dashboard refresh.""" + last_refresh_failure_reason: str | None = ... + """Provides information about failures for the last scheduled refresh.""" + termination_protection_enabled: bool | None = ... + """Indicates whether termination protection is enabled for the dashboard.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEventConfigurationInput(_SerdeShape): + """Dataclass for GetEventConfigurationInput structure.""" + + trail_name: str | None = ... + """ + The name of the trail for which you want to retrieve event configuration + settings. + """ + event_data_store: str | None = ... + """ + The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data + store for which you want to retrieve event configuration settings. + """ + +@dataclass(kw_only=True) +class GetEventConfigurationOutput(_SerdeShape): + """Dataclass for GetEventConfigurationOutput structure.""" + + trail_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the trail for which the event + configuration settings are returned. + """ + event_data_store_arn: str | None = ... + """ + The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data + store for which the event configuration settings are returned. + """ + max_event_size: str | None = ... + """ + The maximum allowed size for events stored in the specified event data + store. + """ + context_key_selectors: list[ContextKeySelector] | None = ... + """ + The list of context key selectors that are configured for the event data + store. + """ + aggregation_configurations: list[AggregationConfiguration] | None = ... + """ + The list of aggregation configurations that are configured for the + trail. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEventDataStoreInput(_SerdeShape): + """Dataclass for GetEventDataStoreInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or ID suffix of the ARN) of the event data store about which + you want information. + """ + +@dataclass(kw_only=True) +class GetEventDataStoreOutput(_SerdeShape): + """Dataclass for GetEventDataStoreOutput structure.""" + + event_data_store_arn: str | None = ... + """The event data store Amazon Resource Number (ARN).""" + name: str | None = ... + """The name of the event data store.""" + status: str | None = ... + """The status of an event data store.""" + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """The advanced event selectors used to select events for the data store.""" + multi_region_enabled: bool | None = ... + """ + Indicates whether the event data store includes events from all Regions, + or only from the Region in which it was created. + """ + organization_enabled: bool | None = ... + """ + Indicates whether an event data store is collecting logged events for an + organization in Organizations. + """ + retention_period: int | None = ... + """The retention period of the event data store, in days.""" + termination_protection_enabled: bool | None = ... + """Indicates that termination protection is enabled.""" + created_timestamp: datetime | None = ... + """The timestamp of the event data store's creation.""" + updated_timestamp: datetime | None = ... + """ + Shows the time that an event data store was updated, if applicable. + `UpdatedTimestamp` is always either the same or newer than the time + shown in `CreatedTimestamp`. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID that encrypts the events delivered by + CloudTrail. The value is a fully specified ARN to a KMS key in the + following format. + + `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + """ + billing_mode: str | None = ... + """The billing mode for the event data store.""" + federation_status: str | None = ... + """ + Indicates the [Lake query + federation](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html) + status. The status is `ENABLED` if Lake query federation is enabled, or + `DISABLED` if Lake query federation is disabled. You cannot delete an + event data store if the `FederationStatus` is `ENABLED`. + """ + federation_role_arn: str | None = ... + """ + If Lake query federation is enabled, provides the ARN of the federation + role used to access the resources for the federated event data store. + """ + partition_keys: list[PartitionKey] | None = ... + """ + The partition keys for the event data store. To improve query + performance and efficiency, CloudTrail Lake organizes event data into + partitions based on values derived from partition keys. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEventSelectorsInput(_SerdeShape): + """Dataclass for GetEventSelectorsInput structure.""" + + trail_name: str | None = ... + """ + Specifies the name of the trail or trail ARN. If you specify a trail + name, the string must meet the following requirements: + + - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), + underscores (_), or dashes (-) + + - Start with a letter or number, and end with a letter or number + + - Be between 3 and 128 characters + + - Have no adjacent periods, underscores or dashes. Names like + `my-_namespace` and `my--namespace` are not valid. + + - Not be in IP address format (for example, 192.168.5.4) + + If you specify a trail ARN, it must be in the format: + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + +@dataclass(kw_only=True) +class GetEventSelectorsOutput(_SerdeShape): + """Dataclass for GetEventSelectorsOutput structure.""" + + trail_arn: str | None = ... + """The specified trail ARN that has the event selectors.""" + event_selectors: list[EventSelector] | None = ... + """The event selectors that are configured for the trail.""" + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """The advanced event selectors that are configured for the trail.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetImportInput(_SerdeShape): + """Dataclass for GetImportInput structure.""" + + import_id: str | None = ... + """The ID for the import.""" + +@dataclass(kw_only=True) +class GetImportOutput(_SerdeShape): + """Dataclass for GetImportOutput structure.""" + + import_id: str | None = ... + """The ID of the import.""" + destinations: list[str] | None = ... + """The ARN of the destination event data store.""" + import_source: ImportSource | None = ... + """The source S3 bucket.""" + start_event_time: datetime | None = ... + """ + Used with `EndEventTime` to bound a `StartImport` request, and limit + imported trail events to only those events logged within a specified + time period. + """ + end_event_time: datetime | None = ... + """ + Used with `StartEventTime` to bound a `StartImport` request, and limit + imported trail events to only those events logged within a specified + time period. + """ + import_status: str | None = ... + """The status of the import.""" + created_timestamp: datetime | None = ... + """The timestamp of the import's creation.""" + updated_timestamp: datetime | None = ... + """The timestamp of when the import was updated.""" + import_statistics: ImportStatistics | None = ... + """ + Provides statistics for the import. CloudTrail does not update import + statistics in real-time. Returned values for parameters such as + `EventsCompleted` may be lower than the actual value, because CloudTrail + updates statistics incrementally over the course of the import. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInsightSelectorsInput(_SerdeShape): + """Dataclass for GetInsightSelectorsInput structure.""" + + trail_name: str | None = ... + """ + Specifies the name of the trail or trail ARN. If you specify a trail + name, the string must meet the following requirements: + + - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), + underscores (_), or dashes (-) + + - Start with a letter or number, and end with a letter or number + + - Be between 3 and 128 characters + + - Have no adjacent periods, underscores or dashes. Names like + `my-_namespace` and `my--namespace` are not valid. + + - Not be in IP address format (for example, 192.168.5.4) + + If you specify a trail ARN, it must be in the format: + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + + You cannot use this parameter with the `EventDataStore` parameter. + """ + event_data_store: str | None = ... + """ + Specifies the ARN (or ID suffix of the ARN) of the event data store for + which you want to get Insights selectors. + + You cannot use this parameter with the `TrailName` parameter. + """ + +@dataclass(kw_only=True) +class GetInsightSelectorsOutput(_SerdeShape): + """Dataclass for GetInsightSelectorsOutput structure.""" + + trail_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a trail for which you want to get + Insights selectors. + """ + insight_selectors: list[InsightSelector] | None = ... + """ + Contains the Insights types that are enabled on a trail or event data + store. It also specifies the event categories on which a particular + Insight type is enabled. `ApiCallRateInsight` and `ApiErrorRateInsight` + are valid Insight types.The EventCategory field can specify `Management` + or `Data` events or both. For event data store, you can log Insights for + management events only. + """ + event_data_store_arn: str | None = ... + """The ARN of the source event data store that enabled Insights events.""" + insights_destination: str | None = ... + """The ARN of the destination event data store that logs Insights events.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetQueryResultsInput(_SerdeShape): + """Dataclass for GetQueryResultsInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or ID suffix of the ARN) of the event data store against which + the query was run. + """ + query_id: str | None = ... + """The ID of the query for which you want to get results.""" + next_token: str | None = ... + """A token you can use to get the next page of query results.""" + max_query_results: int | None = ... + """The maximum number of query results to display on a single page.""" + event_data_store_owner_account_id: str | None = ... + """The account ID of the event data store owner.""" + +@dataclass(kw_only=True) +class GetQueryResultsOutput(_SerdeShape): + """Dataclass for GetQueryResultsOutput structure.""" + + query_status: str | None = ... + """ + The status of the query. Values include `QUEUED`, `RUNNING`, `FINISHED`, + `FAILED`, `TIMED_OUT`, or `CANCELLED`. + """ + query_statistics: QueryStatistics | None = ... + """Shows the count of query results.""" + query_result_rows: list[list[dict[str, str]]] | None = ... + """Contains the individual event results of the query.""" + next_token: str | None = ... + """A token you can use to get the next page of query results.""" + error_message: str | None = ... + """The error message returned if a query failed.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyInput(_SerdeShape): + """Dataclass for GetResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudTrail event data store, + dashboard, or channel attached to the resource-based policy. + + Example event data store ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + Example dashboard ARN format: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + Example channel ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + +@dataclass(kw_only=True) +class GetResourcePolicyOutput(_SerdeShape): + """Dataclass for GetResourcePolicyOutput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudTrail event data store, + dashboard, or channel attached to resource-based policy. + + Example event data store ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + Example dashboard ARN format: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + Example channel ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + resource_policy: str | None = ... + """ + A JSON-formatted string that contains the resource-based policy attached + to the CloudTrail event data store, dashboard, or channel. + """ + delegated_admin_resource_policy: str | None = ... + """ + The default resource-based policy that is automatically generated for + the delegated administrator of an Organizations organization. This + policy will be evaluated in tandem with any policy you submit for the + resource. For more information about this policy, see [Default resource + policy for delegated + administrators](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html#cloudtrail-lake-organizations-eds-rbp). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTrailInput(_SerdeShape): + """Dataclass for GetTrailInput structure.""" + + name: str | None = ... + """ + The name or the Amazon Resource Name (ARN) of the trail for which you + want to retrieve settings information. + """ + +@dataclass(kw_only=True) +class GetTrailOutput(_SerdeShape): + """Dataclass for GetTrailOutput structure.""" + + trail: Trail | None = ... + """The settings for a trail.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTrailStatusInput(_SerdeShape): + """The name of a trail about which you want the current status.""" + + name: str | None = ... + """ + Specifies the name or the CloudTrail ARN of the trail for which you are + requesting status. To get the status of a shadow trail (a replication of + the trail in another Region), you must specify its ARN. + + The following is the format of a trail ARN: + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + + Note: + If the trail is an organization trail and you are a member account in + the organization in Organizations, you must provide the full ARN of that + trail, and not just the name. + """ + +@dataclass(kw_only=True) +class GetTrailStatusOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + is_logging: bool | None = ... + """ + Whether the CloudTrail trail is currently logging Amazon Web Services + API calls. + """ + latest_delivery_error: str | None = ... + """ + Displays any Amazon S3 error that CloudTrail encountered when attempting + to deliver log files to the designated bucket. For more information, see + [Error + Responses](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html) + in the Amazon S3 API Reference. + + Note: + This error occurs only when there is a problem with the destination S3 + bucket, and does not occur for requests that time out. To resolve the + issue, fix the [bucket + policy](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create-s3-bucket-policy-for-cloudtrail.html) + so that CloudTrail can write to the bucket; or create a new bucket and + call `UpdateTrail` to specify the new bucket. + """ + latest_notification_error: str | None = ... + """ + Displays any Amazon SNS error that CloudTrail encountered when + attempting to send a notification. For more information about Amazon SNS + errors, see the [Amazon SNS Developer + Guide](https://docs.aws.amazon.com/sns/latest/dg/welcome.html). + """ + latest_delivery_time: datetime | None = ... + """ + Specifies the date and time that CloudTrail last delivered log files to + an account's Amazon S3 bucket. + """ + latest_notification_time: datetime | None = ... + """ + Specifies the date and time of the most recent Amazon SNS notification + that CloudTrail has written a new log file to an account's Amazon S3 + bucket. + """ + start_logging_time: datetime | None = ... + """ + Specifies the most recent date and time when CloudTrail started + recording API calls for an Amazon Web Services account. + """ + stop_logging_time: datetime | None = ... + """ + Specifies the most recent date and time when CloudTrail stopped + recording API calls for an Amazon Web Services account. + """ + latest_cloud_watch_logs_delivery_error: str | None = ... + """ + Displays any CloudWatch Logs error that CloudTrail encountered when + attempting to deliver logs to CloudWatch Logs. + """ + latest_cloud_watch_logs_delivery_time: datetime | None = ... + """ + Displays the most recent date and time when CloudTrail delivered logs to + CloudWatch Logs. + """ + latest_digest_delivery_time: datetime | None = ... + """ + Specifies the date and time that CloudTrail last delivered a digest file + to an account's Amazon S3 bucket. + """ + latest_digest_delivery_error: str | None = ... + """ + Displays any Amazon S3 error that CloudTrail encountered when attempting + to deliver a digest file to the designated bucket. For more information, + see [Error + Responses](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html) + in the Amazon S3 API Reference. + + Note: + This error occurs only when there is a problem with the destination S3 + bucket, and does not occur for requests that time out. To resolve the + issue, fix the [bucket + policy](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create-s3-bucket-policy-for-cloudtrail.html) + so that CloudTrail can write to the bucket; or create a new bucket and + call `UpdateTrail` to specify the new bucket. + """ + latest_delivery_attempt_time: str | None = ... + """This field is no longer in use.""" + latest_notification_attempt_time: str | None = ... + """This field is no longer in use.""" + latest_notification_attempt_succeeded: str | None = ... + """This field is no longer in use.""" + latest_delivery_attempt_succeeded: str | None = ... + """This field is no longer in use.""" + time_logging_started: str | None = ... + """This field is no longer in use.""" + time_logging_stopped: str | None = ... + """This field is no longer in use.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportFailureListItem(_SerdeShape): + """Provides information about an import failure.""" + + location: str | None = ... + """The location of the failure in the S3 bucket.""" + status: str | None = ... + """The status of the import.""" + error_type: str | None = ... + """The type of import error.""" + error_message: str | None = ... + """Provides the reason the import failed.""" + last_updated_time: datetime | None = ... + """When the import was last updated.""" + +class ImportFailureStatus(UnknownEnumMixin, StrEnum): + FAILED = "FAILED" + RETRY = "RETRY" + SUCCEEDED = "SUCCEEDED" + +@dataclass(kw_only=True) +class ImportNotFoundException(ServiceError, _SerdeShape): + """The specified import was not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportsListItem(_SerdeShape): + """ + Contains information about an import that was returned by a lookup + request. + """ + + import_id: str | None = ... + """The ID of the import.""" + import_status: str | None = ... + """The status of the import.""" + destinations: list[str] | None = ... + """The ARN of the destination event data store.""" + created_timestamp: datetime | None = ... + """The timestamp of the import's creation.""" + updated_timestamp: datetime | None = ... + """The timestamp of the import's last update.""" + +@dataclass(kw_only=True) +class ImportSource(_SerdeShape): + """The import source.""" + + s3: S3ImportSource + """The source S3 bucket.""" + +@dataclass(kw_only=True) +class ImportStatistics(_SerdeShape): + """ + Provides statistics for the specified `ImportID`. CloudTrail does not + update import statistics in real-time. Returned values for parameters + such as `EventsCompleted` may be lower than the actual value, because + CloudTrail updates statistics incrementally over the course of the + import. + """ + + prefixes_found: int | None = ... + """The number of S3 prefixes found for the import.""" + prefixes_completed: int | None = ... + """The number of S3 prefixes that completed import.""" + files_completed: int | None = ... + """The number of log files that completed import.""" + events_completed: int | None = ... + """The number of trail events imported into the event data store.""" + failed_entries: int | None = ... + """The number of failed entries.""" + +class ImportStatus(UnknownEnumMixin, StrEnum): + INITIALIZING = "INITIALIZING" + IN_PROGRESS = "IN_PROGRESS" + FAILED = "FAILED" + STOPPED = "STOPPED" + COMPLETED = "COMPLETED" + +@dataclass(kw_only=True) +class InactiveEventDataStoreException(ServiceError, _SerdeShape): + """The event data store is inactive.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InactiveQueryException(ServiceError, _SerdeShape): + """ + The specified query cannot be canceled because it is in the `FINISHED`, + `FAILED`, `TIMED_OUT`, or `CANCELLED` state. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IngestionStatus(_SerdeShape): + """ + A table showing information about the most recent successful and failed + attempts to ingest events. + """ + + latest_ingestion_success_time: datetime | None = ... + """ + The time stamp of the most recent successful ingestion of events for the + channel. + """ + latest_ingestion_success_event_id: str | None = ... + """The event ID of the most recent successful ingestion of events.""" + latest_ingestion_error_code: str | None = ... + """The error code for the most recent failure to ingest events.""" + latest_ingestion_attempt_time: datetime | None = ... + """ + The time stamp of the most recent attempt to ingest events on the + channel. + """ + latest_ingestion_attempt_event_id: str | None = ... + """The event ID of the most recent attempt to ingest events.""" + +@dataclass(kw_only=True) +class InsightNotEnabledException(ServiceError, _SerdeShape): + """ + If you run `GetInsightSelectors` on a trail or event data store that + does not have Insights events enabled, the operation throws the + exception `InsightNotEnabledException`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsightSelector(_SerdeShape): + """ + A JSON string that contains a list of Insights types that are logged on + a trail or event data store. + """ + + insight_type: str | None = ... + """ + The type of Insights events to log on a trail or event data store. + `ApiCallRateInsight` and `ApiErrorRateInsight` are valid Insight types. + + The `ApiCallRateInsight` Insights type analyzes write-only management + API calls or read and write data API calls that are aggregated per + minute against a baseline API call volume. + + The `ApiErrorRateInsight` Insights type analyzes management and data API + calls that result in error codes. The error is shown if the API call is + unsuccessful. + """ + event_categories: list[str] | None = ... + """ + Select the event category on which Insights should be enabled. + + - If EventCategories is not provided, the specified Insights types are + enabled on management API calls by default. + + - If EventCategories is provided, the given event categories will + overwrite the existing ones. For example, if a trail already has + Insights enabled on management events, and then a PutInsightSelectors + request is made with only data events specified in EventCategories, + Insights on management events will be disabled. + """ + +class InsightsMetricDataType(UnknownEnumMixin, StrEnum): + FILL_WITH_ZEROS = "FillWithZeros" + NON_ZERO_DATA = "NonZeroData" + +class InsightType(UnknownEnumMixin, StrEnum): + API_CALL_RATE_INSIGHT = "ApiCallRateInsight" + API_ERROR_RATE_INSIGHT = "ApiErrorRateInsight" + +@dataclass(kw_only=True) +class InsufficientDependencyServiceAccessPermissionException(ServiceError, _SerdeShape): + """ + This exception is thrown when the IAM identity that is used to create + the organization resource lacks one or more required permissions for + creating an organization resource in a required service. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsufficientEncryptionPolicyException(ServiceError, _SerdeShape): + """ + For the `CreateTrail` `PutInsightSelectors`, `UpdateTrail`, + `StartQuery`, and `StartImport` operations, this exception is thrown + when the policy on the S3 bucket or KMS key does not have sufficient + permissions for the operation. + + For all other operations, this exception is thrown when the policy for + the KMS key does not have sufficient permissions for the operation. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsufficientIAMAccessPermissionException(ServiceError, _SerdeShape): + """ + The task can't be completed because you are signed in with an account + that lacks permissions to view or create a service-linked role. Sign in + with an account that has the required permissions and then try again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsufficientS3BucketPolicyException(ServiceError, _SerdeShape): + """ + This exception is thrown when the policy on the S3 bucket is not + sufficient. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsufficientSnsTopicPolicyException(ServiceError, _SerdeShape): + """ + This exception is thrown when the policy on the Amazon SNS topic is not + sufficient. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidCloudWatchLogsLogGroupArnException(ServiceError, _SerdeShape): + """ + This exception is thrown when the provided CloudWatch Logs log group is + not valid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidCloudWatchLogsRoleArnException(ServiceError, _SerdeShape): + """This exception is thrown when the provided role is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDateRangeException(ServiceError, _SerdeShape): + """ + A date range for the query was specified that is not valid. Be sure that + the start time is chronologically before the end time. For more + information about writing a query, see [Create or edit a + query](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) + in the *CloudTrail User Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidEventCategoryException(ServiceError, _SerdeShape): + """ + Occurs if an event category that is not valid is specified as a value of + `EventCategory`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidEventDataStoreCategoryException(ServiceError, _SerdeShape): + """ + This exception is thrown when event categories of specified event data + stores are not valid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidEventDataStoreStatusException(ServiceError, _SerdeShape): + """The event data store is not in a status that supports the operation.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidEventSelectorsException(ServiceError, _SerdeShape): + """ + This exception is thrown when the `PutEventSelectors` operation is + called with a number of event selectors, advanced event selectors, or + data resources that is not valid. The combination of event selectors or + advanced event selectors and data resources is not valid. A trail can + have up to 5 event selectors. If a trail uses advanced event selectors, + a maximum of 500 total values for all conditions in all advanced event + selectors is allowed. A trail is limited to 250 data resources. These + data resources can be distributed across event selectors, but the + overall total cannot exceed 250. + + You can: + + - Specify a valid number of event selectors (1 to 5) for a trail. + + - Specify a valid number of data resources (1 to 250) for an event + selector. The limit of number of resources on an individual event + selector is configurable up to 250. However, this upper limit is + allowed only if the total number of data resources does not exceed 250 + across all event selectors for a trail. + + - Specify up to 500 values for all conditions in all advanced event + selectors for a trail. + + - Specify a valid value for a parameter. For example, specifying the + `ReadWriteType` parameter with a value of `read-only` is not valid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidHomeRegionException(ServiceError, _SerdeShape): + """ + This exception is thrown when an operation is called on a trail from a + Region other than the Region in which the trail was created. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidImportSourceException(ServiceError, _SerdeShape): + """ + This exception is thrown when the provided source S3 bucket is not valid + for import. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidInsightSelectorsException(ServiceError, _SerdeShape): + """ + For `PutInsightSelectors`, this exception is thrown when the formatting + or syntax of the `InsightSelectors` JSON statement is not valid, or the + specified `InsightType` in the `InsightSelectors` statement is not + valid. Valid values for `InsightType` are `ApiCallRateInsight` and + `ApiErrorRateInsight`. To enable Insights on an event data store, the + destination event data store specified by the `InsightsDestination` + parameter must log Insights events and the source event data store + specified by the `EventDataStore` parameter must log management events. + + For `UpdateEventDataStore`, this exception is thrown if Insights are + enabled on the event data store and the updated advanced event selectors + are not compatible with the configured `InsightSelectors`. If the + `InsightSelectors` includes an `InsightType` of `ApiCallRateInsight`, + the source event data store must log `write` management events. If the + `InsightSelectors` includes an `InsightType` of `ApiErrorRateInsight`, + the source event data store must log management events. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidKmsKeyIdException(ServiceError, _SerdeShape): + """This exception is thrown when the KMS key ARN is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidLookupAttributesException(ServiceError, _SerdeShape): + """Occurs when a lookup attribute is specified that is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidMaxResultsException(ServiceError, _SerdeShape): + """This exception is thrown if the limit specified is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidNextTokenException(ServiceError, _SerdeShape): + """ + A token that is not valid, or a token that was previously used in a + request with different parameters. This exception is thrown if the token + is not valid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidParameterCombinationException(ServiceError, _SerdeShape): + """ + This exception is thrown when the combination of parameters provided is + not valid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidParameterException(ServiceError, _SerdeShape): + """The request includes a parameter that is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidQueryStatementException(ServiceError, _SerdeShape): + """ + The query that was submitted has validation errors, or uses incorrect + syntax or unsupported keywords. For more information about writing a + query, see [Create or edit a + query](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) + in the *CloudTrail User Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidQueryStatusException(ServiceError, _SerdeShape): + """The query status is not valid for the operation.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidS3BucketNameException(ServiceError, _SerdeShape): + """This exception is thrown when the provided S3 bucket name is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidS3PrefixException(ServiceError, _SerdeShape): + """This exception is thrown when the provided S3 prefix is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidSnsTopicNameException(ServiceError, _SerdeShape): + """This exception is thrown when the provided SNS topic name is not valid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidSourceException(ServiceError, _SerdeShape): + """ + This exception is thrown when the specified value of `Source` is not + valid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidTagParameterException(ServiceError, _SerdeShape): + """ + This exception is thrown when the specified tag key or values are not + valid. It can also occur if there are duplicate tags or too many tags on + the resource. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidTimeRangeException(ServiceError, _SerdeShape): + """ + Occurs if the timestamp values are not valid. Either the start time + occurs after the end time, or the time range is outside the range of + possible values. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidTokenException(ServiceError, _SerdeShape): + """Reserved for future use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidTrailNameException(ServiceError, _SerdeShape): + """ + This exception is thrown when the provided trail name is not valid. + Trail names must meet the following requirements: + + - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), + underscores (_), or dashes (-) + + - Start with a letter or number, and end with a letter or number + + - Be between 3 and 128 characters + + - Have no adjacent periods, underscores or dashes. Names like + `my-_namespace` and `my--namespace` are not valid. + + - Not be in IP address format (for example, 192.168.5.4) + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KmsException(ServiceError, _SerdeShape): + """ + This exception is thrown when there is an issue with the specified KMS + key and the trail or event data store can't be updated. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KmsKeyDisabledException(ServiceError, _SerdeShape): + """This exception is no longer in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KmsKeyNotFoundException(ServiceError, _SerdeShape): + """ + This exception is thrown when the KMS key does not exist, when the S3 + bucket and the KMS key are not in the same Region, or when the KMS key + associated with the Amazon SNS topic either does not exist or is not in + the same Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListChannelsInput(_SerdeShape): + """Dataclass for ListChannelsInput structure.""" + + max_results: int | None = ... + """The maximum number of CloudTrail channels to display on a single page.""" + next_token: str | None = ... + """ + The token to use to get the next page of results after a previous API + call. This token must be passed in with the same parameters that were + specified in the original call. For example, if the original call + specified an AttributeKey of 'Username' with a value of 'root', the + call with NextToken should include those same parameters. + """ + +@dataclass(kw_only=True) +class ListChannelsOutput(_SerdeShape): + """Dataclass for ListChannelsOutput structure.""" + + channels: list[Channel] | None = ... + """The list of channels in the account.""" + next_token: str | None = ... + """ + The token to use to get the next page of results after a previous API + call. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDashboardsInput(_SerdeShape): + """Dataclass for ListDashboardsInput structure.""" + + name_prefix: str | None = ... + """Specify a name prefix to filter on.""" + type: str | None = ... + """Specify a dashboard type to filter on: `CUSTOM` or `MANAGED`.""" + next_token: str | None = ... + """A token you can use to get the next page of dashboard results.""" + max_results: int | None = ... + """The maximum number of dashboards to display on a single page.""" + +@dataclass(kw_only=True) +class ListDashboardsOutput(_SerdeShape): + """Dataclass for ListDashboardsOutput structure.""" + + dashboards: list[DashboardDetail] | None = ... + """ + Contains information about dashboards in the account, in the current + Region that match the applied filters. + """ + next_token: str | None = ... + """A token you can use to get the next page of dashboard results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListEventDataStoresInput(_SerdeShape): + """Dataclass for ListEventDataStoresInput structure.""" + + next_token: str | None = ... + """A token you can use to get the next page of event data store results.""" + max_results: int | None = ... + """The maximum number of event data stores to display on a single page.""" + +@dataclass(kw_only=True) +class ListEventDataStoresOutput(_SerdeShape): + """Dataclass for ListEventDataStoresOutput structure.""" + + event_data_stores: list[EventDataStore] | None = ... + """ + Contains information about event data stores in the account, in the + current Region. + """ + next_token: str | None = ... + """A token you can use to get the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListImportFailuresInput(_SerdeShape): + """Dataclass for ListImportFailuresInput structure.""" + + import_id: str | None = ... + """The ID of the import.""" + max_results: int | None = ... + """The maximum number of failures to display on a single page.""" + next_token: str | None = ... + """A token you can use to get the next page of import failures.""" + +@dataclass(kw_only=True) +class ListImportFailuresOutput(_SerdeShape): + """Dataclass for ListImportFailuresOutput structure.""" + + failures: list[ImportFailureListItem] | None = ... + """Contains information about the import failures.""" + next_token: str | None = ... + """A token you can use to get the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListImportsInput(_SerdeShape): + """Dataclass for ListImportsInput structure.""" + + max_results: int | None = ... + """The maximum number of imports to display on a single page.""" + destination: str | None = ... + """The ARN of the destination event data store.""" + import_status: str | None = ... + """The status of the import.""" + next_token: str | None = ... + """A token you can use to get the next page of import results.""" + +@dataclass(kw_only=True) +class ListImportsOutput(_SerdeShape): + """Dataclass for ListImportsOutput structure.""" + + imports: list[ImportsListItem] | None = ... + """The list of returned imports.""" + next_token: str | None = ... + """A token you can use to get the next page of import results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ListInsightsDataDimensionKey(UnknownEnumMixin, StrEnum): + EVENT_ID = "EventId" + EVENT_NAME = "EventName" + EVENT_SOURCE = "EventSource" + +@dataclass(kw_only=True) +class ListInsightsDataInput(_SerdeShape): + """Dataclass for ListInsightsDataInput structure.""" + + insight_source: str | None = ... + """ + The Amazon Resource Name(ARN) of the trail for which you want to + retrieve Insights events. + """ + data_type: str | None = ... + """ + Specifies the category of events returned. To fetch Insights events, + specify `InsightsEvents` as the value of `DataType` + """ + dimensions: dict[str, str] | None = ... + """ + Contains a map of dimensions. Currently the map can contain only one + item. + """ + start_time: datetime | None = ... + """ + Specifies that only events that occur after or at the specified time are + returned. If the specified start time is after the specified end time, + an error is returned. + """ + end_time: datetime | None = ... + """ + Specifies that only events that occur before or at the specified time + are returned. If the specified end time is before the specified start + time, an error is returned. + """ + max_results: int | None = ... + """ + The number of events to return. Possible values are 1 through 50. The + default is 50. + """ + next_token: str | None = ... + """ + The token to use to get the next page of results after a previous API + call. This token must be passed in with the same parameters that were + specified in the original call. For example, if the original call + specified a EventName as a dimension with `PutObject` as a value, the + call with NextToken should include those same parameters. + """ + +@dataclass(kw_only=True) +class ListInsightsDataOutput(_SerdeShape): + """Dataclass for ListInsightsDataOutput structure.""" + + events: list[Event] | None = ... + """ + A list of events returned based on the InsightSource, DataType or + Dimensions specified. The events list is sorted by time. The most recent + event is listed first. + """ + next_token: str | None = ... + """ + The token to use to get the next page of results after a previous API + call. If the token does not appear, there are no more results to return. + The token must be passed in with the same parameters as the previous + call. For example, if the original call specified a EventName as a + dimension with `PutObject` as a value, the call with NextToken should + include those same parameters. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ListInsightsDataType(UnknownEnumMixin, StrEnum): + INSIGHTS_EVENTS = "InsightsEvents" + +@dataclass(kw_only=True) +class ListInsightsMetricDataInput(_SerdeShape): + """Dataclass for ListInsightsMetricDataInput structure.""" + + trail_name: str | None = ... + """ + The Amazon Resource Name(ARN) or name of the trail for which you want to + retrieve Insights metrics data. This parameter should only be provided + to fetch Insights metrics data generated on trails logging data events. + This parameter is not required for Insights metric data generated on + trails logging management events. + """ + event_source: str | None = ... + """ + The Amazon Web Services service to which the request was made, such as + `iam.amazonaws.com` or `s3.amazonaws.com`. + """ + event_name: str | None = ... + """ + The name of the event, typically the Amazon Web Services API on which + unusual levels of activity were recorded. + """ + insight_type: str | None = ... + """ + The type of CloudTrail Insights event, which is either + `ApiCallRateInsight` or `ApiErrorRateInsight`. The `ApiCallRateInsight` + Insights type analyzes write-only management API calls that are + aggregated per minute against a baseline API call volume. The + `ApiErrorRateInsight` Insights type analyzes management API calls that + result in error codes. + """ + error_code: str | None = ... + """ + Conditionally required if the `InsightType` parameter is set to + `ApiErrorRateInsight`. + + If returning metrics for the `ApiErrorRateInsight` Insights type, this + is the error to retrieve data for. For example, `AccessDenied`. + """ + start_time: datetime | None = ... + """ + Specifies, in UTC, the start time for time-series data. The value + specified is inclusive; results include data points with the specified + time stamp. + + The default is 90 days before the time of request. + """ + end_time: datetime | None = ... + """ + Specifies, in UTC, the end time for time-series data. The value + specified is exclusive; results include data points up to the specified + time stamp. + + The default is the time of request. + """ + period: int | None = ... + """ + Granularity of data to retrieve, in seconds. Valid values are `60`, + `300`, and `3600`. If you specify any other value, you will get an + error. The default is 3600 seconds. + """ + data_type: str | None = ... + """ + Type of data points to return. Valid values are `NonZeroData` and + `FillWithZeros`. The default is `NonZeroData`. + """ + max_results: int | None = ... + """ + The maximum number of data points to return. Valid values are integers + from 1 to 21600. The default value is 21600. + """ + next_token: str | None = ... + """ + Returned if all datapoints can't be returned in a single call. For + example, due to reaching `MaxResults`. + + Add this parameter to the request to continue retrieving results + starting from the last evaluated point. + """ + +@dataclass(kw_only=True) +class ListInsightsMetricDataOutput(_SerdeShape): + """Dataclass for ListInsightsMetricDataOutput structure.""" + + trail_arn: str | None = ... + """ + Specifies the ARN of the trail. This is only returned when Insights is + enabled on a trail logging data events. + """ + event_source: str | None = ... + """ + The Amazon Web Services service to which the request was made, such as + `iam.amazonaws.com` or `s3.amazonaws.com`. + """ + event_name: str | None = ... + """ + The name of the event, typically the Amazon Web Services API on which + unusual levels of activity were recorded. + """ + insight_type: str | None = ... + """ + The type of CloudTrail Insights event, which is either + `ApiCallRateInsight` or `ApiErrorRateInsight`. The `ApiCallRateInsight` + Insights type analyzes write-only management API calls that are + aggregated per minute against a baseline API call volume. The + `ApiErrorRateInsight` Insights type analyzes management API calls that + result in error codes. + """ + error_code: str | None = ... + """ + Only returned if `InsightType` parameter was set to + `ApiErrorRateInsight`. + + If returning metrics for the `ApiErrorRateInsight` Insights type, this + is the error to retrieve data for. For example, `AccessDenied`. + """ + timestamps: list[datetime] | None = ... + """ + List of timestamps at intervals corresponding to the specified time + period. + """ + values: list[float] | None = ... + """ + List of values representing the API call rate or error rate at each + timestamp. The number of values is equal to the number of timestamps. + """ + next_token: str | None = ... + """ + Only returned if the full results could not be returned in a single + query. You can set the `NextToken` parameter in the next request to this + value to continue retrieval. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPublicKeysInput(_SerdeShape): + """Requests the public keys for a specified time range.""" + + start_time: datetime | None = ... + """ + Optionally specifies, in UTC, the start of the time range to look up + public keys for CloudTrail digest files. If not specified, the current + time is used, and the current public key is returned. + """ + end_time: datetime | None = ... + """ + Optionally specifies, in UTC, the end of the time range to look up + public keys for CloudTrail digest files. If not specified, the current + time is used. + """ + next_token: str | None = ... + """Reserved for future use.""" + +@dataclass(kw_only=True) +class ListPublicKeysOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + public_key_list: list[PublicKey] | None = ... + """ + Contains an array of PublicKey objects. + + Note: + The returned public keys may have validity time ranges that overlap. + """ + next_token: str | None = ... + """Reserved for future use.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListQueriesInput(_SerdeShape): + """Dataclass for ListQueriesInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or the ID suffix of the ARN) of an event data store on which + queries were run. + """ + next_token: str | None = ... + """A token you can use to get the next page of results.""" + max_results: int | None = ... + """The maximum number of queries to show on a page.""" + start_time: datetime | None = ... + """ + Use with `EndTime` to bound a `ListQueries` request, and limit its + results to only those queries run within a specified time period. + """ + end_time: datetime | None = ... + """ + Use with `StartTime` to bound a `ListQueries` request, and limit its + results to only those queries run within a specified time period. + """ + query_status: str | None = ... + """ + The status of queries that you want to return in results. Valid values + for `QueryStatus` include `QUEUED`, `RUNNING`, `FINISHED`, `FAILED`, + `TIMED_OUT`, or `CANCELLED`. + """ + +@dataclass(kw_only=True) +class ListQueriesOutput(_SerdeShape): + """Dataclass for ListQueriesOutput structure.""" + + queries: list[Query] | None = ... + """ + Lists matching query results, and shows query ID, status, and creation + time of each query. + """ + next_token: str | None = ... + """A token you can use to get the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsInput(_SerdeShape): + """Specifies a list of tags to return.""" + + resource_id_list: list[str] | None = ... + """ + Specifies a list of trail, event data store, dashboard, or channel ARNs + whose tags will be listed. The list has a limit of 20 ARNs. + + Example trail ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + + Example event data store ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + Example dashboard ARN format: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + Example channel ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + next_token: str | None = ... + """Reserved for future use.""" + +@dataclass(kw_only=True) +class ListTagsOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + resource_tag_list: list[ResourceTag] | None = ... + """A list of resource tags.""" + next_token: str | None = ... + """Reserved for future use.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTrailsInput(_SerdeShape): + """Dataclass for ListTrailsInput structure.""" + + next_token: str | None = ... + """ + The token to use to get the next page of results after a previous API + call. This token must be passed in with the same parameters that were + specified in the original call. For example, if the original call + specified an AttributeKey of 'Username' with a value of 'root', the + call with NextToken should include those same parameters. + """ + +@dataclass(kw_only=True) +class ListTrailsOutput(_SerdeShape): + """Dataclass for ListTrailsOutput structure.""" + + trails: list[TrailInfo] | None = ... + """Returns the name, ARN, and home Region of trails in the current account.""" + next_token: str | None = ... + """ + The token to use to get the next page of results after a previous API + call. If the token does not appear, there are no more results to return. + The token must be passed in with the same parameters as the previous + call. For example, if the original call specified an AttributeKey of + 'Username' with a value of 'root', the call with NextToken should + include those same parameters. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LookupAttribute(_SerdeShape): + """Specifies an attribute and value that filter the events returned.""" + + attribute_key: str + """Specifies an attribute on which to filter the events returned.""" + attribute_value: str + """ + Specifies a value for the specified `AttributeKey`. + + The maximum length for the `AttributeValue` is 2000 characters. The + following characters ('`_`', '` `', '`,`', '`\\n`') count as two + characters towards the 2000 character limit. + """ + +class LookupAttributeKey(UnknownEnumMixin, StrEnum): + EVENT_ID = "EventId" + EVENT_NAME = "EventName" + READ_ONLY = "ReadOnly" + USERNAME = "Username" + RESOURCE_TYPE = "ResourceType" + RESOURCE_NAME = "ResourceName" + EVENT_SOURCE = "EventSource" + ACCESS_KEY_ID = "AccessKeyId" + +@dataclass(kw_only=True) +class LookupEventsInput(_SerdeShape): + """Contains a request for LookupEvents.""" + + lookup_attributes: list[LookupAttribute] | None = ... + """ + Contains a list of lookup attributes. Currently the list can contain + only one item. + """ + start_time: datetime | None = ... + """ + Specifies that only events that occur after or at the specified time are + returned. If the specified start time is after the specified end time, + an error is returned. + """ + end_time: datetime | None = ... + """ + Specifies that only events that occur before or at the specified time + are returned. If the specified end time is before the specified start + time, an error is returned. + """ + event_category: str | None = ... + """ + Specifies the event category. If you do not specify an event category, + events of the category are not returned in the response. For example, if + you do not specify `insight` as the value of `EventCategory`, no + Insights events are returned. + """ + max_results: int | None = ... + """ + The number of events to return. Possible values are 1 through 50. The + default is 50. + """ + next_token: str | None = ... + """ + The token to use to get the next page of results after a previous API + call. This token must be passed in with the same parameters that were + specified in the original call. For example, if the original call + specified an AttributeKey of 'Username' with a value of 'root', the + call with NextToken should include those same parameters. + """ + +@dataclass(kw_only=True) +class LookupEventsOutput(_SerdeShape): + """Contains a response to a LookupEvents action.""" + + events: list[Event] | None = ... + """ + A list of events returned based on the lookup attributes specified and + the CloudTrail event. The events list is sorted by time. The most recent + event is listed first. + """ + next_token: str | None = ... + """ + The token to use to get the next page of results after a previous API + call. If the token does not appear, there are no more results to return. + The token must be passed in with the same parameters as the previous + call. For example, if the original call specified an AttributeKey of + 'Username' with a value of 'root', the call with NextToken should + include those same parameters. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class MaxConcurrentQueriesException(ServiceError, _SerdeShape): + """ + You are already running the maximum number of concurrent queries. The + maximum number of concurrent queries is 10. Wait a minute for some + queries to finish, and then run the query again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class MaxEventSize(UnknownEnumMixin, StrEnum): + STANDARD = "Standard" + LARGE = "Large" + +@dataclass(kw_only=True) +class MaximumNumberOfTrailsExceededException(ServiceError, _SerdeShape): + """This exception is thrown when the maximum number of trails is reached.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoManagementAccountSLRExistsException(ServiceError, _SerdeShape): + """ + This exception is thrown when the management account does not have a + service-linked role. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NotOrganizationManagementAccountException(ServiceError, _SerdeShape): + """ + This exception is thrown when the account making the request is not the + organization's management account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NotOrganizationMasterAccountException(ServiceError, _SerdeShape): + """ + This exception is thrown when the Amazon Web Services account making the + request to create or update an organization trail or event data store is + not the management account for an organization in Organizations. For + more information, see [Prepare For Creating a Trail For Your + Organization](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) + or [Organization event data + stores](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OperationNotPermittedException(ServiceError, _SerdeShape): + """This exception is thrown when the requested operation is not permitted.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OrganizationNotInAllFeaturesModeException(ServiceError, _SerdeShape): + """ + This exception is thrown when Organizations is not configured to support + all features. All features must be enabled in Organizations to support + creating an organization trail or event data store. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OrganizationsNotInUseException(ServiceError, _SerdeShape): + """ + This exception is thrown when the request is made from an Amazon Web + Services account that is not a member of an organization. To make this + request, sign in using the credentials of an account that belongs to an + organization. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PartitionKey(_SerdeShape): + """Contains information about a partition key for an event data store.""" + + name: str + """The name of the partition key.""" + type: str + """The data type of the partition key. For example, `bigint` or `string`.""" + +@dataclass(kw_only=True) +class PublicKey(_SerdeShape): + """Contains information about a returned public key.""" + + value: bytes | None = ... + """The DER encoded public key value in PKCS#1 format.""" + validity_start_time: datetime | None = ... + """The starting time of validity of the public key.""" + validity_end_time: datetime | None = ... + """The ending time of validity of the public key.""" + fingerprint: str | None = ... + """The fingerprint of the public key.""" + +@dataclass(kw_only=True) +class PutEventConfigurationInput(_SerdeShape): + """Dataclass for PutEventConfigurationInput structure.""" + + trail_name: str | None = ... + """ + The name of the trail for which you want to update event configuration + settings. + """ + event_data_store: str | None = ... + """ + The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data + store for which event configuration settings are updated. + """ + max_event_size: str | None = ... + """ + The maximum allowed size for events to be stored in the specified event + data store. If you are using context key selectors, MaxEventSize must be + set to Large. + """ + context_key_selectors: list[ContextKeySelector] | None = ... + """ + A list of context key selectors that will be included to provide + enriched event data. + """ + aggregation_configurations: list[AggregationConfiguration] | None = ... + """ + The list of aggregation configurations that you want to configure for + the trail. + """ + +@dataclass(kw_only=True) +class PutEventConfigurationOutput(_SerdeShape): + """Dataclass for PutEventConfigurationOutput structure.""" + + trail_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the trail that has aggregation + enabled. + """ + event_data_store_arn: str | None = ... + """ + The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data + store for which the event configuration settings were updated. + """ + max_event_size: str | None = ... + """ + The maximum allowed size for events stored in the specified event data + store. + """ + context_key_selectors: list[ContextKeySelector] | None = ... + """ + The list of context key selectors that are configured for the event data + store. + """ + aggregation_configurations: list[AggregationConfiguration] | None = ... + """A list of aggregation configurations that are configured for the trail.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutEventSelectorsInput(_SerdeShape): + """Dataclass for PutEventSelectorsInput structure.""" + + trail_name: str | None = ... + """ + Specifies the name of the trail or trail ARN. If you specify a trail + name, the string must meet the following requirements: + + - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), + underscores (_), or dashes (-) + + - Start with a letter or number, and end with a letter or number + + - Be between 3 and 128 characters + + - Have no adjacent periods, underscores or dashes. Names like + `my-_namespace` and `my--namespace` are not valid. + + - Not be in IP address format (for example, 192.168.5.4) + + If you specify a trail ARN, it must be in the following format. + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + event_selectors: list[EventSelector] | None = ... + """ + Specifies the settings for your event selectors. You can use event + selectors to log management events and data events for the following + resource types: + + - `AWS::DynamoDB::Table` + + - `AWS::Lambda::Function` + + - `AWS::S3::Object` + + You can't use event selectors to log network activity events. + + You can configure up to five event selectors for a trail. You can use + either `EventSelectors` or `AdvancedEventSelectors` in a + `PutEventSelectors` request, but not both. If you apply `EventSelectors` + to a trail, any existing `AdvancedEventSelectors` are overwritten. + """ + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """ + Specifies the settings for advanced event selectors. You can use + advanced event selectors to log management events, data events for all + resource types, and network activity events. + + You can add advanced event selectors, and conditions for your advanced + event selectors, up to a maximum of 500 values for all conditions and + selectors on a trail. You can use either `AdvancedEventSelectors` or + `EventSelectors`, but not both. If you apply `AdvancedEventSelectors` to + a trail, any existing `EventSelectors` are overwritten. For more + information about advanced event selectors, see [Logging data + events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) + and [Logging network activity + events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html) + in the *CloudTrail User Guide*. + """ + +@dataclass(kw_only=True) +class PutEventSelectorsOutput(_SerdeShape): + """Dataclass for PutEventSelectorsOutput structure.""" + + trail_arn: str | None = ... + """ + Specifies the ARN of the trail that was updated with event selectors. + The following is the format of a trail ARN. + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + event_selectors: list[EventSelector] | None = ... + """Specifies the event selectors configured for your trail.""" + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """Specifies the advanced event selectors configured for your trail.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutInsightSelectorsInput(_SerdeShape): + """Dataclass for PutInsightSelectorsInput structure.""" + + trail_name: str | None = ... + """ + The name of the CloudTrail trail for which you want to change or add + Insights selectors. + + You cannot use this parameter with the `EventDataStore` and + `InsightsDestination` parameters. + """ + insight_selectors: list[InsightSelector] | None = ... + """ + Contains the Insights types you want to log on a specific category of + events on a trail or event data store. `ApiCallRateInsight` and + `ApiErrorRateInsight` are valid Insight types.The EventCategory field + can specify `Management` or `Data` events or both. For event data store, + you can log Insights for management events only. + + The `ApiCallRateInsight` Insights type analyzes write-only management + API calls or read and write data API calls that are aggregated per + minute against a baseline API call volume. + + The `ApiErrorRateInsight` Insights type analyzes management and data API + calls that result in error codes. The error is shown if the API call is + unsuccessful. + """ + event_data_store: str | None = ... + """ + The ARN (or ID suffix of the ARN) of the source event data store for + which you want to change or add Insights selectors. To enable Insights + on an event data store, you must provide both the `EventDataStore` and + `InsightsDestination` parameters. + + You cannot use this parameter with the `TrailName` parameter. + """ + insights_destination: str | None = ... + """ + The ARN (or ID suffix of the ARN) of the destination event data store + that logs Insights events. To enable Insights on an event data store, + you must provide both the `EventDataStore` and `InsightsDestination` + parameters. + + You cannot use this parameter with the `TrailName` parameter. + """ + +@dataclass(kw_only=True) +class PutInsightSelectorsOutput(_SerdeShape): + """Dataclass for PutInsightSelectorsOutput structure.""" + + trail_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a trail for which you want to change + or add Insights selectors. + """ + insight_selectors: list[InsightSelector] | None = ... + """ + Contains the Insights types you want to log on a specific category of + events in a trail or event data store. `ApiCallRateInsight` and + `ApiErrorRateInsight` are valid Insight types.The EventCategory field + can specify `Management` or `Data` events or both. For event data store, + you can only log Insights for management events only. + """ + event_data_store_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the source event data store for which + you want to change or add Insights selectors. + """ + insights_destination: str | None = ... + """The ARN of the destination event data store that logs Insights events.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyInput(_SerdeShape): + """Dataclass for PutResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudTrail event data store, + dashboard, or channel attached to the resource-based policy. + + Example event data store ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + Example dashboard ARN format: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + Example channel ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + resource_policy: str | None = ... + """ + A JSON-formatted string for an Amazon Web Services resource-based + policy. + + For example resource-based policies, see [CloudTrail resource-based + policy + examples](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/security_iam_resource-based-policy-examples.html) + in the *CloudTrail User Guide*. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyOutput(_SerdeShape): + """Dataclass for PutResourcePolicyOutput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudTrail event data store, + dashboard, or channel attached to the resource-based policy. + + Example event data store ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + Example dashboard ARN format: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + Example channel ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + resource_policy: str | None = ... + """ + The JSON-formatted string of the Amazon Web Services resource-based + policy attached to the CloudTrail event data store, dashboard, or + channel. + """ + delegated_admin_resource_policy: str | None = ... + """ + The default resource-based policy that is automatically generated for + the delegated administrator of an Organizations organization. This + policy will be evaluated in tandem with any policy you submit for the + resource. For more information about this policy, see [Default resource + policy for delegated + administrators](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html#cloudtrail-lake-organizations-eds-rbp). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Query(_SerdeShape): + """ + A SQL string of criteria about events that you want to collect in an + event data store. + """ + + query_id: str | None = ... + """The ID of a query.""" + query_status: str | None = ... + """ + The status of the query. This can be `QUEUED`, `RUNNING`, `FINISHED`, + `FAILED`, `TIMED_OUT`, or `CANCELLED`. + """ + creation_time: datetime | None = ... + """The creation time of a query.""" + +@dataclass(kw_only=True) +class QueryIdNotFoundException(ServiceError, _SerdeShape): + """The query ID does not exist or does not map to a query.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class QueryStatistics(_SerdeShape): + """Metadata about a query, such as the number of results.""" + + results_count: int | None = ... + """The number of results returned.""" + total_results_count: int | None = ... + """The total number of results returned by a query.""" + bytes_scanned: int | None = ... + """ + The total bytes that the query scanned in the event data store. This + value matches the number of bytes for which your account is billed for + the query, unless the query is still running. + """ + +@dataclass(kw_only=True) +class QueryStatisticsForDescribeQuery(_SerdeShape): + """ + Gets metadata about a query, including the number of events that were + matched, the total number of events scanned, the query run time in + milliseconds, and the query's creation time. + """ + + events_matched: int | None = ... + """The number of events that matched a query.""" + events_scanned: int | None = ... + """The number of events that the query scanned in the event data store.""" + bytes_scanned: int | None = ... + """ + The total bytes that the query scanned in the event data store. This + value matches the number of bytes for which your account is billed for + the query, unless the query is still running. + """ + execution_time_in_millis: int | None = ... + """The query's run time, in milliseconds.""" + creation_time: datetime | None = ... + """The creation time of the query.""" + +class QueryStatus(UnknownEnumMixin, StrEnum): + QUEUED = "QUEUED" + RUNNING = "RUNNING" + FINISHED = "FINISHED" + FAILED = "FAILED" + CANCELLED = "CANCELLED" + TIMED_OUT = "TIMED_OUT" + +class ReadWriteType(UnknownEnumMixin, StrEnum): + READ_ONLY = "ReadOnly" + WRITE_ONLY = "WriteOnly" + ALL = "All" + +@dataclass(kw_only=True) +class RefreshSchedule(_SerdeShape): + """The schedule for a dashboard refresh.""" + + frequency: RefreshScheduleFrequency | None = ... + """The frequency at which you want the dashboard refreshed.""" + status: str | None = ... + """ + Specifies whether the refresh schedule is enabled. Set the value to + `ENABLED` to enable the refresh schedule, or to `DISABLED` to turn off + the refresh schedule. + """ + time_of_day: str | None = ... + """ + The time of day in UTC to run the schedule; for hourly only refer to + minutes; default is 00:00. + """ + +@dataclass(kw_only=True) +class RefreshScheduleFrequency(_SerdeShape): + """ + Specifies the frequency for a dashboard refresh schedule. + + For a custom dashboard, you can schedule a refresh for every 1, 6, 12, + or 24 hours, or every day. + """ + + unit: str | None = ... + """ + The unit to use for the refresh. + + For custom dashboards, the unit can be `HOURS` or `DAYS`. + + For the Highlights dashboard, the `Unit` must be `HOURS`. + """ + value: int | None = ... + """ + The value for the refresh schedule. + + For custom dashboards, the following values are valid when the unit is + `HOURS`: `1`, `6`, `12`, `24` + + For custom dashboards, the only valid value when the unit is `DAYS` is + `1`. + + For the Highlights dashboard, the `Value` must be `6`. + """ + +class RefreshScheduleFrequencyUnit(UnknownEnumMixin, StrEnum): + HOURS = "HOURS" + DAYS = "DAYS" + +class RefreshScheduleStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class RegisterOrganizationDelegatedAdminInput(_SerdeShape): + """ + Specifies an organization member account ID as a CloudTrail delegated + administrator. + """ + + member_account_id: str | None = ... + """ + An organization member account ID that you want to designate as a + delegated administrator. + """ + +@dataclass(kw_only=True) +class RegisterOrganizationDelegatedAdminOutput(_SerdeShape): + """ + Returns the following response if successful. Otherwise, returns an + error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveTagsInput(_SerdeShape): + """ + Specifies the tags to remove from a trail, event data store, dashboard, + or channel. + """ + + resource_id: str | None = ... + """ + Specifies the ARN of the trail, event data store, dashboard, or channel + from which tags should be removed. + + Example trail ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + + Example event data store ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + Example dashboard ARN format: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + Example channel ARN format: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + tags_list: list[Tag] | None = ... + """Specifies a list of tags to be removed.""" + +@dataclass(kw_only=True) +class RemoveTagsOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RequestWidget(_SerdeShape): + """Contains information about a widget on a CloudTrail Lake dashboard.""" + + query_statement: str + """ + The query statement for the widget. For custom dashboard widgets, you + can query across multiple event data stores as long as all event data + stores exist in your account. + + Note: + When a query uses `?` with `eventTime`, `?` must be surrounded by single + quotes as follows: `'?'`. + """ + query_parameters: list[str] | None = ... + """ + The optional query parameters. The following query parameters are valid: + `$StartTime$`, `$EndTime$`, and `$Period$`. + """ + view_properties: dict[str, str] + """ + The view properties for the widget. For more information about view + properties, see [View properties for + widgets](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-widget-properties.html) + in the *CloudTrail User Guide*. + """ + +@dataclass(kw_only=True) +class Resource(_SerdeShape): + """Specifies the type and name of a resource referenced by an event.""" + + resource_type: str | None = ... + """ + The type of a resource referenced by the event returned. When the + resource type cannot be determined, null is returned. Some examples of + resource types are: **Instance** for EC2, **Trail** for CloudTrail, + **DBInstance** for Amazon RDS, and **AccessKey** for IAM. To learn more + about how to look up and filter events by the resource types supported + for a service, see [Filtering CloudTrail + Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events). + """ + resource_name: str | None = ... + """ + The name of the resource referenced by the event returned. These are + user-created names whose values will depend on the environment. For + example, the resource name might be \"auto-scaling-test-group\" for an + Auto Scaling Group or \"i-1234567\" for an EC2 Instance. + """ + +@dataclass(kw_only=True) +class ResourceARNNotValidException(ServiceError, _SerdeShape): + """ + This exception is thrown when the provided resource does not exist, or + the ARN format of the resource is not valid. + + The following is the format of an event data store ARN: + `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` + + The following is the format of a dashboard ARN: + `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` + + The following is the format of a channel ARN: + `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """This exception is thrown when the specified resource is not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourcePolicyNotFoundException(ServiceError, _SerdeShape): + """ + This exception is thrown when the specified resource policy is not + found. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourcePolicyNotValidException(ServiceError, _SerdeShape): + """ + This exception is thrown when the resouce-based policy has syntax + errors, or contains a principal that is not valid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceTag(_SerdeShape): + """A resource tag.""" + + resource_id: str | None = ... + """Specifies the ARN of the resource.""" + tags_list: list[Tag] | None = ... + """A list of tags.""" + +@dataclass(kw_only=True) +class ResourceTypeNotSupportedException(ServiceError, _SerdeShape): + """ + This exception is thrown when the specified resource type is not + supported by CloudTrail. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreEventDataStoreInput(_SerdeShape): + """Dataclass for RestoreEventDataStoreInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or the ID suffix of the ARN) of the event data store that you + want to restore. + """ + +@dataclass(kw_only=True) +class RestoreEventDataStoreOutput(_SerdeShape): + """Dataclass for RestoreEventDataStoreOutput structure.""" + + event_data_store_arn: str | None = ... + """The event data store ARN.""" + name: str | None = ... + """The name of the event data store.""" + status: str | None = ... + """The status of the event data store.""" + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """The advanced event selectors that were used to select events.""" + multi_region_enabled: bool | None = ... + """ + Indicates whether the event data store is collecting events from all + Regions, or only from the Region in which the event data store was + created. + """ + organization_enabled: bool | None = ... + """ + Indicates whether an event data store is collecting logged events for an + organization in Organizations. + """ + retention_period: int | None = ... + """The retention period, in days.""" + termination_protection_enabled: bool | None = ... + """ + Indicates that termination protection is enabled and the event data + store cannot be automatically deleted. + """ + created_timestamp: datetime | None = ... + """The timestamp of an event data store's creation.""" + updated_timestamp: datetime | None = ... + """ + The timestamp that shows when an event data store was updated, if + applicable. `UpdatedTimestamp` is always either the same or newer than + the time shown in `CreatedTimestamp`. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID that encrypts the events delivered by + CloudTrail. The value is a fully specified ARN to a KMS key in the + following format. + + `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + """ + billing_mode: str | None = ... + """The billing mode for the event data store.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class S3BucketDoesNotExistException(ServiceError, _SerdeShape): + """This exception is thrown when the specified S3 bucket does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class S3ImportSource(_SerdeShape): + """The settings for the source S3 bucket.""" + + s3_location_uri: str + """The URI for the source S3 bucket.""" + s3_bucket_region: str + """The Region associated with the source S3 bucket.""" + s3_bucket_access_role_arn: str + """The IAM ARN role used to access the source S3 bucket.""" + +@dataclass(kw_only=True) +class SearchSampleQueriesInput(_SerdeShape): + """Dataclass for SearchSampleQueriesInput structure.""" + + search_phrase: str | None = ... + """ + The natural language phrase to use for the semantic search. The phrase + must be in English. The length constraint is in characters, not words. + """ + max_results: int | None = ... + """ + The maximum number of results to return on a single page. The default + value is 10. + """ + next_token: str | None = ... + """ + A token you can use to get the next page of results. The length + constraint is in characters, not words. + """ + +@dataclass(kw_only=True) +class SearchSampleQueriesOutput(_SerdeShape): + """Dataclass for SearchSampleQueriesOutput structure.""" + + search_results: list[SearchSampleQueriesSearchResult] | None = ... + """ + A list of objects containing the search results ordered from most + relevant to least relevant. + """ + next_token: str | None = ... + """A token you can use to get the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SearchSampleQueriesSearchResult(_SerdeShape): + """A search result returned by the `SearchSampleQueries` operation.""" + + name: str | None = ... + """The name of a sample query.""" + description: str | None = ... + """A longer description of a sample query.""" + sql: str | None = ... + """The SQL code of the sample query.""" + relevance: float = ... + """ + A value between 0 and 1 indicating the similarity between the search + phrase and result. + """ + +@dataclass(kw_only=True) +class ServiceQuotaExceededException(ServiceError, _SerdeShape): + """ + This exception is thrown when the quota is exceeded. For information + about CloudTrail quotas, see [Service + quotas](https://docs.aws.amazon.com/general/latest/gr/ct.html#limits_cloudtrail) + in the *Amazon Web Services General Reference*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SourceConfig(_SerdeShape): + """Contains configuration information about the channel.""" + + apply_to_all_regions: bool | None = ... + """ + Specifies whether the channel applies to a single Region or to all + Regions. + """ + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """The advanced event selectors that are configured for the channel.""" + +class SourceEventCategory(UnknownEnumMixin, StrEnum): + MANAGEMENT = "Management" + DATA = "Data" + +@dataclass(kw_only=True) +class StartDashboardRefreshInput(_SerdeShape): + """Dataclass for StartDashboardRefreshInput structure.""" + + dashboard_id: str | None = ... + """The name or ARN of the dashboard.""" + query_parameter_values: dict[str, str] | None = ... + """ + The query parameter values for the dashboard + + For custom dashboards, the following query parameters are valid: + `$StartTime$`, `$EndTime$`, and `$Period$`. + + For managed dashboards, the following query parameters are valid: + `$StartTime$`, `$EndTime$`, `$Period$`, and `$EventDataStoreId$`. The + `$EventDataStoreId$` query parameter is required. + """ + +@dataclass(kw_only=True) +class StartDashboardRefreshOutput(_SerdeShape): + """Dataclass for StartDashboardRefreshOutput structure.""" + + refresh_id: str | None = ... + """The refresh ID for the dashboard.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartEventDataStoreIngestionInput(_SerdeShape): + """Dataclass for StartEventDataStoreIngestionInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or ID suffix of the ARN) of the event data store for which you + want to start ingestion. + """ + +@dataclass(kw_only=True) +class StartEventDataStoreIngestionOutput(_SerdeShape): + """Dataclass for StartEventDataStoreIngestionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartImportInput(_SerdeShape): + """Dataclass for StartImportInput structure.""" + + destinations: list[str] | None = ... + """ + The ARN of the destination event data store. Use this parameter for a + new import. + """ + import_source: ImportSource | None = ... + """ + The source S3 bucket for the import. Use this parameter for a new + import. + """ + start_event_time: datetime | None = ... + """ + Use with `EndEventTime` to bound a `StartImport` request, and limit + imported trail events to only those events logged within a specified + time period. When you specify a time range, CloudTrail checks the prefix + and log file names to verify the names contain a date between the + specified `StartEventTime` and `EndEventTime` before attempting to + import events. + """ + end_event_time: datetime | None = ... + """ + Use with `StartEventTime` to bound a `StartImport` request, and limit + imported trail events to only those events logged within a specified + time period. When you specify a time range, CloudTrail checks the prefix + and log file names to verify the names contain a date between the + specified `StartEventTime` and `EndEventTime` before attempting to + import events. + """ + import_id: str | None = ... + """ + The ID of the import. Use this parameter when you are retrying an + import. + """ + +@dataclass(kw_only=True) +class StartImportOutput(_SerdeShape): + """Dataclass for StartImportOutput structure.""" + + import_id: str | None = ... + """The ID of the import.""" + destinations: list[str] | None = ... + """The ARN of the destination event data store.""" + import_source: ImportSource | None = ... + """The source S3 bucket for the import.""" + start_event_time: datetime | None = ... + """ + Used with `EndEventTime` to bound a `StartImport` request, and limit + imported trail events to only those events logged within a specified + time period. + """ + end_event_time: datetime | None = ... + """ + Used with `StartEventTime` to bound a `StartImport` request, and limit + imported trail events to only those events logged within a specified + time period. + """ + import_status: str | None = ... + """ + Shows the status of the import after a `StartImport` request. An import + finishes with a status of `COMPLETED` if there were no failures, or + `FAILED` if there were failures. + """ + created_timestamp: datetime | None = ... + """The timestamp for the import's creation.""" + updated_timestamp: datetime | None = ... + """The timestamp of the import's last update, if applicable.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartLoggingInput(_SerdeShape): + """ + The request to CloudTrail to start logging Amazon Web Services API calls + for an account. + """ + + name: str | None = ... + """ + Specifies the name or the CloudTrail ARN of the trail for which + CloudTrail logs Amazon Web Services API calls. The following is the + format of a trail ARN. + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + +@dataclass(kw_only=True) +class StartLoggingOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartQueryInput(_SerdeShape): + """Dataclass for StartQueryInput structure.""" + + query_statement: str | None = ... + """The SQL code of your query.""" + delivery_s3_uri: str | None = ... + """The URI for the S3 bucket where CloudTrail delivers the query results.""" + query_alias: str | None = ... + """The alias that identifies a query template.""" + query_parameters: list[str] | None = ... + """The query parameters for the specified `QueryAlias`.""" + event_data_store_owner_account_id: str | None = ... + """The account ID of the event data store owner.""" + +@dataclass(kw_only=True) +class StartQueryOutput(_SerdeShape): + """Dataclass for StartQueryOutput structure.""" + + query_id: str | None = ... + """The ID of the started query.""" + event_data_store_owner_account_id: str | None = ... + """The account ID of the event data store owner.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopEventDataStoreIngestionInput(_SerdeShape): + """Dataclass for StopEventDataStoreIngestionInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or ID suffix of the ARN) of the event data store for which you + want to stop ingestion. + """ + +@dataclass(kw_only=True) +class StopEventDataStoreIngestionOutput(_SerdeShape): + """Dataclass for StopEventDataStoreIngestionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopImportInput(_SerdeShape): + """Dataclass for StopImportInput structure.""" + + import_id: str | None = ... + """The ID of the import.""" + +@dataclass(kw_only=True) +class StopImportOutput(_SerdeShape): + """Dataclass for StopImportOutput structure.""" + + import_id: str | None = ... + """The ID for the import.""" + import_source: ImportSource | None = ... + """The source S3 bucket for the import.""" + destinations: list[str] | None = ... + """The ARN of the destination event data store.""" + import_status: str | None = ... + """The status of the import.""" + created_timestamp: datetime | None = ... + """The timestamp of the import's creation.""" + updated_timestamp: datetime | None = ... + """The timestamp of the import's last update.""" + start_event_time: datetime | None = ... + """ + Used with `EndEventTime` to bound a `StartImport` request, and limit + imported trail events to only those events logged within a specified + time period. + """ + end_event_time: datetime | None = ... + """ + Used with `StartEventTime` to bound a `StartImport` request, and limit + imported trail events to only those events logged within a specified + time period. + """ + import_statistics: ImportStatistics | None = ... + """Returns information on the stopped import.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopLoggingInput(_SerdeShape): + """ + Passes the request to CloudTrail to stop logging Amazon Web Services API + calls for the specified account. + """ + + name: str | None = ... + """ + Specifies the name or the CloudTrail ARN of the trail for which + CloudTrail will stop logging Amazon Web Services API calls. The + following is the format of a trail ARN. + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + +@dataclass(kw_only=True) +class StopLoggingOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """ + A custom key-value pair associated with a resource such as a CloudTrail + trail, event data store, dashboard, or channel. + """ + + key: str + """ + The key in a key-value pair. The key must be must be no longer than 128 + Unicode characters. The key must be unique for the resource to which it + applies. + """ + value: str | None = ... + """ + The value in a key-value pair of a tag. The value must be no longer than + 256 Unicode characters. + """ + +@dataclass(kw_only=True) +class TagsLimitExceededException(ServiceError, _SerdeShape): + """ + The number of tags per trail, event data store, dashboard, or channel + has exceeded the permitted amount. Currently, the limit is 50. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class Template(UnknownEnumMixin, StrEnum): + """ + Specifies the type of the aggregation templates in the aggregation + configuration. Valid values include API_ACTIVITY, RESOURCE_ACCESS and + USER_ACTIONS. + """ + + API_ACTIVITY = "API_ACTIVITY" + RESOURCE_ACCESS = "RESOURCE_ACCESS" + USER_ACTIONS = "USER_ACTIONS" + +@dataclass(kw_only=True) +class ThrottlingException(ServiceError, _SerdeShape): + """This exception is thrown when the request rate exceeds the limit.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Trail(_SerdeShape): + """The settings for a trail.""" + + name: str | None = ... + """ + Name of the trail set by calling CreateTrail. The maximum length is 128 + characters. + """ + s3_bucket_name: str | None = ... + """ + Name of the Amazon S3 bucket into which CloudTrail delivers your trail + files. See [Amazon S3 Bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). + """ + s3_key_prefix: str | None = ... + """ + Specifies the Amazon S3 key prefix that comes after the name of the + bucket you have designated for log file delivery. For more information, + see [Finding Your CloudTrail Log + Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). + The maximum length is 200 characters. + """ + sns_topic_name: str | None = ... + """This field is no longer in use. Use `SnsTopicARN`.""" + sns_topic_arn: str | None = ... + """ + Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send + notifications when log files are delivered. The following is the format + of a topic ARN. + + `arn:aws:sns:us-east-2:123456789012:MyTopic` + """ + include_global_service_events: bool | None = ... + """ + Set to **True** to include Amazon Web Services API calls from Amazon Web + Services global services such as IAM. Otherwise, **False**. Setting this + value to `true` only delivers global service events to the trail if the + trail is multi-Region or if the trail's home Region is the partition + leader Region (for example, us-east-1). + """ + is_multi_region_trail: bool | None = ... + """ + Specifies whether the trail exists only in one Region or exists in all + Regions. + """ + home_region: str | None = ... + """The Region in which the trail was created.""" + trail_arn: str | None = ... + """ + Specifies the ARN of the trail. The following is the format of a trail + ARN. + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + log_file_validation_enabled: bool | None = ... + """Specifies whether log file validation is enabled.""" + cloud_watch_logs_log_group_arn: str | None = ... + """ + Specifies an Amazon Resource Name (ARN), a unique identifier that + represents the log group to which CloudTrail logs will be delivered. + """ + cloud_watch_logs_role_arn: str | None = ... + """ + Specifies the role for the CloudWatch Logs endpoint to assume to write + to a user's log group. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID that encrypts the logs and digest files + delivered by CloudTrail. The value is a fully specified ARN to a KMS key + in the following format. + + `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + """ + has_custom_event_selectors: bool | None = ... + """Specifies if the trail has custom event selectors.""" + has_insight_selectors: bool | None = ... + """ + Specifies whether a trail has insight types specified in an + `InsightSelector` list. + """ + is_organization_trail: bool | None = ... + """Specifies whether the trail is an organization trail.""" + recursive_logging: bool | None = ... + """ + Specifies whether recursive logging is enabled for the trail. If you set + `RecursiveLogging` to `false`, CloudTrail suppresses events generated by + CloudTrail when it delivers log files to your trail's destinations, + including Amazon S3 and CloudWatch Logs. The default value is `true`. + """ diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/models_1.pyi b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/models_1.pyi new file mode 100644 index 000000000..49aa72aa9 --- /dev/null +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/models_1.pyi @@ -0,0 +1,601 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AdvancedEventSelector, + Destination, + RefreshSchedule, + RequestWidget, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class TrailAlreadyExistsException(ServiceError, _SerdeShape): + """This exception is thrown when the specified trail already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TrailInfo(_SerdeShape): + """ + Information about a CloudTrail trail, including the trail's name, home + Region, and Amazon Resource Name (ARN). + """ + + trail_arn: str | None = ... + """The ARN of a trail.""" + name: str | None = ... + """The name of a trail.""" + home_region: str | None = ... + """The Amazon Web Services Region in which a trail was created.""" + +@dataclass(kw_only=True) +class TrailNotFoundException(ServiceError, _SerdeShape): + """ + This exception is thrown when the trail with the given name is not + found. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TrailNotProvidedException(ServiceError, _SerdeShape): + """This exception is no longer in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class Type(UnknownEnumMixin, StrEnum): + TAG_CONTEXT = "TagContext" + REQUEST_CONTEXT = "RequestContext" + +@dataclass(kw_only=True) +class UnsupportedOperationException(ServiceError, _SerdeShape): + """This exception is thrown when the requested operation is not supported.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateChannelInput(_SerdeShape): + """Dataclass for UpdateChannelInput structure.""" + + channel: str | None = ... + """The ARN or ID (the ARN suffix) of the channel that you want to update.""" + destinations: list[Destination] | None = ... + """ + The ARNs of event data stores that you want to log events arriving + through the channel. + """ + name: str | None = ... + """Changes the name of the channel.""" + +@dataclass(kw_only=True) +class UpdateChannelOutput(_SerdeShape): + """Dataclass for UpdateChannelOutput structure.""" + + channel_arn: str | None = ... + """The ARN of the channel that was updated.""" + name: str | None = ... + """The name of the channel that was updated.""" + source: str | None = ... + """The event source of the channel that was updated.""" + destinations: list[Destination] | None = ... + """The event data stores that log events arriving through the channel.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDashboardInput(_SerdeShape): + """Dataclass for UpdateDashboardInput structure.""" + + dashboard_id: str | None = ... + """The name or ARN of the dashboard.""" + widgets: list[RequestWidget] | None = ... + """ + An array of widgets for the dashboard. A custom dashboard can have a + maximum of 10 widgets. + + To add new widgets, pass in an array that includes the existing widgets + along with any new widgets. Run the `GetDashboard` operation to get the + list of widgets for the dashboard. + + To remove widgets, pass in an array that includes the existing widgets + minus the widgets you want removed. + """ + refresh_schedule: RefreshSchedule | None = ... + """The refresh schedule configuration for the dashboard.""" + termination_protection_enabled: bool | None = ... + """ + Specifies whether termination protection is enabled for the dashboard. + If termination protection is enabled, you cannot delete the dashboard + until termination protection is disabled. + """ + +@dataclass(kw_only=True) +class UpdateDashboardOutput(_SerdeShape): + """Dataclass for UpdateDashboardOutput structure.""" + + dashboard_arn: str | None = ... + """The ARN for the dashboard.""" + name: str | None = ... + """The name for the dashboard.""" + type: str | None = ... + """The type of dashboard.""" + widgets: list[Widget] | None = ... + """An array of widgets for the dashboard.""" + refresh_schedule: RefreshSchedule | None = ... + """The refresh schedule for the dashboard, if configured.""" + termination_protection_enabled: bool | None = ... + """Indicates whether termination protection is enabled for the dashboard.""" + created_timestamp: datetime | None = ... + """The timestamp that shows when the dashboard was created.""" + updated_timestamp: datetime | None = ... + """The timestamp that shows when the dashboard was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateEventDataStoreInput(_SerdeShape): + """Dataclass for UpdateEventDataStoreInput structure.""" + + event_data_store: str | None = ... + """ + The ARN (or the ID suffix of the ARN) of the event data store that you + want to update. + """ + name: str | None = ... + """The event data store name.""" + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """ + The advanced event selectors used to select events for the event data + store. You can configure up to five advanced event selectors for each + event data store. + """ + multi_region_enabled: bool | None = ... + """ + Specifies whether an event data store collects events from all Regions, + or only from the Region in which it was created. + """ + organization_enabled: bool | None = ... + """ + Specifies whether an event data store collects events logged for an + organization in Organizations. + + Note: + Only the management account for the organization can convert an + organization event data store to a non-organization event data store, or + convert a non-organization event data store to an organization event + data store. + """ + retention_period: int | None = ... + """ + The retention period of the event data store, in days. If `BillingMode` + is set to `EXTENDABLE_RETENTION_PRICING`, you can set a retention period + of up to 3653 days, the equivalent of 10 years. If `BillingMode` is set + to `FIXED_RETENTION_PRICING`, you can set a retention period of up to + 2557 days, the equivalent of seven years. + + CloudTrail Lake determines whether to retain an event by checking if the + `eventTime` of the event is within the specified retention period. For + example, if you set a retention period of 90 days, CloudTrail will + remove events when the `eventTime` is older than 90 days. + + Note: + If you decrease the retention period of an event data store, CloudTrail + will remove any events with an `eventTime` older than the new retention + period. For example, if the previous retention period was 365 days and + you decrease it to 100 days, CloudTrail will remove events with an + `eventTime` older than 100 days. + """ + termination_protection_enabled: bool | None = ... + """ + Indicates that termination protection is enabled and the event data + store cannot be automatically deleted. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID to use to encrypt the events delivered by + CloudTrail. The value can be an alias name prefixed by `alias/`, a fully + specified ARN to an alias, a fully specified ARN to a key, or a globally + unique identifier. + + Warning: + Disabling or deleting the KMS key, or removing CloudTrail permissions on + the key, prevents CloudTrail from logging events to the event data + store, and prevents users from querying the data in the event data store + that was encrypted with the key. After you associate an event data store + with a KMS key, the KMS key cannot be removed or changed. Before you + disable or delete a KMS key that you are using with an event data store, + delete or back up your event data store. + + CloudTrail also supports KMS multi-Region keys. For more information + about multi-Region keys, see [Using multi-Region + keys](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) + in the *Key Management Service Developer Guide*. + + Examples: + + - `alias/MyAliasName` + + - `arn:aws:kms:us-east-2:123456789012:alias/MyAliasName` + + - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + + - `12345678-1234-1234-1234-123456789012` + """ + billing_mode: str | None = ... + """ + Note: + You can't change the billing mode from `EXTENDABLE_RETENTION_PRICING` + to `FIXED_RETENTION_PRICING`. If `BillingMode` is set to + `EXTENDABLE_RETENTION_PRICING` and you want to use + `FIXED_RETENTION_PRICING` instead, you'll need to stop ingestion on the + event data store and create a new event data store that uses + `FIXED_RETENTION_PRICING`. + + The billing mode for the event data store determines the cost for + ingesting events and the default and maximum retention period for the + event data store. + + The following are the possible values: + + - `EXTENDABLE_RETENTION_PRICING` - This billing mode is generally + recommended if you want a flexible retention period of up to 3653 days + (about 10 years). The default retention period for this billing mode + is 366 days. + + - `FIXED_RETENTION_PRICING` - This billing mode is recommended if you + expect to ingest more than 25 TB of event data per month and need a + retention period of up to 2557 days (about 7 years). The default + retention period for this billing mode is 2557 days. + + For more information about CloudTrail pricing, see [CloudTrail + Pricing](http://aws.amazon.com/cloudtrail/pricing/) and [Managing + CloudTrail Lake + costs](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html). + """ + +@dataclass(kw_only=True) +class UpdateEventDataStoreOutput(_SerdeShape): + """Dataclass for UpdateEventDataStoreOutput structure.""" + + event_data_store_arn: str | None = ... + """The ARN of the event data store.""" + name: str | None = ... + """The name of the event data store.""" + status: str | None = ... + """The status of an event data store.""" + advanced_event_selectors: list[AdvancedEventSelector] | None = ... + """The advanced event selectors that are applied to the event data store.""" + multi_region_enabled: bool | None = ... + """ + Indicates whether the event data store includes events from all Regions, + or only from the Region in which it was created. + """ + organization_enabled: bool | None = ... + """ + Indicates whether an event data store is collecting logged events for an + organization in Organizations. + """ + retention_period: int | None = ... + """The retention period, in days.""" + termination_protection_enabled: bool | None = ... + """ + Indicates whether termination protection is enabled for the event data + store. + """ + created_timestamp: datetime | None = ... + """The timestamp that shows when an event data store was first created.""" + updated_timestamp: datetime | None = ... + """ + The timestamp that shows when the event data store was last updated. + `UpdatedTimestamp` is always either the same or newer than the time + shown in `CreatedTimestamp`. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID that encrypts the events delivered by + CloudTrail. The value is a fully specified ARN to a KMS key in the + following format. + + `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + """ + billing_mode: str | None = ... + """The billing mode for the event data store.""" + federation_status: str | None = ... + """ + Indicates the [Lake query + federation](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html) + status. The status is `ENABLED` if Lake query federation is enabled, or + `DISABLED` if Lake query federation is disabled. You cannot delete an + event data store if the `FederationStatus` is `ENABLED`. + """ + federation_role_arn: str | None = ... + """ + If Lake query federation is enabled, provides the ARN of the federation + role used to access the resources for the federated event data store. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateTrailInput(_SerdeShape): + """Specifies settings to update for the trail.""" + + name: str | None = ... + """ + Specifies the name of the trail or trail ARN. If `Name` is a trail name, + the string must meet the following requirements: + + - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), + underscores (_), or dashes (-) + + - Start with a letter or number, and end with a letter or number + + - Be between 3 and 128 characters + + - Have no adjacent periods, underscores or dashes. Names like + `my-_namespace` and `my--namespace` are not valid. + + - Not be in IP address format (for example, 192.168.5.4) + + If `Name` is a trail ARN, it must be in the following format. + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + s3_bucket_name: str | None = ... + """ + Specifies the name of the Amazon S3 bucket designated for publishing log + files. See [Amazon S3 Bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). + """ + s3_key_prefix: str | None = ... + """ + Specifies the Amazon S3 key prefix that comes after the name of the + bucket you have designated for log file delivery. For more information, + see [Finding Your CloudTrail Log + Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). + The maximum length is 200 characters. + """ + sns_topic_name: str | None = ... + """ + Specifies the name or ARN of the Amazon SNS topic defined for + notification of log file delivery. The maximum length is 256 characters. + """ + include_global_service_events: bool | None = ... + """ + Specifies whether the trail is publishing events from global services + such as IAM to the log files. Setting this value to `true` only delivers + global service events to the trail if the trail is multi-Region or if + the trail's home Region is the partition leader Region (for example, + us-east-1). + """ + is_multi_region_trail: bool | None = ... + """ + Specifies whether the trail applies only to the current Region or to all + Regions. The default is false. If the trail exists only in the current + Region and this value is set to true, shadow trails (replications of the + trail) will be created in the other Regions. If the trail exists in all + Regions and this value is set to false, the trail will remain in the + Region where it was created, and its shadow trails in other Regions will + be deleted. As a best practice, consider using trails that log events in + all Regions. + """ + enable_log_file_validation: bool | None = ... + """ + Specifies whether log file validation is enabled. The default is false. + + Note: + When you disable log file integrity validation, the chain of digest + files is broken after one hour. CloudTrail does not create digest files + for log files that were delivered during a period in which log file + integrity validation was disabled. For example, if you enable log file + integrity validation at noon on January 1, disable it at noon on January + 2, and re-enable it at noon on January 10, digest files will not be + created for the log files delivered from noon on January 2 to noon on + January 10. The same applies whenever you stop CloudTrail logging or + delete a trail. + """ + cloud_watch_logs_log_group_arn: str | None = ... + """ + Specifies a log group name using an Amazon Resource Name (ARN), a unique + identifier that represents the log group to which CloudTrail logs are + delivered. You must use a log group that exists in your account. + + Not required unless you specify `CloudWatchLogsRoleArn`. + """ + cloud_watch_logs_role_arn: str | None = ... + """ + Specifies the role for the CloudWatch Logs endpoint to assume to write + to a user's log group. You must use a role that exists in your account. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID to use to encrypt the logs and digest files + delivered by CloudTrail. The value can be an alias name prefixed by + \"alias/\", a fully specified ARN to an alias, a fully specified ARN to + a key, or a globally unique identifier. + + CloudTrail also supports KMS multi-Region keys. For more information + about multi-Region keys, see [Using multi-Region + keys](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) + in the *Key Management Service Developer Guide*. + + Examples: + + - alias/MyAliasName + + - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName + + - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 + + - 12345678-1234-1234-1234-123456789012 + """ + is_organization_trail: bool | None = ... + """ + Specifies whether the trail is applied to all accounts in an + organization in Organizations, or only for the current Amazon Web + Services account. The default is false, and cannot be true unless the + call is made on behalf of an Amazon Web Services account that is the + management account for an organization in Organizations. If the trail is + not an organization trail and this is set to `true`, the trail will be + created in all Amazon Web Services accounts that belong to the + organization. If the trail is an organization trail and this is set to + `false`, the trail will remain in the current Amazon Web Services + account but be deleted from all member accounts in the organization. + + Note: + Only the management account for the organization can convert an + organization trail to a non-organization trail, or convert a + non-organization trail to an organization trail. + """ + recursive_logging: bool | None = ... + """ + Specifies whether recursive logging is enabled for the trail. If you set + `RecursiveLogging` to `false`, CloudTrail suppresses events generated by + CloudTrail when it delivers log files to your trail's destinations, + including Amazon S3 and CloudWatch Logs. The default value is `true`. + """ + +@dataclass(kw_only=True) +class UpdateTrailOutput(_SerdeShape): + """ + Returns the objects or data listed below if successful. Otherwise, + returns an error. + """ + + name: str | None = ... + """Specifies the name of the trail.""" + s3_bucket_name: str | None = ... + """ + Specifies the name of the Amazon S3 bucket designated for publishing log + files. + """ + s3_key_prefix: str | None = ... + """ + Specifies the Amazon S3 key prefix that comes after the name of the + bucket you have designated for log file delivery. For more information, + see [Finding Your IAM Log + Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). + """ + sns_topic_name: str | None = ... + """This field is no longer in use. Use `SnsTopicARN`.""" + sns_topic_arn: str | None = ... + """ + Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send + notifications when log files are delivered. The following is the format + of a topic ARN. + + `arn:aws:sns:us-east-2:123456789012:MyTopic` + """ + include_global_service_events: bool | None = ... + """ + Specifies whether the trail is publishing events from global services + such as IAM to the log files. Setting this value to `true` only delivers + global service events to the trail if the trail is multi-Region or if + the trail's home Region is the partition leader Region (for example, + us-east-1). + """ + is_multi_region_trail: bool | None = ... + """Specifies whether the trail exists in one Region or in all Regions.""" + trail_arn: str | None = ... + """ + Specifies the ARN of the trail that was updated. The following is the + format of a trail ARN. + + `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` + """ + log_file_validation_enabled: bool | None = ... + """Specifies whether log file integrity validation is enabled.""" + cloud_watch_logs_log_group_arn: str | None = ... + """ + Specifies the Amazon Resource Name (ARN) of the log group to which + CloudTrail logs are delivered. + """ + cloud_watch_logs_role_arn: str | None = ... + """ + Specifies the role for the CloudWatch Logs endpoint to assume to write + to a user's log group. + """ + kms_key_id: str | None = ... + """ + Specifies the KMS key ID that encrypts the logs and digest files + delivered by CloudTrail. The value is a fully specified ARN to a KMS key + in the following format. + + `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` + """ + is_organization_trail: bool | None = ... + """Specifies whether the trail is an organization trail.""" + recursive_logging: bool | None = ... + """Specifies whether recursive logging is enabled for the trail.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Widget(_SerdeShape): + """A widget on a CloudTrail Lake dashboard.""" + + query_alias: str | None = ... + """The query alias used to identify the query for the widget.""" + query_statement: str | None = ... + """The SQL query statement for the widget.""" + query_parameters: list[str] | None = ... + """The query parameters for the widget.""" + view_properties: dict[str, str] | None = ... + """ + The view properties for the widget. For more information about view + properties, see [View properties for + widgets](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-widget-properties.html) + in the *CloudTrail User Guide*.. + """ diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas.py index 41f634ecd..84fdac361 100644 --- a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas.py +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas.py @@ -1,5675 +1,479 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.cloudtrail" -_EM = "ErrorMessage" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_M = "Message" -_AHOIE = "AccountHasOngoingImportException" -_AI = "AccountId" -_ANFE = "AccountNotFoundException" -_ANRE = "AccountNotRegisteredException" -_ARE = "AccountRegisteredException" -_S = "String" -_TK = "TagKey" -_TV = "TagValue" -_T = "Tag" -_K = "Key" -_sm = "smithy.api#required" -_V = "Value" -_TL = "TagsList" -_m = "member" -_ATI = "AddTagsInput" -_sSI = "smithy.synthetic#originalShapeId" -_cATR = "com.amazonaws.cloudtrail#AddTagsRequest" -_smi = "smithy.api#input" -_RI = "ResourceId" -_ATO = "AddTagsOutput" -_cATRo = "com.amazonaws.cloudtrail#AddTagsResponse" -_smit = "smithy.api#output" -_CARNIE = "ChannelARNInvalidException" -_CNFE = "ChannelNotFoundException" -_CTARNIE = "CloudTrailARNInvalidException" -_CE = "ConflictException" -_EDSARNIE = "EventDataStoreARNInvalidException" -_EDSNFE = "EventDataStoreNotFoundException" -_IEDSE = "InactiveEventDataStoreException" -_ITPE = "InvalidTagParameterException" -_ITNE = "InvalidTrailNameException" -_NMASLREE = "NoManagementAccountSLRExistsException" -_NOMAE = "NotOrganizationMasterAccountException" -_ONPE = "OperationNotPermittedException" -_RNFE = "ResourceNotFoundException" -_RTNSE = "ResourceTypeNotSupportedException" -_TLEE = "TagsLimitExceededException" -_UOE = "UnsupportedOperationException" -_AT = "AddTags" -_OV = "OperatorValue" -_O = "Operator" -_SF = "SelectorField" -_AFS = "AdvancedFieldSelector" -_F = "Field" -_E = "Equals" -_SW = "StartsWith" -_EW = "EndsWith" -_NE = "NotEquals" -_NSW = "NotStartsWith" -_NEW = "NotEndsWith" -_AFSd = "AdvancedFieldSelectors" -_SN = "SelectorName" -_AES = "AdvancedEventSelector" -_N = "Name" -_FS = "FieldSelectors" -_AESd = "AdvancedEventSelectors" -_ECA = "EventCategoryAggregation" -_D = "Data" -_sV = "smithy.api#enumValue" -_Te = "Template" -_AA = "API_ACTIVITY" -_RA = "RESOURCE_ACCESS" -_UA = "USER_ACTIONS" -_Tem = "Templates" -_AC = "AggregationConfiguration" -_EC = "EventCategory" -_ACg = "AggregationConfigurations" -_BM = "BillingMode" -_ERP = "EXTENDABLE_RETENTION_PRICING" -_FRP = "FIXED_RETENTION_PRICING" -_B = "Boolean" -_BB = "ByteBuffer" -_EDSA = "EventDataStoreArn" -_UUID = "UUID" -_CQI = "CancelQueryInput" -_cCQR = "com.amazonaws.cloudtrail#CancelQueryRequest" -_EDS = "EventDataStore" -_QI = "QueryId" -_EDSOAI = "EventDataStoreOwnerAccountId" -_QS = "QueryStatus" -_QUEUED = "QUEUED" -_RUNNING = "RUNNING" -_FINISHED = "FINISHED" -_FAILED = "FAILED" -_CANCELLED = "CANCELLED" -_TO = "TIMED_OUT" -_CQO = "CancelQueryOutput" -_cCQRo = "com.amazonaws.cloudtrail#CancelQueryResponse" -_IQE = "InactiveQueryException" -_IPE = "InvalidParameterException" -_QINFE = "QueryIdNotFoundException" -_CQ = "CancelQuery" -_CDMAE = "CannotDelegateManagementAccountException" -_CA = "ChannelArn" -_CN = "ChannelName" -_C = "Channel" -_CAEE = "ChannelAlreadyExistsException" -_CEFEDSE = "ChannelExistsForEDSException" -_CMLEE = "ChannelMaxLimitExceededException" -_Ch = "Channels" -_L = "Location" -_DT = "DestinationType" -_EDS_ = "EVENT_DATA_STORE" -_AS = "AWS_SERVICE" -_De = "Destination" -_Ty = "Type" -_Des = "Destinations" -_So = "Source" -_CCI = "CreateChannelInput" -_cCCR = "com.amazonaws.cloudtrail#CreateChannelRequest" -_Ta = "Tags" -_CCO = "CreateChannelOutput" -_cCCRo = "com.amazonaws.cloudtrail#CreateChannelResponse" -_IEDSCE = "InvalidEventDataStoreCategoryException" -_ISE = "InvalidSourceException" -_CC = "CreateChannel" -_DN = "DashboardName" -_RSFU = "RefreshScheduleFrequencyUnit" -_HOURS = "HOURS" -_DAYS = "DAYS" -_RSFV = "RefreshScheduleFrequencyValue" -_RSF = "RefreshScheduleFrequency" -_U = "Unit" -_RSS = "RefreshScheduleStatus" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_TOD = "TimeOfDay" -_RS = "RefreshSchedule" -_Fr = "Frequency" -_St = "Status" -_TPE = "TerminationProtectionEnabled" -_QP = "QueryParameter" -_QPu = "QueryParameters" -_QSu = "QueryStatement" -_VPK = "ViewPropertiesKey" -_VPV = "ViewPropertiesValue" -_VPM = "ViewPropertiesMap" -_k = "key" -_v = "value" -_RW = "RequestWidget" -_VP = "ViewProperties" -_RWL = "RequestWidgetList" -_CDI = "CreateDashboardInput" -_cCDR = "com.amazonaws.cloudtrail#CreateDashboardRequest" -_W = "Widgets" -_DA = "DashboardArn" -_DTa = "DashboardType" -_MANAGED = "MANAGED" -_CUSTOM = "CUSTOM" -_QA = "QueryAlias" -_Wi = "Widget" -_WL = "WidgetList" -_CDO = "CreateDashboardOutput" -_cCDRo = "com.amazonaws.cloudtrail#CreateDashboardResponse" -_IEPE = "InsufficientEncryptionPolicyException" -_IQSE = "InvalidQueryStatementException" -_SQEE = "ServiceQuotaExceededException" -_CD = "CreateDashboard" -_CTANEE = "CloudTrailAccessNotEnabledException" -_EDSKKI = "EventDataStoreKmsKeyId" -_EDSN = "EventDataStoreName" -_RP = "RetentionPeriod" -_CEDSI = "CreateEventDataStoreInput" -_cCEDSR = "com.amazonaws.cloudtrail#CreateEventDataStoreRequest" -_MRE = "MultiRegionEnabled" -_OE = "OrganizationEnabled" -_KKI = "KmsKeyId" -_SI = "StartIngestion" -_Da = "Date" -_EDSS = "EventDataStoreStatus" -_CREATED = "CREATED" -_PD = "PENDING_DELETION" -_SI_ = "STARTING_INGESTION" -_SI__ = "STOPPING_INGESTION" -_SI___ = "STOPPED_INGESTION" -_CEDSO = "CreateEventDataStoreOutput" -_cCEDSRo = "com.amazonaws.cloudtrail#CreateEventDataStoreResponse" -_CT = "CreatedTimestamp" -_UT = "UpdatedTimestamp" -_EDSAEE = "EventDataStoreAlreadyExistsException" -_EDSMLEE = "EventDataStoreMaxLimitExceededException" -_IDSAPE = "InsufficientDependencyServiceAccessPermissionException" -_IESE = "InvalidEventSelectorsException" -_IKKIE = "InvalidKmsKeyIdException" -_KE = "KmsException" -_KKNFE = "KmsKeyNotFoundException" -_ONIAFME = "OrganizationNotInAllFeaturesModeException" -_ONIUE = "OrganizationsNotInUseException" -_TE = "ThrottlingException" -_CEDS = "CreateEventDataStore" -_CTICTIE = "CloudTrailInvalidClientTokenIdException" -_CWLDUE = "CloudWatchLogsDeliveryUnavailableException" -_CTI = "CreateTrailInput" -_cCTR = "com.amazonaws.cloudtrail#CreateTrailRequest" -_SBN = "S3BucketName" -_SKP = "S3KeyPrefix" -_STN = "SnsTopicName" -_IGSE = "IncludeGlobalServiceEvents" -_IMRT = "IsMultiRegionTrail" -_ELFV = "EnableLogFileValidation" -_CWLLGA = "CloudWatchLogsLogGroupArn" -_CWLRA = "CloudWatchLogsRoleArn" -_IOT = "IsOrganizationTrail" -_RL = "RecursiveLogging" -_CTO = "CreateTrailOutput" -_cCTRo = "com.amazonaws.cloudtrail#CreateTrailResponse" -_STARN = "SnsTopicARN" -_TARN = "TrailARN" -_LFVE = "LogFileValidationEnabled" -_ISBPE = "InsufficientS3BucketPolicyException" -_ISTPE = "InsufficientSnsTopicPolicyException" -_ICWLLGAE = "InvalidCloudWatchLogsLogGroupArnException" -_ICWLRAE = "InvalidCloudWatchLogsRoleArnException" -_IPCE = "InvalidParameterCombinationException" -_ISBNE = "InvalidS3BucketNameException" -_ISPE = "InvalidS3PrefixException" -_ISTNE = "InvalidSnsTopicNameException" -_KKDE = "KmsKeyDisabledException" -_MNOTEE = "MaximumNumberOfTrailsExceededException" -_SBDNEE = "S3BucketDoesNotExistException" -_TAEE = "TrailAlreadyExistsException" -_TNPE = "TrailNotProvidedException" -_CTr = "CreateTrail" -_DCI = "DeleteChannelInput" -_cDCR = "com.amazonaws.cloudtrail#DeleteChannelRequest" -_DCO = "DeleteChannelOutput" -_cDCRo = "com.amazonaws.cloudtrail#DeleteChannelResponse" -_DC = "DeleteChannel" -_DDI = "DeleteDashboardInput" -_cDDR = "com.amazonaws.cloudtrail#DeleteDashboardRequest" -_DI = "DashboardId" -_DDO = "DeleteDashboardOutput" -_cDDRo = "com.amazonaws.cloudtrail#DeleteDashboardResponse" -_DD = "DeleteDashboard" -_DEDSI = "DeleteEventDataStoreInput" -_cDEDSR = "com.amazonaws.cloudtrail#DeleteEventDataStoreRequest" -_DEDSO = "DeleteEventDataStoreOutput" -_cDEDSRo = "com.amazonaws.cloudtrail#DeleteEventDataStoreResponse" -_EDSFEE = "EventDataStoreFederationEnabledException" -_EDSHOIE = "EventDataStoreHasOngoingImportException" -_EDSTPE = "EventDataStoreTerminationProtectedException" -_DEDS = "DeleteEventDataStore" -_RAe = "ResourceArn" -_DRPI = "DeleteResourcePolicyInput" -_cDRPR = "com.amazonaws.cloudtrail#DeleteResourcePolicyRequest" -_DRPO = "DeleteResourcePolicyOutput" -_cDRPRo = "com.amazonaws.cloudtrail#DeleteResourcePolicyResponse" -_RARNNVE = "ResourceARNNotValidException" -_RPNFE = "ResourcePolicyNotFoundException" -_DRP = "DeleteResourcePolicy" -_DTI = "DeleteTrailInput" -_cDTR = "com.amazonaws.cloudtrail#DeleteTrailRequest" -_DTO = "DeleteTrailOutput" -_cDTRo = "com.amazonaws.cloudtrail#DeleteTrailResponse" -_IHRE = "InvalidHomeRegionException" -_TNFE = "TrailNotFoundException" -_DTe = "DeleteTrail" -_DODAI = "DeregisterOrganizationDelegatedAdminInput" -_cDODAR = "com.amazonaws.cloudtrail#DeregisterOrganizationDelegatedAdminRequest" -_DAAI = "DelegatedAdminAccountId" -_DODAO = "DeregisterOrganizationDelegatedAdminOutput" -_cDODARo = "com.amazonaws.cloudtrail#DeregisterOrganizationDelegatedAdminResponse" -_NOMAEo = "NotOrganizationManagementAccountException" -_DODA = "DeregisterOrganizationDelegatedAdmin" -_RIe = "RefreshId" -_DQI = "DescribeQueryInput" -_cDQR = "com.amazonaws.cloudtrail#DescribeQueryRequest" -_DSU = "DeliveryS3Uri" -_DS = "DeliveryStatus" -_SUCCESS = "SUCCESS" -_FSF = "FAILED_SIGNING_FILE" -_PENDING = "PENDING" -_RNF = "RESOURCE_NOT_FOUND" -_AD = "ACCESS_DENIED" -_ADSF = "ACCESS_DENIED_SIGNING_FILE" -_UNKNOWN = "UNKNOWN" -_P = "Prompt" -_Lo = "Long" -_I = "Integer" -_QSFDQ = "QueryStatisticsForDescribeQuery" -_EMv = "EventsMatched" -_ES = "EventsScanned" -_BS = "BytesScanned" -_ETIM = "ExecutionTimeInMillis" -_CTre = "CreationTime" -_DQO = "DescribeQueryOutput" -_cDQRo = "com.amazonaws.cloudtrail#DescribeQueryResponse" -_QSue = "QueryString" -_QSuer = "QueryStatistics" -_DQ = "DescribeQuery" -_TNL = "TrailNameList" -_DTIe = "DescribeTrailsInput" -_cDTRom = "com.amazonaws.cloudtrail#DescribeTrailsRequest" -_tNL = "trailNameList" -_iST = "includeShadowTrails" -_Tr = "Trail" -_HR = "HomeRegion" -_HCES = "HasCustomEventSelectors" -_HIS = "HasInsightSelectors" -_TLr = "TrailList" -_DTOe = "DescribeTrailsOutput" -_cDTRoma = "com.amazonaws.cloudtrail#DescribeTrailsResponse" -_tL = "trailList" -_DTes = "DescribeTrails" -_CME = "ConcurrentModificationException" -_DFI = "DisableFederationInput" -_cDFR = "com.amazonaws.cloudtrail#DisableFederationRequest" -_FSe = "FederationStatus" -_ENABLING = "ENABLING" -_DISABLING = "DISABLING" -_DFO = "DisableFederationOutput" -_cDFRo = "com.amazonaws.cloudtrail#DisableFederationResponse" -_DF = "DisableFederation" -_FRA = "FederationRoleArn" -_EFI = "EnableFederationInput" -_cEFR = "com.amazonaws.cloudtrail#EnableFederationRequest" -_EFO = "EnableFederationOutput" -_cEFRo = "com.amazonaws.cloudtrail#EnableFederationResponse" -_EF = "EnableFederation" -_EDSL = "EventDataStoreList" -_GQI = "GenerateQueryInput" -_cGQR = "com.amazonaws.cloudtrail#GenerateQueryRequest" -_EDSv = "EventDataStores" -_GQO = "GenerateQueryOutput" -_cGQRo = "com.amazonaws.cloudtrail#GenerateQueryResponse" -_GRE = "GenerateResponseException" -_GQ = "GenerateQuery" -_GCI = "GetChannelInput" -_cGCR = "com.amazonaws.cloudtrail#GetChannelRequest" -_IS = "IngestionStatus" -_LIST = "LatestIngestionSuccessTime" -_LISEID = "LatestIngestionSuccessEventID" -_LIEC = "LatestIngestionErrorCode" -_LIAT = "LatestIngestionAttemptTime" -_LIAEID = "LatestIngestionAttemptEventID" -_SC = "SourceConfig" -_ATAR = "ApplyToAllRegions" -_GCO = "GetChannelOutput" -_cGCRo = "com.amazonaws.cloudtrail#GetChannelResponse" -_GC = "GetChannel" -_GDI = "GetDashboardInput" -_cGDR = "com.amazonaws.cloudtrail#GetDashboardRequest" -_DSa = "DashboardStatus" -_CREATING = "CREATING" -_UPDATING = "UPDATING" -_UPDATED = "UPDATED" -_DELETING = "DELETING" -_GDO = "GetDashboardOutput" -_cGDRo = "com.amazonaws.cloudtrail#GetDashboardResponse" -_LRI = "LastRefreshId" -_LRFR = "LastRefreshFailureReason" -_GD = "GetDashboard" -_GECI = "GetEventConfigurationInput" -_cGECR = "com.amazonaws.cloudtrail#GetEventConfigurationRequest" -_TN = "TrailName" -_OTLM = "OperatorTargetListMember" -_OTL = "OperatorTargetList" -_TC = "TagContext" -_RC = "RequestContext" -_CKS = "ContextKeySelector" -_CKSo = "ContextKeySelectors" -_MES = "MaxEventSize" -_Sta = "Standard" -_La = "Large" -_GECO = "GetEventConfigurationOutput" -_cGECRo = "com.amazonaws.cloudtrail#GetEventConfigurationResponse" -_IEDSSE = "InvalidEventDataStoreStatusException" -_GEC = "GetEventConfiguration" -_GEDSI = "GetEventDataStoreInput" -_cGEDSR = "com.amazonaws.cloudtrail#GetEventDataStoreRequest" -_PKN = "PartitionKeyName" -_PKT = "PartitionKeyType" -_PK = "PartitionKey" -_PKL = "PartitionKeyList" -_GEDSO = "GetEventDataStoreOutput" -_cGEDSRo = "com.amazonaws.cloudtrail#GetEventDataStoreResponse" -_PKa = "PartitionKeys" -_GEDS = "GetEventDataStore" -_GESI = "GetEventSelectorsInput" -_cGESR = "com.amazonaws.cloudtrail#GetEventSelectorsRequest" -_DRV = "DataResourceValues" -_DR = "DataResource" -_Va = "Values" -_DRa = "DataResources" -_EMES = "ExcludeManagementEventSources" -_RWT = "ReadWriteType" -_RO = "ReadOnly" -_WO = "WriteOnly" -_A = "All" -_ESv = "EventSelector" -_IME = "IncludeManagementEvents" -_ESve = "EventSelectors" -_GESO = "GetEventSelectorsOutput" -_cGESRo = "com.amazonaws.cloudtrail#GetEventSelectorsResponse" -_GES = "GetEventSelectors" -_GII = "GetImportInput" -_cGIR = "com.amazonaws.cloudtrail#GetImportRequest" -_II = "ImportId" -_ID = "ImportDestinations" -_SIS = "S3ImportSource" -_SLU = "S3LocationUri" -_SBR = "S3BucketRegion" -_SBARA = "S3BucketAccessRoleArn" -_ISm = "ImportSource" -_S_ = "S3" -_ISmp = "ImportStatistics" -_PF = "PrefixesFound" -_PC = "PrefixesCompleted" -_FC = "FilesCompleted" -_ECv = "EventsCompleted" -_FE = "FailedEntries" -_ISmpo = "ImportStatus" -_INITIALIZING = "INITIALIZING" -_IP = "IN_PROGRESS" -_STOPPED = "STOPPED" -_COMPLETED = "COMPLETED" -_GIO = "GetImportOutput" -_cGIRo = "com.amazonaws.cloudtrail#GetImportResponse" -_SET = "StartEventTime" -_EET = "EndEventTime" -_INFE = "ImportNotFoundException" -_GI = "GetImport" -_GISI = "GetInsightSelectorsInput" -_cGISR = "com.amazonaws.cloudtrail#GetInsightSelectorsRequest" -_SEC = "SourceEventCategory" -_Ma = "Management" -_SECo = "SourceEventCategories" -_IT = "InsightType" -_ACRI = "ApiCallRateInsight" -_AERI = "ApiErrorRateInsight" -_ISn = "InsightSelector" -_ECve = "EventCategories" -_ISns = "InsightSelectors" -_GISO = "GetInsightSelectorsOutput" -_cGISRo = "com.amazonaws.cloudtrail#GetInsightSelectorsResponse" -_IDn = "InsightsDestination" -_INEE = "InsightNotEnabledException" -_GIS = "GetInsightSelectors" -_MQR = "MaxQueryResults" -_PT = "PaginationToken" -_GQRI = "GetQueryResultsInput" -_cGQRR = "com.amazonaws.cloudtrail#GetQueryResultsRequest" -_NT = "NextToken" -_QRK = "QueryResultKey" -_QRV = "QueryResultValue" -_QRC = "QueryResultColumn" -_QRR = "QueryResultRow" -_QRRu = "QueryResultRows" -_RCe = "ResultsCount" -_TRC = "TotalResultsCount" -_GQRO = "GetQueryResultsOutput" -_cGQRRo = "com.amazonaws.cloudtrail#GetQueryResultsResponse" -_IMRE = "InvalidMaxResultsException" -_INTE = "InvalidNextTokenException" -_GQR = "GetQueryResults" -_GRPI = "GetResourcePolicyInput" -_cGRPR = "com.amazonaws.cloudtrail#GetResourcePolicyRequest" -_RPe = "ResourcePolicy" -_GRPO = "GetResourcePolicyOutput" -_cGRPRo = "com.amazonaws.cloudtrail#GetResourcePolicyResponse" -_DARP = "DelegatedAdminResourcePolicy" -_GRP = "GetResourcePolicy" -_GTI = "GetTrailInput" -_cGTR = "com.amazonaws.cloudtrail#GetTrailRequest" -_GTO = "GetTrailOutput" -_cGTRo = "com.amazonaws.cloudtrail#GetTrailResponse" -_GT = "GetTrail" -_GTSI = "GetTrailStatusInput" -_cGTSR = "com.amazonaws.cloudtrail#GetTrailStatusRequest" -_GTSO = "GetTrailStatusOutput" -_cGTSRo = "com.amazonaws.cloudtrail#GetTrailStatusResponse" -_IL = "IsLogging" -_LDE = "LatestDeliveryError" -_LNE = "LatestNotificationError" -_LDT = "LatestDeliveryTime" -_LNT = "LatestNotificationTime" -_SLT = "StartLoggingTime" -_SLTt = "StopLoggingTime" -_LCWLDE = "LatestCloudWatchLogsDeliveryError" -_LCWLDT = "LatestCloudWatchLogsDeliveryTime" -_LDDT = "LatestDigestDeliveryTime" -_LDDE = "LatestDigestDeliveryError" -_LDAT = "LatestDeliveryAttemptTime" -_LNAT = "LatestNotificationAttemptTime" -_LNAS = "LatestNotificationAttemptSucceeded" -_LDAS = "LatestDeliveryAttemptSucceeded" -_TLS = "TimeLoggingStarted" -_TLSi = "TimeLoggingStopped" -_GTS = "GetTrailStatus" -_LCMRC = "ListChannelsMaxResultsCount" -_LCI = "ListChannelsInput" -_cLCR = "com.amazonaws.cloudtrail#ListChannelsRequest" -_MR = "MaxResults" -_LCO = "ListChannelsOutput" -_cLCRo = "com.amazonaws.cloudtrail#ListChannelsResponse" -_LC = "ListChannels" -_LDMRC = "ListDashboardsMaxResultsCount" -_LDI = "ListDashboardsInput" -_cLDR = "com.amazonaws.cloudtrail#ListDashboardsRequest" -_NP = "NamePrefix" -_DDa = "DashboardDetail" -_Das = "Dashboards" -_LDO = "ListDashboardsOutput" -_cLDRo = "com.amazonaws.cloudtrail#ListDashboardsResponse" -_LD = "ListDashboards" -_LEDSMRC = "ListEventDataStoresMaxResultsCount" -_LEDSI = "ListEventDataStoresInput" -_cLEDSR = "com.amazonaws.cloudtrail#ListEventDataStoresRequest" -_LEDSO = "ListEventDataStoresOutput" -_cLEDSRo = "com.amazonaws.cloudtrail#ListEventDataStoresResponse" -_LEDS = "ListEventDataStores" -_LIFMRC = "ListImportFailuresMaxResultsCount" -_LIFI = "ListImportFailuresInput" -_cLIFR = "com.amazonaws.cloudtrail#ListImportFailuresRequest" -_IFS = "ImportFailureStatus" -_RETRY = "RETRY" -_SUCCEEDED = "SUCCEEDED" -_IFLI = "ImportFailureListItem" -_ET = "ErrorType" -_LUT = "LastUpdatedTime" -_IFL = "ImportFailureList" -_LIFO = "ListImportFailuresOutput" -_cLIFRo = "com.amazonaws.cloudtrail#ListImportFailuresResponse" -_Fa = "Failures" -_LIF = "ListImportFailures" -_LIMRC = "ListImportsMaxResultsCount" -_LII = "ListImportsInput" -_cLIR = "com.amazonaws.cloudtrail#ListImportsRequest" -_ILI = "ImportsListItem" -_ILm = "ImportsList" -_LIO = "ListImportsOutput" -_cLIRo = "com.amazonaws.cloudtrail#ListImportsResponse" -_Im = "Imports" -_LI = "ListImports" -_LIDT = "ListInsightsDataType" -_IE = "INSIGHTS_EVENTS" -_IEn = "InsightsEvents" -_LIDDK = "ListInsightsDataDimensionKey" -_EI = "EVENT_ID" -_EIv = "EventId" -_EN = "EVENT_NAME" -_ENv = "EventName" -_ES_ = "EVENT_SOURCE" -_ESven = "EventSource" -_LIDDV = "ListInsightsDataDimensionValue" -_LIDD = "ListInsightsDataDimensions" -_LIDMRC = "ListInsightsDataMaxResultsCount" -_LIDI = "ListInsightsDataInput" -_cLIDR = "com.amazonaws.cloudtrail#ListInsightsDataRequest" -_ISnsi = "InsightSource" -_DTat = "DataType" -_Di = "Dimensions" -_ST = "StartTime" -_ETn = "EndTime" -_R = "Resource" -_RT = "ResourceType" -_RN = "ResourceName" -_RLe = "ResourceList" -_Ev = "Event" -_AKI = "AccessKeyId" -_ETv = "EventTime" -_Us = "Username" -_Re = "Resources" -_CTE = "CloudTrailEvent" -_EL = "EventsList" -_LIDO = "ListInsightsDataOutput" -_cLIDRo = "com.amazonaws.cloudtrail#ListInsightsDataResponse" -_Eve = "Events" -_LID = "ListInsightsData" -_IMDT = "InsightsMetricDataType" -_FWZ = "FILL_WITH_ZEROS" -_FWZi = "FillWithZeros" -_NZD = "NON_ZERO_DATA" -_NZDo = "NonZeroData" -_ECr = "ErrorCode" -_IMMR = "InsightsMetricMaxResults" -_IMNT = "InsightsMetricNextToken" -_IMP = "InsightsMetricPeriod" -_LIMDI = "ListInsightsMetricDataInput" -_cLIMDR = "com.amazonaws.cloudtrail#ListInsightsMetricDataRequest" -_Pe = "Period" -_Ti = "Timestamps" -_Do = "Double" -_IMV = "InsightsMetricValues" -_LIMDO = "ListInsightsMetricDataOutput" -_cLIMDRo = "com.amazonaws.cloudtrail#ListInsightsMetricDataResponse" -_LIMD = "ListInsightsMetricData" -_ITRE = "InvalidTimeRangeException" -_ITE = "InvalidTokenException" -_LPKI = "ListPublicKeysInput" -_cLPKR = "com.amazonaws.cloudtrail#ListPublicKeysRequest" -_PKu = "PublicKey" -_VST = "ValidityStartTime" -_VET = "ValidityEndTime" -_Fi = "Fingerprint" -_PKLu = "PublicKeyList" -_LPKO = "ListPublicKeysOutput" -_cLPKRo = "com.amazonaws.cloudtrail#ListPublicKeysResponse" -_LPK = "ListPublicKeys" -_IDRE = "InvalidDateRangeException" -_IQSEn = "InvalidQueryStatusException" -_LQMRC = "ListQueriesMaxResultsCount" -_LQI = "ListQueriesInput" -_cLQR = "com.amazonaws.cloudtrail#ListQueriesRequest" -_Q = "Query" -_Qu = "Queries" -_LQO = "ListQueriesOutput" -_cLQRo = "com.amazonaws.cloudtrail#ListQueriesResponse" -_LQ = "ListQueries" -_RIL = "ResourceIdList" -_LTI = "ListTagsInput" -_cLTR = "com.amazonaws.cloudtrail#ListTagsRequest" -_RTe = "ResourceTag" -_RTL = "ResourceTagList" -_LTO = "ListTagsOutput" -_cLTRo = "com.amazonaws.cloudtrail#ListTagsResponse" -_LT = "ListTags" -_LTIi = "ListTrailsInput" -_cLTRom = "com.amazonaws.cloudtrail#ListTrailsRequest" -_TI = "TrailInfo" -_Tra = "Trails" -_LTOi = "ListTrailsOutput" -_cLTRoma = "com.amazonaws.cloudtrail#ListTrailsResponse" -_LTi = "ListTrails" -_IECE = "InvalidEventCategoryException" -_ILAE = "InvalidLookupAttributesException" -_In = "Insight" -_i = "insight" -_LAK = "LookupAttributeKey" -_RO_ = "READ_ONLY" -_USERNAME = "USERNAME" -_RT_ = "RESOURCE_TYPE" -_RN_ = "RESOURCE_NAME" -_AKI_ = "ACCESS_KEY_ID" -_LAV = "LookupAttributeValue" -_LA = "LookupAttribute" -_AK = "AttributeKey" -_AV = "AttributeValue" -_LAL = "LookupAttributesList" -_LEI = "LookupEventsInput" -_cLER = "com.amazonaws.cloudtrail#LookupEventsRequest" -_LAo = "LookupAttributes" -_LEO = "LookupEventsOutput" -_cLERo = "com.amazonaws.cloudtrail#LookupEventsResponse" -_LE = "LookupEvents" -_IIAMAPE = "InsufficientIAMAccessPermissionException" -_PECI = "PutEventConfigurationInput" -_cPECR = "com.amazonaws.cloudtrail#PutEventConfigurationRequest" -_PECO = "PutEventConfigurationOutput" -_cPECRo = "com.amazonaws.cloudtrail#PutEventConfigurationResponse" -_PEC = "PutEventConfiguration" -_PESI = "PutEventSelectorsInput" -_cPESR = "com.amazonaws.cloudtrail#PutEventSelectorsRequest" -_PESO = "PutEventSelectorsOutput" -_cPESRo = "com.amazonaws.cloudtrail#PutEventSelectorsResponse" -_PES = "PutEventSelectors" -_IISE = "InvalidInsightSelectorsException" -_PISI = "PutInsightSelectorsInput" -_cPISR = "com.amazonaws.cloudtrail#PutInsightSelectorsRequest" -_PISO = "PutInsightSelectorsOutput" -_cPISRo = "com.amazonaws.cloudtrail#PutInsightSelectorsResponse" -_PIS = "PutInsightSelectors" -_PRPI = "PutResourcePolicyInput" -_cPRPR = "com.amazonaws.cloudtrail#PutResourcePolicyRequest" -_PRPO = "PutResourcePolicyOutput" -_cPRPRo = "com.amazonaws.cloudtrail#PutResourcePolicyResponse" -_RPNVE = "ResourcePolicyNotValidException" -_PRP = "PutResourcePolicy" -_DAALEE = "DelegatedAdminAccountLimitExceededException" -_RODAI = "RegisterOrganizationDelegatedAdminInput" -_cRODAR = "com.amazonaws.cloudtrail#RegisterOrganizationDelegatedAdminRequest" -_MAI = "MemberAccountId" -_RODAO = "RegisterOrganizationDelegatedAdminOutput" -_cRODARo = "com.amazonaws.cloudtrail#RegisterOrganizationDelegatedAdminResponse" -_RODA = "RegisterOrganizationDelegatedAdmin" -_RTI = "RemoveTagsInput" -_cRTR = "com.amazonaws.cloudtrail#RemoveTagsRequest" -_RTO = "RemoveTagsOutput" -_cRTRo = "com.amazonaws.cloudtrail#RemoveTagsResponse" -_RTem = "RemoveTags" -_REDSI = "RestoreEventDataStoreInput" -_cREDSR = "com.amazonaws.cloudtrail#RestoreEventDataStoreRequest" -_REDSO = "RestoreEventDataStoreOutput" -_cREDSRo = "com.amazonaws.cloudtrail#RestoreEventDataStoreResponse" -_REDS = "RestoreEventDataStore" -_SSQMR = "SearchSampleQueriesMaxResults" -_SSQSP = "SearchSampleQueriesSearchPhrase" -_SSQI = "SearchSampleQueriesInput" -_cSSQR = "com.amazonaws.cloudtrail#SearchSampleQueriesRequest" -_SP = "SearchPhrase" -_SQD = "SampleQueryDescription" -_SQN = "SampleQueryName" -_SQR = "SampleQueryRelevance" -_smith = "smithy.api#default" -_SQSQL = "SampleQuerySQL" -_SSQSR = "SearchSampleQueriesSearchResult" -_Desc = "Description" -_SQL = "SQL" -_Rel = "Relevance" -_SSQSRe = "SearchSampleQueriesSearchResults" -_SSQO = "SearchSampleQueriesOutput" -_cSSQRo = "com.amazonaws.cloudtrail#SearchSampleQueriesResponse" -_SR = "SearchResults" -_SSQ = "SearchSampleQueries" -_QPK = "QueryParameterKey" -_QPV = "QueryParameterValue" -_QPVu = "QueryParameterValues" -_SDRI = "StartDashboardRefreshInput" -_cSDRR = "com.amazonaws.cloudtrail#StartDashboardRefreshRequest" -_SDRO = "StartDashboardRefreshOutput" -_cSDRRo = "com.amazonaws.cloudtrail#StartDashboardRefreshResponse" -_SDR = "StartDashboardRefresh" -_SEDSII = "StartEventDataStoreIngestionInput" -_cSEDSIR = "com.amazonaws.cloudtrail#StartEventDataStoreIngestionRequest" -_SEDSIO = "StartEventDataStoreIngestionOutput" -_cSEDSIRo = "com.amazonaws.cloudtrail#StartEventDataStoreIngestionResponse" -_SEDSI = "StartEventDataStoreIngestion" -_IISEn = "InvalidImportSourceException" -_SII = "StartImportInput" -_cSIR = "com.amazonaws.cloudtrail#StartImportRequest" -_SIO = "StartImportOutput" -_cSIRo = "com.amazonaws.cloudtrail#StartImportResponse" -_SIt = "StartImport" -_SLI = "StartLoggingInput" -_cSLR = "com.amazonaws.cloudtrail#StartLoggingRequest" -_SLO = "StartLoggingOutput" -_cSLRo = "com.amazonaws.cloudtrail#StartLoggingResponse" -_SL = "StartLogging" -_MCQE = "MaxConcurrentQueriesException" -_SQI = "StartQueryInput" -_cSQR = "com.amazonaws.cloudtrail#StartQueryRequest" -_SQO = "StartQueryOutput" -_cSQRo = "com.amazonaws.cloudtrail#StartQueryResponse" -_SQ = "StartQuery" -_SEDSIIt = "StopEventDataStoreIngestionInput" -_cSEDSIRom = "com.amazonaws.cloudtrail#StopEventDataStoreIngestionRequest" -_SEDSIOt = "StopEventDataStoreIngestionOutput" -_cSEDSIRoma = "com.amazonaws.cloudtrail#StopEventDataStoreIngestionResponse" -_SEDSIt = "StopEventDataStoreIngestion" -_SIIt = "StopImportInput" -_cSIRom = "com.amazonaws.cloudtrail#StopImportRequest" -_SIOt = "StopImportOutput" -_cSIRoma = "com.amazonaws.cloudtrail#StopImportResponse" -_SIto = "StopImport" -_SLIt = "StopLoggingInput" -_cSLRom = "com.amazonaws.cloudtrail#StopLoggingRequest" -_SLOt = "StopLoggingOutput" -_cSLRoma = "com.amazonaws.cloudtrail#StopLoggingResponse" -_SLt = "StopLogging" -_UCI = "UpdateChannelInput" -_cUCR = "com.amazonaws.cloudtrail#UpdateChannelRequest" -_UCO = "UpdateChannelOutput" -_cUCRo = "com.amazonaws.cloudtrail#UpdateChannelResponse" -_UC = "UpdateChannel" -_UDI = "UpdateDashboardInput" -_cUDR = "com.amazonaws.cloudtrail#UpdateDashboardRequest" -_UDO = "UpdateDashboardOutput" -_cUDRo = "com.amazonaws.cloudtrail#UpdateDashboardResponse" -_UD = "UpdateDashboard" -_UEDSI = "UpdateEventDataStoreInput" -_cUEDSR = "com.amazonaws.cloudtrail#UpdateEventDataStoreRequest" -_UEDSO = "UpdateEventDataStoreOutput" -_cUEDSRo = "com.amazonaws.cloudtrail#UpdateEventDataStoreResponse" -_UEDS = "UpdateEventDataStore" -_UTI = "UpdateTrailInput" -_cUTR = "com.amazonaws.cloudtrail#UpdateTrailRequest" -_UTO = "UpdateTrailOutput" -_cUTRo = "com.amazonaws.cloudtrail#UpdateTrailResponse" -_UTp = "UpdateTrail" -_C_ = "CloudTrail_20131101" -_a = "aws.auth#sigv4" -_a_ = "aws.protocols#awsJson1_1" -_aw = "aws.api#service" -_sN = "smithy.api#xmlNamespace" - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - { - _s: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "ResourceAccessDenied", "httpResponseCode": 403} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ACCOUNT_HAS_ONGOING_IMPORT_EXCEPTION: StaticSchema = ( - 18, - n0, - _AHOIE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "AccountHasOngoingImport", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) - -ACCOUNT_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _ANFE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "AccountNotFound", "httpResponseCode": 404}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ACCOUNT_NOT_REGISTERED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ANRE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "AccountNotRegistered", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ACCOUNT_REGISTERED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ARE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "AccountRegistered", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -STRING: StaticSchema = (3, n0, _S, 0) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _T, 0, (_K, _V), ((TAG_KEY, 1), (TAG_VALUE, 0))) - -TAGS_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) - -ADD_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _ATI, - {_sSI: _cATR, _smi: None}, - (_RI, _TL), - ((STRING, 1), (TAGS_LIST, 1)), -) - -ADD_TAGS_OUTPUT: StaticSchema = (18, n0, _ATO, {_sSI: _cATRo, _smit: None}) - -CHANNEL_ARN_INVALID_EXCEPTION: StaticSchema = ( - 18, - n0, - _CARNIE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "ChannelARNInvalid", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CHANNEL_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _CNFE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "ChannelNotFound", "httpResponseCode": 404}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CLOUD_TRAIL_ARN_INVALID_EXCEPTION: StaticSchema = ( - 18, - n0, - _CTARNIE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CloudTrailARNInvalid", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - { - _s: _c, - _sE: 409, - _aQE: MappingProxyType({"code": "ConflictException", "httpResponseCode": 409}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -EVENT_DATA_STORE_ARN_INVALID_EXCEPTION: StaticSchema = ( - 18, - n0, - _EDSARNIE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "EventDataStoreARNInvalid", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -EVENT_DATA_STORE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _EDSNFE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "EventDataStoreNotFound", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INACTIVE_EVENT_DATA_STORE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IEDSE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InactiveEventDataStore", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_TAG_PARAMETER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ITPE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidTagParameter", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_TRAIL_NAME_EXCEPTION: StaticSchema = ( - 18, - n0, - _ITNE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidTrailName", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _NMASLREE, - { - _s: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "NoManagementAccountSLRExists", "httpResponseCode": 403} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION: StaticSchema = ( - 18, - n0, - _NOMAE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "NotOrganizationMasterAccount", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -OPERATION_NOT_PERMITTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ONPE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "OperationNotPermitted", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "ResourceNotFound", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _RTNSE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ResourceTypeNotSupported", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -TAGS_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _TLEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "TagsLimitExceeded", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -UNSUPPORTED_OPERATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _UOE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "UnsupportedOperation", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ADD_TAGS: StaticOperationSchema = ( - 23, - n0, - _AT, - 0, - ADD_TAGS_INPUT, - ADD_TAGS_OUTPUT, - ( - CHANNEL_ARN_INVALID_EXCEPTION, - CHANNEL_NOT_FOUND_EXCEPTION, - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INVALID_TAG_PARAMETER_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, - TAGS_LIMIT_EXCEEDED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -OPERATOR_VALUE: StaticSchema = (3, n0, _OV, 0) - -OPERATOR: StaticSchema = (16, n0, _O, 0, (_m,), ((OPERATOR_VALUE, 0),)) - -SELECTOR_FIELD: StaticSchema = (3, n0, _SF, 0) - -ADVANCED_FIELD_SELECTOR: StaticSchema = ( - 18, - n0, - _AFS, - 0, - (_F, _E, _SW, _EW, _NE, _NSW, _NEW), - ( - (SELECTOR_FIELD, 1), - (OPERATOR, 0), - (OPERATOR, 0), - (OPERATOR, 0), - (OPERATOR, 0), - (OPERATOR, 0), - (OPERATOR, 0), - ), -) - -ADVANCED_FIELD_SELECTORS: StaticSchema = ( - 16, - n0, - _AFSd, - 0, - (_m,), - ((ADVANCED_FIELD_SELECTOR, 0),), -) - -SELECTOR_NAME: StaticSchema = (3, n0, _SN, 0) - -ADVANCED_EVENT_SELECTOR: StaticSchema = ( - 18, - n0, - _AES, - 0, - (_N, _FS), - ((SELECTOR_NAME, 0), (ADVANCED_FIELD_SELECTORS, 1)), -) - -ADVANCED_EVENT_SELECTORS: StaticSchema = ( - 16, - n0, - _AESd, - 0, - (_m,), - ((ADVANCED_EVENT_SELECTOR, 0),), -) - -EVENT_CATEGORY_AGGREGATION: StaticSchema = (14, n0, _ECA, 0, (_D,), ((-1, {_sV: _D}),)) - -TEMPLATE: StaticSchema = ( - 14, - n0, - _Te, - 0, - (_AA, _RA, _UA), - ((-1, {_sV: _AA}), (-1, {_sV: _RA}), (-1, {_sV: _UA})), -) - -TEMPLATES: StaticSchema = (16, n0, _Tem, 0, (_m,), ((TEMPLATE, 0),)) - -AGGREGATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AC, - 0, - (_Tem, _EC), - ((TEMPLATES, 1), (EVENT_CATEGORY_AGGREGATION, 1)), -) - -AGGREGATION_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _ACg, - 0, - (_m,), - ((AGGREGATION_CONFIGURATION, 0),), -) - -BILLING_MODE: StaticSchema = ( - 14, - n0, - _BM, - 0, - (_ERP, _FRP), - ((-1, {_sV: _ERP}), (-1, {_sV: _FRP})), -) - -BOOLEAN: StaticSchema = (2, n0, _B, 0) - -BYTE_BUFFER: StaticSchema = (1, n0, _BB, 0) - -EVENT_DATA_STORE_ARN: StaticSchema = (3, n0, _EDSA, 0) - -UUID: StaticSchema = (3, n0, _UUID, 0) - -CANCEL_QUERY_INPUT: StaticSchema = ( - 18, - n0, - _CQI, - {_sSI: _cCQR, _smi: None}, - (_EDS, _QI, _EDSOAI), - ((EVENT_DATA_STORE_ARN, 0), (UUID, 1), (ACCOUNT_ID, 0)), -) - -QUERY_STATUS: StaticSchema = ( - 14, - n0, - _QS, - 0, - (_QUEUED, _RUNNING, _FINISHED, _FAILED, _CANCELLED, _TO), - ( - (-1, {_sV: _QUEUED}), - (-1, {_sV: _RUNNING}), - (-1, {_sV: _FINISHED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _CANCELLED}), - (-1, {_sV: _TO}), - ), -) - -CANCEL_QUERY_OUTPUT: StaticSchema = ( - 18, - n0, - _CQO, - {_sSI: _cCQRo, _smit: None}, - (_QI, _QS, _EDSOAI), - ((UUID, 1), (QUERY_STATUS, 1), (ACCOUNT_ID, 0)), -) - -INACTIVE_QUERY_EXCEPTION: StaticSchema = ( - 18, - n0, - _IQE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InactiveQuery", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_PARAMETER_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidParameter", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -QUERY_ID_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _QINFE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "QueryIdNotFound", "httpResponseCode": 404}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CANCEL_QUERY: StaticOperationSchema = ( - 23, - n0, - _CQ, - 0, - CANCEL_QUERY_INPUT, - CANCEL_QUERY_OUTPUT, - ( - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INACTIVE_QUERY_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - QUERY_ID_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -CANNOT_DELEGATE_MANAGEMENT_ACCOUNT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CDMAE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CannotDelegateManagementAccount", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CHANNEL_ARN: StaticSchema = (3, n0, _CA, 0) - -CHANNEL_NAME: StaticSchema = (3, n0, _CN, 0) - -CHANNEL: StaticSchema = ( - 18, - n0, - _C, - 0, - (_CA, _N), - ((CHANNEL_ARN, 0), (CHANNEL_NAME, 0)), -) - -CHANNEL_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _CAEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ChannelAlreadyExists", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CHANNEL_EXISTS_FOR_EDS_EXCEPTION: StaticSchema = ( - 18, - n0, - _CEFEDSE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ChannelExistsForEDS", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CHANNEL_MAX_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CMLEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ChannelMaxLimitExceeded", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CHANNELS: StaticSchema = (16, n0, _Ch, 0, (_m,), ((CHANNEL, 0),)) - -LOCATION: StaticSchema = (3, n0, _L, 0) - -DESTINATION_TYPE: StaticSchema = ( - 14, - n0, - _DT, - 0, - (_EDS_, _AS), - ((-1, {_sV: _EDS_}), (-1, {_sV: _AS})), -) - -DESTINATION: StaticSchema = ( - 18, - n0, - _De, - 0, - (_Ty, _L), - ((DESTINATION_TYPE, 1), (LOCATION, 1)), -) - -DESTINATIONS: StaticSchema = (16, n0, _Des, 0, (_m,), ((DESTINATION, 0),)) - -SOURCE: StaticSchema = (3, n0, _So, 0) - -CREATE_CHANNEL_INPUT: StaticSchema = ( - 18, - n0, - _CCI, - {_sSI: _cCCR, _smi: None}, - (_N, _So, _Des, _Ta), - ((CHANNEL_NAME, 1), (SOURCE, 1), (DESTINATIONS, 1), (TAGS_LIST, 0)), -) - -CREATE_CHANNEL_OUTPUT: StaticSchema = ( - 18, - n0, - _CCO, - {_sSI: _cCCRo, _smit: None}, - (_CA, _N, _So, _Des, _Ta), - ( - (CHANNEL_ARN, 0), - (CHANNEL_NAME, 0), - (SOURCE, 0), - (DESTINATIONS, 0), - (TAGS_LIST, 0), - ), -) - -INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION: StaticSchema = ( - 18, - n0, - _IEDSCE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidEventDataStoreCategory", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_SOURCE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidSource", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_CHANNEL: StaticOperationSchema = ( - 23, - n0, - _CC, - 0, - CREATE_CHANNEL_INPUT, - CREATE_CHANNEL_OUTPUT, - ( - CHANNEL_ALREADY_EXISTS_EXCEPTION, - CHANNEL_MAX_LIMIT_EXCEEDED_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_SOURCE_EXCEPTION, - INVALID_TAG_PARAMETER_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - TAGS_LIMIT_EXCEEDED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -DASHBOARD_NAME: StaticSchema = (3, n0, _DN, 0) - -REFRESH_SCHEDULE_FREQUENCY_UNIT: StaticSchema = ( - 14, - n0, - _RSFU, - 0, - (_HOURS, _DAYS), - ((-1, {_sV: _HOURS}), (-1, {_sV: _DAYS})), -) - -REFRESH_SCHEDULE_FREQUENCY_VALUE: StaticSchema = (7, n0, _RSFV, 0) - -REFRESH_SCHEDULE_FREQUENCY: StaticSchema = ( - 18, - n0, - _RSF, - 0, - (_U, _V), - ((REFRESH_SCHEDULE_FREQUENCY_UNIT, 0), (REFRESH_SCHEDULE_FREQUENCY_VALUE, 0)), -) - -REFRESH_SCHEDULE_STATUS: StaticSchema = ( - 14, - n0, - _RSS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -TIME_OF_DAY: StaticSchema = (3, n0, _TOD, 0) - -REFRESH_SCHEDULE: StaticSchema = ( - 18, - n0, - _RS, - 0, - (_Fr, _St, _TOD), - ((REFRESH_SCHEDULE_FREQUENCY, 0), (REFRESH_SCHEDULE_STATUS, 0), (TIME_OF_DAY, 0)), -) - -TERMINATION_PROTECTION_ENABLED: StaticSchema = (2, n0, _TPE, 0) - -QUERY_PARAMETER: StaticSchema = (3, n0, _QP, 0) - -QUERY_PARAMETERS: StaticSchema = (16, n0, _QPu, 0, (_m,), ((QUERY_PARAMETER, 0),)) - -QUERY_STATEMENT: StaticSchema = (3, n0, _QSu, 0) - -VIEW_PROPERTIES_KEY: StaticSchema = (3, n0, _VPK, 0) - -VIEW_PROPERTIES_VALUE: StaticSchema = (3, n0, _VPV, 0) - -VIEW_PROPERTIES_MAP: StaticSchema = ( - 17, - n0, - _VPM, - 0, - (_k, _v), - ((VIEW_PROPERTIES_KEY, 0), (VIEW_PROPERTIES_VALUE, 0)), -) - -REQUEST_WIDGET: StaticSchema = ( - 18, - n0, - _RW, - 0, - (_QSu, _QPu, _VP), - ((QUERY_STATEMENT, 1), (QUERY_PARAMETERS, 0), (VIEW_PROPERTIES_MAP, 1)), -) - -REQUEST_WIDGET_LIST: StaticSchema = (16, n0, _RWL, 0, (_m,), ((REQUEST_WIDGET, 0),)) - -CREATE_DASHBOARD_INPUT: StaticSchema = ( - 18, - n0, - _CDI, - {_sSI: _cCDR, _smi: None}, - (_N, _RS, _TL, _TPE, _W), - ( - (DASHBOARD_NAME, 1), - (REFRESH_SCHEDULE, 0), - (TAGS_LIST, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - (REQUEST_WIDGET_LIST, 0), - ), -) - -DASHBOARD_ARN: StaticSchema = (3, n0, _DA, 0) - -DASHBOARD_TYPE: StaticSchema = ( - 14, - n0, - _DTa, - 0, - (_MANAGED, _CUSTOM), - ((-1, {_sV: _MANAGED}), (-1, {_sV: _CUSTOM})), -) - -QUERY_ALIAS: StaticSchema = (3, n0, _QA, 0) - -WIDGET: StaticSchema = ( - 18, - n0, - _Wi, - 0, - (_QA, _QSu, _QPu, _VP), - ( - (QUERY_ALIAS, 0), - (QUERY_STATEMENT, 0), - (QUERY_PARAMETERS, 0), - (VIEW_PROPERTIES_MAP, 0), - ), -) - -WIDGET_LIST: StaticSchema = (16, n0, _WL, 0, (_m,), ((WIDGET, 0),)) - -CREATE_DASHBOARD_OUTPUT: StaticSchema = ( - 18, - n0, - _CDO, - {_sSI: _cCDRo, _smit: None}, - (_DA, _N, _Ty, _W, _TL, _RS, _TPE), - ( - (DASHBOARD_ARN, 0), - (DASHBOARD_NAME, 0), - (DASHBOARD_TYPE, 0), - (WIDGET_LIST, 0), - (TAGS_LIST, 0), - (REFRESH_SCHEDULE, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - ), -) - -INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION: StaticSchema = ( - 18, - n0, - _IEPE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InsufficientEncryptionPolicy", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_QUERY_STATEMENT_EXCEPTION: StaticSchema = ( - 18, - n0, - _IQSE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidQueryStatement", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ServiceQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_DASHBOARD: StaticOperationSchema = ( - 23, - n0, - _CD, - 0, - CREATE_DASHBOARD_INPUT, - CREATE_DASHBOARD_OUTPUT, - ( - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INVALID_QUERY_STATEMENT_EXCEPTION, - INVALID_TAG_PARAMETER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CTANEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CloudTrailAccessNotEnabled", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -EVENT_DATA_STORE_KMS_KEY_ID: StaticSchema = (3, n0, _EDSKKI, 0) - -EVENT_DATA_STORE_NAME: StaticSchema = (3, n0, _EDSN, 0) - -RETENTION_PERIOD: StaticSchema = (7, n0, _RP, 0) - -CREATE_EVENT_DATA_STORE_INPUT: StaticSchema = ( - 18, - n0, - _CEDSI, - {_sSI: _cCEDSR, _smi: None}, - (_N, _AESd, _MRE, _OE, _RP, _TPE, _TL, _KKI, _SI, _BM), - ( - (EVENT_DATA_STORE_NAME, 1), - (ADVANCED_EVENT_SELECTORS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (RETENTION_PERIOD, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - (TAGS_LIST, 0), - (EVENT_DATA_STORE_KMS_KEY_ID, 0), - (BOOLEAN, 0), - (BILLING_MODE, 0), - ), -) - -DATE: StaticSchema = (4, n0, _Da, 0) - -EVENT_DATA_STORE_STATUS: StaticSchema = ( - 14, - n0, - _EDSS, - 0, - (_CREATED, _ENABLED, _PD, _SI_, _SI__, _SI___), - ( - (-1, {_sV: _CREATED}), - (-1, {_sV: _ENABLED}), - (-1, {_sV: _PD}), - (-1, {_sV: _SI_}), - (-1, {_sV: _SI__}), - (-1, {_sV: _SI___}), - ), -) - -CREATE_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _CEDSO, - {_sSI: _cCEDSRo, _smit: None}, - (_EDSA, _N, _St, _AESd, _MRE, _OE, _RP, _TPE, _TL, _CT, _UT, _KKI, _BM), - ( - (EVENT_DATA_STORE_ARN, 0), - (EVENT_DATA_STORE_NAME, 0), - (EVENT_DATA_STORE_STATUS, 0), - (ADVANCED_EVENT_SELECTORS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (RETENTION_PERIOD, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - (TAGS_LIST, 0), - (DATE, 0), - (DATE, 0), - (EVENT_DATA_STORE_KMS_KEY_ID, 0), - (BILLING_MODE, 0), - ), -) - -EVENT_DATA_STORE_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _EDSAEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "EventDataStoreAlreadyExists", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -EVENT_DATA_STORE_MAX_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _EDSMLEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "EventDataStoreMaxLimitExceeded", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION: StaticSchema = ( - 18, - n0, - _IDSAPE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "InsufficientDependencyServiceAccessPermission", - "httpResponseCode": 400, - } - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_EVENT_SELECTORS_EXCEPTION: StaticSchema = ( - 18, - n0, - _IESE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidEventSelectors", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_KMS_KEY_ID_EXCEPTION: StaticSchema = ( - 18, - n0, - _IKKIE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidKmsKeyId", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -KMS_EXCEPTION: StaticSchema = ( - 18, - n0, - _KE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KmsException", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -KMS_KEY_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _KKNFE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KmsKeyNotFound", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ONIAFME, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "OrganizationNotInAllFeaturesMode", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -ORGANIZATIONS_NOT_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ONIUE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "OrganizationsNotInUse", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - { - _s: _c, - _sE: 429, - _aQE: MappingProxyType( - {"code": "ThrottlingException", "httpResponseCode": 429} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_EVENT_DATA_STORE: StaticOperationSchema = ( - 23, - n0, - _CEDS, - 0, - CREATE_EVENT_DATA_STORE_INPUT, - CREATE_EVENT_DATA_STORE_OUTPUT, - ( - CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_ALREADY_EXISTS_EXCEPTION, - EVENT_DATA_STORE_MAX_LIMIT_EXCEEDED_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INVALID_EVENT_SELECTORS_EXCEPTION, - INVALID_KMS_KEY_ID_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_TAG_PARAMETER_EXCEPTION, - KMS_EXCEPTION, - KMS_KEY_NOT_FOUND_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - ORGANIZATIONS_NOT_IN_USE_EXCEPTION, - THROTTLING_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -CLOUD_TRAIL_INVALID_CLIENT_TOKEN_ID_EXCEPTION: StaticSchema = ( - 18, - n0, - _CTICTIE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CloudTrailInvalidClientTokenId", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CLOUD_WATCH_LOGS_DELIVERY_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _CWLDUE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CloudWatchLogsDeliveryUnavailable", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_TRAIL_INPUT: StaticSchema = ( - 18, - n0, - _CTI, - {_sSI: _cCTR, _smi: None}, - (_N, _SBN, _SKP, _STN, _IGSE, _IMRT, _ELFV, _CWLLGA, _CWLRA, _KKI, _IOT, _TL, _RL), - ( - (STRING, 1), - (STRING, 1), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (TAGS_LIST, 0), - (BOOLEAN, 0), - ), -) - -CREATE_TRAIL_OUTPUT: StaticSchema = ( - 18, - n0, - _CTO, - {_sSI: _cCTRo, _smit: None}, - ( - _N, - _SBN, - _SKP, - _STN, - _STARN, - _IGSE, - _IMRT, - _TARN, - _LFVE, - _CWLLGA, - _CWLRA, - _KKI, - _IOT, - _RL, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISBPE, - { - _s: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "InsufficientS3BucketPolicy", "httpResponseCode": 403} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INSUFFICIENT_SNS_TOPIC_POLICY_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISTPE, - { - _s: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "InsufficientSnsTopicPolicy", "httpResponseCode": 403} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_CLOUD_WATCH_LOGS_LOG_GROUP_ARN_EXCEPTION: StaticSchema = ( - 18, - n0, - _ICWLLGAE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidCloudWatchLogsLogGroupArn", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_CLOUD_WATCH_LOGS_ROLE_ARN_EXCEPTION: StaticSchema = ( - 18, - n0, - _ICWLRAE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidCloudWatchLogsRoleArn", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_PARAMETER_COMBINATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPCE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidParameterCombinationError", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_S3_BUCKET_NAME_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISBNE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidS3BucketName", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_S3_PREFIX_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISPE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidS3Prefix", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_SNS_TOPIC_NAME_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISTNE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidSnsTopicName", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -KMS_KEY_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _KKDE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KmsKeyDisabled", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -MAXIMUM_NUMBER_OF_TRAILS_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _MNOTEE, - { - _s: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "MaximumNumberOfTrailsExceeded", "httpResponseCode": 403} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -S3_BUCKET_DOES_NOT_EXIST_EXCEPTION: StaticSchema = ( - 18, - n0, - _SBDNEE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "S3BucketDoesNotExist", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -TRAIL_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TAEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "TrailAlreadyExists", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -TRAIL_NOT_PROVIDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _TNPE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "TrailNotProvided", "httpResponseCode": 404}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_TRAIL: StaticOperationSchema = ( - 23, - n0, - _CTr, - 0, - CREATE_TRAIL_INPUT, - CREATE_TRAIL_OUTPUT, - ( - CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, - CLOUD_TRAIL_INVALID_CLIENT_TOKEN_ID_EXCEPTION, - CLOUD_WATCH_LOGS_DELIVERY_UNAVAILABLE_EXCEPTION, - CONFLICT_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION, - INSUFFICIENT_SNS_TOPIC_POLICY_EXCEPTION, - INVALID_CLOUD_WATCH_LOGS_LOG_GROUP_ARN_EXCEPTION, - INVALID_CLOUD_WATCH_LOGS_ROLE_ARN_EXCEPTION, - INVALID_KMS_KEY_ID_EXCEPTION, - INVALID_PARAMETER_COMBINATION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_S3_BUCKET_NAME_EXCEPTION, - INVALID_S3_PREFIX_EXCEPTION, - INVALID_SNS_TOPIC_NAME_EXCEPTION, - INVALID_TAG_PARAMETER_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - KMS_EXCEPTION, - KMS_KEY_DISABLED_EXCEPTION, - KMS_KEY_NOT_FOUND_EXCEPTION, - MAXIMUM_NUMBER_OF_TRAILS_EXCEEDED_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - ORGANIZATIONS_NOT_IN_USE_EXCEPTION, - S3_BUCKET_DOES_NOT_EXIST_EXCEPTION, - TAGS_LIMIT_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - TRAIL_ALREADY_EXISTS_EXCEPTION, - TRAIL_NOT_PROVIDED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -DELETE_CHANNEL_INPUT: StaticSchema = ( - 18, - n0, - _DCI, - {_sSI: _cDCR, _smi: None}, - (_C,), - ((CHANNEL_ARN, 1),), -) - -DELETE_CHANNEL_OUTPUT: StaticSchema = (18, n0, _DCO, {_sSI: _cDCRo, _smit: None}) - -DELETE_CHANNEL: StaticOperationSchema = ( - 23, - n0, - _DC, - 0, - DELETE_CHANNEL_INPUT, - DELETE_CHANNEL_OUTPUT, - ( - CHANNEL_ARN_INVALID_EXCEPTION, - CHANNEL_NOT_FOUND_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -DELETE_DASHBOARD_INPUT: StaticSchema = ( - 18, - n0, - _DDI, - {_sSI: _cDDR, _smi: None}, - (_DI,), - ((DASHBOARD_ARN, 1),), -) - -DELETE_DASHBOARD_OUTPUT: StaticSchema = (18, n0, _DDO, {_sSI: _cDDRo, _smit: None}) - -DELETE_DASHBOARD: StaticOperationSchema = ( - 23, - n0, - _DD, - 0, - DELETE_DASHBOARD_INPUT, - DELETE_DASHBOARD_OUTPUT, - (CONFLICT_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION, UNSUPPORTED_OPERATION_EXCEPTION), -) - -DELETE_EVENT_DATA_STORE_INPUT: StaticSchema = ( - 18, - n0, - _DEDSI, - {_sSI: _cDEDSR, _smi: None}, - (_EDS,), - ((EVENT_DATA_STORE_ARN, 1),), -) - -DELETE_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _DEDSO, - {_sSI: _cDEDSRo, _smit: None}, -) - -EVENT_DATA_STORE_FEDERATION_ENABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _EDSFEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "EventDataStoreFederationEnabled", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -EVENT_DATA_STORE_HAS_ONGOING_IMPORT_EXCEPTION: StaticSchema = ( - 18, - n0, - _EDSHOIE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "EventDataStoreHasOngoingImport", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -EVENT_DATA_STORE_TERMINATION_PROTECTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _EDSTPE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "EventDataStoreTerminationProtectedException", - "httpResponseCode": 400, - } - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DELETE_EVENT_DATA_STORE: StaticOperationSchema = ( - 23, - n0, - _DEDS, - 0, - DELETE_EVENT_DATA_STORE_INPUT, - DELETE_EVENT_DATA_STORE_OUTPUT, - ( - CHANNEL_EXISTS_FOR_EDS_EXCEPTION, - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_FEDERATION_ENABLED_EXCEPTION, - EVENT_DATA_STORE_HAS_ONGOING_IMPORT_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - EVENT_DATA_STORE_TERMINATION_PROTECTED_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -RESOURCE_ARN: StaticSchema = (3, n0, _RAe, 0) - -DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_sSI: _cDRPR, _smi: None}, - (_RAe,), - ((RESOURCE_ARN, 1),), -) - -DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DRPO, - {_sSI: _cDRPRo, _smit: None}, -) - -RESOURCE_ARN_NOT_VALID_EXCEPTION: StaticSchema = ( - 18, - n0, - _RARNNVE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ResourceARNNotValid", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -RESOURCE_POLICY_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RPNFE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "ResourcePolicyNotFound", "httpResponseCode": 404} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DELETE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - 0, - DELETE_RESOURCE_POLICY_INPUT, - DELETE_RESOURCE_POLICY_OUTPUT, - ( - CONFLICT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - RESOURCE_ARN_NOT_VALID_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RESOURCE_POLICY_NOT_FOUND_EXCEPTION, - RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -DELETE_TRAIL_INPUT: StaticSchema = ( - 18, - n0, - _DTI, - {_sSI: _cDTR, _smi: None}, - (_N,), - ((STRING, 1),), -) - -DELETE_TRAIL_OUTPUT: StaticSchema = (18, n0, _DTO, {_sSI: _cDTRo, _smit: None}) - -INVALID_HOME_REGION_EXCEPTION: StaticSchema = ( - 18, - n0, - _IHRE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidHomeRegion", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -TRAIL_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _TNFE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "TrailNotFound", "httpResponseCode": 404}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DELETE_TRAIL: StaticOperationSchema = ( - 23, - n0, - _DTe, - 0, - DELETE_TRAIL_INPUT, - DELETE_TRAIL_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - CONFLICT_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_HOME_REGION_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - THROTTLING_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT: StaticSchema = ( - 18, - n0, - _DODAI, - {_sSI: _cDODAR, _smi: None}, - (_DAAI,), - ((ACCOUNT_ID, 1),), -) - -DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT: StaticSchema = ( - 18, - n0, - _DODAO, - {_sSI: _cDODARo, _smit: None}, -) - -NOT_ORGANIZATION_MANAGEMENT_ACCOUNT_EXCEPTION: StaticSchema = ( - 18, - n0, - _NOMAEo, - { - _s: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "NotOrganizationManagementAccount", "httpResponseCode": 403} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DEREGISTER_ORGANIZATION_DELEGATED_ADMIN: StaticOperationSchema = ( - 23, - n0, - _DODA, - 0, - DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT, - DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT, - ( - ACCOUNT_NOT_FOUND_EXCEPTION, - ACCOUNT_NOT_REGISTERED_EXCEPTION, - CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, - CONFLICT_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_ORGANIZATION_MANAGEMENT_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - ORGANIZATIONS_NOT_IN_USE_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -REFRESH_ID: StaticSchema = (3, n0, _RIe, 0) - -DESCRIBE_QUERY_INPUT: StaticSchema = ( - 18, - n0, - _DQI, - {_sSI: _cDQR, _smi: None}, - (_EDS, _QI, _QA, _RIe, _EDSOAI), - ( - (EVENT_DATA_STORE_ARN, 0), - (UUID, 0), - (QUERY_ALIAS, 0), - (REFRESH_ID, 0), - (ACCOUNT_ID, 0), - ), -) - -DELIVERY_S3_URI: StaticSchema = (3, n0, _DSU, 0) - -DELIVERY_STATUS: StaticSchema = ( - 14, - n0, - _DS, - 0, - (_SUCCESS, _FAILED, _FSF, _PENDING, _RNF, _AD, _ADSF, _CANCELLED, _UNKNOWN), - ( - (-1, {_sV: _SUCCESS}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _FSF}), - (-1, {_sV: _PENDING}), - (-1, {_sV: _RNF}), - (-1, {_sV: _AD}), - (-1, {_sV: _ADSF}), - (-1, {_sV: _CANCELLED}), - (-1, {_sV: _UNKNOWN}), - ), -) - -PROMPT: StaticSchema = (3, n0, _P, 0) - -LONG: StaticSchema = (8, n0, _Lo, 0) - -INTEGER: StaticSchema = (7, n0, _I, 0) - -QUERY_STATISTICS_FOR_DESCRIBE_QUERY: StaticSchema = ( - 18, - n0, - _QSFDQ, - 0, - (_EMv, _ES, _BS, _ETIM, _CTre), - ((LONG, 0), (LONG, 0), (LONG, 0), (INTEGER, 0), (DATE, 0)), -) - -DESCRIBE_QUERY_OUTPUT: StaticSchema = ( - 18, - n0, - _DQO, - {_sSI: _cDQRo, _smit: None}, - (_QI, _QSue, _QS, _QSuer, _EM, _DSU, _DS, _P, _EDSOAI), - ( - (UUID, 0), - (QUERY_STATEMENT, 0), - (QUERY_STATUS, 0), - (QUERY_STATISTICS_FOR_DESCRIBE_QUERY, 0), - (ERROR_MESSAGE, 0), - (DELIVERY_S3_URI, 0), - (DELIVERY_STATUS, 0), - (PROMPT, 0), - (ACCOUNT_ID, 0), - ), -) - -DESCRIBE_QUERY: StaticOperationSchema = ( - 23, - n0, - _DQ, - 0, - DESCRIBE_QUERY_INPUT, - DESCRIBE_QUERY_OUTPUT, - ( - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - QUERY_ID_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -TRAIL_NAME_LIST: StaticSchema = (16, n0, _TNL, 0, (_m,), ((STRING, 0),)) - -DESCRIBE_TRAILS_INPUT: StaticSchema = ( - 18, - n0, - _DTIe, - {_sSI: _cDTRom, _smi: None}, - (_tNL, _iST), - ((TRAIL_NAME_LIST, 0), (BOOLEAN, 0)), -) - -TRAIL: StaticSchema = ( - 18, - n0, - _Tr, - 0, - ( - _N, - _SBN, - _SKP, - _STN, - _STARN, - _IGSE, - _IMRT, - _HR, - _TARN, - _LFVE, - _CWLLGA, - _CWLRA, - _KKI, - _HCES, - _HIS, - _IOT, - _RL, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -TRAIL_LIST: StaticSchema = (16, n0, _TLr, 0, (_m,), ((TRAIL, 0),)) - -DESCRIBE_TRAILS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTOe, - {_sSI: _cDTRoma, _smit: None}, - (_tL,), - ((TRAIL_LIST, 0),), -) - -DESCRIBE_TRAILS: StaticOperationSchema = ( - 23, - n0, - _DTes, - 0, - DESCRIBE_TRAILS_INPUT, - DESCRIBE_TRAILS_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -CONCURRENT_MODIFICATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _CME, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ConcurrentModification", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -DISABLE_FEDERATION_INPUT: StaticSchema = ( - 18, - n0, - _DFI, - {_sSI: _cDFR, _smi: None}, - (_EDS,), - ((EVENT_DATA_STORE_ARN, 1),), -) - -FEDERATION_STATUS: StaticSchema = ( - 14, - n0, - _FSe, - 0, - (_ENABLING, _ENABLED, _DISABLING, _DISABLED), - ( - (-1, {_sV: _ENABLING}), - (-1, {_sV: _ENABLED}), - (-1, {_sV: _DISABLING}), - (-1, {_sV: _DISABLED}), - ), -) - -DISABLE_FEDERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DFO, - {_sSI: _cDFRo, _smit: None}, - (_EDSA, _FSe), - ((EVENT_DATA_STORE_ARN, 0), (FEDERATION_STATUS, 0)), -) - -DISABLE_FEDERATION: StaticOperationSchema = ( - 23, - n0, - _DF, - 0, - DISABLE_FEDERATION_INPUT, - DISABLE_FEDERATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, - CONCURRENT_MODIFICATION_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - ORGANIZATIONS_NOT_IN_USE_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -FEDERATION_ROLE_ARN: StaticSchema = (3, n0, _FRA, 0) - -ENABLE_FEDERATION_INPUT: StaticSchema = ( - 18, - n0, - _EFI, - {_sSI: _cEFR, _smi: None}, - (_EDS, _FRA), - ((EVENT_DATA_STORE_ARN, 1), (FEDERATION_ROLE_ARN, 1)), -) - -ENABLE_FEDERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _EFO, - {_sSI: _cEFRo, _smit: None}, - (_EDSA, _FSe, _FRA), - ((EVENT_DATA_STORE_ARN, 0), (FEDERATION_STATUS, 0), (FEDERATION_ROLE_ARN, 0)), -) - -ENABLE_FEDERATION: StaticOperationSchema = ( - 23, - n0, - _EF, - 0, - ENABLE_FEDERATION_INPUT, - ENABLE_FEDERATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, - CONCURRENT_MODIFICATION_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_FEDERATION_ENABLED_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - ORGANIZATIONS_NOT_IN_USE_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -EVENT_DATA_STORE_LIST: StaticSchema = ( - 16, - n0, - _EDSL, - 0, - (_m,), - ((EVENT_DATA_STORE_ARN, 0),), -) - -GENERATE_QUERY_INPUT: StaticSchema = ( - 18, - n0, - _GQI, - {_sSI: _cGQR, _smi: None}, - (_EDSv, _P), - ((EVENT_DATA_STORE_LIST, 1), (PROMPT, 1)), -) - -GENERATE_QUERY_OUTPUT: StaticSchema = ( - 18, - n0, - _GQO, - {_sSI: _cGQRo, _smit: None}, - (_QSu, _QA, _EDSOAI), - ((QUERY_STATEMENT, 0), (QUERY_ALIAS, 0), (ACCOUNT_ID, 0)), -) - -GENERATE_RESPONSE_EXCEPTION: StaticSchema = ( - 18, - n0, - _GRE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "GenerateResponse", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -GENERATE_QUERY: StaticOperationSchema = ( - 23, - n0, - _GQ, - 0, - GENERATE_QUERY_INPUT, - GENERATE_QUERY_OUTPUT, - ( - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - GENERATE_RESPONSE_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_CHANNEL_INPUT: StaticSchema = ( - 18, - n0, - _GCI, - {_sSI: _cGCR, _smi: None}, - (_C,), - ((CHANNEL_ARN, 1),), -) - -INGESTION_STATUS: StaticSchema = ( - 18, - n0, - _IS, - 0, - (_LIST, _LISEID, _LIEC, _LIAT, _LIAEID), - ((DATE, 0), (UUID, 0), (ERROR_MESSAGE, 0), (DATE, 0), (UUID, 0)), -) - -SOURCE_CONFIG: StaticSchema = ( - 18, - n0, - _SC, - 0, - (_ATAR, _AESd), - ((BOOLEAN, 0), (ADVANCED_EVENT_SELECTORS, 0)), -) - -GET_CHANNEL_OUTPUT: StaticSchema = ( - 18, - n0, - _GCO, - {_sSI: _cGCRo, _smit: None}, - (_CA, _N, _So, _SC, _Des, _IS), - ( - (CHANNEL_ARN, 0), - (CHANNEL_NAME, 0), - (SOURCE, 0), - (SOURCE_CONFIG, 0), - (DESTINATIONS, 0), - (INGESTION_STATUS, 0), - ), -) - -GET_CHANNEL: StaticOperationSchema = ( - 23, - n0, - _GC, - 0, - GET_CHANNEL_INPUT, - GET_CHANNEL_OUTPUT, - ( - CHANNEL_ARN_INVALID_EXCEPTION, - CHANNEL_NOT_FOUND_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_DASHBOARD_INPUT: StaticSchema = ( - 18, - n0, - _GDI, - {_sSI: _cGDR, _smi: None}, - (_DI,), - ((DASHBOARD_ARN, 1),), -) - -DASHBOARD_STATUS: StaticSchema = ( - 14, - n0, - _DSa, - 0, - (_CREATING, _CREATED, _UPDATING, _UPDATED, _DELETING), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _CREATED}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _UPDATED}), - (-1, {_sV: _DELETING}), - ), -) - -GET_DASHBOARD_OUTPUT: StaticSchema = ( - 18, - n0, - _GDO, - {_sSI: _cGDRo, _smit: None}, - (_DA, _Ty, _St, _W, _RS, _CT, _UT, _LRI, _LRFR, _TPE), - ( - (DASHBOARD_ARN, 0), - (DASHBOARD_TYPE, 0), - (DASHBOARD_STATUS, 0), - (WIDGET_LIST, 0), - (REFRESH_SCHEDULE, 0), - (DATE, 0), - (DATE, 0), - (REFRESH_ID, 0), - (ERROR_MESSAGE, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - ), -) - -GET_DASHBOARD: StaticOperationSchema = ( - 23, - n0, - _GD, - 0, - GET_DASHBOARD_INPUT, - GET_DASHBOARD_OUTPUT, - (RESOURCE_NOT_FOUND_EXCEPTION, UNSUPPORTED_OPERATION_EXCEPTION), -) - -GET_EVENT_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GECI, - {_sSI: _cGECR, _smi: None}, - (_TN, _EDS), - ((STRING, 0), (STRING, 0)), -) - -OPERATOR_TARGET_LIST_MEMBER: StaticSchema = (3, n0, _OTLM, 0) - -OPERATOR_TARGET_LIST: StaticSchema = ( - 16, - n0, - _OTL, - 0, - (_m,), - ((OPERATOR_TARGET_LIST_MEMBER, 0),), -) - -TYPE: StaticSchema = (14, n0, _Ty, 0, (_TC, _RC), ((-1, {_sV: _TC}), (-1, {_sV: _RC}))) - -CONTEXT_KEY_SELECTOR: StaticSchema = ( - 18, - n0, - _CKS, - 0, - (_Ty, _E), - ((TYPE, 1), (OPERATOR_TARGET_LIST, 1)), -) - -CONTEXT_KEY_SELECTORS: StaticSchema = ( - 16, - n0, - _CKSo, - 0, - (_m,), - ((CONTEXT_KEY_SELECTOR, 0),), -) - -MAX_EVENT_SIZE: StaticSchema = ( - 14, - n0, - _MES, - 0, - (_Sta, _La), - ((-1, {_sV: _Sta}), (-1, {_sV: _La})), -) - -GET_EVENT_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GECO, - {_sSI: _cGECRo, _smit: None}, - (_TARN, _EDSA, _MES, _CKSo, _ACg), - ( - (STRING, 0), - (EVENT_DATA_STORE_ARN, 0), - (MAX_EVENT_SIZE, 0), - (CONTEXT_KEY_SELECTORS, 0), - (AGGREGATION_CONFIGURATIONS, 0), - ), -) - -INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION: StaticSchema = ( - 18, - n0, - _IEDSSE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidEventDataStoreStatus", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -GET_EVENT_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GEC, - 0, - GET_EVENT_CONFIGURATION_INPUT, - GET_EVENT_CONFIGURATION_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, - INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, - INVALID_PARAMETER_COMBINATION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_EVENT_DATA_STORE_INPUT: StaticSchema = ( - 18, - n0, - _GEDSI, - {_sSI: _cGEDSR, _smi: None}, - (_EDS,), - ((EVENT_DATA_STORE_ARN, 1),), -) - -PARTITION_KEY_NAME: StaticSchema = (3, n0, _PKN, 0) - -PARTITION_KEY_TYPE: StaticSchema = (3, n0, _PKT, 0) - -PARTITION_KEY: StaticSchema = ( - 18, - n0, - _PK, - 0, - (_N, _Ty), - ((PARTITION_KEY_NAME, 1), (PARTITION_KEY_TYPE, 1)), -) - -PARTITION_KEY_LIST: StaticSchema = (16, n0, _PKL, 0, (_m,), ((PARTITION_KEY, 0),)) - -GET_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _GEDSO, - {_sSI: _cGEDSRo, _smit: None}, - ( - _EDSA, - _N, - _St, - _AESd, - _MRE, - _OE, - _RP, - _TPE, - _CT, - _UT, - _KKI, - _BM, - _FSe, - _FRA, - _PKa, - ), - ( - (EVENT_DATA_STORE_ARN, 0), - (EVENT_DATA_STORE_NAME, 0), - (EVENT_DATA_STORE_STATUS, 0), - (ADVANCED_EVENT_SELECTORS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (RETENTION_PERIOD, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - (DATE, 0), - (DATE, 0), - (EVENT_DATA_STORE_KMS_KEY_ID, 0), - (BILLING_MODE, 0), - (FEDERATION_STATUS, 0), - (FEDERATION_ROLE_ARN, 0), - (PARTITION_KEY_LIST, 0), - ), -) - -GET_EVENT_DATA_STORE: StaticOperationSchema = ( - 23, - n0, - _GEDS, - 0, - GET_EVENT_DATA_STORE_INPUT, - GET_EVENT_DATA_STORE_OUTPUT, - ( - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_EVENT_SELECTORS_INPUT: StaticSchema = ( - 18, - n0, - _GESI, - {_sSI: _cGESR, _smi: None}, - (_TN,), - ((STRING, 1),), -) - -DATA_RESOURCE_VALUES: StaticSchema = (16, n0, _DRV, 0, (_m,), ((STRING, 0),)) - -DATA_RESOURCE: StaticSchema = ( - 18, - n0, - _DR, - 0, - (_Ty, _Va), - ((STRING, 0), (DATA_RESOURCE_VALUES, 0)), -) - -DATA_RESOURCES: StaticSchema = (16, n0, _DRa, 0, (_m,), ((DATA_RESOURCE, 0),)) - -EXCLUDE_MANAGEMENT_EVENT_SOURCES: StaticSchema = ( - 16, - n0, - _EMES, - 0, - (_m,), - ((STRING, 0),), -) - -READ_WRITE_TYPE: StaticSchema = ( - 14, - n0, - _RWT, - 0, - (_RO, _WO, _A), - ((-1, {_sV: _RO}), (-1, {_sV: _WO}), (-1, {_sV: _A})), -) - -EVENT_SELECTOR: StaticSchema = ( - 18, - n0, - _ESv, - 0, - (_RWT, _IME, _DRa, _EMES), - ( - (READ_WRITE_TYPE, 0), - (BOOLEAN, 0), - (DATA_RESOURCES, 0), - (EXCLUDE_MANAGEMENT_EVENT_SOURCES, 0), - ), -) - -EVENT_SELECTORS: StaticSchema = (16, n0, _ESve, 0, (_m,), ((EVENT_SELECTOR, 0),)) - -GET_EVENT_SELECTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _GESO, - {_sSI: _cGESRo, _smit: None}, - (_TARN, _ESve, _AESd), - ((STRING, 0), (EVENT_SELECTORS, 0), (ADVANCED_EVENT_SELECTORS, 0)), -) - -GET_EVENT_SELECTORS: StaticOperationSchema = ( - 23, - n0, - _GES, - 0, - GET_EVENT_SELECTORS_INPUT, - GET_EVENT_SELECTORS_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_IMPORT_INPUT: StaticSchema = ( - 18, - n0, - _GII, - {_sSI: _cGIR, _smi: None}, - (_II,), - ((UUID, 1),), -) - -IMPORT_DESTINATIONS: StaticSchema = ( - 16, - n0, - _ID, - 0, - (_m,), - ((EVENT_DATA_STORE_ARN, 0),), -) - -S3_IMPORT_SOURCE: StaticSchema = ( - 18, - n0, - _SIS, - 0, - (_SLU, _SBR, _SBARA), - ((STRING, 1), (STRING, 1), (STRING, 1)), -) - -IMPORT_SOURCE: StaticSchema = (18, n0, _ISm, 0, (_S_,), ((S3_IMPORT_SOURCE, 1),)) - -IMPORT_STATISTICS: StaticSchema = ( - 18, - n0, - _ISmp, - 0, - (_PF, _PC, _FC, _ECv, _FE), - ((LONG, 0), (LONG, 0), (LONG, 0), (LONG, 0), (LONG, 0)), -) - -IMPORT_STATUS: StaticSchema = ( - 14, - n0, - _ISmpo, - 0, - (_INITIALIZING, _IP, _FAILED, _STOPPED, _COMPLETED), - ( - (-1, {_sV: _INITIALIZING}), - (-1, {_sV: _IP}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _STOPPED}), - (-1, {_sV: _COMPLETED}), - ), -) - -GET_IMPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _GIO, - {_sSI: _cGIRo, _smit: None}, - (_II, _Des, _ISm, _SET, _EET, _ISmpo, _CT, _UT, _ISmp), - ( - (UUID, 0), - (IMPORT_DESTINATIONS, 0), - (IMPORT_SOURCE, 0), - (DATE, 0), - (DATE, 0), - (IMPORT_STATUS, 0), - (DATE, 0), - (DATE, 0), - (IMPORT_STATISTICS, 0), - ), -) - -IMPORT_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _INFE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "ImportNotFound", "httpResponseCode": 404}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -GET_IMPORT: StaticOperationSchema = ( - 23, - n0, - _GI, - 0, - GET_IMPORT_INPUT, - GET_IMPORT_OUTPUT, - ( - IMPORT_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_INSIGHT_SELECTORS_INPUT: StaticSchema = ( - 18, - n0, - _GISI, - {_sSI: _cGISR, _smi: None}, - (_TN, _EDS), - ((STRING, 0), (EVENT_DATA_STORE_ARN, 0)), -) - -SOURCE_EVENT_CATEGORY: StaticSchema = ( - 14, - n0, - _SEC, - 0, - (_Ma, _D), - ((-1, {_sV: _Ma}), (-1, {_sV: _D})), -) - -SOURCE_EVENT_CATEGORIES: StaticSchema = ( - 16, - n0, - _SECo, - 0, - (_m,), - ((SOURCE_EVENT_CATEGORY, 0),), -) - -INSIGHT_TYPE: StaticSchema = ( - 14, - n0, - _IT, - 0, - (_ACRI, _AERI), - ((-1, {_sV: _ACRI}), (-1, {_sV: _AERI})), -) - -INSIGHT_SELECTOR: StaticSchema = ( - 18, - n0, - _ISn, - 0, - (_IT, _ECve), - ((INSIGHT_TYPE, 0), (SOURCE_EVENT_CATEGORIES, 0)), -) - -INSIGHT_SELECTORS: StaticSchema = (16, n0, _ISns, 0, (_m,), ((INSIGHT_SELECTOR, 0),)) - -GET_INSIGHT_SELECTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _GISO, - {_sSI: _cGISRo, _smit: None}, - (_TARN, _ISns, _EDSA, _IDn), - ( - (STRING, 0), - (INSIGHT_SELECTORS, 0), - (EVENT_DATA_STORE_ARN, 0), - (EVENT_DATA_STORE_ARN, 0), - ), -) - -INSIGHT_NOT_ENABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _INEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InsightNotEnabled", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -GET_INSIGHT_SELECTORS: StaticOperationSchema = ( - 23, - n0, - _GIS, - 0, - GET_INSIGHT_SELECTORS_INPUT, - GET_INSIGHT_SELECTORS_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - INSIGHT_NOT_ENABLED_EXCEPTION, - INVALID_PARAMETER_COMBINATION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - THROTTLING_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -MAX_QUERY_RESULTS: StaticSchema = (7, n0, _MQR, 0) - -PAGINATION_TOKEN: StaticSchema = (3, n0, _PT, 0) - -GET_QUERY_RESULTS_INPUT: StaticSchema = ( - 18, - n0, - _GQRI, - {_sSI: _cGQRR, _smi: None}, - (_EDS, _QI, _NT, _MQR, _EDSOAI), - ( - (EVENT_DATA_STORE_ARN, 0), - (UUID, 1), - (PAGINATION_TOKEN, 0), - (MAX_QUERY_RESULTS, 0), - (ACCOUNT_ID, 0), - ), -) - -QUERY_RESULT_KEY: StaticSchema = (3, n0, _QRK, 0) - -QUERY_RESULT_VALUE: StaticSchema = (3, n0, _QRV, 0) - -QUERY_RESULT_COLUMN: StaticSchema = ( - 17, - n0, - _QRC, - 0, - (_k, _v), - ((QUERY_RESULT_KEY, 0), (QUERY_RESULT_VALUE, 0)), -) - -QUERY_RESULT_ROW: StaticSchema = (16, n0, _QRR, 0, (_m,), ((QUERY_RESULT_COLUMN, 0),)) - -QUERY_RESULT_ROWS: StaticSchema = (16, n0, _QRRu, 0, (_m,), ((QUERY_RESULT_ROW, 0),)) - -QUERY_STATISTICS: StaticSchema = ( - 18, - n0, - _QSuer, - 0, - (_RCe, _TRC, _BS), - ((INTEGER, 0), (INTEGER, 0), (LONG, 0)), -) - -GET_QUERY_RESULTS_OUTPUT: StaticSchema = ( - 18, - n0, - _GQRO, - {_sSI: _cGQRRo, _smit: None}, - (_QS, _QSuer, _QRRu, _NT, _EM), - ( - (QUERY_STATUS, 0), - (QUERY_STATISTICS, 0), - (QUERY_RESULT_ROWS, 0), - (PAGINATION_TOKEN, 0), - (ERROR_MESSAGE, 0), - ), -) - -INVALID_MAX_RESULTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _IMRE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidMaxResults", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_NEXT_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _INTE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidNextToken", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -GET_QUERY_RESULTS: StaticOperationSchema = ( - 23, - n0, - _GQR, - 0, - GET_QUERY_RESULTS_INPUT, - GET_QUERY_RESULTS_OUTPUT, - ( - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INVALID_MAX_RESULTS_EXCEPTION, - INVALID_NEXT_TOKEN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - QUERY_ID_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_sSI: _cGRPR, _smi: None}, - (_RAe,), - ((RESOURCE_ARN, 1),), -) - -RESOURCE_POLICY: StaticSchema = (3, n0, _RPe, 0) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_sSI: _cGRPRo, _smit: None}, - (_RAe, _RPe, _DARP), - ((RESOURCE_ARN, 0), (RESOURCE_POLICY, 0), (RESOURCE_POLICY, 0)), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRP, - 0, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - ( - OPERATION_NOT_PERMITTED_EXCEPTION, - RESOURCE_ARN_NOT_VALID_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RESOURCE_POLICY_NOT_FOUND_EXCEPTION, - RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_TRAIL_INPUT: StaticSchema = ( - 18, - n0, - _GTI, - {_sSI: _cGTR, _smi: None}, - (_N,), - ((STRING, 1),), -) - -GET_TRAIL_OUTPUT: StaticSchema = ( - 18, - n0, - _GTO, - {_sSI: _cGTRo, _smit: None}, - (_Tr,), - ((TRAIL, 0),), -) - -GET_TRAIL: StaticOperationSchema = ( - 23, - n0, - _GT, - 0, - GET_TRAIL_INPUT, - GET_TRAIL_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_TRAIL_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _GTSI, - {_sSI: _cGTSR, _smi: None}, - (_N,), - ((STRING, 1),), -) - -GET_TRAIL_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _GTSO, - {_sSI: _cGTSRo, _smit: None}, - ( - _IL, - _LDE, - _LNE, - _LDT, - _LNT, - _SLT, - _SLTt, - _LCWLDE, - _LCWLDT, - _LDDT, - _LDDE, - _LDAT, - _LNAT, - _LNAS, - _LDAS, - _TLS, - _TLSi, - ), - ( - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (DATE, 0), - (DATE, 0), - (DATE, 0), - (DATE, 0), - (STRING, 0), - (DATE, 0), - (DATE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - ), -) - -GET_TRAIL_STATUS: StaticOperationSchema = ( - 23, - n0, - _GTS, - 0, - GET_TRAIL_STATUS_INPUT, - GET_TRAIL_STATUS_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -LIST_CHANNELS_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LCMRC, 0) - -LIST_CHANNELS_INPUT: StaticSchema = ( - 18, - n0, - _LCI, - {_sSI: _cLCR, _smi: None}, - (_MR, _NT), - ((LIST_CHANNELS_MAX_RESULTS_COUNT, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_CHANNELS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCO, - {_sSI: _cLCRo, _smit: None}, - (_Ch, _NT), - ((CHANNELS, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_CHANNELS: StaticOperationSchema = ( - 23, - n0, - _LC, - 0, - LIST_CHANNELS_INPUT, - LIST_CHANNELS_OUTPUT, - ( - INVALID_NEXT_TOKEN_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -LIST_DASHBOARDS_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LDMRC, 0) - -LIST_DASHBOARDS_INPUT: StaticSchema = ( - 18, - n0, - _LDI, - {_sSI: _cLDR, _smi: None}, - (_NP, _Ty, _NT, _MR), - ( - (DASHBOARD_NAME, 0), - (DASHBOARD_TYPE, 0), - (PAGINATION_TOKEN, 0), - (LIST_DASHBOARDS_MAX_RESULTS_COUNT, 0), - ), -) - -DASHBOARD_DETAIL: StaticSchema = ( - 18, - n0, - _DDa, - 0, - (_DA, _Ty), - ((DASHBOARD_ARN, 0), (DASHBOARD_TYPE, 0)), -) - -DASHBOARDS: StaticSchema = (16, n0, _Das, 0, (_m,), ((DASHBOARD_DETAIL, 0),)) - -LIST_DASHBOARDS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDO, - {_sSI: _cLDRo, _smit: None}, - (_Das, _NT), - ((DASHBOARDS, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_DASHBOARDS: StaticOperationSchema = ( - 23, - n0, - _LD, - 0, - LIST_DASHBOARDS_INPUT, - LIST_DASHBOARDS_OUTPUT, - (UNSUPPORTED_OPERATION_EXCEPTION,), -) - -LIST_EVENT_DATA_STORES_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LEDSMRC, 0) - -LIST_EVENT_DATA_STORES_INPUT: StaticSchema = ( - 18, - n0, - _LEDSI, - {_sSI: _cLEDSR, _smi: None}, - (_NT, _MR), - ((PAGINATION_TOKEN, 0), (LIST_EVENT_DATA_STORES_MAX_RESULTS_COUNT, 0)), -) - -EVENT_DATA_STORE: StaticSchema = ( - 18, - n0, - _EDS, - 0, - (_EDSA, _N, _TPE, _St, _AESd, _MRE, _OE, _RP, _CT, _UT), - ( - (EVENT_DATA_STORE_ARN, 0), - (EVENT_DATA_STORE_NAME, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - (EVENT_DATA_STORE_STATUS, 0), - (ADVANCED_EVENT_SELECTORS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (RETENTION_PERIOD, 0), - (DATE, 0), - (DATE, 0), - ), -) - -EVENT_DATA_STORES: StaticSchema = (16, n0, _EDSv, 0, (_m,), ((EVENT_DATA_STORE, 0),)) - -LIST_EVENT_DATA_STORES_OUTPUT: StaticSchema = ( - 18, - n0, - _LEDSO, - {_sSI: _cLEDSRo, _smit: None}, - (_EDSv, _NT), - ((EVENT_DATA_STORES, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_EVENT_DATA_STORES: StaticOperationSchema = ( - 23, - n0, - _LEDS, - 0, - LIST_EVENT_DATA_STORES_INPUT, - LIST_EVENT_DATA_STORES_OUTPUT, - ( - INVALID_MAX_RESULTS_EXCEPTION, - INVALID_NEXT_TOKEN_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -LIST_IMPORT_FAILURES_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LIFMRC, 0) - -LIST_IMPORT_FAILURES_INPUT: StaticSchema = ( - 18, - n0, - _LIFI, - {_sSI: _cLIFR, _smi: None}, - (_II, _MR, _NT), - ((UUID, 1), (LIST_IMPORT_FAILURES_MAX_RESULTS_COUNT, 0), (PAGINATION_TOKEN, 0)), -) - -IMPORT_FAILURE_STATUS: StaticSchema = ( - 14, - n0, - _IFS, - 0, - (_FAILED, _RETRY, _SUCCEEDED), - ((-1, {_sV: _FAILED}), (-1, {_sV: _RETRY}), (-1, {_sV: _SUCCEEDED})), -) - -IMPORT_FAILURE_LIST_ITEM: StaticSchema = ( - 18, - n0, - _IFLI, - 0, - (_L, _St, _ET, _EM, _LUT), - ((STRING, 0), (IMPORT_FAILURE_STATUS, 0), (STRING, 0), (STRING, 0), (DATE, 0)), -) - -IMPORT_FAILURE_LIST: StaticSchema = ( - 16, - n0, - _IFL, - 0, - (_m,), - ((IMPORT_FAILURE_LIST_ITEM, 0),), -) - -LIST_IMPORT_FAILURES_OUTPUT: StaticSchema = ( - 18, - n0, - _LIFO, - {_sSI: _cLIFRo, _smit: None}, - (_Fa, _NT), - ((IMPORT_FAILURE_LIST, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_IMPORT_FAILURES: StaticOperationSchema = ( - 23, - n0, - _LIF, - 0, - LIST_IMPORT_FAILURES_INPUT, - LIST_IMPORT_FAILURES_OUTPUT, - ( - INVALID_NEXT_TOKEN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -LIST_IMPORTS_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LIMRC, 0) - -LIST_IMPORTS_INPUT: StaticSchema = ( - 18, - n0, - _LII, - {_sSI: _cLIR, _smi: None}, - (_MR, _De, _ISmpo, _NT), - ( - (LIST_IMPORTS_MAX_RESULTS_COUNT, 0), - (EVENT_DATA_STORE_ARN, 0), - (IMPORT_STATUS, 0), - (PAGINATION_TOKEN, 0), - ), -) - -IMPORTS_LIST_ITEM: StaticSchema = ( - 18, - n0, - _ILI, - 0, - (_II, _ISmpo, _Des, _CT, _UT), - ((UUID, 0), (IMPORT_STATUS, 0), (IMPORT_DESTINATIONS, 0), (DATE, 0), (DATE, 0)), -) - -IMPORTS_LIST: StaticSchema = (16, n0, _ILm, 0, (_m,), ((IMPORTS_LIST_ITEM, 0),)) - -LIST_IMPORTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIO, - {_sSI: _cLIRo, _smit: None}, - (_Im, _NT), - ((IMPORTS_LIST, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_IMPORTS: StaticOperationSchema = ( - 23, - n0, - _LI, - 0, - LIST_IMPORTS_INPUT, - LIST_IMPORTS_OUTPUT, - ( - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - INVALID_NEXT_TOKEN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -LIST_INSIGHTS_DATA_TYPE: StaticSchema = (14, n0, _LIDT, 0, (_IE,), ((-1, {_sV: _IEn}),)) - -LIST_INSIGHTS_DATA_DIMENSION_KEY: StaticSchema = ( - 14, - n0, - _LIDDK, - 0, - (_EI, _EN, _ES_), - ((-1, {_sV: _EIv}), (-1, {_sV: _ENv}), (-1, {_sV: _ESven})), -) - -LIST_INSIGHTS_DATA_DIMENSION_VALUE: StaticSchema = (3, n0, _LIDDV, 0) - -LIST_INSIGHTS_DATA_DIMENSIONS: StaticSchema = ( - 17, - n0, - _LIDD, - 0, - (_k, _v), - ((LIST_INSIGHTS_DATA_DIMENSION_KEY, 0), (LIST_INSIGHTS_DATA_DIMENSION_VALUE, 0)), -) - -LIST_INSIGHTS_DATA_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LIDMRC, 0) - -LIST_INSIGHTS_DATA_INPUT: StaticSchema = ( - 18, - n0, - _LIDI, - {_sSI: _cLIDR, _smi: None}, - (_ISnsi, _DTat, _Di, _ST, _ETn, _MR, _NT), - ( - (RESOURCE_ARN, 1), - (LIST_INSIGHTS_DATA_TYPE, 1), - (LIST_INSIGHTS_DATA_DIMENSIONS, 0), - (DATE, 0), - (DATE, 0), - (LIST_INSIGHTS_DATA_MAX_RESULTS_COUNT, 0), - (PAGINATION_TOKEN, 0), - ), -) - -RESOURCE: StaticSchema = (18, n0, _R, 0, (_RT, _RN), ((STRING, 0), (STRING, 0))) - -RESOURCE_LIST: StaticSchema = (16, n0, _RLe, 0, (_m,), ((RESOURCE, 0),)) - -EVENT: StaticSchema = ( - 18, - n0, - _Ev, - 0, - (_EIv, _ENv, _RO, _AKI, _ETv, _ESven, _Us, _Re, _CTE), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DATE, 0), - (STRING, 0), - (STRING, 0), - (RESOURCE_LIST, 0), - (STRING, 0), - ), -) - -EVENTS_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((EVENT, 0),)) - -LIST_INSIGHTS_DATA_OUTPUT: StaticSchema = ( - 18, - n0, - _LIDO, - {_sSI: _cLIDRo, _smit: None}, - (_Eve, _NT), - ((EVENTS_LIST, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_INSIGHTS_DATA: StaticOperationSchema = ( - 23, - n0, - _LID, - 0, - LIST_INSIGHTS_DATA_INPUT, - LIST_INSIGHTS_DATA_OUTPUT, - ( - INVALID_PARAMETER_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -INSIGHTS_METRIC_DATA_TYPE: StaticSchema = ( - 14, - n0, - _IMDT, - 0, - (_FWZ, _NZD), - ((-1, {_sV: _FWZi}), (-1, {_sV: _NZDo})), -) - -ERROR_CODE: StaticSchema = (3, n0, _ECr, 0) - -EVENT_NAME: StaticSchema = (3, n0, _ENv, 0) - -EVENT_SOURCE: StaticSchema = (3, n0, _ESven, 0) - -INSIGHTS_METRIC_MAX_RESULTS: StaticSchema = (7, n0, _IMMR, 0) - -INSIGHTS_METRIC_NEXT_TOKEN: StaticSchema = (3, n0, _IMNT, 0) - -INSIGHTS_METRIC_PERIOD: StaticSchema = (7, n0, _IMP, 0) - -LIST_INSIGHTS_METRIC_DATA_INPUT: StaticSchema = ( - 18, - n0, - _LIMDI, - {_sSI: _cLIMDR, _smi: None}, - (_TN, _ESven, _ENv, _IT, _ECr, _ST, _ETn, _Pe, _DTat, _MR, _NT), - ( - (STRING, 0), - (EVENT_SOURCE, 1), - (EVENT_NAME, 1), - (INSIGHT_TYPE, 1), - (ERROR_CODE, 0), - (DATE, 0), - (DATE, 0), - (INSIGHTS_METRIC_PERIOD, 0), - (INSIGHTS_METRIC_DATA_TYPE, 0), - (INSIGHTS_METRIC_MAX_RESULTS, 0), - (INSIGHTS_METRIC_NEXT_TOKEN, 0), - ), -) - -TIMESTAMPS: StaticSchema = (16, n0, _Ti, 0, (_m,), ((DATE, 0),)) - -DOUBLE: StaticSchema = (10, n0, _Do, 0) - -INSIGHTS_METRIC_VALUES: StaticSchema = (16, n0, _IMV, 0, (_m,), ((DOUBLE, 0),)) - -LIST_INSIGHTS_METRIC_DATA_OUTPUT: StaticSchema = ( - 18, - n0, - _LIMDO, - {_sSI: _cLIMDRo, _smit: None}, - (_TARN, _ESven, _ENv, _IT, _ECr, _Ti, _Va, _NT), - ( - (STRING, 0), - (EVENT_SOURCE, 0), - (EVENT_NAME, 0), - (INSIGHT_TYPE, 0), - (ERROR_CODE, 0), - (TIMESTAMPS, 0), - (INSIGHTS_METRIC_VALUES, 0), - (INSIGHTS_METRIC_NEXT_TOKEN, 0), - ), -) - -LIST_INSIGHTS_METRIC_DATA: StaticOperationSchema = ( - 23, - n0, - _LIMD, - 0, - LIST_INSIGHTS_METRIC_DATA_INPUT, - LIST_INSIGHTS_METRIC_DATA_OUTPUT, - ( - INVALID_PARAMETER_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -INVALID_TIME_RANGE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ITRE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidTimeRange", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _ITE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidToken", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -LIST_PUBLIC_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _LPKI, - {_sSI: _cLPKR, _smi: None}, - (_ST, _ETn, _NT), - ((DATE, 0), (DATE, 0), (STRING, 0)), -) - -PUBLIC_KEY: StaticSchema = ( - 18, - n0, - _PKu, - 0, - (_V, _VST, _VET, _Fi), - ((BYTE_BUFFER, 0), (DATE, 0), (DATE, 0), (STRING, 0)), -) - -PUBLIC_KEY_LIST: StaticSchema = (16, n0, _PKLu, 0, (_m,), ((PUBLIC_KEY, 0),)) - -LIST_PUBLIC_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPKO, - {_sSI: _cLPKRo, _smit: None}, - (_PKLu, _NT), - ((PUBLIC_KEY_LIST, 0), (STRING, 0)), -) - -LIST_PUBLIC_KEYS: StaticOperationSchema = ( - 23, - n0, - _LPK, - 0, - LIST_PUBLIC_KEYS_INPUT, - LIST_PUBLIC_KEYS_OUTPUT, - ( - INVALID_TIME_RANGE_EXCEPTION, - INVALID_TOKEN_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -INVALID_DATE_RANGE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IDRE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidDateRange", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_QUERY_STATUS_EXCEPTION: StaticSchema = ( - 18, - n0, - _IQSEn, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidQueryStatus", "httpResponseCode": 400}), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -LIST_QUERIES_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LQMRC, 0) - -LIST_QUERIES_INPUT: StaticSchema = ( - 18, - n0, - _LQI, - {_sSI: _cLQR, _smi: None}, - (_EDS, _NT, _MR, _ST, _ETn, _QS), - ( - (EVENT_DATA_STORE_ARN, 1), - (PAGINATION_TOKEN, 0), - (LIST_QUERIES_MAX_RESULTS_COUNT, 0), - (DATE, 0), - (DATE, 0), - (QUERY_STATUS, 0), - ), -) - -QUERY: StaticSchema = ( - 18, - n0, - _Q, - 0, - (_QI, _QS, _CTre), - ((UUID, 0), (QUERY_STATUS, 0), (DATE, 0)), -) - -QUERIES: StaticSchema = (16, n0, _Qu, 0, (_m,), ((QUERY, 0),)) - -LIST_QUERIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LQO, - {_sSI: _cLQRo, _smit: None}, - (_Qu, _NT), - ((QUERIES, 0), (PAGINATION_TOKEN, 0)), -) - -LIST_QUERIES: StaticOperationSchema = ( - 23, - n0, - _LQ, - 0, - LIST_QUERIES_INPUT, - LIST_QUERIES_OUTPUT, - ( - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INVALID_DATE_RANGE_EXCEPTION, - INVALID_MAX_RESULTS_EXCEPTION, - INVALID_NEXT_TOKEN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_QUERY_STATUS_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -RESOURCE_ID_LIST: StaticSchema = (16, n0, _RIL, 0, (_m,), ((STRING, 0),)) - -LIST_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LTI, - {_sSI: _cLTR, _smi: None}, - (_RIL, _NT), - ((RESOURCE_ID_LIST, 1), (STRING, 0)), -) - -RESOURCE_TAG: StaticSchema = ( - 18, - n0, - _RTe, - 0, - (_RI, _TL), - ((STRING, 0), (TAGS_LIST, 0)), -) - -RESOURCE_TAG_LIST: StaticSchema = (16, n0, _RTL, 0, (_m,), ((RESOURCE_TAG, 0),)) - -LIST_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTO, - {_sSI: _cLTRo, _smit: None}, - (_RTL, _NT), - ((RESOURCE_TAG_LIST, 0), (STRING, 0)), -) - -LIST_TAGS: StaticOperationSchema = ( - 23, - n0, - _LT, - 0, - LIST_TAGS_INPUT, - LIST_TAGS_OUTPUT, - ( - CHANNEL_ARN_INVALID_EXCEPTION, - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INVALID_TOKEN_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -LIST_TRAILS_INPUT: StaticSchema = ( - 18, - n0, - _LTIi, - {_sSI: _cLTRom, _smi: None}, - (_NT,), - ((STRING, 0),), -) - -TRAIL_INFO: StaticSchema = ( - 18, - n0, - _TI, - 0, - (_TARN, _N, _HR), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -TRAILS: StaticSchema = (16, n0, _Tra, 0, (_m,), ((TRAIL_INFO, 0),)) - -LIST_TRAILS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTOi, - {_sSI: _cLTRoma, _smit: None}, - (_Tra, _NT), - ((TRAILS, 0), (STRING, 0)), -) - -LIST_TRAILS: StaticOperationSchema = ( - 23, - n0, - _LTi, - 0, - LIST_TRAILS_INPUT, - LIST_TRAILS_OUTPUT, - (OPERATION_NOT_PERMITTED_EXCEPTION, UNSUPPORTED_OPERATION_EXCEPTION), -) - -INVALID_EVENT_CATEGORY_EXCEPTION: StaticSchema = ( - 18, - n0, - _IECE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidEventCategory", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_LOOKUP_ATTRIBUTES_EXCEPTION: StaticSchema = ( - 18, - n0, - _ILAE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidLookupAttributes", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -EVENT_CATEGORY: StaticSchema = (14, n0, _EC, 0, (_In,), ((-1, {_sV: _i}),)) - -LOOKUP_ATTRIBUTE_KEY: StaticSchema = ( - 14, - n0, - _LAK, - 0, - (_EI, _EN, _RO_, _USERNAME, _RT_, _RN_, _ES_, _AKI_), - ( - (-1, {_sV: _EIv}), - (-1, {_sV: _ENv}), - (-1, {_sV: _RO}), - (-1, {_sV: _Us}), - (-1, {_sV: _RT}), - (-1, {_sV: _RN}), - (-1, {_sV: _ESven}), - (-1, {_sV: _AKI}), - ), -) - -LOOKUP_ATTRIBUTE_VALUE: StaticSchema = (3, n0, _LAV, 0) - -LOOKUP_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _LA, - 0, - (_AK, _AV), - ((LOOKUP_ATTRIBUTE_KEY, 1), (LOOKUP_ATTRIBUTE_VALUE, 1)), -) - -LOOKUP_ATTRIBUTES_LIST: StaticSchema = ( - 16, - n0, - _LAL, - 0, - (_m,), - ((LOOKUP_ATTRIBUTE, 0),), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -LOOKUP_EVENTS_INPUT: StaticSchema = ( - 18, - n0, - _LEI, - {_sSI: _cLER, _smi: None}, - (_LAo, _ST, _ETn, _EC, _MR, _NT), - ( - (LOOKUP_ATTRIBUTES_LIST, 0), - (DATE, 0), - (DATE, 0), - (EVENT_CATEGORY, 0), - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -LOOKUP_EVENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LEO, - {_sSI: _cLERo, _smit: None}, - (_Eve, _NT), - ((EVENTS_LIST, 0), (NEXT_TOKEN, 0)), -) - -LOOKUP_EVENTS: StaticOperationSchema = ( - 23, - n0, - _LE, - 0, - LOOKUP_EVENTS_INPUT, - LOOKUP_EVENTS_OUTPUT, - ( - INVALID_EVENT_CATEGORY_EXCEPTION, - INVALID_LOOKUP_ATTRIBUTES_EXCEPTION, - INVALID_MAX_RESULTS_EXCEPTION, - INVALID_NEXT_TOKEN_EXCEPTION, - INVALID_TIME_RANGE_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -INSUFFICIENT_IAM_ACCESS_PERMISSION_EXCEPTION: StaticSchema = ( - 18, - n0, - _IIAMAPE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InsufficientIAMAccessPermission", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -PUT_EVENT_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PECI, - {_sSI: _cPECR, _smi: None}, - (_TN, _EDS, _MES, _CKSo, _ACg), - ( - (STRING, 0), - (STRING, 0), - (MAX_EVENT_SIZE, 0), - (CONTEXT_KEY_SELECTORS, 0), - (AGGREGATION_CONFIGURATIONS, 0), - ), -) - -PUT_EVENT_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PECO, - {_sSI: _cPECRo, _smit: None}, - (_TARN, _EDSA, _MES, _CKSo, _ACg), - ( - (STRING, 0), - (EVENT_DATA_STORE_ARN, 0), - (MAX_EVENT_SIZE, 0), - (CONTEXT_KEY_SELECTORS, 0), - (AGGREGATION_CONFIGURATIONS, 0), - ), -) - -PUT_EVENT_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PEC, - 0, - PUT_EVENT_CONFIGURATION_INPUT, - PUT_EVENT_CONFIGURATION_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INSUFFICIENT_IAM_ACCESS_PERMISSION_EXCEPTION, - INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, - INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, - INVALID_HOME_REGION_EXCEPTION, - INVALID_PARAMETER_COMBINATION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - THROTTLING_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -PUT_EVENT_SELECTORS_INPUT: StaticSchema = ( - 18, - n0, - _PESI, - {_sSI: _cPESR, _smi: None}, - (_TN, _ESve, _AESd), - ((STRING, 1), (EVENT_SELECTORS, 0), (ADVANCED_EVENT_SELECTORS, 0)), -) - -PUT_EVENT_SELECTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _PESO, - {_sSI: _cPESRo, _smit: None}, - (_TARN, _ESve, _AESd), - ((STRING, 0), (EVENT_SELECTORS, 0), (ADVANCED_EVENT_SELECTORS, 0)), -) - -PUT_EVENT_SELECTORS: StaticOperationSchema = ( - 23, - n0, - _PES, - 0, - PUT_EVENT_SELECTORS_INPUT, - PUT_EVENT_SELECTORS_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - CONFLICT_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_EVENT_SELECTORS_EXCEPTION, - INVALID_HOME_REGION_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - THROTTLING_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -INVALID_INSIGHT_SELECTORS_EXCEPTION: StaticSchema = ( - 18, - n0, - _IISE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidInsightSelectors", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -PUT_INSIGHT_SELECTORS_INPUT: StaticSchema = ( - 18, - n0, - _PISI, - {_sSI: _cPISR, _smi: None}, - (_TN, _ISns, _EDS, _IDn), - ( - (STRING, 0), - (INSIGHT_SELECTORS, 1), - (EVENT_DATA_STORE_ARN, 0), - (EVENT_DATA_STORE_ARN, 0), - ), -) - -PUT_INSIGHT_SELECTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _PISO, - {_sSI: _cPISRo, _smit: None}, - (_TARN, _ISns, _EDSA, _IDn), - ( - (STRING, 0), - (INSIGHT_SELECTORS, 0), - (EVENT_DATA_STORE_ARN, 0), - (EVENT_DATA_STORE_ARN, 0), - ), -) - -PUT_INSIGHT_SELECTORS: StaticOperationSchema = ( - 23, - n0, - _PIS, - 0, - PUT_INSIGHT_SELECTORS_INPUT, - PUT_INSIGHT_SELECTORS_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - CONFLICT_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION, - INVALID_HOME_REGION_EXCEPTION, - INVALID_INSIGHT_SELECTORS_EXCEPTION, - INVALID_PARAMETER_COMBINATION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - KMS_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - S3_BUCKET_DOES_NOT_EXIST_EXCEPTION, - THROTTLING_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_sSI: _cPRPR, _smi: None}, - (_RAe, _RPe), - ((RESOURCE_ARN, 1), (RESOURCE_POLICY, 1)), -) - -PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPO, - {_sSI: _cPRPRo, _smit: None}, - (_RAe, _RPe, _DARP), - ((RESOURCE_ARN, 0), (RESOURCE_POLICY, 0), (RESOURCE_POLICY, 0)), -) - -RESOURCE_POLICY_NOT_VALID_EXCEPTION: StaticSchema = ( - 18, - n0, - _RPNVE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ResourcePolicyNotValid", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -PUT_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRP, - 0, - PUT_RESOURCE_POLICY_INPUT, - PUT_RESOURCE_POLICY_OUTPUT, - ( - CONFLICT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - RESOURCE_ARN_NOT_VALID_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RESOURCE_POLICY_NOT_VALID_EXCEPTION, - RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -DELEGATED_ADMIN_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _DAALEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DelegatedAdminAccountLimitExceeded", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -REGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT: StaticSchema = ( - 18, - n0, - _RODAI, - {_sSI: _cRODAR, _smi: None}, - (_MAI,), - ((ACCOUNT_ID, 1),), -) - -REGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT: StaticSchema = ( - 18, - n0, - _RODAO, - {_sSI: _cRODARo, _smit: None}, -) - -REGISTER_ORGANIZATION_DELEGATED_ADMIN: StaticOperationSchema = ( - 23, - n0, - _RODA, - 0, - REGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT, - REGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT, - ( - ACCOUNT_NOT_FOUND_EXCEPTION, - ACCOUNT_REGISTERED_EXCEPTION, - CANNOT_DELEGATE_MANAGEMENT_ACCOUNT_EXCEPTION, - CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, - CONFLICT_EXCEPTION, - DELEGATED_ADMIN_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INSUFFICIENT_IAM_ACCESS_PERMISSION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_ORGANIZATION_MANAGEMENT_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - ORGANIZATIONS_NOT_IN_USE_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -REMOVE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _RTI, - {_sSI: _cRTR, _smi: None}, - (_RI, _TL), - ((STRING, 1), (TAGS_LIST, 1)), -) - -REMOVE_TAGS_OUTPUT: StaticSchema = (18, n0, _RTO, {_sSI: _cRTRo, _smit: None}) - -REMOVE_TAGS: StaticOperationSchema = ( - 23, - n0, - _RTem, - 0, - REMOVE_TAGS_INPUT, - REMOVE_TAGS_OUTPUT, - ( - CHANNEL_ARN_INVALID_EXCEPTION, - CHANNEL_NOT_FOUND_EXCEPTION, - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INVALID_TAG_PARAMETER_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -RESTORE_EVENT_DATA_STORE_INPUT: StaticSchema = ( - 18, - n0, - _REDSI, - {_sSI: _cREDSR, _smi: None}, - (_EDS,), - ((EVENT_DATA_STORE_ARN, 1),), -) - -RESTORE_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _REDSO, - {_sSI: _cREDSRo, _smit: None}, - (_EDSA, _N, _St, _AESd, _MRE, _OE, _RP, _TPE, _CT, _UT, _KKI, _BM), - ( - (EVENT_DATA_STORE_ARN, 0), - (EVENT_DATA_STORE_NAME, 0), - (EVENT_DATA_STORE_STATUS, 0), - (ADVANCED_EVENT_SELECTORS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (RETENTION_PERIOD, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - (DATE, 0), - (DATE, 0), - (EVENT_DATA_STORE_KMS_KEY_ID, 0), - (BILLING_MODE, 0), - ), -) - -RESTORE_EVENT_DATA_STORE: StaticOperationSchema = ( - 23, - n0, - _REDS, - 0, - RESTORE_EVENT_DATA_STORE_INPUT, - RESTORE_EVENT_DATA_STORE_OUTPUT, - ( - CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_MAX_LIMIT_EXCEEDED_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - ORGANIZATIONS_NOT_IN_USE_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -SEARCH_SAMPLE_QUERIES_MAX_RESULTS: StaticSchema = (7, n0, _SSQMR, 0) - -SEARCH_SAMPLE_QUERIES_SEARCH_PHRASE: StaticSchema = (3, n0, _SSQSP, 0) - -SEARCH_SAMPLE_QUERIES_INPUT: StaticSchema = ( - 18, - n0, - _SSQI, - {_sSI: _cSSQR, _smi: None}, - (_SP, _MR, _NT), - ( - (SEARCH_SAMPLE_QUERIES_SEARCH_PHRASE, 1), - (SEARCH_SAMPLE_QUERIES_MAX_RESULTS, 0), - (PAGINATION_TOKEN, 0), - ), -) - -SAMPLE_QUERY_DESCRIPTION: StaticSchema = (3, n0, _SQD, 0) - -SAMPLE_QUERY_NAME: StaticSchema = (3, n0, _SQN, 0) - -SAMPLE_QUERY_RELEVANCE: StaticSchema = (9, n0, _SQR, {_smith: 0}) - -SAMPLE_QUERY_SQL: StaticSchema = (3, n0, _SQSQL, 0) - -SEARCH_SAMPLE_QUERIES_SEARCH_RESULT: StaticSchema = ( - 18, - n0, - _SSQSR, - 0, - (_N, _Desc, _SQL, _Rel), - ( - (SAMPLE_QUERY_NAME, 0), - (SAMPLE_QUERY_DESCRIPTION, 0), - (SAMPLE_QUERY_SQL, 0), - (SAMPLE_QUERY_RELEVANCE, {_smith: 0}), - ), -) - -SEARCH_SAMPLE_QUERIES_SEARCH_RESULTS: StaticSchema = ( - 16, - n0, - _SSQSRe, - 0, - (_m,), - ((SEARCH_SAMPLE_QUERIES_SEARCH_RESULT, 0),), -) - -SEARCH_SAMPLE_QUERIES_OUTPUT: StaticSchema = ( - 18, - n0, - _SSQO, - {_sSI: _cSSQRo, _smit: None}, - (_SR, _NT), - ((SEARCH_SAMPLE_QUERIES_SEARCH_RESULTS, 0), (PAGINATION_TOKEN, 0)), -) - -SEARCH_SAMPLE_QUERIES: StaticOperationSchema = ( - 23, - n0, - _SSQ, - 0, - SEARCH_SAMPLE_QUERIES_INPUT, - SEARCH_SAMPLE_QUERIES_OUTPUT, - ( - INVALID_PARAMETER_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -QUERY_PARAMETER_KEY: StaticSchema = (3, n0, _QPK, 0) - -QUERY_PARAMETER_VALUE: StaticSchema = (3, n0, _QPV, 0) - -QUERY_PARAMETER_VALUES: StaticSchema = ( - 17, - n0, - _QPVu, - 0, - (_k, _v), - ((QUERY_PARAMETER_KEY, 0), (QUERY_PARAMETER_VALUE, 0)), -) - -START_DASHBOARD_REFRESH_INPUT: StaticSchema = ( - 18, - n0, - _SDRI, - {_sSI: _cSDRR, _smi: None}, - (_DI, _QPVu), - ((DASHBOARD_ARN, 1), (QUERY_PARAMETER_VALUES, 0)), -) - -START_DASHBOARD_REFRESH_OUTPUT: StaticSchema = ( - 18, - n0, - _SDRO, - {_sSI: _cSDRRo, _smit: None}, - (_RIe,), - ((REFRESH_ID, 0),), -) - -START_DASHBOARD_REFRESH: StaticOperationSchema = ( - 23, - n0, - _SDR, - 0, - START_DASHBOARD_REFRESH_INPUT, - START_DASHBOARD_REFRESH_OUTPUT, - ( - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -START_EVENT_DATA_STORE_INGESTION_INPUT: StaticSchema = ( - 18, - n0, - _SEDSII, - {_sSI: _cSEDSIR, _smi: None}, - (_EDS,), - ((EVENT_DATA_STORE_ARN, 1),), -) - -START_EVENT_DATA_STORE_INGESTION_OUTPUT: StaticSchema = ( - 18, - n0, - _SEDSIO, - {_sSI: _cSEDSIRo, _smit: None}, -) - -START_EVENT_DATA_STORE_INGESTION: StaticOperationSchema = ( - 23, - n0, - _SEDSI, - 0, - START_EVENT_DATA_STORE_INGESTION_INPUT, - START_EVENT_DATA_STORE_INGESTION_OUTPUT, - ( - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, - INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -INVALID_IMPORT_SOURCE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IISEn, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidImportSource", "httpResponseCode": 400} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -START_IMPORT_INPUT: StaticSchema = ( - 18, - n0, - _SII, - {_sSI: _cSIR, _smi: None}, - (_Des, _ISm, _SET, _EET, _II), - ((IMPORT_DESTINATIONS, 0), (IMPORT_SOURCE, 0), (DATE, 0), (DATE, 0), (UUID, 0)), -) - -START_IMPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _SIO, - {_sSI: _cSIRo, _smit: None}, - (_II, _Des, _ISm, _SET, _EET, _ISmpo, _CT, _UT), - ( - (UUID, 0), - (IMPORT_DESTINATIONS, 0), - (IMPORT_SOURCE, 0), - (DATE, 0), - (DATE, 0), - (IMPORT_STATUS, 0), - (DATE, 0), - (DATE, 0), - ), -) - -START_IMPORT: StaticOperationSchema = ( - 23, - n0, - _SIt, - 0, - START_IMPORT_INPUT, - START_IMPORT_OUTPUT, - ( - ACCOUNT_HAS_ONGOING_IMPORT_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - IMPORT_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, - INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, - INVALID_IMPORT_SOURCE_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -START_LOGGING_INPUT: StaticSchema = ( - 18, - n0, - _SLI, - {_sSI: _cSLR, _smi: None}, - (_N,), - ((STRING, 1),), -) - -START_LOGGING_OUTPUT: StaticSchema = (18, n0, _SLO, {_sSI: _cSLRo, _smit: None}) - -START_LOGGING: StaticOperationSchema = ( - 23, - n0, - _SL, - 0, - START_LOGGING_INPUT, - START_LOGGING_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - CONFLICT_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_HOME_REGION_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - THROTTLING_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -MAX_CONCURRENT_QUERIES_EXCEPTION: StaticSchema = ( - 18, - n0, - _MCQE, - { - _s: _c, - _sE: 429, - _aQE: MappingProxyType( - {"code": "MaxConcurrentQueries", "httpResponseCode": 429} - ), - }, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -START_QUERY_INPUT: StaticSchema = ( - 18, - n0, - _SQI, - {_sSI: _cSQR, _smi: None}, - (_QSu, _DSU, _QA, _QPu, _EDSOAI), - ( - (QUERY_STATEMENT, 0), - (DELIVERY_S3_URI, 0), - (QUERY_ALIAS, 0), - (QUERY_PARAMETERS, 0), - (ACCOUNT_ID, 0), - ), -) - -START_QUERY_OUTPUT: StaticSchema = ( - 18, - n0, - _SQO, - {_sSI: _cSQRo, _smit: None}, - (_QI, _EDSOAI), - ((UUID, 0), (ACCOUNT_ID, 0)), -) - -START_QUERY: StaticOperationSchema = ( - 23, - n0, - _SQ, - 0, - START_QUERY_INPUT, - START_QUERY_OUTPUT, - ( - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_QUERY_STATEMENT_EXCEPTION, - INVALID_S3_BUCKET_NAME_EXCEPTION, - INVALID_S3_PREFIX_EXCEPTION, - MAX_CONCURRENT_QUERIES_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - S3_BUCKET_DOES_NOT_EXIST_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -STOP_EVENT_DATA_STORE_INGESTION_INPUT: StaticSchema = ( - 18, - n0, - _SEDSIIt, - {_sSI: _cSEDSIRom, _smi: None}, - (_EDS,), - ((EVENT_DATA_STORE_ARN, 1),), -) - -STOP_EVENT_DATA_STORE_INGESTION_OUTPUT: StaticSchema = ( - 18, - n0, - _SEDSIOt, - {_sSI: _cSEDSIRoma, _smit: None}, -) - -STOP_EVENT_DATA_STORE_INGESTION: StaticOperationSchema = ( - 23, - n0, - _SEDSIt, - 0, - STOP_EVENT_DATA_STORE_INGESTION_INPUT, - STOP_EVENT_DATA_STORE_INGESTION_OUTPUT, - ( - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, - INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -STOP_IMPORT_INPUT: StaticSchema = ( - 18, - n0, - _SIIt, - {_sSI: _cSIRom, _smi: None}, - (_II,), - ((UUID, 1),), -) - -STOP_IMPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _SIOt, - {_sSI: _cSIRoma, _smit: None}, - (_II, _ISm, _Des, _ISmpo, _CT, _UT, _SET, _EET, _ISmp), - ( - (UUID, 0), - (IMPORT_SOURCE, 0), - (IMPORT_DESTINATIONS, 0), - (IMPORT_STATUS, 0), - (DATE, 0), - (DATE, 0), - (DATE, 0), - (DATE, 0), - (IMPORT_STATISTICS, 0), - ), -) - -STOP_IMPORT: StaticOperationSchema = ( - 23, - n0, - _SIto, - 0, - STOP_IMPORT_INPUT, - STOP_IMPORT_OUTPUT, - ( - IMPORT_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -STOP_LOGGING_INPUT: StaticSchema = ( - 18, - n0, - _SLIt, - {_sSI: _cSLRom, _smi: None}, - (_N,), - ((STRING, 1),), -) - -STOP_LOGGING_OUTPUT: StaticSchema = (18, n0, _SLOt, {_sSI: _cSLRoma, _smit: None}) - -STOP_LOGGING: StaticOperationSchema = ( - 23, - n0, - _SLt, - 0, - STOP_LOGGING_INPUT, - STOP_LOGGING_OUTPUT, - ( - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - CONFLICT_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INVALID_HOME_REGION_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - THROTTLING_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -UPDATE_CHANNEL_INPUT: StaticSchema = ( - 18, - n0, - _UCI, - {_sSI: _cUCR, _smi: None}, - (_C, _Des, _N), - ((CHANNEL_ARN, 1), (DESTINATIONS, 0), (CHANNEL_NAME, 0)), -) - -UPDATE_CHANNEL_OUTPUT: StaticSchema = ( - 18, - n0, - _UCO, - {_sSI: _cUCRo, _smit: None}, - (_CA, _N, _So, _Des), - ((CHANNEL_ARN, 0), (CHANNEL_NAME, 0), (SOURCE, 0), (DESTINATIONS, 0)), -) - -UPDATE_CHANNEL: StaticOperationSchema = ( - 23, - n0, - _UC, - 0, - UPDATE_CHANNEL_INPUT, - UPDATE_CHANNEL_OUTPUT, - ( - CHANNEL_ALREADY_EXISTS_EXCEPTION, - CHANNEL_ARN_INVALID_EXCEPTION, - CHANNEL_NOT_FOUND_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -UPDATE_DASHBOARD_INPUT: StaticSchema = ( - 18, - n0, - _UDI, - {_sSI: _cUDR, _smi: None}, - (_DI, _W, _RS, _TPE), - ( - (DASHBOARD_ARN, 1), - (REQUEST_WIDGET_LIST, 0), - (REFRESH_SCHEDULE, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - ), -) - -UPDATE_DASHBOARD_OUTPUT: StaticSchema = ( - 18, - n0, - _UDO, - {_sSI: _cUDRo, _smit: None}, - (_DA, _N, _Ty, _W, _RS, _TPE, _CT, _UT), - ( - (DASHBOARD_ARN, 0), - (DASHBOARD_NAME, 0), - (DASHBOARD_TYPE, 0), - (WIDGET_LIST, 0), - (REFRESH_SCHEDULE, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - (DATE, 0), - (DATE, 0), - ), -) - -UPDATE_DASHBOARD: StaticOperationSchema = ( - 23, - n0, - _UD, - 0, - UPDATE_DASHBOARD_INPUT, - UPDATE_DASHBOARD_OUTPUT, - ( - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INVALID_QUERY_STATEMENT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -UPDATE_EVENT_DATA_STORE_INPUT: StaticSchema = ( - 18, - n0, - _UEDSI, - {_sSI: _cUEDSR, _smi: None}, - (_EDS, _N, _AESd, _MRE, _OE, _RP, _TPE, _KKI, _BM), - ( - (EVENT_DATA_STORE_ARN, 1), - (EVENT_DATA_STORE_NAME, 0), - (ADVANCED_EVENT_SELECTORS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (RETENTION_PERIOD, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - (EVENT_DATA_STORE_KMS_KEY_ID, 0), - (BILLING_MODE, 0), - ), -) - -UPDATE_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _UEDSO, - {_sSI: _cUEDSRo, _smit: None}, - (_EDSA, _N, _St, _AESd, _MRE, _OE, _RP, _TPE, _CT, _UT, _KKI, _BM, _FSe, _FRA), - ( - (EVENT_DATA_STORE_ARN, 0), - (EVENT_DATA_STORE_NAME, 0), - (EVENT_DATA_STORE_STATUS, 0), - (ADVANCED_EVENT_SELECTORS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (RETENTION_PERIOD, 0), - (TERMINATION_PROTECTION_ENABLED, 0), - (DATE, 0), - (DATE, 0), - (EVENT_DATA_STORE_KMS_KEY_ID, 0), - (BILLING_MODE, 0), - (FEDERATION_STATUS, 0), - (FEDERATION_ROLE_ARN, 0), - ), -) - -UPDATE_EVENT_DATA_STORE: StaticOperationSchema = ( - 23, - n0, - _UEDS, - 0, - UPDATE_EVENT_DATA_STORE_INPUT, - UPDATE_EVENT_DATA_STORE_OUTPUT, - ( - CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, - CONFLICT_EXCEPTION, - EVENT_DATA_STORE_ALREADY_EXISTS_EXCEPTION, - EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, - EVENT_DATA_STORE_HAS_ONGOING_IMPORT_EXCEPTION, - EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, - INACTIVE_EVENT_DATA_STORE_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INVALID_EVENT_SELECTORS_EXCEPTION, - INVALID_INSIGHT_SELECTORS_EXCEPTION, - INVALID_KMS_KEY_ID_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - KMS_EXCEPTION, - KMS_KEY_NOT_FOUND_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - ORGANIZATIONS_NOT_IN_USE_EXCEPTION, - THROTTLING_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -UPDATE_TRAIL_INPUT: StaticSchema = ( - 18, - n0, - _UTI, - {_sSI: _cUTR, _smi: None}, - (_N, _SBN, _SKP, _STN, _IGSE, _IMRT, _ELFV, _CWLLGA, _CWLRA, _KKI, _IOT, _RL), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -UPDATE_TRAIL_OUTPUT: StaticSchema = ( - 18, - n0, - _UTO, - {_sSI: _cUTRo, _smit: None}, - ( - _N, - _SBN, - _SKP, - _STN, - _STARN, - _IGSE, - _IMRT, - _TARN, - _LFVE, - _CWLLGA, - _CWLRA, - _KKI, - _IOT, - _RL, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -UPDATE_TRAIL: StaticOperationSchema = ( - 23, - n0, - _UTp, - 0, - UPDATE_TRAIL_INPUT, - UPDATE_TRAIL_OUTPUT, - ( - CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, - CLOUD_TRAIL_ARN_INVALID_EXCEPTION, - CLOUD_TRAIL_INVALID_CLIENT_TOKEN_ID_EXCEPTION, - CLOUD_WATCH_LOGS_DELIVERY_UNAVAILABLE_EXCEPTION, - CONFLICT_EXCEPTION, - INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, - INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, - INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION, - INSUFFICIENT_SNS_TOPIC_POLICY_EXCEPTION, - INVALID_CLOUD_WATCH_LOGS_LOG_GROUP_ARN_EXCEPTION, - INVALID_CLOUD_WATCH_LOGS_ROLE_ARN_EXCEPTION, - INVALID_EVENT_SELECTORS_EXCEPTION, - INVALID_HOME_REGION_EXCEPTION, - INVALID_KMS_KEY_ID_EXCEPTION, - INVALID_PARAMETER_COMBINATION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_S3_BUCKET_NAME_EXCEPTION, - INVALID_S3_PREFIX_EXCEPTION, - INVALID_SNS_TOPIC_NAME_EXCEPTION, - INVALID_TRAIL_NAME_EXCEPTION, - KMS_EXCEPTION, - KMS_KEY_DISABLED_EXCEPTION, - KMS_KEY_NOT_FOUND_EXCEPTION, - NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, - NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, - OPERATION_NOT_PERMITTED_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - ORGANIZATIONS_NOT_IN_USE_EXCEPTION, - S3_BUCKET_DOES_NOT_EXIST_EXCEPTION, - THROTTLING_EXCEPTION, - TRAIL_NOT_FOUND_EXCEPTION, - TRAIL_NOT_PROVIDED_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -CLOUD_TRAIL_20131101: StaticSchema = ( - 21, - n0, - _C_, - { - _a: MappingProxyType({"name": "cloudtrail"}), - _a_: None, - _aw: MappingProxyType( - { - "sdkId": "CloudTrail", - "arnNamespace": "cloudtrail", - "cloudFormationName": "CloudTrail", - "cloudTrailEventSource": "cloudtrail.amazonaws.com", - "endpointPrefix": "cloudtrail", - } - ), - _sN: MappingProxyType( - {"uri": "http://cloudtrail.amazonaws.com/doc/2013-11-01/"} - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ERROR_MESSAGE", + "ACCESS_DENIED_EXCEPTION", + "ACCOUNT_HAS_ONGOING_IMPORT_EXCEPTION", + "ACCOUNT_ID", + "ACCOUNT_NOT_FOUND_EXCEPTION", + "ACCOUNT_NOT_REGISTERED_EXCEPTION", + "ACCOUNT_REGISTERED_EXCEPTION", + "STRING", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAGS_LIST", + "ADD_TAGS_INPUT", + "ADD_TAGS_OUTPUT", + "ADD_TAGS", + "CHANNEL_ARN_INVALID_EXCEPTION", + "CHANNEL_NOT_FOUND_EXCEPTION", + "CLOUD_TRAIL_ARN_INVALID_EXCEPTION", + "CONFLICT_EXCEPTION", + "EVENT_DATA_STORE_ARN_INVALID_EXCEPTION", + "EVENT_DATA_STORE_NOT_FOUND_EXCEPTION", + "INACTIVE_EVENT_DATA_STORE_EXCEPTION", + "INVALID_TAG_PARAMETER_EXCEPTION", + "INVALID_TRAIL_NAME_EXCEPTION", + "NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION", + "NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION", + "OPERATION_NOT_PERMITTED_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION", + "TAGS_LIMIT_EXCEEDED_EXCEPTION", + "UNSUPPORTED_OPERATION_EXCEPTION", + "OPERATOR_VALUE", + "OPERATOR", + "SELECTOR_FIELD", + "ADVANCED_FIELD_SELECTOR", + "ADVANCED_FIELD_SELECTORS", + "SELECTOR_NAME", + "ADVANCED_EVENT_SELECTOR", + "ADVANCED_EVENT_SELECTORS", + "EVENT_CATEGORY_AGGREGATION", + "TEMPLATE", + "TEMPLATES", + "AGGREGATION_CONFIGURATION", + "AGGREGATION_CONFIGURATIONS", + "BILLING_MODE", + "BOOLEAN", + "BYTE_BUFFER", + "EVENT_DATA_STORE_ARN", + "UUID", + "CANCEL_QUERY_INPUT", + "CANCEL_QUERY_OUTPUT", + "CANCEL_QUERY", + "QUERY_STATUS", + "INACTIVE_QUERY_EXCEPTION", + "INVALID_PARAMETER_EXCEPTION", + "QUERY_ID_NOT_FOUND_EXCEPTION", + "CANNOT_DELEGATE_MANAGEMENT_ACCOUNT_EXCEPTION", + "CHANNEL_ARN", + "CHANNEL_NAME", + "CHANNEL", + "CHANNEL_ALREADY_EXISTS_EXCEPTION", + "CHANNEL_EXISTS_FOR_EDS_EXCEPTION", + "CHANNEL_MAX_LIMIT_EXCEEDED_EXCEPTION", + "CHANNELS", + "LOCATION", + "DESTINATION_TYPE", + "DESTINATION", + "DESTINATIONS", + "SOURCE", + "CREATE_CHANNEL_INPUT", + "CREATE_CHANNEL_OUTPUT", + "CREATE_CHANNEL", + "INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION", + "INVALID_SOURCE_EXCEPTION", + "DASHBOARD_NAME", + "REFRESH_SCHEDULE_FREQUENCY_UNIT", + "REFRESH_SCHEDULE_FREQUENCY_VALUE", + "REFRESH_SCHEDULE_FREQUENCY", + "REFRESH_SCHEDULE_STATUS", + "TIME_OF_DAY", + "REFRESH_SCHEDULE", + "TERMINATION_PROTECTION_ENABLED", + "QUERY_PARAMETER", + "QUERY_PARAMETERS", + "QUERY_STATEMENT", + "VIEW_PROPERTIES_KEY", + "VIEW_PROPERTIES_VALUE", + "VIEW_PROPERTIES_MAP", + "REQUEST_WIDGET", + "REQUEST_WIDGET_LIST", + "CREATE_DASHBOARD_INPUT", + "CREATE_DASHBOARD_OUTPUT", + "CREATE_DASHBOARD", + "DASHBOARD_ARN", + "DASHBOARD_TYPE", + "QUERY_ALIAS", + "WIDGET", + "WIDGET_LIST", + "INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION", + "INVALID_QUERY_STATEMENT_EXCEPTION", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION", + "EVENT_DATA_STORE_KMS_KEY_ID", + "EVENT_DATA_STORE_NAME", + "RETENTION_PERIOD", + "CREATE_EVENT_DATA_STORE_INPUT", + "CREATE_EVENT_DATA_STORE_OUTPUT", + "CREATE_EVENT_DATA_STORE", + "TRAIL_NOT_FOUND_EXCEPTION", + "REFRESH_ID", + "PROMPT", + "TRAIL", + "PAGINATION_TOKEN", + "INVALID_NEXT_TOKEN_EXCEPTION", + ), + ( + "DATE", + "EVENT_DATA_STORE_STATUS", + "EVENT_DATA_STORE_ALREADY_EXISTS_EXCEPTION", + "EVENT_DATA_STORE_MAX_LIMIT_EXCEEDED_EXCEPTION", + "INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION", + "INVALID_EVENT_SELECTORS_EXCEPTION", + "INVALID_KMS_KEY_ID_EXCEPTION", + "KMS_EXCEPTION", + "KMS_KEY_NOT_FOUND_EXCEPTION", + "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION", + "ORGANIZATIONS_NOT_IN_USE_EXCEPTION", + "THROTTLING_EXCEPTION", + "CLOUD_TRAIL_INVALID_CLIENT_TOKEN_ID_EXCEPTION", + "CLOUD_WATCH_LOGS_DELIVERY_UNAVAILABLE_EXCEPTION", + "CREATE_TRAIL_INPUT", + "CREATE_TRAIL_OUTPUT", + "CREATE_TRAIL", + "INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION", + "INSUFFICIENT_SNS_TOPIC_POLICY_EXCEPTION", + "INVALID_CLOUD_WATCH_LOGS_LOG_GROUP_ARN_EXCEPTION", + "INVALID_CLOUD_WATCH_LOGS_ROLE_ARN_EXCEPTION", + "INVALID_PARAMETER_COMBINATION_EXCEPTION", + "INVALID_S3_BUCKET_NAME_EXCEPTION", + "INVALID_S3_PREFIX_EXCEPTION", + "INVALID_SNS_TOPIC_NAME_EXCEPTION", + "KMS_KEY_DISABLED_EXCEPTION", + "MAXIMUM_NUMBER_OF_TRAILS_EXCEEDED_EXCEPTION", + "S3_BUCKET_DOES_NOT_EXIST_EXCEPTION", + "TRAIL_ALREADY_EXISTS_EXCEPTION", + "TRAIL_NOT_PROVIDED_EXCEPTION", + "DELETE_CHANNEL_INPUT", + "DELETE_CHANNEL_OUTPUT", + "DELETE_CHANNEL", + "DELETE_DASHBOARD_INPUT", + "DELETE_DASHBOARD_OUTPUT", + "DELETE_DASHBOARD", + "DELETE_EVENT_DATA_STORE_INPUT", + "DELETE_EVENT_DATA_STORE_OUTPUT", + "DELETE_EVENT_DATA_STORE", + "EVENT_DATA_STORE_FEDERATION_ENABLED_EXCEPTION", + "EVENT_DATA_STORE_HAS_ONGOING_IMPORT_EXCEPTION", + "EVENT_DATA_STORE_TERMINATION_PROTECTED_EXCEPTION", + "RESOURCE_ARN", + "DELETE_RESOURCE_POLICY_INPUT", + "DELETE_RESOURCE_POLICY_OUTPUT", + "DELETE_RESOURCE_POLICY", + "RESOURCE_ARN_NOT_VALID_EXCEPTION", + "RESOURCE_POLICY_NOT_FOUND_EXCEPTION", + "DELETE_TRAIL_INPUT", + "DELETE_TRAIL_OUTPUT", + "DELETE_TRAIL", + "INVALID_HOME_REGION_EXCEPTION", + "DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT", + "DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT", + "DEREGISTER_ORGANIZATION_DELEGATED_ADMIN", + "NOT_ORGANIZATION_MANAGEMENT_ACCOUNT_EXCEPTION", + "DESCRIBE_QUERY_INPUT", + "DESCRIBE_QUERY_OUTPUT", + "DESCRIBE_QUERY", + "DELIVERY_S3_URI", + "DELIVERY_STATUS", + "LONG", + "INTEGER", + "QUERY_STATISTICS_FOR_DESCRIBE_QUERY", + "TRAIL_NAME_LIST", + "DESCRIBE_TRAILS_INPUT", + "DESCRIBE_TRAILS_OUTPUT", + "DESCRIBE_TRAILS", + "TRAIL_LIST", + "CONCURRENT_MODIFICATION_EXCEPTION", + "DISABLE_FEDERATION_INPUT", + "DISABLE_FEDERATION_OUTPUT", + "DISABLE_FEDERATION", + "FEDERATION_STATUS", + "FEDERATION_ROLE_ARN", + "ENABLE_FEDERATION_INPUT", + "ENABLE_FEDERATION_OUTPUT", + "ENABLE_FEDERATION", + "INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION", + "INSIGHT_TYPE", + "INVALID_MAX_RESULTS_EXCEPTION", + "RESOURCE_POLICY", + "INSUFFICIENT_IAM_ACCESS_PERMISSION_EXCEPTION", + "INVALID_INSIGHT_SELECTORS_EXCEPTION", + ), + ( + "EVENT_DATA_STORE_LIST", + "GENERATE_QUERY_INPUT", + "GENERATE_QUERY_OUTPUT", + "GENERATE_QUERY", + "GENERATE_RESPONSE_EXCEPTION", + "GET_CHANNEL_INPUT", + "GET_CHANNEL_OUTPUT", + "GET_CHANNEL", + "INGESTION_STATUS", + "SOURCE_CONFIG", + "GET_DASHBOARD_INPUT", + "GET_DASHBOARD_OUTPUT", + "GET_DASHBOARD", + "DASHBOARD_STATUS", + "GET_EVENT_CONFIGURATION_INPUT", + "GET_EVENT_CONFIGURATION_OUTPUT", + "GET_EVENT_CONFIGURATION", + "OPERATOR_TARGET_LIST_MEMBER", + "OPERATOR_TARGET_LIST", + "TYPE", + "CONTEXT_KEY_SELECTOR", + "CONTEXT_KEY_SELECTORS", + "MAX_EVENT_SIZE", + "GET_EVENT_DATA_STORE_INPUT", + "GET_EVENT_DATA_STORE_OUTPUT", + "GET_EVENT_DATA_STORE", + "PARTITION_KEY_NAME", + "PARTITION_KEY_TYPE", + "PARTITION_KEY", + "PARTITION_KEY_LIST", + "GET_EVENT_SELECTORS_INPUT", + "GET_EVENT_SELECTORS_OUTPUT", + "GET_EVENT_SELECTORS", + "DATA_RESOURCE_VALUES", + "DATA_RESOURCE", + "DATA_RESOURCES", + "EXCLUDE_MANAGEMENT_EVENT_SOURCES", + "READ_WRITE_TYPE", + "EVENT_SELECTOR", + "EVENT_SELECTORS", + "GET_IMPORT_INPUT", + "GET_IMPORT_OUTPUT", + "GET_IMPORT", + "IMPORT_DESTINATIONS", + "S3_IMPORT_SOURCE", + "IMPORT_SOURCE", + "IMPORT_STATISTICS", + "IMPORT_STATUS", + "IMPORT_NOT_FOUND_EXCEPTION", + "GET_INSIGHT_SELECTORS_INPUT", + "GET_INSIGHT_SELECTORS_OUTPUT", + "GET_INSIGHT_SELECTORS", + "SOURCE_EVENT_CATEGORY", + "SOURCE_EVENT_CATEGORIES", + "INSIGHT_SELECTOR", + "INSIGHT_SELECTORS", + "INSIGHT_NOT_ENABLED_EXCEPTION", + "MAX_QUERY_RESULTS", + "GET_QUERY_RESULTS_INPUT", + "GET_QUERY_RESULTS_OUTPUT", + "GET_QUERY_RESULTS", + "QUERY_RESULT_KEY", + "QUERY_RESULT_VALUE", + "QUERY_RESULT_COLUMN", + "QUERY_RESULT_ROW", + "QUERY_RESULT_ROWS", + "QUERY_STATISTICS", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + "GET_TRAIL_INPUT", + "GET_TRAIL_OUTPUT", + "GET_TRAIL", + "GET_TRAIL_STATUS_INPUT", + "GET_TRAIL_STATUS_OUTPUT", + "GET_TRAIL_STATUS", + "LIST_CHANNELS_MAX_RESULTS_COUNT", + "LIST_CHANNELS_INPUT", + "LIST_CHANNELS_OUTPUT", + "LIST_CHANNELS", + "LIST_DASHBOARDS_MAX_RESULTS_COUNT", + ), + ( + "LIST_DASHBOARDS_INPUT", + "LIST_DASHBOARDS_OUTPUT", + "LIST_DASHBOARDS", + "DASHBOARD_DETAIL", + "DASHBOARDS", + "LIST_EVENT_DATA_STORES_MAX_RESULTS_COUNT", + "LIST_EVENT_DATA_STORES_INPUT", + "LIST_EVENT_DATA_STORES_OUTPUT", + "LIST_EVENT_DATA_STORES", + "EVENT_DATA_STORE", + "EVENT_DATA_STORES", + "LIST_IMPORT_FAILURES_MAX_RESULTS_COUNT", + "LIST_IMPORT_FAILURES_INPUT", + "LIST_IMPORT_FAILURES_OUTPUT", + "LIST_IMPORT_FAILURES", + "IMPORT_FAILURE_STATUS", + "IMPORT_FAILURE_LIST_ITEM", + "IMPORT_FAILURE_LIST", + "LIST_IMPORTS_MAX_RESULTS_COUNT", + "LIST_IMPORTS_INPUT", + "LIST_IMPORTS_OUTPUT", + "LIST_IMPORTS", + "IMPORTS_LIST_ITEM", + "IMPORTS_LIST", + "LIST_INSIGHTS_DATA_TYPE", + "LIST_INSIGHTS_DATA_DIMENSION_KEY", + "LIST_INSIGHTS_DATA_DIMENSION_VALUE", + "LIST_INSIGHTS_DATA_DIMENSIONS", + "LIST_INSIGHTS_DATA_MAX_RESULTS_COUNT", + "LIST_INSIGHTS_DATA_INPUT", + "LIST_INSIGHTS_DATA_OUTPUT", + "LIST_INSIGHTS_DATA", + "RESOURCE", + "RESOURCE_LIST", + "EVENT", + "EVENTS_LIST", + "INSIGHTS_METRIC_DATA_TYPE", + "ERROR_CODE", + "EVENT_NAME", + "EVENT_SOURCE", + "INSIGHTS_METRIC_MAX_RESULTS", + "INSIGHTS_METRIC_NEXT_TOKEN", + "INSIGHTS_METRIC_PERIOD", + "LIST_INSIGHTS_METRIC_DATA_INPUT", + "LIST_INSIGHTS_METRIC_DATA_OUTPUT", + "LIST_INSIGHTS_METRIC_DATA", + "TIMESTAMPS", + "DOUBLE", + "INSIGHTS_METRIC_VALUES", + "INVALID_TIME_RANGE_EXCEPTION", + "INVALID_TOKEN_EXCEPTION", + "LIST_PUBLIC_KEYS_INPUT", + "LIST_PUBLIC_KEYS_OUTPUT", + "LIST_PUBLIC_KEYS", + "PUBLIC_KEY", + "PUBLIC_KEY_LIST", + "INVALID_DATE_RANGE_EXCEPTION", + "INVALID_QUERY_STATUS_EXCEPTION", + "LIST_QUERIES_MAX_RESULTS_COUNT", + "LIST_QUERIES_INPUT", + "LIST_QUERIES_OUTPUT", + "LIST_QUERIES", + "QUERY", + "QUERIES", + "RESOURCE_ID_LIST", + "LIST_TAGS_INPUT", + "LIST_TAGS_OUTPUT", + "LIST_TAGS", + "RESOURCE_TAG", + "RESOURCE_TAG_LIST", + "LIST_TRAILS_INPUT", + "LIST_TRAILS_OUTPUT", + "LIST_TRAILS", + "TRAIL_INFO", + "TRAILS", + "INVALID_EVENT_CATEGORY_EXCEPTION", + "INVALID_LOOKUP_ATTRIBUTES_EXCEPTION", + "EVENT_CATEGORY", + "LOOKUP_ATTRIBUTE_KEY", + "LOOKUP_ATTRIBUTE_VALUE", + "LOOKUP_ATTRIBUTE", + "LOOKUP_ATTRIBUTES_LIST", + "MAX_RESULTS", + "NEXT_TOKEN", + "LOOKUP_EVENTS_INPUT", + "LOOKUP_EVENTS_OUTPUT", + "LOOKUP_EVENTS", + "PUT_EVENT_CONFIGURATION_INPUT", + "PUT_EVENT_CONFIGURATION_OUTPUT", + "PUT_EVENT_CONFIGURATION", + "PUT_EVENT_SELECTORS_INPUT", + "PUT_EVENT_SELECTORS_OUTPUT", + "PUT_EVENT_SELECTORS", + ), + ( + "PUT_INSIGHT_SELECTORS_INPUT", + "PUT_INSIGHT_SELECTORS_OUTPUT", + "PUT_INSIGHT_SELECTORS", + "PUT_RESOURCE_POLICY_INPUT", + "PUT_RESOURCE_POLICY_OUTPUT", + "PUT_RESOURCE_POLICY", + "RESOURCE_POLICY_NOT_VALID_EXCEPTION", + "DELEGATED_ADMIN_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION", + "REGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT", + "REGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT", + "REGISTER_ORGANIZATION_DELEGATED_ADMIN", + "REMOVE_TAGS_INPUT", + "REMOVE_TAGS_OUTPUT", + "REMOVE_TAGS", + "RESTORE_EVENT_DATA_STORE_INPUT", + "RESTORE_EVENT_DATA_STORE_OUTPUT", + "RESTORE_EVENT_DATA_STORE", + "SEARCH_SAMPLE_QUERIES_MAX_RESULTS", + "SEARCH_SAMPLE_QUERIES_SEARCH_PHRASE", + "SEARCH_SAMPLE_QUERIES_INPUT", + "SEARCH_SAMPLE_QUERIES_OUTPUT", + "SEARCH_SAMPLE_QUERIES", + "SAMPLE_QUERY_DESCRIPTION", + "SAMPLE_QUERY_NAME", + "SAMPLE_QUERY_RELEVANCE", + "SAMPLE_QUERY_SQL", + "SEARCH_SAMPLE_QUERIES_SEARCH_RESULT", + "SEARCH_SAMPLE_QUERIES_SEARCH_RESULTS", + "QUERY_PARAMETER_KEY", + "QUERY_PARAMETER_VALUE", + "QUERY_PARAMETER_VALUES", + "START_DASHBOARD_REFRESH_INPUT", + "START_DASHBOARD_REFRESH_OUTPUT", + "START_DASHBOARD_REFRESH", + "START_EVENT_DATA_STORE_INGESTION_INPUT", + "START_EVENT_DATA_STORE_INGESTION_OUTPUT", + "START_EVENT_DATA_STORE_INGESTION", + "INVALID_IMPORT_SOURCE_EXCEPTION", + "START_IMPORT_INPUT", + "START_IMPORT_OUTPUT", + "START_IMPORT", + "START_LOGGING_INPUT", + "START_LOGGING_OUTPUT", + "START_LOGGING", + "MAX_CONCURRENT_QUERIES_EXCEPTION", + "START_QUERY_INPUT", + "START_QUERY_OUTPUT", + "START_QUERY", + "STOP_EVENT_DATA_STORE_INGESTION_INPUT", + "STOP_EVENT_DATA_STORE_INGESTION_OUTPUT", + "STOP_EVENT_DATA_STORE_INGESTION", + "STOP_IMPORT_INPUT", + "STOP_IMPORT_OUTPUT", + "STOP_IMPORT", + "STOP_LOGGING_INPUT", + "STOP_LOGGING_OUTPUT", + "STOP_LOGGING", + "UPDATE_CHANNEL_INPUT", + "UPDATE_CHANNEL_OUTPUT", + "UPDATE_CHANNEL", + "UPDATE_DASHBOARD_INPUT", + "UPDATE_DASHBOARD_OUTPUT", + "UPDATE_DASHBOARD", + "UPDATE_EVENT_DATA_STORE_INPUT", + "UPDATE_EVENT_DATA_STORE_OUTPUT", + "UPDATE_EVENT_DATA_STORE", + "UPDATE_TRAIL_INPUT", + "UPDATE_TRAIL_OUTPUT", + "UPDATE_TRAIL", + "CLOUD_TRAIL_20131101", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_0.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_0.py new file mode 100644 index 000000000..87183c46d --- /dev/null +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_0.py @@ -0,0 +1,1300 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudtrail" +_EM = "ErrorMessage" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_AHOIE = "AccountHasOngoingImportException" +_AI = "AccountId" +_ANFE = "AccountNotFoundException" +_ANRE = "AccountNotRegisteredException" +_ARE = "AccountRegisteredException" +_S = "String" +_TK = "TagKey" +_TV = "TagValue" +_T = "Tag" +_K = "Key" +_sm = "smithy.api#required" +_V = "Value" +_TL = "TagsList" +_m = "member" +_ATI = "AddTagsInput" +_sSI = "smithy.synthetic#originalShapeId" +_cATR = "com.amazonaws.cloudtrail#AddTagsRequest" +_smi = "smithy.api#input" +_RI = "ResourceId" +_ATO = "AddTagsOutput" +_cATRo = "com.amazonaws.cloudtrail#AddTagsResponse" +_smit = "smithy.api#output" +_CARNIE = "ChannelARNInvalidException" +_CNFE = "ChannelNotFoundException" +_CTARNIE = "CloudTrailARNInvalidException" +_CE = "ConflictException" +_EDSARNIE = "EventDataStoreARNInvalidException" +_EDSNFE = "EventDataStoreNotFoundException" +_IEDSE = "InactiveEventDataStoreException" +_ITPE = "InvalidTagParameterException" +_ITNE = "InvalidTrailNameException" +_NMASLREE = "NoManagementAccountSLRExistsException" +_NOMAE = "NotOrganizationMasterAccountException" +_ONPE = "OperationNotPermittedException" +_RNFE = "ResourceNotFoundException" +_RTNSE = "ResourceTypeNotSupportedException" +_TLEE = "TagsLimitExceededException" +_UOE = "UnsupportedOperationException" +_AT = "AddTags" +_OV = "OperatorValue" +_O = "Operator" +_SF = "SelectorField" +_AFS = "AdvancedFieldSelector" +_F = "Field" +_E = "Equals" +_SW = "StartsWith" +_EW = "EndsWith" +_NE = "NotEquals" +_NSW = "NotStartsWith" +_NEW = "NotEndsWith" +_AFSd = "AdvancedFieldSelectors" +_SN = "SelectorName" +_AES = "AdvancedEventSelector" +_N = "Name" +_FS = "FieldSelectors" +_AESd = "AdvancedEventSelectors" +_ECA = "EventCategoryAggregation" +_D = "Data" +_sV = "smithy.api#enumValue" +_Te = "Template" +_AA = "API_ACTIVITY" +_RA = "RESOURCE_ACCESS" +_UA = "USER_ACTIONS" +_Tem = "Templates" +_AC = "AggregationConfiguration" +_EC = "EventCategory" +_ACg = "AggregationConfigurations" +_BM = "BillingMode" +_ERP = "EXTENDABLE_RETENTION_PRICING" +_FRP = "FIXED_RETENTION_PRICING" +_B = "Boolean" +_BB = "ByteBuffer" +_EDSA = "EventDataStoreArn" +_UUID = "UUID" +_CQI = "CancelQueryInput" +_cCQR = "com.amazonaws.cloudtrail#CancelQueryRequest" +_EDS = "EventDataStore" +_QI = "QueryId" +_EDSOAI = "EventDataStoreOwnerAccountId" +_QS = "QueryStatus" +_QUEUED = "QUEUED" +_RUNNING = "RUNNING" +_FINISHED = "FINISHED" +_FAILED = "FAILED" +_CANCELLED = "CANCELLED" +_TO = "TIMED_OUT" +_CQO = "CancelQueryOutput" +_cCQRo = "com.amazonaws.cloudtrail#CancelQueryResponse" +_IQE = "InactiveQueryException" +_IPE = "InvalidParameterException" +_QINFE = "QueryIdNotFoundException" +_CQ = "CancelQuery" +_CDMAE = "CannotDelegateManagementAccountException" +_CA = "ChannelArn" +_CN = "ChannelName" +_C = "Channel" +_CAEE = "ChannelAlreadyExistsException" +_CEFEDSE = "ChannelExistsForEDSException" +_CMLEE = "ChannelMaxLimitExceededException" +_Ch = "Channels" +_L = "Location" +_DT = "DestinationType" +_EDS_ = "EVENT_DATA_STORE" +_AS = "AWS_SERVICE" +_De = "Destination" +_Ty = "Type" +_Des = "Destinations" +_So = "Source" +_CCI = "CreateChannelInput" +_cCCR = "com.amazonaws.cloudtrail#CreateChannelRequest" +_Ta = "Tags" +_CCO = "CreateChannelOutput" +_cCCRo = "com.amazonaws.cloudtrail#CreateChannelResponse" +_IEDSCE = "InvalidEventDataStoreCategoryException" +_ISE = "InvalidSourceException" +_CC = "CreateChannel" +_DN = "DashboardName" +_RSFU = "RefreshScheduleFrequencyUnit" +_HOURS = "HOURS" +_DAYS = "DAYS" +_RSFV = "RefreshScheduleFrequencyValue" +_RSF = "RefreshScheduleFrequency" +_U = "Unit" +_RSS = "RefreshScheduleStatus" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_TOD = "TimeOfDay" +_RS = "RefreshSchedule" +_Fr = "Frequency" +_St = "Status" +_TPE = "TerminationProtectionEnabled" +_QP = "QueryParameter" +_QPu = "QueryParameters" +_QSu = "QueryStatement" +_VPK = "ViewPropertiesKey" +_VPV = "ViewPropertiesValue" +_VPM = "ViewPropertiesMap" +_k = "key" +_v = "value" +_RW = "RequestWidget" +_VP = "ViewProperties" +_RWL = "RequestWidgetList" +_CDI = "CreateDashboardInput" +_cCDR = "com.amazonaws.cloudtrail#CreateDashboardRequest" +_W = "Widgets" +_DA = "DashboardArn" +_DTa = "DashboardType" +_MANAGED = "MANAGED" +_CUSTOM = "CUSTOM" +_QA = "QueryAlias" +_Wi = "Widget" +_WL = "WidgetList" +_CDO = "CreateDashboardOutput" +_cCDRo = "com.amazonaws.cloudtrail#CreateDashboardResponse" +_IEPE = "InsufficientEncryptionPolicyException" +_IQSE = "InvalidQueryStatementException" +_SQEE = "ServiceQuotaExceededException" +_CD = "CreateDashboard" +_CTANEE = "CloudTrailAccessNotEnabledException" +_EDSKKI = "EventDataStoreKmsKeyId" +_EDSN = "EventDataStoreName" +_RP = "RetentionPeriod" +_CEDSI = "CreateEventDataStoreInput" +_cCEDSR = "com.amazonaws.cloudtrail#CreateEventDataStoreRequest" +_MRE = "MultiRegionEnabled" +_OE = "OrganizationEnabled" +_KKI = "KmsKeyId" +_SI = "StartIngestion" +_CEDSO = "CreateEventDataStoreOutput" +_cCEDSRo = "com.amazonaws.cloudtrail#CreateEventDataStoreResponse" +_CT = "CreatedTimestamp" +_UT = "UpdatedTimestamp" +_CEDS = "CreateEventDataStore" +_SBN = "S3BucketName" +_SKP = "S3KeyPrefix" +_STN = "SnsTopicName" +_IGSE = "IncludeGlobalServiceEvents" +_IMRT = "IsMultiRegionTrail" +_CWLLGA = "CloudWatchLogsLogGroupArn" +_CWLRA = "CloudWatchLogsRoleArn" +_IOT = "IsOrganizationTrail" +_RL = "RecursiveLogging" +_STARN = "SnsTopicARN" +_TARN = "TrailARN" +_LFVE = "LogFileValidationEnabled" +_TNFE = "TrailNotFoundException" +_RIe = "RefreshId" +_P = "Prompt" +_Tr = "Trail" +_HR = "HomeRegion" +_HCES = "HasCustomEventSelectors" +_HIS = "HasInsightSelectors" +_PT = "PaginationToken" +_INTE = "InvalidNextTokenException" + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + { + _s: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "ResourceAccessDenied", "httpResponseCode": 403} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +ACCOUNT_HAS_ONGOING_IMPORT_EXCEPTION: StaticSchema = ( + 18, + n0, + _AHOIE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "AccountHasOngoingImport", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) + +ACCOUNT_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _ANFE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "AccountNotFound", "httpResponseCode": 404}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +ACCOUNT_NOT_REGISTERED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ANRE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "AccountNotRegistered", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +ACCOUNT_REGISTERED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ARE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "AccountRegistered", "httpResponseCode": 400}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +STRING: StaticSchema = (3, n0, _S, 0) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _T, 0, (_K, _V), ((TAG_KEY, 1), (TAG_VALUE, 0))) + +TAGS_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) + +ADD_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _ATI, + {_sSI: _cATR, _smi: None}, + (_RI, _TL), + ((STRING, 1), (TAGS_LIST, 1)), +) + +ADD_TAGS_OUTPUT: StaticSchema = (18, n0, _ATO, {_sSI: _cATRo, _smit: None}) + +ADD_TAGS: StaticOperationSchema = ( + 23, + n0, + _AT, + 0, + ADD_TAGS_INPUT, + ADD_TAGS_OUTPUT, + ( + lambda: CHANNEL_ARN_INVALID_EXCEPTION, + lambda: CHANNEL_NOT_FOUND_EXCEPTION, + lambda: CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: CONFLICT_EXCEPTION, + lambda: EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: INVALID_TAG_PARAMETER_EXCEPTION, + lambda: INVALID_TRAIL_NAME_EXCEPTION, + lambda: NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, + lambda: TAGS_LIMIT_EXCEEDED_EXCEPTION, + lambda: UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +CHANNEL_ARN_INVALID_EXCEPTION: StaticSchema = ( + 18, + n0, + _CARNIE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "ChannelARNInvalid", "httpResponseCode": 400}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CHANNEL_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _CNFE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "ChannelNotFound", "httpResponseCode": 404}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CLOUD_TRAIL_ARN_INVALID_EXCEPTION: StaticSchema = ( + 18, + n0, + _CTARNIE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CloudTrailARNInvalid", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + { + _s: _c, + _sE: 409, + _aQE: MappingProxyType({"code": "ConflictException", "httpResponseCode": 409}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +EVENT_DATA_STORE_ARN_INVALID_EXCEPTION: StaticSchema = ( + 18, + n0, + _EDSARNIE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "EventDataStoreARNInvalid", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +EVENT_DATA_STORE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _EDSNFE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "EventDataStoreNotFound", "httpResponseCode": 404} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INACTIVE_EVENT_DATA_STORE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IEDSE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InactiveEventDataStore", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INVALID_TAG_PARAMETER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ITPE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidTagParameter", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INVALID_TRAIL_NAME_EXCEPTION: StaticSchema = ( + 18, + n0, + _ITNE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidTrailName", "httpResponseCode": 400}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _NMASLREE, + { + _s: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "NoManagementAccountSLRExists", "httpResponseCode": 403} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION: StaticSchema = ( + 18, + n0, + _NOMAE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "NotOrganizationMasterAccount", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +OPERATION_NOT_PERMITTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ONPE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "OperationNotPermitted", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "ResourceNotFound", "httpResponseCode": 400}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _RTNSE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ResourceTypeNotSupported", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +TAGS_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _TLEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "TagsLimitExceeded", "httpResponseCode": 400}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +UNSUPPORTED_OPERATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _UOE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "UnsupportedOperation", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +OPERATOR_VALUE: StaticSchema = (3, n0, _OV, 0) + +OPERATOR: StaticSchema = (16, n0, _O, 0, (_m,), ((OPERATOR_VALUE, 0),)) + +SELECTOR_FIELD: StaticSchema = (3, n0, _SF, 0) + +ADVANCED_FIELD_SELECTOR: StaticSchema = ( + 18, + n0, + _AFS, + 0, + (_F, _E, _SW, _EW, _NE, _NSW, _NEW), + ( + (SELECTOR_FIELD, 1), + (OPERATOR, 0), + (OPERATOR, 0), + (OPERATOR, 0), + (OPERATOR, 0), + (OPERATOR, 0), + (OPERATOR, 0), + ), +) + +ADVANCED_FIELD_SELECTORS: StaticSchema = ( + 16, + n0, + _AFSd, + 0, + (_m,), + ((ADVANCED_FIELD_SELECTOR, 0),), +) + +SELECTOR_NAME: StaticSchema = (3, n0, _SN, 0) + +ADVANCED_EVENT_SELECTOR: StaticSchema = ( + 18, + n0, + _AES, + 0, + (_N, _FS), + ((SELECTOR_NAME, 0), (ADVANCED_FIELD_SELECTORS, 1)), +) + +ADVANCED_EVENT_SELECTORS: StaticSchema = ( + 16, + n0, + _AESd, + 0, + (_m,), + ((ADVANCED_EVENT_SELECTOR, 0),), +) + +EVENT_CATEGORY_AGGREGATION: StaticSchema = (14, n0, _ECA, 0, (_D,), ((-1, {_sV: _D}),)) + +TEMPLATE: StaticSchema = ( + 14, + n0, + _Te, + 0, + (_AA, _RA, _UA), + ((-1, {_sV: _AA}), (-1, {_sV: _RA}), (-1, {_sV: _UA})), +) + +TEMPLATES: StaticSchema = (16, n0, _Tem, 0, (_m,), ((TEMPLATE, 0),)) + +AGGREGATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AC, + 0, + (_Tem, _EC), + ((TEMPLATES, 1), (EVENT_CATEGORY_AGGREGATION, 1)), +) + +AGGREGATION_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _ACg, + 0, + (_m,), + ((AGGREGATION_CONFIGURATION, 0),), +) + +BILLING_MODE: StaticSchema = ( + 14, + n0, + _BM, + 0, + (_ERP, _FRP), + ((-1, {_sV: _ERP}), (-1, {_sV: _FRP})), +) + +BOOLEAN: StaticSchema = (2, n0, _B, 0) + +BYTE_BUFFER: StaticSchema = (1, n0, _BB, 0) + +EVENT_DATA_STORE_ARN: StaticSchema = (3, n0, _EDSA, 0) + +UUID: StaticSchema = (3, n0, _UUID, 0) + +CANCEL_QUERY_INPUT: StaticSchema = ( + 18, + n0, + _CQI, + {_sSI: _cCQR, _smi: None}, + (_EDS, _QI, _EDSOAI), + ((EVENT_DATA_STORE_ARN, 0), (UUID, 1), (ACCOUNT_ID, 0)), +) + +CANCEL_QUERY_OUTPUT: StaticSchema = ( + 18, + n0, + _CQO, + {_sSI: _cCQRo, _smit: None}, + (_QI, _QS, _EDSOAI), + ((UUID, 1), (lambda: QUERY_STATUS, 1), (ACCOUNT_ID, 0)), +) + +CANCEL_QUERY: StaticOperationSchema = ( + 23, + n0, + _CQ, + 0, + CANCEL_QUERY_INPUT, + CANCEL_QUERY_OUTPUT, + ( + CONFLICT_EXCEPTION, + EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: INACTIVE_QUERY_EXCEPTION, + lambda: INVALID_PARAMETER_EXCEPTION, + NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: QUERY_ID_NOT_FOUND_EXCEPTION, + UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +QUERY_STATUS: StaticSchema = ( + 14, + n0, + _QS, + 0, + (_QUEUED, _RUNNING, _FINISHED, _FAILED, _CANCELLED, _TO), + ( + (-1, {_sV: _QUEUED}), + (-1, {_sV: _RUNNING}), + (-1, {_sV: _FINISHED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _CANCELLED}), + (-1, {_sV: _TO}), + ), +) + +INACTIVE_QUERY_EXCEPTION: StaticSchema = ( + 18, + n0, + _IQE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InactiveQuery", "httpResponseCode": 400}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INVALID_PARAMETER_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidParameter", "httpResponseCode": 400}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +QUERY_ID_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _QINFE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "QueryIdNotFound", "httpResponseCode": 404}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CANNOT_DELEGATE_MANAGEMENT_ACCOUNT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CDMAE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CannotDelegateManagementAccount", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CHANNEL_ARN: StaticSchema = (3, n0, _CA, 0) + +CHANNEL_NAME: StaticSchema = (3, n0, _CN, 0) + +CHANNEL: StaticSchema = ( + 18, + n0, + _C, + 0, + (_CA, _N), + ((CHANNEL_ARN, 0), (CHANNEL_NAME, 0)), +) + +CHANNEL_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _CAEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ChannelAlreadyExists", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CHANNEL_EXISTS_FOR_EDS_EXCEPTION: StaticSchema = ( + 18, + n0, + _CEFEDSE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ChannelExistsForEDS", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CHANNEL_MAX_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CMLEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ChannelMaxLimitExceeded", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CHANNELS: StaticSchema = (16, n0, _Ch, 0, (_m,), ((CHANNEL, 0),)) + +LOCATION: StaticSchema = (3, n0, _L, 0) + +DESTINATION_TYPE: StaticSchema = ( + 14, + n0, + _DT, + 0, + (_EDS_, _AS), + ((-1, {_sV: _EDS_}), (-1, {_sV: _AS})), +) + +DESTINATION: StaticSchema = ( + 18, + n0, + _De, + 0, + (_Ty, _L), + ((DESTINATION_TYPE, 1), (LOCATION, 1)), +) + +DESTINATIONS: StaticSchema = (16, n0, _Des, 0, (_m,), ((DESTINATION, 0),)) + +SOURCE: StaticSchema = (3, n0, _So, 0) + +CREATE_CHANNEL_INPUT: StaticSchema = ( + 18, + n0, + _CCI, + {_sSI: _cCCR, _smi: None}, + (_N, _So, _Des, _Ta), + ((CHANNEL_NAME, 1), (SOURCE, 1), (DESTINATIONS, 1), (TAGS_LIST, 0)), +) + +CREATE_CHANNEL_OUTPUT: StaticSchema = ( + 18, + n0, + _CCO, + {_sSI: _cCCRo, _smit: None}, + (_CA, _N, _So, _Des, _Ta), + ( + (CHANNEL_ARN, 0), + (CHANNEL_NAME, 0), + (SOURCE, 0), + (DESTINATIONS, 0), + (TAGS_LIST, 0), + ), +) + +CREATE_CHANNEL: StaticOperationSchema = ( + 23, + n0, + _CC, + 0, + CREATE_CHANNEL_INPUT, + CREATE_CHANNEL_OUTPUT, + ( + CHANNEL_ALREADY_EXISTS_EXCEPTION, + CHANNEL_MAX_LIMIT_EXCEEDED_EXCEPTION, + EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + lambda: INVALID_SOURCE_EXCEPTION, + INVALID_TAG_PARAMETER_EXCEPTION, + OPERATION_NOT_PERMITTED_EXCEPTION, + TAGS_LIMIT_EXCEEDED_EXCEPTION, + UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION: StaticSchema = ( + 18, + n0, + _IEDSCE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidEventDataStoreCategory", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INVALID_SOURCE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidSource", "httpResponseCode": 400}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +DASHBOARD_NAME: StaticSchema = (3, n0, _DN, 0) + +REFRESH_SCHEDULE_FREQUENCY_UNIT: StaticSchema = ( + 14, + n0, + _RSFU, + 0, + (_HOURS, _DAYS), + ((-1, {_sV: _HOURS}), (-1, {_sV: _DAYS})), +) + +REFRESH_SCHEDULE_FREQUENCY_VALUE: StaticSchema = (7, n0, _RSFV, 0) + +REFRESH_SCHEDULE_FREQUENCY: StaticSchema = ( + 18, + n0, + _RSF, + 0, + (_U, _V), + ((REFRESH_SCHEDULE_FREQUENCY_UNIT, 0), (REFRESH_SCHEDULE_FREQUENCY_VALUE, 0)), +) + +REFRESH_SCHEDULE_STATUS: StaticSchema = ( + 14, + n0, + _RSS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +TIME_OF_DAY: StaticSchema = (3, n0, _TOD, 0) + +REFRESH_SCHEDULE: StaticSchema = ( + 18, + n0, + _RS, + 0, + (_Fr, _St, _TOD), + ((REFRESH_SCHEDULE_FREQUENCY, 0), (REFRESH_SCHEDULE_STATUS, 0), (TIME_OF_DAY, 0)), +) + +TERMINATION_PROTECTION_ENABLED: StaticSchema = (2, n0, _TPE, 0) + +QUERY_PARAMETER: StaticSchema = (3, n0, _QP, 0) + +QUERY_PARAMETERS: StaticSchema = (16, n0, _QPu, 0, (_m,), ((QUERY_PARAMETER, 0),)) + +QUERY_STATEMENT: StaticSchema = (3, n0, _QSu, 0) + +VIEW_PROPERTIES_KEY: StaticSchema = (3, n0, _VPK, 0) + +VIEW_PROPERTIES_VALUE: StaticSchema = (3, n0, _VPV, 0) + +VIEW_PROPERTIES_MAP: StaticSchema = ( + 17, + n0, + _VPM, + 0, + (_k, _v), + ((VIEW_PROPERTIES_KEY, 0), (VIEW_PROPERTIES_VALUE, 0)), +) + +REQUEST_WIDGET: StaticSchema = ( + 18, + n0, + _RW, + 0, + (_QSu, _QPu, _VP), + ((QUERY_STATEMENT, 1), (QUERY_PARAMETERS, 0), (VIEW_PROPERTIES_MAP, 1)), +) + +REQUEST_WIDGET_LIST: StaticSchema = (16, n0, _RWL, 0, (_m,), ((REQUEST_WIDGET, 0),)) + +CREATE_DASHBOARD_INPUT: StaticSchema = ( + 18, + n0, + _CDI, + {_sSI: _cCDR, _smi: None}, + (_N, _RS, _TL, _TPE, _W), + ( + (DASHBOARD_NAME, 1), + (REFRESH_SCHEDULE, 0), + (TAGS_LIST, 0), + (TERMINATION_PROTECTION_ENABLED, 0), + (REQUEST_WIDGET_LIST, 0), + ), +) + +CREATE_DASHBOARD_OUTPUT: StaticSchema = ( + 18, + n0, + _CDO, + {_sSI: _cCDRo, _smit: None}, + (_DA, _N, _Ty, _W, _TL, _RS, _TPE), + ( + (lambda: DASHBOARD_ARN, 0), + (DASHBOARD_NAME, 0), + (lambda: DASHBOARD_TYPE, 0), + (lambda: WIDGET_LIST, 0), + (TAGS_LIST, 0), + (REFRESH_SCHEDULE, 0), + (TERMINATION_PROTECTION_ENABLED, 0), + ), +) + +CREATE_DASHBOARD: StaticOperationSchema = ( + 23, + n0, + _CD, + 0, + CREATE_DASHBOARD_INPUT, + CREATE_DASHBOARD_OUTPUT, + ( + CONFLICT_EXCEPTION, + EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: INVALID_QUERY_STATEMENT_EXCEPTION, + INVALID_TAG_PARAMETER_EXCEPTION, + lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION, + UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +DASHBOARD_ARN: StaticSchema = (3, n0, _DA, 0) + +DASHBOARD_TYPE: StaticSchema = ( + 14, + n0, + _DTa, + 0, + (_MANAGED, _CUSTOM), + ((-1, {_sV: _MANAGED}), (-1, {_sV: _CUSTOM})), +) + +QUERY_ALIAS: StaticSchema = (3, n0, _QA, 0) + +WIDGET: StaticSchema = ( + 18, + n0, + _Wi, + 0, + (_QA, _QSu, _QPu, _VP), + ( + (QUERY_ALIAS, 0), + (QUERY_STATEMENT, 0), + (QUERY_PARAMETERS, 0), + (VIEW_PROPERTIES_MAP, 0), + ), +) + +WIDGET_LIST: StaticSchema = (16, n0, _WL, 0, (_m,), ((WIDGET, 0),)) + +INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION: StaticSchema = ( + 18, + n0, + _IEPE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InsufficientEncryptionPolicy", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INVALID_QUERY_STATEMENT_EXCEPTION: StaticSchema = ( + 18, + n0, + _IQSE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidQueryStatement", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ServiceQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CTANEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CloudTrailAccessNotEnabled", "httpResponseCode": 400} + ), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +EVENT_DATA_STORE_KMS_KEY_ID: StaticSchema = (3, n0, _EDSKKI, 0) + +EVENT_DATA_STORE_NAME: StaticSchema = (3, n0, _EDSN, 0) + +RETENTION_PERIOD: StaticSchema = (7, n0, _RP, 0) + +CREATE_EVENT_DATA_STORE_INPUT: StaticSchema = ( + 18, + n0, + _CEDSI, + {_sSI: _cCEDSR, _smi: None}, + (_N, _AESd, _MRE, _OE, _RP, _TPE, _TL, _KKI, _SI, _BM), + ( + (EVENT_DATA_STORE_NAME, 1), + (ADVANCED_EVENT_SELECTORS, 0), + (BOOLEAN, 0), + (BOOLEAN, 0), + (RETENTION_PERIOD, 0), + (TERMINATION_PROTECTION_ENABLED, 0), + (TAGS_LIST, 0), + (EVENT_DATA_STORE_KMS_KEY_ID, 0), + (BOOLEAN, 0), + (BILLING_MODE, 0), + ), +) + +CREATE_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _CEDSO, + {_sSI: _cCEDSRo, _smit: None}, + (_EDSA, _N, _St, _AESd, _MRE, _OE, _RP, _TPE, _TL, _CT, _UT, _KKI, _BM), + ( + (EVENT_DATA_STORE_ARN, 0), + (EVENT_DATA_STORE_NAME, 0), + (lambda: schemas.EVENT_DATA_STORE_STATUS, 0), + (ADVANCED_EVENT_SELECTORS, 0), + (BOOLEAN, 0), + (BOOLEAN, 0), + (RETENTION_PERIOD, 0), + (TERMINATION_PROTECTION_ENABLED, 0), + (TAGS_LIST, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (EVENT_DATA_STORE_KMS_KEY_ID, 0), + (BILLING_MODE, 0), + ), +) + +CREATE_EVENT_DATA_STORE: StaticOperationSchema = ( + 23, + n0, + _CEDS, + 0, + CREATE_EVENT_DATA_STORE_INPUT, + CREATE_EVENT_DATA_STORE_OUTPUT, + ( + CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_MAX_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: schemas.INVALID_EVENT_SELECTORS_EXCEPTION, + lambda: schemas.INVALID_KMS_KEY_ID_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + INVALID_TAG_PARAMETER_EXCEPTION, + lambda: schemas.KMS_EXCEPTION, + lambda: schemas.KMS_KEY_NOT_FOUND_EXCEPTION, + NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: schemas.ORGANIZATIONS_NOT_IN_USE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +TRAIL_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _TNFE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "TrailNotFound", "httpResponseCode": 404}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +REFRESH_ID: StaticSchema = (3, n0, _RIe, 0) + +PROMPT: StaticSchema = (3, n0, _P, 0) + +TRAIL: StaticSchema = ( + 18, + n0, + _Tr, + 0, + ( + _N, + _SBN, + _SKP, + _STN, + _STARN, + _IGSE, + _IMRT, + _HR, + _TARN, + _LFVE, + _CWLLGA, + _CWLRA, + _KKI, + _HCES, + _HIS, + _IOT, + _RL, + ), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (BOOLEAN, 0), + (BOOLEAN, 0), + (STRING, 0), + (STRING, 0), + (BOOLEAN, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (BOOLEAN, 0), + (BOOLEAN, 0), + (BOOLEAN, 0), + (BOOLEAN, 0), + ), +) + +PAGINATION_TOKEN: StaticSchema = (3, n0, _PT, 0) + +INVALID_NEXT_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _INTE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidNextToken", "httpResponseCode": 400}), + }, + (_M,), + ((ERROR_MESSAGE, 0),), +) diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_1.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_1.py new file mode 100644 index 000000000..0047c1a80 --- /dev/null +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_1.py @@ -0,0 +1,1294 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudtrail" +_EM = "ErrorMessage" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_sm = "smithy.api#required" +_TL = "TagsList" +_m = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_smit = "smithy.api#output" +_N = "Name" +_sV = "smithy.api#enumValue" +_EDSA = "EventDataStoreArn" +_EDS = "EventDataStore" +_QI = "QueryId" +_EDSOAI = "EventDataStoreOwnerAccountId" +_QS = "QueryStatus" +_FAILED = "FAILED" +_CANCELLED = "CANCELLED" +_C = "Channel" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_QA = "QueryAlias" +_KKI = "KmsKeyId" +_Da = "Date" +_EDSS = "EventDataStoreStatus" +_CREATED = "CREATED" +_PD = "PENDING_DELETION" +_SI_ = "STARTING_INGESTION" +_SI__ = "STOPPING_INGESTION" +_SI___ = "STOPPED_INGESTION" +_EDSAEE = "EventDataStoreAlreadyExistsException" +_EDSMLEE = "EventDataStoreMaxLimitExceededException" +_IDSAPE = "InsufficientDependencyServiceAccessPermissionException" +_IESE = "InvalidEventSelectorsException" +_IKKIE = "InvalidKmsKeyIdException" +_KE = "KmsException" +_KKNFE = "KmsKeyNotFoundException" +_ONIAFME = "OrganizationNotInAllFeaturesModeException" +_ONIUE = "OrganizationsNotInUseException" +_TE = "ThrottlingException" +_CTICTIE = "CloudTrailInvalidClientTokenIdException" +_CWLDUE = "CloudWatchLogsDeliveryUnavailableException" +_CTI = "CreateTrailInput" +_cCTR = "com.amazonaws.cloudtrail#CreateTrailRequest" +_SBN = "S3BucketName" +_SKP = "S3KeyPrefix" +_STN = "SnsTopicName" +_IGSE = "IncludeGlobalServiceEvents" +_IMRT = "IsMultiRegionTrail" +_ELFV = "EnableLogFileValidation" +_CWLLGA = "CloudWatchLogsLogGroupArn" +_CWLRA = "CloudWatchLogsRoleArn" +_IOT = "IsOrganizationTrail" +_RL = "RecursiveLogging" +_CTO = "CreateTrailOutput" +_cCTRo = "com.amazonaws.cloudtrail#CreateTrailResponse" +_STARN = "SnsTopicARN" +_TARN = "TrailARN" +_LFVE = "LogFileValidationEnabled" +_ISBPE = "InsufficientS3BucketPolicyException" +_ISTPE = "InsufficientSnsTopicPolicyException" +_ICWLLGAE = "InvalidCloudWatchLogsLogGroupArnException" +_ICWLRAE = "InvalidCloudWatchLogsRoleArnException" +_IPCE = "InvalidParameterCombinationException" +_ISBNE = "InvalidS3BucketNameException" +_ISPE = "InvalidS3PrefixException" +_ISTNE = "InvalidSnsTopicNameException" +_KKDE = "KmsKeyDisabledException" +_MNOTEE = "MaximumNumberOfTrailsExceededException" +_SBDNEE = "S3BucketDoesNotExistException" +_TAEE = "TrailAlreadyExistsException" +_TNPE = "TrailNotProvidedException" +_CTr = "CreateTrail" +_DCI = "DeleteChannelInput" +_cDCR = "com.amazonaws.cloudtrail#DeleteChannelRequest" +_DCO = "DeleteChannelOutput" +_cDCRo = "com.amazonaws.cloudtrail#DeleteChannelResponse" +_DC = "DeleteChannel" +_DDI = "DeleteDashboardInput" +_cDDR = "com.amazonaws.cloudtrail#DeleteDashboardRequest" +_DI = "DashboardId" +_DDO = "DeleteDashboardOutput" +_cDDRo = "com.amazonaws.cloudtrail#DeleteDashboardResponse" +_DD = "DeleteDashboard" +_DEDSI = "DeleteEventDataStoreInput" +_cDEDSR = "com.amazonaws.cloudtrail#DeleteEventDataStoreRequest" +_DEDSO = "DeleteEventDataStoreOutput" +_cDEDSRo = "com.amazonaws.cloudtrail#DeleteEventDataStoreResponse" +_EDSFEE = "EventDataStoreFederationEnabledException" +_EDSHOIE = "EventDataStoreHasOngoingImportException" +_EDSTPE = "EventDataStoreTerminationProtectedException" +_DEDS = "DeleteEventDataStore" +_RAe = "ResourceArn" +_DRPI = "DeleteResourcePolicyInput" +_cDRPR = "com.amazonaws.cloudtrail#DeleteResourcePolicyRequest" +_DRPO = "DeleteResourcePolicyOutput" +_cDRPRo = "com.amazonaws.cloudtrail#DeleteResourcePolicyResponse" +_RARNNVE = "ResourceARNNotValidException" +_RPNFE = "ResourcePolicyNotFoundException" +_DRP = "DeleteResourcePolicy" +_DTI = "DeleteTrailInput" +_cDTR = "com.amazonaws.cloudtrail#DeleteTrailRequest" +_DTO = "DeleteTrailOutput" +_cDTRo = "com.amazonaws.cloudtrail#DeleteTrailResponse" +_IHRE = "InvalidHomeRegionException" +_DTe = "DeleteTrail" +_DODAI = "DeregisterOrganizationDelegatedAdminInput" +_cDODAR = "com.amazonaws.cloudtrail#DeregisterOrganizationDelegatedAdminRequest" +_DAAI = "DelegatedAdminAccountId" +_DODAO = "DeregisterOrganizationDelegatedAdminOutput" +_cDODARo = "com.amazonaws.cloudtrail#DeregisterOrganizationDelegatedAdminResponse" +_NOMAEo = "NotOrganizationManagementAccountException" +_DODA = "DeregisterOrganizationDelegatedAdmin" +_RIe = "RefreshId" +_DQI = "DescribeQueryInput" +_cDQR = "com.amazonaws.cloudtrail#DescribeQueryRequest" +_DSU = "DeliveryS3Uri" +_DS = "DeliveryStatus" +_SUCCESS = "SUCCESS" +_FSF = "FAILED_SIGNING_FILE" +_PENDING = "PENDING" +_RNF = "RESOURCE_NOT_FOUND" +_AD = "ACCESS_DENIED" +_ADSF = "ACCESS_DENIED_SIGNING_FILE" +_UNKNOWN = "UNKNOWN" +_P = "Prompt" +_Lo = "Long" +_I = "Integer" +_QSFDQ = "QueryStatisticsForDescribeQuery" +_EMv = "EventsMatched" +_ES = "EventsScanned" +_BS = "BytesScanned" +_ETIM = "ExecutionTimeInMillis" +_CTre = "CreationTime" +_DQO = "DescribeQueryOutput" +_cDQRo = "com.amazonaws.cloudtrail#DescribeQueryResponse" +_QSue = "QueryString" +_QSuer = "QueryStatistics" +_DQ = "DescribeQuery" +_TNL = "TrailNameList" +_DTIe = "DescribeTrailsInput" +_cDTRom = "com.amazonaws.cloudtrail#DescribeTrailsRequest" +_tNL = "trailNameList" +_iST = "includeShadowTrails" +_TLr = "TrailList" +_DTOe = "DescribeTrailsOutput" +_cDTRoma = "com.amazonaws.cloudtrail#DescribeTrailsResponse" +_tL = "trailList" +_DTes = "DescribeTrails" +_CME = "ConcurrentModificationException" +_DFI = "DisableFederationInput" +_cDFR = "com.amazonaws.cloudtrail#DisableFederationRequest" +_FSe = "FederationStatus" +_ENABLING = "ENABLING" +_DISABLING = "DISABLING" +_DFO = "DisableFederationOutput" +_cDFRo = "com.amazonaws.cloudtrail#DisableFederationResponse" +_DF = "DisableFederation" +_FRA = "FederationRoleArn" +_EFI = "EnableFederationInput" +_cEFR = "com.amazonaws.cloudtrail#EnableFederationRequest" +_EFO = "EnableFederationOutput" +_cEFRo = "com.amazonaws.cloudtrail#EnableFederationResponse" +_EF = "EnableFederation" +_IEDSSE = "InvalidEventDataStoreStatusException" +_IT = "InsightType" +_ACRI = "ApiCallRateInsight" +_AERI = "ApiErrorRateInsight" +_IMRE = "InvalidMaxResultsException" +_RPe = "ResourcePolicy" +_IIAMAPE = "InsufficientIAMAccessPermissionException" +_IISE = "InvalidInsightSelectorsException" + +DATE: StaticSchema = (4, n0, _Da, 0) + +EVENT_DATA_STORE_STATUS: StaticSchema = ( + 14, + n0, + _EDSS, + 0, + (_CREATED, _ENABLED, _PD, _SI_, _SI__, _SI___), + ( + (-1, {_sV: _CREATED}), + (-1, {_sV: _ENABLED}), + (-1, {_sV: _PD}), + (-1, {_sV: _SI_}), + (-1, {_sV: _SI__}), + (-1, {_sV: _SI___}), + ), +) + +EVENT_DATA_STORE_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _EDSAEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "EventDataStoreAlreadyExists", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +EVENT_DATA_STORE_MAX_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _EDSMLEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "EventDataStoreMaxLimitExceeded", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION: StaticSchema = ( + 18, + n0, + _IDSAPE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "InsufficientDependencyServiceAccessPermission", + "httpResponseCode": 400, + } + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_EVENT_SELECTORS_EXCEPTION: StaticSchema = ( + 18, + n0, + _IESE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidEventSelectors", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_KMS_KEY_ID_EXCEPTION: StaticSchema = ( + 18, + n0, + _IKKIE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidKmsKeyId", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +KMS_EXCEPTION: StaticSchema = ( + 18, + n0, + _KE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KmsException", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +KMS_KEY_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _KKNFE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KmsKeyNotFound", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ONIAFME, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "OrganizationNotInAllFeaturesMode", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +ORGANIZATIONS_NOT_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ONIUE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "OrganizationsNotInUse", "httpResponseCode": 404} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + { + _s: _c, + _sE: 429, + _aQE: MappingProxyType( + {"code": "ThrottlingException", "httpResponseCode": 429} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +CLOUD_TRAIL_INVALID_CLIENT_TOKEN_ID_EXCEPTION: StaticSchema = ( + 18, + n0, + _CTICTIE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CloudTrailInvalidClientTokenId", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +CLOUD_WATCH_LOGS_DELIVERY_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _CWLDUE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CloudWatchLogsDeliveryUnavailable", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +CREATE_TRAIL_INPUT: StaticSchema = ( + 18, + n0, + _CTI, + {_sSI: _cCTR, _smi: None}, + (_N, _SBN, _SKP, _STN, _IGSE, _IMRT, _ELFV, _CWLLGA, _CWLRA, _KKI, _IOT, _TL, _RL), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAGS_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRAIL_OUTPUT: StaticSchema = ( + 18, + n0, + _CTO, + {_sSI: _cCTRo, _smit: None}, + ( + _N, + _SBN, + _SKP, + _STN, + _STARN, + _IGSE, + _IMRT, + _TARN, + _LFVE, + _CWLLGA, + _CWLRA, + _KKI, + _IOT, + _RL, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRAIL: StaticOperationSchema = ( + 23, + n0, + _CTr, + 0, + CREATE_TRAIL_INPUT, + CREATE_TRAIL_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, + CLOUD_TRAIL_INVALID_CLIENT_TOKEN_ID_EXCEPTION, + CLOUD_WATCH_LOGS_DELIVERY_UNAVAILABLE_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION, + lambda: INSUFFICIENT_SNS_TOPIC_POLICY_EXCEPTION, + lambda: INVALID_CLOUD_WATCH_LOGS_LOG_GROUP_ARN_EXCEPTION, + lambda: INVALID_CLOUD_WATCH_LOGS_ROLE_ARN_EXCEPTION, + INVALID_KMS_KEY_ID_EXCEPTION, + lambda: INVALID_PARAMETER_COMBINATION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: INVALID_S3_BUCKET_NAME_EXCEPTION, + lambda: INVALID_S3_PREFIX_EXCEPTION, + lambda: INVALID_SNS_TOPIC_NAME_EXCEPTION, + lambda: schemas.INVALID_TAG_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + KMS_EXCEPTION, + lambda: KMS_KEY_DISABLED_EXCEPTION, + KMS_KEY_NOT_FOUND_EXCEPTION, + lambda: MAXIMUM_NUMBER_OF_TRAILS_EXCEEDED_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + ORGANIZATIONS_NOT_IN_USE_EXCEPTION, + lambda: S3_BUCKET_DOES_NOT_EXIST_EXCEPTION, + lambda: schemas.TAGS_LIMIT_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + lambda: TRAIL_ALREADY_EXISTS_EXCEPTION, + lambda: TRAIL_NOT_PROVIDED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISBPE, + { + _s: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "InsufficientS3BucketPolicy", "httpResponseCode": 403} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INSUFFICIENT_SNS_TOPIC_POLICY_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISTPE, + { + _s: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "InsufficientSnsTopicPolicy", "httpResponseCode": 403} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_CLOUD_WATCH_LOGS_LOG_GROUP_ARN_EXCEPTION: StaticSchema = ( + 18, + n0, + _ICWLLGAE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidCloudWatchLogsLogGroupArn", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_CLOUD_WATCH_LOGS_ROLE_ARN_EXCEPTION: StaticSchema = ( + 18, + n0, + _ICWLRAE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidCloudWatchLogsRoleArn", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_PARAMETER_COMBINATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPCE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidParameterCombinationError", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_S3_BUCKET_NAME_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISBNE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidS3BucketName", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_S3_PREFIX_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISPE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidS3Prefix", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_SNS_TOPIC_NAME_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISTNE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidSnsTopicName", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +KMS_KEY_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _KKDE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KmsKeyDisabled", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +MAXIMUM_NUMBER_OF_TRAILS_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _MNOTEE, + { + _s: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "MaximumNumberOfTrailsExceeded", "httpResponseCode": 403} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +S3_BUCKET_DOES_NOT_EXIST_EXCEPTION: StaticSchema = ( + 18, + n0, + _SBDNEE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "S3BucketDoesNotExist", "httpResponseCode": 404} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +TRAIL_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TAEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "TrailAlreadyExists", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +TRAIL_NOT_PROVIDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _TNPE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "TrailNotProvided", "httpResponseCode": 404}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DELETE_CHANNEL_INPUT: StaticSchema = ( + 18, + n0, + _DCI, + {_sSI: _cDCR, _smi: None}, + (_C,), + ((lambda: schemas.CHANNEL_ARN, 1),), +) + +DELETE_CHANNEL_OUTPUT: StaticSchema = (18, n0, _DCO, {_sSI: _cDCRo, _smit: None}) + +DELETE_CHANNEL: StaticOperationSchema = ( + 23, + n0, + _DC, + 0, + DELETE_CHANNEL_INPUT, + DELETE_CHANNEL_OUTPUT, + ( + lambda: schemas.CHANNEL_ARN_INVALID_EXCEPTION, + lambda: schemas.CHANNEL_NOT_FOUND_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +DELETE_DASHBOARD_INPUT: StaticSchema = ( + 18, + n0, + _DDI, + {_sSI: _cDDR, _smi: None}, + (_DI,), + ((lambda: schemas.DASHBOARD_ARN, 1),), +) + +DELETE_DASHBOARD_OUTPUT: StaticSchema = (18, n0, _DDO, {_sSI: _cDDRo, _smit: None}) + +DELETE_DASHBOARD: StaticOperationSchema = ( + 23, + n0, + _DD, + 0, + DELETE_DASHBOARD_INPUT, + DELETE_DASHBOARD_OUTPUT, + ( + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +DELETE_EVENT_DATA_STORE_INPUT: StaticSchema = ( + 18, + n0, + _DEDSI, + {_sSI: _cDEDSR, _smi: None}, + (_EDS,), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 1),), +) + +DELETE_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _DEDSO, + {_sSI: _cDEDSRo, _smit: None}, +) + +DELETE_EVENT_DATA_STORE: StaticOperationSchema = ( + 23, + n0, + _DEDS, + 0, + DELETE_EVENT_DATA_STORE_INPUT, + DELETE_EVENT_DATA_STORE_OUTPUT, + ( + lambda: schemas.CHANNEL_EXISTS_FOR_EDS_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: EVENT_DATA_STORE_FEDERATION_ENABLED_EXCEPTION, + lambda: EVENT_DATA_STORE_HAS_ONGOING_IMPORT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: EVENT_DATA_STORE_TERMINATION_PROTECTED_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +EVENT_DATA_STORE_FEDERATION_ENABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _EDSFEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "EventDataStoreFederationEnabled", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +EVENT_DATA_STORE_HAS_ONGOING_IMPORT_EXCEPTION: StaticSchema = ( + 18, + n0, + _EDSHOIE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "EventDataStoreHasOngoingImport", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +EVENT_DATA_STORE_TERMINATION_PROTECTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _EDSTPE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "EventDataStoreTerminationProtectedException", + "httpResponseCode": 400, + } + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +RESOURCE_ARN: StaticSchema = (3, n0, _RAe, 0) + +DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_sSI: _cDRPR, _smi: None}, + (_RAe,), + ((RESOURCE_ARN, 1),), +) + +DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DRPO, + {_sSI: _cDRPRo, _smit: None}, +) + +DELETE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + 0, + DELETE_RESOURCE_POLICY_INPUT, + DELETE_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: RESOURCE_ARN_NOT_VALID_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: RESOURCE_POLICY_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +RESOURCE_ARN_NOT_VALID_EXCEPTION: StaticSchema = ( + 18, + n0, + _RARNNVE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ResourceARNNotValid", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +RESOURCE_POLICY_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RPNFE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "ResourcePolicyNotFound", "httpResponseCode": 404} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DELETE_TRAIL_INPUT: StaticSchema = ( + 18, + n0, + _DTI, + {_sSI: _cDTR, _smi: None}, + (_N,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_TRAIL_OUTPUT: StaticSchema = (18, n0, _DTO, {_sSI: _cDTRo, _smit: None}) + +DELETE_TRAIL: StaticOperationSchema = ( + 23, + n0, + _DTe, + 0, + DELETE_TRAIL_INPUT, + DELETE_TRAIL_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: INVALID_HOME_REGION_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + THROTTLING_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +INVALID_HOME_REGION_EXCEPTION: StaticSchema = ( + 18, + n0, + _IHRE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidHomeRegion", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT: StaticSchema = ( + 18, + n0, + _DODAI, + {_sSI: _cDODAR, _smi: None}, + (_DAAI,), + ((lambda: schemas.ACCOUNT_ID, 1),), +) + +DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT: StaticSchema = ( + 18, + n0, + _DODAO, + {_sSI: _cDODARo, _smit: None}, +) + +DEREGISTER_ORGANIZATION_DELEGATED_ADMIN: StaticOperationSchema = ( + 23, + n0, + _DODA, + 0, + DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT, + DEREGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT, + ( + lambda: schemas.ACCOUNT_NOT_FOUND_EXCEPTION, + lambda: schemas.ACCOUNT_NOT_REGISTERED_EXCEPTION, + lambda: schemas.CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: NOT_ORGANIZATION_MANAGEMENT_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + ORGANIZATIONS_NOT_IN_USE_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +NOT_ORGANIZATION_MANAGEMENT_ACCOUNT_EXCEPTION: StaticSchema = ( + 18, + n0, + _NOMAEo, + { + _s: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "NotOrganizationManagementAccount", "httpResponseCode": 403} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DESCRIBE_QUERY_INPUT: StaticSchema = ( + 18, + n0, + _DQI, + {_sSI: _cDQR, _smi: None}, + (_EDS, _QI, _QA, _RIe, _EDSOAI), + ( + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.UUID, 0), + (lambda: schemas.QUERY_ALIAS, 0), + (lambda: schemas.REFRESH_ID, 0), + (lambda: schemas.ACCOUNT_ID, 0), + ), +) + +DESCRIBE_QUERY_OUTPUT: StaticSchema = ( + 18, + n0, + _DQO, + {_sSI: _cDQRo, _smit: None}, + (_QI, _QSue, _QS, _QSuer, _EM, _DSU, _DS, _P, _EDSOAI), + ( + (lambda: schemas.UUID, 0), + (lambda: schemas.QUERY_STATEMENT, 0), + (lambda: schemas.QUERY_STATUS, 0), + (lambda: QUERY_STATISTICS_FOR_DESCRIBE_QUERY, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + (lambda: DELIVERY_S3_URI, 0), + (lambda: DELIVERY_STATUS, 0), + (lambda: schemas.PROMPT, 0), + (lambda: schemas.ACCOUNT_ID, 0), + ), +) + +DESCRIBE_QUERY: StaticOperationSchema = ( + 23, + n0, + _DQ, + 0, + DESCRIBE_QUERY_INPUT, + DESCRIBE_QUERY_OUTPUT, + ( + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.QUERY_ID_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +DELIVERY_S3_URI: StaticSchema = (3, n0, _DSU, 0) + +DELIVERY_STATUS: StaticSchema = ( + 14, + n0, + _DS, + 0, + (_SUCCESS, _FAILED, _FSF, _PENDING, _RNF, _AD, _ADSF, _CANCELLED, _UNKNOWN), + ( + (-1, {_sV: _SUCCESS}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _FSF}), + (-1, {_sV: _PENDING}), + (-1, {_sV: _RNF}), + (-1, {_sV: _AD}), + (-1, {_sV: _ADSF}), + (-1, {_sV: _CANCELLED}), + (-1, {_sV: _UNKNOWN}), + ), +) + +LONG: StaticSchema = (8, n0, _Lo, 0) + +INTEGER: StaticSchema = (7, n0, _I, 0) + +QUERY_STATISTICS_FOR_DESCRIBE_QUERY: StaticSchema = ( + 18, + n0, + _QSFDQ, + 0, + (_EMv, _ES, _BS, _ETIM, _CTre), + ((LONG, 0), (LONG, 0), (LONG, 0), (INTEGER, 0), (DATE, 0)), +) + +TRAIL_NAME_LIST: StaticSchema = (16, n0, _TNL, 0, (_m,), ((lambda: schemas.STRING, 0),)) + +DESCRIBE_TRAILS_INPUT: StaticSchema = ( + 18, + n0, + _DTIe, + {_sSI: _cDTRom, _smi: None}, + (_tNL, _iST), + ((TRAIL_NAME_LIST, 0), (lambda: schemas.BOOLEAN, 0)), +) + +DESCRIBE_TRAILS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTOe, + {_sSI: _cDTRoma, _smit: None}, + (_tL,), + ((lambda: TRAIL_LIST, 0),), +) + +DESCRIBE_TRAILS: StaticOperationSchema = ( + 23, + n0, + _DTes, + 0, + DESCRIBE_TRAILS_INPUT, + DESCRIBE_TRAILS_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +TRAIL_LIST: StaticSchema = (16, n0, _TLr, 0, (_m,), ((lambda: schemas.TRAIL, 0),)) + +CONCURRENT_MODIFICATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _CME, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ConcurrentModification", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DISABLE_FEDERATION_INPUT: StaticSchema = ( + 18, + n0, + _DFI, + {_sSI: _cDFR, _smi: None}, + (_EDS,), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 1),), +) + +DISABLE_FEDERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DFO, + {_sSI: _cDFRo, _smit: None}, + (_EDSA, _FSe), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 0), (lambda: FEDERATION_STATUS, 0)), +) + +DISABLE_FEDERATION: StaticOperationSchema = ( + 23, + n0, + _DF, + 0, + DISABLE_FEDERATION_INPUT, + DISABLE_FEDERATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, + CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + ORGANIZATIONS_NOT_IN_USE_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +FEDERATION_STATUS: StaticSchema = ( + 14, + n0, + _FSe, + 0, + (_ENABLING, _ENABLED, _DISABLING, _DISABLED), + ( + (-1, {_sV: _ENABLING}), + (-1, {_sV: _ENABLED}), + (-1, {_sV: _DISABLING}), + (-1, {_sV: _DISABLED}), + ), +) + +FEDERATION_ROLE_ARN: StaticSchema = (3, n0, _FRA, 0) + +ENABLE_FEDERATION_INPUT: StaticSchema = ( + 18, + n0, + _EFI, + {_sSI: _cEFR, _smi: None}, + (_EDS, _FRA), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 1), (FEDERATION_ROLE_ARN, 1)), +) + +ENABLE_FEDERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _EFO, + {_sSI: _cEFRo, _smit: None}, + (_EDSA, _FSe, _FRA), + ( + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (FEDERATION_STATUS, 0), + (FEDERATION_ROLE_ARN, 0), + ), +) + +ENABLE_FEDERATION: StaticOperationSchema = ( + 23, + n0, + _EF, + 0, + ENABLE_FEDERATION_INPUT, + ENABLE_FEDERATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, + CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + EVENT_DATA_STORE_FEDERATION_ENABLED_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + ORGANIZATIONS_NOT_IN_USE_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION: StaticSchema = ( + 18, + n0, + _IEDSSE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidEventDataStoreStatus", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INSIGHT_TYPE: StaticSchema = ( + 14, + n0, + _IT, + 0, + (_ACRI, _AERI), + ((-1, {_sV: _ACRI}), (-1, {_sV: _AERI})), +) + +INVALID_MAX_RESULTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _IMRE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidMaxResults", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +RESOURCE_POLICY: StaticSchema = (3, n0, _RPe, 0) + +INSUFFICIENT_IAM_ACCESS_PERMISSION_EXCEPTION: StaticSchema = ( + 18, + n0, + _IIAMAPE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InsufficientIAMAccessPermission", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_INSIGHT_SELECTORS_EXCEPTION: StaticSchema = ( + 18, + n0, + _IISE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidInsightSelectors", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_2.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_2.py new file mode 100644 index 000000000..1d95a2284 --- /dev/null +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_2.py @@ -0,0 +1,1142 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudtrail" +_EM = "ErrorMessage" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_sm = "smithy.api#required" +_m = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_smit = "smithy.api#output" +_E = "Equals" +_N = "Name" +_AESd = "AdvancedEventSelectors" +_D = "Data" +_sV = "smithy.api#enumValue" +_ACg = "AggregationConfigurations" +_BM = "BillingMode" +_EDSA = "EventDataStoreArn" +_EDS = "EventDataStore" +_QI = "QueryId" +_EDSOAI = "EventDataStoreOwnerAccountId" +_QS = "QueryStatus" +_FAILED = "FAILED" +_CA = "ChannelArn" +_C = "Channel" +_Ch = "Channels" +_Ty = "Type" +_Des = "Destinations" +_So = "Source" +_RS = "RefreshSchedule" +_St = "Status" +_TPE = "TerminationProtectionEnabled" +_QSu = "QueryStatement" +_k = "key" +_v = "value" +_W = "Widgets" +_DA = "DashboardArn" +_QA = "QueryAlias" +_RP = "RetentionPeriod" +_MRE = "MultiRegionEnabled" +_OE = "OrganizationEnabled" +_KKI = "KmsKeyId" +_CREATED = "CREATED" +_CT = "CreatedTimestamp" +_UT = "UpdatedTimestamp" +_TARN = "TrailARN" +_DI = "DashboardId" +_RAe = "ResourceArn" +_P = "Prompt" +_BS = "BytesScanned" +_QSuer = "QueryStatistics" +_Tr = "Trail" +_FSe = "FederationStatus" +_FRA = "FederationRoleArn" +_EDSL = "EventDataStoreList" +_GQI = "GenerateQueryInput" +_cGQR = "com.amazonaws.cloudtrail#GenerateQueryRequest" +_EDSv = "EventDataStores" +_GQO = "GenerateQueryOutput" +_cGQRo = "com.amazonaws.cloudtrail#GenerateQueryResponse" +_GRE = "GenerateResponseException" +_GQ = "GenerateQuery" +_GCI = "GetChannelInput" +_cGCR = "com.amazonaws.cloudtrail#GetChannelRequest" +_IS = "IngestionStatus" +_LIST = "LatestIngestionSuccessTime" +_LISEID = "LatestIngestionSuccessEventID" +_LIEC = "LatestIngestionErrorCode" +_LIAT = "LatestIngestionAttemptTime" +_LIAEID = "LatestIngestionAttemptEventID" +_SC = "SourceConfig" +_ATAR = "ApplyToAllRegions" +_GCO = "GetChannelOutput" +_cGCRo = "com.amazonaws.cloudtrail#GetChannelResponse" +_GC = "GetChannel" +_GDI = "GetDashboardInput" +_cGDR = "com.amazonaws.cloudtrail#GetDashboardRequest" +_DSa = "DashboardStatus" +_CREATING = "CREATING" +_UPDATING = "UPDATING" +_UPDATED = "UPDATED" +_DELETING = "DELETING" +_GDO = "GetDashboardOutput" +_cGDRo = "com.amazonaws.cloudtrail#GetDashboardResponse" +_LRI = "LastRefreshId" +_LRFR = "LastRefreshFailureReason" +_GD = "GetDashboard" +_GECI = "GetEventConfigurationInput" +_cGECR = "com.amazonaws.cloudtrail#GetEventConfigurationRequest" +_TN = "TrailName" +_OTLM = "OperatorTargetListMember" +_OTL = "OperatorTargetList" +_TC = "TagContext" +_RC = "RequestContext" +_CKS = "ContextKeySelector" +_CKSo = "ContextKeySelectors" +_MES = "MaxEventSize" +_Sta = "Standard" +_La = "Large" +_GECO = "GetEventConfigurationOutput" +_cGECRo = "com.amazonaws.cloudtrail#GetEventConfigurationResponse" +_GEC = "GetEventConfiguration" +_GEDSI = "GetEventDataStoreInput" +_cGEDSR = "com.amazonaws.cloudtrail#GetEventDataStoreRequest" +_PKN = "PartitionKeyName" +_PKT = "PartitionKeyType" +_PK = "PartitionKey" +_PKL = "PartitionKeyList" +_GEDSO = "GetEventDataStoreOutput" +_cGEDSRo = "com.amazonaws.cloudtrail#GetEventDataStoreResponse" +_PKa = "PartitionKeys" +_GEDS = "GetEventDataStore" +_GESI = "GetEventSelectorsInput" +_cGESR = "com.amazonaws.cloudtrail#GetEventSelectorsRequest" +_DRV = "DataResourceValues" +_DR = "DataResource" +_Va = "Values" +_DRa = "DataResources" +_EMES = "ExcludeManagementEventSources" +_RWT = "ReadWriteType" +_RO = "ReadOnly" +_WO = "WriteOnly" +_A = "All" +_ESv = "EventSelector" +_IME = "IncludeManagementEvents" +_ESve = "EventSelectors" +_GESO = "GetEventSelectorsOutput" +_cGESRo = "com.amazonaws.cloudtrail#GetEventSelectorsResponse" +_GES = "GetEventSelectors" +_GII = "GetImportInput" +_cGIR = "com.amazonaws.cloudtrail#GetImportRequest" +_II = "ImportId" +_ID = "ImportDestinations" +_SIS = "S3ImportSource" +_SLU = "S3LocationUri" +_SBR = "S3BucketRegion" +_SBARA = "S3BucketAccessRoleArn" +_ISm = "ImportSource" +_S_ = "S3" +_ISmp = "ImportStatistics" +_PF = "PrefixesFound" +_PC = "PrefixesCompleted" +_FC = "FilesCompleted" +_ECv = "EventsCompleted" +_FE = "FailedEntries" +_ISmpo = "ImportStatus" +_INITIALIZING = "INITIALIZING" +_IP = "IN_PROGRESS" +_STOPPED = "STOPPED" +_COMPLETED = "COMPLETED" +_GIO = "GetImportOutput" +_cGIRo = "com.amazonaws.cloudtrail#GetImportResponse" +_SET = "StartEventTime" +_EET = "EndEventTime" +_INFE = "ImportNotFoundException" +_GI = "GetImport" +_GISI = "GetInsightSelectorsInput" +_cGISR = "com.amazonaws.cloudtrail#GetInsightSelectorsRequest" +_SEC = "SourceEventCategory" +_Ma = "Management" +_SECo = "SourceEventCategories" +_IT = "InsightType" +_ISn = "InsightSelector" +_ECve = "EventCategories" +_ISns = "InsightSelectors" +_GISO = "GetInsightSelectorsOutput" +_cGISRo = "com.amazonaws.cloudtrail#GetInsightSelectorsResponse" +_IDn = "InsightsDestination" +_INEE = "InsightNotEnabledException" +_GIS = "GetInsightSelectors" +_MQR = "MaxQueryResults" +_GQRI = "GetQueryResultsInput" +_cGQRR = "com.amazonaws.cloudtrail#GetQueryResultsRequest" +_NT = "NextToken" +_QRK = "QueryResultKey" +_QRV = "QueryResultValue" +_QRC = "QueryResultColumn" +_QRR = "QueryResultRow" +_QRRu = "QueryResultRows" +_RCe = "ResultsCount" +_TRC = "TotalResultsCount" +_GQRO = "GetQueryResultsOutput" +_cGQRRo = "com.amazonaws.cloudtrail#GetQueryResultsResponse" +_GQR = "GetQueryResults" +_GRPI = "GetResourcePolicyInput" +_cGRPR = "com.amazonaws.cloudtrail#GetResourcePolicyRequest" +_RPe = "ResourcePolicy" +_GRPO = "GetResourcePolicyOutput" +_cGRPRo = "com.amazonaws.cloudtrail#GetResourcePolicyResponse" +_DARP = "DelegatedAdminResourcePolicy" +_GRP = "GetResourcePolicy" +_GTI = "GetTrailInput" +_cGTR = "com.amazonaws.cloudtrail#GetTrailRequest" +_GTO = "GetTrailOutput" +_cGTRo = "com.amazonaws.cloudtrail#GetTrailResponse" +_GT = "GetTrail" +_GTSI = "GetTrailStatusInput" +_cGTSR = "com.amazonaws.cloudtrail#GetTrailStatusRequest" +_GTSO = "GetTrailStatusOutput" +_cGTSRo = "com.amazonaws.cloudtrail#GetTrailStatusResponse" +_IL = "IsLogging" +_LDE = "LatestDeliveryError" +_LNE = "LatestNotificationError" +_LDT = "LatestDeliveryTime" +_LNT = "LatestNotificationTime" +_SLT = "StartLoggingTime" +_SLTt = "StopLoggingTime" +_LCWLDE = "LatestCloudWatchLogsDeliveryError" +_LCWLDT = "LatestCloudWatchLogsDeliveryTime" +_LDDT = "LatestDigestDeliveryTime" +_LDDE = "LatestDigestDeliveryError" +_LDAT = "LatestDeliveryAttemptTime" +_LNAT = "LatestNotificationAttemptTime" +_LNAS = "LatestNotificationAttemptSucceeded" +_LDAS = "LatestDeliveryAttemptSucceeded" +_TLS = "TimeLoggingStarted" +_TLSi = "TimeLoggingStopped" +_GTS = "GetTrailStatus" +_LCMRC = "ListChannelsMaxResultsCount" +_LCI = "ListChannelsInput" +_cLCR = "com.amazonaws.cloudtrail#ListChannelsRequest" +_MR = "MaxResults" +_LCO = "ListChannelsOutput" +_cLCRo = "com.amazonaws.cloudtrail#ListChannelsResponse" +_LC = "ListChannels" +_LDMRC = "ListDashboardsMaxResultsCount" + +EVENT_DATA_STORE_LIST: StaticSchema = ( + 16, + n0, + _EDSL, + 0, + (_m,), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 0),), +) + +GENERATE_QUERY_INPUT: StaticSchema = ( + 18, + n0, + _GQI, + {_sSI: _cGQR, _smi: None}, + (_EDSv, _P), + ((EVENT_DATA_STORE_LIST, 1), (lambda: schemas.PROMPT, 1)), +) + +GENERATE_QUERY_OUTPUT: StaticSchema = ( + 18, + n0, + _GQO, + {_sSI: _cGQRo, _smit: None}, + (_QSu, _QA, _EDSOAI), + ( + (lambda: schemas.QUERY_STATEMENT, 0), + (lambda: schemas.QUERY_ALIAS, 0), + (lambda: schemas.ACCOUNT_ID, 0), + ), +) + +GENERATE_QUERY: StaticOperationSchema = ( + 23, + n0, + _GQ, + 0, + GENERATE_QUERY_INPUT, + GENERATE_QUERY_OUTPUT, + ( + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: GENERATE_RESPONSE_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +GENERATE_RESPONSE_EXCEPTION: StaticSchema = ( + 18, + n0, + _GRE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "GenerateResponse", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +GET_CHANNEL_INPUT: StaticSchema = ( + 18, + n0, + _GCI, + {_sSI: _cGCR, _smi: None}, + (_C,), + ((lambda: schemas.CHANNEL_ARN, 1),), +) + +GET_CHANNEL_OUTPUT: StaticSchema = ( + 18, + n0, + _GCO, + {_sSI: _cGCRo, _smit: None}, + (_CA, _N, _So, _SC, _Des, _IS), + ( + (lambda: schemas.CHANNEL_ARN, 0), + (lambda: schemas.CHANNEL_NAME, 0), + (lambda: schemas.SOURCE, 0), + (lambda: SOURCE_CONFIG, 0), + (lambda: schemas.DESTINATIONS, 0), + (lambda: INGESTION_STATUS, 0), + ), +) + +GET_CHANNEL: StaticOperationSchema = ( + 23, + n0, + _GC, + 0, + GET_CHANNEL_INPUT, + GET_CHANNEL_OUTPUT, + ( + lambda: schemas.CHANNEL_ARN_INVALID_EXCEPTION, + lambda: schemas.CHANNEL_NOT_FOUND_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +INGESTION_STATUS: StaticSchema = ( + 18, + n0, + _IS, + 0, + (_LIST, _LISEID, _LIEC, _LIAT, _LIAEID), + ( + (lambda: schemas.DATE, 0), + (lambda: schemas.UUID, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.UUID, 0), + ), +) + +SOURCE_CONFIG: StaticSchema = ( + 18, + n0, + _SC, + 0, + (_ATAR, _AESd), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.ADVANCED_EVENT_SELECTORS, 0)), +) + +GET_DASHBOARD_INPUT: StaticSchema = ( + 18, + n0, + _GDI, + {_sSI: _cGDR, _smi: None}, + (_DI,), + ((lambda: schemas.DASHBOARD_ARN, 1),), +) + +GET_DASHBOARD_OUTPUT: StaticSchema = ( + 18, + n0, + _GDO, + {_sSI: _cGDRo, _smit: None}, + (_DA, _Ty, _St, _W, _RS, _CT, _UT, _LRI, _LRFR, _TPE), + ( + (lambda: schemas.DASHBOARD_ARN, 0), + (lambda: schemas.DASHBOARD_TYPE, 0), + (lambda: DASHBOARD_STATUS, 0), + (lambda: schemas.WIDGET_LIST, 0), + (lambda: schemas.REFRESH_SCHEDULE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.REFRESH_ID, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + (lambda: schemas.TERMINATION_PROTECTION_ENABLED, 0), + ), +) + +GET_DASHBOARD: StaticOperationSchema = ( + 23, + n0, + _GD, + 0, + GET_DASHBOARD_INPUT, + GET_DASHBOARD_OUTPUT, + ( + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +DASHBOARD_STATUS: StaticSchema = ( + 14, + n0, + _DSa, + 0, + (_CREATING, _CREATED, _UPDATING, _UPDATED, _DELETING), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _CREATED}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _UPDATED}), + (-1, {_sV: _DELETING}), + ), +) + +GET_EVENT_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GECI, + {_sSI: _cGECR, _smi: None}, + (_TN, _EDS), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +GET_EVENT_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GECO, + {_sSI: _cGECRo, _smit: None}, + (_TARN, _EDSA, _MES, _CKSo, _ACg), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: MAX_EVENT_SIZE, 0), + (lambda: CONTEXT_KEY_SELECTORS, 0), + (lambda: schemas.AGGREGATION_CONFIGURATIONS, 0), + ), +) + +GET_EVENT_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GEC, + 0, + GET_EVENT_CONFIGURATION_INPUT, + GET_EVENT_CONFIGURATION_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_COMBINATION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +OPERATOR_TARGET_LIST_MEMBER: StaticSchema = (3, n0, _OTLM, 0) + +OPERATOR_TARGET_LIST: StaticSchema = ( + 16, + n0, + _OTL, + 0, + (_m,), + ((OPERATOR_TARGET_LIST_MEMBER, 0),), +) + +TYPE: StaticSchema = (14, n0, _Ty, 0, (_TC, _RC), ((-1, {_sV: _TC}), (-1, {_sV: _RC}))) + +CONTEXT_KEY_SELECTOR: StaticSchema = ( + 18, + n0, + _CKS, + 0, + (_Ty, _E), + ((TYPE, 1), (OPERATOR_TARGET_LIST, 1)), +) + +CONTEXT_KEY_SELECTORS: StaticSchema = ( + 16, + n0, + _CKSo, + 0, + (_m,), + ((CONTEXT_KEY_SELECTOR, 0),), +) + +MAX_EVENT_SIZE: StaticSchema = ( + 14, + n0, + _MES, + 0, + (_Sta, _La), + ((-1, {_sV: _Sta}), (-1, {_sV: _La})), +) + +GET_EVENT_DATA_STORE_INPUT: StaticSchema = ( + 18, + n0, + _GEDSI, + {_sSI: _cGEDSR, _smi: None}, + (_EDS,), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 1),), +) + +GET_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _GEDSO, + {_sSI: _cGEDSRo, _smit: None}, + ( + _EDSA, + _N, + _St, + _AESd, + _MRE, + _OE, + _RP, + _TPE, + _CT, + _UT, + _KKI, + _BM, + _FSe, + _FRA, + _PKa, + ), + ( + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.EVENT_DATA_STORE_NAME, 0), + (lambda: schemas.EVENT_DATA_STORE_STATUS, 0), + (lambda: schemas.ADVANCED_EVENT_SELECTORS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.RETENTION_PERIOD, 0), + (lambda: schemas.TERMINATION_PROTECTION_ENABLED, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.EVENT_DATA_STORE_KMS_KEY_ID, 0), + (lambda: schemas.BILLING_MODE, 0), + (lambda: schemas.FEDERATION_STATUS, 0), + (lambda: schemas.FEDERATION_ROLE_ARN, 0), + (lambda: PARTITION_KEY_LIST, 0), + ), +) + +GET_EVENT_DATA_STORE: StaticOperationSchema = ( + 23, + n0, + _GEDS, + 0, + GET_EVENT_DATA_STORE_INPUT, + GET_EVENT_DATA_STORE_OUTPUT, + ( + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +PARTITION_KEY_NAME: StaticSchema = (3, n0, _PKN, 0) + +PARTITION_KEY_TYPE: StaticSchema = (3, n0, _PKT, 0) + +PARTITION_KEY: StaticSchema = ( + 18, + n0, + _PK, + 0, + (_N, _Ty), + ((PARTITION_KEY_NAME, 1), (PARTITION_KEY_TYPE, 1)), +) + +PARTITION_KEY_LIST: StaticSchema = (16, n0, _PKL, 0, (_m,), ((PARTITION_KEY, 0),)) + +GET_EVENT_SELECTORS_INPUT: StaticSchema = ( + 18, + n0, + _GESI, + {_sSI: _cGESR, _smi: None}, + (_TN,), + ((lambda: schemas.STRING, 1),), +) + +GET_EVENT_SELECTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _GESO, + {_sSI: _cGESRo, _smit: None}, + (_TARN, _ESve, _AESd), + ( + (lambda: schemas.STRING, 0), + (lambda: EVENT_SELECTORS, 0), + (lambda: schemas.ADVANCED_EVENT_SELECTORS, 0), + ), +) + +GET_EVENT_SELECTORS: StaticOperationSchema = ( + 23, + n0, + _GES, + 0, + GET_EVENT_SELECTORS_INPUT, + GET_EVENT_SELECTORS_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +DATA_RESOURCE_VALUES: StaticSchema = ( + 16, + n0, + _DRV, + 0, + (_m,), + ((lambda: schemas.STRING, 0),), +) + +DATA_RESOURCE: StaticSchema = ( + 18, + n0, + _DR, + 0, + (_Ty, _Va), + ((lambda: schemas.STRING, 0), (DATA_RESOURCE_VALUES, 0)), +) + +DATA_RESOURCES: StaticSchema = (16, n0, _DRa, 0, (_m,), ((DATA_RESOURCE, 0),)) + +EXCLUDE_MANAGEMENT_EVENT_SOURCES: StaticSchema = ( + 16, + n0, + _EMES, + 0, + (_m,), + ((lambda: schemas.STRING, 0),), +) + +READ_WRITE_TYPE: StaticSchema = ( + 14, + n0, + _RWT, + 0, + (_RO, _WO, _A), + ((-1, {_sV: _RO}), (-1, {_sV: _WO}), (-1, {_sV: _A})), +) + +EVENT_SELECTOR: StaticSchema = ( + 18, + n0, + _ESv, + 0, + (_RWT, _IME, _DRa, _EMES), + ( + (READ_WRITE_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + (DATA_RESOURCES, 0), + (EXCLUDE_MANAGEMENT_EVENT_SOURCES, 0), + ), +) + +EVENT_SELECTORS: StaticSchema = (16, n0, _ESve, 0, (_m,), ((EVENT_SELECTOR, 0),)) + +GET_IMPORT_INPUT: StaticSchema = ( + 18, + n0, + _GII, + {_sSI: _cGIR, _smi: None}, + (_II,), + ((lambda: schemas.UUID, 1),), +) + +GET_IMPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _GIO, + {_sSI: _cGIRo, _smit: None}, + (_II, _Des, _ISm, _SET, _EET, _ISmpo, _CT, _UT, _ISmp), + ( + (lambda: schemas.UUID, 0), + (lambda: IMPORT_DESTINATIONS, 0), + (lambda: IMPORT_SOURCE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: IMPORT_STATUS, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: IMPORT_STATISTICS, 0), + ), +) + +GET_IMPORT: StaticOperationSchema = ( + 23, + n0, + _GI, + 0, + GET_IMPORT_INPUT, + GET_IMPORT_OUTPUT, + ( + lambda: IMPORT_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +IMPORT_DESTINATIONS: StaticSchema = ( + 16, + n0, + _ID, + 0, + (_m,), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 0),), +) + +S3_IMPORT_SOURCE: StaticSchema = ( + 18, + n0, + _SIS, + 0, + (_SLU, _SBR, _SBARA), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + ), +) + +IMPORT_SOURCE: StaticSchema = (18, n0, _ISm, 0, (_S_,), ((S3_IMPORT_SOURCE, 1),)) + +IMPORT_STATISTICS: StaticSchema = ( + 18, + n0, + _ISmp, + 0, + (_PF, _PC, _FC, _ECv, _FE), + ( + (lambda: schemas.LONG, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.LONG, 0), + ), +) + +IMPORT_STATUS: StaticSchema = ( + 14, + n0, + _ISmpo, + 0, + (_INITIALIZING, _IP, _FAILED, _STOPPED, _COMPLETED), + ( + (-1, {_sV: _INITIALIZING}), + (-1, {_sV: _IP}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _STOPPED}), + (-1, {_sV: _COMPLETED}), + ), +) + +IMPORT_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _INFE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "ImportNotFound", "httpResponseCode": 404}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +GET_INSIGHT_SELECTORS_INPUT: StaticSchema = ( + 18, + n0, + _GISI, + {_sSI: _cGISR, _smi: None}, + (_TN, _EDS), + ((lambda: schemas.STRING, 0), (lambda: schemas.EVENT_DATA_STORE_ARN, 0)), +) + +GET_INSIGHT_SELECTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _GISO, + {_sSI: _cGISRo, _smit: None}, + (_TARN, _ISns, _EDSA, _IDn), + ( + (lambda: schemas.STRING, 0), + (lambda: INSIGHT_SELECTORS, 0), + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + ), +) + +GET_INSIGHT_SELECTORS: StaticOperationSchema = ( + 23, + n0, + _GIS, + 0, + GET_INSIGHT_SELECTORS_INPUT, + GET_INSIGHT_SELECTORS_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: INSIGHT_NOT_ENABLED_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_COMBINATION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +SOURCE_EVENT_CATEGORY: StaticSchema = ( + 14, + n0, + _SEC, + 0, + (_Ma, _D), + ((-1, {_sV: _Ma}), (-1, {_sV: _D})), +) + +SOURCE_EVENT_CATEGORIES: StaticSchema = ( + 16, + n0, + _SECo, + 0, + (_m,), + ((SOURCE_EVENT_CATEGORY, 0),), +) + +INSIGHT_SELECTOR: StaticSchema = ( + 18, + n0, + _ISn, + 0, + (_IT, _ECve), + ((lambda: schemas.INSIGHT_TYPE, 0), (SOURCE_EVENT_CATEGORIES, 0)), +) + +INSIGHT_SELECTORS: StaticSchema = (16, n0, _ISns, 0, (_m,), ((INSIGHT_SELECTOR, 0),)) + +INSIGHT_NOT_ENABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _INEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InsightNotEnabled", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +MAX_QUERY_RESULTS: StaticSchema = (7, n0, _MQR, 0) + +GET_QUERY_RESULTS_INPUT: StaticSchema = ( + 18, + n0, + _GQRI, + {_sSI: _cGQRR, _smi: None}, + (_EDS, _QI, _NT, _MQR, _EDSOAI), + ( + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.UUID, 1), + (lambda: schemas.PAGINATION_TOKEN, 0), + (MAX_QUERY_RESULTS, 0), + (lambda: schemas.ACCOUNT_ID, 0), + ), +) + +GET_QUERY_RESULTS_OUTPUT: StaticSchema = ( + 18, + n0, + _GQRO, + {_sSI: _cGQRRo, _smit: None}, + (_QS, _QSuer, _QRRu, _NT, _EM), + ( + (lambda: schemas.QUERY_STATUS, 0), + (lambda: QUERY_STATISTICS, 0), + (lambda: QUERY_RESULT_ROWS, 0), + (lambda: schemas.PAGINATION_TOKEN, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + ), +) + +GET_QUERY_RESULTS: StaticOperationSchema = ( + 23, + n0, + _GQR, + 0, + GET_QUERY_RESULTS_INPUT, + GET_QUERY_RESULTS_OUTPUT, + ( + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: schemas.INVALID_MAX_RESULTS_EXCEPTION, + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.QUERY_ID_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +QUERY_RESULT_KEY: StaticSchema = (3, n0, _QRK, 0) + +QUERY_RESULT_VALUE: StaticSchema = (3, n0, _QRV, 0) + +QUERY_RESULT_COLUMN: StaticSchema = ( + 17, + n0, + _QRC, + 0, + (_k, _v), + ((QUERY_RESULT_KEY, 0), (QUERY_RESULT_VALUE, 0)), +) + +QUERY_RESULT_ROW: StaticSchema = (16, n0, _QRR, 0, (_m,), ((QUERY_RESULT_COLUMN, 0),)) + +QUERY_RESULT_ROWS: StaticSchema = (16, n0, _QRRu, 0, (_m,), ((QUERY_RESULT_ROW, 0),)) + +QUERY_STATISTICS: StaticSchema = ( + 18, + n0, + _QSuer, + 0, + (_RCe, _TRC, _BS), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.LONG, 0), + ), +) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_sSI: _cGRPR, _smi: None}, + (_RAe,), + ((lambda: schemas.RESOURCE_ARN, 1),), +) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_sSI: _cGRPRo, _smit: None}, + (_RAe, _RPe, _DARP), + ( + (lambda: schemas.RESOURCE_ARN, 0), + (lambda: schemas.RESOURCE_POLICY, 0), + (lambda: schemas.RESOURCE_POLICY, 0), + ), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRP, + 0, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.RESOURCE_ARN_NOT_VALID_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_POLICY_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +GET_TRAIL_INPUT: StaticSchema = ( + 18, + n0, + _GTI, + {_sSI: _cGTR, _smi: None}, + (_N,), + ((lambda: schemas.STRING, 1),), +) + +GET_TRAIL_OUTPUT: StaticSchema = ( + 18, + n0, + _GTO, + {_sSI: _cGTRo, _smit: None}, + (_Tr,), + ((lambda: schemas.TRAIL, 0),), +) + +GET_TRAIL: StaticOperationSchema = ( + 23, + n0, + _GT, + 0, + GET_TRAIL_INPUT, + GET_TRAIL_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +GET_TRAIL_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _GTSI, + {_sSI: _cGTSR, _smi: None}, + (_N,), + ((lambda: schemas.STRING, 1),), +) + +GET_TRAIL_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _GTSO, + {_sSI: _cGTSRo, _smit: None}, + ( + _IL, + _LDE, + _LNE, + _LDT, + _LNT, + _SLT, + _SLTt, + _LCWLDE, + _LCWLDT, + _LDDT, + _LDDE, + _LDAT, + _LNAT, + _LNAS, + _LDAS, + _TLS, + _TLSi, + ), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_TRAIL_STATUS: StaticOperationSchema = ( + 23, + n0, + _GTS, + 0, + GET_TRAIL_STATUS_INPUT, + GET_TRAIL_STATUS_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +LIST_CHANNELS_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LCMRC, 0) + +LIST_CHANNELS_INPUT: StaticSchema = ( + 18, + n0, + _LCI, + {_sSI: _cLCR, _smi: None}, + (_MR, _NT), + ((LIST_CHANNELS_MAX_RESULTS_COUNT, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_CHANNELS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCO, + {_sSI: _cLCRo, _smit: None}, + (_Ch, _NT), + ((lambda: schemas.CHANNELS, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_CHANNELS: StaticOperationSchema = ( + 23, + n0, + _LC, + 0, + LIST_CHANNELS_INPUT, + LIST_CHANNELS_OUTPUT, + ( + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +LIST_DASHBOARDS_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LDMRC, 0) diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_3.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_3.py new file mode 100644 index 000000000..b9f2f2fbf --- /dev/null +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_3.py @@ -0,0 +1,1131 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudtrail" +_EM = "ErrorMessage" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_sm = "smithy.api#required" +_V = "Value" +_TL = "TagsList" +_m = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_RI = "ResourceId" +_smit = "smithy.api#output" +_N = "Name" +_AESd = "AdvancedEventSelectors" +_sV = "smithy.api#enumValue" +_EC = "EventCategory" +_ACg = "AggregationConfigurations" +_EDSA = "EventDataStoreArn" +_EDS = "EventDataStore" +_QI = "QueryId" +_QS = "QueryStatus" +_FAILED = "FAILED" +_L = "Location" +_De = "Destination" +_Ty = "Type" +_Des = "Destinations" +_St = "Status" +_TPE = "TerminationProtectionEnabled" +_k = "key" +_v = "value" +_DA = "DashboardArn" +_RP = "RetentionPeriod" +_MRE = "MultiRegionEnabled" +_OE = "OrganizationEnabled" +_CT = "CreatedTimestamp" +_UT = "UpdatedTimestamp" +_TARN = "TrailARN" +_CTre = "CreationTime" +_HR = "HomeRegion" +_EDSv = "EventDataStores" +_TN = "TrailName" +_CKSo = "ContextKeySelectors" +_MES = "MaxEventSize" +_Va = "Values" +_RO = "ReadOnly" +_ESve = "EventSelectors" +_II = "ImportId" +_ISmpo = "ImportStatus" +_IT = "InsightType" +_NT = "NextToken" +_MR = "MaxResults" +_LDI = "ListDashboardsInput" +_cLDR = "com.amazonaws.cloudtrail#ListDashboardsRequest" +_NP = "NamePrefix" +_DDa = "DashboardDetail" +_Das = "Dashboards" +_LDO = "ListDashboardsOutput" +_cLDRo = "com.amazonaws.cloudtrail#ListDashboardsResponse" +_LD = "ListDashboards" +_LEDSMRC = "ListEventDataStoresMaxResultsCount" +_LEDSI = "ListEventDataStoresInput" +_cLEDSR = "com.amazonaws.cloudtrail#ListEventDataStoresRequest" +_LEDSO = "ListEventDataStoresOutput" +_cLEDSRo = "com.amazonaws.cloudtrail#ListEventDataStoresResponse" +_LEDS = "ListEventDataStores" +_LIFMRC = "ListImportFailuresMaxResultsCount" +_LIFI = "ListImportFailuresInput" +_cLIFR = "com.amazonaws.cloudtrail#ListImportFailuresRequest" +_IFS = "ImportFailureStatus" +_RETRY = "RETRY" +_SUCCEEDED = "SUCCEEDED" +_IFLI = "ImportFailureListItem" +_ET = "ErrorType" +_LUT = "LastUpdatedTime" +_IFL = "ImportFailureList" +_LIFO = "ListImportFailuresOutput" +_cLIFRo = "com.amazonaws.cloudtrail#ListImportFailuresResponse" +_Fa = "Failures" +_LIF = "ListImportFailures" +_LIMRC = "ListImportsMaxResultsCount" +_LII = "ListImportsInput" +_cLIR = "com.amazonaws.cloudtrail#ListImportsRequest" +_ILI = "ImportsListItem" +_ILm = "ImportsList" +_LIO = "ListImportsOutput" +_cLIRo = "com.amazonaws.cloudtrail#ListImportsResponse" +_Im = "Imports" +_LI = "ListImports" +_LIDT = "ListInsightsDataType" +_IE = "INSIGHTS_EVENTS" +_IEn = "InsightsEvents" +_LIDDK = "ListInsightsDataDimensionKey" +_EI = "EVENT_ID" +_EIv = "EventId" +_EN = "EVENT_NAME" +_ENv = "EventName" +_ES_ = "EVENT_SOURCE" +_ESven = "EventSource" +_LIDDV = "ListInsightsDataDimensionValue" +_LIDD = "ListInsightsDataDimensions" +_LIDMRC = "ListInsightsDataMaxResultsCount" +_LIDI = "ListInsightsDataInput" +_cLIDR = "com.amazonaws.cloudtrail#ListInsightsDataRequest" +_ISnsi = "InsightSource" +_DTat = "DataType" +_Di = "Dimensions" +_ST = "StartTime" +_ETn = "EndTime" +_R = "Resource" +_RT = "ResourceType" +_RN = "ResourceName" +_RLe = "ResourceList" +_Ev = "Event" +_AKI = "AccessKeyId" +_ETv = "EventTime" +_Us = "Username" +_Re = "Resources" +_CTE = "CloudTrailEvent" +_EL = "EventsList" +_LIDO = "ListInsightsDataOutput" +_cLIDRo = "com.amazonaws.cloudtrail#ListInsightsDataResponse" +_Eve = "Events" +_LID = "ListInsightsData" +_IMDT = "InsightsMetricDataType" +_FWZ = "FILL_WITH_ZEROS" +_FWZi = "FillWithZeros" +_NZD = "NON_ZERO_DATA" +_NZDo = "NonZeroData" +_ECr = "ErrorCode" +_IMMR = "InsightsMetricMaxResults" +_IMNT = "InsightsMetricNextToken" +_IMP = "InsightsMetricPeriod" +_LIMDI = "ListInsightsMetricDataInput" +_cLIMDR = "com.amazonaws.cloudtrail#ListInsightsMetricDataRequest" +_Pe = "Period" +_Ti = "Timestamps" +_Do = "Double" +_IMV = "InsightsMetricValues" +_LIMDO = "ListInsightsMetricDataOutput" +_cLIMDRo = "com.amazonaws.cloudtrail#ListInsightsMetricDataResponse" +_LIMD = "ListInsightsMetricData" +_ITRE = "InvalidTimeRangeException" +_ITE = "InvalidTokenException" +_LPKI = "ListPublicKeysInput" +_cLPKR = "com.amazonaws.cloudtrail#ListPublicKeysRequest" +_PKu = "PublicKey" +_VST = "ValidityStartTime" +_VET = "ValidityEndTime" +_Fi = "Fingerprint" +_PKLu = "PublicKeyList" +_LPKO = "ListPublicKeysOutput" +_cLPKRo = "com.amazonaws.cloudtrail#ListPublicKeysResponse" +_LPK = "ListPublicKeys" +_IDRE = "InvalidDateRangeException" +_IQSEn = "InvalidQueryStatusException" +_LQMRC = "ListQueriesMaxResultsCount" +_LQI = "ListQueriesInput" +_cLQR = "com.amazonaws.cloudtrail#ListQueriesRequest" +_Q = "Query" +_Qu = "Queries" +_LQO = "ListQueriesOutput" +_cLQRo = "com.amazonaws.cloudtrail#ListQueriesResponse" +_LQ = "ListQueries" +_RIL = "ResourceIdList" +_LTI = "ListTagsInput" +_cLTR = "com.amazonaws.cloudtrail#ListTagsRequest" +_RTe = "ResourceTag" +_RTL = "ResourceTagList" +_LTO = "ListTagsOutput" +_cLTRo = "com.amazonaws.cloudtrail#ListTagsResponse" +_LT = "ListTags" +_LTIi = "ListTrailsInput" +_cLTRom = "com.amazonaws.cloudtrail#ListTrailsRequest" +_TI = "TrailInfo" +_Tra = "Trails" +_LTOi = "ListTrailsOutput" +_cLTRoma = "com.amazonaws.cloudtrail#ListTrailsResponse" +_LTi = "ListTrails" +_IECE = "InvalidEventCategoryException" +_ILAE = "InvalidLookupAttributesException" +_In = "Insight" +_i = "insight" +_LAK = "LookupAttributeKey" +_RO_ = "READ_ONLY" +_USERNAME = "USERNAME" +_RT_ = "RESOURCE_TYPE" +_RN_ = "RESOURCE_NAME" +_AKI_ = "ACCESS_KEY_ID" +_LAV = "LookupAttributeValue" +_LA = "LookupAttribute" +_AK = "AttributeKey" +_AV = "AttributeValue" +_LAL = "LookupAttributesList" +_LEI = "LookupEventsInput" +_cLER = "com.amazonaws.cloudtrail#LookupEventsRequest" +_LAo = "LookupAttributes" +_LEO = "LookupEventsOutput" +_cLERo = "com.amazonaws.cloudtrail#LookupEventsResponse" +_LE = "LookupEvents" +_PECI = "PutEventConfigurationInput" +_cPECR = "com.amazonaws.cloudtrail#PutEventConfigurationRequest" +_PECO = "PutEventConfigurationOutput" +_cPECRo = "com.amazonaws.cloudtrail#PutEventConfigurationResponse" +_PEC = "PutEventConfiguration" +_PESI = "PutEventSelectorsInput" +_cPESR = "com.amazonaws.cloudtrail#PutEventSelectorsRequest" +_PESO = "PutEventSelectorsOutput" +_cPESRo = "com.amazonaws.cloudtrail#PutEventSelectorsResponse" +_PES = "PutEventSelectors" + +LIST_DASHBOARDS_INPUT: StaticSchema = ( + 18, + n0, + _LDI, + {_sSI: _cLDR, _smi: None}, + (_NP, _Ty, _NT, _MR), + ( + (lambda: schemas.DASHBOARD_NAME, 0), + (lambda: schemas.DASHBOARD_TYPE, 0), + (lambda: schemas.PAGINATION_TOKEN, 0), + (lambda: schemas.LIST_DASHBOARDS_MAX_RESULTS_COUNT, 0), + ), +) + +LIST_DASHBOARDS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDO, + {_sSI: _cLDRo, _smit: None}, + (_Das, _NT), + ((lambda: DASHBOARDS, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_DASHBOARDS: StaticOperationSchema = ( + 23, + n0, + _LD, + 0, + LIST_DASHBOARDS_INPUT, + LIST_DASHBOARDS_OUTPUT, + (lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION,), +) + +DASHBOARD_DETAIL: StaticSchema = ( + 18, + n0, + _DDa, + 0, + (_DA, _Ty), + ((lambda: schemas.DASHBOARD_ARN, 0), (lambda: schemas.DASHBOARD_TYPE, 0)), +) + +DASHBOARDS: StaticSchema = (16, n0, _Das, 0, (_m,), ((DASHBOARD_DETAIL, 0),)) + +LIST_EVENT_DATA_STORES_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LEDSMRC, 0) + +LIST_EVENT_DATA_STORES_INPUT: StaticSchema = ( + 18, + n0, + _LEDSI, + {_sSI: _cLEDSR, _smi: None}, + (_NT, _MR), + ( + (lambda: schemas.PAGINATION_TOKEN, 0), + (LIST_EVENT_DATA_STORES_MAX_RESULTS_COUNT, 0), + ), +) + +LIST_EVENT_DATA_STORES_OUTPUT: StaticSchema = ( + 18, + n0, + _LEDSO, + {_sSI: _cLEDSRo, _smit: None}, + (_EDSv, _NT), + ((lambda: EVENT_DATA_STORES, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_EVENT_DATA_STORES: StaticOperationSchema = ( + 23, + n0, + _LEDS, + 0, + LIST_EVENT_DATA_STORES_INPUT, + LIST_EVENT_DATA_STORES_OUTPUT, + ( + lambda: schemas.INVALID_MAX_RESULTS_EXCEPTION, + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +EVENT_DATA_STORE: StaticSchema = ( + 18, + n0, + _EDS, + 0, + (_EDSA, _N, _TPE, _St, _AESd, _MRE, _OE, _RP, _CT, _UT), + ( + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.EVENT_DATA_STORE_NAME, 0), + (lambda: schemas.TERMINATION_PROTECTION_ENABLED, 0), + (lambda: schemas.EVENT_DATA_STORE_STATUS, 0), + (lambda: schemas.ADVANCED_EVENT_SELECTORS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.RETENTION_PERIOD, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + ), +) + +EVENT_DATA_STORES: StaticSchema = (16, n0, _EDSv, 0, (_m,), ((EVENT_DATA_STORE, 0),)) + +LIST_IMPORT_FAILURES_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LIFMRC, 0) + +LIST_IMPORT_FAILURES_INPUT: StaticSchema = ( + 18, + n0, + _LIFI, + {_sSI: _cLIFR, _smi: None}, + (_II, _MR, _NT), + ( + (lambda: schemas.UUID, 1), + (LIST_IMPORT_FAILURES_MAX_RESULTS_COUNT, 0), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +LIST_IMPORT_FAILURES_OUTPUT: StaticSchema = ( + 18, + n0, + _LIFO, + {_sSI: _cLIFRo, _smit: None}, + (_Fa, _NT), + ((lambda: IMPORT_FAILURE_LIST, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_IMPORT_FAILURES: StaticOperationSchema = ( + 23, + n0, + _LIF, + 0, + LIST_IMPORT_FAILURES_INPUT, + LIST_IMPORT_FAILURES_OUTPUT, + ( + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +IMPORT_FAILURE_STATUS: StaticSchema = ( + 14, + n0, + _IFS, + 0, + (_FAILED, _RETRY, _SUCCEEDED), + ((-1, {_sV: _FAILED}), (-1, {_sV: _RETRY}), (-1, {_sV: _SUCCEEDED})), +) + +IMPORT_FAILURE_LIST_ITEM: StaticSchema = ( + 18, + n0, + _IFLI, + 0, + (_L, _St, _ET, _EM, _LUT), + ( + (lambda: schemas.STRING, 0), + (IMPORT_FAILURE_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DATE, 0), + ), +) + +IMPORT_FAILURE_LIST: StaticSchema = ( + 16, + n0, + _IFL, + 0, + (_m,), + ((IMPORT_FAILURE_LIST_ITEM, 0),), +) + +LIST_IMPORTS_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LIMRC, 0) + +LIST_IMPORTS_INPUT: StaticSchema = ( + 18, + n0, + _LII, + {_sSI: _cLIR, _smi: None}, + (_MR, _De, _ISmpo, _NT), + ( + (LIST_IMPORTS_MAX_RESULTS_COUNT, 0), + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.IMPORT_STATUS, 0), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +LIST_IMPORTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIO, + {_sSI: _cLIRo, _smit: None}, + (_Im, _NT), + ((lambda: IMPORTS_LIST, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_IMPORTS: StaticOperationSchema = ( + 23, + n0, + _LI, + 0, + LIST_IMPORTS_INPUT, + LIST_IMPORTS_OUTPUT, + ( + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +IMPORTS_LIST_ITEM: StaticSchema = ( + 18, + n0, + _ILI, + 0, + (_II, _ISmpo, _Des, _CT, _UT), + ( + (lambda: schemas.UUID, 0), + (lambda: schemas.IMPORT_STATUS, 0), + (lambda: schemas.IMPORT_DESTINATIONS, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + ), +) + +IMPORTS_LIST: StaticSchema = (16, n0, _ILm, 0, (_m,), ((IMPORTS_LIST_ITEM, 0),)) + +LIST_INSIGHTS_DATA_TYPE: StaticSchema = (14, n0, _LIDT, 0, (_IE,), ((-1, {_sV: _IEn}),)) + +LIST_INSIGHTS_DATA_DIMENSION_KEY: StaticSchema = ( + 14, + n0, + _LIDDK, + 0, + (_EI, _EN, _ES_), + ((-1, {_sV: _EIv}), (-1, {_sV: _ENv}), (-1, {_sV: _ESven})), +) + +LIST_INSIGHTS_DATA_DIMENSION_VALUE: StaticSchema = (3, n0, _LIDDV, 0) + +LIST_INSIGHTS_DATA_DIMENSIONS: StaticSchema = ( + 17, + n0, + _LIDD, + 0, + (_k, _v), + ((LIST_INSIGHTS_DATA_DIMENSION_KEY, 0), (LIST_INSIGHTS_DATA_DIMENSION_VALUE, 0)), +) + +LIST_INSIGHTS_DATA_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LIDMRC, 0) + +LIST_INSIGHTS_DATA_INPUT: StaticSchema = ( + 18, + n0, + _LIDI, + {_sSI: _cLIDR, _smi: None}, + (_ISnsi, _DTat, _Di, _ST, _ETn, _MR, _NT), + ( + (lambda: schemas.RESOURCE_ARN, 1), + (LIST_INSIGHTS_DATA_TYPE, 1), + (LIST_INSIGHTS_DATA_DIMENSIONS, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (LIST_INSIGHTS_DATA_MAX_RESULTS_COUNT, 0), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +LIST_INSIGHTS_DATA_OUTPUT: StaticSchema = ( + 18, + n0, + _LIDO, + {_sSI: _cLIDRo, _smit: None}, + (_Eve, _NT), + ((lambda: EVENTS_LIST, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_INSIGHTS_DATA: StaticOperationSchema = ( + 23, + n0, + _LID, + 0, + LIST_INSIGHTS_DATA_INPUT, + LIST_INSIGHTS_DATA_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +RESOURCE: StaticSchema = ( + 18, + n0, + _R, + 0, + (_RT, _RN), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +RESOURCE_LIST: StaticSchema = (16, n0, _RLe, 0, (_m,), ((RESOURCE, 0),)) + +EVENT: StaticSchema = ( + 18, + n0, + _Ev, + 0, + (_EIv, _ENv, _RO, _AKI, _ETv, _ESven, _Us, _Re, _CTE), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (RESOURCE_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +EVENTS_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((EVENT, 0),)) + +INSIGHTS_METRIC_DATA_TYPE: StaticSchema = ( + 14, + n0, + _IMDT, + 0, + (_FWZ, _NZD), + ((-1, {_sV: _FWZi}), (-1, {_sV: _NZDo})), +) + +ERROR_CODE: StaticSchema = (3, n0, _ECr, 0) + +EVENT_NAME: StaticSchema = (3, n0, _ENv, 0) + +EVENT_SOURCE: StaticSchema = (3, n0, _ESven, 0) + +INSIGHTS_METRIC_MAX_RESULTS: StaticSchema = (7, n0, _IMMR, 0) + +INSIGHTS_METRIC_NEXT_TOKEN: StaticSchema = (3, n0, _IMNT, 0) + +INSIGHTS_METRIC_PERIOD: StaticSchema = (7, n0, _IMP, 0) + +LIST_INSIGHTS_METRIC_DATA_INPUT: StaticSchema = ( + 18, + n0, + _LIMDI, + {_sSI: _cLIMDR, _smi: None}, + (_TN, _ESven, _ENv, _IT, _ECr, _ST, _ETn, _Pe, _DTat, _MR, _NT), + ( + (lambda: schemas.STRING, 0), + (EVENT_SOURCE, 1), + (EVENT_NAME, 1), + (lambda: schemas.INSIGHT_TYPE, 1), + (ERROR_CODE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (INSIGHTS_METRIC_PERIOD, 0), + (INSIGHTS_METRIC_DATA_TYPE, 0), + (INSIGHTS_METRIC_MAX_RESULTS, 0), + (INSIGHTS_METRIC_NEXT_TOKEN, 0), + ), +) + +LIST_INSIGHTS_METRIC_DATA_OUTPUT: StaticSchema = ( + 18, + n0, + _LIMDO, + {_sSI: _cLIMDRo, _smit: None}, + (_TARN, _ESven, _ENv, _IT, _ECr, _Ti, _Va, _NT), + ( + (lambda: schemas.STRING, 0), + (EVENT_SOURCE, 0), + (EVENT_NAME, 0), + (lambda: schemas.INSIGHT_TYPE, 0), + (ERROR_CODE, 0), + (lambda: TIMESTAMPS, 0), + (lambda: INSIGHTS_METRIC_VALUES, 0), + (INSIGHTS_METRIC_NEXT_TOKEN, 0), + ), +) + +LIST_INSIGHTS_METRIC_DATA: StaticOperationSchema = ( + 23, + n0, + _LIMD, + 0, + LIST_INSIGHTS_METRIC_DATA_INPUT, + LIST_INSIGHTS_METRIC_DATA_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +TIMESTAMPS: StaticSchema = (16, n0, _Ti, 0, (_m,), ((lambda: schemas.DATE, 0),)) + +DOUBLE: StaticSchema = (10, n0, _Do, 0) + +INSIGHTS_METRIC_VALUES: StaticSchema = (16, n0, _IMV, 0, (_m,), ((DOUBLE, 0),)) + +INVALID_TIME_RANGE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ITRE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidTimeRange", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _ITE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidToken", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +LIST_PUBLIC_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _LPKI, + {_sSI: _cLPKR, _smi: None}, + (_ST, _ETn, _NT), + ((lambda: schemas.DATE, 0), (lambda: schemas.DATE, 0), (lambda: schemas.STRING, 0)), +) + +LIST_PUBLIC_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPKO, + {_sSI: _cLPKRo, _smit: None}, + (_PKLu, _NT), + ((lambda: PUBLIC_KEY_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_PUBLIC_KEYS: StaticOperationSchema = ( + 23, + n0, + _LPK, + 0, + LIST_PUBLIC_KEYS_INPUT, + LIST_PUBLIC_KEYS_OUTPUT, + ( + INVALID_TIME_RANGE_EXCEPTION, + INVALID_TOKEN_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +PUBLIC_KEY: StaticSchema = ( + 18, + n0, + _PKu, + 0, + (_V, _VST, _VET, _Fi), + ( + (lambda: schemas.BYTE_BUFFER, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.STRING, 0), + ), +) + +PUBLIC_KEY_LIST: StaticSchema = (16, n0, _PKLu, 0, (_m,), ((PUBLIC_KEY, 0),)) + +INVALID_DATE_RANGE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IDRE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidDateRange", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_QUERY_STATUS_EXCEPTION: StaticSchema = ( + 18, + n0, + _IQSEn, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidQueryStatus", "httpResponseCode": 400}), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +LIST_QUERIES_MAX_RESULTS_COUNT: StaticSchema = (7, n0, _LQMRC, 0) + +LIST_QUERIES_INPUT: StaticSchema = ( + 18, + n0, + _LQI, + {_sSI: _cLQR, _smi: None}, + (_EDS, _NT, _MR, _ST, _ETn, _QS), + ( + (lambda: schemas.EVENT_DATA_STORE_ARN, 1), + (lambda: schemas.PAGINATION_TOKEN, 0), + (LIST_QUERIES_MAX_RESULTS_COUNT, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.QUERY_STATUS, 0), + ), +) + +LIST_QUERIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LQO, + {_sSI: _cLQRo, _smit: None}, + (_Qu, _NT), + ((lambda: QUERIES, 0), (lambda: schemas.PAGINATION_TOKEN, 0)), +) + +LIST_QUERIES: StaticOperationSchema = ( + 23, + n0, + _LQ, + 0, + LIST_QUERIES_INPUT, + LIST_QUERIES_OUTPUT, + ( + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + INVALID_DATE_RANGE_EXCEPTION, + lambda: schemas.INVALID_MAX_RESULTS_EXCEPTION, + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + INVALID_QUERY_STATUS_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +QUERY: StaticSchema = ( + 18, + n0, + _Q, + 0, + (_QI, _QS, _CTre), + ( + (lambda: schemas.UUID, 0), + (lambda: schemas.QUERY_STATUS, 0), + (lambda: schemas.DATE, 0), + ), +) + +QUERIES: StaticSchema = (16, n0, _Qu, 0, (_m,), ((QUERY, 0),)) + +RESOURCE_ID_LIST: StaticSchema = ( + 16, + n0, + _RIL, + 0, + (_m,), + ((lambda: schemas.STRING, 0),), +) + +LIST_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LTI, + {_sSI: _cLTR, _smi: None}, + (_RIL, _NT), + ((RESOURCE_ID_LIST, 1), (lambda: schemas.STRING, 0)), +) + +LIST_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTO, + {_sSI: _cLTRo, _smit: None}, + (_RTL, _NT), + ((lambda: RESOURCE_TAG_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_TAGS: StaticOperationSchema = ( + 23, + n0, + _LT, + 0, + LIST_TAGS_INPUT, + LIST_TAGS_OUTPUT, + ( + lambda: schemas.CHANNEL_ARN_INVALID_EXCEPTION, + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + INVALID_TOKEN_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +RESOURCE_TAG: StaticSchema = ( + 18, + n0, + _RTe, + 0, + (_RI, _TL), + ((lambda: schemas.STRING, 0), (lambda: schemas.TAGS_LIST, 0)), +) + +RESOURCE_TAG_LIST: StaticSchema = (16, n0, _RTL, 0, (_m,), ((RESOURCE_TAG, 0),)) + +LIST_TRAILS_INPUT: StaticSchema = ( + 18, + n0, + _LTIi, + {_sSI: _cLTRom, _smi: None}, + (_NT,), + ((lambda: schemas.STRING, 0),), +) + +LIST_TRAILS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTOi, + {_sSI: _cLTRoma, _smit: None}, + (_Tra, _NT), + ((lambda: TRAILS, 0), (lambda: schemas.STRING, 0)), +) + +LIST_TRAILS: StaticOperationSchema = ( + 23, + n0, + _LTi, + 0, + LIST_TRAILS_INPUT, + LIST_TRAILS_OUTPUT, + ( + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +TRAIL_INFO: StaticSchema = ( + 18, + n0, + _TI, + 0, + (_TARN, _N, _HR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +TRAILS: StaticSchema = (16, n0, _Tra, 0, (_m,), ((TRAIL_INFO, 0),)) + +INVALID_EVENT_CATEGORY_EXCEPTION: StaticSchema = ( + 18, + n0, + _IECE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidEventCategory", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_LOOKUP_ATTRIBUTES_EXCEPTION: StaticSchema = ( + 18, + n0, + _ILAE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidLookupAttributes", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +EVENT_CATEGORY: StaticSchema = (14, n0, _EC, 0, (_In,), ((-1, {_sV: _i}),)) + +LOOKUP_ATTRIBUTE_KEY: StaticSchema = ( + 14, + n0, + _LAK, + 0, + (_EI, _EN, _RO_, _USERNAME, _RT_, _RN_, _ES_, _AKI_), + ( + (-1, {_sV: _EIv}), + (-1, {_sV: _ENv}), + (-1, {_sV: _RO}), + (-1, {_sV: _Us}), + (-1, {_sV: _RT}), + (-1, {_sV: _RN}), + (-1, {_sV: _ESven}), + (-1, {_sV: _AKI}), + ), +) + +LOOKUP_ATTRIBUTE_VALUE: StaticSchema = (3, n0, _LAV, 0) + +LOOKUP_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _LA, + 0, + (_AK, _AV), + ((LOOKUP_ATTRIBUTE_KEY, 1), (LOOKUP_ATTRIBUTE_VALUE, 1)), +) + +LOOKUP_ATTRIBUTES_LIST: StaticSchema = ( + 16, + n0, + _LAL, + 0, + (_m,), + ((LOOKUP_ATTRIBUTE, 0),), +) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +LOOKUP_EVENTS_INPUT: StaticSchema = ( + 18, + n0, + _LEI, + {_sSI: _cLER, _smi: None}, + (_LAo, _ST, _ETn, _EC, _MR, _NT), + ( + (LOOKUP_ATTRIBUTES_LIST, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (EVENT_CATEGORY, 0), + (MAX_RESULTS, 0), + (NEXT_TOKEN, 0), + ), +) + +LOOKUP_EVENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LEO, + {_sSI: _cLERo, _smit: None}, + (_Eve, _NT), + ((EVENTS_LIST, 0), (NEXT_TOKEN, 0)), +) + +LOOKUP_EVENTS: StaticOperationSchema = ( + 23, + n0, + _LE, + 0, + LOOKUP_EVENTS_INPUT, + LOOKUP_EVENTS_OUTPUT, + ( + INVALID_EVENT_CATEGORY_EXCEPTION, + INVALID_LOOKUP_ATTRIBUTES_EXCEPTION, + lambda: schemas.INVALID_MAX_RESULTS_EXCEPTION, + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + INVALID_TIME_RANGE_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +PUT_EVENT_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PECI, + {_sSI: _cPECR, _smi: None}, + (_TN, _EDS, _MES, _CKSo, _ACg), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAX_EVENT_SIZE, 0), + (lambda: schemas.CONTEXT_KEY_SELECTORS, 0), + (lambda: schemas.AGGREGATION_CONFIGURATIONS, 0), + ), +) + +PUT_EVENT_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PECO, + {_sSI: _cPECRo, _smit: None}, + (_TARN, _EDSA, _MES, _CKSo, _ACg), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.MAX_EVENT_SIZE, 0), + (lambda: schemas.CONTEXT_KEY_SELECTORS, 0), + (lambda: schemas.AGGREGATION_CONFIGURATIONS, 0), + ), +) + +PUT_EVENT_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PEC, + 0, + PUT_EVENT_CONFIGURATION_INPUT, + PUT_EVENT_CONFIGURATION_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INSUFFICIENT_IAM_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, + lambda: schemas.INVALID_HOME_REGION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_COMBINATION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +PUT_EVENT_SELECTORS_INPUT: StaticSchema = ( + 18, + n0, + _PESI, + {_sSI: _cPESR, _smi: None}, + (_TN, _ESve, _AESd), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.EVENT_SELECTORS, 0), + (lambda: schemas.ADVANCED_EVENT_SELECTORS, 0), + ), +) + +PUT_EVENT_SELECTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _PESO, + {_sSI: _cPESRo, _smit: None}, + (_TARN, _ESve, _AESd), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.EVENT_SELECTORS, 0), + (lambda: schemas.ADVANCED_EVENT_SELECTORS, 0), + ), +) + +PUT_EVENT_SELECTORS: StaticOperationSchema = ( + 23, + n0, + _PES, + 0, + PUT_EVENT_SELECTORS_INPUT, + PUT_EVENT_SELECTORS_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_EVENT_SELECTORS_EXCEPTION, + lambda: schemas.INVALID_HOME_REGION_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_4.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_4.py new file mode 100644 index 000000000..ce1e6a393 --- /dev/null +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/_private/schemas_4.py @@ -0,0 +1,1201 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cloudtrail" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_M = "Message" +_sm = "smithy.api#required" +_TL = "TagsList" +_m = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_RI = "ResourceId" +_smit = "smithy.api#output" +_N = "Name" +_AESd = "AdvancedEventSelectors" +_BM = "BillingMode" +_EDSA = "EventDataStoreArn" +_EDS = "EventDataStore" +_QI = "QueryId" +_EDSOAI = "EventDataStoreOwnerAccountId" +_CA = "ChannelArn" +_C = "Channel" +_Ty = "Type" +_Des = "Destinations" +_So = "Source" +_RS = "RefreshSchedule" +_St = "Status" +_TPE = "TerminationProtectionEnabled" +_QPu = "QueryParameters" +_QSu = "QueryStatement" +_k = "key" +_v = "value" +_W = "Widgets" +_DA = "DashboardArn" +_QA = "QueryAlias" +_RP = "RetentionPeriod" +_MRE = "MultiRegionEnabled" +_OE = "OrganizationEnabled" +_KKI = "KmsKeyId" +_CT = "CreatedTimestamp" +_UT = "UpdatedTimestamp" +_SBN = "S3BucketName" +_SKP = "S3KeyPrefix" +_STN = "SnsTopicName" +_IGSE = "IncludeGlobalServiceEvents" +_IMRT = "IsMultiRegionTrail" +_ELFV = "EnableLogFileValidation" +_CWLLGA = "CloudWatchLogsLogGroupArn" +_CWLRA = "CloudWatchLogsRoleArn" +_IOT = "IsOrganizationTrail" +_RL = "RecursiveLogging" +_STARN = "SnsTopicARN" +_TARN = "TrailARN" +_LFVE = "LogFileValidationEnabled" +_DI = "DashboardId" +_RAe = "ResourceArn" +_RIe = "RefreshId" +_DSU = "DeliveryS3Uri" +_FSe = "FederationStatus" +_FRA = "FederationRoleArn" +_TN = "TrailName" +_II = "ImportId" +_ISm = "ImportSource" +_ISmp = "ImportStatistics" +_ISmpo = "ImportStatus" +_SET = "StartEventTime" +_EET = "EndEventTime" +_ISns = "InsightSelectors" +_IDn = "InsightsDestination" +_NT = "NextToken" +_RPe = "ResourcePolicy" +_DARP = "DelegatedAdminResourcePolicy" +_MR = "MaxResults" +_PISI = "PutInsightSelectorsInput" +_cPISR = "com.amazonaws.cloudtrail#PutInsightSelectorsRequest" +_PISO = "PutInsightSelectorsOutput" +_cPISRo = "com.amazonaws.cloudtrail#PutInsightSelectorsResponse" +_PIS = "PutInsightSelectors" +_PRPI = "PutResourcePolicyInput" +_cPRPR = "com.amazonaws.cloudtrail#PutResourcePolicyRequest" +_PRPO = "PutResourcePolicyOutput" +_cPRPRo = "com.amazonaws.cloudtrail#PutResourcePolicyResponse" +_RPNVE = "ResourcePolicyNotValidException" +_PRP = "PutResourcePolicy" +_DAALEE = "DelegatedAdminAccountLimitExceededException" +_RODAI = "RegisterOrganizationDelegatedAdminInput" +_cRODAR = "com.amazonaws.cloudtrail#RegisterOrganizationDelegatedAdminRequest" +_MAI = "MemberAccountId" +_RODAO = "RegisterOrganizationDelegatedAdminOutput" +_cRODARo = "com.amazonaws.cloudtrail#RegisterOrganizationDelegatedAdminResponse" +_RODA = "RegisterOrganizationDelegatedAdmin" +_RTI = "RemoveTagsInput" +_cRTR = "com.amazonaws.cloudtrail#RemoveTagsRequest" +_RTO = "RemoveTagsOutput" +_cRTRo = "com.amazonaws.cloudtrail#RemoveTagsResponse" +_RTem = "RemoveTags" +_REDSI = "RestoreEventDataStoreInput" +_cREDSR = "com.amazonaws.cloudtrail#RestoreEventDataStoreRequest" +_REDSO = "RestoreEventDataStoreOutput" +_cREDSRo = "com.amazonaws.cloudtrail#RestoreEventDataStoreResponse" +_REDS = "RestoreEventDataStore" +_SSQMR = "SearchSampleQueriesMaxResults" +_SSQSP = "SearchSampleQueriesSearchPhrase" +_SSQI = "SearchSampleQueriesInput" +_cSSQR = "com.amazonaws.cloudtrail#SearchSampleQueriesRequest" +_SP = "SearchPhrase" +_SQD = "SampleQueryDescription" +_SQN = "SampleQueryName" +_SQR = "SampleQueryRelevance" +_smith = "smithy.api#default" +_SQSQL = "SampleQuerySQL" +_SSQSR = "SearchSampleQueriesSearchResult" +_Desc = "Description" +_SQL = "SQL" +_Rel = "Relevance" +_SSQSRe = "SearchSampleQueriesSearchResults" +_SSQO = "SearchSampleQueriesOutput" +_cSSQRo = "com.amazonaws.cloudtrail#SearchSampleQueriesResponse" +_SR = "SearchResults" +_SSQ = "SearchSampleQueries" +_QPK = "QueryParameterKey" +_QPV = "QueryParameterValue" +_QPVu = "QueryParameterValues" +_SDRI = "StartDashboardRefreshInput" +_cSDRR = "com.amazonaws.cloudtrail#StartDashboardRefreshRequest" +_SDRO = "StartDashboardRefreshOutput" +_cSDRRo = "com.amazonaws.cloudtrail#StartDashboardRefreshResponse" +_SDR = "StartDashboardRefresh" +_SEDSII = "StartEventDataStoreIngestionInput" +_cSEDSIR = "com.amazonaws.cloudtrail#StartEventDataStoreIngestionRequest" +_SEDSIO = "StartEventDataStoreIngestionOutput" +_cSEDSIRo = "com.amazonaws.cloudtrail#StartEventDataStoreIngestionResponse" +_SEDSI = "StartEventDataStoreIngestion" +_IISEn = "InvalidImportSourceException" +_SII = "StartImportInput" +_cSIR = "com.amazonaws.cloudtrail#StartImportRequest" +_SIO = "StartImportOutput" +_cSIRo = "com.amazonaws.cloudtrail#StartImportResponse" +_SIt = "StartImport" +_SLI = "StartLoggingInput" +_cSLR = "com.amazonaws.cloudtrail#StartLoggingRequest" +_SLO = "StartLoggingOutput" +_cSLRo = "com.amazonaws.cloudtrail#StartLoggingResponse" +_SL = "StartLogging" +_MCQE = "MaxConcurrentQueriesException" +_SQI = "StartQueryInput" +_cSQR = "com.amazonaws.cloudtrail#StartQueryRequest" +_SQO = "StartQueryOutput" +_cSQRo = "com.amazonaws.cloudtrail#StartQueryResponse" +_SQ = "StartQuery" +_SEDSIIt = "StopEventDataStoreIngestionInput" +_cSEDSIRom = "com.amazonaws.cloudtrail#StopEventDataStoreIngestionRequest" +_SEDSIOt = "StopEventDataStoreIngestionOutput" +_cSEDSIRoma = "com.amazonaws.cloudtrail#StopEventDataStoreIngestionResponse" +_SEDSIt = "StopEventDataStoreIngestion" +_SIIt = "StopImportInput" +_cSIRom = "com.amazonaws.cloudtrail#StopImportRequest" +_SIOt = "StopImportOutput" +_cSIRoma = "com.amazonaws.cloudtrail#StopImportResponse" +_SIto = "StopImport" +_SLIt = "StopLoggingInput" +_cSLRom = "com.amazonaws.cloudtrail#StopLoggingRequest" +_SLOt = "StopLoggingOutput" +_cSLRoma = "com.amazonaws.cloudtrail#StopLoggingResponse" +_SLt = "StopLogging" +_UCI = "UpdateChannelInput" +_cUCR = "com.amazonaws.cloudtrail#UpdateChannelRequest" +_UCO = "UpdateChannelOutput" +_cUCRo = "com.amazonaws.cloudtrail#UpdateChannelResponse" +_UC = "UpdateChannel" +_UDI = "UpdateDashboardInput" +_cUDR = "com.amazonaws.cloudtrail#UpdateDashboardRequest" +_UDO = "UpdateDashboardOutput" +_cUDRo = "com.amazonaws.cloudtrail#UpdateDashboardResponse" +_UD = "UpdateDashboard" +_UEDSI = "UpdateEventDataStoreInput" +_cUEDSR = "com.amazonaws.cloudtrail#UpdateEventDataStoreRequest" +_UEDSO = "UpdateEventDataStoreOutput" +_cUEDSRo = "com.amazonaws.cloudtrail#UpdateEventDataStoreResponse" +_UEDS = "UpdateEventDataStore" +_UTI = "UpdateTrailInput" +_cUTR = "com.amazonaws.cloudtrail#UpdateTrailRequest" +_UTO = "UpdateTrailOutput" +_cUTRo = "com.amazonaws.cloudtrail#UpdateTrailResponse" +_UTp = "UpdateTrail" +_C_ = "CloudTrail_20131101" +_a = "aws.auth#sigv4" +_a_ = "aws.protocols#awsJson1_1" +_aw = "aws.api#service" +_sN = "smithy.api#xmlNamespace" + +PUT_INSIGHT_SELECTORS_INPUT: StaticSchema = ( + 18, + n0, + _PISI, + {_sSI: _cPISR, _smi: None}, + (_TN, _ISns, _EDS, _IDn), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INSIGHT_SELECTORS, 1), + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + ), +) + +PUT_INSIGHT_SELECTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _PISO, + {_sSI: _cPISRo, _smit: None}, + (_TARN, _ISns, _EDSA, _IDn), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INSIGHT_SELECTORS, 0), + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + ), +) + +PUT_INSIGHT_SELECTORS: StaticOperationSchema = ( + 23, + n0, + _PIS, + 0, + PUT_INSIGHT_SELECTORS_INPUT, + PUT_INSIGHT_SELECTORS_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: schemas.INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION, + lambda: schemas.INVALID_HOME_REGION_EXCEPTION, + lambda: schemas.INVALID_INSIGHT_SELECTORS_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_COMBINATION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.KMS_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.S3_BUCKET_DOES_NOT_EXIST_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_sSI: _cPRPR, _smi: None}, + (_RAe, _RPe), + ((lambda: schemas.RESOURCE_ARN, 1), (lambda: schemas.RESOURCE_POLICY, 1)), +) + +PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPO, + {_sSI: _cPRPRo, _smit: None}, + (_RAe, _RPe, _DARP), + ( + (lambda: schemas.RESOURCE_ARN, 0), + (lambda: schemas.RESOURCE_POLICY, 0), + (lambda: schemas.RESOURCE_POLICY, 0), + ), +) + +PUT_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRP, + 0, + PUT_RESOURCE_POLICY_INPUT, + PUT_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.RESOURCE_ARN_NOT_VALID_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: RESOURCE_POLICY_NOT_VALID_EXCEPTION, + lambda: schemas.RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +RESOURCE_POLICY_NOT_VALID_EXCEPTION: StaticSchema = ( + 18, + n0, + _RPNVE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ResourcePolicyNotValid", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DELEGATED_ADMIN_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _DAALEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DelegatedAdminAccountLimitExceeded", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +REGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT: StaticSchema = ( + 18, + n0, + _RODAI, + {_sSI: _cRODAR, _smi: None}, + (_MAI,), + ((lambda: schemas.ACCOUNT_ID, 1),), +) + +REGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT: StaticSchema = ( + 18, + n0, + _RODAO, + {_sSI: _cRODARo, _smit: None}, +) + +REGISTER_ORGANIZATION_DELEGATED_ADMIN: StaticOperationSchema = ( + 23, + n0, + _RODA, + 0, + REGISTER_ORGANIZATION_DELEGATED_ADMIN_INPUT, + REGISTER_ORGANIZATION_DELEGATED_ADMIN_OUTPUT, + ( + lambda: schemas.ACCOUNT_NOT_FOUND_EXCEPTION, + lambda: schemas.ACCOUNT_REGISTERED_EXCEPTION, + lambda: schemas.CANNOT_DELEGATE_MANAGEMENT_ACCOUNT_EXCEPTION, + lambda: schemas.CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + DELEGATED_ADMIN_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INSUFFICIENT_IAM_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MANAGEMENT_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: schemas.ORGANIZATIONS_NOT_IN_USE_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +REMOVE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _RTI, + {_sSI: _cRTR, _smi: None}, + (_RI, _TL), + ((lambda: schemas.STRING, 1), (lambda: schemas.TAGS_LIST, 1)), +) + +REMOVE_TAGS_OUTPUT: StaticSchema = (18, n0, _RTO, {_sSI: _cRTRo, _smit: None}) + +REMOVE_TAGS: StaticOperationSchema = ( + 23, + n0, + _RTem, + 0, + REMOVE_TAGS_INPUT, + REMOVE_TAGS_OUTPUT, + ( + lambda: schemas.CHANNEL_ARN_INVALID_EXCEPTION, + lambda: schemas.CHANNEL_NOT_FOUND_EXCEPTION, + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INVALID_TAG_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_TYPE_NOT_SUPPORTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +RESTORE_EVENT_DATA_STORE_INPUT: StaticSchema = ( + 18, + n0, + _REDSI, + {_sSI: _cREDSR, _smi: None}, + (_EDS,), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 1),), +) + +RESTORE_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _REDSO, + {_sSI: _cREDSRo, _smit: None}, + (_EDSA, _N, _St, _AESd, _MRE, _OE, _RP, _TPE, _CT, _UT, _KKI, _BM), + ( + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.EVENT_DATA_STORE_NAME, 0), + (lambda: schemas.EVENT_DATA_STORE_STATUS, 0), + (lambda: schemas.ADVANCED_EVENT_SELECTORS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.RETENTION_PERIOD, 0), + (lambda: schemas.TERMINATION_PROTECTION_ENABLED, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.EVENT_DATA_STORE_KMS_KEY_ID, 0), + (lambda: schemas.BILLING_MODE, 0), + ), +) + +RESTORE_EVENT_DATA_STORE: StaticOperationSchema = ( + 23, + n0, + _REDS, + 0, + RESTORE_EVENT_DATA_STORE_INPUT, + RESTORE_EVENT_DATA_STORE_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_MAX_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: schemas.ORGANIZATIONS_NOT_IN_USE_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +SEARCH_SAMPLE_QUERIES_MAX_RESULTS: StaticSchema = (7, n0, _SSQMR, 0) + +SEARCH_SAMPLE_QUERIES_SEARCH_PHRASE: StaticSchema = (3, n0, _SSQSP, 0) + +SEARCH_SAMPLE_QUERIES_INPUT: StaticSchema = ( + 18, + n0, + _SSQI, + {_sSI: _cSSQR, _smi: None}, + (_SP, _MR, _NT), + ( + (SEARCH_SAMPLE_QUERIES_SEARCH_PHRASE, 1), + (SEARCH_SAMPLE_QUERIES_MAX_RESULTS, 0), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +SEARCH_SAMPLE_QUERIES_OUTPUT: StaticSchema = ( + 18, + n0, + _SSQO, + {_sSI: _cSSQRo, _smit: None}, + (_SR, _NT), + ( + (lambda: SEARCH_SAMPLE_QUERIES_SEARCH_RESULTS, 0), + (lambda: schemas.PAGINATION_TOKEN, 0), + ), +) + +SEARCH_SAMPLE_QUERIES: StaticOperationSchema = ( + 23, + n0, + _SSQ, + 0, + SEARCH_SAMPLE_QUERIES_INPUT, + SEARCH_SAMPLE_QUERIES_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +SAMPLE_QUERY_DESCRIPTION: StaticSchema = (3, n0, _SQD, 0) + +SAMPLE_QUERY_NAME: StaticSchema = (3, n0, _SQN, 0) + +SAMPLE_QUERY_RELEVANCE: StaticSchema = (9, n0, _SQR, {_smith: 0}) + +SAMPLE_QUERY_SQL: StaticSchema = (3, n0, _SQSQL, 0) + +SEARCH_SAMPLE_QUERIES_SEARCH_RESULT: StaticSchema = ( + 18, + n0, + _SSQSR, + 0, + (_N, _Desc, _SQL, _Rel), + ( + (SAMPLE_QUERY_NAME, 0), + (SAMPLE_QUERY_DESCRIPTION, 0), + (SAMPLE_QUERY_SQL, 0), + (SAMPLE_QUERY_RELEVANCE, {_smith: 0}), + ), +) + +SEARCH_SAMPLE_QUERIES_SEARCH_RESULTS: StaticSchema = ( + 16, + n0, + _SSQSRe, + 0, + (_m,), + ((SEARCH_SAMPLE_QUERIES_SEARCH_RESULT, 0),), +) + +QUERY_PARAMETER_KEY: StaticSchema = (3, n0, _QPK, 0) + +QUERY_PARAMETER_VALUE: StaticSchema = (3, n0, _QPV, 0) + +QUERY_PARAMETER_VALUES: StaticSchema = ( + 17, + n0, + _QPVu, + 0, + (_k, _v), + ((QUERY_PARAMETER_KEY, 0), (QUERY_PARAMETER_VALUE, 0)), +) + +START_DASHBOARD_REFRESH_INPUT: StaticSchema = ( + 18, + n0, + _SDRI, + {_sSI: _cSDRR, _smi: None}, + (_DI, _QPVu), + ((lambda: schemas.DASHBOARD_ARN, 1), (QUERY_PARAMETER_VALUES, 0)), +) + +START_DASHBOARD_REFRESH_OUTPUT: StaticSchema = ( + 18, + n0, + _SDRO, + {_sSI: _cSDRRo, _smit: None}, + (_RIe,), + ((lambda: schemas.REFRESH_ID, 0),), +) + +START_DASHBOARD_REFRESH: StaticOperationSchema = ( + 23, + n0, + _SDR, + 0, + START_DASHBOARD_REFRESH_INPUT, + START_DASHBOARD_REFRESH_OUTPUT, + ( + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +START_EVENT_DATA_STORE_INGESTION_INPUT: StaticSchema = ( + 18, + n0, + _SEDSII, + {_sSI: _cSEDSIR, _smi: None}, + (_EDS,), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 1),), +) + +START_EVENT_DATA_STORE_INGESTION_OUTPUT: StaticSchema = ( + 18, + n0, + _SEDSIO, + {_sSI: _cSEDSIRo, _smit: None}, +) + +START_EVENT_DATA_STORE_INGESTION: StaticOperationSchema = ( + 23, + n0, + _SEDSI, + 0, + START_EVENT_DATA_STORE_INGESTION_INPUT, + START_EVENT_DATA_STORE_INGESTION_OUTPUT, + ( + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +INVALID_IMPORT_SOURCE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IISEn, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidImportSource", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +START_IMPORT_INPUT: StaticSchema = ( + 18, + n0, + _SII, + {_sSI: _cSIR, _smi: None}, + (_Des, _ISm, _SET, _EET, _II), + ( + (lambda: schemas.IMPORT_DESTINATIONS, 0), + (lambda: schemas.IMPORT_SOURCE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.UUID, 0), + ), +) + +START_IMPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _SIO, + {_sSI: _cSIRo, _smit: None}, + (_II, _Des, _ISm, _SET, _EET, _ISmpo, _CT, _UT), + ( + (lambda: schemas.UUID, 0), + (lambda: schemas.IMPORT_DESTINATIONS, 0), + (lambda: schemas.IMPORT_SOURCE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.IMPORT_STATUS, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + ), +) + +START_IMPORT: StaticOperationSchema = ( + 23, + n0, + _SIt, + 0, + START_IMPORT_INPUT, + START_IMPORT_OUTPUT, + ( + lambda: schemas.ACCOUNT_HAS_ONGOING_IMPORT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.IMPORT_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, + INVALID_IMPORT_SOURCE_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +START_LOGGING_INPUT: StaticSchema = ( + 18, + n0, + _SLI, + {_sSI: _cSLR, _smi: None}, + (_N,), + ((lambda: schemas.STRING, 1),), +) + +START_LOGGING_OUTPUT: StaticSchema = (18, n0, _SLO, {_sSI: _cSLRo, _smit: None}) + +START_LOGGING: StaticOperationSchema = ( + 23, + n0, + _SL, + 0, + START_LOGGING_INPUT, + START_LOGGING_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_HOME_REGION_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +MAX_CONCURRENT_QUERIES_EXCEPTION: StaticSchema = ( + 18, + n0, + _MCQE, + { + _s: _c, + _sE: 429, + _aQE: MappingProxyType( + {"code": "MaxConcurrentQueries", "httpResponseCode": 429} + ), + }, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +START_QUERY_INPUT: StaticSchema = ( + 18, + n0, + _SQI, + {_sSI: _cSQR, _smi: None}, + (_QSu, _DSU, _QA, _QPu, _EDSOAI), + ( + (lambda: schemas.QUERY_STATEMENT, 0), + (lambda: schemas.DELIVERY_S3_URI, 0), + (lambda: schemas.QUERY_ALIAS, 0), + (lambda: schemas.QUERY_PARAMETERS, 0), + (lambda: schemas.ACCOUNT_ID, 0), + ), +) + +START_QUERY_OUTPUT: StaticSchema = ( + 18, + n0, + _SQO, + {_sSI: _cSQRo, _smit: None}, + (_QI, _EDSOAI), + ((lambda: schemas.UUID, 0), (lambda: schemas.ACCOUNT_ID, 0)), +) + +START_QUERY: StaticOperationSchema = ( + 23, + n0, + _SQ, + 0, + START_QUERY_INPUT, + START_QUERY_OUTPUT, + ( + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: schemas.INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_QUERY_STATEMENT_EXCEPTION, + lambda: schemas.INVALID_S3_BUCKET_NAME_EXCEPTION, + lambda: schemas.INVALID_S3_PREFIX_EXCEPTION, + MAX_CONCURRENT_QUERIES_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.S3_BUCKET_DOES_NOT_EXIST_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +STOP_EVENT_DATA_STORE_INGESTION_INPUT: StaticSchema = ( + 18, + n0, + _SEDSIIt, + {_sSI: _cSEDSIRom, _smi: None}, + (_EDS,), + ((lambda: schemas.EVENT_DATA_STORE_ARN, 1),), +) + +STOP_EVENT_DATA_STORE_INGESTION_OUTPUT: StaticSchema = ( + 18, + n0, + _SEDSIOt, + {_sSI: _cSEDSIRoma, _smit: None}, +) + +STOP_EVENT_DATA_STORE_INGESTION: StaticOperationSchema = ( + 23, + n0, + _SEDSIt, + 0, + STOP_EVENT_DATA_STORE_INGESTION_INPUT, + STOP_EVENT_DATA_STORE_INGESTION_OUTPUT, + ( + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_STATUS_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +STOP_IMPORT_INPUT: StaticSchema = ( + 18, + n0, + _SIIt, + {_sSI: _cSIRom, _smi: None}, + (_II,), + ((lambda: schemas.UUID, 1),), +) + +STOP_IMPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _SIOt, + {_sSI: _cSIRoma, _smit: None}, + (_II, _ISm, _Des, _ISmpo, _CT, _UT, _SET, _EET, _ISmp), + ( + (lambda: schemas.UUID, 0), + (lambda: schemas.IMPORT_SOURCE, 0), + (lambda: schemas.IMPORT_DESTINATIONS, 0), + (lambda: schemas.IMPORT_STATUS, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.IMPORT_STATISTICS, 0), + ), +) + +STOP_IMPORT: StaticOperationSchema = ( + 23, + n0, + _SIto, + 0, + STOP_IMPORT_INPUT, + STOP_IMPORT_OUTPUT, + ( + lambda: schemas.IMPORT_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +STOP_LOGGING_INPUT: StaticSchema = ( + 18, + n0, + _SLIt, + {_sSI: _cSLRom, _smi: None}, + (_N,), + ((lambda: schemas.STRING, 1),), +) + +STOP_LOGGING_OUTPUT: StaticSchema = (18, n0, _SLOt, {_sSI: _cSLRoma, _smit: None}) + +STOP_LOGGING: StaticOperationSchema = ( + 23, + n0, + _SLt, + 0, + STOP_LOGGING_INPUT, + STOP_LOGGING_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INVALID_HOME_REGION_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +UPDATE_CHANNEL_INPUT: StaticSchema = ( + 18, + n0, + _UCI, + {_sSI: _cUCR, _smi: None}, + (_C, _Des, _N), + ( + (lambda: schemas.CHANNEL_ARN, 1), + (lambda: schemas.DESTINATIONS, 0), + (lambda: schemas.CHANNEL_NAME, 0), + ), +) + +UPDATE_CHANNEL_OUTPUT: StaticSchema = ( + 18, + n0, + _UCO, + {_sSI: _cUCRo, _smit: None}, + (_CA, _N, _So, _Des), + ( + (lambda: schemas.CHANNEL_ARN, 0), + (lambda: schemas.CHANNEL_NAME, 0), + (lambda: schemas.SOURCE, 0), + (lambda: schemas.DESTINATIONS, 0), + ), +) + +UPDATE_CHANNEL: StaticOperationSchema = ( + 23, + n0, + _UC, + 0, + UPDATE_CHANNEL_INPUT, + UPDATE_CHANNEL_OUTPUT, + ( + lambda: schemas.CHANNEL_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.CHANNEL_ARN_INVALID_EXCEPTION, + lambda: schemas.CHANNEL_NOT_FOUND_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INVALID_EVENT_DATA_STORE_CATEGORY_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +UPDATE_DASHBOARD_INPUT: StaticSchema = ( + 18, + n0, + _UDI, + {_sSI: _cUDR, _smi: None}, + (_DI, _W, _RS, _TPE), + ( + (lambda: schemas.DASHBOARD_ARN, 1), + (lambda: schemas.REQUEST_WIDGET_LIST, 0), + (lambda: schemas.REFRESH_SCHEDULE, 0), + (lambda: schemas.TERMINATION_PROTECTION_ENABLED, 0), + ), +) + +UPDATE_DASHBOARD_OUTPUT: StaticSchema = ( + 18, + n0, + _UDO, + {_sSI: _cUDRo, _smit: None}, + (_DA, _N, _Ty, _W, _RS, _TPE, _CT, _UT), + ( + (lambda: schemas.DASHBOARD_ARN, 0), + (lambda: schemas.DASHBOARD_NAME, 0), + (lambda: schemas.DASHBOARD_TYPE, 0), + (lambda: schemas.WIDGET_LIST, 0), + (lambda: schemas.REFRESH_SCHEDULE, 0), + (lambda: schemas.TERMINATION_PROTECTION_ENABLED, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + ), +) + +UPDATE_DASHBOARD: StaticOperationSchema = ( + 23, + n0, + _UD, + 0, + UPDATE_DASHBOARD_INPUT, + UPDATE_DASHBOARD_OUTPUT, + ( + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: schemas.INVALID_QUERY_STATEMENT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +UPDATE_EVENT_DATA_STORE_INPUT: StaticSchema = ( + 18, + n0, + _UEDSI, + {_sSI: _cUEDSR, _smi: None}, + (_EDS, _N, _AESd, _MRE, _OE, _RP, _TPE, _KKI, _BM), + ( + (lambda: schemas.EVENT_DATA_STORE_ARN, 1), + (lambda: schemas.EVENT_DATA_STORE_NAME, 0), + (lambda: schemas.ADVANCED_EVENT_SELECTORS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.RETENTION_PERIOD, 0), + (lambda: schemas.TERMINATION_PROTECTION_ENABLED, 0), + (lambda: schemas.EVENT_DATA_STORE_KMS_KEY_ID, 0), + (lambda: schemas.BILLING_MODE, 0), + ), +) + +UPDATE_EVENT_DATA_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _UEDSO, + {_sSI: _cUEDSRo, _smit: None}, + (_EDSA, _N, _St, _AESd, _MRE, _OE, _RP, _TPE, _CT, _UT, _KKI, _BM, _FSe, _FRA), + ( + (lambda: schemas.EVENT_DATA_STORE_ARN, 0), + (lambda: schemas.EVENT_DATA_STORE_NAME, 0), + (lambda: schemas.EVENT_DATA_STORE_STATUS, 0), + (lambda: schemas.ADVANCED_EVENT_SELECTORS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.RETENTION_PERIOD, 0), + (lambda: schemas.TERMINATION_PROTECTION_ENABLED, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.EVENT_DATA_STORE_KMS_KEY_ID, 0), + (lambda: schemas.BILLING_MODE, 0), + (lambda: schemas.FEDERATION_STATUS, 0), + (lambda: schemas.FEDERATION_ROLE_ARN, 0), + ), +) + +UPDATE_EVENT_DATA_STORE: StaticOperationSchema = ( + 23, + n0, + _UEDS, + 0, + UPDATE_EVENT_DATA_STORE_INPUT, + UPDATE_EVENT_DATA_STORE_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_ARN_INVALID_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_HAS_ONGOING_IMPORT_EXCEPTION, + lambda: schemas.EVENT_DATA_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INACTIVE_EVENT_DATA_STORE_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: schemas.INVALID_EVENT_SELECTORS_EXCEPTION, + lambda: schemas.INVALID_INSIGHT_SELECTORS_EXCEPTION, + lambda: schemas.INVALID_KMS_KEY_ID_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.KMS_EXCEPTION, + lambda: schemas.KMS_KEY_NOT_FOUND_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: schemas.ORGANIZATIONS_NOT_IN_USE_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +UPDATE_TRAIL_INPUT: StaticSchema = ( + 18, + n0, + _UTI, + {_sSI: _cUTR, _smi: None}, + (_N, _SBN, _SKP, _STN, _IGSE, _IMRT, _ELFV, _CWLLGA, _CWLRA, _KKI, _IOT, _RL), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +UPDATE_TRAIL_OUTPUT: StaticSchema = ( + 18, + n0, + _UTO, + {_sSI: _cUTRo, _smit: None}, + ( + _N, + _SBN, + _SKP, + _STN, + _STARN, + _IGSE, + _IMRT, + _TARN, + _LFVE, + _CWLLGA, + _CWLRA, + _KKI, + _IOT, + _RL, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +UPDATE_TRAIL: StaticOperationSchema = ( + 23, + n0, + _UTp, + 0, + UPDATE_TRAIL_INPUT, + UPDATE_TRAIL_OUTPUT, + ( + lambda: schemas.CLOUD_TRAIL_ACCESS_NOT_ENABLED_EXCEPTION, + lambda: schemas.CLOUD_TRAIL_ARN_INVALID_EXCEPTION, + lambda: schemas.CLOUD_TRAIL_INVALID_CLIENT_TOKEN_ID_EXCEPTION, + lambda: schemas.CLOUD_WATCH_LOGS_DELIVERY_UNAVAILABLE_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INSUFFICIENT_DEPENDENCY_SERVICE_ACCESS_PERMISSION_EXCEPTION, + lambda: schemas.INSUFFICIENT_ENCRYPTION_POLICY_EXCEPTION, + lambda: schemas.INSUFFICIENT_S3_BUCKET_POLICY_EXCEPTION, + lambda: schemas.INSUFFICIENT_SNS_TOPIC_POLICY_EXCEPTION, + lambda: schemas.INVALID_CLOUD_WATCH_LOGS_LOG_GROUP_ARN_EXCEPTION, + lambda: schemas.INVALID_CLOUD_WATCH_LOGS_ROLE_ARN_EXCEPTION, + lambda: schemas.INVALID_EVENT_SELECTORS_EXCEPTION, + lambda: schemas.INVALID_HOME_REGION_EXCEPTION, + lambda: schemas.INVALID_KMS_KEY_ID_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_COMBINATION_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_S3_BUCKET_NAME_EXCEPTION, + lambda: schemas.INVALID_S3_PREFIX_EXCEPTION, + lambda: schemas.INVALID_SNS_TOPIC_NAME_EXCEPTION, + lambda: schemas.INVALID_TRAIL_NAME_EXCEPTION, + lambda: schemas.KMS_EXCEPTION, + lambda: schemas.KMS_KEY_DISABLED_EXCEPTION, + lambda: schemas.KMS_KEY_NOT_FOUND_EXCEPTION, + lambda: schemas.NO_MANAGEMENT_ACCOUNT_SLR_EXISTS_EXCEPTION, + lambda: schemas.NOT_ORGANIZATION_MASTER_ACCOUNT_EXCEPTION, + lambda: schemas.OPERATION_NOT_PERMITTED_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: schemas.ORGANIZATIONS_NOT_IN_USE_EXCEPTION, + lambda: schemas.S3_BUCKET_DOES_NOT_EXIST_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRAIL_NOT_FOUND_EXCEPTION, + lambda: schemas.TRAIL_NOT_PROVIDED_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +CLOUD_TRAIL_20131101: StaticSchema = ( + 21, + n0, + _C_, + { + _a: MappingProxyType({"name": "cloudtrail"}), + _a_: None, + _aw: MappingProxyType( + { + "sdkId": "CloudTrail", + "arnNamespace": "cloudtrail", + "cloudFormationName": "CloudTrail", + "cloudTrailEventSource": "cloudtrail.amazonaws.com", + "endpointPrefix": "cloudtrail", + } + ), + _sN: MappingProxyType( + {"uri": "http://cloudtrail.amazonaws.com/doc/2013-11-01/"} + ), + }, +) diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/aio/client.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/aio/client.py index 91892eb7b..3eb6377da 100644 --- a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/aio/client.py +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/aio/config.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/aio/config.py index c3173030a..f551d329d 100644 --- a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/aio/config.py +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson11ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/client.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/client.py index 811b8efc9..de21e143c 100644 --- a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/client.py +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/config.py b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/config.py index 5eb7e90d6..c12478aa0 100644 --- a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/config.py +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson11ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/models.pyi b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/models.pyi index dd2688edc..1f5514048 100644 --- a/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/models.pyi +++ b/clients/aws-sdk-cloudtrail/src/aws_sdk_cloudtrail/models.pyi @@ -1,16 +1,282 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum from typing import Self from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AccessDeniedException as AccessDeniedException, + AccountHasOngoingImportException as AccountHasOngoingImportException, + AccountNotFoundException as AccountNotFoundException, + AccountNotRegisteredException as AccountNotRegisteredException, + AccountRegisteredException as AccountRegisteredException, + AddTagsInput as AddTagsInput, + AddTagsOutput as AddTagsOutput, + AdvancedEventSelector as AdvancedEventSelector, + AdvancedFieldSelector as AdvancedFieldSelector, + AggregationConfiguration as AggregationConfiguration, + BillingMode as BillingMode, + CancelQueryInput as CancelQueryInput, + CancelQueryOutput as CancelQueryOutput, + CannotDelegateManagementAccountException as CannotDelegateManagementAccountException, + Channel as Channel, + ChannelAlreadyExistsException as ChannelAlreadyExistsException, + ChannelARNInvalidException as ChannelARNInvalidException, + ChannelExistsForEDSException as ChannelExistsForEDSException, + ChannelMaxLimitExceededException as ChannelMaxLimitExceededException, + ChannelNotFoundException as ChannelNotFoundException, + CloudTrailAccessNotEnabledException as CloudTrailAccessNotEnabledException, + CloudTrailARNInvalidException as CloudTrailARNInvalidException, + CloudTrailInvalidClientTokenIdException as CloudTrailInvalidClientTokenIdException, + CloudWatchLogsDeliveryUnavailableException as CloudWatchLogsDeliveryUnavailableException, + ConcurrentModificationException as ConcurrentModificationException, + ConflictException as ConflictException, + ContextKeySelector as ContextKeySelector, + CreateChannelInput as CreateChannelInput, + CreateChannelOutput as CreateChannelOutput, + CreateDashboardInput as CreateDashboardInput, + CreateDashboardOutput as CreateDashboardOutput, + CreateEventDataStoreInput as CreateEventDataStoreInput, + CreateEventDataStoreOutput as CreateEventDataStoreOutput, + CreateTrailInput as CreateTrailInput, + CreateTrailOutput as CreateTrailOutput, + DashboardDetail as DashboardDetail, + DashboardStatus as DashboardStatus, + DashboardType as DashboardType, + DataResource as DataResource, + DelegatedAdminAccountLimitExceededException as DelegatedAdminAccountLimitExceededException, + DeleteChannelInput as DeleteChannelInput, + DeleteChannelOutput as DeleteChannelOutput, + DeleteDashboardInput as DeleteDashboardInput, + DeleteDashboardOutput as DeleteDashboardOutput, + DeleteEventDataStoreInput as DeleteEventDataStoreInput, + DeleteEventDataStoreOutput as DeleteEventDataStoreOutput, + DeleteResourcePolicyInput as DeleteResourcePolicyInput, + DeleteResourcePolicyOutput as DeleteResourcePolicyOutput, + DeleteTrailInput as DeleteTrailInput, + DeleteTrailOutput as DeleteTrailOutput, + DeliveryStatus as DeliveryStatus, + DeregisterOrganizationDelegatedAdminInput as DeregisterOrganizationDelegatedAdminInput, + DeregisterOrganizationDelegatedAdminOutput as DeregisterOrganizationDelegatedAdminOutput, + DescribeQueryInput as DescribeQueryInput, + DescribeQueryOutput as DescribeQueryOutput, + DescribeTrailsInput as DescribeTrailsInput, + DescribeTrailsOutput as DescribeTrailsOutput, + Destination as Destination, + DestinationType as DestinationType, + DisableFederationInput as DisableFederationInput, + DisableFederationOutput as DisableFederationOutput, + EnableFederationInput as EnableFederationInput, + EnableFederationOutput as EnableFederationOutput, + Event as Event, + EventCategory as EventCategory, + EventCategoryAggregation as EventCategoryAggregation, + EventDataStore as EventDataStore, + EventDataStoreAlreadyExistsException as EventDataStoreAlreadyExistsException, + EventDataStoreARNInvalidException as EventDataStoreARNInvalidException, + EventDataStoreFederationEnabledException as EventDataStoreFederationEnabledException, + EventDataStoreHasOngoingImportException as EventDataStoreHasOngoingImportException, + EventDataStoreMaxLimitExceededException as EventDataStoreMaxLimitExceededException, + EventDataStoreNotFoundException as EventDataStoreNotFoundException, + EventDataStoreStatus as EventDataStoreStatus, + EventDataStoreTerminationProtectedException as EventDataStoreTerminationProtectedException, + EventSelector as EventSelector, + FederationStatus as FederationStatus, + GenerateQueryInput as GenerateQueryInput, + GenerateQueryOutput as GenerateQueryOutput, + GenerateResponseException as GenerateResponseException, + GetChannelInput as GetChannelInput, + GetChannelOutput as GetChannelOutput, + GetDashboardInput as GetDashboardInput, + GetDashboardOutput as GetDashboardOutput, + GetEventConfigurationInput as GetEventConfigurationInput, + GetEventConfigurationOutput as GetEventConfigurationOutput, + GetEventDataStoreInput as GetEventDataStoreInput, + GetEventDataStoreOutput as GetEventDataStoreOutput, + GetEventSelectorsInput as GetEventSelectorsInput, + GetEventSelectorsOutput as GetEventSelectorsOutput, + GetImportInput as GetImportInput, + GetImportOutput as GetImportOutput, + GetInsightSelectorsInput as GetInsightSelectorsInput, + GetInsightSelectorsOutput as GetInsightSelectorsOutput, + GetQueryResultsInput as GetQueryResultsInput, + GetQueryResultsOutput as GetQueryResultsOutput, + GetResourcePolicyInput as GetResourcePolicyInput, + GetResourcePolicyOutput as GetResourcePolicyOutput, + GetTrailInput as GetTrailInput, + GetTrailOutput as GetTrailOutput, + GetTrailStatusInput as GetTrailStatusInput, + GetTrailStatusOutput as GetTrailStatusOutput, + ImportFailureListItem as ImportFailureListItem, + ImportFailureStatus as ImportFailureStatus, + ImportNotFoundException as ImportNotFoundException, + ImportsListItem as ImportsListItem, + ImportSource as ImportSource, + ImportStatistics as ImportStatistics, + ImportStatus as ImportStatus, + InactiveEventDataStoreException as InactiveEventDataStoreException, + InactiveQueryException as InactiveQueryException, + IngestionStatus as IngestionStatus, + InsightNotEnabledException as InsightNotEnabledException, + InsightSelector as InsightSelector, + InsightsMetricDataType as InsightsMetricDataType, + InsightType as InsightType, + InsufficientDependencyServiceAccessPermissionException as InsufficientDependencyServiceAccessPermissionException, + InsufficientEncryptionPolicyException as InsufficientEncryptionPolicyException, + InsufficientIAMAccessPermissionException as InsufficientIAMAccessPermissionException, + InsufficientS3BucketPolicyException as InsufficientS3BucketPolicyException, + InsufficientSnsTopicPolicyException as InsufficientSnsTopicPolicyException, + InvalidCloudWatchLogsLogGroupArnException as InvalidCloudWatchLogsLogGroupArnException, + InvalidCloudWatchLogsRoleArnException as InvalidCloudWatchLogsRoleArnException, + InvalidDateRangeException as InvalidDateRangeException, + InvalidEventCategoryException as InvalidEventCategoryException, + InvalidEventDataStoreCategoryException as InvalidEventDataStoreCategoryException, + InvalidEventDataStoreStatusException as InvalidEventDataStoreStatusException, + InvalidEventSelectorsException as InvalidEventSelectorsException, + InvalidHomeRegionException as InvalidHomeRegionException, + InvalidImportSourceException as InvalidImportSourceException, + InvalidInsightSelectorsException as InvalidInsightSelectorsException, + InvalidKmsKeyIdException as InvalidKmsKeyIdException, + InvalidLookupAttributesException as InvalidLookupAttributesException, + InvalidMaxResultsException as InvalidMaxResultsException, + InvalidNextTokenException as InvalidNextTokenException, + InvalidParameterCombinationException as InvalidParameterCombinationException, + InvalidParameterException as InvalidParameterException, + InvalidQueryStatementException as InvalidQueryStatementException, + InvalidQueryStatusException as InvalidQueryStatusException, + InvalidS3BucketNameException as InvalidS3BucketNameException, + InvalidS3PrefixException as InvalidS3PrefixException, + InvalidSnsTopicNameException as InvalidSnsTopicNameException, + InvalidSourceException as InvalidSourceException, + InvalidTagParameterException as InvalidTagParameterException, + InvalidTimeRangeException as InvalidTimeRangeException, + InvalidTokenException as InvalidTokenException, + InvalidTrailNameException as InvalidTrailNameException, + KmsException as KmsException, + KmsKeyDisabledException as KmsKeyDisabledException, + KmsKeyNotFoundException as KmsKeyNotFoundException, + ListChannelsInput as ListChannelsInput, + ListChannelsOutput as ListChannelsOutput, + ListDashboardsInput as ListDashboardsInput, + ListDashboardsOutput as ListDashboardsOutput, + ListEventDataStoresInput as ListEventDataStoresInput, + ListEventDataStoresOutput as ListEventDataStoresOutput, + ListImportFailuresInput as ListImportFailuresInput, + ListImportFailuresOutput as ListImportFailuresOutput, + ListImportsInput as ListImportsInput, + ListImportsOutput as ListImportsOutput, + ListInsightsDataDimensionKey as ListInsightsDataDimensionKey, + ListInsightsDataInput as ListInsightsDataInput, + ListInsightsDataOutput as ListInsightsDataOutput, + ListInsightsDataType as ListInsightsDataType, + ListInsightsMetricDataInput as ListInsightsMetricDataInput, + ListInsightsMetricDataOutput as ListInsightsMetricDataOutput, + ListPublicKeysInput as ListPublicKeysInput, + ListPublicKeysOutput as ListPublicKeysOutput, + ListQueriesInput as ListQueriesInput, + ListQueriesOutput as ListQueriesOutput, + ListTagsInput as ListTagsInput, + ListTagsOutput as ListTagsOutput, + ListTrailsInput as ListTrailsInput, + ListTrailsOutput as ListTrailsOutput, + LookupAttribute as LookupAttribute, + LookupAttributeKey as LookupAttributeKey, + LookupEventsInput as LookupEventsInput, + LookupEventsOutput as LookupEventsOutput, + MaxConcurrentQueriesException as MaxConcurrentQueriesException, + MaxEventSize as MaxEventSize, + MaximumNumberOfTrailsExceededException as MaximumNumberOfTrailsExceededException, + NoManagementAccountSLRExistsException as NoManagementAccountSLRExistsException, + NotOrganizationManagementAccountException as NotOrganizationManagementAccountException, + NotOrganizationMasterAccountException as NotOrganizationMasterAccountException, + OperationNotPermittedException as OperationNotPermittedException, + OrganizationNotInAllFeaturesModeException as OrganizationNotInAllFeaturesModeException, + OrganizationsNotInUseException as OrganizationsNotInUseException, + PartitionKey as PartitionKey, + PublicKey as PublicKey, + PutEventConfigurationInput as PutEventConfigurationInput, + PutEventConfigurationOutput as PutEventConfigurationOutput, + PutEventSelectorsInput as PutEventSelectorsInput, + PutEventSelectorsOutput as PutEventSelectorsOutput, + PutInsightSelectorsInput as PutInsightSelectorsInput, + PutInsightSelectorsOutput as PutInsightSelectorsOutput, + PutResourcePolicyInput as PutResourcePolicyInput, + PutResourcePolicyOutput as PutResourcePolicyOutput, + Query as Query, + QueryIdNotFoundException as QueryIdNotFoundException, + QueryStatistics as QueryStatistics, + QueryStatisticsForDescribeQuery as QueryStatisticsForDescribeQuery, + QueryStatus as QueryStatus, + ReadWriteType as ReadWriteType, + RefreshSchedule as RefreshSchedule, + RefreshScheduleFrequency as RefreshScheduleFrequency, + RefreshScheduleFrequencyUnit as RefreshScheduleFrequencyUnit, + RefreshScheduleStatus as RefreshScheduleStatus, + RegisterOrganizationDelegatedAdminInput as RegisterOrganizationDelegatedAdminInput, + RegisterOrganizationDelegatedAdminOutput as RegisterOrganizationDelegatedAdminOutput, + RemoveTagsInput as RemoveTagsInput, + RemoveTagsOutput as RemoveTagsOutput, + RequestWidget as RequestWidget, + Resource as Resource, + ResourceARNNotValidException as ResourceARNNotValidException, + ResourceNotFoundException as ResourceNotFoundException, + ResourcePolicyNotFoundException as ResourcePolicyNotFoundException, + ResourcePolicyNotValidException as ResourcePolicyNotValidException, + ResourceTag as ResourceTag, + ResourceTypeNotSupportedException as ResourceTypeNotSupportedException, + RestoreEventDataStoreInput as RestoreEventDataStoreInput, + RestoreEventDataStoreOutput as RestoreEventDataStoreOutput, + S3BucketDoesNotExistException as S3BucketDoesNotExistException, + S3ImportSource as S3ImportSource, + SearchSampleQueriesInput as SearchSampleQueriesInput, + SearchSampleQueriesOutput as SearchSampleQueriesOutput, + SearchSampleQueriesSearchResult as SearchSampleQueriesSearchResult, + ServiceQuotaExceededException as ServiceQuotaExceededException, + SourceConfig as SourceConfig, + SourceEventCategory as SourceEventCategory, + StartDashboardRefreshInput as StartDashboardRefreshInput, + StartDashboardRefreshOutput as StartDashboardRefreshOutput, + StartEventDataStoreIngestionInput as StartEventDataStoreIngestionInput, + StartEventDataStoreIngestionOutput as StartEventDataStoreIngestionOutput, + StartImportInput as StartImportInput, + StartImportOutput as StartImportOutput, + StartLoggingInput as StartLoggingInput, + StartLoggingOutput as StartLoggingOutput, + StartQueryInput as StartQueryInput, + StartQueryOutput as StartQueryOutput, + StopEventDataStoreIngestionInput as StopEventDataStoreIngestionInput, + StopEventDataStoreIngestionOutput as StopEventDataStoreIngestionOutput, + StopImportInput as StopImportInput, + StopImportOutput as StopImportOutput, + StopLoggingInput as StopLoggingInput, + StopLoggingOutput as StopLoggingOutput, + Tag as Tag, + TagsLimitExceededException as TagsLimitExceededException, + Template as Template, + ThrottlingException as ThrottlingException, + Trail as Trail, +) + +from ._private.models_1 import ( + TrailAlreadyExistsException as TrailAlreadyExistsException, + TrailInfo as TrailInfo, + TrailNotFoundException as TrailNotFoundException, + TrailNotProvidedException as TrailNotProvidedException, + Type as Type, + UnsupportedOperationException as UnsupportedOperationException, + UpdateChannelInput as UpdateChannelInput, + UpdateChannelOutput as UpdateChannelOutput, + UpdateDashboardInput as UpdateDashboardInput, + UpdateDashboardOutput as UpdateDashboardOutput, + UpdateEventDataStoreInput as UpdateEventDataStoreInput, + UpdateEventDataStoreOutput as UpdateEventDataStoreOutput, + UpdateTrailInput as UpdateTrailInput, + UpdateTrailOutput as UpdateTrailOutput, + Widget as Widget, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -26,5859 +292,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AccessDeniedException(ServiceError, _SerdeShape): - """You do not have sufficient access to perform this action.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AccountHasOngoingImportException(ServiceError, _SerdeShape): - """ - This exception is thrown when you start a new import and a previous - import is still in progress. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AccountNotFoundException(ServiceError, _SerdeShape): - """ - This exception is thrown when the specified account is not found or not - part of an organization. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AccountNotRegisteredException(ServiceError, _SerdeShape): - """ - This exception is thrown when the specified account is not registered as - the CloudTrail delegated administrator. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AccountRegisteredException(ServiceError, _SerdeShape): - """ - This exception is thrown when the account is already registered as the - CloudTrail delegated administrator. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AddTagsInput(_SerdeShape): - """ - Specifies the tags to add to a trail, event data store, dashboard, or - channel. - """ - - resource_id: str | None = ... - """ - Specifies the ARN of the trail, event data store, dashboard, or channel - to which one or more tags will be added. - - The format of a trail ARN is: - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - - The format of an event data store ARN is: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - The format of a dashboard ARN is: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - The format of a channel ARN is: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - tags_list: list[Tag] | None = ... - """Contains a list of tags, up to a limit of 50""" - -@dataclass(kw_only=True) -class AddTagsOutput(_SerdeShape): - """Returns the objects or data if successful. Otherwise, returns an error.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AdvancedEventSelector(_SerdeShape): - """ - Advanced event selectors let you create fine-grained selectors for - CloudTrail management, data, and network activity events. They help you - control costs by logging only those events that are important to you. - For more information about configuring advanced event selectors, see the - [Logging data - events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html), - [Logging network activity - events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html), - and [Logging management - events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html) - topics in the *CloudTrail User Guide*. - - You cannot apply both event selectors and advanced event selectors to a - trail. - - For information about configurable advanced event selector fields, see - [AdvancedEventSelector](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html) - in the *CloudTrail API Reference*. - """ - - name: str | None = ... - """ - An optional, descriptive name for an advanced event selector, such as - \"Log data events for only two S3 buckets\". - """ - field_selectors: list[AdvancedFieldSelector] - """Contains all selector statements in an advanced event selector.""" - -@dataclass(kw_only=True) -class AdvancedFieldSelector(_SerdeShape): - """A single selector statement in an advanced event selector.""" - - field: str - """ - A field in a CloudTrail event record on which to filter events to be - logged. For event data stores for CloudTrail Insights events, Config - configuration items, Audit Manager evidence, or events outside of Amazon - Web Services, the field is used only for selecting events as filtering - is not supported. - - For more information, see - [AdvancedFieldSelector](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedFieldSelector.html) - in the *CloudTrail API Reference*. - - Note: - Selectors don't support the use of wildcards like `*` . To match - multiple values with a single condition, you may use `StartsWith`, - `EndsWith`, `NotStartsWith`, or `NotEndsWith` to explicitly match the - beginning or end of the event field. - """ - equals: list[str] | None = ... - """ - An operator that includes events that match the exact value of the event - record field specified as the value of `Field`. This is the only valid - operator that you can use with the `readOnly`, `eventCategory`, and - `resources.type` fields. - """ - starts_with: list[str] | None = ... - """ - An operator that includes events that match the first few characters of - the event record field specified as the value of `Field`. - """ - ends_with: list[str] | None = ... - """ - An operator that includes events that match the last few characters of - the event record field specified as the value of `Field`. - """ - not_equals: list[str] | None = ... - """ - An operator that excludes events that match the exact value of the event - record field specified as the value of `Field`. - """ - not_starts_with: list[str] | None = ... - """ - An operator that excludes events that match the first few characters of - the event record field specified as the value of `Field`. - """ - not_ends_with: list[str] | None = ... - """ - An operator that excludes events that match the last few characters of - the event record field specified as the value of `Field`. - """ - -@dataclass(kw_only=True) -class AggregationConfiguration(_SerdeShape): - """An object that contains configuration settings for aggregating events.""" - - templates: list[str] - """ - A list of aggregation templates that can be used to configure event - aggregation. - """ - event_category: str - """Specifies the event category for which aggregation should be performed.""" - -class BillingMode(UnknownEnumMixin, StrEnum): - EXTENDABLE_RETENTION_PRICING = "EXTENDABLE_RETENTION_PRICING" - FIXED_RETENTION_PRICING = "FIXED_RETENTION_PRICING" - -@dataclass(kw_only=True) -class CancelQueryInput(_SerdeShape): - """Dataclass for CancelQueryInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or the ID suffix of the ARN) of an event data store on which - the specified query is running. - """ - query_id: str | None = ... - """ - The ID of the query that you want to cancel. The `QueryId` comes from - the response of a `StartQuery` operation. - """ - event_data_store_owner_account_id: str | None = ... - """The account ID of the event data store owner.""" - -@dataclass(kw_only=True) -class CancelQueryOutput(_SerdeShape): - """Dataclass for CancelQueryOutput structure.""" - - query_id: str - """The ID of the canceled query.""" - query_status: str - """ - Shows the status of a query after a `CancelQuery` request. Typically, - the values shown are either `RUNNING` or `CANCELLED`. - """ - event_data_store_owner_account_id: str | None = ... - """The account ID of the event data store owner.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CannotDelegateManagementAccountException(ServiceError, _SerdeShape): - """ - This exception is thrown when the management account of an organization - is registered as the CloudTrail delegated administrator. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Channel(_SerdeShape): - """Contains information about a returned CloudTrail channel.""" - - channel_arn: str | None = ... - """The Amazon Resource Name (ARN) of a channel.""" - name: str | None = ... - """ - The name of the CloudTrail channel. For service-linked channels, the - name is `aws-service-channel/service-name/custom-suffix` where - `service-name` represents the name of the Amazon Web Services service - that created the channel and `custom-suffix` represents the suffix - created by the Amazon Web Services service. - """ - -@dataclass(kw_only=True) -class ChannelAlreadyExistsException(ServiceError, _SerdeShape): - """This exception is thrown when the provided channel already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ChannelARNInvalidException(ServiceError, _SerdeShape): - """ - This exception is thrown when the specified value of `ChannelARN` is not - valid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ChannelExistsForEDSException(ServiceError, _SerdeShape): - """ - This exception is thrown when the specified event data store cannot yet - be deleted because it is in use by a channel. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ChannelMaxLimitExceededException(ServiceError, _SerdeShape): - """ - This exception is thrown when the maximum number of channels limit is - exceeded. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ChannelNotFoundException(ServiceError, _SerdeShape): - """ - This exception is thrown when CloudTrail cannot find the specified - channel. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CloudTrailAccessNotEnabledException(ServiceError, _SerdeShape): - """ - This exception is thrown when trusted access has not been enabled - between CloudTrail and Organizations. For more information, see [How to - enable or disable trusted - access](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_how-to-enable-disable-trusted-access) - in the *Organizations User Guide* and [Prepare For Creating a Trail For - Your - Organization](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) - in the *CloudTrail User Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CloudTrailARNInvalidException(ServiceError, _SerdeShape): - """ - This exception is thrown when an operation is called with an ARN that is - not valid. - - The following is the format of a trail ARN: - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - - The following is the format of an event data store ARN: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - The following is the format of a dashboard ARN: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - The following is the format of a channel ARN: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CloudTrailInvalidClientTokenIdException(ServiceError, _SerdeShape): - """ - This exception is thrown when a call results in the - `InvalidClientTokenId` error code. This can occur when you are creating - or updating a trail to send notifications to an Amazon SNS topic that is - in a suspended Amazon Web Services account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CloudWatchLogsDeliveryUnavailableException(ServiceError, _SerdeShape): - """Cannot set a CloudWatch Logs delivery for this Region.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ConcurrentModificationException(ServiceError, _SerdeShape): - """ - You are trying to update a resource when another request is in progress. - Allow sufficient wait time for the previous request to complete, then - retry your request. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """ - This exception is thrown when the specified resource is not ready for an - operation. This can occur when you try to run an operation on a resource - before CloudTrail has time to fully load the resource, or because - another operation is modifying the resource. If this exception occurs, - wait a few minutes, and then try the operation again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ContextKeySelector(_SerdeShape): - """ - An object that contains information types to be included in CloudTrail - enriched events. - """ - - type: str - """ - Specifies the type of the event record field in ContextKeySelector. - Valid values include RequestContext, TagContext. - """ - equals: list[str] - """ - A list of keys defined by Type to be included in CloudTrail enriched - events. - """ - -@dataclass(kw_only=True) -class CreateChannelInput(_SerdeShape): - """Dataclass for CreateChannelInput structure.""" - - name: str | None = ... - """The name of the channel.""" - source: str | None = ... - """ - The name of the partner or external event source. You cannot change this - name after you create the channel. A maximum of one channel is allowed - per source. - - A source can be either `Custom` for all valid non-Amazon Web Services - events, or the name of a partner event source. For information about the - source names for available partners, see [Additional information about - integration - partners](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store-integration.html#cloudtrail-lake-partner-information) - in the CloudTrail User Guide. - """ - destinations: list[Destination] | None = ... - """ - One or more event data stores to which events arriving through a channel - will be logged. - """ - tags: list[Tag] | None = ... - """A list of tags.""" - -@dataclass(kw_only=True) -class CreateChannelOutput(_SerdeShape): - """Dataclass for CreateChannelOutput structure.""" - - channel_arn: str | None = ... - """The Amazon Resource Name (ARN) of the new channel.""" - name: str | None = ... - """The name of the new channel.""" - source: str | None = ... - """The partner or external event source name.""" - destinations: list[Destination] | None = ... - """The event data stores that log the events arriving through the channel.""" - tags: list[Tag] | None = ... - """A list of tags.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDashboardInput(_SerdeShape): - """Dataclass for CreateDashboardInput structure.""" - - name: str | None = ... - """ - The name of the dashboard. The name must be unique to your account. - - To create the Highlights dashboard, the name must be - `AWSCloudTrail-Highlights`. - """ - refresh_schedule: RefreshSchedule | None = ... - """ - The refresh schedule configuration for the dashboard. - - To create the Highlights dashboard, you must set a refresh schedule and - set the `Status` to `ENABLED`. The `Unit` for the refresh schedule must - be `HOURS` and the `Value` must be `6`. - """ - tags_list: list[Tag] | None = ... - """A list of tags.""" - termination_protection_enabled: bool | None = ... - """ - Specifies whether termination protection is enabled for the dashboard. - If termination protection is enabled, you cannot delete the dashboard - until termination protection is disabled. - """ - widgets: list[RequestWidget] | None = ... - """ - An array of widgets for a custom dashboard. A custom dashboard can have - a maximum of ten widgets. - - You do not need to specify widgets for the Highlights dashboard. - """ - -@dataclass(kw_only=True) -class CreateDashboardOutput(_SerdeShape): - """Dataclass for CreateDashboardOutput structure.""" - - dashboard_arn: str | None = ... - """The ARN for the dashboard.""" - name: str | None = ... - """The name of the dashboard.""" - type: str | None = ... - """The dashboard type.""" - widgets: list[Widget] | None = ... - """An array of widgets for the dashboard.""" - tags_list: list[Tag] | None = ... - """A list of tags.""" - refresh_schedule: RefreshSchedule | None = ... - """The refresh schedule for the dashboard, if configured.""" - termination_protection_enabled: bool | None = ... - """Indicates whether termination protection is enabled for the dashboard.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateEventDataStoreInput(_SerdeShape): - """Dataclass for CreateEventDataStoreInput structure.""" - - name: str | None = ... - """The name of the event data store.""" - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """ - The advanced event selectors to use to select the events for the data - store. You can configure up to five advanced event selectors for each - event data store. - - For more information about how to use advanced event selectors to log - CloudTrail events, see [Log events by using advanced event - selectors](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced) - in the CloudTrail User Guide. - - For more information about how to use advanced event selectors to - include Config configuration items in your event data store, see [Create - an event data store for Config configuration - items](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-eds-cli.html#lake-cli-create-eds-config) - in the CloudTrail User Guide. - - For more information about how to use advanced event selectors to - include events outside of Amazon Web Services events in your event data - store, see [Create an integration to log events from outside Amazon Web - Services](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-integrations-cli.html#lake-cli-create-integration) - in the CloudTrail User Guide. - """ - multi_region_enabled: bool | None = ... - """ - Specifies whether the event data store includes events from all Regions, - or only from the Region in which the event data store is created. - """ - organization_enabled: bool | None = ... - """ - Specifies whether an event data store collects events logged for an - organization in Organizations. - """ - retention_period: int | None = ... - """ - The retention period of the event data store, in days. If `BillingMode` - is set to `EXTENDABLE_RETENTION_PRICING`, you can set a retention period - of up to 3653 days, the equivalent of 10 years. If `BillingMode` is set - to `FIXED_RETENTION_PRICING`, you can set a retention period of up to - 2557 days, the equivalent of seven years. - - CloudTrail Lake determines whether to retain an event by checking if the - `eventTime` of the event is within the specified retention period. For - example, if you set a retention period of 90 days, CloudTrail will - remove events when the `eventTime` is older than 90 days. - - Note: - If you plan to copy trail events to this event data store, we recommend - that you consider both the age of the events that you want to copy as - well as how long you want to keep the copied events in your event data - store. For example, if you copy trail events that are 5 years old and - specify a retention period of 7 years, the event data store will retain - those events for two years. - """ - termination_protection_enabled: bool | None = ... - """ - Specifies whether termination protection is enabled for the event data - store. If termination protection is enabled, you cannot delete the event - data store until termination protection is disabled. - """ - tags_list: list[Tag] | None = ... - """A list of tags.""" - kms_key_id: str | None = ... - """ - Specifies the KMS key ID to use to encrypt the events delivered by - CloudTrail. The value can be an alias name prefixed by `alias/`, a fully - specified ARN to an alias, a fully specified ARN to a key, or a globally - unique identifier. - - Warning: - Disabling or deleting the KMS key, or removing CloudTrail permissions on - the key, prevents CloudTrail from logging events to the event data - store, and prevents users from querying the data in the event data store - that was encrypted with the key. After you associate an event data store - with a KMS key, the KMS key cannot be removed or changed. Before you - disable or delete a KMS key that you are using with an event data store, - delete or back up your event data store. - - CloudTrail also supports KMS multi-Region keys. For more information - about multi-Region keys, see [Using multi-Region - keys](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) - in the *Key Management Service Developer Guide*. - - Examples: - - - `alias/MyAliasName` - - - `arn:aws:kms:us-east-2:123456789012:alias/MyAliasName` - - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - - - `12345678-1234-1234-1234-123456789012` - """ - start_ingestion: bool | None = ... - """ - Specifies whether the event data store should start ingesting live - events. The default is true. - """ - billing_mode: str | None = ... - """ - The billing mode for the event data store determines the cost for - ingesting events and the default and maximum retention period for the - event data store. - - The following are the possible values: - - - `EXTENDABLE_RETENTION_PRICING` - This billing mode is generally - recommended if you want a flexible retention period of up to 3653 days - (about 10 years). The default retention period for this billing mode - is 366 days. - - - `FIXED_RETENTION_PRICING` - This billing mode is recommended if you - expect to ingest more than 25 TB of event data per month and need a - retention period of up to 2557 days (about 7 years). The default - retention period for this billing mode is 2557 days. - - The default value is `EXTENDABLE_RETENTION_PRICING`. - - For more information about CloudTrail pricing, see [CloudTrail - Pricing](http://aws.amazon.com/cloudtrail/pricing/) and [Managing - CloudTrail Lake - costs](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html). - """ - -@dataclass(kw_only=True) -class CreateEventDataStoreOutput(_SerdeShape): - """Dataclass for CreateEventDataStoreOutput structure.""" - - event_data_store_arn: str | None = ... - """The ARN of the event data store.""" - name: str | None = ... - """The name of the event data store.""" - status: str | None = ... - """The status of event data store creation.""" - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """ - The advanced event selectors that were used to select the events for the - data store. - """ - multi_region_enabled: bool | None = ... - """ - Indicates whether the event data store collects events from all Regions, - or only from the Region in which it was created. - """ - organization_enabled: bool | None = ... - """ - Indicates whether an event data store is collecting logged events for an - organization in Organizations. - """ - retention_period: int | None = ... - """The retention period of an event data store, in days.""" - termination_protection_enabled: bool | None = ... - """ - Indicates whether termination protection is enabled for the event data - store. - """ - tags_list: list[Tag] | None = ... - """A list of tags.""" - created_timestamp: datetime | None = ... - """The timestamp that shows when the event data store was created.""" - updated_timestamp: datetime | None = ... - """ - The timestamp that shows when an event data store was updated, if - applicable. `UpdatedTimestamp` is always either the same or newer than - the time shown in `CreatedTimestamp`. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID that encrypts the events delivered by - CloudTrail. The value is a fully specified ARN to a KMS key in the - following format. - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - """ - billing_mode: str | None = ... - """The billing mode for the event data store.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTrailInput(_SerdeShape): - """Specifies the settings for each trail.""" - - name: str | None = ... - """ - Specifies the name of the trail. The name must meet the following - requirements: - - - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), - underscores (_), or dashes (-) - - - Start with a letter or number, and end with a letter or number - - - Be between 3 and 128 characters - - - Have no adjacent periods, underscores or dashes. Names like - `my-_namespace` and `my--namespace` are not valid. - - - Not be in IP address format (for example, 192.168.5.4) - """ - s3_bucket_name: str | None = ... - """ - Specifies the name of the Amazon S3 bucket designated for publishing log - files. For information about bucket naming rules, see [Bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) - in the *Amazon Simple Storage Service User Guide*. - """ - s3_key_prefix: str | None = ... - """ - Specifies the Amazon S3 key prefix that comes after the name of the - bucket you have designated for log file delivery. For more information, - see [Finding Your CloudTrail Log - Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). - The maximum length is 200 characters. - """ - sns_topic_name: str | None = ... - """ - Specifies the name or ARN of the Amazon SNS topic defined for - notification of log file delivery. The maximum length is 256 characters. - """ - include_global_service_events: bool | None = ... - """ - Specifies whether the trail is publishing events from global services - such as IAM to the log files. Setting this value to `true` only delivers - global service events to the trail if the trail is multi-Region or if - the trail's home Region is the partition leader Region (for example, - us-east-1). - """ - is_multi_region_trail: bool | None = ... - """ - Specifies whether the trail is created in the current Region or in all - Regions. The default is false, which creates a trail only in the Region - where you are signed in. As a best practice, consider creating trails - that log events in all Regions. - """ - enable_log_file_validation: bool | None = ... - """ - Specifies whether log file integrity validation is enabled. The default - is false. - - Note: - When you disable log file integrity validation, the chain of digest - files is broken after one hour. CloudTrail does not create digest files - for log files that were delivered during a period in which log file - integrity validation was disabled. For example, if you enable log file - integrity validation at noon on January 1, disable it at noon on January - 2, and re-enable it at noon on January 10, digest files will not be - created for the log files delivered from noon on January 2 to noon on - January 10. The same applies whenever you stop CloudTrail logging or - delete a trail. - """ - cloud_watch_logs_log_group_arn: str | None = ... - """ - Specifies a log group name using an Amazon Resource Name (ARN), a unique - identifier that represents the log group to which CloudTrail logs will - be delivered. You must use a log group that exists in your account. - - Not required unless you specify `CloudWatchLogsRoleArn`. - """ - cloud_watch_logs_role_arn: str | None = ... - """ - Specifies the role for the CloudWatch Logs endpoint to assume to write - to a user's log group. You must use a role that exists in your account. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID to use to encrypt the logs and digest files - delivered by CloudTrail. The value can be an alias name prefixed by - `alias/`, a fully specified ARN to an alias, a fully specified ARN to a - key, or a globally unique identifier. - - CloudTrail also supports KMS multi-Region keys. For more information - about multi-Region keys, see [Using multi-Region - keys](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) - in the *Key Management Service Developer Guide*. - - Examples: - - - `alias/MyAliasName` - - - `arn:aws:kms:us-east-2:123456789012:alias/MyAliasName` - - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - - - `12345678-1234-1234-1234-123456789012` - """ - is_organization_trail: bool | None = ... - """ - Specifies whether the trail is created for all accounts in an - organization in Organizations, or only for the current Amazon Web - Services account. The default is false, and cannot be true unless the - call is made on behalf of an Amazon Web Services account that is the - management account or delegated administrator account for an - organization in Organizations. - """ - tags_list: list[Tag] | None = ... - """A list of tags.""" - recursive_logging: bool | None = ... - """ - Specifies whether recursive logging is enabled for the trail. If you set - `RecursiveLogging` to `false`, CloudTrail suppresses events generated by - CloudTrail when it delivers log files to your trail's destinations, - including Amazon S3 and CloudWatch Logs. The default value is `true`. - """ - -@dataclass(kw_only=True) -class CreateTrailOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - name: str | None = ... - """Specifies the name of the trail.""" - s3_bucket_name: str | None = ... - """ - Specifies the name of the Amazon S3 bucket designated for publishing log - files. - """ - s3_key_prefix: str | None = ... - """ - Specifies the Amazon S3 key prefix that comes after the name of the - bucket you have designated for log file delivery. For more information, - see [Finding Your CloudTrail Log - Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). - """ - sns_topic_name: str | None = ... - """This field is no longer in use. Use `SnsTopicARN`.""" - sns_topic_arn: str | None = ... - """ - Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send - notifications when log files are delivered. The format of a topic ARN - is: - - `arn:aws:sns:us-east-2:123456789012:MyTopic` - """ - include_global_service_events: bool | None = ... - """ - Specifies whether the trail is publishing events from global services - such as IAM to the log files. Setting this value to `true` only delivers - global service events to the trail if the trail is multi-Region or if - the trail's home Region is the partition leader Region (for example, - us-east-1). - """ - is_multi_region_trail: bool | None = ... - """Specifies whether the trail exists in one Region or in all Regions.""" - trail_arn: str | None = ... - """ - Specifies the ARN of the trail that was created. The format of a trail - ARN is: - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - log_file_validation_enabled: bool | None = ... - """Specifies whether log file integrity validation is enabled.""" - cloud_watch_logs_log_group_arn: str | None = ... - """ - Specifies the Amazon Resource Name (ARN) of the log group to which - CloudTrail logs will be delivered. - """ - cloud_watch_logs_role_arn: str | None = ... - """ - Specifies the role for the CloudWatch Logs endpoint to assume to write - to a user's log group. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID that encrypts the events delivered by - CloudTrail. The value is a fully specified ARN to a KMS key in the - following format. - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - """ - is_organization_trail: bool | None = ... - """Specifies whether the trail is an organization trail.""" - recursive_logging: bool | None = ... - """Specifies whether recursive logging is enabled for the trail.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DashboardDetail(_SerdeShape): - """Provides information about a CloudTrail Lake dashboard.""" - - dashboard_arn: str | None = ... - """The ARN for the dashboard.""" - type: str | None = ... - """The type of dashboard.""" - -class DashboardStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - CREATED = "CREATED" - UPDATING = "UPDATING" - UPDATED = "UPDATED" - DELETING = "DELETING" - -class DashboardType(UnknownEnumMixin, StrEnum): - MANAGED = "MANAGED" - CUSTOM = "CUSTOM" - -@dataclass(kw_only=True) -class DataResource(_SerdeShape): - """ - You can configure the `DataResource` in an `EventSelector` to log data - events for the following three resource types: - - - `AWS::DynamoDB::Table` - - - `AWS::Lambda::Function` - - - `AWS::S3::Object` - - To log data events for all other resource types including objects stored - in [directory - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html), - you must use - [AdvancedEventSelectors](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html). - You must also use `AdvancedEventSelectors` if you want to filter on the - `eventName` field. - - Configure the `DataResource` to specify the resource type and resource - ARNs for which you want to log data events. - - Note: - The total number of allowed data resources is 250. This number can be - distributed between 1 and 5 event selectors, but the total cannot exceed - 250 across all selectors for the trail. - - The following example demonstrates how logging works when you configure - logging of all data events for a general purpose bucket named - `amzn-s3-demo-bucket1`. In this example, the CloudTrail user specified - an empty prefix, and the option to log both `Read` and `Write` data - events. - - 1. A user uploads an image file to `amzn-s3-demo-bucket1`. - - 2. The `PutObject` API operation is an Amazon S3 object-level API. It - is recorded as a data event in CloudTrail. Because the CloudTrail - user specified an S3 bucket with an empty prefix, events that occur - on any object in that bucket are logged. The trail processes and - logs the event. - - 3. A user uploads an object to an Amazon S3 bucket named - `arn:aws:s3:::amzn-s3-demo-bucket1`. - - 4. The `PutObject` API operation occurred for an object in an S3 bucket - that the CloudTrail user didn't specify for the trail. The trail - doesn't log the event. - - The following example demonstrates how logging works when you configure - logging of Lambda data events for a Lambda function named - *MyLambdaFunction*, but not for all Lambda functions. - - 1. A user runs a script that includes a call to the *MyLambdaFunction* - function and the *MyOtherLambdaFunction* function. - - 2. The `Invoke` API operation on *MyLambdaFunction* is an Lambda API. - It is recorded as a data event in CloudTrail. Because the CloudTrail - user specified logging data events for *MyLambdaFunction*, any - invocations of that function are logged. The trail processes and - logs the event. - - 3. The `Invoke` API operation on *MyOtherLambdaFunction* is an Lambda - API. Because the CloudTrail user did not specify logging data events - for all Lambda functions, the `Invoke` operation for - *MyOtherLambdaFunction* does not match the function specified for - the trail. The trail doesn't log the event. - """ - - type: str | None = ... - """ - The resource type in which you want to log data events. You can specify - the following *basic* event selector resource types: - - - `AWS::DynamoDB::Table` - - - `AWS::Lambda::Function` - - - `AWS::S3::Object` - - Additional resource types are available through *advanced* event - selectors. For more information, see - [AdvancedEventSelector](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html). - """ - values: list[str] | None = ... - """ - An array of Amazon Resource Name (ARN) strings or partial ARN strings - for the specified resource type. - - - To log data events for all objects in all S3 buckets in your Amazon - Web Services account, specify the prefix as `arn:aws:s3`. - - Note: - This also enables logging of data event activity performed by any user - or role in your Amazon Web Services account, even if that activity is - performed on a bucket that belongs to another Amazon Web Services - account. - - - To log data events for all objects in an S3 bucket, specify the bucket - and an empty object prefix such as - `arn:aws:s3:::amzn-s3-demo-bucket1/`. The trail logs data events for - all objects in this S3 bucket. - - - To log data events for specific objects, specify the S3 bucket and - object prefix such as - `arn:aws:s3:::amzn-s3-demo-bucket1/example-images`. The trail logs - data events for objects in this S3 bucket that match the prefix. - - - To log data events for all Lambda functions in your Amazon Web - Services account, specify the prefix as `arn:aws:lambda`. - - Note: - This also enables logging of `Invoke` activity performed by any user - or role in your Amazon Web Services account, even if that activity is - performed on a function that belongs to another Amazon Web Services - account. - - - To log data events for a specific Lambda function, specify the - function ARN. - - Note: - Lambda function ARNs are exact. For example, if you specify a function - ARN *arn:aws:lambda:us-west-2:111111111111:function:helloworld*, data - events will only be logged for - *arn:aws:lambda:us-west-2:111111111111:function:helloworld*. They will - not be logged for - *arn:aws:lambda:us-west-2:111111111111:function:helloworld2*. - - - To log data events for all DynamoDB tables in your Amazon Web Services - account, specify the prefix as `arn:aws:dynamodb`. - """ - -@dataclass(kw_only=True) -class DelegatedAdminAccountLimitExceededException(ServiceError, _SerdeShape): - """ - This exception is thrown when the maximum number of CloudTrail delegated - administrators is reached. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteChannelInput(_SerdeShape): - """Dataclass for DeleteChannelInput structure.""" - - channel: str | None = ... - """The ARN or the `UUID` value of the channel that you want to delete.""" - -@dataclass(kw_only=True) -class DeleteChannelOutput(_SerdeShape): - """Dataclass for DeleteChannelOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDashboardInput(_SerdeShape): - """Dataclass for DeleteDashboardInput structure.""" - - dashboard_id: str | None = ... - """The name or ARN for the dashboard.""" - -@dataclass(kw_only=True) -class DeleteDashboardOutput(_SerdeShape): - """Dataclass for DeleteDashboardOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteEventDataStoreInput(_SerdeShape): - """Dataclass for DeleteEventDataStoreInput structure.""" - - event_data_store: str | None = ... - """The ARN (or the ID suffix of the ARN) of the event data store to delete.""" - -@dataclass(kw_only=True) -class DeleteEventDataStoreOutput(_SerdeShape): - """Dataclass for DeleteEventDataStoreOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyInput(_SerdeShape): - """Dataclass for DeleteResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudTrail event data store, - dashboard, or channel you're deleting the resource-based policy from. - - Example event data store ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - Example dashboard ARN format: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - Example channel ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyOutput(_SerdeShape): - """Dataclass for DeleteResourcePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTrailInput(_SerdeShape): - """The request that specifies the name of a trail to delete.""" - - name: str | None = ... - """ - Specifies the name or the CloudTrail ARN of the trail to be deleted. The - following is the format of a trail ARN. - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - -@dataclass(kw_only=True) -class DeleteTrailOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DeliveryStatus(UnknownEnumMixin, StrEnum): - SUCCESS = "SUCCESS" - FAILED = "FAILED" - FAILED_SIGNING_FILE = "FAILED_SIGNING_FILE" - PENDING = "PENDING" - RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND" - ACCESS_DENIED = "ACCESS_DENIED" - ACCESS_DENIED_SIGNING_FILE = "ACCESS_DENIED_SIGNING_FILE" - CANCELLED = "CANCELLED" - UNKNOWN = "UNKNOWN" - -@dataclass(kw_only=True) -class DeregisterOrganizationDelegatedAdminInput(_SerdeShape): - """ - Removes CloudTrail delegated administrator permissions from a specified - member account in an organization that is currently designated as a - delegated administrator. - """ - - delegated_admin_account_id: str | None = ... - """ - A delegated administrator account ID. This is a member account in an - organization that is currently designated as a delegated administrator. - """ - -@dataclass(kw_only=True) -class DeregisterOrganizationDelegatedAdminOutput(_SerdeShape): - """ - Returns the following response if successful. Otherwise, returns an - error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeQueryInput(_SerdeShape): - """Dataclass for DescribeQueryInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or the ID suffix of the ARN) of an event data store on which - the specified query was run. - """ - query_id: str | None = ... - """The query ID.""" - query_alias: str | None = ... - """The alias that identifies a query template.""" - refresh_id: str | None = ... - """The ID of the dashboard refresh.""" - event_data_store_owner_account_id: str | None = ... - """The account ID of the event data store owner.""" - -@dataclass(kw_only=True) -class DescribeQueryOutput(_SerdeShape): - """Dataclass for DescribeQueryOutput structure.""" - - query_id: str | None = ... - """The ID of the query.""" - query_string: str | None = ... - """The SQL code of a query.""" - query_status: str | None = ... - """ - The status of a query. Values for `QueryStatus` include `QUEUED`, - `RUNNING`, `FINISHED`, `FAILED`, `TIMED_OUT`, or `CANCELLED` - """ - query_statistics: QueryStatisticsForDescribeQuery | None = ... - """ - Metadata about a query, including the number of events that were - matched, the total number of events scanned, the query run time in - milliseconds, and the query's creation time. - """ - error_message: str | None = ... - """The error message returned if a query failed.""" - delivery_s3_uri: str | None = ... - """ - The URI for the S3 bucket where CloudTrail delivered query results, if - applicable. - """ - delivery_status: str | None = ... - """The delivery status.""" - prompt: str | None = ... - """ - The prompt used for a generated query. For information about generated - queries, see [Create CloudTrail Lake queries from natural language - prompts](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-query-generator.html) - in the *CloudTrail* user guide. - """ - event_data_store_owner_account_id: str | None = ... - """The account ID of the event data store owner.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTrailsInput(_SerdeShape): - """Returns information about the trail.""" - - trail_name_list: list[str] | None = ... - """ - Specifies a list of trail names, trail ARNs, or both, of the trails to - describe. The format of a trail ARN is: - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - - If an empty list is specified, information for the trail in the current - Region is returned. - - - If an empty list is specified and `IncludeShadowTrails` is false, then - information for all trails in the current Region is returned. - - - If an empty list is specified and IncludeShadowTrails is null or true, - then information for all trails in the current Region and any - associated shadow trails in other Regions is returned. - - Note: - If one or more trail names are specified, information is returned only - if the names match the names of trails belonging only to the current - Region and current account. To return information about a trail in - another Region, you must specify its trail ARN. - """ - include_shadow_trails: bool | None = ... - """ - Specifies whether to include shadow trails in the response. A shadow - trail is the replication in a Region of a trail that was created in a - different Region, or in the case of an organization trail, the - replication of an organization trail in member accounts. If you do not - include shadow trails, organization trails in a member account and - Region replication trails will not be returned. The default is true. - """ - -@dataclass(kw_only=True) -class DescribeTrailsOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - trail_list: list[Trail] | None = ... - """ - The list of trail objects. Trail objects with string values are only - returned if values for the objects exist in a trail's configuration. - For example, `SNSTopicName` and `SNSTopicARN` are only returned in - results if a trail is configured to send SNS notifications. Similarly, - `KMSKeyId` only appears in results if a trail's log files are encrypted - with KMS customer managed keys. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Destination(_SerdeShape): - """Contains information about the destination receiving events.""" - - type: str - """ - The type of destination for events arriving from a channel. For channels - used for a CloudTrail Lake integration, the value is `EVENT_DATA_STORE`. - For service-linked channels, the value is `AWS_SERVICE`. - """ - location: str - """ - For channels used for a CloudTrail Lake integration, the location is the - ARN of an event data store that receives events from a channel. For - service-linked channels, the location is the name of the Amazon Web - Services service. - """ - -class DestinationType(UnknownEnumMixin, StrEnum): - EVENT_DATA_STORE = "EVENT_DATA_STORE" - AWS_SERVICE = "AWS_SERVICE" - -@dataclass(kw_only=True) -class DisableFederationInput(_SerdeShape): - """Dataclass for DisableFederationInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or ID suffix of the ARN) of the event data store for which you - want to disable Lake query federation. - """ - -@dataclass(kw_only=True) -class DisableFederationOutput(_SerdeShape): - """Dataclass for DisableFederationOutput structure.""" - - event_data_store_arn: str | None = ... - """ - The ARN of the event data store for which you disabled Lake query - federation. - """ - federation_status: str | None = ... - """The federation status.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableFederationInput(_SerdeShape): - """Dataclass for EnableFederationInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or ID suffix of the ARN) of the event data store for which you - want to enable Lake query federation. - """ - federation_role_arn: str | None = ... - """ - The ARN of the federation role to use for the event data store. Amazon - Web Services services like Lake Formation use this federation role to - access data for the federated event data store. The federation role must - exist in your account and provide the [required minimum - permissions](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html#query-federation-permissions-role). - """ - -@dataclass(kw_only=True) -class EnableFederationOutput(_SerdeShape): - """Dataclass for EnableFederationOutput structure.""" - - event_data_store_arn: str | None = ... - """ - The ARN of the event data store for which you enabled Lake query - federation. - """ - federation_status: str | None = ... - """The federation status.""" - federation_role_arn: str | None = ... - """The ARN of the federation role.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Event(_SerdeShape): - """ - Contains information about an event that was returned by a lookup - request. The result includes a representation of a CloudTrail event. - """ - - event_id: str | None = ... - """The CloudTrail ID of the event returned.""" - event_name: str | None = ... - """The name of the event returned.""" - read_only: str | None = ... - """Information about whether the event is a write event or a read event.""" - access_key_id: str | None = ... - """ - The Amazon Web Services access key ID that was used to sign the request. - If the request was made with temporary security credentials, this is the - access key ID of the temporary credentials. - """ - event_time: datetime | None = ... - """The date and time of the event returned.""" - event_source: str | None = ... - """The Amazon Web Services service to which the request was made.""" - username: str | None = ... - """ - A user name or role name of the requester that called the API in the - event returned. - """ - resources: list[Resource] | None = ... - """A list of resources referenced by the event returned.""" - cloud_trail_event: str | None = ... - """A JSON string that contains a representation of the event returned.""" - -class EventCategory(UnknownEnumMixin, StrEnum): - """ - Specifies the event category for which aggregation configuration is - enabled. Valid value is Data. - """ - - INSIGHT = "insight" - -class EventCategoryAggregation(UnknownEnumMixin, StrEnum): - DATA = "Data" - -@dataclass(kw_only=True) -class EventDataStore(_SerdeShape): - """ - A storage lake of event data against which you can run complex SQL-based - queries. An event data store can include events that you have logged on - your account. To select events for an event data store, use [advanced - event - selectors](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-concepts.html#adv-event-selectors). - """ - - event_data_store_arn: str | None = ... - """The ARN of the event data store.""" - name: str | None = ... - """The name of the event data store.""" - termination_protection_enabled: bool | None = ... - """Indicates whether the event data store is protected from termination.""" - status: str | None = ... - """The status of an event data store.""" - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """ - The advanced event selectors that were used to select events for the - data store. - """ - multi_region_enabled: bool | None = ... - """ - Indicates whether the event data store includes events from all Regions, - or only from the Region in which it was created. - """ - organization_enabled: bool | None = ... - """ - Indicates that an event data store is collecting logged events for an - organization. - """ - retention_period: int | None = ... - """The retention period, in days.""" - created_timestamp: datetime | None = ... - """The timestamp of the event data store's creation.""" - updated_timestamp: datetime | None = ... - """ - The timestamp showing when an event data store was updated, if - applicable. `UpdatedTimestamp` is always either the same or newer than - the time shown in `CreatedTimestamp`. - """ - -@dataclass(kw_only=True) -class EventDataStoreAlreadyExistsException(ServiceError, _SerdeShape): - """An event data store with that name already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EventDataStoreARNInvalidException(ServiceError, _SerdeShape): - """ - The specified event data store ARN is not valid or does not map to an - event data store in your account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EventDataStoreFederationEnabledException(ServiceError, _SerdeShape): - """ - You cannot delete the event data store because Lake query federation is - enabled. To delete the event data store, run the `DisableFederation` - operation to disable Lake query federation on the event data store. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EventDataStoreHasOngoingImportException(ServiceError, _SerdeShape): - """ - This exception is thrown when you try to update or delete an event data - store that currently has an import in progress. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EventDataStoreMaxLimitExceededException(ServiceError, _SerdeShape): - """Your account has used the maximum number of event data stores.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EventDataStoreNotFoundException(ServiceError, _SerdeShape): - """The specified event data store was not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class EventDataStoreStatus(UnknownEnumMixin, StrEnum): - CREATED = "CREATED" - ENABLED = "ENABLED" - PENDING_DELETION = "PENDING_DELETION" - STARTING_INGESTION = "STARTING_INGESTION" - STOPPING_INGESTION = "STOPPING_INGESTION" - STOPPED_INGESTION = "STOPPED_INGESTION" - -@dataclass(kw_only=True) -class EventDataStoreTerminationProtectedException(ServiceError, _SerdeShape): - """ - The event data store cannot be deleted because termination protection is - enabled for it. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EventSelector(_SerdeShape): - """ - Use event selectors to further specify the management and data event - settings for your trail. By default, trails created without specific - event selectors will be configured to log all read and write management - events, and no data events. When an event occurs in your account, - CloudTrail evaluates the event selector for all trails. For each trail, - if the event matches any event selector, the trail processes and logs - the event. If the event doesn't match any event selector, the trail - doesn't log the event. - - You can configure up to five event selectors for a trail. - - You cannot apply both event selectors and advanced event selectors to a - trail. - """ - - read_write_type: str | None = ... - """ - Specify if you want your trail to log read-only events, write-only - events, or all. For example, the EC2 `GetConsoleOutput` is a read-only - API operation and `RunInstances` is a write-only API operation. - - By default, the value is `All`. - """ - include_management_events: bool | None = ... - """ - Specify if you want your event selector to include management events for - your trail. - - For more information, see [Management - Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html) - in the *CloudTrail User Guide*. - - By default, the value is `true`. - - The first copy of management events is free. You are charged for - additional copies of management events that you are logging on any - subsequent trail in the same Region. For more information about - CloudTrail pricing, see [CloudTrail - Pricing](http://aws.amazon.com/cloudtrail/pricing/). - """ - data_resources: list[DataResource] | None = ... - """ - CloudTrail supports data event logging for Amazon S3 objects in standard - S3 buckets, Lambda functions, and Amazon DynamoDB tables with basic - event selectors. You can specify up to 250 resources for an individual - event selector, but the total number of data resources cannot exceed 250 - across all event selectors in a trail. This limit does not apply if you - configure resource logging for all data events. - - For more information, see [Data - Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) - and [Limits in - CloudTrail](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html) - in the *CloudTrail User Guide*. - - Note: - To log data events for all other resource types including objects stored - in [directory - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html), - you must use - [AdvancedEventSelectors](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html). - You must also use `AdvancedEventSelectors` if you want to filter on the - `eventName` field. - """ - exclude_management_event_sources: list[str] | None = ... - """ - An optional list of service event sources from which you do not want - management events to be logged on your trail. In this release, the list - can be empty (disables the filter), or it can filter out Key Management - Service or Amazon RDS Data API events by containing `kms.amazonaws.com` - or `rdsdata.amazonaws.com`. By default, `ExcludeManagementEventSources` - is empty, and KMS and Amazon RDS Data API events are logged to your - trail. You can exclude management event sources only in Regions that - support the event source. - """ - -class FederationStatus(UnknownEnumMixin, StrEnum): - ENABLING = "ENABLING" - ENABLED = "ENABLED" - DISABLING = "DISABLING" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class GenerateQueryInput(_SerdeShape): - """Dataclass for GenerateQueryInput structure.""" - - event_data_stores: list[str] | None = ... - """ - The ARN (or ID suffix of the ARN) of the event data store that you want - to query. You can only specify one event data store. - """ - prompt: str | None = ... - """ - The prompt that you want to use to generate the query. The prompt must - be in English. For example prompts, see [Example - prompts](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-query-generator.html#lake-query-generator-examples) - in the *CloudTrail* user guide. - """ - -@dataclass(kw_only=True) -class GenerateQueryOutput(_SerdeShape): - """Dataclass for GenerateQueryOutput structure.""" - - query_statement: str | None = ... - """The SQL query statement generated from the prompt.""" - query_alias: str | None = ... - """ - An alias that identifies the prompt. When you run the `StartQuery` - operation, you can pass in either the `QueryAlias` or `QueryStatement` - parameter. - """ - event_data_store_owner_account_id: str | None = ... - """The account ID of the event data store owner.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GenerateResponseException(ServiceError, _SerdeShape): - """ - This exception is thrown when a valid query could not be generated for - the provided prompt. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetChannelInput(_SerdeShape): - """Dataclass for GetChannelInput structure.""" - - channel: str | None = ... - """The ARN or `UUID` of a channel.""" - -@dataclass(kw_only=True) -class GetChannelOutput(_SerdeShape): - """Dataclass for GetChannelOutput structure.""" - - channel_arn: str | None = ... - """The ARN of an channel returned by a `GetChannel` request.""" - name: str | None = ... - """ - The name of the CloudTrail channel. For service-linked channels, the - name is `aws-service-channel/service-name/custom-suffix` where - `service-name` represents the name of the Amazon Web Services service - that created the channel and `custom-suffix` represents the suffix - generated by the Amazon Web Services service. - """ - source: str | None = ... - """The source for the CloudTrail channel.""" - source_config: SourceConfig | None = ... - """ - Provides information about the advanced event selectors configured for - the channel, and whether the channel applies to all Regions or a single - Region. - """ - destinations: list[Destination] | None = ... - """ - The destinations for the channel. For channels created for integrations, - the destinations are the event data stores that log events arriving - through the channel. For service-linked channels, the destination is the - Amazon Web Services service that created the service-linked channel to - receive events. - """ - ingestion_status: IngestionStatus | None = ... - """ - A table showing information about the most recent successful and failed - attempts to ingest events. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDashboardInput(_SerdeShape): - """Dataclass for GetDashboardInput structure.""" - - dashboard_id: str | None = ... - """The name or ARN for the dashboard.""" - -@dataclass(kw_only=True) -class GetDashboardOutput(_SerdeShape): - """Dataclass for GetDashboardOutput structure.""" - - dashboard_arn: str | None = ... - """The ARN for the dashboard.""" - type: str | None = ... - """The type of dashboard.""" - status: str | None = ... - """The status of the dashboard.""" - widgets: list[Widget] | None = ... - """An array of widgets for the dashboard.""" - refresh_schedule: RefreshSchedule | None = ... - """The refresh schedule for the dashboard, if configured.""" - created_timestamp: datetime | None = ... - """The timestamp that shows when the dashboard was created.""" - updated_timestamp: datetime | None = ... - """The timestamp that shows when the dashboard was last updated.""" - last_refresh_id: str | None = ... - """The ID of the last dashboard refresh.""" - last_refresh_failure_reason: str | None = ... - """Provides information about failures for the last scheduled refresh.""" - termination_protection_enabled: bool | None = ... - """Indicates whether termination protection is enabled for the dashboard.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEventConfigurationInput(_SerdeShape): - """Dataclass for GetEventConfigurationInput structure.""" - - trail_name: str | None = ... - """ - The name of the trail for which you want to retrieve event configuration - settings. - """ - event_data_store: str | None = ... - """ - The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data - store for which you want to retrieve event configuration settings. - """ - -@dataclass(kw_only=True) -class GetEventConfigurationOutput(_SerdeShape): - """Dataclass for GetEventConfigurationOutput structure.""" - - trail_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the trail for which the event - configuration settings are returned. - """ - event_data_store_arn: str | None = ... - """ - The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data - store for which the event configuration settings are returned. - """ - max_event_size: str | None = ... - """ - The maximum allowed size for events stored in the specified event data - store. - """ - context_key_selectors: list[ContextKeySelector] | None = ... - """ - The list of context key selectors that are configured for the event data - store. - """ - aggregation_configurations: list[AggregationConfiguration] | None = ... - """ - The list of aggregation configurations that are configured for the - trail. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEventDataStoreInput(_SerdeShape): - """Dataclass for GetEventDataStoreInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or ID suffix of the ARN) of the event data store about which - you want information. - """ - -@dataclass(kw_only=True) -class GetEventDataStoreOutput(_SerdeShape): - """Dataclass for GetEventDataStoreOutput structure.""" - - event_data_store_arn: str | None = ... - """The event data store Amazon Resource Number (ARN).""" - name: str | None = ... - """The name of the event data store.""" - status: str | None = ... - """The status of an event data store.""" - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """The advanced event selectors used to select events for the data store.""" - multi_region_enabled: bool | None = ... - """ - Indicates whether the event data store includes events from all Regions, - or only from the Region in which it was created. - """ - organization_enabled: bool | None = ... - """ - Indicates whether an event data store is collecting logged events for an - organization in Organizations. - """ - retention_period: int | None = ... - """The retention period of the event data store, in days.""" - termination_protection_enabled: bool | None = ... - """Indicates that termination protection is enabled.""" - created_timestamp: datetime | None = ... - """The timestamp of the event data store's creation.""" - updated_timestamp: datetime | None = ... - """ - Shows the time that an event data store was updated, if applicable. - `UpdatedTimestamp` is always either the same or newer than the time - shown in `CreatedTimestamp`. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID that encrypts the events delivered by - CloudTrail. The value is a fully specified ARN to a KMS key in the - following format. - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - """ - billing_mode: str | None = ... - """The billing mode for the event data store.""" - federation_status: str | None = ... - """ - Indicates the [Lake query - federation](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html) - status. The status is `ENABLED` if Lake query federation is enabled, or - `DISABLED` if Lake query federation is disabled. You cannot delete an - event data store if the `FederationStatus` is `ENABLED`. - """ - federation_role_arn: str | None = ... - """ - If Lake query federation is enabled, provides the ARN of the federation - role used to access the resources for the federated event data store. - """ - partition_keys: list[PartitionKey] | None = ... - """ - The partition keys for the event data store. To improve query - performance and efficiency, CloudTrail Lake organizes event data into - partitions based on values derived from partition keys. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEventSelectorsInput(_SerdeShape): - """Dataclass for GetEventSelectorsInput structure.""" - - trail_name: str | None = ... - """ - Specifies the name of the trail or trail ARN. If you specify a trail - name, the string must meet the following requirements: - - - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), - underscores (_), or dashes (-) - - - Start with a letter or number, and end with a letter or number - - - Be between 3 and 128 characters - - - Have no adjacent periods, underscores or dashes. Names like - `my-_namespace` and `my--namespace` are not valid. - - - Not be in IP address format (for example, 192.168.5.4) - - If you specify a trail ARN, it must be in the format: - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - -@dataclass(kw_only=True) -class GetEventSelectorsOutput(_SerdeShape): - """Dataclass for GetEventSelectorsOutput structure.""" - - trail_arn: str | None = ... - """The specified trail ARN that has the event selectors.""" - event_selectors: list[EventSelector] | None = ... - """The event selectors that are configured for the trail.""" - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """The advanced event selectors that are configured for the trail.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetImportInput(_SerdeShape): - """Dataclass for GetImportInput structure.""" - - import_id: str | None = ... - """The ID for the import.""" - -@dataclass(kw_only=True) -class GetImportOutput(_SerdeShape): - """Dataclass for GetImportOutput structure.""" - - import_id: str | None = ... - """The ID of the import.""" - destinations: list[str] | None = ... - """The ARN of the destination event data store.""" - import_source: ImportSource | None = ... - """The source S3 bucket.""" - start_event_time: datetime | None = ... - """ - Used with `EndEventTime` to bound a `StartImport` request, and limit - imported trail events to only those events logged within a specified - time period. - """ - end_event_time: datetime | None = ... - """ - Used with `StartEventTime` to bound a `StartImport` request, and limit - imported trail events to only those events logged within a specified - time period. - """ - import_status: str | None = ... - """The status of the import.""" - created_timestamp: datetime | None = ... - """The timestamp of the import's creation.""" - updated_timestamp: datetime | None = ... - """The timestamp of when the import was updated.""" - import_statistics: ImportStatistics | None = ... - """ - Provides statistics for the import. CloudTrail does not update import - statistics in real-time. Returned values for parameters such as - `EventsCompleted` may be lower than the actual value, because CloudTrail - updates statistics incrementally over the course of the import. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInsightSelectorsInput(_SerdeShape): - """Dataclass for GetInsightSelectorsInput structure.""" - - trail_name: str | None = ... - """ - Specifies the name of the trail or trail ARN. If you specify a trail - name, the string must meet the following requirements: - - - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), - underscores (_), or dashes (-) - - - Start with a letter or number, and end with a letter or number - - - Be between 3 and 128 characters - - - Have no adjacent periods, underscores or dashes. Names like - `my-_namespace` and `my--namespace` are not valid. - - - Not be in IP address format (for example, 192.168.5.4) - - If you specify a trail ARN, it must be in the format: - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - - You cannot use this parameter with the `EventDataStore` parameter. - """ - event_data_store: str | None = ... - """ - Specifies the ARN (or ID suffix of the ARN) of the event data store for - which you want to get Insights selectors. - - You cannot use this parameter with the `TrailName` parameter. - """ - -@dataclass(kw_only=True) -class GetInsightSelectorsOutput(_SerdeShape): - """Dataclass for GetInsightSelectorsOutput structure.""" - - trail_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a trail for which you want to get - Insights selectors. - """ - insight_selectors: list[InsightSelector] | None = ... - """ - Contains the Insights types that are enabled on a trail or event data - store. It also specifies the event categories on which a particular - Insight type is enabled. `ApiCallRateInsight` and `ApiErrorRateInsight` - are valid Insight types.The EventCategory field can specify `Management` - or `Data` events or both. For event data store, you can log Insights for - management events only. - """ - event_data_store_arn: str | None = ... - """The ARN of the source event data store that enabled Insights events.""" - insights_destination: str | None = ... - """The ARN of the destination event data store that logs Insights events.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetQueryResultsInput(_SerdeShape): - """Dataclass for GetQueryResultsInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or ID suffix of the ARN) of the event data store against which - the query was run. - """ - query_id: str | None = ... - """The ID of the query for which you want to get results.""" - next_token: str | None = ... - """A token you can use to get the next page of query results.""" - max_query_results: int | None = ... - """The maximum number of query results to display on a single page.""" - event_data_store_owner_account_id: str | None = ... - """The account ID of the event data store owner.""" - -@dataclass(kw_only=True) -class GetQueryResultsOutput(_SerdeShape): - """Dataclass for GetQueryResultsOutput structure.""" - - query_status: str | None = ... - """ - The status of the query. Values include `QUEUED`, `RUNNING`, `FINISHED`, - `FAILED`, `TIMED_OUT`, or `CANCELLED`. - """ - query_statistics: QueryStatistics | None = ... - """Shows the count of query results.""" - query_result_rows: list[list[dict[str, str]]] | None = ... - """Contains the individual event results of the query.""" - next_token: str | None = ... - """A token you can use to get the next page of query results.""" - error_message: str | None = ... - """The error message returned if a query failed.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyInput(_SerdeShape): - """Dataclass for GetResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudTrail event data store, - dashboard, or channel attached to the resource-based policy. - - Example event data store ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - Example dashboard ARN format: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - Example channel ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - -@dataclass(kw_only=True) -class GetResourcePolicyOutput(_SerdeShape): - """Dataclass for GetResourcePolicyOutput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudTrail event data store, - dashboard, or channel attached to resource-based policy. - - Example event data store ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - Example dashboard ARN format: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - Example channel ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - resource_policy: str | None = ... - """ - A JSON-formatted string that contains the resource-based policy attached - to the CloudTrail event data store, dashboard, or channel. - """ - delegated_admin_resource_policy: str | None = ... - """ - The default resource-based policy that is automatically generated for - the delegated administrator of an Organizations organization. This - policy will be evaluated in tandem with any policy you submit for the - resource. For more information about this policy, see [Default resource - policy for delegated - administrators](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html#cloudtrail-lake-organizations-eds-rbp). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTrailInput(_SerdeShape): - """Dataclass for GetTrailInput structure.""" - - name: str | None = ... - """ - The name or the Amazon Resource Name (ARN) of the trail for which you - want to retrieve settings information. - """ - -@dataclass(kw_only=True) -class GetTrailOutput(_SerdeShape): - """Dataclass for GetTrailOutput structure.""" - - trail: Trail | None = ... - """The settings for a trail.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTrailStatusInput(_SerdeShape): - """The name of a trail about which you want the current status.""" - - name: str | None = ... - """ - Specifies the name or the CloudTrail ARN of the trail for which you are - requesting status. To get the status of a shadow trail (a replication of - the trail in another Region), you must specify its ARN. - - The following is the format of a trail ARN: - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - - Note: - If the trail is an organization trail and you are a member account in - the organization in Organizations, you must provide the full ARN of that - trail, and not just the name. - """ - -@dataclass(kw_only=True) -class GetTrailStatusOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - is_logging: bool | None = ... - """ - Whether the CloudTrail trail is currently logging Amazon Web Services - API calls. - """ - latest_delivery_error: str | None = ... - """ - Displays any Amazon S3 error that CloudTrail encountered when attempting - to deliver log files to the designated bucket. For more information, see - [Error - Responses](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html) - in the Amazon S3 API Reference. - - Note: - This error occurs only when there is a problem with the destination S3 - bucket, and does not occur for requests that time out. To resolve the - issue, fix the [bucket - policy](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create-s3-bucket-policy-for-cloudtrail.html) - so that CloudTrail can write to the bucket; or create a new bucket and - call `UpdateTrail` to specify the new bucket. - """ - latest_notification_error: str | None = ... - """ - Displays any Amazon SNS error that CloudTrail encountered when - attempting to send a notification. For more information about Amazon SNS - errors, see the [Amazon SNS Developer - Guide](https://docs.aws.amazon.com/sns/latest/dg/welcome.html). - """ - latest_delivery_time: datetime | None = ... - """ - Specifies the date and time that CloudTrail last delivered log files to - an account's Amazon S3 bucket. - """ - latest_notification_time: datetime | None = ... - """ - Specifies the date and time of the most recent Amazon SNS notification - that CloudTrail has written a new log file to an account's Amazon S3 - bucket. - """ - start_logging_time: datetime | None = ... - """ - Specifies the most recent date and time when CloudTrail started - recording API calls for an Amazon Web Services account. - """ - stop_logging_time: datetime | None = ... - """ - Specifies the most recent date and time when CloudTrail stopped - recording API calls for an Amazon Web Services account. - """ - latest_cloud_watch_logs_delivery_error: str | None = ... - """ - Displays any CloudWatch Logs error that CloudTrail encountered when - attempting to deliver logs to CloudWatch Logs. - """ - latest_cloud_watch_logs_delivery_time: datetime | None = ... - """ - Displays the most recent date and time when CloudTrail delivered logs to - CloudWatch Logs. - """ - latest_digest_delivery_time: datetime | None = ... - """ - Specifies the date and time that CloudTrail last delivered a digest file - to an account's Amazon S3 bucket. - """ - latest_digest_delivery_error: str | None = ... - """ - Displays any Amazon S3 error that CloudTrail encountered when attempting - to deliver a digest file to the designated bucket. For more information, - see [Error - Responses](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html) - in the Amazon S3 API Reference. - - Note: - This error occurs only when there is a problem with the destination S3 - bucket, and does not occur for requests that time out. To resolve the - issue, fix the [bucket - policy](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create-s3-bucket-policy-for-cloudtrail.html) - so that CloudTrail can write to the bucket; or create a new bucket and - call `UpdateTrail` to specify the new bucket. - """ - latest_delivery_attempt_time: str | None = ... - """This field is no longer in use.""" - latest_notification_attempt_time: str | None = ... - """This field is no longer in use.""" - latest_notification_attempt_succeeded: str | None = ... - """This field is no longer in use.""" - latest_delivery_attempt_succeeded: str | None = ... - """This field is no longer in use.""" - time_logging_started: str | None = ... - """This field is no longer in use.""" - time_logging_stopped: str | None = ... - """This field is no longer in use.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportFailureListItem(_SerdeShape): - """Provides information about an import failure.""" - - location: str | None = ... - """The location of the failure in the S3 bucket.""" - status: str | None = ... - """The status of the import.""" - error_type: str | None = ... - """The type of import error.""" - error_message: str | None = ... - """Provides the reason the import failed.""" - last_updated_time: datetime | None = ... - """When the import was last updated.""" - -class ImportFailureStatus(UnknownEnumMixin, StrEnum): - FAILED = "FAILED" - RETRY = "RETRY" - SUCCEEDED = "SUCCEEDED" - -@dataclass(kw_only=True) -class ImportNotFoundException(ServiceError, _SerdeShape): - """The specified import was not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportsListItem(_SerdeShape): - """ - Contains information about an import that was returned by a lookup - request. - """ - - import_id: str | None = ... - """The ID of the import.""" - import_status: str | None = ... - """The status of the import.""" - destinations: list[str] | None = ... - """The ARN of the destination event data store.""" - created_timestamp: datetime | None = ... - """The timestamp of the import's creation.""" - updated_timestamp: datetime | None = ... - """The timestamp of the import's last update.""" - -@dataclass(kw_only=True) -class ImportSource(_SerdeShape): - """The import source.""" - - s3: S3ImportSource - """The source S3 bucket.""" - -@dataclass(kw_only=True) -class ImportStatistics(_SerdeShape): - """ - Provides statistics for the specified `ImportID`. CloudTrail does not - update import statistics in real-time. Returned values for parameters - such as `EventsCompleted` may be lower than the actual value, because - CloudTrail updates statistics incrementally over the course of the - import. - """ - - prefixes_found: int | None = ... - """The number of S3 prefixes found for the import.""" - prefixes_completed: int | None = ... - """The number of S3 prefixes that completed import.""" - files_completed: int | None = ... - """The number of log files that completed import.""" - events_completed: int | None = ... - """The number of trail events imported into the event data store.""" - failed_entries: int | None = ... - """The number of failed entries.""" - -class ImportStatus(UnknownEnumMixin, StrEnum): - INITIALIZING = "INITIALIZING" - IN_PROGRESS = "IN_PROGRESS" - FAILED = "FAILED" - STOPPED = "STOPPED" - COMPLETED = "COMPLETED" - -@dataclass(kw_only=True) -class InactiveEventDataStoreException(ServiceError, _SerdeShape): - """The event data store is inactive.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InactiveQueryException(ServiceError, _SerdeShape): - """ - The specified query cannot be canceled because it is in the `FINISHED`, - `FAILED`, `TIMED_OUT`, or `CANCELLED` state. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IngestionStatus(_SerdeShape): - """ - A table showing information about the most recent successful and failed - attempts to ingest events. - """ - - latest_ingestion_success_time: datetime | None = ... - """ - The time stamp of the most recent successful ingestion of events for the - channel. - """ - latest_ingestion_success_event_id: str | None = ... - """The event ID of the most recent successful ingestion of events.""" - latest_ingestion_error_code: str | None = ... - """The error code for the most recent failure to ingest events.""" - latest_ingestion_attempt_time: datetime | None = ... - """ - The time stamp of the most recent attempt to ingest events on the - channel. - """ - latest_ingestion_attempt_event_id: str | None = ... - """The event ID of the most recent attempt to ingest events.""" - -@dataclass(kw_only=True) -class InsightNotEnabledException(ServiceError, _SerdeShape): - """ - If you run `GetInsightSelectors` on a trail or event data store that - does not have Insights events enabled, the operation throws the - exception `InsightNotEnabledException`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsightSelector(_SerdeShape): - """ - A JSON string that contains a list of Insights types that are logged on - a trail or event data store. - """ - - insight_type: str | None = ... - """ - The type of Insights events to log on a trail or event data store. - `ApiCallRateInsight` and `ApiErrorRateInsight` are valid Insight types. - - The `ApiCallRateInsight` Insights type analyzes write-only management - API calls or read and write data API calls that are aggregated per - minute against a baseline API call volume. - - The `ApiErrorRateInsight` Insights type analyzes management and data API - calls that result in error codes. The error is shown if the API call is - unsuccessful. - """ - event_categories: list[str] | None = ... - """ - Select the event category on which Insights should be enabled. - - - If EventCategories is not provided, the specified Insights types are - enabled on management API calls by default. - - - If EventCategories is provided, the given event categories will - overwrite the existing ones. For example, if a trail already has - Insights enabled on management events, and then a PutInsightSelectors - request is made with only data events specified in EventCategories, - Insights on management events will be disabled. - """ - -class InsightsMetricDataType(UnknownEnumMixin, StrEnum): - FILL_WITH_ZEROS = "FillWithZeros" - NON_ZERO_DATA = "NonZeroData" - -class InsightType(UnknownEnumMixin, StrEnum): - API_CALL_RATE_INSIGHT = "ApiCallRateInsight" - API_ERROR_RATE_INSIGHT = "ApiErrorRateInsight" - -@dataclass(kw_only=True) -class InsufficientDependencyServiceAccessPermissionException(ServiceError, _SerdeShape): - """ - This exception is thrown when the IAM identity that is used to create - the organization resource lacks one or more required permissions for - creating an organization resource in a required service. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsufficientEncryptionPolicyException(ServiceError, _SerdeShape): - """ - For the `CreateTrail` `PutInsightSelectors`, `UpdateTrail`, - `StartQuery`, and `StartImport` operations, this exception is thrown - when the policy on the S3 bucket or KMS key does not have sufficient - permissions for the operation. - - For all other operations, this exception is thrown when the policy for - the KMS key does not have sufficient permissions for the operation. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsufficientIAMAccessPermissionException(ServiceError, _SerdeShape): - """ - The task can't be completed because you are signed in with an account - that lacks permissions to view or create a service-linked role. Sign in - with an account that has the required permissions and then try again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsufficientS3BucketPolicyException(ServiceError, _SerdeShape): - """ - This exception is thrown when the policy on the S3 bucket is not - sufficient. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsufficientSnsTopicPolicyException(ServiceError, _SerdeShape): - """ - This exception is thrown when the policy on the Amazon SNS topic is not - sufficient. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidCloudWatchLogsLogGroupArnException(ServiceError, _SerdeShape): - """ - This exception is thrown when the provided CloudWatch Logs log group is - not valid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidCloudWatchLogsRoleArnException(ServiceError, _SerdeShape): - """This exception is thrown when the provided role is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDateRangeException(ServiceError, _SerdeShape): - """ - A date range for the query was specified that is not valid. Be sure that - the start time is chronologically before the end time. For more - information about writing a query, see [Create or edit a - query](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) - in the *CloudTrail User Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidEventCategoryException(ServiceError, _SerdeShape): - """ - Occurs if an event category that is not valid is specified as a value of - `EventCategory`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidEventDataStoreCategoryException(ServiceError, _SerdeShape): - """ - This exception is thrown when event categories of specified event data - stores are not valid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidEventDataStoreStatusException(ServiceError, _SerdeShape): - """The event data store is not in a status that supports the operation.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidEventSelectorsException(ServiceError, _SerdeShape): - """ - This exception is thrown when the `PutEventSelectors` operation is - called with a number of event selectors, advanced event selectors, or - data resources that is not valid. The combination of event selectors or - advanced event selectors and data resources is not valid. A trail can - have up to 5 event selectors. If a trail uses advanced event selectors, - a maximum of 500 total values for all conditions in all advanced event - selectors is allowed. A trail is limited to 250 data resources. These - data resources can be distributed across event selectors, but the - overall total cannot exceed 250. - - You can: - - - Specify a valid number of event selectors (1 to 5) for a trail. - - - Specify a valid number of data resources (1 to 250) for an event - selector. The limit of number of resources on an individual event - selector is configurable up to 250. However, this upper limit is - allowed only if the total number of data resources does not exceed 250 - across all event selectors for a trail. - - - Specify up to 500 values for all conditions in all advanced event - selectors for a trail. - - - Specify a valid value for a parameter. For example, specifying the - `ReadWriteType` parameter with a value of `read-only` is not valid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidHomeRegionException(ServiceError, _SerdeShape): - """ - This exception is thrown when an operation is called on a trail from a - Region other than the Region in which the trail was created. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidImportSourceException(ServiceError, _SerdeShape): - """ - This exception is thrown when the provided source S3 bucket is not valid - for import. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidInsightSelectorsException(ServiceError, _SerdeShape): - """ - For `PutInsightSelectors`, this exception is thrown when the formatting - or syntax of the `InsightSelectors` JSON statement is not valid, or the - specified `InsightType` in the `InsightSelectors` statement is not - valid. Valid values for `InsightType` are `ApiCallRateInsight` and - `ApiErrorRateInsight`. To enable Insights on an event data store, the - destination event data store specified by the `InsightsDestination` - parameter must log Insights events and the source event data store - specified by the `EventDataStore` parameter must log management events. - - For `UpdateEventDataStore`, this exception is thrown if Insights are - enabled on the event data store and the updated advanced event selectors - are not compatible with the configured `InsightSelectors`. If the - `InsightSelectors` includes an `InsightType` of `ApiCallRateInsight`, - the source event data store must log `write` management events. If the - `InsightSelectors` includes an `InsightType` of `ApiErrorRateInsight`, - the source event data store must log management events. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidKmsKeyIdException(ServiceError, _SerdeShape): - """This exception is thrown when the KMS key ARN is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidLookupAttributesException(ServiceError, _SerdeShape): - """Occurs when a lookup attribute is specified that is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidMaxResultsException(ServiceError, _SerdeShape): - """This exception is thrown if the limit specified is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidNextTokenException(ServiceError, _SerdeShape): - """ - A token that is not valid, or a token that was previously used in a - request with different parameters. This exception is thrown if the token - is not valid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidParameterCombinationException(ServiceError, _SerdeShape): - """ - This exception is thrown when the combination of parameters provided is - not valid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidParameterException(ServiceError, _SerdeShape): - """The request includes a parameter that is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidQueryStatementException(ServiceError, _SerdeShape): - """ - The query that was submitted has validation errors, or uses incorrect - syntax or unsupported keywords. For more information about writing a - query, see [Create or edit a - query](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) - in the *CloudTrail User Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidQueryStatusException(ServiceError, _SerdeShape): - """The query status is not valid for the operation.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidS3BucketNameException(ServiceError, _SerdeShape): - """This exception is thrown when the provided S3 bucket name is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidS3PrefixException(ServiceError, _SerdeShape): - """This exception is thrown when the provided S3 prefix is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidSnsTopicNameException(ServiceError, _SerdeShape): - """This exception is thrown when the provided SNS topic name is not valid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidSourceException(ServiceError, _SerdeShape): - """ - This exception is thrown when the specified value of `Source` is not - valid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidTagParameterException(ServiceError, _SerdeShape): - """ - This exception is thrown when the specified tag key or values are not - valid. It can also occur if there are duplicate tags or too many tags on - the resource. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidTimeRangeException(ServiceError, _SerdeShape): - """ - Occurs if the timestamp values are not valid. Either the start time - occurs after the end time, or the time range is outside the range of - possible values. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidTokenException(ServiceError, _SerdeShape): - """Reserved for future use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidTrailNameException(ServiceError, _SerdeShape): - """ - This exception is thrown when the provided trail name is not valid. - Trail names must meet the following requirements: - - - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), - underscores (_), or dashes (-) - - - Start with a letter or number, and end with a letter or number - - - Be between 3 and 128 characters - - - Have no adjacent periods, underscores or dashes. Names like - `my-_namespace` and `my--namespace` are not valid. - - - Not be in IP address format (for example, 192.168.5.4) - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KmsException(ServiceError, _SerdeShape): - """ - This exception is thrown when there is an issue with the specified KMS - key and the trail or event data store can't be updated. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KmsKeyDisabledException(ServiceError, _SerdeShape): - """This exception is no longer in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KmsKeyNotFoundException(ServiceError, _SerdeShape): - """ - This exception is thrown when the KMS key does not exist, when the S3 - bucket and the KMS key are not in the same Region, or when the KMS key - associated with the Amazon SNS topic either does not exist or is not in - the same Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListChannelsInput(_SerdeShape): - """Dataclass for ListChannelsInput structure.""" - - max_results: int | None = ... - """The maximum number of CloudTrail channels to display on a single page.""" - next_token: str | None = ... - """ - The token to use to get the next page of results after a previous API - call. This token must be passed in with the same parameters that were - specified in the original call. For example, if the original call - specified an AttributeKey of 'Username' with a value of 'root', the - call with NextToken should include those same parameters. - """ - -@dataclass(kw_only=True) -class ListChannelsOutput(_SerdeShape): - """Dataclass for ListChannelsOutput structure.""" - - channels: list[Channel] | None = ... - """The list of channels in the account.""" - next_token: str | None = ... - """ - The token to use to get the next page of results after a previous API - call. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDashboardsInput(_SerdeShape): - """Dataclass for ListDashboardsInput structure.""" - - name_prefix: str | None = ... - """Specify a name prefix to filter on.""" - type: str | None = ... - """Specify a dashboard type to filter on: `CUSTOM` or `MANAGED`.""" - next_token: str | None = ... - """A token you can use to get the next page of dashboard results.""" - max_results: int | None = ... - """The maximum number of dashboards to display on a single page.""" - -@dataclass(kw_only=True) -class ListDashboardsOutput(_SerdeShape): - """Dataclass for ListDashboardsOutput structure.""" - - dashboards: list[DashboardDetail] | None = ... - """ - Contains information about dashboards in the account, in the current - Region that match the applied filters. - """ - next_token: str | None = ... - """A token you can use to get the next page of dashboard results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListEventDataStoresInput(_SerdeShape): - """Dataclass for ListEventDataStoresInput structure.""" - - next_token: str | None = ... - """A token you can use to get the next page of event data store results.""" - max_results: int | None = ... - """The maximum number of event data stores to display on a single page.""" - -@dataclass(kw_only=True) -class ListEventDataStoresOutput(_SerdeShape): - """Dataclass for ListEventDataStoresOutput structure.""" - - event_data_stores: list[EventDataStore] | None = ... - """ - Contains information about event data stores in the account, in the - current Region. - """ - next_token: str | None = ... - """A token you can use to get the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListImportFailuresInput(_SerdeShape): - """Dataclass for ListImportFailuresInput structure.""" - - import_id: str | None = ... - """The ID of the import.""" - max_results: int | None = ... - """The maximum number of failures to display on a single page.""" - next_token: str | None = ... - """A token you can use to get the next page of import failures.""" - -@dataclass(kw_only=True) -class ListImportFailuresOutput(_SerdeShape): - """Dataclass for ListImportFailuresOutput structure.""" - - failures: list[ImportFailureListItem] | None = ... - """Contains information about the import failures.""" - next_token: str | None = ... - """A token you can use to get the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListImportsInput(_SerdeShape): - """Dataclass for ListImportsInput structure.""" - - max_results: int | None = ... - """The maximum number of imports to display on a single page.""" - destination: str | None = ... - """The ARN of the destination event data store.""" - import_status: str | None = ... - """The status of the import.""" - next_token: str | None = ... - """A token you can use to get the next page of import results.""" - -@dataclass(kw_only=True) -class ListImportsOutput(_SerdeShape): - """Dataclass for ListImportsOutput structure.""" - - imports: list[ImportsListItem] | None = ... - """The list of returned imports.""" - next_token: str | None = ... - """A token you can use to get the next page of import results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ListInsightsDataDimensionKey(UnknownEnumMixin, StrEnum): - EVENT_ID = "EventId" - EVENT_NAME = "EventName" - EVENT_SOURCE = "EventSource" - -@dataclass(kw_only=True) -class ListInsightsDataInput(_SerdeShape): - """Dataclass for ListInsightsDataInput structure.""" - - insight_source: str | None = ... - """ - The Amazon Resource Name(ARN) of the trail for which you want to - retrieve Insights events. - """ - data_type: str | None = ... - """ - Specifies the category of events returned. To fetch Insights events, - specify `InsightsEvents` as the value of `DataType` - """ - dimensions: dict[str, str] | None = ... - """ - Contains a map of dimensions. Currently the map can contain only one - item. - """ - start_time: datetime | None = ... - """ - Specifies that only events that occur after or at the specified time are - returned. If the specified start time is after the specified end time, - an error is returned. - """ - end_time: datetime | None = ... - """ - Specifies that only events that occur before or at the specified time - are returned. If the specified end time is before the specified start - time, an error is returned. - """ - max_results: int | None = ... - """ - The number of events to return. Possible values are 1 through 50. The - default is 50. - """ - next_token: str | None = ... - """ - The token to use to get the next page of results after a previous API - call. This token must be passed in with the same parameters that were - specified in the original call. For example, if the original call - specified a EventName as a dimension with `PutObject` as a value, the - call with NextToken should include those same parameters. - """ - -@dataclass(kw_only=True) -class ListInsightsDataOutput(_SerdeShape): - """Dataclass for ListInsightsDataOutput structure.""" - - events: list[Event] | None = ... - """ - A list of events returned based on the InsightSource, DataType or - Dimensions specified. The events list is sorted by time. The most recent - event is listed first. - """ - next_token: str | None = ... - """ - The token to use to get the next page of results after a previous API - call. If the token does not appear, there are no more results to return. - The token must be passed in with the same parameters as the previous - call. For example, if the original call specified a EventName as a - dimension with `PutObject` as a value, the call with NextToken should - include those same parameters. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ListInsightsDataType(UnknownEnumMixin, StrEnum): - INSIGHTS_EVENTS = "InsightsEvents" - -@dataclass(kw_only=True) -class ListInsightsMetricDataInput(_SerdeShape): - """Dataclass for ListInsightsMetricDataInput structure.""" - - trail_name: str | None = ... - """ - The Amazon Resource Name(ARN) or name of the trail for which you want to - retrieve Insights metrics data. This parameter should only be provided - to fetch Insights metrics data generated on trails logging data events. - This parameter is not required for Insights metric data generated on - trails logging management events. - """ - event_source: str | None = ... - """ - The Amazon Web Services service to which the request was made, such as - `iam.amazonaws.com` or `s3.amazonaws.com`. - """ - event_name: str | None = ... - """ - The name of the event, typically the Amazon Web Services API on which - unusual levels of activity were recorded. - """ - insight_type: str | None = ... - """ - The type of CloudTrail Insights event, which is either - `ApiCallRateInsight` or `ApiErrorRateInsight`. The `ApiCallRateInsight` - Insights type analyzes write-only management API calls that are - aggregated per minute against a baseline API call volume. The - `ApiErrorRateInsight` Insights type analyzes management API calls that - result in error codes. - """ - error_code: str | None = ... - """ - Conditionally required if the `InsightType` parameter is set to - `ApiErrorRateInsight`. - - If returning metrics for the `ApiErrorRateInsight` Insights type, this - is the error to retrieve data for. For example, `AccessDenied`. - """ - start_time: datetime | None = ... - """ - Specifies, in UTC, the start time for time-series data. The value - specified is inclusive; results include data points with the specified - time stamp. - - The default is 90 days before the time of request. - """ - end_time: datetime | None = ... - """ - Specifies, in UTC, the end time for time-series data. The value - specified is exclusive; results include data points up to the specified - time stamp. - - The default is the time of request. - """ - period: int | None = ... - """ - Granularity of data to retrieve, in seconds. Valid values are `60`, - `300`, and `3600`. If you specify any other value, you will get an - error. The default is 3600 seconds. - """ - data_type: str | None = ... - """ - Type of data points to return. Valid values are `NonZeroData` and - `FillWithZeros`. The default is `NonZeroData`. - """ - max_results: int | None = ... - """ - The maximum number of data points to return. Valid values are integers - from 1 to 21600. The default value is 21600. - """ - next_token: str | None = ... - """ - Returned if all datapoints can't be returned in a single call. For - example, due to reaching `MaxResults`. - - Add this parameter to the request to continue retrieving results - starting from the last evaluated point. - """ - -@dataclass(kw_only=True) -class ListInsightsMetricDataOutput(_SerdeShape): - """Dataclass for ListInsightsMetricDataOutput structure.""" - - trail_arn: str | None = ... - """ - Specifies the ARN of the trail. This is only returned when Insights is - enabled on a trail logging data events. - """ - event_source: str | None = ... - """ - The Amazon Web Services service to which the request was made, such as - `iam.amazonaws.com` or `s3.amazonaws.com`. - """ - event_name: str | None = ... - """ - The name of the event, typically the Amazon Web Services API on which - unusual levels of activity were recorded. - """ - insight_type: str | None = ... - """ - The type of CloudTrail Insights event, which is either - `ApiCallRateInsight` or `ApiErrorRateInsight`. The `ApiCallRateInsight` - Insights type analyzes write-only management API calls that are - aggregated per minute against a baseline API call volume. The - `ApiErrorRateInsight` Insights type analyzes management API calls that - result in error codes. - """ - error_code: str | None = ... - """ - Only returned if `InsightType` parameter was set to - `ApiErrorRateInsight`. - - If returning metrics for the `ApiErrorRateInsight` Insights type, this - is the error to retrieve data for. For example, `AccessDenied`. - """ - timestamps: list[datetime] | None = ... - """ - List of timestamps at intervals corresponding to the specified time - period. - """ - values: list[float] | None = ... - """ - List of values representing the API call rate or error rate at each - timestamp. The number of values is equal to the number of timestamps. - """ - next_token: str | None = ... - """ - Only returned if the full results could not be returned in a single - query. You can set the `NextToken` parameter in the next request to this - value to continue retrieval. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPublicKeysInput(_SerdeShape): - """Requests the public keys for a specified time range.""" - - start_time: datetime | None = ... - """ - Optionally specifies, in UTC, the start of the time range to look up - public keys for CloudTrail digest files. If not specified, the current - time is used, and the current public key is returned. - """ - end_time: datetime | None = ... - """ - Optionally specifies, in UTC, the end of the time range to look up - public keys for CloudTrail digest files. If not specified, the current - time is used. - """ - next_token: str | None = ... - """Reserved for future use.""" - -@dataclass(kw_only=True) -class ListPublicKeysOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - public_key_list: list[PublicKey] | None = ... - """ - Contains an array of PublicKey objects. - - Note: - The returned public keys may have validity time ranges that overlap. - """ - next_token: str | None = ... - """Reserved for future use.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListQueriesInput(_SerdeShape): - """Dataclass for ListQueriesInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or the ID suffix of the ARN) of an event data store on which - queries were run. - """ - next_token: str | None = ... - """A token you can use to get the next page of results.""" - max_results: int | None = ... - """The maximum number of queries to show on a page.""" - start_time: datetime | None = ... - """ - Use with `EndTime` to bound a `ListQueries` request, and limit its - results to only those queries run within a specified time period. - """ - end_time: datetime | None = ... - """ - Use with `StartTime` to bound a `ListQueries` request, and limit its - results to only those queries run within a specified time period. - """ - query_status: str | None = ... - """ - The status of queries that you want to return in results. Valid values - for `QueryStatus` include `QUEUED`, `RUNNING`, `FINISHED`, `FAILED`, - `TIMED_OUT`, or `CANCELLED`. - """ - -@dataclass(kw_only=True) -class ListQueriesOutput(_SerdeShape): - """Dataclass for ListQueriesOutput structure.""" - - queries: list[Query] | None = ... - """ - Lists matching query results, and shows query ID, status, and creation - time of each query. - """ - next_token: str | None = ... - """A token you can use to get the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsInput(_SerdeShape): - """Specifies a list of tags to return.""" - - resource_id_list: list[str] | None = ... - """ - Specifies a list of trail, event data store, dashboard, or channel ARNs - whose tags will be listed. The list has a limit of 20 ARNs. - - Example trail ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - - Example event data store ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - Example dashboard ARN format: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - Example channel ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - next_token: str | None = ... - """Reserved for future use.""" - -@dataclass(kw_only=True) -class ListTagsOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - resource_tag_list: list[ResourceTag] | None = ... - """A list of resource tags.""" - next_token: str | None = ... - """Reserved for future use.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTrailsInput(_SerdeShape): - """Dataclass for ListTrailsInput structure.""" - - next_token: str | None = ... - """ - The token to use to get the next page of results after a previous API - call. This token must be passed in with the same parameters that were - specified in the original call. For example, if the original call - specified an AttributeKey of 'Username' with a value of 'root', the - call with NextToken should include those same parameters. - """ - -@dataclass(kw_only=True) -class ListTrailsOutput(_SerdeShape): - """Dataclass for ListTrailsOutput structure.""" - - trails: list[TrailInfo] | None = ... - """Returns the name, ARN, and home Region of trails in the current account.""" - next_token: str | None = ... - """ - The token to use to get the next page of results after a previous API - call. If the token does not appear, there are no more results to return. - The token must be passed in with the same parameters as the previous - call. For example, if the original call specified an AttributeKey of - 'Username' with a value of 'root', the call with NextToken should - include those same parameters. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LookupAttribute(_SerdeShape): - """Specifies an attribute and value that filter the events returned.""" - - attribute_key: str - """Specifies an attribute on which to filter the events returned.""" - attribute_value: str - """ - Specifies a value for the specified `AttributeKey`. - - The maximum length for the `AttributeValue` is 2000 characters. The - following characters ('`_`', '` `', '`,`', '`\\n`') count as two - characters towards the 2000 character limit. - """ - -class LookupAttributeKey(UnknownEnumMixin, StrEnum): - EVENT_ID = "EventId" - EVENT_NAME = "EventName" - READ_ONLY = "ReadOnly" - USERNAME = "Username" - RESOURCE_TYPE = "ResourceType" - RESOURCE_NAME = "ResourceName" - EVENT_SOURCE = "EventSource" - ACCESS_KEY_ID = "AccessKeyId" - -@dataclass(kw_only=True) -class LookupEventsInput(_SerdeShape): - """Contains a request for LookupEvents.""" - - lookup_attributes: list[LookupAttribute] | None = ... - """ - Contains a list of lookup attributes. Currently the list can contain - only one item. - """ - start_time: datetime | None = ... - """ - Specifies that only events that occur after or at the specified time are - returned. If the specified start time is after the specified end time, - an error is returned. - """ - end_time: datetime | None = ... - """ - Specifies that only events that occur before or at the specified time - are returned. If the specified end time is before the specified start - time, an error is returned. - """ - event_category: str | None = ... - """ - Specifies the event category. If you do not specify an event category, - events of the category are not returned in the response. For example, if - you do not specify `insight` as the value of `EventCategory`, no - Insights events are returned. - """ - max_results: int | None = ... - """ - The number of events to return. Possible values are 1 through 50. The - default is 50. - """ - next_token: str | None = ... - """ - The token to use to get the next page of results after a previous API - call. This token must be passed in with the same parameters that were - specified in the original call. For example, if the original call - specified an AttributeKey of 'Username' with a value of 'root', the - call with NextToken should include those same parameters. - """ - -@dataclass(kw_only=True) -class LookupEventsOutput(_SerdeShape): - """Contains a response to a LookupEvents action.""" - - events: list[Event] | None = ... - """ - A list of events returned based on the lookup attributes specified and - the CloudTrail event. The events list is sorted by time. The most recent - event is listed first. - """ - next_token: str | None = ... - """ - The token to use to get the next page of results after a previous API - call. If the token does not appear, there are no more results to return. - The token must be passed in with the same parameters as the previous - call. For example, if the original call specified an AttributeKey of - 'Username' with a value of 'root', the call with NextToken should - include those same parameters. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class MaxConcurrentQueriesException(ServiceError, _SerdeShape): - """ - You are already running the maximum number of concurrent queries. The - maximum number of concurrent queries is 10. Wait a minute for some - queries to finish, and then run the query again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class MaxEventSize(UnknownEnumMixin, StrEnum): - STANDARD = "Standard" - LARGE = "Large" - -@dataclass(kw_only=True) -class MaximumNumberOfTrailsExceededException(ServiceError, _SerdeShape): - """This exception is thrown when the maximum number of trails is reached.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoManagementAccountSLRExistsException(ServiceError, _SerdeShape): - """ - This exception is thrown when the management account does not have a - service-linked role. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NotOrganizationManagementAccountException(ServiceError, _SerdeShape): - """ - This exception is thrown when the account making the request is not the - organization's management account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NotOrganizationMasterAccountException(ServiceError, _SerdeShape): - """ - This exception is thrown when the Amazon Web Services account making the - request to create or update an organization trail or event data store is - not the management account for an organization in Organizations. For - more information, see [Prepare For Creating a Trail For Your - Organization](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) - or [Organization event data - stores](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OperationNotPermittedException(ServiceError, _SerdeShape): - """This exception is thrown when the requested operation is not permitted.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OrganizationNotInAllFeaturesModeException(ServiceError, _SerdeShape): - """ - This exception is thrown when Organizations is not configured to support - all features. All features must be enabled in Organizations to support - creating an organization trail or event data store. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OrganizationsNotInUseException(ServiceError, _SerdeShape): - """ - This exception is thrown when the request is made from an Amazon Web - Services account that is not a member of an organization. To make this - request, sign in using the credentials of an account that belongs to an - organization. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PartitionKey(_SerdeShape): - """Contains information about a partition key for an event data store.""" - - name: str - """The name of the partition key.""" - type: str - """The data type of the partition key. For example, `bigint` or `string`.""" - -@dataclass(kw_only=True) -class PublicKey(_SerdeShape): - """Contains information about a returned public key.""" - - value: bytes | None = ... - """The DER encoded public key value in PKCS#1 format.""" - validity_start_time: datetime | None = ... - """The starting time of validity of the public key.""" - validity_end_time: datetime | None = ... - """The ending time of validity of the public key.""" - fingerprint: str | None = ... - """The fingerprint of the public key.""" - -@dataclass(kw_only=True) -class PutEventConfigurationInput(_SerdeShape): - """Dataclass for PutEventConfigurationInput structure.""" - - trail_name: str | None = ... - """ - The name of the trail for which you want to update event configuration - settings. - """ - event_data_store: str | None = ... - """ - The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data - store for which event configuration settings are updated. - """ - max_event_size: str | None = ... - """ - The maximum allowed size for events to be stored in the specified event - data store. If you are using context key selectors, MaxEventSize must be - set to Large. - """ - context_key_selectors: list[ContextKeySelector] | None = ... - """ - A list of context key selectors that will be included to provide - enriched event data. - """ - aggregation_configurations: list[AggregationConfiguration] | None = ... - """ - The list of aggregation configurations that you want to configure for - the trail. - """ - -@dataclass(kw_only=True) -class PutEventConfigurationOutput(_SerdeShape): - """Dataclass for PutEventConfigurationOutput structure.""" - - trail_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the trail that has aggregation - enabled. - """ - event_data_store_arn: str | None = ... - """ - The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data - store for which the event configuration settings were updated. - """ - max_event_size: str | None = ... - """ - The maximum allowed size for events stored in the specified event data - store. - """ - context_key_selectors: list[ContextKeySelector] | None = ... - """ - The list of context key selectors that are configured for the event data - store. - """ - aggregation_configurations: list[AggregationConfiguration] | None = ... - """A list of aggregation configurations that are configured for the trail.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutEventSelectorsInput(_SerdeShape): - """Dataclass for PutEventSelectorsInput structure.""" - - trail_name: str | None = ... - """ - Specifies the name of the trail or trail ARN. If you specify a trail - name, the string must meet the following requirements: - - - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), - underscores (_), or dashes (-) - - - Start with a letter or number, and end with a letter or number - - - Be between 3 and 128 characters - - - Have no adjacent periods, underscores or dashes. Names like - `my-_namespace` and `my--namespace` are not valid. - - - Not be in IP address format (for example, 192.168.5.4) - - If you specify a trail ARN, it must be in the following format. - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - event_selectors: list[EventSelector] | None = ... - """ - Specifies the settings for your event selectors. You can use event - selectors to log management events and data events for the following - resource types: - - - `AWS::DynamoDB::Table` - - - `AWS::Lambda::Function` - - - `AWS::S3::Object` - - You can't use event selectors to log network activity events. - - You can configure up to five event selectors for a trail. You can use - either `EventSelectors` or `AdvancedEventSelectors` in a - `PutEventSelectors` request, but not both. If you apply `EventSelectors` - to a trail, any existing `AdvancedEventSelectors` are overwritten. - """ - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """ - Specifies the settings for advanced event selectors. You can use - advanced event selectors to log management events, data events for all - resource types, and network activity events. - - You can add advanced event selectors, and conditions for your advanced - event selectors, up to a maximum of 500 values for all conditions and - selectors on a trail. You can use either `AdvancedEventSelectors` or - `EventSelectors`, but not both. If you apply `AdvancedEventSelectors` to - a trail, any existing `EventSelectors` are overwritten. For more - information about advanced event selectors, see [Logging data - events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) - and [Logging network activity - events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-network-events-with-cloudtrail.html) - in the *CloudTrail User Guide*. - """ - -@dataclass(kw_only=True) -class PutEventSelectorsOutput(_SerdeShape): - """Dataclass for PutEventSelectorsOutput structure.""" - - trail_arn: str | None = ... - """ - Specifies the ARN of the trail that was updated with event selectors. - The following is the format of a trail ARN. - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - event_selectors: list[EventSelector] | None = ... - """Specifies the event selectors configured for your trail.""" - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """Specifies the advanced event selectors configured for your trail.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutInsightSelectorsInput(_SerdeShape): - """Dataclass for PutInsightSelectorsInput structure.""" - - trail_name: str | None = ... - """ - The name of the CloudTrail trail for which you want to change or add - Insights selectors. - - You cannot use this parameter with the `EventDataStore` and - `InsightsDestination` parameters. - """ - insight_selectors: list[InsightSelector] | None = ... - """ - Contains the Insights types you want to log on a specific category of - events on a trail or event data store. `ApiCallRateInsight` and - `ApiErrorRateInsight` are valid Insight types.The EventCategory field - can specify `Management` or `Data` events or both. For event data store, - you can log Insights for management events only. - - The `ApiCallRateInsight` Insights type analyzes write-only management - API calls or read and write data API calls that are aggregated per - minute against a baseline API call volume. - - The `ApiErrorRateInsight` Insights type analyzes management and data API - calls that result in error codes. The error is shown if the API call is - unsuccessful. - """ - event_data_store: str | None = ... - """ - The ARN (or ID suffix of the ARN) of the source event data store for - which you want to change or add Insights selectors. To enable Insights - on an event data store, you must provide both the `EventDataStore` and - `InsightsDestination` parameters. - - You cannot use this parameter with the `TrailName` parameter. - """ - insights_destination: str | None = ... - """ - The ARN (or ID suffix of the ARN) of the destination event data store - that logs Insights events. To enable Insights on an event data store, - you must provide both the `EventDataStore` and `InsightsDestination` - parameters. - - You cannot use this parameter with the `TrailName` parameter. - """ - -@dataclass(kw_only=True) -class PutInsightSelectorsOutput(_SerdeShape): - """Dataclass for PutInsightSelectorsOutput structure.""" - - trail_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a trail for which you want to change - or add Insights selectors. - """ - insight_selectors: list[InsightSelector] | None = ... - """ - Contains the Insights types you want to log on a specific category of - events in a trail or event data store. `ApiCallRateInsight` and - `ApiErrorRateInsight` are valid Insight types.The EventCategory field - can specify `Management` or `Data` events or both. For event data store, - you can only log Insights for management events only. - """ - event_data_store_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the source event data store for which - you want to change or add Insights selectors. - """ - insights_destination: str | None = ... - """The ARN of the destination event data store that logs Insights events.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyInput(_SerdeShape): - """Dataclass for PutResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudTrail event data store, - dashboard, or channel attached to the resource-based policy. - - Example event data store ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - Example dashboard ARN format: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - Example channel ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - resource_policy: str | None = ... - """ - A JSON-formatted string for an Amazon Web Services resource-based - policy. - - For example resource-based policies, see [CloudTrail resource-based - policy - examples](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/security_iam_resource-based-policy-examples.html) - in the *CloudTrail User Guide*. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyOutput(_SerdeShape): - """Dataclass for PutResourcePolicyOutput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudTrail event data store, - dashboard, or channel attached to the resource-based policy. - - Example event data store ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - Example dashboard ARN format: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - Example channel ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - resource_policy: str | None = ... - """ - The JSON-formatted string of the Amazon Web Services resource-based - policy attached to the CloudTrail event data store, dashboard, or - channel. - """ - delegated_admin_resource_policy: str | None = ... - """ - The default resource-based policy that is automatically generated for - the delegated administrator of an Organizations organization. This - policy will be evaluated in tandem with any policy you submit for the - resource. For more information about this policy, see [Default resource - policy for delegated - administrators](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-organizations.html#cloudtrail-lake-organizations-eds-rbp). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Query(_SerdeShape): - """ - A SQL string of criteria about events that you want to collect in an - event data store. - """ - - query_id: str | None = ... - """The ID of a query.""" - query_status: str | None = ... - """ - The status of the query. This can be `QUEUED`, `RUNNING`, `FINISHED`, - `FAILED`, `TIMED_OUT`, or `CANCELLED`. - """ - creation_time: datetime | None = ... - """The creation time of a query.""" - -@dataclass(kw_only=True) -class QueryIdNotFoundException(ServiceError, _SerdeShape): - """The query ID does not exist or does not map to a query.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class QueryStatistics(_SerdeShape): - """Metadata about a query, such as the number of results.""" - - results_count: int | None = ... - """The number of results returned.""" - total_results_count: int | None = ... - """The total number of results returned by a query.""" - bytes_scanned: int | None = ... - """ - The total bytes that the query scanned in the event data store. This - value matches the number of bytes for which your account is billed for - the query, unless the query is still running. - """ - -@dataclass(kw_only=True) -class QueryStatisticsForDescribeQuery(_SerdeShape): - """ - Gets metadata about a query, including the number of events that were - matched, the total number of events scanned, the query run time in - milliseconds, and the query's creation time. - """ - - events_matched: int | None = ... - """The number of events that matched a query.""" - events_scanned: int | None = ... - """The number of events that the query scanned in the event data store.""" - bytes_scanned: int | None = ... - """ - The total bytes that the query scanned in the event data store. This - value matches the number of bytes for which your account is billed for - the query, unless the query is still running. - """ - execution_time_in_millis: int | None = ... - """The query's run time, in milliseconds.""" - creation_time: datetime | None = ... - """The creation time of the query.""" - -class QueryStatus(UnknownEnumMixin, StrEnum): - QUEUED = "QUEUED" - RUNNING = "RUNNING" - FINISHED = "FINISHED" - FAILED = "FAILED" - CANCELLED = "CANCELLED" - TIMED_OUT = "TIMED_OUT" - -class ReadWriteType(UnknownEnumMixin, StrEnum): - READ_ONLY = "ReadOnly" - WRITE_ONLY = "WriteOnly" - ALL = "All" - -@dataclass(kw_only=True) -class RefreshSchedule(_SerdeShape): - """The schedule for a dashboard refresh.""" - - frequency: RefreshScheduleFrequency | None = ... - """The frequency at which you want the dashboard refreshed.""" - status: str | None = ... - """ - Specifies whether the refresh schedule is enabled. Set the value to - `ENABLED` to enable the refresh schedule, or to `DISABLED` to turn off - the refresh schedule. - """ - time_of_day: str | None = ... - """ - The time of day in UTC to run the schedule; for hourly only refer to - minutes; default is 00:00. - """ - -@dataclass(kw_only=True) -class RefreshScheduleFrequency(_SerdeShape): - """ - Specifies the frequency for a dashboard refresh schedule. - - For a custom dashboard, you can schedule a refresh for every 1, 6, 12, - or 24 hours, or every day. - """ - - unit: str | None = ... - """ - The unit to use for the refresh. - - For custom dashboards, the unit can be `HOURS` or `DAYS`. - - For the Highlights dashboard, the `Unit` must be `HOURS`. - """ - value: int | None = ... - """ - The value for the refresh schedule. - - For custom dashboards, the following values are valid when the unit is - `HOURS`: `1`, `6`, `12`, `24` - - For custom dashboards, the only valid value when the unit is `DAYS` is - `1`. - - For the Highlights dashboard, the `Value` must be `6`. - """ - -class RefreshScheduleFrequencyUnit(UnknownEnumMixin, StrEnum): - HOURS = "HOURS" - DAYS = "DAYS" - -class RefreshScheduleStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class RegisterOrganizationDelegatedAdminInput(_SerdeShape): - """ - Specifies an organization member account ID as a CloudTrail delegated - administrator. - """ - - member_account_id: str | None = ... - """ - An organization member account ID that you want to designate as a - delegated administrator. - """ - -@dataclass(kw_only=True) -class RegisterOrganizationDelegatedAdminOutput(_SerdeShape): - """ - Returns the following response if successful. Otherwise, returns an - error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveTagsInput(_SerdeShape): - """ - Specifies the tags to remove from a trail, event data store, dashboard, - or channel. - """ - - resource_id: str | None = ... - """ - Specifies the ARN of the trail, event data store, dashboard, or channel - from which tags should be removed. - - Example trail ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - - Example event data store ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - Example dashboard ARN format: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - Example channel ARN format: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - tags_list: list[Tag] | None = ... - """Specifies a list of tags to be removed.""" - -@dataclass(kw_only=True) -class RemoveTagsOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RequestWidget(_SerdeShape): - """Contains information about a widget on a CloudTrail Lake dashboard.""" - - query_statement: str - """ - The query statement for the widget. For custom dashboard widgets, you - can query across multiple event data stores as long as all event data - stores exist in your account. - - Note: - When a query uses `?` with `eventTime`, `?` must be surrounded by single - quotes as follows: `'?'`. - """ - query_parameters: list[str] | None = ... - """ - The optional query parameters. The following query parameters are valid: - `$StartTime$`, `$EndTime$`, and `$Period$`. - """ - view_properties: dict[str, str] - """ - The view properties for the widget. For more information about view - properties, see [View properties for - widgets](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-widget-properties.html) - in the *CloudTrail User Guide*. - """ - -@dataclass(kw_only=True) -class Resource(_SerdeShape): - """Specifies the type and name of a resource referenced by an event.""" - - resource_type: str | None = ... - """ - The type of a resource referenced by the event returned. When the - resource type cannot be determined, null is returned. Some examples of - resource types are: **Instance** for EC2, **Trail** for CloudTrail, - **DBInstance** for Amazon RDS, and **AccessKey** for IAM. To learn more - about how to look up and filter events by the resource types supported - for a service, see [Filtering CloudTrail - Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events). - """ - resource_name: str | None = ... - """ - The name of the resource referenced by the event returned. These are - user-created names whose values will depend on the environment. For - example, the resource name might be \"auto-scaling-test-group\" for an - Auto Scaling Group or \"i-1234567\" for an EC2 Instance. - """ - -@dataclass(kw_only=True) -class ResourceARNNotValidException(ServiceError, _SerdeShape): - """ - This exception is thrown when the provided resource does not exist, or - the ARN format of the resource is not valid. - - The following is the format of an event data store ARN: - `arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE` - - The following is the format of a dashboard ARN: - `arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash` - - The following is the format of a channel ARN: - `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """This exception is thrown when the specified resource is not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourcePolicyNotFoundException(ServiceError, _SerdeShape): - """ - This exception is thrown when the specified resource policy is not - found. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourcePolicyNotValidException(ServiceError, _SerdeShape): - """ - This exception is thrown when the resouce-based policy has syntax - errors, or contains a principal that is not valid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceTag(_SerdeShape): - """A resource tag.""" - - resource_id: str | None = ... - """Specifies the ARN of the resource.""" - tags_list: list[Tag] | None = ... - """A list of tags.""" - -@dataclass(kw_only=True) -class ResourceTypeNotSupportedException(ServiceError, _SerdeShape): - """ - This exception is thrown when the specified resource type is not - supported by CloudTrail. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreEventDataStoreInput(_SerdeShape): - """Dataclass for RestoreEventDataStoreInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or the ID suffix of the ARN) of the event data store that you - want to restore. - """ - -@dataclass(kw_only=True) -class RestoreEventDataStoreOutput(_SerdeShape): - """Dataclass for RestoreEventDataStoreOutput structure.""" - - event_data_store_arn: str | None = ... - """The event data store ARN.""" - name: str | None = ... - """The name of the event data store.""" - status: str | None = ... - """The status of the event data store.""" - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """The advanced event selectors that were used to select events.""" - multi_region_enabled: bool | None = ... - """ - Indicates whether the event data store is collecting events from all - Regions, or only from the Region in which the event data store was - created. - """ - organization_enabled: bool | None = ... - """ - Indicates whether an event data store is collecting logged events for an - organization in Organizations. - """ - retention_period: int | None = ... - """The retention period, in days.""" - termination_protection_enabled: bool | None = ... - """ - Indicates that termination protection is enabled and the event data - store cannot be automatically deleted. - """ - created_timestamp: datetime | None = ... - """The timestamp of an event data store's creation.""" - updated_timestamp: datetime | None = ... - """ - The timestamp that shows when an event data store was updated, if - applicable. `UpdatedTimestamp` is always either the same or newer than - the time shown in `CreatedTimestamp`. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID that encrypts the events delivered by - CloudTrail. The value is a fully specified ARN to a KMS key in the - following format. - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - """ - billing_mode: str | None = ... - """The billing mode for the event data store.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class S3BucketDoesNotExistException(ServiceError, _SerdeShape): - """This exception is thrown when the specified S3 bucket does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class S3ImportSource(_SerdeShape): - """The settings for the source S3 bucket.""" - - s3_location_uri: str - """The URI for the source S3 bucket.""" - s3_bucket_region: str - """The Region associated with the source S3 bucket.""" - s3_bucket_access_role_arn: str - """The IAM ARN role used to access the source S3 bucket.""" - -@dataclass(kw_only=True) -class SearchSampleQueriesInput(_SerdeShape): - """Dataclass for SearchSampleQueriesInput structure.""" - - search_phrase: str | None = ... - """ - The natural language phrase to use for the semantic search. The phrase - must be in English. The length constraint is in characters, not words. - """ - max_results: int | None = ... - """ - The maximum number of results to return on a single page. The default - value is 10. - """ - next_token: str | None = ... - """ - A token you can use to get the next page of results. The length - constraint is in characters, not words. - """ - -@dataclass(kw_only=True) -class SearchSampleQueriesOutput(_SerdeShape): - """Dataclass for SearchSampleQueriesOutput structure.""" - - search_results: list[SearchSampleQueriesSearchResult] | None = ... - """ - A list of objects containing the search results ordered from most - relevant to least relevant. - """ - next_token: str | None = ... - """A token you can use to get the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SearchSampleQueriesSearchResult(_SerdeShape): - """A search result returned by the `SearchSampleQueries` operation.""" - - name: str | None = ... - """The name of a sample query.""" - description: str | None = ... - """A longer description of a sample query.""" - sql: str | None = ... - """The SQL code of the sample query.""" - relevance: float = ... - """ - A value between 0 and 1 indicating the similarity between the search - phrase and result. - """ - -@dataclass(kw_only=True) -class ServiceQuotaExceededException(ServiceError, _SerdeShape): - """ - This exception is thrown when the quota is exceeded. For information - about CloudTrail quotas, see [Service - quotas](https://docs.aws.amazon.com/general/latest/gr/ct.html#limits_cloudtrail) - in the *Amazon Web Services General Reference*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SourceConfig(_SerdeShape): - """Contains configuration information about the channel.""" - - apply_to_all_regions: bool | None = ... - """ - Specifies whether the channel applies to a single Region or to all - Regions. - """ - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """The advanced event selectors that are configured for the channel.""" - -class SourceEventCategory(UnknownEnumMixin, StrEnum): - MANAGEMENT = "Management" - DATA = "Data" - -@dataclass(kw_only=True) -class StartDashboardRefreshInput(_SerdeShape): - """Dataclass for StartDashboardRefreshInput structure.""" - - dashboard_id: str | None = ... - """The name or ARN of the dashboard.""" - query_parameter_values: dict[str, str] | None = ... - """ - The query parameter values for the dashboard - - For custom dashboards, the following query parameters are valid: - `$StartTime$`, `$EndTime$`, and `$Period$`. - - For managed dashboards, the following query parameters are valid: - `$StartTime$`, `$EndTime$`, `$Period$`, and `$EventDataStoreId$`. The - `$EventDataStoreId$` query parameter is required. - """ - -@dataclass(kw_only=True) -class StartDashboardRefreshOutput(_SerdeShape): - """Dataclass for StartDashboardRefreshOutput structure.""" - - refresh_id: str | None = ... - """The refresh ID for the dashboard.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartEventDataStoreIngestionInput(_SerdeShape): - """Dataclass for StartEventDataStoreIngestionInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or ID suffix of the ARN) of the event data store for which you - want to start ingestion. - """ - -@dataclass(kw_only=True) -class StartEventDataStoreIngestionOutput(_SerdeShape): - """Dataclass for StartEventDataStoreIngestionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartImportInput(_SerdeShape): - """Dataclass for StartImportInput structure.""" - - destinations: list[str] | None = ... - """ - The ARN of the destination event data store. Use this parameter for a - new import. - """ - import_source: ImportSource | None = ... - """ - The source S3 bucket for the import. Use this parameter for a new - import. - """ - start_event_time: datetime | None = ... - """ - Use with `EndEventTime` to bound a `StartImport` request, and limit - imported trail events to only those events logged within a specified - time period. When you specify a time range, CloudTrail checks the prefix - and log file names to verify the names contain a date between the - specified `StartEventTime` and `EndEventTime` before attempting to - import events. - """ - end_event_time: datetime | None = ... - """ - Use with `StartEventTime` to bound a `StartImport` request, and limit - imported trail events to only those events logged within a specified - time period. When you specify a time range, CloudTrail checks the prefix - and log file names to verify the names contain a date between the - specified `StartEventTime` and `EndEventTime` before attempting to - import events. - """ - import_id: str | None = ... - """ - The ID of the import. Use this parameter when you are retrying an - import. - """ - -@dataclass(kw_only=True) -class StartImportOutput(_SerdeShape): - """Dataclass for StartImportOutput structure.""" - - import_id: str | None = ... - """The ID of the import.""" - destinations: list[str] | None = ... - """The ARN of the destination event data store.""" - import_source: ImportSource | None = ... - """The source S3 bucket for the import.""" - start_event_time: datetime | None = ... - """ - Used with `EndEventTime` to bound a `StartImport` request, and limit - imported trail events to only those events logged within a specified - time period. - """ - end_event_time: datetime | None = ... - """ - Used with `StartEventTime` to bound a `StartImport` request, and limit - imported trail events to only those events logged within a specified - time period. - """ - import_status: str | None = ... - """ - Shows the status of the import after a `StartImport` request. An import - finishes with a status of `COMPLETED` if there were no failures, or - `FAILED` if there were failures. - """ - created_timestamp: datetime | None = ... - """The timestamp for the import's creation.""" - updated_timestamp: datetime | None = ... - """The timestamp of the import's last update, if applicable.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartLoggingInput(_SerdeShape): - """ - The request to CloudTrail to start logging Amazon Web Services API calls - for an account. - """ - - name: str | None = ... - """ - Specifies the name or the CloudTrail ARN of the trail for which - CloudTrail logs Amazon Web Services API calls. The following is the - format of a trail ARN. - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - -@dataclass(kw_only=True) -class StartLoggingOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartQueryInput(_SerdeShape): - """Dataclass for StartQueryInput structure.""" - - query_statement: str | None = ... - """The SQL code of your query.""" - delivery_s3_uri: str | None = ... - """The URI for the S3 bucket where CloudTrail delivers the query results.""" - query_alias: str | None = ... - """The alias that identifies a query template.""" - query_parameters: list[str] | None = ... - """The query parameters for the specified `QueryAlias`.""" - event_data_store_owner_account_id: str | None = ... - """The account ID of the event data store owner.""" - -@dataclass(kw_only=True) -class StartQueryOutput(_SerdeShape): - """Dataclass for StartQueryOutput structure.""" - - query_id: str | None = ... - """The ID of the started query.""" - event_data_store_owner_account_id: str | None = ... - """The account ID of the event data store owner.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopEventDataStoreIngestionInput(_SerdeShape): - """Dataclass for StopEventDataStoreIngestionInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or ID suffix of the ARN) of the event data store for which you - want to stop ingestion. - """ - -@dataclass(kw_only=True) -class StopEventDataStoreIngestionOutput(_SerdeShape): - """Dataclass for StopEventDataStoreIngestionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopImportInput(_SerdeShape): - """Dataclass for StopImportInput structure.""" - - import_id: str | None = ... - """The ID of the import.""" - -@dataclass(kw_only=True) -class StopImportOutput(_SerdeShape): - """Dataclass for StopImportOutput structure.""" - - import_id: str | None = ... - """The ID for the import.""" - import_source: ImportSource | None = ... - """The source S3 bucket for the import.""" - destinations: list[str] | None = ... - """The ARN of the destination event data store.""" - import_status: str | None = ... - """The status of the import.""" - created_timestamp: datetime | None = ... - """The timestamp of the import's creation.""" - updated_timestamp: datetime | None = ... - """The timestamp of the import's last update.""" - start_event_time: datetime | None = ... - """ - Used with `EndEventTime` to bound a `StartImport` request, and limit - imported trail events to only those events logged within a specified - time period. - """ - end_event_time: datetime | None = ... - """ - Used with `StartEventTime` to bound a `StartImport` request, and limit - imported trail events to only those events logged within a specified - time period. - """ - import_statistics: ImportStatistics | None = ... - """Returns information on the stopped import.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopLoggingInput(_SerdeShape): - """ - Passes the request to CloudTrail to stop logging Amazon Web Services API - calls for the specified account. - """ - - name: str | None = ... - """ - Specifies the name or the CloudTrail ARN of the trail for which - CloudTrail will stop logging Amazon Web Services API calls. The - following is the format of a trail ARN. - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - -@dataclass(kw_only=True) -class StopLoggingOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """ - A custom key-value pair associated with a resource such as a CloudTrail - trail, event data store, dashboard, or channel. - """ - - key: str - """ - The key in a key-value pair. The key must be must be no longer than 128 - Unicode characters. The key must be unique for the resource to which it - applies. - """ - value: str | None = ... - """ - The value in a key-value pair of a tag. The value must be no longer than - 256 Unicode characters. - """ - -@dataclass(kw_only=True) -class TagsLimitExceededException(ServiceError, _SerdeShape): - """ - The number of tags per trail, event data store, dashboard, or channel - has exceeded the permitted amount. Currently, the limit is 50. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class Template(UnknownEnumMixin, StrEnum): - """ - Specifies the type of the aggregation templates in the aggregation - configuration. Valid values include API_ACTIVITY, RESOURCE_ACCESS and - USER_ACTIONS. - """ - - API_ACTIVITY = "API_ACTIVITY" - RESOURCE_ACCESS = "RESOURCE_ACCESS" - USER_ACTIONS = "USER_ACTIONS" - -@dataclass(kw_only=True) -class ThrottlingException(ServiceError, _SerdeShape): - """This exception is thrown when the request rate exceeds the limit.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Trail(_SerdeShape): - """The settings for a trail.""" - - name: str | None = ... - """ - Name of the trail set by calling CreateTrail. The maximum length is 128 - characters. - """ - s3_bucket_name: str | None = ... - """ - Name of the Amazon S3 bucket into which CloudTrail delivers your trail - files. See [Amazon S3 Bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). - """ - s3_key_prefix: str | None = ... - """ - Specifies the Amazon S3 key prefix that comes after the name of the - bucket you have designated for log file delivery. For more information, - see [Finding Your CloudTrail Log - Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). - The maximum length is 200 characters. - """ - sns_topic_name: str | None = ... - """This field is no longer in use. Use `SnsTopicARN`.""" - sns_topic_arn: str | None = ... - """ - Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send - notifications when log files are delivered. The following is the format - of a topic ARN. - - `arn:aws:sns:us-east-2:123456789012:MyTopic` - """ - include_global_service_events: bool | None = ... - """ - Set to **True** to include Amazon Web Services API calls from Amazon Web - Services global services such as IAM. Otherwise, **False**. Setting this - value to `true` only delivers global service events to the trail if the - trail is multi-Region or if the trail's home Region is the partition - leader Region (for example, us-east-1). - """ - is_multi_region_trail: bool | None = ... - """ - Specifies whether the trail exists only in one Region or exists in all - Regions. - """ - home_region: str | None = ... - """The Region in which the trail was created.""" - trail_arn: str | None = ... - """ - Specifies the ARN of the trail. The following is the format of a trail - ARN. - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - log_file_validation_enabled: bool | None = ... - """Specifies whether log file validation is enabled.""" - cloud_watch_logs_log_group_arn: str | None = ... - """ - Specifies an Amazon Resource Name (ARN), a unique identifier that - represents the log group to which CloudTrail logs will be delivered. - """ - cloud_watch_logs_role_arn: str | None = ... - """ - Specifies the role for the CloudWatch Logs endpoint to assume to write - to a user's log group. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID that encrypts the logs and digest files - delivered by CloudTrail. The value is a fully specified ARN to a KMS key - in the following format. - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - """ - has_custom_event_selectors: bool | None = ... - """Specifies if the trail has custom event selectors.""" - has_insight_selectors: bool | None = ... - """ - Specifies whether a trail has insight types specified in an - `InsightSelector` list. - """ - is_organization_trail: bool | None = ... - """Specifies whether the trail is an organization trail.""" - recursive_logging: bool | None = ... - """ - Specifies whether recursive logging is enabled for the trail. If you set - `RecursiveLogging` to `false`, CloudTrail suppresses events generated by - CloudTrail when it delivers log files to your trail's destinations, - including Amazon S3 and CloudWatch Logs. The default value is `true`. - """ - -@dataclass(kw_only=True) -class TrailAlreadyExistsException(ServiceError, _SerdeShape): - """This exception is thrown when the specified trail already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TrailInfo(_SerdeShape): - """ - Information about a CloudTrail trail, including the trail's name, home - Region, and Amazon Resource Name (ARN). - """ - - trail_arn: str | None = ... - """The ARN of a trail.""" - name: str | None = ... - """The name of a trail.""" - home_region: str | None = ... - """The Amazon Web Services Region in which a trail was created.""" - -@dataclass(kw_only=True) -class TrailNotFoundException(ServiceError, _SerdeShape): - """ - This exception is thrown when the trail with the given name is not - found. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TrailNotProvidedException(ServiceError, _SerdeShape): - """This exception is no longer in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class Type(UnknownEnumMixin, StrEnum): - TAG_CONTEXT = "TagContext" - REQUEST_CONTEXT = "RequestContext" - -@dataclass(kw_only=True) -class UnsupportedOperationException(ServiceError, _SerdeShape): - """This exception is thrown when the requested operation is not supported.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateChannelInput(_SerdeShape): - """Dataclass for UpdateChannelInput structure.""" - - channel: str | None = ... - """The ARN or ID (the ARN suffix) of the channel that you want to update.""" - destinations: list[Destination] | None = ... - """ - The ARNs of event data stores that you want to log events arriving - through the channel. - """ - name: str | None = ... - """Changes the name of the channel.""" - -@dataclass(kw_only=True) -class UpdateChannelOutput(_SerdeShape): - """Dataclass for UpdateChannelOutput structure.""" - - channel_arn: str | None = ... - """The ARN of the channel that was updated.""" - name: str | None = ... - """The name of the channel that was updated.""" - source: str | None = ... - """The event source of the channel that was updated.""" - destinations: list[Destination] | None = ... - """The event data stores that log events arriving through the channel.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDashboardInput(_SerdeShape): - """Dataclass for UpdateDashboardInput structure.""" - - dashboard_id: str | None = ... - """The name or ARN of the dashboard.""" - widgets: list[RequestWidget] | None = ... - """ - An array of widgets for the dashboard. A custom dashboard can have a - maximum of 10 widgets. - - To add new widgets, pass in an array that includes the existing widgets - along with any new widgets. Run the `GetDashboard` operation to get the - list of widgets for the dashboard. - - To remove widgets, pass in an array that includes the existing widgets - minus the widgets you want removed. - """ - refresh_schedule: RefreshSchedule | None = ... - """The refresh schedule configuration for the dashboard.""" - termination_protection_enabled: bool | None = ... - """ - Specifies whether termination protection is enabled for the dashboard. - If termination protection is enabled, you cannot delete the dashboard - until termination protection is disabled. - """ - -@dataclass(kw_only=True) -class UpdateDashboardOutput(_SerdeShape): - """Dataclass for UpdateDashboardOutput structure.""" - - dashboard_arn: str | None = ... - """The ARN for the dashboard.""" - name: str | None = ... - """The name for the dashboard.""" - type: str | None = ... - """The type of dashboard.""" - widgets: list[Widget] | None = ... - """An array of widgets for the dashboard.""" - refresh_schedule: RefreshSchedule | None = ... - """The refresh schedule for the dashboard, if configured.""" - termination_protection_enabled: bool | None = ... - """Indicates whether termination protection is enabled for the dashboard.""" - created_timestamp: datetime | None = ... - """The timestamp that shows when the dashboard was created.""" - updated_timestamp: datetime | None = ... - """The timestamp that shows when the dashboard was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateEventDataStoreInput(_SerdeShape): - """Dataclass for UpdateEventDataStoreInput structure.""" - - event_data_store: str | None = ... - """ - The ARN (or the ID suffix of the ARN) of the event data store that you - want to update. - """ - name: str | None = ... - """The event data store name.""" - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """ - The advanced event selectors used to select events for the event data - store. You can configure up to five advanced event selectors for each - event data store. - """ - multi_region_enabled: bool | None = ... - """ - Specifies whether an event data store collects events from all Regions, - or only from the Region in which it was created. - """ - organization_enabled: bool | None = ... - """ - Specifies whether an event data store collects events logged for an - organization in Organizations. - - Note: - Only the management account for the organization can convert an - organization event data store to a non-organization event data store, or - convert a non-organization event data store to an organization event - data store. - """ - retention_period: int | None = ... - """ - The retention period of the event data store, in days. If `BillingMode` - is set to `EXTENDABLE_RETENTION_PRICING`, you can set a retention period - of up to 3653 days, the equivalent of 10 years. If `BillingMode` is set - to `FIXED_RETENTION_PRICING`, you can set a retention period of up to - 2557 days, the equivalent of seven years. - - CloudTrail Lake determines whether to retain an event by checking if the - `eventTime` of the event is within the specified retention period. For - example, if you set a retention period of 90 days, CloudTrail will - remove events when the `eventTime` is older than 90 days. - - Note: - If you decrease the retention period of an event data store, CloudTrail - will remove any events with an `eventTime` older than the new retention - period. For example, if the previous retention period was 365 days and - you decrease it to 100 days, CloudTrail will remove events with an - `eventTime` older than 100 days. - """ - termination_protection_enabled: bool | None = ... - """ - Indicates that termination protection is enabled and the event data - store cannot be automatically deleted. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID to use to encrypt the events delivered by - CloudTrail. The value can be an alias name prefixed by `alias/`, a fully - specified ARN to an alias, a fully specified ARN to a key, or a globally - unique identifier. - - Warning: - Disabling or deleting the KMS key, or removing CloudTrail permissions on - the key, prevents CloudTrail from logging events to the event data - store, and prevents users from querying the data in the event data store - that was encrypted with the key. After you associate an event data store - with a KMS key, the KMS key cannot be removed or changed. Before you - disable or delete a KMS key that you are using with an event data store, - delete or back up your event data store. - - CloudTrail also supports KMS multi-Region keys. For more information - about multi-Region keys, see [Using multi-Region - keys](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) - in the *Key Management Service Developer Guide*. - - Examples: - - - `alias/MyAliasName` - - - `arn:aws:kms:us-east-2:123456789012:alias/MyAliasName` - - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - - - `12345678-1234-1234-1234-123456789012` - """ - billing_mode: str | None = ... - """ - Note: - You can't change the billing mode from `EXTENDABLE_RETENTION_PRICING` - to `FIXED_RETENTION_PRICING`. If `BillingMode` is set to - `EXTENDABLE_RETENTION_PRICING` and you want to use - `FIXED_RETENTION_PRICING` instead, you'll need to stop ingestion on the - event data store and create a new event data store that uses - `FIXED_RETENTION_PRICING`. - - The billing mode for the event data store determines the cost for - ingesting events and the default and maximum retention period for the - event data store. - - The following are the possible values: - - - `EXTENDABLE_RETENTION_PRICING` - This billing mode is generally - recommended if you want a flexible retention period of up to 3653 days - (about 10 years). The default retention period for this billing mode - is 366 days. - - - `FIXED_RETENTION_PRICING` - This billing mode is recommended if you - expect to ingest more than 25 TB of event data per month and need a - retention period of up to 2557 days (about 7 years). The default - retention period for this billing mode is 2557 days. - - For more information about CloudTrail pricing, see [CloudTrail - Pricing](http://aws.amazon.com/cloudtrail/pricing/) and [Managing - CloudTrail Lake - costs](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html). - """ - -@dataclass(kw_only=True) -class UpdateEventDataStoreOutput(_SerdeShape): - """Dataclass for UpdateEventDataStoreOutput structure.""" - - event_data_store_arn: str | None = ... - """The ARN of the event data store.""" - name: str | None = ... - """The name of the event data store.""" - status: str | None = ... - """The status of an event data store.""" - advanced_event_selectors: list[AdvancedEventSelector] | None = ... - """The advanced event selectors that are applied to the event data store.""" - multi_region_enabled: bool | None = ... - """ - Indicates whether the event data store includes events from all Regions, - or only from the Region in which it was created. - """ - organization_enabled: bool | None = ... - """ - Indicates whether an event data store is collecting logged events for an - organization in Organizations. - """ - retention_period: int | None = ... - """The retention period, in days.""" - termination_protection_enabled: bool | None = ... - """ - Indicates whether termination protection is enabled for the event data - store. - """ - created_timestamp: datetime | None = ... - """The timestamp that shows when an event data store was first created.""" - updated_timestamp: datetime | None = ... - """ - The timestamp that shows when the event data store was last updated. - `UpdatedTimestamp` is always either the same or newer than the time - shown in `CreatedTimestamp`. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID that encrypts the events delivered by - CloudTrail. The value is a fully specified ARN to a KMS key in the - following format. - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - """ - billing_mode: str | None = ... - """The billing mode for the event data store.""" - federation_status: str | None = ... - """ - Indicates the [Lake query - federation](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html) - status. The status is `ENABLED` if Lake query federation is enabled, or - `DISABLED` if Lake query federation is disabled. You cannot delete an - event data store if the `FederationStatus` is `ENABLED`. - """ - federation_role_arn: str | None = ... - """ - If Lake query federation is enabled, provides the ARN of the federation - role used to access the resources for the federated event data store. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateTrailInput(_SerdeShape): - """Specifies settings to update for the trail.""" - - name: str | None = ... - """ - Specifies the name of the trail or trail ARN. If `Name` is a trail name, - the string must meet the following requirements: - - - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), - underscores (_), or dashes (-) - - - Start with a letter or number, and end with a letter or number - - - Be between 3 and 128 characters - - - Have no adjacent periods, underscores or dashes. Names like - `my-_namespace` and `my--namespace` are not valid. - - - Not be in IP address format (for example, 192.168.5.4) - - If `Name` is a trail ARN, it must be in the following format. - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - s3_bucket_name: str | None = ... - """ - Specifies the name of the Amazon S3 bucket designated for publishing log - files. See [Amazon S3 Bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). - """ - s3_key_prefix: str | None = ... - """ - Specifies the Amazon S3 key prefix that comes after the name of the - bucket you have designated for log file delivery. For more information, - see [Finding Your CloudTrail Log - Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). - The maximum length is 200 characters. - """ - sns_topic_name: str | None = ... - """ - Specifies the name or ARN of the Amazon SNS topic defined for - notification of log file delivery. The maximum length is 256 characters. - """ - include_global_service_events: bool | None = ... - """ - Specifies whether the trail is publishing events from global services - such as IAM to the log files. Setting this value to `true` only delivers - global service events to the trail if the trail is multi-Region or if - the trail's home Region is the partition leader Region (for example, - us-east-1). - """ - is_multi_region_trail: bool | None = ... - """ - Specifies whether the trail applies only to the current Region or to all - Regions. The default is false. If the trail exists only in the current - Region and this value is set to true, shadow trails (replications of the - trail) will be created in the other Regions. If the trail exists in all - Regions and this value is set to false, the trail will remain in the - Region where it was created, and its shadow trails in other Regions will - be deleted. As a best practice, consider using trails that log events in - all Regions. - """ - enable_log_file_validation: bool | None = ... - """ - Specifies whether log file validation is enabled. The default is false. - - Note: - When you disable log file integrity validation, the chain of digest - files is broken after one hour. CloudTrail does not create digest files - for log files that were delivered during a period in which log file - integrity validation was disabled. For example, if you enable log file - integrity validation at noon on January 1, disable it at noon on January - 2, and re-enable it at noon on January 10, digest files will not be - created for the log files delivered from noon on January 2 to noon on - January 10. The same applies whenever you stop CloudTrail logging or - delete a trail. - """ - cloud_watch_logs_log_group_arn: str | None = ... - """ - Specifies a log group name using an Amazon Resource Name (ARN), a unique - identifier that represents the log group to which CloudTrail logs are - delivered. You must use a log group that exists in your account. - - Not required unless you specify `CloudWatchLogsRoleArn`. - """ - cloud_watch_logs_role_arn: str | None = ... - """ - Specifies the role for the CloudWatch Logs endpoint to assume to write - to a user's log group. You must use a role that exists in your account. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID to use to encrypt the logs and digest files - delivered by CloudTrail. The value can be an alias name prefixed by - \"alias/\", a fully specified ARN to an alias, a fully specified ARN to - a key, or a globally unique identifier. - - CloudTrail also supports KMS multi-Region keys. For more information - about multi-Region keys, see [Using multi-Region - keys](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) - in the *Key Management Service Developer Guide*. - - Examples: - - - alias/MyAliasName - - - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - - - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - - - 12345678-1234-1234-1234-123456789012 - """ - is_organization_trail: bool | None = ... - """ - Specifies whether the trail is applied to all accounts in an - organization in Organizations, or only for the current Amazon Web - Services account. The default is false, and cannot be true unless the - call is made on behalf of an Amazon Web Services account that is the - management account for an organization in Organizations. If the trail is - not an organization trail and this is set to `true`, the trail will be - created in all Amazon Web Services accounts that belong to the - organization. If the trail is an organization trail and this is set to - `false`, the trail will remain in the current Amazon Web Services - account but be deleted from all member accounts in the organization. - - Note: - Only the management account for the organization can convert an - organization trail to a non-organization trail, or convert a - non-organization trail to an organization trail. - """ - recursive_logging: bool | None = ... - """ - Specifies whether recursive logging is enabled for the trail. If you set - `RecursiveLogging` to `false`, CloudTrail suppresses events generated by - CloudTrail when it delivers log files to your trail's destinations, - including Amazon S3 and CloudWatch Logs. The default value is `true`. - """ - -@dataclass(kw_only=True) -class UpdateTrailOutput(_SerdeShape): - """ - Returns the objects or data listed below if successful. Otherwise, - returns an error. - """ - - name: str | None = ... - """Specifies the name of the trail.""" - s3_bucket_name: str | None = ... - """ - Specifies the name of the Amazon S3 bucket designated for publishing log - files. - """ - s3_key_prefix: str | None = ... - """ - Specifies the Amazon S3 key prefix that comes after the name of the - bucket you have designated for log file delivery. For more information, - see [Finding Your IAM Log - Files](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files). - """ - sns_topic_name: str | None = ... - """This field is no longer in use. Use `SnsTopicARN`.""" - sns_topic_arn: str | None = ... - """ - Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send - notifications when log files are delivered. The following is the format - of a topic ARN. - - `arn:aws:sns:us-east-2:123456789012:MyTopic` - """ - include_global_service_events: bool | None = ... - """ - Specifies whether the trail is publishing events from global services - such as IAM to the log files. Setting this value to `true` only delivers - global service events to the trail if the trail is multi-Region or if - the trail's home Region is the partition leader Region (for example, - us-east-1). - """ - is_multi_region_trail: bool | None = ... - """Specifies whether the trail exists in one Region or in all Regions.""" - trail_arn: str | None = ... - """ - Specifies the ARN of the trail that was updated. The following is the - format of a trail ARN. - - `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail` - """ - log_file_validation_enabled: bool | None = ... - """Specifies whether log file integrity validation is enabled.""" - cloud_watch_logs_log_group_arn: str | None = ... - """ - Specifies the Amazon Resource Name (ARN) of the log group to which - CloudTrail logs are delivered. - """ - cloud_watch_logs_role_arn: str | None = ... - """ - Specifies the role for the CloudWatch Logs endpoint to assume to write - to a user's log group. - """ - kms_key_id: str | None = ... - """ - Specifies the KMS key ID that encrypts the logs and digest files - delivered by CloudTrail. The value is a fully specified ARN to a KMS key - in the following format. - - `arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012` - """ - is_organization_trail: bool | None = ... - """Specifies whether the trail is an organization trail.""" - recursive_logging: bool | None = ... - """Specifies whether recursive logging is enabled for the trail.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Widget(_SerdeShape): - """A widget on a CloudTrail Lake dashboard.""" - - query_alias: str | None = ... - """The query alias used to identify the query for the widget.""" - query_statement: str | None = ... - """The SQL query statement for the widget.""" - query_parameters: list[str] | None = ... - """The query parameters for the widget.""" - view_properties: dict[str, str] | None = ... - """ - The view properties for the widget. For more information about view - properties, see [View properties for - widgets](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-widget-properties.html) - in the *CloudTrail User Guide*.. - """ - ADD_TAGS: APIOperation[AddTagsInput, AddTagsOutput] CANCEL_QUERY: APIOperation[CancelQueryInput, CancelQueryOutput] CREATE_CHANNEL: APIOperation[CreateChannelInput, CreateChannelOutput] diff --git a/clients/aws-sdk-cloudtrail/tests/test_endpoints.py b/clients/aws-sdk-cloudtrail/tests/test_endpoints.py index a9afd1826..dfbed459d 100644 --- a/clients/aws-sdk-cloudtrail/tests/test_endpoints.py +++ b/clients/aws-sdk-cloudtrail/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-cognito-identity/pyproject.toml b/clients/aws-sdk-cognito-identity/pyproject.toml index 09811d3f8..46a83e097 100644 --- a/clients/aws-sdk-cognito-identity/pyproject.toml +++ b/clients/aws-sdk-cognito-identity/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_cognito_identity" version = "0.12.0" -description = "aws_sdk_cognito_identity client" +description = "Python client for Amazon Cognito Identity" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_cognito_identity"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas.py b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas.py index 7bdd04335..e3c272df2 100644 --- a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas.py +++ b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas.py @@ -1,1525 +1,174 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.cognitoidentity" -_AKS = "AccessKeyString" -_AI = "AccountId" -_ARRT = "AmbiguousRoleResolutionType" -_AR = "AUTHENTICATED_ROLE" -_sV = "smithy.api#enumValue" -_ARu = "AuthenticatedRole" -_DENY = "DENY" -_D = "Deny" -_ARNS = "ARNString" -_CF = "ClassicFlow" -_IPU = "IdentityPoolUnauthenticated" -_s = "smithy.api#default" -_CIPCI = "CognitoIdentityProviderClientId" -_CIPN = "CognitoIdentityProviderName" -_CIPTC = "CognitoIdentityProviderTokenCheck" -_CIP = "CognitoIdentityProvider" -_PN = "ProviderName" -_CI = "ClientId" -_SSTC = "ServerSideTokenCheck" -_CIPL = "CognitoIdentityProviderList" -_m = "member" -_DPN = "DeveloperProviderName" -_IPN = "IdentityPoolName" -_TKT = "TagKeysType" -_TVT = "TagValueType" -_IPTT = "IdentityPoolTagsType" -_k = "key" -_v = "value" -_OIDCPL = "OIDCProviderList" -_SAMLPL = "SAMLProviderList" -_IPNd = "IdentityProviderName" -_IPI = "IdentityProviderId" -_IP = "IdentityProviders" -_CIPI = "CreateIdentityPoolInput" -_sm = "smithy.api#input" -_smi = "smithy.api#required" -_AUI = "AllowUnauthenticatedIdentities" -_ACF = "AllowClassicFlow" -_SLP = "SupportedLoginProviders" -_OICPARN = "OpenIdConnectProviderARNs" -_CIPo = "CognitoIdentityProviders" -_SPARN = "SamlProviderARNs" -_IPT = "IdentityPoolTags" -_IPId = "IdentityPoolId" -_CIPO = "CreateIdentityPoolOutput" -_sSI = "smithy.synthetic#originalShapeId" -_cIP = "com.amazonaws.cognitoidentity#IdentityPool" -_smit = "smithy.api#output" -_S = "String" -_IEE = "InternalErrorException" -_smith = "smithy.api#error" -_se = "server" -_me = "message" -_IPE = "InvalidParameterException" -_c = "client" -_sE = "smithy.api#httpError" -_LEE = "LimitExceededException" -_NAE = "NotAuthorizedException" -_RCE = "ResourceConflictException" -_TMRE = "TooManyRequestsException" -_CIPr = "CreateIdentityPool" -_II = "IdentityId" -_IIL = "IdentityIdList" -_DII = "DeleteIdentitiesInput" -_IITD = "IdentityIdsToDelete" -_EC = "ErrorCode" -_AD = "ACCESS_DENIED" -_ADc = "AccessDenied" -_ISE = "INTERNAL_SERVER_ERROR" -_ISEn = "InternalServerError" -_UII = "UnprocessedIdentityId" -_UIIL = "UnprocessedIdentityIdList" -_DIO = "DeleteIdentitiesOutput" -_cDIR = "com.amazonaws.cognitoidentity#DeleteIdentitiesResponse" -_UIIn = "UnprocessedIdentityIds" -_DI = "DeleteIdentities" -_DIPI = "DeleteIdentityPoolInput" -_DIPO = "DeleteIdentityPoolOutput" -_sU = "smithy.api#Unit" -_RNFE = "ResourceNotFoundException" -_DIP = "DeleteIdentityPool" -_DIIe = "DescribeIdentityInput" -_DT = "DateType" -_LL = "LoginsList" -_DIOe = "DescribeIdentityOutput" -_cID = "com.amazonaws.cognitoidentity#IdentityDescription" -_L = "Logins" -_CD = "CreationDate" -_LMD = "LastModifiedDate" -_DIe = "DescribeIdentity" -_DIPIe = "DescribeIdentityPoolInput" -_DIPOe = "DescribeIdentityPoolOutput" -_DIPe = "DescribeIdentityPool" -_ESE = "ExternalServiceException" -_IPTd = "IdentityProviderToken" -_smithy = "smithy.api#sensitive" -_LM = "LoginsMap" -_GCFII = "GetCredentialsForIdentityInput" -_CRA = "CustomRoleArn" -_SKS = "SecretKeyString" -_STS = "SessionTokenString" -_C = "Credentials" -_AKI = "AccessKeyId" -_SK = "SecretKey" -_ST = "SessionToken" -_E = "Expiration" -_GCFIO = "GetCredentialsForIdentityOutput" -_cGCFIR = "com.amazonaws.cognitoidentity#GetCredentialsForIdentityResponse" -_IIPCE = "InvalidIdentityPoolConfigurationException" -_GCFI = "GetCredentialsForIdentity" -_GII = "GetIdInput" -_GIO = "GetIdOutput" -_cGIR = "com.amazonaws.cognitoidentity#GetIdResponse" -_GI = "GetId" -_GIPRI = "GetIdentityPoolRolesInput" -_CN = "ClaimName" -_MRMT = "MappingRuleMatchType" -_EQUALS = "EQUALS" -_Eq = "Equals" -_CONTAINS = "CONTAINS" -_Co = "Contains" -_SW = "STARTS_WITH" -_SWt = "StartsWith" -_NE = "NOT_EQUAL" -_NEo = "NotEqual" -_CV = "ClaimValue" -_MR = "MappingRule" -_Cl = "Claim" -_MT = "MatchType" -_V = "Value" -_RARN = "RoleARN" -_MRL = "MappingRulesList" -_RCT = "RulesConfigurationType" -_R = "Rules" -_RMT = "RoleMappingType" -_TOKEN = "TOKEN" -_T = "Token" -_RULES = "RULES" -_RM = "RoleMapping" -_Ty = "Type" -_ARR = "AmbiguousRoleResolution" -_RC = "RulesConfiguration" -_RMM = "RoleMappingMap" -_RT = "RoleType" -_RMo = "RolesMap" -_GIPRO = "GetIdentityPoolRolesOutput" -_cGIPRR = "com.amazonaws.cognitoidentity#GetIdentityPoolRolesResponse" -_Ro = "Roles" -_RMol = "RoleMappings" -_GIPR = "GetIdentityPoolRoles" -_GOITI = "GetOpenIdTokenInput" -_OIDCT = "OIDCToken" -_GOITO = "GetOpenIdTokenOutput" -_cGOITR = "com.amazonaws.cognitoidentity#GetOpenIdTokenResponse" -_GOIT = "GetOpenIdToken" -_DUARE = "DeveloperUserAlreadyRegisteredException" -_PTID = "PrincipalTagID" -_PTV = "PrincipalTagValue" -_PT = "PrincipalTags" -_TD = "TokenDuration" -_GOITFDII = "GetOpenIdTokenForDeveloperIdentityInput" -_GOITFDIO = "GetOpenIdTokenForDeveloperIdentityOutput" -_cGOITFDIR = "com.amazonaws.cognitoidentity#GetOpenIdTokenForDeveloperIdentityResponse" -_GOITFDI = "GetOpenIdTokenForDeveloperIdentity" -_GPTAMI = "GetPrincipalTagAttributeMapInput" -_UD = "UseDefaults" -_GPTAMO = "GetPrincipalTagAttributeMapOutput" -_cGPTAMR = "com.amazonaws.cognitoidentity#GetPrincipalTagAttributeMapResponse" -_GPTAM = "GetPrincipalTagAttributeMap" -_HD = "HideDisabled" -_QL = "QueryLimit" -_PK = "PaginationKey" -_LII = "ListIdentitiesInput" -_MRa = "MaxResults" -_NT = "NextToken" -_ID = "IdentityDescription" -_IL = "IdentitiesList" -_LIO = "ListIdentitiesOutput" -_cLIR = "com.amazonaws.cognitoidentity#ListIdentitiesResponse" -_I = "Identities" -_LI = "ListIdentities" -_LIPI = "ListIdentityPoolsInput" -_IPSD = "IdentityPoolShortDescription" -_IPL = "IdentityPoolsList" -_LIPO = "ListIdentityPoolsOutput" -_cLIPR = "com.amazonaws.cognitoidentity#ListIdentityPoolsResponse" -_IPd = "IdentityPools" -_LIP = "ListIdentityPools" -_LTFRI = "ListTagsForResourceInput" -_RA = "ResourceArn" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRR = "com.amazonaws.cognitoidentity#ListTagsForResourceResponse" -_Ta = "Tags" -_LTFR = "ListTagsForResource" -_DUI = "DeveloperUserIdentifier" -_LDII = "LookupDeveloperIdentityInput" -_DUIL = "DeveloperUserIdentifierList" -_LDIO = "LookupDeveloperIdentityOutput" -_cLDIR = "com.amazonaws.cognitoidentity#LookupDeveloperIdentityResponse" -_LDI = "LookupDeveloperIdentity" -_MDII = "MergeDeveloperIdentitiesInput" -_SUI = "SourceUserIdentifier" -_DUIe = "DestinationUserIdentifier" -_MDIO = "MergeDeveloperIdentitiesOutput" -_cMDIR = "com.amazonaws.cognitoidentity#MergeDeveloperIdentitiesResponse" -_MDI = "MergeDeveloperIdentities" -_CME = "ConcurrentModificationException" -_SIPRI = "SetIdentityPoolRolesInput" -_SIPRO = "SetIdentityPoolRolesOutput" -_SIPR = "SetIdentityPoolRoles" -_SPTAMI = "SetPrincipalTagAttributeMapInput" -_SPTAMO = "SetPrincipalTagAttributeMapOutput" -_cSPTAMR = "com.amazonaws.cognitoidentity#SetPrincipalTagAttributeMapResponse" -_SPTAM = "SetPrincipalTagAttributeMap" -_TRI = "TagResourceInput" -_TRO = "TagResourceOutput" -_cTRR = "com.amazonaws.cognitoidentity#TagResourceResponse" -_TR = "TagResource" -_UDII = "UnlinkDeveloperIdentityInput" -_UDIO = "UnlinkDeveloperIdentityOutput" -_UDI = "UnlinkDeveloperIdentity" -_UIInl = "UnlinkIdentityInput" -_LTR = "LoginsToRemove" -_UIO = "UnlinkIdentityOutput" -_UI = "UnlinkIdentity" -_IPTLT = "IdentityPoolTagsListType" -_URI = "UntagResourceInput" -_TK = "TagKeys" -_URO = "UntagResourceOutput" -_cURR = "com.amazonaws.cognitoidentity#UntagResourceResponse" -_UR = "UntagResource" -_UIPI = "UpdateIdentityPoolInput" -_UIPO = "UpdateIdentityPoolOutput" -_UIP = "UpdateIdentityPool" -_AWSCIS = "AWSCognitoIdentityService" -_a = "aws.auth#sigv4" -_a_ = "aws.protocols#awsJson1_1" -_aw = "aws.api#service" -_sN = "smithy.api#xmlNamespace" - -ACCESS_KEY_STRING: StaticSchema = (3, n0, _AKS, 0) - -ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) - -AMBIGUOUS_ROLE_RESOLUTION_TYPE: StaticSchema = ( - 14, - n0, - _ARRT, - 0, - (_AR, _DENY), - ((-1, {_sV: _ARu}), (-1, {_sV: _D})), -) - -ARN_STRING: StaticSchema = (3, n0, _ARNS, 0) - -CLASSIC_FLOW: StaticSchema = (2, n0, _CF, 0) - -IDENTITY_POOL_UNAUTHENTICATED: StaticSchema = (2, n0, _IPU, {_s: False}) - -COGNITO_IDENTITY_PROVIDER_CLIENT_ID: StaticSchema = (3, n0, _CIPCI, 0) - -COGNITO_IDENTITY_PROVIDER_NAME: StaticSchema = (3, n0, _CIPN, 0) - -COGNITO_IDENTITY_PROVIDER_TOKEN_CHECK: StaticSchema = (2, n0, _CIPTC, {_s: False}) - -COGNITO_IDENTITY_PROVIDER: StaticSchema = ( - 18, - n0, - _CIP, - 0, - (_PN, _CI, _SSTC), - ( - (COGNITO_IDENTITY_PROVIDER_NAME, 0), - (COGNITO_IDENTITY_PROVIDER_CLIENT_ID, 0), - (COGNITO_IDENTITY_PROVIDER_TOKEN_CHECK, {_s: None}), - ), -) - -COGNITO_IDENTITY_PROVIDER_LIST: StaticSchema = ( - 16, - n0, - _CIPL, - 0, - (_m,), - ((COGNITO_IDENTITY_PROVIDER, 0),), -) - -DEVELOPER_PROVIDER_NAME: StaticSchema = (3, n0, _DPN, 0) - -IDENTITY_POOL_NAME: StaticSchema = (3, n0, _IPN, 0) - -TAG_KEYS_TYPE: StaticSchema = (3, n0, _TKT, 0) - -TAG_VALUE_TYPE: StaticSchema = (3, n0, _TVT, 0) - -IDENTITY_POOL_TAGS_TYPE: StaticSchema = ( - 17, - n0, - _IPTT, - 0, - (_k, _v), - ((TAG_KEYS_TYPE, 0), (TAG_VALUE_TYPE, 0)), -) - -OIDC_PROVIDER_LIST: StaticSchema = (16, n0, _OIDCPL, 0, (_m,), ((ARN_STRING, 0),)) - -SAML_PROVIDER_LIST: StaticSchema = (16, n0, _SAMLPL, 0, (_m,), ((ARN_STRING, 0),)) - -IDENTITY_PROVIDER_NAME: StaticSchema = (3, n0, _IPNd, 0) - -IDENTITY_PROVIDER_ID: StaticSchema = (3, n0, _IPI, 0) - -IDENTITY_PROVIDERS: StaticSchema = ( - 17, - n0, - _IP, - 0, - (_k, _v), - ((IDENTITY_PROVIDER_NAME, 0), (IDENTITY_PROVIDER_ID, 0)), -) - -CREATE_IDENTITY_POOL_INPUT: StaticSchema = ( - 18, - n0, - _CIPI, - {_sm: None}, - (_IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), - ( - (IDENTITY_POOL_NAME, 1), - (IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), - (CLASSIC_FLOW, 0), - (IDENTITY_PROVIDERS, 0), - (DEVELOPER_PROVIDER_NAME, 0), - (OIDC_PROVIDER_LIST, 0), - (COGNITO_IDENTITY_PROVIDER_LIST, 0), - (SAML_PROVIDER_LIST, 0), - (IDENTITY_POOL_TAGS_TYPE, 0), - ), -) - -IDENTITY_POOL_ID: StaticSchema = (3, n0, _IPId, 0) - -CREATE_IDENTITY_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _CIPO, - {_sSI: _cIP, _smit: None}, - (_IPId, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), - ( - (IDENTITY_POOL_ID, 1), - (IDENTITY_POOL_NAME, 1), - (IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), - (CLASSIC_FLOW, 0), - (IDENTITY_PROVIDERS, 0), - (DEVELOPER_PROVIDER_NAME, 0), - (OIDC_PROVIDER_LIST, 0), - (COGNITO_IDENTITY_PROVIDER_LIST, 0), - (SAML_PROVIDER_LIST, 0), - (IDENTITY_POOL_TAGS_TYPE, 0), - ), -) - -STRING: StaticSchema = (3, n0, _S, 0) - -INTERNAL_ERROR_EXCEPTION: StaticSchema = ( - 18, - n0, - _IEE, - {_smith: _se}, - (_me,), - ((STRING, 0),), -) - -INVALID_PARAMETER_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPE, - {_smith: _c, _sE: 400}, - (_me,), - ((STRING, 0),), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - {_smith: _c, _sE: 400}, - (_me,), - ((STRING, 0),), -) - -NOT_AUTHORIZED_EXCEPTION: StaticSchema = ( - 18, - n0, - _NAE, - {_smith: _c, _sE: 403}, - (_me,), - ((STRING, 0),), -) - -RESOURCE_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _RCE, - {_smith: _c, _sE: 409}, - (_me,), - ((STRING, 0),), -) - -TOO_MANY_REQUESTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TMRE, - {_smith: _c, _sE: 429}, - (_me,), - ((STRING, 0),), -) - -CREATE_IDENTITY_POOL: StaticOperationSchema = ( - 23, - n0, - _CIPr, - 0, - CREATE_IDENTITY_POOL_INPUT, - CREATE_IDENTITY_POOL_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -IDENTITY_ID: StaticSchema = (3, n0, _II, 0) - -IDENTITY_ID_LIST: StaticSchema = (16, n0, _IIL, 0, (_m,), ((IDENTITY_ID, 0),)) - -DELETE_IDENTITIES_INPUT: StaticSchema = ( - 18, - n0, - _DII, - {_sm: None}, - (_IITD,), - ((IDENTITY_ID_LIST, 1),), -) - -ERROR_CODE: StaticSchema = ( - 14, - n0, - _EC, - 0, - (_AD, _ISE), - ((-1, {_sV: _ADc}), (-1, {_sV: _ISEn})), -) - -UNPROCESSED_IDENTITY_ID: StaticSchema = ( - 18, - n0, - _UII, - 0, - (_II, _EC), - ((IDENTITY_ID, 0), (ERROR_CODE, 0)), -) - -UNPROCESSED_IDENTITY_ID_LIST: StaticSchema = ( - 16, - n0, - _UIIL, - 0, - (_m,), - ((UNPROCESSED_IDENTITY_ID, 0),), -) - -DELETE_IDENTITIES_OUTPUT: StaticSchema = ( - 18, - n0, - _DIO, - {_sSI: _cDIR, _smit: None}, - (_UIIn,), - ((UNPROCESSED_IDENTITY_ID_LIST, 0),), -) - -DELETE_IDENTITIES: StaticOperationSchema = ( - 23, - n0, - _DI, - 0, - DELETE_IDENTITIES_INPUT, - DELETE_IDENTITIES_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DELETE_IDENTITY_POOL_INPUT: StaticSchema = ( - 18, - n0, - _DIPI, - {_sm: None}, - (_IPId,), - ((IDENTITY_POOL_ID, 1),), -) - -DELETE_IDENTITY_POOL_OUTPUT: StaticSchema = (18, n0, _DIPO, {_sSI: _sU, _smit: None}) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_smith: _c, _sE: 404}, - (_me,), - ((STRING, 0),), -) - -DELETE_IDENTITY_POOL: StaticOperationSchema = ( - 23, - n0, - _DIP, - 0, - DELETE_IDENTITY_POOL_INPUT, - DELETE_IDENTITY_POOL_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DESCRIBE_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _DIIe, - {_sm: None}, - (_II,), - ((IDENTITY_ID, 1),), -) - -DATE_TYPE: StaticSchema = (4, n0, _DT, 0) - -LOGINS_LIST: StaticSchema = (16, n0, _LL, 0, (_m,), ((IDENTITY_PROVIDER_NAME, 0),)) - -DESCRIBE_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOe, - {_sSI: _cID, _smit: None}, - (_II, _L, _CD, _LMD), - ((IDENTITY_ID, 0), (LOGINS_LIST, 0), (DATE_TYPE, 0), (DATE_TYPE, 0)), -) - -DESCRIBE_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _DIe, - 0, - DESCRIBE_IDENTITY_INPUT, - DESCRIBE_IDENTITY_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DESCRIBE_IDENTITY_POOL_INPUT: StaticSchema = ( - 18, - n0, - _DIPIe, - {_sm: None}, - (_IPId,), - ((IDENTITY_POOL_ID, 1),), -) - -DESCRIBE_IDENTITY_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPOe, - {_sSI: _cIP, _smit: None}, - (_IPId, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), - ( - (IDENTITY_POOL_ID, 1), - (IDENTITY_POOL_NAME, 1), - (IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), - (CLASSIC_FLOW, 0), - (IDENTITY_PROVIDERS, 0), - (DEVELOPER_PROVIDER_NAME, 0), - (OIDC_PROVIDER_LIST, 0), - (COGNITO_IDENTITY_PROVIDER_LIST, 0), - (SAML_PROVIDER_LIST, 0), - (IDENTITY_POOL_TAGS_TYPE, 0), - ), -) - -DESCRIBE_IDENTITY_POOL: StaticOperationSchema = ( - 23, - n0, - _DIPe, - 0, - DESCRIBE_IDENTITY_POOL_INPUT, - DESCRIBE_IDENTITY_POOL_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -EXTERNAL_SERVICE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ESE, - {_smith: _c, _sE: 400}, - (_me,), - ((STRING, 0),), -) - -IDENTITY_PROVIDER_TOKEN: StaticSchema = (3, n0, _IPTd, 4) - -LOGINS_MAP: StaticSchema = ( - 17, - n0, - _LM, - 0, - (_k, _v), - ((IDENTITY_PROVIDER_NAME, 0), (IDENTITY_PROVIDER_TOKEN, 0)), -) - -GET_CREDENTIALS_FOR_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _GCFII, - {_sm: None}, - (_II, _L, _CRA), - ((IDENTITY_ID, 1), (LOGINS_MAP, 0), (ARN_STRING, 0)), -) - -SECRET_KEY_STRING: StaticSchema = (3, n0, _SKS, 4) - -SESSION_TOKEN_STRING: StaticSchema = (3, n0, _STS, 0) - -CREDENTIALS: StaticSchema = ( - 18, - n0, - _C, - 0, - (_AKI, _SK, _ST, _E), - ( - (ACCESS_KEY_STRING, 0), - (SECRET_KEY_STRING, 0), - (SESSION_TOKEN_STRING, 0), - (DATE_TYPE, 0), - ), -) - -GET_CREDENTIALS_FOR_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _GCFIO, - {_sSI: _cGCFIR, _smit: None}, - (_II, _C), - ((IDENTITY_ID, 0), (CREDENTIALS, 0)), -) - -INVALID_IDENTITY_POOL_CONFIGURATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _IIPCE, - {_smith: _c, _sE: 400}, - (_me,), - ((STRING, 0),), -) - -GET_CREDENTIALS_FOR_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _GCFI, - 0, - GET_CREDENTIALS_FOR_IDENTITY_INPUT, - GET_CREDENTIALS_FOR_IDENTITY_OUTPUT, - ( - EXTERNAL_SERVICE_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_IDENTITY_POOL_CONFIGURATION_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_ID_INPUT: StaticSchema = ( - 18, - n0, - _GII, - {_sm: None}, - (_AI, _IPId, _L), - ((ACCOUNT_ID, 0), (IDENTITY_POOL_ID, 1), (LOGINS_MAP, 0)), -) - -GET_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _GIO, - {_sSI: _cGIR, _smit: None}, - (_II,), - ((IDENTITY_ID, 0),), -) - -GET_ID: StaticOperationSchema = ( - 23, - n0, - _GI, - 0, - GET_ID_INPUT, - GET_ID_OUTPUT, - ( - EXTERNAL_SERVICE_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_IDENTITY_POOL_ROLES_INPUT: StaticSchema = ( - 18, - n0, - _GIPRI, - {_sm: None}, - (_IPId,), - ((IDENTITY_POOL_ID, 1),), -) - -CLAIM_NAME: StaticSchema = (3, n0, _CN, 0) - -MAPPING_RULE_MATCH_TYPE: StaticSchema = ( - 14, - n0, - _MRMT, - 0, - (_EQUALS, _CONTAINS, _SW, _NE), - ((-1, {_sV: _Eq}), (-1, {_sV: _Co}), (-1, {_sV: _SWt}), (-1, {_sV: _NEo})), -) - -CLAIM_VALUE: StaticSchema = (3, n0, _CV, 0) - -MAPPING_RULE: StaticSchema = ( - 18, - n0, - _MR, - 0, - (_Cl, _MT, _V, _RARN), - ((CLAIM_NAME, 1), (MAPPING_RULE_MATCH_TYPE, 1), (CLAIM_VALUE, 1), (ARN_STRING, 1)), -) - -MAPPING_RULES_LIST: StaticSchema = (16, n0, _MRL, 0, (_m,), ((MAPPING_RULE, 0),)) - -RULES_CONFIGURATION_TYPE: StaticSchema = ( - 18, - n0, - _RCT, - 0, - (_R,), - ((MAPPING_RULES_LIST, 1),), -) - -ROLE_MAPPING_TYPE: StaticSchema = ( - 14, - n0, - _RMT, - 0, - (_TOKEN, _RULES), - ((-1, {_sV: _T}), (-1, {_sV: _R})), -) - -ROLE_MAPPING: StaticSchema = ( - 18, - n0, - _RM, - 0, - (_Ty, _ARR, _RC), - ( - (ROLE_MAPPING_TYPE, 1), - (AMBIGUOUS_ROLE_RESOLUTION_TYPE, 0), - (RULES_CONFIGURATION_TYPE, 0), - ), -) - -ROLE_MAPPING_MAP: StaticSchema = ( - 17, - n0, - _RMM, - 0, - (_k, _v), - ((IDENTITY_PROVIDER_NAME, 0), (ROLE_MAPPING, 0)), -) - -ROLE_TYPE: StaticSchema = (3, n0, _RT, 0) - -ROLES_MAP: StaticSchema = (17, n0, _RMo, 0, (_k, _v), ((ROLE_TYPE, 0), (ARN_STRING, 0))) - -GET_IDENTITY_POOL_ROLES_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPRO, - {_sSI: _cGIPRR, _smit: None}, - (_IPId, _Ro, _RMol), - ((IDENTITY_POOL_ID, 0), (ROLES_MAP, 0), (ROLE_MAPPING_MAP, 0)), -) - -GET_IDENTITY_POOL_ROLES: StaticOperationSchema = ( - 23, - n0, - _GIPR, - 0, - GET_IDENTITY_POOL_ROLES_INPUT, - GET_IDENTITY_POOL_ROLES_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_OPEN_ID_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _GOITI, - {_sm: None}, - (_II, _L), - ((IDENTITY_ID, 1), (LOGINS_MAP, 0)), -) - -OIDC_TOKEN: StaticSchema = (3, n0, _OIDCT, 4) - -GET_OPEN_ID_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _GOITO, - {_sSI: _cGOITR, _smit: None}, - (_II, _T), - ((IDENTITY_ID, 0), (OIDC_TOKEN, 0)), -) - -GET_OPEN_ID_TOKEN: StaticOperationSchema = ( - 23, - n0, - _GOIT, - 0, - GET_OPEN_ID_TOKEN_INPUT, - GET_OPEN_ID_TOKEN_OUTPUT, - ( - EXTERNAL_SERVICE_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DEVELOPER_USER_ALREADY_REGISTERED_EXCEPTION: StaticSchema = ( - 18, - n0, - _DUARE, - {_smith: _c, _sE: 400}, - (_me,), - ((STRING, 0),), -) - -PRINCIPAL_TAG_ID: StaticSchema = (3, n0, _PTID, 0) - -PRINCIPAL_TAG_VALUE: StaticSchema = (3, n0, _PTV, 0) - -PRINCIPAL_TAGS: StaticSchema = ( - 17, - n0, - _PT, - 0, - (_k, _v), - ((PRINCIPAL_TAG_ID, 0), (PRINCIPAL_TAG_VALUE, 0)), -) - -TOKEN_DURATION: StaticSchema = (8, n0, _TD, 0) - -GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _GOITFDII, - {_sm: None}, - (_IPId, _II, _L, _PT, _TD), - ( - (IDENTITY_POOL_ID, 1), - (IDENTITY_ID, 0), - (LOGINS_MAP, 1), - (PRINCIPAL_TAGS, 0), - (TOKEN_DURATION, 0), - ), -) - -GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _GOITFDIO, - {_sSI: _cGOITFDIR, _smit: None}, - (_II, _T), - ((IDENTITY_ID, 0), (OIDC_TOKEN, 0)), -) - -GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _GOITFDI, - 0, - GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_INPUT, - GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_OUTPUT, - ( - DEVELOPER_USER_ALREADY_REGISTERED_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT: StaticSchema = ( - 18, - n0, - _GPTAMI, - {_sm: None}, - (_IPId, _IPNd), - ((IDENTITY_POOL_ID, 1), (IDENTITY_PROVIDER_NAME, 1)), -) - -USE_DEFAULTS: StaticSchema = (2, n0, _UD, 0) - -GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT: StaticSchema = ( - 18, - n0, - _GPTAMO, - {_sSI: _cGPTAMR, _smit: None}, - (_IPId, _IPNd, _UD, _PT), - ( - (IDENTITY_POOL_ID, 0), - (IDENTITY_PROVIDER_NAME, 0), - (USE_DEFAULTS, 0), - (PRINCIPAL_TAGS, 0), - ), -) - -GET_PRINCIPAL_TAG_ATTRIBUTE_MAP: StaticOperationSchema = ( - 23, - n0, - _GPTAM, - 0, - GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT, - GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -HIDE_DISABLED: StaticSchema = (2, n0, _HD, {_s: False}) - -QUERY_LIMIT: StaticSchema = (7, n0, _QL, 0) - -PAGINATION_KEY: StaticSchema = (3, n0, _PK, 0) - -LIST_IDENTITIES_INPUT: StaticSchema = ( - 18, - n0, - _LII, - {_sm: None}, - (_IPId, _MRa, _NT, _HD), - ( - (IDENTITY_POOL_ID, 1), - (QUERY_LIMIT, 1), - (PAGINATION_KEY, 0), - (HIDE_DISABLED, {_s: False}), - ), -) - -IDENTITY_DESCRIPTION: StaticSchema = ( - 18, - n0, - _ID, - 0, - (_II, _L, _CD, _LMD), - ((IDENTITY_ID, 0), (LOGINS_LIST, 0), (DATE_TYPE, 0), (DATE_TYPE, 0)), -) - -IDENTITIES_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((IDENTITY_DESCRIPTION, 0),)) - -LIST_IDENTITIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LIO, - {_sSI: _cLIR, _smit: None}, - (_IPId, _I, _NT), - ((IDENTITY_POOL_ID, 0), (IDENTITIES_LIST, 0), (PAGINATION_KEY, 0)), -) - -LIST_IDENTITIES: StaticOperationSchema = ( - 23, - n0, - _LI, - 0, - LIST_IDENTITIES_INPUT, - LIST_IDENTITIES_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -LIST_IDENTITY_POOLS_INPUT: StaticSchema = ( - 18, - n0, - _LIPI, - {_sm: None}, - (_MRa, _NT), - ((QUERY_LIMIT, 1), (PAGINATION_KEY, 0)), -) - -IDENTITY_POOL_SHORT_DESCRIPTION: StaticSchema = ( - 18, - n0, - _IPSD, - 0, - (_IPId, _IPN), - ((IDENTITY_POOL_ID, 0), (IDENTITY_POOL_NAME, 0)), -) - -IDENTITY_POOLS_LIST: StaticSchema = ( - 16, - n0, - _IPL, - 0, - (_m,), - ((IDENTITY_POOL_SHORT_DESCRIPTION, 0),), -) - -LIST_IDENTITY_POOLS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIPO, - {_sSI: _cLIPR, _smit: None}, - (_IPd, _NT), - ((IDENTITY_POOLS_LIST, 0), (PAGINATION_KEY, 0)), -) - -LIST_IDENTITY_POOLS: StaticOperationSchema = ( - 23, - n0, - _LIP, - 0, - LIST_IDENTITY_POOLS_INPUT, - LIST_IDENTITY_POOLS_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sm: None}, - (_RA,), - ((ARN_STRING, 1),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRR, _smit: None}, - (_Ta,), - ((IDENTITY_POOL_TAGS_TYPE, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - 0, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DEVELOPER_USER_IDENTIFIER: StaticSchema = (3, n0, _DUI, 0) - -LOOKUP_DEVELOPER_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _LDII, - {_sm: None}, - (_IPId, _II, _DUI, _MRa, _NT), - ( - (IDENTITY_POOL_ID, 1), - (IDENTITY_ID, 0), - (DEVELOPER_USER_IDENTIFIER, 0), - (QUERY_LIMIT, 0), - (PAGINATION_KEY, 0), - ), -) - -DEVELOPER_USER_IDENTIFIER_LIST: StaticSchema = ( - 16, - n0, - _DUIL, - 0, - (_m,), - ((DEVELOPER_USER_IDENTIFIER, 0),), -) - -LOOKUP_DEVELOPER_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _LDIO, - {_sSI: _cLDIR, _smit: None}, - (_II, _DUIL, _NT), - ((IDENTITY_ID, 0), (DEVELOPER_USER_IDENTIFIER_LIST, 0), (PAGINATION_KEY, 0)), -) - -LOOKUP_DEVELOPER_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _LDI, - 0, - LOOKUP_DEVELOPER_IDENTITY_INPUT, - LOOKUP_DEVELOPER_IDENTITY_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -MERGE_DEVELOPER_IDENTITIES_INPUT: StaticSchema = ( - 18, - n0, - _MDII, - {_sm: None}, - (_SUI, _DUIe, _DPN, _IPId), - ( - (DEVELOPER_USER_IDENTIFIER, 1), - (DEVELOPER_USER_IDENTIFIER, 1), - (DEVELOPER_PROVIDER_NAME, 1), - (IDENTITY_POOL_ID, 1), - ), -) - -MERGE_DEVELOPER_IDENTITIES_OUTPUT: StaticSchema = ( - 18, - n0, - _MDIO, - {_sSI: _cMDIR, _smit: None}, - (_II,), - ((IDENTITY_ID, 0),), -) - -MERGE_DEVELOPER_IDENTITIES: StaticOperationSchema = ( - 23, - n0, - _MDI, - 0, - MERGE_DEVELOPER_IDENTITIES_INPUT, - MERGE_DEVELOPER_IDENTITIES_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -CONCURRENT_MODIFICATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _CME, - {_smith: _c, _sE: 400}, - (_me,), - ((STRING, 0),), -) - -SET_IDENTITY_POOL_ROLES_INPUT: StaticSchema = ( - 18, - n0, - _SIPRI, - {_sm: None}, - (_IPId, _Ro, _RMol), - ((IDENTITY_POOL_ID, 1), (ROLES_MAP, 1), (ROLE_MAPPING_MAP, 0)), -) - -SET_IDENTITY_POOL_ROLES_OUTPUT: StaticSchema = ( - 18, - n0, - _SIPRO, - {_sSI: _sU, _smit: None}, -) - -SET_IDENTITY_POOL_ROLES: StaticOperationSchema = ( - 23, - n0, - _SIPR, - 0, - SET_IDENTITY_POOL_ROLES_INPUT, - SET_IDENTITY_POOL_ROLES_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT: StaticSchema = ( - 18, - n0, - _SPTAMI, - {_sm: None}, - (_IPId, _IPNd, _UD, _PT), - ( - (IDENTITY_POOL_ID, 1), - (IDENTITY_PROVIDER_NAME, 1), - (USE_DEFAULTS, 0), - (PRINCIPAL_TAGS, 0), - ), -) - -SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT: StaticSchema = ( - 18, - n0, - _SPTAMO, - {_sSI: _cSPTAMR, _smit: None}, - (_IPId, _IPNd, _UD, _PT), - ( - (IDENTITY_POOL_ID, 0), - (IDENTITY_PROVIDER_NAME, 0), - (USE_DEFAULTS, 0), - (PRINCIPAL_TAGS, 0), - ), -) - -SET_PRINCIPAL_TAG_ATTRIBUTE_MAP: StaticOperationSchema = ( - 23, - n0, - _SPTAM, - 0, - SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT, - SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sm: None}, - (_RA, _Ta), - ((ARN_STRING, 1), (IDENTITY_POOL_TAGS_TYPE, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRR, _smit: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - 0, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UNLINK_DEVELOPER_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _UDII, - {_sm: None}, - (_II, _IPId, _DPN, _DUI), - ( - (IDENTITY_ID, 1), - (IDENTITY_POOL_ID, 1), - (DEVELOPER_PROVIDER_NAME, 1), - (DEVELOPER_USER_IDENTIFIER, 1), - ), -) - -UNLINK_DEVELOPER_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _UDIO, - {_sSI: _sU, _smit: None}, -) - -UNLINK_DEVELOPER_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _UDI, - 0, - UNLINK_DEVELOPER_IDENTITY_INPUT, - UNLINK_DEVELOPER_IDENTITY_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UNLINK_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _UIInl, - {_sm: None}, - (_II, _L, _LTR), - ((IDENTITY_ID, 1), (LOGINS_MAP, 1), (LOGINS_LIST, 1)), -) - -UNLINK_IDENTITY_OUTPUT: StaticSchema = (18, n0, _UIO, {_sSI: _sU, _smit: None}) - -UNLINK_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _UI, - 0, - UNLINK_IDENTITY_INPUT, - UNLINK_IDENTITY_OUTPUT, - ( - EXTERNAL_SERVICE_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -IDENTITY_POOL_TAGS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _IPTLT, - 0, - (_m,), - ((TAG_KEYS_TYPE, 0),), -) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sm: None}, - (_RA, _TK), - ((ARN_STRING, 1), (IDENTITY_POOL_TAGS_LIST_TYPE, 1)), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURR, _smit: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - 0, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UPDATE_IDENTITY_POOL_INPUT: StaticSchema = ( - 18, - n0, - _UIPI, - {_sSI: _cIP, _sm: None}, - (_IPId, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), - ( - (IDENTITY_POOL_ID, 1), - (IDENTITY_POOL_NAME, 1), - (IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), - (CLASSIC_FLOW, 0), - (IDENTITY_PROVIDERS, 0), - (DEVELOPER_PROVIDER_NAME, 0), - (OIDC_PROVIDER_LIST, 0), - (COGNITO_IDENTITY_PROVIDER_LIST, 0), - (SAML_PROVIDER_LIST, 0), - (IDENTITY_POOL_TAGS_TYPE, 0), - ), -) - -UPDATE_IDENTITY_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _UIPO, - {_sSI: _cIP, _smit: None}, - (_IPId, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), - ( - (IDENTITY_POOL_ID, 1), - (IDENTITY_POOL_NAME, 1), - (IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), - (CLASSIC_FLOW, 0), - (IDENTITY_PROVIDERS, 0), - (DEVELOPER_PROVIDER_NAME, 0), - (OIDC_PROVIDER_LIST, 0), - (COGNITO_IDENTITY_PROVIDER_LIST, 0), - (SAML_PROVIDER_LIST, 0), - (IDENTITY_POOL_TAGS_TYPE, 0), - ), -) - -UPDATE_IDENTITY_POOL: StaticOperationSchema = ( - 23, - n0, - _UIP, - 0, - UPDATE_IDENTITY_POOL_INPUT, - UPDATE_IDENTITY_POOL_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_AUTHORIZED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -AWS_COGNITO_IDENTITY_SERVICE: StaticSchema = ( - 21, - n0, - _AWSCIS, - { - _a: MappingProxyType({"name": "cognito-identity"}), - _a_: None, - _aw: MappingProxyType( - { - "sdkId": "Cognito Identity", - "arnNamespace": "cognito-identity", - "cloudFormationName": "Cognito", - "cloudTrailEventSource": "cognito-identity.amazonaws.com", - "endpointPrefix": "cognito-identity", - } - ), - _sN: MappingProxyType( - {"uri": "http://cognito-identity.amazonaws.com/doc/2014-06-30/"} - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ACCESS_KEY_STRING", + "ACCOUNT_ID", + "AMBIGUOUS_ROLE_RESOLUTION_TYPE", + "ARN_STRING", + "CLASSIC_FLOW", + "IDENTITY_POOL_UNAUTHENTICATED", + "COGNITO_IDENTITY_PROVIDER_CLIENT_ID", + "COGNITO_IDENTITY_PROVIDER_NAME", + "COGNITO_IDENTITY_PROVIDER_TOKEN_CHECK", + "COGNITO_IDENTITY_PROVIDER", + "COGNITO_IDENTITY_PROVIDER_LIST", + "DEVELOPER_PROVIDER_NAME", + "IDENTITY_POOL_NAME", + "TAG_KEYS_TYPE", + "TAG_VALUE_TYPE", + "IDENTITY_POOL_TAGS_TYPE", + "OIDC_PROVIDER_LIST", + "SAML_PROVIDER_LIST", + "IDENTITY_PROVIDER_NAME", + "IDENTITY_PROVIDER_ID", + "IDENTITY_PROVIDERS", + "CREATE_IDENTITY_POOL_INPUT", + "CREATE_IDENTITY_POOL_OUTPUT", + "CREATE_IDENTITY_POOL", + "IDENTITY_POOL_ID", + "STRING", + "INTERNAL_ERROR_EXCEPTION", + "INVALID_PARAMETER_EXCEPTION", + "LIMIT_EXCEEDED_EXCEPTION", + "NOT_AUTHORIZED_EXCEPTION", + "RESOURCE_CONFLICT_EXCEPTION", + "TOO_MANY_REQUESTS_EXCEPTION", + "IDENTITY_ID", + "IDENTITY_ID_LIST", + "DELETE_IDENTITIES_INPUT", + "DELETE_IDENTITIES_OUTPUT", + "DELETE_IDENTITIES", + "ERROR_CODE", + "UNPROCESSED_IDENTITY_ID", + "UNPROCESSED_IDENTITY_ID_LIST", + "DELETE_IDENTITY_POOL_INPUT", + "DELETE_IDENTITY_POOL_OUTPUT", + "DELETE_IDENTITY_POOL", + "RESOURCE_NOT_FOUND_EXCEPTION", + "DESCRIBE_IDENTITY_INPUT", + "DESCRIBE_IDENTITY_OUTPUT", + "DESCRIBE_IDENTITY", + "DATE_TYPE", + "LOGINS_LIST", + "DESCRIBE_IDENTITY_POOL_INPUT", + "DESCRIBE_IDENTITY_POOL_OUTPUT", + "DESCRIBE_IDENTITY_POOL", + "EXTERNAL_SERVICE_EXCEPTION", + "IDENTITY_PROVIDER_TOKEN", + "LOGINS_MAP", + "GET_CREDENTIALS_FOR_IDENTITY_INPUT", + "GET_CREDENTIALS_FOR_IDENTITY_OUTPUT", + "GET_CREDENTIALS_FOR_IDENTITY", + "SECRET_KEY_STRING", + "SESSION_TOKEN_STRING", + "CREDENTIALS", + "INVALID_IDENTITY_POOL_CONFIGURATION_EXCEPTION", + "GET_ID_INPUT", + "GET_ID_OUTPUT", + "GET_ID", + "GET_IDENTITY_POOL_ROLES_INPUT", + "GET_IDENTITY_POOL_ROLES_OUTPUT", + "GET_IDENTITY_POOL_ROLES", + "CLAIM_NAME", + "MAPPING_RULE_MATCH_TYPE", + "CLAIM_VALUE", + "MAPPING_RULE", + "MAPPING_RULES_LIST", + "RULES_CONFIGURATION_TYPE", + "ROLE_MAPPING_TYPE", + "ROLE_MAPPING", + "ROLE_MAPPING_MAP", + "ROLE_TYPE", + "ROLES_MAP", + ), + ( + "GET_OPEN_ID_TOKEN_INPUT", + "GET_OPEN_ID_TOKEN_OUTPUT", + "GET_OPEN_ID_TOKEN", + "OIDC_TOKEN", + "DEVELOPER_USER_ALREADY_REGISTERED_EXCEPTION", + "PRINCIPAL_TAG_ID", + "PRINCIPAL_TAG_VALUE", + "PRINCIPAL_TAGS", + "TOKEN_DURATION", + "GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_INPUT", + "GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_OUTPUT", + "GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY", + "GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT", + "GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT", + "GET_PRINCIPAL_TAG_ATTRIBUTE_MAP", + "USE_DEFAULTS", + "HIDE_DISABLED", + "QUERY_LIMIT", + "PAGINATION_KEY", + "LIST_IDENTITIES_INPUT", + "LIST_IDENTITIES_OUTPUT", + "LIST_IDENTITIES", + "IDENTITY_DESCRIPTION", + "IDENTITIES_LIST", + "LIST_IDENTITY_POOLS_INPUT", + "LIST_IDENTITY_POOLS_OUTPUT", + "LIST_IDENTITY_POOLS", + "IDENTITY_POOL_SHORT_DESCRIPTION", + "IDENTITY_POOLS_LIST", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "DEVELOPER_USER_IDENTIFIER", + "LOOKUP_DEVELOPER_IDENTITY_INPUT", + "LOOKUP_DEVELOPER_IDENTITY_OUTPUT", + "LOOKUP_DEVELOPER_IDENTITY", + "DEVELOPER_USER_IDENTIFIER_LIST", + "MERGE_DEVELOPER_IDENTITIES_INPUT", + "MERGE_DEVELOPER_IDENTITIES_OUTPUT", + "MERGE_DEVELOPER_IDENTITIES", + "CONCURRENT_MODIFICATION_EXCEPTION", + "SET_IDENTITY_POOL_ROLES_INPUT", + "SET_IDENTITY_POOL_ROLES_OUTPUT", + "SET_IDENTITY_POOL_ROLES", + "SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT", + "SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT", + "SET_PRINCIPAL_TAG_ATTRIBUTE_MAP", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "UNLINK_DEVELOPER_IDENTITY_INPUT", + "UNLINK_DEVELOPER_IDENTITY_OUTPUT", + "UNLINK_DEVELOPER_IDENTITY", + "UNLINK_IDENTITY_INPUT", + "UNLINK_IDENTITY_OUTPUT", + "UNLINK_IDENTITY", + "IDENTITY_POOL_TAGS_LIST_TYPE", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "UPDATE_IDENTITY_POOL_INPUT", + "UPDATE_IDENTITY_POOL_OUTPUT", + "UPDATE_IDENTITY_POOL", + "AWS_COGNITO_IDENTITY_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas_0.py b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas_0.py new file mode 100644 index 000000000..c5f7f8777 --- /dev/null +++ b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas_0.py @@ -0,0 +1,762 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.cognitoidentity" +_AKS = "AccessKeyString" +_AI = "AccountId" +_ARRT = "AmbiguousRoleResolutionType" +_AR = "AUTHENTICATED_ROLE" +_sV = "smithy.api#enumValue" +_ARu = "AuthenticatedRole" +_DENY = "DENY" +_D = "Deny" +_ARNS = "ARNString" +_CF = "ClassicFlow" +_IPU = "IdentityPoolUnauthenticated" +_s = "smithy.api#default" +_CIPCI = "CognitoIdentityProviderClientId" +_CIPN = "CognitoIdentityProviderName" +_CIPTC = "CognitoIdentityProviderTokenCheck" +_CIP = "CognitoIdentityProvider" +_PN = "ProviderName" +_CI = "ClientId" +_SSTC = "ServerSideTokenCheck" +_CIPL = "CognitoIdentityProviderList" +_m = "member" +_DPN = "DeveloperProviderName" +_IPN = "IdentityPoolName" +_TKT = "TagKeysType" +_TVT = "TagValueType" +_IPTT = "IdentityPoolTagsType" +_k = "key" +_v = "value" +_OIDCPL = "OIDCProviderList" +_SAMLPL = "SAMLProviderList" +_IPNd = "IdentityProviderName" +_IPI = "IdentityProviderId" +_IP = "IdentityProviders" +_CIPI = "CreateIdentityPoolInput" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_AUI = "AllowUnauthenticatedIdentities" +_ACF = "AllowClassicFlow" +_SLP = "SupportedLoginProviders" +_OICPARN = "OpenIdConnectProviderARNs" +_CIPo = "CognitoIdentityProviders" +_SPARN = "SamlProviderARNs" +_IPT = "IdentityPoolTags" +_IPId = "IdentityPoolId" +_CIPO = "CreateIdentityPoolOutput" +_sSI = "smithy.synthetic#originalShapeId" +_cIP = "com.amazonaws.cognitoidentity#IdentityPool" +_smit = "smithy.api#output" +_S = "String" +_IEE = "InternalErrorException" +_smith = "smithy.api#error" +_se = "server" +_me = "message" +_IPE = "InvalidParameterException" +_c = "client" +_sE = "smithy.api#httpError" +_LEE = "LimitExceededException" +_NAE = "NotAuthorizedException" +_RCE = "ResourceConflictException" +_TMRE = "TooManyRequestsException" +_CIPr = "CreateIdentityPool" +_II = "IdentityId" +_IIL = "IdentityIdList" +_DII = "DeleteIdentitiesInput" +_IITD = "IdentityIdsToDelete" +_EC = "ErrorCode" +_AD = "ACCESS_DENIED" +_ADc = "AccessDenied" +_ISE = "INTERNAL_SERVER_ERROR" +_ISEn = "InternalServerError" +_UII = "UnprocessedIdentityId" +_UIIL = "UnprocessedIdentityIdList" +_DIO = "DeleteIdentitiesOutput" +_cDIR = "com.amazonaws.cognitoidentity#DeleteIdentitiesResponse" +_UIIn = "UnprocessedIdentityIds" +_DI = "DeleteIdentities" +_DIPI = "DeleteIdentityPoolInput" +_DIPO = "DeleteIdentityPoolOutput" +_sU = "smithy.api#Unit" +_RNFE = "ResourceNotFoundException" +_DIP = "DeleteIdentityPool" +_DIIe = "DescribeIdentityInput" +_DT = "DateType" +_LL = "LoginsList" +_DIOe = "DescribeIdentityOutput" +_cID = "com.amazonaws.cognitoidentity#IdentityDescription" +_L = "Logins" +_CD = "CreationDate" +_LMD = "LastModifiedDate" +_DIe = "DescribeIdentity" +_DIPIe = "DescribeIdentityPoolInput" +_DIPOe = "DescribeIdentityPoolOutput" +_DIPe = "DescribeIdentityPool" +_ESE = "ExternalServiceException" +_IPTd = "IdentityProviderToken" +_smithy = "smithy.api#sensitive" +_LM = "LoginsMap" +_GCFII = "GetCredentialsForIdentityInput" +_CRA = "CustomRoleArn" +_SKS = "SecretKeyString" +_STS = "SessionTokenString" +_C = "Credentials" +_AKI = "AccessKeyId" +_SK = "SecretKey" +_ST = "SessionToken" +_E = "Expiration" +_GCFIO = "GetCredentialsForIdentityOutput" +_cGCFIR = "com.amazonaws.cognitoidentity#GetCredentialsForIdentityResponse" +_IIPCE = "InvalidIdentityPoolConfigurationException" +_GCFI = "GetCredentialsForIdentity" +_GII = "GetIdInput" +_GIO = "GetIdOutput" +_cGIR = "com.amazonaws.cognitoidentity#GetIdResponse" +_GI = "GetId" +_GIPRI = "GetIdentityPoolRolesInput" +_CN = "ClaimName" +_MRMT = "MappingRuleMatchType" +_EQUALS = "EQUALS" +_Eq = "Equals" +_CONTAINS = "CONTAINS" +_Co = "Contains" +_SW = "STARTS_WITH" +_SWt = "StartsWith" +_NE = "NOT_EQUAL" +_NEo = "NotEqual" +_CV = "ClaimValue" +_MR = "MappingRule" +_Cl = "Claim" +_MT = "MatchType" +_V = "Value" +_RARN = "RoleARN" +_MRL = "MappingRulesList" +_RCT = "RulesConfigurationType" +_R = "Rules" +_RMT = "RoleMappingType" +_TOKEN = "TOKEN" +_T = "Token" +_RULES = "RULES" +_RM = "RoleMapping" +_Ty = "Type" +_ARR = "AmbiguousRoleResolution" +_RC = "RulesConfiguration" +_RMM = "RoleMappingMap" +_RT = "RoleType" +_RMo = "RolesMap" +_GIPRO = "GetIdentityPoolRolesOutput" +_cGIPRR = "com.amazonaws.cognitoidentity#GetIdentityPoolRolesResponse" +_Ro = "Roles" +_RMol = "RoleMappings" +_GIPR = "GetIdentityPoolRoles" + +ACCESS_KEY_STRING: StaticSchema = (3, n0, _AKS, 0) + +ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) + +AMBIGUOUS_ROLE_RESOLUTION_TYPE: StaticSchema = ( + 14, + n0, + _ARRT, + 0, + (_AR, _DENY), + ((-1, {_sV: _ARu}), (-1, {_sV: _D})), +) + +ARN_STRING: StaticSchema = (3, n0, _ARNS, 0) + +CLASSIC_FLOW: StaticSchema = (2, n0, _CF, 0) + +IDENTITY_POOL_UNAUTHENTICATED: StaticSchema = (2, n0, _IPU, {_s: False}) + +COGNITO_IDENTITY_PROVIDER_CLIENT_ID: StaticSchema = (3, n0, _CIPCI, 0) + +COGNITO_IDENTITY_PROVIDER_NAME: StaticSchema = (3, n0, _CIPN, 0) + +COGNITO_IDENTITY_PROVIDER_TOKEN_CHECK: StaticSchema = (2, n0, _CIPTC, {_s: False}) + +COGNITO_IDENTITY_PROVIDER: StaticSchema = ( + 18, + n0, + _CIP, + 0, + (_PN, _CI, _SSTC), + ( + (COGNITO_IDENTITY_PROVIDER_NAME, 0), + (COGNITO_IDENTITY_PROVIDER_CLIENT_ID, 0), + (COGNITO_IDENTITY_PROVIDER_TOKEN_CHECK, {_s: None}), + ), +) + +COGNITO_IDENTITY_PROVIDER_LIST: StaticSchema = ( + 16, + n0, + _CIPL, + 0, + (_m,), + ((COGNITO_IDENTITY_PROVIDER, 0),), +) + +DEVELOPER_PROVIDER_NAME: StaticSchema = (3, n0, _DPN, 0) + +IDENTITY_POOL_NAME: StaticSchema = (3, n0, _IPN, 0) + +TAG_KEYS_TYPE: StaticSchema = (3, n0, _TKT, 0) + +TAG_VALUE_TYPE: StaticSchema = (3, n0, _TVT, 0) + +IDENTITY_POOL_TAGS_TYPE: StaticSchema = ( + 17, + n0, + _IPTT, + 0, + (_k, _v), + ((TAG_KEYS_TYPE, 0), (TAG_VALUE_TYPE, 0)), +) + +OIDC_PROVIDER_LIST: StaticSchema = (16, n0, _OIDCPL, 0, (_m,), ((ARN_STRING, 0),)) + +SAML_PROVIDER_LIST: StaticSchema = (16, n0, _SAMLPL, 0, (_m,), ((ARN_STRING, 0),)) + +IDENTITY_PROVIDER_NAME: StaticSchema = (3, n0, _IPNd, 0) + +IDENTITY_PROVIDER_ID: StaticSchema = (3, n0, _IPI, 0) + +IDENTITY_PROVIDERS: StaticSchema = ( + 17, + n0, + _IP, + 0, + (_k, _v), + ((IDENTITY_PROVIDER_NAME, 0), (IDENTITY_PROVIDER_ID, 0)), +) + +CREATE_IDENTITY_POOL_INPUT: StaticSchema = ( + 18, + n0, + _CIPI, + {_sm: None}, + (_IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), + ( + (IDENTITY_POOL_NAME, 1), + (IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), + (CLASSIC_FLOW, 0), + (IDENTITY_PROVIDERS, 0), + (DEVELOPER_PROVIDER_NAME, 0), + (OIDC_PROVIDER_LIST, 0), + (COGNITO_IDENTITY_PROVIDER_LIST, 0), + (SAML_PROVIDER_LIST, 0), + (IDENTITY_POOL_TAGS_TYPE, 0), + ), +) + +CREATE_IDENTITY_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _CIPO, + {_sSI: _cIP, _smit: None}, + (_IPId, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), + ( + (lambda: IDENTITY_POOL_ID, 1), + (IDENTITY_POOL_NAME, 1), + (IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), + (CLASSIC_FLOW, 0), + (IDENTITY_PROVIDERS, 0), + (DEVELOPER_PROVIDER_NAME, 0), + (OIDC_PROVIDER_LIST, 0), + (COGNITO_IDENTITY_PROVIDER_LIST, 0), + (SAML_PROVIDER_LIST, 0), + (IDENTITY_POOL_TAGS_TYPE, 0), + ), +) + +CREATE_IDENTITY_POOL: StaticOperationSchema = ( + 23, + n0, + _CIPr, + 0, + CREATE_IDENTITY_POOL_INPUT, + CREATE_IDENTITY_POOL_OUTPUT, + ( + lambda: INTERNAL_ERROR_EXCEPTION, + lambda: INVALID_PARAMETER_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + lambda: NOT_AUTHORIZED_EXCEPTION, + lambda: RESOURCE_CONFLICT_EXCEPTION, + lambda: TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +IDENTITY_POOL_ID: StaticSchema = (3, n0, _IPId, 0) + +STRING: StaticSchema = (3, n0, _S, 0) + +INTERNAL_ERROR_EXCEPTION: StaticSchema = ( + 18, + n0, + _IEE, + {_smith: _se}, + (_me,), + ((STRING, 0),), +) + +INVALID_PARAMETER_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPE, + {_smith: _c, _sE: 400}, + (_me,), + ((STRING, 0),), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + {_smith: _c, _sE: 400}, + (_me,), + ((STRING, 0),), +) + +NOT_AUTHORIZED_EXCEPTION: StaticSchema = ( + 18, + n0, + _NAE, + {_smith: _c, _sE: 403}, + (_me,), + ((STRING, 0),), +) + +RESOURCE_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _RCE, + {_smith: _c, _sE: 409}, + (_me,), + ((STRING, 0),), +) + +TOO_MANY_REQUESTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TMRE, + {_smith: _c, _sE: 429}, + (_me,), + ((STRING, 0),), +) + +IDENTITY_ID: StaticSchema = (3, n0, _II, 0) + +IDENTITY_ID_LIST: StaticSchema = (16, n0, _IIL, 0, (_m,), ((IDENTITY_ID, 0),)) + +DELETE_IDENTITIES_INPUT: StaticSchema = ( + 18, + n0, + _DII, + {_sm: None}, + (_IITD,), + ((IDENTITY_ID_LIST, 1),), +) + +DELETE_IDENTITIES_OUTPUT: StaticSchema = ( + 18, + n0, + _DIO, + {_sSI: _cDIR, _smit: None}, + (_UIIn,), + ((lambda: UNPROCESSED_IDENTITY_ID_LIST, 0),), +) + +DELETE_IDENTITIES: StaticOperationSchema = ( + 23, + n0, + _DI, + 0, + DELETE_IDENTITIES_INPUT, + DELETE_IDENTITIES_OUTPUT, + ( + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +ERROR_CODE: StaticSchema = ( + 14, + n0, + _EC, + 0, + (_AD, _ISE), + ((-1, {_sV: _ADc}), (-1, {_sV: _ISEn})), +) + +UNPROCESSED_IDENTITY_ID: StaticSchema = ( + 18, + n0, + _UII, + 0, + (_II, _EC), + ((IDENTITY_ID, 0), (ERROR_CODE, 0)), +) + +UNPROCESSED_IDENTITY_ID_LIST: StaticSchema = ( + 16, + n0, + _UIIL, + 0, + (_m,), + ((UNPROCESSED_IDENTITY_ID, 0),), +) + +DELETE_IDENTITY_POOL_INPUT: StaticSchema = ( + 18, + n0, + _DIPI, + {_sm: None}, + (_IPId,), + ((IDENTITY_POOL_ID, 1),), +) + +DELETE_IDENTITY_POOL_OUTPUT: StaticSchema = (18, n0, _DIPO, {_sSI: _sU, _smit: None}) + +DELETE_IDENTITY_POOL: StaticOperationSchema = ( + 23, + n0, + _DIP, + 0, + DELETE_IDENTITY_POOL_INPUT, + DELETE_IDENTITY_POOL_OUTPUT, + ( + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + NOT_AUTHORIZED_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_smith: _c, _sE: 404}, + (_me,), + ((STRING, 0),), +) + +DESCRIBE_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _DIIe, + {_sm: None}, + (_II,), + ((IDENTITY_ID, 1),), +) + +DESCRIBE_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOe, + {_sSI: _cID, _smit: None}, + (_II, _L, _CD, _LMD), + ( + (IDENTITY_ID, 0), + (lambda: LOGINS_LIST, 0), + (lambda: DATE_TYPE, 0), + (lambda: DATE_TYPE, 0), + ), +) + +DESCRIBE_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _DIe, + 0, + DESCRIBE_IDENTITY_INPUT, + DESCRIBE_IDENTITY_OUTPUT, + ( + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + NOT_AUTHORIZED_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +DATE_TYPE: StaticSchema = (4, n0, _DT, 0) + +LOGINS_LIST: StaticSchema = (16, n0, _LL, 0, (_m,), ((IDENTITY_PROVIDER_NAME, 0),)) + +DESCRIBE_IDENTITY_POOL_INPUT: StaticSchema = ( + 18, + n0, + _DIPIe, + {_sm: None}, + (_IPId,), + ((IDENTITY_POOL_ID, 1),), +) + +DESCRIBE_IDENTITY_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPOe, + {_sSI: _cIP, _smit: None}, + (_IPId, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), + ( + (IDENTITY_POOL_ID, 1), + (IDENTITY_POOL_NAME, 1), + (IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), + (CLASSIC_FLOW, 0), + (IDENTITY_PROVIDERS, 0), + (DEVELOPER_PROVIDER_NAME, 0), + (OIDC_PROVIDER_LIST, 0), + (COGNITO_IDENTITY_PROVIDER_LIST, 0), + (SAML_PROVIDER_LIST, 0), + (IDENTITY_POOL_TAGS_TYPE, 0), + ), +) + +DESCRIBE_IDENTITY_POOL: StaticOperationSchema = ( + 23, + n0, + _DIPe, + 0, + DESCRIBE_IDENTITY_POOL_INPUT, + DESCRIBE_IDENTITY_POOL_OUTPUT, + ( + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + NOT_AUTHORIZED_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +EXTERNAL_SERVICE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ESE, + {_smith: _c, _sE: 400}, + (_me,), + ((STRING, 0),), +) + +IDENTITY_PROVIDER_TOKEN: StaticSchema = (3, n0, _IPTd, 4) + +LOGINS_MAP: StaticSchema = ( + 17, + n0, + _LM, + 0, + (_k, _v), + ((IDENTITY_PROVIDER_NAME, 0), (IDENTITY_PROVIDER_TOKEN, 0)), +) + +GET_CREDENTIALS_FOR_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _GCFII, + {_sm: None}, + (_II, _L, _CRA), + ((IDENTITY_ID, 1), (LOGINS_MAP, 0), (ARN_STRING, 0)), +) + +GET_CREDENTIALS_FOR_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _GCFIO, + {_sSI: _cGCFIR, _smit: None}, + (_II, _C), + ((IDENTITY_ID, 0), (lambda: CREDENTIALS, 0)), +) + +GET_CREDENTIALS_FOR_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _GCFI, + 0, + GET_CREDENTIALS_FOR_IDENTITY_INPUT, + GET_CREDENTIALS_FOR_IDENTITY_OUTPUT, + ( + EXTERNAL_SERVICE_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + lambda: INVALID_IDENTITY_POOL_CONFIGURATION_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + NOT_AUTHORIZED_EXCEPTION, + RESOURCE_CONFLICT_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +SECRET_KEY_STRING: StaticSchema = (3, n0, _SKS, 4) + +SESSION_TOKEN_STRING: StaticSchema = (3, n0, _STS, 0) + +CREDENTIALS: StaticSchema = ( + 18, + n0, + _C, + 0, + (_AKI, _SK, _ST, _E), + ( + (ACCESS_KEY_STRING, 0), + (SECRET_KEY_STRING, 0), + (SESSION_TOKEN_STRING, 0), + (DATE_TYPE, 0), + ), +) + +INVALID_IDENTITY_POOL_CONFIGURATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _IIPCE, + {_smith: _c, _sE: 400}, + (_me,), + ((STRING, 0),), +) + +GET_ID_INPUT: StaticSchema = ( + 18, + n0, + _GII, + {_sm: None}, + (_AI, _IPId, _L), + ((ACCOUNT_ID, 0), (IDENTITY_POOL_ID, 1), (LOGINS_MAP, 0)), +) + +GET_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _GIO, + {_sSI: _cGIR, _smit: None}, + (_II,), + ((IDENTITY_ID, 0),), +) + +GET_ID: StaticOperationSchema = ( + 23, + n0, + _GI, + 0, + GET_ID_INPUT, + GET_ID_OUTPUT, + ( + EXTERNAL_SERVICE_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_AUTHORIZED_EXCEPTION, + RESOURCE_CONFLICT_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_IDENTITY_POOL_ROLES_INPUT: StaticSchema = ( + 18, + n0, + _GIPRI, + {_sm: None}, + (_IPId,), + ((IDENTITY_POOL_ID, 1),), +) + +GET_IDENTITY_POOL_ROLES_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPRO, + {_sSI: _cGIPRR, _smit: None}, + (_IPId, _Ro, _RMol), + ((IDENTITY_POOL_ID, 0), (lambda: ROLES_MAP, 0), (lambda: ROLE_MAPPING_MAP, 0)), +) + +GET_IDENTITY_POOL_ROLES: StaticOperationSchema = ( + 23, + n0, + _GIPR, + 0, + GET_IDENTITY_POOL_ROLES_INPUT, + GET_IDENTITY_POOL_ROLES_OUTPUT, + ( + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + NOT_AUTHORIZED_EXCEPTION, + RESOURCE_CONFLICT_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CLAIM_NAME: StaticSchema = (3, n0, _CN, 0) + +MAPPING_RULE_MATCH_TYPE: StaticSchema = ( + 14, + n0, + _MRMT, + 0, + (_EQUALS, _CONTAINS, _SW, _NE), + ((-1, {_sV: _Eq}), (-1, {_sV: _Co}), (-1, {_sV: _SWt}), (-1, {_sV: _NEo})), +) + +CLAIM_VALUE: StaticSchema = (3, n0, _CV, 0) + +MAPPING_RULE: StaticSchema = ( + 18, + n0, + _MR, + 0, + (_Cl, _MT, _V, _RARN), + ((CLAIM_NAME, 1), (MAPPING_RULE_MATCH_TYPE, 1), (CLAIM_VALUE, 1), (ARN_STRING, 1)), +) + +MAPPING_RULES_LIST: StaticSchema = (16, n0, _MRL, 0, (_m,), ((MAPPING_RULE, 0),)) + +RULES_CONFIGURATION_TYPE: StaticSchema = ( + 18, + n0, + _RCT, + 0, + (_R,), + ((MAPPING_RULES_LIST, 1),), +) + +ROLE_MAPPING_TYPE: StaticSchema = ( + 14, + n0, + _RMT, + 0, + (_TOKEN, _RULES), + ((-1, {_sV: _T}), (-1, {_sV: _R})), +) + +ROLE_MAPPING: StaticSchema = ( + 18, + n0, + _RM, + 0, + (_Ty, _ARR, _RC), + ( + (ROLE_MAPPING_TYPE, 1), + (AMBIGUOUS_ROLE_RESOLUTION_TYPE, 0), + (RULES_CONFIGURATION_TYPE, 0), + ), +) + +ROLE_MAPPING_MAP: StaticSchema = ( + 17, + n0, + _RMM, + 0, + (_k, _v), + ((IDENTITY_PROVIDER_NAME, 0), (ROLE_MAPPING, 0)), +) + +ROLE_TYPE: StaticSchema = (3, n0, _RT, 0) + +ROLES_MAP: StaticSchema = (17, n0, _RMo, 0, (_k, _v), ((ROLE_TYPE, 0), (ARN_STRING, 0))) diff --git a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas_1.py b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas_1.py new file mode 100644 index 000000000..63524703a --- /dev/null +++ b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/_private/schemas_1.py @@ -0,0 +1,833 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.cognitoidentity" +_s = "smithy.api#default" +_m = "member" +_DPN = "DeveloperProviderName" +_IPN = "IdentityPoolName" +_k = "key" +_v = "value" +_IPNd = "IdentityProviderName" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_AUI = "AllowUnauthenticatedIdentities" +_ACF = "AllowClassicFlow" +_SLP = "SupportedLoginProviders" +_OICPARN = "OpenIdConnectProviderARNs" +_CIPo = "CognitoIdentityProviders" +_SPARN = "SamlProviderARNs" +_IPT = "IdentityPoolTags" +_IPId = "IdentityPoolId" +_sSI = "smithy.synthetic#originalShapeId" +_cIP = "com.amazonaws.cognitoidentity#IdentityPool" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_me = "message" +_c = "client" +_sE = "smithy.api#httpError" +_II = "IdentityId" +_sU = "smithy.api#Unit" +_L = "Logins" +_CD = "CreationDate" +_LMD = "LastModifiedDate" +_smithy = "smithy.api#sensitive" +_T = "Token" +_Ro = "Roles" +_RMol = "RoleMappings" +_GOITI = "GetOpenIdTokenInput" +_OIDCT = "OIDCToken" +_GOITO = "GetOpenIdTokenOutput" +_cGOITR = "com.amazonaws.cognitoidentity#GetOpenIdTokenResponse" +_GOIT = "GetOpenIdToken" +_DUARE = "DeveloperUserAlreadyRegisteredException" +_PTID = "PrincipalTagID" +_PTV = "PrincipalTagValue" +_PT = "PrincipalTags" +_TD = "TokenDuration" +_GOITFDII = "GetOpenIdTokenForDeveloperIdentityInput" +_GOITFDIO = "GetOpenIdTokenForDeveloperIdentityOutput" +_cGOITFDIR = "com.amazonaws.cognitoidentity#GetOpenIdTokenForDeveloperIdentityResponse" +_GOITFDI = "GetOpenIdTokenForDeveloperIdentity" +_GPTAMI = "GetPrincipalTagAttributeMapInput" +_UD = "UseDefaults" +_GPTAMO = "GetPrincipalTagAttributeMapOutput" +_cGPTAMR = "com.amazonaws.cognitoidentity#GetPrincipalTagAttributeMapResponse" +_GPTAM = "GetPrincipalTagAttributeMap" +_HD = "HideDisabled" +_QL = "QueryLimit" +_PK = "PaginationKey" +_LII = "ListIdentitiesInput" +_MRa = "MaxResults" +_NT = "NextToken" +_ID = "IdentityDescription" +_IL = "IdentitiesList" +_LIO = "ListIdentitiesOutput" +_cLIR = "com.amazonaws.cognitoidentity#ListIdentitiesResponse" +_I = "Identities" +_LI = "ListIdentities" +_LIPI = "ListIdentityPoolsInput" +_IPSD = "IdentityPoolShortDescription" +_IPL = "IdentityPoolsList" +_LIPO = "ListIdentityPoolsOutput" +_cLIPR = "com.amazonaws.cognitoidentity#ListIdentityPoolsResponse" +_IPd = "IdentityPools" +_LIP = "ListIdentityPools" +_LTFRI = "ListTagsForResourceInput" +_RA = "ResourceArn" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRR = "com.amazonaws.cognitoidentity#ListTagsForResourceResponse" +_Ta = "Tags" +_LTFR = "ListTagsForResource" +_DUI = "DeveloperUserIdentifier" +_LDII = "LookupDeveloperIdentityInput" +_DUIL = "DeveloperUserIdentifierList" +_LDIO = "LookupDeveloperIdentityOutput" +_cLDIR = "com.amazonaws.cognitoidentity#LookupDeveloperIdentityResponse" +_LDI = "LookupDeveloperIdentity" +_MDII = "MergeDeveloperIdentitiesInput" +_SUI = "SourceUserIdentifier" +_DUIe = "DestinationUserIdentifier" +_MDIO = "MergeDeveloperIdentitiesOutput" +_cMDIR = "com.amazonaws.cognitoidentity#MergeDeveloperIdentitiesResponse" +_MDI = "MergeDeveloperIdentities" +_CME = "ConcurrentModificationException" +_SIPRI = "SetIdentityPoolRolesInput" +_SIPRO = "SetIdentityPoolRolesOutput" +_SIPR = "SetIdentityPoolRoles" +_SPTAMI = "SetPrincipalTagAttributeMapInput" +_SPTAMO = "SetPrincipalTagAttributeMapOutput" +_cSPTAMR = "com.amazonaws.cognitoidentity#SetPrincipalTagAttributeMapResponse" +_SPTAM = "SetPrincipalTagAttributeMap" +_TRI = "TagResourceInput" +_TRO = "TagResourceOutput" +_cTRR = "com.amazonaws.cognitoidentity#TagResourceResponse" +_TR = "TagResource" +_UDII = "UnlinkDeveloperIdentityInput" +_UDIO = "UnlinkDeveloperIdentityOutput" +_UDI = "UnlinkDeveloperIdentity" +_UIInl = "UnlinkIdentityInput" +_LTR = "LoginsToRemove" +_UIO = "UnlinkIdentityOutput" +_UI = "UnlinkIdentity" +_IPTLT = "IdentityPoolTagsListType" +_URI = "UntagResourceInput" +_TK = "TagKeys" +_URO = "UntagResourceOutput" +_cURR = "com.amazonaws.cognitoidentity#UntagResourceResponse" +_UR = "UntagResource" +_UIPI = "UpdateIdentityPoolInput" +_UIPO = "UpdateIdentityPoolOutput" +_UIP = "UpdateIdentityPool" +_AWSCIS = "AWSCognitoIdentityService" +_a = "aws.auth#sigv4" +_a_ = "aws.protocols#awsJson1_1" +_aw = "aws.api#service" +_sN = "smithy.api#xmlNamespace" + +GET_OPEN_ID_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _GOITI, + {_sm: None}, + (_II, _L), + ((lambda: schemas.IDENTITY_ID, 1), (lambda: schemas.LOGINS_MAP, 0)), +) + +GET_OPEN_ID_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _GOITO, + {_sSI: _cGOITR, _smit: None}, + (_II, _T), + ((lambda: schemas.IDENTITY_ID, 0), (lambda: OIDC_TOKEN, 0)), +) + +GET_OPEN_ID_TOKEN: StaticOperationSchema = ( + 23, + n0, + _GOIT, + 0, + GET_OPEN_ID_TOKEN_INPUT, + GET_OPEN_ID_TOKEN_OUTPUT, + ( + lambda: schemas.EXTERNAL_SERVICE_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +OIDC_TOKEN: StaticSchema = (3, n0, _OIDCT, 4) + +DEVELOPER_USER_ALREADY_REGISTERED_EXCEPTION: StaticSchema = ( + 18, + n0, + _DUARE, + {_smith: _c, _sE: 400}, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +PRINCIPAL_TAG_ID: StaticSchema = (3, n0, _PTID, 0) + +PRINCIPAL_TAG_VALUE: StaticSchema = (3, n0, _PTV, 0) + +PRINCIPAL_TAGS: StaticSchema = ( + 17, + n0, + _PT, + 0, + (_k, _v), + ((PRINCIPAL_TAG_ID, 0), (PRINCIPAL_TAG_VALUE, 0)), +) + +TOKEN_DURATION: StaticSchema = (8, n0, _TD, 0) + +GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _GOITFDII, + {_sm: None}, + (_IPId, _II, _L, _PT, _TD), + ( + (lambda: schemas.IDENTITY_POOL_ID, 1), + (lambda: schemas.IDENTITY_ID, 0), + (lambda: schemas.LOGINS_MAP, 1), + (PRINCIPAL_TAGS, 0), + (TOKEN_DURATION, 0), + ), +) + +GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _GOITFDIO, + {_sSI: _cGOITFDIR, _smit: None}, + (_II, _T), + ((lambda: schemas.IDENTITY_ID, 0), (OIDC_TOKEN, 0)), +) + +GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _GOITFDI, + 0, + GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_INPUT, + GET_OPEN_ID_TOKEN_FOR_DEVELOPER_IDENTITY_OUTPUT, + ( + DEVELOPER_USER_ALREADY_REGISTERED_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT: StaticSchema = ( + 18, + n0, + _GPTAMI, + {_sm: None}, + (_IPId, _IPNd), + ( + (lambda: schemas.IDENTITY_POOL_ID, 1), + (lambda: schemas.IDENTITY_PROVIDER_NAME, 1), + ), +) + +GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT: StaticSchema = ( + 18, + n0, + _GPTAMO, + {_sSI: _cGPTAMR, _smit: None}, + (_IPId, _IPNd, _UD, _PT), + ( + (lambda: schemas.IDENTITY_POOL_ID, 0), + (lambda: schemas.IDENTITY_PROVIDER_NAME, 0), + (lambda: USE_DEFAULTS, 0), + (PRINCIPAL_TAGS, 0), + ), +) + +GET_PRINCIPAL_TAG_ATTRIBUTE_MAP: StaticOperationSchema = ( + 23, + n0, + _GPTAM, + 0, + GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT, + GET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +USE_DEFAULTS: StaticSchema = (2, n0, _UD, 0) + +HIDE_DISABLED: StaticSchema = (2, n0, _HD, {_s: False}) + +QUERY_LIMIT: StaticSchema = (7, n0, _QL, 0) + +PAGINATION_KEY: StaticSchema = (3, n0, _PK, 0) + +LIST_IDENTITIES_INPUT: StaticSchema = ( + 18, + n0, + _LII, + {_sm: None}, + (_IPId, _MRa, _NT, _HD), + ( + (lambda: schemas.IDENTITY_POOL_ID, 1), + (QUERY_LIMIT, 1), + (PAGINATION_KEY, 0), + (HIDE_DISABLED, {_s: False}), + ), +) + +LIST_IDENTITIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LIO, + {_sSI: _cLIR, _smit: None}, + (_IPId, _I, _NT), + ( + (lambda: schemas.IDENTITY_POOL_ID, 0), + (lambda: IDENTITIES_LIST, 0), + (PAGINATION_KEY, 0), + ), +) + +LIST_IDENTITIES: StaticOperationSchema = ( + 23, + n0, + _LI, + 0, + LIST_IDENTITIES_INPUT, + LIST_IDENTITIES_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +IDENTITY_DESCRIPTION: StaticSchema = ( + 18, + n0, + _ID, + 0, + (_II, _L, _CD, _LMD), + ( + (lambda: schemas.IDENTITY_ID, 0), + (lambda: schemas.LOGINS_LIST, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +IDENTITIES_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((IDENTITY_DESCRIPTION, 0),)) + +LIST_IDENTITY_POOLS_INPUT: StaticSchema = ( + 18, + n0, + _LIPI, + {_sm: None}, + (_MRa, _NT), + ((QUERY_LIMIT, 1), (PAGINATION_KEY, 0)), +) + +LIST_IDENTITY_POOLS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIPO, + {_sSI: _cLIPR, _smit: None}, + (_IPd, _NT), + ((lambda: IDENTITY_POOLS_LIST, 0), (PAGINATION_KEY, 0)), +) + +LIST_IDENTITY_POOLS: StaticOperationSchema = ( + 23, + n0, + _LIP, + 0, + LIST_IDENTITY_POOLS_INPUT, + LIST_IDENTITY_POOLS_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +IDENTITY_POOL_SHORT_DESCRIPTION: StaticSchema = ( + 18, + n0, + _IPSD, + 0, + (_IPId, _IPN), + ((lambda: schemas.IDENTITY_POOL_ID, 0), (lambda: schemas.IDENTITY_POOL_NAME, 0)), +) + +IDENTITY_POOLS_LIST: StaticSchema = ( + 16, + n0, + _IPL, + 0, + (_m,), + ((IDENTITY_POOL_SHORT_DESCRIPTION, 0),), +) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sm: None}, + (_RA,), + ((lambda: schemas.ARN_STRING, 1),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRR, _smit: None}, + (_Ta,), + ((lambda: schemas.IDENTITY_POOL_TAGS_TYPE, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + 0, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +DEVELOPER_USER_IDENTIFIER: StaticSchema = (3, n0, _DUI, 0) + +LOOKUP_DEVELOPER_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _LDII, + {_sm: None}, + (_IPId, _II, _DUI, _MRa, _NT), + ( + (lambda: schemas.IDENTITY_POOL_ID, 1), + (lambda: schemas.IDENTITY_ID, 0), + (DEVELOPER_USER_IDENTIFIER, 0), + (QUERY_LIMIT, 0), + (PAGINATION_KEY, 0), + ), +) + +LOOKUP_DEVELOPER_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _LDIO, + {_sSI: _cLDIR, _smit: None}, + (_II, _DUIL, _NT), + ( + (lambda: schemas.IDENTITY_ID, 0), + (lambda: DEVELOPER_USER_IDENTIFIER_LIST, 0), + (PAGINATION_KEY, 0), + ), +) + +LOOKUP_DEVELOPER_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _LDI, + 0, + LOOKUP_DEVELOPER_IDENTITY_INPUT, + LOOKUP_DEVELOPER_IDENTITY_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +DEVELOPER_USER_IDENTIFIER_LIST: StaticSchema = ( + 16, + n0, + _DUIL, + 0, + (_m,), + ((DEVELOPER_USER_IDENTIFIER, 0),), +) + +MERGE_DEVELOPER_IDENTITIES_INPUT: StaticSchema = ( + 18, + n0, + _MDII, + {_sm: None}, + (_SUI, _DUIe, _DPN, _IPId), + ( + (DEVELOPER_USER_IDENTIFIER, 1), + (DEVELOPER_USER_IDENTIFIER, 1), + (lambda: schemas.DEVELOPER_PROVIDER_NAME, 1), + (lambda: schemas.IDENTITY_POOL_ID, 1), + ), +) + +MERGE_DEVELOPER_IDENTITIES_OUTPUT: StaticSchema = ( + 18, + n0, + _MDIO, + {_sSI: _cMDIR, _smit: None}, + (_II,), + ((lambda: schemas.IDENTITY_ID, 0),), +) + +MERGE_DEVELOPER_IDENTITIES: StaticOperationSchema = ( + 23, + n0, + _MDI, + 0, + MERGE_DEVELOPER_IDENTITIES_INPUT, + MERGE_DEVELOPER_IDENTITIES_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CONCURRENT_MODIFICATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _CME, + {_smith: _c, _sE: 400}, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +SET_IDENTITY_POOL_ROLES_INPUT: StaticSchema = ( + 18, + n0, + _SIPRI, + {_sm: None}, + (_IPId, _Ro, _RMol), + ( + (lambda: schemas.IDENTITY_POOL_ID, 1), + (lambda: schemas.ROLES_MAP, 1), + (lambda: schemas.ROLE_MAPPING_MAP, 0), + ), +) + +SET_IDENTITY_POOL_ROLES_OUTPUT: StaticSchema = ( + 18, + n0, + _SIPRO, + {_sSI: _sU, _smit: None}, +) + +SET_IDENTITY_POOL_ROLES: StaticOperationSchema = ( + 23, + n0, + _SIPR, + 0, + SET_IDENTITY_POOL_ROLES_INPUT, + SET_IDENTITY_POOL_ROLES_OUTPUT, + ( + CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT: StaticSchema = ( + 18, + n0, + _SPTAMI, + {_sm: None}, + (_IPId, _IPNd, _UD, _PT), + ( + (lambda: schemas.IDENTITY_POOL_ID, 1), + (lambda: schemas.IDENTITY_PROVIDER_NAME, 1), + (USE_DEFAULTS, 0), + (PRINCIPAL_TAGS, 0), + ), +) + +SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT: StaticSchema = ( + 18, + n0, + _SPTAMO, + {_sSI: _cSPTAMR, _smit: None}, + (_IPId, _IPNd, _UD, _PT), + ( + (lambda: schemas.IDENTITY_POOL_ID, 0), + (lambda: schemas.IDENTITY_PROVIDER_NAME, 0), + (USE_DEFAULTS, 0), + (PRINCIPAL_TAGS, 0), + ), +) + +SET_PRINCIPAL_TAG_ATTRIBUTE_MAP: StaticOperationSchema = ( + 23, + n0, + _SPTAM, + 0, + SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_INPUT, + SET_PRINCIPAL_TAG_ATTRIBUTE_MAP_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sm: None}, + (_RA, _Ta), + ((lambda: schemas.ARN_STRING, 1), (lambda: schemas.IDENTITY_POOL_TAGS_TYPE, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRR, _smit: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + 0, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UNLINK_DEVELOPER_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _UDII, + {_sm: None}, + (_II, _IPId, _DPN, _DUI), + ( + (lambda: schemas.IDENTITY_ID, 1), + (lambda: schemas.IDENTITY_POOL_ID, 1), + (lambda: schemas.DEVELOPER_PROVIDER_NAME, 1), + (DEVELOPER_USER_IDENTIFIER, 1), + ), +) + +UNLINK_DEVELOPER_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _UDIO, + {_sSI: _sU, _smit: None}, +) + +UNLINK_DEVELOPER_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _UDI, + 0, + UNLINK_DEVELOPER_IDENTITY_INPUT, + UNLINK_DEVELOPER_IDENTITY_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UNLINK_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _UIInl, + {_sm: None}, + (_II, _L, _LTR), + ( + (lambda: schemas.IDENTITY_ID, 1), + (lambda: schemas.LOGINS_MAP, 1), + (lambda: schemas.LOGINS_LIST, 1), + ), +) + +UNLINK_IDENTITY_OUTPUT: StaticSchema = (18, n0, _UIO, {_sSI: _sU, _smit: None}) + +UNLINK_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _UI, + 0, + UNLINK_IDENTITY_INPUT, + UNLINK_IDENTITY_OUTPUT, + ( + lambda: schemas.EXTERNAL_SERVICE_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +IDENTITY_POOL_TAGS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _IPTLT, + 0, + (_m,), + ((lambda: schemas.TAG_KEYS_TYPE, 0),), +) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sm: None}, + (_RA, _TK), + ((lambda: schemas.ARN_STRING, 1), (IDENTITY_POOL_TAGS_LIST_TYPE, 1)), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURR, _smit: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + 0, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UPDATE_IDENTITY_POOL_INPUT: StaticSchema = ( + 18, + n0, + _UIPI, + {_sSI: _cIP, _sm: None}, + (_IPId, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), + ( + (lambda: schemas.IDENTITY_POOL_ID, 1), + (lambda: schemas.IDENTITY_POOL_NAME, 1), + (lambda: schemas.IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), + (lambda: schemas.CLASSIC_FLOW, 0), + (lambda: schemas.IDENTITY_PROVIDERS, 0), + (lambda: schemas.DEVELOPER_PROVIDER_NAME, 0), + (lambda: schemas.OIDC_PROVIDER_LIST, 0), + (lambda: schemas.COGNITO_IDENTITY_PROVIDER_LIST, 0), + (lambda: schemas.SAML_PROVIDER_LIST, 0), + (lambda: schemas.IDENTITY_POOL_TAGS_TYPE, 0), + ), +) + +UPDATE_IDENTITY_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _UIPO, + {_sSI: _cIP, _smit: None}, + (_IPId, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPT), + ( + (lambda: schemas.IDENTITY_POOL_ID, 1), + (lambda: schemas.IDENTITY_POOL_NAME, 1), + (lambda: schemas.IDENTITY_POOL_UNAUTHENTICATED, {_s: False, _smi: None}), + (lambda: schemas.CLASSIC_FLOW, 0), + (lambda: schemas.IDENTITY_PROVIDERS, 0), + (lambda: schemas.DEVELOPER_PROVIDER_NAME, 0), + (lambda: schemas.OIDC_PROVIDER_LIST, 0), + (lambda: schemas.COGNITO_IDENTITY_PROVIDER_LIST, 0), + (lambda: schemas.SAML_PROVIDER_LIST, 0), + (lambda: schemas.IDENTITY_POOL_TAGS_TYPE, 0), + ), +) + +UPDATE_IDENTITY_POOL: StaticOperationSchema = ( + 23, + n0, + _UIP, + 0, + UPDATE_IDENTITY_POOL_INPUT, + UPDATE_IDENTITY_POOL_OUTPUT, + ( + CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_AUTHORIZED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +AWS_COGNITO_IDENTITY_SERVICE: StaticSchema = ( + 21, + n0, + _AWSCIS, + { + _a: MappingProxyType({"name": "cognito-identity"}), + _a_: None, + _aw: MappingProxyType( + { + "sdkId": "Cognito Identity", + "arnNamespace": "cognito-identity", + "cloudFormationName": "Cognito", + "cloudTrailEventSource": "cognito-identity.amazonaws.com", + "endpointPrefix": "cognito-identity", + } + ), + _sN: MappingProxyType( + {"uri": "http://cognito-identity.amazonaws.com/doc/2014-06-30/"} + ), + }, +) diff --git a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/aio/client.py b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/aio/client.py index 23c5a9f4b..12efd9e13 100644 --- a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/aio/client.py +++ b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/aio/config.py b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/aio/config.py index 6025a8d5e..db1d65714 100644 --- a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/aio/config.py +++ b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson11ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/client.py b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/client.py index eb54792d4..a72a6b196 100644 --- a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/client.py +++ b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/config.py b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/config.py index 2b5ddb8a1..dc2661e1a 100644 --- a/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/config.py +++ b/clients/aws-sdk-cognito-identity/src/aws_sdk_cognito_identity/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson11ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-cognito-identity/tests/test_endpoints.py b/clients/aws-sdk-cognito-identity/tests/test_endpoints.py index 9bfaa4852..3b1af691e 100644 --- a/clients/aws-sdk-cognito-identity/tests/test_endpoints.py +++ b/clients/aws-sdk-cognito-identity/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-connecthealth/pyproject.toml b/clients/aws-sdk-connecthealth/pyproject.toml index 5eb21bae9..1b6a32c79 100644 --- a/clients/aws-sdk-connecthealth/pyproject.toml +++ b/clients/aws-sdk-connecthealth/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_connecthealth" version = "0.12.0" -description = "aws_sdk_connecthealth client" +description = "Python client for Connect Health" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_connecthealth"] @@ -24,22 +24,22 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ "boto3", - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0", + "smithy_test~=0.3.0", "types-boto3-lite[s3]", ] diff --git a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas.py b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas.py index d17682c77..007d3870b 100644 --- a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas.py +++ b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas.py @@ -1,1641 +1,175 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.connecthealth" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_m = "message" -_DI = "DomainId" -_SI = "SubscriptionId" -_ASI = "ActivateSubscriptionInput" -_sm = "smithy.api#input" -_dI = "domainId" -_smi = "smithy.api#required" -_sL = "smithy.api#httpLabel" -_sI = "subscriptionId" -_SA = "SubscriptionArn" -_SS = "SubscriptionStatus" -_ACTIVE = "ACTIVE" -_sV = "smithy.api#enumValue" -_INACTIVE = "INACTIVE" -_DELETED = "DELETED" -_SD = "SubscriptionDescription" -_a = "arn" -_st = "status" -_cA = "createdAt" -_lUA = "lastUpdatedAt" -_aA = "activatedAt" -_dA = "deactivatedAt" -_ASO = "ActivateSubscriptionOutput" -_smit = "smithy.api#output" -_su = "subscription" -_ISE = "InternalServerException" -_se = "server" -_RNFE = "ResourceNotFoundException" -_VE = "ValidationException" -_AS = "ActivateSubscription" -_smith = "smithy.api#http" -_EM = "ErrorMessage" -_U = "Uri" -_PSAGS = "PostStreamArtifactGenerationStatus" -_IP = "IN_PROGRESS" -_FAILED = "FAILED" -_COMPLETED = "COMPLETED" -_AD = "ArtifactDetails" -_oL = "outputLocation" -_fR = "failureReason" -_AC = "AudioChunk" -_AO = "AudioOffset" -_CNGR = "ClinicalNoteGenerationResult" -_nR = "noteResult" -_tR = "transcriptResult" -_aVSR = "afterVisitSummaryResult" -_SSHS = "SensitiveSectionHeaderString" -_smithy = "smithy.api#sensitive" -_SMS = "SensitiveMarkdownString" -_TSI = "TemplateSectionInstruction" -_sH = "sectionHeader" -_sIe = "sectionInstruction" -_TI = "TemplateInstructions" -_me = "member" -_CTB = "CustomTemplateBase" -_HAP = "HISTORY_AND_PHYSICAL" -_GIRPP = "GIRPP" -_DAP = "DAP" -_SIRP = "SIRP" -_BIRP = "BIRP" -_BS = "BEHAVIORAL_SOAP" -_CT = "CustomTemplate" -_tT = "templateType" -_tI = "templateInstructions" -_MNT = "ManagedNoteTemplate" -_PS = "PHYSICAL_SOAP" -_MT = "ManagedTemplate" -_NTS = "NoteTemplateSettings" -_mT = "managedTemplate" -_cT = "customTemplate" -_CNGS = "ClinicalNoteGenerationSettings" -_nTS = "noteTemplateSettings" -_CTR = "CustomTemplateResponse" -_MTR = "ManagedTemplateResponse" -_NTSR = "NoteTemplateSettingsResponse" -_CNGSR = "ClinicalNoteGenerationSettingsResponse" -_CE = "ConflictException" -_KKA = "KmsKeyArn" -_DN = "DomainName" -_TK = "TagKey" -_TV = "TagValue" -_TM = "TagMap" -_k = "key" -_v = "value" -_CWAC = "CreateWebAppConfiguration" -_eR = "ehrRole" -_iII = "idcInstanceId" -_iR = "idcRegion" -_CDI = "CreateDomainInput" -_n = "name" -_kKA = "kmsKeyArn" -_wASC = "webAppSetupConfiguration" -_t = "tags" -_DA = "DomainArn" -_ET = "EncryptionType" -_AOK = "AWS_OWNED_KEY" -_CMK = "CUSTOMER_MANAGED_KEY" -_EC = "EncryptionContext" -_eT = "encryptionType" -_DS = "DomainStatus" -_DELETING = "DELETING" -_WAC = "WebAppConfiguration" -_iAI = "idcApplicationId" -_WAU = "WebAppUrl" -_CDO = "CreateDomainOutput" -_eC = "encryptionContext" -_wAU = "webAppUrl" -_wAC = "webAppConfiguration" -_SQEE = "ServiceQuotaExceededException" -_CD = "CreateDomain" -_CSI = "CreateSubscriptionInput" -_CSO = "CreateSubscriptionOutput" -_CS = "CreateSubscription" -_DSI = "DeactivateSubscriptionInput" -_DSO = "DeactivateSubscriptionOutput" -_DSe = "DeactivateSubscription" -_DDI = "DeleteDomainInput" -_DDO = "DeleteDomainOutput" -_DD = "DeleteDomain" -_GDI = "GetDomainInput" -_GDO = "GetDomainOutput" -_GD = "GetDomain" -_SSI = "ScribeSessionId" -_GMSLSI = "GetMedicalScribeListeningSessionInput" -_sIes = "sessionId" -_MSCI = "MedicalScribeChannelId" -_MSPR = "MedicalScribeParticipantRole" -_PATIENT = "PATIENT" -_CLINICIAN = "CLINICIAN" -_MSCD = "MedicalScribeChannelDefinition" -_cI = "channelId" -_pR = "participantRole" -_MSCDe = "MedicalScribeChannelDefinitions" -_NNB = "NonNullBoolean" -_MSLC = "MedicalScribeLanguageCode" -_EU = "EN_US" -_eU = "en-US" -_MULTI = "MULTI" -_mu = "multi" -_MSME = "MedicalScribeMediaEncoding" -_PCM = "PCM" -_p = "pcm" -_FLAC = "FLAC" -_f = "flac" -_MSMSRH = "MedicalScribeMediaSampleRateHertz" -_MSPSAR = "MedicalScribePostStreamActionsResult" -_cNGR = "clinicalNoteGenerationResult" -_SU = "S3Uri" -_MSPSASR = "MedicalScribePostStreamActionSettingsResponse" -_oSU = "outputS3Uri" -_cNGS = "clinicalNoteGenerationSettings" -_MSSS = "MedicalScribeStreamStatus" -_PAUSED = "PAUSED" -_MSLSD = "MedicalScribeListeningSessionDetails" -_lC = "languageCode" -_mSRH = "mediaSampleRateHertz" -_mE = "mediaEncoding" -_cD = "channelDefinitions" -_pSAS = "postStreamActionSettings" -_pSAR = "postStreamActionResult" -_eCP = "encounterContextProvided" -_sS = "streamStatus" -_sCT = "streamCreationTime" -_sET = "streamEndTime" -_GMSLSO = "GetMedicalScribeListeningSessionOutput" -_mSLSD = "medicalScribeListeningSessionDetails" -_TE = "ThrottlingException" -_GMSLS = "GetMedicalScribeListeningSession" -_smithya = "smithy.api#endpoint" -_JI = "JobId" -_GPIJI = "GetPatientInsightsJobInput" -_sSI = "smithy.synthetic#originalShapeId" -_cGPIJR = "com.amazonaws.connecthealth#GetPatientInsightsJobRequest" -_jI = "jobId" -_SNES = "SensitiveNonEmptyString" -_PIEC = "PatientInsightsEncounterContext" -_eRn = "encounterReason" -_NES = "NonEmptyString" -_FHIRS = "FHIRServer" -_fE = "fhirEndpoint" -_oT = "oauthToken" -_SSo = "S3Source" -_u = "uri" -_SSou = "S3Sources" -_IDC = "InputDataConfig" -_fS = "fhirServer" -_sSo = "s3Sources" -_IT = "InsightsType" -_PV = "PRE_VISIT" -_IC = "InsightsContext" -_iT = "insightsType" -_IO = "InsightsOutput" -_JA = "JobArn" -_JS = "JobStatus" -_SUBMITTED = "SUBMITTED" -_SUCCEEDED = "SUCCEEDED" -_ODC = "OutputDataConfig" -_sOP = "s3OutputPath" -_SIDS = "SensitiveIsoDateString" -_P = "Pronouns" -_HH = "HE_HIM" -_SH = "SHE_HER" -_TT = "THEY_THEM" -_PIPC = "PatientInsightsPatientContext" -_pI = "patientId" -_dOB = "dateOfBirth" -_pr = "pronouns" -_PR = "ProviderRole" -_S = "Specialty" -_PC = "PRIMARY_CARE" -_UC = "UserContext" -_r = "role" -_uI = "userId" -_sp = "specialty" -_GPIJO = "GetPatientInsightsJobOutput" -_cGPIJRo = "com.amazonaws.connecthealth#GetPatientInsightsJobResponse" -_jA = "jobArn" -_jS = "jobStatus" -_cTr = "creationTime" -_sF = "smithy.api#timestampFormat" -_dt = "date-time" -_uT = "updatedTime" -_iO = "insightsOutput" -_sD = "statusDetails" -_pC = "patientContext" -_iC = "insightsContext" -_eCn = "encounterContext" -_uC = "userContext" -_iDC = "inputDataConfig" -_oDC = "outputDataConfig" -_GPIJ = "GetPatientInsightsJob" -_GSI = "GetSubscriptionInput" -_GSO = "GetSubscriptionOutput" -_GS = "GetSubscription" -_LDI = "ListDomainsInput" -_sQ = "smithy.api#httpQuery" -_mR = "maxResults" -_nT = "nextToken" -_DSo = "DomainSummary" -_DSL = "DomainSummaryList" -_LDO = "ListDomainsOutput" -_d = "domains" -_LD = "ListDomains" -_LSI = "ListSubscriptionsInput" -_SL = "SubscriptionList" -_LSO = "ListSubscriptionsOutput" -_sub = "subscriptions" -_LS = "ListSubscriptions" -_LTFRI = "ListTagsForResourceInput" -_rA = "resourceArn" -_LTFRO = "ListTagsForResourceOutput" -_LTFR = "ListTagsForResource" -_MSAE = "MedicalScribeAudioEvent" -_aC = "audioChunk" -_MSBAE = "MedicalScribeBinaryAudioEvent" -_sP = "smithy.api#eventPayload" -_ECn = "EncounterContext" -_uCn = "unstructuredContext" -_MSPSAS = "MedicalScribePostStreamActionSettings" -_MSCE = "MedicalScribeConfigurationEvent" -_MSSCET = "MedicalScribeSessionControlEventType" -_EOS = "END_OF_SESSION" -_MSSCE = "MedicalScribeSessionControlEvent" -_ty = "type" -_MSIS = "MedicalScribeInputStream" -_smithyap = "smithy.api#streaming" -_aE = "audioEvent" -_bAE = "binaryAudioEvent" -_sCE = "sessionControlEvent" -_cE = "configurationEvent" -_SMSLSI = "StartMedicalScribeListeningSessionInput" -_sHm = "smithy.api#httpHeader" -_xamsi = "x-amzn-medscribe-session-id" -_xamdi = "x-amzn-medscribe-domain-id" -_xamsi_ = "x-amzn-medscribe-subscription-id" -_xamlc = "x-amzn-medscribe-language-code" -_xamsr = "x-amzn-medscribe-sample-rate" -_xamme = "x-amzn-medscribe-media-encoding" -_iS = "inputStream" -_sPm = "smithy.api#httpPayload" -_RI = "RequestId" -_MSTS = "MedicalScribeTranscriptSegment" -_sIeg = "segmentId" -_aBO = "audioBeginOffset" -_aEO = "audioEndOffset" -_iP = "isPartial" -_co = "content" -_MSTE = "MedicalScribeTranscriptEvent" -_tS = "transcriptSegment" -_MSOS = "MedicalScribeOutputStream" -_tE = "transcriptEvent" -_iFE = "internalFailureException" -_vE = "validationException" -_SMSLSO = "StartMedicalScribeListeningSessionOutput" -_rI = "requestId" -_xari = "x-amzn-request-id" -_rS = "responseStream" -_SMSLS = "StartMedicalScribeListeningSession" -_SPIJI = "StartPatientInsightsJobInput" -_cSPIJR = "com.amazonaws.connecthealth#StartPatientInsightsJobRequest" -_cTl = "clientToken" -_sT = "smithy.api#idempotencyToken" -_SPIJO = "StartPatientInsightsJobOutput" -_cSPIJRo = "com.amazonaws.connecthealth#StartPatientInsightsJobResponse" -_SPIJ = "StartPatientInsightsJob" -_TRI = "TagResourceInput" -_TRO = "TagResourceOutput" -_sU = "smithy.api#Unit" -_TR = "TagResource" -_TKL = "TagKeyList" -_URI = "UntagResourceInput" -_tK = "tagKeys" -_URO = "UntagResourceOutput" -_UR = "UntagResource" -_CH = "ConnectHealth" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" -_smithyapi = "smithy.api#cors" - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c, _sE: 401}, - (_m,), - ((3, 0),), -) - -DOMAIN_ID: StaticSchema = (3, n0, _DI, 0) - -SUBSCRIPTION_ID: StaticSchema = (3, n0, _SI, 0) - -ACTIVATE_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _ASI, - {_sm: None}, - (_dI, _sI), - ((DOMAIN_ID, 9), (SUBSCRIPTION_ID, 9)), -) - -SUBSCRIPTION_ARN: StaticSchema = (3, n0, _SA, 0) - -SUBSCRIPTION_STATUS: StaticSchema = ( - 14, - n0, - _SS, - 0, - (_ACTIVE, _INACTIVE, _DELETED), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _INACTIVE}), (-1, {_sV: _DELETED})), -) - -SUBSCRIPTION_DESCRIPTION: StaticSchema = ( - 18, - n0, - _SD, - 0, - (_dI, _sI, _a, _st, _cA, _lUA, _aA, _dA), - ( - (DOMAIN_ID, 1), - (SUBSCRIPTION_ID, 1), - (SUBSCRIPTION_ARN, 1), - (SUBSCRIPTION_STATUS, 1), - (4, 1), - (4, 1), - (4, 0), - (4, 0), - ), -) - -ACTIVATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _ASO, - {_smit: None}, - (_su,), - ((SUBSCRIPTION_DESCRIPTION, 0),), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_s: _se, _sE: 500}, - (_m,), - ((3, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c, _sE: 404}, - (_m,), - ((3, 0),), -) - -VALIDATION_EXCEPTION: StaticSchema = (18, n0, _VE, {_s: _c, _sE: 400}, (_m,), ((3, 0),)) - -ACTIVATE_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _AS, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/domains/{domainId}/subscriptions/{subscriptionId}/activate", - "code": 200, - } - ) - }, - ACTIVATE_SUBSCRIPTION_INPUT, - ACTIVATE_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -URI: StaticSchema = (3, n0, _U, 0) - -POST_STREAM_ARTIFACT_GENERATION_STATUS: StaticSchema = ( - 14, - n0, - _PSAGS, - 0, - (_IP, _FAILED, _COMPLETED), - ((-1, {_sV: _IP}), (-1, {_sV: _FAILED}), (-1, {_sV: _COMPLETED})), -) - -ARTIFACT_DETAILS: StaticSchema = ( - 18, - n0, - _AD, - 0, - (_oL, _st, _fR), - ((URI, 0), (POST_STREAM_ARTIFACT_GENERATION_STATUS, 0), (ERROR_MESSAGE, 0)), -) - -AUDIO_CHUNK: StaticSchema = (1, n0, _AC, 0) - -AUDIO_OFFSET: StaticSchema = (10, n0, _AO, 0) - -CLINICAL_NOTE_GENERATION_RESULT: StaticSchema = ( - 18, - n0, - _CNGR, - 0, - (_nR, _tR, _aVSR), - ((ARTIFACT_DETAILS, 0), (ARTIFACT_DETAILS, 0), (ARTIFACT_DETAILS, 0)), -) - -SENSITIVE_SECTION_HEADER_STRING: StaticSchema = (3, n0, _SSHS, 4) - -SENSITIVE_MARKDOWN_STRING: StaticSchema = (3, n0, _SMS, 4) - -TEMPLATE_SECTION_INSTRUCTION: StaticSchema = ( - 18, - n0, - _TSI, - 0, - (_sH, _sIe), - ((SENSITIVE_SECTION_HEADER_STRING, 1), (SENSITIVE_MARKDOWN_STRING, 1)), -) - -TEMPLATE_INSTRUCTIONS: StaticSchema = ( - 16, - n0, - _TI, - 0, - (_me,), - ((TEMPLATE_SECTION_INSTRUCTION, 0),), -) - -CUSTOM_TEMPLATE_BASE: StaticSchema = ( - 14, - n0, - _CTB, - 0, - (_HAP, _GIRPP, _DAP, _SIRP, _BIRP, _BS), - ( - (-1, {_sV: _HAP}), - (-1, {_sV: _GIRPP}), - (-1, {_sV: _DAP}), - (-1, {_sV: _SIRP}), - (-1, {_sV: _BIRP}), - (-1, {_sV: _BS}), - ), -) - -CUSTOM_TEMPLATE: StaticSchema = ( - 18, - n0, - _CT, - 0, - (_tT, _tI), - ((CUSTOM_TEMPLATE_BASE, 1), (TEMPLATE_INSTRUCTIONS, 1)), -) - -MANAGED_NOTE_TEMPLATE: StaticSchema = ( - 14, - n0, - _MNT, - 0, - (_HAP, _GIRPP, _DAP, _SIRP, _BIRP, _BS, _PS), - ( - (-1, {_sV: _HAP}), - (-1, {_sV: _GIRPP}), - (-1, {_sV: _DAP}), - (-1, {_sV: _SIRP}), - (-1, {_sV: _BIRP}), - (-1, {_sV: _BS}), - (-1, {_sV: _PS}), - ), -) - -MANAGED_TEMPLATE: StaticSchema = (18, n0, _MT, 0, (_tT,), ((MANAGED_NOTE_TEMPLATE, 1),)) - -NOTE_TEMPLATE_SETTINGS: StaticSchema = ( - 19, - n0, - _NTS, - 0, - (_mT, _cT), - ((MANAGED_TEMPLATE, 0), (CUSTOM_TEMPLATE, 0)), -) - -CLINICAL_NOTE_GENERATION_SETTINGS: StaticSchema = ( - 18, - n0, - _CNGS, - 0, - (_nTS,), - ((NOTE_TEMPLATE_SETTINGS, 1),), -) - -CUSTOM_TEMPLATE_RESPONSE: StaticSchema = ( - 18, - n0, - _CTR, - 0, - (_tT,), - ((CUSTOM_TEMPLATE_BASE, 0),), -) - -MANAGED_TEMPLATE_RESPONSE: StaticSchema = ( - 18, - n0, - _MTR, - 0, - (_tT,), - ((MANAGED_NOTE_TEMPLATE, 0),), -) - -NOTE_TEMPLATE_SETTINGS_RESPONSE: StaticSchema = ( - 19, - n0, - _NTSR, - 0, - (_mT, _cT), - ((MANAGED_TEMPLATE_RESPONSE, 0), (CUSTOM_TEMPLATE_RESPONSE, 0)), -) - -CLINICAL_NOTE_GENERATION_SETTINGS_RESPONSE: StaticSchema = ( - 18, - n0, - _CNGSR, - 0, - (_nTS,), - ((NOTE_TEMPLATE_SETTINGS_RESPONSE, 0),), -) - -CONFLICT_EXCEPTION: StaticSchema = (18, n0, _CE, {_s: _c, _sE: 409}, (_m,), ((3, 0),)) - -KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) - -DOMAIN_NAME: StaticSchema = (3, n0, _DN, 0) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -CREATE_WEB_APP_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CWAC, - 0, - (_eR, _iII, _iR), - ((3, 1), (3, 1), (3, 1)), -) - -CREATE_DOMAIN_INPUT: StaticSchema = ( - 18, - n0, - _CDI, - {_sm: None}, - (_n, _kKA, _wASC, _t), - ( - (DOMAIN_NAME, 1), - (KMS_KEY_ARN, 0), - (CREATE_WEB_APP_CONFIGURATION, 0), - (TAG_MAP, 0), - ), -) - -DOMAIN_ARN: StaticSchema = (3, n0, _DA, 0) - -ENCRYPTION_TYPE: StaticSchema = ( - 14, - n0, - _ET, - 0, - (_AOK, _CMK), - ((-1, {_sV: _AOK}), (-1, {_sV: _CMK})), -) - -ENCRYPTION_CONTEXT: StaticSchema = ( - 18, - n0, - _EC, - 0, - (_eT, _kKA), - ((ENCRYPTION_TYPE, 1), (KMS_KEY_ARN, 0)), -) - -DOMAIN_STATUS: StaticSchema = ( - 14, - n0, - _DS, - 0, - (_ACTIVE, _DELETING, _DELETED), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DELETING}), (-1, {_sV: _DELETED})), -) - -WEB_APP_CONFIGURATION: StaticSchema = ( - 18, - n0, - _WAC, - 0, - (_eR, _iAI, _iR), - ((3, 1), (3, 1), (3, 1)), -) - -WEB_APP_URL: StaticSchema = (3, n0, _WAU, 0) - -CREATE_DOMAIN_OUTPUT: StaticSchema = ( - 18, - n0, - _CDO, - {_smit: None}, - (_dI, _a, _n, _kKA, _eC, _st, _wAU, _wAC, _cA), - ( - (DOMAIN_ID, 1), - (DOMAIN_ARN, 1), - (DOMAIN_NAME, 1), - (KMS_KEY_ARN, 0), - (ENCRYPTION_CONTEXT, 0), - (DOMAIN_STATUS, 1), - (WEB_APP_URL, 0), - (WEB_APP_CONFIGURATION, 0), - (4, 1), - ), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_s: _c, _sE: 402}, - (_m,), - ((3, 0),), -) - -CREATE_DOMAIN: StaticOperationSchema = ( - 23, - n0, - _CD, - {_smith: MappingProxyType({"method": "POST", "uri": "/domain", "code": 201})}, - CREATE_DOMAIN_INPUT, - CREATE_DOMAIN_OUTPUT, - (SERVICE_QUOTA_EXCEEDED_EXCEPTION,), -) - -CREATE_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_sm: None}, - (_dI,), - ((DOMAIN_ID, 9),), -) - -CREATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_smit: None}, - (_dI, _sI, _a, _st, _cA, _lUA, _aA, _dA), - ( - (DOMAIN_ID, 1), - (SUBSCRIPTION_ID, 1), - (SUBSCRIPTION_ARN, 1), - (SUBSCRIPTION_STATUS, 1), - (4, 1), - (4, 1), - (4, 0), - (4, 0), - ), -) - -CREATE_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _CS, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/domains/{domainId}/subscriptions", "code": 201} - ) - }, - CREATE_SUBSCRIPTION_INPUT, - CREATE_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DEACTIVATE_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _DSI, - {_sm: None}, - (_dI, _sI), - ((DOMAIN_ID, 9), (SUBSCRIPTION_ID, 9)), -) - -DEACTIVATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DSO, - {_smit: None}, - (_su,), - ((SUBSCRIPTION_DESCRIPTION, 0),), -) - -DEACTIVATE_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _DSe, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/domains/{domainId}/subscriptions/{subscriptionId}/deactivate", - "code": 200, - } - ) - }, - DEACTIVATE_SUBSCRIPTION_INPUT, - DEACTIVATE_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_DOMAIN_INPUT: StaticSchema = ( - 18, - n0, - _DDI, - {_sm: None}, - (_dI,), - ((DOMAIN_ID, 9),), -) - -DELETE_DOMAIN_OUTPUT: StaticSchema = ( - 18, - n0, - _DDO, - {_smit: None}, - (_dI, _a, _st), - ((DOMAIN_ID, 1), (DOMAIN_ARN, 1), (DOMAIN_STATUS, 1)), -) - -DELETE_DOMAIN: StaticOperationSchema = ( - 23, - n0, - _DD, - {_smith: MappingProxyType({"method": "DELETE", "uri": "/domain/{domainId}"})}, - DELETE_DOMAIN_INPUT, - DELETE_DOMAIN_OUTPUT, - (RESOURCE_NOT_FOUND_EXCEPTION,), -) - -GET_DOMAIN_INPUT: StaticSchema = (18, n0, _GDI, {_sm: None}, (_dI,), ((DOMAIN_ID, 9),)) - -GET_DOMAIN_OUTPUT: StaticSchema = ( - 18, - n0, - _GDO, - {_smit: None}, - (_dI, _a, _n, _kKA, _eC, _st, _wAU, _wAC, _cA, _t), - ( - (DOMAIN_ID, 1), - (DOMAIN_ARN, 1), - (DOMAIN_NAME, 1), - (KMS_KEY_ARN, 0), - (ENCRYPTION_CONTEXT, 0), - (DOMAIN_STATUS, 1), - (WEB_APP_URL, 0), - (WEB_APP_CONFIGURATION, 0), - (4, 1), - (TAG_MAP, 0), - ), -) - -GET_DOMAIN: StaticOperationSchema = ( - 23, - n0, - _GD, - {_smith: MappingProxyType({"method": "GET", "uri": "/domain/{domainId}"})}, - GET_DOMAIN_INPUT, - GET_DOMAIN_OUTPUT, - (RESOURCE_NOT_FOUND_EXCEPTION,), -) - -SCRIBE_SESSION_ID: StaticSchema = (3, n0, _SSI, 0) - -GET_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _GMSLSI, - {_sm: None}, - (_sIes, _dI, _sI), - ((SCRIBE_SESSION_ID, 9), (DOMAIN_ID, 9), (SUBSCRIPTION_ID, 9)), -) - -MEDICAL_SCRIBE_CHANNEL_ID: StaticSchema = (7, n0, _MSCI, 0) - -MEDICAL_SCRIBE_PARTICIPANT_ROLE: StaticSchema = ( - 14, - n0, - _MSPR, - 0, - (_PATIENT, _CLINICIAN), - ((-1, {_sV: _PATIENT}), (-1, {_sV: _CLINICIAN})), -) - -MEDICAL_SCRIBE_CHANNEL_DEFINITION: StaticSchema = ( - 18, - n0, - _MSCD, - 0, - (_cI, _pR), - ((MEDICAL_SCRIBE_CHANNEL_ID, 1), (MEDICAL_SCRIBE_PARTICIPANT_ROLE, 1)), -) - -MEDICAL_SCRIBE_CHANNEL_DEFINITIONS: StaticSchema = ( - 16, - n0, - _MSCDe, - 0, - (_me,), - ((MEDICAL_SCRIBE_CHANNEL_DEFINITION, 0),), -) - -NON_NULL_BOOLEAN: StaticSchema = (2, n0, _NNB, 0) - -MEDICAL_SCRIBE_LANGUAGE_CODE: StaticSchema = ( - 14, - n0, - _MSLC, - 0, - (_EU, _MULTI), - ((-1, {_sV: _eU}), (-1, {_sV: _mu})), -) - -MEDICAL_SCRIBE_MEDIA_ENCODING: StaticSchema = ( - 14, - n0, - _MSME, - 0, - (_PCM, _FLAC), - ((-1, {_sV: _p}), (-1, {_sV: _f})), -) - -MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ: StaticSchema = (7, n0, _MSMSRH, 0) - -MEDICAL_SCRIBE_POST_STREAM_ACTIONS_RESULT: StaticSchema = ( - 18, - n0, - _MSPSAR, - 0, - (_cNGR,), - ((CLINICAL_NOTE_GENERATION_RESULT, 0),), -) - -S3_URI: StaticSchema = (3, n0, _SU, 0) - -MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS_RESPONSE: StaticSchema = ( - 18, - n0, - _MSPSASR, - 0, - (_oSU, _cNGS), - ((S3_URI, 1), (CLINICAL_NOTE_GENERATION_SETTINGS_RESPONSE, 1)), -) - -MEDICAL_SCRIBE_STREAM_STATUS: StaticSchema = ( - 14, - n0, - _MSSS, - 0, - (_IP, _PAUSED, _FAILED, _COMPLETED), - ( - (-1, {_sV: _IP}), - (-1, {_sV: _PAUSED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _COMPLETED}), - ), -) - -MEDICAL_SCRIBE_LISTENING_SESSION_DETAILS: StaticSchema = ( - 18, - n0, - _MSLSD, - 0, - (_sIes, _dI, _sI, _lC, _mSRH, _mE, _cD, _pSAS, _pSAR, _eCP, _sS, _sCT, _sET), - ( - (SCRIBE_SESSION_ID, 0), - (DOMAIN_ID, 0), - (SUBSCRIPTION_ID, 0), - (MEDICAL_SCRIBE_LANGUAGE_CODE, 0), - (MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, 0), - (MEDICAL_SCRIBE_MEDIA_ENCODING, 0), - (MEDICAL_SCRIBE_CHANNEL_DEFINITIONS, 0), - (MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS_RESPONSE, 0), - (MEDICAL_SCRIBE_POST_STREAM_ACTIONS_RESULT, 0), - (NON_NULL_BOOLEAN, 0), - (MEDICAL_SCRIBE_STREAM_STATUS, 0), - (4, 0), - (4, 0), - ), -) - -GET_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GMSLSO, - {_smit: None}, - (_mSLSD,), - ((MEDICAL_SCRIBE_LISTENING_SESSION_DETAILS, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = (18, n0, _TE, {_s: _c, _sE: 429}, (_m,), ((3, 0),)) - -GET_MEDICAL_SCRIBE_LISTENING_SESSION: StaticOperationSchema = ( - 23, - n0, - _GMSLS, - { - _smithya: MappingProxyType({"hostPrefix": "streaming."}), - _smith: MappingProxyType( - { - "uri": "/medical-scribe-stream/domain/{domainId}/subscription/{subscriptionId}/session/{sessionId}", - "method": "GET", - } - ), - }, - GET_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT, - GET_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -JOB_ID: StaticSchema = (3, n0, _JI, 0) - -GET_PATIENT_INSIGHTS_JOB_INPUT: StaticSchema = ( - 18, - n0, - _GPIJI, - {_sSI: _cGPIJR, _sm: None}, - (_dI, _jI), - ((DOMAIN_ID, 9), (JOB_ID, 9)), -) - -SENSITIVE_NON_EMPTY_STRING: StaticSchema = (3, n0, _SNES, 4) - -PATIENT_INSIGHTS_ENCOUNTER_CONTEXT: StaticSchema = ( - 18, - n0, - _PIEC, - 0, - (_eRn,), - ((SENSITIVE_NON_EMPTY_STRING, 1),), -) - -NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) - -FHIR_SERVER: StaticSchema = ( - 18, - n0, - _FHIRS, - 0, - (_fE, _oT), - ((NON_EMPTY_STRING, 1), (SENSITIVE_NON_EMPTY_STRING, 0)), -) - -S3_SOURCE: StaticSchema = (18, n0, _SSo, 0, (_u,), ((S3_URI, 1),)) - -S3_SOURCES: StaticSchema = (16, n0, _SSou, 0, (_me,), ((S3_SOURCE, 0),)) - -INPUT_DATA_CONFIG: StaticSchema = ( - 18, - n0, - _IDC, - 0, - (_fS, _sSo), - ((FHIR_SERVER, 0), (S3_SOURCES, 0)), -) - -INSIGHTS_TYPE: StaticSchema = (14, n0, _IT, 0, (_PV,), ((-1, {_sV: _PV}),)) - -INSIGHTS_CONTEXT: StaticSchema = (18, n0, _IC, 0, (_iT,), ((INSIGHTS_TYPE, 1),)) - -INSIGHTS_OUTPUT: StaticSchema = (18, n0, _IO, 0, (_u,), ((S3_URI, 1),)) - -JOB_ARN: StaticSchema = (3, n0, _JA, 0) - -JOB_STATUS: StaticSchema = ( - 14, - n0, - _JS, - 0, - (_SUBMITTED, _IP, _FAILED, _SUCCEEDED), - ( - (-1, {_sV: _SUBMITTED}), - (-1, {_sV: _IP}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _SUCCEEDED}), - ), -) - -OUTPUT_DATA_CONFIG: StaticSchema = (18, n0, _ODC, 0, (_sOP,), ((S3_URI, 1),)) - -SENSITIVE_ISO_DATE_STRING: StaticSchema = (3, n0, _SIDS, 4) - -PRONOUNS: StaticSchema = ( - 14, - n0, - _P, - 4, - (_HH, _SH, _TT), - ((-1, {_sV: _HH}), (-1, {_sV: _SH}), (-1, {_sV: _TT})), -) - -PATIENT_INSIGHTS_PATIENT_CONTEXT: StaticSchema = ( - 18, - n0, - _PIPC, - 0, - (_pI, _dOB, _pr), - ((SENSITIVE_NON_EMPTY_STRING, 1), (SENSITIVE_ISO_DATE_STRING, 0), (PRONOUNS, 0)), -) - -PROVIDER_ROLE: StaticSchema = ( - 14, - n0, - _PR, - 0, - (_CLINICIAN,), - ((-1, {_sV: _CLINICIAN}),), -) - -SPECIALTY: StaticSchema = (14, n0, _S, 0, (_PC,), ((-1, {_sV: _PC}),)) - -USER_CONTEXT: StaticSchema = ( - 18, - n0, - _UC, - 0, - (_r, _uI, _sp), - ((PROVIDER_ROLE, 1), (SENSITIVE_NON_EMPTY_STRING, 1), (SPECIALTY, 0)), -) - -GET_PATIENT_INSIGHTS_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _GPIJO, - {_sSI: _cGPIJRo, _smit: None}, - (_jI, _jA, _jS, _cTr, _uT, _iO, _sD, _pC, _iC, _eCn, _uC, _iDC, _oDC), - ( - (JOB_ID, 1), - (JOB_ARN, 1), - (JOB_STATUS, 1), - (4, {_sF: _dt}), - (4, {_sF: _dt}), - (INSIGHTS_OUTPUT, 0), - (NON_EMPTY_STRING, 0), - (PATIENT_INSIGHTS_PATIENT_CONTEXT, 1), - (INSIGHTS_CONTEXT, 1), - (PATIENT_INSIGHTS_ENCOUNTER_CONTEXT, 1), - (USER_CONTEXT, 1), - (INPUT_DATA_CONFIG, 1), - (OUTPUT_DATA_CONFIG, 1), - ), -) - -GET_PATIENT_INSIGHTS_JOB: StaticOperationSchema = ( - 23, - n0, - _GPIJ, - { - _smithya: MappingProxyType({"hostPrefix": "runtime."}), - _smith: MappingProxyType( - { - "code": 200, - "method": "GET", - "uri": "/domain/{domainId}/patient-insights-job/{jobId}", - } - ), - }, - GET_PATIENT_INSIGHTS_JOB_INPUT, - GET_PATIENT_INSIGHTS_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _GSI, - {_sm: None}, - (_dI, _sI), - ((DOMAIN_ID, 9), (SUBSCRIPTION_ID, 9)), -) - -GET_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GSO, - {_smit: None}, - (_su,), - ((SUBSCRIPTION_DESCRIPTION, 0),), -) - -GET_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _GS, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/domains/{domainId}/subscriptions/{subscriptionId}", - } - ) - }, - GET_SUBSCRIPTION_INPUT, - GET_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_DOMAINS_INPUT: StaticSchema = ( - 18, - n0, - _LDI, - {_sm: None}, - (_st, _mR, _nT), - ((DOMAIN_STATUS, {_sQ: _st}), (7, {_sQ: _mR}), (3, {_sQ: _nT})), -) - -DOMAIN_SUMMARY: StaticSchema = ( - 18, - n0, - _DSo, - 0, - (_dI, _a, _n, _st, _cA), - ((DOMAIN_ID, 1), (DOMAIN_ARN, 1), (DOMAIN_NAME, 1), (DOMAIN_STATUS, 1), (4, 1)), -) - -DOMAIN_SUMMARY_LIST: StaticSchema = (16, n0, _DSL, 0, (_me,), ((DOMAIN_SUMMARY, 0),)) - -LIST_DOMAINS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDO, - {_smit: None}, - (_d, _nT), - ((DOMAIN_SUMMARY_LIST, 1), (3, 0)), -) - -LIST_DOMAINS: StaticOperationSchema = ( - 23, - n0, - _LD, - {_smith: MappingProxyType({"method": "GET", "uri": "/domain"})}, - LIST_DOMAINS_INPUT, - LIST_DOMAINS_OUTPUT, - (), -) - -LIST_SUBSCRIPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LSI, - {_sm: None}, - (_dI, _mR, _nT), - ((DOMAIN_ID, 9), (7, {_sQ: _mR}), (3, {_sQ: _nT})), -) - -SUBSCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _SL, - 0, - (_me,), - ((SUBSCRIPTION_DESCRIPTION, 0),), -) - -LIST_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_smit: None}, - (_sub, _nT), - ((SUBSCRIPTION_LIST, 1), (3, 0)), -) - -LIST_SUBSCRIPTIONS: StaticOperationSchema = ( - 23, - n0, - _LS, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/domains/{domainId}/subscriptions"} - ) - }, - LIST_SUBSCRIPTIONS_INPUT, - LIST_SUBSCRIPTIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sm: None}, - (_rA,), - ((3, 9),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_smit: None}, - (_t,), - ((TAG_MAP, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - { - _smith: MappingProxyType( - {"uri": "/tags/{resourceArn}", "method": "GET", "code": 200} - ) - }, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - (), -) - -MEDICAL_SCRIBE_AUDIO_EVENT: StaticSchema = ( - 18, - n0, - _MSAE, - 0, - (_aC,), - ((AUDIO_CHUNK, 1),), -) - -MEDICAL_SCRIBE_BINARY_AUDIO_EVENT: StaticSchema = ( - 18, - n0, - _MSBAE, - 0, - (_aC,), - ((AUDIO_CHUNK, {_sP: None, _smi: None}),), -) - -ENCOUNTER_CONTEXT: StaticSchema = ( - 18, - n0, - _ECn, - 0, - (_uCn,), - ((SENSITIVE_MARKDOWN_STRING, 0),), -) - -MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS: StaticSchema = ( - 18, - n0, - _MSPSAS, - 0, - (_oSU, _cNGS), - ((S3_URI, 1), (CLINICAL_NOTE_GENERATION_SETTINGS, 1)), -) - -MEDICAL_SCRIBE_CONFIGURATION_EVENT: StaticSchema = ( - 18, - n0, - _MSCE, - 0, - (_pSAS, _cD, _eCn), - ( - (MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS, 1), - (MEDICAL_SCRIBE_CHANNEL_DEFINITIONS, 0), - (ENCOUNTER_CONTEXT, 0), - ), -) - -MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE: StaticSchema = ( - 14, - n0, - _MSSCET, - 0, - (_EOS,), - ((-1, {_sV: _EOS}),), -) - -MEDICAL_SCRIBE_SESSION_CONTROL_EVENT: StaticSchema = ( - 18, - n0, - _MSSCE, - 0, - (_ty,), - ((MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE, 0),), -) - -MEDICAL_SCRIBE_INPUT_STREAM: StaticSchema = ( - 19, - n0, - _MSIS, - {_smithyap: None}, - (_aE, _bAE, _sCE, _cE), - ( - (MEDICAL_SCRIBE_AUDIO_EVENT, 0), - (MEDICAL_SCRIBE_BINARY_AUDIO_EVENT, 0), - (MEDICAL_SCRIBE_SESSION_CONTROL_EVENT, 0), - (MEDICAL_SCRIBE_CONFIGURATION_EVENT, 0), - ), -) - -START_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _SMSLSI, - {_sm: None}, - (_sIes, _dI, _sI, _lC, _mSRH, _mE, _iS), - ( - (SCRIBE_SESSION_ID, {_sHm: _xamsi, _smi: None}), - (DOMAIN_ID, {_sHm: _xamdi, _smi: None}), - (SUBSCRIPTION_ID, {_sHm: _xamsi_, _smi: None}), - (MEDICAL_SCRIBE_LANGUAGE_CODE, {_sHm: _xamlc, _smi: None}), - (MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, {_sHm: _xamsr, _smi: None}), - (MEDICAL_SCRIBE_MEDIA_ENCODING, {_sHm: _xamme, _smi: None}), - (MEDICAL_SCRIBE_INPUT_STREAM, 16), - ), -) - -REQUEST_ID: StaticSchema = (3, n0, _RI, 0) - -MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT: StaticSchema = ( - 18, - n0, - _MSTS, - 0, - (_sIeg, _aBO, _aEO, _iP, _cI, _co), - ( - (3, 0), - (AUDIO_OFFSET, 0), - (AUDIO_OFFSET, 0), - (NON_NULL_BOOLEAN, 0), - (3, 0), - (3, 0), - ), -) - -MEDICAL_SCRIBE_TRANSCRIPT_EVENT: StaticSchema = ( - 18, - n0, - _MSTE, - 0, - (_tS,), - ((MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT, 0),), -) - -MEDICAL_SCRIBE_OUTPUT_STREAM: StaticSchema = ( - 19, - n0, - _MSOS, - {_smithyap: None}, - (_tE, _iFE, _vE), - ( - (MEDICAL_SCRIBE_TRANSCRIPT_EVENT, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - ), -) - -START_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _SMSLSO, - {_smit: None}, - (_sIes, _dI, _sI, _rI, _lC, _mSRH, _mE, _rS), - ( - (SCRIBE_SESSION_ID, {_sHm: _xamsi}), - (DOMAIN_ID, {_sHm: _xamdi}), - (SUBSCRIPTION_ID, {_sHm: _xamsi_}), - (REQUEST_ID, {_sHm: _xari}), - (MEDICAL_SCRIBE_LANGUAGE_CODE, {_sHm: _xamlc}), - (MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, {_sHm: _xamsr}), - (MEDICAL_SCRIBE_MEDIA_ENCODING, {_sHm: _xamme}), - (MEDICAL_SCRIBE_OUTPUT_STREAM, 16), - ), -) - -START_MEDICAL_SCRIBE_LISTENING_SESSION: StaticOperationSchema = ( - 23, - n0, - _SMSLS, - { - _smithya: MappingProxyType({"hostPrefix": "streaming."}), - _smith: MappingProxyType({"uri": "/medical-scribe-stream/", "method": "POST"}), - }, - START_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT, - START_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -START_PATIENT_INSIGHTS_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SPIJI, - {_sSI: _cSPIJR, _sm: None}, - (_dI, _pC, _iC, _eCn, _uC, _iDC, _oDC, _cTl), - ( - (DOMAIN_ID, 9), - (PATIENT_INSIGHTS_PATIENT_CONTEXT, 1), - (INSIGHTS_CONTEXT, 1), - (PATIENT_INSIGHTS_ENCOUNTER_CONTEXT, 1), - (USER_CONTEXT, 1), - (INPUT_DATA_CONFIG, 1), - (OUTPUT_DATA_CONFIG, 1), - (NON_EMPTY_STRING, 2), - ), -) - -START_PATIENT_INSIGHTS_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SPIJO, - {_sSI: _cSPIJRo, _smit: None}, - (_jA, _jI, _cTr), - ((JOB_ARN, 1), (JOB_ID, 1), (4, {_sF: _dt})), -) - -START_PATIENT_INSIGHTS_JOB: StaticOperationSchema = ( - 23, - n0, - _SPIJ, - { - _smithya: MappingProxyType({"hostPrefix": "runtime."}), - _smith: MappingProxyType( - { - "code": 200, - "method": "POST", - "uri": "/domain/{domainId}/patient-insights-job", - } - ), - }, - START_PATIENT_INSIGHTS_JOB_INPUT, - START_PATIENT_INSIGHTS_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sm: None}, - (_rA, _t), - ((3, 9), (TAG_MAP, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smit: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - { - _smith: MappingProxyType( - {"uri": "/tags/{resourceArn}", "method": "POST", "code": 204} - ) - }, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - (), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sm: None}, - (_rA, _tK), - ((3, 9), (TAG_KEY_LIST, {_sQ: _tK, _smi: None})), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smit: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smith: MappingProxyType( - {"uri": "/tags/{resourceArn}", "method": "DELETE", "code": 204} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - (), -) - -CONNECT_HEALTH: StaticSchema = ( - 21, - n0, - _CH, - { - _aw: MappingProxyType({"name": "health-agent"}), - _aws: MappingProxyType( - { - "sdkId": "ConnectHealth", - "arnNamespace": "health-agent", - "endpointPrefix": "health-agent", - "cloudTrailEventSource": "health-agent.amazonaws.com", - } - ), - _aJ: MappingProxyType({"http": ("h2", "http/1.1"), "eventStreamHttp": ("h2",)}), - _smithyapi: MappingProxyType( - { - "origin": "*", - "additionalAllowedHeaders": ( - "*", - "content-type", - "content-length", - "authorization", - "x-amz-date", - "x-amz-security-token", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-api-key", - ), - "additionalExposedHeaders": ( - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-trace-id", - "Access-Control-Allow-Origin", - ), - "maxAge": 86400, - } - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ACCESS_DENIED_EXCEPTION", + "DOMAIN_ID", + "SUBSCRIPTION_ID", + "ACTIVATE_SUBSCRIPTION_INPUT", + "ACTIVATE_SUBSCRIPTION_OUTPUT", + "ACTIVATE_SUBSCRIPTION", + "SUBSCRIPTION_ARN", + "SUBSCRIPTION_STATUS", + "SUBSCRIPTION_DESCRIPTION", + "INTERNAL_SERVER_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "VALIDATION_EXCEPTION", + "ERROR_MESSAGE", + "URI", + "POST_STREAM_ARTIFACT_GENERATION_STATUS", + "ARTIFACT_DETAILS", + "AUDIO_CHUNK", + "AUDIO_OFFSET", + "CLINICAL_NOTE_GENERATION_RESULT", + "SENSITIVE_SECTION_HEADER_STRING", + "SENSITIVE_MARKDOWN_STRING", + "TEMPLATE_SECTION_INSTRUCTION", + "TEMPLATE_INSTRUCTIONS", + "CUSTOM_TEMPLATE_BASE", + "CUSTOM_TEMPLATE", + "MANAGED_NOTE_TEMPLATE", + "MANAGED_TEMPLATE", + "NOTE_TEMPLATE_SETTINGS", + "CLINICAL_NOTE_GENERATION_SETTINGS", + "CUSTOM_TEMPLATE_RESPONSE", + "MANAGED_TEMPLATE_RESPONSE", + "NOTE_TEMPLATE_SETTINGS_RESPONSE", + "CLINICAL_NOTE_GENERATION_SETTINGS_RESPONSE", + "CONFLICT_EXCEPTION", + "KMS_KEY_ARN", + "DOMAIN_NAME", + "TAG_KEY", + "TAG_VALUE", + "TAG_MAP", + "CREATE_WEB_APP_CONFIGURATION", + "CREATE_DOMAIN_INPUT", + "CREATE_DOMAIN_OUTPUT", + "CREATE_DOMAIN", + "DOMAIN_ARN", + "ENCRYPTION_TYPE", + "ENCRYPTION_CONTEXT", + "DOMAIN_STATUS", + "WEB_APP_CONFIGURATION", + "WEB_APP_URL", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "CREATE_SUBSCRIPTION_INPUT", + "CREATE_SUBSCRIPTION_OUTPUT", + "CREATE_SUBSCRIPTION", + "DEACTIVATE_SUBSCRIPTION_INPUT", + "DEACTIVATE_SUBSCRIPTION_OUTPUT", + "DEACTIVATE_SUBSCRIPTION", + "DELETE_DOMAIN_INPUT", + "DELETE_DOMAIN_OUTPUT", + "DELETE_DOMAIN", + "GET_DOMAIN_INPUT", + "GET_DOMAIN_OUTPUT", + "GET_DOMAIN", + "SCRIBE_SESSION_ID", + "GET_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT", + "GET_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT", + "GET_MEDICAL_SCRIBE_LISTENING_SESSION", + "MEDICAL_SCRIBE_CHANNEL_ID", + "MEDICAL_SCRIBE_PARTICIPANT_ROLE", + "MEDICAL_SCRIBE_CHANNEL_DEFINITION", + "MEDICAL_SCRIBE_CHANNEL_DEFINITIONS", + "NON_NULL_BOOLEAN", + "MEDICAL_SCRIBE_LANGUAGE_CODE", + "MEDICAL_SCRIBE_MEDIA_ENCODING", + "MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ", + "MEDICAL_SCRIBE_POST_STREAM_ACTIONS_RESULT", + "S3_URI", + "MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS_RESPONSE", + "MEDICAL_SCRIBE_STREAM_STATUS", + ), + ( + "MEDICAL_SCRIBE_LISTENING_SESSION_DETAILS", + "THROTTLING_EXCEPTION", + "JOB_ID", + "GET_PATIENT_INSIGHTS_JOB_INPUT", + "GET_PATIENT_INSIGHTS_JOB_OUTPUT", + "GET_PATIENT_INSIGHTS_JOB", + "SENSITIVE_NON_EMPTY_STRING", + "PATIENT_INSIGHTS_ENCOUNTER_CONTEXT", + "NON_EMPTY_STRING", + "FHIR_SERVER", + "S3_SOURCE", + "S3_SOURCES", + "INPUT_DATA_CONFIG", + "INSIGHTS_TYPE", + "INSIGHTS_CONTEXT", + "INSIGHTS_OUTPUT", + "JOB_ARN", + "JOB_STATUS", + "OUTPUT_DATA_CONFIG", + "SENSITIVE_ISO_DATE_STRING", + "PRONOUNS", + "PATIENT_INSIGHTS_PATIENT_CONTEXT", + "PROVIDER_ROLE", + "SPECIALTY", + "USER_CONTEXT", + "GET_SUBSCRIPTION_INPUT", + "GET_SUBSCRIPTION_OUTPUT", + "GET_SUBSCRIPTION", + "LIST_DOMAINS_INPUT", + "LIST_DOMAINS_OUTPUT", + "LIST_DOMAINS", + "DOMAIN_SUMMARY", + "DOMAIN_SUMMARY_LIST", + "LIST_SUBSCRIPTIONS_INPUT", + "LIST_SUBSCRIPTIONS_OUTPUT", + "LIST_SUBSCRIPTIONS", + "SUBSCRIPTION_LIST", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "MEDICAL_SCRIBE_AUDIO_EVENT", + "MEDICAL_SCRIBE_BINARY_AUDIO_EVENT", + "ENCOUNTER_CONTEXT", + "MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS", + "MEDICAL_SCRIBE_CONFIGURATION_EVENT", + "MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE", + "MEDICAL_SCRIBE_SESSION_CONTROL_EVENT", + "MEDICAL_SCRIBE_INPUT_STREAM", + "START_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT", + "START_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT", + "START_MEDICAL_SCRIBE_LISTENING_SESSION", + "REQUEST_ID", + "MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT", + "MEDICAL_SCRIBE_TRANSCRIPT_EVENT", + "MEDICAL_SCRIBE_OUTPUT_STREAM", + "START_PATIENT_INSIGHTS_JOB_INPUT", + "START_PATIENT_INSIGHTS_JOB_OUTPUT", + "START_PATIENT_INSIGHTS_JOB", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "CONNECT_HEALTH", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas_0.py b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas_0.py new file mode 100644 index 000000000..96b050277 --- /dev/null +++ b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas_0.py @@ -0,0 +1,819 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.connecthealth" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_DI = "DomainId" +_SI = "SubscriptionId" +_ASI = "ActivateSubscriptionInput" +_sm = "smithy.api#input" +_dI = "domainId" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sI = "subscriptionId" +_SA = "SubscriptionArn" +_SS = "SubscriptionStatus" +_ACTIVE = "ACTIVE" +_sV = "smithy.api#enumValue" +_INACTIVE = "INACTIVE" +_DELETED = "DELETED" +_SD = "SubscriptionDescription" +_a = "arn" +_st = "status" +_cA = "createdAt" +_lUA = "lastUpdatedAt" +_aA = "activatedAt" +_dA = "deactivatedAt" +_ASO = "ActivateSubscriptionOutput" +_smit = "smithy.api#output" +_su = "subscription" +_ISE = "InternalServerException" +_se = "server" +_RNFE = "ResourceNotFoundException" +_VE = "ValidationException" +_AS = "ActivateSubscription" +_smith = "smithy.api#http" +_EM = "ErrorMessage" +_U = "Uri" +_PSAGS = "PostStreamArtifactGenerationStatus" +_IP = "IN_PROGRESS" +_FAILED = "FAILED" +_COMPLETED = "COMPLETED" +_AD = "ArtifactDetails" +_oL = "outputLocation" +_fR = "failureReason" +_AC = "AudioChunk" +_AO = "AudioOffset" +_CNGR = "ClinicalNoteGenerationResult" +_nR = "noteResult" +_tR = "transcriptResult" +_aVSR = "afterVisitSummaryResult" +_SSHS = "SensitiveSectionHeaderString" +_smithy = "smithy.api#sensitive" +_SMS = "SensitiveMarkdownString" +_TSI = "TemplateSectionInstruction" +_sH = "sectionHeader" +_sIe = "sectionInstruction" +_TI = "TemplateInstructions" +_me = "member" +_CTB = "CustomTemplateBase" +_HAP = "HISTORY_AND_PHYSICAL" +_GIRPP = "GIRPP" +_DAP = "DAP" +_SIRP = "SIRP" +_BIRP = "BIRP" +_BS = "BEHAVIORAL_SOAP" +_CT = "CustomTemplate" +_tT = "templateType" +_tI = "templateInstructions" +_MNT = "ManagedNoteTemplate" +_PS = "PHYSICAL_SOAP" +_MT = "ManagedTemplate" +_NTS = "NoteTemplateSettings" +_mT = "managedTemplate" +_cT = "customTemplate" +_CNGS = "ClinicalNoteGenerationSettings" +_nTS = "noteTemplateSettings" +_CTR = "CustomTemplateResponse" +_MTR = "ManagedTemplateResponse" +_NTSR = "NoteTemplateSettingsResponse" +_CNGSR = "ClinicalNoteGenerationSettingsResponse" +_CE = "ConflictException" +_KKA = "KmsKeyArn" +_DN = "DomainName" +_TK = "TagKey" +_TV = "TagValue" +_TM = "TagMap" +_k = "key" +_v = "value" +_CWAC = "CreateWebAppConfiguration" +_eR = "ehrRole" +_iII = "idcInstanceId" +_iR = "idcRegion" +_CDI = "CreateDomainInput" +_n = "name" +_kKA = "kmsKeyArn" +_wASC = "webAppSetupConfiguration" +_t = "tags" +_DA = "DomainArn" +_ET = "EncryptionType" +_AOK = "AWS_OWNED_KEY" +_CMK = "CUSTOMER_MANAGED_KEY" +_EC = "EncryptionContext" +_eT = "encryptionType" +_DS = "DomainStatus" +_DELETING = "DELETING" +_WAC = "WebAppConfiguration" +_iAI = "idcApplicationId" +_WAU = "WebAppUrl" +_CDO = "CreateDomainOutput" +_eC = "encryptionContext" +_wAU = "webAppUrl" +_wAC = "webAppConfiguration" +_SQEE = "ServiceQuotaExceededException" +_CD = "CreateDomain" +_CSI = "CreateSubscriptionInput" +_CSO = "CreateSubscriptionOutput" +_CS = "CreateSubscription" +_DSI = "DeactivateSubscriptionInput" +_DSO = "DeactivateSubscriptionOutput" +_DSe = "DeactivateSubscription" +_DDI = "DeleteDomainInput" +_DDO = "DeleteDomainOutput" +_DD = "DeleteDomain" +_GDI = "GetDomainInput" +_GDO = "GetDomainOutput" +_GD = "GetDomain" +_SSI = "ScribeSessionId" +_GMSLSI = "GetMedicalScribeListeningSessionInput" +_sIes = "sessionId" +_MSCI = "MedicalScribeChannelId" +_MSPR = "MedicalScribeParticipantRole" +_PATIENT = "PATIENT" +_CLINICIAN = "CLINICIAN" +_MSCD = "MedicalScribeChannelDefinition" +_cI = "channelId" +_pR = "participantRole" +_MSCDe = "MedicalScribeChannelDefinitions" +_NNB = "NonNullBoolean" +_MSLC = "MedicalScribeLanguageCode" +_EU = "EN_US" +_eU = "en-US" +_MULTI = "MULTI" +_mu = "multi" +_MSME = "MedicalScribeMediaEncoding" +_PCM = "PCM" +_p = "pcm" +_FLAC = "FLAC" +_f = "flac" +_MSMSRH = "MedicalScribeMediaSampleRateHertz" +_MSPSAR = "MedicalScribePostStreamActionsResult" +_cNGR = "clinicalNoteGenerationResult" +_SU = "S3Uri" +_MSPSASR = "MedicalScribePostStreamActionSettingsResponse" +_oSU = "outputS3Uri" +_cNGS = "clinicalNoteGenerationSettings" +_MSSS = "MedicalScribeStreamStatus" +_PAUSED = "PAUSED" +_GMSLSO = "GetMedicalScribeListeningSessionOutput" +_mSLSD = "medicalScribeListeningSessionDetails" +_GMSLS = "GetMedicalScribeListeningSession" +_smithya = "smithy.api#endpoint" + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c, _sE: 401}, + (_m,), + ((3, 0),), +) + +DOMAIN_ID: StaticSchema = (3, n0, _DI, 0) + +SUBSCRIPTION_ID: StaticSchema = (3, n0, _SI, 0) + +ACTIVATE_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _ASI, + {_sm: None}, + (_dI, _sI), + ((DOMAIN_ID, 9), (SUBSCRIPTION_ID, 9)), +) + +ACTIVATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _ASO, + {_smit: None}, + (_su,), + ((lambda: SUBSCRIPTION_DESCRIPTION, 0),), +) + +ACTIVATE_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _AS, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/domains/{domainId}/subscriptions/{subscriptionId}/activate", + "code": 200, + } + ) + }, + ACTIVATE_SUBSCRIPTION_INPUT, + ACTIVATE_SUBSCRIPTION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +SUBSCRIPTION_ARN: StaticSchema = (3, n0, _SA, 0) + +SUBSCRIPTION_STATUS: StaticSchema = ( + 14, + n0, + _SS, + 0, + (_ACTIVE, _INACTIVE, _DELETED), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _INACTIVE}), (-1, {_sV: _DELETED})), +) + +SUBSCRIPTION_DESCRIPTION: StaticSchema = ( + 18, + n0, + _SD, + 0, + (_dI, _sI, _a, _st, _cA, _lUA, _aA, _dA), + ( + (DOMAIN_ID, 1), + (SUBSCRIPTION_ID, 1), + (SUBSCRIPTION_ARN, 1), + (SUBSCRIPTION_STATUS, 1), + (4, 1), + (4, 1), + (4, 0), + (4, 0), + ), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_s: _se, _sE: 500}, + (_m,), + ((3, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c, _sE: 404}, + (_m,), + ((3, 0),), +) + +VALIDATION_EXCEPTION: StaticSchema = (18, n0, _VE, {_s: _c, _sE: 400}, (_m,), ((3, 0),)) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +URI: StaticSchema = (3, n0, _U, 0) + +POST_STREAM_ARTIFACT_GENERATION_STATUS: StaticSchema = ( + 14, + n0, + _PSAGS, + 0, + (_IP, _FAILED, _COMPLETED), + ((-1, {_sV: _IP}), (-1, {_sV: _FAILED}), (-1, {_sV: _COMPLETED})), +) + +ARTIFACT_DETAILS: StaticSchema = ( + 18, + n0, + _AD, + 0, + (_oL, _st, _fR), + ((URI, 0), (POST_STREAM_ARTIFACT_GENERATION_STATUS, 0), (ERROR_MESSAGE, 0)), +) + +AUDIO_CHUNK: StaticSchema = (1, n0, _AC, 0) + +AUDIO_OFFSET: StaticSchema = (10, n0, _AO, 0) + +CLINICAL_NOTE_GENERATION_RESULT: StaticSchema = ( + 18, + n0, + _CNGR, + 0, + (_nR, _tR, _aVSR), + ((ARTIFACT_DETAILS, 0), (ARTIFACT_DETAILS, 0), (ARTIFACT_DETAILS, 0)), +) + +SENSITIVE_SECTION_HEADER_STRING: StaticSchema = (3, n0, _SSHS, 4) + +SENSITIVE_MARKDOWN_STRING: StaticSchema = (3, n0, _SMS, 4) + +TEMPLATE_SECTION_INSTRUCTION: StaticSchema = ( + 18, + n0, + _TSI, + 0, + (_sH, _sIe), + ((SENSITIVE_SECTION_HEADER_STRING, 1), (SENSITIVE_MARKDOWN_STRING, 1)), +) + +TEMPLATE_INSTRUCTIONS: StaticSchema = ( + 16, + n0, + _TI, + 0, + (_me,), + ((TEMPLATE_SECTION_INSTRUCTION, 0),), +) + +CUSTOM_TEMPLATE_BASE: StaticSchema = ( + 14, + n0, + _CTB, + 0, + (_HAP, _GIRPP, _DAP, _SIRP, _BIRP, _BS), + ( + (-1, {_sV: _HAP}), + (-1, {_sV: _GIRPP}), + (-1, {_sV: _DAP}), + (-1, {_sV: _SIRP}), + (-1, {_sV: _BIRP}), + (-1, {_sV: _BS}), + ), +) + +CUSTOM_TEMPLATE: StaticSchema = ( + 18, + n0, + _CT, + 0, + (_tT, _tI), + ((CUSTOM_TEMPLATE_BASE, 1), (TEMPLATE_INSTRUCTIONS, 1)), +) + +MANAGED_NOTE_TEMPLATE: StaticSchema = ( + 14, + n0, + _MNT, + 0, + (_HAP, _GIRPP, _DAP, _SIRP, _BIRP, _BS, _PS), + ( + (-1, {_sV: _HAP}), + (-1, {_sV: _GIRPP}), + (-1, {_sV: _DAP}), + (-1, {_sV: _SIRP}), + (-1, {_sV: _BIRP}), + (-1, {_sV: _BS}), + (-1, {_sV: _PS}), + ), +) + +MANAGED_TEMPLATE: StaticSchema = (18, n0, _MT, 0, (_tT,), ((MANAGED_NOTE_TEMPLATE, 1),)) + +NOTE_TEMPLATE_SETTINGS: StaticSchema = ( + 19, + n0, + _NTS, + 0, + (_mT, _cT), + ((MANAGED_TEMPLATE, 0), (CUSTOM_TEMPLATE, 0)), +) + +CLINICAL_NOTE_GENERATION_SETTINGS: StaticSchema = ( + 18, + n0, + _CNGS, + 0, + (_nTS,), + ((NOTE_TEMPLATE_SETTINGS, 1),), +) + +CUSTOM_TEMPLATE_RESPONSE: StaticSchema = ( + 18, + n0, + _CTR, + 0, + (_tT,), + ((CUSTOM_TEMPLATE_BASE, 0),), +) + +MANAGED_TEMPLATE_RESPONSE: StaticSchema = ( + 18, + n0, + _MTR, + 0, + (_tT,), + ((MANAGED_NOTE_TEMPLATE, 0),), +) + +NOTE_TEMPLATE_SETTINGS_RESPONSE: StaticSchema = ( + 19, + n0, + _NTSR, + 0, + (_mT, _cT), + ((MANAGED_TEMPLATE_RESPONSE, 0), (CUSTOM_TEMPLATE_RESPONSE, 0)), +) + +CLINICAL_NOTE_GENERATION_SETTINGS_RESPONSE: StaticSchema = ( + 18, + n0, + _CNGSR, + 0, + (_nTS,), + ((NOTE_TEMPLATE_SETTINGS_RESPONSE, 0),), +) + +CONFLICT_EXCEPTION: StaticSchema = (18, n0, _CE, {_s: _c, _sE: 409}, (_m,), ((3, 0),)) + +KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) + +DOMAIN_NAME: StaticSchema = (3, n0, _DN, 0) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) + +CREATE_WEB_APP_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CWAC, + 0, + (_eR, _iII, _iR), + ((3, 1), (3, 1), (3, 1)), +) + +CREATE_DOMAIN_INPUT: StaticSchema = ( + 18, + n0, + _CDI, + {_sm: None}, + (_n, _kKA, _wASC, _t), + ( + (DOMAIN_NAME, 1), + (KMS_KEY_ARN, 0), + (CREATE_WEB_APP_CONFIGURATION, 0), + (TAG_MAP, 0), + ), +) + +CREATE_DOMAIN_OUTPUT: StaticSchema = ( + 18, + n0, + _CDO, + {_smit: None}, + (_dI, _a, _n, _kKA, _eC, _st, _wAU, _wAC, _cA), + ( + (DOMAIN_ID, 1), + (lambda: DOMAIN_ARN, 1), + (DOMAIN_NAME, 1), + (KMS_KEY_ARN, 0), + (lambda: ENCRYPTION_CONTEXT, 0), + (lambda: DOMAIN_STATUS, 1), + (lambda: WEB_APP_URL, 0), + (lambda: WEB_APP_CONFIGURATION, 0), + (4, 1), + ), +) + +CREATE_DOMAIN: StaticOperationSchema = ( + 23, + n0, + _CD, + {_smith: MappingProxyType({"method": "POST", "uri": "/domain", "code": 201})}, + CREATE_DOMAIN_INPUT, + CREATE_DOMAIN_OUTPUT, + (lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION,), +) + +DOMAIN_ARN: StaticSchema = (3, n0, _DA, 0) + +ENCRYPTION_TYPE: StaticSchema = ( + 14, + n0, + _ET, + 0, + (_AOK, _CMK), + ((-1, {_sV: _AOK}), (-1, {_sV: _CMK})), +) + +ENCRYPTION_CONTEXT: StaticSchema = ( + 18, + n0, + _EC, + 0, + (_eT, _kKA), + ((ENCRYPTION_TYPE, 1), (KMS_KEY_ARN, 0)), +) + +DOMAIN_STATUS: StaticSchema = ( + 14, + n0, + _DS, + 0, + (_ACTIVE, _DELETING, _DELETED), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DELETING}), (-1, {_sV: _DELETED})), +) + +WEB_APP_CONFIGURATION: StaticSchema = ( + 18, + n0, + _WAC, + 0, + (_eR, _iAI, _iR), + ((3, 1), (3, 1), (3, 1)), +) + +WEB_APP_URL: StaticSchema = (3, n0, _WAU, 0) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_s: _c, _sE: 402}, + (_m,), + ((3, 0),), +) + +CREATE_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_sm: None}, + (_dI,), + ((DOMAIN_ID, 9),), +) + +CREATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_smit: None}, + (_dI, _sI, _a, _st, _cA, _lUA, _aA, _dA), + ( + (DOMAIN_ID, 1), + (SUBSCRIPTION_ID, 1), + (SUBSCRIPTION_ARN, 1), + (SUBSCRIPTION_STATUS, 1), + (4, 1), + (4, 1), + (4, 0), + (4, 0), + ), +) + +CREATE_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _CS, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/domains/{domainId}/subscriptions", "code": 201} + ) + }, + CREATE_SUBSCRIPTION_INPUT, + CREATE_SUBSCRIPTION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +DEACTIVATE_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _DSI, + {_sm: None}, + (_dI, _sI), + ((DOMAIN_ID, 9), (SUBSCRIPTION_ID, 9)), +) + +DEACTIVATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DSO, + {_smit: None}, + (_su,), + ((SUBSCRIPTION_DESCRIPTION, 0),), +) + +DEACTIVATE_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _DSe, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/domains/{domainId}/subscriptions/{subscriptionId}/deactivate", + "code": 200, + } + ) + }, + DEACTIVATE_SUBSCRIPTION_INPUT, + DEACTIVATE_SUBSCRIPTION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +DELETE_DOMAIN_INPUT: StaticSchema = ( + 18, + n0, + _DDI, + {_sm: None}, + (_dI,), + ((DOMAIN_ID, 9),), +) + +DELETE_DOMAIN_OUTPUT: StaticSchema = ( + 18, + n0, + _DDO, + {_smit: None}, + (_dI, _a, _st), + ((DOMAIN_ID, 1), (DOMAIN_ARN, 1), (DOMAIN_STATUS, 1)), +) + +DELETE_DOMAIN: StaticOperationSchema = ( + 23, + n0, + _DD, + {_smith: MappingProxyType({"method": "DELETE", "uri": "/domain/{domainId}"})}, + DELETE_DOMAIN_INPUT, + DELETE_DOMAIN_OUTPUT, + (RESOURCE_NOT_FOUND_EXCEPTION,), +) + +GET_DOMAIN_INPUT: StaticSchema = (18, n0, _GDI, {_sm: None}, (_dI,), ((DOMAIN_ID, 9),)) + +GET_DOMAIN_OUTPUT: StaticSchema = ( + 18, + n0, + _GDO, + {_smit: None}, + (_dI, _a, _n, _kKA, _eC, _st, _wAU, _wAC, _cA, _t), + ( + (DOMAIN_ID, 1), + (DOMAIN_ARN, 1), + (DOMAIN_NAME, 1), + (KMS_KEY_ARN, 0), + (ENCRYPTION_CONTEXT, 0), + (DOMAIN_STATUS, 1), + (WEB_APP_URL, 0), + (WEB_APP_CONFIGURATION, 0), + (4, 1), + (TAG_MAP, 0), + ), +) + +GET_DOMAIN: StaticOperationSchema = ( + 23, + n0, + _GD, + {_smith: MappingProxyType({"method": "GET", "uri": "/domain/{domainId}"})}, + GET_DOMAIN_INPUT, + GET_DOMAIN_OUTPUT, + (RESOURCE_NOT_FOUND_EXCEPTION,), +) + +SCRIBE_SESSION_ID: StaticSchema = (3, n0, _SSI, 0) + +GET_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _GMSLSI, + {_sm: None}, + (_sIes, _dI, _sI), + ((SCRIBE_SESSION_ID, 9), (DOMAIN_ID, 9), (SUBSCRIPTION_ID, 9)), +) + +GET_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GMSLSO, + {_smit: None}, + (_mSLSD,), + ((lambda: schemas.MEDICAL_SCRIBE_LISTENING_SESSION_DETAILS, 0),), +) + +GET_MEDICAL_SCRIBE_LISTENING_SESSION: StaticOperationSchema = ( + 23, + n0, + _GMSLS, + { + _smithya: MappingProxyType({"hostPrefix": "streaming."}), + _smith: MappingProxyType( + { + "uri": "/medical-scribe-stream/domain/{domainId}/subscription/{subscriptionId}/session/{sessionId}", + "method": "GET", + } + ), + }, + GET_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT, + GET_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +MEDICAL_SCRIBE_CHANNEL_ID: StaticSchema = (7, n0, _MSCI, 0) + +MEDICAL_SCRIBE_PARTICIPANT_ROLE: StaticSchema = ( + 14, + n0, + _MSPR, + 0, + (_PATIENT, _CLINICIAN), + ((-1, {_sV: _PATIENT}), (-1, {_sV: _CLINICIAN})), +) + +MEDICAL_SCRIBE_CHANNEL_DEFINITION: StaticSchema = ( + 18, + n0, + _MSCD, + 0, + (_cI, _pR), + ((MEDICAL_SCRIBE_CHANNEL_ID, 1), (MEDICAL_SCRIBE_PARTICIPANT_ROLE, 1)), +) + +MEDICAL_SCRIBE_CHANNEL_DEFINITIONS: StaticSchema = ( + 16, + n0, + _MSCDe, + 0, + (_me,), + ((MEDICAL_SCRIBE_CHANNEL_DEFINITION, 0),), +) + +NON_NULL_BOOLEAN: StaticSchema = (2, n0, _NNB, 0) + +MEDICAL_SCRIBE_LANGUAGE_CODE: StaticSchema = ( + 14, + n0, + _MSLC, + 0, + (_EU, _MULTI), + ((-1, {_sV: _eU}), (-1, {_sV: _mu})), +) + +MEDICAL_SCRIBE_MEDIA_ENCODING: StaticSchema = ( + 14, + n0, + _MSME, + 0, + (_PCM, _FLAC), + ((-1, {_sV: _p}), (-1, {_sV: _f})), +) + +MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ: StaticSchema = (7, n0, _MSMSRH, 0) + +MEDICAL_SCRIBE_POST_STREAM_ACTIONS_RESULT: StaticSchema = ( + 18, + n0, + _MSPSAR, + 0, + (_cNGR,), + ((CLINICAL_NOTE_GENERATION_RESULT, 0),), +) + +S3_URI: StaticSchema = (3, n0, _SU, 0) + +MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS_RESPONSE: StaticSchema = ( + 18, + n0, + _MSPSASR, + 0, + (_oSU, _cNGS), + ((S3_URI, 1), (CLINICAL_NOTE_GENERATION_SETTINGS_RESPONSE, 1)), +) + +MEDICAL_SCRIBE_STREAM_STATUS: StaticSchema = ( + 14, + n0, + _MSSS, + 0, + (_IP, _PAUSED, _FAILED, _COMPLETED), + ( + (-1, {_sV: _IP}), + (-1, {_sV: _PAUSED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _COMPLETED}), + ), +) diff --git a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas_1.py b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas_1.py new file mode 100644 index 000000000..f41195d62 --- /dev/null +++ b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/_private/schemas_1.py @@ -0,0 +1,881 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.connecthealth" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_sm = "smithy.api#input" +_dI = "domainId" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sI = "subscriptionId" +_sV = "smithy.api#enumValue" +_a = "arn" +_st = "status" +_cA = "createdAt" +_smit = "smithy.api#output" +_su = "subscription" +_smith = "smithy.api#http" +_IP = "IN_PROGRESS" +_FAILED = "FAILED" +_smithy = "smithy.api#sensitive" +_me = "member" +_n = "name" +_t = "tags" +_sIes = "sessionId" +_CLINICIAN = "CLINICIAN" +_cI = "channelId" +_oSU = "outputS3Uri" +_cNGS = "clinicalNoteGenerationSettings" +_MSLSD = "MedicalScribeListeningSessionDetails" +_lC = "languageCode" +_mSRH = "mediaSampleRateHertz" +_mE = "mediaEncoding" +_cD = "channelDefinitions" +_pSAS = "postStreamActionSettings" +_pSAR = "postStreamActionResult" +_eCP = "encounterContextProvided" +_sS = "streamStatus" +_sCT = "streamCreationTime" +_sET = "streamEndTime" +_TE = "ThrottlingException" +_smithya = "smithy.api#endpoint" +_JI = "JobId" +_GPIJI = "GetPatientInsightsJobInput" +_sSI = "smithy.synthetic#originalShapeId" +_cGPIJR = "com.amazonaws.connecthealth#GetPatientInsightsJobRequest" +_jI = "jobId" +_SNES = "SensitiveNonEmptyString" +_PIEC = "PatientInsightsEncounterContext" +_eRn = "encounterReason" +_NES = "NonEmptyString" +_FHIRS = "FHIRServer" +_fE = "fhirEndpoint" +_oT = "oauthToken" +_SSo = "S3Source" +_u = "uri" +_SSou = "S3Sources" +_IDC = "InputDataConfig" +_fS = "fhirServer" +_sSo = "s3Sources" +_IT = "InsightsType" +_PV = "PRE_VISIT" +_IC = "InsightsContext" +_iT = "insightsType" +_IO = "InsightsOutput" +_JA = "JobArn" +_JS = "JobStatus" +_SUBMITTED = "SUBMITTED" +_SUCCEEDED = "SUCCEEDED" +_ODC = "OutputDataConfig" +_sOP = "s3OutputPath" +_SIDS = "SensitiveIsoDateString" +_P = "Pronouns" +_HH = "HE_HIM" +_SH = "SHE_HER" +_TT = "THEY_THEM" +_PIPC = "PatientInsightsPatientContext" +_pI = "patientId" +_dOB = "dateOfBirth" +_pr = "pronouns" +_PR = "ProviderRole" +_S = "Specialty" +_PC = "PRIMARY_CARE" +_UC = "UserContext" +_r = "role" +_uI = "userId" +_sp = "specialty" +_GPIJO = "GetPatientInsightsJobOutput" +_cGPIJRo = "com.amazonaws.connecthealth#GetPatientInsightsJobResponse" +_jA = "jobArn" +_jS = "jobStatus" +_cTr = "creationTime" +_sF = "smithy.api#timestampFormat" +_dt = "date-time" +_uT = "updatedTime" +_iO = "insightsOutput" +_sD = "statusDetails" +_pC = "patientContext" +_iC = "insightsContext" +_eCn = "encounterContext" +_uC = "userContext" +_iDC = "inputDataConfig" +_oDC = "outputDataConfig" +_GPIJ = "GetPatientInsightsJob" +_GSI = "GetSubscriptionInput" +_GSO = "GetSubscriptionOutput" +_GS = "GetSubscription" +_LDI = "ListDomainsInput" +_sQ = "smithy.api#httpQuery" +_mR = "maxResults" +_nT = "nextToken" +_DSo = "DomainSummary" +_DSL = "DomainSummaryList" +_LDO = "ListDomainsOutput" +_d = "domains" +_LD = "ListDomains" +_LSI = "ListSubscriptionsInput" +_SL = "SubscriptionList" +_LSO = "ListSubscriptionsOutput" +_sub = "subscriptions" +_LS = "ListSubscriptions" +_LTFRI = "ListTagsForResourceInput" +_rA = "resourceArn" +_LTFRO = "ListTagsForResourceOutput" +_LTFR = "ListTagsForResource" +_MSAE = "MedicalScribeAudioEvent" +_aC = "audioChunk" +_MSBAE = "MedicalScribeBinaryAudioEvent" +_sP = "smithy.api#eventPayload" +_ECn = "EncounterContext" +_uCn = "unstructuredContext" +_MSPSAS = "MedicalScribePostStreamActionSettings" +_MSCE = "MedicalScribeConfigurationEvent" +_MSSCET = "MedicalScribeSessionControlEventType" +_EOS = "END_OF_SESSION" +_MSSCE = "MedicalScribeSessionControlEvent" +_ty = "type" +_MSIS = "MedicalScribeInputStream" +_smithyap = "smithy.api#streaming" +_aE = "audioEvent" +_bAE = "binaryAudioEvent" +_sCE = "sessionControlEvent" +_cE = "configurationEvent" +_SMSLSI = "StartMedicalScribeListeningSessionInput" +_sHm = "smithy.api#httpHeader" +_xamsi = "x-amzn-medscribe-session-id" +_xamdi = "x-amzn-medscribe-domain-id" +_xamsi_ = "x-amzn-medscribe-subscription-id" +_xamlc = "x-amzn-medscribe-language-code" +_xamsr = "x-amzn-medscribe-sample-rate" +_xamme = "x-amzn-medscribe-media-encoding" +_iS = "inputStream" +_sPm = "smithy.api#httpPayload" +_RI = "RequestId" +_MSTS = "MedicalScribeTranscriptSegment" +_sIeg = "segmentId" +_aBO = "audioBeginOffset" +_aEO = "audioEndOffset" +_iP = "isPartial" +_co = "content" +_MSTE = "MedicalScribeTranscriptEvent" +_tS = "transcriptSegment" +_MSOS = "MedicalScribeOutputStream" +_tE = "transcriptEvent" +_iFE = "internalFailureException" +_vE = "validationException" +_SMSLSO = "StartMedicalScribeListeningSessionOutput" +_rI = "requestId" +_xari = "x-amzn-request-id" +_rS = "responseStream" +_SMSLS = "StartMedicalScribeListeningSession" +_SPIJI = "StartPatientInsightsJobInput" +_cSPIJR = "com.amazonaws.connecthealth#StartPatientInsightsJobRequest" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_SPIJO = "StartPatientInsightsJobOutput" +_cSPIJRo = "com.amazonaws.connecthealth#StartPatientInsightsJobResponse" +_SPIJ = "StartPatientInsightsJob" +_TRI = "TagResourceInput" +_TRO = "TagResourceOutput" +_sU = "smithy.api#Unit" +_TR = "TagResource" +_TKL = "TagKeyList" +_URI = "UntagResourceInput" +_tK = "tagKeys" +_URO = "UntagResourceOutput" +_UR = "UntagResource" +_CH = "ConnectHealth" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" +_smithyapi = "smithy.api#cors" + +MEDICAL_SCRIBE_LISTENING_SESSION_DETAILS: StaticSchema = ( + 18, + n0, + _MSLSD, + 0, + (_sIes, _dI, _sI, _lC, _mSRH, _mE, _cD, _pSAS, _pSAR, _eCP, _sS, _sCT, _sET), + ( + (lambda: schemas.SCRIBE_SESSION_ID, 0), + (lambda: schemas.DOMAIN_ID, 0), + (lambda: schemas.SUBSCRIPTION_ID, 0), + (lambda: schemas.MEDICAL_SCRIBE_LANGUAGE_CODE, 0), + (lambda: schemas.MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, 0), + (lambda: schemas.MEDICAL_SCRIBE_MEDIA_ENCODING, 0), + (lambda: schemas.MEDICAL_SCRIBE_CHANNEL_DEFINITIONS, 0), + (lambda: schemas.MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS_RESPONSE, 0), + (lambda: schemas.MEDICAL_SCRIBE_POST_STREAM_ACTIONS_RESULT, 0), + (lambda: schemas.NON_NULL_BOOLEAN, 0), + (lambda: schemas.MEDICAL_SCRIBE_STREAM_STATUS, 0), + (4, 0), + (4, 0), + ), +) + +THROTTLING_EXCEPTION: StaticSchema = (18, n0, _TE, {_s: _c, _sE: 429}, (_m,), ((3, 0),)) + +JOB_ID: StaticSchema = (3, n0, _JI, 0) + +GET_PATIENT_INSIGHTS_JOB_INPUT: StaticSchema = ( + 18, + n0, + _GPIJI, + {_sSI: _cGPIJR, _sm: None}, + (_dI, _jI), + ((lambda: schemas.DOMAIN_ID, 9), (JOB_ID, 9)), +) + +GET_PATIENT_INSIGHTS_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _GPIJO, + {_sSI: _cGPIJRo, _smit: None}, + (_jI, _jA, _jS, _cTr, _uT, _iO, _sD, _pC, _iC, _eCn, _uC, _iDC, _oDC), + ( + (JOB_ID, 1), + (lambda: JOB_ARN, 1), + (lambda: JOB_STATUS, 1), + (4, {_sF: _dt}), + (4, {_sF: _dt}), + (lambda: INSIGHTS_OUTPUT, 0), + (lambda: NON_EMPTY_STRING, 0), + (lambda: PATIENT_INSIGHTS_PATIENT_CONTEXT, 1), + (lambda: INSIGHTS_CONTEXT, 1), + (lambda: PATIENT_INSIGHTS_ENCOUNTER_CONTEXT, 1), + (lambda: USER_CONTEXT, 1), + (lambda: INPUT_DATA_CONFIG, 1), + (lambda: OUTPUT_DATA_CONFIG, 1), + ), +) + +GET_PATIENT_INSIGHTS_JOB: StaticOperationSchema = ( + 23, + n0, + _GPIJ, + { + _smithya: MappingProxyType({"hostPrefix": "runtime."}), + _smith: MappingProxyType( + { + "code": 200, + "method": "GET", + "uri": "/domain/{domainId}/patient-insights-job/{jobId}", + } + ), + }, + GET_PATIENT_INSIGHTS_JOB_INPUT, + GET_PATIENT_INSIGHTS_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SENSITIVE_NON_EMPTY_STRING: StaticSchema = (3, n0, _SNES, 4) + +PATIENT_INSIGHTS_ENCOUNTER_CONTEXT: StaticSchema = ( + 18, + n0, + _PIEC, + 0, + (_eRn,), + ((SENSITIVE_NON_EMPTY_STRING, 1),), +) + +NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) + +FHIR_SERVER: StaticSchema = ( + 18, + n0, + _FHIRS, + 0, + (_fE, _oT), + ((NON_EMPTY_STRING, 1), (SENSITIVE_NON_EMPTY_STRING, 0)), +) + +S3_SOURCE: StaticSchema = (18, n0, _SSo, 0, (_u,), ((lambda: schemas.S3_URI, 1),)) + +S3_SOURCES: StaticSchema = (16, n0, _SSou, 0, (_me,), ((S3_SOURCE, 0),)) + +INPUT_DATA_CONFIG: StaticSchema = ( + 18, + n0, + _IDC, + 0, + (_fS, _sSo), + ((FHIR_SERVER, 0), (S3_SOURCES, 0)), +) + +INSIGHTS_TYPE: StaticSchema = (14, n0, _IT, 0, (_PV,), ((-1, {_sV: _PV}),)) + +INSIGHTS_CONTEXT: StaticSchema = (18, n0, _IC, 0, (_iT,), ((INSIGHTS_TYPE, 1),)) + +INSIGHTS_OUTPUT: StaticSchema = (18, n0, _IO, 0, (_u,), ((lambda: schemas.S3_URI, 1),)) + +JOB_ARN: StaticSchema = (3, n0, _JA, 0) + +JOB_STATUS: StaticSchema = ( + 14, + n0, + _JS, + 0, + (_SUBMITTED, _IP, _FAILED, _SUCCEEDED), + ( + (-1, {_sV: _SUBMITTED}), + (-1, {_sV: _IP}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _SUCCEEDED}), + ), +) + +OUTPUT_DATA_CONFIG: StaticSchema = ( + 18, + n0, + _ODC, + 0, + (_sOP,), + ((lambda: schemas.S3_URI, 1),), +) + +SENSITIVE_ISO_DATE_STRING: StaticSchema = (3, n0, _SIDS, 4) + +PRONOUNS: StaticSchema = ( + 14, + n0, + _P, + 4, + (_HH, _SH, _TT), + ((-1, {_sV: _HH}), (-1, {_sV: _SH}), (-1, {_sV: _TT})), +) + +PATIENT_INSIGHTS_PATIENT_CONTEXT: StaticSchema = ( + 18, + n0, + _PIPC, + 0, + (_pI, _dOB, _pr), + ((SENSITIVE_NON_EMPTY_STRING, 1), (SENSITIVE_ISO_DATE_STRING, 0), (PRONOUNS, 0)), +) + +PROVIDER_ROLE: StaticSchema = ( + 14, + n0, + _PR, + 0, + (_CLINICIAN,), + ((-1, {_sV: _CLINICIAN}),), +) + +SPECIALTY: StaticSchema = (14, n0, _S, 0, (_PC,), ((-1, {_sV: _PC}),)) + +USER_CONTEXT: StaticSchema = ( + 18, + n0, + _UC, + 0, + (_r, _uI, _sp), + ((PROVIDER_ROLE, 1), (SENSITIVE_NON_EMPTY_STRING, 1), (SPECIALTY, 0)), +) + +GET_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _GSI, + {_sm: None}, + (_dI, _sI), + ((lambda: schemas.DOMAIN_ID, 9), (lambda: schemas.SUBSCRIPTION_ID, 9)), +) + +GET_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GSO, + {_smit: None}, + (_su,), + ((lambda: schemas.SUBSCRIPTION_DESCRIPTION, 0),), +) + +GET_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _GS, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/domains/{domainId}/subscriptions/{subscriptionId}", + } + ) + }, + GET_SUBSCRIPTION_INPUT, + GET_SUBSCRIPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_DOMAINS_INPUT: StaticSchema = ( + 18, + n0, + _LDI, + {_sm: None}, + (_st, _mR, _nT), + ((lambda: schemas.DOMAIN_STATUS, {_sQ: _st}), (7, {_sQ: _mR}), (3, {_sQ: _nT})), +) + +LIST_DOMAINS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDO, + {_smit: None}, + (_d, _nT), + ((lambda: DOMAIN_SUMMARY_LIST, 1), (3, 0)), +) + +LIST_DOMAINS: StaticOperationSchema = ( + 23, + n0, + _LD, + {_smith: MappingProxyType({"method": "GET", "uri": "/domain"})}, + LIST_DOMAINS_INPUT, + LIST_DOMAINS_OUTPUT, + (), +) + +DOMAIN_SUMMARY: StaticSchema = ( + 18, + n0, + _DSo, + 0, + (_dI, _a, _n, _st, _cA), + ( + (lambda: schemas.DOMAIN_ID, 1), + (lambda: schemas.DOMAIN_ARN, 1), + (lambda: schemas.DOMAIN_NAME, 1), + (lambda: schemas.DOMAIN_STATUS, 1), + (4, 1), + ), +) + +DOMAIN_SUMMARY_LIST: StaticSchema = (16, n0, _DSL, 0, (_me,), ((DOMAIN_SUMMARY, 0),)) + +LIST_SUBSCRIPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LSI, + {_sm: None}, + (_dI, _mR, _nT), + ((lambda: schemas.DOMAIN_ID, 9), (7, {_sQ: _mR}), (3, {_sQ: _nT})), +) + +LIST_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_smit: None}, + (_sub, _nT), + ((lambda: SUBSCRIPTION_LIST, 1), (3, 0)), +) + +LIST_SUBSCRIPTIONS: StaticOperationSchema = ( + 23, + n0, + _LS, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/domains/{domainId}/subscriptions"} + ) + }, + LIST_SUBSCRIPTIONS_INPUT, + LIST_SUBSCRIPTIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SUBSCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _SL, + 0, + (_me,), + ((lambda: schemas.SUBSCRIPTION_DESCRIPTION, 0),), +) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sm: None}, + (_rA,), + ((3, 9),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_smit: None}, + (_t,), + ((lambda: schemas.TAG_MAP, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + { + _smith: MappingProxyType( + {"uri": "/tags/{resourceArn}", "method": "GET", "code": 200} + ) + }, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + (), +) + +MEDICAL_SCRIBE_AUDIO_EVENT: StaticSchema = ( + 18, + n0, + _MSAE, + 0, + (_aC,), + ((lambda: schemas.AUDIO_CHUNK, 1),), +) + +MEDICAL_SCRIBE_BINARY_AUDIO_EVENT: StaticSchema = ( + 18, + n0, + _MSBAE, + 0, + (_aC,), + ((lambda: schemas.AUDIO_CHUNK, {_sP: None, _smi: None}),), +) + +ENCOUNTER_CONTEXT: StaticSchema = ( + 18, + n0, + _ECn, + 0, + (_uCn,), + ((lambda: schemas.SENSITIVE_MARKDOWN_STRING, 0),), +) + +MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS: StaticSchema = ( + 18, + n0, + _MSPSAS, + 0, + (_oSU, _cNGS), + ( + (lambda: schemas.S3_URI, 1), + (lambda: schemas.CLINICAL_NOTE_GENERATION_SETTINGS, 1), + ), +) + +MEDICAL_SCRIBE_CONFIGURATION_EVENT: StaticSchema = ( + 18, + n0, + _MSCE, + 0, + (_pSAS, _cD, _eCn), + ( + (MEDICAL_SCRIBE_POST_STREAM_ACTION_SETTINGS, 1), + (lambda: schemas.MEDICAL_SCRIBE_CHANNEL_DEFINITIONS, 0), + (ENCOUNTER_CONTEXT, 0), + ), +) + +MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE: StaticSchema = ( + 14, + n0, + _MSSCET, + 0, + (_EOS,), + ((-1, {_sV: _EOS}),), +) + +MEDICAL_SCRIBE_SESSION_CONTROL_EVENT: StaticSchema = ( + 18, + n0, + _MSSCE, + 0, + (_ty,), + ((MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE, 0),), +) + +MEDICAL_SCRIBE_INPUT_STREAM: StaticSchema = ( + 19, + n0, + _MSIS, + {_smithyap: None}, + (_aE, _bAE, _sCE, _cE), + ( + (MEDICAL_SCRIBE_AUDIO_EVENT, 0), + (MEDICAL_SCRIBE_BINARY_AUDIO_EVENT, 0), + (MEDICAL_SCRIBE_SESSION_CONTROL_EVENT, 0), + (MEDICAL_SCRIBE_CONFIGURATION_EVENT, 0), + ), +) + +START_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _SMSLSI, + {_sm: None}, + (_sIes, _dI, _sI, _lC, _mSRH, _mE, _iS), + ( + (lambda: schemas.SCRIBE_SESSION_ID, {_sHm: _xamsi, _smi: None}), + (lambda: schemas.DOMAIN_ID, {_sHm: _xamdi, _smi: None}), + (lambda: schemas.SUBSCRIPTION_ID, {_sHm: _xamsi_, _smi: None}), + (lambda: schemas.MEDICAL_SCRIBE_LANGUAGE_CODE, {_sHm: _xamlc, _smi: None}), + ( + lambda: schemas.MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, + {_sHm: _xamsr, _smi: None}, + ), + (lambda: schemas.MEDICAL_SCRIBE_MEDIA_ENCODING, {_sHm: _xamme, _smi: None}), + (MEDICAL_SCRIBE_INPUT_STREAM, 16), + ), +) + +START_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _SMSLSO, + {_smit: None}, + (_sIes, _dI, _sI, _rI, _lC, _mSRH, _mE, _rS), + ( + (lambda: schemas.SCRIBE_SESSION_ID, {_sHm: _xamsi}), + (lambda: schemas.DOMAIN_ID, {_sHm: _xamdi}), + (lambda: schemas.SUBSCRIPTION_ID, {_sHm: _xamsi_}), + (lambda: REQUEST_ID, {_sHm: _xari}), + (lambda: schemas.MEDICAL_SCRIBE_LANGUAGE_CODE, {_sHm: _xamlc}), + (lambda: schemas.MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, {_sHm: _xamsr}), + (lambda: schemas.MEDICAL_SCRIBE_MEDIA_ENCODING, {_sHm: _xamme}), + (lambda: MEDICAL_SCRIBE_OUTPUT_STREAM, 16), + ), +) + +START_MEDICAL_SCRIBE_LISTENING_SESSION: StaticOperationSchema = ( + 23, + n0, + _SMSLS, + { + _smithya: MappingProxyType({"hostPrefix": "streaming."}), + _smith: MappingProxyType({"uri": "/medical-scribe-stream/", "method": "POST"}), + }, + START_MEDICAL_SCRIBE_LISTENING_SESSION_INPUT, + START_MEDICAL_SCRIBE_LISTENING_SESSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +REQUEST_ID: StaticSchema = (3, n0, _RI, 0) + +MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT: StaticSchema = ( + 18, + n0, + _MSTS, + 0, + (_sIeg, _aBO, _aEO, _iP, _cI, _co), + ( + (3, 0), + (lambda: schemas.AUDIO_OFFSET, 0), + (lambda: schemas.AUDIO_OFFSET, 0), + (lambda: schemas.NON_NULL_BOOLEAN, 0), + (3, 0), + (3, 0), + ), +) + +MEDICAL_SCRIBE_TRANSCRIPT_EVENT: StaticSchema = ( + 18, + n0, + _MSTE, + 0, + (_tS,), + ((MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT, 0),), +) + +MEDICAL_SCRIBE_OUTPUT_STREAM: StaticSchema = ( + 19, + n0, + _MSOS, + {_smithyap: None}, + (_tE, _iFE, _vE), + ( + (MEDICAL_SCRIBE_TRANSCRIPT_EVENT, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + ), +) + +START_PATIENT_INSIGHTS_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SPIJI, + {_sSI: _cSPIJR, _sm: None}, + (_dI, _pC, _iC, _eCn, _uC, _iDC, _oDC, _cTl), + ( + (lambda: schemas.DOMAIN_ID, 9), + (PATIENT_INSIGHTS_PATIENT_CONTEXT, 1), + (INSIGHTS_CONTEXT, 1), + (PATIENT_INSIGHTS_ENCOUNTER_CONTEXT, 1), + (USER_CONTEXT, 1), + (INPUT_DATA_CONFIG, 1), + (OUTPUT_DATA_CONFIG, 1), + (NON_EMPTY_STRING, 2), + ), +) + +START_PATIENT_INSIGHTS_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SPIJO, + {_sSI: _cSPIJRo, _smit: None}, + (_jA, _jI, _cTr), + ((JOB_ARN, 1), (JOB_ID, 1), (4, {_sF: _dt})), +) + +START_PATIENT_INSIGHTS_JOB: StaticOperationSchema = ( + 23, + n0, + _SPIJ, + { + _smithya: MappingProxyType({"hostPrefix": "runtime."}), + _smith: MappingProxyType( + { + "code": 200, + "method": "POST", + "uri": "/domain/{domainId}/patient-insights-job", + } + ), + }, + START_PATIENT_INSIGHTS_JOB_INPUT, + START_PATIENT_INSIGHTS_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sm: None}, + (_rA, _t), + ((3, 9), (lambda: schemas.TAG_MAP, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smit: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + { + _smith: MappingProxyType( + {"uri": "/tags/{resourceArn}", "method": "POST", "code": 204} + ) + }, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + (), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sm: None}, + (_rA, _tK), + ((3, 9), (TAG_KEY_LIST, {_sQ: _tK, _smi: None})), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smit: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smith: MappingProxyType( + {"uri": "/tags/{resourceArn}", "method": "DELETE", "code": 204} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + (), +) + +CONNECT_HEALTH: StaticSchema = ( + 21, + n0, + _CH, + { + _aw: MappingProxyType({"name": "health-agent"}), + _aws: MappingProxyType( + { + "sdkId": "ConnectHealth", + "arnNamespace": "health-agent", + "endpointPrefix": "health-agent", + "cloudTrailEventSource": "health-agent.amazonaws.com", + } + ), + _aJ: MappingProxyType({"http": ("h2", "http/1.1"), "eventStreamHttp": ("h2",)}), + _smithyapi: MappingProxyType( + { + "origin": "*", + "additionalAllowedHeaders": ( + "*", + "content-type", + "content-length", + "authorization", + "x-amz-date", + "x-amz-security-token", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-api-key", + ), + "additionalExposedHeaders": ( + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id", + "Access-Control-Allow-Origin", + ), + "maxAge": 86400, + } + ), + }, +) diff --git a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/aio/client.py b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/aio/client.py index 6b33844e5..ee9d2ab65 100644 --- a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/aio/client.py +++ b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncDuplexEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/aio/config.py b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/aio/config.py index 578628f95..ffb1cf8f1 100644 --- a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/aio/config.py +++ b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -25,7 +25,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver @@ -132,6 +135,7 @@ class _AsyncConnectHealthConfigOverrides(AsyncAwsConfigOverrides, total=False): auth_schemes: dict[ShapeID, AsyncAuthScheme[Any, Any, Any, Any]] | None auth_scheme_resolver: AuthSchemeResolver | None use_fips_endpoint: bool | None + disable_host_prefix_injection: bool | None @dataclass(kw_only=True, repr=False, init=False) @@ -202,6 +206,12 @@ class AsyncConnectHealthConfig(AsyncAwsConfig): header. """ + disable_host_prefix_injection: bool | None = None + """ + Whether to skip prepending operations' modeled host prefixes to the + endpoint host. + """ + _FIELDS: ClassVar[dict[str, FieldSpec]] = { "use_fips_endpoint": FieldSpec( default=None, resolver=resolve_use_fips_endpoint_program @@ -213,6 +223,7 @@ class AsyncConnectHealthConfig(AsyncAwsConfig): "aws_session_token": FieldSpec(default=None), "user_agent_extra": FieldSpec(default=None), "sdk_ua_app_id": FieldSpec(default=None), + "disable_host_prefix_injection": FieldSpec(default=None), **AsyncAwsConfig._FIELDS, "endpoint_uri": FieldSpec( default=None, resolver=EndpointUriResolver("connecthealth").program diff --git a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/client.py b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/client.py index ca4a765df..8fa5acc9d 100644 --- a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/client.py +++ b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/config.py b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/config.py index 5d60b5dd0..8662f9437 100644 --- a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/config.py +++ b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/config.py @@ -13,15 +13,18 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_fips_endpoint_program, ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( @@ -127,6 +130,7 @@ class _ConnectHealthConfigOverrides(AwsConfigOverrides, total=False): auth_schemes: dict[ShapeID, AuthScheme[Any, Any, Any, Any]] | None auth_scheme_resolver: AuthSchemeResolver | None use_fips_endpoint: bool | None + disable_host_prefix_injection: bool | None @dataclass(kw_only=True, repr=False, init=False) @@ -197,6 +201,12 @@ class ConnectHealthConfig(AwsConfig): header. """ + disable_host_prefix_injection: bool | None = None + """ + Whether to skip prepending operations' modeled host prefixes to the + endpoint host. + """ + _FIELDS: ClassVar[dict[str, FieldSpec]] = { "use_fips_endpoint": FieldSpec( default=None, resolver=resolve_use_fips_endpoint_program @@ -208,6 +218,7 @@ class ConnectHealthConfig(AwsConfig): "aws_session_token": FieldSpec(default=None), "user_agent_extra": FieldSpec(default=None), "sdk_ua_app_id": FieldSpec(default=None), + "disable_host_prefix_injection": FieldSpec(default=None), **AwsConfig._FIELDS, "endpoint_uri": FieldSpec( default=None, resolver=EndpointUriResolver("connecthealth").program diff --git a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/models.pyi b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/models.pyi index 7d2f68677..8fee104bd 100644 --- a/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/models.pyi +++ b/clients/aws-sdk-connecthealth/src/aws_sdk_connecthealth/models.pyi @@ -1068,6 +1068,8 @@ class StartPatientInsightsJobInput(_SerdeShape): """ Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. + + This field is autopopulated if not provided. """ @dataclass(kw_only=True) diff --git a/clients/aws-sdk-connecthealth/tests/integration/__init__.py b/clients/aws-sdk-connecthealth/tests/integration/__init__.py index 5be4d380c..217068889 100644 --- a/clients/aws-sdk-connecthealth/tests/integration/__init__.py +++ b/clients/aws-sdk-connecthealth/tests/integration/__init__.py @@ -4,7 +4,7 @@ from pathlib import Path from aws_sdk_connecthealth.aio.client import AsyncConnectHealthClient -from aws_sdk_connecthealth.aio.config import AsyncConnectHealthConfig, Plugin +from aws_sdk_connecthealth.aio.config import AsyncConnectHealthConfig from smithy_aws_core.aio.config import AsyncAwsConfigOverrides from smithy_aws_core.aio.identity import AsyncEnvironmentCredentialsResolver from smithy_http.aio.interfaces import AsyncHTTPClient @@ -29,13 +29,3 @@ async def create_connecthealth_client( return AsyncConnectHealthClient( config=await AsyncConnectHealthConfig.resolve(**overrides) ) - - -def streaming_endpoint_plugin(region: str) -> Plugin: - """Per-operation plugin that routes to the ``streaming.`` host prefix.""" - streaming_uri = f"https://streaming.health-agent.{region}.api.aws" - - def _plugin(config: AsyncConnectHealthConfig) -> None: - config.endpoint_uri = streaming_uri - - return _plugin diff --git a/clients/aws-sdk-connecthealth/tests/integration/test_bidirectional_streaming.py b/clients/aws-sdk-connecthealth/tests/integration/test_bidirectional_streaming.py index 31300f00f..5b353d8c0 100644 --- a/clients/aws-sdk-connecthealth/tests/integration/test_bidirectional_streaming.py +++ b/clients/aws-sdk-connecthealth/tests/integration/test_bidirectional_streaming.py @@ -38,13 +38,7 @@ from smithy_core.aio.eventstream import AsyncDuplexEventStream from smithy_http.aio.crt import AWSCRTHTTPClient -from . import ( - AUDIO_FILE, - REGION, - ConnectHealthResources, - create_connecthealth_client, - streaming_endpoint_plugin, -) +from . import AUDIO_FILE, REGION, ConnectHealthResources, create_connecthealth_client SAMPLE_RATE = 16000 BYTES_PER_SAMPLE = 2 @@ -169,7 +163,6 @@ async def test_start_medical_scribe_listening_session( async with await create_connecthealth_client( REGION, transport=AWSCRTHTTPClient() ) as client: - endpoint_plugin = streaming_endpoint_plugin(REGION) session_id = str(uuid.uuid4()) stream = await client.start_medical_scribe_listening_session( @@ -180,8 +173,7 @@ async def test_start_medical_scribe_listening_session( language_code=MedicalScribeLanguageCode.EN_US, media_sample_rate_hertz=SAMPLE_RATE, media_encoding=MedicalScribeMediaEncoding.PCM, - ), - plugins=[endpoint_plugin], + ) ) results = await asyncio.gather( @@ -198,8 +190,7 @@ async def test_start_medical_scribe_listening_session( session_id=session_id, domain_id=domain_id, subscription_id=subscription_id, - ), - plugins=[endpoint_plugin], + ) ) assert isinstance(response, GetMedicalScribeListeningSessionOutput) details = response.medical_scribe_listening_session_details diff --git a/clients/aws-sdk-connecthealth/tests/test_endpoints.py b/clients/aws-sdk-connecthealth/tests/test_endpoints.py index aaa1816a3..2ed4e3ba6 100644 --- a/clients/aws-sdk-connecthealth/tests/test_endpoints.py +++ b/clients/aws-sdk-connecthealth/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-dynamodb/pyproject.toml b/clients/aws-sdk-dynamodb/pyproject.toml index a3979089f..561033599 100644 --- a/clients/aws-sdk-dynamodb/pyproject.toml +++ b/clients/aws-sdk-dynamodb/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_dynamodb" version = "0.12.0" -description = "aws_sdk_dynamodb client" +description = "Python client for Amazon DynamoDB" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_dynamodb"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/models_0.pyi b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/models_0.pyi new file mode 100644 index 000000000..11e595fc4 --- /dev/null +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/models_0.pyi @@ -0,0 +1,7188 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + S3BucketSource, + SSESpecification, + SearchSchemaElement, + ServiceError, + SourceTableDetails, + SourceTableFeatureDetails, + StreamSpecification, + TableAutoScalingDescription, + TableClassSummary, + TableCreationParameters, + TableDescription, + TableWarmThroughputDescription, + Tag, + ThrottlingReason, + TimeToLiveDescription, + UpdateGlobalSecondaryIndexAction, + UpdateReplicationGroupMemberAction, + VectorAttributeDefinition, + VectorCapacity, + VectorIndex, + WarmThroughput, + WriteRequest, + _SerdeShape, +) + +class ApproximateCreationDateTimePrecision(UnknownEnumMixin, StrEnum): + MILLISECOND = "MILLISECOND" + MICROSECOND = "MICROSECOND" + +@dataclass(kw_only=True) +class ArchivalSummary(_SerdeShape): + """Contains details of a table archival operation.""" + + archival_date_time: datetime | None = ... + """ + The date and time when table archival was initiated by DynamoDB, in UNIX + epoch time format. + """ + archival_reason: str | None = ... + """ + The reason DynamoDB archived the table. Currently, the only possible + value is: + + - `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The table was archived due to + the table's KMS key being inaccessible for more than seven days. An + On-Demand backup was created at the archival time. + """ + archival_backup_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the backup the table was archived to, + when applicable in the archival reason. If you wish to restore this + backup to the same table name, you will need to delete the original + table. + """ + +class AttributeAction(UnknownEnumMixin, StrEnum): + ADD = "ADD" + PUT = "PUT" + DELETE = "DELETE" + +@dataclass(kw_only=True) +class AttributeDefinition(_SerdeShape): + """ + Represents an attribute for describing the schema for the table and + indexes. + """ + + attribute_name: str + """A name for the attribute.""" + attribute_type: str + """ + The data type for the attribute, where: + + - `S` - the attribute is of type String + + - `N` - the attribute is of type Number + + - `B` - the attribute is of type Binary + """ + +@dataclass +class AttributeValueS(_SerdeShape): + """ + An attribute of type String. For example: + + `"S": "Hello"` + """ + + value: str + +@dataclass +class AttributeValueN(_SerdeShape): + """ + An attribute of type Number. For example: + + `"N": "123.45"` + + Numbers are sent across the network to DynamoDB as strings, to maximize + compatibility across languages and libraries. However, DynamoDB treats + them as number type attributes for mathematical operations. + """ + + value: str + +@dataclass +class AttributeValueB(_SerdeShape): + """ + An attribute of type Binary. For example: + + `"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"` + """ + + value: bytes + +@dataclass +class AttributeValueSS(_SerdeShape): + """ + An attribute of type String Set. For example: + + `"SS": ["Giraffe", "Hippo" ,"Zebra"]` + """ + + value: list[str] + +@dataclass +class AttributeValueNS(_SerdeShape): + """ + An attribute of type Number Set. For example: + + `"NS": ["42.2", "-19", "7.5", "3.14"]` + + Numbers are sent across the network to DynamoDB as strings, to maximize + compatibility across languages and libraries. However, DynamoDB treats + them as number type attributes for mathematical operations. + """ + + value: list[str] + +@dataclass +class AttributeValueBS(_SerdeShape): + """ + An attribute of type Binary Set. For example: + + `"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]` + """ + + value: list[bytes] + +@dataclass +class AttributeValueM(_SerdeShape): + """ + An attribute of type Map. For example: + + `"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}` + """ + + value: dict[str, AttributeValue] + +@dataclass +class AttributeValueL(_SerdeShape): + """ + An attribute of type List. For example: + + `"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]` + """ + + value: list[AttributeValue] + +@dataclass +class AttributeValueNULL(_SerdeShape): + """ + An attribute of type Null. For example: + + `"NULL": true` + """ + + value: bool + +@dataclass +class AttributeValueBOOL(_SerdeShape): + """ + An attribute of type Boolean. For example: + + `"BOOL": true` + """ + + value: bool + +@dataclass +class AttributeValueUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AttributeValue = Union[ + AttributeValueS + | AttributeValueN + | AttributeValueB + | AttributeValueSS + | AttributeValueNS + | AttributeValueBS + | AttributeValueM + | AttributeValueL + | AttributeValueNULL + | AttributeValueBOOL + | AttributeValueUnknown +] +""" +Represents the data for an attribute. + +Each attribute value is described as a name-value pair. The name is the +data type, and the value is the data itself. + +For more information, see [Data +Types](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes) +in the *Amazon DynamoDB Developer Guide*. +""" + +class _AttributeValueDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> AttributeValue: ... + +@dataclass(kw_only=True) +class AttributeValueUpdate(_SerdeShape): + """ + For the `UpdateItem` operation, represents the attributes to be + modified, the action to perform on each, and the new value for each. + + Note: + You cannot use `UpdateItem` to update any primary key attributes. + Instead, you will need to delete the item, and then use `PutItem` to + create a new item with new attributes. + + Attribute values cannot be null; string and binary type attributes must + have lengths greater than zero; and set type attributes must not be + empty. Requests with empty values will be rejected with a + `ValidationException` exception. + """ + + value: AttributeValue | None = ... + """ + Represents the data for an attribute. + + Each attribute value is described as a name-value pair. The name is the + data type, and the value is the data itself. + + For more information, see [Data + Types](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes) + in the *Amazon DynamoDB Developer Guide*. + """ + action: str | None = ... + """ + Specifies how to perform the update. Valid values are `PUT` (default), + `DELETE`, and `ADD`. The behavior depends on whether the specified + primary key already exists in the table. + + **If an item with the specified *Key* is found in the table:** + + - `PUT` - Adds the specified attribute to the item. If the attribute + already exists, it is replaced by the new value. + + - `DELETE` - If no value is specified, the attribute and its value are + removed from the item. The data type of the specified value must match + the existing value's data type. + + If a *set* of values is specified, then those values are subtracted + from the old set. For example, if the attribute value was the set + `[a,b,c]` and the `DELETE` action specified `[a,c]`, then the final + attribute value would be `[b]`. Specifying an empty set is an error. + + - `ADD` - If the attribute does not already exist, then the attribute + and its values are added to the item. If the attribute does exist, + then the behavior of `ADD` depends on the data type of the attribute: + + - If the existing attribute is a number, and if `Value` is also a + number, then the `Value` is mathematically added to the existing + attribute. If `Value` is a negative number, then it is subtracted + from the existing attribute. + + Note: + If you use `ADD` to increment or decrement a number value for an + item that doesn't exist before the update, DynamoDB uses 0 as the + initial value. + + In addition, if you use `ADD` to update an existing item, and intend + to increment or decrement an attribute value which does not yet + exist, DynamoDB uses `0` as the initial value. For example, suppose + that the item you want to update does not yet have an attribute + named *itemcount*, but you decide to `ADD` the number `3` to this + attribute anyway, even though it currently does not exist. DynamoDB + will create the *itemcount* attribute, set its initial value to `0`, + and finally add `3` to it. The result will be a new *itemcount* + attribute in the item, with a value of `3`. + + - If the existing data type is a set, and if the `Value` is also a + set, then the `Value` is added to the existing set. (This is a *set* + operation, not mathematical addition.) For example, if the attribute + value was the set `[1,2]`, and the `ADD` action specified `[3]`, + then the final attribute value would be `[1,2,3]`. An error occurs + if an Add action is specified for a set attribute and the attribute + type specified does not match the existing set type. + + Both sets must have the same primitive data type. For example, if + the existing data type is a set of strings, the `Value` must also be + a set of strings. The same holds true for number sets and binary + sets. + + This action is only valid for an existing attribute whose data type is + number or is a set. Do not use `ADD` for any other data types. + + **If no item with the specified *Key* is found:** + + - `PUT` - DynamoDB creates a new item with the specified primary key, + and then adds the attribute. + + - `DELETE` - Nothing happens; there is no attribute to delete. + + - `ADD` - DynamoDB creates a new item with the supplied primary key and + number (or set) for the attribute value. The only data types allowed + are number, number set, string set or binary set. + """ + +@dataclass(kw_only=True) +class AutoScalingPolicyDescription(_SerdeShape): + """Represents the properties of the scaling policy.""" + + policy_name: str | None = ... + """The name of the scaling policy.""" + target_tracking_scaling_policy_configuration: ( + AutoScalingTargetTrackingScalingPolicyConfigurationDescription | None + ) = ... + """Represents a target tracking scaling policy configuration.""" + +@dataclass(kw_only=True) +class AutoScalingPolicyUpdate(_SerdeShape): + """Represents the auto scaling policy to be modified.""" + + policy_name: str | None = ... + """The name of the scaling policy.""" + target_tracking_scaling_policy_configuration: ( + AutoScalingTargetTrackingScalingPolicyConfigurationUpdate + ) + """Represents a target tracking scaling policy configuration.""" + +@dataclass(kw_only=True) +class AutoScalingSettingsDescription(_SerdeShape): + """ + Represents the auto scaling settings for a global table or global + secondary index. + """ + + minimum_units: int | None = ... + """ + The minimum capacity units that a global table or global secondary index + should be scaled down to. + """ + maximum_units: int | None = ... + """ + The maximum capacity units that a global table or global secondary index + should be scaled up to. + """ + auto_scaling_disabled: bool | None = ... + """Disabled auto scaling for this global table or global secondary index.""" + auto_scaling_role_arn: str | None = ... + """Role ARN used for configuring the auto scaling policy.""" + scaling_policies: list[AutoScalingPolicyDescription] | None = ... + """Information about the scaling policies.""" + +@dataclass(kw_only=True) +class AutoScalingSettingsUpdate(_SerdeShape): + """ + Represents the auto scaling settings to be modified for a global table + or global secondary index. + """ + + minimum_units: int | None = ... + """ + The minimum capacity units that a global table or global secondary index + should be scaled down to. + """ + maximum_units: int | None = ... + """ + The maximum capacity units that a global table or global secondary index + should be scaled up to. + """ + auto_scaling_disabled: bool | None = ... + """Disabled auto scaling for this global table or global secondary index.""" + auto_scaling_role_arn: str | None = ... + """Role ARN used for configuring auto scaling policy.""" + scaling_policy_update: AutoScalingPolicyUpdate | None = ... + """ + The scaling policy to apply for scaling target global table or global + secondary index capacity units. + """ + +@dataclass(kw_only=True) +class AutoScalingTargetTrackingScalingPolicyConfigurationDescription(_SerdeShape): + """Represents the properties of a target tracking scaling policy.""" + + disable_scale_in: bool | None = ... + """ + Indicates whether scale in by the target tracking policy is disabled. If + the value is true, scale in is disabled and the target tracking policy + won't remove capacity from the scalable resource. Otherwise, scale in + is enabled and the target tracking policy can remove capacity from the + scalable resource. The default value is false. + """ + scale_in_cooldown: int | None = ... + """ + The amount of time, in seconds, after a scale in activity completes + before another scale in activity can start. The cooldown period is used + to block subsequent scale in requests until it has expired. You should + scale in conservatively to protect your application's availability. + However, if another alarm triggers a scale out policy during the + cooldown period after a scale-in, application auto scaling scales out + your scalable target immediately. + """ + scale_out_cooldown: int | None = ... + """ + The amount of time, in seconds, after a scale out activity completes + before another scale out activity can start. While the cooldown period + is in effect, the capacity that has been added by the previous scale out + event that initiated the cooldown is calculated as part of the desired + capacity for the next scale out. You should continuously (but not + excessively) scale out. + """ + target_value: float + """ + The target value for the metric. The range is 8.515920e-109 to + 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). + """ + +@dataclass(kw_only=True) +class AutoScalingTargetTrackingScalingPolicyConfigurationUpdate(_SerdeShape): + """ + Represents the settings of a target tracking scaling policy that will be + modified. + """ + + disable_scale_in: bool | None = ... + """ + Indicates whether scale in by the target tracking policy is disabled. If + the value is true, scale in is disabled and the target tracking policy + won't remove capacity from the scalable resource. Otherwise, scale in + is enabled and the target tracking policy can remove capacity from the + scalable resource. The default value is false. + """ + scale_in_cooldown: int | None = ... + """ + The amount of time, in seconds, after a scale in activity completes + before another scale in activity can start. The cooldown period is used + to block subsequent scale in requests until it has expired. You should + scale in conservatively to protect your application's availability. + However, if another alarm triggers a scale out policy during the + cooldown period after a scale-in, application auto scaling scales out + your scalable target immediately. + """ + scale_out_cooldown: int | None = ... + """ + The amount of time, in seconds, after a scale out activity completes + before another scale out activity can start. While the cooldown period + is in effect, the capacity that has been added by the previous scale out + event that initiated the cooldown is calculated as part of the desired + capacity for the next scale out. You should continuously (but not + excessively) scale out. + """ + target_value: float + """ + The target value for the metric. The range is 8.515920e-109 to + 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). + """ + +@dataclass(kw_only=True) +class BackupDescription(_SerdeShape): + """Contains the description of the backup created for the table.""" + + backup_details: BackupDetails | None = ... + """Contains the details of the backup created for the table.""" + source_table_details: SourceTableDetails | None = ... + """Contains the details of the table when the backup was created.""" + source_table_feature_details: SourceTableFeatureDetails | None = ... + """ + Contains the details of the features enabled on the table when the + backup was created. For example, LSIs, GSIs, streams, TTL. + """ + +@dataclass(kw_only=True) +class BackupDetails(_SerdeShape): + """Contains the details of the backup created for the table.""" + + backup_arn: str + """ARN associated with the backup.""" + backup_name: str + """Name of the requested backup.""" + backup_size_bytes: int | None = ... + """ + Size of the backup in bytes. DynamoDB updates this value approximately + every six hours. Recent changes might not be reflected in this value. + """ + backup_status: str + """Backup can be in one of the following states: CREATING, ACTIVE, DELETED.""" + backup_type: str + """ + BackupType: + + - `USER` - You create and manage these using the on-demand backup + feature. + + - `SYSTEM` - If you delete a table with point-in-time recovery enabled, + a `SYSTEM` backup is automatically created and is retained for 35 days + (at no additional cost). System backups allow you to restore the + deleted table to the state it was in just before the point of + deletion. + + - `AWS_BACKUP` - On-demand backup created by you from Backup service. + """ + backup_creation_date_time: datetime + """ + Time at which the backup was created. This is the request time of the + backup. + """ + backup_expiry_date_time: datetime | None = ... + """ + Time at which the automatic on-demand backup created by DynamoDB will + expire. This `SYSTEM` on-demand backup expires automatically 35 days + after its creation. + """ + +@dataclass(kw_only=True) +class BackupInUseException(ServiceError, _SerdeShape): + """ + There is another ongoing conflicting backup control plane operation on + the table. The backup is either being created, deleted or restored to a + table. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BackupNotFoundException(ServiceError, _SerdeShape): + """Backup not found for the given BackupARN.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class BackupStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + DELETED = "DELETED" + AVAILABLE = "AVAILABLE" + +@dataclass(kw_only=True) +class BackupSummary(_SerdeShape): + """Contains details for the backup.""" + + table_name: str | None = ... + """Name of the table.""" + table_id: str | None = ... + """Unique identifier for the table.""" + table_arn: str | None = ... + """ARN associated with the table.""" + backup_arn: str | None = ... + """ARN associated with the backup.""" + backup_name: str | None = ... + """Name of the specified backup.""" + backup_creation_date_time: datetime | None = ... + """Time at which the backup was created.""" + backup_expiry_date_time: datetime | None = ... + """ + Time at which the automatic on-demand backup created by DynamoDB will + expire. This `SYSTEM` on-demand backup expires automatically 35 days + after its creation. + """ + backup_status: str | None = ... + """Backup can be in one of the following states: CREATING, ACTIVE, DELETED.""" + backup_type: str | None = ... + """ + BackupType: + + - `USER` - You create and manage these using the on-demand backup + feature. + + - `SYSTEM` - If you delete a table with point-in-time recovery enabled, + a `SYSTEM` backup is automatically created and is retained for 35 days + (at no additional cost). System backups allow you to restore the + deleted table to the state it was in just before the point of + deletion. + + - `AWS_BACKUP` - On-demand backup created by you from Backup service. + """ + backup_size_bytes: int | None = ... + """Size of the backup in bytes.""" + +class BackupType(UnknownEnumMixin, StrEnum): + USER = "USER" + SYSTEM = "SYSTEM" + AWS_BACKUP = "AWS_BACKUP" + +class BackupTypeFilter(UnknownEnumMixin, StrEnum): + USER = "USER" + SYSTEM = "SYSTEM" + AWS_BACKUP = "AWS_BACKUP" + ALL = "ALL" + +@dataclass(kw_only=True) +class BatchExecuteStatementInput(_SerdeShape): + """Dataclass for BatchExecuteStatementInput structure.""" + + statements: list[BatchStatementRequest] | None = ... + """The list of PartiQL statements representing the batch to run.""" + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + +@dataclass(kw_only=True) +class BatchExecuteStatementOutput(_SerdeShape): + """Dataclass for BatchExecuteStatementOutput structure.""" + + responses: list[BatchStatementResponse] | None = ... + """ + The response to each PartiQL statement in the batch. The values of the + list are ordered according to the ordering of the request statements. + """ + consumed_capacity: list[ConsumedCapacity] | None = ... + """ + The capacity units consumed by the entire operation. The values of the + list are ordered according to the ordering of the statements. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BatchGetItemInput(_SerdeShape): + """Represents the input of a `BatchGetItem` operation.""" + + request_items: dict[str, KeysAndAttributes] | None = ... + """ + A map of one or more table names or table ARNs and, for each table, a + map that describes one or more items to retrieve from that table. Each + table name or ARN can be used only once per `BatchGetItem` request. + + Each element in the map of items to retrieve consists of the following: + + - `ConsistentRead` - If `true`, a strongly consistent read is used; if + `false` (the default), an eventually consistent read is used. + + - `ExpressionAttributeNames` - One or more substitution tokens for + attribute names in the `ProjectionExpression` parameter. The following + are some use cases for using `ExpressionAttributeNames`: + + - To access an attribute whose name conflicts with a DynamoDB reserved + word. + + - To create a placeholder for repeating occurrences of an attribute + name in an expression. + + - To prevent special characters in an attribute name from being + misinterpreted in an expression. + + Use the **#** character in an expression to dereference an attribute + name. For example, consider the following attribute name: + + - `Percentile` + + The name of this attribute conflicts with a reserved word, so it + cannot be used directly in an expression. (For the complete list of + reserved words, see [Reserved + Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) + in the *Amazon DynamoDB Developer Guide*). To work around this, you + could specify the following for `ExpressionAttributeNames`: + + - `{"#P":"Percentile"}` + + You could then use this substitution in an expression, as in this + example: + + - `#P = :val` + + Note: + Tokens that begin with the **:** character are *expression attribute + values*, which are placeholders for the actual value at runtime. + + For more information about expression attribute names, see [Accessing + Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + + - `Keys` - An array of primary key attribute values that define specific + items in the table. For each primary key, you must provide *all* of + the key attributes. For example, with a simple primary key, you only + need to provide the partition key value. For a composite key, you must + provide *both* the partition key value and the sort key value. + + - `ProjectionExpression` - A string that identifies one or more + attributes to retrieve from the table. These attributes can include + scalars, sets, or elements of a JSON document. The attributes in the + expression must be separated by commas. + + If no attribute names are specified, then all attributes are returned. + If any of the requested attributes are not found, they do not appear + in the result. + + For more information, see [Accessing Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + + - `AttributesToGet` - This is a legacy parameter. Use + `ProjectionExpression` instead. For more information, see + [AttributesToGet](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html) + in the *Amazon DynamoDB Developer Guide*. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + +@dataclass(kw_only=True) +class BatchGetItemOutput(_SerdeShape): + """Represents the output of a `BatchGetItem` operation.""" + + responses: dict[str, list[dict[str, AttributeValue]]] | None = ... + """ + A map of table name or table ARN to a list of items. Each object in + `Responses` consists of a table name or ARN, along with a map of + attribute data consisting of the data type and attribute value. + """ + unprocessed_keys: dict[str, KeysAndAttributes] | None = ... + """ + A map of tables and their respective keys that were not processed with + the current response. The `UnprocessedKeys` value is in the same form as + `RequestItems`, so the value can be provided directly to a subsequent + `BatchGetItem` operation. For more information, see `RequestItems` in + the Request Parameters section. + + Each element consists of: + + - `Keys` - An array of primary key attribute values that define specific + items in the table. + + - `ProjectionExpression` - One or more attributes to be retrieved from + the table or index. By default, all attributes are returned. If a + requested attribute is not found, it does not appear in the result. + + - `ConsistentRead` - The consistency of a read operation. If set to + `true`, then a strongly consistent read is used; otherwise, an + eventually consistent read is used. + + If there are no unprocessed keys remaining, the response contains an + empty `UnprocessedKeys` map. + """ + consumed_capacity: list[ConsumedCapacity] | None = ... + """ + The read capacity units consumed by the entire `BatchGetItem` operation. + + Each element consists of: + + - `TableName` - The table that consumed the provisioned throughput. + + - `CapacityUnits` - The total number of capacity units consumed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BatchStatementError(_SerdeShape): + """An error associated with a statement in a PartiQL batch that was run.""" + + code: str | None = ... + """The error code associated with the failed PartiQL batch statement.""" + message: str | None = ... + """The error message associated with the PartiQL batch response.""" + item: dict[str, AttributeValue] | None = ... + """ + The item which caused the condition check to fail. This will be set if + ReturnValuesOnConditionCheckFailure is specified as `ALL_OLD`. + """ + +class BatchStatementErrorCodeEnum(UnknownEnumMixin, StrEnum): + CONDITIONAL_CHECK_FAILED = "ConditionalCheckFailed" + ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED = "ItemCollectionSizeLimitExceeded" + REQUEST_LIMIT_EXCEEDED = "RequestLimitExceeded" + VALIDATION_ERROR = "ValidationError" + PROVISIONED_THROUGHPUT_EXCEEDED = "ProvisionedThroughputExceeded" + TRANSACTION_CONFLICT = "TransactionConflict" + THROTTLING_ERROR = "ThrottlingError" + INTERNAL_SERVER_ERROR = "InternalServerError" + RESOURCE_NOT_FOUND = "ResourceNotFound" + ACCESS_DENIED = "AccessDenied" + DUPLICATE_ITEM = "DuplicateItem" + +@dataclass(kw_only=True) +class BatchStatementRequest(_SerdeShape): + """A PartiQL batch statement request.""" + + statement: str + """A valid PartiQL statement.""" + parameters: list[AttributeValue] | None = ... + """The parameters associated with a PartiQL statement in the batch request.""" + consistent_read: bool | None = ... + """The read consistency of the PartiQL batch request.""" + return_values_on_condition_check_failure: str | None = ... + """ + An optional parameter that returns the item attributes for a PartiQL + batch request operation that failed a condition check. + + There is no additional cost associated with requesting a return value + aside from the small network and processing overhead of receiving a + larger response. No read capacity units are consumed. + """ + +@dataclass(kw_only=True) +class BatchStatementResponse(_SerdeShape): + """A PartiQL batch statement response..""" + + error: BatchStatementError | None = ... + """The error associated with a failed PartiQL batch statement.""" + table_name: str | None = ... + """The table name associated with a failed PartiQL batch statement.""" + item: dict[str, AttributeValue] | None = ... + """A DynamoDB item associated with a BatchStatementResponse""" + +@dataclass(kw_only=True) +class BatchWriteItemInput(_SerdeShape): + """Represents the input of a `BatchWriteItem` operation.""" + + request_items: dict[str, list[WriteRequest]] | None = ... + """ + A map of one or more table names or table ARNs and, for each table, a + list of operations to be performed (`DeleteRequest` or `PutRequest`). + Each element in the map consists of the following: + + - `DeleteRequest` - Perform a `DeleteItem` operation on the specified + item. The item to be deleted is identified by a `Key` subelement: + + - `Key` - A map of primary key attribute values that uniquely identify + the item. Each entry in this map consists of an attribute name and + an attribute value. For each primary key, you must provide *all* of + the key attributes. For example, with a simple primary key, you only + need to provide a value for the partition key. For a composite + primary key, you must provide values for *both* the partition key + and the sort key. + + - `PutRequest` - Perform a `PutItem` operation on the specified item. + The item to be put is identified by an `Item` subelement: + + - `Item` - A map of attributes and their values. Each entry in this + map consists of an attribute name and an attribute value. Attribute + values must not be null; string and binary type attributes must have + lengths greater than zero; and set type attributes must not be + empty. Requests that contain empty values are rejected with a + `ValidationException` exception. + + If you specify any attributes that are part of an index key, then + the data types for those attributes must match those of the schema + in the table's attribute definition. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + return_item_collection_metrics: str | None = ... + """ + Determines whether item collection metrics are returned. If set to + `SIZE`, the response includes statistics about item collections, if any, + that were modified during the operation are returned in the response. If + set to `NONE` (the default), no statistics are returned. + """ + +@dataclass(kw_only=True) +class BatchWriteItemOutput(_SerdeShape): + """Represents the output of a `BatchWriteItem` operation.""" + + unprocessed_items: dict[str, list[WriteRequest]] | None = ... + """ + A map of tables and requests against those tables that were not + processed. The `UnprocessedItems` value is in the same form as + `RequestItems`, so you can provide this value directly to a subsequent + `BatchWriteItem` operation. For more information, see `RequestItems` in + the Request Parameters section. + + Each `UnprocessedItems` entry consists of a table name or table ARN and, + for that table, a list of operations to perform (`DeleteRequest` or + `PutRequest`). + + - `DeleteRequest` - Perform a `DeleteItem` operation on the specified + item. The item to be deleted is identified by a `Key` subelement: + + - `Key` - A map of primary key attribute values that uniquely identify + the item. Each entry in this map consists of an attribute name and + an attribute value. + + - `PutRequest` - Perform a `PutItem` operation on the specified item. + The item to be put is identified by an `Item` subelement: + + - `Item` - A map of attributes and their values. Each entry in this + map consists of an attribute name and an attribute value. Attribute + values must not be null; string and binary type attributes must have + lengths greater than zero; and set type attributes must not be + empty. Requests that contain empty values will be rejected with a + `ValidationException` exception. + + If you specify any attributes that are part of an index key, then + the data types for those attributes must match those of the schema + in the table's attribute definition. + + If there are no unprocessed items remaining, the response contains an + empty `UnprocessedItems` map. + """ + item_collection_metrics: dict[str, list[ItemCollectionMetrics]] | None = ... + """ + A list of tables that were processed by `BatchWriteItem` and, for each + table, information about any item collections that were affected by + individual `DeleteItem` or `PutItem` operations. + + Each entry consists of the following subelements: + + - `ItemCollectionKey` - The partition key value of the item collection. + This is the same as the partition key value of the item. + + - `SizeEstimateRangeGB` - An estimate of item collection size, expressed + in GB. This is a two-element array containing a lower bound and an + upper bound for the estimate. The estimate includes the size of all + the items in the table, plus the size of all attributes projected into + all of the local secondary indexes on the table. Use this estimate to + measure whether a local secondary index is approaching its size limit. + + The estimate is subject to change over time; therefore, do not rely on + the precision or accuracy of the estimate. + """ + consumed_capacity: list[ConsumedCapacity] | None = ... + """ + The capacity units consumed by the entire `BatchWriteItem` operation. + + Each element consists of: + + - `TableName` - The table that consumed the provisioned throughput. + + - `CapacityUnits` - The total number of capacity units consumed. + + If the table has vector indexes, each element also includes a + `VectorIndexes` field with `VectorWriteRequestBytes` consumed for each + affected vector index. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class BillingMode(UnknownEnumMixin, StrEnum): + PROVISIONED = "PROVISIONED" + PAY_PER_REQUEST = "PAY_PER_REQUEST" + +@dataclass(kw_only=True) +class BillingModeSummary(_SerdeShape): + """ + Contains the details for the read/write capacity mode. This page talks + about `PROVISIONED` and `PAY_PER_REQUEST` billing modes. For more + information about these modes, see [Read/write capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html). + + Note: + You may need to switch to on-demand mode at least once in order to + return a `BillingModeSummary` response. + """ + + billing_mode: str | None = ... + """ + Controls how you are charged for read and write throughput and how you + manage capacity. This setting can be changed later. + + - `PROVISIONED` - Sets the read/write capacity mode to `PROVISIONED`. We + recommend using `PROVISIONED` for predictable workloads. + + - `PAY_PER_REQUEST` - Sets the read/write capacity mode to + `PAY_PER_REQUEST`. We recommend using `PAY_PER_REQUEST` for + unpredictable workloads. + """ + last_update_to_pay_per_request_date_time: datetime | None = ... + """ + Represents the time when `PAY_PER_REQUEST` was last set as the + read/write capacity mode. + """ + +@dataclass(kw_only=True) +class BulkOperationBytes(_SerdeShape): + """Contains the bulk put bytes used during a bulk operation.""" + + bulk_put_bytes: int | None = ... + """The number of bulk put bytes.""" + +@dataclass(kw_only=True) +class BulkOperationDescription(_SerdeShape): + """Contains detailed information about a bulk operation.""" + + bulk_operation_arn: str | None = ... + """The Amazon Resource Name (ARN) of the bulk operation.""" + bulk_operation_status: str | None = ... + """ + The current status of the bulk operation can be one of the following + values: + + IN_PROGRESS + + : DynamoDB is processing the input. + + COMPLETED + + : The bulk operation finished without parsing or validation errors. + Condition-check failures do not cause the operation to complete with + errors. + + COMPLETED_WITH_ERRORS + + : The bulk operation finished, but DynamoDB couldn't process at least + one input item because of a parsing or validation error. When you + enable `ERROR` output, DynamoDB writes the details to the configured + Amazon S3 output location. + + CANCELLING + + : DynamoDB accepted a cancellation request and is stopping the + operation. + + CANCELLED + + : DynamoDB stopped the operation after a cancellation request. + + FAILED + + : The bulk operation failed. DynamoDB might write some items before the + operation reaches this status. See + [FailureCode](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BulkOperationDescription.html#DDB-Type-BulkOperationDescription-FailureCode) + and + [FailureMessage](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BulkOperationDescription.html#DDB-Type-BulkOperationDescription-FailureMessage) + for details. + """ + table_details: list[BulkOperationTableDetail] | None = ... + """ + A list containing identifying information for the table targeted by the + bulk operation. + """ + client_token: str | None = ... + """The idempotency token associated with the start request.""" + input_s3_configuration: InputS3Configuration | None = ... + """The Amazon S3 input configuration associated with the bulk operation.""" + output_s3_configuration: OutputS3Configuration | None = ... + """The Amazon S3 output configuration associated with the bulk operation.""" + start_time: datetime | None = ... + """The time when DynamoDB accepted the start request.""" + end_time: datetime | None = ... + """ + The time when the operation reached a terminal status. DynamoDB omits + this value while the operation remains in progress. + """ + processed_item_count: int = ... + """ + The number of input items that DynamoDB has processed. This count + includes successful writes, parsing or validation failures, and + condition-check failures. + """ + processed_input_bytes: int | None = ... + """ + The number of bytes that DynamoDB has read from the Amazon S3 input + objects. + """ + total_input_bytes: int | None = ... + """ + The total size, in bytes, of the Amazon S3 input objects. DynamoDB omits + this value until the initial input-size calculation completes. + """ + bulk_operation_usage: list[BulkOperationUsage] | None = ... + """Usage information for the table and its indexes.""" + failed_item_count: int = ... + """ + The number of processed input items that failed because of parsing or + validation errors. This count is included in `ProcessedItemCount`. + Condition-check failures do not increase this count. + """ + failure_code: str | None = ... + """ + A code that identifies why the bulk operation failed or was cancelled. + DynamoDB returns this value only when `BulkOperationStatus` is `FAILED` + or `CANCELLED`. + """ + failure_message: str | None = ... + """ + A message that describes why the bulk operation failed or was cancelled. + DynamoDB returns this value only when `BulkOperationStatus` is `FAILED` + or `CANCELLED`. + """ + max_write_request_units: int | None = ... + """The maximum write request unit rate configured for the bulk operation.""" + performance_tier: str | None = ... + """ + The performance tier selected for the bulk operation. Valid values are + `STANDARD` and `ACCELERATED`. If the start request omitted this value, + DynamoDB uses `STANDARD`. + """ + +class BulkOperationInputFormat(UnknownEnumMixin, StrEnum): + DYNAMODB_JSON = "DYNAMODB_JSON" + ION = "ION" + +class BulkOperationPerformanceTier(UnknownEnumMixin, StrEnum): + STANDARD = "STANDARD" + ACCELERATED = "ACCELERATED" + +class BulkOperationStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "IN_PROGRESS" + COMPLETED = "COMPLETED" + COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS" + CANCELLING = "CANCELLING" + CANCELLED = "CANCELLED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class BulkOperationSummary(_SerdeShape): + """Contains summary information about a bulk operation.""" + + bulk_operation_arn: str + """The Amazon Resource Name (ARN) of the bulk operation.""" + bulk_operation_status: str + """The current status of the bulk operation.""" + start_time: datetime + """The time when DynamoDB accepted the start request.""" + end_time: datetime | None = ... + """ + The time when the operation reached a terminal status. DynamoDB omits + this value while the operation remains in progress. + """ + +@dataclass(kw_only=True) +class BulkOperationTableDetail(_SerdeShape): + """ + Contains identifying information for a table associated with a bulk + operation. + """ + + table_name: str | None = ... + """The name or ARN of the table associated with the bulk operation.""" + table_id: str | None = ... + """The unique identifier of the table associated with the bulk operation.""" + +@dataclass(kw_only=True) +class BulkOperationUsage(_SerdeShape): + """ + Contains the bytes used during a bulk operation, including a breakdown + for the table and its indexes. + """ + + table_name: str | None = ... + """The name or ARN of the table associated with the reported usage.""" + bulk_put_bytes: int | None = ... + """ + The total number of bulk put bytes used by the operation. This value + excludes bulk put vector bytes. + """ + table: BulkOperationBytes | None = ... + """The number of bulk put bytes for the table, excluding its indexes.""" + local_secondary_indexes: dict[str, BulkOperationBytes] | None = ... + """ + The bulk put bytes used on each local secondary index affected by the + operation, keyed by index name. + """ + global_secondary_indexes: dict[str, BulkOperationBytes] | None = ... + """ + The bulk put bytes used on each global secondary index affected by the + operation, keyed by index name. + """ + vector_indexes: dict[str, BulkOperationVectorBytes] | None = ... + """ + The bulk put vector bytes used on each vector index affected by the + operation, keyed by index name. + """ + +@dataclass(kw_only=True) +class BulkOperationVectorBytes(_SerdeShape): + """ + Contains the bulk put vector bytes used by a vector index during a bulk + operation. + """ + + bulk_put_vector_bytes: int | None = ... + """The number of bulk put vector bytes used on the vector index.""" + +@dataclass(kw_only=True) +class CancelBulkOperationInput(_SerdeShape): + """Dataclass for CancelBulkOperationInput structure.""" + + bulk_operation_arn: str | None = ... + """The Amazon Resource Name (ARN) of the bulk operation to cancel.""" + +@dataclass(kw_only=True) +class CancelBulkOperationOutput(_SerdeShape): + """Dataclass for CancelBulkOperationOutput structure.""" + + bulk_operation_arn: str + """ + The Amazon Resource Name (ARN) of the bulk operation for which DynamoDB + accepted the cancellation request. + """ + bulk_operation_status: str + """ + The status returned after DynamoDB accepts the cancellation request. + This value is `CANCELLING`. Use `DescribeBulkOperation` to determine + when the operation reaches `CANCELLED`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancellationReason(_SerdeShape): + """ + An ordered list of errors for each item in the request which caused the + transaction to get cancelled. The values of the list are ordered + according to the ordering of the `TransactWriteItems` request parameter. + If no error occurred for the associated item an error with a Null code + and Null message will be present. + """ + + item: dict[str, AttributeValue] | None = ... + """Item in the request which caused the transaction to get cancelled.""" + code: str | None = ... + """Status code for the result of the cancelled transaction.""" + message: str | None = ... + """Cancellation reason message description.""" + +@dataclass(kw_only=True) +class Capacity(_SerdeShape): + """ + Represents the amount of provisioned throughput capacity consumed on a + table or an index. + """ + + read_capacity_units: float | None = ... + """The total number of read capacity units consumed on a table or an index.""" + write_capacity_units: float | None = ... + """ + The total number of write capacity units consumed on a table or an + index. + """ + capacity_units: float | None = ... + """The total number of capacity units consumed on a table or an index.""" + +class ComparisonOperator(UnknownEnumMixin, StrEnum): + EQ = "EQ" + NE = "NE" + IN_ = "IN" + LE = "LE" + LT = "LT" + GE = "GE" + GT = "GT" + BETWEEN = "BETWEEN" + NOT_NULL = "NOT_NULL" + NULL = "NULL" + CONTAINS = "CONTAINS" + NOT_CONTAINS = "NOT_CONTAINS" + BEGINS_WITH = "BEGINS_WITH" + +@dataclass(kw_only=True) +class Condition(_SerdeShape): + """ + Represents the selection criteria for a `Query` or `Scan` operation: + + - For a `Query` operation, `Condition` is used for specifying the + `KeyConditions` to use when querying a table or an index. For + `KeyConditions`, only the following comparison operators are + supported: + + `EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN` + + `Condition` is also used in a `QueryFilter`, which evaluates the query + results and returns only the desired values. + + - For a `Scan` operation, `Condition` is used in a `ScanFilter`, which + evaluates the scan results and returns only the desired values. + """ + + attribute_value_list: list[AttributeValue] | None = ... + """ + One or more values to evaluate against the supplied attribute. The + number of values in the list depends on the `ComparisonOperator` being + used. + + For type Number, value comparisons are numeric. + + String value comparisons for greater than, equals, or less than are + based on ASCII character code values. For example, `a` is greater than + `A`, and `a` is greater than `B`. For a list of code values, see + . + + For Binary, DynamoDB treats each byte of the binary data as unsigned + when it compares binary values. + """ + comparison_operator: str + """ + A comparator for evaluating attributes. For example, equals, greater + than, less than, etc. + + The following comparison operators are available: + + `EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN` + + The following are descriptions of each comparison operator. + + - `EQ` : Equal. `EQ` is supported for all data types, including lists + and maps. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, Binary, String Set, Number Set, or Binary Set. If + an item contains an `AttributeValue` element of a different type than + the one provided in the request, the value does not match. For + example, `{"S":"6"}` does not equal `{"N":"6"}`. Also, `{"N":"6"}` + does not equal `{"NS":["6", "2", "1"]}`. + + - `NE` : Not equal. `NE` is supported for all data types, including + lists and maps. + + `AttributeValueList` can contain only one `AttributeValue` of type + String, Number, Binary, String Set, Number Set, or Binary Set. If an + item contains an `AttributeValue` of a different type than the one + provided in the request, the value does not match. For example, + `{"S":"6"}` does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not + equal `{"NS":["6", "2", "1"]}`. + + - `LE` : Less than or equal. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If an item contains + an `AttributeValue` element of a different type than the one provided + in the request, the value does not match. For example, `{"S":"6"}` + does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to + `{"NS":["6", "2", "1"]}`. + + - `LT` : Less than. + + `AttributeValueList` can contain only one `AttributeValue` of type + String, Number, or Binary (not a set type). If an item contains an + `AttributeValue` element of a different type than the one provided in + the request, the value does not match. For example, `{"S":"6"}` does + not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to + `{"NS":["6", "2", "1"]}`. + + - `GE` : Greater than or equal. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If an item contains + an `AttributeValue` element of a different type than the one provided + in the request, the value does not match. For example, `{"S":"6"}` + does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to + `{"NS":["6", "2", "1"]}`. + + - `GT` : Greater than. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If an item contains + an `AttributeValue` element of a different type than the one provided + in the request, the value does not match. For example, `{"S":"6"}` + does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to + `{"NS":["6", "2", "1"]}`. + + - `NOT_NULL` : The attribute exists. `NOT_NULL` is supported for all + data types, including lists and maps. + + Note: + This operator tests for the existence of an attribute, not its data + type. If the data type of attribute \"`a`\" is null, and you evaluate + it using `NOT_NULL`, the result is a Boolean `true`. This result is + because the attribute \"`a`\" exists; its data type is not relevant to + the `NOT_NULL` comparison operator. + + - `NULL` : The attribute does not exist. `NULL` is supported for all + data types, including lists and maps. + + Note: + This operator tests for the nonexistence of an attribute, not its data + type. If the data type of attribute \"`a`\" is null, and you evaluate + it using `NULL`, the result is a Boolean `false`. This is because the + attribute \"`a`\" exists; its data type is not relevant to the `NULL` + comparison operator. + + - `CONTAINS` : Checks for a subsequence, or value in a set. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If the target + attribute of the comparison is of type String, then the operator + checks for a substring match. If the target attribute of the + comparison is of type Binary, then the operator looks for a + subsequence of the target that matches the input. If the target + attribute of the comparison is a set (\"`SS`\", \"`NS`\", or + \"`BS`\"), then the operator evaluates to true if it finds an exact + match with any member of the set. + + CONTAINS is supported for lists: When evaluating \"`a CONTAINS b`\", + \"`a`\" can be a list; however, \"`b`\" cannot be a set, a map, or a + list. + + - `NOT_CONTAINS` : Checks for absence of a subsequence, or absence of a + value in a set. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If the target + attribute of the comparison is a String, then the operator checks for + the absence of a substring match. If the target attribute of the + comparison is Binary, then the operator checks for the absence of a + subsequence of the target that matches the input. If the target + attribute of the comparison is a set (\"`SS`\", \"`NS`\", or + \"`BS`\"), then the operator evaluates to true if it *does not* find + an exact match with any member of the set. + + NOT_CONTAINS is supported for lists: When evaluating + \"`a NOT CONTAINS b`\", \"`a`\" can be a list; however, \"`b`\" cannot + be a set, a map, or a list. + + - `BEGINS_WITH` : Checks for a prefix. + + `AttributeValueList` can contain only one `AttributeValue` of type + String or Binary (not a Number or a set type). The target attribute of + the comparison must be of type String or Binary (not a Number or a set + type). + + - `IN` : Checks for matching elements in a list. + + `AttributeValueList` can contain one or more `AttributeValue` elements + of type String, Number, or Binary. These attributes are compared + against an existing attribute of an item. If any elements of the input + are equal to the item attribute, the expression evaluates to true. + + - `BETWEEN` : Greater than or equal to the first value, and less than or + equal to the second value. + + `AttributeValueList` must contain two `AttributeValue` elements of the + same type, either String, Number, or Binary (not a set type). A target + attribute matches if the target value is greater than, or equal to, + the first element and less than, or equal to, the second element. If + an item contains an `AttributeValue` element of a different type than + the one provided in the request, the value does not match. For + example, `{"S":"6"}` does not compare to `{"N":"6"}`. Also, + `{"N":"6"}` does not compare to `{"NS":["6", "2", "1"]}` + + For usage examples of `AttributeValueList` and `ComparisonOperator`, see + [Legacy Conditional + Parameters](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html) + in the *Amazon DynamoDB Developer Guide*. + """ + +@dataclass(kw_only=True) +class ConditionalCheckFailedException(ServiceError, _SerdeShape): + """A condition specified in the operation failed to be evaluated.""" + + item: dict[str, AttributeValue] | None = ... + """Item which caused the `ConditionalCheckFailedException`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ConditionalOperator(UnknownEnumMixin, StrEnum): + AND_ = "AND" + OR_ = "OR" + +@dataclass(kw_only=True) +class ConditionCheck(_SerdeShape): + """ + Represents a request to perform a check that an item exists or to check + the condition of specific attributes of the item. + """ + + key: dict[str, AttributeValue] + """ + The primary key of the item to be checked. Each element consists of an + attribute name and a value for that attribute. + """ + table_name: str + """ + Name of the table for the check item request. You can also provide the + Amazon Resource Name (ARN) of the table in this parameter. + """ + condition_expression: str + """ + A condition that must be satisfied in order for a conditional update to + succeed. For more information, see [Condition + expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + For more information, see [Expression attribute + names](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeNames.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_values: dict[str, AttributeValue] | None = ... + """ + One or more values that can be substituted in an expression. For more + information, see [Condition + expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + return_values_on_condition_check_failure: str | None = ... + """ + Use `ReturnValuesOnConditionCheckFailure` to get the item attributes if + the `ConditionCheck` condition fails. For + `ReturnValuesOnConditionCheckFailure`, the valid values are: NONE and + ALL_OLD. + """ + +@dataclass(kw_only=True) +class ConsumedCapacity(_SerdeShape): + """ + The capacity units consumed by an operation. The data returned includes + the total provisioned throughput consumed, along with statistics for the + table and any indexes involved in the operation. `ConsumedCapacity` is + only returned if the request asked for it. For more information, see + [Provisioned capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html) + in the *Amazon DynamoDB Developer Guide*. + """ + + table_name: str | None = ... + """ + The name of the table that was affected by the operation. If you had + specified the Amazon Resource Name (ARN) of a table in the input, + you'll see the table ARN in the response. + """ + capacity_units: float | None = ... + """The total number of capacity units consumed by the operation.""" + read_capacity_units: float | None = ... + """The total number of read capacity units consumed by the operation.""" + write_capacity_units: float | None = ... + """The total number of write capacity units consumed by the operation.""" + table: Capacity | None = ... + """ + The amount of throughput consumed on the table affected by the + operation. + """ + local_secondary_indexes: dict[str, Capacity] | None = ... + """ + The amount of throughput consumed on each local index affected by the + operation. + """ + global_secondary_indexes: dict[str, Capacity] | None = ... + """ + The amount of throughput consumed on each global index affected by the + operation. + """ + vector_indexes: dict[str, VectorCapacity] | None = ... + """ + The amount of throughput consumed on each vector index affected by the + operation. Each entry contains `VectorWriteRequestBytes` (for write + operations) or `VectorSearchRequestBytes` (for search operations). + """ + +@dataclass(kw_only=True) +class ContinuousBackupsDescription(_SerdeShape): + """ + Represents the continuous backups and point in time recovery settings on + the table. + """ + + continuous_backups_status: str + """ + `ContinuousBackupsStatus` can be one of the following states: ENABLED, + DISABLED + """ + point_in_time_recovery_description: PointInTimeRecoveryDescription | None = ... + """ + The description of the point in time recovery settings applied to the + table. + """ + +class ContinuousBackupsStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class ContinuousBackupsUnavailableException(ServiceError, _SerdeShape): + """Backups have not yet been enabled for this table.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ContributorInsightsAction(UnknownEnumMixin, StrEnum): + ENABLE = "ENABLE" + DISABLE = "DISABLE" + +class ContributorInsightsMode(UnknownEnumMixin, StrEnum): + ACCESSED_AND_THROTTLED_KEYS = "ACCESSED_AND_THROTTLED_KEYS" + THROTTLED_KEYS = "THROTTLED_KEYS" + +class ContributorInsightsStatus(UnknownEnumMixin, StrEnum): + ENABLING = "ENABLING" + ENABLED = "ENABLED" + DISABLING = "DISABLING" + DISABLED = "DISABLED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class ContributorInsightsSummary(_SerdeShape): + """Represents a Contributor Insights summary entry.""" + + table_name: str | None = ... + """Name of the table associated with the summary.""" + index_name: str | None = ... + """Name of the index associated with the summary, if any.""" + contributor_insights_status: str | None = ... + """ + Describes the current status for contributor insights for the given + table and index, if applicable. + """ + contributor_insights_mode: str | None = ... + """ + Indicates the current mode of CloudWatch Contributor Insights, + specifying whether it tracks all access and throttled events or + throttled events only for the DynamoDB table or index. + """ + +@dataclass(kw_only=True) +class CreateBackupInput(_SerdeShape): + """Dataclass for CreateBackupInput structure.""" + + table_name: str | None = ... + """ + The name of the table. You can also provide the Amazon Resource Name + (ARN) of the table in this parameter. + """ + backup_name: str | None = ... + """Specified name for the backup.""" + +@dataclass(kw_only=True) +class CreateBackupOutput(_SerdeShape): + """Dataclass for CreateBackupOutput structure.""" + + backup_details: BackupDetails | None = ... + """Contains the details of the backup created for the table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGlobalSecondaryIndexAction(_SerdeShape): + """ + Represents a new global secondary index to be added to an existing + table. + """ + + index_name: str + """The name of the global secondary index to be created.""" + key_schema: list[KeySchemaElement] + """ + The key schema for the global secondary index. Global secondary index + supports up to 4 partition and up to 4 sort keys. + """ + projection: Projection + """ + Represents attributes that are copied (projected) from the table into an + index. These are in addition to the primary key attributes and index key + attributes, which are automatically projected. + """ + provisioned_throughput: ProvisionedThroughput | None = ... + """ + Represents the provisioned throughput settings for the specified global + secondary index. + + For current minimum and maximum provisioned throughput values, see + [Service, Account, and Table + Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) + in the *Amazon DynamoDB Developer Guide*. + """ + on_demand_throughput: OnDemandThroughput | None = ... + """ + The maximum number of read and write units for the global secondary + index being created. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. You must use + either `OnDemand Throughput` or `ProvisionedThroughput` based on your + table's capacity mode. + """ + warm_throughput: WarmThroughput | None = ... + """ + Represents the warm throughput value (in read units per second and write + units per second) when creating a secondary index. + """ + +@dataclass(kw_only=True) +class CreateGlobalTableInput(_SerdeShape): + """Dataclass for CreateGlobalTableInput structure.""" + + global_table_name: str | None = ... + """The global table name.""" + replication_group: list[Replica] | None = ... + """The Regions where the global table needs to be created.""" + +@dataclass(kw_only=True) +class CreateGlobalTableOutput(_SerdeShape): + """Dataclass for CreateGlobalTableOutput structure.""" + + global_table_description: GlobalTableDescription | None = ... + """Contains the details of the global table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGlobalTableWitnessGroupMemberAction(_SerdeShape): + """ + Specifies the action to add a new witness Region to a MRSC global table. + A MRSC global table can be configured with either three replicas, or + with two replicas and one witness. + """ + + region_name: str + """ + The Amazon Web Services Region name to be added as a witness Region for + the MRSC global table. The witness must be in a different Region than + the replicas and within the same Region set: + + - US Region set: US East (N. Virginia), US East (Ohio), US West (Oregon) + + - EU Region set: Europe (Ireland), Europe (London), Europe (Paris), + Europe (Frankfurt) + + - AP Region set: Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia + Pacific (Osaka) + """ + +@dataclass(kw_only=True) +class CreateReplicaAction(_SerdeShape): + """Represents a replica to be added.""" + + region_name: str + """The Region of the replica to be added.""" + +@dataclass(kw_only=True) +class CreateReplicationGroupMemberAction(_SerdeShape): + """Represents a replica to be created.""" + + region_name: str + """The Region where the new replica will be created.""" + kms_master_key_id: str | None = ... + """ + The KMS key that should be used for KMS encryption in the new replica. + To specify a key, use its key ID, Amazon Resource Name (ARN), alias + name, or alias ARN. Note that you should only provide this parameter if + the key is different from the default DynamoDB KMS key + `alias/aws/dynamodb`. + """ + provisioned_throughput_override: ProvisionedThroughputOverride | None = ... + """ + Replica-specific provisioned throughput. If not specified, uses the + source table's provisioned throughput settings. + """ + on_demand_throughput_override: OnDemandThroughputOverride | None = ... + """ + The maximum on-demand throughput settings for the specified replica + table being created. You can only modify `MaxReadRequestUnits`, because + you can't modify `MaxWriteRequestUnits` for individual replica tables. + """ + global_secondary_indexes: list[ReplicaGlobalSecondaryIndex] | None = ... + """Replica-specific global secondary index settings.""" + table_class_override: str | None = ... + """ + Replica-specific table class. If not specified, uses the source table's + table class. + """ + +@dataclass(kw_only=True) +class CreateTableInput(_SerdeShape): + """Represents the input of a `CreateTable` operation.""" + + attribute_definitions: list[AttributeDefinition] | None = ... + """ + An array of attributes that describe the key schema for the table and + indexes. + """ + table_name: str | None = ... + """ + The name of the table to create. You can also provide the Amazon + Resource Name (ARN) of the table in this parameter. + """ + key_schema: list[KeySchemaElement] | None = ... + """ + Specifies the attributes that make up the primary key for a table or an + index. The attributes in `KeySchema` must also be defined in the + `AttributeDefinitions` array. For more information, see [Data + Model](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html) + in the *Amazon DynamoDB Developer Guide*. + + Each `KeySchemaElement` in the array is composed of: + + - `AttributeName` - The name of this key attribute. + + - `KeyType` - The role that the key attribute will assume: + + - `HASH` - partition key + + - `RANGE` - sort key + + Note: + The partition key of an item is also known as its *hash attribute*. The + term \"hash attribute\" derives from the DynamoDB usage of an internal + hash function to evenly distribute data items across partitions, based + on their partition key values. + + The sort key of an item is also known as its *range attribute*. The term + \"range attribute\" derives from the way DynamoDB stores items with the + same partition key physically close together, in sorted order by the + sort key value. + + For a simple primary key (partition key), you must provide exactly one + element with a `KeyType` of `HASH`. + + For a composite primary key (partition key and sort key), you must + provide exactly two elements, in this order: The first element must have + a `KeyType` of `HASH`, and the second element must have a `KeyType` of + `RANGE`. + + For more information, see [Working with + Tables](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#WorkingWithTables.primary.key) + in the *Amazon DynamoDB Developer Guide*. + """ + local_secondary_indexes: list[LocalSecondaryIndex] | None = ... + """ + One or more local secondary indexes (the maximum is 5) to be created on + the table. Each index is scoped to a given partition key value. There is + a 10 GB size limit per partition key value; otherwise, the size of a + local secondary index is unconstrained. + + Each local secondary index in the array includes the following: + + - `IndexName` - The name of the local secondary index. Must be unique + only for this table. + + - `KeySchema` - Specifies the key schema for the local secondary index. + The key schema must begin with the same partition key as the table. + + - `Projection` - Specifies attributes that are copied (projected) from + the table into the index. These are in addition to the primary key + attributes and index key attributes, which are automatically + projected. Each attribute specification is composed of: + + - `ProjectionType` - One of the following: + + - `KEYS_ONLY` - Only the index and primary keys are projected into + the index. + + - `INCLUDE` - Only the specified table attributes are projected into + the index. The list of projected attributes is in + `NonKeyAttributes`. + + - `ALL` - All of the table attributes are projected into the index. + + - `NonKeyAttributes` - A list of one or more non-key attribute names + that are projected into the secondary index. The total count of + attributes provided in `NonKeyAttributes`, summed across all of the + secondary indexes, must not exceed 100. If you project the same + attribute into two different indexes, this counts as two distinct + attributes when determining the total. This limit only applies when + you specify the ProjectionType of `INCLUDE`. You still can specify + the ProjectionType of `ALL` to project all attributes from the + source table, even if the table has more than 100 attributes. + """ + global_secondary_indexes: list[GlobalSecondaryIndex] | None = ... + """ + One or more global secondary indexes (the maximum is 20) to be created + on the table. Each global secondary index in the array includes the + following: + + - `IndexName` - The name of the global secondary index. Must be unique + only for this table. + + - `KeySchema` - Specifies the key schema for the global secondary index. + Each global secondary index supports up to 4 partition keys and up to + 4 sort keys. + + - `Projection` - Specifies attributes that are copied (projected) from + the table into the index. These are in addition to the primary key + attributes and index key attributes, which are automatically + projected. Each attribute specification is composed of: + + - `ProjectionType` - One of the following: + + - `KEYS_ONLY` - Only the index and primary keys are projected into + the index. + + - `INCLUDE` - Only the specified table attributes are projected into + the index. The list of projected attributes is in + `NonKeyAttributes`. + + - `ALL` - All of the table attributes are projected into the index. + + - `NonKeyAttributes` - A list of one or more non-key attribute names + that are projected into the secondary index. The total count of + attributes provided in `NonKeyAttributes`, summed across all of the + secondary indexes, must not exceed 100. If you project the same + attribute into two different indexes, this counts as two distinct + attributes when determining the total. This limit only applies when + you specify the ProjectionType of `INCLUDE`. You still can specify + the ProjectionType of `ALL` to project all attributes from the + source table, even if the table has more than 100 attributes. + + - `ProvisionedThroughput` - The provisioned throughput settings for the + global secondary index, consisting of read and write capacity units. + """ + billing_mode: str | None = ... + """ + Controls how you are charged for read and write throughput and how you + manage capacity. This setting can be changed later. + + - `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most + DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to + [On-demand capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html). + + - `PROVISIONED` - We recommend using `PROVISIONED` for steady workloads + with predictable growth where capacity requirements can be reliably + forecasted. `PROVISIONED` sets the billing mode to [Provisioned + capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html). + """ + provisioned_throughput: ProvisionedThroughput | None = ... + """ + Represents the provisioned throughput settings for a specified table or + index. The settings can be modified using the `UpdateTable` operation. + + If you set BillingMode as `PROVISIONED`, you must specify this property. + If you set BillingMode as `PAY_PER_REQUEST`, you cannot specify this + property. + + For current minimum and maximum provisioned throughput values, see + [Service, Account, and Table + Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) + in the *Amazon DynamoDB Developer Guide*. + """ + stream_specification: StreamSpecification | None = ... + """ + The settings for DynamoDB Streams on the table. These settings consist + of: + + - `StreamEnabled` - Indicates whether DynamoDB Streams is to be enabled + (true) or disabled (false). + + - `StreamViewType` - When an item in the table is modified, + `StreamViewType` determines what information is written to the + table's stream. Valid values for `StreamViewType` are: + + - `KEYS_ONLY` - Only the key attributes of the modified item are + written to the stream. + + - `NEW_IMAGE` - The entire item, as it appears after it was modified, + is written to the stream. + + - `OLD_IMAGE` - The entire item, as it appeared before it was + modified, is written to the stream. + + - `NEW_AND_OLD_IMAGES` - Both the new and the old item images of the + item are written to the stream. + """ + sse_specification: SSESpecification | None = ... + """Represents the settings used to enable server-side encryption.""" + tags: list[Tag] | None = ... + """ + A list of key-value pairs to label the table. For more information, see + [Tagging for + DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html). + """ + table_class: str | None = ... + """ + The table class of the new table. Valid values are `STANDARD` and + `STANDARD_INFREQUENT_ACCESS`. + """ + deletion_protection_enabled: bool | None = ... + """ + Indicates whether deletion protection is to be enabled (true) or + disabled (false) on the table. + """ + warm_throughput: WarmThroughput | None = ... + """ + Represents the warm throughput (in read units per second and write units + per second) for creating a table. + """ + resource_policy: str | None = ... + """ + An Amazon Web Services resource-based policy document in JSON format + that will be attached to the table. + + When you attach a resource-based policy while creating a table, the + policy application is *strongly consistent*. + + The maximum size supported for a resource-based policy document is 20 + KB. DynamoDB counts whitespaces when calculating the size of a policy + against this limit. For a full list of all considerations that apply for + resource-based policies, see [Resource-based policy + considerations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html). + + Note: + You need to specify the `CreateTable` and `PutResourcePolicy` IAM + actions for authorizing a user to create a table with a resource-based + policy. + """ + on_demand_throughput: OnDemandThroughput | None = ... + """ + Sets the maximum number of read and write units for the specified table + in on-demand capacity mode. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + global_table_source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the source table used for the creation + of a multi-account global table. + """ + global_table_settings_replication_mode: str | None = ... + """ + Controls the settings synchronization mode for the global table. For + multi-account global tables, this parameter is required and the only + supported value is ENABLED. For same-account global tables, this + parameter is set to ENABLED_WITH_OVERRIDES. + """ + vector_indexes: list[VectorIndex] | None = ... + """ + One or more vector indexes to be created on the table. Each vector index + enables similarity search on a vector attribute. Each element in the + list consists of: + + - `IndexName` - The name of the vector index. Must be unique within the + table. + + - `VectorAttribute` - The attribute that contains vector embeddings. If + multiple vector indexes reference the same attribute, they must all + use the same number of dimensions. + + - `Dimensions` - The number of dimensions in each vector. + + - `DistanceFunction` - The distance function used to calculate + similarity. Valid values: `COSINE`, `EUCLIDEAN`, `DOT_PRODUCT`. + + - `Projection` - Specifies attributes that are copied (projected) from + the table into the vector index. The total number of projected non-key + attributes is shared across the vector attribute (counts as 1) and + `INLINE_FILTER` search schema elements (each counts as 1). `HASH` + search schema elements do not count toward this limit. + + - `SearchSchema` - (Optional) Defines the partition key (`HASH`) and + inline filter (`INLINE_FILTER`) attributes for the vector index. + """ + +@dataclass(kw_only=True) +class CreateTableOutput(_SerdeShape): + """Represents the output of a `CreateTable` operation.""" + + table_description: TableDescription | None = ... + """Represents the properties of the table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVectorIndexAction(_SerdeShape): + """A new vector index to be added to a table.""" + + index_name: str + """The name of the vector index. Must be unique within the table.""" + vector_attribute: VectorAttributeDefinition + """ + The attribute that contains vector embeddings. If multiple vector + indexes reference the same attribute, they must all use the same number + of dimensions. + """ + search_schema: list[SearchSchemaElement] | None = ... + """ + The partition key and inline filter attribute definitions for the vector + index. + """ + projection: Projection + """ + Specifies attributes that are copied (projected) from the table into the + vector index. + """ + dimensions: int + """The number of dimensions in each vector.""" + distance_function: str + """ + The distance function used to calculate similarity. Valid values: + `COSINE`, `EUCLIDEAN`, `DOT_PRODUCT`. + """ + +@dataclass(kw_only=True) +class CsvOptions(_SerdeShape): + """Processing options for the CSV file being imported.""" + + delimiter: str | None = ... + """The delimiter used for separating items in the CSV file being imported.""" + header_list: list[str] | None = ... + """ + List of the headers used to specify a common header for all source CSV + files being imported. If this field is specified then the first line of + each CSV file is treated as data instead of the header. If this field is + not specified the the first line of each CSV file is treated as the + header. + """ + +@dataclass(kw_only=True) +class Delete(_SerdeShape): + """Represents a request to perform a `DeleteItem` operation.""" + + key: dict[str, AttributeValue] + """ + The primary key of the item to be deleted. Each element consists of an + attribute name and a value for that attribute. + """ + table_name: str + """ + Name of the table in which the item to be deleted resides. You can also + provide the Amazon Resource Name (ARN) of the table in this parameter. + """ + condition_expression: str | None = ... + """ + A condition that must be satisfied in order for a conditional delete to + succeed. + """ + expression_attribute_names: dict[str, str] | None = ... + """One or more substitution tokens for attribute names in an expression.""" + expression_attribute_values: dict[str, AttributeValue] | None = ... + """One or more values that can be substituted in an expression.""" + return_values_on_condition_check_failure: str | None = ... + """ + Use `ReturnValuesOnConditionCheckFailure` to get the item attributes if + the `Delete` condition fails. For `ReturnValuesOnConditionCheckFailure`, + the valid values are: NONE and ALL_OLD. + """ + +@dataclass(kw_only=True) +class DeleteBackupInput(_SerdeShape): + """Dataclass for DeleteBackupInput structure.""" + + backup_arn: str | None = ... + """The ARN associated with the backup.""" + +@dataclass(kw_only=True) +class DeleteBackupOutput(_SerdeShape): + """Dataclass for DeleteBackupOutput structure.""" + + backup_description: BackupDescription | None = ... + """Contains the description of the backup created for the table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGlobalSecondaryIndexAction(_SerdeShape): + """ + Represents a global secondary index to be deleted from an existing + table. + """ + + index_name: str + """The name of the global secondary index to be deleted.""" + +@dataclass(kw_only=True) +class DeleteGlobalTableWitnessGroupMemberAction(_SerdeShape): + """ + Specifies the action to remove a witness Region from a MRSC global + table. You cannot delete a single witness from a MRSC global table - you + must delete both a replica and the witness together. The deletion of + both a witness and replica converts the remaining replica to a + single-Region DynamoDB table. + """ + + region_name: str + """The witness Region name to be removed from the MRSC global table.""" + +@dataclass(kw_only=True) +class DeleteItemInput(_SerdeShape): + """Represents the input of a `DeleteItem` operation.""" + + table_name: str | None = ... + """ + The name of the table from which to delete the item. You can also + provide the Amazon Resource Name (ARN) of the table in this parameter. + """ + key: dict[str, AttributeValue] | None = ... + """ + A map of attribute names to `AttributeValue` objects, representing the + primary key of the item to delete. + + For the primary key, you must provide all of the key attributes. For + example, with a simple primary key, you only need to provide a value for + the partition key. For a composite primary key, you must provide values + for both the partition key and the sort key. + """ + expected: dict[str, ExpectedAttributeValue] | None = ... + """ + This is a legacy parameter. Use `ConditionExpression` instead. For more + information, see + [Expected](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html) + in the *Amazon DynamoDB Developer Guide*. + """ + conditional_operator: str | None = ... + """ + This is a legacy parameter. Use `ConditionExpression` instead. For more + information, see + [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) + in the *Amazon DynamoDB Developer Guide*. + """ + return_values: str | None = ... + """ + Use `ReturnValues` if you want to get the item attributes as they + appeared before they were deleted. For `DeleteItem`, the valid values + are: + + - `NONE` - If `ReturnValues` is not specified, or if its value is + `NONE`, then nothing is returned. (This setting is the default for + `ReturnValues`.) + + - `ALL_OLD` - The content of the old item is returned. + + There is no additional cost associated with requesting a return value + aside from the small network and processing overhead of receiving a + larger response. No read capacity units are consumed. + + Note: + The `ReturnValues` parameter is used by several DynamoDB operations; + however, `DeleteItem` does not recognize any values other than `NONE` or + `ALL_OLD`. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + return_item_collection_metrics: str | None = ... + """ + Determines whether item collection metrics are returned. If set to + `SIZE`, the response includes statistics about item collections, if any, + that were modified during the operation are returned in the response. If + set to `NONE` (the default), no statistics are returned. + """ + condition_expression: str | None = ... + """ + A condition that must be satisfied in order for a conditional + `DeleteItem` to succeed. + + An expression can contain any of the following: + + - Functions: + `attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size` + + These function names are case-sensitive. + + - Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN ` + + - Logical operators: `AND | OR | NOT` + + For more information about condition expressions, see [Condition + Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + The following are some use cases for using `ExpressionAttributeNames`: + + - To access an attribute whose name conflicts with a DynamoDB reserved + word. + + - To create a placeholder for repeating occurrences of an attribute name + in an expression. + + - To prevent special characters in an attribute name from being + misinterpreted in an expression. + + Use the **#** character in an expression to dereference an attribute + name. For example, consider the following attribute name: + + - `Percentile` + + The name of this attribute conflicts with a reserved word, so it cannot + be used directly in an expression. (For the complete list of reserved + words, see [Reserved + Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) + in the *Amazon DynamoDB Developer Guide*). To work around this, you + could specify the following for `ExpressionAttributeNames`: + + - `{"#P":"Percentile"}` + + You could then use this substitution in an expression, as in this + example: + + - `#P = :val` + + Note: + Tokens that begin with the **:** character are *expression attribute + values*, which are placeholders for the actual value at runtime. + + For more information on expression attribute names, see [Specifying Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_values: dict[str, AttributeValue] | None = ... + """ + One or more values that can be substituted in an expression. + + Use the **:** (colon) character in an expression to dereference an + attribute value. For example, suppose that you wanted to check whether + the value of the *ProductStatus* attribute was one of the following: + + `Available | Backordered | Discontinued` + + You would first need to specify `ExpressionAttributeValues` as follows: + + `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` + + You could then use these values in an expression, such as this: + + `ProductStatus IN (:avail, :back, :disc)` + + For more information on expression attribute values, see [Condition + Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + return_values_on_condition_check_failure: str | None = ... + """ + An optional parameter that returns the item attributes for a + `DeleteItem` operation that failed a condition check. + + There is no additional cost associated with requesting a return value + aside from the small network and processing overhead of receiving a + larger response. No read capacity units are consumed. + """ + +@dataclass(kw_only=True) +class DeleteItemOutput(_SerdeShape): + """Represents the output of a `DeleteItem` operation.""" + + attributes: dict[str, AttributeValue] | None = ... + """ + A map of attribute names to `AttributeValue` objects, representing the + item as it appeared before the `DeleteItem` operation. This map appears + in the response only if `ReturnValues` was specified as `ALL_OLD` in the + request. + """ + consumed_capacity: ConsumedCapacity | None = ... + """ + The capacity units consumed by the `DeleteItem` operation. The data + returned includes the total provisioned throughput consumed, along with + statistics for the table and any indexes involved in the operation. + `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` + parameter was specified. For more information, see [Provisioned capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html) + in the *Amazon DynamoDB Developer Guide*. + + If the table has vector indexes, the response includes a `VectorIndexes` + field with `VectorWriteRequestBytes` consumed for each affected vector + index. + """ + item_collection_metrics: ItemCollectionMetrics | None = ... + """ + Information about item collections, if any, that were affected by the + `DeleteItem` operation. `ItemCollectionMetrics` is only returned if the + `ReturnItemCollectionMetrics` parameter was specified. If the table does + not have any local secondary indexes, this information is not returned + in the response. + + Each `ItemCollectionMetrics` element consists of: + + - `ItemCollectionKey` - The partition key value of the item collection. + This is the same as the partition key value of the item itself. + + - `SizeEstimateRangeGB` - An estimate of item collection size, in + gigabytes. This value is a two-element array containing a lower bound + and an upper bound for the estimate. The estimate includes the size of + all the items in the table, plus the size of all attributes projected + into all of the local secondary indexes on that table. Use this + estimate to measure whether a local secondary index is approaching its + size limit. + + The estimate is subject to change over time; therefore, do not rely on + the precision or accuracy of the estimate. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteReplicaAction(_SerdeShape): + """Represents a replica to be removed.""" + + region_name: str + """The Region of the replica to be removed.""" + +@dataclass(kw_only=True) +class DeleteReplicationGroupMemberAction(_SerdeShape): + """Represents a replica to be deleted.""" + + region_name: str + """The Region where the replica exists.""" + +@dataclass(kw_only=True) +class DeleteRequest(_SerdeShape): + """Represents a request to perform a `DeleteItem` operation on an item.""" + + key: dict[str, AttributeValue] + """ + A map of attribute name to attribute values, representing the primary + key of the item to delete. All of the table's primary key attributes + must be specified, and their data types must match those of the table's + key schema. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyInput(_SerdeShape): + """Dataclass for DeleteResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the DynamoDB resource from which the + policy will be removed. The resources you can specify include tables and + streams. If you remove the policy of a table, it will also remove the + permissions for the table's indexes defined in that policy document. + This is because index permissions are defined in the table's policy. + """ + expected_revision_id: str | None = ... + """ + A string value that you can use to conditionally delete your policy. + When you provide an expected revision ID, if the revision ID of the + existing policy on the resource doesn't match or if there's no policy + attached to the resource, the request will fail and return a + `PolicyNotFoundException`. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyOutput(_SerdeShape): + """Dataclass for DeleteResourcePolicyOutput structure.""" + + revision_id: str | None = ... + """ + A unique string that represents the revision ID of the policy. If + you're comparing revision IDs, make sure to always use string + comparison logic. + + This value will be empty if you make a request against a resource + without a policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTableInput(_SerdeShape): + """Represents the input of a `DeleteTable` operation.""" + + table_name: str | None = ... + """ + The name of the table to delete. You can also provide the Amazon + Resource Name (ARN) of the table in this parameter. + """ + +@dataclass(kw_only=True) +class DeleteTableOutput(_SerdeShape): + """Represents the output of a `DeleteTable` operation.""" + + table_description: TableDescription | None = ... + """Represents the properties of a table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVectorIndexAction(_SerdeShape): + """A vector index to be removed from a table.""" + + index_name: str + """The name of the vector index to delete.""" + +@dataclass(kw_only=True) +class DescribeBackupInput(_SerdeShape): + """Dataclass for DescribeBackupInput structure.""" + + backup_arn: str | None = ... + """The Amazon Resource Name (ARN) associated with the backup.""" + +@dataclass(kw_only=True) +class DescribeBackupOutput(_SerdeShape): + """Dataclass for DescribeBackupOutput structure.""" + + backup_description: BackupDescription | None = ... + """Contains the description of the backup created for the table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeBulkOperationInput(_SerdeShape): + """Dataclass for DescribeBulkOperationInput structure.""" + + bulk_operation_arn: str | None = ... + """The Amazon Resource Name (ARN) of the bulk operation to describe.""" + +@dataclass(kw_only=True) +class DescribeBulkOperationOutput(_SerdeShape): + """Dataclass for DescribeBulkOperationOutput structure.""" + + bulk_operation_description: BulkOperationDescription + """Contains detailed information about the bulk operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeContinuousBackupsInput(_SerdeShape): + """Dataclass for DescribeContinuousBackupsInput structure.""" + + table_name: str | None = ... + """ + Name of the table for which the customer wants to check the continuous + backups and point in time recovery settings. + + You can also provide the Amazon Resource Name (ARN) of the table in this + parameter. + """ + +@dataclass(kw_only=True) +class DescribeContinuousBackupsOutput(_SerdeShape): + """Dataclass for DescribeContinuousBackupsOutput structure.""" + + continuous_backups_description: ContinuousBackupsDescription | None = ... + """ + Represents the continuous backups and point in time recovery settings on + the table. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeContributorInsightsInput(_SerdeShape): + """Dataclass for DescribeContributorInsightsInput structure.""" + + table_name: str | None = ... + """ + The name of the table to describe. You can also provide the Amazon + Resource Name (ARN) of the table in this parameter. + """ + index_name: str | None = ... + """The name of the global secondary index to describe, if applicable.""" + +@dataclass(kw_only=True) +class DescribeContributorInsightsOutput(_SerdeShape): + """Dataclass for DescribeContributorInsightsOutput structure.""" + + table_name: str | None = ... + """The name of the table being described.""" + index_name: str | None = ... + """The name of the global secondary index being described.""" + contributor_insights_rule_list: list[str] | None = ... + """List of names of the associated contributor insights rules.""" + contributor_insights_status: str | None = ... + """Current status of contributor insights.""" + last_update_date_time: datetime | None = ... + """Timestamp of the last time the status was changed.""" + failure_exception: FailureException | None = ... + """ + Returns information about the last failure that was encountered. + + The most common exceptions for a FAILED status are: + + - LimitExceededException - Per-account Amazon CloudWatch Contributor + Insights rule limit reached. Please disable Contributor Insights for + other tables/indexes OR disable Contributor Insights rules before + retrying. + + - AccessDeniedException - Amazon CloudWatch Contributor Insights rules + cannot be modified due to insufficient permissions. + + - AccessDeniedException - Failed to create service-linked role for + Contributor Insights due to insufficient permissions. + + - InternalServerError - Failed to create Amazon CloudWatch Contributor + Insights rules. Please retry request. + """ + contributor_insights_mode: str | None = ... + """ + The mode of CloudWatch Contributor Insights for DynamoDB that determines + which events are emitted. Can be set to track all access and throttled + events or throttled events only. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeEndpointsInput(_SerdeShape): + """Dataclass for DescribeEndpointsInput structure.""" + +@dataclass(kw_only=True) +class DescribeEndpointsOutput(_SerdeShape): + """Dataclass for DescribeEndpointsOutput structure.""" + + endpoints: list[Endpoint] + """List of endpoints.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeExportInput(_SerdeShape): + """Dataclass for DescribeExportInput structure.""" + + export_arn: str | None = ... + """The Amazon Resource Name (ARN) associated with the export.""" + +@dataclass(kw_only=True) +class DescribeExportOutput(_SerdeShape): + """Dataclass for DescribeExportOutput structure.""" + + export_description: ExportDescription | None = ... + """Represents the properties of the export.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeGlobalTableInput(_SerdeShape): + """Dataclass for DescribeGlobalTableInput structure.""" + + global_table_name: str | None = ... + """The name of the global table.""" + +@dataclass(kw_only=True) +class DescribeGlobalTableOutput(_SerdeShape): + """Dataclass for DescribeGlobalTableOutput structure.""" + + global_table_description: GlobalTableDescription | None = ... + """Contains the details of the global table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeGlobalTableSettingsInput(_SerdeShape): + """Dataclass for DescribeGlobalTableSettingsInput structure.""" + + global_table_name: str | None = ... + """The name of the global table to describe.""" + +@dataclass(kw_only=True) +class DescribeGlobalTableSettingsOutput(_SerdeShape): + """Dataclass for DescribeGlobalTableSettingsOutput structure.""" + + global_table_name: str | None = ... + """The name of the global table.""" + replica_settings: list[ReplicaSettingsDescription] | None = ... + """The Region-specific settings for the global table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeImportInput(_SerdeShape): + """Dataclass for DescribeImportInput structure.""" + + import_arn: str | None = ... + """ + The Amazon Resource Name (ARN) associated with the table you're + importing to. + """ + +@dataclass(kw_only=True) +class DescribeImportOutput(_SerdeShape): + """Dataclass for DescribeImportOutput structure.""" + + import_table_description: ImportTableDescription + """ + Represents the properties of the table created for the import, and + parameters of the import. The import parameters include import status, + how many items were processed, and how many errors were encountered. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeKinesisStreamingDestinationInput(_SerdeShape): + """Dataclass for DescribeKinesisStreamingDestinationInput structure.""" + + table_name: str | None = ... + """ + The name of the table being described. You can also provide the Amazon + Resource Name (ARN) of the table in this parameter. + """ + +@dataclass(kw_only=True) +class DescribeKinesisStreamingDestinationOutput(_SerdeShape): + """Dataclass for DescribeKinesisStreamingDestinationOutput structure.""" + + table_name: str | None = ... + """The name of the table being described.""" + kinesis_data_stream_destinations: list[KinesisDataStreamDestination] | None = ... + """The list of replica structures for the table being described.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLimitsInput(_SerdeShape): + """Represents the input of a `DescribeLimits` operation. Has no content.""" + +@dataclass(kw_only=True) +class DescribeLimitsOutput(_SerdeShape): + """Represents the output of a `DescribeLimits` operation.""" + + account_max_read_capacity_units: int | None = ... + """ + The maximum total read capacity units that your account allows you to + provision across all of your tables in this Region. + """ + account_max_write_capacity_units: int | None = ... + """ + The maximum total write capacity units that your account allows you to + provision across all of your tables in this Region. + """ + table_max_read_capacity_units: int | None = ... + """ + The maximum read capacity units that your account allows you to + provision for a new table that you are creating in this Region, + including the read capacity units provisioned for its global secondary + indexes (GSIs). + """ + table_max_write_capacity_units: int | None = ... + """ + The maximum write capacity units that your account allows you to + provision for a new table that you are creating in this Region, + including the write capacity units provisioned for its global secondary + indexes (GSIs). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTableInput(_SerdeShape): + """Represents the input of a `DescribeTable` operation.""" + + table_name: str | None = ... + """ + The name of the table to describe. You can also provide the Amazon + Resource Name (ARN) of the table in this parameter. + """ + +@dataclass(kw_only=True) +class DescribeTableOutput(_SerdeShape): + """Represents the output of a `DescribeTable` operation.""" + + table: TableDescription | None = ... + """The properties of the table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTableReplicaAutoScalingInput(_SerdeShape): + """Dataclass for DescribeTableReplicaAutoScalingInput structure.""" + + table_name: str | None = ... + """ + The name of the table. You can also provide the Amazon Resource Name + (ARN) of the table in this parameter. + """ + +@dataclass(kw_only=True) +class DescribeTableReplicaAutoScalingOutput(_SerdeShape): + """Dataclass for DescribeTableReplicaAutoScalingOutput structure.""" + + table_auto_scaling_description: TableAutoScalingDescription | None = ... + """Represents the auto scaling properties of the table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTimeToLiveInput(_SerdeShape): + """Dataclass for DescribeTimeToLiveInput structure.""" + + table_name: str | None = ... + """ + The name of the table to be described. You can also provide the Amazon + Resource Name (ARN) of the table in this parameter. + """ + +@dataclass(kw_only=True) +class DescribeTimeToLiveOutput(_SerdeShape): + """Dataclass for DescribeTimeToLiveOutput structure.""" + + time_to_live_description: TimeToLiveDescription | None = ... + """""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DestinationStatus(UnknownEnumMixin, StrEnum): + ENABLING = "ENABLING" + ACTIVE = "ACTIVE" + DISABLING = "DISABLING" + DISABLED = "DISABLED" + ENABLE_FAILED = "ENABLE_FAILED" + UPDATING = "UPDATING" + +@dataclass(kw_only=True) +class DisableKinesisStreamingDestinationInput(_SerdeShape): + """Dataclass for DisableKinesisStreamingDestinationInput structure.""" + + table_name: str | None = ... + """ + The name of the DynamoDB table. You can also provide the Amazon Resource + Name (ARN) of the table in this parameter. + """ + stream_arn: str | None = ... + """The ARN for a Kinesis data stream.""" + enable_kinesis_streaming_configuration: ( + EnableKinesisStreamingConfiguration | None + ) = ... + """The source for the Kinesis streaming information that is being enabled.""" + +@dataclass(kw_only=True) +class DisableKinesisStreamingDestinationOutput(_SerdeShape): + """Dataclass for DisableKinesisStreamingDestinationOutput structure.""" + + table_name: str | None = ... + """The name of the table being modified.""" + stream_arn: str | None = ... + """The ARN for the specific Kinesis data stream.""" + destination_status: str | None = ... + """The current status of the replication.""" + enable_kinesis_streaming_configuration: ( + EnableKinesisStreamingConfiguration | None + ) = ... + """ + The destination for the Kinesis streaming information that is being + enabled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateReplicationGroupMemberAction(_SerdeShape): + """ + The parameters for disassociating the local replica from a global table + using Version 2019.11.21 with multi-Region eventual consistency (MREC). + + After disassociation completes, the replica remains a standalone + regional table that keeps its data, indexes, and table settings. + + For request requirements, see + [UpdateTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html). + For prerequisites, the protection update, and completion checks, see + [Disassociating a global table + replica](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables-disassociate.html) + in the *Amazon DynamoDB Developer Guide*. + """ + + region_name: str + """ + The Region of the replica to disassociate. Set this value to the Region + where you send the `UpdateTable` request. You must use credentials for + the account that owns the replica. + """ + disassociation_mode: str + """ + The mode for handling pending replication before disassociation + completes. You must specify `WAIT_FOR_REPLICATION`. For more + information, see [Disassociating a global table + replica](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables-disassociate.html) + in the *Amazon DynamoDB Developer Guide*. + """ + +class DisassociationMode(UnknownEnumMixin, StrEnum): + """ + Specifies how pending replication is handled before a replica is + disassociated. `WAIT_FOR_REPLICATION` is the only supported value. + """ + + WAIT_FOR_REPLICATION = "WAIT_FOR_REPLICATION" + +@dataclass(kw_only=True) +class DuplicateItemException(ServiceError, _SerdeShape): + """ + There was an attempt to insert an item with the same primary key as an + item that already exists in the DynamoDB table. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableKinesisStreamingConfiguration(_SerdeShape): + """Enables setting the configuration for Kinesis Streaming.""" + + approximate_creation_date_time_precision: str | None = ... + """ + Toggle for the precision of Kinesis data stream timestamp. The values + are either `MILLISECOND` or `MICROSECOND`. + """ + +@dataclass(kw_only=True) +class EnableKinesisStreamingDestinationInput(_SerdeShape): + """Dataclass for EnableKinesisStreamingDestinationInput structure.""" + + table_name: str | None = ... + """ + The name of the DynamoDB table. You can also provide the Amazon Resource + Name (ARN) of the table in this parameter. + """ + stream_arn: str | None = ... + """The ARN for a Kinesis data stream.""" + enable_kinesis_streaming_configuration: ( + EnableKinesisStreamingConfiguration | None + ) = ... + """The source for the Kinesis streaming information that is being enabled.""" + +@dataclass(kw_only=True) +class EnableKinesisStreamingDestinationOutput(_SerdeShape): + """Dataclass for EnableKinesisStreamingDestinationOutput structure.""" + + table_name: str | None = ... + """The name of the table being modified.""" + stream_arn: str | None = ... + """The ARN for the specific Kinesis data stream.""" + destination_status: str | None = ... + """The current status of the replication.""" + enable_kinesis_streaming_configuration: ( + EnableKinesisStreamingConfiguration | None + ) = ... + """ + The destination for the Kinesis streaming information that is being + enabled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Endpoint(_SerdeShape): + """An endpoint information details.""" + + address: str + """IP address of the endpoint.""" + cache_period_in_minutes: int = ... + """Endpoint cache time to live (TTL) value.""" + +@dataclass(kw_only=True) +class ExecuteStatementInput(_SerdeShape): + """Dataclass for ExecuteStatementInput structure.""" + + statement: str | None = ... + """The PartiQL statement representing the operation to run.""" + parameters: list[AttributeValue] | None = ... + """The parameters for the PartiQL statement, if any.""" + consistent_read: bool | None = ... + """ + The consistency of a read operation. If set to `true`, then a strongly + consistent read is used; otherwise, an eventually consistent read is + used. + """ + next_token: str | None = ... + """ + Set this value to get remaining results, if `NextToken` was returned in + the statement response. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + limit: int | None = ... + """ + The maximum number of items to evaluate (not necessarily the number of + matching items). If DynamoDB processes the number of items up to the + limit while processing the results, it stops the operation and returns + the matching values up to that point, along with a key in + `LastEvaluatedKey` to apply in a subsequent operation so you can pick up + where you left off. Also, if the processed dataset size exceeds 1 MB + before DynamoDB reaches this limit, it stops the operation and returns + the matching values up to the limit, and a key in `LastEvaluatedKey` to + apply in a subsequent operation to continue the operation. + """ + return_values_on_condition_check_failure: str | None = ... + """ + An optional parameter that returns the item attributes for an + `ExecuteStatement` operation that failed a condition check. + + There is no additional cost associated with requesting a return value + aside from the small network and processing overhead of receiving a + larger response. No read capacity units are consumed. + """ + +@dataclass(kw_only=True) +class ExecuteStatementOutput(_SerdeShape): + """Dataclass for ExecuteStatementOutput structure.""" + + items: list[dict[str, AttributeValue]] | None = ... + """ + If a read operation was used, this property will contain the result of + the read operation; a map of attribute names and their values. For the + write operations this value will be empty. + """ + next_token: str | None = ... + """ + If the response of a read request exceeds the response payload limit + DynamoDB will set this value in the response. If set, you can use that + this value in the subsequent request to get the remaining results. + """ + consumed_capacity: ConsumedCapacity | None = ... + """ + The capacity units consumed by an operation. The data returned includes + the total provisioned throughput consumed, along with statistics for the + table and any indexes involved in the operation. `ConsumedCapacity` is + only returned if the request asked for it. For more information, see + [Provisioned capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html) + in the *Amazon DynamoDB Developer Guide*. + """ + last_evaluated_key: dict[str, AttributeValue] | None = ... + """ + The primary key of the item where the operation stopped, inclusive of + the previous result set. Use this value to start a new operation, + excluding this value in the new request. If `LastEvaluatedKey` is empty, + then the \"last page\" of results has been processed and there is no + more data to be retrieved. If `LastEvaluatedKey` is not empty, it does + not necessarily mean that there is more data in the result set. The only + way to know when you have reached the end of the result set is when + `LastEvaluatedKey` is empty. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExecuteTransactionInput(_SerdeShape): + """Dataclass for ExecuteTransactionInput structure.""" + + transact_statements: list[ParameterizedStatement] | None = ... + """The list of PartiQL statements representing the transaction to run.""" + client_request_token: str | None = ... + """ + Set this value to get remaining results, if `NextToken` was returned in + the statement response. + + This field is autopopulated if not provided. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response. For more + information, see + [TransactGetItems](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html) + and + [TransactWriteItems](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html). + """ + +@dataclass(kw_only=True) +class ExecuteTransactionOutput(_SerdeShape): + """Dataclass for ExecuteTransactionOutput structure.""" + + responses: list[ItemResponse] | None = ... + """The response to a PartiQL transaction.""" + consumed_capacity: list[ConsumedCapacity] | None = ... + """ + The capacity units consumed by the entire operation. The values of the + list are ordered according to the ordering of the statements. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExpectedAttributeValue(_SerdeShape): + """ + Represents a condition to be compared with an attribute value. This + condition can be used with `DeleteItem`, `PutItem`, or `UpdateItem` + operations; if the comparison evaluates to true, the operation succeeds; + if not, the operation fails. You can use `ExpectedAttributeValue` in one + of two different ways: + + - Use `AttributeValueList` to specify one or more values to compare + against an attribute. Use `ComparisonOperator` to specify how you want + to perform the comparison. If the comparison evaluates to true, then + the conditional operation succeeds. + + - Use `Value` to specify a value that DynamoDB will compare against an + attribute. If the values match, then `ExpectedAttributeValue` + evaluates to true and the conditional operation succeeds. Optionally, + you can also set `Exists` to false, indicating that you *do not* + expect to find the attribute value in the table. In this case, the + conditional operation succeeds only if the comparison evaluates to + false. + + `Value` and `Exists` are incompatible with `AttributeValueList` and + `ComparisonOperator`. Note that if you use both sets of parameters at + once, DynamoDB will return a `ValidationException` exception. + """ + + value: AttributeValue | None = ... + """ + Represents the data for the expected attribute. + + Each attribute value is described as a name-value pair. The name is the + data type, and the value is the data itself. + + For more information, see [Data + Types](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes) + in the *Amazon DynamoDB Developer Guide*. + """ + exists: bool | None = ... + """ + Causes DynamoDB to evaluate the value before attempting a conditional + operation: + + - If `Exists` is `true`, DynamoDB will check to see if that attribute + value already exists in the table. If it is found, then the operation + succeeds. If it is not found, the operation fails with a + `ConditionCheckFailedException`. + + - If `Exists` is `false`, DynamoDB assumes that the attribute value does + not exist in the table. If in fact the value does not exist, then the + assumption is valid and the operation succeeds. If the value is found, + despite the assumption that it does not exist, the operation fails + with a `ConditionCheckFailedException`. + + The default setting for `Exists` is `true`. If you supply a `Value` all + by itself, DynamoDB assumes the attribute exists: You don't have to set + `Exists` to `true`, because it is implied. + + DynamoDB returns a `ValidationException` if: + + - `Exists` is `true` but there is no `Value` to check. (You expect a + value to exist, but don't specify what that value is.) + + - `Exists` is `false` but you also provide a `Value`. (You cannot expect + an attribute to have a value, while also expecting it not to exist.) + """ + comparison_operator: str | None = ... + """ + A comparator for evaluating attributes in the `AttributeValueList`. For + example, equals, greater than, less than, etc. + + The following comparison operators are available: + + `EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN` + + The following are descriptions of each comparison operator. + + - `EQ` : Equal. `EQ` is supported for all data types, including lists + and maps. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, Binary, String Set, Number Set, or Binary Set. If + an item contains an `AttributeValue` element of a different type than + the one provided in the request, the value does not match. For + example, `{"S":"6"}` does not equal `{"N":"6"}`. Also, `{"N":"6"}` + does not equal `{"NS":["6", "2", "1"]}`. + + - `NE` : Not equal. `NE` is supported for all data types, including + lists and maps. + + `AttributeValueList` can contain only one `AttributeValue` of type + String, Number, Binary, String Set, Number Set, or Binary Set. If an + item contains an `AttributeValue` of a different type than the one + provided in the request, the value does not match. For example, + `{"S":"6"}` does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not + equal `{"NS":["6", "2", "1"]}`. + + - `LE` : Less than or equal. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If an item contains + an `AttributeValue` element of a different type than the one provided + in the request, the value does not match. For example, `{"S":"6"}` + does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to + `{"NS":["6", "2", "1"]}`. + + - `LT` : Less than. + + `AttributeValueList` can contain only one `AttributeValue` of type + String, Number, or Binary (not a set type). If an item contains an + `AttributeValue` element of a different type than the one provided in + the request, the value does not match. For example, `{"S":"6"}` does + not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to + `{"NS":["6", "2", "1"]}`. + + - `GE` : Greater than or equal. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If an item contains + an `AttributeValue` element of a different type than the one provided + in the request, the value does not match. For example, `{"S":"6"}` + does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to + `{"NS":["6", "2", "1"]}`. + + - `GT` : Greater than. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If an item contains + an `AttributeValue` element of a different type than the one provided + in the request, the value does not match. For example, `{"S":"6"}` + does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to + `{"NS":["6", "2", "1"]}`. + + - `NOT_NULL` : The attribute exists. `NOT_NULL` is supported for all + data types, including lists and maps. + + Note: + This operator tests for the existence of an attribute, not its data + type. If the data type of attribute \"`a`\" is null, and you evaluate + it using `NOT_NULL`, the result is a Boolean `true`. This result is + because the attribute \"`a`\" exists; its data type is not relevant to + the `NOT_NULL` comparison operator. + + - `NULL` : The attribute does not exist. `NULL` is supported for all + data types, including lists and maps. + + Note: + This operator tests for the nonexistence of an attribute, not its data + type. If the data type of attribute \"`a`\" is null, and you evaluate + it using `NULL`, the result is a Boolean `false`. This is because the + attribute \"`a`\" exists; its data type is not relevant to the `NULL` + comparison operator. + + - `CONTAINS` : Checks for a subsequence, or value in a set. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If the target + attribute of the comparison is of type String, then the operator + checks for a substring match. If the target attribute of the + comparison is of type Binary, then the operator looks for a + subsequence of the target that matches the input. If the target + attribute of the comparison is a set (\"`SS`\", \"`NS`\", or + \"`BS`\"), then the operator evaluates to true if it finds an exact + match with any member of the set. + + CONTAINS is supported for lists: When evaluating \"`a CONTAINS b`\", + \"`a`\" can be a list; however, \"`b`\" cannot be a set, a map, or a + list. + + - `NOT_CONTAINS` : Checks for absence of a subsequence, or absence of a + value in a set. + + `AttributeValueList` can contain only one `AttributeValue` element of + type String, Number, or Binary (not a set type). If the target + attribute of the comparison is a String, then the operator checks for + the absence of a substring match. If the target attribute of the + comparison is Binary, then the operator checks for the absence of a + subsequence of the target that matches the input. If the target + attribute of the comparison is a set (\"`SS`\", \"`NS`\", or + \"`BS`\"), then the operator evaluates to true if it *does not* find + an exact match with any member of the set. + + NOT_CONTAINS is supported for lists: When evaluating + \"`a NOT CONTAINS b`\", \"`a`\" can be a list; however, \"`b`\" cannot + be a set, a map, or a list. + + - `BEGINS_WITH` : Checks for a prefix. + + `AttributeValueList` can contain only one `AttributeValue` of type + String or Binary (not a Number or a set type). The target attribute of + the comparison must be of type String or Binary (not a Number or a set + type). + + - `IN` : Checks for matching elements in a list. + + `AttributeValueList` can contain one or more `AttributeValue` elements + of type String, Number, or Binary. These attributes are compared + against an existing attribute of an item. If any elements of the input + are equal to the item attribute, the expression evaluates to true. + + - `BETWEEN` : Greater than or equal to the first value, and less than or + equal to the second value. + + `AttributeValueList` must contain two `AttributeValue` elements of the + same type, either String, Number, or Binary (not a set type). A target + attribute matches if the target value is greater than, or equal to, + the first element and less than, or equal to, the second element. If + an item contains an `AttributeValue` element of a different type than + the one provided in the request, the value does not match. For + example, `{"S":"6"}` does not compare to `{"N":"6"}`. Also, + `{"N":"6"}` does not compare to `{"NS":["6", "2", "1"]}` + """ + attribute_value_list: list[AttributeValue] | None = ... + """ + One or more values to evaluate against the supplied attribute. The + number of values in the list depends on the `ComparisonOperator` being + used. + + For type Number, value comparisons are numeric. + + String value comparisons for greater than, equals, or less than are + based on ASCII character code values. For example, `a` is greater than + `A`, and `a` is greater than `B`. For a list of code values, see + . + + For Binary, DynamoDB treats each byte of the binary data as unsigned + when it compares binary values. + + For information on specifying data types in JSON, see [JSON Data + Format](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html) + in the *Amazon DynamoDB Developer Guide*. + """ + +@dataclass(kw_only=True) +class ExportConflictException(ServiceError, _SerdeShape): + """There was a conflict when writing to the specified S3 bucket.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExportDescription(_SerdeShape): + """Represents the properties of the exported table.""" + + export_arn: str | None = ... + """The Amazon Resource Name (ARN) of the table export.""" + export_status: str | None = ... + """ + Export can be in one of the following states: IN_PROGRESS, COMPLETED, or + FAILED. + """ + start_time: datetime | None = ... + """The time at which the export task began.""" + end_time: datetime | None = ... + """The time at which the export task completed.""" + export_manifest: str | None = ... + """The name of the manifest file for the export task.""" + table_arn: str | None = ... + """The Amazon Resource Name (ARN) of the table that was exported.""" + table_id: str | None = ... + """Unique ID of the table that was exported.""" + export_time: datetime | None = ... + """Point in time from which table data was exported.""" + client_token: str | None = ... + """ + The client token that was provided for the export task. A client token + makes calls to `ExportTableToPointInTimeInput` idempotent, meaning that + multiple identical calls have the same effect as one single call. + """ + s3_bucket: str | None = ... + """The name of the Amazon S3 bucket containing the export.""" + s3_bucket_owner: str | None = ... + """ + The ID of the Amazon Web Services account that owns the bucket + containing the export. + """ + s3_prefix: str | None = ... + """ + The Amazon S3 bucket prefix used as the file name and path of the + exported snapshot. + """ + s3_sse_algorithm: str | None = ... + """ + Type of encryption used on the bucket where export data is stored. Valid + values for `S3SseAlgorithm` are: + + - `AES256` - server-side encryption with Amazon S3 managed keys + + - `KMS` - server-side encryption with KMS managed keys + """ + s3_sse_kms_key_id: str | None = ... + """ + The ID of the KMS managed key used to encrypt the S3 bucket where export + data is stored (if applicable). + """ + failure_code: str | None = ... + """Status code for the result of the failed export.""" + failure_message: str | None = ... + """Export failure reason description.""" + export_format: str | None = ... + """ + The format of the exported data. Valid values for `ExportFormat` are + `DYNAMODB_JSON` or `ION`. + """ + billed_size_bytes: int | None = ... + """The billable size of the table export.""" + item_count: int | None = ... + """The number of items exported.""" + export_type: str | None = ... + """ + The type of export that was performed. Valid values are `FULL_EXPORT` or + `INCREMENTAL_EXPORT`. + """ + incremental_export_specification: IncrementalExportSpecification | None = ... + """ + Optional object containing the parameters specific to an incremental + export. + """ + filter_specification: FilterSpecification | None = ... + """ + The filter criteria applied to the export. When present, only items that + match the specified key conditions and filter expressions are included + in the export output. + """ + +class ExportFormat(UnknownEnumMixin, StrEnum): + DYNAMODB_JSON = "DYNAMODB_JSON" + ION = "ION" + +@dataclass(kw_only=True) +class ExportNotFoundException(ServiceError, _SerdeShape): + """The specified export was not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ExportStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "IN_PROGRESS" + COMPLETED = "COMPLETED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class ExportSummary(_SerdeShape): + """Summary information about an export task.""" + + export_arn: str | None = ... + """The Amazon Resource Name (ARN) of the export.""" + export_status: str | None = ... + """ + Export can be in one of the following states: IN_PROGRESS, COMPLETED, or + FAILED. + """ + export_type: str | None = ... + """ + The type of export that was performed. Valid values are `FULL_EXPORT` or + `INCREMENTAL_EXPORT`. + """ + +@dataclass(kw_only=True) +class ExportTableToPointInTimeInput(_SerdeShape): + """Dataclass for ExportTableToPointInTimeInput structure.""" + + table_arn: str | None = ... + """The Amazon Resource Name (ARN) associated with the table to export.""" + export_time: datetime | None = ... + """ + Time in the past from which to export table data, counted in seconds + from the start of the Unix epoch. The table export will be a snapshot of + the table's state at this point in time. + """ + client_token: str | None = ... + """ + Providing a `ClientToken` makes the call to + `ExportTableToPointInTimeInput` idempotent, meaning that multiple + identical calls have the same effect as one single call. + + A client token is valid for 8 hours after the first request that uses it + is completed. After 8 hours, any request with the same client token is + treated as a new request. Do not resubmit the same request with the same + client token for more than 8 hours, or the result might not be + idempotent. + + If you submit a request with the same client token but a change in other + parameters within the 8-hour idempotency window, DynamoDB returns an + `ExportConflictException`. + + This field is autopopulated if not provided. + """ + s3_bucket: str | None = ... + """The name of the Amazon S3 bucket to export the snapshot to.""" + s3_bucket_owner: str | None = ... + """ + The ID of the Amazon Web Services account that owns the bucket the + export will be stored in. + + Note: + S3BucketOwner is a required parameter when exporting to a S3 bucket in + another account. + """ + s3_prefix: str | None = ... + """ + The Amazon S3 bucket prefix to use as the file name and path of the + exported snapshot. + """ + s3_sse_algorithm: str | None = ... + """ + Type of encryption used on the bucket where export data will be stored. + Valid values for `S3SseAlgorithm` are: + + - `AES256` - server-side encryption with Amazon S3 managed keys + + - `KMS` - server-side encryption with KMS managed keys + """ + s3_sse_kms_key_id: str | None = ... + """ + The ID of the KMS managed key used to encrypt the S3 bucket where export + data will be stored (if applicable). + """ + export_format: str | None = ... + """ + The format for the exported data. Valid values for `ExportFormat` are + `DYNAMODB_JSON` or `ION`. + """ + export_type: str | None = ... + """ + Choice of whether to execute as a full export or incremental export. + Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is + FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the + IncrementalExportSpecification must also be used. + """ + incremental_export_specification: IncrementalExportSpecification | None = ... + """ + Optional object containing the parameters specific to an incremental + export. + """ + filter_specification: FilterSpecification | None = ... + """ + The criteria used to filter which items are included in the + point-in-time export. When you specify this parameter, only items that + match the key conditions and filter expressions are exported. + """ + +@dataclass(kw_only=True) +class ExportTableToPointInTimeOutput(_SerdeShape): + """Dataclass for ExportTableToPointInTimeOutput structure.""" + + export_description: ExportDescription | None = ... + """Contains a description of the table export.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ExportType(UnknownEnumMixin, StrEnum): + FULL_EXPORT = "FULL_EXPORT" + INCREMENTAL_EXPORT = "INCREMENTAL_EXPORT" + +class ExportViewType(UnknownEnumMixin, StrEnum): + NEW_IMAGE = "NEW_IMAGE" + NEW_AND_OLD_IMAGES = "NEW_AND_OLD_IMAGES" + +@dataclass(kw_only=True) +class FailureException(_SerdeShape): + """Represents a failure a contributor insights operation.""" + + exception_name: str | None = ... + """Exception name.""" + exception_description: str | None = ... + """Description of the failure.""" + +@dataclass(kw_only=True) +class FilterSpecification(_SerdeShape): + """ + Contains the filter criteria used to limit which items are included in + an export. If you don't include this parameter, all items and + attributes are exported. + """ + + filter_expression: str | None = ... + """ + A condition that filters which items are included in the export. This + parameter uses the same syntax as `FilterExpression` in `Query` and + `Scan`. If you don't provide `KeyConditionExpression`, this expression + can also reference key attributes. If you don't specify this parameter, + all items are included in the export. + """ + projection_expression: str | None = ... + """ + The attributes you want to retrieve for items included in the export. + Separate attribute names in the expression with commas. If you don't + specify this parameter, all attributes are returned. + """ + key_condition_expression: str | None = ... + """ + A condition expression that filters items by key values. The expression + must test equality on a single partition key value and can optionally + compare a sort key value. This parameter uses the same syntax as + `KeyConditionExpression` in `Query`. When you provide this parameter, + `FilterExpression` can only reference non-key attributes. If you don't + specify this parameter, all items are eligible for export. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + For more information, see [Expression Attribute + Names](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeNames.html) + in the Amazon DynamoDB Developer Guide. + """ + expression_attribute_values: dict[str, AttributeValue] | None = ... + """ + One or more values that can be substituted in an expression. For more + information, see [Expression Attribute + Values](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeValues.html) + in the Amazon DynamoDB Developer Guide. + """ + +@dataclass(kw_only=True) +class Get(_SerdeShape): + """ + Specifies an item and related attribute values to retrieve in a + `TransactGetItem` object. + """ + + key: dict[str, AttributeValue] + """ + A map of attribute names to `AttributeValue` objects that specifies the + primary key of the item to retrieve. + """ + table_name: str + """ + The name of the table from which to retrieve the specified item. You can + also provide the Amazon Resource Name (ARN) of the table in this + parameter. + """ + projection_expression: str | None = ... + """ + A string that identifies one or more attributes of the specified item to + retrieve from the table. The attributes in the expression must be + separated by commas. If no attribute names are specified, then all + attributes of the specified item are returned. If any of the requested + attributes are not found, they do not appear in the result. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in the + ProjectionExpression parameter. + """ + +@dataclass(kw_only=True) +class GetItemInput(_SerdeShape): + """Represents the input of a `GetItem` operation.""" + + table_name: str | None = ... + """ + The name of the table containing the requested item. You can also + provide the Amazon Resource Name (ARN) of the table in this parameter. + """ + key: dict[str, AttributeValue] | None = ... + """ + A map of attribute names to `AttributeValue` objects, representing the + primary key of the item to retrieve. + + For the primary key, you must provide all of the attributes. For + example, with a simple primary key, you only need to provide a value for + the partition key. For a composite primary key, you must provide values + for both the partition key and the sort key. + """ + attributes_to_get: list[str] | None = ... + """ + This is a legacy parameter. Use `ProjectionExpression` instead. For more + information, see + [AttributesToGet](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html) + in the *Amazon DynamoDB Developer Guide*. + """ + consistent_read: bool | None = ... + """ + Determines the read consistency model: If set to `true`, then the + operation uses strongly consistent reads; otherwise, the operation uses + eventually consistent reads. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + projection_expression: str | None = ... + """ + A string that identifies one or more attributes to retrieve from the + table. These attributes can include scalars, sets, or elements of a JSON + document. The attributes in the expression must be separated by commas. + + If no attribute names are specified, then all attributes are returned. + If any of the requested attributes are not found, they do not appear in + the result. + + For more information, see [Specifying Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + The following are some use cases for using `ExpressionAttributeNames`: + + - To access an attribute whose name conflicts with a DynamoDB reserved + word. + + - To create a placeholder for repeating occurrences of an attribute name + in an expression. + + - To prevent special characters in an attribute name from being + misinterpreted in an expression. + + Use the **#** character in an expression to dereference an attribute + name. For example, consider the following attribute name: + + - `Percentile` + + The name of this attribute conflicts with a reserved word, so it cannot + be used directly in an expression. (For the complete list of reserved + words, see [Reserved + Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) + in the *Amazon DynamoDB Developer Guide*). To work around this, you + could specify the following for `ExpressionAttributeNames`: + + - `{"#P":"Percentile"}` + + You could then use this substitution in an expression, as in this + example: + + - `#P = :val` + + Note: + Tokens that begin with the **:** character are *expression attribute + values*, which are placeholders for the actual value at runtime. + + For more information on expression attribute names, see [Specifying Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + +@dataclass(kw_only=True) +class GetItemOutput(_SerdeShape): + """Represents the output of a `GetItem` operation.""" + + item: dict[str, AttributeValue] | None = ... + """ + A map of attribute names to `AttributeValue` objects, as specified by + `ProjectionExpression`. + """ + consumed_capacity: ConsumedCapacity | None = ... + """ + The capacity units consumed by the `GetItem` operation. The data + returned includes the total provisioned throughput consumed, along with + statistics for the table and any indexes involved in the operation. + `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` + parameter was specified. For more information, see [Capacity unit + consumption for read + operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption) + in the *Amazon DynamoDB Developer Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyInput(_SerdeShape): + """Dataclass for GetResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the DynamoDB resource to which the + policy is attached. The resources you can specify include tables and + streams. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyOutput(_SerdeShape): + """Dataclass for GetResourcePolicyOutput structure.""" + + policy: str | None = ... + """ + The resource-based policy document attached to the resource, which can + be a table or stream, in JSON format. + """ + revision_id: str | None = ... + """ + A unique string that represents the revision ID of the policy. If + you're comparing revision IDs, make sure to always use string + comparison logic. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GlobalSecondaryIndex(_SerdeShape): + """Represents the properties of a global secondary index.""" + + index_name: str + """ + The name of the global secondary index. The name must be unique among + all other indexes on this table. + """ + key_schema: list[KeySchemaElement] + """ + The complete key schema for a global secondary index, which consists of + one or more pairs of attribute names and key types: + + - `HASH` - partition key + + - `RANGE` - sort key + + Note: + The partition key of an item is also known as its *hash attribute*. The + term \"hash attribute\" derives from DynamoDB's usage of an internal + hash function to evenly distribute data items across partitions, based + on their partition key values. + + The sort key of an item is also known as its *range attribute*. The term + \"range attribute\" derives from the way DynamoDB stores items with the + same partition key physically close together, in sorted order by the + sort key value. + """ + projection: Projection + """ + Represents attributes that are copied (projected) from the table into + the global secondary index. These are in addition to the primary key + attributes and index key attributes, which are automatically projected. + """ + provisioned_throughput: ProvisionedThroughput | None = ... + """ + Represents the provisioned throughput settings for the specified global + secondary index. You must use either `OnDemandThroughput` or + `ProvisionedThroughput` based on your table's capacity mode. + + For current minimum and maximum provisioned throughput values, see + [Service, Account, and Table + Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) + in the *Amazon DynamoDB Developer Guide*. + """ + on_demand_throughput: OnDemandThroughput | None = ... + """ + The maximum number of read and write units for the specified global + secondary index. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. You must use + either `OnDemandThroughput` or `ProvisionedThroughput` based on your + table's capacity mode. + """ + warm_throughput: WarmThroughput | None = ... + """ + Represents the warm throughput value (in read units per second and write + units per second) for the specified secondary index. If you use this + parameter, you must specify `ReadUnitsPerSecond`, `WriteUnitsPerSecond`, + or both. + """ + +@dataclass(kw_only=True) +class GlobalSecondaryIndexAutoScalingUpdate(_SerdeShape): + """ + Represents the auto scaling settings of a global secondary index for a + global table that will be modified. + """ + + index_name: str | None = ... + """The name of the global secondary index.""" + provisioned_write_capacity_auto_scaling_update: ( + AutoScalingSettingsUpdate | None + ) = ... + """ + Represents the auto scaling settings to be modified for a global table + or global secondary index. + """ + +@dataclass(kw_only=True) +class GlobalSecondaryIndexDescription(_SerdeShape): + """Represents the properties of a global secondary index.""" + + index_name: str | None = ... + """The name of the global secondary index.""" + key_schema: list[KeySchemaElement] | None = ... + """ + The complete key schema for a global secondary index, which consists of + one or more pairs of attribute names and key types: + + - `HASH` - partition key + + - `RANGE` - sort key + + Note: + The partition key of an item is also known as its *hash attribute*. The + term \"hash attribute\" derives from DynamoDB's usage of an internal + hash function to evenly distribute data items across partitions, based + on their partition key values. + + The sort key of an item is also known as its *range attribute*. The term + \"range attribute\" derives from the way DynamoDB stores items with the + same partition key physically close together, in sorted order by the + sort key value. + """ + projection: Projection | None = ... + """ + Represents attributes that are copied (projected) from the table into + the global secondary index. These are in addition to the primary key + attributes and index key attributes, which are automatically projected. + """ + index_status: str | None = ... + """ + The current state of the global secondary index: + + - `CREATING` - The index is being created. + + - `UPDATING` - The index is being updated. + + - `DELETING` - The index is being deleted. + + - `ACTIVE` - The index is ready for use. + """ + backfilling: bool | None = ... + """ + Indicates whether the index is currently backfilling. *Backfilling* is + the process of reading items from the table and determining whether they + can be added to the index. (Not all items will qualify: For example, a + partition key cannot have any duplicate values.) If an item can be added + to the index, DynamoDB will do so. After all items have been processed, + the backfilling operation is complete and `Backfilling` is false. + + You can delete an index that is being created during the `Backfilling` + phase when `IndexStatus` is set to CREATING and `Backfilling` is true. + You can't delete the index that is being created when `IndexStatus` is + set to CREATING and `Backfilling` is false. + + Note: + For indexes that were created during a `CreateTable` operation, the + `Backfilling` attribute does not appear in the `DescribeTable` output. + """ + provisioned_throughput: ProvisionedThroughputDescription | None = ... + """ + Represents the provisioned throughput settings for the specified global + secondary index. + + For current minimum and maximum provisioned throughput values, see + [Service, Account, and Table + Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) + in the *Amazon DynamoDB Developer Guide*. + """ + index_size_bytes: int | None = ... + """ + The total size of the specified index, in bytes. DynamoDB updates this + value approximately every six hours. Recent changes might not be + reflected in this value. + """ + item_count: int | None = ... + """ + The number of items in the specified index. DynamoDB updates this value + approximately every six hours. Recent changes might not be reflected in + this value. + """ + index_arn: str | None = ... + """The Amazon Resource Name (ARN) that uniquely identifies the index.""" + on_demand_throughput: OnDemandThroughput | None = ... + """ + The maximum number of read and write units for the specified global + secondary index. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + warm_throughput: GlobalSecondaryIndexWarmThroughputDescription | None = ... + """ + Represents the warm throughput value (in read units per second and write + units per second) for the specified secondary index. + """ + +@dataclass(kw_only=True) +class GlobalSecondaryIndexInfo(_SerdeShape): + """ + Represents the properties of a global secondary index for the table when + the backup was created. + """ + + index_name: str | None = ... + """The name of the global secondary index.""" + key_schema: list[KeySchemaElement] | None = ... + """ + The complete key schema for a global secondary index, which consists of + one or more pairs of attribute names and key types: + + - `HASH` - partition key + + - `RANGE` - sort key + + Note: + The partition key of an item is also known as its *hash attribute*. The + term \"hash attribute\" derives from DynamoDB's usage of an internal + hash function to evenly distribute data items across partitions, based + on their partition key values. + + The sort key of an item is also known as its *range attribute*. The term + \"range attribute\" derives from the way DynamoDB stores items with the + same partition key physically close together, in sorted order by the + sort key value. + """ + projection: Projection | None = ... + """ + Represents attributes that are copied (projected) from the table into + the global secondary index. These are in addition to the primary key + attributes and index key attributes, which are automatically projected. + """ + provisioned_throughput: ProvisionedThroughput | None = ... + """ + Represents the provisioned throughput settings for the specified global + secondary index. + """ + on_demand_throughput: OnDemandThroughput | None = ... + """ + Sets the maximum number of read and write units for the specified + on-demand table. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + +@dataclass(kw_only=True) +class GlobalSecondaryIndexUpdate(_SerdeShape): + """ + Represents one of the following: + + - A new global secondary index to be added to an existing table. + + - New provisioned throughput parameters for an existing global secondary + index. + + - An existing global secondary index to be removed from an existing + table. + """ + + update: UpdateGlobalSecondaryIndexAction | None = ... + """ + The name of an existing global secondary index, along with new + provisioned throughput settings to be applied to that index. + """ + create: CreateGlobalSecondaryIndexAction | None = ... + """ + The parameters required for creating a global secondary index on an + existing table: + + - `IndexName ` + + - `KeySchema ` + + - `AttributeDefinitions ` + + - `Projection ` + + - `ProvisionedThroughput ` + """ + delete: DeleteGlobalSecondaryIndexAction | None = ... + """The name of an existing global secondary index to be removed.""" + +@dataclass(kw_only=True) +class GlobalSecondaryIndexWarmThroughputDescription(_SerdeShape): + """ + The description of the warm throughput value on a global secondary + index. + """ + + read_units_per_second: int | None = ... + """ + Represents warm throughput read units per second value for a global + secondary index. + """ + write_units_per_second: int | None = ... + """ + Represents warm throughput write units per second value for a global + secondary index. + """ + status: str | None = ... + """ + Represents the warm throughput status being created or updated on a + global secondary index. The status can only be `UPDATING` or `ACTIVE`. + """ + +@dataclass(kw_only=True) +class GlobalTable(_SerdeShape): + """Represents the properties of a global table.""" + + global_table_name: str | None = ... + """The global table name.""" + replication_group: list[Replica] | None = ... + """The Regions where the global table has replicas.""" + +@dataclass(kw_only=True) +class GlobalTableAlreadyExistsException(ServiceError, _SerdeShape): + """The specified global table already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GlobalTableDescription(_SerdeShape): + """Contains details about the global table.""" + + replication_group: list[ReplicaDescription] | None = ... + """The Regions where the global table has replicas.""" + global_table_arn: str | None = ... + """The unique identifier of the global table.""" + creation_date_time: datetime | None = ... + """The creation time of the global table.""" + global_table_status: str | None = ... + """ + The current state of the global table: + + - `CREATING` - The global table is being created. + + - `UPDATING` - The global table is being updated. + + - `DELETING` - The global table is being deleted. + + - `ACTIVE` - The global table is ready for use. + """ + global_table_name: str | None = ... + """The global table name.""" + +@dataclass(kw_only=True) +class GlobalTableGlobalSecondaryIndexSettingsUpdate(_SerdeShape): + """ + Represents the settings of a global secondary index for a global table + that will be modified. + """ + + index_name: str + """ + The name of the global secondary index. The name must be unique among + all other indexes on this table. + """ + provisioned_write_capacity_units: int | None = ... + """ + The maximum number of writes consumed per second before DynamoDB returns + a `ThrottlingException.` + """ + provisioned_write_capacity_auto_scaling_settings_update: ( + AutoScalingSettingsUpdate | None + ) = ... + """ + Auto scaling settings for managing a global secondary index's write + capacity units. + """ + +@dataclass(kw_only=True) +class GlobalTableNotFoundException(ServiceError, _SerdeShape): + """The specified global table does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class GlobalTableSettingsReplicationMode(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + ENABLED_WITH_OVERRIDES = "ENABLED_WITH_OVERRIDES" + +class GlobalTableStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + DELETING = "DELETING" + UPDATING = "UPDATING" + +@dataclass(kw_only=True) +class GlobalTableWitnessDescription(_SerdeShape): + """Represents the properties of a witness Region in a MRSC global table.""" + + region_name: str | None = ... + """ + The name of the Amazon Web Services Region that serves as a witness for + the MRSC global table. + """ + witness_status: str | None = ... + """The current status of the witness Region in the MRSC global table.""" + +@dataclass(kw_only=True) +class GlobalTableWitnessGroupUpdate(_SerdeShape): + """ + Represents one of the following: + + - A new witness to be added to a new global table. + + - An existing witness to be removed from an existing global table. + + You can configure one witness per MRSC global table. + """ + + create: CreateGlobalTableWitnessGroupMemberAction | None = ... + """ + Specifies a witness Region to be added to a new MRSC global table. The + witness must be added when creating the MRSC global table. + """ + delete: DeleteGlobalTableWitnessGroupMemberAction | None = ... + """ + Specifies a witness Region to be removed from an existing global table. + Must be done in conjunction with removing a replica. The deletion of + both a witness and replica converts the remaining replica to a + single-Region DynamoDB table. + """ + +@dataclass(kw_only=True) +class IdempotentParameterMismatchException(ServiceError, _SerdeShape): + """ + DynamoDB rejected the request because you retried a request with a + different payload but with an idempotent token that was already used. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportConflictException(ServiceError, _SerdeShape): + """ + There was a conflict when importing from the specified S3 source. This + can occur when the current import conflicts with a previous import + request that had the same client token. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportNotFoundException(ServiceError, _SerdeShape): + """The specified import was not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ImportStatus(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "IN_PROGRESS" + COMPLETED = "COMPLETED" + CANCELLING = "CANCELLING" + CANCELLED = "CANCELLED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class ImportSummary(_SerdeShape): + """Summary information about the source file for the import.""" + + import_arn: str | None = ... + """The Amazon Resource Number (ARN) corresponding to the import request.""" + import_status: str | None = ... + """The status of the import operation.""" + table_arn: str | None = ... + """The Amazon Resource Number (ARN) of the table being imported into.""" + s3_bucket_source: S3BucketSource | None = ... + """ + The path and S3 bucket of the source file that is being imported. This + includes the S3Bucket (required), S3KeyPrefix (optional) and + S3BucketOwner (optional if the bucket is owned by the requester). + """ + cloud_watch_log_group_arn: str | None = ... + """ + The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated + with this import task. + """ + input_format: str | None = ... + """ + The format of the source data. Valid values are `CSV`, `DYNAMODB_JSON` + or `ION`. + """ + start_time: datetime | None = ... + """The time at which this import task began.""" + end_time: datetime | None = ... + """The time at which this import task ended.""" + +@dataclass(kw_only=True) +class ImportTableDescription(_SerdeShape): + """Represents the properties of the table being imported into.""" + + import_arn: str | None = ... + """The Amazon Resource Number (ARN) corresponding to the import request.""" + import_status: str | None = ... + """The status of the import.""" + table_arn: str | None = ... + """The Amazon Resource Number (ARN) of the table being imported into.""" + table_id: str | None = ... + """The table id corresponding to the table created by import table process.""" + client_token: str | None = ... + """ + The client token that was provided for the import task. Reusing the + client token on retry makes a call to `ImportTable` idempotent. + """ + s3_bucket_source: S3BucketSource | None = ... + """ + Values for the S3 bucket the source file is imported from. Includes + bucket name (required), key prefix (optional) and bucket account owner + ID (optional). + """ + error_count: int = ... + """ + The number of errors occurred on importing the source file into the + target table. + """ + cloud_watch_log_group_arn: str | None = ... + """ + The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated + with the target table. + """ + input_format: str | None = ... + """The format of the source data going into the target table.""" + input_format_options: InputFormatOptions | None = ... + """ + The format options for the data that was imported into the target table. + There is one value, CsvOption. + """ + input_compression_type: str | None = ... + """ + The compression options for the data that has been imported into the + target table. The values are NONE, GZIP, or ZSTD. + """ + table_creation_parameters: TableCreationParameters | None = ... + """The parameters for the new table that is being imported into.""" + start_time: datetime | None = ... + """The time when this import task started.""" + end_time: datetime | None = ... + """ + The time at which the creation of the table associated with this import + task completed. + """ + processed_size_bytes: int | None = ... + """The total size of data processed from the source file, in Bytes.""" + processed_item_count: int = ... + """The total number of items processed from the source file.""" + imported_item_count: int = ... + """The number of items successfully imported into the new table.""" + failure_code: str | None = ... + """ + The error code corresponding to the failure that the import job ran into + during execution. + """ + failure_message: str | None = ... + """ + The error message corresponding to the failure that the import job ran + into during execution. + """ + +@dataclass(kw_only=True) +class ImportTableInput(_SerdeShape): + """Dataclass for ImportTableInput structure.""" + + client_token: str | None = ... + """ + Providing a `ClientToken` makes the call to `ImportTableInput` + idempotent, meaning that multiple identical calls have the same effect + as one single call. + + A client token is valid for 8 hours after the first request that uses it + is completed. After 8 hours, any request with the same client token is + treated as a new request. Do not resubmit the same request with the same + client token for more than 8 hours, or the result might not be + idempotent. + + If you submit a request with the same client token but a change in other + parameters within the 8-hour idempotency window, DynamoDB returns an + `IdempotentParameterMismatch` exception. + + This field is autopopulated if not provided. + """ + s3_bucket_source: S3BucketSource | None = ... + """The S3 bucket that provides the source for the import.""" + input_format: str | None = ... + """ + The format of the source data. Valid values for `ImportFormat` are + `CSV`, `DYNAMODB_JSON` or `ION`. + """ + input_format_options: InputFormatOptions | None = ... + """Additional properties that specify how the input is formatted,""" + input_compression_type: str | None = ... + """ + Type of compression to be used on the input coming from the imported + table. + """ + table_creation_parameters: TableCreationParameters | None = ... + """Parameters for the table to import the data into.""" + +@dataclass(kw_only=True) +class ImportTableOutput(_SerdeShape): + """Dataclass for ImportTableOutput structure.""" + + import_table_description: ImportTableDescription + """ + Represents the properties of the table created for the import, and + parameters of the import. The import parameters include import status, + how many items were processed, and how many errors were encountered. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IncrementalExportSpecification(_SerdeShape): + """ + Optional object containing the parameters specific to an incremental + export. + """ + + export_from_time: datetime | None = ... + """ + Time in the past which provides the inclusive start range for the export + table's data, counted in seconds from the start of the Unix epoch. The + incremental export will reflect the table's state including and after + this point in time. + """ + export_to_time: datetime | None = ... + """ + Time in the past which provides the exclusive end range for the export + table's data, counted in seconds from the start of the Unix epoch. The + incremental export will reflect the table's state just prior to this + point in time. If this is not provided, the latest time with data + available will be used. + """ + export_view_type: str | None = ... + """ + The view type that was chosen for the export. Valid values are + `NEW_AND_OLD_IMAGES` and `NEW_IMAGES`. The default value is + `NEW_AND_OLD_IMAGES`. + + `NEW_AND_OLD_IMAGES` exports both the new and old images of each changed + item, while `NEW_IMAGES` exports only the new (latest) image. The view + type you choose determines the structure of each item in the output for + `insert`, `update`, and `delete` operations. For details and examples of + how each view type shapes the export output, see [DynamoDB table export + output + format](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html) + in the *Amazon DynamoDB Developer Guide*. + """ + +@dataclass(kw_only=True) +class IndexNotFoundException(ServiceError, _SerdeShape): + """The operation tried to access a nonexistent index.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class IndexStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + UPDATING = "UPDATING" + DELETING = "DELETING" + ACTIVE = "ACTIVE" + +class InputCompressionType(UnknownEnumMixin, StrEnum): + GZIP = "GZIP" + ZSTD = "ZSTD" + NONE = "NONE" + +class InputFormat(UnknownEnumMixin, StrEnum): + DYNAMODB_JSON = "DYNAMODB_JSON" + ION = "ION" + CSV = "CSV" + +@dataclass(kw_only=True) +class InputFormatOptions(_SerdeShape): + """ + The format options for the data that was imported into the target table. + There is one value, CsvOption. + """ + + csv: CsvOptions | None = ... + """ + The options for imported source files in CSV format. The values are + Delimiter and HeaderList. + """ + +@dataclass(kw_only=True) +class InputS3Configuration(_SerdeShape): + """ + Contains the Amazon S3 location and format settings for bulk operation + input. The `S3Bucket` and `InputFormat` fields are required. + """ + + s3_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID of the input bucket owner. If you + omit this value, DynamoDB uses the Amazon Web Services account ID of the + requester. + + Note: + `S3BucketOwner` is required when the bucket is owned by another Amazon + Web Services account. + """ + s3_bucket: str + """The name of the Amazon S3 bucket that contains the input objects.""" + s3_key_prefix: str | None = ... + """ + An optional key prefix that limits the input to matching objects in the + Amazon S3 bucket. + """ + input_format: str + """ + The format of the input objects. `DYNAMODB_JSON` uses JSON Lines, with + one JSON record per line. `ION` uses a sequence of Ion structs. + """ + input_compression_type: str | None = ... + """ + The compression type of the input objects. Valid values are `GZIP`, + `ZSTD`, and `NONE`. If you don't specify a value, DynamoDB uses `NONE`. + """ + +@dataclass(kw_only=True) +class InternalServerError(ServiceError, _SerdeShape): + """An error occurred on the server side.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidEndpointException(ServiceError, _SerdeShape): + """Dataclass for InvalidEndpointException structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidExportTimeException(ServiceError, _SerdeShape): + """ + The specified `ExportTime` is outside of the point in time recovery + window. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidRestoreTimeException(ServiceError, _SerdeShape): + """ + An invalid restore time was specified. RestoreDateTime must be between + EarliestRestorableDateTime and LatestRestorableDateTime. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ItemCollectionMetrics(_SerdeShape): + """ + Information about item collections, if any, that were affected by the + operation. `ItemCollectionMetrics` is only returned if the request asked + for it. If the table does not have any local secondary indexes, this + information is not returned in the response. + """ + + item_collection_key: dict[str, AttributeValue] | None = ... + """ + The partition key value of the item collection. This value is the same + as the partition key value of the item. + """ + size_estimate_range_gb: list[float] | None = ... + """ + An estimate of item collection size, in gigabytes. This value is a + two-element array containing a lower bound and an upper bound for the + estimate. The estimate includes the size of all the items in the table, + plus the size of all attributes projected into all of the local + secondary indexes on that table. Use this estimate to measure whether a + local secondary index is approaching its size limit. + + The estimate is subject to change over time; therefore, do not rely on + the precision or accuracy of the estimate. + """ + +@dataclass(kw_only=True) +class ItemCollectionSizeLimitExceededException(ServiceError, _SerdeShape): + """ + An item collection is too large. This exception is only returned for + tables that have one or more local secondary indexes. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ItemResponse(_SerdeShape): + """Details for the requested item.""" + + item: dict[str, AttributeValue] | None = ... + """Map of attribute data consisting of the data type and attribute value.""" + +@dataclass(kw_only=True) +class KeysAndAttributes(_SerdeShape): + """ + Represents a set of primary keys and, for each key, the attributes to + retrieve from the table. + + For each primary key, you must provide *all* of the key attributes. For + example, with a simple primary key, you only need to provide the + partition key. For a composite primary key, you must provide *both* the + partition key and the sort key. + """ + + keys: list[dict[str, AttributeValue]] + """ + The primary key attribute values that define the items and the + attributes associated with the items. + """ + attributes_to_get: list[str] | None = ... + """ + This is a legacy parameter. Use `ProjectionExpression` instead. For more + information, see [Legacy Conditional + Parameters](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html) + in the *Amazon DynamoDB Developer Guide*. + """ + consistent_read: bool | None = ... + """ + The consistency of a read operation. If set to `true`, then a strongly + consistent read is used; otherwise, an eventually consistent read is + used. + """ + projection_expression: str | None = ... + """ + A string that identifies one or more attributes to retrieve from the + table. These attributes can include scalars, sets, or elements of a JSON + document. The attributes in the `ProjectionExpression` must be separated + by commas. + + If no attribute names are specified, then all attributes will be + returned. If any of the requested attributes are not found, they will + not appear in the result. + + For more information, see [Accessing Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + The following are some use cases for using `ExpressionAttributeNames`: + + - To access an attribute whose name conflicts with a DynamoDB reserved + word. + + - To create a placeholder for repeating occurrences of an attribute name + in an expression. + + - To prevent special characters in an attribute name from being + misinterpreted in an expression. + + Use the **#** character in an expression to dereference an attribute + name. For example, consider the following attribute name: + + - `Percentile` + + The name of this attribute conflicts with a reserved word, so it cannot + be used directly in an expression. (For the complete list of reserved + words, see [Reserved + Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) + in the *Amazon DynamoDB Developer Guide*). To work around this, you + could specify the following for `ExpressionAttributeNames`: + + - `{"#P":"Percentile"}` + + You could then use this substitution in an expression, as in this + example: + + - `#P = :val` + + Note: + Tokens that begin with the **:** character are *expression attribute + values*, which are placeholders for the actual value at runtime. + + For more information on expression attribute names, see [Accessing Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + +@dataclass(kw_only=True) +class KeySchemaElement(_SerdeShape): + """ + Represents *a single element* of a key schema. A key schema specifies + the attributes that make up the primary key of a table, or the key + attributes of an index. + + A `KeySchemaElement` represents exactly one attribute of the primary + key. For example, a simple primary key would be represented by one + `KeySchemaElement` (for the partition key). A composite primary key + would require one `KeySchemaElement` for the partition key, and another + `KeySchemaElement` for the sort key. + + A `KeySchemaElement` must be a scalar, top-level attribute (not a nested + attribute). The data type must be one of String, Number, or Binary. The + attribute cannot be nested within a List or a Map. + """ + + attribute_name: str + """The name of a key attribute.""" + key_type: str + """ + The role that this key attribute will assume: + + - `HASH` - partition key + + - `RANGE` - sort key + + Note: + The partition key of an item is also known as its *hash attribute*. The + term \"hash attribute\" derives from DynamoDB's usage of an internal + hash function to evenly distribute data items across partitions, based + on their partition key values. + + The sort key of an item is also known as its *range attribute*. The term + \"range attribute\" derives from the way DynamoDB stores items with the + same partition key physically close together, in sorted order by the + sort key value. + """ + +class KeyType(UnknownEnumMixin, StrEnum): + HASH = "HASH" + RANGE = "RANGE" + +@dataclass(kw_only=True) +class KinesisDataStreamDestination(_SerdeShape): + """Describes a Kinesis data stream destination.""" + + stream_arn: str | None = ... + """The ARN for a specific Kinesis data stream.""" + destination_status: str | None = ... + """The current status of replication.""" + destination_status_description: str | None = ... + """The human-readable string that corresponds to the replica status.""" + approximate_creation_date_time_precision: str | None = ... + """ + The precision of the Kinesis data stream timestamp. The values are + either `MILLISECOND` or `MICROSECOND`. + """ + +@dataclass(kw_only=True) +class LimitExceededException(ServiceError, _SerdeShape): + """ + There is no limit to the number of daily on-demand backups that can be + taken. + + For most purposes, up to 500 simultaneous table operations are allowed + per account. These operations include `CreateTable`, `UpdateTable`, + `DeleteTable`,`UpdateTimeToLive`, `RestoreTableFromBackup`, and + `RestoreTableToPointInTime`. + + When you are creating a table with one or more secondary indexes, you + can have up to 250 such requests running at a time. However, if the + table or index specifications are complex, then DynamoDB might + temporarily reduce the number of concurrent operations. + + When importing into DynamoDB, up to 50 simultaneous import table + operations are allowed per account. + + There is a soft account quota of 2,500 tables. + + GetRecords was called with a value of more than 1000 for the limit + request parameter. + + More than 2 processes are reading from the same streams shard at the + same time. Exceeding this limit may result in request throttling. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBackupsInput(_SerdeShape): + """Dataclass for ListBackupsInput structure.""" + + table_name: str | None = ... + """ + Lists the backups from the table specified in `TableName`. You can also + provide the Amazon Resource Name (ARN) of the table in this parameter. + """ + limit: int | None = ... + """Maximum number of backups to return at once.""" + time_range_lower_bound: datetime | None = ... + """ + Only backups created after this time are listed. `TimeRangeLowerBound` + is inclusive. + """ + time_range_upper_bound: datetime | None = ... + """ + Only backups created before this time are listed. `TimeRangeUpperBound` + is exclusive. + """ + exclusive_start_backup_arn: str | None = ... + """ + `LastEvaluatedBackupArn` is the Amazon Resource Name (ARN) of the backup + last evaluated when the current page of results was returned, inclusive + of the current page of results. This value may be specified as the + `ExclusiveStartBackupArn` of a new `ListBackups` operation in order to + fetch the next page of results. + """ + backup_type: str | None = ... + """ + The backups from the table specified by `BackupType` are listed. + + Where `BackupType` can be: + + - `USER` - On-demand backup created by you. (The default setting if no + other backup types are specified.) + + - `SYSTEM` - On-demand backup automatically created by DynamoDB. + + - `ALL` - All types of on-demand backups (USER and SYSTEM). + """ + +@dataclass(kw_only=True) +class ListBackupsOutput(_SerdeShape): + """Dataclass for ListBackupsOutput structure.""" + + backup_summaries: list[BackupSummary] | None = ... + """List of `BackupSummary` objects.""" + last_evaluated_backup_arn: str | None = ... + """ + The ARN of the backup last evaluated when the current page of results + was returned, inclusive of the current page of results. This value may + be specified as the `ExclusiveStartBackupArn` of a new `ListBackups` + operation in order to fetch the next page of results. + + If `LastEvaluatedBackupArn` is empty, then the last page of results has + been processed and there are no more results to be retrieved. + + If `LastEvaluatedBackupArn` is not empty, this may or may not indicate + that there is more data to be returned. All results are guaranteed to + have been returned if and only if no value for `LastEvaluatedBackupArn` + is returned. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBulkOperationsInput(_SerdeShape): + """Dataclass for ListBulkOperationsInput structure.""" + + max_results: int | None = ... + """ + The maximum number of bulk operation summaries to return in one page. If + you don't specify a value, DynamoDB uses 10. + """ + next_token: str | None = ... + """ + An optional string that, if supplied, must be copied from the output of + a previous call to `ListBulkOperations`. When provided in this manner, + the API fetches the next page of results. + """ + +@dataclass(kw_only=True) +class ListBulkOperationsOutput(_SerdeShape): + """Dataclass for ListBulkOperationsOutput structure.""" + + bulk_operations_summary_list: list[BulkOperationSummary] | None = ... + """ + A list of bulk operation summaries for the current Amazon Web Services + account and Amazon Web Services Region. + """ + next_token: str | None = ... + """ + If this value is returned, there are additional results to be displayed. + To retrieve them, call `ListBulkOperations` again, with `NextToken` set + to this value. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListContributorInsightsInput(_SerdeShape): + """Dataclass for ListContributorInsightsInput structure.""" + + table_name: str | None = ... + """ + The name of the table. You can also provide the Amazon Resource Name + (ARN) of the table in this parameter. + """ + next_token: str | None = ... + """A token to for the desired page, if there is one.""" + max_results: int = ... + """Maximum number of results to return per page.""" + +@dataclass(kw_only=True) +class ListContributorInsightsOutput(_SerdeShape): + """Dataclass for ListContributorInsightsOutput structure.""" + + contributor_insights_summaries: list[ContributorInsightsSummary] | None = ... + """A list of ContributorInsightsSummary.""" + next_token: str | None = ... + """A token to go to the next page if there is one.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListExportsInput(_SerdeShape): + """Dataclass for ListExportsInput structure.""" + + table_arn: str | None = ... + """The Amazon Resource Name (ARN) associated with the exported table.""" + max_results: int | None = ... + """Maximum number of results to return per page.""" + next_token: str | None = ... + """ + An optional string that, if supplied, must be copied from the output of + a previous call to `ListExports`. When provided in this manner, the API + fetches the next page of results. + """ + +@dataclass(kw_only=True) +class ListExportsOutput(_SerdeShape): + """Dataclass for ListExportsOutput structure.""" + + export_summaries: list[ExportSummary] | None = ... + """A list of `ExportSummary` objects.""" + next_token: str | None = ... + """ + If this value is returned, there are additional results to be displayed. + To retrieve them, call `ListExports` again, with `NextToken` set to this + value. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGlobalTablesInput(_SerdeShape): + """Dataclass for ListGlobalTablesInput structure.""" + + exclusive_start_global_table_name: str | None = ... + """The first global table name that this operation will evaluate.""" + limit: int | None = ... + """ + The maximum number of table names to return, if the parameter is not + specified DynamoDB defaults to 100. + + If the number of global tables DynamoDB finds reaches this limit, it + stops the operation and returns the table names collected up to that + point, with a table name in the `LastEvaluatedGlobalTableName` to apply + in a subsequent operation to the `ExclusiveStartGlobalTableName` + parameter. + """ + region_name: str | None = ... + """Lists the global tables in a specific Region.""" + +@dataclass(kw_only=True) +class ListGlobalTablesOutput(_SerdeShape): + """Dataclass for ListGlobalTablesOutput structure.""" + + global_tables: list[GlobalTable] | None = ... + """List of global table names.""" + last_evaluated_global_table_name: str | None = ... + """Last evaluated global table name.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListImportsInput(_SerdeShape): + """Dataclass for ListImportsInput structure.""" + + table_arn: str | None = ... + """ + The Amazon Resource Name (ARN) associated with the table that was + imported to. + """ + page_size: int | None = ... + """The number of `ImportSummary `objects returned in a single page.""" + next_token: str | None = ... + """ + An optional string that, if supplied, must be copied from the output of + a previous call to `ListImports`. When provided in this manner, the API + fetches the next page of results. + """ + +@dataclass(kw_only=True) +class ListImportsOutput(_SerdeShape): + """Dataclass for ListImportsOutput structure.""" + + import_summary_list: list[ImportSummary] | None = ... + """A list of `ImportSummary` objects.""" + next_token: str | None = ... + """ + If this value is returned, there are additional results to be displayed. + To retrieve them, call `ListImports` again, with `NextToken` set to this + value. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTablesInput(_SerdeShape): + """Represents the input of a `ListTables` operation.""" + + exclusive_start_table_name: str | None = ... + """ + The first table name that this operation will evaluate. Use the value + that was returned for `LastEvaluatedTableName` in a previous operation, + so that you can obtain the next page of results. + """ + limit: int | None = ... + """ + A maximum number of table names to return. If this parameter is not + specified, the limit is 100. + """ + +@dataclass(kw_only=True) +class ListTablesOutput(_SerdeShape): + """Represents the output of a `ListTables` operation.""" + + table_names: list[str] | None = ... + """ + The names of the tables associated with the current account at the + current endpoint. The maximum size of this array is 100. + + If `LastEvaluatedTableName` also appears in the output, you can use this + value as the `ExclusiveStartTableName` parameter in a subsequent + `ListTables` request and obtain the next page of results. + """ + last_evaluated_table_name: str | None = ... + """ + The name of the last table in the current page of results. Use this + value as the `ExclusiveStartTableName` in a new request to obtain the + next page of results, until all the table names are returned. + + If you do not receive a `LastEvaluatedTableName` value in the response, + this means that there are no more table names to be retrieved. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsOfResourceInput(_SerdeShape): + """Dataclass for ListTagsOfResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon DynamoDB resource with tags to be listed. This value is an + Amazon Resource Name (ARN). + """ + next_token: str | None = ... + """ + An optional string that, if supplied, must be copied from the output of + a previous call to ListTagOfResource. When provided in this manner, this + API fetches the next page of results. + """ + +@dataclass(kw_only=True) +class ListTagsOfResourceOutput(_SerdeShape): + """Dataclass for ListTagsOfResourceOutput structure.""" + + tags: list[Tag] | None = ... + """The tags currently associated with the Amazon DynamoDB resource.""" + next_token: str | None = ... + """ + If this value is returned, there are additional results to be displayed. + To retrieve them, call ListTagsOfResource again, with NextToken set to + this value. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LocalSecondaryIndex(_SerdeShape): + """Represents the properties of a local secondary index.""" + + index_name: str + """ + The name of the local secondary index. The name must be unique among all + other indexes on this table. + """ + key_schema: list[KeySchemaElement] + """ + The complete key schema for the local secondary index, consisting of one + or more pairs of attribute names and key types: + + - `HASH` - partition key + + - `RANGE` - sort key + + Note: + The partition key of an item is also known as its *hash attribute*. The + term \"hash attribute\" derives from DynamoDB's usage of an internal + hash function to evenly distribute data items across partitions, based + on their partition key values. + + The sort key of an item is also known as its *range attribute*. The term + \"range attribute\" derives from the way DynamoDB stores items with the + same partition key physically close together, in sorted order by the + sort key value. + """ + projection: Projection + """ + Represents attributes that are copied (projected) from the table into + the local secondary index. These are in addition to the primary key + attributes and index key attributes, which are automatically projected. + """ + +@dataclass(kw_only=True) +class LocalSecondaryIndexDescription(_SerdeShape): + """Represents the properties of a local secondary index.""" + + index_name: str | None = ... + """Represents the name of the local secondary index.""" + key_schema: list[KeySchemaElement] | None = ... + """ + The complete key schema for the local secondary index, consisting of one + or more pairs of attribute names and key types: + + - `HASH` - partition key + + - `RANGE` - sort key + + Note: + The partition key of an item is also known as its *hash attribute*. The + term \"hash attribute\" derives from DynamoDB's usage of an internal + hash function to evenly distribute data items across partitions, based + on their partition key values. + + The sort key of an item is also known as its *range attribute*. The term + \"range attribute\" derives from the way DynamoDB stores items with the + same partition key physically close together, in sorted order by the + sort key value. + """ + projection: Projection | None = ... + """ + Represents attributes that are copied (projected) from the table into + the global secondary index. These are in addition to the primary key + attributes and index key attributes, which are automatically projected. + """ + index_size_bytes: int | None = ... + """ + The total size of the specified index, in bytes. DynamoDB updates this + value approximately every six hours. Recent changes might not be + reflected in this value. + """ + item_count: int | None = ... + """ + The number of items in the specified index. DynamoDB updates this value + approximately every six hours. Recent changes might not be reflected in + this value. + """ + index_arn: str | None = ... + """The Amazon Resource Name (ARN) that uniquely identifies the index.""" + +@dataclass(kw_only=True) +class LocalSecondaryIndexInfo(_SerdeShape): + """ + Represents the properties of a local secondary index for the table when + the backup was created. + """ + + index_name: str | None = ... + """Represents the name of the local secondary index.""" + key_schema: list[KeySchemaElement] | None = ... + """ + The complete key schema for a local secondary index, which consists of + one or more pairs of attribute names and key types: + + - `HASH` - partition key + + - `RANGE` - sort key + + Note: + The partition key of an item is also known as its *hash attribute*. The + term \"hash attribute\" derives from DynamoDB's usage of an internal + hash function to evenly distribute data items across partitions, based + on their partition key values. + + The sort key of an item is also known as its *range attribute*. The term + \"range attribute\" derives from the way DynamoDB stores items with the + same partition key physically close together, in sorted order by the + sort key value. + """ + projection: Projection | None = ... + """ + Represents attributes that are copied (projected) from the table into + the global secondary index. These are in addition to the primary key + attributes and index key attributes, which are automatically projected. + """ + +class MultiRegionConsistency(UnknownEnumMixin, StrEnum): + EVENTUAL = "EVENTUAL" + STRONG = "STRONG" + +@dataclass(kw_only=True) +class OnDemandThroughput(_SerdeShape): + """ + Sets the maximum number of read and write units for the specified + on-demand table. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + + max_read_request_units: int | None = ... + """ + Maximum number of read request units for the specified table. + + To specify a maximum `OnDemandThroughput` on your table, set the value + of `MaxReadRequestUnits` as greater than or equal to 1. To remove the + maximum `OnDemandThroughput` that is currently set on your table, set + the value of `MaxReadRequestUnits` to -1. + """ + max_write_request_units: int | None = ... + """ + Maximum number of write request units for the specified table. + + To specify a maximum `OnDemandThroughput` on your table, set the value + of `MaxWriteRequestUnits` as greater than or equal to 1. To remove the + maximum `OnDemandThroughput` that is currently set on your table, set + the value of `MaxWriteRequestUnits` to -1. + """ + +@dataclass(kw_only=True) +class OnDemandThroughputOverride(_SerdeShape): + """ + Overrides the on-demand throughput settings for this replica table. If + you don't specify a value for this parameter, it uses the source + table's on-demand throughput settings. + """ + + max_read_request_units: int | None = ... + """Maximum number of read request units for the specified replica table.""" + +@dataclass(kw_only=True) +class OutputS3Configuration(_SerdeShape): + """ + Contains the Amazon S3 location, encryption settings, and output types + for a bulk operation. The `S3Bucket` and `OutputType` fields are + required. + """ + + s3_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID of the output bucket owner. If you + omit this value, DynamoDB uses the Amazon Web Services account ID of the + requester. + + Note: + `S3BucketOwner` is required when the bucket is owned by another Amazon + Web Services account. + """ + s3_bucket: str | None = ... + """The name of the Amazon S3 bucket where DynamoDB writes output records.""" + s3_key_prefix: str | None = ... + """An optional key prefix under which DynamoDB writes the output records.""" + s3_sse_algorithm: str | None = ... + """ + The server-side encryption algorithm for the output objects. Valid + values are `AES256` and `KMS`. If you don't specify a value, Amazon S3 + applies the destination bucket's default encryption settings. + """ + s3_sse_kms_key_id: str | None = ... + """ + The identifier of the KMS key that encrypts the output objects. Specify + this value when `S3SseAlgorithm` is `KMS`. Don't specify it when the + algorithm is `AES256`. + """ + output_type: list[str] + """ + The following values describe the types of output that DynamoDB writes + for individual input items. Include one or both values. + + ERROR + + : Reports input records or input objects that DynamoDB couldn't + process. This includes malformed input and item validation failures, + such as a missing or incorrectly typed primary key attribute or an + item that exceeds a DynamoDB limit. + + CONDITION_CHECK_FAILURE + + : Reports the attempted item and, when present, the existing item for a + write whose condition expression evaluates to false. + """ + +class OutputTypeEnum(UnknownEnumMixin, StrEnum): + ERROR = "ERROR" + CONDITION_CHECK_FAILURE = "CONDITION_CHECK_FAILURE" + +@dataclass(kw_only=True) +class ParameterizedStatement(_SerdeShape): + """Represents a PartiQL statement that uses parameters.""" + + statement: str + """A PartiQL statement that uses parameters.""" + parameters: list[AttributeValue] | None = ... + """The parameter values.""" + return_values_on_condition_check_failure: str | None = ... + """ + An optional parameter that returns the item attributes for a PartiQL + `ParameterizedStatement` operation that failed a condition check. + + There is no additional cost associated with requesting a return value + aside from the small network and processing overhead of receiving a + larger response. No read capacity units are consumed. + """ + +@dataclass(kw_only=True) +class PointInTimeRecoveryDescription(_SerdeShape): + """The description of the point in time settings applied to the table.""" + + point_in_time_recovery_status: str | None = ... + """ + The current state of point in time recovery: + + - `ENABLED` - Point in time recovery is enabled. + + - `DISABLED` - Point in time recovery is disabled. + """ + recovery_period_in_days: int | None = ... + """ + The number of preceding days for which continuous backups are taken and + maintained. Your table data is only recoverable to any point-in-time + from within the configured recovery period. This parameter is optional. + """ + earliest_restorable_date_time: datetime | None = ... + """ + Specifies the earliest point in time you can restore your table to. You + can restore your table to any point in time during the last 35 days. + """ + latest_restorable_date_time: datetime | None = ... + """ + `LatestRestorableDateTime` is typically 5 minutes before the current + time. + """ + +@dataclass(kw_only=True) +class PointInTimeRecoverySpecification(_SerdeShape): + """Represents the settings used to enable point in time recovery.""" + + point_in_time_recovery_enabled: bool + """ + Indicates whether point in time recovery is enabled (true) or disabled + (false) on the table. + """ + recovery_period_in_days: int | None = ... + """ + The number of preceding days for which continuous backups are taken and + maintained. Your table data is only recoverable to any point-in-time + from within the configured recovery period. This parameter is optional. + If no value is provided, the value will default to 35. + """ + +class PointInTimeRecoveryStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class PointInTimeRecoveryUnavailableException(ServiceError, _SerdeShape): + """Point in time recovery has not yet been enabled for this source table.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PolicyNotFoundException(ServiceError, _SerdeShape): + """ + The operation tried to access a nonexistent resource-based policy. + + If you specified an `ExpectedRevisionId`, it's possible that a policy + is present for the resource but its revision ID didn't match the + expected value. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Projection(_SerdeShape): + """ + Represents attributes that are copied (projected) from the table into an + index. These are in addition to the primary key attributes and index key + attributes, which are automatically projected. + """ + + projection_type: str | None = ... + """ + The set of attributes that are projected into the index: + + - `KEYS_ONLY` - Only the index and primary keys are projected into the + index. + + - `INCLUDE` - In addition to the attributes described in `KEYS_ONLY`, + the secondary index will include other non-key attributes that you + specify. + + - `ALL` - All of the table attributes are projected into the index. + + When using the DynamoDB console, `ALL` is selected by default. + """ + non_key_attributes: list[str] | None = ... + """ + Represents the non-key attribute names which will be projected into the + index. + + For global and local secondary indexes, the total count of + `NonKeyAttributes` summed across all of the secondary indexes, must not + exceed 100. If you project the same attribute into two different + indexes, this counts as two distinct attributes when determining the + total. This limit only applies when you specify the ProjectionType of + `INCLUDE`. You still can specify the ProjectionType of `ALL` to project + all attributes from the source table, even if the table has more than + 100 attributes. + """ + +class ProjectionType(UnknownEnumMixin, StrEnum): + ALL = "ALL" + KEYS_ONLY = "KEYS_ONLY" + INCLUDE = "INCLUDE" + +@dataclass(kw_only=True) +class ProvisionedThroughput(_SerdeShape): + """ + Represents the provisioned throughput settings for the specified global + secondary index. You must use `ProvisionedThroughput` or + `OnDemandThroughput` based on your table's capacity mode. + + For current minimum and maximum provisioned throughput values, see + [Service, Account, and Table + Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) + in the *Amazon DynamoDB Developer Guide*. + """ + + read_capacity_units: int + """ + The maximum number of strongly consistent reads consumed per second + before DynamoDB returns a `ThrottlingException`. For more information, + see [Specifying Read and Write + Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) + in the *Amazon DynamoDB Developer Guide*. + + If read/write capacity mode is `PAY_PER_REQUEST` the value is set to 0. + """ + write_capacity_units: int + """ + The maximum number of writes consumed per second before DynamoDB returns + a `ThrottlingException`. For more information, see [Specifying Read and + Write + Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) + in the *Amazon DynamoDB Developer Guide*. + + If read/write capacity mode is `PAY_PER_REQUEST` the value is set to 0. + """ + +@dataclass(kw_only=True) +class ProvisionedThroughputDescription(_SerdeShape): + """ + Represents the provisioned throughput settings for the table, consisting + of read and write capacity units, along with data about increases and + decreases. + """ + + last_increase_date_time: datetime | None = ... + """ + The date and time of the last provisioned throughput increase for this + table. + """ + last_decrease_date_time: datetime | None = ... + """ + The date and time of the last provisioned throughput decrease for this + table. + """ + number_of_decreases_today: int | None = ... + """ + The number of provisioned throughput decreases for this table during + this UTC calendar day. For current maximums on provisioned throughput + decreases, see [Service, Account, and Table + Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) + in the *Amazon DynamoDB Developer Guide*. + """ + read_capacity_units: int | None = ... + """ + The maximum number of strongly consistent reads consumed per second + before DynamoDB returns a `ThrottlingException`. Eventually consistent + reads require less effort than strongly consistent reads, so a setting + of 50 `ReadCapacityUnits` per second provides 100 eventually consistent + `ReadCapacityUnits` per second. + + For a table or global secondary index that uses on-demand capacity mode + (`PAY_PER_REQUEST`), this value is `0`, because on-demand mode does not + use provisioned throughput. + """ + write_capacity_units: int | None = ... + """ + The maximum number of writes consumed per second before DynamoDB returns + a `ThrottlingException`. + + For a table or global secondary index that uses on-demand capacity mode + (`PAY_PER_REQUEST`), this value is `0`, because on-demand mode does not + use provisioned throughput. + """ + +@dataclass(kw_only=True) +class ProvisionedThroughputExceededException(ServiceError, _SerdeShape): + """ + The request was denied due to request throttling. For detailed + information about why the request was throttled and the ARN of the + impacted resource, find the + [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) + field in the returned exception. The Amazon Web Services SDKs for + DynamoDB automatically retry requests that receive this exception. Your + request is eventually successful, unless your retry queue is too large + to finish. Reduce the frequency of requests and use exponential backoff. + For more information, go to [Error Retries and Exponential + Backoff](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) + in the *Amazon DynamoDB Developer Guide*. + """ + + throttling_reasons: list[ThrottlingReason] | None = ... + """ + A list of + [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) + that provide detailed diagnostic information about why the request was + throttled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ProvisionedThroughputOverride(_SerdeShape): + """ + Replica-specific provisioned throughput settings. If not specified, uses + the source table's provisioned throughput settings. + """ + + read_capacity_units: int | None = ... + """ + Replica-specific read capacity units. If not specified, uses the source + table's read capacity settings. + """ + +@dataclass(kw_only=True) +class Put(_SerdeShape): + """Represents a request to perform a `PutItem` operation.""" + + item: dict[str, AttributeValue] + """ + A map of attribute name to attribute values, representing the primary + key of the item to be written by `PutItem`. All of the table's primary + key attributes must be specified, and their data types must match those + of the table's key schema. If any attributes are present in the item + that are part of an index key schema for the table, their types must + match the index key schema. + """ + table_name: str + """ + Name of the table in which to write the item. You can also provide the + Amazon Resource Name (ARN) of the table in this parameter. + """ + condition_expression: str | None = ... + """ + A condition that must be satisfied in order for a conditional update to + succeed. + """ + expression_attribute_names: dict[str, str] | None = ... + """One or more substitution tokens for attribute names in an expression.""" + expression_attribute_values: dict[str, AttributeValue] | None = ... + """One or more values that can be substituted in an expression.""" + return_values_on_condition_check_failure: str | None = ... + """ + Use `ReturnValuesOnConditionCheckFailure` to get the item attributes if + the `Put` condition fails. For `ReturnValuesOnConditionCheckFailure`, + the valid values are: NONE and ALL_OLD. + """ + +@dataclass(kw_only=True) +class PutItemInput(_SerdeShape): + """Represents the input of a `PutItem` operation.""" + + table_name: str | None = ... + """ + The name of the table to contain the item. You can also provide the + Amazon Resource Name (ARN) of the table in this parameter. + """ + item: dict[str, AttributeValue] | None = ... + """ + A map of attribute name/value pairs, one for each attribute. Only the + primary key attributes are required; you can optionally provide other + attribute name-value pairs for the item. + + You must provide all of the attributes for the primary key. For example, + with a simple primary key, you only need to provide a value for the + partition key. For a composite primary key, you must provide both values + for both the partition key and the sort key. + + If you specify any attributes that are part of an index key, then the + data types for those attributes must match those of the schema in the + table's attribute definition. + + If the table has vector indexes, the following validations apply to + write operations. A violation of any of these constraints results in a + `ValidationException`: + + - The vector attribute must be a list of numbers with dimensions + matching the index configuration. + + - Vector values must fit in 32-bit IEEE-754 floating point format (f32). + + - Partition key and inline filter attributes defined in the search + schema must have data types matching the index schema definition. + + Empty String and Binary attribute values are allowed. Attribute values + of type String and Binary must have a length greater than zero if the + attribute is used as a key attribute for a table or index. + + For more information about primary keys, see [Primary + Key](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html#HowItWorks.CoreComponents.PrimaryKey) + in the *Amazon DynamoDB Developer Guide*. + + Each element in the `Item` map is an `AttributeValue` object. + """ + expected: dict[str, ExpectedAttributeValue] | None = ... + """ + This is a legacy parameter. Use `ConditionExpression` instead. For more + information, see + [Expected](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html) + in the *Amazon DynamoDB Developer Guide*. + """ + return_values: str | None = ... + """ + Use `ReturnValues` if you want to get the item attributes as they + appeared before they were updated with the `PutItem` request. For + `PutItem`, the valid values are: + + - `NONE` - If `ReturnValues` is not specified, or if its value is + `NONE`, then nothing is returned. (This setting is the default for + `ReturnValues`.) + + - `ALL_OLD` - If `PutItem` overwrote an attribute name-value pair, then + the content of the old item is returned. + + The values returned are strongly consistent. + + There is no additional cost associated with requesting a return value + aside from the small network and processing overhead of receiving a + larger response. No read capacity units are consumed. + + Note: + The `ReturnValues` parameter is used by several DynamoDB operations; + however, `PutItem` does not recognize any values other than `NONE` or + `ALL_OLD`. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + return_item_collection_metrics: str | None = ... + """ + Determines whether item collection metrics are returned. If set to + `SIZE`, the response includes statistics about item collections, if any, + that were modified during the operation are returned in the response. If + set to `NONE` (the default), no statistics are returned. + """ + conditional_operator: str | None = ... + """ + This is a legacy parameter. Use `ConditionExpression` instead. For more + information, see + [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) + in the *Amazon DynamoDB Developer Guide*. + """ + condition_expression: str | None = ... + """ + A condition that must be satisfied in order for a conditional `PutItem` + operation to succeed. + + An expression can contain any of the following: + + - Functions: + `attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size` + + These function names are case-sensitive. + + - Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN ` + + - Logical operators: `AND | OR | NOT` + + For more information on condition expressions, see [Condition + Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + The following are some use cases for using `ExpressionAttributeNames`: + + - To access an attribute whose name conflicts with a DynamoDB reserved + word. + + - To create a placeholder for repeating occurrences of an attribute name + in an expression. + + - To prevent special characters in an attribute name from being + misinterpreted in an expression. + + Use the **#** character in an expression to dereference an attribute + name. For example, consider the following attribute name: + + - `Percentile` + + The name of this attribute conflicts with a reserved word, so it cannot + be used directly in an expression. (For the complete list of reserved + words, see [Reserved + Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) + in the *Amazon DynamoDB Developer Guide*). To work around this, you + could specify the following for `ExpressionAttributeNames`: + + - `{"#P":"Percentile"}` + + You could then use this substitution in an expression, as in this + example: + + - `#P = :val` + + Note: + Tokens that begin with the **:** character are *expression attribute + values*, which are placeholders for the actual value at runtime. + + For more information on expression attribute names, see [Specifying Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_values: dict[str, AttributeValue] | None = ... + """ + One or more values that can be substituted in an expression. + + Use the **:** (colon) character in an expression to dereference an + attribute value. For example, suppose that you wanted to check whether + the value of the *ProductStatus* attribute was one of the following: + + `Available | Backordered | Discontinued` + + You would first need to specify `ExpressionAttributeValues` as follows: + + `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` + + You could then use these values in an expression, such as this: + + `ProductStatus IN (:avail, :back, :disc)` + + For more information on expression attribute values, see [Condition + Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + return_values_on_condition_check_failure: str | None = ... + """ + An optional parameter that returns the item attributes for a `PutItem` + operation that failed a condition check. + + There is no additional cost associated with requesting a return value + aside from the small network and processing overhead of receiving a + larger response. No read capacity units are consumed. + """ + +@dataclass(kw_only=True) +class PutItemOutput(_SerdeShape): + """Represents the output of a `PutItem` operation.""" + + attributes: dict[str, AttributeValue] | None = ... + """ + The attribute values as they appeared before the `PutItem` operation, + but only if `ReturnValues` is specified as `ALL_OLD` in the request. + Each element consists of an attribute name and an attribute value. + """ + consumed_capacity: ConsumedCapacity | None = ... + """ + The capacity units consumed by the `PutItem` operation. The data + returned includes the total provisioned throughput consumed, along with + statistics for the table and any indexes involved in the operation. + `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` + parameter was specified. For more information, see [Capacity unity + consumption for write + operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#write-operation-consumption) + in the *Amazon DynamoDB Developer Guide*. + + If the table has vector indexes, the response includes a `VectorIndexes` + field with `VectorWriteRequestBytes` consumed for each affected vector + index. + """ + item_collection_metrics: ItemCollectionMetrics | None = ... + """ + Information about item collections, if any, that were affected by the + `PutItem` operation. `ItemCollectionMetrics` is only returned if the + `ReturnItemCollectionMetrics` parameter was specified. If the table does + not have any local secondary indexes, this information is not returned + in the response. + + Each `ItemCollectionMetrics` element consists of: + + - `ItemCollectionKey` - The partition key value of the item collection. + This is the same as the partition key value of the item itself. + + - `SizeEstimateRangeGB` - An estimate of item collection size, in + gigabytes. This value is a two-element array containing a lower bound + and an upper bound for the estimate. The estimate includes the size of + all the items in the table, plus the size of all attributes projected + into all of the local secondary indexes on that table. Use this + estimate to measure whether a local secondary index is approaching its + size limit. + + The estimate is subject to change over time; therefore, do not rely on + the precision or accuracy of the estimate. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutRequest(_SerdeShape): + """Represents a request to perform a `PutItem` operation on an item.""" + + item: dict[str, AttributeValue] + """ + A map of attribute name to attribute values, representing the primary + key of an item to be processed by `PutItem`. All of the table's primary + key attributes must be specified, and their data types must match those + of the table's key schema. If any attributes are present in the item + that are part of an index key schema for the table, their types must + match the index key schema. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyInput(_SerdeShape): + """Dataclass for PutResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the DynamoDB resource to which the + policy will be attached. The resources you can specify include tables + and streams. + + You can control index permissions using the base table's policy. To + specify the same permission level for your table and its indexes, you + can provide both the table and index Amazon Resource Name (ARN)s in the + `Resource` field of a given `Statement` in your policy document. + Alternatively, to specify different permissions for your table, indexes, + or both, you can define multiple `Statement` fields in your policy + document. + """ + policy: str | None = ... + """ + An Amazon Web Services resource-based policy document in JSON format. + + - The maximum size supported for a resource-based policy document is 20 + KB. DynamoDB counts whitespaces when calculating the size of a policy + against this limit. + + - Within a resource-based policy, if the action for a DynamoDB + service-linked role (SLR) to replicate data for a global table is + denied, adding or deleting a replica will fail with an error. + + For a full list of all considerations that apply while attaching a + resource-based policy, see [Resource-based policy + considerations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html). + """ + expected_revision_id: str | None = ... + """ + A string value that you can use to conditionally update your policy. You + can provide the revision ID of your existing policy to make mutating + requests against that policy. + + Note: + When you provide an expected revision ID, if the revision ID of the + existing policy on the resource doesn't match or if there's no policy + attached to the resource, your request will be rejected with a + `PolicyNotFoundException`. + + To conditionally attach a policy when no policy exists for the resource, + specify `NO_POLICY` for the revision ID. + """ + confirm_remove_self_resource_access: bool = ... + """ + Set this parameter to `true` to confirm that you want to remove your + permissions to change the policy of this resource in the future. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyOutput(_SerdeShape): + """Dataclass for PutResourcePolicyOutput structure.""" + + revision_id: str | None = ... + """ + A unique string that represents the revision ID of the policy. If + you're comparing revision IDs, make sure to always use string + comparison logic. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class QueryInput(_SerdeShape): + """Represents the input of a `Query` operation.""" + + table_name: str | None = ... + """ + The name of the table containing the requested items. You can also + provide the Amazon Resource Name (ARN) of the table in this parameter. + """ + index_name: str | None = ... + """ + The name of an index to query. This index can be any local secondary + index or global secondary index on the table. Note that if you use the + `IndexName` parameter, you must also provide `TableName.` + """ + select: str | None = ... + """ + The attributes to be returned in the result. You can retrieve all item + attributes, specific item attributes, the count of matching items, or in + the case of an index, some or all of the attributes projected into the + index. + + - `ALL_ATTRIBUTES` - Returns all of the item attributes from the + specified table or index. If you query a local secondary index, then + for each matching item in the index, DynamoDB fetches the entire item + from the parent table. If the index is configured to project all item + attributes, then all of the data can be obtained from the local + secondary index, and no fetching is required. + + - `ALL_PROJECTED_ATTRIBUTES` - Allowed only when querying an index. + Retrieves all attributes that have been projected into the index. If + the index is configured to project all attributes, this return value + is equivalent to specifying `ALL_ATTRIBUTES`. + + - `COUNT` - Returns the number of matching items, rather than the + matching items themselves. Note that this uses the same quantity of + read capacity units as getting the items, and is subject to the same + item size calculations. + + - `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in + `ProjectionExpression`. This return value is equivalent to specifying + `ProjectionExpression` without specifying any value for `Select`. + + If you query or scan a local secondary index and request only + attributes that are projected into that index, the operation will read + only the index and not the table. If any of the requested attributes + are not projected into the local secondary index, DynamoDB fetches + each of these attributes from the parent table. This extra fetching + incurs additional throughput cost and latency. + + If you query or scan a global secondary index, you can only request + attributes that are projected into the index. Global secondary index + queries cannot fetch attributes from the parent table. + + If neither `Select` nor `ProjectionExpression` are specified, DynamoDB + defaults to `ALL_ATTRIBUTES` when accessing a table, and + `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use both + `Select` and `ProjectionExpression` together in a single request, unless + the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is + equivalent to specifying `ProjectionExpression` without any value for + `Select`.) + + Note: + If you use the `ProjectionExpression` parameter, then the value for + `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for `Select` + will return an error. + """ + attributes_to_get: list[str] | None = ... + """ + This is a legacy parameter. Use `ProjectionExpression` instead. For more + information, see + [AttributesToGet](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html) + in the *Amazon DynamoDB Developer Guide*. + """ + limit: int | None = ... + """ + The maximum number of items to evaluate (not necessarily the number of + matching items). If DynamoDB processes the number of items up to the + limit while processing the results, it stops the operation and returns + the matching values up to that point, and a key in `LastEvaluatedKey` to + apply in a subsequent operation, so that you can pick up where you left + off. Also, if the processed dataset size exceeds 1 MB before DynamoDB + reaches this limit, it stops the operation and returns the matching + values up to the limit, and a key in `LastEvaluatedKey` to apply in a + subsequent operation to continue the operation. For more information, + see [Query and + Scan](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html) + in the *Amazon DynamoDB Developer Guide*. + """ + consistent_read: bool | None = ... + """ + Determines the read consistency model: If set to `true`, then the + operation uses strongly consistent reads; otherwise, the operation uses + eventually consistent reads. + + Strongly consistent reads are not supported on global secondary indexes. + If you query a global secondary index with `ConsistentRead` set to + `true`, you will receive a `ValidationException`. + """ + key_conditions: dict[str, Condition] | None = ... + """ + This is a legacy parameter. Use `KeyConditionExpression` instead. For + more information, see + [KeyConditions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + query_filter: dict[str, Condition] | None = ... + """ + This is a legacy parameter. Use `FilterExpression` instead. For more + information, see + [QueryFilter](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html) + in the *Amazon DynamoDB Developer Guide*. + """ + conditional_operator: str | None = ... + """ + This is a legacy parameter. Use `FilterExpression` instead. For more + information, see + [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) + in the *Amazon DynamoDB Developer Guide*. + """ + scan_index_forward: bool | None = ... + """ + Specifies the order for index traversal: If `true` (default), the + traversal is performed in ascending order; if `false`, the traversal is + performed in descending order. + + Items with the same partition key value are stored in sorted order by + sort key. If the sort key data type is Number, the results are stored in + numeric order. For type String, the results are stored in order of UTF-8 + bytes. For type Binary, DynamoDB treats each byte of the binary data as + unsigned. + + If `ScanIndexForward` is `true`, DynamoDB returns the results in the + order in which they are stored (by sort key value). This is the default + behavior. If `ScanIndexForward` is `false`, DynamoDB reads the results + in reverse order by sort key value, and then returns the results to the + client. + """ + exclusive_start_key: dict[str, AttributeValue] | None = ... + """ + The primary key of the first item that this operation will evaluate. Use + the value that was returned for `LastEvaluatedKey` in the previous + operation. + + The data type for `ExclusiveStartKey` must be String, Number, or Binary. + No set data types are allowed. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + projection_expression: str | None = ... + """ + A string that identifies one or more attributes to retrieve from the + table. These attributes can include scalars, sets, or elements of a JSON + document. The attributes in the expression must be separated by commas. + + If no attribute names are specified, then all attributes will be + returned. If any of the requested attributes are not found, they will + not appear in the result. + + For more information, see [Accessing Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + filter_expression: str | None = ... + """ + A string that contains conditions that DynamoDB applies after the + `Query` operation, but before the data is returned to you. Items that do + not satisfy the `FilterExpression` criteria are not returned. + + A `FilterExpression` does not allow key attributes. You cannot define a + filter expression based on a partition key or a sort key. + + Note: + A `FilterExpression` is applied after the items have already been read; + the process of filtering does not consume any additional read capacity + units. + + For more information, see [Filter + Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.FilterExpression.html) + in the *Amazon DynamoDB Developer Guide*. + """ + key_condition_expression: str | None = ... + """ + The condition that specifies the key values for items to be retrieved by + the `Query` action. + + The condition must perform an equality test on a single partition key + value. + + The condition can optionally perform one of several comparison tests on + a single sort key value. This allows `Query` to retrieve one item with a + given partition key value and sort key value, or several items that have + the same partition key value but different sort key values. + + The partition key equality test is required, and must be specified in + the following format: + + `partitionKeyName` *=* `:partitionkeyval` + + If you also want to provide a condition for the sort key, it must be + combined using `AND` with the condition for the sort key. Following is + an example, using the **=** comparison operator for the sort key: + + `partitionKeyName` `=` `:partitionkeyval` `AND` `sortKeyName` `=` + `:sortkeyval` + + Valid comparisons for the sort key condition are as follows: + + - `sortKeyName` `=` `:sortkeyval` - true if the sort key value is equal + to `:sortkeyval`. + + - `sortKeyName` `<` `:sortkeyval` - true if the sort key value is less + than `:sortkeyval`. + + - `sortKeyName` `<=` `:sortkeyval` - true if the sort key value is less + than or equal to `:sortkeyval`. + + - `sortKeyName` `>` `:sortkeyval` - true if the sort key value is + greater than `:sortkeyval`. + + - `sortKeyName` `>= ` `:sortkeyval` - true if the sort key value is + greater than or equal to `:sortkeyval`. + + - `sortKeyName` `BETWEEN` `:sortkeyval1` `AND` `:sortkeyval2` - true if + the sort key value is greater than or equal to `:sortkeyval1`, and + less than or equal to `:sortkeyval2`. + + - `begins_with (` `sortKeyName`, `:sortkeyval` `)` - true if the sort + key value begins with a particular operand. (You cannot use this + function with a sort key that is of type Number.) Note that the + function name `begins_with` is case-sensitive. + + Use the `ExpressionAttributeValues` parameter to replace tokens such as + `:partitionval` and `:sortval` with actual values at runtime. + + You can optionally use the `ExpressionAttributeNames` parameter to + replace the names of the partition key and sort key with placeholder + tokens. This option might be necessary if an attribute name conflicts + with a DynamoDB reserved word. For example, the following + `KeyConditionExpression` parameter causes an error because *Size* is a + reserved word: + + - `Size = :myval` + + To work around this, define a placeholder (such a `#S`) to represent the + attribute name *Size*. `KeyConditionExpression` then is as follows: + + - `#S = :myval` + + For a list of reserved words, see [Reserved + Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) + in the *Amazon DynamoDB Developer Guide*. + + For more information on `ExpressionAttributeNames` and + `ExpressionAttributeValues`, see [Using Placeholders for Attribute Names + and + Values](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + The following are some use cases for using `ExpressionAttributeNames`: + + - To access an attribute whose name conflicts with a DynamoDB reserved + word. + + - To create a placeholder for repeating occurrences of an attribute name + in an expression. + + - To prevent special characters in an attribute name from being + misinterpreted in an expression. + + Use the **#** character in an expression to dereference an attribute + name. For example, consider the following attribute name: + + - `Percentile` + + The name of this attribute conflicts with a reserved word, so it cannot + be used directly in an expression. (For the complete list of reserved + words, see [Reserved + Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) + in the *Amazon DynamoDB Developer Guide*). To work around this, you + could specify the following for `ExpressionAttributeNames`: + + - `{"#P":"Percentile"}` + + You could then use this substitution in an expression, as in this + example: + + - `#P = :val` + + Note: + Tokens that begin with the **:** character are *expression attribute + values*, which are placeholders for the actual value at runtime. + + For more information on expression attribute names, see [Specifying Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_values: dict[str, AttributeValue] | None = ... + """ + One or more values that can be substituted in an expression. + + Use the **:** (colon) character in an expression to dereference an + attribute value. For example, suppose that you wanted to check whether + the value of the *ProductStatus* attribute was one of the following: + + `Available | Backordered | Discontinued` + + You would first need to specify `ExpressionAttributeValues` as follows: + + `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` + + You could then use these values in an expression, such as this: + + `ProductStatus IN (:avail, :back, :disc)` + + For more information on expression attribute values, see [Specifying + Conditions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + +@dataclass(kw_only=True) +class QueryOutput(_SerdeShape): + """Represents the output of a `Query` operation.""" + + items: list[dict[str, AttributeValue]] | None = ... + """ + An array of item attributes that match the query criteria. Each element + in this array consists of an attribute name and the value for that + attribute. + """ + count: int = ... + """ + The number of items in the response. + + If you used a `QueryFilter` in the request, then `Count` is the number + of items returned after the filter was applied, and `ScannedCount` is + the number of matching items before the filter was applied. + + If you did not use a filter in the request, then `Count` and + `ScannedCount` are the same. + """ + scanned_count: int = ... + """ + The number of items evaluated, before any `QueryFilter` is applied. A + high `ScannedCount` value with few, or no, `Count` results indicates an + inefficient `Query` operation. For more information, see [Count and + ScannedCount](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Count) + in the *Amazon DynamoDB Developer Guide*. + + If you did not use a filter in the request, then `ScannedCount` is the + same as `Count`. + """ + last_evaluated_key: dict[str, AttributeValue] | None = ... + """ + The primary key of the item where the operation stopped, inclusive of + the previous result set. Use this value to start a new operation, + excluding this value in the new request. + + If `LastEvaluatedKey` is empty, then the \"last page\" of results has + been processed and there is no more data to be retrieved. + + If `LastEvaluatedKey` is not empty, it does not necessarily mean that + there is more data in the result set. The only way to know when you have + reached the end of the result set is when `LastEvaluatedKey` is empty. + """ + consumed_capacity: ConsumedCapacity | None = ... + """ + The capacity units consumed by the `Query` operation. The data returned + includes the total provisioned throughput consumed, along with + statistics for the table and any indexes involved in the operation. + `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` + parameter was specified. For more information, see [Capacity unit + consumption for read + operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption) + in the *Amazon DynamoDB Developer Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Replica(_SerdeShape): + """Represents the properties of a replica.""" + + region_name: str | None = ... + """The Region where the replica needs to be created.""" + +@dataclass(kw_only=True) +class ReplicaAlreadyExistsException(ServiceError, _SerdeShape): + """The specified replica is already part of the global table.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplicaAutoScalingDescription(_SerdeShape): + """Represents the auto scaling settings of the replica.""" + + region_name: str | None = ... + """The Region where the replica exists.""" + global_secondary_indexes: ( + list[ReplicaGlobalSecondaryIndexAutoScalingDescription] | None + ) = ... + """Replica-specific global secondary index auto scaling settings.""" + replica_provisioned_read_capacity_auto_scaling_settings: ( + AutoScalingSettingsDescription | None + ) = ... + """ + Represents the auto scaling settings for a global table or global + secondary index. + """ + replica_provisioned_write_capacity_auto_scaling_settings: ( + AutoScalingSettingsDescription | None + ) = ... + """ + Represents the auto scaling settings for a global table or global + secondary index. + """ + replica_status: str | None = ... + """ + The current state of the replica: + + - `CREATING` - The replica is being created. + + - `UPDATING` - The replica is being updated. + + - `DELETING` - The replica is being deleted. + + - `ACTIVE` - The replica is ready for use. + """ + +@dataclass(kw_only=True) +class ReplicaAutoScalingUpdate(_SerdeShape): + """Represents the auto scaling settings of a replica that will be modified.""" + + region_name: str + """The Region where the replica exists.""" + replica_global_secondary_index_updates: ( + list[ReplicaGlobalSecondaryIndexAutoScalingUpdate] | None + ) = ... + """ + Represents the auto scaling settings of global secondary indexes that + will be modified. + """ + replica_provisioned_read_capacity_auto_scaling_update: ( + AutoScalingSettingsUpdate | None + ) = ... + """ + Represents the auto scaling settings to be modified for a global table + or global secondary index. + """ + +@dataclass(kw_only=True) +class ReplicaDescription(_SerdeShape): + """Contains the details of the replica.""" + + region_name: str | None = ... + """The name of the Region.""" + replica_status: str | None = ... + """ + The current state of the replica: + + - `CREATING` - The replica is being created. + + - `UPDATING` - The replica is being updated. + + - `DELETING` - The replica is being deleted. + + - `ACTIVE` - The replica is ready for use. + + - `REGION_DISABLED` - The replica is inaccessible because the Amazon Web + Services Region has been disabled. + + Note: + If the Amazon Web Services Region remains inaccessible for more than + 20 hours, DynamoDB will remove this replica from the replication + group. The replica will not be deleted and replication will stop from + and to this region. + + - `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The KMS key used to encrypt + the table is inaccessible. + + Note: + If the KMS key remains inaccessible for more than 20 hours, DynamoDB + will remove this replica from the replication group. The replica will + not be deleted and replication will stop from and to this region. + """ + replica_arn: str | None = ... + """The Amazon Resource Name (ARN) of the global table replica.""" + replica_status_description: str | None = ... + """Detailed information about the replica status.""" + replica_status_percent_progress: str | None = ... + """ + Specifies the progress of a Create, Update, or Delete action on the + replica as a percentage. + """ + kms_master_key_id: str | None = ... + """The KMS key of the replica that will be used for KMS encryption.""" + provisioned_throughput_override: ProvisionedThroughputOverride | None = ... + """ + Replica-specific provisioned throughput. If not described, uses the + source table's provisioned throughput settings. + """ + on_demand_throughput_override: OnDemandThroughputOverride | None = ... + """ + Overrides the maximum on-demand throughput settings for the specified + replica table. + """ + warm_throughput: TableWarmThroughputDescription | None = ... + """Represents the warm throughput value for this replica.""" + global_secondary_indexes: list[ReplicaGlobalSecondaryIndexDescription] | None = ... + """Replica-specific global secondary index settings.""" + replica_inaccessible_date_time: datetime | None = ... + """ + The time at which the replica was first detected as inaccessible. To + determine cause of inaccessibility check the `ReplicaStatus` property. + """ + replica_table_class_summary: TableClassSummary | None = ... + """Contains details of the table class.""" + global_table_settings_replication_mode: str | None = ... + """ + Indicates one of the settings synchronization modes for the global table + replica: + + - `ENABLED`: Indicates that the settings synchronization mode for the + global table replica is enabled. + + - `DISABLED`: Indicates that the settings synchronization mode for the + global table replica is disabled. + + - `ENABLED_WITH_OVERRIDES`: This mode is set by default for a same + account global table. Indicates that certain global table settings can + be overridden. + """ + +@dataclass(kw_only=True) +class ReplicaGlobalSecondaryIndex(_SerdeShape): + """Represents the properties of a replica global secondary index.""" + + index_name: str + """The name of the global secondary index.""" + provisioned_throughput_override: ProvisionedThroughputOverride | None = ... + """ + Replica table GSI-specific provisioned throughput. If not specified, + uses the source table GSI's read capacity settings. + """ + on_demand_throughput_override: OnDemandThroughputOverride | None = ... + """ + Overrides the maximum on-demand throughput settings for the specified + global secondary index in the specified replica table. + """ + +@dataclass(kw_only=True) +class ReplicaGlobalSecondaryIndexAutoScalingDescription(_SerdeShape): + """ + Represents the auto scaling configuration for a replica global secondary + index. + """ + + index_name: str | None = ... + """The name of the global secondary index.""" + index_status: str | None = ... + """ + The current state of the replica global secondary index: + + - `CREATING` - The index is being created. + + - `UPDATING` - The table/index configuration is being updated. The + table/index remains available for data operations when `UPDATING` + + - `DELETING` - The index is being deleted. + + - `ACTIVE` - The index is ready for use. + """ + provisioned_read_capacity_auto_scaling_settings: ( + AutoScalingSettingsDescription | None + ) = ... + """ + Represents the auto scaling settings for a global table or global + secondary index. + """ + provisioned_write_capacity_auto_scaling_settings: ( + AutoScalingSettingsDescription | None + ) = ... + """ + Represents the auto scaling settings for a global table or global + secondary index. + """ + +@dataclass(kw_only=True) +class ReplicaGlobalSecondaryIndexAutoScalingUpdate(_SerdeShape): + """ + Represents the auto scaling settings of a global secondary index for a + replica that will be modified. + """ + + index_name: str | None = ... + """The name of the global secondary index.""" + provisioned_read_capacity_auto_scaling_update: ( + AutoScalingSettingsUpdate | None + ) = ... + """ + Represents the auto scaling settings to be modified for a global table + or global secondary index. + """ + +@dataclass(kw_only=True) +class ReplicaGlobalSecondaryIndexDescription(_SerdeShape): + """Represents the properties of a replica global secondary index.""" + + index_name: str | None = ... + """The name of the global secondary index.""" + provisioned_throughput_override: ProvisionedThroughputOverride | None = ... + """If not described, uses the source table GSI's read capacity settings.""" + on_demand_throughput_override: OnDemandThroughputOverride | None = ... + """ + Overrides the maximum on-demand throughput for the specified global + secondary index in the specified replica table. + """ + warm_throughput: GlobalSecondaryIndexWarmThroughputDescription | None = ... + """ + Represents the warm throughput of the global secondary index for this + replica. + """ + +@dataclass(kw_only=True) +class ReplicaGlobalSecondaryIndexSettingsDescription(_SerdeShape): + """Represents the properties of a global secondary index.""" + + index_name: str + """ + The name of the global secondary index. The name must be unique among + all other indexes on this table. + """ + index_status: str | None = ... + """ + The current status of the global secondary index: + + - `CREATING` - The global secondary index is being created. + + - `UPDATING` - The global secondary index is being updated. + + - `DELETING` - The global secondary index is being deleted. + + - `ACTIVE` - The global secondary index is ready for use. + """ + provisioned_read_capacity_units: int | None = ... + """ + The maximum number of strongly consistent reads consumed per second + before DynamoDB returns a `ThrottlingException`. + """ + provisioned_read_capacity_auto_scaling_settings: ( + AutoScalingSettingsDescription | None + ) = ... + """ + Auto scaling settings for a global secondary index replica's read + capacity units. + """ + provisioned_write_capacity_units: int | None = ... + """ + The maximum number of writes consumed per second before DynamoDB returns + a `ThrottlingException`. + """ + provisioned_write_capacity_auto_scaling_settings: ( + AutoScalingSettingsDescription | None + ) = ... + """ + Auto scaling settings for a global secondary index replica's write + capacity units. + """ + +@dataclass(kw_only=True) +class ReplicaGlobalSecondaryIndexSettingsUpdate(_SerdeShape): + """ + Represents the settings of a global secondary index for a global table + that will be modified. + """ + + index_name: str + """ + The name of the global secondary index. The name must be unique among + all other indexes on this table. + """ + provisioned_read_capacity_units: int | None = ... + """ + The maximum number of strongly consistent reads consumed per second + before DynamoDB returns a `ThrottlingException`. + """ + provisioned_read_capacity_auto_scaling_settings_update: ( + AutoScalingSettingsUpdate | None + ) = ... + """ + Auto scaling settings for managing a global secondary index replica's + read capacity units. + """ + +@dataclass(kw_only=True) +class ReplicaNotFoundException(ServiceError, _SerdeShape): + """The specified replica is no longer part of the global table.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplicaSettingsDescription(_SerdeShape): + """Represents the properties of a replica.""" + + region_name: str + """The Region name of the replica.""" + replica_status: str | None = ... + """ + The current state of the Region: + + - `CREATING` - The Region is being created. + + - `UPDATING` - The Region is being updated. + + - `DELETING` - The Region is being deleted. + + - `ACTIVE` - The Region is ready for use. + """ + replica_billing_mode_summary: BillingModeSummary | None = ... + """The read/write capacity mode of the replica.""" + replica_provisioned_read_capacity_units: int | None = ... + """ + The maximum number of strongly consistent reads consumed per second + before DynamoDB returns a `ThrottlingException`. For more information, + see [Specifying Read and Write + Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) + in the *Amazon DynamoDB Developer Guide*. + """ + replica_provisioned_read_capacity_auto_scaling_settings: ( + AutoScalingSettingsDescription | None + ) = ... + """Auto scaling settings for a global table replica's read capacity units.""" + replica_provisioned_write_capacity_units: int | None = ... + """ + The maximum number of writes consumed per second before DynamoDB returns + a `ThrottlingException`. For more information, see [Specifying Read and + Write + Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) + in the *Amazon DynamoDB Developer Guide*. + """ + replica_provisioned_write_capacity_auto_scaling_settings: ( + AutoScalingSettingsDescription | None + ) = ... + """ + Auto scaling settings for a global table replica's write capacity + units. + """ + replica_global_secondary_index_settings: ( + list[ReplicaGlobalSecondaryIndexSettingsDescription] | None + ) = ... + """Replica global secondary index settings for the global table.""" + replica_table_class_summary: TableClassSummary | None = ... + """Contains details of the table class.""" + +@dataclass(kw_only=True) +class ReplicaSettingsUpdate(_SerdeShape): + """ + Represents the settings for a global table in a Region that will be + modified. + """ + + region_name: str + """The Region of the replica to be added.""" + replica_provisioned_read_capacity_units: int | None = ... + """ + The maximum number of strongly consistent reads consumed per second + before DynamoDB returns a `ThrottlingException`. For more information, + see [Specifying Read and Write + Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) + in the *Amazon DynamoDB Developer Guide*. + """ + replica_provisioned_read_capacity_auto_scaling_settings_update: ( + AutoScalingSettingsUpdate | None + ) = ... + """ + Auto scaling settings for managing a global table replica's read + capacity units. + """ + replica_global_secondary_index_settings_update: ( + list[ReplicaGlobalSecondaryIndexSettingsUpdate] | None + ) = ... + """ + Represents the settings of a global secondary index for a global table + that will be modified. + """ + replica_table_class: str | None = ... + """ + Replica-specific table class. If not specified, uses the source table's + table class. + """ + +class ReplicaStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + CREATION_FAILED = "CREATION_FAILED" + UPDATING = "UPDATING" + DELETING = "DELETING" + ACTIVE = "ACTIVE" + REGION_DISABLED = "REGION_DISABLED" + INACCESSIBLE_ENCRYPTION_CREDENTIALS = "INACCESSIBLE_ENCRYPTION_CREDENTIALS" + ARCHIVING = "ARCHIVING" + ARCHIVED = "ARCHIVED" + REPLICATION_NOT_AUTHORIZED = "REPLICATION_NOT_AUTHORIZED" + +@dataclass(kw_only=True) +class ReplicatedWriteConflictException(ServiceError, _SerdeShape): + """ + The request was rejected because one or more items in the request are + being modified by a request in another Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplicationGroupUpdate(_SerdeShape): + """ + Represents one of the following: + + - A new replica to be added to an existing regional table or global + table. This request invokes the `CreateTableReplica` action in the + destination Region. + + - New parameters for an existing replica. This request invokes the + `UpdateTable` action in the destination Region. + + - An existing replica to be deleted. The request invokes the + `DeleteTableReplica` action in the destination Region, deleting the + replica and all if its items in the destination Region. + + - The local replica to be disassociated from a global table and retained + as a standalone regional table. + + Each `ReplicationGroupUpdate` contains exactly one action. A + `Disassociate` action must be the only replica update in the request; + including other updates causes the request to fail. + + Note: + When you manually remove a table or global table replica, you do not + automatically remove any associated scalable targets, scaling policies, + or CloudWatch alarms. + """ + + create: CreateReplicationGroupMemberAction | None = ... + """The parameters required for creating a replica for the table.""" + update: UpdateReplicationGroupMemberAction | None = ... + """The parameters required for updating a replica for the table.""" + delete: DeleteReplicationGroupMemberAction | None = ... + """The parameters required for deleting a replica for the table.""" + disassociate: DisassociateReplicationGroupMemberAction | None = ... + """ + The parameters for disassociating the local replica from the global + table and retaining it as a standalone regional table. + """ + +@dataclass(kw_only=True) +class ReplicaUpdate(_SerdeShape): + """ + Represents one of the following: + + - A new replica to be added to an existing global table. + + - New parameters for an existing replica. + + - An existing replica to be removed from an existing global table. + """ + + create: CreateReplicaAction | None = ... + """ + The parameters required for creating a replica on an existing global + table. + """ + delete: DeleteReplicaAction | None = ... + """The name of the existing replica to be removed.""" + +@dataclass(kw_only=True) +class RequestLimitExceeded(ServiceError, _SerdeShape): + """ + Throughput exceeds the current throughput quota for your account. For + detailed information about why the request was throttled and the ARN of + the impacted resource, find the + [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) + field in the returned exception. Contact [Amazon Web Services + Support](https://aws.amazon.com/support) to request a quota increase. + """ + + throttling_reasons: list[ThrottlingReason] | None = ... + """ + A list of + [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) + that provide detailed diagnostic information about why the request was + throttled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/models_1.pyi b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/models_1.pyi new file mode 100644 index 000000000..a29b8dd99 --- /dev/null +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/models_1.pyi @@ -0,0 +1,3256 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + ArchivalSummary, + AttributeDefinition, + AttributeValue, + AttributeValueUpdate, + AutoScalingSettingsUpdate, + BillingModeSummary, + BulkOperationDescription, + CancellationReason, + Condition, + ConditionCheck, + ConsumedCapacity, + ContinuousBackupsDescription, + CreateVectorIndexAction, + Delete, + DeleteRequest, + DeleteVectorIndexAction, + ExpectedAttributeValue, + Get, + GlobalSecondaryIndex, + GlobalSecondaryIndexAutoScalingUpdate, + GlobalSecondaryIndexDescription, + GlobalSecondaryIndexInfo, + GlobalSecondaryIndexUpdate, + GlobalTableDescription, + GlobalTableGlobalSecondaryIndexSettingsUpdate, + GlobalTableWitnessDescription, + GlobalTableWitnessGroupUpdate, + InputS3Configuration, + ItemCollectionMetrics, + ItemResponse, + KeySchemaElement, + LocalSecondaryIndex, + LocalSecondaryIndexDescription, + LocalSecondaryIndexInfo, + OnDemandThroughput, + OnDemandThroughputOverride, + OutputS3Configuration, + PointInTimeRecoverySpecification, + Projection, + ProvisionedThroughput, + ProvisionedThroughputDescription, + ProvisionedThroughputOverride, + Put, + PutRequest, + ReplicaAutoScalingDescription, + ReplicaAutoScalingUpdate, + ReplicaDescription, + ReplicaGlobalSecondaryIndex, + ReplicaSettingsDescription, + ReplicaSettingsUpdate, + ReplicaUpdate, + ReplicationGroupUpdate, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class ResourceInUseException(ServiceError, _SerdeShape): + """ + The operation conflicts with the resource's availability. For example: + + - You attempted to recreate an existing table. + + - You tried to delete a table currently in the `CREATING` state. + + - You tried to update a resource that was already being updated. + + When appropriate, wait for the ongoing update to complete and attempt + the request again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """ + The operation tried to access a nonexistent table or index. The resource + might not be specified correctly, or its status might not be `ACTIVE`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreSummary(_SerdeShape): + """Contains details for the restore.""" + + source_backup_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the backup from which the table was + restored. + """ + source_table_arn: str | None = ... + """The ARN of the source table of the backup that is being restored.""" + restore_date_time: datetime + """Point in time or source backup time.""" + restore_in_progress: bool + """Indicates if a restore is in progress or not.""" + +@dataclass(kw_only=True) +class RestoreTableFromBackupInput(_SerdeShape): + """Dataclass for RestoreTableFromBackupInput structure.""" + + target_table_name: str | None = ... + """The name of the new table to which the backup must be restored.""" + backup_arn: str | None = ... + """The Amazon Resource Name (ARN) associated with the backup.""" + billing_mode_override: str | None = ... + """The billing mode of the restored table.""" + global_secondary_index_override: list[GlobalSecondaryIndex] | None = ... + """ + List of global secondary indexes for the restored table. The indexes + provided should match existing secondary indexes. You can choose to + exclude some or all of the indexes at the time of restore. + """ + local_secondary_index_override: list[LocalSecondaryIndex] | None = ... + """ + List of local secondary indexes for the restored table. The indexes + provided should match existing secondary indexes. You can choose to + exclude some or all of the indexes at the time of restore. + """ + provisioned_throughput_override: ProvisionedThroughput | None = ... + """Provisioned throughput settings for the restored table.""" + on_demand_throughput_override: OnDemandThroughput | None = ... + """ + Sets the maximum number of read and write units for the specified + on-demand table. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + sse_specification_override: SSESpecification | None = ... + """The new server-side encryption settings for the restored table.""" + vector_index_override: list[VectorIndex] | None = ... + """ + The vector indexes for the restored table. If not specified, all vector + indexes from the backup are restored. The indexes provided must match + existing vector indexes from the backup. You can choose to exclude some + or all of the vector indexes at the time of restore. + """ + +@dataclass(kw_only=True) +class RestoreTableFromBackupOutput(_SerdeShape): + """Dataclass for RestoreTableFromBackupOutput structure.""" + + table_description: TableDescription | None = ... + """The description of the table created from an existing backup.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreTableToPointInTimeInput(_SerdeShape): + """Dataclass for RestoreTableToPointInTimeInput structure.""" + + source_table_arn: str | None = ... + """ + The DynamoDB table that will be restored. This value is an Amazon + Resource Name (ARN). + """ + source_table_name: str | None = ... + """Name of the source table that is being restored.""" + target_table_name: str | None = ... + """The name of the new table to which it must be restored to.""" + use_latest_restorable_time: bool | None = ... + """ + Restore the table to the latest possible time. + `LatestRestorableDateTime` is typically 5 minutes before the current + time. + """ + restore_date_time: datetime | None = ... + """Time in the past to restore the table to.""" + billing_mode_override: str | None = ... + """The billing mode of the restored table.""" + global_secondary_index_override: list[GlobalSecondaryIndex] | None = ... + """ + List of global secondary indexes for the restored table. The indexes + provided should match existing secondary indexes. You can choose to + exclude some or all of the indexes at the time of restore. + + The `WarmThroughput` setting is not supported on global secondary + indexes when you use `RestoreTableToPointInTime`. Although + `WarmThroughput` appears in the shared index definition, including it in + a `GlobalSecondaryIndexOverride` entry causes the request to fail with a + validation error. + """ + local_secondary_index_override: list[LocalSecondaryIndex] | None = ... + """ + List of local secondary indexes for the restored table. The indexes + provided should match existing secondary indexes. You can choose to + exclude some or all of the indexes at the time of restore. + """ + provisioned_throughput_override: ProvisionedThroughput | None = ... + """Provisioned throughput settings for the restored table.""" + on_demand_throughput_override: OnDemandThroughput | None = ... + """ + Sets the maximum number of read and write units for the specified + on-demand table. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + sse_specification_override: SSESpecification | None = ... + """The new server-side encryption settings for the restored table.""" + vector_index_override: list[VectorIndex] | None = ... + """ + The vector indexes for the restored table. If not specified, all vector + indexes from the source table are restored. The indexes provided must + match existing vector indexes from the source table. You can choose to + exclude some or all of the vector indexes at the time of restore. + """ + +@dataclass(kw_only=True) +class RestoreTableToPointInTimeOutput(_SerdeShape): + """Dataclass for RestoreTableToPointInTimeOutput structure.""" + + table_description: TableDescription | None = ... + """Represents the properties of a table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ReturnConsumedCapacity(UnknownEnumMixin, StrEnum): + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + + INDEXES = "INDEXES" + TOTAL = "TOTAL" + NONE = "NONE" + +class ReturnItemCollectionMetrics(UnknownEnumMixin, StrEnum): + SIZE = "SIZE" + NONE = "NONE" + +class ReturnValue(UnknownEnumMixin, StrEnum): + NONE = "NONE" + ALL_OLD = "ALL_OLD" + UPDATED_OLD = "UPDATED_OLD" + ALL_NEW = "ALL_NEW" + UPDATED_NEW = "UPDATED_NEW" + +class ReturnValuesOnConditionCheckFailure(UnknownEnumMixin, StrEnum): + ALL_OLD = "ALL_OLD" + NONE = "NONE" + +@dataclass(kw_only=True) +class S3BucketSource(_SerdeShape): + """The S3 bucket that is being imported from.""" + + s3_bucket_owner: str | None = ... + """ + The account number of the S3 bucket that is being imported from. If the + bucket is owned by the requester this is optional. + """ + s3_bucket: str + """The S3 bucket that is being imported from.""" + s3_key_prefix: str | None = ... + """The key prefix shared by all S3 Objects that are being imported.""" + +class S3SseAlgorithm(UnknownEnumMixin, StrEnum): + AES256 = "AES256" + KMS = "KMS" + +class ScalarAttributeType(UnknownEnumMixin, StrEnum): + S = "S" + N = "N" + B = "B" + +@dataclass(kw_only=True) +class ScanInput(_SerdeShape): + """Represents the input of a `Scan` operation.""" + + table_name: str | None = ... + """ + The name of the table containing the requested items or if you provide + `IndexName`, the name of the table to which that index belongs. + + You can also provide the Amazon Resource Name (ARN) of the table in this + parameter. + """ + index_name: str | None = ... + """ + The name of a secondary index to scan. This index can be any local + secondary index or global secondary index. Note that if you use the + `IndexName` parameter, you must also provide `TableName`. + """ + attributes_to_get: list[str] | None = ... + """ + This is a legacy parameter. Use `ProjectionExpression` instead. For more + information, see + [AttributesToGet](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html) + in the *Amazon DynamoDB Developer Guide*. + """ + limit: int | None = ... + """ + The maximum number of items to evaluate (not necessarily the number of + matching items). If DynamoDB processes the number of items up to the + limit while processing the results, it stops the operation and returns + the matching values up to that point, and a key in `LastEvaluatedKey` to + apply in a subsequent operation, so that you can pick up where you left + off. Also, if the processed dataset size exceeds 1 MB before DynamoDB + reaches this limit, it stops the operation and returns the matching + values up to the limit, and a key in `LastEvaluatedKey` to apply in a + subsequent operation to continue the operation. For more information, + see [Working with + Queries](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html) + in the *Amazon DynamoDB Developer Guide*. + """ + select: str | None = ... + """ + The attributes to be returned in the result. You can retrieve all item + attributes, specific item attributes, the count of matching items, or in + the case of an index, some or all of the attributes projected into the + index. + + - `ALL_ATTRIBUTES` - Returns all of the item attributes from the + specified table or index. If you query a local secondary index, then + for each matching item in the index, DynamoDB fetches the entire item + from the parent table. If the index is configured to project all item + attributes, then all of the data can be obtained from the local + secondary index, and no fetching is required. + + - `ALL_PROJECTED_ATTRIBUTES` - Allowed only when querying an index. + Retrieves all attributes that have been projected into the index. If + the index is configured to project all attributes, this return value + is equivalent to specifying `ALL_ATTRIBUTES`. + + - `COUNT` - Returns the number of matching items, rather than the + matching items themselves. Note that this uses the same quantity of + read capacity units as getting the items, and is subject to the same + item size calculations. + + - `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in + `ProjectionExpression`. This return value is equivalent to specifying + `ProjectionExpression` without specifying any value for `Select`. + + If you query or scan a local secondary index and request only + attributes that are projected into that index, the operation reads + only the index and not the table. If any of the requested attributes + are not projected into the local secondary index, DynamoDB fetches + each of these attributes from the parent table. This extra fetching + incurs additional throughput cost and latency. + + If you query or scan a global secondary index, you can only request + attributes that are projected into the index. Global secondary index + queries cannot fetch attributes from the parent table. + + If neither `Select` nor `ProjectionExpression` are specified, DynamoDB + defaults to `ALL_ATTRIBUTES` when accessing a table, and + `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use both + `Select` and `ProjectionExpression` together in a single request, unless + the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is + equivalent to specifying `ProjectionExpression` without any value for + `Select`.) + + Note: + If you use the `ProjectionExpression` parameter, then the value for + `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for `Select` + will return an error. + """ + scan_filter: dict[str, Condition] | None = ... + """ + This is a legacy parameter. Use `FilterExpression` instead. For more + information, see + [ScanFilter](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ScanFilter.html) + in the *Amazon DynamoDB Developer Guide*. + """ + conditional_operator: str | None = ... + """ + This is a legacy parameter. Use `FilterExpression` instead. For more + information, see + [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) + in the *Amazon DynamoDB Developer Guide*. + """ + exclusive_start_key: dict[str, AttributeValue] | None = ... + """ + The primary key of the first item that this operation will evaluate. Use + the value that was returned for `LastEvaluatedKey` in the previous + operation. + + The data type for `ExclusiveStartKey` must be String, Number or Binary. + No set data types are allowed. + + In a parallel scan, a `Scan` request that includes `ExclusiveStartKey` + must specify the same segment whose previous `Scan` returned the + corresponding value of `LastEvaluatedKey`. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + total_segments: int | None = ... + """ + For a parallel `Scan` request, `TotalSegments` represents the total + number of segments into which the `Scan` operation will be divided. The + value of `TotalSegments` corresponds to the number of application + workers that will perform the parallel scan. For example, if you want to + use four application threads to scan a table or an index, specify a + `TotalSegments` value of 4. + + The value for `TotalSegments` must be greater than or equal to 1, and + less than or equal to 1000000. If you specify a `TotalSegments` value of + 1, the `Scan` operation will be sequential rather than parallel. + + If you specify `TotalSegments`, you must also specify `Segment`. + """ + segment: int | None = ... + """ + For a parallel `Scan` request, `Segment` identifies an individual + segment to be scanned by an application worker. + + Segment IDs are zero-based, so the first segment is always 0. For + example, if you want to use four application threads to scan a table or + an index, then the first thread specifies a `Segment` value of 0, the + second thread specifies 1, and so on. + + The value of `LastEvaluatedKey` returned from a parallel `Scan` request + must be used as `ExclusiveStartKey` with the same segment ID in a + subsequent `Scan` operation. + + The value for `Segment` must be greater than or equal to 0, and less + than the value provided for `TotalSegments`. + + If you provide `Segment`, you must also provide `TotalSegments`. + """ + projection_expression: str | None = ... + """ + A string that identifies one or more attributes to retrieve from the + specified table or index. These attributes can include scalars, sets, or + elements of a JSON document. The attributes in the expression must be + separated by commas. + + If no attribute names are specified, then all attributes will be + returned. If any of the requested attributes are not found, they will + not appear in the result. + + For more information, see [Specifying Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + filter_expression: str | None = ... + """ + A string that contains conditions that DynamoDB applies after the `Scan` + operation, but before the data is returned to you. Items that do not + satisfy the `FilterExpression` criteria are not returned. + + Note: + A `FilterExpression` is applied after the items have already been read; + the process of filtering does not consume any additional read capacity + units. + + For more information, see [Filter + Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + The following are some use cases for using `ExpressionAttributeNames`: + + - To access an attribute whose name conflicts with a DynamoDB reserved + word. + + - To create a placeholder for repeating occurrences of an attribute name + in an expression. + + - To prevent special characters in an attribute name from being + misinterpreted in an expression. + + Use the **#** character in an expression to dereference an attribute + name. For example, consider the following attribute name: + + - `Percentile` + + The name of this attribute conflicts with a reserved word, so it cannot + be used directly in an expression. (For the complete list of reserved + words, see [Reserved + Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) + in the *Amazon DynamoDB Developer Guide*). To work around this, you + could specify the following for `ExpressionAttributeNames`: + + - `{"#P":"Percentile"}` + + You could then use this substitution in an expression, as in this + example: + + - `#P = :val` + + Note: + Tokens that begin with the **:** character are *expression attribute + values*, which are placeholders for the actual value at runtime. + + For more information on expression attribute names, see [Specifying Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_values: dict[str, AttributeValue] | None = ... + """ + One or more values that can be substituted in an expression. + + Use the **:** (colon) character in an expression to dereference an + attribute value. For example, suppose that you wanted to check whether + the value of the `ProductStatus` attribute was one of the following: + + `Available | Backordered | Discontinued` + + You would first need to specify `ExpressionAttributeValues` as follows: + + `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` + + You could then use these values in an expression, such as this: + + `ProductStatus IN (:avail, :back, :disc)` + + For more information on expression attribute values, see [Condition + Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + consistent_read: bool | None = ... + """ + A Boolean value that determines the read consistency model during the + scan: + + - If `ConsistentRead` is `false`, then the data returned from `Scan` + might not contain the results from other recently completed write + operations (`PutItem`, `UpdateItem`, or `DeleteItem`). + + - If `ConsistentRead` is `true`, then all of the write operations that + completed before the `Scan` began are guaranteed to be contained in + the `Scan` response. + + The default setting for `ConsistentRead` is `false`. + + The `ConsistentRead` parameter is not supported on global secondary + indexes. If you scan a global secondary index with `ConsistentRead` set + to true, you will receive a `ValidationException`. + """ + +@dataclass(kw_only=True) +class ScanOutput(_SerdeShape): + """Represents the output of a `Scan` operation.""" + + items: list[dict[str, AttributeValue]] | None = ... + """ + An array of item attributes that match the scan criteria. Each element + in this array consists of an attribute name and the value for that + attribute. + """ + count: int = ... + """ + The number of items in the response. + + If you set `ScanFilter` in the request, then `Count` is the number of + items returned after the filter was applied, and `ScannedCount` is the + number of matching items before the filter was applied. + + If you did not use a filter in the request, then `Count` is the same as + `ScannedCount`. + """ + scanned_count: int = ... + """ + The number of items evaluated, before any `ScanFilter` is applied. A + high `ScannedCount` value with few, or no, `Count` results indicates an + inefficient `Scan` operation. For more information, see [Count and + ScannedCount](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count) + in the *Amazon DynamoDB Developer Guide*. + + If you did not use a filter in the request, then `ScannedCount` is the + same as `Count`. + """ + last_evaluated_key: dict[str, AttributeValue] | None = ... + """ + The primary key of the item where the operation stopped, inclusive of + the previous result set. Use this value to start a new operation, + excluding this value in the new request. + + If `LastEvaluatedKey` is empty, then the \"last page\" of results has + been processed and there is no more data to be retrieved. + + If `LastEvaluatedKey` is not empty, it does not necessarily mean that + there is more data in the result set. The only way to know when you have + reached the end of the result set is when `LastEvaluatedKey` is empty. + """ + consumed_capacity: ConsumedCapacity | None = ... + """ + The capacity units consumed by the `Scan` operation. The data returned + includes the total provisioned throughput consumed, along with + statistics for the table and any indexes involved in the operation. + `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` + parameter was specified. For more information, see [Capacity unit + consumption for read + operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption) + in the *Amazon DynamoDB Developer Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SearchResultItem(_SerdeShape): + """A single result from a `SearchVectors` operation.""" + + item: dict[str, AttributeValue] | None = ... + """ + A map of attribute names to `AttributeValue` objects, representing the + projected attributes of the item returned by the vector search. + """ + score: float = ... + """ + The similarity score for this item relative to the search vector. The + interpretation depends on the distance function configured for the + vector index. + """ + +@dataclass(kw_only=True) +class SearchSchemaElement(_SerdeShape): + """An element in the search schema of a vector index.""" + + attribute_name: str + """The name of the attribute.""" + search_schema_element_type: str + """ + The role of the attribute in the search schema. Valid values: + + - `HASH` - A partition key that partitions the vector index for + independent scaling. When specified, you must provide this + attribute's value in the `SearchConditionExpression`. + + - `INLINE_FILTER` - An attribute projected into the vector index for + filtering at the storage layer during search. Inline filters are + optional in the `SearchConditionExpression`. + """ + +class SearchSchemaElementType(UnknownEnumMixin, StrEnum): + HASH = "HASH" + INLINE_FILTER = "INLINE_FILTER" + +@dataclass(kw_only=True) +class SearchVectorsInput(_SerdeShape): + """Dataclass for SearchVectorsInput structure.""" + + table_name: str | None = ... + """ + The name or Amazon Resource Name (ARN) of the table containing the + vector index. + """ + index_name: str | None = ... + """ + The name of the vector index to search. The index must be in the + `ACTIVE` state. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + Use the `#` character in an expression to dereference an attribute name. + """ + expression_attribute_values: dict[str, AttributeValue] | None = ... + """ + One or more values that can be substituted in an expression. Use the `:` + character in an expression to dereference an attribute value. + """ + projection_expression: str | None = ... + """ + A string that identifies one or more attributes to retrieve from the + index. Separate attribute names with commas. If not specified, the + operation returns all attributes projected into the vector index. + + Only attributes projected into the vector index can be retrieved. + """ + search_vector: list[AttributeValue] | None = ... + """ + The search vector to compare against the indexed vectors. Each element + is a 32-bit IEEE-754 floating point number, provided in DynamoDB list + format. + + The number of dimensions must match the number of dimensions configured + for the vector index. + """ + search_condition_expression: str | None = ... + """ + A condition expression used to filter the vector search results. The + expression can reference attributes defined in the vector index search + schema, including `HASH` and `INLINE_FILTER` key elements. + + The `HASH` and `INLINE_FILTER` attributes support only the equality + operator (`=`). You can reference only top-level attributes from the + search schema. + """ + top_k: int | None = ... + """The number of most similar results to return.""" + +@dataclass(kw_only=True) +class SearchVectorsOutput(_SerdeShape): + """Dataclass for SearchVectorsOutput structure.""" + + consumed_capacity: VectorCapacity | None = ... + """ + The capacity units consumed by the `SearchVectors` operation. Contains + `VectorSearchRequestBytes`, which represents the vector search capacity + consumed. + """ + search_results: list[SearchResultItem] | None = ... + """ + A list of items returned by the vector similarity search, sorted by + similarity with the most similar item first. Each item contains the + projected attributes and a similarity score. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class Select(UnknownEnumMixin, StrEnum): + ALL_ATTRIBUTES = "ALL_ATTRIBUTES" + ALL_PROJECTED_ATTRIBUTES = "ALL_PROJECTED_ATTRIBUTES" + SPECIFIC_ATTRIBUTES = "SPECIFIC_ATTRIBUTES" + COUNT = "COUNT" + +@dataclass(kw_only=True) +class SourceTableDetails(_SerdeShape): + """Contains the details of the table when the backup was created.""" + + table_name: str + """The name of the table for which the backup was created.""" + table_id: str + """Unique identifier for the table for which the backup was created.""" + table_arn: str | None = ... + """ARN of the table for which backup was created.""" + table_size_bytes: int | None = ... + """Size of the table in bytes. Note that this is an approximate value.""" + key_schema: list[KeySchemaElement] + """Schema of the table.""" + table_creation_date_time: datetime + """Time when the source table was created.""" + provisioned_throughput: ProvisionedThroughput + """Read IOPs and Write IOPS on the table when the backup was created.""" + on_demand_throughput: OnDemandThroughput | None = ... + """ + Sets the maximum number of read and write units for the specified + on-demand table. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + item_count: int | None = ... + """Number of items in the table. Note that this is an approximate value.""" + billing_mode: str | None = ... + """ + Controls how you are charged for read and write throughput and how you + manage capacity. This setting can be changed later. + + - `PROVISIONED` - Sets the read/write capacity mode to `PROVISIONED`. We + recommend using `PROVISIONED` for predictable workloads. + + - `PAY_PER_REQUEST` - Sets the read/write capacity mode to + `PAY_PER_REQUEST`. We recommend using `PAY_PER_REQUEST` for + unpredictable workloads. + """ + +@dataclass(kw_only=True) +class SourceTableFeatureDetails(_SerdeShape): + """ + Contains the details of the features enabled on the table when the + backup was created. For example, LSIs, GSIs, streams, TTL. + """ + + local_secondary_indexes: list[LocalSecondaryIndexInfo] | None = ... + """ + Represents the LSI properties for the table when the backup was created. + It includes the IndexName, KeySchema and Projection for the LSIs on the + table at the time of backup. + """ + global_secondary_indexes: list[GlobalSecondaryIndexInfo] | None = ... + """ + Represents the GSI properties for the table when the backup was created. + It includes the IndexName, KeySchema, Projection, and + ProvisionedThroughput for the GSIs on the table at the time of backup. + """ + stream_description: StreamSpecification | None = ... + """Stream settings on the table when the backup was created.""" + time_to_live_description: TimeToLiveDescription | None = ... + """Time to Live settings on the table when the backup was created.""" + sse_description: SSEDescription | None = ... + """ + The description of the server-side encryption status on the table when + the backup was created. + """ + vector_indexes: list[VectorIndexInfo] | None = ... + """ + The vector index properties for the table at the time the backup was + created, including the index name, vector attribute, dimensions, + distance function, search schema, and projection. + """ + +@dataclass(kw_only=True) +class SSEDescription(_SerdeShape): + """ + The description of the server-side encryption status on the specified + table. + """ + + status: str | None = ... + """ + Represents the current state of server-side encryption. The only + supported values are: + + - `ENABLED` - Server-side encryption is enabled. + + - `UPDATING` - Server-side encryption is being updated. + """ + sse_type: str | None = ... + """ + Server-side encryption type. The only supported value is: + + - `KMS` - Server-side encryption that uses Key Management Service. The + key is stored in your account and is managed by KMS (KMS charges + apply). + """ + kms_master_key_arn: str | None = ... + """The KMS key ARN used for the KMS encryption.""" + inaccessible_encryption_date_time: datetime | None = ... + """ + Indicates the time, in UNIX epoch date format, when DynamoDB detected + that the table's KMS key was inaccessible. This attribute will + automatically be cleared when DynamoDB detects that the table's KMS key + is accessible again. DynamoDB will initiate the table archival process + when table's KMS key remains inaccessible for more than seven days from + this date. + """ + +@dataclass(kw_only=True) +class SSESpecification(_SerdeShape): + """Represents the settings used to enable server-side encryption.""" + + enabled: bool | None = ... + """ + Indicates whether server-side encryption is done using an Amazon Web + Services managed key or an Amazon Web Services owned key. If enabled + (true), server-side encryption type is set to `KMS` and an Amazon Web + Services managed key is used (KMS charges apply). If disabled (false) or + not specified, server-side encryption is set to Amazon Web Services + owned key. + """ + sse_type: str | None = ... + """ + Server-side encryption type. The only supported value is: + + - `KMS` - Server-side encryption that uses Key Management Service. The + key is stored in your account and is managed by KMS (KMS charges + apply). + """ + kms_master_key_id: str | None = ... + """ + The KMS key that should be used for the KMS encryption. To specify a + key, use its key ID, Amazon Resource Name (ARN), alias name, or alias + ARN. Note that you should only provide this parameter if the key is + different from the default DynamoDB key `alias/aws/dynamodb`. + """ + +class SSEStatus(UnknownEnumMixin, StrEnum): + ENABLING = "ENABLING" + ENABLED = "ENABLED" + DISABLING = "DISABLING" + DISABLED = "DISABLED" + UPDATING = "UPDATING" + +class SSEType(UnknownEnumMixin, StrEnum): + AES256 = "AES256" + KMS = "KMS" + +@dataclass(kw_only=True) +class StartBulkPutItemsInput(_SerdeShape): + """Dataclass for StartBulkPutItemsInput structure.""" + + client_token: str | None = ... + """ + A unique, case-sensitive identifier that ensures the bulk operation + starts no more than one time. During the 8 hours after the initial + request, repeated requests that use the same token and parameters return + the same bulk operation. If a request reuses the token with different + parameters, DynamoDB returns an `IdempotentParameterMismatchException`. + If you omit the token, an Amazon Web Services SDK automatically + generates one. + + This field is autopopulated if not provided. + """ + input_s3_configuration: InputS3Configuration | None = ... + """ + The Amazon S3 location, data format, and compression settings for the + input objects. + """ + output_s3_configuration: OutputS3Configuration | None = ... + """ + The Amazon S3 location, encryption settings, and output types for the + bulk operation. + """ + table_name: str | None = ... + """The name or ARN of the existing DynamoDB table that receives the items.""" + max_write_request_units: int | None = ... + """ + The maximum rate, in write request units per second, at which the bulk + operation attempts to write. The value must be at least 1,024. With this + setting, you limit only the bulk operation; the table's provisioned or + on-demand capacity settings don't change. The actual write rate can be + lower. + """ + performance_tier: str | None = ... + """ + The performance tier for the bulk operation. Valid values are `STANDARD` + and `ACCELERATED`. If you don't specify a value, the operation uses + `STANDARD`. + """ + +@dataclass(kw_only=True) +class StartBulkPutItemsOutput(_SerdeShape): + """Dataclass for StartBulkPutItemsOutput structure.""" + + bulk_operation_description: BulkOperationDescription + """Contains detailed information about a bulk operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StreamSpecification(_SerdeShape): + """Represents the DynamoDB Streams configuration for a table in DynamoDB.""" + + stream_enabled: bool + """ + Indicates whether DynamoDB Streams is enabled (true) or disabled (false) + on the table. + """ + stream_view_type: str | None = ... + """ + When an item in the table is modified, `StreamViewType` determines what + information is written to the stream for this table. Valid values for + `StreamViewType` are: + + - `KEYS_ONLY` - Only the key attributes of the modified item are written + to the stream. + + - `NEW_IMAGE` - The entire item, as it appears after it was modified, is + written to the stream. + + - `OLD_IMAGE` - The entire item, as it appeared before it was modified, + is written to the stream. + + - `NEW_AND_OLD_IMAGES` - Both the new and the old item images of the + item are written to the stream. + """ + +class StreamViewType(UnknownEnumMixin, StrEnum): + NEW_IMAGE = "NEW_IMAGE" + OLD_IMAGE = "OLD_IMAGE" + NEW_AND_OLD_IMAGES = "NEW_AND_OLD_IMAGES" + KEYS_ONLY = "KEYS_ONLY" + +@dataclass(kw_only=True) +class TableAlreadyExistsException(ServiceError, _SerdeShape): + """A target table with the specified name already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TableAutoScalingDescription(_SerdeShape): + """Represents the auto scaling configuration for a global table.""" + + table_name: str | None = ... + """The name of the table.""" + table_status: str | None = ... + """ + The current state of the table: + + - `CREATING` - The table is being created. + + - `UPDATING` - The table is being updated. + + - `DELETING` - The table is being deleted. + + - `ACTIVE` - The table is ready for use. + """ + replicas: list[ReplicaAutoScalingDescription] | None = ... + """Represents replicas of the global table.""" + +class TableClass(UnknownEnumMixin, StrEnum): + STANDARD = "STANDARD" + STANDARD_INFREQUENT_ACCESS = "STANDARD_INFREQUENT_ACCESS" + +@dataclass(kw_only=True) +class TableClassSummary(_SerdeShape): + """Contains details of the table class.""" + + table_class: str | None = ... + """ + The table class of the specified table. Valid values are `STANDARD` and + `STANDARD_INFREQUENT_ACCESS`. + """ + last_update_date_time: datetime | None = ... + """The date and time at which the table class was last updated.""" + +@dataclass(kw_only=True) +class TableCreationParameters(_SerdeShape): + """The parameters for the table created as part of the import operation.""" + + table_name: str + """The name of the table created as part of the import operation.""" + attribute_definitions: list[AttributeDefinition] + """The attributes of the table created as part of the import operation.""" + key_schema: list[KeySchemaElement] + """ + The primary key and option sort key of the table created as part of the + import operation. + """ + billing_mode: str | None = ... + """ + The billing mode for provisioning the table created as part of the + import operation. + """ + provisioned_throughput: ProvisionedThroughput | None = ... + """ + Represents the provisioned throughput settings for the specified global + secondary index. You must use `ProvisionedThroughput` or + `OnDemandThroughput` based on your table's capacity mode. + + For current minimum and maximum provisioned throughput values, see + [Service, Account, and Table + Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) + in the *Amazon DynamoDB Developer Guide*. + """ + on_demand_throughput: OnDemandThroughput | None = ... + """ + Sets the maximum number of read and write units for the specified + on-demand table. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + sse_specification: SSESpecification | None = ... + """Represents the settings used to enable server-side encryption.""" + global_secondary_indexes: list[GlobalSecondaryIndex] | None = ... + """ + The Global Secondary Indexes (GSI) of the table to be created as part of + the import operation. + """ + vector_indexes: list[VectorIndex] | None = ... + """ + The vector indexes of the table to be created as part of the import + operation. + """ + +@dataclass(kw_only=True) +class TableDescription(_SerdeShape): + """Represents the properties of a table.""" + + attribute_definitions: list[AttributeDefinition] | None = ... + """ + An array of `AttributeDefinition` objects. Each of these objects + describes one attribute in the table and index key schema. + + Each `AttributeDefinition` object in this array is composed of: + + - `AttributeName` - The name of the attribute. + + - `AttributeType` - The data type for the attribute. + """ + table_name: str | None = ... + """The name of the table.""" + key_schema: list[KeySchemaElement] | None = ... + """ + The primary key structure for the table. Each `KeySchemaElement` + consists of: + + - `AttributeName` - The name of the attribute. + + - `KeyType` - The role of the attribute: + + - `HASH` - partition key + + - `RANGE` - sort key + + Note: + The partition key of an item is also known as its *hash attribute*. + The term \"hash attribute\" derives from DynamoDB's usage of an + internal hash function to evenly distribute data items across + partitions, based on their partition key values. + + The sort key of an item is also known as its *range attribute*. The + term \"range attribute\" derives from the way DynamoDB stores items + with the same partition key physically close together, in sorted order + by the sort key value. + + For more information about primary keys, see [Primary + Key](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModelPrimaryKey) + in the *Amazon DynamoDB Developer Guide*. + """ + table_status: str | None = ... + """ + The current state of the table: + + - `CREATING` - The table is being created. + + - `UPDATING` - The table/index configuration is being updated. The + table/index remains available for data operations when `UPDATING`. + + - `DELETING` - The table is being deleted. + + - `ACTIVE` - The table is ready for use. + + - `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The KMS key used to encrypt + the table in inaccessible. Table operations may fail due to failure to + use the KMS key. DynamoDB will initiate the table archival process + when a table's KMS key remains inaccessible for more than seven days. + + - `ARCHIVING` - The table is being archived. Operations are not allowed + until archival is complete. + + - `ARCHIVED` - The table has been archived. See the ArchivalReason for + more information. + """ + creation_date_time: datetime | None = ... + """ + The date and time when the table was created, in [UNIX epoch + time](http://www.epochconverter.com/) format. + """ + provisioned_throughput: ProvisionedThroughputDescription | None = ... + """ + The provisioned throughput settings for the table, consisting of read + and write capacity units, along with data about increases and decreases. + """ + table_size_bytes: int | None = ... + """ + The total size of the specified table, in bytes. DynamoDB updates this + value approximately every six hours. Recent changes might not be + reflected in this value. + """ + item_count: int | None = ... + """ + The number of items in the specified table. DynamoDB updates this value + approximately every six hours. Recent changes might not be reflected in + this value. + """ + table_arn: str | None = ... + """The Amazon Resource Name (ARN) that uniquely identifies the table.""" + table_id: str | None = ... + """ + A unique identifier for the table, in UUID format, generated by DynamoDB + when the table is created. + """ + billing_mode_summary: BillingModeSummary | None = ... + """Contains the details for the read/write capacity mode.""" + local_secondary_indexes: list[LocalSecondaryIndexDescription] | None = ... + """ + Represents one or more local secondary indexes on the table. Each index + is scoped to a given partition key value. Tables with one or more local + secondary indexes are subject to an item collection size limit, where + the amount of data within a given item collection cannot exceed 10 GB. + Each element is composed of: + + - `IndexName` - The name of the local secondary index. + + - `KeySchema` - Specifies the complete index key schema. The attribute + names in the key schema must be between 1 and 255 characters + (inclusive). The key schema must begin with the same partition key as + the table. + + - `Projection` - Specifies attributes that are copied (projected) from + the table into the index. These are in addition to the primary key + attributes and index key attributes, which are automatically + projected. Each attribute specification is composed of: + + - `ProjectionType` - One of the following: + + - `KEYS_ONLY` - Only the index and primary keys are projected into + the index. + + - `INCLUDE` - Only the specified table attributes are projected into + the index. The list of projected attributes is in + `NonKeyAttributes`. + + - `ALL` - All of the table attributes are projected into the index. + + - `NonKeyAttributes` - A list of one or more non-key attribute names + that are projected into the secondary index. The total count of + attributes provided in `NonKeyAttributes`, summed across all of the + secondary indexes, must not exceed 100. If you project the same + attribute into two different indexes, this counts as two distinct + attributes when determining the total. This limit only applies when + you specify the ProjectionType of `INCLUDE`. You still can specify + the ProjectionType of `ALL` to project all attributes from the + source table, even if the table has more than 100 attributes. + + - `IndexSizeBytes` - Represents the total size of the index, in bytes. + DynamoDB updates this value approximately every six hours. Recent + changes might not be reflected in this value. + + - `ItemCount` - Represents the number of items in the index. DynamoDB + updates this value approximately every six hours. Recent changes might + not be reflected in this value. + + If the table is in the `DELETING` state, no information about indexes + will be returned. + """ + global_secondary_indexes: list[GlobalSecondaryIndexDescription] | None = ... + """ + The global secondary indexes, if any, on the table. Each index is scoped + to a given partition key value. Each element is composed of: + + - `Backfilling` - If true, then the index is currently in the + backfilling phase. Backfilling occurs only when a new global secondary + index is added to the table. It is the process by which DynamoDB + populates the new index with data from the table. (This attribute does + not appear for indexes that were created during a `CreateTable` + operation.) + + You can delete an index that is being created during the `Backfilling` + phase when `IndexStatus` is set to CREATING and `Backfilling` is true. + You can't delete the index that is being created when `IndexStatus` + is set to CREATING and `Backfilling` is false. (This attribute does + not appear for indexes that were created during a `CreateTable` + operation.) + + - `IndexName` - The name of the global secondary index. + + - `IndexSizeBytes` - The total size of the global secondary index, in + bytes. DynamoDB updates this value approximately every six hours. + Recent changes might not be reflected in this value. + + - `IndexStatus` - The current status of the global secondary index: + + - `CREATING` - The index is being created. + + - `UPDATING` - The index is being updated. + + - `DELETING` - The index is being deleted. + + - `ACTIVE` - The index is ready for use. + + - `ItemCount` - The number of items in the global secondary index. + DynamoDB updates this value approximately every six hours. Recent + changes might not be reflected in this value. + + - `KeySchema` - Specifies the complete index key schema. The attribute + names in the key schema must be between 1 and 255 characters + (inclusive). The key schema must begin with the same partition key as + the table. + + - `Projection` - Specifies attributes that are copied (projected) from + the table into the index. These are in addition to the primary key + attributes and index key attributes, which are automatically + projected. Each attribute specification is composed of: + + - `ProjectionType` - One of the following: + + - `KEYS_ONLY` - Only the index and primary keys are projected into + the index. + + - `INCLUDE` - In addition to the attributes described in + `KEYS_ONLY`, the secondary index will include other non-key + attributes that you specify. + + - `ALL` - All of the table attributes are projected into the index. + + - `NonKeyAttributes` - A list of one or more non-key attribute names + that are projected into the secondary index. The total count of + attributes provided in `NonKeyAttributes`, summed across all of the + secondary indexes, must not exceed 100. If you project the same + attribute into two different indexes, this counts as two distinct + attributes when determining the total. This limit only applies when + you specify the ProjectionType of `INCLUDE`. You still can specify + the ProjectionType of `ALL` to project all attributes from the + source table, even if the table has more than 100 attributes. + + - `ProvisionedThroughput` - The provisioned throughput settings for the + global secondary index, consisting of read and write capacity units, + along with data about increases and decreases. + + If the table is in the `DELETING` state, no information about indexes + will be returned. + """ + stream_specification: StreamSpecification | None = ... + """The current DynamoDB Streams configuration for the table.""" + latest_stream_label: str | None = ... + """ + A timestamp, in ISO 8601 format, for this stream. + + Note that `LatestStreamLabel` is not a unique identifier for the stream, + because it is possible that a stream from another table might have the + same timestamp. However, the combination of the following three elements + is guaranteed to be unique: + + - Amazon Web Services customer ID + + - Table name + + - `StreamLabel` + """ + latest_stream_arn: str | None = ... + """ + The Amazon Resource Name (ARN) that uniquely identifies the latest + stream for this table. + """ + global_table_version: str | None = ... + """ + Represents the version of [global + tables](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html) + in use, if the table is replicated across Amazon Web Services Regions. + """ + replicas: list[ReplicaDescription] | None = ... + """ + Represents replicas of the table. + + After a successful disassociation, this list is absent or empty. To + confirm disassociation, also verify that `TableStatus` is `ACTIVE`. + """ + global_table_witnesses: list[GlobalTableWitnessDescription] | None = ... + """ + The witness Region and its current status in the MRSC global table. Only + one witness Region can be configured per MRSC global table. + """ + global_table_settings_replication_mode: str | None = ... + """ + Indicates one of the settings synchronization modes for the global + table: + + - `ENABLED`: Indicates that the settings synchronization mode for the + global table is enabled. + + - `DISABLED`: Indicates that the settings synchronization mode for the + global table is disabled. + + - `ENABLED_WITH_OVERRIDES`: This mode is set by default for a same + account global table. Indicates that certain global table settings can + be overridden. + """ + restore_summary: RestoreSummary | None = ... + """Contains details for the restore.""" + sse_description: SSEDescription | None = ... + """ + The description of the server-side encryption status on the specified + table. + """ + archival_summary: ArchivalSummary | None = ... + """Contains information about the table archive.""" + table_class_summary: TableClassSummary | None = ... + """Contains details of the table class.""" + deletion_protection_enabled: bool | None = ... + """ + Indicates whether deletion protection is enabled (true) or disabled + (false) on the table. + """ + disassociation_protection_enabled: bool | None = ... + """ + Specifies whether disassociation protection is enabled (`true`) or + disabled (`false`) for the local global table replica. Protection is + enabled by default. + """ + on_demand_throughput: OnDemandThroughput | None = ... + """ + The maximum number of read and write units for the specified on-demand + table. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + warm_throughput: TableWarmThroughputDescription | None = ... + """Describes the warm throughput value of the base table.""" + multi_region_consistency: str | None = ... + """ + Indicates one of the following consistency modes for a global table: + + - `EVENTUAL`: Indicates that the global table is configured for + multi-Region eventual consistency (MREC). + + - `STRONG`: Indicates that the global table is configured for + multi-Region strong consistency (MRSC). + + If you don't specify this field, the global table consistency mode + defaults to `EVENTUAL`. For more information about global tables + consistency modes, see [Consistency + modes](https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes) + in DynamoDB developer guide. + """ + vector_indexes: list[VectorIndexDescription] | None = ... + """ + The vector indexes, if any, on the table. Each element is composed of: + + - `IndexName` - The name of the vector index. + + - `IndexStatus` - The current status of the vector index: `CREATING`, + `ACTIVE`, or `DELETING`. + + - `Backfilling` - Specifies whether the index is currently backfilling. + During backfill, `SearchVectors` operations might return incomplete + results. + + - `VectorAttribute` - The attribute that contains vector embeddings. + + - `Dimensions` - The number of dimensions in each vector. + + - `DistanceFunction` - The distance function used to calculate + similarity (`COSINE`, `EUCLIDEAN`, or `DOT_PRODUCT`). + + - `SearchSchema` - The partition key and inline filter attributes for + the vector index. + + - `Projection` - Specifies attributes that are copied (projected) from + the table into the vector index. + + - `IndexArn` - The Amazon Resource Name (ARN) that uniquely identifies + the index. + + - `IndexSizeBytes` - The total size of the vector index, in bytes. + Amazon DynamoDB updates this value approximately every six hours. + Recent changes might not be reflected in this value. + + - `ItemCount` - The number of items indexed in the vector index. Amazon + DynamoDB updates this value approximately every six hours. Recent + changes might not be reflected in this value. + """ + +@dataclass(kw_only=True) +class TableInUseException(ServiceError, _SerdeShape): + """ + A target table with the specified name is either being created or + deleted. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TableNotFoundException(ServiceError, _SerdeShape): + """ + A source table with the name `TableName` does not currently exist within + the subscriber's account or the subscriber is operating in the wrong + Amazon Web Services Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class TableStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + UPDATING = "UPDATING" + DELETING = "DELETING" + ACTIVE = "ACTIVE" + INACCESSIBLE_ENCRYPTION_CREDENTIALS = "INACCESSIBLE_ENCRYPTION_CREDENTIALS" + ARCHIVING = "ARCHIVING" + ARCHIVED = "ARCHIVED" + REPLICATION_NOT_AUTHORIZED = "REPLICATION_NOT_AUTHORIZED" + +@dataclass(kw_only=True) +class TableWarmThroughputDescription(_SerdeShape): + """ + Represents the warm throughput value (in read units per second and write + units per second) of the table. Warm throughput is applicable for + DynamoDB Standard-IA tables and specifies the minimum provisioned + capacity maintained for immediate data access. + """ + + read_units_per_second: int | None = ... + """ + Represents the base table's warm throughput value in read units per + second. + """ + write_units_per_second: int | None = ... + """ + Represents the base table's warm throughput value in write units per + second. + """ + status: str | None = ... + """Represents warm throughput value of the base table.""" + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """ + Describes a tag. A tag is a key-value pair. You can add up to 50 tags to + a single DynamoDB table. + + Amazon Web Services-assigned tag names and values are automatically + assigned the `aws:` prefix, which the user cannot assign. Amazon Web + Services-assigned tag names do not count towards the tag limit of 50. + User-assigned tag names have the prefix `user:` in the Cost Allocation + Report. You cannot backdate the application of a tag. + + For an overview on tagging DynamoDB resources, see [Tagging for + DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html) + in the *Amazon DynamoDB Developer Guide*. + """ + + key: str + """ + The key of the tag. Tag keys are case sensitive. Each DynamoDB table can + only have up to one tag with the same key. If you try to add an existing + tag (same key), the existing tag value will be updated to the new value. + """ + value: str + """The value of the tag. Tag values are case-sensitive and can be null.""" + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Dataclass for TagResourceInput structure.""" + + resource_arn: str | None = ... + """ + Identifies the Amazon DynamoDB resource to which tags should be added. + This value is an Amazon Resource Name (ARN). + """ + tags: list[Tag] | None = ... + """The tags to be assigned to the Amazon DynamoDB resource.""" + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ThrottlingException(ServiceError, _SerdeShape): + """ + The request was denied due to request throttling. For detailed + information about why the request was throttled and the ARN of the + impacted resource, find the + [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) + field in the returned exception. + """ + + throttling_reasons: list[ThrottlingReason] | None = ... + """ + A list of + [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) + that provide detailed diagnostic information about why the request was + throttled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ThrottlingReason(_SerdeShape): + """ + Represents the specific reason why a DynamoDB request was throttled and + the ARN of the impacted resource. This helps identify exactly what + resource is being throttled, what type of operation caused it, and why + the throttling occurred. + """ + + reason: str | None = ... + """ + The reason for throttling. The throttling reason follows a specific + format: `ResourceType+OperationType+LimitType`: + + - Resource Type (What is being throttled): Table or Index + + - Operation Type (What kind of operation): Read or Write + + - Limit Type (Why the throttling occurred): + + - `ProvisionedThroughputExceeded`: The request rate is exceeding the + [provisioned throughput + capacity](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html) + (read or write capacity units) configured for a table or a global + secondary index (GSI) in provisioned capacity mode. + + - `AccountLimitExceeded`: The request rate has caused a table or + global secondary index (GSI) in on-demand mode to exceed the + [per-table account-level service + quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ServiceQuotas.html#default-limits-throughput) + for read/write throughput in the current Amazon Web Services Region. + + - `KeyRangeThroughputExceeded`: The request rate directed at a + specific partition key value has exceeded the [internal + partition-level throughput + limits](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html), + indicating uneven access patterns across the table's or GSI's key + space. + + - `MaxOnDemandThroughputExceeded`: The request rate has exceeded the + [configured maximum throughput + limits](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode-max-throughput.html) + set for a table or index in on-demand capacity mode. + + Examples of complete throttling reasons: + + - TableReadProvisionedThroughputExceeded + + - IndexWriteAccountLimitExceeded + + This helps identify exactly what resource is being throttled, what type + of operation caused it, and why the throttling occurred. + """ + resource: str | None = ... + """ + The Amazon Resource Name (ARN) of the DynamoDB table or index that + experienced the throttling event. + """ + +@dataclass(kw_only=True) +class TimeToLiveDescription(_SerdeShape): + """The description of the Time to Live (TTL) status on the specified table.""" + + time_to_live_status: str | None = ... + """The TTL status for the table.""" + attribute_name: str | None = ... + """The name of the TTL attribute for items in the table.""" + +@dataclass(kw_only=True) +class TimeToLiveSpecification(_SerdeShape): + """ + Represents the settings used to enable or disable Time to Live (TTL) for + the specified table. + """ + + enabled: bool + """ + Indicates whether TTL is to be enabled (true) or disabled (false) on the + table. + """ + attribute_name: str + """ + The name of the TTL attribute used to store the expiration time for + items in the table. + """ + +class TimeToLiveStatus(UnknownEnumMixin, StrEnum): + ENABLING = "ENABLING" + DISABLING = "DISABLING" + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class TransactGetItem(_SerdeShape): + """Specifies an item to be retrieved as part of the transaction.""" + + get: Get + """ + Contains the primary key that identifies the item to get, together with + the name of the table that contains the item, and optionally the + specific attributes of the item to retrieve. + """ + +@dataclass(kw_only=True) +class TransactGetItemsInput(_SerdeShape): + """Dataclass for TransactGetItemsInput structure.""" + + transact_items: list[TransactGetItem] | None = ... + """ + An ordered array of up to 100 `TransactGetItem` objects, each of which + contains a `Get` structure. + """ + return_consumed_capacity: str | None = ... + """ + A value of `TOTAL` causes consumed capacity information to be returned, + and a value of `NONE` prevents that information from being returned. No + other value is valid. + """ + +@dataclass(kw_only=True) +class TransactGetItemsOutput(_SerdeShape): + """Dataclass for TransactGetItemsOutput structure.""" + + consumed_capacity: list[ConsumedCapacity] | None = ... + """ + If the *ReturnConsumedCapacity* value was `TOTAL`, this is an array of + `ConsumedCapacity` objects, one for each table addressed by + `TransactGetItem` objects in the *TransactItems* parameter. These + `ConsumedCapacity` objects report the read-capacity units consumed by + the `TransactGetItems` call in that table. + """ + responses: list[ItemResponse] | None = ... + """ + An ordered array of up to 100 `ItemResponse` objects, each of which + corresponds to the `TransactGetItem` object in the same position in the + *TransactItems* array. Each `ItemResponse` object contains a Map of the + name-value pairs that are the projected attributes of the requested + item. + + If a requested item could not be retrieved, the corresponding + `ItemResponse` object is Null, or if the requested item has no projected + attributes, the corresponding `ItemResponse` object is an empty Map. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TransactionCanceledException(ServiceError, _SerdeShape): + """ + The entire transaction request was canceled. + + DynamoDB cancels a `TransactWriteItems` request under the following + circumstances: + + - A condition in one of the condition expressions is not met. + + - A table in the `TransactWriteItems` request is in a different account + or region. + + - More than one action in the `TransactWriteItems` operation targets the + same item. + + - There is insufficient provisioned capacity for the transaction to be + completed. + + - An item size becomes too large (larger than 400 KB), or a local + secondary index (LSI) becomes too large, or a similar validation error + occurs because of changes made by the transaction. + + - There is a user error, such as an invalid data format. + + - There is an ongoing `TransactWriteItems` operation that conflicts with + a concurrent `TransactWriteItems` request. In this case the + `TransactWriteItems` operation fails with a + `TransactionCanceledException`. + + DynamoDB cancels a `TransactGetItems` request under the following + circumstances: + + - There is an ongoing `TransactGetItems` operation that conflicts with a + concurrent `PutItem`, `UpdateItem`, `DeleteItem` or + `TransactWriteItems` request. In this case the `TransactGetItems` + operation fails with a `TransactionCanceledException`. + + - A table in the `TransactGetItems` request is in a different account or + region. + + - There is insufficient provisioned capacity for the transaction to be + completed. + + - There is a user error, such as an invalid data format. + + Note: + DynamoDB lists the cancellation reasons on the `CancellationReasons` + property. Transaction cancellation reasons are ordered in the order of + requested items, if an item has no error it will have `None` code and + `Null` message. The `None` code is returned as the literal string + `"None"`, not a null or absent value; the message field is omitted + entirely for an item that has no error. This is important to note when + using an SDK that surfaces the code as an optional or nullable type. + + Cancellation reason codes and possible error messages: + + - No Errors: + + - Code: `None` + + - Message: `null` + + - Conditional Check Failed: + + - Code: `ConditionalCheckFailed` + + - Message: The conditional request failed. + + - Item Collection Size Limit Exceeded: + + - Code: `ItemCollectionSizeLimitExceeded` + + - Message: Collection size exceeded. + + - Transaction Conflict: + + - Code: `TransactionConflict` + + - Message: Transaction is ongoing for the item. + + - Provisioned Throughput Exceeded: + + - Code: `ProvisionedThroughputExceeded` + + - Messages: + + - The level of configured provisioned throughput for the table was + exceeded. Consider increasing your provisioning level with the + UpdateTable API. + + Note: + This Message is received when provisioned throughput is exceeded + is on a provisioned DynamoDB table. + + - The level of configured provisioned throughput for one or more + global secondary indexes of the table was exceeded. Consider + increasing your provisioning level for the under-provisioned + global secondary indexes with the UpdateTable API. + + Note: + This message is returned when provisioned throughput is exceeded + is on a provisioned GSI. + + - Throttling Error: + + - Code: `ThrottlingError` + + - Messages: + + - Throughput exceeds the current capacity of your table or index. + DynamoDB is automatically scaling your table or index so please + try again shortly. If exceptions persist, check if you have a hot + key: + https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. + + Note: + This message is returned when writes get throttled on an On-Demand + table as DynamoDB is automatically scaling the table. + + - Throughput exceeds the current capacity for one or more global + secondary indexes. DynamoDB is automatically scaling your index so + please try again shortly. + + Note: + This message is returned when writes get throttled on an On-Demand + GSI as DynamoDB is automatically scaling the GSI. + + - Validation Error: + + - Code: `ValidationError` + + - Messages: + + - One or more parameter values were invalid. + + - The update expression attempted to update the secondary index key + beyond allowed size limits. + + - The update expression attempted to update the secondary index key + to unsupported type. + + - An operand in the update expression has an incorrect data type. + + - Item size to update has exceeded the maximum allowed size. + + - Number overflow. Attempting to store a number with magnitude + larger than supported range. + + - Type mismatch for attribute to update. + + - Nesting Levels have exceeded supported limits. + + - The document path provided in the update expression is invalid for + update. + + - The provided expression refers to an attribute that does not exist + in the item. + """ + + cancellation_reasons: list[CancellationReason] | None = ... + """A list of cancellation reasons.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TransactionConflictException(ServiceError, _SerdeShape): + """ + Operation was rejected because there is an ongoing transaction for the + item. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TransactionInProgressException(ServiceError, _SerdeShape): + """ + The transaction with the given request token is already in progress. + + Recommended Settings + + Note: + This is a general recommendation for handling the + `TransactionInProgressException`. These settings help ensure that the + client retries will trigger completion of the ongoing + `TransactWriteItems` request. + + - Set `clientExecutionTimeout` to a value that allows at least one retry + to be processed after 5 seconds have elapsed since the first attempt + for the `TransactWriteItems` operation. + + - Set `socketTimeout` to a value a little lower than the + `requestTimeout` setting. + + - `requestTimeout` should be set based on the time taken for the + individual retries of a single HTTP request for your use case, but + setting it to 1 second or higher should work well to reduce chances of + retries and `TransactionInProgressException` errors. + + - Use exponential backoff when retrying and tune backoff if needed. + + Assuming [default retry + policy](https://github.com/aws/aws-sdk-java/blob/fd409dee8ae23fb8953e0bb4dbde65536a7e0514/aws-java-sdk-core/src/main/java/com/amazonaws/retry/PredefinedRetryPolicies.java#L97), + example timeout settings based on the guidelines above are as follows: + + Example timeline: + + - 0-1000 first attempt + + - 1000-1500 first sleep/delay (default retry policy uses 500 ms as base + delay for 4xx errors) + + - 1500-2500 second attempt + + - 2500-3500 second sleep/delay (500 * 2, exponential backoff) + + - 3500-4500 third attempt + + - 4500-6500 third sleep/delay (500 * 2^2) + + - 6500-7500 fourth attempt (this can trigger inline recovery since 5 + seconds have elapsed since the first attempt reached TC) + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TransactWriteItem(_SerdeShape): + """ + A list of requests that can perform update, put, delete, or check + operations on multiple items in one or more tables atomically. + """ + + condition_check: ConditionCheck | None = ... + """A request to perform a check item operation.""" + put: Put | None = ... + """A request to perform a `PutItem` operation.""" + delete: Delete | None = ... + """A request to perform a `DeleteItem` operation.""" + update: Update | None = ... + """A request to perform an `UpdateItem` operation.""" + +@dataclass(kw_only=True) +class TransactWriteItemsInput(_SerdeShape): + """Dataclass for TransactWriteItemsInput structure.""" + + transact_items: list[TransactWriteItem] | None = ... + """ + An ordered array of up to 100 `TransactWriteItem` objects, each of which + contains a `ConditionCheck`, `Put`, `Update`, or `Delete` object. These + can operate on items in different tables, but the tables must reside in + the same Amazon Web Services account and Region, and no two of them can + operate on the same item. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + return_item_collection_metrics: str | None = ... + """ + Determines whether item collection metrics are returned. If set to + `SIZE`, the response includes statistics about item collections (if + any), that were modified during the operation and are returned in the + response. If set to `NONE` (the default), no statistics are returned. + """ + client_request_token: str | None = ... + """ + Providing a `ClientRequestToken` makes the call to `TransactWriteItems` + idempotent, meaning that multiple identical calls have the same effect + as one single call. + + Although multiple identical calls using the same client request token + produce the same result on the server (no side effects), the responses + to the calls might not be the same. If the `ReturnConsumedCapacity` + parameter is set, then the initial `TransactWriteItems` call returns the + amount of write capacity units consumed in making the changes. + Subsequent `TransactWriteItems` calls with the same client token return + the number of read capacity units consumed in reading the item. + + A client request token is valid for 10 minutes after the first request + that uses it is completed. After 10 minutes, any request with the same + client token is treated as a new request. Do not resubmit the same + request with the same client token for more than 10 minutes, or the + result might not be idempotent. + + If you submit a request with the same client token but a change in other + parameters within the 10-minute idempotency window, DynamoDB returns an + `IdempotentParameterMismatch` exception. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class TransactWriteItemsOutput(_SerdeShape): + """Dataclass for TransactWriteItemsOutput structure.""" + + consumed_capacity: list[ConsumedCapacity] | None = ... + """ + The capacity units consumed by the entire `TransactWriteItems` + operation. The values of the list are ordered according to the ordering + of the `TransactItems` request parameter. + + If the table has vector indexes, each element also includes a + `VectorIndexes` field with `VectorWriteRequestBytes` consumed for each + affected vector index. + """ + item_collection_metrics: dict[str, list[ItemCollectionMetrics]] | None = ... + """ + A list of tables that were processed by `TransactWriteItems` and, for + each table, information about any item collections that were affected by + individual `UpdateItem`, `PutItem`, or `DeleteItem` operations. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Dataclass for UntagResourceInput structure.""" + + resource_arn: str | None = ... + """ + The DynamoDB resource that the tags will be removed from. This value is + an Amazon Resource Name (ARN). + """ + tag_keys: list[str] | None = ... + """ + A list of tag keys. Existing tags of the resource whose keys are members + of this list will be removed from the DynamoDB resource. + """ + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Update(_SerdeShape): + """Represents a request to perform an `UpdateItem` operation.""" + + key: dict[str, AttributeValue] + """ + The primary key of the item to be updated. Each element consists of an + attribute name and a value for that attribute. + """ + update_expression: str + """ + An expression that defines one or more attributes to be updated, the + action to be performed on them, and new value(s) for them. + """ + table_name: str + """ + Name of the table for the `UpdateItem` request. You can also provide the + Amazon Resource Name (ARN) of the table in this parameter. + """ + condition_expression: str | None = ... + """ + A condition that must be satisfied in order for a conditional update to + succeed. + """ + expression_attribute_names: dict[str, str] | None = ... + """One or more substitution tokens for attribute names in an expression.""" + expression_attribute_values: dict[str, AttributeValue] | None = ... + """One or more values that can be substituted in an expression.""" + return_values_on_condition_check_failure: str | None = ... + """ + Use `ReturnValuesOnConditionCheckFailure` to get the item attributes if + the `Update` condition fails. For `ReturnValuesOnConditionCheckFailure`, + the valid values are: NONE and ALL_OLD. + """ + +@dataclass(kw_only=True) +class UpdateContinuousBackupsInput(_SerdeShape): + """Dataclass for UpdateContinuousBackupsInput structure.""" + + table_name: str | None = ... + """ + The name of the table. You can also provide the Amazon Resource Name + (ARN) of the table in this parameter. + """ + point_in_time_recovery_specification: PointInTimeRecoverySpecification | None = ... + """Represents the settings used to enable point in time recovery.""" + +@dataclass(kw_only=True) +class UpdateContinuousBackupsOutput(_SerdeShape): + """Dataclass for UpdateContinuousBackupsOutput structure.""" + + continuous_backups_description: ContinuousBackupsDescription | None = ... + """ + Represents the continuous backups and point in time recovery settings on + the table. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateContributorInsightsInput(_SerdeShape): + """Dataclass for UpdateContributorInsightsInput structure.""" + + table_name: str | None = ... + """ + The name of the table. You can also provide the Amazon Resource Name + (ARN) of the table in this parameter. + """ + index_name: str | None = ... + """The global secondary index name, if applicable.""" + contributor_insights_action: str | None = ... + """Represents the contributor insights action.""" + contributor_insights_mode: str | None = ... + """ + Specifies whether to track all access and throttled events or throttled + events only for the DynamoDB table or index. + """ + +@dataclass(kw_only=True) +class UpdateContributorInsightsOutput(_SerdeShape): + """Dataclass for UpdateContributorInsightsOutput structure.""" + + table_name: str | None = ... + """The name of the table.""" + index_name: str | None = ... + """The name of the global secondary index, if applicable.""" + contributor_insights_status: str | None = ... + """The status of contributor insights""" + contributor_insights_mode: str | None = ... + """ + The updated mode of CloudWatch Contributor Insights that determines + whether to monitor all access and throttled events or to track throttled + events exclusively. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGlobalSecondaryIndexAction(_SerdeShape): + """ + Represents the new provisioned throughput settings to be applied to a + global secondary index. + """ + + index_name: str + """The name of the global secondary index to be updated.""" + provisioned_throughput: ProvisionedThroughput | None = ... + """ + Represents the provisioned throughput settings for the specified global + secondary index. + + For current minimum and maximum provisioned throughput values, see + [Service, Account, and Table + Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) + in the *Amazon DynamoDB Developer Guide*. + """ + on_demand_throughput: OnDemandThroughput | None = ... + """ + Updates the maximum number of read and write units for the specified + global secondary index. If you use this parameter, you must specify + `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + warm_throughput: WarmThroughput | None = ... + """ + Represents the warm throughput value of the new provisioned throughput + settings to be applied to a global secondary index. + """ + +@dataclass(kw_only=True) +class UpdateGlobalTableInput(_SerdeShape): + """Dataclass for UpdateGlobalTableInput structure.""" + + global_table_name: str | None = ... + """The global table name.""" + replica_updates: list[ReplicaUpdate] | None = ... + """A list of Regions that should be added or removed from the global table.""" + +@dataclass(kw_only=True) +class UpdateGlobalTableOutput(_SerdeShape): + """Dataclass for UpdateGlobalTableOutput structure.""" + + global_table_description: GlobalTableDescription | None = ... + """Contains the details of the global table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGlobalTableSettingsInput(_SerdeShape): + """Dataclass for UpdateGlobalTableSettingsInput structure.""" + + global_table_name: str | None = ... + """The name of the global table""" + global_table_billing_mode: str | None = ... + """ + The billing mode of the global table. If `GlobalTableBillingMode` is not + specified, the global table defaults to `PROVISIONED` capacity billing + mode. + + - `PROVISIONED` - We recommend using `PROVISIONED` for predictable + workloads. `PROVISIONED` sets the billing mode to [Provisioned + capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html). + + - `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for + unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to + [On-demand capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html). + """ + global_table_provisioned_write_capacity_units: int | None = ... + """ + The maximum number of writes consumed per second before DynamoDB returns + a `ThrottlingException.` + """ + global_table_provisioned_write_capacity_auto_scaling_settings_update: ( + AutoScalingSettingsUpdate | None + ) = ... + """ + Auto scaling settings for managing provisioned write capacity for the + global table. + """ + global_table_global_secondary_index_settings_update: ( + list[GlobalTableGlobalSecondaryIndexSettingsUpdate] | None + ) = ... + """ + Represents the settings of a global secondary index for a global table + that will be modified. + """ + replica_settings_update: list[ReplicaSettingsUpdate] | None = ... + """ + Represents the settings for a global table in a Region that will be + modified. + """ + +@dataclass(kw_only=True) +class UpdateGlobalTableSettingsOutput(_SerdeShape): + """Dataclass for UpdateGlobalTableSettingsOutput structure.""" + + global_table_name: str | None = ... + """The name of the global table.""" + replica_settings: list[ReplicaSettingsDescription] | None = ... + """The Region-specific settings for the global table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateItemInput(_SerdeShape): + """Represents the input of an `UpdateItem` operation.""" + + table_name: str | None = ... + """ + The name of the table containing the item to update. You can also + provide the Amazon Resource Name (ARN) of the table in this parameter. + """ + key: dict[str, AttributeValue] | None = ... + """ + The primary key of the item to be updated. Each element consists of an + attribute name and a value for that attribute. + + For the primary key, you must provide all of the attributes. For + example, with a simple primary key, you only need to provide a value for + the partition key. For a composite primary key, you must provide values + for both the partition key and the sort key. + """ + attribute_updates: dict[str, AttributeValueUpdate] | None = ... + """ + This is a legacy parameter. Use `UpdateExpression` instead. For more + information, see + [AttributeUpdates](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributeUpdates.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expected: dict[str, ExpectedAttributeValue] | None = ... + """ + This is a legacy parameter. Use `ConditionExpression` instead. For more + information, see + [Expected](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html) + in the *Amazon DynamoDB Developer Guide*. + """ + conditional_operator: str | None = ... + """ + This is a legacy parameter. Use `ConditionExpression` instead. For more + information, see + [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) + in the *Amazon DynamoDB Developer Guide*. + """ + return_values: str | None = ... + """ + Use `ReturnValues` if you want to get the item attributes as they appear + before or after they are successfully updated. For `UpdateItem`, the + valid values are: + + - `NONE` - If `ReturnValues` is not specified, or if its value is + `NONE`, then nothing is returned. (This setting is the default for + `ReturnValues`.) + + - `ALL_OLD` - Returns all of the attributes of the item, as they + appeared before the UpdateItem operation. + + - `UPDATED_OLD` - Returns only the updated attributes, as they appeared + before the UpdateItem operation. + + - `ALL_NEW` - Returns all of the attributes of the item, as they appear + after the UpdateItem operation. + + - `UPDATED_NEW` - Returns only the updated attributes, as they appear + after the UpdateItem operation. + + There is no additional cost associated with requesting a return value + aside from the small network and processing overhead of receiving a + larger response. No read capacity units are consumed. + + The values returned are strongly consistent. + """ + return_consumed_capacity: str | None = ... + """ + Determines the level of detail about either provisioned or on-demand + throughput consumption that is returned in the response: + + - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for + the operation, together with `ConsumedCapacity` for each table and + secondary index that was accessed. + + Note that some operations, such as `GetItem` and `BatchGetItem`, do + not access any indexes at all. In these cases, specifying `INDEXES` + will only return `ConsumedCapacity` information for table(s). + + - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` + for the operation. + + - `NONE` - No `ConsumedCapacity` details are included in the response. + """ + return_item_collection_metrics: str | None = ... + """ + Determines whether item collection metrics are returned. If set to + `SIZE`, the response includes statistics about item collections, if any, + that were modified during the operation are returned in the response. If + set to `NONE` (the default), no statistics are returned. + """ + update_expression: str | None = ... + """ + An expression that defines one or more attributes to be updated, the + action to be performed on them, and new values for them. + + The following action values are available for `UpdateExpression`. + + - `SET` - Adds one or more attributes and values to an item. If any of + these attributes already exist, they are replaced by the new values. + You can also use `SET` to add or subtract from an attribute that is of + type Number. For example: `SET myNum = myNum + :val` + + `SET` supports the following functions: + + - `if_not_exists (path, operand)` - if the item does not contain an + attribute at the specified path, then `if_not_exists` evaluates to + operand; otherwise, it evaluates to path. You can use this function + to avoid overwriting an attribute that may already be present in the + item. + + - `list_append (operand, operand)` - evaluates to a list with a new + element added to it. You can append the new element to the start or + the end of the list by reversing the order of the operands. + + These function names are case-sensitive. + + - `REMOVE` - Removes one or more attributes from an item. + + - `ADD` - Adds the specified value to the item, if the attribute does + not already exist. If the attribute does exist, then the behavior of + `ADD` depends on the data type of the attribute: + + - If the existing attribute is a number, and if `Value` is also a + number, then `Value` is mathematically added to the existing + attribute. If `Value` is a negative number, then it is subtracted + from the existing attribute. + + Note: + If you use `ADD` to increment or decrement a number value for an + item that doesn't exist before the update, DynamoDB uses `0` as the + initial value. + + Similarly, if you use `ADD` for an existing item to increment or + decrement an attribute value that doesn't exist before the update, + DynamoDB uses `0` as the initial value. For example, suppose that + the item you want to update doesn't have an attribute named + `itemcount`, but you decide to `ADD` the number `3` to this + attribute anyway. DynamoDB will create the `itemcount` attribute, + set its initial value to `0`, and finally add `3` to it. The result + will be a new `itemcount` attribute in the item, with a value of + `3`. + + - If the existing data type is a set and if `Value` is also a set, + then `Value` is added to the existing set. For example, if the + attribute value is the set `[1,2]`, and the `ADD` action specified + `[3]`, then the final attribute value is `[1,2,3]`. An error occurs + if an `ADD` action is specified for a set attribute and the + attribute type specified does not match the existing set type. + + Both sets must have the same primitive data type. For example, if + the existing data type is a set of strings, the `Value` must also be + a set of strings. + + Warning: + The `ADD` action only supports Number and set data types. + + - `DELETE` - Deletes an element from a set. + + If a set of values is specified, then those values are subtracted from + the old set. For example, if the attribute value was the set `[a,b,c]` + and the `DELETE` action specifies `[a,c]`, then the final attribute + value is `[b]`. Specifying an empty set is an error. + + Warning: + The `DELETE` action only supports set data types. + + You can have many actions in a single expression, such as the following: + `SET a=:value1, b=:value2 DELETE :value3, :value4, :value5` + + For more information on update expressions, see [Modifying Items and + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.Modifying.html) + in the *Amazon DynamoDB Developer Guide*. + """ + condition_expression: str | None = ... + """ + A condition that must be satisfied in order for a conditional update to + succeed. + + An expression can contain any of the following: + + - Functions: + `attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size` + + These function names are case-sensitive. + + - Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN ` + + - Logical operators: `AND | OR | NOT` + + For more information about condition expressions, see [Specifying + Conditions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_names: dict[str, str] | None = ... + """ + One or more substitution tokens for attribute names in an expression. + The following are some use cases for using `ExpressionAttributeNames`: + + - To access an attribute whose name conflicts with a DynamoDB reserved + word. + + - To create a placeholder for repeating occurrences of an attribute name + in an expression. + + - To prevent special characters in an attribute name from being + misinterpreted in an expression. + + Use the **#** character in an expression to dereference an attribute + name. For example, consider the following attribute name: + + - `Percentile` + + The name of this attribute conflicts with a reserved word, so it cannot + be used directly in an expression. (For the complete list of reserved + words, see [Reserved + Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) + in the *Amazon DynamoDB Developer Guide*.) To work around this, you + could specify the following for `ExpressionAttributeNames`: + + - `{"#P":"Percentile"}` + + You could then use this substitution in an expression, as in this + example: + + - `#P = :val` + + Note: + Tokens that begin with the **:** character are *expression attribute + values*, which are placeholders for the actual value at runtime. + + For more information about expression attribute names, see [Specifying + Item + Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) + in the *Amazon DynamoDB Developer Guide*. + """ + expression_attribute_values: dict[str, AttributeValue] | None = ... + """ + One or more values that can be substituted in an expression. + + Use the **:** (colon) character in an expression to dereference an + attribute value. For example, suppose that you wanted to check whether + the value of the `ProductStatus` attribute was one of the following: + + `Available | Backordered | Discontinued` + + You would first need to specify `ExpressionAttributeValues` as follows: + + `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` + + You could then use these values in an expression, such as this: + + `ProductStatus IN (:avail, :back, :disc)` + + For more information on expression attribute values, see [Condition + Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) + in the *Amazon DynamoDB Developer Guide*. + """ + return_values_on_condition_check_failure: str | None = ... + """ + An optional parameter that returns the item attributes for an + `UpdateItem` operation that failed a condition check. + + There is no additional cost associated with requesting a return value + aside from the small network and processing overhead of receiving a + larger response. No read capacity units are consumed. + """ + +@dataclass(kw_only=True) +class UpdateItemOutput(_SerdeShape): + """Represents the output of an `UpdateItem` operation.""" + + attributes: dict[str, AttributeValue] | None = ... + """ + A map of attribute values as they appear before or after the + `UpdateItem` operation, as determined by the `ReturnValues` parameter. + + The `Attributes` map is only present if the update was successful and + `ReturnValues` was specified as something other than `NONE` in the + request. Each element represents one attribute. + """ + consumed_capacity: ConsumedCapacity | None = ... + """ + The capacity units consumed by the `UpdateItem` operation. The data + returned includes the total provisioned throughput consumed, along with + statistics for the table and any indexes involved in the operation. + `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` + parameter was specified. For more information, see [Capacity unity + consumption for write + operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#write-operation-consumption) + in the *Amazon DynamoDB Developer Guide*. + + If the table has vector indexes, the response includes a `VectorIndexes` + field with `VectorWriteRequestBytes` consumed for each affected vector + index. + """ + item_collection_metrics: ItemCollectionMetrics | None = ... + """ + Information about item collections, if any, that were affected by the + `UpdateItem` operation. `ItemCollectionMetrics` is only returned if the + `ReturnItemCollectionMetrics` parameter was specified. If the table does + not have any local secondary indexes, this information is not returned + in the response. + + Each `ItemCollectionMetrics` element consists of: + + - `ItemCollectionKey` - The partition key value of the item collection. + This is the same as the partition key value of the item itself. + + - `SizeEstimateRangeGB` - An estimate of item collection size, in + gigabytes. This value is a two-element array containing a lower bound + and an upper bound for the estimate. The estimate includes the size of + all the items in the table, plus the size of all attributes projected + into all of the local secondary indexes on that table. Use this + estimate to measure whether a local secondary index is approaching its + size limit. + + The estimate is subject to change over time; therefore, do not rely on + the precision or accuracy of the estimate. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateKinesisStreamingConfiguration(_SerdeShape): + """Enables updating the configuration for Kinesis Streaming.""" + + approximate_creation_date_time_precision: str | None = ... + """Enables updating the precision of Kinesis data stream timestamp.""" + +@dataclass(kw_only=True) +class UpdateKinesisStreamingDestinationInput(_SerdeShape): + """Dataclass for UpdateKinesisStreamingDestinationInput structure.""" + + table_name: str | None = ... + """ + The table name for the Kinesis streaming destination input. You can also + provide the ARN of the table in this parameter. + """ + stream_arn: str | None = ... + """The Amazon Resource Name (ARN) for the Kinesis stream input.""" + update_kinesis_streaming_configuration: ( + UpdateKinesisStreamingConfiguration | None + ) = ... + """The command to update the Kinesis stream configuration.""" + +@dataclass(kw_only=True) +class UpdateKinesisStreamingDestinationOutput(_SerdeShape): + """Dataclass for UpdateKinesisStreamingDestinationOutput structure.""" + + table_name: str | None = ... + """The table name for the Kinesis streaming destination output.""" + stream_arn: str | None = ... + """The ARN for the Kinesis stream input.""" + destination_status: str | None = ... + """ + The status of the attempt to update the Kinesis streaming destination + output. + """ + update_kinesis_streaming_configuration: ( + UpdateKinesisStreamingConfiguration | None + ) = ... + """The command to update the Kinesis streaming destination configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateReplicationGroupMemberAction(_SerdeShape): + """Represents a replica to be modified.""" + + region_name: str + """The Region where the replica exists.""" + kms_master_key_id: str | None = ... + """ + The KMS key of the replica that should be used for KMS encryption. To + specify a key, use its key ID, Amazon Resource Name (ARN), alias name, + or alias ARN. Note that you should only provide this parameter if the + key is different from the default DynamoDB KMS key `alias/aws/dynamodb`. + """ + provisioned_throughput_override: ProvisionedThroughputOverride | None = ... + """ + Replica-specific provisioned throughput. If not specified, uses the + source table's provisioned throughput settings. + """ + on_demand_throughput_override: OnDemandThroughputOverride | None = ... + """Overrides the maximum on-demand throughput for the replica table.""" + global_secondary_indexes: list[ReplicaGlobalSecondaryIndex] | None = ... + """Replica-specific global secondary index settings.""" + table_class_override: str | None = ... + """ + Replica-specific table class. If not specified, uses the source table's + table class. + """ + +@dataclass(kw_only=True) +class UpdateTableInput(_SerdeShape): + """Represents the input of an `UpdateTable` operation.""" + + attribute_definitions: list[AttributeDefinition] | None = ... + """ + An array of attributes that describe the key schema for the table and + indexes. If you are adding a new global secondary index to the table, + `AttributeDefinitions` must include the key element(s) of the new index. + """ + table_name: str | None = ... + """ + The name of the table to be updated. You can also provide the Amazon + Resource Name (ARN) of the table in this parameter. + """ + billing_mode: str | None = ... + """ + Controls how you are charged for read and write throughput and how you + manage capacity. When switching from pay-per-request to provisioned + capacity, initial provisioned capacity values must be set. The initial + provisioned capacity values are estimated based on the consumed read and + write capacity of your table and global secondary indexes over the past + 30 minutes. + + - `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most + DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to + [On-demand capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html). + + - `PROVISIONED` - We recommend using `PROVISIONED` for steady workloads + with predictable growth where capacity requirements can be reliably + forecasted. `PROVISIONED` sets the billing mode to [Provisioned + capacity + mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html). + """ + provisioned_throughput: ProvisionedThroughput | None = ... + """ + The new provisioned throughput settings for the specified table or + index. + """ + global_secondary_index_updates: list[GlobalSecondaryIndexUpdate] | None = ... + """ + An array of one or more global secondary indexes for the table. For each + index in the array, you can request one action: + + - `Create` - add a new global secondary index to the table. + + - `Update` - modify the provisioned throughput settings of an existing + global secondary index. + + - `Delete` - remove a global secondary index from the table. + + You can create or delete only one global secondary index per + `UpdateTable` operation. + + For more information, see [Managing Global Secondary + Indexes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.OnlineOps.html) + in the *Amazon DynamoDB Developer Guide*. + """ + stream_specification: StreamSpecification | None = ... + """ + Represents the DynamoDB Streams configuration for the table. + + Note: + You receive a `ValidationException` if you try to enable a stream on a + table that already has a stream, or if you try to disable a stream on a + table that doesn't have a stream. + """ + sse_specification: SSESpecification | None = ... + """The new server-side encryption settings for the specified table.""" + replica_updates: list[ReplicationGroupUpdate] | None = ... + """ + A list of replica update actions (create, delete, update, or + disassociate) for the table. + """ + table_class: str | None = ... + """ + The table class of the table to be updated. Valid values are `STANDARD` + and `STANDARD_INFREQUENT_ACCESS`. + """ + deletion_protection_enabled: bool | None = ... + """ + Indicates whether deletion protection is to be enabled (true) or + disabled (false) on the table. + """ + multi_region_consistency: str | None = ... + """ + Specifies the consistency mode for a new global table. This parameter is + only valid when you create a global table by specifying one or more + [Create](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create) + actions in the + [ReplicaUpdates](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates) + action list. + + You can specify one of the following consistency modes: + + - `EVENTUAL`: Configures a new global table for multi-Region eventual + consistency (MREC). This is the default consistency mode for global + tables. + + - `STRONG`: Configures a new global table for multi-Region strong + consistency (MRSC). + + If you don't specify this field, the global table consistency mode + defaults to `EVENTUAL`. For more information about global tables + consistency modes, see [Consistency + modes](https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes) + in DynamoDB developer guide. + """ + global_table_witness_updates: list[GlobalTableWitnessGroupUpdate] | None = ... + """ + A list of witness updates for a MRSC global table. A witness provides a + cost-effective alternative to a full replica in a MRSC global table by + maintaining replicated change data written to global table replicas. You + cannot perform read or write operations on a witness. For each witness, + you can request one action: + + - `Create` - add a new witness to the global table. + + - `Delete` - remove a witness from the global table. + + You can create or delete only one witness per `UpdateTable` operation. + + For more information, see [Multi-Region strong consistency + (MRSC)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes) + in the Amazon DynamoDB Developer Guide + """ + on_demand_throughput: OnDemandThroughput | None = ... + """ + Updates the maximum number of read and write units for the specified + table in on-demand capacity mode. If you use this parameter, you must + specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. + """ + warm_throughput: WarmThroughput | None = ... + """ + Represents the warm throughput (in read units per second and write units + per second) for updating a table. + """ + global_table_settings_replication_mode: str | None = ... + """ + Controls the settings replication mode for a global table replica. This + attribute can be defined using UpdateTable operation only on a regional + table with values: + + - `ENABLED`: Defines settings replication on a regional table to be used + as a source table for creating Multi-Account Global Table. + + - `DISABLED`: Remove settings replication on a regional table. Settings + replication needs to be defined to ENABLED again in order to create a + Multi-Account Global Table using this table. + """ + disassociation_protection_enabled: bool | None = ... + """ + Specifies whether disassociation protection is enabled (`true`) or + disabled (`false`) for the local replica of a multi-Region eventual + consistency (MREC) global table using Version 2019.11.21. + + Disassociation protection is enabled by default. If you omit this + parameter, the existing setting is unchanged. This setting is + independent of `DeletionProtectionEnabled`. + + You can't combine this change with any other change in the same + `UpdateTable` request. + """ + vector_index_updates: list[VectorIndexUpdate] | None = ... + """ + A list of vector indexes to be added to or removed from the table. You + can add or remove one vector index for each `UpdateTable` operation. + + To add a vector index, specify `IndexName`, `VectorAttribute`, + `Dimensions`, `DistanceFunction`, and `Projection`. To remove a vector + index, specify only the `IndexName`. + """ + +@dataclass(kw_only=True) +class UpdateTableOutput(_SerdeShape): + """Represents the output of an `UpdateTable` operation.""" + + table_description: TableDescription | None = ... + """Represents the properties of the table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateTableReplicaAutoScalingInput(_SerdeShape): + """Dataclass for UpdateTableReplicaAutoScalingInput structure.""" + + global_secondary_index_updates: ( + list[GlobalSecondaryIndexAutoScalingUpdate] | None + ) = ... + """ + Represents the auto scaling settings of the global secondary indexes of + the replica to be updated. + """ + table_name: str | None = ... + """ + The name of the global table to be updated. You can also provide the + Amazon Resource Name (ARN) of the table in this parameter. + """ + provisioned_write_capacity_auto_scaling_update: ( + AutoScalingSettingsUpdate | None + ) = ... + """ + Represents the auto scaling settings to be modified for a global table + or global secondary index. + """ + replica_updates: list[ReplicaAutoScalingUpdate] | None = ... + """ + Represents the auto scaling settings of replicas of the table that will + be modified. + """ + +@dataclass(kw_only=True) +class UpdateTableReplicaAutoScalingOutput(_SerdeShape): + """Dataclass for UpdateTableReplicaAutoScalingOutput structure.""" + + table_auto_scaling_description: TableAutoScalingDescription | None = ... + """ + Returns information about the auto scaling settings of a table with + replicas. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateTimeToLiveInput(_SerdeShape): + """Represents the input of an `UpdateTimeToLive` operation.""" + + table_name: str | None = ... + """ + The name of the table to be configured. You can also provide the Amazon + Resource Name (ARN) of the table in this parameter. + """ + time_to_live_specification: TimeToLiveSpecification | None = ... + """ + Represents the settings used to enable or disable Time to Live for the + specified table. + """ + +@dataclass(kw_only=True) +class UpdateTimeToLiveOutput(_SerdeShape): + """Dataclass for UpdateTimeToLiveOutput structure.""" + + time_to_live_specification: TimeToLiveSpecification | None = ... + """Represents the output of an `UpdateTimeToLive` operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class VectorAttributeDefinition(_SerdeShape): + """The definition of a vector attribute for a vector index.""" + + attribute_name: str + """The name of the vector attribute.""" + +@dataclass(kw_only=True) +class VectorCapacity(_SerdeShape): + """ + The consumed capacity for vector index operations, including vector + search request bytes and vector write request bytes. + """ + + vector_search_request_bytes: float | None = ... + """ + The number of vector search request bytes consumed by a `SearchVectors` + operation. + """ + vector_write_request_bytes: float | None = ... + """ + The number of vector write request bytes consumed when writing to a + vector index. Reported for write operations that modify attributes + indexed by a vector index. + """ + +class VectorDistanceFunction(UnknownEnumMixin, StrEnum): + COSINE = "COSINE" + DOT_PRODUCT = "DOT_PRODUCT" + EUCLIDEAN = "EUCLIDEAN" + +@dataclass(kw_only=True) +class VectorIndex(_SerdeShape): + """ + Contains the configuration settings for a vector index, including the + index name, vector attribute, dimensions, distance function, search + schema, and projection. + """ + + index_name: str + """The name of the vector index.""" + vector_attribute: VectorAttributeDefinition + """The vector attribute configuration for the index.""" + search_schema: list[SearchSchemaElement] | None = ... + """ + The search schema that defines partition key and inline filter + attributes for the vector index. + """ + projection: Projection + """ + Specifies attributes that are copied (projected) from the table into the + vector index. + """ + dimensions: int + """The number of dimensions in each vector.""" + distance_function: str + """ + The distance function used to calculate similarity between vectors. + Valid values: `COSINE`, `EUCLIDEAN`, `DOT_PRODUCT`. + """ + +@dataclass(kw_only=True) +class VectorIndexDescription(_SerdeShape): + """ + Contains the current state and configuration of a vector index, + including its status, size, item count, and the settings specified when + the index was created. + """ + + index_name: str | None = ... + """The name of the vector index.""" + search_schema: list[SearchSchemaElement] | None = ... + """ + The search schema that defines partition key and inline filter + attributes for the vector index. + """ + projection: Projection | None = ... + """ + Specifies attributes that are copied (projected) from the table into the + vector index. + """ + vector_attribute: VectorAttributeDefinition | None = ... + """The vector attribute configuration for the index.""" + dimensions: int | None = ... + """The number of dimensions in each vector.""" + distance_function: str | None = ... + """The distance function used to calculate similarity between vectors.""" + index_status: str | None = ... + """ + The current state of the vector index: + + - `CREATING` - The index is being created. + + - `ACTIVE` - The index is ready for use. + + - `DELETING` - The index is being deleted. + """ + backfilling: bool | None = ... + """ + Specifies whether the index is currently backfilling. During backfill, + `SearchVectors` operations might return incomplete results. + """ + index_size_bytes: int | None = ... + """ + The total size of the vector index, in bytes. Amazon DynamoDB updates + this value approximately every six hours. Recent changes might not be + reflected in this value. + """ + item_count: int | None = ... + """ + The number of items indexed in the vector index. Amazon DynamoDB updates + this value approximately every six hours. Recent changes might not be + reflected in this value. + """ + index_arn: str | None = ... + """ + The Amazon Resource Name (ARN) that uniquely identifies the vector + index. + """ + +@dataclass(kw_only=True) +class VectorIndexInfo(_SerdeShape): + """ + Contains the configuration of a vector index as it existed at the time a + backup was created. + """ + + index_name: str | None = ... + """The name of the vector index.""" + vector_attribute: VectorAttributeDefinition | None = ... + """The vector attribute configuration for the index.""" + search_schema: list[SearchSchemaElement] | None = ... + """ + The search schema that defines partition key and inline filter + attributes for the vector index. + """ + projection: Projection | None = ... + """ + Specifies attributes that are copied (projected) from the table into the + vector index. + """ + dimensions: int | None = ... + """The number of dimensions in each vector.""" + distance_function: str | None = ... + """The distance function used to calculate similarity between vectors.""" + +@dataclass(kw_only=True) +class VectorIndexUpdate(_SerdeShape): + """A vector index to be added to or removed from a table.""" + + create: CreateVectorIndexAction | None = ... + """The configuration for creating a new vector index on the table.""" + delete: DeleteVectorIndexAction | None = ... + """The configuration for deleting an existing vector index from the table.""" + +@dataclass(kw_only=True) +class WarmThroughput(_SerdeShape): + """ + Provides visibility into the number of read and write operations your + table or secondary index can instantaneously support. The settings can + be modified using the `UpdateTable` operation to meet the throughput + requirements of an upcoming peak event. + """ + + read_units_per_second: int | None = ... + """ + Represents the number of read operations your base table can + instantaneously support. + """ + write_units_per_second: int | None = ... + """ + Represents the number of write operations your base table can + instantaneously support. + """ + +class WitnessStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + DELETING = "DELETING" + ACTIVE = "ACTIVE" + +@dataclass(kw_only=True) +class WriteRequest(_SerdeShape): + """ + Represents an operation to perform - either `DeleteItem` or `PutItem`. + You can only request one of these operations, not both, in a single + `WriteRequest`. If you do need to perform both of these operations, you + need to provide two separate `WriteRequest` objects. + """ + + put_request: PutRequest | None = ... + """A request to perform a `PutItem` operation.""" + delete_request: DeleteRequest | None = ... + """A request to perform a `DeleteItem` operation.""" diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas.py index 2f4090b37..e0c08e548 100644 --- a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas.py +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas.py @@ -1,6893 +1,662 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.dynamodb" -_ACDTP = "ApproximateCreationDateTimePrecision" -_MILLISECOND = "MILLISECOND" -_sV = "smithy.api#enumValue" -_MICROSECOND = "MICROSECOND" -_AR = "ArchivalReason" -_BA = "BackupArn" -_D = "Date" -_AS = "ArchivalSummary" -_ADT = "ArchivalDateTime" -_ABA = "ArchivalBackupArn" -_AA = "AttributeAction" -_ADD = "ADD" -_PUT = "PUT" -_DELETE = "DELETE" -_KSAN = "KeySchemaAttributeName" -_SAT = "ScalarAttributeType" -_S = "S" -_N = "N" -_B = "B" -_AD = "AttributeDefinition" -_AN = "AttributeName" -_s = "smithy.api#required" -_AT = "AttributeType" -_ADt = "AttributeDefinitions" -_m = "member" -_BAV = "BinaryAttributeValue" -_BAVo = "BooleanAttributeValue" -_BSAV = "BinarySetAttributeValue" -_NAV = "NumberAttributeValue" -_NSAV = "NumberSetAttributeValue" -_NAVu = "NullAttributeValue" -_SAV = "StringAttributeValue" -_SSAV = "StringSetAttributeValue" -_ANL = "AttributeNameList" -_ASPN = "AutoScalingPolicyName" -_BO = "BooleanObject" -_IO = "IntegerObject" -_DO = "DoubleObject" -_ASTTSPCD = "AutoScalingTargetTrackingScalingPolicyConfigurationDescription" -_DSI = "DisableScaleIn" -_SIC = "ScaleInCooldown" -_SOC = "ScaleOutCooldown" -_TV = "TargetValue" -_ASPD = "AutoScalingPolicyDescription" -_PN = "PolicyName" -_TTSPC = "TargetTrackingScalingPolicyConfiguration" -_ASPDL = "AutoScalingPolicyDescriptionList" -_ASTTSPCU = "AutoScalingTargetTrackingScalingPolicyConfigurationUpdate" -_ASPU = "AutoScalingPolicyUpdate" -_ASRA = "AutoScalingRoleArn" -_St = "String" -_PLO = "PositiveLongObject" -_ASSD = "AutoScalingSettingsDescription" -_MU = "MinimumUnits" -_MUa = "MaximumUnits" -_ASD = "AutoScalingDisabled" -_SP = "ScalingPolicies" -_ASSU = "AutoScalingSettingsUpdate" -_SPU = "ScalingPolicyUpdate" -_AEM = "AvailabilityErrorMessage" -_Ba = "Backfilling" -_BCDT = "BackupCreationDateTime" -_BN = "BackupName" -_BSB = "BackupSizeBytes" -_BS = "BackupStatus" -_CREATING = "CREATING" -_DELETED = "DELETED" -_AVAILABLE = "AVAILABLE" -_BT = "BackupType" -_USER = "USER" -_SYSTEM = "SYSTEM" -_AB = "AWS_BACKUP" -_BD = "BackupDetails" -_BEDT = "BackupExpiryDateTime" -_BM = "BillingMode" -_PROVISIONED = "PROVISIONED" -_PPR = "PAY_PER_REQUEST" -_IC = "ItemCount" -_KT = "KeyType" -_HASH = "HASH" -_RANGE = "RANGE" -_KSE = "KeySchemaElement" -_KS = "KeySchema" -_LO = "LongObject" -_ODT = "OnDemandThroughput" -_MRRU = "MaxReadRequestUnits" -_MWRU = "MaxWriteRequestUnits" -_PT = "ProvisionedThroughput" -_RCU = "ReadCapacityUnits" -_WCU = "WriteCapacityUnits" -_TA = "TableArn" -_TCDT = "TableCreationDateTime" -_TI = "TableId" -_TN = "TableName" -_STD = "SourceTableDetails" -_TSB = "TableSizeBytes" -_IN = "IndexName" -_NKAN = "NonKeyAttributeName" -_NKANL = "NonKeyAttributeNameList" -_PTr = "ProjectionType" -_ALL = "ALL" -_KO = "KEYS_ONLY" -_INCLUDE = "INCLUDE" -_P = "Projection" -_NKA = "NonKeyAttributes" -_GSII = "GlobalSecondaryIndexInfo" -_GSI = "GlobalSecondaryIndexes" -_LSII = "LocalSecondaryIndexInfo" -_LSI = "LocalSecondaryIndexes" -_KMSMKA = "KMSMasterKeyArn" -_SSET = "SSEType" -_AES = "AES256" -_KMS = "KMS" -_SSES = "SSEStatus" -_ENABLING = "ENABLING" -_ENABLED = "ENABLED" -_DISABLING = "DISABLING" -_DISABLED = "DISABLED" -_UPDATING = "UPDATING" -_SSED = "SSEDescription" -_Sta = "Status" -_IEDT = "InaccessibleEncryptionDateTime" -_SE = "StreamEnabled" -_SVT = "StreamViewType" -_NI = "NEW_IMAGE" -_OI = "OLD_IMAGE" -_NAOI = "NEW_AND_OLD_IMAGES" -_SS = "StreamSpecification" -_TTLAN = "TimeToLiveAttributeName" -_TTLS = "TimeToLiveStatus" -_TTLD = "TimeToLiveDescription" -_VDF = "VectorDistanceFunction" -_COSINE = "COSINE" -_DP = "DOT_PRODUCT" -_EUCLIDEAN = "EUCLIDEAN" -_SSETe = "SearchSchemaElementType" -_IF = "INLINE_FILTER" -_SSE = "SearchSchemaElement" -_SSe = "SearchSchema" -_VAN = "VectorAttributeName" -_VAD = "VectorAttributeDefinition" -_VII = "VectorIndexInfo" -_VA = "VectorAttribute" -_Di = "Dimensions" -_DF = "DistanceFunction" -_VI = "VectorIndexes" -_STFD = "SourceTableFeatureDetails" -_SD = "StreamDescription" -_BDa = "BackupDescription" -_EM = "ErrorMessage" -_BIUE = "BackupInUseException" -_sm = "smithy.api#error" -_c = "client" -_me = "message" -_BNFE = "BackupNotFoundException" -_BIL = "BackupsInputLimit" -_BSa = "BackupSummary" -_BSac = "BackupSummaries" -_BTF = "BackupTypeFilter" -_RCC = "ReturnConsumedCapacity" -_INDEXES = "INDEXES" -_TOTAL = "TOTAL" -_NONE = "NONE" -_CR = "ConsistentRead" -_RVOCCF = "ReturnValuesOnConditionCheckFailure" -_AO = "ALL_OLD" -_PQLS = "PartiQLStatement" -_CCU = "ConsumedCapacityUnits" -_C = "Capacity" -_CU = "CapacityUnits" -_SICM = "SecondaryIndexesCapacityMap" -_k = "key" -_v = "value" -_VC = "VectorCapacity" -_VSRB = "VectorSearchRequestBytes" -_VWRB = "VectorWriteRequestBytes" -_VICM = "VectorIndexesCapacityMap" -_CC = "ConsumedCapacity" -_T = "Table" -_CCM = "ConsumedCapacityMultiple" -_BSECE = "BatchStatementErrorCodeEnum" -_CCF = "ConditionalCheckFailed" -_ICSLE = "ItemCollectionSizeLimitExceeded" -_RLE = "RequestLimitExceeded" -_VE = "ValidationError" -_PTE = "ProvisionedThroughputExceeded" -_TC = "TransactionConflict" -_TE = "ThrottlingError" -_ISE = "InternalServerError" -_RNF = "ResourceNotFound" -_ADc = "AccessDenied" -_DI = "DuplicateItem" -_se = "server" -_R = "Reason" -_Re = "Resource" -_TR = "ThrottlingReason" -_r = "reason" -_re = "resource" -_TRL = "ThrottlingReasonList" -_TRh = "ThrottlingReasons" -_TEh = "ThrottlingException" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_tR = "throttlingReasons" -_EANV = "ExpressionAttributeNameVariable" -_EANM = "ExpressionAttributeNameMap" -_PE = "ProjectionExpression" -_IEE = "InvalidEndpointException" -_M = "Message" -_PTEE = "ProvisionedThroughputExceededException" -_RNFE = "ResourceNotFoundException" -_RICM = "ReturnItemCollectionMetrics" -_SIZE = "SIZE" -_ICSEB = "ItemCollectionSizeEstimateBound" -_ICSER = "ItemCollectionSizeEstimateRange" -_ICSLEE = "ItemCollectionSizeLimitExceededException" -_RWCE = "ReplicatedWriteConflictException" -_BSBi = "BilledSizeBytes" -_BMS = "BillingModeSummary" -_LUTPPRDT = "LastUpdateToPayPerRequestDateTime" -_BOA = "BulkOperationArn" -_NNLO = "NonNegativeLongObject" -_BOB = "BulkOperationBytes" -_BPB = "BulkPutBytes" -_BOS = "BulkOperationStatus" -_IP = "IN_PROGRESS" -_COMPLETED = "COMPLETED" -_CWE = "COMPLETED_WITH_ERRORS" -_CANCELLING = "CANCELLING" -_CANCELLED = "CANCELLED" -_FAILED = "FAILED" -_SIBBM = "SecondaryIndexesBulkBytesMap" -_BOVB = "BulkOperationVectorBytes" -_BPVB = "BulkPutVectorBytes" -_VIBVBM = "VectorIndexesBulkVectorBytesMap" -_BOU = "BulkOperationUsage" -_BOUM = "BulkOperationUsageMultiple" -_CT = "ClientToken" -_BOET = "BulkOperationEndTime" -_BOIC = "BulkOperationItemCount" -_smi = "smithy.api#default" -_FC = "FailureCode" -_FM = "FailureMessage" -_ICT = "InputCompressionType" -_GZIP = "GZIP" -_ZSTD = "ZSTD" -_BOIF = "BulkOperationInputFormat" -_DJ = "DYNAMODB_JSON" -_ION = "ION" -_SB = "S3Bucket" -_SBO = "S3BucketOwner" -_SPr = "S3Prefix" -_ISC = "InputS3Configuration" -_SKP = "S3KeyPrefix" -_IFn = "InputFormat" -_BOMWRU = "BulkOperationMaxWriteRequestUnits" -_OTE = "OutputTypeEnum" -_ERROR = "ERROR" -_CCF_ = "CONDITION_CHECK_FAILURE" -_OTL = "OutputTypeList" -_SSA = "S3SseAlgorithm" -_SSKKI = "S3SseKmsKeyId" -_OSC = "OutputS3Configuration" -_OT = "OutputType" -_BOPT = "BulkOperationPerformanceTier" -_STANDARD = "STANDARD" -_ACCELERATED = "ACCELERATED" -_PIB = "ProcessedInputBytes" -_BOST = "BulkOperationStartTime" -_BOTD = "BulkOperationTableDetail" -_BOTDu = "BulkOperationTableDetails" -_TIB = "TotalInputBytes" -_BOD = "BulkOperationDescription" -_TD = "TableDetails" -_ST = "StartTime" -_ET = "EndTime" -_PIC = "ProcessedItemCount" -_FIC = "FailedItemCount" -_PTe = "PerformanceTier" -_BONT = "BulkOperationNextToken" -_BOSu = "BulkOperationSummary" -_BOSL = "BulkOperationsSummaryList" -_CBOI = "CancelBulkOperationInput" -_smit = "smithy.api#input" -_sP = "smithy.rules#contextParam" -_CBOO = "CancelBulkOperationOutput" -_smith = "smithy.api#output" -_CBO = "CancelBulkOperation" -_Co = "Code" -_CRT = "ClientRequestToken" -_CWLGA = "CloudWatchLogGroupArn" -_CO = "ComparisonOperator" -_EQ = "EQ" -_NE = "NE" -_IN_ = "IN" -_LE = "LE" -_LT = "LT" -_GE = "GE" -_GT = "GT" -_BETWEEN = "BETWEEN" -_NN = "NOT_NULL" -_NULL = "NULL" -_CONTAINS = "CONTAINS" -_NC = "NOT_CONTAINS" -_BW = "BEGINS_WITH" -_COo = "ConditionalOperator" -_AND = "AND" -_OR = "OR" -_CE = "ConditionExpression" -_EAVV = "ExpressionAttributeValueVariable" -_CRSRA = "ConfirmRemoveSelfResourceAccess" -_CBS = "ContinuousBackupsStatus" -_PITRS = "PointInTimeRecoveryStatus" -_RPID = "RecoveryPeriodInDays" -_PITRD = "PointInTimeRecoveryDescription" -_ERDT = "EarliestRestorableDateTime" -_LRDT = "LatestRestorableDateTime" -_CBD = "ContinuousBackupsDescription" -_CBUE = "ContinuousBackupsUnavailableException" -_CIA = "ContributorInsightsAction" -_ENABLE = "ENABLE" -_DISABLE = "DISABLE" -_CIM = "ContributorInsightsMode" -_AATK = "ACCESSED_AND_THROTTLED_KEYS" -_TK = "THROTTLED_KEYS" -_CIR = "ContributorInsightsRule" -_CIRL = "ContributorInsightsRuleList" -_CIS = "ContributorInsightsStatus" -_CISo = "ContributorInsightsSummary" -_CISon = "ContributorInsightsSummaries" -_CBI = "CreateBackupInput" -_CBOr = "CreateBackupOutput" -_LEE = "LimitExceededException" -_TIUE = "TableInUseException" -_TNFE = "TableNotFoundException" -_CB = "CreateBackup" -_WT = "WarmThroughput" -_RUPS = "ReadUnitsPerSecond" -_WUPS = "WriteUnitsPerSecond" -_CGSIA = "CreateGlobalSecondaryIndexAction" -_RN = "RegionName" -_Rep = "Replica" -_RL = "ReplicaList" -_CGTI = "CreateGlobalTableInput" -_GTN = "GlobalTableName" -_RG = "ReplicationGroup" -_GTAS = "GlobalTableArnString" -_GTS = "GlobalTableStatus" -_ACTIVE = "ACTIVE" -_DELETING = "DELETING" -_ODTO = "OnDemandThroughputOverride" -_PTO = "ProvisionedThroughputOverride" -_IS = "IndexStatus" -_GSIWTD = "GlobalSecondaryIndexWarmThroughputDescription" -_RGSID = "ReplicaGlobalSecondaryIndexDescription" -_RGSIDL = "ReplicaGlobalSecondaryIndexDescriptionList" -_GTSRM = "GlobalTableSettingsReplicationMode" -_EWO = "ENABLED_WITH_OVERRIDES" -_KMSMKI = "KMSMasterKeyId" -_RS = "ReplicaStatus" -_CF = "CREATION_FAILED" -_RD = "REGION_DISABLED" -_IEC = "INACCESSIBLE_ENCRYPTION_CREDENTIALS" -_ARCHIVING = "ARCHIVING" -_ARCHIVED = "ARCHIVED" -_RNA = "REPLICATION_NOT_AUTHORIZED" -_RSD = "ReplicaStatusDescription" -_RSPP = "ReplicaStatusPercentProgress" -_TCa = "TableClass" -_SIA = "STANDARD_INFREQUENT_ACCESS" -_TCS = "TableClassSummary" -_LUDT = "LastUpdateDateTime" -_TS = "TableStatus" -_TWTD = "TableWarmThroughputDescription" -_RDe = "ReplicaDescription" -_RA = "ReplicaArn" -_RIDT = "ReplicaInaccessibleDateTime" -_RTCS = "ReplicaTableClassSummary" -_RDL = "ReplicaDescriptionList" -_GTD = "GlobalTableDescription" -_GTA = "GlobalTableArn" -_CDT = "CreationDateTime" -_CGTO = "CreateGlobalTableOutput" -_GTAEE = "GlobalTableAlreadyExistsException" -_CGT = "CreateGlobalTable" -_CGTWGMA = "CreateGlobalTableWitnessGroupMemberAction" -_CRA = "CreateReplicaAction" -_RGSI = "ReplicaGlobalSecondaryIndex" -_RGSIL = "ReplicaGlobalSecondaryIndexList" -_CRGMA = "CreateReplicationGroupMemberAction" -_TCO = "TableClassOverride" -_DPE = "DeletionProtectionEnabled" -_GSIl = "GlobalSecondaryIndex" -_GSIL = "GlobalSecondaryIndexList" -_LSIo = "LocalSecondaryIndex" -_LSIL = "LocalSecondaryIndexList" -_RP = "ResourcePolicy" -_SSEE = "SSEEnabled" -_SSESp = "SSESpecification" -_E = "Enabled" -_TKS = "TagKeyString" -_TVS = "TagValueString" -_Ta = "Tag" -_K = "Key" -_V = "Value" -_TL = "TagList" -_VIe = "VectorIndex" -_VIL = "VectorIndexList" -_CTI = "CreateTableInput" -_Tag = "Tags" -_GTSA = "GlobalTableSourceArn" -_DPEi = "DisassociationProtectionEnabled" -_PTD = "ProvisionedThroughputDescription" -_LIDT = "LastIncreaseDateTime" -_LDDT = "LastDecreaseDateTime" -_NODT = "NumberOfDecreasesToday" -_GSID = "GlobalSecondaryIndexDescription" -_ISB = "IndexSizeBytes" -_IA = "IndexArn" -_GSIDL = "GlobalSecondaryIndexDescriptionList" -_WS = "WitnessStatus" -_GTWD = "GlobalTableWitnessDescription" -_GTWDL = "GlobalTableWitnessDescriptionList" -_SA = "StreamArn" -_LSID = "LocalSecondaryIndexDescription" -_LSIDL = "LocalSecondaryIndexDescriptionList" -_MRC = "MultiRegionConsistency" -_EVENTUAL = "EVENTUAL" -_STRONG = "STRONG" -_RIP = "RestoreInProgress" -_RSe = "RestoreSummary" -_SBA = "SourceBackupArn" -_STA = "SourceTableArn" -_RDT = "RestoreDateTime" -_VID = "VectorIndexDescription" -_VIDL = "VectorIndexDescriptionList" -_TDa = "TableDescription" -_LSL = "LatestStreamLabel" -_LSA = "LatestStreamArn" -_GTV = "GlobalTableVersion" -_Repl = "Replicas" -_GTW = "GlobalTableWitnesses" -_CTO = "CreateTableOutput" -_RIUE = "ResourceInUseException" -_CTr = "CreateTable" -_CVIA = "CreateVectorIndexAction" -_CD = "CsvDelimiter" -_CH = "CsvHeader" -_CHL = "CsvHeaderList" -_COs = "CsvOptions" -_De = "Delimiter" -_HL = "HeaderList" -_DBI = "DeleteBackupInput" -_DBO = "DeleteBackupOutput" -_DB = "DeleteBackup" -_DGSIA = "DeleteGlobalSecondaryIndexAction" -_DGTWGMA = "DeleteGlobalTableWitnessGroupMemberAction" -_RV = "ReturnValue" -_UO = "UPDATED_OLD" -_AN_ = "ALL_NEW" -_UN = "UPDATED_NEW" -_TCE = "TransactionConflictException" -_DRA = "DeleteReplicaAction" -_DRGMA = "DeleteReplicationGroupMemberAction" -_PRI = "PolicyRevisionId" -_RAS = "ResourceArnString" -_DRPI = "DeleteResourcePolicyInput" -_RAe = "ResourceArn" -_ERI = "ExpectedRevisionId" -_DRPO = "DeleteResourcePolicyOutput" -_RI = "RevisionId" -_PNFE = "PolicyNotFoundException" -_DRP = "DeleteResourcePolicy" -_DTI = "DeleteTableInput" -_DTO = "DeleteTableOutput" -_DT = "DeleteTable" -_DVIA = "DeleteVectorIndexAction" -_DBIe = "DescribeBackupInput" -_DBOe = "DescribeBackupOutput" -_DBe = "DescribeBackup" -_DBOI = "DescribeBulkOperationInput" -_DBOO = "DescribeBulkOperationOutput" -_DBOes = "DescribeBulkOperation" -_DCBI = "DescribeContinuousBackupsInput" -_DCBO = "DescribeContinuousBackupsOutput" -_DCB = "DescribeContinuousBackups" -_DCII = "DescribeContributorInsightsInput" -_ED = "ExceptionDescription" -_EN = "ExceptionName" -_FE = "FailureException" -_DCIO = "DescribeContributorInsightsOutput" -_DCI = "DescribeContributorInsights" -_DEI = "DescribeEndpointsInput" -_sSI = "smithy.synthetic#originalShapeId" -_cDER = "com.amazonaws.dynamodb#DescribeEndpointsRequest" -_L = "Long" -_En = "Endpoint" -_A = "Address" -_CPIM = "CachePeriodInMinutes" -_End = "Endpoints" -_DEO = "DescribeEndpointsOutput" -_cDERo = "com.amazonaws.dynamodb#DescribeEndpointsResponse" -_DE = "DescribeEndpoints" -_EA = "ExportArn" -_DEIe = "DescribeExportInput" -_EET = "ExportEndTime" -_EF = "ExportFormat" -_EMx = "ExportManifest" -_ES = "ExportStatus" -_ETx = "ExportTime" -_ETxp = "ExportType" -_FE_ = "FULL_EXPORT" -_IE = "INCREMENTAL_EXPORT" -_KE = "KeyExpression" -_EFT = "ExportFromTime" -_ETT = "ExportToTime" -_EVT = "ExportViewType" -_IES = "IncrementalExportSpecification" -_EST = "ExportStartTime" -_ENFE = "ExportNotFoundException" -_DGTI = "DescribeGlobalTableInput" -_DGTO = "DescribeGlobalTableOutput" -_GTNFE = "GlobalTableNotFoundException" -_DGT = "DescribeGlobalTable" -_DGTSI = "DescribeGlobalTableSettingsInput" -_RGSISD = "ReplicaGlobalSecondaryIndexSettingsDescription" -_PRCU = "ProvisionedReadCapacityUnits" -_PRCASS = "ProvisionedReadCapacityAutoScalingSettings" -_PWCU = "ProvisionedWriteCapacityUnits" -_PWCASS = "ProvisionedWriteCapacityAutoScalingSettings" -_RGSISDL = "ReplicaGlobalSecondaryIndexSettingsDescriptionList" -_RSDe = "ReplicaSettingsDescription" -_RBMS = "ReplicaBillingModeSummary" -_RPRCU = "ReplicaProvisionedReadCapacityUnits" -_RPRCASS = "ReplicaProvisionedReadCapacityAutoScalingSettings" -_RPWCU = "ReplicaProvisionedWriteCapacityUnits" -_RPWCASS = "ReplicaProvisionedWriteCapacityAutoScalingSettings" -_RGSIS = "ReplicaGlobalSecondaryIndexSettings" -_RSDL = "ReplicaSettingsDescriptionList" -_DGTSO = "DescribeGlobalTableSettingsOutput" -_RSep = "ReplicaSettings" -_DGTS = "DescribeGlobalTableSettings" -_IAm = "ImportArn" -_DII = "DescribeImportInput" -_IET = "ImportEndTime" -_EC = "ErrorCount" -_IIC = "ImportedItemCount" -_ISm = "ImportStatus" -_CSV = "CSV" -_IFO = "InputFormatOptions" -_Cs = "Csv" -_SBS = "S3BucketSource" -_IST = "ImportStartTime" -_TCP = "TableCreationParameters" -_ITD = "ImportTableDescription" -_PSB = "ProcessedSizeBytes" -_DIO = "DescribeImportOutput" -_INFE = "ImportNotFoundException" -_DIe = "DescribeImport" -_DKSDI = "DescribeKinesisStreamingDestinationInput" -_DS = "DestinationStatus" -_EF_ = "ENABLE_FAILED" -_KDSD = "KinesisDataStreamDestination" -_DSD = "DestinationStatusDescription" -_KDSDi = "KinesisDataStreamDestinations" -_DKSDO = "DescribeKinesisStreamingDestinationOutput" -_DKSD = "DescribeKinesisStreamingDestination" -_DLI = "DescribeLimitsInput" -_DLO = "DescribeLimitsOutput" -_AMRCU = "AccountMaxReadCapacityUnits" -_AMWCU = "AccountMaxWriteCapacityUnits" -_TMRCU = "TableMaxReadCapacityUnits" -_TMWCU = "TableMaxWriteCapacityUnits" -_DL = "DescribeLimits" -_DTIe = "DescribeTableInput" -_DTOe = "DescribeTableOutput" -_DTe = "DescribeTable" -_DTRASI = "DescribeTableReplicaAutoScalingInput" -_RGSIASD = "ReplicaGlobalSecondaryIndexAutoScalingDescription" -_RGSIASDL = "ReplicaGlobalSecondaryIndexAutoScalingDescriptionList" -_RASD = "ReplicaAutoScalingDescription" -_RASDL = "ReplicaAutoScalingDescriptionList" -_TASD = "TableAutoScalingDescription" -_DTRASO = "DescribeTableReplicaAutoScalingOutput" -_DTRAS = "DescribeTableReplicaAutoScaling" -_DTTLI = "DescribeTimeToLiveInput" -_DTTLO = "DescribeTimeToLiveOutput" -_DTTL = "DescribeTimeToLive" -_EKSC = "EnableKinesisStreamingConfiguration" -_DKSDIi = "DisableKinesisStreamingDestinationInput" -_cKSDI = "com.amazonaws.dynamodb#KinesisStreamingDestinationInput" -_DKSDOi = "DisableKinesisStreamingDestinationOutput" -_cKSDO = "com.amazonaws.dynamodb#KinesisStreamingDestinationOutput" -_DKSDi = "DisableKinesisStreamingDestination" -_DM = "DisassociationMode" -_WFR = "WAIT_FOR_REPLICATION" -_DRGMAi = "DisassociateReplicationGroupMemberAction" -_DIE = "DuplicateItemException" -_EKSDI = "EnableKinesisStreamingDestinationInput" -_EKSDO = "EnableKinesisStreamingDestinationOutput" -_EKSD = "EnableKinesisStreamingDestination" -_PIO = "PositiveIntegerObject" -_PQLNT = "PartiQLNextToken" -_IPME = "IdempotentParameterMismatchException" -_TIPE = "TransactionInProgressException" -_ECE = "ExportConflictException" -_IETE = "InvalidExportTimeException" -_PITRUE = "PointInTimeRecoveryUnavailableException" -_GRPI = "GetResourcePolicyInput" -_GRPO = "GetResourcePolicyOutput" -_Po = "Policy" -_GRP = "GetResourcePolicy" -_ICE = "ImportConflictException" -_ITI = "ImportTableInput" -_sT = "smithy.api#idempotencyToken" -_ITO = "ImportTableOutput" -_IT = "ImportTable" -_sCP = "smithy.rules#operationContextParams" -_TRLB = "TimeRangeLowerBound" -_TRUB = "TimeRangeUpperBound" -_LBI = "ListBackupsInput" -_Li = "Limit" -_ESBA = "ExclusiveStartBackupArn" -_LBO = "ListBackupsOutput" -_LEBA = "LastEvaluatedBackupArn" -_LB = "ListBackups" -_LBOML = "ListBulkOperationsMaxLimit" -_LBOI = "ListBulkOperationsInput" -_MR = "MaxResults" -_NT = "NextToken" -_LBOO = "ListBulkOperationsOutput" -_LBOi = "ListBulkOperations" -_LCIL = "ListContributorInsightsLimit" -_NTS = "NextTokenString" -_LCII = "ListContributorInsightsInput" -_LCIO = "ListContributorInsightsOutput" -_LCI = "ListContributorInsights" -_LEML = "ListExportsMaxLimit" -_ENT = "ExportNextToken" -_LEI = "ListExportsInput" -_ESx = "ExportSummary" -_ESxp = "ExportSummaries" -_LEO = "ListExportsOutput" -_LEi = "ListExports" -_LGTI = "ListGlobalTablesInput" -_ESGTN = "ExclusiveStartGlobalTableName" -_GTl = "GlobalTable" -_GTL = "GlobalTableList" -_LGTO = "ListGlobalTablesOutput" -_GTlo = "GlobalTables" -_LEGTN = "LastEvaluatedGlobalTableName" -_LGT = "ListGlobalTables" -_INT = "ImportNextToken" -_LIML = "ListImportsMaxLimit" -_LII = "ListImportsInput" -_PS = "PageSize" -_ISmp = "ImportSummary" -_ISL = "ImportSummaryList" -_LIO = "ListImportsOutput" -_LI = "ListImports" -_LTIL = "ListTablesInputLimit" -_LTI = "ListTablesInput" -_ESTN = "ExclusiveStartTableName" -_TNL = "TableNameList" -_LTO = "ListTablesOutput" -_TNa = "TableNames" -_LETN = "LastEvaluatedTableName" -_LTi = "ListTables" -_LTORI = "ListTagsOfResourceInput" -_LTORO = "ListTagsOfResourceOutput" -_LTOR = "ListTagsOfResource" -_PRPI = "PutResourcePolicyInput" -_sH = "smithy.api#httpHeader" -_xacrsra = "x-amz-confirm-remove-self-resource-access" -_PRPO = "PutResourcePolicyOutput" -_PRP = "PutResourcePolicy" -_Se = "Select" -_AA_ = "ALL_ATTRIBUTES" -_APA = "ALL_PROJECTED_ATTRIBUTES" -_SA_ = "SPECIFIC_ATTRIBUTES" -_COUNT = "COUNT" -_I = "Integer" -_RTFBI = "RestoreTableFromBackupInput" -_TTN = "TargetTableName" -_BMO = "BillingModeOverride" -_GSIO = "GlobalSecondaryIndexOverride" -_LSIO = "LocalSecondaryIndexOverride" -_SSESO = "SSESpecificationOverride" -_VIO = "VectorIndexOverride" -_RTFBO = "RestoreTableFromBackupOutput" -_TAEE = "TableAlreadyExistsException" -_RTFB = "RestoreTableFromBackup" -_IRTE = "InvalidRestoreTimeException" -_RTTPITI = "RestoreTableToPointInTimeInput" -_STN = "SourceTableName" -_ULRT = "UseLatestRestorableTime" -_RTTPITO = "RestoreTableToPointInTimeOutput" -_RTTPIT = "RestoreTableToPointInTime" -_SSc = "ScanSegment" -_STS = "ScanTotalSegments" -_TKI = "TopKInteger" -_SN = "ScoreNumber" -_SBPII = "StartBulkPutItemsInput" -_SBPIO = "StartBulkPutItemsOutput" -_SBPI = "StartBulkPutItems" -_TRI = "TagResourceInput" -_TRO = "TagResourceOutput" -_sU = "smithy.api#Unit" -_TRa = "TagResource" -_UE = "UpdateExpression" -_TKL = "TagKeyList" -_URI = "UntagResourceInput" -_TKa = "TagKeys" -_URO = "UntagResourceOutput" -_UR = "UntagResource" -_PITRSo = "PointInTimeRecoverySpecification" -_PITRE = "PointInTimeRecoveryEnabled" -_UCBI = "UpdateContinuousBackupsInput" -_UCBO = "UpdateContinuousBackupsOutput" -_UCB = "UpdateContinuousBackups" -_UCII = "UpdateContributorInsightsInput" -_UCIO = "UpdateContributorInsightsOutput" -_UCI = "UpdateContributorInsights" -_RAEE = "ReplicaAlreadyExistsException" -_RNFEe = "ReplicaNotFoundException" -_RU = "ReplicaUpdate" -_Cr = "Create" -_Del = "Delete" -_RUL = "ReplicaUpdateList" -_UGTI = "UpdateGlobalTableInput" -_RUe = "ReplicaUpdates" -_UGTO = "UpdateGlobalTableOutput" -_UGT = "UpdateGlobalTable" -_INFEn = "IndexNotFoundException" -_GTGSISU = "GlobalTableGlobalSecondaryIndexSettingsUpdate" -_PWCASSU = "ProvisionedWriteCapacityAutoScalingSettingsUpdate" -_GTGSISUL = "GlobalTableGlobalSecondaryIndexSettingsUpdateList" -_RGSISU = "ReplicaGlobalSecondaryIndexSettingsUpdate" -_PRCASSU = "ProvisionedReadCapacityAutoScalingSettingsUpdate" -_RGSISUL = "ReplicaGlobalSecondaryIndexSettingsUpdateList" -_RSU = "ReplicaSettingsUpdate" -_RPRCASSU = "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate" -_RTC = "ReplicaTableClass" -_RSUL = "ReplicaSettingsUpdateList" -_UGTSI = "UpdateGlobalTableSettingsInput" -_GTBM = "GlobalTableBillingMode" -_GTPWCU = "GlobalTableProvisionedWriteCapacityUnits" -_GTPWCASSU = "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate" -_UGTSO = "UpdateGlobalTableSettingsOutput" -_UGTS = "UpdateGlobalTableSettings" -_UKSC = "UpdateKinesisStreamingConfiguration" -_UKSDI = "UpdateKinesisStreamingDestinationInput" -_UKSDO = "UpdateKinesisStreamingDestinationOutput" -_UKSD = "UpdateKinesisStreamingDestination" -_UGSIA = "UpdateGlobalSecondaryIndexAction" -_GSIU = "GlobalSecondaryIndexUpdate" -_U = "Update" -_GSIUL = "GlobalSecondaryIndexUpdateList" -_GTWGU = "GlobalTableWitnessGroupUpdate" -_GTWGUL = "GlobalTableWitnessGroupUpdateList" -_URGMA = "UpdateReplicationGroupMemberAction" -_RGU = "ReplicationGroupUpdate" -_Dis = "Disassociate" -_RGUL = "ReplicationGroupUpdateList" -_VIU = "VectorIndexUpdate" -_VIUL = "VectorIndexUpdateList" -_UTI = "UpdateTableInput" -_GSIUl = "GlobalSecondaryIndexUpdates" -_GTWU = "GlobalTableWitnessUpdates" -_VIUe = "VectorIndexUpdates" -_UTO = "UpdateTableOutput" -_UT = "UpdateTable" -_GSIASU = "GlobalSecondaryIndexAutoScalingUpdate" -_PWCASU = "ProvisionedWriteCapacityAutoScalingUpdate" -_GSIASUL = "GlobalSecondaryIndexAutoScalingUpdateList" -_RGSIASU = "ReplicaGlobalSecondaryIndexAutoScalingUpdate" -_PRCASU = "ProvisionedReadCapacityAutoScalingUpdate" -_RGSIASUL = "ReplicaGlobalSecondaryIndexAutoScalingUpdateList" -_RASU = "ReplicaAutoScalingUpdate" -_RGSIU = "ReplicaGlobalSecondaryIndexUpdates" -_RPRCASU = "ReplicaProvisionedReadCapacityAutoScalingUpdate" -_RASUL = "ReplicaAutoScalingUpdateList" -_UTRASI = "UpdateTableReplicaAutoScalingInput" -_UTRASO = "UpdateTableReplicaAutoScalingOutput" -_UTRAS = "UpdateTableReplicaAutoScaling" -_TTLE = "TimeToLiveEnabled" -_TTLSi = "TimeToLiveSpecification" -_UTTLI = "UpdateTimeToLiveInput" -_UTTLO = "UpdateTimeToLiveOutput" -_UTTL = "UpdateTimeToLive" -_AV = "AttributeValue" -_SS_ = "SS" -_NS = "NS" -_BS_ = "BS" -_M_ = "M" -_L_ = "L" -_BOOL = "BOOL" -_LAV = "ListAttributeValue" -_MAV = "MapAttributeValue" -_AM = "AttributeMap" -_AVL = "AttributeValueList" -_AVU = "AttributeValueUpdate" -_Ac = "Action" -_EAVM = "ExpressionAttributeValueMap" -_ICKAM = "ItemCollectionKeyAttributeMap" -_PSP = "PreparedStatementParameters" -_PIIAM = "PutItemInputAttributeMap" -_SVL = "SearchVectorList" -_AU = "AttributeUpdates" -_BSE = "BatchStatementError" -_It = "Item" -_BSR = "BatchStatementRequest" -_Stat = "Statement" -_Pa = "Parameters" -_CRa = "CancellationReason" -_Con = "Condition" -_CCFE = "ConditionalCheckFailedException" -_DR = "DeleteRequest" -_ESI = "ExecuteStatementInput" -_FS = "FilterSpecification" -_FEi = "FilterExpression" -_KCE = "KeyConditionExpression" -_EAN = "ExpressionAttributeNames" -_EAV = "ExpressionAttributeValues" -_G = "Get" -_GII = "GetItemInput" -_ATG = "AttributesToGet" -_GIO = "GetItemOutput" -_ICM = "ItemCollectionMetrics" -_ICK = "ItemCollectionKey" -_SERGB = "SizeEstimateRangeGB" -_IL = "ItemList" -_IR = "ItemResponse" -_KL = "KeyList" -_PSa = "ParameterizedStatement" -_PR = "PutRequest" -_SRI = "SearchResultItem" -_Sc = "Score" -_BGRM = "BatchGetResponseMap" -_CRL = "CancellationReasonList" -_EDx = "ExportDescription" -_ETTPITI = "ExportTableToPointInTimeInput" -_FCM = "FilterConditionMap" -_ICMM = "ItemCollectionMetricsMultiple" -_IRL = "ItemResponseList" -_KC = "KeyConditions" -_KAA = "KeysAndAttributes" -_Ke = "Keys" -_PSar = "ParameterizedStatements" -_PQLBR = "PartiQLBatchRequest" -_SRL = "SearchResultList" -_TGI = "TransactGetItem" -_BESI = "BatchExecuteStatementInput" -_State = "Statements" -_BGRMa = "BatchGetRequestMap" -_DEOe = "DescribeExportOutput" -_ETI = "ExecuteTransactionInput" -_TSr = "TransactStatements" -_ETO = "ExecuteTransactionOutput" -_Res = "Responses" -_ETTPITO = "ExportTableToPointInTimeOutput" -_ICMPT = "ItemCollectionMetricsPerTable" -_SVO = "SearchVectorsOutput" -_SR = "SearchResults" -_TGIL = "TransactGetItemList" -_TGIO = "TransactGetItemsOutput" -_TCEr = "TransactionCanceledException" -_CRan = "CancellationReasons" -_DEe = "DescribeExport" -_BGII = "BatchGetItemInput" -_RIe = "RequestItems" -_EAVx = "ExpectedAttributeValue" -_Ex = "Exists" -_TGII = "TransactGetItemsInput" -_TIr = "TransactItems" -_TWIO = "TransactWriteItemsOutput" -_CCo = "ConditionCheck" -_Pu = "Put" -_SVI = "SearchVectorsInput" -_SV = "SearchVector" -_SCE = "SearchConditionExpression" -_TKo = "TopK" -_BSRa = "BatchStatementResponse" -_Er = "Error" -_DIOe = "DeleteItemOutput" -_At = "Attributes" -_ESO = "ExecuteStatementOutput" -_Ite = "Items" -_LEK = "LastEvaluatedKey" -_EAM = "ExpectedAttributeMap" -_GI = "GetItem" -_PIOu = "PutItemOutput" -_QO = "QueryOutput" -_Cou = "Count" -_SC = "ScannedCount" -_SO = "ScanOutput" -_UIO = "UpdateItemOutput" -_WR = "WriteRequest" -_PQLBRa = "PartiQLBatchResponse" -_ETTPIT = "ExportTableToPointInTime" -_WRr = "WriteRequests" -_BESO = "BatchExecuteStatementOutput" -_BGIO = "BatchGetItemOutput" -_UK = "UnprocessedKeys" -_BWIRM = "BatchWriteItemRequestMap" -_SI = "ScanInput" -_SF = "ScanFilter" -_ESK = "ExclusiveStartKey" -_TSo = "TotalSegments" -_Seg = "Segment" -_SVe = "SearchVectors" -_sCPm = "smithy.rules#staticContextParams" -_BWII = "BatchWriteItemInput" -_DIIe = "DeleteItemInput" -_Exp = "Expected" -_RVe = "ReturnValues" -_ESxe = "ExecuteStatement" -_PII = "PutItemInput" -_ETxe = "ExecuteTransaction" -_QI = "QueryInput" -_QF = "QueryFilter" -_SIF = "ScanIndexForward" -_BES = "BatchExecuteStatement" -_TGIr = "TransactGetItems" -_BGI = "BatchGetItem" -_BWIO = "BatchWriteItemOutput" -_UI = "UnprocessedItems" -_UII = "UpdateItemInput" -_Sca = "Scan" -_Q = "Query" -_DIel = "DeleteItem" -_PI = "PutItem" -_TWI = "TransactWriteItem" -_UIp = "UpdateItem" -_BWI = "BatchWriteItem" -_TWIL = "TransactWriteItemList" -_TWII = "TransactWriteItemsInput" -_TWIr = "TransactWriteItems" -_D_ = "DynamoDB_20120810" -_a = "aws.auth#sigv4" -_a_ = "aws.protocols#awsJson1_0" -_aw = "aws.api#service" -_sN = "smithy.api#xmlNamespace" - -APPROXIMATE_CREATION_DATE_TIME_PRECISION: StaticSchema = ( - 14, - n0, - _ACDTP, - 0, - (_MILLISECOND, _MICROSECOND), - ((-1, {_sV: _MILLISECOND}), (-1, {_sV: _MICROSECOND})), -) - -ARCHIVAL_REASON: StaticSchema = (3, n0, _AR, 0) - -BACKUP_ARN: StaticSchema = (3, n0, _BA, 0) - -DATE: StaticSchema = (4, n0, _D, 0) - -ARCHIVAL_SUMMARY: StaticSchema = ( - 18, - n0, - _AS, - 0, - (_ADT, _AR, _ABA), - ((DATE, 0), (ARCHIVAL_REASON, 0), (BACKUP_ARN, 0)), -) - -ATTRIBUTE_ACTION: StaticSchema = ( - 14, - n0, - _AA, - 0, - (_ADD, _PUT, _DELETE), - ((-1, {_sV: _ADD}), (-1, {_sV: _PUT}), (-1, {_sV: _DELETE})), -) - -KEY_SCHEMA_ATTRIBUTE_NAME: StaticSchema = (3, n0, _KSAN, 0) - -SCALAR_ATTRIBUTE_TYPE: StaticSchema = ( - 14, - n0, - _SAT, - 0, - (_S, _N, _B), - ((-1, {_sV: _S}), (-1, {_sV: _N}), (-1, {_sV: _B})), -) - -ATTRIBUTE_DEFINITION: StaticSchema = ( - 18, - n0, - _AD, - 0, - (_AN, _AT), - ((KEY_SCHEMA_ATTRIBUTE_NAME, 1), (SCALAR_ATTRIBUTE_TYPE, 1)), -) - -ATTRIBUTE_DEFINITIONS: StaticSchema = ( - 16, - n0, - _ADt, - 0, - (_m,), - ((ATTRIBUTE_DEFINITION, 0),), -) - -ATTRIBUTE_NAME: StaticSchema = (3, n0, _AN, 0) - -BINARY_ATTRIBUTE_VALUE: StaticSchema = (1, n0, _BAV, 0) - -BOOLEAN_ATTRIBUTE_VALUE: StaticSchema = (2, n0, _BAVo, 0) - -BINARY_SET_ATTRIBUTE_VALUE: StaticSchema = ( - 16, - n0, - _BSAV, - 0, - (_m,), - ((BINARY_ATTRIBUTE_VALUE, 0),), -) - -NUMBER_ATTRIBUTE_VALUE: StaticSchema = (3, n0, _NAV, 0) - -NUMBER_SET_ATTRIBUTE_VALUE: StaticSchema = ( - 16, - n0, - _NSAV, - 0, - (_m,), - ((NUMBER_ATTRIBUTE_VALUE, 0),), -) - -NULL_ATTRIBUTE_VALUE: StaticSchema = (2, n0, _NAVu, 0) - -STRING_ATTRIBUTE_VALUE: StaticSchema = (3, n0, _SAV, 0) - -STRING_SET_ATTRIBUTE_VALUE: StaticSchema = ( - 16, - n0, - _SSAV, - 0, - (_m,), - ((STRING_ATTRIBUTE_VALUE, 0),), -) - -ATTRIBUTE_NAME_LIST: StaticSchema = (16, n0, _ANL, 0, (_m,), ((ATTRIBUTE_NAME, 0),)) - -AUTO_SCALING_POLICY_NAME: StaticSchema = (3, n0, _ASPN, 0) - -BOOLEAN_OBJECT: StaticSchema = (2, n0, _BO, 0) - -INTEGER_OBJECT: StaticSchema = (7, n0, _IO, 0) - -DOUBLE_OBJECT: StaticSchema = (10, n0, _DO, 0) - -AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_DESCRIPTION: StaticSchema = ( - 18, - n0, - _ASTTSPCD, - 0, - (_DSI, _SIC, _SOC, _TV), - ((BOOLEAN_OBJECT, 0), (INTEGER_OBJECT, 0), (INTEGER_OBJECT, 0), (DOUBLE_OBJECT, 1)), -) - -AUTO_SCALING_POLICY_DESCRIPTION: StaticSchema = ( - 18, - n0, - _ASPD, - 0, - (_PN, _TTSPC), - ( - (AUTO_SCALING_POLICY_NAME, 0), - (AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_DESCRIPTION, 0), - ), -) - -AUTO_SCALING_POLICY_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _ASPDL, - 0, - (_m,), - ((AUTO_SCALING_POLICY_DESCRIPTION, 0),), -) - -AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_UPDATE: StaticSchema = ( - 18, - n0, - _ASTTSPCU, - 0, - (_DSI, _SIC, _SOC, _TV), - ((BOOLEAN_OBJECT, 0), (INTEGER_OBJECT, 0), (INTEGER_OBJECT, 0), (DOUBLE_OBJECT, 1)), -) - -AUTO_SCALING_POLICY_UPDATE: StaticSchema = ( - 18, - n0, - _ASPU, - 0, - (_PN, _TTSPC), - ( - (AUTO_SCALING_POLICY_NAME, 0), - (AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_UPDATE, 1), - ), -) - -AUTO_SCALING_ROLE_ARN: StaticSchema = (3, n0, _ASRA, 0) - -STRING: StaticSchema = (3, n0, _St, 0) - -POSITIVE_LONG_OBJECT: StaticSchema = (8, n0, _PLO, 0) - -AUTO_SCALING_SETTINGS_DESCRIPTION: StaticSchema = ( - 18, - n0, - _ASSD, - 0, - (_MU, _MUa, _ASD, _ASRA, _SP), - ( - (POSITIVE_LONG_OBJECT, 0), - (POSITIVE_LONG_OBJECT, 0), - (BOOLEAN_OBJECT, 0), - (STRING, 0), - (AUTO_SCALING_POLICY_DESCRIPTION_LIST, 0), - ), -) - -AUTO_SCALING_SETTINGS_UPDATE: StaticSchema = ( - 18, - n0, - _ASSU, - 0, - (_MU, _MUa, _ASD, _ASRA, _SPU), - ( - (POSITIVE_LONG_OBJECT, 0), - (POSITIVE_LONG_OBJECT, 0), - (BOOLEAN_OBJECT, 0), - (AUTO_SCALING_ROLE_ARN, 0), - (AUTO_SCALING_POLICY_UPDATE, 0), - ), -) - -AVAILABILITY_ERROR_MESSAGE: StaticSchema = (3, n0, _AEM, 0) - -BACKFILLING: StaticSchema = (2, n0, _Ba, 0) - -BACKUP_CREATION_DATE_TIME: StaticSchema = (4, n0, _BCDT, 0) - -BACKUP_NAME: StaticSchema = (3, n0, _BN, 0) - -BACKUP_SIZE_BYTES: StaticSchema = (8, n0, _BSB, 0) - -BACKUP_STATUS: StaticSchema = ( - 14, - n0, - _BS, - 0, - (_CREATING, _DELETED, _AVAILABLE), - ((-1, {_sV: _CREATING}), (-1, {_sV: _DELETED}), (-1, {_sV: _AVAILABLE})), -) - -BACKUP_TYPE: StaticSchema = ( - 14, - n0, - _BT, - 0, - (_USER, _SYSTEM, _AB), - ((-1, {_sV: _USER}), (-1, {_sV: _SYSTEM}), (-1, {_sV: _AB})), -) - -BACKUP_DETAILS: StaticSchema = ( - 18, - n0, - _BD, - 0, - (_BA, _BN, _BSB, _BS, _BT, _BCDT, _BEDT), - ( - (BACKUP_ARN, 1), - (BACKUP_NAME, 1), - (BACKUP_SIZE_BYTES, 0), - (BACKUP_STATUS, 1), - (BACKUP_TYPE, 1), - (BACKUP_CREATION_DATE_TIME, 1), - (DATE, 0), - ), -) - -BILLING_MODE: StaticSchema = ( - 14, - n0, - _BM, - 0, - (_PROVISIONED, _PPR), - ((-1, {_sV: _PROVISIONED}), (-1, {_sV: _PPR})), -) - -ITEM_COUNT: StaticSchema = (8, n0, _IC, 0) - -KEY_TYPE: StaticSchema = ( - 14, - n0, - _KT, - 0, - (_HASH, _RANGE), - ((-1, {_sV: _HASH}), (-1, {_sV: _RANGE})), -) - -KEY_SCHEMA_ELEMENT: StaticSchema = ( - 18, - n0, - _KSE, - 0, - (_AN, _KT), - ((KEY_SCHEMA_ATTRIBUTE_NAME, 1), (KEY_TYPE, 1)), -) - -KEY_SCHEMA: StaticSchema = (16, n0, _KS, 0, (_m,), ((KEY_SCHEMA_ELEMENT, 0),)) - -LONG_OBJECT: StaticSchema = (8, n0, _LO, 0) - -ON_DEMAND_THROUGHPUT: StaticSchema = ( - 18, - n0, - _ODT, - 0, - (_MRRU, _MWRU), - ((LONG_OBJECT, 0), (LONG_OBJECT, 0)), -) - -PROVISIONED_THROUGHPUT: StaticSchema = ( - 18, - n0, - _PT, - 0, - (_RCU, _WCU), - ((POSITIVE_LONG_OBJECT, 1), (POSITIVE_LONG_OBJECT, 1)), -) - -TABLE_ARN: StaticSchema = (3, n0, _TA, 0) - -TABLE_CREATION_DATE_TIME: StaticSchema = (4, n0, _TCDT, 0) - -TABLE_ID: StaticSchema = (3, n0, _TI, 0) - -TABLE_NAME: StaticSchema = (3, n0, _TN, 0) - -SOURCE_TABLE_DETAILS: StaticSchema = ( - 18, - n0, - _STD, - 0, - (_TN, _TI, _TA, _TSB, _KS, _TCDT, _PT, _ODT, _IC, _BM), - ( - (TABLE_NAME, 1), - (TABLE_ID, 1), - (TABLE_ARN, 0), - (LONG_OBJECT, 0), - (KEY_SCHEMA, 1), - (TABLE_CREATION_DATE_TIME, 1), - (PROVISIONED_THROUGHPUT, 1), - (ON_DEMAND_THROUGHPUT, 0), - (ITEM_COUNT, 0), - (BILLING_MODE, 0), - ), -) - -INDEX_NAME: StaticSchema = (3, n0, _IN, 0) - -NON_KEY_ATTRIBUTE_NAME: StaticSchema = (3, n0, _NKAN, 0) - -NON_KEY_ATTRIBUTE_NAME_LIST: StaticSchema = ( - 16, - n0, - _NKANL, - 0, - (_m,), - ((NON_KEY_ATTRIBUTE_NAME, 0),), -) - -PROJECTION_TYPE: StaticSchema = ( - 14, - n0, - _PTr, - 0, - (_ALL, _KO, _INCLUDE), - ((-1, {_sV: _ALL}), (-1, {_sV: _KO}), (-1, {_sV: _INCLUDE})), -) - -PROJECTION: StaticSchema = ( - 18, - n0, - _P, - 0, - (_PTr, _NKA), - ((PROJECTION_TYPE, 0), (NON_KEY_ATTRIBUTE_NAME_LIST, 0)), -) - -GLOBAL_SECONDARY_INDEX_INFO: StaticSchema = ( - 18, - n0, - _GSII, - 0, - (_IN, _KS, _P, _PT, _ODT), - ( - (INDEX_NAME, 0), - (KEY_SCHEMA, 0), - (PROJECTION, 0), - (PROVISIONED_THROUGHPUT, 0), - (ON_DEMAND_THROUGHPUT, 0), - ), -) - -GLOBAL_SECONDARY_INDEXES: StaticSchema = ( - 16, - n0, - _GSI, - 0, - (_m,), - ((GLOBAL_SECONDARY_INDEX_INFO, 0),), -) - -LOCAL_SECONDARY_INDEX_INFO: StaticSchema = ( - 18, - n0, - _LSII, - 0, - (_IN, _KS, _P), - ((INDEX_NAME, 0), (KEY_SCHEMA, 0), (PROJECTION, 0)), -) - -LOCAL_SECONDARY_INDEXES: StaticSchema = ( - 16, - n0, - _LSI, - 0, - (_m,), - ((LOCAL_SECONDARY_INDEX_INFO, 0),), -) - -KMS_MASTER_KEY_ARN: StaticSchema = (3, n0, _KMSMKA, 0) - -SSE_TYPE: StaticSchema = ( - 14, - n0, - _SSET, - 0, - (_AES, _KMS), - ((-1, {_sV: _AES}), (-1, {_sV: _KMS})), -) - -SSE_STATUS: StaticSchema = ( - 14, - n0, - _SSES, - 0, - (_ENABLING, _ENABLED, _DISABLING, _DISABLED, _UPDATING), - ( - (-1, {_sV: _ENABLING}), - (-1, {_sV: _ENABLED}), - (-1, {_sV: _DISABLING}), - (-1, {_sV: _DISABLED}), - (-1, {_sV: _UPDATING}), - ), -) - -SSE_DESCRIPTION: StaticSchema = ( - 18, - n0, - _SSED, - 0, - (_Sta, _SSET, _KMSMKA, _IEDT), - ((SSE_STATUS, 0), (SSE_TYPE, 0), (KMS_MASTER_KEY_ARN, 0), (DATE, 0)), -) - -STREAM_ENABLED: StaticSchema = (2, n0, _SE, 0) - -STREAM_VIEW_TYPE: StaticSchema = ( - 14, - n0, - _SVT, - 0, - (_NI, _OI, _NAOI, _KO), - ((-1, {_sV: _NI}), (-1, {_sV: _OI}), (-1, {_sV: _NAOI}), (-1, {_sV: _KO})), -) - -STREAM_SPECIFICATION: StaticSchema = ( - 18, - n0, - _SS, - 0, - (_SE, _SVT), - ((STREAM_ENABLED, 1), (STREAM_VIEW_TYPE, 0)), -) - -TIME_TO_LIVE_ATTRIBUTE_NAME: StaticSchema = (3, n0, _TTLAN, 0) - -TIME_TO_LIVE_STATUS: StaticSchema = ( - 14, - n0, - _TTLS, - 0, - (_ENABLING, _DISABLING, _ENABLED, _DISABLED), - ( - (-1, {_sV: _ENABLING}), - (-1, {_sV: _DISABLING}), - (-1, {_sV: _ENABLED}), - (-1, {_sV: _DISABLED}), - ), -) - -TIME_TO_LIVE_DESCRIPTION: StaticSchema = ( - 18, - n0, - _TTLD, - 0, - (_TTLS, _AN), - ((TIME_TO_LIVE_STATUS, 0), (TIME_TO_LIVE_ATTRIBUTE_NAME, 0)), -) - -VECTOR_DISTANCE_FUNCTION: StaticSchema = ( - 14, - n0, - _VDF, - 0, - (_COSINE, _DP, _EUCLIDEAN), - ((-1, {_sV: _COSINE}), (-1, {_sV: _DP}), (-1, {_sV: _EUCLIDEAN})), -) - -SEARCH_SCHEMA_ELEMENT_TYPE: StaticSchema = ( - 14, - n0, - _SSETe, - 0, - (_HASH, _IF), - ((-1, {_sV: _HASH}), (-1, {_sV: _IF})), -) - -SEARCH_SCHEMA_ELEMENT: StaticSchema = ( - 18, - n0, - _SSE, - 0, - (_AN, _SSETe), - ((ATTRIBUTE_NAME, 1), (SEARCH_SCHEMA_ELEMENT_TYPE, 1)), -) - -SEARCH_SCHEMA: StaticSchema = (16, n0, _SSe, 0, (_m,), ((SEARCH_SCHEMA_ELEMENT, 0),)) - -VECTOR_ATTRIBUTE_NAME: StaticSchema = (3, n0, _VAN, 0) - -VECTOR_ATTRIBUTE_DEFINITION: StaticSchema = ( - 18, - n0, - _VAD, - 0, - (_AN,), - ((VECTOR_ATTRIBUTE_NAME, 1),), -) - -VECTOR_INDEX_INFO: StaticSchema = ( - 18, - n0, - _VII, - 0, - (_IN, _VA, _SSe, _P, _Di, _DF), - ( - (INDEX_NAME, 0), - (VECTOR_ATTRIBUTE_DEFINITION, 0), - (SEARCH_SCHEMA, 0), - (PROJECTION, 0), - (POSITIVE_LONG_OBJECT, 0), - (VECTOR_DISTANCE_FUNCTION, 0), - ), -) - -VECTOR_INDEXES: StaticSchema = (16, n0, _VI, 0, (_m,), ((VECTOR_INDEX_INFO, 0),)) - -SOURCE_TABLE_FEATURE_DETAILS: StaticSchema = ( - 18, - n0, - _STFD, - 0, - (_LSI, _GSI, _SD, _TTLD, _SSED, _VI), - ( - (LOCAL_SECONDARY_INDEXES, 0), - (GLOBAL_SECONDARY_INDEXES, 0), - (STREAM_SPECIFICATION, 0), - (TIME_TO_LIVE_DESCRIPTION, 0), - (SSE_DESCRIPTION, 0), - (VECTOR_INDEXES, 0), - ), -) - -BACKUP_DESCRIPTION: StaticSchema = ( - 18, - n0, - _BDa, - 0, - (_BD, _STD, _STFD), - ((BACKUP_DETAILS, 0), (SOURCE_TABLE_DETAILS, 0), (SOURCE_TABLE_FEATURE_DETAILS, 0)), -) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -BACKUP_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _BIUE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -BACKUP_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _BNFE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -BACKUPS_INPUT_LIMIT: StaticSchema = (7, n0, _BIL, 0) - -BACKUP_SUMMARY: StaticSchema = ( - 18, - n0, - _BSa, - 0, - (_TN, _TI, _TA, _BA, _BN, _BCDT, _BEDT, _BS, _BT, _BSB), - ( - (TABLE_NAME, 0), - (TABLE_ID, 0), - (TABLE_ARN, 0), - (BACKUP_ARN, 0), - (BACKUP_NAME, 0), - (BACKUP_CREATION_DATE_TIME, 0), - (DATE, 0), - (BACKUP_STATUS, 0), - (BACKUP_TYPE, 0), - (BACKUP_SIZE_BYTES, 0), - ), -) - -BACKUP_SUMMARIES: StaticSchema = (16, n0, _BSac, 0, (_m,), ((BACKUP_SUMMARY, 0),)) - -BACKUP_TYPE_FILTER: StaticSchema = ( - 14, - n0, - _BTF, - 0, - (_USER, _SYSTEM, _AB, _ALL), - ((-1, {_sV: _USER}), (-1, {_sV: _SYSTEM}), (-1, {_sV: _AB}), (-1, {_sV: _ALL})), -) - -RETURN_CONSUMED_CAPACITY: StaticSchema = ( - 14, - n0, - _RCC, - 0, - (_INDEXES, _TOTAL, _NONE), - ((-1, {_sV: _INDEXES}), (-1, {_sV: _TOTAL}), (-1, {_sV: _NONE})), -) - -CONSISTENT_READ: StaticSchema = (2, n0, _CR, 0) - -RETURN_VALUES_ON_CONDITION_CHECK_FAILURE: StaticSchema = ( - 14, - n0, - _RVOCCF, - 0, - (_AO, _NONE), - ((-1, {_sV: _AO}), (-1, {_sV: _NONE})), -) - -PARTI_QL_STATEMENT: StaticSchema = (3, n0, _PQLS, 0) - -CONSUMED_CAPACITY_UNITS: StaticSchema = (10, n0, _CCU, 0) - -CAPACITY: StaticSchema = ( - 18, - n0, - _C, - 0, - (_RCU, _WCU, _CU), - ( - (CONSUMED_CAPACITY_UNITS, 0), - (CONSUMED_CAPACITY_UNITS, 0), - (CONSUMED_CAPACITY_UNITS, 0), - ), -) - -SECONDARY_INDEXES_CAPACITY_MAP: StaticSchema = ( - 17, - n0, - _SICM, - 0, - (_k, _v), - ((INDEX_NAME, 0), (CAPACITY, 0)), -) - -VECTOR_CAPACITY: StaticSchema = ( - 18, - n0, - _VC, - 0, - (_VSRB, _VWRB), - ((CONSUMED_CAPACITY_UNITS, 0), (CONSUMED_CAPACITY_UNITS, 0)), -) - -VECTOR_INDEXES_CAPACITY_MAP: StaticSchema = ( - 17, - n0, - _VICM, - 0, - (_k, _v), - ((INDEX_NAME, 0), (VECTOR_CAPACITY, 0)), -) - -CONSUMED_CAPACITY: StaticSchema = ( - 18, - n0, - _CC, - 0, - (_TN, _CU, _RCU, _WCU, _T, _LSI, _GSI, _VI), - ( - (TABLE_ARN, 0), - (CONSUMED_CAPACITY_UNITS, 0), - (CONSUMED_CAPACITY_UNITS, 0), - (CONSUMED_CAPACITY_UNITS, 0), - (CAPACITY, 0), - (SECONDARY_INDEXES_CAPACITY_MAP, 0), - (SECONDARY_INDEXES_CAPACITY_MAP, 0), - (VECTOR_INDEXES_CAPACITY_MAP, 0), - ), -) - -CONSUMED_CAPACITY_MULTIPLE: StaticSchema = ( - 16, - n0, - _CCM, - 0, - (_m,), - ((CONSUMED_CAPACITY, 0),), -) - -BATCH_STATEMENT_ERROR_CODE_ENUM: StaticSchema = ( - 14, - n0, - _BSECE, - 0, - (_CCF, _ICSLE, _RLE, _VE, _PTE, _TC, _TE, _ISE, _RNF, _ADc, _DI), - ( - (-1, {_sV: _CCF}), - (-1, {_sV: _ICSLE}), - (-1, {_sV: _RLE}), - (-1, {_sV: _VE}), - (-1, {_sV: _PTE}), - (-1, {_sV: _TC}), - (-1, {_sV: _TE}), - (-1, {_sV: _ISE}), - (-1, {_sV: _RNF}), - (-1, {_sV: _ADc}), - (-1, {_sV: _DI}), - ), -) - -INTERNAL_SERVER_ERROR: StaticSchema = ( - 18, - n0, - _ISE, - {_sm: _se}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -REASON: StaticSchema = (3, n0, _R, 0) - -RESOURCE: StaticSchema = (3, n0, _Re, 0) - -THROTTLING_REASON: StaticSchema = ( - 18, - n0, - _TR, - 0, - (_r, _re), - ((REASON, 0), (RESOURCE, 0)), -) - -THROTTLING_REASON_LIST: StaticSchema = ( - 16, - n0, - _TRL, - 0, - (_m,), - ((THROTTLING_REASON, 0),), -) - -REQUEST_LIMIT_EXCEEDED: StaticSchema = ( - 18, - n0, - _RLE, - {_sm: _c}, - (_me, _TRh), - ((ERROR_MESSAGE, 0), (THROTTLING_REASON_LIST, 0)), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TEh, - { - _sm: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "Throttling", "httpResponseCode": 400}), - }, - (_me, _tR), - ((AVAILABILITY_ERROR_MESSAGE, 0), (THROTTLING_REASON_LIST, 0)), -) - -EXPRESSION_ATTRIBUTE_NAME_VARIABLE: StaticSchema = (3, n0, _EANV, 0) - -EXPRESSION_ATTRIBUTE_NAME_MAP: StaticSchema = ( - 17, - n0, - _EANM, - 0, - (_k, _v), - ((EXPRESSION_ATTRIBUTE_NAME_VARIABLE, 0), (ATTRIBUTE_NAME, 0)), -) - -PROJECTION_EXPRESSION: StaticSchema = (3, n0, _PE, 0) - -INVALID_ENDPOINT_EXCEPTION: StaticSchema = ( - 18, - n0, - _IEE, - {_sm: _c, _sE: 421}, - (_M,), - ((STRING, 0),), -) - -PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _PTEE, - {_sm: _c}, - (_me, _TRh), - ((ERROR_MESSAGE, 0), (THROTTLING_REASON_LIST, 0)), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -RETURN_ITEM_COLLECTION_METRICS: StaticSchema = ( - 14, - n0, - _RICM, - 0, - (_SIZE, _NONE), - ((-1, {_sV: _SIZE}), (-1, {_sV: _NONE})), -) - -ITEM_COLLECTION_SIZE_ESTIMATE_BOUND: StaticSchema = (10, n0, _ICSEB, 0) - -ITEM_COLLECTION_SIZE_ESTIMATE_RANGE: StaticSchema = ( - 16, - n0, - _ICSER, - 0, - (_m,), - ((ITEM_COLLECTION_SIZE_ESTIMATE_BOUND, 0),), -) - -ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ICSLEE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -REPLICATED_WRITE_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _RWCE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -BILLED_SIZE_BYTES: StaticSchema = (8, n0, _BSBi, 0) - -BILLING_MODE_SUMMARY: StaticSchema = ( - 18, - n0, - _BMS, - 0, - (_BM, _LUTPPRDT), - ((BILLING_MODE, 0), (DATE, 0)), -) - -BULK_OPERATION_ARN: StaticSchema = (3, n0, _BOA, 0) - -NON_NEGATIVE_LONG_OBJECT: StaticSchema = (8, n0, _NNLO, 0) - -BULK_OPERATION_BYTES: StaticSchema = ( - 18, - n0, - _BOB, - 0, - (_BPB,), - ((NON_NEGATIVE_LONG_OBJECT, 0),), -) - -BULK_OPERATION_STATUS: StaticSchema = ( - 14, - n0, - _BOS, - 0, - (_IP, _COMPLETED, _CWE, _CANCELLING, _CANCELLED, _FAILED), - ( - (-1, {_sV: _IP}), - (-1, {_sV: _COMPLETED}), - (-1, {_sV: _CWE}), - (-1, {_sV: _CANCELLING}), - (-1, {_sV: _CANCELLED}), - (-1, {_sV: _FAILED}), - ), -) - -SECONDARY_INDEXES_BULK_BYTES_MAP: StaticSchema = ( - 17, - n0, - _SIBBM, - 0, - (_k, _v), - ((INDEX_NAME, 0), (BULK_OPERATION_BYTES, 0)), -) - -BULK_OPERATION_VECTOR_BYTES: StaticSchema = ( - 18, - n0, - _BOVB, - 0, - (_BPVB,), - ((NON_NEGATIVE_LONG_OBJECT, 0),), -) - -VECTOR_INDEXES_BULK_VECTOR_BYTES_MAP: StaticSchema = ( - 17, - n0, - _VIBVBM, - 0, - (_k, _v), - ((INDEX_NAME, 0), (BULK_OPERATION_VECTOR_BYTES, 0)), -) - -BULK_OPERATION_USAGE: StaticSchema = ( - 18, - n0, - _BOU, - 0, - (_TN, _BPB, _T, _LSI, _GSI, _VI), - ( - (TABLE_ARN, 0), - (NON_NEGATIVE_LONG_OBJECT, 0), - (BULK_OPERATION_BYTES, 0), - (SECONDARY_INDEXES_BULK_BYTES_MAP, 0), - (SECONDARY_INDEXES_BULK_BYTES_MAP, 0), - (VECTOR_INDEXES_BULK_VECTOR_BYTES_MAP, 0), - ), -) - -BULK_OPERATION_USAGE_MULTIPLE: StaticSchema = ( - 16, - n0, - _BOUM, - 0, - (_m,), - ((BULK_OPERATION_USAGE, 0),), -) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) - -BULK_OPERATION_END_TIME: StaticSchema = (4, n0, _BOET, 0) - -BULK_OPERATION_ITEM_COUNT: StaticSchema = (8, n0, _BOIC, {_smi: 0}) - -FAILURE_CODE: StaticSchema = (3, n0, _FC, 0) - -FAILURE_MESSAGE: StaticSchema = (3, n0, _FM, 0) - -INPUT_COMPRESSION_TYPE: StaticSchema = ( - 14, - n0, - _ICT, - 0, - (_GZIP, _ZSTD, _NONE), - ((-1, {_sV: _GZIP}), (-1, {_sV: _ZSTD}), (-1, {_sV: _NONE})), -) - -BULK_OPERATION_INPUT_FORMAT: StaticSchema = ( - 14, - n0, - _BOIF, - 0, - (_DJ, _ION), - ((-1, {_sV: _DJ}), (-1, {_sV: _ION})), -) - -S3_BUCKET: StaticSchema = (3, n0, _SB, 0) - -S3_BUCKET_OWNER: StaticSchema = (3, n0, _SBO, 0) - -S3_PREFIX: StaticSchema = (3, n0, _SPr, 0) - -INPUT_S3_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ISC, - 0, - (_SBO, _SB, _SKP, _IFn, _ICT), - ( - (S3_BUCKET_OWNER, 0), - (S3_BUCKET, 1), - (S3_PREFIX, 0), - (BULK_OPERATION_INPUT_FORMAT, 1), - (INPUT_COMPRESSION_TYPE, 0), - ), -) - -BULK_OPERATION_MAX_WRITE_REQUEST_UNITS: StaticSchema = (8, n0, _BOMWRU, 0) - -OUTPUT_TYPE_ENUM: StaticSchema = ( - 14, - n0, - _OTE, - 0, - (_ERROR, _CCF_), - ((-1, {_sV: _ERROR}), (-1, {_sV: _CCF_})), -) - -OUTPUT_TYPE_LIST: StaticSchema = (16, n0, _OTL, 0, (_m,), ((OUTPUT_TYPE_ENUM, 0),)) - -S3_SSE_ALGORITHM: StaticSchema = ( - 14, - n0, - _SSA, - 0, - (_AES, _KMS), - ((-1, {_sV: _AES}), (-1, {_sV: _KMS})), -) - -S3_SSE_KMS_KEY_ID: StaticSchema = (3, n0, _SSKKI, 0) - -OUTPUT_S3_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OSC, - 0, - (_SBO, _SB, _SKP, _SSA, _SSKKI, _OT), - ( - (S3_BUCKET_OWNER, 0), - (S3_BUCKET, 0), - (S3_PREFIX, 0), - (S3_SSE_ALGORITHM, 0), - (S3_SSE_KMS_KEY_ID, 0), - (OUTPUT_TYPE_LIST, 1), - ), -) - -BULK_OPERATION_PERFORMANCE_TIER: StaticSchema = ( - 14, - n0, - _BOPT, - 0, - (_STANDARD, _ACCELERATED), - ((-1, {_sV: _STANDARD}), (-1, {_sV: _ACCELERATED})), -) - -PROCESSED_INPUT_BYTES: StaticSchema = (8, n0, _PIB, 0) - -BULK_OPERATION_START_TIME: StaticSchema = (4, n0, _BOST, 0) - -BULK_OPERATION_TABLE_DETAIL: StaticSchema = ( - 18, - n0, - _BOTD, - 0, - (_TN, _TI), - ((TABLE_ARN, 0), (TABLE_ID, 0)), -) - -BULK_OPERATION_TABLE_DETAILS: StaticSchema = ( - 16, - n0, - _BOTDu, - 0, - (_m,), - ((BULK_OPERATION_TABLE_DETAIL, 0),), -) - -TOTAL_INPUT_BYTES: StaticSchema = (8, n0, _TIB, 0) - -BULK_OPERATION_DESCRIPTION: StaticSchema = ( - 18, - n0, - _BOD, - 0, - ( - _BOA, - _BOS, - _TD, - _CT, - _ISC, - _OSC, - _ST, - _ET, - _PIC, - _PIB, - _TIB, - _BOU, - _FIC, - _FC, - _FM, - _MWRU, - _PTe, - ), - ( - (BULK_OPERATION_ARN, 0), - (BULK_OPERATION_STATUS, 0), - (BULK_OPERATION_TABLE_DETAILS, 0), - (CLIENT_TOKEN, 0), - (INPUT_S3_CONFIGURATION, 0), - (OUTPUT_S3_CONFIGURATION, 0), - (BULK_OPERATION_START_TIME, 0), - (BULK_OPERATION_END_TIME, 0), - (BULK_OPERATION_ITEM_COUNT, {_smi: 0}), - (PROCESSED_INPUT_BYTES, 0), - (TOTAL_INPUT_BYTES, 0), - (BULK_OPERATION_USAGE_MULTIPLE, 0), - (BULK_OPERATION_ITEM_COUNT, {_smi: 0}), - (FAILURE_CODE, 0), - (FAILURE_MESSAGE, 0), - (BULK_OPERATION_MAX_WRITE_REQUEST_UNITS, 0), - (BULK_OPERATION_PERFORMANCE_TIER, 0), - ), -) - -BULK_OPERATION_NEXT_TOKEN: StaticSchema = (3, n0, _BONT, 0) - -BULK_OPERATION_SUMMARY: StaticSchema = ( - 18, - n0, - _BOSu, - 0, - (_BOA, _BOS, _ST, _ET), - ( - (BULK_OPERATION_ARN, 1), - (BULK_OPERATION_STATUS, 1), - (BULK_OPERATION_START_TIME, 1), - (BULK_OPERATION_END_TIME, 0), - ), -) - -BULK_OPERATIONS_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _BOSL, - 0, - (_m,), - ((BULK_OPERATION_SUMMARY, 0),), -) - -CANCEL_BULK_OPERATION_INPUT: StaticSchema = ( - 18, - n0, - _CBOI, - {_smit: None}, - (_BOA,), - ((BULK_OPERATION_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -CANCEL_BULK_OPERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CBOO, - {_smith: None}, - (_BOA, _BOS), - ((BULK_OPERATION_ARN, 1), (BULK_OPERATION_STATUS, 1)), -) - -CANCEL_BULK_OPERATION: StaticOperationSchema = ( - 23, - n0, - _CBO, - 0, - CANCEL_BULK_OPERATION_INPUT, - CANCEL_BULK_OPERATION_OUTPUT, - (INVALID_ENDPOINT_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION), -) - -CODE: StaticSchema = (3, n0, _Co, 0) - -CLIENT_REQUEST_TOKEN: StaticSchema = (3, n0, _CRT, 0) - -CLOUD_WATCH_LOG_GROUP_ARN: StaticSchema = (3, n0, _CWLGA, 0) - -COMPARISON_OPERATOR: StaticSchema = ( - 14, - n0, - _CO, - 0, - (_EQ, _NE, _IN_, _LE, _LT, _GE, _GT, _BETWEEN, _NN, _NULL, _CONTAINS, _NC, _BW), - ( - (-1, {_sV: _EQ}), - (-1, {_sV: _NE}), - (-1, {_sV: _IN_}), - (-1, {_sV: _LE}), - (-1, {_sV: _LT}), - (-1, {_sV: _GE}), - (-1, {_sV: _GT}), - (-1, {_sV: _BETWEEN}), - (-1, {_sV: _NN}), - (-1, {_sV: _NULL}), - (-1, {_sV: _CONTAINS}), - (-1, {_sV: _NC}), - (-1, {_sV: _BW}), - ), -) - -CONDITIONAL_OPERATOR: StaticSchema = ( - 14, - n0, - _COo, - 0, - (_AND, _OR), - ((-1, {_sV: _AND}), (-1, {_sV: _OR})), -) - -CONDITION_EXPRESSION: StaticSchema = (3, n0, _CE, 0) - -EXPRESSION_ATTRIBUTE_VALUE_VARIABLE: StaticSchema = (3, n0, _EAVV, 0) - -CONFIRM_REMOVE_SELF_RESOURCE_ACCESS: StaticSchema = (2, n0, _CRSRA, {_smi: False}) - -CONTINUOUS_BACKUPS_STATUS: StaticSchema = ( - 14, - n0, - _CBS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -POINT_IN_TIME_RECOVERY_STATUS: StaticSchema = ( - 14, - n0, - _PITRS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -RECOVERY_PERIOD_IN_DAYS: StaticSchema = (7, n0, _RPID, 0) - -POINT_IN_TIME_RECOVERY_DESCRIPTION: StaticSchema = ( - 18, - n0, - _PITRD, - 0, - (_PITRS, _RPID, _ERDT, _LRDT), - ( - (POINT_IN_TIME_RECOVERY_STATUS, 0), - (RECOVERY_PERIOD_IN_DAYS, 0), - (DATE, 0), - (DATE, 0), - ), -) - -CONTINUOUS_BACKUPS_DESCRIPTION: StaticSchema = ( - 18, - n0, - _CBD, - 0, - (_CBS, _PITRD), - ((CONTINUOUS_BACKUPS_STATUS, 1), (POINT_IN_TIME_RECOVERY_DESCRIPTION, 0)), -) - -CONTINUOUS_BACKUPS_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _CBUE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -CONTRIBUTOR_INSIGHTS_ACTION: StaticSchema = ( - 14, - n0, - _CIA, - 0, - (_ENABLE, _DISABLE), - ((-1, {_sV: _ENABLE}), (-1, {_sV: _DISABLE})), -) - -CONTRIBUTOR_INSIGHTS_MODE: StaticSchema = ( - 14, - n0, - _CIM, - 0, - (_AATK, _TK), - ((-1, {_sV: _AATK}), (-1, {_sV: _TK})), -) - -CONTRIBUTOR_INSIGHTS_RULE: StaticSchema = (3, n0, _CIR, 0) - -CONTRIBUTOR_INSIGHTS_RULE_LIST: StaticSchema = ( - 16, - n0, - _CIRL, - 0, - (_m,), - ((CONTRIBUTOR_INSIGHTS_RULE, 0),), -) - -CONTRIBUTOR_INSIGHTS_STATUS: StaticSchema = ( - 14, - n0, - _CIS, - 0, - (_ENABLING, _ENABLED, _DISABLING, _DISABLED, _FAILED), - ( - (-1, {_sV: _ENABLING}), - (-1, {_sV: _ENABLED}), - (-1, {_sV: _DISABLING}), - (-1, {_sV: _DISABLED}), - (-1, {_sV: _FAILED}), - ), -) - -CONTRIBUTOR_INSIGHTS_SUMMARY: StaticSchema = ( - 18, - n0, - _CISo, - 0, - (_TN, _IN, _CIS, _CIM), - ( - (TABLE_NAME, 0), - (INDEX_NAME, 0), - (CONTRIBUTOR_INSIGHTS_STATUS, 0), - (CONTRIBUTOR_INSIGHTS_MODE, 0), - ), -) - -CONTRIBUTOR_INSIGHTS_SUMMARIES: StaticSchema = ( - 16, - n0, - _CISon, - 0, - (_m,), - ((CONTRIBUTOR_INSIGHTS_SUMMARY, 0),), -) - -CREATE_BACKUP_INPUT: StaticSchema = ( - 18, - n0, - _CBI, - {_smit: None}, - (_TN, _BN), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (BACKUP_NAME, 1), - ), -) - -CREATE_BACKUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CBOr, - {_smith: None}, - (_BD,), - ((BACKUP_DETAILS, 0),), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -TABLE_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _TIUE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -TABLE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _TNFE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_BACKUP: StaticOperationSchema = ( - 23, - n0, - _CB, - 0, - CREATE_BACKUP_INPUT, - CREATE_BACKUP_OUTPUT, - ( - BACKUP_IN_USE_EXCEPTION, - CONTINUOUS_BACKUPS_UNAVAILABLE_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TABLE_IN_USE_EXCEPTION, - TABLE_NOT_FOUND_EXCEPTION, - ), -) - -WARM_THROUGHPUT: StaticSchema = ( - 18, - n0, - _WT, - 0, - (_RUPS, _WUPS), - ((LONG_OBJECT, 0), (LONG_OBJECT, 0)), -) - -CREATE_GLOBAL_SECONDARY_INDEX_ACTION: StaticSchema = ( - 18, - n0, - _CGSIA, - 0, - (_IN, _KS, _P, _PT, _ODT, _WT), - ( - (INDEX_NAME, 1), - (KEY_SCHEMA, 1), - (PROJECTION, 1), - (PROVISIONED_THROUGHPUT, 0), - (ON_DEMAND_THROUGHPUT, 0), - (WARM_THROUGHPUT, 0), - ), -) - -REGION_NAME: StaticSchema = (3, n0, _RN, 0) - -REPLICA: StaticSchema = (18, n0, _Rep, 0, (_RN,), ((REGION_NAME, 0),)) - -REPLICA_LIST: StaticSchema = (16, n0, _RL, 0, (_m,), ((REPLICA, 0),)) - -CREATE_GLOBAL_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _CGTI, - {_smit: None}, - (_GTN, _RG), - ( - (TABLE_NAME, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (REPLICA_LIST, 1), - ), -) - -GLOBAL_TABLE_ARN_STRING: StaticSchema = (3, n0, _GTAS, 0) - -GLOBAL_TABLE_STATUS: StaticSchema = ( - 14, - n0, - _GTS, - 0, - (_CREATING, _ACTIVE, _DELETING, _UPDATING), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _UPDATING}), - ), -) - -ON_DEMAND_THROUGHPUT_OVERRIDE: StaticSchema = ( - 18, - n0, - _ODTO, - 0, - (_MRRU,), - ((LONG_OBJECT, 0),), -) - -PROVISIONED_THROUGHPUT_OVERRIDE: StaticSchema = ( - 18, - n0, - _PTO, - 0, - (_RCU,), - ((POSITIVE_LONG_OBJECT, 0),), -) - -INDEX_STATUS: StaticSchema = ( - 14, - n0, - _IS, - 0, - (_CREATING, _UPDATING, _DELETING, _ACTIVE), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _ACTIVE}), - ), -) - -GLOBAL_SECONDARY_INDEX_WARM_THROUGHPUT_DESCRIPTION: StaticSchema = ( - 18, - n0, - _GSIWTD, - 0, - (_RUPS, _WUPS, _Sta), - ((POSITIVE_LONG_OBJECT, 0), (POSITIVE_LONG_OBJECT, 0), (INDEX_STATUS, 0)), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION: StaticSchema = ( - 18, - n0, - _RGSID, - 0, - (_IN, _PTO, _ODTO, _WT), - ( - (INDEX_NAME, 0), - (PROVISIONED_THROUGHPUT_OVERRIDE, 0), - (ON_DEMAND_THROUGHPUT_OVERRIDE, 0), - (GLOBAL_SECONDARY_INDEX_WARM_THROUGHPUT_DESCRIPTION, 0), - ), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _RGSIDL, - 0, - (_m,), - ((REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION, 0),), -) - -GLOBAL_TABLE_SETTINGS_REPLICATION_MODE: StaticSchema = ( - 14, - n0, - _GTSRM, - 0, - (_ENABLED, _DISABLED, _EWO), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _EWO})), -) - -KMS_MASTER_KEY_ID: StaticSchema = (3, n0, _KMSMKI, 0) - -REPLICA_STATUS: StaticSchema = ( - 14, - n0, - _RS, - 0, - ( - _CREATING, - _CF, - _UPDATING, - _DELETING, - _ACTIVE, - _RD, - _IEC, - _ARCHIVING, - _ARCHIVED, - _RNA, - ), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _CF}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _RD}), - (-1, {_sV: _IEC}), - (-1, {_sV: _ARCHIVING}), - (-1, {_sV: _ARCHIVED}), - (-1, {_sV: _RNA}), - ), -) - -REPLICA_STATUS_DESCRIPTION: StaticSchema = (3, n0, _RSD, 0) - -REPLICA_STATUS_PERCENT_PROGRESS: StaticSchema = (3, n0, _RSPP, 0) - -TABLE_CLASS: StaticSchema = ( - 14, - n0, - _TCa, - 0, - (_STANDARD, _SIA), - ((-1, {_sV: _STANDARD}), (-1, {_sV: _SIA})), -) - -TABLE_CLASS_SUMMARY: StaticSchema = ( - 18, - n0, - _TCS, - 0, - (_TCa, _LUDT), - ((TABLE_CLASS, 0), (DATE, 0)), -) - -TABLE_STATUS: StaticSchema = ( - 14, - n0, - _TS, - 0, - (_CREATING, _UPDATING, _DELETING, _ACTIVE, _IEC, _ARCHIVING, _ARCHIVED, _RNA), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _IEC}), - (-1, {_sV: _ARCHIVING}), - (-1, {_sV: _ARCHIVED}), - (-1, {_sV: _RNA}), - ), -) - -TABLE_WARM_THROUGHPUT_DESCRIPTION: StaticSchema = ( - 18, - n0, - _TWTD, - 0, - (_RUPS, _WUPS, _Sta), - ((POSITIVE_LONG_OBJECT, 0), (POSITIVE_LONG_OBJECT, 0), (TABLE_STATUS, 0)), -) - -REPLICA_DESCRIPTION: StaticSchema = ( - 18, - n0, - _RDe, - 0, - (_RN, _RS, _RA, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM), - ( - (REGION_NAME, 0), - (REPLICA_STATUS, 0), - (STRING, 0), - (REPLICA_STATUS_DESCRIPTION, 0), - (REPLICA_STATUS_PERCENT_PROGRESS, 0), - (KMS_MASTER_KEY_ID, 0), - (PROVISIONED_THROUGHPUT_OVERRIDE, 0), - (ON_DEMAND_THROUGHPUT_OVERRIDE, 0), - (TABLE_WARM_THROUGHPUT_DESCRIPTION, 0), - (REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST, 0), - (DATE, 0), - (TABLE_CLASS_SUMMARY, 0), - (GLOBAL_TABLE_SETTINGS_REPLICATION_MODE, 0), - ), -) - -REPLICA_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _RDL, - 0, - (_m,), - ((REPLICA_DESCRIPTION, 0),), -) - -GLOBAL_TABLE_DESCRIPTION: StaticSchema = ( - 18, - n0, - _GTD, - 0, - (_RG, _GTA, _CDT, _GTS, _GTN), - ( - (REPLICA_DESCRIPTION_LIST, 0), - (GLOBAL_TABLE_ARN_STRING, 0), - (DATE, 0), - (GLOBAL_TABLE_STATUS, 0), - (TABLE_NAME, 0), - ), -) - -CREATE_GLOBAL_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _CGTO, - {_smith: None}, - (_GTD,), - ((GLOBAL_TABLE_DESCRIPTION, 0),), -) - -GLOBAL_TABLE_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _GTAEE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_GLOBAL_TABLE: StaticOperationSchema = ( - 23, - n0, - _CGT, - 0, - CREATE_GLOBAL_TABLE_INPUT, - CREATE_GLOBAL_TABLE_OUTPUT, - ( - GLOBAL_TABLE_ALREADY_EXISTS_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TABLE_NOT_FOUND_EXCEPTION, - ), -) - -CREATE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION: StaticSchema = ( - 18, - n0, - _CGTWGMA, - 0, - (_RN,), - ((REGION_NAME, 1),), -) - -CREATE_REPLICA_ACTION: StaticSchema = (18, n0, _CRA, 0, (_RN,), ((REGION_NAME, 1),)) - -REPLICA_GLOBAL_SECONDARY_INDEX: StaticSchema = ( - 18, - n0, - _RGSI, - 0, - (_IN, _PTO, _ODTO), - ( - (INDEX_NAME, 1), - (PROVISIONED_THROUGHPUT_OVERRIDE, 0), - (ON_DEMAND_THROUGHPUT_OVERRIDE, 0), - ), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_LIST: StaticSchema = ( - 16, - n0, - _RGSIL, - 0, - (_m,), - ((REPLICA_GLOBAL_SECONDARY_INDEX, 0),), -) - -CREATE_REPLICATION_GROUP_MEMBER_ACTION: StaticSchema = ( - 18, - n0, - _CRGMA, - 0, - (_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO), - ( - (REGION_NAME, 1), - (KMS_MASTER_KEY_ID, 0), - (PROVISIONED_THROUGHPUT_OVERRIDE, 0), - (ON_DEMAND_THROUGHPUT_OVERRIDE, 0), - (REPLICA_GLOBAL_SECONDARY_INDEX_LIST, 0), - (TABLE_CLASS, 0), - ), -) - -DELETION_PROTECTION_ENABLED: StaticSchema = (2, n0, _DPE, 0) - -GLOBAL_SECONDARY_INDEX: StaticSchema = ( - 18, - n0, - _GSIl, - 0, - (_IN, _KS, _P, _PT, _ODT, _WT), - ( - (INDEX_NAME, 1), - (KEY_SCHEMA, 1), - (PROJECTION, 1), - (PROVISIONED_THROUGHPUT, 0), - (ON_DEMAND_THROUGHPUT, 0), - (WARM_THROUGHPUT, 0), - ), -) - -GLOBAL_SECONDARY_INDEX_LIST: StaticSchema = ( - 16, - n0, - _GSIL, - 0, - (_m,), - ((GLOBAL_SECONDARY_INDEX, 0),), -) - -LOCAL_SECONDARY_INDEX: StaticSchema = ( - 18, - n0, - _LSIo, - 0, - (_IN, _KS, _P), - ((INDEX_NAME, 1), (KEY_SCHEMA, 1), (PROJECTION, 1)), -) - -LOCAL_SECONDARY_INDEX_LIST: StaticSchema = ( - 16, - n0, - _LSIL, - 0, - (_m,), - ((LOCAL_SECONDARY_INDEX, 0),), -) - -RESOURCE_POLICY: StaticSchema = (3, n0, _RP, 0) - -SSE_ENABLED: StaticSchema = (2, n0, _SSEE, 0) - -SSE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _SSESp, - 0, - (_E, _SSET, _KMSMKI), - ((SSE_ENABLED, 0), (SSE_TYPE, 0), (KMS_MASTER_KEY_ID, 0)), -) - -TAG_KEY_STRING: StaticSchema = (3, n0, _TKS, 0) - -TAG_VALUE_STRING: StaticSchema = (3, n0, _TVS, 0) - -TAG: StaticSchema = ( - 18, - n0, - _Ta, - 0, - (_K, _V), - ((TAG_KEY_STRING, 1), (TAG_VALUE_STRING, 1)), -) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) - -VECTOR_INDEX: StaticSchema = ( - 18, - n0, - _VIe, - 0, - (_IN, _VA, _SSe, _P, _Di, _DF), - ( - (INDEX_NAME, 1), - (VECTOR_ATTRIBUTE_DEFINITION, 1), - (SEARCH_SCHEMA, 0), - (PROJECTION, 1), - (POSITIVE_LONG_OBJECT, 1), - (VECTOR_DISTANCE_FUNCTION, 1), - ), -) - -VECTOR_INDEX_LIST: StaticSchema = (16, n0, _VIL, 0, (_m,), ((VECTOR_INDEX, 0),)) - -CREATE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _CTI, - {_smit: None}, - ( - _ADt, - _TN, - _KS, - _LSI, - _GSI, - _BM, - _PT, - _SS, - _SSESp, - _Tag, - _TCa, - _DPE, - _WT, - _RP, - _ODT, - _GTSA, - _GTSRM, - _VI, - ), - ( - (ATTRIBUTE_DEFINITIONS, 0), - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (KEY_SCHEMA, 0), - (LOCAL_SECONDARY_INDEX_LIST, 0), - (GLOBAL_SECONDARY_INDEX_LIST, 0), - (BILLING_MODE, 0), - (PROVISIONED_THROUGHPUT, 0), - (STREAM_SPECIFICATION, 0), - (SSE_SPECIFICATION, 0), - (TAG_LIST, 0), - (TABLE_CLASS, 0), - (DELETION_PROTECTION_ENABLED, 0), - (WARM_THROUGHPUT, 0), - (RESOURCE_POLICY, 0), - (ON_DEMAND_THROUGHPUT, 0), - (TABLE_ARN, 0), - (GLOBAL_TABLE_SETTINGS_REPLICATION_MODE, 0), - (VECTOR_INDEX_LIST, 0), - ), -) - -DISASSOCIATION_PROTECTION_ENABLED: StaticSchema = (2, n0, _DPEi, 0) - -PROVISIONED_THROUGHPUT_DESCRIPTION: StaticSchema = ( - 18, - n0, - _PTD, - 0, - (_LIDT, _LDDT, _NODT, _RCU, _WCU), - ( - (DATE, 0), - (DATE, 0), - (POSITIVE_LONG_OBJECT, 0), - (NON_NEGATIVE_LONG_OBJECT, 0), - (NON_NEGATIVE_LONG_OBJECT, 0), - ), -) - -GLOBAL_SECONDARY_INDEX_DESCRIPTION: StaticSchema = ( - 18, - n0, - _GSID, - 0, - (_IN, _KS, _P, _IS, _Ba, _PT, _ISB, _IC, _IA, _ODT, _WT), - ( - (INDEX_NAME, 0), - (KEY_SCHEMA, 0), - (PROJECTION, 0), - (INDEX_STATUS, 0), - (BACKFILLING, 0), - (PROVISIONED_THROUGHPUT_DESCRIPTION, 0), - (LONG_OBJECT, 0), - (LONG_OBJECT, 0), - (STRING, 0), - (ON_DEMAND_THROUGHPUT, 0), - (GLOBAL_SECONDARY_INDEX_WARM_THROUGHPUT_DESCRIPTION, 0), - ), -) - -GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _GSIDL, - 0, - (_m,), - ((GLOBAL_SECONDARY_INDEX_DESCRIPTION, 0),), -) - -WITNESS_STATUS: StaticSchema = ( - 14, - n0, - _WS, - 0, - (_CREATING, _DELETING, _ACTIVE), - ((-1, {_sV: _CREATING}), (-1, {_sV: _DELETING}), (-1, {_sV: _ACTIVE})), -) - -GLOBAL_TABLE_WITNESS_DESCRIPTION: StaticSchema = ( - 18, - n0, - _GTWD, - 0, - (_RN, _WS), - ((REGION_NAME, 0), (WITNESS_STATUS, 0)), -) - -GLOBAL_TABLE_WITNESS_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _GTWDL, - 0, - (_m,), - ((GLOBAL_TABLE_WITNESS_DESCRIPTION, 0),), -) - -STREAM_ARN: StaticSchema = (3, n0, _SA, 0) - -LOCAL_SECONDARY_INDEX_DESCRIPTION: StaticSchema = ( - 18, - n0, - _LSID, - 0, - (_IN, _KS, _P, _ISB, _IC, _IA), - ( - (INDEX_NAME, 0), - (KEY_SCHEMA, 0), - (PROJECTION, 0), - (LONG_OBJECT, 0), - (LONG_OBJECT, 0), - (STRING, 0), - ), -) - -LOCAL_SECONDARY_INDEX_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _LSIDL, - 0, - (_m,), - ((LOCAL_SECONDARY_INDEX_DESCRIPTION, 0),), -) - -MULTI_REGION_CONSISTENCY: StaticSchema = ( - 14, - n0, - _MRC, - 0, - (_EVENTUAL, _STRONG), - ((-1, {_sV: _EVENTUAL}), (-1, {_sV: _STRONG})), -) - -RESTORE_IN_PROGRESS: StaticSchema = (2, n0, _RIP, 0) - -RESTORE_SUMMARY: StaticSchema = ( - 18, - n0, - _RSe, - 0, - (_SBA, _STA, _RDT, _RIP), - ((BACKUP_ARN, 0), (TABLE_ARN, 0), (DATE, 1), (RESTORE_IN_PROGRESS, 1)), -) - -VECTOR_INDEX_DESCRIPTION: StaticSchema = ( - 18, - n0, - _VID, - 0, - (_IN, _SSe, _P, _VA, _Di, _DF, _IS, _Ba, _ISB, _IC, _IA), - ( - (INDEX_NAME, 0), - (SEARCH_SCHEMA, 0), - (PROJECTION, 0), - (VECTOR_ATTRIBUTE_DEFINITION, 0), - (POSITIVE_LONG_OBJECT, 0), - (VECTOR_DISTANCE_FUNCTION, 0), - (INDEX_STATUS, 0), - (BACKFILLING, 0), - (LONG_OBJECT, 0), - (LONG_OBJECT, 0), - (STRING, 0), - ), -) - -VECTOR_INDEX_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _VIDL, - 0, - (_m,), - ((VECTOR_INDEX_DESCRIPTION, 0),), -) - -TABLE_DESCRIPTION: StaticSchema = ( - 18, - n0, - _TDa, - 0, - ( - _ADt, - _TN, - _KS, - _TS, - _CDT, - _PT, - _TSB, - _IC, - _TA, - _TI, - _BMS, - _LSI, - _GSI, - _SS, - _LSL, - _LSA, - _GTV, - _Repl, - _GTW, - _GTSRM, - _RSe, - _SSED, - _AS, - _TCS, - _DPE, - _DPEi, - _ODT, - _WT, - _MRC, - _VI, - ), - ( - (ATTRIBUTE_DEFINITIONS, 0), - (TABLE_NAME, 0), - (KEY_SCHEMA, 0), - (TABLE_STATUS, 0), - (DATE, 0), - (PROVISIONED_THROUGHPUT_DESCRIPTION, 0), - (LONG_OBJECT, 0), - (LONG_OBJECT, 0), - (STRING, 0), - (TABLE_ID, 0), - (BILLING_MODE_SUMMARY, 0), - (LOCAL_SECONDARY_INDEX_DESCRIPTION_LIST, 0), - (GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST, 0), - (STREAM_SPECIFICATION, 0), - (STRING, 0), - (STREAM_ARN, 0), - (STRING, 0), - (REPLICA_DESCRIPTION_LIST, 0), - (GLOBAL_TABLE_WITNESS_DESCRIPTION_LIST, 0), - (GLOBAL_TABLE_SETTINGS_REPLICATION_MODE, 0), - (RESTORE_SUMMARY, 0), - (SSE_DESCRIPTION, 0), - (ARCHIVAL_SUMMARY, 0), - (TABLE_CLASS_SUMMARY, 0), - (DELETION_PROTECTION_ENABLED, 0), - (DISASSOCIATION_PROTECTION_ENABLED, 0), - (ON_DEMAND_THROUGHPUT, 0), - (TABLE_WARM_THROUGHPUT_DESCRIPTION, 0), - (MULTI_REGION_CONSISTENCY, 0), - (VECTOR_INDEX_DESCRIPTION_LIST, 0), - ), -) - -CREATE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _CTO, - {_smith: None}, - (_TDa,), - ((TABLE_DESCRIPTION, 0),), -) - -RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _RIUE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_TABLE: StaticOperationSchema = ( - 23, - n0, - _CTr, - 0, - CREATE_TABLE_INPUT, - CREATE_TABLE_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - ), -) - -CREATE_VECTOR_INDEX_ACTION: StaticSchema = ( - 18, - n0, - _CVIA, - 0, - (_IN, _VA, _SSe, _P, _Di, _DF), - ( - (INDEX_NAME, 1), - (VECTOR_ATTRIBUTE_DEFINITION, 1), - (SEARCH_SCHEMA, 0), - (PROJECTION, 1), - (POSITIVE_LONG_OBJECT, 1), - (VECTOR_DISTANCE_FUNCTION, 1), - ), -) - -CSV_DELIMITER: StaticSchema = (3, n0, _CD, 0) - -CSV_HEADER: StaticSchema = (3, n0, _CH, 0) - -CSV_HEADER_LIST: StaticSchema = (16, n0, _CHL, 0, (_m,), ((CSV_HEADER, 0),)) - -CSV_OPTIONS: StaticSchema = ( - 18, - n0, - _COs, - 0, - (_De, _HL), - ((CSV_DELIMITER, 0), (CSV_HEADER_LIST, 0)), -) - -DELETE_BACKUP_INPUT: StaticSchema = ( - 18, - n0, - _DBI, - {_smit: None}, - (_BA,), - ((BACKUP_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -DELETE_BACKUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DBO, - {_smith: None}, - (_BDa,), - ((BACKUP_DESCRIPTION, 0),), -) - -DELETE_BACKUP: StaticOperationSchema = ( - 23, - n0, - _DB, - 0, - DELETE_BACKUP_INPUT, - DELETE_BACKUP_OUTPUT, - ( - BACKUP_IN_USE_EXCEPTION, - BACKUP_NOT_FOUND_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - ), -) - -DELETE_GLOBAL_SECONDARY_INDEX_ACTION: StaticSchema = ( - 18, - n0, - _DGSIA, - 0, - (_IN,), - ((INDEX_NAME, 1),), -) - -DELETE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION: StaticSchema = ( - 18, - n0, - _DGTWGMA, - 0, - (_RN,), - ((REGION_NAME, 1),), -) - -RETURN_VALUE: StaticSchema = ( - 14, - n0, - _RV, - 0, - (_NONE, _AO, _UO, _AN_, _UN), - ( - (-1, {_sV: _NONE}), - (-1, {_sV: _AO}), - (-1, {_sV: _UO}), - (-1, {_sV: _AN_}), - (-1, {_sV: _UN}), - ), -) - -TRANSACTION_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _TCE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -DELETE_REPLICA_ACTION: StaticSchema = (18, n0, _DRA, 0, (_RN,), ((REGION_NAME, 1),)) - -DELETE_REPLICATION_GROUP_MEMBER_ACTION: StaticSchema = ( - 18, - n0, - _DRGMA, - 0, - (_RN,), - ((REGION_NAME, 1),), -) - -POLICY_REVISION_ID: StaticSchema = (3, n0, _PRI, 0) - -RESOURCE_ARN_STRING: StaticSchema = (3, n0, _RAS, 0) - -DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_smit: None}, - (_RAe, _ERI), - ( - ( - RESOURCE_ARN_STRING, - {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, - ), - (POLICY_REVISION_ID, 0), - ), -) - -DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DRPO, - {_smith: None}, - (_RI,), - ((POLICY_REVISION_ID, 0),), -) - -POLICY_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _PNFE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -DELETE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - 0, - DELETE_RESOURCE_POLICY_INPUT, - DELETE_RESOURCE_POLICY_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - POLICY_NOT_FOUND_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DELETE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DTI, - {_smit: None}, - (_TN,), - ((TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -DELETE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTO, - {_smith: None}, - (_TDa,), - ((TABLE_DESCRIPTION, 0),), -) - -DELETE_TABLE: StaticOperationSchema = ( - 23, - n0, - _DT, - 0, - DELETE_TABLE_INPUT, - DELETE_TABLE_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DELETE_VECTOR_INDEX_ACTION: StaticSchema = ( - 18, - n0, - _DVIA, - 0, - (_IN,), - ((INDEX_NAME, 1),), -) - -DESCRIBE_BACKUP_INPUT: StaticSchema = ( - 18, - n0, - _DBIe, - {_smit: None}, - (_BA,), - ((BACKUP_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -DESCRIBE_BACKUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DBOe, - {_smith: None}, - (_BDa,), - ((BACKUP_DESCRIPTION, 0),), -) - -DESCRIBE_BACKUP: StaticOperationSchema = ( - 23, - n0, - _DBe, - 0, - DESCRIBE_BACKUP_INPUT, - DESCRIBE_BACKUP_OUTPUT, - (BACKUP_NOT_FOUND_EXCEPTION, INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION), -) - -DESCRIBE_BULK_OPERATION_INPUT: StaticSchema = ( - 18, - n0, - _DBOI, - {_smit: None}, - (_BOA,), - ((BULK_OPERATION_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -DESCRIBE_BULK_OPERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DBOO, - {_smith: None}, - (_BOD,), - ((BULK_OPERATION_DESCRIPTION, 1),), -) - -DESCRIBE_BULK_OPERATION: StaticOperationSchema = ( - 23, - n0, - _DBOes, - 0, - DESCRIBE_BULK_OPERATION_INPUT, - DESCRIBE_BULK_OPERATION_OUTPUT, - (INVALID_ENDPOINT_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION), -) - -DESCRIBE_CONTINUOUS_BACKUPS_INPUT: StaticSchema = ( - 18, - n0, - _DCBI, - {_smit: None}, - (_TN,), - ((TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -DESCRIBE_CONTINUOUS_BACKUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCBO, - {_smith: None}, - (_CBD,), - ((CONTINUOUS_BACKUPS_DESCRIPTION, 0),), -) - -DESCRIBE_CONTINUOUS_BACKUPS: StaticOperationSchema = ( - 23, - n0, - _DCB, - 0, - DESCRIBE_CONTINUOUS_BACKUPS_INPUT, - DESCRIBE_CONTINUOUS_BACKUPS_OUTPUT, - (INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION, TABLE_NOT_FOUND_EXCEPTION), -) - -DESCRIBE_CONTRIBUTOR_INSIGHTS_INPUT: StaticSchema = ( - 18, - n0, - _DCII, - {_smit: None}, - (_TN, _IN), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (INDEX_NAME, 0), - ), -) - -EXCEPTION_DESCRIPTION: StaticSchema = (3, n0, _ED, 0) - -EXCEPTION_NAME: StaticSchema = (3, n0, _EN, 0) - -FAILURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _FE, - 0, - (_EN, _ED), - ((EXCEPTION_NAME, 0), (EXCEPTION_DESCRIPTION, 0)), -) - -LAST_UPDATE_DATE_TIME: StaticSchema = (4, n0, _LUDT, 0) - -DESCRIBE_CONTRIBUTOR_INSIGHTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCIO, - {_smith: None}, - (_TN, _IN, _CIRL, _CIS, _LUDT, _FE, _CIM), - ( - (TABLE_NAME, 0), - (INDEX_NAME, 0), - (CONTRIBUTOR_INSIGHTS_RULE_LIST, 0), - (CONTRIBUTOR_INSIGHTS_STATUS, 0), - (LAST_UPDATE_DATE_TIME, 0), - (FAILURE_EXCEPTION, 0), - (CONTRIBUTOR_INSIGHTS_MODE, 0), - ), -) - -DESCRIBE_CONTRIBUTOR_INSIGHTS: StaticOperationSchema = ( - 23, - n0, - _DCI, - 0, - DESCRIBE_CONTRIBUTOR_INSIGHTS_INPUT, - DESCRIBE_CONTRIBUTOR_INSIGHTS_OUTPUT, - (INTERNAL_SERVER_ERROR, RESOURCE_NOT_FOUND_EXCEPTION), -) - -DESCRIBE_ENDPOINTS_INPUT: StaticSchema = (18, n0, _DEI, {_sSI: _cDER, _smit: None}) - -LONG: StaticSchema = (8, n0, _L, {_smi: 0}) - -ENDPOINT: StaticSchema = ( - 18, - n0, - _En, - 0, - (_A, _CPIM), - ((STRING, 1), (LONG, {_smi: 0, _s: None})), -) - -ENDPOINTS: StaticSchema = (16, n0, _End, 0, (_m,), ((ENDPOINT, 0),)) - -DESCRIBE_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DEO, - {_sSI: _cDERo, _smith: None}, - (_End,), - ((ENDPOINTS, 1),), -) - -DESCRIBE_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _DE, - 0, - DESCRIBE_ENDPOINTS_INPUT, - DESCRIBE_ENDPOINTS_OUTPUT, - (), -) - -EXPORT_ARN: StaticSchema = (3, n0, _EA, 0) - -DESCRIBE_EXPORT_INPUT: StaticSchema = ( - 18, - n0, - _DEIe, - {_smit: None}, - (_EA,), - ((EXPORT_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -EXPORT_END_TIME: StaticSchema = (4, n0, _EET, 0) - -EXPORT_FORMAT: StaticSchema = ( - 14, - n0, - _EF, - 0, - (_DJ, _ION), - ((-1, {_sV: _DJ}), (-1, {_sV: _ION})), -) - -EXPORT_MANIFEST: StaticSchema = (3, n0, _EMx, 0) - -EXPORT_STATUS: StaticSchema = ( - 14, - n0, - _ES, - 0, - (_IP, _COMPLETED, _FAILED), - ((-1, {_sV: _IP}), (-1, {_sV: _COMPLETED}), (-1, {_sV: _FAILED})), -) - -EXPORT_TIME: StaticSchema = (4, n0, _ETx, 0) - -EXPORT_TYPE: StaticSchema = ( - 14, - n0, - _ETxp, - 0, - (_FE_, _IE), - ((-1, {_sV: _FE_}), (-1, {_sV: _IE})), -) - -KEY_EXPRESSION: StaticSchema = (3, n0, _KE, 0) - -EXPORT_FROM_TIME: StaticSchema = (4, n0, _EFT, 0) - -EXPORT_TO_TIME: StaticSchema = (4, n0, _ETT, 0) - -EXPORT_VIEW_TYPE: StaticSchema = ( - 14, - n0, - _EVT, - 0, - (_NI, _NAOI), - ((-1, {_sV: _NI}), (-1, {_sV: _NAOI})), -) - -INCREMENTAL_EXPORT_SPECIFICATION: StaticSchema = ( - 18, - n0, - _IES, - 0, - (_EFT, _ETT, _EVT), - ((EXPORT_FROM_TIME, 0), (EXPORT_TO_TIME, 0), (EXPORT_VIEW_TYPE, 0)), -) - -EXPORT_START_TIME: StaticSchema = (4, n0, _EST, 0) - -EXPORT_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _ENFE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -DESCRIBE_GLOBAL_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DGTI, - {_smit: None}, - (_GTN,), - ((TABLE_NAME, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -DESCRIBE_GLOBAL_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DGTO, - {_smith: None}, - (_GTD,), - ((GLOBAL_TABLE_DESCRIPTION, 0),), -) - -GLOBAL_TABLE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _GTNFE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -DESCRIBE_GLOBAL_TABLE: StaticOperationSchema = ( - 23, - n0, - _DGT, - 0, - DESCRIBE_GLOBAL_TABLE_INPUT, - DESCRIBE_GLOBAL_TABLE_OUTPUT, - ( - GLOBAL_TABLE_NOT_FOUND_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - ), -) - -DESCRIBE_GLOBAL_TABLE_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _DGTSI, - {_smit: None}, - (_GTN,), - ((TABLE_NAME, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION: StaticSchema = ( - 18, - n0, - _RGSISD, - 0, - (_IN, _IS, _PRCU, _PRCASS, _PWCU, _PWCASS), - ( - (INDEX_NAME, 1), - (INDEX_STATUS, 0), - (POSITIVE_LONG_OBJECT, 0), - (AUTO_SCALING_SETTINGS_DESCRIPTION, 0), - (POSITIVE_LONG_OBJECT, 0), - (AUTO_SCALING_SETTINGS_DESCRIPTION, 0), - ), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _RGSISDL, - 0, - (_m,), - ((REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION, 0),), -) - -REPLICA_SETTINGS_DESCRIPTION: StaticSchema = ( - 18, - n0, - _RSDe, - 0, - (_RN, _RS, _RBMS, _RPRCU, _RPRCASS, _RPWCU, _RPWCASS, _RGSIS, _RTCS), - ( - (REGION_NAME, 1), - (REPLICA_STATUS, 0), - (BILLING_MODE_SUMMARY, 0), - (NON_NEGATIVE_LONG_OBJECT, 0), - (AUTO_SCALING_SETTINGS_DESCRIPTION, 0), - (NON_NEGATIVE_LONG_OBJECT, 0), - (AUTO_SCALING_SETTINGS_DESCRIPTION, 0), - (REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION_LIST, 0), - (TABLE_CLASS_SUMMARY, 0), - ), -) - -REPLICA_SETTINGS_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _RSDL, - 0, - (_m,), - ((REPLICA_SETTINGS_DESCRIPTION, 0),), -) - -DESCRIBE_GLOBAL_TABLE_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DGTSO, - {_smith: None}, - (_GTN, _RSep), - ((TABLE_NAME, 0), (REPLICA_SETTINGS_DESCRIPTION_LIST, 0)), -) - -DESCRIBE_GLOBAL_TABLE_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _DGTS, - 0, - DESCRIBE_GLOBAL_TABLE_SETTINGS_INPUT, - DESCRIBE_GLOBAL_TABLE_SETTINGS_OUTPUT, - ( - GLOBAL_TABLE_NOT_FOUND_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - ), -) - -IMPORT_ARN: StaticSchema = (3, n0, _IAm, 0) - -DESCRIBE_IMPORT_INPUT: StaticSchema = ( - 18, - n0, - _DII, - {_smit: None}, - (_IAm,), - ((IMPORT_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -IMPORT_END_TIME: StaticSchema = (4, n0, _IET, 0) - -ERROR_COUNT: StaticSchema = (8, n0, _EC, {_smi: 0}) - -IMPORTED_ITEM_COUNT: StaticSchema = (8, n0, _IIC, {_smi: 0}) - -IMPORT_STATUS: StaticSchema = ( - 14, - n0, - _ISm, - 0, - (_IP, _COMPLETED, _CANCELLING, _CANCELLED, _FAILED), - ( - (-1, {_sV: _IP}), - (-1, {_sV: _COMPLETED}), - (-1, {_sV: _CANCELLING}), - (-1, {_sV: _CANCELLED}), - (-1, {_sV: _FAILED}), - ), -) - -INPUT_FORMAT: StaticSchema = ( - 14, - n0, - _IFn, - 0, - (_DJ, _ION, _CSV), - ((-1, {_sV: _DJ}), (-1, {_sV: _ION}), (-1, {_sV: _CSV})), -) - -INPUT_FORMAT_OPTIONS: StaticSchema = (18, n0, _IFO, 0, (_Cs,), ((CSV_OPTIONS, 0),)) - -PROCESSED_ITEM_COUNT: StaticSchema = (8, n0, _PIC, {_smi: 0}) - -S3_BUCKET_SOURCE: StaticSchema = ( - 18, - n0, - _SBS, - 0, - (_SBO, _SB, _SKP), - ((S3_BUCKET_OWNER, 0), (S3_BUCKET, 1), (S3_PREFIX, 0)), -) - -IMPORT_START_TIME: StaticSchema = (4, n0, _IST, 0) - -TABLE_CREATION_PARAMETERS: StaticSchema = ( - 18, - n0, - _TCP, - 0, - (_TN, _ADt, _KS, _BM, _PT, _ODT, _SSESp, _GSI, _VI), - ( - (TABLE_NAME, 1), - (ATTRIBUTE_DEFINITIONS, 1), - (KEY_SCHEMA, 1), - (BILLING_MODE, 0), - (PROVISIONED_THROUGHPUT, 0), - (ON_DEMAND_THROUGHPUT, 0), - (SSE_SPECIFICATION, 0), - (GLOBAL_SECONDARY_INDEX_LIST, 0), - (VECTOR_INDEX_LIST, 0), - ), -) - -IMPORT_TABLE_DESCRIPTION: StaticSchema = ( - 18, - n0, - _ITD, - 0, - ( - _IAm, - _ISm, - _TA, - _TI, - _CT, - _SBS, - _EC, - _CWLGA, - _IFn, - _IFO, - _ICT, - _TCP, - _ST, - _ET, - _PSB, - _PIC, - _IIC, - _FC, - _FM, - ), - ( - (IMPORT_ARN, 0), - (IMPORT_STATUS, 0), - (TABLE_ARN, 0), - (TABLE_ID, 0), - (CLIENT_TOKEN, 0), - (S3_BUCKET_SOURCE, 0), - (ERROR_COUNT, {_smi: 0}), - (CLOUD_WATCH_LOG_GROUP_ARN, 0), - (INPUT_FORMAT, 0), - (INPUT_FORMAT_OPTIONS, 0), - (INPUT_COMPRESSION_TYPE, 0), - (TABLE_CREATION_PARAMETERS, 0), - (IMPORT_START_TIME, 0), - (IMPORT_END_TIME, 0), - (LONG_OBJECT, 0), - (PROCESSED_ITEM_COUNT, {_smi: 0}), - (IMPORTED_ITEM_COUNT, {_smi: 0}), - (FAILURE_CODE, 0), - (FAILURE_MESSAGE, 0), - ), -) - -DESCRIBE_IMPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _DIO, - {_smith: None}, - (_ITD,), - ((IMPORT_TABLE_DESCRIPTION, 1),), -) - -IMPORT_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _INFE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -DESCRIBE_IMPORT: StaticOperationSchema = ( - 23, - n0, - _DIe, - 0, - DESCRIBE_IMPORT_INPUT, - DESCRIBE_IMPORT_OUTPUT, - (IMPORT_NOT_FOUND_EXCEPTION,), -) - -DESCRIBE_KINESIS_STREAMING_DESTINATION_INPUT: StaticSchema = ( - 18, - n0, - _DKSDI, - {_smit: None}, - (_TN,), - ((TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -DESTINATION_STATUS: StaticSchema = ( - 14, - n0, - _DS, - 0, - (_ENABLING, _ACTIVE, _DISABLING, _DISABLED, _EF_, _UPDATING), - ( - (-1, {_sV: _ENABLING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DISABLING}), - (-1, {_sV: _DISABLED}), - (-1, {_sV: _EF_}), - (-1, {_sV: _UPDATING}), - ), -) - -KINESIS_DATA_STREAM_DESTINATION: StaticSchema = ( - 18, - n0, - _KDSD, - 0, - (_SA, _DS, _DSD, _ACDTP), - ( - (STREAM_ARN, 0), - (DESTINATION_STATUS, 0), - (STRING, 0), - (APPROXIMATE_CREATION_DATE_TIME_PRECISION, 0), - ), -) - -KINESIS_DATA_STREAM_DESTINATIONS: StaticSchema = ( - 16, - n0, - _KDSDi, - 0, - (_m,), - ((KINESIS_DATA_STREAM_DESTINATION, 0),), -) - -DESCRIBE_KINESIS_STREAMING_DESTINATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DKSDO, - {_smith: None}, - (_TN, _KDSDi), - ((TABLE_NAME, 0), (KINESIS_DATA_STREAM_DESTINATIONS, 0)), -) - -DESCRIBE_KINESIS_STREAMING_DESTINATION: StaticOperationSchema = ( - 23, - n0, - _DKSD, - 0, - DESCRIBE_KINESIS_STREAMING_DESTINATION_INPUT, - DESCRIBE_KINESIS_STREAMING_DESTINATION_OUTPUT, - (INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION), -) - -DESCRIBE_LIMITS_INPUT: StaticSchema = (18, n0, _DLI, {_smit: None}) - -DESCRIBE_LIMITS_OUTPUT: StaticSchema = ( - 18, - n0, - _DLO, - {_smith: None}, - (_AMRCU, _AMWCU, _TMRCU, _TMWCU), - ( - (POSITIVE_LONG_OBJECT, 0), - (POSITIVE_LONG_OBJECT, 0), - (POSITIVE_LONG_OBJECT, 0), - (POSITIVE_LONG_OBJECT, 0), - ), -) - -DESCRIBE_LIMITS: StaticOperationSchema = ( - 23, - n0, - _DL, - 0, - DESCRIBE_LIMITS_INPUT, - DESCRIBE_LIMITS_OUTPUT, - (INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION), -) - -DESCRIBE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DTIe, - {_smit: None}, - (_TN,), - ((TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -DESCRIBE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTOe, - {_smith: None}, - (_T,), - ((TABLE_DESCRIPTION, 0),), -) - -DESCRIBE_TABLE: StaticOperationSchema = ( - 23, - n0, - _DTe, - 0, - DESCRIBE_TABLE_INPUT, - DESCRIBE_TABLE_OUTPUT, - (INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION), -) - -DESCRIBE_TABLE_REPLICA_AUTO_SCALING_INPUT: StaticSchema = ( - 18, - n0, - _DTRASI, - {_smit: None}, - (_TN,), - ((TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION: StaticSchema = ( - 18, - n0, - _RGSIASD, - 0, - (_IN, _IS, _PRCASS, _PWCASS), - ( - (INDEX_NAME, 0), - (INDEX_STATUS, 0), - (AUTO_SCALING_SETTINGS_DESCRIPTION, 0), - (AUTO_SCALING_SETTINGS_DESCRIPTION, 0), - ), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _RGSIASDL, - 0, - (_m,), - ((REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION, 0),), -) - -REPLICA_AUTO_SCALING_DESCRIPTION: StaticSchema = ( - 18, - n0, - _RASD, - 0, - (_RN, _GSI, _RPRCASS, _RPWCASS, _RS), - ( - (REGION_NAME, 0), - (REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION_LIST, 0), - (AUTO_SCALING_SETTINGS_DESCRIPTION, 0), - (AUTO_SCALING_SETTINGS_DESCRIPTION, 0), - (REPLICA_STATUS, 0), - ), -) - -REPLICA_AUTO_SCALING_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _RASDL, - 0, - (_m,), - ((REPLICA_AUTO_SCALING_DESCRIPTION, 0),), -) - -TABLE_AUTO_SCALING_DESCRIPTION: StaticSchema = ( - 18, - n0, - _TASD, - 0, - (_TN, _TS, _Repl), - ((TABLE_NAME, 0), (TABLE_STATUS, 0), (REPLICA_AUTO_SCALING_DESCRIPTION_LIST, 0)), -) - -DESCRIBE_TABLE_REPLICA_AUTO_SCALING_OUTPUT: StaticSchema = ( - 18, - n0, - _DTRASO, - {_smith: None}, - (_TASD,), - ((TABLE_AUTO_SCALING_DESCRIPTION, 0),), -) - -DESCRIBE_TABLE_REPLICA_AUTO_SCALING: StaticOperationSchema = ( - 23, - n0, - _DTRAS, - 0, - DESCRIBE_TABLE_REPLICA_AUTO_SCALING_INPUT, - DESCRIBE_TABLE_REPLICA_AUTO_SCALING_OUTPUT, - (INTERNAL_SERVER_ERROR, RESOURCE_NOT_FOUND_EXCEPTION), -) - -DESCRIBE_TIME_TO_LIVE_INPUT: StaticSchema = ( - 18, - n0, - _DTTLI, - {_smit: None}, - (_TN,), - ((TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), -) - -DESCRIBE_TIME_TO_LIVE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTTLO, - {_smith: None}, - (_TTLD,), - ((TIME_TO_LIVE_DESCRIPTION, 0),), -) - -DESCRIBE_TIME_TO_LIVE: StaticOperationSchema = ( - 23, - n0, - _DTTL, - 0, - DESCRIBE_TIME_TO_LIVE_INPUT, - DESCRIBE_TIME_TO_LIVE_OUTPUT, - (INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION), -) - -ENABLE_KINESIS_STREAMING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EKSC, - 0, - (_ACDTP,), - ((APPROXIMATE_CREATION_DATE_TIME_PRECISION, 0),), -) - -DISABLE_KINESIS_STREAMING_DESTINATION_INPUT: StaticSchema = ( - 18, - n0, - _DKSDIi, - {_sSI: _cKSDI, _smit: None}, - (_TN, _SA, _EKSC), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (STREAM_ARN, 1), - (ENABLE_KINESIS_STREAMING_CONFIGURATION, 0), - ), -) - -DISABLE_KINESIS_STREAMING_DESTINATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DKSDOi, - {_sSI: _cKSDO, _smith: None}, - (_TN, _SA, _DS, _EKSC), - ( - (TABLE_NAME, 0), - (STREAM_ARN, 0), - (DESTINATION_STATUS, 0), - (ENABLE_KINESIS_STREAMING_CONFIGURATION, 0), - ), -) - -DISABLE_KINESIS_STREAMING_DESTINATION: StaticOperationSchema = ( - 23, - n0, - _DKSDi, - 0, - DISABLE_KINESIS_STREAMING_DESTINATION_INPUT, - DISABLE_KINESIS_STREAMING_DESTINATION_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DISASSOCIATION_MODE: StaticSchema = (14, n0, _DM, 0, (_WFR,), ((-1, {_sV: _WFR}),)) - -DISASSOCIATE_REPLICATION_GROUP_MEMBER_ACTION: StaticSchema = ( - 18, - n0, - _DRGMAi, - 0, - (_RN, _DM), - ((REGION_NAME, 1), (DISASSOCIATION_MODE, 1)), -) - -DUPLICATE_ITEM_EXCEPTION: StaticSchema = ( - 18, - n0, - _DIE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -ENABLE_KINESIS_STREAMING_DESTINATION_INPUT: StaticSchema = ( - 18, - n0, - _EKSDI, - {_sSI: _cKSDI, _smit: None}, - (_TN, _SA, _EKSC), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (STREAM_ARN, 1), - (ENABLE_KINESIS_STREAMING_CONFIGURATION, 0), - ), -) - -ENABLE_KINESIS_STREAMING_DESTINATION_OUTPUT: StaticSchema = ( - 18, - n0, - _EKSDO, - {_sSI: _cKSDO, _smith: None}, - (_TN, _SA, _DS, _EKSC), - ( - (TABLE_NAME, 0), - (STREAM_ARN, 0), - (DESTINATION_STATUS, 0), - (ENABLE_KINESIS_STREAMING_CONFIGURATION, 0), - ), -) - -ENABLE_KINESIS_STREAMING_DESTINATION: StaticOperationSchema = ( - 23, - n0, - _EKSD, - 0, - ENABLE_KINESIS_STREAMING_DESTINATION_INPUT, - ENABLE_KINESIS_STREAMING_DESTINATION_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -POSITIVE_INTEGER_OBJECT: StaticSchema = (7, n0, _PIO, 0) - -PARTI_QL_NEXT_TOKEN: StaticSchema = (3, n0, _PQLNT, 0) - -IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPME, - {_sm: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -TRANSACTION_IN_PROGRESS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TIPE, - {_sm: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -EXPORT_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _ECE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_EXPORT_TIME_EXCEPTION: StaticSchema = ( - 18, - n0, - _IETE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -POINT_IN_TIME_RECOVERY_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _PITRUE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_smit: None}, - (_RAe,), - ( - ( - RESOURCE_ARN_STRING, - {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, - ), - ), -) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_smith: None}, - (_Po, _RI), - ((RESOURCE_POLICY, 0), (POLICY_REVISION_ID, 0)), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRP, - 0, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - POLICY_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -IMPORT_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _ICE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -IMPORT_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _ITI, - {_smit: None}, - (_CT, _SBS, _IFn, _IFO, _ICT, _TCP), - ( - (CLIENT_TOKEN, 2), - (S3_BUCKET_SOURCE, 1), - (INPUT_FORMAT, 1), - (INPUT_FORMAT_OPTIONS, 0), - (INPUT_COMPRESSION_TYPE, 0), - (TABLE_CREATION_PARAMETERS, 1), - ), -) - -IMPORT_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _ITO, - {_smith: None}, - (_ITD,), - ((IMPORT_TABLE_DESCRIPTION, 1),), -) - -IMPORT_TABLE: StaticOperationSchema = ( - 23, - n0, - _IT, - { - _sCP: MappingProxyType( - { - "ResourceArn": MappingProxyType( - {"path": "TableCreationParameters.TableName"} - ) - } - ) - }, - IMPORT_TABLE_INPUT, - IMPORT_TABLE_OUTPUT, - (IMPORT_CONFLICT_EXCEPTION, LIMIT_EXCEEDED_EXCEPTION, RESOURCE_IN_USE_EXCEPTION), -) - -TIME_RANGE_LOWER_BOUND: StaticSchema = (4, n0, _TRLB, 0) - -TIME_RANGE_UPPER_BOUND: StaticSchema = (4, n0, _TRUB, 0) - -LIST_BACKUPS_INPUT: StaticSchema = ( - 18, - n0, - _LBI, - {_smit: None}, - (_TN, _Li, _TRLB, _TRUB, _ESBA, _BT), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"})}), - (BACKUPS_INPUT_LIMIT, 0), - (TIME_RANGE_LOWER_BOUND, 0), - (TIME_RANGE_UPPER_BOUND, 0), - (BACKUP_ARN, 0), - (BACKUP_TYPE_FILTER, 0), - ), -) - -LIST_BACKUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBO, - {_smith: None}, - (_BSac, _LEBA), - ((BACKUP_SUMMARIES, 0), (BACKUP_ARN, 0)), -) - -LIST_BACKUPS: StaticOperationSchema = ( - 23, - n0, - _LB, - 0, - LIST_BACKUPS_INPUT, - LIST_BACKUPS_OUTPUT, - (INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION), -) - -LIST_BULK_OPERATIONS_MAX_LIMIT: StaticSchema = (7, n0, _LBOML, 0) - -LIST_BULK_OPERATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LBOI, - {_smit: None}, - (_MR, _NT), - ((LIST_BULK_OPERATIONS_MAX_LIMIT, 0), (BULK_OPERATION_NEXT_TOKEN, 0)), -) - -LIST_BULK_OPERATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBOO, - {_smith: None}, - (_BOSL, _NT), - ((BULK_OPERATIONS_SUMMARY_LIST, 0), (BULK_OPERATION_NEXT_TOKEN, 0)), -) - -LIST_BULK_OPERATIONS: StaticOperationSchema = ( - 23, - n0, - _LBOi, - 0, - LIST_BULK_OPERATIONS_INPUT, - LIST_BULK_OPERATIONS_OUTPUT, - (INVALID_ENDPOINT_EXCEPTION,), -) - -LIST_CONTRIBUTOR_INSIGHTS_LIMIT: StaticSchema = (7, n0, _LCIL, {_smi: 0}) - -NEXT_TOKEN_STRING: StaticSchema = (3, n0, _NTS, 0) - -LIST_CONTRIBUTOR_INSIGHTS_INPUT: StaticSchema = ( - 18, - n0, - _LCII, - {_smit: None}, - (_TN, _NT, _MR), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"})}), - (NEXT_TOKEN_STRING, 0), - (LIST_CONTRIBUTOR_INSIGHTS_LIMIT, {_smi: 0}), - ), -) - -LIST_CONTRIBUTOR_INSIGHTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCIO, - {_smith: None}, - (_CISon, _NT), - ((CONTRIBUTOR_INSIGHTS_SUMMARIES, 0), (NEXT_TOKEN_STRING, 0)), -) - -LIST_CONTRIBUTOR_INSIGHTS: StaticOperationSchema = ( - 23, - n0, - _LCI, - 0, - LIST_CONTRIBUTOR_INSIGHTS_INPUT, - LIST_CONTRIBUTOR_INSIGHTS_OUTPUT, - (INTERNAL_SERVER_ERROR, RESOURCE_NOT_FOUND_EXCEPTION), -) - -LIST_EXPORTS_MAX_LIMIT: StaticSchema = (7, n0, _LEML, 0) - -EXPORT_NEXT_TOKEN: StaticSchema = (3, n0, _ENT, 0) - -LIST_EXPORTS_INPUT: StaticSchema = ( - 18, - n0, - _LEI, - {_smit: None}, - (_TA, _MR, _NT), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"})}), - (LIST_EXPORTS_MAX_LIMIT, 0), - (EXPORT_NEXT_TOKEN, 0), - ), -) - -EXPORT_SUMMARY: StaticSchema = ( - 18, - n0, - _ESx, - 0, - (_EA, _ES, _ETxp), - ((EXPORT_ARN, 0), (EXPORT_STATUS, 0), (EXPORT_TYPE, 0)), -) - -EXPORT_SUMMARIES: StaticSchema = (16, n0, _ESxp, 0, (_m,), ((EXPORT_SUMMARY, 0),)) - -LIST_EXPORTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LEO, - {_smith: None}, - (_ESxp, _NT), - ((EXPORT_SUMMARIES, 0), (EXPORT_NEXT_TOKEN, 0)), -) - -LIST_EXPORTS: StaticOperationSchema = ( - 23, - n0, - _LEi, - 0, - LIST_EXPORTS_INPUT, - LIST_EXPORTS_OUTPUT, - (INTERNAL_SERVER_ERROR, LIMIT_EXCEEDED_EXCEPTION), -) - -LIST_GLOBAL_TABLES_INPUT: StaticSchema = ( - 18, - n0, - _LGTI, - {_smit: None}, - (_ESGTN, _Li, _RN), - ((TABLE_NAME, 0), (POSITIVE_INTEGER_OBJECT, 0), (REGION_NAME, 0)), -) - -GLOBAL_TABLE: StaticSchema = ( - 18, - n0, - _GTl, - 0, - (_GTN, _RG), - ((TABLE_NAME, 0), (REPLICA_LIST, 0)), -) - -GLOBAL_TABLE_LIST: StaticSchema = (16, n0, _GTL, 0, (_m,), ((GLOBAL_TABLE, 0),)) - -LIST_GLOBAL_TABLES_OUTPUT: StaticSchema = ( - 18, - n0, - _LGTO, - {_smith: None}, - (_GTlo, _LEGTN), - ((GLOBAL_TABLE_LIST, 0), (TABLE_NAME, 0)), -) - -LIST_GLOBAL_TABLES: StaticOperationSchema = ( - 23, - n0, - _LGT, - 0, - LIST_GLOBAL_TABLES_INPUT, - LIST_GLOBAL_TABLES_OUTPUT, - (INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION), -) - -IMPORT_NEXT_TOKEN: StaticSchema = (3, n0, _INT, 0) - -LIST_IMPORTS_MAX_LIMIT: StaticSchema = (7, n0, _LIML, 0) - -LIST_IMPORTS_INPUT: StaticSchema = ( - 18, - n0, - _LII, - {_smit: None}, - (_TA, _PS, _NT), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"})}), - (LIST_IMPORTS_MAX_LIMIT, 0), - (IMPORT_NEXT_TOKEN, 0), - ), -) - -IMPORT_SUMMARY: StaticSchema = ( - 18, - n0, - _ISmp, - 0, - (_IAm, _ISm, _TA, _SBS, _CWLGA, _IFn, _ST, _ET), - ( - (IMPORT_ARN, 0), - (IMPORT_STATUS, 0), - (TABLE_ARN, 0), - (S3_BUCKET_SOURCE, 0), - (CLOUD_WATCH_LOG_GROUP_ARN, 0), - (INPUT_FORMAT, 0), - (IMPORT_START_TIME, 0), - (IMPORT_END_TIME, 0), - ), -) - -IMPORT_SUMMARY_LIST: StaticSchema = (16, n0, _ISL, 0, (_m,), ((IMPORT_SUMMARY, 0),)) - -LIST_IMPORTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIO, - {_smith: None}, - (_ISL, _NT), - ((IMPORT_SUMMARY_LIST, 0), (IMPORT_NEXT_TOKEN, 0)), -) - -LIST_IMPORTS: StaticOperationSchema = ( - 23, - n0, - _LI, - 0, - LIST_IMPORTS_INPUT, - LIST_IMPORTS_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION,), -) - -LIST_TABLES_INPUT_LIMIT: StaticSchema = (7, n0, _LTIL, 0) - -LIST_TABLES_INPUT: StaticSchema = ( - 18, - n0, - _LTI, - {_smit: None}, - (_ESTN, _Li), - ((TABLE_NAME, 0), (LIST_TABLES_INPUT_LIMIT, 0)), -) - -TABLE_NAME_LIST: StaticSchema = (16, n0, _TNL, 0, (_m,), ((TABLE_NAME, 0),)) - -LIST_TABLES_OUTPUT: StaticSchema = ( - 18, - n0, - _LTO, - {_smith: None}, - (_TNa, _LETN), - ((TABLE_NAME_LIST, 0), (TABLE_NAME, 0)), -) - -LIST_TABLES: StaticOperationSchema = ( - 23, - n0, - _LTi, - 0, - LIST_TABLES_INPUT, - LIST_TABLES_OUTPUT, - (INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION), -) - -LIST_TAGS_OF_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTORI, - {_smit: None}, - (_RAe, _NT), - ( - ( - RESOURCE_ARN_STRING, - {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, - ), - (NEXT_TOKEN_STRING, 0), - ), -) - -LIST_TAGS_OF_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTORO, - {_smith: None}, - (_Tag, _NT), - ((TAG_LIST, 0), (NEXT_TOKEN_STRING, 0)), -) - -LIST_TAGS_OF_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTOR, - 0, - LIST_TAGS_OF_RESOURCE_INPUT, - LIST_TAGS_OF_RESOURCE_OUTPUT, - (INTERNAL_SERVER_ERROR, INVALID_ENDPOINT_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION), -) - -PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_smit: None}, - (_RAe, _Po, _ERI, _CRSRA), - ( - ( - RESOURCE_ARN_STRING, - {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, - ), - (RESOURCE_POLICY, 1), - (POLICY_REVISION_ID, 0), - (CONFIRM_REMOVE_SELF_RESOURCE_ACCESS, {_smi: False, _sH: _xacrsra}), - ), -) - -PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPO, - {_smith: None}, - (_RI,), - ((POLICY_REVISION_ID, 0),), -) - -PUT_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRP, - 0, - PUT_RESOURCE_POLICY_INPUT, - PUT_RESOURCE_POLICY_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - POLICY_NOT_FOUND_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -SELECT: StaticSchema = ( - 14, - n0, - _Se, - 0, - (_AA_, _APA, _SA_, _COUNT), - ((-1, {_sV: _AA_}), (-1, {_sV: _APA}), (-1, {_sV: _SA_}), (-1, {_sV: _COUNT})), -) - -INTEGER: StaticSchema = (7, n0, _I, {_smi: 0}) - -RESTORE_TABLE_FROM_BACKUP_INPUT: StaticSchema = ( - 18, - n0, - _RTFBI, - {_smit: None}, - (_TTN, _BA, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO, _VIO), - ( - (TABLE_NAME, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (BACKUP_ARN, 1), - (BILLING_MODE, 0), - (GLOBAL_SECONDARY_INDEX_LIST, 0), - (LOCAL_SECONDARY_INDEX_LIST, 0), - (PROVISIONED_THROUGHPUT, 0), - (ON_DEMAND_THROUGHPUT, 0), - (SSE_SPECIFICATION, 0), - (VECTOR_INDEX_LIST, 0), - ), -) - -RESTORE_TABLE_FROM_BACKUP_OUTPUT: StaticSchema = ( - 18, - n0, - _RTFBO, - {_smith: None}, - (_TDa,), - ((TABLE_DESCRIPTION, 0),), -) - -TABLE_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TAEE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -RESTORE_TABLE_FROM_BACKUP: StaticOperationSchema = ( - 23, - n0, - _RTFB, - 0, - RESTORE_TABLE_FROM_BACKUP_INPUT, - RESTORE_TABLE_FROM_BACKUP_OUTPUT, - ( - BACKUP_IN_USE_EXCEPTION, - BACKUP_NOT_FOUND_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - TABLE_ALREADY_EXISTS_EXCEPTION, - TABLE_IN_USE_EXCEPTION, - ), -) - -INVALID_RESTORE_TIME_EXCEPTION: StaticSchema = ( - 18, - n0, - _IRTE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -RESTORE_TABLE_TO_POINT_IN_TIME_INPUT: StaticSchema = ( - 18, - n0, - _RTTPITI, - {_smit: None}, - (_STA, _STN, _TTN, _ULRT, _RDT, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO, _VIO), - ( - (TABLE_ARN, 0), - (TABLE_NAME, 0), - (TABLE_NAME, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (BOOLEAN_OBJECT, 0), - (DATE, 0), - (BILLING_MODE, 0), - (GLOBAL_SECONDARY_INDEX_LIST, 0), - (LOCAL_SECONDARY_INDEX_LIST, 0), - (PROVISIONED_THROUGHPUT, 0), - (ON_DEMAND_THROUGHPUT, 0), - (SSE_SPECIFICATION, 0), - (VECTOR_INDEX_LIST, 0), - ), -) - -RESTORE_TABLE_TO_POINT_IN_TIME_OUTPUT: StaticSchema = ( - 18, - n0, - _RTTPITO, - {_smith: None}, - (_TDa,), - ((TABLE_DESCRIPTION, 0),), -) - -RESTORE_TABLE_TO_POINT_IN_TIME: StaticOperationSchema = ( - 23, - n0, - _RTTPIT, - 0, - RESTORE_TABLE_TO_POINT_IN_TIME_INPUT, - RESTORE_TABLE_TO_POINT_IN_TIME_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - INVALID_RESTORE_TIME_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - POINT_IN_TIME_RECOVERY_UNAVAILABLE_EXCEPTION, - TABLE_ALREADY_EXISTS_EXCEPTION, - TABLE_IN_USE_EXCEPTION, - TABLE_NOT_FOUND_EXCEPTION, - ), -) - -SCAN_SEGMENT: StaticSchema = (7, n0, _SSc, 0) - -SCAN_TOTAL_SEGMENTS: StaticSchema = (7, n0, _STS, 0) - -TOP_K_INTEGER: StaticSchema = (7, n0, _TKI, 0) - -SCORE_NUMBER: StaticSchema = (10, n0, _SN, {_smi: 0}) - -START_BULK_PUT_ITEMS_INPUT: StaticSchema = ( - 18, - n0, - _SBPII, - {_smit: None}, - (_CT, _ISC, _OSC, _TN, _MWRU, _PTe), - ( - (CLIENT_TOKEN, 2), - (INPUT_S3_CONFIGURATION, 1), - (OUTPUT_S3_CONFIGURATION, 1), - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (BULK_OPERATION_MAX_WRITE_REQUEST_UNITS, 0), - (BULK_OPERATION_PERFORMANCE_TIER, 0), - ), -) - -START_BULK_PUT_ITEMS_OUTPUT: StaticSchema = ( - 18, - n0, - _SBPIO, - {_smith: None}, - (_BOD,), - ((BULK_OPERATION_DESCRIPTION, 1),), -) - -START_BULK_PUT_ITEMS: StaticOperationSchema = ( - 23, - n0, - _SBPI, - 0, - START_BULK_PUT_ITEMS_INPUT, - START_BULK_PUT_ITEMS_OUTPUT, - ( - IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_smit: None}, - (_RAe, _Tag), - ( - ( - RESOURCE_ARN_STRING, - {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, - ), - (TAG_LIST, 1), - ), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smith: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TRa, - 0, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_EXPRESSION: StaticSchema = (3, n0, _UE, 0) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_m,), ((TAG_KEY_STRING, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_smit: None}, - (_RAe, _TKa), - ( - ( - RESOURCE_ARN_STRING, - {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, - ), - (TAG_KEY_LIST, 1), - ), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smith: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - 0, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -POINT_IN_TIME_RECOVERY_SPECIFICATION: StaticSchema = ( - 18, - n0, - _PITRSo, - 0, - (_PITRE, _RPID), - ((BOOLEAN_OBJECT, 1), (RECOVERY_PERIOD_IN_DAYS, 0)), -) - -UPDATE_CONTINUOUS_BACKUPS_INPUT: StaticSchema = ( - 18, - n0, - _UCBI, - {_smit: None}, - (_TN, _PITRSo), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (POINT_IN_TIME_RECOVERY_SPECIFICATION, 1), - ), -) - -UPDATE_CONTINUOUS_BACKUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _UCBO, - {_smith: None}, - (_CBD,), - ((CONTINUOUS_BACKUPS_DESCRIPTION, 0),), -) - -UPDATE_CONTINUOUS_BACKUPS: StaticOperationSchema = ( - 23, - n0, - _UCB, - 0, - UPDATE_CONTINUOUS_BACKUPS_INPUT, - UPDATE_CONTINUOUS_BACKUPS_OUTPUT, - ( - CONTINUOUS_BACKUPS_UNAVAILABLE_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - TABLE_NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_CONTRIBUTOR_INSIGHTS_INPUT: StaticSchema = ( - 18, - n0, - _UCII, - {_smit: None}, - (_TN, _IN, _CIA, _CIM), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (INDEX_NAME, 0), - (CONTRIBUTOR_INSIGHTS_ACTION, 1), - (CONTRIBUTOR_INSIGHTS_MODE, 0), - ), -) - -UPDATE_CONTRIBUTOR_INSIGHTS_OUTPUT: StaticSchema = ( - 18, - n0, - _UCIO, - {_smith: None}, - (_TN, _IN, _CIS, _CIM), - ( - (TABLE_NAME, 0), - (INDEX_NAME, 0), - (CONTRIBUTOR_INSIGHTS_STATUS, 0), - (CONTRIBUTOR_INSIGHTS_MODE, 0), - ), -) - -UPDATE_CONTRIBUTOR_INSIGHTS: StaticOperationSchema = ( - 23, - n0, - _UCI, - 0, - UPDATE_CONTRIBUTOR_INSIGHTS_INPUT, - UPDATE_CONTRIBUTOR_INSIGHTS_OUTPUT, - (INTERNAL_SERVER_ERROR, RESOURCE_NOT_FOUND_EXCEPTION), -) - -REPLICA_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _RAEE, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -REPLICA_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFEe, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -REPLICA_UPDATE: StaticSchema = ( - 18, - n0, - _RU, - 0, - (_Cr, _Del), - ((CREATE_REPLICA_ACTION, 0), (DELETE_REPLICA_ACTION, 0)), -) - -REPLICA_UPDATE_LIST: StaticSchema = (16, n0, _RUL, 0, (_m,), ((REPLICA_UPDATE, 0),)) - -UPDATE_GLOBAL_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _UGTI, - {_smit: None}, - (_GTN, _RUe), - ( - (TABLE_NAME, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (REPLICA_UPDATE_LIST, 1), - ), -) - -UPDATE_GLOBAL_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _UGTO, - {_smith: None}, - (_GTD,), - ((GLOBAL_TABLE_DESCRIPTION, 0),), -) - -UPDATE_GLOBAL_TABLE: StaticOperationSchema = ( - 23, - n0, - _UGT, - 0, - UPDATE_GLOBAL_TABLE_INPUT, - UPDATE_GLOBAL_TABLE_OUTPUT, - ( - GLOBAL_TABLE_NOT_FOUND_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - REPLICA_ALREADY_EXISTS_EXCEPTION, - REPLICA_NOT_FOUND_EXCEPTION, - TABLE_NOT_FOUND_EXCEPTION, - ), -) - -INDEX_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _INFEn, - {_sm: _c}, - (_me,), - ((ERROR_MESSAGE, 0),), -) - -GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE: StaticSchema = ( - 18, - n0, - _GTGSISU, - 0, - (_IN, _PWCU, _PWCASSU), - ((INDEX_NAME, 1), (POSITIVE_LONG_OBJECT, 0), (AUTO_SCALING_SETTINGS_UPDATE, 0)), -) - -GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _GTGSISUL, - 0, - (_m,), - ((GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE, 0),), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE: StaticSchema = ( - 18, - n0, - _RGSISU, - 0, - (_IN, _PRCU, _PRCASSU), - ((INDEX_NAME, 1), (POSITIVE_LONG_OBJECT, 0), (AUTO_SCALING_SETTINGS_UPDATE, 0)), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _RGSISUL, - 0, - (_m,), - ((REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE, 0),), -) - -REPLICA_SETTINGS_UPDATE: StaticSchema = ( - 18, - n0, - _RSU, - 0, - (_RN, _RPRCU, _RPRCASSU, _RGSISU, _RTC), - ( - (REGION_NAME, 1), - (POSITIVE_LONG_OBJECT, 0), - (AUTO_SCALING_SETTINGS_UPDATE, 0), - (REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST, 0), - (TABLE_CLASS, 0), - ), -) - -REPLICA_SETTINGS_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _RSUL, - 0, - (_m,), - ((REPLICA_SETTINGS_UPDATE, 0),), -) - -UPDATE_GLOBAL_TABLE_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _UGTSI, - {_smit: None}, - (_GTN, _GTBM, _GTPWCU, _GTPWCASSU, _GTGSISU, _RSU), - ( - (TABLE_NAME, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (BILLING_MODE, 0), - (POSITIVE_LONG_OBJECT, 0), - (AUTO_SCALING_SETTINGS_UPDATE, 0), - (GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST, 0), - (REPLICA_SETTINGS_UPDATE_LIST, 0), - ), -) - -UPDATE_GLOBAL_TABLE_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _UGTSO, - {_smith: None}, - (_GTN, _RSep), - ((TABLE_NAME, 0), (REPLICA_SETTINGS_DESCRIPTION_LIST, 0)), -) - -UPDATE_GLOBAL_TABLE_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _UGTS, - 0, - UPDATE_GLOBAL_TABLE_SETTINGS_INPUT, - UPDATE_GLOBAL_TABLE_SETTINGS_OUTPUT, - ( - GLOBAL_TABLE_NOT_FOUND_EXCEPTION, - INDEX_NOT_FOUND_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - REPLICA_NOT_FOUND_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - ), -) - -UPDATE_KINESIS_STREAMING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _UKSC, - 0, - (_ACDTP,), - ((APPROXIMATE_CREATION_DATE_TIME_PRECISION, 0),), -) - -UPDATE_KINESIS_STREAMING_DESTINATION_INPUT: StaticSchema = ( - 18, - n0, - _UKSDI, - {_smit: None}, - (_TN, _SA, _UKSC), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (STREAM_ARN, 1), - (UPDATE_KINESIS_STREAMING_CONFIGURATION, 0), - ), -) - -UPDATE_KINESIS_STREAMING_DESTINATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UKSDO, - {_smith: None}, - (_TN, _SA, _DS, _UKSC), - ( - (TABLE_NAME, 0), - (STREAM_ARN, 0), - (DESTINATION_STATUS, 0), - (UPDATE_KINESIS_STREAMING_CONFIGURATION, 0), - ), -) - -UPDATE_KINESIS_STREAMING_DESTINATION: StaticOperationSchema = ( - 23, - n0, - _UKSD, - 0, - UPDATE_KINESIS_STREAMING_DESTINATION_INPUT, - UPDATE_KINESIS_STREAMING_DESTINATION_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_GLOBAL_SECONDARY_INDEX_ACTION: StaticSchema = ( - 18, - n0, - _UGSIA, - 0, - (_IN, _PT, _ODT, _WT), - ( - (INDEX_NAME, 1), - (PROVISIONED_THROUGHPUT, 0), - (ON_DEMAND_THROUGHPUT, 0), - (WARM_THROUGHPUT, 0), - ), -) - -GLOBAL_SECONDARY_INDEX_UPDATE: StaticSchema = ( - 18, - n0, - _GSIU, - 0, - (_U, _Cr, _Del), - ( - (UPDATE_GLOBAL_SECONDARY_INDEX_ACTION, 0), - (CREATE_GLOBAL_SECONDARY_INDEX_ACTION, 0), - (DELETE_GLOBAL_SECONDARY_INDEX_ACTION, 0), - ), -) - -GLOBAL_SECONDARY_INDEX_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _GSIUL, - 0, - (_m,), - ((GLOBAL_SECONDARY_INDEX_UPDATE, 0),), -) - -GLOBAL_TABLE_WITNESS_GROUP_UPDATE: StaticSchema = ( - 18, - n0, - _GTWGU, - 0, - (_Cr, _Del), - ( - (CREATE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION, 0), - (DELETE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION, 0), - ), -) - -GLOBAL_TABLE_WITNESS_GROUP_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _GTWGUL, - 0, - (_m,), - ((GLOBAL_TABLE_WITNESS_GROUP_UPDATE, 0),), -) - -UPDATE_REPLICATION_GROUP_MEMBER_ACTION: StaticSchema = ( - 18, - n0, - _URGMA, - 0, - (_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO), - ( - (REGION_NAME, 1), - (KMS_MASTER_KEY_ID, 0), - (PROVISIONED_THROUGHPUT_OVERRIDE, 0), - (ON_DEMAND_THROUGHPUT_OVERRIDE, 0), - (REPLICA_GLOBAL_SECONDARY_INDEX_LIST, 0), - (TABLE_CLASS, 0), - ), -) - -REPLICATION_GROUP_UPDATE: StaticSchema = ( - 18, - n0, - _RGU, - 0, - (_Cr, _U, _Del, _Dis), - ( - (CREATE_REPLICATION_GROUP_MEMBER_ACTION, 0), - (UPDATE_REPLICATION_GROUP_MEMBER_ACTION, 0), - (DELETE_REPLICATION_GROUP_MEMBER_ACTION, 0), - (DISASSOCIATE_REPLICATION_GROUP_MEMBER_ACTION, 0), - ), -) - -REPLICATION_GROUP_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _RGUL, - 0, - (_m,), - ((REPLICATION_GROUP_UPDATE, 0),), -) - -VECTOR_INDEX_UPDATE: StaticSchema = ( - 18, - n0, - _VIU, - 0, - (_Cr, _Del), - ((CREATE_VECTOR_INDEX_ACTION, 0), (DELETE_VECTOR_INDEX_ACTION, 0)), -) - -VECTOR_INDEX_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _VIUL, - 0, - (_m,), - ((VECTOR_INDEX_UPDATE, 0),), -) - -UPDATE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _UTI, - {_smit: None}, - ( - _ADt, - _TN, - _BM, - _PT, - _GSIUl, - _SS, - _SSESp, - _RUe, - _TCa, - _DPE, - _MRC, - _GTWU, - _ODT, - _WT, - _GTSRM, - _DPEi, - _VIUe, - ), - ( - (ATTRIBUTE_DEFINITIONS, 0), - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (BILLING_MODE, 0), - (PROVISIONED_THROUGHPUT, 0), - (GLOBAL_SECONDARY_INDEX_UPDATE_LIST, 0), - (STREAM_SPECIFICATION, 0), - (SSE_SPECIFICATION, 0), - (REPLICATION_GROUP_UPDATE_LIST, 0), - (TABLE_CLASS, 0), - (DELETION_PROTECTION_ENABLED, 0), - (MULTI_REGION_CONSISTENCY, 0), - (GLOBAL_TABLE_WITNESS_GROUP_UPDATE_LIST, 0), - (ON_DEMAND_THROUGHPUT, 0), - (WARM_THROUGHPUT, 0), - (GLOBAL_TABLE_SETTINGS_REPLICATION_MODE, 0), - (DISASSOCIATION_PROTECTION_ENABLED, 0), - (VECTOR_INDEX_UPDATE_LIST, 0), - ), -) - -UPDATE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _UTO, - {_smith: None}, - (_TDa,), - ((TABLE_DESCRIPTION, 0),), -) - -UPDATE_TABLE: StaticOperationSchema = ( - 23, - n0, - _UT, - 0, - UPDATE_TABLE_INPUT, - UPDATE_TABLE_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE: StaticSchema = ( - 18, - n0, - _GSIASU, - 0, - (_IN, _PWCASU), - ((INDEX_NAME, 0), (AUTO_SCALING_SETTINGS_UPDATE, 0)), -) - -GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _GSIASUL, - 0, - (_m,), - ((GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE, 0),), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE: StaticSchema = ( - 18, - n0, - _RGSIASU, - 0, - (_IN, _PRCASU), - ((INDEX_NAME, 0), (AUTO_SCALING_SETTINGS_UPDATE, 0)), -) - -REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _RGSIASUL, - 0, - (_m,), - ((REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE, 0),), -) - -REPLICA_AUTO_SCALING_UPDATE: StaticSchema = ( - 18, - n0, - _RASU, - 0, - (_RN, _RGSIU, _RPRCASU), - ( - (REGION_NAME, 1), - (REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST, 0), - (AUTO_SCALING_SETTINGS_UPDATE, 0), - ), -) - -REPLICA_AUTO_SCALING_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _RASUL, - 0, - (_m,), - ((REPLICA_AUTO_SCALING_UPDATE, 0),), -) - -UPDATE_TABLE_REPLICA_AUTO_SCALING_INPUT: StaticSchema = ( - 18, - n0, - _UTRASI, - {_smit: None}, - (_GSIUl, _TN, _PWCASU, _RUe), - ( - (GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST, 0), - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (AUTO_SCALING_SETTINGS_UPDATE, 0), - (REPLICA_AUTO_SCALING_UPDATE_LIST, 0), - ), -) - -UPDATE_TABLE_REPLICA_AUTO_SCALING_OUTPUT: StaticSchema = ( - 18, - n0, - _UTRASO, - {_smith: None}, - (_TASD,), - ((TABLE_AUTO_SCALING_DESCRIPTION, 0),), -) - -UPDATE_TABLE_REPLICA_AUTO_SCALING: StaticOperationSchema = ( - 23, - n0, - _UTRAS, - 0, - UPDATE_TABLE_REPLICA_AUTO_SCALING_INPUT, - UPDATE_TABLE_REPLICA_AUTO_SCALING_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -TIME_TO_LIVE_ENABLED: StaticSchema = (2, n0, _TTLE, 0) - -TIME_TO_LIVE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _TTLSi, - 0, - (_E, _AN), - ((TIME_TO_LIVE_ENABLED, 1), (TIME_TO_LIVE_ATTRIBUTE_NAME, 1)), -) - -UPDATE_TIME_TO_LIVE_INPUT: StaticSchema = ( - 18, - n0, - _UTTLI, - {_smit: None}, - (_TN, _TTLSi), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (TIME_TO_LIVE_SPECIFICATION, 1), - ), -) - -UPDATE_TIME_TO_LIVE_OUTPUT: StaticSchema = ( - 18, - n0, - _UTTLO, - {_smith: None}, - (_TTLSi,), - ((TIME_TO_LIVE_SPECIFICATION, 0),), -) - -UPDATE_TIME_TO_LIVE: StaticOperationSchema = ( - 23, - n0, - _UTTL, - 0, - UPDATE_TIME_TO_LIVE_INPUT, - UPDATE_TIME_TO_LIVE_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -ATTRIBUTE_VALUE: StaticSchema = ( - 19, - n0, - _AV, - 0, - (_S, _N, _B, _SS_, _NS, _BS_, _M_, _L_, _NULL, _BOOL), - ( - (STRING_ATTRIBUTE_VALUE, 0), - (NUMBER_ATTRIBUTE_VALUE, 0), - (BINARY_ATTRIBUTE_VALUE, 0), - (STRING_SET_ATTRIBUTE_VALUE, 0), - (NUMBER_SET_ATTRIBUTE_VALUE, 0), - (BINARY_SET_ATTRIBUTE_VALUE, 0), - (lambda: MAP_ATTRIBUTE_VALUE, 0), - (lambda: LIST_ATTRIBUTE_VALUE, 0), - (NULL_ATTRIBUTE_VALUE, 0), - (BOOLEAN_ATTRIBUTE_VALUE, 0), - ), -) - -LIST_ATTRIBUTE_VALUE: StaticSchema = (16, n0, _LAV, 0, (_m,), ((ATTRIBUTE_VALUE, 0),)) - -MAP_ATTRIBUTE_VALUE: StaticSchema = ( - 17, - n0, - _MAV, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), -) - -ATTRIBUTE_MAP: StaticSchema = ( - 17, - n0, - _AM, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), -) - -ATTRIBUTE_VALUE_LIST: StaticSchema = (16, n0, _AVL, 0, (_m,), ((ATTRIBUTE_VALUE, 0),)) - -ATTRIBUTE_VALUE_UPDATE: StaticSchema = ( - 18, - n0, - _AVU, - 0, - (_V, _Ac), - ((ATTRIBUTE_VALUE, 0), (ATTRIBUTE_ACTION, 0)), -) - -EXPRESSION_ATTRIBUTE_VALUE_MAP: StaticSchema = ( - 17, - n0, - _EAVM, - 0, - (_k, _v), - ((EXPRESSION_ATTRIBUTE_VALUE_VARIABLE, 0), (ATTRIBUTE_VALUE, 0)), -) - -ITEM_COLLECTION_KEY_ATTRIBUTE_MAP: StaticSchema = ( - 17, - n0, - _ICKAM, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), -) - -KEY: StaticSchema = ( - 17, - n0, - _K, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), -) - -PREPARED_STATEMENT_PARAMETERS: StaticSchema = ( - 16, - n0, - _PSP, - 0, - (_m,), - ((ATTRIBUTE_VALUE, 0),), -) - -PUT_ITEM_INPUT_ATTRIBUTE_MAP: StaticSchema = ( - 17, - n0, - _PIIAM, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), -) - -SEARCH_VECTOR_LIST: StaticSchema = (16, n0, _SVL, 0, (_m,), ((ATTRIBUTE_VALUE, 0),)) - -ATTRIBUTE_UPDATES: StaticSchema = ( - 17, - n0, - _AU, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE_UPDATE, 0)), -) - -BATCH_STATEMENT_ERROR: StaticSchema = ( - 18, - n0, - _BSE, - 0, - (_Co, _M, _It), - ((BATCH_STATEMENT_ERROR_CODE_ENUM, 0), (STRING, 0), (ATTRIBUTE_MAP, 0)), -) - -BATCH_STATEMENT_REQUEST: StaticSchema = ( - 18, - n0, - _BSR, - 0, - (_Stat, _Pa, _CR, _RVOCCF), - ( - (PARTI_QL_STATEMENT, 1), - (PREPARED_STATEMENT_PARAMETERS, 0), - (CONSISTENT_READ, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -CANCELLATION_REASON: StaticSchema = ( - 18, - n0, - _CRa, - 0, - (_It, _Co, _M), - ((ATTRIBUTE_MAP, 0), (CODE, 0), (ERROR_MESSAGE, 0)), -) - -CONDITION: StaticSchema = ( - 18, - n0, - _Con, - 0, - (_AVL, _CO), - ((ATTRIBUTE_VALUE_LIST, 0), (COMPARISON_OPERATOR, 1)), -) - -CONDITIONAL_CHECK_FAILED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CCFE, - {_sm: _c}, - (_me, _It), - ((ERROR_MESSAGE, 0), (ATTRIBUTE_MAP, 0)), -) - -DELETE_REQUEST: StaticSchema = (18, n0, _DR, 0, (_K,), ((KEY, 1),)) - -EXECUTE_STATEMENT_INPUT: StaticSchema = ( - 18, - n0, - _ESI, - {_smit: None}, - (_Stat, _Pa, _CR, _NT, _RCC, _Li, _RVOCCF), - ( - (PARTI_QL_STATEMENT, 1), - (PREPARED_STATEMENT_PARAMETERS, 0), - (CONSISTENT_READ, 0), - (PARTI_QL_NEXT_TOKEN, 0), - (RETURN_CONSUMED_CAPACITY, 0), - (POSITIVE_INTEGER_OBJECT, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -FILTER_SPECIFICATION: StaticSchema = ( - 18, - n0, - _FS, - 0, - (_FEi, _PE, _KCE, _EAN, _EAV), - ( - (CONDITION_EXPRESSION, 0), - (PROJECTION_EXPRESSION, 0), - (KEY_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - ), -) - -GET: StaticSchema = ( - 18, - n0, - _G, - 0, - (_K, _TN, _PE, _EAN), - ( - (KEY, 1), - (TABLE_ARN, 1), - (PROJECTION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - ), -) - -GET_ITEM_INPUT: StaticSchema = ( - 18, - n0, - _GII, - {_smit: None}, - (_TN, _K, _ATG, _CR, _RCC, _PE, _EAN), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (KEY, 1), - (ATTRIBUTE_NAME_LIST, 0), - (CONSISTENT_READ, 0), - (RETURN_CONSUMED_CAPACITY, 0), - (PROJECTION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - ), -) - -GET_ITEM_OUTPUT: StaticSchema = ( - 18, - n0, - _GIO, - {_smith: None}, - (_It, _CC), - ((ATTRIBUTE_MAP, 0), (CONSUMED_CAPACITY, 0)), -) - -ITEM_COLLECTION_METRICS: StaticSchema = ( - 18, - n0, - _ICM, - 0, - (_ICK, _SERGB), - ((ITEM_COLLECTION_KEY_ATTRIBUTE_MAP, 0), (ITEM_COLLECTION_SIZE_ESTIMATE_RANGE, 0)), -) - -ITEM_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((ATTRIBUTE_MAP, 0),)) - -ITEM_RESPONSE: StaticSchema = (18, n0, _IR, 0, (_It,), ((ATTRIBUTE_MAP, 0),)) - -KEY_LIST: StaticSchema = (16, n0, _KL, 0, (_m,), ((KEY, 0),)) - -PARAMETERIZED_STATEMENT: StaticSchema = ( - 18, - n0, - _PSa, - 0, - (_Stat, _Pa, _RVOCCF), - ( - (PARTI_QL_STATEMENT, 1), - (PREPARED_STATEMENT_PARAMETERS, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -PUT_REQUEST: StaticSchema = ( - 18, - n0, - _PR, - 0, - (_It,), - ((PUT_ITEM_INPUT_ATTRIBUTE_MAP, 1),), -) - -SEARCH_RESULT_ITEM: StaticSchema = ( - 18, - n0, - _SRI, - 0, - (_It, _Sc), - ((ATTRIBUTE_MAP, 0), (SCORE_NUMBER, {_smi: 0})), -) - -BATCH_GET_RESPONSE_MAP: StaticSchema = ( - 17, - n0, - _BGRM, - 0, - (_k, _v), - ((TABLE_ARN, 0), (ITEM_LIST, 0)), -) - -CANCELLATION_REASON_LIST: StaticSchema = ( - 16, - n0, - _CRL, - 0, - (_m,), - ((CANCELLATION_REASON, 0),), -) - -EXPORT_DESCRIPTION: StaticSchema = ( - 18, - n0, - _EDx, - 0, - ( - _EA, - _ES, - _ST, - _ET, - _EMx, - _TA, - _TI, - _ETx, - _CT, - _SB, - _SBO, - _SPr, - _SSA, - _SSKKI, - _FC, - _FM, - _EF, - _BSBi, - _IC, - _ETxp, - _IES, - _FS, - ), - ( - (EXPORT_ARN, 0), - (EXPORT_STATUS, 0), - (EXPORT_START_TIME, 0), - (EXPORT_END_TIME, 0), - (EXPORT_MANIFEST, 0), - (TABLE_ARN, 0), - (TABLE_ID, 0), - (EXPORT_TIME, 0), - (CLIENT_TOKEN, 0), - (S3_BUCKET, 0), - (S3_BUCKET_OWNER, 0), - (S3_PREFIX, 0), - (S3_SSE_ALGORITHM, 0), - (S3_SSE_KMS_KEY_ID, 0), - (FAILURE_CODE, 0), - (FAILURE_MESSAGE, 0), - (EXPORT_FORMAT, 0), - (BILLED_SIZE_BYTES, 0), - (ITEM_COUNT, 0), - (EXPORT_TYPE, 0), - (INCREMENTAL_EXPORT_SPECIFICATION, 0), - (FILTER_SPECIFICATION, 0), - ), -) - -EXPORT_TABLE_TO_POINT_IN_TIME_INPUT: StaticSchema = ( - 18, - n0, - _ETTPITI, - {_smit: None}, - (_TA, _ETx, _CT, _SB, _SBO, _SPr, _SSA, _SSKKI, _EF, _ETxp, _IES, _FS), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (EXPORT_TIME, 0), - (CLIENT_TOKEN, 2), - (S3_BUCKET, 1), - (S3_BUCKET_OWNER, 0), - (S3_PREFIX, 0), - (S3_SSE_ALGORITHM, 0), - (S3_SSE_KMS_KEY_ID, 0), - (EXPORT_FORMAT, 0), - (EXPORT_TYPE, 0), - (INCREMENTAL_EXPORT_SPECIFICATION, 0), - (FILTER_SPECIFICATION, 0), - ), -) - -FILTER_CONDITION_MAP: StaticSchema = ( - 17, - n0, - _FCM, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (CONDITION, 0)), -) - -ITEM_COLLECTION_METRICS_MULTIPLE: StaticSchema = ( - 16, - n0, - _ICMM, - 0, - (_m,), - ((ITEM_COLLECTION_METRICS, 0),), -) - -ITEM_RESPONSE_LIST: StaticSchema = (16, n0, _IRL, 0, (_m,), ((ITEM_RESPONSE, 0),)) - -KEY_CONDITIONS: StaticSchema = ( - 17, - n0, - _KC, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (CONDITION, 0)), -) - -KEYS_AND_ATTRIBUTES: StaticSchema = ( - 18, - n0, - _KAA, - 0, - (_Ke, _ATG, _CR, _PE, _EAN), - ( - (KEY_LIST, 1), - (ATTRIBUTE_NAME_LIST, 0), - (CONSISTENT_READ, 0), - (PROJECTION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - ), -) - -PARAMETERIZED_STATEMENTS: StaticSchema = ( - 16, - n0, - _PSar, - 0, - (_m,), - ((PARAMETERIZED_STATEMENT, 0),), -) - -PARTI_QL_BATCH_REQUEST: StaticSchema = ( - 16, - n0, - _PQLBR, - 0, - (_m,), - ((BATCH_STATEMENT_REQUEST, 0),), -) - -SEARCH_RESULT_LIST: StaticSchema = (16, n0, _SRL, 0, (_m,), ((SEARCH_RESULT_ITEM, 0),)) - -TRANSACT_GET_ITEM: StaticSchema = (18, n0, _TGI, 0, (_G,), ((GET, 1),)) - -BATCH_EXECUTE_STATEMENT_INPUT: StaticSchema = ( - 18, - n0, - _BESI, - {_smit: None}, - (_State, _RCC), - ((PARTI_QL_BATCH_REQUEST, 1), (RETURN_CONSUMED_CAPACITY, 0)), -) - -BATCH_GET_REQUEST_MAP: StaticSchema = ( - 17, - n0, - _BGRMa, - 0, - (_k, _v), - ((TABLE_ARN, 0), (KEYS_AND_ATTRIBUTES, 0)), -) - -DESCRIBE_EXPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _DEOe, - {_smith: None}, - (_EDx,), - ((EXPORT_DESCRIPTION, 0),), -) - -EXECUTE_TRANSACTION_INPUT: StaticSchema = ( - 18, - n0, - _ETI, - {_smit: None}, - (_TSr, _CRT, _RCC), - ( - (PARAMETERIZED_STATEMENTS, 1), - (CLIENT_REQUEST_TOKEN, 2), - (RETURN_CONSUMED_CAPACITY, 0), - ), -) - -EXECUTE_TRANSACTION_OUTPUT: StaticSchema = ( - 18, - n0, - _ETO, - {_smith: None}, - (_Res, _CC), - ((ITEM_RESPONSE_LIST, 0), (CONSUMED_CAPACITY_MULTIPLE, 0)), -) - -EXPORT_TABLE_TO_POINT_IN_TIME_OUTPUT: StaticSchema = ( - 18, - n0, - _ETTPITO, - {_smith: None}, - (_EDx,), - ((EXPORT_DESCRIPTION, 0),), -) - -ITEM_COLLECTION_METRICS_PER_TABLE: StaticSchema = ( - 17, - n0, - _ICMPT, - 0, - (_k, _v), - ((TABLE_ARN, 0), (ITEM_COLLECTION_METRICS_MULTIPLE, 0)), -) - -SEARCH_VECTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _SVO, - {_smith: None}, - (_CC, _SR), - ((VECTOR_CAPACITY, 0), (SEARCH_RESULT_LIST, 0)), -) - -TRANSACT_GET_ITEM_LIST: StaticSchema = ( - 16, - n0, - _TGIL, - 0, - (_m,), - ((TRANSACT_GET_ITEM, 0),), -) - -TRANSACT_GET_ITEMS_OUTPUT: StaticSchema = ( - 18, - n0, - _TGIO, - {_smith: None}, - (_CC, _Res), - ((CONSUMED_CAPACITY_MULTIPLE, 0), (ITEM_RESPONSE_LIST, 0)), -) - -TRANSACTION_CANCELED_EXCEPTION: StaticSchema = ( - 18, - n0, - _TCEr, - {_sm: _c}, - (_M, _CRan), - ((ERROR_MESSAGE, 0), (CANCELLATION_REASON_LIST, 0)), -) - -DESCRIBE_EXPORT: StaticOperationSchema = ( - 23, - n0, - _DEe, - 0, - DESCRIBE_EXPORT_INPUT, - DESCRIBE_EXPORT_OUTPUT, - (EXPORT_NOT_FOUND_EXCEPTION, INTERNAL_SERVER_ERROR, LIMIT_EXCEEDED_EXCEPTION), -) - -BATCH_GET_ITEM_INPUT: StaticSchema = ( - 18, - n0, - _BGII, - {_smit: None}, - (_RIe, _RCC), - ((BATCH_GET_REQUEST_MAP, 1), (RETURN_CONSUMED_CAPACITY, 0)), -) - -EXPECTED_ATTRIBUTE_VALUE: StaticSchema = ( - 18, - n0, - _EAVx, - 0, - (_V, _Ex, _CO, _AVL), - ( - (ATTRIBUTE_VALUE, 0), - (BOOLEAN_OBJECT, 0), - (COMPARISON_OPERATOR, 0), - (ATTRIBUTE_VALUE_LIST, 0), - ), -) - -TRANSACT_GET_ITEMS_INPUT: StaticSchema = ( - 18, - n0, - _TGII, - {_smit: None}, - (_TIr, _RCC), - ((TRANSACT_GET_ITEM_LIST, 1), (RETURN_CONSUMED_CAPACITY, 0)), -) - -TRANSACT_WRITE_ITEMS_OUTPUT: StaticSchema = ( - 18, - n0, - _TWIO, - {_smith: None}, - (_CC, _ICM), - ((CONSUMED_CAPACITY_MULTIPLE, 0), (ITEM_COLLECTION_METRICS_PER_TABLE, 0)), -) - -CONDITION_CHECK: StaticSchema = ( - 18, - n0, - _CCo, - 0, - (_K, _TN, _CE, _EAN, _EAV, _RVOCCF), - ( - (KEY, 1), - (TABLE_ARN, 1), - (CONDITION_EXPRESSION, 1), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -DELETE: StaticSchema = ( - 18, - n0, - _Del, - 0, - (_K, _TN, _CE, _EAN, _EAV, _RVOCCF), - ( - (KEY, 1), - (TABLE_ARN, 1), - (CONDITION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -PUT: StaticSchema = ( - 18, - n0, - _Pu, - 0, - (_It, _TN, _CE, _EAN, _EAV, _RVOCCF), - ( - (PUT_ITEM_INPUT_ATTRIBUTE_MAP, 1), - (TABLE_ARN, 1), - (CONDITION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -SEARCH_VECTORS_INPUT: StaticSchema = ( - 18, - n0, - _SVI, - {_smit: None}, - (_TN, _IN, _RCC, _EAN, _EAV, _PE, _SV, _SCE, _TKo), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (INDEX_NAME, 1), - (RETURN_CONSUMED_CAPACITY, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - (PROJECTION_EXPRESSION, 0), - (SEARCH_VECTOR_LIST, 1), - (STRING, 0), - (TOP_K_INTEGER, 1), - ), -) - -UPDATE: StaticSchema = ( - 18, - n0, - _U, - 0, - (_K, _UE, _TN, _CE, _EAN, _EAV, _RVOCCF), - ( - (KEY, 1), - (UPDATE_EXPRESSION, 1), - (TABLE_ARN, 1), - (CONDITION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -BATCH_STATEMENT_RESPONSE: StaticSchema = ( - 18, - n0, - _BSRa, - 0, - (_Er, _TN, _It), - ((BATCH_STATEMENT_ERROR, 0), (TABLE_NAME, 0), (ATTRIBUTE_MAP, 0)), -) - -DELETE_ITEM_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOe, - {_smith: None}, - (_At, _CC, _ICM), - ((ATTRIBUTE_MAP, 0), (CONSUMED_CAPACITY, 0), (ITEM_COLLECTION_METRICS, 0)), -) - -EXECUTE_STATEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _ESO, - {_smith: None}, - (_Ite, _NT, _CC, _LEK), - ((ITEM_LIST, 0), (PARTI_QL_NEXT_TOKEN, 0), (CONSUMED_CAPACITY, 0), (KEY, 0)), -) - -EXPECTED_ATTRIBUTE_MAP: StaticSchema = ( - 17, - n0, - _EAM, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (EXPECTED_ATTRIBUTE_VALUE, 0)), -) - -GET_ITEM: StaticOperationSchema = ( - 23, - n0, - _GI, - 0, - GET_ITEM_INPUT, - GET_ITEM_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -PUT_ITEM_OUTPUT: StaticSchema = ( - 18, - n0, - _PIOu, - {_smith: None}, - (_At, _CC, _ICM), - ((ATTRIBUTE_MAP, 0), (CONSUMED_CAPACITY, 0), (ITEM_COLLECTION_METRICS, 0)), -) - -QUERY_OUTPUT: StaticSchema = ( - 18, - n0, - _QO, - {_smith: None}, - (_Ite, _Cou, _SC, _LEK, _CC), - ( - (ITEM_LIST, 0), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (KEY, 0), - (CONSUMED_CAPACITY, 0), - ), -) - -SCAN_OUTPUT: StaticSchema = ( - 18, - n0, - _SO, - {_smith: None}, - (_Ite, _Cou, _SC, _LEK, _CC), - ( - (ITEM_LIST, 0), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (KEY, 0), - (CONSUMED_CAPACITY, 0), - ), -) - -UPDATE_ITEM_OUTPUT: StaticSchema = ( - 18, - n0, - _UIO, - {_smith: None}, - (_At, _CC, _ICM), - ((ATTRIBUTE_MAP, 0), (CONSUMED_CAPACITY, 0), (ITEM_COLLECTION_METRICS, 0)), -) - -WRITE_REQUEST: StaticSchema = ( - 18, - n0, - _WR, - 0, - (_PR, _DR), - ((PUT_REQUEST, 0), (DELETE_REQUEST, 0)), -) - -PARTI_QL_BATCH_RESPONSE: StaticSchema = ( - 16, - n0, - _PQLBRa, - 0, - (_m,), - ((BATCH_STATEMENT_RESPONSE, 0),), -) - -EXPORT_TABLE_TO_POINT_IN_TIME: StaticOperationSchema = ( - 23, - n0, - _ETTPIT, - 0, - EXPORT_TABLE_TO_POINT_IN_TIME_INPUT, - EXPORT_TABLE_TO_POINT_IN_TIME_OUTPUT, - ( - EXPORT_CONFLICT_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_EXPORT_TIME_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - POINT_IN_TIME_RECOVERY_UNAVAILABLE_EXCEPTION, - TABLE_NOT_FOUND_EXCEPTION, - ), -) - -WRITE_REQUESTS: StaticSchema = (16, n0, _WRr, 0, (_m,), ((WRITE_REQUEST, 0),)) - -BATCH_EXECUTE_STATEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _BESO, - {_smith: None}, - (_Res, _CC), - ((PARTI_QL_BATCH_RESPONSE, 0), (CONSUMED_CAPACITY_MULTIPLE, 0)), -) - -BATCH_GET_ITEM_OUTPUT: StaticSchema = ( - 18, - n0, - _BGIO, - {_smith: None}, - (_Res, _UK, _CC), - ( - (BATCH_GET_RESPONSE_MAP, 0), - (BATCH_GET_REQUEST_MAP, 0), - (CONSUMED_CAPACITY_MULTIPLE, 0), - ), -) - -BATCH_WRITE_ITEM_REQUEST_MAP: StaticSchema = ( - 17, - n0, - _BWIRM, - 0, - (_k, _v), - ((TABLE_ARN, 0), (WRITE_REQUESTS, 0)), -) - -SCAN_INPUT: StaticSchema = ( - 18, - n0, - _SI, - {_smit: None}, - ( - _TN, - _IN, - _ATG, - _Li, - _Se, - _SF, - _COo, - _ESK, - _RCC, - _TSo, - _Seg, - _PE, - _FEi, - _EAN, - _EAV, - _CR, - ), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (INDEX_NAME, 0), - (ATTRIBUTE_NAME_LIST, 0), - (POSITIVE_INTEGER_OBJECT, 0), - (SELECT, 0), - (FILTER_CONDITION_MAP, 0), - (CONDITIONAL_OPERATOR, 0), - (KEY, 0), - (RETURN_CONSUMED_CAPACITY, 0), - (SCAN_TOTAL_SEGMENTS, 0), - (SCAN_SEGMENT, 0), - (PROJECTION_EXPRESSION, 0), - (CONDITION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - (CONSISTENT_READ, 0), - ), -) - -SEARCH_VECTORS: StaticOperationSchema = ( - 23, - n0, - _SVe, - {_sCPm: MappingProxyType({"IsSearchOperation": MappingProxyType({"value": True})})}, - SEARCH_VECTORS_INPUT, - SEARCH_VECTORS_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -BATCH_WRITE_ITEM_INPUT: StaticSchema = ( - 18, - n0, - _BWII, - {_smit: None}, - (_RIe, _RCC, _RICM), - ( - (BATCH_WRITE_ITEM_REQUEST_MAP, 1), - (RETURN_CONSUMED_CAPACITY, 0), - (RETURN_ITEM_COLLECTION_METRICS, 0), - ), -) - -DELETE_ITEM_INPUT: StaticSchema = ( - 18, - n0, - _DIIe, - {_smit: None}, - (_TN, _K, _Exp, _COo, _RVe, _RCC, _RICM, _CE, _EAN, _EAV, _RVOCCF), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (KEY, 1), - (EXPECTED_ATTRIBUTE_MAP, 0), - (CONDITIONAL_OPERATOR, 0), - (RETURN_VALUE, 0), - (RETURN_CONSUMED_CAPACITY, 0), - (RETURN_ITEM_COLLECTION_METRICS, 0), - (CONDITION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -EXECUTE_STATEMENT: StaticOperationSchema = ( - 23, - n0, - _ESxe, - 0, - EXECUTE_STATEMENT_INPUT, - EXECUTE_STATEMENT_OUTPUT, - ( - CONDITIONAL_CHECK_FAILED_EXCEPTION, - DUPLICATE_ITEM_EXCEPTION, - INTERNAL_SERVER_ERROR, - ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - TRANSACTION_CONFLICT_EXCEPTION, - ), -) - -PUT_ITEM_INPUT: StaticSchema = ( - 18, - n0, - _PII, - {_smit: None}, - (_TN, _It, _Exp, _RVe, _RCC, _RICM, _COo, _CE, _EAN, _EAV, _RVOCCF), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (PUT_ITEM_INPUT_ATTRIBUTE_MAP, 1), - (EXPECTED_ATTRIBUTE_MAP, 0), - (RETURN_VALUE, 0), - (RETURN_CONSUMED_CAPACITY, 0), - (RETURN_ITEM_COLLECTION_METRICS, 0), - (CONDITIONAL_OPERATOR, 0), - (CONDITION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -EXECUTE_TRANSACTION: StaticOperationSchema = ( - 23, - n0, - _ETxe, - 0, - EXECUTE_TRANSACTION_INPUT, - EXECUTE_TRANSACTION_OUTPUT, - ( - IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION, - INTERNAL_SERVER_ERROR, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - TRANSACTION_CANCELED_EXCEPTION, - TRANSACTION_IN_PROGRESS_EXCEPTION, - ), -) - -QUERY_INPUT: StaticSchema = ( - 18, - n0, - _QI, - {_smit: None}, - ( - _TN, - _IN, - _Se, - _ATG, - _Li, - _CR, - _KC, - _QF, - _COo, - _SIF, - _ESK, - _RCC, - _PE, - _FEi, - _KCE, - _EAN, - _EAV, - ), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (INDEX_NAME, 0), - (SELECT, 0), - (ATTRIBUTE_NAME_LIST, 0), - (POSITIVE_INTEGER_OBJECT, 0), - (CONSISTENT_READ, 0), - (KEY_CONDITIONS, 0), - (FILTER_CONDITION_MAP, 0), - (CONDITIONAL_OPERATOR, 0), - (BOOLEAN_OBJECT, 0), - (KEY, 0), - (RETURN_CONSUMED_CAPACITY, 0), - (PROJECTION_EXPRESSION, 0), - (CONDITION_EXPRESSION, 0), - (KEY_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - ), -) - -BATCH_EXECUTE_STATEMENT: StaticOperationSchema = ( - 23, - n0, - _BES, - 0, - BATCH_EXECUTE_STATEMENT_INPUT, - BATCH_EXECUTE_STATEMENT_OUTPUT, - (INTERNAL_SERVER_ERROR, REQUEST_LIMIT_EXCEEDED, THROTTLING_EXCEPTION), -) - -TRANSACT_GET_ITEMS: StaticOperationSchema = ( - 23, - n0, - _TGIr, - { - _sCP: MappingProxyType( - { - "ResourceArnList": MappingProxyType( - {"path": "TransactItems[*].Get.TableName"} - ) - } - ) - }, - TRANSACT_GET_ITEMS_INPUT, - TRANSACT_GET_ITEMS_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - TRANSACTION_CANCELED_EXCEPTION, - ), -) - -BATCH_GET_ITEM: StaticOperationSchema = ( - 23, - n0, - _BGI, - { - _sCP: MappingProxyType( - {"ResourceArnList": MappingProxyType({"path": "keys(RequestItems)"})} - ) - }, - BATCH_GET_ITEM_INPUT, - BATCH_GET_ITEM_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -BATCH_WRITE_ITEM_OUTPUT: StaticSchema = ( - 18, - n0, - _BWIO, - {_smith: None}, - (_UI, _ICM, _CC), - ( - (BATCH_WRITE_ITEM_REQUEST_MAP, 0), - (ITEM_COLLECTION_METRICS_PER_TABLE, 0), - (CONSUMED_CAPACITY_MULTIPLE, 0), - ), -) - -UPDATE_ITEM_INPUT: StaticSchema = ( - 18, - n0, - _UII, - {_smit: None}, - (_TN, _K, _AU, _Exp, _COo, _RVe, _RCC, _RICM, _UE, _CE, _EAN, _EAV, _RVOCCF), - ( - (TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}), - (KEY, 1), - (ATTRIBUTE_UPDATES, 0), - (EXPECTED_ATTRIBUTE_MAP, 0), - (CONDITIONAL_OPERATOR, 0), - (RETURN_VALUE, 0), - (RETURN_CONSUMED_CAPACITY, 0), - (RETURN_ITEM_COLLECTION_METRICS, 0), - (UPDATE_EXPRESSION, 0), - (CONDITION_EXPRESSION, 0), - (EXPRESSION_ATTRIBUTE_NAME_MAP, 0), - (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), - (RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), - ), -) - -SCAN: StaticOperationSchema = ( - 23, - n0, - _Sca, - 0, - SCAN_INPUT, - SCAN_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -QUERY: StaticOperationSchema = ( - 23, - n0, - _Q, - 0, - QUERY_INPUT, - QUERY_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -DELETE_ITEM: StaticOperationSchema = ( - 23, - n0, - _DIel, - 0, - DELETE_ITEM_INPUT, - DELETE_ITEM_OUTPUT, - ( - CONDITIONAL_CHECK_FAILED_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REPLICATED_WRITE_CONFLICT_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - TRANSACTION_CONFLICT_EXCEPTION, - ), -) - -PUT_ITEM: StaticOperationSchema = ( - 23, - n0, - _PI, - 0, - PUT_ITEM_INPUT, - PUT_ITEM_OUTPUT, - ( - CONDITIONAL_CHECK_FAILED_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REPLICATED_WRITE_CONFLICT_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - TRANSACTION_CONFLICT_EXCEPTION, - ), -) - -TRANSACT_WRITE_ITEM: StaticSchema = ( - 18, - n0, - _TWI, - 0, - (_CCo, _Pu, _Del, _U), - ((CONDITION_CHECK, 0), (PUT, 0), (DELETE, 0), (UPDATE, 0)), -) - -UPDATE_ITEM: StaticOperationSchema = ( - 23, - n0, - _UIp, - 0, - UPDATE_ITEM_INPUT, - UPDATE_ITEM_OUTPUT, - ( - CONDITIONAL_CHECK_FAILED_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REPLICATED_WRITE_CONFLICT_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - TRANSACTION_CONFLICT_EXCEPTION, - ), -) - -BATCH_WRITE_ITEM: StaticOperationSchema = ( - 23, - n0, - _BWI, - { - _sCP: MappingProxyType( - {"ResourceArnList": MappingProxyType({"path": "keys(RequestItems)"})} - ) - }, - BATCH_WRITE_ITEM_INPUT, - BATCH_WRITE_ITEM_OUTPUT, - ( - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REPLICATED_WRITE_CONFLICT_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - ), -) - -TRANSACT_WRITE_ITEM_LIST: StaticSchema = ( - 16, - n0, - _TWIL, - 0, - (_m,), - ((TRANSACT_WRITE_ITEM, 0),), -) - -TRANSACT_WRITE_ITEMS_INPUT: StaticSchema = ( - 18, - n0, - _TWII, - {_smit: None}, - (_TIr, _RCC, _RICM, _CRT), - ( - (TRANSACT_WRITE_ITEM_LIST, 1), - (RETURN_CONSUMED_CAPACITY, 0), - (RETURN_ITEM_COLLECTION_METRICS, 0), - (CLIENT_REQUEST_TOKEN, 2), - ), -) - -TRANSACT_WRITE_ITEMS: StaticOperationSchema = ( - 23, - n0, - _TWIr, - { - _sCP: MappingProxyType( - { - "ResourceArnList": MappingProxyType( - { - "path": "TransactItems[*].[ConditionCheck.TableName, Put.TableName, Delete.TableName, Update.TableName][]" - } - ) - } - ) - }, - TRANSACT_WRITE_ITEMS_INPUT, - TRANSACT_WRITE_ITEMS_OUTPUT, - ( - IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION, - INTERNAL_SERVER_ERROR, - INVALID_ENDPOINT_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - REQUEST_LIMIT_EXCEEDED, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - TRANSACTION_CANCELED_EXCEPTION, - TRANSACTION_IN_PROGRESS_EXCEPTION, - ), -) - -DYNAMO_DB_20120810: StaticSchema = ( - 21, - n0, - _D_, - { - _a: MappingProxyType({"name": "dynamodb"}), - _a_: None, - _aw: MappingProxyType( - { - "sdkId": "DynamoDB", - "arnNamespace": "dynamodb", - "cloudFormationName": "DynamoDB", - "cloudTrailEventSource": "dynamodb.amazonaws.com", - "endpointPrefix": "dynamodb", - } - ), - _sN: MappingProxyType({"uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "APPROXIMATE_CREATION_DATE_TIME_PRECISION", + "ARCHIVAL_REASON", + "BACKUP_ARN", + "DATE", + "ARCHIVAL_SUMMARY", + "ATTRIBUTE_ACTION", + "KEY_SCHEMA_ATTRIBUTE_NAME", + "SCALAR_ATTRIBUTE_TYPE", + "ATTRIBUTE_DEFINITION", + "ATTRIBUTE_DEFINITIONS", + "ATTRIBUTE_NAME", + "BINARY_ATTRIBUTE_VALUE", + "BOOLEAN_ATTRIBUTE_VALUE", + "BINARY_SET_ATTRIBUTE_VALUE", + "NUMBER_ATTRIBUTE_VALUE", + "NUMBER_SET_ATTRIBUTE_VALUE", + "NULL_ATTRIBUTE_VALUE", + "STRING_ATTRIBUTE_VALUE", + "STRING_SET_ATTRIBUTE_VALUE", + "ATTRIBUTE_NAME_LIST", + "AUTO_SCALING_POLICY_NAME", + "BOOLEAN_OBJECT", + "INTEGER_OBJECT", + "DOUBLE_OBJECT", + "AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_DESCRIPTION", + "AUTO_SCALING_POLICY_DESCRIPTION", + "AUTO_SCALING_POLICY_DESCRIPTION_LIST", + "AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_UPDATE", + "AUTO_SCALING_POLICY_UPDATE", + "AUTO_SCALING_ROLE_ARN", + "STRING", + "POSITIVE_LONG_OBJECT", + "AUTO_SCALING_SETTINGS_DESCRIPTION", + "AUTO_SCALING_SETTINGS_UPDATE", + "AVAILABILITY_ERROR_MESSAGE", + "BACKFILLING", + "BACKUP_CREATION_DATE_TIME", + "BACKUP_NAME", + "BACKUP_SIZE_BYTES", + "BACKUP_STATUS", + "BACKUP_TYPE", + "BACKUP_DETAILS", + "BILLING_MODE", + "ITEM_COUNT", + "KEY_TYPE", + "KEY_SCHEMA_ELEMENT", + "KEY_SCHEMA", + "LONG_OBJECT", + "ON_DEMAND_THROUGHPUT", + "PROVISIONED_THROUGHPUT", + "TABLE_ARN", + "TABLE_CREATION_DATE_TIME", + "TABLE_ID", + "TABLE_NAME", + "SOURCE_TABLE_DETAILS", + "INDEX_NAME", + "NON_KEY_ATTRIBUTE_NAME", + "NON_KEY_ATTRIBUTE_NAME_LIST", + "PROJECTION_TYPE", + "PROJECTION", + "GLOBAL_SECONDARY_INDEX_INFO", + "GLOBAL_SECONDARY_INDEXES", + "LOCAL_SECONDARY_INDEX_INFO", + "LOCAL_SECONDARY_INDEXES", + "KMS_MASTER_KEY_ARN", + "SSE_TYPE", + "SSE_STATUS", + "SSE_DESCRIPTION", + "STREAM_ENABLED", + "STREAM_VIEW_TYPE", + "STREAM_SPECIFICATION", + "TIME_TO_LIVE_ATTRIBUTE_NAME", + "TIME_TO_LIVE_STATUS", + "TIME_TO_LIVE_DESCRIPTION", + "VECTOR_DISTANCE_FUNCTION", + "SEARCH_SCHEMA_ELEMENT_TYPE", + "SEARCH_SCHEMA_ELEMENT", + "SEARCH_SCHEMA", + "VECTOR_ATTRIBUTE_NAME", + "VECTOR_ATTRIBUTE_DEFINITION", + "VECTOR_INDEX_INFO", + "VECTOR_INDEXES", + "SOURCE_TABLE_FEATURE_DETAILS", + "BACKUP_DESCRIPTION", + "ERROR_MESSAGE", + "BACKUP_IN_USE_EXCEPTION", + "BACKUP_NOT_FOUND_EXCEPTION", + "BACKUPS_INPUT_LIMIT", + "BACKUP_SUMMARY", + "BACKUP_SUMMARIES", + "BACKUP_TYPE_FILTER", + "RETURN_CONSUMED_CAPACITY", + "CONSISTENT_READ", + "RETURN_VALUES_ON_CONDITION_CHECK_FAILURE", + "PARTI_QL_STATEMENT", + "CONSUMED_CAPACITY_UNITS", + "CAPACITY", + "SECONDARY_INDEXES_CAPACITY_MAP", + "VECTOR_CAPACITY", + "VECTOR_INDEXES_CAPACITY_MAP", + "CONSUMED_CAPACITY", + "CONSUMED_CAPACITY_MULTIPLE", + "BATCH_STATEMENT_ERROR_CODE_ENUM", + "INTERNAL_SERVER_ERROR", + "REASON", + "RESOURCE", + "THROTTLING_REASON", + "THROTTLING_REASON_LIST", + "STREAM_ARN", + "GLOBAL_TABLE_NOT_FOUND_EXCEPTION", + "DESTINATION_STATUS", + ), + ( + "REQUEST_LIMIT_EXCEEDED", + "THROTTLING_EXCEPTION", + "EXPRESSION_ATTRIBUTE_NAME_VARIABLE", + "EXPRESSION_ATTRIBUTE_NAME_MAP", + "PROJECTION_EXPRESSION", + "INVALID_ENDPOINT_EXCEPTION", + "PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "RETURN_ITEM_COLLECTION_METRICS", + "ITEM_COLLECTION_SIZE_ESTIMATE_BOUND", + "ITEM_COLLECTION_SIZE_ESTIMATE_RANGE", + "ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION", + "REPLICATED_WRITE_CONFLICT_EXCEPTION", + "BILLED_SIZE_BYTES", + "BILLING_MODE_SUMMARY", + "BULK_OPERATION_ARN", + "NON_NEGATIVE_LONG_OBJECT", + "BULK_OPERATION_BYTES", + "BULK_OPERATION_STATUS", + "SECONDARY_INDEXES_BULK_BYTES_MAP", + "BULK_OPERATION_VECTOR_BYTES", + "VECTOR_INDEXES_BULK_VECTOR_BYTES_MAP", + "BULK_OPERATION_USAGE", + "BULK_OPERATION_USAGE_MULTIPLE", + "CLIENT_TOKEN", + "BULK_OPERATION_END_TIME", + "BULK_OPERATION_ITEM_COUNT", + "FAILURE_CODE", + "FAILURE_MESSAGE", + "INPUT_COMPRESSION_TYPE", + "BULK_OPERATION_INPUT_FORMAT", + "S3_BUCKET", + "S3_BUCKET_OWNER", + "S3_PREFIX", + "INPUT_S3_CONFIGURATION", + "BULK_OPERATION_MAX_WRITE_REQUEST_UNITS", + "OUTPUT_TYPE_ENUM", + "OUTPUT_TYPE_LIST", + "S3_SSE_ALGORITHM", + "S3_SSE_KMS_KEY_ID", + "OUTPUT_S3_CONFIGURATION", + "BULK_OPERATION_PERFORMANCE_TIER", + "PROCESSED_INPUT_BYTES", + "BULK_OPERATION_START_TIME", + "BULK_OPERATION_TABLE_DETAIL", + "BULK_OPERATION_TABLE_DETAILS", + "TOTAL_INPUT_BYTES", + "BULK_OPERATION_DESCRIPTION", + "BULK_OPERATION_NEXT_TOKEN", + "BULK_OPERATION_SUMMARY", + "BULK_OPERATIONS_SUMMARY_LIST", + "CANCEL_BULK_OPERATION_INPUT", + "CANCEL_BULK_OPERATION_OUTPUT", + "CANCEL_BULK_OPERATION", + "CODE", + "CLIENT_REQUEST_TOKEN", + "CLOUD_WATCH_LOG_GROUP_ARN", + "COMPARISON_OPERATOR", + "CONDITIONAL_OPERATOR", + "CONDITION_EXPRESSION", + "EXPRESSION_ATTRIBUTE_VALUE_VARIABLE", + "CONFIRM_REMOVE_SELF_RESOURCE_ACCESS", + "CONTINUOUS_BACKUPS_STATUS", + "POINT_IN_TIME_RECOVERY_STATUS", + "RECOVERY_PERIOD_IN_DAYS", + "POINT_IN_TIME_RECOVERY_DESCRIPTION", + "CONTINUOUS_BACKUPS_DESCRIPTION", + "CONTINUOUS_BACKUPS_UNAVAILABLE_EXCEPTION", + "CONTRIBUTOR_INSIGHTS_ACTION", + "CONTRIBUTOR_INSIGHTS_MODE", + "CONTRIBUTOR_INSIGHTS_RULE", + "CONTRIBUTOR_INSIGHTS_RULE_LIST", + "CONTRIBUTOR_INSIGHTS_STATUS", + "CONTRIBUTOR_INSIGHTS_SUMMARY", + "CONTRIBUTOR_INSIGHTS_SUMMARIES", + "CREATE_BACKUP_INPUT", + "CREATE_BACKUP_OUTPUT", + "CREATE_BACKUP", + "LIMIT_EXCEEDED_EXCEPTION", + "TABLE_IN_USE_EXCEPTION", + "TABLE_NOT_FOUND_EXCEPTION", + "WARM_THROUGHPUT", + "CREATE_GLOBAL_SECONDARY_INDEX_ACTION", + "REGION_NAME", + "REPLICA", + "REPLICA_LIST", + "CREATE_GLOBAL_TABLE_INPUT", + "CREATE_GLOBAL_TABLE_OUTPUT", + "CREATE_GLOBAL_TABLE", + "GLOBAL_TABLE_ARN_STRING", + "GLOBAL_TABLE_STATUS", + "ON_DEMAND_THROUGHPUT_OVERRIDE", + "PROVISIONED_THROUGHPUT_OVERRIDE", + "INDEX_STATUS", + "GLOBAL_SECONDARY_INDEX_WARM_THROUGHPUT_DESCRIPTION", + "REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION", + "REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST", + "GLOBAL_TABLE_SETTINGS_REPLICATION_MODE", + "KMS_MASTER_KEY_ID", + "REPLICA_STATUS", + "REPLICA_STATUS_DESCRIPTION", + "REPLICA_STATUS_PERCENT_PROGRESS", + "TABLE_STATUS", + "POSITIVE_INTEGER_OBJECT", + ), + ( + "TABLE_CLASS", + "TABLE_CLASS_SUMMARY", + "TABLE_WARM_THROUGHPUT_DESCRIPTION", + "REPLICA_DESCRIPTION", + "REPLICA_DESCRIPTION_LIST", + "GLOBAL_TABLE_DESCRIPTION", + "GLOBAL_TABLE_ALREADY_EXISTS_EXCEPTION", + "CREATE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION", + "CREATE_REPLICA_ACTION", + "REPLICA_GLOBAL_SECONDARY_INDEX", + "REPLICA_GLOBAL_SECONDARY_INDEX_LIST", + "CREATE_REPLICATION_GROUP_MEMBER_ACTION", + "DELETION_PROTECTION_ENABLED", + "GLOBAL_SECONDARY_INDEX", + "GLOBAL_SECONDARY_INDEX_LIST", + "LOCAL_SECONDARY_INDEX", + "LOCAL_SECONDARY_INDEX_LIST", + "RESOURCE_POLICY", + "SSE_ENABLED", + "SSE_SPECIFICATION", + "TAG_KEY_STRING", + "TAG_VALUE_STRING", + "TAG", + "TAG_LIST", + "VECTOR_INDEX", + "VECTOR_INDEX_LIST", + "CREATE_TABLE_INPUT", + "CREATE_TABLE_OUTPUT", + "CREATE_TABLE", + "DISASSOCIATION_PROTECTION_ENABLED", + "PROVISIONED_THROUGHPUT_DESCRIPTION", + "GLOBAL_SECONDARY_INDEX_DESCRIPTION", + "GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST", + "WITNESS_STATUS", + "GLOBAL_TABLE_WITNESS_DESCRIPTION", + "GLOBAL_TABLE_WITNESS_DESCRIPTION_LIST", + "LOCAL_SECONDARY_INDEX_DESCRIPTION", + "LOCAL_SECONDARY_INDEX_DESCRIPTION_LIST", + "MULTI_REGION_CONSISTENCY", + "RESTORE_IN_PROGRESS", + "RESTORE_SUMMARY", + "VECTOR_INDEX_DESCRIPTION", + "VECTOR_INDEX_DESCRIPTION_LIST", + "TABLE_DESCRIPTION", + "RESOURCE_IN_USE_EXCEPTION", + "CREATE_VECTOR_INDEX_ACTION", + "CSV_DELIMITER", + "CSV_HEADER", + "CSV_HEADER_LIST", + "CSV_OPTIONS", + "DELETE_BACKUP_INPUT", + "DELETE_BACKUP_OUTPUT", + "DELETE_BACKUP", + "DELETE_GLOBAL_SECONDARY_INDEX_ACTION", + "DELETE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION", + "DELETE_REPLICA_ACTION", + "DELETE_REPLICATION_GROUP_MEMBER_ACTION", + "POLICY_REVISION_ID", + "RESOURCE_ARN_STRING", + "DELETE_RESOURCE_POLICY_INPUT", + "DELETE_RESOURCE_POLICY_OUTPUT", + "DELETE_RESOURCE_POLICY", + "POLICY_NOT_FOUND_EXCEPTION", + "DELETE_TABLE_INPUT", + "DELETE_TABLE_OUTPUT", + "DELETE_TABLE", + "DELETE_VECTOR_INDEX_ACTION", + "DESCRIBE_BACKUP_INPUT", + "DESCRIBE_BACKUP_OUTPUT", + "DESCRIBE_BACKUP", + "DESCRIBE_BULK_OPERATION_INPUT", + "DESCRIBE_BULK_OPERATION_OUTPUT", + "DESCRIBE_BULK_OPERATION", + "DESCRIBE_CONTINUOUS_BACKUPS_INPUT", + "DESCRIBE_CONTINUOUS_BACKUPS_OUTPUT", + "DESCRIBE_CONTINUOUS_BACKUPS", + ), + ( + "DESCRIBE_CONTRIBUTOR_INSIGHTS_INPUT", + "DESCRIBE_CONTRIBUTOR_INSIGHTS_OUTPUT", + "DESCRIBE_CONTRIBUTOR_INSIGHTS", + "EXCEPTION_DESCRIPTION", + "EXCEPTION_NAME", + "FAILURE_EXCEPTION", + "LAST_UPDATE_DATE_TIME", + "DESCRIBE_ENDPOINTS_INPUT", + "DESCRIBE_ENDPOINTS_OUTPUT", + "DESCRIBE_ENDPOINTS", + "LONG", + "ENDPOINT", + "ENDPOINTS", + "EXPORT_ARN", + "DESCRIBE_EXPORT_INPUT", + "DESCRIBE_EXPORT_OUTPUT", + "DESCRIBE_EXPORT", + "EXPORT_END_TIME", + "EXPORT_FORMAT", + "EXPORT_MANIFEST", + "EXPORT_STATUS", + "EXPORT_TIME", + "EXPORT_TYPE", + "EXPORT_FROM_TIME", + "EXPORT_TO_TIME", + "EXPORT_VIEW_TYPE", + "INCREMENTAL_EXPORT_SPECIFICATION", + "EXPORT_START_TIME", + "EXPORT_NOT_FOUND_EXCEPTION", + "DESCRIBE_GLOBAL_TABLE_INPUT", + "DESCRIBE_GLOBAL_TABLE_OUTPUT", + "DESCRIBE_GLOBAL_TABLE", + "DESCRIBE_GLOBAL_TABLE_SETTINGS_INPUT", + "DESCRIBE_GLOBAL_TABLE_SETTINGS_OUTPUT", + "DESCRIBE_GLOBAL_TABLE_SETTINGS", + "REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION", + "REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION_LIST", + "REPLICA_SETTINGS_DESCRIPTION", + "REPLICA_SETTINGS_DESCRIPTION_LIST", + "IMPORT_ARN", + "DESCRIBE_IMPORT_INPUT", + "DESCRIBE_IMPORT_OUTPUT", + "DESCRIBE_IMPORT", + "IMPORT_END_TIME", + "ERROR_COUNT", + "IMPORTED_ITEM_COUNT", + "IMPORT_STATUS", + "INPUT_FORMAT", + "INPUT_FORMAT_OPTIONS", + "PROCESSED_ITEM_COUNT", + "S3_BUCKET_SOURCE", + "IMPORT_START_TIME", + "TABLE_CREATION_PARAMETERS", + "IMPORT_TABLE_DESCRIPTION", + "IMPORT_NOT_FOUND_EXCEPTION", + "DESCRIBE_KINESIS_STREAMING_DESTINATION_INPUT", + "DESCRIBE_KINESIS_STREAMING_DESTINATION_OUTPUT", + "DESCRIBE_KINESIS_STREAMING_DESTINATION", + "KINESIS_DATA_STREAM_DESTINATION", + "KINESIS_DATA_STREAM_DESTINATIONS", + "DESCRIBE_LIMITS_INPUT", + "DESCRIBE_LIMITS_OUTPUT", + "DESCRIBE_LIMITS", + "DESCRIBE_TABLE_INPUT", + "DESCRIBE_TABLE_OUTPUT", + "DESCRIBE_TABLE", + "DESCRIBE_TABLE_REPLICA_AUTO_SCALING_INPUT", + "DESCRIBE_TABLE_REPLICA_AUTO_SCALING_OUTPUT", + "DESCRIBE_TABLE_REPLICA_AUTO_SCALING", + "REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION", + "REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION_LIST", + "REPLICA_AUTO_SCALING_DESCRIPTION", + "REPLICA_AUTO_SCALING_DESCRIPTION_LIST", + "TABLE_AUTO_SCALING_DESCRIPTION", + "DESCRIBE_TIME_TO_LIVE_INPUT", + "DESCRIBE_TIME_TO_LIVE_OUTPUT", + "DESCRIBE_TIME_TO_LIVE", + "ENABLE_KINESIS_STREAMING_CONFIGURATION", + "DISABLE_KINESIS_STREAMING_DESTINATION_INPUT", + "DISABLE_KINESIS_STREAMING_DESTINATION_OUTPUT", + "DISABLE_KINESIS_STREAMING_DESTINATION", + "DISASSOCIATION_MODE", + "DISASSOCIATE_REPLICATION_GROUP_MEMBER_ACTION", + "DUPLICATE_ITEM_EXCEPTION", + "ENABLE_KINESIS_STREAMING_DESTINATION_INPUT", + "ENABLE_KINESIS_STREAMING_DESTINATION_OUTPUT", + "ENABLE_KINESIS_STREAMING_DESTINATION", + "PARTI_QL_NEXT_TOKEN", + ), + ( + "IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION", + "TRANSACTION_IN_PROGRESS_EXCEPTION", + "EXPORT_CONFLICT_EXCEPTION", + "INVALID_EXPORT_TIME_EXCEPTION", + "POINT_IN_TIME_RECOVERY_UNAVAILABLE_EXCEPTION", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + "IMPORT_CONFLICT_EXCEPTION", + "IMPORT_TABLE_INPUT", + "IMPORT_TABLE_OUTPUT", + "IMPORT_TABLE", + "TIME_RANGE_LOWER_BOUND", + "TIME_RANGE_UPPER_BOUND", + "LIST_BACKUPS_INPUT", + "LIST_BACKUPS_OUTPUT", + "LIST_BACKUPS", + "LIST_BULK_OPERATIONS_MAX_LIMIT", + "LIST_BULK_OPERATIONS_INPUT", + "LIST_BULK_OPERATIONS_OUTPUT", + "LIST_BULK_OPERATIONS", + "LIST_CONTRIBUTOR_INSIGHTS_LIMIT", + "NEXT_TOKEN_STRING", + "LIST_CONTRIBUTOR_INSIGHTS_INPUT", + "LIST_CONTRIBUTOR_INSIGHTS_OUTPUT", + "LIST_CONTRIBUTOR_INSIGHTS", + "LIST_EXPORTS_MAX_LIMIT", + "EXPORT_NEXT_TOKEN", + "LIST_EXPORTS_INPUT", + "LIST_EXPORTS_OUTPUT", + "LIST_EXPORTS", + "EXPORT_SUMMARY", + "EXPORT_SUMMARIES", + "LIST_GLOBAL_TABLES_INPUT", + "LIST_GLOBAL_TABLES_OUTPUT", + "LIST_GLOBAL_TABLES", + "GLOBAL_TABLE", + "GLOBAL_TABLE_LIST", + "IMPORT_NEXT_TOKEN", + "LIST_IMPORTS_MAX_LIMIT", + "LIST_IMPORTS_INPUT", + "LIST_IMPORTS_OUTPUT", + "LIST_IMPORTS", + "IMPORT_SUMMARY", + "IMPORT_SUMMARY_LIST", + "LIST_TABLES_INPUT_LIMIT", + "LIST_TABLES_INPUT", + "LIST_TABLES_OUTPUT", + "LIST_TABLES", + "TABLE_NAME_LIST", + "LIST_TAGS_OF_RESOURCE_INPUT", + "LIST_TAGS_OF_RESOURCE_OUTPUT", + "LIST_TAGS_OF_RESOURCE", + "PUT_RESOURCE_POLICY_INPUT", + "PUT_RESOURCE_POLICY_OUTPUT", + "PUT_RESOURCE_POLICY", + "SELECT", + "INTEGER", + "RESTORE_TABLE_FROM_BACKUP_INPUT", + "RESTORE_TABLE_FROM_BACKUP_OUTPUT", + "RESTORE_TABLE_FROM_BACKUP", + "TABLE_ALREADY_EXISTS_EXCEPTION", + "INVALID_RESTORE_TIME_EXCEPTION", + "RESTORE_TABLE_TO_POINT_IN_TIME_INPUT", + "RESTORE_TABLE_TO_POINT_IN_TIME_OUTPUT", + "RESTORE_TABLE_TO_POINT_IN_TIME", + "SCAN_SEGMENT", + "SCAN_TOTAL_SEGMENTS", + "TOP_K_INTEGER", + "SCORE_NUMBER", + "START_BULK_PUT_ITEMS_INPUT", + "START_BULK_PUT_ITEMS_OUTPUT", + "START_BULK_PUT_ITEMS", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "POINT_IN_TIME_RECOVERY_SPECIFICATION", + "UPDATE_CONTINUOUS_BACKUPS_INPUT", + "UPDATE_CONTINUOUS_BACKUPS_OUTPUT", + "UPDATE_CONTINUOUS_BACKUPS", + "UPDATE_CONTRIBUTOR_INSIGHTS_INPUT", + "UPDATE_CONTRIBUTOR_INSIGHTS_OUTPUT", + "UPDATE_CONTRIBUTOR_INSIGHTS", + "REPLICA_ALREADY_EXISTS_EXCEPTION", + "REPLICA_NOT_FOUND_EXCEPTION", + "REPLICA_UPDATE", + "REPLICA_UPDATE_LIST", + "UPDATE_GLOBAL_TABLE_INPUT", + "UPDATE_GLOBAL_TABLE_OUTPUT", + "UPDATE_GLOBAL_TABLE", + "INDEX_NOT_FOUND_EXCEPTION", + "GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE", + "GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST", + ), + ( + "RETURN_VALUE", + "TRANSACTION_CONFLICT_EXCEPTION", + "KEY_EXPRESSION", + "UPDATE_EXPRESSION", + "REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE", + "REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST", + "REPLICA_SETTINGS_UPDATE", + "REPLICA_SETTINGS_UPDATE_LIST", + "UPDATE_GLOBAL_TABLE_SETTINGS_INPUT", + "UPDATE_GLOBAL_TABLE_SETTINGS_OUTPUT", + "UPDATE_GLOBAL_TABLE_SETTINGS", + "UPDATE_KINESIS_STREAMING_CONFIGURATION", + "UPDATE_KINESIS_STREAMING_DESTINATION_INPUT", + "UPDATE_KINESIS_STREAMING_DESTINATION_OUTPUT", + "UPDATE_KINESIS_STREAMING_DESTINATION", + "UPDATE_GLOBAL_SECONDARY_INDEX_ACTION", + "GLOBAL_SECONDARY_INDEX_UPDATE", + "GLOBAL_SECONDARY_INDEX_UPDATE_LIST", + "GLOBAL_TABLE_WITNESS_GROUP_UPDATE", + "GLOBAL_TABLE_WITNESS_GROUP_UPDATE_LIST", + "UPDATE_REPLICATION_GROUP_MEMBER_ACTION", + "REPLICATION_GROUP_UPDATE", + "REPLICATION_GROUP_UPDATE_LIST", + "VECTOR_INDEX_UPDATE", + "VECTOR_INDEX_UPDATE_LIST", + "UPDATE_TABLE_INPUT", + "UPDATE_TABLE_OUTPUT", + "UPDATE_TABLE", + "GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE", + "GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST", + "REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE", + "REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST", + "REPLICA_AUTO_SCALING_UPDATE", + "REPLICA_AUTO_SCALING_UPDATE_LIST", + "UPDATE_TABLE_REPLICA_AUTO_SCALING_INPUT", + "UPDATE_TABLE_REPLICA_AUTO_SCALING_OUTPUT", + "UPDATE_TABLE_REPLICA_AUTO_SCALING", + "TIME_TO_LIVE_ENABLED", + "TIME_TO_LIVE_SPECIFICATION", + "UPDATE_TIME_TO_LIVE_INPUT", + "UPDATE_TIME_TO_LIVE_OUTPUT", + "UPDATE_TIME_TO_LIVE", + "ATTRIBUTE_VALUE", + "LIST_ATTRIBUTE_VALUE", + "MAP_ATTRIBUTE_VALUE", + "ATTRIBUTE_MAP", + "ATTRIBUTE_VALUE_LIST", + "ATTRIBUTE_VALUE_UPDATE", + "EXPRESSION_ATTRIBUTE_VALUE_MAP", + "ITEM_COLLECTION_KEY_ATTRIBUTE_MAP", + "KEY", + "PREPARED_STATEMENT_PARAMETERS", + "PUT_ITEM_INPUT_ATTRIBUTE_MAP", + "SEARCH_VECTOR_LIST", + "ATTRIBUTE_UPDATES", + "BATCH_STATEMENT_ERROR", + "BATCH_STATEMENT_REQUEST", + "CANCELLATION_REASON", + "CONDITION", + "CONDITIONAL_CHECK_FAILED_EXCEPTION", + "DELETE_REQUEST", + "EXECUTE_STATEMENT_INPUT", + "EXECUTE_STATEMENT_OUTPUT", + "EXECUTE_STATEMENT", + "FILTER_SPECIFICATION", + "GET", + "GET_ITEM_INPUT", + "GET_ITEM_OUTPUT", + "GET_ITEM", + "ITEM_COLLECTION_METRICS", + "ITEM_LIST", + "ITEM_RESPONSE", + "KEY_LIST", + "PARAMETERIZED_STATEMENT", + "PUT_REQUEST", + "SEARCH_RESULT_ITEM", + "BATCH_GET_RESPONSE_MAP", + "CANCELLATION_REASON_LIST", + "EXPORT_DESCRIPTION", + ), + ( + "EXPORT_TABLE_TO_POINT_IN_TIME_INPUT", + "EXPORT_TABLE_TO_POINT_IN_TIME_OUTPUT", + "EXPORT_TABLE_TO_POINT_IN_TIME", + "FILTER_CONDITION_MAP", + "ITEM_COLLECTION_METRICS_MULTIPLE", + "ITEM_RESPONSE_LIST", + "KEY_CONDITIONS", + "KEYS_AND_ATTRIBUTES", + "PARAMETERIZED_STATEMENTS", + "PARTI_QL_BATCH_REQUEST", + "SEARCH_RESULT_LIST", + "TRANSACT_GET_ITEM", + "BATCH_EXECUTE_STATEMENT_INPUT", + "BATCH_EXECUTE_STATEMENT_OUTPUT", + "BATCH_EXECUTE_STATEMENT", + "BATCH_GET_REQUEST_MAP", + "EXECUTE_TRANSACTION_INPUT", + "EXECUTE_TRANSACTION_OUTPUT", + "EXECUTE_TRANSACTION", + "ITEM_COLLECTION_METRICS_PER_TABLE", + "SEARCH_VECTORS_OUTPUT", + "SEARCH_VECTORS_INPUT", + "SEARCH_VECTORS", + "TRANSACT_GET_ITEM_LIST", + "TRANSACT_GET_ITEMS_OUTPUT", + "TRANSACT_GET_ITEMS_INPUT", + "TRANSACT_GET_ITEMS", + "TRANSACTION_CANCELED_EXCEPTION", + "BATCH_GET_ITEM_INPUT", + "BATCH_GET_ITEM_OUTPUT", + "BATCH_GET_ITEM", + "EXPECTED_ATTRIBUTE_VALUE", + "TRANSACT_WRITE_ITEMS_OUTPUT", + "TRANSACT_WRITE_ITEMS_INPUT", + "TRANSACT_WRITE_ITEMS", + "CONDITION_CHECK", + "DELETE", + "PUT", + "UPDATE", + "BATCH_STATEMENT_RESPONSE", + "DELETE_ITEM_OUTPUT", + "DELETE_ITEM_INPUT", + "DELETE_ITEM", + "EXPECTED_ATTRIBUTE_MAP", + "PUT_ITEM_OUTPUT", + "PUT_ITEM_INPUT", + "PUT_ITEM", + "QUERY_OUTPUT", + "QUERY_INPUT", + "QUERY", + "SCAN_OUTPUT", + "SCAN_INPUT", + "SCAN", + "UPDATE_ITEM_OUTPUT", + "UPDATE_ITEM_INPUT", + "UPDATE_ITEM", + "WRITE_REQUEST", + "PARTI_QL_BATCH_RESPONSE", + "WRITE_REQUESTS", + "BATCH_WRITE_ITEM_REQUEST_MAP", + "BATCH_WRITE_ITEM_INPUT", + "BATCH_WRITE_ITEM_OUTPUT", + "BATCH_WRITE_ITEM", + "TRANSACT_WRITE_ITEM", + "TRANSACT_WRITE_ITEM_LIST", + "DYNAMO_DB_20120810", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_0.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_0.py new file mode 100644 index 000000000..fb0833ec7 --- /dev/null +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_0.py @@ -0,0 +1,991 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticSchema + + +n0 = "com.amazonaws.dynamodb" +_ACDTP = "ApproximateCreationDateTimePrecision" +_MILLISECOND = "MILLISECOND" +_sV = "smithy.api#enumValue" +_MICROSECOND = "MICROSECOND" +_AR = "ArchivalReason" +_BA = "BackupArn" +_D = "Date" +_AS = "ArchivalSummary" +_ADT = "ArchivalDateTime" +_ABA = "ArchivalBackupArn" +_AA = "AttributeAction" +_ADD = "ADD" +_PUT = "PUT" +_DELETE = "DELETE" +_KSAN = "KeySchemaAttributeName" +_SAT = "ScalarAttributeType" +_S = "S" +_N = "N" +_B = "B" +_AD = "AttributeDefinition" +_AN = "AttributeName" +_s = "smithy.api#required" +_AT = "AttributeType" +_ADt = "AttributeDefinitions" +_m = "member" +_BAV = "BinaryAttributeValue" +_BAVo = "BooleanAttributeValue" +_BSAV = "BinarySetAttributeValue" +_NAV = "NumberAttributeValue" +_NSAV = "NumberSetAttributeValue" +_NAVu = "NullAttributeValue" +_SAV = "StringAttributeValue" +_SSAV = "StringSetAttributeValue" +_ANL = "AttributeNameList" +_ASPN = "AutoScalingPolicyName" +_BO = "BooleanObject" +_IO = "IntegerObject" +_DO = "DoubleObject" +_ASTTSPCD = "AutoScalingTargetTrackingScalingPolicyConfigurationDescription" +_DSI = "DisableScaleIn" +_SIC = "ScaleInCooldown" +_SOC = "ScaleOutCooldown" +_TV = "TargetValue" +_ASPD = "AutoScalingPolicyDescription" +_PN = "PolicyName" +_TTSPC = "TargetTrackingScalingPolicyConfiguration" +_ASPDL = "AutoScalingPolicyDescriptionList" +_ASTTSPCU = "AutoScalingTargetTrackingScalingPolicyConfigurationUpdate" +_ASPU = "AutoScalingPolicyUpdate" +_ASRA = "AutoScalingRoleArn" +_St = "String" +_PLO = "PositiveLongObject" +_ASSD = "AutoScalingSettingsDescription" +_MU = "MinimumUnits" +_MUa = "MaximumUnits" +_ASD = "AutoScalingDisabled" +_SP = "ScalingPolicies" +_ASSU = "AutoScalingSettingsUpdate" +_SPU = "ScalingPolicyUpdate" +_AEM = "AvailabilityErrorMessage" +_Ba = "Backfilling" +_BCDT = "BackupCreationDateTime" +_BN = "BackupName" +_BSB = "BackupSizeBytes" +_BS = "BackupStatus" +_CREATING = "CREATING" +_DELETED = "DELETED" +_AVAILABLE = "AVAILABLE" +_BT = "BackupType" +_USER = "USER" +_SYSTEM = "SYSTEM" +_AB = "AWS_BACKUP" +_BD = "BackupDetails" +_BEDT = "BackupExpiryDateTime" +_BM = "BillingMode" +_PROVISIONED = "PROVISIONED" +_PPR = "PAY_PER_REQUEST" +_IC = "ItemCount" +_KT = "KeyType" +_HASH = "HASH" +_RANGE = "RANGE" +_KSE = "KeySchemaElement" +_KS = "KeySchema" +_LO = "LongObject" +_ODT = "OnDemandThroughput" +_MRRU = "MaxReadRequestUnits" +_MWRU = "MaxWriteRequestUnits" +_PT = "ProvisionedThroughput" +_RCU = "ReadCapacityUnits" +_WCU = "WriteCapacityUnits" +_TA = "TableArn" +_TCDT = "TableCreationDateTime" +_TI = "TableId" +_TN = "TableName" +_STD = "SourceTableDetails" +_TSB = "TableSizeBytes" +_IN = "IndexName" +_NKAN = "NonKeyAttributeName" +_NKANL = "NonKeyAttributeNameList" +_PTr = "ProjectionType" +_ALL = "ALL" +_KO = "KEYS_ONLY" +_INCLUDE = "INCLUDE" +_P = "Projection" +_NKA = "NonKeyAttributes" +_GSII = "GlobalSecondaryIndexInfo" +_GSI = "GlobalSecondaryIndexes" +_LSII = "LocalSecondaryIndexInfo" +_LSI = "LocalSecondaryIndexes" +_KMSMKA = "KMSMasterKeyArn" +_SSET = "SSEType" +_AES = "AES256" +_KMS = "KMS" +_SSES = "SSEStatus" +_ENABLING = "ENABLING" +_ENABLED = "ENABLED" +_DISABLING = "DISABLING" +_DISABLED = "DISABLED" +_UPDATING = "UPDATING" +_SSED = "SSEDescription" +_Sta = "Status" +_IEDT = "InaccessibleEncryptionDateTime" +_SE = "StreamEnabled" +_SVT = "StreamViewType" +_NI = "NEW_IMAGE" +_OI = "OLD_IMAGE" +_NAOI = "NEW_AND_OLD_IMAGES" +_SS = "StreamSpecification" +_TTLAN = "TimeToLiveAttributeName" +_TTLS = "TimeToLiveStatus" +_TTLD = "TimeToLiveDescription" +_VDF = "VectorDistanceFunction" +_COSINE = "COSINE" +_DP = "DOT_PRODUCT" +_EUCLIDEAN = "EUCLIDEAN" +_SSETe = "SearchSchemaElementType" +_IF = "INLINE_FILTER" +_SSE = "SearchSchemaElement" +_SSe = "SearchSchema" +_VAN = "VectorAttributeName" +_VAD = "VectorAttributeDefinition" +_VII = "VectorIndexInfo" +_VA = "VectorAttribute" +_Di = "Dimensions" +_DF = "DistanceFunction" +_VI = "VectorIndexes" +_STFD = "SourceTableFeatureDetails" +_SD = "StreamDescription" +_BDa = "BackupDescription" +_EM = "ErrorMessage" +_BIUE = "BackupInUseException" +_sm = "smithy.api#error" +_c = "client" +_me = "message" +_BNFE = "BackupNotFoundException" +_BIL = "BackupsInputLimit" +_BSa = "BackupSummary" +_BSac = "BackupSummaries" +_BTF = "BackupTypeFilter" +_RCC = "ReturnConsumedCapacity" +_INDEXES = "INDEXES" +_TOTAL = "TOTAL" +_NONE = "NONE" +_CR = "ConsistentRead" +_RVOCCF = "ReturnValuesOnConditionCheckFailure" +_AO = "ALL_OLD" +_PQLS = "PartiQLStatement" +_CCU = "ConsumedCapacityUnits" +_C = "Capacity" +_CU = "CapacityUnits" +_SICM = "SecondaryIndexesCapacityMap" +_k = "key" +_v = "value" +_VC = "VectorCapacity" +_VSRB = "VectorSearchRequestBytes" +_VWRB = "VectorWriteRequestBytes" +_VICM = "VectorIndexesCapacityMap" +_CC = "ConsumedCapacity" +_T = "Table" +_CCM = "ConsumedCapacityMultiple" +_BSECE = "BatchStatementErrorCodeEnum" +_CCF = "ConditionalCheckFailed" +_ICSLE = "ItemCollectionSizeLimitExceeded" +_RLE = "RequestLimitExceeded" +_VE = "ValidationError" +_PTE = "ProvisionedThroughputExceeded" +_TC = "TransactionConflict" +_TE = "ThrottlingError" +_ISE = "InternalServerError" +_RNF = "ResourceNotFound" +_ADc = "AccessDenied" +_DI = "DuplicateItem" +_se = "server" +_R = "Reason" +_Re = "Resource" +_TR = "ThrottlingReason" +_r = "reason" +_re = "resource" +_TRL = "ThrottlingReasonList" +_ACTIVE = "ACTIVE" +_SA = "StreamArn" +_GTNFE = "GlobalTableNotFoundException" +_DS = "DestinationStatus" +_EF_ = "ENABLE_FAILED" + +APPROXIMATE_CREATION_DATE_TIME_PRECISION: StaticSchema = ( + 14, + n0, + _ACDTP, + 0, + (_MILLISECOND, _MICROSECOND), + ((-1, {_sV: _MILLISECOND}), (-1, {_sV: _MICROSECOND})), +) + +ARCHIVAL_REASON: StaticSchema = (3, n0, _AR, 0) + +BACKUP_ARN: StaticSchema = (3, n0, _BA, 0) + +DATE: StaticSchema = (4, n0, _D, 0) + +ARCHIVAL_SUMMARY: StaticSchema = ( + 18, + n0, + _AS, + 0, + (_ADT, _AR, _ABA), + ((DATE, 0), (ARCHIVAL_REASON, 0), (BACKUP_ARN, 0)), +) + +ATTRIBUTE_ACTION: StaticSchema = ( + 14, + n0, + _AA, + 0, + (_ADD, _PUT, _DELETE), + ((-1, {_sV: _ADD}), (-1, {_sV: _PUT}), (-1, {_sV: _DELETE})), +) + +KEY_SCHEMA_ATTRIBUTE_NAME: StaticSchema = (3, n0, _KSAN, 0) + +SCALAR_ATTRIBUTE_TYPE: StaticSchema = ( + 14, + n0, + _SAT, + 0, + (_S, _N, _B), + ((-1, {_sV: _S}), (-1, {_sV: _N}), (-1, {_sV: _B})), +) + +ATTRIBUTE_DEFINITION: StaticSchema = ( + 18, + n0, + _AD, + 0, + (_AN, _AT), + ((KEY_SCHEMA_ATTRIBUTE_NAME, 1), (SCALAR_ATTRIBUTE_TYPE, 1)), +) + +ATTRIBUTE_DEFINITIONS: StaticSchema = ( + 16, + n0, + _ADt, + 0, + (_m,), + ((ATTRIBUTE_DEFINITION, 0),), +) + +ATTRIBUTE_NAME: StaticSchema = (3, n0, _AN, 0) + +BINARY_ATTRIBUTE_VALUE: StaticSchema = (1, n0, _BAV, 0) + +BOOLEAN_ATTRIBUTE_VALUE: StaticSchema = (2, n0, _BAVo, 0) + +BINARY_SET_ATTRIBUTE_VALUE: StaticSchema = ( + 16, + n0, + _BSAV, + 0, + (_m,), + ((BINARY_ATTRIBUTE_VALUE, 0),), +) + +NUMBER_ATTRIBUTE_VALUE: StaticSchema = (3, n0, _NAV, 0) + +NUMBER_SET_ATTRIBUTE_VALUE: StaticSchema = ( + 16, + n0, + _NSAV, + 0, + (_m,), + ((NUMBER_ATTRIBUTE_VALUE, 0),), +) + +NULL_ATTRIBUTE_VALUE: StaticSchema = (2, n0, _NAVu, 0) + +STRING_ATTRIBUTE_VALUE: StaticSchema = (3, n0, _SAV, 0) + +STRING_SET_ATTRIBUTE_VALUE: StaticSchema = ( + 16, + n0, + _SSAV, + 0, + (_m,), + ((STRING_ATTRIBUTE_VALUE, 0),), +) + +ATTRIBUTE_NAME_LIST: StaticSchema = (16, n0, _ANL, 0, (_m,), ((ATTRIBUTE_NAME, 0),)) + +AUTO_SCALING_POLICY_NAME: StaticSchema = (3, n0, _ASPN, 0) + +BOOLEAN_OBJECT: StaticSchema = (2, n0, _BO, 0) + +INTEGER_OBJECT: StaticSchema = (7, n0, _IO, 0) + +DOUBLE_OBJECT: StaticSchema = (10, n0, _DO, 0) + +AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_DESCRIPTION: StaticSchema = ( + 18, + n0, + _ASTTSPCD, + 0, + (_DSI, _SIC, _SOC, _TV), + ((BOOLEAN_OBJECT, 0), (INTEGER_OBJECT, 0), (INTEGER_OBJECT, 0), (DOUBLE_OBJECT, 1)), +) + +AUTO_SCALING_POLICY_DESCRIPTION: StaticSchema = ( + 18, + n0, + _ASPD, + 0, + (_PN, _TTSPC), + ( + (AUTO_SCALING_POLICY_NAME, 0), + (AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_DESCRIPTION, 0), + ), +) + +AUTO_SCALING_POLICY_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _ASPDL, + 0, + (_m,), + ((AUTO_SCALING_POLICY_DESCRIPTION, 0),), +) + +AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_UPDATE: StaticSchema = ( + 18, + n0, + _ASTTSPCU, + 0, + (_DSI, _SIC, _SOC, _TV), + ((BOOLEAN_OBJECT, 0), (INTEGER_OBJECT, 0), (INTEGER_OBJECT, 0), (DOUBLE_OBJECT, 1)), +) + +AUTO_SCALING_POLICY_UPDATE: StaticSchema = ( + 18, + n0, + _ASPU, + 0, + (_PN, _TTSPC), + ( + (AUTO_SCALING_POLICY_NAME, 0), + (AUTO_SCALING_TARGET_TRACKING_SCALING_POLICY_CONFIGURATION_UPDATE, 1), + ), +) + +AUTO_SCALING_ROLE_ARN: StaticSchema = (3, n0, _ASRA, 0) + +STRING: StaticSchema = (3, n0, _St, 0) + +POSITIVE_LONG_OBJECT: StaticSchema = (8, n0, _PLO, 0) + +AUTO_SCALING_SETTINGS_DESCRIPTION: StaticSchema = ( + 18, + n0, + _ASSD, + 0, + (_MU, _MUa, _ASD, _ASRA, _SP), + ( + (POSITIVE_LONG_OBJECT, 0), + (POSITIVE_LONG_OBJECT, 0), + (BOOLEAN_OBJECT, 0), + (STRING, 0), + (AUTO_SCALING_POLICY_DESCRIPTION_LIST, 0), + ), +) + +AUTO_SCALING_SETTINGS_UPDATE: StaticSchema = ( + 18, + n0, + _ASSU, + 0, + (_MU, _MUa, _ASD, _ASRA, _SPU), + ( + (POSITIVE_LONG_OBJECT, 0), + (POSITIVE_LONG_OBJECT, 0), + (BOOLEAN_OBJECT, 0), + (AUTO_SCALING_ROLE_ARN, 0), + (AUTO_SCALING_POLICY_UPDATE, 0), + ), +) + +AVAILABILITY_ERROR_MESSAGE: StaticSchema = (3, n0, _AEM, 0) + +BACKFILLING: StaticSchema = (2, n0, _Ba, 0) + +BACKUP_CREATION_DATE_TIME: StaticSchema = (4, n0, _BCDT, 0) + +BACKUP_NAME: StaticSchema = (3, n0, _BN, 0) + +BACKUP_SIZE_BYTES: StaticSchema = (8, n0, _BSB, 0) + +BACKUP_STATUS: StaticSchema = ( + 14, + n0, + _BS, + 0, + (_CREATING, _DELETED, _AVAILABLE), + ((-1, {_sV: _CREATING}), (-1, {_sV: _DELETED}), (-1, {_sV: _AVAILABLE})), +) + +BACKUP_TYPE: StaticSchema = ( + 14, + n0, + _BT, + 0, + (_USER, _SYSTEM, _AB), + ((-1, {_sV: _USER}), (-1, {_sV: _SYSTEM}), (-1, {_sV: _AB})), +) + +BACKUP_DETAILS: StaticSchema = ( + 18, + n0, + _BD, + 0, + (_BA, _BN, _BSB, _BS, _BT, _BCDT, _BEDT), + ( + (BACKUP_ARN, 1), + (BACKUP_NAME, 1), + (BACKUP_SIZE_BYTES, 0), + (BACKUP_STATUS, 1), + (BACKUP_TYPE, 1), + (BACKUP_CREATION_DATE_TIME, 1), + (DATE, 0), + ), +) + +BILLING_MODE: StaticSchema = ( + 14, + n0, + _BM, + 0, + (_PROVISIONED, _PPR), + ((-1, {_sV: _PROVISIONED}), (-1, {_sV: _PPR})), +) + +ITEM_COUNT: StaticSchema = (8, n0, _IC, 0) + +KEY_TYPE: StaticSchema = ( + 14, + n0, + _KT, + 0, + (_HASH, _RANGE), + ((-1, {_sV: _HASH}), (-1, {_sV: _RANGE})), +) + +KEY_SCHEMA_ELEMENT: StaticSchema = ( + 18, + n0, + _KSE, + 0, + (_AN, _KT), + ((KEY_SCHEMA_ATTRIBUTE_NAME, 1), (KEY_TYPE, 1)), +) + +KEY_SCHEMA: StaticSchema = (16, n0, _KS, 0, (_m,), ((KEY_SCHEMA_ELEMENT, 0),)) + +LONG_OBJECT: StaticSchema = (8, n0, _LO, 0) + +ON_DEMAND_THROUGHPUT: StaticSchema = ( + 18, + n0, + _ODT, + 0, + (_MRRU, _MWRU), + ((LONG_OBJECT, 0), (LONG_OBJECT, 0)), +) + +PROVISIONED_THROUGHPUT: StaticSchema = ( + 18, + n0, + _PT, + 0, + (_RCU, _WCU), + ((POSITIVE_LONG_OBJECT, 1), (POSITIVE_LONG_OBJECT, 1)), +) + +TABLE_ARN: StaticSchema = (3, n0, _TA, 0) + +TABLE_CREATION_DATE_TIME: StaticSchema = (4, n0, _TCDT, 0) + +TABLE_ID: StaticSchema = (3, n0, _TI, 0) + +TABLE_NAME: StaticSchema = (3, n0, _TN, 0) + +SOURCE_TABLE_DETAILS: StaticSchema = ( + 18, + n0, + _STD, + 0, + (_TN, _TI, _TA, _TSB, _KS, _TCDT, _PT, _ODT, _IC, _BM), + ( + (TABLE_NAME, 1), + (TABLE_ID, 1), + (TABLE_ARN, 0), + (LONG_OBJECT, 0), + (KEY_SCHEMA, 1), + (TABLE_CREATION_DATE_TIME, 1), + (PROVISIONED_THROUGHPUT, 1), + (ON_DEMAND_THROUGHPUT, 0), + (ITEM_COUNT, 0), + (BILLING_MODE, 0), + ), +) + +INDEX_NAME: StaticSchema = (3, n0, _IN, 0) + +NON_KEY_ATTRIBUTE_NAME: StaticSchema = (3, n0, _NKAN, 0) + +NON_KEY_ATTRIBUTE_NAME_LIST: StaticSchema = ( + 16, + n0, + _NKANL, + 0, + (_m,), + ((NON_KEY_ATTRIBUTE_NAME, 0),), +) + +PROJECTION_TYPE: StaticSchema = ( + 14, + n0, + _PTr, + 0, + (_ALL, _KO, _INCLUDE), + ((-1, {_sV: _ALL}), (-1, {_sV: _KO}), (-1, {_sV: _INCLUDE})), +) + +PROJECTION: StaticSchema = ( + 18, + n0, + _P, + 0, + (_PTr, _NKA), + ((PROJECTION_TYPE, 0), (NON_KEY_ATTRIBUTE_NAME_LIST, 0)), +) + +GLOBAL_SECONDARY_INDEX_INFO: StaticSchema = ( + 18, + n0, + _GSII, + 0, + (_IN, _KS, _P, _PT, _ODT), + ( + (INDEX_NAME, 0), + (KEY_SCHEMA, 0), + (PROJECTION, 0), + (PROVISIONED_THROUGHPUT, 0), + (ON_DEMAND_THROUGHPUT, 0), + ), +) + +GLOBAL_SECONDARY_INDEXES: StaticSchema = ( + 16, + n0, + _GSI, + 0, + (_m,), + ((GLOBAL_SECONDARY_INDEX_INFO, 0),), +) + +LOCAL_SECONDARY_INDEX_INFO: StaticSchema = ( + 18, + n0, + _LSII, + 0, + (_IN, _KS, _P), + ((INDEX_NAME, 0), (KEY_SCHEMA, 0), (PROJECTION, 0)), +) + +LOCAL_SECONDARY_INDEXES: StaticSchema = ( + 16, + n0, + _LSI, + 0, + (_m,), + ((LOCAL_SECONDARY_INDEX_INFO, 0),), +) + +KMS_MASTER_KEY_ARN: StaticSchema = (3, n0, _KMSMKA, 0) + +SSE_TYPE: StaticSchema = ( + 14, + n0, + _SSET, + 0, + (_AES, _KMS), + ((-1, {_sV: _AES}), (-1, {_sV: _KMS})), +) + +SSE_STATUS: StaticSchema = ( + 14, + n0, + _SSES, + 0, + (_ENABLING, _ENABLED, _DISABLING, _DISABLED, _UPDATING), + ( + (-1, {_sV: _ENABLING}), + (-1, {_sV: _ENABLED}), + (-1, {_sV: _DISABLING}), + (-1, {_sV: _DISABLED}), + (-1, {_sV: _UPDATING}), + ), +) + +SSE_DESCRIPTION: StaticSchema = ( + 18, + n0, + _SSED, + 0, + (_Sta, _SSET, _KMSMKA, _IEDT), + ((SSE_STATUS, 0), (SSE_TYPE, 0), (KMS_MASTER_KEY_ARN, 0), (DATE, 0)), +) + +STREAM_ENABLED: StaticSchema = (2, n0, _SE, 0) + +STREAM_VIEW_TYPE: StaticSchema = ( + 14, + n0, + _SVT, + 0, + (_NI, _OI, _NAOI, _KO), + ((-1, {_sV: _NI}), (-1, {_sV: _OI}), (-1, {_sV: _NAOI}), (-1, {_sV: _KO})), +) + +STREAM_SPECIFICATION: StaticSchema = ( + 18, + n0, + _SS, + 0, + (_SE, _SVT), + ((STREAM_ENABLED, 1), (STREAM_VIEW_TYPE, 0)), +) + +TIME_TO_LIVE_ATTRIBUTE_NAME: StaticSchema = (3, n0, _TTLAN, 0) + +TIME_TO_LIVE_STATUS: StaticSchema = ( + 14, + n0, + _TTLS, + 0, + (_ENABLING, _DISABLING, _ENABLED, _DISABLED), + ( + (-1, {_sV: _ENABLING}), + (-1, {_sV: _DISABLING}), + (-1, {_sV: _ENABLED}), + (-1, {_sV: _DISABLED}), + ), +) + +TIME_TO_LIVE_DESCRIPTION: StaticSchema = ( + 18, + n0, + _TTLD, + 0, + (_TTLS, _AN), + ((TIME_TO_LIVE_STATUS, 0), (TIME_TO_LIVE_ATTRIBUTE_NAME, 0)), +) + +VECTOR_DISTANCE_FUNCTION: StaticSchema = ( + 14, + n0, + _VDF, + 0, + (_COSINE, _DP, _EUCLIDEAN), + ((-1, {_sV: _COSINE}), (-1, {_sV: _DP}), (-1, {_sV: _EUCLIDEAN})), +) + +SEARCH_SCHEMA_ELEMENT_TYPE: StaticSchema = ( + 14, + n0, + _SSETe, + 0, + (_HASH, _IF), + ((-1, {_sV: _HASH}), (-1, {_sV: _IF})), +) + +SEARCH_SCHEMA_ELEMENT: StaticSchema = ( + 18, + n0, + _SSE, + 0, + (_AN, _SSETe), + ((ATTRIBUTE_NAME, 1), (SEARCH_SCHEMA_ELEMENT_TYPE, 1)), +) + +SEARCH_SCHEMA: StaticSchema = (16, n0, _SSe, 0, (_m,), ((SEARCH_SCHEMA_ELEMENT, 0),)) + +VECTOR_ATTRIBUTE_NAME: StaticSchema = (3, n0, _VAN, 0) + +VECTOR_ATTRIBUTE_DEFINITION: StaticSchema = ( + 18, + n0, + _VAD, + 0, + (_AN,), + ((VECTOR_ATTRIBUTE_NAME, 1),), +) + +VECTOR_INDEX_INFO: StaticSchema = ( + 18, + n0, + _VII, + 0, + (_IN, _VA, _SSe, _P, _Di, _DF), + ( + (INDEX_NAME, 0), + (VECTOR_ATTRIBUTE_DEFINITION, 0), + (SEARCH_SCHEMA, 0), + (PROJECTION, 0), + (POSITIVE_LONG_OBJECT, 0), + (VECTOR_DISTANCE_FUNCTION, 0), + ), +) + +VECTOR_INDEXES: StaticSchema = (16, n0, _VI, 0, (_m,), ((VECTOR_INDEX_INFO, 0),)) + +SOURCE_TABLE_FEATURE_DETAILS: StaticSchema = ( + 18, + n0, + _STFD, + 0, + (_LSI, _GSI, _SD, _TTLD, _SSED, _VI), + ( + (LOCAL_SECONDARY_INDEXES, 0), + (GLOBAL_SECONDARY_INDEXES, 0), + (STREAM_SPECIFICATION, 0), + (TIME_TO_LIVE_DESCRIPTION, 0), + (SSE_DESCRIPTION, 0), + (VECTOR_INDEXES, 0), + ), +) + +BACKUP_DESCRIPTION: StaticSchema = ( + 18, + n0, + _BDa, + 0, + (_BD, _STD, _STFD), + ((BACKUP_DETAILS, 0), (SOURCE_TABLE_DETAILS, 0), (SOURCE_TABLE_FEATURE_DETAILS, 0)), +) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +BACKUP_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _BIUE, + {_sm: _c}, + (_me,), + ((ERROR_MESSAGE, 0),), +) + +BACKUP_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _BNFE, + {_sm: _c}, + (_me,), + ((ERROR_MESSAGE, 0),), +) + +BACKUPS_INPUT_LIMIT: StaticSchema = (7, n0, _BIL, 0) + +BACKUP_SUMMARY: StaticSchema = ( + 18, + n0, + _BSa, + 0, + (_TN, _TI, _TA, _BA, _BN, _BCDT, _BEDT, _BS, _BT, _BSB), + ( + (TABLE_NAME, 0), + (TABLE_ID, 0), + (TABLE_ARN, 0), + (BACKUP_ARN, 0), + (BACKUP_NAME, 0), + (BACKUP_CREATION_DATE_TIME, 0), + (DATE, 0), + (BACKUP_STATUS, 0), + (BACKUP_TYPE, 0), + (BACKUP_SIZE_BYTES, 0), + ), +) + +BACKUP_SUMMARIES: StaticSchema = (16, n0, _BSac, 0, (_m,), ((BACKUP_SUMMARY, 0),)) + +BACKUP_TYPE_FILTER: StaticSchema = ( + 14, + n0, + _BTF, + 0, + (_USER, _SYSTEM, _AB, _ALL), + ((-1, {_sV: _USER}), (-1, {_sV: _SYSTEM}), (-1, {_sV: _AB}), (-1, {_sV: _ALL})), +) + +RETURN_CONSUMED_CAPACITY: StaticSchema = ( + 14, + n0, + _RCC, + 0, + (_INDEXES, _TOTAL, _NONE), + ((-1, {_sV: _INDEXES}), (-1, {_sV: _TOTAL}), (-1, {_sV: _NONE})), +) + +CONSISTENT_READ: StaticSchema = (2, n0, _CR, 0) + +RETURN_VALUES_ON_CONDITION_CHECK_FAILURE: StaticSchema = ( + 14, + n0, + _RVOCCF, + 0, + (_AO, _NONE), + ((-1, {_sV: _AO}), (-1, {_sV: _NONE})), +) + +PARTI_QL_STATEMENT: StaticSchema = (3, n0, _PQLS, 0) + +CONSUMED_CAPACITY_UNITS: StaticSchema = (10, n0, _CCU, 0) + +CAPACITY: StaticSchema = ( + 18, + n0, + _C, + 0, + (_RCU, _WCU, _CU), + ( + (CONSUMED_CAPACITY_UNITS, 0), + (CONSUMED_CAPACITY_UNITS, 0), + (CONSUMED_CAPACITY_UNITS, 0), + ), +) + +SECONDARY_INDEXES_CAPACITY_MAP: StaticSchema = ( + 17, + n0, + _SICM, + 0, + (_k, _v), + ((INDEX_NAME, 0), (CAPACITY, 0)), +) + +VECTOR_CAPACITY: StaticSchema = ( + 18, + n0, + _VC, + 0, + (_VSRB, _VWRB), + ((CONSUMED_CAPACITY_UNITS, 0), (CONSUMED_CAPACITY_UNITS, 0)), +) + +VECTOR_INDEXES_CAPACITY_MAP: StaticSchema = ( + 17, + n0, + _VICM, + 0, + (_k, _v), + ((INDEX_NAME, 0), (VECTOR_CAPACITY, 0)), +) + +CONSUMED_CAPACITY: StaticSchema = ( + 18, + n0, + _CC, + 0, + (_TN, _CU, _RCU, _WCU, _T, _LSI, _GSI, _VI), + ( + (TABLE_ARN, 0), + (CONSUMED_CAPACITY_UNITS, 0), + (CONSUMED_CAPACITY_UNITS, 0), + (CONSUMED_CAPACITY_UNITS, 0), + (CAPACITY, 0), + (SECONDARY_INDEXES_CAPACITY_MAP, 0), + (SECONDARY_INDEXES_CAPACITY_MAP, 0), + (VECTOR_INDEXES_CAPACITY_MAP, 0), + ), +) + +CONSUMED_CAPACITY_MULTIPLE: StaticSchema = ( + 16, + n0, + _CCM, + 0, + (_m,), + ((CONSUMED_CAPACITY, 0),), +) + +BATCH_STATEMENT_ERROR_CODE_ENUM: StaticSchema = ( + 14, + n0, + _BSECE, + 0, + (_CCF, _ICSLE, _RLE, _VE, _PTE, _TC, _TE, _ISE, _RNF, _ADc, _DI), + ( + (-1, {_sV: _CCF}), + (-1, {_sV: _ICSLE}), + (-1, {_sV: _RLE}), + (-1, {_sV: _VE}), + (-1, {_sV: _PTE}), + (-1, {_sV: _TC}), + (-1, {_sV: _TE}), + (-1, {_sV: _ISE}), + (-1, {_sV: _RNF}), + (-1, {_sV: _ADc}), + (-1, {_sV: _DI}), + ), +) + +INTERNAL_SERVER_ERROR: StaticSchema = ( + 18, + n0, + _ISE, + {_sm: _se}, + (_me,), + ((ERROR_MESSAGE, 0),), +) + +REASON: StaticSchema = (3, n0, _R, 0) + +RESOURCE: StaticSchema = (3, n0, _Re, 0) + +THROTTLING_REASON: StaticSchema = ( + 18, + n0, + _TR, + 0, + (_r, _re), + ((REASON, 0), (RESOURCE, 0)), +) + +THROTTLING_REASON_LIST: StaticSchema = ( + 16, + n0, + _TRL, + 0, + (_m,), + ((THROTTLING_REASON, 0),), +) + +STREAM_ARN: StaticSchema = (3, n0, _SA, 0) + +GLOBAL_TABLE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _GTNFE, + {_sm: _c}, + (_me,), + ((ERROR_MESSAGE, 0),), +) + +DESTINATION_STATUS: StaticSchema = ( + 14, + n0, + _DS, + 0, + (_ENABLING, _ACTIVE, _DISABLING, _DISABLED, _EF_, _UPDATING), + ( + (-1, {_sV: _ENABLING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DISABLING}), + (-1, {_sV: _DISABLED}), + (-1, {_sV: _EF_}), + (-1, {_sV: _UPDATING}), + ), +) diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_1.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_1.py new file mode 100644 index 000000000..3bed42dac --- /dev/null +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_1.py @@ -0,0 +1,1088 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.dynamodb" +_sV = "smithy.api#enumValue" +_s = "smithy.api#required" +_m = "member" +_BN = "BackupName" +_CREATING = "CREATING" +_BD = "BackupDetails" +_BM = "BillingMode" +_KS = "KeySchema" +_ODT = "OnDemandThroughput" +_MRRU = "MaxReadRequestUnits" +_MWRU = "MaxWriteRequestUnits" +_PT = "ProvisionedThroughput" +_RCU = "ReadCapacityUnits" +_TI = "TableId" +_TN = "TableName" +_IN = "IndexName" +_P = "Projection" +_GSI = "GlobalSecondaryIndexes" +_LSI = "LocalSecondaryIndexes" +_AES = "AES256" +_KMS = "KMS" +_ENABLING = "ENABLING" +_ENABLED = "ENABLED" +_DISABLING = "DISABLING" +_DISABLED = "DISABLED" +_UPDATING = "UPDATING" +_Sta = "Status" +_VI = "VectorIndexes" +_sm = "smithy.api#error" +_c = "client" +_me = "message" +_NONE = "NONE" +_k = "key" +_v = "value" +_T = "Table" +_RLE = "RequestLimitExceeded" +_TRh = "ThrottlingReasons" +_TEh = "ThrottlingException" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_tR = "throttlingReasons" +_EANV = "ExpressionAttributeNameVariable" +_EANM = "ExpressionAttributeNameMap" +_PE = "ProjectionExpression" +_IEE = "InvalidEndpointException" +_M = "Message" +_PTEE = "ProvisionedThroughputExceededException" +_RNFE = "ResourceNotFoundException" +_RICM = "ReturnItemCollectionMetrics" +_SIZE = "SIZE" +_ICSEB = "ItemCollectionSizeEstimateBound" +_ICSER = "ItemCollectionSizeEstimateRange" +_ICSLEE = "ItemCollectionSizeLimitExceededException" +_RWCE = "ReplicatedWriteConflictException" +_BSBi = "BilledSizeBytes" +_BMS = "BillingModeSummary" +_LUTPPRDT = "LastUpdateToPayPerRequestDateTime" +_BOA = "BulkOperationArn" +_NNLO = "NonNegativeLongObject" +_BOB = "BulkOperationBytes" +_BPB = "BulkPutBytes" +_BOS = "BulkOperationStatus" +_IP = "IN_PROGRESS" +_COMPLETED = "COMPLETED" +_CWE = "COMPLETED_WITH_ERRORS" +_CANCELLING = "CANCELLING" +_CANCELLED = "CANCELLED" +_FAILED = "FAILED" +_SIBBM = "SecondaryIndexesBulkBytesMap" +_BOVB = "BulkOperationVectorBytes" +_BPVB = "BulkPutVectorBytes" +_VIBVBM = "VectorIndexesBulkVectorBytesMap" +_BOU = "BulkOperationUsage" +_BOUM = "BulkOperationUsageMultiple" +_CT = "ClientToken" +_BOET = "BulkOperationEndTime" +_BOIC = "BulkOperationItemCount" +_smi = "smithy.api#default" +_FC = "FailureCode" +_FM = "FailureMessage" +_ICT = "InputCompressionType" +_GZIP = "GZIP" +_ZSTD = "ZSTD" +_BOIF = "BulkOperationInputFormat" +_DJ = "DYNAMODB_JSON" +_ION = "ION" +_SB = "S3Bucket" +_SBO = "S3BucketOwner" +_SPr = "S3Prefix" +_ISC = "InputS3Configuration" +_SKP = "S3KeyPrefix" +_IFn = "InputFormat" +_BOMWRU = "BulkOperationMaxWriteRequestUnits" +_OTE = "OutputTypeEnum" +_ERROR = "ERROR" +_CCF_ = "CONDITION_CHECK_FAILURE" +_OTL = "OutputTypeList" +_SSA = "S3SseAlgorithm" +_SSKKI = "S3SseKmsKeyId" +_OSC = "OutputS3Configuration" +_OT = "OutputType" +_BOPT = "BulkOperationPerformanceTier" +_STANDARD = "STANDARD" +_ACCELERATED = "ACCELERATED" +_PIB = "ProcessedInputBytes" +_BOST = "BulkOperationStartTime" +_BOTD = "BulkOperationTableDetail" +_BOTDu = "BulkOperationTableDetails" +_TIB = "TotalInputBytes" +_BOD = "BulkOperationDescription" +_TD = "TableDetails" +_ST = "StartTime" +_ET = "EndTime" +_PIC = "ProcessedItemCount" +_FIC = "FailedItemCount" +_PTe = "PerformanceTier" +_BONT = "BulkOperationNextToken" +_BOSu = "BulkOperationSummary" +_BOSL = "BulkOperationsSummaryList" +_CBOI = "CancelBulkOperationInput" +_smit = "smithy.api#input" +_sP = "smithy.rules#contextParam" +_CBOO = "CancelBulkOperationOutput" +_smith = "smithy.api#output" +_CBO = "CancelBulkOperation" +_Co = "Code" +_CRT = "ClientRequestToken" +_CWLGA = "CloudWatchLogGroupArn" +_CO = "ComparisonOperator" +_EQ = "EQ" +_NE = "NE" +_IN_ = "IN" +_LE = "LE" +_LT = "LT" +_GE = "GE" +_GT = "GT" +_BETWEEN = "BETWEEN" +_NN = "NOT_NULL" +_NULL = "NULL" +_CONTAINS = "CONTAINS" +_NC = "NOT_CONTAINS" +_BW = "BEGINS_WITH" +_COo = "ConditionalOperator" +_AND = "AND" +_OR = "OR" +_CE = "ConditionExpression" +_EAVV = "ExpressionAttributeValueVariable" +_CRSRA = "ConfirmRemoveSelfResourceAccess" +_CBS = "ContinuousBackupsStatus" +_PITRS = "PointInTimeRecoveryStatus" +_RPID = "RecoveryPeriodInDays" +_PITRD = "PointInTimeRecoveryDescription" +_ERDT = "EarliestRestorableDateTime" +_LRDT = "LatestRestorableDateTime" +_CBD = "ContinuousBackupsDescription" +_CBUE = "ContinuousBackupsUnavailableException" +_CIA = "ContributorInsightsAction" +_ENABLE = "ENABLE" +_DISABLE = "DISABLE" +_CIM = "ContributorInsightsMode" +_AATK = "ACCESSED_AND_THROTTLED_KEYS" +_TK = "THROTTLED_KEYS" +_CIR = "ContributorInsightsRule" +_CIRL = "ContributorInsightsRuleList" +_CIS = "ContributorInsightsStatus" +_CISo = "ContributorInsightsSummary" +_CISon = "ContributorInsightsSummaries" +_CBI = "CreateBackupInput" +_CBOr = "CreateBackupOutput" +_LEE = "LimitExceededException" +_TIUE = "TableInUseException" +_TNFE = "TableNotFoundException" +_CB = "CreateBackup" +_WT = "WarmThroughput" +_RUPS = "ReadUnitsPerSecond" +_WUPS = "WriteUnitsPerSecond" +_CGSIA = "CreateGlobalSecondaryIndexAction" +_RN = "RegionName" +_Rep = "Replica" +_RL = "ReplicaList" +_CGTI = "CreateGlobalTableInput" +_GTN = "GlobalTableName" +_RG = "ReplicationGroup" +_GTAS = "GlobalTableArnString" +_GTS = "GlobalTableStatus" +_ACTIVE = "ACTIVE" +_DELETING = "DELETING" +_ODTO = "OnDemandThroughputOverride" +_PTO = "ProvisionedThroughputOverride" +_IS = "IndexStatus" +_GSIWTD = "GlobalSecondaryIndexWarmThroughputDescription" +_RGSID = "ReplicaGlobalSecondaryIndexDescription" +_RGSIDL = "ReplicaGlobalSecondaryIndexDescriptionList" +_GTSRM = "GlobalTableSettingsReplicationMode" +_EWO = "ENABLED_WITH_OVERRIDES" +_KMSMKI = "KMSMasterKeyId" +_RS = "ReplicaStatus" +_CF = "CREATION_FAILED" +_RD = "REGION_DISABLED" +_IEC = "INACCESSIBLE_ENCRYPTION_CREDENTIALS" +_ARCHIVING = "ARCHIVING" +_ARCHIVED = "ARCHIVED" +_RNA = "REPLICATION_NOT_AUTHORIZED" +_RSD = "ReplicaStatusDescription" +_RSPP = "ReplicaStatusPercentProgress" +_TS = "TableStatus" +_GTD = "GlobalTableDescription" +_CGTO = "CreateGlobalTableOutput" +_CGT = "CreateGlobalTable" +_PIO = "PositiveIntegerObject" + +REQUEST_LIMIT_EXCEEDED: StaticSchema = ( + 18, + n0, + _RLE, + {_sm: _c}, + (_me, _TRh), + ((lambda: schemas.ERROR_MESSAGE, 0), (lambda: schemas.THROTTLING_REASON_LIST, 0)), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TEh, + { + _sm: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "Throttling", "httpResponseCode": 400}), + }, + (_me, _tR), + ( + (lambda: schemas.AVAILABILITY_ERROR_MESSAGE, 0), + (lambda: schemas.THROTTLING_REASON_LIST, 0), + ), +) + +EXPRESSION_ATTRIBUTE_NAME_VARIABLE: StaticSchema = (3, n0, _EANV, 0) + +EXPRESSION_ATTRIBUTE_NAME_MAP: StaticSchema = ( + 17, + n0, + _EANM, + 0, + (_k, _v), + ((EXPRESSION_ATTRIBUTE_NAME_VARIABLE, 0), (lambda: schemas.ATTRIBUTE_NAME, 0)), +) + +PROJECTION_EXPRESSION: StaticSchema = (3, n0, _PE, 0) + +INVALID_ENDPOINT_EXCEPTION: StaticSchema = ( + 18, + n0, + _IEE, + {_sm: _c, _sE: 421}, + (_M,), + ((lambda: schemas.STRING, 0),), +) + +PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _PTEE, + {_sm: _c}, + (_me, _TRh), + ((lambda: schemas.ERROR_MESSAGE, 0), (lambda: schemas.THROTTLING_REASON_LIST, 0)), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +RETURN_ITEM_COLLECTION_METRICS: StaticSchema = ( + 14, + n0, + _RICM, + 0, + (_SIZE, _NONE), + ((-1, {_sV: _SIZE}), (-1, {_sV: _NONE})), +) + +ITEM_COLLECTION_SIZE_ESTIMATE_BOUND: StaticSchema = (10, n0, _ICSEB, 0) + +ITEM_COLLECTION_SIZE_ESTIMATE_RANGE: StaticSchema = ( + 16, + n0, + _ICSER, + 0, + (_m,), + ((ITEM_COLLECTION_SIZE_ESTIMATE_BOUND, 0),), +) + +ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ICSLEE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +REPLICATED_WRITE_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _RWCE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +BILLED_SIZE_BYTES: StaticSchema = (8, n0, _BSBi, 0) + +BILLING_MODE_SUMMARY: StaticSchema = ( + 18, + n0, + _BMS, + 0, + (_BM, _LUTPPRDT), + ((lambda: schemas.BILLING_MODE, 0), (lambda: schemas.DATE, 0)), +) + +BULK_OPERATION_ARN: StaticSchema = (3, n0, _BOA, 0) + +NON_NEGATIVE_LONG_OBJECT: StaticSchema = (8, n0, _NNLO, 0) + +BULK_OPERATION_BYTES: StaticSchema = ( + 18, + n0, + _BOB, + 0, + (_BPB,), + ((NON_NEGATIVE_LONG_OBJECT, 0),), +) + +BULK_OPERATION_STATUS: StaticSchema = ( + 14, + n0, + _BOS, + 0, + (_IP, _COMPLETED, _CWE, _CANCELLING, _CANCELLED, _FAILED), + ( + (-1, {_sV: _IP}), + (-1, {_sV: _COMPLETED}), + (-1, {_sV: _CWE}), + (-1, {_sV: _CANCELLING}), + (-1, {_sV: _CANCELLED}), + (-1, {_sV: _FAILED}), + ), +) + +SECONDARY_INDEXES_BULK_BYTES_MAP: StaticSchema = ( + 17, + n0, + _SIBBM, + 0, + (_k, _v), + ((lambda: schemas.INDEX_NAME, 0), (BULK_OPERATION_BYTES, 0)), +) + +BULK_OPERATION_VECTOR_BYTES: StaticSchema = ( + 18, + n0, + _BOVB, + 0, + (_BPVB,), + ((NON_NEGATIVE_LONG_OBJECT, 0),), +) + +VECTOR_INDEXES_BULK_VECTOR_BYTES_MAP: StaticSchema = ( + 17, + n0, + _VIBVBM, + 0, + (_k, _v), + ((lambda: schemas.INDEX_NAME, 0), (BULK_OPERATION_VECTOR_BYTES, 0)), +) + +BULK_OPERATION_USAGE: StaticSchema = ( + 18, + n0, + _BOU, + 0, + (_TN, _BPB, _T, _LSI, _GSI, _VI), + ( + (lambda: schemas.TABLE_ARN, 0), + (NON_NEGATIVE_LONG_OBJECT, 0), + (BULK_OPERATION_BYTES, 0), + (SECONDARY_INDEXES_BULK_BYTES_MAP, 0), + (SECONDARY_INDEXES_BULK_BYTES_MAP, 0), + (VECTOR_INDEXES_BULK_VECTOR_BYTES_MAP, 0), + ), +) + +BULK_OPERATION_USAGE_MULTIPLE: StaticSchema = ( + 16, + n0, + _BOUM, + 0, + (_m,), + ((BULK_OPERATION_USAGE, 0),), +) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) + +BULK_OPERATION_END_TIME: StaticSchema = (4, n0, _BOET, 0) + +BULK_OPERATION_ITEM_COUNT: StaticSchema = (8, n0, _BOIC, {_smi: 0}) + +FAILURE_CODE: StaticSchema = (3, n0, _FC, 0) + +FAILURE_MESSAGE: StaticSchema = (3, n0, _FM, 0) + +INPUT_COMPRESSION_TYPE: StaticSchema = ( + 14, + n0, + _ICT, + 0, + (_GZIP, _ZSTD, _NONE), + ((-1, {_sV: _GZIP}), (-1, {_sV: _ZSTD}), (-1, {_sV: _NONE})), +) + +BULK_OPERATION_INPUT_FORMAT: StaticSchema = ( + 14, + n0, + _BOIF, + 0, + (_DJ, _ION), + ((-1, {_sV: _DJ}), (-1, {_sV: _ION})), +) + +S3_BUCKET: StaticSchema = (3, n0, _SB, 0) + +S3_BUCKET_OWNER: StaticSchema = (3, n0, _SBO, 0) + +S3_PREFIX: StaticSchema = (3, n0, _SPr, 0) + +INPUT_S3_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ISC, + 0, + (_SBO, _SB, _SKP, _IFn, _ICT), + ( + (S3_BUCKET_OWNER, 0), + (S3_BUCKET, 1), + (S3_PREFIX, 0), + (BULK_OPERATION_INPUT_FORMAT, 1), + (INPUT_COMPRESSION_TYPE, 0), + ), +) + +BULK_OPERATION_MAX_WRITE_REQUEST_UNITS: StaticSchema = (8, n0, _BOMWRU, 0) + +OUTPUT_TYPE_ENUM: StaticSchema = ( + 14, + n0, + _OTE, + 0, + (_ERROR, _CCF_), + ((-1, {_sV: _ERROR}), (-1, {_sV: _CCF_})), +) + +OUTPUT_TYPE_LIST: StaticSchema = (16, n0, _OTL, 0, (_m,), ((OUTPUT_TYPE_ENUM, 0),)) + +S3_SSE_ALGORITHM: StaticSchema = ( + 14, + n0, + _SSA, + 0, + (_AES, _KMS), + ((-1, {_sV: _AES}), (-1, {_sV: _KMS})), +) + +S3_SSE_KMS_KEY_ID: StaticSchema = (3, n0, _SSKKI, 0) + +OUTPUT_S3_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OSC, + 0, + (_SBO, _SB, _SKP, _SSA, _SSKKI, _OT), + ( + (S3_BUCKET_OWNER, 0), + (S3_BUCKET, 0), + (S3_PREFIX, 0), + (S3_SSE_ALGORITHM, 0), + (S3_SSE_KMS_KEY_ID, 0), + (OUTPUT_TYPE_LIST, 1), + ), +) + +BULK_OPERATION_PERFORMANCE_TIER: StaticSchema = ( + 14, + n0, + _BOPT, + 0, + (_STANDARD, _ACCELERATED), + ((-1, {_sV: _STANDARD}), (-1, {_sV: _ACCELERATED})), +) + +PROCESSED_INPUT_BYTES: StaticSchema = (8, n0, _PIB, 0) + +BULK_OPERATION_START_TIME: StaticSchema = (4, n0, _BOST, 0) + +BULK_OPERATION_TABLE_DETAIL: StaticSchema = ( + 18, + n0, + _BOTD, + 0, + (_TN, _TI), + ((lambda: schemas.TABLE_ARN, 0), (lambda: schemas.TABLE_ID, 0)), +) + +BULK_OPERATION_TABLE_DETAILS: StaticSchema = ( + 16, + n0, + _BOTDu, + 0, + (_m,), + ((BULK_OPERATION_TABLE_DETAIL, 0),), +) + +TOTAL_INPUT_BYTES: StaticSchema = (8, n0, _TIB, 0) + +BULK_OPERATION_DESCRIPTION: StaticSchema = ( + 18, + n0, + _BOD, + 0, + ( + _BOA, + _BOS, + _TD, + _CT, + _ISC, + _OSC, + _ST, + _ET, + _PIC, + _PIB, + _TIB, + _BOU, + _FIC, + _FC, + _FM, + _MWRU, + _PTe, + ), + ( + (BULK_OPERATION_ARN, 0), + (BULK_OPERATION_STATUS, 0), + (BULK_OPERATION_TABLE_DETAILS, 0), + (CLIENT_TOKEN, 0), + (INPUT_S3_CONFIGURATION, 0), + (OUTPUT_S3_CONFIGURATION, 0), + (BULK_OPERATION_START_TIME, 0), + (BULK_OPERATION_END_TIME, 0), + (BULK_OPERATION_ITEM_COUNT, {_smi: 0}), + (PROCESSED_INPUT_BYTES, 0), + (TOTAL_INPUT_BYTES, 0), + (BULK_OPERATION_USAGE_MULTIPLE, 0), + (BULK_OPERATION_ITEM_COUNT, {_smi: 0}), + (FAILURE_CODE, 0), + (FAILURE_MESSAGE, 0), + (BULK_OPERATION_MAX_WRITE_REQUEST_UNITS, 0), + (BULK_OPERATION_PERFORMANCE_TIER, 0), + ), +) + +BULK_OPERATION_NEXT_TOKEN: StaticSchema = (3, n0, _BONT, 0) + +BULK_OPERATION_SUMMARY: StaticSchema = ( + 18, + n0, + _BOSu, + 0, + (_BOA, _BOS, _ST, _ET), + ( + (BULK_OPERATION_ARN, 1), + (BULK_OPERATION_STATUS, 1), + (BULK_OPERATION_START_TIME, 1), + (BULK_OPERATION_END_TIME, 0), + ), +) + +BULK_OPERATIONS_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _BOSL, + 0, + (_m,), + ((BULK_OPERATION_SUMMARY, 0),), +) + +CANCEL_BULK_OPERATION_INPUT: StaticSchema = ( + 18, + n0, + _CBOI, + {_smit: None}, + (_BOA,), + ((BULK_OPERATION_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), +) + +CANCEL_BULK_OPERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CBOO, + {_smith: None}, + (_BOA, _BOS), + ((BULK_OPERATION_ARN, 1), (BULK_OPERATION_STATUS, 1)), +) + +CANCEL_BULK_OPERATION: StaticOperationSchema = ( + 23, + n0, + _CBO, + 0, + CANCEL_BULK_OPERATION_INPUT, + CANCEL_BULK_OPERATION_OUTPUT, + (INVALID_ENDPOINT_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION), +) + +CODE: StaticSchema = (3, n0, _Co, 0) + +CLIENT_REQUEST_TOKEN: StaticSchema = (3, n0, _CRT, 0) + +CLOUD_WATCH_LOG_GROUP_ARN: StaticSchema = (3, n0, _CWLGA, 0) + +COMPARISON_OPERATOR: StaticSchema = ( + 14, + n0, + _CO, + 0, + (_EQ, _NE, _IN_, _LE, _LT, _GE, _GT, _BETWEEN, _NN, _NULL, _CONTAINS, _NC, _BW), + ( + (-1, {_sV: _EQ}), + (-1, {_sV: _NE}), + (-1, {_sV: _IN_}), + (-1, {_sV: _LE}), + (-1, {_sV: _LT}), + (-1, {_sV: _GE}), + (-1, {_sV: _GT}), + (-1, {_sV: _BETWEEN}), + (-1, {_sV: _NN}), + (-1, {_sV: _NULL}), + (-1, {_sV: _CONTAINS}), + (-1, {_sV: _NC}), + (-1, {_sV: _BW}), + ), +) + +CONDITIONAL_OPERATOR: StaticSchema = ( + 14, + n0, + _COo, + 0, + (_AND, _OR), + ((-1, {_sV: _AND}), (-1, {_sV: _OR})), +) + +CONDITION_EXPRESSION: StaticSchema = (3, n0, _CE, 0) + +EXPRESSION_ATTRIBUTE_VALUE_VARIABLE: StaticSchema = (3, n0, _EAVV, 0) + +CONFIRM_REMOVE_SELF_RESOURCE_ACCESS: StaticSchema = (2, n0, _CRSRA, {_smi: False}) + +CONTINUOUS_BACKUPS_STATUS: StaticSchema = ( + 14, + n0, + _CBS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +POINT_IN_TIME_RECOVERY_STATUS: StaticSchema = ( + 14, + n0, + _PITRS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +RECOVERY_PERIOD_IN_DAYS: StaticSchema = (7, n0, _RPID, 0) + +POINT_IN_TIME_RECOVERY_DESCRIPTION: StaticSchema = ( + 18, + n0, + _PITRD, + 0, + (_PITRS, _RPID, _ERDT, _LRDT), + ( + (POINT_IN_TIME_RECOVERY_STATUS, 0), + (RECOVERY_PERIOD_IN_DAYS, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + ), +) + +CONTINUOUS_BACKUPS_DESCRIPTION: StaticSchema = ( + 18, + n0, + _CBD, + 0, + (_CBS, _PITRD), + ((CONTINUOUS_BACKUPS_STATUS, 1), (POINT_IN_TIME_RECOVERY_DESCRIPTION, 0)), +) + +CONTINUOUS_BACKUPS_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _CBUE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +CONTRIBUTOR_INSIGHTS_ACTION: StaticSchema = ( + 14, + n0, + _CIA, + 0, + (_ENABLE, _DISABLE), + ((-1, {_sV: _ENABLE}), (-1, {_sV: _DISABLE})), +) + +CONTRIBUTOR_INSIGHTS_MODE: StaticSchema = ( + 14, + n0, + _CIM, + 0, + (_AATK, _TK), + ((-1, {_sV: _AATK}), (-1, {_sV: _TK})), +) + +CONTRIBUTOR_INSIGHTS_RULE: StaticSchema = (3, n0, _CIR, 0) + +CONTRIBUTOR_INSIGHTS_RULE_LIST: StaticSchema = ( + 16, + n0, + _CIRL, + 0, + (_m,), + ((CONTRIBUTOR_INSIGHTS_RULE, 0),), +) + +CONTRIBUTOR_INSIGHTS_STATUS: StaticSchema = ( + 14, + n0, + _CIS, + 0, + (_ENABLING, _ENABLED, _DISABLING, _DISABLED, _FAILED), + ( + (-1, {_sV: _ENABLING}), + (-1, {_sV: _ENABLED}), + (-1, {_sV: _DISABLING}), + (-1, {_sV: _DISABLED}), + (-1, {_sV: _FAILED}), + ), +) + +CONTRIBUTOR_INSIGHTS_SUMMARY: StaticSchema = ( + 18, + n0, + _CISo, + 0, + (_TN, _IN, _CIS, _CIM), + ( + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.INDEX_NAME, 0), + (CONTRIBUTOR_INSIGHTS_STATUS, 0), + (CONTRIBUTOR_INSIGHTS_MODE, 0), + ), +) + +CONTRIBUTOR_INSIGHTS_SUMMARIES: StaticSchema = ( + 16, + n0, + _CISon, + 0, + (_m,), + ((CONTRIBUTOR_INSIGHTS_SUMMARY, 0),), +) + +CREATE_BACKUP_INPUT: StaticSchema = ( + 18, + n0, + _CBI, + {_smit: None}, + (_TN, _BN), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.BACKUP_NAME, 1), + ), +) + +CREATE_BACKUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CBOr, + {_smith: None}, + (_BD,), + ((lambda: schemas.BACKUP_DETAILS, 0),), +) + +CREATE_BACKUP: StaticOperationSchema = ( + 23, + n0, + _CB, + 0, + CREATE_BACKUP_INPUT, + CREATE_BACKUP_OUTPUT, + ( + lambda: schemas.BACKUP_IN_USE_EXCEPTION, + CONTINUOUS_BACKUPS_UNAVAILABLE_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + INVALID_ENDPOINT_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + lambda: TABLE_IN_USE_EXCEPTION, + lambda: TABLE_NOT_FOUND_EXCEPTION, + ), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +TABLE_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _TIUE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +TABLE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _TNFE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +WARM_THROUGHPUT: StaticSchema = ( + 18, + n0, + _WT, + 0, + (_RUPS, _WUPS), + ((lambda: schemas.LONG_OBJECT, 0), (lambda: schemas.LONG_OBJECT, 0)), +) + +CREATE_GLOBAL_SECONDARY_INDEX_ACTION: StaticSchema = ( + 18, + n0, + _CGSIA, + 0, + (_IN, _KS, _P, _PT, _ODT, _WT), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.KEY_SCHEMA, 1), + (lambda: schemas.PROJECTION, 1), + (lambda: schemas.PROVISIONED_THROUGHPUT, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (WARM_THROUGHPUT, 0), + ), +) + +REGION_NAME: StaticSchema = (3, n0, _RN, 0) + +REPLICA: StaticSchema = (18, n0, _Rep, 0, (_RN,), ((REGION_NAME, 0),)) + +REPLICA_LIST: StaticSchema = (16, n0, _RL, 0, (_m,), ((REPLICA, 0),)) + +CREATE_GLOBAL_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _CGTI, + {_smit: None}, + (_GTN, _RG), + ( + ( + lambda: schemas.TABLE_NAME, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (REPLICA_LIST, 1), + ), +) + +CREATE_GLOBAL_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _CGTO, + {_smith: None}, + (_GTD,), + ((lambda: schemas.GLOBAL_TABLE_DESCRIPTION, 0),), +) + +CREATE_GLOBAL_TABLE: StaticOperationSchema = ( + 23, + n0, + _CGT, + 0, + CREATE_GLOBAL_TABLE_INPUT, + CREATE_GLOBAL_TABLE_OUTPUT, + ( + lambda: schemas.GLOBAL_TABLE_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + INVALID_ENDPOINT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + TABLE_NOT_FOUND_EXCEPTION, + ), +) + +GLOBAL_TABLE_ARN_STRING: StaticSchema = (3, n0, _GTAS, 0) + +GLOBAL_TABLE_STATUS: StaticSchema = ( + 14, + n0, + _GTS, + 0, + (_CREATING, _ACTIVE, _DELETING, _UPDATING), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _UPDATING}), + ), +) + +ON_DEMAND_THROUGHPUT_OVERRIDE: StaticSchema = ( + 18, + n0, + _ODTO, + 0, + (_MRRU,), + ((lambda: schemas.LONG_OBJECT, 0),), +) + +PROVISIONED_THROUGHPUT_OVERRIDE: StaticSchema = ( + 18, + n0, + _PTO, + 0, + (_RCU,), + ((lambda: schemas.POSITIVE_LONG_OBJECT, 0),), +) + +INDEX_STATUS: StaticSchema = ( + 14, + n0, + _IS, + 0, + (_CREATING, _UPDATING, _DELETING, _ACTIVE), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _ACTIVE}), + ), +) + +GLOBAL_SECONDARY_INDEX_WARM_THROUGHPUT_DESCRIPTION: StaticSchema = ( + 18, + n0, + _GSIWTD, + 0, + (_RUPS, _WUPS, _Sta), + ( + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (INDEX_STATUS, 0), + ), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION: StaticSchema = ( + 18, + n0, + _RGSID, + 0, + (_IN, _PTO, _ODTO, _WT), + ( + (lambda: schemas.INDEX_NAME, 0), + (PROVISIONED_THROUGHPUT_OVERRIDE, 0), + (ON_DEMAND_THROUGHPUT_OVERRIDE, 0), + (GLOBAL_SECONDARY_INDEX_WARM_THROUGHPUT_DESCRIPTION, 0), + ), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _RGSIDL, + 0, + (_m,), + ((REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION, 0),), +) + +GLOBAL_TABLE_SETTINGS_REPLICATION_MODE: StaticSchema = ( + 14, + n0, + _GTSRM, + 0, + (_ENABLED, _DISABLED, _EWO), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _EWO})), +) + +KMS_MASTER_KEY_ID: StaticSchema = (3, n0, _KMSMKI, 0) + +REPLICA_STATUS: StaticSchema = ( + 14, + n0, + _RS, + 0, + ( + _CREATING, + _CF, + _UPDATING, + _DELETING, + _ACTIVE, + _RD, + _IEC, + _ARCHIVING, + _ARCHIVED, + _RNA, + ), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _CF}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _RD}), + (-1, {_sV: _IEC}), + (-1, {_sV: _ARCHIVING}), + (-1, {_sV: _ARCHIVED}), + (-1, {_sV: _RNA}), + ), +) + +REPLICA_STATUS_DESCRIPTION: StaticSchema = (3, n0, _RSD, 0) + +REPLICA_STATUS_PERCENT_PROGRESS: StaticSchema = (3, n0, _RSPP, 0) + +TABLE_STATUS: StaticSchema = ( + 14, + n0, + _TS, + 0, + (_CREATING, _UPDATING, _DELETING, _ACTIVE, _IEC, _ARCHIVING, _ARCHIVED, _RNA), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _IEC}), + (-1, {_sV: _ARCHIVING}), + (-1, {_sV: _ARCHIVED}), + (-1, {_sV: _RNA}), + ), +) + +POSITIVE_INTEGER_OBJECT: StaticSchema = (7, n0, _PIO, 0) diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_2.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_2.py new file mode 100644 index 000000000..7838413bb --- /dev/null +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_2.py @@ -0,0 +1,1049 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.dynamodb" +_sV = "smithy.api#enumValue" +_BA = "BackupArn" +_AS = "ArchivalSummary" +_s = "smithy.api#required" +_ADt = "AttributeDefinitions" +_m = "member" +_Ba = "Backfilling" +_CREATING = "CREATING" +_BM = "BillingMode" +_IC = "ItemCount" +_KS = "KeySchema" +_ODT = "OnDemandThroughput" +_PT = "ProvisionedThroughput" +_RCU = "ReadCapacityUnits" +_WCU = "WriteCapacityUnits" +_TA = "TableArn" +_TI = "TableId" +_TN = "TableName" +_TSB = "TableSizeBytes" +_IN = "IndexName" +_P = "Projection" +_GSI = "GlobalSecondaryIndexes" +_LSI = "LocalSecondaryIndexes" +_SSET = "SSEType" +_SSED = "SSEDescription" +_Sta = "Status" +_SS = "StreamSpecification" +_SSe = "SearchSchema" +_VA = "VectorAttribute" +_Di = "Dimensions" +_DF = "DistanceFunction" +_VI = "VectorIndexes" +_BDa = "BackupDescription" +_sm = "smithy.api#error" +_c = "client" +_me = "message" +_BMS = "BillingModeSummary" +_BOA = "BulkOperationArn" +_STANDARD = "STANDARD" +_BOD = "BulkOperationDescription" +_smit = "smithy.api#input" +_sP = "smithy.rules#contextParam" +_smith = "smithy.api#output" +_CBD = "ContinuousBackupsDescription" +_WT = "WarmThroughput" +_RUPS = "ReadUnitsPerSecond" +_WUPS = "WriteUnitsPerSecond" +_RN = "RegionName" +_GTN = "GlobalTableName" +_RG = "ReplicationGroup" +_GTS = "GlobalTableStatus" +_ACTIVE = "ACTIVE" +_DELETING = "DELETING" +_ODTO = "OnDemandThroughputOverride" +_PTO = "ProvisionedThroughputOverride" +_IS = "IndexStatus" +_GTSRM = "GlobalTableSettingsReplicationMode" +_KMSMKI = "KMSMasterKeyId" +_RS = "ReplicaStatus" +_RSD = "ReplicaStatusDescription" +_RSPP = "ReplicaStatusPercentProgress" +_TCa = "TableClass" +_SIA = "STANDARD_INFREQUENT_ACCESS" +_TCS = "TableClassSummary" +_LUDT = "LastUpdateDateTime" +_TS = "TableStatus" +_TWTD = "TableWarmThroughputDescription" +_RDe = "ReplicaDescription" +_RA = "ReplicaArn" +_RIDT = "ReplicaInaccessibleDateTime" +_RTCS = "ReplicaTableClassSummary" +_RDL = "ReplicaDescriptionList" +_GTD = "GlobalTableDescription" +_GTA = "GlobalTableArn" +_CDT = "CreationDateTime" +_GTAEE = "GlobalTableAlreadyExistsException" +_CGTWGMA = "CreateGlobalTableWitnessGroupMemberAction" +_CRA = "CreateReplicaAction" +_RGSI = "ReplicaGlobalSecondaryIndex" +_RGSIL = "ReplicaGlobalSecondaryIndexList" +_CRGMA = "CreateReplicationGroupMemberAction" +_TCO = "TableClassOverride" +_DPE = "DeletionProtectionEnabled" +_GSIl = "GlobalSecondaryIndex" +_GSIL = "GlobalSecondaryIndexList" +_LSIo = "LocalSecondaryIndex" +_LSIL = "LocalSecondaryIndexList" +_RP = "ResourcePolicy" +_SSEE = "SSEEnabled" +_SSESp = "SSESpecification" +_E = "Enabled" +_TKS = "TagKeyString" +_TVS = "TagValueString" +_Ta = "Tag" +_K = "Key" +_V = "Value" +_TL = "TagList" +_VIe = "VectorIndex" +_VIL = "VectorIndexList" +_CTI = "CreateTableInput" +_Tag = "Tags" +_GTSA = "GlobalTableSourceArn" +_DPEi = "DisassociationProtectionEnabled" +_PTD = "ProvisionedThroughputDescription" +_LIDT = "LastIncreaseDateTime" +_LDDT = "LastDecreaseDateTime" +_NODT = "NumberOfDecreasesToday" +_GSID = "GlobalSecondaryIndexDescription" +_ISB = "IndexSizeBytes" +_IA = "IndexArn" +_GSIDL = "GlobalSecondaryIndexDescriptionList" +_WS = "WitnessStatus" +_GTWD = "GlobalTableWitnessDescription" +_GTWDL = "GlobalTableWitnessDescriptionList" +_LSID = "LocalSecondaryIndexDescription" +_LSIDL = "LocalSecondaryIndexDescriptionList" +_MRC = "MultiRegionConsistency" +_EVENTUAL = "EVENTUAL" +_STRONG = "STRONG" +_RIP = "RestoreInProgress" +_RSe = "RestoreSummary" +_SBA = "SourceBackupArn" +_STA = "SourceTableArn" +_RDT = "RestoreDateTime" +_VID = "VectorIndexDescription" +_VIDL = "VectorIndexDescriptionList" +_TDa = "TableDescription" +_LSL = "LatestStreamLabel" +_LSA = "LatestStreamArn" +_GTV = "GlobalTableVersion" +_Repl = "Replicas" +_GTW = "GlobalTableWitnesses" +_CTO = "CreateTableOutput" +_RIUE = "ResourceInUseException" +_CTr = "CreateTable" +_CVIA = "CreateVectorIndexAction" +_CD = "CsvDelimiter" +_CH = "CsvHeader" +_CHL = "CsvHeaderList" +_COs = "CsvOptions" +_De = "Delimiter" +_HL = "HeaderList" +_DBI = "DeleteBackupInput" +_DBO = "DeleteBackupOutput" +_DB = "DeleteBackup" +_DGSIA = "DeleteGlobalSecondaryIndexAction" +_DGTWGMA = "DeleteGlobalTableWitnessGroupMemberAction" +_DRA = "DeleteReplicaAction" +_DRGMA = "DeleteReplicationGroupMemberAction" +_PRI = "PolicyRevisionId" +_RAS = "ResourceArnString" +_DRPI = "DeleteResourcePolicyInput" +_RAe = "ResourceArn" +_ERI = "ExpectedRevisionId" +_DRPO = "DeleteResourcePolicyOutput" +_RI = "RevisionId" +_PNFE = "PolicyNotFoundException" +_DRP = "DeleteResourcePolicy" +_DTI = "DeleteTableInput" +_DTO = "DeleteTableOutput" +_DT = "DeleteTable" +_DVIA = "DeleteVectorIndexAction" +_DBIe = "DescribeBackupInput" +_DBOe = "DescribeBackupOutput" +_DBe = "DescribeBackup" +_DBOI = "DescribeBulkOperationInput" +_DBOO = "DescribeBulkOperationOutput" +_DBOes = "DescribeBulkOperation" +_DCBI = "DescribeContinuousBackupsInput" +_DCBO = "DescribeContinuousBackupsOutput" +_DCB = "DescribeContinuousBackups" + +TABLE_CLASS: StaticSchema = ( + 14, + n0, + _TCa, + 0, + (_STANDARD, _SIA), + ((-1, {_sV: _STANDARD}), (-1, {_sV: _SIA})), +) + +TABLE_CLASS_SUMMARY: StaticSchema = ( + 18, + n0, + _TCS, + 0, + (_TCa, _LUDT), + ((TABLE_CLASS, 0), (lambda: schemas.DATE, 0)), +) + +TABLE_WARM_THROUGHPUT_DESCRIPTION: StaticSchema = ( + 18, + n0, + _TWTD, + 0, + (_RUPS, _WUPS, _Sta), + ( + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.TABLE_STATUS, 0), + ), +) + +REPLICA_DESCRIPTION: StaticSchema = ( + 18, + n0, + _RDe, + 0, + (_RN, _RS, _RA, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM), + ( + (lambda: schemas.REGION_NAME, 0), + (lambda: schemas.REPLICA_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.REPLICA_STATUS_DESCRIPTION, 0), + (lambda: schemas.REPLICA_STATUS_PERCENT_PROGRESS, 0), + (lambda: schemas.KMS_MASTER_KEY_ID, 0), + (lambda: schemas.PROVISIONED_THROUGHPUT_OVERRIDE, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT_OVERRIDE, 0), + (TABLE_WARM_THROUGHPUT_DESCRIPTION, 0), + (lambda: schemas.REPLICA_GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST, 0), + (lambda: schemas.DATE, 0), + (TABLE_CLASS_SUMMARY, 0), + (lambda: schemas.GLOBAL_TABLE_SETTINGS_REPLICATION_MODE, 0), + ), +) + +REPLICA_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _RDL, + 0, + (_m,), + ((REPLICA_DESCRIPTION, 0),), +) + +GLOBAL_TABLE_DESCRIPTION: StaticSchema = ( + 18, + n0, + _GTD, + 0, + (_RG, _GTA, _CDT, _GTS, _GTN), + ( + (REPLICA_DESCRIPTION_LIST, 0), + (lambda: schemas.GLOBAL_TABLE_ARN_STRING, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.GLOBAL_TABLE_STATUS, 0), + (lambda: schemas.TABLE_NAME, 0), + ), +) + +GLOBAL_TABLE_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _GTAEE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +CREATE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION: StaticSchema = ( + 18, + n0, + _CGTWGMA, + 0, + (_RN,), + ((lambda: schemas.REGION_NAME, 1),), +) + +CREATE_REPLICA_ACTION: StaticSchema = ( + 18, + n0, + _CRA, + 0, + (_RN,), + ((lambda: schemas.REGION_NAME, 1),), +) + +REPLICA_GLOBAL_SECONDARY_INDEX: StaticSchema = ( + 18, + n0, + _RGSI, + 0, + (_IN, _PTO, _ODTO), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.PROVISIONED_THROUGHPUT_OVERRIDE, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT_OVERRIDE, 0), + ), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_LIST: StaticSchema = ( + 16, + n0, + _RGSIL, + 0, + (_m,), + ((REPLICA_GLOBAL_SECONDARY_INDEX, 0),), +) + +CREATE_REPLICATION_GROUP_MEMBER_ACTION: StaticSchema = ( + 18, + n0, + _CRGMA, + 0, + (_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO), + ( + (lambda: schemas.REGION_NAME, 1), + (lambda: schemas.KMS_MASTER_KEY_ID, 0), + (lambda: schemas.PROVISIONED_THROUGHPUT_OVERRIDE, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT_OVERRIDE, 0), + (REPLICA_GLOBAL_SECONDARY_INDEX_LIST, 0), + (TABLE_CLASS, 0), + ), +) + +DELETION_PROTECTION_ENABLED: StaticSchema = (2, n0, _DPE, 0) + +GLOBAL_SECONDARY_INDEX: StaticSchema = ( + 18, + n0, + _GSIl, + 0, + (_IN, _KS, _P, _PT, _ODT, _WT), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.KEY_SCHEMA, 1), + (lambda: schemas.PROJECTION, 1), + (lambda: schemas.PROVISIONED_THROUGHPUT, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (lambda: schemas.WARM_THROUGHPUT, 0), + ), +) + +GLOBAL_SECONDARY_INDEX_LIST: StaticSchema = ( + 16, + n0, + _GSIL, + 0, + (_m,), + ((GLOBAL_SECONDARY_INDEX, 0),), +) + +LOCAL_SECONDARY_INDEX: StaticSchema = ( + 18, + n0, + _LSIo, + 0, + (_IN, _KS, _P), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.KEY_SCHEMA, 1), + (lambda: schemas.PROJECTION, 1), + ), +) + +LOCAL_SECONDARY_INDEX_LIST: StaticSchema = ( + 16, + n0, + _LSIL, + 0, + (_m,), + ((LOCAL_SECONDARY_INDEX, 0),), +) + +RESOURCE_POLICY: StaticSchema = (3, n0, _RP, 0) + +SSE_ENABLED: StaticSchema = (2, n0, _SSEE, 0) + +SSE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _SSESp, + 0, + (_E, _SSET, _KMSMKI), + ( + (SSE_ENABLED, 0), + (lambda: schemas.SSE_TYPE, 0), + (lambda: schemas.KMS_MASTER_KEY_ID, 0), + ), +) + +TAG_KEY_STRING: StaticSchema = (3, n0, _TKS, 0) + +TAG_VALUE_STRING: StaticSchema = (3, n0, _TVS, 0) + +TAG: StaticSchema = ( + 18, + n0, + _Ta, + 0, + (_K, _V), + ((TAG_KEY_STRING, 1), (TAG_VALUE_STRING, 1)), +) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) + +VECTOR_INDEX: StaticSchema = ( + 18, + n0, + _VIe, + 0, + (_IN, _VA, _SSe, _P, _Di, _DF), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.VECTOR_ATTRIBUTE_DEFINITION, 1), + (lambda: schemas.SEARCH_SCHEMA, 0), + (lambda: schemas.PROJECTION, 1), + (lambda: schemas.POSITIVE_LONG_OBJECT, 1), + (lambda: schemas.VECTOR_DISTANCE_FUNCTION, 1), + ), +) + +VECTOR_INDEX_LIST: StaticSchema = (16, n0, _VIL, 0, (_m,), ((VECTOR_INDEX, 0),)) + +CREATE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _CTI, + {_smit: None}, + ( + _ADt, + _TN, + _KS, + _LSI, + _GSI, + _BM, + _PT, + _SS, + _SSESp, + _Tag, + _TCa, + _DPE, + _WT, + _RP, + _ODT, + _GTSA, + _GTSRM, + _VI, + ), + ( + (lambda: schemas.ATTRIBUTE_DEFINITIONS, 0), + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.KEY_SCHEMA, 0), + (LOCAL_SECONDARY_INDEX_LIST, 0), + (GLOBAL_SECONDARY_INDEX_LIST, 0), + (lambda: schemas.BILLING_MODE, 0), + (lambda: schemas.PROVISIONED_THROUGHPUT, 0), + (lambda: schemas.STREAM_SPECIFICATION, 0), + (SSE_SPECIFICATION, 0), + (TAG_LIST, 0), + (TABLE_CLASS, 0), + (DELETION_PROTECTION_ENABLED, 0), + (lambda: schemas.WARM_THROUGHPUT, 0), + (RESOURCE_POLICY, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (lambda: schemas.TABLE_ARN, 0), + (lambda: schemas.GLOBAL_TABLE_SETTINGS_REPLICATION_MODE, 0), + (VECTOR_INDEX_LIST, 0), + ), +) + +CREATE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _CTO, + {_smith: None}, + (_TDa,), + ((lambda: TABLE_DESCRIPTION, 0),), +) + +CREATE_TABLE: StaticOperationSchema = ( + 23, + n0, + _CTr, + 0, + CREATE_TABLE_INPUT, + CREATE_TABLE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: RESOURCE_IN_USE_EXCEPTION, + ), +) + +DISASSOCIATION_PROTECTION_ENABLED: StaticSchema = (2, n0, _DPEi, 0) + +PROVISIONED_THROUGHPUT_DESCRIPTION: StaticSchema = ( + 18, + n0, + _PTD, + 0, + (_LIDT, _LDDT, _NODT, _RCU, _WCU), + ( + (lambda: schemas.DATE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.NON_NEGATIVE_LONG_OBJECT, 0), + (lambda: schemas.NON_NEGATIVE_LONG_OBJECT, 0), + ), +) + +GLOBAL_SECONDARY_INDEX_DESCRIPTION: StaticSchema = ( + 18, + n0, + _GSID, + 0, + (_IN, _KS, _P, _IS, _Ba, _PT, _ISB, _IC, _IA, _ODT, _WT), + ( + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.KEY_SCHEMA, 0), + (lambda: schemas.PROJECTION, 0), + (lambda: schemas.INDEX_STATUS, 0), + (lambda: schemas.BACKFILLING, 0), + (PROVISIONED_THROUGHPUT_DESCRIPTION, 0), + (lambda: schemas.LONG_OBJECT, 0), + (lambda: schemas.LONG_OBJECT, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (lambda: schemas.GLOBAL_SECONDARY_INDEX_WARM_THROUGHPUT_DESCRIPTION, 0), + ), +) + +GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _GSIDL, + 0, + (_m,), + ((GLOBAL_SECONDARY_INDEX_DESCRIPTION, 0),), +) + +WITNESS_STATUS: StaticSchema = ( + 14, + n0, + _WS, + 0, + (_CREATING, _DELETING, _ACTIVE), + ((-1, {_sV: _CREATING}), (-1, {_sV: _DELETING}), (-1, {_sV: _ACTIVE})), +) + +GLOBAL_TABLE_WITNESS_DESCRIPTION: StaticSchema = ( + 18, + n0, + _GTWD, + 0, + (_RN, _WS), + ((lambda: schemas.REGION_NAME, 0), (WITNESS_STATUS, 0)), +) + +GLOBAL_TABLE_WITNESS_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _GTWDL, + 0, + (_m,), + ((GLOBAL_TABLE_WITNESS_DESCRIPTION, 0),), +) + +LOCAL_SECONDARY_INDEX_DESCRIPTION: StaticSchema = ( + 18, + n0, + _LSID, + 0, + (_IN, _KS, _P, _ISB, _IC, _IA), + ( + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.KEY_SCHEMA, 0), + (lambda: schemas.PROJECTION, 0), + (lambda: schemas.LONG_OBJECT, 0), + (lambda: schemas.LONG_OBJECT, 0), + (lambda: schemas.STRING, 0), + ), +) + +LOCAL_SECONDARY_INDEX_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _LSIDL, + 0, + (_m,), + ((LOCAL_SECONDARY_INDEX_DESCRIPTION, 0),), +) + +MULTI_REGION_CONSISTENCY: StaticSchema = ( + 14, + n0, + _MRC, + 0, + (_EVENTUAL, _STRONG), + ((-1, {_sV: _EVENTUAL}), (-1, {_sV: _STRONG})), +) + +RESTORE_IN_PROGRESS: StaticSchema = (2, n0, _RIP, 0) + +RESTORE_SUMMARY: StaticSchema = ( + 18, + n0, + _RSe, + 0, + (_SBA, _STA, _RDT, _RIP), + ( + (lambda: schemas.BACKUP_ARN, 0), + (lambda: schemas.TABLE_ARN, 0), + (lambda: schemas.DATE, 1), + (RESTORE_IN_PROGRESS, 1), + ), +) + +VECTOR_INDEX_DESCRIPTION: StaticSchema = ( + 18, + n0, + _VID, + 0, + (_IN, _SSe, _P, _VA, _Di, _DF, _IS, _Ba, _ISB, _IC, _IA), + ( + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.SEARCH_SCHEMA, 0), + (lambda: schemas.PROJECTION, 0), + (lambda: schemas.VECTOR_ATTRIBUTE_DEFINITION, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.VECTOR_DISTANCE_FUNCTION, 0), + (lambda: schemas.INDEX_STATUS, 0), + (lambda: schemas.BACKFILLING, 0), + (lambda: schemas.LONG_OBJECT, 0), + (lambda: schemas.LONG_OBJECT, 0), + (lambda: schemas.STRING, 0), + ), +) + +VECTOR_INDEX_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _VIDL, + 0, + (_m,), + ((VECTOR_INDEX_DESCRIPTION, 0),), +) + +TABLE_DESCRIPTION: StaticSchema = ( + 18, + n0, + _TDa, + 0, + ( + _ADt, + _TN, + _KS, + _TS, + _CDT, + _PT, + _TSB, + _IC, + _TA, + _TI, + _BMS, + _LSI, + _GSI, + _SS, + _LSL, + _LSA, + _GTV, + _Repl, + _GTW, + _GTSRM, + _RSe, + _SSED, + _AS, + _TCS, + _DPE, + _DPEi, + _ODT, + _WT, + _MRC, + _VI, + ), + ( + (lambda: schemas.ATTRIBUTE_DEFINITIONS, 0), + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.KEY_SCHEMA, 0), + (lambda: schemas.TABLE_STATUS, 0), + (lambda: schemas.DATE, 0), + (PROVISIONED_THROUGHPUT_DESCRIPTION, 0), + (lambda: schemas.LONG_OBJECT, 0), + (lambda: schemas.LONG_OBJECT, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TABLE_ID, 0), + (lambda: schemas.BILLING_MODE_SUMMARY, 0), + (LOCAL_SECONDARY_INDEX_DESCRIPTION_LIST, 0), + (GLOBAL_SECONDARY_INDEX_DESCRIPTION_LIST, 0), + (lambda: schemas.STREAM_SPECIFICATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STREAM_ARN, 0), + (lambda: schemas.STRING, 0), + (REPLICA_DESCRIPTION_LIST, 0), + (GLOBAL_TABLE_WITNESS_DESCRIPTION_LIST, 0), + (lambda: schemas.GLOBAL_TABLE_SETTINGS_REPLICATION_MODE, 0), + (RESTORE_SUMMARY, 0), + (lambda: schemas.SSE_DESCRIPTION, 0), + (lambda: schemas.ARCHIVAL_SUMMARY, 0), + (TABLE_CLASS_SUMMARY, 0), + (DELETION_PROTECTION_ENABLED, 0), + (DISASSOCIATION_PROTECTION_ENABLED, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (TABLE_WARM_THROUGHPUT_DESCRIPTION, 0), + (MULTI_REGION_CONSISTENCY, 0), + (VECTOR_INDEX_DESCRIPTION_LIST, 0), + ), +) + +RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _RIUE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +CREATE_VECTOR_INDEX_ACTION: StaticSchema = ( + 18, + n0, + _CVIA, + 0, + (_IN, _VA, _SSe, _P, _Di, _DF), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.VECTOR_ATTRIBUTE_DEFINITION, 1), + (lambda: schemas.SEARCH_SCHEMA, 0), + (lambda: schemas.PROJECTION, 1), + (lambda: schemas.POSITIVE_LONG_OBJECT, 1), + (lambda: schemas.VECTOR_DISTANCE_FUNCTION, 1), + ), +) + +CSV_DELIMITER: StaticSchema = (3, n0, _CD, 0) + +CSV_HEADER: StaticSchema = (3, n0, _CH, 0) + +CSV_HEADER_LIST: StaticSchema = (16, n0, _CHL, 0, (_m,), ((CSV_HEADER, 0),)) + +CSV_OPTIONS: StaticSchema = ( + 18, + n0, + _COs, + 0, + (_De, _HL), + ((CSV_DELIMITER, 0), (CSV_HEADER_LIST, 0)), +) + +DELETE_BACKUP_INPUT: StaticSchema = ( + 18, + n0, + _DBI, + {_smit: None}, + (_BA,), + ( + ( + lambda: schemas.BACKUP_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DELETE_BACKUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DBO, + {_smith: None}, + (_BDa,), + ((lambda: schemas.BACKUP_DESCRIPTION, 0),), +) + +DELETE_BACKUP: StaticOperationSchema = ( + 23, + n0, + _DB, + 0, + DELETE_BACKUP_INPUT, + DELETE_BACKUP_OUTPUT, + ( + lambda: schemas.BACKUP_IN_USE_EXCEPTION, + lambda: schemas.BACKUP_NOT_FOUND_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + ), +) + +DELETE_GLOBAL_SECONDARY_INDEX_ACTION: StaticSchema = ( + 18, + n0, + _DGSIA, + 0, + (_IN,), + ((lambda: schemas.INDEX_NAME, 1),), +) + +DELETE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION: StaticSchema = ( + 18, + n0, + _DGTWGMA, + 0, + (_RN,), + ((lambda: schemas.REGION_NAME, 1),), +) + +DELETE_REPLICA_ACTION: StaticSchema = ( + 18, + n0, + _DRA, + 0, + (_RN,), + ((lambda: schemas.REGION_NAME, 1),), +) + +DELETE_REPLICATION_GROUP_MEMBER_ACTION: StaticSchema = ( + 18, + n0, + _DRGMA, + 0, + (_RN,), + ((lambda: schemas.REGION_NAME, 1),), +) + +POLICY_REVISION_ID: StaticSchema = (3, n0, _PRI, 0) + +RESOURCE_ARN_STRING: StaticSchema = (3, n0, _RAS, 0) + +DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_smit: None}, + (_RAe, _ERI), + ( + ( + RESOURCE_ARN_STRING, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (POLICY_REVISION_ID, 0), + ), +) + +DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DRPO, + {_smith: None}, + (_RI,), + ((POLICY_REVISION_ID, 0),), +) + +DELETE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + 0, + DELETE_RESOURCE_POLICY_INPUT, + DELETE_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: POLICY_NOT_FOUND_EXCEPTION, + RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +POLICY_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _PNFE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DELETE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DTI, + {_smit: None}, + (_TN,), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DELETE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTO, + {_smith: None}, + (_TDa,), + ((TABLE_DESCRIPTION, 0),), +) + +DELETE_TABLE: StaticOperationSchema = ( + 23, + n0, + _DT, + 0, + DELETE_TABLE_INPUT, + DELETE_TABLE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DELETE_VECTOR_INDEX_ACTION: StaticSchema = ( + 18, + n0, + _DVIA, + 0, + (_IN,), + ((lambda: schemas.INDEX_NAME, 1),), +) + +DESCRIBE_BACKUP_INPUT: StaticSchema = ( + 18, + n0, + _DBIe, + {_smit: None}, + (_BA,), + ( + ( + lambda: schemas.BACKUP_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DESCRIBE_BACKUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DBOe, + {_smith: None}, + (_BDa,), + ((lambda: schemas.BACKUP_DESCRIPTION, 0),), +) + +DESCRIBE_BACKUP: StaticOperationSchema = ( + 23, + n0, + _DBe, + 0, + DESCRIBE_BACKUP_INPUT, + DESCRIBE_BACKUP_OUTPUT, + ( + lambda: schemas.BACKUP_NOT_FOUND_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + ), +) + +DESCRIBE_BULK_OPERATION_INPUT: StaticSchema = ( + 18, + n0, + _DBOI, + {_smit: None}, + (_BOA,), + ( + ( + lambda: schemas.BULK_OPERATION_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DESCRIBE_BULK_OPERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DBOO, + {_smith: None}, + (_BOD,), + ((lambda: schemas.BULK_OPERATION_DESCRIPTION, 1),), +) + +DESCRIBE_BULK_OPERATION: StaticOperationSchema = ( + 23, + n0, + _DBOes, + 0, + DESCRIBE_BULK_OPERATION_INPUT, + DESCRIBE_BULK_OPERATION_OUTPUT, + ( + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DESCRIBE_CONTINUOUS_BACKUPS_INPUT: StaticSchema = ( + 18, + n0, + _DCBI, + {_smit: None}, + (_TN,), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DESCRIBE_CONTINUOUS_BACKUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCBO, + {_smith: None}, + (_CBD,), + ((lambda: schemas.CONTINUOUS_BACKUPS_DESCRIPTION, 0),), +) + +DESCRIBE_CONTINUOUS_BACKUPS: StaticOperationSchema = ( + 23, + n0, + _DCB, + 0, + DESCRIBE_CONTINUOUS_BACKUPS_INPUT, + DESCRIBE_CONTINUOUS_BACKUPS_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.TABLE_NOT_FOUND_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_3.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_3.py new file mode 100644 index 000000000..30df48dcd --- /dev/null +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_3.py @@ -0,0 +1,1048 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.dynamodb" +_ACDTP = "ApproximateCreationDateTimePrecision" +_sV = "smithy.api#enumValue" +_s = "smithy.api#required" +_ADt = "AttributeDefinitions" +_m = "member" +_BM = "BillingMode" +_KS = "KeySchema" +_ODT = "OnDemandThroughput" +_PT = "ProvisionedThroughput" +_TA = "TableArn" +_TI = "TableId" +_TN = "TableName" +_IN = "IndexName" +_GSI = "GlobalSecondaryIndexes" +_NI = "NEW_IMAGE" +_NAOI = "NEW_AND_OLD_IMAGES" +_TTLD = "TimeToLiveDescription" +_VI = "VectorIndexes" +_sm = "smithy.api#error" +_c = "client" +_me = "message" +_T = "Table" +_IP = "IN_PROGRESS" +_COMPLETED = "COMPLETED" +_CANCELLING = "CANCELLING" +_CANCELLED = "CANCELLED" +_FAILED = "FAILED" +_CT = "ClientToken" +_smi = "smithy.api#default" +_FC = "FailureCode" +_FM = "FailureMessage" +_ICT = "InputCompressionType" +_DJ = "DYNAMODB_JSON" +_ION = "ION" +_SB = "S3Bucket" +_SBO = "S3BucketOwner" +_SKP = "S3KeyPrefix" +_IFn = "InputFormat" +_ST = "StartTime" +_ET = "EndTime" +_PIC = "ProcessedItemCount" +_smit = "smithy.api#input" +_sP = "smithy.rules#contextParam" +_smith = "smithy.api#output" +_CWLGA = "CloudWatchLogGroupArn" +_CIM = "ContributorInsightsMode" +_CIRL = "ContributorInsightsRuleList" +_CIS = "ContributorInsightsStatus" +_RN = "RegionName" +_GTN = "GlobalTableName" +_IS = "IndexStatus" +_RS = "ReplicaStatus" +_LUDT = "LastUpdateDateTime" +_TS = "TableStatus" +_RTCS = "ReplicaTableClassSummary" +_GTD = "GlobalTableDescription" +_SSESp = "SSESpecification" +_SA = "StreamArn" +_Repl = "Replicas" +_DCII = "DescribeContributorInsightsInput" +_ED = "ExceptionDescription" +_EN = "ExceptionName" +_FE = "FailureException" +_DCIO = "DescribeContributorInsightsOutput" +_DCI = "DescribeContributorInsights" +_DEI = "DescribeEndpointsInput" +_sSI = "smithy.synthetic#originalShapeId" +_cDER = "com.amazonaws.dynamodb#DescribeEndpointsRequest" +_L = "Long" +_En = "Endpoint" +_A = "Address" +_CPIM = "CachePeriodInMinutes" +_End = "Endpoints" +_DEO = "DescribeEndpointsOutput" +_cDERo = "com.amazonaws.dynamodb#DescribeEndpointsResponse" +_DE = "DescribeEndpoints" +_EA = "ExportArn" +_DEIe = "DescribeExportInput" +_EET = "ExportEndTime" +_EF = "ExportFormat" +_EMx = "ExportManifest" +_ES = "ExportStatus" +_ETx = "ExportTime" +_ETxp = "ExportType" +_FE_ = "FULL_EXPORT" +_IE = "INCREMENTAL_EXPORT" +_EFT = "ExportFromTime" +_ETT = "ExportToTime" +_EVT = "ExportViewType" +_IES = "IncrementalExportSpecification" +_EST = "ExportStartTime" +_ENFE = "ExportNotFoundException" +_DGTI = "DescribeGlobalTableInput" +_DGTO = "DescribeGlobalTableOutput" +_DGT = "DescribeGlobalTable" +_DGTSI = "DescribeGlobalTableSettingsInput" +_RGSISD = "ReplicaGlobalSecondaryIndexSettingsDescription" +_PRCU = "ProvisionedReadCapacityUnits" +_PRCASS = "ProvisionedReadCapacityAutoScalingSettings" +_PWCU = "ProvisionedWriteCapacityUnits" +_PWCASS = "ProvisionedWriteCapacityAutoScalingSettings" +_RGSISDL = "ReplicaGlobalSecondaryIndexSettingsDescriptionList" +_RSDe = "ReplicaSettingsDescription" +_RBMS = "ReplicaBillingModeSummary" +_RPRCU = "ReplicaProvisionedReadCapacityUnits" +_RPRCASS = "ReplicaProvisionedReadCapacityAutoScalingSettings" +_RPWCU = "ReplicaProvisionedWriteCapacityUnits" +_RPWCASS = "ReplicaProvisionedWriteCapacityAutoScalingSettings" +_RGSIS = "ReplicaGlobalSecondaryIndexSettings" +_RSDL = "ReplicaSettingsDescriptionList" +_DGTSO = "DescribeGlobalTableSettingsOutput" +_RSep = "ReplicaSettings" +_DGTS = "DescribeGlobalTableSettings" +_IAm = "ImportArn" +_DII = "DescribeImportInput" +_IET = "ImportEndTime" +_EC = "ErrorCount" +_IIC = "ImportedItemCount" +_ISm = "ImportStatus" +_CSV = "CSV" +_IFO = "InputFormatOptions" +_Cs = "Csv" +_SBS = "S3BucketSource" +_IST = "ImportStartTime" +_TCP = "TableCreationParameters" +_ITD = "ImportTableDescription" +_PSB = "ProcessedSizeBytes" +_DIO = "DescribeImportOutput" +_INFE = "ImportNotFoundException" +_DIe = "DescribeImport" +_DKSDI = "DescribeKinesisStreamingDestinationInput" +_DS = "DestinationStatus" +_KDSD = "KinesisDataStreamDestination" +_DSD = "DestinationStatusDescription" +_KDSDi = "KinesisDataStreamDestinations" +_DKSDO = "DescribeKinesisStreamingDestinationOutput" +_DKSD = "DescribeKinesisStreamingDestination" +_DLI = "DescribeLimitsInput" +_DLO = "DescribeLimitsOutput" +_AMRCU = "AccountMaxReadCapacityUnits" +_AMWCU = "AccountMaxWriteCapacityUnits" +_TMRCU = "TableMaxReadCapacityUnits" +_TMWCU = "TableMaxWriteCapacityUnits" +_DL = "DescribeLimits" +_DTIe = "DescribeTableInput" +_DTOe = "DescribeTableOutput" +_DTe = "DescribeTable" +_DTRASI = "DescribeTableReplicaAutoScalingInput" +_RGSIASD = "ReplicaGlobalSecondaryIndexAutoScalingDescription" +_RGSIASDL = "ReplicaGlobalSecondaryIndexAutoScalingDescriptionList" +_RASD = "ReplicaAutoScalingDescription" +_RASDL = "ReplicaAutoScalingDescriptionList" +_TASD = "TableAutoScalingDescription" +_DTRASO = "DescribeTableReplicaAutoScalingOutput" +_DTRAS = "DescribeTableReplicaAutoScaling" +_DTTLI = "DescribeTimeToLiveInput" +_DTTLO = "DescribeTimeToLiveOutput" +_DTTL = "DescribeTimeToLive" +_EKSC = "EnableKinesisStreamingConfiguration" +_DKSDIi = "DisableKinesisStreamingDestinationInput" +_cKSDI = "com.amazonaws.dynamodb#KinesisStreamingDestinationInput" +_DKSDOi = "DisableKinesisStreamingDestinationOutput" +_cKSDO = "com.amazonaws.dynamodb#KinesisStreamingDestinationOutput" +_DKSDi = "DisableKinesisStreamingDestination" +_DM = "DisassociationMode" +_WFR = "WAIT_FOR_REPLICATION" +_DRGMAi = "DisassociateReplicationGroupMemberAction" +_DIE = "DuplicateItemException" +_EKSDI = "EnableKinesisStreamingDestinationInput" +_EKSDO = "EnableKinesisStreamingDestinationOutput" +_EKSD = "EnableKinesisStreamingDestination" +_PQLNT = "PartiQLNextToken" +_EDx = "ExportDescription" +_DEOe = "DescribeExportOutput" +_DEe = "DescribeExport" + +DESCRIBE_CONTRIBUTOR_INSIGHTS_INPUT: StaticSchema = ( + 18, + n0, + _DCII, + {_smit: None}, + (_TN, _IN), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.INDEX_NAME, 0), + ), +) + +DESCRIBE_CONTRIBUTOR_INSIGHTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCIO, + {_smith: None}, + (_TN, _IN, _CIRL, _CIS, _LUDT, _FE, _CIM), + ( + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.CONTRIBUTOR_INSIGHTS_RULE_LIST, 0), + (lambda: schemas.CONTRIBUTOR_INSIGHTS_STATUS, 0), + (lambda: LAST_UPDATE_DATE_TIME, 0), + (lambda: FAILURE_EXCEPTION, 0), + (lambda: schemas.CONTRIBUTOR_INSIGHTS_MODE, 0), + ), +) + +DESCRIBE_CONTRIBUTOR_INSIGHTS: StaticOperationSchema = ( + 23, + n0, + _DCI, + 0, + DESCRIBE_CONTRIBUTOR_INSIGHTS_INPUT, + DESCRIBE_CONTRIBUTOR_INSIGHTS_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +EXCEPTION_DESCRIPTION: StaticSchema = (3, n0, _ED, 0) + +EXCEPTION_NAME: StaticSchema = (3, n0, _EN, 0) + +FAILURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _FE, + 0, + (_EN, _ED), + ((EXCEPTION_NAME, 0), (EXCEPTION_DESCRIPTION, 0)), +) + +LAST_UPDATE_DATE_TIME: StaticSchema = (4, n0, _LUDT, 0) + +DESCRIBE_ENDPOINTS_INPUT: StaticSchema = (18, n0, _DEI, {_sSI: _cDER, _smit: None}) + +DESCRIBE_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DEO, + {_sSI: _cDERo, _smith: None}, + (_End,), + ((lambda: ENDPOINTS, 1),), +) + +DESCRIBE_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _DE, + 0, + DESCRIBE_ENDPOINTS_INPUT, + DESCRIBE_ENDPOINTS_OUTPUT, + (), +) + +LONG: StaticSchema = (8, n0, _L, {_smi: 0}) + +ENDPOINT: StaticSchema = ( + 18, + n0, + _En, + 0, + (_A, _CPIM), + ((lambda: schemas.STRING, 1), (LONG, {_smi: 0, _s: None})), +) + +ENDPOINTS: StaticSchema = (16, n0, _End, 0, (_m,), ((ENDPOINT, 0),)) + +EXPORT_ARN: StaticSchema = (3, n0, _EA, 0) + +DESCRIBE_EXPORT_INPUT: StaticSchema = ( + 18, + n0, + _DEIe, + {_smit: None}, + (_EA,), + ((EXPORT_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), +) + +DESCRIBE_EXPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _DEOe, + {_smith: None}, + (_EDx,), + ((lambda: schemas.EXPORT_DESCRIPTION, 0),), +) + +DESCRIBE_EXPORT: StaticOperationSchema = ( + 23, + n0, + _DEe, + 0, + DESCRIBE_EXPORT_INPUT, + DESCRIBE_EXPORT_OUTPUT, + ( + lambda: EXPORT_NOT_FOUND_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + ), +) + +EXPORT_END_TIME: StaticSchema = (4, n0, _EET, 0) + +EXPORT_FORMAT: StaticSchema = ( + 14, + n0, + _EF, + 0, + (_DJ, _ION), + ((-1, {_sV: _DJ}), (-1, {_sV: _ION})), +) + +EXPORT_MANIFEST: StaticSchema = (3, n0, _EMx, 0) + +EXPORT_STATUS: StaticSchema = ( + 14, + n0, + _ES, + 0, + (_IP, _COMPLETED, _FAILED), + ((-1, {_sV: _IP}), (-1, {_sV: _COMPLETED}), (-1, {_sV: _FAILED})), +) + +EXPORT_TIME: StaticSchema = (4, n0, _ETx, 0) + +EXPORT_TYPE: StaticSchema = ( + 14, + n0, + _ETxp, + 0, + (_FE_, _IE), + ((-1, {_sV: _FE_}), (-1, {_sV: _IE})), +) + +EXPORT_FROM_TIME: StaticSchema = (4, n0, _EFT, 0) + +EXPORT_TO_TIME: StaticSchema = (4, n0, _ETT, 0) + +EXPORT_VIEW_TYPE: StaticSchema = ( + 14, + n0, + _EVT, + 0, + (_NI, _NAOI), + ((-1, {_sV: _NI}), (-1, {_sV: _NAOI})), +) + +INCREMENTAL_EXPORT_SPECIFICATION: StaticSchema = ( + 18, + n0, + _IES, + 0, + (_EFT, _ETT, _EVT), + ((EXPORT_FROM_TIME, 0), (EXPORT_TO_TIME, 0), (EXPORT_VIEW_TYPE, 0)), +) + +EXPORT_START_TIME: StaticSchema = (4, n0, _EST, 0) + +EXPORT_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _ENFE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DESCRIBE_GLOBAL_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DGTI, + {_smit: None}, + (_GTN,), + ( + ( + lambda: schemas.TABLE_NAME, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DESCRIBE_GLOBAL_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DGTO, + {_smith: None}, + (_GTD,), + ((lambda: schemas.GLOBAL_TABLE_DESCRIPTION, 0),), +) + +DESCRIBE_GLOBAL_TABLE: StaticOperationSchema = ( + 23, + n0, + _DGT, + 0, + DESCRIBE_GLOBAL_TABLE_INPUT, + DESCRIBE_GLOBAL_TABLE_OUTPUT, + ( + lambda: schemas.GLOBAL_TABLE_NOT_FOUND_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + ), +) + +DESCRIBE_GLOBAL_TABLE_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _DGTSI, + {_smit: None}, + (_GTN,), + ( + ( + lambda: schemas.TABLE_NAME, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DESCRIBE_GLOBAL_TABLE_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DGTSO, + {_smith: None}, + (_GTN, _RSep), + ((lambda: schemas.TABLE_NAME, 0), (lambda: REPLICA_SETTINGS_DESCRIPTION_LIST, 0)), +) + +DESCRIBE_GLOBAL_TABLE_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _DGTS, + 0, + DESCRIBE_GLOBAL_TABLE_SETTINGS_INPUT, + DESCRIBE_GLOBAL_TABLE_SETTINGS_OUTPUT, + ( + lambda: schemas.GLOBAL_TABLE_NOT_FOUND_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + ), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION: StaticSchema = ( + 18, + n0, + _RGSISD, + 0, + (_IN, _IS, _PRCU, _PRCASS, _PWCU, _PWCASS), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.INDEX_STATUS, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_DESCRIPTION, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_DESCRIPTION, 0), + ), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _RGSISDL, + 0, + (_m,), + ((REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION, 0),), +) + +REPLICA_SETTINGS_DESCRIPTION: StaticSchema = ( + 18, + n0, + _RSDe, + 0, + (_RN, _RS, _RBMS, _RPRCU, _RPRCASS, _RPWCU, _RPWCASS, _RGSIS, _RTCS), + ( + (lambda: schemas.REGION_NAME, 1), + (lambda: schemas.REPLICA_STATUS, 0), + (lambda: schemas.BILLING_MODE_SUMMARY, 0), + (lambda: schemas.NON_NEGATIVE_LONG_OBJECT, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_DESCRIPTION, 0), + (lambda: schemas.NON_NEGATIVE_LONG_OBJECT, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_DESCRIPTION, 0), + (REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_DESCRIPTION_LIST, 0), + (lambda: schemas.TABLE_CLASS_SUMMARY, 0), + ), +) + +REPLICA_SETTINGS_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _RSDL, + 0, + (_m,), + ((REPLICA_SETTINGS_DESCRIPTION, 0),), +) + +IMPORT_ARN: StaticSchema = (3, n0, _IAm, 0) + +DESCRIBE_IMPORT_INPUT: StaticSchema = ( + 18, + n0, + _DII, + {_smit: None}, + (_IAm,), + ((IMPORT_ARN, {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}),), +) + +DESCRIBE_IMPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _DIO, + {_smith: None}, + (_ITD,), + ((lambda: IMPORT_TABLE_DESCRIPTION, 1),), +) + +DESCRIBE_IMPORT: StaticOperationSchema = ( + 23, + n0, + _DIe, + 0, + DESCRIBE_IMPORT_INPUT, + DESCRIBE_IMPORT_OUTPUT, + (lambda: IMPORT_NOT_FOUND_EXCEPTION,), +) + +IMPORT_END_TIME: StaticSchema = (4, n0, _IET, 0) + +ERROR_COUNT: StaticSchema = (8, n0, _EC, {_smi: 0}) + +IMPORTED_ITEM_COUNT: StaticSchema = (8, n0, _IIC, {_smi: 0}) + +IMPORT_STATUS: StaticSchema = ( + 14, + n0, + _ISm, + 0, + (_IP, _COMPLETED, _CANCELLING, _CANCELLED, _FAILED), + ( + (-1, {_sV: _IP}), + (-1, {_sV: _COMPLETED}), + (-1, {_sV: _CANCELLING}), + (-1, {_sV: _CANCELLED}), + (-1, {_sV: _FAILED}), + ), +) + +INPUT_FORMAT: StaticSchema = ( + 14, + n0, + _IFn, + 0, + (_DJ, _ION, _CSV), + ((-1, {_sV: _DJ}), (-1, {_sV: _ION}), (-1, {_sV: _CSV})), +) + +INPUT_FORMAT_OPTIONS: StaticSchema = ( + 18, + n0, + _IFO, + 0, + (_Cs,), + ((lambda: schemas.CSV_OPTIONS, 0),), +) + +PROCESSED_ITEM_COUNT: StaticSchema = (8, n0, _PIC, {_smi: 0}) + +S3_BUCKET_SOURCE: StaticSchema = ( + 18, + n0, + _SBS, + 0, + (_SBO, _SB, _SKP), + ( + (lambda: schemas.S3_BUCKET_OWNER, 0), + (lambda: schemas.S3_BUCKET, 1), + (lambda: schemas.S3_PREFIX, 0), + ), +) + +IMPORT_START_TIME: StaticSchema = (4, n0, _IST, 0) + +TABLE_CREATION_PARAMETERS: StaticSchema = ( + 18, + n0, + _TCP, + 0, + (_TN, _ADt, _KS, _BM, _PT, _ODT, _SSESp, _GSI, _VI), + ( + (lambda: schemas.TABLE_NAME, 1), + (lambda: schemas.ATTRIBUTE_DEFINITIONS, 1), + (lambda: schemas.KEY_SCHEMA, 1), + (lambda: schemas.BILLING_MODE, 0), + (lambda: schemas.PROVISIONED_THROUGHPUT, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (lambda: schemas.SSE_SPECIFICATION, 0), + (lambda: schemas.GLOBAL_SECONDARY_INDEX_LIST, 0), + (lambda: schemas.VECTOR_INDEX_LIST, 0), + ), +) + +IMPORT_TABLE_DESCRIPTION: StaticSchema = ( + 18, + n0, + _ITD, + 0, + ( + _IAm, + _ISm, + _TA, + _TI, + _CT, + _SBS, + _EC, + _CWLGA, + _IFn, + _IFO, + _ICT, + _TCP, + _ST, + _ET, + _PSB, + _PIC, + _IIC, + _FC, + _FM, + ), + ( + (IMPORT_ARN, 0), + (IMPORT_STATUS, 0), + (lambda: schemas.TABLE_ARN, 0), + (lambda: schemas.TABLE_ID, 0), + (lambda: schemas.CLIENT_TOKEN, 0), + (S3_BUCKET_SOURCE, 0), + (ERROR_COUNT, {_smi: 0}), + (lambda: schemas.CLOUD_WATCH_LOG_GROUP_ARN, 0), + (INPUT_FORMAT, 0), + (INPUT_FORMAT_OPTIONS, 0), + (lambda: schemas.INPUT_COMPRESSION_TYPE, 0), + (TABLE_CREATION_PARAMETERS, 0), + (IMPORT_START_TIME, 0), + (IMPORT_END_TIME, 0), + (lambda: schemas.LONG_OBJECT, 0), + (PROCESSED_ITEM_COUNT, {_smi: 0}), + (IMPORTED_ITEM_COUNT, {_smi: 0}), + (lambda: schemas.FAILURE_CODE, 0), + (lambda: schemas.FAILURE_MESSAGE, 0), + ), +) + +IMPORT_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _INFE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +DESCRIBE_KINESIS_STREAMING_DESTINATION_INPUT: StaticSchema = ( + 18, + n0, + _DKSDI, + {_smit: None}, + (_TN,), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DESCRIBE_KINESIS_STREAMING_DESTINATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DKSDO, + {_smith: None}, + (_TN, _KDSDi), + ((lambda: schemas.TABLE_NAME, 0), (lambda: KINESIS_DATA_STREAM_DESTINATIONS, 0)), +) + +DESCRIBE_KINESIS_STREAMING_DESTINATION: StaticOperationSchema = ( + 23, + n0, + _DKSD, + 0, + DESCRIBE_KINESIS_STREAMING_DESTINATION_INPUT, + DESCRIBE_KINESIS_STREAMING_DESTINATION_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +KINESIS_DATA_STREAM_DESTINATION: StaticSchema = ( + 18, + n0, + _KDSD, + 0, + (_SA, _DS, _DSD, _ACDTP), + ( + (lambda: schemas.STREAM_ARN, 0), + (lambda: schemas.DESTINATION_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.APPROXIMATE_CREATION_DATE_TIME_PRECISION, 0), + ), +) + +KINESIS_DATA_STREAM_DESTINATIONS: StaticSchema = ( + 16, + n0, + _KDSDi, + 0, + (_m,), + ((KINESIS_DATA_STREAM_DESTINATION, 0),), +) + +DESCRIBE_LIMITS_INPUT: StaticSchema = (18, n0, _DLI, {_smit: None}) + +DESCRIBE_LIMITS_OUTPUT: StaticSchema = ( + 18, + n0, + _DLO, + {_smith: None}, + (_AMRCU, _AMWCU, _TMRCU, _TMWCU), + ( + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + ), +) + +DESCRIBE_LIMITS: StaticOperationSchema = ( + 23, + n0, + _DL, + 0, + DESCRIBE_LIMITS_INPUT, + DESCRIBE_LIMITS_OUTPUT, + (lambda: schemas.INTERNAL_SERVER_ERROR, lambda: schemas.INVALID_ENDPOINT_EXCEPTION), +) + +DESCRIBE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DTIe, + {_smit: None}, + (_TN,), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DESCRIBE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTOe, + {_smith: None}, + (_T,), + ((lambda: schemas.TABLE_DESCRIPTION, 0),), +) + +DESCRIBE_TABLE: StaticOperationSchema = ( + 23, + n0, + _DTe, + 0, + DESCRIBE_TABLE_INPUT, + DESCRIBE_TABLE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DESCRIBE_TABLE_REPLICA_AUTO_SCALING_INPUT: StaticSchema = ( + 18, + n0, + _DTRASI, + {_smit: None}, + (_TN,), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DESCRIBE_TABLE_REPLICA_AUTO_SCALING_OUTPUT: StaticSchema = ( + 18, + n0, + _DTRASO, + {_smith: None}, + (_TASD,), + ((lambda: TABLE_AUTO_SCALING_DESCRIPTION, 0),), +) + +DESCRIBE_TABLE_REPLICA_AUTO_SCALING: StaticOperationSchema = ( + 23, + n0, + _DTRAS, + 0, + DESCRIBE_TABLE_REPLICA_AUTO_SCALING_INPUT, + DESCRIBE_TABLE_REPLICA_AUTO_SCALING_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION: StaticSchema = ( + 18, + n0, + _RGSIASD, + 0, + (_IN, _IS, _PRCASS, _PWCASS), + ( + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.INDEX_STATUS, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_DESCRIPTION, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_DESCRIPTION, 0), + ), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _RGSIASDL, + 0, + (_m,), + ((REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION, 0),), +) + +REPLICA_AUTO_SCALING_DESCRIPTION: StaticSchema = ( + 18, + n0, + _RASD, + 0, + (_RN, _GSI, _RPRCASS, _RPWCASS, _RS), + ( + (lambda: schemas.REGION_NAME, 0), + (REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_DESCRIPTION_LIST, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_DESCRIPTION, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_DESCRIPTION, 0), + (lambda: schemas.REPLICA_STATUS, 0), + ), +) + +REPLICA_AUTO_SCALING_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _RASDL, + 0, + (_m,), + ((REPLICA_AUTO_SCALING_DESCRIPTION, 0),), +) + +TABLE_AUTO_SCALING_DESCRIPTION: StaticSchema = ( + 18, + n0, + _TASD, + 0, + (_TN, _TS, _Repl), + ( + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.TABLE_STATUS, 0), + (REPLICA_AUTO_SCALING_DESCRIPTION_LIST, 0), + ), +) + +DESCRIBE_TIME_TO_LIVE_INPUT: StaticSchema = ( + 18, + n0, + _DTTLI, + {_smit: None}, + (_TN,), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +DESCRIBE_TIME_TO_LIVE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTTLO, + {_smith: None}, + (_TTLD,), + ((lambda: schemas.TIME_TO_LIVE_DESCRIPTION, 0),), +) + +DESCRIBE_TIME_TO_LIVE: StaticOperationSchema = ( + 23, + n0, + _DTTL, + 0, + DESCRIBE_TIME_TO_LIVE_INPUT, + DESCRIBE_TIME_TO_LIVE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +ENABLE_KINESIS_STREAMING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EKSC, + 0, + (_ACDTP,), + ((lambda: schemas.APPROXIMATE_CREATION_DATE_TIME_PRECISION, 0),), +) + +DISABLE_KINESIS_STREAMING_DESTINATION_INPUT: StaticSchema = ( + 18, + n0, + _DKSDIi, + {_sSI: _cKSDI, _smit: None}, + (_TN, _SA, _EKSC), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.STREAM_ARN, 1), + (ENABLE_KINESIS_STREAMING_CONFIGURATION, 0), + ), +) + +DISABLE_KINESIS_STREAMING_DESTINATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DKSDOi, + {_sSI: _cKSDO, _smith: None}, + (_TN, _SA, _DS, _EKSC), + ( + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.STREAM_ARN, 0), + (lambda: schemas.DESTINATION_STATUS, 0), + (ENABLE_KINESIS_STREAMING_CONFIGURATION, 0), + ), +) + +DISABLE_KINESIS_STREAMING_DESTINATION: StaticOperationSchema = ( + 23, + n0, + _DKSDi, + 0, + DISABLE_KINESIS_STREAMING_DESTINATION_INPUT, + DISABLE_KINESIS_STREAMING_DESTINATION_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DISASSOCIATION_MODE: StaticSchema = (14, n0, _DM, 0, (_WFR,), ((-1, {_sV: _WFR}),)) + +DISASSOCIATE_REPLICATION_GROUP_MEMBER_ACTION: StaticSchema = ( + 18, + n0, + _DRGMAi, + 0, + (_RN, _DM), + ((lambda: schemas.REGION_NAME, 1), (DISASSOCIATION_MODE, 1)), +) + +DUPLICATE_ITEM_EXCEPTION: StaticSchema = ( + 18, + n0, + _DIE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +ENABLE_KINESIS_STREAMING_DESTINATION_INPUT: StaticSchema = ( + 18, + n0, + _EKSDI, + {_sSI: _cKSDI, _smit: None}, + (_TN, _SA, _EKSC), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.STREAM_ARN, 1), + (ENABLE_KINESIS_STREAMING_CONFIGURATION, 0), + ), +) + +ENABLE_KINESIS_STREAMING_DESTINATION_OUTPUT: StaticSchema = ( + 18, + n0, + _EKSDO, + {_sSI: _cKSDO, _smith: None}, + (_TN, _SA, _DS, _EKSC), + ( + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.STREAM_ARN, 0), + (lambda: schemas.DESTINATION_STATUS, 0), + (ENABLE_KINESIS_STREAMING_CONFIGURATION, 0), + ), +) + +ENABLE_KINESIS_STREAMING_DESTINATION: StaticOperationSchema = ( + 23, + n0, + _EKSD, + 0, + ENABLE_KINESIS_STREAMING_DESTINATION_INPUT, + ENABLE_KINESIS_STREAMING_DESTINATION_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +PARTI_QL_NEXT_TOKEN: StaticSchema = (3, n0, _PQLNT, 0) diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_4.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_4.py new file mode 100644 index 000000000..4ed6df822 --- /dev/null +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_4.py @@ -0,0 +1,1183 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.dynamodb" +_sV = "smithy.api#enumValue" +_BA = "BackupArn" +_s = "smithy.api#required" +_m = "member" +_BT = "BackupType" +_MWRU = "MaxWriteRequestUnits" +_TA = "TableArn" +_TN = "TableName" +_IN = "IndexName" +_sm = "smithy.api#error" +_c = "client" +_me = "message" +_BSac = "BackupSummaries" +_M = "Message" +_CT = "ClientToken" +_smi = "smithy.api#default" +_ICT = "InputCompressionType" +_ISC = "InputS3Configuration" +_IFn = "InputFormat" +_OSC = "OutputS3Configuration" +_BOD = "BulkOperationDescription" +_ST = "StartTime" +_ET = "EndTime" +_PTe = "PerformanceTier" +_BOSL = "BulkOperationsSummaryList" +_smit = "smithy.api#input" +_sP = "smithy.rules#contextParam" +_smith = "smithy.api#output" +_CWLGA = "CloudWatchLogGroupArn" +_CRSRA = "ConfirmRemoveSelfResourceAccess" +_RPID = "RecoveryPeriodInDays" +_CBD = "ContinuousBackupsDescription" +_CIA = "ContributorInsightsAction" +_CIM = "ContributorInsightsMode" +_CIS = "ContributorInsightsStatus" +_CISon = "ContributorInsightsSummaries" +_RN = "RegionName" +_GTN = "GlobalTableName" +_RG = "ReplicationGroup" +_ODTO = "OnDemandThroughputOverride" +_PTO = "ProvisionedThroughputOverride" +_GTD = "GlobalTableDescription" +_Tag = "Tags" +_STA = "SourceTableArn" +_RDT = "RestoreDateTime" +_TDa = "TableDescription" +_RAe = "ResourceArn" +_ERI = "ExpectedRevisionId" +_RI = "RevisionId" +_sSI = "smithy.synthetic#originalShapeId" +_EA = "ExportArn" +_ES = "ExportStatus" +_ETxp = "ExportType" +_PWCU = "ProvisionedWriteCapacityUnits" +_IAm = "ImportArn" +_ISm = "ImportStatus" +_IFO = "InputFormatOptions" +_SBS = "S3BucketSource" +_TCP = "TableCreationParameters" +_ITD = "ImportTableDescription" +_IPME = "IdempotentParameterMismatchException" +_TIPE = "TransactionInProgressException" +_ECE = "ExportConflictException" +_IETE = "InvalidExportTimeException" +_PITRUE = "PointInTimeRecoveryUnavailableException" +_GRPI = "GetResourcePolicyInput" +_GRPO = "GetResourcePolicyOutput" +_Po = "Policy" +_GRP = "GetResourcePolicy" +_ICE = "ImportConflictException" +_ITI = "ImportTableInput" +_sT = "smithy.api#idempotencyToken" +_ITO = "ImportTableOutput" +_IT = "ImportTable" +_sCP = "smithy.rules#operationContextParams" +_TRLB = "TimeRangeLowerBound" +_TRUB = "TimeRangeUpperBound" +_LBI = "ListBackupsInput" +_Li = "Limit" +_ESBA = "ExclusiveStartBackupArn" +_LBO = "ListBackupsOutput" +_LEBA = "LastEvaluatedBackupArn" +_LB = "ListBackups" +_LBOML = "ListBulkOperationsMaxLimit" +_LBOI = "ListBulkOperationsInput" +_MR = "MaxResults" +_NT = "NextToken" +_LBOO = "ListBulkOperationsOutput" +_LBOi = "ListBulkOperations" +_LCIL = "ListContributorInsightsLimit" +_NTS = "NextTokenString" +_LCII = "ListContributorInsightsInput" +_LCIO = "ListContributorInsightsOutput" +_LCI = "ListContributorInsights" +_LEML = "ListExportsMaxLimit" +_ENT = "ExportNextToken" +_LEI = "ListExportsInput" +_ESx = "ExportSummary" +_ESxp = "ExportSummaries" +_LEO = "ListExportsOutput" +_LEi = "ListExports" +_LGTI = "ListGlobalTablesInput" +_ESGTN = "ExclusiveStartGlobalTableName" +_GTl = "GlobalTable" +_GTL = "GlobalTableList" +_LGTO = "ListGlobalTablesOutput" +_GTlo = "GlobalTables" +_LEGTN = "LastEvaluatedGlobalTableName" +_LGT = "ListGlobalTables" +_INT = "ImportNextToken" +_LIML = "ListImportsMaxLimit" +_LII = "ListImportsInput" +_PS = "PageSize" +_ISmp = "ImportSummary" +_ISL = "ImportSummaryList" +_LIO = "ListImportsOutput" +_LI = "ListImports" +_LTIL = "ListTablesInputLimit" +_LTI = "ListTablesInput" +_ESTN = "ExclusiveStartTableName" +_TNL = "TableNameList" +_LTO = "ListTablesOutput" +_TNa = "TableNames" +_LETN = "LastEvaluatedTableName" +_LTi = "ListTables" +_LTORI = "ListTagsOfResourceInput" +_LTORO = "ListTagsOfResourceOutput" +_LTOR = "ListTagsOfResource" +_PRPI = "PutResourcePolicyInput" +_sH = "smithy.api#httpHeader" +_xacrsra = "x-amz-confirm-remove-self-resource-access" +_PRPO = "PutResourcePolicyOutput" +_PRP = "PutResourcePolicy" +_Se = "Select" +_AA_ = "ALL_ATTRIBUTES" +_APA = "ALL_PROJECTED_ATTRIBUTES" +_SA_ = "SPECIFIC_ATTRIBUTES" +_COUNT = "COUNT" +_I = "Integer" +_RTFBI = "RestoreTableFromBackupInput" +_TTN = "TargetTableName" +_BMO = "BillingModeOverride" +_GSIO = "GlobalSecondaryIndexOverride" +_LSIO = "LocalSecondaryIndexOverride" +_SSESO = "SSESpecificationOverride" +_VIO = "VectorIndexOverride" +_RTFBO = "RestoreTableFromBackupOutput" +_TAEE = "TableAlreadyExistsException" +_RTFB = "RestoreTableFromBackup" +_IRTE = "InvalidRestoreTimeException" +_RTTPITI = "RestoreTableToPointInTimeInput" +_STN = "SourceTableName" +_ULRT = "UseLatestRestorableTime" +_RTTPITO = "RestoreTableToPointInTimeOutput" +_RTTPIT = "RestoreTableToPointInTime" +_SSc = "ScanSegment" +_STS = "ScanTotalSegments" +_TKI = "TopKInteger" +_SN = "ScoreNumber" +_SBPII = "StartBulkPutItemsInput" +_SBPIO = "StartBulkPutItemsOutput" +_SBPI = "StartBulkPutItems" +_TRI = "TagResourceInput" +_TRO = "TagResourceOutput" +_sU = "smithy.api#Unit" +_TRa = "TagResource" +_TKL = "TagKeyList" +_URI = "UntagResourceInput" +_TKa = "TagKeys" +_URO = "UntagResourceOutput" +_UR = "UntagResource" +_PITRSo = "PointInTimeRecoverySpecification" +_PITRE = "PointInTimeRecoveryEnabled" +_UCBI = "UpdateContinuousBackupsInput" +_UCBO = "UpdateContinuousBackupsOutput" +_UCB = "UpdateContinuousBackups" +_UCII = "UpdateContributorInsightsInput" +_UCIO = "UpdateContributorInsightsOutput" +_UCI = "UpdateContributorInsights" +_RAEE = "ReplicaAlreadyExistsException" +_RNFEe = "ReplicaNotFoundException" +_RU = "ReplicaUpdate" +_Cr = "Create" +_Del = "Delete" +_RUL = "ReplicaUpdateList" +_UGTI = "UpdateGlobalTableInput" +_RUe = "ReplicaUpdates" +_UGTO = "UpdateGlobalTableOutput" +_UGT = "UpdateGlobalTable" +_INFEn = "IndexNotFoundException" +_GTGSISU = "GlobalTableGlobalSecondaryIndexSettingsUpdate" +_PWCASSU = "ProvisionedWriteCapacityAutoScalingSettingsUpdate" +_GTGSISUL = "GlobalTableGlobalSecondaryIndexSettingsUpdateList" + +IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPME, + {_sm: _c}, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +TRANSACTION_IN_PROGRESS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TIPE, + {_sm: _c}, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +EXPORT_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _ECE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_EXPORT_TIME_EXCEPTION: StaticSchema = ( + 18, + n0, + _IETE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +POINT_IN_TIME_RECOVERY_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _PITRUE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_smit: None}, + (_RAe,), + ( + ( + lambda: schemas.RESOURCE_ARN_STRING, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + ), +) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_smith: None}, + (_Po, _RI), + ((lambda: schemas.RESOURCE_POLICY, 0), (lambda: schemas.POLICY_REVISION_ID, 0)), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRP, + 0, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.POLICY_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +IMPORT_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _ICE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +IMPORT_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _ITI, + {_smit: None}, + (_CT, _SBS, _IFn, _IFO, _ICT, _TCP), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.S3_BUCKET_SOURCE, 1), + (lambda: schemas.INPUT_FORMAT, 1), + (lambda: schemas.INPUT_FORMAT_OPTIONS, 0), + (lambda: schemas.INPUT_COMPRESSION_TYPE, 0), + (lambda: schemas.TABLE_CREATION_PARAMETERS, 1), + ), +) + +IMPORT_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _ITO, + {_smith: None}, + (_ITD,), + ((lambda: schemas.IMPORT_TABLE_DESCRIPTION, 1),), +) + +IMPORT_TABLE: StaticOperationSchema = ( + 23, + n0, + _IT, + { + _sCP: MappingProxyType( + { + "ResourceArn": MappingProxyType( + {"path": "TableCreationParameters.TableName"} + ) + } + ) + }, + IMPORT_TABLE_INPUT, + IMPORT_TABLE_OUTPUT, + ( + IMPORT_CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + ), +) + +TIME_RANGE_LOWER_BOUND: StaticSchema = (4, n0, _TRLB, 0) + +TIME_RANGE_UPPER_BOUND: StaticSchema = (4, n0, _TRUB, 0) + +LIST_BACKUPS_INPUT: StaticSchema = ( + 18, + n0, + _LBI, + {_smit: None}, + (_TN, _Li, _TRLB, _TRUB, _ESBA, _BT), + ( + (lambda: schemas.TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"})}), + (lambda: schemas.BACKUPS_INPUT_LIMIT, 0), + (TIME_RANGE_LOWER_BOUND, 0), + (TIME_RANGE_UPPER_BOUND, 0), + (lambda: schemas.BACKUP_ARN, 0), + (lambda: schemas.BACKUP_TYPE_FILTER, 0), + ), +) + +LIST_BACKUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBO, + {_smith: None}, + (_BSac, _LEBA), + ((lambda: schemas.BACKUP_SUMMARIES, 0), (lambda: schemas.BACKUP_ARN, 0)), +) + +LIST_BACKUPS: StaticOperationSchema = ( + 23, + n0, + _LB, + 0, + LIST_BACKUPS_INPUT, + LIST_BACKUPS_OUTPUT, + (lambda: schemas.INTERNAL_SERVER_ERROR, lambda: schemas.INVALID_ENDPOINT_EXCEPTION), +) + +LIST_BULK_OPERATIONS_MAX_LIMIT: StaticSchema = (7, n0, _LBOML, 0) + +LIST_BULK_OPERATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LBOI, + {_smit: None}, + (_MR, _NT), + ( + (LIST_BULK_OPERATIONS_MAX_LIMIT, 0), + (lambda: schemas.BULK_OPERATION_NEXT_TOKEN, 0), + ), +) + +LIST_BULK_OPERATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBOO, + {_smith: None}, + (_BOSL, _NT), + ( + (lambda: schemas.BULK_OPERATIONS_SUMMARY_LIST, 0), + (lambda: schemas.BULK_OPERATION_NEXT_TOKEN, 0), + ), +) + +LIST_BULK_OPERATIONS: StaticOperationSchema = ( + 23, + n0, + _LBOi, + 0, + LIST_BULK_OPERATIONS_INPUT, + LIST_BULK_OPERATIONS_OUTPUT, + (lambda: schemas.INVALID_ENDPOINT_EXCEPTION,), +) + +LIST_CONTRIBUTOR_INSIGHTS_LIMIT: StaticSchema = (7, n0, _LCIL, {_smi: 0}) + +NEXT_TOKEN_STRING: StaticSchema = (3, n0, _NTS, 0) + +LIST_CONTRIBUTOR_INSIGHTS_INPUT: StaticSchema = ( + 18, + n0, + _LCII, + {_smit: None}, + (_TN, _NT, _MR), + ( + (lambda: schemas.TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"})}), + (NEXT_TOKEN_STRING, 0), + (LIST_CONTRIBUTOR_INSIGHTS_LIMIT, {_smi: 0}), + ), +) + +LIST_CONTRIBUTOR_INSIGHTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCIO, + {_smith: None}, + (_CISon, _NT), + ((lambda: schemas.CONTRIBUTOR_INSIGHTS_SUMMARIES, 0), (NEXT_TOKEN_STRING, 0)), +) + +LIST_CONTRIBUTOR_INSIGHTS: StaticOperationSchema = ( + 23, + n0, + _LCI, + 0, + LIST_CONTRIBUTOR_INSIGHTS_INPUT, + LIST_CONTRIBUTOR_INSIGHTS_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +LIST_EXPORTS_MAX_LIMIT: StaticSchema = (7, n0, _LEML, 0) + +EXPORT_NEXT_TOKEN: StaticSchema = (3, n0, _ENT, 0) + +LIST_EXPORTS_INPUT: StaticSchema = ( + 18, + n0, + _LEI, + {_smit: None}, + (_TA, _MR, _NT), + ( + (lambda: schemas.TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"})}), + (LIST_EXPORTS_MAX_LIMIT, 0), + (EXPORT_NEXT_TOKEN, 0), + ), +) + +LIST_EXPORTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LEO, + {_smith: None}, + (_ESxp, _NT), + ((lambda: EXPORT_SUMMARIES, 0), (EXPORT_NEXT_TOKEN, 0)), +) + +LIST_EXPORTS: StaticOperationSchema = ( + 23, + n0, + _LEi, + 0, + LIST_EXPORTS_INPUT, + LIST_EXPORTS_OUTPUT, + (lambda: schemas.INTERNAL_SERVER_ERROR, lambda: schemas.LIMIT_EXCEEDED_EXCEPTION), +) + +EXPORT_SUMMARY: StaticSchema = ( + 18, + n0, + _ESx, + 0, + (_EA, _ES, _ETxp), + ( + (lambda: schemas.EXPORT_ARN, 0), + (lambda: schemas.EXPORT_STATUS, 0), + (lambda: schemas.EXPORT_TYPE, 0), + ), +) + +EXPORT_SUMMARIES: StaticSchema = (16, n0, _ESxp, 0, (_m,), ((EXPORT_SUMMARY, 0),)) + +LIST_GLOBAL_TABLES_INPUT: StaticSchema = ( + 18, + n0, + _LGTI, + {_smit: None}, + (_ESGTN, _Li, _RN), + ( + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.POSITIVE_INTEGER_OBJECT, 0), + (lambda: schemas.REGION_NAME, 0), + ), +) + +LIST_GLOBAL_TABLES_OUTPUT: StaticSchema = ( + 18, + n0, + _LGTO, + {_smith: None}, + (_GTlo, _LEGTN), + ((lambda: GLOBAL_TABLE_LIST, 0), (lambda: schemas.TABLE_NAME, 0)), +) + +LIST_GLOBAL_TABLES: StaticOperationSchema = ( + 23, + n0, + _LGT, + 0, + LIST_GLOBAL_TABLES_INPUT, + LIST_GLOBAL_TABLES_OUTPUT, + (lambda: schemas.INTERNAL_SERVER_ERROR, lambda: schemas.INVALID_ENDPOINT_EXCEPTION), +) + +GLOBAL_TABLE: StaticSchema = ( + 18, + n0, + _GTl, + 0, + (_GTN, _RG), + ((lambda: schemas.TABLE_NAME, 0), (lambda: schemas.REPLICA_LIST, 0)), +) + +GLOBAL_TABLE_LIST: StaticSchema = (16, n0, _GTL, 0, (_m,), ((GLOBAL_TABLE, 0),)) + +IMPORT_NEXT_TOKEN: StaticSchema = (3, n0, _INT, 0) + +LIST_IMPORTS_MAX_LIMIT: StaticSchema = (7, n0, _LIML, 0) + +LIST_IMPORTS_INPUT: StaticSchema = ( + 18, + n0, + _LII, + {_smit: None}, + (_TA, _PS, _NT), + ( + (lambda: schemas.TABLE_ARN, {_sP: MappingProxyType({"name": "ResourceArn"})}), + (LIST_IMPORTS_MAX_LIMIT, 0), + (IMPORT_NEXT_TOKEN, 0), + ), +) + +LIST_IMPORTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIO, + {_smith: None}, + (_ISL, _NT), + ((lambda: IMPORT_SUMMARY_LIST, 0), (IMPORT_NEXT_TOKEN, 0)), +) + +LIST_IMPORTS: StaticOperationSchema = ( + 23, + n0, + _LI, + 0, + LIST_IMPORTS_INPUT, + LIST_IMPORTS_OUTPUT, + (lambda: schemas.LIMIT_EXCEEDED_EXCEPTION,), +) + +IMPORT_SUMMARY: StaticSchema = ( + 18, + n0, + _ISmp, + 0, + (_IAm, _ISm, _TA, _SBS, _CWLGA, _IFn, _ST, _ET), + ( + (lambda: schemas.IMPORT_ARN, 0), + (lambda: schemas.IMPORT_STATUS, 0), + (lambda: schemas.TABLE_ARN, 0), + (lambda: schemas.S3_BUCKET_SOURCE, 0), + (lambda: schemas.CLOUD_WATCH_LOG_GROUP_ARN, 0), + (lambda: schemas.INPUT_FORMAT, 0), + (lambda: schemas.IMPORT_START_TIME, 0), + (lambda: schemas.IMPORT_END_TIME, 0), + ), +) + +IMPORT_SUMMARY_LIST: StaticSchema = (16, n0, _ISL, 0, (_m,), ((IMPORT_SUMMARY, 0),)) + +LIST_TABLES_INPUT_LIMIT: StaticSchema = (7, n0, _LTIL, 0) + +LIST_TABLES_INPUT: StaticSchema = ( + 18, + n0, + _LTI, + {_smit: None}, + (_ESTN, _Li), + ((lambda: schemas.TABLE_NAME, 0), (LIST_TABLES_INPUT_LIMIT, 0)), +) + +LIST_TABLES_OUTPUT: StaticSchema = ( + 18, + n0, + _LTO, + {_smith: None}, + (_TNa, _LETN), + ((lambda: TABLE_NAME_LIST, 0), (lambda: schemas.TABLE_NAME, 0)), +) + +LIST_TABLES: StaticOperationSchema = ( + 23, + n0, + _LTi, + 0, + LIST_TABLES_INPUT, + LIST_TABLES_OUTPUT, + (lambda: schemas.INTERNAL_SERVER_ERROR, lambda: schemas.INVALID_ENDPOINT_EXCEPTION), +) + +TABLE_NAME_LIST: StaticSchema = ( + 16, + n0, + _TNL, + 0, + (_m,), + ((lambda: schemas.TABLE_NAME, 0),), +) + +LIST_TAGS_OF_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTORI, + {_smit: None}, + (_RAe, _NT), + ( + ( + lambda: schemas.RESOURCE_ARN_STRING, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (NEXT_TOKEN_STRING, 0), + ), +) + +LIST_TAGS_OF_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTORO, + {_smith: None}, + (_Tag, _NT), + ((lambda: schemas.TAG_LIST, 0), (NEXT_TOKEN_STRING, 0)), +) + +LIST_TAGS_OF_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTOR, + 0, + LIST_TAGS_OF_RESOURCE_INPUT, + LIST_TAGS_OF_RESOURCE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_smit: None}, + (_RAe, _Po, _ERI, _CRSRA), + ( + ( + lambda: schemas.RESOURCE_ARN_STRING, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.RESOURCE_POLICY, 1), + (lambda: schemas.POLICY_REVISION_ID, 0), + ( + lambda: schemas.CONFIRM_REMOVE_SELF_RESOURCE_ACCESS, + {_smi: False, _sH: _xacrsra}, + ), + ), +) + +PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPO, + {_smith: None}, + (_RI,), + ((lambda: schemas.POLICY_REVISION_ID, 0),), +) + +PUT_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRP, + 0, + PUT_RESOURCE_POLICY_INPUT, + PUT_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.POLICY_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +SELECT: StaticSchema = ( + 14, + n0, + _Se, + 0, + (_AA_, _APA, _SA_, _COUNT), + ((-1, {_sV: _AA_}), (-1, {_sV: _APA}), (-1, {_sV: _SA_}), (-1, {_sV: _COUNT})), +) + +INTEGER: StaticSchema = (7, n0, _I, {_smi: 0}) + +RESTORE_TABLE_FROM_BACKUP_INPUT: StaticSchema = ( + 18, + n0, + _RTFBI, + {_smit: None}, + (_TTN, _BA, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO, _VIO), + ( + ( + lambda: schemas.TABLE_NAME, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.BACKUP_ARN, 1), + (lambda: schemas.BILLING_MODE, 0), + (lambda: schemas.GLOBAL_SECONDARY_INDEX_LIST, 0), + (lambda: schemas.LOCAL_SECONDARY_INDEX_LIST, 0), + (lambda: schemas.PROVISIONED_THROUGHPUT, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (lambda: schemas.SSE_SPECIFICATION, 0), + (lambda: schemas.VECTOR_INDEX_LIST, 0), + ), +) + +RESTORE_TABLE_FROM_BACKUP_OUTPUT: StaticSchema = ( + 18, + n0, + _RTFBO, + {_smith: None}, + (_TDa,), + ((lambda: schemas.TABLE_DESCRIPTION, 0),), +) + +RESTORE_TABLE_FROM_BACKUP: StaticOperationSchema = ( + 23, + n0, + _RTFB, + 0, + RESTORE_TABLE_FROM_BACKUP_INPUT, + RESTORE_TABLE_FROM_BACKUP_OUTPUT, + ( + lambda: schemas.BACKUP_IN_USE_EXCEPTION, + lambda: schemas.BACKUP_NOT_FOUND_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: TABLE_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.TABLE_IN_USE_EXCEPTION, + ), +) + +TABLE_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TAEE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_RESTORE_TIME_EXCEPTION: StaticSchema = ( + 18, + n0, + _IRTE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +RESTORE_TABLE_TO_POINT_IN_TIME_INPUT: StaticSchema = ( + 18, + n0, + _RTTPITI, + {_smit: None}, + (_STA, _STN, _TTN, _ULRT, _RDT, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO, _VIO), + ( + (lambda: schemas.TABLE_ARN, 0), + (lambda: schemas.TABLE_NAME, 0), + ( + lambda: schemas.TABLE_NAME, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.BOOLEAN_OBJECT, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.BILLING_MODE, 0), + (lambda: schemas.GLOBAL_SECONDARY_INDEX_LIST, 0), + (lambda: schemas.LOCAL_SECONDARY_INDEX_LIST, 0), + (lambda: schemas.PROVISIONED_THROUGHPUT, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (lambda: schemas.SSE_SPECIFICATION, 0), + (lambda: schemas.VECTOR_INDEX_LIST, 0), + ), +) + +RESTORE_TABLE_TO_POINT_IN_TIME_OUTPUT: StaticSchema = ( + 18, + n0, + _RTTPITO, + {_smith: None}, + (_TDa,), + ((lambda: schemas.TABLE_DESCRIPTION, 0),), +) + +RESTORE_TABLE_TO_POINT_IN_TIME: StaticOperationSchema = ( + 23, + n0, + _RTTPIT, + 0, + RESTORE_TABLE_TO_POINT_IN_TIME_INPUT, + RESTORE_TABLE_TO_POINT_IN_TIME_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + INVALID_RESTORE_TIME_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + POINT_IN_TIME_RECOVERY_UNAVAILABLE_EXCEPTION, + TABLE_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.TABLE_IN_USE_EXCEPTION, + lambda: schemas.TABLE_NOT_FOUND_EXCEPTION, + ), +) + +SCAN_SEGMENT: StaticSchema = (7, n0, _SSc, 0) + +SCAN_TOTAL_SEGMENTS: StaticSchema = (7, n0, _STS, 0) + +TOP_K_INTEGER: StaticSchema = (7, n0, _TKI, 0) + +SCORE_NUMBER: StaticSchema = (10, n0, _SN, {_smi: 0}) + +START_BULK_PUT_ITEMS_INPUT: StaticSchema = ( + 18, + n0, + _SBPII, + {_smit: None}, + (_CT, _ISC, _OSC, _TN, _MWRU, _PTe), + ( + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.INPUT_S3_CONFIGURATION, 1), + (lambda: schemas.OUTPUT_S3_CONFIGURATION, 1), + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.BULK_OPERATION_MAX_WRITE_REQUEST_UNITS, 0), + (lambda: schemas.BULK_OPERATION_PERFORMANCE_TIER, 0), + ), +) + +START_BULK_PUT_ITEMS_OUTPUT: StaticSchema = ( + 18, + n0, + _SBPIO, + {_smith: None}, + (_BOD,), + ((lambda: schemas.BULK_OPERATION_DESCRIPTION, 1),), +) + +START_BULK_PUT_ITEMS: StaticOperationSchema = ( + 23, + n0, + _SBPI, + 0, + START_BULK_PUT_ITEMS_INPUT, + START_BULK_PUT_ITEMS_OUTPUT, + ( + IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_smit: None}, + (_RAe, _Tag), + ( + ( + lambda: schemas.RESOURCE_ARN_STRING, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.TAG_LIST, 1), + ), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smith: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TRa, + 0, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = ( + 16, + n0, + _TKL, + 0, + (_m,), + ((lambda: schemas.TAG_KEY_STRING, 0),), +) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_smit: None}, + (_RAe, _TKa), + ( + ( + lambda: schemas.RESOURCE_ARN_STRING, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (TAG_KEY_LIST, 1), + ), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smith: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + 0, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +POINT_IN_TIME_RECOVERY_SPECIFICATION: StaticSchema = ( + 18, + n0, + _PITRSo, + 0, + (_PITRE, _RPID), + ((lambda: schemas.BOOLEAN_OBJECT, 1), (lambda: schemas.RECOVERY_PERIOD_IN_DAYS, 0)), +) + +UPDATE_CONTINUOUS_BACKUPS_INPUT: StaticSchema = ( + 18, + n0, + _UCBI, + {_smit: None}, + (_TN, _PITRSo), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (POINT_IN_TIME_RECOVERY_SPECIFICATION, 1), + ), +) + +UPDATE_CONTINUOUS_BACKUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _UCBO, + {_smith: None}, + (_CBD,), + ((lambda: schemas.CONTINUOUS_BACKUPS_DESCRIPTION, 0),), +) + +UPDATE_CONTINUOUS_BACKUPS: StaticOperationSchema = ( + 23, + n0, + _UCB, + 0, + UPDATE_CONTINUOUS_BACKUPS_INPUT, + UPDATE_CONTINUOUS_BACKUPS_OUTPUT, + ( + lambda: schemas.CONTINUOUS_BACKUPS_UNAVAILABLE_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.TABLE_NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_CONTRIBUTOR_INSIGHTS_INPUT: StaticSchema = ( + 18, + n0, + _UCII, + {_smit: None}, + (_TN, _IN, _CIA, _CIM), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.CONTRIBUTOR_INSIGHTS_ACTION, 1), + (lambda: schemas.CONTRIBUTOR_INSIGHTS_MODE, 0), + ), +) + +UPDATE_CONTRIBUTOR_INSIGHTS_OUTPUT: StaticSchema = ( + 18, + n0, + _UCIO, + {_smith: None}, + (_TN, _IN, _CIS, _CIM), + ( + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.CONTRIBUTOR_INSIGHTS_STATUS, 0), + (lambda: schemas.CONTRIBUTOR_INSIGHTS_MODE, 0), + ), +) + +UPDATE_CONTRIBUTOR_INSIGHTS: StaticOperationSchema = ( + 23, + n0, + _UCI, + 0, + UPDATE_CONTRIBUTOR_INSIGHTS_INPUT, + UPDATE_CONTRIBUTOR_INSIGHTS_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +REPLICA_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _RAEE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +REPLICA_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFEe, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +REPLICA_UPDATE: StaticSchema = ( + 18, + n0, + _RU, + 0, + (_Cr, _Del), + ( + (lambda: schemas.CREATE_REPLICA_ACTION, 0), + (lambda: schemas.DELETE_REPLICA_ACTION, 0), + ), +) + +REPLICA_UPDATE_LIST: StaticSchema = (16, n0, _RUL, 0, (_m,), ((REPLICA_UPDATE, 0),)) + +UPDATE_GLOBAL_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _UGTI, + {_smit: None}, + (_GTN, _RUe), + ( + ( + lambda: schemas.TABLE_NAME, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (REPLICA_UPDATE_LIST, 1), + ), +) + +UPDATE_GLOBAL_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _UGTO, + {_smith: None}, + (_GTD,), + ((lambda: schemas.GLOBAL_TABLE_DESCRIPTION, 0),), +) + +UPDATE_GLOBAL_TABLE: StaticOperationSchema = ( + 23, + n0, + _UGT, + 0, + UPDATE_GLOBAL_TABLE_INPUT, + UPDATE_GLOBAL_TABLE_OUTPUT, + ( + lambda: schemas.GLOBAL_TABLE_NOT_FOUND_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + REPLICA_ALREADY_EXISTS_EXCEPTION, + REPLICA_NOT_FOUND_EXCEPTION, + lambda: schemas.TABLE_NOT_FOUND_EXCEPTION, + ), +) + +INDEX_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _INFEn, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE: StaticSchema = ( + 18, + n0, + _GTGSISU, + 0, + (_IN, _PWCU, _PWCASSU), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_UPDATE, 0), + ), +) + +GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _GTGSISUL, + 0, + (_m,), + ((GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE, 0),), +) diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_5.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_5.py new file mode 100644 index 000000000..0faec5e28 --- /dev/null +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_5.py @@ -0,0 +1,1147 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.dynamodb" +_ACDTP = "ApproximateCreationDateTimePrecision" +_sV = "smithy.api#enumValue" +_S = "S" +_N = "N" +_B = "B" +_AN = "AttributeName" +_s = "smithy.api#required" +_ADt = "AttributeDefinitions" +_m = "member" +_BM = "BillingMode" +_IC = "ItemCount" +_ODT = "OnDemandThroughput" +_PT = "ProvisionedThroughput" +_TA = "TableArn" +_TI = "TableId" +_TN = "TableName" +_IN = "IndexName" +_GSI = "GlobalSecondaryIndexes" +_SS = "StreamSpecification" +_sm = "smithy.api#error" +_c = "client" +_me = "message" +_RCC = "ReturnConsumedCapacity" +_NONE = "NONE" +_CR = "ConsistentRead" +_RVOCCF = "ReturnValuesOnConditionCheckFailure" +_AO = "ALL_OLD" +_k = "key" +_v = "value" +_CC = "ConsumedCapacity" +_PE = "ProjectionExpression" +_M = "Message" +_BSBi = "BilledSizeBytes" +_CT = "ClientToken" +_smi = "smithy.api#default" +_FC = "FailureCode" +_FM = "FailureMessage" +_SB = "S3Bucket" +_SBO = "S3BucketOwner" +_SPr = "S3Prefix" +_SSA = "S3SseAlgorithm" +_SSKKI = "S3SseKmsKeyId" +_ST = "StartTime" +_ET = "EndTime" +_smit = "smithy.api#input" +_sP = "smithy.rules#contextParam" +_smith = "smithy.api#output" +_Co = "Code" +_CO = "ComparisonOperator" +_NULL = "NULL" +_WT = "WarmThroughput" +_RN = "RegionName" +_GTN = "GlobalTableName" +_ODTO = "OnDemandThroughputOverride" +_PTO = "ProvisionedThroughputOverride" +_GTSRM = "GlobalTableSettingsReplicationMode" +_KMSMKI = "KMSMasterKeyId" +_TCa = "TableClass" +_TCO = "TableClassOverride" +_DPE = "DeletionProtectionEnabled" +_SSESp = "SSESpecification" +_E = "Enabled" +_K = "Key" +_V = "Value" +_DPEi = "DisassociationProtectionEnabled" +_SA = "StreamArn" +_MRC = "MultiRegionConsistency" +_TDa = "TableDescription" +_RV = "ReturnValue" +_UO = "UPDATED_OLD" +_AN_ = "ALL_NEW" +_UN = "UPDATED_NEW" +_TCE = "TransactionConflictException" +_EA = "ExportArn" +_EF = "ExportFormat" +_EMx = "ExportManifest" +_ES = "ExportStatus" +_ETx = "ExportTime" +_ETxp = "ExportType" +_KE = "KeyExpression" +_IES = "IncrementalExportSpecification" +_PRCU = "ProvisionedReadCapacityUnits" +_RPRCU = "ReplicaProvisionedReadCapacityUnits" +_RSep = "ReplicaSettings" +_DS = "DestinationStatus" +_TASD = "TableAutoScalingDescription" +_Li = "Limit" +_NT = "NextToken" +_UE = "UpdateExpression" +_Cr = "Create" +_Del = "Delete" +_RUe = "ReplicaUpdates" +_GTGSISU = "GlobalTableGlobalSecondaryIndexSettingsUpdate" +_RGSISU = "ReplicaGlobalSecondaryIndexSettingsUpdate" +_PRCASSU = "ProvisionedReadCapacityAutoScalingSettingsUpdate" +_RGSISUL = "ReplicaGlobalSecondaryIndexSettingsUpdateList" +_RSU = "ReplicaSettingsUpdate" +_RPRCASSU = "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate" +_RTC = "ReplicaTableClass" +_RSUL = "ReplicaSettingsUpdateList" +_UGTSI = "UpdateGlobalTableSettingsInput" +_GTBM = "GlobalTableBillingMode" +_GTPWCU = "GlobalTableProvisionedWriteCapacityUnits" +_GTPWCASSU = "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate" +_UGTSO = "UpdateGlobalTableSettingsOutput" +_UGTS = "UpdateGlobalTableSettings" +_UKSC = "UpdateKinesisStreamingConfiguration" +_UKSDI = "UpdateKinesisStreamingDestinationInput" +_UKSDO = "UpdateKinesisStreamingDestinationOutput" +_UKSD = "UpdateKinesisStreamingDestination" +_UGSIA = "UpdateGlobalSecondaryIndexAction" +_GSIU = "GlobalSecondaryIndexUpdate" +_U = "Update" +_GSIUL = "GlobalSecondaryIndexUpdateList" +_GTWGU = "GlobalTableWitnessGroupUpdate" +_GTWGUL = "GlobalTableWitnessGroupUpdateList" +_URGMA = "UpdateReplicationGroupMemberAction" +_RGU = "ReplicationGroupUpdate" +_Dis = "Disassociate" +_RGUL = "ReplicationGroupUpdateList" +_VIU = "VectorIndexUpdate" +_VIUL = "VectorIndexUpdateList" +_UTI = "UpdateTableInput" +_GSIUl = "GlobalSecondaryIndexUpdates" +_GTWU = "GlobalTableWitnessUpdates" +_VIUe = "VectorIndexUpdates" +_UTO = "UpdateTableOutput" +_UT = "UpdateTable" +_GSIASU = "GlobalSecondaryIndexAutoScalingUpdate" +_PWCASU = "ProvisionedWriteCapacityAutoScalingUpdate" +_GSIASUL = "GlobalSecondaryIndexAutoScalingUpdateList" +_RGSIASU = "ReplicaGlobalSecondaryIndexAutoScalingUpdate" +_PRCASU = "ProvisionedReadCapacityAutoScalingUpdate" +_RGSIASUL = "ReplicaGlobalSecondaryIndexAutoScalingUpdateList" +_RASU = "ReplicaAutoScalingUpdate" +_RGSIU = "ReplicaGlobalSecondaryIndexUpdates" +_RPRCASU = "ReplicaProvisionedReadCapacityAutoScalingUpdate" +_RASUL = "ReplicaAutoScalingUpdateList" +_UTRASI = "UpdateTableReplicaAutoScalingInput" +_UTRASO = "UpdateTableReplicaAutoScalingOutput" +_UTRAS = "UpdateTableReplicaAutoScaling" +_TTLE = "TimeToLiveEnabled" +_TTLSi = "TimeToLiveSpecification" +_UTTLI = "UpdateTimeToLiveInput" +_UTTLO = "UpdateTimeToLiveOutput" +_UTTL = "UpdateTimeToLive" +_AV = "AttributeValue" +_SS_ = "SS" +_NS = "NS" +_BS_ = "BS" +_M_ = "M" +_L_ = "L" +_BOOL = "BOOL" +_LAV = "ListAttributeValue" +_MAV = "MapAttributeValue" +_AM = "AttributeMap" +_AVL = "AttributeValueList" +_AVU = "AttributeValueUpdate" +_Ac = "Action" +_EAVM = "ExpressionAttributeValueMap" +_ICKAM = "ItemCollectionKeyAttributeMap" +_PSP = "PreparedStatementParameters" +_PIIAM = "PutItemInputAttributeMap" +_SVL = "SearchVectorList" +_AU = "AttributeUpdates" +_BSE = "BatchStatementError" +_It = "Item" +_BSR = "BatchStatementRequest" +_Stat = "Statement" +_Pa = "Parameters" +_CRa = "CancellationReason" +_Con = "Condition" +_CCFE = "ConditionalCheckFailedException" +_DR = "DeleteRequest" +_ESI = "ExecuteStatementInput" +_FS = "FilterSpecification" +_FEi = "FilterExpression" +_KCE = "KeyConditionExpression" +_EAN = "ExpressionAttributeNames" +_EAV = "ExpressionAttributeValues" +_G = "Get" +_GII = "GetItemInput" +_ATG = "AttributesToGet" +_GIO = "GetItemOutput" +_ICM = "ItemCollectionMetrics" +_ICK = "ItemCollectionKey" +_SERGB = "SizeEstimateRangeGB" +_IL = "ItemList" +_IR = "ItemResponse" +_KL = "KeyList" +_PSa = "ParameterizedStatement" +_PR = "PutRequest" +_SRI = "SearchResultItem" +_Sc = "Score" +_BGRM = "BatchGetResponseMap" +_CRL = "CancellationReasonList" +_EDx = "ExportDescription" +_ESO = "ExecuteStatementOutput" +_Ite = "Items" +_LEK = "LastEvaluatedKey" +_GI = "GetItem" +_ESxe = "ExecuteStatement" + +RETURN_VALUE: StaticSchema = ( + 14, + n0, + _RV, + 0, + (_NONE, _AO, _UO, _AN_, _UN), + ( + (-1, {_sV: _NONE}), + (-1, {_sV: _AO}), + (-1, {_sV: _UO}), + (-1, {_sV: _AN_}), + (-1, {_sV: _UN}), + ), +) + +TRANSACTION_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _TCE, + {_sm: _c}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +KEY_EXPRESSION: StaticSchema = (3, n0, _KE, 0) + +UPDATE_EXPRESSION: StaticSchema = (3, n0, _UE, 0) + +REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE: StaticSchema = ( + 18, + n0, + _RGSISU, + 0, + (_IN, _PRCU, _PRCASSU), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_UPDATE, 0), + ), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _RGSISUL, + 0, + (_m,), + ((REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE, 0),), +) + +REPLICA_SETTINGS_UPDATE: StaticSchema = ( + 18, + n0, + _RSU, + 0, + (_RN, _RPRCU, _RPRCASSU, _RGSISU, _RTC), + ( + (lambda: schemas.REGION_NAME, 1), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_UPDATE, 0), + (REPLICA_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST, 0), + (lambda: schemas.TABLE_CLASS, 0), + ), +) + +REPLICA_SETTINGS_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _RSUL, + 0, + (_m,), + ((REPLICA_SETTINGS_UPDATE, 0),), +) + +UPDATE_GLOBAL_TABLE_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _UGTSI, + {_smit: None}, + (_GTN, _GTBM, _GTPWCU, _GTPWCASSU, _GTGSISU, _RSU), + ( + ( + lambda: schemas.TABLE_NAME, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.BILLING_MODE, 0), + (lambda: schemas.POSITIVE_LONG_OBJECT, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_UPDATE, 0), + (lambda: schemas.GLOBAL_TABLE_GLOBAL_SECONDARY_INDEX_SETTINGS_UPDATE_LIST, 0), + (REPLICA_SETTINGS_UPDATE_LIST, 0), + ), +) + +UPDATE_GLOBAL_TABLE_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _UGTSO, + {_smith: None}, + (_GTN, _RSep), + ( + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.REPLICA_SETTINGS_DESCRIPTION_LIST, 0), + ), +) + +UPDATE_GLOBAL_TABLE_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _UGTS, + 0, + UPDATE_GLOBAL_TABLE_SETTINGS_INPUT, + UPDATE_GLOBAL_TABLE_SETTINGS_OUTPUT, + ( + lambda: schemas.GLOBAL_TABLE_NOT_FOUND_EXCEPTION, + lambda: schemas.INDEX_NOT_FOUND_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.REPLICA_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + ), +) + +UPDATE_KINESIS_STREAMING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _UKSC, + 0, + (_ACDTP,), + ((lambda: schemas.APPROXIMATE_CREATION_DATE_TIME_PRECISION, 0),), +) + +UPDATE_KINESIS_STREAMING_DESTINATION_INPUT: StaticSchema = ( + 18, + n0, + _UKSDI, + {_smit: None}, + (_TN, _SA, _UKSC), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.STREAM_ARN, 1), + (UPDATE_KINESIS_STREAMING_CONFIGURATION, 0), + ), +) + +UPDATE_KINESIS_STREAMING_DESTINATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UKSDO, + {_smith: None}, + (_TN, _SA, _DS, _UKSC), + ( + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.STREAM_ARN, 0), + (lambda: schemas.DESTINATION_STATUS, 0), + (UPDATE_KINESIS_STREAMING_CONFIGURATION, 0), + ), +) + +UPDATE_KINESIS_STREAMING_DESTINATION: StaticOperationSchema = ( + 23, + n0, + _UKSD, + 0, + UPDATE_KINESIS_STREAMING_DESTINATION_INPUT, + UPDATE_KINESIS_STREAMING_DESTINATION_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_GLOBAL_SECONDARY_INDEX_ACTION: StaticSchema = ( + 18, + n0, + _UGSIA, + 0, + (_IN, _PT, _ODT, _WT), + ( + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.PROVISIONED_THROUGHPUT, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (lambda: schemas.WARM_THROUGHPUT, 0), + ), +) + +GLOBAL_SECONDARY_INDEX_UPDATE: StaticSchema = ( + 18, + n0, + _GSIU, + 0, + (_U, _Cr, _Del), + ( + (UPDATE_GLOBAL_SECONDARY_INDEX_ACTION, 0), + (lambda: schemas.CREATE_GLOBAL_SECONDARY_INDEX_ACTION, 0), + (lambda: schemas.DELETE_GLOBAL_SECONDARY_INDEX_ACTION, 0), + ), +) + +GLOBAL_SECONDARY_INDEX_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _GSIUL, + 0, + (_m,), + ((GLOBAL_SECONDARY_INDEX_UPDATE, 0),), +) + +GLOBAL_TABLE_WITNESS_GROUP_UPDATE: StaticSchema = ( + 18, + n0, + _GTWGU, + 0, + (_Cr, _Del), + ( + (lambda: schemas.CREATE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION, 0), + (lambda: schemas.DELETE_GLOBAL_TABLE_WITNESS_GROUP_MEMBER_ACTION, 0), + ), +) + +GLOBAL_TABLE_WITNESS_GROUP_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _GTWGUL, + 0, + (_m,), + ((GLOBAL_TABLE_WITNESS_GROUP_UPDATE, 0),), +) + +UPDATE_REPLICATION_GROUP_MEMBER_ACTION: StaticSchema = ( + 18, + n0, + _URGMA, + 0, + (_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO), + ( + (lambda: schemas.REGION_NAME, 1), + (lambda: schemas.KMS_MASTER_KEY_ID, 0), + (lambda: schemas.PROVISIONED_THROUGHPUT_OVERRIDE, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT_OVERRIDE, 0), + (lambda: schemas.REPLICA_GLOBAL_SECONDARY_INDEX_LIST, 0), + (lambda: schemas.TABLE_CLASS, 0), + ), +) + +REPLICATION_GROUP_UPDATE: StaticSchema = ( + 18, + n0, + _RGU, + 0, + (_Cr, _U, _Del, _Dis), + ( + (lambda: schemas.CREATE_REPLICATION_GROUP_MEMBER_ACTION, 0), + (UPDATE_REPLICATION_GROUP_MEMBER_ACTION, 0), + (lambda: schemas.DELETE_REPLICATION_GROUP_MEMBER_ACTION, 0), + (lambda: schemas.DISASSOCIATE_REPLICATION_GROUP_MEMBER_ACTION, 0), + ), +) + +REPLICATION_GROUP_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _RGUL, + 0, + (_m,), + ((REPLICATION_GROUP_UPDATE, 0),), +) + +VECTOR_INDEX_UPDATE: StaticSchema = ( + 18, + n0, + _VIU, + 0, + (_Cr, _Del), + ( + (lambda: schemas.CREATE_VECTOR_INDEX_ACTION, 0), + (lambda: schemas.DELETE_VECTOR_INDEX_ACTION, 0), + ), +) + +VECTOR_INDEX_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _VIUL, + 0, + (_m,), + ((VECTOR_INDEX_UPDATE, 0),), +) + +UPDATE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _UTI, + {_smit: None}, + ( + _ADt, + _TN, + _BM, + _PT, + _GSIUl, + _SS, + _SSESp, + _RUe, + _TCa, + _DPE, + _MRC, + _GTWU, + _ODT, + _WT, + _GTSRM, + _DPEi, + _VIUe, + ), + ( + (lambda: schemas.ATTRIBUTE_DEFINITIONS, 0), + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.BILLING_MODE, 0), + (lambda: schemas.PROVISIONED_THROUGHPUT, 0), + (GLOBAL_SECONDARY_INDEX_UPDATE_LIST, 0), + (lambda: schemas.STREAM_SPECIFICATION, 0), + (lambda: schemas.SSE_SPECIFICATION, 0), + (REPLICATION_GROUP_UPDATE_LIST, 0), + (lambda: schemas.TABLE_CLASS, 0), + (lambda: schemas.DELETION_PROTECTION_ENABLED, 0), + (lambda: schemas.MULTI_REGION_CONSISTENCY, 0), + (GLOBAL_TABLE_WITNESS_GROUP_UPDATE_LIST, 0), + (lambda: schemas.ON_DEMAND_THROUGHPUT, 0), + (lambda: schemas.WARM_THROUGHPUT, 0), + (lambda: schemas.GLOBAL_TABLE_SETTINGS_REPLICATION_MODE, 0), + (lambda: schemas.DISASSOCIATION_PROTECTION_ENABLED, 0), + (VECTOR_INDEX_UPDATE_LIST, 0), + ), +) + +UPDATE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _UTO, + {_smith: None}, + (_TDa,), + ((lambda: schemas.TABLE_DESCRIPTION, 0),), +) + +UPDATE_TABLE: StaticOperationSchema = ( + 23, + n0, + _UT, + 0, + UPDATE_TABLE_INPUT, + UPDATE_TABLE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE: StaticSchema = ( + 18, + n0, + _GSIASU, + 0, + (_IN, _PWCASU), + ( + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_UPDATE, 0), + ), +) + +GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _GSIASUL, + 0, + (_m,), + ((GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE, 0),), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE: StaticSchema = ( + 18, + n0, + _RGSIASU, + 0, + (_IN, _PRCASU), + ( + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_UPDATE, 0), + ), +) + +REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _RGSIASUL, + 0, + (_m,), + ((REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE, 0),), +) + +REPLICA_AUTO_SCALING_UPDATE: StaticSchema = ( + 18, + n0, + _RASU, + 0, + (_RN, _RGSIU, _RPRCASU), + ( + (lambda: schemas.REGION_NAME, 1), + (REPLICA_GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST, 0), + (lambda: schemas.AUTO_SCALING_SETTINGS_UPDATE, 0), + ), +) + +REPLICA_AUTO_SCALING_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _RASUL, + 0, + (_m,), + ((REPLICA_AUTO_SCALING_UPDATE, 0),), +) + +UPDATE_TABLE_REPLICA_AUTO_SCALING_INPUT: StaticSchema = ( + 18, + n0, + _UTRASI, + {_smit: None}, + (_GSIUl, _TN, _PWCASU, _RUe), + ( + (GLOBAL_SECONDARY_INDEX_AUTO_SCALING_UPDATE_LIST, 0), + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.AUTO_SCALING_SETTINGS_UPDATE, 0), + (REPLICA_AUTO_SCALING_UPDATE_LIST, 0), + ), +) + +UPDATE_TABLE_REPLICA_AUTO_SCALING_OUTPUT: StaticSchema = ( + 18, + n0, + _UTRASO, + {_smith: None}, + (_TASD,), + ((lambda: schemas.TABLE_AUTO_SCALING_DESCRIPTION, 0),), +) + +UPDATE_TABLE_REPLICA_AUTO_SCALING: StaticOperationSchema = ( + 23, + n0, + _UTRAS, + 0, + UPDATE_TABLE_REPLICA_AUTO_SCALING_INPUT, + UPDATE_TABLE_REPLICA_AUTO_SCALING_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +TIME_TO_LIVE_ENABLED: StaticSchema = (2, n0, _TTLE, 0) + +TIME_TO_LIVE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _TTLSi, + 0, + (_E, _AN), + ((TIME_TO_LIVE_ENABLED, 1), (lambda: schemas.TIME_TO_LIVE_ATTRIBUTE_NAME, 1)), +) + +UPDATE_TIME_TO_LIVE_INPUT: StaticSchema = ( + 18, + n0, + _UTTLI, + {_smit: None}, + (_TN, _TTLSi), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (TIME_TO_LIVE_SPECIFICATION, 1), + ), +) + +UPDATE_TIME_TO_LIVE_OUTPUT: StaticSchema = ( + 18, + n0, + _UTTLO, + {_smith: None}, + (_TTLSi,), + ((TIME_TO_LIVE_SPECIFICATION, 0),), +) + +UPDATE_TIME_TO_LIVE: StaticOperationSchema = ( + 23, + n0, + _UTTL, + 0, + UPDATE_TIME_TO_LIVE_INPUT, + UPDATE_TIME_TO_LIVE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +ATTRIBUTE_VALUE: StaticSchema = ( + 19, + n0, + _AV, + 0, + (_S, _N, _B, _SS_, _NS, _BS_, _M_, _L_, _NULL, _BOOL), + ( + (lambda: schemas.STRING_ATTRIBUTE_VALUE, 0), + (lambda: schemas.NUMBER_ATTRIBUTE_VALUE, 0), + (lambda: schemas.BINARY_ATTRIBUTE_VALUE, 0), + (lambda: schemas.STRING_SET_ATTRIBUTE_VALUE, 0), + (lambda: schemas.NUMBER_SET_ATTRIBUTE_VALUE, 0), + (lambda: schemas.BINARY_SET_ATTRIBUTE_VALUE, 0), + (lambda: MAP_ATTRIBUTE_VALUE, 0), + (lambda: LIST_ATTRIBUTE_VALUE, 0), + (lambda: schemas.NULL_ATTRIBUTE_VALUE, 0), + (lambda: schemas.BOOLEAN_ATTRIBUTE_VALUE, 0), + ), +) + +LIST_ATTRIBUTE_VALUE: StaticSchema = (16, n0, _LAV, 0, (_m,), ((ATTRIBUTE_VALUE, 0),)) + +MAP_ATTRIBUTE_VALUE: StaticSchema = ( + 17, + n0, + _MAV, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), +) + +ATTRIBUTE_MAP: StaticSchema = ( + 17, + n0, + _AM, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), +) + +ATTRIBUTE_VALUE_LIST: StaticSchema = (16, n0, _AVL, 0, (_m,), ((ATTRIBUTE_VALUE, 0),)) + +ATTRIBUTE_VALUE_UPDATE: StaticSchema = ( + 18, + n0, + _AVU, + 0, + (_V, _Ac), + ((ATTRIBUTE_VALUE, 0), (lambda: schemas.ATTRIBUTE_ACTION, 0)), +) + +EXPRESSION_ATTRIBUTE_VALUE_MAP: StaticSchema = ( + 17, + n0, + _EAVM, + 0, + (_k, _v), + ((lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_VARIABLE, 0), (ATTRIBUTE_VALUE, 0)), +) + +ITEM_COLLECTION_KEY_ATTRIBUTE_MAP: StaticSchema = ( + 17, + n0, + _ICKAM, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), +) + +KEY: StaticSchema = ( + 17, + n0, + _K, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), +) + +PREPARED_STATEMENT_PARAMETERS: StaticSchema = ( + 16, + n0, + _PSP, + 0, + (_m,), + ((ATTRIBUTE_VALUE, 0),), +) + +PUT_ITEM_INPUT_ATTRIBUTE_MAP: StaticSchema = ( + 17, + n0, + _PIIAM, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), +) + +SEARCH_VECTOR_LIST: StaticSchema = (16, n0, _SVL, 0, (_m,), ((ATTRIBUTE_VALUE, 0),)) + +ATTRIBUTE_UPDATES: StaticSchema = ( + 17, + n0, + _AU, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE_UPDATE, 0)), +) + +BATCH_STATEMENT_ERROR: StaticSchema = ( + 18, + n0, + _BSE, + 0, + (_Co, _M, _It), + ( + (lambda: schemas.BATCH_STATEMENT_ERROR_CODE_ENUM, 0), + (lambda: schemas.STRING, 0), + (ATTRIBUTE_MAP, 0), + ), +) + +BATCH_STATEMENT_REQUEST: StaticSchema = ( + 18, + n0, + _BSR, + 0, + (_Stat, _Pa, _CR, _RVOCCF), + ( + (lambda: schemas.PARTI_QL_STATEMENT, 1), + (PREPARED_STATEMENT_PARAMETERS, 0), + (lambda: schemas.CONSISTENT_READ, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +CANCELLATION_REASON: StaticSchema = ( + 18, + n0, + _CRa, + 0, + (_It, _Co, _M), + ((ATTRIBUTE_MAP, 0), (lambda: schemas.CODE, 0), (lambda: schemas.ERROR_MESSAGE, 0)), +) + +CONDITION: StaticSchema = ( + 18, + n0, + _Con, + 0, + (_AVL, _CO), + ((ATTRIBUTE_VALUE_LIST, 0), (lambda: schemas.COMPARISON_OPERATOR, 1)), +) + +CONDITIONAL_CHECK_FAILED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CCFE, + {_sm: _c}, + (_me, _It), + ((lambda: schemas.ERROR_MESSAGE, 0), (ATTRIBUTE_MAP, 0)), +) + +DELETE_REQUEST: StaticSchema = (18, n0, _DR, 0, (_K,), ((KEY, 1),)) + +EXECUTE_STATEMENT_INPUT: StaticSchema = ( + 18, + n0, + _ESI, + {_smit: None}, + (_Stat, _Pa, _CR, _NT, _RCC, _Li, _RVOCCF), + ( + (lambda: schemas.PARTI_QL_STATEMENT, 1), + (PREPARED_STATEMENT_PARAMETERS, 0), + (lambda: schemas.CONSISTENT_READ, 0), + (lambda: schemas.PARTI_QL_NEXT_TOKEN, 0), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.POSITIVE_INTEGER_OBJECT, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +EXECUTE_STATEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _ESO, + {_smith: None}, + (_Ite, _NT, _CC, _LEK), + ( + (lambda: ITEM_LIST, 0), + (lambda: schemas.PARTI_QL_NEXT_TOKEN, 0), + (lambda: schemas.CONSUMED_CAPACITY, 0), + (KEY, 0), + ), +) + +EXECUTE_STATEMENT: StaticOperationSchema = ( + 23, + n0, + _ESxe, + 0, + EXECUTE_STATEMENT_INPUT, + EXECUTE_STATEMENT_OUTPUT, + ( + CONDITIONAL_CHECK_FAILED_EXCEPTION, + lambda: schemas.DUPLICATE_ITEM_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + TRANSACTION_CONFLICT_EXCEPTION, + ), +) + +FILTER_SPECIFICATION: StaticSchema = ( + 18, + n0, + _FS, + 0, + (_FEi, _PE, _KCE, _EAN, _EAV), + ( + (lambda: schemas.CONDITION_EXPRESSION, 0), + (lambda: schemas.PROJECTION_EXPRESSION, 0), + (KEY_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + ), +) + +GET: StaticSchema = ( + 18, + n0, + _G, + 0, + (_K, _TN, _PE, _EAN), + ( + (KEY, 1), + (lambda: schemas.TABLE_ARN, 1), + (lambda: schemas.PROJECTION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + ), +) + +GET_ITEM_INPUT: StaticSchema = ( + 18, + n0, + _GII, + {_smit: None}, + (_TN, _K, _ATG, _CR, _RCC, _PE, _EAN), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (KEY, 1), + (lambda: schemas.ATTRIBUTE_NAME_LIST, 0), + (lambda: schemas.CONSISTENT_READ, 0), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.PROJECTION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + ), +) + +GET_ITEM_OUTPUT: StaticSchema = ( + 18, + n0, + _GIO, + {_smith: None}, + (_It, _CC), + ((ATTRIBUTE_MAP, 0), (lambda: schemas.CONSUMED_CAPACITY, 0)), +) + +GET_ITEM: StaticOperationSchema = ( + 23, + n0, + _GI, + 0, + GET_ITEM_INPUT, + GET_ITEM_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +ITEM_COLLECTION_METRICS: StaticSchema = ( + 18, + n0, + _ICM, + 0, + (_ICK, _SERGB), + ( + (ITEM_COLLECTION_KEY_ATTRIBUTE_MAP, 0), + (lambda: schemas.ITEM_COLLECTION_SIZE_ESTIMATE_RANGE, 0), + ), +) + +ITEM_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((ATTRIBUTE_MAP, 0),)) + +ITEM_RESPONSE: StaticSchema = (18, n0, _IR, 0, (_It,), ((ATTRIBUTE_MAP, 0),)) + +KEY_LIST: StaticSchema = (16, n0, _KL, 0, (_m,), ((KEY, 0),)) + +PARAMETERIZED_STATEMENT: StaticSchema = ( + 18, + n0, + _PSa, + 0, + (_Stat, _Pa, _RVOCCF), + ( + (lambda: schemas.PARTI_QL_STATEMENT, 1), + (PREPARED_STATEMENT_PARAMETERS, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +PUT_REQUEST: StaticSchema = ( + 18, + n0, + _PR, + 0, + (_It,), + ((PUT_ITEM_INPUT_ATTRIBUTE_MAP, 1),), +) + +SEARCH_RESULT_ITEM: StaticSchema = ( + 18, + n0, + _SRI, + 0, + (_It, _Sc), + ((ATTRIBUTE_MAP, 0), (lambda: schemas.SCORE_NUMBER, {_smi: 0})), +) + +BATCH_GET_RESPONSE_MAP: StaticSchema = ( + 17, + n0, + _BGRM, + 0, + (_k, _v), + ((lambda: schemas.TABLE_ARN, 0), (ITEM_LIST, 0)), +) + +CANCELLATION_REASON_LIST: StaticSchema = ( + 16, + n0, + _CRL, + 0, + (_m,), + ((CANCELLATION_REASON, 0),), +) + +EXPORT_DESCRIPTION: StaticSchema = ( + 18, + n0, + _EDx, + 0, + ( + _EA, + _ES, + _ST, + _ET, + _EMx, + _TA, + _TI, + _ETx, + _CT, + _SB, + _SBO, + _SPr, + _SSA, + _SSKKI, + _FC, + _FM, + _EF, + _BSBi, + _IC, + _ETxp, + _IES, + _FS, + ), + ( + (lambda: schemas.EXPORT_ARN, 0), + (lambda: schemas.EXPORT_STATUS, 0), + (lambda: schemas.EXPORT_START_TIME, 0), + (lambda: schemas.EXPORT_END_TIME, 0), + (lambda: schemas.EXPORT_MANIFEST, 0), + (lambda: schemas.TABLE_ARN, 0), + (lambda: schemas.TABLE_ID, 0), + (lambda: schemas.EXPORT_TIME, 0), + (lambda: schemas.CLIENT_TOKEN, 0), + (lambda: schemas.S3_BUCKET, 0), + (lambda: schemas.S3_BUCKET_OWNER, 0), + (lambda: schemas.S3_PREFIX, 0), + (lambda: schemas.S3_SSE_ALGORITHM, 0), + (lambda: schemas.S3_SSE_KMS_KEY_ID, 0), + (lambda: schemas.FAILURE_CODE, 0), + (lambda: schemas.FAILURE_MESSAGE, 0), + (lambda: schemas.EXPORT_FORMAT, 0), + (lambda: schemas.BILLED_SIZE_BYTES, 0), + (lambda: schemas.ITEM_COUNT, 0), + (lambda: schemas.EXPORT_TYPE, 0), + (lambda: schemas.INCREMENTAL_EXPORT_SPECIFICATION, 0), + (FILTER_SPECIFICATION, 0), + ), +) diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_6.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_6.py new file mode 100644 index 000000000..3009f1c35 --- /dev/null +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/_private/schemas_6.py @@ -0,0 +1,1147 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.dynamodb" +_s = "smithy.api#required" +_m = "member" +_TA = "TableArn" +_TN = "TableName" +_IN = "IndexName" +_sm = "smithy.api#error" +_c = "client" +_RCC = "ReturnConsumedCapacity" +_CR = "ConsistentRead" +_RVOCCF = "ReturnValuesOnConditionCheckFailure" +_k = "key" +_v = "value" +_CC = "ConsumedCapacity" +_PE = "ProjectionExpression" +_M = "Message" +_RICM = "ReturnItemCollectionMetrics" +_CT = "ClientToken" +_smi = "smithy.api#default" +_SB = "S3Bucket" +_SBO = "S3BucketOwner" +_SPr = "S3Prefix" +_SSA = "S3SseAlgorithm" +_SSKKI = "S3SseKmsKeyId" +_smit = "smithy.api#input" +_sP = "smithy.rules#contextParam" +_smith = "smithy.api#output" +_CRT = "ClientRequestToken" +_CO = "ComparisonOperator" +_COo = "ConditionalOperator" +_CE = "ConditionExpression" +_K = "Key" +_V = "Value" +_EF = "ExportFormat" +_ETx = "ExportTime" +_ETxp = "ExportType" +_IES = "IncrementalExportSpecification" +_sT = "smithy.api#idempotencyToken" +_sCP = "smithy.rules#operationContextParams" +_Li = "Limit" +_Se = "Select" +_UE = "UpdateExpression" +_Del = "Delete" +_U = "Update" +_AVL = "AttributeValueList" +_AU = "AttributeUpdates" +_It = "Item" +_DR = "DeleteRequest" +_FS = "FilterSpecification" +_FEi = "FilterExpression" +_KCE = "KeyConditionExpression" +_EAN = "ExpressionAttributeNames" +_EAV = "ExpressionAttributeValues" +_G = "Get" +_ATG = "AttributesToGet" +_ICM = "ItemCollectionMetrics" +_PR = "PutRequest" +_EDx = "ExportDescription" +_ETTPITI = "ExportTableToPointInTimeInput" +_FCM = "FilterConditionMap" +_ICMM = "ItemCollectionMetricsMultiple" +_IRL = "ItemResponseList" +_KC = "KeyConditions" +_KAA = "KeysAndAttributes" +_Ke = "Keys" +_PSar = "ParameterizedStatements" +_PQLBR = "PartiQLBatchRequest" +_SRL = "SearchResultList" +_TGI = "TransactGetItem" +_BESI = "BatchExecuteStatementInput" +_State = "Statements" +_BGRMa = "BatchGetRequestMap" +_ETI = "ExecuteTransactionInput" +_TSr = "TransactStatements" +_ETO = "ExecuteTransactionOutput" +_Res = "Responses" +_ETTPITO = "ExportTableToPointInTimeOutput" +_ICMPT = "ItemCollectionMetricsPerTable" +_SVO = "SearchVectorsOutput" +_SR = "SearchResults" +_TGIL = "TransactGetItemList" +_TGIO = "TransactGetItemsOutput" +_TCEr = "TransactionCanceledException" +_CRan = "CancellationReasons" +_BGII = "BatchGetItemInput" +_RIe = "RequestItems" +_EAVx = "ExpectedAttributeValue" +_Ex = "Exists" +_TGII = "TransactGetItemsInput" +_TIr = "TransactItems" +_TWIO = "TransactWriteItemsOutput" +_CCo = "ConditionCheck" +_Pu = "Put" +_SVI = "SearchVectorsInput" +_SV = "SearchVector" +_SCE = "SearchConditionExpression" +_TKo = "TopK" +_BSRa = "BatchStatementResponse" +_Er = "Error" +_DIOe = "DeleteItemOutput" +_At = "Attributes" +_Ite = "Items" +_LEK = "LastEvaluatedKey" +_EAM = "ExpectedAttributeMap" +_PIOu = "PutItemOutput" +_QO = "QueryOutput" +_Cou = "Count" +_SC = "ScannedCount" +_SO = "ScanOutput" +_UIO = "UpdateItemOutput" +_WR = "WriteRequest" +_PQLBRa = "PartiQLBatchResponse" +_ETTPIT = "ExportTableToPointInTime" +_WRr = "WriteRequests" +_BESO = "BatchExecuteStatementOutput" +_BGIO = "BatchGetItemOutput" +_UK = "UnprocessedKeys" +_BWIRM = "BatchWriteItemRequestMap" +_SI = "ScanInput" +_SF = "ScanFilter" +_ESK = "ExclusiveStartKey" +_TSo = "TotalSegments" +_Seg = "Segment" +_SVe = "SearchVectors" +_sCPm = "smithy.rules#staticContextParams" +_BWII = "BatchWriteItemInput" +_DIIe = "DeleteItemInput" +_Exp = "Expected" +_RVe = "ReturnValues" +_PII = "PutItemInput" +_ETxe = "ExecuteTransaction" +_QI = "QueryInput" +_QF = "QueryFilter" +_SIF = "ScanIndexForward" +_BES = "BatchExecuteStatement" +_TGIr = "TransactGetItems" +_BGI = "BatchGetItem" +_BWIO = "BatchWriteItemOutput" +_UI = "UnprocessedItems" +_UII = "UpdateItemInput" +_Sca = "Scan" +_Q = "Query" +_DIel = "DeleteItem" +_PI = "PutItem" +_TWI = "TransactWriteItem" +_UIp = "UpdateItem" +_BWI = "BatchWriteItem" +_TWIL = "TransactWriteItemList" +_TWII = "TransactWriteItemsInput" +_TWIr = "TransactWriteItems" +_D_ = "DynamoDB_20120810" +_a = "aws.auth#sigv4" +_a_ = "aws.protocols#awsJson1_0" +_aw = "aws.api#service" +_sN = "smithy.api#xmlNamespace" + +EXPORT_TABLE_TO_POINT_IN_TIME_INPUT: StaticSchema = ( + 18, + n0, + _ETTPITI, + {_smit: None}, + (_TA, _ETx, _CT, _SB, _SBO, _SPr, _SSA, _SSKKI, _EF, _ETxp, _IES, _FS), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.EXPORT_TIME, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.S3_BUCKET, 1), + (lambda: schemas.S3_BUCKET_OWNER, 0), + (lambda: schemas.S3_PREFIX, 0), + (lambda: schemas.S3_SSE_ALGORITHM, 0), + (lambda: schemas.S3_SSE_KMS_KEY_ID, 0), + (lambda: schemas.EXPORT_FORMAT, 0), + (lambda: schemas.EXPORT_TYPE, 0), + (lambda: schemas.INCREMENTAL_EXPORT_SPECIFICATION, 0), + (lambda: schemas.FILTER_SPECIFICATION, 0), + ), +) + +EXPORT_TABLE_TO_POINT_IN_TIME_OUTPUT: StaticSchema = ( + 18, + n0, + _ETTPITO, + {_smith: None}, + (_EDx,), + ((lambda: schemas.EXPORT_DESCRIPTION, 0),), +) + +EXPORT_TABLE_TO_POINT_IN_TIME: StaticOperationSchema = ( + 23, + n0, + _ETTPIT, + 0, + EXPORT_TABLE_TO_POINT_IN_TIME_INPUT, + EXPORT_TABLE_TO_POINT_IN_TIME_OUTPUT, + ( + lambda: schemas.EXPORT_CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_EXPORT_TIME_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.POINT_IN_TIME_RECOVERY_UNAVAILABLE_EXCEPTION, + lambda: schemas.TABLE_NOT_FOUND_EXCEPTION, + ), +) + +FILTER_CONDITION_MAP: StaticSchema = ( + 17, + n0, + _FCM, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (lambda: schemas.CONDITION, 0)), +) + +ITEM_COLLECTION_METRICS_MULTIPLE: StaticSchema = ( + 16, + n0, + _ICMM, + 0, + (_m,), + ((lambda: schemas.ITEM_COLLECTION_METRICS, 0),), +) + +ITEM_RESPONSE_LIST: StaticSchema = ( + 16, + n0, + _IRL, + 0, + (_m,), + ((lambda: schemas.ITEM_RESPONSE, 0),), +) + +KEY_CONDITIONS: StaticSchema = ( + 17, + n0, + _KC, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (lambda: schemas.CONDITION, 0)), +) + +KEYS_AND_ATTRIBUTES: StaticSchema = ( + 18, + n0, + _KAA, + 0, + (_Ke, _ATG, _CR, _PE, _EAN), + ( + (lambda: schemas.KEY_LIST, 1), + (lambda: schemas.ATTRIBUTE_NAME_LIST, 0), + (lambda: schemas.CONSISTENT_READ, 0), + (lambda: schemas.PROJECTION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + ), +) + +PARAMETERIZED_STATEMENTS: StaticSchema = ( + 16, + n0, + _PSar, + 0, + (_m,), + ((lambda: schemas.PARAMETERIZED_STATEMENT, 0),), +) + +PARTI_QL_BATCH_REQUEST: StaticSchema = ( + 16, + n0, + _PQLBR, + 0, + (_m,), + ((lambda: schemas.BATCH_STATEMENT_REQUEST, 0),), +) + +SEARCH_RESULT_LIST: StaticSchema = ( + 16, + n0, + _SRL, + 0, + (_m,), + ((lambda: schemas.SEARCH_RESULT_ITEM, 0),), +) + +TRANSACT_GET_ITEM: StaticSchema = (18, n0, _TGI, 0, (_G,), ((lambda: schemas.GET, 1),)) + +BATCH_EXECUTE_STATEMENT_INPUT: StaticSchema = ( + 18, + n0, + _BESI, + {_smit: None}, + (_State, _RCC), + ((PARTI_QL_BATCH_REQUEST, 1), (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0)), +) + +BATCH_EXECUTE_STATEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _BESO, + {_smith: None}, + (_Res, _CC), + ( + (lambda: PARTI_QL_BATCH_RESPONSE, 0), + (lambda: schemas.CONSUMED_CAPACITY_MULTIPLE, 0), + ), +) + +BATCH_EXECUTE_STATEMENT: StaticOperationSchema = ( + 23, + n0, + _BES, + 0, + BATCH_EXECUTE_STATEMENT_INPUT, + BATCH_EXECUTE_STATEMENT_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +BATCH_GET_REQUEST_MAP: StaticSchema = ( + 17, + n0, + _BGRMa, + 0, + (_k, _v), + ((lambda: schemas.TABLE_ARN, 0), (KEYS_AND_ATTRIBUTES, 0)), +) + +EXECUTE_TRANSACTION_INPUT: StaticSchema = ( + 18, + n0, + _ETI, + {_smit: None}, + (_TSr, _CRT, _RCC), + ( + (PARAMETERIZED_STATEMENTS, 1), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 2), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + ), +) + +EXECUTE_TRANSACTION_OUTPUT: StaticSchema = ( + 18, + n0, + _ETO, + {_smith: None}, + (_Res, _CC), + ((ITEM_RESPONSE_LIST, 0), (lambda: schemas.CONSUMED_CAPACITY_MULTIPLE, 0)), +) + +EXECUTE_TRANSACTION: StaticOperationSchema = ( + 23, + n0, + _ETxe, + 0, + EXECUTE_TRANSACTION_INPUT, + EXECUTE_TRANSACTION_OUTPUT, + ( + lambda: schemas.IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: TRANSACTION_CANCELED_EXCEPTION, + lambda: schemas.TRANSACTION_IN_PROGRESS_EXCEPTION, + ), +) + +ITEM_COLLECTION_METRICS_PER_TABLE: StaticSchema = ( + 17, + n0, + _ICMPT, + 0, + (_k, _v), + ((lambda: schemas.TABLE_ARN, 0), (ITEM_COLLECTION_METRICS_MULTIPLE, 0)), +) + +SEARCH_VECTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _SVO, + {_smith: None}, + (_CC, _SR), + ((lambda: schemas.VECTOR_CAPACITY, 0), (SEARCH_RESULT_LIST, 0)), +) + +SEARCH_VECTORS_INPUT: StaticSchema = ( + 18, + n0, + _SVI, + {_smit: None}, + (_TN, _IN, _RCC, _EAN, _EAV, _PE, _SV, _SCE, _TKo), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.INDEX_NAME, 1), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + (lambda: schemas.PROJECTION_EXPRESSION, 0), + (lambda: schemas.SEARCH_VECTOR_LIST, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TOP_K_INTEGER, 1), + ), +) + +SEARCH_VECTORS: StaticOperationSchema = ( + 23, + n0, + _SVe, + {_sCPm: MappingProxyType({"IsSearchOperation": MappingProxyType({"value": True})})}, + SEARCH_VECTORS_INPUT, + SEARCH_VECTORS_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +TRANSACT_GET_ITEM_LIST: StaticSchema = ( + 16, + n0, + _TGIL, + 0, + (_m,), + ((TRANSACT_GET_ITEM, 0),), +) + +TRANSACT_GET_ITEMS_OUTPUT: StaticSchema = ( + 18, + n0, + _TGIO, + {_smith: None}, + (_CC, _Res), + ((lambda: schemas.CONSUMED_CAPACITY_MULTIPLE, 0), (ITEM_RESPONSE_LIST, 0)), +) + +TRANSACT_GET_ITEMS_INPUT: StaticSchema = ( + 18, + n0, + _TGII, + {_smit: None}, + (_TIr, _RCC), + ((TRANSACT_GET_ITEM_LIST, 1), (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0)), +) + +TRANSACT_GET_ITEMS: StaticOperationSchema = ( + 23, + n0, + _TGIr, + { + _sCP: MappingProxyType( + { + "ResourceArnList": MappingProxyType( + {"path": "TransactItems[*].Get.TableName"} + ) + } + ) + }, + TRANSACT_GET_ITEMS_INPUT, + TRANSACT_GET_ITEMS_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: TRANSACTION_CANCELED_EXCEPTION, + ), +) + +TRANSACTION_CANCELED_EXCEPTION: StaticSchema = ( + 18, + n0, + _TCEr, + {_sm: _c}, + (_M, _CRan), + ((lambda: schemas.ERROR_MESSAGE, 0), (lambda: schemas.CANCELLATION_REASON_LIST, 0)), +) + +BATCH_GET_ITEM_INPUT: StaticSchema = ( + 18, + n0, + _BGII, + {_smit: None}, + (_RIe, _RCC), + ((BATCH_GET_REQUEST_MAP, 1), (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0)), +) + +BATCH_GET_ITEM_OUTPUT: StaticSchema = ( + 18, + n0, + _BGIO, + {_smith: None}, + (_Res, _UK, _CC), + ( + (lambda: schemas.BATCH_GET_RESPONSE_MAP, 0), + (BATCH_GET_REQUEST_MAP, 0), + (lambda: schemas.CONSUMED_CAPACITY_MULTIPLE, 0), + ), +) + +BATCH_GET_ITEM: StaticOperationSchema = ( + 23, + n0, + _BGI, + { + _sCP: MappingProxyType( + {"ResourceArnList": MappingProxyType({"path": "keys(RequestItems)"})} + ) + }, + BATCH_GET_ITEM_INPUT, + BATCH_GET_ITEM_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +EXPECTED_ATTRIBUTE_VALUE: StaticSchema = ( + 18, + n0, + _EAVx, + 0, + (_V, _Ex, _CO, _AVL), + ( + (lambda: schemas.ATTRIBUTE_VALUE, 0), + (lambda: schemas.BOOLEAN_OBJECT, 0), + (lambda: schemas.COMPARISON_OPERATOR, 0), + (lambda: schemas.ATTRIBUTE_VALUE_LIST, 0), + ), +) + +TRANSACT_WRITE_ITEMS_OUTPUT: StaticSchema = ( + 18, + n0, + _TWIO, + {_smith: None}, + (_CC, _ICM), + ( + (lambda: schemas.CONSUMED_CAPACITY_MULTIPLE, 0), + (ITEM_COLLECTION_METRICS_PER_TABLE, 0), + ), +) + +TRANSACT_WRITE_ITEMS_INPUT: StaticSchema = ( + 18, + n0, + _TWII, + {_smit: None}, + (_TIr, _RCC, _RICM, _CRT), + ( + (lambda: TRANSACT_WRITE_ITEM_LIST, 1), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.RETURN_ITEM_COLLECTION_METRICS, 0), + (lambda: schemas.CLIENT_REQUEST_TOKEN, 2), + ), +) + +TRANSACT_WRITE_ITEMS: StaticOperationSchema = ( + 23, + n0, + _TWIr, + { + _sCP: MappingProxyType( + { + "ResourceArnList": MappingProxyType( + { + "path": "TransactItems[*].[ConditionCheck.TableName, Put.TableName, Delete.TableName, Update.TableName][]" + } + ) + } + ) + }, + TRANSACT_WRITE_ITEMS_INPUT, + TRANSACT_WRITE_ITEMS_OUTPUT, + ( + lambda: schemas.IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + TRANSACTION_CANCELED_EXCEPTION, + lambda: schemas.TRANSACTION_IN_PROGRESS_EXCEPTION, + ), +) + +CONDITION_CHECK: StaticSchema = ( + 18, + n0, + _CCo, + 0, + (_K, _TN, _CE, _EAN, _EAV, _RVOCCF), + ( + (lambda: schemas.KEY, 1), + (lambda: schemas.TABLE_ARN, 1), + (lambda: schemas.CONDITION_EXPRESSION, 1), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +DELETE: StaticSchema = ( + 18, + n0, + _Del, + 0, + (_K, _TN, _CE, _EAN, _EAV, _RVOCCF), + ( + (lambda: schemas.KEY, 1), + (lambda: schemas.TABLE_ARN, 1), + (lambda: schemas.CONDITION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +PUT: StaticSchema = ( + 18, + n0, + _Pu, + 0, + (_It, _TN, _CE, _EAN, _EAV, _RVOCCF), + ( + (lambda: schemas.PUT_ITEM_INPUT_ATTRIBUTE_MAP, 1), + (lambda: schemas.TABLE_ARN, 1), + (lambda: schemas.CONDITION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +UPDATE: StaticSchema = ( + 18, + n0, + _U, + 0, + (_K, _UE, _TN, _CE, _EAN, _EAV, _RVOCCF), + ( + (lambda: schemas.KEY, 1), + (lambda: schemas.UPDATE_EXPRESSION, 1), + (lambda: schemas.TABLE_ARN, 1), + (lambda: schemas.CONDITION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +BATCH_STATEMENT_RESPONSE: StaticSchema = ( + 18, + n0, + _BSRa, + 0, + (_Er, _TN, _It), + ( + (lambda: schemas.BATCH_STATEMENT_ERROR, 0), + (lambda: schemas.TABLE_NAME, 0), + (lambda: schemas.ATTRIBUTE_MAP, 0), + ), +) + +DELETE_ITEM_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOe, + {_smith: None}, + (_At, _CC, _ICM), + ( + (lambda: schemas.ATTRIBUTE_MAP, 0), + (lambda: schemas.CONSUMED_CAPACITY, 0), + (lambda: schemas.ITEM_COLLECTION_METRICS, 0), + ), +) + +DELETE_ITEM_INPUT: StaticSchema = ( + 18, + n0, + _DIIe, + {_smit: None}, + (_TN, _K, _Exp, _COo, _RVe, _RCC, _RICM, _CE, _EAN, _EAV, _RVOCCF), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.KEY, 1), + (lambda: EXPECTED_ATTRIBUTE_MAP, 0), + (lambda: schemas.CONDITIONAL_OPERATOR, 0), + (lambda: schemas.RETURN_VALUE, 0), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.RETURN_ITEM_COLLECTION_METRICS, 0), + (lambda: schemas.CONDITION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +DELETE_ITEM: StaticOperationSchema = ( + 23, + n0, + _DIel, + 0, + DELETE_ITEM_INPUT, + DELETE_ITEM_OUTPUT, + ( + lambda: schemas.CONDITIONAL_CHECK_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REPLICATED_WRITE_CONFLICT_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRANSACTION_CONFLICT_EXCEPTION, + ), +) + +EXPECTED_ATTRIBUTE_MAP: StaticSchema = ( + 17, + n0, + _EAM, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (EXPECTED_ATTRIBUTE_VALUE, 0)), +) + +PUT_ITEM_OUTPUT: StaticSchema = ( + 18, + n0, + _PIOu, + {_smith: None}, + (_At, _CC, _ICM), + ( + (lambda: schemas.ATTRIBUTE_MAP, 0), + (lambda: schemas.CONSUMED_CAPACITY, 0), + (lambda: schemas.ITEM_COLLECTION_METRICS, 0), + ), +) + +PUT_ITEM_INPUT: StaticSchema = ( + 18, + n0, + _PII, + {_smit: None}, + (_TN, _It, _Exp, _RVe, _RCC, _RICM, _COo, _CE, _EAN, _EAV, _RVOCCF), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.PUT_ITEM_INPUT_ATTRIBUTE_MAP, 1), + (EXPECTED_ATTRIBUTE_MAP, 0), + (lambda: schemas.RETURN_VALUE, 0), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.RETURN_ITEM_COLLECTION_METRICS, 0), + (lambda: schemas.CONDITIONAL_OPERATOR, 0), + (lambda: schemas.CONDITION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +PUT_ITEM: StaticOperationSchema = ( + 23, + n0, + _PI, + 0, + PUT_ITEM_INPUT, + PUT_ITEM_OUTPUT, + ( + lambda: schemas.CONDITIONAL_CHECK_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REPLICATED_WRITE_CONFLICT_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRANSACTION_CONFLICT_EXCEPTION, + ), +) + +QUERY_OUTPUT: StaticSchema = ( + 18, + n0, + _QO, + {_smith: None}, + (_Ite, _Cou, _SC, _LEK, _CC), + ( + (lambda: schemas.ITEM_LIST, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.KEY, 0), + (lambda: schemas.CONSUMED_CAPACITY, 0), + ), +) + +QUERY_INPUT: StaticSchema = ( + 18, + n0, + _QI, + {_smit: None}, + ( + _TN, + _IN, + _Se, + _ATG, + _Li, + _CR, + _KC, + _QF, + _COo, + _SIF, + _ESK, + _RCC, + _PE, + _FEi, + _KCE, + _EAN, + _EAV, + ), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.SELECT, 0), + (lambda: schemas.ATTRIBUTE_NAME_LIST, 0), + (lambda: schemas.POSITIVE_INTEGER_OBJECT, 0), + (lambda: schemas.CONSISTENT_READ, 0), + (KEY_CONDITIONS, 0), + (FILTER_CONDITION_MAP, 0), + (lambda: schemas.CONDITIONAL_OPERATOR, 0), + (lambda: schemas.BOOLEAN_OBJECT, 0), + (lambda: schemas.KEY, 0), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.PROJECTION_EXPRESSION, 0), + (lambda: schemas.CONDITION_EXPRESSION, 0), + (lambda: schemas.KEY_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + ), +) + +QUERY: StaticOperationSchema = ( + 23, + n0, + _Q, + 0, + QUERY_INPUT, + QUERY_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +SCAN_OUTPUT: StaticSchema = ( + 18, + n0, + _SO, + {_smith: None}, + (_Ite, _Cou, _SC, _LEK, _CC), + ( + (lambda: schemas.ITEM_LIST, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.KEY, 0), + (lambda: schemas.CONSUMED_CAPACITY, 0), + ), +) + +SCAN_INPUT: StaticSchema = ( + 18, + n0, + _SI, + {_smit: None}, + ( + _TN, + _IN, + _ATG, + _Li, + _Se, + _SF, + _COo, + _ESK, + _RCC, + _TSo, + _Seg, + _PE, + _FEi, + _EAN, + _EAV, + _CR, + ), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.ATTRIBUTE_NAME_LIST, 0), + (lambda: schemas.POSITIVE_INTEGER_OBJECT, 0), + (lambda: schemas.SELECT, 0), + (FILTER_CONDITION_MAP, 0), + (lambda: schemas.CONDITIONAL_OPERATOR, 0), + (lambda: schemas.KEY, 0), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.SCAN_TOTAL_SEGMENTS, 0), + (lambda: schemas.SCAN_SEGMENT, 0), + (lambda: schemas.PROJECTION_EXPRESSION, 0), + (lambda: schemas.CONDITION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + (lambda: schemas.CONSISTENT_READ, 0), + ), +) + +SCAN: StaticOperationSchema = ( + 23, + n0, + _Sca, + 0, + SCAN_INPUT, + SCAN_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +UPDATE_ITEM_OUTPUT: StaticSchema = ( + 18, + n0, + _UIO, + {_smith: None}, + (_At, _CC, _ICM), + ( + (lambda: schemas.ATTRIBUTE_MAP, 0), + (lambda: schemas.CONSUMED_CAPACITY, 0), + (lambda: schemas.ITEM_COLLECTION_METRICS, 0), + ), +) + +UPDATE_ITEM_INPUT: StaticSchema = ( + 18, + n0, + _UII, + {_smit: None}, + (_TN, _K, _AU, _Exp, _COo, _RVe, _RCC, _RICM, _UE, _CE, _EAN, _EAV, _RVOCCF), + ( + ( + lambda: schemas.TABLE_ARN, + {_sP: MappingProxyType({"name": "ResourceArn"}), _s: None}, + ), + (lambda: schemas.KEY, 1), + (lambda: schemas.ATTRIBUTE_UPDATES, 0), + (EXPECTED_ATTRIBUTE_MAP, 0), + (lambda: schemas.CONDITIONAL_OPERATOR, 0), + (lambda: schemas.RETURN_VALUE, 0), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.RETURN_ITEM_COLLECTION_METRICS, 0), + (lambda: schemas.UPDATE_EXPRESSION, 0), + (lambda: schemas.CONDITION_EXPRESSION, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_NAME_MAP, 0), + (lambda: schemas.EXPRESSION_ATTRIBUTE_VALUE_MAP, 0), + (lambda: schemas.RETURN_VALUES_ON_CONDITION_CHECK_FAILURE, 0), + ), +) + +UPDATE_ITEM: StaticOperationSchema = ( + 23, + n0, + _UIp, + 0, + UPDATE_ITEM_INPUT, + UPDATE_ITEM_OUTPUT, + ( + lambda: schemas.CONDITIONAL_CHECK_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REPLICATED_WRITE_CONFLICT_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.TRANSACTION_CONFLICT_EXCEPTION, + ), +) + +WRITE_REQUEST: StaticSchema = ( + 18, + n0, + _WR, + 0, + (_PR, _DR), + ((lambda: schemas.PUT_REQUEST, 0), (lambda: schemas.DELETE_REQUEST, 0)), +) + +PARTI_QL_BATCH_RESPONSE: StaticSchema = ( + 16, + n0, + _PQLBRa, + 0, + (_m,), + ((BATCH_STATEMENT_RESPONSE, 0),), +) + +WRITE_REQUESTS: StaticSchema = (16, n0, _WRr, 0, (_m,), ((WRITE_REQUEST, 0),)) + +BATCH_WRITE_ITEM_REQUEST_MAP: StaticSchema = ( + 17, + n0, + _BWIRM, + 0, + (_k, _v), + ((lambda: schemas.TABLE_ARN, 0), (WRITE_REQUESTS, 0)), +) + +BATCH_WRITE_ITEM_INPUT: StaticSchema = ( + 18, + n0, + _BWII, + {_smit: None}, + (_RIe, _RCC, _RICM), + ( + (BATCH_WRITE_ITEM_REQUEST_MAP, 1), + (lambda: schemas.RETURN_CONSUMED_CAPACITY, 0), + (lambda: schemas.RETURN_ITEM_COLLECTION_METRICS, 0), + ), +) + +BATCH_WRITE_ITEM_OUTPUT: StaticSchema = ( + 18, + n0, + _BWIO, + {_smith: None}, + (_UI, _ICM, _CC), + ( + (BATCH_WRITE_ITEM_REQUEST_MAP, 0), + (ITEM_COLLECTION_METRICS_PER_TABLE, 0), + (lambda: schemas.CONSUMED_CAPACITY_MULTIPLE, 0), + ), +) + +BATCH_WRITE_ITEM: StaticOperationSchema = ( + 23, + n0, + _BWI, + { + _sCP: MappingProxyType( + {"ResourceArnList": MappingProxyType({"path": "keys(RequestItems)"})} + ) + }, + BATCH_WRITE_ITEM_INPUT, + BATCH_WRITE_ITEM_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVER_ERROR, + lambda: schemas.INVALID_ENDPOINT_EXCEPTION, + lambda: schemas.ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.REPLICATED_WRITE_CONFLICT_EXCEPTION, + lambda: schemas.REQUEST_LIMIT_EXCEEDED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + ), +) + +TRANSACT_WRITE_ITEM: StaticSchema = ( + 18, + n0, + _TWI, + 0, + (_CCo, _Pu, _Del, _U), + ((CONDITION_CHECK, 0), (PUT, 0), (DELETE, 0), (UPDATE, 0)), +) + +TRANSACT_WRITE_ITEM_LIST: StaticSchema = ( + 16, + n0, + _TWIL, + 0, + (_m,), + ((TRANSACT_WRITE_ITEM, 0),), +) + +DYNAMO_DB_20120810: StaticSchema = ( + 21, + n0, + _D_, + { + _a: MappingProxyType({"name": "dynamodb"}), + _a_: None, + _aw: MappingProxyType( + { + "sdkId": "DynamoDB", + "arnNamespace": "dynamodb", + "cloudFormationName": "DynamoDB", + "cloudTrailEventSource": "dynamodb.amazonaws.com", + "endpointPrefix": "dynamodb", + } + ), + _sN: MappingProxyType({"uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/"}), + }, +) diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/client.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/client.py index f83ce5aa1..312101768 100644 --- a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/client.py +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/config.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/config.py index 29cf4de08..0ec9c785c 100644 --- a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/config.py +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson10ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -28,7 +28,10 @@ from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.config.validators import validate_account_id_endpoint_mode from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/retries.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/retries.py index 5461bc62e..44b58fdff 100644 --- a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/retries.py +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/aio/retries.py @@ -1,6 +1,6 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from smithy_aws_core.config import ConfigSource +from smithy_aws_core.config.types import ConfigSource from smithy_core.retries import ( AdaptiveRetryStrategy, ExponentialBackoffJitterType, diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/client.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/client.py index b5d3acb54..96c8c1e4a 100644 --- a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/client.py +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/config.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/config.py index a51c7edba..3a203b335 100644 --- a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/config.py +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_account_id_endpoint_mode_program, @@ -24,7 +24,10 @@ from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.config.validators import validate_account_id_endpoint_mode from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson10ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/models.pyi b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/models.pyi index 622d589fc..54fdfc4d9 100644 --- a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/models.pyi +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/models.pyi @@ -1,16 +1,372 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + ApproximateCreationDateTimePrecision as ApproximateCreationDateTimePrecision, + ArchivalSummary as ArchivalSummary, + AttributeAction as AttributeAction, + AttributeDefinition as AttributeDefinition, + AttributeValueS as AttributeValueS, + AttributeValueN as AttributeValueN, + AttributeValueB as AttributeValueB, + AttributeValueSS as AttributeValueSS, + AttributeValueNS as AttributeValueNS, + AttributeValueBS as AttributeValueBS, + AttributeValueM as AttributeValueM, + AttributeValueL as AttributeValueL, + AttributeValueNULL as AttributeValueNULL, + AttributeValueBOOL as AttributeValueBOOL, + AttributeValueUnknown as AttributeValueUnknown, + AttributeValue as AttributeValue, + _AttributeValueDeserializer as _AttributeValueDeserializer, + AttributeValueUpdate as AttributeValueUpdate, + AutoScalingPolicyDescription as AutoScalingPolicyDescription, + AutoScalingPolicyUpdate as AutoScalingPolicyUpdate, + AutoScalingSettingsDescription as AutoScalingSettingsDescription, + AutoScalingSettingsUpdate as AutoScalingSettingsUpdate, + AutoScalingTargetTrackingScalingPolicyConfigurationDescription as AutoScalingTargetTrackingScalingPolicyConfigurationDescription, + AutoScalingTargetTrackingScalingPolicyConfigurationUpdate as AutoScalingTargetTrackingScalingPolicyConfigurationUpdate, + BackupDescription as BackupDescription, + BackupDetails as BackupDetails, + BackupInUseException as BackupInUseException, + BackupNotFoundException as BackupNotFoundException, + BackupStatus as BackupStatus, + BackupSummary as BackupSummary, + BackupType as BackupType, + BackupTypeFilter as BackupTypeFilter, + BatchExecuteStatementInput as BatchExecuteStatementInput, + BatchExecuteStatementOutput as BatchExecuteStatementOutput, + BatchGetItemInput as BatchGetItemInput, + BatchGetItemOutput as BatchGetItemOutput, + BatchStatementError as BatchStatementError, + BatchStatementErrorCodeEnum as BatchStatementErrorCodeEnum, + BatchStatementRequest as BatchStatementRequest, + BatchStatementResponse as BatchStatementResponse, + BatchWriteItemInput as BatchWriteItemInput, + BatchWriteItemOutput as BatchWriteItemOutput, + BillingMode as BillingMode, + BillingModeSummary as BillingModeSummary, + BulkOperationBytes as BulkOperationBytes, + BulkOperationDescription as BulkOperationDescription, + BulkOperationInputFormat as BulkOperationInputFormat, + BulkOperationPerformanceTier as BulkOperationPerformanceTier, + BulkOperationStatus as BulkOperationStatus, + BulkOperationSummary as BulkOperationSummary, + BulkOperationTableDetail as BulkOperationTableDetail, + BulkOperationUsage as BulkOperationUsage, + BulkOperationVectorBytes as BulkOperationVectorBytes, + CancelBulkOperationInput as CancelBulkOperationInput, + CancelBulkOperationOutput as CancelBulkOperationOutput, + CancellationReason as CancellationReason, + Capacity as Capacity, + ComparisonOperator as ComparisonOperator, + Condition as Condition, + ConditionalCheckFailedException as ConditionalCheckFailedException, + ConditionalOperator as ConditionalOperator, + ConditionCheck as ConditionCheck, + ConsumedCapacity as ConsumedCapacity, + ContinuousBackupsDescription as ContinuousBackupsDescription, + ContinuousBackupsStatus as ContinuousBackupsStatus, + ContinuousBackupsUnavailableException as ContinuousBackupsUnavailableException, + ContributorInsightsAction as ContributorInsightsAction, + ContributorInsightsMode as ContributorInsightsMode, + ContributorInsightsStatus as ContributorInsightsStatus, + ContributorInsightsSummary as ContributorInsightsSummary, + CreateBackupInput as CreateBackupInput, + CreateBackupOutput as CreateBackupOutput, + CreateGlobalSecondaryIndexAction as CreateGlobalSecondaryIndexAction, + CreateGlobalTableInput as CreateGlobalTableInput, + CreateGlobalTableOutput as CreateGlobalTableOutput, + CreateGlobalTableWitnessGroupMemberAction as CreateGlobalTableWitnessGroupMemberAction, + CreateReplicaAction as CreateReplicaAction, + CreateReplicationGroupMemberAction as CreateReplicationGroupMemberAction, + CreateTableInput as CreateTableInput, + CreateTableOutput as CreateTableOutput, + CreateVectorIndexAction as CreateVectorIndexAction, + CsvOptions as CsvOptions, + Delete as Delete, + DeleteBackupInput as DeleteBackupInput, + DeleteBackupOutput as DeleteBackupOutput, + DeleteGlobalSecondaryIndexAction as DeleteGlobalSecondaryIndexAction, + DeleteGlobalTableWitnessGroupMemberAction as DeleteGlobalTableWitnessGroupMemberAction, + DeleteItemInput as DeleteItemInput, + DeleteItemOutput as DeleteItemOutput, + DeleteReplicaAction as DeleteReplicaAction, + DeleteReplicationGroupMemberAction as DeleteReplicationGroupMemberAction, + DeleteRequest as DeleteRequest, + DeleteResourcePolicyInput as DeleteResourcePolicyInput, + DeleteResourcePolicyOutput as DeleteResourcePolicyOutput, + DeleteTableInput as DeleteTableInput, + DeleteTableOutput as DeleteTableOutput, + DeleteVectorIndexAction as DeleteVectorIndexAction, + DescribeBackupInput as DescribeBackupInput, + DescribeBackupOutput as DescribeBackupOutput, + DescribeBulkOperationInput as DescribeBulkOperationInput, + DescribeBulkOperationOutput as DescribeBulkOperationOutput, + DescribeContinuousBackupsInput as DescribeContinuousBackupsInput, + DescribeContinuousBackupsOutput as DescribeContinuousBackupsOutput, + DescribeContributorInsightsInput as DescribeContributorInsightsInput, + DescribeContributorInsightsOutput as DescribeContributorInsightsOutput, + DescribeEndpointsInput as DescribeEndpointsInput, + DescribeEndpointsOutput as DescribeEndpointsOutput, + DescribeExportInput as DescribeExportInput, + DescribeExportOutput as DescribeExportOutput, + DescribeGlobalTableInput as DescribeGlobalTableInput, + DescribeGlobalTableOutput as DescribeGlobalTableOutput, + DescribeGlobalTableSettingsInput as DescribeGlobalTableSettingsInput, + DescribeGlobalTableSettingsOutput as DescribeGlobalTableSettingsOutput, + DescribeImportInput as DescribeImportInput, + DescribeImportOutput as DescribeImportOutput, + DescribeKinesisStreamingDestinationInput as DescribeKinesisStreamingDestinationInput, + DescribeKinesisStreamingDestinationOutput as DescribeKinesisStreamingDestinationOutput, + DescribeLimitsInput as DescribeLimitsInput, + DescribeLimitsOutput as DescribeLimitsOutput, + DescribeTableInput as DescribeTableInput, + DescribeTableOutput as DescribeTableOutput, + DescribeTableReplicaAutoScalingInput as DescribeTableReplicaAutoScalingInput, + DescribeTableReplicaAutoScalingOutput as DescribeTableReplicaAutoScalingOutput, + DescribeTimeToLiveInput as DescribeTimeToLiveInput, + DescribeTimeToLiveOutput as DescribeTimeToLiveOutput, + DestinationStatus as DestinationStatus, + DisableKinesisStreamingDestinationInput as DisableKinesisStreamingDestinationInput, + DisableKinesisStreamingDestinationOutput as DisableKinesisStreamingDestinationOutput, + DisassociateReplicationGroupMemberAction as DisassociateReplicationGroupMemberAction, + DisassociationMode as DisassociationMode, + DuplicateItemException as DuplicateItemException, + EnableKinesisStreamingConfiguration as EnableKinesisStreamingConfiguration, + EnableKinesisStreamingDestinationInput as EnableKinesisStreamingDestinationInput, + EnableKinesisStreamingDestinationOutput as EnableKinesisStreamingDestinationOutput, + Endpoint as Endpoint, + ExecuteStatementInput as ExecuteStatementInput, + ExecuteStatementOutput as ExecuteStatementOutput, + ExecuteTransactionInput as ExecuteTransactionInput, + ExecuteTransactionOutput as ExecuteTransactionOutput, + ExpectedAttributeValue as ExpectedAttributeValue, + ExportConflictException as ExportConflictException, + ExportDescription as ExportDescription, + ExportFormat as ExportFormat, + ExportNotFoundException as ExportNotFoundException, + ExportStatus as ExportStatus, + ExportSummary as ExportSummary, + ExportTableToPointInTimeInput as ExportTableToPointInTimeInput, + ExportTableToPointInTimeOutput as ExportTableToPointInTimeOutput, + ExportType as ExportType, + ExportViewType as ExportViewType, + FailureException as FailureException, + FilterSpecification as FilterSpecification, + Get as Get, + GetItemInput as GetItemInput, + GetItemOutput as GetItemOutput, + GetResourcePolicyInput as GetResourcePolicyInput, + GetResourcePolicyOutput as GetResourcePolicyOutput, + GlobalSecondaryIndex as GlobalSecondaryIndex, + GlobalSecondaryIndexAutoScalingUpdate as GlobalSecondaryIndexAutoScalingUpdate, + GlobalSecondaryIndexDescription as GlobalSecondaryIndexDescription, + GlobalSecondaryIndexInfo as GlobalSecondaryIndexInfo, + GlobalSecondaryIndexUpdate as GlobalSecondaryIndexUpdate, + GlobalSecondaryIndexWarmThroughputDescription as GlobalSecondaryIndexWarmThroughputDescription, + GlobalTable as GlobalTable, + GlobalTableAlreadyExistsException as GlobalTableAlreadyExistsException, + GlobalTableDescription as GlobalTableDescription, + GlobalTableGlobalSecondaryIndexSettingsUpdate as GlobalTableGlobalSecondaryIndexSettingsUpdate, + GlobalTableNotFoundException as GlobalTableNotFoundException, + GlobalTableSettingsReplicationMode as GlobalTableSettingsReplicationMode, + GlobalTableStatus as GlobalTableStatus, + GlobalTableWitnessDescription as GlobalTableWitnessDescription, + GlobalTableWitnessGroupUpdate as GlobalTableWitnessGroupUpdate, + IdempotentParameterMismatchException as IdempotentParameterMismatchException, + ImportConflictException as ImportConflictException, + ImportNotFoundException as ImportNotFoundException, + ImportStatus as ImportStatus, + ImportSummary as ImportSummary, + ImportTableDescription as ImportTableDescription, + ImportTableInput as ImportTableInput, + ImportTableOutput as ImportTableOutput, + IncrementalExportSpecification as IncrementalExportSpecification, + IndexNotFoundException as IndexNotFoundException, + IndexStatus as IndexStatus, + InputCompressionType as InputCompressionType, + InputFormat as InputFormat, + InputFormatOptions as InputFormatOptions, + InputS3Configuration as InputS3Configuration, + InternalServerError as InternalServerError, + InvalidEndpointException as InvalidEndpointException, + InvalidExportTimeException as InvalidExportTimeException, + InvalidRestoreTimeException as InvalidRestoreTimeException, + ItemCollectionMetrics as ItemCollectionMetrics, + ItemCollectionSizeLimitExceededException as ItemCollectionSizeLimitExceededException, + ItemResponse as ItemResponse, + KeysAndAttributes as KeysAndAttributes, + KeySchemaElement as KeySchemaElement, + KeyType as KeyType, + KinesisDataStreamDestination as KinesisDataStreamDestination, + LimitExceededException as LimitExceededException, + ListBackupsInput as ListBackupsInput, + ListBackupsOutput as ListBackupsOutput, + ListBulkOperationsInput as ListBulkOperationsInput, + ListBulkOperationsOutput as ListBulkOperationsOutput, + ListContributorInsightsInput as ListContributorInsightsInput, + ListContributorInsightsOutput as ListContributorInsightsOutput, + ListExportsInput as ListExportsInput, + ListExportsOutput as ListExportsOutput, + ListGlobalTablesInput as ListGlobalTablesInput, + ListGlobalTablesOutput as ListGlobalTablesOutput, + ListImportsInput as ListImportsInput, + ListImportsOutput as ListImportsOutput, + ListTablesInput as ListTablesInput, + ListTablesOutput as ListTablesOutput, + ListTagsOfResourceInput as ListTagsOfResourceInput, + ListTagsOfResourceOutput as ListTagsOfResourceOutput, + LocalSecondaryIndex as LocalSecondaryIndex, + LocalSecondaryIndexDescription as LocalSecondaryIndexDescription, + LocalSecondaryIndexInfo as LocalSecondaryIndexInfo, + MultiRegionConsistency as MultiRegionConsistency, + OnDemandThroughput as OnDemandThroughput, + OnDemandThroughputOverride as OnDemandThroughputOverride, + OutputS3Configuration as OutputS3Configuration, + OutputTypeEnum as OutputTypeEnum, + ParameterizedStatement as ParameterizedStatement, + PointInTimeRecoveryDescription as PointInTimeRecoveryDescription, + PointInTimeRecoverySpecification as PointInTimeRecoverySpecification, + PointInTimeRecoveryStatus as PointInTimeRecoveryStatus, + PointInTimeRecoveryUnavailableException as PointInTimeRecoveryUnavailableException, + PolicyNotFoundException as PolicyNotFoundException, + Projection as Projection, + ProjectionType as ProjectionType, + ProvisionedThroughput as ProvisionedThroughput, + ProvisionedThroughputDescription as ProvisionedThroughputDescription, + ProvisionedThroughputExceededException as ProvisionedThroughputExceededException, + ProvisionedThroughputOverride as ProvisionedThroughputOverride, + Put as Put, + PutItemInput as PutItemInput, + PutItemOutput as PutItemOutput, + PutRequest as PutRequest, + PutResourcePolicyInput as PutResourcePolicyInput, + PutResourcePolicyOutput as PutResourcePolicyOutput, + QueryInput as QueryInput, + QueryOutput as QueryOutput, + Replica as Replica, + ReplicaAlreadyExistsException as ReplicaAlreadyExistsException, + ReplicaAutoScalingDescription as ReplicaAutoScalingDescription, + ReplicaAutoScalingUpdate as ReplicaAutoScalingUpdate, + ReplicaDescription as ReplicaDescription, + ReplicaGlobalSecondaryIndex as ReplicaGlobalSecondaryIndex, + ReplicaGlobalSecondaryIndexAutoScalingDescription as ReplicaGlobalSecondaryIndexAutoScalingDescription, + ReplicaGlobalSecondaryIndexAutoScalingUpdate as ReplicaGlobalSecondaryIndexAutoScalingUpdate, + ReplicaGlobalSecondaryIndexDescription as ReplicaGlobalSecondaryIndexDescription, + ReplicaGlobalSecondaryIndexSettingsDescription as ReplicaGlobalSecondaryIndexSettingsDescription, + ReplicaGlobalSecondaryIndexSettingsUpdate as ReplicaGlobalSecondaryIndexSettingsUpdate, + ReplicaNotFoundException as ReplicaNotFoundException, + ReplicaSettingsDescription as ReplicaSettingsDescription, + ReplicaSettingsUpdate as ReplicaSettingsUpdate, + ReplicaStatus as ReplicaStatus, + ReplicatedWriteConflictException as ReplicatedWriteConflictException, + ReplicationGroupUpdate as ReplicationGroupUpdate, + ReplicaUpdate as ReplicaUpdate, + RequestLimitExceeded as RequestLimitExceeded, +) + +from ._private.models_1 import ( + ResourceInUseException as ResourceInUseException, + ResourceNotFoundException as ResourceNotFoundException, + RestoreSummary as RestoreSummary, + RestoreTableFromBackupInput as RestoreTableFromBackupInput, + RestoreTableFromBackupOutput as RestoreTableFromBackupOutput, + RestoreTableToPointInTimeInput as RestoreTableToPointInTimeInput, + RestoreTableToPointInTimeOutput as RestoreTableToPointInTimeOutput, + ReturnConsumedCapacity as ReturnConsumedCapacity, + ReturnItemCollectionMetrics as ReturnItemCollectionMetrics, + ReturnValue as ReturnValue, + ReturnValuesOnConditionCheckFailure as ReturnValuesOnConditionCheckFailure, + S3BucketSource as S3BucketSource, + S3SseAlgorithm as S3SseAlgorithm, + ScalarAttributeType as ScalarAttributeType, + ScanInput as ScanInput, + ScanOutput as ScanOutput, + SearchResultItem as SearchResultItem, + SearchSchemaElement as SearchSchemaElement, + SearchSchemaElementType as SearchSchemaElementType, + SearchVectorsInput as SearchVectorsInput, + SearchVectorsOutput as SearchVectorsOutput, + Select as Select, + SourceTableDetails as SourceTableDetails, + SourceTableFeatureDetails as SourceTableFeatureDetails, + SSEDescription as SSEDescription, + SSESpecification as SSESpecification, + SSEStatus as SSEStatus, + SSEType as SSEType, + StartBulkPutItemsInput as StartBulkPutItemsInput, + StartBulkPutItemsOutput as StartBulkPutItemsOutput, + StreamSpecification as StreamSpecification, + StreamViewType as StreamViewType, + TableAlreadyExistsException as TableAlreadyExistsException, + TableAutoScalingDescription as TableAutoScalingDescription, + TableClass as TableClass, + TableClassSummary as TableClassSummary, + TableCreationParameters as TableCreationParameters, + TableDescription as TableDescription, + TableInUseException as TableInUseException, + TableNotFoundException as TableNotFoundException, + TableStatus as TableStatus, + TableWarmThroughputDescription as TableWarmThroughputDescription, + Tag as Tag, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + ThrottlingException as ThrottlingException, + ThrottlingReason as ThrottlingReason, + TimeToLiveDescription as TimeToLiveDescription, + TimeToLiveSpecification as TimeToLiveSpecification, + TimeToLiveStatus as TimeToLiveStatus, + TransactGetItem as TransactGetItem, + TransactGetItemsInput as TransactGetItemsInput, + TransactGetItemsOutput as TransactGetItemsOutput, + TransactionCanceledException as TransactionCanceledException, + TransactionConflictException as TransactionConflictException, + TransactionInProgressException as TransactionInProgressException, + TransactWriteItem as TransactWriteItem, + TransactWriteItemsInput as TransactWriteItemsInput, + TransactWriteItemsOutput as TransactWriteItemsOutput, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + Update as Update, + UpdateContinuousBackupsInput as UpdateContinuousBackupsInput, + UpdateContinuousBackupsOutput as UpdateContinuousBackupsOutput, + UpdateContributorInsightsInput as UpdateContributorInsightsInput, + UpdateContributorInsightsOutput as UpdateContributorInsightsOutput, + UpdateGlobalSecondaryIndexAction as UpdateGlobalSecondaryIndexAction, + UpdateGlobalTableInput as UpdateGlobalTableInput, + UpdateGlobalTableOutput as UpdateGlobalTableOutput, + UpdateGlobalTableSettingsInput as UpdateGlobalTableSettingsInput, + UpdateGlobalTableSettingsOutput as UpdateGlobalTableSettingsOutput, + UpdateItemInput as UpdateItemInput, + UpdateItemOutput as UpdateItemOutput, + UpdateKinesisStreamingConfiguration as UpdateKinesisStreamingConfiguration, + UpdateKinesisStreamingDestinationInput as UpdateKinesisStreamingDestinationInput, + UpdateKinesisStreamingDestinationOutput as UpdateKinesisStreamingDestinationOutput, + UpdateReplicationGroupMemberAction as UpdateReplicationGroupMemberAction, + UpdateTableInput as UpdateTableInput, + UpdateTableOutput as UpdateTableOutput, + UpdateTableReplicaAutoScalingInput as UpdateTableReplicaAutoScalingInput, + UpdateTableReplicaAutoScalingOutput as UpdateTableReplicaAutoScalingOutput, + UpdateTimeToLiveInput as UpdateTimeToLiveInput, + UpdateTimeToLiveOutput as UpdateTimeToLiveOutput, + VectorAttributeDefinition as VectorAttributeDefinition, + VectorCapacity as VectorCapacity, + VectorDistanceFunction as VectorDistanceFunction, + VectorIndex as VectorIndex, + VectorIndexDescription as VectorIndexDescription, + VectorIndexInfo as VectorIndexInfo, + VectorIndexUpdate as VectorIndexUpdate, + WarmThroughput as WarmThroughput, + WitnessStatus as WitnessStatus, + WriteRequest as WriteRequest, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -26,10339 +382,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -class ApproximateCreationDateTimePrecision(UnknownEnumMixin, StrEnum): - MILLISECOND = "MILLISECOND" - MICROSECOND = "MICROSECOND" - -@dataclass(kw_only=True) -class ArchivalSummary(_SerdeShape): - """Contains details of a table archival operation.""" - - archival_date_time: datetime | None = ... - """ - The date and time when table archival was initiated by DynamoDB, in UNIX - epoch time format. - """ - archival_reason: str | None = ... - """ - The reason DynamoDB archived the table. Currently, the only possible - value is: - - - `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The table was archived due to - the table's KMS key being inaccessible for more than seven days. An - On-Demand backup was created at the archival time. - """ - archival_backup_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the backup the table was archived to, - when applicable in the archival reason. If you wish to restore this - backup to the same table name, you will need to delete the original - table. - """ - -class AttributeAction(UnknownEnumMixin, StrEnum): - ADD = "ADD" - PUT = "PUT" - DELETE = "DELETE" - -@dataclass(kw_only=True) -class AttributeDefinition(_SerdeShape): - """ - Represents an attribute for describing the schema for the table and - indexes. - """ - - attribute_name: str - """A name for the attribute.""" - attribute_type: str - """ - The data type for the attribute, where: - - - `S` - the attribute is of type String - - - `N` - the attribute is of type Number - - - `B` - the attribute is of type Binary - """ - -@dataclass -class AttributeValueS(_SerdeShape): - """ - An attribute of type String. For example: - - `"S": "Hello"` - """ - - value: str - -@dataclass -class AttributeValueN(_SerdeShape): - """ - An attribute of type Number. For example: - - `"N": "123.45"` - - Numbers are sent across the network to DynamoDB as strings, to maximize - compatibility across languages and libraries. However, DynamoDB treats - them as number type attributes for mathematical operations. - """ - - value: str - -@dataclass -class AttributeValueB(_SerdeShape): - """ - An attribute of type Binary. For example: - - `"B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk"` - """ - - value: bytes - -@dataclass -class AttributeValueSS(_SerdeShape): - """ - An attribute of type String Set. For example: - - `"SS": ["Giraffe", "Hippo" ,"Zebra"]` - """ - - value: list[str] - -@dataclass -class AttributeValueNS(_SerdeShape): - """ - An attribute of type Number Set. For example: - - `"NS": ["42.2", "-19", "7.5", "3.14"]` - - Numbers are sent across the network to DynamoDB as strings, to maximize - compatibility across languages and libraries. However, DynamoDB treats - them as number type attributes for mathematical operations. - """ - - value: list[str] - -@dataclass -class AttributeValueBS(_SerdeShape): - """ - An attribute of type Binary Set. For example: - - `"BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="]` - """ - - value: list[bytes] - -@dataclass -class AttributeValueM(_SerdeShape): - """ - An attribute of type Map. For example: - - `"M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}}` - """ - - value: dict[str, AttributeValue] - -@dataclass -class AttributeValueL(_SerdeShape): - """ - An attribute of type List. For example: - - `"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]` - """ - - value: list[AttributeValue] - -@dataclass -class AttributeValueNULL(_SerdeShape): - """ - An attribute of type Null. For example: - - `"NULL": true` - """ - - value: bool - -@dataclass -class AttributeValueBOOL(_SerdeShape): - """ - An attribute of type Boolean. For example: - - `"BOOL": true` - """ - - value: bool - -@dataclass -class AttributeValueUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AttributeValue = Union[ - AttributeValueS - | AttributeValueN - | AttributeValueB - | AttributeValueSS - | AttributeValueNS - | AttributeValueBS - | AttributeValueM - | AttributeValueL - | AttributeValueNULL - | AttributeValueBOOL - | AttributeValueUnknown -] -""" -Represents the data for an attribute. - -Each attribute value is described as a name-value pair. The name is the -data type, and the value is the data itself. - -For more information, see [Data -Types](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes) -in the *Amazon DynamoDB Developer Guide*. -""" - -class _AttributeValueDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> AttributeValue: ... - -@dataclass(kw_only=True) -class AttributeValueUpdate(_SerdeShape): - """ - For the `UpdateItem` operation, represents the attributes to be - modified, the action to perform on each, and the new value for each. - - Note: - You cannot use `UpdateItem` to update any primary key attributes. - Instead, you will need to delete the item, and then use `PutItem` to - create a new item with new attributes. - - Attribute values cannot be null; string and binary type attributes must - have lengths greater than zero; and set type attributes must not be - empty. Requests with empty values will be rejected with a - `ValidationException` exception. - """ - - value: AttributeValue | None = ... - """ - Represents the data for an attribute. - - Each attribute value is described as a name-value pair. The name is the - data type, and the value is the data itself. - - For more information, see [Data - Types](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes) - in the *Amazon DynamoDB Developer Guide*. - """ - action: str | None = ... - """ - Specifies how to perform the update. Valid values are `PUT` (default), - `DELETE`, and `ADD`. The behavior depends on whether the specified - primary key already exists in the table. - - **If an item with the specified *Key* is found in the table:** - - - `PUT` - Adds the specified attribute to the item. If the attribute - already exists, it is replaced by the new value. - - - `DELETE` - If no value is specified, the attribute and its value are - removed from the item. The data type of the specified value must match - the existing value's data type. - - If a *set* of values is specified, then those values are subtracted - from the old set. For example, if the attribute value was the set - `[a,b,c]` and the `DELETE` action specified `[a,c]`, then the final - attribute value would be `[b]`. Specifying an empty set is an error. - - - `ADD` - If the attribute does not already exist, then the attribute - and its values are added to the item. If the attribute does exist, - then the behavior of `ADD` depends on the data type of the attribute: - - - If the existing attribute is a number, and if `Value` is also a - number, then the `Value` is mathematically added to the existing - attribute. If `Value` is a negative number, then it is subtracted - from the existing attribute. - - Note: - If you use `ADD` to increment or decrement a number value for an - item that doesn't exist before the update, DynamoDB uses 0 as the - initial value. - - In addition, if you use `ADD` to update an existing item, and intend - to increment or decrement an attribute value which does not yet - exist, DynamoDB uses `0` as the initial value. For example, suppose - that the item you want to update does not yet have an attribute - named *itemcount*, but you decide to `ADD` the number `3` to this - attribute anyway, even though it currently does not exist. DynamoDB - will create the *itemcount* attribute, set its initial value to `0`, - and finally add `3` to it. The result will be a new *itemcount* - attribute in the item, with a value of `3`. - - - If the existing data type is a set, and if the `Value` is also a - set, then the `Value` is added to the existing set. (This is a *set* - operation, not mathematical addition.) For example, if the attribute - value was the set `[1,2]`, and the `ADD` action specified `[3]`, - then the final attribute value would be `[1,2,3]`. An error occurs - if an Add action is specified for a set attribute and the attribute - type specified does not match the existing set type. - - Both sets must have the same primitive data type. For example, if - the existing data type is a set of strings, the `Value` must also be - a set of strings. The same holds true for number sets and binary - sets. - - This action is only valid for an existing attribute whose data type is - number or is a set. Do not use `ADD` for any other data types. - - **If no item with the specified *Key* is found:** - - - `PUT` - DynamoDB creates a new item with the specified primary key, - and then adds the attribute. - - - `DELETE` - Nothing happens; there is no attribute to delete. - - - `ADD` - DynamoDB creates a new item with the supplied primary key and - number (or set) for the attribute value. The only data types allowed - are number, number set, string set or binary set. - """ - -@dataclass(kw_only=True) -class AutoScalingPolicyDescription(_SerdeShape): - """Represents the properties of the scaling policy.""" - - policy_name: str | None = ... - """The name of the scaling policy.""" - target_tracking_scaling_policy_configuration: ( - AutoScalingTargetTrackingScalingPolicyConfigurationDescription | None - ) = ... - """Represents a target tracking scaling policy configuration.""" - -@dataclass(kw_only=True) -class AutoScalingPolicyUpdate(_SerdeShape): - """Represents the auto scaling policy to be modified.""" - - policy_name: str | None = ... - """The name of the scaling policy.""" - target_tracking_scaling_policy_configuration: ( - AutoScalingTargetTrackingScalingPolicyConfigurationUpdate - ) - """Represents a target tracking scaling policy configuration.""" - -@dataclass(kw_only=True) -class AutoScalingSettingsDescription(_SerdeShape): - """ - Represents the auto scaling settings for a global table or global - secondary index. - """ - - minimum_units: int | None = ... - """ - The minimum capacity units that a global table or global secondary index - should be scaled down to. - """ - maximum_units: int | None = ... - """ - The maximum capacity units that a global table or global secondary index - should be scaled up to. - """ - auto_scaling_disabled: bool | None = ... - """Disabled auto scaling for this global table or global secondary index.""" - auto_scaling_role_arn: str | None = ... - """Role ARN used for configuring the auto scaling policy.""" - scaling_policies: list[AutoScalingPolicyDescription] | None = ... - """Information about the scaling policies.""" - -@dataclass(kw_only=True) -class AutoScalingSettingsUpdate(_SerdeShape): - """ - Represents the auto scaling settings to be modified for a global table - or global secondary index. - """ - - minimum_units: int | None = ... - """ - The minimum capacity units that a global table or global secondary index - should be scaled down to. - """ - maximum_units: int | None = ... - """ - The maximum capacity units that a global table or global secondary index - should be scaled up to. - """ - auto_scaling_disabled: bool | None = ... - """Disabled auto scaling for this global table or global secondary index.""" - auto_scaling_role_arn: str | None = ... - """Role ARN used for configuring auto scaling policy.""" - scaling_policy_update: AutoScalingPolicyUpdate | None = ... - """ - The scaling policy to apply for scaling target global table or global - secondary index capacity units. - """ - -@dataclass(kw_only=True) -class AutoScalingTargetTrackingScalingPolicyConfigurationDescription(_SerdeShape): - """Represents the properties of a target tracking scaling policy.""" - - disable_scale_in: bool | None = ... - """ - Indicates whether scale in by the target tracking policy is disabled. If - the value is true, scale in is disabled and the target tracking policy - won't remove capacity from the scalable resource. Otherwise, scale in - is enabled and the target tracking policy can remove capacity from the - scalable resource. The default value is false. - """ - scale_in_cooldown: int | None = ... - """ - The amount of time, in seconds, after a scale in activity completes - before another scale in activity can start. The cooldown period is used - to block subsequent scale in requests until it has expired. You should - scale in conservatively to protect your application's availability. - However, if another alarm triggers a scale out policy during the - cooldown period after a scale-in, application auto scaling scales out - your scalable target immediately. - """ - scale_out_cooldown: int | None = ... - """ - The amount of time, in seconds, after a scale out activity completes - before another scale out activity can start. While the cooldown period - is in effect, the capacity that has been added by the previous scale out - event that initiated the cooldown is calculated as part of the desired - capacity for the next scale out. You should continuously (but not - excessively) scale out. - """ - target_value: float - """ - The target value for the metric. The range is 8.515920e-109 to - 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). - """ - -@dataclass(kw_only=True) -class AutoScalingTargetTrackingScalingPolicyConfigurationUpdate(_SerdeShape): - """ - Represents the settings of a target tracking scaling policy that will be - modified. - """ - - disable_scale_in: bool | None = ... - """ - Indicates whether scale in by the target tracking policy is disabled. If - the value is true, scale in is disabled and the target tracking policy - won't remove capacity from the scalable resource. Otherwise, scale in - is enabled and the target tracking policy can remove capacity from the - scalable resource. The default value is false. - """ - scale_in_cooldown: int | None = ... - """ - The amount of time, in seconds, after a scale in activity completes - before another scale in activity can start. The cooldown period is used - to block subsequent scale in requests until it has expired. You should - scale in conservatively to protect your application's availability. - However, if another alarm triggers a scale out policy during the - cooldown period after a scale-in, application auto scaling scales out - your scalable target immediately. - """ - scale_out_cooldown: int | None = ... - """ - The amount of time, in seconds, after a scale out activity completes - before another scale out activity can start. While the cooldown period - is in effect, the capacity that has been added by the previous scale out - event that initiated the cooldown is calculated as part of the desired - capacity for the next scale out. You should continuously (but not - excessively) scale out. - """ - target_value: float - """ - The target value for the metric. The range is 8.515920e-109 to - 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). - """ - -@dataclass(kw_only=True) -class BackupDescription(_SerdeShape): - """Contains the description of the backup created for the table.""" - - backup_details: BackupDetails | None = ... - """Contains the details of the backup created for the table.""" - source_table_details: SourceTableDetails | None = ... - """Contains the details of the table when the backup was created.""" - source_table_feature_details: SourceTableFeatureDetails | None = ... - """ - Contains the details of the features enabled on the table when the - backup was created. For example, LSIs, GSIs, streams, TTL. - """ - -@dataclass(kw_only=True) -class BackupDetails(_SerdeShape): - """Contains the details of the backup created for the table.""" - - backup_arn: str - """ARN associated with the backup.""" - backup_name: str - """Name of the requested backup.""" - backup_size_bytes: int | None = ... - """ - Size of the backup in bytes. DynamoDB updates this value approximately - every six hours. Recent changes might not be reflected in this value. - """ - backup_status: str - """Backup can be in one of the following states: CREATING, ACTIVE, DELETED.""" - backup_type: str - """ - BackupType: - - - `USER` - You create and manage these using the on-demand backup - feature. - - - `SYSTEM` - If you delete a table with point-in-time recovery enabled, - a `SYSTEM` backup is automatically created and is retained for 35 days - (at no additional cost). System backups allow you to restore the - deleted table to the state it was in just before the point of - deletion. - - - `AWS_BACKUP` - On-demand backup created by you from Backup service. - """ - backup_creation_date_time: datetime - """ - Time at which the backup was created. This is the request time of the - backup. - """ - backup_expiry_date_time: datetime | None = ... - """ - Time at which the automatic on-demand backup created by DynamoDB will - expire. This `SYSTEM` on-demand backup expires automatically 35 days - after its creation. - """ - -@dataclass(kw_only=True) -class BackupInUseException(ServiceError, _SerdeShape): - """ - There is another ongoing conflicting backup control plane operation on - the table. The backup is either being created, deleted or restored to a - table. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BackupNotFoundException(ServiceError, _SerdeShape): - """Backup not found for the given BackupARN.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class BackupStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - DELETED = "DELETED" - AVAILABLE = "AVAILABLE" - -@dataclass(kw_only=True) -class BackupSummary(_SerdeShape): - """Contains details for the backup.""" - - table_name: str | None = ... - """Name of the table.""" - table_id: str | None = ... - """Unique identifier for the table.""" - table_arn: str | None = ... - """ARN associated with the table.""" - backup_arn: str | None = ... - """ARN associated with the backup.""" - backup_name: str | None = ... - """Name of the specified backup.""" - backup_creation_date_time: datetime | None = ... - """Time at which the backup was created.""" - backup_expiry_date_time: datetime | None = ... - """ - Time at which the automatic on-demand backup created by DynamoDB will - expire. This `SYSTEM` on-demand backup expires automatically 35 days - after its creation. - """ - backup_status: str | None = ... - """Backup can be in one of the following states: CREATING, ACTIVE, DELETED.""" - backup_type: str | None = ... - """ - BackupType: - - - `USER` - You create and manage these using the on-demand backup - feature. - - - `SYSTEM` - If you delete a table with point-in-time recovery enabled, - a `SYSTEM` backup is automatically created and is retained for 35 days - (at no additional cost). System backups allow you to restore the - deleted table to the state it was in just before the point of - deletion. - - - `AWS_BACKUP` - On-demand backup created by you from Backup service. - """ - backup_size_bytes: int | None = ... - """Size of the backup in bytes.""" - -class BackupType(UnknownEnumMixin, StrEnum): - USER = "USER" - SYSTEM = "SYSTEM" - AWS_BACKUP = "AWS_BACKUP" - -class BackupTypeFilter(UnknownEnumMixin, StrEnum): - USER = "USER" - SYSTEM = "SYSTEM" - AWS_BACKUP = "AWS_BACKUP" - ALL = "ALL" - -@dataclass(kw_only=True) -class BatchExecuteStatementInput(_SerdeShape): - """Dataclass for BatchExecuteStatementInput structure.""" - - statements: list[BatchStatementRequest] | None = ... - """The list of PartiQL statements representing the batch to run.""" - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - -@dataclass(kw_only=True) -class BatchExecuteStatementOutput(_SerdeShape): - """Dataclass for BatchExecuteStatementOutput structure.""" - - responses: list[BatchStatementResponse] | None = ... - """ - The response to each PartiQL statement in the batch. The values of the - list are ordered according to the ordering of the request statements. - """ - consumed_capacity: list[ConsumedCapacity] | None = ... - """ - The capacity units consumed by the entire operation. The values of the - list are ordered according to the ordering of the statements. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BatchGetItemInput(_SerdeShape): - """Represents the input of a `BatchGetItem` operation.""" - - request_items: dict[str, KeysAndAttributes] | None = ... - """ - A map of one or more table names or table ARNs and, for each table, a - map that describes one or more items to retrieve from that table. Each - table name or ARN can be used only once per `BatchGetItem` request. - - Each element in the map of items to retrieve consists of the following: - - - `ConsistentRead` - If `true`, a strongly consistent read is used; if - `false` (the default), an eventually consistent read is used. - - - `ExpressionAttributeNames` - One or more substitution tokens for - attribute names in the `ProjectionExpression` parameter. The following - are some use cases for using `ExpressionAttributeNames`: - - - To access an attribute whose name conflicts with a DynamoDB reserved - word. - - - To create a placeholder for repeating occurrences of an attribute - name in an expression. - - - To prevent special characters in an attribute name from being - misinterpreted in an expression. - - Use the **#** character in an expression to dereference an attribute - name. For example, consider the following attribute name: - - - `Percentile` - - The name of this attribute conflicts with a reserved word, so it - cannot be used directly in an expression. (For the complete list of - reserved words, see [Reserved - Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) - in the *Amazon DynamoDB Developer Guide*). To work around this, you - could specify the following for `ExpressionAttributeNames`: - - - `{"#P":"Percentile"}` - - You could then use this substitution in an expression, as in this - example: - - - `#P = :val` - - Note: - Tokens that begin with the **:** character are *expression attribute - values*, which are placeholders for the actual value at runtime. - - For more information about expression attribute names, see [Accessing - Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - - - `Keys` - An array of primary key attribute values that define specific - items in the table. For each primary key, you must provide *all* of - the key attributes. For example, with a simple primary key, you only - need to provide the partition key value. For a composite key, you must - provide *both* the partition key value and the sort key value. - - - `ProjectionExpression` - A string that identifies one or more - attributes to retrieve from the table. These attributes can include - scalars, sets, or elements of a JSON document. The attributes in the - expression must be separated by commas. - - If no attribute names are specified, then all attributes are returned. - If any of the requested attributes are not found, they do not appear - in the result. - - For more information, see [Accessing Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - - - `AttributesToGet` - This is a legacy parameter. Use - `ProjectionExpression` instead. For more information, see - [AttributesToGet](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html) - in the *Amazon DynamoDB Developer Guide*. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - -@dataclass(kw_only=True) -class BatchGetItemOutput(_SerdeShape): - """Represents the output of a `BatchGetItem` operation.""" - - responses: dict[str, list[dict[str, AttributeValue]]] | None = ... - """ - A map of table name or table ARN to a list of items. Each object in - `Responses` consists of a table name or ARN, along with a map of - attribute data consisting of the data type and attribute value. - """ - unprocessed_keys: dict[str, KeysAndAttributes] | None = ... - """ - A map of tables and their respective keys that were not processed with - the current response. The `UnprocessedKeys` value is in the same form as - `RequestItems`, so the value can be provided directly to a subsequent - `BatchGetItem` operation. For more information, see `RequestItems` in - the Request Parameters section. - - Each element consists of: - - - `Keys` - An array of primary key attribute values that define specific - items in the table. - - - `ProjectionExpression` - One or more attributes to be retrieved from - the table or index. By default, all attributes are returned. If a - requested attribute is not found, it does not appear in the result. - - - `ConsistentRead` - The consistency of a read operation. If set to - `true`, then a strongly consistent read is used; otherwise, an - eventually consistent read is used. - - If there are no unprocessed keys remaining, the response contains an - empty `UnprocessedKeys` map. - """ - consumed_capacity: list[ConsumedCapacity] | None = ... - """ - The read capacity units consumed by the entire `BatchGetItem` operation. - - Each element consists of: - - - `TableName` - The table that consumed the provisioned throughput. - - - `CapacityUnits` - The total number of capacity units consumed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BatchStatementError(_SerdeShape): - """An error associated with a statement in a PartiQL batch that was run.""" - - code: str | None = ... - """The error code associated with the failed PartiQL batch statement.""" - message: str | None = ... - """The error message associated with the PartiQL batch response.""" - item: dict[str, AttributeValue] | None = ... - """ - The item which caused the condition check to fail. This will be set if - ReturnValuesOnConditionCheckFailure is specified as `ALL_OLD`. - """ - -class BatchStatementErrorCodeEnum(UnknownEnumMixin, StrEnum): - CONDITIONAL_CHECK_FAILED = "ConditionalCheckFailed" - ITEM_COLLECTION_SIZE_LIMIT_EXCEEDED = "ItemCollectionSizeLimitExceeded" - REQUEST_LIMIT_EXCEEDED = "RequestLimitExceeded" - VALIDATION_ERROR = "ValidationError" - PROVISIONED_THROUGHPUT_EXCEEDED = "ProvisionedThroughputExceeded" - TRANSACTION_CONFLICT = "TransactionConflict" - THROTTLING_ERROR = "ThrottlingError" - INTERNAL_SERVER_ERROR = "InternalServerError" - RESOURCE_NOT_FOUND = "ResourceNotFound" - ACCESS_DENIED = "AccessDenied" - DUPLICATE_ITEM = "DuplicateItem" - -@dataclass(kw_only=True) -class BatchStatementRequest(_SerdeShape): - """A PartiQL batch statement request.""" - - statement: str - """A valid PartiQL statement.""" - parameters: list[AttributeValue] | None = ... - """The parameters associated with a PartiQL statement in the batch request.""" - consistent_read: bool | None = ... - """The read consistency of the PartiQL batch request.""" - return_values_on_condition_check_failure: str | None = ... - """ - An optional parameter that returns the item attributes for a PartiQL - batch request operation that failed a condition check. - - There is no additional cost associated with requesting a return value - aside from the small network and processing overhead of receiving a - larger response. No read capacity units are consumed. - """ - -@dataclass(kw_only=True) -class BatchStatementResponse(_SerdeShape): - """A PartiQL batch statement response..""" - - error: BatchStatementError | None = ... - """The error associated with a failed PartiQL batch statement.""" - table_name: str | None = ... - """The table name associated with a failed PartiQL batch statement.""" - item: dict[str, AttributeValue] | None = ... - """A DynamoDB item associated with a BatchStatementResponse""" - -@dataclass(kw_only=True) -class BatchWriteItemInput(_SerdeShape): - """Represents the input of a `BatchWriteItem` operation.""" - - request_items: dict[str, list[WriteRequest]] | None = ... - """ - A map of one or more table names or table ARNs and, for each table, a - list of operations to be performed (`DeleteRequest` or `PutRequest`). - Each element in the map consists of the following: - - - `DeleteRequest` - Perform a `DeleteItem` operation on the specified - item. The item to be deleted is identified by a `Key` subelement: - - - `Key` - A map of primary key attribute values that uniquely identify - the item. Each entry in this map consists of an attribute name and - an attribute value. For each primary key, you must provide *all* of - the key attributes. For example, with a simple primary key, you only - need to provide a value for the partition key. For a composite - primary key, you must provide values for *both* the partition key - and the sort key. - - - `PutRequest` - Perform a `PutItem` operation on the specified item. - The item to be put is identified by an `Item` subelement: - - - `Item` - A map of attributes and their values. Each entry in this - map consists of an attribute name and an attribute value. Attribute - values must not be null; string and binary type attributes must have - lengths greater than zero; and set type attributes must not be - empty. Requests that contain empty values are rejected with a - `ValidationException` exception. - - If you specify any attributes that are part of an index key, then - the data types for those attributes must match those of the schema - in the table's attribute definition. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - return_item_collection_metrics: str | None = ... - """ - Determines whether item collection metrics are returned. If set to - `SIZE`, the response includes statistics about item collections, if any, - that were modified during the operation are returned in the response. If - set to `NONE` (the default), no statistics are returned. - """ - -@dataclass(kw_only=True) -class BatchWriteItemOutput(_SerdeShape): - """Represents the output of a `BatchWriteItem` operation.""" - - unprocessed_items: dict[str, list[WriteRequest]] | None = ... - """ - A map of tables and requests against those tables that were not - processed. The `UnprocessedItems` value is in the same form as - `RequestItems`, so you can provide this value directly to a subsequent - `BatchWriteItem` operation. For more information, see `RequestItems` in - the Request Parameters section. - - Each `UnprocessedItems` entry consists of a table name or table ARN and, - for that table, a list of operations to perform (`DeleteRequest` or - `PutRequest`). - - - `DeleteRequest` - Perform a `DeleteItem` operation on the specified - item. The item to be deleted is identified by a `Key` subelement: - - - `Key` - A map of primary key attribute values that uniquely identify - the item. Each entry in this map consists of an attribute name and - an attribute value. - - - `PutRequest` - Perform a `PutItem` operation on the specified item. - The item to be put is identified by an `Item` subelement: - - - `Item` - A map of attributes and their values. Each entry in this - map consists of an attribute name and an attribute value. Attribute - values must not be null; string and binary type attributes must have - lengths greater than zero; and set type attributes must not be - empty. Requests that contain empty values will be rejected with a - `ValidationException` exception. - - If you specify any attributes that are part of an index key, then - the data types for those attributes must match those of the schema - in the table's attribute definition. - - If there are no unprocessed items remaining, the response contains an - empty `UnprocessedItems` map. - """ - item_collection_metrics: dict[str, list[ItemCollectionMetrics]] | None = ... - """ - A list of tables that were processed by `BatchWriteItem` and, for each - table, information about any item collections that were affected by - individual `DeleteItem` or `PutItem` operations. - - Each entry consists of the following subelements: - - - `ItemCollectionKey` - The partition key value of the item collection. - This is the same as the partition key value of the item. - - - `SizeEstimateRangeGB` - An estimate of item collection size, expressed - in GB. This is a two-element array containing a lower bound and an - upper bound for the estimate. The estimate includes the size of all - the items in the table, plus the size of all attributes projected into - all of the local secondary indexes on the table. Use this estimate to - measure whether a local secondary index is approaching its size limit. - - The estimate is subject to change over time; therefore, do not rely on - the precision or accuracy of the estimate. - """ - consumed_capacity: list[ConsumedCapacity] | None = ... - """ - The capacity units consumed by the entire `BatchWriteItem` operation. - - Each element consists of: - - - `TableName` - The table that consumed the provisioned throughput. - - - `CapacityUnits` - The total number of capacity units consumed. - - If the table has vector indexes, each element also includes a - `VectorIndexes` field with `VectorWriteRequestBytes` consumed for each - affected vector index. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class BillingMode(UnknownEnumMixin, StrEnum): - PROVISIONED = "PROVISIONED" - PAY_PER_REQUEST = "PAY_PER_REQUEST" - -@dataclass(kw_only=True) -class BillingModeSummary(_SerdeShape): - """ - Contains the details for the read/write capacity mode. This page talks - about `PROVISIONED` and `PAY_PER_REQUEST` billing modes. For more - information about these modes, see [Read/write capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html). - - Note: - You may need to switch to on-demand mode at least once in order to - return a `BillingModeSummary` response. - """ - - billing_mode: str | None = ... - """ - Controls how you are charged for read and write throughput and how you - manage capacity. This setting can be changed later. - - - `PROVISIONED` - Sets the read/write capacity mode to `PROVISIONED`. We - recommend using `PROVISIONED` for predictable workloads. - - - `PAY_PER_REQUEST` - Sets the read/write capacity mode to - `PAY_PER_REQUEST`. We recommend using `PAY_PER_REQUEST` for - unpredictable workloads. - """ - last_update_to_pay_per_request_date_time: datetime | None = ... - """ - Represents the time when `PAY_PER_REQUEST` was last set as the - read/write capacity mode. - """ - -@dataclass(kw_only=True) -class BulkOperationBytes(_SerdeShape): - """Contains the bulk put bytes used during a bulk operation.""" - - bulk_put_bytes: int | None = ... - """The number of bulk put bytes.""" - -@dataclass(kw_only=True) -class BulkOperationDescription(_SerdeShape): - """Contains detailed information about a bulk operation.""" - - bulk_operation_arn: str | None = ... - """The Amazon Resource Name (ARN) of the bulk operation.""" - bulk_operation_status: str | None = ... - """ - The current status of the bulk operation can be one of the following - values: - - IN_PROGRESS - - : DynamoDB is processing the input. - - COMPLETED - - : The bulk operation finished without parsing or validation errors. - Condition-check failures do not cause the operation to complete with - errors. - - COMPLETED_WITH_ERRORS - - : The bulk operation finished, but DynamoDB couldn't process at least - one input item because of a parsing or validation error. When you - enable `ERROR` output, DynamoDB writes the details to the configured - Amazon S3 output location. - - CANCELLING - - : DynamoDB accepted a cancellation request and is stopping the - operation. - - CANCELLED - - : DynamoDB stopped the operation after a cancellation request. - - FAILED - - : The bulk operation failed. DynamoDB might write some items before the - operation reaches this status. See - [FailureCode](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BulkOperationDescription.html#DDB-Type-BulkOperationDescription-FailureCode) - and - [FailureMessage](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BulkOperationDescription.html#DDB-Type-BulkOperationDescription-FailureMessage) - for details. - """ - table_details: list[BulkOperationTableDetail] | None = ... - """ - A list containing identifying information for the table targeted by the - bulk operation. - """ - client_token: str | None = ... - """The idempotency token associated with the start request.""" - input_s3_configuration: InputS3Configuration | None = ... - """The Amazon S3 input configuration associated with the bulk operation.""" - output_s3_configuration: OutputS3Configuration | None = ... - """The Amazon S3 output configuration associated with the bulk operation.""" - start_time: datetime | None = ... - """The time when DynamoDB accepted the start request.""" - end_time: datetime | None = ... - """ - The time when the operation reached a terminal status. DynamoDB omits - this value while the operation remains in progress. - """ - processed_item_count: int = ... - """ - The number of input items that DynamoDB has processed. This count - includes successful writes, parsing or validation failures, and - condition-check failures. - """ - processed_input_bytes: int | None = ... - """ - The number of bytes that DynamoDB has read from the Amazon S3 input - objects. - """ - total_input_bytes: int | None = ... - """ - The total size, in bytes, of the Amazon S3 input objects. DynamoDB omits - this value until the initial input-size calculation completes. - """ - bulk_operation_usage: list[BulkOperationUsage] | None = ... - """Usage information for the table and its indexes.""" - failed_item_count: int = ... - """ - The number of processed input items that failed because of parsing or - validation errors. This count is included in `ProcessedItemCount`. - Condition-check failures do not increase this count. - """ - failure_code: str | None = ... - """ - A code that identifies why the bulk operation failed or was cancelled. - DynamoDB returns this value only when `BulkOperationStatus` is `FAILED` - or `CANCELLED`. - """ - failure_message: str | None = ... - """ - A message that describes why the bulk operation failed or was cancelled. - DynamoDB returns this value only when `BulkOperationStatus` is `FAILED` - or `CANCELLED`. - """ - max_write_request_units: int | None = ... - """The maximum write request unit rate configured for the bulk operation.""" - performance_tier: str | None = ... - """ - The performance tier selected for the bulk operation. Valid values are - `STANDARD` and `ACCELERATED`. If the start request omitted this value, - DynamoDB uses `STANDARD`. - """ - -class BulkOperationInputFormat(UnknownEnumMixin, StrEnum): - DYNAMODB_JSON = "DYNAMODB_JSON" - ION = "ION" - -class BulkOperationPerformanceTier(UnknownEnumMixin, StrEnum): - STANDARD = "STANDARD" - ACCELERATED = "ACCELERATED" - -class BulkOperationStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "IN_PROGRESS" - COMPLETED = "COMPLETED" - COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS" - CANCELLING = "CANCELLING" - CANCELLED = "CANCELLED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class BulkOperationSummary(_SerdeShape): - """Contains summary information about a bulk operation.""" - - bulk_operation_arn: str - """The Amazon Resource Name (ARN) of the bulk operation.""" - bulk_operation_status: str - """The current status of the bulk operation.""" - start_time: datetime - """The time when DynamoDB accepted the start request.""" - end_time: datetime | None = ... - """ - The time when the operation reached a terminal status. DynamoDB omits - this value while the operation remains in progress. - """ - -@dataclass(kw_only=True) -class BulkOperationTableDetail(_SerdeShape): - """ - Contains identifying information for a table associated with a bulk - operation. - """ - - table_name: str | None = ... - """The name or ARN of the table associated with the bulk operation.""" - table_id: str | None = ... - """The unique identifier of the table associated with the bulk operation.""" - -@dataclass(kw_only=True) -class BulkOperationUsage(_SerdeShape): - """ - Contains the bytes used during a bulk operation, including a breakdown - for the table and its indexes. - """ - - table_name: str | None = ... - """The name or ARN of the table associated with the reported usage.""" - bulk_put_bytes: int | None = ... - """ - The total number of bulk put bytes used by the operation. This value - excludes bulk put vector bytes. - """ - table: BulkOperationBytes | None = ... - """The number of bulk put bytes for the table, excluding its indexes.""" - local_secondary_indexes: dict[str, BulkOperationBytes] | None = ... - """ - The bulk put bytes used on each local secondary index affected by the - operation, keyed by index name. - """ - global_secondary_indexes: dict[str, BulkOperationBytes] | None = ... - """ - The bulk put bytes used on each global secondary index affected by the - operation, keyed by index name. - """ - vector_indexes: dict[str, BulkOperationVectorBytes] | None = ... - """ - The bulk put vector bytes used on each vector index affected by the - operation, keyed by index name. - """ - -@dataclass(kw_only=True) -class BulkOperationVectorBytes(_SerdeShape): - """ - Contains the bulk put vector bytes used by a vector index during a bulk - operation. - """ - - bulk_put_vector_bytes: int | None = ... - """The number of bulk put vector bytes used on the vector index.""" - -@dataclass(kw_only=True) -class CancelBulkOperationInput(_SerdeShape): - """Dataclass for CancelBulkOperationInput structure.""" - - bulk_operation_arn: str | None = ... - """The Amazon Resource Name (ARN) of the bulk operation to cancel.""" - -@dataclass(kw_only=True) -class CancelBulkOperationOutput(_SerdeShape): - """Dataclass for CancelBulkOperationOutput structure.""" - - bulk_operation_arn: str - """ - The Amazon Resource Name (ARN) of the bulk operation for which DynamoDB - accepted the cancellation request. - """ - bulk_operation_status: str - """ - The status returned after DynamoDB accepts the cancellation request. - This value is `CANCELLING`. Use `DescribeBulkOperation` to determine - when the operation reaches `CANCELLED`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancellationReason(_SerdeShape): - """ - An ordered list of errors for each item in the request which caused the - transaction to get cancelled. The values of the list are ordered - according to the ordering of the `TransactWriteItems` request parameter. - If no error occurred for the associated item an error with a Null code - and Null message will be present. - """ - - item: dict[str, AttributeValue] | None = ... - """Item in the request which caused the transaction to get cancelled.""" - code: str | None = ... - """Status code for the result of the cancelled transaction.""" - message: str | None = ... - """Cancellation reason message description.""" - -@dataclass(kw_only=True) -class Capacity(_SerdeShape): - """ - Represents the amount of provisioned throughput capacity consumed on a - table or an index. - """ - - read_capacity_units: float | None = ... - """The total number of read capacity units consumed on a table or an index.""" - write_capacity_units: float | None = ... - """ - The total number of write capacity units consumed on a table or an - index. - """ - capacity_units: float | None = ... - """The total number of capacity units consumed on a table or an index.""" - -class ComparisonOperator(UnknownEnumMixin, StrEnum): - EQ = "EQ" - NE = "NE" - IN_ = "IN" - LE = "LE" - LT = "LT" - GE = "GE" - GT = "GT" - BETWEEN = "BETWEEN" - NOT_NULL = "NOT_NULL" - NULL = "NULL" - CONTAINS = "CONTAINS" - NOT_CONTAINS = "NOT_CONTAINS" - BEGINS_WITH = "BEGINS_WITH" - -@dataclass(kw_only=True) -class Condition(_SerdeShape): - """ - Represents the selection criteria for a `Query` or `Scan` operation: - - - For a `Query` operation, `Condition` is used for specifying the - `KeyConditions` to use when querying a table or an index. For - `KeyConditions`, only the following comparison operators are - supported: - - `EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN` - - `Condition` is also used in a `QueryFilter`, which evaluates the query - results and returns only the desired values. - - - For a `Scan` operation, `Condition` is used in a `ScanFilter`, which - evaluates the scan results and returns only the desired values. - """ - - attribute_value_list: list[AttributeValue] | None = ... - """ - One or more values to evaluate against the supplied attribute. The - number of values in the list depends on the `ComparisonOperator` being - used. - - For type Number, value comparisons are numeric. - - String value comparisons for greater than, equals, or less than are - based on ASCII character code values. For example, `a` is greater than - `A`, and `a` is greater than `B`. For a list of code values, see - . - - For Binary, DynamoDB treats each byte of the binary data as unsigned - when it compares binary values. - """ - comparison_operator: str - """ - A comparator for evaluating attributes. For example, equals, greater - than, less than, etc. - - The following comparison operators are available: - - `EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN` - - The following are descriptions of each comparison operator. - - - `EQ` : Equal. `EQ` is supported for all data types, including lists - and maps. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, Binary, String Set, Number Set, or Binary Set. If - an item contains an `AttributeValue` element of a different type than - the one provided in the request, the value does not match. For - example, `{"S":"6"}` does not equal `{"N":"6"}`. Also, `{"N":"6"}` - does not equal `{"NS":["6", "2", "1"]}`. - - - `NE` : Not equal. `NE` is supported for all data types, including - lists and maps. - - `AttributeValueList` can contain only one `AttributeValue` of type - String, Number, Binary, String Set, Number Set, or Binary Set. If an - item contains an `AttributeValue` of a different type than the one - provided in the request, the value does not match. For example, - `{"S":"6"}` does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not - equal `{"NS":["6", "2", "1"]}`. - - - `LE` : Less than or equal. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If an item contains - an `AttributeValue` element of a different type than the one provided - in the request, the value does not match. For example, `{"S":"6"}` - does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to - `{"NS":["6", "2", "1"]}`. - - - `LT` : Less than. - - `AttributeValueList` can contain only one `AttributeValue` of type - String, Number, or Binary (not a set type). If an item contains an - `AttributeValue` element of a different type than the one provided in - the request, the value does not match. For example, `{"S":"6"}` does - not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to - `{"NS":["6", "2", "1"]}`. - - - `GE` : Greater than or equal. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If an item contains - an `AttributeValue` element of a different type than the one provided - in the request, the value does not match. For example, `{"S":"6"}` - does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to - `{"NS":["6", "2", "1"]}`. - - - `GT` : Greater than. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If an item contains - an `AttributeValue` element of a different type than the one provided - in the request, the value does not match. For example, `{"S":"6"}` - does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to - `{"NS":["6", "2", "1"]}`. - - - `NOT_NULL` : The attribute exists. `NOT_NULL` is supported for all - data types, including lists and maps. - - Note: - This operator tests for the existence of an attribute, not its data - type. If the data type of attribute \"`a`\" is null, and you evaluate - it using `NOT_NULL`, the result is a Boolean `true`. This result is - because the attribute \"`a`\" exists; its data type is not relevant to - the `NOT_NULL` comparison operator. - - - `NULL` : The attribute does not exist. `NULL` is supported for all - data types, including lists and maps. - - Note: - This operator tests for the nonexistence of an attribute, not its data - type. If the data type of attribute \"`a`\" is null, and you evaluate - it using `NULL`, the result is a Boolean `false`. This is because the - attribute \"`a`\" exists; its data type is not relevant to the `NULL` - comparison operator. - - - `CONTAINS` : Checks for a subsequence, or value in a set. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If the target - attribute of the comparison is of type String, then the operator - checks for a substring match. If the target attribute of the - comparison is of type Binary, then the operator looks for a - subsequence of the target that matches the input. If the target - attribute of the comparison is a set (\"`SS`\", \"`NS`\", or - \"`BS`\"), then the operator evaluates to true if it finds an exact - match with any member of the set. - - CONTAINS is supported for lists: When evaluating \"`a CONTAINS b`\", - \"`a`\" can be a list; however, \"`b`\" cannot be a set, a map, or a - list. - - - `NOT_CONTAINS` : Checks for absence of a subsequence, or absence of a - value in a set. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If the target - attribute of the comparison is a String, then the operator checks for - the absence of a substring match. If the target attribute of the - comparison is Binary, then the operator checks for the absence of a - subsequence of the target that matches the input. If the target - attribute of the comparison is a set (\"`SS`\", \"`NS`\", or - \"`BS`\"), then the operator evaluates to true if it *does not* find - an exact match with any member of the set. - - NOT_CONTAINS is supported for lists: When evaluating - \"`a NOT CONTAINS b`\", \"`a`\" can be a list; however, \"`b`\" cannot - be a set, a map, or a list. - - - `BEGINS_WITH` : Checks for a prefix. - - `AttributeValueList` can contain only one `AttributeValue` of type - String or Binary (not a Number or a set type). The target attribute of - the comparison must be of type String or Binary (not a Number or a set - type). - - - `IN` : Checks for matching elements in a list. - - `AttributeValueList` can contain one or more `AttributeValue` elements - of type String, Number, or Binary. These attributes are compared - against an existing attribute of an item. If any elements of the input - are equal to the item attribute, the expression evaluates to true. - - - `BETWEEN` : Greater than or equal to the first value, and less than or - equal to the second value. - - `AttributeValueList` must contain two `AttributeValue` elements of the - same type, either String, Number, or Binary (not a set type). A target - attribute matches if the target value is greater than, or equal to, - the first element and less than, or equal to, the second element. If - an item contains an `AttributeValue` element of a different type than - the one provided in the request, the value does not match. For - example, `{"S":"6"}` does not compare to `{"N":"6"}`. Also, - `{"N":"6"}` does not compare to `{"NS":["6", "2", "1"]}` - - For usage examples of `AttributeValueList` and `ComparisonOperator`, see - [Legacy Conditional - Parameters](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html) - in the *Amazon DynamoDB Developer Guide*. - """ - -@dataclass(kw_only=True) -class ConditionalCheckFailedException(ServiceError, _SerdeShape): - """A condition specified in the operation failed to be evaluated.""" - - item: dict[str, AttributeValue] | None = ... - """Item which caused the `ConditionalCheckFailedException`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ConditionalOperator(UnknownEnumMixin, StrEnum): - AND_ = "AND" - OR_ = "OR" - -@dataclass(kw_only=True) -class ConditionCheck(_SerdeShape): - """ - Represents a request to perform a check that an item exists or to check - the condition of specific attributes of the item. - """ - - key: dict[str, AttributeValue] - """ - The primary key of the item to be checked. Each element consists of an - attribute name and a value for that attribute. - """ - table_name: str - """ - Name of the table for the check item request. You can also provide the - Amazon Resource Name (ARN) of the table in this parameter. - """ - condition_expression: str - """ - A condition that must be satisfied in order for a conditional update to - succeed. For more information, see [Condition - expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - For more information, see [Expression attribute - names](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeNames.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_values: dict[str, AttributeValue] | None = ... - """ - One or more values that can be substituted in an expression. For more - information, see [Condition - expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - return_values_on_condition_check_failure: str | None = ... - """ - Use `ReturnValuesOnConditionCheckFailure` to get the item attributes if - the `ConditionCheck` condition fails. For - `ReturnValuesOnConditionCheckFailure`, the valid values are: NONE and - ALL_OLD. - """ - -@dataclass(kw_only=True) -class ConsumedCapacity(_SerdeShape): - """ - The capacity units consumed by an operation. The data returned includes - the total provisioned throughput consumed, along with statistics for the - table and any indexes involved in the operation. `ConsumedCapacity` is - only returned if the request asked for it. For more information, see - [Provisioned capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html) - in the *Amazon DynamoDB Developer Guide*. - """ - - table_name: str | None = ... - """ - The name of the table that was affected by the operation. If you had - specified the Amazon Resource Name (ARN) of a table in the input, - you'll see the table ARN in the response. - """ - capacity_units: float | None = ... - """The total number of capacity units consumed by the operation.""" - read_capacity_units: float | None = ... - """The total number of read capacity units consumed by the operation.""" - write_capacity_units: float | None = ... - """The total number of write capacity units consumed by the operation.""" - table: Capacity | None = ... - """ - The amount of throughput consumed on the table affected by the - operation. - """ - local_secondary_indexes: dict[str, Capacity] | None = ... - """ - The amount of throughput consumed on each local index affected by the - operation. - """ - global_secondary_indexes: dict[str, Capacity] | None = ... - """ - The amount of throughput consumed on each global index affected by the - operation. - """ - vector_indexes: dict[str, VectorCapacity] | None = ... - """ - The amount of throughput consumed on each vector index affected by the - operation. Each entry contains `VectorWriteRequestBytes` (for write - operations) or `VectorSearchRequestBytes` (for search operations). - """ - -@dataclass(kw_only=True) -class ContinuousBackupsDescription(_SerdeShape): - """ - Represents the continuous backups and point in time recovery settings on - the table. - """ - - continuous_backups_status: str - """ - `ContinuousBackupsStatus` can be one of the following states: ENABLED, - DISABLED - """ - point_in_time_recovery_description: PointInTimeRecoveryDescription | None = ... - """ - The description of the point in time recovery settings applied to the - table. - """ - -class ContinuousBackupsStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class ContinuousBackupsUnavailableException(ServiceError, _SerdeShape): - """Backups have not yet been enabled for this table.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ContributorInsightsAction(UnknownEnumMixin, StrEnum): - ENABLE = "ENABLE" - DISABLE = "DISABLE" - -class ContributorInsightsMode(UnknownEnumMixin, StrEnum): - ACCESSED_AND_THROTTLED_KEYS = "ACCESSED_AND_THROTTLED_KEYS" - THROTTLED_KEYS = "THROTTLED_KEYS" - -class ContributorInsightsStatus(UnknownEnumMixin, StrEnum): - ENABLING = "ENABLING" - ENABLED = "ENABLED" - DISABLING = "DISABLING" - DISABLED = "DISABLED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class ContributorInsightsSummary(_SerdeShape): - """Represents a Contributor Insights summary entry.""" - - table_name: str | None = ... - """Name of the table associated with the summary.""" - index_name: str | None = ... - """Name of the index associated with the summary, if any.""" - contributor_insights_status: str | None = ... - """ - Describes the current status for contributor insights for the given - table and index, if applicable. - """ - contributor_insights_mode: str | None = ... - """ - Indicates the current mode of CloudWatch Contributor Insights, - specifying whether it tracks all access and throttled events or - throttled events only for the DynamoDB table or index. - """ - -@dataclass(kw_only=True) -class CreateBackupInput(_SerdeShape): - """Dataclass for CreateBackupInput structure.""" - - table_name: str | None = ... - """ - The name of the table. You can also provide the Amazon Resource Name - (ARN) of the table in this parameter. - """ - backup_name: str | None = ... - """Specified name for the backup.""" - -@dataclass(kw_only=True) -class CreateBackupOutput(_SerdeShape): - """Dataclass for CreateBackupOutput structure.""" - - backup_details: BackupDetails | None = ... - """Contains the details of the backup created for the table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGlobalSecondaryIndexAction(_SerdeShape): - """ - Represents a new global secondary index to be added to an existing - table. - """ - - index_name: str - """The name of the global secondary index to be created.""" - key_schema: list[KeySchemaElement] - """ - The key schema for the global secondary index. Global secondary index - supports up to 4 partition and up to 4 sort keys. - """ - projection: Projection - """ - Represents attributes that are copied (projected) from the table into an - index. These are in addition to the primary key attributes and index key - attributes, which are automatically projected. - """ - provisioned_throughput: ProvisionedThroughput | None = ... - """ - Represents the provisioned throughput settings for the specified global - secondary index. - - For current minimum and maximum provisioned throughput values, see - [Service, Account, and Table - Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) - in the *Amazon DynamoDB Developer Guide*. - """ - on_demand_throughput: OnDemandThroughput | None = ... - """ - The maximum number of read and write units for the global secondary - index being created. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. You must use - either `OnDemand Throughput` or `ProvisionedThroughput` based on your - table's capacity mode. - """ - warm_throughput: WarmThroughput | None = ... - """ - Represents the warm throughput value (in read units per second and write - units per second) when creating a secondary index. - """ - -@dataclass(kw_only=True) -class CreateGlobalTableInput(_SerdeShape): - """Dataclass for CreateGlobalTableInput structure.""" - - global_table_name: str | None = ... - """The global table name.""" - replication_group: list[Replica] | None = ... - """The Regions where the global table needs to be created.""" - -@dataclass(kw_only=True) -class CreateGlobalTableOutput(_SerdeShape): - """Dataclass for CreateGlobalTableOutput structure.""" - - global_table_description: GlobalTableDescription | None = ... - """Contains the details of the global table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGlobalTableWitnessGroupMemberAction(_SerdeShape): - """ - Specifies the action to add a new witness Region to a MRSC global table. - A MRSC global table can be configured with either three replicas, or - with two replicas and one witness. - """ - - region_name: str - """ - The Amazon Web Services Region name to be added as a witness Region for - the MRSC global table. The witness must be in a different Region than - the replicas and within the same Region set: - - - US Region set: US East (N. Virginia), US East (Ohio), US West (Oregon) - - - EU Region set: Europe (Ireland), Europe (London), Europe (Paris), - Europe (Frankfurt) - - - AP Region set: Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia - Pacific (Osaka) - """ - -@dataclass(kw_only=True) -class CreateReplicaAction(_SerdeShape): - """Represents a replica to be added.""" - - region_name: str - """The Region of the replica to be added.""" - -@dataclass(kw_only=True) -class CreateReplicationGroupMemberAction(_SerdeShape): - """Represents a replica to be created.""" - - region_name: str - """The Region where the new replica will be created.""" - kms_master_key_id: str | None = ... - """ - The KMS key that should be used for KMS encryption in the new replica. - To specify a key, use its key ID, Amazon Resource Name (ARN), alias - name, or alias ARN. Note that you should only provide this parameter if - the key is different from the default DynamoDB KMS key - `alias/aws/dynamodb`. - """ - provisioned_throughput_override: ProvisionedThroughputOverride | None = ... - """ - Replica-specific provisioned throughput. If not specified, uses the - source table's provisioned throughput settings. - """ - on_demand_throughput_override: OnDemandThroughputOverride | None = ... - """ - The maximum on-demand throughput settings for the specified replica - table being created. You can only modify `MaxReadRequestUnits`, because - you can't modify `MaxWriteRequestUnits` for individual replica tables. - """ - global_secondary_indexes: list[ReplicaGlobalSecondaryIndex] | None = ... - """Replica-specific global secondary index settings.""" - table_class_override: str | None = ... - """ - Replica-specific table class. If not specified, uses the source table's - table class. - """ - -@dataclass(kw_only=True) -class CreateTableInput(_SerdeShape): - """Represents the input of a `CreateTable` operation.""" - - attribute_definitions: list[AttributeDefinition] | None = ... - """ - An array of attributes that describe the key schema for the table and - indexes. - """ - table_name: str | None = ... - """ - The name of the table to create. You can also provide the Amazon - Resource Name (ARN) of the table in this parameter. - """ - key_schema: list[KeySchemaElement] | None = ... - """ - Specifies the attributes that make up the primary key for a table or an - index. The attributes in `KeySchema` must also be defined in the - `AttributeDefinitions` array. For more information, see [Data - Model](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html) - in the *Amazon DynamoDB Developer Guide*. - - Each `KeySchemaElement` in the array is composed of: - - - `AttributeName` - The name of this key attribute. - - - `KeyType` - The role that the key attribute will assume: - - - `HASH` - partition key - - - `RANGE` - sort key - - Note: - The partition key of an item is also known as its *hash attribute*. The - term \"hash attribute\" derives from the DynamoDB usage of an internal - hash function to evenly distribute data items across partitions, based - on their partition key values. - - The sort key of an item is also known as its *range attribute*. The term - \"range attribute\" derives from the way DynamoDB stores items with the - same partition key physically close together, in sorted order by the - sort key value. - - For a simple primary key (partition key), you must provide exactly one - element with a `KeyType` of `HASH`. - - For a composite primary key (partition key and sort key), you must - provide exactly two elements, in this order: The first element must have - a `KeyType` of `HASH`, and the second element must have a `KeyType` of - `RANGE`. - - For more information, see [Working with - Tables](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#WorkingWithTables.primary.key) - in the *Amazon DynamoDB Developer Guide*. - """ - local_secondary_indexes: list[LocalSecondaryIndex] | None = ... - """ - One or more local secondary indexes (the maximum is 5) to be created on - the table. Each index is scoped to a given partition key value. There is - a 10 GB size limit per partition key value; otherwise, the size of a - local secondary index is unconstrained. - - Each local secondary index in the array includes the following: - - - `IndexName` - The name of the local secondary index. Must be unique - only for this table. - - - `KeySchema` - Specifies the key schema for the local secondary index. - The key schema must begin with the same partition key as the table. - - - `Projection` - Specifies attributes that are copied (projected) from - the table into the index. These are in addition to the primary key - attributes and index key attributes, which are automatically - projected. Each attribute specification is composed of: - - - `ProjectionType` - One of the following: - - - `KEYS_ONLY` - Only the index and primary keys are projected into - the index. - - - `INCLUDE` - Only the specified table attributes are projected into - the index. The list of projected attributes is in - `NonKeyAttributes`. - - - `ALL` - All of the table attributes are projected into the index. - - - `NonKeyAttributes` - A list of one or more non-key attribute names - that are projected into the secondary index. The total count of - attributes provided in `NonKeyAttributes`, summed across all of the - secondary indexes, must not exceed 100. If you project the same - attribute into two different indexes, this counts as two distinct - attributes when determining the total. This limit only applies when - you specify the ProjectionType of `INCLUDE`. You still can specify - the ProjectionType of `ALL` to project all attributes from the - source table, even if the table has more than 100 attributes. - """ - global_secondary_indexes: list[GlobalSecondaryIndex] | None = ... - """ - One or more global secondary indexes (the maximum is 20) to be created - on the table. Each global secondary index in the array includes the - following: - - - `IndexName` - The name of the global secondary index. Must be unique - only for this table. - - - `KeySchema` - Specifies the key schema for the global secondary index. - Each global secondary index supports up to 4 partition keys and up to - 4 sort keys. - - - `Projection` - Specifies attributes that are copied (projected) from - the table into the index. These are in addition to the primary key - attributes and index key attributes, which are automatically - projected. Each attribute specification is composed of: - - - `ProjectionType` - One of the following: - - - `KEYS_ONLY` - Only the index and primary keys are projected into - the index. - - - `INCLUDE` - Only the specified table attributes are projected into - the index. The list of projected attributes is in - `NonKeyAttributes`. - - - `ALL` - All of the table attributes are projected into the index. - - - `NonKeyAttributes` - A list of one or more non-key attribute names - that are projected into the secondary index. The total count of - attributes provided in `NonKeyAttributes`, summed across all of the - secondary indexes, must not exceed 100. If you project the same - attribute into two different indexes, this counts as two distinct - attributes when determining the total. This limit only applies when - you specify the ProjectionType of `INCLUDE`. You still can specify - the ProjectionType of `ALL` to project all attributes from the - source table, even if the table has more than 100 attributes. - - - `ProvisionedThroughput` - The provisioned throughput settings for the - global secondary index, consisting of read and write capacity units. - """ - billing_mode: str | None = ... - """ - Controls how you are charged for read and write throughput and how you - manage capacity. This setting can be changed later. - - - `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most - DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to - [On-demand capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html). - - - `PROVISIONED` - We recommend using `PROVISIONED` for steady workloads - with predictable growth where capacity requirements can be reliably - forecasted. `PROVISIONED` sets the billing mode to [Provisioned - capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html). - """ - provisioned_throughput: ProvisionedThroughput | None = ... - """ - Represents the provisioned throughput settings for a specified table or - index. The settings can be modified using the `UpdateTable` operation. - - If you set BillingMode as `PROVISIONED`, you must specify this property. - If you set BillingMode as `PAY_PER_REQUEST`, you cannot specify this - property. - - For current minimum and maximum provisioned throughput values, see - [Service, Account, and Table - Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) - in the *Amazon DynamoDB Developer Guide*. - """ - stream_specification: StreamSpecification | None = ... - """ - The settings for DynamoDB Streams on the table. These settings consist - of: - - - `StreamEnabled` - Indicates whether DynamoDB Streams is to be enabled - (true) or disabled (false). - - - `StreamViewType` - When an item in the table is modified, - `StreamViewType` determines what information is written to the - table's stream. Valid values for `StreamViewType` are: - - - `KEYS_ONLY` - Only the key attributes of the modified item are - written to the stream. - - - `NEW_IMAGE` - The entire item, as it appears after it was modified, - is written to the stream. - - - `OLD_IMAGE` - The entire item, as it appeared before it was - modified, is written to the stream. - - - `NEW_AND_OLD_IMAGES` - Both the new and the old item images of the - item are written to the stream. - """ - sse_specification: SSESpecification | None = ... - """Represents the settings used to enable server-side encryption.""" - tags: list[Tag] | None = ... - """ - A list of key-value pairs to label the table. For more information, see - [Tagging for - DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html). - """ - table_class: str | None = ... - """ - The table class of the new table. Valid values are `STANDARD` and - `STANDARD_INFREQUENT_ACCESS`. - """ - deletion_protection_enabled: bool | None = ... - """ - Indicates whether deletion protection is to be enabled (true) or - disabled (false) on the table. - """ - warm_throughput: WarmThroughput | None = ... - """ - Represents the warm throughput (in read units per second and write units - per second) for creating a table. - """ - resource_policy: str | None = ... - """ - An Amazon Web Services resource-based policy document in JSON format - that will be attached to the table. - - When you attach a resource-based policy while creating a table, the - policy application is *strongly consistent*. - - The maximum size supported for a resource-based policy document is 20 - KB. DynamoDB counts whitespaces when calculating the size of a policy - against this limit. For a full list of all considerations that apply for - resource-based policies, see [Resource-based policy - considerations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html). - - Note: - You need to specify the `CreateTable` and `PutResourcePolicy` IAM - actions for authorizing a user to create a table with a resource-based - policy. - """ - on_demand_throughput: OnDemandThroughput | None = ... - """ - Sets the maximum number of read and write units for the specified table - in on-demand capacity mode. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - global_table_source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the source table used for the creation - of a multi-account global table. - """ - global_table_settings_replication_mode: str | None = ... - """ - Controls the settings synchronization mode for the global table. For - multi-account global tables, this parameter is required and the only - supported value is ENABLED. For same-account global tables, this - parameter is set to ENABLED_WITH_OVERRIDES. - """ - vector_indexes: list[VectorIndex] | None = ... - """ - One or more vector indexes to be created on the table. Each vector index - enables similarity search on a vector attribute. Each element in the - list consists of: - - - `IndexName` - The name of the vector index. Must be unique within the - table. - - - `VectorAttribute` - The attribute that contains vector embeddings. If - multiple vector indexes reference the same attribute, they must all - use the same number of dimensions. - - - `Dimensions` - The number of dimensions in each vector. - - - `DistanceFunction` - The distance function used to calculate - similarity. Valid values: `COSINE`, `EUCLIDEAN`, `DOT_PRODUCT`. - - - `Projection` - Specifies attributes that are copied (projected) from - the table into the vector index. The total number of projected non-key - attributes is shared across the vector attribute (counts as 1) and - `INLINE_FILTER` search schema elements (each counts as 1). `HASH` - search schema elements do not count toward this limit. - - - `SearchSchema` - (Optional) Defines the partition key (`HASH`) and - inline filter (`INLINE_FILTER`) attributes for the vector index. - """ - -@dataclass(kw_only=True) -class CreateTableOutput(_SerdeShape): - """Represents the output of a `CreateTable` operation.""" - - table_description: TableDescription | None = ... - """Represents the properties of the table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVectorIndexAction(_SerdeShape): - """A new vector index to be added to a table.""" - - index_name: str - """The name of the vector index. Must be unique within the table.""" - vector_attribute: VectorAttributeDefinition - """ - The attribute that contains vector embeddings. If multiple vector - indexes reference the same attribute, they must all use the same number - of dimensions. - """ - search_schema: list[SearchSchemaElement] | None = ... - """ - The partition key and inline filter attribute definitions for the vector - index. - """ - projection: Projection - """ - Specifies attributes that are copied (projected) from the table into the - vector index. - """ - dimensions: int - """The number of dimensions in each vector.""" - distance_function: str - """ - The distance function used to calculate similarity. Valid values: - `COSINE`, `EUCLIDEAN`, `DOT_PRODUCT`. - """ - -@dataclass(kw_only=True) -class CsvOptions(_SerdeShape): - """Processing options for the CSV file being imported.""" - - delimiter: str | None = ... - """The delimiter used for separating items in the CSV file being imported.""" - header_list: list[str] | None = ... - """ - List of the headers used to specify a common header for all source CSV - files being imported. If this field is specified then the first line of - each CSV file is treated as data instead of the header. If this field is - not specified the the first line of each CSV file is treated as the - header. - """ - -@dataclass(kw_only=True) -class Delete(_SerdeShape): - """Represents a request to perform a `DeleteItem` operation.""" - - key: dict[str, AttributeValue] - """ - The primary key of the item to be deleted. Each element consists of an - attribute name and a value for that attribute. - """ - table_name: str - """ - Name of the table in which the item to be deleted resides. You can also - provide the Amazon Resource Name (ARN) of the table in this parameter. - """ - condition_expression: str | None = ... - """ - A condition that must be satisfied in order for a conditional delete to - succeed. - """ - expression_attribute_names: dict[str, str] | None = ... - """One or more substitution tokens for attribute names in an expression.""" - expression_attribute_values: dict[str, AttributeValue] | None = ... - """One or more values that can be substituted in an expression.""" - return_values_on_condition_check_failure: str | None = ... - """ - Use `ReturnValuesOnConditionCheckFailure` to get the item attributes if - the `Delete` condition fails. For `ReturnValuesOnConditionCheckFailure`, - the valid values are: NONE and ALL_OLD. - """ - -@dataclass(kw_only=True) -class DeleteBackupInput(_SerdeShape): - """Dataclass for DeleteBackupInput structure.""" - - backup_arn: str | None = ... - """The ARN associated with the backup.""" - -@dataclass(kw_only=True) -class DeleteBackupOutput(_SerdeShape): - """Dataclass for DeleteBackupOutput structure.""" - - backup_description: BackupDescription | None = ... - """Contains the description of the backup created for the table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGlobalSecondaryIndexAction(_SerdeShape): - """ - Represents a global secondary index to be deleted from an existing - table. - """ - - index_name: str - """The name of the global secondary index to be deleted.""" - -@dataclass(kw_only=True) -class DeleteGlobalTableWitnessGroupMemberAction(_SerdeShape): - """ - Specifies the action to remove a witness Region from a MRSC global - table. You cannot delete a single witness from a MRSC global table - you - must delete both a replica and the witness together. The deletion of - both a witness and replica converts the remaining replica to a - single-Region DynamoDB table. - """ - - region_name: str - """The witness Region name to be removed from the MRSC global table.""" - -@dataclass(kw_only=True) -class DeleteItemInput(_SerdeShape): - """Represents the input of a `DeleteItem` operation.""" - - table_name: str | None = ... - """ - The name of the table from which to delete the item. You can also - provide the Amazon Resource Name (ARN) of the table in this parameter. - """ - key: dict[str, AttributeValue] | None = ... - """ - A map of attribute names to `AttributeValue` objects, representing the - primary key of the item to delete. - - For the primary key, you must provide all of the key attributes. For - example, with a simple primary key, you only need to provide a value for - the partition key. For a composite primary key, you must provide values - for both the partition key and the sort key. - """ - expected: dict[str, ExpectedAttributeValue] | None = ... - """ - This is a legacy parameter. Use `ConditionExpression` instead. For more - information, see - [Expected](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html) - in the *Amazon DynamoDB Developer Guide*. - """ - conditional_operator: str | None = ... - """ - This is a legacy parameter. Use `ConditionExpression` instead. For more - information, see - [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) - in the *Amazon DynamoDB Developer Guide*. - """ - return_values: str | None = ... - """ - Use `ReturnValues` if you want to get the item attributes as they - appeared before they were deleted. For `DeleteItem`, the valid values - are: - - - `NONE` - If `ReturnValues` is not specified, or if its value is - `NONE`, then nothing is returned. (This setting is the default for - `ReturnValues`.) - - - `ALL_OLD` - The content of the old item is returned. - - There is no additional cost associated with requesting a return value - aside from the small network and processing overhead of receiving a - larger response. No read capacity units are consumed. - - Note: - The `ReturnValues` parameter is used by several DynamoDB operations; - however, `DeleteItem` does not recognize any values other than `NONE` or - `ALL_OLD`. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - return_item_collection_metrics: str | None = ... - """ - Determines whether item collection metrics are returned. If set to - `SIZE`, the response includes statistics about item collections, if any, - that were modified during the operation are returned in the response. If - set to `NONE` (the default), no statistics are returned. - """ - condition_expression: str | None = ... - """ - A condition that must be satisfied in order for a conditional - `DeleteItem` to succeed. - - An expression can contain any of the following: - - - Functions: - `attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size` - - These function names are case-sensitive. - - - Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN ` - - - Logical operators: `AND | OR | NOT` - - For more information about condition expressions, see [Condition - Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - The following are some use cases for using `ExpressionAttributeNames`: - - - To access an attribute whose name conflicts with a DynamoDB reserved - word. - - - To create a placeholder for repeating occurrences of an attribute name - in an expression. - - - To prevent special characters in an attribute name from being - misinterpreted in an expression. - - Use the **#** character in an expression to dereference an attribute - name. For example, consider the following attribute name: - - - `Percentile` - - The name of this attribute conflicts with a reserved word, so it cannot - be used directly in an expression. (For the complete list of reserved - words, see [Reserved - Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) - in the *Amazon DynamoDB Developer Guide*). To work around this, you - could specify the following for `ExpressionAttributeNames`: - - - `{"#P":"Percentile"}` - - You could then use this substitution in an expression, as in this - example: - - - `#P = :val` - - Note: - Tokens that begin with the **:** character are *expression attribute - values*, which are placeholders for the actual value at runtime. - - For more information on expression attribute names, see [Specifying Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_values: dict[str, AttributeValue] | None = ... - """ - One or more values that can be substituted in an expression. - - Use the **:** (colon) character in an expression to dereference an - attribute value. For example, suppose that you wanted to check whether - the value of the *ProductStatus* attribute was one of the following: - - `Available | Backordered | Discontinued` - - You would first need to specify `ExpressionAttributeValues` as follows: - - `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` - - You could then use these values in an expression, such as this: - - `ProductStatus IN (:avail, :back, :disc)` - - For more information on expression attribute values, see [Condition - Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - return_values_on_condition_check_failure: str | None = ... - """ - An optional parameter that returns the item attributes for a - `DeleteItem` operation that failed a condition check. - - There is no additional cost associated with requesting a return value - aside from the small network and processing overhead of receiving a - larger response. No read capacity units are consumed. - """ - -@dataclass(kw_only=True) -class DeleteItemOutput(_SerdeShape): - """Represents the output of a `DeleteItem` operation.""" - - attributes: dict[str, AttributeValue] | None = ... - """ - A map of attribute names to `AttributeValue` objects, representing the - item as it appeared before the `DeleteItem` operation. This map appears - in the response only if `ReturnValues` was specified as `ALL_OLD` in the - request. - """ - consumed_capacity: ConsumedCapacity | None = ... - """ - The capacity units consumed by the `DeleteItem` operation. The data - returned includes the total provisioned throughput consumed, along with - statistics for the table and any indexes involved in the operation. - `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` - parameter was specified. For more information, see [Provisioned capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html) - in the *Amazon DynamoDB Developer Guide*. - - If the table has vector indexes, the response includes a `VectorIndexes` - field with `VectorWriteRequestBytes` consumed for each affected vector - index. - """ - item_collection_metrics: ItemCollectionMetrics | None = ... - """ - Information about item collections, if any, that were affected by the - `DeleteItem` operation. `ItemCollectionMetrics` is only returned if the - `ReturnItemCollectionMetrics` parameter was specified. If the table does - not have any local secondary indexes, this information is not returned - in the response. - - Each `ItemCollectionMetrics` element consists of: - - - `ItemCollectionKey` - The partition key value of the item collection. - This is the same as the partition key value of the item itself. - - - `SizeEstimateRangeGB` - An estimate of item collection size, in - gigabytes. This value is a two-element array containing a lower bound - and an upper bound for the estimate. The estimate includes the size of - all the items in the table, plus the size of all attributes projected - into all of the local secondary indexes on that table. Use this - estimate to measure whether a local secondary index is approaching its - size limit. - - The estimate is subject to change over time; therefore, do not rely on - the precision or accuracy of the estimate. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteReplicaAction(_SerdeShape): - """Represents a replica to be removed.""" - - region_name: str - """The Region of the replica to be removed.""" - -@dataclass(kw_only=True) -class DeleteReplicationGroupMemberAction(_SerdeShape): - """Represents a replica to be deleted.""" - - region_name: str - """The Region where the replica exists.""" - -@dataclass(kw_only=True) -class DeleteRequest(_SerdeShape): - """Represents a request to perform a `DeleteItem` operation on an item.""" - - key: dict[str, AttributeValue] - """ - A map of attribute name to attribute values, representing the primary - key of the item to delete. All of the table's primary key attributes - must be specified, and their data types must match those of the table's - key schema. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyInput(_SerdeShape): - """Dataclass for DeleteResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the DynamoDB resource from which the - policy will be removed. The resources you can specify include tables and - streams. If you remove the policy of a table, it will also remove the - permissions for the table's indexes defined in that policy document. - This is because index permissions are defined in the table's policy. - """ - expected_revision_id: str | None = ... - """ - A string value that you can use to conditionally delete your policy. - When you provide an expected revision ID, if the revision ID of the - existing policy on the resource doesn't match or if there's no policy - attached to the resource, the request will fail and return a - `PolicyNotFoundException`. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyOutput(_SerdeShape): - """Dataclass for DeleteResourcePolicyOutput structure.""" - - revision_id: str | None = ... - """ - A unique string that represents the revision ID of the policy. If - you're comparing revision IDs, make sure to always use string - comparison logic. - - This value will be empty if you make a request against a resource - without a policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTableInput(_SerdeShape): - """Represents the input of a `DeleteTable` operation.""" - - table_name: str | None = ... - """ - The name of the table to delete. You can also provide the Amazon - Resource Name (ARN) of the table in this parameter. - """ - -@dataclass(kw_only=True) -class DeleteTableOutput(_SerdeShape): - """Represents the output of a `DeleteTable` operation.""" - - table_description: TableDescription | None = ... - """Represents the properties of a table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVectorIndexAction(_SerdeShape): - """A vector index to be removed from a table.""" - - index_name: str - """The name of the vector index to delete.""" - -@dataclass(kw_only=True) -class DescribeBackupInput(_SerdeShape): - """Dataclass for DescribeBackupInput structure.""" - - backup_arn: str | None = ... - """The Amazon Resource Name (ARN) associated with the backup.""" - -@dataclass(kw_only=True) -class DescribeBackupOutput(_SerdeShape): - """Dataclass for DescribeBackupOutput structure.""" - - backup_description: BackupDescription | None = ... - """Contains the description of the backup created for the table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeBulkOperationInput(_SerdeShape): - """Dataclass for DescribeBulkOperationInput structure.""" - - bulk_operation_arn: str | None = ... - """The Amazon Resource Name (ARN) of the bulk operation to describe.""" - -@dataclass(kw_only=True) -class DescribeBulkOperationOutput(_SerdeShape): - """Dataclass for DescribeBulkOperationOutput structure.""" - - bulk_operation_description: BulkOperationDescription - """Contains detailed information about the bulk operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeContinuousBackupsInput(_SerdeShape): - """Dataclass for DescribeContinuousBackupsInput structure.""" - - table_name: str | None = ... - """ - Name of the table for which the customer wants to check the continuous - backups and point in time recovery settings. - - You can also provide the Amazon Resource Name (ARN) of the table in this - parameter. - """ - -@dataclass(kw_only=True) -class DescribeContinuousBackupsOutput(_SerdeShape): - """Dataclass for DescribeContinuousBackupsOutput structure.""" - - continuous_backups_description: ContinuousBackupsDescription | None = ... - """ - Represents the continuous backups and point in time recovery settings on - the table. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeContributorInsightsInput(_SerdeShape): - """Dataclass for DescribeContributorInsightsInput structure.""" - - table_name: str | None = ... - """ - The name of the table to describe. You can also provide the Amazon - Resource Name (ARN) of the table in this parameter. - """ - index_name: str | None = ... - """The name of the global secondary index to describe, if applicable.""" - -@dataclass(kw_only=True) -class DescribeContributorInsightsOutput(_SerdeShape): - """Dataclass for DescribeContributorInsightsOutput structure.""" - - table_name: str | None = ... - """The name of the table being described.""" - index_name: str | None = ... - """The name of the global secondary index being described.""" - contributor_insights_rule_list: list[str] | None = ... - """List of names of the associated contributor insights rules.""" - contributor_insights_status: str | None = ... - """Current status of contributor insights.""" - last_update_date_time: datetime | None = ... - """Timestamp of the last time the status was changed.""" - failure_exception: FailureException | None = ... - """ - Returns information about the last failure that was encountered. - - The most common exceptions for a FAILED status are: - - - LimitExceededException - Per-account Amazon CloudWatch Contributor - Insights rule limit reached. Please disable Contributor Insights for - other tables/indexes OR disable Contributor Insights rules before - retrying. - - - AccessDeniedException - Amazon CloudWatch Contributor Insights rules - cannot be modified due to insufficient permissions. - - - AccessDeniedException - Failed to create service-linked role for - Contributor Insights due to insufficient permissions. - - - InternalServerError - Failed to create Amazon CloudWatch Contributor - Insights rules. Please retry request. - """ - contributor_insights_mode: str | None = ... - """ - The mode of CloudWatch Contributor Insights for DynamoDB that determines - which events are emitted. Can be set to track all access and throttled - events or throttled events only. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeEndpointsInput(_SerdeShape): - """Dataclass for DescribeEndpointsInput structure.""" - -@dataclass(kw_only=True) -class DescribeEndpointsOutput(_SerdeShape): - """Dataclass for DescribeEndpointsOutput structure.""" - - endpoints: list[Endpoint] - """List of endpoints.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeExportInput(_SerdeShape): - """Dataclass for DescribeExportInput structure.""" - - export_arn: str | None = ... - """The Amazon Resource Name (ARN) associated with the export.""" - -@dataclass(kw_only=True) -class DescribeExportOutput(_SerdeShape): - """Dataclass for DescribeExportOutput structure.""" - - export_description: ExportDescription | None = ... - """Represents the properties of the export.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeGlobalTableInput(_SerdeShape): - """Dataclass for DescribeGlobalTableInput structure.""" - - global_table_name: str | None = ... - """The name of the global table.""" - -@dataclass(kw_only=True) -class DescribeGlobalTableOutput(_SerdeShape): - """Dataclass for DescribeGlobalTableOutput structure.""" - - global_table_description: GlobalTableDescription | None = ... - """Contains the details of the global table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeGlobalTableSettingsInput(_SerdeShape): - """Dataclass for DescribeGlobalTableSettingsInput structure.""" - - global_table_name: str | None = ... - """The name of the global table to describe.""" - -@dataclass(kw_only=True) -class DescribeGlobalTableSettingsOutput(_SerdeShape): - """Dataclass for DescribeGlobalTableSettingsOutput structure.""" - - global_table_name: str | None = ... - """The name of the global table.""" - replica_settings: list[ReplicaSettingsDescription] | None = ... - """The Region-specific settings for the global table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeImportInput(_SerdeShape): - """Dataclass for DescribeImportInput structure.""" - - import_arn: str | None = ... - """ - The Amazon Resource Name (ARN) associated with the table you're - importing to. - """ - -@dataclass(kw_only=True) -class DescribeImportOutput(_SerdeShape): - """Dataclass for DescribeImportOutput structure.""" - - import_table_description: ImportTableDescription - """ - Represents the properties of the table created for the import, and - parameters of the import. The import parameters include import status, - how many items were processed, and how many errors were encountered. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeKinesisStreamingDestinationInput(_SerdeShape): - """Dataclass for DescribeKinesisStreamingDestinationInput structure.""" - - table_name: str | None = ... - """ - The name of the table being described. You can also provide the Amazon - Resource Name (ARN) of the table in this parameter. - """ - -@dataclass(kw_only=True) -class DescribeKinesisStreamingDestinationOutput(_SerdeShape): - """Dataclass for DescribeKinesisStreamingDestinationOutput structure.""" - - table_name: str | None = ... - """The name of the table being described.""" - kinesis_data_stream_destinations: list[KinesisDataStreamDestination] | None = ... - """The list of replica structures for the table being described.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLimitsInput(_SerdeShape): - """Represents the input of a `DescribeLimits` operation. Has no content.""" - -@dataclass(kw_only=True) -class DescribeLimitsOutput(_SerdeShape): - """Represents the output of a `DescribeLimits` operation.""" - - account_max_read_capacity_units: int | None = ... - """ - The maximum total read capacity units that your account allows you to - provision across all of your tables in this Region. - """ - account_max_write_capacity_units: int | None = ... - """ - The maximum total write capacity units that your account allows you to - provision across all of your tables in this Region. - """ - table_max_read_capacity_units: int | None = ... - """ - The maximum read capacity units that your account allows you to - provision for a new table that you are creating in this Region, - including the read capacity units provisioned for its global secondary - indexes (GSIs). - """ - table_max_write_capacity_units: int | None = ... - """ - The maximum write capacity units that your account allows you to - provision for a new table that you are creating in this Region, - including the write capacity units provisioned for its global secondary - indexes (GSIs). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTableInput(_SerdeShape): - """Represents the input of a `DescribeTable` operation.""" - - table_name: str | None = ... - """ - The name of the table to describe. You can also provide the Amazon - Resource Name (ARN) of the table in this parameter. - """ - -@dataclass(kw_only=True) -class DescribeTableOutput(_SerdeShape): - """Represents the output of a `DescribeTable` operation.""" - - table: TableDescription | None = ... - """The properties of the table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTableReplicaAutoScalingInput(_SerdeShape): - """Dataclass for DescribeTableReplicaAutoScalingInput structure.""" - - table_name: str | None = ... - """ - The name of the table. You can also provide the Amazon Resource Name - (ARN) of the table in this parameter. - """ - -@dataclass(kw_only=True) -class DescribeTableReplicaAutoScalingOutput(_SerdeShape): - """Dataclass for DescribeTableReplicaAutoScalingOutput structure.""" - - table_auto_scaling_description: TableAutoScalingDescription | None = ... - """Represents the auto scaling properties of the table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTimeToLiveInput(_SerdeShape): - """Dataclass for DescribeTimeToLiveInput structure.""" - - table_name: str | None = ... - """ - The name of the table to be described. You can also provide the Amazon - Resource Name (ARN) of the table in this parameter. - """ - -@dataclass(kw_only=True) -class DescribeTimeToLiveOutput(_SerdeShape): - """Dataclass for DescribeTimeToLiveOutput structure.""" - - time_to_live_description: TimeToLiveDescription | None = ... - """""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DestinationStatus(UnknownEnumMixin, StrEnum): - ENABLING = "ENABLING" - ACTIVE = "ACTIVE" - DISABLING = "DISABLING" - DISABLED = "DISABLED" - ENABLE_FAILED = "ENABLE_FAILED" - UPDATING = "UPDATING" - -@dataclass(kw_only=True) -class DisableKinesisStreamingDestinationInput(_SerdeShape): - """Dataclass for DisableKinesisStreamingDestinationInput structure.""" - - table_name: str | None = ... - """ - The name of the DynamoDB table. You can also provide the Amazon Resource - Name (ARN) of the table in this parameter. - """ - stream_arn: str | None = ... - """The ARN for a Kinesis data stream.""" - enable_kinesis_streaming_configuration: ( - EnableKinesisStreamingConfiguration | None - ) = ... - """The source for the Kinesis streaming information that is being enabled.""" - -@dataclass(kw_only=True) -class DisableKinesisStreamingDestinationOutput(_SerdeShape): - """Dataclass for DisableKinesisStreamingDestinationOutput structure.""" - - table_name: str | None = ... - """The name of the table being modified.""" - stream_arn: str | None = ... - """The ARN for the specific Kinesis data stream.""" - destination_status: str | None = ... - """The current status of the replication.""" - enable_kinesis_streaming_configuration: ( - EnableKinesisStreamingConfiguration | None - ) = ... - """ - The destination for the Kinesis streaming information that is being - enabled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateReplicationGroupMemberAction(_SerdeShape): - """ - The parameters for disassociating the local replica from a global table - using Version 2019.11.21 with multi-Region eventual consistency (MREC). - - After disassociation completes, the replica remains a standalone - regional table that keeps its data, indexes, and table settings. - - For request requirements, see - [UpdateTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html). - For prerequisites, the protection update, and completion checks, see - [Disassociating a global table - replica](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables-disassociate.html) - in the *Amazon DynamoDB Developer Guide*. - """ - - region_name: str - """ - The Region of the replica to disassociate. Set this value to the Region - where you send the `UpdateTable` request. You must use credentials for - the account that owns the replica. - """ - disassociation_mode: str - """ - The mode for handling pending replication before disassociation - completes. You must specify `WAIT_FOR_REPLICATION`. For more - information, see [Disassociating a global table - replica](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables-disassociate.html) - in the *Amazon DynamoDB Developer Guide*. - """ - -class DisassociationMode(UnknownEnumMixin, StrEnum): - """ - Specifies how pending replication is handled before a replica is - disassociated. `WAIT_FOR_REPLICATION` is the only supported value. - """ - - WAIT_FOR_REPLICATION = "WAIT_FOR_REPLICATION" - -@dataclass(kw_only=True) -class DuplicateItemException(ServiceError, _SerdeShape): - """ - There was an attempt to insert an item with the same primary key as an - item that already exists in the DynamoDB table. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableKinesisStreamingConfiguration(_SerdeShape): - """Enables setting the configuration for Kinesis Streaming.""" - - approximate_creation_date_time_precision: str | None = ... - """ - Toggle for the precision of Kinesis data stream timestamp. The values - are either `MILLISECOND` or `MICROSECOND`. - """ - -@dataclass(kw_only=True) -class EnableKinesisStreamingDestinationInput(_SerdeShape): - """Dataclass for EnableKinesisStreamingDestinationInput structure.""" - - table_name: str | None = ... - """ - The name of the DynamoDB table. You can also provide the Amazon Resource - Name (ARN) of the table in this parameter. - """ - stream_arn: str | None = ... - """The ARN for a Kinesis data stream.""" - enable_kinesis_streaming_configuration: ( - EnableKinesisStreamingConfiguration | None - ) = ... - """The source for the Kinesis streaming information that is being enabled.""" - -@dataclass(kw_only=True) -class EnableKinesisStreamingDestinationOutput(_SerdeShape): - """Dataclass for EnableKinesisStreamingDestinationOutput structure.""" - - table_name: str | None = ... - """The name of the table being modified.""" - stream_arn: str | None = ... - """The ARN for the specific Kinesis data stream.""" - destination_status: str | None = ... - """The current status of the replication.""" - enable_kinesis_streaming_configuration: ( - EnableKinesisStreamingConfiguration | None - ) = ... - """ - The destination for the Kinesis streaming information that is being - enabled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Endpoint(_SerdeShape): - """An endpoint information details.""" - - address: str - """IP address of the endpoint.""" - cache_period_in_minutes: int = ... - """Endpoint cache time to live (TTL) value.""" - -@dataclass(kw_only=True) -class ExecuteStatementInput(_SerdeShape): - """Dataclass for ExecuteStatementInput structure.""" - - statement: str | None = ... - """The PartiQL statement representing the operation to run.""" - parameters: list[AttributeValue] | None = ... - """The parameters for the PartiQL statement, if any.""" - consistent_read: bool | None = ... - """ - The consistency of a read operation. If set to `true`, then a strongly - consistent read is used; otherwise, an eventually consistent read is - used. - """ - next_token: str | None = ... - """ - Set this value to get remaining results, if `NextToken` was returned in - the statement response. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - limit: int | None = ... - """ - The maximum number of items to evaluate (not necessarily the number of - matching items). If DynamoDB processes the number of items up to the - limit while processing the results, it stops the operation and returns - the matching values up to that point, along with a key in - `LastEvaluatedKey` to apply in a subsequent operation so you can pick up - where you left off. Also, if the processed dataset size exceeds 1 MB - before DynamoDB reaches this limit, it stops the operation and returns - the matching values up to the limit, and a key in `LastEvaluatedKey` to - apply in a subsequent operation to continue the operation. - """ - return_values_on_condition_check_failure: str | None = ... - """ - An optional parameter that returns the item attributes for an - `ExecuteStatement` operation that failed a condition check. - - There is no additional cost associated with requesting a return value - aside from the small network and processing overhead of receiving a - larger response. No read capacity units are consumed. - """ - -@dataclass(kw_only=True) -class ExecuteStatementOutput(_SerdeShape): - """Dataclass for ExecuteStatementOutput structure.""" - - items: list[dict[str, AttributeValue]] | None = ... - """ - If a read operation was used, this property will contain the result of - the read operation; a map of attribute names and their values. For the - write operations this value will be empty. - """ - next_token: str | None = ... - """ - If the response of a read request exceeds the response payload limit - DynamoDB will set this value in the response. If set, you can use that - this value in the subsequent request to get the remaining results. - """ - consumed_capacity: ConsumedCapacity | None = ... - """ - The capacity units consumed by an operation. The data returned includes - the total provisioned throughput consumed, along with statistics for the - table and any indexes involved in the operation. `ConsumedCapacity` is - only returned if the request asked for it. For more information, see - [Provisioned capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html) - in the *Amazon DynamoDB Developer Guide*. - """ - last_evaluated_key: dict[str, AttributeValue] | None = ... - """ - The primary key of the item where the operation stopped, inclusive of - the previous result set. Use this value to start a new operation, - excluding this value in the new request. If `LastEvaluatedKey` is empty, - then the \"last page\" of results has been processed and there is no - more data to be retrieved. If `LastEvaluatedKey` is not empty, it does - not necessarily mean that there is more data in the result set. The only - way to know when you have reached the end of the result set is when - `LastEvaluatedKey` is empty. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExecuteTransactionInput(_SerdeShape): - """Dataclass for ExecuteTransactionInput structure.""" - - transact_statements: list[ParameterizedStatement] | None = ... - """The list of PartiQL statements representing the transaction to run.""" - client_request_token: str | None = ... - """ - Set this value to get remaining results, if `NextToken` was returned in - the statement response. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response. For more - information, see - [TransactGetItems](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html) - and - [TransactWriteItems](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html). - """ - -@dataclass(kw_only=True) -class ExecuteTransactionOutput(_SerdeShape): - """Dataclass for ExecuteTransactionOutput structure.""" - - responses: list[ItemResponse] | None = ... - """The response to a PartiQL transaction.""" - consumed_capacity: list[ConsumedCapacity] | None = ... - """ - The capacity units consumed by the entire operation. The values of the - list are ordered according to the ordering of the statements. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExpectedAttributeValue(_SerdeShape): - """ - Represents a condition to be compared with an attribute value. This - condition can be used with `DeleteItem`, `PutItem`, or `UpdateItem` - operations; if the comparison evaluates to true, the operation succeeds; - if not, the operation fails. You can use `ExpectedAttributeValue` in one - of two different ways: - - - Use `AttributeValueList` to specify one or more values to compare - against an attribute. Use `ComparisonOperator` to specify how you want - to perform the comparison. If the comparison evaluates to true, then - the conditional operation succeeds. - - - Use `Value` to specify a value that DynamoDB will compare against an - attribute. If the values match, then `ExpectedAttributeValue` - evaluates to true and the conditional operation succeeds. Optionally, - you can also set `Exists` to false, indicating that you *do not* - expect to find the attribute value in the table. In this case, the - conditional operation succeeds only if the comparison evaluates to - false. - - `Value` and `Exists` are incompatible with `AttributeValueList` and - `ComparisonOperator`. Note that if you use both sets of parameters at - once, DynamoDB will return a `ValidationException` exception. - """ - - value: AttributeValue | None = ... - """ - Represents the data for the expected attribute. - - Each attribute value is described as a name-value pair. The name is the - data type, and the value is the data itself. - - For more information, see [Data - Types](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes) - in the *Amazon DynamoDB Developer Guide*. - """ - exists: bool | None = ... - """ - Causes DynamoDB to evaluate the value before attempting a conditional - operation: - - - If `Exists` is `true`, DynamoDB will check to see if that attribute - value already exists in the table. If it is found, then the operation - succeeds. If it is not found, the operation fails with a - `ConditionCheckFailedException`. - - - If `Exists` is `false`, DynamoDB assumes that the attribute value does - not exist in the table. If in fact the value does not exist, then the - assumption is valid and the operation succeeds. If the value is found, - despite the assumption that it does not exist, the operation fails - with a `ConditionCheckFailedException`. - - The default setting for `Exists` is `true`. If you supply a `Value` all - by itself, DynamoDB assumes the attribute exists: You don't have to set - `Exists` to `true`, because it is implied. - - DynamoDB returns a `ValidationException` if: - - - `Exists` is `true` but there is no `Value` to check. (You expect a - value to exist, but don't specify what that value is.) - - - `Exists` is `false` but you also provide a `Value`. (You cannot expect - an attribute to have a value, while also expecting it not to exist.) - """ - comparison_operator: str | None = ... - """ - A comparator for evaluating attributes in the `AttributeValueList`. For - example, equals, greater than, less than, etc. - - The following comparison operators are available: - - `EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN` - - The following are descriptions of each comparison operator. - - - `EQ` : Equal. `EQ` is supported for all data types, including lists - and maps. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, Binary, String Set, Number Set, or Binary Set. If - an item contains an `AttributeValue` element of a different type than - the one provided in the request, the value does not match. For - example, `{"S":"6"}` does not equal `{"N":"6"}`. Also, `{"N":"6"}` - does not equal `{"NS":["6", "2", "1"]}`. - - - `NE` : Not equal. `NE` is supported for all data types, including - lists and maps. - - `AttributeValueList` can contain only one `AttributeValue` of type - String, Number, Binary, String Set, Number Set, or Binary Set. If an - item contains an `AttributeValue` of a different type than the one - provided in the request, the value does not match. For example, - `{"S":"6"}` does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not - equal `{"NS":["6", "2", "1"]}`. - - - `LE` : Less than or equal. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If an item contains - an `AttributeValue` element of a different type than the one provided - in the request, the value does not match. For example, `{"S":"6"}` - does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to - `{"NS":["6", "2", "1"]}`. - - - `LT` : Less than. - - `AttributeValueList` can contain only one `AttributeValue` of type - String, Number, or Binary (not a set type). If an item contains an - `AttributeValue` element of a different type than the one provided in - the request, the value does not match. For example, `{"S":"6"}` does - not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to - `{"NS":["6", "2", "1"]}`. - - - `GE` : Greater than or equal. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If an item contains - an `AttributeValue` element of a different type than the one provided - in the request, the value does not match. For example, `{"S":"6"}` - does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to - `{"NS":["6", "2", "1"]}`. - - - `GT` : Greater than. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If an item contains - an `AttributeValue` element of a different type than the one provided - in the request, the value does not match. For example, `{"S":"6"}` - does not equal `{"N":"6"}`. Also, `{"N":"6"}` does not compare to - `{"NS":["6", "2", "1"]}`. - - - `NOT_NULL` : The attribute exists. `NOT_NULL` is supported for all - data types, including lists and maps. - - Note: - This operator tests for the existence of an attribute, not its data - type. If the data type of attribute \"`a`\" is null, and you evaluate - it using `NOT_NULL`, the result is a Boolean `true`. This result is - because the attribute \"`a`\" exists; its data type is not relevant to - the `NOT_NULL` comparison operator. - - - `NULL` : The attribute does not exist. `NULL` is supported for all - data types, including lists and maps. - - Note: - This operator tests for the nonexistence of an attribute, not its data - type. If the data type of attribute \"`a`\" is null, and you evaluate - it using `NULL`, the result is a Boolean `false`. This is because the - attribute \"`a`\" exists; its data type is not relevant to the `NULL` - comparison operator. - - - `CONTAINS` : Checks for a subsequence, or value in a set. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If the target - attribute of the comparison is of type String, then the operator - checks for a substring match. If the target attribute of the - comparison is of type Binary, then the operator looks for a - subsequence of the target that matches the input. If the target - attribute of the comparison is a set (\"`SS`\", \"`NS`\", or - \"`BS`\"), then the operator evaluates to true if it finds an exact - match with any member of the set. - - CONTAINS is supported for lists: When evaluating \"`a CONTAINS b`\", - \"`a`\" can be a list; however, \"`b`\" cannot be a set, a map, or a - list. - - - `NOT_CONTAINS` : Checks for absence of a subsequence, or absence of a - value in a set. - - `AttributeValueList` can contain only one `AttributeValue` element of - type String, Number, or Binary (not a set type). If the target - attribute of the comparison is a String, then the operator checks for - the absence of a substring match. If the target attribute of the - comparison is Binary, then the operator checks for the absence of a - subsequence of the target that matches the input. If the target - attribute of the comparison is a set (\"`SS`\", \"`NS`\", or - \"`BS`\"), then the operator evaluates to true if it *does not* find - an exact match with any member of the set. - - NOT_CONTAINS is supported for lists: When evaluating - \"`a NOT CONTAINS b`\", \"`a`\" can be a list; however, \"`b`\" cannot - be a set, a map, or a list. - - - `BEGINS_WITH` : Checks for a prefix. - - `AttributeValueList` can contain only one `AttributeValue` of type - String or Binary (not a Number or a set type). The target attribute of - the comparison must be of type String or Binary (not a Number or a set - type). - - - `IN` : Checks for matching elements in a list. - - `AttributeValueList` can contain one or more `AttributeValue` elements - of type String, Number, or Binary. These attributes are compared - against an existing attribute of an item. If any elements of the input - are equal to the item attribute, the expression evaluates to true. - - - `BETWEEN` : Greater than or equal to the first value, and less than or - equal to the second value. - - `AttributeValueList` must contain two `AttributeValue` elements of the - same type, either String, Number, or Binary (not a set type). A target - attribute matches if the target value is greater than, or equal to, - the first element and less than, or equal to, the second element. If - an item contains an `AttributeValue` element of a different type than - the one provided in the request, the value does not match. For - example, `{"S":"6"}` does not compare to `{"N":"6"}`. Also, - `{"N":"6"}` does not compare to `{"NS":["6", "2", "1"]}` - """ - attribute_value_list: list[AttributeValue] | None = ... - """ - One or more values to evaluate against the supplied attribute. The - number of values in the list depends on the `ComparisonOperator` being - used. - - For type Number, value comparisons are numeric. - - String value comparisons for greater than, equals, or less than are - based on ASCII character code values. For example, `a` is greater than - `A`, and `a` is greater than `B`. For a list of code values, see - . - - For Binary, DynamoDB treats each byte of the binary data as unsigned - when it compares binary values. - - For information on specifying data types in JSON, see [JSON Data - Format](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html) - in the *Amazon DynamoDB Developer Guide*. - """ - -@dataclass(kw_only=True) -class ExportConflictException(ServiceError, _SerdeShape): - """There was a conflict when writing to the specified S3 bucket.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExportDescription(_SerdeShape): - """Represents the properties of the exported table.""" - - export_arn: str | None = ... - """The Amazon Resource Name (ARN) of the table export.""" - export_status: str | None = ... - """ - Export can be in one of the following states: IN_PROGRESS, COMPLETED, or - FAILED. - """ - start_time: datetime | None = ... - """The time at which the export task began.""" - end_time: datetime | None = ... - """The time at which the export task completed.""" - export_manifest: str | None = ... - """The name of the manifest file for the export task.""" - table_arn: str | None = ... - """The Amazon Resource Name (ARN) of the table that was exported.""" - table_id: str | None = ... - """Unique ID of the table that was exported.""" - export_time: datetime | None = ... - """Point in time from which table data was exported.""" - client_token: str | None = ... - """ - The client token that was provided for the export task. A client token - makes calls to `ExportTableToPointInTimeInput` idempotent, meaning that - multiple identical calls have the same effect as one single call. - """ - s3_bucket: str | None = ... - """The name of the Amazon S3 bucket containing the export.""" - s3_bucket_owner: str | None = ... - """ - The ID of the Amazon Web Services account that owns the bucket - containing the export. - """ - s3_prefix: str | None = ... - """ - The Amazon S3 bucket prefix used as the file name and path of the - exported snapshot. - """ - s3_sse_algorithm: str | None = ... - """ - Type of encryption used on the bucket where export data is stored. Valid - values for `S3SseAlgorithm` are: - - - `AES256` - server-side encryption with Amazon S3 managed keys - - - `KMS` - server-side encryption with KMS managed keys - """ - s3_sse_kms_key_id: str | None = ... - """ - The ID of the KMS managed key used to encrypt the S3 bucket where export - data is stored (if applicable). - """ - failure_code: str | None = ... - """Status code for the result of the failed export.""" - failure_message: str | None = ... - """Export failure reason description.""" - export_format: str | None = ... - """ - The format of the exported data. Valid values for `ExportFormat` are - `DYNAMODB_JSON` or `ION`. - """ - billed_size_bytes: int | None = ... - """The billable size of the table export.""" - item_count: int | None = ... - """The number of items exported.""" - export_type: str | None = ... - """ - The type of export that was performed. Valid values are `FULL_EXPORT` or - `INCREMENTAL_EXPORT`. - """ - incremental_export_specification: IncrementalExportSpecification | None = ... - """ - Optional object containing the parameters specific to an incremental - export. - """ - filter_specification: FilterSpecification | None = ... - """ - The filter criteria applied to the export. When present, only items that - match the specified key conditions and filter expressions are included - in the export output. - """ - -class ExportFormat(UnknownEnumMixin, StrEnum): - DYNAMODB_JSON = "DYNAMODB_JSON" - ION = "ION" - -@dataclass(kw_only=True) -class ExportNotFoundException(ServiceError, _SerdeShape): - """The specified export was not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ExportStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "IN_PROGRESS" - COMPLETED = "COMPLETED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class ExportSummary(_SerdeShape): - """Summary information about an export task.""" - - export_arn: str | None = ... - """The Amazon Resource Name (ARN) of the export.""" - export_status: str | None = ... - """ - Export can be in one of the following states: IN_PROGRESS, COMPLETED, or - FAILED. - """ - export_type: str | None = ... - """ - The type of export that was performed. Valid values are `FULL_EXPORT` or - `INCREMENTAL_EXPORT`. - """ - -@dataclass(kw_only=True) -class ExportTableToPointInTimeInput(_SerdeShape): - """Dataclass for ExportTableToPointInTimeInput structure.""" - - table_arn: str | None = ... - """The Amazon Resource Name (ARN) associated with the table to export.""" - export_time: datetime | None = ... - """ - Time in the past from which to export table data, counted in seconds - from the start of the Unix epoch. The table export will be a snapshot of - the table's state at this point in time. - """ - client_token: str | None = ... - """ - Providing a `ClientToken` makes the call to - `ExportTableToPointInTimeInput` idempotent, meaning that multiple - identical calls have the same effect as one single call. - - A client token is valid for 8 hours after the first request that uses it - is completed. After 8 hours, any request with the same client token is - treated as a new request. Do not resubmit the same request with the same - client token for more than 8 hours, or the result might not be - idempotent. - - If you submit a request with the same client token but a change in other - parameters within the 8-hour idempotency window, DynamoDB returns an - `ExportConflictException`. - """ - s3_bucket: str | None = ... - """The name of the Amazon S3 bucket to export the snapshot to.""" - s3_bucket_owner: str | None = ... - """ - The ID of the Amazon Web Services account that owns the bucket the - export will be stored in. - - Note: - S3BucketOwner is a required parameter when exporting to a S3 bucket in - another account. - """ - s3_prefix: str | None = ... - """ - The Amazon S3 bucket prefix to use as the file name and path of the - exported snapshot. - """ - s3_sse_algorithm: str | None = ... - """ - Type of encryption used on the bucket where export data will be stored. - Valid values for `S3SseAlgorithm` are: - - - `AES256` - server-side encryption with Amazon S3 managed keys - - - `KMS` - server-side encryption with KMS managed keys - """ - s3_sse_kms_key_id: str | None = ... - """ - The ID of the KMS managed key used to encrypt the S3 bucket where export - data will be stored (if applicable). - """ - export_format: str | None = ... - """ - The format for the exported data. Valid values for `ExportFormat` are - `DYNAMODB_JSON` or `ION`. - """ - export_type: str | None = ... - """ - Choice of whether to execute as a full export or incremental export. - Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is - FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the - IncrementalExportSpecification must also be used. - """ - incremental_export_specification: IncrementalExportSpecification | None = ... - """ - Optional object containing the parameters specific to an incremental - export. - """ - filter_specification: FilterSpecification | None = ... - """ - The criteria used to filter which items are included in the - point-in-time export. When you specify this parameter, only items that - match the key conditions and filter expressions are exported. - """ - -@dataclass(kw_only=True) -class ExportTableToPointInTimeOutput(_SerdeShape): - """Dataclass for ExportTableToPointInTimeOutput structure.""" - - export_description: ExportDescription | None = ... - """Contains a description of the table export.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ExportType(UnknownEnumMixin, StrEnum): - FULL_EXPORT = "FULL_EXPORT" - INCREMENTAL_EXPORT = "INCREMENTAL_EXPORT" - -class ExportViewType(UnknownEnumMixin, StrEnum): - NEW_IMAGE = "NEW_IMAGE" - NEW_AND_OLD_IMAGES = "NEW_AND_OLD_IMAGES" - -@dataclass(kw_only=True) -class FailureException(_SerdeShape): - """Represents a failure a contributor insights operation.""" - - exception_name: str | None = ... - """Exception name.""" - exception_description: str | None = ... - """Description of the failure.""" - -@dataclass(kw_only=True) -class FilterSpecification(_SerdeShape): - """ - Contains the filter criteria used to limit which items are included in - an export. If you don't include this parameter, all items and - attributes are exported. - """ - - filter_expression: str | None = ... - """ - A condition that filters which items are included in the export. This - parameter uses the same syntax as `FilterExpression` in `Query` and - `Scan`. If you don't provide `KeyConditionExpression`, this expression - can also reference key attributes. If you don't specify this parameter, - all items are included in the export. - """ - projection_expression: str | None = ... - """ - The attributes you want to retrieve for items included in the export. - Separate attribute names in the expression with commas. If you don't - specify this parameter, all attributes are returned. - """ - key_condition_expression: str | None = ... - """ - A condition expression that filters items by key values. The expression - must test equality on a single partition key value and can optionally - compare a sort key value. This parameter uses the same syntax as - `KeyConditionExpression` in `Query`. When you provide this parameter, - `FilterExpression` can only reference non-key attributes. If you don't - specify this parameter, all items are eligible for export. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - For more information, see [Expression Attribute - Names](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeNames.html) - in the Amazon DynamoDB Developer Guide. - """ - expression_attribute_values: dict[str, AttributeValue] | None = ... - """ - One or more values that can be substituted in an expression. For more - information, see [Expression Attribute - Values](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeValues.html) - in the Amazon DynamoDB Developer Guide. - """ - -@dataclass(kw_only=True) -class Get(_SerdeShape): - """ - Specifies an item and related attribute values to retrieve in a - `TransactGetItem` object. - """ - - key: dict[str, AttributeValue] - """ - A map of attribute names to `AttributeValue` objects that specifies the - primary key of the item to retrieve. - """ - table_name: str - """ - The name of the table from which to retrieve the specified item. You can - also provide the Amazon Resource Name (ARN) of the table in this - parameter. - """ - projection_expression: str | None = ... - """ - A string that identifies one or more attributes of the specified item to - retrieve from the table. The attributes in the expression must be - separated by commas. If no attribute names are specified, then all - attributes of the specified item are returned. If any of the requested - attributes are not found, they do not appear in the result. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in the - ProjectionExpression parameter. - """ - -@dataclass(kw_only=True) -class GetItemInput(_SerdeShape): - """Represents the input of a `GetItem` operation.""" - - table_name: str | None = ... - """ - The name of the table containing the requested item. You can also - provide the Amazon Resource Name (ARN) of the table in this parameter. - """ - key: dict[str, AttributeValue] | None = ... - """ - A map of attribute names to `AttributeValue` objects, representing the - primary key of the item to retrieve. - - For the primary key, you must provide all of the attributes. For - example, with a simple primary key, you only need to provide a value for - the partition key. For a composite primary key, you must provide values - for both the partition key and the sort key. - """ - attributes_to_get: list[str] | None = ... - """ - This is a legacy parameter. Use `ProjectionExpression` instead. For more - information, see - [AttributesToGet](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html) - in the *Amazon DynamoDB Developer Guide*. - """ - consistent_read: bool | None = ... - """ - Determines the read consistency model: If set to `true`, then the - operation uses strongly consistent reads; otherwise, the operation uses - eventually consistent reads. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - projection_expression: str | None = ... - """ - A string that identifies one or more attributes to retrieve from the - table. These attributes can include scalars, sets, or elements of a JSON - document. The attributes in the expression must be separated by commas. - - If no attribute names are specified, then all attributes are returned. - If any of the requested attributes are not found, they do not appear in - the result. - - For more information, see [Specifying Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - The following are some use cases for using `ExpressionAttributeNames`: - - - To access an attribute whose name conflicts with a DynamoDB reserved - word. - - - To create a placeholder for repeating occurrences of an attribute name - in an expression. - - - To prevent special characters in an attribute name from being - misinterpreted in an expression. - - Use the **#** character in an expression to dereference an attribute - name. For example, consider the following attribute name: - - - `Percentile` - - The name of this attribute conflicts with a reserved word, so it cannot - be used directly in an expression. (For the complete list of reserved - words, see [Reserved - Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) - in the *Amazon DynamoDB Developer Guide*). To work around this, you - could specify the following for `ExpressionAttributeNames`: - - - `{"#P":"Percentile"}` - - You could then use this substitution in an expression, as in this - example: - - - `#P = :val` - - Note: - Tokens that begin with the **:** character are *expression attribute - values*, which are placeholders for the actual value at runtime. - - For more information on expression attribute names, see [Specifying Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - -@dataclass(kw_only=True) -class GetItemOutput(_SerdeShape): - """Represents the output of a `GetItem` operation.""" - - item: dict[str, AttributeValue] | None = ... - """ - A map of attribute names to `AttributeValue` objects, as specified by - `ProjectionExpression`. - """ - consumed_capacity: ConsumedCapacity | None = ... - """ - The capacity units consumed by the `GetItem` operation. The data - returned includes the total provisioned throughput consumed, along with - statistics for the table and any indexes involved in the operation. - `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` - parameter was specified. For more information, see [Capacity unit - consumption for read - operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption) - in the *Amazon DynamoDB Developer Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyInput(_SerdeShape): - """Dataclass for GetResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the DynamoDB resource to which the - policy is attached. The resources you can specify include tables and - streams. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyOutput(_SerdeShape): - """Dataclass for GetResourcePolicyOutput structure.""" - - policy: str | None = ... - """ - The resource-based policy document attached to the resource, which can - be a table or stream, in JSON format. - """ - revision_id: str | None = ... - """ - A unique string that represents the revision ID of the policy. If - you're comparing revision IDs, make sure to always use string - comparison logic. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GlobalSecondaryIndex(_SerdeShape): - """Represents the properties of a global secondary index.""" - - index_name: str - """ - The name of the global secondary index. The name must be unique among - all other indexes on this table. - """ - key_schema: list[KeySchemaElement] - """ - The complete key schema for a global secondary index, which consists of - one or more pairs of attribute names and key types: - - - `HASH` - partition key - - - `RANGE` - sort key - - Note: - The partition key of an item is also known as its *hash attribute*. The - term \"hash attribute\" derives from DynamoDB's usage of an internal - hash function to evenly distribute data items across partitions, based - on their partition key values. - - The sort key of an item is also known as its *range attribute*. The term - \"range attribute\" derives from the way DynamoDB stores items with the - same partition key physically close together, in sorted order by the - sort key value. - """ - projection: Projection - """ - Represents attributes that are copied (projected) from the table into - the global secondary index. These are in addition to the primary key - attributes and index key attributes, which are automatically projected. - """ - provisioned_throughput: ProvisionedThroughput | None = ... - """ - Represents the provisioned throughput settings for the specified global - secondary index. You must use either `OnDemandThroughput` or - `ProvisionedThroughput` based on your table's capacity mode. - - For current minimum and maximum provisioned throughput values, see - [Service, Account, and Table - Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) - in the *Amazon DynamoDB Developer Guide*. - """ - on_demand_throughput: OnDemandThroughput | None = ... - """ - The maximum number of read and write units for the specified global - secondary index. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. You must use - either `OnDemandThroughput` or `ProvisionedThroughput` based on your - table's capacity mode. - """ - warm_throughput: WarmThroughput | None = ... - """ - Represents the warm throughput value (in read units per second and write - units per second) for the specified secondary index. If you use this - parameter, you must specify `ReadUnitsPerSecond`, `WriteUnitsPerSecond`, - or both. - """ - -@dataclass(kw_only=True) -class GlobalSecondaryIndexAutoScalingUpdate(_SerdeShape): - """ - Represents the auto scaling settings of a global secondary index for a - global table that will be modified. - """ - - index_name: str | None = ... - """The name of the global secondary index.""" - provisioned_write_capacity_auto_scaling_update: ( - AutoScalingSettingsUpdate | None - ) = ... - """ - Represents the auto scaling settings to be modified for a global table - or global secondary index. - """ - -@dataclass(kw_only=True) -class GlobalSecondaryIndexDescription(_SerdeShape): - """Represents the properties of a global secondary index.""" - - index_name: str | None = ... - """The name of the global secondary index.""" - key_schema: list[KeySchemaElement] | None = ... - """ - The complete key schema for a global secondary index, which consists of - one or more pairs of attribute names and key types: - - - `HASH` - partition key - - - `RANGE` - sort key - - Note: - The partition key of an item is also known as its *hash attribute*. The - term \"hash attribute\" derives from DynamoDB's usage of an internal - hash function to evenly distribute data items across partitions, based - on their partition key values. - - The sort key of an item is also known as its *range attribute*. The term - \"range attribute\" derives from the way DynamoDB stores items with the - same partition key physically close together, in sorted order by the - sort key value. - """ - projection: Projection | None = ... - """ - Represents attributes that are copied (projected) from the table into - the global secondary index. These are in addition to the primary key - attributes and index key attributes, which are automatically projected. - """ - index_status: str | None = ... - """ - The current state of the global secondary index: - - - `CREATING` - The index is being created. - - - `UPDATING` - The index is being updated. - - - `DELETING` - The index is being deleted. - - - `ACTIVE` - The index is ready for use. - """ - backfilling: bool | None = ... - """ - Indicates whether the index is currently backfilling. *Backfilling* is - the process of reading items from the table and determining whether they - can be added to the index. (Not all items will qualify: For example, a - partition key cannot have any duplicate values.) If an item can be added - to the index, DynamoDB will do so. After all items have been processed, - the backfilling operation is complete and `Backfilling` is false. - - You can delete an index that is being created during the `Backfilling` - phase when `IndexStatus` is set to CREATING and `Backfilling` is true. - You can't delete the index that is being created when `IndexStatus` is - set to CREATING and `Backfilling` is false. - - Note: - For indexes that were created during a `CreateTable` operation, the - `Backfilling` attribute does not appear in the `DescribeTable` output. - """ - provisioned_throughput: ProvisionedThroughputDescription | None = ... - """ - Represents the provisioned throughput settings for the specified global - secondary index. - - For current minimum and maximum provisioned throughput values, see - [Service, Account, and Table - Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) - in the *Amazon DynamoDB Developer Guide*. - """ - index_size_bytes: int | None = ... - """ - The total size of the specified index, in bytes. DynamoDB updates this - value approximately every six hours. Recent changes might not be - reflected in this value. - """ - item_count: int | None = ... - """ - The number of items in the specified index. DynamoDB updates this value - approximately every six hours. Recent changes might not be reflected in - this value. - """ - index_arn: str | None = ... - """The Amazon Resource Name (ARN) that uniquely identifies the index.""" - on_demand_throughput: OnDemandThroughput | None = ... - """ - The maximum number of read and write units for the specified global - secondary index. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - warm_throughput: GlobalSecondaryIndexWarmThroughputDescription | None = ... - """ - Represents the warm throughput value (in read units per second and write - units per second) for the specified secondary index. - """ - -@dataclass(kw_only=True) -class GlobalSecondaryIndexInfo(_SerdeShape): - """ - Represents the properties of a global secondary index for the table when - the backup was created. - """ - - index_name: str | None = ... - """The name of the global secondary index.""" - key_schema: list[KeySchemaElement] | None = ... - """ - The complete key schema for a global secondary index, which consists of - one or more pairs of attribute names and key types: - - - `HASH` - partition key - - - `RANGE` - sort key - - Note: - The partition key of an item is also known as its *hash attribute*. The - term \"hash attribute\" derives from DynamoDB's usage of an internal - hash function to evenly distribute data items across partitions, based - on their partition key values. - - The sort key of an item is also known as its *range attribute*. The term - \"range attribute\" derives from the way DynamoDB stores items with the - same partition key physically close together, in sorted order by the - sort key value. - """ - projection: Projection | None = ... - """ - Represents attributes that are copied (projected) from the table into - the global secondary index. These are in addition to the primary key - attributes and index key attributes, which are automatically projected. - """ - provisioned_throughput: ProvisionedThroughput | None = ... - """ - Represents the provisioned throughput settings for the specified global - secondary index. - """ - on_demand_throughput: OnDemandThroughput | None = ... - """ - Sets the maximum number of read and write units for the specified - on-demand table. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - -@dataclass(kw_only=True) -class GlobalSecondaryIndexUpdate(_SerdeShape): - """ - Represents one of the following: - - - A new global secondary index to be added to an existing table. - - - New provisioned throughput parameters for an existing global secondary - index. - - - An existing global secondary index to be removed from an existing - table. - """ - - update: UpdateGlobalSecondaryIndexAction | None = ... - """ - The name of an existing global secondary index, along with new - provisioned throughput settings to be applied to that index. - """ - create: CreateGlobalSecondaryIndexAction | None = ... - """ - The parameters required for creating a global secondary index on an - existing table: - - - `IndexName ` - - - `KeySchema ` - - - `AttributeDefinitions ` - - - `Projection ` - - - `ProvisionedThroughput ` - """ - delete: DeleteGlobalSecondaryIndexAction | None = ... - """The name of an existing global secondary index to be removed.""" - -@dataclass(kw_only=True) -class GlobalSecondaryIndexWarmThroughputDescription(_SerdeShape): - """ - The description of the warm throughput value on a global secondary - index. - """ - - read_units_per_second: int | None = ... - """ - Represents warm throughput read units per second value for a global - secondary index. - """ - write_units_per_second: int | None = ... - """ - Represents warm throughput write units per second value for a global - secondary index. - """ - status: str | None = ... - """ - Represents the warm throughput status being created or updated on a - global secondary index. The status can only be `UPDATING` or `ACTIVE`. - """ - -@dataclass(kw_only=True) -class GlobalTable(_SerdeShape): - """Represents the properties of a global table.""" - - global_table_name: str | None = ... - """The global table name.""" - replication_group: list[Replica] | None = ... - """The Regions where the global table has replicas.""" - -@dataclass(kw_only=True) -class GlobalTableAlreadyExistsException(ServiceError, _SerdeShape): - """The specified global table already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GlobalTableDescription(_SerdeShape): - """Contains details about the global table.""" - - replication_group: list[ReplicaDescription] | None = ... - """The Regions where the global table has replicas.""" - global_table_arn: str | None = ... - """The unique identifier of the global table.""" - creation_date_time: datetime | None = ... - """The creation time of the global table.""" - global_table_status: str | None = ... - """ - The current state of the global table: - - - `CREATING` - The global table is being created. - - - `UPDATING` - The global table is being updated. - - - `DELETING` - The global table is being deleted. - - - `ACTIVE` - The global table is ready for use. - """ - global_table_name: str | None = ... - """The global table name.""" - -@dataclass(kw_only=True) -class GlobalTableGlobalSecondaryIndexSettingsUpdate(_SerdeShape): - """ - Represents the settings of a global secondary index for a global table - that will be modified. - """ - - index_name: str - """ - The name of the global secondary index. The name must be unique among - all other indexes on this table. - """ - provisioned_write_capacity_units: int | None = ... - """ - The maximum number of writes consumed per second before DynamoDB returns - a `ThrottlingException.` - """ - provisioned_write_capacity_auto_scaling_settings_update: ( - AutoScalingSettingsUpdate | None - ) = ... - """ - Auto scaling settings for managing a global secondary index's write - capacity units. - """ - -@dataclass(kw_only=True) -class GlobalTableNotFoundException(ServiceError, _SerdeShape): - """The specified global table does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class GlobalTableSettingsReplicationMode(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - ENABLED_WITH_OVERRIDES = "ENABLED_WITH_OVERRIDES" - -class GlobalTableStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - DELETING = "DELETING" - UPDATING = "UPDATING" - -@dataclass(kw_only=True) -class GlobalTableWitnessDescription(_SerdeShape): - """Represents the properties of a witness Region in a MRSC global table.""" - - region_name: str | None = ... - """ - The name of the Amazon Web Services Region that serves as a witness for - the MRSC global table. - """ - witness_status: str | None = ... - """The current status of the witness Region in the MRSC global table.""" - -@dataclass(kw_only=True) -class GlobalTableWitnessGroupUpdate(_SerdeShape): - """ - Represents one of the following: - - - A new witness to be added to a new global table. - - - An existing witness to be removed from an existing global table. - - You can configure one witness per MRSC global table. - """ - - create: CreateGlobalTableWitnessGroupMemberAction | None = ... - """ - Specifies a witness Region to be added to a new MRSC global table. The - witness must be added when creating the MRSC global table. - """ - delete: DeleteGlobalTableWitnessGroupMemberAction | None = ... - """ - Specifies a witness Region to be removed from an existing global table. - Must be done in conjunction with removing a replica. The deletion of - both a witness and replica converts the remaining replica to a - single-Region DynamoDB table. - """ - -@dataclass(kw_only=True) -class IdempotentParameterMismatchException(ServiceError, _SerdeShape): - """ - DynamoDB rejected the request because you retried a request with a - different payload but with an idempotent token that was already used. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportConflictException(ServiceError, _SerdeShape): - """ - There was a conflict when importing from the specified S3 source. This - can occur when the current import conflicts with a previous import - request that had the same client token. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportNotFoundException(ServiceError, _SerdeShape): - """The specified import was not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ImportStatus(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "IN_PROGRESS" - COMPLETED = "COMPLETED" - CANCELLING = "CANCELLING" - CANCELLED = "CANCELLED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class ImportSummary(_SerdeShape): - """Summary information about the source file for the import.""" - - import_arn: str | None = ... - """The Amazon Resource Number (ARN) corresponding to the import request.""" - import_status: str | None = ... - """The status of the import operation.""" - table_arn: str | None = ... - """The Amazon Resource Number (ARN) of the table being imported into.""" - s3_bucket_source: S3BucketSource | None = ... - """ - The path and S3 bucket of the source file that is being imported. This - includes the S3Bucket (required), S3KeyPrefix (optional) and - S3BucketOwner (optional if the bucket is owned by the requester). - """ - cloud_watch_log_group_arn: str | None = ... - """ - The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated - with this import task. - """ - input_format: str | None = ... - """ - The format of the source data. Valid values are `CSV`, `DYNAMODB_JSON` - or `ION`. - """ - start_time: datetime | None = ... - """The time at which this import task began.""" - end_time: datetime | None = ... - """The time at which this import task ended.""" - -@dataclass(kw_only=True) -class ImportTableDescription(_SerdeShape): - """Represents the properties of the table being imported into.""" - - import_arn: str | None = ... - """The Amazon Resource Number (ARN) corresponding to the import request.""" - import_status: str | None = ... - """The status of the import.""" - table_arn: str | None = ... - """The Amazon Resource Number (ARN) of the table being imported into.""" - table_id: str | None = ... - """The table id corresponding to the table created by import table process.""" - client_token: str | None = ... - """ - The client token that was provided for the import task. Reusing the - client token on retry makes a call to `ImportTable` idempotent. - """ - s3_bucket_source: S3BucketSource | None = ... - """ - Values for the S3 bucket the source file is imported from. Includes - bucket name (required), key prefix (optional) and bucket account owner - ID (optional). - """ - error_count: int = ... - """ - The number of errors occurred on importing the source file into the - target table. - """ - cloud_watch_log_group_arn: str | None = ... - """ - The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated - with the target table. - """ - input_format: str | None = ... - """The format of the source data going into the target table.""" - input_format_options: InputFormatOptions | None = ... - """ - The format options for the data that was imported into the target table. - There is one value, CsvOption. - """ - input_compression_type: str | None = ... - """ - The compression options for the data that has been imported into the - target table. The values are NONE, GZIP, or ZSTD. - """ - table_creation_parameters: TableCreationParameters | None = ... - """The parameters for the new table that is being imported into.""" - start_time: datetime | None = ... - """The time when this import task started.""" - end_time: datetime | None = ... - """ - The time at which the creation of the table associated with this import - task completed. - """ - processed_size_bytes: int | None = ... - """The total size of data processed from the source file, in Bytes.""" - processed_item_count: int = ... - """The total number of items processed from the source file.""" - imported_item_count: int = ... - """The number of items successfully imported into the new table.""" - failure_code: str | None = ... - """ - The error code corresponding to the failure that the import job ran into - during execution. - """ - failure_message: str | None = ... - """ - The error message corresponding to the failure that the import job ran - into during execution. - """ - -@dataclass(kw_only=True) -class ImportTableInput(_SerdeShape): - """Dataclass for ImportTableInput structure.""" - - client_token: str | None = ... - """ - Providing a `ClientToken` makes the call to `ImportTableInput` - idempotent, meaning that multiple identical calls have the same effect - as one single call. - - A client token is valid for 8 hours after the first request that uses it - is completed. After 8 hours, any request with the same client token is - treated as a new request. Do not resubmit the same request with the same - client token for more than 8 hours, or the result might not be - idempotent. - - If you submit a request with the same client token but a change in other - parameters within the 8-hour idempotency window, DynamoDB returns an - `IdempotentParameterMismatch` exception. - """ - s3_bucket_source: S3BucketSource | None = ... - """The S3 bucket that provides the source for the import.""" - input_format: str | None = ... - """ - The format of the source data. Valid values for `ImportFormat` are - `CSV`, `DYNAMODB_JSON` or `ION`. - """ - input_format_options: InputFormatOptions | None = ... - """Additional properties that specify how the input is formatted,""" - input_compression_type: str | None = ... - """ - Type of compression to be used on the input coming from the imported - table. - """ - table_creation_parameters: TableCreationParameters | None = ... - """Parameters for the table to import the data into.""" - -@dataclass(kw_only=True) -class ImportTableOutput(_SerdeShape): - """Dataclass for ImportTableOutput structure.""" - - import_table_description: ImportTableDescription - """ - Represents the properties of the table created for the import, and - parameters of the import. The import parameters include import status, - how many items were processed, and how many errors were encountered. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IncrementalExportSpecification(_SerdeShape): - """ - Optional object containing the parameters specific to an incremental - export. - """ - - export_from_time: datetime | None = ... - """ - Time in the past which provides the inclusive start range for the export - table's data, counted in seconds from the start of the Unix epoch. The - incremental export will reflect the table's state including and after - this point in time. - """ - export_to_time: datetime | None = ... - """ - Time in the past which provides the exclusive end range for the export - table's data, counted in seconds from the start of the Unix epoch. The - incremental export will reflect the table's state just prior to this - point in time. If this is not provided, the latest time with data - available will be used. - """ - export_view_type: str | None = ... - """ - The view type that was chosen for the export. Valid values are - `NEW_AND_OLD_IMAGES` and `NEW_IMAGES`. The default value is - `NEW_AND_OLD_IMAGES`. - - `NEW_AND_OLD_IMAGES` exports both the new and old images of each changed - item, while `NEW_IMAGES` exports only the new (latest) image. The view - type you choose determines the structure of each item in the output for - `insert`, `update`, and `delete` operations. For details and examples of - how each view type shapes the export output, see [DynamoDB table export - output - format](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html) - in the *Amazon DynamoDB Developer Guide*. - """ - -@dataclass(kw_only=True) -class IndexNotFoundException(ServiceError, _SerdeShape): - """The operation tried to access a nonexistent index.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class IndexStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - UPDATING = "UPDATING" - DELETING = "DELETING" - ACTIVE = "ACTIVE" - -class InputCompressionType(UnknownEnumMixin, StrEnum): - GZIP = "GZIP" - ZSTD = "ZSTD" - NONE = "NONE" - -class InputFormat(UnknownEnumMixin, StrEnum): - DYNAMODB_JSON = "DYNAMODB_JSON" - ION = "ION" - CSV = "CSV" - -@dataclass(kw_only=True) -class InputFormatOptions(_SerdeShape): - """ - The format options for the data that was imported into the target table. - There is one value, CsvOption. - """ - - csv: CsvOptions | None = ... - """ - The options for imported source files in CSV format. The values are - Delimiter and HeaderList. - """ - -@dataclass(kw_only=True) -class InputS3Configuration(_SerdeShape): - """ - Contains the Amazon S3 location and format settings for bulk operation - input. The `S3Bucket` and `InputFormat` fields are required. - """ - - s3_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID of the input bucket owner. If you - omit this value, DynamoDB uses the Amazon Web Services account ID of the - requester. - - Note: - `S3BucketOwner` is required when the bucket is owned by another Amazon - Web Services account. - """ - s3_bucket: str - """The name of the Amazon S3 bucket that contains the input objects.""" - s3_key_prefix: str | None = ... - """ - An optional key prefix that limits the input to matching objects in the - Amazon S3 bucket. - """ - input_format: str - """ - The format of the input objects. `DYNAMODB_JSON` uses JSON Lines, with - one JSON record per line. `ION` uses a sequence of Ion structs. - """ - input_compression_type: str | None = ... - """ - The compression type of the input objects. Valid values are `GZIP`, - `ZSTD`, and `NONE`. If you don't specify a value, DynamoDB uses `NONE`. - """ - -@dataclass(kw_only=True) -class InternalServerError(ServiceError, _SerdeShape): - """An error occurred on the server side.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidEndpointException(ServiceError, _SerdeShape): - """Dataclass for InvalidEndpointException structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidExportTimeException(ServiceError, _SerdeShape): - """ - The specified `ExportTime` is outside of the point in time recovery - window. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidRestoreTimeException(ServiceError, _SerdeShape): - """ - An invalid restore time was specified. RestoreDateTime must be between - EarliestRestorableDateTime and LatestRestorableDateTime. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ItemCollectionMetrics(_SerdeShape): - """ - Information about item collections, if any, that were affected by the - operation. `ItemCollectionMetrics` is only returned if the request asked - for it. If the table does not have any local secondary indexes, this - information is not returned in the response. - """ - - item_collection_key: dict[str, AttributeValue] | None = ... - """ - The partition key value of the item collection. This value is the same - as the partition key value of the item. - """ - size_estimate_range_gb: list[float] | None = ... - """ - An estimate of item collection size, in gigabytes. This value is a - two-element array containing a lower bound and an upper bound for the - estimate. The estimate includes the size of all the items in the table, - plus the size of all attributes projected into all of the local - secondary indexes on that table. Use this estimate to measure whether a - local secondary index is approaching its size limit. - - The estimate is subject to change over time; therefore, do not rely on - the precision or accuracy of the estimate. - """ - -@dataclass(kw_only=True) -class ItemCollectionSizeLimitExceededException(ServiceError, _SerdeShape): - """ - An item collection is too large. This exception is only returned for - tables that have one or more local secondary indexes. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ItemResponse(_SerdeShape): - """Details for the requested item.""" - - item: dict[str, AttributeValue] | None = ... - """Map of attribute data consisting of the data type and attribute value.""" - -@dataclass(kw_only=True) -class KeysAndAttributes(_SerdeShape): - """ - Represents a set of primary keys and, for each key, the attributes to - retrieve from the table. - - For each primary key, you must provide *all* of the key attributes. For - example, with a simple primary key, you only need to provide the - partition key. For a composite primary key, you must provide *both* the - partition key and the sort key. - """ - - keys: list[dict[str, AttributeValue]] - """ - The primary key attribute values that define the items and the - attributes associated with the items. - """ - attributes_to_get: list[str] | None = ... - """ - This is a legacy parameter. Use `ProjectionExpression` instead. For more - information, see [Legacy Conditional - Parameters](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html) - in the *Amazon DynamoDB Developer Guide*. - """ - consistent_read: bool | None = ... - """ - The consistency of a read operation. If set to `true`, then a strongly - consistent read is used; otherwise, an eventually consistent read is - used. - """ - projection_expression: str | None = ... - """ - A string that identifies one or more attributes to retrieve from the - table. These attributes can include scalars, sets, or elements of a JSON - document. The attributes in the `ProjectionExpression` must be separated - by commas. - - If no attribute names are specified, then all attributes will be - returned. If any of the requested attributes are not found, they will - not appear in the result. - - For more information, see [Accessing Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - The following are some use cases for using `ExpressionAttributeNames`: - - - To access an attribute whose name conflicts with a DynamoDB reserved - word. - - - To create a placeholder for repeating occurrences of an attribute name - in an expression. - - - To prevent special characters in an attribute name from being - misinterpreted in an expression. - - Use the **#** character in an expression to dereference an attribute - name. For example, consider the following attribute name: - - - `Percentile` - - The name of this attribute conflicts with a reserved word, so it cannot - be used directly in an expression. (For the complete list of reserved - words, see [Reserved - Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) - in the *Amazon DynamoDB Developer Guide*). To work around this, you - could specify the following for `ExpressionAttributeNames`: - - - `{"#P":"Percentile"}` - - You could then use this substitution in an expression, as in this - example: - - - `#P = :val` - - Note: - Tokens that begin with the **:** character are *expression attribute - values*, which are placeholders for the actual value at runtime. - - For more information on expression attribute names, see [Accessing Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - -@dataclass(kw_only=True) -class KeySchemaElement(_SerdeShape): - """ - Represents *a single element* of a key schema. A key schema specifies - the attributes that make up the primary key of a table, or the key - attributes of an index. - - A `KeySchemaElement` represents exactly one attribute of the primary - key. For example, a simple primary key would be represented by one - `KeySchemaElement` (for the partition key). A composite primary key - would require one `KeySchemaElement` for the partition key, and another - `KeySchemaElement` for the sort key. - - A `KeySchemaElement` must be a scalar, top-level attribute (not a nested - attribute). The data type must be one of String, Number, or Binary. The - attribute cannot be nested within a List or a Map. - """ - - attribute_name: str - """The name of a key attribute.""" - key_type: str - """ - The role that this key attribute will assume: - - - `HASH` - partition key - - - `RANGE` - sort key - - Note: - The partition key of an item is also known as its *hash attribute*. The - term \"hash attribute\" derives from DynamoDB's usage of an internal - hash function to evenly distribute data items across partitions, based - on their partition key values. - - The sort key of an item is also known as its *range attribute*. The term - \"range attribute\" derives from the way DynamoDB stores items with the - same partition key physically close together, in sorted order by the - sort key value. - """ - -class KeyType(UnknownEnumMixin, StrEnum): - HASH = "HASH" - RANGE = "RANGE" - -@dataclass(kw_only=True) -class KinesisDataStreamDestination(_SerdeShape): - """Describes a Kinesis data stream destination.""" - - stream_arn: str | None = ... - """The ARN for a specific Kinesis data stream.""" - destination_status: str | None = ... - """The current status of replication.""" - destination_status_description: str | None = ... - """The human-readable string that corresponds to the replica status.""" - approximate_creation_date_time_precision: str | None = ... - """ - The precision of the Kinesis data stream timestamp. The values are - either `MILLISECOND` or `MICROSECOND`. - """ - -@dataclass(kw_only=True) -class LimitExceededException(ServiceError, _SerdeShape): - """ - There is no limit to the number of daily on-demand backups that can be - taken. - - For most purposes, up to 500 simultaneous table operations are allowed - per account. These operations include `CreateTable`, `UpdateTable`, - `DeleteTable`,`UpdateTimeToLive`, `RestoreTableFromBackup`, and - `RestoreTableToPointInTime`. - - When you are creating a table with one or more secondary indexes, you - can have up to 250 such requests running at a time. However, if the - table or index specifications are complex, then DynamoDB might - temporarily reduce the number of concurrent operations. - - When importing into DynamoDB, up to 50 simultaneous import table - operations are allowed per account. - - There is a soft account quota of 2,500 tables. - - GetRecords was called with a value of more than 1000 for the limit - request parameter. - - More than 2 processes are reading from the same streams shard at the - same time. Exceeding this limit may result in request throttling. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBackupsInput(_SerdeShape): - """Dataclass for ListBackupsInput structure.""" - - table_name: str | None = ... - """ - Lists the backups from the table specified in `TableName`. You can also - provide the Amazon Resource Name (ARN) of the table in this parameter. - """ - limit: int | None = ... - """Maximum number of backups to return at once.""" - time_range_lower_bound: datetime | None = ... - """ - Only backups created after this time are listed. `TimeRangeLowerBound` - is inclusive. - """ - time_range_upper_bound: datetime | None = ... - """ - Only backups created before this time are listed. `TimeRangeUpperBound` - is exclusive. - """ - exclusive_start_backup_arn: str | None = ... - """ - `LastEvaluatedBackupArn` is the Amazon Resource Name (ARN) of the backup - last evaluated when the current page of results was returned, inclusive - of the current page of results. This value may be specified as the - `ExclusiveStartBackupArn` of a new `ListBackups` operation in order to - fetch the next page of results. - """ - backup_type: str | None = ... - """ - The backups from the table specified by `BackupType` are listed. - - Where `BackupType` can be: - - - `USER` - On-demand backup created by you. (The default setting if no - other backup types are specified.) - - - `SYSTEM` - On-demand backup automatically created by DynamoDB. - - - `ALL` - All types of on-demand backups (USER and SYSTEM). - """ - -@dataclass(kw_only=True) -class ListBackupsOutput(_SerdeShape): - """Dataclass for ListBackupsOutput structure.""" - - backup_summaries: list[BackupSummary] | None = ... - """List of `BackupSummary` objects.""" - last_evaluated_backup_arn: str | None = ... - """ - The ARN of the backup last evaluated when the current page of results - was returned, inclusive of the current page of results. This value may - be specified as the `ExclusiveStartBackupArn` of a new `ListBackups` - operation in order to fetch the next page of results. - - If `LastEvaluatedBackupArn` is empty, then the last page of results has - been processed and there are no more results to be retrieved. - - If `LastEvaluatedBackupArn` is not empty, this may or may not indicate - that there is more data to be returned. All results are guaranteed to - have been returned if and only if no value for `LastEvaluatedBackupArn` - is returned. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBulkOperationsInput(_SerdeShape): - """Dataclass for ListBulkOperationsInput structure.""" - - max_results: int | None = ... - """ - The maximum number of bulk operation summaries to return in one page. If - you don't specify a value, DynamoDB uses 10. - """ - next_token: str | None = ... - """ - An optional string that, if supplied, must be copied from the output of - a previous call to `ListBulkOperations`. When provided in this manner, - the API fetches the next page of results. - """ - -@dataclass(kw_only=True) -class ListBulkOperationsOutput(_SerdeShape): - """Dataclass for ListBulkOperationsOutput structure.""" - - bulk_operations_summary_list: list[BulkOperationSummary] | None = ... - """ - A list of bulk operation summaries for the current Amazon Web Services - account and Amazon Web Services Region. - """ - next_token: str | None = ... - """ - If this value is returned, there are additional results to be displayed. - To retrieve them, call `ListBulkOperations` again, with `NextToken` set - to this value. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListContributorInsightsInput(_SerdeShape): - """Dataclass for ListContributorInsightsInput structure.""" - - table_name: str | None = ... - """ - The name of the table. You can also provide the Amazon Resource Name - (ARN) of the table in this parameter. - """ - next_token: str | None = ... - """A token to for the desired page, if there is one.""" - max_results: int = ... - """Maximum number of results to return per page.""" - -@dataclass(kw_only=True) -class ListContributorInsightsOutput(_SerdeShape): - """Dataclass for ListContributorInsightsOutput structure.""" - - contributor_insights_summaries: list[ContributorInsightsSummary] | None = ... - """A list of ContributorInsightsSummary.""" - next_token: str | None = ... - """A token to go to the next page if there is one.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListExportsInput(_SerdeShape): - """Dataclass for ListExportsInput structure.""" - - table_arn: str | None = ... - """The Amazon Resource Name (ARN) associated with the exported table.""" - max_results: int | None = ... - """Maximum number of results to return per page.""" - next_token: str | None = ... - """ - An optional string that, if supplied, must be copied from the output of - a previous call to `ListExports`. When provided in this manner, the API - fetches the next page of results. - """ - -@dataclass(kw_only=True) -class ListExportsOutput(_SerdeShape): - """Dataclass for ListExportsOutput structure.""" - - export_summaries: list[ExportSummary] | None = ... - """A list of `ExportSummary` objects.""" - next_token: str | None = ... - """ - If this value is returned, there are additional results to be displayed. - To retrieve them, call `ListExports` again, with `NextToken` set to this - value. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGlobalTablesInput(_SerdeShape): - """Dataclass for ListGlobalTablesInput structure.""" - - exclusive_start_global_table_name: str | None = ... - """The first global table name that this operation will evaluate.""" - limit: int | None = ... - """ - The maximum number of table names to return, if the parameter is not - specified DynamoDB defaults to 100. - - If the number of global tables DynamoDB finds reaches this limit, it - stops the operation and returns the table names collected up to that - point, with a table name in the `LastEvaluatedGlobalTableName` to apply - in a subsequent operation to the `ExclusiveStartGlobalTableName` - parameter. - """ - region_name: str | None = ... - """Lists the global tables in a specific Region.""" - -@dataclass(kw_only=True) -class ListGlobalTablesOutput(_SerdeShape): - """Dataclass for ListGlobalTablesOutput structure.""" - - global_tables: list[GlobalTable] | None = ... - """List of global table names.""" - last_evaluated_global_table_name: str | None = ... - """Last evaluated global table name.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListImportsInput(_SerdeShape): - """Dataclass for ListImportsInput structure.""" - - table_arn: str | None = ... - """ - The Amazon Resource Name (ARN) associated with the table that was - imported to. - """ - page_size: int | None = ... - """The number of `ImportSummary `objects returned in a single page.""" - next_token: str | None = ... - """ - An optional string that, if supplied, must be copied from the output of - a previous call to `ListImports`. When provided in this manner, the API - fetches the next page of results. - """ - -@dataclass(kw_only=True) -class ListImportsOutput(_SerdeShape): - """Dataclass for ListImportsOutput structure.""" - - import_summary_list: list[ImportSummary] | None = ... - """A list of `ImportSummary` objects.""" - next_token: str | None = ... - """ - If this value is returned, there are additional results to be displayed. - To retrieve them, call `ListImports` again, with `NextToken` set to this - value. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTablesInput(_SerdeShape): - """Represents the input of a `ListTables` operation.""" - - exclusive_start_table_name: str | None = ... - """ - The first table name that this operation will evaluate. Use the value - that was returned for `LastEvaluatedTableName` in a previous operation, - so that you can obtain the next page of results. - """ - limit: int | None = ... - """ - A maximum number of table names to return. If this parameter is not - specified, the limit is 100. - """ - -@dataclass(kw_only=True) -class ListTablesOutput(_SerdeShape): - """Represents the output of a `ListTables` operation.""" - - table_names: list[str] | None = ... - """ - The names of the tables associated with the current account at the - current endpoint. The maximum size of this array is 100. - - If `LastEvaluatedTableName` also appears in the output, you can use this - value as the `ExclusiveStartTableName` parameter in a subsequent - `ListTables` request and obtain the next page of results. - """ - last_evaluated_table_name: str | None = ... - """ - The name of the last table in the current page of results. Use this - value as the `ExclusiveStartTableName` in a new request to obtain the - next page of results, until all the table names are returned. - - If you do not receive a `LastEvaluatedTableName` value in the response, - this means that there are no more table names to be retrieved. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsOfResourceInput(_SerdeShape): - """Dataclass for ListTagsOfResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon DynamoDB resource with tags to be listed. This value is an - Amazon Resource Name (ARN). - """ - next_token: str | None = ... - """ - An optional string that, if supplied, must be copied from the output of - a previous call to ListTagOfResource. When provided in this manner, this - API fetches the next page of results. - """ - -@dataclass(kw_only=True) -class ListTagsOfResourceOutput(_SerdeShape): - """Dataclass for ListTagsOfResourceOutput structure.""" - - tags: list[Tag] | None = ... - """The tags currently associated with the Amazon DynamoDB resource.""" - next_token: str | None = ... - """ - If this value is returned, there are additional results to be displayed. - To retrieve them, call ListTagsOfResource again, with NextToken set to - this value. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LocalSecondaryIndex(_SerdeShape): - """Represents the properties of a local secondary index.""" - - index_name: str - """ - The name of the local secondary index. The name must be unique among all - other indexes on this table. - """ - key_schema: list[KeySchemaElement] - """ - The complete key schema for the local secondary index, consisting of one - or more pairs of attribute names and key types: - - - `HASH` - partition key - - - `RANGE` - sort key - - Note: - The partition key of an item is also known as its *hash attribute*. The - term \"hash attribute\" derives from DynamoDB's usage of an internal - hash function to evenly distribute data items across partitions, based - on their partition key values. - - The sort key of an item is also known as its *range attribute*. The term - \"range attribute\" derives from the way DynamoDB stores items with the - same partition key physically close together, in sorted order by the - sort key value. - """ - projection: Projection - """ - Represents attributes that are copied (projected) from the table into - the local secondary index. These are in addition to the primary key - attributes and index key attributes, which are automatically projected. - """ - -@dataclass(kw_only=True) -class LocalSecondaryIndexDescription(_SerdeShape): - """Represents the properties of a local secondary index.""" - - index_name: str | None = ... - """Represents the name of the local secondary index.""" - key_schema: list[KeySchemaElement] | None = ... - """ - The complete key schema for the local secondary index, consisting of one - or more pairs of attribute names and key types: - - - `HASH` - partition key - - - `RANGE` - sort key - - Note: - The partition key of an item is also known as its *hash attribute*. The - term \"hash attribute\" derives from DynamoDB's usage of an internal - hash function to evenly distribute data items across partitions, based - on their partition key values. - - The sort key of an item is also known as its *range attribute*. The term - \"range attribute\" derives from the way DynamoDB stores items with the - same partition key physically close together, in sorted order by the - sort key value. - """ - projection: Projection | None = ... - """ - Represents attributes that are copied (projected) from the table into - the global secondary index. These are in addition to the primary key - attributes and index key attributes, which are automatically projected. - """ - index_size_bytes: int | None = ... - """ - The total size of the specified index, in bytes. DynamoDB updates this - value approximately every six hours. Recent changes might not be - reflected in this value. - """ - item_count: int | None = ... - """ - The number of items in the specified index. DynamoDB updates this value - approximately every six hours. Recent changes might not be reflected in - this value. - """ - index_arn: str | None = ... - """The Amazon Resource Name (ARN) that uniquely identifies the index.""" - -@dataclass(kw_only=True) -class LocalSecondaryIndexInfo(_SerdeShape): - """ - Represents the properties of a local secondary index for the table when - the backup was created. - """ - - index_name: str | None = ... - """Represents the name of the local secondary index.""" - key_schema: list[KeySchemaElement] | None = ... - """ - The complete key schema for a local secondary index, which consists of - one or more pairs of attribute names and key types: - - - `HASH` - partition key - - - `RANGE` - sort key - - Note: - The partition key of an item is also known as its *hash attribute*. The - term \"hash attribute\" derives from DynamoDB's usage of an internal - hash function to evenly distribute data items across partitions, based - on their partition key values. - - The sort key of an item is also known as its *range attribute*. The term - \"range attribute\" derives from the way DynamoDB stores items with the - same partition key physically close together, in sorted order by the - sort key value. - """ - projection: Projection | None = ... - """ - Represents attributes that are copied (projected) from the table into - the global secondary index. These are in addition to the primary key - attributes and index key attributes, which are automatically projected. - """ - -class MultiRegionConsistency(UnknownEnumMixin, StrEnum): - EVENTUAL = "EVENTUAL" - STRONG = "STRONG" - -@dataclass(kw_only=True) -class OnDemandThroughput(_SerdeShape): - """ - Sets the maximum number of read and write units for the specified - on-demand table. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - - max_read_request_units: int | None = ... - """ - Maximum number of read request units for the specified table. - - To specify a maximum `OnDemandThroughput` on your table, set the value - of `MaxReadRequestUnits` as greater than or equal to 1. To remove the - maximum `OnDemandThroughput` that is currently set on your table, set - the value of `MaxReadRequestUnits` to -1. - """ - max_write_request_units: int | None = ... - """ - Maximum number of write request units for the specified table. - - To specify a maximum `OnDemandThroughput` on your table, set the value - of `MaxWriteRequestUnits` as greater than or equal to 1. To remove the - maximum `OnDemandThroughput` that is currently set on your table, set - the value of `MaxWriteRequestUnits` to -1. - """ - -@dataclass(kw_only=True) -class OnDemandThroughputOverride(_SerdeShape): - """ - Overrides the on-demand throughput settings for this replica table. If - you don't specify a value for this parameter, it uses the source - table's on-demand throughput settings. - """ - - max_read_request_units: int | None = ... - """Maximum number of read request units for the specified replica table.""" - -@dataclass(kw_only=True) -class OutputS3Configuration(_SerdeShape): - """ - Contains the Amazon S3 location, encryption settings, and output types - for a bulk operation. The `S3Bucket` and `OutputType` fields are - required. - """ - - s3_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID of the output bucket owner. If you - omit this value, DynamoDB uses the Amazon Web Services account ID of the - requester. - - Note: - `S3BucketOwner` is required when the bucket is owned by another Amazon - Web Services account. - """ - s3_bucket: str | None = ... - """The name of the Amazon S3 bucket where DynamoDB writes output records.""" - s3_key_prefix: str | None = ... - """An optional key prefix under which DynamoDB writes the output records.""" - s3_sse_algorithm: str | None = ... - """ - The server-side encryption algorithm for the output objects. Valid - values are `AES256` and `KMS`. If you don't specify a value, Amazon S3 - applies the destination bucket's default encryption settings. - """ - s3_sse_kms_key_id: str | None = ... - """ - The identifier of the KMS key that encrypts the output objects. Specify - this value when `S3SseAlgorithm` is `KMS`. Don't specify it when the - algorithm is `AES256`. - """ - output_type: list[str] - """ - The following values describe the types of output that DynamoDB writes - for individual input items. Include one or both values. - - ERROR - - : Reports input records or input objects that DynamoDB couldn't - process. This includes malformed input and item validation failures, - such as a missing or incorrectly typed primary key attribute or an - item that exceeds a DynamoDB limit. - - CONDITION_CHECK_FAILURE - - : Reports the attempted item and, when present, the existing item for a - write whose condition expression evaluates to false. - """ - -class OutputTypeEnum(UnknownEnumMixin, StrEnum): - ERROR = "ERROR" - CONDITION_CHECK_FAILURE = "CONDITION_CHECK_FAILURE" - -@dataclass(kw_only=True) -class ParameterizedStatement(_SerdeShape): - """Represents a PartiQL statement that uses parameters.""" - - statement: str - """A PartiQL statement that uses parameters.""" - parameters: list[AttributeValue] | None = ... - """The parameter values.""" - return_values_on_condition_check_failure: str | None = ... - """ - An optional parameter that returns the item attributes for a PartiQL - `ParameterizedStatement` operation that failed a condition check. - - There is no additional cost associated with requesting a return value - aside from the small network and processing overhead of receiving a - larger response. No read capacity units are consumed. - """ - -@dataclass(kw_only=True) -class PointInTimeRecoveryDescription(_SerdeShape): - """The description of the point in time settings applied to the table.""" - - point_in_time_recovery_status: str | None = ... - """ - The current state of point in time recovery: - - - `ENABLED` - Point in time recovery is enabled. - - - `DISABLED` - Point in time recovery is disabled. - """ - recovery_period_in_days: int | None = ... - """ - The number of preceding days for which continuous backups are taken and - maintained. Your table data is only recoverable to any point-in-time - from within the configured recovery period. This parameter is optional. - """ - earliest_restorable_date_time: datetime | None = ... - """ - Specifies the earliest point in time you can restore your table to. You - can restore your table to any point in time during the last 35 days. - """ - latest_restorable_date_time: datetime | None = ... - """ - `LatestRestorableDateTime` is typically 5 minutes before the current - time. - """ - -@dataclass(kw_only=True) -class PointInTimeRecoverySpecification(_SerdeShape): - """Represents the settings used to enable point in time recovery.""" - - point_in_time_recovery_enabled: bool - """ - Indicates whether point in time recovery is enabled (true) or disabled - (false) on the table. - """ - recovery_period_in_days: int | None = ... - """ - The number of preceding days for which continuous backups are taken and - maintained. Your table data is only recoverable to any point-in-time - from within the configured recovery period. This parameter is optional. - If no value is provided, the value will default to 35. - """ - -class PointInTimeRecoveryStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class PointInTimeRecoveryUnavailableException(ServiceError, _SerdeShape): - """Point in time recovery has not yet been enabled for this source table.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PolicyNotFoundException(ServiceError, _SerdeShape): - """ - The operation tried to access a nonexistent resource-based policy. - - If you specified an `ExpectedRevisionId`, it's possible that a policy - is present for the resource but its revision ID didn't match the - expected value. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Projection(_SerdeShape): - """ - Represents attributes that are copied (projected) from the table into an - index. These are in addition to the primary key attributes and index key - attributes, which are automatically projected. - """ - - projection_type: str | None = ... - """ - The set of attributes that are projected into the index: - - - `KEYS_ONLY` - Only the index and primary keys are projected into the - index. - - - `INCLUDE` - In addition to the attributes described in `KEYS_ONLY`, - the secondary index will include other non-key attributes that you - specify. - - - `ALL` - All of the table attributes are projected into the index. - - When using the DynamoDB console, `ALL` is selected by default. - """ - non_key_attributes: list[str] | None = ... - """ - Represents the non-key attribute names which will be projected into the - index. - - For global and local secondary indexes, the total count of - `NonKeyAttributes` summed across all of the secondary indexes, must not - exceed 100. If you project the same attribute into two different - indexes, this counts as two distinct attributes when determining the - total. This limit only applies when you specify the ProjectionType of - `INCLUDE`. You still can specify the ProjectionType of `ALL` to project - all attributes from the source table, even if the table has more than - 100 attributes. - """ - -class ProjectionType(UnknownEnumMixin, StrEnum): - ALL = "ALL" - KEYS_ONLY = "KEYS_ONLY" - INCLUDE = "INCLUDE" - -@dataclass(kw_only=True) -class ProvisionedThroughput(_SerdeShape): - """ - Represents the provisioned throughput settings for the specified global - secondary index. You must use `ProvisionedThroughput` or - `OnDemandThroughput` based on your table's capacity mode. - - For current minimum and maximum provisioned throughput values, see - [Service, Account, and Table - Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) - in the *Amazon DynamoDB Developer Guide*. - """ - - read_capacity_units: int - """ - The maximum number of strongly consistent reads consumed per second - before DynamoDB returns a `ThrottlingException`. For more information, - see [Specifying Read and Write - Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) - in the *Amazon DynamoDB Developer Guide*. - - If read/write capacity mode is `PAY_PER_REQUEST` the value is set to 0. - """ - write_capacity_units: int - """ - The maximum number of writes consumed per second before DynamoDB returns - a `ThrottlingException`. For more information, see [Specifying Read and - Write - Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) - in the *Amazon DynamoDB Developer Guide*. - - If read/write capacity mode is `PAY_PER_REQUEST` the value is set to 0. - """ - -@dataclass(kw_only=True) -class ProvisionedThroughputDescription(_SerdeShape): - """ - Represents the provisioned throughput settings for the table, consisting - of read and write capacity units, along with data about increases and - decreases. - """ - - last_increase_date_time: datetime | None = ... - """ - The date and time of the last provisioned throughput increase for this - table. - """ - last_decrease_date_time: datetime | None = ... - """ - The date and time of the last provisioned throughput decrease for this - table. - """ - number_of_decreases_today: int | None = ... - """ - The number of provisioned throughput decreases for this table during - this UTC calendar day. For current maximums on provisioned throughput - decreases, see [Service, Account, and Table - Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) - in the *Amazon DynamoDB Developer Guide*. - """ - read_capacity_units: int | None = ... - """ - The maximum number of strongly consistent reads consumed per second - before DynamoDB returns a `ThrottlingException`. Eventually consistent - reads require less effort than strongly consistent reads, so a setting - of 50 `ReadCapacityUnits` per second provides 100 eventually consistent - `ReadCapacityUnits` per second. - - For a table or global secondary index that uses on-demand capacity mode - (`PAY_PER_REQUEST`), this value is `0`, because on-demand mode does not - use provisioned throughput. - """ - write_capacity_units: int | None = ... - """ - The maximum number of writes consumed per second before DynamoDB returns - a `ThrottlingException`. - - For a table or global secondary index that uses on-demand capacity mode - (`PAY_PER_REQUEST`), this value is `0`, because on-demand mode does not - use provisioned throughput. - """ - -@dataclass(kw_only=True) -class ProvisionedThroughputExceededException(ServiceError, _SerdeShape): - """ - The request was denied due to request throttling. For detailed - information about why the request was throttled and the ARN of the - impacted resource, find the - [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) - field in the returned exception. The Amazon Web Services SDKs for - DynamoDB automatically retry requests that receive this exception. Your - request is eventually successful, unless your retry queue is too large - to finish. Reduce the frequency of requests and use exponential backoff. - For more information, go to [Error Retries and Exponential - Backoff](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) - in the *Amazon DynamoDB Developer Guide*. - """ - - throttling_reasons: list[ThrottlingReason] | None = ... - """ - A list of - [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) - that provide detailed diagnostic information about why the request was - throttled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ProvisionedThroughputOverride(_SerdeShape): - """ - Replica-specific provisioned throughput settings. If not specified, uses - the source table's provisioned throughput settings. - """ - - read_capacity_units: int | None = ... - """ - Replica-specific read capacity units. If not specified, uses the source - table's read capacity settings. - """ - -@dataclass(kw_only=True) -class Put(_SerdeShape): - """Represents a request to perform a `PutItem` operation.""" - - item: dict[str, AttributeValue] - """ - A map of attribute name to attribute values, representing the primary - key of the item to be written by `PutItem`. All of the table's primary - key attributes must be specified, and their data types must match those - of the table's key schema. If any attributes are present in the item - that are part of an index key schema for the table, their types must - match the index key schema. - """ - table_name: str - """ - Name of the table in which to write the item. You can also provide the - Amazon Resource Name (ARN) of the table in this parameter. - """ - condition_expression: str | None = ... - """ - A condition that must be satisfied in order for a conditional update to - succeed. - """ - expression_attribute_names: dict[str, str] | None = ... - """One or more substitution tokens for attribute names in an expression.""" - expression_attribute_values: dict[str, AttributeValue] | None = ... - """One or more values that can be substituted in an expression.""" - return_values_on_condition_check_failure: str | None = ... - """ - Use `ReturnValuesOnConditionCheckFailure` to get the item attributes if - the `Put` condition fails. For `ReturnValuesOnConditionCheckFailure`, - the valid values are: NONE and ALL_OLD. - """ - -@dataclass(kw_only=True) -class PutItemInput(_SerdeShape): - """Represents the input of a `PutItem` operation.""" - - table_name: str | None = ... - """ - The name of the table to contain the item. You can also provide the - Amazon Resource Name (ARN) of the table in this parameter. - """ - item: dict[str, AttributeValue] | None = ... - """ - A map of attribute name/value pairs, one for each attribute. Only the - primary key attributes are required; you can optionally provide other - attribute name-value pairs for the item. - - You must provide all of the attributes for the primary key. For example, - with a simple primary key, you only need to provide a value for the - partition key. For a composite primary key, you must provide both values - for both the partition key and the sort key. - - If you specify any attributes that are part of an index key, then the - data types for those attributes must match those of the schema in the - table's attribute definition. - - If the table has vector indexes, the following validations apply to - write operations. A violation of any of these constraints results in a - `ValidationException`: - - - The vector attribute must be a list of numbers with dimensions - matching the index configuration. - - - Vector values must fit in 32-bit IEEE-754 floating point format (f32). - - - Partition key and inline filter attributes defined in the search - schema must have data types matching the index schema definition. - - Empty String and Binary attribute values are allowed. Attribute values - of type String and Binary must have a length greater than zero if the - attribute is used as a key attribute for a table or index. - - For more information about primary keys, see [Primary - Key](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html#HowItWorks.CoreComponents.PrimaryKey) - in the *Amazon DynamoDB Developer Guide*. - - Each element in the `Item` map is an `AttributeValue` object. - """ - expected: dict[str, ExpectedAttributeValue] | None = ... - """ - This is a legacy parameter. Use `ConditionExpression` instead. For more - information, see - [Expected](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html) - in the *Amazon DynamoDB Developer Guide*. - """ - return_values: str | None = ... - """ - Use `ReturnValues` if you want to get the item attributes as they - appeared before they were updated with the `PutItem` request. For - `PutItem`, the valid values are: - - - `NONE` - If `ReturnValues` is not specified, or if its value is - `NONE`, then nothing is returned. (This setting is the default for - `ReturnValues`.) - - - `ALL_OLD` - If `PutItem` overwrote an attribute name-value pair, then - the content of the old item is returned. - - The values returned are strongly consistent. - - There is no additional cost associated with requesting a return value - aside from the small network and processing overhead of receiving a - larger response. No read capacity units are consumed. - - Note: - The `ReturnValues` parameter is used by several DynamoDB operations; - however, `PutItem` does not recognize any values other than `NONE` or - `ALL_OLD`. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - return_item_collection_metrics: str | None = ... - """ - Determines whether item collection metrics are returned. If set to - `SIZE`, the response includes statistics about item collections, if any, - that were modified during the operation are returned in the response. If - set to `NONE` (the default), no statistics are returned. - """ - conditional_operator: str | None = ... - """ - This is a legacy parameter. Use `ConditionExpression` instead. For more - information, see - [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) - in the *Amazon DynamoDB Developer Guide*. - """ - condition_expression: str | None = ... - """ - A condition that must be satisfied in order for a conditional `PutItem` - operation to succeed. - - An expression can contain any of the following: - - - Functions: - `attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size` - - These function names are case-sensitive. - - - Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN ` - - - Logical operators: `AND | OR | NOT` - - For more information on condition expressions, see [Condition - Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - The following are some use cases for using `ExpressionAttributeNames`: - - - To access an attribute whose name conflicts with a DynamoDB reserved - word. - - - To create a placeholder for repeating occurrences of an attribute name - in an expression. - - - To prevent special characters in an attribute name from being - misinterpreted in an expression. - - Use the **#** character in an expression to dereference an attribute - name. For example, consider the following attribute name: - - - `Percentile` - - The name of this attribute conflicts with a reserved word, so it cannot - be used directly in an expression. (For the complete list of reserved - words, see [Reserved - Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) - in the *Amazon DynamoDB Developer Guide*). To work around this, you - could specify the following for `ExpressionAttributeNames`: - - - `{"#P":"Percentile"}` - - You could then use this substitution in an expression, as in this - example: - - - `#P = :val` - - Note: - Tokens that begin with the **:** character are *expression attribute - values*, which are placeholders for the actual value at runtime. - - For more information on expression attribute names, see [Specifying Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_values: dict[str, AttributeValue] | None = ... - """ - One or more values that can be substituted in an expression. - - Use the **:** (colon) character in an expression to dereference an - attribute value. For example, suppose that you wanted to check whether - the value of the *ProductStatus* attribute was one of the following: - - `Available | Backordered | Discontinued` - - You would first need to specify `ExpressionAttributeValues` as follows: - - `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` - - You could then use these values in an expression, such as this: - - `ProductStatus IN (:avail, :back, :disc)` - - For more information on expression attribute values, see [Condition - Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - return_values_on_condition_check_failure: str | None = ... - """ - An optional parameter that returns the item attributes for a `PutItem` - operation that failed a condition check. - - There is no additional cost associated with requesting a return value - aside from the small network and processing overhead of receiving a - larger response. No read capacity units are consumed. - """ - -@dataclass(kw_only=True) -class PutItemOutput(_SerdeShape): - """Represents the output of a `PutItem` operation.""" - - attributes: dict[str, AttributeValue] | None = ... - """ - The attribute values as they appeared before the `PutItem` operation, - but only if `ReturnValues` is specified as `ALL_OLD` in the request. - Each element consists of an attribute name and an attribute value. - """ - consumed_capacity: ConsumedCapacity | None = ... - """ - The capacity units consumed by the `PutItem` operation. The data - returned includes the total provisioned throughput consumed, along with - statistics for the table and any indexes involved in the operation. - `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` - parameter was specified. For more information, see [Capacity unity - consumption for write - operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#write-operation-consumption) - in the *Amazon DynamoDB Developer Guide*. - - If the table has vector indexes, the response includes a `VectorIndexes` - field with `VectorWriteRequestBytes` consumed for each affected vector - index. - """ - item_collection_metrics: ItemCollectionMetrics | None = ... - """ - Information about item collections, if any, that were affected by the - `PutItem` operation. `ItemCollectionMetrics` is only returned if the - `ReturnItemCollectionMetrics` parameter was specified. If the table does - not have any local secondary indexes, this information is not returned - in the response. - - Each `ItemCollectionMetrics` element consists of: - - - `ItemCollectionKey` - The partition key value of the item collection. - This is the same as the partition key value of the item itself. - - - `SizeEstimateRangeGB` - An estimate of item collection size, in - gigabytes. This value is a two-element array containing a lower bound - and an upper bound for the estimate. The estimate includes the size of - all the items in the table, plus the size of all attributes projected - into all of the local secondary indexes on that table. Use this - estimate to measure whether a local secondary index is approaching its - size limit. - - The estimate is subject to change over time; therefore, do not rely on - the precision or accuracy of the estimate. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutRequest(_SerdeShape): - """Represents a request to perform a `PutItem` operation on an item.""" - - item: dict[str, AttributeValue] - """ - A map of attribute name to attribute values, representing the primary - key of an item to be processed by `PutItem`. All of the table's primary - key attributes must be specified, and their data types must match those - of the table's key schema. If any attributes are present in the item - that are part of an index key schema for the table, their types must - match the index key schema. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyInput(_SerdeShape): - """Dataclass for PutResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the DynamoDB resource to which the - policy will be attached. The resources you can specify include tables - and streams. - - You can control index permissions using the base table's policy. To - specify the same permission level for your table and its indexes, you - can provide both the table and index Amazon Resource Name (ARN)s in the - `Resource` field of a given `Statement` in your policy document. - Alternatively, to specify different permissions for your table, indexes, - or both, you can define multiple `Statement` fields in your policy - document. - """ - policy: str | None = ... - """ - An Amazon Web Services resource-based policy document in JSON format. - - - The maximum size supported for a resource-based policy document is 20 - KB. DynamoDB counts whitespaces when calculating the size of a policy - against this limit. - - - Within a resource-based policy, if the action for a DynamoDB - service-linked role (SLR) to replicate data for a global table is - denied, adding or deleting a replica will fail with an error. - - For a full list of all considerations that apply while attaching a - resource-based policy, see [Resource-based policy - considerations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html). - """ - expected_revision_id: str | None = ... - """ - A string value that you can use to conditionally update your policy. You - can provide the revision ID of your existing policy to make mutating - requests against that policy. - - Note: - When you provide an expected revision ID, if the revision ID of the - existing policy on the resource doesn't match or if there's no policy - attached to the resource, your request will be rejected with a - `PolicyNotFoundException`. - - To conditionally attach a policy when no policy exists for the resource, - specify `NO_POLICY` for the revision ID. - """ - confirm_remove_self_resource_access: bool = ... - """ - Set this parameter to `true` to confirm that you want to remove your - permissions to change the policy of this resource in the future. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyOutput(_SerdeShape): - """Dataclass for PutResourcePolicyOutput structure.""" - - revision_id: str | None = ... - """ - A unique string that represents the revision ID of the policy. If - you're comparing revision IDs, make sure to always use string - comparison logic. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class QueryInput(_SerdeShape): - """Represents the input of a `Query` operation.""" - - table_name: str | None = ... - """ - The name of the table containing the requested items. You can also - provide the Amazon Resource Name (ARN) of the table in this parameter. - """ - index_name: str | None = ... - """ - The name of an index to query. This index can be any local secondary - index or global secondary index on the table. Note that if you use the - `IndexName` parameter, you must also provide `TableName.` - """ - select: str | None = ... - """ - The attributes to be returned in the result. You can retrieve all item - attributes, specific item attributes, the count of matching items, or in - the case of an index, some or all of the attributes projected into the - index. - - - `ALL_ATTRIBUTES` - Returns all of the item attributes from the - specified table or index. If you query a local secondary index, then - for each matching item in the index, DynamoDB fetches the entire item - from the parent table. If the index is configured to project all item - attributes, then all of the data can be obtained from the local - secondary index, and no fetching is required. - - - `ALL_PROJECTED_ATTRIBUTES` - Allowed only when querying an index. - Retrieves all attributes that have been projected into the index. If - the index is configured to project all attributes, this return value - is equivalent to specifying `ALL_ATTRIBUTES`. - - - `COUNT` - Returns the number of matching items, rather than the - matching items themselves. Note that this uses the same quantity of - read capacity units as getting the items, and is subject to the same - item size calculations. - - - `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in - `ProjectionExpression`. This return value is equivalent to specifying - `ProjectionExpression` without specifying any value for `Select`. - - If you query or scan a local secondary index and request only - attributes that are projected into that index, the operation will read - only the index and not the table. If any of the requested attributes - are not projected into the local secondary index, DynamoDB fetches - each of these attributes from the parent table. This extra fetching - incurs additional throughput cost and latency. - - If you query or scan a global secondary index, you can only request - attributes that are projected into the index. Global secondary index - queries cannot fetch attributes from the parent table. - - If neither `Select` nor `ProjectionExpression` are specified, DynamoDB - defaults to `ALL_ATTRIBUTES` when accessing a table, and - `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use both - `Select` and `ProjectionExpression` together in a single request, unless - the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is - equivalent to specifying `ProjectionExpression` without any value for - `Select`.) - - Note: - If you use the `ProjectionExpression` parameter, then the value for - `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for `Select` - will return an error. - """ - attributes_to_get: list[str] | None = ... - """ - This is a legacy parameter. Use `ProjectionExpression` instead. For more - information, see - [AttributesToGet](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html) - in the *Amazon DynamoDB Developer Guide*. - """ - limit: int | None = ... - """ - The maximum number of items to evaluate (not necessarily the number of - matching items). If DynamoDB processes the number of items up to the - limit while processing the results, it stops the operation and returns - the matching values up to that point, and a key in `LastEvaluatedKey` to - apply in a subsequent operation, so that you can pick up where you left - off. Also, if the processed dataset size exceeds 1 MB before DynamoDB - reaches this limit, it stops the operation and returns the matching - values up to the limit, and a key in `LastEvaluatedKey` to apply in a - subsequent operation to continue the operation. For more information, - see [Query and - Scan](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html) - in the *Amazon DynamoDB Developer Guide*. - """ - consistent_read: bool | None = ... - """ - Determines the read consistency model: If set to `true`, then the - operation uses strongly consistent reads; otherwise, the operation uses - eventually consistent reads. - - Strongly consistent reads are not supported on global secondary indexes. - If you query a global secondary index with `ConsistentRead` set to - `true`, you will receive a `ValidationException`. - """ - key_conditions: dict[str, Condition] | None = ... - """ - This is a legacy parameter. Use `KeyConditionExpression` instead. For - more information, see - [KeyConditions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - query_filter: dict[str, Condition] | None = ... - """ - This is a legacy parameter. Use `FilterExpression` instead. For more - information, see - [QueryFilter](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html) - in the *Amazon DynamoDB Developer Guide*. - """ - conditional_operator: str | None = ... - """ - This is a legacy parameter. Use `FilterExpression` instead. For more - information, see - [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) - in the *Amazon DynamoDB Developer Guide*. - """ - scan_index_forward: bool | None = ... - """ - Specifies the order for index traversal: If `true` (default), the - traversal is performed in ascending order; if `false`, the traversal is - performed in descending order. - - Items with the same partition key value are stored in sorted order by - sort key. If the sort key data type is Number, the results are stored in - numeric order. For type String, the results are stored in order of UTF-8 - bytes. For type Binary, DynamoDB treats each byte of the binary data as - unsigned. - - If `ScanIndexForward` is `true`, DynamoDB returns the results in the - order in which they are stored (by sort key value). This is the default - behavior. If `ScanIndexForward` is `false`, DynamoDB reads the results - in reverse order by sort key value, and then returns the results to the - client. - """ - exclusive_start_key: dict[str, AttributeValue] | None = ... - """ - The primary key of the first item that this operation will evaluate. Use - the value that was returned for `LastEvaluatedKey` in the previous - operation. - - The data type for `ExclusiveStartKey` must be String, Number, or Binary. - No set data types are allowed. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - projection_expression: str | None = ... - """ - A string that identifies one or more attributes to retrieve from the - table. These attributes can include scalars, sets, or elements of a JSON - document. The attributes in the expression must be separated by commas. - - If no attribute names are specified, then all attributes will be - returned. If any of the requested attributes are not found, they will - not appear in the result. - - For more information, see [Accessing Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - filter_expression: str | None = ... - """ - A string that contains conditions that DynamoDB applies after the - `Query` operation, but before the data is returned to you. Items that do - not satisfy the `FilterExpression` criteria are not returned. - - A `FilterExpression` does not allow key attributes. You cannot define a - filter expression based on a partition key or a sort key. - - Note: - A `FilterExpression` is applied after the items have already been read; - the process of filtering does not consume any additional read capacity - units. - - For more information, see [Filter - Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.FilterExpression.html) - in the *Amazon DynamoDB Developer Guide*. - """ - key_condition_expression: str | None = ... - """ - The condition that specifies the key values for items to be retrieved by - the `Query` action. - - The condition must perform an equality test on a single partition key - value. - - The condition can optionally perform one of several comparison tests on - a single sort key value. This allows `Query` to retrieve one item with a - given partition key value and sort key value, or several items that have - the same partition key value but different sort key values. - - The partition key equality test is required, and must be specified in - the following format: - - `partitionKeyName` *=* `:partitionkeyval` - - If you also want to provide a condition for the sort key, it must be - combined using `AND` with the condition for the sort key. Following is - an example, using the **=** comparison operator for the sort key: - - `partitionKeyName` `=` `:partitionkeyval` `AND` `sortKeyName` `=` - `:sortkeyval` - - Valid comparisons for the sort key condition are as follows: - - - `sortKeyName` `=` `:sortkeyval` - true if the sort key value is equal - to `:sortkeyval`. - - - `sortKeyName` `<` `:sortkeyval` - true if the sort key value is less - than `:sortkeyval`. - - - `sortKeyName` `<=` `:sortkeyval` - true if the sort key value is less - than or equal to `:sortkeyval`. - - - `sortKeyName` `>` `:sortkeyval` - true if the sort key value is - greater than `:sortkeyval`. - - - `sortKeyName` `>= ` `:sortkeyval` - true if the sort key value is - greater than or equal to `:sortkeyval`. - - - `sortKeyName` `BETWEEN` `:sortkeyval1` `AND` `:sortkeyval2` - true if - the sort key value is greater than or equal to `:sortkeyval1`, and - less than or equal to `:sortkeyval2`. - - - `begins_with (` `sortKeyName`, `:sortkeyval` `)` - true if the sort - key value begins with a particular operand. (You cannot use this - function with a sort key that is of type Number.) Note that the - function name `begins_with` is case-sensitive. - - Use the `ExpressionAttributeValues` parameter to replace tokens such as - `:partitionval` and `:sortval` with actual values at runtime. - - You can optionally use the `ExpressionAttributeNames` parameter to - replace the names of the partition key and sort key with placeholder - tokens. This option might be necessary if an attribute name conflicts - with a DynamoDB reserved word. For example, the following - `KeyConditionExpression` parameter causes an error because *Size* is a - reserved word: - - - `Size = :myval` - - To work around this, define a placeholder (such a `#S`) to represent the - attribute name *Size*. `KeyConditionExpression` then is as follows: - - - `#S = :myval` - - For a list of reserved words, see [Reserved - Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) - in the *Amazon DynamoDB Developer Guide*. - - For more information on `ExpressionAttributeNames` and - `ExpressionAttributeValues`, see [Using Placeholders for Attribute Names - and - Values](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - The following are some use cases for using `ExpressionAttributeNames`: - - - To access an attribute whose name conflicts with a DynamoDB reserved - word. - - - To create a placeholder for repeating occurrences of an attribute name - in an expression. - - - To prevent special characters in an attribute name from being - misinterpreted in an expression. - - Use the **#** character in an expression to dereference an attribute - name. For example, consider the following attribute name: - - - `Percentile` - - The name of this attribute conflicts with a reserved word, so it cannot - be used directly in an expression. (For the complete list of reserved - words, see [Reserved - Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) - in the *Amazon DynamoDB Developer Guide*). To work around this, you - could specify the following for `ExpressionAttributeNames`: - - - `{"#P":"Percentile"}` - - You could then use this substitution in an expression, as in this - example: - - - `#P = :val` - - Note: - Tokens that begin with the **:** character are *expression attribute - values*, which are placeholders for the actual value at runtime. - - For more information on expression attribute names, see [Specifying Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_values: dict[str, AttributeValue] | None = ... - """ - One or more values that can be substituted in an expression. - - Use the **:** (colon) character in an expression to dereference an - attribute value. For example, suppose that you wanted to check whether - the value of the *ProductStatus* attribute was one of the following: - - `Available | Backordered | Discontinued` - - You would first need to specify `ExpressionAttributeValues` as follows: - - `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` - - You could then use these values in an expression, such as this: - - `ProductStatus IN (:avail, :back, :disc)` - - For more information on expression attribute values, see [Specifying - Conditions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - -@dataclass(kw_only=True) -class QueryOutput(_SerdeShape): - """Represents the output of a `Query` operation.""" - - items: list[dict[str, AttributeValue]] | None = ... - """ - An array of item attributes that match the query criteria. Each element - in this array consists of an attribute name and the value for that - attribute. - """ - count: int = ... - """ - The number of items in the response. - - If you used a `QueryFilter` in the request, then `Count` is the number - of items returned after the filter was applied, and `ScannedCount` is - the number of matching items before the filter was applied. - - If you did not use a filter in the request, then `Count` and - `ScannedCount` are the same. - """ - scanned_count: int = ... - """ - The number of items evaluated, before any `QueryFilter` is applied. A - high `ScannedCount` value with few, or no, `Count` results indicates an - inefficient `Query` operation. For more information, see [Count and - ScannedCount](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Count) - in the *Amazon DynamoDB Developer Guide*. - - If you did not use a filter in the request, then `ScannedCount` is the - same as `Count`. - """ - last_evaluated_key: dict[str, AttributeValue] | None = ... - """ - The primary key of the item where the operation stopped, inclusive of - the previous result set. Use this value to start a new operation, - excluding this value in the new request. - - If `LastEvaluatedKey` is empty, then the \"last page\" of results has - been processed and there is no more data to be retrieved. - - If `LastEvaluatedKey` is not empty, it does not necessarily mean that - there is more data in the result set. The only way to know when you have - reached the end of the result set is when `LastEvaluatedKey` is empty. - """ - consumed_capacity: ConsumedCapacity | None = ... - """ - The capacity units consumed by the `Query` operation. The data returned - includes the total provisioned throughput consumed, along with - statistics for the table and any indexes involved in the operation. - `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` - parameter was specified. For more information, see [Capacity unit - consumption for read - operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption) - in the *Amazon DynamoDB Developer Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Replica(_SerdeShape): - """Represents the properties of a replica.""" - - region_name: str | None = ... - """The Region where the replica needs to be created.""" - -@dataclass(kw_only=True) -class ReplicaAlreadyExistsException(ServiceError, _SerdeShape): - """The specified replica is already part of the global table.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplicaAutoScalingDescription(_SerdeShape): - """Represents the auto scaling settings of the replica.""" - - region_name: str | None = ... - """The Region where the replica exists.""" - global_secondary_indexes: ( - list[ReplicaGlobalSecondaryIndexAutoScalingDescription] | None - ) = ... - """Replica-specific global secondary index auto scaling settings.""" - replica_provisioned_read_capacity_auto_scaling_settings: ( - AutoScalingSettingsDescription | None - ) = ... - """ - Represents the auto scaling settings for a global table or global - secondary index. - """ - replica_provisioned_write_capacity_auto_scaling_settings: ( - AutoScalingSettingsDescription | None - ) = ... - """ - Represents the auto scaling settings for a global table or global - secondary index. - """ - replica_status: str | None = ... - """ - The current state of the replica: - - - `CREATING` - The replica is being created. - - - `UPDATING` - The replica is being updated. - - - `DELETING` - The replica is being deleted. - - - `ACTIVE` - The replica is ready for use. - """ - -@dataclass(kw_only=True) -class ReplicaAutoScalingUpdate(_SerdeShape): - """Represents the auto scaling settings of a replica that will be modified.""" - - region_name: str - """The Region where the replica exists.""" - replica_global_secondary_index_updates: ( - list[ReplicaGlobalSecondaryIndexAutoScalingUpdate] | None - ) = ... - """ - Represents the auto scaling settings of global secondary indexes that - will be modified. - """ - replica_provisioned_read_capacity_auto_scaling_update: ( - AutoScalingSettingsUpdate | None - ) = ... - """ - Represents the auto scaling settings to be modified for a global table - or global secondary index. - """ - -@dataclass(kw_only=True) -class ReplicaDescription(_SerdeShape): - """Contains the details of the replica.""" - - region_name: str | None = ... - """The name of the Region.""" - replica_status: str | None = ... - """ - The current state of the replica: - - - `CREATING` - The replica is being created. - - - `UPDATING` - The replica is being updated. - - - `DELETING` - The replica is being deleted. - - - `ACTIVE` - The replica is ready for use. - - - `REGION_DISABLED` - The replica is inaccessible because the Amazon Web - Services Region has been disabled. - - Note: - If the Amazon Web Services Region remains inaccessible for more than - 20 hours, DynamoDB will remove this replica from the replication - group. The replica will not be deleted and replication will stop from - and to this region. - - - `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The KMS key used to encrypt - the table is inaccessible. - - Note: - If the KMS key remains inaccessible for more than 20 hours, DynamoDB - will remove this replica from the replication group. The replica will - not be deleted and replication will stop from and to this region. - """ - replica_arn: str | None = ... - """The Amazon Resource Name (ARN) of the global table replica.""" - replica_status_description: str | None = ... - """Detailed information about the replica status.""" - replica_status_percent_progress: str | None = ... - """ - Specifies the progress of a Create, Update, or Delete action on the - replica as a percentage. - """ - kms_master_key_id: str | None = ... - """The KMS key of the replica that will be used for KMS encryption.""" - provisioned_throughput_override: ProvisionedThroughputOverride | None = ... - """ - Replica-specific provisioned throughput. If not described, uses the - source table's provisioned throughput settings. - """ - on_demand_throughput_override: OnDemandThroughputOverride | None = ... - """ - Overrides the maximum on-demand throughput settings for the specified - replica table. - """ - warm_throughput: TableWarmThroughputDescription | None = ... - """Represents the warm throughput value for this replica.""" - global_secondary_indexes: list[ReplicaGlobalSecondaryIndexDescription] | None = ... - """Replica-specific global secondary index settings.""" - replica_inaccessible_date_time: datetime | None = ... - """ - The time at which the replica was first detected as inaccessible. To - determine cause of inaccessibility check the `ReplicaStatus` property. - """ - replica_table_class_summary: TableClassSummary | None = ... - """Contains details of the table class.""" - global_table_settings_replication_mode: str | None = ... - """ - Indicates one of the settings synchronization modes for the global table - replica: - - - `ENABLED`: Indicates that the settings synchronization mode for the - global table replica is enabled. - - - `DISABLED`: Indicates that the settings synchronization mode for the - global table replica is disabled. - - - `ENABLED_WITH_OVERRIDES`: This mode is set by default for a same - account global table. Indicates that certain global table settings can - be overridden. - """ - -@dataclass(kw_only=True) -class ReplicaGlobalSecondaryIndex(_SerdeShape): - """Represents the properties of a replica global secondary index.""" - - index_name: str - """The name of the global secondary index.""" - provisioned_throughput_override: ProvisionedThroughputOverride | None = ... - """ - Replica table GSI-specific provisioned throughput. If not specified, - uses the source table GSI's read capacity settings. - """ - on_demand_throughput_override: OnDemandThroughputOverride | None = ... - """ - Overrides the maximum on-demand throughput settings for the specified - global secondary index in the specified replica table. - """ - -@dataclass(kw_only=True) -class ReplicaGlobalSecondaryIndexAutoScalingDescription(_SerdeShape): - """ - Represents the auto scaling configuration for a replica global secondary - index. - """ - - index_name: str | None = ... - """The name of the global secondary index.""" - index_status: str | None = ... - """ - The current state of the replica global secondary index: - - - `CREATING` - The index is being created. - - - `UPDATING` - The table/index configuration is being updated. The - table/index remains available for data operations when `UPDATING` - - - `DELETING` - The index is being deleted. - - - `ACTIVE` - The index is ready for use. - """ - provisioned_read_capacity_auto_scaling_settings: ( - AutoScalingSettingsDescription | None - ) = ... - """ - Represents the auto scaling settings for a global table or global - secondary index. - """ - provisioned_write_capacity_auto_scaling_settings: ( - AutoScalingSettingsDescription | None - ) = ... - """ - Represents the auto scaling settings for a global table or global - secondary index. - """ - -@dataclass(kw_only=True) -class ReplicaGlobalSecondaryIndexAutoScalingUpdate(_SerdeShape): - """ - Represents the auto scaling settings of a global secondary index for a - replica that will be modified. - """ - - index_name: str | None = ... - """The name of the global secondary index.""" - provisioned_read_capacity_auto_scaling_update: ( - AutoScalingSettingsUpdate | None - ) = ... - """ - Represents the auto scaling settings to be modified for a global table - or global secondary index. - """ - -@dataclass(kw_only=True) -class ReplicaGlobalSecondaryIndexDescription(_SerdeShape): - """Represents the properties of a replica global secondary index.""" - - index_name: str | None = ... - """The name of the global secondary index.""" - provisioned_throughput_override: ProvisionedThroughputOverride | None = ... - """If not described, uses the source table GSI's read capacity settings.""" - on_demand_throughput_override: OnDemandThroughputOverride | None = ... - """ - Overrides the maximum on-demand throughput for the specified global - secondary index in the specified replica table. - """ - warm_throughput: GlobalSecondaryIndexWarmThroughputDescription | None = ... - """ - Represents the warm throughput of the global secondary index for this - replica. - """ - -@dataclass(kw_only=True) -class ReplicaGlobalSecondaryIndexSettingsDescription(_SerdeShape): - """Represents the properties of a global secondary index.""" - - index_name: str - """ - The name of the global secondary index. The name must be unique among - all other indexes on this table. - """ - index_status: str | None = ... - """ - The current status of the global secondary index: - - - `CREATING` - The global secondary index is being created. - - - `UPDATING` - The global secondary index is being updated. - - - `DELETING` - The global secondary index is being deleted. - - - `ACTIVE` - The global secondary index is ready for use. - """ - provisioned_read_capacity_units: int | None = ... - """ - The maximum number of strongly consistent reads consumed per second - before DynamoDB returns a `ThrottlingException`. - """ - provisioned_read_capacity_auto_scaling_settings: ( - AutoScalingSettingsDescription | None - ) = ... - """ - Auto scaling settings for a global secondary index replica's read - capacity units. - """ - provisioned_write_capacity_units: int | None = ... - """ - The maximum number of writes consumed per second before DynamoDB returns - a `ThrottlingException`. - """ - provisioned_write_capacity_auto_scaling_settings: ( - AutoScalingSettingsDescription | None - ) = ... - """ - Auto scaling settings for a global secondary index replica's write - capacity units. - """ - -@dataclass(kw_only=True) -class ReplicaGlobalSecondaryIndexSettingsUpdate(_SerdeShape): - """ - Represents the settings of a global secondary index for a global table - that will be modified. - """ - - index_name: str - """ - The name of the global secondary index. The name must be unique among - all other indexes on this table. - """ - provisioned_read_capacity_units: int | None = ... - """ - The maximum number of strongly consistent reads consumed per second - before DynamoDB returns a `ThrottlingException`. - """ - provisioned_read_capacity_auto_scaling_settings_update: ( - AutoScalingSettingsUpdate | None - ) = ... - """ - Auto scaling settings for managing a global secondary index replica's - read capacity units. - """ - -@dataclass(kw_only=True) -class ReplicaNotFoundException(ServiceError, _SerdeShape): - """The specified replica is no longer part of the global table.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplicaSettingsDescription(_SerdeShape): - """Represents the properties of a replica.""" - - region_name: str - """The Region name of the replica.""" - replica_status: str | None = ... - """ - The current state of the Region: - - - `CREATING` - The Region is being created. - - - `UPDATING` - The Region is being updated. - - - `DELETING` - The Region is being deleted. - - - `ACTIVE` - The Region is ready for use. - """ - replica_billing_mode_summary: BillingModeSummary | None = ... - """The read/write capacity mode of the replica.""" - replica_provisioned_read_capacity_units: int | None = ... - """ - The maximum number of strongly consistent reads consumed per second - before DynamoDB returns a `ThrottlingException`. For more information, - see [Specifying Read and Write - Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) - in the *Amazon DynamoDB Developer Guide*. - """ - replica_provisioned_read_capacity_auto_scaling_settings: ( - AutoScalingSettingsDescription | None - ) = ... - """Auto scaling settings for a global table replica's read capacity units.""" - replica_provisioned_write_capacity_units: int | None = ... - """ - The maximum number of writes consumed per second before DynamoDB returns - a `ThrottlingException`. For more information, see [Specifying Read and - Write - Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) - in the *Amazon DynamoDB Developer Guide*. - """ - replica_provisioned_write_capacity_auto_scaling_settings: ( - AutoScalingSettingsDescription | None - ) = ... - """ - Auto scaling settings for a global table replica's write capacity - units. - """ - replica_global_secondary_index_settings: ( - list[ReplicaGlobalSecondaryIndexSettingsDescription] | None - ) = ... - """Replica global secondary index settings for the global table.""" - replica_table_class_summary: TableClassSummary | None = ... - """Contains details of the table class.""" - -@dataclass(kw_only=True) -class ReplicaSettingsUpdate(_SerdeShape): - """ - Represents the settings for a global table in a Region that will be - modified. - """ - - region_name: str - """The Region of the replica to be added.""" - replica_provisioned_read_capacity_units: int | None = ... - """ - The maximum number of strongly consistent reads consumed per second - before DynamoDB returns a `ThrottlingException`. For more information, - see [Specifying Read and Write - Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) - in the *Amazon DynamoDB Developer Guide*. - """ - replica_provisioned_read_capacity_auto_scaling_settings_update: ( - AutoScalingSettingsUpdate | None - ) = ... - """ - Auto scaling settings for managing a global table replica's read - capacity units. - """ - replica_global_secondary_index_settings_update: ( - list[ReplicaGlobalSecondaryIndexSettingsUpdate] | None - ) = ... - """ - Represents the settings of a global secondary index for a global table - that will be modified. - """ - replica_table_class: str | None = ... - """ - Replica-specific table class. If not specified, uses the source table's - table class. - """ - -class ReplicaStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - CREATION_FAILED = "CREATION_FAILED" - UPDATING = "UPDATING" - DELETING = "DELETING" - ACTIVE = "ACTIVE" - REGION_DISABLED = "REGION_DISABLED" - INACCESSIBLE_ENCRYPTION_CREDENTIALS = "INACCESSIBLE_ENCRYPTION_CREDENTIALS" - ARCHIVING = "ARCHIVING" - ARCHIVED = "ARCHIVED" - REPLICATION_NOT_AUTHORIZED = "REPLICATION_NOT_AUTHORIZED" - -@dataclass(kw_only=True) -class ReplicatedWriteConflictException(ServiceError, _SerdeShape): - """ - The request was rejected because one or more items in the request are - being modified by a request in another Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplicationGroupUpdate(_SerdeShape): - """ - Represents one of the following: - - - A new replica to be added to an existing regional table or global - table. This request invokes the `CreateTableReplica` action in the - destination Region. - - - New parameters for an existing replica. This request invokes the - `UpdateTable` action in the destination Region. - - - An existing replica to be deleted. The request invokes the - `DeleteTableReplica` action in the destination Region, deleting the - replica and all if its items in the destination Region. - - - The local replica to be disassociated from a global table and retained - as a standalone regional table. - - Each `ReplicationGroupUpdate` contains exactly one action. A - `Disassociate` action must be the only replica update in the request; - including other updates causes the request to fail. - - Note: - When you manually remove a table or global table replica, you do not - automatically remove any associated scalable targets, scaling policies, - or CloudWatch alarms. - """ - - create: CreateReplicationGroupMemberAction | None = ... - """The parameters required for creating a replica for the table.""" - update: UpdateReplicationGroupMemberAction | None = ... - """The parameters required for updating a replica for the table.""" - delete: DeleteReplicationGroupMemberAction | None = ... - """The parameters required for deleting a replica for the table.""" - disassociate: DisassociateReplicationGroupMemberAction | None = ... - """ - The parameters for disassociating the local replica from the global - table and retaining it as a standalone regional table. - """ - -@dataclass(kw_only=True) -class ReplicaUpdate(_SerdeShape): - """ - Represents one of the following: - - - A new replica to be added to an existing global table. - - - New parameters for an existing replica. - - - An existing replica to be removed from an existing global table. - """ - - create: CreateReplicaAction | None = ... - """ - The parameters required for creating a replica on an existing global - table. - """ - delete: DeleteReplicaAction | None = ... - """The name of the existing replica to be removed.""" - -@dataclass(kw_only=True) -class RequestLimitExceeded(ServiceError, _SerdeShape): - """ - Throughput exceeds the current throughput quota for your account. For - detailed information about why the request was throttled and the ARN of - the impacted resource, find the - [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) - field in the returned exception. Contact [Amazon Web Services - Support](https://aws.amazon.com/support) to request a quota increase. - """ - - throttling_reasons: list[ThrottlingReason] | None = ... - """ - A list of - [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) - that provide detailed diagnostic information about why the request was - throttled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceInUseException(ServiceError, _SerdeShape): - """ - The operation conflicts with the resource's availability. For example: - - - You attempted to recreate an existing table. - - - You tried to delete a table currently in the `CREATING` state. - - - You tried to update a resource that was already being updated. - - When appropriate, wait for the ongoing update to complete and attempt - the request again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """ - The operation tried to access a nonexistent table or index. The resource - might not be specified correctly, or its status might not be `ACTIVE`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreSummary(_SerdeShape): - """Contains details for the restore.""" - - source_backup_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the backup from which the table was - restored. - """ - source_table_arn: str | None = ... - """The ARN of the source table of the backup that is being restored.""" - restore_date_time: datetime - """Point in time or source backup time.""" - restore_in_progress: bool - """Indicates if a restore is in progress or not.""" - -@dataclass(kw_only=True) -class RestoreTableFromBackupInput(_SerdeShape): - """Dataclass for RestoreTableFromBackupInput structure.""" - - target_table_name: str | None = ... - """The name of the new table to which the backup must be restored.""" - backup_arn: str | None = ... - """The Amazon Resource Name (ARN) associated with the backup.""" - billing_mode_override: str | None = ... - """The billing mode of the restored table.""" - global_secondary_index_override: list[GlobalSecondaryIndex] | None = ... - """ - List of global secondary indexes for the restored table. The indexes - provided should match existing secondary indexes. You can choose to - exclude some or all of the indexes at the time of restore. - """ - local_secondary_index_override: list[LocalSecondaryIndex] | None = ... - """ - List of local secondary indexes for the restored table. The indexes - provided should match existing secondary indexes. You can choose to - exclude some or all of the indexes at the time of restore. - """ - provisioned_throughput_override: ProvisionedThroughput | None = ... - """Provisioned throughput settings for the restored table.""" - on_demand_throughput_override: OnDemandThroughput | None = ... - """ - Sets the maximum number of read and write units for the specified - on-demand table. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - sse_specification_override: SSESpecification | None = ... - """The new server-side encryption settings for the restored table.""" - vector_index_override: list[VectorIndex] | None = ... - """ - The vector indexes for the restored table. If not specified, all vector - indexes from the backup are restored. The indexes provided must match - existing vector indexes from the backup. You can choose to exclude some - or all of the vector indexes at the time of restore. - """ - -@dataclass(kw_only=True) -class RestoreTableFromBackupOutput(_SerdeShape): - """Dataclass for RestoreTableFromBackupOutput structure.""" - - table_description: TableDescription | None = ... - """The description of the table created from an existing backup.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreTableToPointInTimeInput(_SerdeShape): - """Dataclass for RestoreTableToPointInTimeInput structure.""" - - source_table_arn: str | None = ... - """ - The DynamoDB table that will be restored. This value is an Amazon - Resource Name (ARN). - """ - source_table_name: str | None = ... - """Name of the source table that is being restored.""" - target_table_name: str | None = ... - """The name of the new table to which it must be restored to.""" - use_latest_restorable_time: bool | None = ... - """ - Restore the table to the latest possible time. - `LatestRestorableDateTime` is typically 5 minutes before the current - time. - """ - restore_date_time: datetime | None = ... - """Time in the past to restore the table to.""" - billing_mode_override: str | None = ... - """The billing mode of the restored table.""" - global_secondary_index_override: list[GlobalSecondaryIndex] | None = ... - """ - List of global secondary indexes for the restored table. The indexes - provided should match existing secondary indexes. You can choose to - exclude some or all of the indexes at the time of restore. - - The `WarmThroughput` setting is not supported on global secondary - indexes when you use `RestoreTableToPointInTime`. Although - `WarmThroughput` appears in the shared index definition, including it in - a `GlobalSecondaryIndexOverride` entry causes the request to fail with a - validation error. - """ - local_secondary_index_override: list[LocalSecondaryIndex] | None = ... - """ - List of local secondary indexes for the restored table. The indexes - provided should match existing secondary indexes. You can choose to - exclude some or all of the indexes at the time of restore. - """ - provisioned_throughput_override: ProvisionedThroughput | None = ... - """Provisioned throughput settings for the restored table.""" - on_demand_throughput_override: OnDemandThroughput | None = ... - """ - Sets the maximum number of read and write units for the specified - on-demand table. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - sse_specification_override: SSESpecification | None = ... - """The new server-side encryption settings for the restored table.""" - vector_index_override: list[VectorIndex] | None = ... - """ - The vector indexes for the restored table. If not specified, all vector - indexes from the source table are restored. The indexes provided must - match existing vector indexes from the source table. You can choose to - exclude some or all of the vector indexes at the time of restore. - """ - -@dataclass(kw_only=True) -class RestoreTableToPointInTimeOutput(_SerdeShape): - """Dataclass for RestoreTableToPointInTimeOutput structure.""" - - table_description: TableDescription | None = ... - """Represents the properties of a table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ReturnConsumedCapacity(UnknownEnumMixin, StrEnum): - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - - INDEXES = "INDEXES" - TOTAL = "TOTAL" - NONE = "NONE" - -class ReturnItemCollectionMetrics(UnknownEnumMixin, StrEnum): - SIZE = "SIZE" - NONE = "NONE" - -class ReturnValue(UnknownEnumMixin, StrEnum): - NONE = "NONE" - ALL_OLD = "ALL_OLD" - UPDATED_OLD = "UPDATED_OLD" - ALL_NEW = "ALL_NEW" - UPDATED_NEW = "UPDATED_NEW" - -class ReturnValuesOnConditionCheckFailure(UnknownEnumMixin, StrEnum): - ALL_OLD = "ALL_OLD" - NONE = "NONE" - -@dataclass(kw_only=True) -class S3BucketSource(_SerdeShape): - """The S3 bucket that is being imported from.""" - - s3_bucket_owner: str | None = ... - """ - The account number of the S3 bucket that is being imported from. If the - bucket is owned by the requester this is optional. - """ - s3_bucket: str - """The S3 bucket that is being imported from.""" - s3_key_prefix: str | None = ... - """The key prefix shared by all S3 Objects that are being imported.""" - -class S3SseAlgorithm(UnknownEnumMixin, StrEnum): - AES256 = "AES256" - KMS = "KMS" - -class ScalarAttributeType(UnknownEnumMixin, StrEnum): - S = "S" - N = "N" - B = "B" - -@dataclass(kw_only=True) -class ScanInput(_SerdeShape): - """Represents the input of a `Scan` operation.""" - - table_name: str | None = ... - """ - The name of the table containing the requested items or if you provide - `IndexName`, the name of the table to which that index belongs. - - You can also provide the Amazon Resource Name (ARN) of the table in this - parameter. - """ - index_name: str | None = ... - """ - The name of a secondary index to scan. This index can be any local - secondary index or global secondary index. Note that if you use the - `IndexName` parameter, you must also provide `TableName`. - """ - attributes_to_get: list[str] | None = ... - """ - This is a legacy parameter. Use `ProjectionExpression` instead. For more - information, see - [AttributesToGet](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html) - in the *Amazon DynamoDB Developer Guide*. - """ - limit: int | None = ... - """ - The maximum number of items to evaluate (not necessarily the number of - matching items). If DynamoDB processes the number of items up to the - limit while processing the results, it stops the operation and returns - the matching values up to that point, and a key in `LastEvaluatedKey` to - apply in a subsequent operation, so that you can pick up where you left - off. Also, if the processed dataset size exceeds 1 MB before DynamoDB - reaches this limit, it stops the operation and returns the matching - values up to the limit, and a key in `LastEvaluatedKey` to apply in a - subsequent operation to continue the operation. For more information, - see [Working with - Queries](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html) - in the *Amazon DynamoDB Developer Guide*. - """ - select: str | None = ... - """ - The attributes to be returned in the result. You can retrieve all item - attributes, specific item attributes, the count of matching items, or in - the case of an index, some or all of the attributes projected into the - index. - - - `ALL_ATTRIBUTES` - Returns all of the item attributes from the - specified table or index. If you query a local secondary index, then - for each matching item in the index, DynamoDB fetches the entire item - from the parent table. If the index is configured to project all item - attributes, then all of the data can be obtained from the local - secondary index, and no fetching is required. - - - `ALL_PROJECTED_ATTRIBUTES` - Allowed only when querying an index. - Retrieves all attributes that have been projected into the index. If - the index is configured to project all attributes, this return value - is equivalent to specifying `ALL_ATTRIBUTES`. - - - `COUNT` - Returns the number of matching items, rather than the - matching items themselves. Note that this uses the same quantity of - read capacity units as getting the items, and is subject to the same - item size calculations. - - - `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in - `ProjectionExpression`. This return value is equivalent to specifying - `ProjectionExpression` without specifying any value for `Select`. - - If you query or scan a local secondary index and request only - attributes that are projected into that index, the operation reads - only the index and not the table. If any of the requested attributes - are not projected into the local secondary index, DynamoDB fetches - each of these attributes from the parent table. This extra fetching - incurs additional throughput cost and latency. - - If you query or scan a global secondary index, you can only request - attributes that are projected into the index. Global secondary index - queries cannot fetch attributes from the parent table. - - If neither `Select` nor `ProjectionExpression` are specified, DynamoDB - defaults to `ALL_ATTRIBUTES` when accessing a table, and - `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use both - `Select` and `ProjectionExpression` together in a single request, unless - the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is - equivalent to specifying `ProjectionExpression` without any value for - `Select`.) - - Note: - If you use the `ProjectionExpression` parameter, then the value for - `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for `Select` - will return an error. - """ - scan_filter: dict[str, Condition] | None = ... - """ - This is a legacy parameter. Use `FilterExpression` instead. For more - information, see - [ScanFilter](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ScanFilter.html) - in the *Amazon DynamoDB Developer Guide*. - """ - conditional_operator: str | None = ... - """ - This is a legacy parameter. Use `FilterExpression` instead. For more - information, see - [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) - in the *Amazon DynamoDB Developer Guide*. - """ - exclusive_start_key: dict[str, AttributeValue] | None = ... - """ - The primary key of the first item that this operation will evaluate. Use - the value that was returned for `LastEvaluatedKey` in the previous - operation. - - The data type for `ExclusiveStartKey` must be String, Number or Binary. - No set data types are allowed. - - In a parallel scan, a `Scan` request that includes `ExclusiveStartKey` - must specify the same segment whose previous `Scan` returned the - corresponding value of `LastEvaluatedKey`. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - total_segments: int | None = ... - """ - For a parallel `Scan` request, `TotalSegments` represents the total - number of segments into which the `Scan` operation will be divided. The - value of `TotalSegments` corresponds to the number of application - workers that will perform the parallel scan. For example, if you want to - use four application threads to scan a table or an index, specify a - `TotalSegments` value of 4. - - The value for `TotalSegments` must be greater than or equal to 1, and - less than or equal to 1000000. If you specify a `TotalSegments` value of - 1, the `Scan` operation will be sequential rather than parallel. - - If you specify `TotalSegments`, you must also specify `Segment`. - """ - segment: int | None = ... - """ - For a parallel `Scan` request, `Segment` identifies an individual - segment to be scanned by an application worker. - - Segment IDs are zero-based, so the first segment is always 0. For - example, if you want to use four application threads to scan a table or - an index, then the first thread specifies a `Segment` value of 0, the - second thread specifies 1, and so on. - - The value of `LastEvaluatedKey` returned from a parallel `Scan` request - must be used as `ExclusiveStartKey` with the same segment ID in a - subsequent `Scan` operation. - - The value for `Segment` must be greater than or equal to 0, and less - than the value provided for `TotalSegments`. - - If you provide `Segment`, you must also provide `TotalSegments`. - """ - projection_expression: str | None = ... - """ - A string that identifies one or more attributes to retrieve from the - specified table or index. These attributes can include scalars, sets, or - elements of a JSON document. The attributes in the expression must be - separated by commas. - - If no attribute names are specified, then all attributes will be - returned. If any of the requested attributes are not found, they will - not appear in the result. - - For more information, see [Specifying Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - filter_expression: str | None = ... - """ - A string that contains conditions that DynamoDB applies after the `Scan` - operation, but before the data is returned to you. Items that do not - satisfy the `FilterExpression` criteria are not returned. - - Note: - A `FilterExpression` is applied after the items have already been read; - the process of filtering does not consume any additional read capacity - units. - - For more information, see [Filter - Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - The following are some use cases for using `ExpressionAttributeNames`: - - - To access an attribute whose name conflicts with a DynamoDB reserved - word. - - - To create a placeholder for repeating occurrences of an attribute name - in an expression. - - - To prevent special characters in an attribute name from being - misinterpreted in an expression. - - Use the **#** character in an expression to dereference an attribute - name. For example, consider the following attribute name: - - - `Percentile` - - The name of this attribute conflicts with a reserved word, so it cannot - be used directly in an expression. (For the complete list of reserved - words, see [Reserved - Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) - in the *Amazon DynamoDB Developer Guide*). To work around this, you - could specify the following for `ExpressionAttributeNames`: - - - `{"#P":"Percentile"}` - - You could then use this substitution in an expression, as in this - example: - - - `#P = :val` - - Note: - Tokens that begin with the **:** character are *expression attribute - values*, which are placeholders for the actual value at runtime. - - For more information on expression attribute names, see [Specifying Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_values: dict[str, AttributeValue] | None = ... - """ - One or more values that can be substituted in an expression. - - Use the **:** (colon) character in an expression to dereference an - attribute value. For example, suppose that you wanted to check whether - the value of the `ProductStatus` attribute was one of the following: - - `Available | Backordered | Discontinued` - - You would first need to specify `ExpressionAttributeValues` as follows: - - `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` - - You could then use these values in an expression, such as this: - - `ProductStatus IN (:avail, :back, :disc)` - - For more information on expression attribute values, see [Condition - Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - consistent_read: bool | None = ... - """ - A Boolean value that determines the read consistency model during the - scan: - - - If `ConsistentRead` is `false`, then the data returned from `Scan` - might not contain the results from other recently completed write - operations (`PutItem`, `UpdateItem`, or `DeleteItem`). - - - If `ConsistentRead` is `true`, then all of the write operations that - completed before the `Scan` began are guaranteed to be contained in - the `Scan` response. - - The default setting for `ConsistentRead` is `false`. - - The `ConsistentRead` parameter is not supported on global secondary - indexes. If you scan a global secondary index with `ConsistentRead` set - to true, you will receive a `ValidationException`. - """ - -@dataclass(kw_only=True) -class ScanOutput(_SerdeShape): - """Represents the output of a `Scan` operation.""" - - items: list[dict[str, AttributeValue]] | None = ... - """ - An array of item attributes that match the scan criteria. Each element - in this array consists of an attribute name and the value for that - attribute. - """ - count: int = ... - """ - The number of items in the response. - - If you set `ScanFilter` in the request, then `Count` is the number of - items returned after the filter was applied, and `ScannedCount` is the - number of matching items before the filter was applied. - - If you did not use a filter in the request, then `Count` is the same as - `ScannedCount`. - """ - scanned_count: int = ... - """ - The number of items evaluated, before any `ScanFilter` is applied. A - high `ScannedCount` value with few, or no, `Count` results indicates an - inefficient `Scan` operation. For more information, see [Count and - ScannedCount](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count) - in the *Amazon DynamoDB Developer Guide*. - - If you did not use a filter in the request, then `ScannedCount` is the - same as `Count`. - """ - last_evaluated_key: dict[str, AttributeValue] | None = ... - """ - The primary key of the item where the operation stopped, inclusive of - the previous result set. Use this value to start a new operation, - excluding this value in the new request. - - If `LastEvaluatedKey` is empty, then the \"last page\" of results has - been processed and there is no more data to be retrieved. - - If `LastEvaluatedKey` is not empty, it does not necessarily mean that - there is more data in the result set. The only way to know when you have - reached the end of the result set is when `LastEvaluatedKey` is empty. - """ - consumed_capacity: ConsumedCapacity | None = ... - """ - The capacity units consumed by the `Scan` operation. The data returned - includes the total provisioned throughput consumed, along with - statistics for the table and any indexes involved in the operation. - `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` - parameter was specified. For more information, see [Capacity unit - consumption for read - operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#read-operation-consumption) - in the *Amazon DynamoDB Developer Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SearchResultItem(_SerdeShape): - """A single result from a `SearchVectors` operation.""" - - item: dict[str, AttributeValue] | None = ... - """ - A map of attribute names to `AttributeValue` objects, representing the - projected attributes of the item returned by the vector search. - """ - score: float = ... - """ - The similarity score for this item relative to the search vector. The - interpretation depends on the distance function configured for the - vector index. - """ - -@dataclass(kw_only=True) -class SearchSchemaElement(_SerdeShape): - """An element in the search schema of a vector index.""" - - attribute_name: str - """The name of the attribute.""" - search_schema_element_type: str - """ - The role of the attribute in the search schema. Valid values: - - - `HASH` - A partition key that partitions the vector index for - independent scaling. When specified, you must provide this - attribute's value in the `SearchConditionExpression`. - - - `INLINE_FILTER` - An attribute projected into the vector index for - filtering at the storage layer during search. Inline filters are - optional in the `SearchConditionExpression`. - """ - -class SearchSchemaElementType(UnknownEnumMixin, StrEnum): - HASH = "HASH" - INLINE_FILTER = "INLINE_FILTER" - -@dataclass(kw_only=True) -class SearchVectorsInput(_SerdeShape): - """Dataclass for SearchVectorsInput structure.""" - - table_name: str | None = ... - """ - The name or Amazon Resource Name (ARN) of the table containing the - vector index. - """ - index_name: str | None = ... - """ - The name of the vector index to search. The index must be in the - `ACTIVE` state. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - Use the `#` character in an expression to dereference an attribute name. - """ - expression_attribute_values: dict[str, AttributeValue] | None = ... - """ - One or more values that can be substituted in an expression. Use the `:` - character in an expression to dereference an attribute value. - """ - projection_expression: str | None = ... - """ - A string that identifies one or more attributes to retrieve from the - index. Separate attribute names with commas. If not specified, the - operation returns all attributes projected into the vector index. - - Only attributes projected into the vector index can be retrieved. - """ - search_vector: list[AttributeValue] | None = ... - """ - The search vector to compare against the indexed vectors. Each element - is a 32-bit IEEE-754 floating point number, provided in DynamoDB list - format. - - The number of dimensions must match the number of dimensions configured - for the vector index. - """ - search_condition_expression: str | None = ... - """ - A condition expression used to filter the vector search results. The - expression can reference attributes defined in the vector index search - schema, including `HASH` and `INLINE_FILTER` key elements. - - The `HASH` and `INLINE_FILTER` attributes support only the equality - operator (`=`). You can reference only top-level attributes from the - search schema. - """ - top_k: int | None = ... - """The number of most similar results to return.""" - -@dataclass(kw_only=True) -class SearchVectorsOutput(_SerdeShape): - """Dataclass for SearchVectorsOutput structure.""" - - consumed_capacity: VectorCapacity | None = ... - """ - The capacity units consumed by the `SearchVectors` operation. Contains - `VectorSearchRequestBytes`, which represents the vector search capacity - consumed. - """ - search_results: list[SearchResultItem] | None = ... - """ - A list of items returned by the vector similarity search, sorted by - similarity with the most similar item first. Each item contains the - projected attributes and a similarity score. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class Select(UnknownEnumMixin, StrEnum): - ALL_ATTRIBUTES = "ALL_ATTRIBUTES" - ALL_PROJECTED_ATTRIBUTES = "ALL_PROJECTED_ATTRIBUTES" - SPECIFIC_ATTRIBUTES = "SPECIFIC_ATTRIBUTES" - COUNT = "COUNT" - -@dataclass(kw_only=True) -class SourceTableDetails(_SerdeShape): - """Contains the details of the table when the backup was created.""" - - table_name: str - """The name of the table for which the backup was created.""" - table_id: str - """Unique identifier for the table for which the backup was created.""" - table_arn: str | None = ... - """ARN of the table for which backup was created.""" - table_size_bytes: int | None = ... - """Size of the table in bytes. Note that this is an approximate value.""" - key_schema: list[KeySchemaElement] - """Schema of the table.""" - table_creation_date_time: datetime - """Time when the source table was created.""" - provisioned_throughput: ProvisionedThroughput - """Read IOPs and Write IOPS on the table when the backup was created.""" - on_demand_throughput: OnDemandThroughput | None = ... - """ - Sets the maximum number of read and write units for the specified - on-demand table. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - item_count: int | None = ... - """Number of items in the table. Note that this is an approximate value.""" - billing_mode: str | None = ... - """ - Controls how you are charged for read and write throughput and how you - manage capacity. This setting can be changed later. - - - `PROVISIONED` - Sets the read/write capacity mode to `PROVISIONED`. We - recommend using `PROVISIONED` for predictable workloads. - - - `PAY_PER_REQUEST` - Sets the read/write capacity mode to - `PAY_PER_REQUEST`. We recommend using `PAY_PER_REQUEST` for - unpredictable workloads. - """ - -@dataclass(kw_only=True) -class SourceTableFeatureDetails(_SerdeShape): - """ - Contains the details of the features enabled on the table when the - backup was created. For example, LSIs, GSIs, streams, TTL. - """ - - local_secondary_indexes: list[LocalSecondaryIndexInfo] | None = ... - """ - Represents the LSI properties for the table when the backup was created. - It includes the IndexName, KeySchema and Projection for the LSIs on the - table at the time of backup. - """ - global_secondary_indexes: list[GlobalSecondaryIndexInfo] | None = ... - """ - Represents the GSI properties for the table when the backup was created. - It includes the IndexName, KeySchema, Projection, and - ProvisionedThroughput for the GSIs on the table at the time of backup. - """ - stream_description: StreamSpecification | None = ... - """Stream settings on the table when the backup was created.""" - time_to_live_description: TimeToLiveDescription | None = ... - """Time to Live settings on the table when the backup was created.""" - sse_description: SSEDescription | None = ... - """ - The description of the server-side encryption status on the table when - the backup was created. - """ - vector_indexes: list[VectorIndexInfo] | None = ... - """ - The vector index properties for the table at the time the backup was - created, including the index name, vector attribute, dimensions, - distance function, search schema, and projection. - """ - -@dataclass(kw_only=True) -class SSEDescription(_SerdeShape): - """ - The description of the server-side encryption status on the specified - table. - """ - - status: str | None = ... - """ - Represents the current state of server-side encryption. The only - supported values are: - - - `ENABLED` - Server-side encryption is enabled. - - - `UPDATING` - Server-side encryption is being updated. - """ - sse_type: str | None = ... - """ - Server-side encryption type. The only supported value is: - - - `KMS` - Server-side encryption that uses Key Management Service. The - key is stored in your account and is managed by KMS (KMS charges - apply). - """ - kms_master_key_arn: str | None = ... - """The KMS key ARN used for the KMS encryption.""" - inaccessible_encryption_date_time: datetime | None = ... - """ - Indicates the time, in UNIX epoch date format, when DynamoDB detected - that the table's KMS key was inaccessible. This attribute will - automatically be cleared when DynamoDB detects that the table's KMS key - is accessible again. DynamoDB will initiate the table archival process - when table's KMS key remains inaccessible for more than seven days from - this date. - """ - -@dataclass(kw_only=True) -class SSESpecification(_SerdeShape): - """Represents the settings used to enable server-side encryption.""" - - enabled: bool | None = ... - """ - Indicates whether server-side encryption is done using an Amazon Web - Services managed key or an Amazon Web Services owned key. If enabled - (true), server-side encryption type is set to `KMS` and an Amazon Web - Services managed key is used (KMS charges apply). If disabled (false) or - not specified, server-side encryption is set to Amazon Web Services - owned key. - """ - sse_type: str | None = ... - """ - Server-side encryption type. The only supported value is: - - - `KMS` - Server-side encryption that uses Key Management Service. The - key is stored in your account and is managed by KMS (KMS charges - apply). - """ - kms_master_key_id: str | None = ... - """ - The KMS key that should be used for the KMS encryption. To specify a - key, use its key ID, Amazon Resource Name (ARN), alias name, or alias - ARN. Note that you should only provide this parameter if the key is - different from the default DynamoDB key `alias/aws/dynamodb`. - """ - -class SSEStatus(UnknownEnumMixin, StrEnum): - ENABLING = "ENABLING" - ENABLED = "ENABLED" - DISABLING = "DISABLING" - DISABLED = "DISABLED" - UPDATING = "UPDATING" - -class SSEType(UnknownEnumMixin, StrEnum): - AES256 = "AES256" - KMS = "KMS" - -@dataclass(kw_only=True) -class StartBulkPutItemsInput(_SerdeShape): - """Dataclass for StartBulkPutItemsInput structure.""" - - client_token: str | None = ... - """ - A unique, case-sensitive identifier that ensures the bulk operation - starts no more than one time. During the 8 hours after the initial - request, repeated requests that use the same token and parameters return - the same bulk operation. If a request reuses the token with different - parameters, DynamoDB returns an `IdempotentParameterMismatchException`. - If you omit the token, an Amazon Web Services SDK automatically - generates one. - """ - input_s3_configuration: InputS3Configuration | None = ... - """ - The Amazon S3 location, data format, and compression settings for the - input objects. - """ - output_s3_configuration: OutputS3Configuration | None = ... - """ - The Amazon S3 location, encryption settings, and output types for the - bulk operation. - """ - table_name: str | None = ... - """The name or ARN of the existing DynamoDB table that receives the items.""" - max_write_request_units: int | None = ... - """ - The maximum rate, in write request units per second, at which the bulk - operation attempts to write. The value must be at least 1,024. With this - setting, you limit only the bulk operation; the table's provisioned or - on-demand capacity settings don't change. The actual write rate can be - lower. - """ - performance_tier: str | None = ... - """ - The performance tier for the bulk operation. Valid values are `STANDARD` - and `ACCELERATED`. If you don't specify a value, the operation uses - `STANDARD`. - """ - -@dataclass(kw_only=True) -class StartBulkPutItemsOutput(_SerdeShape): - """Dataclass for StartBulkPutItemsOutput structure.""" - - bulk_operation_description: BulkOperationDescription - """Contains detailed information about a bulk operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StreamSpecification(_SerdeShape): - """Represents the DynamoDB Streams configuration for a table in DynamoDB.""" - - stream_enabled: bool - """ - Indicates whether DynamoDB Streams is enabled (true) or disabled (false) - on the table. - """ - stream_view_type: str | None = ... - """ - When an item in the table is modified, `StreamViewType` determines what - information is written to the stream for this table. Valid values for - `StreamViewType` are: - - - `KEYS_ONLY` - Only the key attributes of the modified item are written - to the stream. - - - `NEW_IMAGE` - The entire item, as it appears after it was modified, is - written to the stream. - - - `OLD_IMAGE` - The entire item, as it appeared before it was modified, - is written to the stream. - - - `NEW_AND_OLD_IMAGES` - Both the new and the old item images of the - item are written to the stream. - """ - -class StreamViewType(UnknownEnumMixin, StrEnum): - NEW_IMAGE = "NEW_IMAGE" - OLD_IMAGE = "OLD_IMAGE" - NEW_AND_OLD_IMAGES = "NEW_AND_OLD_IMAGES" - KEYS_ONLY = "KEYS_ONLY" - -@dataclass(kw_only=True) -class TableAlreadyExistsException(ServiceError, _SerdeShape): - """A target table with the specified name already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TableAutoScalingDescription(_SerdeShape): - """Represents the auto scaling configuration for a global table.""" - - table_name: str | None = ... - """The name of the table.""" - table_status: str | None = ... - """ - The current state of the table: - - - `CREATING` - The table is being created. - - - `UPDATING` - The table is being updated. - - - `DELETING` - The table is being deleted. - - - `ACTIVE` - The table is ready for use. - """ - replicas: list[ReplicaAutoScalingDescription] | None = ... - """Represents replicas of the global table.""" - -class TableClass(UnknownEnumMixin, StrEnum): - STANDARD = "STANDARD" - STANDARD_INFREQUENT_ACCESS = "STANDARD_INFREQUENT_ACCESS" - -@dataclass(kw_only=True) -class TableClassSummary(_SerdeShape): - """Contains details of the table class.""" - - table_class: str | None = ... - """ - The table class of the specified table. Valid values are `STANDARD` and - `STANDARD_INFREQUENT_ACCESS`. - """ - last_update_date_time: datetime | None = ... - """The date and time at which the table class was last updated.""" - -@dataclass(kw_only=True) -class TableCreationParameters(_SerdeShape): - """The parameters for the table created as part of the import operation.""" - - table_name: str - """The name of the table created as part of the import operation.""" - attribute_definitions: list[AttributeDefinition] - """The attributes of the table created as part of the import operation.""" - key_schema: list[KeySchemaElement] - """ - The primary key and option sort key of the table created as part of the - import operation. - """ - billing_mode: str | None = ... - """ - The billing mode for provisioning the table created as part of the - import operation. - """ - provisioned_throughput: ProvisionedThroughput | None = ... - """ - Represents the provisioned throughput settings for the specified global - secondary index. You must use `ProvisionedThroughput` or - `OnDemandThroughput` based on your table's capacity mode. - - For current minimum and maximum provisioned throughput values, see - [Service, Account, and Table - Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) - in the *Amazon DynamoDB Developer Guide*. - """ - on_demand_throughput: OnDemandThroughput | None = ... - """ - Sets the maximum number of read and write units for the specified - on-demand table. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - sse_specification: SSESpecification | None = ... - """Represents the settings used to enable server-side encryption.""" - global_secondary_indexes: list[GlobalSecondaryIndex] | None = ... - """ - The Global Secondary Indexes (GSI) of the table to be created as part of - the import operation. - """ - vector_indexes: list[VectorIndex] | None = ... - """ - The vector indexes of the table to be created as part of the import - operation. - """ - -@dataclass(kw_only=True) -class TableDescription(_SerdeShape): - """Represents the properties of a table.""" - - attribute_definitions: list[AttributeDefinition] | None = ... - """ - An array of `AttributeDefinition` objects. Each of these objects - describes one attribute in the table and index key schema. - - Each `AttributeDefinition` object in this array is composed of: - - - `AttributeName` - The name of the attribute. - - - `AttributeType` - The data type for the attribute. - """ - table_name: str | None = ... - """The name of the table.""" - key_schema: list[KeySchemaElement] | None = ... - """ - The primary key structure for the table. Each `KeySchemaElement` - consists of: - - - `AttributeName` - The name of the attribute. - - - `KeyType` - The role of the attribute: - - - `HASH` - partition key - - - `RANGE` - sort key - - Note: - The partition key of an item is also known as its *hash attribute*. - The term \"hash attribute\" derives from DynamoDB's usage of an - internal hash function to evenly distribute data items across - partitions, based on their partition key values. - - The sort key of an item is also known as its *range attribute*. The - term \"range attribute\" derives from the way DynamoDB stores items - with the same partition key physically close together, in sorted order - by the sort key value. - - For more information about primary keys, see [Primary - Key](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModelPrimaryKey) - in the *Amazon DynamoDB Developer Guide*. - """ - table_status: str | None = ... - """ - The current state of the table: - - - `CREATING` - The table is being created. - - - `UPDATING` - The table/index configuration is being updated. The - table/index remains available for data operations when `UPDATING`. - - - `DELETING` - The table is being deleted. - - - `ACTIVE` - The table is ready for use. - - - `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The KMS key used to encrypt - the table in inaccessible. Table operations may fail due to failure to - use the KMS key. DynamoDB will initiate the table archival process - when a table's KMS key remains inaccessible for more than seven days. - - - `ARCHIVING` - The table is being archived. Operations are not allowed - until archival is complete. - - - `ARCHIVED` - The table has been archived. See the ArchivalReason for - more information. - """ - creation_date_time: datetime | None = ... - """ - The date and time when the table was created, in [UNIX epoch - time](http://www.epochconverter.com/) format. - """ - provisioned_throughput: ProvisionedThroughputDescription | None = ... - """ - The provisioned throughput settings for the table, consisting of read - and write capacity units, along with data about increases and decreases. - """ - table_size_bytes: int | None = ... - """ - The total size of the specified table, in bytes. DynamoDB updates this - value approximately every six hours. Recent changes might not be - reflected in this value. - """ - item_count: int | None = ... - """ - The number of items in the specified table. DynamoDB updates this value - approximately every six hours. Recent changes might not be reflected in - this value. - """ - table_arn: str | None = ... - """The Amazon Resource Name (ARN) that uniquely identifies the table.""" - table_id: str | None = ... - """ - A unique identifier for the table, in UUID format, generated by DynamoDB - when the table is created. - """ - billing_mode_summary: BillingModeSummary | None = ... - """Contains the details for the read/write capacity mode.""" - local_secondary_indexes: list[LocalSecondaryIndexDescription] | None = ... - """ - Represents one or more local secondary indexes on the table. Each index - is scoped to a given partition key value. Tables with one or more local - secondary indexes are subject to an item collection size limit, where - the amount of data within a given item collection cannot exceed 10 GB. - Each element is composed of: - - - `IndexName` - The name of the local secondary index. - - - `KeySchema` - Specifies the complete index key schema. The attribute - names in the key schema must be between 1 and 255 characters - (inclusive). The key schema must begin with the same partition key as - the table. - - - `Projection` - Specifies attributes that are copied (projected) from - the table into the index. These are in addition to the primary key - attributes and index key attributes, which are automatically - projected. Each attribute specification is composed of: - - - `ProjectionType` - One of the following: - - - `KEYS_ONLY` - Only the index and primary keys are projected into - the index. - - - `INCLUDE` - Only the specified table attributes are projected into - the index. The list of projected attributes is in - `NonKeyAttributes`. - - - `ALL` - All of the table attributes are projected into the index. - - - `NonKeyAttributes` - A list of one or more non-key attribute names - that are projected into the secondary index. The total count of - attributes provided in `NonKeyAttributes`, summed across all of the - secondary indexes, must not exceed 100. If you project the same - attribute into two different indexes, this counts as two distinct - attributes when determining the total. This limit only applies when - you specify the ProjectionType of `INCLUDE`. You still can specify - the ProjectionType of `ALL` to project all attributes from the - source table, even if the table has more than 100 attributes. - - - `IndexSizeBytes` - Represents the total size of the index, in bytes. - DynamoDB updates this value approximately every six hours. Recent - changes might not be reflected in this value. - - - `ItemCount` - Represents the number of items in the index. DynamoDB - updates this value approximately every six hours. Recent changes might - not be reflected in this value. - - If the table is in the `DELETING` state, no information about indexes - will be returned. - """ - global_secondary_indexes: list[GlobalSecondaryIndexDescription] | None = ... - """ - The global secondary indexes, if any, on the table. Each index is scoped - to a given partition key value. Each element is composed of: - - - `Backfilling` - If true, then the index is currently in the - backfilling phase. Backfilling occurs only when a new global secondary - index is added to the table. It is the process by which DynamoDB - populates the new index with data from the table. (This attribute does - not appear for indexes that were created during a `CreateTable` - operation.) - - You can delete an index that is being created during the `Backfilling` - phase when `IndexStatus` is set to CREATING and `Backfilling` is true. - You can't delete the index that is being created when `IndexStatus` - is set to CREATING and `Backfilling` is false. (This attribute does - not appear for indexes that were created during a `CreateTable` - operation.) - - - `IndexName` - The name of the global secondary index. - - - `IndexSizeBytes` - The total size of the global secondary index, in - bytes. DynamoDB updates this value approximately every six hours. - Recent changes might not be reflected in this value. - - - `IndexStatus` - The current status of the global secondary index: - - - `CREATING` - The index is being created. - - - `UPDATING` - The index is being updated. - - - `DELETING` - The index is being deleted. - - - `ACTIVE` - The index is ready for use. - - - `ItemCount` - The number of items in the global secondary index. - DynamoDB updates this value approximately every six hours. Recent - changes might not be reflected in this value. - - - `KeySchema` - Specifies the complete index key schema. The attribute - names in the key schema must be between 1 and 255 characters - (inclusive). The key schema must begin with the same partition key as - the table. - - - `Projection` - Specifies attributes that are copied (projected) from - the table into the index. These are in addition to the primary key - attributes and index key attributes, which are automatically - projected. Each attribute specification is composed of: - - - `ProjectionType` - One of the following: - - - `KEYS_ONLY` - Only the index and primary keys are projected into - the index. - - - `INCLUDE` - In addition to the attributes described in - `KEYS_ONLY`, the secondary index will include other non-key - attributes that you specify. - - - `ALL` - All of the table attributes are projected into the index. - - - `NonKeyAttributes` - A list of one or more non-key attribute names - that are projected into the secondary index. The total count of - attributes provided in `NonKeyAttributes`, summed across all of the - secondary indexes, must not exceed 100. If you project the same - attribute into two different indexes, this counts as two distinct - attributes when determining the total. This limit only applies when - you specify the ProjectionType of `INCLUDE`. You still can specify - the ProjectionType of `ALL` to project all attributes from the - source table, even if the table has more than 100 attributes. - - - `ProvisionedThroughput` - The provisioned throughput settings for the - global secondary index, consisting of read and write capacity units, - along with data about increases and decreases. - - If the table is in the `DELETING` state, no information about indexes - will be returned. - """ - stream_specification: StreamSpecification | None = ... - """The current DynamoDB Streams configuration for the table.""" - latest_stream_label: str | None = ... - """ - A timestamp, in ISO 8601 format, for this stream. - - Note that `LatestStreamLabel` is not a unique identifier for the stream, - because it is possible that a stream from another table might have the - same timestamp. However, the combination of the following three elements - is guaranteed to be unique: - - - Amazon Web Services customer ID - - - Table name - - - `StreamLabel` - """ - latest_stream_arn: str | None = ... - """ - The Amazon Resource Name (ARN) that uniquely identifies the latest - stream for this table. - """ - global_table_version: str | None = ... - """ - Represents the version of [global - tables](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html) - in use, if the table is replicated across Amazon Web Services Regions. - """ - replicas: list[ReplicaDescription] | None = ... - """ - Represents replicas of the table. - - After a successful disassociation, this list is absent or empty. To - confirm disassociation, also verify that `TableStatus` is `ACTIVE`. - """ - global_table_witnesses: list[GlobalTableWitnessDescription] | None = ... - """ - The witness Region and its current status in the MRSC global table. Only - one witness Region can be configured per MRSC global table. - """ - global_table_settings_replication_mode: str | None = ... - """ - Indicates one of the settings synchronization modes for the global - table: - - - `ENABLED`: Indicates that the settings synchronization mode for the - global table is enabled. - - - `DISABLED`: Indicates that the settings synchronization mode for the - global table is disabled. - - - `ENABLED_WITH_OVERRIDES`: This mode is set by default for a same - account global table. Indicates that certain global table settings can - be overridden. - """ - restore_summary: RestoreSummary | None = ... - """Contains details for the restore.""" - sse_description: SSEDescription | None = ... - """ - The description of the server-side encryption status on the specified - table. - """ - archival_summary: ArchivalSummary | None = ... - """Contains information about the table archive.""" - table_class_summary: TableClassSummary | None = ... - """Contains details of the table class.""" - deletion_protection_enabled: bool | None = ... - """ - Indicates whether deletion protection is enabled (true) or disabled - (false) on the table. - """ - disassociation_protection_enabled: bool | None = ... - """ - Specifies whether disassociation protection is enabled (`true`) or - disabled (`false`) for the local global table replica. Protection is - enabled by default. - """ - on_demand_throughput: OnDemandThroughput | None = ... - """ - The maximum number of read and write units for the specified on-demand - table. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - warm_throughput: TableWarmThroughputDescription | None = ... - """Describes the warm throughput value of the base table.""" - multi_region_consistency: str | None = ... - """ - Indicates one of the following consistency modes for a global table: - - - `EVENTUAL`: Indicates that the global table is configured for - multi-Region eventual consistency (MREC). - - - `STRONG`: Indicates that the global table is configured for - multi-Region strong consistency (MRSC). - - If you don't specify this field, the global table consistency mode - defaults to `EVENTUAL`. For more information about global tables - consistency modes, see [Consistency - modes](https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes) - in DynamoDB developer guide. - """ - vector_indexes: list[VectorIndexDescription] | None = ... - """ - The vector indexes, if any, on the table. Each element is composed of: - - - `IndexName` - The name of the vector index. - - - `IndexStatus` - The current status of the vector index: `CREATING`, - `ACTIVE`, or `DELETING`. - - - `Backfilling` - Specifies whether the index is currently backfilling. - During backfill, `SearchVectors` operations might return incomplete - results. - - - `VectorAttribute` - The attribute that contains vector embeddings. - - - `Dimensions` - The number of dimensions in each vector. - - - `DistanceFunction` - The distance function used to calculate - similarity (`COSINE`, `EUCLIDEAN`, or `DOT_PRODUCT`). - - - `SearchSchema` - The partition key and inline filter attributes for - the vector index. - - - `Projection` - Specifies attributes that are copied (projected) from - the table into the vector index. - - - `IndexArn` - The Amazon Resource Name (ARN) that uniquely identifies - the index. - - - `IndexSizeBytes` - The total size of the vector index, in bytes. - Amazon DynamoDB updates this value approximately every six hours. - Recent changes might not be reflected in this value. - - - `ItemCount` - The number of items indexed in the vector index. Amazon - DynamoDB updates this value approximately every six hours. Recent - changes might not be reflected in this value. - """ - -@dataclass(kw_only=True) -class TableInUseException(ServiceError, _SerdeShape): - """ - A target table with the specified name is either being created or - deleted. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TableNotFoundException(ServiceError, _SerdeShape): - """ - A source table with the name `TableName` does not currently exist within - the subscriber's account or the subscriber is operating in the wrong - Amazon Web Services Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class TableStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - UPDATING = "UPDATING" - DELETING = "DELETING" - ACTIVE = "ACTIVE" - INACCESSIBLE_ENCRYPTION_CREDENTIALS = "INACCESSIBLE_ENCRYPTION_CREDENTIALS" - ARCHIVING = "ARCHIVING" - ARCHIVED = "ARCHIVED" - REPLICATION_NOT_AUTHORIZED = "REPLICATION_NOT_AUTHORIZED" - -@dataclass(kw_only=True) -class TableWarmThroughputDescription(_SerdeShape): - """ - Represents the warm throughput value (in read units per second and write - units per second) of the table. Warm throughput is applicable for - DynamoDB Standard-IA tables and specifies the minimum provisioned - capacity maintained for immediate data access. - """ - - read_units_per_second: int | None = ... - """ - Represents the base table's warm throughput value in read units per - second. - """ - write_units_per_second: int | None = ... - """ - Represents the base table's warm throughput value in write units per - second. - """ - status: str | None = ... - """Represents warm throughput value of the base table.""" - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """ - Describes a tag. A tag is a key-value pair. You can add up to 50 tags to - a single DynamoDB table. - - Amazon Web Services-assigned tag names and values are automatically - assigned the `aws:` prefix, which the user cannot assign. Amazon Web - Services-assigned tag names do not count towards the tag limit of 50. - User-assigned tag names have the prefix `user:` in the Cost Allocation - Report. You cannot backdate the application of a tag. - - For an overview on tagging DynamoDB resources, see [Tagging for - DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html) - in the *Amazon DynamoDB Developer Guide*. - """ - - key: str - """ - The key of the tag. Tag keys are case sensitive. Each DynamoDB table can - only have up to one tag with the same key. If you try to add an existing - tag (same key), the existing tag value will be updated to the new value. - """ - value: str - """The value of the tag. Tag values are case-sensitive and can be null.""" - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Dataclass for TagResourceInput structure.""" - - resource_arn: str | None = ... - """ - Identifies the Amazon DynamoDB resource to which tags should be added. - This value is an Amazon Resource Name (ARN). - """ - tags: list[Tag] | None = ... - """The tags to be assigned to the Amazon DynamoDB resource.""" - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ThrottlingException(ServiceError, _SerdeShape): - """ - The request was denied due to request throttling. For detailed - information about why the request was throttled and the ARN of the - impacted resource, find the - [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) - field in the returned exception. - """ - - throttling_reasons: list[ThrottlingReason] | None = ... - """ - A list of - [ThrottlingReason](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html) - that provide detailed diagnostic information about why the request was - throttled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ThrottlingReason(_SerdeShape): - """ - Represents the specific reason why a DynamoDB request was throttled and - the ARN of the impacted resource. This helps identify exactly what - resource is being throttled, what type of operation caused it, and why - the throttling occurred. - """ - - reason: str | None = ... - """ - The reason for throttling. The throttling reason follows a specific - format: `ResourceType+OperationType+LimitType`: - - - Resource Type (What is being throttled): Table or Index - - - Operation Type (What kind of operation): Read or Write - - - Limit Type (Why the throttling occurred): - - - `ProvisionedThroughputExceeded`: The request rate is exceeding the - [provisioned throughput - capacity](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html) - (read or write capacity units) configured for a table or a global - secondary index (GSI) in provisioned capacity mode. - - - `AccountLimitExceeded`: The request rate has caused a table or - global secondary index (GSI) in on-demand mode to exceed the - [per-table account-level service - quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ServiceQuotas.html#default-limits-throughput) - for read/write throughput in the current Amazon Web Services Region. - - - `KeyRangeThroughputExceeded`: The request rate directed at a - specific partition key value has exceeded the [internal - partition-level throughput - limits](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html), - indicating uneven access patterns across the table's or GSI's key - space. - - - `MaxOnDemandThroughputExceeded`: The request rate has exceeded the - [configured maximum throughput - limits](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode-max-throughput.html) - set for a table or index in on-demand capacity mode. - - Examples of complete throttling reasons: - - - TableReadProvisionedThroughputExceeded - - - IndexWriteAccountLimitExceeded - - This helps identify exactly what resource is being throttled, what type - of operation caused it, and why the throttling occurred. - """ - resource: str | None = ... - """ - The Amazon Resource Name (ARN) of the DynamoDB table or index that - experienced the throttling event. - """ - -@dataclass(kw_only=True) -class TimeToLiveDescription(_SerdeShape): - """The description of the Time to Live (TTL) status on the specified table.""" - - time_to_live_status: str | None = ... - """The TTL status for the table.""" - attribute_name: str | None = ... - """The name of the TTL attribute for items in the table.""" - -@dataclass(kw_only=True) -class TimeToLiveSpecification(_SerdeShape): - """ - Represents the settings used to enable or disable Time to Live (TTL) for - the specified table. - """ - - enabled: bool - """ - Indicates whether TTL is to be enabled (true) or disabled (false) on the - table. - """ - attribute_name: str - """ - The name of the TTL attribute used to store the expiration time for - items in the table. - """ - -class TimeToLiveStatus(UnknownEnumMixin, StrEnum): - ENABLING = "ENABLING" - DISABLING = "DISABLING" - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class TransactGetItem(_SerdeShape): - """Specifies an item to be retrieved as part of the transaction.""" - - get: Get - """ - Contains the primary key that identifies the item to get, together with - the name of the table that contains the item, and optionally the - specific attributes of the item to retrieve. - """ - -@dataclass(kw_only=True) -class TransactGetItemsInput(_SerdeShape): - """Dataclass for TransactGetItemsInput structure.""" - - transact_items: list[TransactGetItem] | None = ... - """ - An ordered array of up to 100 `TransactGetItem` objects, each of which - contains a `Get` structure. - """ - return_consumed_capacity: str | None = ... - """ - A value of `TOTAL` causes consumed capacity information to be returned, - and a value of `NONE` prevents that information from being returned. No - other value is valid. - """ - -@dataclass(kw_only=True) -class TransactGetItemsOutput(_SerdeShape): - """Dataclass for TransactGetItemsOutput structure.""" - - consumed_capacity: list[ConsumedCapacity] | None = ... - """ - If the *ReturnConsumedCapacity* value was `TOTAL`, this is an array of - `ConsumedCapacity` objects, one for each table addressed by - `TransactGetItem` objects in the *TransactItems* parameter. These - `ConsumedCapacity` objects report the read-capacity units consumed by - the `TransactGetItems` call in that table. - """ - responses: list[ItemResponse] | None = ... - """ - An ordered array of up to 100 `ItemResponse` objects, each of which - corresponds to the `TransactGetItem` object in the same position in the - *TransactItems* array. Each `ItemResponse` object contains a Map of the - name-value pairs that are the projected attributes of the requested - item. - - If a requested item could not be retrieved, the corresponding - `ItemResponse` object is Null, or if the requested item has no projected - attributes, the corresponding `ItemResponse` object is an empty Map. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TransactionCanceledException(ServiceError, _SerdeShape): - """ - The entire transaction request was canceled. - - DynamoDB cancels a `TransactWriteItems` request under the following - circumstances: - - - A condition in one of the condition expressions is not met. - - - A table in the `TransactWriteItems` request is in a different account - or region. - - - More than one action in the `TransactWriteItems` operation targets the - same item. - - - There is insufficient provisioned capacity for the transaction to be - completed. - - - An item size becomes too large (larger than 400 KB), or a local - secondary index (LSI) becomes too large, or a similar validation error - occurs because of changes made by the transaction. - - - There is a user error, such as an invalid data format. - - - There is an ongoing `TransactWriteItems` operation that conflicts with - a concurrent `TransactWriteItems` request. In this case the - `TransactWriteItems` operation fails with a - `TransactionCanceledException`. - - DynamoDB cancels a `TransactGetItems` request under the following - circumstances: - - - There is an ongoing `TransactGetItems` operation that conflicts with a - concurrent `PutItem`, `UpdateItem`, `DeleteItem` or - `TransactWriteItems` request. In this case the `TransactGetItems` - operation fails with a `TransactionCanceledException`. - - - A table in the `TransactGetItems` request is in a different account or - region. - - - There is insufficient provisioned capacity for the transaction to be - completed. - - - There is a user error, such as an invalid data format. - - Note: - DynamoDB lists the cancellation reasons on the `CancellationReasons` - property. Transaction cancellation reasons are ordered in the order of - requested items, if an item has no error it will have `None` code and - `Null` message. The `None` code is returned as the literal string - `"None"`, not a null or absent value; the message field is omitted - entirely for an item that has no error. This is important to note when - using an SDK that surfaces the code as an optional or nullable type. - - Cancellation reason codes and possible error messages: - - - No Errors: - - - Code: `None` - - - Message: `null` - - - Conditional Check Failed: - - - Code: `ConditionalCheckFailed` - - - Message: The conditional request failed. - - - Item Collection Size Limit Exceeded: - - - Code: `ItemCollectionSizeLimitExceeded` - - - Message: Collection size exceeded. - - - Transaction Conflict: - - - Code: `TransactionConflict` - - - Message: Transaction is ongoing for the item. - - - Provisioned Throughput Exceeded: - - - Code: `ProvisionedThroughputExceeded` - - - Messages: - - - The level of configured provisioned throughput for the table was - exceeded. Consider increasing your provisioning level with the - UpdateTable API. - - Note: - This Message is received when provisioned throughput is exceeded - is on a provisioned DynamoDB table. - - - The level of configured provisioned throughput for one or more - global secondary indexes of the table was exceeded. Consider - increasing your provisioning level for the under-provisioned - global secondary indexes with the UpdateTable API. - - Note: - This message is returned when provisioned throughput is exceeded - is on a provisioned GSI. - - - Throttling Error: - - - Code: `ThrottlingError` - - - Messages: - - - Throughput exceeds the current capacity of your table or index. - DynamoDB is automatically scaling your table or index so please - try again shortly. If exceptions persist, check if you have a hot - key: - https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. - - Note: - This message is returned when writes get throttled on an On-Demand - table as DynamoDB is automatically scaling the table. - - - Throughput exceeds the current capacity for one or more global - secondary indexes. DynamoDB is automatically scaling your index so - please try again shortly. - - Note: - This message is returned when writes get throttled on an On-Demand - GSI as DynamoDB is automatically scaling the GSI. - - - Validation Error: - - - Code: `ValidationError` - - - Messages: - - - One or more parameter values were invalid. - - - The update expression attempted to update the secondary index key - beyond allowed size limits. - - - The update expression attempted to update the secondary index key - to unsupported type. - - - An operand in the update expression has an incorrect data type. - - - Item size to update has exceeded the maximum allowed size. - - - Number overflow. Attempting to store a number with magnitude - larger than supported range. - - - Type mismatch for attribute to update. - - - Nesting Levels have exceeded supported limits. - - - The document path provided in the update expression is invalid for - update. - - - The provided expression refers to an attribute that does not exist - in the item. - """ - - cancellation_reasons: list[CancellationReason] | None = ... - """A list of cancellation reasons.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TransactionConflictException(ServiceError, _SerdeShape): - """ - Operation was rejected because there is an ongoing transaction for the - item. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TransactionInProgressException(ServiceError, _SerdeShape): - """ - The transaction with the given request token is already in progress. - - Recommended Settings - - Note: - This is a general recommendation for handling the - `TransactionInProgressException`. These settings help ensure that the - client retries will trigger completion of the ongoing - `TransactWriteItems` request. - - - Set `clientExecutionTimeout` to a value that allows at least one retry - to be processed after 5 seconds have elapsed since the first attempt - for the `TransactWriteItems` operation. - - - Set `socketTimeout` to a value a little lower than the - `requestTimeout` setting. - - - `requestTimeout` should be set based on the time taken for the - individual retries of a single HTTP request for your use case, but - setting it to 1 second or higher should work well to reduce chances of - retries and `TransactionInProgressException` errors. - - - Use exponential backoff when retrying and tune backoff if needed. - - Assuming [default retry - policy](https://github.com/aws/aws-sdk-java/blob/fd409dee8ae23fb8953e0bb4dbde65536a7e0514/aws-java-sdk-core/src/main/java/com/amazonaws/retry/PredefinedRetryPolicies.java#L97), - example timeout settings based on the guidelines above are as follows: - - Example timeline: - - - 0-1000 first attempt - - - 1000-1500 first sleep/delay (default retry policy uses 500 ms as base - delay for 4xx errors) - - - 1500-2500 second attempt - - - 2500-3500 second sleep/delay (500 * 2, exponential backoff) - - - 3500-4500 third attempt - - - 4500-6500 third sleep/delay (500 * 2^2) - - - 6500-7500 fourth attempt (this can trigger inline recovery since 5 - seconds have elapsed since the first attempt reached TC) - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TransactWriteItem(_SerdeShape): - """ - A list of requests that can perform update, put, delete, or check - operations on multiple items in one or more tables atomically. - """ - - condition_check: ConditionCheck | None = ... - """A request to perform a check item operation.""" - put: Put | None = ... - """A request to perform a `PutItem` operation.""" - delete: Delete | None = ... - """A request to perform a `DeleteItem` operation.""" - update: Update | None = ... - """A request to perform an `UpdateItem` operation.""" - -@dataclass(kw_only=True) -class TransactWriteItemsInput(_SerdeShape): - """Dataclass for TransactWriteItemsInput structure.""" - - transact_items: list[TransactWriteItem] | None = ... - """ - An ordered array of up to 100 `TransactWriteItem` objects, each of which - contains a `ConditionCheck`, `Put`, `Update`, or `Delete` object. These - can operate on items in different tables, but the tables must reside in - the same Amazon Web Services account and Region, and no two of them can - operate on the same item. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - return_item_collection_metrics: str | None = ... - """ - Determines whether item collection metrics are returned. If set to - `SIZE`, the response includes statistics about item collections (if - any), that were modified during the operation and are returned in the - response. If set to `NONE` (the default), no statistics are returned. - """ - client_request_token: str | None = ... - """ - Providing a `ClientRequestToken` makes the call to `TransactWriteItems` - idempotent, meaning that multiple identical calls have the same effect - as one single call. - - Although multiple identical calls using the same client request token - produce the same result on the server (no side effects), the responses - to the calls might not be the same. If the `ReturnConsumedCapacity` - parameter is set, then the initial `TransactWriteItems` call returns the - amount of write capacity units consumed in making the changes. - Subsequent `TransactWriteItems` calls with the same client token return - the number of read capacity units consumed in reading the item. - - A client request token is valid for 10 minutes after the first request - that uses it is completed. After 10 minutes, any request with the same - client token is treated as a new request. Do not resubmit the same - request with the same client token for more than 10 minutes, or the - result might not be idempotent. - - If you submit a request with the same client token but a change in other - parameters within the 10-minute idempotency window, DynamoDB returns an - `IdempotentParameterMismatch` exception. - """ - -@dataclass(kw_only=True) -class TransactWriteItemsOutput(_SerdeShape): - """Dataclass for TransactWriteItemsOutput structure.""" - - consumed_capacity: list[ConsumedCapacity] | None = ... - """ - The capacity units consumed by the entire `TransactWriteItems` - operation. The values of the list are ordered according to the ordering - of the `TransactItems` request parameter. - - If the table has vector indexes, each element also includes a - `VectorIndexes` field with `VectorWriteRequestBytes` consumed for each - affected vector index. - """ - item_collection_metrics: dict[str, list[ItemCollectionMetrics]] | None = ... - """ - A list of tables that were processed by `TransactWriteItems` and, for - each table, information about any item collections that were affected by - individual `UpdateItem`, `PutItem`, or `DeleteItem` operations. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Dataclass for UntagResourceInput structure.""" - - resource_arn: str | None = ... - """ - The DynamoDB resource that the tags will be removed from. This value is - an Amazon Resource Name (ARN). - """ - tag_keys: list[str] | None = ... - """ - A list of tag keys. Existing tags of the resource whose keys are members - of this list will be removed from the DynamoDB resource. - """ - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Update(_SerdeShape): - """Represents a request to perform an `UpdateItem` operation.""" - - key: dict[str, AttributeValue] - """ - The primary key of the item to be updated. Each element consists of an - attribute name and a value for that attribute. - """ - update_expression: str - """ - An expression that defines one or more attributes to be updated, the - action to be performed on them, and new value(s) for them. - """ - table_name: str - """ - Name of the table for the `UpdateItem` request. You can also provide the - Amazon Resource Name (ARN) of the table in this parameter. - """ - condition_expression: str | None = ... - """ - A condition that must be satisfied in order for a conditional update to - succeed. - """ - expression_attribute_names: dict[str, str] | None = ... - """One or more substitution tokens for attribute names in an expression.""" - expression_attribute_values: dict[str, AttributeValue] | None = ... - """One or more values that can be substituted in an expression.""" - return_values_on_condition_check_failure: str | None = ... - """ - Use `ReturnValuesOnConditionCheckFailure` to get the item attributes if - the `Update` condition fails. For `ReturnValuesOnConditionCheckFailure`, - the valid values are: NONE and ALL_OLD. - """ - -@dataclass(kw_only=True) -class UpdateContinuousBackupsInput(_SerdeShape): - """Dataclass for UpdateContinuousBackupsInput structure.""" - - table_name: str | None = ... - """ - The name of the table. You can also provide the Amazon Resource Name - (ARN) of the table in this parameter. - """ - point_in_time_recovery_specification: PointInTimeRecoverySpecification | None = ... - """Represents the settings used to enable point in time recovery.""" - -@dataclass(kw_only=True) -class UpdateContinuousBackupsOutput(_SerdeShape): - """Dataclass for UpdateContinuousBackupsOutput structure.""" - - continuous_backups_description: ContinuousBackupsDescription | None = ... - """ - Represents the continuous backups and point in time recovery settings on - the table. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateContributorInsightsInput(_SerdeShape): - """Dataclass for UpdateContributorInsightsInput structure.""" - - table_name: str | None = ... - """ - The name of the table. You can also provide the Amazon Resource Name - (ARN) of the table in this parameter. - """ - index_name: str | None = ... - """The global secondary index name, if applicable.""" - contributor_insights_action: str | None = ... - """Represents the contributor insights action.""" - contributor_insights_mode: str | None = ... - """ - Specifies whether to track all access and throttled events or throttled - events only for the DynamoDB table or index. - """ - -@dataclass(kw_only=True) -class UpdateContributorInsightsOutput(_SerdeShape): - """Dataclass for UpdateContributorInsightsOutput structure.""" - - table_name: str | None = ... - """The name of the table.""" - index_name: str | None = ... - """The name of the global secondary index, if applicable.""" - contributor_insights_status: str | None = ... - """The status of contributor insights""" - contributor_insights_mode: str | None = ... - """ - The updated mode of CloudWatch Contributor Insights that determines - whether to monitor all access and throttled events or to track throttled - events exclusively. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGlobalSecondaryIndexAction(_SerdeShape): - """ - Represents the new provisioned throughput settings to be applied to a - global secondary index. - """ - - index_name: str - """The name of the global secondary index to be updated.""" - provisioned_throughput: ProvisionedThroughput | None = ... - """ - Represents the provisioned throughput settings for the specified global - secondary index. - - For current minimum and maximum provisioned throughput values, see - [Service, Account, and Table - Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) - in the *Amazon DynamoDB Developer Guide*. - """ - on_demand_throughput: OnDemandThroughput | None = ... - """ - Updates the maximum number of read and write units for the specified - global secondary index. If you use this parameter, you must specify - `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - warm_throughput: WarmThroughput | None = ... - """ - Represents the warm throughput value of the new provisioned throughput - settings to be applied to a global secondary index. - """ - -@dataclass(kw_only=True) -class UpdateGlobalTableInput(_SerdeShape): - """Dataclass for UpdateGlobalTableInput structure.""" - - global_table_name: str | None = ... - """The global table name.""" - replica_updates: list[ReplicaUpdate] | None = ... - """A list of Regions that should be added or removed from the global table.""" - -@dataclass(kw_only=True) -class UpdateGlobalTableOutput(_SerdeShape): - """Dataclass for UpdateGlobalTableOutput structure.""" - - global_table_description: GlobalTableDescription | None = ... - """Contains the details of the global table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGlobalTableSettingsInput(_SerdeShape): - """Dataclass for UpdateGlobalTableSettingsInput structure.""" - - global_table_name: str | None = ... - """The name of the global table""" - global_table_billing_mode: str | None = ... - """ - The billing mode of the global table. If `GlobalTableBillingMode` is not - specified, the global table defaults to `PROVISIONED` capacity billing - mode. - - - `PROVISIONED` - We recommend using `PROVISIONED` for predictable - workloads. `PROVISIONED` sets the billing mode to [Provisioned - capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html). - - - `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for - unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to - [On-demand capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html). - """ - global_table_provisioned_write_capacity_units: int | None = ... - """ - The maximum number of writes consumed per second before DynamoDB returns - a `ThrottlingException.` - """ - global_table_provisioned_write_capacity_auto_scaling_settings_update: ( - AutoScalingSettingsUpdate | None - ) = ... - """ - Auto scaling settings for managing provisioned write capacity for the - global table. - """ - global_table_global_secondary_index_settings_update: ( - list[GlobalTableGlobalSecondaryIndexSettingsUpdate] | None - ) = ... - """ - Represents the settings of a global secondary index for a global table - that will be modified. - """ - replica_settings_update: list[ReplicaSettingsUpdate] | None = ... - """ - Represents the settings for a global table in a Region that will be - modified. - """ - -@dataclass(kw_only=True) -class UpdateGlobalTableSettingsOutput(_SerdeShape): - """Dataclass for UpdateGlobalTableSettingsOutput structure.""" - - global_table_name: str | None = ... - """The name of the global table.""" - replica_settings: list[ReplicaSettingsDescription] | None = ... - """The Region-specific settings for the global table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateItemInput(_SerdeShape): - """Represents the input of an `UpdateItem` operation.""" - - table_name: str | None = ... - """ - The name of the table containing the item to update. You can also - provide the Amazon Resource Name (ARN) of the table in this parameter. - """ - key: dict[str, AttributeValue] | None = ... - """ - The primary key of the item to be updated. Each element consists of an - attribute name and a value for that attribute. - - For the primary key, you must provide all of the attributes. For - example, with a simple primary key, you only need to provide a value for - the partition key. For a composite primary key, you must provide values - for both the partition key and the sort key. - """ - attribute_updates: dict[str, AttributeValueUpdate] | None = ... - """ - This is a legacy parameter. Use `UpdateExpression` instead. For more - information, see - [AttributeUpdates](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributeUpdates.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expected: dict[str, ExpectedAttributeValue] | None = ... - """ - This is a legacy parameter. Use `ConditionExpression` instead. For more - information, see - [Expected](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html) - in the *Amazon DynamoDB Developer Guide*. - """ - conditional_operator: str | None = ... - """ - This is a legacy parameter. Use `ConditionExpression` instead. For more - information, see - [ConditionalOperator](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html) - in the *Amazon DynamoDB Developer Guide*. - """ - return_values: str | None = ... - """ - Use `ReturnValues` if you want to get the item attributes as they appear - before or after they are successfully updated. For `UpdateItem`, the - valid values are: - - - `NONE` - If `ReturnValues` is not specified, or if its value is - `NONE`, then nothing is returned. (This setting is the default for - `ReturnValues`.) - - - `ALL_OLD` - Returns all of the attributes of the item, as they - appeared before the UpdateItem operation. - - - `UPDATED_OLD` - Returns only the updated attributes, as they appeared - before the UpdateItem operation. - - - `ALL_NEW` - Returns all of the attributes of the item, as they appear - after the UpdateItem operation. - - - `UPDATED_NEW` - Returns only the updated attributes, as they appear - after the UpdateItem operation. - - There is no additional cost associated with requesting a return value - aside from the small network and processing overhead of receiving a - larger response. No read capacity units are consumed. - - The values returned are strongly consistent. - """ - return_consumed_capacity: str | None = ... - """ - Determines the level of detail about either provisioned or on-demand - throughput consumption that is returned in the response: - - - `INDEXES` - The response includes the aggregate `ConsumedCapacity` for - the operation, together with `ConsumedCapacity` for each table and - secondary index that was accessed. - - Note that some operations, such as `GetItem` and `BatchGetItem`, do - not access any indexes at all. In these cases, specifying `INDEXES` - will only return `ConsumedCapacity` information for table(s). - - - `TOTAL` - The response includes only the aggregate `ConsumedCapacity` - for the operation. - - - `NONE` - No `ConsumedCapacity` details are included in the response. - """ - return_item_collection_metrics: str | None = ... - """ - Determines whether item collection metrics are returned. If set to - `SIZE`, the response includes statistics about item collections, if any, - that were modified during the operation are returned in the response. If - set to `NONE` (the default), no statistics are returned. - """ - update_expression: str | None = ... - """ - An expression that defines one or more attributes to be updated, the - action to be performed on them, and new values for them. - - The following action values are available for `UpdateExpression`. - - - `SET` - Adds one or more attributes and values to an item. If any of - these attributes already exist, they are replaced by the new values. - You can also use `SET` to add or subtract from an attribute that is of - type Number. For example: `SET myNum = myNum + :val` - - `SET` supports the following functions: - - - `if_not_exists (path, operand)` - if the item does not contain an - attribute at the specified path, then `if_not_exists` evaluates to - operand; otherwise, it evaluates to path. You can use this function - to avoid overwriting an attribute that may already be present in the - item. - - - `list_append (operand, operand)` - evaluates to a list with a new - element added to it. You can append the new element to the start or - the end of the list by reversing the order of the operands. - - These function names are case-sensitive. - - - `REMOVE` - Removes one or more attributes from an item. - - - `ADD` - Adds the specified value to the item, if the attribute does - not already exist. If the attribute does exist, then the behavior of - `ADD` depends on the data type of the attribute: - - - If the existing attribute is a number, and if `Value` is also a - number, then `Value` is mathematically added to the existing - attribute. If `Value` is a negative number, then it is subtracted - from the existing attribute. - - Note: - If you use `ADD` to increment or decrement a number value for an - item that doesn't exist before the update, DynamoDB uses `0` as the - initial value. - - Similarly, if you use `ADD` for an existing item to increment or - decrement an attribute value that doesn't exist before the update, - DynamoDB uses `0` as the initial value. For example, suppose that - the item you want to update doesn't have an attribute named - `itemcount`, but you decide to `ADD` the number `3` to this - attribute anyway. DynamoDB will create the `itemcount` attribute, - set its initial value to `0`, and finally add `3` to it. The result - will be a new `itemcount` attribute in the item, with a value of - `3`. - - - If the existing data type is a set and if `Value` is also a set, - then `Value` is added to the existing set. For example, if the - attribute value is the set `[1,2]`, and the `ADD` action specified - `[3]`, then the final attribute value is `[1,2,3]`. An error occurs - if an `ADD` action is specified for a set attribute and the - attribute type specified does not match the existing set type. - - Both sets must have the same primitive data type. For example, if - the existing data type is a set of strings, the `Value` must also be - a set of strings. - - Warning: - The `ADD` action only supports Number and set data types. - - - `DELETE` - Deletes an element from a set. - - If a set of values is specified, then those values are subtracted from - the old set. For example, if the attribute value was the set `[a,b,c]` - and the `DELETE` action specifies `[a,c]`, then the final attribute - value is `[b]`. Specifying an empty set is an error. - - Warning: - The `DELETE` action only supports set data types. - - You can have many actions in a single expression, such as the following: - `SET a=:value1, b=:value2 DELETE :value3, :value4, :value5` - - For more information on update expressions, see [Modifying Items and - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.Modifying.html) - in the *Amazon DynamoDB Developer Guide*. - """ - condition_expression: str | None = ... - """ - A condition that must be satisfied in order for a conditional update to - succeed. - - An expression can contain any of the following: - - - Functions: - `attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size` - - These function names are case-sensitive. - - - Comparison operators: `= | <> | < | > | <= | >= | BETWEEN | IN ` - - - Logical operators: `AND | OR | NOT` - - For more information about condition expressions, see [Specifying - Conditions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_names: dict[str, str] | None = ... - """ - One or more substitution tokens for attribute names in an expression. - The following are some use cases for using `ExpressionAttributeNames`: - - - To access an attribute whose name conflicts with a DynamoDB reserved - word. - - - To create a placeholder for repeating occurrences of an attribute name - in an expression. - - - To prevent special characters in an attribute name from being - misinterpreted in an expression. - - Use the **#** character in an expression to dereference an attribute - name. For example, consider the following attribute name: - - - `Percentile` - - The name of this attribute conflicts with a reserved word, so it cannot - be used directly in an expression. (For the complete list of reserved - words, see [Reserved - Words](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html) - in the *Amazon DynamoDB Developer Guide*.) To work around this, you - could specify the following for `ExpressionAttributeNames`: - - - `{"#P":"Percentile"}` - - You could then use this substitution in an expression, as in this - example: - - - `#P = :val` - - Note: - Tokens that begin with the **:** character are *expression attribute - values*, which are placeholders for the actual value at runtime. - - For more information about expression attribute names, see [Specifying - Item - Attributes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html) - in the *Amazon DynamoDB Developer Guide*. - """ - expression_attribute_values: dict[str, AttributeValue] | None = ... - """ - One or more values that can be substituted in an expression. - - Use the **:** (colon) character in an expression to dereference an - attribute value. For example, suppose that you wanted to check whether - the value of the `ProductStatus` attribute was one of the following: - - `Available | Backordered | Discontinued` - - You would first need to specify `ExpressionAttributeValues` as follows: - - `{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }` - - You could then use these values in an expression, such as this: - - `ProductStatus IN (:avail, :back, :disc)` - - For more information on expression attribute values, see [Condition - Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html) - in the *Amazon DynamoDB Developer Guide*. - """ - return_values_on_condition_check_failure: str | None = ... - """ - An optional parameter that returns the item attributes for an - `UpdateItem` operation that failed a condition check. - - There is no additional cost associated with requesting a return value - aside from the small network and processing overhead of receiving a - larger response. No read capacity units are consumed. - """ - -@dataclass(kw_only=True) -class UpdateItemOutput(_SerdeShape): - """Represents the output of an `UpdateItem` operation.""" - - attributes: dict[str, AttributeValue] | None = ... - """ - A map of attribute values as they appear before or after the - `UpdateItem` operation, as determined by the `ReturnValues` parameter. - - The `Attributes` map is only present if the update was successful and - `ReturnValues` was specified as something other than `NONE` in the - request. Each element represents one attribute. - """ - consumed_capacity: ConsumedCapacity | None = ... - """ - The capacity units consumed by the `UpdateItem` operation. The data - returned includes the total provisioned throughput consumed, along with - statistics for the table and any indexes involved in the operation. - `ConsumedCapacity` is only returned if the `ReturnConsumedCapacity` - parameter was specified. For more information, see [Capacity unity - consumption for write - operations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/read-write-operations.html#write-operation-consumption) - in the *Amazon DynamoDB Developer Guide*. - - If the table has vector indexes, the response includes a `VectorIndexes` - field with `VectorWriteRequestBytes` consumed for each affected vector - index. - """ - item_collection_metrics: ItemCollectionMetrics | None = ... - """ - Information about item collections, if any, that were affected by the - `UpdateItem` operation. `ItemCollectionMetrics` is only returned if the - `ReturnItemCollectionMetrics` parameter was specified. If the table does - not have any local secondary indexes, this information is not returned - in the response. - - Each `ItemCollectionMetrics` element consists of: - - - `ItemCollectionKey` - The partition key value of the item collection. - This is the same as the partition key value of the item itself. - - - `SizeEstimateRangeGB` - An estimate of item collection size, in - gigabytes. This value is a two-element array containing a lower bound - and an upper bound for the estimate. The estimate includes the size of - all the items in the table, plus the size of all attributes projected - into all of the local secondary indexes on that table. Use this - estimate to measure whether a local secondary index is approaching its - size limit. - - The estimate is subject to change over time; therefore, do not rely on - the precision or accuracy of the estimate. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateKinesisStreamingConfiguration(_SerdeShape): - """Enables updating the configuration for Kinesis Streaming.""" - - approximate_creation_date_time_precision: str | None = ... - """Enables updating the precision of Kinesis data stream timestamp.""" - -@dataclass(kw_only=True) -class UpdateKinesisStreamingDestinationInput(_SerdeShape): - """Dataclass for UpdateKinesisStreamingDestinationInput structure.""" - - table_name: str | None = ... - """ - The table name for the Kinesis streaming destination input. You can also - provide the ARN of the table in this parameter. - """ - stream_arn: str | None = ... - """The Amazon Resource Name (ARN) for the Kinesis stream input.""" - update_kinesis_streaming_configuration: ( - UpdateKinesisStreamingConfiguration | None - ) = ... - """The command to update the Kinesis stream configuration.""" - -@dataclass(kw_only=True) -class UpdateKinesisStreamingDestinationOutput(_SerdeShape): - """Dataclass for UpdateKinesisStreamingDestinationOutput structure.""" - - table_name: str | None = ... - """The table name for the Kinesis streaming destination output.""" - stream_arn: str | None = ... - """The ARN for the Kinesis stream input.""" - destination_status: str | None = ... - """ - The status of the attempt to update the Kinesis streaming destination - output. - """ - update_kinesis_streaming_configuration: ( - UpdateKinesisStreamingConfiguration | None - ) = ... - """The command to update the Kinesis streaming destination configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateReplicationGroupMemberAction(_SerdeShape): - """Represents a replica to be modified.""" - - region_name: str - """The Region where the replica exists.""" - kms_master_key_id: str | None = ... - """ - The KMS key of the replica that should be used for KMS encryption. To - specify a key, use its key ID, Amazon Resource Name (ARN), alias name, - or alias ARN. Note that you should only provide this parameter if the - key is different from the default DynamoDB KMS key `alias/aws/dynamodb`. - """ - provisioned_throughput_override: ProvisionedThroughputOverride | None = ... - """ - Replica-specific provisioned throughput. If not specified, uses the - source table's provisioned throughput settings. - """ - on_demand_throughput_override: OnDemandThroughputOverride | None = ... - """Overrides the maximum on-demand throughput for the replica table.""" - global_secondary_indexes: list[ReplicaGlobalSecondaryIndex] | None = ... - """Replica-specific global secondary index settings.""" - table_class_override: str | None = ... - """ - Replica-specific table class. If not specified, uses the source table's - table class. - """ - -@dataclass(kw_only=True) -class UpdateTableInput(_SerdeShape): - """Represents the input of an `UpdateTable` operation.""" - - attribute_definitions: list[AttributeDefinition] | None = ... - """ - An array of attributes that describe the key schema for the table and - indexes. If you are adding a new global secondary index to the table, - `AttributeDefinitions` must include the key element(s) of the new index. - """ - table_name: str | None = ... - """ - The name of the table to be updated. You can also provide the Amazon - Resource Name (ARN) of the table in this parameter. - """ - billing_mode: str | None = ... - """ - Controls how you are charged for read and write throughput and how you - manage capacity. When switching from pay-per-request to provisioned - capacity, initial provisioned capacity values must be set. The initial - provisioned capacity values are estimated based on the consumed read and - write capacity of your table and global secondary indexes over the past - 30 minutes. - - - `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most - DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to - [On-demand capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html). - - - `PROVISIONED` - We recommend using `PROVISIONED` for steady workloads - with predictable growth where capacity requirements can be reliably - forecasted. `PROVISIONED` sets the billing mode to [Provisioned - capacity - mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html). - """ - provisioned_throughput: ProvisionedThroughput | None = ... - """ - The new provisioned throughput settings for the specified table or - index. - """ - global_secondary_index_updates: list[GlobalSecondaryIndexUpdate] | None = ... - """ - An array of one or more global secondary indexes for the table. For each - index in the array, you can request one action: - - - `Create` - add a new global secondary index to the table. - - - `Update` - modify the provisioned throughput settings of an existing - global secondary index. - - - `Delete` - remove a global secondary index from the table. - - You can create or delete only one global secondary index per - `UpdateTable` operation. - - For more information, see [Managing Global Secondary - Indexes](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.OnlineOps.html) - in the *Amazon DynamoDB Developer Guide*. - """ - stream_specification: StreamSpecification | None = ... - """ - Represents the DynamoDB Streams configuration for the table. - - Note: - You receive a `ValidationException` if you try to enable a stream on a - table that already has a stream, or if you try to disable a stream on a - table that doesn't have a stream. - """ - sse_specification: SSESpecification | None = ... - """The new server-side encryption settings for the specified table.""" - replica_updates: list[ReplicationGroupUpdate] | None = ... - """ - A list of replica update actions (create, delete, update, or - disassociate) for the table. - """ - table_class: str | None = ... - """ - The table class of the table to be updated. Valid values are `STANDARD` - and `STANDARD_INFREQUENT_ACCESS`. - """ - deletion_protection_enabled: bool | None = ... - """ - Indicates whether deletion protection is to be enabled (true) or - disabled (false) on the table. - """ - multi_region_consistency: str | None = ... - """ - Specifies the consistency mode for a new global table. This parameter is - only valid when you create a global table by specifying one or more - [Create](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create) - actions in the - [ReplicaUpdates](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates) - action list. - - You can specify one of the following consistency modes: - - - `EVENTUAL`: Configures a new global table for multi-Region eventual - consistency (MREC). This is the default consistency mode for global - tables. - - - `STRONG`: Configures a new global table for multi-Region strong - consistency (MRSC). - - If you don't specify this field, the global table consistency mode - defaults to `EVENTUAL`. For more information about global tables - consistency modes, see [Consistency - modes](https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes) - in DynamoDB developer guide. - """ - global_table_witness_updates: list[GlobalTableWitnessGroupUpdate] | None = ... - """ - A list of witness updates for a MRSC global table. A witness provides a - cost-effective alternative to a full replica in a MRSC global table by - maintaining replicated change data written to global table replicas. You - cannot perform read or write operations on a witness. For each witness, - you can request one action: - - - `Create` - add a new witness to the global table. - - - `Delete` - remove a witness from the global table. - - You can create or delete only one witness per `UpdateTable` operation. - - For more information, see [Multi-Region strong consistency - (MRSC)](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes) - in the Amazon DynamoDB Developer Guide - """ - on_demand_throughput: OnDemandThroughput | None = ... - """ - Updates the maximum number of read and write units for the specified - table in on-demand capacity mode. If you use this parameter, you must - specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. - """ - warm_throughput: WarmThroughput | None = ... - """ - Represents the warm throughput (in read units per second and write units - per second) for updating a table. - """ - global_table_settings_replication_mode: str | None = ... - """ - Controls the settings replication mode for a global table replica. This - attribute can be defined using UpdateTable operation only on a regional - table with values: - - - `ENABLED`: Defines settings replication on a regional table to be used - as a source table for creating Multi-Account Global Table. - - - `DISABLED`: Remove settings replication on a regional table. Settings - replication needs to be defined to ENABLED again in order to create a - Multi-Account Global Table using this table. - """ - disassociation_protection_enabled: bool | None = ... - """ - Specifies whether disassociation protection is enabled (`true`) or - disabled (`false`) for the local replica of a multi-Region eventual - consistency (MREC) global table using Version 2019.11.21. - - Disassociation protection is enabled by default. If you omit this - parameter, the existing setting is unchanged. This setting is - independent of `DeletionProtectionEnabled`. - - You can't combine this change with any other change in the same - `UpdateTable` request. - """ - vector_index_updates: list[VectorIndexUpdate] | None = ... - """ - A list of vector indexes to be added to or removed from the table. You - can add or remove one vector index for each `UpdateTable` operation. - - To add a vector index, specify `IndexName`, `VectorAttribute`, - `Dimensions`, `DistanceFunction`, and `Projection`. To remove a vector - index, specify only the `IndexName`. - """ - -@dataclass(kw_only=True) -class UpdateTableOutput(_SerdeShape): - """Represents the output of an `UpdateTable` operation.""" - - table_description: TableDescription | None = ... - """Represents the properties of the table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateTableReplicaAutoScalingInput(_SerdeShape): - """Dataclass for UpdateTableReplicaAutoScalingInput structure.""" - - global_secondary_index_updates: ( - list[GlobalSecondaryIndexAutoScalingUpdate] | None - ) = ... - """ - Represents the auto scaling settings of the global secondary indexes of - the replica to be updated. - """ - table_name: str | None = ... - """ - The name of the global table to be updated. You can also provide the - Amazon Resource Name (ARN) of the table in this parameter. - """ - provisioned_write_capacity_auto_scaling_update: ( - AutoScalingSettingsUpdate | None - ) = ... - """ - Represents the auto scaling settings to be modified for a global table - or global secondary index. - """ - replica_updates: list[ReplicaAutoScalingUpdate] | None = ... - """ - Represents the auto scaling settings of replicas of the table that will - be modified. - """ - -@dataclass(kw_only=True) -class UpdateTableReplicaAutoScalingOutput(_SerdeShape): - """Dataclass for UpdateTableReplicaAutoScalingOutput structure.""" - - table_auto_scaling_description: TableAutoScalingDescription | None = ... - """ - Returns information about the auto scaling settings of a table with - replicas. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateTimeToLiveInput(_SerdeShape): - """Represents the input of an `UpdateTimeToLive` operation.""" - - table_name: str | None = ... - """ - The name of the table to be configured. You can also provide the Amazon - Resource Name (ARN) of the table in this parameter. - """ - time_to_live_specification: TimeToLiveSpecification | None = ... - """ - Represents the settings used to enable or disable Time to Live for the - specified table. - """ - -@dataclass(kw_only=True) -class UpdateTimeToLiveOutput(_SerdeShape): - """Dataclass for UpdateTimeToLiveOutput structure.""" - - time_to_live_specification: TimeToLiveSpecification | None = ... - """Represents the output of an `UpdateTimeToLive` operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class VectorAttributeDefinition(_SerdeShape): - """The definition of a vector attribute for a vector index.""" - - attribute_name: str - """The name of the vector attribute.""" - -@dataclass(kw_only=True) -class VectorCapacity(_SerdeShape): - """ - The consumed capacity for vector index operations, including vector - search request bytes and vector write request bytes. - """ - - vector_search_request_bytes: float | None = ... - """ - The number of vector search request bytes consumed by a `SearchVectors` - operation. - """ - vector_write_request_bytes: float | None = ... - """ - The number of vector write request bytes consumed when writing to a - vector index. Reported for write operations that modify attributes - indexed by a vector index. - """ - -class VectorDistanceFunction(UnknownEnumMixin, StrEnum): - COSINE = "COSINE" - DOT_PRODUCT = "DOT_PRODUCT" - EUCLIDEAN = "EUCLIDEAN" - -@dataclass(kw_only=True) -class VectorIndex(_SerdeShape): - """ - Contains the configuration settings for a vector index, including the - index name, vector attribute, dimensions, distance function, search - schema, and projection. - """ - - index_name: str - """The name of the vector index.""" - vector_attribute: VectorAttributeDefinition - """The vector attribute configuration for the index.""" - search_schema: list[SearchSchemaElement] | None = ... - """ - The search schema that defines partition key and inline filter - attributes for the vector index. - """ - projection: Projection - """ - Specifies attributes that are copied (projected) from the table into the - vector index. - """ - dimensions: int - """The number of dimensions in each vector.""" - distance_function: str - """ - The distance function used to calculate similarity between vectors. - Valid values: `COSINE`, `EUCLIDEAN`, `DOT_PRODUCT`. - """ - -@dataclass(kw_only=True) -class VectorIndexDescription(_SerdeShape): - """ - Contains the current state and configuration of a vector index, - including its status, size, item count, and the settings specified when - the index was created. - """ - - index_name: str | None = ... - """The name of the vector index.""" - search_schema: list[SearchSchemaElement] | None = ... - """ - The search schema that defines partition key and inline filter - attributes for the vector index. - """ - projection: Projection | None = ... - """ - Specifies attributes that are copied (projected) from the table into the - vector index. - """ - vector_attribute: VectorAttributeDefinition | None = ... - """The vector attribute configuration for the index.""" - dimensions: int | None = ... - """The number of dimensions in each vector.""" - distance_function: str | None = ... - """The distance function used to calculate similarity between vectors.""" - index_status: str | None = ... - """ - The current state of the vector index: - - - `CREATING` - The index is being created. - - - `ACTIVE` - The index is ready for use. - - - `DELETING` - The index is being deleted. - """ - backfilling: bool | None = ... - """ - Specifies whether the index is currently backfilling. During backfill, - `SearchVectors` operations might return incomplete results. - """ - index_size_bytes: int | None = ... - """ - The total size of the vector index, in bytes. Amazon DynamoDB updates - this value approximately every six hours. Recent changes might not be - reflected in this value. - """ - item_count: int | None = ... - """ - The number of items indexed in the vector index. Amazon DynamoDB updates - this value approximately every six hours. Recent changes might not be - reflected in this value. - """ - index_arn: str | None = ... - """ - The Amazon Resource Name (ARN) that uniquely identifies the vector - index. - """ - -@dataclass(kw_only=True) -class VectorIndexInfo(_SerdeShape): - """ - Contains the configuration of a vector index as it existed at the time a - backup was created. - """ - - index_name: str | None = ... - """The name of the vector index.""" - vector_attribute: VectorAttributeDefinition | None = ... - """The vector attribute configuration for the index.""" - search_schema: list[SearchSchemaElement] | None = ... - """ - The search schema that defines partition key and inline filter - attributes for the vector index. - """ - projection: Projection | None = ... - """ - Specifies attributes that are copied (projected) from the table into the - vector index. - """ - dimensions: int | None = ... - """The number of dimensions in each vector.""" - distance_function: str | None = ... - """The distance function used to calculate similarity between vectors.""" - -@dataclass(kw_only=True) -class VectorIndexUpdate(_SerdeShape): - """A vector index to be added to or removed from a table.""" - - create: CreateVectorIndexAction | None = ... - """The configuration for creating a new vector index on the table.""" - delete: DeleteVectorIndexAction | None = ... - """The configuration for deleting an existing vector index from the table.""" - -@dataclass(kw_only=True) -class WarmThroughput(_SerdeShape): - """ - Provides visibility into the number of read and write operations your - table or secondary index can instantaneously support. The settings can - be modified using the `UpdateTable` operation to meet the throughput - requirements of an upcoming peak event. - """ - - read_units_per_second: int | None = ... - """ - Represents the number of read operations your base table can - instantaneously support. - """ - write_units_per_second: int | None = ... - """ - Represents the number of write operations your base table can - instantaneously support. - """ - -class WitnessStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - DELETING = "DELETING" - ACTIVE = "ACTIVE" - -@dataclass(kw_only=True) -class WriteRequest(_SerdeShape): - """ - Represents an operation to perform - either `DeleteItem` or `PutItem`. - You can only request one of these operations, not both, in a single - `WriteRequest`. If you do need to perform both of these operations, you - need to provide two separate `WriteRequest` objects. - """ - - put_request: PutRequest | None = ... - """A request to perform a `PutItem` operation.""" - delete_request: DeleteRequest | None = ... - """A request to perform a `DeleteItem` operation.""" - BATCH_EXECUTE_STATEMENT: APIOperation[ BatchExecuteStatementInput, BatchExecuteStatementOutput ] diff --git a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/retries.py b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/retries.py index 4696bad06..abcde82bd 100644 --- a/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/retries.py +++ b/clients/aws-sdk-dynamodb/src/aws_sdk_dynamodb/retries.py @@ -1,6 +1,6 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from smithy_aws_core.config import ConfigSource +from smithy_aws_core.config.types import ConfigSource from smithy_core.retries import ( AdaptiveRetryStrategy, ExponentialBackoffJitterType, diff --git a/clients/aws-sdk-dynamodb/tests/test_endpoints.py b/clients/aws-sdk-dynamodb/tests/test_endpoints.py index 25cab591f..69d5ca3dc 100644 --- a/clients/aws-sdk-dynamodb/tests/test_endpoints.py +++ b/clients/aws-sdk-dynamodb/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-ec2/pyproject.toml b/clients/aws-sdk-ec2/pyproject.toml index 366e6c5c0..937163649 100644 --- a/clients/aws-sdk-ec2/pyproject.toml +++ b/clients/aws-sdk-ec2/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_ec2" version = "0.12.0" -description = "aws_sdk_ec2 client" +description = "Python client for Amazon Elastic Compute Cloud" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_ec2"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[xml]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[xml]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_0.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_0.pyi new file mode 100644 index 000000000..e38a55196 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_0.pyi @@ -0,0 +1,4631 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + CapacityReservationFleetCancellationState, + ClientVpnAuthorizationRuleStatus, + CpuPerformanceFactor, + CpuPerformanceFactorRequest, + CustomTagKeyValueRequestPair, + CustomTagKeyValueResponsePair, + EbsBlockDevice, + EbsBlockDeviceResponse, + EnaSrdSpecification, + FailedCapacityReservationFleetCancellationResult, + HealthCheckPathResponseObject, + HostCpuOptionsRequest, + IamInstanceProfileAssociation, + IamInstanceProfileSpecification, + InstanceApplicationStatus, + InstanceCapacity, + InstanceEventWindow, + InstanceEventWindowAssociationRequest, + IpPermission, + IpamPoolAllocation, + IpamResourceDiscoveryAssociation, + IpamRoutingPolicyRegistrationDelta, + Ipv4PrefixSpecification, + NatGatewayAddress, + PathComponent, + PathStatement, + PathStatementRequest, + PortRange, + PtrUpdateStatus, + RegionalSummary, + ReservedInstancesListing, + RouteServerAssociation, + RouteTableAssociationState, + RuleGroupRuleOptionsPair, + RuleGroupTypePair, + RuleOption, + SecurityGroupRule, + Storage, + SubnetIpv6CidrBlockAssociation, + SuccessfulAssociationResponseObject, + Tag, + TagSpecification, + TargetConfigurationRequest, + ThroughResourcesStatement, + ThroughResourcesStatementRequest, + TransitGatewayAssociation, + TransitGatewayClientVpnAttachment, + TransitGatewayMulticastDomainAssociations, + TransitGatewayPeeringAttachment, + TransitGatewayPolicyTableAssociation, + TransitGatewayVpcAttachment, + TrunkInterfaceAssociation, + UnsuccessfulAssociationResponseObject, + UnsuccessfulItem, + VerifiedAccessInstance, + VerifiedAccessTrustProvider, + VpcAttachment, + VpcCidrBlockAssociation, + VpcIpv6CidrBlockAssociation, + VpcPeeringConnection, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AcceleratorCount(_SerdeShape): + """ + The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon + Web Services Inferentia chips) on an instance. + """ + + min: int | None = ... + """ + The minimum number of accelerators. If this parameter is not specified, + there is no minimum limit. + """ + max: int | None = ... + """ + The maximum number of accelerators. If this parameter is not specified, + there is no maximum limit. + """ + +@dataclass(kw_only=True) +class AcceleratorCountRequest(_SerdeShape): + """ + The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon + Web Services Inferentia chips) on an instance. To exclude + accelerator-enabled instance types, set `Max` to `0`. + """ + + min: int | None = ... + """ + The minimum number of accelerators. To specify no minimum limit, omit + this parameter. + """ + max: int | None = ... + """ + The maximum number of accelerators. To specify no maximum limit, omit + this parameter. To exclude accelerator-enabled instance types, set `Max` + to `0`. + """ + +class AcceleratorManufacturer(UnknownEnumMixin, StrEnum): + AMAZON_WEB_SERVICES = "amazon-web-services" + AMD = "amd" + NVIDIA = "nvidia" + XILINX = "xilinx" + HABANA = "habana" + +class AcceleratorName(UnknownEnumMixin, StrEnum): + A100 = "a100" + INFERENTIA = "inferentia" + K520 = "k520" + K80 = "k80" + M60 = "m60" + RADEON_PRO_V520 = "radeon-pro-v520" + T4 = "t4" + VU9_P = "vu9p" + V100 = "v100" + A10_G = "a10g" + H100 = "h100" + T4_G = "t4g" + L40_S = "l40s" + L4 = "l4" + GAUDI_HL_205 = "gaudi-hl-205" + INFERENTIA2 = "inferentia2" + TRAINIUM = "trainium" + TRAINIUM2 = "trainium2" + U30 = "u30" + +@dataclass(kw_only=True) +class AcceleratorTotalMemoryMiB(_SerdeShape): + """The minimum and maximum amount of total accelerator memory, in MiB.""" + + min: int | None = ... + """ + The minimum amount of accelerator memory, in MiB. If this parameter is + not specified, there is no minimum limit. + """ + max: int | None = ... + """ + The maximum amount of accelerator memory, in MiB. If this parameter is + not specified, there is no maximum limit. + """ + +@dataclass(kw_only=True) +class AcceleratorTotalMemoryMiBRequest(_SerdeShape): + """The minimum and maximum amount of total accelerator memory, in MiB.""" + + min: int | None = ... + """ + The minimum amount of accelerator memory, in MiB. To specify no minimum + limit, omit this parameter. + """ + max: int | None = ... + """ + The maximum amount of accelerator memory, in MiB. To specify no maximum + limit, omit this parameter. + """ + +class AcceleratorType(UnknownEnumMixin, StrEnum): + GPU = "gpu" + FPGA = "fpga" + INFERENCE = "inference" + MEDIA = "media" + +@dataclass(kw_only=True) +class AcceptAddressTransferInput(_SerdeShape): + """Dataclass for AcceptAddressTransferInput structure.""" + + address: str | None = ... + """The Elastic IP address you are accepting for transfer.""" + tag_specifications: list[TagSpecification] | None = ... + """ + `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for the + filter name and `TeamA` for the filter value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AcceptAddressTransferOutput(_SerdeShape): + """Dataclass for AcceptAddressTransferOutput structure.""" + + address_transfer: AddressTransfer | None = ... + """An Elastic IP address transfer.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcceptCapacityReservationBillingOwnershipInput(_SerdeShape): + """Dataclass for AcceptCapacityReservationBillingOwnershipInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation for which to accept the request.""" + +@dataclass(kw_only=True) +class AcceptCapacityReservationBillingOwnershipOutput(_SerdeShape): + """Dataclass for AcceptCapacityReservationBillingOwnershipOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcceptReservedInstancesExchangeQuoteInput(_SerdeShape): + """Contains the parameters for accepting the quote.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + reserved_instance_ids: list[str] | None = ... + """ + The IDs of the Convertible Reserved Instances to exchange for another + Convertible Reserved Instance of the same or higher value. + """ + target_configurations: list[TargetConfigurationRequest] | None = ... + """ + The configuration of the target Convertible Reserved Instance to + exchange for your current Convertible Reserved Instances. + """ + +@dataclass(kw_only=True) +class AcceptReservedInstancesExchangeQuoteOutput(_SerdeShape): + """The result of the exchange and whether it was `successful`.""" + + exchange_id: str | None = ... + """The ID of the successful exchange.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcceptTransitGatewayClientVpnAttachmentInput(_SerdeShape): + """Dataclass for AcceptTransitGatewayClientVpnAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the Transit Gateway attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AcceptTransitGatewayClientVpnAttachmentOutput(_SerdeShape): + """Dataclass for AcceptTransitGatewayClientVpnAttachmentOutput structure.""" + + transit_gateway_client_vpn_attachment: ( + TransitGatewayClientVpnAttachment | None + ) = ... + """Information about the Transit Gateway Client VPN attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcceptTransitGatewayMulticastDomainAssociationsInput(_SerdeShape): + """ + Dataclass for AcceptTransitGatewayMulticastDomainAssociationsInput + structure. + """ + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + subnet_ids: list[str] | None = ... + """ + The IDs of the subnets to associate with the transit gateway multicast + domain. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AcceptTransitGatewayMulticastDomainAssociationsOutput(_SerdeShape): + """ + Dataclass for AcceptTransitGatewayMulticastDomainAssociationsOutput + structure. + """ + + associations: TransitGatewayMulticastDomainAssociations | None = ... + """Information about the multicast domain associations.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcceptTransitGatewayPeeringAttachmentInput(_SerdeShape): + """Dataclass for AcceptTransitGatewayPeeringAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AcceptTransitGatewayPeeringAttachmentOutput(_SerdeShape): + """Dataclass for AcceptTransitGatewayPeeringAttachmentOutput structure.""" + + transit_gateway_peering_attachment: TransitGatewayPeeringAttachment | None = ... + """The transit gateway peering attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcceptTransitGatewayVpcAttachmentInput(_SerdeShape): + """Dataclass for AcceptTransitGatewayVpcAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AcceptTransitGatewayVpcAttachmentOutput(_SerdeShape): + """Dataclass for AcceptTransitGatewayVpcAttachmentOutput structure.""" + + transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... + """The VPC attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcceptVpcEndpointConnectionsInput(_SerdeShape): + """Dataclass for AcceptVpcEndpointConnectionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_id: str | None = ... + """The ID of the VPC endpoint service.""" + vpc_endpoint_ids: list[str] | None = ... + """The IDs of the interface VPC endpoints.""" + +@dataclass(kw_only=True) +class AcceptVpcEndpointConnectionsOutput(_SerdeShape): + """Dataclass for AcceptVpcEndpointConnectionsOutput structure.""" + + unsuccessful: list[UnsuccessfulItem] | None = ... + """ + Information about the interface endpoints that were not accepted, if + applicable. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcceptVpcPeeringConnectionInput(_SerdeShape): + """Dataclass for AcceptVpcPeeringConnectionInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_peering_connection_id: str | None = ... + """ + The ID of the VPC peering connection. You must specify this parameter in + the request. + """ + +@dataclass(kw_only=True) +class AcceptVpcPeeringConnectionOutput(_SerdeShape): + """Dataclass for AcceptVpcPeeringConnectionOutput structure.""" + + vpc_peering_connection: VpcPeeringConnection | None = ... + """Information about the VPC peering connection.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AccessScopeAnalysisFinding(_SerdeShape): + """Describes a finding for a Network Access Scope.""" + + network_insights_access_scope_analysis_id: str | None = ... + """The ID of the Network Access Scope analysis.""" + network_insights_access_scope_id: str | None = ... + """The ID of the Network Access Scope.""" + finding_id: str | None = ... + """The ID of the finding.""" + finding_components: list[PathComponent] | None = ... + """The finding components.""" + +@dataclass(kw_only=True) +class AccessScopePath(_SerdeShape): + """Describes a path.""" + + source: PathStatement | None = ... + """The source.""" + destination: PathStatement | None = ... + """The destination.""" + through_resources: list[ThroughResourcesStatement] | None = ... + """The through resources.""" + +@dataclass(kw_only=True) +class AccessScopePathRequest(_SerdeShape): + """Describes a path.""" + + source: PathStatementRequest | None = ... + """The source.""" + destination: PathStatementRequest | None = ... + """The destination.""" + through_resources: list[ThroughResourcesStatementRequest] | None = ... + """The through resources.""" + +@dataclass(kw_only=True) +class AccountAttribute(_SerdeShape): + """Describes an account attribute.""" + + attribute_name: str | None = ... + """The name of the account attribute.""" + attribute_values: list[AccountAttributeValue] | None = ... + """The values for the account attribute.""" + +class AccountAttributeName(UnknownEnumMixin, StrEnum): + SUPPORTED_PLATFORMS = "supported-platforms" + DEFAULT_VPC = "default-vpc" + +@dataclass(kw_only=True) +class AccountAttributeValue(_SerdeShape): + """Describes a value of an account attribute.""" + + attribute_value: str | None = ... + """The value of the attribute.""" + +@dataclass(kw_only=True) +class AccountVpcEncryptionControl(_SerdeShape): + """ + Describes the account-level VPC Encryption Control configuration, + including its mode, state, and exclusions. + + For more information, see [Enforce VPC encryption in + transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) + in the *Amazon VPC User Guide*. + """ + + state: str | None = ... + """ + The current state of the account-level VPC Encryption Control + configuration. + """ + mode: str | None = ... + """ + The encryption mode for the account-level VPC Encryption Control + configuration. + """ + exclusions: AccountVpcEncryptionControlExclusions | None = ... + """ + Information about the traffic exclusions for the account-level VPC + Encryption Control configuration. + """ + managed_by: str | None = ... + """ + The entity that manages the account-level VPC Encryption Control + configuration. + """ + last_update_timestamp: datetime | None = ... + """ + The date and time when the account-level VPC Encryption Control + configuration was last updated. + """ + +@dataclass(kw_only=True) +class AccountVpcEncryptionControlExclusions(_SerdeShape): + """ + Describes the exclusion configurations for the various resource types in + the account-level VPC Encryption Control configuration. + + For more information, see [Enforce VPC encryption in + transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) + in the *Amazon VPC User Guide*. + """ + + internet_gateway: str | None = ... + """The exclusion configuration for internet gateway resource.""" + egress_only_internet_gateway: str | None = ... + """The exclusion configuration for egress-only internet gateway resource.""" + nat_gateway: str | None = ... + """The exclusion configuration for NAT gateway resource.""" + virtual_private_gateway: str | None = ... + """The exclusion configuration for virtual private gateway resource.""" + vpc_peering: str | None = ... + """The exclusion configuration for VPC peering connection resource.""" + lambda_: str | None = ... + """The exclusion configuration for Lambda service.""" + vpc_lattice: str | None = ... + """The exclusion configuration for VPC Lattice service.""" + elastic_file_system: str | None = ... + """The exclusion configuration for Elastic File System service.""" + +class AccountVpcEncryptionControlMode(UnknownEnumMixin, StrEnum): + UNMANAGED = "unmanaged" + ATTEMPT_MONITOR = "attempt-monitor" + ATTEMPT_ENFORCE = "attempt-enforce" + +class AccountVpcEncryptionControlState(UnknownEnumMixin, StrEnum): + DEFAULT_STATE = "default-state" + TRANSITIONS_IN_PROGRESS = "transitions-in-progress" + TRANSITIONS_PARTIALLY_SUCCESSFUL = "transitions-partially-successful" + TRANSITIONS_SUCCESSFUL = "transitions-successful" + TRANSITIONS_FAILED = "transitions-failed" + +@dataclass(kw_only=True) +class ActiveInstance(_SerdeShape): + """Describes a running instance in a Spot Fleet.""" + + instance_id: str | None = ... + """The ID of the instance.""" + instance_type: str | None = ... + """The instance type.""" + spot_instance_request_id: str | None = ... + """The ID of the Spot Instance request.""" + instance_health: str | None = ... + """ + The health status of the instance. If the status of either the instance + status check or the system status check is `impaired`, the health status + of the instance is `unhealthy`. Otherwise, the health status is + `healthy`. + """ + +@dataclass(kw_only=True) +class ActiveVpnTunnelStatus(_SerdeShape): + """ + Contains information about the current security configuration of an + active VPN tunnel. + """ + + phase1_encryption_algorithm: str | None = ... + """The encryption algorithm negotiated in Phase 1 IKE negotiations.""" + phase2_encryption_algorithm: str | None = ... + """The encryption algorithm negotiated in Phase 2 IKE negotiations.""" + phase1_integrity_algorithm: str | None = ... + """The integrity algorithm negotiated in Phase 1 IKE negotiations.""" + phase2_integrity_algorithm: str | None = ... + """The integrity algorithm negotiated in Phase 2 IKE negotiations.""" + phase1_dh_group: int | None = ... + """The Diffie-Hellman group number being used in Phase 1 IKE negotiations.""" + phase2_dh_group: int | None = ... + """The Diffie-Hellman group number being used in Phase 2 IKE negotiations.""" + ike_version: str | None = ... + """The version of the Internet Key Exchange (IKE) protocol being used.""" + provisioning_status: str | None = ... + """The current provisioning status of the VPN tunnel.""" + provisioning_status_reason: str | None = ... + """The reason for the current provisioning status.""" + +class ActivityStatus(UnknownEnumMixin, StrEnum): + ERROR = "error" + PENDING_FULFILLMENT = "pending_fulfillment" + PENDING_TERMINATION = "pending_termination" + FULFILLED = "fulfilled" + +@dataclass(kw_only=True) +class AddedPrincipal(_SerdeShape): + """Describes a principal.""" + + principal_type: str | None = ... + """The type of principal.""" + principal: str | None = ... + """The Amazon Resource Name (ARN) of the principal.""" + service_permission_id: str | None = ... + """The ID of the service permission.""" + service_id: str | None = ... + """The ID of the service.""" + +@dataclass(kw_only=True) +class AddIpamOperatingRegion(_SerdeShape): + """ + Add an operating Region to an IPAM. Operating Regions are Amazon Web + Services Regions where the IPAM is allowed to manage IP address CIDRs. + IPAM only discovers and monitors resources in the Amazon Web Services + Regions you select as operating Regions. + + For more information about operating Regions, see [Create an + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + + region_name: str | None = ... + """The name of the operating Region.""" + +@dataclass(kw_only=True) +class AddIpamOrganizationalUnitExclusion(_SerdeShape): + """ + Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is + integrated with Amazon Web Services Organizations and you add an + organizational unit (OU) exclusion, IPAM will not manage the IP + addresses in accounts in that OU exclusion. There is a limit on the + number of exclusions you can create. For more information, see [Quotas + for your + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + + organizations_entity_path: str | None = ... + """ + An Amazon Web Services Organizations entity path. Build the path for the + OU(s) using Amazon Web Services Organizations IDs separated by a `/`. + Include all child OUs by ending the path with `/*`. + + - Example 1 + + - Path to a child OU: + `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/` + + - In this example, `o-a1b2c3d4e5` is the organization ID, + `r-f6g7h8i9j0example` is the root ID , `ou-ghi0-awsccccc` is an OU + ID, and `ou-jkl0-awsddddd` is a child OU ID. + + - IPAM will not manage the IP addresses in accounts in the child OU. + + - Example 2 + + - Path where all child OUs will be part of the exclusion: + `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/*` + + - In this example, IPAM will not manage the IP addresses in accounts + in the OU (`ou-ghi0-awsccccc`) or in accounts in any OUs that are + children of the OU. + + For more information on how to construct an entity path, see [Understand + the Amazon Web Services Organizations entity + path](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path) + in the *Amazon Web Services Identity and Access Management User Guide*. + """ + +@dataclass(kw_only=True) +class AdditionalDetail(_SerdeShape): + """ + Describes an additional detail for a path analysis. For more + information, see [Reachability Analyzer additional detail + codes](https://docs.aws.amazon.com/vpc/latest/reachability/additional-detail-codes.html). + """ + + additional_detail_type: str | None = ... + """The additional detail code.""" + component: AnalysisComponent | None = ... + """The path component.""" + vpc_endpoint_service: AnalysisComponent | None = ... + """The VPC endpoint service.""" + rule_options: list[RuleOption] | None = ... + """The rule options.""" + rule_group_type_pairs: list[RuleGroupTypePair] | None = ... + """The rule group type.""" + rule_group_rule_options_pairs: list[RuleGroupRuleOptionsPair] | None = ... + """The rule options.""" + service_name: str | None = ... + """The name of the VPC endpoint service.""" + load_balancers: list[AnalysisComponent] | None = ... + """The load balancers.""" + +@dataclass(kw_only=True) +class AddPrefixListEntry(_SerdeShape): + """An entry for a prefix list.""" + + cidr: str | None = ... + """The CIDR block.""" + description: str | None = ... + """ + A description for the entry. + + Constraints: Up to 255 characters in length. + """ + +@dataclass(kw_only=True) +class Address(_SerdeShape): + """Describes an Elastic IP address, or a carrier IP address.""" + + allocation_id: str | None = ... + """The ID representing the allocation of the address.""" + association_id: str | None = ... + """The ID representing the association of the address with an instance.""" + domain: str | None = ... + """The network (`vpc`).""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + network_interface_owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the network + interface. + """ + private_ip_address: str | None = ... + """The private IP address associated with the Elastic IP address.""" + tags: list[Tag] | None = ... + """Any tags assigned to the Elastic IP address.""" + public_ipv4_pool: str | None = ... + """The ID of an address pool.""" + network_border_group: str | None = ... + """ + The name of the unique set of Availability Zones, Local Zones, or + Wavelength Zones from which Amazon Web Services advertises IP addresses. + """ + customer_owned_ip: str | None = ... + """The customer-owned IP address.""" + customer_owned_ipv4_pool: str | None = ... + """The ID of the customer-owned address pool.""" + carrier_ip: str | None = ... + """ + The carrier IP address associated. This option is only available for + network interfaces which reside in a subnet in a Wavelength Zone (for + example an EC2 instance). + """ + subnet_id: str | None = ... + """The ID of the subnet where the IP address is allocated.""" + service_managed: str | None = ... + """ + The service that manages the elastic IP address. + + Note: + The only option supported today is `alb`. + """ + instance_id: str | None = ... + """The ID of the instance that the address is associated with (if any).""" + public_ip: str | None = ... + """The Elastic IP address.""" + +@dataclass(kw_only=True) +class AddressAttribute(_SerdeShape): + """The attributes associated with an Elastic IP address.""" + + public_ip: str | None = ... + """The public IP address.""" + allocation_id: str | None = ... + """[EC2-VPC] The allocation ID.""" + ptr_record: str | None = ... + """The pointer (PTR) record for the IP address.""" + ptr_record_update: PtrUpdateStatus | None = ... + """The updated PTR record for the IP address.""" + +class AddressAttributeName(UnknownEnumMixin, StrEnum): + DOMAIN_NAME = "domain-name" + +class AddressFamily(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + IPV6 = "ipv6" + +@dataclass(kw_only=True) +class AddressTransfer(_SerdeShape): + """ + Details on the Elastic IP address transfer. For more information, see + [Transfer Elastic IP + addresses](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro) + in the *Amazon VPC User Guide*. + """ + + public_ip: str | None = ... + """The Elastic IP address being transferred.""" + allocation_id: str | None = ... + """The allocation ID of an Elastic IP address.""" + transfer_account_id: str | None = ... + """ + The ID of the account that you want to transfer the Elastic IP address + to. + """ + transfer_offer_expiration_timestamp: datetime | None = ... + """ + The timestamp when the Elastic IP address transfer expired. When the + source account starts the transfer, the transfer account has seven hours + to allocate the Elastic IP address to complete the transfer, or the + Elastic IP address will return to its original owner. + """ + transfer_offer_accepted_timestamp: datetime | None = ... + """The timestamp when the Elastic IP address transfer was accepted.""" + address_transfer_status: str | None = ... + """The Elastic IP address transfer status.""" + +class AddressTransferStatus(UnknownEnumMixin, StrEnum): + PENDING = "pending" + DISABLED = "disabled" + ACCEPTED = "accepted" + +@dataclass(kw_only=True) +class AdvertiseByoipCidrInput(_SerdeShape): + """Dataclass for AdvertiseByoipCidrInput structure.""" + + cidr: str | None = ... + """ + The address range, in CIDR notation. This must be the exact range that + you provisioned. You can't advertise only a portion of the provisioned + range. + """ + asn: str | None = ... + """The public 2-byte or 4-byte ASN that you want to advertise.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_border_group: str | None = ... + """ + If you have [Local + Zones](https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html) + enabled, you can choose a network border group for Local Zones when you + provision and advertise a BYOIPv4 CIDR. Choose the network border group + carefully as the EIP and the Amazon Web Services resource it is + associated with must reside in the same network border group. + + You can provision BYOIP address ranges to and advertise them in the + following Local Zone network border groups: + + - us-east-1-dfw-2 + + - us-west-2-lax-1 + + - us-west-2-phx-2 + + Note: + You cannot provision or advertise BYOIPv6 address ranges in Local Zones + at this time. + """ + +@dataclass(kw_only=True) +class AdvertiseByoipCidrOutput(_SerdeShape): + """Dataclass for AdvertiseByoipCidrOutput structure.""" + + byoip_cidr: ByoipCidr | None = ... + """Information about the address range.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class Affinity(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + HOST = "host" + +class AggregationStatusEnum(UnknownEnumMixin, StrEnum): + INCLUDED = "included" + EXCLUDED = "excluded" + +@dataclass(kw_only=True) +class AllocateAddressInput(_SerdeShape): + """Dataclass for AllocateAddressInput structure.""" + + domain: str | None = ... + """The network (`vpc`).""" + address: str | None = ... + """ + The Elastic IP address to recover or an IPv4 address from an address + pool. + """ + public_ipv4_pool: str | None = ... + """ + The ID of an address pool that you own. Use this parameter to let Amazon + EC2 select an address from the address pool. To specify a specific + address from the address pool, use the `Address` parameter instead. + """ + network_border_group: str | None = ... + """ + A unique set of Availability Zones, Local Zones, or Wavelength Zones + from which Amazon Web Services advertises IP addresses. Use this + parameter to limit the IP address to this location. IP addresses cannot + move between network border groups. + """ + customer_owned_ipv4_pool: str | None = ... + """ + The ID of a customer-owned address pool. Use this parameter to let + Amazon EC2 select an address from the address pool. Alternatively, + specify a specific address from the address pool. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the Elastic IP address.""" + ipam_pool_id: str | None = ... + """ + The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 + CIDR provisioned to it. For more information, see [Allocate sequential + Elastic IP addresses from an IPAM + pool](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-eip-pool.html) + in the *Amazon VPC IPAM User Guide*. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AllocateAddressOutput(_SerdeShape): + """Dataclass for AllocateAddressOutput structure.""" + + allocation_id: str | None = ... + """The ID that represents the allocation of the Elastic IP address.""" + public_ipv4_pool: str | None = ... + """The ID of an address pool that you own.""" + network_border_group: str | None = ... + """ + The set of Availability Zones, Local Zones, or Wavelength Zones from + which Amazon Web Services advertises IP addresses. + """ + domain: str | None = ... + """The network (`vpc`).""" + customer_owned_ip: str | None = ... + """The customer-owned IP address.""" + customer_owned_ipv4_pool: str | None = ... + """The ID of the customer-owned address pool.""" + carrier_ip: str | None = ... + """ + The carrier IP address. Available only for network interfaces that + reside in a subnet in a Wavelength Zone. + """ + public_ip: str | None = ... + """ + The Amazon-owned IP address. Not available when using an address pool + that you own. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AllocateHostsInput(_SerdeShape): + """Dataclass for AllocateHostsInput structure.""" + + instance_family: str | None = ... + """ + Specifies the instance family to be supported by the Dedicated Hosts. If + you specify an instance family, the Dedicated Hosts support multiple + instance types within that instance family. + + If you want the Dedicated Hosts to support a specific instance type + only, omit this parameter and specify **InstanceType** instead. You + cannot specify **InstanceFamily** and **InstanceType** in the same + request. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the Dedicated Host during creation.""" + host_recovery: str | None = ... + """ + Indicates whether to enable or disable host recovery for the Dedicated + Host. Host recovery is disabled by default. For more information, see + [Host + recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html) + in the *Amazon EC2 User Guide*. + + Default: `off` + """ + outpost_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on + which to allocate the Dedicated Host. If you specify **OutpostArn**, you + can optionally specify **AssetIds**. + + If you are allocating the Dedicated Host in a Region, omit this + parameter. + """ + host_maintenance: str | None = ... + """ + Indicates whether to enable or disable host maintenance for the + Dedicated Host. For more information, see [Host + maintenance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html) + in the *Amazon EC2 User Guide*. + """ + asset_ids: list[str] | None = ... + """ + The IDs of the Outpost hardware assets on which to allocate the + Dedicated Hosts. Targeting specific hardware assets on an Outpost can + help to minimize latency between your workloads. This parameter is + supported only if you specify **OutpostArn**. If you are allocating the + Dedicated Hosts in a Region, omit this parameter. + + - If you specify this parameter, you can omit **Quantity**. In this + case, Amazon EC2 allocates a Dedicated Host on each specified hardware + asset. + + - If you specify both **AssetIds** and **Quantity**, then the value for + **Quantity** must be equal to the number of asset IDs specified. + """ + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + cpu_options: HostCpuOptionsRequest | None = ... + """The CPU configuration options to apply to the Dedicated Host.""" + auto_placement: str | None = ... + """ + Indicates whether the host accepts any untargeted instance launches that + match its instance type configuration, or if it only accepts Host + tenancy instance launches that specify its unique host ID. For more + information, see [Understanding auto-placement and + affinity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-understanding) + in the *Amazon EC2 User Guide*. + + Default: `off` + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + instance_type: str | None = ... + """ + Specifies the instance type to be supported by the Dedicated Hosts. If + you specify an instance type, the Dedicated Hosts support instances of + the specified instance type only. + + If you want the Dedicated Hosts to support multiple instance types in a + specific instance family, omit this parameter and specify + **InstanceFamily** instead. You cannot specify **InstanceType** and + **InstanceFamily** in the same request. + """ + quantity: int | None = ... + """ + The number of Dedicated Hosts to allocate to your account with these + parameters. If you are allocating the Dedicated Hosts on an Outpost, and + you specify **AssetIds**, you can omit this parameter. In this case, + Amazon EC2 allocates a Dedicated Host on each specified hardware asset. + If you specify both **AssetIds** and **Quantity**, then the value that + you specify for **Quantity** must be equal to the number of asset IDs + specified. + """ + availability_zone: str | None = ... + """The Availability Zone in which to allocate the Dedicated Host.""" + +@dataclass(kw_only=True) +class AllocateHostsOutput(_SerdeShape): + """Contains the output of AllocateHosts.""" + + host_ids: list[str] | None = ... + """ + The ID of the allocated Dedicated Host. This is used to launch an + instance onto a specific host. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AllocateIpamPoolCidrInput(_SerdeShape): + """Dataclass for AllocateIpamPoolCidrInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_id: str | None = ... + """The ID of the IPAM pool from which you would like to allocate a CIDR.""" + cidr: str | None = ... + """ + The CIDR you would like to allocate from the IPAM pool. Note the + following: + + - If there is no DefaultNetmaskLength allocation rule set on the pool, + you must specify either the NetmaskLength or the CIDR. + + - If the DefaultNetmaskLength allocation rule is set on the pool, you + can specify either the NetmaskLength or the CIDR and the + DefaultNetmaskLength allocation rule will be ignored. + + Possible values: Any available IPv4 or IPv6 CIDR. + """ + netmask_length: int | None = ... + """ + The netmask length of the CIDR you would like to allocate from the IPAM + pool. Note the following: + + - If there is no DefaultNetmaskLength allocation rule set on the pool, + you must specify either the NetmaskLength or the CIDR. + + - If the DefaultNetmaskLength allocation rule is set on the pool, you + can specify either the NetmaskLength or the CIDR and the + DefaultNetmaskLength allocation rule will be ignored. + + Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask + lengths for IPv6 addresses are 0 - 128. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + description: str | None = ... + """A description for the allocation.""" + preview_next_cidr: bool | None = ... + """A preview of the next available CIDR in a pool.""" + allowed_cidrs: list[str] | None = ... + """ + Include a particular CIDR range that can be returned by the pool. + Allowed CIDRs are only allowed if using netmask length for allocation. + """ + disallowed_cidrs: list[str] | None = ... + """ + Exclude a particular CIDR range from being returned by the pool. + Disallowed CIDRs are only allowed if using netmask length for + allocation. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + 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 `Owner` and + the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` + for the filter value. + + If you specify tags, the request is authorized against the allocation + resource in addition to the pool resource. + """ + +@dataclass(kw_only=True) +class AllocateIpamPoolCidrOutput(_SerdeShape): + """Dataclass for AllocateIpamPoolCidrOutput structure.""" + + ipam_pool_allocation: IpamPoolAllocation | None = ... + """Information about the allocation created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AllocationState(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + UNDER_ASSESSMENT = "under-assessment" + PERMANENT_FAILURE = "permanent-failure" + RELEASED = "released" + RELEASED_PERMANENT_FAILURE = "released-permanent-failure" + PENDING = "pending" + CONFIGURING = "configuring" + +class AllocationStrategy(UnknownEnumMixin, StrEnum): + LOWEST_PRICE = "lowestPrice" + DIVERSIFIED = "diversified" + CAPACITY_OPTIMIZED = "capacityOptimized" + CAPACITY_OPTIMIZED_PRIORITIZED = "capacityOptimizedPrioritized" + PRICE_CAPACITY_OPTIMIZED = "priceCapacityOptimized" + +class AllocationType(UnknownEnumMixin, StrEnum): + USED = "used" + FUTURE = "future" + CANCELLING = "cancelling" + +class AllowedImagesSettingsDisabledState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + +class AllowedImagesSettingsEnabledState(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + AUDIT_MODE = "audit-mode" + +@dataclass(kw_only=True) +class AllowedPrincipal(_SerdeShape): + """Describes a principal.""" + + principal_type: str | None = ... + """The type of principal.""" + principal: str | None = ... + """The Amazon Resource Name (ARN) of the principal.""" + service_permission_id: str | None = ... + """The ID of the service permission.""" + tags: list[Tag] | None = ... + """The tags.""" + service_id: str | None = ... + """The ID of the service.""" + +class AllowsMultipleInstanceTypes(UnknownEnumMixin, StrEnum): + ON = "on" + OFF = "off" + +@dataclass(kw_only=True) +class AlternatePathHint(_SerdeShape): + """Describes an potential intermediate component of a feasible path.""" + + component_id: str | None = ... + """The ID of the component.""" + component_arn: str | None = ... + """The Amazon Resource Name (ARN) of the component.""" + +class AmdSevSnp(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +class AmdSevSnpSpecification(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class AnalysisAclRule(_SerdeShape): + """Describes a network access control (ACL) rule.""" + + cidr: str | None = ... + """The IPv4 address range, in CIDR notation.""" + egress: bool | None = ... + """Indicates whether the rule is an outbound rule.""" + port_range: PortRange | None = ... + """The range of ports.""" + protocol: str | None = ... + """The protocol.""" + rule_action: str | None = ... + """Indicates whether to allow or deny traffic that matches the rule.""" + rule_number: int | None = ... + """The rule number.""" + +@dataclass(kw_only=True) +class AnalysisComponent(_SerdeShape): + """Describes a path component.""" + + id: str | None = ... + """The ID of the component.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) of the component.""" + name: str | None = ... + """The name of the analysis component.""" + +@dataclass(kw_only=True) +class AnalysisLoadBalancerListener(_SerdeShape): + """Describes a load balancer listener.""" + + load_balancer_port: int | None = ... + """The port on which the load balancer is listening.""" + instance_port: int | None = ... + """[Classic Load Balancers] The back-end port for the listener.""" + +@dataclass(kw_only=True) +class AnalysisLoadBalancerTarget(_SerdeShape): + """Describes a load balancer target.""" + + address: str | None = ... + """The IP address.""" + availability_zone: str | None = ... + """The Availability Zone.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + instance: AnalysisComponent | None = ... + """Information about the instance.""" + port: int | None = ... + """The port on which the target is listening.""" + +@dataclass(kw_only=True) +class AnalysisPacketHeader(_SerdeShape): + """ + Describes a header. Reflects any changes made by a component as traffic + passes through. The fields of an inbound header are null except for the + first component of a path. + """ + + destination_addresses: list[str] | None = ... + """The destination addresses.""" + destination_port_ranges: list[PortRange] | None = ... + """The destination port ranges.""" + protocol: str | None = ... + """The protocol.""" + source_addresses: list[str] | None = ... + """The source addresses.""" + source_port_ranges: list[PortRange] | None = ... + """The source port ranges.""" + +@dataclass(kw_only=True) +class AnalysisRouteTableRoute(_SerdeShape): + """Describes a route table route.""" + + destination_cidr: str | None = ... + """The destination IPv4 address, in CIDR notation.""" + destination_prefix_list_id: str | None = ... + """The prefix of the Amazon Web Services service.""" + egress_only_internet_gateway_id: str | None = ... + """The ID of an egress-only internet gateway.""" + gateway_id: str | None = ... + """ + The ID of the gateway, such as an internet gateway or virtual private + gateway. + """ + instance_id: str | None = ... + """The ID of the instance, such as a NAT instance.""" + nat_gateway_id: str | None = ... + """The ID of a NAT gateway.""" + network_interface_id: str | None = ... + """The ID of a network interface.""" + origin: str | None = ... + """ + Describes how the route was created. The following are the possible + values: + + - CreateRouteTable - The route was automatically created when the route + table was created. + + - CreateRoute - The route was manually added to the route table. + + - EnableVgwRoutePropagation - The route was propagated by route + propagation. + """ + transit_gateway_id: str | None = ... + """The ID of a transit gateway.""" + vpc_peering_connection_id: str | None = ... + """The ID of a VPC peering connection.""" + state: str | None = ... + """ + The state. The following are the possible values: + + - active + + - blackhole + """ + carrier_gateway_id: str | None = ... + """The ID of a carrier gateway.""" + core_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of a core network.""" + local_gateway_id: str | None = ... + """The ID of a local gateway.""" + +@dataclass(kw_only=True) +class AnalysisSecurityGroupRule(_SerdeShape): + """Describes a security group rule.""" + + cidr: str | None = ... + """The IPv4 address range, in CIDR notation.""" + direction: str | None = ... + """ + The direction. The following are the possible values: + + - egress + + - ingress + """ + security_group_id: str | None = ... + """The security group ID.""" + port_range: PortRange | None = ... + """The port range.""" + prefix_list_id: str | None = ... + """The prefix list ID.""" + protocol: str | None = ... + """The protocol name.""" + +class AnalysisStatus(UnknownEnumMixin, StrEnum): + RUNNING = "running" + SUCCEEDED = "succeeded" + FAILED = "failed" + +@dataclass(kw_only=True) +class AnalysisTransitGatewayPolicyTableEntry(_SerdeShape): + """Describes an entry in a transit gateway policy table.""" + + rule_number: int | None = ... + """ + The rule number for the policy table entry. Entries are evaluated in + ascending order of rule number. + """ + protocol: str | None = ... + """ + The protocol number. A value of `-1` means that the entry matches all + protocols. + """ + source_cidr: str | None = ... + """ + The source CIDR block. If this value is not present, the entry matches + any source address. + """ + destination_cidr: str | None = ... + """ + The destination CIDR block. If this value is not present, the entry + matches any destination address. + """ + source_port_range: PortRange | None = ... + """ + The source port range. If this value is not present, the entry matches + any source port. + """ + destination_port_range: PortRange | None = ... + """ + The destination port range. If this value is not present, the entry + matches any destination port. + """ + target_route_table_id: str | None = ... + """ + The ID of the transit gateway route table to which the entry routes + matching traffic. + """ + +class ApplianceModeSupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +@dataclass(kw_only=True) +class ApplicationStatus(_SerdeShape): + """Describes the application-level health status for an instance.""" + + status: str | None = ... + """ + The current instance-level application status. This status is derived + from application status checks with `Aggregation` set to `included`. + Possible values: + + - `ok` -- All included checks passed. + + - `impaired` -- At least one included check failed. + + - `initializing` -- At least one included check is initializing, and no + included check is impaired. + + - `insufficient-data` -- At least one included check has insufficient + data, and no included check is impaired or initializing. + + - `not-applicable` -- No checks with `Aggregation` set to `included` + apply to the instance. + + - `suppressed` -- Application status reporting is suppressed for the + instance. + + Checks with `Aggregation` set to `excluded` do not affect this value. + """ + status_time_stamp: datetime | None = ... + """The date and time of the last status update.""" + status_since: datetime | None = ... + """The date and time when the current status started.""" + resume_at: datetime | None = ... + """ + The date and time when application status reporting resumes after + suppression. + """ + details: list[ApplicationStatusDetail] | None = ... + """Details about the application status checks for the instance.""" + +@dataclass(kw_only=True) +class ApplicationStatusCheckAssociationObject(_SerdeShape): + """ + Information about an application status check association. Each item in + the `associationSet` of a `DescribeApplicationStatusCheckAssociations` + response is of this type. + """ + + application_status_check_id: str | None = ... + """The ID of the application status check.""" + association_type: str | None = ... + """ + The type of target that the application status check is associated with. + Possible values: + + - `tag` -- The check applies to current and future instances with a + matching tag key-value pair. + + - `instance-id` -- The check applies to a specific instance. + """ + key: str | None = ... + """ + The key for the association. This value is present only for tag-based + associations, where it contains the tag key. For instance-based + associations, this value is absent. + """ + value: str | None = ... + """ + The value for the association target. For tag-based associations, this + is the tag value. For instance-based associations, this is the instance + ID (for example, `i-0123456789abcdef0`). + """ + +class ApplicationStatusCheckEnum(UnknownEnumMixin, StrEnum): + PASSED = "passed" + FAILED = "failed" + INITIALIZING = "initializing" + INSUFFICIENT_DATA = "insufficient-data" + NOT_APPLICABLE = "not-applicable" + +@dataclass(kw_only=True) +class ApplicationStatusCheckResponseObject(_SerdeShape): + """Describes an application status check.""" + + application_status_check_id: str | None = ... + """The ID of the application status check.""" + aggregation: str | None = ... + """ + The aggregation setting for the application status check. When set to + `included`, the result of this check contributes to the instance-level + application status. When set to `excluded`, the check runs independently + and does not affect the instance-level status. + """ + health_check_paths: list[HealthCheckPathResponseObject] | None = ... + """The health check paths for the application status check.""" + protocol: str | None = ... + """The protocol used for the health check.""" + port: int | None = ... + """The port used for the health check.""" + path: str | None = ... + """The URL path used for the health check HTTP request.""" + device_index: int | None = ... + """ + The index of the network device used for the health check. The value is + greater than or equal to 0. + """ + ip_version: str | None = ... + """The IP version used for the health check.""" + ip_scope: str | None = ... + """The IP scope used for the health check.""" + interval: int | None = ... + """The interval, in seconds, between health checks. Valid value: 60.""" + timeout: int | None = ... + """ + The amount of time, in seconds, to wait for a health check response. + Valid values: 1 to 30. + """ + failure_threshold: int | None = ... + """ + The number of consecutive failed health checks before the application + status is considered impaired. The value must be greater than 0. + """ + success_threshold: int | None = ... + """ + The number of consecutive successful health checks before the + application status is considered healthy. The value must be greater than + 0. + """ + status_code_matcher: str | None = ... + """ + The comma-separated list of individual HTTP status codes or ranges that + indicate a successful health check response. + """ + initialization_grace_period_seconds: int | None = ... + """ + The number of seconds to wait before starting health checks after an + instance is launched. Valid values: 1 to 600. + """ + last_updated_at: datetime | None = ... + """The date and time when the application status check was last updated.""" + target_tag_associations: list[CustomTagKeyValueResponsePair] | None = ... + """ + The + [tags](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) + associated with the application status check. Instances with these tags + are automatically monitored by this check. + """ + tags: list[Tag] | None = ... + """The tags assigned to the application status check.""" + creation_time: datetime | None = ... + """The date and time when the application status check was created.""" + modify_time: datetime | None = ... + """The date and time when the application status check was last modified.""" + deletion_time: datetime | None = ... + """The date and time when the application status check was deleted.""" + +@dataclass(kw_only=True) +class ApplicationStatusDetail(_SerdeShape): + """Describes the details of an application status check for an instance.""" + + application_status_check_id: str | None = ... + """The ID of the application status check.""" + check_update_time: datetime | None = ... + """The date and time when the check was last updated.""" + aggregation: str | None = ... + """ + The aggregation setting for the application status check. When set to + `included`, the result of this check contributes to the instance-level + application status. When set to `excluded`, the check runs independently + and does not affect the instance-level status. + """ + status: str | None = ... + """ + The status of the individual application status check. Possible values: + + - `passed` -- The check reached its success threshold. + + - `failed` -- The check reached its failure threshold. + + - `initializing` -- The check is initializing or has not reached a + success or failure threshold. + + - `insufficient-data` -- The check does not have enough data to + determine a result. + + - `not-applicable` -- The check does not apply to the instance. + + This value reflects the check result and is not affected by aggregation + or suppression. + """ + status_time_stamp: datetime | None = ... + """The date and time of the last status update for this check.""" + status_since: datetime | None = ... + """The date and time when the current status started for this check.""" + reason: ApplicationStatusReason | None = ... + """The reason for the current status.""" + +class ApplicationStatusEnum(UnknownEnumMixin, StrEnum): + OK = "ok" + IMPAIRED = "impaired" + INITIALIZING = "initializing" + INSUFFICIENT_DATA = "insufficient-data" + NOT_APPLICABLE = "not-applicable" + SUPPRESSED = "suppressed" + +@dataclass(kw_only=True) +class ApplicationStatusesResponseType(_SerdeShape): + """Describes the application statuses for instances.""" + + instances: list[InstanceApplicationStatus] | None = ... + """The application status information for the instances.""" + +@dataclass(kw_only=True) +class ApplicationStatusReason(_SerdeShape): + """Describes the reason for an application status check result.""" + + code: str | None = ... + """ + The reason code for the application status check result. Possible + values: + + - `ResponseCodeMatched` -- The HTTP status code returned by the health + check matched the configured `StatusCodeMatcher`. + + - `ResponseCodeMismatch` -- The HTTP status code returned by the health + check did not match the configured `StatusCodeMatcher`. + + - `ConnectionTimeout` -- The connection to the target timed out. + + - `ResponseTimeout` -- The health check timed out while waiting for a + response from the target. + + - `ConnectionRefused` -- The target refused the health check connection. + + - `ConnectionReset` -- The target reset the health check connection + before returning a response. + + Current health check results use the values in the preceding list. + Legacy results that do not contain structured reason metadata can + instead contain a producer error type, such as `Http Status Code` or + `HttpConnectTimeoutException`. + + For `ResponseCodeMatched` and `ResponseCodeMismatch`, the `statusCode` + field contains the returned HTTP status code. The `protocol` field + contains the protocol used for the health check. + """ + status_code: int | None = ... + """The HTTP status code returned by the health check.""" + protocol: str | None = ... + """ + The protocol used for the health check. Possible values: `HTTP` and + `HTTPS`. + """ + +@dataclass(kw_only=True) +class ApplicationStatusSummary(_SerdeShape): + """ + Provides a summary of the application-level health status for an + instance. + """ + + status: str | None = ... + """The current status.""" + impaired_since: datetime | None = ... + """The date and time when the application status became impaired.""" + +class ApplyCancellationCharges(UnknownEnumMixin, StrEnum): + COMMITMENT_WIND_DOWN = "commitment-wind-down" + +@dataclass(kw_only=True) +class ApplySecurityGroupsToClientVpnTargetNetworkInput(_SerdeShape): + """ + Dataclass for ApplySecurityGroupsToClientVpnTargetNetworkInput + structure. + """ + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + vpc_id: str | None = ... + """The ID of the VPC in which the associated target network is located.""" + security_group_ids: list[str] | None = ... + """ + The IDs of the security groups to apply to the associated target + network. Up to 5 security groups can be applied to an associated target + network. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ApplySecurityGroupsToClientVpnTargetNetworkOutput(_SerdeShape): + """ + Dataclass for ApplySecurityGroupsToClientVpnTargetNetworkOutput + structure. + """ + + security_group_ids: list[str] | None = ... + """The IDs of the applied security groups.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ArchitectureType(UnknownEnumMixin, StrEnum): + I386 = "i386" + X86_64 = "x86_64" + ARM64 = "arm64" + X86_64_MAC = "x86_64_mac" + ARM64_MAC = "arm64_mac" + +class ArchitectureValues(UnknownEnumMixin, StrEnum): + I386 = "i386" + X86_64 = "x86_64" + ARM64 = "arm64" + X86_64_MAC = "x86_64_mac" + ARM64_MAC = "arm64_mac" + +@dataclass(kw_only=True) +class AsnAssociation(_SerdeShape): + """An Autonomous System Number (ASN) and BYOIP CIDR association.""" + + asn: str | None = ... + """The association's ASN.""" + cidr: str | None = ... + """The association's CIDR.""" + status_message: str | None = ... + """The association's status message.""" + state: str | None = ... + """The association's state.""" + +class AsnAssociationState(UnknownEnumMixin, StrEnum): + DISASSOCIATED = "disassociated" + FAILED_DISASSOCIATION = "failed-disassociation" + FAILED_ASSOCIATION = "failed-association" + PENDING_DISASSOCIATION = "pending-disassociation" + PENDING_ASSOCIATION = "pending-association" + ASSOCIATED = "associated" + +@dataclass(kw_only=True) +class AsnAuthorizationContext(_SerdeShape): + """ + Provides authorization for Amazon to bring an Autonomous System Number + (ASN) to a specific Amazon Web Services account using bring your own ASN + (BYOASN). For details on the format of the message and signature, see + [Tutorial: Bring your ASN to + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html) + in the *Amazon VPC IPAM guide*. + """ + + message: str | None = ... + """The authorization context's message.""" + signature: str | None = ... + """The authorization context's signature.""" + +class AsnState(UnknownEnumMixin, StrEnum): + DEPROVISIONED = "deprovisioned" + FAILED_DEPROVISION = "failed-deprovision" + FAILED_PROVISION = "failed-provision" + PENDING_DEPROVISION = "pending-deprovision" + PENDING_PROVISION = "pending-provision" + PROVISIONED = "provisioned" + +@dataclass(kw_only=True) +class AssignedPrivateIpAddress(_SerdeShape): + """Describes the private IP addresses assigned to a network interface.""" + + private_ip_address: str | None = ... + """The private IP address assigned to the network interface.""" + +@dataclass(kw_only=True) +class AssignIpv6AddressesInput(_SerdeShape): + """Dataclass for AssignIpv6AddressesInput structure.""" + + ipv6_prefix_count: int | None = ... + """ + The number of IPv6 prefixes that Amazon Web Services automatically + assigns to the network interface. You cannot use this option if you use + the `Ipv6Prefixes` option. + """ + ipv6_prefixes: list[str] | None = ... + """ + One or more IPv6 prefixes assigned to the network interface. You can't + use this option if you use the `Ipv6PrefixCount` option. + """ + network_interface_id: str | None = ... + """The ID of the network interface.""" + ipv6_addresses: list[str] | None = ... + """ + The IPv6 addresses to be assigned to the network interface. You can't + use this option if you're specifying a number of IPv6 addresses. + """ + ipv6_address_count: int | None = ... + """ + The number of additional IPv6 addresses to assign to the network + interface. The specified number of IPv6 addresses are assigned in + addition to the existing IPv6 addresses that are already assigned to the + network interface. Amazon EC2 automatically selects the IPv6 addresses + from the subnet range. You can't use this option if specifying specific + IPv6 addresses. + """ + +@dataclass(kw_only=True) +class AssignIpv6AddressesOutput(_SerdeShape): + """Dataclass for AssignIpv6AddressesOutput structure.""" + + assigned_ipv6_addresses: list[str] | None = ... + """ + The new IPv6 addresses assigned to the network interface. Existing IPv6 + addresses that were assigned to the network interface before the request + are not included. + """ + assigned_ipv6_prefixes: list[str] | None = ... + """The IPv6 prefixes that are assigned to the network interface.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssignPrivateIpAddressesInput(_SerdeShape): + """Contains the parameters for AssignPrivateIpAddresses.""" + + ipv4_prefixes: list[str] | None = ... + """ + One or more IPv4 prefixes assigned to the network interface. You can't + use this option if you use the `Ipv4PrefixCount` option. + """ + ipv4_prefix_count: int | None = ... + """ + The number of IPv4 prefixes that Amazon Web Services automatically + assigns to the network interface. You can't use this option if you use + the `Ipv4 Prefixes` option. + """ + network_interface_id: str | None = ... + """The ID of the network interface.""" + private_ip_addresses: list[str] | None = ... + """ + The IP addresses to be assigned as a secondary private IP address to the + network interface. You can't specify this parameter when also + specifying a number of secondary IP addresses. + + If you don't specify an IP address, Amazon EC2 automatically selects an + IP address within the subnet range. + """ + secondary_private_ip_address_count: int | None = ... + """ + The number of secondary IP addresses to assign to the network interface. + You can't specify this parameter when also specifying private IP + addresses. + """ + allow_reassignment: bool | None = ... + """ + Indicates whether to allow an IP address that is already assigned to + another network interface or instance to be reassigned to the specified + network interface. + """ + +@dataclass(kw_only=True) +class AssignPrivateIpAddressesOutput(_SerdeShape): + """Dataclass for AssignPrivateIpAddressesOutput structure.""" + + network_interface_id: str | None = ... + """The ID of the network interface.""" + assigned_private_ip_addresses: list[AssignedPrivateIpAddress] | None = ... + """The private IP addresses assigned to the network interface.""" + assigned_ipv4_prefixes: list[Ipv4PrefixSpecification] | None = ... + """The IPv4 prefixes that are assigned to the network interface.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssignPrivateNatGatewayAddressInput(_SerdeShape): + """Dataclass for AssignPrivateNatGatewayAddressInput structure.""" + + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + private_ip_addresses: list[str] | None = ... + """ + The private IPv4 addresses you want to assign to the private NAT + gateway. + """ + private_ip_address_count: int | None = ... + """ + The number of private IP addresses to assign to the NAT gateway. You + can't specify this parameter when also specifying private IP addresses. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssignPrivateNatGatewayAddressOutput(_SerdeShape): + """Dataclass for AssignPrivateNatGatewayAddressOutput structure.""" + + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + nat_gateway_addresses: list[NatGatewayAddress] | None = ... + """NAT gateway IP addresses.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateAddressInput(_SerdeShape): + """Dataclass for AssociateAddressInput structure.""" + + allocation_id: str | None = ... + """The allocation ID. This is required.""" + instance_id: str | None = ... + """ + The ID of the instance. The instance must have exactly one attached + network interface. You can specify either the instance ID or the network + interface ID, but not both. + """ + public_ip: str | None = ... + """Deprecated.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_interface_id: str | None = ... + """ + The ID of the network interface. If the instance has more than one + network interface, you must specify a network interface ID. + + You can specify either the instance ID or the network interface ID, but + not both. + """ + private_ip_address: str | None = ... + """ + The primary or secondary private IP address to associate with the + Elastic IP address. If no private IP address is specified, the Elastic + IP address is associated with the primary private IP address. + """ + allow_reassociation: bool | None = ... + """ + Reassociation is automatic, but you can specify false to ensure the + operation fails if the Elastic IP address is already associated with + another resource. + """ + +@dataclass(kw_only=True) +class AssociateAddressOutput(_SerdeShape): + """Dataclass for AssociateAddressOutput structure.""" + + association_id: str | None = ... + """ + The ID that represents the association of the Elastic IP address with an + instance. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateApplicationStatusCheckInput(_SerdeShape): + """Dataclass for AssociateApplicationStatusCheckInput structure.""" + + application_status_check_id: str | None = ... + """The ID of the application status check to associate.""" + target_tag_associations: list[CustomTagKeyValueRequestPair] | None = ... + """ + The + [tags](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) + to associate the application status check with. Each tag is a key-value + pair. When you associate tags, the application status check + automatically monitors all instances that have the specified tags. + """ + instance_ids: list[str] | None = ... + """The IDs of the instances to associate with the application status check.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure that the + operation completes no more than one time. If you retry a request with + the same token, the service ignores the request but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssociateApplicationStatusCheckOutput(_SerdeShape): + """Dataclass for AssociateApplicationStatusCheckOutput structure.""" + + successful_results: list[SuccessfulAssociationResponseObject] | None = ... + """The associations that were successfully created.""" + unsuccessful_results: list[UnsuccessfulAssociationResponseObject] | None = ... + """The associations that failed to be created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateCapacityReservationBillingOwnerInput(_SerdeShape): + """Dataclass for AssociateCapacityReservationBillingOwnerInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + unused_reservation_billing_owner_id: str | None = ... + """The ID of the consumer account to which to assign billing.""" + +@dataclass(kw_only=True) +class AssociateCapacityReservationBillingOwnerOutput(_SerdeShape): + """Dataclass for AssociateCapacityReservationBillingOwnerOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateClientVpnTargetNetworkInput(_SerdeShape): + """Dataclass for AssociateClientVpnTargetNetworkInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + subnet_id: str | None = ... + """ + The ID of the subnet to associate with the Client VPN endpoint. Required + for VPC-based endpoints. For Transit Gateway-based endpoints, use + `AvailabilityZone` or `AvailabilityZoneId` instead. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + availability_zone: str | None = ... + """ + The Availability Zone name for the Transit Gateway association. Required + if when associating an Availability Zone with a Client VPN endpoint that + uses a Transit Gateway. You cannot specify both `SubnetId` and + `AvailabilityZone`. + """ + availability_zone_id: str | None = ... + """ + The Availability Zone ID for the Transit Gateway association. Required + if when associating an Availability Zone with a Client VPN endpoint that + uses a Transit Gateway. You cannot specify both `AvailabilityZone` and + `AvailabilityZoneId`. + """ + +@dataclass(kw_only=True) +class AssociateClientVpnTargetNetworkOutput(_SerdeShape): + """Dataclass for AssociateClientVpnTargetNetworkOutput structure.""" + + association_id: str | None = ... + """The unique ID of the target network association.""" + status: AssociationStatus | None = ... + """The current state of the target network association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateDhcpOptionsInput(_SerdeShape): + """Dataclass for AssociateDhcpOptionsInput structure.""" + + dhcp_options_id: str | None = ... + """ + The ID of the DHCP options set, or `default` to associate no DHCP + options with the VPC. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssociateDhcpOptionsOutput(_SerdeShape): + """Dataclass for AssociateDhcpOptionsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AssociatedNetworkType(UnknownEnumMixin, StrEnum): + VPC = "vpc" + +@dataclass(kw_only=True) +class AssociatedRole(_SerdeShape): + """Information about the associated IAM roles.""" + + associated_role_arn: str | None = ... + """The ARN of the associated IAM role.""" + certificate_s3_bucket_name: str | None = ... + """ + The name of the Amazon S3 bucket in which the Amazon S3 object is + stored. + """ + certificate_s3_object_key: str | None = ... + """ + The key of the Amazon S3 object where the certificate, certificate + chain, and encrypted private key bundle are stored. The object key is + formatted as follows: `role_arn`/`certificate_arn`. + """ + encryption_kms_key_id: str | None = ... + """The ID of the KMS key used to encrypt the private key.""" + +@dataclass(kw_only=True) +class AssociatedTargetNetwork(_SerdeShape): + """ + Describes a target network that is associated with a Client VPN + endpoint. A target network is a subnet in a VPC. + """ + + network_id: str | None = ... + """The ID of the subnet.""" + network_type: str | None = ... + """The target network type.""" + +@dataclass(kw_only=True) +class AssociateEnclaveCertificateIamRoleInput(_SerdeShape): + """Dataclass for AssociateEnclaveCertificateIamRoleInput structure.""" + + certificate_arn: str | None = ... + """The ARN of the ACM certificate with which to associate the IAM role.""" + role_arn: str | None = ... + """ + The ARN of the IAM role to associate with the ACM certificate. You can + associate up to 16 IAM roles with an ACM certificate. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssociateEnclaveCertificateIamRoleOutput(_SerdeShape): + """Dataclass for AssociateEnclaveCertificateIamRoleOutput structure.""" + + certificate_s3_bucket_name: str | None = ... + """The name of the Amazon S3 bucket to which the certificate was uploaded.""" + certificate_s3_object_key: str | None = ... + """ + The Amazon S3 object key where the certificate, certificate chain, and + encrypted private key bundle are stored. The object key is formatted as + follows: `role_arn`/`certificate_arn`. + """ + encryption_kms_key_id: str | None = ... + """ + The ID of the KMS key used to encrypt the private key of the + certificate. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateIamInstanceProfileInput(_SerdeShape): + """Dataclass for AssociateIamInstanceProfileInput structure.""" + + iam_instance_profile: IamInstanceProfileSpecification | None = ... + """The IAM instance profile.""" + instance_id: str | None = ... + """The ID of the instance.""" + +@dataclass(kw_only=True) +class AssociateIamInstanceProfileOutput(_SerdeShape): + """Dataclass for AssociateIamInstanceProfileOutput structure.""" + + iam_instance_profile_association: IamInstanceProfileAssociation | None = ... + """Information about the IAM instance profile association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateInstanceEventWindowInput(_SerdeShape): + """Dataclass for AssociateInstanceEventWindowInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_event_window_id: str | None = ... + """The ID of the event window.""" + association_target: InstanceEventWindowAssociationRequest | None = ... + """One or more targets associated with the specified event window.""" + +@dataclass(kw_only=True) +class AssociateInstanceEventWindowOutput(_SerdeShape): + """Dataclass for AssociateInstanceEventWindowOutput structure.""" + + instance_event_window: InstanceEventWindow | None = ... + """Information about the event window.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateIpamByoasnInput(_SerdeShape): + """Dataclass for AssociateIpamByoasnInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + asn: str | None = ... + """A public 2-byte or 4-byte ASN.""" + cidr: str | None = ... + """The BYOIP CIDR you want to associate with an ASN.""" + +@dataclass(kw_only=True) +class AssociateIpamByoasnOutput(_SerdeShape): + """Dataclass for AssociateIpamByoasnOutput structure.""" + + asn_association: AsnAssociation | None = ... + """The ASN and BYOIP CIDR association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateIpamResourceDiscoveryInput(_SerdeShape): + """Dataclass for AssociateIpamResourceDiscoveryInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """An IPAM ID.""" + ipam_resource_discovery_id: str | None = ... + """A resource discovery ID.""" + tag_specifications: list[TagSpecification] | None = ... + """Tag specifications.""" + client_token: str | None = ... + """ + A client token. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class AssociateIpamResourceDiscoveryOutput(_SerdeShape): + """Dataclass for AssociateIpamResourceDiscoveryOutput structure.""" + + ipam_resource_discovery_association: IpamResourceDiscoveryAssociation | None = ... + """ + A resource discovery association. An associated resource discovery is a + resource discovery that has been associated with an IPAM. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateNatGatewayAddressInput(_SerdeShape): + """Dataclass for AssociateNatGatewayAddressInput structure.""" + + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + allocation_ids: list[str] | None = ... + """ + The allocation IDs of EIPs that you want to associate with your NAT + gateway. + """ + private_ip_addresses: list[str] | None = ... + """The private IPv4 addresses that you want to assign to the NAT gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + availability_zone: str | None = ... + """ + For regional NAT gateways only: The Availability Zone where you want to + associate an Elastic IP address (EIP). The regional NAT gateway uses a + separate EIP in each AZ to handle outbound NAT traffic from that AZ. + + A regional NAT gateway is a single NAT Gateway that works across + multiple availability zones (AZs) in your VPC, providing redundancy, + scalability and availability across all the AZs in a Region. + """ + availability_zone_id: str | None = ... + """ + For regional NAT gateways only: The ID of the Availability Zone where + you want to associate an Elastic IP address (EIP). The regional NAT + gateway uses a separate EIP in each AZ to handle outbound NAT traffic + from that AZ. Use this instead of AvailabilityZone for consistent + identification of AZs across Amazon Web Services Regions. + + A regional NAT gateway is a single NAT Gateway that works across + multiple availability zones (AZs) in your VPC, providing redundancy, + scalability and availability across all the AZs in a Region. + """ + +@dataclass(kw_only=True) +class AssociateNatGatewayAddressOutput(_SerdeShape): + """Dataclass for AssociateNatGatewayAddressOutput structure.""" + + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + nat_gateway_addresses: list[NatGatewayAddress] | None = ... + """The IP addresses.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateRouteServerInput(_SerdeShape): + """Dataclass for AssociateRouteServerInput structure.""" + + route_server_id: str | None = ... + """The unique identifier for the route server to be associated.""" + vpc_id: str | None = ... + """The ID of the VPC to associate with the route server.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssociateRouteServerOutput(_SerdeShape): + """Dataclass for AssociateRouteServerOutput structure.""" + + route_server_association: RouteServerAssociation | None = ... + """Information about the association between the route server and the VPC.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateRouteTableInput(_SerdeShape): + """Dataclass for AssociateRouteTableInput structure.""" + + gateway_id: str | None = ... + """The ID of the internet gateway or virtual private gateway.""" + public_ipv4_pool: str | None = ... + """ + The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 + addresses that you've brought to Amazon Web Services with BYOIP. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + subnet_id: str | None = ... + """The ID of the subnet.""" + route_table_id: str | None = ... + """The ID of the route table.""" + +@dataclass(kw_only=True) +class AssociateRouteTableOutput(_SerdeShape): + """Dataclass for AssociateRouteTableOutput structure.""" + + association_id: str | None = ... + """ + The route table association ID. This ID is required for disassociating + the route table. + """ + association_state: RouteTableAssociationState | None = ... + """The state of the association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateSecurityGroupVpcInput(_SerdeShape): + """Dataclass for AssociateSecurityGroupVpcInput structure.""" + + group_id: str | None = ... + """A security group ID.""" + vpc_id: str | None = ... + """A VPC ID.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssociateSecurityGroupVpcOutput(_SerdeShape): + """Dataclass for AssociateSecurityGroupVpcOutput structure.""" + + state: str | None = ... + """The state of the association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateSubnetCidrBlockInput(_SerdeShape): + """Dataclass for AssociateSubnetCidrBlockInput structure.""" + + ipv6_ipam_pool_id: str | None = ... + """An IPv6 IPAM pool ID.""" + ipv6_netmask_length: int | None = ... + """An IPv6 netmask length.""" + subnet_id: str | None = ... + """The ID of your subnet.""" + ipv6_cidr_block: str | None = ... + """The IPv6 CIDR block for your subnet.""" + +@dataclass(kw_only=True) +class AssociateSubnetCidrBlockOutput(_SerdeShape): + """Dataclass for AssociateSubnetCidrBlockOutput structure.""" + + ipv6_cidr_block_association: SubnetIpv6CidrBlockAssociation | None = ... + """Information about the IPv6 association.""" + subnet_id: str | None = ... + """The ID of the subnet.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateTransitGatewayMulticastDomainInput(_SerdeShape): + """Dataclass for AssociateTransitGatewayMulticastDomainInput structure.""" + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + transit_gateway_attachment_id: str | None = ... + """ + The ID of the transit gateway attachment to associate with the transit + gateway multicast domain. + """ + subnet_ids: list[str] | None = ... + """ + The IDs of the subnets to associate with the transit gateway multicast + domain. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssociateTransitGatewayMulticastDomainOutput(_SerdeShape): + """Dataclass for AssociateTransitGatewayMulticastDomainOutput structure.""" + + associations: TransitGatewayMulticastDomainAssociations | None = ... + """Information about the transit gateway multicast domain associations.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateTransitGatewayPolicyTableInput(_SerdeShape): + """Dataclass for AssociateTransitGatewayPolicyTableInput structure.""" + + transit_gateway_policy_table_id: str | None = ... + """ + The ID of the transit gateway policy table to associate with the transit + gateway attachment. + """ + transit_gateway_attachment_id: str | None = ... + """ + The ID of the transit gateway attachment to associate with the policy + table. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssociateTransitGatewayPolicyTableOutput(_SerdeShape): + """Dataclass for AssociateTransitGatewayPolicyTableOutput structure.""" + + association: TransitGatewayPolicyTableAssociation | None = ... + """ + Describes the association of a transit gateway and a transit gateway + policy table. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateTransitGatewayRouteTableInput(_SerdeShape): + """Dataclass for AssociateTransitGatewayRouteTableInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssociateTransitGatewayRouteTableOutput(_SerdeShape): + """Dataclass for AssociateTransitGatewayRouteTableOutput structure.""" + + association: TransitGatewayAssociation | None = ... + """The ID of the association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateTrunkInterfaceInput(_SerdeShape): + """Dataclass for AssociateTrunkInterfaceInput structure.""" + + branch_interface_id: str | None = ... + """The ID of the branch network interface.""" + trunk_interface_id: str | None = ... + """The ID of the trunk network interface.""" + vlan_id: int | None = ... + """The ID of the VLAN. This applies to the VLAN protocol.""" + gre_key: int | None = ... + """The application key. This applies to the GRE protocol.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AssociateTrunkInterfaceOutput(_SerdeShape): + """Dataclass for AssociateTrunkInterfaceOutput structure.""" + + interface_association: TrunkInterfaceAssociation | None = ... + """ + Information about the association between the trunk network interface + and branch network interface. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociateVpcCidrBlockInput(_SerdeShape): + """Dataclass for AssociateVpcCidrBlockInput structure.""" + + cidr_block: str | None = ... + """An IPv4 CIDR block to associate with the VPC.""" + ipv6_cidr_block_network_border_group: str | None = ... + """ + The name of the location from which we advertise the IPV6 CIDR block. + Use this parameter to limit the CIDR block to this location. + + You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this + parameter. + + You can have one IPv6 CIDR block association per network border group. + """ + ipv6_pool: str | None = ... + """ + The ID of an IPv6 address pool from which to allocate the IPv6 CIDR + block. + """ + ipv6_cidr_block: str | None = ... + """ + An IPv6 CIDR block from the IPv6 address pool. You must also specify + `Ipv6Pool` in the request. + + To let Amazon choose the IPv6 CIDR block for you, omit this parameter. + """ + ipv4_ipam_pool_id: str | None = ... + """ + Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more + information about Amazon VPC IP Address Manager (IPAM), see [What is + IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + ipv4_netmask_length: int | None = ... + """ + The netmask length of the IPv4 CIDR you would like to associate from an + Amazon VPC IP Address Manager (IPAM) pool. For more information about + IPAM, see [What is + IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + ipv6_ipam_pool_id: str | None = ... + """ + Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more + information about Amazon VPC IP Address Manager (IPAM), see [What is + IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + ipv6_netmask_length: int | None = ... + """ + The netmask length of the IPv6 CIDR you would like to associate from an + Amazon VPC IP Address Manager (IPAM) pool. For more information about + IPAM, see [What is + IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + amazon_provided_ipv6_cidr_block: bool | None = ... + """ + Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for + the VPC. You cannot specify the range of IPv6 addresses or the size of + the CIDR block. + """ + +@dataclass(kw_only=True) +class AssociateVpcCidrBlockOutput(_SerdeShape): + """Dataclass for AssociateVpcCidrBlockOutput structure.""" + + ipv6_cidr_block_association: VpcIpv6CidrBlockAssociation | None = ... + """Information about the IPv6 CIDR block association.""" + cidr_block_association: VpcCidrBlockAssociation | None = ... + """Information about the IPv4 CIDR block association.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociationStatus(_SerdeShape): + """Describes the state of a target network association.""" + + code: str | None = ... + """The state of the target network association.""" + message: str | None = ... + """ + A message about the status of the target network association, if + applicable. + """ + +class AssociationStatusCode(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + ASSOCIATION_FAILED = "association-failed" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + +class AssociationTypeEnum(UnknownEnumMixin, StrEnum): + TAG = "tag" + INSTANCE_ID = "instance-id" + +@dataclass(kw_only=True) +class AthenaIntegration(_SerdeShape): + """Describes integration options for Amazon Athena.""" + + integration_result_s3_destination_arn: str | None = ... + """ + The location in Amazon S3 to store the generated CloudFormation + template. + """ + partition_load_frequency: str | None = ... + """The schedule for adding new partitions to the table.""" + partition_start_date: datetime | None = ... + """The start date for the partition.""" + partition_end_date: datetime | None = ... + """The end date for the partition.""" + +@dataclass(kw_only=True) +class AttachClassicLinkVpcInput(_SerdeShape): + """Dataclass for AttachClassicLinkVpcInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the EC2-Classic instance.""" + vpc_id: str | None = ... + """The ID of the ClassicLink-enabled VPC.""" + groups: list[str] | None = ... + """ + The IDs of the security groups. You cannot specify security groups from + a different VPC. + """ + +@dataclass(kw_only=True) +class AttachClassicLinkVpcOutput(_SerdeShape): + """Dataclass for AttachClassicLinkVpcOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AttachImageWatermarkInput(_SerdeShape): + """Dataclass for AttachImageWatermarkInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + watermark_name: str | None = ... + """ + The name for the watermark. Combined with the caller's account ID to + form the `WatermarkKey` (`accountId:watermarkName`). + + Constraints: 3-128 alphanumeric characters, parentheses (()), square + brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), + single quotes ('), at-signs (@), or underscores(_) + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AttachImageWatermarkOutput(_SerdeShape): + """Dataclass for AttachImageWatermarkOutput structure.""" + + watermark_key: str | None = ... + """ + The watermark identifier, in `accountId:watermarkName` format (for + example, `123456789012:approvedAmi`). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AttachInternetGatewayInput(_SerdeShape): + """Dataclass for AttachInternetGatewayInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + internet_gateway_id: str | None = ... + """The ID of the internet gateway.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class AttachInternetGatewayOutput(_SerdeShape): + """Dataclass for AttachInternetGatewayOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AttachmentEnaSrdSpecification(_SerdeShape): + """ + ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) + technology to increase the maximum bandwidth used per stream and + minimize tail latency of network traffic between EC2 instances. With ENA + Express, you can communicate between two EC2 instances in the same + subnet within the same account, or in different accounts. Both sending + and receiving instances must have ENA Express enabled. + + To improve the reliability of network packet delivery, ENA Express + reorders network packets on the receiving end by default. However, some + UDP-based applications are designed to handle network packets that are + out of order to reduce the overhead for packet delivery at the network + layer. When ENA Express is enabled, you can specify whether UDP network + traffic uses it. + """ + + ena_srd_enabled: bool | None = ... + """Indicates whether ENA Express is enabled for the network interface.""" + ena_srd_udp_specification: AttachmentEnaSrdUdpSpecification | None = ... + """Configures ENA Express for UDP network traffic.""" + +@dataclass(kw_only=True) +class AttachmentEnaSrdUdpSpecification(_SerdeShape): + """ + ENA Express is compatible with both TCP and UDP transport protocols. + When it's enabled, TCP traffic automatically uses it. However, some + UDP-based applications are designed to handle network packets that are + out of order, without a need for retransmission, such as live video + broadcasting or other near-real-time applications. For UDP traffic, you + can specify whether to use ENA Express, based on your application + environment needs. + """ + + ena_srd_udp_enabled: bool | None = ... + """ + Indicates whether UDP traffic to and from the instance uses ENA Express. + To specify this setting, you must first enable ENA Express. + """ + +class AttachmentLimitType(UnknownEnumMixin, StrEnum): + SHARED = "shared" + DEDICATED = "dedicated" + +class AttachmentStatus(UnknownEnumMixin, StrEnum): + ATTACHING = "attaching" + ATTACHED = "attached" + DETACHING = "detaching" + DETACHED = "detached" + +@dataclass(kw_only=True) +class AttachNetworkInterfaceInput(_SerdeShape): + """Contains the parameters for AttachNetworkInterface.""" + + network_card_index: int | None = ... + """ + The index of the network card. Some instance types support multiple + network cards. The primary network interface must be assigned to network + card index 0. The default is network card index 0. + """ + ena_srd_specification: EnaSrdSpecification | None = ... + """ + Configures ENA Express for the network interface that this action + attaches to the instance. + """ + ena_queue_count: int | None = ... + """The number of ENA queues to be created with the instance.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_interface_id: str | None = ... + """The ID of the network interface.""" + instance_id: str | None = ... + """The ID of the instance.""" + device_index: int | None = ... + """The index of the device for the network interface attachment.""" + +@dataclass(kw_only=True) +class AttachNetworkInterfaceOutput(_SerdeShape): + """Contains the output of AttachNetworkInterface.""" + + attachment_id: str | None = ... + """The ID of the network interface attachment.""" + network_card_index: int | None = ... + """The index of the network card.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AttachVerifiedAccessTrustProviderInput(_SerdeShape): + """Dataclass for AttachVerifiedAccessTrustProviderInput structure.""" + + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + verified_access_trust_provider_id: str | None = ... + """The ID of the Verified Access trust provider.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AttachVerifiedAccessTrustProviderOutput(_SerdeShape): + """Dataclass for AttachVerifiedAccessTrustProviderOutput structure.""" + + verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... + """Details about the Verified Access trust provider.""" + verified_access_instance: VerifiedAccessInstance | None = ... + """Details about the Verified Access instance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AttachVolumeInput(_SerdeShape): + """Dataclass for AttachVolumeInput structure.""" + + device: str | None = ... + """The device name (for example, `/dev/sdh` or `xvdh`).""" + instance_id: str | None = ... + """The ID of the instance.""" + volume_id: str | None = ... + """ + The ID of the EBS volume. The volume and instance must be within the + same Availability Zone. + """ + ebs_card_index: int | None = ... + """ + The index of the EBS card. Some instance types support multiple EBS + cards. The default EBS card index is 0. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AttachVolumeOutput(_SerdeShape): + """Describes volume attachment details.""" + + delete_on_termination: bool | None = ... + """Indicates whether the EBS volume is deleted on instance termination.""" + associated_resource: str | None = ... + """ + The ARN of the Amazon Web Services-managed resource to which the volume + is attached. + """ + instance_owning_service: str | None = ... + """ + The service principal of the Amazon Web Services service that owns the + underlying resource to which the volume is attached. + + This parameter is returned only for volumes that are attached to Amazon + Web Services-managed resources. + """ + ebs_card_index: int | None = ... + """ + The index of the EBS card. Some instance types support multiple EBS + cards. The default EBS card index is 0. + """ + volume_id: str | None = ... + """The ID of the volume.""" + instance_id: str | None = ... + """ + The ID of the instance. + + If the volume is attached to an Amazon Web Services-managed resource, + this parameter returns `null`. + """ + device: str | None = ... + """ + The device name. + + If the volume is attached to an Amazon Web Services-managed resource, + this parameter returns `null`. + """ + state: str | None = ... + """The attachment state of the volume.""" + attach_time: datetime | None = ... + """The time stamp when the attachment initiated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AttachVpnGatewayInput(_SerdeShape): + """Contains the parameters for AttachVpnGateway.""" + + vpc_id: str | None = ... + """The ID of the VPC.""" + vpn_gateway_id: str | None = ... + """The ID of the virtual private gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AttachVpnGatewayOutput(_SerdeShape): + """Contains the output of AttachVpnGateway.""" + + vpc_attachment: VpcAttachment | None = ... + """Information about the attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AttributeBooleanValue(_SerdeShape): + """Describes a value for a resource attribute that is a Boolean value.""" + + value: bool | None = ... + """The attribute value. The valid values are `true` or `false`.""" + +@dataclass(kw_only=True) +class AttributeSummary(_SerdeShape): + """A summary report for the attribute across all Regions.""" + + attribute_name: str | None = ... + """The name of the attribute.""" + most_frequent_value: str | None = ... + """ + The configuration value that is most frequently observed for the + attribute. + """ + number_of_matched_accounts: int | None = ... + """ + The number of accounts with the same configuration value for the + attribute that is most frequently observed. + """ + number_of_unmatched_accounts: int | None = ... + """ + The number of accounts with a configuration value different from the + most frequently observed value for the attribute. + """ + regional_summaries: list[RegionalSummary] | None = ... + """The summary report for each Region for the attribute.""" + +@dataclass(kw_only=True) +class AttributeValue(_SerdeShape): + """Describes a value for a resource attribute that is a String.""" + + value: str | None = ... + """The attribute value. The value is case-sensitive.""" + +@dataclass(kw_only=True) +class AuthorizationRule(_SerdeShape): + """Information about an authorization rule.""" + + client_vpn_endpoint_id: str | None = ... + """ + The ID of the Client VPN endpoint with which the authorization rule is + associated. + """ + description: str | None = ... + """A brief description of the authorization rule.""" + group_id: str | None = ... + """ + The ID of the Active Directory group to which the authorization rule + grants access. + """ + access_all: bool | None = ... + """Indicates whether the authorization rule grants access to all clients.""" + destination_cidr: str | None = ... + """ + The IPv4 address range, in CIDR notation, of the network to which the + authorization rule applies. + """ + status: ClientVpnAuthorizationRuleStatus | None = ... + """The current state of the authorization rule.""" + +@dataclass(kw_only=True) +class AuthorizeClientVpnIngressInput(_SerdeShape): + """Dataclass for AuthorizeClientVpnIngressInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + target_network_cidr: str | None = ... + """ + The IPv4 address range, in CIDR notation, of the network for which + access is being authorized. + """ + access_group_id: str | None = ... + """ + The ID of the group to grant access to, for example, the Active + Directory group or identity provider (IdP) group. Required if + `AuthorizeAllGroups` is `false` or not specified. + """ + authorize_all_groups: bool | None = ... + """ + Indicates whether to grant access to all clients. Specify `true` to + grant all clients who successfully establish a VPN connection access to + the network. Must be set to `true` if `AccessGroupId` is not specified. + """ + description: str | None = ... + """A brief description of the authorization rule.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AuthorizeClientVpnIngressOutput(_SerdeShape): + """Dataclass for AuthorizeClientVpnIngressOutput structure.""" + + status: ClientVpnAuthorizationRuleStatus | None = ... + """The current state of the authorization rule.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AuthorizeSecurityGroupEgressInput(_SerdeShape): + """Dataclass for AuthorizeSecurityGroupEgressInput structure.""" + + tag_specifications: list[TagSpecification] | None = ... + """The tags applied to the security group rule.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + group_id: str | None = ... + """The ID of the security group.""" + source_security_group_name: str | None = ... + """Not supported. Use IP permissions instead.""" + source_security_group_owner_id: str | None = ... + """Not supported. Use IP permissions instead.""" + ip_protocol: str | None = ... + """Not supported. Use IP permissions instead.""" + from_port: int | None = ... + """Not supported. Use IP permissions instead.""" + to_port: int | None = ... + """Not supported. Use IP permissions instead.""" + cidr_ip: str | None = ... + """Not supported. Use IP permissions instead.""" + ip_permissions: list[IpPermission] | None = ... + """The permissions for the security group rules.""" + +@dataclass(kw_only=True) +class AuthorizeSecurityGroupEgressOutput(_SerdeShape): + """Dataclass for AuthorizeSecurityGroupEgressOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + security_group_rules: list[SecurityGroupRule] | None = ... + """ + Information about the outbound (egress) security group rules that were + added. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AuthorizeSecurityGroupIngressInput(_SerdeShape): + """Dataclass for AuthorizeSecurityGroupIngressInput structure.""" + + cidr_ip: str | None = ... + """ + The IPv4 address range, in CIDR format. + + Note: + Amazon Web Services + [canonicalizes](https://en.wikipedia.org/wiki/Canonicalization) IPv4 and + IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR + block, Amazon Web Services canonicalizes the CIDR block to + 100.68.0.0/18. Any subsequent DescribeSecurityGroups and + DescribeSecurityGroupRules calls will return the canonicalized form of + the CIDR block. Additionally, if you attempt to add another rule with + the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is + already a rule for the canonicalized form of the CIDR block (such as + 100.68.0.0/18), the API throws an duplicate rule error. + + To specify an IPv6 address range, use IP permissions instead. + + To specify multiple rules and descriptions for the rules, use IP + permissions instead. + """ + from_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the start of the port range. If + the protocol is ICMP, this is the ICMP type or -1 (all ICMP types). + + To specify multiple rules and descriptions for the rules, use IP + permissions instead. + """ + group_id: str | None = ... + """The ID of the security group.""" + group_name: str | None = ... + """ + [Default VPC] The name of the security group. For security groups for + a default VPC you can specify either the ID or the name of the security + group. For security groups for a nondefault VPC, you must specify the ID + of the security group. + """ + ip_permissions: list[IpPermission] | None = ... + """The permissions for the security group rules.""" + ip_protocol: str | None = ... + """ + The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol + Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). + To specify all protocols, use `-1`. + + To specify `icmpv6`, use IP permissions instead. + + If you specify a protocol other than one of the supported values, + traffic is allowed on all ports, regardless of any ports that you + specify. + + To specify multiple rules and descriptions for the rules, use IP + permissions instead. + """ + source_security_group_name: str | None = ... + """ + [Default VPC] The name of the source security group. + + The rule grants full ICMP, UDP, and TCP access. To create a rule with a + specific protocol and port range, specify a set of IP permissions + instead. + """ + source_security_group_owner_id: str | None = ... + """ + The Amazon Web Services account ID for the source security group, if the + source security group is in a different account. + + The rule grants full ICMP, UDP, and TCP access. To create a rule with a + specific protocol and port range, use IP permissions instead. + """ + to_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the end of the port range. If the + protocol is ICMP, this is the ICMP code or -1 (all ICMP codes). If the + start port is -1 (all ICMP types), then the end port must be -1 (all + ICMP codes). + + To specify multiple rules and descriptions for the rules, use IP + permissions instead. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags applied to the security group rule.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class AuthorizeSecurityGroupIngressOutput(_SerdeShape): + """Dataclass for AuthorizeSecurityGroupIngressOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + security_group_rules: list[SecurityGroupRule] | None = ... + """ + Information about the inbound (ingress) security group rules that were + added. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AutoAcceptSharedAssociationsValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class AutoAcceptSharedAttachmentsValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class AutoPlacement(UnknownEnumMixin, StrEnum): + ON = "on" + OFF = "off" + +class AutoProvisionZonesState(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +class AutoScalingIpsState(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +class AvailabilityMode(UnknownEnumMixin, StrEnum): + ZONAL = "zonal" + REGIONAL = "regional" + +@dataclass(kw_only=True) +class AvailabilityZone(_SerdeShape): + """Describes Availability Zones, Local Zones, and Wavelength Zones.""" + + opt_in_status: str | None = ... + """ + For Availability Zones, this parameter always has the value of + `opt-in-not-required`. + + For Local Zones and Wavelength Zones, this parameter is the opt-in + status. The possible values are `opted-in` and `not-opted-in`. + """ + messages: list[AvailabilityZoneMessage] | None = ... + """ + Any messages about the Availability Zone, Local Zone, or Wavelength + Zone. + """ + region_name: str | None = ... + """The name of the Region.""" + zone_name: str | None = ... + """The name of the Availability Zone, Local Zone, or Wavelength Zone.""" + zone_id: str | None = ... + """The ID of the Availability Zone, Local Zone, or Wavelength Zone.""" + group_name: str | None = ... + """ + The name of the zone group. For example: + + - Availability Zones - `us-east-1-zg-1` + + - Local Zones - `us-west-2-lax-1` + + - Wavelength Zones - `us-east-1-wl1-bos-wlz-1` + """ + network_border_group: str | None = ... + """The name of the network border group.""" + zone_type: str | None = ... + """ + The type of zone. + + Valid values: `availability-zone` | `local-zone` | `wavelength-zone` + """ + parent_zone_name: str | None = ... + """ + The name of the zone that handles some of the Local Zone or Wavelength + Zone control plane operations, such as API calls. + """ + parent_zone_id: str | None = ... + """ + The ID of the zone that handles some of the Local Zone or Wavelength + Zone control plane operations, such as API calls. + """ + group_long_name: str | None = ... + """ + The long name of the Availability Zone group, Local Zone group, or + Wavelength Zone group. + """ + geography: list[AvailabilityZoneGeography] | None = ... + """ + The geography information for the Availability Zone or Local Zone. The + geography is returned as a list. + """ + sub_geography: list[AvailabilityZoneSubGeography] | None = ... + """ + The sub-geography information for the Availability Zone or Local Zone. + The sub-geography is returned as a list. + """ + state: str | None = ... + """ + The state of the Availability Zone, Local Zone, or Wavelength Zone. The + possible values are `available`, `unavailable`, and `constrained`. + """ + +@dataclass(kw_only=True) +class AvailabilityZoneAddress(_SerdeShape): + """ + For regional NAT gateways only: The configuration specifying which + Elastic IP address (EIP) to use for handling outbound NAT traffic from a + specific Availability Zone. + + A regional NAT gateway is a single NAT Gateway that works across + multiple availability zones (AZs) in your VPC, providing redundancy, + scalability and availability across all the AZs in a Region. + + For more information, see [Regional NAT gateways for automatic multi-AZ + expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) + in the *Amazon VPC User Guide*. + """ + + availability_zone: str | None = ... + """ + For regional NAT gateways only: The Availability Zone where this + specific NAT gateway configuration will be active. Each AZ in a regional + NAT gateway has its own configuration to handle outbound NAT traffic + from that AZ. + + A regional NAT gateway is a single NAT Gateway that works across + multiple availability zones (AZs) in your VPC, providing redundancy, + scalability and availability across all the AZs in a Region. + """ + availability_zone_id: str | None = ... + """ + For regional NAT gateways only: The ID of the Availability Zone where + this specific NAT gateway configuration will be active. Each AZ in a + regional NAT gateway has its own configuration to handle outbound NAT + traffic from that AZ. Use this instead of AvailabilityZone for + consistent identification of AZs across Amazon Web Services Regions. + + A regional NAT gateway is a single NAT Gateway that works across + multiple availability zones (AZs) in your VPC, providing redundancy, + scalability and availability across all the AZs in a Region. + """ + allocation_ids: list[str] | None = ... + """ + The allocation IDs of the Elastic IP addresses (EIPs) to be used for + handling outbound NAT traffic in this specific Availability Zone. + """ + +@dataclass(kw_only=True) +class AvailabilityZoneGeography(_SerdeShape): + """ + Describes the geography information for an Availability Zone or Local + Zone. + """ + + name: str | None = ... + """The name of the geography, for example, `United States of America`.""" + +@dataclass(kw_only=True) +class AvailabilityZoneMessage(_SerdeShape): + """ + Describes a message about an Availability Zone, Local Zone, or + Wavelength Zone. + """ + + message: str | None = ... + """The message about the Availability Zone, Local Zone, or Wavelength Zone.""" + +class AvailabilityZoneOptInStatus(UnknownEnumMixin, StrEnum): + OPT_IN_NOT_REQUIRED = "opt-in-not-required" + OPTED_IN = "opted-in" + NOT_OPTED_IN = "not-opted-in" + +class AvailabilityZoneState(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + INFORMATION = "information" + IMPAIRED = "impaired" + UNAVAILABLE = "unavailable" + CONSTRAINED = "constrained" + +@dataclass(kw_only=True) +class AvailabilityZoneSubGeography(_SerdeShape): + """ + Describes the sub-geography information for an Availability Zone or + Local Zone. + """ + + name: str | None = ... + """The name of the sub-geography, for example, `Oregon.`""" + +@dataclass(kw_only=True) +class AvailableCapacity(_SerdeShape): + """ + The capacity information for instances that can be launched onto the + Dedicated Host. + """ + + available_instance_capacity: list[InstanceCapacity] | None = ... + """ + The number of instances that can be launched onto the Dedicated Host + depending on the host's available capacity. For Dedicated Hosts that + support multiple instance types, this parameter represents the number of + instances for each instance size that is supported on the host. + """ + available_v_cpus: int | None = ... + """ + The number of vCPUs available for launching instances onto the Dedicated + Host. + """ + +class BandwidthWeightingType(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + VPC_1 = "vpc-1" + EBS_1 = "ebs-1" + +class BareMetal(UnknownEnumMixin, StrEnum): + INCLUDED = "included" + REQUIRED = "required" + EXCLUDED = "excluded" + +@dataclass(kw_only=True) +class BaselineEbsBandwidthMbps(_SerdeShape): + """ + The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For + more information, see [Amazon EBS--optimized + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) + in the *Amazon EC2 User Guide*. + """ + + min: int | None = ... + """ + The minimum baseline bandwidth, in Mbps. If this parameter is not + specified, there is no minimum limit. + """ + max: int | None = ... + """ + The maximum baseline bandwidth, in Mbps. If this parameter is not + specified, there is no maximum limit. + """ + +@dataclass(kw_only=True) +class BaselineEbsBandwidthMbpsRequest(_SerdeShape): + """ + The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For + more information, see [Amazon EBS--optimized + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) + in the *Amazon EC2 User Guide*. + """ + + min: int | None = ... + """ + The minimum baseline bandwidth, in Mbps. To specify no minimum limit, + omit this parameter. + """ + max: int | None = ... + """ + The maximum baseline bandwidth, in Mbps. To specify no maximum limit, + omit this parameter. + """ + +@dataclass(kw_only=True) +class BaselinePerformanceFactors(_SerdeShape): + """ + The baseline performance to consider, using an instance family as a + baseline reference. The instance family establishes the lowest + acceptable level of performance. Amazon EC2 uses this baseline to guide + instance type selection, but there is no guarantee that the selected + instance types will always exceed the baseline for every application. + + Currently, this parameter only supports CPU performance as a baseline + performance factor. For example, specifying `c6i` would use the CPU + performance of the `c6i` family as the baseline reference. + """ + + cpu: CpuPerformanceFactor | None = ... + """ + The CPU performance to consider, using an instance family as the + baseline reference. + """ + +@dataclass(kw_only=True) +class BaselinePerformanceFactorsRequest(_SerdeShape): + """ + The baseline performance to consider, using an instance family as a + baseline reference. The instance family establishes the lowest + acceptable level of performance. Amazon EC2 uses this baseline to guide + instance type selection, but there is no guarantee that the selected + instance types will always exceed the baseline for every application. + + Currently, this parameter only supports CPU performance as a baseline + performance factor. For example, specifying `c6i` would use the CPU + performance of the `c6i` family as the baseline reference. + """ + + cpu: CpuPerformanceFactorRequest | None = ... + """ + The CPU performance to consider, using an instance family as the + baseline reference. + """ + +@dataclass(kw_only=True) +class BatchModifyIpamRoutingPolicyRegistrationsInput(_SerdeShape): + """Dataclass for BatchModifyIpamRoutingPolicyRegistrationsInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association.""" + delta_json: str | None = ... + """The batch modifications to apply, in JSON format.""" + force: bool | None = ... + """ + Forces the batch modification even if individual changes conflict with + announced routes. Default: `false`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, the operation ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class BatchModifyIpamRoutingPolicyRegistrationsOutput(_SerdeShape): + """Dataclass for BatchModifyIpamRoutingPolicyRegistrationsOutput structure.""" + + ipam_routing_policy_registration_delta: ( + IpamRoutingPolicyRegistrationDelta | None + ) = ... + """ + Information about the routing policy registration delta created by this + batch operation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class BatchState(UnknownEnumMixin, StrEnum): + SUBMITTED = "submitted" + ACTIVE = "active" + CANCELLED = "cancelled" + FAILED = "failed" + CANCELLED_RUNNING = "cancelled_running" + CANCELLED_TERMINATING_INSTANCES = "cancelled_terminating" + MODIFYING = "modifying" + +class BgpStatus(UnknownEnumMixin, StrEnum): + UP = "up" + DOWN = "down" + +@dataclass(kw_only=True) +class BlockDeviceMapping(_SerdeShape): + """ + Describes a block device mapping, which defines the EBS volumes and + instance store volumes to attach to an instance at launch. + """ + + ebs: EbsBlockDevice | None = ... + """ + Parameters used to automatically set up EBS volumes when the instance is + launched. + """ + no_device: str | None = ... + """ + To omit the device from the block device mapping, specify an empty + string. When this property is specified, the device is removed from the + block device mapping regardless of the assigned value. + """ + device_name: str | None = ... + """ + The device name. For available device names, see [Device names for + volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html). + """ + virtual_name: str | None = ... + """ + The virtual device name (`ephemeral`N). Instance store volumes are + numbered starting from 0. An instance type with 2 available instance + store volumes can specify mappings for `ephemeral0` and `ephemeral1`. + The number of available instance store volumes depends on the instance + type. After you connect to the instance, you must mount the volume. + + NVMe instance store volumes are automatically enumerated and assigned a + device name. Including them in your block device mapping has no effect. + + Constraints: For M3 instances, you must specify instance store volumes + in the block device mapping for the instance. When you launch an M3 + instance, we ignore any instance store volumes specified in the block + device mapping for the AMI. + """ + +@dataclass(kw_only=True) +class BlockDeviceMappingResponse(_SerdeShape): + """ + Describes a block device mapping, which defines the EBS volumes and + instance store volumes to attach to an instance at launch. + """ + + device_name: str | None = ... + """The device name (for example, `/dev/sdh` or `xvdh`).""" + virtual_name: str | None = ... + """The virtual device name.""" + ebs: EbsBlockDeviceResponse | None = ... + """ + Parameters used to automatically set up EBS volumes when the instance is + launched. + """ + no_device: str | None = ... + """Suppresses the specified device included in the block device mapping.""" + +class BlockPublicAccessMode(UnknownEnumMixin, StrEnum): + OFF = "off" + BLOCK_BIDIRECTIONAL = "block-bidirectional" + BLOCK_INGRESS = "block-ingress" + +@dataclass(kw_only=True) +class BlockPublicAccessStates(_SerdeShape): + """The state of VPC Block Public Access (BPA).""" + + internet_gateway_block_mode: str | None = ... + """ + The mode of VPC BPA. + + - `off`: VPC BPA is not enabled and traffic is allowed to and from + internet gateways and egress-only internet gateways in this Region. + + - `block-bidirectional`: Block all traffic to and from internet gateways + and egress-only internet gateways in this Region (except for excluded + VPCs and subnets). + + - `block-ingress`: Block all internet traffic to the VPCs in this Region + (except for VPCs or subnets which are excluded). Only traffic to and + from NAT gateways and egress-only internet gateways is allowed because + these gateways only allow outbound connections to be established. + """ + +class BootModeOverrideValues(UnknownEnumMixin, StrEnum): + UEFI = "uefi" + +class BootModeType(UnknownEnumMixin, StrEnum): + LEGACY_BIOS = "legacy-bios" + UEFI = "uefi" + +class BootModeValues(UnknownEnumMixin, StrEnum): + LEGACY_BIOS = "legacy-bios" + UEFI = "uefi" + UEFI_PREFERRED = "uefi-preferred" + +@dataclass(kw_only=True) +class BundleInstanceInput(_SerdeShape): + """Contains the parameters for BundleInstance.""" + + instance_id: str | None = ... + """ + The ID of the instance to bundle. + + Default: None + """ + storage: Storage | None = ... + """ + The bucket in which to store the AMI. You can specify a bucket that you + already own or a new bucket that Amazon EC2 creates on your behalf. If + you specify a bucket that belongs to someone else, Amazon EC2 returns an + error. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class BundleInstanceOutput(_SerdeShape): + """Contains the output of BundleInstance.""" + + bundle_task: BundleTask | None = ... + """Information about the bundle task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BundleTask(_SerdeShape): + """Describes a bundle task.""" + + instance_id: str | None = ... + """The ID of the instance associated with this bundle task.""" + bundle_id: str | None = ... + """The ID of the bundle task.""" + state: str | None = ... + """The state of the task.""" + start_time: datetime | None = ... + """The time this task started.""" + update_time: datetime | None = ... + """The time of the most recent update for the task.""" + storage: Storage | None = ... + """The Amazon S3 storage locations.""" + progress: str | None = ... + """The level of task completion, as a percent (for example, 20%).""" + bundle_task_error: BundleTaskError | None = ... + """If the task fails, a description of the error.""" + +@dataclass(kw_only=True) +class BundleTaskError(_SerdeShape): + """Describes an error for BundleInstance.""" + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The error message.""" + +class BundleTaskState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + WAITING_FOR_SHUTDOWN = "waiting-for-shutdown" + BUNDLING = "bundling" + STORING = "storing" + CANCELLING = "cancelling" + COMPLETE = "complete" + FAILED = "failed" + +class BurstablePerformance(UnknownEnumMixin, StrEnum): + INCLUDED = "included" + REQUIRED = "required" + EXCLUDED = "excluded" + +@dataclass(kw_only=True) +class Byoasn(_SerdeShape): + """The Autonomous System Number (ASN) and BYOIP CIDR association.""" + + asn: str | None = ... + """A public 2-byte or 4-byte ASN.""" + ipam_id: str | None = ... + """An IPAM ID.""" + status_message: str | None = ... + """The status message.""" + state: str | None = ... + """The provisioning state of the BYOASN.""" + +@dataclass(kw_only=True) +class ByoipCidr(_SerdeShape): + """ + Information about an address range that is provisioned for use with your + Amazon Web Services resources through bring your own IP addresses + (BYOIP). + """ + + cidr: str | None = ... + """The address range, in CIDR notation.""" + description: str | None = ... + """The description of the address range.""" + asn_associations: list[AsnAssociation] | None = ... + """The BYOIP CIDR associations with ASNs.""" + status_message: str | None = ... + """ + Upon success, contains the ID of the address pool. Otherwise, contains + an error message. + """ + state: str | None = ... + """ + The state of the address range. + + - `advertised`: The address range is being advertised to the internet by + Amazon Web Services. + + - `deprovisioned`: The address range is deprovisioned. + + - `failed-deprovision`: The request to deprovision the address range was + unsuccessful. Ensure that all EIPs from the range have been + deallocated and try again. + + - `failed-provision`: The request to provision the address range was + unsuccessful. + + - `pending-deprovision`: You've submitted a request to deprovision an + address range and it's pending. + + - `pending-provision`: You've submitted a request to provision an + address range and it's pending. + + - `provisioned`: The address range is provisioned and can be advertised. + The range is not currently advertised. + + - `provisioned-not-publicly-advertisable`: The address range is + provisioned and cannot be advertised. + """ + network_border_group: str | None = ... + """ + If you have [Local + Zones](https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html) + enabled, you can choose a network border group for Local Zones when you + provision and advertise a BYOIPv4 CIDR. Choose the network border group + carefully as the EIP and the Amazon Web Services resource it is + associated with must reside in the same network border group. + + You can provision BYOIP address ranges to and advertise them in the + following Local Zone network border groups: + + - us-east-1-dfw-2 + + - us-west-2-lax-1 + + - us-west-2-phx-2 + + Note: + You cannot provision or advertise BYOIPv6 address ranges in Local Zones + at this time. + """ + advertisement_type: str | None = ... + """ + Specifies the advertisement method for the BYOIP CIDR. Valid values are: + + - `unicast`: IP is advertised from a single location (regional services + like EC2) + + - `anycast`: IP is advertised from multiple global locations + simultaneously (global services like CloudFront) + + For more information, see [Bring your own IP to CloudFront using + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoip-cloudfront.html) + in the *Amazon VPC IPAM User Guide*. + """ + pool_id: str | None = ... + """The ID of the address pool associated with the CIDR.""" + ipam_pool_id: str | None = ... + """The ID of the IPAM pool associated with the CIDR.""" + +class ByoipCidrState(UnknownEnumMixin, StrEnum): + ADVERTISED = "advertised" + DEPROVISIONED = "deprovisioned" + FAILED_DEPROVISION = "failed-deprovision" + FAILED_PROVISION = "failed-provision" + PENDING_ADVERTISING = "pending-advertising" + PENDING_DEPROVISION = "pending-deprovision" + PENDING_PROVISION = "pending-provision" + PENDING_WITHDRAWAL = "pending-withdrawal" + PROVISIONED = "provisioned" + PROVISIONED_NOT_PUBLICLY_ADVERTISABLE = "provisioned-not-publicly-advertisable" + +class CallerRole(UnknownEnumMixin, StrEnum): + ODCR_OWNER = "odcr-owner" + UNUSED_RESERVATION_BILLING_OWNER = "unused-reservation-billing-owner" + +class CancelBatchErrorCode(UnknownEnumMixin, StrEnum): + FLEET_REQUEST_ID_DOES_NOT_EXIST = "fleetRequestIdDoesNotExist" + FLEET_REQUEST_ID_MALFORMED = "fleetRequestIdMalformed" + FLEET_REQUEST_NOT_IN_CANCELLABLE_STATE = "fleetRequestNotInCancellableState" + UNEXPECTED_ERROR = "unexpectedError" + +@dataclass(kw_only=True) +class CancelBundleTaskInput(_SerdeShape): + """Contains the parameters for CancelBundleTask.""" + + bundle_id: str | None = ... + """The ID of the bundle task.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CancelBundleTaskOutput(_SerdeShape): + """Contains the output of CancelBundleTask.""" + + bundle_task: BundleTask | None = ... + """Information about the bundle task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelCapacityReservationFleetError(_SerdeShape): + """Describes a Capacity Reservation Fleet cancellation error.""" + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The error message.""" + +@dataclass(kw_only=True) +class CancelCapacityReservationFleetsInput(_SerdeShape): + """Dataclass for CancelCapacityReservationFleetsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + capacity_reservation_fleet_ids: list[str] | None = ... + """The IDs of the Capacity Reservation Fleets to cancel.""" + +@dataclass(kw_only=True) +class CancelCapacityReservationFleetsOutput(_SerdeShape): + """Dataclass for CancelCapacityReservationFleetsOutput structure.""" + + successful_fleet_cancellations: ( + list[CapacityReservationFleetCancellationState] | None + ) = ... + """ + Information about the Capacity Reservation Fleets that were successfully + cancelled. + """ + failed_fleet_cancellations: ( + list[FailedCapacityReservationFleetCancellationResult] | None + ) = ... + """ + Information about the Capacity Reservation Fleets that could not be + cancelled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelCapacityReservationInput(_SerdeShape): + """Dataclass for CancelCapacityReservationInput structure.""" + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation to be cancelled.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + apply_cancellation_charges: str | None = ... + """ + Specifies the cancellation charge type to apply when cancelling a + future-dated Capacity Reservation during its commitment duration. + Possible values include `commitment-wind-down`, which continues billing + for the remaining commitment duration without delivering capacity. + """ + quote_id: str | None = ... + """ + The ID of the cancellation quote to use for the cancellation. You can + generate a cancellation quote by using the + `CreateCapacityReservationCancellationQuote` action. The cancellation + quote must be in an `active` state. + """ + +@dataclass(kw_only=True) +class CancelCapacityReservationOutput(_SerdeShape): + """Dataclass for CancelCapacityReservationOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelConversionTaskInput(_SerdeShape): + """Dataclass for CancelConversionTaskInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + conversion_task_id: str | None = ... + """The ID of the conversion task.""" + reason_message: str | None = ... + """The reason for canceling the conversion task.""" + +@dataclass(kw_only=True) +class CancelConversionTaskOutput(_SerdeShape): + """Dataclass for CancelConversionTaskOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelDeclarativePoliciesReportInput(_SerdeShape): + """Dataclass for CancelDeclarativePoliciesReportInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + report_id: str | None = ... + """The ID of the report.""" + +@dataclass(kw_only=True) +class CancelDeclarativePoliciesReportOutput(_SerdeShape): + """Dataclass for CancelDeclarativePoliciesReportOutput structure.""" + + return_: bool | None = ... + """Is `true` if the request succeeds, and an error otherwise.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelExportTaskInput(_SerdeShape): + """Dataclass for CancelExportTaskInput structure.""" + + export_task_id: str | None = ... + """ + The ID of the export task. This is the ID returned by the + `CreateInstanceExportTask` and `ExportImage` operations. + """ + +@dataclass(kw_only=True) +class CancelExportTaskOutput(_SerdeShape): + """Dataclass for CancelExportTaskOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelImageLaunchPermissionInput(_SerdeShape): + """Dataclass for CancelImageLaunchPermissionInput structure.""" + + image_id: str | None = ... + """The ID of the AMI that was shared with your Amazon Web Services account.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CancelImageLaunchPermissionOutput(_SerdeShape): + """Dataclass for CancelImageLaunchPermissionOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelImportTaskInput(_SerdeShape): + """Dataclass for CancelImportTaskInput structure.""" + + cancel_reason: str | None = ... + """The reason for canceling the task.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + import_task_id: str | None = ... + """The ID of the import image or import snapshot task to be canceled.""" + +@dataclass(kw_only=True) +class CancelImportTaskOutput(_SerdeShape): + """Dataclass for CancelImportTaskOutput structure.""" + + import_task_id: str | None = ... + """The ID of the task being canceled.""" + previous_state: str | None = ... + """The current state of the task being canceled.""" + state: str | None = ... + """The current state of the task being canceled.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancellationTerms(_SerdeShape): + """ + Describes the cancellation terms for cancelling a future-dated Capacity + Reservation during its commitment duration. + """ + + cancellation_type: str | None = ... + """ + The type of cancellation charge. Possible values include + `commitment-wind-down`. + """ + reservation_state: str | None = ... + """ + The state that the Capacity Reservation will transition to after + cancellation. + """ + committed_instance_count: int | None = ... + """The number of instances under commitment after cancellation.""" + charge_commitment_duration_hours: int | None = ... + """The number of hours for which cancellation charges will apply.""" + charge_end_date: datetime | None = ... + """The date and time at which cancellation charges will stop.""" + +@dataclass(kw_only=True) +class CancelledSpotInstanceRequest(_SerdeShape): + """Describes a request to cancel a Spot Instance.""" + + spot_instance_request_id: str | None = ... + """The ID of the Spot Instance request.""" + state: str | None = ... + """The state of the Spot Instance request.""" + +@dataclass(kw_only=True) +class CancelReservedInstancesListingInput(_SerdeShape): + """Contains the parameters for CancelReservedInstancesListing.""" + + reserved_instances_listing_id: str | None = ... + """The ID of the Reserved Instance listing.""" + +@dataclass(kw_only=True) +class CancelReservedInstancesListingOutput(_SerdeShape): + """Contains the output of CancelReservedInstancesListing.""" + + reserved_instances_listings: list[ReservedInstancesListing] | None = ... + """The Reserved Instance listing.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelSpotFleetRequestsError(_SerdeShape): + """Describes a Spot Fleet error.""" + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The description for the error code.""" + +@dataclass(kw_only=True) +class CancelSpotFleetRequestsErrorItem(_SerdeShape): + """Describes a Spot Fleet request that was not successfully canceled.""" + + error: CancelSpotFleetRequestsError | None = ... + """The error.""" + spot_fleet_request_id: str | None = ... + """The ID of the Spot Fleet request.""" + +@dataclass(kw_only=True) +class CancelSpotFleetRequestsInput(_SerdeShape): + """Contains the parameters for CancelSpotFleetRequests.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + spot_fleet_request_ids: list[str] | None = ... + """ + The IDs of the Spot Fleet requests. + + Constraint: You can specify up to 100 IDs in a single request. + """ + terminate_instances: bool | None = ... + """ + Indicates whether to terminate the associated instances when the Spot + Fleet request is canceled. The default is to terminate the instances. + + To let the instances continue to run after the Spot Fleet request is + canceled, specify `no-terminate-instances`. + """ + +@dataclass(kw_only=True) +class CancelSpotFleetRequestsOutput(_SerdeShape): + """Contains the output of CancelSpotFleetRequests.""" + + successful_fleet_requests: list[CancelSpotFleetRequestsSuccessItem] | None = ... + """ + Information about the Spot Fleet requests that are successfully + canceled. + """ + unsuccessful_fleet_requests: list[CancelSpotFleetRequestsErrorItem] | None = ... + """ + Information about the Spot Fleet requests that are not successfully + canceled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelSpotFleetRequestsSuccessItem(_SerdeShape): + """Describes a Spot Fleet request that was successfully canceled.""" + + current_spot_fleet_request_state: str | None = ... + """The current state of the Spot Fleet request.""" + previous_spot_fleet_request_state: str | None = ... + """The previous state of the Spot Fleet request.""" + spot_fleet_request_id: str | None = ... + """The ID of the Spot Fleet request.""" + +@dataclass(kw_only=True) +class CancelSpotInstanceRequestsInput(_SerdeShape): + """Contains the parameters for CancelSpotInstanceRequests.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + spot_instance_request_ids: list[str] | None = ... + """The IDs of the Spot Instance requests.""" + +@dataclass(kw_only=True) +class CancelSpotInstanceRequestsOutput(_SerdeShape): + """Contains the output of CancelSpotInstanceRequests.""" + + cancelled_spot_instance_requests: list[CancelledSpotInstanceRequest] | None = ... + """The Spot Instance requests.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CancelSpotInstanceRequestState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + OPEN = "open" + CLOSED = "closed" + CANCELLED = "cancelled" + COMPLETED = "completed" diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_1.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_1.pyi new file mode 100644 index 000000000..6567380dc --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_1.pyi @@ -0,0 +1,7469 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccessScopePathRequest, + AddIpamOperatingRegion, + AddPrefixListEntry, + ApplicationStatusCheckResponseObject, + AssociatedTargetNetwork, + AvailabilityZoneAddress, + BlockDeviceMapping, + CancellationTerms, + CustomerGateway, + DestinationOptionsRequest, + DevicePostureOptions, + DevicePostureResponseOptions, + DhcpOptions, + DimensionCondition, + DirectoryServiceAuthentication, + DirectoryServiceAuthenticationRequest, + Ec2InstanceConnectEndpoint, + EgressOnlyInternetGateway, + ExportTask, + ExportToS3TaskSpecification, + ExternalAuthorityConfiguration, + FederatedAuthentication, + FederatedAuthenticationRequest, + FleetCapacityReservation, + FleetLaunchTemplateConfigRequest, + GroupIdentifier, + HealthCheckPathRequestObject, + IcmpTypeCode, + ImageUsageResourceTypeRequest, + ImportInstanceTaskDetails, + ImportVolumeTaskDetails, + InstanceEventWindow, + InstanceEventWindowTimeRangeRequest, + InstanceIpv6Address, + InstanceRequirementsRequest, + InternetGateway, + InterruptibleCapacityAllocation, + InterruptionInfo, + Ipam, + IpamExternalResourceVerificationToken, + IpamInternetRegistryAssociation, + IpamPolicy, + IpamPool, + IpamPoolSourceResourceRequest, + IpamPrefixListResolver, + IpamPrefixListResolverRuleRequest, + IpamPrefixListResolverTarget, + IpamResourceDiscovery, + IpamRoutingPolicyRegistrationDelta, + IpamScope, + Ipv4PrefixSpecificationRequest, + Ipv6PrefixSpecificationRequest, + LaunchTemplate, + LaunchTemplateAndOverridesResponse, + LaunchTemplateVersion, + LocalGatewayRoute, + LocalGatewayRouteTable, + LocalGatewayRouteTableVirtualInterfaceGroupAssociation, + LocalGatewayRouteTableVpcAssociation, + LocalGatewayVirtualInterface, + LocalGatewayVirtualInterfaceGroup, + MacModificationTask, + MacSystemIntegrityProtectionConfigurationRequest, + ManagedPrefixList, + ModificationQuoteCurrentConfiguration, + ModificationTerms, + NatGateway, + NetworkAcl, + NetworkInsightsAccessScope, + NetworkInsightsAccessScopeContent, + NetworkInsightsPath, + NetworkInterface, + NetworkInterfacePermission, + NewDhcpConfiguration, + OnDemandOptionsRequest, + OperatorRequest, + PathRequestFilter, + PerformanceFactorReference, + PerformanceFactorReferenceRequest, + PlacementGroup, + PortRange, + PriceScheduleSpecification, + PrivateIpAddressSpecification, + ReplaceRootVolumeTask, + RequestIpamResourceTag, + RequestLaunchTemplateData, + ReservationFleetInstanceSpecification, + ReservedCapacityOptionsRequest, + ReservedInstancesListing, + SpotOptionsRequest, + StorageLocation, + Subnet, + Tag, + TagFieldSpecificationRequest, + TagSpecification, + TargetCapacitySpecificationRequest, + TransitGatewayConfigurationDescribeEndpointStructure, + TransitGatewayConfigurationInputStructure, + UnsuccessfulItem, + ValidationWarning, + Volume, + Vpc, + _SerdeShape, +) + +@dataclass(kw_only=True) +class CapacityAllocation(_SerdeShape): + """Information about instance capacity usage for a Capacity Reservation.""" + + allocation_type: str | None = ... + """ + The usage type. `used` indicates that the instance capacity is in use by + instances that are running in the Capacity Reservation. + """ + count: int | None = ... + """ + The amount of instance capacity associated with the usage. For example a + value of `4` indicates that instance capacity for 4 instances is + currently in use. + """ + allocation_metadata: list[CapacityAllocationMetadataEntry] | None = ... + """ + Additional metadata associated with the capacity allocation. Each entry + contains a key-value pair providing context about the allocation. + """ + +@dataclass(kw_only=True) +class CapacityAllocationMetadataEntry(_SerdeShape): + """ + A key-value pair that provides additional metadata about a capacity + allocation. + """ + + key: str | None = ... + """The key of the metadata entry.""" + value: str | None = ... + """The value of the metadata entry.""" + +@dataclass(kw_only=True) +class CapacityBlock(_SerdeShape): + """ + Reserve powerful GPU instances on a future date to support your short + duration machine learning (ML) workloads. Instances that run inside a + Capacity Block are automatically placed close together inside [Amazon + EC2 UltraClusters](http://aws.amazon.com/ec2/ultraclusters/), for + low-latency, petabit-scale, non-blocking networking. + + You can also reserve Amazon EC2 UltraServers. UltraServers connect + multiple EC2 instances using a low-latency, high-bandwidth accelerator + interconnect (NeuronLink). They are built to tackle very large-scale + AI/ML workloads that require significant processing power. For more + information, see Amazon EC2 UltraServers. + """ + + capacity_block_id: str | None = ... + """The ID of the Capacity Block.""" + ultraserver_type: str | None = ... + """The EC2 UltraServer type of the Capacity Block.""" + availability_zone: str | None = ... + """The Availability Zone of the Capacity Block.""" + availability_zone_id: str | None = ... + """The Availability Zone ID of the Capacity Block.""" + capacity_reservation_ids: list[str] | None = ... + """The ID of the Capacity Reservation.""" + start_date: datetime | None = ... + """The date and time at which the Capacity Block was started.""" + end_date: datetime | None = ... + """ + The date and time at which the Capacity Block expires. When a Capacity + Block expires, all instances in the Capacity Block are terminated. + """ + create_date: datetime | None = ... + """The date and time at which the Capacity Block was created.""" + state: str | None = ... + """The state of the Capacity Block.""" + tags: list[Tag] | None = ... + """The tags assigned to the Capacity Block.""" + +@dataclass(kw_only=True) +class CapacityBlockExtension(_SerdeShape): + """ + Describes a Capacity Block extension. With an extension, you can extend + the duration of time for an existing Capacity Block. + """ + + capacity_reservation_id: str | None = ... + """The reservation ID of the Capacity Block extension.""" + instance_type: str | None = ... + """The instance type of the Capacity Block extension.""" + instance_count: int | None = ... + """The number of instances in the Capacity Block extension.""" + availability_zone: str | None = ... + """The Availability Zone of the Capacity Block extension.""" + availability_zone_id: str | None = ... + """The Availability Zone ID of the Capacity Block extension.""" + capacity_block_extension_offering_id: str | None = ... + """The ID of the Capacity Block extension offering.""" + capacity_block_extension_duration_hours: int | None = ... + """The duration of the Capacity Block extension in hours.""" + capacity_block_extension_status: str | None = ... + """ + The status of the Capacity Block extension. A Capacity Block extension + can have one of the following statuses: + + - `payment-pending` - The Capacity Block extension payment is + processing. If your payment can't be processed within 12 hours, the + Capacity Block extension is failed. + + - `payment-failed` - Payment for the Capacity Block extension request + was not successful. + + - `payment-succeeded` - Payment for the Capacity Block extension request + was successful. You receive an invoice that reflects the one-time + upfront payment. In the invoice, you can associate the paid amount + with the Capacity Block reservation ID. + """ + capacity_block_extension_purchase_date: datetime | None = ... + """The date when the Capacity Block extension was purchased.""" + capacity_block_extension_start_date: datetime | None = ... + """The start date of the Capacity Block extension.""" + capacity_block_extension_end_date: datetime | None = ... + """The end date of the Capacity Block extension.""" + upfront_fee: str | None = ... + """The total price to be paid up front.""" + currency_code: str | None = ... + """The currency of the payment for the Capacity Block extension.""" + zone_type: str | None = ... + """The type of zone where the Capacity Block extension is located.""" + +@dataclass(kw_only=True) +class CapacityBlockExtensionOffering(_SerdeShape): + """ + The recommended Capacity Block extension that fits your search + requirements. + """ + + capacity_block_extension_offering_id: str | None = ... + """The ID of the Capacity Block extension offering.""" + instance_type: str | None = ... + """The instance type of the Capacity Block that will be extended.""" + instance_count: int | None = ... + """The number of instances in the Capacity Block extension offering.""" + availability_zone: str | None = ... + """The Availability Zone of the Capacity Block that will be extended.""" + availability_zone_id: str | None = ... + """The Availability Zone ID of the Capacity Block that will be extended.""" + start_date: datetime | None = ... + """The start date of the Capacity Block that will be extended.""" + capacity_block_extension_start_date: datetime | None = ... + """ + The date and time at which the Capacity Block extension will start. This + date is also the same as the end date of the Capacity Block that will be + extended. + """ + capacity_block_extension_end_date: datetime | None = ... + """ + The date and time at which the Capacity Block extension expires. When a + Capacity Block expires, the reserved capacity is released and you can no + longer launch instances into it. The Capacity Block's state changes to + `expired` when it reaches its end date + """ + capacity_block_extension_duration_hours: int | None = ... + """The amount of time of the Capacity Block extension offering in hours.""" + upfront_fee: str | None = ... + """ + The total price of the Capacity Block extension offering, to be paid up + front. + """ + currency_code: str | None = ... + """The currency of the payment for the Capacity Block extension offering.""" + tenancy: str | None = ... + """ + Indicates the tenancy of the Capacity Block extension offering. A + Capacity Block can have one of the following tenancy settings: + + - `default` - The Capacity Block is created on hardware that is shared + with other Amazon Web Services accounts. + + - `dedicated` - The Capacity Block is created on single-tenant hardware + that is dedicated to a single Amazon Web Services account. + """ + zone_type: str | None = ... + """ + The type of zone where the Capacity Block extension offering is + available. + """ + +class CapacityBlockExtensionStatus(UnknownEnumMixin, StrEnum): + PAYMENT_PENDING = "payment-pending" + PAYMENT_FAILED = "payment-failed" + PAYMENT_SUCCEEDED = "payment-succeeded" + +class CapacityBlockInterconnectStatus(UnknownEnumMixin, StrEnum): + OK = "ok" + IMPAIRED = "impaired" + INSUFFICIENT_DATA = "insufficient-data" + +@dataclass(kw_only=True) +class CapacityBlockOffering(_SerdeShape): + """The recommended Capacity Block that fits your search requirements.""" + + capacity_block_offering_id: str | None = ... + """The ID of the Capacity Block offering.""" + instance_type: str | None = ... + """The instance type of the Capacity Block offering.""" + availability_zone: str | None = ... + """The Availability Zone of the Capacity Block offering.""" + instance_count: int | None = ... + """The number of instances in the Capacity Block offering.""" + start_date: datetime | None = ... + """The start date of the Capacity Block offering.""" + end_date: datetime | None = ... + """The end date of the Capacity Block offering.""" + capacity_block_duration_hours: int | None = ... + """ + The number of hours (in addition to `capacityBlockDurationMinutes`) for + the duration of the Capacity Block reservation. For example, if a + Capacity Block starts at **04:55** and ends at **11:30**, the hours + field would be **6**. + """ + upfront_fee: str | None = ... + """The total price to be paid up front.""" + currency_code: str | None = ... + """The currency of the payment for the Capacity Block.""" + tenancy: str | None = ... + """The tenancy of the Capacity Block.""" + ultraserver_type: str | None = ... + """The EC2 UltraServer type of the Capacity Block offering.""" + ultraserver_count: int | None = ... + """The number of EC2 UltraServers in the offering.""" + capacity_block_duration_minutes: int | None = ... + """ + The number of minutes (in addition to `capacityBlockDurationHours`) for + the duration of the Capacity Block reservation. For example, if a + Capacity Block starts at **08:55** and ends at **11:30**, the minutes + field would be **35**. + """ + zone_type: str | None = ... + """The type of zone where the Capacity Block offering is available.""" + +class CapacityBlockResourceState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + EXPIRED = "expired" + UNAVAILABLE = "unavailable" + CANCELLED = "cancelled" + FAILED = "failed" + SCHEDULED = "scheduled" + PAYMENT_PENDING = "payment-pending" + PAYMENT_FAILED = "payment-failed" + +@dataclass(kw_only=True) +class CapacityBlockStatus(_SerdeShape): + """Describes the availability of capacity for a Capacity Block.""" + + capacity_block_id: str | None = ... + """The ID of the Capacity Block.""" + interconnect_status: str | None = ... + """ + The status of the high-bandwidth accelerator interconnect. Possible + states include: + + - `ok` the accelerator interconnect is healthy. + + - `impaired` - accelerator interconnect communication is impaired. + + - `insufficient-data` - insufficient data to determine accelerator + interconnect status. + """ + total_capacity: int | None = ... + """ + The combined amount of `Available` and `Unavailable` capacity in the + Capacity Block. + """ + total_available_capacity: int | None = ... + """ + The remaining capacity. Indicates the number of resources that can be + launched into the Capacity Block. + """ + total_unavailable_capacity: int | None = ... + """ + The unavailable capacity. Indicates the instance capacity that is + unavailable for use due to a system status check failure. + """ + capacity_reservation_statuses: list[CapacityReservationStatus] | None = ... + """The availability of capacity for the Capacity Block reservations.""" + +@dataclass(kw_only=True) +class CapacityManagerCondition(_SerdeShape): + """ + Represents a filter condition for Capacity Manager queries. Contains + dimension-based filtering criteria used to narrow down metric data and + dimension results. + """ + + dimension_condition: DimensionCondition | None = ... + """ + The dimension-based condition that specifies how to filter the data + based on dimension values. + """ + +@dataclass(kw_only=True) +class CapacityManagerDataExportResponse(_SerdeShape): + """ + Contains information about a Capacity Manager data export configuration, + including export settings, delivery status, and recent export activity. + """ + + capacity_manager_data_export_id: str | None = ... + """The unique identifier for the data export configuration.""" + s3_bucket_name: str | None = ... + """The name of the S3 bucket where export files are delivered.""" + s3_bucket_prefix: str | None = ... + """The S3 key prefix used for organizing export files within the bucket.""" + schedule: str | None = ... + """The frequency at which data exports are generated.""" + output_format: str | None = ... + """The file format of the exported data.""" + create_time: datetime | None = ... + """The timestamp when the data export configuration was created.""" + latest_delivery_status: str | None = ... + """The status of the most recent export delivery.""" + latest_delivery_status_message: str | None = ... + """ + A message describing the status of the most recent export delivery, + including any error details if the delivery failed. + """ + latest_delivery_s3_location_uri: str | None = ... + """The S3 URI of the most recently delivered export file.""" + latest_delivery_time: datetime | None = ... + """The timestamp when the most recent export was delivered to S3.""" + tags: list[Tag] | None = ... + """The tags associated with the data export configuration.""" + +class CapacityManagerDataExportStatus(UnknownEnumMixin, StrEnum): + PENDING = "pending" + IN_PROGRESS = "in-progress" + DELIVERED = "delivered" + FAILED = "failed" + +@dataclass(kw_only=True) +class CapacityManagerDimension(_SerdeShape): + """ + Represents dimension values for capacity metrics, including resource + identifiers, geographic information, and reservation details used for + grouping and filtering capacity data. + """ + + resource_region: str | None = ... + """The Amazon Web Services Region where the capacity resource is located.""" + availability_zone_id: str | None = ... + """ + The unique identifier of the Availability Zone where the capacity + resource is located. + """ + account_id: str | None = ... + """The Amazon Web Services account ID that owns the capacity resource.""" + account_name: str | None = ... + """ + The name of the Amazon Web Services account that owns the capacity + resource. This dimension is only available when Organizations access is + enabled for Capacity Manager. + """ + instance_family: str | None = ... + """The EC2 instance family of the capacity resource.""" + instance_type: str | None = ... + """The specific EC2 instance type of the capacity resource.""" + instance_platform: str | None = ... + """The platform or operating system of the instance.""" + reservation_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the capacity reservation. This + provides a unique identifier that can be used across Amazon Web Services + services to reference the specific reservation. + """ + reservation_id: str | None = ... + """The unique identifier of the capacity reservation.""" + reservation_type: str | None = ... + """The type of capacity reservation.""" + reservation_create_timestamp: datetime | None = ... + """ + The timestamp when the capacity reservation was originally created, in + milliseconds since epoch. This differs from the start timestamp as + reservations can be created before they become active. + """ + reservation_start_timestamp: datetime | None = ... + """ + The timestamp when the capacity reservation becomes active and available + for use, in milliseconds since epoch. This is when the reservation + begins providing capacity. + """ + reservation_end_timestamp: datetime | None = ... + """ + The timestamp when the capacity reservation expires and is no longer + available, in milliseconds since epoch. After this time, the reservation + will not provide any capacity. + """ + reservation_end_date_type: str | None = ... + """ + The type of end date for the capacity reservation. This indicates + whether the reservation has a fixed end date, is open-ended, or follows + a specific termination pattern. + """ + tenancy: str | None = ... + """ + The tenancy of the EC2 instances associated with this capacity + dimension. Valid values are 'default' for shared tenancy, + 'dedicated' for dedicated instances, or 'host' for dedicated hosts. + """ + reservation_state: str | None = ... + """The current state of the capacity reservation.""" + reservation_instance_match_criteria: str | None = ... + """ + The instance matching criteria for the capacity reservation, determining + how instances are matched to the reservation. + """ + reservation_unused_financial_owner: str | None = ... + """ + The Amazon Web Services account ID that is financially responsible for + unused capacity reservation costs. + """ + tags: list[CapacityManagerTagDimension] | None = ... + """ + The tags associated with the capacity resource, represented as key-value + pairs. Only tags that have been activated for monitoring via + `UpdateCapacityManagerMonitoredTagKeys` are included. + """ + +@dataclass(kw_only=True) +class CapacityManagerMonitoredTagKey(_SerdeShape): + """ + Describes a tag key that is being monitored by Capacity Manager, + including its activation status and the earliest available data point. + """ + + tag_key: str | None = ... + """The tag key being monitored.""" + status: str | None = ... + """ + The current status of the monitored tag key. Valid values are + `activating`, `activated`, `deactivating`, and `suspended`. + """ + status_message: str | None = ... + """ + A message providing additional details about the current status of the + monitored tag key. + """ + capacity_manager_provided: bool | None = ... + """ + Indicates whether this tag key is provided by Capacity Manager by + default, rather than being user-activated. + """ + earliest_datapoint_timestamp: datetime | None = ... + """ + The earliest timestamp from which tag data is available for queries, in + UTC ISO 8601 format. + """ + +class CapacityManagerMonitoredTagKeyStatus(UnknownEnumMixin, StrEnum): + ACTIVATING = "activating" + ACTIVATED = "activated" + DEACTIVATING = "deactivating" + SUSPENDED = "suspended" + +class CapacityManagerStatus(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class CapacityManagerSupportabilityScore(_SerdeShape): + """ + The supportability score for a single instance type and Availability + Zone combination. + """ + + instance_type: str | None = ... + """The instance type.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + score: str | None = ... + """ + How well the combination can support the requested capacity right now. + `high` means that the combination holds several times the requested + amount. `medium` means that it can cover the request with little to + spare. `low` means that it holds less than the requested amount. + """ + +@dataclass(kw_only=True) +class CapacityManagerTagDimension(_SerdeShape): + """ + A key-value pair representing a tag associated with a capacity resource + in Capacity Manager. + """ + + key: str | None = ... + """The tag key.""" + value: str | None = ... + """The tag value.""" + +@dataclass(kw_only=True) +class CapacityReservation(_SerdeShape): + """Describes a Capacity Reservation.""" + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the Capacity + Reservation. + """ + capacity_reservation_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Capacity Reservation.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone in which the capacity is reserved.""" + instance_type: str | None = ... + """ + The type of instance for which the Capacity Reservation reserves + capacity. + """ + instance_platform: str | None = ... + """ + The type of operating system for which the Capacity Reservation reserves + capacity. + """ + availability_zone: str | None = ... + """The Availability Zone in which the capacity is reserved.""" + tenancy: str | None = ... + """ + Indicates the tenancy of the Capacity Reservation. A Capacity + Reservation can have one of the following tenancy settings: + + - `default` - The Capacity Reservation is created on hardware that is + shared with other Amazon Web Services accounts. + + - `dedicated` - The Capacity Reservation is created on single-tenant + hardware that is dedicated to a single Amazon Web Services account. + """ + total_instance_count: int | None = ... + """ + The total number of instances for which the Capacity Reservation + reserves capacity. + """ + available_instance_count: int | None = ... + """ + The remaining capacity. Indicates the number of instances that can be + launched in the Capacity Reservation. + """ + ebs_optimized: bool | None = ... + """ + Indicates whether the Capacity Reservation supports EBS-optimized + instances. This optimization provides dedicated throughput to Amazon EBS + and an optimized configuration stack to provide optimal I/O performance. + This optimization isn't available with all instance types. Additional + usage charges apply when using an EBS- optimized instance. + """ + ephemeral_storage: bool | None = ... + """*Deprecated.*""" + state: str | None = ... + """ + The current state of the Capacity Reservation. A Capacity Reservation + can be in one of the following states: + + - `active` - The capacity is available for use. + + - `expired` - The Capacity Reservation expired automatically at the date + and time specified in your reservation request. The reserved capacity + is no longer available for your use. + + - `cancelled` - The Capacity Reservation was canceled. The reserved + capacity is no longer available for your use. + + - `pending` - The Capacity Reservation request was successful but the + capacity provisioning is still pending. + + - `failed` - The Capacity Reservation request has failed. A request can + fail due to request parameters that are not valid, capacity + constraints, or instance limit constraints. You can view a failed + request for 60 minutes. + + - `scheduled` - (*Future-dated Capacity Reservations*) The future-dated + Capacity Reservation request was approved and the Capacity Reservation + is scheduled for delivery on the requested start date. + + - `payment-pending` - (*Capacity Blocks*) The upfront payment has not + been processed yet. + + - `payment-failed` - (*Capacity Blocks*) The upfront payment was not + processed in the 12-hour time frame. Your Capacity Block was released. + + - `assessing` - (*Future-dated Capacity Reservations*) Amazon EC2 is + assessing your request for a future-dated Capacity Reservation. + + - `delayed` - (*Future-dated Capacity Reservations*) Amazon EC2 + encountered a delay in provisioning the requested future-dated + Capacity Reservation. Amazon EC2 is unable to deliver the requested + capacity by the requested start date and time. + + - `unsupported` - (*Future-dated Capacity Reservations*) Amazon EC2 + can't support the future-dated Capacity Reservation request due to + capacity constraints. You can view unsupported requests for 30 days. + The Capacity Reservation will not be delivered. + + - `cancelling` - (*Future-dated Capacity Reservations*) The Capacity + Reservation is being cancelled. Capacity has been released but charges + continue for the commitment wind-down period. The reservation + transitions to `cancelled` when the wind-down completes. + """ + start_date: datetime | None = ... + """The date and time the Capacity Reservation was started.""" + end_date: datetime | None = ... + """ + The date and time the Capacity Reservation expires. When a Capacity + Reservation expires, the reserved capacity is released and you can no + longer launch instances into it. The Capacity Reservation's state + changes to `expired` when it reaches its end date and time. + """ + end_date_type: str | None = ... + """ + Indicates the way in which the Capacity Reservation ends. A Capacity + Reservation can have one of the following end types: + + - `unlimited` - The Capacity Reservation remains active until you + explicitly cancel it. + + - `limited` - The Capacity Reservation expires automatically at a + specified date and time. + """ + instance_match_criteria: str | None = ... + """ + Indicates the type of instance launches that the Capacity Reservation + accepts. The options include: + + - `open` - The Capacity Reservation accepts all instances that have + matching attributes (instance type, platform, and Availability Zone). + Instances that have matching attributes launch into the Capacity + Reservation automatically without specifying any additional + parameters. + + - `targeted` - The Capacity Reservation only accepts instances that have + matching attributes (instance type, platform, and Availability Zone), + and explicitly target the Capacity Reservation. This ensures that only + permitted instances can use the reserved capacity. + """ + create_date: datetime | None = ... + """The date and time the Capacity Reservation was created.""" + tags: list[Tag] | None = ... + """Any tags assigned to the Capacity Reservation.""" + outpost_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Outpost on which the Capacity + Reservation was created. + """ + capacity_reservation_fleet_id: str | None = ... + """ + The ID of the Capacity Reservation Fleet to which the Capacity + Reservation belongs. Only valid for Capacity Reservations that were + created by a Capacity Reservation Fleet. + """ + placement_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the cluster placement group in which + the Capacity Reservation was created. For more information, see + [Capacity Reservations for cluster placement + groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html) + in the *Amazon EC2 User Guide*. + """ + capacity_allocations: list[CapacityAllocation] | None = ... + """Information about instance capacity usage.""" + reservation_type: str | None = ... + """The type of Capacity Reservation.""" + unused_reservation_billing_owner_id: str | None = ... + """ + The ID of the Amazon Web Services account to which billing of the unused + capacity of the Capacity Reservation is assigned. + """ + commitment_info: CapacityReservationCommitmentInfo | None = ... + """ + Information about your commitment for a future-dated Capacity + Reservation. + """ + delivery_preference: str | None = ... + """ + The delivery method for a future-dated Capacity Reservation. + `incremental` indicates that the requested capacity is delivered in + addition to any running instances and reserved capacity that you have in + your account at the requested date and time. + """ + capacity_block_id: str | None = ... + """The ID of the Capacity Block.""" + interruptible: bool | None = ... + """ + Indicates whether this Capacity Reservation is interruptible, meaning + instances may be terminated when the owner reclaims capacity. + """ + interruptible_capacity_allocation: InterruptibleCapacityAllocation | None = ... + """ + Contains allocation details for interruptible reservations, including + current allocated instances and target instance counts within the + interruptibleCapacityAllocation object. + """ + interruption_info: InterruptionInfo | None = ... + """ + Information about the interruption configuration and association with + the source reservation for interruptible Capacity Reservations. + """ + adjustment_status: str | None = ... + """ + The status of the most recent modification to the Capacity Reservation. + A Capacity Reservation can have one of the following adjustment + statuses: + + - `requested` - The modification was requested and is being processed. + + - `applied` - The modification was applied to the Capacity Reservation. + + - `rejected` - The modification was not applied and the Capacity + Reservation keeps its existing configuration. + + This field is not returned if the Capacity Reservation has never been + modified. + """ + adjustment_details: CapacityReservationAdjustmentDetails | None = ... + """ + The configuration that the Capacity Reservation will have after the + requested adjustment is applied. + """ + original_start_date: datetime | None = ... + """ + The start date that you originally requested for the Capacity + Reservation, in the ISO8601 format in the UTC time zone + (`YYYY-MM-DDThh:mm:ss.sssZ`). This value doesn't change when you push + out the start date. + """ + zero_size_preference: str | None = ... + """ + The zero-size preference configured for the interruptible Capacity + Reservation. A value of `retain` keeps the interruptible Capacity + Reservation active at zero capacity when you reduce its allocation to + zero. A value of `default` cancels the interruptible Capacity + Reservation when you reduce its allocation to zero. + """ + launch_status: str | None = ... + """ + Note: + Only supported for UltraServers. + + Indicates whether you can launch instances into the Capacity + Reservation. A Capacity Reservation can have the following launch + statuses: + + - `launchable` - You can launch instances into the Capacity Reservation. + + - `unlaunchable` - You can't launch instances into the Capacity + Reservation. For example, the Capacity Reservation is not active. + """ + +@dataclass(kw_only=True) +class CapacityReservationAdjustmentDetails(_SerdeShape): + """ + Describes the configuration that a Capacity Reservation will have after + a pending adjustment is applied. + """ + + start_date: datetime | None = ... + """ + The start date that the Capacity Reservation will have after the + adjustment. + """ + end_date: datetime | None = ... + """ + The end date that the Capacity Reservation will have after the + adjustment. + """ + commitment_end_date: datetime | None = ... + """ + The date and time at which the commitment duration will expire after the + adjustment. + """ + end_date_type: str | None = ... + """ + Indicates the way in which the Capacity Reservation will end after the + adjustment. Possible values are: + + - `unlimited` - The Capacity Reservation remains active until you + explicitly cancel it. + + - `limited` - The Capacity Reservation expires automatically at the date + and time given by `endDate`. + """ + commitment_duration: int | None = ... + """ + The commitment duration, in seconds, that the Capacity Reservation will + have after the adjustment. + """ + +class CapacityReservationAdjustmentStatus(UnknownEnumMixin, StrEnum): + REQUESTED = "requested" + APPLIED = "applied" + REJECTED = "rejected" + +@dataclass(kw_only=True) +class CapacityReservationBillingRequest(_SerdeShape): + """ + Information about a request to assign billing of the unused capacity of + a Capacity Reservation. + """ + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + requested_by: str | None = ... + """The ID of the Amazon Web Services account that initiated the request.""" + unused_reservation_billing_owner_id: str | None = ... + """The ID of the Amazon Web Services account to which the request was sent.""" + last_update_time: datetime | None = ... + """ + The date and time, in UTC time format, at which the request was + initiated. + """ + status: str | None = ... + """ + The status of the request. For more information, see [View billing + assignment requests for a shared Amazon EC2 Capacity + Reservation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-billing-transfers.html). + """ + status_message: str | None = ... + """Information about the status.""" + capacity_reservation_info: CapacityReservationInfo | None = ... + """Information about the Capacity Reservation.""" + +class CapacityReservationBillingRequestStatus(UnknownEnumMixin, StrEnum): + PENDING = "pending" + ACCEPTED = "accepted" + REJECTED = "rejected" + CANCELLED = "cancelled" + REVOKED = "revoked" + EXPIRED = "expired" + +@dataclass(kw_only=True) +class CapacityReservationCancellationQuote(_SerdeShape): + """ + Describes a Capacity Reservation cancellation quote, which provides the + cancellation terms for cancelling a future-dated Capacity Reservation + during its commitment duration. + """ + + capacity_reservation_cancellation_quote_id: str | None = ... + """The ID of the cancellation quote.""" + capacity_reservation_id: str | None = ... + """ + The ID of the Capacity Reservation associated with the cancellation + quote. + """ + create_time: datetime | None = ... + """The date and time at which the cancellation quote was created.""" + expiration_time: datetime | None = ... + """The date and time at which the cancellation quote expires.""" + quote_state: str | None = ... + """ + The state of the cancellation quote. Possible values include `pending`, + `active`, and `expired`. + """ + current_configuration: CapacityReservationConfiguration | None = ... + """The current configuration of the Capacity Reservation.""" + cancellation_terms: list[CancellationTerms] | None = ... + """ + The cancellation terms associated with the quote, including the fee type + and charge details. + """ + tags: list[Tag] | None = ... + """The tags assigned to the cancellation quote.""" + +class CapacityReservationCancellationQuoteState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + ACTIVE = "active" + EXPIRED = "expired" + +@dataclass(kw_only=True) +class CapacityReservationCommitmentInfo(_SerdeShape): + """ + Information about your commitment for a future-dated Capacity + Reservation. + """ + + committed_instance_count: int | None = ... + """ + The instance capacity that you committed to when you requested the + future-dated Capacity Reservation. + """ + commitment_end_date: datetime | None = ... + """ + The date and time at which the commitment duration expires, in the + ISO8601 format in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). You + can't decrease the instance count or cancel the Capacity Reservation + before this date and time. + """ + commitment_duration: int | None = ... + """ + The commitment duration, in seconds, for the future-dated Capacity + Reservation. This is the minimum duration for which you commit to having + the Capacity Reservation in the `active` state in your account after it + has been delivered. + """ + +@dataclass(kw_only=True) +class CapacityReservationConfiguration(_SerdeShape): + """Describes the configuration of a Capacity Reservation.""" + + instance_count: int | None = ... + """The number of instances in the Capacity Reservation.""" + reservation_state: str | None = ... + """The current state of the Capacity Reservation.""" + +class CapacityReservationDeliveryPreference(UnknownEnumMixin, StrEnum): + FIXED = "fixed" + INCREMENTAL = "incremental" + +@dataclass(kw_only=True) +class CapacityReservationFleet(_SerdeShape): + """Information about a Capacity Reservation Fleet.""" + + capacity_reservation_fleet_id: str | None = ... + """The ID of the Capacity Reservation Fleet.""" + capacity_reservation_fleet_arn: str | None = ... + """The ARN of the Capacity Reservation Fleet.""" + state: str | None = ... + """ + The state of the Capacity Reservation Fleet. Possible states include: + + - `submitted` - The Capacity Reservation Fleet request has been + submitted and Amazon Elastic Compute Cloud is preparing to create the + Capacity Reservations. + + - `modifying` - The Capacity Reservation Fleet is being modified. The + Fleet remains in this state until the modification is complete. + + - `active` - The Capacity Reservation Fleet has fulfilled its total + target capacity and it is attempting to maintain this capacity. The + Fleet remains in this state until it is modified or deleted. + + - `partially_fulfilled` - The Capacity Reservation Fleet has partially + fulfilled its total target capacity. There is insufficient Amazon EC2 + to fulfill the total target capacity. The Fleet is attempting to + asynchronously fulfill its total target capacity. + + - `expiring` - The Capacity Reservation Fleet has reach its end date and + it is in the process of expiring. One or more of its Capacity + reservations might still be active. + + - `expired` - The Capacity Reservation Fleet has reach its end date. The + Fleet and its Capacity Reservations are expired. The Fleet can't + create new Capacity Reservations. + + - `cancelling` - The Capacity Reservation Fleet is in the process of + being cancelled. One or more of its Capacity reservations might still + be active. + + - `cancelled` - The Capacity Reservation Fleet has been manually + cancelled. The Fleet and its Capacity Reservations are cancelled and + the Fleet can't create new Capacity Reservations. + + - `failed` - The Capacity Reservation Fleet failed to reserve capacity + for the specified instance types. + """ + total_target_capacity: int | None = ... + """ + The total number of capacity units for which the Capacity Reservation + Fleet reserves capacity. For more information, see [Total target + capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) + in the *Amazon EC2 User Guide*. + """ + total_fulfilled_capacity: float | None = ... + """The capacity units that have been fulfilled.""" + tenancy: str | None = ... + """ + The tenancy of the Capacity Reservation Fleet. Tenancies include: + + - `default` - The Capacity Reservation Fleet is created on hardware that + is shared with other Amazon Web Services accounts. + + - `dedicated` - The Capacity Reservation Fleet is created on + single-tenant hardware that is dedicated to a single Amazon Web + Services account. + """ + end_date: datetime | None = ... + """The date and time at which the Capacity Reservation Fleet expires.""" + create_time: datetime | None = ... + """The date and time at which the Capacity Reservation Fleet was created.""" + instance_match_criteria: str | None = ... + """ + Indicates the type of instance launches that the Capacity Reservation + Fleet accepts. All Capacity Reservations in the Fleet inherit this + instance matching criteria. + + Currently, Capacity Reservation Fleets support `open` instance matching + criteria only. This means that instances that have matching attributes + (instance type, platform, and Availability Zone) run in the Capacity + Reservations automatically. Instances do not need to explicitly target a + Capacity Reservation Fleet to use its reserved capacity. + """ + allocation_strategy: str | None = ... + """ + The strategy used by the Capacity Reservation Fleet to determine which + of the specified instance types to use. For more information, see For + more information, see [Allocation + strategy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy) + in the *Amazon EC2 User Guide*. + """ + instance_type_specifications: list[FleetCapacityReservation] | None = ... + """Information about the instance types for which to reserve the capacity.""" + instance_requirements: InstanceRequirementsRequest | None = ... + """Reserved for internal use.""" + availability_zone: str | None = ... + """Reserved for internal use.""" + availability_zone_id: str | None = ... + """Reserved for internal use.""" + tags: list[Tag] | None = ... + """The tags assigned to the Capacity Reservation Fleet.""" + +@dataclass(kw_only=True) +class CapacityReservationFleetCancellationState(_SerdeShape): + """Describes a Capacity Reservation Fleet that was successfully cancelled.""" + + current_fleet_state: str | None = ... + """The current state of the Capacity Reservation Fleet.""" + previous_fleet_state: str | None = ... + """The previous state of the Capacity Reservation Fleet.""" + capacity_reservation_fleet_id: str | None = ... + """ + The ID of the Capacity Reservation Fleet that was successfully + cancelled. + """ + +class CapacityReservationFleetState(UnknownEnumMixin, StrEnum): + SUBMITTED = "submitted" + MODIFYING = "modifying" + ACTIVE = "active" + PARTIALLY_FULFILLED = "partially_fulfilled" + EXPIRING = "expiring" + EXPIRED = "expired" + CANCELLING = "cancelling" + CANCELLED = "cancelled" + FAILED = "failed" + +@dataclass(kw_only=True) +class CapacityReservationGroup(_SerdeShape): + """ + Describes a resource group to which a Capacity Reservation has been + added. + """ + + group_arn: str | None = ... + """The ARN of the resource group.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the resource group.""" + +@dataclass(kw_only=True) +class CapacityReservationInfo(_SerdeShape): + """Information about a Capacity Reservation.""" + + instance_type: str | None = ... + """The instance type for the Capacity Reservation.""" + availability_zone: str | None = ... + """The Availability Zone for the Capacity Reservation.""" + tenancy: str | None = ... + """The tenancy of the Capacity Reservation.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + +class CapacityReservationInstancePlatform(UnknownEnumMixin, StrEnum): + LINUX_UNIX = "Linux/UNIX" + RED_HAT_ENTERPRISE_LINUX = "Red Hat Enterprise Linux" + SUSE_LINUX = "SUSE Linux" + WINDOWS = "Windows" + WINDOWS_WITH_SQL_SERVER = "Windows with SQL Server" + WINDOWS_WITH_SQL_SERVER_ENTERPRISE = "Windows with SQL Server Enterprise" + WINDOWS_WITH_SQL_SERVER_STANDARD = "Windows with SQL Server Standard" + WINDOWS_WITH_SQL_SERVER_WEB = "Windows with SQL Server Web" + LINUX_WITH_SQL_SERVER_STANDARD = "Linux with SQL Server Standard" + LINUX_WITH_SQL_SERVER_WEB = "Linux with SQL Server Web" + LINUX_WITH_SQL_SERVER_ENTERPRISE = "Linux with SQL Server Enterprise" + RHEL_WITH_SQL_SERVER_STANDARD = "RHEL with SQL Server Standard" + RHEL_WITH_SQL_SERVER_ENTERPRISE = "RHEL with SQL Server Enterprise" + RHEL_WITH_SQL_SERVER_WEB = "RHEL with SQL Server Web" + RHEL_WITH_HA = "RHEL with HA" + RHEL_WITH_HA_AND_SQL_SERVER_STANDARD = "RHEL with HA and SQL Server Standard" + RHEL_WITH_HA_AND_SQL_SERVER_ENTERPRISE = "RHEL with HA and SQL Server Enterprise" + UBUNTU_PRO_LINUX = "Ubuntu Pro" + +class CapacityReservationLaunchStatus(UnknownEnumMixin, StrEnum): + LAUNCHABLE = "launchable" + UNLAUNCHABLE = "unlaunchable" + +@dataclass(kw_only=True) +class CapacityReservationModificationQuote(_SerdeShape): + """ + Describes a Capacity Reservation modification quote, which provides the + terms for changing the start date or the commitment of a future-dated + Capacity Reservation. + """ + + capacity_reservation_modification_quote_id: str | None = ... + """The ID of the modification quote.""" + capacity_reservation_id: str | None = ... + """ + The ID of the Capacity Reservation associated with the modification + quote. + """ + create_time: datetime | None = ... + """The date and time at which the modification quote was created.""" + expiration_time: datetime | None = ... + """The date and time at which the modification quote expires.""" + quote_state: str | None = ... + """ + The state of the modification quote itself. Possible values are: + + - `active` - The quote can still be used. + + - `expired` - The quote can no longer be used. A quote becomes `expired` + at its `expirationTime`. + """ + current_configuration: ModificationQuoteCurrentConfiguration | None = ... + """ + The configuration that the Capacity Reservation has at the time the + quote was generated. + """ + modification_terms: ModificationTerms | None = ... + """ + The terms of the modification, including the configuration that the + Capacity Reservation will have if you accept them by using + `ModifyCapacityReservation`. + """ + tags: list[Tag] | None = ... + """The tags assigned to the modification quote.""" + +class CapacityReservationModificationQuoteState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + EXPIRED = "expired" + +@dataclass(kw_only=True) +class CapacityReservationOptions(_SerdeShape): + """ + Describes the strategy for using unused Capacity Reservations for + fulfilling On-Demand capacity. + + Note: + This strategy can only be used if the EC2 Fleet is of type `instant`. + + For more information about Capacity Reservations, see [On-Demand + Capacity + Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html) + in the *Amazon EC2 User Guide*. For examples of using Capacity + Reservations in an EC2 Fleet, see [EC2 Fleet example + configurations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html) + in the *Amazon EC2 User Guide*. + """ + + usage_strategy: str | None = ... + """ + Indicates whether to use unused Capacity Reservations for fulfilling + On-Demand capacity. + + If you specify `use-capacity-reservations-first`, the fleet uses unused + Capacity Reservations to fulfill On-Demand capacity up to the target + On-Demand capacity. If multiple instance pools have unused Capacity + Reservations, the On-Demand allocation strategy (`lowest-price` or + `prioritized`) is applied. If the number of unused Capacity Reservations + is less than the On-Demand target capacity, the remaining On-Demand + target capacity is launched according to the On-Demand allocation + strategy (`lowest-price` or `prioritized`). + + If you do not specify a value, the fleet fulfils the On-Demand capacity + according to the chosen On-Demand allocation strategy. + """ + +@dataclass(kw_only=True) +class CapacityReservationOptionsRequest(_SerdeShape): + """ + Describes the strategy for using unused Capacity Reservations for + fulfilling On-Demand capacity. + + Note: + This strategy can only be used if the EC2 Fleet is of type `instant`. + + For more information about Capacity Reservations, see [On-Demand + Capacity + Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html) + in the *Amazon EC2 User Guide*. For examples of using Capacity + Reservations in an EC2 Fleet, see [EC2 Fleet example + configurations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html) + in the *Amazon EC2 User Guide*. + """ + + usage_strategy: str | None = ... + """ + Indicates whether to use unused Capacity Reservations for fulfilling + On-Demand capacity. + + If you specify `use-capacity-reservations-first`, the fleet uses unused + Capacity Reservations to fulfill On-Demand capacity up to the target + On-Demand capacity. If multiple instance pools have unused Capacity + Reservations, the On-Demand allocation strategy (`lowest-price` or + `prioritized`) is applied. If the number of unused Capacity Reservations + is less than the On-Demand target capacity, the remaining On-Demand + target capacity is launched according to the On-Demand allocation + strategy (`lowest-price` or `prioritized`). + + If you do not specify a value, the fleet fulfils the On-Demand capacity + according to the chosen On-Demand allocation strategy. + """ + +class CapacityReservationPreference(UnknownEnumMixin, StrEnum): + CAPACITY_RESERVATIONS_ONLY = "capacity-reservations-only" + OPEN = "open" + NONE = "none" + +@dataclass(kw_only=True) +class CapacityReservationSpecification(_SerdeShape): + """ + Describes an instance's Capacity Reservation targeting option. + + Use the `CapacityReservationPreference` parameter to configure the + instance to run as an On-Demand Instance, to run in any `open` Capacity + Reservation that has matching attributes, or to run only in a Capacity + Reservation or Capacity Reservation group. Use the + `CapacityReservationTarget` parameter to explicitly target a specific + Capacity Reservation or a Capacity Reservation group. + + You can only specify `CapacityReservationPreference` and + `CapacityReservationTarget` if the `CapacityReservationPreference` is + `capacity-reservations-only`. + """ + + capacity_reservation_preference: str | None = ... + """ + Indicates the instance's Capacity Reservation preferences. Possible + preferences include: + + - `capacity-reservations-only` - The instance will only run in a + Capacity Reservation or Capacity Reservation group. If capacity isn't + available, the instance will fail to launch. + + - `open` - The instance can run in any `open` Capacity Reservation that + has matching attributes (instance type, platform, Availability Zone, + and tenancy). If capacity isn't available, the instance runs as an + On-Demand Instance. + + - `none` - The instance doesn't run in a Capacity Reservation even if + one is available. The instance runs as an On-Demand Instance. + """ + capacity_reservation_target: CapacityReservationTarget | None = ... + """ + Information about the target Capacity Reservation or Capacity + Reservation group. + """ + +@dataclass(kw_only=True) +class CapacityReservationSpecificationResponse(_SerdeShape): + """ + Describes the instance's Capacity Reservation targeting preferences. + The action returns the `capacityReservationPreference` response element + if the instance is configured to run in On-Demand capacity, or if it is + configured in run in any `open` Capacity Reservation that has matching + attributes (instance type, platform, Availability Zone). The action + returns the `capacityReservationTarget` response element if the instance + explicily targets a specific Capacity Reservation or Capacity + Reservation group. + """ + + capacity_reservation_preference: str | None = ... + """ + Describes the instance's Capacity Reservation preferences. Possible + preferences include: + + - `open` - The instance can run in any `open` Capacity Reservation that + has matching attributes (instance type, platform, Availability Zone). + + - `none` - The instance avoids running in a Capacity Reservation even if + one is available. The instance runs in On-Demand capacity. + """ + capacity_reservation_target: CapacityReservationTargetResponse | None = ... + """ + Information about the targeted Capacity Reservation or Capacity + Reservation group. + """ + +class CapacityReservationState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + EXPIRED = "expired" + CANCELLED = "cancelled" + PENDING = "pending" + FAILED = "failed" + SCHEDULED = "scheduled" + PAYMENT_PENDING = "payment-pending" + PAYMENT_FAILED = "payment-failed" + ASSESSING = "assessing" + DELAYED = "delayed" + UNSUPPORTED = "unsupported" + CANCELLING = "cancelling" + UNAVAILABLE = "unavailable" + +@dataclass(kw_only=True) +class CapacityReservationStatus(_SerdeShape): + """Describes the availability of capacity for a Capacity Reservation.""" + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + total_capacity: int | None = ... + """ + The combined amount of `Available` and `Unavailable` capacity in the + Capacity Reservation. + """ + total_available_capacity: int | None = ... + """ + The remaining capacity. Indicates the amount of resources that can be + launched into the Capacity Reservation. + """ + total_unavailable_capacity: int | None = ... + """ + The used capacity. Indicates that the capacity is in use by resources + that are running in the Capacity Reservation. + """ + +@dataclass(kw_only=True) +class CapacityReservationTarget(_SerdeShape): + """Describes a target Capacity Reservation or Capacity Reservation group.""" + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation in which to run the instance.""" + capacity_reservation_resource_group_arn: str | None = ... + """ + The ARN of the Capacity Reservation resource group in which to run the + instance. + """ + +@dataclass(kw_only=True) +class CapacityReservationTargetResponse(_SerdeShape): + """Describes a target Capacity Reservation or Capacity Reservation group.""" + + capacity_reservation_id: str | None = ... + """The ID of the targeted Capacity Reservation.""" + capacity_reservation_resource_group_arn: str | None = ... + """The ARN of the targeted Capacity Reservation group.""" + +class CapacityReservationTenancy(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + DEDICATED = "dedicated" + +@dataclass(kw_only=True) +class CapacityReservationTopology(_SerdeShape): + """Information about the Capacity Reservation topology.""" + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + capacity_block_id: str | None = ... + """ + The ID of the Capacity Block. This parameter is only supported for + UltraServer instances and identifies instances within the UltraServer + domain. + """ + state: str | None = ... + """ + The current state of the Capacity Reservation. For the list of possible + states, see + [DescribeCapacityReservations](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCapacityReservations.html). + """ + instance_type: str | None = ... + """The instance type.""" + group_name: str | None = ... + """The name of the placement group that the Capacity Reservation is in.""" + network_nodes: list[str] | None = ... + """ + The network nodes. The nodes are hashed based on your account. Capacity + Reservations from different accounts running under the same server will + return a different hashed list of strings. + + The value is `null` or empty if: + + - The instance type is not supported. + + - The Capacity Reservation is in a state other than `active` or + `pending`. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone or Local Zone that the Capacity + Reservation is in. + """ + availability_zone: str | None = ... + """ + The name of the Availability Zone or Local Zone that the Capacity + Reservation is in. + """ + +class CapacityReservationType(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + CAPACITY_BLOCK = "capacity-block" + +class CapacityTenancy(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + DEDICATED = "dedicated" + +class CapacityUnit(UnknownEnumMixin, StrEnum): + VCPUS = "vcpus" + INSTANCES = "instances" + +@dataclass(kw_only=True) +class CarrierGateway(_SerdeShape): + """Describes a carrier gateway.""" + + carrier_gateway_id: str | None = ... + """The ID of the carrier gateway.""" + vpc_id: str | None = ... + """The ID of the VPC associated with the carrier gateway.""" + state: str | None = ... + """The state of the carrier gateway.""" + owner_id: str | None = ... + """The Amazon Web Services account ID of the owner of the carrier gateway.""" + tags: list[Tag] | None = ... + """The tags assigned to the carrier gateway.""" + +class CarrierGatewayState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class CertificateAuthentication(_SerdeShape): + """Information about the client certificate used for authentication.""" + + client_root_certificate_chain: str | None = ... + """The ARN of the client certificate.""" + +@dataclass(kw_only=True) +class CertificateAuthenticationRequest(_SerdeShape): + """Information about the client certificate to be used for authentication.""" + + client_root_certificate_chain_arn: str | None = ... + """ + The ARN of the client certificate. The certificate must be signed by a + certificate authority (CA) and it must be provisioned in Certificate + Manager (ACM). + """ + +class ChronologicalOrder(UnknownEnumMixin, StrEnum): + """The chronological order for returning results.""" + + FORWARD = "forward" + REVERSE = "reverse" + +@dataclass(kw_only=True) +class CidrAuthorizationContext(_SerdeShape): + """ + Provides authorization for Amazon to bring a specific IP address range + to a specific Amazon Web Services account using bring your own IP + addresses (BYOIP). For more information, see [Configuring your BYOIP + address + range](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#prepare-for-byoip) + in the *Amazon EC2 User Guide*. + """ + + message: str | None = ... + """The plain-text authorization message for the prefix and account.""" + signature: str | None = ... + """The signed authorization message for the prefix and account.""" + +@dataclass(kw_only=True) +class CidrBlock(_SerdeShape): + """Describes an IPv4 CIDR block.""" + + cidr_block: str | None = ... + """The IPv4 CIDR block.""" + +@dataclass(kw_only=True) +class ClassicLinkDnsSupport(_SerdeShape): + """ + Note: + Deprecated. + + Describes the ClassicLink DNS support status of a VPC. + """ + + classic_link_dns_supported: bool | None = ... + """Indicates whether ClassicLink DNS support is enabled for the VPC.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class ClassicLinkInstance(_SerdeShape): + """ + Note: + Deprecated. + + Describes a linked EC2-Classic instance. + """ + + groups: list[GroupIdentifier] | None = ... + """The security groups.""" + instance_id: str | None = ... + """The ID of the instance.""" + tags: list[Tag] | None = ... + """Any tags assigned to the instance.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class ClassicLoadBalancer(_SerdeShape): + """Describes a Classic Load Balancer.""" + + name: str | None = ... + """The name of the load balancer.""" + +@dataclass(kw_only=True) +class ClassicLoadBalancersConfig(_SerdeShape): + """ + Describes the Classic Load Balancers to attach to a Spot Fleet. Spot + Fleet registers the running Spot Instances with these Classic Load + Balancers. + """ + + classic_load_balancers: list[ClassicLoadBalancer] | None = ... + """One or more Classic Load Balancers.""" + +@dataclass(kw_only=True) +class ClientCertificateRevocationListStatus(_SerdeShape): + """Describes the state of a client certificate revocation list.""" + + code: str | None = ... + """The state of the client certificate revocation list.""" + message: str | None = ... + """ + A message about the status of the client certificate revocation list, if + applicable. + """ + +class ClientCertificateRevocationListStatusCode(UnknownEnumMixin, StrEnum): + PENDING = "pending" + ACTIVE = "active" + +@dataclass(kw_only=True) +class ClientConnectOptions(_SerdeShape): + """ + The options for managing connection authorization for new client + connections. + """ + + enabled: bool | None = ... + """ + Indicates whether client connect options are enabled. The default is + `false` (not enabled). + """ + lambda_function_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda function used for + connection authorization. + """ + +@dataclass(kw_only=True) +class ClientConnectResponseOptions(_SerdeShape): + """ + The options for managing connection authorization for new client + connections. + """ + + enabled: bool | None = ... + """Indicates whether client connect options are enabled.""" + lambda_function_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda function used for + connection authorization. + """ + status: ClientVpnEndpointAttributeStatus | None = ... + """The status of any updates to the client connect options.""" + +@dataclass(kw_only=True) +class ClientData(_SerdeShape): + """Describes the client-specific data.""" + + comment: str | None = ... + """A user-defined comment about the disk upload.""" + upload_end: datetime | None = ... + """The time that the disk upload ends.""" + upload_size: float | None = ... + """The size of the uploaded disk image, in GiB.""" + upload_start: datetime | None = ... + """The time that the disk upload starts.""" + +@dataclass(kw_only=True) +class ClientLoginBannerOptions(_SerdeShape): + """ + Options for enabling a customizable text banner that will be displayed + on Amazon Web Services provided clients when a VPN session is + established. + """ + + enabled: bool | None = ... + """ + Enable or disable a customizable text banner that will be displayed on + Amazon Web Services provided clients when a VPN session is established. + + Valid values: `true | false` + + Default value: `false` + """ + banner_text: str | None = ... + """ + Customizable text that will be displayed in a banner on Amazon Web + Services provided clients when a VPN session is established. UTF-8 + encoded characters only. Maximum of 1400 characters. + """ + +@dataclass(kw_only=True) +class ClientLoginBannerResponseOptions(_SerdeShape): + """ + Current state of options for customizable text banner that will be + displayed on Amazon Web Services provided clients when a VPN session is + established. + """ + + enabled: bool | None = ... + """ + Current state of text banner feature. + + Valid values: `true | false` + """ + banner_text: str | None = ... + """ + Customizable text that will be displayed in a banner on Amazon Web + Services provided clients when a VPN session is established. UTF-8 + encoded characters only. Maximum of 1400 characters. + """ + +@dataclass(kw_only=True) +class ClientRouteEnforcementOptions(_SerdeShape): + """ + Client Route Enforcement is a feature of Client VPN that helps enforce + administrator defined routes on devices connected through the VPN. This + feature helps improve your security posture by ensuring that network + traffic originating from a connected client is not inadvertently sent + outside the VPN tunnel. + + Client Route Enforcement works by monitoring the route table of a + connected device for routing policy changes to the VPN connection. If + the feature detects any VPN routing policy modifications, it will + automatically force an update to the route table, reverting it back to + the expected route configurations. + """ + + enforced: bool | None = ... + """ + Enable or disable Client Route Enforcement. The state can either be + `true` (enabled) or `false` (disabled). The default is `false`. + + Valid values: `true | false` + + Default value: `false` + """ + +@dataclass(kw_only=True) +class ClientRouteEnforcementResponseOptions(_SerdeShape): + """The current status of Client Route Enforcement.""" + + enforced: bool | None = ... + """ + Status of the client route enforcement feature, indicating whether + Client Route Enforcement is `true` (enabled) or `false` (disabled). + + Valid values: `true | false` + + Default value: `false` + """ + +@dataclass(kw_only=True) +class ClientVpnAuthentication(_SerdeShape): + """ + Describes the authentication methods used by a Client VPN endpoint. For + more information, see + [Authentication](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/client-authentication.html) + in the *Client VPN Administrator Guide*. + """ + + type: str | None = ... + """The authentication type used.""" + active_directory: DirectoryServiceAuthentication | None = ... + """Information about the Active Directory, if applicable.""" + mutual_authentication: CertificateAuthentication | None = ... + """Information about the authentication certificates, if applicable.""" + federated_authentication: FederatedAuthentication | None = ... + """Information about the IAM SAML identity provider, if applicable.""" + +@dataclass(kw_only=True) +class ClientVpnAuthenticationRequest(_SerdeShape): + """ + Describes the authentication method to be used by a Client VPN endpoint. + For more information, see + [Authentication](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication) + in the *Client VPN Administrator Guide*. + """ + + type: str | None = ... + """The type of client authentication to be used.""" + active_directory: DirectoryServiceAuthenticationRequest | None = ... + """ + Information about the Active Directory to be used, if applicable. You + must provide this information if **Type** is + `directory-service-authentication`. + """ + mutual_authentication: CertificateAuthenticationRequest | None = ... + """ + Information about the authentication certificates to be used, if + applicable. You must provide this information if **Type** is + `certificate-authentication`. + """ + federated_authentication: FederatedAuthenticationRequest | None = ... + """ + Information about the IAM SAML identity provider to be used, if + applicable. You must provide this information if **Type** is + `federated-authentication`. + """ + +class ClientVpnAuthenticationType(UnknownEnumMixin, StrEnum): + CERTIFICATE_AUTHENTICATION = "certificate-authentication" + DIRECTORY_SERVICE_AUTHENTICATION = "directory-service-authentication" + FEDERATED_AUTHENTICATION = "federated-authentication" + +class ClientVpnAuthorizationPolicyShadowMode(UnknownEnumMixin, StrEnum): + """ + Indicates whether the authorization policy for a Client VPN endpoint is + evaluated in shadow mode. Possible values include: + + - `enabled` - The authorization policy is evaluated and the results are + logged, but access is not enforced. + + - `disabled` - The authorization policy is enforced. + """ + + ENABLED = "enabled" + DISABLED = "disabled" + +class ClientVpnAuthorizationPolicyStatus(UnknownEnumMixin, StrEnum): + """ + Describes the state of an authorization policy for a Client VPN + endpoint. Possible states include: + + - `creating` - The authorization policy is being created. + + - `updating` - The authorization policy is being updated. + + - `active` - The authorization policy has been applied to the Client VPN + endpoint. + + - `failed` - The authorization policy could not be applied to the Client + VPN endpoint. + + - `deleting` - The authorization policy is being deleted. + """ + + CREATING = "creating" + UPDATING = "updating" + ACTIVE = "active" + FAILED = "failed" + DELETING = "deleting" + +@dataclass(kw_only=True) +class ClientVpnAuthorizationRuleStatus(_SerdeShape): + """Describes the state of an authorization rule.""" + + code: str | None = ... + """The state of the authorization rule.""" + message: str | None = ... + """A message about the status of the authorization rule, if applicable.""" + +class ClientVpnAuthorizationRuleStatusCode(UnknownEnumMixin, StrEnum): + AUTHORIZING = "authorizing" + ACTIVE = "active" + FAILED = "failed" + REVOKING = "revoking" + +@dataclass(kw_only=True) +class ClientVpnConnection(_SerdeShape): + """Describes a client connection.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint to which the client is connected.""" + timestamp: str | None = ... + """The current date and time.""" + connection_id: str | None = ... + """The ID of the client connection.""" + username: str | None = ... + """ + The username of the client who established the client connection. This + information is only provided if Active Directory client authentication + is used. + """ + connection_established_time: str | None = ... + """The date and time the client connection was established.""" + ingress_bytes: str | None = ... + """The number of bytes sent by the client.""" + egress_bytes: str | None = ... + """The number of bytes received by the client.""" + ingress_packets: str | None = ... + """The number of packets sent by the client.""" + egress_packets: str | None = ... + """The number of packets received by the client.""" + client_ip: str | None = ... + """The IP address of the client.""" + client_ipv6_address: str | None = ... + """ + The IPv6 address assigned to the client connection when using a + dual-stack Client VPN endpoint. This field is only populated when the + endpoint is configured for dual-stack addressing, and the client is + using IPv6 for connectivity. + """ + common_name: str | None = ... + """ + The common name associated with the client. This is either the name of + the client certificate, or the Active Directory user name. + """ + status: ClientVpnConnectionStatus | None = ... + """The current state of the client connection.""" + connection_end_time: str | None = ... + """The date and time the client connection was terminated.""" + posture_compliance_statuses: list[str] | None = ... + """ + The statuses returned by the client connect handler for posture + compliance, if applicable. + """ + authorization_policy_last_evaluated_time: str | None = ... + """ + The date and time the authorization policy was last evaluated for the + client connection, if applicable. + """ + +@dataclass(kw_only=True) +class ClientVpnConnectionStatus(_SerdeShape): + """Describes the status of a client connection.""" + + code: str | None = ... + """The state of the client connection.""" + message: str | None = ... + """A message about the status of the client connection, if applicable.""" + +class ClientVpnConnectionStatusCode(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + FAILED_TO_TERMINATE = "failed-to-terminate" + TERMINATING = "terminating" + TERMINATED = "terminated" + +class ClientVpnDeviceTrustProviderType(UnknownEnumMixin, StrEnum): + CROWDSTRIKE = "crowdstrike" + JAMF = "jamf" + JUMPCLOUD = "jumpcloud" + +@dataclass(kw_only=True) +class ClientVpnEndpoint(_SerdeShape): + """Describes a Client VPN endpoint.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + description: str | None = ... + """A brief description of the endpoint.""" + status: ClientVpnEndpointStatus | None = ... + """The current state of the Client VPN endpoint.""" + creation_time: str | None = ... + """The date and time the Client VPN endpoint was created.""" + deletion_time: str | None = ... + """The date and time the Client VPN endpoint was deleted, if applicable.""" + dns_name: str | None = ... + """ + The DNS name to be used by clients when connecting to the Client VPN + endpoint. + """ + client_cidr_block: str | None = ... + """ + The IPv4 address range, in CIDR notation, from which client IP addresses + are assigned. + """ + dns_servers: list[str] | None = ... + """Information about the DNS servers to be used for DNS resolution.""" + split_tunnel: bool | None = ... + """ + Indicates whether split-tunnel is enabled in the Client VPN endpoint. + + For information about split-tunnel VPN endpoints, see [Split-Tunnel + Client VPN + endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) + in the *Client VPN Administrator Guide*. + """ + vpn_protocol: str | None = ... + """The protocol used by the VPN session.""" + transport_protocol: str | None = ... + """The transport protocol used by the Client VPN endpoint.""" + vpn_port: int | None = ... + """The port number for the Client VPN endpoint.""" + associated_target_networks: list[AssociatedTargetNetwork] | None = ... + """ + Information about the associated target networks. A target network is a + subnet in a VPC. + """ + server_certificate_arn: str | None = ... + """The ARN of the server certificate.""" + authentication_options: list[ClientVpnAuthentication] | None = ... + """ + Information about the authentication method used by the Client VPN + endpoint. + """ + connection_log_options: ConnectionLogResponseOptions | None = ... + """ + Information about the client connection logging options for the Client + VPN endpoint. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the Client VPN endpoint.""" + security_group_ids: list[str] | None = ... + """The IDs of the security groups for the target network.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + self_service_portal_url: str | None = ... + """The URL of the self-service portal.""" + client_connect_options: ClientConnectResponseOptions | None = ... + """ + The options for managing connection authorization for new client + connections. + """ + session_timeout_hours: int | None = ... + """ + The maximum VPN session duration time in hours. + + Valid values: `8 | 10 | 12 | 24` + + Default value: `24` + """ + client_login_banner_options: ClientLoginBannerResponseOptions | None = ... + """ + Options for enabling a customizable text banner that will be displayed + on Amazon Web Services provided clients when a VPN session is + established. + """ + client_route_enforcement_options: ClientRouteEnforcementResponseOptions | None = ... + """ + Client route enforcement is a feature of the Client VPN service that + helps enforce administrator defined routes on devices connected through + the VPN. T his feature helps improve your security posture by ensuring + that network traffic originating from a connected client is not + inadvertently sent outside the VPN tunnel. + + Client route enforcement works by monitoring the route table of a + connected device for routing policy changes to the VPN connection. If + the feature detects any VPN routing policy modifications, it will + automatically force an update to the route table, reverting it back to + the expected route configurations. + """ + disconnect_on_session_timeout: bool | None = ... + """ + Indicates whether the client VPN session is disconnected after the + maximum `sessionTimeoutHours` is reached. If `true`, users are prompted + to reconnect client VPN. If `false`, client VPN attempts to reconnect + automatically. The default value is `true`. + """ + endpoint_ip_address_type: str | None = ... + """ + The IP address type of the Client VPN endpoint. Possible values are + `ipv4` for IPv4 addressing only, `ipv6` for IPv6 addressing only, or + `dual-stack `for both IPv4 and IPv6 addressing. + """ + traffic_ip_address_type: str | None = ... + """ + The IP address type of the Client VPN endpoint. Possible values are + either `ipv4` for IPv4 addressing only, `ipv6` for IPv6 addressing only, + or `dual-stack` for both IPv4 and IPv6 addressing. + """ + transit_gateway_configuration: ( + TransitGatewayConfigurationDescribeEndpointStructure | None + ) = ... + """The Transit Gateway configuration for the Client VPN endpoint.""" + device_posture_options: DevicePostureResponseOptions | None = ... + """ + The device trust providers configured for the Client VPN endpoint, if + applicable. + """ + +@dataclass(kw_only=True) +class ClientVpnEndpointAttributeStatus(_SerdeShape): + """Describes the status of the Client VPN endpoint attribute.""" + + code: str | None = ... + """The status code.""" + message: str | None = ... + """The status message.""" + +class ClientVpnEndpointAttributeStatusCode(UnknownEnumMixin, StrEnum): + APPLYING = "applying" + APPLIED = "applied" + +@dataclass(kw_only=True) +class ClientVpnEndpointStatus(_SerdeShape): + """Describes the state of a Client VPN endpoint.""" + + code: str | None = ... + """ + The state of the Client VPN endpoint. Possible states include: + + - `pending-associate` - The Client VPN endpoint has been created but no + target networks have been associated. The Client VPN endpoint cannot + accept connections. + + - `available` - The Client VPN endpoint has been created and a target + network has been associated. The Client VPN endpoint can accept + connections. + + - `deleting` - The Client VPN endpoint is being deleted. The Client VPN + endpoint cannot accept connections. + + - `deleted` - The Client VPN endpoint has been deleted. The Client VPN + endpoint cannot accept connections. + + - `pending` - The Client VPN endpoint has been created with a Transit + Gateway configuration and is waiting for the Transit Gateway + attachment to be accepted. The Client VPN endpoint cannot accept + connections. + """ + message: str | None = ... + """A message about the status of the Client VPN endpoint.""" + +class ClientVpnEndpointStatusCode(UnknownEnumMixin, StrEnum): + PENDING_ASSOCIATE = "pending-associate" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + PENDING = "pending" + +@dataclass(kw_only=True) +class ClientVpnRoute(_SerdeShape): + """Information about a Client VPN endpoint route.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint with which the route is associated.""" + destination_cidr: str | None = ... + """The IPv4 address range, in CIDR notation, of the route destination.""" + target_subnet: str | None = ... + """The ID of the subnet through which traffic is routed.""" + type: str | None = ... + """The route type.""" + origin: str | None = ... + """ + Indicates how the route was associated with the Client VPN endpoint. + `associate` indicates that the route was automatically added when the + target network was associated with the Client VPN endpoint. `add-route` + indicates that the route was manually added using the + **CreateClientVpnRoute** action. + """ + status: ClientVpnRouteStatus | None = ... + """The current state of the route.""" + description: str | None = ... + """A brief description of the route.""" + transit_gateway_attachment_id: str | None = ... + """ + The ID of the Transit Gateway attachment, if the route targets a Transit + Gateway. + """ + +@dataclass(kw_only=True) +class ClientVpnRouteStatus(_SerdeShape): + """Describes the state of a Client VPN endpoint route.""" + + code: str | None = ... + """The state of the Client VPN endpoint route.""" + message: str | None = ... + """ + A message about the status of the Client VPN endpoint route, if + applicable. + """ + +class ClientVpnRouteStatusCode(UnknownEnumMixin, StrEnum): + CREATING = "creating" + ACTIVE = "active" + FAILED = "failed" + DELETING = "deleting" + +@dataclass(kw_only=True) +class ClientVpnTrustProvider(_SerdeShape): + """ + Information about a device trust provider configured for a Client VPN + endpoint. + """ + + trust_provider_type: str | None = ... + """ + The type of the device trust provider. Possible values include: + + - `crowdstrike` - CrowdStrike device trust provider. + + - `jamf` - Jamf device trust provider. + + - `jumpcloud` - JumpCloud device trust provider. + """ + tenant_id: str | None = ... + """The tenant ID associated with your device trust provider account.""" + public_signing_key_url: str | None = ... + """ + The URL of the public signing key that is used to verify the identity + token issued by the device trust provider. + """ + +@dataclass(kw_only=True) +class ClientVpnTrustProviderRequest(_SerdeShape): + """ + Describes a device trust provider to configure for a Client VPN + endpoint. + """ + + trust_provider_type: str | None = ... + """ + The type of the device trust provider. Possible values include: + + - `crowdstrike` - CrowdStrike device trust provider. + + - `jamf` - Jamf device trust provider. + + - `jumpcloud` - JumpCloud device trust provider. + """ + tenant_id: str | None = ... + """The tenant ID associated with your device trust provider account.""" + public_signing_key_url: str | None = ... + """ + The URL of the public signing key that is used to verify the identity + token issued by the device trust provider. + """ + +@dataclass(kw_only=True) +class CloudWatchLogOptions(_SerdeShape): + """Options for sending VPN tunnel logs to CloudWatch.""" + + log_enabled: bool | None = ... + """ + Status of VPN tunnel logging feature. Default value is `False`. + + Valid values: `True` | `False` + """ + log_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudWatch log group to send logs + to. + """ + log_output_format: str | None = ... + """ + Configured log format. Default format is `json`. + + Valid values: `json` | `text` + """ + bgp_log_enabled: bool | None = ... + """ + Indicates whether Border Gateway Protocol (BGP) logging is enabled for + the VPN connection. Default value is `False`. + + Valid values: `True` | `False` + """ + bgp_log_group_arn: str | None = ... + """The Amazon Resource Name (ARN) of the CloudWatch log group for BGP logs.""" + bgp_log_output_format: str | None = ... + """ + The output format for BGP logs sent to CloudWatch. Default format is + `json`. + + Valid values: `json` | `text` + """ + +@dataclass(kw_only=True) +class CloudWatchLogOptionsSpecification(_SerdeShape): + """Options for sending VPN tunnel logs to CloudWatch.""" + + log_enabled: bool | None = ... + """ + Enable or disable VPN tunnel logging feature. Default value is `False`. + + Valid values: `True` | `False` + """ + log_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudWatch log group to send logs + to. + """ + log_output_format: str | None = ... + """ + Set log format. Default format is `json`. + + Valid values: `json` | `text` + """ + bgp_log_enabled: bool | None = ... + """ + Specifies whether to enable BGP logging for the VPN connection. Default + value is `False`. + + Valid values: `True` | `False` + """ + bgp_log_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the CloudWatch log group where BGP + logs will be sent. + """ + bgp_log_output_format: str | None = ... + """ + The desired output format for BGP logs to be sent to CloudWatch. Default + format is `json`. + + Valid values: `json` | `text` + """ + +@dataclass(kw_only=True) +class CoipAddressUsage(_SerdeShape): + """Describes address usage for a customer-owned address pool.""" + + allocation_id: str | None = ... + """The allocation ID of the address.""" + aws_account_id: str | None = ... + """The Amazon Web Services account ID.""" + aws_service: str | None = ... + """The Amazon Web Services service.""" + co_ip: str | None = ... + """The customer-owned IP address.""" + +@dataclass(kw_only=True) +class CoipCidr(_SerdeShape): + """Information about a customer-owned IP address range.""" + + cidr: str | None = ... + """An address range in a customer-owned IP address space.""" + coip_pool_id: str | None = ... + """The ID of the address pool.""" + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + +@dataclass(kw_only=True) +class CoipPool(_SerdeShape): + """Describes a customer-owned address pool.""" + + pool_id: str | None = ... + """The ID of the address pool.""" + pool_cidrs: list[str] | None = ... + """The address ranges of the address pool.""" + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + tags: list[Tag] | None = ... + """The tags.""" + pool_arn: str | None = ... + """The ARN of the address pool.""" + +class Comparison(UnknownEnumMixin, StrEnum): + EQUALS = "equals" + IN_ = "in" + +@dataclass(kw_only=True) +class ConfirmProductInstanceInput(_SerdeShape): + """Dataclass for ConfirmProductInstanceInput structure.""" + + instance_id: str | None = ... + """The ID of the instance.""" + product_code: str | None = ... + """The product code. This must be a product code that you own.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ConfirmProductInstanceOutput(_SerdeShape): + """Dataclass for ConfirmProductInstanceOutput structure.""" + + return_: bool | None = ... + """ + The return value of the request. Returns `true` if the specified product + code is owned by the requester and associated with the specified + instance. + """ + owner_id: str | None = ... + """ + The Amazon Web Services account ID of the instance owner. This is only + present if the product code is attached to the instance. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ConnectionLogOptions(_SerdeShape): + """ + Describes the client connection logging options for the Client VPN + endpoint. + """ + + enabled: bool | None = ... + """Indicates whether connection logging is enabled.""" + cloudwatch_log_group: str | None = ... + """ + The name of the CloudWatch Logs log group. Required if connection + logging is enabled. + """ + cloudwatch_log_stream: str | None = ... + """ + The name of the CloudWatch Logs log stream to which the connection data + is published. + """ + include_authorization_policy_context: bool | None = ... + """ + Specifies whether to include the authorization policy evaluation context + in the connection logs for the Client VPN endpoint. + """ + +@dataclass(kw_only=True) +class ConnectionLogResponseOptions(_SerdeShape): + """ + Information about the client connection logging options for a Client VPN + endpoint. + """ + + enabled: bool | None = ... + """ + Indicates whether client connection logging is enabled for the Client + VPN endpoint. + """ + cloudwatch_log_group: str | None = ... + """ + The name of the Amazon CloudWatch Logs log group to which connection + logging data is published. + """ + cloudwatch_log_stream: str | None = ... + """ + The name of the Amazon CloudWatch Logs log stream to which connection + logging data is published. + """ + include_authorization_policy_context: bool | None = ... + """ + Specifies whether the authorization policy evaluation context is + included in the connection logs for the Client VPN endpoint. + """ + +@dataclass(kw_only=True) +class ConnectionNotification(_SerdeShape): + """ + Describes a connection notification for a VPC endpoint or VPC endpoint + service. + """ + + connection_notification_id: str | None = ... + """The ID of the notification.""" + service_id: str | None = ... + """The ID of the endpoint service.""" + vpc_endpoint_id: str | None = ... + """The ID of the VPC endpoint.""" + connection_notification_type: str | None = ... + """The type of notification.""" + connection_notification_arn: str | None = ... + """The ARN of the SNS topic for the notification.""" + connection_events: list[str] | None = ... + """ + The events for the notification. Valid values are `Accept`, `Connect`, + `Delete`, and `Reject`. + """ + connection_notification_state: str | None = ... + """The state of the notification.""" + service_region: str | None = ... + """The Region for the endpoint service.""" + +class ConnectionNotificationState(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ConnectionNotificationType(UnknownEnumMixin, StrEnum): + TOPIC = "Topic" + +@dataclass(kw_only=True) +class ConnectionTrackingConfiguration(_SerdeShape): + """ + A security group connection tracking configuration that enables you to + set the idle timeout for connection tracking on an Elastic network + interface. For more information, see [Connection tracking + timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the *Amazon EC2 User Guide*. + """ + + tcp_established_timeout: int | None = ... + """ + Timeout (in seconds) for idle TCP connections in an established state. + Min: 60 seconds. Max: 432000 seconds (5 days). Default: 350 seconds for + Nitro v6 instance types (excluding P6e-GB200); 432000 seconds for all + other instance types (including P6e-GB200). Recommended: Less than + 432000 seconds. + """ + udp_stream_timeout: int | None = ... + """ + Timeout (in seconds) for idle UDP flows classified as streams which have + seen more than one request-response transaction. Min: 60 seconds. Max: + 180 seconds (3 minutes). Default: 180 seconds. + """ + udp_timeout: int | None = ... + """ + Timeout (in seconds) for idle UDP flows that have seen traffic only in a + single direction or a single request-response transaction. Min: 30 + seconds. Max: 60 seconds. Default: 30 seconds. + """ + +@dataclass(kw_only=True) +class ConnectionTrackingSpecification(_SerdeShape): + """ + A security group connection tracking specification that enables you to + set the idle timeout for connection tracking on an Elastic network + interface. For more information, see [Connection tracking + timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the *Amazon EC2 User Guide*. + """ + + tcp_established_timeout: int | None = ... + """ + Timeout (in seconds) for idle TCP connections in an established state. + Min: 60 seconds. Max: 432000 seconds (5 days). Default: 350 seconds for + Nitro v6 instance types (excluding P6e-GB200); 432000 seconds for all + other instance types (including P6e-GB200). Recommended: Less than + 432000 seconds. + """ + udp_timeout: int | None = ... + """ + Timeout (in seconds) for idle UDP flows that have seen traffic only in a + single direction or a single request-response transaction. Min: 30 + seconds. Max: 60 seconds. Default: 30 seconds. + """ + udp_stream_timeout: int | None = ... + """ + Timeout (in seconds) for idle UDP flows classified as streams which have + seen more than one request-response transaction. Min: 60 seconds. Max: + 180 seconds (3 minutes). Default: 180 seconds. + """ + +@dataclass(kw_only=True) +class ConnectionTrackingSpecificationRequest(_SerdeShape): + """ + A security group connection tracking specification request that enables + you to set the idle timeout for connection tracking on an Elastic + network interface. For more information, see [Connection tracking + timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the *Amazon EC2 User Guide*. + """ + + tcp_established_timeout: int | None = ... + """ + Timeout (in seconds) for idle TCP connections in an established state. + Min: 60 seconds. Max: 432000 seconds (5 days). Default: 350 seconds for + Nitro v6 instance types (excluding P6e-GB200); 432000 seconds for all + other instance types (including P6e-GB200). Recommended: Less than + 432000 seconds. + """ + udp_stream_timeout: int | None = ... + """ + Timeout (in seconds) for idle UDP flows classified as streams which have + seen more than one request-response transaction. Min: 60 seconds. Max: + 180 seconds (3 minutes). Default: 180 seconds. + """ + udp_timeout: int | None = ... + """ + Timeout (in seconds) for idle UDP flows that have seen traffic only in a + single direction or a single request-response transaction. Min: 30 + seconds. Max: 60 seconds. Default: 30 seconds. + """ + +@dataclass(kw_only=True) +class ConnectionTrackingSpecificationResponse(_SerdeShape): + """ + A security group connection tracking specification response that enables + you to set the idle timeout for connection tracking on an Elastic + network interface. For more information, see [Connection tracking + timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the *Amazon EC2 User Guide*. + """ + + tcp_established_timeout: int | None = ... + """ + Timeout (in seconds) for idle TCP connections in an established state. + Min: 60 seconds. Max: 432000 seconds (5 days). Default: 350 seconds for + Nitro v6 instance types (excluding P6e-GB200); 432000 seconds for all + other instance types (including P6e-GB200). Recommended: Less than + 432000 seconds. + """ + udp_stream_timeout: int | None = ... + """ + Timeout (in seconds) for idle UDP flows classified as streams which have + seen more than one request-response transaction. Min: 60 seconds. Max: + 180 seconds (3 minutes). Default: 180 seconds. + """ + udp_timeout: int | None = ... + """ + Timeout (in seconds) for idle UDP flows that have seen traffic only in a + single direction or a single request-response transaction. Min: 30 + seconds. Max: 60 seconds. Default: 30 seconds. + """ + +class ConnectivityType(UnknownEnumMixin, StrEnum): + PRIVATE = "private" + PUBLIC = "public" + +class ContainerFormat(UnknownEnumMixin, StrEnum): + OVA = "ova" + +@dataclass(kw_only=True) +class ConversionTask(_SerdeShape): + """Describes a conversion task.""" + + conversion_task_id: str | None = ... + """The ID of the conversion task.""" + expiration_time: str | None = ... + """ + The time when the task expires. If the upload isn't complete before the + expiration time, we automatically cancel the task. + """ + import_instance: ImportInstanceTaskDetails | None = ... + """ + If the task is for importing an instance, this contains information + about the import instance task. + """ + import_volume: ImportVolumeTaskDetails | None = ... + """ + If the task is for importing a volume, this contains information about + the import volume task. + """ + state: str | None = ... + """The state of the conversion task.""" + status_message: str | None = ... + """The status message related to the conversion task.""" + tags: list[Tag] | None = ... + """Any tags assigned to the task.""" + +class ConversionTaskState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + CANCELLING = "cancelling" + CANCELLED = "cancelled" + COMPLETED = "completed" + +@dataclass(kw_only=True) +class CopyFpgaImageInput(_SerdeShape): + """Dataclass for CopyFpgaImageInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + source_fpga_image_id: str | None = ... + """The ID of the source AFI.""" + description: str | None = ... + """The description for the new AFI.""" + name: str | None = ... + """The name for the new AFI. The default is the name of the source AFI.""" + source_region: str | None = ... + """The Region that contains the source AFI.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + +@dataclass(kw_only=True) +class CopyFpgaImageOutput(_SerdeShape): + """Dataclass for CopyFpgaImageOutput structure.""" + + fpga_image_id: str | None = ... + """The ID of the new AFI.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CopyImageInput(_SerdeShape): + """Contains the parameters for CopyImage.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier you provide to ensure idempotency of + the request. For more information, see [Ensuring idempotency in Amazon + EC2 API + requests](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) + in the *Amazon EC2 API Reference*. + + This field is autopopulated if not provided. + """ + description: str | None = ... + """A description for the new AMI.""" + encrypted: bool | None = ... + """ + Specifies whether to encrypt the snapshots of the copied image. + + You can encrypt a copy of an unencrypted snapshot, but you cannot create + an unencrypted copy of an encrypted snapshot. The default KMS key for + Amazon EBS is used unless you specify a non-default Key Management + Service (KMS) KMS key using `KmsKeyId`. For more information, see [Use + encryption with EBS-backed + AMIs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html) + in the *Amazon EC2 User Guide*. + """ + kms_key_id: str | None = ... + """ + The identifier of the symmetric Key Management Service (KMS) KMS key to + use when creating encrypted volumes. If this parameter is not specified, + your Amazon Web Services managed KMS key for Amazon EBS is used. If you + specify a KMS key, you must also set the encrypted state to `true`. + + You can specify a KMS key using any of the following: + + - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. + + - Key alias. For example, alias/ExampleAlias. + + - Key ARN. For example, + arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. + + - Alias ARN. For example, + arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. + + Amazon Web Services authenticates the KMS key asynchronously. Therefore, + if you specify an identifier that is not valid, the action can appear to + complete, but eventually fails. + + The specified KMS key must exist in the destination Region. + + Amazon EBS does not support asymmetric KMS keys. + """ + name: str | None = ... + """The name of the new AMI.""" + source_image_id: str | None = ... + """The ID of the AMI to copy.""" + source_region: str | None = ... + """The name of the Region that contains the AMI to copy.""" + destination_outpost_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Outpost for the new AMI. + + Only specify this parameter when copying an AMI from an Amazon Web + Services Region to an Outpost. The AMI must be in the Region of the + destination Outpost. You can't copy an AMI from an Outpost to a Region, + from one Outpost to another, or within the same Outpost. + + For more information, see [Copy AMIs from an Amazon Web Services Region + to an + Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis) + in the *Amazon EBS User Guide*. + + Only one of `DestinationAvailabilityZone`, + `DestinationAvailabilityZoneId`, or `DestinationOutpostArn` can be + specified. + """ + copy_image_tags: bool | None = ... + """ + Specifies whether to copy your user-defined AMI tags to the new AMI. + + The following tags are not be copied: + + - System tags (prefixed with `aws:`) + + - For public and shared AMIs, user-defined tags that are attached by + other Amazon Web Services accounts, except tags with the + `ec2:SharedTag/` prefix. For more information about tag sharing, see + [Sharing + tags](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#sharing-tags) + in the *Amazon EC2 User Guide*. + + Default: Your user-defined AMI tags are not copied. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the new AMI and new snapshots. You can tag the AMI, + the snapshots, or both. + + - To tag the new AMI, the value for `ResourceType` must be `image`. + + - To tag the new snapshots, the value for `ResourceType` must be + `snapshot`. The same tag is applied to all the new snapshots. + + If you specify other values for `ResourceType`, the request fails. + + To tag an AMI or snapshot after it has been created, see + [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + """ + snapshot_copy_completion_duration_minutes: int | None = ... + """ + Specify a completion duration, in 15 minute increments, to initiate a + time-based AMI copy. The specified completion duration applies to each + of the snapshots associated with the AMI. Each snapshot associated with + the AMI will be completed within the specified completion duration, with + copy throughput automatically adjusted for each snapshot based on its + size to meet the timing target. + + If you do not specify a value, the AMI copy operation is completed on a + best-effort basis. + + Note: + This parameter is not supported when copying an AMI to or from a Local + Zone, or to an Outpost. + + For more information, see [Time-based copies for Amazon EBS snapshots + and EBS-backed + AMIs](https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html). + """ + destination_availability_zone: str | None = ... + """ + The Local Zone for the new AMI (for example, `cn-north-1-pkx-1a`). + + Only one of `DestinationAvailabilityZone`, + `DestinationAvailabilityZoneId`, or `DestinationOutpostArn` can be + specified. + """ + destination_availability_zone_id: str | None = ... + """ + The ID of the Local Zone for the new AMI (for example, `cnn1-pkx1-az1`). + + Only one of `DestinationAvailabilityZone`, + `DestinationAvailabilityZoneId`, or `DestinationOutpostArn` can be + specified. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CopyImageOutput(_SerdeShape): + """Contains the output of CopyImage.""" + + image_id: str | None = ... + """The ID of the new AMI.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CopySnapshotInput(_SerdeShape): + """Dataclass for CopySnapshotInput structure.""" + + description: str | None = ... + """A description for the EBS snapshot.""" + destination_outpost_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Outpost to which to copy the + snapshot. + + Note: + Only supported when copying a snapshot to an Outpost. + + For more information, see [Copy snapshots from an Amazon Web Services + Region to an + Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-snapshots) + in the *Amazon EBS User Guide*. + """ + destination_region: str | None = ... + """ + The destination Region to use in the `PresignedUrl` parameter of a + snapshot copy operation. This parameter is only valid for specifying the + destination Region in a `PresignedUrl` parameter, where it is required. + + The snapshot copy is sent to the regional endpoint that you sent the + HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the + CLI, this is specified using the `--region` parameter or the default + Region in your Amazon Web Services configuration file. + """ + encrypted: bool | None = ... + """ + To encrypt a copy of an unencrypted snapshot if encryption by default is + not enabled, enable encryption using this parameter. Otherwise, omit + this parameter. Copies of encrypted snapshots are encrypted, even if you + omit this parameter and encryption by default is not enabled. You cannot + set this parameter to false. For more information, see [Amazon EBS + encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html) + in the *Amazon EBS User Guide*. + """ + kms_key_id: str | None = ... + """ + The identifier of the KMS key to use for Amazon EBS encryption. If this + parameter is not specified, your KMS key for Amazon EBS is used. If + `KmsKeyId` is specified, the encrypted state must be `true`. + + You can specify the KMS key using any of the following: + + - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. + + - Key alias. For example, alias/ExampleAlias. + + - Key ARN. For example, + arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. + + - Alias ARN. For example, + arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. + + Amazon Web Services authenticates the KMS key asynchronously. Therefore, + if you specify an ID, alias, or ARN that is not valid, the action can + appear to complete, but eventually fails. + """ + presigned_url: str | None = ... + """ + When you copy an encrypted source snapshot using the Amazon EC2 Query + API, you must supply a pre-signed URL. This parameter is optional for + unencrypted snapshots. For more information, see [Query + requests](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html). + + The `PresignedUrl` should use the snapshot source endpoint, the + `CopySnapshot` action, and include the `SourceRegion`, + `SourceSnapshotId`, and `DestinationRegion` parameters. The + `PresignedUrl` must be signed using Amazon Web Services Signature + Version 4. Because EBS snapshots are stored in Amazon S3, the signing + algorithm for this parameter uses the same logic that is described in + [Authenticating Requests: Using Query Parameters (Amazon Web Services + Signature Version + 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + in the *Amazon S3 API Reference*. An invalid or improperly signed + `PresignedUrl` will cause the copy operation to fail asynchronously, and + the snapshot will move to an `error` state. + """ + source_region: str | None = ... + """The ID of the Region that contains the snapshot to be copied.""" + source_snapshot_id: str | None = ... + """The ID of the EBS snapshot to copy.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the new snapshot.""" + completion_duration_minutes: int | None = ... + """ + Note: + Not supported when copying snapshots to or from Local Zones or Outposts. + + Specify a completion duration, in 15 minute increments, to initiate a + time-based snapshot copy. Time-based snapshot copy operations complete + within the specified duration. For more information, see [Time-based + copies](https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html). + + If you do not specify a value, the snapshot copy operation is completed + on a best-effort basis. + """ + destination_availability_zone: str | None = ... + """ + The Local Zone, for example, `cn-north-1-pkx-1a` to which to copy the + snapshot. + + Note: + Only supported when copying a snapshot to a Local Zone. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CopySnapshotOutput(_SerdeShape): + """Dataclass for CopySnapshotOutput structure.""" + + tags: list[Tag] | None = ... + """Any tags applied to the new snapshot.""" + snapshot_id: str | None = ... + """The ID of the new snapshot.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CopyTagsFromSource(UnknownEnumMixin, StrEnum): + VOLUME = "volume" + +@dataclass(kw_only=True) +class CopyVolumesInput(_SerdeShape): + """Dataclass for CopyVolumesInput structure.""" + + source_volume_id: str | None = ... + """The ID of the source EBS volume to copy.""" + iops: int | None = ... + """ + The number of I/O operations per second (IOPS) to provision for the + volume copy. Required for `io1` and `io2` volumes. Optional for `gp3` + volumes. Omit for all other volume types. Full provisioned IOPS + performance can be achieved only once the volume copy is fully + initialized. + + Valid ranges: + + - gp3: `3,000 `(*default*)` - 80,000` IOPS + + - io1: `100 - 64,000` IOPS + + - io2: `100 - 256,000` IOPS + + Note: + [Instances built on the Nitro + System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) + can support up to 256,000 IOPS. Other instances can support up to 32,000 + IOPS. + """ + size: int | None = ... + """ + The size of the volume copy, in GiBs. The size must be equal to or + greater than the size of the source volume. If not specified, the size + defaults to the size of the source volume. + + Maximum supported sizes: + + - gp2: `16,384` GiB + + - gp3: `65,536` GiB + + - io1: `16,384` GiB + + - io2: `65,536` GiB + + - st1 and sc1: `16,384` GiB + + - standard: `1024` GiB + """ + volume_type: str | None = ... + """ + The volume type for the volume copy. If not specified, the volume type + defaults to `gp2`. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the volume copy during creation.""" + multi_attach_enabled: bool | None = ... + """ + Indicates whether to enable Amazon EBS Multi-Attach for the volume copy. + If you enable Multi-Attach, you can attach the volume to up to 16 Nitro + instances in the same Availability Zone simultaneously. Supported with + `io1` and `io2` volumes only. For more information, see [Amazon EBS + Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html). + """ + throughput: int | None = ... + """ + The throughput to provision for the volume copy, in MiB/s. Supported for + `gp3` volumes only. Omit for all other volume types. Full provisioned + throughput performance can be achieved only once the volume copy is + fully initialized. + + Valid Range: `125 - 2000` MiB/s + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + encrypted: bool | None = ... + """ + Indicates whether to encrypt the volume copy. If the source volume is + encrypted, the service always encrypts the copy regardless of this + value. Set to `true` to encrypt a copy of an unencrypted source volume + during the copy operation. If you set `Encrypted` to `true` but do not + specify `KmsKeyId`, the service uses the default KMS key for EBS + encryption in your account. + """ + kms_key_id: str | None = ... + """ + The identifier of the KMS key to use for encryption of the volume copy. + Specify a symmetric encryption KMS key. You can specify a KMS key using + the key ID, key ARN, alias name, or alias ARN. If you set `Encrypted` to + `true` but do not specify this parameter, the service uses the default + KMS key for EBS encryption in your account. For cross-account volume + copies, this must be a KMS key in the calling account. + """ + +@dataclass(kw_only=True) +class CopyVolumesOutput(_SerdeShape): + """Dataclass for CopyVolumesOutput structure.""" + + volumes: list[Volume] | None = ... + """Information about the volume copy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CpuManufacturer(UnknownEnumMixin, StrEnum): + INTEL = "intel" + AMD = "amd" + AMAZON_WEB_SERVICES = "amazon-web-services" + APPLE = "apple" + +@dataclass(kw_only=True) +class CpuOptions(_SerdeShape): + """The CPU options for the instance.""" + + core_count: int | None = ... + """The number of CPU cores for the instance.""" + threads_per_core: int | None = ... + """The number of threads per CPU core.""" + amd_sev_snp: str | None = ... + """ + Indicates whether the instance is enabled for AMD SEV-SNP. For more + information, see [AMD + SEV-SNP](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). + """ + nested_virtualization: str | None = ... + """Indicates whether the instance is enabled for nested virtualization.""" + +@dataclass(kw_only=True) +class CpuOptionsRequest(_SerdeShape): + """ + The CPU options for the instance. Both the core count and threads per + core must be specified in the request. + """ + + core_count: int | None = ... + """The number of CPU cores for the instance.""" + threads_per_core: int | None = ... + """ + The number of threads per CPU core. To disable multithreading for the + instance, specify a value of `1`. Otherwise, specify the default value + of `2`. + """ + amd_sev_snp: str | None = ... + """ + Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is + supported with M6a, R6a, and C6a instance types only. For more + information, see [AMD + SEV-SNP](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). + """ + nested_virtualization: str | None = ... + """ + Indicates whether to enable the instance for nested virtualization. + Nested virtualization is supported only on 8th generation Intel-based + instance types (c8i, m8i, r8i, and their flex variants). When nested + virtualization is enabled, Virtual Secure Mode (VSM) is automatically + disabled for the instance. + """ + +@dataclass(kw_only=True) +class CpuPerformanceFactor(_SerdeShape): + """ + The CPU performance to consider, using an instance family as the + baseline reference. + """ + + references: list[PerformanceFactorReference] | None = ... + """ + Specify an instance family to use as the baseline reference for CPU + performance. All instance types that match your specified attributes + will be compared against the CPU performance of the referenced instance + family, regardless of CPU manufacturer or architecture differences. + + Note: + Currently, only one instance family can be specified in the list. + """ + +@dataclass(kw_only=True) +class CpuPerformanceFactorRequest(_SerdeShape): + """ + The CPU performance to consider, using an instance family as the + baseline reference. + """ + + references: list[PerformanceFactorReferenceRequest] | None = ... + """ + Specify an instance family to use as the baseline reference for CPU + performance. All instance types that match your specified attributes + will be compared against the CPU performance of the referenced instance + family, regardless of CPU manufacturer or architecture differences. + + Note: + Currently, only one instance family can be specified in the list. + """ + +@dataclass(kw_only=True) +class CreateApplicationStatusCheckInput(_SerdeShape): + """Dataclass for CreateApplicationStatusCheckInput structure.""" + + health_check_paths: list[HealthCheckPathRequestObject] | None = ... + """ + The health check paths to use for the application status check. Health + check paths define the network path from a source subnet to one or more + destination subnets for cross-Availability Zone or Availability Zone to + Local Zone health checking. If omitted, health checks are performed in + the same subnet as the instance. + """ + aggregation: str | None = ... + """ + The aggregation setting for the application status check. When set to + `included`, the result of this check contributes to the instance-level + application status reported by `DescribeApplicationStatus`. When set to + `excluded`, the check runs independently and does not affect the + instance-level status. Valid values: `included` | `excluded`. + """ + protocol: str | None = ... + """ + The protocol to use for the health check. Valid values: `http` | + `https`. + """ + port: int | None = ... + """The port to use for the health check. Valid values: 1 to 65535.""" + path: str | None = ... + """ + The URL path to use for the health check HTTP request (for example, + `/health` or `/status`). + """ + device_index: int | None = ... + """ + The index of the network device to use for the health check. The value + must be greater than or equal to 0. + """ + ip_version: str | None = ... + """ + The IP version to use for the health check. Valid values: `ipv4` and + `ipv6`. + """ + ip_scope: str | None = ... + """The IP scope to use for the health check. Valid value: `private`.""" + interval: int | None = ... + """The interval, in seconds, between health checks. Valid value: 60.""" + timeout: int | None = ... + """ + The amount of time, in seconds, to wait for a health check response + before considering it failed. Valid values: 1 to 30. The value must be + less than `Interval`. + """ + failure_threshold: int | None = ... + """ + The number of consecutive failed health checks before the application + status is considered impaired. The value must be greater than 0. + """ + success_threshold: int | None = ... + """ + The number of consecutive successful health checks before the + application status is considered healthy. The value must be greater than + 0. + """ + status_code_matcher: str | None = ... + """ + The HTTP status codes that indicate a successful health check response. + Specify a comma-separated list of individual status codes or ranges, for + example, `200,202,300-399`. For a range, the first value must be less + than the second value. Maximum length: 64 characters. Default: `200`. + """ + initialization_grace_period_seconds: int | None = ... + """ + The number of seconds to wait before starting health checks after an + instance is launched. Valid values: 1 to 600. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the application status check.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure that the + operation completes no more than one time. If you retry a request with + the same token, the service ignores the request but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateApplicationStatusCheckOutput(_SerdeShape): + """Dataclass for CreateApplicationStatusCheckOutput structure.""" + + application_status_check: ApplicationStatusCheckResponseObject | None = ... + """Information about the application status check.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCapacityManagerDataExportInput(_SerdeShape): + """Dataclass for CreateCapacityManagerDataExportInput structure.""" + + s3_bucket_name: str | None = ... + """ + The name of the S3 bucket where the capacity data export files will be + delivered. The bucket must exist and you must have write permissions to + it. + """ + s3_bucket_prefix: str | None = ... + """ + The S3 key prefix for the exported data files. This allows you to + organize exports in a specific folder structure within your bucket. If + not specified, files are placed at the bucket root. + """ + schedule: str | None = ... + """The frequency at which data exports are generated.""" + output_format: str | None = ... + """ + The file format for the exported data. Parquet format is recommended for + large datasets and better compression. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see Ensure + Idempotency. + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the data export configuration. You can tag the + export for organization and cost tracking purposes. + """ + +@dataclass(kw_only=True) +class CreateCapacityManagerDataExportOutput(_SerdeShape): + """Dataclass for CreateCapacityManagerDataExportOutput structure.""" + + capacity_manager_data_export_id: str | None = ... + """ + The unique identifier for the created data export configuration. Use + this ID to reference the export in other API calls. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCapacityReservationBySplittingInput(_SerdeShape): + """Dataclass for CreateCapacityReservationBySplittingInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + source_capacity_reservation_id: str | None = ... + """ + The ID of the Capacity Reservation from which you want to split the + capacity. + """ + instance_count: int | None = ... + """The number of instances to split from the source Capacity Reservation.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the new Capacity Reservation.""" + +@dataclass(kw_only=True) +class CreateCapacityReservationBySplittingOutput(_SerdeShape): + """Dataclass for CreateCapacityReservationBySplittingOutput structure.""" + + source_capacity_reservation: CapacityReservation | None = ... + """Information about the source Capacity Reservation.""" + destination_capacity_reservation: CapacityReservation | None = ... + """Information about the destination Capacity Reservation.""" + instance_count: int | None = ... + """ + The number of instances in the new Capacity Reservation. The number of + instances in the source Capacity Reservation was reduced by this amount. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCapacityReservationCancellationQuoteInput(_SerdeShape): + """Dataclass for CreateCapacityReservationCancellationQuoteInput structure.""" + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the cancellation quote.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateCapacityReservationCancellationQuoteOutput(_SerdeShape): + """ + Dataclass for CreateCapacityReservationCancellationQuoteOutput + structure. + """ + + capacity_reservation_cancellation_quote: ( + CapacityReservationCancellationQuote | None + ) = ... + """Information about the Capacity Reservation cancellation quote.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCapacityReservationDateChangeQuoteInput(_SerdeShape): + """Dataclass for CreateCapacityReservationDateChangeQuoteInput structure.""" + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + new_start_date: datetime | None = ... + """ + The requested new start date for the Capacity Reservation, in the + ISO8601 format in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). The + new start date must be later than the current start date and within the + cumulative 30-day pushout limit. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the date change quote.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateCapacityReservationDateChangeQuoteOutput(_SerdeShape): + """Dataclass for CreateCapacityReservationDateChangeQuoteOutput structure.""" + + capacity_reservation_modification_quote: ( + CapacityReservationModificationQuote | None + ) = ... + """Information about the Capacity Reservation date change quote.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCapacityReservationFleetInput(_SerdeShape): + """Dataclass for CreateCapacityReservationFleetInput structure.""" + + allocation_strategy: str | None = ... + """ + The strategy used by the Capacity Reservation Fleet to determine which + of the specified instance types to use. Currently, only the + `prioritized` allocation strategy is supported. For more information, + see [Allocation + strategy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy) + in the *Amazon EC2 User Guide*. + + Valid values: `prioritized` + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + instance_type_specifications: ( + list[ReservationFleetInstanceSpecification] | None + ) = ... + """Information about the instance types for which to reserve the capacity.""" + instance_requirements: InstanceRequirementsRequest | None = ... + """Reserved for internal use.""" + availability_zone: str | None = ... + """Reserved for internal use.""" + availability_zone_id: str | None = ... + """Reserved for internal use.""" + tenancy: str | None = ... + """ + Indicates the tenancy of the Capacity Reservation Fleet. All Capacity + Reservations in the Fleet inherit this tenancy. The Capacity Reservation + Fleet can have one of the following tenancy settings: + + - `default` - The Capacity Reservation Fleet is created on hardware that + is shared with other Amazon Web Services accounts. + + - `dedicated` - The Capacity Reservations are created on single-tenant + hardware that is dedicated to a single Amazon Web Services account. + """ + total_target_capacity: int | None = ... + """ + The total number of capacity units to be reserved by the Capacity + Reservation Fleet. This value, together with the instance type weights + that you assign to each instance type used by the Fleet determine the + number of instances for which the Fleet reserves capacity. Both values + are based on units that make sense for your workload. For more + information, see [Total target + capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) + in the *Amazon EC2 User Guide*. + """ + end_date: datetime | None = ... + """ + The date and time at which the Capacity Reservation Fleet expires. When + the Capacity Reservation Fleet expires, its state changes to `expired` + and all of the Capacity Reservations in the Fleet expire. + + The Capacity Reservation Fleet expires within an hour after the + specified time. For example, if you specify `5/31/2019`, `13:30:55`, the + Capacity Reservation Fleet is guaranteed to expire between `13:30:55` + and `14:30:55` on `5/31/2019`. + """ + instance_match_criteria: str | None = ... + """ + Indicates the type of instance launches that the Capacity Reservation + Fleet accepts. All Capacity Reservations in the Fleet inherit this + instance matching criteria. + + Currently, Capacity Reservation Fleets support `open` instance matching + criteria only. This means that instances that have matching attributes + (instance type, platform, and Availability Zone) run in the Capacity + Reservations automatically. Instances do not need to explicitly target a + Capacity Reservation Fleet to use its reserved capacity. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to assign to the Capacity Reservation Fleet. The tags are + automatically assigned to the Capacity Reservations in the Fleet. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateCapacityReservationFleetOutput(_SerdeShape): + """Dataclass for CreateCapacityReservationFleetOutput structure.""" + + capacity_reservation_fleet_id: str | None = ... + """The ID of the Capacity Reservation Fleet.""" + state: str | None = ... + """The status of the Capacity Reservation Fleet.""" + total_target_capacity: int | None = ... + """ + The total number of capacity units for which the Capacity Reservation + Fleet reserves capacity. + """ + total_fulfilled_capacity: float | None = ... + """The requested capacity units that have been successfully reserved.""" + instance_match_criteria: str | None = ... + """The instance matching criteria for the Capacity Reservation Fleet.""" + allocation_strategy: str | None = ... + """The allocation strategy used by the Capacity Reservation Fleet.""" + create_time: datetime | None = ... + """The date and time at which the Capacity Reservation Fleet was created.""" + end_date: datetime | None = ... + """The date and time at which the Capacity Reservation Fleet expires.""" + tenancy: str | None = ... + """Indicates the tenancy of Capacity Reservation Fleet.""" + fleet_capacity_reservations: list[FleetCapacityReservation] | None = ... + """ + Information about the individual Capacity Reservations in the Capacity + Reservation Fleet. + """ + tags: list[Tag] | None = ... + """The tags assigned to the Capacity Reservation Fleet.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCapacityReservationInput(_SerdeShape): + """Dataclass for CreateCapacityReservationInput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + instance_type: str | None = ... + """ + The instance type for which to reserve capacity. + + Note: + You can request future-dated Capacity Reservations for instance types in + the C, M, R, I, T, and G instance families only. + + For more information, see [Instance + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + in the *Amazon EC2 User Guide*. + """ + instance_platform: str | None = ... + """The type of operating system for which to reserve capacity.""" + availability_zone: str | None = ... + """The Availability Zone in which to create the Capacity Reservation.""" + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which to create the Capacity + Reservation. + """ + tenancy: str | None = ... + """ + Indicates the tenancy of the Capacity Reservation. A Capacity + Reservation can have one of the following tenancy settings: + + - `default` - The Capacity Reservation is created on hardware that is + shared with other Amazon Web Services accounts. + + - `dedicated` - The Capacity Reservation is created on single-tenant + hardware that is dedicated to a single Amazon Web Services account. + """ + instance_count: int | None = ... + """ + The number of instances for which to reserve capacity. + + Note: + You can request future-dated Capacity Reservations for an instance count + with a minimum of 32 vCPUs. For example, if you request a future-dated + Capacity Reservation for `m5.xlarge` instances, you must request at + least 8 instances (*8 * m5.xlarge = 32 vCPUs*). + + Valid range: 1 - 1000 + """ + ebs_optimized: bool | None = ... + """ + Indicates whether the Capacity Reservation supports EBS-optimized + instances. This optimization provides dedicated throughput to Amazon EBS + and an optimized configuration stack to provide optimal I/O performance. + This optimization isn't available with all instance types. Additional + usage charges apply when using an EBS- optimized instance. + """ + ephemeral_storage: bool | None = ... + """*Deprecated.*""" + end_date: datetime | None = ... + """ + The date and time at which the Capacity Reservation expires. When a + Capacity Reservation expires, the reserved capacity is released and you + can no longer launch instances into it. The Capacity Reservation's + state changes to `expired` when it reaches its end date and time. + + You must provide an `EndDate` value if `EndDateType` is `limited`. Omit + `EndDate` if `EndDateType` is `unlimited`. + + If the `EndDateType` is `limited`, the Capacity Reservation is cancelled + within an hour from the specified time. For example, if you specify + 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end + between 13:30:55 and 14:30:55 on 5/31/2019. + + If you are requesting a future-dated Capacity Reservation, you can't + specify an end date and time that is within the commitment duration. + """ + end_date_type: str | None = ... + """ + Indicates the way in which the Capacity Reservation ends. A Capacity + Reservation can have one of the following end types: + + - `unlimited` - The Capacity Reservation remains active until you + explicitly cancel it. Do not provide an `EndDate` if the `EndDateType` + is `unlimited`. + + - `limited` - The Capacity Reservation expires automatically at a + specified date and time. You must provide an `EndDate` value if the + `EndDateType` value is `limited`. + """ + instance_match_criteria: str | None = ... + """ + Indicates the type of instance launches that the Capacity Reservation + accepts. The options include: + + - `open` - The Capacity Reservation automatically matches all instances + that have matching attributes (instance type, platform, and + Availability Zone). Instances that have matching attributes run in the + Capacity Reservation automatically without specifying any additional + parameters. + + - `targeted` - The Capacity Reservation only accepts instances that have + matching attributes (instance type, platform, and Availability Zone), + and explicitly target the Capacity Reservation. This ensures that only + permitted instances can use the reserved capacity. + + Note: + If you are requesting a future-dated Capacity Reservation, you must + specify `targeted`. + + Default: `open` + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the Capacity Reservation during launch.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + outpost_arn: str | None = ... + """ + Note: + Not supported for future-dated Capacity Reservations. + + The Amazon Resource Name (ARN) of the Outpost on which to create the + Capacity Reservation. + """ + placement_group_arn: str | None = ... + """ + Note: + Not supported for future-dated Capacity Reservations. + + The Amazon Resource Name (ARN) of the cluster placement group in which + to create the Capacity Reservation. For more information, see [Capacity + Reservations for cluster placement + groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html) + in the *Amazon EC2 User Guide*. + """ + start_date: datetime | None = ... + """ + Note: + Required for future-dated Capacity Reservations only. To create a + Capacity Reservation for immediate use, omit this parameter. + + The date and time at which the future-dated Capacity Reservation should + become available for use, in the ISO8601 format in the UTC time zone + (`YYYY-MM-DDThh:mm:ss.sssZ`). + + You can request a future-dated Capacity Reservation between 5 and 120 + days in advance. + """ + commitment_duration: int | None = ... + """ + Note: + Required for future-dated Capacity Reservations only. To create a + Capacity Reservation for immediate use, omit this parameter. + + Specify a commitment duration, in seconds, for the future-dated Capacity + Reservation. + + The commitment duration is a minimum duration for which you commit to + having the future-dated Capacity Reservation in the `active` state in + your account after it has been delivered. + + For more information, see [Commitment + duration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-concepts.html#cr-commitment-duration). + """ + delivery_preference: str | None = ... + """ + Note: + Required for future-dated Capacity Reservations only. To create a + Capacity Reservation for immediate use, omit this parameter. + + Indicates that the requested capacity will be delivered in addition to + any running instances or reserved capacity that you have in your account + at the requested date and time. + + The only supported value is `incremental`. + """ + +@dataclass(kw_only=True) +class CreateCapacityReservationOutput(_SerdeShape): + """Dataclass for CreateCapacityReservationOutput structure.""" + + capacity_reservation: CapacityReservation | None = ... + """Information about the Capacity Reservation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCarrierGatewayInput(_SerdeShape): + """Dataclass for CreateCarrierGatewayInput structure.""" + + vpc_id: str | None = ... + """The ID of the VPC to associate with the carrier gateway.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to associate with the carrier gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateCarrierGatewayOutput(_SerdeShape): + """Dataclass for CreateCarrierGatewayOutput structure.""" + + carrier_gateway: CarrierGateway | None = ... + """Information about the carrier gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateClientVpnEndpointInput(_SerdeShape): + """Dataclass for CreateClientVpnEndpointInput structure.""" + + client_cidr_block: str | None = ... + """ + The IPv4 address range, in CIDR notation, from which to assign client IP + addresses. The address range cannot overlap with the local CIDR of the + VPC in which the associated subnet is located, or the routes that you + add manually. The address range cannot be changed after the Client VPN + endpoint has been created. Client CIDR range must have a size of at + least /22 and must not be greater than /12. + """ + server_certificate_arn: str | None = ... + """ + The ARN of the server certificate. For more information, see the + [Certificate Manager User + Guide](https://docs.aws.amazon.com/acm/latest/userguide/). + """ + authentication_options: list[ClientVpnAuthenticationRequest] | None = ... + """ + Information about the authentication method to be used to authenticate + clients. + """ + connection_log_options: ConnectionLogOptions | None = ... + """ + Information about the client connection logging options. + + If you enable client connection logging, data about client connections + is sent to a Cloudwatch Logs log stream. The following information is + logged: + + - Client connection requests + + - Client connection results (successful and unsuccessful) + + - Reasons for unsuccessful client connection requests + + - Client connection termination time + """ + dns_servers: list[str] | None = ... + """ + Information about the DNS servers to be used for DNS resolution. A + Client VPN endpoint can have up to two DNS servers. If no DNS server is + specified, the DNS address configured on the device is used for the DNS + server. + """ + transport_protocol: str | None = ... + """ + The transport protocol to be used by the VPN session. + + Default value: `udp` + """ + vpn_port: int | None = ... + """ + The port number to assign to the Client VPN endpoint for TCP and UDP + traffic. + + Valid Values: `443` | `1194` + + Default Value: `443` + """ + description: str | None = ... + """A brief description of the Client VPN endpoint.""" + split_tunnel: bool | None = ... + """ + Indicates whether split-tunnel is enabled on the Client VPN endpoint. + + By default, split-tunnel on a VPN endpoint is disabled. + + For information about split-tunnel VPN endpoints, see [Split-tunnel + Client VPN + endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) + in the *Client VPN Administrator Guide*. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the Client VPN endpoint during creation.""" + security_group_ids: list[str] | None = ... + """ + The IDs of one or more security groups to apply to the target network. + You must also specify the ID of the VPC that contains the security + groups. + """ + vpc_id: str | None = ... + """ + The ID of the VPC to associate with the Client VPN endpoint. If no + security group IDs are specified in the request, the default security + group for the VPC is applied. + """ + self_service_portal: str | None = ... + """ + Specify whether to enable the self-service portal for the Client VPN + endpoint. + + Default Value: `enabled` + """ + client_connect_options: ClientConnectOptions | None = ... + """ + The options for managing connection authorization for new client + connections. + """ + session_timeout_hours: int | None = ... + """ + The maximum VPN session duration time in hours. + + Valid values: `8 | 10 | 12 | 24` + + Default value: `24` + """ + client_login_banner_options: ClientLoginBannerOptions | None = ... + """ + Options for enabling a customizable text banner that will be displayed + on Amazon Web Services provided clients when a VPN session is + established. + """ + client_route_enforcement_options: ClientRouteEnforcementOptions | None = ... + """ + Client route enforcement is a feature of the Client VPN service that + helps enforce administrator defined routes on devices connected through + the VPN. T his feature helps improve your security posture by ensuring + that network traffic originating from a connected client is not + inadvertently sent outside the VPN tunnel. + + Client route enforcement works by monitoring the route table of a + connected device for routing policy changes to the VPN connection. If + the feature detects any VPN routing policy modifications, it will + automatically force an update to the route table, reverting it back to + the expected route configurations. + """ + disconnect_on_session_timeout: bool | None = ... + """ + Indicates whether the client VPN session is disconnected after the + maximum timeout specified in `SessionTimeoutHours` is reached. If + `true`, users are prompted to reconnect client VPN. If `false`, client + VPN attempts to reconnect automatically. The default value is `true`. + """ + endpoint_ip_address_type: str | None = ... + """ + The IP address type for the Client VPN endpoint. Valid values are `ipv4` + (default) for IPv4 addressing only, `ipv6` for IPv6 addressing only, or + `dual-stack` for both IPv4 and IPv6 addressing. When set to + `dual-stack,` clients can connect to the endpoint using either IPv4 or + IPv6 addresses.. + """ + traffic_ip_address_type: str | None = ... + """ + The IP address type for traffic within the Client VPN tunnel. Valid + values are `ipv4` (default) for IPv4 traffic only, `ipv6` for IPv6 + addressing only, or `dual-stack` for both IPv4 and IPv6 traffic. When + set to `dual-stack`, clients can access both IPv4 and IPv6 resources + through the VPN . + """ + transit_gateway_configuration: ( + TransitGatewayConfigurationInputStructure | None + ) = ... + """ + The Transit Gateway configuration for the Client VPN endpoint. Use this + parameter to associate the endpoint with a Transit Gateway instead of a + VPC. You cannot specify both `TransitGatewayConfiguration` and + `VpcId`/`SecurityGroupIds`. + """ + device_posture_options: DevicePostureOptions | None = ... + """ + The device posture options for the Client VPN endpoint. Use this + parameter to specify the device trust providers that the endpoint uses + to evaluate the security posture of connecting devices. + """ + +@dataclass(kw_only=True) +class CreateClientVpnEndpointOutput(_SerdeShape): + """Dataclass for CreateClientVpnEndpointOutput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + status: ClientVpnEndpointStatus | None = ... + """The current state of the Client VPN endpoint.""" + dns_name: str | None = ... + """The DNS name to be used by clients when establishing their VPN session.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateClientVpnRouteInput(_SerdeShape): + """Dataclass for CreateClientVpnRouteInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint to which to add the route.""" + destination_cidr_block: str | None = ... + """ + The IPv4 address range, in CIDR notation, of the route destination. For + example: + + - To add a route for Internet access, enter `0.0.0.0/0` + + - To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR + range + + - To add a route for an on-premises network, enter the Amazon Web + Services Site-to-Site VPN connection's IPv4 CIDR range + + - To add a route for the local network, enter the client CIDR range + """ + target_vpc_subnet_id: str | None = ... + """ + The ID of the subnet through which you want to route traffic. The + specified subnet must be an existing target network of the Client VPN + endpoint. + + Alternatively, if you're adding a route for the local network, specify + `local`. + + This parameter is required for VPC-based Client VPN endpoints. For + Transit Gateway-based endpoints, this parameter is not required. + """ + description: str | None = ... + """A brief description of the route.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateClientVpnRouteOutput(_SerdeShape): + """Dataclass for CreateClientVpnRouteOutput structure.""" + + status: ClientVpnRouteStatus | None = ... + """The current state of the route.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCoipCidrInput(_SerdeShape): + """Dataclass for CreateCoipCidrInput structure.""" + + cidr: str | None = ... + """A customer-owned IP address range to create.""" + coip_pool_id: str | None = ... + """The ID of the address pool.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateCoipCidrOutput(_SerdeShape): + """Dataclass for CreateCoipCidrOutput structure.""" + + coip_cidr: CoipCidr | None = ... + """Information about a range of customer-owned IP addresses.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCoipPoolInput(_SerdeShape): + """Dataclass for CreateCoipPoolInput structure.""" + + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the CoIP address pool.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateCoipPoolOutput(_SerdeShape): + """Dataclass for CreateCoipPoolOutput structure.""" + + coip_pool: CoipPool | None = ... + """Information about the CoIP address pool.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCustomerGatewayInput(_SerdeShape): + """Contains the parameters for CreateCustomerGateway.""" + + bgp_asn: int | None = ... + """ + For customer gateway devices that support BGP, specify the device's + ASN. You must specify either `BgpAsn` or `BgpAsnExtended` when creating + the customer gateway. If the ASN is larger than `2,147,483,647`, you + must use `BgpAsnExtended`. + + Default: 65000 + + Valid values: `1` to `2,147,483,647` + """ + public_ip: str | None = ... + """ + *This member has been deprecated.* The Internet-routable IP address for + the customer gateway's outside interface. The address must be static. + """ + certificate_arn: str | None = ... + """The Amazon Resource Name (ARN) for the customer gateway certificate.""" + type: str | None = ... + """ + The type of VPN connection that this customer gateway supports + (`ipsec.1`). + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the customer gateway.""" + device_name: str | None = ... + """ + A name for the customer gateway device. + + Length Constraints: Up to 255 characters. + """ + ip_address: str | None = ... + """ + The IP address for the customer gateway device's outside interface. The + address must be static. If `OutsideIpAddressType` in your VPN connection + options is set to `PrivateIpv4`, you can use an RFC6598 or RFC1918 + private IPv4 address. If `OutsideIpAddressType` is set to `Ipv6`, you + can use an IPv6 address. + """ + bgp_asn_extended: int | None = ... + """ + For customer gateway devices that support BGP, specify the device's + ASN. You must specify either `BgpAsn` or `BgpAsnExtended` when creating + the customer gateway. If the ASN is larger than `2,147,483,647`, you + must use `BgpAsnExtended`. + + Valid values: `2,147,483,648` to `4,294,967,295` + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateCustomerGatewayOutput(_SerdeShape): + """Contains the output of CreateCustomerGateway.""" + + customer_gateway: CustomerGateway | None = ... + """Information about the customer gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDefaultSubnetInput(_SerdeShape): + """Dataclass for CreateDefaultSubnetInput structure.""" + + availability_zone: str | None = ... + """ + The Availability Zone in which to create the default subnet. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but + not both. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + ipv6_native: bool | None = ... + """ + Indicates whether to create an IPv6 only subnet. If you already have a + default subnet for this Availability Zone, you must delete it before you + can create an IPv6 only subnet. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but + not both. + """ + +@dataclass(kw_only=True) +class CreateDefaultSubnetOutput(_SerdeShape): + """Dataclass for CreateDefaultSubnetOutput structure.""" + + subnet: Subnet | None = ... + """Information about the subnet.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDefaultVpcInput(_SerdeShape): + """Dataclass for CreateDefaultVpcInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateDefaultVpcOutput(_SerdeShape): + """Dataclass for CreateDefaultVpcOutput structure.""" + + vpc: Vpc | None = ... + """Information about the VPC.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDelegateMacVolumeOwnershipTaskInput(_SerdeShape): + """Dataclass for CreateDelegateMacVolumeOwnershipTaskInput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the Amazon EC2 Mac instance.""" + mac_credentials: str | None = ... + """ + Specifies the following credentials: + + - **Internal disk administrative user** + + - **Username** - Only the default administrative user + (`aws-managed-user`) is supported and it is used by default. You + can't specify a different administrative user. + + - **Password** - If you did not change the default password for + `aws-managed-user`, specify the default password, which is *blank*. + Otherwise, specify your password. + + - **Amazon EBS root volume administrative user** + + - **Username** - If you did not change the default administrative + user, specify `ec2-user`. Otherwise, specify the username for your + administrative user. + + - **Password** - Specify the password for the administrative user. + + The credentials must be specified in the following JSON format: + + `{ "internalDiskPassword":"`*`internal-disk-admin_password`*`", "rootVolumeUsername":"`*`root-volume-admin_username`*`", "rootVolumepassword":"`*`root-volume-admin_password`*`" }` + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the volume ownership delegation task.""" + +@dataclass(kw_only=True) +class CreateDelegateMacVolumeOwnershipTaskOutput(_SerdeShape): + """Dataclass for CreateDelegateMacVolumeOwnershipTaskOutput structure.""" + + mac_modification_task: MacModificationTask | None = ... + """Information about the volume ownership delegation task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDhcpOptionsInput(_SerdeShape): + """Dataclass for CreateDhcpOptionsInput structure.""" + + dhcp_configurations: list[NewDhcpConfiguration] | None = ... + """A DHCP configuration option.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the DHCP option.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateDhcpOptionsOutput(_SerdeShape): + """Dataclass for CreateDhcpOptionsOutput structure.""" + + dhcp_options: DhcpOptions | None = ... + """A set of DHCP options.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateEgressOnlyInternetGatewayInput(_SerdeShape): + """Dataclass for CreateEgressOnlyInternetGatewayInput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_id: str | None = ... + """The ID of the VPC for which to create the egress-only internet gateway.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the egress-only internet gateway.""" + +@dataclass(kw_only=True) +class CreateEgressOnlyInternetGatewayOutput(_SerdeShape): + """Dataclass for CreateEgressOnlyInternetGatewayOutput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + """ + egress_only_internet_gateway: EgressOnlyInternetGateway | None = ... + """Information about the egress-only internet gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFleetError(_SerdeShape): + """Describes the instances that could not be launched by the fleet.""" + + launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ... + """ + The launch templates and overrides that were used for launching the + instances. The values that you specify in the Overrides replace the + values in the launch template. + """ + lifecycle: str | None = ... + """ + Indicates if the instance that could not be launched was a Spot, + On-Demand, Capacity Block for ML, or interruptible Capacity Reservation + instance. If you are using `ReservedCapacityOptions` with + `on-demand-capacity-reservation` in the `ReservationTypes` list, the + value can also be `on-demand-capacity-reservation`. + """ + error_code: str | None = ... + """ + The error code that indicates why the instance could not be launched. + For more information about error codes, see [Error + codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + """ + error_message: str | None = ... + """ + The error message that describes why the instance could not be launched. + For more information about error messages, see [Error + codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + """ + +@dataclass(kw_only=True) +class CreateFleetInput(_SerdeShape): + """Dataclass for CreateFleetInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. If you do not specify a client token, a + randomly generated token is used for the request to ensure idempotency. + + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + spot_options: SpotOptionsRequest | None = ... + """Describes the configuration of Spot Instances in an EC2 Fleet.""" + on_demand_options: OnDemandOptionsRequest | None = ... + """Describes the configuration of On-Demand Instances in an EC2 Fleet.""" + reserved_capacity_options: ReservedCapacityOptionsRequest | None = ... + """ + Defines EC2 Fleet preferences for utilizing reserved capacity when + DefaultTargetCapacityType is set to `reserved-capacity`. + + Supported only for fleets of type `instant`. + """ + excess_capacity_termination_policy: str | None = ... + """ + Indicates whether running instances should be terminated if the total + target capacity of the EC2 Fleet is decreased below the current size of + the EC2 Fleet. + + Supported only for fleets of type `maintain`. + """ + launch_template_configs: list[FleetLaunchTemplateConfigRequest] | None = ... + """The configuration for the EC2 Fleet.""" + target_capacity_specification: TargetCapacitySpecificationRequest | None = ... + """The number of units to request.""" + terminate_instances_with_expiration: bool | None = ... + """ + Indicates whether running instances should be terminated when the EC2 + Fleet expires. + """ + type: str | None = ... + """ + The fleet type. The default value is `maintain`. + + - `maintain` - The EC2 Fleet places an asynchronous request for your + desired capacity, and continues to maintain your desired Spot capacity + by replenishing interrupted Spot Instances. + + - `request` - The EC2 Fleet places an asynchronous one-time request for + your desired capacity, but does submit Spot requests in alternative + capacity pools if Spot capacity is unavailable, and does not maintain + Spot capacity if Spot Instances are interrupted. + + - `instant` - The EC2 Fleet places a synchronous one-time request for + your desired capacity, and returns errors for any instances that could + not be launched. + + For more information, see [EC2 Fleet request + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-request-type.html) + in the *Amazon EC2 User Guide*. + """ + valid_from: datetime | None = ... + """ + The start date and time of the request, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). The default is to start fulfilling + the request immediately. + """ + valid_until: datetime | None = ... + """ + The end date and time of the request, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). At this point, no new EC2 Fleet + requests are placed or able to fulfill the request. If no value is + specified, the request remains until you cancel it. + """ + replace_unhealthy_instances: bool | None = ... + """ + Indicates whether EC2 Fleet should replace unhealthy Spot Instances. + Supported only for fleets of type `maintain`. For more information, see + [EC2 Fleet health + checks](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks) + in the *Amazon EC2 User Guide*. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The key-value pair for tagging the EC2 Fleet request on creation. For + more information, see [Tag your + resources](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources). + + If the fleet type is `instant`, specify a resource type of `fleet` to + tag the fleet, `instance` to tag the instances at launch, `volume` to + tag the volumes at launch, or `network-interface` to tag the network + interfaces at launch. + + If the fleet type is `maintain` or `request`, specify a resource type of + `fleet` to tag the fleet. You cannot specify a resource type of + `instance`, `volume`, or `network-interface`. To tag instances at + launch, specify the tags in a [launch + template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template). + """ + context: str | None = ... + """Reserved.""" + +@dataclass(kw_only=True) +class CreateFleetInstance(_SerdeShape): + """Describes the instances that were launched by the fleet.""" + + launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ... + """ + The launch templates and overrides that were used for launching the + instances. The values that you specify in the Overrides replace the + values in the launch template. + """ + lifecycle: str | None = ... + """ + Indicates if the instance that was launched is a Spot, On-Demand, + Capacity Block for ML, or interruptible Capacity Reservation instance. + """ + instance_ids: list[str] | None = ... + """The IDs of the instances.""" + instance_type: str | None = ... + """The instance type.""" + platform: str | None = ... + """ + The value is `windows` for Windows instances in an EC2 Fleet. Otherwise, + the value is blank. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which the instance was launched. For + example, `use2-az1`. + + Supported only for fleets of type `instant`. + """ + availability_zone: str | None = ... + """ + The name of the Availability Zone in which the instance was launched. + For example, `us-east-2a`. + + Supported only for fleets of type `instant`. + """ + subnet_id: str | None = ... + """ + The ID of the subnet in which the instance was launched. + + Supported only for fleets of type `instant`. + """ + +@dataclass(kw_only=True) +class CreateFleetOutput(_SerdeShape): + """Dataclass for CreateFleetOutput structure.""" + + fleet_id: str | None = ... + """The ID of the EC2 Fleet.""" + errors: list[CreateFleetError] | None = ... + """ + Information about the instances that could not be launched by the fleet. + Supported only for fleets of type `instant`. + """ + instances: list[CreateFleetInstance] | None = ... + """ + Information about the instances that were launched by the fleet. + Supported only for fleets of type `instant`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFlowLogsInput(_SerdeShape): + """Dataclass for CreateFlowLogsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + deliver_logs_permission_arn: str | None = ... + """ + The ARN of the IAM role that allows Amazon EC2 to publish flow logs to + the log destination. + + This parameter is required if the destination type is + `cloud-watch-logs`, or if the destination type is + `kinesis-data-firehose` and the delivery stream and the resources to + monitor are in different accounts. + """ + deliver_cross_account_role: str | None = ... + """ + The ARN of the IAM role that allows Amazon EC2 to publish flow logs + across accounts. + """ + log_group_name: str | None = ... + """ + The name of a new or existing CloudWatch Logs log group where Amazon EC2 + publishes your flow logs. + + This parameter is valid only if the destination type is + `cloud-watch-logs`. + """ + resource_ids: list[str] | None = ... + """ + The IDs of the resources to monitor. For example, if the resource type + is `VPC`, specify the IDs of the VPCs. + + Constraints: Maximum of 25 for transit gateway resource types. Maximum + of 300 for the other resource types. + """ + resource_type: str | None = ... + """The type of resource to monitor.""" + traffic_type: str | None = ... + """ + The type of traffic to monitor (accepted traffic, rejected traffic, or + all traffic). This parameter is not supported for transit gateway or + Cloud WAN resource types. It is required for the other resource types. + """ + log_destination_type: str | None = ... + """ + The type of destination for the flow log data. + + Default: `cloud-watch-logs` + """ + log_destination: str | None = ... + """ + The destination for the flow log data. The meaning of this parameter + depends on the destination type. + + - If the destination type is `cloud-watch-logs`, specify the ARN of a + CloudWatch Logs log group. For example: + + arn:aws:logs:*region*:*account_id*:log-group:*my_group* + + Alternatively, use the `LogGroupName` parameter. + + - If the destination type is `s3`, specify the ARN of an S3 bucket. For + example: + + arn:aws:s3\\:::*my_bucket*/*my_subfolder*/ + + The subfolder is optional. Note that you can't use `AWSLogs` as a + subfolder name. + + - If the destination type is `kinesis-data-firehose`, specify the ARN of + a Kinesis Data Firehose delivery stream. For example: + + arn:aws:firehose:*region*:*account_id*:deliverystream:*my_stream* + """ + log_format: str | None = ... + """ + The fields to include in the flow log record. List the fields in the + order in which they should appear. If you omit this parameter, the flow + log is created using the default format. If you specify this parameter, + you must include at least one field. For more information about the + available fields, see [Flow log + records](https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html) + in the *Amazon VPC User Guide*, [Transit Gateway Flow Log + records](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records) + in the *Amazon Web Services Transit Gateway Guide*, or [Cloud WAN Flow + Log + records](https://docs.aws.amazon.com/network-manager/latest/cloudwan/cwan-flow-logs.html) + in the *Amazon Web Services Cloud WAN User Guide*. + + Specify the fields using the `${field-id}` format, separated by spaces. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the flow logs.""" + max_aggregation_interval: int | None = ... + """ + The maximum interval of time during which a flow of packets is captured + and aggregated into a flow log record. The possible values are 60 + seconds (1 minute) or 600 seconds (10 minutes). This parameter must be + 60 seconds for transit gateway and Cloud WAN resource types. + + When a network interface is attached to a [Nitro-based + instance](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html), + the aggregation interval is always 60 seconds or less, regardless of the + value that you specify. + + Default: 600 + """ + destination_options: DestinationOptionsRequest | None = ... + """The destination options.""" + tag_field_specifications: list[TagFieldSpecificationRequest] | None = ... + """ + The tag configuration associated with the Flow Logs Amazon EC2 Tags + feature fields in your custom log format. + """ + +@dataclass(kw_only=True) +class CreateFlowLogsOutput(_SerdeShape): + """Dataclass for CreateFlowLogsOutput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + """ + flow_log_ids: list[str] | None = ... + """The IDs of the flow logs.""" + unsuccessful: list[UnsuccessfulItem] | None = ... + """Information about the flow logs that could not be created successfully.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFpgaImageInput(_SerdeShape): + """Dataclass for CreateFpgaImageInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + input_storage_location: StorageLocation | None = ... + """ + The location of the encrypted design checkpoint in Amazon S3. The input + must be a tarball. + """ + logs_storage_location: StorageLocation | None = ... + """The location in Amazon S3 for the output logs.""" + description: str | None = ... + """A description for the AFI.""" + name: str | None = ... + """A name for the AFI.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the FPGA image during creation.""" + +@dataclass(kw_only=True) +class CreateFpgaImageOutput(_SerdeShape): + """Dataclass for CreateFpgaImageOutput structure.""" + + fpga_image_id: str | None = ... + """The FPGA image identifier (AFI ID).""" + fpga_image_global_id: str | None = ... + """The global FPGA image identifier (AGFI ID).""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateImageInput(_SerdeShape): + """Dataclass for CreateImageInput structure.""" + + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the AMI and snapshots on creation. You can tag the + AMI, the snapshots, or both. + + - To tag the AMI, the value for `ResourceType` must be `image`. + + - To tag the snapshots that are created of the root volume and of other + Amazon EBS volumes that are attached to the instance, the value for + `ResourceType` must be `snapshot`. The same tag is applied to all of + the snapshots that are created. + + If you specify other values for `ResourceType`, the request fails. + + To tag an AMI or snapshot after it has been created, see + [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + """ + snapshot_location: str | None = ... + """ + Note: + Only supported for instances in Local Zones and for instances on + Outposts that support local snapshots. If the source instance is not in + one of these locations, omit this parameter. + + The Amazon S3 location where the snapshots will be stored. + + - To create local snapshots in the same Local Zone or on the same + Outpost as the source instance, specify `local`. + + - To create regional snapshots in the parent Region of the Local Zone or + Outpost, specify `regional`. + + If the source instance is in a Local Zone and you omit this parameter, + regional snapshots are created in the parent Region of the Local Zone. + + If the source instance is on an Outpost that supports local snapshots, + this parameter is required. If you omit it, the request fails with an + `InvalidParameterValue` error. + + Default: `regional` (for instances in Local Zones only) + """ + boot_mode_override: str | None = ... + """ + The boot mode of the new image, which overrides the default boot mode. + By default, if you do not specify this parameter, the new image inherits + the `boot-mode` from the source instance. + + A value of `uefi` indicates that the image only supports UEFI boot mode. + You can specify this parameter only if the `current-instance-boot-mode` + of the source instance is `uefi`. To find the `boot-mode` or + `current-instance-boot-mode` of an instance, see + [DescribeInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html). + + Note: + The operating system contained in the AMI must be configured to support + the specified boot mode. + + For more information, see [Instance launch behavior with Amazon EC2 boot + modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + in the *Amazon EC2 User Guide*. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the instance.""" + name: str | None = ... + """ + A name for the new image. + + Constraints: 3-128 alphanumeric characters, parentheses (()), square + brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), + single quotes ('), at-signs (@), or underscores(_) + """ + description: str | None = ... + """A description for the new image.""" + no_reboot: bool | None = ... + """ + Indicates whether or not the instance should be automatically rebooted + before creating the image. Specify one of the following values: + + - `true` - The instance is not rebooted before creating the image. This + creates crash-consistent snapshots that include only the data that has + been written to the volumes at the time the snapshots are created. + Buffered data and data in memory that has not yet been written to the + volumes is not included in the snapshots. + + - `false` - The instance is rebooted before creating the image. This + ensures that all buffered data and data in memory is written to the + volumes before the snapshots are created. + + Default: `false` + """ + block_device_mappings: list[BlockDeviceMapping] | None = ... + """ + The block device mappings. + + When using the CreateImage action: + + - You can't change the volume size using the VolumeSize parameter. If + you want a different volume size, you must first change the volume + size of the source instance. + + - You can't modify the encryption status of existing volumes or + snapshots. To create an AMI with volumes or snapshots that have a + different encryption status (for example, where the source volume and + snapshots are unencrypted, and you want to create an AMI with + encrypted volumes or snapshots), copy the image instead. + + - The only option that can be changed for existing mappings or snapshots + is `DeleteOnTermination`. + """ + +@dataclass(kw_only=True) +class CreateImageOutput(_SerdeShape): + """Dataclass for CreateImageOutput structure.""" + + image_id: str | None = ... + """The ID of the new AMI.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateImageUsageReportInput(_SerdeShape): + """Dataclass for CreateImageUsageReportInput structure.""" + + image_id: str | None = ... + """The ID of the image to report on.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + resource_types: list[ImageUsageResourceTypeRequest] | None = ... + """The resource types to include in the report.""" + account_ids: list[str] | None = ... + """ + The Amazon Web Services account IDs to include in the report. To include + all accounts, omit this parameter. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure + idempotency of the request. + + This field is autopopulated if not provided. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the report on creation. The `ResourceType` must be + set to `image-usage-report`; any other value will cause the report + creation to fail. + + To tag a report after it has been created, see + [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + """ + +@dataclass(kw_only=True) +class CreateImageUsageReportOutput(_SerdeShape): + """Dataclass for CreateImageUsageReportOutput structure.""" + + report_id: str | None = ... + """The ID of the report.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInstanceConnectEndpointInput(_SerdeShape): + """Dataclass for CreateInstanceConnectEndpointInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + subnet_id: str | None = ... + """ + The ID of the subnet in which to create the EC2 Instance Connect + Endpoint. + """ + security_group_ids: list[str] | None = ... + """ + One or more security groups to associate with the endpoint. If you + don't specify a security group, the default security group for your VPC + will be associated with the endpoint. + """ + preserve_client_ip: bool | None = ... + """ + Indicates whether the client IP address is preserved as the source. The + following are the possible values. + + - `true` - Use the client IP address as the source. + + - `false` - Use the network interface IP address as the source. + + Note: + `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect + Endpoints. To use `PreserveClientIp`, the value for `IpAddressType` must + be `ipv4`. + + Default: `false` + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + + This field is autopopulated if not provided. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the EC2 Instance Connect Endpoint during creation.""" + ip_address_type: str | None = ... + """ + The IP address type of the endpoint. + + If no value is specified, the default value is determined by the IP + address type of the subnet: + + - `dualstack` - If the subnet has both IPv4 and IPv6 CIDRs + + - `ipv4` - If the subnet has only IPv4 CIDRs + + - `ipv6` - If the subnet has only IPv6 CIDRs + + Note: + `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect + Endpoints. To use `PreserveClientIp`, the value for `IpAddressType` must + be `ipv4`. + """ + +@dataclass(kw_only=True) +class CreateInstanceConnectEndpointOutput(_SerdeShape): + """Dataclass for CreateInstanceConnectEndpointOutput structure.""" + + instance_connect_endpoint: Ec2InstanceConnectEndpoint | None = ... + """Information about the EC2 Instance Connect Endpoint.""" + client_token: str | None = ... + """ + Unique, case-sensitive idempotency token provided by the client in the + the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInstanceEventWindowInput(_SerdeShape): + """Dataclass for CreateInstanceEventWindowInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + name: str | None = ... + """The name of the event window.""" + time_ranges: list[InstanceEventWindowTimeRangeRequest] | None = ... + """ + The time range for the event window. If you specify a time range, you + can't specify a cron expression. + """ + cron_expression: str | None = ... + """ + The cron expression for the event window, for example, + `* 0-4,20-23 * * 1,5`. If you specify a cron expression, you can't + specify a time range. + + Constraints: + + - Only hour and day of the week values are supported. + + - For day of the week values, you can specify either integers `0` + through `6`, or alternative single values `SUN` through `SAT`. + + - The minute, month, and year must be specified by `*`. + + - The hour value must be one or a multiple range, for example, `0-4` or + `0-4,20-23`. + + - Each hour range must be >= 2 hours, for example, `0-2` or `20-23`. + + - The event window must be >= 4 hours. The combined total time ranges + in the event window must be >= 4 hours. + + For more information about cron expressions, see + [cron](https://en.wikipedia.org/wiki/Cron) on the *Wikipedia website*. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the event window.""" + +@dataclass(kw_only=True) +class CreateInstanceEventWindowOutput(_SerdeShape): + """Dataclass for CreateInstanceEventWindowOutput structure.""" + + instance_event_window: InstanceEventWindow | None = ... + """Information about the event window.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInstanceExportTaskInput(_SerdeShape): + """Dataclass for CreateInstanceExportTaskInput structure.""" + + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the export instance task during creation.""" + description: str | None = ... + """ + A description for the conversion task or the resource being exported. + The maximum length is 255 characters. + """ + instance_id: str | None = ... + """The ID of the instance.""" + target_environment: str | None = ... + """The target virtualization environment.""" + export_to_s3_task: ExportToS3TaskSpecification | None = ... + """The format and location for an export instance task.""" + +@dataclass(kw_only=True) +class CreateInstanceExportTaskOutput(_SerdeShape): + """Dataclass for CreateInstanceExportTaskOutput structure.""" + + export_task: ExportTask | None = ... + """Information about the export instance task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInternetGatewayInput(_SerdeShape): + """Dataclass for CreateInternetGatewayInput structure.""" + + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the internet gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateInternetGatewayOutput(_SerdeShape): + """Dataclass for CreateInternetGatewayOutput structure.""" + + internet_gateway: InternetGateway | None = ... + """Information about the internet gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInterruptibleCapacityReservationAllocationInput(_SerdeShape): + """ + Dataclass for CreateInterruptibleCapacityReservationAllocationInput + structure. + """ + + capacity_reservation_id: str | None = ... + """ + The ID of the source Capacity Reservation from which to create the + interruptible Capacity Reservation. Your Capacity Reservation must be in + active state with no end date set and have available capacity for + allocation. + """ + instance_count: int | None = ... + """ + The number of instances to allocate from your source reservation. You + can only allocate available instances (also called unused capacity). + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the action, without + actually making the request, and provides an error response. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the interruptible Capacity Reservation during + creation. + """ + zero_size_preference: str | None = ... + """ + Specifies the behavior for the interruptible Capacity Reservation when + you reduce its allocation to zero instances. Specify `retain` to keep + the interruptible Capacity Reservation active at zero capacity so that + you can allocate instances to it again later. Specify `default` to + cancel the interruptible Capacity Reservation and return the capacity to + your source Capacity Reservation. The default value is `default`. + """ + +@dataclass(kw_only=True) +class CreateInterruptibleCapacityReservationAllocationOutput(_SerdeShape): + """ + Dataclass for CreateInterruptibleCapacityReservationAllocationOutput + structure. + """ + + source_capacity_reservation_id: str | None = ... + """ + The ID of the source Capacity Reservation from which the interruptible + Capacity Reservation was created. + """ + target_instance_count: int | None = ... + """The number of instances allocated to the interruptible reservation.""" + status: str | None = ... + """ + The current status of the allocation request (creating, active, + updating). + """ + interruption_type: str | None = ... + """The type of interruption applied to the interruptible reservation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamExternalResourceVerificationTokenInput(_SerdeShape): + """ + Dataclass for CreateIpamExternalResourceVerificationTokenInput + structure. + """ + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """The ID of the IPAM that will create the token.""" + tag_specifications: list[TagSpecification] | None = ... + """Token tags.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateIpamExternalResourceVerificationTokenOutput(_SerdeShape): + """ + Dataclass for CreateIpamExternalResourceVerificationTokenOutput + structure. + """ + + ipam_external_resource_verification_token: ( + IpamExternalResourceVerificationToken | None + ) = ... + """The verification token.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamInput(_SerdeShape): + """Dataclass for CreateIpamInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + description: str | None = ... + """A description for the IPAM.""" + operating_regions: list[AddIpamOperatingRegion] | None = ... + """ + The operating Regions for the IPAM. Operating Regions are Amazon Web + Services Regions where the IPAM is allowed to manage IP address CIDRs. + IPAM only discovers and monitors resources in the Amazon Web Services + Regions you select as operating Regions. + + For more information about operating Regions, see [Create an + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + 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 `Owner` and + the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` + for the filter value. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + tier: str | None = ... + """ + IPAM is offered in a Free Tier and an Advanced Tier. For more + information about the features available in each tier and the costs + associated with the tiers, see [Amazon VPC pricing > IPAM + tab](http://aws.amazon.com/vpc/pricing/). + """ + enable_private_gua: bool | None = ... + """ + Enable this option to use your own GUA ranges as private IPv6 addresses. + This option is disabled by default. + """ + metered_account: str | None = ... + """ + A metered account is an Amazon Web Services account that is charged for + active IP addresses managed in IPAM. For more information, see [Enable + cost + distribution](https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html) + in the *Amazon VPC IPAM User Guide*. + + Possible values: + + - `ipam-owner` (default): The Amazon Web Services account which owns the + IPAM is charged for all active IP addresses managed in IPAM. + + - `resource-owner`: The Amazon Web Services account that owns the IP + address is charged for the active IP address. + """ + +@dataclass(kw_only=True) +class CreateIpamInternetRegistryAssociationInput(_SerdeShape): + """Dataclass for CreateIpamInternetRegistryAssociationInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """The ID of the IPAM to associate with the internet registry.""" + rir: str | None = ... + """ + The Regional Internet Registry to associate with. Possible values: + + - `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia). + + - `apnic` - APNIC (Asia Pacific). + + - `arin` - ARIN (North America). + + - `lacnic` - LACNIC (Latin America and the Caribbean). + """ + organization_handle: str | None = ... + """ + The organization handle at the internet registry (for example, a RIPE + NCC organization ID or ARIN Org ID). + """ + description: str | None = ... + """A description for the internet registry association.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the internet registry association.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, the operation ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateIpamInternetRegistryAssociationOutput(_SerdeShape): + """Dataclass for CreateIpamInternetRegistryAssociationOutput structure.""" + + ipam_internet_registry_association: IpamInternetRegistryAssociation | None = ... + """Information about the internet registry association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamOutput(_SerdeShape): + """Dataclass for CreateIpamOutput structure.""" + + ipam: Ipam | None = ... + """Information about the IPAM created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamPolicyInput(_SerdeShape): + """Dataclass for CreateIpamPolicyInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the IPAM policy.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure the idempotency of the + request. + + This field is autopopulated if not provided. + """ + ipam_id: str | None = ... + """The ID of the IPAM for which you're creating the policy.""" + +@dataclass(kw_only=True) +class CreateIpamPolicyOutput(_SerdeShape): + """Dataclass for CreateIpamPolicyOutput structure.""" + + ipam_policy: IpamPolicy | None = ... + """ + Information about the created IPAM policy. + + An IPAM policy is a set of rules that define how public IPv4 addresses + from IPAM pools are allocated to Amazon Web Services resources. Each + rule maps an Amazon Web Services service to IPAM pools that the service + will use to get IP addresses. A single policy can have multiple rules + and be applied to multiple Amazon Web Services Regions. If the IPAM pool + run out of addresses then the services fallback to Amazon-provided IP + addresses. A policy can be applied to an individual Amazon Web Services + account or an entity within Amazon Web Services Organizations. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamPoolInput(_SerdeShape): + """Dataclass for CreateIpamPoolInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_scope_id: str | None = ... + """The ID of the scope in which you would like to create the IPAM pool.""" + locale: str | None = ... + """ + The locale for the pool should be one of the following: + + - An Amazon Web Services Region where you want this IPAM pool to be + available for allocations. + + - The network border group for an Amazon Web Services Local Zone where + you want this IPAM pool to be available for allocations ([supported + Local + Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)). + This option is only available for IPAM IPv4 pools in the public scope. + + Possible values: Any Amazon Web Services Region or supported Amazon Web + Services Local Zone. Default is `none` and means any locale. + """ + source_ipam_pool_id: str | None = ... + """ + The ID of the source IPAM pool. Use this option to create a pool within + an existing pool. Note that the CIDR you provision for the pool within + the source pool must be available in the source pool's CIDR range. + """ + description: str | None = ... + """A description for the IPAM pool.""" + address_family: str | None = ... + """ + The IP protocol assigned to this IPAM pool. You must choose either IPv4 + or IPv6 protocol for a pool. + """ + auto_import: bool | None = ... + """ + If selected, IPAM will continuously look for resources within the CIDR + range of this pool and automatically import them as allocations into + your IPAM. The CIDRs that will be allocated for these resources must not + already be allocated to other resources in order for the import to + succeed. IPAM will import a CIDR regardless of its compliance with the + pool's allocation rules, so a resource might be imported and + subsequently marked as noncompliant. If IPAM discovers multiple CIDRs + that overlap, IPAM will import the largest CIDR only. If IPAM discovers + multiple CIDRs with matching CIDRs, IPAM will randomly import one of + them only. + + A locale must be set on the pool for this feature to work. + """ + publicly_advertisable: bool | None = ... + """ + Determines if the pool is publicly advertisable. The request can only + contain `PubliclyAdvertisable` if `AddressFamily` is `ipv6` and + `PublicIpSource` is `byoip`. + """ + allocation_min_netmask_length: int | None = ... + """ + The minimum netmask length required for CIDR allocations in this IPAM + pool to be compliant. The minimum netmask length must be less than the + maximum netmask length. Possible netmask lengths for IPv4 addresses are + 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. + """ + allocation_max_netmask_length: int | None = ... + """ + The maximum netmask length possible for CIDR allocations in this IPAM + pool to be compliant. The maximum netmask length must be greater than + the minimum netmask length. Possible netmask lengths for IPv4 addresses + are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. + """ + allocation_default_netmask_length: int | None = ... + """ + The default netmask length for allocations added to this pool. If, for + example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 + here, new allocations will default to 10.0.0.0/16. + """ + allocation_resource_tags: list[RequestIpamResourceTag] | None = ... + """ + Tags that are required for resources that use CIDRs from this IPAM pool. + Resources that do not have these tags will not be allowed to allocate + space from the pool. If the resources have their tags changed after they + have allocated space or if the allocation tagging requirements are + changed on the pool, the resource may be marked as noncompliant. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + 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 `Owner` and + the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` + for the filter value. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + aws_service: str | None = ... + """ + Limits which service in Amazon Web Services that the pool can be used + in. \"ec2\", for example, allows users to use space for Elastic IP + addresses and VPCs. + """ + public_ip_source: str | None = ... + """ + The IP address source for pools in the public scope. Only used for + provisioning IP address CIDRs to pools in the public scope. Default is + `byoip`. For more information, see [Create IPv6 + pools](https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html) + in the *Amazon VPC IPAM User Guide*. By default, you can add only one + Amazon-provided IPv6 CIDR block to a top-level IPv6 pool if + PublicIpSource is `amazon`. For information on increasing the default + limit, see [Quotas for your + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + source_resource: IpamPoolSourceResourceRequest | None = ... + """The resource used to provision CIDRs to a resource planning pool.""" + +@dataclass(kw_only=True) +class CreateIpamPoolOutput(_SerdeShape): + """Dataclass for CreateIpamPoolOutput structure.""" + + ipam_pool: IpamPool | None = ... + """Information about the IPAM pool created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamPrefixListResolverInput(_SerdeShape): + """Dataclass for CreateIpamPrefixListResolverInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """ + The ID of the IPAM that will serve as the source of the IP address + database for CIDR selection. The IPAM must be in the Advanced tier to + use this feature. + """ + description: str | None = ... + """ + A description for the IPAM prefix list resolver to help you identify its + purpose and configuration. + """ + address_family: str | None = ... + """ + The address family for the IPAM prefix list resolver. Valid values are + `ipv4` and `ipv6`. You must create separate resolvers for IPv4 and IPv6 + CIDRs as they cannot be mixed in the same resolver. + """ + rules: list[IpamPrefixListResolverRuleRequest] | None = ... + """ + The CIDR selection rules for the resolver. + + CIDR selection rules define the business logic for selecting CIDRs from + IPAM. If a CIDR matches any of the rules, it will be included. If a rule + has multiple conditions, the CIDR has to match every condition of that + rule. You can create a prefix list resolver without any CIDR selection + rules, but it will generate empty versions (containing no CIDRs) until + you add rules. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the IPAM prefix list resolver during creation. Tags + help you organize and manage your Amazon Web Services resources. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateIpamPrefixListResolverOutput(_SerdeShape): + """Dataclass for CreateIpamPrefixListResolverOutput structure.""" + + ipam_prefix_list_resolver: IpamPrefixListResolver | None = ... + """Information about the IPAM prefix list resolver that was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamPrefixListResolverTargetInput(_SerdeShape): + """Dataclass for CreateIpamPrefixListResolverTargetInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_prefix_list_resolver_id: str | None = ... + """ + The ID of the IPAM prefix list resolver that will manage the + synchronization of CIDRs to the target prefix list. + """ + prefix_list_id: str | None = ... + """ + The ID of the managed prefix list that will be synchronized with CIDRs + selected by the IPAM prefix list resolver. This prefix list becomes an + IPAM managed prefix list. + + An IPAM-managed prefix list is a customer-managed prefix list that has + been associated with an IPAM prefix list resolver target. When a prefix + list becomes IPAM managed, its CIDRs are automatically synchronized + based on the IPAM prefix list resolver's CIDR selection rules, and + direct CIDR modifications are restricted. + """ + prefix_list_region: str | None = ... + """ + The Amazon Web Services Region where the prefix list is located. This is + required when referencing a prefix list in a different Region. + """ + desired_version: int | None = ... + """ + The specific version of the prefix list to target. If not specified, the + resolver will target the latest version. + """ + track_latest_version: bool | None = ... + """ + Indicates whether the resolver target should automatically track the + latest version of the prefix list. When enabled, the target will always + synchronize with the most current version of the prefix list. + + Choose this for automatic updates when you want your prefix lists to + stay current with infrastructure changes without manual intervention. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the IPAM prefix list resolver target during + creation. Tags help you organize and manage your Amazon Web Services + resources. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateIpamPrefixListResolverTargetOutput(_SerdeShape): + """Dataclass for CreateIpamPrefixListResolverTargetOutput structure.""" + + ipam_prefix_list_resolver_target: IpamPrefixListResolverTarget | None = ... + """Information about the IPAM prefix list resolver target that was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamResourceDiscoveryInput(_SerdeShape): + """Dataclass for CreateIpamResourceDiscoveryInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + description: str | None = ... + """A description for the IPAM resource discovery.""" + operating_regions: list[AddIpamOperatingRegion] | None = ... + """ + Operating Regions for the IPAM resource discovery. Operating Regions are + Amazon Web Services Regions where the IPAM is allowed to manage IP + address CIDRs. IPAM only discovers and monitors resources in the Amazon + Web Services Regions you select as operating Regions. + """ + tag_specifications: list[TagSpecification] | None = ... + """Tag specifications for the IPAM resource discovery.""" + client_token: str | None = ... + """ + A client token for the IPAM resource discovery. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateIpamResourceDiscoveryOutput(_SerdeShape): + """Dataclass for CreateIpamResourceDiscoveryOutput structure.""" + + ipam_resource_discovery: IpamResourceDiscovery | None = ... + """An IPAM resource discovery.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamRoutingPolicyRegistrationInput(_SerdeShape): + """Dataclass for CreateIpamRoutingPolicyRegistrationInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association.""" + cidr: str | None = ... + """The IP address prefix in CIDR notation to authorize in the ROA.""" + asns: list[str] | None = ... + """The Autonomous System Numbers (ASNs) authorized to originate the prefix.""" + permit_more_specific_announcements: bool | None = ... + """ + Specifies whether to permit more specific route announcements than the + CIDR prefix. When enabled, ASNs can announce sub-prefixes of the + authorized CIDR up to the specified maximum length. Default: `false`. + """ + max_length: int | None = ... + """ + The maximum prefix length that the ASNs are authorized to announce. Must + be greater than or equal to the prefix length of the CIDR. If not + specified, defaults to the prefix length of the CIDR (exact match only). + """ + description: str | None = ... + """A description for the routing policy registration.""" + force: bool | None = ... + """ + Forces the creation of the routing policy registration even if it + conflicts with an announced route. Default: `false`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, the operation ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateIpamRoutingPolicyRegistrationOutput(_SerdeShape): + """Dataclass for CreateIpamRoutingPolicyRegistrationOutput structure.""" + + ipam_routing_policy_registration_delta: ( + IpamRoutingPolicyRegistrationDelta | None + ) = ... + """ + Information about the routing policy registration delta created by this + operation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIpamScopeInput(_SerdeShape): + """Dataclass for CreateIpamScopeInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """The ID of the IPAM for which you're creating this scope.""" + description: str | None = ... + """A description for the scope you're creating.""" + tag_specifications: list[TagSpecification] | None = ... + """ + 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 `Owner` and + the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` + for the filter value. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + external_authority_configuration: ExternalAuthorityConfiguration | None = ... + """ + The configuration that links an Amazon VPC IPAM scope to an external + authority system. It specifies the type of external system and the + external resource identifier that identifies your account or instance in + that system. + + In IPAM, an external authority is a third-party IP address management + system that provides CIDR blocks when you provision address space for + top-level IPAM pools. This allows you to use your existing IP management + system to control which address ranges are allocated to Amazon Web + Services while using Amazon VPC IPAM to manage subnets within those + ranges. + """ + +@dataclass(kw_only=True) +class CreateIpamScopeOutput(_SerdeShape): + """Dataclass for CreateIpamScopeOutput structure.""" + + ipam_scope: IpamScope | None = ... + """Information about the created scope.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateKeyPairInput(_SerdeShape): + """Dataclass for CreateKeyPairInput structure.""" + + key_name: str | None = ... + """ + A unique name for the key pair. + + Constraints: Up to 255 ASCII characters + """ + key_type: str | None = ... + """ + The type of key pair. Note that ED25519 keys are not supported for + Windows instances. + + Default: `rsa` + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the new key pair.""" + key_format: str | None = ... + """ + The format of the key pair. + + Default: `pem` + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateKeyPairOutput(_SerdeShape): + """Describes a key pair.""" + + key_pair_id: str | None = ... + """The ID of the key pair.""" + tags: list[Tag] | None = ... + """Any tags applied to the key pair.""" + key_name: str | None = ... + """The name of the key pair.""" + key_fingerprint: str | None = ... + """ + - For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER + encoded private key. + + - For ED25519 key pairs, the key fingerprint is the base64-encoded + SHA-256 digest, which is the default for OpenSSH, starting with + OpenSSH 6.8. + """ + key_material: str | None = ... + """An unencrypted PEM encoded RSA or ED25519 private key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateLaunchTemplateInput(_SerdeShape): + """Dataclass for CreateLaunchTemplateInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier you provide to ensure the idempotency + of the request. If a client token isn't specified, a randomly generated + token is used in the request to ensure idempotency. + + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + Constraint: Maximum 128 ASCII characters. + + This field is autopopulated if not provided. + """ + launch_template_name: str | None = ... + """A name for the launch template.""" + version_description: str | None = ... + """A description for the first version of the launch template.""" + launch_template_data: RequestLaunchTemplateData | None = ... + """The information for the launch template.""" + operator: OperatorRequest | None = ... + """Reserved for internal use.""" + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the launch template on creation. To tag the launch + template, the resource type must be `launch-template`. + + To specify the tags for the resources that are created when an instance + is launched, you must use the `TagSpecifications` parameter in the + [launch template + data](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html) + structure. + """ + +@dataclass(kw_only=True) +class CreateLaunchTemplateOutput(_SerdeShape): + """Dataclass for CreateLaunchTemplateOutput structure.""" + + launch_template: LaunchTemplate | None = ... + """Information about the launch template.""" + warning: ValidationWarning | None = ... + """ + If the launch template contains parameters or parameter combinations + that are not valid, an error code and an error message are returned for + each issue that's found. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateLaunchTemplateVersionInput(_SerdeShape): + """Dataclass for CreateLaunchTemplateVersionInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier you provide to ensure the idempotency + of the request. If a client token isn't specified, a randomly generated + token is used in the request to ensure idempotency. + + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + Constraint: Maximum 128 ASCII characters. + + This field is autopopulated if not provided. + """ + launch_template_id: str | None = ... + """ + The ID of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + launch_template_name: str | None = ... + """ + The name of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + source_version: str | None = ... + """ + The version of the launch template on which to base the new version. + Snapshots applied to the block device mapping are ignored when creating + a new version unless they are explicitly included. + + If you specify this parameter, the new version inherits the launch + parameters from the source version. If you specify additional launch + parameters for the new version, they overwrite any corresponding launch + parameters inherited from the source version. + + If you omit this parameter, the new version contains only the launch + parameters that you specify for the new version. + """ + version_description: str | None = ... + """A description for the version of the launch template.""" + launch_template_data: RequestLaunchTemplateData | None = ... + """The information for the launch template.""" + resolve_alias: bool | None = ... + """ + If `true`, and if a Systems Manager parameter is specified for + `ImageId`, the AMI ID is displayed in the response for `imageID`. For + more information, see [Use a Systems Manager parameter instead of an AMI + ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) + in the *Amazon EC2 User Guide*. + + Default: `false` + """ + +@dataclass(kw_only=True) +class CreateLaunchTemplateVersionOutput(_SerdeShape): + """Dataclass for CreateLaunchTemplateVersionOutput structure.""" + + launch_template_version: LaunchTemplateVersion | None = ... + """Information about the launch template version.""" + warning: ValidationWarning | None = ... + """ + If the new version of the launch template contains parameters or + parameter combinations that are not valid, an error code and an error + message are returned for each issue that's found. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayRouteInput(_SerdeShape): + """Dataclass for CreateLocalGatewayRouteInput structure.""" + + destination_cidr_block: str | None = ... + """ + The CIDR range used for destination matches. Routing decisions are based + on the most specific match. + """ + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + local_gateway_virtual_interface_group_id: str | None = ... + """The ID of the virtual interface group.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_interface_id: str | None = ... + """The ID of the network interface.""" + destination_prefix_list_id: str | None = ... + """ + The ID of the prefix list. Use a prefix list in place of + `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and + `DestinationCidrBlock` in the same request. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayRouteOutput(_SerdeShape): + """Dataclass for CreateLocalGatewayRouteOutput structure.""" + + route: LocalGatewayRoute | None = ... + """Information about the route.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayRouteTableInput(_SerdeShape): + """Dataclass for CreateLocalGatewayRouteTableInput structure.""" + + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + mode: str | None = ... + """The mode of the local gateway route table.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags assigned to the local gateway route table.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayRouteTableOutput(_SerdeShape): + """Dataclass for CreateLocalGatewayRouteTableOutput structure.""" + + local_gateway_route_table: LocalGatewayRouteTable | None = ... + """Information about the local gateway route table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput(_SerdeShape): + """ + Dataclass for + CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput + structure. + """ + + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + local_gateway_virtual_interface_group_id: str | None = ... + """ + The ID of the local gateway route table virtual interface group + association. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags assigned to the local gateway route table virtual interface + group association. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput(_SerdeShape): + """ + Dataclass for + CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput + structure. + """ + + local_gateway_route_table_virtual_interface_group_association: ( + LocalGatewayRouteTableVirtualInterfaceGroupAssociation | None + ) = ... + """ + Information about the local gateway route table virtual interface group + association. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayRouteTableVpcAssociationInput(_SerdeShape): + """Dataclass for CreateLocalGatewayRouteTableVpcAssociationInput structure.""" + + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the local gateway route table VPC association.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayRouteTableVpcAssociationOutput(_SerdeShape): + """ + Dataclass for CreateLocalGatewayRouteTableVpcAssociationOutput + structure. + """ + + local_gateway_route_table_vpc_association: ( + LocalGatewayRouteTableVpcAssociation | None + ) = ... + """Information about the association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayVirtualInterfaceGroupInput(_SerdeShape): + """Dataclass for CreateLocalGatewayVirtualInterfaceGroupInput structure.""" + + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + local_bgp_asn: int | None = ... + """ + The Autonomous System Number(ASN) for the local Border Gateway Protocol + (BGP). + """ + local_bgp_asn_extended: int | None = ... + """The extended 32-bit ASN for the local BGP configuration.""" + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the local gateway virtual interface group when the + resource is being created. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayVirtualInterfaceGroupOutput(_SerdeShape): + """Dataclass for CreateLocalGatewayVirtualInterfaceGroupOutput structure.""" + + local_gateway_virtual_interface_group: ( + LocalGatewayVirtualInterfaceGroup | None + ) = ... + """Information about the created local gateway virtual interface group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateLocalGatewayVirtualInterfaceInput(_SerdeShape): + """Dataclass for CreateLocalGatewayVirtualInterfaceInput structure.""" + + local_gateway_virtual_interface_group_id: str | None = ... + """The ID of the local gateway virtual interface group.""" + outpost_lag_id: str | None = ... + """ + References the Link Aggregation Group (LAG) that connects the Outpost to + on-premises network devices. + """ + vlan: int | None = ... + """ + The virtual local area network (VLAN) used for the local gateway virtual + interface. + """ + local_address: str | None = ... + """ + The IP address assigned to the local gateway virtual interface on the + Outpost side. Only IPv4 is supported. + """ + peer_address: str | None = ... + """ + The peer IP address for the local gateway virtual interface. Only IPv4 + is supported. + """ + peer_bgp_asn: int | None = ... + """ + The Autonomous System Number (ASN) of the Border Gateway Protocol (BGP) + peer. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to a resource when the local gateway virtual interface + is being created. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + peer_bgp_asn_extended: int | None = ... + """The extended 32-bit ASN of the BGP peer for use with larger ASN values.""" + +@dataclass(kw_only=True) +class CreateLocalGatewayVirtualInterfaceOutput(_SerdeShape): + """Dataclass for CreateLocalGatewayVirtualInterfaceOutput structure.""" + + local_gateway_virtual_interface: LocalGatewayVirtualInterface | None = ... + """Information about the local gateway virtual interface.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateMacSystemIntegrityProtectionModificationTaskInput(_SerdeShape): + """ + Dataclass for CreateMacSystemIntegrityProtectionModificationTaskInput + structure. + """ + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the Amazon EC2 Mac instance.""" + mac_credentials: str | None = ... + """ + **[Apple silicon Mac instances only]** Specifies the following + credentials: + + - **Internal disk administrative user** + + - **Username** - Only the default administrative user + (`aws-managed-user`) is supported and it is used by default. You + can't specify a different administrative user. + + - **Password** - If you did not change the default password for + `aws-managed-user`, specify the default password, which is *blank*. + Otherwise, specify your password. + + - **Amazon EBS root volume administrative user** + + - **Username** - If you did not change the default administrative + user, specify `ec2-user`. Otherwise, specify the username for your + administrative user. + + - **Password** - Specify the password for the administrative user. + + The credentials must be specified in the following JSON format: + + `{ "internalDiskPassword":"`*`internal-disk-admin_password`*`", "rootVolumeUsername":"`*`root-volume-admin_username`*`", "rootVolumepassword":"`*`root-volume-admin_password`*`" }` + """ + mac_system_integrity_protection_configuration: ( + MacSystemIntegrityProtectionConfigurationRequest | None + ) = ... + """ + Specifies the overrides to selectively enable or disable individual SIP + settings. The individual settings you specify here override the overall + SIP status you specify for **MacSystemIntegrityProtectionStatus**. + """ + mac_system_integrity_protection_status: str | None = ... + """ + Specifies the overall SIP status for the instance. To enable all SIP + settings, specify `enabled`. To disable all SIP settings, specify + `disabled`. + """ + tag_specifications: list[TagSpecification] | None = ... + """Specifies tags to apply to the SIP modification task.""" + +@dataclass(kw_only=True) +class CreateMacSystemIntegrityProtectionModificationTaskOutput(_SerdeShape): + """ + Dataclass for CreateMacSystemIntegrityProtectionModificationTaskOutput + structure. + """ + + mac_modification_task: MacModificationTask | None = ... + """Information about the SIP modification task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateManagedPrefixListInput(_SerdeShape): + """Dataclass for CreateManagedPrefixListInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + prefix_list_name: str | None = ... + """ + A name for the prefix list. + + Constraints: Up to 255 characters in length. The name cannot start with + `com.amazonaws`. + """ + entries: list[AddPrefixListEntry] | None = ... + """One or more entries for the prefix list.""" + max_entries: int | None = ... + """The maximum number of entries for the prefix list.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the prefix list during creation.""" + address_family: str | None = ... + """ + The IP address type. + + Valid Values: `IPv4` | `IPv6` + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier you provide to ensure the idempotency + of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + Constraints: Up to 255 UTF-8 characters in length. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateManagedPrefixListOutput(_SerdeShape): + """Dataclass for CreateManagedPrefixListOutput structure.""" + + prefix_list: ManagedPrefixList | None = ... + """Information about the prefix list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateNatGatewayInput(_SerdeShape): + """Dataclass for CreateNatGatewayInput structure.""" + + availability_mode: str | None = ... + """ + Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) + NAT gateway. Defaults to `zonal`. + + A zonal NAT gateway is a NAT Gateway that provides redundancy and + scalability within a single availability zone. A regional NAT gateway is + a single NAT Gateway that works across multiple availability zones (AZs) + in your VPC, providing redundancy, scalability and availability across + all the AZs in a Region. + + For more information, see [Regional NAT gateways for automatic multi-AZ + expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) + in the *Amazon VPC User Guide*. + """ + allocation_id: str | None = ... + """ + [Public NAT gateways only] The allocation ID of an Elastic IP address + to associate with the NAT gateway. You cannot specify an Elastic IP + address with a private NAT gateway. If the Elastic IP address is + associated with another resource, you must first disassociate it. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + Constraint: Maximum 64 ASCII characters. + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + subnet_id: str | None = ... + """The ID of the subnet in which to create the NAT gateway.""" + vpc_id: str | None = ... + """The ID of the VPC where you want to create a regional NAT gateway.""" + availability_zone_addresses: list[AvailabilityZoneAddress] | None = ... + """ + For regional NAT gateways only: Specifies which Availability Zones you + want the NAT gateway to support and the Elastic IP addresses (EIPs) to + use in each AZ. The regional NAT gateway uses these EIPs to handle + outbound NAT traffic from their respective AZs. If not specified, the + NAT gateway will automatically expand to new AZs and associate EIPs upon + detection of an elastic network interface. If you specify this + parameter, auto-expansion is disabled and you must manually manage AZ + coverage. + + A regional NAT gateway is a single NAT Gateway that works across + multiple availability zones (AZs) in your VPC, providing redundancy, + scalability and availability across all the AZs in a Region. + + For more information, see [Regional NAT gateways for automatic multi-AZ + expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) + in the *Amazon VPC User Guide*. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the NAT gateway.""" + connectivity_type: str | None = ... + """ + Indicates whether the NAT gateway supports public or private + connectivity. The default is public connectivity. + """ + private_ip_address: str | None = ... + """ + The private IPv4 address to assign to the NAT gateway. If you don't + provide an address, a private IPv4 address will be automatically + assigned. + """ + secondary_allocation_ids: list[str] | None = ... + """ + Secondary EIP allocation IDs. For more information, see [Create a NAT + gateway](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html) + in the *Amazon VPC User Guide*. + """ + secondary_private_ip_addresses: list[str] | None = ... + """ + Secondary private IPv4 addresses. For more information about secondary + addresses, see [Create a NAT + gateway](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html) + in the *Amazon VPC User Guide*. + """ + secondary_private_ip_address_count: int | None = ... + """ + [Private NAT gateway only] The number of secondary private IPv4 + addresses you want to assign to the NAT gateway. For more information + about secondary addresses, see [Create a NAT + gateway](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html) + in the *Amazon VPC User Guide*. + """ + +@dataclass(kw_only=True) +class CreateNatGatewayOutput(_SerdeShape): + """Dataclass for CreateNatGatewayOutput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier to ensure the idempotency of the + request. Only returned if a client token was provided in the request. + """ + nat_gateway: NatGateway | None = ... + """Information about the NAT gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateNetworkAclEntryInput(_SerdeShape): + """Dataclass for CreateNetworkAclEntryInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_acl_id: str | None = ... + """The ID of the network ACL.""" + rule_number: int | None = ... + """ + The rule number for the entry (for example, 100). ACL entries are + processed in ascending order by rule number. + + Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 + is reserved for internal use. + """ + protocol: str | None = ... + """ + The protocol number. A value of \"-1\" means all protocols. If you + specify \"-1\" or a protocol number other than \"6\" (TCP), \"17\" + (UDP), or \"1\" (ICMP), traffic on all ports is allowed, regardless of + any ports or ICMP types or codes that you specify. If you specify + protocol \"58\" (ICMPv6) and specify an IPv4 CIDR block, traffic for all + ICMP types and codes allowed, regardless of any that you specify. If you + specify protocol \"58\" (ICMPv6) and specify an IPv6 CIDR block, you + must specify an ICMP type and code. + """ + rule_action: str | None = ... + """Indicates whether to allow or deny the traffic that matches the rule.""" + egress: bool | None = ... + """ + Indicates whether this is an egress rule (rule is applied to traffic + leaving the subnet). + """ + cidr_block: str | None = ... + """ + The IPv4 network range to allow or deny, in CIDR notation (for example + `172.16.0.0/24`). We modify the specified CIDR block to its canonical + form; for example, if you specify `100.68.0.18/18`, we modify it to + `100.68.0.0/18`. + """ + ipv6_cidr_block: str | None = ... + """ + The IPv6 network range to allow or deny, in CIDR notation (for example + `2001:db8:1234:1a00::/64`). + """ + icmp_type_code: IcmpTypeCode | None = ... + """ + ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying + protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block. + """ + port_range: PortRange | None = ... + """ + TCP or UDP protocols: The range of ports the rule applies to. Required + if specifying protocol 6 (TCP) or 17 (UDP). + """ + +@dataclass(kw_only=True) +class CreateNetworkAclEntryOutput(_SerdeShape): + """Dataclass for CreateNetworkAclEntryOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateNetworkAclInput(_SerdeShape): + """Dataclass for CreateNetworkAclInput structure.""" + + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the network ACL.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class CreateNetworkAclOutput(_SerdeShape): + """Dataclass for CreateNetworkAclOutput structure.""" + + network_acl: NetworkAcl | None = ... + """Information about the network ACL.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier to ensure the idempotency of the + request. Only returned if a client token was provided in the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateNetworkInsightsAccessScopeInput(_SerdeShape): + """Dataclass for CreateNetworkInsightsAccessScopeInput structure.""" + + match_paths: list[AccessScopePathRequest] | None = ... + """The paths to match.""" + exclude_paths: list[AccessScopePathRequest] | None = ... + """The paths to exclude.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateNetworkInsightsAccessScopeOutput(_SerdeShape): + """Dataclass for CreateNetworkInsightsAccessScopeOutput structure.""" + + network_insights_access_scope: NetworkInsightsAccessScope | None = ... + """The Network Access Scope.""" + network_insights_access_scope_content: ( + NetworkInsightsAccessScopeContent | None + ) = ... + """The Network Access Scope content.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateNetworkInsightsPathInput(_SerdeShape): + """Dataclass for CreateNetworkInsightsPathInput structure.""" + + source_ip: str | None = ... + """The IP address of the source.""" + destination_ip: str | None = ... + """The IP address of the destination.""" + source: str | None = ... + """ + The ID or ARN of the source. If the resource is in another account, you + must specify an ARN. + """ + destination: str | None = ... + """ + The ID or ARN of the destination. If the resource is in another account, + you must specify an ARN. + """ + protocol: str | None = ... + """The protocol.""" + destination_port: int | None = ... + """The destination port.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to add to the path.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + filter_at_source: PathRequestFilter | None = ... + """ + Scopes the analysis to network paths that match specific filters at the + source. If you specify this parameter, you can't specify the parameters + for the source IP address or the destination port. + """ + filter_at_destination: PathRequestFilter | None = ... + """ + Scopes the analysis to network paths that match specific filters at the + destination. If you specify this parameter, you can't specify the + parameter for the destination IP address. + """ + +@dataclass(kw_only=True) +class CreateNetworkInsightsPathOutput(_SerdeShape): + """Dataclass for CreateNetworkInsightsPathOutput structure.""" + + network_insights_path: NetworkInsightsPath | None = ... + """Information about the path.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateNetworkInterfaceInput(_SerdeShape): + """Dataclass for CreateNetworkInterfaceInput structure.""" + + ipv4_prefixes: list[Ipv4PrefixSpecificationRequest] | None = ... + """ + The IPv4 prefixes assigned to the network interface. + + You can't specify IPv4 prefixes if you've specified one of the + following: a count of IPv4 prefixes, specific private IPv4 addresses, or + a count of private IPv4 addresses. + """ + ipv4_prefix_count: int | None = ... + """ + The number of IPv4 prefixes that Amazon Web Services automatically + assigns to the network interface. + + You can't specify a count of IPv4 prefixes if you've specified one of + the following: specific IPv4 prefixes, specific private IPv4 addresses, + or a count of private IPv4 addresses. + """ + ipv6_prefixes: list[Ipv6PrefixSpecificationRequest] | None = ... + """ + The IPv6 prefixes assigned to the network interface. + + You can't specify IPv6 prefixes if you've specified one of the + following: a count of IPv6 prefixes, specific IPv6 addresses, or a count + of IPv6 addresses. + """ + ipv6_prefix_count: int | None = ... + """ + The number of IPv6 prefixes that Amazon Web Services automatically + assigns to the network interface. + + You can't specify a count of IPv6 prefixes if you've specified one of + the following: specific IPv6 prefixes, specific IPv6 addresses, or a + count of IPv6 addresses. + """ + interface_type: str | None = ... + """ + The type of network interface. The default is `interface`. + + If you specify `efa-only`, do not assign any IP addresses to the network + interface. EFA-only network interfaces do not support IP addresses. + + The only supported values are `interface`, `efa`, `efa-only`, and + `trunk`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the new network interface.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + enable_primary_ipv6: bool | None = ... + """ + If you're creating a network interface in a dual-stack or IPv6-only + subnet, you have the option to assign a primary IPv6 IP address. A + primary IPv6 address is an IPv6 GUA address associated with an ENI that + you have enabled to use a primary IPv6 address. Use this option if the + instance that this ENI will be attached to relies on its IPv6 address + not changing. Amazon Web Services will automatically assign an IPv6 + address associated with the ENI attached to your instance to be the + primary IPv6 address. Once you enable an IPv6 GUA address to be a + primary IPv6, you cannot disable it. When you enable an IPv6 GUA address + to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 + address until the instance is terminated or the network interface is + detached. If you have multiple IPv6 addresses associated with an ENI + attached to your instance and you enable a primary IPv6 address, the + first IPv6 GUA address associated with the ENI becomes the primary IPv6 + address. + """ + connection_tracking_specification: ( + ConnectionTrackingSpecificationRequest | None + ) = ... + """A connection tracking specification for the network interface.""" + operator: OperatorRequest | None = ... + """Reserved for internal use.""" + subnet_id: str | None = ... + """The ID of the subnet to associate with the network interface.""" + description: str | None = ... + """A description for the network interface.""" + private_ip_address: str | None = ... + """ + The primary private IPv4 address of the network interface. If you don't + specify an IPv4 address, Amazon EC2 selects one for you from the + subnet's IPv4 CIDR range. If you specify an IP address, you cannot + indicate any IP addresses specified in `privateIpAddresses` as primary + (only one IP address can be designated as primary). + """ + groups: list[str] | None = ... + """The IDs of the security groups.""" + private_ip_addresses: list[PrivateIpAddressSpecification] | None = ... + """ + The private IPv4 addresses. + + You can't specify private IPv4 addresses if you've specified one of + the following: a count of private IPv4 addresses, specific IPv4 + prefixes, or a count of IPv4 prefixes. + """ + secondary_private_ip_address_count: int | None = ... + """ + The number of secondary private IPv4 addresses to assign to a network + interface. When you specify a number of secondary IPv4 addresses, Amazon + EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You + can't specify this option and specify more than one private IP address + using `privateIpAddresses`. + + You can't specify a count of private IPv4 addresses if you've + specified one of the following: specific private IPv4 addresses, + specific IPv4 prefixes, or a count of IPv4 prefixes. + """ + ipv6_addresses: list[InstanceIpv6Address] | None = ... + """ + The IPv6 addresses from the IPv6 CIDR block range of your subnet. + + You can't specify IPv6 addresses using this parameter if you've + specified one of the following: a count of IPv6 addresses, specific IPv6 + prefixes, or a count of IPv6 prefixes. + """ + ipv6_address_count: int | None = ... + """ + The number of IPv6 addresses to assign to a network interface. Amazon + EC2 automatically selects the IPv6 addresses from the subnet range. + + You can't specify a count of IPv6 addresses using this parameter if + you've specified one of the following: specific IPv6 addresses, + specific IPv6 prefixes, or a count of IPv6 prefixes. + + If your subnet has the `AssignIpv6AddressOnCreation` attribute set, you + can override that setting by specifying 0 as the IPv6 address count. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateNetworkInterfaceOutput(_SerdeShape): + """Dataclass for CreateNetworkInterfaceOutput structure.""" + + network_interface: NetworkInterface | None = ... + """Information about the network interface.""" + client_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateNetworkInterfacePermissionInput(_SerdeShape): + """Contains the parameters for CreateNetworkInterfacePermission.""" + + network_interface_id: str | None = ... + """The ID of the network interface.""" + aws_account_id: str | None = ... + """The Amazon Web Services account ID.""" + aws_service: str | None = ... + """The Amazon Web Services service. Currently not supported.""" + permission: str | None = ... + """The type of permission to grant.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateNetworkInterfacePermissionOutput(_SerdeShape): + """Contains the output of CreateNetworkInterfacePermission.""" + + interface_permission: NetworkInterfacePermission | None = ... + """Information about the permission for the network interface.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePlacementGroupInput(_SerdeShape): + """Dataclass for CreatePlacementGroupInput structure.""" + + partition_count: int | None = ... + """ + The number of partitions. Valid only when **Strategy** is set to + `partition`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the new placement group.""" + spread_level: str | None = ... + """ + Determines how placement groups spread instances. + + - Host -- You can use `host` only with Outpost placement groups. + + - Rack -- No usage restrictions. + """ + linked_group_id: str | None = ... + """Reserved for future use.""" + operator: OperatorRequest | None = ... + """Reserved for internal use.""" + parent_group_id: str | None = ... + """ + The ID of a parent placement group. Valid only when **Strategy** is set + to `cluster`. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + group_name: str | None = ... + """ + A name for the placement group. Must be unique within the scope of your + account for the Region. + + Constraints: Up to 255 ASCII characters + """ + strategy: str | None = ... + """The placement strategy.""" + +@dataclass(kw_only=True) +class CreatePlacementGroupOutput(_SerdeShape): + """Dataclass for CreatePlacementGroupOutput structure.""" + + placement_group: PlacementGroup | None = ... + """Information about the placement group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePublicIpv4PoolInput(_SerdeShape): + """Dataclass for CreatePublicIpv4PoolInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + 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 `Owner` and + the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` + for the filter value. + """ + network_border_group: str | None = ... + """ + The Availability Zone (AZ) or Local Zone (LZ) network border group that + the resource that the IP address is assigned to is in. Defaults to an AZ + network border group. For more information on available Local Zones, see + [Local Zone + availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class CreatePublicIpv4PoolOutput(_SerdeShape): + """Dataclass for CreatePublicIpv4PoolOutput structure.""" + + pool_id: str | None = ... + """The ID of the public IPv4 pool.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateReplaceRootVolumeTaskInput(_SerdeShape): + """Dataclass for CreateReplaceRootVolumeTaskInput structure.""" + + instance_id: str | None = ... + """The ID of the instance for which to replace the root volume.""" + snapshot_id: str | None = ... + """ + The ID of the snapshot from which to restore the replacement root + volume. The specified snapshot must be a snapshot that you previously + created from the original root volume. + + If you want to restore the replacement root volume to the initial launch + state, if you want to restore the replacement root volume from an AMI, + or if you want to replace the root volume with a specified volume, omit + this parameter. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier you provide to ensure the idempotency + of the request. If you do not specify a client token, a randomly + generated token is used for the request to ensure idempotency. For more + information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the root volume replacement task.""" + image_id: str | None = ... + """ + The ID of the AMI to use to restore the root volume. The specified AMI + must have the same product code, billing information, architecture type, + and virtualization type as that of the instance. + + If you want to restore the replacement volume from a specific snapshot, + if you want to restore it to its launch state, or if you want to replace + the root volume with a specified volume, omit this parameter. + """ + delete_replaced_root_volume: bool | None = ... + """ + Indicates whether to automatically delete the original root volume after + the root volume replacement task completes. To delete the original root + volume, specify `true`. If you choose to keep the original root volume + after the replacement task completes, you must manually delete it when + you no longer need it. + """ + volume_initialization_rate: int | None = ... + """ + Specifies the Amazon EBS Provisioned Rate for Volume Initialization + (volume initialization rate), in MiB/s, at which to download the + snapshot blocks from Amazon S3 to the replacement root volume. This is + also known as *volume initialization*. Specifying a volume + initialization rate ensures that the volume is initialized at a + predictable and consistent rate after creation. + + Omit this parameter if: + + - You want to create the volume using fast snapshot restore. You must + specify a snapshot that is enabled for fast snapshot restore. In this + case, the volume is fully initialized at creation. + + Note: + If you specify a snapshot that is enabled for fast snapshot restore + and a volume initialization rate, the volume will be initialized at + the specified rate instead of fast snapshot restore. + + - You want to create a volume that is initialized at the default rate. + + For more information, see [Initialize Amazon EBS + volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) + in the *Amazon EC2 User Guide*. + + Valid range: 100 - 300 MiB/s + """ + volume_id: str | None = ... + """ + The ID of the volume to use as the replacement root volume. The + specified volume must be in the same Availability Zone as the instance, + must be in the `available` state, and must not be attached to an + instance. If the original root volume is encrypted, the specified volume + must also be encrypted. + + If you want to restore the replacement root volume from a specific + snapshot, an AMI, or to its launch state, omit this parameter. + """ + +@dataclass(kw_only=True) +class CreateReplaceRootVolumeTaskOutput(_SerdeShape): + """Dataclass for CreateReplaceRootVolumeTaskOutput structure.""" + + replace_root_volume_task: ReplaceRootVolumeTask | None = ... + """Information about the root volume replacement task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateReservedInstancesListingInput(_SerdeShape): + """Contains the parameters for CreateReservedInstancesListing.""" + + reserved_instances_id: str | None = ... + """The ID of the active Standard Reserved Instance.""" + instance_count: int | None = ... + """ + The number of instances that are a part of a Reserved Instance account + to be listed in the Reserved Instance Marketplace. This number should be + less than or equal to the instance count associated with the Reserved + Instance ID specified in this call. + """ + price_schedules: list[PriceScheduleSpecification] | None = ... + """ + A list specifying the price of the Standard Reserved Instance for each + month remaining in the Reserved Instance term. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier you provide to ensure idempotency of + your listings. This helps avoid duplicate listings. For more + information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + +@dataclass(kw_only=True) +class CreateReservedInstancesListingOutput(_SerdeShape): + """Contains the output of CreateReservedInstancesListing.""" + + reserved_instances_listings: list[ReservedInstancesListing] | None = ... + """Information about the Standard Reserved Instance listing.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_10.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_10.pyi new file mode 100644 index 000000000..2b9e51e77 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_10.pyi @@ -0,0 +1,6178 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AddressAttribute, + BlockDeviceMapping, + CapacityReservationSpecification, + ClientVpnAuthorizationRuleStatus, + CpuOptionsRequest, + CreditSpecification, + CreditSpecificationRequest, + ElasticGpuSpecification, + ElasticGpuSpecificationResponse, + ElasticInferenceAccelerator, + EnclaveOptionsRequest, + Filter, + FleetCapacityReservationTargetRequest, + GroupIdentifier, + HibernationOptionsRequest, + IamInstanceProfileAssociation, + IamInstanceProfileSpecification, + IcmpTypeCode, + ImageCriterionRequest, + Instance, + InstanceCount, + InstanceIpv6Address, + InstanceMaintenanceOptionsRequest, + InstanceMarketOptionsRequest, + InstanceMetadataOptionsRequest, + InstanceNetworkInterfaceSpecification, + InstanceNetworkPerformanceOptionsRequest, + InstanceRequirements, + InstanceRequirementsRequest, + InstanceSecondaryInterfaceSpecificationRequest, + InstanceTagNotificationAttribute, + InstanceTypeSpecificationRequest, + IpPermission, + LaunchTemplateBlockDeviceMapping, + LaunchTemplateBlockDeviceMappingRequest, + LaunchTemplateCapacityReservationSpecificationRequest, + LaunchTemplateCapacityReservationSpecificationResponse, + LaunchTemplateCpuOptions, + LaunchTemplateCpuOptionsRequest, + LaunchTemplateElasticInferenceAccelerator, + LaunchTemplateElasticInferenceAcceleratorResponse, + LaunchTemplateEnclaveOptions, + LaunchTemplateEnclaveOptionsRequest, + LaunchTemplateHibernationOptions, + LaunchTemplateHibernationOptionsRequest, + LaunchTemplateIamInstanceProfileSpecification, + LaunchTemplateIamInstanceProfileSpecificationRequest, + LaunchTemplateInstanceMaintenanceOptions, + LaunchTemplateInstanceMaintenanceOptionsRequest, + LaunchTemplateInstanceMarketOptions, + LaunchTemplateInstanceMarketOptionsRequest, + LaunchTemplateInstanceMetadataOptions, + LaunchTemplateInstanceMetadataOptionsRequest, + LaunchTemplateInstanceNetworkInterfaceSpecification, + LaunchTemplateInstanceNetworkInterfaceSpecificationRequest, + LaunchTemplateInstanceSecondaryInterfaceSpecification, + LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest, + LaunchTemplateLicenseConfiguration, + LaunchTemplateLicenseConfigurationRequest, + LaunchTemplateNetworkPerformanceOptions, + LaunchTemplateNetworkPerformanceOptionsRequest, + LaunchTemplatePlacement, + LaunchTemplatePlacementRequest, + LaunchTemplatePrivateDnsNameOptions, + LaunchTemplatePrivateDnsNameOptionsRequest, + LaunchTemplateSpecification, + LaunchTemplateTagSpecification, + LaunchTemplateTagSpecificationRequest, + LaunchTemplatesMonitoring, + LaunchTemplatesMonitoringRequest, + LicenseConfigurationRequest, + LocalGatewayRoute, + ManagedPrefixList, + OperatorRequest, + OperatorResponse, + Placement, + PortRange, + PriceSchedule, + PricingDetail, + PrivateDnsDetails, + PrivateDnsNameConfiguration, + PrivateDnsNameOptionsRequest, + PropagatingVgw, + RecurringCharge, + ReferencedSecurityGroup, + SpotFleetRequestConfigData, + SpotInstanceRequest, + SpotPlacement, + SupportedRegionDetail, + Tag, + TagSpecification, + TransitGatewayClientVpnAttachment, + TransitGatewayMulticastDomainAssociations, + TransitGatewayMulticastGroup, + TransitGatewayMulticastRegisteredGroupMembers, + TransitGatewayMulticastRegisteredGroupSources, + TransitGatewayPeeringAttachment, + TransitGatewayRoute, + TransitGatewayVpcAttachment, + UnsuccessfulItem, + UserBucket, + UserBucketDetails, + _SerdeShape, +) + +@dataclass(kw_only=True) +class RegisterImageOutput(_SerdeShape): + """Contains the output of RegisterImage.""" + + image_id: str | None = ... + """The ID of the newly registered AMI.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RegisterInstanceEventNotificationAttributesInput(_SerdeShape): + """ + Dataclass for RegisterInstanceEventNotificationAttributesInput + structure. + """ + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_tag_attribute: RegisterInstanceTagAttributeRequest | None = ... + """Information about the tag keys to register.""" + +@dataclass(kw_only=True) +class RegisterInstanceEventNotificationAttributesOutput(_SerdeShape): + """ + Dataclass for RegisterInstanceEventNotificationAttributesOutput + structure. + """ + + instance_tag_attribute: InstanceTagNotificationAttribute | None = ... + """The resulting set of tag keys.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RegisterInstanceTagAttributeRequest(_SerdeShape): + """ + Information about the tag keys to register for the current Region. You + can either specify individual tag keys or register all tag keys in the + current Region. You must specify either `IncludeAllTagsOfInstance` or + `InstanceTagKeys` in the request + """ + + include_all_tags_of_instance: bool | None = ... + """ + Indicates whether to register all tag keys in the current Region. + Specify `true` to register all tag keys. + """ + instance_tag_keys: list[str] | None = ... + """The tag keys to register.""" + +@dataclass(kw_only=True) +class RegisterTransitGatewayMulticastGroupMembersInput(_SerdeShape): + """ + Dataclass for RegisterTransitGatewayMulticastGroupMembersInput + structure. + """ + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + group_ip_address: str | None = ... + """The IP address assigned to the transit gateway multicast group.""" + network_interface_ids: list[str] | None = ... + """ + The group members' network interface IDs to register with the transit + gateway multicast group. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RegisterTransitGatewayMulticastGroupMembersOutput(_SerdeShape): + """ + Dataclass for RegisterTransitGatewayMulticastGroupMembersOutput + structure. + """ + + registered_multicast_group_members: ( + TransitGatewayMulticastRegisteredGroupMembers | None + ) = ... + """ + Information about the registered transit gateway multicast group + members. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RegisterTransitGatewayMulticastGroupSourcesInput(_SerdeShape): + """ + Dataclass for RegisterTransitGatewayMulticastGroupSourcesInput + structure. + """ + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + group_ip_address: str | None = ... + """The IP address assigned to the transit gateway multicast group.""" + network_interface_ids: list[str] | None = ... + """ + The group sources' network interface IDs to register with the transit + gateway multicast group. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RegisterTransitGatewayMulticastGroupSourcesOutput(_SerdeShape): + """ + Dataclass for RegisterTransitGatewayMulticastGroupSourcesOutput + structure. + """ + + registered_multicast_group_sources: ( + TransitGatewayMulticastRegisteredGroupSources | None + ) = ... + """Information about the transit gateway multicast group sources.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RejectCapacityReservationBillingOwnershipInput(_SerdeShape): + """Dataclass for RejectCapacityReservationBillingOwnershipInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation for which to reject the request.""" + +@dataclass(kw_only=True) +class RejectCapacityReservationBillingOwnershipOutput(_SerdeShape): + """Dataclass for RejectCapacityReservationBillingOwnershipOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RejectTransitGatewayClientVpnAttachmentInput(_SerdeShape): + """Dataclass for RejectTransitGatewayClientVpnAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the Transit Gateway attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RejectTransitGatewayClientVpnAttachmentOutput(_SerdeShape): + """Dataclass for RejectTransitGatewayClientVpnAttachmentOutput structure.""" + + transit_gateway_client_vpn_attachment: ( + TransitGatewayClientVpnAttachment | None + ) = ... + """Information about the Transit Gateway Client VPN attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RejectTransitGatewayMulticastDomainAssociationsInput(_SerdeShape): + """ + Dataclass for RejectTransitGatewayMulticastDomainAssociationsInput + structure. + """ + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + subnet_ids: list[str] | None = ... + """ + The IDs of the subnets to associate with the transit gateway multicast + domain. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RejectTransitGatewayMulticastDomainAssociationsOutput(_SerdeShape): + """ + Dataclass for RejectTransitGatewayMulticastDomainAssociationsOutput + structure. + """ + + associations: TransitGatewayMulticastDomainAssociations | None = ... + """Information about the multicast domain associations.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RejectTransitGatewayPeeringAttachmentInput(_SerdeShape): + """Dataclass for RejectTransitGatewayPeeringAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway peering attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RejectTransitGatewayPeeringAttachmentOutput(_SerdeShape): + """Dataclass for RejectTransitGatewayPeeringAttachmentOutput structure.""" + + transit_gateway_peering_attachment: TransitGatewayPeeringAttachment | None = ... + """The transit gateway peering attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RejectTransitGatewayVpcAttachmentInput(_SerdeShape): + """Dataclass for RejectTransitGatewayVpcAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RejectTransitGatewayVpcAttachmentOutput(_SerdeShape): + """Dataclass for RejectTransitGatewayVpcAttachmentOutput structure.""" + + transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... + """Information about the attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RejectVpcEndpointConnectionsInput(_SerdeShape): + """Dataclass for RejectVpcEndpointConnectionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_id: str | None = ... + """The ID of the service.""" + vpc_endpoint_ids: list[str] | None = ... + """The IDs of the VPC endpoints.""" + +@dataclass(kw_only=True) +class RejectVpcEndpointConnectionsOutput(_SerdeShape): + """Dataclass for RejectVpcEndpointConnectionsOutput structure.""" + + unsuccessful: list[UnsuccessfulItem] | None = ... + """Information about the endpoints that were not rejected, if applicable.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RejectVpcPeeringConnectionInput(_SerdeShape): + """Dataclass for RejectVpcPeeringConnectionInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_peering_connection_id: str | None = ... + """The ID of the VPC peering connection.""" + +@dataclass(kw_only=True) +class RejectVpcPeeringConnectionOutput(_SerdeShape): + """Dataclass for RejectVpcPeeringConnectionOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReleaseAddressInput(_SerdeShape): + """Dataclass for ReleaseAddressInput structure.""" + + allocation_id: str | None = ... + """The allocation ID. This parameter is required.""" + public_ip: str | None = ... + """Deprecated.""" + network_border_group: str | None = ... + """ + The set of Availability Zones, Local Zones, or Wavelength Zones from + which Amazon Web Services advertises IP addresses. + + If you provide an incorrect network border group, you receive an + `InvalidAddress.NotFound` error. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ReleaseAddressOutput(_SerdeShape): + """Dataclass for ReleaseAddressOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReleaseHostsInput(_SerdeShape): + """Dataclass for ReleaseHostsInput structure.""" + + host_ids: list[str] | None = ... + """The IDs of the Dedicated Hosts to release.""" + +@dataclass(kw_only=True) +class ReleaseHostsOutput(_SerdeShape): + """Dataclass for ReleaseHostsOutput structure.""" + + successful: list[str] | None = ... + """The IDs of the Dedicated Hosts that were successfully released.""" + unsuccessful: list[UnsuccessfulItem] | None = ... + """ + The IDs of the Dedicated Hosts that could not be released, including an + error message. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReleaseIpamPoolAllocationInput(_SerdeShape): + """Dataclass for ReleaseIpamPoolAllocationInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_id: str | None = ... + """ + The ID of the IPAM pool which contains the allocation you want to + release. + """ + cidr: str | None = ... + """The CIDR of the allocation you want to release.""" + ipam_pool_allocation_id: str | None = ... + """The ID of the allocation.""" + +@dataclass(kw_only=True) +class ReleaseIpamPoolAllocationOutput(_SerdeShape): + """Dataclass for ReleaseIpamPoolAllocationOutput structure.""" + + success: bool | None = ... + """Indicates if the release was successful.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveIpamOperatingRegion(_SerdeShape): + """ + Remove an operating Region from an IPAM. Operating Regions are Amazon + Web Services Regions where the IPAM is allowed to manage IP address + CIDRs. IPAM only discovers and monitors resources in the Amazon Web + Services Regions you select as operating Regions. + + For more information about operating Regions, see [Create an + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in + the *Amazon VPC IPAM User Guide* + """ + + region_name: str | None = ... + """The name of the operating Region you want to remove.""" + +@dataclass(kw_only=True) +class RemoveIpamOrganizationalUnitExclusion(_SerdeShape): + """ + Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM + is integrated with Amazon Web Services Organizations and you add an + organizational unit (OU) exclusion, IPAM will not manage the IP + addresses in accounts in that OU exclusion. There is a limit on the + number of exclusions you can create. For more information, see [Quotas + for your + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + + organizations_entity_path: str | None = ... + """ + An Amazon Web Services Organizations entity path. Build the path for the + OU(s) using Amazon Web Services Organizations IDs separated by a `/`. + Include all child OUs by ending the path with `/*`. + + - Example 1 + + - Path to a child OU: + `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/` + + - In this example, `o-a1b2c3d4e5` is the organization ID, + `r-f6g7h8i9j0example` is the root ID , `ou-ghi0-awsccccc` is an OU + ID, and `ou-jkl0-awsddddd` is a child OU ID. + + - IPAM will not manage the IP addresses in accounts in the child OU. + + - Example 2 + + - Path where all child OUs will be part of the exclusion: + `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/*` + + - In this example, IPAM will not manage the IP addresses in accounts + in the OU (`ou-ghi0-awsccccc`) or in accounts in any OUs that are + children of the OU. + + For more information on how to construct an entity path, see [Understand + the Amazon Web Services Organizations entity + path](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path) + in the *Amazon Web Services Identity and Access Management User Guide*. + """ + +@dataclass(kw_only=True) +class RemovePrefixListEntry(_SerdeShape): + """An entry for a prefix list.""" + + cidr: str | None = ... + """The CIDR block.""" + +@dataclass(kw_only=True) +class ReplaceIamInstanceProfileAssociationInput(_SerdeShape): + """Dataclass for ReplaceIamInstanceProfileAssociationInput structure.""" + + iam_instance_profile: IamInstanceProfileSpecification | None = ... + """The IAM instance profile.""" + association_id: str | None = ... + """The ID of the existing IAM instance profile association.""" + +@dataclass(kw_only=True) +class ReplaceIamInstanceProfileAssociationOutput(_SerdeShape): + """Dataclass for ReplaceIamInstanceProfileAssociationOutput structure.""" + + iam_instance_profile_association: IamInstanceProfileAssociation | None = ... + """Information about the IAM instance profile association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplaceImageCriteriaInAllowedImagesSettingsInput(_SerdeShape): + """ + Dataclass for ReplaceImageCriteriaInAllowedImagesSettingsInput + structure. + """ + + image_criteria: list[ImageCriterionRequest] | None = ... + """ + The list of criteria that are evaluated to determine whether AMIs are + discoverable and usable in the account in the specified Amazon Web + Services Region. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ReplaceImageCriteriaInAllowedImagesSettingsOutput(_SerdeShape): + """ + Dataclass for ReplaceImageCriteriaInAllowedImagesSettingsOutput + structure. + """ + + return_value: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplaceImageInstanceTypeSpecificationInput(_SerdeShape): + """Dataclass for ReplaceImageInstanceTypeSpecificationInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + instance_type_specification: InstanceTypeSpecificationRequest | None = ... + """ + The instance type specification to set on the AMI. Omit this parameter + to remove the existing instance type specification. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ReplaceImageInstanceTypeSpecificationOutput(_SerdeShape): + """Dataclass for ReplaceImageInstanceTypeSpecificationOutput structure.""" + + return_value: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ReplacementStrategy(UnknownEnumMixin, StrEnum): + LAUNCH = "launch" + LAUNCH_BEFORE_TERMINATE = "launch-before-terminate" + +@dataclass(kw_only=True) +class ReplaceNetworkAclAssociationInput(_SerdeShape): + """Dataclass for ReplaceNetworkAclAssociationInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + association_id: str | None = ... + """ + The ID of the current association between the original network ACL and + the subnet. + """ + network_acl_id: str | None = ... + """The ID of the new network ACL to associate with the subnet.""" + +@dataclass(kw_only=True) +class ReplaceNetworkAclAssociationOutput(_SerdeShape): + """Dataclass for ReplaceNetworkAclAssociationOutput structure.""" + + new_association_id: str | None = ... + """The ID of the new association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplaceNetworkAclEntryInput(_SerdeShape): + """Dataclass for ReplaceNetworkAclEntryInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_acl_id: str | None = ... + """The ID of the ACL.""" + rule_number: int | None = ... + """The rule number of the entry to replace.""" + protocol: str | None = ... + """ + The protocol number. A value of \"-1\" means all protocols. If you + specify \"-1\" or a protocol number other than \"6\" (TCP), \"17\" + (UDP), or \"1\" (ICMP), traffic on all ports is allowed, regardless of + any ports or ICMP types or codes that you specify. If you specify + protocol \"58\" (ICMPv6) and specify an IPv4 CIDR block, traffic for all + ICMP types and codes allowed, regardless of any that you specify. If you + specify protocol \"58\" (ICMPv6) and specify an IPv6 CIDR block, you + must specify an ICMP type and code. + """ + rule_action: str | None = ... + """Indicates whether to allow or deny the traffic that matches the rule.""" + egress: bool | None = ... + """ + Indicates whether to replace the egress rule. + + Default: If no value is specified, we replace the ingress rule. + """ + cidr_block: str | None = ... + """ + The IPv4 network range to allow or deny, in CIDR notation (for example + `172.16.0.0/24`). + """ + ipv6_cidr_block: str | None = ... + """ + The IPv6 network range to allow or deny, in CIDR notation (for example + `2001:bd8:1234:1a00::/64`). + """ + icmp_type_code: IcmpTypeCode | None = ... + """ + ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying + protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block. + """ + port_range: PortRange | None = ... + """ + TCP or UDP protocols: The range of ports the rule applies to. Required + if specifying protocol 6 (TCP) or 17 (UDP). + """ + +@dataclass(kw_only=True) +class ReplaceNetworkAclEntryOutput(_SerdeShape): + """Dataclass for ReplaceNetworkAclEntryOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplaceRootVolumeTask(_SerdeShape): + """Information about a root volume replacement task.""" + + replace_root_volume_task_id: str | None = ... + """The ID of the root volume replacement task.""" + instance_id: str | None = ... + """ + The ID of the instance for which the root volume replacement task was + created. + """ + task_state: str | None = ... + """ + The state of the task. The task can be in one of the following states: + + - `pending` - the replacement volume is being created. + + - `in-progress` - the original volume is being detached and the + replacement volume is being attached. + + - `succeeded` - the replacement volume has been successfully attached to + the instance and the instance is available. + + - `failing` - the replacement task is in the process of failing. + + - `failed` - the replacement task has failed but the original root + volume is still attached. + + - `failing-detached` - the replacement task is in the process of + failing. The instance might have no root volume attached. + + - `failed-detached` - the replacement task has failed and the instance + has no root volume attached. + """ + start_time: str | None = ... + """The time the task was started.""" + complete_time: str | None = ... + """The time the task completed.""" + tags: list[Tag] | None = ... + """The tags assigned to the task.""" + image_id: str | None = ... + """The ID of the AMI used to create the replacement root volume.""" + snapshot_id: str | None = ... + """The ID of the snapshot used to create the replacement root volume.""" + delete_replaced_root_volume: bool | None = ... + """ + Indicates whether the original root volume is to be deleted after the + root volume replacement task completes. + """ + +class ReplaceRootVolumeTaskState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + IN_PROGRESS = "in-progress" + FAILING = "failing" + SUCCEEDED = "succeeded" + FAILED = "failed" + FAILED_DETACHED = "failed-detached" + +@dataclass(kw_only=True) +class ReplaceRouteInput(_SerdeShape): + """Dataclass for ReplaceRouteInput structure.""" + + destination_prefix_list_id: str | None = ... + """The ID of the prefix list for the route.""" + vpc_endpoint_id: str | None = ... + """ + The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints + only. + """ + local_target: bool | None = ... + """ + Specifies whether to reset the local route to its default target + (`local`). + """ + transit_gateway_id: str | None = ... + """The ID of a transit gateway.""" + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + carrier_gateway_id: str | None = ... + """[IPv4 traffic only] The ID of a carrier gateway.""" + core_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of the core network.""" + odb_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of the ODB network.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + route_table_id: str | None = ... + """The ID of the route table.""" + destination_cidr_block: str | None = ... + """ + The IPv4 CIDR address block used for the destination match. The value + that you provide must match the CIDR of an existing route in the table. + """ + gateway_id: str | None = ... + """The ID of an internet gateway or virtual private gateway.""" + destination_ipv6_cidr_block: str | None = ... + """ + The IPv6 CIDR address block used for the destination match. The value + that you provide must match the CIDR of an existing route in the table. + """ + egress_only_internet_gateway_id: str | None = ... + """[IPv6 traffic only] The ID of an egress-only internet gateway.""" + instance_id: str | None = ... + """The ID of a NAT instance in your VPC.""" + network_interface_id: str | None = ... + """The ID of a network interface.""" + vpc_peering_connection_id: str | None = ... + """The ID of a VPC peering connection.""" + nat_gateway_id: str | None = ... + """[IPv4 traffic only] The ID of a NAT gateway.""" + +@dataclass(kw_only=True) +class ReplaceRouteOutput(_SerdeShape): + """Dataclass for ReplaceRouteOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplaceRouteTableAssociationInput(_SerdeShape): + """Dataclass for ReplaceRouteTableAssociationInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + association_id: str | None = ... + """The association ID.""" + route_table_id: str | None = ... + """The ID of the new route table to associate with the subnet.""" + +@dataclass(kw_only=True) +class ReplaceRouteTableAssociationOutput(_SerdeShape): + """Dataclass for ReplaceRouteTableAssociationOutput structure.""" + + new_association_id: str | None = ... + """The ID of the new association.""" + association_state: RouteTableAssociationState | None = ... + """The state of the association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplaceTransitGatewayRouteInput(_SerdeShape): + """Dataclass for ReplaceTransitGatewayRouteInput structure.""" + + destination_cidr_block: str | None = ... + """ + The CIDR range used for the destination match. Routing decisions are + based on the most specific match. + """ + transit_gateway_route_table_id: str | None = ... + """The ID of the route table.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + blackhole: bool | None = ... + """Indicates whether traffic matching this route is to be dropped.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ReplaceTransitGatewayRouteOutput(_SerdeShape): + """Dataclass for ReplaceTransitGatewayRouteOutput structure.""" + + route: TransitGatewayRoute | None = ... + """Information about the modified route.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplaceVpnTunnelInput(_SerdeShape): + """Dataclass for ReplaceVpnTunnelInput structure.""" + + vpn_connection_id: str | None = ... + """The ID of the Site-to-Site VPN connection.""" + vpn_tunnel_outside_ip_address: str | None = ... + """The external IP address of the VPN tunnel.""" + apply_pending_maintenance: bool | None = ... + """Trigger pending tunnel endpoint maintenance.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ReplaceVpnTunnelOutput(_SerdeShape): + """Dataclass for ReplaceVpnTunnelOutput structure.""" + + return_: bool | None = ... + """Confirmation of replace tunnel operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ReportInstanceReasonCodes(UnknownEnumMixin, StrEnum): + INSTANCE_STUCK_IN_STATE = "instance-stuck-in-state" + UNRESPONSIVE = "unresponsive" + NOT_ACCEPTING_CREDENTIALS = "not-accepting-credentials" + PASSWORD_NOT_AVAILABLE = "password-not-available" + PERFORMANCE_NETWORK = "performance-network" + PERFORMANCE_INSTANCE_STORE = "performance-instance-store" + PERFORMANCE_EBS_VOLUME = "performance-ebs-volume" + PERFORMANCE_OTHER = "performance-other" + OTHER = "other" + +@dataclass(kw_only=True) +class ReportInstanceStatusInput(_SerdeShape): + """Dataclass for ReportInstanceStatusInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + instances: list[str] | None = ... + """The instances.""" + status: str | None = ... + """The status of all instances listed.""" + start_time: datetime | None = ... + """The time at which the reported instance health state began.""" + end_time: datetime | None = ... + """The time at which the reported instance health state ended.""" + reason_codes: list[str] | None = ... + """ + The reason codes that describe the health state of your instance. + + - `instance-stuck-in-state`: My instance is stuck in a state. + + - `unresponsive`: My instance is unresponsive. + + - `not-accepting-credentials`: My instance is not accepting my + credentials. + + - `password-not-available`: A password is not available for my instance. + + - `performance-network`: My instance is experiencing performance + problems that I believe are network related. + + - `performance-instance-store`: My instance is experiencing performance + problems that I believe are related to the instance stores. + + - `performance-ebs-volume`: My instance is experiencing performance + problems that I believe are related to an EBS volume. + + - `performance-other`: My instance is experiencing performance problems. + + - `other`: [explain using the description parameter] + """ + description: str | None = ... + """Descriptive text about the health state of your instance.""" + +@dataclass(kw_only=True) +class ReportInstanceStatusOutput(_SerdeShape): + """Dataclass for ReportInstanceStatusOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ReportState(UnknownEnumMixin, StrEnum): + RUNNING = "running" + CANCELLED = "cancelled" + COMPLETE = "complete" + ERROR = "error" + +class ReportStatusType(UnknownEnumMixin, StrEnum): + OK = "ok" + IMPAIRED = "impaired" + +@dataclass(kw_only=True) +class RequestFilterPortRange(_SerdeShape): + """Describes a port range.""" + + from_port: int | None = ... + """The first port in the range.""" + to_port: int | None = ... + """The last port in the range.""" + +@dataclass(kw_only=True) +class RequestIpamResourceTag(_SerdeShape): + """A tag on an IPAM resource.""" + + key: str | None = ... + """ + The key of a tag assigned to the resource. Use this filter to find all + resources assigned a tag with a specific key, regardless of the tag + value. + """ + value: str | None = ... + """The value for the tag.""" + +@dataclass(kw_only=True) +class RequestLaunchTemplateData(_SerdeShape): + """ + The information to include in the launch template. + + Note: + You must specify at least one parameter for the launch template data. + """ + + kernel_id: str | None = ... + """ + The ID of the kernel. + + Warning: + We recommend that you use PV-GRUB instead of kernels and RAM disks. For + more information, see [User provided + kernels](https://docs.aws.amazon.com/linux/al2/ug/UserProvidedKernels.html) + in the *Amazon Linux 2 User Guide*. + """ + ebs_optimized: bool | None = ... + """ + Indicates whether the instance is optimized for Amazon EBS I/O. This + optimization provides dedicated throughput to Amazon EBS and an + optimized configuration stack to provide optimal Amazon EBS I/O + performance. This optimization isn't available with all instance types. + Additional usage charges apply when using an EBS-optimized instance. + """ + iam_instance_profile: ( + LaunchTemplateIamInstanceProfileSpecificationRequest | None + ) = ... + """The name or Amazon Resource Name (ARN) of an IAM instance profile.""" + block_device_mappings: list[LaunchTemplateBlockDeviceMappingRequest] | None = ... + """The block device mapping.""" + network_interfaces: ( + list[LaunchTemplateInstanceNetworkInterfaceSpecificationRequest] | None + ) = ... + """The network interfaces for the instance.""" + image_id: str | None = ... + """ + The ID of the AMI in the format `ami-0ac394d6a3example`. + + Alternatively, you can specify a Systems Manager parameter, using one of + the following formats. The Systems Manager parameter will resolve to an + AMI ID on launch. + + To reference a public parameter: + + - `resolve:ssm:`*`public-parameter`*` ` + + To reference a parameter stored in the same account: + + - `resolve:ssm:`*`parameter-name`*` ` + + - `resolve:ssm:`*`parameter-name:version-number`*` ` + + - `resolve:ssm:`*`parameter-name:label`*` ` + + To reference a parameter shared from another Amazon Web Services + account: + + - `resolve:ssm:`*`parameter-ARN`*` ` + + - `resolve:ssm:`*`parameter-ARN:version-number`*` ` + + - `resolve:ssm:`*`parameter-ARN:label`*` ` + + For more information, see [Use a Systems Manager parameter instead of an + AMI + ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) + in the *Amazon EC2 User Guide*. + + Note: + If the launch template will be used for an EC2 Fleet or Spot Fleet, note + the following: + + - Only EC2 Fleets of type `instant` support specifying a Systems Manager + parameter. + + - For EC2 Fleets of type `maintain` or `request`, or for Spot Fleets, + you must specify the AMI ID. + """ + instance_type: str | None = ... + """ + The instance type. For more information, see [Amazon EC2 instance + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + in the *Amazon EC2 User Guide*. + + If you specify `InstanceType`, you can't specify + `InstanceRequirements`. + """ + key_name: str | None = ... + """ + The name of the key pair. You can create a key pair using + [CreateKeyPair](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html) + or + [ImportKeyPair](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html). + + Warning: + If you do not specify a key pair, you can't connect to the instance + unless you choose an AMI that is configured to allow users another way + to log in. + """ + monitoring: LaunchTemplatesMonitoringRequest | None = ... + """The monitoring for the instance.""" + placement: LaunchTemplatePlacementRequest | None = ... + """The placement for the instance.""" + ram_disk_id: str | None = ... + """ + The ID of the RAM disk. + + Warning: + We recommend that you use PV-GRUB instead of kernels and RAM disks. For + more information, see [User provided + kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) + in the *Amazon EC2 User Guide*. + """ + disable_api_termination: bool | None = ... + """ + Indicates whether termination protection is enabled for the instance. + The default is `false`, which means that you can terminate the instance + using the Amazon EC2 console, command line tools, or API. You can enable + termination protection when you launch an instance, while the instance + is running, or while the instance is stopped. + """ + instance_initiated_shutdown_behavior: str | None = ... + """ + Indicates whether an instance stops or terminates when you initiate + shutdown from the instance (using the operating system command for + system shutdown). + + Default: `stop` + """ + user_data: str | None = ... + """ + The user data to make available to the instance. You must provide + base64-encoded text. User data is limited to 16 KB. For more + information, see [Run commands when you launch an EC2 instance with user + data + input](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) + in the *Amazon EC2 User Guide*. + + If you are creating the launch template for use with Batch, the user + data must be provided in the [MIME multi-part archive + format](https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive). + For more information, see [Amazon EC2 user data in launch + templates](https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html#lt-user-data) + in the *Batch User Guide*. + """ + tag_specifications: list[LaunchTemplateTagSpecificationRequest] | None = ... + """ + The tags to apply to the resources that are created during instance + launch. These tags are not applied to the launch template. + """ + elastic_gpu_specifications: list[ElasticGpuSpecification] | None = ... + """ + Deprecated. + + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + """ + elastic_inference_accelerators: ( + list[LaunchTemplateElasticInferenceAccelerator] | None + ) = ... + """ + Note: + Amazon Elastic Inference is no longer available. + + An elastic inference accelerator to associate with the instance. Elastic + inference accelerators are a resource you can attach to your Amazon EC2 + instances to accelerate your Deep Learning (DL) inference workloads. + + You cannot specify accelerators from different generations in the same + request. + """ + security_group_ids: list[str] | None = ... + """ + The IDs of the security groups. + + If you specify a network interface, you must specify any security groups + as part of the network interface instead of using this parameter. + """ + security_groups: list[str] | None = ... + """ + The names of the security groups. For a nondefault VPC, you must use + security group IDs instead. + + If you specify a network interface, you must specify any security groups + as part of the network interface instead of using this parameter. + """ + instance_market_options: LaunchTemplateInstanceMarketOptionsRequest | None = ... + """The market (purchasing) option for the instances.""" + credit_specification: CreditSpecificationRequest | None = ... + """ + The credit option for CPU usage of the instance. Valid only for T + instances. + """ + cpu_options: LaunchTemplateCpuOptionsRequest | None = ... + """ + The CPU options for the instance. For more information, see [CPU options + for Amazon EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) + in the *Amazon EC2 User Guide*. + """ + capacity_reservation_specification: ( + LaunchTemplateCapacityReservationSpecificationRequest | None + ) = ... + """ + The Capacity Reservation targeting option. If you do not specify this + parameter, the instance's Capacity Reservation preference defaults to + `open`, which enables it to run in any open Capacity Reservation that + has matching attributes (instance type, platform, Availability Zone). + """ + license_specifications: list[LaunchTemplateLicenseConfigurationRequest] | None = ... + """The license configurations.""" + hibernation_options: LaunchTemplateHibernationOptionsRequest | None = ... + """ + Indicates whether an instance is enabled for hibernation. This parameter + is valid only if the instance meets the [hibernation + prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). + For more information, see [Hibernate your Amazon EC2 + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) + in the *Amazon EC2 User Guide*. + """ + metadata_options: LaunchTemplateInstanceMetadataOptionsRequest | None = ... + """ + The metadata options for the instance. For more information, see + [Configure the Instance Metadata Service + options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html) + in the *Amazon EC2 User Guide*. + """ + enclave_options: LaunchTemplateEnclaveOptionsRequest | None = ... + """ + Indicates whether the instance is enabled for Amazon Web Services Nitro + Enclaves. For more information, see [What is Nitro + Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) + in the *Amazon Web Services Nitro Enclaves User Guide*. + + You can't enable Amazon Web Services Nitro Enclaves and hibernation on + the same instance. + """ + instance_requirements: InstanceRequirementsRequest | None = ... + """ + The attributes for the instance types. When you specify instance + attributes, Amazon EC2 will identify instance types with these + attributes. + + You must specify `VCpuCount` and `MemoryMiB`. All other attributes are + optional. Any unspecified optional attribute is set to its default. + + When you specify multiple attributes, you get instance types that + satisfy all of the specified attributes. If you specify multiple values + for an attribute, you get instance types that satisfy any of the + specified values. + + To limit the list of instance types from which Amazon EC2 can identify + matching instance types, you can use one of the following parameters, + but not both in the same request: + + - `AllowedInstanceTypes` - The instance types to include in the list. + All other instance types are ignored, even if they match your + specified attributes. + + - `ExcludedInstanceTypes` - The instance types to exclude from the list, + even if they match your specified attributes. + + Note: + If you specify `InstanceRequirements`, you can't specify + `InstanceType`. + + Attribute-based instance type selection is only supported when using + Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If + you plan to use the launch template in the [launch instance + wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), + or with the + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) + API or + [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) + Amazon Web Services CloudFormation resource, you can't specify + `InstanceRequirements`. + + For more information, see [Specify attributes for instance type + selection for EC2 Fleet or Spot + Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html) + and [Spot placement + score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) + in the *Amazon EC2 User Guide*. + """ + private_dns_name_options: LaunchTemplatePrivateDnsNameOptionsRequest | None = ... + """ + The options for the instance hostname. The default values are inherited + from the subnet. + """ + maintenance_options: LaunchTemplateInstanceMaintenanceOptionsRequest | None = ... + """The maintenance options for the instance.""" + disable_api_stop: bool | None = ... + """ + Indicates whether to enable the instance for stop protection. For more + information, see [Enable stop protection for your EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html) + in the *Amazon EC2 User Guide*. + """ + operator: OperatorRequest | None = ... + """The entity that manages the launch template.""" + network_performance_options: ( + LaunchTemplateNetworkPerformanceOptionsRequest | None + ) = ... + """ + Contains launch template settings to boost network performance for the + type of workload that runs on your instance. + """ + secondary_interfaces: ( + list[LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest] | None + ) = ... + """ + The secondary interfaces to associate with instances launched from the + template. + """ + +@dataclass(kw_only=True) +class RequestSpotFleetInput(_SerdeShape): + """Contains the parameters for RequestSpotFleet.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + spot_fleet_request_config: SpotFleetRequestConfigData | None = ... + """The configuration for the Spot Fleet request.""" + +@dataclass(kw_only=True) +class RequestSpotFleetOutput(_SerdeShape): + """Contains the output of RequestSpotFleet.""" + + spot_fleet_request_id: str | None = ... + """The ID of the Spot Fleet request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RequestSpotInstancesInput(_SerdeShape): + """Contains the parameters for RequestSpotInstances.""" + + launch_specification: RequestSpotLaunchSpecification | None = ... + """The launch specification.""" + tag_specifications: list[TagSpecification] | None = ... + """ + The key-value pair for tagging the Spot Instance request on creation. + The value for `ResourceType` must be `spot-instances-request`, otherwise + the Spot Instance request fails. To tag the Spot Instance request after + it has been created, see + [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + """ + instance_interruption_behavior: str | None = ... + """ + The behavior when a Spot Instance is interrupted. The default is + `terminate`. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + spot_price: str | None = ... + """ + The maximum price per unit hour that you are willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your instances will be interrupted more + frequently than if you do not specify this parameter. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency in Amazon EC2 API + requests](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html) + in the *Amazon EC2 User Guide*. + """ + instance_count: int | None = ... + """ + The maximum number of Spot Instances to launch. + + Default: 1 + """ + type: str | None = ... + """ + The Spot Instance request type. + + Default: `one-time` + """ + valid_from: datetime | None = ... + """ + The start date of the request. If this is a one-time request, the + request becomes active at this date and time and remains active until + all instances launch, the request expires, or the request is canceled. + If the request is persistent, the request becomes active at this date + and time and remains active until it expires or is canceled. + + The specified start date and time cannot be equal to the current date + and time. You must specify a start date and time that occurs after the + current date and time. + """ + valid_until: datetime | None = ... + """ + The end date of the request, in UTC format + (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + + - For a persistent request, the request remains active until the + `ValidUntil` date and time is reached. Otherwise, the request remains + active until you cancel it. + + - For a one-time request, the request remains active until all instances + launch, the request is canceled, or the `ValidUntil` date and time is + reached. By default, the request is valid for 7 days from the date the + request was created. + """ + launch_group: str | None = ... + """ + The instance launch group. Launch groups are Spot Instances that launch + together and terminate together. + + Default: Instances are launched and terminated individually + """ + availability_zone_group: str | None = ... + """ + The user-specified name for a logical grouping of requests. + + When you specify an Availability Zone group in a Spot Instance request, + all Spot Instances in the request are launched in the same Availability + Zone. Instance proximity is maintained with this parameter, but the + choice of Availability Zone is not. The group applies only to requests + for Spot Instances of the same instance type. Any additional Spot + Instance requests that are specified with the same Availability Zone + group name are launched in that same Availability Zone, as long as at + least one instance from the group is still active. + + If there is no active instance running in the Availability Zone group + that you specify for a new Spot Instance request (all instances are + terminated, the request is expired, or the maximum price you specified + falls below current Spot price), then Amazon EC2 launches the instance + in any Availability Zone where the constraint can be met. Consequently, + the subsequent set of Spot Instances could be placed in a different zone + from the original request, even if you specified the same Availability + Zone group. + + Default: Instances are launched in any available Availability Zone. + """ + block_duration_minutes: int | None = ... + """Deprecated.""" + +@dataclass(kw_only=True) +class RequestSpotInstancesOutput(_SerdeShape): + """Contains the output of RequestSpotInstances.""" + + spot_instance_requests: list[SpotInstanceRequest] | None = ... + """The Spot Instance requests.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RequestSpotLaunchSpecification(_SerdeShape): + """Describes the launch specification for an instance.""" + + security_group_ids: list[str] | None = ... + """The IDs of the security groups.""" + security_groups: list[str] | None = ... + """Not supported.""" + addressing_type: str | None = ... + """Deprecated.""" + block_device_mappings: list[BlockDeviceMapping] | None = ... + """ + The block device mapping entries. You can't specify both a snapshot ID + and an encryption value. This is because only blank volumes can be + encrypted on creation. If a snapshot is the basis for a volume, it is + not blank and its encryption status is used for the volume encryption + status. + """ + ebs_optimized: bool | None = ... + """ + Indicates whether the instance is optimized for EBS I/O. This + optimization provides dedicated throughput to Amazon EBS and an + optimized configuration stack to provide optimal EBS I/O performance. + This optimization isn't available with all instance types. Additional + usage charges apply when using an EBS Optimized instance. + + Default: `false` + """ + iam_instance_profile: IamInstanceProfileSpecification | None = ... + """The IAM instance profile.""" + image_id: str | None = ... + """The ID of the AMI.""" + instance_type: str | None = ... + """The instance type. Only one instance type can be specified.""" + kernel_id: str | None = ... + """The ID of the kernel.""" + key_name: str | None = ... + """The name of the key pair.""" + monitoring: RunInstancesMonitoringEnabled | None = ... + """ + Indicates whether basic or detailed monitoring is enabled for the + instance. + + Default: Disabled + """ + network_interfaces: list[InstanceNetworkInterfaceSpecification] | None = ... + """ + The network interfaces. If you specify a network interface, you must + specify subnet IDs and security group IDs using the network interface. + """ + placement: SpotPlacement | None = ... + """The placement information for the instance.""" + ramdisk_id: str | None = ... + """The ID of the RAM disk.""" + subnet_id: str | None = ... + """The ID of the subnet in which to launch the instance.""" + user_data: str | None = ... + """ + The base64-encoded user data that instances use when starting up. User + data is limited to 16 KB. + """ + +@dataclass(kw_only=True) +class Reservation(_SerdeShape): + """ + Describes a launch request for one or more instances, and includes + owner, requester, and security group information that applies to all + instances in the launch request. + """ + + reservation_id: str | None = ... + """The ID of the reservation.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the reservation.""" + requester_id: str | None = ... + """ + The ID of the requester that launched the instances on your behalf (for + example, Amazon Web Services Management Console or Auto Scaling). + """ + groups: list[GroupIdentifier] | None = ... + """Not supported.""" + instances: list[Instance] | None = ... + """The instances.""" + +class ReservationEndDateType(UnknownEnumMixin, StrEnum): + LIMITED = "limited" + UNLIMITED = "unlimited" + +@dataclass(kw_only=True) +class ReservationFleetInstanceSpecification(_SerdeShape): + """ + Information about an instance type to use in a Capacity Reservation + Fleet. + """ + + instance_type: str | None = ... + """ + The instance type for which the Capacity Reservation Fleet reserves + capacity. + """ + instance_platform: str | None = ... + """ + The type of operating system for which the Capacity Reservation Fleet + reserves capacity. + """ + weight: float | None = ... + """ + The number of capacity units provided by the specified instance type. + This value, together with the total target capacity that you specify for + the Fleet determine the number of instances for which the Fleet reserves + capacity. Both values are based on units that make sense for your + workload. For more information, see [Total target + capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) + in the *Amazon EC2 User Guide*. + """ + availability_zone: str | None = ... + """ + The Availability Zone in which the Capacity Reservation Fleet reserves + the capacity. A Capacity Reservation Fleet can't span Availability + Zones. All instance type specifications that you specify for the Fleet + must use the same Availability Zone. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which the Capacity Reservation Fleet + reserves the capacity. A Capacity Reservation Fleet can't span + Availability Zones. All instance type specifications that you specify + for the Fleet must use the same Availability Zone. + """ + ebs_optimized: bool | None = ... + """ + Indicates whether the Capacity Reservation Fleet supports EBS-optimized + instances types. This optimization provides dedicated throughput to + Amazon EBS and an optimized configuration stack to provide optimal I/O + performance. This optimization isn't available with all instance types. + Additional usage charges apply when using EBS-optimized instance types. + """ + priority: int | None = ... + """ + The priority to assign to the instance type. This value is used to + determine which of the instance types specified for the Fleet should be + prioritized for use. A lower value indicates a high priority. For more + information, see [Instance type + priority](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority) + in the *Amazon EC2 User Guide*. + """ + +class ReservationState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + EXPIRED = "expired" + CANCELLED = "cancelled" + SCHEDULED = "scheduled" + PENDING = "pending" + FAILED = "failed" + DELAYED = "delayed" + UNSUPPORTED = "unsupported" + PAYMENT_PENDING = "payment-pending" + PAYMENT_FAILED = "payment-failed" + RETIRED = "retired" + +class ReservationType(UnknownEnumMixin, StrEnum): + CAPACITY_BLOCK = "capacity-block" + ODCR = "odcr" + +@dataclass(kw_only=True) +class ReservationValue(_SerdeShape): + """The cost associated with the Reserved Instance.""" + + hourly_price: str | None = ... + """The hourly rate of the reservation.""" + remaining_total_value: str | None = ... + """ + The balance of the total value (the sum of remainingUpfrontValue + + hourlyPrice * number of hours remaining). + """ + remaining_upfront_value: str | None = ... + """The remaining upfront cost of the reservation.""" + +class ReservedCapacityAllocationStrategy(UnknownEnumMixin, StrEnum): + PRIORITIZED = "prioritized" + +class ReservedCapacityFallbackMarketType(UnknownEnumMixin, StrEnum): + ON_DEMAND = "on-demand" + +@dataclass(kw_only=True) +class ReservedCapacityFallbackOptions(_SerdeShape): + """ + Describes the fallback behavior for an EC2 Fleet that uses reserved + capacity when the reserved capacity is not enough to meet the target + capacity. If you don't specify fallback options, EC2 Fleet does not + fall back to any other market type after the specified reservation types + are exhausted. + """ + + market_types: list[str] | None = ... + """ + The instance purchasing options to fall back to when the reserved + capacity is not enough to meet the target capacity. The only supported + value is `on-demand`, which launches On-Demand Instances to fulfill the + remaining target capacity. + """ + +@dataclass(kw_only=True) +class ReservedCapacityFallbackOptionsRequest(_SerdeShape): + """ + Describes the fallback behavior for an EC2 Fleet that uses reserved + capacity when the reserved capacity is not enough to meet the target + capacity. If you don't specify fallback options, EC2 Fleet does not + fall back to any other market type after the specified reservation types + are exhausted. + """ + + market_types: list[str] | None = ... + """ + The instance purchasing options to fall back to when the reserved + capacity is not enough to meet the target capacity. The only supported + value is `on-demand`, which launches On-Demand Instances to fulfill the + remaining target capacity. + """ + +@dataclass(kw_only=True) +class ReservedCapacityOptions(_SerdeShape): + """ + Defines EC2 Fleet preferences for utilizing reserved capacity when + `DefaultTargetCapacityType` is set to `reserved-capacity`. EC2 Fleet can + fulfill reserved capacity using On-Demand Capacity Reservations, + Capacity Blocks for ML, and interruptible Capacity Reservations. + """ + + allocation_strategy: str | None = ... + """ + The strategy that determines the order in which EC2 Fleet launches + instances across the reservation types that you specify. The only + supported value is `prioritized`, which launches instances in the + priority order that you specify in your launch template overrides. If + you don't specify an allocation strategy, instances are launched in a + random order. + """ + reservation_types: list[str] | None = ... + """ + The types of Capacity Reservations used for fulfilling the EC2 Fleet + request. + """ + reserved_capacity_fallback_options: ReservedCapacityFallbackOptions | None = ... + """ + The fallback behavior for the EC2 Fleet when there is not enough + reserved capacity available to meet the target capacity. + """ + +@dataclass(kw_only=True) +class ReservedCapacityOptionsRequest(_SerdeShape): + """ + Defines EC2 Fleet preferences for utilizing reserved capacity when + `DefaultTargetCapacityType` is set to `reserved-capacity`. EC2 Fleet can + fulfill reserved capacity using On-Demand Capacity Reservations, + Capacity Blocks for ML, and interruptible Capacity Reservations. + + Note: + This configuration can only be used if the EC2 Fleet is of type + `instant`. + + When you specify `ReservedCapacityOptions`, you must also set + `DefaultTargetCapacityType` to `reserved-capacity` in the + `TargetCapacitySpecification`. + + For more information about interruptible Capacity Reservations, see + [Launch instances into an interruptible Capacity + Reservation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-launch-instances-interruptible-cr-walkthrough.html) + in the *Amazon EC2 User Guide*. + """ + + allocation_strategy: str | None = ... + """ + The strategy that determines the order in which EC2 Fleet launches + instances across the reservation types that you specify. The only + supported value is `prioritized`, which launches instances in the + priority order that you specify in your launch template overrides. If + you don't specify an allocation strategy, instances are launched in a + random order. + """ + reservation_types: list[str] | None = ... + """ + The types of Capacity Reservations to use for fulfilling the EC2 Fleet + request. This is an ordered list: EC2 Fleet attempts to launch instances + into each Capacity Reservation type in the order that you specify them + before moving on to the next type. + """ + capacity_reservation_target: FleetCapacityReservationTargetRequest | None = ... + """ + The Capacity Reservations or Capacity Reservation Resource Groups to use + for fulfilling the EC2 Fleet request. You can specify Capacity + Reservation IDs or a Capacity Reservation Resource Group ARN, but not + both. + """ + reserved_capacity_fallback_options: ( + ReservedCapacityFallbackOptionsRequest | None + ) = ... + """ + The fallback behavior for the EC2 Fleet when there is not enough + reserved capacity available to meet the target capacity. This member + takes a `ReservedCapacityFallbackOptionsRequest` structure, in which you + set `MarketTypes` to the instance purchasing options to fall back to. + """ + +@dataclass(kw_only=True) +class ReservedInstanceLimitPrice(_SerdeShape): + """Describes the limit price of a Reserved Instance offering.""" + + amount: float | None = ... + """ + Used for Reserved Instance Marketplace offerings. Specifies the limit + price on the total order (instanceCount * price). + """ + currency_code: str | None = ... + """ + The currency in which the `limitPrice` amount is specified. At this + time, the only supported currency is `USD`. + """ + +@dataclass(kw_only=True) +class ReservedInstanceReservationValue(_SerdeShape): + """The total value of the Convertible Reserved Instance.""" + + reservation_value: ReservationValue | None = ... + """ + The total value of the Convertible Reserved Instance that you are + exchanging. + """ + reserved_instance_id: str | None = ... + """The ID of the Convertible Reserved Instance that you are exchanging.""" + +@dataclass(kw_only=True) +class ReservedInstances(_SerdeShape): + """Describes a Reserved Instance.""" + + currency_code: str | None = ... + """ + The currency of the Reserved Instance. It's specified using ISO 4217 + standard currency codes. At this time, the only supported currency is + `USD`. + """ + instance_tenancy: str | None = ... + """The tenancy of the instance.""" + offering_class: str | None = ... + """The offering class of the Reserved Instance.""" + offering_type: str | None = ... + """The Reserved Instance offering type.""" + recurring_charges: list[RecurringCharge] | None = ... + """The recurring charge tag assigned to the resource.""" + scope: str | None = ... + """The scope of the Reserved Instance.""" + tags: list[Tag] | None = ... + """Any tags assigned to the resource.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + reserved_instances_id: str | None = ... + """The ID of the Reserved Instance.""" + instance_type: str | None = ... + """The instance type on which the Reserved Instance can be used.""" + availability_zone: str | None = ... + """The Availability Zone in which the Reserved Instance can be used.""" + start: datetime | None = ... + """The date and time the Reserved Instance started.""" + end: datetime | None = ... + """The time when the Reserved Instance expires.""" + duration: int | None = ... + """The duration of the Reserved Instance, in seconds.""" + usage_price: float | None = ... + """The usage price of the Reserved Instance, per hour.""" + fixed_price: float | None = ... + """The purchase price of the Reserved Instance.""" + instance_count: int | None = ... + """The number of reservations purchased.""" + product_description: str | None = ... + """The Reserved Instance product platform description.""" + state: str | None = ... + """The state of the Reserved Instance purchase.""" + +@dataclass(kw_only=True) +class ReservedInstancesConfiguration(_SerdeShape): + """ + Describes the configuration settings for the modified Reserved + Instances. + """ + + availability_zone: str | None = ... + """The Availability Zone for the modified Reserved Instances.""" + instance_count: int | None = ... + """ + The number of modified Reserved Instances. + + Note: + This is a required field for a request. + """ + instance_type: str | None = ... + """The instance type for the modified Reserved Instances.""" + platform: str | None = ... + """The network platform of the modified Reserved Instances.""" + scope: str | None = ... + """ + Whether the Reserved Instance is applied to instances in a Region or + instances in a specific Availability Zone. + """ + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + +@dataclass(kw_only=True) +class ReservedInstancesId(_SerdeShape): + """Describes the ID of a Reserved Instance.""" + + reserved_instances_id: str | None = ... + """The ID of the Reserved Instance.""" + +@dataclass(kw_only=True) +class ReservedInstancesListing(_SerdeShape): + """Describes a Reserved Instance listing.""" + + client_token: str | None = ... + """ + A unique, case-sensitive key supplied by the client to ensure that the + request is idempotent. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + create_date: datetime | None = ... + """The time the listing was created.""" + instance_counts: list[InstanceCount] | None = ... + """The number of instances in this state.""" + price_schedules: list[PriceSchedule] | None = ... + """The price of the Reserved Instance listing.""" + reserved_instances_id: str | None = ... + """The ID of the Reserved Instance.""" + reserved_instances_listing_id: str | None = ... + """The ID of the Reserved Instance listing.""" + status: str | None = ... + """The status of the Reserved Instance listing.""" + status_message: str | None = ... + """ + The reason for the current status of the Reserved Instance listing. The + response can be blank. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the resource.""" + update_date: datetime | None = ... + """The last modified timestamp of the listing.""" + +@dataclass(kw_only=True) +class ReservedInstancesModification(_SerdeShape): + """Describes a Reserved Instance modification.""" + + client_token: str | None = ... + """ + A unique, case-sensitive key supplied by the client to ensure that the + request is idempotent. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + create_date: datetime | None = ... + """The time when the modification request was created.""" + effective_date: datetime | None = ... + """The time for the modification to become effective.""" + modification_results: list[ReservedInstancesModificationResult] | None = ... + """ + Contains target configurations along with their corresponding new + Reserved Instance IDs. + """ + reserved_instances_ids: list[ReservedInstancesId] | None = ... + """The IDs of one or more Reserved Instances.""" + reserved_instances_modification_id: str | None = ... + """A unique ID for the Reserved Instance modification.""" + status: str | None = ... + """The status of the Reserved Instances modification request.""" + status_message: str | None = ... + """The reason for the status.""" + update_date: datetime | None = ... + """The time when the modification request was last updated.""" + +@dataclass(kw_only=True) +class ReservedInstancesModificationResult(_SerdeShape): + """Describes the modification request/s.""" + + reserved_instances_id: str | None = ... + """ + The ID for the Reserved Instances that were created as part of the + modification request. This field is only available when the modification + is fulfilled. + """ + target_configuration: ReservedInstancesConfiguration | None = ... + """ + The target Reserved Instances configurations supplied as part of the + modification request. + """ + +@dataclass(kw_only=True) +class ReservedInstancesOffering(_SerdeShape): + """Describes a Reserved Instance offering.""" + + currency_code: str | None = ... + """ + The currency of the Reserved Instance offering you are purchasing. It's + specified using ISO 4217 standard currency codes. At this time, the only + supported currency is `USD`. + """ + instance_tenancy: str | None = ... + """The tenancy of the instance.""" + marketplace: bool | None = ... + """ + Indicates whether the offering is available through the Reserved + Instance Marketplace (resale) or Amazon Web Services. If it's a + Reserved Instance Marketplace offering, this is `true`. + """ + offering_class: str | None = ... + """ + If `convertible` it can be exchanged for Reserved Instances of the same + or higher monetary value, with different configurations. If `standard`, + it is not possible to perform an exchange. + """ + offering_type: str | None = ... + """The Reserved Instance offering type.""" + pricing_details: list[PricingDetail] | None = ... + """The pricing details of the Reserved Instance offering.""" + recurring_charges: list[RecurringCharge] | None = ... + """The recurring charge tag assigned to the resource.""" + scope: str | None = ... + """ + Whether the Reserved Instance is applied to instances in a Region or an + Availability Zone. + """ + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + reserved_instances_offering_id: str | None = ... + """ + The ID of the Reserved Instance offering. This is the offering ID used + in GetReservedInstancesExchangeQuote to confirm that an exchange can be + made. + """ + instance_type: str | None = ... + """The instance type on which the Reserved Instance can be used.""" + availability_zone: str | None = ... + """The Availability Zone in which the Reserved Instance can be used.""" + duration: int | None = ... + """The duration of the Reserved Instance, in seconds.""" + usage_price: float | None = ... + """The usage price of the Reserved Instance, per hour.""" + fixed_price: float | None = ... + """The purchase price of the Reserved Instance.""" + product_description: str | None = ... + """The Reserved Instance product platform description.""" + +class ReservedInstanceState(UnknownEnumMixin, StrEnum): + PAYMENT_PENDING = "payment-pending" + ACTIVE = "active" + PAYMENT_FAILED = "payment-failed" + RETIRED = "retired" + QUEUED = "queued" + QUEUED_DELETED = "queued-deleted" + +@dataclass(kw_only=True) +class ResetAddressAttributeInput(_SerdeShape): + """Dataclass for ResetAddressAttributeInput structure.""" + + allocation_id: str | None = ... + """[EC2-VPC] The allocation ID.""" + attribute: str | None = ... + """The attribute of the IP address.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ResetAddressAttributeOutput(_SerdeShape): + """Dataclass for ResetAddressAttributeOutput structure.""" + + address: AddressAttribute | None = ... + """Information about the IP address.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResetEbsDefaultKmsKeyIdInput(_SerdeShape): + """Dataclass for ResetEbsDefaultKmsKeyIdInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ResetEbsDefaultKmsKeyIdOutput(_SerdeShape): + """Dataclass for ResetEbsDefaultKmsKeyIdOutput structure.""" + + kms_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the default KMS key for EBS encryption + by default. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResetFpgaImageAttributeInput(_SerdeShape): + """Dataclass for ResetFpgaImageAttributeInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + fpga_image_id: str | None = ... + """The ID of the AFI.""" + attribute: str | None = ... + """The attribute.""" + +class ResetFpgaImageAttributeName(UnknownEnumMixin, StrEnum): + LOAD_PERMISSION = "loadPermission" + +@dataclass(kw_only=True) +class ResetFpgaImageAttributeOutput(_SerdeShape): + """Dataclass for ResetFpgaImageAttributeOutput structure.""" + + return_: bool | None = ... + """Is `true` if the request succeeds, and an error otherwise.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResetImageAttributeInput(_SerdeShape): + """Contains the parameters for ResetImageAttribute.""" + + attribute: str | None = ... + """ + The attribute to reset (currently you can only reset the launch + permission attribute). + """ + image_id: str | None = ... + """The ID of the AMI.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +class ResetImageAttributeName(UnknownEnumMixin, StrEnum): + LAUNCH_PERMISSION = "launchPermission" + +@dataclass(kw_only=True) +class ResetImageAttributeOutput(_SerdeShape): + """Dataclass for ResetImageAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResetInstanceAttributeInput(_SerdeShape): + """Dataclass for ResetInstanceAttributeInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the instance.""" + attribute: str | None = ... + """ + The attribute to reset. + + Warning: + You can only reset the following attributes: `kernel` | `ramdisk` | + `sourceDestCheck`. + """ + +@dataclass(kw_only=True) +class ResetInstanceAttributeOutput(_SerdeShape): + """Dataclass for ResetInstanceAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResetNetworkInterfaceAttributeInput(_SerdeShape): + """Contains the parameters for ResetNetworkInterfaceAttribute.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_interface_id: str | None = ... + """The ID of the network interface.""" + source_dest_check: str | None = ... + """The source/destination checking attribute. Resets the value to `true`.""" + +@dataclass(kw_only=True) +class ResetNetworkInterfaceAttributeOutput(_SerdeShape): + """Dataclass for ResetNetworkInterfaceAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResetSnapshotAttributeInput(_SerdeShape): + """Dataclass for ResetSnapshotAttributeInput structure.""" + + attribute: str | None = ... + """ + The attribute to reset. Currently, only the attribute for permission to + create volumes can be reset. + """ + snapshot_id: str | None = ... + """The ID of the snapshot.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ResetSnapshotAttributeOutput(_SerdeShape): + """Dataclass for ResetSnapshotAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceStatement(_SerdeShape): + """Describes a resource statement.""" + + resources: list[str] | None = ... + """The resources.""" + resource_types: list[str] | None = ... + """The resource types.""" + +@dataclass(kw_only=True) +class ResourceStatementRequest(_SerdeShape): + """Describes a resource statement.""" + + resources: list[str] | None = ... + """The resources.""" + resource_types: list[str] | None = ... + """The resource types.""" + +class ResourceType(UnknownEnumMixin, StrEnum): + CAPACITY_RESERVATION = "capacity-reservation" + CLIENT_VPN_ENDPOINT = "client-vpn-endpoint" + CUSTOMER_GATEWAY = "customer-gateway" + CARRIER_GATEWAY = "carrier-gateway" + COIP_POOL = "coip-pool" + DECLARATIVE_POLICIES_REPORT = "declarative-policies-report" + DEDICATED_HOST = "dedicated-host" + DHCP_OPTIONS = "dhcp-options" + EGRESS_ONLY_INTERNET_GATEWAY = "egress-only-internet-gateway" + ELASTIC_IP = "elastic-ip" + ELASTIC_GPU = "elastic-gpu" + EXPORT_IMAGE_TASK = "export-image-task" + EXPORT_INSTANCE_TASK = "export-instance-task" + FLEET = "fleet" + FPGA_IMAGE = "fpga-image" + HOST_RESERVATION = "host-reservation" + IMAGE = "image" + IMAGE_USAGE_REPORT = "image-usage-report" + IMPORT_IMAGE_TASK = "import-image-task" + IMPORT_SNAPSHOT_TASK = "import-snapshot-task" + INSTANCE = "instance" + INSTANCE_EVENT_WINDOW = "instance-event-window" + INTERNET_GATEWAY = "internet-gateway" + IPAM = "ipam" + IPAM_POOL = "ipam-pool" + IPAM_SCOPE = "ipam-scope" + IPV4POOL_EC2 = "ipv4pool-ec2" + IPV6POOL_EC2 = "ipv6pool-ec2" + KEY_PAIR = "key-pair" + LAUNCH_TEMPLATE = "launch-template" + LOCAL_GATEWAY = "local-gateway" + LOCAL_GATEWAY_ROUTE_TABLE = "local-gateway-route-table" + LOCAL_GATEWAY_VIRTUAL_INTERFACE = "local-gateway-virtual-interface" + LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP = "local-gateway-virtual-interface-group" + LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION = ( + "local-gateway-route-table-vpc-association" + ) + LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION = ( + "local-gateway-route-table-virtual-interface-group-association" + ) + NATGATEWAY = "natgateway" + NETWORK_ACL = "network-acl" + NETWORK_INTERFACE = "network-interface" + NETWORK_INSIGHTS_ANALYSIS = "network-insights-analysis" + NETWORK_INSIGHTS_PATH = "network-insights-path" + NETWORK_INSIGHTS_ACCESS_SCOPE = "network-insights-access-scope" + NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS = "network-insights-access-scope-analysis" + OUTPOST_LAG = "outpost-lag" + PLACEMENT_GROUP = "placement-group" + PREFIX_LIST = "prefix-list" + REPLACE_ROOT_VOLUME_TASK = "replace-root-volume-task" + RESERVED_INSTANCES = "reserved-instances" + ROUTE_TABLE = "route-table" + SECURITY_GROUP = "security-group" + SECURITY_GROUP_RULE = "security-group-rule" + SERVICE_LINK_VIRTUAL_INTERFACE = "service-link-virtual-interface" + SNAPSHOT = "snapshot" + SPOT_FLEET_REQUEST = "spot-fleet-request" + SPOT_INSTANCES_REQUEST = "spot-instances-request" + SUBNET = "subnet" + SUBNET_CIDR_RESERVATION = "subnet-cidr-reservation" + TRAFFIC_MIRROR_FILTER = "traffic-mirror-filter" + TRAFFIC_MIRROR_SESSION = "traffic-mirror-session" + TRAFFIC_MIRROR_TARGET = "traffic-mirror-target" + TRANSIT_GATEWAY = "transit-gateway" + TRANSIT_GATEWAY_ATTACHMENT = "transit-gateway-attachment" + TRANSIT_GATEWAY_CONNECT_PEER = "transit-gateway-connect-peer" + TRANSIT_GATEWAY_MULTICAST_DOMAIN = "transit-gateway-multicast-domain" + TRANSIT_GATEWAY_POLICY_TABLE = "transit-gateway-policy-table" + TRANSIT_GATEWAY_METERING_POLICY = "transit-gateway-metering-policy" + TRANSIT_GATEWAY_ROUTE_TABLE = "transit-gateway-route-table" + TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT = ( + "transit-gateway-route-table-announcement" + ) + VOLUME = "volume" + VPC = "vpc" + VPC_ENDPOINT = "vpc-endpoint" + VPC_ENDPOINT_CONNECTION = "vpc-endpoint-connection" + VPC_ENDPOINT_SERVICE = "vpc-endpoint-service" + VPC_ENDPOINT_SERVICE_PERMISSION = "vpc-endpoint-service-permission" + VPC_PEERING_CONNECTION = "vpc-peering-connection" + VPN_CONNECTION = "vpn-connection" + VPN_GATEWAY = "vpn-gateway" + VPC_FLOW_LOG = "vpc-flow-log" + CAPACITY_RESERVATION_FLEET = "capacity-reservation-fleet" + TRAFFIC_MIRROR_FILTER_RULE = "traffic-mirror-filter-rule" + VPC_ENDPOINT_CONNECTION_DEVICE_TYPE = "vpc-endpoint-connection-device-type" + VERIFIED_ACCESS_INSTANCE = "verified-access-instance" + VERIFIED_ACCESS_GROUP = "verified-access-group" + VERIFIED_ACCESS_ENDPOINT = "verified-access-endpoint" + VERIFIED_ACCESS_POLICY = "verified-access-policy" + VERIFIED_ACCESS_TRUST_PROVIDER = "verified-access-trust-provider" + VPN_CONNECTION_DEVICE_TYPE = "vpn-connection-device-type" + VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION = "vpc-block-public-access-exclusion" + VPC_ENCRYPTION_CONTROL = "vpc-encryption-control" + ROUTE_SERVER = "route-server" + ROUTE_SERVER_ENDPOINT = "route-server-endpoint" + ROUTE_SERVER_PEER = "route-server-peer" + IPAM_RESOURCE_DISCOVERY = "ipam-resource-discovery" + IPAM_RESOURCE_DISCOVERY_ASSOCIATION = "ipam-resource-discovery-association" + INSTANCE_CONNECT_ENDPOINT = "instance-connect-endpoint" + VERIFIED_ACCESS_ENDPOINT_TARGET = "verified-access-endpoint-target" + IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN = ( + "ipam-external-resource-verification-token" + ) + CAPACITY_BLOCK = "capacity-block" + MAC_MODIFICATION_TASK = "mac-modification-task" + IPAM_PREFIX_LIST_RESOLVER = "ipam-prefix-list-resolver" + IPAM_POLICY = "ipam-policy" + IPAM_PREFIX_LIST_RESOLVER_TARGET = "ipam-prefix-list-resolver-target" + IPAM_INTERNET_REGISTRY_ASSOCIATION = "ipam-internet-registry-association" + SECONDARY_INTERFACE = "secondary-interface" + SECONDARY_NETWORK = "secondary-network" + SECONDARY_SUBNET = "secondary-subnet" + CAPACITY_MANAGER_DATA_EXPORT = "capacity-manager-data-export" + VPN_CONCENTRATOR = "vpn-concentrator" + IPAM_POOL_ALLOCATION = "ipam-pool-allocation" + CAPACITY_RESERVATION_CANCELLATION_QUOTE = "capacity-reservation-cancellation-quote" + APPLICATION_STATUS_CHECK = "application-status-check" + CAPACITY_RESERVATION_MODIFICATION_QUOTE = "capacity-reservation-modification-quote" + +@dataclass(kw_only=True) +class ResourceTypeOption(_SerdeShape): + """The options that affect the scope of the response.""" + + option_name: str | None = ... + """ + The name of the option. + + - For `ec2:Instance`: + + Specify `state-name` - The current state of the EC2 instance. + + - For `ec2:LaunchTemplate`: + + Specify `version-depth` - The number of launch template versions to + check, starting from the most recent version. + """ + option_values: list[str] | None = ... + """ + A value for the specified option. + + - For `state-name`: + + - Valid values: `pending` | `running` | `shutting-down` | + `terminated` | `stopping` | `stopped` + + - Default: All states + + - For `version-depth`: + + - Valid values: Integers between `1` and `10000` + + - Default: `10` + """ + +@dataclass(kw_only=True) +class ResourceTypeRequest(_SerdeShape): + """ + A resource type to check for image references. Associated options can + also be specified if the resource type is an EC2 instance or launch + template. + """ + + resource_type: str | None = ... + """The resource type.""" + resource_type_options: list[ResourceTypeOption] | None = ... + """ + The options that affect the scope of the response. Valid only when + `ResourceType` is `ec2:Instance` or `ec2:LaunchTemplate`. + """ + +@dataclass(kw_only=True) +class ResponseError(_SerdeShape): + """ + Describes the error that's returned when you cannot delete a launch + template version. + """ + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The error message, if applicable.""" + +@dataclass(kw_only=True) +class ResponseLaunchTemplateData(_SerdeShape): + """The information for a launch template.""" + + kernel_id: str | None = ... + """The ID of the kernel, if applicable.""" + ebs_optimized: bool | None = ... + """Indicates whether the instance is optimized for Amazon EBS I/O.""" + iam_instance_profile: LaunchTemplateIamInstanceProfileSpecification | None = ... + """The IAM instance profile.""" + block_device_mappings: list[LaunchTemplateBlockDeviceMapping] | None = ... + """The block device mappings.""" + network_interfaces: ( + list[LaunchTemplateInstanceNetworkInterfaceSpecification] | None + ) = ... + """The network interfaces.""" + image_id: str | None = ... + """ + The ID of the AMI or a Systems Manager parameter. The Systems Manager + parameter will resolve to the ID of the AMI at instance launch. + + The value depends on what you specified in the request. The possible + values are: + + - If an AMI ID was specified in the request, then this is the AMI ID. + + - If a Systems Manager parameter was specified in the request, and + `ResolveAlias` was configured as `true`, then this is the AMI ID that + the parameter is mapped to in the Parameter Store. + + - If a Systems Manager parameter was specified in the request, and + `ResolveAlias` was configured as `false`, then this is the parameter + value. + + For more information, see [Use a Systems Manager parameter instead of an + AMI + ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) + in the *Amazon EC2 User Guide*. + """ + instance_type: str | None = ... + """The instance type.""" + key_name: str | None = ... + """The name of the key pair.""" + monitoring: LaunchTemplatesMonitoring | None = ... + """The monitoring for the instance.""" + placement: LaunchTemplatePlacement | None = ... + """The placement of the instance.""" + ram_disk_id: str | None = ... + """The ID of the RAM disk, if applicable.""" + disable_api_termination: bool | None = ... + """ + If set to `true`, indicates that the instance cannot be terminated using + the Amazon EC2 console, command line tool, or API. + """ + instance_initiated_shutdown_behavior: str | None = ... + """ + Indicates whether an instance stops or terminates when you initiate + shutdown from the instance (using the operating system command for + system shutdown). + """ + user_data: str | None = ... + """The user data for the instance.""" + tag_specifications: list[LaunchTemplateTagSpecification] | None = ... + """ + The tags that are applied to the resources that are created during + instance launch. + """ + elastic_gpu_specifications: list[ElasticGpuSpecificationResponse] | None = ... + """ + Deprecated. + + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + """ + elastic_inference_accelerators: ( + list[LaunchTemplateElasticInferenceAcceleratorResponse] | None + ) = ... + """ + Note: + Amazon Elastic Inference is no longer available. + + An elastic inference accelerator to associate with the instance. Elastic + inference accelerators are a resource you can attach to your Amazon EC2 + instances to accelerate your Deep Learning (DL) inference workloads. + + You cannot specify accelerators from different generations in the same + request. + """ + security_group_ids: list[str] | None = ... + """The security group IDs.""" + security_groups: list[str] | None = ... + """The security group names.""" + instance_market_options: LaunchTemplateInstanceMarketOptions | None = ... + """The market (purchasing) option for the instances.""" + credit_specification: CreditSpecification | None = ... + """The credit option for CPU usage of the instance.""" + cpu_options: LaunchTemplateCpuOptions | None = ... + """ + The CPU options for the instance. For more information, see [CPU options + for Amazon EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) + in the *Amazon EC2 User Guide*. + """ + capacity_reservation_specification: ( + LaunchTemplateCapacityReservationSpecificationResponse | None + ) = ... + """Information about the Capacity Reservation targeting option.""" + license_specifications: list[LaunchTemplateLicenseConfiguration] | None = ... + """The license configurations.""" + hibernation_options: LaunchTemplateHibernationOptions | None = ... + """ + Indicates whether an instance is configured for hibernation. For more + information, see [Hibernate your Amazon EC2 + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) + in the *Amazon EC2 User Guide*. + """ + metadata_options: LaunchTemplateInstanceMetadataOptions | None = ... + """ + The metadata options for the instance. For more information, see + [Configure the Instance Metadata Service + options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html) + in the *Amazon EC2 User Guide*. + """ + enclave_options: LaunchTemplateEnclaveOptions | None = ... + """ + Indicates whether the instance is enabled for Amazon Web Services Nitro + Enclaves. + """ + instance_requirements: InstanceRequirements | None = ... + """ + The attributes for the instance types. When you specify instance + attributes, Amazon EC2 will identify instance types with these + attributes. + + If you specify `InstanceRequirements`, you can't specify + `InstanceTypes`. + """ + private_dns_name_options: LaunchTemplatePrivateDnsNameOptions | None = ... + """The options for the instance hostname.""" + maintenance_options: LaunchTemplateInstanceMaintenanceOptions | None = ... + """The maintenance options for your instance.""" + disable_api_stop: bool | None = ... + """ + Indicates whether the instance is enabled for stop protection. For more + information, see [Enable stop protection for your EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html) + in the *Amazon EC2 User Guide*. + """ + operator: OperatorResponse | None = ... + """The entity that manages the launch template.""" + network_performance_options: LaunchTemplateNetworkPerformanceOptions | None = ... + """ + Contains the launch template settings for network performance options + for your instance. + """ + secondary_interfaces: ( + list[LaunchTemplateInstanceSecondaryInterfaceSpecification] | None + ) = ... + """The secondary interfaces associated with the launch template.""" + +@dataclass(kw_only=True) +class RestoreAddressToClassicInput(_SerdeShape): + """Dataclass for RestoreAddressToClassicInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + public_ip: str | None = ... + """The Elastic IP address.""" + +@dataclass(kw_only=True) +class RestoreAddressToClassicOutput(_SerdeShape): + """Dataclass for RestoreAddressToClassicOutput structure.""" + + public_ip: str | None = ... + """The Elastic IP address.""" + status: str | None = ... + """The move status for the IP address.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreImageFromRecycleBinInput(_SerdeShape): + """Dataclass for RestoreImageFromRecycleBinInput structure.""" + + image_id: str | None = ... + """The ID of the AMI to restore.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RestoreImageFromRecycleBinOutput(_SerdeShape): + """Dataclass for RestoreImageFromRecycleBinOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreManagedPrefixListVersionInput(_SerdeShape): + """Dataclass for RestoreManagedPrefixListVersionInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + previous_version: int | None = ... + """The version to restore.""" + current_version: int | None = ... + """The current version number for the prefix list.""" + +@dataclass(kw_only=True) +class RestoreManagedPrefixListVersionOutput(_SerdeShape): + """Dataclass for RestoreManagedPrefixListVersionOutput structure.""" + + prefix_list: ManagedPrefixList | None = ... + """Information about the prefix list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreSnapshotFromRecycleBinInput(_SerdeShape): + """Dataclass for RestoreSnapshotFromRecycleBinInput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot to restore.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RestoreSnapshotFromRecycleBinOutput(_SerdeShape): + """Dataclass for RestoreSnapshotFromRecycleBinOutput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + outpost_arn: str | None = ... + """ + The ARN of the Outpost on which the snapshot is stored. For more + information, see [Amazon EBS local snapshots on + Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html) + in the *Amazon EBS User Guide*. + """ + description: str | None = ... + """The description for the snapshot.""" + encrypted: bool | None = ... + """Indicates whether the snapshot is encrypted.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the EBS snapshot.""" + progress: str | None = ... + """The progress of the snapshot, as a percentage.""" + start_time: datetime | None = ... + """The time stamp when the snapshot was initiated.""" + state: str | None = ... + """The state of the snapshot.""" + volume_id: str | None = ... + """The ID of the volume that was used to create the snapshot.""" + volume_size: int | None = ... + """The size of the volume, in GiB.""" + sse_type: str | None = ... + """Reserved for future use.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreSnapshotTierInput(_SerdeShape): + """Dataclass for RestoreSnapshotTierInput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot to restore.""" + temporary_restore_days: int | None = ... + """ + Specifies the number of days for which to temporarily restore an + archived snapshot. Required for temporary restores only. The snapshot + will be automatically re-archived after this period. + + To temporarily restore an archived snapshot, specify the number of days + and omit the **PermanentRestore** parameter or set it to `false`. + """ + permanent_restore: bool | None = ... + """ + Indicates whether to permanently restore an archived snapshot. To + permanently restore an archived snapshot, specify `true` and omit the + **RestoreSnapshotTierRequest$TemporaryRestoreDays** parameter. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RestoreSnapshotTierOutput(_SerdeShape): + """Dataclass for RestoreSnapshotTierOutput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + restore_start_time: datetime | None = ... + """The date and time when the snapshot restore process started.""" + restore_duration: int | None = ... + """ + For temporary restores only. The number of days for which the archived + snapshot is temporarily restored. + """ + is_permanent_restore: bool | None = ... + """ + Indicates whether the snapshot is permanently restored. `true` indicates + a permanent restore. `false` indicates a temporary restore. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreVolumeFromRecycleBinInput(_SerdeShape): + """Dataclass for RestoreVolumeFromRecycleBinInput structure.""" + + volume_id: str | None = ... + """The ID of the volume to restore.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RestoreVolumeFromRecycleBinOutput(_SerdeShape): + """Dataclass for RestoreVolumeFromRecycleBinOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RevokeClientVpnIngressInput(_SerdeShape): + """Dataclass for RevokeClientVpnIngressInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """ + The ID of the Client VPN endpoint with which the authorization rule is + associated. + """ + target_network_cidr: str | None = ... + """ + The IPv4 address range, in CIDR notation, of the network for which + access is being removed. + """ + access_group_id: str | None = ... + """The ID of the Active Directory group for which to revoke access.""" + revoke_all_groups: bool | None = ... + """ + Indicates whether access should be revoked for all groups for a single + `TargetNetworkCidr` that earlier authorized ingress for all groups using + `AuthorizeAllGroups`. This does not impact other authorization rules + that allowed ingress to the same `TargetNetworkCidr` with a specific + `AccessGroupId`. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RevokeClientVpnIngressOutput(_SerdeShape): + """Dataclass for RevokeClientVpnIngressOutput structure.""" + + status: ClientVpnAuthorizationRuleStatus | None = ... + """The current state of the authorization rule.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RevokedSecurityGroupRule(_SerdeShape): + """ + A security group rule removed with + [RevokeSecurityGroupEgress](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupEgress.html) + or + [RevokeSecurityGroupIngress](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupIngress.html). + """ + + security_group_rule_id: str | None = ... + """A security group rule ID.""" + group_id: str | None = ... + """A security group ID.""" + is_egress: bool | None = ... + """Defines if a security group rule is an outbound rule.""" + ip_protocol: str | None = ... + """The security group rule's protocol.""" + from_port: int | None = ... + """The 'from' port number of the security group rule.""" + to_port: int | None = ... + """The 'to' port number of the security group rule.""" + cidr_ipv4: str | None = ... + """The IPv4 CIDR of the traffic source.""" + cidr_ipv6: str | None = ... + """The IPv6 CIDR of the traffic source.""" + prefix_list_id: str | None = ... + """The ID of a prefix list that's the traffic source.""" + referenced_group_id: str | None = ... + """The ID of a referenced security group.""" + description: str | None = ... + """A description of the revoked security group rule.""" + +@dataclass(kw_only=True) +class RevokeSecurityGroupEgressInput(_SerdeShape): + """Dataclass for RevokeSecurityGroupEgressInput structure.""" + + security_group_rule_ids: list[str] | None = ... + """The IDs of the security group rules.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + group_id: str | None = ... + """The ID of the security group.""" + source_security_group_name: str | None = ... + """ + Not supported. Use a set of IP permissions to specify a destination + security group. + """ + source_security_group_owner_id: str | None = ... + """ + Not supported. Use a set of IP permissions to specify a destination + security group. + """ + ip_protocol: str | None = ... + """ + Not supported. Use a set of IP permissions to specify the protocol name + or number. + """ + from_port: int | None = ... + """Not supported. Use a set of IP permissions to specify the port.""" + to_port: int | None = ... + """Not supported. Use a set of IP permissions to specify the port.""" + cidr_ip: str | None = ... + """Not supported. Use a set of IP permissions to specify the CIDR.""" + ip_permissions: list[IpPermission] | None = ... + """ + The sets of IP permissions. You can't specify a destination security + group and a CIDR IP address range in the same set of permissions. + """ + +@dataclass(kw_only=True) +class RevokeSecurityGroupEgressOutput(_SerdeShape): + """Dataclass for RevokeSecurityGroupEgressOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + unknown_ip_permissions: list[IpPermission] | None = ... + """ + The outbound rules that were unknown to the service. In some cases, + `unknownIpPermissionSet` might be in a different format from the request + parameter. + """ + revoked_security_group_rules: list[RevokedSecurityGroupRule] | None = ... + """Details about the revoked security group rules.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RevokeSecurityGroupIngressInput(_SerdeShape): + """Dataclass for RevokeSecurityGroupIngressInput structure.""" + + cidr_ip: str | None = ... + """ + The CIDR IP address range. You can't specify this parameter when + specifying a source security group. + """ + from_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the start of the port range. If + the protocol is ICMP, this is the ICMP type or -1 (all ICMP types). + """ + group_id: str | None = ... + """The ID of the security group.""" + group_name: str | None = ... + """ + [Default VPC] The name of the security group. You must specify either + the security group ID or the security group name in the request. For + security groups in a nondefault VPC, you must specify the security group + ID. + """ + ip_permissions: list[IpPermission] | None = ... + """ + The sets of IP permissions. You can't specify a source security group + and a CIDR IP address range in the same set of permissions. + """ + ip_protocol: str | None = ... + """ + The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol + Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). + Use `-1` to specify all. + """ + source_security_group_name: str | None = ... + """ + [Default VPC] The name of the source security group. You can't + specify this parameter in combination with the following parameters: the + CIDR IP address range, the start of the port range, the IP protocol, and + the end of the port range. The source security group must be in the same + VPC. To revoke a specific rule for an IP protocol and port range, use a + set of IP permissions instead. + """ + source_security_group_owner_id: str | None = ... + """Not supported.""" + to_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the end of the port range. If the + protocol is ICMP, this is the ICMP code or -1 (all ICMP codes). + """ + security_group_rule_ids: list[str] | None = ... + """The IDs of the security group rules.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RevokeSecurityGroupIngressOutput(_SerdeShape): + """Dataclass for RevokeSecurityGroupIngressOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + unknown_ip_permissions: list[IpPermission] | None = ... + """ + The inbound rules that were unknown to the service. In some cases, + `unknownIpPermissionSet` might be in a different format from the request + parameter. + """ + revoked_security_group_rules: list[RevokedSecurityGroupRule] | None = ... + """Details about the revoked security group rules.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class RIProductDescription(UnknownEnumMixin, StrEnum): + LINUX_UNIX = "Linux/UNIX" + LINUX_UNIX_AMAZON_VPC_ = "Linux/UNIX (Amazon VPC)" + WINDOWS = "Windows" + WINDOWS_AMAZON_VPC_ = "Windows (Amazon VPC)" + +class Rir(UnknownEnumMixin, StrEnum): + """The Regional Internet Registry (RIR).""" + + RIPE = "ripe" + APNIC = "apnic" + ARIN = "arin" + LACNIC = "lacnic" + NICBR = "nicbr" + +class RootDeviceType(UnknownEnumMixin, StrEnum): + EBS = "ebs" + INSTANCE_STORE = "instance-store" + +@dataclass(kw_only=True) +class Route(_SerdeShape): + """Describes a route in a route table.""" + + destination_cidr_block: str | None = ... + """The IPv4 CIDR block used for the destination match.""" + destination_ipv6_cidr_block: str | None = ... + """The IPv6 CIDR block used for the destination match.""" + destination_prefix_list_id: str | None = ... + """The prefix of the Amazon Web Services service.""" + egress_only_internet_gateway_id: str | None = ... + """The ID of the egress-only internet gateway.""" + gateway_id: str | None = ... + """The ID of a gateway attached to your VPC.""" + instance_id: str | None = ... + """The ID of a NAT instance in your VPC.""" + instance_owner_id: str | None = ... + """The ID of Amazon Web Services account that owns the instance.""" + nat_gateway_id: str | None = ... + """The ID of a NAT gateway.""" + transit_gateway_id: str | None = ... + """The ID of a transit gateway.""" + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + carrier_gateway_id: str | None = ... + """The ID of the carrier gateway.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + origin: str | None = ... + """ + Describes how the route was created. + + - `CreateRouteTable` - The route was automatically created when the + route table was created. + + - `CreateRoute` - The route was manually added to the route table. + + - `EnableVgwRoutePropagation` - The route was propagated by route + propagation. + + - `Advertisement` - The route was created dynamically by Amazon VPC + Route Server. + """ + state: str | None = ... + """ + The state of the route. The `blackhole` state indicates that the + route's target isn't available (for example, the specified gateway + isn't attached to the VPC, or the specified NAT instance has been + terminated). + """ + vpc_peering_connection_id: str | None = ... + """The ID of a VPC peering connection.""" + core_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of the core network.""" + odb_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of the ODB network.""" + ip_address: str | None = ... + """ + The next hop IP address for routes propagated by VPC Route Server into + VPC route tables. + """ + +class RouteOrigin(UnknownEnumMixin, StrEnum): + CREATE_ROUTE_TABLE = "CreateRouteTable" + CREATE_ROUTE = "CreateRoute" + ENABLE_VGW_ROUTE_PROPAGATION = "EnableVgwRoutePropagation" + ADVERTISEMENT = "Advertisement" + +@dataclass(kw_only=True) +class RouteServer(_SerdeShape): + """ + Describes a route server and its configuration. + + Amazon VPC Route Server simplifies routing for traffic between workloads + that are deployed within a VPC and its internet gateways. With this + feature, VPC Route Server dynamically updates VPC and internet gateway + route tables with your preferred IPv4 or IPv6 routes to achieve routing + fault tolerance for those workloads. This enables you to automatically + reroute traffic within a VPC, which increases the manageability of VPC + routing and interoperability with third-party workloads. + + Route server supports the follow route table types: + + - VPC route tables not associated with subnets + + - Subnet route tables + + - Internet gateway route tables + + Route server does not support route tables associated with virtual + private gateways. To propagate routes into a transit gateway route + table, use [Transit Gateway + Connect](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html). + """ + + route_server_id: str | None = ... + """The unique identifier of the route server.""" + amazon_side_asn: int | None = ... + """ + The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the + appliance. Valid values are from 1 to 4294967295. We recommend using a + private ASN in the 64512--65534 (16-bit ASN) or 4200000000--4294967294 + (32-bit ASN) range. + """ + state: str | None = ... + """The current state of the route server.""" + tags: list[Tag] | None = ... + """Any tags assigned to the route server.""" + persist_routes_state: str | None = ... + """The current state of route persistence for the route server.""" + persist_routes_duration: int | None = ... + """ + The number of minutes a route server will wait after BGP is + re-established to unpersist the routes in the FIB and RIB. Value must be + in the range of 1-5. The default value is 1. Only valid if + `persistRoutesState` is 'enabled'. + + If you set the duration to 1 minute, then when your network appliance + re-establishes BGP with route server, it has 1 minute to relearn it's + adjacent network and advertise those routes to route server before route + server resumes normal functionality. In most cases, 1 minute is probably + sufficient. If, however, you have concerns that your BGP network may not + be capable of fully re-establishing and re-learning everything in 1 + minute, you can increase the duration up to 5 minutes. + """ + sns_notifications_enabled: bool | None = ... + """ + Indicates whether SNS notifications are enabled for the route server. + Enabling SNS notifications persists BGP status changes to an SNS topic + provisioned by Amazon Web Services. + """ + sns_topic_arn: str | None = ... + """The ARN of the SNS topic where notifications are published.""" + +@dataclass(kw_only=True) +class RouteServerAssociation(_SerdeShape): + """ + Describes the association between a route server and a VPC. + + A route server association is the connection established between a route + server and a VPC. + """ + + route_server_id: str | None = ... + """The ID of the associated route server.""" + vpc_id: str | None = ... + """The ID of the associated VPC.""" + state: str | None = ... + """The current state of the association.""" + +class RouteServerAssociationState(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + DISASSOCIATING = "disassociating" + +class RouteServerBfdState(UnknownEnumMixin, StrEnum): + UP = "up" + DOWN = "down" + +@dataclass(kw_only=True) +class RouteServerBfdStatus(_SerdeShape): + """ + The current status of Bidirectional Forwarding Detection (BFD) for a BGP + session. + """ + + status: str | None = ... + """The operational status of the BFD session.""" + +@dataclass(kw_only=True) +class RouteServerBgpOptions(_SerdeShape): + """The BGP configuration options for a route server peer.""" + + peer_asn: int | None = ... + """ + The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the + appliance. Valid values are from 1 to 4294967295. We recommend using a + private ASN in the 64512--65534 (16-bit ASN) or 4200000000--4294967294 + (32-bit ASN) range. + """ + peer_liveness_detection: str | None = ... + """ + The liveness detection protocol used for the BGP peer. + + The requested liveness detection protocol for the BGP peer. + + - `bgp-keepalive`: The standard BGP keep alive mechanism + ([RFC4271](https://www.rfc-editor.org/rfc/rfc4271#page-21)) that is + stable but may take longer to fail-over in cases of network impact or + router failure. + + - `bfd`: An additional Bidirectional Forwarding Detection (BFD) protocol + ([RFC5880](https://www.rfc-editor.org/rfc/rfc5880)) that enables fast + failover by using more sensitive liveness detection. + + Defaults to `bgp-keepalive`. + """ + +@dataclass(kw_only=True) +class RouteServerBgpOptionsRequest(_SerdeShape): + """The BGP configuration options requested for a route server peer.""" + + peer_asn: int | None = ... + """ + The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the + appliance. Valid values are from 1 to 4294967295. We recommend using a + private ASN in the 64512--65534 (16-bit ASN) or 4200000000--4294967294 + (32-bit ASN) range. + """ + peer_liveness_detection: str | None = ... + """ + The requested liveness detection protocol for the BGP peer. + + - `bgp-keepalive`: The standard BGP keep alive mechanism + ([RFC4271](https://www.rfc-editor.org/rfc/rfc4271#page-21)) that is + stable but may take longer to fail-over in cases of network impact or + router failure. + + - `bfd`: An additional Bidirectional Forwarding Detection (BFD) protocol + ([RFC5880](https://www.rfc-editor.org/rfc/rfc5880)) that enables fast + failover by using more sensitive liveness detection. + + Defaults to `bgp-keepalive`. + """ + +class RouteServerBgpState(UnknownEnumMixin, StrEnum): + UP = "up" + DOWN = "down" + +@dataclass(kw_only=True) +class RouteServerBgpStatus(_SerdeShape): + """The current status of a BGP session.""" + + status: str | None = ... + """ + The operational status of the BGP session. The status enables you to + monitor session liveness if you lack monitoring on your + router/appliance. + """ + +@dataclass(kw_only=True) +class RouteServerEndpoint(_SerdeShape): + """ + Describes a route server endpoint and its properties. + + A route server endpoint is an Amazon Web Services-managed component + inside a subnet that facilitates [BGP (Border Gateway + Protocol)](https://en.wikipedia.org/wiki/Border_Gateway_Protocol) + connections between your route server and your BGP peers. + """ + + route_server_id: str | None = ... + """The ID of the route server associated with this endpoint.""" + route_server_endpoint_id: str | None = ... + """The unique identifier of the route server endpoint.""" + vpc_id: str | None = ... + """The ID of the VPC containing the endpoint.""" + subnet_id: str | None = ... + """The ID of the subnet to place the route server endpoint into.""" + eni_id: str | None = ... + """The ID of the Elastic network interface for the endpoint.""" + eni_address: str | None = ... + """The IP address of the Elastic network interface for the endpoint.""" + state: str | None = ... + """The current state of the route server endpoint.""" + failure_reason: str | None = ... + """The reason for any failure in endpoint creation or operation.""" + tags: list[Tag] | None = ... + """Any tags assigned to the route server endpoint.""" + +class RouteServerEndpointState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + FAILING = "failing" + FAILED = "failed" + DELETE_FAILED = "delete-failed" + +@dataclass(kw_only=True) +class RouteServerPeer(_SerdeShape): + """ + Describes a BGP peer configuration for a route server endpoint. + + A route server peer is a session between a route server endpoint and the + device deployed in Amazon Web Services (such as a firewall appliance or + other network security function running on an EC2 instance). The device + must meet these requirements: + + - Have an elastic network interface in the VPC + + - Support BGP (Border Gateway Protocol) + + - Can initiate BGP sessions + """ + + route_server_peer_id: str | None = ... + """The unique identifier of the route server peer.""" + route_server_endpoint_id: str | None = ... + """The ID of the route server endpoint associated with this peer.""" + route_server_id: str | None = ... + """The ID of the route server associated with this peer.""" + vpc_id: str | None = ... + """The ID of the VPC containing the route server peer.""" + subnet_id: str | None = ... + """The ID of the subnet containing the route server peer.""" + state: str | None = ... + """The current state of the route server peer.""" + failure_reason: str | None = ... + """The reason for any failure in peer creation or operation.""" + endpoint_eni_id: str | None = ... + """The ID of the Elastic network interface for the route server endpoint.""" + endpoint_eni_address: str | None = ... + """ + The IP address of the Elastic network interface for the route server + endpoint. + """ + peer_address: str | None = ... + """The IPv4 address of the peer device.""" + bgp_options: RouteServerBgpOptions | None = ... + """ + The BGP configuration options for this peer, including ASN (Autonomous + System Number) and BFD (Bidrectional Forwarding Detection) settings. + """ + bgp_status: RouteServerBgpStatus | None = ... + """The current status of the BGP session with this peer.""" + bfd_status: RouteServerBfdStatus | None = ... + """The current status of the BFD session with this peer.""" + tags: list[Tag] | None = ... + """Any tags assigned to the route server peer.""" + +class RouteServerPeerLivenessMode(UnknownEnumMixin, StrEnum): + BFD = "bfd" + BGP_KEEPALIVE = "bgp-keepalive" + +class RouteServerPeerState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + FAILING = "failing" + FAILED = "failed" + +class RouteServerPersistRoutesAction(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + RESET = "reset" + +class RouteServerPersistRoutesState(UnknownEnumMixin, StrEnum): + ENABLING = "enabling" + ENABLED = "enabled" + RESETTING = "resetting" + DISABLING = "disabling" + DISABLED = "disabled" + MODIFYING = "modifying" + +@dataclass(kw_only=True) +class RouteServerPropagation(_SerdeShape): + """ + Describes the route propagation configuration between a route server and + a route table. + + When enabled, route server propagation installs the routes in the FIB on + the route table you've specified. Route server supports IPv4 and IPv6 + route propagation. + """ + + route_server_id: str | None = ... + """The ID of the route server configured for route propagation.""" + route_table_id: str | None = ... + """The ID of the route table configured for route server propagation.""" + state: str | None = ... + """The current state of route propagation.""" + +class RouteServerPropagationState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + +@dataclass(kw_only=True) +class RouteServerRoute(_SerdeShape): + """Describes a route in the route server's routing database.""" + + route_server_endpoint_id: str | None = ... + """The ID of the route server endpoint that received this route.""" + route_server_peer_id: str | None = ... + """The ID of the route server peer that advertised this route.""" + route_installation_details: list[RouteServerRouteInstallationDetail] | None = ... + """Details about the installation status of this route in route tables.""" + route_status: str | None = ... + """ + The current status of the route in the routing database. Values are + `in-rib` or `in-fib` depending on if the routes are in the RIB or the + FIB database. + + The [Routing Information Base + (RIB)](https://en.wikipedia.org/wiki/Routing_table) serves as a database + that stores all the routing information and network topology data + collected by a router or routing system, such as routes learned from BGP + peers. The RIB is constantly updated as new routing information is + received or existing routes change. This ensures that the route server + always has the most current view of the network topology and can make + optimal routing decisions. + + The [Forwarding Information Base + (FIB)](https://en.wikipedia.org/wiki/Forwarding_information_base) serves + as a forwarding table for what route server has determined are the + best-path routes in the RIB after evaluating all available routing + information and policies. The FIB routes are installed on the route + tables. The FIB is recomputed whenever there are changes to the RIB. + """ + prefix: str | None = ... + """The destination CIDR block of the route.""" + as_paths: list[str] | None = ... + """The AS path attributes of the BGP route.""" + med: int | None = ... + """The Multi-Exit Discriminator (MED) value of the BGP route.""" + next_hop_ip: str | None = ... + """The IP address for the next hop.""" + +@dataclass(kw_only=True) +class RouteServerRouteInstallationDetail(_SerdeShape): + """Describes the installation status of a route in a route table.""" + + route_table_id: str | None = ... + """The ID of the route table where the route is being installed.""" + route_installation_status: str | None = ... + """The current installation status of the route in the route table.""" + route_installation_status_reason: str | None = ... + """The reason for the current installation status of the route.""" + +class RouteServerRouteInstallationStatus(UnknownEnumMixin, StrEnum): + INSTALLED = "installed" + REJECTED = "rejected" + +class RouteServerRouteStatus(UnknownEnumMixin, StrEnum): + IN_RIB = "in-rib" + IN_FIB = "in-fib" + +class RouteServerState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + MODIFYING = "modifying" + DELETING = "deleting" + DELETED = "deleted" + +class RouteState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + BLACKHOLE = "blackhole" + FILTERED = "filtered" + +@dataclass(kw_only=True) +class RouteTable(_SerdeShape): + """Describes a route table.""" + + associations: list[RouteTableAssociation] | None = ... + """The associations between the route table and your subnets or gateways.""" + propagating_vgws: list[PropagatingVgw] | None = ... + """Any virtual private gateway (VGW) propagating routes.""" + route_table_id: str | None = ... + """The ID of the route table.""" + routes: list[Route] | None = ... + """The routes in the route table.""" + tags: list[Tag] | None = ... + """Any tags assigned to the route table.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the route table.""" + +@dataclass(kw_only=True) +class RouteTableAssociation(_SerdeShape): + """Describes an association between a route table and a subnet or gateway.""" + + main: bool | None = ... + """Indicates whether this is the main route table.""" + route_table_association_id: str | None = ... + """The ID of the association.""" + route_table_id: str | None = ... + """The ID of the route table.""" + subnet_id: str | None = ... + """ + The ID of the subnet. A subnet ID is not returned for an implicit + association. + """ + gateway_id: str | None = ... + """The ID of the internet gateway or virtual private gateway.""" + public_ipv4_pool: str | None = ... + """ + The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 + addresses that you've brought to Amazon Web Services with BYOIP. + """ + association_state: RouteTableAssociationState | None = ... + """The state of the association.""" + +@dataclass(kw_only=True) +class RouteTableAssociationState(_SerdeShape): + """ + Describes the state of an association between a route table and a subnet + or gateway. + """ + + state: str | None = ... + """The state of the association.""" + status_message: str | None = ... + """The status message, if applicable.""" + +class RouteTableAssociationStateCode(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + FAILED = "failed" + +class RuleAction(UnknownEnumMixin, StrEnum): + ALLOW = "allow" + DENY = "deny" + +@dataclass(kw_only=True) +class RuleGroupRuleOptionsPair(_SerdeShape): + """Describes the rule options for a stateful rule group.""" + + rule_group_arn: str | None = ... + """The ARN of the rule group.""" + rule_options: list[RuleOption] | None = ... + """The rule options.""" + +@dataclass(kw_only=True) +class RuleGroupTypePair(_SerdeShape): + """Describes the type of a stateful rule group.""" + + rule_group_arn: str | None = ... + """The ARN of the rule group.""" + rule_group_type: str | None = ... + """ + The rule group type. The possible values are `Domain List` and + `Suricata`. + """ + +@dataclass(kw_only=True) +class RuleOption(_SerdeShape): + """Describes additional settings for a stateful rule.""" + + keyword: str | None = ... + """The Suricata keyword.""" + settings: list[str] | None = ... + """The settings for the keyword.""" + +@dataclass(kw_only=True) +class RunInstancesInput(_SerdeShape): + """Dataclass for RunInstancesInput structure.""" + + block_device_mappings: list[BlockDeviceMapping] | None = ... + """ + The block device mapping, which defines the EBS volumes and instance + store volumes to attach to the instance at launch. For more information, + see [Block device + mappings](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) + in the *Amazon EC2 User Guide*. + """ + image_id: str | None = ... + """ + The ID of the AMI. An AMI ID is required to launch an instance and must + be specified here or in a launch template. + """ + instance_type: str | None = ... + """ + The instance type. For more information, see [Amazon EC2 Instance Types + Guide](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html). + """ + ipv6_address_count: int | None = ... + """ + The number of IPv6 addresses to associate with the primary network + interface. Amazon EC2 chooses the IPv6 addresses from the range of your + subnet. You cannot specify this option and the option to assign specific + IPv6 addresses in the same request. You can specify this option if + you've specified a minimum number of instances to launch. + + You cannot specify this option and the network interfaces option in the + same request. + """ + ipv6_addresses: list[InstanceIpv6Address] | None = ... + """ + The IPv6 addresses from the range of the subnet to associate with the + primary network interface. You cannot specify this option and the option + to assign a number of IPv6 addresses in the same request. You cannot + specify this option if you've specified a minimum number of instances + to launch. + + You cannot specify this option and the network interfaces option in the + same request. + """ + kernel_id: str | None = ... + """ + The ID of the kernel. + + Warning: + We recommend that you use PV-GRUB instead of kernels and RAM disks. For + more information, see + [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) + in the *Amazon EC2 User Guide*. + """ + key_name: str | None = ... + """ + The name of the key pair. For more information, see [Create a key pair + for your EC2 + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html). + + Warning: + If you do not specify a key pair, you can't connect to the instance + unless you choose an AMI that is configured to allow users another way + to log in. + """ + max_count: int | None = ... + """ + The maximum number of instances to launch. If you specify a value that + is more capacity than Amazon EC2 can launch in the target Availability + Zone, Amazon EC2 launches the largest possible number of instances above + the specified minimum count. + + Constraints: Between 1 and the quota for the specified instance type for + your account for this Region. For more information, see [Amazon EC2 + instance type + quotas](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-instance-quotas.html). + """ + min_count: int | None = ... + """ + The minimum number of instances to launch. If you specify a value that + is more capacity than Amazon EC2 can provide in the target Availability + Zone, Amazon EC2 does not launch any instances. + + Constraints: Between 1 and the quota for the specified instance type for + your account for this Region. For more information, see [Amazon EC2 + instance type + quotas](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-instance-quotas.html). + """ + monitoring: RunInstancesMonitoringEnabled | None = ... + """Specifies whether detailed monitoring is enabled for the instance.""" + placement: Placement | None = ... + """The placement for the instance.""" + ramdisk_id: str | None = ... + """ + The ID of the RAM disk to select. Some kernels require additional + drivers at launch. Check the kernel requirements for information about + whether you need to specify a RAM disk. To find kernel requirements, go + to the Amazon Web Services Resource Center and search for the kernel ID. + + Warning: + We recommend that you use PV-GRUB instead of kernels and RAM disks. For + more information, see + [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) + in the *Amazon EC2 User Guide*. + """ + security_group_ids: list[str] | None = ... + """ + The IDs of the security groups. + + If you specify a network interface, you must specify any security groups + as part of the network interface instead of using this parameter. + """ + security_groups: list[str] | None = ... + """ + [Default VPC] The names of the security groups. + + If you specify a network interface, you must specify any security groups + as part of the network interface instead of using this parameter. + + Default: Amazon EC2 uses the default security group. + """ + subnet_id: str | None = ... + """ + The ID of the subnet to launch the instance into. + + If you specify a network interface, you must specify any subnets as part + of the network interface instead of using this parameter. + """ + user_data: str | None = ... + """ + The user data to make available to the instance. User data must be + base64-encoded. Depending on the tool or SDK that you're using, the + base64-encoding might be performed for you. For more information, see + [Run commands at launch using instance user + data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html). + """ + elastic_gpu_specification: list[ElasticGpuSpecification] | None = ... + """ + An elastic GPU to associate with the instance. + + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + """ + elastic_inference_accelerators: list[ElasticInferenceAccelerator] | None = ... + """ + An elastic inference accelerator to associate with the instance. + + Note: + Amazon Elastic Inference is no longer available. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the resources that are created during instance + launch. + + You can specify tags for the following resources only: + + - Instances + + - Volumes + + - Spot Instance requests + + - Network interfaces + + To tag a resource after it has been created, see + [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + """ + launch_template: LaunchTemplateSpecification | None = ... + """ + The launch template. Any additional parameters that you specify for the + new instance overwrite the corresponding parameters included in the + launch template. + """ + instance_market_options: InstanceMarketOptionsRequest | None = ... + """ + The market (purchasing) option for the instances. + + For RunInstances, persistent Spot Instance requests are only supported + when **InstanceInterruptionBehavior** is set to either `hibernate` or + `stop`. + """ + credit_specification: CreditSpecificationRequest | None = ... + """ + The credit option for CPU usage of the burstable performance instance. + Valid values are `standard` and `unlimited`. To change this attribute + after launch, use + [ModifyInstanceCreditSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html). + For more information, see [Burstable performance + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) + in the *Amazon EC2 User Guide*. + + Default: `standard` (T2 instances) or `unlimited` (T3/T3a/T4g instances) + + For T3 instances with `host` tenancy, only `standard` is supported. + """ + cpu_options: CpuOptionsRequest | None = ... + """ + The CPU options for the instance. For more information, see [Optimize + CPU + options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) + in the *Amazon EC2 User Guide*. + """ + capacity_reservation_specification: CapacityReservationSpecification | None = ... + """ + Information about the Capacity Reservation targeting option. If you do + not specify this parameter, the instance's Capacity Reservation + preference defaults to `open`, which enables it to run in any open + Capacity Reservation that has matching attributes (instance type, + platform, Availability Zone, and tenancy). + """ + hibernation_options: HibernationOptionsRequest | None = ... + """ + Indicates whether an instance is enabled for hibernation. This parameter + is valid only if the instance meets the [hibernation + prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). + For more information, see [Hibernate your Amazon EC2 + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) + in the *Amazon EC2 User Guide*. + + You can't enable hibernation and Amazon Web Services Nitro Enclaves on + the same instance. + """ + license_specifications: list[LicenseConfigurationRequest] | None = ... + """The license configurations.""" + metadata_options: InstanceMetadataOptionsRequest | None = ... + """ + The metadata options for the instance. For more information, see + [Configure the Instance Metadata Service + options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html). + """ + enclave_options: EnclaveOptionsRequest | None = ... + """ + Indicates whether the instance is enabled for Amazon Web Services Nitro + Enclaves. For more information, see [Amazon Web Services Nitro Enclaves + User Guide](https://docs.aws.amazon.com/enclaves/latest/user/). + + You can't enable Amazon Web Services Nitro Enclaves and hibernation on + the same instance. + """ + private_dns_name_options: PrivateDnsNameOptionsRequest | None = ... + """ + The options for the instance hostname. The default values are inherited + from the subnet. Applies only if creating a network interface, not + attaching an existing one. + """ + maintenance_options: InstanceMaintenanceOptionsRequest | None = ... + """The maintenance and recovery options for the instance.""" + disable_api_stop: bool | None = ... + """ + Indicates whether an instance is enabled for stop protection. For more + information, see [Enable stop protection for your EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). + """ + enable_primary_ipv6: bool | None = ... + """ + If you're launching an instance into a dual-stack or IPv6-only subnet, + you can enable assigning a primary IPv6 address. A primary IPv6 address + is an IPv6 GUA address associated with an ENI that you have enabled to + use a primary IPv6 address. Use this option if an instance relies on its + IPv6 address not changing. When you launch the instance, Amazon Web + Services will automatically assign an IPv6 address associated with the + ENI attached to your instance to be the primary IPv6 address. Once you + enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. + When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 + GUA will be made the primary IPv6 address until the instance is + terminated or the network interface is detached. If you have multiple + IPv6 addresses associated with an ENI attached to your instance and you + enable a primary IPv6 address, the first IPv6 GUA address associated + with the ENI becomes the primary IPv6 address. + """ + network_performance_options: InstanceNetworkPerformanceOptionsRequest | None = ... + """Contains settings for the network performance options for the instance.""" + operator: OperatorRequest | None = ... + """Reserved for internal use.""" + secondary_interfaces: ( + list[InstanceSecondaryInterfaceSpecificationRequest] | None + ) = ... + """The secondary interfaces to associate with the instance.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + disable_api_termination: bool | None = ... + """ + Indicates whether termination protection is enabled for the instance. + The default is `false`, which means that you can terminate the instance + using the Amazon EC2 console, command line tools, or API. You can enable + termination protection when you launch an instance, while the instance + is running, or while the instance is stopped. + """ + instance_initiated_shutdown_behavior: str | None = ... + """ + Indicates whether an instance stops or terminates when you initiate + shutdown from the instance (using the operating system command for + system shutdown). + + Default: `stop` + """ + private_ip_address: str | None = ... + """ + The primary IPv4 address. You must specify a value from the IPv4 address + range of the subnet. + + Only one private IP address can be designated as primary. You can't + specify this option if you've specified the option to designate a + private IP address as the primary IP address in a network interface + specification. You cannot specify this option if you're launching more + than one instance in the request. + + You cannot specify this option and the network interfaces option in the + same request. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier you provide to ensure the idempotency + of the request. If you do not specify a client token, a randomly + generated token is used for the request to ensure idempotency. + + For more information, see [Ensuring idempotency in Amazon EC2 API + requests](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + Constraints: Maximum 64 ASCII characters + + This field is autopopulated if not provided. + """ + additional_info: str | None = ... + """Reserved.""" + network_interfaces: list[InstanceNetworkInterfaceSpecification] | None = ... + """The network interfaces to associate with the instance.""" + iam_instance_profile: IamInstanceProfileSpecification | None = ... + """The name or Amazon Resource Name (ARN) of an IAM instance profile.""" + ebs_optimized: bool | None = ... + """ + Indicates whether the instance is optimized for Amazon EBS I/O. This + optimization provides dedicated throughput to Amazon EBS and an + optimized configuration stack to provide optimal Amazon EBS I/O + performance. This optimization isn't available with all instance types. + Additional usage charges apply when using an EBS-optimized instance. + + Default: `false` + """ + +@dataclass(kw_only=True) +class RunInstancesMonitoringEnabled(_SerdeShape): + """Describes the monitoring of an instance.""" + + enabled: bool | None = ... + """ + Indicates whether detailed monitoring is enabled. Otherwise, basic + monitoring is enabled. + """ + +@dataclass(kw_only=True) +class RunInstancesOutput(_SerdeShape): + """ + Describes a launch request for one or more instances, and includes + owner, requester, and security group information that applies to all + instances in the launch request. + """ + + reservation_id: str | None = ... + """The ID of the reservation.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the reservation.""" + requester_id: str | None = ... + """ + The ID of the requester that launched the instances on your behalf (for + example, Amazon Web Services Management Console or Auto Scaling). + """ + groups: list[GroupIdentifier] | None = ... + """Not supported.""" + instances: list[Instance] | None = ... + """The instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RunScheduledInstancesInput(_SerdeShape): + """Contains the parameters for RunScheduledInstances.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that ensures the idempotency of the + request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_count: int | None = ... + """ + The number of instances. + + Default: 1 + """ + launch_specification: ScheduledInstancesLaunchSpecification | None = ... + """ + The launch specification. You must match the instance type, Availability + Zone, network, and platform of the schedule that you purchased. + """ + scheduled_instance_id: str | None = ... + """The Scheduled Instance ID.""" + +@dataclass(kw_only=True) +class RunScheduledInstancesOutput(_SerdeShape): + """Contains the output of RunScheduledInstances.""" + + instance_id_set: list[str] | None = ... + """The IDs of the newly launched instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class S3ObjectTag(_SerdeShape): + """ + The tags to apply to the AMI object that will be stored in the Amazon S3 + bucket. For more information, see [Categorizing your storage using + tags](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html) + in the *Amazon Simple Storage Service User Guide*. + """ + + key: str | None = ... + """ + The key of the tag. + + Constraints: Tag keys are case-sensitive and can be up to 128 Unicode + characters in length. May not begin with `aws`:. + """ + value: str | None = ... + """ + The value of the tag. + + Constraints: Tag values are case-sensitive and can be up to 256 Unicode + characters in length. + """ + +@dataclass(kw_only=True) +class S3Storage(_SerdeShape): + """ + Describes the storage parameters for Amazon S3 and Amazon S3 buckets for + an instance store-backed AMI. + """ + + aws_access_key_id: str | None = ... + """ + The access key ID of the owner of the bucket. Before you specify a value + for your access key ID, review and follow the guidance in [Best + Practices for Amazon Web Services + accounts](https://docs.aws.amazon.com/accounts/latest/reference/best-practices.html) + in the *Account ManagementReference Guide*. + """ + bucket: str | None = ... + """ + The bucket in which to store the AMI. You can specify a bucket that you + already own or a new bucket that Amazon EC2 creates on your behalf. If + you specify a bucket that belongs to someone else, Amazon EC2 returns an + error. + """ + prefix: str | None = ... + """The beginning of the file name of the AMI.""" + upload_policy: bytes | None = ... + """ + An Amazon S3 upload policy that gives Amazon EC2 permission to upload + items into Amazon S3 on your behalf. + """ + upload_policy_signature: str | None = ... + """The signature of the JSON document.""" + +@dataclass(kw_only=True) +class ScanResultCondition(_SerdeShape): + """ + The Amazon Inspector scan-result criteria that an AMI must meet to be + allowed. The criteria can limit the highest finding severity. They can + also limit, for each severity, the days since Amazon Inspector reported + a fix as available. + + The severity limit applies to all findings, whether or not a fix is + available. The day limits for each severity apply only to findings that + have a fix available. A scanned AMI that has no fix-available finding of + a given severity meets that severity's day limit. AMIs that Amazon + Inspector has not scanned are not allowed when you specify this + condition. + """ + + max_days_since_last_finding_scan: int | None = ... + """ + The maximum number of days that have elapsed since Amazon Inspector last + scanned the AMI. For example, a value of `7` allows AMIs that were + scanned within the last 7 days. AMIs that Amazon Inspector has not + scanned are not allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + maximum_severity_label: str | None = ... + """ + The maximum severity that an AMI's Amazon Inspector findings can have + for the AMI to be allowed. Findings count whether or not a fix is + available. For example, a value of `medium` allows AMIs whose highest + severity is `informational`, `low`, or `medium`. + + The valid values are the following Amazon Inspector severity levels, + which correspond to CVSS score ranges: + + - `informational` - CVSS score of 0. + + - `low` - CVSS score of 0.1 to 3.9. + + - `medium` - CVSS score of 4.0 to 6.9. + + - `high` - CVSS score of 7.0 to 8.9. + + - `critical` - CVSS score of 9.0 to 10.0. + + For more information, see [Software package vulnerability + severity](https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score) + in the *Amazon Inspector User Guide*. + + A scanned AMI that has no findings meets this limit. + + AMIs that Amazon Inspector has not scanned are not allowed when you + specify this condition. + """ + max_days_since_informational_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for an `informational` severity finding on the AMI. For + example, a value of `7` does not allow an AMI if Amazon Inspector + reported such a fix more than 7 days ago. + + A scanned AMI that has no `informational` severity finding with a fix + available meets this limit. AMIs that Amazon Inspector has not scanned + are not allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + max_days_since_low_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for a `low` severity finding on the AMI. For example, a value + of `7` does not allow an AMI if Amazon Inspector reported such a fix + more than 7 days ago. + + A scanned AMI that has no `low` severity finding with a fix available + meets this limit. AMIs that Amazon Inspector has not scanned are not + allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + max_days_since_medium_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for a `medium` severity finding on the AMI. For example, a + value of `7` does not allow an AMI if Amazon Inspector reported such a + fix more than 7 days ago. + + A scanned AMI that has no `medium` severity finding with a fix available + meets this limit. AMIs that Amazon Inspector has not scanned are not + allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + max_days_since_high_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for a `high` severity finding on the AMI. For example, a value + of `7` does not allow an AMI if Amazon Inspector reported such a fix + more than 7 days ago. + + A scanned AMI that has no `high` severity finding with a fix available + meets this limit. AMIs that Amazon Inspector has not scanned are not + allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + max_days_since_critical_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for a `critical` severity finding on the AMI. For example, a + value of `7` does not allow an AMI if Amazon Inspector reported such a + fix more than 7 days ago. + + A scanned AMI that has no `critical` severity finding with a fix + available meets this limit. AMIs that Amazon Inspector has not scanned + are not allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + +@dataclass(kw_only=True) +class ScanResultConditionRequest(_SerdeShape): + """ + The Amazon Inspector scan-result criteria that an AMI must meet to be + allowed. The criteria can limit the highest finding severity. They can + also limit, for each severity, the days since Amazon Inspector reported + a fix as available. + + The severity limit applies to all findings, whether or not a fix is + available. The day limits for each severity apply only to findings that + have a fix available. A scanned AMI that has no fix-available finding of + a given severity meets that severity's day limit. AMIs that Amazon + Inspector has not scanned are not allowed when you specify this + condition. + """ + + max_days_since_last_finding_scan: int | None = ... + """ + The maximum number of days that have elapsed since Amazon Inspector last + scanned the AMI. For example, a value of `7` allows AMIs that were + scanned within the last 7 days. AMIs that Amazon Inspector has not + scanned are not allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + maximum_severity_label: str | None = ... + """ + The maximum severity that an AMI's Amazon Inspector findings can have + for the AMI to be allowed. Findings count whether or not a fix is + available. For example, a value of `medium` allows AMIs whose highest + severity is `informational`, `low`, or `medium`. + + The valid values are the following Amazon Inspector severity levels, + which correspond to CVSS score ranges: + + - `informational` - CVSS score of 0. + + - `low` - CVSS score of 0.1 to 3.9. + + - `medium` - CVSS score of 4.0 to 6.9. + + - `high` - CVSS score of 7.0 to 8.9. + + - `critical` - CVSS score of 9.0 to 10.0. + + For more information, see [Software package vulnerability + severity](https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score) + in the *Amazon Inspector User Guide*. + + A scanned AMI that has no findings meets this limit. + + AMIs that Amazon Inspector has not scanned are not allowed when you + specify this condition. + """ + max_days_since_informational_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for an `informational` severity finding on the AMI. For + example, a value of `7` does not allow an AMI if Amazon Inspector + reported such a fix more than 7 days ago. + + A scanned AMI that has no `informational` severity finding with a fix + available meets this limit. AMIs that Amazon Inspector has not scanned + are not allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + max_days_since_low_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for a `low` severity finding on the AMI. For example, a value + of `7` does not allow an AMI if Amazon Inspector reported such a fix + more than 7 days ago. + + A scanned AMI that has no `low` severity finding with a fix available + meets this limit. AMIs that Amazon Inspector has not scanned are not + allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + max_days_since_medium_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for a `medium` severity finding on the AMI. For example, a + value of `7` does not allow an AMI if Amazon Inspector reported such a + fix more than 7 days ago. + + A scanned AMI that has no `medium` severity finding with a fix available + meets this limit. AMIs that Amazon Inspector has not scanned are not + allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + max_days_since_high_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for a `high` severity finding on the AMI. For example, a value + of `7` does not allow an AMI if Amazon Inspector reported such a fix + more than 7 days ago. + + A scanned AMI that has no `high` severity finding with a fix available + meets this limit. AMIs that Amazon Inspector has not scanned are not + allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + max_days_since_critical_fix_available: int | None = ... + """ + The maximum number of days since Amazon Inspector reported a fix as + available for a `critical` severity finding on the AMI. For example, a + value of `7` does not allow an AMI if Amazon Inspector reported such a + fix more than 7 days ago. + + A scanned AMI that has no `critical` severity finding with a fix + available meets this limit. AMIs that Amazon Inspector has not scanned + are not allowed. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + +@dataclass(kw_only=True) +class ScanResults(_SerdeShape): + """ + The Amazon Inspector scan results for an AMI. This information is + present only for AMIs that Amazon Inspector has scanned. + + When you share an AMI with other accounts, organizations, or + organizational units (OUs), or make it public, its scan results are + available to the accounts that can use the AMI. + + The fix-available dates are specific to the AMI. Each date reflects when + a fix became available for a finding on that AMI, not when the vendor + released the fix. As a result, a date can be later than the vendor's + release date, and AMIs with the same vulnerability can have different + dates. + """ + + highest_finding_severity_label: str | None = ... + """ + The highest severity among the AMI's Amazon Inspector findings, whether + or not a fix is available. + + The valid values are the following Amazon Inspector severity levels, + which correspond to CVSS score ranges: + + - `informational` - CVSS score of 0. + + - `low` - CVSS score of 0.1 to 3.9. + + - `medium` - CVSS score of 4.0 to 6.9. + + - `high` - CVSS score of 7.0 to 8.9. + + - `critical` - CVSS score of 9.0 to 10.0. + + For more information, see [Software package vulnerability + severity](https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score) + in the *Amazon Inspector User Guide*. + + This value is present only if the AMI has at least one finding. + """ + finding_scan_date: datetime | None = ... + """ + The date and time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), of the most recent Amazon Inspector scan of + the AMI. + """ + informational_fix_available_since: datetime | None = ... + """ + The earliest date and time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as + available for an `informational` severity finding on the AMI. This value + is present only if the AMI has at least one `informational` severity + finding with a fix available. Amazon Inspector recomputes this value on + each scan. + """ + low_fix_available_since: datetime | None = ... + """ + The earliest date and time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as + available for a `low` severity finding on the AMI. This value is present + only if the AMI has at least one `low` severity finding with a fix + available. Amazon Inspector recomputes this value on each scan. + """ + medium_fix_available_since: datetime | None = ... + """ + The earliest date and time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as + available for a `medium` severity finding on the AMI. This value is + present only if the AMI has at least one `medium` severity finding with + a fix available. Amazon Inspector recomputes this value on each scan. + """ + high_fix_available_since: datetime | None = ... + """ + The earliest date and time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as + available for a `high` severity finding on the AMI. This value is + present only if the AMI has at least one `high` severity finding with a + fix available. Amazon Inspector recomputes this value on each scan. + """ + critical_fix_available_since: datetime | None = ... + """ + The earliest date and time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as + available for a `critical` severity finding on the AMI. This value is + present only if the AMI has at least one `critical` severity finding + with a fix available. Amazon Inspector recomputes this value on each + scan. + """ + +class Schedule(UnknownEnumMixin, StrEnum): + HOURLY = "hourly" + +@dataclass(kw_only=True) +class ScheduledInstance(_SerdeShape): + """Describes a Scheduled Instance.""" + + availability_zone: str | None = ... + """The Availability Zone.""" + create_date: datetime | None = ... + """The date when the Scheduled Instance was purchased.""" + hourly_price: str | None = ... + """The hourly price for a single instance.""" + instance_count: int | None = ... + """The number of instances.""" + instance_type: str | None = ... + """The instance type.""" + network_platform: str | None = ... + """The network platform.""" + next_slot_start_time: datetime | None = ... + """The time for the next schedule to start.""" + platform: str | None = ... + """The platform (`Linux/UNIX` or `Windows`).""" + previous_slot_end_time: datetime | None = ... + """The time that the previous schedule ended or will end.""" + recurrence: ScheduledInstanceRecurrence | None = ... + """The schedule recurrence.""" + scheduled_instance_id: str | None = ... + """The Scheduled Instance ID.""" + slot_duration_in_hours: int | None = ... + """The number of hours in the schedule.""" + term_end_date: datetime | None = ... + """The end date for the Scheduled Instance.""" + term_start_date: datetime | None = ... + """The start date for the Scheduled Instance.""" + total_scheduled_instance_hours: int | None = ... + """The total number of hours for a single instance for the entire term.""" + +@dataclass(kw_only=True) +class ScheduledInstanceAvailability(_SerdeShape): + """Describes a schedule that is available for your Scheduled Instances.""" + + availability_zone: str | None = ... + """The Availability Zone.""" + available_instance_count: int | None = ... + """The number of available instances.""" + first_slot_start_time: datetime | None = ... + """The time period for the first schedule to start.""" + hourly_price: str | None = ... + """The hourly price for a single instance.""" + instance_type: str | None = ... + """ + The instance type. You can specify one of the C3, C4, M4, or R3 instance + types. + """ + max_term_duration_in_days: int | None = ... + """The maximum term. The only possible value is 365 days.""" + min_term_duration_in_days: int | None = ... + """The minimum term. The only possible value is 365 days.""" + network_platform: str | None = ... + """The network platform.""" + platform: str | None = ... + """The platform (`Linux/UNIX` or `Windows`).""" + purchase_token: str | None = ... + """The purchase token. This token expires in two hours.""" + recurrence: ScheduledInstanceRecurrence | None = ... + """The schedule recurrence.""" + slot_duration_in_hours: int | None = ... + """The number of hours in the schedule.""" + total_scheduled_instance_hours: int | None = ... + """The total number of hours for a single instance for the entire term.""" + +@dataclass(kw_only=True) +class ScheduledInstanceRecurrence(_SerdeShape): + """Describes the recurring schedule for a Scheduled Instance.""" + + frequency: str | None = ... + """The frequency (`Daily`, `Weekly`, or `Monthly`).""" + interval: int | None = ... + """ + The interval quantity. The interval unit depends on the value of + `frequency`. For example, every 2 weeks or every 2 months. + """ + occurrence_day_set: list[int] | None = ... + """ + The days. For a monthly schedule, this is one or more days of the month + (1-31). For a weekly schedule, this is one or more days of the week + (1-7, where 1 is Sunday). + """ + occurrence_relative_to_end: bool | None = ... + """ + Indicates whether the occurrence is relative to the end of the specified + week or month. + """ + occurrence_unit: str | None = ... + """The unit for `occurrenceDaySet` (`DayOfWeek` or `DayOfMonth`).""" + +@dataclass(kw_only=True) +class ScheduledInstanceRecurrenceRequest(_SerdeShape): + """Describes the recurring schedule for a Scheduled Instance.""" + + frequency: str | None = ... + """The frequency (`Daily`, `Weekly`, or `Monthly`).""" + interval: int | None = ... + """ + The interval quantity. The interval unit depends on the value of + `Frequency`. For example, every 2 weeks or every 2 months. + """ + occurrence_days: list[int] | None = ... + """ + The days. For a monthly schedule, this is one or more days of the month + (1-31). For a weekly schedule, this is one or more days of the week + (1-7, where 1 is Sunday). You can't specify this value with a daily + schedule. If the occurrence is relative to the end of the month, you can + specify only a single day. + """ + occurrence_relative_to_end: bool | None = ... + """ + Indicates whether the occurrence is relative to the end of the specified + week or month. You can't specify this value with a daily schedule. + """ + occurrence_unit: str | None = ... + """ + The unit for `OccurrenceDays` (`DayOfWeek` or `DayOfMonth`). This value + is required for a monthly schedule. You can't specify `DayOfWeek` with + a weekly schedule. You can't specify this value with a daily schedule. + """ + +@dataclass(kw_only=True) +class ScheduledInstancesBlockDeviceMapping(_SerdeShape): + """Describes a block device mapping for a Scheduled Instance.""" + + device_name: str | None = ... + """The device name (for example, `/dev/sdh` or `xvdh`).""" + ebs: ScheduledInstancesEbs | None = ... + """ + Parameters used to set up EBS volumes automatically when the instance is + launched. + """ + no_device: str | None = ... + """ + To omit the device from the block device mapping, specify an empty + string. + """ + virtual_name: str | None = ... + """ + The virtual device name (`ephemeral`N). Instance store volumes are + numbered starting from 0. An instance type with two available instance + store volumes can specify mappings for `ephemeral0` and `ephemeral1`. + The number of available instance store volumes depends on the instance + type. After you connect to the instance, you must mount the volume. + + Constraints: For M3 instances, you must specify instance store volumes + in the block device mapping for the instance. When you launch an M3 + instance, we ignore any instance store volumes specified in the block + device mapping for the AMI. + """ + +@dataclass(kw_only=True) +class ScheduledInstancesEbs(_SerdeShape): + """Describes an EBS volume for a Scheduled Instance.""" + + delete_on_termination: bool | None = ... + """Indicates whether the volume is deleted on instance termination.""" + encrypted: bool | None = ... + """ + Indicates whether the volume is encrypted. You can attached encrypted + volumes only to instances that support them. + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS) to provision for a `gp3`, + `io1`, or `io2` volume. + """ + snapshot_id: str | None = ... + """The ID of the snapshot.""" + volume_size: int | None = ... + """ + The size of the volume, in GiB. + + Default: If you're creating the volume from a snapshot and don't + specify a volume size, the default is the snapshot size. + """ + volume_type: str | None = ... + """ + The volume type. + + Default: `gp2` + """ + +@dataclass(kw_only=True) +class ScheduledInstancesIamInstanceProfile(_SerdeShape): + """Describes an IAM instance profile for a Scheduled Instance.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN).""" + name: str | None = ... + """The name.""" + +@dataclass(kw_only=True) +class ScheduledInstancesIpv6Address(_SerdeShape): + """Describes an IPv6 address.""" + + ipv6_address: str | None = ... + """The IPv6 address.""" + +@dataclass(kw_only=True) +class ScheduledInstancesLaunchSpecification(_SerdeShape): + """ + Describes the launch specification for a Scheduled Instance. + + If you are launching the Scheduled Instance in EC2-VPC, you must specify + the ID of the subnet. You can specify the subnet using either `SubnetId` + or `NetworkInterface`. + """ + + block_device_mappings: list[ScheduledInstancesBlockDeviceMapping] | None = ... + """The block device mapping entries.""" + ebs_optimized: bool | None = ... + """ + Indicates whether the instances are optimized for EBS I/O. This + optimization provides dedicated throughput to Amazon EBS and an + optimized configuration stack to provide optimal EBS I/O performance. + This optimization isn't available with all instance types. Additional + usage charges apply when using an EBS-optimized instance. + + Default: `false` + """ + iam_instance_profile: ScheduledInstancesIamInstanceProfile | None = ... + """The IAM instance profile.""" + image_id: str | None = ... + """The ID of the Amazon Machine Image (AMI).""" + instance_type: str | None = ... + """The instance type.""" + kernel_id: str | None = ... + """The ID of the kernel.""" + key_name: str | None = ... + """The name of the key pair.""" + monitoring: ScheduledInstancesMonitoring | None = ... + """Enable or disable monitoring for the instances.""" + network_interfaces: list[ScheduledInstancesNetworkInterface] | None = ... + """The network interfaces.""" + placement: ScheduledInstancesPlacement | None = ... + """The placement information.""" + ramdisk_id: str | None = ... + """The ID of the RAM disk.""" + security_group_ids: list[str] | None = ... + """The IDs of the security groups.""" + subnet_id: str | None = ... + """The ID of the subnet in which to launch the instances.""" + user_data: str | None = ... + """The base64-encoded MIME user data.""" + +@dataclass(kw_only=True) +class ScheduledInstancesMonitoring(_SerdeShape): + """Describes whether monitoring is enabled for a Scheduled Instance.""" + + enabled: bool | None = ... + """Indicates whether monitoring is enabled.""" + +@dataclass(kw_only=True) +class ScheduledInstancesNetworkInterface(_SerdeShape): + """Describes a network interface for a Scheduled Instance.""" + + associate_public_ip_address: bool | None = ... + """ + Indicates whether to assign a public IPv4 address to instances launched + in a VPC. The public IPv4 address can only be assigned to a network + interface for eth0, and can only be assigned to a new network interface, + not an existing one. You cannot specify more than one network interface + in the request. If launching into a default subnet, the default value is + `true`. + + Amazon Web Services charges for all public IPv4 addresses, including + public IPv4 addresses associated with running instances and Elastic IP + addresses. For more information, see the *Public IPv4 Address* tab on + the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). + """ + delete_on_termination: bool | None = ... + """ + Indicates whether to delete the interface when the instance is + terminated. + """ + description: str | None = ... + """The description.""" + device_index: int | None = ... + """The index of the device for the network interface attachment.""" + groups: list[str] | None = ... + """The IDs of the security groups.""" + ipv6_address_count: int | None = ... + """ + The number of IPv6 addresses to assign to the network interface. The + IPv6 addresses are automatically selected from the subnet range. + """ + ipv6_addresses: list[ScheduledInstancesIpv6Address] | None = ... + """The specific IPv6 addresses from the subnet range.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + private_ip_address: str | None = ... + """The IPv4 address of the network interface within the subnet.""" + private_ip_address_configs: ( + list[ScheduledInstancesPrivateIpAddressConfig] | None + ) = ... + """The private IPv4 addresses.""" + secondary_private_ip_address_count: int | None = ... + """The number of secondary private IPv4 addresses.""" + subnet_id: str | None = ... + """The ID of the subnet.""" + +@dataclass(kw_only=True) +class ScheduledInstancesPlacement(_SerdeShape): + """Describes the placement for a Scheduled Instance.""" + + availability_zone: str | None = ... + """The Availability Zone.""" + group_name: str | None = ... + """The name of the placement group.""" + +@dataclass(kw_only=True) +class ScheduledInstancesPrivateIpAddressConfig(_SerdeShape): + """Describes a private IPv4 address for a Scheduled Instance.""" + + primary: bool | None = ... + """ + Indicates whether this is a primary IPv4 address. Otherwise, this is a + secondary IPv4 address. + """ + private_ip_address: str | None = ... + """The IPv4 address.""" + +class Scope(UnknownEnumMixin, StrEnum): + AVAILABILITY_ZONE = "Availability Zone" + REGIONAL = "Region" + +@dataclass(kw_only=True) +class SearchLocalGatewayRoutesInput(_SerdeShape): + """Dataclass for SearchLocalGatewayRoutesInput structure.""" + + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `prefix-list-id` - The ID of the prefix list. + + - `route-search.exact-match` - The exact match of the specified filter. + + - `route-search.longest-prefix-match` - The longest prefix that matches + the route. + + - `route-search.subnet-of-match` - The routes with a subnet that match + the specified CIDR filter. + + - `route-search.supernet-of-match` - The routes with a CIDR that + encompass the CIDR filter. For example, if you have 10.0.1.0/29 and + 10.0.1.0/31 routes in your route table and you specify + `supernet-of-match` as 10.0.1.0/30, then the result returns + 10.0.1.0/29. + + - `state` - The state of the route. + + - `type` - The route type. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class SearchLocalGatewayRoutesOutput(_SerdeShape): + """Dataclass for SearchLocalGatewayRoutesOutput structure.""" + + routes: list[LocalGatewayRoute] | None = ... + """Information about the routes.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SearchTransitGatewayMulticastGroupsInput(_SerdeShape): + """Dataclass for SearchTransitGatewayMulticastGroupsInput structure.""" + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `group-ip-address` - The IP address of the transit gateway multicast + group. + + - `is-group-member` - The resource is a group member. Valid values are + `true` | `false`. + + - `is-group-source` - The resource is a group source. Valid values are + `true` | `false`. + + - `member-type` - The member type. Valid values are `igmp` | `static`. + + - `resource-id` - The ID of the resource. + + - `resource-type` - The type of resource. Valid values are `vpc` | + `vpn` | `direct-connect-gateway` | `tgw-peering`. + + - `source-type` - The source type. Valid values are `igmp` | `static`. + + - `subnet-id` - The ID of the subnet. + + - `transit-gateway-attachment-id` - The id of the transit gateway + attachment. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class SearchTransitGatewayMulticastGroupsOutput(_SerdeShape): + """Dataclass for SearchTransitGatewayMulticastGroupsOutput structure.""" + + multicast_groups: list[TransitGatewayMulticastGroup] | None = ... + """Information about the transit gateway multicast group.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SearchTransitGatewayRoutesInput(_SerdeShape): + """Dataclass for SearchTransitGatewayRoutesInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `attachment.transit-gateway-attachment-id`- The id of the transit + gateway attachment. + + - `attachment.resource-id` - The resource id of the transit gateway + attachment. + + - `attachment.resource-type` - The attachment resource type. Valid + values are `vpc` | `vpn` | `direct-connect-gateway` | `peering` | + `connect`. + + - `prefix-list-id` - The ID of the prefix list. + + - `route-search.exact-match` - The exact match of the specified filter. + + - `route-search.longest-prefix-match` - The longest prefix that matches + the route. + + - `route-search.subnet-of-match` - The routes with a subnet that match + the specified CIDR filter. + + - `route-search.supernet-of-match` - The routes with a CIDR that + encompass the CIDR filter. For example, if you have 10.0.1.0/29 and + 10.0.1.0/31 routes in your route table and you specify + supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. + + - `state` - The state of the route (`active` | `blackhole`). + + - `type` - The type of route (`propagated` | `static`). + """ + max_results: int | None = ... + """ + The maximum number of routes to return. If a value is not provided, the + default is 1000. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class SearchTransitGatewayRoutesOutput(_SerdeShape): + """Dataclass for SearchTransitGatewayRoutesOutput structure.""" + + routes: list[TransitGatewayRoute] | None = ... + """Information about the routes.""" + additional_routes_available: bool | None = ... + """Indicates whether there are additional routes available.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SecondaryInterface(_SerdeShape): + """Describes a secondary interface.""" + + availability_zone: str | None = ... + """The Availability Zone of the secondary interface.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone of the secondary interface.""" + attachment: SecondaryInterfaceAttachment | None = ... + """The attachment information for the secondary interface.""" + mac_address: str | None = ... + """The MAC address of the secondary interface.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the secondary + interface. + """ + private_ipv4_addresses: list[SecondaryInterfaceIpv4Address] | None = ... + """The private IPv4 addresses associated with the secondary interface.""" + secondary_interface_id: str | None = ... + """The ID of the secondary interface.""" + secondary_interface_arn: str | None = ... + """The Amazon Resource Name (ARN) of the secondary interface.""" + secondary_interface_type: str | None = ... + """The type of secondary interface.""" + secondary_subnet_id: str | None = ... + """The ID of the secondary subnet.""" + secondary_network_id: str | None = ... + """The ID of the secondary network.""" + secondary_network_type: str | None = ... + """The type of the secondary network.""" + source_dest_check: bool | None = ... + """Indicates whether source/destination checking is enabled.""" + status: str | None = ... + """The status of the secondary interface.""" + tags: list[Tag] | None = ... + """The tags assigned to the secondary interface.""" + +@dataclass(kw_only=True) +class SecondaryInterfaceAttachment(_SerdeShape): + """Describes the attachment of a secondary interface to an instance.""" + + attachment_id: str | None = ... + """The ID of the attachment.""" + attach_time: datetime | None = ... + """The timestamp when the attachment was created.""" + delete_on_termination: bool | None = ... + """ + Indicates whether the secondary interface is deleted when the instance + is terminated. + + The only supported value for this field is `true`. + """ + device_index: int | None = ... + """The device index of the secondary interface.""" + instance_id: str | None = ... + """The ID of the instance to which the secondary interface is attached.""" + instance_owner_id: str | None = ... + """The Amazon Web Services account ID of the owner of the instance.""" + network_card_index: int | None = ... + """The index of the network card.""" + status: str | None = ... + """The attachment state.""" + +@dataclass(kw_only=True) +class SecondaryInterfaceIpv4Address(_SerdeShape): + """Describes a private IPv4 address for a secondary interface.""" + + private_ip_address: str | None = ... + """The private IPv4 address.""" + +@dataclass(kw_only=True) +class SecondaryInterfacePrivateIpAddressSpecification(_SerdeShape): + """ + Describes a private IPv4 address specification for a secondary + interface. + """ + + private_ip_address: str | None = ... + """The private IPv4 address.""" + +@dataclass(kw_only=True) +class SecondaryInterfacePrivateIpAddressSpecificationRequest(_SerdeShape): + """ + Describes a private IPv4 address specification for a secondary interface + request. + """ + + private_ip_address: str | None = ... + """The private IPv4 address.""" + +class SecondaryInterfaceStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + IN_USE = "in-use" + +class SecondaryInterfaceType(UnknownEnumMixin, StrEnum): + SECONDARY = "secondary" + +@dataclass(kw_only=True) +class SecondaryNetwork(_SerdeShape): + """Describes a secondary network.""" + + secondary_network_id: str | None = ... + """The ID of the secondary network.""" + secondary_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of the secondary network.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the secondary + network. + """ + type: str | None = ... + """The type of the secondary network.""" + state: str | None = ... + """The state of the secondary network.""" + state_reason: str | None = ... + """The reason for the current state of the secondary network.""" + ipv4_cidr_block_associations: ( + list[SecondaryNetworkIpv4CidrBlockAssociation] | None + ) = ... + """ + Information about the IPv4 CIDR blocks associated with the secondary + network. + """ + tags: list[Tag] | None = ... + """The tags assigned to the secondary network.""" + +class SecondaryNetworkCidrBlockAssociationState(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + ASSOCIATION_FAILED = "association-failed" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + DISASSOCIATION_FAILED = "disassociation-failed" + +@dataclass(kw_only=True) +class SecondaryNetworkIpv4CidrBlockAssociation(_SerdeShape): + """Describes an IPv4 CIDR block associated with a secondary network.""" + + association_id: str | None = ... + """The association ID for the IPv4 CIDR block.""" + cidr_block: str | None = ... + """The IPv4 CIDR block.""" + state: str | None = ... + """The state of the CIDR block association.""" + state_reason: str | None = ... + """The reason for the current state of the CIDR block association.""" + +class SecondaryNetworkState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + +class SecondaryNetworkType(UnknownEnumMixin, StrEnum): + RDMA = "rdma" + +@dataclass(kw_only=True) +class SecondarySubnet(_SerdeShape): + """Describes a secondary subnet.""" + + secondary_subnet_id: str | None = ... + """The ID of the secondary subnet.""" + secondary_subnet_arn: str | None = ... + """The Amazon Resource Name (ARN) of the secondary subnet.""" + secondary_network_id: str | None = ... + """The ID of the secondary network.""" + secondary_network_type: str | None = ... + """The type of the secondary network.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the secondary + subnet. + """ + availability_zone_id: str | None = ... + """The ID of the Availability Zone of the secondary subnet.""" + availability_zone: str | None = ... + """The Availability Zone of the secondary subnet.""" + ipv4_cidr_block_associations: ( + list[SecondarySubnetIpv4CidrBlockAssociation] | None + ) = ... + """ + Information about the IPv4 CIDR blocks associated with the secondary + subnet. + """ + state: str | None = ... + """The state of the secondary subnet.""" + state_reason: str | None = ... + """The reason for the current state of the secondary subnet.""" + tags: list[Tag] | None = ... + """The tags assigned to the secondary subnet.""" + +class SecondarySubnetCidrBlockAssociationState(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + ASSOCIATION_FAILED = "association-failed" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + DISASSOCIATION_FAILED = "disassociation-failed" + +@dataclass(kw_only=True) +class SecondarySubnetIpv4CidrBlockAssociation(_SerdeShape): + """Describes an IPv4 CIDR block associated with a secondary subnet.""" + + association_id: str | None = ... + """The association ID for the IPv4 CIDR block.""" + cidr_block: str | None = ... + """The IPv4 CIDR block.""" + state: str | None = ... + """The state of the CIDR block association.""" + state_reason: str | None = ... + """The reason for the current state of the CIDR block association.""" + +class SecondarySubnetState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + +@dataclass(kw_only=True) +class SecureBlobAttributeValue(_SerdeShape): + """ + Describes a value for a resource attribute that is a Base64-encoded + binary data object. + """ + + value: bytes | None = ... + """The attribute value.""" + +@dataclass(kw_only=True) +class SecurityGroup(_SerdeShape): + """Describes a security group.""" + + group_id: str | None = ... + """The ID of the security group.""" + ip_permissions_egress: list[IpPermission] | None = ... + """The outbound rules associated with the security group.""" + tags: list[Tag] | None = ... + """Any tags assigned to the security group.""" + vpc_id: str | None = ... + """The ID of the VPC for the security group.""" + security_group_arn: str | None = ... + """The ARN of the security group.""" + owner_id: str | None = ... + """The Amazon Web Services account ID of the owner of the security group.""" + group_name: str | None = ... + """The name of the security group.""" + description: str | None = ... + """A description of the security group.""" + ip_permissions: list[IpPermission] | None = ... + """The inbound rules associated with the security group.""" + +@dataclass(kw_only=True) +class SecurityGroupForVpc(_SerdeShape): + """A security group that can be used by interfaces in the VPC.""" + + description: str | None = ... + """The security group's description.""" + group_name: str | None = ... + """The security group name.""" + owner_id: str | None = ... + """The security group owner ID.""" + group_id: str | None = ... + """The security group ID.""" + tags: list[Tag] | None = ... + """The security group tags.""" + primary_vpc_id: str | None = ... + """The VPC ID in which the security group was created.""" + +@dataclass(kw_only=True) +class SecurityGroupIdentifier(_SerdeShape): + """Describes a security group.""" + + group_id: str | None = ... + """The ID of the security group.""" + group_name: str | None = ... + """The name of the security group.""" + +@dataclass(kw_only=True) +class SecurityGroupReference(_SerdeShape): + """ + Describes a VPC with a security group that references your security + group. + """ + + group_id: str | None = ... + """The ID of your security group.""" + referencing_vpc_id: str | None = ... + """The ID of the VPC with the referencing security group.""" + vpc_peering_connection_id: str | None = ... + """ + The ID of the VPC peering connection (if applicable). For more + information about security group referencing for peering connections, + see [Update your security groups to reference peer security + groups](https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html) + in the *VPC Peering Guide*. + """ + transit_gateway_id: str | None = ... + """The ID of the transit gateway (if applicable).""" + +class SecurityGroupReferencingSupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +@dataclass(kw_only=True) +class SecurityGroupRule(_SerdeShape): + """Describes a security group rule.""" + + security_group_rule_id: str | None = ... + """The ID of the security group rule.""" + group_id: str | None = ... + """The ID of the security group.""" + group_owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the security group.""" + is_egress: bool | None = ... + """Indicates whether the security group rule is an outbound rule.""" + ip_protocol: str | None = ... + """ + The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see + [Protocol + Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). + + Use `-1` to specify all protocols. + """ + from_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the start of the port range. If + the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP + types). + """ + to_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the end of the port range. If the + protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP + codes). If the start port is -1 (all ICMP types), then the end port must + be -1 (all ICMP codes). + """ + cidr_ipv4: str | None = ... + """The IPv4 CIDR range.""" + cidr_ipv6: str | None = ... + """The IPv6 CIDR range.""" + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + referenced_group_info: ReferencedSecurityGroup | None = ... + """Describes the security group that is referenced in the rule.""" + description: str | None = ... + """The security group rule description.""" + tags: list[Tag] | None = ... + """The tags applied to the security group rule.""" + security_group_rule_arn: str | None = ... + """The ARN of the security group rule.""" + +@dataclass(kw_only=True) +class SecurityGroupRuleDescription(_SerdeShape): + """ + Describes the description of a security group rule. + + You can use this when you want to update the security group rule + description for either an inbound or outbound rule. + """ + + security_group_rule_id: str | None = ... + """The ID of the security group rule.""" + description: str | None = ... + """The description of the security group rule.""" + +@dataclass(kw_only=True) +class SecurityGroupRuleRequest(_SerdeShape): + """ + Describes a security group rule. + + You must specify exactly one of the following parameters, based on the + rule type: + + - CidrIpv4 + + - CidrIpv6 + + - PrefixListId + + - ReferencedGroupId + + Note: + Amazon Web Services + [canonicalizes](https://en.wikipedia.org/wiki/Canonicalization) IPv4 and + IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR + block, Amazon Web Services canonicalizes the CIDR block to + 100.68.0.0/18. Any subsequent DescribeSecurityGroups and + DescribeSecurityGroupRules calls will return the canonicalized form of + the CIDR block. Additionally, if you attempt to add another rule with + the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is + already a rule for the canonicalized form of the CIDR block (such as + 100.68.0.0/18), the API throws an duplicate rule error. + + When you modify a rule, you cannot change the rule type. For example, if + the rule uses an IPv4 address range, you must use `CidrIpv4` to specify + a new IPv4 address range. + """ + + ip_protocol: str | None = ... + """ + The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see + [Protocol + Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). + + Use `-1` to specify all protocols. + """ + from_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the start of the port range. If + the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP + types). + """ + to_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the end of the port range. If the + protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP + codes). If the start port is -1 (all ICMP types), then the end port must + be -1 (all ICMP codes). + """ + cidr_ipv4: str | None = ... + """ + The IPv4 CIDR range. To specify a single IPv4 address, use the /32 + prefix length. + """ + cidr_ipv6: str | None = ... + """ + The IPv6 CIDR range. To specify a single IPv6 address, use the /128 + prefix length. + """ + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + referenced_group_id: str | None = ... + """ + The ID of the security group that is referenced in the security group + rule. + """ + description: str | None = ... + """The description of the security group rule.""" + +@dataclass(kw_only=True) +class SecurityGroupRuleUpdate(_SerdeShape): + """Describes an update to a security group rule.""" + + security_group_rule_id: str | None = ... + """The ID of the security group rule.""" + security_group_rule: SecurityGroupRuleRequest | None = ... + """Information about the security group rule.""" + +@dataclass(kw_only=True) +class SecurityGroupVpcAssociation(_SerdeShape): + """ + A security group association with a VPC that you made with + [AssociateSecurityGroupVpc](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateSecurityGroupVpc.html). + """ + + group_id: str | None = ... + """The association's security group ID.""" + vpc_id: str | None = ... + """The association's VPC ID.""" + vpc_owner_id: str | None = ... + """The Amazon Web Services account ID of the owner of the VPC.""" + state: str | None = ... + """The association's state.""" + state_reason: str | None = ... + """The association's state reason.""" + group_owner_id: str | None = ... + """The Amazon Web Services account ID of the owner of the security group.""" + +class SecurityGroupVpcAssociationState(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + ASSOCIATION_FAILED = "association-failed" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + DISASSOCIATION_FAILED = "disassociation-failed" + +class SelfServicePortal(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class SendDiagnosticInterruptInput(_SerdeShape): + """Dataclass for SendDiagnosticInterruptInput structure.""" + + instance_id: str | None = ... + """The ID of the instance.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class SendDiagnosticInterruptOutput(_SerdeShape): + """Dataclass for SendDiagnosticInterruptOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceConfiguration(_SerdeShape): + """Describes a service configuration for a VPC endpoint service.""" + + service_type: list[ServiceTypeDetail] | None = ... + """The type of service.""" + service_id: str | None = ... + """The ID of the service.""" + service_name: str | None = ... + """The name of the service.""" + service_state: str | None = ... + """The service state.""" + availability_zone_ids: list[str] | None = ... + """ + The IDs of the Availability Zones in which the service is available. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both + """ + availability_zones: list[str] | None = ... + """ + The Availability Zones in which the service is available. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both + """ + acceptance_required: bool | None = ... + """ + Indicates whether requests from other Amazon Web Services accounts to + create an endpoint to the service must first be accepted. + """ + manages_vpc_endpoints: bool | None = ... + """ + Indicates whether the service manages its VPC endpoints. Management of + the service VPC endpoints using the VPC endpoint API is restricted. + """ + network_load_balancer_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the Network Load Balancers for the + service. + """ + gateway_load_balancer_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the + service. + """ + supported_ip_address_types: list[str] | None = ... + """The supported IP address types.""" + base_endpoint_dns_names: list[str] | None = ... + """The DNS names for the service.""" + private_dns_name: str | None = ... + """The private DNS name for the service.""" + private_dns_name_configuration: PrivateDnsNameConfiguration | None = ... + """Information about the endpoint service private DNS name configuration.""" + payer_responsibility: str | None = ... + """The payer responsibility.""" + tags: list[Tag] | None = ... + """The tags assigned to the service.""" + supported_regions: list[SupportedRegionDetail] | None = ... + """The supported Regions.""" + remote_access_enabled: bool | None = ... + """ + Indicates whether consumers can access the service from a Region other + than the Region where the service is hosted. + """ + +class ServiceConnectivityType(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + IPV6 = "ipv6" + +@dataclass(kw_only=True) +class ServiceDetail(_SerdeShape): + """Describes a VPC endpoint service.""" + + service_name: str | None = ... + """The name of the service.""" + service_id: str | None = ... + """The ID of the endpoint service.""" + service_type: list[ServiceTypeDetail] | None = ... + """The type of service.""" + service_region: str | None = ... + """The Region where the service is hosted.""" + availability_zone_ids: list[str] | None = ... + """ + The IDs of the Availability Zones in which the service is available. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both + """ + availability_zones: list[str] | None = ... + """ + The Availability Zones in which the service is available. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both + """ + owner: str | None = ... + """The Amazon Web Services account ID of the service owner.""" + base_endpoint_dns_names: list[str] | None = ... + """The DNS names for the service.""" + private_dns_name: str | None = ... + """The private DNS name for the service.""" + private_dns_names: list[PrivateDnsDetails] | None = ... + """The private DNS names assigned to the VPC endpoint service.""" + vpc_endpoint_policy_supported: bool | None = ... + """Indicates whether the service supports endpoint policies.""" + acceptance_required: bool | None = ... + """ + Indicates whether VPC endpoint connection requests to the service must + be accepted by the service owner. + """ + manages_vpc_endpoints: bool | None = ... + """ + Indicates whether the service manages its VPC endpoints. Management of + the service VPC endpoints using the VPC endpoint API is restricted. + """ + payer_responsibility: str | None = ... + """The payer responsibility.""" + tags: list[Tag] | None = ... + """The tags assigned to the service.""" + private_dns_name_verification_state: str | None = ... + """ + The verification state of the VPC endpoint service. + + Consumers of the endpoint service cannot use the private name when the + state is not `verified`. + """ + supported_ip_address_types: list[str] | None = ... + """The supported IP address types.""" + +@dataclass(kw_only=True) +class ServiceLinkVirtualInterface(_SerdeShape): + """ + Describes the service link virtual interfaces that establish + connectivity between Amazon Web Services Outpost and on-premises + networks. + """ + + service_link_virtual_interface_id: str | None = ... + """The ID of the service link virtual interface.""" + service_link_virtual_interface_arn: str | None = ... + """The Amazon Resource Number (ARN) for the service link virtual interface.""" + outpost_id: str | None = ... + """The Outpost ID for the service link virtual interface.""" + outpost_arn: str | None = ... + """ + The Outpost Amazon Resource Number (ARN) for the service link virtual + interface. + """ + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the service link + virtual interface.. + """ + local_address: str | None = ... + """ + The IPv4 address assigned to the local gateway virtual interface on the + Outpost side. + """ + peer_address: str | None = ... + """The IPv4 peer address for the service link virtual interface.""" + peer_bgp_asn: int | None = ... + """ + The ASN for the Border Gateway Protocol (BGP) associated with the + service link virtual interface. + """ + vlan: int | None = ... + """The virtual local area network for the service link virtual interface.""" + outpost_lag_id: str | None = ... + """ + The link aggregation group (LAG) ID for the service link virtual + interface. + """ + tags: list[Tag] | None = ... + """The tags associated with the service link virtual interface.""" + configuration_state: str | None = ... + """The current state of the service link virtual interface.""" + +class ServiceLinkVirtualInterfaceConfigurationState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +class ServiceManaged(UnknownEnumMixin, StrEnum): + ALB = "alb" + NLB = "nlb" + RNAT = "rnat" + RDS = "rds" + +class ServiceState(UnknownEnumMixin, StrEnum): + PENDING = "Pending" + AVAILABLE = "Available" + DELETING = "Deleting" + DELETED = "Deleted" + FAILED = "Failed" + +class ServiceType(UnknownEnumMixin, StrEnum): + INTERFACE = "Interface" + GATEWAY = "Gateway" + GATEWAY_LOAD_BALANCER = "GatewayLoadBalancer" + +@dataclass(kw_only=True) +class ServiceTypeDetail(_SerdeShape): + """Describes the type of service for a VPC endpoint.""" + + service_type: str | None = ... + """The type of service.""" + +class SeverityLabel(UnknownEnumMixin, StrEnum): + INFORMATIONAL = "informational" + LOW = "low" + MEDIUM = "medium" + HIGH = "high" + CRITICAL = "critical" + +class ShutdownBehavior(UnknownEnumMixin, StrEnum): + STOP = "stop" + TERMINATE = "terminate" + +@dataclass(kw_only=True) +class SlotDateTimeRangeRequest(_SerdeShape): + """ + Describes the time period for a Scheduled Instance to start its first + schedule. The time period must span less than one day. + """ + + earliest_time: datetime | None = ... + """The earliest date and time, in UTC, for the Scheduled Instance to start.""" + latest_time: datetime | None = ... + """ + The latest date and time, in UTC, for the Scheduled Instance to start. + This value must be later than or equal to the earliest date and at most + three months in the future. + """ + +@dataclass(kw_only=True) +class SlotStartTimeRangeRequest(_SerdeShape): + """ + Describes the time period for a Scheduled Instance to start its first + schedule. + """ + + earliest_time: datetime | None = ... + """The earliest date and time, in UTC, for the Scheduled Instance to start.""" + latest_time: datetime | None = ... + """The latest date and time, in UTC, for the Scheduled Instance to start.""" + +@dataclass(kw_only=True) +class Snapshot(_SerdeShape): + """Describes a snapshot.""" + + owner_alias: str | None = ... + """ + The Amazon Web Services owner alias, from an Amazon-maintained list + (`amazon`). This is not the user-configured Amazon Web Services account + alias set using the IAM console. + """ + outpost_arn: str | None = ... + """ + The ARN of the Outpost on which the snapshot is stored. For more + information, see [Amazon EBS local snapshots on + Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html) + in the *Amazon EBS User Guide*. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the snapshot.""" + storage_tier: str | None = ... + """ + The storage tier in which the snapshot is stored. `standard` indicates + that the snapshot is stored in the standard snapshot storage tier and + that it is ready for use. `archive` indicates that the snapshot is + currently archived and that it must be restored before it can be used. + """ + restore_expiry_time: datetime | None = ... + """ + Only for archived snapshots that are temporarily restored. Indicates the + date and time when a temporarily restored snapshot will be automatically + re-archived. + """ + sse_type: str | None = ... + """Reserved for future use.""" + availability_zone: str | None = ... + """ + The Availability Zone or Local Zone of the snapshot. For example, + `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone). + """ + transfer_type: str | None = ... + """ + Note: + Only for snapshot copies. + + Indicates whether the snapshot copy was created with a standard or + time-based snapshot copy operation. Time-based snapshot copy operations + complete within the completion duration specified in the request. + Standard snapshot copy operations are completed on a best-effort basis. + + - `standard` - The snapshot copy was created with a standard snapshot + copy operation. + + - `time-based` - The snapshot copy was created with a time-based + snapshot copy operation. + """ + completion_duration_minutes: int | None = ... + """ + Note: + Only for snapshot copies created with time-based snapshot copy + operations. + + The completion duration requested for the time-based snapshot copy + operation. + """ + completion_time: datetime | None = ... + """The time stamp when the snapshot was completed.""" + full_snapshot_size_in_bytes: int | None = ... + """ + The full size of the snapshot, in bytes. + + Warning: + This is **not** the incremental size of the snapshot. This is the full + snapshot size and represents the size of all the blocks that were + written to the source volume at the time the snapshot was created. + """ + snapshot_id: str | None = ... + """ + The ID of the snapshot. Each snapshot receives a unique identifier when + it is created. + """ + volume_id: str | None = ... + """ + The ID of the volume that was used to create the snapshot. Snapshots + created by a copy snapshot operation have an arbitrary volume ID that + you should not use for any purpose. + """ + state: str | None = ... + """The snapshot state.""" + state_message: str | None = ... + """ + Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot + copy operation fails (for example, if the proper KMS permissions are not + obtained) this field displays error state details to help you diagnose + why the error occurred. This parameter is only returned by + DescribeSnapshots. + """ + start_time: datetime | None = ... + """The time stamp when the snapshot was initiated.""" + progress: str | None = ... + """The progress of the snapshot, as a percentage.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the EBS snapshot.""" + description: str | None = ... + """The description for the snapshot.""" + volume_size: int | None = ... + """The size of the volume, in GiB.""" + encrypted: bool | None = ... + """Indicates whether the snapshot is encrypted.""" + kms_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that was used to protect + the volume encryption key for the parent volume. + """ + data_encryption_key_id: str | None = ... + """ + The data encryption key identifier for the snapshot. This value is a + unique identifier that corresponds to the data encryption key that was + used to encrypt the original volume or snapshot copy. Because data + encryption keys are inherited by volumes created from snapshots, and + vice versa, if snapshots share the same data encryption key identifier, + then they belong to the same volume/snapshot lineage. This parameter is + only returned by DescribeSnapshots. + """ + +class SnapshotAttributeName(UnknownEnumMixin, StrEnum): + PRODUCT_CODES = "productCodes" + CREATE_VOLUME_PERMISSION = "createVolumePermission" + +class SnapshotBlockPublicAccessState(UnknownEnumMixin, StrEnum): + BLOCK_ALL_SHARING = "block-all-sharing" + BLOCK_NEW_SHARING = "block-new-sharing" + UNBLOCKED = "unblocked" + +@dataclass(kw_only=True) +class SnapshotDetail(_SerdeShape): + """Describes the snapshot created from the imported disk.""" + + description: str | None = ... + """A description for the snapshot.""" + device_name: str | None = ... + """The block device mapping for the snapshot.""" + disk_image_size: float | None = ... + """The size of the disk in the snapshot, in GiB.""" + format: str | None = ... + """The format of the disk image from which the snapshot is created.""" + progress: str | None = ... + """The percentage of progress for the task.""" + snapshot_id: str | None = ... + """The snapshot ID of the disk being imported.""" + status: str | None = ... + """A brief status of the snapshot creation.""" + status_message: str | None = ... + """A detailed status message for the snapshot creation.""" + url: str | None = ... + """The URL used to access the disk image.""" + user_bucket: UserBucketDetails | None = ... + """The Amazon S3 bucket for the disk image.""" + +@dataclass(kw_only=True) +class SnapshotDiskContainer(_SerdeShape): + """The disk container object for the import snapshot request.""" + + description: str | None = ... + """The description of the disk image being imported.""" + format: str | None = ... + """ + The format of the disk image being imported. + + Valid values: `VHD` | `VMDK` | `RAW` + """ + url: str | None = ... + """ + The URL to the Amazon S3-based disk image being imported. It can either + be a https URL (https://..) or an Amazon S3 URL (s3://..). + """ + user_bucket: UserBucket | None = ... + """The Amazon S3 bucket for the disk image.""" + +@dataclass(kw_only=True) +class SnapshotInfo(_SerdeShape): + """Information about a snapshot.""" + + description: str | None = ... + """ + Description specified by the CreateSnapshotRequest that has been applied + to all snapshots. + """ + tags: list[Tag] | None = ... + """Tags associated with this snapshot.""" + encrypted: bool | None = ... + """Indicates whether the snapshot is encrypted.""" + volume_id: str | None = ... + """Source volume from which this snapshot was created.""" + state: str | None = ... + """Current state of the snapshot.""" + volume_size: int | None = ... + """Size of the volume from which this snapshot was created.""" + start_time: datetime | None = ... + """ + Time this snapshot was started. This is the same for all snapshots + initiated by the same request. + """ + progress: str | None = ... + """Progress this snapshot has made towards completing.""" + owner_id: str | None = ... + """Account id used when creating this snapshot.""" + snapshot_id: str | None = ... + """Snapshot id that can be used to describe this snapshot.""" + outpost_arn: str | None = ... + """ + The ARN of the Outpost on which the snapshot is stored. For more + information, see [Amazon EBS local snapshots on + Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html) + in the *Amazon EBS User Guide*. + """ + sse_type: str | None = ... + """Reserved for future use.""" + availability_zone: str | None = ... + """ + The Availability Zone or Local Zone of the snapshots. For example, + `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone). + """ + +class SnapshotLocationEnum(UnknownEnumMixin, StrEnum): + REGIONAL = "regional" + LOCAL = "local" + +@dataclass(kw_only=True) +class SnapshotRecycleBinInfo(_SerdeShape): + """Information about a snapshot that is currently in the Recycle Bin.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + recycle_bin_enter_time: datetime | None = ... + """The date and time when the snapshot entered the Recycle Bin.""" + recycle_bin_exit_time: datetime | None = ... + """ + The date and time when the snapshot is to be permanently deleted from + the Recycle Bin. + """ + description: str | None = ... + """The description for the snapshot.""" + volume_id: str | None = ... + """The ID of the volume from which the snapshot was created.""" + +class SnapshotReturnCodes(UnknownEnumMixin, StrEnum): + SUCCESS = "success" + WARN_SKIPPED = "skipped" + ERROR_MISSING_PERMISSIONS = "missing-permissions" + ERROR_CODE_INTERNAL_ERROR = "internal-error" + ERROR_CODE_CLIENT_ERROR = "client-error" diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_11.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_11.pyi new file mode 100644 index 000000000..0ea8d5583 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_11.pyi @@ -0,0 +1,4821 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AssociationStatus, + BlockDeviceMapping, + BlockPublicAccessStates, + CapacityManagerMonitoredTagKey, + ClientVpnConnectionStatus, + EncryptionSupport, + FleetSpotMaintenanceStrategies, + FleetSpotMaintenanceStrategiesRequest, + GroupIdentifier, + IKEVersionsListValue, + IamInstanceProfileSpecification, + InstanceMonitoring, + InstanceNetworkInterfaceSpecification, + InstanceRequirements, + InstanceStateChange, + IpPermission, + LaunchSpecification, + LaunchTemplateConfig, + LoadBalancersConfig, + NatGatewayAddress, + NetworkInsightsAccessScopeAnalysis, + NetworkInsightsAnalysis, + PeeringAttachmentStatus, + PeeringTgwInfo, + Phase1DHGroupNumbersListValue, + Phase1EncryptionAlgorithmsListValue, + Phase1IntegrityAlgorithmsListValue, + Phase2DHGroupNumbersListValue, + Phase2EncryptionAlgorithmsListValue, + Phase2IntegrityAlgorithmsListValue, + PrivateDnsNameOptionsOnLaunch, + ReservationValue, + ResourceStatement, + ResourceStatementRequest, + S3Storage, + SecurityGroupRuleDescription, + VerifiedAccessSseSpecificationResponse, + VpnTunnelLogOptions, + _SerdeShape, +) + +class SnapshotState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + COMPLETED = "completed" + ERROR = "error" + RECOVERABLE = "recoverable" + RECOVERING = "recovering" + +@dataclass(kw_only=True) +class SnapshotTaskDetail(_SerdeShape): + """Details about the import snapshot task.""" + + description: str | None = ... + """The description of the disk image being imported.""" + disk_image_size: float | None = ... + """The size of the disk in the snapshot, in GiB.""" + encrypted: bool | None = ... + """Indicates whether the snapshot is encrypted.""" + format: str | None = ... + """The format of the disk image from which the snapshot is created.""" + kms_key_id: str | None = ... + """ + The identifier for the KMS key that was used to create the encrypted + snapshot. + """ + progress: str | None = ... + """The percentage of completion for the import snapshot task.""" + snapshot_id: str | None = ... + """The snapshot ID of the disk being imported.""" + status: str | None = ... + """A brief status for the import snapshot task.""" + status_message: str | None = ... + """A detailed status message for the import snapshot task.""" + url: str | None = ... + """The URL of the disk image from which the snapshot is created.""" + user_bucket: UserBucketDetails | None = ... + """The Amazon S3 bucket for the disk image.""" + +@dataclass(kw_only=True) +class SnapshotTierStatus(_SerdeShape): + """Provides information about a snapshot's storage tier.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + volume_id: str | None = ... + """The ID of the volume from which the snapshot was created.""" + status: str | None = ... + """The state of the snapshot.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the snapshot.""" + tags: list[Tag] | None = ... + """The tags that are assigned to the snapshot.""" + storage_tier: str | None = ... + """ + The storage tier in which the snapshot is stored. `standard` indicates + that the snapshot is stored in the standard snapshot storage tier and + that it is ready for use. `archive` indicates that the snapshot is + currently archived and that it must be restored before it can be used. + """ + last_tiering_start_time: datetime | None = ... + """The date and time when the last archive or restore process was started.""" + last_tiering_progress: int | None = ... + """The progress of the last archive or restore process, as a percentage.""" + last_tiering_operation_status: str | None = ... + """The status of the last archive or restore process.""" + last_tiering_operation_status_detail: str | None = ... + """A message describing the status of the last archive or restore process.""" + archival_complete_time: datetime | None = ... + """The date and time when the last archive process was completed.""" + restore_expiry_time: datetime | None = ... + """ + Only for archived snapshots that are temporarily restored. Indicates the + date and time when a temporarily restored snapshot will be automatically + re-archived. + """ + +class SpotAllocationStrategy(UnknownEnumMixin, StrEnum): + LOWEST_PRICE = "lowest-price" + DIVERSIFIED = "diversified" + CAPACITY_OPTIMIZED = "capacity-optimized" + CAPACITY_OPTIMIZED_PRIORITIZED = "capacity-optimized-prioritized" + PRICE_CAPACITY_OPTIMIZED = "price-capacity-optimized" + +@dataclass(kw_only=True) +class SpotCapacityRebalance(_SerdeShape): + """ + The Spot Instance replacement strategy to use when Amazon EC2 emits a + signal that your Spot Instance is at an elevated risk of being + interrupted. For more information, see [Capacity + rebalancing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html) + in the *Amazon EC2 User Guide*. + """ + + replacement_strategy: str | None = ... + """ + The replacement strategy to use. Only available for fleets of type + `maintain`. + + `launch` - Spot Fleet launches a new replacement Spot Instance when a + rebalance notification is emitted for an existing Spot Instance in the + fleet. Spot Fleet does not terminate the instances that receive a + rebalance notification. You can terminate the old instances, or you can + leave them running. You are charged for all instances while they are + running. + + `launch-before-terminate` - Spot Fleet launches a new replacement Spot + Instance when a rebalance notification is emitted for an existing Spot + Instance in the fleet, and then, after a delay that you specify (in + `TerminationDelay`), terminates the instances that received a rebalance + notification. + """ + termination_delay: int | None = ... + """ + The amount of time (in seconds) that Amazon EC2 waits before terminating + the old Spot Instance after launching a new replacement Spot Instance. + + Required when `ReplacementStrategy` is set to `launch-before-terminate`. + + Not valid when `ReplacementStrategy` is set to `launch`. + + Valid values: Minimum value of `120` seconds. Maximum value of `7200` + seconds. + """ + +@dataclass(kw_only=True) +class SpotDatafeedSubscription(_SerdeShape): + """Describes the data feed for a Spot Instance.""" + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket where the Spot Instance data feed is + located. + """ + fault: SpotInstanceStateFault | None = ... + """The fault codes for the Spot Instance request, if any.""" + owner_id: str | None = ... + """The Amazon Web Services account ID of the account.""" + prefix: str | None = ... + """The prefix for the data feed files.""" + state: str | None = ... + """The state of the Spot Instance data feed subscription.""" + +@dataclass(kw_only=True) +class SpotFleetLaunchSpecification(_SerdeShape): + """ + Describes the launch specification for one or more Spot Instances. If + you include On-Demand capacity in your fleet request or want to specify + an EFA network device, you can't use `SpotFleetLaunchSpecification`; + you must use + [LaunchTemplateConfig](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html). + """ + + addressing_type: str | None = ... + """Deprecated.""" + block_device_mappings: list[BlockDeviceMapping] | None = ... + """ + One or more block devices that are mapped to the Spot Instances. You + can't specify both a snapshot ID and an encryption value. This is + because only blank volumes can be encrypted on creation. If a snapshot + is the basis for a volume, it is not blank and its encryption status is + used for the volume encryption status. + """ + ebs_optimized: bool | None = ... + """ + Indicates whether the instances are optimized for EBS I/O. This + optimization provides dedicated throughput to Amazon EBS and an + optimized configuration stack to provide optimal EBS I/O performance. + This optimization isn't available with all instance types. Additional + usage charges apply when using an EBS Optimized instance. + + Default: `false` + """ + iam_instance_profile: IamInstanceProfileSpecification | None = ... + """The IAM instance profile.""" + image_id: str | None = ... + """The ID of the AMI.""" + instance_type: str | None = ... + """The instance type.""" + kernel_id: str | None = ... + """The ID of the kernel.""" + key_name: str | None = ... + """The name of the key pair.""" + monitoring: SpotFleetMonitoring | None = ... + """Enable or disable monitoring for the instances.""" + network_interfaces: list[InstanceNetworkInterfaceSpecification] | None = ... + """ + The network interfaces. + + Note: + `SpotFleetLaunchSpecification` does not support Elastic Fabric Adapter + (EFA). You must use + [LaunchTemplateConfig](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html) + instead. + """ + placement: SpotPlacement | None = ... + """The placement information.""" + ramdisk_id: str | None = ... + """ + The ID of the RAM disk. Some kernels require additional drivers at + launch. Check the kernel requirements for information about whether you + need to specify a RAM disk. To find kernel requirements, refer to the + Amazon Web Services Resource Center and search for the kernel ID. + """ + spot_price: str | None = ... + """ + The maximum price per unit hour that you are willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your instances will be interrupted more + frequently than if you do not specify this parameter. + """ + subnet_id: str | None = ... + """ + The IDs of the subnets in which to launch the instances. To specify + multiple subnets, separate them using commas; for example, + \"subnet-1234abcdeexample1, subnet-0987cdef6example2\". + + If you specify a network interface, you must specify any subnets as part + of the network interface instead of using this parameter. + """ + user_data: str | None = ... + """ + The base64-encoded user data that instances use when starting up. User + data is limited to 16 KB. + """ + weighted_capacity: float | None = ... + """ + The number of units provided by the specified instance type. These are + the same units that you chose to set the target capacity in terms of + instances, or a performance characteristic such as vCPUs, memory, or + I/O. + + If the target capacity divided by this value is not a whole number, + Amazon EC2 rounds the number of instances to the next whole number. If + this value is not specified, the default is 1. + + Note: + When specifying weights, the price used in the `lowestPrice` and + `priceCapacityOptimized` allocation strategies is per *unit* hour (where + the instance price is divided by the specified weight). However, if all + the specified weights are above the requested `TargetCapacity`, + resulting in only 1 instance being launched, the price used is per + *instance* hour. + """ + tag_specifications: list[SpotFleetTagSpecification] | None = ... + """The tags to apply during creation.""" + instance_requirements: InstanceRequirements | None = ... + """ + The attributes for the instance types. When you specify instance + attributes, Amazon EC2 will identify instance types with those + attributes. + + Note: + If you specify `InstanceRequirements`, you can't specify + `InstanceType`. + """ + security_groups: list[GroupIdentifier] | None = ... + """ + The security groups. + + If you specify a network interface, you must specify any security groups + as part of the network interface instead of using this parameter. + """ + +@dataclass(kw_only=True) +class SpotFleetMonitoring(_SerdeShape): + """Describes whether monitoring is enabled.""" + + enabled: bool | None = ... + """ + Enables monitoring for the instance. + + Default: `false` + """ + +@dataclass(kw_only=True) +class SpotFleetRequestConfig(_SerdeShape): + """Describes a Spot Fleet request.""" + + activity_status: str | None = ... + """ + The progress of the Spot Fleet request. If there is an error, the status + is `error`. After all requests are placed, the status is + `pending_fulfillment`. If the size of the fleet is equal to or greater + than its target capacity, the status is `fulfilled`. If the size of the + fleet is decreased, the status is `pending_termination` while Spot + Instances are terminating. + """ + create_time: datetime | None = ... + """The creation date and time of the request.""" + spot_fleet_request_config: SpotFleetRequestConfigData | None = ... + """The configuration of the Spot Fleet request.""" + spot_fleet_request_id: str | None = ... + """The ID of the Spot Fleet request.""" + spot_fleet_request_state: str | None = ... + """The state of the Spot Fleet request.""" + tags: list[Tag] | None = ... + """The tags for a Spot Fleet resource.""" + +@dataclass(kw_only=True) +class SpotFleetRequestConfigData(_SerdeShape): + """Describes the configuration of a Spot Fleet request.""" + + allocation_strategy: str | None = ... + """ + The strategy that determines how to allocate the target Spot Instance + capacity across the Spot Instance pools specified by the Spot Fleet + launch configuration. For more information, see [Allocation strategies + for Spot + Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html) + in the *Amazon EC2 User Guide*. + + priceCapacityOptimized (recommended) + + : Spot Fleet identifies the pools with the highest capacity availability + for the number of instances that are launching. This means that we + will request Spot Instances from the pools that we believe have the + lowest chance of interruption in the near term. Spot Fleet then + requests Spot Instances from the lowest priced of these pools. + + capacityOptimized + + : Spot Fleet identifies the pools with the highest capacity availability + for the number of instances that are launching. This means that we + will request Spot Instances from the pools that we believe have the + lowest chance of interruption in the near term. To give certain + instance types a higher chance of launching first, use + `capacityOptimizedPrioritized`. Set a priority for each instance type + by using the `Priority` parameter for `LaunchTemplateOverrides`. You + can assign the same priority to different `LaunchTemplateOverrides`. + EC2 implements the priorities on a best-effort basis, but optimizes + for capacity first. `capacityOptimizedPrioritized` is supported only + if your Spot Fleet uses a launch template. Note that if the + `OnDemandAllocationStrategy` is set to `prioritized`, the same + priority is applied when fulfilling On-Demand capacity. + + diversified + + : Spot Fleet requests instances from all of the Spot Instance pools that + you specify. + + lowestPrice (not recommended) + + : Warning: + We don't recommend the `lowestPrice` allocation strategy because it + has the highest risk of interruption for your Spot Instances. + Spot Fleet requests instances from the lowest priced Spot Instance + pool that has available capacity. If the lowest priced pool doesn't + have available capacity, the Spot Instances come from the next lowest + priced pool that has available capacity. If a pool runs out of + capacity before fulfilling your desired capacity, Spot Fleet will + continue to fulfill your request by drawing from the next lowest + priced pool. To ensure that your desired capacity is met, you might + receive Spot Instances from several pools. Because this strategy only + considers instance price and not capacity availability, it might lead + to high interruption rates. + + Default: `lowestPrice` + """ + on_demand_allocation_strategy: str | None = ... + """ + The order of the launch template overrides to use in fulfilling + On-Demand capacity. If you specify `lowestPrice`, Spot Fleet uses price + to determine the order, launching the lowest price first. If you specify + `prioritized`, Spot Fleet uses the priority that you assign to each Spot + Fleet launch template override, launching the highest priority first. If + you do not specify a value, Spot Fleet defaults to `lowestPrice`. + """ + spot_maintenance_strategies: SpotMaintenanceStrategies | None = ... + """ + The strategies for managing your Spot Instances that are at an elevated + risk of being interrupted. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of your listings. This helps to avoid duplicate listings. + For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + excess_capacity_termination_policy: str | None = ... + """ + Indicates whether running instances should be terminated if you decrease + the target capacity of the Spot Fleet request below the current size of + the Spot Fleet. + + Supported only for fleets of type `maintain`. + """ + fulfilled_capacity: float | None = ... + """ + The number of units fulfilled by this request compared to the set target + capacity. You cannot set this value. + """ + on_demand_fulfilled_capacity: float | None = ... + """ + The number of On-Demand units fulfilled by this request compared to the + set target On-Demand capacity. + """ + iam_fleet_role: str | None = ... + """ + The Amazon Resource Name (ARN) of an Identity and Access Management + (IAM) role that grants the Spot Fleet the permission to request, launch, + terminate, and tag instances on your behalf. For more information, see + [Spot Fleet + prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites) + in the *Amazon EC2 User Guide*. Spot Fleet can terminate Spot Instances + on your behalf when you cancel its Spot Fleet request using + [CancelSpotFleetRequests](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests) + or when the Spot Fleet request expires, if you set + `TerminateInstancesWithExpiration`. + """ + launch_specifications: list[SpotFleetLaunchSpecification] | None = ... + """ + The launch specifications for the Spot Fleet request. If you specify + `LaunchSpecifications`, you can't specify `LaunchTemplateConfigs`. If + you include On-Demand capacity in your request, you must use + `LaunchTemplateConfigs`. + + Note: + If an AMI specified in a launch specification is deregistered or + disabled, no new instances can be launched from the AMI. For fleets of + type `maintain`, the target capacity will not be maintained. + """ + launch_template_configs: list[LaunchTemplateConfig] | None = ... + """ + The launch template and overrides. If you specify + `LaunchTemplateConfigs`, you can't specify `LaunchSpecifications`. If + you include On-Demand capacity in your request, you must use + `LaunchTemplateConfigs`. + """ + spot_price: str | None = ... + """ + The maximum price per unit hour that you are willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your instances will be interrupted more + frequently than if you do not specify this parameter. + """ + target_capacity: int | None = ... + """ + The number of units to request for the Spot Fleet. You can choose to set + the target capacity in terms of instances or a performance + characteristic that is important to your application workload, such as + vCPUs, memory, or I/O. If the request type is `maintain`, you can + specify a target capacity of 0 and add capacity later. + """ + on_demand_target_capacity: int | None = ... + """ + The number of On-Demand units to request. You can choose to set the + target capacity in terms of instances or a performance characteristic + that is important to your application workload, such as vCPUs, memory, + or I/O. If the request type is `maintain`, you can specify a target + capacity of 0 and add capacity later. + """ + on_demand_max_total_price: str | None = ... + """ + The maximum amount per hour for On-Demand Instances that you're willing + to pay. You can use the `onDemandMaxTotalPrice` parameter, the + `spotMaxTotalPrice` parameter, or both parameters to ensure that your + fleet cost does not exceed your budget. If you set a maximum price per + hour for the On-Demand Instances and Spot Instances in your request, + Spot Fleet will launch instances until it reaches the maximum amount + you're willing to pay. When the maximum amount you're willing to pay + is reached, the fleet stops launching instances even if it hasn't met + the target capacity. + + Note: + If your fleet includes T instances that are configured as `unlimited`, + and if their average CPU usage exceeds the baseline utilization, you + will incur a charge for surplus credits. The `onDemandMaxTotalPrice` + does not account for surplus credits, and, if you use surplus credits, + your final cost might be higher than what you specified for + `onDemandMaxTotalPrice`. For more information, see [Surplus credits can + incur + charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) + in the *Amazon EC2 User Guide*. + """ + spot_max_total_price: str | None = ... + """ + The maximum amount per hour for Spot Instances that you're willing to + pay. You can use the `spotMaxTotalPrice` parameter, the + `onDemandMaxTotalPrice` parameter, or both parameters to ensure that + your fleet cost does not exceed your budget. If you set a maximum price + per hour for the On-Demand Instances and Spot Instances in your request, + Spot Fleet will launch instances until it reaches the maximum amount + you're willing to pay. When the maximum amount you're willing to pay + is reached, the fleet stops launching instances even if it hasn't met + the target capacity. + + Note: + If your fleet includes T instances that are configured as `unlimited`, + and if their average CPU usage exceeds the baseline utilization, you + will incur a charge for surplus credits. The `spotMaxTotalPrice` does + not account for surplus credits, and, if you use surplus credits, your + final cost might be higher than what you specified for + `spotMaxTotalPrice`. For more information, see [Surplus credits can + incur + charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) + in the *Amazon EC2 User Guide*. + """ + terminate_instances_with_expiration: bool | None = ... + """ + Indicates whether running Spot Instances are terminated when the Spot + Fleet request expires. + """ + type: str | None = ... + """ + The type of request. Indicates whether the Spot Fleet only requests the + target capacity or also attempts to maintain it. When this value is + `request`, the Spot Fleet only places the required requests. It does not + attempt to replenish Spot Instances if capacity is diminished, nor does + it submit requests in alternative Spot pools if capacity is not + available. When this value is `maintain`, the Spot Fleet maintains the + target capacity. The Spot Fleet places the required requests to meet + capacity and automatically replenishes any interrupted instances. + Default: `maintain`. `instant` is listed but is not used by Spot Fleet. + """ + valid_from: datetime | None = ... + """ + The start date and time of the request, in UTC format + (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). By default, Amazon EC2 starts + fulfilling the request immediately. + """ + valid_until: datetime | None = ... + """ + The end date and time of the request, in UTC format + (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). After the end date and time, no new + Spot Instance requests are placed or able to fulfill the request. If no + value is specified, the Spot Fleet request remains until you cancel it. + """ + replace_unhealthy_instances: bool | None = ... + """Indicates whether Spot Fleet should replace unhealthy instances.""" + instance_interruption_behavior: str | None = ... + """ + The behavior when a Spot Instance is interrupted. The default is + `terminate`. + """ + load_balancers_config: LoadBalancersConfig | None = ... + """ + One or more Classic Load Balancers and target groups to attach to the + Spot Fleet request. Spot Fleet registers the running Spot Instances with + the specified Classic Load Balancers and target groups. + + With Network Load Balancers, Spot Fleet cannot register instances that + have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, + G2, HI1, HS1, M1, M2, M3, and T1. + """ + instance_pools_to_use_count: int | None = ... + """ + The number of Spot pools across which to allocate your target Spot + capacity. Valid only when Spot **AllocationStrategy** is set to + `lowest-price`. Spot Fleet selects the cheapest Spot pools and evenly + allocates your target Spot capacity across the number of Spot pools that + you specify. + + Note that Spot Fleet attempts to draw Spot Instances from the number of + pools that you specify on a best effort basis. If a pool runs out of + Spot capacity before fulfilling your target capacity, Spot Fleet will + continue to fulfill your request by drawing from the next cheapest pool. + To ensure that your target capacity is met, you might receive Spot + Instances from more than the number of pools that you specified. + Similarly, if most of the pools have no Spot capacity, you might receive + your full target capacity from fewer than the number of pools that you + specified. + """ + context: str | None = ... + """Reserved.""" + target_capacity_unit_type: str | None = ... + """ + The unit for the target capacity. You can specify this parameter only + when using attribute-based instance type selection. + + Default: `units` (the number of instances) + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The key-value pair for tagging the Spot Fleet request on creation. The + value for `ResourceType` must be `spot-fleet-request`, otherwise the + Spot Fleet request fails. To tag instances at launch, specify the tags + in the [launch + template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template) + (valid only if you use `LaunchTemplateConfigs`) or in the + ` `[`SpotFleetTagSpecification`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html)` ` + (valid only if you use `LaunchSpecifications`). For information about + tagging after launch, see [Tag your + resources](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources). + """ + +@dataclass(kw_only=True) +class SpotFleetTagSpecification(_SerdeShape): + """The tags for a Spot Fleet resource.""" + + resource_type: str | None = ... + """ + The type of resource. Currently, the only resource type that is + supported is `instance`. To tag the Spot Fleet request on creation, use + the `TagSpecifications` parameter in + ` `[`SpotFleetRequestConfigData`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)` `. + """ + tags: list[Tag] | None = ... + """The tags.""" + +class SpotInstanceInterruptionBehavior(UnknownEnumMixin, StrEnum): + HIBERNATE = "hibernate" + STOP = "stop" + TERMINATE = "terminate" + +@dataclass(kw_only=True) +class SpotInstanceRequest(_SerdeShape): + """Describes a Spot Instance request.""" + + actual_block_hourly_price: str | None = ... + """Deprecated.""" + availability_zone_group: str | None = ... + """ + The Availability Zone group. If you specify the same Availability Zone + group for all Spot Instance requests, all Spot Instances are launched in + the same Availability Zone. + """ + block_duration_minutes: int | None = ... + """Deprecated.""" + create_time: datetime | None = ... + """ + The date and time when the Spot Instance request was created, in UTC + format (for example, *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + fault: SpotInstanceStateFault | None = ... + """The fault codes for the Spot Instance request, if any.""" + instance_id: str | None = ... + """ + The instance ID, if an instance has been launched to fulfill the Spot + Instance request. + """ + launch_group: str | None = ... + """ + The instance launch group. Launch groups are Spot Instances that launch + together and terminate together. + """ + launch_specification: LaunchSpecification | None = ... + """Additional information for launching instances.""" + launched_availability_zone: str | None = ... + """ + The Availability Zone in which the request is launched. + + Either `launchedAvailabilityZone` or `launchedAvailabilityZoneId` can be + specified, but not both + """ + launched_availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which the request is launched. + + Either `launchedAvailabilityZone` or `launchedAvailabilityZoneId` can be + specified, but not both + """ + product_description: str | None = ... + """The product description associated with the Spot Instance.""" + spot_instance_request_id: str | None = ... + """The ID of the Spot Instance request.""" + spot_price: str | None = ... + """ + The maximum price per unit hour that you are willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your instances will be interrupted more + frequently than if you do not specify this parameter. + """ + state: str | None = ... + """ + The state of the Spot Instance request. Spot request status information + helps track your Spot Instance requests. For more information, see [Spot + request + status](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html) + in the *Amazon EC2 User Guide*. + """ + status: SpotInstanceStatus | None = ... + """The status code and status message describing the Spot Instance request.""" + tags: list[Tag] | None = ... + """Any tags assigned to the resource.""" + type: str | None = ... + """The Spot Instance request type.""" + valid_from: datetime | None = ... + """ + The start date of the request, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). The request becomes active at this + date and time. + """ + valid_until: datetime | None = ... + """ + The end date of the request, in UTC format + (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + + - For a persistent request, the request remains active until the + `validUntil` date and time is reached. Otherwise, the request remains + active until you cancel it. + + - For a one-time request, the request remains active until all instances + launch, the request is canceled, or the `validUntil` date and time is + reached. By default, the request is valid for 7 days from the date the + request was created. + """ + instance_interruption_behavior: str | None = ... + """The behavior when a Spot Instance is interrupted.""" + +class SpotInstanceState(UnknownEnumMixin, StrEnum): + OPEN = "open" + ACTIVE = "active" + CLOSED = "closed" + CANCELLED = "cancelled" + FAILED = "failed" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class SpotInstanceStateFault(_SerdeShape): + """Describes a Spot Instance state change.""" + + code: str | None = ... + """The reason code for the Spot Instance state change.""" + message: str | None = ... + """The message for the Spot Instance state change.""" + +@dataclass(kw_only=True) +class SpotInstanceStatus(_SerdeShape): + """Describes the status of a Spot Instance request.""" + + code: str | None = ... + """ + The status code. For a list of status codes, see [Spot request status + codes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html#spot-instance-request-status-understand) + in the *Amazon EC2 User Guide*. + """ + message: str | None = ... + """The description for the status code.""" + update_time: datetime | None = ... + """ + The date and time of the most recent status update, in UTC format (for + example, *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + +class SpotInstanceType(UnknownEnumMixin, StrEnum): + ONE_TIME = "one-time" + PERSISTENT = "persistent" + +@dataclass(kw_only=True) +class SpotMaintenanceStrategies(_SerdeShape): + """ + The strategies for managing your Spot Instances that are at an elevated + risk of being interrupted. + """ + + capacity_rebalance: SpotCapacityRebalance | None = ... + """ + The Spot Instance replacement strategy to use when Amazon EC2 emits a + signal that your Spot Instance is at an elevated risk of being + interrupted. For more information, see [Capacity + rebalancing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class SpotMarketOptions(_SerdeShape): + """The options for Spot Instances.""" + + max_price: str | None = ... + """ + The maximum hourly price that you're willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your Spot Instances will be interrupted + more frequently than if you do not specify this parameter. + + If you specify a maximum price, it must be more than USD $0.001. + Specifying a value below USD $0.001 will result in an + `InvalidParameterValue` error message. + """ + spot_instance_type: str | None = ... + """ + The Spot Instance request type. For + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances), + persistent Spot Instance requests are only supported when the instance + interruption behavior is either `hibernate` or `stop`. + """ + block_duration_minutes: int | None = ... + """Deprecated.""" + valid_until: datetime | None = ... + """ + The end date of the request, in UTC format + (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). Supported only for persistent + requests. + + - For a persistent request, the request remains active until the + `ValidUntil` date and time is reached. Otherwise, the request remains + active until you cancel it. + + - For a one-time request, `ValidUntil` is not supported. The request + remains active until all instances launch or you cancel the request. + """ + instance_interruption_behavior: str | None = ... + """ + The behavior when a Spot Instance is interrupted. + + If `Configured` (for + [`HibernationOptions`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html) + ) is set to `true`, the `InstanceInterruptionBehavior` parameter is + automatically set to `hibernate`. If you set it to `stop` or + `terminate`, you'll get an error. + + If `Configured` (for + [`HibernationOptions`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html) + ) is set to `false` or `null`, the `InstanceInterruptionBehavior` + parameter is automatically set to `terminate`. You can also set it to + `stop` or `hibernate`. + + For more information, see [Interruption + behavior](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/interruption-behavior.html) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class SpotOptions(_SerdeShape): + """Describes the configuration of Spot Instances in an EC2 Fleet.""" + + allocation_strategy: str | None = ... + """ + The strategy that determines how to allocate the target Spot Instance + capacity across the Spot Instance pools specified by the EC2 Fleet + launch configuration. For more information, see [Allocation strategies + for Spot + Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) + in the *Amazon EC2 User Guide*. + + price-capacity-optimized (recommended) + + : EC2 Fleet identifies the pools with the highest capacity availability + for the number of instances that are launching. This means that we + will request Spot Instances from the pools that we believe have the + lowest chance of interruption in the near term. EC2 Fleet then + requests Spot Instances from the lowest priced of these pools. + + capacity-optimized + + : EC2 Fleet identifies the pools with the highest capacity availability + for the number of instances that are launching. This means that we + will request Spot Instances from the pools that we believe have the + lowest chance of interruption in the near term. To give certain + instance types a higher chance of launching first, use + `capacity-optimized-prioritized`. Set a priority for each instance + type by using the `Priority` parameter for `LaunchTemplateOverrides`. + You can assign the same priority to different + `LaunchTemplateOverrides`. EC2 implements the priorities on a + best-effort basis, but optimizes for capacity first. + `capacity-optimized-prioritized` is supported only if your EC2 Fleet + uses a launch template. Note that if the On-Demand + `AllocationStrategy` is set to `prioritized`, the same priority is + applied when fulfilling On-Demand capacity. + + diversified + + : EC2 Fleet requests instances from all of the Spot Instance pools that + you specify. + + lowest-price (not recommended) + + : Warning: + We don't recommend the `lowest-price` allocation strategy because it + has the highest risk of interruption for your Spot Instances. + EC2 Fleet requests instances from the lowest priced Spot Instance pool + that has available capacity. If the lowest priced pool doesn't have + available capacity, the Spot Instances come from the next lowest + priced pool that has available capacity. If a pool runs out of + capacity before fulfilling your desired capacity, EC2 Fleet will + continue to fulfill your request by drawing from the next lowest + priced pool. To ensure that your desired capacity is met, you might + receive Spot Instances from several pools. Because this strategy only + considers instance price and not capacity availability, it might lead + to high interruption rates. + + Default: `lowest-price` + """ + maintenance_strategies: FleetSpotMaintenanceStrategies | None = ... + """ + The strategies for managing your workloads on your Spot Instances that + will be interrupted. Currently only the capacity rebalance strategy is + available. + """ + instance_interruption_behavior: str | None = ... + """ + The behavior when a Spot Instance is interrupted. + + Default: `terminate` + """ + instance_pools_to_use_count: int | None = ... + """ + The number of Spot pools across which to allocate your target Spot + capacity. Supported only when `AllocationStrategy` is set to + `lowest-price`. EC2 Fleet selects the cheapest Spot pools and evenly + allocates your target Spot capacity across the number of Spot pools that + you specify. + + Note that EC2 Fleet attempts to draw Spot Instances from the number of + pools that you specify on a best effort basis. If a pool runs out of + Spot capacity before fulfilling your target capacity, EC2 Fleet will + continue to fulfill your request by drawing from the next cheapest pool. + To ensure that your target capacity is met, you might receive Spot + Instances from more than the number of pools that you specified. + Similarly, if most of the pools have no Spot capacity, you might receive + your full target capacity from fewer than the number of pools that you + specified. + """ + single_instance_type: bool | None = ... + """ + Indicates that the fleet uses a single instance type to launch all Spot + Instances in the fleet. + + Supported only for fleets of type `instant`. + """ + single_availability_zone: bool | None = ... + """ + Indicates that the fleet launches all Spot Instances into a single + Availability Zone. + + Supported only for fleets of type `instant`. + """ + min_target_capacity: int | None = ... + """ + The minimum target capacity for Spot Instances in the fleet. If this + minimum capacity isn't reached, no instances are launched. + + Constraints: Maximum value of `1000`. Supported only for fleets of type + `instant`. + + At least one of the following must be specified: + `SingleAvailabilityZone` | `SingleInstanceType` + """ + max_total_price: str | None = ... + """ + The maximum amount per hour for Spot Instances that you're willing to + pay. We do not recommend using this parameter because it can lead to + increased interruptions. If you do not specify this parameter, you will + pay the current Spot price. + + Warning: + If you specify a maximum price, your Spot Instances will be interrupted + more frequently than if you do not specify this parameter. + Note: + If your fleet includes T instances that are configured as `unlimited`, + and if their average CPU usage exceeds the baseline utilization, you + will incur a charge for surplus credits. The `maxTotalPrice` does not + account for surplus credits, and, if you use surplus credits, your final + cost might be higher than what you specified for `maxTotalPrice`. For + more information, see [Surplus credits can incur + charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class SpotOptionsRequest(_SerdeShape): + """Describes the configuration of Spot Instances in an EC2 Fleet request.""" + + allocation_strategy: str | None = ... + """ + The strategy that determines how to allocate the target Spot Instance + capacity across the Spot Instance pools specified by the EC2 Fleet + launch configuration. For more information, see [Allocation strategies + for Spot + Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) + in the *Amazon EC2 User Guide*. + + price-capacity-optimized (recommended) + + : EC2 Fleet identifies the pools with the highest capacity availability + for the number of instances that are launching. This means that we + will request Spot Instances from the pools that we believe have the + lowest chance of interruption in the near term. EC2 Fleet then + requests Spot Instances from the lowest priced of these pools. + + capacity-optimized + + : EC2 Fleet identifies the pools with the highest capacity availability + for the number of instances that are launching. This means that we + will request Spot Instances from the pools that we believe have the + lowest chance of interruption in the near term. To give certain + instance types a higher chance of launching first, use + `capacity-optimized-prioritized`. Set a priority for each instance + type by using the `Priority` parameter for `LaunchTemplateOverrides`. + You can assign the same priority to different + `LaunchTemplateOverrides`. EC2 implements the priorities on a + best-effort basis, but optimizes for capacity first. + `capacity-optimized-prioritized` is supported only if your EC2 Fleet + uses a launch template. Note that if the On-Demand + `AllocationStrategy` is set to `prioritized`, the same priority is + applied when fulfilling On-Demand capacity. + + diversified + + : EC2 Fleet requests instances from all of the Spot Instance pools that + you specify. + + lowest-price (not recommended) + + : Warning: + We don't recommend the `lowest-price` allocation strategy because it + has the highest risk of interruption for your Spot Instances. + EC2 Fleet requests instances from the lowest priced Spot Instance pool + that has available capacity. If the lowest priced pool doesn't have + available capacity, the Spot Instances come from the next lowest + priced pool that has available capacity. If a pool runs out of + capacity before fulfilling your desired capacity, EC2 Fleet will + continue to fulfill your request by drawing from the next lowest + priced pool. To ensure that your desired capacity is met, you might + receive Spot Instances from several pools. Because this strategy only + considers instance price and not capacity availability, it might lead + to high interruption rates. + + Default: `lowest-price` + """ + maintenance_strategies: FleetSpotMaintenanceStrategiesRequest | None = ... + """ + The strategies for managing your Spot Instances that are at an elevated + risk of being interrupted. + """ + instance_interruption_behavior: str | None = ... + """ + The behavior when a Spot Instance is interrupted. + + Default: `terminate` + """ + instance_pools_to_use_count: int | None = ... + """ + The number of Spot pools across which to allocate your target Spot + capacity. Supported only when Spot `AllocationStrategy` is set to + `lowest-price`. EC2 Fleet selects the cheapest Spot pools and evenly + allocates your target Spot capacity across the number of Spot pools that + you specify. + + Note that EC2 Fleet attempts to draw Spot Instances from the number of + pools that you specify on a best effort basis. If a pool runs out of + Spot capacity before fulfilling your target capacity, EC2 Fleet will + continue to fulfill your request by drawing from the next cheapest pool. + To ensure that your target capacity is met, you might receive Spot + Instances from more than the number of pools that you specified. + Similarly, if most of the pools have no Spot capacity, you might receive + your full target capacity from fewer than the number of pools that you + specified. + """ + single_instance_type: bool | None = ... + """ + Indicates that the fleet uses a single instance type to launch all Spot + Instances in the fleet. + + Supported only for fleets of type `instant`. + """ + single_availability_zone: bool | None = ... + """ + Indicates that the fleet launches all Spot Instances into a single + Availability Zone. + + Supported only for fleets of type `instant`. + """ + min_target_capacity: int | None = ... + """ + The minimum target capacity for Spot Instances in the fleet. If this + minimum capacity isn't reached, no instances are launched. + + Constraints: Maximum value of `1000`. Supported only for fleets of type + `instant`. + + At least one of the following must be specified: + `SingleAvailabilityZone` | `SingleInstanceType` + """ + max_total_price: str | None = ... + """ + The maximum amount per hour for Spot Instances that you're willing to + pay. We do not recommend using this parameter because it can lead to + increased interruptions. If you do not specify this parameter, you will + pay the current Spot price. + + Warning: + If you specify a maximum price, your Spot Instances will be interrupted + more frequently than if you do not specify this parameter. + Note: + If your fleet includes T instances that are configured as `unlimited`, + and if their average CPU usage exceeds the baseline utilization, you + will incur a charge for surplus credits. The `MaxTotalPrice` does not + account for surplus credits, and, if you use surplus credits, your final + cost might be higher than what you specified for `MaxTotalPrice`. For + more information, see [Surplus credits can incur + charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class SpotPlacement(_SerdeShape): + """Describes Spot Instance placement.""" + + availability_zone: str | None = ... + """ + The Availability Zone. For example, `us-east-2a`. + + [Spot Fleet only] To specify multiple Availability Zones, separate + them using commas; for example, \"`us-east-2a`, `us-east-2b`\". + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + group_name: str | None = ... + """The name of the placement group.""" + tenancy: str | None = ... + """ + The tenancy of the instance (if the instance is running in a VPC). An + instance with a tenancy of `dedicated` runs on single-tenant hardware. + The `host` tenancy is not supported for Spot Instances. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone. For example, `use2-az1`. + + [Spot Fleet only] To specify multiple Availability Zones, separate + them using commas; for example, \"`use2-az1`, `use2-bz1`\". + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + +@dataclass(kw_only=True) +class SpotPlacementScore(_SerdeShape): + """ + The Spot placement score for this Region or Availability Zone. The score + is calculated based on the assumption that the `capacity-optimized` + allocation strategy is used and that all of the Availability Zones in + the Region can be used. + """ + + region: str | None = ... + """The Region.""" + availability_zone_id: str | None = ... + """The Availability Zone.""" + score: int | None = ... + """ + The placement score, on a scale from `1` to `10`. A score of `10` + indicates that your Spot request is highly likely to succeed in this + Region or Availability Zone. A score of `1` indicates that your Spot + request is not likely to succeed. + """ + +@dataclass(kw_only=True) +class SpotPrice(_SerdeShape): + """ + The maximum price per unit hour that you are willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your instances will be interrupted more + frequently than if you do not specify this parameter. + """ + + availability_zone: str | None = ... + """The Availability Zone.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + instance_type: str | None = ... + """The instance type.""" + product_description: str | None = ... + """A general description of the AMI.""" + spot_price: str | None = ... + """ + The maximum price per unit hour that you are willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your instances will be interrupted more + frequently than if you do not specify this parameter. + """ + timestamp: datetime | None = ... + """ + The date and time the request was created, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + +class SpreadLevel(UnknownEnumMixin, StrEnum): + HOST = "host" + RACK = "rack" + +class SqlServerLicenseUsage(UnknownEnumMixin, StrEnum): + FULL = "full" + WAIVED = "waived" + +class SSEType(UnknownEnumMixin, StrEnum): + SSE_EBS = "sse-ebs" + SSE_KMS = "sse-kms" + NONE = "none" + +@dataclass(kw_only=True) +class StaleIpPermission(_SerdeShape): + """Describes a stale rule in a security group.""" + + from_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the start of the port range. If + the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP + types). + """ + ip_protocol: str | None = ... + """ + The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see + [Protocol + Numbers)](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). + """ + ip_ranges: list[str] | None = ... + """The IP ranges. Not applicable for stale security group rules.""" + prefix_list_ids: list[str] | None = ... + """The prefix list IDs. Not applicable for stale security group rules.""" + to_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the end of the port range. If the + protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP + codes). + """ + user_id_group_pairs: list[UserIdGroupPair] | None = ... + """ + The security group pairs. Returns the ID of the referenced security + group and VPC, and the ID and status of the VPC peering connection. + """ + +@dataclass(kw_only=True) +class StaleSecurityGroup(_SerdeShape): + """ + Describes a stale security group (a security group that contains stale + rules). + """ + + description: str | None = ... + """The description of the security group.""" + group_id: str | None = ... + """The ID of the security group.""" + group_name: str | None = ... + """The name of the security group.""" + stale_ip_permissions: list[StaleIpPermission] | None = ... + """Information about the stale inbound rules in the security group.""" + stale_ip_permissions_egress: list[StaleIpPermission] | None = ... + """Information about the stale outbound rules in the security group.""" + vpc_id: str | None = ... + """The ID of the VPC for the security group.""" + +@dataclass(kw_only=True) +class StartDeclarativePoliciesReportInput(_SerdeShape): + """Dataclass for StartDeclarativePoliciesReportInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + s3_bucket: str | None = ... + """ + The name of the S3 bucket where the report will be saved. The bucket + must be in the same Region where the report generation request is made. + """ + s3_prefix: str | None = ... + """The prefix for your S3 object.""" + target_id: str | None = ... + """ + The root ID, organizational unit ID, or account ID. + + Format: + + - For root: `r-ab12` + + - For OU: `ou-ab12-cdef1234` + + - For account: `123456789012` + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply.""" + +@dataclass(kw_only=True) +class StartDeclarativePoliciesReportOutput(_SerdeShape): + """Dataclass for StartDeclarativePoliciesReportOutput structure.""" + + report_id: str | None = ... + """The ID of the report.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartInstancesInput(_SerdeShape): + """Dataclass for StartInstancesInput structure.""" + + instance_ids: list[str] | None = ... + """The IDs of the instances.""" + additional_info: str | None = ... + """Reserved.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class StartInstancesOutput(_SerdeShape): + """Dataclass for StartInstancesOutput structure.""" + + starting_instances: list[InstanceStateChange] | None = ... + """Information about the started instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartNetworkInsightsAccessScopeAnalysisInput(_SerdeShape): + """Dataclass for StartNetworkInsightsAccessScopeAnalysisInput structure.""" + + network_insights_access_scope_id: str | None = ... + """The ID of the Network Access Scope.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StartNetworkInsightsAccessScopeAnalysisOutput(_SerdeShape): + """Dataclass for StartNetworkInsightsAccessScopeAnalysisOutput structure.""" + + network_insights_access_scope_analysis: ( + NetworkInsightsAccessScopeAnalysis | None + ) = ... + """The Network Access Scope analysis.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartNetworkInsightsAnalysisInput(_SerdeShape): + """Dataclass for StartNetworkInsightsAnalysisInput structure.""" + + network_insights_path_id: str | None = ... + """The ID of the path.""" + additional_accounts: list[str] | None = ... + """The member accounts that contain resources that the path can traverse.""" + filter_in_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARN) of the resources that the path must + traverse. + """ + filter_out_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARN) of the resources that the path will + ignore. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class StartNetworkInsightsAnalysisOutput(_SerdeShape): + """Dataclass for StartNetworkInsightsAnalysisOutput structure.""" + + network_insights_analysis: NetworkInsightsAnalysis | None = ... + """Information about the network insights analysis.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartVpcEndpointServicePrivateDnsVerificationInput(_SerdeShape): + """ + Dataclass for StartVpcEndpointServicePrivateDnsVerificationInput + structure. + """ + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_id: str | None = ... + """The ID of the endpoint service.""" + +@dataclass(kw_only=True) +class StartVpcEndpointServicePrivateDnsVerificationOutput(_SerdeShape): + """ + Dataclass for StartVpcEndpointServicePrivateDnsVerificationOutput + structure. + """ + + return_value: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class State(UnknownEnumMixin, StrEnum): + PENDING_ACCEPTANCE = "PendingAcceptance" + PENDING = "Pending" + AVAILABLE = "Available" + DELETING = "Deleting" + DELETED = "Deleted" + REJECTED = "Rejected" + FAILED = "Failed" + EXPIRED = "Expired" + PARTIAL = "Partial" + +@dataclass(kw_only=True) +class StateReason(_SerdeShape): + """Describes a state change.""" + + code: str | None = ... + """The reason code for the state change.""" + message: str | None = ... + """ + The message for the state change. + + - `Server.InsufficientInstanceCapacity`: There was insufficient capacity + available to satisfy the launch request. + + - `Server.InternalError`: An internal error caused the instance to + terminate during launch. + + - `Server.ScheduledStop`: The instance was stopped due to a scheduled + retirement. + + - `Server.SpotInstanceShutdown`: The instance was stopped because the + number of Spot requests with a maximum price equal to or higher than + the Spot price exceeded available capacity or because of an increase + in the Spot price. + + - `Server.SpotInstanceTermination`: The instance was terminated because + the number of Spot requests with a maximum price equal to or higher + than the Spot price exceeded available capacity or because of an + increase in the Spot price. + + - `Client.InstanceInitiatedShutdown`: The instance was shut down from + the operating system of the instance. + + - `Client.InstanceTerminated`: The instance was terminated or rebooted + during AMI creation. + + - `Client.InternalError`: A client error caused the instance to + terminate during launch. + + - `Client.InvalidSnapshot.NotFound`: The specified snapshot was not + found. + + - `Client.UserInitiatedHibernate`: Hibernation was initiated on the + instance. + + - `Client.UserInitiatedShutdown`: The instance was shut down using the + Amazon EC2 API. + + - `Client.VolumeLimitExceeded`: The limit on the number of EBS volumes + or total storage was exceeded. Decrease usage or request an increase + in your account limits. + """ + +class StaticSourcesSupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class StatisticType(UnknownEnumMixin, StrEnum): + P50 = "p50" + +class Status(UnknownEnumMixin, StrEnum): + MOVE_IN_PROGRESS = "MoveInProgress" + IN_VPC = "InVpc" + IN_CLASSIC = "InClassic" + +class StatusName(UnknownEnumMixin, StrEnum): + REACHABILITY = "reachability" + +class StatusType(UnknownEnumMixin, StrEnum): + PASSED = "passed" + FAILED = "failed" + INSUFFICIENT_DATA = "insufficient-data" + INITIALIZING = "initializing" + +@dataclass(kw_only=True) +class StopInstancesInput(_SerdeShape): + """Dataclass for StopInstancesInput structure.""" + + instance_ids: list[str] | None = ... + """The IDs of the instances.""" + hibernate: bool | None = ... + """ + Hibernates the instance if the instance was enabled for hibernation at + launch. If the instance cannot hibernate successfully, a normal shutdown + occurs. For more information, see [Hibernate your Amazon EC2 + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) + in the *Amazon EC2 User Guide*. + + Default: `false` + """ + skip_os_shutdown: bool | None = ... + """ + Specifies whether to bypass the graceful OS shutdown process when the + instance is stopped. + + Warning: + Bypassing the graceful OS shutdown might result in data loss or + corruption (for example, memory contents not flushed to disk or loss of + in-flight IOs) or skipped shutdown scripts. + + Default: `false` + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + force: bool | None = ... + """ + Forces the instance to stop. The instance will first attempt a graceful + shutdown, which includes flushing file system caches and metadata. If + the graceful shutdown fails to complete within the timeout period, the + instance shuts down forcibly without flushing the file system caches and + metadata. + + After using this option, you must perform file system check and repair + procedures. This option is not recommended for Windows instances. For + more information, see [Troubleshoot Amazon EC2 instance stop + issues](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html) + in the *Amazon EC2 User Guide*. + + Default: `false` + """ + +@dataclass(kw_only=True) +class StopInstancesOutput(_SerdeShape): + """Dataclass for StopInstancesOutput structure.""" + + stopping_instances: list[InstanceStateChange] | None = ... + """Information about the stopped instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Storage(_SerdeShape): + """Describes the storage location for an instance store-backed AMI.""" + + s3: S3Storage | None = ... + """An Amazon S3 storage location.""" + +@dataclass(kw_only=True) +class StorageLocation(_SerdeShape): + """Describes a storage location in Amazon S3.""" + + bucket: str | None = ... + """The name of the S3 bucket.""" + key: str | None = ... + """The key.""" + +class StorageTier(UnknownEnumMixin, StrEnum): + ARCHIVE = "archive" + STANDARD = "standard" + +@dataclass(kw_only=True) +class StoreImageTaskResult(_SerdeShape): + """ + The information about the AMI store task, including the progress of the + task. + """ + + ami_id: str | None = ... + """The ID of the AMI that is being stored.""" + task_start_time: datetime | None = ... + """The time the task started.""" + bucket: str | None = ... + """The name of the Amazon S3 bucket that contains the stored AMI object.""" + s3object_key: str | None = ... + """The name of the stored AMI object in the bucket.""" + progress_percentage: int | None = ... + """The progress of the task as a percentage.""" + store_task_state: str | None = ... + """The state of the store task (`InProgress`, `Completed`, or `Failed`).""" + store_task_failure_reason: str | None = ... + """ + If the tasks fails, the reason for the failure is returned. If the task + succeeds, `null` is returned. + """ + +@dataclass(kw_only=True) +class Subnet(_SerdeShape): + """Describes a subnet.""" + + availability_zone_id: str | None = ... + """The AZ ID of the subnet.""" + enable_lni_at_device_index: int | None = ... + """ + Indicates the device position for local network interfaces in this + subnet. For example, `1` indicates local network interfaces in this + subnet are the secondary network interface (eth1). + """ + map_customer_owned_ip_on_launch: bool | None = ... + """ + Indicates whether a network interface created in this subnet (including + a network interface created by RunInstances) receives a customer-owned + IPv4 address. + """ + customer_owned_ipv4_pool: str | None = ... + """The customer-owned IPv4 address pool associated with the subnet.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the subnet.""" + assign_ipv6_address_on_creation: bool | None = ... + """ + Indicates whether a network interface created in this subnet (including + a network interface created by RunInstances) receives an IPv6 address. + """ + ipv6_cidr_block_association_set: list[SubnetIpv6CidrBlockAssociation] | None = ... + """Information about the IPv6 CIDR blocks associated with the subnet.""" + tags: list[Tag] | None = ... + """Any tags assigned to the subnet.""" + subnet_arn: str | None = ... + """The Amazon Resource Name (ARN) of the subnet.""" + outpost_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + enable_dns64: bool | None = ... + """ + Indicates whether DNS queries made to the Amazon-provided DNS Resolver + in this subnet should return synthetic IPv6 addresses for IPv4-only + destinations. + """ + ipv6_native: bool | None = ... + """Indicates whether this is an IPv6 only subnet.""" + private_dns_name_options_on_launch: PrivateDnsNameOptionsOnLaunch | None = ... + """ + The type of hostnames to assign to instances in the subnet at launch. An + instance hostname is based on the IPv4 address or ID of the instance. + """ + block_public_access_states: BlockPublicAccessStates | None = ... + """The state of VPC Block Public Access (BPA).""" + type: str | None = ... + """ + Indicates if this is a subnet used with Amazon Elastic VMware Service + (EVS). Possible values are `Elastic VMware Service` or no value. For + more information about Amazon EVS, see [*Amazon Elastic VMware Service + API + Reference*](https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html) + . + """ + subnet_id: str | None = ... + """The ID of the subnet.""" + state: str | None = ... + """ + The current state of the subnet. + + - `failed`: The underlying infrastructure to support the subnet failed + to provision as expected. + + - `failed-insufficient-capacity`: The underlying infrastructure to + support the subnet failed to provision due to a shortage of EC2 + instance capacity. + """ + vpc_id: str | None = ... + """The ID of the VPC the subnet is in.""" + cidr_block: str | None = ... + """The IPv4 CIDR block assigned to the subnet.""" + available_ip_address_count: int | None = ... + """ + The number of unused private IPv4 addresses in the subnet. The IPv4 + addresses for any stopped instances are considered unavailable. + """ + availability_zone: str | None = ... + """The Availability Zone of the subnet.""" + default_for_az: bool | None = ... + """Indicates whether this is the default subnet for the Availability Zone.""" + map_public_ip_on_launch: bool | None = ... + """ + Indicates whether instances launched in this subnet receive a public + IPv4 address. + + Amazon Web Services charges for all public IPv4 addresses, including + public IPv4 addresses associated with running instances and Elastic IP + addresses. For more information, see the *Public IPv4 Address* tab on + the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). + """ + +@dataclass(kw_only=True) +class SubnetAssociation(_SerdeShape): + """ + Describes the subnet association with the transit gateway multicast + domain. + """ + + subnet_id: str | None = ... + """The ID of the subnet.""" + state: str | None = ... + """The state of the subnet association.""" + +@dataclass(kw_only=True) +class SubnetCidrBlockState(_SerdeShape): + """Describes the state of a CIDR block.""" + + state: str | None = ... + """The state of a CIDR block.""" + status_message: str | None = ... + """A message about the status of the CIDR block, if applicable.""" + +class SubnetCidrBlockStateCode(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + FAILING = "failing" + FAILED = "failed" + +@dataclass(kw_only=True) +class SubnetCidrReservation(_SerdeShape): + """Describes a subnet CIDR reservation.""" + + subnet_cidr_reservation_id: str | None = ... + """The ID of the subnet CIDR reservation.""" + subnet_id: str | None = ... + """The ID of the subnet.""" + cidr: str | None = ... + """The CIDR that has been reserved.""" + reservation_type: str | None = ... + """The type of reservation.""" + owner_id: str | None = ... + """The ID of the account that owns the subnet CIDR reservation.""" + description: str | None = ... + """The description assigned to the subnet CIDR reservation.""" + tags: list[Tag] | None = ... + """The tags assigned to the subnet CIDR reservation.""" + +class SubnetCidrReservationType(UnknownEnumMixin, StrEnum): + PREFIX = "prefix" + EXPLICIT = "explicit" + +@dataclass(kw_only=True) +class SubnetConfiguration(_SerdeShape): + """Describes the configuration of a subnet for a VPC endpoint.""" + + subnet_id: str | None = ... + """The ID of the subnet.""" + ipv4: str | None = ... + """ + The IPv4 address to assign to the endpoint network interface in the + subnet. You must provide an IPv4 address if the VPC endpoint supports + IPv4. + + If you specify an IPv4 address when modifying a VPC endpoint, we replace + the existing endpoint network interface with a new endpoint network + interface with this IP address. This process temporarily disconnects the + subnet and the VPC endpoint. + """ + ipv6: str | None = ... + """ + The IPv6 address to assign to the endpoint network interface in the + subnet. You must provide an IPv6 address if the VPC endpoint supports + IPv6. + + If you specify an IPv6 address when modifying a VPC endpoint, we replace + the existing endpoint network interface with a new endpoint network + interface with this IP address. This process temporarily disconnects the + subnet and the VPC endpoint. + """ + +@dataclass(kw_only=True) +class SubnetIpPrefixes(_SerdeShape): + """Prefixes of the subnet IP.""" + + subnet_id: str | None = ... + """ID of the subnet.""" + ip_prefixes: list[str] | None = ... + """Array of SubnetIpPrefixes objects.""" + +@dataclass(kw_only=True) +class SubnetIpv6CidrBlockAssociation(_SerdeShape): + """Describes an association between a subnet and an IPv6 CIDR block.""" + + association_id: str | None = ... + """The ID of the association.""" + ipv6_cidr_block: str | None = ... + """The IPv6 CIDR block.""" + ipv6_cidr_block_state: SubnetCidrBlockState | None = ... + """The state of the CIDR block.""" + ipv6_address_attribute: str | None = ... + """ + Public IPv6 addresses are those advertised on the internet from Amazon + Web Services. Private IP addresses are not and cannot be advertised on + the internet from Amazon Web Services. + """ + ip_source: str | None = ... + """ + The source that allocated the IP address space. `byoip` or `amazon` + indicates public IP address space allocated by Amazon or space that you + have allocated with Bring your own IP (BYOIP). `none` indicates private + space. + """ + +class SubnetState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" + FAILED = "failed" + FAILED_INSUFFICIENT_CAPACITY = "failed-insufficient-capacity" + +@dataclass(kw_only=True) +class Subscription(_SerdeShape): + """Describes an Infrastructure Performance subscription.""" + + source: str | None = ... + """ + The Region or Availability Zone that's the source for the subscription. + For example, `us-east-1`. + """ + destination: str | None = ... + """ + The Region or Availability Zone that's the target for the subscription. + For example, `eu-west-1`. + """ + metric: str | None = ... + """The metric used for the subscription.""" + statistic: str | None = ... + """The statistic used for the subscription.""" + period: str | None = ... + """The data aggregation time for the subscription.""" + +@dataclass(kw_only=True) +class SuccessfulAssociationResponseObject(_SerdeShape): + """Describes a successful application status check association.""" + + application_status_check_id: str | None = ... + """The ID of the application status check.""" + association_type: str | None = ... + """The type of association. Valid values: `EC2TAG` and `INSTANCE_ID`.""" + association_value: str | None = ... + """ + The association value. For `EC2TAG`, the value is formatted as + `key=value`. For `INSTANCE_ID`, the value is the instance ID. + """ + +@dataclass(kw_only=True) +class SuccessfulInstanceCreditSpecificationItem(_SerdeShape): + """ + Describes the burstable performance instance whose credit option for CPU + usage was successfully modified. + """ + + instance_id: str | None = ... + """The ID of the instance.""" + +@dataclass(kw_only=True) +class SuccessfulQueuedPurchaseDeletion(_SerdeShape): + """ + Describes a Reserved Instance whose queued purchase was successfully + deleted. + """ + + reserved_instances_id: str | None = ... + """The ID of the Reserved Instance.""" + +@dataclass(kw_only=True) +class SuccessfulSuppressionResponseObject(_SerdeShape): + """Describes a successful application status check suppression.""" + + instance_id: str | None = ... + """The ID of the instance.""" + suppress_at: datetime | None = ... + """The date and time when suppression started.""" + resume_at: datetime | None = ... + """The date and time when suppression ends and health checks resume.""" + +class SummaryStatus(UnknownEnumMixin, StrEnum): + OK = "ok" + IMPAIRED = "impaired" + INSUFFICIENT_DATA = "insufficient-data" + NOT_APPLICABLE = "not-applicable" + INITIALIZING = "initializing" + +class SupportabilityMarketType(UnknownEnumMixin, StrEnum): + ON_DEMAND = "on-demand" + SPOT = "spot" + +class SupportabilityScore(UnknownEnumMixin, StrEnum): + HIGH = "high" + MEDIUM = "medium" + LOW = "low" + UNSUPPORTED = "unsupported" + +class SupportedAdditionalProcessorFeature(UnknownEnumMixin, StrEnum): + AMD_SEV_SNP = "amd-sev-snp" + NESTED_VIRTUALIZATION = "nested-virtualization" + +@dataclass(kw_only=True) +class SupportedRegionDetail(_SerdeShape): + """Describes a supported Region.""" + + region: str | None = ... + """The Region code.""" + service_state: str | None = ... + """ + The service state. The possible values are `Pending`, `Available`, + `Deleting`, `Deleted`, `Failed`, and `Closed`. + """ + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """Describes a tag.""" + + key: str | None = ... + """ + The key of the tag. + + Constraints: Tag keys are case-sensitive and accept a maximum of 127 + Unicode characters. May not begin with `aws:`. + """ + value: str | None = ... + """ + The value of the tag. + + Constraints: Tag values are case-sensitive and accept a maximum of 256 + Unicode characters. + """ + +@dataclass(kw_only=True) +class TagDescription(_SerdeShape): + """Describes a tag.""" + + key: str | None = ... + """The tag key.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """The resource type.""" + value: str | None = ... + """The tag value.""" + +@dataclass(kw_only=True) +class TagFieldSpecificationRequest(_SerdeShape): + """ + A single resource's tag configuration associated with the Flow Logs + Amazon EC2 Tags feature fields in your custom log format. + """ + + resource_type: str | None = ... + """ + The resource type for the tag keys associated with the Flow Logs Amazon + EC2 Tags feature fields in your custom log format. + """ + tag_keys: list[str] | None = ... + """ + The tag keys on your tagged resources to be displayed by the Flow Logs + Amazon EC2 Tags feature fields in your custom log format. + """ + +@dataclass(kw_only=True) +class TagFieldSpecificationResponse(_SerdeShape): + """ + A single resource's tag configuration associated with the Flow Logs + Amazon EC2 Tags feature fields in your custom log format. + """ + + resource_type: str | None = ... + """ + The resource type for the tag keys associated with the Flow Logs Amazon + EC2 Tags feature fields in your custom log format. + """ + tag_keys: list[str] | None = ... + """ + The tag keys on your tagged resources to be displayed by the Flow Logs + Amazon EC2 Tags feature fields in your custom log format. + """ + +class TaggableResourceType(UnknownEnumMixin, StrEnum): + NETWORK_INTERFACE = "network-interface" + INSTANCE = "instance" + AUTO_SCALING_GROUP = "auto-scaling-group" + +@dataclass(kw_only=True) +class TagSpecification(_SerdeShape): + """ + The tags to apply to a resource when the resource is being created. When + you specify a tag, you must specify the resource type to tag, otherwise + the request will fail. + + Note: + The `Valid Values` lists all the resource types that can be tagged. + However, the action you're using might not support tagging all of these + resource types. If you try to tag a resource type that is unsupported + for the action you're using, you'll get an error. + """ + + resource_type: str | None = ... + """The type of resource to tag on creation.""" + tags: list[Tag] | None = ... + """The tags to apply to the resource.""" + +@dataclass(kw_only=True) +class TargetCapacitySpecification(_SerdeShape): + """ + The number of units to request. You can choose to set the target + capacity in terms of instances or a performance characteristic that is + important to your application workload, such as vCPUs, memory, or I/O. + If the request type is `maintain`, you can specify a target capacity of + 0 and add capacity later. + + You can use the On-Demand Instance `MaxTotalPrice` parameter, the Spot + Instance `MaxTotalPrice`, or both to ensure that your fleet cost does + not exceed your budget. If you set a maximum price per hour for the + On-Demand Instances and Spot Instances in your request, EC2 Fleet will + launch instances until it reaches the maximum amount that you're + willing to pay. When the maximum amount you're willing to pay is + reached, the fleet stops launching instances even if it hasn't met the + target capacity. The `MaxTotalPrice` parameters are located in + [OnDemandOptions](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptions.html) + and + [SpotOptions](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions). + """ + + total_target_capacity: int | None = ... + """The number of units to request, filled the default target capacity type.""" + on_demand_target_capacity: int | None = ... + """ + The number of On-Demand units to request. If you specify a target + capacity for Spot units, you cannot specify a target capacity for + On-Demand units. + """ + spot_target_capacity: int | None = ... + """ + The maximum number of Spot units to launch. If you specify a target + capacity for On-Demand units, you cannot specify a target capacity for + Spot units. + """ + default_target_capacity_type: str | None = ... + """The default target capacity type.""" + target_capacity_unit_type: str | None = ... + """The unit for the target capacity.""" + +@dataclass(kw_only=True) +class TargetCapacitySpecificationRequest(_SerdeShape): + """ + The number of units to request. You can choose to set the target + capacity as the number of instances. Or you can set the target capacity + to a performance characteristic that is important to your application + workload, such as vCPUs, memory, or I/O. If the request type is + `maintain`, you can specify a target capacity of 0 and add capacity + later. + + You can use the On-Demand Instance `MaxTotalPrice` parameter, the Spot + Instance `MaxTotalPrice` parameter, or both parameters to ensure that + your fleet cost does not exceed your budget. If you set a maximum price + per hour for the On-Demand Instances and Spot Instances in your request, + EC2 Fleet will launch instances until it reaches the maximum amount that + you're willing to pay. When the maximum amount you're willing to pay + is reached, the fleet stops launching instances even if it hasn't met + the target capacity. The `MaxTotalPrice` parameters are located in + [OnDemandOptionsRequest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptionsRequest) + and + [SpotOptionsRequest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptionsRequest). + """ + + total_target_capacity: int | None = ... + """ + The number of units to request, filled using the default target capacity + type. + """ + on_demand_target_capacity: int | None = ... + """The number of On-Demand units to request.""" + spot_target_capacity: int | None = ... + """The number of Spot units to request.""" + default_target_capacity_type: str | None = ... + """The default target capacity type.""" + target_capacity_unit_type: str | None = ... + """ + The unit for the target capacity. You can specify this parameter only + when using attributed-based instance type selection. + + Default: `units` (the number of instances) + """ + +class TargetCapacityUnitType(UnknownEnumMixin, StrEnum): + VCPU = "vcpu" + MEMORY_MIB = "memory-mib" + UNITS = "units" + +@dataclass(kw_only=True) +class TargetConfiguration(_SerdeShape): + """Information about the Convertible Reserved Instance offering.""" + + instance_count: int | None = ... + """ + The number of instances the Convertible Reserved Instance offering can + be applied to. This parameter is reserved and cannot be specified in a + request + """ + offering_id: str | None = ... + """The ID of the Convertible Reserved Instance offering.""" + +@dataclass(kw_only=True) +class TargetConfigurationRequest(_SerdeShape): + """Details about the target configuration.""" + + instance_count: int | None = ... + """ + The number of instances the Convertible Reserved Instance offering can + be applied to. This parameter is reserved and cannot be specified in a + request + """ + offering_id: str | None = ... + """The Convertible Reserved Instance offering ID.""" + +@dataclass(kw_only=True) +class TargetGroup(_SerdeShape): + """Describes a load balancer target group.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the target group.""" + +@dataclass(kw_only=True) +class TargetGroupsConfig(_SerdeShape): + """ + Describes the target groups to attach to a Spot Fleet. Spot Fleet + registers the running Spot Instances with these target groups. + """ + + target_groups: list[TargetGroup] | None = ... + """One or more target groups.""" + +@dataclass(kw_only=True) +class TargetNetwork(_SerdeShape): + """Describes a target network associated with a Client VPN endpoint.""" + + association_id: str | None = ... + """The ID of the association.""" + vpc_id: str | None = ... + """The ID of the VPC in which the target network (subnet) is located.""" + target_network_id: str | None = ... + """The ID of the subnet specified as the target network.""" + client_vpn_endpoint_id: str | None = ... + """ + The ID of the Client VPN endpoint with which the target network is + associated. + """ + status: AssociationStatus | None = ... + """The current state of the target network association.""" + security_groups: list[str] | None = ... + """ + The IDs of the security groups applied to the target network + association. + """ + availability_zones: list[str] | None = ... + """ + The Availability Zone names for the target network association, if the + Client VPN endpoint uses a Transit Gateway. + """ + availability_zone_ids: list[str] | None = ... + """ + The Availability Zone IDs for the target network association, if the + Client VPN endpoint uses a Transit Gateway. + """ + +@dataclass(kw_only=True) +class TargetReservationValue(_SerdeShape): + """The total value of the new Convertible Reserved Instances.""" + + reservation_value: ReservationValue | None = ... + """ + The total value of the Convertible Reserved Instances that make up the + exchange. This is the sum of the list value, remaining upfront price, + and additional upfront cost of the exchange. + """ + target_configuration: TargetConfiguration | None = ... + """ + The configuration of the Convertible Reserved Instances that make up the + exchange. + """ + +class TargetStorageTier(UnknownEnumMixin, StrEnum): + ARCHIVE = "archive" + +class TelemetryStatus(UnknownEnumMixin, StrEnum): + UP = "UP" + DOWN = "DOWN" + +class Tenancy(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + DEDICATED = "dedicated" + HOST = "host" + +@dataclass(kw_only=True) +class TerminateClientVpnConnectionsInput(_SerdeShape): + """Dataclass for TerminateClientVpnConnectionsInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint to which the client is connected.""" + connection_id: str | None = ... + """The ID of the client connection to be terminated.""" + username: str | None = ... + """ + The name of the user who initiated the connection. Use this option to + terminate all active connections for the specified user. This option can + only be used if the user has established up to five connections. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class TerminateClientVpnConnectionsOutput(_SerdeShape): + """Dataclass for TerminateClientVpnConnectionsOutput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + username: str | None = ... + """The user who established the terminated client connections.""" + connection_statuses: list[TerminateConnectionStatus] | None = ... + """The current state of the client connections.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TerminateConnectionStatus(_SerdeShape): + """Information about a terminated Client VPN endpoint client connection.""" + + connection_id: str | None = ... + """The ID of the client connection.""" + previous_status: ClientVpnConnectionStatus | None = ... + """The state of the client connection.""" + current_status: ClientVpnConnectionStatus | None = ... + """A message about the status of the client connection, if applicable.""" + +@dataclass(kw_only=True) +class TerminateInstancesInput(_SerdeShape): + """Dataclass for TerminateInstancesInput structure.""" + + instance_ids: list[str] | None = ... + """ + The IDs of the instances. + + Constraints: Up to 1000 instance IDs. We recommend breaking up this + request into smaller batches. + """ + force: bool | None = ... + """ + Forces the instances to terminate. The instance will first attempt a + graceful shutdown, which includes flushing file system caches and + metadata. If the graceful shutdown fails to complete within the timeout + period, the instance shuts down forcibly without flushing the file + system caches and metadata. + """ + skip_os_shutdown: bool | None = ... + """ + Specifies whether to bypass the graceful OS shutdown process when the + instance is terminated. + + Default: `false` + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class TerminateInstancesOutput(_SerdeShape): + """Dataclass for TerminateInstancesOutput structure.""" + + terminating_instances: list[InstanceStateChange] | None = ... + """Information about the terminated instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ThroughResourcesStatement(_SerdeShape): + """Describes a through resource statement.""" + + resource_statement: ResourceStatement | None = ... + """The resource statement.""" + +@dataclass(kw_only=True) +class ThroughResourcesStatementRequest(_SerdeShape): + """Describes a through resource statement.""" + + resource_statement: ResourceStatementRequest | None = ... + """The resource statement.""" + +class TieringOperationStatus(UnknownEnumMixin, StrEnum): + ARCHIVAL_IN_PROGRESS = "archival-in-progress" + ARCHIVAL_COMPLETED = "archival-completed" + ARCHIVAL_FAILED = "archival-failed" + TEMPORARY_RESTORE_IN_PROGRESS = "temporary-restore-in-progress" + TEMPORARY_RESTORE_COMPLETED = "temporary-restore-completed" + TEMPORARY_RESTORE_FAILED = "temporary-restore-failed" + PERMANENT_RESTORE_IN_PROGRESS = "permanent-restore-in-progress" + PERMANENT_RESTORE_COMPLETED = "permanent-restore-completed" + PERMANENT_RESTORE_FAILED = "permanent-restore-failed" + +class TokenState(UnknownEnumMixin, StrEnum): + VALID = "valid" + EXPIRED = "expired" + +@dataclass(kw_only=True) +class TotalLocalStorageGB(_SerdeShape): + """The minimum and maximum amount of total local storage, in GB.""" + + min: float | None = ... + """ + The minimum amount of total local storage, in GB. If this parameter is + not specified, there is no minimum limit. + """ + max: float | None = ... + """ + The maximum amount of total local storage, in GB. If this parameter is + not specified, there is no maximum limit. + """ + +@dataclass(kw_only=True) +class TotalLocalStorageGBRequest(_SerdeShape): + """The minimum and maximum amount of total local storage, in GB.""" + + min: float | None = ... + """ + The minimum amount of total local storage, in GB. To specify no minimum + limit, omit this parameter. + """ + max: float | None = ... + """ + The maximum amount of total local storage, in GB. To specify no maximum + limit, omit this parameter. + """ + +class TpmSupportValues(UnknownEnumMixin, StrEnum): + V2_0 = "v2.0" + +class TrafficDirection(UnknownEnumMixin, StrEnum): + INGRESS = "ingress" + EGRESS = "egress" + +class TrafficIpAddressType(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + IPV6 = "ipv6" + DUAL_STACK = "dual-stack" + +@dataclass(kw_only=True) +class TrafficMirrorFilter(_SerdeShape): + """Describes the Traffic Mirror filter.""" + + traffic_mirror_filter_id: str | None = ... + """The ID of the Traffic Mirror filter.""" + ingress_filter_rules: list[TrafficMirrorFilterRule] | None = ... + """ + Information about the ingress rules that are associated with the Traffic + Mirror filter. + """ + egress_filter_rules: list[TrafficMirrorFilterRule] | None = ... + """ + Information about the egress rules that are associated with the Traffic + Mirror filter. + """ + network_services: list[str] | None = ... + """ + The network service traffic that is associated with the Traffic Mirror + filter. + """ + description: str | None = ... + """The description of the Traffic Mirror filter.""" + tags: list[Tag] | None = ... + """The tags assigned to the Traffic Mirror filter.""" + +@dataclass(kw_only=True) +class TrafficMirrorFilterRule(_SerdeShape): + """Describes the Traffic Mirror rule.""" + + traffic_mirror_filter_rule_id: str | None = ... + """The ID of the Traffic Mirror rule.""" + traffic_mirror_filter_id: str | None = ... + """The ID of the Traffic Mirror filter that the rule is associated with.""" + traffic_direction: str | None = ... + """The traffic direction assigned to the Traffic Mirror rule.""" + rule_number: int | None = ... + """The rule number of the Traffic Mirror rule.""" + rule_action: str | None = ... + """The action assigned to the Traffic Mirror rule.""" + protocol: int | None = ... + """The protocol assigned to the Traffic Mirror rule.""" + destination_port_range: TrafficMirrorPortRange | None = ... + """The destination port range assigned to the Traffic Mirror rule.""" + source_port_range: TrafficMirrorPortRange | None = ... + """The source port range assigned to the Traffic Mirror rule.""" + destination_cidr_block: str | None = ... + """The destination CIDR block assigned to the Traffic Mirror rule.""" + source_cidr_block: str | None = ... + """The source CIDR block assigned to the Traffic Mirror rule.""" + description: str | None = ... + """The description of the Traffic Mirror rule.""" + tags: list[Tag] | None = ... + """Tags on Traffic Mirroring filter rules.""" + +class TrafficMirrorFilterRuleField(UnknownEnumMixin, StrEnum): + DESTINATION_PORT_RANGE = "destination-port-range" + SOURCE_PORT_RANGE = "source-port-range" + PROTOCOL = "protocol" + DESCRIPTION = "description" + +class TrafficMirrorNetworkService(UnknownEnumMixin, StrEnum): + AMAZON_DNS = "amazon-dns" + +@dataclass(kw_only=True) +class TrafficMirrorPortRange(_SerdeShape): + """Describes the Traffic Mirror port range.""" + + from_port: int | None = ... + """ + The start of the Traffic Mirror port range. This applies to the TCP and + UDP protocols. + """ + to_port: int | None = ... + """ + The end of the Traffic Mirror port range. This applies to the TCP and + UDP protocols. + """ + +@dataclass(kw_only=True) +class TrafficMirrorPortRangeRequest(_SerdeShape): + """Information about the Traffic Mirror filter rule port range.""" + + from_port: int | None = ... + """ + The first port in the Traffic Mirror port range. This applies to the TCP + and UDP protocols. + """ + to_port: int | None = ... + """ + The last port in the Traffic Mirror port range. This applies to the TCP + and UDP protocols. + """ + +class TrafficMirrorRuleAction(UnknownEnumMixin, StrEnum): + ACCEPT = "accept" + REJECT = "reject" + +@dataclass(kw_only=True) +class TrafficMirrorSession(_SerdeShape): + """Describes a Traffic Mirror session.""" + + traffic_mirror_session_id: str | None = ... + """The ID for the Traffic Mirror session.""" + traffic_mirror_target_id: str | None = ... + """The ID of the Traffic Mirror target.""" + traffic_mirror_filter_id: str | None = ... + """The ID of the Traffic Mirror filter.""" + network_interface_id: str | None = ... + """The ID of the Traffic Mirror session's network interface.""" + owner_id: str | None = ... + """The ID of the account that owns the Traffic Mirror session.""" + packet_length: int | None = ... + """ + The number of bytes in each packet to mirror. These are the bytes after + the VXLAN header. To mirror a subset, set this to the length (in bytes) + to mirror. For example, if you set this value to 100, then the first 100 + bytes that meet the filter criteria are copied to the target. Do not + specify this parameter when you want to mirror the entire packet + """ + session_number: int | None = ... + """ + The session number determines the order in which sessions are evaluated + when an interface is used by multiple sessions. The first session with a + matching filter is the one that mirrors the packets. + + Valid values are 1-32766. + """ + virtual_network_id: int | None = ... + """The virtual network ID associated with the Traffic Mirror session.""" + description: str | None = ... + """The description of the Traffic Mirror session.""" + tags: list[Tag] | None = ... + """The tags assigned to the Traffic Mirror session.""" + +class TrafficMirrorSessionField(UnknownEnumMixin, StrEnum): + PACKET_LENGTH = "packet-length" + DESCRIPTION = "description" + VIRTUAL_NETWORK_ID = "virtual-network-id" + +@dataclass(kw_only=True) +class TrafficMirrorTarget(_SerdeShape): + """Describes a Traffic Mirror target.""" + + traffic_mirror_target_id: str | None = ... + """The ID of the Traffic Mirror target.""" + network_interface_id: str | None = ... + """The network interface ID that is attached to the target.""" + network_load_balancer_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Network Load Balancer.""" + type: str | None = ... + """The type of Traffic Mirror target.""" + description: str | None = ... + """Information about the Traffic Mirror target.""" + owner_id: str | None = ... + """The ID of the account that owns the Traffic Mirror target.""" + tags: list[Tag] | None = ... + """The tags assigned to the Traffic Mirror target.""" + gateway_load_balancer_endpoint_id: str | None = ... + """The ID of the Gateway Load Balancer endpoint.""" + +class TrafficMirrorTargetType(UnknownEnumMixin, StrEnum): + NETWORK_INTERFACE = "network-interface" + NETWORK_LOAD_BALANCER = "network-load-balancer" + GATEWAY_LOAD_BALANCER_ENDPOINT = "gateway-load-balancer-endpoint" + +class TrafficType(UnknownEnumMixin, StrEnum): + ACCEPT = "ACCEPT" + REJECT = "REJECT" + ALL = "ALL" + +class TransferType(UnknownEnumMixin, StrEnum): + TIME_BASED = "time-based" + STANDARD = "standard" + +@dataclass(kw_only=True) +class TransitGateway(_SerdeShape): + """Describes a transit gateway.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + transit_gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the transit gateway.""" + state: str | None = ... + """The state of the transit gateway.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the transit gateway.""" + description: str | None = ... + """The description of the transit gateway.""" + creation_time: datetime | None = ... + """The creation time.""" + options: TransitGatewayOptions | None = ... + """The transit gateway options.""" + tags: list[Tag] | None = ... + """The tags for the transit gateway.""" + +@dataclass(kw_only=True) +class TransitGatewayAssociation(_SerdeShape): + """ + Describes an association between a resource attachment and a transit + gateway route table. + """ + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """ + The resource type. Note that the `tgw-peering` resource type has been + deprecated. + """ + state: str | None = ... + """The state of the association.""" + +class TransitGatewayAssociationState(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + +@dataclass(kw_only=True) +class TransitGatewayAttachment(_SerdeShape): + """Describes an attachment between a resource and a transit gateway.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + transit_gateway_owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the transit gateway.""" + resource_owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the resource.""" + resource_type: str | None = ... + """ + The resource type. Note that the `tgw-peering` resource type has been + deprecated. + """ + resource_id: str | None = ... + """The ID of the resource.""" + state: str | None = ... + """ + The attachment state. Note that the `initiating` state has been + deprecated. + """ + association: TransitGatewayAttachmentAssociation | None = ... + """The association.""" + creation_time: datetime | None = ... + """The creation time.""" + tags: list[Tag] | None = ... + """The tags for the attachment.""" + nat_gateway_support: str | None = ... + """ + The state of NAT gateway support for the attachment. Only the owner of + the transit gateway receives this parameter. + """ + +@dataclass(kw_only=True) +class TransitGatewayAttachmentAssociation(_SerdeShape): + """Describes an association.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the route table for the transit gateway.""" + transit_gateway_policy_table_id: str | None = ... + """ + The ID of the transit gateway policy table associated with the + attachment. + """ + state: str | None = ... + """The state of the association.""" + +@dataclass(kw_only=True) +class TransitGatewayAttachmentBgpConfiguration(_SerdeShape): + """The BGP configuration information.""" + + transit_gateway_asn: int | None = ... + """The transit gateway Autonomous System Number (ASN).""" + peer_asn: int | None = ... + """The peer Autonomous System Number (ASN).""" + transit_gateway_address: str | None = ... + """The interior BGP peer IP address for the transit gateway.""" + peer_address: str | None = ... + """The interior BGP peer IP address for the appliance.""" + bgp_status: str | None = ... + """The BGP status.""" + +class TransitGatewayAttachmentNatGatewaySupportState(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + ENABLING = "enabling" + DISABLING = "disabling" + +class TransitGatewayAttachmentNatGatewaySupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class TransitGatewayAttachmentNatSystemRouteSupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +@dataclass(kw_only=True) +class TransitGatewayAttachmentPropagation(_SerdeShape): + """Describes a propagation route table.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the propagation route table.""" + state: str | None = ... + """The state of the propagation route table.""" + +class TransitGatewayAttachmentResourceType(UnknownEnumMixin, StrEnum): + VPC = "vpc" + VPN = "vpn" + VPN_CONCENTRATOR = "vpn-concentrator" + DIRECT_CONNECT_GATEWAY = "direct-connect-gateway" + CONNECT = "connect" + PEERING = "peering" + TGW_PEERING = "tgw-peering" + NETWORK_FUNCTION = "network-function" + CLIENT_VPN = "client-vpn" + +class TransitGatewayAttachmentState(UnknownEnumMixin, StrEnum): + INITIATING = "initiating" + INITIATING_REQUEST = "initiatingRequest" + PENDING_ACCEPTANCE = "pendingAcceptance" + ROLLING_BACK = "rollingBack" + PENDING = "pending" + AVAILABLE = "available" + MODIFYING = "modifying" + DELETING = "deleting" + DELETED = "deleted" + FAILED = "failed" + REJECTED = "rejected" + REJECTING = "rejecting" + FAILING = "failing" + +class TransitGatewayAttachmentStatusType(UnknownEnumMixin, StrEnum): + PENDING_ACCEPTANCE = "pending-acceptance" + PENDING = "pending" + REJECTED = "rejected" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class TransitGatewayClientVpnAttachment(_SerdeShape): + """Describes a Transit Gateway attachment for a Client VPN endpoint.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the Transit Gateway attachment.""" + transit_gateway_id: str | None = ... + """The ID of the Transit Gateway.""" + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + client_vpn_owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the Client VPN + endpoint. + """ + state: str | None = ... + """The state of the Transit Gateway attachment.""" + creation_time: str | None = ... + """The date and time the Transit Gateway attachment was created.""" + +@dataclass(kw_only=True) +class TransitGatewayConfigurationDescribeEndpointStructure(_SerdeShape): + """Describes the Transit Gateway configuration for a Client VPN endpoint.""" + + transit_gateway_id: str | None = ... + """The ID of the Transit Gateway.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the Transit Gateway attachment.""" + availability_zones: list[str] | None = ... + """The Availability Zone names for the Transit Gateway association.""" + availability_zone_ids: list[str] | None = ... + """The Availability Zone IDs for the Transit Gateway association.""" + +@dataclass(kw_only=True) +class TransitGatewayConfigurationInputStructure(_SerdeShape): + """The Transit Gateway configuration for a Client VPN endpoint.""" + + transit_gateway_id: str | None = ... + """The ID of the Transit Gateway to associate with the Client VPN endpoint.""" + availability_zones: list[str] | None = ... + """ + The Availability Zone names for the Transit Gateway association. You can + specify up to the maximum number of Availability Zones supported by the + Transit Gateway. You cannot specify both `AvailabilityZones` and + `AvailabilityZoneIds`. + """ + availability_zone_ids: list[str] | None = ... + """ + The Availability Zone IDs for the Transit Gateway association. You can + specify up to the maximum number of Availability Zones supported by the + Transit Gateway. You cannot specify both `AvailabilityZones` and + `AvailabilityZoneIds`. + """ + +@dataclass(kw_only=True) +class TransitGatewayConnect(_SerdeShape): + """Describes a transit gateway Connect attachment.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the Connect attachment.""" + transport_transit_gateway_attachment_id: str | None = ... + """The ID of the attachment from which the Connect attachment was created.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + state: str | None = ... + """The state of the attachment.""" + creation_time: datetime | None = ... + """The creation time.""" + options: TransitGatewayConnectOptions | None = ... + """The Connect attachment options.""" + tags: list[Tag] | None = ... + """The tags for the attachment.""" + +@dataclass(kw_only=True) +class TransitGatewayConnectOptions(_SerdeShape): + """Describes the Connect attachment options.""" + + protocol: str | None = ... + """The tunnel protocol.""" + +@dataclass(kw_only=True) +class TransitGatewayConnectPeer(_SerdeShape): + """Describes a transit gateway Connect peer.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the Connect attachment.""" + transit_gateway_connect_peer_id: str | None = ... + """The ID of the Connect peer.""" + state: str | None = ... + """The state of the Connect peer.""" + creation_time: datetime | None = ... + """The creation time.""" + connect_peer_configuration: TransitGatewayConnectPeerConfiguration | None = ... + """The Connect peer details.""" + tags: list[Tag] | None = ... + """The tags for the Connect peer.""" + +@dataclass(kw_only=True) +class TransitGatewayConnectPeerConfiguration(_SerdeShape): + """Describes the Connect peer details.""" + + transit_gateway_address: str | None = ... + """The Connect peer IP address on the transit gateway side of the tunnel.""" + peer_address: str | None = ... + """The Connect peer IP address on the appliance side of the tunnel.""" + inside_cidr_blocks: list[str] | None = ... + """The range of interior BGP peer IP addresses.""" + protocol: str | None = ... + """The tunnel protocol.""" + bgp_configurations: list[TransitGatewayAttachmentBgpConfiguration] | None = ... + """The BGP configuration details.""" + +class TransitGatewayConnectPeerState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class TransitGatewayConnectRequestBgpOptions(_SerdeShape): + """The BGP options for the Connect attachment.""" + + peer_asn: int | None = ... + """The peer Autonomous System Number (ASN).""" + +class TransitGatewayMeteringPayerType(UnknownEnumMixin, StrEnum): + SOURCE_ATTACHMENT_OWNER = "source-attachment-owner" + DESTINATION_ATTACHMENT_OWNER = "destination-attachment-owner" + TRANSIT_GATEWAY_OWNER = "transit-gateway-owner" + +@dataclass(kw_only=True) +class TransitGatewayMeteringPolicy(_SerdeShape): + """Describes a transit gateway metering policy.""" + + transit_gateway_metering_policy_id: str | None = ... + """The ID of the transit gateway metering policy.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway associated with the metering policy.""" + middlebox_attachment_ids: list[str] | None = ... + """ + The IDs of the middlebox attachments associated with the metering + policy. + """ + state: str | None = ... + """The state of the transit gateway metering policy.""" + update_effective_at: datetime | None = ... + """The date and time when the metering policy update becomes effective.""" + tags: list[Tag] | None = ... + """The tags assigned to the transit gateway metering policy.""" + +@dataclass(kw_only=True) +class TransitGatewayMeteringPolicyEntry(_SerdeShape): + """Describes an entry in a transit gateway metering policy.""" + + policy_rule_number: str | None = ... + """The rule number of the metering policy entry.""" + metered_account: str | None = ... + """ + The Amazon Web Services account ID to which the metered traffic is + attributed. + """ + state: str | None = ... + """The state of the metering policy entry.""" + updated_at: datetime | None = ... + """The date and time when the metering policy entry was last updated.""" + update_effective_at: datetime | None = ... + """ + The date and time when the metering policy entry update becomes + effective. + """ + metering_policy_rule: TransitGatewayMeteringPolicyRule | None = ... + """The metering policy rule that defines traffic matching criteria.""" + +class TransitGatewayMeteringPolicyEntryState(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + DELETED = "deleted" + +@dataclass(kw_only=True) +class TransitGatewayMeteringPolicyRule(_SerdeShape): + """ + Describes the traffic matching criteria for a transit gateway metering + policy rule. + """ + + source_transit_gateway_attachment_id: str | None = ... + """The ID of the source transit gateway attachment.""" + source_transit_gateway_attachment_type: str | None = ... + """ + The type of the source transit gateway attachment. Note that the + `tgw-peering` resource type has been deprecated. To configure metering + policies for Connect, use the transport attachment type. + """ + source_cidr_block: str | None = ... + """The source CIDR block for the rule.""" + source_port_range: str | None = ... + """The source port range for the rule.""" + destination_transit_gateway_attachment_id: str | None = ... + """The ID of the destination transit gateway attachment.""" + destination_transit_gateway_attachment_type: str | None = ... + """ + The type of the destination transit gateway attachment. Note that the + `tgw-peering` resource type has been deprecated. To configure metering + policies for Connect, use the transport attachment type. + """ + destination_cidr_block: str | None = ... + """The destination CIDR block for the rule.""" + destination_port_range: str | None = ... + """The destination port range for the rule.""" + protocol: str | None = ... + """The protocol for the rule (1, 6, 17, etc.).""" + +class TransitGatewayMeteringPolicyState(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + DELETED = "deleted" + PENDING = "pending" + MODIFYING = "modifying" + DELETING = "deleting" + +class TransitGatewayMulitcastDomainAssociationState(UnknownEnumMixin, StrEnum): + PENDING_ACCEPTANCE = "pendingAcceptance" + ASSOCIATING = "associating" + ASSOCIATED = "associated" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + REJECTED = "rejected" + FAILED = "failed" + +@dataclass(kw_only=True) +class TransitGatewayMulticastDeregisteredGroupMembers(_SerdeShape): + """Describes the deregistered transit gateway multicast group members.""" + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + deregistered_network_interface_ids: list[str] | None = ... + """The network interface IDs of the deregistered members.""" + group_ip_address: str | None = ... + """The IP address assigned to the transit gateway multicast group.""" + +@dataclass(kw_only=True) +class TransitGatewayMulticastDeregisteredGroupSources(_SerdeShape): + """Describes the deregistered transit gateway multicast group sources.""" + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + deregistered_network_interface_ids: list[str] | None = ... + """The network interface IDs of the non-registered members.""" + group_ip_address: str | None = ... + """The IP address assigned to the transit gateway multicast group.""" + +@dataclass(kw_only=True) +class TransitGatewayMulticastDomain(_SerdeShape): + """Describes the transit gateway multicast domain.""" + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + transit_gateway_multicast_domain_arn: str | None = ... + """The Amazon Resource Name (ARN) of the transit gateway multicast domain.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the transit gateway + multicast domain. + """ + options: TransitGatewayMulticastDomainOptions | None = ... + """The options for the transit gateway multicast domain.""" + state: str | None = ... + """The state of the transit gateway multicast domain.""" + creation_time: datetime | None = ... + """The time the transit gateway multicast domain was created.""" + tags: list[Tag] | None = ... + """The tags for the transit gateway multicast domain.""" + +@dataclass(kw_only=True) +class TransitGatewayMulticastDomainAssociation(_SerdeShape): + """ + Describes the resources associated with the transit gateway multicast + domain. + """ + + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """The type of resource, for example a VPC attachment.""" + resource_owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the transit gateway + multicast domain association resource. + """ + subnet: SubnetAssociation | None = ... + """The subnet associated with the transit gateway multicast domain.""" + +@dataclass(kw_only=True) +class TransitGatewayMulticastDomainAssociations(_SerdeShape): + """Describes the multicast domain associations.""" + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """The type of resource, for example a VPC attachment.""" + resource_owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the resource.""" + subnets: list[SubnetAssociation] | None = ... + """The subnets associated with the multicast domain.""" + +@dataclass(kw_only=True) +class TransitGatewayMulticastDomainOptions(_SerdeShape): + """Describes the options for a transit gateway multicast domain.""" + + igmpv2_support: str | None = ... + """ + Indicates whether Internet Group Management Protocol (IGMP) version 2 is + turned on for the transit gateway multicast domain. + """ + static_sources_support: str | None = ... + """ + Indicates whether support for statically configuring transit gateway + multicast group sources is turned on. + """ + auto_accept_shared_associations: str | None = ... + """ + Indicates whether to automatically cross-account subnet associations + that are associated with the transit gateway multicast domain. + """ + +class TransitGatewayMulticastDomainState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class TransitGatewayMulticastGroup(_SerdeShape): + """Describes the transit gateway multicast group resources.""" + + group_ip_address: str | None = ... + """The IP address assigned to the transit gateway multicast group.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + subnet_id: str | None = ... + """The ID of the subnet.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """The type of resource, for example a VPC attachment.""" + resource_owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the transit gateway + multicast domain group resource. + """ + network_interface_id: str | None = ... + """The ID of the transit gateway attachment.""" + group_member: bool | None = ... + """Indicates that the resource is a transit gateway multicast group member.""" + group_source: bool | None = ... + """Indicates that the resource is a transit gateway multicast group member.""" + member_type: str | None = ... + """The member type (for example, `static`).""" + source_type: str | None = ... + """The source type.""" + +@dataclass(kw_only=True) +class TransitGatewayMulticastRegisteredGroupMembers(_SerdeShape): + """Describes the registered transit gateway multicast group members.""" + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + registered_network_interface_ids: list[str] | None = ... + """The ID of the registered network interfaces.""" + group_ip_address: str | None = ... + """The IP address assigned to the transit gateway multicast group.""" + +@dataclass(kw_only=True) +class TransitGatewayMulticastRegisteredGroupSources(_SerdeShape): + """ + Describes the members registered with the transit gateway multicast + group. + """ + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + registered_network_interface_ids: list[str] | None = ... + """ + The IDs of the network interfaces members registered with the transit + gateway multicast group. + """ + group_ip_address: str | None = ... + """The IP address assigned to the transit gateway multicast group.""" + +@dataclass(kw_only=True) +class TransitGatewayNatRule(_SerdeShape): + """ + Contains information about a NAT gateway rule for a transit gateway + attachment, including the rule number, the source CIDR block, the + translated CIDR block, and the state of the rule. + """ + + rule_number: int | None = ... + """The rule number.""" + match_source_cidr: str | None = ... + """The IPv4 CIDR block of the source addresses to translate.""" + nat_cidr: str | None = ... + """ + The IPv4 CIDR block that the transit gateway translates the source + addresses to. + """ + state: str | None = ... + """ + The state of the NAT gateway rule. The possible values are: + + - `pending` - The transit gateway is applying a change to the rule. + + - `activated` - The rule is in effect because NAT gateway support is + enabled for the attachment. + + - `deactivated` - The rule isn't in effect because NAT gateway support + is disabled for the attachment. + """ + +@dataclass(kw_only=True) +class TransitGatewayNatRuleRequest(_SerdeShape): + """ + Describes a NAT gateway rule to apply to a transit gateway attachment. A + NAT gateway rule translates source addresses in the `MatchSourceCidr` + range to the corresponding addresses in the `NatCidr` range. + """ + + rule_number: int | None = ... + """ + The rule number. Valid values are 1 to 32766. Each rule number must be + unique within the request. + """ + match_source_cidr: str | None = ... + """ + The IPv4 CIDR block of the source addresses to translate. The CIDR block + can't overlap the multicast range (`224.0.0.0/4`) or the link-local + range (`169.254.0.0/16`). + """ + nat_cidr: str | None = ... + """ + The IPv4 CIDR block to translate the source addresses to. The CIDR block + must be in a private (RFC 1918) or shared address space (RFC 6598) + range, and must have the same prefix length as `MatchSourceCidr`. The + CIDR blocks in the rules for an attachment can't overlap each other. + """ + +class TransitGatewayNatRuleState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + ACTIVATED = "activated" + DEACTIVATED = "deactivated" + DELETING = "deleting" + +@dataclass(kw_only=True) +class TransitGatewayOptions(_SerdeShape): + """Describes the options for a transit gateway.""" + + amazon_side_asn: int | None = ... + """ + A private Autonomous System Number (ASN) for the Amazon side of a BGP + session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to + 4294967294 for 32-bit ASNs. + """ + transit_gateway_cidr_blocks: list[str] | None = ... + """The transit gateway CIDR blocks.""" + auto_accept_shared_attachments: str | None = ... + """Indicates whether attachment requests are automatically accepted.""" + default_route_table_association: str | None = ... + """ + Indicates whether resource attachments are automatically associated with + the default association route table. Enabled by default. Either + `defaultRouteTableAssociation` or `defaultRouteTablePropagation` must be + set to `enable` for Amazon Web Services Transit Gateway to create the + default transit gateway route table. + """ + association_default_route_table_id: str | None = ... + """The ID of the default association route table.""" + default_route_table_propagation: str | None = ... + """ + Indicates whether resource attachments automatically propagate routes to + the default propagation route table. Enabled by default. If + `defaultRouteTablePropagation` is set to `enable`, Amazon Web Services + Transit Gateway creates the default transit gateway route table. + """ + propagation_default_route_table_id: str | None = ... + """The ID of the default propagation route table.""" + vpn_ecmp_support: str | None = ... + """Indicates whether Equal Cost Multipath Protocol support is enabled.""" + dns_support: str | None = ... + """Indicates whether DNS support is enabled.""" + security_group_referencing_support: str | None = ... + """ + Enables you to reference a security group across VPCs attached to a + transit gateway to simplify security group management. + + This option is disabled by default. + """ + multicast_support: str | None = ... + """Indicates whether multicast is enabled on the transit gateway""" + encryption_support: EncryptionSupport | None = ... + """Defines if the Transit Gateway supports VPC Encryption Control.""" + +@dataclass(kw_only=True) +class TransitGatewayPeeringAttachment(_SerdeShape): + """Describes the transit gateway peering attachment.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway peering attachment.""" + accepter_transit_gateway_attachment_id: str | None = ... + """The ID of the accepter transit gateway attachment.""" + requester_tgw_info: PeeringTgwInfo | None = ... + """Information about the requester transit gateway.""" + accepter_tgw_info: PeeringTgwInfo | None = ... + """Information about the accepter transit gateway.""" + options: TransitGatewayPeeringAttachmentOptions | None = ... + """Details about the transit gateway peering attachment.""" + status: PeeringAttachmentStatus | None = ... + """The status of the transit gateway peering attachment.""" + state: str | None = ... + """ + The state of the transit gateway peering attachment. Note that the + `initiating` state has been deprecated. + """ + creation_time: datetime | None = ... + """The time the transit gateway peering attachment was created.""" + tags: list[Tag] | None = ... + """The tags for the transit gateway peering attachment.""" + +@dataclass(kw_only=True) +class TransitGatewayPeeringAttachmentOptions(_SerdeShape): + """Describes dynamic routing for the transit gateway peering attachment.""" + + dynamic_routing: str | None = ... + """ + Describes whether dynamic routing is enabled or disabled for the transit + gateway peering attachment. + """ + +@dataclass(kw_only=True) +class TransitGatewayPolicyRule(_SerdeShape): + """Describes a rule associated with a transit gateway policy.""" + + source_cidr_block: str | None = ... + """The source CIDR block for the transit gateway policy rule.""" + source_port_range: str | None = ... + """The source port or port range for the transit gateway policy rule.""" + destination_cidr_block: str | None = ... + """The destination CIDR block for the transit gateway policy rule.""" + destination_port_range: str | None = ... + """The destination port or port range for the transit gateway policy rule.""" + protocol: str | None = ... + """The protocol used by the transit gateway policy rule.""" + meta_data: TransitGatewayPolicyRuleMetaData | None = ... + """The meta data tags used for the transit gateway policy rule.""" + +@dataclass(kw_only=True) +class TransitGatewayPolicyRuleMetaData(_SerdeShape): + """ + Describes the meta data tags associated with a transit gateway policy + rule. + """ + + meta_data_key: str | None = ... + """The key name for the transit gateway policy rule meta data tag.""" + meta_data_value: str | None = ... + """The value of the key for the transit gateway policy rule meta data tag.""" + +@dataclass(kw_only=True) +class TransitGatewayPolicyTable(_SerdeShape): + """Describes a transit gateway policy table.""" + + transit_gateway_policy_table_id: str | None = ... + """The ID of the transit gateway policy table.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + state: str | None = ... + """The state of the transit gateway policy table""" + creation_time: datetime | None = ... + """The timestamp when the transit gateway policy table was created.""" + tags: list[Tag] | None = ... + """he key-value pairs associated with the transit gateway policy table.""" + +@dataclass(kw_only=True) +class TransitGatewayPolicyTableAssociation(_SerdeShape): + """Describes a transit gateway policy table association.""" + + transit_gateway_policy_table_id: str | None = ... + """The ID of the transit gateway policy table.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + resource_id: str | None = ... + """The resource ID of the transit gateway attachment.""" + resource_type: str | None = ... + """The resource type for the transit gateway policy table association.""" + state: str | None = ... + """The state of the transit gateway policy table association.""" + +@dataclass(kw_only=True) +class TransitGatewayPolicyTableEntry(_SerdeShape): + """Describes a transit gateway policy table entry""" + + policy_rule_number: str | None = ... + """The rule number for the transit gateway policy table entry.""" + policy_rule: TransitGatewayPolicyRule | None = ... + """The policy rule associated with the transit gateway policy table.""" + target_route_table_id: str | None = ... + """The ID of the target route table.""" + state: str | None = ... + """The state of the transit gateway policy table entry.""" + +class TransitGatewayPolicyTableEntryState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + DELETED = "deleted" + +class TransitGatewayPolicyTableState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class TransitGatewayPrefixListAttachment(_SerdeShape): + """Describes a transit gateway prefix list attachment.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + resource_type: str | None = ... + """ + The resource type. Note that the `tgw-peering` resource type has been + deprecated. + """ + resource_id: str | None = ... + """The ID of the resource.""" + +@dataclass(kw_only=True) +class TransitGatewayPrefixListReference(_SerdeShape): + """Describes a prefix list reference.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + prefix_list_owner_id: str | None = ... + """The ID of the prefix list owner.""" + state: str | None = ... + """The state of the prefix list reference.""" + blackhole: bool | None = ... + """Indicates whether traffic that matches this route is dropped.""" + transit_gateway_attachment: TransitGatewayPrefixListAttachment | None = ... + """Information about the transit gateway attachment.""" + +class TransitGatewayPrefixListReferenceState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + MODIFYING = "modifying" + DELETING = "deleting" + +@dataclass(kw_only=True) +class TransitGatewayPropagation(_SerdeShape): + """Describes route propagation.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """ + The resource type. Note that the `tgw-peering` resource type has been + deprecated. + """ + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + state: str | None = ... + """The state.""" + transit_gateway_route_table_announcement_id: str | None = ... + """The ID of the transit gateway route table announcement.""" + +class TransitGatewayPropagationState(UnknownEnumMixin, StrEnum): + ENABLING = "enabling" + ENABLED = "enabled" + DISABLING = "disabling" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class TransitGatewayRequestOptions(_SerdeShape): + """Describes the options for a transit gateway.""" + + amazon_side_asn: int | None = ... + """ + A private Autonomous System Number (ASN) for the Amazon side of a BGP + session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to + 4294967294 for 32-bit ASNs. The default is `64512`. + """ + auto_accept_shared_attachments: str | None = ... + """ + Enable or disable automatic acceptance of attachment requests. Disabled + by default. + """ + default_route_table_association: str | None = ... + """ + Enable or disable automatic association with the default association + route table. Enabled by default. + """ + default_route_table_propagation: str | None = ... + """ + Enable or disable automatic propagation of routes to the default + propagation route table. Enabled by default. + """ + vpn_ecmp_support: str | None = ... + """ + Enable or disable Equal Cost Multipath Protocol support. Enabled by + default. + """ + dns_support: str | None = ... + """Enable or disable DNS support. Enabled by default.""" + security_group_referencing_support: str | None = ... + """ + Enables you to reference a security group across VPCs attached to a + transit gateway to simplify security group management. + + This option is disabled by default. + + For more information about security group referencing, see [Security + group + referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) + in the *Amazon Web Services Transit Gateways Guide*. + """ + multicast_support: str | None = ... + """Indicates whether multicast is enabled on the transit gateway""" + transit_gateway_cidr_blocks: list[str] | None = ... + """ + One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a + size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or + larger for IPv6. + """ + +@dataclass(kw_only=True) +class TransitGatewayRequestPolicyRule(_SerdeShape): + """The matching criteria for a transit gateway policy table entry.""" + + source_cidr_block: str | None = ... + """The source CIDR block for the policy rule.""" + source_port_range: str | None = ... + """ + The source port or port range for the policy rule. You can specify a + port range only when `Protocol` is `6` (TCP) or `17` (UDP); for all + other protocols, this value must be `*`. + """ + destination_cidr_block: str | None = ... + """The destination CIDR block for the policy rule.""" + destination_port_range: str | None = ... + """ + The destination port or port range for the policy rule. You can specify + a port range only when `Protocol` is `6` (TCP) or `17` (UDP); for all + other protocols, this value must be `*`. + """ + protocol: str | None = ... + """ + The protocol for the policy rule. Valid values are `1` (ICMP), `6` + (TCP), `17` (UDP), `47` (GRE), or `*` for all protocols. + """ + meta_data: TransitGatewayRequestPolicyRuleMetaData | None = ... + """The metadata key-value pair for the policy rule.""" + +@dataclass(kw_only=True) +class TransitGatewayRequestPolicyRuleMetaData(_SerdeShape): + """A metadata key-value pair for a transit gateway policy rule.""" + + meta_data_key: str | None = ... + """The key of the metadata pair for the policy rule.""" + meta_data_value: str | None = ... + """The value of the metadata pair for the policy rule.""" + +@dataclass(kw_only=True) +class TransitGatewayRoute(_SerdeShape): + """Describes a route for a transit gateway route table.""" + + destination_cidr_block: str | None = ... + """The CIDR block used for destination matches.""" + prefix_list_id: str | None = ... + """The ID of the prefix list used for destination matches.""" + transit_gateway_route_table_announcement_id: str | None = ... + """The ID of the transit gateway route table announcement.""" + transit_gateway_attachments: list[TransitGatewayRouteAttachment] | None = ... + """The attachments.""" + type: str | None = ... + """The route type.""" + state: str | None = ... + """The state of the route.""" + +@dataclass(kw_only=True) +class TransitGatewayRouteAttachment(_SerdeShape): + """Describes a route attachment.""" + + resource_id: str | None = ... + """The ID of the resource.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + resource_type: str | None = ... + """ + The resource type. Note that the `tgw-peering` resource type has been + deprecated. + """ + +class TransitGatewayRouteState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + ACTIVE = "active" + BLACKHOLE = "blackhole" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class TransitGatewayRouteTable(_SerdeShape): + """Describes a transit gateway route table.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + state: str | None = ... + """The state of the transit gateway route table.""" + default_association_route_table: bool | None = ... + """ + Indicates whether this is the default association route table for the + transit gateway. + """ + default_propagation_route_table: bool | None = ... + """ + Indicates whether this is the default propagation route table for the + transit gateway. + """ + creation_time: datetime | None = ... + """The creation time.""" + tags: list[Tag] | None = ... + """Any tags assigned to the route table.""" + +@dataclass(kw_only=True) +class TransitGatewayRouteTableAnnouncement(_SerdeShape): + """Describes a transit gateway route table announcement.""" + + transit_gateway_route_table_announcement_id: str | None = ... + """The ID of the transit gateway route table announcement.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + core_network_id: str | None = ... + """ + The ID of the core network for the transit gateway route table + announcement. + """ + peer_transit_gateway_id: str | None = ... + """The ID of the peer transit gateway.""" + peer_core_network_id: str | None = ... + """The ID of the core network ID for the peer.""" + peering_attachment_id: str | None = ... + """The ID of the peering attachment.""" + announcement_direction: str | None = ... + """The direction for the route table announcement.""" + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + state: str | None = ... + """The state of the transit gateway announcement.""" + creation_time: datetime | None = ... + """ + The timestamp when the transit gateway route table announcement was + created. + """ + tags: list[Tag] | None = ... + """The key-value pairs associated with the route table announcement.""" + +class TransitGatewayRouteTableAnnouncementDirection(UnknownEnumMixin, StrEnum): + OUTGOING = "outgoing" + INCOMING = "incoming" + +class TransitGatewayRouteTableAnnouncementState(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + PENDING = "pending" + FAILING = "failing" + FAILED = "failed" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class TransitGatewayRouteTableAssociation(_SerdeShape): + """ + Describes an association between a route table and a resource + attachment. + """ + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """ + The resource type. Note that the `tgw-peering` resource type has been + deprecated. + """ + state: str | None = ... + """The state of the association.""" + +@dataclass(kw_only=True) +class TransitGatewayRouteTablePropagation(_SerdeShape): + """Describes a route table propagation.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """ + The type of resource. Note that the `tgw-peering` resource type has been + deprecated. + """ + state: str | None = ... + """The state of the resource.""" + transit_gateway_route_table_announcement_id: str | None = ... + """The ID of the transit gateway route table announcement.""" + +@dataclass(kw_only=True) +class TransitGatewayRouteTableRoute(_SerdeShape): + """Describes a route in a transit gateway route table.""" + + destination_cidr: str | None = ... + """The CIDR block used for destination matches.""" + state: str | None = ... + """The state of the route.""" + route_origin: str | None = ... + """ + The route origin. The following are the possible values: + + - static + + - propagated + """ + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + attachment_id: str | None = ... + """The ID of the route attachment.""" + resource_id: str | None = ... + """The ID of the resource for the route attachment.""" + resource_type: str | None = ... + """The resource type for the route attachment.""" + +class TransitGatewayRouteTableState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +class TransitGatewayRouteType(UnknownEnumMixin, StrEnum): + STATIC = "static" + PROPAGATED = "propagated" + SYSTEM = "system" + +class TransitGatewayState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + MODIFYING = "modifying" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class TransitGatewayVpcAttachment(_SerdeShape): + """Describes a VPC attachment.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + vpc_owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the VPC.""" + state: str | None = ... + """ + The state of the VPC attachment. Note that the `initiating` state has + been deprecated. + """ + subnet_ids: list[str] | None = ... + """The IDs of the subnets.""" + creation_time: datetime | None = ... + """The creation time.""" + options: TransitGatewayVpcAttachmentOptions | None = ... + """The VPC attachment options.""" + tags: list[Tag] | None = ... + """The tags for the VPC attachment.""" + +@dataclass(kw_only=True) +class TransitGatewayVpcAttachmentOptions(_SerdeShape): + """Describes the VPC attachment options.""" + + dns_support: str | None = ... + """Indicates whether DNS support is enabled.""" + security_group_referencing_support: str | None = ... + """ + Enables you to reference a security group across VPCs attached to a + transit gateway to simplify security group management. + + This option is enabled by default. + + For more information about security group referencing, see [Security + group + referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) + in the *Amazon Web Services Transit Gateways Guide*. + """ + ipv6_support: str | None = ... + """Indicates whether IPv6 support is disabled.""" + appliance_mode_support: str | None = ... + """Indicates whether appliance mode support is enabled.""" + +class TransportProtocol(UnknownEnumMixin, StrEnum): + TCP = "tcp" + UDP = "udp" + +@dataclass(kw_only=True) +class TrunkInterfaceAssociation(_SerdeShape): + """ + Information about an association between a branch network interface with + a trunk network interface. + """ + + association_id: str | None = ... + """The ID of the association.""" + branch_interface_id: str | None = ... + """The ID of the branch network interface.""" + trunk_interface_id: str | None = ... + """The ID of the trunk network interface.""" + interface_protocol: str | None = ... + """The interface protocol. Valid values are `VLAN` and `GRE`.""" + vlan_id: int | None = ... + """The ID of the VLAN when you use the VLAN protocol.""" + gre_key: int | None = ... + """The application key when you use the GRE protocol.""" + tags: list[Tag] | None = ... + """The tags for the trunk interface association.""" + +class TrustProviderType(UnknownEnumMixin, StrEnum): + USER = "user" + DEVICE = "device" + +class TunnelInsideIpVersion(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + IPV6 = "ipv6" + +@dataclass(kw_only=True) +class TunnelOption(_SerdeShape): + """The VPN tunnel options.""" + + outside_ip_address: str | None = ... + """The external IP address of the VPN tunnel.""" + tunnel_inside_cidr: str | None = ... + """The range of inside IPv4 addresses for the tunnel.""" + tunnel_inside_ipv6_cidr: str | None = ... + """The range of inside IPv6 addresses for the tunnel.""" + pre_shared_key: str | None = ... + """ + The pre-shared key (PSK) to establish initial authentication between the + virtual private gateway and the customer gateway. + """ + phase1_lifetime_seconds: int | None = ... + """The lifetime for phase 1 of the IKE negotiation, in seconds.""" + phase2_lifetime_seconds: int | None = ... + """The lifetime for phase 2 of the IKE negotiation, in seconds.""" + rekey_margin_time_seconds: int | None = ... + """ + The margin time, in seconds, before the phase 2 lifetime expires, during + which the Amazon Web Services side of the VPN connection performs an IKE + rekey. + """ + rekey_fuzz_percentage: int | None = ... + """ + The percentage of the rekey window determined by + `RekeyMarginTimeSeconds` during which the rekey time is randomly + selected. + """ + replay_window_size: int | None = ... + """The number of packets in an IKE replay window.""" + dpd_timeout_seconds: int | None = ... + """The number of seconds after which a DPD timeout occurs.""" + dpd_timeout_action: str | None = ... + """The action to take after a DPD timeout occurs.""" + phase1_encryption_algorithms: list[Phase1EncryptionAlgorithmsListValue] | None = ... + """ + The permitted encryption algorithms for the VPN tunnel for phase 1 IKE + negotiations. + """ + phase2_encryption_algorithms: list[Phase2EncryptionAlgorithmsListValue] | None = ... + """ + The permitted encryption algorithms for the VPN tunnel for phase 2 IKE + negotiations. + """ + phase1_integrity_algorithms: list[Phase1IntegrityAlgorithmsListValue] | None = ... + """ + The permitted integrity algorithms for the VPN tunnel for phase 1 IKE + negotiations. + """ + phase2_integrity_algorithms: list[Phase2IntegrityAlgorithmsListValue] | None = ... + """ + The permitted integrity algorithms for the VPN tunnel for phase 2 IKE + negotiations. + """ + phase1_dh_group_numbers: list[Phase1DHGroupNumbersListValue] | None = ... + """ + The permitted Diffie-Hellman group numbers for the VPN tunnel for phase + 1 IKE negotiations. + """ + phase2_dh_group_numbers: list[Phase2DHGroupNumbersListValue] | None = ... + """ + The permitted Diffie-Hellman group numbers for the VPN tunnel for phase + 2 IKE negotiations. + """ + ike_versions: list[IKEVersionsListValue] | None = ... + """The IKE versions that are permitted for the VPN tunnel.""" + startup_action: str | None = ... + """ + The action to take when the establishing the VPN tunnels for a VPN + connection. + """ + log_options: VpnTunnelLogOptions | None = ... + """Options for logging VPN tunnel activity.""" + enable_tunnel_lifecycle_control: bool | None = ... + """Status of tunnel endpoint lifecycle control feature.""" + +@dataclass(kw_only=True) +class UnassignIpv6AddressesInput(_SerdeShape): + """Dataclass for UnassignIpv6AddressesInput structure.""" + + ipv6_prefixes: list[str] | None = ... + """The IPv6 prefixes to unassign from the network interface.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + ipv6_addresses: list[str] | None = ... + """The IPv6 addresses to unassign from the network interface.""" + +@dataclass(kw_only=True) +class UnassignIpv6AddressesOutput(_SerdeShape): + """Dataclass for UnassignIpv6AddressesOutput structure.""" + + network_interface_id: str | None = ... + """The ID of the network interface.""" + unassigned_ipv6_addresses: list[str] | None = ... + """The IPv6 addresses that have been unassigned from the network interface.""" + unassigned_ipv6_prefixes: list[str] | None = ... + """The IPv6 prefixes that have been unassigned from the network interface.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UnassignPrivateIpAddressesInput(_SerdeShape): + """Contains the parameters for UnassignPrivateIpAddresses.""" + + ipv4_prefixes: list[str] | None = ... + """The IPv4 prefixes to unassign from the network interface.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + private_ip_addresses: list[str] | None = ... + """ + The secondary private IP addresses to unassign from the network + interface. You can specify this option multiple times to unassign more + than one IP address. + """ + +@dataclass(kw_only=True) +class UnassignPrivateIpAddressesOutput(_SerdeShape): + """Dataclass for UnassignPrivateIpAddressesOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UnassignPrivateNatGatewayAddressInput(_SerdeShape): + """Dataclass for UnassignPrivateNatGatewayAddressInput structure.""" + + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + private_ip_addresses: list[str] | None = ... + """The private IPv4 addresses you want to unassign.""" + max_drain_duration_seconds: int | None = ... + """ + The maximum amount of time to wait (in seconds) before forcibly + releasing the IP addresses if connections are still in progress. Default + value is 350 seconds. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class UnassignPrivateNatGatewayAddressOutput(_SerdeShape): + """Dataclass for UnassignPrivateNatGatewayAddressOutput structure.""" + + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + nat_gateway_addresses: list[NatGatewayAddress] | None = ... + """Information about the NAT gateway IP addresses.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class UnlimitedSupportedInstanceFamily(UnknownEnumMixin, StrEnum): + T2 = "t2" + T3 = "t3" + T3A = "t3a" + T4G = "t4g" + T8I = "t8i" + +@dataclass(kw_only=True) +class UnlockSnapshotInput(_SerdeShape): + """Dataclass for UnlockSnapshotInput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot to unlock.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class UnlockSnapshotOutput(_SerdeShape): + """Dataclass for UnlockSnapshotOutput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UnmonitorInstancesInput(_SerdeShape): + """Dataclass for UnmonitorInstancesInput structure.""" + + instance_ids: list[str] | None = ... + """The IDs of the instances.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class UnmonitorInstancesOutput(_SerdeShape): + """Dataclass for UnmonitorInstancesOutput structure.""" + + instance_monitorings: list[InstanceMonitoring] | None = ... + """The monitoring information.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UnsuccessfulAssociationResponseObject(_SerdeShape): + """Describes an unsuccessful application status check association.""" + + application_status_check_id: str | None = ... + """The ID of the application status check.""" + association_type: str | None = ... + """The type of association. Valid values: `EC2TAG` and `INSTANCE_ID`.""" + association_value: str | None = ... + """ + The association value. For `EC2TAG`, the value is formatted as + `key=value`. For `INSTANCE_ID`, the value is the instance ID. + """ + reason: str | None = ... + """The reason the association failed.""" + +class UnsuccessfulInstanceCreditSpecificationErrorCode(UnknownEnumMixin, StrEnum): + INVALID_INSTANCE_ID = "InvalidInstanceID.Malformed" + INSTANCE_NOT_FOUND = "InvalidInstanceID.NotFound" + INCORRECT_INSTANCE_STATE = "IncorrectInstanceState" + INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED = ( + "InstanceCreditSpecification.NotSupported" + ) + +@dataclass(kw_only=True) +class UnsuccessfulInstanceCreditSpecificationItem(_SerdeShape): + """ + Describes the burstable performance instance whose credit option for CPU + usage was not modified. + """ + + instance_id: str | None = ... + """The ID of the instance.""" + error: UnsuccessfulInstanceCreditSpecificationItemError | None = ... + """ + The applicable error for the burstable performance instance whose credit + option for CPU usage was not modified. + """ + +@dataclass(kw_only=True) +class UnsuccessfulInstanceCreditSpecificationItemError(_SerdeShape): + """ + Information about the error for the burstable performance instance whose + credit option for CPU usage was not modified. + """ + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The applicable error message.""" + +@dataclass(kw_only=True) +class UnsuccessfulItem(_SerdeShape): + """ + Information about items that were not successfully processed in a batch + call. + """ + + error: UnsuccessfulItemError | None = ... + """Information about the error.""" + resource_id: str | None = ... + """The ID of the resource.""" + +@dataclass(kw_only=True) +class UnsuccessfulItemError(_SerdeShape): + """ + Information about the error that occurred. For more information about + errors, see [Error + codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + """ + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The error message accompanying the error code.""" + +@dataclass(kw_only=True) +class UnsuccessfulSuppressionResponseObject(_SerdeShape): + """Describes an unsuccessful application status check suppression.""" + + instance_id: str | None = ... + """The ID of the instance.""" + suppress_at: datetime | None = ... + """The date and time when suppression was attempted.""" + resume_at: datetime | None = ... + """The date and time when health checks would have resumed.""" + reason: str | None = ... + """The reason the suppression failed.""" + +@dataclass(kw_only=True) +class UpdateCapacityManagerMonitoredTagKeysInput(_SerdeShape): + """Dataclass for UpdateCapacityManagerMonitoredTagKeysInput structure.""" + + activate_tag_keys: list[str] | None = ... + """ + The tag keys to activate for monitoring. Once activated, these tag keys + will be included as dimensions in capacity metric data. + """ + deactivate_tag_keys: list[str] | None = ... + """ + The tag keys to deactivate. Deactivated tag keys will no longer be + included as dimensions in capacity metric data. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateCapacityManagerMonitoredTagKeysOutput(_SerdeShape): + """Dataclass for UpdateCapacityManagerMonitoredTagKeysOutput structure.""" + + capacity_manager_tag_keys: list[CapacityManagerMonitoredTagKey] | None = ... + """ + The list of tag keys affected by the update, including their current + status and metadata. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCapacityManagerOrganizationsAccessInput(_SerdeShape): + """Dataclass for UpdateCapacityManagerOrganizationsAccessInput structure.""" + + organizations_access: bool | None = ... + """ + Specifies whether to enable or disable cross-account access for Amazon + Web Services Organizations. When enabled, Capacity Manager aggregates + data from all accounts in your organization. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateCapacityManagerOrganizationsAccessOutput(_SerdeShape): + """Dataclass for UpdateCapacityManagerOrganizationsAccessOutput structure.""" + + capacity_manager_status: str | None = ... + """The current status of Capacity Manager after the update operation.""" + organizations_access: bool | None = ... + """ + The updated Organizations access setting indicating whether + cross-account data aggregation is enabled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateInterruptibleCapacityReservationAllocationInput(_SerdeShape): + """ + Dataclass for UpdateInterruptibleCapacityReservationAllocationInput + structure. + """ + + capacity_reservation_id: str | None = ... + """ + The ID of the source Capacity Reservation containing the interruptible + allocation to modify. + """ + target_instance_count: int | None = ... + """ + The new number of instances to allocate. Enter a higher number to add + more capacity to share, or a lower number to reclaim capacity to your + source Capacity Reservation. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the action, without + actually making the request, and provides an error response. + """ + zero_size_preference: str | None = ... + """ + Specifies the updated behavior for the interruptible Capacity + Reservation when you reduce its allocation to zero instances. Specify + `retain` to keep the interruptible Capacity Reservation active at zero + capacity so that you can allocate instances to it again later. Specify + `default` to cancel the interruptible Capacity Reservation and return + the capacity to your source Capacity Reservation. + """ + +@dataclass(kw_only=True) +class UpdateInterruptibleCapacityReservationAllocationOutput(_SerdeShape): + """ + Dataclass for UpdateInterruptibleCapacityReservationAllocationOutput + structure. + """ + + interruptible_capacity_reservation_id: str | None = ... + """The ID of the interruptible Capacity Reservation that was modified.""" + source_capacity_reservation_id: str | None = ... + """ + The ID of the source Capacity Reservation to which capacity was + reclaimed or from which capacity was allocated. + """ + instance_count: int | None = ... + """ + The current number of instances allocated to the interruptible + reservation. + """ + target_instance_count: int | None = ... + """ + The requested number of instances for the interruptible Capacity + Reservation. + """ + status: str | None = ... + """ + The current status of the allocation (updating during reclamation, + active when complete). + """ + interruption_type: str | None = ... + """The interruption type for the interruptible reservation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateSecurityGroupRuleDescriptionsEgressInput(_SerdeShape): + """Dataclass for UpdateSecurityGroupRuleDescriptionsEgressInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + group_id: str | None = ... + """ + The ID of the security group. You must specify either the security group + ID or the security group name in the request. For security groups in a + nondefault VPC, you must specify the security group ID. + """ + group_name: str | None = ... + """ + [Default VPC] The name of the security group. You must specify either + the security group ID or the security group name. + """ + ip_permissions: list[IpPermission] | None = ... + """ + The IP permissions for the security group rule. You must specify either + the IP permissions or the description. + """ + security_group_rule_descriptions: list[SecurityGroupRuleDescription] | None = ... + """ + The description for the egress security group rules. You must specify + either the description or the IP permissions. + """ + +@dataclass(kw_only=True) +class UpdateSecurityGroupRuleDescriptionsEgressOutput(_SerdeShape): + """Dataclass for UpdateSecurityGroupRuleDescriptionsEgressOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateSecurityGroupRuleDescriptionsIngressInput(_SerdeShape): + """Dataclass for UpdateSecurityGroupRuleDescriptionsIngressInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + group_id: str | None = ... + """ + The ID of the security group. You must specify either the security group + ID or the security group name in the request. For security groups in a + nondefault VPC, you must specify the security group ID. + """ + group_name: str | None = ... + """ + [Default VPC] The name of the security group. You must specify either + the security group ID or the security group name. For security groups in + a nondefault VPC, you must specify the security group ID. + """ + ip_permissions: list[IpPermission] | None = ... + """ + The IP permissions for the security group rule. You must specify either + IP permissions or a description. + """ + security_group_rule_descriptions: list[SecurityGroupRuleDescription] | None = ... + """ + The description for the ingress security group rules. You must specify + either a description or IP permissions. + """ + +@dataclass(kw_only=True) +class UpdateSecurityGroupRuleDescriptionsIngressOutput(_SerdeShape): + """ + Dataclass for UpdateSecurityGroupRuleDescriptionsIngressOutput + structure. + """ + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class UsageClassType(UnknownEnumMixin, StrEnum): + SPOT = "spot" + ON_DEMAND = "on-demand" + CAPACITY_BLOCK = "capacity-block" + +@dataclass(kw_only=True) +class UserBucket(_SerdeShape): + """Describes the Amazon S3 bucket for the disk image.""" + + s3_bucket: str | None = ... + """The name of the Amazon S3 bucket where the disk image is located.""" + s3_key: str | None = ... + """The file name of the disk image.""" + +@dataclass(kw_only=True) +class UserBucketDetails(_SerdeShape): + """Describes the Amazon S3 bucket for the disk image.""" + + s3_bucket: str | None = ... + """The Amazon S3 bucket from which the disk image was created.""" + s3_key: str | None = ... + """The file name of the disk image.""" + +@dataclass(kw_only=True) +class UserData(_SerdeShape): + """Describes the user data for an instance.""" + + data: str | None = ... + """ + The user data. If you are using an Amazon Web Services SDK or command + line tool, Base64-encoding is performed for you, and you can load the + text from a file. Otherwise, you must provide Base64-encoded text. + """ + +@dataclass(kw_only=True) +class UserIdGroupPair(_SerdeShape): + """Describes a security group and Amazon Web Services account ID pair.""" + + description: str | None = ... + """ + A description for the security group rule that references this user ID + group pair. + + Constraints: Up to 255 characters in length. Allowed characters are a-z, + A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* + """ + user_id: str | None = ... + """ + The ID of an Amazon Web Services account. + + For a referenced security group in another VPC, the account ID of the + referenced security group is returned in the response. If the referenced + security group is deleted, this value is not returned. + """ + group_name: str | None = ... + """ + [Default VPC] The name of the security group. For a security group in + a nondefault VPC, use the security group ID. + + For a referenced security group in another VPC, this value is not + returned if the referenced security group is deleted. + """ + group_id: str | None = ... + """The ID of the security group.""" + vpc_id: str | None = ... + """The ID of the VPC for the referenced security group, if applicable.""" + vpc_peering_connection_id: str | None = ... + """The ID of the VPC peering connection, if applicable.""" + peering_status: str | None = ... + """The status of a VPC peering connection, if applicable.""" + +class UserTrustProviderType(UnknownEnumMixin, StrEnum): + IAM_IDENTITY_CENTER = "iam-identity-center" + OIDC = "oidc" + +@dataclass(kw_only=True) +class ValidateSecurityGroupQuotasForInterfaceInput(_SerdeShape): + """Dataclass for ValidateSecurityGroupQuotasForInterfaceInput structure.""" + + security_group_ids: list[str] | None = ... + """ + The IDs of the security groups to validate for association with a single + network interface. You must specify at least one ID, and each ID must be + unique. The number of IDs cannot exceed the maximum number of security + groups allowed per network interface. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ValidateSecurityGroupQuotasForInterfaceOutput(_SerdeShape): + """Dataclass for ValidateSecurityGroupQuotasForInterfaceOutput structure.""" + + valid: bool | None = ... + """ + Specifies whether the specified security groups can be associated with a + single network interface without exceeding the quotas. If associating + the security groups would exceed a quota, the operation returns an + error. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ValidationError(_SerdeShape): + """ + The error code and error message that is returned for a parameter or + parameter combination that is not valid when a new launch template or + new version of a launch template is created. + """ + + code: str | None = ... + """ + The error code that indicates why the parameter or parameter combination + is not valid. For more information about error codes, see [Error + codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + """ + message: str | None = ... + """ + The error message that describes why the parameter or parameter + combination is not valid. For more information about error messages, see + [Error + codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + """ + +@dataclass(kw_only=True) +class ValidationWarning(_SerdeShape): + """ + The error codes and error messages that are returned for the parameters + or parameter combinations that are not valid when a new launch template + or new version of a launch template is created. + """ + + errors: list[ValidationError] | None = ... + """The error codes and error messages.""" + +@dataclass(kw_only=True) +class VCpuCountRange(_SerdeShape): + """The minimum and maximum number of vCPUs.""" + + min: int | None = ... + """ + The minimum number of vCPUs. If the value is `0`, there is no minimum + limit. + """ + max: int | None = ... + """ + The maximum number of vCPUs. If this parameter is not specified, there + is no maximum limit. + """ + +@dataclass(kw_only=True) +class VCpuCountRangeRequest(_SerdeShape): + """The minimum and maximum number of vCPUs.""" + + min: int | None = ... + """The minimum number of vCPUs. To specify no minimum limit, specify `0`.""" + max: int | None = ... + """ + The maximum number of vCPUs. To specify no maximum limit, omit this + parameter. + """ + +@dataclass(kw_only=True) +class VCpuInfo(_SerdeShape): + """Describes the vCPU configurations for the instance type.""" + + default_v_cpus: int | None = ... + """The default number of vCPUs for the instance type.""" + default_cores: int | None = ... + """The default number of cores for the instance type.""" + default_threads_per_core: int | None = ... + """The default number of threads per core for the instance type.""" + valid_cores: list[int] | None = ... + """The valid number of cores that can be configured for the instance type.""" + valid_threads_per_core: list[int] | None = ... + """ + The valid number of threads per core that can be configured for the + instance type. + """ + +class VerificationMethod(UnknownEnumMixin, StrEnum): + REMARKS_X509 = "remarks-x509" + DNS_TOKEN = "dns-token" + +@dataclass(kw_only=True) +class VerifiedAccessEndpoint(_SerdeShape): + """ + An Amazon Web Services Verified Access endpoint specifies the + application that Amazon Web Services Verified Access provides access to. + It must be attached to an Amazon Web Services Verified Access group. An + Amazon Web Services Verified Access endpoint must also have an attached + access policy before you attached it to a group. + """ + + verified_access_instance_id: str | None = ... + """The ID of the Amazon Web Services Verified Access instance.""" + verified_access_group_id: str | None = ... + """The ID of the Amazon Web Services Verified Access group.""" + verified_access_endpoint_id: str | None = ... + """The ID of the Amazon Web Services Verified Access endpoint.""" + application_domain: str | None = ... + """The DNS name for users to reach your application.""" + endpoint_type: str | None = ... + """ + The type of Amazon Web Services Verified Access endpoint. Incoming + application requests will be sent to an IP address, load balancer or a + network interface depending on the endpoint type specified. + """ + attachment_type: str | None = ... + """ + The type of attachment used to provide connectivity between the Amazon + Web Services Verified Access endpoint and the application. + """ + domain_certificate_arn: str | None = ... + """ + The ARN of a public TLS/SSL certificate imported into or created with + ACM. + """ + endpoint_domain: str | None = ... + """A DNS name that is generated for the endpoint.""" + device_validation_domain: str | None = ... + """Returned if endpoint has a device trust provider attached.""" + security_group_ids: list[str] | None = ... + """The IDs of the security groups for the endpoint.""" + load_balancer_options: VerifiedAccessEndpointLoadBalancerOptions | None = ... + """ + The load balancer details if creating the Amazon Web Services Verified + Access endpoint as `load-balancer`type. + """ + network_interface_options: VerifiedAccessEndpointEniOptions | None = ... + """The options for network-interface type endpoint.""" + status: VerifiedAccessEndpointStatus | None = ... + """The endpoint status.""" + description: str | None = ... + """A description for the Amazon Web Services Verified Access endpoint.""" + creation_time: str | None = ... + """The creation time.""" + last_updated_time: str | None = ... + """The last updated time.""" + deletion_time: str | None = ... + """The deletion time.""" + tags: list[Tag] | None = ... + """The tags.""" + sse_specification: VerifiedAccessSseSpecificationResponse | None = ... + """The options in use for server side encryption.""" + rds_options: VerifiedAccessEndpointRdsOptions | None = ... + """The options for an RDS endpoint.""" + cidr_options: VerifiedAccessEndpointCidrOptions | None = ... + """The options for a CIDR endpoint.""" + +class VerifiedAccessEndpointAttachmentType(UnknownEnumMixin, StrEnum): + VPC = "vpc" + +@dataclass(kw_only=True) +class VerifiedAccessEndpointCidrOptions(_SerdeShape): + """Describes the CIDR options for a Verified Access endpoint.""" + + cidr: str | None = ... + """The CIDR.""" + port_ranges: list[VerifiedAccessEndpointPortRange] | None = ... + """The port ranges.""" + protocol: str | None = ... + """The protocol.""" + subnet_ids: list[str] | None = ... + """The IDs of the subnets.""" + +@dataclass(kw_only=True) +class VerifiedAccessEndpointEniOptions(_SerdeShape): + """Options for a network-interface type endpoint.""" + + network_interface_id: str | None = ... + """The ID of the network interface.""" + protocol: str | None = ... + """The IP protocol.""" + port: int | None = ... + """The IP port number.""" + port_ranges: list[VerifiedAccessEndpointPortRange] | None = ... + """The port ranges.""" + +@dataclass(kw_only=True) +class VerifiedAccessEndpointLoadBalancerOptions(_SerdeShape): + """ + Describes a load balancer when creating an Amazon Web Services Verified + Access endpoint using the `load-balancer` type. + """ + + protocol: str | None = ... + """The IP protocol.""" + port: int | None = ... + """The IP port number.""" + load_balancer_arn: str | None = ... + """The ARN of the load balancer.""" + subnet_ids: list[str] | None = ... + """The IDs of the subnets.""" + port_ranges: list[VerifiedAccessEndpointPortRange] | None = ... + """The port ranges.""" + +@dataclass(kw_only=True) +class VerifiedAccessEndpointPortRange(_SerdeShape): + """Describes a port range.""" + + from_port: int | None = ... + """The start of the port range.""" + to_port: int | None = ... + """The end of the port range.""" + +class VerifiedAccessEndpointProtocol(UnknownEnumMixin, StrEnum): + HTTP = "http" + HTTPS = "https" + TCP = "tcp" + +@dataclass(kw_only=True) +class VerifiedAccessEndpointRdsOptions(_SerdeShape): + """Describes the RDS options for a Verified Access endpoint.""" + + protocol: str | None = ... + """The protocol.""" + port: int | None = ... + """The port.""" + rds_db_instance_arn: str | None = ... + """The ARN of the RDS instance.""" + rds_db_cluster_arn: str | None = ... + """The ARN of the DB cluster.""" + rds_db_proxy_arn: str | None = ... + """The ARN of the RDS proxy.""" + rds_endpoint: str | None = ... + """The RDS endpoint.""" + subnet_ids: list[str] | None = ... + """The IDs of the subnets.""" + +@dataclass(kw_only=True) +class VerifiedAccessEndpointStatus(_SerdeShape): + """Describes the status of a Verified Access endpoint.""" + + code: str | None = ... + """The status code of the Verified Access endpoint.""" + message: str | None = ... + """The status message of the Verified Access endpoint.""" + +class VerifiedAccessEndpointStatusCode(UnknownEnumMixin, StrEnum): + PENDING = "pending" + ACTIVE = "active" + UPDATING = "updating" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class VerifiedAccessEndpointTarget(_SerdeShape): + """Describes the targets for the specified Verified Access endpoint.""" + + verified_access_endpoint_id: str | None = ... + """The ID of the Verified Access endpoint.""" + verified_access_endpoint_target_ip_address: str | None = ... + """The IP address of the target.""" + verified_access_endpoint_target_dns: str | None = ... + """The DNS name of the target.""" diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_12.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_12.pyi new file mode 100644 index 000000000..39c6f0f08 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_12.pyi @@ -0,0 +1,1961 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + BlockPublicAccessStates, + ByoipCidr, + CidrBlock, + CloudWatchLogOptions, + CloudWatchLogOptionsSpecification, + DeviceOptions, + DnsEntry, + DnsOptions, + IKEVersionsRequestListValue, + InitializationStatusDetails, + Ipv6CidrBlock, + LastError, + NativeApplicationOidcOptions, + OidcOptions, + OperatorResponse, + PayerResponsibilityEntry, + Phase1DHGroupNumbersRequestListValue, + Phase1EncryptionAlgorithmsRequestListValue, + Phase1IntegrityAlgorithmsRequestListValue, + Phase2DHGroupNumbersRequestListValue, + Phase2EncryptionAlgorithmsRequestListValue, + Phase2IntegrityAlgorithmsRequestListValue, + SecurityGroupIdentifier, + SubnetIpPrefixes, + Tag, + TunnelOption, + _SerdeShape, +) + +class VerifiedAccessEndpointType(UnknownEnumMixin, StrEnum): + LOAD_BALANCER = "load-balancer" + NETWORK_INTERFACE = "network-interface" + RDS = "rds" + CIDR = "cidr" + +@dataclass(kw_only=True) +class VerifiedAccessGroup(_SerdeShape): + """Describes a Verified Access group.""" + + verified_access_group_id: str | None = ... + """The ID of the Verified Access group.""" + verified_access_instance_id: str | None = ... + """The ID of the Amazon Web Services Verified Access instance.""" + description: str | None = ... + """A description for the Amazon Web Services Verified Access group.""" + owner: str | None = ... + """The Amazon Web Services account number that owns the group.""" + verified_access_group_arn: str | None = ... + """The ARN of the Verified Access group.""" + creation_time: str | None = ... + """The creation time.""" + last_updated_time: str | None = ... + """The last updated time.""" + deletion_time: str | None = ... + """The deletion time.""" + tags: list[Tag] | None = ... + """The tags.""" + sse_specification: VerifiedAccessSseSpecificationResponse | None = ... + """The options in use for server side encryption.""" + +@dataclass(kw_only=True) +class VerifiedAccessInstance(_SerdeShape): + """Describes a Verified Access instance.""" + + verified_access_instance_id: str | None = ... + """The ID of the Amazon Web Services Verified Access instance.""" + description: str | None = ... + """A description for the Amazon Web Services Verified Access instance.""" + verified_access_trust_providers: ( + list[VerifiedAccessTrustProviderCondensed] | None + ) = ... + """The IDs of the Amazon Web Services Verified Access trust providers.""" + creation_time: str | None = ... + """The creation time.""" + last_updated_time: str | None = ... + """The last updated time.""" + tags: list[Tag] | None = ... + """The tags.""" + fips_enabled: bool | None = ... + """ + Indicates whether support for Federal Information Processing Standards + (FIPS) is enabled on the instance. + """ + cidr_endpoints_custom_sub_domain: VerifiedAccessInstanceCustomSubDomain | None = ... + """The custom subdomain.""" + +@dataclass(kw_only=True) +class VerifiedAccessInstanceCustomSubDomain(_SerdeShape): + """ + Describes a custom subdomain for a network CIDR endpoint for Verified + Access. + """ + + sub_domain: str | None = ... + """The subdomain.""" + nameservers: list[str] | None = ... + """The name servers.""" + +@dataclass(kw_only=True) +class VerifiedAccessInstanceLoggingConfiguration(_SerdeShape): + """ + Describes logging options for an Amazon Web Services Verified Access + instance. + """ + + verified_access_instance_id: str | None = ... + """The ID of the Amazon Web Services Verified Access instance.""" + access_logs: VerifiedAccessLogs | None = ... + """Details about the logging options.""" + +@dataclass(kw_only=True) +class VerifiedAccessInstanceOpenVpnClientConfiguration(_SerdeShape): + """Describes a set of routes.""" + + config: str | None = ... + """The base64-encoded Open VPN client configuration.""" + routes: list[VerifiedAccessInstanceOpenVpnClientConfigurationRoute] | None = ... + """The routes.""" + +@dataclass(kw_only=True) +class VerifiedAccessInstanceOpenVpnClientConfigurationRoute(_SerdeShape): + """Describes a route.""" + + cidr: str | None = ... + """The CIDR block.""" + +@dataclass(kw_only=True) +class VerifiedAccessInstanceUserTrustProviderClientConfiguration(_SerdeShape): + """Describes the trust provider.""" + + type: str | None = ... + """The trust provider type.""" + scopes: str | None = ... + """The set of user claims to be requested from the IdP.""" + issuer: str | None = ... + """The OIDC issuer identifier of the IdP.""" + authorization_endpoint: str | None = ... + """The authorization endpoint of the IdP.""" + public_signing_key_endpoint: str | None = ... + """The public signing key endpoint.""" + token_endpoint: str | None = ... + """The token endpoint of the IdP.""" + user_info_endpoint: str | None = ... + """The user info endpoint of the IdP.""" + client_id: str | None = ... + """The OAuth 2.0 client identifier.""" + client_secret: str | None = ... + """The OAuth 2.0 client secret.""" + pkce_enabled: bool | None = ... + """Indicates whether Proof of Key Code Exchange (PKCE) is enabled.""" + +@dataclass(kw_only=True) +class VerifiedAccessLogCloudWatchLogsDestination(_SerdeShape): + """Options for CloudWatch Logs as a logging destination.""" + + enabled: bool | None = ... + """Indicates whether logging is enabled.""" + delivery_status: VerifiedAccessLogDeliveryStatus | None = ... + """The delivery status for access logs.""" + log_group: str | None = ... + """The ID of the CloudWatch Logs log group.""" + +@dataclass(kw_only=True) +class VerifiedAccessLogCloudWatchLogsDestinationOptions(_SerdeShape): + """Options for CloudWatch Logs as a logging destination.""" + + enabled: bool | None = ... + """Indicates whether logging is enabled.""" + log_group: str | None = ... + """The ID of the CloudWatch Logs log group.""" + +@dataclass(kw_only=True) +class VerifiedAccessLogDeliveryStatus(_SerdeShape): + """Describes a log delivery status.""" + + code: str | None = ... + """The status code.""" + message: str | None = ... + """The status message.""" + +class VerifiedAccessLogDeliveryStatusCode(UnknownEnumMixin, StrEnum): + SUCCESS = "success" + FAILED = "failed" + +@dataclass(kw_only=True) +class VerifiedAccessLogKinesisDataFirehoseDestination(_SerdeShape): + """Options for Kinesis as a logging destination.""" + + enabled: bool | None = ... + """Indicates whether logging is enabled.""" + delivery_status: VerifiedAccessLogDeliveryStatus | None = ... + """The delivery status.""" + delivery_stream: str | None = ... + """The ID of the delivery stream.""" + +@dataclass(kw_only=True) +class VerifiedAccessLogKinesisDataFirehoseDestinationOptions(_SerdeShape): + """Describes Amazon Kinesis Data Firehose logging options.""" + + enabled: bool | None = ... + """Indicates whether logging is enabled.""" + delivery_stream: str | None = ... + """The ID of the delivery stream.""" + +@dataclass(kw_only=True) +class VerifiedAccessLogOptions(_SerdeShape): + """Options for Verified Access logs.""" + + s3: VerifiedAccessLogS3DestinationOptions | None = ... + """Sends Verified Access logs to Amazon S3.""" + cloud_watch_logs: VerifiedAccessLogCloudWatchLogsDestinationOptions | None = ... + """Sends Verified Access logs to CloudWatch Logs.""" + kinesis_data_firehose: ( + VerifiedAccessLogKinesisDataFirehoseDestinationOptions | None + ) = ... + """Sends Verified Access logs to Kinesis.""" + log_version: str | None = ... + """ + The logging version. + + Valid values: `ocsf-0.1` | `ocsf-1.0.0-rc.2` + """ + include_trust_context: bool | None = ... + """ + Indicates whether to include trust data sent by trust providers in the + logs. + """ + +@dataclass(kw_only=True) +class VerifiedAccessLogs(_SerdeShape): + """Describes the options for Verified Access logs.""" + + s3: VerifiedAccessLogS3Destination | None = ... + """Amazon S3 logging options.""" + cloud_watch_logs: VerifiedAccessLogCloudWatchLogsDestination | None = ... + """CloudWatch Logs logging destination.""" + kinesis_data_firehose: VerifiedAccessLogKinesisDataFirehoseDestination | None = ... + """Kinesis logging destination.""" + log_version: str | None = ... + """The log version.""" + include_trust_context: bool | None = ... + """Indicates whether trust data is included in the logs.""" + +@dataclass(kw_only=True) +class VerifiedAccessLogS3Destination(_SerdeShape): + """Options for Amazon S3 as a logging destination.""" + + enabled: bool | None = ... + """Indicates whether logging is enabled.""" + delivery_status: VerifiedAccessLogDeliveryStatus | None = ... + """The delivery status.""" + bucket_name: str | None = ... + """The bucket name.""" + prefix: str | None = ... + """The bucket prefix.""" + bucket_owner: str | None = ... + """The Amazon Web Services account number that owns the bucket.""" + +@dataclass(kw_only=True) +class VerifiedAccessLogS3DestinationOptions(_SerdeShape): + """Options for Amazon S3 as a logging destination.""" + + enabled: bool | None = ... + """Indicates whether logging is enabled.""" + bucket_name: str | None = ... + """The bucket name.""" + prefix: str | None = ... + """The bucket prefix.""" + bucket_owner: str | None = ... + """ + The ID of the Amazon Web Services account that owns the Amazon S3 + bucket. + """ + +@dataclass(kw_only=True) +class VerifiedAccessSseSpecificationRequest(_SerdeShape): + """ + Verified Access provides server side encryption by default to data at + rest using Amazon Web Services-owned KMS keys. You also have the option + of using customer managed KMS keys, which can be specified using the + options below. + """ + + customer_managed_key_enabled: bool | None = ... + """ + Enable or disable the use of customer managed KMS keys for server side + encryption. + + Valid values: `True` | `False` + """ + kms_key_arn: str | None = ... + """The ARN of the KMS key.""" + +@dataclass(kw_only=True) +class VerifiedAccessSseSpecificationResponse(_SerdeShape): + """The options in use for server side encryption.""" + + customer_managed_key_enabled: bool | None = ... + """ + Indicates whether customer managed KMS keys are in use for server side + encryption. + + Valid values: `True` | `False` + """ + kms_key_arn: str | None = ... + """The ARN of the KMS key.""" + +@dataclass(kw_only=True) +class VerifiedAccessTrustProvider(_SerdeShape): + """Describes a Verified Access trust provider.""" + + verified_access_trust_provider_id: str | None = ... + """The ID of the Amazon Web Services Verified Access trust provider.""" + description: str | None = ... + """ + A description for the Amazon Web Services Verified Access trust + provider. + """ + trust_provider_type: str | None = ... + """The type of Verified Access trust provider.""" + user_trust_provider_type: str | None = ... + """The type of user-based trust provider.""" + device_trust_provider_type: str | None = ... + """The type of device-based trust provider.""" + oidc_options: OidcOptions | None = ... + """ + The options for an OpenID Connect-compatible user-identity trust + provider. + """ + device_options: DeviceOptions | None = ... + """The options for device-identity trust provider.""" + policy_reference_name: str | None = ... + """The identifier to be used when working with policy rules.""" + creation_time: str | None = ... + """The creation time.""" + last_updated_time: str | None = ... + """The last updated time.""" + tags: list[Tag] | None = ... + """The tags.""" + sse_specification: VerifiedAccessSseSpecificationResponse | None = ... + """The options in use for server side encryption.""" + native_application_oidc_options: NativeApplicationOidcOptions | None = ... + """The OpenID Connect (OIDC) options.""" + +@dataclass(kw_only=True) +class VerifiedAccessTrustProviderCondensed(_SerdeShape): + """Condensed information about a trust provider.""" + + verified_access_trust_provider_id: str | None = ... + """The ID of the trust provider.""" + description: str | None = ... + """The description of trust provider.""" + trust_provider_type: str | None = ... + """The type of trust provider (user- or device-based).""" + user_trust_provider_type: str | None = ... + """The type of user-based trust provider.""" + device_trust_provider_type: str | None = ... + """The type of device-based trust provider.""" + +@dataclass(kw_only=True) +class VgwTelemetry(_SerdeShape): + """Describes telemetry for a VPN tunnel.""" + + accepted_route_count: int | None = ... + """The number of accepted routes.""" + last_status_change: datetime | None = ... + """ + The date and time of the last change in status. This field is updated + when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are + detected. + """ + outside_ip_address: str | None = ... + """ + The Internet-routable IP address of the virtual private gateway's + outside interface. + """ + status: str | None = ... + """The status of the VPN tunnel.""" + status_message: str | None = ... + """If an error occurs, a description of the error.""" + certificate_arn: str | None = ... + """The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.""" + +class VirtualizationType(UnknownEnumMixin, StrEnum): + HVM = "hvm" + PARAVIRTUAL = "paravirtual" + +@dataclass(kw_only=True) +class Volume(_SerdeShape): + """Describes a volume.""" + + availability_zone_id: str | None = ... + """The ID of the Availability Zone for the volume.""" + outpost_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + source_volume_id: str | None = ... + """ + The ID of the source volume from which the volume copy was created. Only + for volume copies. + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS). For `gp3`, `io1`, and + `io2` volumes, this represents the number of IOPS that are provisioned + for the volume. For `gp2` volumes, this represents the baseline + performance of the volume and the rate at which the volume accumulates + I/O credits for bursting. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the volume.""" + volume_type: str | None = ... + """The volume type.""" + fast_restored: bool | None = ... + """ + Note: + This parameter is not returned by CreateVolume. + + Indicates whether the volume was created using fast snapshot restore. + """ + multi_attach_enabled: bool | None = ... + """Indicates whether Amazon EBS Multi-Attach is enabled.""" + throughput: int | None = ... + """The throughput that the volume supports, in MiB/s.""" + sse_type: str | None = ... + """ + Note: + This parameter is not returned by CreateVolume. + + Reserved for future use. + """ + operator: OperatorResponse | None = ... + """The service provider that manages the volume.""" + volume_initialization_rate: int | None = ... + """ + The Amazon EBS Provisioned Rate for Volume Initialization (volume + initialization rate) specified for the volume during creation, in MiB/s. + If no volume initialization rate was specified, the value is `null`. + """ + volume_arn: str | None = ... + """The Amazon Resource Name (ARN) of the volume.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the volume.""" + volume_id: str | None = ... + """The ID of the volume.""" + size: int | None = ... + """The size of the volume, in GiBs.""" + snapshot_id: str | None = ... + """The snapshot from which the volume was created, if applicable.""" + availability_zone: str | None = ... + """The Availability Zone for the volume.""" + state: str | None = ... + """The volume state.""" + create_time: datetime | None = ... + """The time stamp when volume creation was initiated.""" + attachments: list[VolumeAttachment] | None = ... + """ + Note: + This parameter is not returned by CreateVolume. + + Information about the volume attachments. + """ + encrypted: bool | None = ... + """Indicates whether the volume is encrypted.""" + kms_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that was used to protect + the volume encryption key for the volume. + """ + +@dataclass(kw_only=True) +class VolumeAttachment(_SerdeShape): + """Describes volume attachment details.""" + + delete_on_termination: bool | None = ... + """Indicates whether the EBS volume is deleted on instance termination.""" + associated_resource: str | None = ... + """ + The ARN of the Amazon Web Services-managed resource to which the volume + is attached. + """ + instance_owning_service: str | None = ... + """ + The service principal of the Amazon Web Services service that owns the + underlying resource to which the volume is attached. + + This parameter is returned only for volumes that are attached to Amazon + Web Services-managed resources. + """ + ebs_card_index: int | None = ... + """ + The index of the EBS card. Some instance types support multiple EBS + cards. The default EBS card index is 0. + """ + volume_id: str | None = ... + """The ID of the volume.""" + instance_id: str | None = ... + """ + The ID of the instance. + + If the volume is attached to an Amazon Web Services-managed resource, + this parameter returns `null`. + """ + device: str | None = ... + """ + The device name. + + If the volume is attached to an Amazon Web Services-managed resource, + this parameter returns `null`. + """ + state: str | None = ... + """The attachment state of the volume.""" + attach_time: datetime | None = ... + """The time stamp when the attachment initiated.""" + +class VolumeAttachmentState(UnknownEnumMixin, StrEnum): + ATTACHING = "attaching" + ATTACHED = "attached" + DETACHING = "detaching" + DETACHED = "detached" + BUSY = "busy" + +class VolumeAttributeName(UnknownEnumMixin, StrEnum): + AUTO_ENABLE_IO = "autoEnableIO" + PRODUCT_CODES = "productCodes" + +@dataclass(kw_only=True) +class VolumeDetail(_SerdeShape): + """Describes an EBS volume.""" + + size: int | None = ... + """The size of the volume, in GiB.""" + +@dataclass(kw_only=True) +class VolumeModification(_SerdeShape): + """Describes the modification status of an EBS volume.""" + + volume_id: str | None = ... + """The ID of the volume.""" + modification_state: str | None = ... + """The current modification state.""" + status_message: str | None = ... + """A status message about the modification progress or failure.""" + target_size: int | None = ... + """The target size of the volume, in GiB.""" + target_iops: int | None = ... + """The target IOPS rate of the volume.""" + target_volume_type: str | None = ... + """The target EBS volume type of the volume.""" + target_throughput: int | None = ... + """The target throughput of the volume, in MiB/s.""" + target_multi_attach_enabled: bool | None = ... + """The target setting for Amazon EBS Multi-Attach.""" + original_size: int | None = ... + """The original size of the volume, in GiB.""" + original_iops: int | None = ... + """The original IOPS rate of the volume.""" + original_volume_type: str | None = ... + """The original EBS volume type of the volume.""" + original_throughput: int | None = ... + """The original throughput of the volume, in MiB/s.""" + original_multi_attach_enabled: bool | None = ... + """The original setting for Amazon EBS Multi-Attach.""" + progress: int | None = ... + """The modification progress, from 0 to 100 percent complete.""" + start_time: datetime | None = ... + """The modification start time.""" + end_time: datetime | None = ... + """The modification completion or failure time.""" + operator: OperatorResponse | None = ... + """The service provider that manages the resource.""" + +class VolumeModificationState(UnknownEnumMixin, StrEnum): + MODIFYING = "modifying" + OPTIMIZING = "optimizing" + COMPLETED = "completed" + FAILED = "failed" + +@dataclass(kw_only=True) +class VolumeRecycleBinInfo(_SerdeShape): + """Information about a volume that is currently in the Recycle Bin.""" + + volume_id: str | None = ... + """The ID of the volume.""" + volume_type: str | None = ... + """The volume type.""" + state: str | None = ... + """The state of the volume.""" + size: int | None = ... + """The size of the volume, in GiB.""" + iops: int | None = ... + """The number of I/O operations per second (IOPS) for the volume.""" + throughput: int | None = ... + """The throughput that the volume supports, in MiB/s.""" + outpost_arn: str | None = ... + """ + The ARN of the Outpost on which the volume is stored. For more + information, see [Amazon EBS volumes on + Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-outposts.html) + in the *Amazon EBS User Guide*. + """ + availability_zone: str | None = ... + """The Availability Zone for the volume.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone for the volume.""" + source_volume_id: str | None = ... + """The ID of the source volume.""" + snapshot_id: str | None = ... + """The snapshot from which the volume was created, if applicable.""" + operator: OperatorResponse | None = ... + """The service provider that manages the volume.""" + create_time: datetime | None = ... + """The time stamp when volume creation was initiated.""" + recycle_bin_enter_time: datetime | None = ... + """The date and time when the volume entered the Recycle Bin.""" + recycle_bin_exit_time: datetime | None = ... + """ + The date and time when the volume is to be permanently deleted from the + Recycle Bin. + """ + +class VolumeState(UnknownEnumMixin, StrEnum): + CREATING = "creating" + AVAILABLE = "available" + IN_USE = "in-use" + DELETING = "deleting" + DELETED = "deleted" + ERROR = "error" + +@dataclass(kw_only=True) +class VolumeStatusAction(_SerdeShape): + """Describes a volume status operation code.""" + + code: str | None = ... + """The code identifying the operation, for example, `enable-volume-io`.""" + description: str | None = ... + """A description of the operation.""" + event_id: str | None = ... + """The ID of the event associated with this operation.""" + event_type: str | None = ... + """The event type associated with this operation.""" + +@dataclass(kw_only=True) +class VolumeStatusAttachmentStatus(_SerdeShape): + """Information about the instances to which the volume is attached.""" + + io_performance: str | None = ... + """The maximum IOPS supported by the attached instance.""" + instance_id: str | None = ... + """The ID of the attached instance.""" + +@dataclass(kw_only=True) +class VolumeStatusDetails(_SerdeShape): + """Describes a volume status.""" + + name: str | None = ... + """ + The name of the volume status. + + - `io-enabled` - Indicates the volume I/O status. For more information, + see [Amazon EBS volume status + checks](https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-checks.html). + + - `io-performance` - Indicates the volume performance status. For more + information, see [Amazon EBS volume status + checks](https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-checks.html). + + - `initialization-state` - Indicates the status of the volume + initialization process. For more information, see [Initialize Amazon + EBS + volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html). + """ + status: str | None = ... + """The intended status of the volume status.""" + +@dataclass(kw_only=True) +class VolumeStatusEvent(_SerdeShape): + """Describes a volume status event.""" + + description: str | None = ... + """A description of the event.""" + event_id: str | None = ... + """The ID of this event.""" + event_type: str | None = ... + """The type of this event.""" + not_after: datetime | None = ... + """The latest end time of the event.""" + not_before: datetime | None = ... + """The earliest start time of the event.""" + instance_id: str | None = ... + """The ID of the instance associated with the event.""" + +@dataclass(kw_only=True) +class VolumeStatusInfo(_SerdeShape): + """Describes the status of a volume.""" + + details: list[VolumeStatusDetails] | None = ... + """The details of the volume status.""" + status: str | None = ... + """The status of the volume.""" + +class VolumeStatusInfoStatus(UnknownEnumMixin, StrEnum): + OK = "ok" + IMPAIRED = "impaired" + INSUFFICIENT_DATA = "insufficient-data" + WARNING = "warning" + +@dataclass(kw_only=True) +class VolumeStatusItem(_SerdeShape): + """Describes the volume status.""" + + actions: list[VolumeStatusAction] | None = ... + """The details of the operation.""" + availability_zone: str | None = ... + """The Availability Zone of the volume.""" + outpost_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + events: list[VolumeStatusEvent] | None = ... + """A list of events associated with the volume.""" + volume_id: str | None = ... + """The volume ID.""" + volume_status: VolumeStatusInfo | None = ... + """The volume status.""" + attachment_statuses: list[VolumeStatusAttachmentStatus] | None = ... + """Information about the instances to which the volume is attached.""" + initialization_status_details: InitializationStatusDetails | None = ... + """ + Information about the volume initialization. It can take up to 5 minutes + for the volume initialization information to be updated. + + Only available for volumes created from snapshots. Not available for + empty volumes created without a snapshot. + + For more information, see [Initialize Amazon EBS + volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html). + """ + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + operator: OperatorResponse | None = ... + """The service provider that manages the resource.""" + +class VolumeStatusName(UnknownEnumMixin, StrEnum): + IO_ENABLED = "io-enabled" + IO_PERFORMANCE = "io-performance" + INITIALIZATION_STATE = "initialization-state" + +class VolumeType(UnknownEnumMixin, StrEnum): + STANDARD = "standard" + IO1 = "io1" + IO2 = "io2" + GP2 = "gp2" + SC1 = "sc1" + ST1 = "st1" + GP3 = "gp3" + +@dataclass(kw_only=True) +class Vpc(_SerdeShape): + """Describes a VPC.""" + + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the VPC.""" + instance_tenancy: str | None = ... + """The allowed tenancy of instances launched into the VPC.""" + ipv6_cidr_block_association_set: list[VpcIpv6CidrBlockAssociation] | None = ... + """Information about the IPv6 CIDR blocks associated with the VPC.""" + cidr_block_association_set: list[VpcCidrBlockAssociation] | None = ... + """Information about the IPv4 CIDR blocks associated with the VPC.""" + is_default: bool | None = ... + """Indicates whether the VPC is the default VPC.""" + encryption_control: VpcEncryptionControl | None = ... + """ + Describes the configuration and state of VPC encryption controls. + + For more information, see [Enforce VPC encryption in + transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) + in the *Amazon VPC User Guide*. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the VPC.""" + block_public_access_states: BlockPublicAccessStates | None = ... + """The state of VPC Block Public Access (BPA).""" + vpc_id: str | None = ... + """The ID of the VPC.""" + state: str | None = ... + """The current state of the VPC.""" + cidr_block: str | None = ... + """The primary IPv4 CIDR block for the VPC.""" + dhcp_options_id: str | None = ... + """The ID of the set of DHCP options you've associated with the VPC.""" + +@dataclass(kw_only=True) +class VpcAttachment(_SerdeShape): + """Describes an attachment between a virtual private gateway and a VPC.""" + + vpc_id: str | None = ... + """The ID of the VPC.""" + state: str | None = ... + """The current state of the attachment.""" + +class VpcAttributeName(UnknownEnumMixin, StrEnum): + ENABLE_DNS_SUPPORT = "enableDnsSupport" + ENABLE_DNS_HOSTNAMES = "enableDnsHostnames" + ENABLE_NETWORK_ADDRESS_USAGE_METRICS = "enableNetworkAddressUsageMetrics" + +@dataclass(kw_only=True) +class VpcBlockPublicAccessExclusion(_SerdeShape): + """ + A VPC BPA exclusion is a mode that can be applied to a single VPC or + subnet that exempts it from the account's BPA mode and will allow + bidirectional or egress-only access. You can create BPA exclusions for + VPCs and subnets even when BPA is not enabled on the account to ensure + that there is no traffic disruption to the exclusions when VPC BPA is + turned on. To learn more about VPC BPA, see [Block public access to VPCs + and + subnets](https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html) + in the *Amazon VPC User Guide*. + """ + + exclusion_id: str | None = ... + """The ID of the exclusion.""" + internet_gateway_exclusion_mode: str | None = ... + """ + The exclusion mode for internet gateway traffic. + + - `allow-bidirectional`: Allow all internet traffic to and from the + excluded VPCs and subnets. + + - `allow-egress`: Allow outbound internet traffic from the excluded VPCs + and subnets. Block inbound internet traffic to the excluded VPCs and + subnets. Only applies when VPC Block Public Access is set to + Bidirectional. + """ + resource_arn: str | None = ... + """The ARN of the exclusion.""" + state: str | None = ... + """The state of the exclusion.""" + reason: str | None = ... + """The reason for the current exclusion state.""" + creation_timestamp: datetime | None = ... + """When the exclusion was created.""" + last_update_timestamp: datetime | None = ... + """When the exclusion was last updated.""" + deletion_timestamp: datetime | None = ... + """When the exclusion was deleted.""" + tags: list[Tag] | None = ... + """ + `tag` - 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 `Owner` + and the value `TeamA`, specify `tag:Owner` for the filter name and + `TeamA` for the filter value. + """ + +class VpcBlockPublicAccessExclusionsAllowed(UnknownEnumMixin, StrEnum): + ALLOWED = "allowed" + NOT_ALLOWED = "not-allowed" + +class VpcBlockPublicAccessExclusionState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + UPDATE_IN_PROGRESS = "update-in-progress" + UPDATE_COMPLETE = "update-complete" + UPDATE_FAILED = "update-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DISABLE_IN_PROGRESS = "disable-in-progress" + DISABLE_COMPLETE = "disable-complete" + +@dataclass(kw_only=True) +class VpcBlockPublicAccessOptions(_SerdeShape): + """ + VPC Block Public Access (BPA) enables you to block resources in VPCs and + subnets that you own in a Region from reaching or being reached from the + internet through internet gateways and egress-only internet gateways. To + learn more about VPC BPA, see [Block public access to VPCs and + subnets](https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html) + in the *Amazon VPC User Guide*. + """ + + aws_account_id: str | None = ... + """An Amazon Web Services account ID.""" + aws_region: str | None = ... + """An Amazon Web Services Region.""" + state: str | None = ... + """The current state of VPC BPA.""" + internet_gateway_block_mode: str | None = ... + """ + The current mode of VPC BPA. + + - `off`: VPC BPA is not enabled and traffic is allowed to and from + internet gateways and egress-only internet gateways in this Region. + + - `block-bidirectional`: Block all traffic to and from internet gateways + and egress-only internet gateways in this Region (except for excluded + VPCs and subnets). + + - `block-ingress`: Block all internet traffic to the VPCs in this Region + (except for VPCs or subnets which are excluded). Only traffic to and + from NAT gateways and egress-only internet gateways is allowed because + these gateways only allow outbound connections to be established. + """ + reason: str | None = ... + """The reason for the current state.""" + last_update_timestamp: datetime | None = ... + """The last time the VPC BPA mode was updated.""" + managed_by: str | None = ... + """ + The entity that manages the state of VPC BPA. Possible values include: + + - `account` - The state is managed by the account. + + - `declarative-policy` - The state is managed by a declarative policy + and can't be modified by the account. + """ + exclusions_allowed: str | None = ... + """ + Determines if exclusions are allowed. If you have [enabled VPC BPA at + the Organization + level](https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html#security-vpc-bpa-exclusions-orgs), + exclusions may be `not-allowed`. Otherwise, they are `allowed`. + """ + +class VpcBlockPublicAccessState(UnknownEnumMixin, StrEnum): + DEFAULT_STATE = "default-state" + UPDATE_IN_PROGRESS = "update-in-progress" + UPDATE_COMPLETE = "update-complete" + +@dataclass(kw_only=True) +class VpcCidrBlockAssociation(_SerdeShape): + """Describes an IPv4 CIDR block associated with a VPC.""" + + association_id: str | None = ... + """The association ID for the IPv4 CIDR block.""" + cidr_block: str | None = ... + """The IPv4 CIDR block.""" + cidr_block_state: VpcCidrBlockState | None = ... + """Information about the state of the CIDR block.""" + +@dataclass(kw_only=True) +class VpcCidrBlockState(_SerdeShape): + """Describes the state of a CIDR block.""" + + state: str | None = ... + """The state of the CIDR block.""" + status_message: str | None = ... + """A message about the status of the CIDR block, if applicable.""" + +class VpcCidrBlockStateCode(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + FAILING = "failing" + FAILED = "failed" + +@dataclass(kw_only=True) +class VpcClassicLink(_SerdeShape): + """ + Note: + Deprecated. + + Describes whether a VPC is enabled for ClassicLink. + """ + + classic_link_enabled: bool | None = ... + """Indicates whether the VPC is enabled for ClassicLink.""" + tags: list[Tag] | None = ... + """Any tags assigned to the VPC.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class VpcEncryptionControl(_SerdeShape): + """ + Describes the configuration and state of VPC encryption controls. + + For more information, see [Enforce VPC encryption in + transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) + in the *Amazon VPC User Guide*. + """ + + vpc_id: str | None = ... + """The ID of the VPC associated with the encryption control configuration.""" + vpc_encryption_control_id: str | None = ... + """The ID of the VPC Encryption Control configuration.""" + mode: str | None = ... + """The encryption mode for the VPC Encryption Control configuration.""" + state: str | None = ... + """The current state of the VPC Encryption Control configuration.""" + state_message: str | None = ... + """ + A message providing additional information about the encryption control + state. + """ + resource_exclusions: VpcEncryptionControlExclusions | None = ... + """ + Information about resource exclusions for the VPC Encryption Control + configuration. + """ + tags: list[Tag] | None = ... + """The tags assigned to the VPC Encryption Control configuration.""" + +@dataclass(kw_only=True) +class VpcEncryptionControlConfiguration(_SerdeShape): + """ + Describes the configuration settings for VPC Encryption Control. + + For more information, see [Enforce VPC encryption in + transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) + in the *Amazon VPC User Guide*. + """ + + mode: str | None = ... + """The encryption mode for the VPC Encryption Control configuration.""" + internet_gateway_exclusion: str | None = ... + """ + Specifies whether to exclude internet gateway traffic from encryption + enforcement. + """ + egress_only_internet_gateway_exclusion: str | None = ... + """ + Specifies whether to exclude egress-only internet gateway traffic from + encryption enforcement. + """ + nat_gateway_exclusion: str | None = ... + """ + Specifies whether to exclude NAT gateway traffic from encryption + enforcement. + """ + virtual_private_gateway_exclusion: str | None = ... + """ + Specifies whether to exclude virtual private gateway traffic from + encryption enforcement. + """ + vpc_peering_exclusion: str | None = ... + """ + Specifies whether to exclude VPC peering connection traffic from + encryption enforcement. + """ + lambda_exclusion: str | None = ... + """ + Specifies whether to exclude Lambda function traffic from encryption + enforcement. + """ + vpc_lattice_exclusion: str | None = ... + """ + Specifies whether to exclude VPC Lattice traffic from encryption + enforcement. + """ + elastic_file_system_exclusion: str | None = ... + """ + Specifies whether to exclude Elastic File System traffic from encryption + enforcement. + """ + +@dataclass(kw_only=True) +class VpcEncryptionControlExclusion(_SerdeShape): + """ + Describes an exclusion configuration for VPC Encryption Control. + + For more information, see [Enforce VPC encryption in + transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) + in the *Amazon VPC User Guide*. + """ + + state: str | None = ... + """The current state of the exclusion configuration.""" + state_message: str | None = ... + """A message providing additional information about the exclusion state.""" + +@dataclass(kw_only=True) +class VpcEncryptionControlExclusions(_SerdeShape): + """ + Describes the exclusion configurations for various resource types in VPC + Encryption Control. + + For more information, see [Enforce VPC encryption in + transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) + in the *Amazon VPC User Guide*. + """ + + internet_gateway: VpcEncryptionControlExclusion | None = ... + """The exclusion configuration for internet gateway traffic.""" + egress_only_internet_gateway: VpcEncryptionControlExclusion | None = ... + """The exclusion configuration for egress-only internet gateway traffic.""" + nat_gateway: VpcEncryptionControlExclusion | None = ... + """The exclusion configuration for NAT gateway traffic.""" + virtual_private_gateway: VpcEncryptionControlExclusion | None = ... + """The exclusion configuration for virtual private gateway traffic.""" + vpc_peering: VpcEncryptionControlExclusion | None = ... + """The exclusion configuration for VPC peering connection traffic.""" + lambda_: VpcEncryptionControlExclusion | None = ... + """The exclusion configuration for Lambda function traffic.""" + vpc_lattice: VpcEncryptionControlExclusion | None = ... + """The exclusion configuration for VPC Lattice traffic.""" + elastic_file_system: VpcEncryptionControlExclusion | None = ... + """The exclusion configuration for Elastic File System traffic.""" + +class VpcEncryptionControlExclusionState(UnknownEnumMixin, StrEnum): + ENABLING = "enabling" + ENABLED = "enabled" + DISABLING = "disabling" + DISABLED = "disabled" + +class VpcEncryptionControlExclusionStateInput(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class VpcEncryptionControlMode(UnknownEnumMixin, StrEnum): + MONITOR = "monitor" + ENFORCE = "enforce" + +class VpcEncryptionControlState(UnknownEnumMixin, StrEnum): + ENFORCE_IN_PROGRESS = "enforce-in-progress" + MONITOR_IN_PROGRESS = "monitor-in-progress" + ENFORCE_FAILED = "enforce-failed" + MONITOR_FAILED = "monitor-failed" + DELETING = "deleting" + DELETED = "deleted" + AVAILABLE = "available" + CREATING = "creating" + DELETE_FAILED = "delete-failed" + +@dataclass(kw_only=True) +class VpcEncryptionNonCompliantResource(_SerdeShape): + """ + Describes a resource that is not compliant with VPC encryption + requirements. + + For more information, see [Enforce VPC encryption in + transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) + in the *Amazon VPC User Guide*. + """ + + id: str | None = ... + """The ID of the non-compliant resource.""" + type: str | None = ... + """The type of the non-compliant resource.""" + description: str | None = ... + """A description of the non-compliant resource.""" + is_excludable: bool | None = ... + """ + Indicates whether the resource can be excluded from encryption + enforcement. + """ + +@dataclass(kw_only=True) +class VpcEndpoint(_SerdeShape): + """Describes a VPC endpoint.""" + + vpc_endpoint_id: str | None = ... + """The ID of the endpoint.""" + vpc_endpoint_type: str | None = ... + """ + The type of endpoint. + + For more information about the types of VPC endpoints, see [VPC + endpoints](https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html#concepts-vpc-endpoints) + in the *Amazon Web Services PrivateLink User Guide*. + """ + vpc_id: str | None = ... + """The ID of the VPC to which the endpoint is associated.""" + service_name: str | None = ... + """The name of the service to which the endpoint is associated.""" + state: str | None = ... + """The state of the endpoint.""" + policy_document: str | None = ... + """The policy document associated with the endpoint, if applicable.""" + route_table_ids: list[str] | None = ... + """ + (Gateway endpoint) The IDs of the route tables associated with the + endpoint. + """ + subnet_ids: list[str] | None = ... + """ + (Interface, Gateway Load Balancer endpoints, Resource, ServiceNetwork, + and Tunnel endpoints only) The subnets for the endpoint. + """ + groups: list[SecurityGroupIdentifier] | None = ... + """ + (Interface, Resource, ServiceNetwork, and Tunnel endpoints only) + Information about the security groups that are associated with the + network interface. + """ + ip_address_type: str | None = ... + """The IP address type for the endpoint.""" + dns_options: DnsOptions | None = ... + """The DNS options for the endpoint.""" + private_dns_enabled: bool | None = ... + """ + (Interface endpoint) Indicates whether the VPC is associated with a + private hosted zone. + """ + requester_managed: bool | None = ... + """Indicates whether the endpoint is being managed by its service.""" + network_interface_ids: list[str] | None = ... + """ + (Interface, Gateway Load Balancer endpoints, Resource, ServiceNetwork, + and Tunnel endpoints only) The network interfaces for the endpoint. + """ + dns_entries: list[DnsEntry] | None = ... + """(Interface endpoint) The DNS entries for the endpoint.""" + creation_timestamp: datetime | None = ... + """The date and time that the endpoint was created.""" + tags: list[Tag] | None = ... + """The tags assigned to the endpoint.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the endpoint.""" + last_error: LastError | None = ... + """The last error that occurred for endpoint.""" + ipv4_prefixes: list[SubnetIpPrefixes] | None = ... + """Array of IPv4 prefixes.""" + ipv6_prefixes: list[SubnetIpPrefixes] | None = ... + """Array of IPv6 prefixes.""" + failure_reason: str | None = ... + """Reason for the failure.""" + service_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of the service network.""" + resource_configuration_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource configuration.""" + service_region: str | None = ... + """The Region where the service is hosted.""" + payer_responsibilities: list[PayerResponsibilityEntry] | None = ... + """The payer responsibility settings for the endpoint.""" + +@dataclass(kw_only=True) +class VpcEndpointAssociation(_SerdeShape): + """ + Describes the VPC resources, VPC endpoint services, Lattice services, or + service networks associated with the VPC endpoint. + """ + + id: str | None = ... + """The ID of the VPC endpoint association.""" + vpc_endpoint_id: str | None = ... + """The ID of the VPC endpoint.""" + service_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of the service network.""" + service_network_name: str | None = ... + """The name of the service network.""" + associated_resource_accessibility: str | None = ... + """ + The connectivity status of the resources associated to a VPC endpoint. + The resource is accessible if the associated resource configuration is + `AVAILABLE`, otherwise the resource is inaccessible. + """ + failure_reason: str | None = ... + """A message related to why an VPC endpoint association failed.""" + failure_code: str | None = ... + """An error code related to why an VPC endpoint association failed.""" + dns_entry: DnsEntry | None = ... + """The DNS entry of the VPC endpoint association.""" + private_dns_entry: DnsEntry | None = ... + """The private DNS entry of the VPC endpoint association.""" + associated_resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the associated resource.""" + resource_configuration_group_arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource configuration group.""" + tags: list[Tag] | None = ... + """The tags to apply to the VPC endpoint association.""" + +@dataclass(kw_only=True) +class VpcEndpointConnection(_SerdeShape): + """Describes a VPC endpoint connection to a service.""" + + service_id: str | None = ... + """The ID of the service to which the endpoint is connected.""" + vpc_endpoint_id: str | None = ... + """The ID of the VPC endpoint.""" + vpc_endpoint_owner: str | None = ... + """The ID of the Amazon Web Services account that owns the VPC endpoint.""" + vpc_endpoint_state: str | None = ... + """The state of the VPC endpoint.""" + creation_timestamp: datetime | None = ... + """The date and time that the VPC endpoint was created.""" + dns_entries: list[DnsEntry] | None = ... + """The DNS entries for the VPC endpoint.""" + network_load_balancer_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the network load balancers for the + service. + """ + gateway_load_balancer_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the + service. + """ + ip_address_type: str | None = ... + """The IP address type for the endpoint.""" + vpc_endpoint_connection_id: str | None = ... + """The ID of the VPC endpoint connection.""" + tags: list[Tag] | None = ... + """The tags.""" + vpc_endpoint_region: str | None = ... + """The Region of the endpoint.""" + payer_responsibilities: list[PayerResponsibilityEntry] | None = ... + """The payer responsibility settings for the endpoint.""" + +class VpcEndpointType(UnknownEnumMixin, StrEnum): + INTERFACE = "Interface" + GATEWAY = "Gateway" + GATEWAY_LOAD_BALANCER = "GatewayLoadBalancer" + RESOURCE = "Resource" + SERVICE_NETWORK = "ServiceNetwork" + TUNNEL = "Tunnel" + +@dataclass(kw_only=True) +class VpcIpv6CidrBlockAssociation(_SerdeShape): + """Describes an IPv6 CIDR block associated with a VPC.""" + + association_id: str | None = ... + """The association ID for the IPv6 CIDR block.""" + ipv6_cidr_block: str | None = ... + """The IPv6 CIDR block.""" + ipv6_cidr_block_state: VpcCidrBlockState | None = ... + """Information about the state of the CIDR block.""" + network_border_group: str | None = ... + """ + The name of the unique set of Availability Zones, Local Zones, or + Wavelength Zones from which Amazon Web Services advertises IP addresses, + for example, `us-east-1-wl1-bos-wlz-1`. + """ + ipv6_pool: str | None = ... + """ + The ID of the IPv6 address pool from which the IPv6 CIDR block is + allocated. + """ + ipv6_address_attribute: str | None = ... + """ + Public IPv6 addresses are those advertised on the internet from Amazon + Web Services. Private IP addresses are not and cannot be advertised on + the internet from Amazon Web Services. + """ + ip_source: str | None = ... + """ + The source that allocated the IP address space. `byoip` or `amazon` + indicates public IP address space allocated by Amazon or space that you + have allocated with Bring your own IP (BYOIP). `none` indicates private + space. + """ + +@dataclass(kw_only=True) +class VpcPeeringConnection(_SerdeShape): + """Describes a VPC peering connection.""" + + accepter_vpc_info: VpcPeeringConnectionVpcInfo | None = ... + """ + Information about the accepter VPC. CIDR block information is only + returned when describing an active VPC peering connection. + """ + expiration_time: datetime | None = ... + """The time that an unaccepted VPC peering connection will expire.""" + requester_vpc_info: VpcPeeringConnectionVpcInfo | None = ... + """ + Information about the requester VPC. CIDR block information is only + returned when describing an active VPC peering connection. + """ + status: VpcPeeringConnectionStateReason | None = ... + """The status of the VPC peering connection.""" + tags: list[Tag] | None = ... + """Any tags assigned to the resource.""" + vpc_peering_connection_id: str | None = ... + """The ID of the VPC peering connection.""" + +@dataclass(kw_only=True) +class VpcPeeringConnectionOptionsDescription(_SerdeShape): + """Describes the VPC peering connection options.""" + + allow_dns_resolution_from_remote_vpc: bool | None = ... + """ + Indicates whether a local VPC can resolve public DNS hostnames to + private IP addresses when queried from instances in a peer VPC. + """ + allow_egress_from_local_classic_link_to_remote_vpc: bool | None = ... + """Deprecated.""" + allow_egress_from_local_vpc_to_remote_classic_link: bool | None = ... + """Deprecated.""" + +@dataclass(kw_only=True) +class VpcPeeringConnectionStateReason(_SerdeShape): + """Describes the status of a VPC peering connection.""" + + code: str | None = ... + """The status of the VPC peering connection.""" + message: str | None = ... + """ + A message that provides more information about the status, if + applicable. + """ + +class VpcPeeringConnectionStateReasonCode(UnknownEnumMixin, StrEnum): + INITIATING_REQUEST = "initiating-request" + PENDING_ACCEPTANCE = "pending-acceptance" + ACTIVE = "active" + DELETED = "deleted" + REJECTED = "rejected" + FAILED = "failed" + EXPIRED = "expired" + PROVISIONING = "provisioning" + DELETING = "deleting" + +@dataclass(kw_only=True) +class VpcPeeringConnectionVpcInfo(_SerdeShape): + """Describes a VPC in a VPC peering connection.""" + + cidr_block: str | None = ... + """The IPv4 CIDR block for the VPC.""" + ipv6_cidr_block_set: list[Ipv6CidrBlock] | None = ... + """The IPv6 CIDR block for the VPC.""" + cidr_block_set: list[CidrBlock] | None = ... + """Information about the IPv4 CIDR blocks for the VPC.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the VPC.""" + peering_options: VpcPeeringConnectionOptionsDescription | None = ... + """ + Information about the VPC peering connection options for the accepter or + requester VPC. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + region: str | None = ... + """The Region in which the VPC is located.""" + +class VpcState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + +class VpcTenancy(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + +@dataclass(kw_only=True) +class VpnConcentrator(_SerdeShape): + """Describes a VPN concentrator.""" + + vpn_concentrator_id: str | None = ... + """The ID of the VPN concentrator.""" + state: str | None = ... + """The current state of the VPN concentrator.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway associated with the VPN concentrator.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment for the VPN concentrator.""" + type: str | None = ... + """The type of VPN concentrator.""" + tags: list[Tag] | None = ... + """Any tags assigned to the VPN concentrator.""" + +class VpnConcentratorType(UnknownEnumMixin, StrEnum): + IPSEC_1 = "ipsec.1" + +@dataclass(kw_only=True) +class VpnConnection(_SerdeShape): + """Describes a VPN connection.""" + + category: str | None = ... + """ + The category of the VPN connection. A value of `VPN` indicates an Amazon + Web Services VPN connection. A value of `VPN-Classic` indicates an + Amazon Web Services Classic VPN connection. + """ + transit_gateway_id: str | None = ... + """The ID of the transit gateway associated with the VPN connection.""" + vpn_concentrator_id: str | None = ... + """The ID of the VPN concentrator associated with the VPN connection.""" + core_network_arn: str | None = ... + """The ARN of the core network.""" + core_network_attachment_arn: str | None = ... + """The ARN of the core network attachment.""" + gateway_association_state: str | None = ... + """The current state of the gateway association.""" + options: VpnConnectionOptions | None = ... + """The VPN connection options.""" + routes: list[VpnStaticRoute] | None = ... + """The static routes associated with the VPN connection.""" + tags: list[Tag] | None = ... + """Any tags assigned to the VPN connection.""" + vgw_telemetry: list[VgwTelemetry] | None = ... + """Information about the VPN tunnel.""" + pre_shared_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Secrets Manager secret storing the + pre-shared key(s) for the VPN connection. + """ + vpn_connection_id: str | None = ... + """The ID of the VPN connection.""" + state: str | None = ... + """The current state of the VPN connection.""" + customer_gateway_configuration: str | None = ... + """ + The configuration information for the VPN connection's customer gateway + (in the native XML format). This element is always present in the + CreateVpnConnection response; however, it's present in the + DescribeVpnConnections response only if the VPN connection is in the + `pending` or `available` state. + """ + type: str | None = ... + """The type of VPN connection.""" + customer_gateway_id: str | None = ... + """The ID of the customer gateway at your end of the VPN connection.""" + vpn_gateway_id: str | None = ... + """ + The ID of the virtual private gateway at the Amazon Web Services side of + the VPN connection. + """ + +@dataclass(kw_only=True) +class VpnConnectionDeviceType(_SerdeShape): + """ + List of customer gateway devices that have a sample configuration file + available for use. You can also see the list of device types with sample + configuration files available under [Your customer gateway + device](https://docs.aws.amazon.com/vpn/latest/s2svpn/your-cgw.html) in + the *Amazon Web Services Site-to-Site VPN User Guide*. + """ + + vpn_connection_device_type_id: str | None = ... + """Customer gateway device identifier.""" + vendor: str | None = ... + """Customer gateway device vendor.""" + platform: str | None = ... + """Customer gateway device platform.""" + software: str | None = ... + """Customer gateway device software version.""" + +@dataclass(kw_only=True) +class VpnConnectionOptions(_SerdeShape): + """Describes VPN connection options.""" + + enable_acceleration: bool | None = ... + """Indicates whether acceleration is enabled for the VPN connection.""" + static_routes_only: bool | None = ... + """ + Indicates whether the VPN connection uses static routes only. Static + routes must be used for devices that don't support BGP. + """ + local_ipv4_network_cidr: str | None = ... + """ + The IPv4 CIDR on the customer gateway (on-premises) side of the VPN + connection. + """ + remote_ipv4_network_cidr: str | None = ... + """The IPv4 CIDR on the Amazon Web Services side of the VPN connection.""" + local_ipv6_network_cidr: str | None = ... + """ + The IPv6 CIDR on the customer gateway (on-premises) side of the VPN + connection. + """ + remote_ipv6_network_cidr: str | None = ... + """The IPv6 CIDR on the Amazon Web Services side of the VPN connection.""" + outside_ip_address_type: str | None = ... + """ + The type of IPv4 address assigned to the outside interface of the + customer gateway. + + Valid values: `PrivateIpv4` | `PublicIpv4` | `Ipv6` + + Default: `PublicIpv4` + """ + transport_transit_gateway_attachment_id: str | None = ... + """The transit gateway attachment ID in use for the VPN tunnel.""" + tunnel_inside_ip_version: str | None = ... + """Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.""" + tunnel_options: list[TunnelOption] | None = ... + """Indicates the VPN tunnel options.""" + tunnel_bandwidth: str | None = ... + """ + The configured bandwidth for the VPN tunnel. Represents the current + throughput capacity setting for the tunnel connection. `standard` tunnel + bandwidth supports up to 1.25 Gbps per tunnel while `large` supports up + to 5 Gbps per tunnel. If no tunnel bandwidth was specified for the + connection, `standard` is used as the default value. + """ + +@dataclass(kw_only=True) +class VpnConnectionOptionsSpecification(_SerdeShape): + """Describes VPN connection options.""" + + enable_acceleration: bool | None = ... + """ + Indicate whether to enable acceleration for the VPN connection. + + Default: `false` + """ + tunnel_inside_ip_version: str | None = ... + """ + Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. + + Default: `ipv4` + """ + tunnel_options: list[VpnTunnelOptionsSpecification] | None = ... + """The tunnel options for the VPN connection.""" + local_ipv4_network_cidr: str | None = ... + """ + The IPv4 CIDR on the customer gateway (on-premises) side of the VPN + connection. + + Default: `0.0.0.0/0` + """ + remote_ipv4_network_cidr: str | None = ... + """ + The IPv4 CIDR on the Amazon Web Services side of the VPN connection. + + Default: `0.0.0.0/0` + """ + local_ipv6_network_cidr: str | None = ... + """ + The IPv6 CIDR on the customer gateway (on-premises) side of the VPN + connection. + + Default: `::/0` + """ + remote_ipv6_network_cidr: str | None = ... + """ + The IPv6 CIDR on the Amazon Web Services side of the VPN connection. + + Default: `::/0` + """ + outside_ip_address_type: str | None = ... + """ + The type of IP address assigned to the outside interface of the customer + gateway device. + + Valid values: `PrivateIpv4` | `PublicIpv4` | `Ipv6` + + Default: `PublicIpv4` + """ + transport_transit_gateway_attachment_id: str | None = ... + """ + The transit gateway attachment ID to use for the VPN tunnel. + + Required if `OutsideIpAddressType` is set to `PrivateIpv4`. + """ + tunnel_bandwidth: str | None = ... + """ + The desired bandwidth specification for the VPN tunnel, used when + creating or modifying VPN connection options to set the tunnel's + throughput capacity. `standard` supports up to 1.25 Gbps per tunnel, + while `large` supports up to 5 Gbps per tunnel. The default value is + `standard`. Existing VPN connections without a bandwidth setting will + automatically default to `standard`. + """ + static_routes_only: bool | None = ... + """ + Indicate whether the VPN connection uses static routes only. If you are + creating a VPN connection for a device that does not support BGP, you + must specify `true`. Use CreateVpnConnectionRoute to create a static + route. + + Default: `false` + """ + +class VpnEcmpSupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +@dataclass(kw_only=True) +class VpnGateway(_SerdeShape): + """Describes a virtual private gateway.""" + + amazon_side_asn: int | None = ... + """ + The private Autonomous System Number (ASN) for the Amazon side of a BGP + session. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the virtual private gateway.""" + vpn_gateway_id: str | None = ... + """The ID of the virtual private gateway.""" + state: str | None = ... + """The current state of the virtual private gateway.""" + type: str | None = ... + """The type of VPN connection the virtual private gateway supports.""" + availability_zone: str | None = ... + """ + The Availability Zone where the virtual private gateway was created, if + applicable. This field may be empty or not returned. + """ + vpc_attachments: list[VpcAttachment] | None = ... + """Any VPCs attached to the virtual private gateway.""" + +class VpnProtocol(UnknownEnumMixin, StrEnum): + OPENVPN = "openvpn" + +class VpnState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class VpnStaticRoute(_SerdeShape): + """Describes a static route for a VPN connection.""" + + destination_cidr_block: str | None = ... + """ + The CIDR block associated with the local subnet of the customer data + center. + """ + source: str | None = ... + """Indicates how the routes were provided.""" + state: str | None = ... + """The current state of the static route.""" + +class VpnStaticRouteSource(UnknownEnumMixin, StrEnum): + STATIC = "Static" + +class VpnTunnelBandwidth(UnknownEnumMixin, StrEnum): + STANDARD = "standard" + LARGE = "large" + +@dataclass(kw_only=True) +class VpnTunnelLogOptions(_SerdeShape): + """Options for logging VPN tunnel activity.""" + + cloud_watch_log_options: CloudWatchLogOptions | None = ... + """Options for sending VPN tunnel logs to CloudWatch.""" + +@dataclass(kw_only=True) +class VpnTunnelLogOptionsSpecification(_SerdeShape): + """Options for logging VPN tunnel activity.""" + + cloud_watch_log_options: CloudWatchLogOptionsSpecification | None = ... + """Options for sending VPN tunnel logs to CloudWatch.""" + +@dataclass(kw_only=True) +class VpnTunnelOptionsSpecification(_SerdeShape): + """The tunnel options for a single VPN tunnel.""" + + tunnel_inside_cidr: str | None = ... + """ + The range of inside IPv4 addresses for the tunnel. Any specified CIDR + blocks must be unique across all VPN connections that use the same + virtual private gateway. + + Constraints: A size /30 CIDR block from the `169.254.0.0/16` range. The + following CIDR blocks are reserved and cannot be used: + + - `169.254.0.0/30` + + - `169.254.1.0/30` + + - `169.254.2.0/30` + + - `169.254.3.0/30` + + - `169.254.4.0/30` + + - `169.254.5.0/30` + + - `169.254.169.252/30` + """ + tunnel_inside_ipv6_cidr: str | None = ... + """ + The range of inside IPv6 addresses for the tunnel. Any specified CIDR + blocks must be unique across all VPN connections that use the same + transit gateway. + + Constraints: A size /126 CIDR block from the local `fd00::/8` range. + """ + pre_shared_key: str | None = ... + """ + The pre-shared key (PSK) to establish initial authentication between the + virtual private gateway and customer gateway. + + Constraints: Allowed characters are alphanumeric characters, periods + (.), and underscores (_). Must be between 8 and 64 characters in length + and cannot start with zero (0). + """ + phase1_lifetime_seconds: int | None = ... + """ + The lifetime for phase 1 of the IKE negotiation, in seconds. + + Constraints: A value between 900 and 28,800. + + Default: `28800` + """ + phase2_lifetime_seconds: int | None = ... + """ + The lifetime for phase 2 of the IKE negotiation, in seconds. + + Constraints: A value between 900 and 3,600. The value must be less than + the value for `Phase1LifetimeSeconds`. + + Default: `3600` + """ + rekey_margin_time_seconds: int | None = ... + """ + The margin time, in seconds, before the phase 2 lifetime expires, during + which the Amazon Web Services side of the VPN connection performs an IKE + rekey. The exact time of the rekey is randomly selected based on the + value for `RekeyFuzzPercentage`. + + Constraints: A value between 60 and half of `Phase2LifetimeSeconds`. + + Default: `270` + """ + rekey_fuzz_percentage: int | None = ... + """ + The percentage of the rekey window (determined by + `RekeyMarginTimeSeconds`) during which the rekey time is randomly + selected. + + Constraints: A value between 0 and 100. + + Default: `100` + """ + replay_window_size: int | None = ... + """ + The number of packets in an IKE replay window. + + Constraints: A value between 64 and 2048. + + Default: `1024` + """ + dpd_timeout_seconds: int | None = ... + """ + The number of seconds after which a DPD timeout occurs. + + Constraints: A value greater than or equal to 30. + + Default: `30` + """ + dpd_timeout_action: str | None = ... + """ + The action to take after DPD timeout occurs. Specify `restart` to + restart the IKE initiation. Specify `clear` to end the IKE session. + + Valid Values: `clear` | `none` | `restart` + + Default: `clear` + """ + phase1_encryption_algorithms: ( + list[Phase1EncryptionAlgorithmsRequestListValue] | None + ) = ... + """ + One or more encryption algorithms that are permitted for the VPN tunnel + for phase 1 IKE negotiations. + + Valid values: `AES128` | `AES256` | `AES128-GCM-16` | `AES256-GCM-16` + """ + phase2_encryption_algorithms: ( + list[Phase2EncryptionAlgorithmsRequestListValue] | None + ) = ... + """ + One or more encryption algorithms that are permitted for the VPN tunnel + for phase 2 IKE negotiations. + + Valid values: `AES128` | `AES256` | `AES128-GCM-16` | `AES256-GCM-16` + """ + phase1_integrity_algorithms: ( + list[Phase1IntegrityAlgorithmsRequestListValue] | None + ) = ... + """ + One or more integrity algorithms that are permitted for the VPN tunnel + for phase 1 IKE negotiations. + + Valid values: `SHA1` | `SHA2-256` | `SHA2-384` | `SHA2-512` + """ + phase2_integrity_algorithms: ( + list[Phase2IntegrityAlgorithmsRequestListValue] | None + ) = ... + """ + One or more integrity algorithms that are permitted for the VPN tunnel + for phase 2 IKE negotiations. + + Valid values: `SHA1` | `SHA2-256` | `SHA2-384` | `SHA2-512` + """ + phase1_dh_group_numbers: list[Phase1DHGroupNumbersRequestListValue] | None = ... + """ + One or more Diffie-Hellman group numbers that are permitted for the VPN + tunnel for phase 1 IKE negotiations. + + Valid values: `2` | `14` | `15` | `16` | `17` | `18` | `19` | + `20` | `21` | `22` | `23` | `24` + """ + phase2_dh_group_numbers: list[Phase2DHGroupNumbersRequestListValue] | None = ... + """ + One or more Diffie-Hellman group numbers that are permitted for the VPN + tunnel for phase 2 IKE negotiations. + + Valid values: `2` | `5` | `14` | `15` | `16` | `17` | `18` | `19` + | `20` | `21` | `22` | `23` | `24` + """ + ike_versions: list[IKEVersionsRequestListValue] | None = ... + """ + The IKE versions that are permitted for the VPN tunnel. + + Valid values: `ikev1` | `ikev2` + """ + startup_action: str | None = ... + """ + The action to take when the establishing the tunnel for the VPN + connection. By default, your customer gateway device must initiate the + IKE negotiation and bring up the tunnel. Specify `start` for Amazon Web + Services to initiate the IKE negotiation. + + Valid Values: `add` | `start` + + Default: `add` + """ + log_options: VpnTunnelLogOptionsSpecification | None = ... + """Options for logging VPN tunnel activity.""" + enable_tunnel_lifecycle_control: bool | None = ... + """Turn on or off tunnel endpoint lifecycle control feature.""" + +class VpnTunnelProvisioningStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + PENDING = "pending" + FAILED = "failed" + +class WeekDay(UnknownEnumMixin, StrEnum): + SUNDAY = "sunday" + MONDAY = "monday" + TUESDAY = "tuesday" + WEDNESDAY = "wednesday" + THURSDAY = "thursday" + FRIDAY = "friday" + SATURDAY = "saturday" + +@dataclass(kw_only=True) +class WithdrawByoipCidrInput(_SerdeShape): + """Dataclass for WithdrawByoipCidrInput structure.""" + + cidr: str | None = ... + """The address range, in CIDR notation.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class WithdrawByoipCidrOutput(_SerdeShape): + """Dataclass for WithdrawByoipCidrOutput structure.""" + + byoip_cidr: ByoipCidr | None = ... + """Information about the address pool.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ZeroSizePreference(UnknownEnumMixin, StrEnum): + RETAIN = "retain" + DEFAULT = "default" diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_2.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_2.pyi new file mode 100644 index 000000000..bc6c24407 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_2.pyi @@ -0,0 +1,5360 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + ApplicationStatusCheckResponseObject, + CarrierGateway, + ClientVpnEndpointStatus, + ClientVpnRouteStatus, + CoipCidr, + CoipPool, + ConnectionNotification, + DnsOptionsSpecification, + Ec2InstanceConnectEndpoint, + FailedQueuedPurchaseDeletion, + InstanceEventWindowStateChange, + InstanceSpecification, + Ipam, + IpamExternalResourceVerificationToken, + IpamInternetRegistryAssociation, + IpamPolicy, + IpamPool, + IpamPrefixListResolver, + IpamPrefixListResolverTarget, + IpamResourceDiscovery, + IpamRoutingPolicyRegistrationDelta, + IpamScope, + LaunchTemplate, + LocalGatewayRoute, + LocalGatewayRouteTable, + LocalGatewayRouteTableVirtualInterfaceGroupAssociation, + LocalGatewayRouteTableVpcAssociation, + LocalGatewayVirtualInterface, + LocalGatewayVirtualInterfaceGroup, + ManagedPrefixList, + MetricPoint, + OperatorRequest, + OperatorResponse, + ResponseError, + RouteServer, + RouteServerBgpOptionsRequest, + RouteServerEndpoint, + RouteServerPeer, + RouteTable, + S3ObjectTag, + SecondaryNetwork, + SecondarySubnet, + ServiceConfiguration, + SnapshotInfo, + SpotDatafeedSubscription, + Subnet, + SubnetCidrReservation, + SubnetConfiguration, + SuccessfulQueuedPurchaseDeletion, + Tag, + TagSpecification, + TrafficMirrorFilter, + TrafficMirrorFilterRule, + TrafficMirrorPortRangeRequest, + TrafficMirrorSession, + TrafficMirrorTarget, + TransitGateway, + TransitGatewayConnect, + TransitGatewayConnectPeer, + TransitGatewayConnectRequestBgpOptions, + TransitGatewayMeteringPolicy, + TransitGatewayMeteringPolicyEntry, + TransitGatewayMulticastDomain, + TransitGatewayPeeringAttachment, + TransitGatewayPolicyTable, + TransitGatewayPolicyTableEntry, + TransitGatewayPrefixListReference, + TransitGatewayRequestOptions, + TransitGatewayRequestPolicyRule, + TransitGatewayRoute, + TransitGatewayRouteTable, + TransitGatewayRouteTableAnnouncement, + TransitGatewayVpcAttachment, + UnsuccessfulItem, + VerifiedAccessEndpoint, + VerifiedAccessGroup, + VerifiedAccessInstance, + VerifiedAccessSseSpecificationRequest, + VerifiedAccessTrustProvider, + VolumeAttachment, + Vpc, + VpcBlockPublicAccessExclusion, + VpcEncryptionControl, + VpcEncryptionControlConfiguration, + VpcEndpoint, + VpcPeeringConnection, + VpnConcentrator, + VpnConnection, + VpnConnectionOptionsSpecification, + VpnGateway, + _SerdeShape, +) + +@dataclass(kw_only=True) +class CreateRestoreImageTaskInput(_SerdeShape): + """Dataclass for CreateRestoreImageTaskInput structure.""" + + bucket: str | None = ... + """The name of the Amazon S3 bucket that contains the stored AMI object.""" + object_key: str | None = ... + """The name of the stored AMI object in the bucket.""" + name: str | None = ... + """ + The name for the restored AMI. The name must be unique for AMIs in the + Region for this account. If you do not provide a name, the new AMI gets + the same name as the original AMI. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the AMI and snapshots on restoration. You can tag + the AMI, the snapshots, or both. + + - To tag the AMI, the value for `ResourceType` must be `image`. + + - To tag the snapshots, the value for `ResourceType` must be `snapshot`. + The same tag is applied to all of the snapshots that are created. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateRestoreImageTaskOutput(_SerdeShape): + """Dataclass for CreateRestoreImageTaskOutput structure.""" + + image_id: str | None = ... + """The AMI ID.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRouteInput(_SerdeShape): + """Dataclass for CreateRouteInput structure.""" + + destination_prefix_list_id: str | None = ... + """The ID of a prefix list used for the destination match.""" + vpc_endpoint_id: str | None = ... + """ + The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints + only. + """ + transit_gateway_id: str | None = ... + """The ID of a transit gateway.""" + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + carrier_gateway_id: str | None = ... + """ + The ID of the carrier gateway. + + You can only use this option when the VPC contains a subnet which is + associated with a Wavelength Zone. + """ + core_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of the core network.""" + odb_network_arn: str | None = ... + """The Amazon Resource Name (ARN) of the ODB network.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + route_table_id: str | None = ... + """The ID of the route table for the route.""" + destination_cidr_block: str | None = ... + """ + The IPv4 CIDR address block used for the destination match. Routing + decisions are based on the most specific match. We modify the specified + CIDR block to its canonical form; for example, if you specify + `100.68.0.18/18`, we modify it to `100.68.0.0/18`. + """ + gateway_id: str | None = ... + """ + The ID of an internet gateway or virtual private gateway attached to + your VPC. + """ + destination_ipv6_cidr_block: str | None = ... + """ + The IPv6 CIDR block used for the destination match. Routing decisions + are based on the most specific match. + """ + egress_only_internet_gateway_id: str | None = ... + """[IPv6 traffic only] The ID of an egress-only internet gateway.""" + instance_id: str | None = ... + """ + The ID of a NAT instance in your VPC. The operation fails if you specify + an instance ID unless exactly one network interface is attached. + """ + network_interface_id: str | None = ... + """The ID of a network interface.""" + vpc_peering_connection_id: str | None = ... + """The ID of a VPC peering connection.""" + nat_gateway_id: str | None = ... + """[IPv4 traffic only] The ID of a NAT gateway.""" + +@dataclass(kw_only=True) +class CreateRouteOutput(_SerdeShape): + """Dataclass for CreateRouteOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRouteServerEndpointInput(_SerdeShape): + """Dataclass for CreateRouteServerEndpointInput structure.""" + + route_server_id: str | None = ... + """The ID of the route server for which to create an endpoint.""" + subnet_id: str | None = ... + """The ID of the subnet in which to create the route server endpoint.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier to ensure idempotency of the request. + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the route server endpoint during creation.""" + +@dataclass(kw_only=True) +class CreateRouteServerEndpointOutput(_SerdeShape): + """Dataclass for CreateRouteServerEndpointOutput structure.""" + + route_server_endpoint: RouteServerEndpoint | None = ... + """Information about the created route server endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRouteServerInput(_SerdeShape): + """Dataclass for CreateRouteServerInput structure.""" + + amazon_side_asn: int | None = ... + """ + The private Autonomous System Number (ASN) for the Amazon side of the + BGP session. Valid values are from 1 to 4294967295. We recommend using a + private ASN in the 64512--65534 (16-bit ASN) or 4200000000--4294967294 + (32-bit ASN) range. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier to ensure idempotency of the request. + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + persist_routes: str | None = ... + """ + Indicates whether routes should be persisted after all BGP sessions are + terminated. + """ + persist_routes_duration: int | None = ... + """ + The number of minutes a route server will wait after BGP is + re-established to unpersist the routes in the FIB and RIB. Value must be + in the range of 1-5. Required if PersistRoutes is `enabled`. + + If you set the duration to 1 minute, then when your network appliance + re-establishes BGP with route server, it has 1 minute to relearn it's + adjacent network and advertise those routes to route server before route + server resumes normal functionality. In most cases, 1 minute is probably + sufficient. If, however, you have concerns that your BGP network may not + be capable of fully re-establishing and re-learning everything in 1 + minute, you can increase the duration up to 5 minutes. + """ + sns_notifications_enabled: bool | None = ... + """ + Indicates whether SNS notifications should be enabled for route server + events. Enabling SNS notifications persists BGP status changes to an SNS + topic provisioned by Amazon Web Services. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the route server during creation.""" + +@dataclass(kw_only=True) +class CreateRouteServerOutput(_SerdeShape): + """Dataclass for CreateRouteServerOutput structure.""" + + route_server: RouteServer | None = ... + """Information about the created route server.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRouteServerPeerInput(_SerdeShape): + """Dataclass for CreateRouteServerPeerInput structure.""" + + route_server_endpoint_id: str | None = ... + """The ID of the route server endpoint for which to create a peer.""" + peer_address: str | None = ... + """The IPv4 address of the peer device.""" + bgp_options: RouteServerBgpOptionsRequest | None = ... + """ + The BGP options for the peer, including ASN (Autonomous System Number) + and BFD (Bidrectional Forwarding Detection) settings. + """ + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the route server peer during creation.""" + +@dataclass(kw_only=True) +class CreateRouteServerPeerOutput(_SerdeShape): + """Dataclass for CreateRouteServerPeerOutput structure.""" + + route_server_peer: RouteServerPeer | None = ... + """Information about the created route server peer.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRouteTableInput(_SerdeShape): + """Dataclass for CreateRouteTableInput structure.""" + + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the route table.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class CreateRouteTableOutput(_SerdeShape): + """Dataclass for CreateRouteTableOutput structure.""" + + route_table: RouteTable | None = ... + """Information about the route table.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier to ensure the idempotency of the + request. Only returned if a client token was provided in the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSecondaryNetworkInput(_SerdeShape): + """Dataclass for CreateSecondaryNetworkInput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + ipv4_cidr_block: str | None = ... + """ + The IPv4 CIDR block for the secondary network. The CIDR block size must + be between /12 and /28. + """ + network_type: str | None = ... + """The type of secondary network.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the secondary network.""" + +@dataclass(kw_only=True) +class CreateSecondaryNetworkOutput(_SerdeShape): + """Dataclass for CreateSecondaryNetworkOutput structure.""" + + secondary_network: SecondaryNetwork | None = ... + """Information about the secondary network.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier to ensure the idempotency of the + request. Only returned if a client token was provided in the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSecondarySubnetInput(_SerdeShape): + """Dataclass for CreateSecondarySubnetInput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + availability_zone: str | None = ... + """ + The Availability Zone for the secondary subnet. You cannot specify both + `AvailabilityZone` and `AvailabilityZoneId` in the same request. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone for the secondary subnet. This option is + preferred over `AvailabilityZone` as it provides a consistent identifier + across Amazon Web Services accounts. You cannot specify both + `AvailabilityZone` and `AvailabilityZoneId` in the same request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + ipv4_cidr_block: str | None = ... + """ + The IPv4 CIDR block for the secondary subnet. The CIDR block size must + be between /12 and /28. + """ + secondary_network_id: str | None = ... + """The ID of the secondary network in which to create the secondary subnet.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the secondary subnet.""" + +@dataclass(kw_only=True) +class CreateSecondarySubnetOutput(_SerdeShape): + """Dataclass for CreateSecondarySubnetOutput structure.""" + + secondary_subnet: SecondarySubnet | None = ... + """Information about the secondary subnet.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier to ensure the idempotency of the + request. Only returned if a client token was provided in the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSecurityGroupInput(_SerdeShape): + """Dataclass for CreateSecurityGroupInput structure.""" + + description: str | None = ... + """ + A description for the security group. + + Constraints: Up to 255 characters in length + + Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* + """ + group_name: str | None = ... + """ + The name of the security group. Names are case-insensitive and must be + unique within the VPC. + + Constraints: Up to 255 characters in length. Can't start with `sg-`. + + Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* + """ + vpc_id: str | None = ... + """The ID of the VPC. Required for a nondefault VPC.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the security group.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateSecurityGroupOutput(_SerdeShape): + """Dataclass for CreateSecurityGroupOutput structure.""" + + group_id: str | None = ... + """The ID of the security group.""" + tags: list[Tag] | None = ... + """The tags assigned to the security group.""" + security_group_arn: str | None = ... + """The security group ARN.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSnapshotInput(_SerdeShape): + """Dataclass for CreateSnapshotInput structure.""" + + description: str | None = ... + """A description for the snapshot.""" + outpost_arn: str | None = ... + """ + Note: + Only supported for volumes on Outposts. If the source volume is not on + an Outpost, omit this parameter. + + - To create the snapshot on the same Outpost as the source volume, + specify the ARN of that Outpost. The snapshot must be created on the + same Outpost as the volume. + + - To create the snapshot in the parent Region of the Outpost, omit this + parameter. + + For more information, see [Create local snapshots from volumes on an + Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot) + in the *Amazon EBS User Guide*. + """ + volume_id: str | None = ... + """The ID of the Amazon EBS volume.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the snapshot during creation.""" + location: str | None = ... + """ + Note: + Only supported for volumes in Local Zones. If the source volume is not + in a Local Zone, omit this parameter. + + - To create a local snapshot in the same Local Zone as the source + volume, specify `local`. + + - To create a regional snapshot in the parent Region of the Local Zone, + specify `regional` or omit this parameter. + + Default value: `regional` + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateSnapshotOutput(_SerdeShape): + """Describes a snapshot.""" + + owner_alias: str | None = ... + """ + The Amazon Web Services owner alias, from an Amazon-maintained list + (`amazon`). This is not the user-configured Amazon Web Services account + alias set using the IAM console. + """ + outpost_arn: str | None = ... + """ + The ARN of the Outpost on which the snapshot is stored. For more + information, see [Amazon EBS local snapshots on + Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html) + in the *Amazon EBS User Guide*. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the snapshot.""" + storage_tier: str | None = ... + """ + The storage tier in which the snapshot is stored. `standard` indicates + that the snapshot is stored in the standard snapshot storage tier and + that it is ready for use. `archive` indicates that the snapshot is + currently archived and that it must be restored before it can be used. + """ + restore_expiry_time: datetime | None = ... + """ + Only for archived snapshots that are temporarily restored. Indicates the + date and time when a temporarily restored snapshot will be automatically + re-archived. + """ + sse_type: str | None = ... + """Reserved for future use.""" + availability_zone: str | None = ... + """ + The Availability Zone or Local Zone of the snapshot. For example, + `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone). + """ + transfer_type: str | None = ... + """ + Note: + Only for snapshot copies. + + Indicates whether the snapshot copy was created with a standard or + time-based snapshot copy operation. Time-based snapshot copy operations + complete within the completion duration specified in the request. + Standard snapshot copy operations are completed on a best-effort basis. + + - `standard` - The snapshot copy was created with a standard snapshot + copy operation. + + - `time-based` - The snapshot copy was created with a time-based + snapshot copy operation. + """ + completion_duration_minutes: int | None = ... + """ + Note: + Only for snapshot copies created with time-based snapshot copy + operations. + + The completion duration requested for the time-based snapshot copy + operation. + """ + completion_time: datetime | None = ... + """The time stamp when the snapshot was completed.""" + full_snapshot_size_in_bytes: int | None = ... + """ + The full size of the snapshot, in bytes. + + Warning: + This is **not** the incremental size of the snapshot. This is the full + snapshot size and represents the size of all the blocks that were + written to the source volume at the time the snapshot was created. + """ + snapshot_id: str | None = ... + """ + The ID of the snapshot. Each snapshot receives a unique identifier when + it is created. + """ + volume_id: str | None = ... + """ + The ID of the volume that was used to create the snapshot. Snapshots + created by a copy snapshot operation have an arbitrary volume ID that + you should not use for any purpose. + """ + state: str | None = ... + """The snapshot state.""" + state_message: str | None = ... + """ + Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot + copy operation fails (for example, if the proper KMS permissions are not + obtained) this field displays error state details to help you diagnose + why the error occurred. This parameter is only returned by + DescribeSnapshots. + """ + start_time: datetime | None = ... + """The time stamp when the snapshot was initiated.""" + progress: str | None = ... + """The progress of the snapshot, as a percentage.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the EBS snapshot.""" + description: str | None = ... + """The description for the snapshot.""" + volume_size: int | None = ... + """The size of the volume, in GiB.""" + encrypted: bool | None = ... + """Indicates whether the snapshot is encrypted.""" + kms_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that was used to protect + the volume encryption key for the parent volume. + """ + data_encryption_key_id: str | None = ... + """ + The data encryption key identifier for the snapshot. This value is a + unique identifier that corresponds to the data encryption key that was + used to encrypt the original volume or snapshot copy. Because data + encryption keys are inherited by volumes created from snapshots, and + vice versa, if snapshots share the same data encryption key identifier, + then they belong to the same volume/snapshot lineage. This parameter is + only returned by DescribeSnapshots. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSnapshotsInput(_SerdeShape): + """Dataclass for CreateSnapshotsInput structure.""" + + description: str | None = ... + """A description propagated to every snapshot specified by the instance.""" + instance_specification: InstanceSpecification | None = ... + """ + The instance to specify which volumes should be included in the + snapshots. + """ + outpost_arn: str | None = ... + """ + Note: + Only supported for instances on Outposts. If the source instance is not + on an Outpost, omit this parameter. + + - To create the snapshots on the same Outpost as the source instance, + specify the ARN of that Outpost. The snapshots must be created on the + same Outpost as the instance. + + - To create the snapshots in the parent Region of the Outpost, omit this + parameter. + + For more information, see [Create local snapshots from volumes on an + Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot) + in the *Amazon EBS User Guide*. + """ + tag_specifications: list[TagSpecification] | None = ... + """Tags to apply to every snapshot specified by the instance.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + copy_tags_from_source: str | None = ... + """Copies the tags from the specified volume to corresponding snapshot.""" + location: str | None = ... + """ + Note: + Only supported for instances in Local Zones. If the source instance is + not in a Local Zone, omit this parameter. + + - To create local snapshots in the same Local Zone as the source + instance, specify `local`. + + - To create regional snapshots in the parent Region of the Local Zone, + specify `regional` or omit this parameter. + + Default value: `regional` + """ + +@dataclass(kw_only=True) +class CreateSnapshotsOutput(_SerdeShape): + """Dataclass for CreateSnapshotsOutput structure.""" + + snapshots: list[SnapshotInfo] | None = ... + """List of snapshots.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSpotDatafeedSubscriptionInput(_SerdeShape): + """Contains the parameters for CreateSpotDatafeedSubscription.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + bucket: str | None = ... + """ + The name of the Amazon S3 bucket in which to store the Spot Instance + data feed. For more information about bucket names, see [Bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) + in the *Amazon S3 User Guide*. + """ + prefix: str | None = ... + """The prefix for the data feed file names.""" + +@dataclass(kw_only=True) +class CreateSpotDatafeedSubscriptionOutput(_SerdeShape): + """Contains the output of CreateSpotDatafeedSubscription.""" + + spot_datafeed_subscription: SpotDatafeedSubscription | None = ... + """The Spot Instance data feed subscription.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateStoreImageTaskInput(_SerdeShape): + """Dataclass for CreateStoreImageTaskInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + bucket: str | None = ... + """ + The name of the Amazon S3 bucket in which the AMI object will be stored. + The bucket must be in the Region in which the request is being made. The + AMI object appears in the bucket only after the upload task has + completed. + """ + s3_object_tags: list[S3ObjectTag] | None = ... + """ + The tags to apply to the AMI object that will be stored in the Amazon S3 + bucket. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateStoreImageTaskOutput(_SerdeShape): + """Dataclass for CreateStoreImageTaskOutput structure.""" + + object_key: str | None = ... + """The name of the stored AMI object in the S3 bucket.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSubnetCidrReservationInput(_SerdeShape): + """Dataclass for CreateSubnetCidrReservationInput structure.""" + + subnet_id: str | None = ... + """The ID of the subnet.""" + cidr: str | None = ... + """The IPv4 or IPV6 CIDR range to reserve.""" + reservation_type: str | None = ... + """ + The type of reservation. The reservation type determines how the + reserved IP addresses are assigned to resources. + + - `prefix` - Amazon Web Services assigns the reserved IP addresses to + network interfaces. + + - `explicit` - You assign the reserved IP addresses to network + interfaces. + """ + description: str | None = ... + """The description to assign to the subnet CIDR reservation.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the subnet CIDR reservation.""" + +@dataclass(kw_only=True) +class CreateSubnetCidrReservationOutput(_SerdeShape): + """Dataclass for CreateSubnetCidrReservationOutput structure.""" + + subnet_cidr_reservation: SubnetCidrReservation | None = ... + """Information about the created subnet CIDR reservation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSubnetInput(_SerdeShape): + """Dataclass for CreateSubnetInput structure.""" + + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the subnet.""" + availability_zone: str | None = ... + """ + The Availability Zone or Local Zone for the subnet. + + Default: Amazon Web Services selects one for you. If you create more + than one subnet in your VPC, we do not necessarily select a different + zone for each subnet. + + To create a subnet in a Local Zone, set this value to the Local Zone ID, + for example `us-west-2-lax-1a`. For information about the Regions that + support Local Zones, see [Available Local + Zones](https://docs.aws.amazon.com/local-zones/latest/ug/available-local-zones.html). + + To create a subnet in an Outpost, set this value to the Availability + Zone for the Outpost and specify the Outpost ARN. + """ + availability_zone_id: str | None = ... + """The AZ ID or the Local Zone ID of the subnet.""" + cidr_block: str | None = ... + """ + The IPv4 network range for the subnet, in CIDR notation. For example, + `10.0.0.0/24`. We modify the specified CIDR block to its canonical form; + for example, if you specify `100.68.0.18/18`, we modify it to + `100.68.0.0/18`. + + This parameter is not supported for an IPv6 only subnet. + """ + ipv6_cidr_block: str | None = ... + """ + The IPv6 network range for the subnet, in CIDR notation. This parameter + is required for an IPv6 only subnet. + """ + outpost_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost + ARN, you must also specify the Availability Zone of the Outpost subnet. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + ipv6_native: bool | None = ... + """Indicates whether to create an IPv6 only subnet.""" + ipv4_ipam_pool_id: str | None = ... + """An IPv4 IPAM pool ID for the subnet.""" + ipv4_netmask_length: int | None = ... + """An IPv4 netmask length for the subnet.""" + ipv6_ipam_pool_id: str | None = ... + """An IPv6 IPAM pool ID for the subnet.""" + ipv6_netmask_length: int | None = ... + """An IPv6 netmask length for the subnet.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateSubnetOutput(_SerdeShape): + """Dataclass for CreateSubnetOutput structure.""" + + subnet: Subnet | None = ... + """Information about the subnet.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTagsInput(_SerdeShape): + """Dataclass for CreateTagsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + resources: list[str] | None = ... + """ + The IDs of the resources, separated by spaces. + + Constraints: Up to 1000 resource IDs. We recommend breaking up this + request into smaller batches. + """ + tags: list[Tag] | None = ... + """ + The tags. The `value` parameter is required, but if you don't want the + tag to have a value, specify the parameter with no value, and we set the + value to an empty string. + """ + +@dataclass(kw_only=True) +class CreateTagsOutput(_SerdeShape): + """Dataclass for CreateTagsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTrafficMirrorFilterInput(_SerdeShape): + """Dataclass for CreateTrafficMirrorFilterInput structure.""" + + description: str | None = ... + """The description of the Traffic Mirror filter.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to a Traffic Mirror filter.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateTrafficMirrorFilterOutput(_SerdeShape): + """Dataclass for CreateTrafficMirrorFilterOutput structure.""" + + traffic_mirror_filter: TrafficMirrorFilter | None = ... + """Information about the Traffic Mirror filter.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTrafficMirrorFilterRuleInput(_SerdeShape): + """Dataclass for CreateTrafficMirrorFilterRuleInput structure.""" + + traffic_mirror_filter_id: str | None = ... + """The ID of the filter that this rule is associated with.""" + traffic_direction: str | None = ... + """The type of traffic.""" + rule_number: int | None = ... + """ + The number of the Traffic Mirror rule. This number must be unique for + each Traffic Mirror rule in a given direction. The rules are processed + in ascending order by rule number. + """ + rule_action: str | None = ... + """The action to take on the filtered traffic.""" + destination_port_range: TrafficMirrorPortRangeRequest | None = ... + """The destination port range.""" + source_port_range: TrafficMirrorPortRangeRequest | None = ... + """The source port range.""" + protocol: int | None = ... + """ + The protocol, for example UDP, to assign to the Traffic Mirror rule. + + For information about the protocol value, see [Protocol + Numbers](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) + on the Internet Assigned Numbers Authority (IANA) website. + """ + destination_cidr_block: str | None = ... + """The destination CIDR block to assign to the Traffic Mirror rule.""" + source_cidr_block: str | None = ... + """The source CIDR block to assign to the Traffic Mirror rule.""" + description: str | None = ... + """The description of the Traffic Mirror rule.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + tag_specifications: list[TagSpecification] | None = ... + """Traffic Mirroring tags specifications.""" + +@dataclass(kw_only=True) +class CreateTrafficMirrorFilterRuleOutput(_SerdeShape): + """Dataclass for CreateTrafficMirrorFilterRuleOutput structure.""" + + traffic_mirror_filter_rule: TrafficMirrorFilterRule | None = ... + """The Traffic Mirror rule.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTrafficMirrorSessionInput(_SerdeShape): + """Dataclass for CreateTrafficMirrorSessionInput structure.""" + + network_interface_id: str | None = ... + """The ID of the source network interface.""" + traffic_mirror_target_id: str | None = ... + """The ID of the Traffic Mirror target.""" + traffic_mirror_filter_id: str | None = ... + """The ID of the Traffic Mirror filter.""" + packet_length: int | None = ... + """ + The number of bytes in each packet to mirror. These are bytes after the + VXLAN header. Do not specify this parameter when you want to mirror the + entire packet. To mirror a subset of the packet, set this to the length + (in bytes) that you want to mirror. For example, if you set this value + to 100, then the first 100 bytes that meet the filter criteria are + copied to the target. + + If you do not want to mirror the entire packet, use the `PacketLength` + parameter to specify the number of bytes in each packet to mirror. + + For sessions with Network Load Balancer (NLB) Traffic Mirror targets the + default `PacketLength` will be set to 8500. Valid values are 1-8500. + Setting a `PacketLength` greater than 8500 will result in an error + response. + """ + session_number: int | None = ... + """ + The session number determines the order in which sessions are evaluated + when an interface is used by multiple sessions. The first session with a + matching filter is the one that mirrors the packets. + + Valid values are 1-32766. + """ + virtual_network_id: int | None = ... + """ + The VXLAN ID for the Traffic Mirror session. For more information about + the VXLAN protocol, see [RFC + 7348](https://datatracker.ietf.org/doc/html/rfc7348). If you do not + specify a `VirtualNetworkId`, an account-wide unique ID is chosen at + random. + """ + description: str | None = ... + """The description of the Traffic Mirror session.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to a Traffic Mirror session.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateTrafficMirrorSessionOutput(_SerdeShape): + """Dataclass for CreateTrafficMirrorSessionOutput structure.""" + + traffic_mirror_session: TrafficMirrorSession | None = ... + """Information about the Traffic Mirror session.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTrafficMirrorTargetInput(_SerdeShape): + """Dataclass for CreateTrafficMirrorTargetInput structure.""" + + network_interface_id: str | None = ... + """The network interface ID that is associated with the target.""" + network_load_balancer_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Network Load Balancer that is + associated with the target. + """ + description: str | None = ... + """The description of the Traffic Mirror target.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the Traffic Mirror target.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + gateway_load_balancer_endpoint_id: str | None = ... + """The ID of the Gateway Load Balancer endpoint.""" + +@dataclass(kw_only=True) +class CreateTrafficMirrorTargetOutput(_SerdeShape): + """Dataclass for CreateTrafficMirrorTargetOutput structure.""" + + traffic_mirror_target: TrafficMirrorTarget | None = ... + """Information about the Traffic Mirror target.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayConnectInput(_SerdeShape): + """Dataclass for CreateTransitGatewayConnectInput structure.""" + + transport_transit_gateway_attachment_id: str | None = ... + """ + The ID of the transit gateway attachment. You can specify a VPC + attachment or Amazon Web Services Direct Connect attachment. + """ + options: CreateTransitGatewayConnectRequestOptions | None = ... + """The Connect attachment options.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the Connect attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayConnectOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayConnectOutput structure.""" + + transit_gateway_connect: TransitGatewayConnect | None = ... + """Information about the Connect attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayConnectPeerInput(_SerdeShape): + """Dataclass for CreateTransitGatewayConnectPeerInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the Connect attachment.""" + transit_gateway_address: str | None = ... + """ + The peer IP address (GRE outer IP address) on the transit gateway side + of the Connect peer, which must be specified from a transit gateway CIDR + block. If not specified, Amazon automatically assigns the first + available IP address from the transit gateway CIDR block. + """ + peer_address: str | None = ... + """ + The peer IP address (GRE outer IP address) on the appliance side of the + Connect peer. + """ + bgp_options: TransitGatewayConnectRequestBgpOptions | None = ... + """The BGP options for the Connect peer.""" + inside_cidr_blocks: list[str] | None = ... + """ + The range of inside IP addresses that are used for BGP peering. You must + specify a size /29 IPv4 CIDR block from the `169.254.0.0/16` range. The + first address from the range must be configured on the appliance as the + BGP IP address. You can also optionally specify a size /125 IPv6 CIDR + block from the `fd00::/8` range. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the Connect peer.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayConnectPeerOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayConnectPeerOutput structure.""" + + transit_gateway_connect_peer: TransitGatewayConnectPeer | None = ... + """Information about the Connect peer.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayConnectRequestOptions(_SerdeShape): + """The options for a Connect attachment.""" + + protocol: str | None = ... + """The tunnel protocol.""" + +@dataclass(kw_only=True) +class CreateTransitGatewayInput(_SerdeShape): + """Dataclass for CreateTransitGatewayInput structure.""" + + description: str | None = ... + """A description of the transit gateway.""" + options: TransitGatewayRequestOptions | None = ... + """The transit gateway options.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the transit gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayMeteringPolicyEntryInput(_SerdeShape): + """Dataclass for CreateTransitGatewayMeteringPolicyEntryInput structure.""" + + transit_gateway_metering_policy_id: str | None = ... + """The ID of the transit gateway metering policy to add the entry to.""" + policy_rule_number: int | None = ... + """ + The rule number for the metering policy entry. Rules are processed in + order from lowest to highest number. + """ + source_transit_gateway_attachment_id: str | None = ... + """The ID of the source transit gateway attachment for traffic matching.""" + source_transit_gateway_attachment_type: str | None = ... + """ + The type of the source transit gateway attachment for traffic matching. + Note that the `tgw-peering` resource type has been deprecated. To + configure metering policies for Connect, use the transport attachment + type. + """ + source_cidr_block: str | None = ... + """The source CIDR block for traffic matching.""" + source_port_range: str | None = ... + """The source port range for traffic matching.""" + destination_transit_gateway_attachment_id: str | None = ... + """ + The ID of the destination transit gateway attachment for traffic + matching. + """ + destination_transit_gateway_attachment_type: str | None = ... + """ + The type of the destination transit gateway attachment for traffic + matching. Note that the `tgw-peering` resource type has been deprecated. + To configure metering policies for Connect, use the transport attachment + type. + """ + destination_cidr_block: str | None = ... + """The destination CIDR block for traffic matching.""" + destination_port_range: str | None = ... + """The destination port range for traffic matching.""" + protocol: str | None = ... + """The protocol for traffic matching (1, 6, 17, etc.).""" + metered_account: str | None = ... + """ + The Amazon Web Services account ID to which the metered traffic should + be attributed. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayMeteringPolicyEntryOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayMeteringPolicyEntryOutput structure.""" + + transit_gateway_metering_policy_entry: ( + TransitGatewayMeteringPolicyEntry | None + ) = ... + """Information about the created transit gateway metering policy entry.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayMeteringPolicyInput(_SerdeShape): + """Dataclass for CreateTransitGatewayMeteringPolicyInput structure.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway for which to create the metering policy.""" + middlebox_attachment_ids: list[str] | None = ... + """The IDs of the middlebox attachments to include in the metering policy.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the metering policy.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayMeteringPolicyOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayMeteringPolicyOutput structure.""" + + transit_gateway_metering_policy: TransitGatewayMeteringPolicy | None = ... + """Information about the created transit gateway metering policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayMulticastDomainInput(_SerdeShape): + """Dataclass for CreateTransitGatewayMulticastDomainInput structure.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + options: CreateTransitGatewayMulticastDomainRequestOptions | None = ... + """The options for the transit gateway multicast domain.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags for the transit gateway multicast domain.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayMulticastDomainOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayMulticastDomainOutput structure.""" + + transit_gateway_multicast_domain: TransitGatewayMulticastDomain | None = ... + """Information about the transit gateway multicast domain.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayMulticastDomainRequestOptions(_SerdeShape): + """The options for the transit gateway multicast domain.""" + + igmpv2_support: str | None = ... + """ + Specify whether to enable Internet Group Management Protocol (IGMP) + version 2 for the transit gateway multicast domain. + """ + static_sources_support: str | None = ... + """ + Specify whether to enable support for statically configuring multicast + group sources for a domain. + """ + auto_accept_shared_associations: str | None = ... + """ + Indicates whether to automatically accept cross-account subnet + associations that are associated with the transit gateway multicast + domain. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayOutput structure.""" + + transit_gateway: TransitGateway | None = ... + """Information about the transit gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayPeeringAttachmentInput(_SerdeShape): + """Dataclass for CreateTransitGatewayPeeringAttachmentInput structure.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + peer_transit_gateway_id: str | None = ... + """ + The ID of the peer transit gateway with which to create the peering + attachment. + """ + peer_account_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the peer transit + gateway. + """ + peer_region: str | None = ... + """The Region where the peer transit gateway is located.""" + options: CreateTransitGatewayPeeringAttachmentRequestOptions | None = ... + """Requests a transit gateway peering attachment.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the transit gateway peering attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayPeeringAttachmentOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayPeeringAttachmentOutput structure.""" + + transit_gateway_peering_attachment: TransitGatewayPeeringAttachment | None = ... + """The transit gateway peering attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayPeeringAttachmentRequestOptions(_SerdeShape): + """ + Describes whether dynamic routing is enabled or disabled for the transit + gateway peering request. + """ + + dynamic_routing: str | None = ... + """Indicates whether dynamic routing is enabled or disabled.""" + +@dataclass(kw_only=True) +class CreateTransitGatewayPolicyTableEntryInput(_SerdeShape): + """Dataclass for CreateTransitGatewayPolicyTableEntryInput structure.""" + + transit_gateway_policy_table_id: str | None = ... + """The ID of the transit gateway policy table.""" + policy_rule_number: str | None = ... + """ + The rule number for the policy table entry. Lower rule numbers are + evaluated first and take precedence. + """ + policy_rule: TransitGatewayRequestPolicyRule | None = ... + """The matching criteria for the policy table entry.""" + target_route_table_id: str | None = ... + """ + The ID of the transit gateway route table to use for traffic matching + this rule. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayPolicyTableEntryOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayPolicyTableEntryOutput structure.""" + + transit_gateway_policy_table_entry: TransitGatewayPolicyTableEntry | None = ... + """Describes a transit gateway policy table entry""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayPolicyTableInput(_SerdeShape): + """Dataclass for CreateTransitGatewayPolicyTableInput structure.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway used for the policy table.""" + tag_specifications: list[TagSpecification] | None = ... + """ + The tags specification for the transit gateway policy table created + during the request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayPolicyTableOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayPolicyTableOutput structure.""" + + transit_gateway_policy_table: TransitGatewayPolicyTable | None = ... + """Describes the created transit gateway policy table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayPrefixListReferenceInput(_SerdeShape): + """Dataclass for CreateTransitGatewayPrefixListReferenceInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + prefix_list_id: str | None = ... + """The ID of the prefix list that is used for destination matches.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment to which traffic is routed.""" + blackhole: bool | None = ... + """Indicates whether to drop traffic that matches this route.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayPrefixListReferenceOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayPrefixListReferenceOutput structure.""" + + transit_gateway_prefix_list_reference: ( + TransitGatewayPrefixListReference | None + ) = ... + """Information about the prefix list reference.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayRouteInput(_SerdeShape): + """Dataclass for CreateTransitGatewayRouteInput structure.""" + + destination_cidr_block: str | None = ... + """ + The CIDR range used for destination matches. Routing decisions are based + on the most specific match. + """ + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + blackhole: bool | None = ... + """Indicates whether to drop traffic that matches this route.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayRouteOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayRouteOutput structure.""" + + route: TransitGatewayRoute | None = ... + """Information about the route.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayRouteTableAnnouncementInput(_SerdeShape): + """Dataclass for CreateTransitGatewayRouteTableAnnouncementInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + peering_attachment_id: str | None = ... + """The ID of the peering attachment.""" + tag_specifications: list[TagSpecification] | None = ... + """ + The tags specifications applied to the transit gateway route table + announcement. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayRouteTableAnnouncementOutput(_SerdeShape): + """ + Dataclass for CreateTransitGatewayRouteTableAnnouncementOutput + structure. + """ + + transit_gateway_route_table_announcement: ( + TransitGatewayRouteTableAnnouncement | None + ) = ... + """Provides details about the transit gateway route table announcement.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayRouteTableInput(_SerdeShape): + """Dataclass for CreateTransitGatewayRouteTableInput structure.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the transit gateway route table.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayRouteTableOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayRouteTableOutput structure.""" + + transit_gateway_route_table: TransitGatewayRouteTable | None = ... + """Information about the transit gateway route table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayVpcAttachmentInput(_SerdeShape): + """Dataclass for CreateTransitGatewayVpcAttachmentInput structure.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + subnet_ids: list[str] | None = ... + """ + The IDs of one or more subnets. You can specify only one subnet per + Availability Zone. You must specify at least one subnet, but we + recommend that you specify two subnets for better availability. The + transit gateway uses one IP address from each specified subnet. + """ + options: CreateTransitGatewayVpcAttachmentRequestOptions | None = ... + """The VPC attachment options.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the VPC attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayVpcAttachmentOutput(_SerdeShape): + """Dataclass for CreateTransitGatewayVpcAttachmentOutput structure.""" + + transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... + """Information about the VPC attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTransitGatewayVpcAttachmentRequestOptions(_SerdeShape): + """Describes the options for a VPC attachment.""" + + dns_support: str | None = ... + """Enable or disable DNS support. The default is `enable`.""" + security_group_referencing_support: str | None = ... + """ + Enables you to reference a security group across VPCs attached to a + transit gateway to simplify security group management. + + This option is set to `enable` by default. However, at the transit + gateway level the default is set to `disable`. + + For more information about security group referencing, see [Security + group + referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) + in the *Amazon Web Services Transit Gateways Guide*. + """ + ipv6_support: str | None = ... + """ + Specifies whether IPv6 support is enabled for the attachment. When + enabled, the transit gateway network interface receives an IPv6 address. + When you enable route propagation, IPv6 VPC CIDRs propagate to the + transit gateway route tables. When disabled, the network interface does + not receive an IPv6 address, and IPv6 routes do not propagate. The + setting does not filter IPv6 traffic. The default is `disable`. + """ + appliance_mode_support: str | None = ... + """ + Enable or disable support for appliance mode. If enabled, a traffic flow + between a source and destination uses the same Availability Zone for the + VPC attachment for the lifetime of that flow. The default is `disable`. + """ + +@dataclass(kw_only=True) +class CreateVerifiedAccessEndpointCidrOptions(_SerdeShape): + """Describes the CIDR options for a Verified Access endpoint.""" + + protocol: str | None = ... + """The protocol.""" + subnet_ids: list[str] | None = ... + """The IDs of the subnets.""" + cidr: str | None = ... + """The CIDR.""" + port_ranges: list[CreateVerifiedAccessEndpointPortRange] | None = ... + """The port ranges.""" + +@dataclass(kw_only=True) +class CreateVerifiedAccessEndpointEniOptions(_SerdeShape): + """ + Describes the network interface options when creating an Amazon Web + Services Verified Access endpoint using the `network-interface` type. + """ + + network_interface_id: str | None = ... + """The ID of the network interface.""" + protocol: str | None = ... + """The IP protocol.""" + port: int | None = ... + """The IP port number.""" + port_ranges: list[CreateVerifiedAccessEndpointPortRange] | None = ... + """The port ranges.""" + +@dataclass(kw_only=True) +class CreateVerifiedAccessEndpointInput(_SerdeShape): + """Dataclass for CreateVerifiedAccessEndpointInput structure.""" + + verified_access_group_id: str | None = ... + """The ID of the Verified Access group to associate the endpoint with.""" + endpoint_type: str | None = ... + """The type of Verified Access endpoint to create.""" + attachment_type: str | None = ... + """The type of attachment.""" + domain_certificate_arn: str | None = ... + """ + The ARN of the public TLS/SSL certificate in Amazon Web Services + Certificate Manager to associate with the endpoint. The CN in the + certificate must match the DNS name your end users will use to reach + your application. + """ + application_domain: str | None = ... + """The DNS name for users to reach your application.""" + endpoint_domain_prefix: str | None = ... + """ + A custom identifier that is prepended to the DNS name that is generated + for the endpoint. + """ + security_group_ids: list[str] | None = ... + """ + The IDs of the security groups to associate with the Verified Access + endpoint. Required if `AttachmentType` is set to `vpc`. + """ + load_balancer_options: CreateVerifiedAccessEndpointLoadBalancerOptions | None = ... + """ + The load balancer details. This parameter is required if the endpoint + type is `load-balancer`. + """ + network_interface_options: CreateVerifiedAccessEndpointEniOptions | None = ... + """ + The network interface details. This parameter is required if the + endpoint type is `network-interface`. + """ + description: str | None = ... + """A description for the Verified Access endpoint.""" + policy_document: str | None = ... + """The Verified Access policy document.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the Verified Access endpoint.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + sse_specification: VerifiedAccessSseSpecificationRequest | None = ... + """The options for server side encryption.""" + rds_options: CreateVerifiedAccessEndpointRdsOptions | None = ... + """ + The RDS details. This parameter is required if the endpoint type is + `rds`. + """ + cidr_options: CreateVerifiedAccessEndpointCidrOptions | None = ... + """ + The CIDR options. This parameter is required if the endpoint type is + `cidr`. + """ + +@dataclass(kw_only=True) +class CreateVerifiedAccessEndpointLoadBalancerOptions(_SerdeShape): + """ + Describes the load balancer options when creating an Amazon Web Services + Verified Access endpoint using the `load-balancer` type. + """ + + protocol: str | None = ... + """The IP protocol.""" + port: int | None = ... + """The IP port number.""" + load_balancer_arn: str | None = ... + """The ARN of the load balancer.""" + subnet_ids: list[str] | None = ... + """ + The IDs of the subnets. You can specify only one subnet per Availability + Zone. + """ + port_ranges: list[CreateVerifiedAccessEndpointPortRange] | None = ... + """The port ranges.""" + +@dataclass(kw_only=True) +class CreateVerifiedAccessEndpointOutput(_SerdeShape): + """Dataclass for CreateVerifiedAccessEndpointOutput structure.""" + + verified_access_endpoint: VerifiedAccessEndpoint | None = ... + """Details about the Verified Access endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVerifiedAccessEndpointPortRange(_SerdeShape): + """Describes the port range for a Verified Access endpoint.""" + + from_port: int | None = ... + """The start of the port range.""" + to_port: int | None = ... + """The end of the port range.""" + +@dataclass(kw_only=True) +class CreateVerifiedAccessEndpointRdsOptions(_SerdeShape): + """Describes the RDS options for a Verified Access endpoint.""" + + protocol: str | None = ... + """The protocol.""" + port: int | None = ... + """The port.""" + rds_db_instance_arn: str | None = ... + """The ARN of the RDS instance.""" + rds_db_cluster_arn: str | None = ... + """The ARN of the DB cluster.""" + rds_db_proxy_arn: str | None = ... + """The ARN of the RDS proxy.""" + rds_endpoint: str | None = ... + """The RDS endpoint.""" + subnet_ids: list[str] | None = ... + """ + The IDs of the subnets. You can specify only one subnet per Availability + Zone. + """ + +@dataclass(kw_only=True) +class CreateVerifiedAccessGroupInput(_SerdeShape): + """Dataclass for CreateVerifiedAccessGroupInput structure.""" + + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + description: str | None = ... + """A description for the Verified Access group.""" + policy_document: str | None = ... + """The Verified Access policy document.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the Verified Access group.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + sse_specification: VerifiedAccessSseSpecificationRequest | None = ... + """The options for server side encryption.""" + +@dataclass(kw_only=True) +class CreateVerifiedAccessGroupOutput(_SerdeShape): + """Dataclass for CreateVerifiedAccessGroupOutput structure.""" + + verified_access_group: VerifiedAccessGroup | None = ... + """Details about the Verified Access group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVerifiedAccessInstanceInput(_SerdeShape): + """Dataclass for CreateVerifiedAccessInstanceInput structure.""" + + description: str | None = ... + """A description for the Verified Access instance.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the Verified Access instance.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + fips_enabled: bool | None = ... + """ + Enable or disable support for Federal Information Processing Standards + (FIPS) on the instance. + """ + cidr_endpoints_custom_sub_domain: str | None = ... + """The custom subdomain.""" + +@dataclass(kw_only=True) +class CreateVerifiedAccessInstanceOutput(_SerdeShape): + """Dataclass for CreateVerifiedAccessInstanceOutput structure.""" + + verified_access_instance: VerifiedAccessInstance | None = ... + """Details about the Verified Access instance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVerifiedAccessNativeApplicationOidcOptions(_SerdeShape): + """Describes the OpenID Connect (OIDC) options.""" + + public_signing_key_endpoint: str | None = ... + """The public signing key endpoint.""" + issuer: str | None = ... + """The OIDC issuer identifier of the IdP.""" + authorization_endpoint: str | None = ... + """The authorization endpoint of the IdP.""" + token_endpoint: str | None = ... + """The token endpoint of the IdP.""" + user_info_endpoint: str | None = ... + """The user info endpoint of the IdP.""" + client_id: str | None = ... + """The OAuth 2.0 client identifier.""" + client_secret: str | None = ... + """The OAuth 2.0 client secret.""" + scope: str | None = ... + """The set of user claims to be requested from the IdP.""" + +@dataclass(kw_only=True) +class CreateVerifiedAccessTrustProviderDeviceOptions(_SerdeShape): + """ + Describes the options when creating an Amazon Web Services Verified + Access trust provider using the `device` type. + """ + + tenant_id: str | None = ... + """The ID of the tenant application with the device-identity provider.""" + public_signing_key_url: str | None = ... + """ + The URL Amazon Web Services Verified Access will use to verify the + authenticity of the device tokens. + """ + +@dataclass(kw_only=True) +class CreateVerifiedAccessTrustProviderInput(_SerdeShape): + """Dataclass for CreateVerifiedAccessTrustProviderInput structure.""" + + trust_provider_type: str | None = ... + """The type of trust provider.""" + user_trust_provider_type: str | None = ... + """ + The type of user-based trust provider. This parameter is required when + the provider type is `user`. + """ + device_trust_provider_type: str | None = ... + """ + The type of device-based trust provider. This parameter is required when + the provider type is `device`. + """ + oidc_options: CreateVerifiedAccessTrustProviderOidcOptions | None = ... + """ + The options for a OpenID Connect-compatible user-identity trust + provider. This parameter is required when the provider type is `user`. + """ + device_options: CreateVerifiedAccessTrustProviderDeviceOptions | None = ... + """ + The options for a device-based trust provider. This parameter is + required when the provider type is `device`. + """ + policy_reference_name: str | None = ... + """The identifier to be used when working with policy rules.""" + description: str | None = ... + """A description for the Verified Access trust provider.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the Verified Access trust provider.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + sse_specification: VerifiedAccessSseSpecificationRequest | None = ... + """The options for server side encryption.""" + native_application_oidc_options: ( + CreateVerifiedAccessNativeApplicationOidcOptions | None + ) = ... + """The OpenID Connect (OIDC) options.""" + +@dataclass(kw_only=True) +class CreateVerifiedAccessTrustProviderOidcOptions(_SerdeShape): + """ + Describes the options when creating an Amazon Web Services Verified + Access trust provider using the `user` type. + """ + + issuer: str | None = ... + """The OIDC issuer.""" + authorization_endpoint: str | None = ... + """The OIDC authorization endpoint.""" + token_endpoint: str | None = ... + """The OIDC token endpoint.""" + user_info_endpoint: str | None = ... + """The OIDC user info endpoint.""" + client_id: str | None = ... + """The client identifier.""" + client_secret: str | None = ... + """The client secret.""" + scope: str | None = ... + """ + OpenID Connect (OIDC) scopes are used by an application during + authentication to authorize access to a user's details. Each scope + returns a specific set of user attributes. + """ + +@dataclass(kw_only=True) +class CreateVerifiedAccessTrustProviderOutput(_SerdeShape): + """Dataclass for CreateVerifiedAccessTrustProviderOutput structure.""" + + verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... + """Details about the Verified Access trust provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVolumeInput(_SerdeShape): + """Dataclass for CreateVolumeInput structure.""" + + availability_zone: str | None = ... + """ + The ID of the Availability Zone in which to create the volume. For + example, `us-east-1a`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but + not both. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which to create the volume. For + example, `use1-az1`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but + not both. + """ + encrypted: bool | None = ... + """ + Indicates whether the volume should be encrypted. The effect of setting + the encryption state to `true` depends on the volume origin (new or from + a snapshot), starting encryption state, ownership, and whether + encryption by default is enabled. For more information, see [Encryption + by + default](https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default) + in the *Amazon EBS User Guide*. + + Encrypted Amazon EBS volumes must be attached to instances that support + Amazon EBS encryption. For more information, see [Supported instance + types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances). + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS) to provision for the + volume. Required for `io1` and `io2` volumes. Optional for `gp3` + volumes. Omit for all other volume types. + + Valid ranges: + + - gp3: `3,000 `(*default*)` - 80,000` IOPS + + - io1: `100 - 64,000` IOPS + + - io2: `100 - 256,000` IOPS + + Note: + [Instances built on the Nitro + System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) + can support up to 256,000 IOPS. Other instances can support up to 32,000 + IOPS. + """ + kms_key_id: str | None = ... + """ + The identifier of the KMS key to use for Amazon EBS encryption. If this + parameter is not specified, your KMS key for Amazon EBS is used. If + `KmsKeyId` is specified, the encrypted state must be `true`. + + You can specify the KMS key using any of the following: + + - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. + + - Key alias. For example, alias/ExampleAlias. + + - Key ARN. For example, + arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. + + - Alias ARN. For example, + arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. + + Amazon Web Services authenticates the KMS key asynchronously. Therefore, + if you specify an ID, alias, or ARN that is not valid, the action can + appear to complete, but eventually fails. + """ + outpost_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Outpost on which to create the + volume. + + If you intend to use a volume with an instance running on an outpost, + then you must create the volume on the same outpost as the instance. You + can't use a volume created in an Amazon Web Services Region with an + instance on an Amazon Web Services outpost, or the other way around. + """ + size: int | None = ... + """ + The size of the volume, in GiBs. You must specify either a snapshot ID + or a volume size. If you specify a snapshot, the default is the snapshot + size, and you can specify a volume size that is equal to or larger than + the snapshot size. + + Valid sizes: + + - gp2: `1 - 16,384` GiB + + - gp3: `1 - 65,536` GiB + + - io1: `4 - 16,384` GiB + + - io2: `4 - 65,536` GiB + + - st1 and sc1: `125 - 16,384` GiB + + - standard: `1 - 1024` GiB + """ + snapshot_id: str | None = ... + """ + The snapshot from which to create the volume. You must specify either a + snapshot ID or a volume size. + """ + volume_type: str | None = ... + """ + The volume type. This parameter can be one of the following values: + + - General Purpose SSD: `gp2` | `gp3` + + - Provisioned IOPS SSD: `io1` | `io2` + + - Throughput Optimized HDD: `st1` + + - Cold HDD: `sc1` + + - Magnetic: `standard` + + Warning: + Throughput Optimized HDD (`st1`) and Cold HDD (`sc1`) volumes can't be + used as boot volumes. + + For more information, see [Amazon EBS volume + types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) + in the *Amazon EBS User Guide*. + + Default: `gp2` + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the volume during creation.""" + multi_attach_enabled: bool | None = ... + """ + Indicates whether to enable Amazon EBS Multi-Attach. If you enable + Multi-Attach, you can attach the volume to up to 16 [Instances built on + the Nitro + System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) + in the same Availability Zone. This parameter is supported with `io1` + and `io2` volumes only. For more information, see [Amazon EBS + Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html) + in the *Amazon EBS User Guide*. + """ + throughput: int | None = ... + """ + The throughput to provision for the volume, in MiB/s. Supported for + `gp3` volumes only. Omit for all other volume types. + + Valid Range: `125 - 2000` MiB/s + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + volume_initialization_rate: int | None = ... + """ + Specifies the Amazon EBS Provisioned Rate for Volume Initialization + (volume initialization rate), in MiB/s, at which to download the + snapshot blocks from Amazon S3 to the volume. This is also known as + *volume initialization*. Specifying a volume initialization rate ensures + that the volume is initialized at a predictable and consistent rate + after creation. + + This parameter is supported only for volumes created from snapshots. + Omit this parameter if: + + - You want to create the volume using fast snapshot restore. You must + specify a snapshot that is enabled for fast snapshot restore. In this + case, the volume is fully initialized at creation. + + Note: + If you specify a snapshot that is enabled for fast snapshot restore + and a volume initialization rate, the volume will be initialized at + the specified rate instead of fast snapshot restore. + + - You want to create a volume that is initialized at the default rate. + + For more information, see [Initialize Amazon EBS + volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) + in the *Amazon EC2 User Guide*. + + Valid range: 100 - 300 MiB/s + """ + operator: OperatorRequest | None = ... + """Reserved for internal use.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateVolumeOutput(_SerdeShape): + """Describes a volume.""" + + availability_zone_id: str | None = ... + """The ID of the Availability Zone for the volume.""" + outpost_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + source_volume_id: str | None = ... + """ + The ID of the source volume from which the volume copy was created. Only + for volume copies. + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS). For `gp3`, `io1`, and + `io2` volumes, this represents the number of IOPS that are provisioned + for the volume. For `gp2` volumes, this represents the baseline + performance of the volume and the rate at which the volume accumulates + I/O credits for bursting. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the volume.""" + volume_type: str | None = ... + """The volume type.""" + fast_restored: bool | None = ... + """ + Note: + This parameter is not returned by CreateVolume. + + Indicates whether the volume was created using fast snapshot restore. + """ + multi_attach_enabled: bool | None = ... + """Indicates whether Amazon EBS Multi-Attach is enabled.""" + throughput: int | None = ... + """The throughput that the volume supports, in MiB/s.""" + sse_type: str | None = ... + """ + Note: + This parameter is not returned by CreateVolume. + + Reserved for future use. + """ + operator: OperatorResponse | None = ... + """The service provider that manages the volume.""" + volume_initialization_rate: int | None = ... + """ + The Amazon EBS Provisioned Rate for Volume Initialization (volume + initialization rate) specified for the volume during creation, in MiB/s. + If no volume initialization rate was specified, the value is `null`. + """ + volume_arn: str | None = ... + """The Amazon Resource Name (ARN) of the volume.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the volume.""" + volume_id: str | None = ... + """The ID of the volume.""" + size: int | None = ... + """The size of the volume, in GiBs.""" + snapshot_id: str | None = ... + """The snapshot from which the volume was created, if applicable.""" + availability_zone: str | None = ... + """The Availability Zone for the volume.""" + state: str | None = ... + """The volume state.""" + create_time: datetime | None = ... + """The time stamp when volume creation was initiated.""" + attachments: list[VolumeAttachment] | None = ... + """ + Note: + This parameter is not returned by CreateVolume. + + Information about the volume attachments. + """ + encrypted: bool | None = ... + """Indicates whether the volume is encrypted.""" + kms_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS key that was used to protect + the volume encryption key for the volume. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVolumePermission(_SerdeShape): + """ + Describes the user or group to be added or removed from the list of + create volume permissions for a volume. + """ + + user_id: str | None = ... + """The ID of the Amazon Web Services account to be added or removed.""" + group: str | None = ... + """The group to be added or removed. The possible value is `all`.""" + +@dataclass(kw_only=True) +class CreateVolumePermissionModifications(_SerdeShape): + """ + Describes modifications to the list of create volume permissions for a + volume. + """ + + add: list[CreateVolumePermission] | None = ... + """Adds the specified Amazon Web Services account ID or group to the list.""" + remove: list[CreateVolumePermission] | None = ... + """ + Removes the specified Amazon Web Services account ID or group from the + list. + """ + +@dataclass(kw_only=True) +class CreateVpcBlockPublicAccessExclusionInput(_SerdeShape): + """Dataclass for CreateVpcBlockPublicAccessExclusionInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + subnet_id: str | None = ... + """A subnet ID.""" + vpc_id: str | None = ... + """A VPC ID.""" + internet_gateway_exclusion_mode: str | None = ... + """ + The exclusion mode for internet gateway traffic. + + - `allow-bidirectional`: Allow all internet traffic to and from the + excluded VPCs and subnets. + + - `allow-egress`: Allow outbound internet traffic from the excluded VPCs + and subnets. Block inbound internet traffic to the excluded VPCs and + subnets. Only applies when VPC Block Public Access is set to + Bidirectional. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + `tag` - 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 `Owner` + and the value `TeamA`, specify `tag:Owner` for the filter name and + `TeamA` for the filter value. + """ + +@dataclass(kw_only=True) +class CreateVpcBlockPublicAccessExclusionOutput(_SerdeShape): + """Dataclass for CreateVpcBlockPublicAccessExclusionOutput structure.""" + + vpc_block_public_access_exclusion: VpcBlockPublicAccessExclusion | None = ... + """Details about an exclusion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpcEncryptionControlInput(_SerdeShape): + """Dataclass for CreateVpcEncryptionControlInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_id: str | None = ... + """ + The ID of the VPC for which to create the encryption control + configuration. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the VPC Encryption Control resource.""" + +@dataclass(kw_only=True) +class CreateVpcEncryptionControlOutput(_SerdeShape): + """Dataclass for CreateVpcEncryptionControlOutput structure.""" + + vpc_encryption_control: VpcEncryptionControl | None = ... + """Information about the VPC Encryption Control configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpcEndpointConnectionNotificationInput(_SerdeShape): + """Dataclass for CreateVpcEndpointConnectionNotificationInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_id: str | None = ... + """The ID of the endpoint service.""" + vpc_endpoint_id: str | None = ... + """The ID of the endpoint.""" + connection_notification_arn: str | None = ... + """The ARN of the SNS topic for the notifications.""" + connection_events: list[str] | None = ... + """ + The endpoint events for which to receive notifications. Valid values are + `Accept`, `Connect`, `Delete`, and `Reject`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + +@dataclass(kw_only=True) +class CreateVpcEndpointConnectionNotificationOutput(_SerdeShape): + """Dataclass for CreateVpcEndpointConnectionNotificationOutput structure.""" + + connection_notification: ConnectionNotification | None = ... + """Information about the notification.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpcEndpointInput(_SerdeShape): + """Dataclass for CreateVpcEndpointInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_endpoint_type: str | None = ... + """ + The type of endpoint. + + For more information about the types of VPC endpoints, see [VPC + endpoints](https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html#concepts-vpc-endpoints) + in the *Amazon Web Services PrivateLink User Guide*. + + Default: Gateway + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + service_name: str | None = ... + """The name of the endpoint service.""" + policy_document: str | None = ... + """ + (Interface and gateway endpoints) A policy to attach to the endpoint + that controls access to the service. The policy must be in valid JSON + format. If this parameter is not specified, we attach a default policy + that allows full access to the service. + """ + route_table_ids: list[str] | None = ... + """(Gateway endpoint) The route table IDs.""" + subnet_ids: list[str] | None = ... + """ + (Interface, Gateway Load Balancer endpoints, Resource, ServiceNetwork, + and Tunnel endpoints only) The IDs of the subnets in which to create + endpoint network interfaces. For a Gateway Load Balancer endpoint, you + can specify only one subnet. For a `Tunnel` endpoint, the subnets must + be in the Availability Zones of the resource gateway associated with the + shared resource configuration. An endpoint network interface is created + only in an Availability Zone that the resource gateway is also in. + """ + security_group_ids: list[str] | None = ... + """ + (Interface, Resource, ServiceNetwork, and Tunnel endpoints only) The IDs + of the security groups to associate with the endpoint network + interfaces. If this parameter is not specified, we use the default + security group for the VPC. + """ + ip_address_type: str | None = ... + """The IP address type for the endpoint.""" + dns_options: DnsOptionsSpecification | None = ... + """The DNS options for the endpoint.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + private_dns_enabled: bool | None = ... + """ + (Interface endpoint) Indicates whether to associate a private hosted + zone with the specified VPC. The private hosted zone contains a record + set for the default public DNS name for the service for the Region (for + example, `kinesis.us-east-1.amazonaws.com`), which resolves to the + private IP addresses of the endpoint network interfaces in the VPC. This + enables you to make requests to the default public DNS name for the + service instead of the public DNS names that are automatically generated + by the VPC endpoint service. + + To use a private hosted zone, you must set the following VPC attributes + to `true`: `enableDnsHostnames` and `enableDnsSupport`. Use + ModifyVpcAttribute to set the VPC attributes. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to associate with the endpoint.""" + subnet_configurations: list[SubnetConfiguration] | None = ... + """The subnet configurations for the endpoint.""" + service_network_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a service network that will be + associated with the VPC endpoint of type service-network. + """ + resource_configuration_arn: str | None = ... + """ + (Resource and Tunnel endpoints only) The Amazon Resource Name (ARN) of a + resource configuration associated with the VPC endpoint. The type of + resource configuration depends on the endpoint type: + + - For a Resource endpoint, you can specify a resource configuration that + is of type `SINGLE`, `GROUP`, or `ARN`. To reach a resource that + belongs to a group, specify the parent `GROUP` resource configuration. + + - For a Tunnel endpoint, you can specify a resource configuration that + is of type `CIDR`. + + For more information about the types of resource configurations, see + [Types of resource + configurations](https://docs.aws.amazon.com/vpc/latest/privatelink/resource-configuration.html) + in the *Amazon Web Services PrivateLink User Guide*. + + This request fails if a VPC endpoint owned by a different Amazon Web + Services account already exists on a resource gateway that is enabled + for `ResourceGatewayCharges` payer responsibility. + """ + service_region: str | None = ... + """ + The Region where the service is hosted. The default is the current + Region. + """ + +@dataclass(kw_only=True) +class CreateVpcEndpointOutput(_SerdeShape): + """Dataclass for CreateVpcEndpointOutput structure.""" + + vpc_endpoint: VpcEndpoint | None = ... + """Information about the endpoint.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpcEndpointServiceConfigurationInput(_SerdeShape): + """Dataclass for CreateVpcEndpointServiceConfigurationInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + acceptance_required: bool | None = ... + """ + Indicates whether requests from service consumers to create an endpoint + to your service must be accepted manually. + """ + private_dns_name: str | None = ... + """ + (Interface endpoint configuration) The private DNS name to assign to the + VPC endpoint service. + """ + network_load_balancer_arns: list[str] | None = ... + """The Amazon Resource Names (ARNs) of the Network Load Balancers.""" + gateway_load_balancer_arns: list[str] | None = ... + """The Amazon Resource Names (ARNs) of the Gateway Load Balancers.""" + supported_ip_address_types: list[str] | None = ... + """ + The supported IP address types. The possible values are `ipv4` and + `ipv6`. + """ + supported_regions: list[str] | None = ... + """The Regions from which service consumers can access the service.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [How to ensure + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to associate with the service.""" + +@dataclass(kw_only=True) +class CreateVpcEndpointServiceConfigurationOutput(_SerdeShape): + """Dataclass for CreateVpcEndpointServiceConfigurationOutput structure.""" + + service_configuration: ServiceConfiguration | None = ... + """Information about the service configuration.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpcInput(_SerdeShape): + """Dataclass for CreateVpcInput structure.""" + + cidr_block: str | None = ... + """ + The IPv4 network range for the VPC, in CIDR notation. For example, + `10.0.0.0/16`. We modify the specified CIDR block to its canonical form; + for example, if you specify `100.68.0.18/18`, we modify it to + `100.68.0.0/18`. + """ + ipv6_pool: str | None = ... + """ + The ID of an IPv6 address pool from which to allocate the IPv6 CIDR + block. + """ + ipv6_cidr_block: str | None = ... + """ + The IPv6 CIDR block from the IPv6 address pool. You must also specify + `Ipv6Pool` in the request. + + To let Amazon choose the IPv6 CIDR block for you, omit this parameter. + """ + ipv4_ipam_pool_id: str | None = ... + """ + The ID of an IPv4 IPAM pool you want to use for allocating this VPC's + CIDR. For more information, see [What is + IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + ipv4_netmask_length: int | None = ... + """ + The netmask length of the IPv4 CIDR you want to allocate to this VPC + from an Amazon VPC IP Address Manager (IPAM) pool. For more information + about IPAM, see [What is + IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + ipv6_ipam_pool_id: str | None = ... + """ + The ID of an IPv6 IPAM pool which will be used to allocate this VPC an + IPv6 CIDR. IPAM is a VPC feature that you can use to automate your IP + address management workflows including assigning, tracking, + troubleshooting, and auditing IP addresses across Amazon Web Services + Regions and accounts throughout your Amazon Web Services Organization. + For more information, see [What is + IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + ipv6_netmask_length: int | None = ... + """ + The netmask length of the IPv6 CIDR you want to allocate to this VPC + from an Amazon VPC IP Address Manager (IPAM) pool. For more information + about IPAM, see [What is + IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + ipv6_cidr_block_network_border_group: str | None = ... + """ + The name of the location from which we advertise the IPV6 CIDR block. + Use this parameter to limit the address to this location. + + You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this + parameter. + """ + vpc_encryption_control: VpcEncryptionControlConfiguration | None = ... + """ + Specifies the encryption control configuration to apply to the VPC + during creation. VPC Encryption Control enables you to enforce + encryption for all data in transit within and between VPCs to meet + compliance requirements. + + For more information, see [Enforce VPC encryption in + transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) + in the *Amazon VPC User Guide*. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the VPC.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_tenancy: str | None = ... + """ + The tenancy options for instances launched into the VPC. For `default`, + instances are launched with shared tenancy by default. You can launch + instances with any tenancy into a shared tenancy VPC. For `dedicated`, + instances are launched as dedicated tenancy instances by default. You + can only launch instances with a tenancy of `dedicated` or `host` into a + dedicated tenancy VPC. + + **Important:** The `host` value cannot be used with this parameter. Use + the `default` or `dedicated` values only. + + Default: `default` + """ + amazon_provided_ipv6_cidr_block: bool | None = ... + """ + Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for + the VPC. You cannot specify the range of IP addresses, or the size of + the CIDR block. + """ + +@dataclass(kw_only=True) +class CreateVpcOutput(_SerdeShape): + """Dataclass for CreateVpcOutput structure.""" + + vpc: Vpc | None = ... + """Information about the VPC.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpcPeeringConnectionInput(_SerdeShape): + """Dataclass for CreateVpcPeeringConnectionInput structure.""" + + peer_region: str | None = ... + """ + The Region code for the accepter VPC, if the accepter VPC is located in + a Region other than the Region in which you make the request. + + Default: The Region in which you make the request. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to assign to the peering connection.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_id: str | None = ... + """ + The ID of the requester VPC. You must specify this parameter in the + request. + """ + peer_vpc_id: str | None = ... + """ + The ID of the VPC with which you are creating the VPC peering + connection. You must specify this parameter in the request. + """ + peer_owner_id: str | None = ... + """ + The Amazon Web Services account ID of the owner of the accepter VPC. + + Default: Your Amazon Web Services account ID + """ + +@dataclass(kw_only=True) +class CreateVpcPeeringConnectionOutput(_SerdeShape): + """Dataclass for CreateVpcPeeringConnectionOutput structure.""" + + vpc_peering_connection: VpcPeeringConnection | None = ... + """Information about the VPC peering connection.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpnConcentratorInput(_SerdeShape): + """Dataclass for CreateVpnConcentratorInput structure.""" + + type: str | None = ... + """The type of VPN concentrator to create.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway to attach the VPN concentrator to.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the VPN concentrator during creation.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateVpnConcentratorOutput(_SerdeShape): + """Dataclass for CreateVpnConcentratorOutput structure.""" + + vpn_concentrator: VpnConcentrator | None = ... + """Information about the VPN concentrator.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpnConnectionInput(_SerdeShape): + """Contains the parameters for CreateVpnConnection.""" + + customer_gateway_id: str | None = ... + """The ID of the customer gateway.""" + type: str | None = ... + """The type of VPN connection (`ipsec.1`).""" + vpn_gateway_id: str | None = ... + """ + The ID of the virtual private gateway. If you specify a virtual private + gateway, you cannot specify a transit gateway. + """ + transit_gateway_id: str | None = ... + """ + The ID of the transit gateway. If you specify a transit gateway, you + cannot specify a virtual private gateway. + """ + vpn_concentrator_id: str | None = ... + """The ID of the VPN concentrator to associate with the VPN connection.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the VPN connection.""" + pre_shared_key_storage: str | None = ... + """ + Specifies the storage mode for the pre-shared key (PSK). Valid values + are `Standard`\" (stored in the Site-to-Site VPN service) or + `SecretsManager` (stored in Amazon Web Services Secrets Manager). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + options: VpnConnectionOptionsSpecification | None = ... + """The options for the VPN connection.""" + +@dataclass(kw_only=True) +class CreateVpnConnectionOutput(_SerdeShape): + """Contains the output of CreateVpnConnection.""" + + vpn_connection: VpnConnection | None = ... + """Information about the VPN connection.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpnConnectionRouteInput(_SerdeShape): + """Contains the parameters for CreateVpnConnectionRoute.""" + + destination_cidr_block: str | None = ... + """The CIDR block associated with the local subnet of the customer network.""" + vpn_connection_id: str | None = ... + """The ID of the VPN connection.""" + +@dataclass(kw_only=True) +class CreateVpnConnectionRouteOutput(_SerdeShape): + """Dataclass for CreateVpnConnectionRouteOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVpnGatewayInput(_SerdeShape): + """Contains the parameters for CreateVpnGateway.""" + + availability_zone: str | None = ... + """The Availability Zone for the virtual private gateway.""" + type: str | None = ... + """The type of VPN connection this virtual private gateway supports.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the virtual private gateway.""" + amazon_side_asn: int | None = ... + """ + A private Autonomous System Number (ASN) for the Amazon side of a BGP + session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 + range. If you're using a 32-bit ASN, it must be in the 4200000000 to + 4294967294 range. + + Default: 64512 + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class CreateVpnGatewayOutput(_SerdeShape): + """Contains the output of CreateVpnGateway.""" + + vpn_gateway: VpnGateway | None = ... + """Information about the virtual private gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreationDateCondition(_SerdeShape): + """The maximum age for allowed images.""" + + maximum_days_since_created: int | None = ... + """ + The maximum number of days that have elapsed since the image was + created. For example, a value of `300` allows images that were created + within the last 300 days. + """ + +@dataclass(kw_only=True) +class CreationDateConditionRequest(_SerdeShape): + """The maximum age for allowed images.""" + + maximum_days_since_created: int | None = ... + """ + The maximum number of days that have elapsed since the image was + created. For example, a value of `300` allows images that were created + within the last 300 days. + """ + +@dataclass(kw_only=True) +class CreditSpecification(_SerdeShape): + """Describes the credit option for CPU usage of a T instance.""" + + cpu_credits: str | None = ... + """ + The credit option for CPU usage of a T instance. + + Valid values: `standard` | `unlimited` + """ + +@dataclass(kw_only=True) +class CreditSpecificationRequest(_SerdeShape): + """The credit option for CPU usage of a T instance.""" + + cpu_credits: str | None = ... + """ + The credit option for CPU usage of a T instance. + + Valid values: `standard` | `unlimited` + """ + +class CurrencyCodeValues(UnknownEnumMixin, StrEnum): + USD = "USD" + +@dataclass(kw_only=True) +class CustomerGateway(_SerdeShape): + """Describes a customer gateway.""" + + certificate_arn: str | None = ... + """The Amazon Resource Name (ARN) for the customer gateway certificate.""" + device_name: str | None = ... + """The name of customer gateway device.""" + tags: list[Tag] | None = ... + """Any tags assigned to the customer gateway.""" + bgp_asn_extended: str | None = ... + """ + The customer gateway device's Border Gateway Protocol (BGP) Autonomous + System Number (ASN). + + Valid values: `2,147,483,648` to `4,294,967,295` + """ + customer_gateway_id: str | None = ... + """The ID of the customer gateway.""" + state: str | None = ... + """ + The current state of the customer gateway + (`pending | available | deleting | deleted`). + """ + type: str | None = ... + """The type of VPN connection the customer gateway supports (`ipsec.1`).""" + ip_address: str | None = ... + """ + The IP address for the customer gateway device's outside interface. The + address must be static. If `OutsideIpAddressType` in your VPN connection + options is set to `PrivateIpv4`, you can use an RFC6598 or RFC1918 + private IPv4 address. If `OutsideIpAddressType` is set to `PublicIpv4`, + you can use a public IPv4 address. If `OutsideIpAddressType` is set to + `Ipv6`, you can use a public IPv6 address. + """ + bgp_asn: str | None = ... + """ + The customer gateway device's Border Gateway Protocol (BGP) Autonomous + System Number (ASN). + + Valid values: `1` to `2,147,483,647` + """ + +@dataclass(kw_only=True) +class CustomTagKeyValueRequestPair(_SerdeShape): + """ + Describes a tag key-value pair for an application status check + association request. + """ + + key: str | None = ... + """The key of the tag.""" + value: str | None = ... + """The value of the tag.""" + +@dataclass(kw_only=True) +class CustomTagKeyValueResponsePair(_SerdeShape): + """ + Describes a tag key-value pair for an application status check + association. + """ + + key: str | None = ... + """The key of the tag.""" + value: str | None = ... + """The value of the tag.""" + +class DatafeedSubscriptionState(UnknownEnumMixin, StrEnum): + ACTIVE = "Active" + INACTIVE = "Inactive" + +@dataclass(kw_only=True) +class DataQuery(_SerdeShape): + """A query used for retrieving network health data.""" + + id: str | None = ... + """ + A user-defined ID associated with a data query that's returned in the + `dataResponse` identifying the query. For example, if you set the Id to + `MyQuery01`in the query, the `dataResponse` identifies the query as + `MyQuery01`. + """ + source: str | None = ... + """ + The Region or Availability Zone that's the source for the data query. + For example, `us-east-1`. + """ + destination: str | None = ... + """ + The Region or Availability Zone that's the target for the data query. + For example, `eu-north-1`. + """ + metric: str | None = ... + """The metric used for the network performance request.""" + statistic: str | None = ... + """ + The metric data aggregation period, `p50`, between the specified + `startDate` and `endDate`. For example, a metric of `five_minutes` is + the median of all the data points gathered within those five minutes. + `p50` is the only supported metric. + """ + period: str | None = ... + """The aggregation period used for the data query.""" + +@dataclass(kw_only=True) +class DataResponse(_SerdeShape): + """The response to a `DataQuery`.""" + + id: str | None = ... + """The ID passed in the `DataQuery`.""" + source: str | None = ... + """ + The Region or Availability Zone that's the source for the data query. + For example, `us-east-1`. + """ + destination: str | None = ... + """ + The Region or Availability Zone that's the destination for the data + query. For example, `eu-west-1`. + """ + metric: str | None = ... + """The metric used for the network performance request.""" + statistic: str | None = ... + """The statistic used for the network performance request.""" + period: str | None = ... + """The period used for the network performance request.""" + metric_points: list[MetricPoint] | None = ... + """A list of `MetricPoint` objects.""" + +@dataclass(kw_only=True) +class DeclarativePoliciesReport(_SerdeShape): + """Describes the metadata of the account status report.""" + + report_id: str | None = ... + """The ID of the report.""" + s3_bucket: str | None = ... + """The name of the Amazon S3 bucket where the report is located.""" + s3_prefix: str | None = ... + """The prefix for your S3 object.""" + target_id: str | None = ... + """ + The root ID, organizational unit ID, or account ID. + + Format: + + - For root: `r-ab12` + + - For OU: `ou-ab12-cdef1234` + + - For account: `123456789012` + """ + start_time: datetime | None = ... + """The time when the report generation started.""" + end_time: datetime | None = ... + """The time when the report generation ended.""" + status: str | None = ... + """The current status of the report.""" + tags: list[Tag] | None = ... + """Any tags assigned to the report.""" + +@dataclass(kw_only=True) +class DefaultConnectionTrackingConfiguration(_SerdeShape): + """ + Indicates default conntrack information for the instance type. For more + information, see [Connection tracking + timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the Amazon EC2 User Guide. + """ + + default_tcp_established_timeout: int | None = ... + """ + Default timeout (in seconds) for idle TCP connections in an established + state. + """ + default_udp_timeout: int | None = ... + """ + Default timeout (in seconds) for idle UDP flows that have seen traffic + only in a single direction or a single request-response transaction. + """ + default_udp_stream_timeout: int | None = ... + """ + Default timeout (in seconds) for idle UDP flows classified as streams + which have seen more than one request-response transaction. + """ + +class DefaultHttpTokensEnforcedState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + NO_PREFERENCE = "no-preference" + +class DefaultInstanceMetadataEndpointState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + NO_PREFERENCE = "no-preference" + +class DefaultInstanceMetadataTagsState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + NO_PREFERENCE = "no-preference" + +class DefaultRouteTableAssociationValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class DefaultRouteTablePropagationValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class DefaultTargetCapacityType(UnknownEnumMixin, StrEnum): + SPOT = "spot" + ON_DEMAND = "on-demand" + CAPACITY_BLOCK = "capacity-block" + RESERVED_CAPACITY = "reserved-capacity" + +@dataclass(kw_only=True) +class DeleteApplicationStatusCheckInput(_SerdeShape): + """Dataclass for DeleteApplicationStatusCheckInput structure.""" + + application_status_check_id: str | None = ... + """The ID of the application status check to delete.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure that the + operation completes no more than one time. If you retry a request with + the same token, the service ignores the request but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteApplicationStatusCheckOutput(_SerdeShape): + """Dataclass for DeleteApplicationStatusCheckOutput structure.""" + + application_status_check: ApplicationStatusCheckResponseObject | None = ... + """Information about the deleted application status check.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCapacityManagerDataExportInput(_SerdeShape): + """Dataclass for DeleteCapacityManagerDataExportInput structure.""" + + capacity_manager_data_export_id: str | None = ... + """The unique identifier of the data export configuration to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteCapacityManagerDataExportOutput(_SerdeShape): + """Dataclass for DeleteCapacityManagerDataExportOutput structure.""" + + capacity_manager_data_export_id: str | None = ... + """The unique identifier of the deleted data export configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCarrierGatewayInput(_SerdeShape): + """Dataclass for DeleteCarrierGatewayInput structure.""" + + carrier_gateway_id: str | None = ... + """The ID of the carrier gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteCarrierGatewayOutput(_SerdeShape): + """Dataclass for DeleteCarrierGatewayOutput structure.""" + + carrier_gateway: CarrierGateway | None = ... + """Information about the carrier gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteClientVpnEndpointAuthorizationPolicyInput(_SerdeShape): + """Dataclass for DeleteClientVpnEndpointAuthorizationPolicyInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteClientVpnEndpointAuthorizationPolicyOutput(_SerdeShape): + """ + Dataclass for DeleteClientVpnEndpointAuthorizationPolicyOutput + structure. + """ + + status: str | None = ... + """The current state of the authorization policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteClientVpnEndpointInput(_SerdeShape): + """Dataclass for DeleteClientVpnEndpointInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN to be deleted.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteClientVpnEndpointOutput(_SerdeShape): + """Dataclass for DeleteClientVpnEndpointOutput structure.""" + + status: ClientVpnEndpointStatus | None = ... + """The current state of the Client VPN endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteClientVpnRouteInput(_SerdeShape): + """Dataclass for DeleteClientVpnRouteInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint from which the route is to be deleted.""" + target_vpc_subnet_id: str | None = ... + """The ID of the target subnet used by the route.""" + destination_cidr_block: str | None = ... + """The IPv4 address range, in CIDR notation, of the route to be deleted.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteClientVpnRouteOutput(_SerdeShape): + """Dataclass for DeleteClientVpnRouteOutput structure.""" + + status: ClientVpnRouteStatus | None = ... + """The current state of the route.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCoipCidrInput(_SerdeShape): + """Dataclass for DeleteCoipCidrInput structure.""" + + cidr: str | None = ... + """A customer-owned IP address range that you want to delete.""" + coip_pool_id: str | None = ... + """The ID of the customer-owned address pool.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteCoipCidrOutput(_SerdeShape): + """Dataclass for DeleteCoipCidrOutput structure.""" + + coip_cidr: CoipCidr | None = ... + """Information about a range of customer-owned IP addresses.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCoipPoolInput(_SerdeShape): + """Dataclass for DeleteCoipPoolInput structure.""" + + coip_pool_id: str | None = ... + """The ID of the CoIP pool that you want to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteCoipPoolOutput(_SerdeShape): + """Dataclass for DeleteCoipPoolOutput structure.""" + + coip_pool: CoipPool | None = ... + """Information about the CoIP address pool.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCustomerGatewayInput(_SerdeShape): + """Contains the parameters for DeleteCustomerGateway.""" + + customer_gateway_id: str | None = ... + """The ID of the customer gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteCustomerGatewayOutput(_SerdeShape): + """Dataclass for DeleteCustomerGatewayOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDhcpOptionsInput(_SerdeShape): + """Dataclass for DeleteDhcpOptionsInput structure.""" + + dhcp_options_id: str | None = ... + """The ID of the DHCP options set.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteDhcpOptionsOutput(_SerdeShape): + """Dataclass for DeleteDhcpOptionsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteEgressOnlyInternetGatewayInput(_SerdeShape): + """Dataclass for DeleteEgressOnlyInternetGatewayInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + egress_only_internet_gateway_id: str | None = ... + """The ID of the egress-only internet gateway.""" + +@dataclass(kw_only=True) +class DeleteEgressOnlyInternetGatewayOutput(_SerdeShape): + """Dataclass for DeleteEgressOnlyInternetGatewayOutput structure.""" + + return_code: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFleetError(_SerdeShape): + """Describes an EC2 Fleet error.""" + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The description for the error code.""" + +class DeleteFleetErrorCode(UnknownEnumMixin, StrEnum): + FLEET_ID_DOES_NOT_EXIST = "fleetIdDoesNotExist" + FLEET_ID_MALFORMED = "fleetIdMalformed" + FLEET_NOT_IN_DELETABLE_STATE = "fleetNotInDeletableState" + UNEXPECTED_ERROR = "unexpectedError" + +@dataclass(kw_only=True) +class DeleteFleetErrorItem(_SerdeShape): + """Describes an EC2 Fleet that was not successfully deleted.""" + + error: DeleteFleetError | None = ... + """The error.""" + fleet_id: str | None = ... + """The ID of the EC2 Fleet.""" + +@dataclass(kw_only=True) +class DeleteFleetsInput(_SerdeShape): + """Dataclass for DeleteFleetsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + fleet_ids: list[str] | None = ... + """ + The IDs of the EC2 Fleets. + + Constraints: In a single request, you can specify up to 25 `instant` + fleet IDs and up to 100 `maintain` or `request` fleet IDs. + """ + terminate_instances: bool | None = ... + """ + Indicates whether to terminate the associated instances when the EC2 + Fleet is deleted. The default is to terminate the instances. + + To let the instances continue to run after the EC2 Fleet is deleted, + specify `no-terminate-instances`. Supported only for fleets of type + `maintain` and `request`. + + For `instant` fleets, you cannot specify `NoTerminateInstances`. A + deleted `instant` fleet with running instances is not supported. + """ + +@dataclass(kw_only=True) +class DeleteFleetsOutput(_SerdeShape): + """Dataclass for DeleteFleetsOutput structure.""" + + successful_fleet_deletions: list[DeleteFleetSuccessItem] | None = ... + """Information about the EC2 Fleets that are successfully deleted.""" + unsuccessful_fleet_deletions: list[DeleteFleetErrorItem] | None = ... + """Information about the EC2 Fleets that are not successfully deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFleetSuccessItem(_SerdeShape): + """Describes an EC2 Fleet that was successfully deleted.""" + + current_fleet_state: str | None = ... + """The current state of the EC2 Fleet.""" + previous_fleet_state: str | None = ... + """The previous state of the EC2 Fleet.""" + fleet_id: str | None = ... + """The ID of the EC2 Fleet.""" + +@dataclass(kw_only=True) +class DeleteFlowLogsInput(_SerdeShape): + """Dataclass for DeleteFlowLogsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + flow_log_ids: list[str] | None = ... + """ + One or more flow log IDs. + + Constraint: Maximum of 1000 flow log IDs. + """ + +@dataclass(kw_only=True) +class DeleteFlowLogsOutput(_SerdeShape): + """Dataclass for DeleteFlowLogsOutput structure.""" + + unsuccessful: list[UnsuccessfulItem] | None = ... + """Information about the flow logs that could not be deleted successfully.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFpgaImageInput(_SerdeShape): + """Dataclass for DeleteFpgaImageInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + fpga_image_id: str | None = ... + """The ID of the AFI.""" + +@dataclass(kw_only=True) +class DeleteFpgaImageOutput(_SerdeShape): + """Dataclass for DeleteFpgaImageOutput structure.""" + + return_: bool | None = ... + """Is `true` if the request succeeds, and an error otherwise.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteImageUsageReportInput(_SerdeShape): + """Dataclass for DeleteImageUsageReportInput structure.""" + + report_id: str | None = ... + """The ID of the report to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteImageUsageReportOutput(_SerdeShape): + """Dataclass for DeleteImageUsageReportOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteInstanceConnectEndpointInput(_SerdeShape): + """Dataclass for DeleteInstanceConnectEndpointInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_connect_endpoint_id: str | None = ... + """The ID of the EC2 Instance Connect Endpoint to delete.""" + +@dataclass(kw_only=True) +class DeleteInstanceConnectEndpointOutput(_SerdeShape): + """Dataclass for DeleteInstanceConnectEndpointOutput structure.""" + + instance_connect_endpoint: Ec2InstanceConnectEndpoint | None = ... + """Information about the EC2 Instance Connect Endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteInstanceEventWindowInput(_SerdeShape): + """Dataclass for DeleteInstanceEventWindowInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + force_delete: bool | None = ... + """ + Specify `true` to force delete the event window. Use the force delete + parameter if the event window is currently associated with targets. + """ + instance_event_window_id: str | None = ... + """The ID of the event window.""" + +@dataclass(kw_only=True) +class DeleteInstanceEventWindowOutput(_SerdeShape): + """Dataclass for DeleteInstanceEventWindowOutput structure.""" + + instance_event_window_state: InstanceEventWindowStateChange | None = ... + """The state of the event window.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteInternetGatewayInput(_SerdeShape): + """Dataclass for DeleteInternetGatewayInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + internet_gateway_id: str | None = ... + """The ID of the internet gateway.""" + +@dataclass(kw_only=True) +class DeleteInternetGatewayOutput(_SerdeShape): + """Dataclass for DeleteInternetGatewayOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamExternalResourceVerificationTokenInput(_SerdeShape): + """ + Dataclass for DeleteIpamExternalResourceVerificationTokenInput + structure. + """ + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_external_resource_verification_token_id: str | None = ... + """The token ID.""" + +@dataclass(kw_only=True) +class DeleteIpamExternalResourceVerificationTokenOutput(_SerdeShape): + """ + Dataclass for DeleteIpamExternalResourceVerificationTokenOutput + structure. + """ + + ipam_external_resource_verification_token: ( + IpamExternalResourceVerificationToken | None + ) = ... + """The verification token.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamInput(_SerdeShape): + """Dataclass for DeleteIpamInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """The ID of the IPAM to delete.""" + cascade: bool | None = ... + """ + Enables you to quickly delete an IPAM, private scopes, pools in private + scopes, and any allocations in the pools in private scopes. You cannot + delete the IPAM with this option if there is a pool in your public + scope. If you use this option, IPAM does the following: + + - Deallocates any CIDRs allocated to VPC resources (such as VPCs) in + pools in private scopes. + + Note: + No VPC resources are deleted as a result of enabling this option. The + CIDR associated with the resource will no longer be allocated from an + IPAM pool, but the CIDR itself will remain unchanged. + + - Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private + scopes. + + - Deletes all IPAM pools in private scopes. + + - Deletes all non-default private scopes in the IPAM. + + - Deletes the default public and private scopes and the IPAM. + """ + +@dataclass(kw_only=True) +class DeleteIpamInternetRegistryAssociationInput(_SerdeShape): + """Dataclass for DeleteIpamInternetRegistryAssociationInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association to delete.""" + +@dataclass(kw_only=True) +class DeleteIpamInternetRegistryAssociationOutput(_SerdeShape): + """Dataclass for DeleteIpamInternetRegistryAssociationOutput structure.""" + + ipam_internet_registry_association: IpamInternetRegistryAssociation | None = ... + """Information about the deleted internet registry association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamOutput(_SerdeShape): + """Dataclass for DeleteIpamOutput structure.""" + + ipam: Ipam | None = ... + """Information about the results of the deletion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamPolicyInput(_SerdeShape): + """Dataclass for DeleteIpamPolicyInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_policy_id: str | None = ... + """The ID of the IPAM policy to delete.""" + +@dataclass(kw_only=True) +class DeleteIpamPolicyOutput(_SerdeShape): + """Dataclass for DeleteIpamPolicyOutput structure.""" + + ipam_policy: IpamPolicy | None = ... + """ + Information about the deleted IPAM policy. + + An IPAM policy is a set of rules that define how public IPv4 addresses + from IPAM pools are allocated to Amazon Web Services resources. Each + rule maps an Amazon Web Services service to IPAM pools that the service + will use to get IP addresses. A single policy can have multiple rules + and be applied to multiple Amazon Web Services Regions. If the IPAM pool + run out of addresses then the services fallback to Amazon-provided IP + addresses. A policy can be applied to an individual Amazon Web Services + account or an entity within Amazon Web Services Organizations. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamPoolInput(_SerdeShape): + """Dataclass for DeleteIpamPoolInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_id: str | None = ... + """The ID of the pool to delete.""" + cascade: bool | None = ... + """ + Enables you to quickly delete an IPAM pool and all resources within that + pool, including provisioned CIDRs, allocations, and other pools. + + Warning: + You can only use this option to delete pools in the private scope or + pools in the public scope with a source resource. A source resource is a + resource used to provision CIDRs to a resource planning pool. + """ + +@dataclass(kw_only=True) +class DeleteIpamPoolOutput(_SerdeShape): + """Dataclass for DeleteIpamPoolOutput structure.""" + + ipam_pool: IpamPool | None = ... + """Information about the results of the deletion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamPrefixListResolverInput(_SerdeShape): + """Dataclass for DeleteIpamPrefixListResolverInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_prefix_list_resolver_id: str | None = ... + """The ID of the IPAM prefix list resolver to delete.""" + +@dataclass(kw_only=True) +class DeleteIpamPrefixListResolverOutput(_SerdeShape): + """Dataclass for DeleteIpamPrefixListResolverOutput structure.""" + + ipam_prefix_list_resolver: IpamPrefixListResolver | None = ... + """Information about the IPAM prefix list resolver that was deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamPrefixListResolverTargetInput(_SerdeShape): + """Dataclass for DeleteIpamPrefixListResolverTargetInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_prefix_list_resolver_target_id: str | None = ... + """The ID of the IPAM prefix list resolver target to delete.""" + +@dataclass(kw_only=True) +class DeleteIpamPrefixListResolverTargetOutput(_SerdeShape): + """Dataclass for DeleteIpamPrefixListResolverTargetOutput structure.""" + + ipam_prefix_list_resolver_target: IpamPrefixListResolverTarget | None = ... + """Information about the IPAM prefix list resolver target that was deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamResourceDiscoveryInput(_SerdeShape): + """Dataclass for DeleteIpamResourceDiscoveryInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_resource_discovery_id: str | None = ... + """The IPAM resource discovery ID.""" + +@dataclass(kw_only=True) +class DeleteIpamResourceDiscoveryOutput(_SerdeShape): + """Dataclass for DeleteIpamResourceDiscoveryOutput structure.""" + + ipam_resource_discovery: IpamResourceDiscovery | None = ... + """The IPAM resource discovery.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamRoutingPolicyRegistrationInput(_SerdeShape): + """Dataclass for DeleteIpamRoutingPolicyRegistrationInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association.""" + cidr: str | None = ... + """ + The IP address prefix in CIDR notation identifying the routing policy + registration to delete. + """ + force: bool | None = ... + """ + Forces the deletion even if it conflicts with an announced route. + Default: `false`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, the operation ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteIpamRoutingPolicyRegistrationOutput(_SerdeShape): + """Dataclass for DeleteIpamRoutingPolicyRegistrationOutput structure.""" + + ipam_routing_policy_registration_delta: ( + IpamRoutingPolicyRegistrationDelta | None + ) = ... + """ + Information about the routing policy registration delta created by this + deletion. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIpamScopeInput(_SerdeShape): + """Dataclass for DeleteIpamScopeInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_scope_id: str | None = ... + """The ID of the scope to delete.""" + +@dataclass(kw_only=True) +class DeleteIpamScopeOutput(_SerdeShape): + """Dataclass for DeleteIpamScopeOutput structure.""" + + ipam_scope: IpamScope | None = ... + """Information about the results of the deletion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteKeyPairInput(_SerdeShape): + """Dataclass for DeleteKeyPairInput structure.""" + + key_name: str | None = ... + """The name of the key pair.""" + key_pair_id: str | None = ... + """The ID of the key pair.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteKeyPairOutput(_SerdeShape): + """Dataclass for DeleteKeyPairOutput structure.""" + + return_: bool | None = ... + """Is `true` if the request succeeds, and an error otherwise.""" + key_pair_id: str | None = ... + """The ID of the key pair.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLaunchTemplateInput(_SerdeShape): + """Dataclass for DeleteLaunchTemplateInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + launch_template_id: str | None = ... + """ + The ID of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + launch_template_name: str | None = ... + """ + The name of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + +@dataclass(kw_only=True) +class DeleteLaunchTemplateOutput(_SerdeShape): + """Dataclass for DeleteLaunchTemplateOutput structure.""" + + launch_template: LaunchTemplate | None = ... + """Information about the launch template.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLaunchTemplateVersionsInput(_SerdeShape): + """Dataclass for DeleteLaunchTemplateVersionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + launch_template_id: str | None = ... + """ + The ID of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + launch_template_name: str | None = ... + """ + The name of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + versions: list[str] | None = ... + """ + The version numbers of one or more launch template versions to delete. + You can specify up to 200 launch template version numbers. + """ + +@dataclass(kw_only=True) +class DeleteLaunchTemplateVersionsOutput(_SerdeShape): + """Dataclass for DeleteLaunchTemplateVersionsOutput structure.""" + + successfully_deleted_launch_template_versions: ( + list[DeleteLaunchTemplateVersionsResponseSuccessItem] | None + ) = ... + """ + Information about the launch template versions that were successfully + deleted. + """ + unsuccessfully_deleted_launch_template_versions: ( + list[DeleteLaunchTemplateVersionsResponseErrorItem] | None + ) = ... + """ + Information about the launch template versions that could not be + deleted. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLaunchTemplateVersionsResponseErrorItem(_SerdeShape): + """Describes a launch template version that could not be deleted.""" + + launch_template_id: str | None = ... + """The ID of the launch template.""" + launch_template_name: str | None = ... + """The name of the launch template.""" + version_number: int | None = ... + """The version number of the launch template.""" + response_error: ResponseError | None = ... + """Information about the error.""" + +@dataclass(kw_only=True) +class DeleteLaunchTemplateVersionsResponseSuccessItem(_SerdeShape): + """Describes a launch template version that was successfully deleted.""" + + launch_template_id: str | None = ... + """The ID of the launch template.""" + launch_template_name: str | None = ... + """The name of the launch template.""" + version_number: int | None = ... + """The version number of the launch template.""" + +@dataclass(kw_only=True) +class DeleteLocalGatewayRouteInput(_SerdeShape): + """Dataclass for DeleteLocalGatewayRouteInput structure.""" + + destination_cidr_block: str | None = ... + """ + The CIDR range for the route. This must match the CIDR for the route + exactly. + """ + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + destination_prefix_list_id: str | None = ... + """ + Use a prefix list in place of `DestinationCidrBlock`. You cannot use + `DestinationPrefixListId` and `DestinationCidrBlock` in the same + request. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayRouteOutput(_SerdeShape): + """Dataclass for DeleteLocalGatewayRouteOutput structure.""" + + route: LocalGatewayRoute | None = ... + """Information about the route.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayRouteTableInput(_SerdeShape): + """Dataclass for DeleteLocalGatewayRouteTableInput structure.""" + + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayRouteTableOutput(_SerdeShape): + """Dataclass for DeleteLocalGatewayRouteTableOutput structure.""" + + local_gateway_route_table: LocalGatewayRouteTable | None = ... + """Information about the local gateway route table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput(_SerdeShape): + """ + Dataclass for + DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput + structure. + """ + + local_gateway_route_table_virtual_interface_group_association_id: str | None = ... + """ + The ID of the local gateway route table virtual interface group + association. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput(_SerdeShape): + """ + Dataclass for + DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput + structure. + """ + + local_gateway_route_table_virtual_interface_group_association: ( + LocalGatewayRouteTableVirtualInterfaceGroupAssociation | None + ) = ... + """Information about the association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayRouteTableVpcAssociationInput(_SerdeShape): + """Dataclass for DeleteLocalGatewayRouteTableVpcAssociationInput structure.""" + + local_gateway_route_table_vpc_association_id: str | None = ... + """The ID of the association.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayRouteTableVpcAssociationOutput(_SerdeShape): + """ + Dataclass for DeleteLocalGatewayRouteTableVpcAssociationOutput + structure. + """ + + local_gateway_route_table_vpc_association: ( + LocalGatewayRouteTableVpcAssociation | None + ) = ... + """Information about the association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayVirtualInterfaceGroupInput(_SerdeShape): + """Dataclass for DeleteLocalGatewayVirtualInterfaceGroupInput structure.""" + + local_gateway_virtual_interface_group_id: str | None = ... + """The ID of the local gateway virtual interface group to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayVirtualInterfaceGroupOutput(_SerdeShape): + """Dataclass for DeleteLocalGatewayVirtualInterfaceGroupOutput structure.""" + + local_gateway_virtual_interface_group: ( + LocalGatewayVirtualInterfaceGroup | None + ) = ... + """Information about the deleted local gateway virtual interface group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayVirtualInterfaceInput(_SerdeShape): + """Dataclass for DeleteLocalGatewayVirtualInterfaceInput structure.""" + + local_gateway_virtual_interface_id: str | None = ... + """The ID of the local virtual interface to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteLocalGatewayVirtualInterfaceOutput(_SerdeShape): + """Dataclass for DeleteLocalGatewayVirtualInterfaceOutput structure.""" + + local_gateway_virtual_interface: LocalGatewayVirtualInterface | None = ... + """Information about the deleted local gateway virtual interface.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteManagedPrefixListInput(_SerdeShape): + """Dataclass for DeleteManagedPrefixListInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + +@dataclass(kw_only=True) +class DeleteManagedPrefixListOutput(_SerdeShape): + """Dataclass for DeleteManagedPrefixListOutput structure.""" + + prefix_list: ManagedPrefixList | None = ... + """Information about the prefix list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteNatGatewayInput(_SerdeShape): + """Dataclass for DeleteNatGatewayInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + +@dataclass(kw_only=True) +class DeleteNatGatewayOutput(_SerdeShape): + """Dataclass for DeleteNatGatewayOutput structure.""" + + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteNetworkAclEntryInput(_SerdeShape): + """Dataclass for DeleteNetworkAclEntryInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_acl_id: str | None = ... + """The ID of the network ACL.""" + rule_number: int | None = ... + """The rule number of the entry to delete.""" + egress: bool | None = ... + """Indicates whether the rule is an egress rule.""" + +@dataclass(kw_only=True) +class DeleteNetworkAclEntryOutput(_SerdeShape): + """Dataclass for DeleteNetworkAclEntryOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteNetworkAclInput(_SerdeShape): + """Dataclass for DeleteNetworkAclInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_acl_id: str | None = ... + """The ID of the network ACL.""" + +@dataclass(kw_only=True) +class DeleteNetworkAclOutput(_SerdeShape): + """Dataclass for DeleteNetworkAclOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteNetworkInsightsAccessScopeAnalysisInput(_SerdeShape): + """Dataclass for DeleteNetworkInsightsAccessScopeAnalysisInput structure.""" + + network_insights_access_scope_analysis_id: str | None = ... + """The ID of the Network Access Scope analysis.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteNetworkInsightsAccessScopeAnalysisOutput(_SerdeShape): + """Dataclass for DeleteNetworkInsightsAccessScopeAnalysisOutput structure.""" + + network_insights_access_scope_analysis_id: str | None = ... + """The ID of the Network Access Scope analysis.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteNetworkInsightsAccessScopeInput(_SerdeShape): + """Dataclass for DeleteNetworkInsightsAccessScopeInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_insights_access_scope_id: str | None = ... + """The ID of the Network Access Scope.""" + +@dataclass(kw_only=True) +class DeleteNetworkInsightsAccessScopeOutput(_SerdeShape): + """Dataclass for DeleteNetworkInsightsAccessScopeOutput structure.""" + + network_insights_access_scope_id: str | None = ... + """The ID of the Network Access Scope.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteNetworkInsightsAnalysisInput(_SerdeShape): + """Dataclass for DeleteNetworkInsightsAnalysisInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_insights_analysis_id: str | None = ... + """The ID of the network insights analysis.""" + +@dataclass(kw_only=True) +class DeleteNetworkInsightsAnalysisOutput(_SerdeShape): + """Dataclass for DeleteNetworkInsightsAnalysisOutput structure.""" + + network_insights_analysis_id: str | None = ... + """The ID of the network insights analysis.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteNetworkInsightsPathInput(_SerdeShape): + """Dataclass for DeleteNetworkInsightsPathInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_insights_path_id: str | None = ... + """The ID of the path.""" + +@dataclass(kw_only=True) +class DeleteNetworkInsightsPathOutput(_SerdeShape): + """Dataclass for DeleteNetworkInsightsPathOutput structure.""" + + network_insights_path_id: str | None = ... + """The ID of the path.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteNetworkInterfaceInput(_SerdeShape): + """Contains the parameters for DeleteNetworkInterface.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_interface_id: str | None = ... + """The ID of the network interface.""" + +@dataclass(kw_only=True) +class DeleteNetworkInterfaceOutput(_SerdeShape): + """Dataclass for DeleteNetworkInterfaceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteNetworkInterfacePermissionInput(_SerdeShape): + """Contains the parameters for DeleteNetworkInterfacePermission.""" + + network_interface_permission_id: str | None = ... + """The ID of the network interface permission.""" + force: bool | None = ... + """ + Specify `true` to remove the permission even if the network interface is + attached to an instance. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteNetworkInterfacePermissionOutput(_SerdeShape): + """Contains the output for DeleteNetworkInterfacePermission.""" + + return_: bool | None = ... + """Is `true` if the request succeeds and an error otherwise.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePlacementGroupInput(_SerdeShape): + """Dataclass for DeletePlacementGroupInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + group_name: str | None = ... + """The name of the placement group.""" + +@dataclass(kw_only=True) +class DeletePlacementGroupOutput(_SerdeShape): + """Dataclass for DeletePlacementGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePublicIpv4PoolInput(_SerdeShape): + """Dataclass for DeletePublicIpv4PoolInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + pool_id: str | None = ... + """The ID of the public IPv4 pool you want to delete.""" + network_border_group: str | None = ... + """ + The Availability Zone (AZ) or Local Zone (LZ) network border group that + the resource that the IP address is assigned to is in. Defaults to an AZ + network border group. For more information on available Local Zones, see + [Local Zone + availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class DeletePublicIpv4PoolOutput(_SerdeShape): + """Dataclass for DeletePublicIpv4PoolOutput structure.""" + + return_value: bool | None = ... + """Information about the result of deleting the public IPv4 pool.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteQueuedReservedInstancesError(_SerdeShape): + """ + Describes the error for a Reserved Instance whose queued purchase could + not be deleted. + """ + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The error message.""" + +class DeleteQueuedReservedInstancesErrorCode(UnknownEnumMixin, StrEnum): + RESERVED_INSTANCES_ID_INVALID = "reserved-instances-id-invalid" + RESERVED_INSTANCES_NOT_IN_QUEUED_STATE = "reserved-instances-not-in-queued-state" + UNEXPECTED_ERROR = "unexpected-error" + +@dataclass(kw_only=True) +class DeleteQueuedReservedInstancesInput(_SerdeShape): + """Dataclass for DeleteQueuedReservedInstancesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + reserved_instances_ids: list[str] | None = ... + """The IDs of the Reserved Instances.""" + +@dataclass(kw_only=True) +class DeleteQueuedReservedInstancesOutput(_SerdeShape): + """Dataclass for DeleteQueuedReservedInstancesOutput structure.""" + + successful_queued_purchase_deletions: ( + list[SuccessfulQueuedPurchaseDeletion] | None + ) = ... + """Information about the queued purchases that were successfully deleted.""" + failed_queued_purchase_deletions: list[FailedQueuedPurchaseDeletion] | None = ... + """Information about the queued purchases that could not be deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRouteInput(_SerdeShape): + """Dataclass for DeleteRouteInput structure.""" + + destination_prefix_list_id: str | None = ... + """The ID of the prefix list for the route.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + route_table_id: str | None = ... + """The ID of the route table.""" + destination_cidr_block: str | None = ... + """ + The IPv4 CIDR range for the route. The value you specify must match the + CIDR for the route exactly. + """ + destination_ipv6_cidr_block: str | None = ... + """ + The IPv6 CIDR range for the route. The value you specify must match the + CIDR for the route exactly. + """ + +@dataclass(kw_only=True) +class DeleteRouteOutput(_SerdeShape): + """Dataclass for DeleteRouteOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRouteServerEndpointInput(_SerdeShape): + """Dataclass for DeleteRouteServerEndpointInput structure.""" + + route_server_endpoint_id: str | None = ... + """The ID of the route server endpoint to delete.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteRouteServerEndpointOutput(_SerdeShape): + """Dataclass for DeleteRouteServerEndpointOutput structure.""" + + route_server_endpoint: RouteServerEndpoint | None = ... + """Information about the deleted route server endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRouteServerInput(_SerdeShape): + """Dataclass for DeleteRouteServerInput structure.""" + + route_server_id: str | None = ... + """The ID of the route server to delete.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteRouteServerOutput(_SerdeShape): + """Dataclass for DeleteRouteServerOutput structure.""" + + route_server: RouteServer | None = ... + """Information about the deleted route server.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRouteServerPeerInput(_SerdeShape): + """Dataclass for DeleteRouteServerPeerInput structure.""" + + route_server_peer_id: str | None = ... + """The ID of the route server peer to delete.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteRouteServerPeerOutput(_SerdeShape): + """Dataclass for DeleteRouteServerPeerOutput structure.""" + + route_server_peer: RouteServerPeer | None = ... + """Information about the deleted route server peer.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRouteTableInput(_SerdeShape): + """Dataclass for DeleteRouteTableInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + route_table_id: str | None = ... + """The ID of the route table.""" diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_3.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_3.pyi new file mode 100644 index 000000000..f213d4363 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_3.pyi @@ -0,0 +1,6659 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime + +from smithy_core.response import ResponseMetadata + +from ..models import ( + AccountAttribute, + AccountVpcEncryptionControl, + ActiveInstance, + Address, + AddressAttribute, + AddressTransfer, + ApplicationStatusCheckAssociationObject, + ApplicationStatusCheckResponseObject, + ApplicationStatusesResponseType, + AttributeBooleanValue, + AttributeValue, + AuthorizationRule, + AvailabilityZone, + BlockDeviceMapping, + BundleTask, + Byoasn, + ByoipCidr, + CapacityBlock, + CapacityBlockExtension, + CapacityBlockExtensionOffering, + CapacityBlockOffering, + CapacityBlockStatus, + CapacityManagerDataExportResponse, + CapacityReservation, + CapacityReservationBillingRequest, + CapacityReservationCancellationQuote, + CapacityReservationFleet, + CapacityReservationModificationQuote, + CapacityReservationTopology, + CarrierGateway, + ClassicLinkInstance, + ClientVpnConnection, + ClientVpnEndpoint, + ClientVpnRoute, + CoipPool, + ConversionTask, + CustomerGateway, + DeclarativePoliciesReport, + DhcpOptions, + Ec2InstanceConnectEndpoint, + EgressOnlyInternetGateway, + ElasticGpus, + EnclaveOptions, + ExportImageTask, + ExportTask, + FastLaunchLaunchTemplateSpecificationResponse, + FastLaunchSnapshotConfigurationResponse, + Filter, + FleetData, + FlowLog, + FpgaImage, + FpgaImageAttribute, + GroupIdentifier, + HistoryRecordEntry, + Host, + HostOffering, + HostReservation, + IamInstanceProfileAssociation, + IdFormat, + Image, + ImageReference, + ImageUsageReport, + ImageUsageReportEntry, + ImportImageTask, + ImportSnapshotTask, + InstanceBlockDeviceMapping, + InstanceCreditSpecification, + InstanceEventWindow, + InstanceImageMetadata, + InstanceTagNotificationAttribute, + IpamPoolCidr, + LaunchPermission, + LaunchTemplateAndOverridesResponse, + ProductCode, + Reservation, + ResourceTypeRequest, + SecondaryNetwork, + SecondarySubnet, + SubnetCidrReservation, + Subscription, + Tag, + TargetNetwork, + TransitGateway, + TransitGatewayClientVpnAttachment, + TransitGatewayConnect, + TransitGatewayConnectPeer, + TransitGatewayMeteringPolicy, + TransitGatewayMeteringPolicyEntry, + TransitGatewayMulticastDeregisteredGroupMembers, + TransitGatewayMulticastDeregisteredGroupSources, + TransitGatewayMulticastDomain, + TransitGatewayPeeringAttachment, + TransitGatewayPolicyTable, + TransitGatewayPolicyTableEntry, + TransitGatewayPrefixListReference, + TransitGatewayRoute, + TransitGatewayRouteTable, + TransitGatewayRouteTableAnnouncement, + TransitGatewayVpcAttachment, + UnsuccessfulItem, + VerifiedAccessEndpoint, + VerifiedAccessGroup, + VerifiedAccessInstance, + VerifiedAccessTrustProvider, + VpcBlockPublicAccessExclusion, + VpcEncryptionControl, + _SerdeShape, +) + +@dataclass(kw_only=True) +class DeleteRouteTableOutput(_SerdeShape): + """Dataclass for DeleteRouteTableOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSecondaryNetworkInput(_SerdeShape): + """Dataclass for DeleteSecondaryNetworkInput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + secondary_network_id: str | None = ... + """The ID of the secondary network.""" + +@dataclass(kw_only=True) +class DeleteSecondaryNetworkOutput(_SerdeShape): + """Dataclass for DeleteSecondaryNetworkOutput structure.""" + + secondary_network: SecondaryNetwork | None = ... + """Information about the secondary network.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier to ensure the idempotency of the + request. Only returned if a client token was provided in the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSecondarySubnetInput(_SerdeShape): + """Dataclass for DeleteSecondarySubnetInput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + secondary_subnet_id: str | None = ... + """The ID of the secondary subnet to delete.""" + +@dataclass(kw_only=True) +class DeleteSecondarySubnetOutput(_SerdeShape): + """Dataclass for DeleteSecondarySubnetOutput structure.""" + + secondary_subnet: SecondarySubnet | None = ... + """Information about the secondary subnet being deleted.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier to ensure the idempotency of the + request. Only returned if a client token was provided in the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSecurityGroupInput(_SerdeShape): + """Dataclass for DeleteSecurityGroupInput structure.""" + + group_id: str | None = ... + """The ID of the security group.""" + group_name: str | None = ... + """ + [Default VPC] The name of the security group. You can specify either + the security group name or the security group ID. For security groups in + a nondefault VPC, you must specify the security group ID. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteSecurityGroupOutput(_SerdeShape): + """Dataclass for DeleteSecurityGroupOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + group_id: str | None = ... + """The ID of the deleted security group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSnapshotInput(_SerdeShape): + """Dataclass for DeleteSnapshotInput structure.""" + + snapshot_id: str | None = ... + """The ID of the EBS snapshot.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteSnapshotOutput(_SerdeShape): + """Dataclass for DeleteSnapshotOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSnapshotReturnCode(_SerdeShape): + """The snapshot ID and its deletion result code.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + return_code: str | None = ... + """ + The result code from the snapshot deletion attempt. Possible values: + + - `success` - The snapshot was successfully deleted. + + - `skipped` - The snapshot was not deleted because it's associated with + other AMIs. + + - `missing-permissions` - The snapshot was not deleted because the role + lacks `DeleteSnapshot` permissions. For more information, see [How + Amazon EBS works with + IAM](https://docs.aws.amazon.com/ebs/latest/userguide/security_iam_service-with-iam.html). + + - `internal-error` - The snapshot was not deleted due to a server error. + + - `client-error` - The snapshot was not deleted due to a client + configuration error. + + For details about an error, check the `DeleteSnapshot` event in the + CloudTrail event history. For more information, see [View event + history](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/tutorial-event-history.html) + in the *Amazon Web Services CloudTrail User Guide*. + """ + +@dataclass(kw_only=True) +class DeleteSpotDatafeedSubscriptionInput(_SerdeShape): + """Contains the parameters for DeleteSpotDatafeedSubscription.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteSpotDatafeedSubscriptionOutput(_SerdeShape): + """Dataclass for DeleteSpotDatafeedSubscriptionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSubnetCidrReservationInput(_SerdeShape): + """Dataclass for DeleteSubnetCidrReservationInput structure.""" + + subnet_cidr_reservation_id: str | None = ... + """The ID of the subnet CIDR reservation.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteSubnetCidrReservationOutput(_SerdeShape): + """Dataclass for DeleteSubnetCidrReservationOutput structure.""" + + deleted_subnet_cidr_reservation: SubnetCidrReservation | None = ... + """Information about the deleted subnet CIDR reservation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSubnetInput(_SerdeShape): + """Dataclass for DeleteSubnetInput structure.""" + + subnet_id: str | None = ... + """The ID of the subnet.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteSubnetOutput(_SerdeShape): + """Dataclass for DeleteSubnetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTagsInput(_SerdeShape): + """Dataclass for DeleteTagsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + resources: list[str] | None = ... + """ + The IDs of the resources, separated by spaces. + + Constraints: Up to 1000 resource IDs. We recommend breaking up this + request into smaller batches. + """ + tags: list[Tag] | None = ... + """ + The tags to delete. Specify a tag key and an optional tag value to + delete specific tags. If you specify a tag key without a tag value, we + delete any tag with this key regardless of its value. If you specify a + tag key with an empty string as the tag value, we delete the tag only if + its value is an empty string. + + If you omit this parameter, we delete all user-defined tags for the + specified resources. We do not delete Amazon Web Services-generated tags + (tags that have the `aws:` prefix). + + Constraints: Up to 1000 tags. + """ + +@dataclass(kw_only=True) +class DeleteTagsOutput(_SerdeShape): + """Dataclass for DeleteTagsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTrafficMirrorFilterInput(_SerdeShape): + """Dataclass for DeleteTrafficMirrorFilterInput structure.""" + + traffic_mirror_filter_id: str | None = ... + """The ID of the Traffic Mirror filter.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTrafficMirrorFilterOutput(_SerdeShape): + """Dataclass for DeleteTrafficMirrorFilterOutput structure.""" + + traffic_mirror_filter_id: str | None = ... + """The ID of the Traffic Mirror filter.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTrafficMirrorFilterRuleInput(_SerdeShape): + """Dataclass for DeleteTrafficMirrorFilterRuleInput structure.""" + + traffic_mirror_filter_rule_id: str | None = ... + """The ID of the Traffic Mirror rule.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTrafficMirrorFilterRuleOutput(_SerdeShape): + """Dataclass for DeleteTrafficMirrorFilterRuleOutput structure.""" + + traffic_mirror_filter_rule_id: str | None = ... + """The ID of the deleted Traffic Mirror rule.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTrafficMirrorSessionInput(_SerdeShape): + """Dataclass for DeleteTrafficMirrorSessionInput structure.""" + + traffic_mirror_session_id: str | None = ... + """The ID of the Traffic Mirror session.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTrafficMirrorSessionOutput(_SerdeShape): + """Dataclass for DeleteTrafficMirrorSessionOutput structure.""" + + traffic_mirror_session_id: str | None = ... + """The ID of the deleted Traffic Mirror session.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTrafficMirrorTargetInput(_SerdeShape): + """Dataclass for DeleteTrafficMirrorTargetInput structure.""" + + traffic_mirror_target_id: str | None = ... + """The ID of the Traffic Mirror target.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTrafficMirrorTargetOutput(_SerdeShape): + """Dataclass for DeleteTrafficMirrorTargetOutput structure.""" + + traffic_mirror_target_id: str | None = ... + """The ID of the deleted Traffic Mirror target.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayClientVpnAttachmentInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayClientVpnAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the Transit Gateway attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayClientVpnAttachmentOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayClientVpnAttachmentOutput structure.""" + + transit_gateway_client_vpn_attachment: ( + TransitGatewayClientVpnAttachment | None + ) = ... + """Information about the Transit Gateway Client VPN attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayConnectInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayConnectInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the Connect attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayConnectOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayConnectOutput structure.""" + + transit_gateway_connect: TransitGatewayConnect | None = ... + """Information about the deleted Connect attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayConnectPeerInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayConnectPeerInput structure.""" + + transit_gateway_connect_peer_id: str | None = ... + """The ID of the Connect peer.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayConnectPeerOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayConnectPeerOutput structure.""" + + transit_gateway_connect_peer: TransitGatewayConnectPeer | None = ... + """Information about the deleted Connect peer.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayInput structure.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayMeteringPolicyEntryInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayMeteringPolicyEntryInput structure.""" + + transit_gateway_metering_policy_id: str | None = ... + """ + The ID of the transit gateway metering policy containing the entry to + delete. + """ + policy_rule_number: int | None = ... + """The rule number of the metering policy entry to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayMeteringPolicyEntryOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayMeteringPolicyEntryOutput structure.""" + + transit_gateway_metering_policy_entry: ( + TransitGatewayMeteringPolicyEntry | None + ) = ... + """Information about the deleted transit gateway metering policy entry.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayMeteringPolicyInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayMeteringPolicyInput structure.""" + + transit_gateway_metering_policy_id: str | None = ... + """The ID of the transit gateway metering policy to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayMeteringPolicyOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayMeteringPolicyOutput structure.""" + + transit_gateway_metering_policy: TransitGatewayMeteringPolicy | None = ... + """Information about the deleted transit gateway metering policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayMulticastDomainInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayMulticastDomainInput structure.""" + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayMulticastDomainOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayMulticastDomainOutput structure.""" + + transit_gateway_multicast_domain: TransitGatewayMulticastDomain | None = ... + """Information about the deleted transit gateway multicast domain.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayOutput structure.""" + + transit_gateway: TransitGateway | None = ... + """Information about the deleted transit gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayPeeringAttachmentInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayPeeringAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway peering attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayPeeringAttachmentOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayPeeringAttachmentOutput structure.""" + + transit_gateway_peering_attachment: TransitGatewayPeeringAttachment | None = ... + """The transit gateway peering attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayPolicyTableEntryInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayPolicyTableEntryInput structure.""" + + transit_gateway_policy_table_id: str | None = ... + """The ID of the transit gateway policy table.""" + policy_rule_number: str | None = ... + """The rule number of the policy table entry to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayPolicyTableEntryOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayPolicyTableEntryOutput structure.""" + + transit_gateway_policy_table_entry: TransitGatewayPolicyTableEntry | None = ... + """Describes a transit gateway policy table entry""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayPolicyTableInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayPolicyTableInput structure.""" + + transit_gateway_policy_table_id: str | None = ... + """The transit gateway policy table to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayPolicyTableOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayPolicyTableOutput structure.""" + + transit_gateway_policy_table: TransitGatewayPolicyTable | None = ... + """Provides details about the deleted transit gateway policy table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayPrefixListReferenceInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayPrefixListReferenceInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the route table.""" + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayPrefixListReferenceOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayPrefixListReferenceOutput structure.""" + + transit_gateway_prefix_list_reference: ( + TransitGatewayPrefixListReference | None + ) = ... + """Information about the deleted prefix list reference.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayRouteInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayRouteInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + destination_cidr_block: str | None = ... + """ + The CIDR range for the route. This must match the CIDR for the route + exactly. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayRouteOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayRouteOutput structure.""" + + route: TransitGatewayRoute | None = ... + """Information about the route.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayRouteTableAnnouncementInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayRouteTableAnnouncementInput structure.""" + + transit_gateway_route_table_announcement_id: str | None = ... + """The transit gateway route table ID that's being deleted.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayRouteTableAnnouncementOutput(_SerdeShape): + """ + Dataclass for DeleteTransitGatewayRouteTableAnnouncementOutput + structure. + """ + + transit_gateway_route_table_announcement: ( + TransitGatewayRouteTableAnnouncement | None + ) = ... + """Provides details about a deleted transit gateway route table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayRouteTableInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayRouteTableInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayRouteTableOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayRouteTableOutput structure.""" + + transit_gateway_route_table: TransitGatewayRouteTable | None = ... + """Information about the deleted transit gateway route table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayVpcAttachmentInput(_SerdeShape): + """Dataclass for DeleteTransitGatewayVpcAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteTransitGatewayVpcAttachmentOutput(_SerdeShape): + """Dataclass for DeleteTransitGatewayVpcAttachmentOutput structure.""" + + transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... + """Information about the deleted VPC attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVerifiedAccessEndpointInput(_SerdeShape): + """Dataclass for DeleteVerifiedAccessEndpointInput structure.""" + + verified_access_endpoint_id: str | None = ... + """The ID of the Verified Access endpoint.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteVerifiedAccessEndpointOutput(_SerdeShape): + """Dataclass for DeleteVerifiedAccessEndpointOutput structure.""" + + verified_access_endpoint: VerifiedAccessEndpoint | None = ... + """Details about the Verified Access endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVerifiedAccessGroupInput(_SerdeShape): + """Dataclass for DeleteVerifiedAccessGroupInput structure.""" + + verified_access_group_id: str | None = ... + """The ID of the Verified Access group.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteVerifiedAccessGroupOutput(_SerdeShape): + """Dataclass for DeleteVerifiedAccessGroupOutput structure.""" + + verified_access_group: VerifiedAccessGroup | None = ... + """Details about the Verified Access group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVerifiedAccessInstanceInput(_SerdeShape): + """Dataclass for DeleteVerifiedAccessInstanceInput structure.""" + + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteVerifiedAccessInstanceOutput(_SerdeShape): + """Dataclass for DeleteVerifiedAccessInstanceOutput structure.""" + + verified_access_instance: VerifiedAccessInstance | None = ... + """Details about the Verified Access instance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVerifiedAccessTrustProviderInput(_SerdeShape): + """Dataclass for DeleteVerifiedAccessTrustProviderInput structure.""" + + verified_access_trust_provider_id: str | None = ... + """The ID of the Verified Access trust provider.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DeleteVerifiedAccessTrustProviderOutput(_SerdeShape): + """Dataclass for DeleteVerifiedAccessTrustProviderOutput structure.""" + + verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... + """Details about the Verified Access trust provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVolumeInput(_SerdeShape): + """Dataclass for DeleteVolumeInput structure.""" + + volume_id: str | None = ... + """The ID of the volume.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteVolumeOutput(_SerdeShape): + """Dataclass for DeleteVolumeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcBlockPublicAccessExclusionInput(_SerdeShape): + """Dataclass for DeleteVpcBlockPublicAccessExclusionInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + exclusion_id: str | None = ... + """The ID of the exclusion.""" + +@dataclass(kw_only=True) +class DeleteVpcBlockPublicAccessExclusionOutput(_SerdeShape): + """Dataclass for DeleteVpcBlockPublicAccessExclusionOutput structure.""" + + vpc_block_public_access_exclusion: VpcBlockPublicAccessExclusion | None = ... + """Details about an exclusion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcEncryptionControlInput(_SerdeShape): + """Dataclass for DeleteVpcEncryptionControlInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_encryption_control_id: str | None = ... + """The ID of the VPC Encryption Control resource to delete.""" + +@dataclass(kw_only=True) +class DeleteVpcEncryptionControlOutput(_SerdeShape): + """Dataclass for DeleteVpcEncryptionControlOutput structure.""" + + vpc_encryption_control: VpcEncryptionControl | None = ... + """Information about the deleted VPC Encryption Control configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcEndpointConnectionNotificationsInput(_SerdeShape): + """Dataclass for DeleteVpcEndpointConnectionNotificationsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + connection_notification_ids: list[str] | None = ... + """The IDs of the notifications.""" + +@dataclass(kw_only=True) +class DeleteVpcEndpointConnectionNotificationsOutput(_SerdeShape): + """Dataclass for DeleteVpcEndpointConnectionNotificationsOutput structure.""" + + unsuccessful: list[UnsuccessfulItem] | None = ... + """ + Information about the notifications that could not be deleted + successfully. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcEndpointServiceConfigurationsInput(_SerdeShape): + """Dataclass for DeleteVpcEndpointServiceConfigurationsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_ids: list[str] | None = ... + """The IDs of the services.""" + +@dataclass(kw_only=True) +class DeleteVpcEndpointServiceConfigurationsOutput(_SerdeShape): + """Dataclass for DeleteVpcEndpointServiceConfigurationsOutput structure.""" + + unsuccessful: list[UnsuccessfulItem] | None = ... + """ + Information about the service configurations that were not deleted, if + applicable. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcEndpointsInput(_SerdeShape): + """Dataclass for DeleteVpcEndpointsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_endpoint_ids: list[str] | None = ... + """The IDs of the VPC endpoints.""" + +@dataclass(kw_only=True) +class DeleteVpcEndpointsOutput(_SerdeShape): + """Dataclass for DeleteVpcEndpointsOutput structure.""" + + unsuccessful: list[UnsuccessfulItem] | None = ... + """Information about the VPC endpoints that were not successfully deleted.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcInput(_SerdeShape): + """Dataclass for DeleteVpcInput structure.""" + + vpc_id: str | None = ... + """The ID of the VPC.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteVpcOutput(_SerdeShape): + """Dataclass for DeleteVpcOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpcPeeringConnectionInput(_SerdeShape): + """Dataclass for DeleteVpcPeeringConnectionInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_peering_connection_id: str | None = ... + """The ID of the VPC peering connection.""" + +@dataclass(kw_only=True) +class DeleteVpcPeeringConnectionOutput(_SerdeShape): + """Dataclass for DeleteVpcPeeringConnectionOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpnConcentratorInput(_SerdeShape): + """Dataclass for DeleteVpnConcentratorInput structure.""" + + vpn_concentrator_id: str | None = ... + """The ID of the VPN concentrator to delete.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteVpnConcentratorOutput(_SerdeShape): + """Dataclass for DeleteVpnConcentratorOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpnConnectionInput(_SerdeShape): + """Contains the parameters for DeleteVpnConnection.""" + + vpn_connection_id: str | None = ... + """The ID of the VPN connection.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteVpnConnectionOutput(_SerdeShape): + """Dataclass for DeleteVpnConnectionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpnConnectionRouteInput(_SerdeShape): + """Contains the parameters for DeleteVpnConnectionRoute.""" + + destination_cidr_block: str | None = ... + """The CIDR block associated with the local subnet of the customer network.""" + vpn_connection_id: str | None = ... + """The ID of the VPN connection.""" + +@dataclass(kw_only=True) +class DeleteVpnConnectionRouteOutput(_SerdeShape): + """Dataclass for DeleteVpnConnectionRouteOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVpnGatewayInput(_SerdeShape): + """Contains the parameters for DeleteVpnGateway.""" + + vpn_gateway_id: str | None = ... + """The ID of the virtual private gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeleteVpnGatewayOutput(_SerdeShape): + """Dataclass for DeleteVpnGatewayOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeprecationTimeCondition(_SerdeShape): + """The maximum period since deprecation for allowed images.""" + + maximum_days_since_deprecated: int | None = ... + """ + The maximum number of days that have elapsed since the image was + deprecated. When set to `0`, no deprecated images are allowed. + """ + +@dataclass(kw_only=True) +class DeprecationTimeConditionRequest(_SerdeShape): + """The maximum period since deprecation for allowed images.""" + + maximum_days_since_deprecated: int | None = ... + """ + The maximum number of days that have elapsed since the image was + deprecated. Set to `0` to exclude all deprecated images. + """ + +@dataclass(kw_only=True) +class DeprovisionByoipCidrInput(_SerdeShape): + """Dataclass for DeprovisionByoipCidrInput structure.""" + + cidr: str | None = ... + """ + The address range, in CIDR notation. The prefix must be the same prefix + that you specified when you provisioned the address range. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeprovisionByoipCidrOutput(_SerdeShape): + """Dataclass for DeprovisionByoipCidrOutput structure.""" + + byoip_cidr: ByoipCidr | None = ... + """Information about the address range.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeprovisionIpamByoasnInput(_SerdeShape): + """Dataclass for DeprovisionIpamByoasnInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """The IPAM ID.""" + asn: str | None = ... + """An ASN.""" + +@dataclass(kw_only=True) +class DeprovisionIpamByoasnOutput(_SerdeShape): + """Dataclass for DeprovisionIpamByoasnOutput structure.""" + + byoasn: Byoasn | None = ... + """An ASN and BYOIP CIDR association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeprovisionIpamPoolCidrInput(_SerdeShape): + """Dataclass for DeprovisionIpamPoolCidrInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_id: str | None = ... + """The ID of the pool that has the CIDR you want to deprovision.""" + cidr: str | None = ... + """The CIDR which you want to deprovision from the pool.""" + +@dataclass(kw_only=True) +class DeprovisionIpamPoolCidrOutput(_SerdeShape): + """Dataclass for DeprovisionIpamPoolCidrOutput structure.""" + + ipam_pool_cidr: IpamPoolCidr | None = ... + """The deprovisioned pool CIDR.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeprovisionPublicIpv4PoolCidrInput(_SerdeShape): + """Dataclass for DeprovisionPublicIpv4PoolCidrInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + pool_id: str | None = ... + """The ID of the pool that you want to deprovision the CIDR from.""" + cidr: str | None = ... + """The CIDR you want to deprovision from the pool.""" + +@dataclass(kw_only=True) +class DeprovisionPublicIpv4PoolCidrOutput(_SerdeShape): + """Dataclass for DeprovisionPublicIpv4PoolCidrOutput structure.""" + + pool_id: str | None = ... + """The ID of the pool that you deprovisioned the CIDR from.""" + deprovisioned_addresses: list[str] | None = ... + """The deprovisioned CIDRs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeregisterImageInput(_SerdeShape): + """Contains the parameters for DeregisterImage.""" + + image_id: str | None = ... + """The ID of the AMI.""" + delete_associated_snapshots: bool | None = ... + """ + Specifies whether to delete the snapshots associated with the AMI during + deregistration. + + Note: + If a snapshot is associated with multiple AMIs, it is not deleted, + regardless of this setting. + + Default: The snapshots are not deleted. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeregisterImageOutput(_SerdeShape): + """Dataclass for DeregisterImageOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + delete_snapshot_results: list[DeleteSnapshotReturnCode] | None = ... + """ + The deletion result for each snapshot associated with the AMI, including + the snapshot ID and its success or error code. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeregisterInstanceEventNotificationAttributesInput(_SerdeShape): + """ + Dataclass for DeregisterInstanceEventNotificationAttributesInput + structure. + """ + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_tag_attribute: DeregisterInstanceTagAttributeRequest | None = ... + """Information about the tag keys to deregister.""" + +@dataclass(kw_only=True) +class DeregisterInstanceEventNotificationAttributesOutput(_SerdeShape): + """ + Dataclass for DeregisterInstanceEventNotificationAttributesOutput + structure. + """ + + instance_tag_attribute: InstanceTagNotificationAttribute | None = ... + """The resulting set of tag keys.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeregisterInstanceTagAttributeRequest(_SerdeShape): + """ + Information about the tag keys to deregister for the current Region. You + can either specify individual tag keys or deregister all tag keys in the + current Region. You must specify either `IncludeAllTagsOfInstance` or + `InstanceTagKeys` in the request + """ + + include_all_tags_of_instance: bool | None = ... + """ + Indicates whether to deregister all tag keys in the current Region. + Specify `false` to deregister all tag keys. + """ + instance_tag_keys: list[str] | None = ... + """Information about the tag keys to deregister.""" + +@dataclass(kw_only=True) +class DeregisterTransitGatewayMulticastGroupMembersInput(_SerdeShape): + """ + Dataclass for DeregisterTransitGatewayMulticastGroupMembersInput + structure. + """ + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + group_ip_address: str | None = ... + """The IP address assigned to the transit gateway multicast group.""" + network_interface_ids: list[str] | None = ... + """The IDs of the group members' network interfaces.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeregisterTransitGatewayMulticastGroupMembersOutput(_SerdeShape): + """ + Dataclass for DeregisterTransitGatewayMulticastGroupMembersOutput + structure. + """ + + deregistered_multicast_group_members: ( + TransitGatewayMulticastDeregisteredGroupMembers | None + ) = ... + """Information about the deregistered members.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeregisterTransitGatewayMulticastGroupSourcesInput(_SerdeShape): + """ + Dataclass for DeregisterTransitGatewayMulticastGroupSourcesInput + structure. + """ + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + group_ip_address: str | None = ... + """The IP address assigned to the transit gateway multicast group.""" + network_interface_ids: list[str] | None = ... + """The IDs of the group sources' network interfaces.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DeregisterTransitGatewayMulticastGroupSourcesOutput(_SerdeShape): + """ + Dataclass for DeregisterTransitGatewayMulticastGroupSourcesOutput + structure. + """ + + deregistered_multicast_group_sources: ( + TransitGatewayMulticastDeregisteredGroupSources | None + ) = ... + """Information about the deregistered group sources.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAccountAttributesInput(_SerdeShape): + """Dataclass for DescribeAccountAttributesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + attribute_names: list[str] | None = ... + """The account attribute names.""" + +@dataclass(kw_only=True) +class DescribeAccountAttributesOutput(_SerdeShape): + """Dataclass for DescribeAccountAttributesOutput structure.""" + + account_attributes: list[AccountAttribute] | None = ... + """Information about the account attributes.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAccountVpcEncryptionControlInput(_SerdeShape): + """Dataclass for DescribeAccountVpcEncryptionControlInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeAccountVpcEncryptionControlOutput(_SerdeShape): + """Dataclass for DescribeAccountVpcEncryptionControlOutput structure.""" + + account_vpc_encryption_control: AccountVpcEncryptionControl | None = ... + """ + Information about the account-level VPC Encryption Control + configuration. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAddressesAttributeInput(_SerdeShape): + """Dataclass for DescribeAddressesAttributeInput structure.""" + + allocation_ids: list[str] | None = ... + """[EC2-VPC] The allocation IDs.""" + attribute: str | None = ... + """The attribute of the IP address.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeAddressesAttributeOutput(_SerdeShape): + """Dataclass for DescribeAddressesAttributeOutput structure.""" + + addresses: list[AddressAttribute] | None = ... + """Information about the IP addresses.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAddressesInput(_SerdeShape): + """Dataclass for DescribeAddressesInput structure.""" + + public_ips: list[str] | None = ... + """ + One or more Elastic IP addresses. + + Default: Describes all your Elastic IP addresses. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. Filter names and values are case-sensitive. + + - `allocation-id` - The allocation ID for the address. + + - `association-id` - The association ID for the address. + + - `instance-id` - The ID of the instance the address is associated with, + if any. + + - `network-border-group` - A unique set of Availability Zones, Local + Zones, or Wavelength Zones from where Amazon Web Services advertises + IP addresses. + + - `network-interface-id` - The ID of the network interface that the + address is associated with, if any. + + - `network-interface-owner-id` - The Amazon Web Services account ID of + the owner. + + - `private-ip-address` - The private IP address associated with the + Elastic IP address. + + - `public-ip` - The Elastic IP address, or the carrier IP address. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + allocation_ids: list[str] | None = ... + """Information about the allocation IDs.""" + +@dataclass(kw_only=True) +class DescribeAddressesOutput(_SerdeShape): + """Dataclass for DescribeAddressesOutput structure.""" + + addresses: list[Address] | None = ... + """Information about the Elastic IP addresses.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAddressTransfersInput(_SerdeShape): + """Dataclass for DescribeAddressTransfersInput structure.""" + + allocation_ids: list[str] | None = ... + """The allocation IDs of Elastic IP addresses.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + max_results: int | None = ... + """ + The maximum number of address transfers to return in one page of + results. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeAddressTransfersOutput(_SerdeShape): + """Dataclass for DescribeAddressTransfersOutput structure.""" + + address_transfers: list[AddressTransfer] | None = ... + """The Elastic IP address transfer.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAggregateIdFormatInput(_SerdeShape): + """Dataclass for DescribeAggregateIdFormatInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeAggregateIdFormatOutput(_SerdeShape): + """Dataclass for DescribeAggregateIdFormatOutput structure.""" + + use_long_ids_aggregated: bool | None = ... + """ + Indicates whether all resource types in the Region are configured to use + longer IDs. This value is only `true` if all users are configured to use + longer IDs for all resources types in the Region. + """ + statuses: list[IdFormat] | None = ... + """Information about each resource's ID format.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeApplicationStatusCheckAssociationsInput(_SerdeShape): + """Dataclass for DescribeApplicationStatusCheckAssociationsInput structure.""" + + application_status_check_ids: list[str] | None = ... + """ + The IDs of the application status checks for which to describe + associations. + """ + filters: list[Filter] | None = ... + """ + The filters to use to limit the results. + + - `association-type` -- The type of association. Valid values: `tag` and + `instance-id`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeApplicationStatusCheckAssociationsOutput(_SerdeShape): + """ + Dataclass for DescribeApplicationStatusCheckAssociationsOutput + structure. + """ + + associations: list[ApplicationStatusCheckAssociationObject] | None = ... + """The associations for the specified application status checks.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + tags: list[Tag] | None = ... + """The tags associated with the application status checks.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeApplicationStatusChecksInput(_SerdeShape): + """Dataclass for DescribeApplicationStatusChecksInput structure.""" + + application_status_check_ids: list[str] | None = ... + """The IDs of the application status checks to describe.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `aggregation` -- The aggregation setting. Valid values: `included` and + `excluded`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + include_all: bool | None = ... + """ + Specifies whether to include recently deleted application status checks + that remain available during the deletion grace period. If you omit this + parameter or set it to `false`, the response includes only active + checks. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeApplicationStatusChecksOutput(_SerdeShape): + """Dataclass for DescribeApplicationStatusChecksOutput structure.""" + + application_status_checks: list[ApplicationStatusCheckResponseObject] | None = ... + """Information about the application status checks.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeApplicationStatusInput(_SerdeShape): + """Dataclass for DescribeApplicationStatusInput structure.""" + + instance_ids: list[str] | None = ... + """The IDs of the instances for which to describe application status.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone-id` -- The ID of the Availability Zone. + + - `status` -- The instance-level application status. For valid values + and their meanings, see `ApplicationStatus`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeApplicationStatusOutput(_SerdeShape): + """Dataclass for DescribeApplicationStatusOutput structure.""" + + application_statuses: ApplicationStatusesResponseType | None = ... + """The application statuses for the specified instances.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAvailabilityZonesInput(_SerdeShape): + """Dataclass for DescribeAvailabilityZonesInput structure.""" + + zone_names: list[str] | None = ... + """The names of the Availability Zones, Local Zones, and Wavelength Zones.""" + zone_ids: list[str] | None = ... + """The IDs of the Availability Zones, Local Zones, and Wavelength Zones.""" + all_availability_zones: bool | None = ... + """ + Include all Availability Zones, Local Zones, and Wavelength Zones + regardless of your opt-in status. + + If you do not use this parameter, the results include only the zones for + the Regions where you have chosen the option to opt in. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `group-long-name` - The long name of the zone group for the + Availability Zone (for example, `US West (Oregon) 1`), the Local Zone + (for example, for Zone group `us-west-2-lax-1`, it is + `US West (Los Angeles)`, or the Wavelength Zone (for example, for Zone + group `us-east-1-wl1`, it is `US East (Verizon)`. + + - `group-name` - The name of the zone group for the Availability Zone + (for example, `us-east-1-zg-1`), the Local Zone (for example, + `us-west-2-lax-1`), or the Wavelength Zone (for example, + `us-east-1-wl1`). + + - `message` - The Zone message. + + - `opt-in-status` - The opt-in status (`opted-in` | `not-opted-in` | + `opt-in-not-required`). + + - `parent-zone-id` - The ID of the zone that handles some of the Local + Zone and Wavelength Zone control plane operations, such as API calls. + + - `parent-zone-name` - The ID of the zone that handles some of the Local + Zone and Wavelength Zone control plane operations, such as API calls. + + - `region-name` - The name of the Region for the Zone (for example, + `us-east-1`). + + - `state` - The state of the Availability Zone, the Local Zone, or the + Wavelength Zone (`available` | `unavailable` | `constrained`). + + - `zone-id` - The ID of the Availability Zone (for example, `use1-az1`), + the Local Zone (for example, `usw2-lax1-az1`), or the Wavelength Zone + (for example, `us-east-1-wl1-bos-wlz-1`). + + - `zone-name` - The name of the Availability Zone (for example, + `us-east-1a`), the Local Zone (for example, `us-west-2-lax-1a`), or + the Wavelength Zone (for example, `us-east-1-wl1-bos-wlz-1`). + + - `zone-type` - The type of zone (`availability-zone` | `local-zone` | + `wavelength-zone`). + """ + +@dataclass(kw_only=True) +class DescribeAvailabilityZonesOutput(_SerdeShape): + """Dataclass for DescribeAvailabilityZonesOutput structure.""" + + availability_zones: list[AvailabilityZone] | None = ... + """ + Information about the Availability Zones, Local Zones, and Wavelength + Zones. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAwsNetworkPerformanceMetricSubscriptionsInput(_SerdeShape): + """ + Dataclass for DescribeAwsNetworkPerformanceMetricSubscriptionsInput + structure. + """ + + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """One or more filters.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeAwsNetworkPerformanceMetricSubscriptionsOutput(_SerdeShape): + """ + Dataclass for DescribeAwsNetworkPerformanceMetricSubscriptionsOutput + structure. + """ + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + subscriptions: list[Subscription] | None = ... + """Describes the current Infrastructure Performance subscriptions.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeBundleTasksInput(_SerdeShape): + """Dataclass for DescribeBundleTasksInput structure.""" + + bundle_ids: list[str] | None = ... + """ + The bundle task IDs. + + Default: Describes all your bundle tasks. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `bundle-id` - The ID of the bundle task. + + - `error-code` - If the task failed, the error code returned. + + - `error-message` - If the task failed, the error message returned. + + - `instance-id` - The ID of the instance. + + - `progress` - The level of task completion, as a percentage (for + example, 20%). + + - `s3-bucket` - The Amazon S3 bucket to store the AMI. + + - `s3-prefix` - The beginning of the AMI name. + + - `start-time` - The time the task started (for example, + 2013-09-15T17:15:20.000Z). + + - `state` - The state of the task (`pending` | `waiting-for-shutdown` + | `bundling` | `storing` | `cancelling` | `complete` | `failed`). + + - `update-time` - The time of the most recent update for the task. + """ + +@dataclass(kw_only=True) +class DescribeBundleTasksOutput(_SerdeShape): + """Dataclass for DescribeBundleTasksOutput structure.""" + + bundle_tasks: list[BundleTask] | None = ... + """Information about the bundle tasks.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeByoipCidrsInput(_SerdeShape): + """Dataclass for DescribeByoipCidrsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeByoipCidrsOutput(_SerdeShape): + """Dataclass for DescribeByoipCidrsOutput structure.""" + + byoip_cidrs: list[ByoipCidr] | None = ... + """Information about your address ranges.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlockExtensionHistoryInput(_SerdeShape): + """Dataclass for DescribeCapacityBlockExtensionHistoryInput structure.""" + + capacity_reservation_ids: list[str] | None = ... + """ + The IDs of Capacity Block reservations that you want to display the + history for. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + filters: list[Filter] | None = ... + """ + One or more filters + + - `availability-zone` - The Availability Zone of the extension. + + - `availability-zone-id` - The Availability Zone ID of the extension. + + - `capacity-block-extension-offering-id` - The ID of the extension + offering. + + - `capacity-block-extension-status` - The status of the extension + (`payment-pending` | `payment-failed` | `payment-succeeded`). + + - `capacity-reservation-id` - The reservation ID of the extension. + + - `instance-type` - The instance type of the extension. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlockExtensionHistoryOutput(_SerdeShape): + """Dataclass for DescribeCapacityBlockExtensionHistoryOutput structure.""" + + capacity_block_extensions: list[CapacityBlockExtension] | None = ... + """ + Describes one or more of your Capacity Block extensions. The results + describe only the Capacity Block extensions in the Amazon Web Services + Region that you're currently using. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlockExtensionOfferingsInput(_SerdeShape): + """Dataclass for DescribeCapacityBlockExtensionOfferingsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + capacity_block_extension_duration_hours: int | None = ... + """The duration of the Capacity Block extension offering in hours.""" + capacity_reservation_id: str | None = ... + """The ID of the Capacity reservation to be extended.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlockExtensionOfferingsOutput(_SerdeShape): + """Dataclass for DescribeCapacityBlockExtensionOfferingsOutput structure.""" + + capacity_block_extension_offerings: ( + list[CapacityBlockExtensionOffering] | None + ) = ... + """ + The recommended Capacity Block extension offerings for the dates + specified. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlockOfferingsInput(_SerdeShape): + """Dataclass for DescribeCapacityBlockOfferingsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_type: str | None = ... + """ + The type of instance for which the Capacity Block offering reserves + capacity. + """ + instance_count: int | None = ... + """ + The number of instances for which to reserve capacity. Each Capacity + Block can have up to 64 instances, and you can have up to 256 instances + across Capacity Blocks. + """ + start_date_range: datetime | None = ... + """The earliest start date for the Capacity Block offering.""" + end_date_range: datetime | None = ... + """The latest end date for the Capacity Block offering.""" + capacity_duration_hours: int | None = ... + """ + The reservation duration for the Capacity Block, in hours. You must + specify the duration in 1-day increments up 14 days, and in 7-day + increments up to 182 days. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + ultraserver_type: str | None = ... + """The EC2 UltraServer type of the Capacity Block offerings.""" + ultraserver_count: int | None = ... + """The number of EC2 UltraServers in the offerings.""" + all_availability_zones: bool | None = ... + """ + Include all Availability Zones and Local Zones, regardless of your + opt-in status. If you do not use this parameter, the results include + available offerings from all Availability Zones in the Amazon Web + Services Region and Local Zones you are opted into. + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlockOfferingsOutput(_SerdeShape): + """Dataclass for DescribeCapacityBlockOfferingsOutput structure.""" + + capacity_block_offerings: list[CapacityBlockOffering] | None = ... + """The recommended Capacity Block offering for the dates specified.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlocksInput(_SerdeShape): + """Dataclass for DescribeCapacityBlocksInput structure.""" + + capacity_block_ids: list[str] | None = ... + """The IDs of the Capacity Blocks.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `capacity-block-id` - The ID of the Capacity Block. + + - `ultraserver-type` - The Capacity Block type. The type can be + `instances` or `ultraservers`. + + - `availability-zone` - The Availability Zone of the Capacity Block. + + - `start-date` - The date and time at which the Capacity Block was + started. + + - `end-date` - The date and time at which the Capacity Block expires. + When a Capacity Block expires, all instances in the Capacity Block are + terminated. + + - `create-date` - The date and time at which the Capacity Block was + created. + + - `state` - The state of the Capacity Block (`active` | `expired` | + `unavailable` | `cancelled` | `failed` | `scheduled` | + `payment-pending` | `payment-failed`). + + - `tags` - The tags assigned to the Capacity Block. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlocksOutput(_SerdeShape): + """Dataclass for DescribeCapacityBlocksOutput structure.""" + + capacity_blocks: list[CapacityBlock] | None = ... + """The Capacity Blocks.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlockStatusInput(_SerdeShape): + """Dataclass for DescribeCapacityBlockStatusInput structure.""" + + capacity_block_ids: list[str] | None = ... + """The ID of the Capacity Block.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `interconnect-status` - The status of the interconnect for the + Capacity Block (`ok` | `impaired` | `insufficient-data`). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeCapacityBlockStatusOutput(_SerdeShape): + """Dataclass for DescribeCapacityBlockStatusOutput structure.""" + + capacity_block_statuses: list[CapacityBlockStatus] | None = ... + """The availability of capacity for a Capacity Block.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityManagerDataExportsInput(_SerdeShape): + """Dataclass for DescribeCapacityManagerDataExportsInput structure.""" + + capacity_manager_data_export_ids: list[str] | None = ... + """ + The IDs of the data export configurations to describe. If not specified, + all export configurations are returned. + """ + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If not + specified, up to 1000 results are returned. + """ + next_token: str | None = ... + """ + The token for the next page of results. Use this value in a subsequent + call to retrieve additional results. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters to narrow the results. Supported filters include + export status, creation date, and S3 bucket name. + """ + +@dataclass(kw_only=True) +class DescribeCapacityManagerDataExportsOutput(_SerdeShape): + """Dataclass for DescribeCapacityManagerDataExportsOutput structure.""" + + capacity_manager_data_exports: list[CapacityManagerDataExportResponse] | None = ... + """ + Information about the data export configurations, including export + settings, delivery status, and recent activity. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationBillingRequestsInput(_SerdeShape): + """Dataclass for DescribeCapacityReservationBillingRequestsInput structure.""" + + capacity_reservation_ids: list[str] | None = ... + """The ID of the Capacity Reservation.""" + role: str | None = ... + """ + Specify one of the following: + + - `odcr-owner` - If you are the Capacity Reservation owner, specify this + value to view requests that you have initiated. Not supported with the + `requested-by` filter. + + - `unused-reservation-billing-owner` - If you are the consumer account, + specify this value to view requests that have been sent to you. Not + supported with the `unused-reservation-billing-owner` filter. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `status` - The state of the request (`pending` | `accepted` | + `rejected` | `cancelled` | `revoked` | `expired`). + + - `requested-by` - The account ID of the Capacity Reservation owner that + initiated the request. Not supported if you specify `requested-by` for + **Role**. + + - `unused-reservation-billing-owner` - The ID of the consumer account to + which the request was sent. Not supported if you specify + `unused-reservation-billing-owner` for **Role**. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationBillingRequestsOutput(_SerdeShape): + """ + Dataclass for DescribeCapacityReservationBillingRequestsOutput + structure. + """ + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + capacity_reservation_billing_requests: ( + list[CapacityReservationBillingRequest] | None + ) = ... + """Information about the request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationCancellationQuotesInput(_SerdeShape): + """ + Dataclass for DescribeCapacityReservationCancellationQuotesInput + structure. + """ + + capacity_reservation_cancellation_quote_ids: list[str] | None = ... + """The IDs of the cancellation quotes to describe.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """One or more filters. Filter names and values are case-sensitive.""" + +@dataclass(kw_only=True) +class DescribeCapacityReservationCancellationQuotesOutput(_SerdeShape): + """ + Dataclass for DescribeCapacityReservationCancellationQuotesOutput + structure. + """ + + capacity_reservation_cancellation_quotes: ( + list[CapacityReservationCancellationQuote] | None + ) = ... + """Information about the Capacity Reservation cancellation quotes.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationDateChangeQuotesInput(_SerdeShape): + """ + Dataclass for DescribeCapacityReservationDateChangeQuotesInput + structure. + """ + + capacity_reservation_modification_quote_ids: list[str] | None = ... + """The IDs of the date change quotes to describe.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """One or more filters. Filter names and values are case-sensitive.""" + +@dataclass(kw_only=True) +class DescribeCapacityReservationDateChangeQuotesOutput(_SerdeShape): + """ + Dataclass for DescribeCapacityReservationDateChangeQuotesOutput + structure. + """ + + capacity_reservation_modification_quotes: ( + list[CapacityReservationModificationQuote] | None + ) = ... + """Information about the Capacity Reservation date change quotes.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationFleetsInput(_SerdeShape): + """Dataclass for DescribeCapacityReservationFleetsInput structure.""" + + capacity_reservation_fleet_ids: list[str] | None = ... + """The IDs of the Capacity Reservation Fleets to describe.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `state` - The state of the Fleet (`submitted` | `modifying` | + `active` | `partially_fulfilled` | `expiring` | `expired` | + `cancelling` | `cancelled` | `failed`). + + - `instance-match-criteria` - The instance matching criteria for the + Fleet. Only `open` is supported. + + - `tenancy` - The tenancy of the Fleet (`default` | `dedicated`). + + - `allocation-strategy` - The allocation strategy used by the Fleet. + Only `prioritized` is supported. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationFleetsOutput(_SerdeShape): + """Dataclass for DescribeCapacityReservationFleetsOutput structure.""" + + capacity_reservation_fleets: list[CapacityReservationFleet] | None = ... + """Information about the Capacity Reservation Fleets.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationsInput(_SerdeShape): + """Dataclass for DescribeCapacityReservationsInput structure.""" + + capacity_reservation_ids: list[str] | None = ... + """The ID of the Capacity Reservation.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `instance-type` - The type of instance for which the Capacity + Reservation reserves capacity. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + Capacity Reservation. + + - `instance-platform` - The type of operating system for which the + Capacity Reservation reserves capacity. + + - `availability-zone` - The Availability Zone of the Capacity + Reservation. + + - `tenancy` - Indicates the tenancy of the Capacity Reservation. A + Capacity Reservation can have one of the following tenancy settings: + + - `default` - The Capacity Reservation is created on hardware that is + shared with other Amazon Web Services accounts. + + - `dedicated` - The Capacity Reservation is created on single-tenant + hardware that is dedicated to a single Amazon Web Services account. + + - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost on which + the Capacity Reservation was created. + + - `state` - The current state of the Capacity Reservation. A Capacity + Reservation can be in one of the following states: + + - `active`- The Capacity Reservation is active and the capacity is + available for your use. + + - `expired` - The Capacity Reservation expired automatically at the + date and time specified in your request. The reserved capacity is no + longer available for your use. + + - `cancelled` - The Capacity Reservation was cancelled. The reserved + capacity is no longer available for your use. + + - `pending` - The Capacity Reservation request was successful but the + capacity provisioning is still pending. + + - `failed` - The Capacity Reservation request has failed. A request + might fail due to invalid request parameters, capacity constraints, + or instance limit constraints. Failed requests are retained for 60 + minutes. + + - `start-date` - The date and time at which the Capacity Reservation was + started. + + - `end-date` - The date and time at which the Capacity Reservation + expires. When a Capacity Reservation expires, the reserved capacity is + released and you can no longer launch instances into it. The Capacity + Reservation's state changes to expired when it reaches its end date + and time. + + - `end-date-type` - Indicates the way in which the Capacity Reservation + ends. A Capacity Reservation can have one of the following end types: + + - `unlimited` - The Capacity Reservation remains active until you + explicitly cancel it. + + - `limited` - The Capacity Reservation expires automatically at a + specified date and time. + + - `instance-match-criteria` - Indicates the type of instance launches + that the Capacity Reservation accepts. The options include: + + - `open` - The Capacity Reservation accepts all instances that have + matching attributes (instance type, platform, and Availability + Zone). Instances that have matching attributes launch into the + Capacity Reservation automatically without specifying any additional + parameters. + + - `targeted` - The Capacity Reservation only accepts instances that + have matching attributes (instance type, platform, and Availability + Zone), and explicitly target the Capacity Reservation. This ensures + that only permitted instances can use the reserved capacity. + + - `placement-group-arn` - The ARN of the cluster placement group in + which the Capacity Reservation was created. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationsOutput(_SerdeShape): + """Dataclass for DescribeCapacityReservationsOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + capacity_reservations: list[CapacityReservation] | None = ... + """Information about the Capacity Reservations.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationTopologyInput(_SerdeShape): + """Dataclass for DescribeCapacityReservationTopologyInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + + You can't specify this parameter and the Capacity Reservation IDs + parameter in the same request. + + Default: `10` + """ + capacity_reservation_ids: list[str] | None = ... + """ + The Capacity Reservation IDs. + + Default: Describes all your Capacity Reservations. + + Constraints: Maximum 10 explicitly specified Capacity Reservation IDs. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The name of the Availability Zone (for example, + `us-west-2a`) or Local Zone (for example, `us-west-2-lax-1b`) that the + Capacity Reservation is in. + + - `instance-type` - The instance type (for example, `p4d.24xlarge`) or + instance family (for example, `p4d*`). You can use the `*` wildcard to + match zero or more characters, or the `?` wildcard to match zero or + one character. + """ + +@dataclass(kw_only=True) +class DescribeCapacityReservationTopologyOutput(_SerdeShape): + """Dataclass for DescribeCapacityReservationTopologyOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + capacity_reservations: list[CapacityReservationTopology] | None = ... + """Information about the topology of each Capacity Reservation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCarrierGatewaysInput(_SerdeShape): + """Dataclass for DescribeCarrierGatewaysInput structure.""" + + carrier_gateway_ids: list[str] | None = ... + """One or more carrier gateway IDs.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `carrier-gateway-id` - The ID of the carrier gateway. + + - `state` - The state of the carrier gateway (`pending` | `failed` | + `available` | `deleting` | `deleted`). + + - `owner-id` - The Amazon Web Services account ID of the owner of the + carrier gateway. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC associated with the carrier gateway. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeCarrierGatewaysOutput(_SerdeShape): + """Dataclass for DescribeCarrierGatewaysOutput structure.""" + + carrier_gateways: list[CarrierGateway] | None = ... + """Information about the carrier gateway.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeClassicLinkInstancesInput(_SerdeShape): + """Dataclass for DescribeClassicLinkInstancesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_ids: list[str] | None = ... + """The instance IDs. Must be instances linked to a VPC through ClassicLink.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `group-id` - The ID of a VPC security group that's associated with + the instance. + + - `instance-id` - The ID of the instance. + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC to which the instance is linked. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + + Constraint: If the value is greater than 1000, we return only 1000 + items. + """ + +@dataclass(kw_only=True) +class DescribeClassicLinkInstancesOutput(_SerdeShape): + """Dataclass for DescribeClassicLinkInstancesOutput structure.""" + + instances: list[ClassicLinkInstance] | None = ... + """Information about one or more linked EC2-Classic instances.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnAuthorizationRulesInput(_SerdeShape): + """Dataclass for DescribeClientVpnAuthorizationRulesInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + filters: list[Filter] | None = ... + """ + One or more filters. Filter names and values are case-sensitive. + + - `description` - The description of the authorization rule. + + - `destination-cidr` - The CIDR of the network to which the + authorization rule applies. + + - `group-id` - The ID of the Active Directory group to which the + authorization rule grants access. + """ + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the nextToken value. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnAuthorizationRulesOutput(_SerdeShape): + """Dataclass for DescribeClientVpnAuthorizationRulesOutput structure.""" + + authorization_rules: list[AuthorizationRule] | None = ... + """Information about the authorization rules.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnConnectionsInput(_SerdeShape): + """Dataclass for DescribeClientVpnConnectionsInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + filters: list[Filter] | None = ... + """ + One or more filters. Filter names and values are case-sensitive. + + - `connection-id` - The ID of the connection. + + - `username` - For Active Directory client authentication, the user name + of the client who established the client connection. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the nextToken value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnConnectionsOutput(_SerdeShape): + """Dataclass for DescribeClientVpnConnectionsOutput structure.""" + + connections: list[ClientVpnConnection] | None = ... + """Information about the active and terminated client connections.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnEndpointsInput(_SerdeShape): + """Dataclass for DescribeClientVpnEndpointsInput structure.""" + + client_vpn_endpoint_ids: list[str] | None = ... + """The ID of the Client VPN endpoint.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the nextToken value. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + filters: list[Filter] | None = ... + """ + One or more filters. Filter names and values are case-sensitive. + + - `endpoint-id` - The ID of the Client VPN endpoint. + + - `transport-protocol` - The transport protocol (`tcp` | `udp`). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnEndpointsOutput(_SerdeShape): + """Dataclass for DescribeClientVpnEndpointsOutput structure.""" + + client_vpn_endpoints: list[ClientVpnEndpoint] | None = ... + """Information about the Client VPN endpoints.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnRoutesInput(_SerdeShape): + """Dataclass for DescribeClientVpnRoutesInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + filters: list[Filter] | None = ... + """ + One or more filters. Filter names and values are case-sensitive. + + - `destination-cidr` - The CIDR of the route destination. + + - `origin` - How the route was associated with the Client VPN endpoint + (`associate` | `add-route`). + + - `target-subnet` - The ID of the subnet through which traffic is + routed. + """ + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the nextToken value. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnRoutesOutput(_SerdeShape): + """Dataclass for DescribeClientVpnRoutesOutput structure.""" + + routes: list[ClientVpnRoute] | None = ... + """Information about the Client VPN endpoint routes.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnTargetNetworksInput(_SerdeShape): + """Dataclass for DescribeClientVpnTargetNetworksInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + association_ids: list[str] | None = ... + """The IDs of the target network associations.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the nextToken value. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + filters: list[Filter] | None = ... + """ + One or more filters. Filter names and values are case-sensitive. + + - `association-id` - The ID of the association. + + - `target-network-id` - The ID of the subnet specified as the target + network. + + - `vpc-id` - The ID of the VPC in which the target network is located. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeClientVpnTargetNetworksOutput(_SerdeShape): + """Dataclass for DescribeClientVpnTargetNetworksOutput structure.""" + + client_vpn_target_networks: list[TargetNetwork] | None = ... + """Information about the associated target networks.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCoipPoolsInput(_SerdeShape): + """Dataclass for DescribeCoipPoolsInput structure.""" + + pool_ids: list[str] | None = ... + """The IDs of the address pools.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `coip-pool.local-gateway-route-table-id` - The ID of the local gateway + route table. + + - `coip-pool.pool-id` - The ID of the address pool. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeCoipPoolsOutput(_SerdeShape): + """Dataclass for DescribeCoipPoolsOutput structure.""" + + coip_pools: list[CoipPool] | None = ... + """Information about the address pools.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeConversionTasksInput(_SerdeShape): + """Dataclass for DescribeConversionTasksInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + conversion_task_ids: list[str] | None = ... + """The conversion task IDs.""" + +@dataclass(kw_only=True) +class DescribeConversionTasksOutput(_SerdeShape): + """Dataclass for DescribeConversionTasksOutput structure.""" + + conversion_tasks: list[ConversionTask] | None = ... + """Information about the conversion tasks.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCustomerGatewaysInput(_SerdeShape): + """Contains the parameters for DescribeCustomerGateways.""" + + customer_gateway_ids: list[str] | None = ... + """ + One or more customer gateway IDs. + + Default: Describes all your customer gateways. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `bgp-asn` - The customer gateway's Border Gateway Protocol (BGP) + Autonomous System Number (ASN). + + - `customer-gateway-id` - The ID of the customer gateway. + + - `ip-address` - The IP address of the customer gateway device's + external interface. + + - `state` - The state of the customer gateway (`pending` | `available` + | `deleting` | `deleted`). + + - `type` - The type of customer gateway. Currently, the only supported + type is `ipsec.1`. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeCustomerGatewaysOutput(_SerdeShape): + """Contains the output of DescribeCustomerGateways.""" + + customer_gateways: list[CustomerGateway] | None = ... + """Information about one or more customer gateways.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDeclarativePoliciesReportsInput(_SerdeShape): + """Dataclass for DescribeDeclarativePoliciesReportsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + report_ids: list[str] | None = ... + """One or more report IDs.""" + +@dataclass(kw_only=True) +class DescribeDeclarativePoliciesReportsOutput(_SerdeShape): + """Dataclass for DescribeDeclarativePoliciesReportsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + reports: list[DeclarativePoliciesReport] | None = ... + """The report metadata.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDhcpOptionsInput(_SerdeShape): + """Dataclass for DescribeDhcpOptionsInput structure.""" + + dhcp_options_ids: list[str] | None = ... + """The IDs of DHCP option sets.""" + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `dhcp-options-id` - The ID of a DHCP options set. + + - `key` - The key for one of the options (for example, `domain-name`). + + - `value` - The value for one of the options. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + DHCP options set. + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + +@dataclass(kw_only=True) +class DescribeDhcpOptionsOutput(_SerdeShape): + """Dataclass for DescribeDhcpOptionsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + dhcp_options: list[DhcpOptions] | None = ... + """Information about the DHCP options sets.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeEgressOnlyInternetGatewaysInput(_SerdeShape): + """Dataclass for DescribeEgressOnlyInternetGatewaysInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + egress_only_internet_gateway_ids: list[str] | None = ... + """The IDs of the egress-only internet gateways.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + +@dataclass(kw_only=True) +class DescribeEgressOnlyInternetGatewaysOutput(_SerdeShape): + """Dataclass for DescribeEgressOnlyInternetGatewaysOutput structure.""" + + egress_only_internet_gateways: list[EgressOnlyInternetGateway] | None = ... + """Information about the egress-only internet gateways.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeElasticGpusInput(_SerdeShape): + """Dataclass for DescribeElasticGpusInput structure.""" + + elastic_gpu_ids: list[str] | None = ... + """The Elastic Graphics accelerator IDs.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The Availability Zone in which the Elastic + Graphics accelerator resides. + + - `elastic-gpu-health` - The status of the Elastic Graphics accelerator + (`OK` | `IMPAIRED`). + + - `elastic-gpu-state` - The state of the Elastic Graphics accelerator + (`ATTACHED`). + + - `elastic-gpu-type` - The type of Elastic Graphics accelerator; for + example, `eg1.medium`. + + - `instance-id` - The ID of the instance to which the Elastic Graphics + accelerator is associated. + """ + max_results: int | None = ... + """ + The maximum number of results to return in a single call. To retrieve + the remaining results, make another call with the returned `NextToken` + value. This value can be between 5 and 1000. + """ + next_token: str | None = ... + """The token to request the next page of results.""" + +@dataclass(kw_only=True) +class DescribeElasticGpusOutput(_SerdeShape): + """Dataclass for DescribeElasticGpusOutput structure.""" + + elastic_gpu_set: list[ElasticGpus] | None = ... + """Information about the Elastic Graphics accelerators.""" + max_results: int | None = ... + """ + The total number of items to return. If the total number of items + available is more than the value specified in max-items then a + Next-Token will be provided in the output that you can use to resume + pagination. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeExportImageTasksInput(_SerdeShape): + """Dataclass for DescribeExportImageTasksInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + Filter tasks using the `task-state` filter and one of the following + values: `active`, `completed`, `deleting`, or `deleted`. + """ + export_image_task_ids: list[str] | None = ... + """The IDs of the export image tasks.""" + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + next_token: str | None = ... + """A token that indicates the next page of results.""" + +@dataclass(kw_only=True) +class DescribeExportImageTasksOutput(_SerdeShape): + """Dataclass for DescribeExportImageTasksOutput structure.""" + + export_image_tasks: list[ExportImageTask] | None = ... + """Information about the export image tasks.""" + next_token: str | None = ... + """ + The token to use to get the next page of results. This value is `null` + when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeExportTasksInput(_SerdeShape): + """Dataclass for DescribeExportTasksInput structure.""" + + filters: list[Filter] | None = ... + """the filters for the export tasks.""" + export_task_ids: list[str] | None = ... + """The export task IDs.""" + +@dataclass(kw_only=True) +class DescribeExportTasksOutput(_SerdeShape): + """Dataclass for DescribeExportTasksOutput structure.""" + + export_tasks: list[ExportTask] | None = ... + """Information about the export tasks.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeFastLaunchImagesInput(_SerdeShape): + """Dataclass for DescribeFastLaunchImagesInput structure.""" + + image_ids: list[str] | None = ... + """Specify one or more Windows AMI image IDs for the request.""" + filters: list[Filter] | None = ... + """ + Use the following filters to streamline results. + + - `resource-type` - The resource type for pre-provisioning. + + - `owner-id` - The owner ID for the pre-provisioning resource. + + - `state` - The current state of fast launching for the Windows AMI. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeFastLaunchImagesOutput(_SerdeShape): + """Dataclass for DescribeFastLaunchImagesOutput structure.""" + + fast_launch_images: list[DescribeFastLaunchImagesSuccessItem] | None = ... + """ + A collection of details about the fast-launch enabled Windows images + that meet the requested criteria. + """ + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeFastLaunchImagesSuccessItem(_SerdeShape): + """ + Describe details about a Windows image with Windows fast launch enabled + that meets the requested criteria. Criteria are defined by the + `DescribeFastLaunchImages` action filters. + """ + + image_id: str | None = ... + """The image ID that identifies the Windows fast launch enabled image.""" + resource_type: str | None = ... + """ + The resource type that Amazon EC2 uses for pre-provisioning the Windows + AMI. Supported values include: `snapshot`. + """ + snapshot_configuration: FastLaunchSnapshotConfigurationResponse | None = ... + """ + A group of parameters that are used for pre-provisioning the associated + Windows AMI using snapshots. + """ + launch_template: FastLaunchLaunchTemplateSpecificationResponse | None = ... + """ + The launch template that the Windows fast launch enabled AMI uses when + it launches Windows instances from pre-provisioned snapshots. + """ + max_parallel_launches: int | None = ... + """ + The maximum number of instances that Amazon EC2 can launch at the same + time to create pre-provisioned snapshots for Windows fast launch. + """ + owner_id: str | None = ... + """The owner ID for the Windows fast launch enabled AMI.""" + state: str | None = ... + """The current state of Windows fast launch for the specified Windows AMI.""" + state_transition_reason: str | None = ... + """ + The reason that Windows fast launch for the AMI changed to the current + state. + """ + state_transition_time: datetime | None = ... + """ + The time that Windows fast launch for the AMI changed to the current + state. + """ + +@dataclass(kw_only=True) +class DescribeFastSnapshotRestoresInput(_SerdeShape): + """Dataclass for DescribeFastSnapshotRestoresInput structure.""" + + filters: list[Filter] | None = ... + """ + The filters. The possible values are: + + - `availability-zone`: The Availability Zone of the snapshot. For + example, `us-east-2a`. + + - `availability-zone-id`: The ID of the Availability Zone of the + snapshot. For example, `use2-az1`. + + - `owner-id`: The ID of the Amazon Web Services account that enabled + fast snapshot restore on the snapshot. + + - `snapshot-id`: The ID of the snapshot. + + - `state`: The state of fast snapshot restores for the snapshot + (`enabling` | `optimizing` | `enabled` | `disabling` | + `disabled`). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeFastSnapshotRestoresOutput(_SerdeShape): + """Dataclass for DescribeFastSnapshotRestoresOutput structure.""" + + fast_snapshot_restores: list[DescribeFastSnapshotRestoreSuccessItem] | None = ... + """Information about the state of fast snapshot restores.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeFastSnapshotRestoreSuccessItem(_SerdeShape): + """Describes fast snapshot restores for a snapshot.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + availability_zone: str | None = ... + """The Availability Zone.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + state: str | None = ... + """The state of fast snapshot restores.""" + state_transition_reason: str | None = ... + """ + The reason for the state transition. The possible values are as follows: + + - `Client.UserInitiated` - The state successfully transitioned to + `enabling` or `disabling`. + + - `Client.UserInitiated - Lifecycle state transition` - The state + successfully transitioned to `optimizing`, `enabled`, or `disabled`. + """ + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that enabled fast snapshot + restores on the snapshot. + """ + owner_alias: str | None = ... + """ + The Amazon Web Services owner alias that enabled fast snapshot restores + on the snapshot. This is intended for future use. + """ + enabling_time: datetime | None = ... + """The time at which fast snapshot restores entered the `enabling` state.""" + optimizing_time: datetime | None = ... + """The time at which fast snapshot restores entered the `optimizing` state.""" + enabled_time: datetime | None = ... + """The time at which fast snapshot restores entered the `enabled` state.""" + disabling_time: datetime | None = ... + """The time at which fast snapshot restores entered the `disabling` state.""" + disabled_time: datetime | None = ... + """The time at which fast snapshot restores entered the `disabled` state.""" + +@dataclass(kw_only=True) +class DescribeFleetError(_SerdeShape): + """Describes the instances that could not be launched by the fleet.""" + + launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ... + """ + The launch templates and overrides that were used for launching the + instances. The values that you specify in the Overrides replace the + values in the launch template. + """ + lifecycle: str | None = ... + """ + Indicates if the instance that could not be launched was a Spot, + On-Demand, Capacity Block for ML, or interruptible Capacity Reservation + instance. If you are using `ReservedCapacityOptions` with + `on-demand-capacity-reservation` in the `ReservationTypes` list, the + value can also be `on-demand-capacity-reservation`. + """ + error_code: str | None = ... + """ + The error code that indicates why the instance could not be launched. + For more information about error codes, see [Error + codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + """ + error_message: str | None = ... + """ + The error message that describes why the instance could not be launched. + For more information about error messages, see [Error + codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + """ + +@dataclass(kw_only=True) +class DescribeFleetHistoryInput(_SerdeShape): + """Dataclass for DescribeFleetHistoryInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + event_type: str | None = ... + """The type of events to describe. By default, all events are described.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + fleet_id: str | None = ... + """The ID of the EC2 Fleet.""" + start_time: datetime | None = ... + """ + The start date and time for the events, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + +@dataclass(kw_only=True) +class DescribeFleetHistoryOutput(_SerdeShape): + """Dataclass for DescribeFleetHistoryOutput structure.""" + + history_records: list[HistoryRecordEntry] | None = ... + """Information about the events in the history of the EC2 Fleet.""" + last_evaluated_time: datetime | None = ... + """ + The last date and time for the events, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). All records up to this time were + retrieved. + + If `nextToken` indicates that there are more items, this value is not + present. + """ + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + fleet_id: str | None = ... + """The ID of the EC Fleet.""" + start_time: datetime | None = ... + """ + The start date and time for the events, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeFleetInstancesInput(_SerdeShape): + """Dataclass for DescribeFleetInstancesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + fleet_id: str | None = ... + """The ID of the EC2 Fleet.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `instance-type` - The instance type. + """ + +@dataclass(kw_only=True) +class DescribeFleetInstancesOutput(_SerdeShape): + """Dataclass for DescribeFleetInstancesOutput structure.""" + + active_instances: list[ActiveInstance] | None = ... + """ + The running instances. This list is refreshed periodically and might be + out of date. + """ + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + fleet_id: str | None = ... + """The ID of the EC2 Fleet.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeFleetsInput(_SerdeShape): + """Dataclass for DescribeFleetsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + fleet_ids: list[str] | None = ... + """ + The IDs of the EC2 Fleets. + + Note: + If a fleet is of type `instant`, you must specify the fleet ID, + otherwise it does not appear in the response. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `activity-status` - The progress of the EC2 Fleet ( `error` | + `pending-fulfillment` | `pending-termination` | `fulfilled`). + + - `excess-capacity-termination-policy` - Indicates whether to terminate + running instances if the target capacity is decreased below the + current EC2 Fleet size (`true` | `false`). + + - `fleet-state` - The state of the EC2 Fleet (`submitted` | `active` | + `deleted` | `failed` | `deleted-running` | `deleted-terminating` | + `modifying`). + + - `replace-unhealthy-instances` - Indicates whether EC2 Fleet should + replace unhealthy instances (`true` | `false`). + + - `type` - The type of request (`instant` | `request` | `maintain`). + """ + +@dataclass(kw_only=True) +class DescribeFleetsInstances(_SerdeShape): + """Describes the instances that were launched by the fleet.""" + + launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ... + """ + The launch templates and overrides that were used for launching the + instances. The values that you specify in the Overrides replace the + values in the launch template. + """ + lifecycle: str | None = ... + """ + Indicates if the instance that was launched is a Spot, On-Demand, + Capacity Block for ML, or interruptible Capacity Reservation instance. + """ + instance_ids: list[str] | None = ... + """The IDs of the instances.""" + instance_type: str | None = ... + """The instance type.""" + platform: str | None = ... + """ + The value is `windows` for Windows instances in an EC2 Fleet. Otherwise, + the value is blank. + """ + +@dataclass(kw_only=True) +class DescribeFleetsOutput(_SerdeShape): + """Dataclass for DescribeFleetsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + fleets: list[FleetData] | None = ... + """Information about the EC2 Fleets.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeFlowLogsInput(_SerdeShape): + """Dataclass for DescribeFlowLogsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filter: list[Filter] | None = ... + """ + One or more filters. + + - `deliver-log-status` - The status of the logs delivery (`SUCCESS` | + `FAILED`). + + - `log-destination-type` - The type of destination for the flow log data + (`cloud-watch-logs` | `s3` | `kinesis-data-firehose`). + + - `flow-log-id` - The ID of the flow log. + + - `log-group-name` - The name of the log group. + + - `resource-id` - The ID of the VPC, subnet, or network interface. + + - `traffic-type` - The type of traffic (`ACCEPT` | `REJECT` | `ALL`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + flow_log_ids: list[str] | None = ... + """ + One or more flow log IDs. + + Constraint: Maximum of 1000 flow log IDs. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token to request the next page of items. Pagination continues from + the end of the items returned by the previous request. + """ + +@dataclass(kw_only=True) +class DescribeFlowLogsOutput(_SerdeShape): + """Dataclass for DescribeFlowLogsOutput structure.""" + + flow_logs: list[FlowLog] | None = ... + """Information about the flow logs.""" + next_token: str | None = ... + """ + The token to request the next page of items. This value is `null` when + there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeFpgaImageAttributeInput(_SerdeShape): + """Dataclass for DescribeFpgaImageAttributeInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + fpga_image_id: str | None = ... + """The ID of the AFI.""" + attribute: str | None = ... + """The AFI attribute.""" + +@dataclass(kw_only=True) +class DescribeFpgaImageAttributeOutput(_SerdeShape): + """Dataclass for DescribeFpgaImageAttributeOutput structure.""" + + fpga_image_attribute: FpgaImageAttribute | None = ... + """Information about the attribute.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeFpgaImagesInput(_SerdeShape): + """Dataclass for DescribeFpgaImagesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + fpga_image_ids: list[str] | None = ... + """The AFI IDs.""" + owners: list[str] | None = ... + """ + Filters the AFI by owner. Specify an Amazon Web Services account ID, + `self` (owner is the sender of the request), or an Amazon Web Services + owner alias (valid values are `amazon` | `aws-marketplace`). + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `create-time` - The creation time of the AFI. + + - `fpga-image-id` - The FPGA image identifier (AFI ID). + + - `fpga-image-global-id` - The global FPGA image identifier (AGFI ID). + + - `name` - The name of the AFI. + + - `owner-id` - The Amazon Web Services account ID of the AFI owner. + + - `product-code` - The product code. + + - `shell-version` - The version of the Amazon Web Services Shell that + was used to create the bitstream. + + - `state` - The state of the AFI (`pending` | `failed` | `available` + | `unavailable`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `update-time` - The time of the most recent update. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + +@dataclass(kw_only=True) +class DescribeFpgaImagesOutput(_SerdeShape): + """Dataclass for DescribeFpgaImagesOutput structure.""" + + fpga_images: list[FpgaImage] | None = ... + """Information about the FPGA images.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeHostReservationOfferingsInput(_SerdeShape): + """Dataclass for DescribeHostReservationOfferingsInput structure.""" + + filter: list[Filter] | None = ... + """ + The filters. + + - `instance-family` - The instance family of the offering (for example, + `m4`). + + - `payment-option` - The payment option (`NoUpfront` | `PartialUpfront` + | `AllUpfront`). + """ + max_duration: int | None = ... + """ + This is the maximum duration of the reservation to purchase, specified + in seconds. Reservations are available in one-year and three-year terms. + The number of seconds specified must be the number of seconds in a year + (365x24x60x60) times one of the supported durations (1 or 3). For + example, specify 94608000 for three years. + """ + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the returned `nextToken` value. This value can be between 5 and 500. If + `maxResults` is given a larger value than 500, you receive an error. + """ + min_duration: int | None = ... + """ + This is the minimum duration of the reservation you'd like to purchase, + specified in seconds. Reservations are available in one-year and + three-year terms. The number of seconds specified must be the number of + seconds in a year (365x24x60x60) times one of the supported durations (1 + or 3). For example, specify 31536000 for one year. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + offering_id: str | None = ... + """The ID of the reservation offering.""" + +@dataclass(kw_only=True) +class DescribeHostReservationOfferingsOutput(_SerdeShape): + """Dataclass for DescribeHostReservationOfferingsOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + offering_set: list[HostOffering] | None = ... + """Information about the offerings.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeHostReservationsInput(_SerdeShape): + """Dataclass for DescribeHostReservationsInput structure.""" + + filter: list[Filter] | None = ... + """ + The filters. + + - `instance-family` - The instance family (for example, `m4`). + + - `payment-option` - The payment option (`NoUpfront` | `PartialUpfront` + | `AllUpfront`). + + - `state` - The state of the reservation (`payment-pending` | + `payment-failed` | `active` | `retired`). + + - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + host_reservation_id_set: list[str] | None = ... + """The host reservation IDs.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the returned `nextToken` value. This value can be between 5 and 500. If + `maxResults` is given a larger value than 500, you receive an error. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + +@dataclass(kw_only=True) +class DescribeHostReservationsOutput(_SerdeShape): + """Dataclass for DescribeHostReservationsOutput structure.""" + + host_reservation_set: list[HostReservation] | None = ... + """Details about the reservation's configuration.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeHostsInput(_SerdeShape): + """Dataclass for DescribeHostsInput structure.""" + + host_ids: list[str] | None = ... + """ + The IDs of the Dedicated Hosts. The IDs are used for targeted instance + launches. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the returned `nextToken` value. This value can be between 5 and 500. If + `maxResults` is given a larger value than 500, you receive an error. + + You cannot specify this parameter and the host IDs parameter in the same + request. + """ + filter: list[Filter] | None = ... + """ + The filters. + + - `auto-placement` - Whether auto-placement is enabled or disabled (`on` + | `off`). + + - `availability-zone` - The Availability Zone of the host. + + - `client-token` - The idempotency token that you provided when you + allocated the host. + + - `host-reservation-id` - The ID of the reservation assigned to this + host. + + - `instance-type` - The instance type size that the Dedicated Host is + configured to support. + + - `state` - The allocation state of the Dedicated Host (`available` | + `under-assessment` | `permanent-failure` | `released` | + `released-permanent-failure`). + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + +@dataclass(kw_only=True) +class DescribeHostsOutput(_SerdeShape): + """Dataclass for DescribeHostsOutput structure.""" + + hosts: list[Host] | None = ... + """Information about the Dedicated Hosts.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIamInstanceProfileAssociationsInput(_SerdeShape): + """Dataclass for DescribeIamInstanceProfileAssociationsInput structure.""" + + association_ids: list[str] | None = ... + """The IAM instance profile associations.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `instance-id` - The ID of the instance. + + - `state` - The state of the association (`associating` | `associated` + | `disassociating`). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + +@dataclass(kw_only=True) +class DescribeIamInstanceProfileAssociationsOutput(_SerdeShape): + """Dataclass for DescribeIamInstanceProfileAssociationsOutput structure.""" + + iam_instance_profile_associations: list[IamInstanceProfileAssociation] | None = ... + """Information about the IAM instance profile associations.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIdentityIdFormatInput(_SerdeShape): + """Dataclass for DescribeIdentityIdFormatInput structure.""" + + resource: str | None = ... + """ + The type of resource: `bundle` | `conversion-task` | + `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | + `elastic-ip-association` | `export-task` | `flow-log` | `image` | + `import-task` | `instance` | `internet-gateway` | `network-acl` | + `network-acl-association` | `network-interface` | + `network-interface-attachment` | `prefix-list` | `reservation` | + `route-table` | `route-table-association` | `security-group` | + `snapshot` | `subnet` | `subnet-cidr-block-association` | `volume` | + `vpc` | `vpc-cidr-block-association` | `vpc-endpoint` | + `vpc-peering-connection` | `vpn-connection` | `vpn-gateway` + """ + principal_arn: str | None = ... + """ + The ARN of the principal, which can be an IAM role, IAM user, or the + root user. + """ + +@dataclass(kw_only=True) +class DescribeIdentityIdFormatOutput(_SerdeShape): + """Dataclass for DescribeIdentityIdFormatOutput structure.""" + + statuses: list[IdFormat] | None = ... + """Information about the ID format for the resources.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIdFormatInput(_SerdeShape): + """Dataclass for DescribeIdFormatInput structure.""" + + resource: str | None = ... + """ + The type of resource: `bundle` | `conversion-task` | + `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | + `elastic-ip-association` | `export-task` | `flow-log` | `image` | + `import-task` | `instance` | `internet-gateway` | `network-acl` | + `network-acl-association` | `network-interface` | + `network-interface-attachment` | `prefix-list` | `reservation` | + `route-table` | `route-table-association` | `security-group` | + `snapshot` | `subnet` | `subnet-cidr-block-association` | `volume` | + `vpc` | `vpc-cidr-block-association` | `vpc-endpoint` | + `vpc-peering-connection` | `vpn-connection` | `vpn-gateway` + """ + +@dataclass(kw_only=True) +class DescribeIdFormatOutput(_SerdeShape): + """Dataclass for DescribeIdFormatOutput structure.""" + + statuses: list[IdFormat] | None = ... + """Information about the ID format for the resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeImageAttributeInput(_SerdeShape): + """Contains the parameters for DescribeImageAttribute.""" + + attribute: str | None = ... + """ + The AMI attribute. + + **Note**: The `blockDeviceMapping` attribute is deprecated. Using this + attribute returns the `Client.AuthFailure` error. To get information + about the block device mappings for an AMI, describe the image instead. + """ + image_id: str | None = ... + """The ID of the AMI.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeImageAttributeOutput(_SerdeShape): + """Describes an image attribute.""" + + description: AttributeValue | None = ... + """A description for the AMI.""" + kernel_id: AttributeValue | None = ... + """The kernel ID.""" + ramdisk_id: AttributeValue | None = ... + """The RAM disk ID.""" + sriov_net_support: AttributeValue | None = ... + """ + Indicates whether enhanced networking with the Intel 82599 Virtual + Function interface is enabled. + """ + boot_mode: AttributeValue | None = ... + """The boot mode.""" + tpm_support: AttributeValue | None = ... + """If the image is configured for NitroTPM support, the value is `v2.0`.""" + uefi_data: AttributeValue | None = ... + """ + Base64 representation of the non-volatile UEFI variable store. To + retrieve the UEFI data, use the + [GetInstanceUefiData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData) + command. You can inspect and modify the UEFI data by using the + [python-uefivars tool](https://github.com/awslabs/python-uefivars) on + GitHub. For more information, see [UEFI Secure Boot for Amazon EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html) + in the *Amazon EC2 User Guide*. + """ + last_launched_time: AttributeValue | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the AMI was last used to + launch an EC2 instance. When the AMI is used to launch an instance, + there is a 24-hour delay before that usage is reported. + + Note: + `lastLaunchedTime` data is available starting April 2017. + """ + imds_support: AttributeValue | None = ... + """ + If `v2.0`, it indicates that IMDSv2 is specified in the AMI. Instances + launched from this AMI will have `HttpTokens` automatically set to + `required` so that, by default, the instance requires that IMDSv2 is + used when requesting instance metadata. In addition, + `HttpPutResponseHopLimit` is set to `2`. For more information, see + [Configure the + AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration) + in the *Amazon EC2 User Guide*. + """ + deregistration_protection: AttributeValue | None = ... + """Indicates whether deregistration protection is enabled for the AMI.""" + image_id: str | None = ... + """The ID of the AMI.""" + launch_permissions: list[LaunchPermission] | None = ... + """The launch permissions.""" + product_codes: list[ProductCode] | None = ... + """The product codes.""" + block_device_mappings: list[BlockDeviceMapping] | None = ... + """The block device mapping entries.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeImageReferencesInput(_SerdeShape): + """Dataclass for DescribeImageReferencesInput structure.""" + + image_ids: list[str] | None = ... + """The IDs of the images to check for resource references.""" + include_all_resource_types: bool | None = ... + """ + Specifies whether to check all supported Amazon Web Services resource + types for image references. When specified, default values are applied + for `ResourceTypeOptions`. For the default values, see [How AMI + reference checks + work](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ami-references.html#how-ami-references-works) + in the *Amazon EC2 User Guide*. If you also specify `ResourceTypes` with + `ResourceTypeOptions`, your specified values override the default + values. + + Supported resource types: `ec2:Instance` | `ec2:LaunchTemplate` | + `ssm:Parameter` | `imagebuilder:ImageRecipe` | + `imagebuilder:ContainerRecipe` + + Either `IncludeAllResourceTypes` or `ResourceTypes` must be specified. + """ + resource_types: list[ResourceTypeRequest] | None = ... + """ + The Amazon Web Services resource types to check for image references. + + Either `IncludeAllResourceTypes` or `ResourceTypes` must be specified. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeImageReferencesOutput(_SerdeShape): + """Dataclass for DescribeImageReferencesOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + image_references: list[ImageReference] | None = ... + """The resources that are referencing the specified images.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeImagesInput(_SerdeShape): + """Dataclass for DescribeImagesInput structure.""" + + executable_users: list[str] | None = ... + """ + Scopes the images by users with explicit launch permissions. Specify an + Amazon Web Services account ID, `self` (the sender of the request), or + `all` (public AMIs). + + - If you specify an Amazon Web Services account ID that is not your own, + only AMIs shared with that specific Amazon Web Services account ID are + returned. However, AMIs that are shared with the account's + organization or organizational unit (OU) are not returned. + + - If you specify `self` or your own Amazon Web Services account ID, AMIs + shared with your account are returned. In addition, AMIs that are + shared with the organization or OU of which you are member are also + returned. + + - If you specify `all`, all public AMIs are returned. + """ + image_ids: list[str] | None = ... + """ + The image IDs. + + Default: Describes all images available to you. + """ + owners: list[str] | None = ... + """ + Scopes the results to images with the specified owners. You can specify + a combination of Amazon Web Services account IDs, `self`, `amazon`, + `aws-backup-vault`, and `aws-marketplace`. If you omit this parameter, + the results include all images for which you have launch permissions, + regardless of ownership. + """ + include_deprecated: bool | None = ... + """ + Specifies whether to include deprecated AMIs. + + Default: No deprecated AMIs are included in the response. + + Note: + If you are the AMI owner, all deprecated AMIs appear in the response + regardless of what you specify for this parameter. + """ + include_disabled: bool | None = ... + """ + Specifies whether to include disabled AMIs. + + Default: No disabled AMIs are included in the response. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `architecture` - The image architecture (`i386` | `x86_64` | `arm64` + | `x86_64_mac` | `arm64_mac`). + + - `block-device-mapping.delete-on-termination` - A Boolean value that + indicates whether the Amazon EBS volume is deleted on instance + termination. + + - `block-device-mapping.device-name` - The device name specified in the + block device mapping (for example, `/dev/sdh` or `xvdh`). + + - `block-device-mapping.snapshot-id` - The ID of the snapshot used for + the Amazon EBS volume. + + - `block-device-mapping.volume-size` - The volume size of the Amazon EBS + volume, in GiB. + + - `block-device-mapping.volume-type` - The volume type of the Amazon EBS + volume (`io1` | `io2` | `gp2` | `gp3` | `sc1 `| `st1` | + `standard`). + + - `block-device-mapping.encrypted` - A Boolean that indicates whether + the Amazon EBS volume is encrypted. + + - `boot-mode` -- The boot mode of the image (`legacy-bios` | `uefi` | + `uefi-preferred`). + + - `creation-date` - The time when the image was created, in the ISO 8601 + format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, + `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`), for example, + `2021-09-29T*`, which matches an entire day. + + - `description` - The description of the image (provided during image + creation). + + - `ena-support` - A Boolean that indicates whether enhanced networking + with ENA is enabled. + + - `free-tier-eligible` - A Boolean that indicates whether this image can + be used under the Amazon Web Services Free Tier (`true` | `false`). + + - `hypervisor` - The hypervisor type (`ovm` | `xen`). + + - `image-allowed` - A Boolean that indicates whether the image meets the + criteria specified for Allowed AMIs. + + - `image-id` - The ID of the image. + + - `image-watermark.source-image-creation-time` - The creation date of + the source AMI, in the ISO 8601 format in the UTC time zone + (` `*`YYYY`*`-`*`MM`*`-`*`DD`*`T`*`HH`*`:`*`MM`*`:`*`SS`*`.`*`ssssss`*`+`*`HH`*`:`*`MM`*` `). + You can use a wildcard (`*`), for example, `2021-09-29T*`, which + matches an entire day. + + - `image-watermark.source-image-id` - The ID of the AMI to which the + watermark was originally attached. + + - `image-watermark.source-image-region` - The Region where the watermark + was originally attached. + + - `image-watermark.watermark-creation-time` - The date and time the + watermark was attached to the AMI, in the ISO 8601 format in the UTC + time zone + (` `*`YYYY`*`-`*`MM`*`-`*`DD`*`T`*`HH`*`:`*`MM`*`:`*`SS`*`.`*`ssssss`*`+`*`HH`*`:`*`MM`*` `). + You can use a wildcard (`*`), for example, `2021-09-29T*`, which + matches an entire day. + + - `image-watermark.watermark-key` - The watermark identifier, in + `accountId:watermarkName` format (for example, + `123456789012:approvedAmi`). + + - `image-type` - The image type (`machine` | `kernel` | `ramdisk`). + + - `instance-type-specification.supported-instance-type` -- The instance + types that are compatible with the AMI, as specified by the AMI owner. + Values can be individual instance types (for example, `t3.micro`) or + wildcard patterns that match multiple instance types (for example, + `t3.*`). + + - `instance-type-specification.unsupported-instance-type` -- The + instance types that are not compatible with the AMI, as specified by + the AMI owner. Values can be individual instance types (for example, + `t3.micro`) or wildcard patterns that match multiple instance types + (for example, `t3.*`). + + - `is-public` - A Boolean that indicates whether the image is public. + + - `kernel-id` - The kernel ID. + + - `manifest-location` - The location of the image manifest. + + - `name` - The name of the AMI (provided during image creation). + + - `owner-alias` - The owner alias (`amazon` | `aws-backup-vault` | + `aws-marketplace`). The valid aliases are defined in an + Amazon-maintained list. This is not the Amazon Web Services account + alias that can be set using the IAM console. We recommend that you use + the **Owner** request parameter instead of this filter. + + - `owner-id` - The Amazon Web Services account ID of the owner. We + recommend that you use the **Owner** request parameter instead of this + filter. + + - `platform` - The platform. The only supported value is `windows`. + + - `product-code` - The product code. + + - `product-code.type` - The type of the product code (`marketplace`). + + - `public-ssm-parameter-name` - The name of a public Systems Manager + parameter associated with the AMI. The parameter must be in a trusted + Amazon Web Services namespace under `aws/service/`. Returns all AMIs + that have ever been associated with the parameter, including previous + versions. + + - `ramdisk-id` - The RAM disk ID. + + - `root-device-name` - The device name of the root device volume (for + example, `/dev/sda1`). + + - `root-device-type` - The type of the root device volume (`ebs` | + `instance-store`). + + - `scan-result.critical-fix-available-since` - The earliest date and + time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix + as available for a `critical` severity finding on the AMI. + + - `scan-result.finding-scan-date` - The date and time, in the ISO 8601 + format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), of the most + recent Amazon Inspector scan of the AMI. + + - `scan-result.high-fix-available-since` - The earliest date and time, + in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix + as available for a `high` severity finding on the AMI. + + - `scan-result.highest-finding-severity-label` - The highest severity + among the AMI's Amazon Inspector findings, whether or not a fix is + available. The valid values are the following Amazon Inspector + severity levels: + + - `informational` - CVSS score of 0. + + - `low` - CVSS score of 0.1 to 3.9. + + - `medium` - CVSS score of 4.0 to 6.9. + + - `high` - CVSS score of 7.0 to 8.9. + + - `critical` - CVSS score of 9.0 to 10.0. + + - `scan-result.informational-fix-available-since` - The earliest date + and time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix + as available for an `informational` severity finding on the AMI. + + - `scan-result.low-fix-available-since` - The earliest date and time, in + the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), + at which Amazon Inspector reported a fix as available for a `low` + severity finding on the AMI. + + - `scan-result.medium-fix-available-since` - The earliest date and time, + in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix + as available for a `medium` severity finding on the AMI. + + - `source-image-id` - The ID of the source AMI from which the AMI was + created. + + - `source-image-region` - The Region of the source AMI. + + - `source-instance-id` - The ID of the instance that the AMI was created + from if the AMI was created using CreateImage. This filter is + applicable only if the AMI was created using + [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html). + + - `state` - The state of the image (`available` | `pending` | + `failed`). + + - `state-reason-code` - The reason code for the state change. + + - `state-reason-message` - The message for the state change. + + - `sriov-net-support` - A value of `simple` indicates that enhanced + networking with the Intel 82599 VF interface is enabled. + + - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `virtualization-type` - The virtualization type (`paravirtual` | + `hvm`). + """ + +@dataclass(kw_only=True) +class DescribeImagesOutput(_SerdeShape): + """Dataclass for DescribeImagesOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + images: list[Image] | None = ... + """Information about the images.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeImageUsageReportEntriesInput(_SerdeShape): + """Dataclass for DescribeImageUsageReportEntriesInput structure.""" + + image_ids: list[str] | None = ... + """ + The IDs of the images for filtering the report entries. If specified, + only report entries containing these images are returned. + """ + report_ids: list[str] | None = ... + """The IDs of the usage reports.""" + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `account-id` - A 12-digit Amazon Web Services account ID. + + - `creation-time` - The time when the report was created, in the ISO + 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for + example, `2025-11-29T11:04:43.305Z`. You can use a wildcard (`*`), for + example, `2025-11-29T*`, which matches an entire day. + + - `resource-type` - The resource type (`ec2:Instance` | + `ec2:LaunchTemplate`). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeImageUsageReportEntriesOutput(_SerdeShape): + """Dataclass for DescribeImageUsageReportEntriesOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + image_usage_report_entries: list[ImageUsageReportEntry] | None = ... + """The content of the usage reports.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeImageUsageReportsInput(_SerdeShape): + """Dataclass for DescribeImageUsageReportsInput structure.""" + + image_ids: list[str] | None = ... + """ + The IDs of the images for filtering the reports. If specified, only + reports containing these images are returned. + """ + report_ids: list[str] | None = ... + """The IDs of the image usage reports.""" + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `creation-time` - The time when the report was created, in the ISO + 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for + example, `2025-11-29T11:04:43.305Z`. You can use a wildcard (`*`), for + example, `2025-11-29T*`, which matches an entire day. + + - `state` - The state of the report (`available` | `pending` | + `error`). + + - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeImageUsageReportsOutput(_SerdeShape): + """Dataclass for DescribeImageUsageReportsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + image_usage_reports: list[ImageUsageReport] | None = ... + """The image usage reports.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeImportImageTasksInput(_SerdeShape): + """Dataclass for DescribeImportImageTasksInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + Filter tasks using the `task-state` filter and one of the following + values: `active`, `completed`, `deleting`, or `deleted`. + """ + import_task_ids: list[str] | None = ... + """The IDs of the import image tasks.""" + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + next_token: str | None = ... + """A token that indicates the next page of results.""" + +@dataclass(kw_only=True) +class DescribeImportImageTasksOutput(_SerdeShape): + """Dataclass for DescribeImportImageTasksOutput structure.""" + + import_image_tasks: list[ImportImageTask] | None = ... + """ + A list of zero or more import image tasks that are currently active or + were completed or canceled in the previous 7 days. + """ + next_token: str | None = ... + """ + The token to use to get the next page of results. This value is `null` + when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeImportSnapshotTasksInput(_SerdeShape): + """Dataclass for DescribeImportSnapshotTasksInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """The filters.""" + import_task_ids: list[str] | None = ... + """A list of import snapshot task IDs.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. To retrieve + the remaining results, make another call with the returned `NextToken` + value. + """ + next_token: str | None = ... + """A token that indicates the next page of results.""" + +@dataclass(kw_only=True) +class DescribeImportSnapshotTasksOutput(_SerdeShape): + """Dataclass for DescribeImportSnapshotTasksOutput structure.""" + + import_snapshot_tasks: list[ImportSnapshotTask] | None = ... + """ + A list of zero or more import snapshot tasks that are currently active + or were completed or canceled in the previous 7 days. + """ + next_token: str | None = ... + """ + The token to use to get the next page of results. This value is `null` + when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceAttributeInput(_SerdeShape): + """Dataclass for DescribeInstanceAttributeInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the instance.""" + attribute: str | None = ... + """ + The instance attribute. + + Note that the `enaSupport` attribute is not supported. + """ + +@dataclass(kw_only=True) +class DescribeInstanceAttributeOutput(_SerdeShape): + """Describes an instance attribute.""" + + block_device_mappings: list[InstanceBlockDeviceMapping] | None = ... + """The block device mapping of the instance.""" + disable_api_termination: AttributeBooleanValue | None = ... + """ + Indicates whether termination protection is enabled. If the value is + `true`, you can't terminate the instance using the Amazon EC2 console, + command line tools, or API. + """ + ena_support: AttributeBooleanValue | None = ... + """Indicates whether enhanced networking with ENA is enabled.""" + enclave_options: EnclaveOptions | None = ... + """ + Indicates whether the instance is enabled for Amazon Web Services Nitro + Enclaves. + """ + ebs_optimized: AttributeBooleanValue | None = ... + """Indicates whether the instance is optimized for Amazon EBS I/O.""" + instance_id: str | None = ... + """The ID of the instance.""" + instance_initiated_shutdown_behavior: AttributeValue | None = ... + """ + Indicates whether an instance stops or terminates when you initiate + shutdown from the instance (using the operating system command for + system shutdown). + """ + instance_type: AttributeValue | None = ... + """The instance type.""" + kernel_id: AttributeValue | None = ... + """The kernel ID.""" + product_codes: list[ProductCode] | None = ... + """The product codes.""" + ramdisk_id: AttributeValue | None = ... + """The RAM disk ID.""" + root_device_name: AttributeValue | None = ... + """The device name of the root device volume (for example, `/dev/sda1`).""" + source_dest_check: AttributeBooleanValue | None = ... + """Indicates whether source/destination checks are enabled.""" + sriov_net_support: AttributeValue | None = ... + """ + Indicates whether enhanced networking with the Intel 82599 Virtual + Function interface is enabled. + """ + user_data: AttributeValue | None = ... + """The user data.""" + disable_api_stop: AttributeBooleanValue | None = ... + """Indicates whether stop protection is enabled for the instance.""" + groups: list[GroupIdentifier] | None = ... + """The security groups associated with the instance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceConnectEndpointsInput(_SerdeShape): + """Dataclass for DescribeInstanceConnectEndpointsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `instance-connect-endpoint-id` - The ID of the EC2 Instance Connect + Endpoint. + + - `state` - The state of the EC2 Instance Connect Endpoint + (`create-in-progress` | `create-complete` | `create-failed` | + `delete-in-progress` | `delete-complete` | `delete-failed`). + + - `subnet-id` - The ID of the subnet in which the EC2 Instance Connect + Endpoint was created. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `tag-value` - The value of a tag assigned to the resource. Use this + filter to find all resources that have a tag with a specific value, + regardless of tag key. + + - `vpc-id` - The ID of the VPC in which the EC2 Instance Connect + Endpoint was created. + """ + instance_connect_endpoint_ids: list[str] | None = ... + """One or more EC2 Instance Connect Endpoint IDs.""" + +@dataclass(kw_only=True) +class DescribeInstanceConnectEndpointsOutput(_SerdeShape): + """Dataclass for DescribeInstanceConnectEndpointsOutput structure.""" + + instance_connect_endpoints: list[Ec2InstanceConnectEndpoint] | None = ... + """Information about the EC2 Instance Connect Endpoints.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceCreditSpecificationsInput(_SerdeShape): + """Dataclass for DescribeInstanceCreditSpecificationsInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `instance-id` - The ID of the instance. + """ + instance_ids: list[str] | None = ... + """ + The instance IDs. + + Default: Describes all your instances. + + Constraints: Maximum 1000 explicitly specified instance IDs. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + + You cannot specify this parameter and the instance IDs parameter in the + same call. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + +@dataclass(kw_only=True) +class DescribeInstanceCreditSpecificationsOutput(_SerdeShape): + """Dataclass for DescribeInstanceCreditSpecificationsOutput structure.""" + + instance_credit_specifications: list[InstanceCreditSpecification] | None = ... + """Information about the credit option for CPU usage of an instance.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceEventNotificationAttributesInput(_SerdeShape): + """ + Dataclass for DescribeInstanceEventNotificationAttributesInput + structure. + """ + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeInstanceEventNotificationAttributesOutput(_SerdeShape): + """ + Dataclass for DescribeInstanceEventNotificationAttributesOutput + structure. + """ + + instance_tag_attribute: InstanceTagNotificationAttribute | None = ... + """Information about the registered tag keys.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceEventWindowsInput(_SerdeShape): + """Describe instance event windows by InstanceEventWindow.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_event_window_ids: list[str] | None = ... + """The IDs of the event windows.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `dedicated-host-id` - The event windows associated with the specified + Dedicated Host ID. + + - `event-window-name` - The event windows associated with the specified + names. + + - `instance-id` - The event windows associated with the specified + instance ID. + + - `instance-tag` - The event windows associated with the specified tag + and value. + + - `instance-tag-key` - The event windows associated with the specified + tag key, regardless of the value. + + - `instance-tag-value` - The event windows associated with the specified + tag value, regardless of the key. + + - `tag:```{=html} - The key/value combination of a tag assigned to + the event window. 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 `Owner` and the value `CMX`, specify `tag:Owner` for + the filter name and `CMX` for the filter value. + + - `tag-key` - The key of a tag assigned to the event window. Use this + filter to find all event windows that have a tag with a specific key, + regardless of the tag value. + + - `tag-value` - The value of a tag assigned to the event window. Use + this filter to find all event windows that have a tag with a specific + value, regardless of the tag key. + """ + max_results: int | None = ... + """ + The maximum number of results to return in a single call. To retrieve + the remaining results, make another call with the returned `NextToken` + value. This value can be between 20 and 500. You cannot specify this + parameter and the event window IDs parameter in the same call. + """ + next_token: str | None = ... + """The token to request the next page of results.""" + +@dataclass(kw_only=True) +class DescribeInstanceEventWindowsOutput(_SerdeShape): + """Dataclass for DescribeInstanceEventWindowsOutput structure.""" + + instance_event_windows: list[InstanceEventWindow] | None = ... + """Information about the event windows.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceImageMetadataInput(_SerdeShape): + """Dataclass for DescribeInstanceImageMetadataInput structure.""" + + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The name of the Availability Zone (for example, + `us-west-2a`) or Local Zone (for example, `us-west-2-lax-1b`) of the + instance. + + - `instance-id` - The ID of the instance. + + - `image-allowed` - A Boolean that indicates whether the image meets the + criteria specified for Allowed AMIs. + + - `instance-state-name` - The state of the instance (`pending` | + `running` | `shutting-down` | `terminated` | `stopping` | + `stopped`). + + - `instance-type` - The type of instance (for example, `t3.micro`). + + - `launch-time` - 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, `2023-09-29T11:04:43.305Z`. You can use a wildcard (`*`), for + example, `2023-09-29T*`, which matches an entire day. + + - `owner-alias` - The owner alias (`amazon` | `aws-marketplace` | + `aws-backup-vault`). The valid aliases are defined in an + Amazon-maintained list. This is not the Amazon Web Services account + alias that can be set using the IAM console. We recommend that you use + the `Owner` request parameter instead of this filter. + + - `owner-id` - The Amazon Web Services account ID of the owner. We + recommend that you use the `Owner` request parameter instead of this + filter. + + - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `zone-id` - The ID of the Availability Zone (for example, `usw2-az2`) + or Local Zone (for example, `usw2-lax1-az1`) of the instance. + """ + instance_ids: list[str] | None = ... + """ + The instance IDs. + + If you don't specify an instance ID or filters, the output includes + information for all instances. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + + Default: 1000 + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeInstanceImageMetadataOutput(_SerdeShape): + """Dataclass for DescribeInstanceImageMetadataOutput structure.""" + + instance_image_metadata: list[InstanceImageMetadata] | None = ... + """Information about the instance and the AMI used to launch the instance.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstancesInput(_SerdeShape): + """Dataclass for DescribeInstancesInput structure.""" + + instance_ids: list[str] | None = ... + """ + The instance IDs. + + Default: Describes all your instances. + """ + include_managed_resources: bool | None = ... + """ + Indicates whether to include managed resources in the output. If this + parameter is set to `true`, the output includes resources that are + managed by Amazon Web Services services, even if managed resource + visibility is set to hidden. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `affinity` - The affinity setting for an instance running on a + Dedicated Host (`default` | `host`). + + - `architecture` - The instance architecture (`i386` | `x86_64` | + `arm64`). + + - `availability-zone` - The Availability Zone of the instance. + + - `availability-zone-id` - The ID of the Availability Zone of the + instance. + + - `block-device-mapping.attach-time` - The attach time for an EBS volume + mapped to the instance, for example, `2022-09-15T17:15:20.000Z`. + + - `block-device-mapping.delete-on-termination` - A Boolean that + indicates whether the EBS volume is deleted on instance termination. + + - `block-device-mapping.device-name` - The device name specified in the + block device mapping (for example, `/dev/sdh` or `xvdh`). + + - `block-device-mapping.status` - The status for the EBS volume + (`attaching` | `attached` | `detaching` | `detached`). + + - `block-device-mapping.volume-id` - The volume ID of the EBS volume. + + - `boot-mode` - The boot mode that was specified by the AMI + (`legacy-bios` | `uefi` | `uefi-preferred`). + + - `capacity-reservation-id` - The ID of the Capacity Reservation into + which the instance was launched. + + - `capacity-reservation-specification.capacity-reservation-preference` - + The instance's Capacity Reservation preference (`open` | `none`). + + - `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id` - + The ID of the targeted Capacity Reservation. + + - `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn` - + The ARN of the targeted Capacity Reservation group. + + - `client-token` - The idempotency token you provided when you launched + the instance. + + - `current-instance-boot-mode` - The boot mode that is used to launch + the instance at launch or start (`legacy-bios` | `uefi`). + + - `dns-name` - The public DNS name of the instance. + + - `ebs-optimized` - A Boolean that indicates whether the instance is + optimized for Amazon EBS I/O. + + - `ena-support` - A Boolean that indicates whether the instance is + enabled for enhanced networking with ENA. + + - `enclave-options.enabled` - A Boolean that indicates whether the + instance is enabled for Amazon Web Services Nitro Enclaves. + + - `hibernation-options.configured` - A Boolean that indicates whether + the instance is enabled for hibernation. A value of `true` means that + the instance is enabled for hibernation. + + - `host-id` - The ID of the Dedicated Host on which the instance is + running, if applicable. + + - `hypervisor` - The hypervisor type of the instance (`ovm` | `xen`). + The value `xen` is used for both Xen and Nitro hypervisors. + + - `iam-instance-profile.arn` - The instance profile associated with the + instance. Specified as an ARN. + + - `iam-instance-profile.id` - The instance profile associated with the + instance. Specified as an ID. + + - `image-id` - The ID of the image used to launch the instance. + + - `instance-id` - The ID of the instance. + + - `instance-lifecycle` - Indicates whether this is a Spot Instance, a + Scheduled Instance, or a Capacity Block (`spot` | `scheduled` | + `capacity-block`). + + - `instance-state-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). + + - `instance-state-name` - The state of the instance (`pending` | + `running` | `shutting-down` | `terminated` | `stopping` | + `stopped`). + + - `instance-type` - The type of instance (for example, `t2.micro`). + + - `instance.group-id` - The ID of the security group for the instance. + + - `instance.group-name` - The name of the security group for the + instance. + + - `ip-address` - The public IPv4 address of the instance. + + - `ipv6-address` - The IPv6 address of the instance. + + - `kernel-id` - The kernel ID. + + - `key-name` - The name of the key pair used when the instance was + launched. + + - `launch-index` - When launching multiple instances, this is the index + for the instance in the launch group (for example, 0, 1, 2, and so + on). + + - `launch-time` - 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, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`), for + example, `2021-09-29T*`, which matches an entire day. + + - `maintenance-options.auto-recovery` - The current automatic recovery + behavior of the instance (`disabled` | `default`). + + - `metadata-options.http-endpoint` - The status of access to the HTTP + metadata endpoint on your instance (`enabled` | `disabled`) + + - `metadata-options.http-protocol-ipv4` - Indicates whether the IPv4 + endpoint is enabled (`disabled` | `enabled`). + + - `metadata-options.http-protocol-ipv6` - Indicates whether the IPv6 + endpoint is enabled (`disabled` | `enabled`). + + - `metadata-options.http-put-response-hop-limit` - The HTTP metadata + request put response hop limit (integer, possible values `1` to `64`) + + - `metadata-options.http-tokens` - The metadata request authorization + state (`optional` | `required`) + + - `metadata-options.instance-metadata-tags` - The status of access to + instance tags from the instance metadata (`enabled` | `disabled`) + + - `metadata-options.state` - The state of the metadata option changes + (`pending` | `applied`). + + - `monitoring-state` - Indicates whether detailed monitoring is enabled + (`disabled` | `enabled`). + + - `network-interface.addresses.association.allocation-id` - The + allocation ID. + + - `network-interface.addresses.association.association-id` - The + association ID. + + - `network-interface.addresses.association.carrier-ip` - The carrier IP + address. + + - `network-interface.addresses.association.customer-owned-ip` - The + customer-owned IP address. + + - `network-interface.addresses.association.ip-owner-id` - The owner ID + of the private IPv4 address associated with the network interface. + + - `network-interface.addresses.association.public-dns-name` - The public + DNS name. + + - `network-interface.addresses.association.public-ip` - The ID of the + association of an Elastic IP address (IPv4) with a network interface. + + - `network-interface.addresses.primary` - Specifies whether the IPv4 + address of the network interface is the primary private IPv4 address. + + - `network-interface.addresses.private-dns-name` - The private DNS name. + + - `network-interface.addresses.private-ip-address` - The private IPv4 + address associated with the network interface. + + - `network-interface.association.allocation-id` - The allocation ID + returned when you allocated the Elastic IP address (IPv4) for your + network interface. + + - `network-interface.association.association-id` - The association ID + returned when the network interface was associated with an IPv4 + address. + + - `network-interface.association.carrier-ip` - The customer-owned IP + address. + + - `network-interface.association.customer-owned-ip` - The customer-owned + IP address. + + - `network-interface.association.ip-owner-id` - The owner of the Elastic + IP address (IPv4) associated with the network interface. + + - `network-interface.association.public-dns-name` - The public DNS name. + + - `network-interface.association.public-ip` - The address of the Elastic + IP address (IPv4) bound to the network interface. + + - `network-interface.attachment.attach-time` - The time that the network + interface was attached to an instance. + + - `network-interface.attachment.attachment-id` - The ID of the interface + attachment. + + - `network-interface.attachment.delete-on-termination` - Specifies + whether the attachment is deleted when an instance is terminated. + + - `network-interface.attachment.device-index` - The device index to + which the network interface is attached. + + - `network-interface.attachment.instance-id` - The ID of the instance to + which the network interface is attached. + + - `network-interface.attachment.instance-owner-id` - The owner ID of the + instance to which the network interface is attached. + + - `network-interface.attachment.network-card-index` - The index of the + network card. + + - `network-interface.attachment.status` - The status of the attachment + (`attaching` | `attached` | `detaching` | `detached`). + + - `network-interface.availability-zone` - The Availability Zone for the + network interface. + + - `network-interface.deny-all-igw-traffic` - A Boolean that indicates + whether a network interface with an IPv6 address is unreachable from + the public internet. + + - `network-interface.description` - The description of the network + interface. + + - `network-interface.group-id` - The ID of a security group associated + with the network interface. + + - `network-interface.group-name` - The name of a security group + associated with the network interface. + + - `network-interface.ipv4-prefixes.ipv4-prefix` - The IPv4 prefixes that + are assigned to the network interface. + + - `network-interface.ipv6-address` - The IPv6 address associated with + the network interface. + + - `network-interface.ipv6-addresses.ipv6-address` - The IPv6 address + associated with the network interface. + + - `network-interface.ipv6-addresses.is-primary-ipv6` - A Boolean that + indicates whether this is the primary IPv6 address. + + - `network-interface.ipv6-native` - A Boolean that indicates whether + this is an IPv6 only network interface. + + - `network-interface.ipv6-prefixes.ipv6-prefix` - The IPv6 prefix + assigned to the network interface. + + - `network-interface.mac-address` - The MAC address of the network + interface. + + - `network-interface.network-interface-id` - The ID of the network + interface. + + - `network-interface.operator.managed` - A Boolean that indicates + whether the instance has a managed network interface. + + - `network-interface.operator.principal` - The principal that manages + the network interface. Only valid for instances with managed network + interfaces, where `managed` is `true`. + + - `network-interface.outpost-arn` - The ARN of the Outpost. + + - `network-interface.owner-id` - The ID of the owner of the network + interface. + + - `network-interface.private-dns-name` - The private DNS name of the + network interface. + + - `network-interface.private-ip-address` - The private IPv4 address. + + - `network-interface.public-dns-name` - The public DNS name. + + - `network-interface.requester-id` - The requester ID for the network + interface. + + - `network-interface.requester-managed` - Indicates whether the network + interface is being managed by Amazon Web Services. + + - `network-interface.status` - The status of the network interface + (`available`) | `in-use`). + + - `network-interface.source-dest-check` - Whether the network interface + performs source/destination checking. A value of `true` means that + checking is enabled, and `false` means that checking is disabled. The + value must be `false` for the network interface to perform network + address translation (NAT) in your VPC. + + - `network-interface.subnet-id` - The ID of the subnet for the network + interface. + + - `network-interface.tag-key` - The key of a tag assigned to the network + interface. + + - `network-interface.tag-value` - The value of a tag assigned to the + network interface. + + - `network-interface.vpc-id` - The ID of the VPC for the network + interface. + + - `network-performance-options.bandwidth-weighting` - Where the + performance boost is applied, if applicable. Valid values: `default`, + `vpc-1`, `ebs-1`. + + - `operator.managed` - A Boolean that indicates whether this is a + managed instance. + + - `operator.principal` - The principal that manages the instance. Only + valid for managed instances, where `managed` is `true`. + + - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost. + + - `owner-id` - The Amazon Web Services account ID of the instance owner. + + - `placement-group-name` - The name of the placement group for the + instance. + + - `placement-partition-number` - The partition in which the instance is + located. + + - `platform` - The platform. To list only Windows instances, use + `windows`. + + - `platform-details` - The platform (`Linux/UNIX` | + `Red Hat BYOL Linux` | ` Red Hat Enterprise Linux` | + `Red Hat Enterprise Linux with HA` | + `Red Hat Enterprise Linux with High Availability` | + `Red Hat Enterprise Linux with SQL Server Standard and HA` | + `Red Hat Enterprise Linux with SQL Server Enterprise and HA` | + `Red Hat Enterprise Linux with SQL Server Standard` | + `Red Hat Enterprise Linux with SQL Server Web` | + `Red Hat Enterprise Linux with SQL Server Enterprise` | + `SQL Server Enterprise` | `SQL Server Standard` | `SQL Server Web` + | `SUSE Linux` | `Ubuntu Pro` | `Windows` | `Windows BYOL` | + `Windows with SQL Server Enterprise` | + `Windows with SQL Server Standard` | `Windows with SQL Server Web`). + + - `private-dns-name` - The private IPv4 DNS name of the instance. + + - `private-dns-name-options.enable-resource-name-dns-a-record` - A + Boolean that indicates whether to respond to DNS queries for instance + hostnames with DNS A records. + + - `private-dns-name-options.enable-resource-name-dns-aaaa-record` - A + Boolean that indicates whether to respond to DNS queries for instance + hostnames with DNS AAAA records. + + - `private-dns-name-options.hostname-type` - The type of hostname + (`ip-name` | `resource-name`). + + - `private-ip-address` - The private IPv4 address of the instance. This + can only be used to filter by the primary IP address of the network + interface attached to the instance. To filter by additional IP + addresses assigned to the network interface, use the filter + `network-interface.addresses.private-ip-address`. + + - `product-code` - The product code associated with the AMI used to + launch the instance. + + - `product-code.type` - The type of product code (`devpay` | + `marketplace`). + + - `ramdisk-id` - The RAM disk ID. + + - `reason` - 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. + + - `requester-id` - The ID of the entity that launched the instance on + your behalf (for example, Amazon Web Services Management Console, Auto + Scaling, and so on). + + - `reservation-id` - 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. + + - `root-device-name` - The device name of the root device volume (for + example, `/dev/sda1`). + + - `root-device-type` - The type of the root device volume (`ebs` | + `instance-store`). + + - `source-dest-check` - Indicates whether the instance performs + source/destination checking. A value of `true` means that checking is + enabled, and `false` means that checking is disabled. The value must + be `false` for the instance to perform network address translation + (NAT) in your VPC. + + - `spot-instance-request-id` - The ID of the Spot Instance request. + + - `state-reason-code` - The reason code for the state change. + + - `state-reason-message` - A message that describes the state change. + + - `subnet-id` - The ID of the subnet for the instance. + + - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - 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. + + - `tenancy` - The tenancy of an instance (`dedicated` | `default` | + `host`). + + - `tpm-support` - Indicates if the instance is configured for NitroTPM + support (`v2.0`). + + - `usage-operation` - The usage operation value for the instance + (`RunInstances` | `RunInstances:00g0` | `RunInstances:0010` | + `RunInstances:1010` | `RunInstances:1014` | `RunInstances:1110` | + `RunInstances:0014` | `RunInstances:0210` | `RunInstances:0110` | + `RunInstances:0100` | `RunInstances:0004` | `RunInstances:0200` | + `RunInstances:000g` | `RunInstances:0g00` | `RunInstances:0002` | + `RunInstances:0800` | `RunInstances:0102` | `RunInstances:0006` | + `RunInstances:0202`). + + - `usage-operation-update-time` - The time that the usage operation was + last updated, for example, `2022-09-15T17:15:20.000Z`. + + - `virtualization-type` - The virtualization type of the instance + (`paravirtual` | `hvm`). + + - `vpc-id` - The ID of the VPC that the instance is running in. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + + You cannot specify this parameter and the instance IDs parameter in the + same request. + """ + +@dataclass(kw_only=True) +class DescribeInstancesOutput(_SerdeShape): + """Dataclass for DescribeInstancesOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + reservations: list[Reservation] | None = ... + """Information about the reservations.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceSqlHaHistoryStatesInput(_SerdeShape): + """Dataclass for DescribeInstanceSqlHaHistoryStatesInput structure.""" + + instance_ids: list[str] | None = ... + """ + The IDs of the SQL Server High Availability instances to describe. If + omitted, the API returns historical states for all SQL Server High + Availability instances. + """ + start_time: datetime | None = ... + """ + The start data and time of the period for which to get the historical + SQL Server High Availability states. If omitted, the API returns all + available historical states. + + Timezone: UTC + + Format: `YYYY-MM-DDThh:mm:ss.sssZ` + """ + end_time: datetime | None = ... + """ + The end data and time of the period for which to get historical SQL + Server High Availability states. If omitted, the API returns historical + states up to the current date and time. + + Timezone: UTC + + Format: `YYYY-MM-DDThh:mm:ss.sssZ` + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the returned `nextToken` value. + """ + filters: list[Filter] | None = ... + """ + One or more filters to apply to the results. Supported filters include: + + - `tag:```{=html} - The tag key and value pair assigned to the + instance. For example, to find all instances tagged with + `Owner:TeamA`, specify `tag:Owner` for the filter name and `TeamA` for + the filter value. + + - `tag-key` - The tag key assigned to the instance. + + - `haStatus` - The SQL Server High Availability status of the SQL Server + High Availability instance (`processing` | `active` | `standby` | + `invalid`). + + - `sqlServerLicenseUsage` - The license type for the SQL Server license + (`full` | `waived`). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_4.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_4.pyi new file mode 100644 index 000000000..696e716b0 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_4.pyi @@ -0,0 +1,8361 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + ActiveInstance, + AllowedPrincipal, + AttributeBooleanValue, + AttributeValue, + Byoasn, + ClassicLinkDnsSupport, + ConnectionNotification, + CreateVolumePermission, + Filter, + GroupIdentifier, + HistoryRecord, + InstanceStatus, + InstanceTopology, + InstanceTypeInfo, + InstanceTypeOffering, + InternetGateway, + Ipam, + IpamExternalResourceVerificationToken, + IpamInternetRegistryAssociation, + IpamPolicy, + IpamPool, + IpamPoolAllocation, + IpamPrefixListResolver, + IpamPrefixListResolverTarget, + IpamResourceDiscovery, + IpamResourceDiscoveryAssociation, + IpamScope, + Ipv6Pool, + KeyPairInfo, + LaunchTemplate, + LaunchTemplateVersion, + LocalGateway, + LocalGatewayRouteTable, + LocalGatewayRouteTableVirtualInterfaceGroupAssociation, + LocalGatewayRouteTableVpcAssociation, + LocalGatewayVirtualInterface, + LocalGatewayVirtualInterfaceGroup, + LockedSnapshotsInfo, + MacHost, + MacModificationTask, + ManagedPrefixList, + MovingAddressStatus, + NatGateway, + NetworkAcl, + NetworkInsightsAccessScope, + NetworkInsightsAccessScopeAnalysis, + NetworkInsightsAnalysis, + NetworkInsightsPath, + NetworkInterface, + NetworkInterfaceAttachment, + NetworkInterfacePermission, + OutpostLag, + PlacementGroup, + PrefixList, + PrincipalIdFormat, + ProductCode, + PublicIpv4Pool, + Region, + RegisteredInstance, + ReplaceRootVolumeTask, + ReservedInstances, + ReservedInstancesListing, + ReservedInstancesModification, + ReservedInstancesOffering, + RouteServer, + RouteServerEndpoint, + RouteServerPeer, + RouteTable, + ScheduledInstance, + ScheduledInstanceAvailability, + ScheduledInstanceRecurrenceRequest, + SecondaryInterface, + SecondaryNetwork, + SecondarySubnet, + SecurityGroup, + SecurityGroupReference, + SecurityGroupRule, + SecurityGroupVpcAssociation, + ServiceConfiguration, + ServiceDetail, + ServiceLinkVirtualInterface, + SlotDateTimeRangeRequest, + SlotStartTimeRangeRequest, + Snapshot, + SnapshotTierStatus, + SpotDatafeedSubscription, + SpotFleetRequestConfig, + SpotInstanceRequest, + SpotPrice, + StaleSecurityGroup, + StoreImageTaskResult, + Subnet, + TagDescription, + TrafficMirrorFilter, + TrafficMirrorFilterRule, + TrafficMirrorSession, + TrafficMirrorTarget, + TransitGateway, + TransitGatewayAttachment, + TransitGatewayConnect, + TransitGatewayConnectPeer, + TransitGatewayMeteringPolicy, + TransitGatewayMulticastDomain, + TransitGatewayPeeringAttachment, + TransitGatewayPolicyTable, + TransitGatewayRouteTable, + TransitGatewayRouteTableAnnouncement, + TransitGatewayVpcAttachment, + TrunkInterfaceAssociation, + VerifiedAccessEndpoint, + VerifiedAccessGroup, + VerifiedAccessInstance, + VerifiedAccessInstanceLoggingConfiguration, + VerifiedAccessTrustProvider, + Volume, + VolumeModification, + VolumeStatusItem, + Vpc, + VpcBlockPublicAccessExclusion, + VpcBlockPublicAccessOptions, + VpcClassicLink, + VpcEncryptionControl, + VpcEndpoint, + VpcEndpointAssociation, + VpcEndpointConnection, + VpcPeeringConnection, + VpnConcentrator, + VpnConnection, + VpnGateway, + _SerdeShape, +) + +@dataclass(kw_only=True) +class DescribeInstanceSqlHaHistoryStatesOutput(_SerdeShape): + """Dataclass for DescribeInstanceSqlHaHistoryStatesOutput structure.""" + + instances: list[RegisteredInstance] | None = ... + """ + Information about the historical SQL Server High Availability states of + the SQL Server High Availability instances. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceSqlHaStatesInput(_SerdeShape): + """Dataclass for DescribeInstanceSqlHaStatesInput structure.""" + + instance_ids: list[str] | None = ... + """ + The IDs of the SQL Server High Availability instances to describe. If + omitted, the API returns SQL Server High Availability states for all SQL + Server High Availability instances. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the returned `nextToken` value. + """ + filters: list[Filter] | None = ... + """ + One or more filters to apply to the results. Supported filters include: + + - `tag:```{=html} - The tag key and value pair assigned to the + instance. For example, to find all instances tagged with + `Owner:TeamA`, specify `tag:Owner` for the filter name and `TeamA` for + the filter value. + + - `tag-key` - The tag key assigned to the instance. + + - `haStatus` - The SQL Server High Availability status of the SQL Server + High Availability instance (`processing` | `active` | `standby` | + `invalid`). + + - `sqlServerLicenseUsage` - The license type for the SQL Server license + (`full` | `waived`). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeInstanceSqlHaStatesOutput(_SerdeShape): + """Dataclass for DescribeInstanceSqlHaStatesOutput structure.""" + + instances: list[RegisteredInstance] | None = ... + """Information about the SQL Server High Availability instances.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceStatusInput(_SerdeShape): + """Dataclass for DescribeInstanceStatusInput structure.""" + + instance_ids: list[str] | None = ... + """ + The instance IDs. + + Default: Describes all your instances. + + Constraints: Maximum 100 explicitly specified instance IDs. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + + You cannot specify this parameter and the instance IDs parameter in the + same request. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + include_managed_resources: bool | None = ... + """ + Indicates whether to include managed resources in the output. If this + parameter is set to `true`, the output includes resources that are + managed by Amazon Web Services services, even if managed resource + visibility is set to hidden. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The Availability Zone of the instance. + + - `availability-zone-id` - The ID of the Availability Zone of the + instance. + + - `event.code` - The code for the scheduled event (`instance-reboot` | + `system-reboot` | `system-maintenance` | `instance-retirement` | + `instance-stop`). + + - `event.description` - A description of the event. + + - `event.instance-event-id` - The ID of the event whose date and time + you are modifying. + + - `event.not-after` - The latest end time for the scheduled event (for + example, `2014-09-15T17:15:20.000Z`). + + - `event.not-before` - The earliest start time for the scheduled event + (for example, `2014-09-15T17:15:20.000Z`). + + - `event.not-before-deadline` - The deadline for starting the event (for + example, `2014-09-15T17:15:20.000Z`). + + - `instance-state-code` - The code for the instance state, 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). + + - `instance-state-name` - The state of the instance (`pending` | + `running` | `shutting-down` | `terminated` | `stopping` | + `stopped`). + + - `instance-status.reachability` - Filters on instance status where the + name is `reachability` (`passed` | `failed` | `initializing` | + `insufficient-data`). + + - `instance-status.status` - The status of the instance (`ok` | + `impaired` | `initializing` | `insufficient-data` | + `not-applicable`). + + - `operator.managed` - A Boolean that indicates whether this is a + managed instance. + + - `operator.principal` - The principal that manages the instance. Only + valid for managed instances, where `managed` is `true`. + + - `system-status.reachability` - Filters on system status where the name + is `reachability` (`passed` | `failed` | `initializing` | + `insufficient-data`). + + - `system-status.status` - The system status of the instance (`ok` | + `impaired` | `initializing` | `insufficient-data` | + `not-applicable`). + + - `attached-ebs-status.status` - The status of the attached EBS volume + for the instance (`ok` | `impaired` | `initializing` | + `insufficient-data` | `not-applicable`). + + - `application-status.status` - The application status of the instance + (`ok` | `impaired` | `initializing` | `insufficient-data` | + `not-applicable`). + """ + include_all_instances: bool | None = ... + """ + When `true`, includes the health status for all instances. When `false`, + includes the health status for running instances only. + + Default: `false` + """ + +@dataclass(kw_only=True) +class DescribeInstanceStatusOutput(_SerdeShape): + """Dataclass for DescribeInstanceStatusOutput structure.""" + + instance_statuses: list[InstanceStatus] | None = ... + """Information about the status of the instances.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceTopologyInput(_SerdeShape): + """Dataclass for DescribeInstanceTopologyInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + + You can't specify this parameter and the instance IDs parameter in the + same request. + + Default: `20` + """ + instance_ids: list[str] | None = ... + """ + The instance IDs. + + Default: Describes all your instances. + + Constraints: Maximum 100 explicitly specified instance IDs. + """ + group_names: list[str] | None = ... + """ + The name of the placement group that each instance is in. + + Constraints: Maximum 100 explicitly specified placement group names. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The name of the Availability Zone (for example, + `us-west-2a`) or Local Zone (for example, `us-west-2-lax-1b`) that the + instance is in. + + - `instance-type` - The instance type (for example, `p4d.24xlarge`) or + instance family (for example, `p4d*`). You can use the `*` wildcard to + match zero or more characters, or the `?` wildcard to match zero or + one character. + + - `zone-id` - The ID of the Availability Zone (for example, `usw2-az2`) + or Local Zone (for example, `usw2-lax1-az1`) that the instance is in. + """ + +@dataclass(kw_only=True) +class DescribeInstanceTopologyOutput(_SerdeShape): + """Dataclass for DescribeInstanceTopologyOutput structure.""" + + instances: list[InstanceTopology] | None = ... + """Information about the topology of each instance.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceTypeOfferingsInput(_SerdeShape): + """Dataclass for DescribeInstanceTypeOfferingsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + location_type: str | None = ... + """ + The location type. + + - `availability-zone` - The Availability Zone. When you specify a + location filter, it must be an Availability Zone for the current + Region. + + - `availability-zone-id` - The AZ ID. When you specify a location + filter, it must be an AZ ID for the current Region. + + - `outpost` - The Outpost ARN. When you specify a location filter, it + must be an Outpost ARN for the current Region. + + - `region` - The current Region. If you specify a location filter, it + must match the current Region. + """ + filters: list[Filter] | None = ... + """ + One or more filters. Filter names and values are case-sensitive. + + - `instance-type` - The instance type. For a list of possible values, + see + [Instance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html). + + - `location` - The location. For a list of possible identifiers, see + [Regions and + Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + +@dataclass(kw_only=True) +class DescribeInstanceTypeOfferingsOutput(_SerdeShape): + """Dataclass for DescribeInstanceTypeOfferingsOutput structure.""" + + instance_type_offerings: list[InstanceTypeOffering] | None = ... + """The instance types offered in the location.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInstanceTypesInput(_SerdeShape): + """Dataclass for DescribeInstanceTypesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_types: list[str] | None = ... + """The instance types.""" + filters: list[Filter] | None = ... + """ + One or more filters. Filter names and values are case-sensitive. + + - `auto-recovery-supported` - Indicates whether Amazon CloudWatch action + based recovery is supported (`true` | `false`). + + - `bare-metal` - Indicates whether it is a bare metal instance type + (`true` | `false`). + + - `burstable-performance-supported` - Indicates whether the instance + type is a burstable performance T instance type (`true` | `false`). + + - `current-generation` - Indicates whether this instance type is the + latest generation instance type of an instance family (`true` | + `false`). + + - `dedicated-hosts-supported` - Indicates whether the instance type + supports Dedicated Hosts. (`true` | `false`) + + - `ebs-info.attachment-limit-type` - The type of Amazon EBS volume + attachment limit (`shared` | `dedicated`). + + - `ebs-info.maximum-ebs-attachments` - The maximum number of Amazon EBS + volumes that can be attached to the instance type. + + - `ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps` - The + baseline bandwidth performance for an EBS-optimized instance type, in + Mbps. + + - `ebs-info.ebs-optimized-info.baseline-iops` - The baseline + input/output storage operations per second for an EBS-optimized + instance type. + + - `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The + baseline throughput performance for an EBS-optimized instance type, in + MB/s. + + - `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The maximum + bandwidth performance for an EBS-optimized instance type, in Mbps. + + - `ebs-info.ebs-optimized-info.maximum-iops` - The maximum input/output + storage operations per second for an EBS-optimized instance type. + + - `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The maximum + throughput performance for an EBS-optimized instance type, in MB/s. + + - `ebs-info.ebs-optimized-support` - Indicates whether the instance type + is EBS-optimized (`supported` | `unsupported` | `default`). + + - `ebs-info.encryption-support` - Indicates whether EBS encryption is + supported (`supported` | `unsupported`). + + - `ebs-info.nvme-support` - Indicates whether non-volatile memory + express (NVMe) is supported for EBS volumes (`required` | `supported` + | `unsupported`). + + - `free-tier-eligible` - A Boolean that indicates whether this instance + type can be used under the Amazon Web Services Free Tier (`true` | + `false`). + + - `hibernation-supported` - Indicates whether On-Demand hibernation is + supported (`true` | `false`). + + - `hypervisor` - The hypervisor (`nitro` | `xen`). + + - `instance-storage-info.disk.count` - The number of local disks. + + - `instance-storage-info.disk.size-in-gb` - The storage size of each + instance storage disk, in GB. + + - `instance-storage-info.disk.type` - The storage technology for the + local instance storage disks (`hdd` | `ssd`). + + - `instance-storage-info.encryption-support` - Indicates whether data is + encrypted at rest (`required` | `supported` | `unsupported`). + + - `instance-storage-info.nvme-support` - Indicates whether non-volatile + memory express (NVMe) is supported for instance store (`required` | + `supported` | `unsupported`). + + - `instance-storage-info.total-size-in-gb` - The total amount of storage + available from all local instance storage, in GB. + + - `instance-storage-supported` - Indicates whether the instance type has + local instance storage (`true` | `false`). + + - `instance-type` - The instance type (for example `c5.2xlarge` or + c5*). + + - `memory-info.size-in-mib` - The memory size. + + - `network-info.bandwidth-weightings` - For instances that support + bandwidth weighting to boost performance (`default`, `vpc-1`, + `ebs-1`). + + - `network-info.efa-info.maximum-efa-interfaces` - The maximum number of + Elastic Fabric Adapters (EFAs) per instance. + + - `network-info.efa-supported` - Indicates whether the instance type + supports Elastic Fabric Adapter (EFA) (`true` | `false`). + + - `network-info.ena-support` - Indicates whether Elastic Network Adapter + (ENA) is supported or required (`required` | `supported` | + `unsupported`). + + - `network-info.flexible-ena-queues-support` - Indicates whether an + instance supports flexible ENA queues (`supported` | `unsupported`). + + - `network-info.encryption-in-transit-supported` - Indicates whether the + instance type automatically encrypts in-transit traffic between + instances (`true` | `false`). + + - `network-info.ipv4-addresses-per-interface` - The maximum number of + private IPv4 addresses per network interface. + + - `network-info.ipv6-addresses-per-interface` - The maximum number of + private IPv6 addresses per network interface. + + - `network-info.ipv6-supported` - Indicates whether the instance type + supports IPv6 (`true` | `false`). + + - `network-info.maximum-network-cards` - The maximum number of network + cards per instance. + + - `network-info.maximum-network-interfaces` - The maximum number of + network interfaces per instance. + + - `network-info.network-performance` - The network performance (for + example, \"25 Gigabit\"). + + - `nitro-enclaves-support` - Indicates whether Nitro Enclaves is + supported (`supported` | `unsupported`). + + - `nitro-tpm-support` - Indicates whether NitroTPM is supported + (`supported` | `unsupported`). + + - `nitro-tpm-info.supported-versions` - The supported NitroTPM version + (`2.0`). + + - `processor-info.supported-architecture` - The CPU architecture + (`arm64` | `i386` | `x86_64`). + + - `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed, + in GHz. + + - `processor-info.supported-features` - The supported CPU features + (`amd-sev-snp`). + + - `reboot-migration-support` - Indicates whether enabling reboot + migration is supported (`supported` | `unsupported`). + + - `supported-boot-mode` - The boot mode (`legacy-bios` | `uefi`). + + - `supported-root-device-type` - The root device type (`ebs` | + `instance-store`). + + - `supported-usage-class` - The usage class (`on-demand` | `spot` | + `capacity-block`). + + - `supported-virtualization-type` - The virtualization type (`hvm` | + `paravirtual`). + + - `vcpu-info.default-cores` - The default number of cores for the + instance type. + + - `vcpu-info.default-threads-per-core` - The default number of threads + per core for the instance type. + + - `vcpu-info.default-vcpus` - The default number of vCPUs for the + instance type. + + - `vcpu-info.valid-cores` - The number of cores that can be configured + for the instance type. + + - `vcpu-info.valid-threads-per-core` - The number of threads per core + that can be configured for the instance type. For example, \"1\" or + \"1,2\". + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + include_unsupported_in_region: bool | None = ... + """ + If `true`, the response includes instance types that are not supported + in the current Region, in addition to the supported types. Default: + `false`. + """ + +@dataclass(kw_only=True) +class DescribeInstanceTypesOutput(_SerdeShape): + """Dataclass for DescribeInstanceTypesOutput structure.""" + + instance_types: list[InstanceTypeInfo] | None = ... + """The instance type.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeInternetGatewaysInput(_SerdeShape): + """Dataclass for DescribeInternetGatewaysInput structure.""" + + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + internet_gateway_ids: list[str] | None = ... + """ + The IDs of the internet gateways. + + Default: Describes all your internet gateways. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `attachment.state` - The current state of the attachment between the + gateway and the VPC (`available`). Present only if a VPC is attached. + + - `attachment.vpc-id` - The ID of an attached VPC. + + - `internet-gateway-id` - The ID of the Internet gateway. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + internet gateway. + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + +@dataclass(kw_only=True) +class DescribeInternetGatewaysOutput(_SerdeShape): + """Dataclass for DescribeInternetGatewaysOutput structure.""" + + internet_gateways: list[InternetGateway] | None = ... + """Information about the internet gateways.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamByoasnInput(_SerdeShape): + """Dataclass for DescribeIpamByoasnInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeIpamByoasnOutput(_SerdeShape): + """Dataclass for DescribeIpamByoasnOutput structure.""" + + byoasns: list[Byoasn] | None = ... + """ASN and BYOIP CIDR associations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamExternalResourceVerificationTokensInput(_SerdeShape): + """ + Dataclass for DescribeIpamExternalResourceVerificationTokensInput + structure. + """ + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters for the request. For more information about + filtering, see [Filtering CLI + output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). + + Available filters: + + - `ipam-arn` + + - `ipam-external-resource-verification-token-arn` + + - `ipam-external-resource-verification-token-id` + + - `ipam-id` + + - `ipam-region` + + - `state` + + - `status` + + - `token-name` + + - `token-value` + """ + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """The maximum number of tokens to return in one page of results.""" + ipam_external_resource_verification_token_ids: list[str] | None = ... + """Verification token IDs.""" + +@dataclass(kw_only=True) +class DescribeIpamExternalResourceVerificationTokensOutput(_SerdeShape): + """ + Dataclass for DescribeIpamExternalResourceVerificationTokensOutput + structure. + """ + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + ipam_external_resource_verification_tokens: ( + list[IpamExternalResourceVerificationToken] | None + ) = ... + """Verification tokens.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamInternetRegistryAssociationsInput(_SerdeShape): + """Dataclass for DescribeIpamInternetRegistryAssociationsInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_ids: list[str] | None = ... + """The IDs of the internet registry associations to describe.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If not + specified, all available results are returned. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """One or more filters to apply to the results.""" + +@dataclass(kw_only=True) +class DescribeIpamInternetRegistryAssociationsOutput(_SerdeShape): + """Dataclass for DescribeIpamInternetRegistryAssociationsOutput structure.""" + + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + ipam_internet_registry_associations: ( + list[IpamInternetRegistryAssociation] | None + ) = ... + """The internet registry associations.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamPoliciesInput(_SerdeShape): + """Dataclass for DescribeIpamPoliciesInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """One or more filters for the IPAM policy description.""" + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + next_token: str | None = ... + """The token for the next page of results.""" + ipam_policy_ids: list[str] | None = ... + """The IDs of the IPAM policies to describe.""" + +@dataclass(kw_only=True) +class DescribeIpamPoliciesOutput(_SerdeShape): + """Dataclass for DescribeIpamPoliciesOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + ipam_policies: list[IpamPolicy] | None = ... + """ + Information about the IPAM policies. + + An IPAM policy is a set of rules that define how public IPv4 addresses + from IPAM pools are allocated to Amazon Web Services resources. Each + rule maps an Amazon Web Services service to IPAM pools that the service + will use to get IP addresses. A single policy can have multiple rules + and be applied to multiple Amazon Web Services Regions. If the IPAM pool + run out of addresses then the services fallback to Amazon-provided IP + addresses. A policy can be applied to an individual Amazon Web Services + account or an entity within Amazon Web Services Organizations. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamPoolAllocationsInput(_SerdeShape): + """Dataclass for DescribeIpamPoolAllocationsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_allocation_ids: list[str] | None = ... + """The IDs of the IPAM pool allocations you want to describe.""" + filters: list[Filter] | None = ... + """ + One or more filters for the request. For more information about + filtering, see [Filtering CLI + output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeIpamPoolAllocationsOutput(_SerdeShape): + """Dataclass for DescribeIpamPoolAllocationsOutput structure.""" + + ipam_pool_allocations: list[IpamPoolAllocation] | None = ... + """Information about the IPAM pool allocations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamPoolsInput(_SerdeShape): + """Dataclass for DescribeIpamPoolsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters for the request. For more information about + filtering, see [Filtering CLI + output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + ipam_pool_ids: list[str] | None = ... + """The IDs of the IPAM pools you would like information on.""" + +@dataclass(kw_only=True) +class DescribeIpamPoolsOutput(_SerdeShape): + """Dataclass for DescribeIpamPoolsOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + ipam_pools: list[IpamPool] | None = ... + """Information about the IPAM pools.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamPrefixListResolversInput(_SerdeShape): + """Dataclass for DescribeIpamPrefixListResolversInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """One or more filters to limit the results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + ipam_prefix_list_resolver_ids: list[str] | None = ... + """ + The IDs of the IPAM prefix list resolvers to describe. If not specified, + all resolvers in your account are described. + """ + +@dataclass(kw_only=True) +class DescribeIpamPrefixListResolversOutput(_SerdeShape): + """Dataclass for DescribeIpamPrefixListResolversOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + ipam_prefix_list_resolvers: list[IpamPrefixListResolver] | None = ... + """Information about the IPAM prefix list resolvers.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamPrefixListResolverTargetsInput(_SerdeShape): + """Dataclass for DescribeIpamPrefixListResolverTargetsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """One or more filters to limit the results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + ipam_prefix_list_resolver_target_ids: list[str] | None = ... + """ + The IDs of the IPAM prefix list resolver Targets to describe. If not + specified, all targets in your account are described. + """ + ipam_prefix_list_resolver_id: str | None = ... + """ + The ID of the IPAM prefix list resolver to filter targets by. Only + targets associated with this resolver will be returned. + """ + +@dataclass(kw_only=True) +class DescribeIpamPrefixListResolverTargetsOutput(_SerdeShape): + """Dataclass for DescribeIpamPrefixListResolverTargetsOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + ipam_prefix_list_resolver_targets: list[IpamPrefixListResolverTarget] | None = ... + """Information about the IPAM prefix list resolver Targets.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamResourceDiscoveriesInput(_SerdeShape): + """Dataclass for DescribeIpamResourceDiscoveriesInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_resource_discovery_ids: list[str] | None = ... + """The IPAM resource discovery IDs.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of resource discoveries to return in one page of + results. + """ + filters: list[Filter] | None = ... + """The resource discovery filters.""" + +@dataclass(kw_only=True) +class DescribeIpamResourceDiscoveriesOutput(_SerdeShape): + """Dataclass for DescribeIpamResourceDiscoveriesOutput structure.""" + + ipam_resource_discoveries: list[IpamResourceDiscovery] | None = ... + """The resource discoveries.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamResourceDiscoveryAssociationsInput(_SerdeShape): + """Dataclass for DescribeIpamResourceDiscoveryAssociationsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_resource_discovery_association_ids: list[str] | None = ... + """The resource discovery association IDs.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + max_results: int | None = ... + """ + The maximum number of resource discovery associations to return in one + page of results. + """ + filters: list[Filter] | None = ... + """The resource discovery association filters.""" + +@dataclass(kw_only=True) +class DescribeIpamResourceDiscoveryAssociationsOutput(_SerdeShape): + """Dataclass for DescribeIpamResourceDiscoveryAssociationsOutput structure.""" + + ipam_resource_discovery_associations: ( + list[IpamResourceDiscoveryAssociation] | None + ) = ... + """The resource discovery associations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamScopesInput(_SerdeShape): + """Dataclass for DescribeIpamScopesInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters for the request. For more information about + filtering, see [Filtering CLI + output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + ipam_scope_ids: list[str] | None = ... + """The IDs of the scopes you want information on.""" + +@dataclass(kw_only=True) +class DescribeIpamScopesOutput(_SerdeShape): + """Dataclass for DescribeIpamScopesOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + ipam_scopes: list[IpamScope] | None = ... + """The scopes you want information on.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpamsInput(_SerdeShape): + """Dataclass for DescribeIpamsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters for the request. For more information about + filtering, see [Filtering CLI + output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + ipam_ids: list[str] | None = ... + """The IDs of the IPAMs you want information on.""" + +@dataclass(kw_only=True) +class DescribeIpamsOutput(_SerdeShape): + """Dataclass for DescribeIpamsOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + ipams: list[Ipam] | None = ... + """Information about the IPAMs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIpv6PoolsInput(_SerdeShape): + """Dataclass for DescribeIpv6PoolsInput structure.""" + + pool_ids: list[str] | None = ... + """The IDs of the IPv6 address pools.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + +@dataclass(kw_only=True) +class DescribeIpv6PoolsOutput(_SerdeShape): + """Dataclass for DescribeIpv6PoolsOutput structure.""" + + ipv6_pools: list[Ipv6Pool] | None = ... + """Information about the IPv6 address pools.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeKeyPairsInput(_SerdeShape): + """Dataclass for DescribeKeyPairsInput structure.""" + + key_names: list[str] | None = ... + """ + The key pair names. + + Default: Describes all of your key pairs. + """ + key_pair_ids: list[str] | None = ... + """The IDs of the key pairs.""" + include_public_key: bool | None = ... + """ + If `true`, the public key material is included in the response. + + Default: `false` + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `key-pair-id` - The ID of the key pair. + + - `fingerprint` - The fingerprint of the key pair. + + - `key-name` - The name of the key pair. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + """ + +@dataclass(kw_only=True) +class DescribeKeyPairsOutput(_SerdeShape): + """Dataclass for DescribeKeyPairsOutput structure.""" + + key_pairs: list[KeyPairInfo] | None = ... + """Information about the key pairs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLaunchTemplatesInput(_SerdeShape): + """Dataclass for DescribeLaunchTemplatesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + launch_template_ids: list[str] | None = ... + """One or more launch template IDs.""" + launch_template_names: list[str] | None = ... + """One or more launch template names.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `create-time` - The time the launch template was created. + + - `launch-template-name` - The name of the launch template. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + next_token: str | None = ... + """The token to request the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. To retrieve + the remaining results, make another call with the returned `NextToken` + value. This value can be between 1 and 200. + """ + include_managed_resources: bool | None = ... + """ + Indicates whether to include managed resources in the output. If this + parameter is set to `true`, the output includes resources that are + managed by Amazon Web Services services, even if managed resource + visibility is set to hidden. + """ + +@dataclass(kw_only=True) +class DescribeLaunchTemplatesOutput(_SerdeShape): + """Dataclass for DescribeLaunchTemplatesOutput structure.""" + + launch_templates: list[LaunchTemplate] | None = ... + """Information about the launch templates.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLaunchTemplateVersionsInput(_SerdeShape): + """Dataclass for DescribeLaunchTemplateVersionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + launch_template_id: str | None = ... + """ + The ID of the launch template. + + To describe one or more versions of a specified launch template, you + must specify either the launch template ID or the launch template name, + but not both. + + To describe all the latest or default launch template versions in your + account, you must omit this parameter. + """ + launch_template_name: str | None = ... + """ + The name of the launch template. + + To describe one or more versions of a specified launch template, you + must specify either the launch template name or the launch template ID, + but not both. + + To describe all the latest or default launch template versions in your + account, you must omit this parameter. + """ + versions: list[str] | None = ... + """ + One or more versions of the launch template. Valid values depend on + whether you are describing a specified launch template (by ID or name) + or all launch templates in your account. + + To describe one or more versions of a specified launch template, valid + values are `$Latest`, `$Default`, and numbers. + + To describe all launch templates in your account that are defined as the + latest version, the valid value is `$Latest`. To describe all launch + templates in your account that are defined as the default version, the + valid value is `$Default`. You can specify `$Latest` and `$Default` in + the same request. You cannot specify numbers. + """ + min_version: str | None = ... + """The version number after which to describe launch template versions.""" + max_version: str | None = ... + """The version number up to which to describe launch template versions.""" + next_token: str | None = ... + """The token to request the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. To retrieve + the remaining results, make another call with the returned `NextToken` + value. This value can be between 1 and 200. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `create-time` - The time the launch template version was created. + + - `ebs-optimized` - A boolean that indicates whether the instance is + optimized for Amazon EBS I/O. + + - `http-endpoint` - Indicates whether the HTTP metadata endpoint on your + instances is enabled (`enabled` | `disabled`). + + - `http-protocol-ipv4` - Indicates whether the IPv4 endpoint for the + instance metadata service is enabled (`enabled` | `disabled`). + + - `host-resource-group-arn` - The ARN of the host resource group in + which to launch the instances. + + - `http-tokens` - The state of token usage for your instance metadata + requests (`optional` | `required`). + + - `iam-instance-profile` - The ARN of the IAM instance profile. + + - `image-id` - The ID of the AMI. + + - `instance-type` - The instance type. + + - `is-default-version` - A boolean that indicates whether the launch + template version is the default version. + + - `kernel-id` - The kernel ID. + + - `license-configuration-arn` - The ARN of the license configuration. + + - `network-card-index` - The index of the network card. + + - `ram-disk-id` - The RAM disk ID. + """ + resolve_alias: bool | None = ... + """ + If `true`, and if a Systems Manager parameter is specified for + `ImageId`, the AMI ID is displayed in the response for `imageId`. + + If `false`, and if a Systems Manager parameter is specified for + `ImageId`, the parameter is displayed in the response for `imageId`. + + For more information, see [Use a Systems Manager parameter instead of an + AMI + ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) + in the *Amazon EC2 User Guide*. + + Default: `false` + """ + include_managed_resources: bool | None = ... + """ + Indicates whether to include managed resources in the output. If this + parameter is set to `true`, the output includes resources that are + managed by Amazon Web Services services, even if managed resource + visibility is set to hidden. + """ + +@dataclass(kw_only=True) +class DescribeLaunchTemplateVersionsOutput(_SerdeShape): + """Dataclass for DescribeLaunchTemplateVersionsOutput structure.""" + + launch_template_versions: list[LaunchTemplateVersion] | None = ... + """Information about the launch template versions.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayRouteTablesInput(_SerdeShape): + """Dataclass for DescribeLocalGatewayRouteTablesInput structure.""" + + local_gateway_route_table_ids: list[str] | None = ... + """The IDs of the local gateway route tables.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `local-gateway-id` - The ID of a local gateway. + + - `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of + the local gateway route table. + + - `local-gateway-route-table-id` - The ID of a local gateway route + table. + + - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + local gateway route table. + + - `state` - The state of the local gateway route table. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayRouteTablesOutput(_SerdeShape): + """Dataclass for DescribeLocalGatewayRouteTablesOutput structure.""" + + local_gateway_route_tables: list[LocalGatewayRouteTable] | None = ... + """Information about the local gateway route tables.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput(_SerdeShape): + """ + Dataclass for + DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput + structure. + """ + + local_gateway_route_table_virtual_interface_group_association_ids: ( + list[str] | None + ) = ... + """The IDs of the associations.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `local-gateway-id` - The ID of a local gateway. + + - `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of + the local gateway route table for the virtual interface group. + + - `local-gateway-route-table-id` - The ID of the local gateway route + table. + + - `local-gateway-route-table-virtual-interface-group-association-id` - + The ID of the association. + + - `local-gateway-route-table-virtual-interface-group-id` - The ID of the + virtual interface group. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + local gateway virtual interface group association. + + - `state` - The state of the association. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput( + _SerdeShape +): + """ + Dataclass for + DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput + structure. + """ + + local_gateway_route_table_virtual_interface_group_associations: ( + list[LocalGatewayRouteTableVirtualInterfaceGroupAssociation] | None + ) = ... + """Information about the associations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayRouteTableVpcAssociationsInput(_SerdeShape): + """ + Dataclass for DescribeLocalGatewayRouteTableVpcAssociationsInput + structure. + """ + + local_gateway_route_table_vpc_association_ids: list[str] | None = ... + """The IDs of the associations.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `local-gateway-id` - The ID of a local gateway. + + - `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of + the local gateway route table for the association. + + - `local-gateway-route-table-id` - The ID of the local gateway route + table. + + - `local-gateway-route-table-vpc-association-id` - The ID of the + association. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + local gateway route table for the association. + + - `state` - The state of the association. + + - `vpc-id` - The ID of the VPC. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayRouteTableVpcAssociationsOutput(_SerdeShape): + """ + Dataclass for DescribeLocalGatewayRouteTableVpcAssociationsOutput + structure. + """ + + local_gateway_route_table_vpc_associations: ( + list[LocalGatewayRouteTableVpcAssociation] | None + ) = ... + """Information about the associations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewaysInput(_SerdeShape): + """Dataclass for DescribeLocalGatewaysInput structure.""" + + local_gateway_ids: list[str] | None = ... + """The IDs of the local gateways.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `local-gateway-id` - The ID of a local gateway. + + - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + local gateway. + + - `state` - The state of the association. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewaysOutput(_SerdeShape): + """Dataclass for DescribeLocalGatewaysOutput structure.""" + + local_gateways: list[LocalGateway] | None = ... + """Information about the local gateways.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayVirtualInterfaceGroupsInput(_SerdeShape): + """Dataclass for DescribeLocalGatewayVirtualInterfaceGroupsInput structure.""" + + local_gateway_virtual_interface_group_ids: list[str] | None = ... + """The IDs of the virtual interface groups.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `local-gateway-id` - The ID of a local gateway. + + - `local-gateway-virtual-interface-group-id` - The ID of the virtual + interface group. + + - `local-gateway-virtual-interface-id` - The ID of the virtual + interface. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + local gateway virtual interface group. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayVirtualInterfaceGroupsOutput(_SerdeShape): + """ + Dataclass for DescribeLocalGatewayVirtualInterfaceGroupsOutput + structure. + """ + + local_gateway_virtual_interface_groups: ( + list[LocalGatewayVirtualInterfaceGroup] | None + ) = ... + """The virtual interface groups.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayVirtualInterfacesInput(_SerdeShape): + """Dataclass for DescribeLocalGatewayVirtualInterfacesInput structure.""" + + local_gateway_virtual_interface_ids: list[str] | None = ... + """The IDs of the virtual interfaces.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `local-address` - The local address. + + - `local-bgp-asn` - The Border Gateway Protocol (BGP) Autonomous System + Number (ASN) of the local gateway. + + - `local-gateway-id` - The ID of the local gateway. + + - `local-gateway-virtual-interface-id` - The ID of the virtual + interface. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + local gateway virtual interface. + + - `peer-address` - The peer address. + + - `peer-bgp-asn` - The peer BGP ASN. + + - `vlan` - The ID of the VLAN. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeLocalGatewayVirtualInterfacesOutput(_SerdeShape): + """Dataclass for DescribeLocalGatewayVirtualInterfacesOutput structure.""" + + local_gateway_virtual_interfaces: list[LocalGatewayVirtualInterface] | None = ... + """Information about the virtual interfaces.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeLockedSnapshotsInput(_SerdeShape): + """Dataclass for DescribeLockedSnapshotsInput structure.""" + + filters: list[Filter] | None = ... + """ + The filters. + + - `lock-state` - The state of the snapshot lock (`compliance-cooloff` | + `governance` | `compliance` | `expired`). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + snapshot_ids: list[str] | None = ... + """The IDs of the snapshots for which to view the lock status.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeLockedSnapshotsOutput(_SerdeShape): + """Dataclass for DescribeLockedSnapshotsOutput structure.""" + + snapshots: list[LockedSnapshotsInfo] | None = ... + """Information about the snapshots.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeMacHostsInput(_SerdeShape): + """Dataclass for DescribeMacHostsInput structure.""" + + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The Availability Zone of the EC2 Mac Dedicated + Host. + + - `instance-type` - The instance type size that the EC2 Mac Dedicated + Host is configured to support. + """ + host_ids: list[str] | None = ... + """The IDs of the EC2 Mac Dedicated Hosts.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the returned `nextToken` value. This value can be between 5 and 500. If + `maxResults` is given a larger value than 500, you receive an error. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + +@dataclass(kw_only=True) +class DescribeMacHostsOutput(_SerdeShape): + """Dataclass for DescribeMacHostsOutput structure.""" + + mac_hosts: list[MacHost] | None = ... + """Information about the EC2 Mac Dedicated Hosts.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeMacModificationTasksInput(_SerdeShape): + """Dataclass for DescribeMacModificationTasksInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + Specifies one or more filters for the request: + + - `instance-id` - The ID of the instance for which the task was created. + + - `task-state` - The state of the task (`successful` | `failed` | + `in-progress` | `pending`). + + - `mac-system-integrity-protection-configuration.sip-status` - The + overall SIP state requested in the task (`enabled` | `disabled`). + + - `start-time` - The date and time the task was created. + + - `task-type` - The type of task (`sip-modification` | + `volume-ownership-delegation`). + """ + mac_modification_task_ids: list[str] | None = ... + """The ID of task.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results can be seen by sending another request with + the returned `nextToken` value. This value can be between 5 and 500. If + `maxResults` is given a larger value than 500, you receive an error. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + +@dataclass(kw_only=True) +class DescribeMacModificationTasksOutput(_SerdeShape): + """Dataclass for DescribeMacModificationTasksOutput structure.""" + + mac_modification_tasks: list[MacModificationTask] | None = ... + """Information about the tasks.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeManagedPrefixListsInput(_SerdeShape): + """Dataclass for DescribeManagedPrefixListsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `owner-id` - The ID of the prefix list owner. + + - `prefix-list-id` - The ID of the prefix list. + + - `prefix-list-name` - The name of the prefix list. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + prefix_list_ids: list[str] | None = ... + """One or more prefix list IDs.""" + +@dataclass(kw_only=True) +class DescribeManagedPrefixListsOutput(_SerdeShape): + """Dataclass for DescribeManagedPrefixListsOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + prefix_lists: list[ManagedPrefixList] | None = ... + """Information about the prefix lists.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeMovingAddressesInput(_SerdeShape): + """Dataclass for DescribeMovingAddressesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + public_ips: list[str] | None = ... + """One or more Elastic IP addresses.""" + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `moving-status` - The status of the Elastic IP address (`MovingToVpc` + | `RestoringToClassic`). + """ + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results of the initial request can be seen by + sending another request with the returned `NextToken` value. This value + can be between 5 and 1000; if `MaxResults` is given a value outside of + this range, an error is returned. + + Default: If no value is provided, the default is 1000. + """ + +@dataclass(kw_only=True) +class DescribeMovingAddressesOutput(_SerdeShape): + """Dataclass for DescribeMovingAddressesOutput structure.""" + + moving_address_statuses: list[MovingAddressStatus] | None = ... + """The status for each Elastic IP address.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeNatGatewaysInput(_SerdeShape): + """Dataclass for DescribeNatGatewaysInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filter: list[Filter] | None = ... + """ + The filters. + + - `nat-gateway-id` - The ID of the NAT gateway. + + - `state` - The state of the NAT gateway (`pending` | `failed` | + `available` | `deleting` | `deleted`). + + - `subnet-id` - The ID of the subnet in which the NAT gateway resides. + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC in which the NAT gateway resides. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + nat_gateway_ids: list[str] | None = ... + """The IDs of the NAT gateways.""" + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + +@dataclass(kw_only=True) +class DescribeNatGatewaysOutput(_SerdeShape): + """Dataclass for DescribeNatGatewaysOutput structure.""" + + nat_gateways: list[NatGateway] | None = ... + """Information about the NAT gateways.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeNetworkAclsInput(_SerdeShape): + """Dataclass for DescribeNetworkAclsInput structure.""" + + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_acl_ids: list[str] | None = ... + """The IDs of the network ACLs.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `association.association-id` - The ID of an association ID for the + ACL. + + - `association.network-acl-id` - The ID of the network ACL involved in + the association. + + - `association.subnet-id` - The ID of the subnet involved in the + association. + + - `default` - Indicates whether the ACL is the default network ACL for + the VPC. + + - `entry.cidr` - The IPv4 CIDR range specified in the entry. + + - `entry.icmp.code` - The ICMP code specified in the entry, if any. + + - `entry.icmp.type` - The ICMP type specified in the entry, if any. + + - `entry.ipv6-cidr` - The IPv6 CIDR range specified in the entry. + + - `entry.port-range.from` - The start of the port range specified in the + entry. + + - `entry.port-range.to` - The end of the port range specified in the + entry. + + - `entry.protocol` - The protocol specified in the entry (`tcp` | `udp` + | `icmp` or a protocol number). + + - `entry.rule-action` - Allows or denies the matching traffic (`allow` + | `deny`). + + - `entry.egress` - A Boolean that indicates the type of rule. Specify + `true` for egress rules, or `false` for ingress rules. + + - `entry.rule-number` - The number of an entry (in other words, rule) in + the set of ACL entries. + + - `network-acl-id` - The ID of the network ACL. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + network ACL. + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC for the network ACL. + """ + +@dataclass(kw_only=True) +class DescribeNetworkAclsOutput(_SerdeShape): + """Dataclass for DescribeNetworkAclsOutput structure.""" + + network_acls: list[NetworkAcl] | None = ... + """Information about the network ACLs.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeNetworkInsightsAccessScopeAnalysesInput(_SerdeShape): + """Dataclass for DescribeNetworkInsightsAccessScopeAnalysesInput structure.""" + + network_insights_access_scope_analysis_ids: list[str] | None = ... + """The IDs of the Network Access Scope analyses.""" + network_insights_access_scope_id: str | None = ... + """The ID of the Network Access Scope.""" + analysis_start_time_begin: datetime | None = ... + """ + Filters the results based on the start time. The analysis must have + started on or after this time. + """ + analysis_start_time_end: datetime | None = ... + """ + Filters the results based on the start time. The analysis must have + started on or before this time. + """ + filters: list[Filter] | None = ... + """There are no supported filters.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeNetworkInsightsAccessScopeAnalysesOutput(_SerdeShape): + """ + Dataclass for DescribeNetworkInsightsAccessScopeAnalysesOutput + structure. + """ + + network_insights_access_scope_analyses: ( + list[NetworkInsightsAccessScopeAnalysis] | None + ) = ... + """The Network Access Scope analyses.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeNetworkInsightsAccessScopesInput(_SerdeShape): + """Dataclass for DescribeNetworkInsightsAccessScopesInput structure.""" + + network_insights_access_scope_ids: list[str] | None = ... + """The IDs of the Network Access Scopes.""" + filters: list[Filter] | None = ... + """There are no supported filters.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeNetworkInsightsAccessScopesOutput(_SerdeShape): + """Dataclass for DescribeNetworkInsightsAccessScopesOutput structure.""" + + network_insights_access_scopes: list[NetworkInsightsAccessScope] | None = ... + """The Network Access Scopes.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeNetworkInsightsAnalysesInput(_SerdeShape): + """Dataclass for DescribeNetworkInsightsAnalysesInput structure.""" + + network_insights_analysis_ids: list[str] | None = ... + """ + The ID of the network insights analyses. You must specify either + analysis IDs or a path ID. + """ + network_insights_path_id: str | None = ... + """The ID of the path. You must specify either a path ID or analysis IDs.""" + analysis_start_time: datetime | None = ... + """The time when the network insights analyses started.""" + analysis_end_time: datetime | None = ... + """The time when the network insights analyses ended.""" + filters: list[Filter] | None = ... + """ + The filters. The following are the possible values: + + - path-found - A Boolean value that indicates whether a feasible path is + found. + + - status - The status of the analysis (running | succeeded | failed). + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeNetworkInsightsAnalysesOutput(_SerdeShape): + """Dataclass for DescribeNetworkInsightsAnalysesOutput structure.""" + + network_insights_analyses: list[NetworkInsightsAnalysis] | None = ... + """Information about the network insights analyses.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeNetworkInsightsPathsInput(_SerdeShape): + """Dataclass for DescribeNetworkInsightsPathsInput structure.""" + + network_insights_path_ids: list[str] | None = ... + """The IDs of the paths.""" + filters: list[Filter] | None = ... + """ + The filters. The following are the possible values: + + - destination - The ID of the resource. + + - filter-at-source.source-address - The source IPv4 address at the + source. + + - filter-at-source.source-port-range - The source port range at the + source. + + - filter-at-source.destination-address - The destination IPv4 address at + the source. + + - filter-at-source.destination-port-range - The destination port range + at the source. + + - filter-at-destination.source-address - The source IPv4 address at the + destination. + + - filter-at-destination.source-port-range - The source port range at the + destination. + + - filter-at-destination.destination-address - The destination IPv4 + address at the destination. + + - filter-at-destination.destination-port-range - The destination port + range at the destination. + + - protocol - The protocol. + + - source - The ID of the resource. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeNetworkInsightsPathsOutput(_SerdeShape): + """Dataclass for DescribeNetworkInsightsPathsOutput structure.""" + + network_insights_paths: list[NetworkInsightsPath] | None = ... + """Information about the paths.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeNetworkInterfaceAttributeInput(_SerdeShape): + """Contains the parameters for DescribeNetworkInterfaceAttribute.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_interface_id: str | None = ... + """The ID of the network interface.""" + attribute: str | None = ... + """The attribute of the network interface. This parameter is required.""" + +@dataclass(kw_only=True) +class DescribeNetworkInterfaceAttributeOutput(_SerdeShape): + """Contains the output of DescribeNetworkInterfaceAttribute.""" + + attachment: NetworkInterfaceAttachment | None = ... + """The attachment (if any) of the network interface.""" + description: AttributeValue | None = ... + """The description of the network interface.""" + groups: list[GroupIdentifier] | None = ... + """The security groups associated with the network interface.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + source_dest_check: AttributeBooleanValue | None = ... + """Indicates whether source/destination checking is enabled.""" + associate_public_ip_address: bool | None = ... + """ + Indicates whether to assign a public IPv4 address to a network + interface. This option can be enabled for any network interface but will + only apply to the primary network interface (eth0). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeNetworkInterfacePermissionsInput(_SerdeShape): + """Contains the parameters for DescribeNetworkInterfacePermissions.""" + + network_interface_permission_ids: list[str] | None = ... + """The network interface permission IDs.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `network-interface-permission.network-interface-permission-id` - The + ID of the permission. + + - `network-interface-permission.network-interface-id` - The ID of the + network interface. + + - `network-interface-permission.aws-account-id` - The Amazon Web + Services account ID. + + - `network-interface-permission.aws-service` - The Amazon Web Services + service. + + - `network-interface-permission.permission` - The type of permission + (`INSTANCE-ATTACH` | `EIP-ASSOCIATE`). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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. If this parameter is not specified, up to 50 results are + returned by default. For more information, see + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeNetworkInterfacePermissionsOutput(_SerdeShape): + """Contains the output for DescribeNetworkInterfacePermissions.""" + + network_interface_permissions: list[NetworkInterfacePermission] | None = ... + """The network interface permissions.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeNetworkInterfacesInput(_SerdeShape): + """Contains the parameters for DescribeNetworkInterfaces.""" + + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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. You cannot specify this parameter and the network interface IDs + parameter in the same request. For more information, see + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + include_managed_resources: bool | None = ... + """ + Indicates whether to include managed resources in the output. If this + parameter is set to `true`, the output includes resources that are + managed by Amazon Web Services services, even if managed resource + visibility is set to hidden. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_interface_ids: list[str] | None = ... + """ + The network interface IDs. + + Default: Describes all your network interfaces. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `association.allocation-id` - The allocation ID returned when you + allocated the Elastic IP address (IPv4) for your network interface. + + - `association.association-id` - The association ID returned when the + network interface was associated with an IPv4 address. + + - `addresses.association.owner-id` - The owner ID of the addresses + associated with the network interface. + + - `addresses.association.public-ip` - The association ID returned when + the network interface was associated with the Elastic IP address + (IPv4). + + - `addresses.primary` - Whether the private IPv4 address is the primary + IP address associated with the network interface. + + - `addresses.private-ip-address` - The private IPv4 addresses associated + with the network interface. + + - `association.ip-owner-id` - The owner of the Elastic IP address (IPv4) + associated with the network interface. + + - `association.public-ip` - The address of the Elastic IP address (IPv4) + bound to the network interface. + + - `association.public-dns-name` - The public DNS name for the network + interface (IPv4). + + - `attachment.attach-time` - The time that the network interface was + attached to an instance. + + - `attachment.attachment-id` - The ID of the interface attachment. + + - `attachment.delete-on-termination` - Indicates whether the attachment + is deleted when an instance is terminated. + + - `attachment.device-index` - The device index to which the network + interface is attached. + + - `attachment.instance-id` - The ID of the instance to which the network + interface is attached. + + - `attachment.instance-owner-id` - The owner ID of the instance to which + the network interface is attached. + + - `attachment.status` - The status of the attachment (`attaching` | + `attached` | `detaching` | `detached`). + + - `availability-zone` - The Availability Zone of the network interface. + + - `availability-zone-id` - The ID of the Availability Zone of the + network interface. + + - `description` - The description of the network interface. + + - `group-id` - The ID of a security group associated with the network + interface. + + - `ipv6-addresses.ipv6-address` - An IPv6 address associated with the + network interface. + + - `interface-type` - The type of network interface + (`api_gateway_managed` | `aws_codestar_connections_managed` | + `branch` | `ec2_instance_connect_endpoint` | `efa` | `efa-only` | + `efs` | `evs` | `gateway_load_balancer` | + `gateway_load_balancer_endpoint` | `global_accelerator_managed` | + `interface` | `iot_rules_managed` | `lambda` | `load_balancer` | + `nat_gateway` | `network_load_balancer` | `quicksight` | + `transit_gateway` | `trunk` | `vpc_endpoint`). + + - `mac-address` - The MAC address of the network interface. + + - `network-interface-id` - The ID of the network interface. + + - `operator.managed` - A Boolean that indicates whether this is a + managed network interface. + + - `operator.principal` - The principal that manages the network + interface. Only valid for managed network interfaces, where `managed` + is `true`. + + - `owner-id` - The Amazon Web Services account ID of the network + interface owner. + + - `private-dns-name` - The private DNS name of the network interface + (IPv4). + + - `private-ip-address` - The private IPv4 address or addresses of the + network interface. + + - `requester-id` - The alias or Amazon Web Services account ID of the + principal or service that created the network interface. + + - `requester-managed` - Indicates whether the network interface is being + managed by an Amazon Web Services service (for example, Amazon Web + Services Management Console, Auto Scaling, and so on). + + - `source-dest-check` - Indicates whether the network interface performs + source/destination checking. A value of `true` means checking is + enabled, and `false` means checking is disabled. The value must be + `false` for the network interface to perform network address + translation (NAT) in your VPC. + + - `status` - The status of the network interface. If the network + interface is not attached to an instance, the status is `available`; + if a network interface is attached to an instance the status is + `in-use`. + + - `subnet-id` - The ID of the subnet for the network interface. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC for the network interface. + """ + +@dataclass(kw_only=True) +class DescribeNetworkInterfacesOutput(_SerdeShape): + """Dataclass for DescribeNetworkInterfacesOutput structure.""" + + network_interfaces: list[NetworkInterface] | None = ... + """Information about the network interfaces.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeOutpostLagsInput(_SerdeShape): + """Dataclass for DescribeOutpostLagsInput structure.""" + + outpost_lag_ids: list[str] | None = ... + """The IDs of the Outpost LAGs.""" + filters: list[Filter] | None = ... + """ + The filters to use for narrowing down the request. The following filters + are supported: + + - `service-link-virtual-interface-id` - The ID of the service link + virtual interface. + + - `service-link-virtual-interface-arn` - The ARN of the service link + virtual interface. + + - `outpost-id` - The Outpost ID. + + - `outpost-arn` - The Outpost ARN. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + service link virtual interface. + + - `vlan` - The ID of the address pool. + + - `local-address` - The local address. + + - `peer-address` - The peer address. + + - `peer-bgp-asn` - The peer BGP ASN. + + - `outpost-lag-id` - The Outpost LAG ID. + + - `configuration-state` - The configuration state of the service link + virtual interface. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeOutpostLagsOutput(_SerdeShape): + """Dataclass for DescribeOutpostLagsOutput structure.""" + + outpost_lags: list[OutpostLag] | None = ... + """The Outpost LAGs.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribePlacementGroupsInput(_SerdeShape): + """Dataclass for DescribePlacementGroupsInput structure.""" + + group_ids: list[str] | None = ... + """The IDs of the placement groups.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + group_names: list[str] | None = ... + """ + The names of the placement groups. + + Constraints: + + - You can specify a name only if the placement group is owned by your + account. + + - If a placement group is *shared* with your account, specifying the + name results in an error. You must use the `GroupId` parameter + instead. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `group-name` - The name of the placement group. + + - `group-arn` - The Amazon Resource Name (ARN) of the placement group. + + - `spread-level` - The spread level for the placement group (`host` | + `rack`). + + - `state` - The state of the placement group (`pending` | `available` + | `deleting` | `deleted`). + + - `strategy` - The strategy of the placement group (`cluster` | + `spread` | `partition` | `precision-time`). + + - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - 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. + """ + +@dataclass(kw_only=True) +class DescribePlacementGroupsOutput(_SerdeShape): + """Dataclass for DescribePlacementGroupsOutput structure.""" + + placement_groups: list[PlacementGroup] | None = ... + """Information about the placement groups.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribePrefixListsInput(_SerdeShape): + """Dataclass for DescribePrefixListsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `prefix-list-id`: The ID of a prefix list. + + - `prefix-list-name`: The name of a prefix list. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + prefix_list_ids: list[str] | None = ... + """One or more prefix list IDs.""" + +@dataclass(kw_only=True) +class DescribePrefixListsOutput(_SerdeShape): + """Dataclass for DescribePrefixListsOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + prefix_lists: list[PrefixList] | None = ... + """All available prefix lists.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribePrincipalIdFormatInput(_SerdeShape): + """Dataclass for DescribePrincipalIdFormatInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + resources: list[str] | None = ... + """ + The type of resource: `bundle` | `conversion-task` | + `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | + `elastic-ip-association` | `export-task` | `flow-log` | `image` | + `import-task` | `instance` | `internet-gateway` | `network-acl` | + `network-acl-association` | `network-interface` | + `network-interface-attachment` | `prefix-list` | `reservation` | + `route-table` | `route-table-association` | `security-group` | + `snapshot` | `subnet` | `subnet-cidr-block-association` | `volume` | + `vpc` | `vpc-cidr-block-association` | `vpc-endpoint` | + `vpc-peering-connection` | `vpn-connection` | `vpn-gateway` + """ + max_results: int | None = ... + """ + The maximum number of results to return in a single call. To retrieve + the remaining results, make another call with the returned NextToken + value. + """ + next_token: str | None = ... + """The token to request the next page of results.""" + +@dataclass(kw_only=True) +class DescribePrincipalIdFormatOutput(_SerdeShape): + """Dataclass for DescribePrincipalIdFormatOutput structure.""" + + principals: list[PrincipalIdFormat] | None = ... + """Information about the ID format settings for the ARN.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribePublicIpv4PoolsInput(_SerdeShape): + """Dataclass for DescribePublicIpv4PoolsInput structure.""" + + pool_ids: list[str] | None = ... + """The IDs of the address pools.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + +@dataclass(kw_only=True) +class DescribePublicIpv4PoolsOutput(_SerdeShape): + """Dataclass for DescribePublicIpv4PoolsOutput structure.""" + + public_ipv4_pools: list[PublicIpv4Pool] | None = ... + """Information about the address pools.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeRegionsInput(_SerdeShape): + """Dataclass for DescribeRegionsInput structure.""" + + region_names: list[str] | None = ... + """ + The names of the Regions. You can specify any Regions, whether they are + enabled and disabled for your account. + """ + all_regions: bool | None = ... + """ + Indicates whether to display all Regions, including Regions that are + disabled for your account. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `endpoint` - The endpoint of the Region (for example, + `ec2.us-east-1.amazonaws.com`). + + - `opt-in-status` - The opt-in status of the Region + (`opt-in-not-required` | `opted-in` | `not-opted-in`). + + - `region-name` - The name of the Region (for example, `us-east-1`). + """ + +@dataclass(kw_only=True) +class DescribeRegionsOutput(_SerdeShape): + """Dataclass for DescribeRegionsOutput structure.""" + + regions: list[Region] | None = ... + """Information about the Regions.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeReplaceRootVolumeTasksInput(_SerdeShape): + """Dataclass for DescribeReplaceRootVolumeTasksInput structure.""" + + replace_root_volume_task_ids: list[str] | None = ... + """The ID of the root volume replacement task to view.""" + filters: list[Filter] | None = ... + """ + Filter to use: + + - `instance-id` - The ID of the instance for which the root volume + replacement task was created. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeReplaceRootVolumeTasksOutput(_SerdeShape): + """Dataclass for DescribeReplaceRootVolumeTasksOutput structure.""" + + replace_root_volume_tasks: list[ReplaceRootVolumeTask] | None = ... + """Information about the root volume replacement task.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeReservedInstancesInput(_SerdeShape): + """Contains the parameters for DescribeReservedInstances.""" + + offering_class: str | None = ... + """Describes whether the Reserved Instance is Standard or Convertible.""" + reserved_instances_ids: list[str] | None = ... + """ + One or more Reserved Instance IDs. + + Default: Describes all your Reserved Instances, or only those otherwise + specified. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `availability-zone` - The Availability Zone where the Reserved + Instance can be used. + + - `availability-zone-id` - The ID of the Availability Zone where the + Reserved Instance can be used. + + - `duration` - The duration of the Reserved Instance (one year or three + years), in seconds (`31536000` | `94608000`). + + - `end` - The time when the Reserved Instance expires (for example, + 2015-08-07T11:54:42.000Z). + + - `fixed-price` - The purchase price of the Reserved Instance (for + example, 9800.0). + + - `instance-type` - The instance type that is covered by the + reservation. + + - `scope` - The scope of the Reserved Instance (`Region` or + `Availability Zone`). + + - `product-description` - The Reserved Instance product platform + description (`Linux/UNIX` | `Linux with SQL Server Standard` | + `Linux with SQL Server Web` | `Linux with SQL Server Enterprise` | + `SUSE Linux` | `Red Hat Enterprise Linux` | + `Red Hat Enterprise Linux with HA` | `Windows` | + `Windows with SQL Server Standard` | `Windows with SQL Server Web` | + `Windows with SQL Server Enterprise`). + + - `reserved-instances-id` - The ID of the Reserved Instance. + + - `start` - The time at which the Reserved Instance purchase request was + placed (for example, 2014-08-07T11:54:42.000Z). + + - `state` - The state of the Reserved Instance (`payment-pending` | + `active` | `payment-failed` | `retired`). + + - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `usage-price` - The usage price of the Reserved Instance, per hour + (for example, 0.84). + """ + offering_type: str | None = ... + """ + The Reserved Instance offering type. If you are using tools that predate + the 2011-11-01 API version, you only have access to the + `Medium Utilization` Reserved Instance offering type. + """ + +@dataclass(kw_only=True) +class DescribeReservedInstancesListingsInput(_SerdeShape): + """Contains the parameters for DescribeReservedInstancesListings.""" + + reserved_instances_id: str | None = ... + """One or more Reserved Instance IDs.""" + reserved_instances_listing_id: str | None = ... + """One or more Reserved Instance listing IDs.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `reserved-instances-id` - The ID of the Reserved Instances. + + - `reserved-instances-listing-id` - The ID of the Reserved Instances + listing. + + - `status` - The status of the Reserved Instance listing (`pending` | + `active` | `cancelled` | `closed`). + + - `status-message` - The reason for the status. + """ + +@dataclass(kw_only=True) +class DescribeReservedInstancesListingsOutput(_SerdeShape): + """Contains the output of DescribeReservedInstancesListings.""" + + reserved_instances_listings: list[ReservedInstancesListing] | None = ... + """Information about the Reserved Instance listing.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeReservedInstancesModificationsInput(_SerdeShape): + """Contains the parameters for DescribeReservedInstancesModifications.""" + + reserved_instances_modification_ids: list[str] | None = ... + """IDs for the submitted modification request.""" + next_token: str | None = ... + """The token to retrieve the next page of results.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `client-token` - The idempotency token for the modification request. + + - `create-date` - The time when the modification request was created. + + - `effective-date` - The time when the modification becomes effective. + + - `modification-result.reserved-instances-id` - The ID for the Reserved + Instances created as part of the modification request. This ID is only + available when the status of the modification is `fulfilled`. + + - `modification-result.target-configuration.availability-zone` - The + Availability Zone for the new Reserved Instances. + + - `modification-result.target-configuration.availability-zone-id` - The + ID of the Availability Zone for the new Reserved Instances. + + - `modification-result.target-configuration.instance-count ` - The + number of new Reserved Instances. + + - `modification-result.target-configuration.instance-type` - The + instance type of the new Reserved Instances. + + - `reserved-instances-id` - The ID of the Reserved Instances modified. + + - `reserved-instances-modification-id` - The ID of the modification + request. + + - `status` - The status of the Reserved Instances modification request + (`processing` | `fulfilled` | `failed`). + + - `status-message` - The reason for the status. + + - `update-date` - The time when the modification request was last + updated. + """ + +@dataclass(kw_only=True) +class DescribeReservedInstancesModificationsOutput(_SerdeShape): + """Contains the output of DescribeReservedInstancesModifications.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + reserved_instances_modifications: list[ReservedInstancesModification] | None = ... + """The Reserved Instance modification information.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeReservedInstancesOfferingsInput(_SerdeShape): + """Contains the parameters for DescribeReservedInstancesOfferings.""" + + availability_zone: str | None = ... + """ + The Availability Zone in which the Reserved Instance can be used. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both. + """ + include_marketplace: bool | None = ... + """Include Reserved Instance Marketplace offerings in the response.""" + instance_type: str | None = ... + """ + The instance type that the reservation will cover (for example, + `m1.small`). For more information, see [Amazon EC2 instance + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + in the *Amazon EC2 User Guide*. + """ + max_duration: int | None = ... + """ + The maximum duration (in seconds) to filter when searching for + offerings. + + Default: 94608000 (3 years) + """ + max_instance_count: int | None = ... + """ + The maximum number of instances to filter when searching for offerings. + + Default: 20 + """ + min_duration: int | None = ... + """ + The minimum duration (in seconds) to filter when searching for + offerings. + + Default: 2592000 (1 month) + """ + offering_class: str | None = ... + """ + The offering class of the Reserved Instance. Can be `standard` or + `convertible`. + """ + product_description: str | None = ... + """ + The Reserved Instance product platform description. Instances that + include `(Amazon VPC)` in the description are for use with Amazon VPC. + """ + reserved_instances_offering_ids: list[str] | None = ... + """One or more Reserved Instances offering IDs.""" + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `availability-zone` - The Availability Zone where the Reserved + Instance can be used. + + - `availability-zone-id` - The ID of the Availability Zone where the + Reserved Instance can be used. + + - `duration` - The duration of the Reserved Instance (for example, one + year or three years), in seconds (`31536000` | `94608000`). + + - `fixed-price` - The purchase price of the Reserved Instance (for + example, 9800.0). + + - `instance-type` - The instance type that is covered by the + reservation. + + - `marketplace` - Set to `true` to show only Reserved Instance + Marketplace offerings. When this filter is not used, which is the + default behavior, all offerings from both Amazon Web Services and the + Reserved Instance Marketplace are listed. + + - `product-description` - The Reserved Instance product platform + description (`Linux/UNIX` | `Linux with SQL Server Standard` | + `Linux with SQL Server Web` | `Linux with SQL Server Enterprise` | + `SUSE Linux` | `Red Hat Enterprise Linux` | + `Red Hat Enterprise Linux with HA` | `Windows` | + `Windows with SQL Server Standard` | `Windows with SQL Server Web` | + `Windows with SQL Server Enterprise`). + + - `reserved-instances-offering-id` - The Reserved Instances offering ID. + + - `scope` - The scope of the Reserved Instance (`Availability Zone` or + `Region`). + + - `usage-price` - The usage price of the Reserved Instance, per hour + (for example, 0.84). + """ + instance_tenancy: str | None = ... + """ + The tenancy of the instances covered by the reservation. A Reserved + Instance with a tenancy of `dedicated` is applied to instances that run + in a VPC on single-tenant hardware (i.e., Dedicated Instances). + + **Important:** The `host` value cannot be used with this parameter. Use + the `default` or `dedicated` values only. + + Default: `default` + """ + offering_type: str | None = ... + """ + The Reserved Instance offering type. If you are using tools that predate + the 2011-11-01 API version, you only have access to the + `Medium Utilization` Reserved Instance offering type. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results of the initial request can be seen by + sending another request with the returned `NextToken` value. The maximum + is 100. + + Default: 100 + """ + +@dataclass(kw_only=True) +class DescribeReservedInstancesOfferingsOutput(_SerdeShape): + """Contains the output of DescribeReservedInstancesOfferings.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + reserved_instances_offerings: list[ReservedInstancesOffering] | None = ... + """A list of Reserved Instances offerings.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeReservedInstancesOutput(_SerdeShape): + """Contains the output for DescribeReservedInstances.""" + + reserved_instances: list[ReservedInstances] | None = ... + """A list of Reserved Instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeRouteServerEndpointsInput(_SerdeShape): + """Dataclass for DescribeRouteServerEndpointsInput structure.""" + + route_server_endpoint_ids: list[str] | None = ... + """The IDs of the route server endpoints to describe.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """The maximum number of results to return with a single call.""" + filters: list[Filter] | None = ... + """One or more filters to apply to the describe request.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeRouteServerEndpointsOutput(_SerdeShape): + """Dataclass for DescribeRouteServerEndpointsOutput structure.""" + + route_server_endpoints: list[RouteServerEndpoint] | None = ... + """Information about the described route server endpoints.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeRouteServerPeersInput(_SerdeShape): + """Dataclass for DescribeRouteServerPeersInput structure.""" + + route_server_peer_ids: list[str] | None = ... + """The IDs of the route server peers to describe.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """The maximum number of results to return with a single call.""" + filters: list[Filter] | None = ... + """One or more filters to apply to the describe request.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeRouteServerPeersOutput(_SerdeShape): + """Dataclass for DescribeRouteServerPeersOutput structure.""" + + route_server_peers: list[RouteServerPeer] | None = ... + """Information about the described route server peers.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeRouteServersInput(_SerdeShape): + """Dataclass for DescribeRouteServersInput structure.""" + + route_server_ids: list[str] | None = ... + """The IDs of the route servers to describe.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """The maximum number of results to return with a single call.""" + filters: list[Filter] | None = ... + """One or more filters to apply to the describe request.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeRouteServersOutput(_SerdeShape): + """Dataclass for DescribeRouteServersOutput structure.""" + + route_servers: list[RouteServer] | None = ... + """Information about the described route servers.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeRouteTablesInput(_SerdeShape): + """Dataclass for DescribeRouteTablesInput structure.""" + + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + route_table_ids: list[str] | None = ... + """The IDs of the route tables.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `association.gateway-id` - The ID of the gateway involved in the + association. + + - `association.route-table-association-id` - The ID of an association ID + for the route table. + + - `association.route-table-id` - The ID of the route table involved in + the association. + + - `association.subnet-id` - The ID of the subnet involved in the + association. + + - `association.main` - Indicates whether the route table is the main + route table for the VPC (`true` | `false`). Route tables that do not + have an association ID are not returned in the response. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + route table. + + - `route-table-id` - The ID of the route table. + + - `route.destination-cidr-block` - The IPv4 CIDR range specified in a + route in the table. + + - `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified in + a route in the route table. + + - `route.destination-prefix-list-id` - The ID (prefix) of the Amazon Web + Services service specified in a route in the table. + + - `route.egress-only-internet-gateway-id` - The ID of an egress-only + Internet gateway specified in a route in the route table. + + - `route.gateway-id` - The ID of a gateway specified in a route in the + table. + + - `route.instance-id` - The ID of an instance specified in a route in + the table. + + - `route.nat-gateway-id` - The ID of a NAT gateway. + + - `route.transit-gateway-id` - The ID of a transit gateway. + + - `route.origin` - Describes how the route was created. + `CreateRouteTable` indicates that the route was automatically created + when the route table was created; `CreateRoute` indicates that the + route was manually added to the route table; + `EnableVgwRoutePropagation` indicates that the route was propagated by + route propagation. + + - `route.state` - The state of a route in the route table (`active` | + `blackhole`). The blackhole state indicates that the route's target + isn't available (for example, the specified gateway isn't attached + to the VPC, the specified NAT instance has been terminated, and so + on). + + - `route.vpc-peering-connection-id` - The ID of a VPC peering connection + specified in a route in the table. + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC for the route table. + """ + +@dataclass(kw_only=True) +class DescribeRouteTablesOutput(_SerdeShape): + """Contains the output of DescribeRouteTables.""" + + route_tables: list[RouteTable] | None = ... + """Information about the route tables.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeScheduledInstanceAvailabilityInput(_SerdeShape): + """Contains the parameters for DescribeScheduledInstanceAvailability.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The Availability Zone (for example, + `us-west-2a`). + + - `instance-type` - The instance type (for example, `c4.large`). + + - `platform` - The platform (`Linux/UNIX` or `Windows`). + """ + first_slot_start_time_range: SlotDateTimeRangeRequest | None = ... + """The time period for the first schedule to start.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. This value can + be between 5 and 300. The default value is 300. To retrieve the + remaining results, make another call with the returned `NextToken` + value. + """ + max_slot_duration_in_hours: int | None = ... + """ + The maximum available duration, in hours. This value must be greater + than `MinSlotDurationInHours` and less than 1,720. + """ + min_slot_duration_in_hours: int | None = ... + """ + The minimum available duration, in hours. The minimum required duration + is 1,200 hours per year. For example, the minimum daily schedule is 4 + hours, the minimum weekly schedule is 24 hours, and the minimum monthly + schedule is 100 hours. + """ + next_token: str | None = ... + """The token for the next set of results.""" + recurrence: ScheduledInstanceRecurrenceRequest | None = ... + """The schedule recurrence.""" + +@dataclass(kw_only=True) +class DescribeScheduledInstanceAvailabilityOutput(_SerdeShape): + """Contains the output of DescribeScheduledInstanceAvailability.""" + + next_token: str | None = ... + """ + The token required to retrieve the next set of results. This value is + `null` when there are no more results to return. + """ + scheduled_instance_availability_set: ( + list[ScheduledInstanceAvailability] | None + ) = ... + """Information about the available Scheduled Instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeScheduledInstancesInput(_SerdeShape): + """Contains the parameters for DescribeScheduledInstances.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The Availability Zone (for example, + `us-west-2a`). + + - `instance-type` - The instance type (for example, `c4.large`). + + - `platform` - The platform (`Linux/UNIX` or `Windows`). + """ + max_results: int | None = ... + """ + The maximum number of results to return in a single call. This value can + be between 5 and 300. The default value is 100. To retrieve the + remaining results, make another call with the returned `NextToken` + value. + """ + next_token: str | None = ... + """The token for the next set of results.""" + scheduled_instance_ids: list[str] | None = ... + """The Scheduled Instance IDs.""" + slot_start_time_range: SlotStartTimeRangeRequest | None = ... + """The time period for the first schedule to start.""" + +@dataclass(kw_only=True) +class DescribeScheduledInstancesOutput(_SerdeShape): + """Contains the output of DescribeScheduledInstances.""" + + next_token: str | None = ... + """ + The token required to retrieve the next set of results. This value is + `null` when there are no more results to return. + """ + scheduled_instance_set: list[ScheduledInstance] | None = ... + """Information about the Scheduled Instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSecondaryInterfacesInput(_SerdeShape): + """Dataclass for DescribeSecondaryInterfacesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `attachment.attachment-id` - The ID of the secondary interface + attachment. + + - `attachment.instance-id` - The ID of the instance to which the + secondary interface is attached. + + - `attachment.instance-owner-id` - The ID of the Amazon Web Services + account that owns the instance to which the secondary interface is + attached. + + - `attachment.status` - The attachment status (`attaching` | `attached` + | `detaching` | `detached`). + + - `private-ipv4-addresses.private-ip-address` - The private IPv4 address + associated with the secondary interface. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + secondary interface. + + - `secondary-interface-arn` - The ARN of the secondary interface. + + - `secondary-interface-id` - The ID of the secondary interface. + + - `secondary-interface-type` - The type of secondary interface + (`secondary`). + + - `secondary-network-id` - The ID of the secondary network. + + - `secondary-network-type` - The type of the secondary network (`rdma`). + + - `secondary-subnet-id` - The ID of the secondary subnet. + + - `status` - The status of the secondary interface (`available` | + `in-use`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + secondary_interface_ids: list[str] | None = ... + """The IDs of the secondary interfaces.""" + +@dataclass(kw_only=True) +class DescribeSecondaryInterfacesOutput(_SerdeShape): + """Dataclass for DescribeSecondaryInterfacesOutput structure.""" + + secondary_interfaces: list[SecondaryInterface] | None = ... + """Information about the secondary interfaces.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSecondaryNetworksInput(_SerdeShape): + """Dataclass for DescribeSecondaryNetworksInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. The following are the possible values: + + - `ipv4-cidr-block-association.association-id` - The association ID for + an IPv4 CIDR block associated with the secondary network. + + - `ipv4-cidr-block-association.cidr-block` - An IPv4 CIDR block + associated with the secondary network. + + - `ipv4-cidr-block-association.state` - The state of an IPv4 CIDR block + associated with the secondary network. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + secondary network. + + - `secondary-network-id` - The ID of the secondary network. + + - `secondary-network-arn` - The ARN of the secondary network. + + - `state` - The state of the secondary network (`create-in-progress` | + `create-complete` | `create-failed` | `delete-in-progress` | + `delete-complete` | `delete-failed`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `type` - The type of the secondary network (`rdma`). + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + secondary_network_ids: list[str] | None = ... + """The IDs of the secondary networks.""" + +@dataclass(kw_only=True) +class DescribeSecondaryNetworksOutput(_SerdeShape): + """Dataclass for DescribeSecondaryNetworksOutput structure.""" + + secondary_networks: list[SecondaryNetwork] | None = ... + """Information about the secondary networks.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSecondarySubnetsInput(_SerdeShape): + """Dataclass for DescribeSecondarySubnetsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `ipv4-cidr-block-association.association-id` - The association ID for + an IPv4 CIDR block associated with the secondary subnet. + + - `ipv4-cidr-block-association.cidr-block` - An IPv4 CIDR block + associated with the secondary subnet. + + - `ipv4-cidr-block-association.state` - The state of an IPv4 CIDR block + associated with the secondary subnet. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + secondary subnet. + + - `secondary-network-id` - The ID of the secondary network. + + - `secondary-network-type` - The type of the secondary network (`rdma`). + + - `secondary-subnet-id` - The ID of the secondary subnet. + + - `secondary-subnet-arn` - The ARN of the secondary subnet. + + - `state` - The state of the secondary subnet (`create-in-progress` | + `create-complete` | `create-failed` | `delete-in-progress` | + `delete-complete` | `delete-failed`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + secondary_subnet_ids: list[str] | None = ... + """The IDs of the secondary subnets.""" + +@dataclass(kw_only=True) +class DescribeSecondarySubnetsOutput(_SerdeShape): + """Dataclass for DescribeSecondarySubnetsOutput structure.""" + + secondary_subnets: list[SecondarySubnet] | None = ... + """Information about the secondary subnets.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSecurityGroupReferencesInput(_SerdeShape): + """Dataclass for DescribeSecurityGroupReferencesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + group_id: list[str] | None = ... + """The IDs of the security groups in your account.""" + +@dataclass(kw_only=True) +class DescribeSecurityGroupReferencesOutput(_SerdeShape): + """Dataclass for DescribeSecurityGroupReferencesOutput structure.""" + + security_group_reference_set: list[SecurityGroupReference] | None = ... + """Information about the VPCs with the referencing security groups.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSecurityGroupRulesInput(_SerdeShape): + """Dataclass for DescribeSecurityGroupRulesInput structure.""" + + filters: list[Filter] | None = ... + """ + One or more filters. + + - `group-id` - The ID of the security group. + + - `security-group-rule-id` - The ID of the security group rule. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + """ + security_group_rule_ids: list[str] | None = ... + """The IDs of the security group rules.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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. This value can be between 5 and 1000. If this parameter is not + specified, then all items are returned. For more information, see + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeSecurityGroupRulesOutput(_SerdeShape): + """Dataclass for DescribeSecurityGroupRulesOutput structure.""" + + security_group_rules: list[SecurityGroupRule] | None = ... + """Information about security group rules.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSecurityGroupsInput(_SerdeShape): + """Dataclass for DescribeSecurityGroupsInput structure.""" + + group_ids: list[str] | None = ... + """ + The IDs of the security groups. Required for security groups in a + nondefault VPC. + + Default: Describes all of your security groups. + """ + group_names: list[str] | None = ... + """ + [Default VPC] The names of the security groups. You can specify either + the security group name or the security group ID. + + Default: Describes all of your security groups. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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. This value can be between 5 and 1000. If this parameter is not + specified, then all items are returned. For more information, see + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. If using multiple filters for rules, the results include + security groups for which any combination of rules - not necessarily a + single rule - match all filters. + + - `description` - The description of the security group. + + - `egress.ip-permission.cidr` - An IPv4 CIDR block for an outbound + security group rule. + + - `egress.ip-permission.from-port` - For an outbound rule, the start of + port range for the TCP and UDP protocols, or an ICMP type number. + + - `egress.ip-permission.group-id` - The ID of a security group that has + been referenced in an outbound security group rule. + + - `egress.ip-permission.group-name` - The name of a security group that + is referenced in an outbound security group rule. + + - `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an outbound + security group rule. + + - `egress.ip-permission.prefix-list-id` - The ID of a prefix list to + which a security group rule allows outbound access. + + - `egress.ip-permission.protocol` - The IP protocol for an outbound + security group rule (`tcp` | `udp` | `icmp`, a protocol number, or + -1 for all protocols). + + - `egress.ip-permission.to-port` - For an outbound rule, the end of port + range for the TCP and UDP protocols, or an ICMP code. + + - `egress.ip-permission.user-id` - The ID of an Amazon Web Services + account that has been referenced in an outbound security group rule. + + - `group-id` - The ID of the security group. + + - `group-name` - The name of the security group. + + - `ip-permission.cidr` - An IPv4 CIDR block for an inbound security + group rule. + + - `ip-permission.from-port` - For an inbound rule, the start of port + range for the TCP and UDP protocols, or an ICMP type number. + + - `ip-permission.group-id` - The ID of a security group that has been + referenced in an inbound security group rule. + + - `ip-permission.group-name` - The name of a security group that is + referenced in an inbound security group rule. + + - `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound security + group rule. + + - `ip-permission.prefix-list-id` - The ID of a prefix list from which a + security group rule allows inbound access. + + - `ip-permission.protocol` - The IP protocol for an inbound security + group rule (`tcp` | `udp` | `icmp`, a protocol number, or -1 for all + protocols). + + - `ip-permission.to-port` - For an inbound rule, the end of port range + for the TCP and UDP protocols, or an ICMP code. + + - `ip-permission.user-id` - The ID of an Amazon Web Services account + that has been referenced in an inbound security group rule. + + - `owner-id` - The Amazon Web Services account ID of the owner of the + security group. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC specified when the security group was + created. + """ + +@dataclass(kw_only=True) +class DescribeSecurityGroupsOutput(_SerdeShape): + """Dataclass for DescribeSecurityGroupsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + security_groups: list[SecurityGroup] | None = ... + """Information about the security groups.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSecurityGroupVpcAssociationsInput(_SerdeShape): + """Dataclass for DescribeSecurityGroupVpcAssociationsInput structure.""" + + filters: list[Filter] | None = ... + """ + Security group VPC association filters. + + - `group-id`: The security group ID. + + - `group-owner-id`: The group owner ID. + + - `state`: The state of the association. + + - `vpc-id`: The ID of the associated VPC. + + - `vpc-owner-id`: The account ID of the VPC owner. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeSecurityGroupVpcAssociationsOutput(_SerdeShape): + """Dataclass for DescribeSecurityGroupVpcAssociationsOutput structure.""" + + security_group_vpc_associations: list[SecurityGroupVpcAssociation] | None = ... + """The security group VPC associations.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeServiceLinkVirtualInterfacesInput(_SerdeShape): + """Dataclass for DescribeServiceLinkVirtualInterfacesInput structure.""" + + service_link_virtual_interface_ids: list[str] | None = ... + """The IDs of the service link virtual interfaces.""" + filters: list[Filter] | None = ... + """ + The filters to use for narrowing down the request. The following filters + are supported: + + - `outpost-lag-id` - The ID of the Outpost LAG. + + - `outpost-arn` - The Outpost ARN. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + service link virtual interface. + + - `state` - The state of the Outpost LAG. + + - `vlan` - The ID of the address pool. + + - `service-link-virtual-interface-id` - The ID of the service link + virtual interface. + + - `local-gateway-virtual-interface-id` - The ID of the local gateway + virtual interface. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeServiceLinkVirtualInterfacesOutput(_SerdeShape): + """Dataclass for DescribeServiceLinkVirtualInterfacesOutput structure.""" + + service_link_virtual_interfaces: list[ServiceLinkVirtualInterface] | None = ... + """Describes the service link virtual interfaces.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSnapshotAttributeInput(_SerdeShape): + """Dataclass for DescribeSnapshotAttributeInput structure.""" + + attribute: str | None = ... + """The snapshot attribute you would like to view.""" + snapshot_id: str | None = ... + """The ID of the EBS snapshot.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeSnapshotAttributeOutput(_SerdeShape): + """Dataclass for DescribeSnapshotAttributeOutput structure.""" + + product_codes: list[ProductCode] | None = ... + """The product codes.""" + snapshot_id: str | None = ... + """The ID of the EBS snapshot.""" + create_volume_permissions: list[CreateVolumePermission] | None = ... + """ + The users and groups that have the permissions for creating volumes from + the snapshot. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSnapshotsInput(_SerdeShape): + """Dataclass for DescribeSnapshotsInput structure.""" + + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + owner_ids: list[str] | None = ... + """ + Scopes the results to snapshots with the specified owners. You can + specify a combination of Amazon Web Services account IDs, `self`, and + `amazon`. + """ + restorable_by_user_ids: list[str] | None = ... + """ + The IDs of the Amazon Web Services accounts that can create volumes from + the snapshot. + """ + snapshot_ids: list[str] | None = ... + """ + The snapshot IDs. + + Default: Describes the snapshots for which you have create volume + permissions. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `description` - A description of the snapshot. + + - `encrypted` - Indicates whether the snapshot is encrypted (`true` | + `false`) + + - `owner-alias` - The owner alias, from an Amazon-maintained list + (`amazon`). This is not the user-configured Amazon Web Services + account alias set using the IAM console. We recommend that you use the + related parameter instead of this filter. + + - `owner-id` - The Amazon Web Services account ID of the owner. We + recommend that you use the related parameter instead of this filter. + + - `progress` - The progress of the snapshot, as a percentage (for + example, 80%). + + - `snapshot-id` - The snapshot ID. + + - `start-time` - The time stamp when the snapshot was initiated. + + - `status` - The status of the snapshot (`pending` | `completed` | + `error`). + + - `storage-tier` - The storage tier of the snapshot (`archive` | + `standard`). + + - `transfer-type` - The type of operation used to create the snapshot + (`time-based` | `standard`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `volume-id` - The ID of the volume the snapshot is for. + + - `volume-size` - The size of the volume, in GiB. + """ + +@dataclass(kw_only=True) +class DescribeSnapshotsOutput(_SerdeShape): + """Dataclass for DescribeSnapshotsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + snapshots: list[Snapshot] | None = ... + """Information about the snapshots.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSnapshotTierStatusInput(_SerdeShape): + """Dataclass for DescribeSnapshotTierStatusInput structure.""" + + filters: list[Filter] | None = ... + """ + The filters. + + - `snapshot-id` - The snapshot ID. + + - `volume-id` - The ID of the volume the snapshot is for. + + - `last-tiering-operation` - The state of the last archive or restore + action. (`archival-in-progress` | `archival-completed` | + `archival-failed` | `permanent-restore-in-progress` | + `permanent-restore-completed` | `permanent-restore-failed` | + `temporary-restore-in-progress` | `temporary-restore-completed` | + `temporary-restore-failed`) + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeSnapshotTierStatusOutput(_SerdeShape): + """Dataclass for DescribeSnapshotTierStatusOutput structure.""" + + snapshot_tier_statuses: list[SnapshotTierStatus] | None = ... + """Information about the snapshot's storage tier.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSpotDatafeedSubscriptionInput(_SerdeShape): + """Contains the parameters for DescribeSpotDatafeedSubscription.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeSpotDatafeedSubscriptionOutput(_SerdeShape): + """Contains the output of DescribeSpotDatafeedSubscription.""" + + spot_datafeed_subscription: SpotDatafeedSubscription | None = ... + """The Spot Instance data feed subscription.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSpotFleetInstancesInput(_SerdeShape): + """Contains the parameters for DescribeSpotFleetInstances.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + spot_fleet_request_id: str | None = ... + """The ID of the Spot Fleet request.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeSpotFleetInstancesOutput(_SerdeShape): + """Contains the output of DescribeSpotFleetInstances.""" + + active_instances: list[ActiveInstance] | None = ... + """ + The running instances. This list is refreshed periodically and might be + out of date. + """ + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + spot_fleet_request_id: str | None = ... + """The ID of the Spot Fleet request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSpotFleetRequestHistoryInput(_SerdeShape): + """Contains the parameters for DescribeSpotFleetRequestHistory.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + spot_fleet_request_id: str | None = ... + """The ID of the Spot Fleet request.""" + event_type: str | None = ... + """The type of events to describe. By default, all events are described.""" + start_time: datetime | None = ... + """ + The starting date and time for the events, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeSpotFleetRequestHistoryOutput(_SerdeShape): + """Contains the output of DescribeSpotFleetRequestHistory.""" + + history_records: list[HistoryRecord] | None = ... + """Information about the events in the history of the Spot Fleet request.""" + last_evaluated_time: datetime | None = ... + """ + The last date and time for the events, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). All records up to this time were + retrieved. + + If `nextToken` indicates that there are more items, this value is not + present. + """ + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + spot_fleet_request_id: str | None = ... + """The ID of the Spot Fleet request.""" + start_time: datetime | None = ... + """ + The starting date and time for the events, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSpotFleetRequestsInput(_SerdeShape): + """Contains the parameters for DescribeSpotFleetRequests.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + spot_fleet_request_ids: list[str] | None = ... + """The IDs of the Spot Fleet requests.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeSpotFleetRequestsOutput(_SerdeShape): + """Contains the output of DescribeSpotFleetRequests.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + spot_fleet_request_configs: list[SpotFleetRequestConfig] | None = ... + """Information about the configuration of your Spot Fleet.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSpotInstanceRequestsInput(_SerdeShape): + """Contains the parameters for DescribeSpotInstanceRequests.""" + + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + spot_instance_request_ids: list[str] | None = ... + """The IDs of the Spot Instance requests.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone-group` - The Availability Zone group. + + - `create-time` - The time stamp when the Spot Instance request was + created. + + - `fault-code` - The fault code related to the request. + + - `fault-message` - The fault message related to the request. + + - `instance-id` - The ID of the instance that fulfilled the request. + + - `launch-group` - The Spot Instance launch group. + + - `launch.block-device-mapping.delete-on-termination` - Indicates + whether the EBS volume is deleted on instance termination. + + - `launch.block-device-mapping.device-name` - The device name for the + volume in the block device mapping (for example, `/dev/sdh` or + `xvdh`). + + - `launch.block-device-mapping.snapshot-id` - The ID of the snapshot for + the EBS volume. + + - `launch.block-device-mapping.volume-size` - The size of the EBS + volume, in GiB. + + - `launch.block-device-mapping.volume-type` - The type of EBS volume: + `gp2` or `gp3` for General Purpose SSD, `io1` or `io2` for Provisioned + IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for Cold HDD, or + `standard` for Magnetic. + + - `launch.group-id` - The ID of the security group for the instance. + + - `launch.group-name` - The name of the security group for the instance. + + - `launch.image-id` - The ID of the AMI. + + - `launch.instance-type` - The type of instance (for example, + `m3.medium`). + + - `launch.kernel-id` - The kernel ID. + + - `launch.key-name` - The name of the key pair the instance launched + with. + + - `launch.monitoring-enabled` - Whether detailed monitoring is enabled + for the Spot Instance. + + - `launch.ramdisk-id` - The RAM disk ID. + + - `launched-availability-zone` - The Availability Zone in which the + request is launched. + + - `launched-availability-zone-id` - The ID of the Availability Zone in + which the request is launched. + + - `network-interface.addresses.primary` - Indicates whether the IP + address is the primary private IP address. + + - `network-interface.delete-on-termination` - Indicates whether the + network interface is deleted when the instance is terminated. + + - `network-interface.description` - A description of the network + interface. + + - `network-interface.device-index` - The index of the device for the + network interface attachment on the instance. + + - `network-interface.group-id` - The ID of the security group associated + with the network interface. + + - `network-interface.network-interface-id` - The ID of the network + interface. + + - `network-interface.private-ip-address` - The primary private IP + address of the network interface. + + - `network-interface.subnet-id` - The ID of the subnet for the instance. + + - `product-description` - The product description associated with the + instance (`Linux/UNIX` | `Windows`). + + - `spot-instance-request-id` - The Spot Instance request ID. + + - `spot-price` - The maximum hourly price for any Spot Instance launched + to fulfill the request. + + - `state` - The state of the Spot Instance request (`open` | `active` + | `closed` | `cancelled` | `failed`). Spot request status + information can help you track your Amazon EC2 Spot Instance requests. + For more information, see [Spot request + status](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html) + in the *Amazon EC2 User Guide*. + + - `status-code` - The short code describing the most recent evaluation + of your Spot Instance request. + + - `status-message` - The message explaining the status of the Spot + Instance request. + + - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `type` - The type of Spot Instance request (`one-time` | + `persistent`). + + - `valid-from` - The start date of the request. + + - `valid-until` - The end date of the request. + """ + +@dataclass(kw_only=True) +class DescribeSpotInstanceRequestsOutput(_SerdeShape): + """Contains the output of DescribeSpotInstanceRequests.""" + + spot_instance_requests: list[SpotInstanceRequest] | None = ... + """The Spot Instance requests.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSpotPriceHistoryInput(_SerdeShape): + """Contains the parameters for DescribeSpotPriceHistory.""" + + availability_zone_id: str | None = ... + """ + Filters the results by the specified ID of the Availability Zone. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + start_time: datetime | None = ... + """ + The date and time, up to the past 90 days, from which to start + retrieving the price history data, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + end_time: datetime | None = ... + """ + The date and time, up to the current date, from which to stop retrieving + the price history data, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + instance_types: list[str] | None = ... + """Filters the results by the specified instance types.""" + product_descriptions: list[str] | None = ... + """Filters the results by the specified basic product descriptions.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The Availability Zone for which prices should be + returned. + + - `availability-zone-id` - The ID of the Availability Zone for which + prices should be returned. + + - `instance-type` - The type of instance (for example, `m3.medium`). + + - `product-description` - The product description for the Spot price + (`Linux/UNIX` | `Red Hat Enterprise Linux` | `SUSE Linux` | + `Windows` | `Linux/UNIX (Amazon VPC)` | + `Red Hat Enterprise Linux (Amazon VPC)` | `SUSE Linux (Amazon VPC)` + | `Windows (Amazon VPC)`). + + - `spot-price` - The Spot price. The value must match exactly (or use + wildcards; greater than or less than comparison is not supported). + + - `timestamp` - The time stamp of the Spot price history, in UTC format + (for example, *ddd MMM dd HH*:*mm*:*ss* UTC *YYYY*). You can use + wildcards (`*` and `?`). Greater than or less than comparison is not + supported. + """ + availability_zone: str | None = ... + """ + Filters the results by the specified Availability Zone. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + +@dataclass(kw_only=True) +class DescribeSpotPriceHistoryOutput(_SerdeShape): + """Contains the output of DescribeSpotPriceHistory.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is an empty string (`""`) or `null` when there are no more + items to return. + """ + spot_price_history: list[SpotPrice] | None = ... + """The historical Spot prices.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStaleSecurityGroupsInput(_SerdeShape): + """Dataclass for DescribeStaleSecurityGroupsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class DescribeStaleSecurityGroupsOutput(_SerdeShape): + """Dataclass for DescribeStaleSecurityGroupsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + stale_security_group_set: list[StaleSecurityGroup] | None = ... + """Information about the stale security groups.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeStoreImageTasksInput(_SerdeShape): + """Dataclass for DescribeStoreImageTasksInput structure.""" + + image_ids: list[str] | None = ... + """ + The AMI IDs for which to show progress. Up to 20 AMI IDs can be included + in a request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `task-state` - Returns tasks in a certain state (`InProgress` | + `Completed` | `Failed`) + + - `bucket` - Returns task information for tasks that targeted a specific + bucket. For the filter value, specify the bucket name. + + Note: + When you specify the `ImageIds` parameter, any filters that you specify + are ignored. To use the filters, you must remove the `ImageIds` + parameter. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + + You cannot specify this parameter and the `ImageIds` parameter in the + same call. + """ + +@dataclass(kw_only=True) +class DescribeStoreImageTasksOutput(_SerdeShape): + """Dataclass for DescribeStoreImageTasksOutput structure.""" + + store_image_task_results: list[StoreImageTaskResult] | None = ... + """The information about the AMI store tasks.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSubnetsInput(_SerdeShape): + """Dataclass for DescribeSubnetsInput structure.""" + + filters: list[Filter] | None = ... + """ + The filters. + + - `availability-zone` - The Availability Zone for the subnet. You can + also use `availabilityZone` as the filter name. + + - `availability-zone-id` - The ID of the Availability Zone for the + subnet. You can also use `availabilityZoneId` as the filter name. + + - `available-ip-address-count` - The number of IPv4 addresses in the + subnet that are available. + + - `cidr-block` - The IPv4 CIDR block of the subnet. The CIDR block you + specify must exactly match the subnet's CIDR block for information to + be returned for the subnet. You can also use `cidr` or `cidrBlock` as + the filter names. + + - `customer-owned-ipv4-pool` - The customer-owned IPv4 address pool + associated with the subnet. + + - `default-for-az` - Indicates whether this is the default subnet for + the Availability Zone (`true` | `false`). You can also use + `defaultForAz` as the filter name. + + - `enable-dns64` - Indicates whether DNS queries made to the + Amazon-provided DNS Resolver in this subnet should return synthetic + IPv6 addresses for IPv4-only destinations. + + - `enable-lni-at-device-index` - Indicates the device position for local + network interfaces in this subnet. For example, `1` indicates local + network interfaces in this subnet are the secondary network interface + (eth1). + + - `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block + associated with the subnet. + + - `ipv6-cidr-block-association.association-id` - An association ID for + an IPv6 CIDR block associated with the subnet. + + - `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR block + associated with the subnet. + + - `ipv6-native` - Indicates whether this is an IPv6 only subnet (`true` + | `false`). + + - `map-customer-owned-ip-on-launch` - Indicates whether a network + interface created in this subnet (including a network interface + created by RunInstances) receives a customer-owned IPv4 address. + + - `map-public-ip-on-launch` - Indicates whether instances launched in + this subnet receive a public IPv4 address. + + - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + subnet. + + - `private-dns-name-options-on-launch.hostname-type` - The type of + hostname to assign to instances in the subnet at launch. For IPv4-only + and dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be + based on the instance IPv4 address (ip-name) or the instance ID + (resource-name). For IPv6 only subnets, an instance DNS name must be + based on the instance ID (resource-name). + + - `private-dns-name-options-on-launch.enable-resource-name-dns-a-record` - + Indicates whether to respond to DNS queries for instance hostnames + with DNS A records. + + - `private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record` - + Indicates whether to respond to DNS queries for instance hostnames + with DNS AAAA records. + + - `state` - The state of the subnet (`pending` | `available`). + + - `subnet-arn` - The Amazon Resource Name (ARN) of the subnet. + + - `subnet-id` - The ID of the subnet. + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC for the subnet. + """ + subnet_ids: list[str] | None = ... + """ + The IDs of the subnets. + + Default: Describes all your subnets. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeSubnetsOutput(_SerdeShape): + """Dataclass for DescribeSubnetsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + subnets: list[Subnet] | None = ... + """Information about the subnets.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTagsInput(_SerdeShape): + """Dataclass for DescribeTagsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `key` - The tag key. + + - `resource-id` - The ID of the resource. + + - `resource-type` - The resource type. For a list of possible values, + see + [TagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TagSpecification.html). + + - `tag`:``{=html} - The key/value combination of the tag. For + example, specify \"tag:Owner\" for the filter name and \"TeamA\" for + the filter value to find resources with the tag \"Owner=TeamA\". + + - `value` - The tag value. + """ + max_results: int | None = ... + """ + The maximum number of items to return for this request. This value can + be between 5 and 1000. To get the next page of items, make another + request with the token returned in the output. For more information, see + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + +@dataclass(kw_only=True) +class DescribeTagsOutput(_SerdeShape): + """Dataclass for DescribeTagsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + tags: list[TagDescription] | None = ... + """The tags.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTrafficMirrorFilterRulesInput(_SerdeShape): + """Dataclass for DescribeTrafficMirrorFilterRulesInput structure.""" + + traffic_mirror_filter_rule_ids: list[str] | None = ... + """Traffic filter rule IDs.""" + traffic_mirror_filter_id: str | None = ... + """Traffic filter ID.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + Traffic mirror filters. + + - `traffic-mirror-filter-rule-id`: The ID of the Traffic Mirror rule. + + - `traffic-mirror-filter-id`: The ID of the filter that this rule is + associated with. + + - `rule-number`: The number of the Traffic Mirror rule. + + - `rule-action`: The action taken on the filtered traffic. Possible + actions are `accept` and `reject`. + + - `traffic-direction`: The traffic direction. Possible directions are + `ingress` and `egress`. + + - `protocol`: The protocol, for example UDP, assigned to the Traffic + Mirror rule. + + - `source-cidr-block`: The source CIDR block assigned to the Traffic + Mirror rule. + + - `destination-cidr-block`: The destination CIDR block assigned to the + Traffic Mirror rule. + + - `description`: The description of the Traffic Mirror rule. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeTrafficMirrorFilterRulesOutput(_SerdeShape): + """Dataclass for DescribeTrafficMirrorFilterRulesOutput structure.""" + + traffic_mirror_filter_rules: list[TrafficMirrorFilterRule] | None = ... + """Traffic mirror rules.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. The value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTrafficMirrorFiltersInput(_SerdeShape): + """Dataclass for DescribeTrafficMirrorFiltersInput structure.""" + + traffic_mirror_filter_ids: list[str] | None = ... + """The ID of the Traffic Mirror filter.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `description`: The Traffic Mirror filter description. + + - `traffic-mirror-filter-id`: The ID of the Traffic Mirror filter. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeTrafficMirrorFiltersOutput(_SerdeShape): + """Dataclass for DescribeTrafficMirrorFiltersOutput structure.""" + + traffic_mirror_filters: list[TrafficMirrorFilter] | None = ... + """Information about one or more Traffic Mirror filters.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. The value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTrafficMirrorSessionsInput(_SerdeShape): + """Dataclass for DescribeTrafficMirrorSessionsInput structure.""" + + traffic_mirror_session_ids: list[str] | None = ... + """The ID of the Traffic Mirror session.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `description`: The Traffic Mirror session description. + + - `network-interface-id`: The ID of the Traffic Mirror session network + interface. + + - `owner-id`: The ID of the account that owns the Traffic Mirror + session. + + - `packet-length`: The assigned number of packets to mirror. + + - `session-number`: The assigned session number. + + - `traffic-mirror-filter-id`: The ID of the Traffic Mirror filter. + + - `traffic-mirror-session-id`: The ID of the Traffic Mirror session. + + - `traffic-mirror-target-id`: The ID of the Traffic Mirror target. + + - `virtual-network-id`: The virtual network ID of the Traffic Mirror + session. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeTrafficMirrorSessionsOutput(_SerdeShape): + """Dataclass for DescribeTrafficMirrorSessionsOutput structure.""" + + traffic_mirror_sessions: list[TrafficMirrorSession] | None = ... + """ + Describes one or more Traffic Mirror sessions. By default, all Traffic + Mirror sessions are described. Alternatively, you can filter the + results. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. The value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTrafficMirrorTargetsInput(_SerdeShape): + """Dataclass for DescribeTrafficMirrorTargetsInput structure.""" + + traffic_mirror_target_ids: list[str] | None = ... + """The ID of the Traffic Mirror targets.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `description`: The Traffic Mirror target description. + + - `network-interface-id`: The ID of the Traffic Mirror session network + interface. + + - `network-load-balancer-arn`: The Amazon Resource Name (ARN) of the + Network Load Balancer that is associated with the session. + + - `owner-id`: The ID of the account that owns the Traffic Mirror + session. + + - `traffic-mirror-target-id`: The ID of the Traffic Mirror target. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class DescribeTrafficMirrorTargetsOutput(_SerdeShape): + """Dataclass for DescribeTrafficMirrorTargetsOutput structure.""" + + traffic_mirror_targets: list[TrafficMirrorTarget] | None = ... + """Information about one or more Traffic Mirror targets.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. The value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayAttachmentsInput(_SerdeShape): + """Dataclass for DescribeTransitGatewayAttachmentsInput structure.""" + + transit_gateway_attachment_ids: list[str] | None = ... + """The IDs of the attachments.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `association.state` - The state of the association (`associating` | + `associated` | `disassociating`). + + - `association.transit-gateway-route-table-id` - The ID of the route + table for the transit gateway. + + - `resource-id` - The ID of the resource. + + - `resource-owner-id` - The ID of the Amazon Web Services account that + owns the resource. + + - `resource-type` - The resource type. Valid values are `vpc` | `vpn` + | `direct-connect-gateway` | `peering` | `connect`. + + - `state` - The state of the attachment. Valid values are `available` | + `deleted` | `deleting` | `failed` | `failing` | + `initiatingRequest` | `modifying` | `pendingAcceptance` | `pending` + | `rollingBack` | `rejected` | `rejecting`. + + - `transit-gateway-attachment-id` - The ID of the attachment. + + - `transit-gateway-id` - The ID of the transit gateway. + + - `transit-gateway-owner-id` - The ID of the Amazon Web Services account + that owns the transit gateway. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayAttachmentsOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewayAttachmentsOutput structure.""" + + transit_gateway_attachments: list[TransitGatewayAttachment] | None = ... + """Information about the attachments.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayConnectPeersInput(_SerdeShape): + """Dataclass for DescribeTransitGatewayConnectPeersInput structure.""" + + transit_gateway_connect_peer_ids: list[str] | None = ... + """The IDs of the Connect peers.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `state` - The state of the Connect peer (`pending` | `available` | + `deleting` | `deleted`). + + - `transit-gateway-attachment-id` - The ID of the attachment. + + - `transit-gateway-connect-peer-id` - The ID of the Connect peer. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayConnectPeersOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewayConnectPeersOutput structure.""" + + transit_gateway_connect_peers: list[TransitGatewayConnectPeer] | None = ... + """Information about the Connect peers.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayConnectsInput(_SerdeShape): + """Dataclass for DescribeTransitGatewayConnectsInput structure.""" + + transit_gateway_attachment_ids: list[str] | None = ... + """The IDs of the attachments.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `options.protocol` - The tunnel protocol (`gre`). + + - `state` - The state of the attachment (`initiating` | + `initiatingRequest` | `pendingAcceptance` | `rollingBack` | + `pending` | `available` | `modifying` | `deleting` | `deleted` | + `failed` | `rejected` | `rejecting` | `failing`). + + - `transit-gateway-attachment-id` - The ID of the Connect attachment. + + - `transit-gateway-id` - The ID of the transit gateway. + + - `transport-transit-gateway-attachment-id` - The ID of the transit + gateway attachment from which the Connect attachment was created. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayConnectsOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewayConnectsOutput structure.""" + + transit_gateway_connects: list[TransitGatewayConnect] | None = ... + """Information about the Connect attachments.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayMeteringPoliciesInput(_SerdeShape): + """Dataclass for DescribeTransitGatewayMeteringPoliciesInput structure.""" + + transit_gateway_metering_policy_ids: list[str] | None = ... + """The IDs of the transit gateway metering policies to describe.""" + filters: list[Filter] | None = ... + """ + One or more filters to apply when describing transit gateway metering + policies. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayMeteringPoliciesOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewayMeteringPoliciesOutput structure.""" + + transit_gateway_metering_policies: list[TransitGatewayMeteringPolicy] | None = ... + """Information about the transit gateway metering policies.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayMulticastDomainsInput(_SerdeShape): + """Dataclass for DescribeTransitGatewayMulticastDomainsInput structure.""" + + transit_gateway_multicast_domain_ids: list[str] | None = ... + """The ID of the transit gateway multicast domain.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `state` - The state of the transit gateway multicast domain. Valid + values are `pending` | `available` | `deleting` | `deleted`. + + - `transit-gateway-id` - The ID of the transit gateway. + + - `transit-gateway-multicast-domain-id` - The ID of the transit gateway + multicast domain. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayMulticastDomainsOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewayMulticastDomainsOutput structure.""" + + transit_gateway_multicast_domains: list[TransitGatewayMulticastDomain] | None = ... + """Information about the transit gateway multicast domains.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayPeeringAttachmentsInput(_SerdeShape): + """Dataclass for DescribeTransitGatewayPeeringAttachmentsInput structure.""" + + transit_gateway_attachment_ids: list[str] | None = ... + """One or more IDs of the transit gateway peering attachments.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `transit-gateway-attachment-id` - The ID of the transit gateway + attachment. + + - `local-owner-id` - The ID of your Amazon Web Services account. + + - `remote-owner-id` - The ID of the Amazon Web Services account in the + remote Region that owns the transit gateway. + + - `state` - The state of the peering attachment. Valid values are + `available` | `deleted` | `deleting` | `failed` | `failing` | + `initiatingRequest` | `modifying` | `pendingAcceptance` | `pending` + | `rollingBack` | `rejected` | `rejecting`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - 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. + + - `transit-gateway-id` - The ID of the transit gateway. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayPeeringAttachmentsOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewayPeeringAttachmentsOutput structure.""" + + transit_gateway_peering_attachments: ( + list[TransitGatewayPeeringAttachment] | None + ) = ... + """The transit gateway peering attachments.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayPolicyTablesInput(_SerdeShape): + """Dataclass for DescribeTransitGatewayPolicyTablesInput structure.""" + + transit_gateway_policy_table_ids: list[str] | None = ... + """The IDs of the transit gateway policy tables.""" + filters: list[Filter] | None = ... + """The filters associated with the transit gateway policy table.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayPolicyTablesOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewayPolicyTablesOutput structure.""" + + transit_gateway_policy_tables: list[TransitGatewayPolicyTable] | None = ... + """Describes the transit gateway policy tables.""" + next_token: str | None = ... + """The token for the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayRouteTableAnnouncementsInput(_SerdeShape): + """ + Dataclass for DescribeTransitGatewayRouteTableAnnouncementsInput + structure. + """ + + transit_gateway_route_table_announcement_ids: list[str] | None = ... + """The IDs of the transit gateway route tables that are being advertised.""" + filters: list[Filter] | None = ... + """The filters associated with the transit gateway policy table.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayRouteTableAnnouncementsOutput(_SerdeShape): + """ + Dataclass for DescribeTransitGatewayRouteTableAnnouncementsOutput + structure. + """ + + transit_gateway_route_table_announcements: ( + list[TransitGatewayRouteTableAnnouncement] | None + ) = ... + """Describes the transit gateway route table announcement.""" + next_token: str | None = ... + """The token for the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayRouteTablesInput(_SerdeShape): + """Dataclass for DescribeTransitGatewayRouteTablesInput structure.""" + + transit_gateway_route_table_ids: list[str] | None = ... + """The IDs of the transit gateway route tables.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `default-association-route-table` - Indicates whether this is the + default association route table for the transit gateway (`true` | + `false`). + + - `default-propagation-route-table` - Indicates whether this is the + default propagation route table for the transit gateway (`true` | + `false`). + + - `state` - The state of the route table (`available` | `deleting` | + `deleted` | `pending`). + + - `transit-gateway-id` - The ID of the transit gateway. + + - `transit-gateway-route-table-id` - The ID of the transit gateway route + table. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayRouteTablesOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewayRouteTablesOutput structure.""" + + transit_gateway_route_tables: list[TransitGatewayRouteTable] | None = ... + """Information about the transit gateway route tables.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewaysInput(_SerdeShape): + """Dataclass for DescribeTransitGatewaysInput structure.""" + + transit_gateway_ids: list[str] | None = ... + """The IDs of the transit gateways.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `options.propagation-default-route-table-id` - The ID of the default + propagation route table. + + - `options.amazon-side-asn` - The private ASN for the Amazon side of a + BGP session. + + - `options.association-default-route-table-id` - The ID of the default + association route table. + + - `options.auto-accept-shared-attachments` - Indicates whether there is + automatic acceptance of attachment requests (`enable` | `disable`). + + - `options.default-route-table-association` - Indicates whether resource + attachments are automatically associated with the default association + route table (`enable` | `disable`). + + - `options.default-route-table-propagation` - Indicates whether resource + attachments automatically propagate routes to the default propagation + route table (`enable` | `disable`). + + - `options.dns-support` - Indicates whether DNS support is enabled + (`enable` | `disable`). + + - `options.vpn-ecmp-support` - Indicates whether Equal Cost Multipath + Protocol support is enabled (`enable` | `disable`). + + - `owner-id` - The ID of the Amazon Web Services account that owns the + transit gateway. + + - `state` - The state of the transit gateway (`available` | `deleted` + | `deleting` | `modifying` | `pending`). + + - `transit-gateway-id` - The ID of the transit gateway. + + - `tag-key `- The key/value combination of a tag assigned to the + resource. Use the tag key in the filter name and the tag value as the + filter value. For example, to find all resources that have a tag with + the key `Owner` and the value `TeamA`, specify `tag:Owner` for the + filter name and `TeamA` for the filter value. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewaysOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewaysOutput structure.""" + + transit_gateways: list[TransitGateway] | None = ... + """Information about the transit gateways.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayVpcAttachmentsInput(_SerdeShape): + """Dataclass for DescribeTransitGatewayVpcAttachmentsInput structure.""" + + transit_gateway_attachment_ids: list[str] | None = ... + """The IDs of the attachments.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `state` - The state of the attachment. Valid values are `available` | + `deleted` | `deleting` | `failed` | `failing` | + `initiatingRequest` | `modifying` | `pendingAcceptance` | `pending` + | `rollingBack` | `rejected` | `rejecting`. + + - `transit-gateway-attachment-id` - The ID of the attachment. + + - `transit-gateway-id` - The ID of the transit gateway. + + - `vpc-id` - The ID of the VPC. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeTransitGatewayVpcAttachmentsOutput(_SerdeShape): + """Dataclass for DescribeTransitGatewayVpcAttachmentsOutput structure.""" + + transit_gateway_vpc_attachments: list[TransitGatewayVpcAttachment] | None = ... + """Information about the VPC attachments.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTrunkInterfaceAssociationsInput(_SerdeShape): + """Dataclass for DescribeTrunkInterfaceAssociationsInput structure.""" + + association_ids: list[str] | None = ... + """The IDs of the associations.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters. + + - `gre-key` - The ID of a trunk interface association. + + - `interface-protocol` - The interface protocol. Valid values are `VLAN` + and `GRE`. + """ + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + +@dataclass(kw_only=True) +class DescribeTrunkInterfaceAssociationsOutput(_SerdeShape): + """Dataclass for DescribeTrunkInterfaceAssociationsOutput structure.""" + + interface_associations: list[TrunkInterfaceAssociation] | None = ... + """Information about the trunk associations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessEndpointsInput(_SerdeShape): + """Dataclass for DescribeVerifiedAccessEndpointsInput structure.""" + + verified_access_endpoint_ids: list[str] | None = ... + """The ID of the Verified Access endpoint.""" + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + verified_access_group_id: str | None = ... + """The ID of the Verified Access group.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """One or more filters. Filter names and values are case-sensitive.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessEndpointsOutput(_SerdeShape): + """Dataclass for DescribeVerifiedAccessEndpointsOutput structure.""" + + verified_access_endpoints: list[VerifiedAccessEndpoint] | None = ... + """Details about the Verified Access endpoints.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessGroupsInput(_SerdeShape): + """Dataclass for DescribeVerifiedAccessGroupsInput structure.""" + + verified_access_group_ids: list[str] | None = ... + """The ID of the Verified Access groups.""" + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """One or more filters. Filter names and values are case-sensitive.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessGroupsOutput(_SerdeShape): + """Dataclass for DescribeVerifiedAccessGroupsOutput structure.""" + + verified_access_groups: list[VerifiedAccessGroup] | None = ... + """Details about the Verified Access groups.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessInstanceLoggingConfigurationsInput(_SerdeShape): + """ + Dataclass for DescribeVerifiedAccessInstanceLoggingConfigurationsInput + structure. + """ + + verified_access_instance_ids: list[str] | None = ... + """The IDs of the Verified Access instances.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """One or more filters. Filter names and values are case-sensitive.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessInstanceLoggingConfigurationsOutput(_SerdeShape): + """ + Dataclass for DescribeVerifiedAccessInstanceLoggingConfigurationsOutput + structure. + """ + + logging_configurations: ( + list[VerifiedAccessInstanceLoggingConfiguration] | None + ) = ... + """The logging configuration for the Verified Access instances.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessInstancesInput(_SerdeShape): + """Dataclass for DescribeVerifiedAccessInstancesInput structure.""" + + verified_access_instance_ids: list[str] | None = ... + """The IDs of the Verified Access instances.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """One or more filters. Filter names and values are case-sensitive.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessInstancesOutput(_SerdeShape): + """Dataclass for DescribeVerifiedAccessInstancesOutput structure.""" + + verified_access_instances: list[VerifiedAccessInstance] | None = ... + """Details about the Verified Access instances.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessTrustProvidersInput(_SerdeShape): + """Dataclass for DescribeVerifiedAccessTrustProvidersInput structure.""" + + verified_access_trust_provider_ids: list[str] | None = ... + """The IDs of the Verified Access trust providers.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """One or more filters. Filter names and values are case-sensitive.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVerifiedAccessTrustProvidersOutput(_SerdeShape): + """Dataclass for DescribeVerifiedAccessTrustProvidersOutput structure.""" + + verified_access_trust_providers: list[VerifiedAccessTrustProvider] | None = ... + """Details about the Verified Access trust providers.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVolumeAttributeInput(_SerdeShape): + """Dataclass for DescribeVolumeAttributeInput structure.""" + + attribute: str | None = ... + """The attribute of the volume. This parameter is required.""" + volume_id: str | None = ... + """The ID of the volume.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVolumeAttributeOutput(_SerdeShape): + """Dataclass for DescribeVolumeAttributeOutput structure.""" + + auto_enable_io: AttributeBooleanValue | None = ... + """The state of `autoEnableIO` attribute.""" + product_codes: list[ProductCode] | None = ... + """A list of product codes.""" + volume_id: str | None = ... + """The ID of the volume.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVolumesInput(_SerdeShape): + """Dataclass for DescribeVolumesInput structure.""" + + volume_ids: list[str] | None = ... + """ + The volume IDs. If not specified, then all volumes are included in the + response. + """ + include_managed_resources: bool | None = ... + """ + Indicates whether to include managed resources in the output. If this + parameter is set to `true`, the output includes resources that are + managed by Amazon Web Services services, even if managed resource + visibility is set to hidden. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `attachment.attach-time` - The time stamp when the attachment + initiated. + + - `attachment.delete-on-termination` - Whether the volume is deleted on + instance termination. + + - `attachment.device` - The device name specified in the block device + mapping (for example, `/dev/sda1`). + + - `attachment.instance-id` - The ID of the instance the volume is + attached to. + + - `attachment.status` - The attachment state (`attaching` | `attached` + | `detaching`). + + - `availability-zone` - The Availability Zone in which the volume was + created. + + - `availability-zone-id` - The ID of the Availability Zone in which the + volume was created. + + - `create-time` - The time stamp when the volume was created. + + - `encrypted` - Indicates whether the volume is encrypted (`true` | + `false`) + + - `fast-restored` - Indicates whether the volume was created from a + snapshot that is enabled for fast snapshot restore (`true` | + `false`). + + - `multi-attach-enabled` - Indicates whether the volume is enabled for + Multi-Attach (`true` | `false`) + + - `operator.managed` - A Boolean that indicates whether this is a + managed volume. + + - `operator.principal` - The principal that manages the volume. Only + valid for managed volumes, where `managed` is `true`. + + - `size` - The size of the volume, in GiB. + + - `snapshot-id` - The snapshot from which the volume was created. + + - `status` - The state of the volume (`creating` | `available` | + `in-use` | `deleting` | `deleted` | `error`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `volume-id` - The volume ID. + + - `volume-type` - The Amazon EBS volume type (`gp2` | `gp3` | `io1` | + `io2` | `st1` | `sc1`| `standard`) + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeVolumesModificationsInput(_SerdeShape): + """Dataclass for DescribeVolumesModificationsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + volume_ids: list[str] | None = ... + """The IDs of the volumes.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `modification-state` - The current modification state (modifying | + optimizing | completed | failed). + + - `original-iops` - The original IOPS rate of the volume. + + - `original-size` - The original size of the volume, in GiB. + + - `original-volume-type` - The original volume type of the volume + (standard | io1 | io2 | gp2 | sc1 | st1). + + - `originalMultiAttachEnabled` - Indicates whether Multi-Attach support + was enabled (true | false). + + - `start-time` - The modification start time. + + - `target-iops` - The target IOPS rate of the volume. + + - `target-size` - The target size of the volume, in GiB. + + - `target-volume-type` - The target volume type of the volume (standard + | io1 | io2 | gp2 | sc1 | st1). + + - `targetMultiAttachEnabled` - Indicates whether Multi-Attach support is + to be enabled (true | false). + + - `volume-id` - The ID of the volume. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + The maximum number of results (up to a limit of 500) to be returned in a + paginated request. For more information, see + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + include_managed_resources: bool | None = ... + """ + Indicates whether to include managed resources in the output. If this + parameter is set to `true`, the output includes resources that are + managed by Amazon Web Services services, even if managed resource + visibility is set to hidden. + """ + +@dataclass(kw_only=True) +class DescribeVolumesModificationsOutput(_SerdeShape): + """Dataclass for DescribeVolumesModificationsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + volumes_modifications: list[VolumeModification] | None = ... + """Information about the volume modifications.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVolumesOutput(_SerdeShape): + """Dataclass for DescribeVolumesOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + volumes: list[Volume] | None = ... + """Information about the volumes.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVolumeStatusInput(_SerdeShape): + """Dataclass for DescribeVolumeStatusInput structure.""" + + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + volume_ids: list[str] | None = ... + """ + The IDs of the volumes. + + Default: Describes all your volumes. + """ + include_managed_resources: bool | None = ... + """ + Indicates whether to include managed resources in the output. If this + parameter is set to `true`, the output includes resources that are + managed by Amazon Web Services services, even if managed resource + visibility is set to hidden. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `action.code` - The action code for the event (for example, + `enable-volume-io`). + + - `action.description` - A description of the action. + + - `action.event-id` - The event ID associated with the action. + + - `availability-zone` - The Availability Zone of the instance. + + - `event.description` - A description of the event. + + - `event.event-id` - The event ID. + + - `event.event-type` - The event type (for `io-enabled`: `passed` | + `failed`; for `io-performance`: `io-performance:degraded` | + `io-performance:severely-degraded` | `io-performance:stalled`). + + - `event.not-after` - The latest end time for the event. + + - `event.not-before` - The earliest start time for the event. + + - `volume-status.details-name` - The cause for `volume-status.status` + (`io-enabled` | `io-performance`). + + - `volume-status.details-status` - The status of + `volume-status.details-name` (for `io-enabled`: `passed` | `failed`; + for `io-performance`: `normal` | `degraded` | `severely-degraded` | + `stalled`). + + - `volume-status.status` - The status of the volume (`ok` | `impaired` + | `warning` | `insufficient-data`). + """ + +@dataclass(kw_only=True) +class DescribeVolumeStatusOutput(_SerdeShape): + """Dataclass for DescribeVolumeStatusOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + volume_statuses: list[VolumeStatusItem] | None = ... + """Information about the status of the volumes.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcAttributeInput(_SerdeShape): + """Dataclass for DescribeVpcAttributeInput structure.""" + + attribute: str | None = ... + """The VPC attribute.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVpcAttributeOutput(_SerdeShape): + """Dataclass for DescribeVpcAttributeOutput structure.""" + + enable_dns_hostnames: AttributeBooleanValue | None = ... + """ + Indicates whether the instances launched in the VPC get DNS hostnames. + If this attribute is `true`, instances in the VPC get DNS hostnames; + otherwise, they do not. + """ + enable_dns_support: AttributeBooleanValue | None = ... + """ + Indicates whether DNS resolution is enabled for the VPC. If this + attribute is `true`, the Amazon DNS server resolves DNS hostnames for + your instances to their corresponding IP addresses; otherwise, it does + not. + """ + enable_network_address_usage_metrics: AttributeBooleanValue | None = ... + """ + Indicates whether Network Address Usage metrics are enabled for your + VPC. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcBlockPublicAccessExclusionsInput(_SerdeShape): + """Dataclass for DescribeVpcBlockPublicAccessExclusionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + Filters for the request: + + - `resource-arn` - The Amazon Resource Name (ARN) of a exclusion. + + - `internet-gateway-exclusion-mode` - The mode of a VPC BPA exclusion. + Possible values: `allow-bidirectional | allow-egress`. + + - `state` - The state of VPC BPA. Possible values: + `create-in-progress | create-complete | update-in-progress | update-complete | delete-in-progress | deleted-complete | disable-in-progress | disable-complete` + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `tag-value`: The value of a tag assigned to the resource. Use this + filter to find all resources assigned a tag with a specific value, + regardless of the tag key. + """ + exclusion_ids: list[str] | None = ... + """IDs of exclusions.""" + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeVpcBlockPublicAccessExclusionsOutput(_SerdeShape): + """Dataclass for DescribeVpcBlockPublicAccessExclusionsOutput structure.""" + + vpc_block_public_access_exclusions: list[VpcBlockPublicAccessExclusion] | None = ... + """Details related to the exclusions.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcBlockPublicAccessOptionsInput(_SerdeShape): + """Dataclass for DescribeVpcBlockPublicAccessOptionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVpcBlockPublicAccessOptionsOutput(_SerdeShape): + """Dataclass for DescribeVpcBlockPublicAccessOptionsOutput structure.""" + + vpc_block_public_access_options: VpcBlockPublicAccessOptions | None = ... + """Details related to the options.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcClassicLinkDnsSupportInput(_SerdeShape): + """Dataclass for DescribeVpcClassicLinkDnsSupportInput structure.""" + + vpc_ids: list[str] | None = ... + """The IDs of the VPCs.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + +@dataclass(kw_only=True) +class DescribeVpcClassicLinkDnsSupportOutput(_SerdeShape): + """Dataclass for DescribeVpcClassicLinkDnsSupportOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + vpcs: list[ClassicLinkDnsSupport] | None = ... + """Information about the ClassicLink DNS support status of the VPCs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcClassicLinkInput(_SerdeShape): + """Dataclass for DescribeVpcClassicLinkInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_ids: list[str] | None = ... + """The VPCs for which you want to describe the ClassicLink status.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `is-classic-link-enabled` - Whether the VPC is enabled for ClassicLink + (`true` | `false`). + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + +@dataclass(kw_only=True) +class DescribeVpcClassicLinkOutput(_SerdeShape): + """Dataclass for DescribeVpcClassicLinkOutput structure.""" + + vpcs: list[VpcClassicLink] | None = ... + """The ClassicLink status of the VPCs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcEncryptionControlsInput(_SerdeShape): + """Dataclass for DescribeVpcEncryptionControlsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """The filters to apply to the request.""" + vpc_encryption_control_ids: list[str] | None = ... + """The IDs of the VPC Encryption Control configurations to describe.""" + vpc_ids: list[str] | None = ... + """The IDs of the VPCs to describe encryption control configurations for.""" + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + +@dataclass(kw_only=True) +class DescribeVpcEncryptionControlsOutput(_SerdeShape): + """Dataclass for DescribeVpcEncryptionControlsOutput structure.""" + + vpc_encryption_controls: list[VpcEncryptionControl] | None = ... + """Information about the VPC Encryption Control configurations.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcEndpointAssociationsInput(_SerdeShape): + """Dataclass for DescribeVpcEndpointAssociationsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_endpoint_ids: list[str] | None = ... + """The IDs of the VPC endpoints.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `vpc-endpoint-id` - The ID of the VPC endpoint. + + - `associated-resource-accessibility` - The association state. When the + state is `accessible`, it returns `AVAILABLE`. When the state is + `inaccessible`, it returns `PENDING` or `FAILED`. + + - `association-id` - The ID of the VPC endpoint association. + + - `associated-resource-id` - The ID of the associated resource + configuration. + + - `service-network-arn` - The Amazon Resource Name (ARN) of the + associated service network. Only VPC endpoints of type service network + will be returned. + + - `resource-configuration-group-arn` - The Amazon Resource Name (ARN) of + the resource configuration of type GROUP. + """ + max_results: int | None = ... + """The maximum page size.""" + next_token: str | None = ... + """The pagination token.""" + +@dataclass(kw_only=True) +class DescribeVpcEndpointAssociationsOutput(_SerdeShape): + """Dataclass for DescribeVpcEndpointAssociationsOutput structure.""" + + vpc_endpoint_associations: list[VpcEndpointAssociation] | None = ... + """Details of the endpoint associations.""" + next_token: str | None = ... + """The pagination token.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcEndpointConnectionNotificationsInput(_SerdeShape): + """Dataclass for DescribeVpcEndpointConnectionNotificationsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + connection_notification_id: str | None = ... + """The ID of the notification.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `connection-notification-arn` - The ARN of the SNS topic for the + notification. + + - `connection-notification-id` - The ID of the notification. + + - `connection-notification-state` - The state of the notification + (`Enabled` | `Disabled`). + + - `connection-notification-type` - The type of notification (`Topic`). + + - `service-id` - The ID of the endpoint service. + + - `vpc-endpoint-id` - The ID of the VPC endpoint. + """ + max_results: int | None = ... + """ + The maximum number of results to return in a single call. To retrieve + the remaining results, make another request with the returned + `NextToken` value. + """ + next_token: str | None = ... + """The token to request the next page of results.""" + +@dataclass(kw_only=True) +class DescribeVpcEndpointConnectionNotificationsOutput(_SerdeShape): + """ + Dataclass for DescribeVpcEndpointConnectionNotificationsOutput + structure. + """ + + connection_notification_set: list[ConnectionNotification] | None = ... + """The notifications.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcEndpointConnectionsInput(_SerdeShape): + """Dataclass for DescribeVpcEndpointConnectionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `ip-address-type` - The IP address type (`ipv4` | `ipv6`). + + - `service-id` - The ID of the service. + + - `vpc-endpoint-owner` - The ID of the Amazon Web Services account ID + that owns the endpoint. + + - `vpc-endpoint-region` - The Region of the endpoint or `cross-region` + to find endpoints for other Regions. + + - `vpc-endpoint-state` - The state of the endpoint (`pendingAcceptance` + | `pending` | `available` | `deleting` | `deleted` | `rejected` + | `failed`). + + - `vpc-endpoint-id` - The ID of the endpoint. + """ + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results of the initial request can be seen by + sending another request with the returned `NextToken` value. This value + can be between 5 and 1,000; if `MaxResults` is given a value larger than + 1,000, only 1,000 results are returned. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + +@dataclass(kw_only=True) +class DescribeVpcEndpointConnectionsOutput(_SerdeShape): + """Dataclass for DescribeVpcEndpointConnectionsOutput structure.""" + + vpc_endpoint_connections: list[VpcEndpointConnection] | None = ... + """Information about the VPC endpoint connections.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcEndpointServiceConfigurationsInput(_SerdeShape): + """Dataclass for DescribeVpcEndpointServiceConfigurationsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_ids: list[str] | None = ... + """The IDs of the endpoint services.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `service-name` - The name of the service. + + - `service-id` - The ID of the service. + + - `service-state` - The state of the service (`Pending` | `Available` + | `Deleting` | `Deleted` | `Failed`). + + - `supported-ip-address-types` - The IP address type (`ipv4` | `ipv6`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results of the initial request can be seen by + sending another request with the returned `NextToken` value. This value + can be between 5 and 1,000; if `MaxResults` is given a value larger than + 1,000, only 1,000 results are returned. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + +@dataclass(kw_only=True) +class DescribeVpcEndpointServiceConfigurationsOutput(_SerdeShape): + """Dataclass for DescribeVpcEndpointServiceConfigurationsOutput structure.""" + + service_configurations: list[ServiceConfiguration] | None = ... + """Information about the services.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcEndpointServicePermissionsInput(_SerdeShape): + """Dataclass for DescribeVpcEndpointServicePermissionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_id: str | None = ... + """The ID of the service.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `principal` - The ARN of the principal. + + - `principal-type` - The principal type (`All` | `Service` | + `OrganizationUnit` | `Account` | `User` | `Role`). + """ + max_results: int | None = ... + """ + The maximum number of results to return for the request in a single + page. The remaining results of the initial request can be seen by + sending another request with the returned `NextToken` value. This value + can be between 5 and 1,000; if `MaxResults` is given a value larger than + 1,000, only 1,000 results are returned. + """ + next_token: str | None = ... + """The token to retrieve the next page of results.""" + +@dataclass(kw_only=True) +class DescribeVpcEndpointServicePermissionsOutput(_SerdeShape): + """Dataclass for DescribeVpcEndpointServicePermissionsOutput structure.""" + + allowed_principals: list[AllowedPrincipal] | None = ... + """Information about the allowed principals.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcEndpointServicesInput(_SerdeShape): + """Dataclass for DescribeVpcEndpointServicesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_names: list[str] | None = ... + """The service names.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `owner` - The ID or alias of the Amazon Web Services account that owns + the service. + + - `service-name` - The name of the service. + + - `service-region` - The Region of the service. + + - `service-type` - The type of service (`Interface` | `Gateway` | + `GatewayLoadBalancer`). + + - `supported-ip-address-types` - The IP address type (`ipv4` | `ipv6`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + max_results: int | None = ... + """ + The maximum number of items to return for this request. The request + returns a token that you can specify in a subsequent call to get the + next set of results. + + Constraint: If the value is greater than 1,000, we return only 1,000 + items. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a prior call.) + """ + service_regions: list[str] | None = ... + """The service Regions.""" + +@dataclass(kw_only=True) +class DescribeVpcEndpointServicesOutput(_SerdeShape): + """Dataclass for DescribeVpcEndpointServicesOutput structure.""" + + service_names: list[str] | None = ... + """The supported services.""" + service_details: list[ServiceDetail] | None = ... + """Information about the service.""" + next_token: str | None = ... + """ + The token to use when requesting the next set of items. If there are no + additional items to return, the string is empty. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcEndpointsInput(_SerdeShape): + """Dataclass for DescribeVpcEndpointsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_endpoint_ids: list[str] | None = ... + """The IDs of the VPC endpoints.""" + filters: list[Filter] | None = ... + """ + The filters. + + - `ip-address-type` - The IP address type (`ipv4` | `ipv6`). + + - `service-name` - The name of the service. + + - `service-region` - The Region of the service. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC in which the endpoint resides. + + - `vpc-endpoint-id` - The ID of the endpoint. + + - `vpc-endpoint-state` - The state of the endpoint (`pendingAcceptance` + | `pending` | `available` | `deleting` | `deleted` | `rejected` + | `failed`). + + - `vpc-endpoint-type` - The type of VPC endpoint (`Interface` | + `Gateway` | `GatewayLoadBalancer` | `Resource` | `ServiceNetwork` + | `Tunnel`). + """ + max_results: int | None = ... + """ + The maximum number of items to return for this request. The request + returns a token that you can specify in a subsequent call to get the + next set of results. + + Constraint: If the value is greater than 1,000, we return only 1,000 + items. + """ + next_token: str | None = ... + """ + The token for the next set of items to return. (You received this token + from a prior call.) + """ + +@dataclass(kw_only=True) +class DescribeVpcEndpointsOutput(_SerdeShape): + """Dataclass for DescribeVpcEndpointsOutput structure.""" + + vpc_endpoints: list[VpcEndpoint] | None = ... + """Information about the VPC endpoints.""" + next_token: str | None = ... + """ + The token to use when requesting the next set of items. If there are no + additional items to return, the string is empty. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcPeeringConnectionsInput(_SerdeShape): + """Dataclass for DescribeVpcPeeringConnectionsInput structure.""" + + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_peering_connection_ids: list[str] | None = ... + """ + The IDs of the VPC peering connections. + + Default: Describes all your VPC peering connections. + """ + filters: list[Filter] | None = ... + """ + The filters. + + - `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter + VPC. + + - `accepter-vpc-info.owner-id` - The ID of the Amazon Web Services + account that owns the accepter VPC. + + - `accepter-vpc-info.vpc-id` - The ID of the accepter VPC. + + - `expiration-time` - The expiration date and time for the VPC peering + connection. + + - `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the + requester's VPC. + + - `requester-vpc-info.owner-id` - The ID of the Amazon Web Services + account that owns the requester VPC. + + - `requester-vpc-info.vpc-id` - The ID of the requester VPC. + + - `status-code` - The status of the VPC peering connection + (`pending-acceptance` | `failed` | `expired` | `provisioning` | + `active` | `deleting` | `deleted` | `rejected`). + + - `status-message` - A message that provides more information about the + status of the VPC peering connection, if applicable. + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-peering-connection-id` - The ID of the VPC peering connection. + """ + +@dataclass(kw_only=True) +class DescribeVpcPeeringConnectionsOutput(_SerdeShape): + """Dataclass for DescribeVpcPeeringConnectionsOutput structure.""" + + vpc_peering_connections: list[VpcPeeringConnection] | None = ... + """Information about the VPC peering connections.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpcsInput(_SerdeShape): + """Dataclass for DescribeVpcsInput structure.""" + + filters: list[Filter] | None = ... + """ + The filters. + + - `cidr` - The primary IPv4 CIDR block of the VPC. The CIDR block you + specify must exactly match the VPC's CIDR block for information to be + returned for the VPC. Must contain the slash followed by one or two + digits (for example, `/28`). + + - `cidr-block-association.cidr-block` - An IPv4 CIDR block associated + with the VPC. + + - `cidr-block-association.association-id` - The association ID for an + IPv4 CIDR block associated with the VPC. + + - `cidr-block-association.state` - The state of an IPv4 CIDR block + associated with the VPC. + + - `dhcp-options-id` - The ID of a set of DHCP options. + + - `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block + associated with the VPC. + + - `ipv6-cidr-block-association.ipv6-pool` - The ID of the IPv6 address + pool from which the IPv6 CIDR block is allocated. + + - `ipv6-cidr-block-association.association-id` - The association ID for + an IPv6 CIDR block associated with the VPC. + + - `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR block + associated with the VPC. + + - `is-default` - Indicates whether the VPC is the default VPC. + + - `owner-id` - The ID of the Amazon Web Services account that owns the + VPC. + + - `state` - The state of the VPC (`pending` | `available`). + + - `tag` - 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 + `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name + and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `vpc-id` - The ID of the VPC. + """ + vpc_ids: list[str] | None = ... + """The IDs of the VPCs.""" + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVpcsOutput(_SerdeShape): + """Dataclass for DescribeVpcsOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + vpcs: list[Vpc] | None = ... + """Information about the VPCs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpnConcentratorsInput(_SerdeShape): + """Dataclass for DescribeVpnConcentratorsInput structure.""" + + vpn_concentrator_ids: list[str] | None = ... + """One or more VPN concentrator IDs.""" + filters: list[Filter] | None = ... + """One or more filters to limit the results.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVpnConcentratorsOutput(_SerdeShape): + """Dataclass for DescribeVpnConcentratorsOutput structure.""" + + vpn_concentrators: list[VpnConcentrator] | None = ... + """Information about the VPN concentrators.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpnConnectionsInput(_SerdeShape): + """Contains the parameters for DescribeVpnConnections.""" + + filters: list[Filter] | None = ... + """ + One or more filters. + + - `customer-gateway-configuration` - The configuration information for + the customer gateway. + + - `customer-gateway-id` - The ID of a customer gateway associated with + the VPN connection. + + - `state` - The state of the VPN connection (`pending` | `available` | + `deleting` | `deleted`). + + - `option.static-routes-only` - Indicates whether the connection has + static routes only. Used for devices that do not support Border + Gateway Protocol (BGP). + + - `route.destination-cidr-block` - The destination CIDR block. This + corresponds to the subnet used in a customer data center. + + - `bgp-asn` - The BGP Autonomous System Number (ASN) associated with a + BGP device. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `type` - The type of VPN connection. Currently the only supported type + is `ipsec.1`. + + - `vpn-connection-id` - The ID of the VPN connection. + + - `vpn-gateway-id` - The ID of a virtual private gateway associated with + the VPN connection. + + - `transit-gateway-id` - The ID of a transit gateway associated with the + VPN connection. + """ + vpn_connection_ids: list[str] | None = ... + """ + One or more VPN connection IDs. + + Default: Describes your VPN connections. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVpnConnectionsOutput(_SerdeShape): + """Contains the output of DescribeVpnConnections.""" + + vpn_connections: list[VpnConnection] | None = ... + """Information about one or more VPN connections.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeVpnGatewaysInput(_SerdeShape): + """Contains the parameters for DescribeVpnGateways.""" + + filters: list[Filter] | None = ... + """ + One or more filters. + + - `amazon-side-asn` - The Autonomous System Number (ASN) for the Amazon + side of the gateway. + + - `attachment.state` - The current state of the attachment between the + gateway and the VPC (`attaching` | `attached` | `detaching` | + `detached`). + + - `attachment.vpc-id` - The ID of an attached VPC. + + - `availability-zone` - The Availability Zone for the virtual private + gateway (if applicable). + + - `state` - The state of the virtual private gateway (`pending` | + `available` | `deleting` | `deleted`). + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + + - `type` - The type of virtual private gateway. Currently the only + supported type is `ipsec.1`. + + - `vpn-gateway-id` - The ID of the virtual private gateway. + """ + vpn_gateway_ids: list[str] | None = ... + """ + One or more virtual private gateway IDs. + + Default: Describes all your virtual private gateways. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DescribeVpnGatewaysOutput(_SerdeShape): + """Contains the output of DescribeVpnGateways.""" + + vpn_gateways: list[VpnGateway] | None = ... + """Information about one or more virtual private gateways.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DestinationFileFormat(UnknownEnumMixin, StrEnum): + PLAIN_TEXT = "plain-text" + PARQUET = "parquet" + +@dataclass(kw_only=True) +class DestinationOptionsRequest(_SerdeShape): + """Describes the destination options for a flow log.""" + + file_format: str | None = ... + """The format for the flow log. The default is `plain-text`.""" + hive_compatible_partitions: bool | None = ... + """ + Indicates whether to use Hive-compatible prefixes for flow logs stored + in Amazon S3. The default is `false`. + """ + per_hour_partition: bool | None = ... + """ + Indicates whether to partition the flow log per hour. This reduces the + cost and response time for queries. The default is `false`. + """ + +@dataclass(kw_only=True) +class DestinationOptionsResponse(_SerdeShape): + """Describes the destination options for a flow log.""" + + file_format: str | None = ... + """The format for the flow log.""" + hive_compatible_partitions: bool | None = ... + """ + Indicates whether to use Hive-compatible prefixes for flow logs stored + in Amazon S3. + """ + per_hour_partition: bool | None = ... + """Indicates whether to partition the flow log per hour.""" diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_5.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_5.pyi new file mode 100644 index 000000000..28616fdb9 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_5.pyi @@ -0,0 +1,4703 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AddressTransfer, + AnalysisAclRule, + AnalysisComponent, + AnalysisLoadBalancerListener, + AnalysisLoadBalancerTarget, + AnalysisRouteTableRoute, + AnalysisSecurityGroupRule, + AnalysisTransitGatewayPolicyTableEntry, + AsnAssociation, + AssociationStatus, + AttributeValue, + CancelCapacityReservationFleetError, + ClientCertificateRevocationListStatus, + ClientVpnTrustProvider, + ClientVpnTrustProviderRequest, + CustomTagKeyValueRequestPair, + DeleteQueuedReservedInstancesError, + FastLaunchSnapshotConfigurationResponse, + Filter, + FirewallStatefulRule, + FirewallStatelessRule, + IamInstanceProfileAssociation, + InstanceConnectEndpointPublicDnsNames, + InstanceEventWindow, + InstanceEventWindowDisassociationRequest, + InstanceExportDetails, + InternetGatewayAttachment, + IpamInternetRegistryAssociation, + IpamResourceDiscoveryAssociation, + NatGatewayAddress, + OperatorResponse, + PortRange, + RegisteredInstance, + RouteServerAssociation, + RouteServerPropagation, + SubnetIpv6CidrBlockAssociation, + SuccessfulAssociationResponseObject, + SuccessfulSuppressionResponseObject, + Tag, + TagSpecification, + TransitGatewayAssociation, + TransitGatewayMulticastDomainAssociations, + TransitGatewayPolicyTableAssociation, + TransitGatewayPropagation, + TransitGatewayRouteTableRoute, + UnsuccessfulAssociationResponseObject, + UnsuccessfulSuppressionResponseObject, + VerifiedAccessInstance, + VerifiedAccessInstanceOpenVpnClientConfiguration, + VerifiedAccessInstanceUserTrustProviderClientConfiguration, + VerifiedAccessTrustProvider, + VolumeDetail, + VpcCidrBlockAssociation, + VpcIpv6CidrBlockAssociation, + _SerdeShape, +) + +@dataclass(kw_only=True) +class DetachClassicLinkVpcInput(_SerdeShape): + """Dataclass for DetachClassicLinkVpcInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the instance to unlink from the VPC.""" + vpc_id: str | None = ... + """The ID of the VPC to which the instance is linked.""" + +@dataclass(kw_only=True) +class DetachClassicLinkVpcOutput(_SerdeShape): + """Dataclass for DetachClassicLinkVpcOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetachImageWatermarkInput(_SerdeShape): + """Dataclass for DetachImageWatermarkInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + watermark_key: str | None = ... + """ + The watermark key to remove, in `accountId:watermarkName` format (for + example, `123456789012:approvedAmi`). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DetachImageWatermarkOutput(_SerdeShape): + """Dataclass for DetachImageWatermarkOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetachInternetGatewayInput(_SerdeShape): + """Dataclass for DetachInternetGatewayInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + internet_gateway_id: str | None = ... + """The ID of the internet gateway.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class DetachInternetGatewayOutput(_SerdeShape): + """Dataclass for DetachInternetGatewayOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetachNetworkInterfaceInput(_SerdeShape): + """Contains the parameters for DetachNetworkInterface.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + attachment_id: str | None = ... + """The ID of the attachment.""" + force: bool | None = ... + """ + Specifies whether to force a detachment. + + Note: + - Use the `Force` parameter only as a last resort to detach a network + interface from a failed instance. + + - If you use the `Force` parameter to detach a network interface, you + might not be able to attach a different network interface to the same + index on the instance without first stopping and starting the + instance. + + - If you force the detachment of a network interface, the [instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) + might not get updated. This means that the attributes associated with + the detached network interface might still be visible. The instance + metadata will get updated when you stop and start the instance. + """ + +@dataclass(kw_only=True) +class DetachNetworkInterfaceOutput(_SerdeShape): + """Dataclass for DetachNetworkInterfaceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetachVerifiedAccessTrustProviderInput(_SerdeShape): + """Dataclass for DetachVerifiedAccessTrustProviderInput structure.""" + + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + verified_access_trust_provider_id: str | None = ... + """The ID of the Verified Access trust provider.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DetachVerifiedAccessTrustProviderOutput(_SerdeShape): + """Dataclass for DetachVerifiedAccessTrustProviderOutput structure.""" + + verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... + """Details about the Verified Access trust provider.""" + verified_access_instance: VerifiedAccessInstance | None = ... + """Details about the Verified Access instance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetachVolumeInput(_SerdeShape): + """Dataclass for DetachVolumeInput structure.""" + + device: str | None = ... + """The device name.""" + force: bool | None = ... + """ + Forces detachment if the previous detachment attempt did not occur + cleanly (for example, logging into an instance, unmounting the volume, + and detaching normally). This option can lead to data loss or a + corrupted file system. Use this option only as a last resort to detach a + volume from a failed instance. The instance won't have an opportunity + to flush file system caches or file system metadata. If you use this + option, you must perform file system check and repair procedures. + """ + instance_id: str | None = ... + """ + The ID of the instance. If you are detaching a Multi-Attach enabled + volume, you must specify an instance ID. + """ + volume_id: str | None = ... + """The ID of the volume.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DetachVolumeOutput(_SerdeShape): + """Describes volume attachment details.""" + + delete_on_termination: bool | None = ... + """Indicates whether the EBS volume is deleted on instance termination.""" + associated_resource: str | None = ... + """ + The ARN of the Amazon Web Services-managed resource to which the volume + is attached. + """ + instance_owning_service: str | None = ... + """ + The service principal of the Amazon Web Services service that owns the + underlying resource to which the volume is attached. + + This parameter is returned only for volumes that are attached to Amazon + Web Services-managed resources. + """ + ebs_card_index: int | None = ... + """ + The index of the EBS card. Some instance types support multiple EBS + cards. The default EBS card index is 0. + """ + volume_id: str | None = ... + """The ID of the volume.""" + instance_id: str | None = ... + """ + The ID of the instance. + + If the volume is attached to an Amazon Web Services-managed resource, + this parameter returns `null`. + """ + device: str | None = ... + """ + The device name. + + If the volume is attached to an Amazon Web Services-managed resource, + this parameter returns `null`. + """ + state: str | None = ... + """The attachment state of the volume.""" + attach_time: datetime | None = ... + """The time stamp when the attachment initiated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetachVpnGatewayInput(_SerdeShape): + """Contains the parameters for DetachVpnGateway.""" + + vpc_id: str | None = ... + """The ID of the VPC.""" + vpn_gateway_id: str | None = ... + """The ID of the virtual private gateway.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DetachVpnGatewayOutput(_SerdeShape): + """Dataclass for DetachVpnGatewayOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeviceOptions(_SerdeShape): + """ + Describes the options for an Amazon Web Services Verified Access + device-identity based trust provider. + """ + + tenant_id: str | None = ... + """The ID of the tenant application with the device-identity provider.""" + public_signing_key_url: str | None = ... + """ + The URL Amazon Web Services Verified Access will use to verify the + authenticity of the device tokens. + """ + +@dataclass(kw_only=True) +class DevicePostureOptions(_SerdeShape): + """ + Describes the device posture options for a Client VPN endpoint. Device + posture options specify the device trust providers that the endpoint + uses to evaluate the security posture of connecting devices. + """ + + trust_providers: list[ClientVpnTrustProviderRequest] | None = ... + """The device trust providers to configure for the Client VPN endpoint.""" + enabled: bool | None = ... + """ + Indicates whether device posture evaluation is enabled for the Client + VPN endpoint. Specify `false` to disable device posture, which clears + the configured device trust providers. + """ + +@dataclass(kw_only=True) +class DevicePostureResponseOptions(_SerdeShape): + """Information about the device posture options for a Client VPN endpoint.""" + + trust_providers: list[ClientVpnTrustProvider] | None = ... + """The device trust providers configured for the Client VPN endpoint.""" + +class DeviceTrustProviderType(UnknownEnumMixin, StrEnum): + JAMF = "jamf" + CROWDSTRIKE = "crowdstrike" + JUMPCLOUD = "jumpcloud" + +class DeviceType(UnknownEnumMixin, StrEnum): + EBS = "ebs" + INSTANCE_STORE = "instance-store" + +@dataclass(kw_only=True) +class DhcpConfiguration(_SerdeShape): + """Describes a DHCP configuration option.""" + + key: str | None = ... + """The name of a DHCP option.""" + values: list[AttributeValue] | None = ... + """The values for the DHCP option.""" + +@dataclass(kw_only=True) +class DhcpOptions(_SerdeShape): + """The set of DHCP options.""" + + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the DHCP options + set. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the DHCP options set.""" + dhcp_options_id: str | None = ... + """The ID of the set of DHCP options.""" + dhcp_configurations: list[DhcpConfiguration] | None = ... + """The DHCP options in the set.""" + +@dataclass(kw_only=True) +class DimensionCondition(_SerdeShape): + """ + Specifies a condition for filtering capacity data based on dimension + values. Used to create precise filters for metric queries and dimension + lookups. + """ + + dimension: str | None = ... + """The name of the dimension to filter by.""" + comparison: str | None = ... + """The comparison operator to use for the filter.""" + values: list[str] | None = ... + """ + The list of values to match against the specified dimension. For + 'equals' comparison, only the first value is used. For 'in' + comparison, any matching value will satisfy the condition. + """ + +@dataclass(kw_only=True) +class DirectoryServiceAuthentication(_SerdeShape): + """Describes an Active Directory.""" + + directory_id: str | None = ... + """The ID of the Active Directory used for authentication.""" + +@dataclass(kw_only=True) +class DirectoryServiceAuthenticationRequest(_SerdeShape): + """Describes the Active Directory to be used for client authentication.""" + + directory_id: str | None = ... + """The ID of the Active Directory to be used for authentication.""" + +@dataclass(kw_only=True) +class DisableAddressTransferInput(_SerdeShape): + """Dataclass for DisableAddressTransferInput structure.""" + + allocation_id: str | None = ... + """The allocation ID of an Elastic IP address.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableAddressTransferOutput(_SerdeShape): + """Dataclass for DisableAddressTransferOutput structure.""" + + address_transfer: AddressTransfer | None = ... + """An Elastic IP address transfer.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableAllowedImagesSettingsInput(_SerdeShape): + """Dataclass for DisableAllowedImagesSettingsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableAllowedImagesSettingsOutput(_SerdeShape): + """Dataclass for DisableAllowedImagesSettingsOutput structure.""" + + allowed_images_settings_state: str | None = ... + """ + Returns `disabled` if the request succeeds; otherwise, it returns an + error. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableApplicationStatusCheckSuppressionInput(_SerdeShape): + """Dataclass for DisableApplicationStatusCheckSuppressionInput structure.""" + + instance_ids: list[str] | None = ... + """ + The IDs of the instances for which to disable application status check + suppression. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure that the + operation completes no more than one time. If you retry a request with + the same token, the service ignores the request but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableApplicationStatusCheckSuppressionOutput(_SerdeShape): + """Dataclass for DisableApplicationStatusCheckSuppressionOutput structure.""" + + successful_results: list[SuccessfulSuppressionResponseObject] | None = ... + """The instances for which suppression was successfully disabled.""" + unsuccessful_results: list[UnsuccessfulSuppressionResponseObject] | None = ... + """The instances for which suppression failed to be disabled.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableAwsNetworkPerformanceMetricSubscriptionInput(_SerdeShape): + """ + Dataclass for DisableAwsNetworkPerformanceMetricSubscriptionInput + structure. + """ + + source: str | None = ... + """ + The source Region or Availability Zone that the metric subscription is + disabled for. For example, `us-east-1`. + """ + destination: str | None = ... + """ + The target Region or Availability Zone that the metric subscription is + disabled for. For example, `eu-north-1`. + """ + metric: str | None = ... + """The metric used for the disabled subscription.""" + statistic: str | None = ... + """The statistic used for the disabled subscription.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableAwsNetworkPerformanceMetricSubscriptionOutput(_SerdeShape): + """ + Dataclass for DisableAwsNetworkPerformanceMetricSubscriptionOutput + structure. + """ + + output: bool | None = ... + """Indicates whether the unsubscribe action was successful.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableCapacityManagerInput(_SerdeShape): + """Dataclass for DisableCapacityManagerInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class DisableCapacityManagerOutput(_SerdeShape): + """Dataclass for DisableCapacityManagerOutput structure.""" + + capacity_manager_status: str | None = ... + """The current status of Capacity Manager after the disable operation.""" + organizations_access: bool | None = ... + """ + Indicates whether Organizations access is enabled. This will be `false` + after disabling Capacity Manager. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableEbsEncryptionByDefaultInput(_SerdeShape): + """Dataclass for DisableEbsEncryptionByDefaultInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableEbsEncryptionByDefaultOutput(_SerdeShape): + """Dataclass for DisableEbsEncryptionByDefaultOutput structure.""" + + ebs_encryption_by_default: bool | None = ... + """The updated status of encryption by default.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableFastLaunchInput(_SerdeShape): + """Dataclass for DisableFastLaunchInput structure.""" + + image_id: str | None = ... + """Specify the ID of the image for which to disable Windows fast launch.""" + force: bool | None = ... + """ + Forces the image settings to turn off Windows fast launch for your + Windows AMI. This parameter overrides any errors that are encountered + while cleaning up resources in your account. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableFastLaunchOutput(_SerdeShape): + """Dataclass for DisableFastLaunchOutput structure.""" + + image_id: str | None = ... + """The ID of the image for which Windows fast launch was disabled.""" + resource_type: str | None = ... + """ + The pre-provisioning resource type that must be cleaned after turning + off Windows fast launch for the Windows AMI. Supported values include: + `snapshot`. + """ + snapshot_configuration: FastLaunchSnapshotConfigurationResponse | None = ... + """ + Parameters that were used for Windows fast launch for the Windows AMI + before Windows fast launch was disabled. This informs the clean-up + process. + """ + launch_template: FastLaunchLaunchTemplateSpecificationResponse | None = ... + """ + The launch template that was used to launch Windows instances from + pre-provisioned snapshots. + """ + max_parallel_launches: int | None = ... + """ + The maximum number of instances that Amazon EC2 can launch at the same + time to create pre-provisioned snapshots for Windows fast launch. + """ + owner_id: str | None = ... + """The owner of the Windows AMI for which Windows fast launch was disabled.""" + state: str | None = ... + """The current state of Windows fast launch for the specified Windows AMI.""" + state_transition_reason: str | None = ... + """ + The reason that the state changed for Windows fast launch for the + Windows AMI. + """ + state_transition_time: datetime | None = ... + """ + The time that the state changed for Windows fast launch for the Windows + AMI. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableFastSnapshotRestoreErrorItem(_SerdeShape): + """ + Contains information about the errors that occurred when disabling fast + snapshot restores. + """ + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + fast_snapshot_restore_state_errors: ( + list[DisableFastSnapshotRestoreStateErrorItem] | None + ) = ... + """The errors.""" + +@dataclass(kw_only=True) +class DisableFastSnapshotRestoresInput(_SerdeShape): + """Dataclass for DisableFastSnapshotRestoresInput structure.""" + + availability_zones: list[str] | None = ... + """ + One or more Availability Zones. For example, `us-east-2a`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + availability_zone_ids: list[str] | None = ... + """ + One or more Availability Zone IDs. For example, `use2-az1`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + source_snapshot_ids: list[str] | None = ... + """The IDs of one or more snapshots. For example, `snap-1234567890abcdef0`.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableFastSnapshotRestoresOutput(_SerdeShape): + """Dataclass for DisableFastSnapshotRestoresOutput structure.""" + + successful: list[DisableFastSnapshotRestoreSuccessItem] | None = ... + """ + Information about the snapshots for which fast snapshot restores were + successfully disabled. + """ + unsuccessful: list[DisableFastSnapshotRestoreErrorItem] | None = ... + """ + Information about the snapshots for which fast snapshot restores could + not be disabled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableFastSnapshotRestoreStateError(_SerdeShape): + """Describes an error that occurred when disabling fast snapshot restores.""" + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The error message.""" + +@dataclass(kw_only=True) +class DisableFastSnapshotRestoreStateErrorItem(_SerdeShape): + """ + Contains information about an error that occurred when disabling fast + snapshot restores. + """ + + availability_zone: str | None = ... + """The Availability Zone.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + error: DisableFastSnapshotRestoreStateError | None = ... + """The error.""" + +@dataclass(kw_only=True) +class DisableFastSnapshotRestoreSuccessItem(_SerdeShape): + """Describes fast snapshot restores that were successfully disabled.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + availability_zone: str | None = ... + """The Availability Zone.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + state: str | None = ... + """The state of fast snapshot restores for the snapshot.""" + state_transition_reason: str | None = ... + """ + The reason for the state transition. The possible values are as follows: + + - `Client.UserInitiated` - The state successfully transitioned to + `enabling` or `disabling`. + + - `Client.UserInitiated - Lifecycle state transition` - The state + successfully transitioned to `optimizing`, `enabled`, or `disabled`. + """ + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that enabled fast snapshot + restores on the snapshot. + """ + owner_alias: str | None = ... + """ + The Amazon Web Services owner alias that enabled fast snapshot restores + on the snapshot. This is intended for future use. + """ + enabling_time: datetime | None = ... + """The time at which fast snapshot restores entered the `enabling` state.""" + optimizing_time: datetime | None = ... + """The time at which fast snapshot restores entered the `optimizing` state.""" + enabled_time: datetime | None = ... + """The time at which fast snapshot restores entered the `enabled` state.""" + disabling_time: datetime | None = ... + """The time at which fast snapshot restores entered the `disabling` state.""" + disabled_time: datetime | None = ... + """The time at which fast snapshot restores entered the `disabled` state.""" + +@dataclass(kw_only=True) +class DisableImageBlockPublicAccessInput(_SerdeShape): + """Dataclass for DisableImageBlockPublicAccessInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableImageBlockPublicAccessOutput(_SerdeShape): + """Dataclass for DisableImageBlockPublicAccessOutput structure.""" + + image_block_public_access_state: str | None = ... + """ + Returns `unblocked` if the request succeeds; otherwise, it returns an + error. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableImageDeprecationInput(_SerdeShape): + """Dataclass for DisableImageDeprecationInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableImageDeprecationOutput(_SerdeShape): + """Dataclass for DisableImageDeprecationOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableImageDeregistrationProtectionInput(_SerdeShape): + """Dataclass for DisableImageDeregistrationProtectionInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableImageDeregistrationProtectionOutput(_SerdeShape): + """Dataclass for DisableImageDeregistrationProtectionOutput structure.""" + + return_: str | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableImageInput(_SerdeShape): + """Dataclass for DisableImageInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableImageOutput(_SerdeShape): + """Dataclass for DisableImageOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableInstanceSqlHaStandbyDetectionsInput(_SerdeShape): + """Dataclass for DisableInstanceSqlHaStandbyDetectionsInput structure.""" + + instance_ids: list[str] | None = ... + """ + The IDs of the instances to disable from SQL Server High Availability + standby detection monitoring. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableInstanceSqlHaStandbyDetectionsOutput(_SerdeShape): + """Dataclass for DisableInstanceSqlHaStandbyDetectionsOutput structure.""" + + instances: list[RegisteredInstance] | None = ... + """ + Information about the instances that were disabled from SQL Server High + Availability standby detection monitoring. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableIpamOrganizationAdminAccountInput(_SerdeShape): + """Dataclass for DisableIpamOrganizationAdminAccountInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + delegated_admin_account_id: str | None = ... + """ + The Organizations member account ID that you want to disable as IPAM + account. + """ + +@dataclass(kw_only=True) +class DisableIpamOrganizationAdminAccountOutput(_SerdeShape): + """Dataclass for DisableIpamOrganizationAdminAccountOutput structure.""" + + success: bool | None = ... + """The result of disabling the IPAM account.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableIpamPolicyInput(_SerdeShape): + """Dataclass for DisableIpamPolicyInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_policy_id: str | None = ... + """The ID of the IPAM policy to disable.""" + organization_target_id: str | None = ... + """ + The ID of the Amazon Web Services Organizations target for which to + disable the IPAM policy. This parameter is required only when IPAM is + integrated with Amazon Web Services Organizations. When IPAM is not + integrated with Amazon Web Services Organizations, omit this parameter + and the policy will be disabled for the current account. + + A target can be an individual Amazon Web Services account or an entity + within an Amazon Web Services Organization to which an IPAM policy can + be applied. + """ + +@dataclass(kw_only=True) +class DisableIpamPolicyOutput(_SerdeShape): + """Dataclass for DisableIpamPolicyOutput structure.""" + + return_: bool | None = ... + """Returns true if the IPAM policy was successfully disabled.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableRouteServerPropagationInput(_SerdeShape): + """Dataclass for DisableRouteServerPropagationInput structure.""" + + route_server_id: str | None = ... + """The ID of the route server for which to disable propagation.""" + route_table_id: str | None = ... + """The ID of the route table for which to disable route server propagation.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableRouteServerPropagationOutput(_SerdeShape): + """Dataclass for DisableRouteServerPropagationOutput structure.""" + + route_server_propagation: RouteServerPropagation | None = ... + """Information about the disabled route server propagation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableSerialConsoleAccessInput(_SerdeShape): + """Dataclass for DisableSerialConsoleAccessInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableSerialConsoleAccessOutput(_SerdeShape): + """Dataclass for DisableSerialConsoleAccessOutput structure.""" + + serial_console_access_enabled: bool | None = ... + """ + If `true`, access to the EC2 serial console of all instances is enabled + for your account. If `false`, access to the EC2 serial console of all + instances is disabled for your account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableSnapshotBlockPublicAccessInput(_SerdeShape): + """Dataclass for DisableSnapshotBlockPublicAccessInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableSnapshotBlockPublicAccessOutput(_SerdeShape): + """Dataclass for DisableSnapshotBlockPublicAccessOutput structure.""" + + state: str | None = ... + """Returns `unblocked` if the request succeeds.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableTransitGatewayRouteTablePropagationInput(_SerdeShape): + """Dataclass for DisableTransitGatewayRouteTablePropagationInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the propagation route table.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + transit_gateway_route_table_announcement_id: str | None = ... + """The ID of the route table announcement.""" + +@dataclass(kw_only=True) +class DisableTransitGatewayRouteTablePropagationOutput(_SerdeShape): + """ + Dataclass for DisableTransitGatewayRouteTablePropagationOutput + structure. + """ + + propagation: TransitGatewayPropagation | None = ... + """Information about route propagation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableVgwRoutePropagationInput(_SerdeShape): + """Contains the parameters for DisableVgwRoutePropagation.""" + + gateway_id: str | None = ... + """The ID of the virtual private gateway.""" + route_table_id: str | None = ... + """The ID of the route table.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisableVgwRoutePropagationOutput(_SerdeShape): + """Dataclass for DisableVgwRoutePropagationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableVpcClassicLinkDnsSupportInput(_SerdeShape): + """Dataclass for DisableVpcClassicLinkDnsSupportInput structure.""" + + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class DisableVpcClassicLinkDnsSupportOutput(_SerdeShape): + """Dataclass for DisableVpcClassicLinkDnsSupportOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableVpcClassicLinkInput(_SerdeShape): + """Dataclass for DisableVpcClassicLinkInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class DisableVpcClassicLinkOutput(_SerdeShape): + """Dataclass for DisableVpcClassicLinkOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateAddressInput(_SerdeShape): + """Dataclass for DisassociateAddressInput structure.""" + + association_id: str | None = ... + """The association ID. This parameter is required.""" + public_ip: str | None = ... + """Deprecated.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateAddressOutput(_SerdeShape): + """Dataclass for DisassociateAddressOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateApplicationStatusCheckInput(_SerdeShape): + """Dataclass for DisassociateApplicationStatusCheckInput structure.""" + + application_status_check_id: str | None = ... + """The ID of the application status check to disassociate.""" + target_tag_associations: list[CustomTagKeyValueRequestPair] | None = ... + """ + The + [tags](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) + to disassociate from the application status check. Specify the same + key-value pairs that were used during association. + """ + instance_ids: list[str] | None = ... + """ + The IDs of the instances to disassociate from the application status + check. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure that the + operation completes no more than one time. If you retry a request with + the same token, the service ignores the request but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateApplicationStatusCheckOutput(_SerdeShape): + """Dataclass for DisassociateApplicationStatusCheckOutput structure.""" + + successful_results: list[SuccessfulAssociationResponseObject] | None = ... + """The associations that were successfully removed.""" + unsuccessful_results: list[UnsuccessfulAssociationResponseObject] | None = ... + """The associations that failed to be removed.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateCapacityReservationBillingOwnerInput(_SerdeShape): + """ + Dataclass for DisassociateCapacityReservationBillingOwnerInput + structure. + """ + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + unused_reservation_billing_owner_id: str | None = ... + """The ID of the consumer account to which the request was sent.""" + +@dataclass(kw_only=True) +class DisassociateCapacityReservationBillingOwnerOutput(_SerdeShape): + """ + Dataclass for DisassociateCapacityReservationBillingOwnerOutput + structure. + """ + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateClientVpnTargetNetworkInput(_SerdeShape): + """Dataclass for DisassociateClientVpnTargetNetworkInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """ + The ID of the Client VPN endpoint from which to disassociate the target + network. + """ + association_id: str | None = ... + """The ID of the target network association.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateClientVpnTargetNetworkOutput(_SerdeShape): + """Dataclass for DisassociateClientVpnTargetNetworkOutput structure.""" + + association_id: str | None = ... + """The ID of the target network association.""" + status: AssociationStatus | None = ... + """The current state of the target network association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateEnclaveCertificateIamRoleInput(_SerdeShape): + """Dataclass for DisassociateEnclaveCertificateIamRoleInput structure.""" + + certificate_arn: str | None = ... + """The ARN of the ACM certificate from which to disassociate the IAM role.""" + role_arn: str | None = ... + """The ARN of the IAM role to disassociate.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateEnclaveCertificateIamRoleOutput(_SerdeShape): + """Dataclass for DisassociateEnclaveCertificateIamRoleOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateIamInstanceProfileInput(_SerdeShape): + """Dataclass for DisassociateIamInstanceProfileInput structure.""" + + association_id: str | None = ... + """The ID of the IAM instance profile association.""" + +@dataclass(kw_only=True) +class DisassociateIamInstanceProfileOutput(_SerdeShape): + """Dataclass for DisassociateIamInstanceProfileOutput structure.""" + + iam_instance_profile_association: IamInstanceProfileAssociation | None = ... + """Information about the IAM instance profile association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateInstanceEventWindowInput(_SerdeShape): + """Dataclass for DisassociateInstanceEventWindowInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_event_window_id: str | None = ... + """The ID of the event window.""" + association_target: InstanceEventWindowDisassociationRequest | None = ... + """One or more targets to disassociate from the specified event window.""" + +@dataclass(kw_only=True) +class DisassociateInstanceEventWindowOutput(_SerdeShape): + """Dataclass for DisassociateInstanceEventWindowOutput structure.""" + + instance_event_window: InstanceEventWindow | None = ... + """Information about the event window.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateIpamByoasnInput(_SerdeShape): + """Dataclass for DisassociateIpamByoasnInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + asn: str | None = ... + """A public 2-byte or 4-byte ASN.""" + cidr: str | None = ... + """A BYOIP CIDR.""" + +@dataclass(kw_only=True) +class DisassociateIpamByoasnOutput(_SerdeShape): + """Dataclass for DisassociateIpamByoasnOutput structure.""" + + asn_association: AsnAssociation | None = ... + """An ASN and BYOIP CIDR association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateIpamResourceDiscoveryInput(_SerdeShape): + """Dataclass for DisassociateIpamResourceDiscoveryInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_resource_discovery_association_id: str | None = ... + """A resource discovery association ID.""" + +@dataclass(kw_only=True) +class DisassociateIpamResourceDiscoveryOutput(_SerdeShape): + """Dataclass for DisassociateIpamResourceDiscoveryOutput structure.""" + + ipam_resource_discovery_association: IpamResourceDiscoveryAssociation | None = ... + """A resource discovery association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateNatGatewayAddressInput(_SerdeShape): + """Dataclass for DisassociateNatGatewayAddressInput structure.""" + + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + association_ids: list[str] | None = ... + """ + The association IDs of EIPs that have been associated with the NAT + gateway. + """ + max_drain_duration_seconds: int | None = ... + """ + The maximum amount of time to wait (in seconds) before forcibly + releasing the IP addresses if connections are still in progress. Default + value is 350 seconds. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateNatGatewayAddressOutput(_SerdeShape): + """Dataclass for DisassociateNatGatewayAddressOutput structure.""" + + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + nat_gateway_addresses: list[NatGatewayAddress] | None = ... + """Information about the NAT gateway IP addresses.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateRouteServerInput(_SerdeShape): + """Dataclass for DisassociateRouteServerInput structure.""" + + route_server_id: str | None = ... + """The ID of the route server to disassociate.""" + vpc_id: str | None = ... + """The ID of the VPC to disassociate from the route server.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateRouteServerOutput(_SerdeShape): + """Dataclass for DisassociateRouteServerOutput structure.""" + + route_server_association: RouteServerAssociation | None = ... + """Information about the disassociated route server.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateRouteTableInput(_SerdeShape): + """Dataclass for DisassociateRouteTableInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + association_id: str | None = ... + """ + The association ID representing the current association between the + route table and subnet or gateway. + """ + +@dataclass(kw_only=True) +class DisassociateRouteTableOutput(_SerdeShape): + """Dataclass for DisassociateRouteTableOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateSecurityGroupVpcInput(_SerdeShape): + """Dataclass for DisassociateSecurityGroupVpcInput structure.""" + + group_id: str | None = ... + """A security group ID.""" + vpc_id: str | None = ... + """A VPC ID.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateSecurityGroupVpcOutput(_SerdeShape): + """Dataclass for DisassociateSecurityGroupVpcOutput structure.""" + + state: str | None = ... + """The state of the disassociation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateSubnetCidrBlockInput(_SerdeShape): + """Dataclass for DisassociateSubnetCidrBlockInput structure.""" + + association_id: str | None = ... + """The association ID for the CIDR block.""" + +@dataclass(kw_only=True) +class DisassociateSubnetCidrBlockOutput(_SerdeShape): + """Dataclass for DisassociateSubnetCidrBlockOutput structure.""" + + ipv6_cidr_block_association: SubnetIpv6CidrBlockAssociation | None = ... + """Information about the IPv6 CIDR block association.""" + subnet_id: str | None = ... + """The ID of the subnet.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateTransitGatewayMulticastDomainInput(_SerdeShape): + """Dataclass for DisassociateTransitGatewayMulticastDomainInput structure.""" + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + subnet_ids: list[str] | None = ... + """The IDs of the subnets;""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateTransitGatewayMulticastDomainOutput(_SerdeShape): + """Dataclass for DisassociateTransitGatewayMulticastDomainOutput structure.""" + + associations: TransitGatewayMulticastDomainAssociations | None = ... + """Information about the association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateTransitGatewayPolicyTableInput(_SerdeShape): + """Dataclass for DisassociateTransitGatewayPolicyTableInput structure.""" + + transit_gateway_policy_table_id: str | None = ... + """The ID of the disassociated policy table.""" + transit_gateway_attachment_id: str | None = ... + """ + The ID of the transit gateway attachment to disassociate from the policy + table. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateTransitGatewayPolicyTableOutput(_SerdeShape): + """Dataclass for DisassociateTransitGatewayPolicyTableOutput structure.""" + + association: TransitGatewayPolicyTableAssociation | None = ... + """Returns details about the transit gateway policy table disassociation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateTransitGatewayRouteTableInput(_SerdeShape): + """Dataclass for DisassociateTransitGatewayRouteTableInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateTransitGatewayRouteTableOutput(_SerdeShape): + """Dataclass for DisassociateTransitGatewayRouteTableOutput structure.""" + + association: TransitGatewayAssociation | None = ... + """Information about the association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateTrunkInterfaceInput(_SerdeShape): + """Dataclass for DisassociateTrunkInterfaceInput structure.""" + + association_id: str | None = ... + """The ID of the association""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class DisassociateTrunkInterfaceOutput(_SerdeShape): + """Dataclass for DisassociateTrunkInterfaceOutput structure.""" + + return_: bool | None = ... + """Is `true` if the request succeeds and an error otherwise.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateVpcCidrBlockInput(_SerdeShape): + """Dataclass for DisassociateVpcCidrBlockInput structure.""" + + association_id: str | None = ... + """The association ID for the CIDR block.""" + +@dataclass(kw_only=True) +class DisassociateVpcCidrBlockOutput(_SerdeShape): + """Dataclass for DisassociateVpcCidrBlockOutput structure.""" + + ipv6_cidr_block_association: VpcIpv6CidrBlockAssociation | None = ... + """Information about the IPv6 CIDR block association.""" + cidr_block_association: VpcCidrBlockAssociation | None = ... + """Information about the IPv4 CIDR block association.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DiskImage(_SerdeShape): + """Describes a disk image.""" + + description: str | None = ... + """A description of the disk image.""" + image: DiskImageDetail | None = ... + """Information about the disk image.""" + volume: VolumeDetail | None = ... + """Information about the volume.""" + +@dataclass(kw_only=True) +class DiskImageDescription(_SerdeShape): + """Describes a disk image.""" + + checksum: str | None = ... + """The checksum computed for the disk image.""" + format: str | None = ... + """The disk image format.""" + import_manifest_url: str | None = ... + """ + A presigned URL for the import manifest stored in Amazon S3. For + information about creating a presigned URL for an Amazon S3 object, read + the \"Query String Request Authentication Alternative\" section of the + [Authenticating REST + Requests](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html) + topic in the *Amazon Simple Storage Service Developer Guide*. + + For information about the import manifest referenced by this API action, + see [VM Import + Manifest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). + """ + size: int | None = ... + """The size of the disk image, in GiB.""" + +@dataclass(kw_only=True) +class DiskImageDetail(_SerdeShape): + """Describes a disk image.""" + + format: str | None = ... + """The disk image format.""" + bytes_: int | None = ... + """The size of the disk image, in GiB.""" + import_manifest_url: str | None = ... + """ + A presigned URL for the import manifest stored in Amazon S3 and + presented here as an Amazon S3 presigned URL. For information about + creating a presigned URL for an Amazon S3 object, read the \"Query + String Request Authentication Alternative\" section of the + [Authenticating REST + Requests](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html) + topic in the *Amazon Simple Storage Service Developer Guide*. + + For information about the import manifest referenced by this API action, + see [VM Import + Manifest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). + """ + +class DiskImageFormat(UnknownEnumMixin, StrEnum): + VMDK = "VMDK" + RAW = "RAW" + VHD = "VHD" + +@dataclass(kw_only=True) +class DiskImageVolumeDescription(_SerdeShape): + """Describes a disk image volume.""" + + id: str | None = ... + """The volume identifier.""" + size: int | None = ... + """The size of the volume, in GiB.""" + +@dataclass(kw_only=True) +class DiskInfo(_SerdeShape): + """Describes a disk.""" + + size_in_gb: int | None = ... + """The size of the disk in GB.""" + count: int | None = ... + """The number of disks with this configuration.""" + type: str | None = ... + """The type of disk.""" + +class DiskType(UnknownEnumMixin, StrEnum): + HDD = "hdd" + SSD = "ssd" + +@dataclass(kw_only=True) +class DnsEntry(_SerdeShape): + """Describes a DNS entry.""" + + dns_name: str | None = ... + """The DNS name.""" + hosted_zone_id: str | None = ... + """The ID of the private hosted zone.""" + +class DnsNameState(UnknownEnumMixin, StrEnum): + PENDING_VERIFICATION = "pendingVerification" + VERIFIED = "verified" + FAILED = "failed" + +@dataclass(kw_only=True) +class DnsOptions(_SerdeShape): + """Describes the DNS options for an endpoint.""" + + dns_record_ip_type: str | None = ... + """The DNS records created for the endpoint.""" + private_dns_only_for_inbound_resolver_endpoint: bool | None = ... + """Indicates whether to enable private DNS only for inbound endpoints.""" + private_dns_preference: str | None = ... + """ + The preference for which private domains have a private hosted zone + created for and associated with the specified VPC. Only supported when + private DNS is enabled and when the VPC endpoint type is ServiceNetwork + or Resource. + + - `ALL_DOMAINS` - VPC Lattice provisions private hosted zones for all + custom domain names. + + - `VERIFIED_DOMAINS_ONLY` - VPC Lattice provisions a private hosted zone + only if custom domain name has been verified by the provider. + + - `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS` - VPC Lattice provisions + private hosted zones for all verified custom domain names and other + domain names that the resource consumer specifies. The resource + consumer specifies the domain names in the PrivateDnsSpecifiedDomains + parameter. + + - `SPECIFIED_DOMAINS_ONLY` - VPC Lattice provisions a private hosted + zone for domain names specified by the resource consumer. The resource + consumer specifies the domain names in the PrivateDnsSpecifiedDomains + parameter. + """ + private_dns_specified_domains: list[str] | None = ... + """ + Indicates which of the private domains to create private hosted zones + for and associate with the specified VPC. Only supported when private + DNS is enabled and the private DNS preference is + `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS` or `SPECIFIED_DOMAINS_ONLY`. + """ + +@dataclass(kw_only=True) +class DnsOptionsSpecification(_SerdeShape): + """Describes the DNS options for an endpoint.""" + + dns_record_ip_type: str | None = ... + """The DNS records created for the endpoint.""" + private_dns_only_for_inbound_resolver_endpoint: bool | None = ... + """ + Indicates whether to enable private DNS only for inbound endpoints. This + option is available only for services that support both gateway and + interface endpoints. It routes traffic that originates from the VPC to + the gateway endpoint and traffic that originates from on-premises to the + interface endpoint. + """ + private_dns_preference: str | None = ... + """ + The preference for which private domains have a private hosted zone + created for and associated with the specified VPC. Only supported when + private DNS is enabled and when the VPC endpoint type is ServiceNetwork + or Resource. + + - `ALL_DOMAINS` - VPC Lattice provisions private hosted zones for all + custom domain names. + + - `VERIFIED_DOMAINS_ONLY` - VPC Lattice provisions a private hosted zone + only if custom domain name has been verified by the provider. + + - `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS` - VPC Lattice provisions + private hosted zones for all verified custom domain names and other + domain names that the resource consumer specifies. The resource + consumer specifies the domain names in the PrivateDnsSpecifiedDomains + parameter. + + - `SPECIFIED_DOMAINS_ONLY` - VPC Lattice provisions a private hosted + zone for domain names specified by the resource consumer. The resource + consumer specifies the domain names in the PrivateDnsSpecifiedDomains + parameter. + """ + private_dns_specified_domains: list[str] | None = ... + """ + Indicates which of the private domains to create private hosted zones + for and associate with the specified VPC. Only supported when private + DNS is enabled and the private DNS preference is + verified-domains-and-specified-domains or specified-domains-only. + """ + +class DnsRecordIpType(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + DUALSTACK = "dualstack" + IPV6 = "ipv6" + SERVICE_DEFINED = "service-defined" + +@dataclass(kw_only=True) +class DnsServersOptionsModifyStructure(_SerdeShape): + """Information about the DNS server to be used.""" + + custom_dns_servers: list[str] | None = ... + """ + The IPv4 address range, in CIDR notation, of the DNS servers to be used. + You can specify up to two DNS servers. Ensure that the DNS servers can + be reached by the clients. The specified values overwrite the existing + values. + """ + enabled: bool | None = ... + """ + Indicates whether DNS servers should be used. Specify `False` to delete + the existing DNS servers. + """ + +class DnsSupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class DomainType(UnknownEnumMixin, StrEnum): + VPC = "vpc" + STANDARD = "standard" + +class DynamicRoutingValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +@dataclass(kw_only=True) +class EbsBlockDevice(_SerdeShape): + """Describes a block device for an EBS volume.""" + + delete_on_termination: bool | None = ... + """ + Indicates whether the EBS volume is deleted on instance termination. For + more information, see [Preserving Amazon EBS volumes on instance + termination](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination) + in the *Amazon EC2 User Guide*. + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS). For `gp3`, `io1`, and + `io2` volumes, this represents the number of IOPS that are provisioned + for the volume. For `gp2` volumes, this represents the baseline + performance of the volume and the rate at which the volume accumulates + I/O credits for bursting. + + The following are the supported values for each volume type: + + - `gp3`: 3,000 - 80,000 IOPS + + - `io1`: 100 - 64,000 IOPS + + - `io2`: 100 - 256,000 IOPS + + For `io2` volumes, you can achieve up to 256,000 IOPS on [instances + built on the Nitro + System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). + On other instances, you can achieve performance up to 32,000 IOPS. + + This parameter is required for `io1` and `io2` volumes. The default for + `gp3` volumes is 3,000 IOPS. + """ + snapshot_id: str | None = ... + """The ID of the snapshot.""" + volume_size: int | None = ... + """ + The size of the volume, in GiBs. You must specify either a snapshot ID + or a volume size. If you specify a snapshot, the default is the snapshot + size. You can specify a volume size that is equal to or larger than the + snapshot size. + + The following are the supported sizes for each volume type: + + - `gp2`: 1 - 16,384 GiB + + - `gp3`: 1 - 65,536 GiB + + - `io1`: 4 - 16,384 GiB + + - `io2`: 4 - 65,536 GiB + + - `st1` and `sc1`: 125 - 16,384 GiB + + - `standard`: 1 - 1024 GiB + """ + volume_type: str | None = ... + """ + The volume type. For more information, see [Amazon EBS volume + types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) + in the *Amazon EBS User Guide*. + """ + kms_key_id: str | None = ... + """ + Identifier (key ID, key alias, key ARN, or alias ARN) of the customer + managed KMS key to use for EBS encryption. + + This parameter is only supported on `BlockDeviceMapping` objects called + by + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), + [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html), + and + [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html). + """ + throughput: int | None = ... + """ + The throughput that the volume supports, in MiB/s. + + This parameter is valid only for `gp3` volumes. + + Valid Range: Minimum value of 125. Maximum value of 2,000. + """ + outpost_arn: str | None = ... + """ + The ARN of the Outpost on which the snapshot is stored. + + This parameter is not supported when using + [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html). + """ + availability_zone: str | None = ... + """ + The Availability Zone where the EBS volume will be created (for example, + `us-east-1a`). + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both. If neither is specified, Amazon EC2 automatically selects an + Availability Zone within the Region. + + This parameter is not supported when using + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html), + [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html), + [DescribeImages](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html), + [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html), + [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html), + and + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). + """ + encrypted: bool | None = ... + """ + Indicates whether the encryption state of an EBS volume is changed while + being restored from a backing snapshot. The effect of setting the + encryption state to `true` depends on the volume origin (new or from a + snapshot), starting encryption state, ownership, and whether encryption + by default is enabled. For more information, see [Amazon EBS + encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html#encryption-parameters) + in the *Amazon EBS User Guide*. + + In no case can you remove encryption from an encrypted volume. + + Encrypted volumes can only be attached to instances that support Amazon + EBS encryption. For more information, see [Supported instance + types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances). + + This parameter is not returned by DescribeImageAttribute. + + For CreateImage and RegisterImage, whether you can include this + parameter, and the allowed values differ depending on the type of block + device mapping you are creating. + + - If you are creating a block device mapping for a **new (empty) + volume**, you can include this parameter, and specify either `true` + for an encrypted volume, or `false` for an unencrypted volume. If you + omit this parameter, it defaults to `false` (unencrypted). + + - If you are creating a block device mapping from an **existing + encrypted or unencrypted snapshot**, you must omit this parameter. If + you include this parameter, the request will fail, regardless of the + value that you specify. + + - If you are creating a block device mapping from an **existing + unencrypted volume**, you can include this parameter, but you must + specify `false`. If you specify `true`, the request will fail. In this + case, we recommend that you omit the parameter. + + - If you are creating a block device mapping from an **existing + encrypted volume**, you can include this parameter, and specify either + `true` or `false`. However, if you specify `false`, the parameter is + ignored and the block device mapping is always encrypted. In this + case, we recommend that you omit the parameter. + """ + volume_initialization_rate: int | None = ... + """ + Specifies the Amazon EBS Provisioned Rate for Volume Initialization + (volume initialization rate), in MiB/s, at which to download the + snapshot blocks from Amazon S3 to the volume. This is also known as + *volume initialization*. Specifying a volume initialization rate ensures + that the volume is initialized at a predictable and consistent rate + after creation. For more information, see [Initialize Amazon EBS + volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) + in the *Amazon EC2 User Guide*. + + This parameter is supported only for volumes created from snapshots. + Omit this parameter if: + + - You want to create the volume using fast snapshot restore. You must + specify a snapshot that is enabled for fast snapshot restore. In this + case, the volume is fully initialized at creation. + + Note: + If you specify a snapshot that is enabled for fast snapshot restore + and a volume initialization rate, the volume will be initialized at + the specified rate instead of fast snapshot restore. + + - You want to create a volume that is initialized at the default rate. + + This parameter is not supported when using + [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html) + and + [DescribeImages](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html). + + Valid range: 100 - 300 MiB/s + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone where the EBS volume will be created + (for example, `use1-az1`). + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both. If neither is specified, Amazon EC2 automatically selects an + Availability Zone within the Region. + + This parameter is not supported when using + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html), + [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html), + [DescribeImages](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html), + [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html), + [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html), + and + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). + """ + ebs_card_index: int | None = ... + """ + The index of the EBS card. Some instance types support multiple EBS + cards. The default EBS card index is 0. + """ + +@dataclass(kw_only=True) +class EbsBlockDeviceResponse(_SerdeShape): + """Describes a block device for an EBS volume.""" + + encrypted: bool | None = ... + """Indicates whether the volume is encrypted.""" + delete_on_termination: bool | None = ... + """Indicates whether the volume is deleted on instance termination.""" + iops: int | None = ... + """ + The number of I/O operations per second (IOPS). For `gp3`, `io1`, and + `io2` volumes, this represents the number of IOPS that are provisioned + for the volume. For `gp2` volumes, this represents the baseline + performance of the volume and the rate at which the volume accumulates + I/O credits for bursting. + """ + throughput: int | None = ... + """The throughput that the volume supports, in MiB/s.""" + kms_key_id: str | None = ... + """ + Identifier (key ID, key alias, key ARN, or alias ARN) of the customer + managed KMS key to use for EBS encryption. + """ + snapshot_id: str | None = ... + """The ID of the snapshot.""" + volume_size: int | None = ... + """The size of the volume, in GiBs.""" + volume_type: str | None = ... + """ + The volume type. For more information, see [Amazon EBS volume + types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) + in the *Amazon EBS User Guide*. + """ + +@dataclass(kw_only=True) +class EbsCardInfo(_SerdeShape): + """ + Describes the performance characteristics of an EBS card on the instance + type. + """ + + ebs_card_index: int | None = ... + """The index of the EBS card.""" + baseline_bandwidth_in_mbps: int | None = ... + """The baseline bandwidth performance for the EBS card, in Mbps.""" + baseline_throughput_in_m_bps: float | None = ... + """The baseline throughput performance for the EBS card, in MBps.""" + baseline_iops: int | None = ... + """The baseline IOPS performance for the EBS card.""" + maximum_bandwidth_in_mbps: int | None = ... + """The maximum bandwidth performance for the EBS card, in Mbps.""" + maximum_throughput_in_m_bps: float | None = ... + """The maximum throughput performance for the EBS card, in MBps.""" + maximum_iops: int | None = ... + """The maximum IOPS performance for the EBS card.""" + +class EbsEncryptionSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + +@dataclass(kw_only=True) +class EbsInfo(_SerdeShape): + """Describes the Amazon EBS features supported by the instance type.""" + + ebs_optimized_support: str | None = ... + """ + Indicates whether the instance type is Amazon EBS-optimized. For more + information, see [Amazon EBS-optimized + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) + in *Amazon EC2 User Guide*. + """ + encryption_support: str | None = ... + """Indicates whether Amazon EBS encryption is supported.""" + ebs_optimized_info: EbsOptimizedInfo | None = ... + """Describes the optimized EBS performance for the instance type.""" + nvme_support: str | None = ... + """Indicates whether non-volatile memory express (NVMe) is supported.""" + maximum_ebs_attachments: int | None = ... + """ + Indicates the maximum number of Amazon EBS volumes that can be attached + to the instance type. For more information, see [Amazon EBS volume + limits for Amazon EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html) + in the *Amazon EC2 User Guide*. + """ + attachment_limit_type: str | None = ... + """ + Indicates whether the instance type features a shared or dedicated + Amazon EBS volume attachment limit. For more information, see [Amazon + EBS volume limits for Amazon EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html) + in the *Amazon EC2 User Guide*. + """ + maximum_ebs_cards: int | None = ... + """Indicates the number of EBS cards supported by the instance type.""" + ebs_cards: list[EbsCardInfo] | None = ... + """Describes the EBS cards available for the instance type.""" + +@dataclass(kw_only=True) +class EbsInstanceBlockDevice(_SerdeShape): + """ + Describes a parameter used to set up an EBS volume in a block device + mapping. + """ + + attach_time: datetime | None = ... + """The time stamp when the attachment initiated.""" + delete_on_termination: bool | None = ... + """Indicates whether the volume is deleted on instance termination.""" + status: str | None = ... + """The attachment state.""" + volume_id: str | None = ... + """The ID of the EBS volume.""" + associated_resource: str | None = ... + """ + The ARN of the Amazon Web Services-managed resource to which the volume + is attached. + """ + volume_owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the volume. + + This parameter is returned only for volumes that are attached to Amazon + Web Services-managed resources. + """ + operator: OperatorResponse | None = ... + """The service provider that manages the EBS volume.""" + ebs_card_index: int | None = ... + """ + The index of the EBS card. Some instance types support multiple EBS + cards. The default EBS card index is 0. + """ + +@dataclass(kw_only=True) +class EbsInstanceBlockDeviceSpecification(_SerdeShape): + """ + Describes information used to set up an EBS volume specified in a block + device mapping. + """ + + volume_id: str | None = ... + """The ID of the EBS volume.""" + delete_on_termination: bool | None = ... + """Indicates whether the volume is deleted on instance termination.""" + +class EbsNvmeSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + REQUIRED = "required" + +@dataclass(kw_only=True) +class EbsOptimizedInfo(_SerdeShape): + """Describes the optimized EBS performance for supported instance types.""" + + baseline_bandwidth_in_mbps: int | None = ... + """ + The baseline bandwidth performance for an EBS-optimized instance type, + in Mbps. + """ + baseline_throughput_in_m_bps: float | None = ... + """ + The baseline throughput performance for an EBS-optimized instance type, + in MB/s. + """ + baseline_iops: int | None = ... + """ + The baseline input/output storage operations per seconds for an + EBS-optimized instance type. + """ + maximum_bandwidth_in_mbps: int | None = ... + """ + The maximum bandwidth performance for an EBS-optimized instance type, in + Mbps. + """ + maximum_throughput_in_m_bps: float | None = ... + """ + The maximum throughput performance for an EBS-optimized instance type, + in MB/s. + """ + maximum_iops: int | None = ... + """ + The maximum input/output storage operations per second for an + EBS-optimized instance type. + """ + +class EbsOptimizedSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + DEFAULT = "default" + +@dataclass(kw_only=True) +class EbsStatusDetails(_SerdeShape): + """Describes the attached EBS status check for an instance.""" + + impaired_since: datetime | None = ... + """The date and time when the attached EBS status check failed.""" + name: str | None = ... + """The name of the attached EBS status check.""" + status: str | None = ... + """The result of the attached EBS status check.""" + +@dataclass(kw_only=True) +class EbsStatusSummary(_SerdeShape): + """Provides a summary of the attached EBS volume status for an instance.""" + + details: list[EbsStatusDetails] | None = ... + """Details about the attached EBS status check for an instance.""" + status: str | None = ... + """The current status.""" + +@dataclass(kw_only=True) +class Ec2InstanceConnectEndpoint(_SerdeShape): + """Describes an EC2 Instance Connect Endpoint.""" + + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that created the EC2 Instance + Connect Endpoint. + """ + instance_connect_endpoint_id: str | None = ... + """The ID of the EC2 Instance Connect Endpoint.""" + instance_connect_endpoint_arn: str | None = ... + """The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.""" + state: str | None = ... + """The current state of the EC2 Instance Connect Endpoint.""" + state_message: str | None = ... + """ + The message for the current state of the EC2 Instance Connect Endpoint. + Can include a failure message. + """ + dns_name: str | None = ... + """The DNS name of the EC2 Instance Connect Endpoint.""" + fips_dns_name: str | None = ... + """ + The Federal Information Processing Standards (FIPS) compliant DNS name + of the EC2 Instance Connect Endpoint. + """ + network_interface_ids: list[str] | None = ... + """ + The ID of the elastic network interface that Amazon EC2 automatically + created when creating the EC2 Instance Connect Endpoint. + """ + vpc_id: str | None = ... + """ + The ID of the VPC in which the EC2 Instance Connect Endpoint was + created. + """ + availability_zone: str | None = ... + """The Availability Zone of the EC2 Instance Connect Endpoint.""" + created_at: datetime | None = ... + """The date and time that the EC2 Instance Connect Endpoint was created.""" + subnet_id: str | None = ... + """ + The ID of the subnet in which the EC2 Instance Connect Endpoint was + created. + """ + preserve_client_ip: bool | None = ... + """ + Indicates whether your client's IP address is preserved as the source + when you connect to a resource. The following are the possible values. + + - `true` - Use the IP address of the client. Your instance must have an + IPv4 address. + + - `false` - Use the IP address of the network interface. + + Default: `false` + """ + security_group_ids: list[str] | None = ... + """ + The security groups associated with the endpoint. If you didn't specify + a security group, the default security group for your VPC is associated + with the endpoint. + """ + tags: list[Tag] | None = ... + """The tags assigned to the EC2 Instance Connect Endpoint.""" + ip_address_type: str | None = ... + """The IP address type of the endpoint.""" + public_dns_names: InstanceConnectEndpointPublicDnsNames | None = ... + """The public DNS names of the endpoint.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone of the EC2 Instance Connect Endpoint.""" + +class Ec2InstanceConnectEndpointState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + UPDATE_IN_PROGRESS = "update-in-progress" + UPDATE_COMPLETE = "update-complete" + UPDATE_FAILED = "update-failed" + +@dataclass(kw_only=True) +class EfaInfo(_SerdeShape): + """Describes the Elastic Fabric Adapters for the instance type.""" + + maximum_efa_interfaces: int | None = ... + """The maximum number of Elastic Fabric Adapters for the instance type.""" + +@dataclass(kw_only=True) +class EgressOnlyInternetGateway(_SerdeShape): + """Describes an egress-only internet gateway.""" + + attachments: list[InternetGatewayAttachment] | None = ... + """Information about the attachment of the egress-only internet gateway.""" + egress_only_internet_gateway_id: str | None = ... + """The ID of the egress-only internet gateway.""" + tags: list[Tag] | None = ... + """The tags assigned to the egress-only internet gateway.""" + +class EkPubKeyFormat(UnknownEnumMixin, StrEnum): + DER = "der" + TPMT = "tpmt" + +class EkPubKeyType(UnknownEnumMixin, StrEnum): + RSA_2048 = "rsa-2048" + ECC_SEC_P384 = "ecc-sec-p384" + +@dataclass(kw_only=True) +class ElasticGpuAssociation(_SerdeShape): + """ + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + + Describes the association between an instance and an Elastic Graphics + accelerator. + """ + + elastic_gpu_id: str | None = ... + """The ID of the Elastic Graphics accelerator.""" + elastic_gpu_association_id: str | None = ... + """The ID of the association.""" + elastic_gpu_association_state: str | None = ... + """ + The state of the association between the instance and the Elastic + Graphics accelerator. + """ + elastic_gpu_association_time: str | None = ... + """ + The time the Elastic Graphics accelerator was associated with the + instance. + """ + +@dataclass(kw_only=True) +class ElasticGpuHealth(_SerdeShape): + """ + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + + Describes the status of an Elastic Graphics accelerator. + """ + + status: str | None = ... + """The health status.""" + +@dataclass(kw_only=True) +class ElasticGpus(_SerdeShape): + """ + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + + Describes an Elastic Graphics accelerator. + """ + + elastic_gpu_id: str | None = ... + """The ID of the Elastic Graphics accelerator.""" + availability_zone: str | None = ... + """ + The Availability Zone in the which the Elastic Graphics accelerator + resides. + """ + elastic_gpu_type: str | None = ... + """The type of Elastic Graphics accelerator.""" + elastic_gpu_health: ElasticGpuHealth | None = ... + """The status of the Elastic Graphics accelerator.""" + elastic_gpu_state: str | None = ... + """The state of the Elastic Graphics accelerator.""" + instance_id: str | None = ... + """ + The ID of the instance to which the Elastic Graphics accelerator is + attached. + """ + tags: list[Tag] | None = ... + """The tags assigned to the Elastic Graphics accelerator.""" + +@dataclass(kw_only=True) +class ElasticGpuSpecification(_SerdeShape): + """ + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + + A specification for an Elastic Graphics accelerator. + """ + + type: str | None = ... + """The type of Elastic Graphics accelerator.""" + +@dataclass(kw_only=True) +class ElasticGpuSpecificationResponse(_SerdeShape): + """ + Deprecated. + + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + """ + + type: str | None = ... + """ + Deprecated. + + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + """ + +class ElasticGpuState(UnknownEnumMixin, StrEnum): + ATTACHED = "ATTACHED" + +class ElasticGpuStatus(UnknownEnumMixin, StrEnum): + OK = "OK" + IMPAIRED = "IMPAIRED" + +@dataclass(kw_only=True) +class ElasticInferenceAccelerator(_SerdeShape): + """ + Note: + Amazon Elastic Inference is no longer available. + + Describes an elastic inference accelerator. + """ + + type: str | None = ... + """ + The type of elastic inference accelerator. The possible values are + `eia1.medium`, `eia1.large`, `eia1.xlarge`, `eia2.medium`, `eia2.large`, + and `eia2.xlarge`. + """ + count: int | None = ... + """ + The number of elastic inference accelerators to attach to the instance. + + Default: 1 + """ + +@dataclass(kw_only=True) +class ElasticInferenceAcceleratorAssociation(_SerdeShape): + """ + Note: + Amazon Elastic Inference is no longer available. + + Describes the association between an instance and an elastic inference + accelerator. + """ + + elastic_inference_accelerator_arn: str | None = ... + """The Amazon Resource Name (ARN) of the elastic inference accelerator.""" + elastic_inference_accelerator_association_id: str | None = ... + """The ID of the association.""" + elastic_inference_accelerator_association_state: str | None = ... + """The state of the elastic inference accelerator.""" + elastic_inference_accelerator_association_time: datetime | None = ... + """ + The time at which the elastic inference accelerator is associated with + an instance. + """ + +@dataclass(kw_only=True) +class EnableAddressTransferInput(_SerdeShape): + """Dataclass for EnableAddressTransferInput structure.""" + + allocation_id: str | None = ... + """The allocation ID of an Elastic IP address.""" + transfer_account_id: str | None = ... + """ + The ID of the account that you want to transfer the Elastic IP address + to. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableAddressTransferOutput(_SerdeShape): + """Dataclass for EnableAddressTransferOutput structure.""" + + address_transfer: AddressTransfer | None = ... + """An Elastic IP address transfer.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableAllowedImagesSettingsInput(_SerdeShape): + """Dataclass for EnableAllowedImagesSettingsInput structure.""" + + allowed_images_settings_state: str | None = ... + """ + Specify `enabled` to apply the image criteria specified by the Allowed + AMIs settings. Specify `audit-mode` so that you can check which AMIs + will be allowed or not allowed by the image criteria. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableAllowedImagesSettingsOutput(_SerdeShape): + """Dataclass for EnableAllowedImagesSettingsOutput structure.""" + + allowed_images_settings_state: str | None = ... + """ + Returns `enabled` or `audit-mode` if the request succeeds; otherwise, it + returns an error. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableApplicationStatusCheckSuppressionInput(_SerdeShape): + """Dataclass for EnableApplicationStatusCheckSuppressionInput structure.""" + + instance_ids: list[str] | None = ... + """ + The IDs of the instances for which to suppress application status + checks. + """ + duration_seconds: int | None = ... + """ + The duration, in seconds, for which to suppress application status + checks. If omitted, the application status check is suppressed + indefinitely until you call `DisableApplicationStatusCheckSuppression`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure that the + operation completes no more than one time. If you retry a request with + the same token, the service ignores the request but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableApplicationStatusCheckSuppressionOutput(_SerdeShape): + """Dataclass for EnableApplicationStatusCheckSuppressionOutput structure.""" + + successful_results: list[SuccessfulSuppressionResponseObject] | None = ... + """The instances for which suppression was successfully enabled.""" + unsuccessful_results: list[UnsuccessfulSuppressionResponseObject] | None = ... + """The instances for which suppression failed to be enabled.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableAwsNetworkPerformanceMetricSubscriptionInput(_SerdeShape): + """ + Dataclass for EnableAwsNetworkPerformanceMetricSubscriptionInput + structure. + """ + + source: str | None = ... + """ + The source Region (like `us-east-1`) or Availability Zone ID (like + `use1-az1`) that the metric subscription is enabled for. If you use + Availability Zone IDs, the Source and Destination Availability Zones + must be in the same Region. + """ + destination: str | None = ... + """ + The target Region (like `us-east-2`) or Availability Zone ID (like + `use2-az2`) that the metric subscription is enabled for. If you use + Availability Zone IDs, the Source and Destination Availability Zones + must be in the same Region. + """ + metric: str | None = ... + """The metric used for the enabled subscription.""" + statistic: str | None = ... + """The statistic used for the enabled subscription.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableAwsNetworkPerformanceMetricSubscriptionOutput(_SerdeShape): + """ + Dataclass for EnableAwsNetworkPerformanceMetricSubscriptionOutput + structure. + """ + + output: bool | None = ... + """Indicates whether the subscribe action was successful.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableCapacityManagerInput(_SerdeShape): + """Dataclass for EnableCapacityManagerInput structure.""" + + organizations_access: bool | None = ... + """ + Specifies whether to enable cross-account access for Amazon Web Services + Organizations. When enabled, Capacity Manager can aggregate data from + all accounts in your organization. Default is false. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class EnableCapacityManagerOutput(_SerdeShape): + """Dataclass for EnableCapacityManagerOutput structure.""" + + capacity_manager_status: str | None = ... + """The current status of Capacity Manager after the enable operation.""" + organizations_access: bool | None = ... + """ + Indicates whether Organizations access is enabled for cross-account data + aggregation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableEbsEncryptionByDefaultInput(_SerdeShape): + """Dataclass for EnableEbsEncryptionByDefaultInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableEbsEncryptionByDefaultOutput(_SerdeShape): + """Dataclass for EnableEbsEncryptionByDefaultOutput structure.""" + + ebs_encryption_by_default: bool | None = ... + """The updated status of encryption by default.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableFastLaunchInput(_SerdeShape): + """Dataclass for EnableFastLaunchInput structure.""" + + image_id: str | None = ... + """Specify the ID of the image for which to enable Windows fast launch.""" + resource_type: str | None = ... + """ + The type of resource to use for pre-provisioning the AMI for Windows + fast launch. Supported values include: `snapshot`, which is the default + value. + """ + snapshot_configuration: FastLaunchSnapshotConfigurationRequest | None = ... + """ + Configuration settings for creating and managing the snapshots that are + used for pre-provisioning the AMI for Windows fast launch. The + associated `ResourceType` must be `snapshot`. + """ + launch_template: FastLaunchLaunchTemplateSpecificationRequest | None = ... + """ + The launch template to use when launching Windows instances from + pre-provisioned snapshots. Launch template parameters can include either + the name or ID of the launch template, but not both. + """ + max_parallel_launches: int | None = ... + """ + The maximum number of instances that Amazon EC2 can launch at the same + time to create pre-provisioned snapshots for Windows fast launch. Value + must be `6` or greater. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableFastLaunchOutput(_SerdeShape): + """Dataclass for EnableFastLaunchOutput structure.""" + + image_id: str | None = ... + """ + The image ID that identifies the AMI for which Windows fast launch was + enabled. + """ + resource_type: str | None = ... + """ + The type of resource that was defined for pre-provisioning the AMI for + Windows fast launch. + """ + snapshot_configuration: FastLaunchSnapshotConfigurationResponse | None = ... + """ + Settings to create and manage the pre-provisioned snapshots that Amazon + EC2 uses for faster launches from the Windows AMI. This property is + returned when the associated `resourceType` is `snapshot`. + """ + launch_template: FastLaunchLaunchTemplateSpecificationResponse | None = ... + """ + The launch template that is used when launching Windows instances from + pre-provisioned snapshots. + """ + max_parallel_launches: int | None = ... + """ + The maximum number of instances that Amazon EC2 can launch at the same + time to create pre-provisioned snapshots for Windows fast launch. + """ + owner_id: str | None = ... + """The owner ID for the AMI for which Windows fast launch was enabled.""" + state: str | None = ... + """The current state of Windows fast launch for the specified AMI.""" + state_transition_reason: str | None = ... + """The reason that the state changed for Windows fast launch for the AMI.""" + state_transition_time: datetime | None = ... + """The time that the state changed for Windows fast launch for the AMI.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableFastSnapshotRestoreErrorItem(_SerdeShape): + """ + Contains information about the errors that occurred when enabling fast + snapshot restores. + """ + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + fast_snapshot_restore_state_errors: ( + list[EnableFastSnapshotRestoreStateErrorItem] | None + ) = ... + """The errors.""" + +@dataclass(kw_only=True) +class EnableFastSnapshotRestoresInput(_SerdeShape): + """Dataclass for EnableFastSnapshotRestoresInput structure.""" + + availability_zones: list[str] | None = ... + """ + One or more Availability Zones. For example, `us-east-2a`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + availability_zone_ids: list[str] | None = ... + """ + One or more Availability Zone IDs. For example, `use2-az1`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + source_snapshot_ids: list[str] | None = ... + """ + The IDs of one or more snapshots. For example, `snap-1234567890abcdef0`. + You can specify a snapshot that was shared with you from another Amazon + Web Services account. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableFastSnapshotRestoresOutput(_SerdeShape): + """Dataclass for EnableFastSnapshotRestoresOutput structure.""" + + successful: list[EnableFastSnapshotRestoreSuccessItem] | None = ... + """ + Information about the snapshots for which fast snapshot restores were + successfully enabled. + """ + unsuccessful: list[EnableFastSnapshotRestoreErrorItem] | None = ... + """ + Information about the snapshots for which fast snapshot restores could + not be enabled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableFastSnapshotRestoreStateError(_SerdeShape): + """Describes an error that occurred when enabling fast snapshot restores.""" + + code: str | None = ... + """The error code.""" + message: str | None = ... + """The error message.""" + +@dataclass(kw_only=True) +class EnableFastSnapshotRestoreStateErrorItem(_SerdeShape): + """ + Contains information about an error that occurred when enabling fast + snapshot restores. + """ + + availability_zone: str | None = ... + """The Availability Zone.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + error: EnableFastSnapshotRestoreStateError | None = ... + """The error.""" + +@dataclass(kw_only=True) +class EnableFastSnapshotRestoreSuccessItem(_SerdeShape): + """Describes fast snapshot restores that were successfully enabled.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + availability_zone: str | None = ... + """The Availability Zone.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + state: str | None = ... + """The state of fast snapshot restores.""" + state_transition_reason: str | None = ... + """ + The reason for the state transition. The possible values are as follows: + + - `Client.UserInitiated` - The state successfully transitioned to + `enabling` or `disabling`. + + - `Client.UserInitiated - Lifecycle state transition` - The state + successfully transitioned to `optimizing`, `enabled`, or `disabled`. + """ + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that enabled fast snapshot + restores on the snapshot. + """ + owner_alias: str | None = ... + """ + The Amazon Web Services owner alias that enabled fast snapshot restores + on the snapshot. This is intended for future use. + """ + enabling_time: datetime | None = ... + """The time at which fast snapshot restores entered the `enabling` state.""" + optimizing_time: datetime | None = ... + """The time at which fast snapshot restores entered the `optimizing` state.""" + enabled_time: datetime | None = ... + """The time at which fast snapshot restores entered the `enabled` state.""" + disabling_time: datetime | None = ... + """The time at which fast snapshot restores entered the `disabling` state.""" + disabled_time: datetime | None = ... + """The time at which fast snapshot restores entered the `disabled` state.""" + +@dataclass(kw_only=True) +class EnableImageBlockPublicAccessInput(_SerdeShape): + """Dataclass for EnableImageBlockPublicAccessInput structure.""" + + image_block_public_access_state: str | None = ... + """ + Specify `block-new-sharing` to enable block public access for AMIs at + the account level in the specified Region. This will block any attempt + to publicly share your AMIs in the specified Region. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableImageBlockPublicAccessOutput(_SerdeShape): + """Dataclass for EnableImageBlockPublicAccessOutput structure.""" + + image_block_public_access_state: str | None = ... + """ + Returns `block-new-sharing` if the request succeeds; otherwise, it + returns an error. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableImageDeprecationInput(_SerdeShape): + """Dataclass for EnableImageDeprecationInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + deprecate_at: datetime | None = ... + """ + The date and time to deprecate the AMI, in UTC, in the following format: + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z. If you specify a value for seconds, + Amazon EC2 rounds the seconds to the nearest minute. + + You can't specify a date in the past. The upper limit for `DeprecateAt` + is 10 years from now, except for public AMIs, where the upper limit is 2 + years from the creation date. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableImageDeprecationOutput(_SerdeShape): + """Dataclass for EnableImageDeprecationOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableImageDeregistrationProtectionInput(_SerdeShape): + """Dataclass for EnableImageDeregistrationProtectionInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + with_cooldown: bool | None = ... + """ + If `true`, enforces deregistration protection for 24 hours after + deregistration protection is disabled. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableImageDeregistrationProtectionOutput(_SerdeShape): + """Dataclass for EnableImageDeregistrationProtectionOutput structure.""" + + return_: str | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableImageInput(_SerdeShape): + """Dataclass for EnableImageInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableImageOutput(_SerdeShape): + """Dataclass for EnableImageOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableInstanceSqlHaStandbyDetectionsInput(_SerdeShape): + """Dataclass for EnableInstanceSqlHaStandbyDetectionsInput structure.""" + + instance_ids: list[str] | None = ... + """ + The IDs of the instances to enable for SQL Server High Availability + standby detection monitoring. + """ + sql_server_credentials: str | None = ... + """ + The ARN of the Secrets Manager secret containing the SQL Server access + credentials. The specified secret must contain valid SQL Server + credentials for the specified instances. If not specified, deafult local + user credentials will be used by the Amazon Web Services Systems Manager + agent. To enable instances with different credentials, you must make + separate requests. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableInstanceSqlHaStandbyDetectionsOutput(_SerdeShape): + """Dataclass for EnableInstanceSqlHaStandbyDetectionsOutput structure.""" + + instances: list[RegisteredInstance] | None = ... + """ + Information about the instances that were enabled for SQL Server High + Availability standby detection monitoring. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableIpamInternetRegistryAssociationInput(_SerdeShape): + """Dataclass for EnableIpamInternetRegistryAssociationInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association to enable.""" + rpki_version: str | None = ... + """The RPKI version to use from the Parent Response XML.""" + service_uri: str | None = ... + """ + The RPKI service URI for the publication point from the Parent Response + XML. + """ + child_handle: str | None = ... + """ + The child handle for the BPKI certificate hierarchy from the Parent + Response XML. + """ + parent_handle: str | None = ... + """ + The parent handle for the BPKI certificate hierarchy from the Parent + Response XML. + """ + parent_bpki_ta: str | None = ... + """ + The parent BPKI Trust Anchor certificate in PEM format from the Parent + Response XML. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, the operation ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class EnableIpamInternetRegistryAssociationOutput(_SerdeShape): + """Dataclass for EnableIpamInternetRegistryAssociationOutput structure.""" + + ipam_internet_registry_association: IpamInternetRegistryAssociation | None = ... + """Information about the enabled internet registry association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableIpamOrganizationAdminAccountInput(_SerdeShape): + """Dataclass for EnableIpamOrganizationAdminAccountInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + delegated_admin_account_id: str | None = ... + """ + The Organizations member account ID that you want to enable as the IPAM + account. + """ + +@dataclass(kw_only=True) +class EnableIpamOrganizationAdminAccountOutput(_SerdeShape): + """Dataclass for EnableIpamOrganizationAdminAccountOutput structure.""" + + success: bool | None = ... + """The result of enabling the IPAM account.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableIpamPolicyInput(_SerdeShape): + """Dataclass for EnableIpamPolicyInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_policy_id: str | None = ... + """The ID of the IPAM policy to enable.""" + organization_target_id: str | None = ... + """ + A target can be an individual Amazon Web Services account or an entity + within an Amazon Web Services Organization to which an IPAM policy can + be applied. + + The ID of the Amazon Web Services Organizations target for which to + enable the IPAM policy. This parameter is required only when IPAM is + integrated with Amazon Web Services Organizations. When IPAM is not + integrated with Amazon Web Services Organizations, omit this parameter + and the policy will apply to the current account. + """ + +@dataclass(kw_only=True) +class EnableIpamPolicyOutput(_SerdeShape): + """Dataclass for EnableIpamPolicyOutput structure.""" + + ipam_policy_id: str | None = ... + """The ID of the IPAM policy that was enabled.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableReachabilityAnalyzerOrganizationSharingInput(_SerdeShape): + """ + Dataclass for EnableReachabilityAnalyzerOrganizationSharingInput + structure. + """ + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableReachabilityAnalyzerOrganizationSharingOutput(_SerdeShape): + """ + Dataclass for EnableReachabilityAnalyzerOrganizationSharingOutput + structure. + """ + + return_value: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableRouteServerPropagationInput(_SerdeShape): + """Dataclass for EnableRouteServerPropagationInput structure.""" + + route_server_id: str | None = ... + """The ID of the route server for which to enable propagation.""" + route_table_id: str | None = ... + """The ID of the route table to which route server will propagate routes.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableRouteServerPropagationOutput(_SerdeShape): + """Dataclass for EnableRouteServerPropagationOutput structure.""" + + route_server_propagation: RouteServerPropagation | None = ... + """Information about the enabled route server propagation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableSerialConsoleAccessInput(_SerdeShape): + """Dataclass for EnableSerialConsoleAccessInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableSerialConsoleAccessOutput(_SerdeShape): + """Dataclass for EnableSerialConsoleAccessOutput structure.""" + + serial_console_access_enabled: bool | None = ... + """ + If `true`, access to the EC2 serial console of all instances is enabled + for your account. If `false`, access to the EC2 serial console of all + instances is disabled for your account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableSnapshotBlockPublicAccessInput(_SerdeShape): + """Dataclass for EnableSnapshotBlockPublicAccessInput structure.""" + + state: str | None = ... + """ + The mode in which to enable block public access for snapshots for the + Region. Specify one of the following values: + + - `block-all-sharing` - Prevents all public sharing of snapshots in the + Region. Users in the account will no longer be able to request new + public sharing. Additionally, snapshots that are already publicly + shared are treated as private and they are no longer publicly + available. + + - `block-new-sharing` - Prevents only new public sharing of snapshots in + the Region. Users in the account will no longer be able to request new + public sharing. However, snapshots that are already publicly shared, + remain publicly available. + + `unblocked` is not a valid value for + **EnableSnapshotBlockPublicAccess**. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableSnapshotBlockPublicAccessOutput(_SerdeShape): + """Dataclass for EnableSnapshotBlockPublicAccessOutput structure.""" + + state: str | None = ... + """ + The state of block public access for snapshots for the account and + Region. Returns either `block-all-sharing` or `block-new-sharing` if the + request succeeds. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableTransitGatewayRouteTablePropagationInput(_SerdeShape): + """Dataclass for EnableTransitGatewayRouteTablePropagationInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the propagation route table.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + transit_gateway_route_table_announcement_id: str | None = ... + """The ID of the transit gateway route table announcement.""" + +@dataclass(kw_only=True) +class EnableTransitGatewayRouteTablePropagationOutput(_SerdeShape): + """Dataclass for EnableTransitGatewayRouteTablePropagationOutput structure.""" + + propagation: TransitGatewayPropagation | None = ... + """Information about route propagation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableVgwRoutePropagationInput(_SerdeShape): + """Contains the parameters for EnableVgwRoutePropagation.""" + + gateway_id: str | None = ... + """ + The ID of the virtual private gateway that is attached to a VPC. The + virtual private gateway must be attached to the same VPC that the + routing tables are associated with. + """ + route_table_id: str | None = ... + """ + The ID of the route table. The routing table must be associated with the + same VPC that the virtual private gateway is attached to. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class EnableVgwRoutePropagationOutput(_SerdeShape): + """Dataclass for EnableVgwRoutePropagationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableVolumeIOInput(_SerdeShape): + """Dataclass for EnableVolumeIOInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + volume_id: str | None = ... + """The ID of the volume.""" + +@dataclass(kw_only=True) +class EnableVolumeIOOutput(_SerdeShape): + """Dataclass for EnableVolumeIOOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableVpcClassicLinkDnsSupportInput(_SerdeShape): + """Dataclass for EnableVpcClassicLinkDnsSupportInput structure.""" + + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class EnableVpcClassicLinkDnsSupportOutput(_SerdeShape): + """Dataclass for EnableVpcClassicLinkDnsSupportOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableVpcClassicLinkInput(_SerdeShape): + """Dataclass for EnableVpcClassicLinkInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + +@dataclass(kw_only=True) +class EnableVpcClassicLinkOutput(_SerdeShape): + """Dataclass for EnableVpcClassicLinkOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnaSrdSpecification(_SerdeShape): + """ + ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) + technology to increase the maximum bandwidth used per stream and + minimize tail latency of network traffic between EC2 instances. With ENA + Express, you can communicate between two EC2 instances in the same + subnet within the same account, or in different accounts. Both sending + and receiving instances must have ENA Express enabled. + + To improve the reliability of network packet delivery, ENA Express + reorders network packets on the receiving end by default. However, some + UDP-based applications are designed to handle network packets that are + out of order to reduce the overhead for packet delivery at the network + layer. When ENA Express is enabled, you can specify whether UDP network + traffic uses it. + """ + + ena_srd_enabled: bool | None = ... + """Indicates whether ENA Express is enabled for the network interface.""" + ena_srd_udp_specification: EnaSrdUdpSpecification | None = ... + """Configures ENA Express for UDP network traffic.""" + +@dataclass(kw_only=True) +class EnaSrdSpecificationRequest(_SerdeShape): + """ + Launch instances with ENA Express settings configured from your launch + template. + """ + + ena_srd_enabled: bool | None = ... + """ + Specifies whether ENA Express is enabled for the network interface when + you launch an instance. + """ + ena_srd_udp_specification: EnaSrdUdpSpecificationRequest | None = ... + """ + Contains ENA Express settings for UDP network traffic for the network + interface attached to the instance. + """ + +@dataclass(kw_only=True) +class EnaSrdUdpSpecification(_SerdeShape): + """ + ENA Express is compatible with both TCP and UDP transport protocols. + When it's enabled, TCP traffic automatically uses it. However, some + UDP-based applications are designed to handle network packets that are + out of order, without a need for retransmission, such as live video + broadcasting or other near-real-time applications. For UDP traffic, you + can specify whether to use ENA Express, based on your application + environment needs. + """ + + ena_srd_udp_enabled: bool | None = ... + """ + Indicates whether UDP traffic to and from the instance uses ENA Express. + To specify this setting, you must first enable ENA Express. + """ + +@dataclass(kw_only=True) +class EnaSrdUdpSpecificationRequest(_SerdeShape): + """ + Configures ENA Express for UDP network traffic from your launch + template. + """ + + ena_srd_udp_enabled: bool | None = ... + """ + Indicates whether UDP traffic uses ENA Express for your instance. To + ensure that UDP traffic can use ENA Express when you launch an instance, + you must also set **EnaSrdEnabled** in the + **EnaSrdSpecificationRequest** to `true`. + """ + +class EnaSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + REQUIRED = "required" + +@dataclass(kw_only=True) +class EnclaveOptions(_SerdeShape): + """ + Indicates whether the instance is enabled for Amazon Web Services Nitro + Enclaves. + """ + + enabled: bool | None = ... + """ + If this parameter is set to `true`, the instance is enabled for Amazon + Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web + Services Nitro Enclaves. + """ + +@dataclass(kw_only=True) +class EnclaveOptionsRequest(_SerdeShape): + """ + Indicates whether the instance is enabled for Amazon Web Services Nitro + Enclaves. For more information, see [What is Amazon Web Services Nitro + Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) + in the *Amazon Web Services Nitro Enclaves User Guide*. + """ + + enabled: bool | None = ... + """ + To enable the instance for Amazon Web Services Nitro Enclaves, set this + parameter to `true`. + """ + +class EncryptionStateValue(UnknownEnumMixin, StrEnum): + ENABLING = "enabling" + ENABLED = "enabled" + DISABLING = "disabling" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class EncryptionSupport(_SerdeShape): + """Describes the encryption support status for a transit gateway.""" + + encryption_state: str | None = ... + """The current encryption state of the resource.""" + state_message: str | None = ... + """A message describing the encryption state.""" + +class EncryptionSupportOptionValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class EndDateType(UnknownEnumMixin, StrEnum): + UNLIMITED = "unlimited" + LIMITED = "limited" + +class EndpointIpAddressType(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + IPV6 = "ipv6" + DUAL_STACK = "dual-stack" + +class EphemeralNvmeSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + REQUIRED = "required" + +class EventCode(UnknownEnumMixin, StrEnum): + INSTANCE_REBOOT = "instance-reboot" + SYSTEM_REBOOT = "system-reboot" + SYSTEM_MAINTENANCE = "system-maintenance" + INSTANCE_RETIREMENT = "instance-retirement" + INSTANCE_STOP = "instance-stop" + +@dataclass(kw_only=True) +class EventInformation(_SerdeShape): + """Describes an EC2 Fleet or Spot Fleet event.""" + + event_description: str | None = ... + """The description of the event.""" + event_sub_type: str | None = ... + """ + The event. + + `error` events: + + - `iamFleetRoleInvalid` - The EC2 Fleet or Spot Fleet does not have the + required permissions either to launch or terminate an instance. + + - `allLaunchSpecsTemporarilyBlacklisted` - None of the configurations + are valid, and several attempts to launch instances have failed. For + more information, see the description of the event. + + - `spotInstanceCountLimitExceeded` - You've reached the limit on the + number of Spot Instances that you can launch. + + - `spotFleetRequestConfigurationInvalid` - The configuration is not + valid. For more information, see the description of the event. + + `fleetRequestChange` events: + + - `active` - The EC2 Fleet or Spot Fleet request has been validated and + Amazon EC2 is attempting to maintain the target number of running + instances. + + - `deleted` (EC2 Fleet) / `cancelled` (Spot Fleet) - The EC2 Fleet is + deleted or the Spot Fleet request is canceled and has no running + instances. The EC2 Fleet or Spot Fleet will be deleted two days after + its instances are terminated. + + - `deleted_running` (EC2 Fleet) / `cancelled_running` (Spot Fleet) - The + EC2 Fleet is deleted or the Spot Fleet request is canceled and does + not launch additional instances. Its existing instances continue to + run until they are interrupted or terminated. The request remains in + this state until all instances are interrupted or terminated. + + - `deleted_terminating` (EC2 Fleet) / `cancelled_terminating` (Spot + Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is + canceled and its instances are terminating. The request remains in + this state until all instances are terminated. + + - `expired` - The EC2 Fleet or Spot Fleet request has expired. If the + request was created with `TerminateInstancesWithExpiration` set, a + subsequent `terminated` event indicates that the instances are + terminated. + + - `modify_in_progress` - The EC2 Fleet or Spot Fleet request is being + modified. The request remains in this state until the modification is + fully processed. + + - `modify_succeeded` - The EC2 Fleet or Spot Fleet request was modified. + + - `submitted` - The EC2 Fleet or Spot Fleet request is being evaluated + and Amazon EC2 is preparing to launch the target number of instances. + + - `progress` - The EC2 Fleet or Spot Fleet request is in the process of + being fulfilled. + + `instanceChange` events: + + - `launched` - A new instance was launched. + + - `terminated` - An instance was terminated by the user. + + - `termination_notified` - An instance termination notification was sent + when a Spot Instance was terminated by Amazon EC2 during scale-down, + when the target capacity of the fleet was modified down, for example, + from a target capacity of 4 to a target capacity of 3. + + `Information` events: + + - `fleetProgressHalted` - The price in every launch specification is not + valid because it is below the Spot price (all the launch + specifications have produced `launchSpecUnusable` events). A launch + specification might become valid if the Spot price changes. + + - `launchSpecTemporarilyBlacklisted` - The configuration is not valid + and several attempts to launch instances have failed. For more + information, see the description of the event. + + - `launchSpecUnusable` - The price specified in a launch specification + is not valid because it is below the Spot price for the requested Spot + pools. + + Note: Even if a fleet with the `maintain` request type is in the + process of being canceled, it may still publish a `launchSpecUnusable` + event. This does not mean that the canceled fleet is attempting to + launch a new instance. + + - `registerWithLoadBalancersFailed` - An attempt to register instances + with load balancers failed. For more information, see the description + of the event. + """ + instance_id: str | None = ... + """ + The ID of the instance. This information is available only for + `instanceChange` events. + """ + +class EventType(UnknownEnumMixin, StrEnum): + INSTANCE_CHANGE = "instanceChange" + BATCH_CHANGE = "fleetRequestChange" + ERROR = "error" + INFORMATION = "information" + +class ExcessCapacityTerminationPolicy(UnknownEnumMixin, StrEnum): + NO_TERMINATION = "noTermination" + DEFAULT = "default" + +@dataclass(kw_only=True) +class Explanation(_SerdeShape): + """ + Describes an explanation code for an unreachable path. For more + information, see [Reachability Analyzer explanation + codes](https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html). + """ + + acl: AnalysisComponent | None = ... + """The network ACL.""" + acl_rule: AnalysisAclRule | None = ... + """The network ACL rule.""" + address: str | None = ... + """The IPv4 address, in CIDR notation.""" + addresses: list[str] | None = ... + """The IPv4 addresses, in CIDR notation.""" + attached_to: AnalysisComponent | None = ... + """The resource to which the component is attached.""" + availability_zones: list[str] | None = ... + """The Availability Zones.""" + availability_zone_ids: list[str] | None = ... + """The IDs of the Availability Zones.""" + cidrs: list[str] | None = ... + """The CIDR ranges.""" + component: AnalysisComponent | None = ... + """The component.""" + customer_gateway: AnalysisComponent | None = ... + """The customer gateway.""" + destination: AnalysisComponent | None = ... + """The destination.""" + destination_vpc: AnalysisComponent | None = ... + """The destination VPC.""" + direction: str | None = ... + """ + The direction. The following are the possible values: + + - egress + + - ingress + """ + explanation_code: str | None = ... + """The explanation code.""" + ingress_route_table: AnalysisComponent | None = ... + """The route table.""" + internet_gateway: AnalysisComponent | None = ... + """The internet gateway.""" + load_balancer_arn: str | None = ... + """The Amazon Resource Name (ARN) of the load balancer.""" + classic_load_balancer_listener: AnalysisLoadBalancerListener | None = ... + """The listener for a Classic Load Balancer.""" + load_balancer_listener_port: int | None = ... + """The listener port of the load balancer.""" + load_balancer_target: AnalysisLoadBalancerTarget | None = ... + """The target.""" + load_balancer_target_group: AnalysisComponent | None = ... + """The target group.""" + load_balancer_target_groups: list[AnalysisComponent] | None = ... + """The target groups.""" + load_balancer_target_port: int | None = ... + """The target port.""" + elastic_load_balancer_listener: AnalysisComponent | None = ... + """The load balancer listener.""" + missing_component: str | None = ... + """The missing component.""" + nat_gateway: AnalysisComponent | None = ... + """The NAT gateway.""" + network_interface: AnalysisComponent | None = ... + """The network interface.""" + packet_field: str | None = ... + """The packet field.""" + vpc_peering_connection: AnalysisComponent | None = ... + """The VPC peering connection.""" + port: int | None = ... + """The port.""" + port_ranges: list[PortRange] | None = ... + """The port ranges.""" + prefix_list: AnalysisComponent | None = ... + """The prefix list.""" + protocols: list[str] | None = ... + """The protocols.""" + route_table_route: AnalysisRouteTableRoute | None = ... + """The route table route.""" + route_table: AnalysisComponent | None = ... + """The route table.""" + security_group: AnalysisComponent | None = ... + """The security group.""" + security_group_rule: AnalysisSecurityGroupRule | None = ... + """The security group rule.""" + security_groups: list[AnalysisComponent] | None = ... + """The security groups.""" + source_vpc: AnalysisComponent | None = ... + """The source VPC.""" + state: str | None = ... + """The state.""" + subnet: AnalysisComponent | None = ... + """The subnet.""" + subnet_route_table: AnalysisComponent | None = ... + """The route table for the subnet.""" + vpc: AnalysisComponent | None = ... + """The component VPC.""" + vpc_endpoint: AnalysisComponent | None = ... + """The VPC endpoint.""" + vpn_connection: AnalysisComponent | None = ... + """The VPN connection.""" + vpn_gateway: AnalysisComponent | None = ... + """The VPN gateway.""" + transit_gateway: AnalysisComponent | None = ... + """The transit gateway.""" + transit_gateway_route_table: AnalysisComponent | None = ... + """The transit gateway route table.""" + transit_gateway_route_table_route: TransitGatewayRouteTableRoute | None = ... + """The transit gateway route table route.""" + transit_gateway_policy_table: AnalysisComponent | None = ... + """The transit gateway policy table.""" + transit_gateway_policy_table_entry: ( + AnalysisTransitGatewayPolicyTableEntry | None + ) = ... + """The transit gateway policy table entry.""" + transit_gateway_attachment: AnalysisComponent | None = ... + """The transit gateway attachment.""" + component_account: str | None = ... + """The Amazon Web Services account for the component.""" + component_region: str | None = ... + """The Region for the component.""" + firewall_stateless_rule: FirewallStatelessRule | None = ... + """The Network Firewall stateless rule.""" + firewall_stateful_rule: FirewallStatefulRule | None = ... + """The Network Firewall stateful rule.""" + +@dataclass(kw_only=True) +class ExportClientVpnClientCertificateRevocationListInput(_SerdeShape): + """ + Dataclass for ExportClientVpnClientCertificateRevocationListInput + structure. + """ + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ExportClientVpnClientCertificateRevocationListOutput(_SerdeShape): + """ + Dataclass for ExportClientVpnClientCertificateRevocationListOutput + structure. + """ + + certificate_revocation_list: str | None = ... + """Information about the client certificate revocation list.""" + status: ClientCertificateRevocationListStatus | None = ... + """The current state of the client certificate revocation list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExportClientVpnClientConfigurationInput(_SerdeShape): + """Dataclass for ExportClientVpnClientConfigurationInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ExportClientVpnClientConfigurationOutput(_SerdeShape): + """Dataclass for ExportClientVpnClientConfigurationOutput structure.""" + + client_configuration: str | None = ... + """The contents of the Client VPN endpoint configuration file.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ExportEnvironment(UnknownEnumMixin, StrEnum): + CITRIX = "citrix" + VMWARE = "vmware" + MICROSOFT = "microsoft" + +@dataclass(kw_only=True) +class ExportImageInput(_SerdeShape): + """Dataclass for ExportImageInput structure.""" + + client_token: str | None = ... + """ + Token to enable idempotency for export image requests. + + This field is autopopulated if not provided. + """ + description: str | None = ... + """ + A description of the image being exported. The maximum length is 255 + characters. + """ + disk_image_format: str | None = ... + """The disk image format.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + image_id: str | None = ... + """The ID of the image.""" + s3_export_location: ExportTaskS3LocationRequest | None = ... + """ + The Amazon S3 bucket for the destination image. The destination bucket + must exist. + """ + role_name: str | None = ... + """ + The name of the role that grants VM Import/Export permission to export + images to your Amazon S3 bucket. If this parameter is not specified, the + default role is named 'vmimport'. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the export image task during creation.""" + +@dataclass(kw_only=True) +class ExportImageOutput(_SerdeShape): + """Dataclass for ExportImageOutput structure.""" + + description: str | None = ... + """A description of the image being exported.""" + disk_image_format: str | None = ... + """The disk image format for the exported image.""" + export_image_task_id: str | None = ... + """The ID of the export image task.""" + image_id: str | None = ... + """The ID of the image.""" + role_name: str | None = ... + """ + The name of the role that grants VM Import/Export permission to export + images to your Amazon S3 bucket. + """ + progress: str | None = ... + """The percent complete of the export image task.""" + s3_export_location: ExportTaskS3Location | None = ... + """Information about the destination Amazon S3 bucket.""" + status: str | None = ... + """ + The status of the export image task. The possible values are `active`, + `completed`, `deleting`, and `deleted`. + """ + status_message: str | None = ... + """The status message for the export image task.""" + tags: list[Tag] | None = ... + """Any tags assigned to the export image task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExportImageTask(_SerdeShape): + """Describes an export image task.""" + + description: str | None = ... + """A description of the image being exported.""" + export_image_task_id: str | None = ... + """The ID of the export image task.""" + image_id: str | None = ... + """The ID of the image.""" + progress: str | None = ... + """The percent complete of the export image task.""" + s3_export_location: ExportTaskS3Location | None = ... + """Information about the destination Amazon S3 bucket.""" + status: str | None = ... + """ + The status of the export image task. The possible values are `active`, + `completed`, `deleting`, and `deleted`. + """ + status_message: str | None = ... + """The status message for the export image task.""" + tags: list[Tag] | None = ... + """Any tags assigned to the export image task.""" + +@dataclass(kw_only=True) +class ExportTask(_SerdeShape): + """Describes an export instance task.""" + + description: str | None = ... + """A description of the resource being exported.""" + export_task_id: str | None = ... + """The ID of the export task.""" + export_to_s3_task: ExportToS3Task | None = ... + """Information about the export task.""" + instance_export_details: InstanceExportDetails | None = ... + """Information about the instance to export.""" + state: str | None = ... + """The state of the export task.""" + status_message: str | None = ... + """The status message related to the export task.""" + tags: list[Tag] | None = ... + """The tags for the export task.""" + +@dataclass(kw_only=True) +class ExportTaskS3Location(_SerdeShape): + """Describes the destination for an export image task.""" + + s3_bucket: str | None = ... + """The destination Amazon S3 bucket.""" + s3_prefix: str | None = ... + """The prefix (logical hierarchy) in the bucket.""" + +@dataclass(kw_only=True) +class ExportTaskS3LocationRequest(_SerdeShape): + """Describes the destination for an export image task.""" + + s3_bucket: str | None = ... + """The destination Amazon S3 bucket.""" + s3_prefix: str | None = ... + """The prefix (logical hierarchy) in the bucket.""" + +class ExportTaskState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + CANCELLING = "cancelling" + CANCELLED = "cancelled" + COMPLETED = "completed" + +@dataclass(kw_only=True) +class ExportToS3Task(_SerdeShape): + """Describes the format and location for the export task.""" + + container_format: str | None = ... + """ + The container format used to combine disk images with metadata (such as + OVF). If absent, only the disk image is exported. + """ + disk_image_format: str | None = ... + """The format for the exported image.""" + s3_bucket: str | None = ... + """ + The Amazon S3 bucket for the destination image. The destination bucket + must exist and have an access control list (ACL) attached that specifies + the Region-specific canonical account ID for the `Grantee`. For more + information about the ACL to your S3 bucket, see + [Prerequisites](https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#vmexport-prerequisites) + in the VM Import/Export User Guide. + """ + s3_key: str | None = ... + """The encryption key for your S3 bucket.""" + +@dataclass(kw_only=True) +class ExportToS3TaskSpecification(_SerdeShape): + """Describes an export instance task.""" + + disk_image_format: str | None = ... + """The format for the exported image.""" + container_format: str | None = ... + """ + The container format used to combine disk images with metadata (such as + OVF). If absent, only the disk image is exported. + """ + s3_bucket: str | None = ... + """ + The Amazon S3 bucket for the destination image. The destination bucket + must exist and have an access control list (ACL) attached that specifies + the Region-specific canonical account ID for the `Grantee`. For more + information about the ACL to your S3 bucket, see + [Prerequisites](https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#vmexport-prerequisites) + in the VM Import/Export User Guide. + """ + s3_prefix: str | None = ... + """ + The image is written to a single object in the Amazon S3 bucket at the + S3 key s3prefix + exportTaskId + '.' + diskImageFormat. + """ + +@dataclass(kw_only=True) +class ExportTransitGatewayRoutesInput(_SerdeShape): + """Dataclass for ExportTransitGatewayRoutesInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the route table.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `attachment.transit-gateway-attachment-id` - The id of the transit + gateway attachment. + + - `attachment.resource-id` - The resource id of the transit gateway + attachment. + + - `route-search.exact-match` - The exact match of the specified filter. + + - `route-search.longest-prefix-match` - The longest prefix that matches + the route. + + - `route-search.subnet-of-match` - The routes with a subnet that match + the specified CIDR filter. + + - `route-search.supernet-of-match` - The routes with a CIDR that + encompass the CIDR filter. For example, if you have 10.0.1.0/29 and + 10.0.1.0/31 routes in your route table and you specify + supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. + + - `state` - The state of the route (`active` | `blackhole`). + + - `transit-gateway-route-destination-cidr-block` - The CIDR range. + + - `type` - The type of route (`propagated` | `static`). + """ + s3_bucket: str | None = ... + """The name of the S3 bucket.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ExportTransitGatewayRoutesOutput(_SerdeShape): + """Dataclass for ExportTransitGatewayRoutesOutput structure.""" + + s3_location: str | None = ... + """ + The URL of the exported file in Amazon S3. For example, + s3://*bucket_name*/VPCTransitGateway/TransitGatewayRouteTables/*file_name*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExportVerifiedAccessInstanceClientConfigurationInput(_SerdeShape): + """ + Dataclass for ExportVerifiedAccessInstanceClientConfigurationInput + structure. + """ + + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ExportVerifiedAccessInstanceClientConfigurationOutput(_SerdeShape): + """ + Dataclass for ExportVerifiedAccessInstanceClientConfigurationOutput + structure. + """ + + version: str | None = ... + """The version.""" + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + region: str | None = ... + """The Region.""" + device_trust_providers: list[str] | None = ... + """The device trust providers.""" + user_trust_provider: ( + VerifiedAccessInstanceUserTrustProviderClientConfiguration | None + ) = ... + """The user identity trust provider.""" + open_vpn_configurations: ( + list[VerifiedAccessInstanceOpenVpnClientConfiguration] | None + ) = ... + """The Open VPN configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExternalAuthorityConfiguration(_SerdeShape): + """ + The configuration that links an Amazon VPC IPAM scope to an external + authority system. It specifies the type of external system and the + external resource identifier that identifies your account or instance in + that system. + + For more information, see [Integrate VPC IPAM with Infoblox + infrastructure](https://docs.aws.amazon.com/vpc/latest/ipam/integrate-infoblox-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + + type: str | None = ... + """The type of external authority.""" + external_resource_identifier: str | None = ... + """ + The identifier for the external resource managing this scope. For + Infoblox integrations, this is the Infoblox resource identifier in the + format + ``{=html}`.identity.account.```{=html}`.```{=html}. + """ + +@dataclass(kw_only=True) +class FailedCapacityReservationFleetCancellationResult(_SerdeShape): + """Describes a Capacity Reservation Fleet that could not be cancelled.""" + + capacity_reservation_fleet_id: str | None = ... + """The ID of the Capacity Reservation Fleet that could not be cancelled.""" + cancel_capacity_reservation_fleet_error: ( + CancelCapacityReservationFleetError | None + ) = ... + """Information about the Capacity Reservation Fleet cancellation error.""" + +@dataclass(kw_only=True) +class FailedQueuedPurchaseDeletion(_SerdeShape): + """Describes a Reserved Instance whose queued purchase was not deleted.""" + + error: DeleteQueuedReservedInstancesError | None = ... + """The error.""" + reserved_instances_id: str | None = ... + """The ID of the Reserved Instance.""" + +@dataclass(kw_only=True) +class FastLaunchLaunchTemplateSpecificationRequest(_SerdeShape): + """ + Request to create a launch template for a Windows fast launch enabled + AMI. + + Note: + Note - You can specify either the `LaunchTemplateName` or the + `LaunchTemplateId`, but not both. + """ + + launch_template_id: str | None = ... + """ + Specify the ID of the launch template that the AMI should use for + Windows fast launch. + """ + launch_template_name: str | None = ... + """ + Specify the name of the launch template that the AMI should use for + Windows fast launch. + """ + version: str | None = ... + """ + Specify the version of the launch template that the AMI should use for + Windows fast launch. + """ + +@dataclass(kw_only=True) +class FastLaunchLaunchTemplateSpecificationResponse(_SerdeShape): + """ + Identifies the launch template that the AMI uses for Windows fast + launch. + """ + + launch_template_id: str | None = ... + """The ID of the launch template that the AMI uses for Windows fast launch.""" + launch_template_name: str | None = ... + """ + The name of the launch template that the AMI uses for Windows fast + launch. + """ + version: str | None = ... + """ + The version of the launch template that the AMI uses for Windows fast + launch. + """ + +class FastLaunchResourceType(UnknownEnumMixin, StrEnum): + SNAPSHOT = "snapshot" + +@dataclass(kw_only=True) +class FastLaunchSnapshotConfigurationRequest(_SerdeShape): + """ + Configuration settings for creating and managing pre-provisioned + snapshots for a Windows fast launch enabled AMI. + """ + + target_resource_count: int | None = ... + """ + The number of pre-provisioned snapshots to keep on hand for a Windows + fast launch enabled AMI. + """ diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_6.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_6.pyi new file mode 100644 index 000000000..2a3fa9a6f --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_6.pyi @@ -0,0 +1,5849 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccessScopeAnalysisFinding, + ActiveVpnTunnelStatus, + AssociatedRole, + AttributeSummary, + AvailableCapacity, + BlockDeviceMappingResponse, + CapacityManagerCondition, + CapacityManagerDimension, + CapacityManagerMonitoredTagKey, + CapacityManagerSupportabilityScore, + CapacityReservationGroup, + CoipAddressUsage, + DataQuery, + DataResponse, + DescribeFleetError, + DescribeFleetsInstances, + DestinationOptionsResponse, + EventInformation, + ImageAncestryEntry, + ImageCriterion, + ImageFinding, + InstanceFamilyCreditSpecification, + InstanceMetadataDefaultsResponse, + InstanceRequirements, + InstanceRequirementsRequest, + InstanceRequirementsWithMetadataRequest, + InstanceTypeInfoFromInstanceRequirements, + InstanceUsage, + IntegrateServices, + InterruptibleCapacityAllocation, + InterruptionInfo, + IpamAddressHistoryRecord, + IpamDiscoveredAccount, + IpamDiscoveredPublicAddress, + IpamDiscoveredResourceCidr, + IpamDiscoveredRoute, + IpamInternetRegistryAssociationAsn, + IpamInternetRegistryAssociationCidr, + IpamPolicyDocument, + IpamPolicyOrganizationTarget, + IpamPoolAllocation, + IpamPoolCidr, + IpamPrefixListResolverRule, + IpamPrefixListResolverVersion, + IpamPrefixListResolverVersionEntry, + IpamResourceCidr, + IpamRouteOriginAuthorizationInfo, + IpamRouteProtectionFinding, + IpamRoutingPolicyRegistration, + IpamRoutingPolicyRegistrationDelta, + Ipv6CidrAssociation, + LoadPermission, + MaintenanceDetails, + ManagedResourceVisibilitySettings, + MetricDataResult, + NetworkInsightsAccessScopeContent, + OnDemandOptions, + PciId, + Placement, + PlacementResponse, + PortRange, + PrefixListAssociation, + PrefixListEntry, + ProductCode, + Purchase, + RequestIpamResourceTag, + ReservationValue, + ReservedCapacityOptions, + ReservedInstanceReservationValue, + ResponseLaunchTemplateData, + RouteServerAssociation, + RouteServerPropagation, + RouteServerRoute, + SecurityGroupForVpc, + SpotOptions, + SpotPlacementScore, + SubnetCidrReservation, + Tag, + TagFieldSpecificationResponse, + TargetCapacitySpecification, + TargetConfigurationRequest, + TargetReservationValue, + TransitGatewayAttachmentPropagation, + TransitGatewayMeteringPolicyEntry, + TransitGatewayMulticastDomainAssociation, + TransitGatewayNatRule, + TransitGatewayPolicyTableAssociation, + TransitGatewayPolicyTableEntry, + TransitGatewayPrefixListReference, + TransitGatewayRouteTableAssociation, + TransitGatewayRouteTablePropagation, + VerifiedAccessEndpointTarget, + VpcEncryptionNonCompliantResource, + VpnConnectionDeviceType, + _SerdeShape, +) + +@dataclass(kw_only=True) +class FastLaunchSnapshotConfigurationResponse(_SerdeShape): + """ + Configuration settings for creating and managing pre-provisioned + snapshots for a Windows fast launch enabled Windows AMI. + """ + + target_resource_count: int | None = ... + """ + The number of pre-provisioned snapshots requested to keep on hand for a + Windows fast launch enabled AMI. + """ + +class FastLaunchStateCode(UnknownEnumMixin, StrEnum): + ENABLING = "enabling" + ENABLING_FAILED = "enabling-failed" + ENABLED = "enabled" + ENABLED_FAILED = "enabled-failed" + DISABLING = "disabling" + DISABLING_FAILED = "disabling-failed" + +class FastSnapshotRestoreStateCode(UnknownEnumMixin, StrEnum): + ENABLING = "enabling" + OPTIMIZING = "optimizing" + ENABLED = "enabled" + DISABLING = "disabling" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class FederatedAuthentication(_SerdeShape): + """ + Describes the IAM SAML identity providers used for federated + authentication. + """ + + saml_provider_arn: str | None = ... + """The Amazon Resource Name (ARN) of the IAM SAML identity provider.""" + self_service_saml_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM SAML identity provider for the + self-service portal. + """ + +@dataclass(kw_only=True) +class FederatedAuthenticationRequest(_SerdeShape): + """The IAM SAML identity provider used for federated authentication.""" + + saml_provider_arn: str | None = ... + """The Amazon Resource Name (ARN) of the IAM SAML identity provider.""" + self_service_saml_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM SAML identity provider for the + self-service portal. + """ + +@dataclass(kw_only=True) +class Filter(_SerdeShape): + """ + A filter name and value pair that is used to return a more specific list + of results from a describe operation. Filters can be used to match a set + of resources by specific criteria, such as tags, attributes, or IDs. + + If you specify multiple filters, the filters are joined with an `AND`, + and the request returns only results that match all of the specified + filters. + + For more information, see [List and filter using the CLI and + API](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Filtering.html#Filtering_Resources_CLI) + in the *Amazon EC2 User Guide*. + """ + + name: str | None = ... + """The name of the filter. Filter names are case-sensitive.""" + values: list[str] | None = ... + """ + The filter values. Filter values are case-sensitive. If you specify + multiple values for a filter, the values are joined with an `OR`, and + the request returns all results that match any of the specified values. + """ + +class FilterByDimension(UnknownEnumMixin, StrEnum): + RESOURCE_REGION = "resource-region" + AVAILABILITY_ZONE_ID = "availability-zone-id" + ACCOUNT_ID = "account-id" + ACCOUNT_NAME = "account-name" + INSTANCE_FAMILY = "instance-family" + INSTANCE_TYPE = "instance-type" + INSTANCE_PLATFORM = "instance-platform" + RESERVATION_ARN = "reservation-arn" + RESERVATION_ID = "reservation-id" + RESERVATION_TYPE = "reservation-type" + RESERVATION_CREATE_TIMESTAMP = "reservation-create-timestamp" + RESERVATION_START_TIMESTAMP = "reservation-start-timestamp" + RESERVATION_END_TIMESTAMP = "reservation-end-timestamp" + RESERVATION_END_DATE_TYPE = "reservation-end-date-type" + TENANCY = "tenancy" + RESERVATION_STATE = "reservation-state" + RESERVATION_INSTANCE_MATCH_CRITERIA = "reservation-instance-match-criteria" + RESERVATION_UNUSED_FINANCIAL_OWNER = "reservation-unused-financial-owner" + +@dataclass(kw_only=True) +class FilterPortRange(_SerdeShape): + """Describes a port range.""" + + from_port: int | None = ... + """The first port in the range.""" + to_port: int | None = ... + """The last port in the range.""" + +class FindingsFound(UnknownEnumMixin, StrEnum): + TRUE = "true" + FALSE = "false" + UNKNOWN = "unknown" + +@dataclass(kw_only=True) +class FirewallStatefulRule(_SerdeShape): + """Describes a stateful rule.""" + + rule_group_arn: str | None = ... + """The ARN of the stateful rule group.""" + sources: list[str] | None = ... + """The source IP addresses, in CIDR notation.""" + destinations: list[str] | None = ... + """The destination IP addresses, in CIDR notation.""" + source_ports: list[PortRange] | None = ... + """The source ports.""" + destination_ports: list[PortRange] | None = ... + """The destination ports.""" + protocol: str | None = ... + """The protocol.""" + rule_action: str | None = ... + """The rule action. The possible values are `pass`, `drop`, and `alert`.""" + direction: str | None = ... + """The direction. The possible values are `FORWARD` and `ANY`.""" + +@dataclass(kw_only=True) +class FirewallStatelessRule(_SerdeShape): + """Describes a stateless rule.""" + + rule_group_arn: str | None = ... + """The ARN of the stateless rule group.""" + sources: list[str] | None = ... + """The source IP addresses, in CIDR notation.""" + destinations: list[str] | None = ... + """The destination IP addresses, in CIDR notation.""" + source_ports: list[PortRange] | None = ... + """The source ports.""" + destination_ports: list[PortRange] | None = ... + """The destination ports.""" + protocols: list[int] | None = ... + """The protocols.""" + rule_action: str | None = ... + """ + The rule action. The possible values are `pass`, `drop`, and + `forward_to_site`. + """ + priority: int | None = ... + """The rule priority.""" + +class FleetActivityStatus(UnknownEnumMixin, StrEnum): + ERROR = "error" + PENDING_FULFILLMENT = "pending_fulfillment" + PENDING_TERMINATION = "pending_termination" + FULFILLED = "fulfilled" + +@dataclass(kw_only=True) +class FleetBlockDeviceMappingRequest(_SerdeShape): + """ + Describes a block device mapping, which defines the EBS volumes and + instance store volumes to attach to an instance at launch. + + To override a block device mapping specified in the launch template: + + - Specify the exact same `DeviceName` here as specified in the launch + template. + + - Only specify the parameters you want to change. + + - Any parameters you don't specify here will keep their original launch + template values. + + To add a new block device mapping: + + - Specify a `DeviceName` that doesn't exist in the launch template. + + - Specify all desired parameters here. + """ + + device_name: str | None = ... + """The device name (for example, `/dev/sdh` or `xvdh`).""" + virtual_name: str | None = ... + """ + The virtual device name (`ephemeralN`). Instance store volumes are + numbered starting from 0. An instance type with 2 available instance + store volumes can specify mappings for `ephemeral0` and `ephemeral1`. + The number of available instance store volumes depends on the instance + type. After you connect to the instance, you must mount the volume. + + NVMe instance store volumes are automatically enumerated and assigned a + device name. Including them in your block device mapping has no effect. + + Constraints: For M3 instances, you must specify instance store volumes + in the block device mapping for the instance. When you launch an M3 + instance, we ignore any instance store volumes specified in the block + device mapping for the AMI. + """ + ebs: FleetEbsBlockDeviceRequest | None = ... + """ + Parameters used to automatically set up EBS volumes when the instance is + launched. + """ + no_device: str | None = ... + """ + To omit the device from the block device mapping, specify an empty + string. When this property is specified, the device is removed from the + block device mapping regardless of the assigned value. + """ + +@dataclass(kw_only=True) +class FleetCapacityReservation(_SerdeShape): + """ + Information about a Capacity Reservation in a Capacity Reservation + Fleet. + """ + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which the Capacity Reservation + reserves capacity. + """ + instance_type: str | None = ... + """The instance type for which the Capacity Reservation reserves capacity.""" + instance_platform: str | None = ... + """ + The type of operating system for which the Capacity Reservation reserves + capacity. + """ + availability_zone: str | None = ... + """ + The Availability Zone in which the Capacity Reservation reserves + capacity. + """ + total_instance_count: int | None = ... + """ + The total number of instances for which the Capacity Reservation + reserves capacity. + """ + fulfilled_capacity: float | None = ... + """ + The number of capacity units fulfilled by the Capacity Reservation. For + more information, see [Total target + capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) + in the *Amazon EC2 User Guide*. + """ + ebs_optimized: bool | None = ... + """ + Indicates whether the Capacity Reservation reserves capacity for + EBS-optimized instance types. + """ + create_date: datetime | None = ... + """The date and time at which the Capacity Reservation was created.""" + weight: float | None = ... + """ + The weight of the instance type in the Capacity Reservation Fleet. For + more information, see [Instance type + weight](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight) + in the *Amazon EC2 User Guide*. + """ + priority: int | None = ... + """ + The priority of the instance type in the Capacity Reservation Fleet. For + more information, see [Instance type + priority](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class FleetCapacityReservationTargetRequest(_SerdeShape): + """ + Describes the target Capacity Reservations or Capacity Reservation + Resource Groups for an EC2 Fleet that launches into reserved capacity. + You can specify Capacity Reservation IDs or a Capacity Reservation + Resource Group ARN, but not both. + """ + + capacity_reservation_ids: list[str] | None = ... + """The IDs of the Capacity Reservations in which to launch the instances.""" + capacity_reservation_resource_group_arns: list[str] | None = ... + """ + The ARNs of the Capacity Reservation Resource Groups in which to launch + the instances. + """ + +class FleetCapacityReservationTenancy(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + +class FleetCapacityReservationUsageStrategy(UnknownEnumMixin, StrEnum): + USE_CAPACITY_RESERVATIONS_FIRST = "use-capacity-reservations-first" + +@dataclass(kw_only=True) +class FleetData(_SerdeShape): + """Describes an EC2 Fleet.""" + + activity_status: str | None = ... + """ + The progress of the EC2 Fleet. + + For fleets of type `instant`, the status is `fulfilled` after all + requests are placed, regardless of whether target capacity is met (this + is the only possible status for `instant` fleets). + + For fleets of type `request` or `maintain`, the status is + `pending_fulfillment` after all requests are placed, `fulfilled` when + the fleet size meets or exceeds target capacity, `pending_termination` + while instances are terminating when fleet size is decreased, and + `error` if there's an error. + """ + create_time: datetime | None = ... + """The creation date and time of the EC2 Fleet.""" + fleet_id: str | None = ... + """The ID of the EC2 Fleet.""" + fleet_state: str | None = ... + """The state of the EC2 Fleet.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + Constraints: Maximum 64 ASCII characters + """ + excess_capacity_termination_policy: str | None = ... + """ + Indicates whether running instances should be terminated if the target + capacity of the EC2 Fleet is decreased below the current size of the EC2 + Fleet. + + Supported only for fleets of type `maintain`. + """ + fulfilled_capacity: float | None = ... + """ + The number of units fulfilled by this request compared to the set target + capacity. + """ + fulfilled_on_demand_capacity: float | None = ... + """ + The number of units fulfilled by this request compared to the set target + On-Demand capacity. + """ + launch_template_configs: list[FleetLaunchTemplateConfig] | None = ... + """The launch template and overrides.""" + target_capacity_specification: TargetCapacitySpecification | None = ... + """ + The number of units to request. You can choose to set the target + capacity in terms of instances or a performance characteristic that is + important to your application workload, such as vCPUs, memory, or I/O. + If the request type is `maintain`, you can specify a target capacity of + 0 and add capacity later. + """ + terminate_instances_with_expiration: bool | None = ... + """ + Indicates whether running instances should be terminated when the EC2 + Fleet expires. + """ + type: str | None = ... + """ + The type of request. Indicates whether the EC2 Fleet only `requests` the + target capacity, or also attempts to `maintain` it. If you request a + certain target capacity, EC2 Fleet only places the required requests; it + does not attempt to replenish instances if capacity is diminished, and + it does not submit requests in alternative capacity pools if capacity is + unavailable. To maintain a certain target capacity, EC2 Fleet places the + required requests to meet this target capacity. It also automatically + replenishes any interrupted Spot Instances. Default: `maintain`. + """ + valid_from: datetime | None = ... + """ + The start date and time of the request, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). The default is to start fulfilling + the request immediately. + """ + valid_until: datetime | None = ... + """ + The end date and time of the request, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). At this point, no new instance + requests are placed or able to fulfill the request. The default end date + is 7 days from the current date. + """ + replace_unhealthy_instances: bool | None = ... + """ + Indicates whether EC2 Fleet should replace unhealthy Spot Instances. + Supported only for fleets of type `maintain`. For more information, see + [EC2 Fleet health + checks](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks) + in the *Amazon EC2 User Guide*. + """ + spot_options: SpotOptions | None = ... + """The configuration of Spot Instances in an EC2 Fleet.""" + on_demand_options: OnDemandOptions | None = ... + """The allocation strategy of On-Demand Instances in an EC2 Fleet.""" + reserved_capacity_options: ReservedCapacityOptions | None = ... + """ + Defines EC2 Fleet preferences for utilizing reserved capacity when + DefaultTargetCapacityType is set to `reserved-capacity`. + """ + tags: list[Tag] | None = ... + """The tags for an EC2 Fleet resource.""" + errors: list[DescribeFleetError] | None = ... + """ + Information about the instances that could not be launched by the fleet. + Valid only when **Type** is set to `instant`. + """ + instances: list[DescribeFleetsInstances] | None = ... + """ + Information about the instances that were launched by the fleet. Valid + only when **Type** is set to `instant`. + """ + context: str | None = ... + """Reserved.""" + +@dataclass(kw_only=True) +class FleetEbsBlockDeviceRequest(_SerdeShape): + """Describes a block device for an EBS volume.""" + + encrypted: bool | None = ... + """ + Indicates whether the encryption state of an EBS volume is changed while + being restored from a backing snapshot. The effect of setting the + encryption state to `true` depends on the volume origin (new or from a + snapshot), starting encryption state, ownership, and whether encryption + by default is enabled. For more information, see [Amazon EBS + encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html) + in the *Amazon EBS User Guide*. + + In no case can you remove encryption from an encrypted volume. + + Encrypted volumes can only be attached to instances that support Amazon + EBS encryption. For more information, see [Supported instance + types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances). + + This parameter is not returned by + [DescribeImageAttribute](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute). + + For + [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage) + and + [RegisterImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RegisterImage), + whether you can include this parameter, and the allowed values differ + depending on the type of block device mapping you are creating. + + - If you are creating a block device mapping for a **new (empty) + volume**, you can include this parameter, and specify either `true` + for an encrypted volume, or `false` for an unencrypted volume. If you + omit this parameter, it defaults to `false` (unencrypted). + + - If you are creating a block device mapping from an **existing + encrypted or unencrypted snapshot**, you must omit this parameter. If + you include this parameter, the request will fail, regardless of the + value that you specify. + + - If you are creating a block device mapping from an **existing + unencrypted volume**, you can include this parameter, but you must + specify `false`. If you specify `true`, the request will fail. In this + case, we recommend that you omit the parameter. + + - If you are creating a block device mapping from an **existing + encrypted volume**, you can include this parameter, and specify either + `true` or `false`. However, if you specify `false`, the parameter is + ignored and the block device mapping is always encrypted. In this + case, we recommend that you omit the parameter. + """ + delete_on_termination: bool | None = ... + """ + Indicates whether the EBS volume is deleted on instance termination. For + more information, see [Preserve data when an instance is + terminated](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html) + in the *Amazon EC2 User Guide*. + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS). For `gp3`, `io1`, and + `io2` volumes, this represents the number of IOPS that are provisioned + for the volume. For `gp2` volumes, this represents the baseline + performance of the volume and the rate at which the volume accumulates + I/O credits for bursting. + + The following are the supported values for each volume type: + + - `gp3`: 3,000 - 80,000 IOPS + + - `io1`: 100 - 64,000 IOPS + + - `io2`: 100 - 256,000 IOPS + + For `io2` volumes, you can achieve up to 256,000 IOPS on [instances + built on the Nitro + System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). + On other instances, you can achieve performance up to 32,000 IOPS. + + This parameter is required for `io1` and `io2` volumes. The default for + `gp3` volumes is 3,000 IOPS. + """ + throughput: int | None = ... + """ + The throughput that the volume supports, in MiB/s. + + This parameter is valid only for `gp3` volumes. + + Valid Range: Minimum value of 125. Maximum value of 2,000. + """ + kms_key_id: str | None = ... + """ + Identifier (key ID, key alias, key ARN, or alias ARN) of the customer + managed KMS key to use for EBS encryption. + + This parameter is only supported on `BlockDeviceMapping` objects called + by + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html), + [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html), + and + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). + """ + snapshot_id: str | None = ... + """The ID of the snapshot.""" + volume_size: int | None = ... + """ + The size of the volume, in GiBs. You must specify either a snapshot ID + or a volume size. If you specify a snapshot, the default is the snapshot + size. You can specify a volume size that is equal to or larger than the + snapshot size. + + The following are the supported sizes for each volume type: + + - `gp2`: 1 - 16,384 GiB + + - `gp3`: 1 - 65,536 GiB + + - `io1`: 4 - 16,384 GiB + + - `io2`: 4 - 65,536 GiB + + - `st1` and `sc1`: 125 - 16,384 GiB + + - `standard`: 1 - 1024 GiB + """ + volume_type: str | None = ... + """ + The volume type. For more information, see [Amazon EBS volume + types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) + in the *Amazon EBS User Guide*. + """ + +class FleetEventType(UnknownEnumMixin, StrEnum): + INSTANCE_CHANGE = "instance-change" + FLEET_CHANGE = "fleet-change" + SERVICE_ERROR = "service-error" + +class FleetExcessCapacityTerminationPolicy(UnknownEnumMixin, StrEnum): + NO_TERMINATION = "no-termination" + TERMINATION = "termination" + +class FleetHttpTokensState(UnknownEnumMixin, StrEnum): + OPTIONAL = "optional" + REQUIRED = "required" + +@dataclass(kw_only=True) +class FleetIamInstanceProfileSpecificationRequest(_SerdeShape): + """ + Describes an IAM instance profile. Supported only for fleets of type + `instant`. + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the instance profile.""" + name: str | None = ... + """The name of the instance profile.""" + +class FleetInstanceMatchCriteria(UnknownEnumMixin, StrEnum): + OPEN = "open" + +class FleetInstanceMetadataEndpointState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + +@dataclass(kw_only=True) +class FleetInstanceMetadataOptionsRequest(_SerdeShape): + """ + Describes the metadata options for the instances. Supported only for + fleets of type `instant`. + """ + + http_tokens: str | None = ... + """ + Indicates whether IMDSv2 is required. + + - `optional` - IMDSv2 is optional, which means that you can use either + IMDSv2 or IMDSv1. + + - `required` - IMDSv2 is required, which means that IMDSv1 is disabled, + and you must use IMDSv2. + """ + http_put_response_hop_limit: int | None = ... + """ + The desired HTTP PUT response hop limit for instance metadata requests. + The larger the number, the further instance metadata requests can + travel. + + Default: `1` + + Possible values: Integers from 1 to 64 + """ + http_endpoint: str | None = ... + """ + Enables or disables the HTTP metadata endpoint on your instances. + + - `enabled` - The HTTP metadata endpoint is enabled. + + - `disabled` - The HTTP metadata endpoint is disabled. + """ + +@dataclass(kw_only=True) +class FleetLaunchTemplateConfig(_SerdeShape): + """Describes a launch template and overrides.""" + + launch_template_specification: FleetLaunchTemplateSpecification | None = ... + """The launch template.""" + overrides: list[FleetLaunchTemplateOverrides] | None = ... + """ + Any parameters that you specify override the same parameters in the + launch template. + """ + +@dataclass(kw_only=True) +class FleetLaunchTemplateConfigRequest(_SerdeShape): + """Describes a launch template and overrides.""" + + launch_template_specification: FleetLaunchTemplateSpecificationRequest | None = ... + """ + The launch template to use. You must specify either the launch template + ID or launch template name in the request. + """ + overrides: list[FleetLaunchTemplateOverridesRequest] | None = ... + """ + Any parameters that you specify override the same parameters in the + launch template. + + For fleets of type `request` and `maintain`, a maximum of 300 items is + allowed across all launch templates. + """ + +@dataclass(kw_only=True) +class FleetLaunchTemplateOverrides(_SerdeShape): + """Describes overrides for a launch template.""" + + instance_type: str | None = ... + """ + The instance type. + + `mac1.metal` is not supported as a launch template override. + + Note: + If you specify `InstanceType`, you can't specify + `InstanceRequirements`. + """ + max_price: str | None = ... + """ + The maximum price per unit hour that you are willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your instances will be interrupted more + frequently than if you do not specify this parameter. + + If you specify a maximum price, it must be more than USD $0.001. + Specifying a value below USD $0.001 will result in an + `InvalidParameterValue` error message. + """ + subnet_id: str | None = ... + """The ID of the subnet in which to launch the instances.""" + availability_zone: str | None = ... + """ + The Availability Zone in which to launch the instances. For example, + `us-east-2a`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + weighted_capacity: float | None = ... + """ + The number of units provided by the specified instance type. These are + the same units that you chose to set the target capacity in terms of + instances, or a performance characteristic such as vCPUs, memory, or + I/O. + + If the target capacity divided by this value is not a whole number, + Amazon EC2 rounds the number of instances to the next whole number. If + this value is not specified, the default is 1. + + Note: + When specifying weights, the price used in the `lowest-price` and + `price-capacity-optimized` allocation strategies is per *unit* hour + (where the instance price is divided by the specified weight). However, + if all the specified weights are above the requested `TargetCapacity`, + resulting in only 1 instance being launched, the price used is per + *instance* hour. + """ + priority: float | None = ... + """ + The priority for the launch template override. The highest priority is + launched first. + + If the On-Demand `AllocationStrategy` is set to `prioritized`, EC2 Fleet + uses priority to determine which launch template override to use first + in fulfilling On-Demand capacity. + + If the Spot `AllocationStrategy` is set to + `capacity-optimized-prioritized`, EC2 Fleet uses priority on a + best-effort basis to determine which launch template override to use in + fulfilling Spot capacity, but optimizes for capacity first. + + Valid values are whole numbers starting at `0`. The lower the number, + the higher the priority. If no number is set, the override has the + lowest priority. You can set the same priority for different launch + template overrides. + """ + placement: PlacementResponse | None = ... + """The location where the instance launched, if applicable.""" + instance_requirements: InstanceRequirements | None = ... + """ + The attributes for the instance types. When you specify instance + attributes, Amazon EC2 will identify instance types with those + attributes. + + Note: + If you specify `InstanceRequirements`, you can't specify + `InstanceType`. + """ + image_id: str | None = ... + """ + The ID of the AMI in the format `ami-17characters00000`. + + Alternatively, you can specify a Systems Manager parameter, using one of + the following formats. The Systems Manager parameter will resolve to an + AMI ID on launch. + + To reference a public parameter: + + - `resolve:ssm:`*`public-parameter`*` ` + + To reference a parameter stored in the same account: + + - `resolve:ssm:`*`parameter-name`*` ` + + - `resolve:ssm:`*`parameter-name:version-number`*` ` + + - `resolve:ssm:`*`parameter-name:label`*` ` + + To reference a parameter shared from another Amazon Web Services + account: + + - `resolve:ssm:`*`parameter-ARN`*` ` + + - `resolve:ssm:`*`parameter-ARN:version-number`*` ` + + - `resolve:ssm:`*`parameter-ARN:label`*` ` + + For more information, see [Use a Systems Manager parameter instead of an + AMI + ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) + in the *Amazon EC2 User Guide*. + + Note: + This parameter is only available for fleets of type `instant`. For + fleets of type `maintain` and `request`, you must specify the AMI ID in + the launch template. + """ + block_device_mappings: list[BlockDeviceMappingResponse] | None = ... + """ + The block device mappings, which define the EBS volumes and instance + store volumes to attach to the instance at launch. + + Supported only for fleets of type `instant`. + + For more information, see [Block device mappings for volumes on Amazon + EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) + in the *Amazon EC2 User Guide*. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which to launch the instances. For + example, `use2-az1`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + +@dataclass(kw_only=True) +class FleetLaunchTemplateOverridesRequest(_SerdeShape): + """Describes overrides for a launch template.""" + + instance_type: str | None = ... + """ + The instance type. + + `mac1.metal` is not supported as a launch template override. + + Note: + If you specify `InstanceType`, you can't specify + `InstanceRequirements`. + """ + max_price: str | None = ... + """ + The maximum price per unit hour that you are willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your instances will be interrupted more + frequently than if you do not specify this parameter. + + If you specify a maximum price, it must be more than USD $0.001. + Specifying a value below USD $0.001 will result in an + `InvalidParameterValue` error message. + """ + subnet_id: str | None = ... + """ + The IDs of the subnets in which to launch the instances. Separate + multiple subnet IDs using commas (for example, + `subnet-1234abcdeexample1, subnet-0987cdef6example2`). A request of type + `instant` can have only one subnet ID. + """ + availability_zone: str | None = ... + """ + The Availability Zone in which to launch the instances. For example, + `us-east-2a`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + weighted_capacity: float | None = ... + """ + The number of units provided by the specified instance type. These are + the same units that you chose to set the target capacity in terms of + instances, or a performance characteristic such as vCPUs, memory, or + I/O. + + If the target capacity divided by this value is not a whole number, + Amazon EC2 rounds the number of instances to the next whole number. If + this value is not specified, the default is 1. + + Note: + When specifying weights, the price used in the `lowest-price` and + `price-capacity-optimized` allocation strategies is per *unit* hour + (where the instance price is divided by the specified weight). However, + if all the specified weights are above the requested `TargetCapacity`, + resulting in only 1 instance being launched, the price used is per + *instance* hour. + """ + priority: float | None = ... + """ + The priority for the launch template override. The highest priority is + launched first. + + If the On-Demand `AllocationStrategy` is set to `prioritized`, EC2 Fleet + uses priority to determine which launch template override to use first + in fulfilling On-Demand capacity. + + If the Spot `AllocationStrategy` is set to + `capacity-optimized-prioritized`, EC2 Fleet uses priority on a + best-effort basis to determine which launch template override to use in + fulfilling Spot capacity, but optimizes for capacity first. + + Valid values are whole numbers starting at `0`. The lower the number, + the higher the priority. If no number is set, the launch template + override has the lowest priority. You can set the same priority for + different launch template overrides. + """ + placement: Placement | None = ... + """The location where the instance launched, if applicable.""" + key_name: str | None = ... + """ + The name of the key pair to use for the instances. + + Supported only for fleets of type `instant`. + + For more information, see [Amazon EC2 key + pairs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) + in the *Amazon EC2 User Guide*. + """ + block_device_mappings: list[FleetBlockDeviceMappingRequest] | None = ... + """ + The block device mappings, which define the EBS volumes and instance + store volumes to attach to the instance at launch. + + Supported only for fleets of type `instant`. + + For more information, see [Block device mappings for volumes on Amazon + EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) + in the *Amazon EC2 User Guide*. + """ + iam_instance_profile: FleetIamInstanceProfileSpecificationRequest | None = ... + """ + The IAM instance profile to associate with the instances. + + Supported only for fleets of type `instant`. + + For more information, see [IAM roles for Amazon + EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) + in the *Amazon EC2 User Guide*. + """ + metadata_options: FleetInstanceMetadataOptionsRequest | None = ... + """ + The metadata options for the instances. + + Supported only for fleets of type `instant`. + + For more information, see [Configure the instance metadata + service](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html) + in the *Amazon EC2 User Guide*. + """ + instance_requirements: InstanceRequirementsRequest | None = ... + """ + The attributes for the instance types. When you specify instance + attributes, Amazon EC2 will identify instance types with those + attributes. + + Note: + If you specify `InstanceRequirements`, you can't specify + `InstanceType`. + """ + image_id: str | None = ... + """ + The ID of the AMI in the format `ami-17characters00000`. + + Alternatively, you can specify a Systems Manager parameter, using one of + the following formats. The Systems Manager parameter will resolve to an + AMI ID on launch. + + To reference a public parameter: + + - `resolve:ssm:`*`public-parameter`*` ` + + To reference a parameter stored in the same account: + + - `resolve:ssm:`*`parameter-name`*` ` + + - `resolve:ssm:`*`parameter-name:version-number`*` ` + + - `resolve:ssm:`*`parameter-name:label`*` ` + + To reference a parameter shared from another Amazon Web Services + account: + + - `resolve:ssm:`*`parameter-ARN`*` ` + + - `resolve:ssm:`*`parameter-ARN:version-number`*` ` + + - `resolve:ssm:`*`parameter-ARN:label`*` ` + + For more information, see [Use a Systems Manager parameter instead of an + AMI + ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) + in the *Amazon EC2 User Guide*. + + Note: + This parameter is only available for fleets of type `instant`. For + fleets of type `maintain` and `request`, you must specify the AMI ID in + the launch template. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which to launch the instances. For + example, `use2-az1`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + +@dataclass(kw_only=True) +class FleetLaunchTemplateSpecification(_SerdeShape): + """ + The Amazon EC2 launch template that can be used by a Spot Fleet to + configure Amazon EC2 instances. You must specify either the ID or name + of the launch template in the request, but not both. + + For information about launch templates, see [Launch an instance from a + launch + template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) + in the *Amazon EC2 User Guide*. + """ + + launch_template_id: str | None = ... + """ + The ID of the launch template. + + You must specify the `LaunchTemplateId` or the `LaunchTemplateName`, but + not both. + """ + launch_template_name: str | None = ... + """ + The name of the launch template. + + You must specify the `LaunchTemplateName` or the `LaunchTemplateId`, but + not both. + """ + version: str | None = ... + """ + The launch template version number, `$Latest`, or `$Default`. You must + specify a value, otherwise the request fails. + + If the value is `$Latest`, Amazon EC2 uses the latest version of the + launch template. + + If the value is `$Default`, Amazon EC2 uses the default version of the + launch template. + """ + +@dataclass(kw_only=True) +class FleetLaunchTemplateSpecificationRequest(_SerdeShape): + """ + The Amazon EC2 launch template that can be used by an EC2 Fleet to + configure Amazon EC2 instances. You must specify either the ID or name + of the launch template in the request, but not both. + + For information about launch templates, see [Launch an instance from a + launch + template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) + in the *Amazon EC2 User Guide*. + """ + + launch_template_id: str | None = ... + """ + The ID of the launch template. + + You must specify the `LaunchTemplateId` or the `LaunchTemplateName`, but + not both. + """ + launch_template_name: str | None = ... + """ + The name of the launch template. + + You must specify the `LaunchTemplateName` or the `LaunchTemplateId`, but + not both. + """ + version: str | None = ... + """ + The launch template version number, `$Latest`, or `$Default`. You must + specify a value, otherwise the request fails. + + If the value is `$Latest`, Amazon EC2 uses the latest version of the + launch template. + + If the value is `$Default`, Amazon EC2 uses the default version of the + launch template. + """ + launch_template_specification_user_data: str | None = ... + """ + The base64-encoded user data for instances launched by the fleet. User + data is limited to 16 KB, in raw form, before it is base64-encoded. + + Supported only for fleets of type `instant`. + """ + +class FleetOnDemandAllocationStrategy(UnknownEnumMixin, StrEnum): + LOWEST_PRICE = "lowest-price" + PRIORITIZED = "prioritized" + +class FleetReplacementStrategy(UnknownEnumMixin, StrEnum): + LAUNCH = "launch" + LAUNCH_BEFORE_TERMINATE = "launch-before-terminate" + +class FleetReservationType(UnknownEnumMixin, StrEnum): + ON_DEMAND_CAPACITY_RESERVATION = "on-demand-capacity-reservation" + CAPACITY_BLOCK = "capacity-block" + INTERRUPTIBLE_CAPACITY_RESERVATION = "interruptible-capacity-reservation" + +@dataclass(kw_only=True) +class FleetSpotCapacityRebalance(_SerdeShape): + """ + The strategy to use when Amazon EC2 emits a signal that your Spot + Instance is at an elevated risk of being interrupted. + """ + + replacement_strategy: str | None = ... + """ + The replacement strategy to use. Only available for fleets of type + `maintain`. + + `launch` - EC2 Fleet launches a new replacement Spot Instance when a + rebalance notification is emitted for an existing Spot Instance in the + fleet. EC2 Fleet does not terminate the instances that receive a + rebalance notification. You can terminate the old instances, or you can + leave them running. You are charged for all instances while they are + running. + + `launch-before-terminate` - EC2 Fleet launches a new replacement Spot + Instance when a rebalance notification is emitted for an existing Spot + Instance in the fleet, and then, after a delay that you specify (in + `TerminationDelay`), terminates the instances that received a rebalance + notification. + """ + termination_delay: int | None = ... + """ + The amount of time (in seconds) that Amazon EC2 waits before terminating + the old Spot Instance after launching a new replacement Spot Instance. + + Required when `ReplacementStrategy` is set to `launch-before-terminate`. + + Not valid when `ReplacementStrategy` is set to `launch`. + + Valid values: Minimum value of `120` seconds. Maximum value of `7200` + seconds. + """ + +@dataclass(kw_only=True) +class FleetSpotCapacityRebalanceRequest(_SerdeShape): + """ + The Spot Instance replacement strategy to use when Amazon EC2 emits a + rebalance notification signal that your Spot Instance is at an elevated + risk of being interrupted. For more information, see [Capacity + rebalancing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-capacity-rebalance.html) + in the *Amazon EC2 User Guide*. + """ + + replacement_strategy: str | None = ... + """ + The replacement strategy to use. Only available for fleets of type + `maintain`. + + `launch` - EC2 Fleet launches a replacement Spot Instance when a + rebalance notification is emitted for an existing Spot Instance in the + fleet. EC2 Fleet does not terminate the instances that receive a + rebalance notification. You can terminate the old instances, or you can + leave them running. You are charged for all instances while they are + running. + + `launch-before-terminate` - EC2 Fleet launches a replacement Spot + Instance when a rebalance notification is emitted for an existing Spot + Instance in the fleet, and then, after a delay that you specify (in + `TerminationDelay`), terminates the instances that received a rebalance + notification. + """ + termination_delay: int | None = ... + """ + The amount of time (in seconds) that Amazon EC2 waits before terminating + the old Spot Instance after launching a new replacement Spot Instance. + + Required when `ReplacementStrategy` is set to `launch-before-terminate`. + + Not valid when `ReplacementStrategy` is set to `launch`. + + Valid values: Minimum value of `120` seconds. Maximum value of `7200` + seconds. + """ + +@dataclass(kw_only=True) +class FleetSpotMaintenanceStrategies(_SerdeShape): + """ + The strategies for managing your Spot Instances that are at an elevated + risk of being interrupted. + """ + + capacity_rebalance: FleetSpotCapacityRebalance | None = ... + """ + The strategy to use when Amazon EC2 emits a signal that your Spot + Instance is at an elevated risk of being interrupted. + """ + +@dataclass(kw_only=True) +class FleetSpotMaintenanceStrategiesRequest(_SerdeShape): + """ + The strategies for managing your Spot Instances that are at an elevated + risk of being interrupted. + """ + + capacity_rebalance: FleetSpotCapacityRebalanceRequest | None = ... + """ + The strategy to use when Amazon EC2 emits a signal that your Spot + Instance is at an elevated risk of being interrupted. + """ + +class FleetStateCode(UnknownEnumMixin, StrEnum): + SUBMITTED = "submitted" + ACTIVE = "active" + DELETED = "deleted" + FAILED = "failed" + DELETED_RUNNING = "deleted_running" + DELETED_TERMINATING_INSTANCES = "deleted_terminating" + MODIFYING = "modifying" + +class FleetType(UnknownEnumMixin, StrEnum): + REQUEST = "request" + MAINTAIN = "maintain" + INSTANT = "instant" + +class FlexibleEnaQueuesSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + +@dataclass(kw_only=True) +class FlowLog(_SerdeShape): + """Describes a flow log.""" + + creation_time: datetime | None = ... + """The date and time the flow log was created.""" + deliver_logs_error_message: str | None = ... + """ + Information about the error that occurred. `Rate limited` indicates that + CloudWatch Logs throttling has been applied for one or more network + interfaces, or that you've reached the limit on the number of log + groups that you can create. `Access error` indicates that the IAM role + associated with the flow log does not have sufficient permissions to + publish to CloudWatch Logs. `Unknown error` indicates an internal error. + """ + deliver_logs_permission_arn: str | None = ... + """ + The ARN of the IAM role allows the service to publish logs to CloudWatch + Logs. + """ + deliver_cross_account_role: str | None = ... + """ + The ARN of the IAM role that allows the service to publish flow logs + across accounts. + """ + deliver_logs_status: str | None = ... + """The status of the logs delivery (`SUCCESS` | `FAILED`).""" + flow_log_id: str | None = ... + """The ID of the flow log.""" + flow_log_status: str | None = ... + """The status of the flow log (`ACTIVE`).""" + log_group_name: str | None = ... + """The name of the flow log group.""" + resource_id: str | None = ... + """The ID of the resource being monitored.""" + traffic_type: str | None = ... + """The type of traffic captured for the flow log.""" + log_destination_type: str | None = ... + """The type of destination for the flow log data.""" + log_destination: str | None = ... + """The Amazon Resource Name (ARN) of the destination for the flow log data.""" + log_format: str | None = ... + """The format of the flow log record.""" + tags: list[Tag] | None = ... + """The tags for the flow log.""" + max_aggregation_interval: int | None = ... + """ + The maximum interval of time, in seconds, during which a flow of packets + is captured and aggregated into a flow log record. + + When a network interface is attached to a [Nitro-based + instance](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html), + the aggregation interval is always 60 seconds (1 minute) or less, + regardless of the specified value. + + Valid Values: `60` | `600` + """ + destination_options: DestinationOptionsResponse | None = ... + """The destination options.""" + tag_field_specifications: list[TagFieldSpecificationResponse] | None = ... + """ + The tag configuration associated with the Flow Logs Amazon EC2 Tags + feature fields in your custom log format. + """ + +class FlowLogsResourceType(UnknownEnumMixin, StrEnum): + VPC = "VPC" + SUBNET = "Subnet" + NETWORK_INTERFACE = "NetworkInterface" + TRANSIT_GATEWAY = "TransitGateway" + TRANSIT_GATEWAY_ATTACHMENT = "TransitGatewayAttachment" + REGIONAL_NAT_GATEWAY = "RegionalNatGateway" + CORE_NETWORK = "CoreNetwork" + CORE_NETWORK_EDGE = "CoreNetworkEdge" + CORE_NETWORK_ATTACHMENT = "CoreNetworkAttachment" + +@dataclass(kw_only=True) +class FpgaDeviceInfo(_SerdeShape): + """Describes the FPGA accelerator for the instance type.""" + + name: str | None = ... + """The name of the FPGA accelerator.""" + manufacturer: str | None = ... + """The manufacturer of the FPGA accelerator.""" + count: int | None = ... + """The count of FPGA accelerators for the instance type.""" + memory_info: FpgaDeviceMemoryInfo | None = ... + """Describes the memory for the FPGA accelerator for the instance type.""" + +@dataclass(kw_only=True) +class FpgaDeviceMemoryInfo(_SerdeShape): + """Describes the memory for the FPGA accelerator for the instance type.""" + + size_in_mi_b: int | None = ... + """The size of the memory available to the FPGA accelerator, in MiB.""" + +@dataclass(kw_only=True) +class FpgaImage(_SerdeShape): + """Describes an Amazon FPGA image (AFI).""" + + fpga_image_id: str | None = ... + """The FPGA image identifier (AFI ID).""" + fpga_image_global_id: str | None = ... + """The global FPGA image identifier (AGFI ID).""" + name: str | None = ... + """The name of the AFI.""" + description: str | None = ... + """The description of the AFI.""" + shell_version: str | None = ... + """ + The version of the Amazon Web Services Shell that was used to create the + bitstream. + """ + pci_id: PciId | None = ... + """Information about the PCI bus.""" + state: FpgaImageState | None = ... + """Information about the state of the AFI.""" + create_time: datetime | None = ... + """The date and time the AFI was created.""" + update_time: datetime | None = ... + """The time of the most recent update to the AFI.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the AFI.""" + owner_alias: str | None = ... + """ + The alias of the AFI owner. Possible values include `self`, `amazon`, + and `aws-marketplace`. + """ + product_codes: list[ProductCode] | None = ... + """The product codes for the AFI.""" + tags: list[Tag] | None = ... + """Any tags assigned to the AFI.""" + public: bool | None = ... + """Indicates whether the AFI is public.""" + data_retention_support: bool | None = ... + """Indicates whether data retention support is enabled for the AFI.""" + instance_types: list[str] | None = ... + """The instance types supported by the AFI.""" + +@dataclass(kw_only=True) +class FpgaImageAttribute(_SerdeShape): + """Describes an Amazon FPGA image (AFI) attribute.""" + + fpga_image_id: str | None = ... + """The ID of the AFI.""" + name: str | None = ... + """The name of the AFI.""" + description: str | None = ... + """The description of the AFI.""" + load_permissions: list[LoadPermission] | None = ... + """The load permissions.""" + product_codes: list[ProductCode] | None = ... + """The product codes.""" + +class FpgaImageAttributeName(UnknownEnumMixin, StrEnum): + DESCRIPTION = "description" + NAME = "name" + LOAD_PERMISSION = "loadPermission" + PRODUCT_CODES = "productCodes" + +@dataclass(kw_only=True) +class FpgaImageState(_SerdeShape): + """ + Describes the state of the bitstream generation process for an Amazon + FPGA image (AFI). + """ + + code: str | None = ... + """ + The state. The following are the possible values: + + - `pending` - AFI bitstream generation is in progress. + + - `available` - The AFI is available for use. + + - `failed` - AFI bitstream generation failed. + + - `unavailable` - The AFI is no longer available for use. + """ + message: str | None = ... + """If the state is `failed`, this is the error message.""" + +class FpgaImageStateCode(UnknownEnumMixin, StrEnum): + PENDING = "pending" + FAILED = "failed" + AVAILABLE = "available" + UNAVAILABLE = "unavailable" + +@dataclass(kw_only=True) +class FpgaInfo(_SerdeShape): + """Describes the FPGAs for the instance type.""" + + fpgas: list[FpgaDeviceInfo] | None = ... + """Describes the FPGAs for the instance type.""" + total_fpga_memory_in_mi_b: int | None = ... + """The total memory of all FPGA accelerators for the instance type.""" + +class GatewayAssociationState(UnknownEnumMixin, StrEnum): + ASSOCIATED = "associated" + NOT_ASSOCIATED = "not-associated" + ASSOCIATING = "associating" + DISASSOCIATING = "disassociating" + +class GatewayType(UnknownEnumMixin, StrEnum): + IPSEC_1 = "ipsec.1" + +@dataclass(kw_only=True) +class GetActiveVpnTunnelStatusInput(_SerdeShape): + """Dataclass for GetActiveVpnTunnelStatusInput structure.""" + + vpn_connection_id: str | None = ... + """ + The ID of the VPN connection for which to retrieve the active tunnel + status. + """ + vpn_tunnel_outside_ip_address: str | None = ... + """ + The external IP address of the VPN tunnel for which to retrieve the + active status. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the action, without + actually making the request. + """ + +@dataclass(kw_only=True) +class GetActiveVpnTunnelStatusOutput(_SerdeShape): + """Dataclass for GetActiveVpnTunnelStatusOutput structure.""" + + active_vpn_tunnel_status: ActiveVpnTunnelStatus | None = ... + """Information about the current security configuration of the VPN tunnel.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAllowedImagesSettingsInput(_SerdeShape): + """Dataclass for GetAllowedImagesSettingsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetAllowedImagesSettingsOutput(_SerdeShape): + """Dataclass for GetAllowedImagesSettingsOutput structure.""" + + state: str | None = ... + """ + The current state of the Allowed AMIs setting at the account level in + the specified Amazon Web Services Region. + + Possible values: + + - `disabled`: All AMIs are allowed. + + - `audit-mode`: All AMIs are allowed, but the `ImageAllowed` field is + set to `true` if the AMI would be allowed with the current list of + criteria if allowed AMIs was enabled. + + - `enabled`: Only AMIs matching the image criteria are discoverable and + available for use. + """ + image_criteria: list[ImageCriterion] | None = ... + """ + The list of criteria for images that are discoverable and usable in the + account in the specified Amazon Web Services Region. + """ + managed_by: str | None = ... + """ + The entity that manages the Allowed AMIs settings. Possible values + include: + + - `account` - The Allowed AMIs settings is managed by the account. + + - `declarative-policy` - The Allowed AMIs settings is managed by a + declarative policy and can't be modified by the account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAssociatedEnclaveCertificateIamRolesInput(_SerdeShape): + """Dataclass for GetAssociatedEnclaveCertificateIamRolesInput structure.""" + + certificate_arn: str | None = ... + """ + The ARN of the ACM certificate for which to view the associated IAM + roles, encryption keys, and Amazon S3 object information. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetAssociatedEnclaveCertificateIamRolesOutput(_SerdeShape): + """Dataclass for GetAssociatedEnclaveCertificateIamRolesOutput structure.""" + + associated_roles: list[AssociatedRole] | None = ... + """Information about the associated IAM roles.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAssociatedIpv6PoolCidrsInput(_SerdeShape): + """Dataclass for GetAssociatedIpv6PoolCidrsInput structure.""" + + pool_id: str | None = ... + """The ID of the IPv6 address pool.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetAssociatedIpv6PoolCidrsOutput(_SerdeShape): + """Dataclass for GetAssociatedIpv6PoolCidrsOutput structure.""" + + ipv6_cidr_associations: list[Ipv6CidrAssociation] | None = ... + """Information about the IPv6 CIDR block associations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAwsNetworkPerformanceDataInput(_SerdeShape): + """Dataclass for GetAwsNetworkPerformanceDataInput structure.""" + + data_queries: list[DataQuery] | None = ... + """A list of network performance data queries.""" + start_time: datetime | None = ... + """ + The starting time for the performance data request. The starting time + must be formatted as `yyyy-mm-ddThh:mm:ss`. For example, + `2022-06-10T12:00:00.000Z`. + """ + end_time: datetime | None = ... + """ + The ending time for the performance data request. The end time must be + formatted as `yyyy-mm-ddThh:mm:ss`. For example, + `2022-06-12T12:00:00.000Z`. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetAwsNetworkPerformanceDataOutput(_SerdeShape): + """Dataclass for GetAwsNetworkPerformanceDataOutput structure.""" + + data_responses: list[DataResponse] | None = ... + """The list of data responses.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerAttributesInput(_SerdeShape): + """Dataclass for GetCapacityManagerAttributesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerAttributesOutput(_SerdeShape): + """Dataclass for GetCapacityManagerAttributesOutput structure.""" + + capacity_manager_status: str | None = ... + """The current status of Capacity Manager.""" + organizations_access: bool | None = ... + """ + Indicates whether Organizations access is enabled for cross-account data + aggregation. + """ + data_export_count: int | None = ... + """ + The number of active data export configurations for this account. This + count includes all data exports regardless of their current delivery + status. + """ + ingestion_status: str | None = ... + """ + The current data ingestion status. Initial ingestion may take several + hours after enabling Capacity Manager. + """ + ingestion_status_message: str | None = ... + """ + A descriptive message providing additional details about the current + ingestion status. This may include error information if ingestion has + failed or progress details during initial setup. + """ + earliest_datapoint_timestamp: datetime | None = ... + """ + The timestamp of the earliest data point available in Capacity Manager, + in milliseconds since epoch. This indicates how far back historical data + is available for queries. + """ + latest_datapoint_timestamp: datetime | None = ... + """ + The timestamp of the most recent data point ingested by Capacity + Manager, in milliseconds since epoch. This indicates how current your + capacity data is. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerMetricDataInput(_SerdeShape): + """Dataclass for GetCapacityManagerMetricDataInput structure.""" + + metric_names: list[str] | None = ... + """The names of the metrics to retrieve. Maximum of 10 metrics per request.""" + start_time: datetime | None = ... + """ + The start time for the metric data query, in ISO 8601 format. The time + range (end time - start time) must be a multiple of the specified + period. + """ + end_time: datetime | None = ... + """ + The end time for the metric data query, in ISO 8601 format. If the end + time is beyond the latest ingested data, it will be automatically + adjusted to the latest available data point. + """ + period: int | None = ... + """The granularity, in seconds, of the returned data points.""" + group_by: list[str] | None = ... + """ + The dimensions by which to group the metric data. This determines how + the data is aggregated and returned. + """ + filter_by: list[CapacityManagerCondition] | None = ... + """ + Conditions to filter the metric data. Each filter specifies a dimension, + comparison operator ('equals', 'in'), and values to match against. + """ + max_results: int | None = ... + """ + The maximum number of data points to return. Valid range is 1 to + 100,000. Use with NextToken for pagination of large result sets. + """ + next_token: str | None = ... + """ + The token for the next page of results. Use this value in a subsequent + call to retrieve additional data points. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerMetricDataOutput(_SerdeShape): + """Dataclass for GetCapacityManagerMetricDataOutput structure.""" + + metric_data_results: list[MetricDataResult] | None = ... + """ + The metric data points returned by the query. Each result contains + dimension values, timestamp, and metric values with their associated + statistics. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerMetricDimensionsInput(_SerdeShape): + """Dataclass for GetCapacityManagerMetricDimensionsInput structure.""" + + group_by: list[str] | None = ... + """ + The dimensions to group by when retrieving available dimension values. + This determines which dimension combinations are returned. Required + parameter. + """ + filter_by: list[CapacityManagerCondition] | None = ... + """ + Conditions to filter which dimension values are returned. Each filter + specifies a dimension, comparison operator, and values to match against. + """ + start_time: datetime | None = ... + """ + The start time for the dimension query, in ISO 8601 format. Only + dimensions with data in this time range will be returned. + """ + end_time: datetime | None = ... + """ + The end time for the dimension query, in ISO 8601 format. Only + dimensions with data in this time range will be returned. + """ + metric_names: list[str] | None = ... + """ + The metric names to use as an additional filter when retrieving + dimensions. Only dimensions that have data for these metrics will be + returned. Required parameter with maximum size of 1 for v1. + """ + max_results: int | None = ... + """ + The maximum number of dimension combinations to return. Valid range is 1 + to 1000. Use with NextToken for pagination. + """ + next_token: str | None = ... + """ + The token for the next page of results. Use this value in a subsequent + call to retrieve additional dimension values. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerMetricDimensionsOutput(_SerdeShape): + """Dataclass for GetCapacityManagerMetricDimensionsOutput structure.""" + + metric_dimension_results: list[CapacityManagerDimension] | None = ... + """ + The available dimension combinations that have data within the specified + time range and filters. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerMonitoredTagKeysInput(_SerdeShape): + """Dataclass for GetCapacityManagerMonitoredTagKeysInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in a single call. To retrieve + the remaining results, make another call with the returned `NextToken` + value. If not specified, up to 1000 results are returned. + """ + next_token: str | None = ... + """ + The token for the next page of results. Use the value returned from a + previous call to retrieve additional results. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerMonitoredTagKeysOutput(_SerdeShape): + """Dataclass for GetCapacityManagerMonitoredTagKeysOutput structure.""" + + capacity_manager_tag_keys: list[CapacityManagerMonitoredTagKey] | None = ... + """ + The list of tag keys being monitored by Capacity Manager, including + their current status and metadata. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerSupportabilityScoresInput(_SerdeShape): + """Dataclass for GetCapacityManagerSupportabilityScoresInput structure.""" + + market_type: str | None = ... + """The capacity market to score.""" + capacity_amount: int | None = ... + """ + The amount of capacity that you need, in the unit that you specify for + `CapacityUnit`. Each score is relative to this amount. + """ + capacity_unit: str | None = ... + """The unit for `CapacityAmount`.""" + capacity_availability_zone_ids: list[str] | None = ... + """ + The IDs of the Availability Zones to score, such as `use1-az1`. You can + specify Availability Zones in different Regions. You can specify up to + 10 Availability Zones. + """ + instance_types: list[str] | None = ... + """ + The instance types to score. You can specify up to 50 instance types. + + Specify either `InstanceTypes` or `InstanceRequirementsWithMetadata`, + but not both. + """ + instance_requirements_with_metadata: ( + InstanceRequirementsWithMetadataRequest | None + ) = ... + """ + The attributes that the instance types must have, such as vCPU and + memory ranges. Capacity Manager resolves the attributes into matching + instance types and scores each one. + + Specify either `InstanceTypes` or `InstanceRequirementsWithMetadata`, + but not both. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetCapacityManagerSupportabilityScoresOutput(_SerdeShape): + """Dataclass for GetCapacityManagerSupportabilityScoresOutput structure.""" + + aggregate_score: str | None = ... + """ + The score for all instance type and Availability Zone combinations in + the request together. A `high` aggregate score with lower individual + scores means that no single combination can support the full request, + but the combinations together can. + """ + capacity_manager_supportability_scores: ( + list[CapacityManagerSupportabilityScore] | None + ) = ... + """ + The score for each instance type and Availability Zone combination in + the request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCapacityReservationUsageInput(_SerdeShape): + """Dataclass for GetCapacityReservationUsageInput structure.""" + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetCapacityReservationUsageOutput(_SerdeShape): + """Dataclass for GetCapacityReservationUsageOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + instance_type: str | None = ... + """ + The type of instance for which the Capacity Reservation reserves + capacity. + """ + total_instance_count: int | None = ... + """ + The number of instances for which the Capacity Reservation reserves + capacity. + """ + available_instance_count: int | None = ... + """ + The remaining capacity. Indicates the number of instances that can be + launched in the Capacity Reservation. + """ + state: str | None = ... + """ + The current state of the Capacity Reservation. A Capacity Reservation + can be in one of the following states: + + - `active` - The capacity is available for use. + + - `expired` - The Capacity Reservation expired automatically at the date + and time specified in your reservation request. The reserved capacity + is no longer available for your use. + + - `cancelled` - The Capacity Reservation was canceled. The reserved + capacity is no longer available for your use. + + - `pending` - The Capacity Reservation request was successful but the + capacity provisioning is still pending. + + - `failed` - The Capacity Reservation request has failed. A request can + fail due to request parameters that are not valid, capacity + constraints, or instance limit constraints. You can view a failed + request for 60 minutes. + + - `scheduled` - (*Future-dated Capacity Reservations*) The future-dated + Capacity Reservation request was approved and the Capacity Reservation + is scheduled for delivery on the requested start date. + + - `payment-pending` - (*Capacity Blocks*) The upfront payment has not + been processed yet. + + - `payment-failed` - (*Capacity Blocks*) The upfront payment was not + processed in the 12-hour time frame. Your Capacity Block was released. + + - `assessing` - (*Future-dated Capacity Reservations*) Amazon EC2 is + assessing your request for a future-dated Capacity Reservation. + + - `delayed` - (*Future-dated Capacity Reservations*) Amazon EC2 + encountered a delay in provisioning the requested future-dated + Capacity Reservation. Amazon EC2 is unable to deliver the requested + capacity by the requested start date and time. + + - `unsupported` - (*Future-dated Capacity Reservations*) Amazon EC2 + can't support the future-dated Capacity Reservation request due to + capacity constraints. You can view unsupported requests for 30 days. + The Capacity Reservation will not be delivered. + + - `cancelling` - (*Future-dated Capacity Reservations*) The Capacity + Reservation is being cancelled. Capacity has been released but charges + continue for the commitment wind-down period. The reservation + transitions to `cancelled` when the wind-down completes. + """ + instance_usages: list[InstanceUsage] | None = ... + """Information about the Capacity Reservation usage.""" + interruptible: bool | None = ... + """ + Indicates whether the Capacity Reservation is interruptible, meaning + instances may be terminated when the owner reclaims capacity. + """ + interruptible_capacity_allocation: InterruptibleCapacityAllocation | None = ... + """ + Information about the capacity allocated to the interruptible Capacity + Reservation, including instance counts and allocation status. + """ + interruption_info: InterruptionInfo | None = ... + """ + Details about the interruption configuration and source reservation for + interruptible Capacity Reservations. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetClientVpnEndpointAuthorizationPolicyInput(_SerdeShape): + """Dataclass for GetClientVpnEndpointAuthorizationPolicyInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetClientVpnEndpointAuthorizationPolicyOutput(_SerdeShape): + """Dataclass for GetClientVpnEndpointAuthorizationPolicyOutput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + policy_document: str | None = ... + """The authorization policy document, written in the Cedar policy language.""" + description: str | None = ... + """A brief description of the authorization policy.""" + shadow_mode: str | None = ... + """ + Specifies whether the authorization policy is evaluated in shadow mode. + Possible values include: + + - `enabled` - The authorization policy is evaluated and the results are + logged, but access is not enforced. + + - `disabled` - The authorization policy is enforced. + """ + status: str | None = ... + """The current state of the authorization policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCoipPoolUsageInput(_SerdeShape): + """Dataclass for GetCoipPoolUsageInput structure.""" + + pool_id: str | None = ... + """The ID of the address pool.""" + filters: list[Filter] | None = ... + """ + One or more filters. + + - `coip-address-usage.allocation-id` - The allocation ID of the address. + + - `coip-address-usage.aws-account-id` - The ID of the Amazon Web + Services account that is using the customer-owned IP address. + + - `coip-address-usage.aws-service` - The Amazon Web Services service + that is using the customer-owned IP address. + + - `coip-address-usage.co-ip` - The customer-owned IP address. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetCoipPoolUsageOutput(_SerdeShape): + """Dataclass for GetCoipPoolUsageOutput structure.""" + + coip_pool_id: str | None = ... + """The ID of the customer-owned address pool.""" + coip_address_usages: list[CoipAddressUsage] | None = ... + """Information about the address usage.""" + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetConsoleOutputInput(_SerdeShape): + """Dataclass for GetConsoleOutputInput structure.""" + + instance_id: str | None = ... + """The ID of the instance.""" + latest: bool | None = ... + """ + When enabled, retrieves the latest console output for the instance. + + Default: disabled (`false`) + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetConsoleOutputOutput(_SerdeShape): + """Dataclass for GetConsoleOutputOutput structure.""" + + instance_id: str | None = ... + """The ID of the instance.""" + timestamp: datetime | None = ... + """The time at which the output was last updated.""" + output: str | None = ... + """ + The console output, base64-encoded. If you are using a command line + tool, the tool decodes the output for you. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetConsoleScreenshotInput(_SerdeShape): + """Dataclass for GetConsoleScreenshotInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the instance.""" + wake_up: bool | None = ... + """ + When set to `true`, acts as keystroke input and wakes up an instance + that's in standby or \"sleep\" mode. + """ + +@dataclass(kw_only=True) +class GetConsoleScreenshotOutput(_SerdeShape): + """Dataclass for GetConsoleScreenshotOutput structure.""" + + image_data: str | None = ... + """The data that comprises the image.""" + instance_id: str | None = ... + """The ID of the instance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDeclarativePoliciesReportSummaryInput(_SerdeShape): + """Dataclass for GetDeclarativePoliciesReportSummaryInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + report_id: str | None = ... + """The ID of the report.""" + +@dataclass(kw_only=True) +class GetDeclarativePoliciesReportSummaryOutput(_SerdeShape): + """Dataclass for GetDeclarativePoliciesReportSummaryOutput structure.""" + + report_id: str | None = ... + """The ID of the report.""" + s3_bucket: str | None = ... + """The name of the Amazon S3 bucket where the report is located.""" + s3_prefix: str | None = ... + """The prefix for your S3 object.""" + target_id: str | None = ... + """ + The root ID, organizational unit ID, or account ID. + + Format: + + - For root: `r-ab12` + + - For OU: `ou-ab12-cdef1234` + + - For account: `123456789012` + """ + start_time: datetime | None = ... + """The time when the report generation started.""" + end_time: datetime | None = ... + """The time when the report generation ended.""" + number_of_accounts: int | None = ... + """The total number of accounts associated with the specified `targetId`.""" + number_of_failed_accounts: int | None = ... + """ + The number of accounts where attributes could not be retrieved in any + Region. + """ + attribute_summaries: list[AttributeSummary] | None = ... + """The attributes described in the report.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDefaultCreditSpecificationInput(_SerdeShape): + """Dataclass for GetDefaultCreditSpecificationInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + instance_family: str | None = ... + """The instance family.""" + +@dataclass(kw_only=True) +class GetDefaultCreditSpecificationOutput(_SerdeShape): + """Dataclass for GetDefaultCreditSpecificationOutput structure.""" + + instance_family_credit_specification: InstanceFamilyCreditSpecification | None = ... + """The default credit option for CPU usage of the instance family.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEbsDefaultKmsKeyIdInput(_SerdeShape): + """Dataclass for GetEbsDefaultKmsKeyIdInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetEbsDefaultKmsKeyIdOutput(_SerdeShape): + """Dataclass for GetEbsDefaultKmsKeyIdOutput structure.""" + + kms_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the default KMS key for encryption by + default. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEbsEncryptionByDefaultInput(_SerdeShape): + """Dataclass for GetEbsEncryptionByDefaultInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetEbsEncryptionByDefaultOutput(_SerdeShape): + """Dataclass for GetEbsEncryptionByDefaultOutput structure.""" + + ebs_encryption_by_default: bool | None = ... + """Indicates whether encryption by default is enabled.""" + sse_type: str | None = ... + """Reserved for future use.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEnabledIpamPolicyInput(_SerdeShape): + """Dataclass for GetEnabledIpamPolicyInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetEnabledIpamPolicyOutput(_SerdeShape): + """Dataclass for GetEnabledIpamPolicyOutput structure.""" + + ipam_policy_enabled: bool | None = ... + """Indicates whether the IPAM policy is enabled.""" + ipam_policy_id: str | None = ... + """The ID of the enabled IPAM policy.""" + managed_by: str | None = ... + """The entity that manages the IPAM policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFlowLogsIntegrationTemplateInput(_SerdeShape): + """Dataclass for GetFlowLogsIntegrationTemplateInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + flow_log_id: str | None = ... + """The ID of the flow log.""" + config_delivery_s3_destination_arn: str | None = ... + """ + To store the CloudFormation template in Amazon S3, specify the location + in Amazon S3. + """ + integrate_services: IntegrateServices | None = ... + """Information about the service integration.""" + +@dataclass(kw_only=True) +class GetFlowLogsIntegrationTemplateOutput(_SerdeShape): + """Dataclass for GetFlowLogsIntegrationTemplateOutput structure.""" + + result: str | None = ... + """The generated CloudFormation template.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGroupsForCapacityReservationInput(_SerdeShape): + """Dataclass for GetGroupsForCapacityReservationInput structure.""" + + capacity_reservation_id: str | None = ... + """ + The ID of the Capacity Reservation. If you specify a Capacity + Reservation that is shared with you, the operation returns only Capacity + Reservation groups that you own. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetGroupsForCapacityReservationOutput(_SerdeShape): + """Dataclass for GetGroupsForCapacityReservationOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + capacity_reservation_groups: list[CapacityReservationGroup] | None = ... + """ + Information about the resource groups to which the Capacity Reservation + has been added. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetHostReservationPurchasePreviewInput(_SerdeShape): + """Dataclass for GetHostReservationPurchasePreviewInput structure.""" + + host_id_set: list[str] | None = ... + """The IDs of the Dedicated Hosts with which the reservation is associated.""" + offering_id: str | None = ... + """The offering ID of the reservation.""" + +@dataclass(kw_only=True) +class GetHostReservationPurchasePreviewOutput(_SerdeShape): + """Dataclass for GetHostReservationPurchasePreviewOutput structure.""" + + currency_code: str | None = ... + """ + The currency in which the `totalUpfrontPrice` and `totalHourlyPrice` + amounts are specified. At this time, the only supported currency is + `USD`. + """ + purchase: list[Purchase] | None = ... + """ + The purchase information of the Dedicated Host reservation and the + Dedicated Hosts associated with it. + """ + total_hourly_price: str | None = ... + """The potential total hourly price of the reservation per hour.""" + total_upfront_price: str | None = ... + """The potential total upfront price. This is billed immediately.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetImageAncestryInput(_SerdeShape): + """Dataclass for GetImageAncestryInput structure.""" + + image_id: str | None = ... + """The ID of the AMI whose ancestry you want to trace.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetImageAncestryOutput(_SerdeShape): + """Dataclass for GetImageAncestryOutput structure.""" + + image_ancestry_entries: list[ImageAncestryEntry] | None = ... + """ + A list of entries in the AMI ancestry chain, from the specified AMI to + the root AMI. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetImageBlockPublicAccessStateInput(_SerdeShape): + """Dataclass for GetImageBlockPublicAccessStateInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetImageBlockPublicAccessStateOutput(_SerdeShape): + """Dataclass for GetImageBlockPublicAccessStateOutput structure.""" + + image_block_public_access_state: str | None = ... + """ + The current state of block public access for AMIs at the account level + in the specified Amazon Web Services Region. + + Possible values: + + - `block-new-sharing` - Any attempt to publicly share your AMIs in the + specified Region is blocked. + + - `unblocked` - Your AMIs in the specified Region can be publicly + shared. + """ + managed_by: str | None = ... + """ + The entity that manages the state for block public access for AMIs. + Possible values include: + + - `account` - The state is managed by the account. + + - `declarative-policy` - The state is managed by a declarative policy + and can't be modified by the account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetImageFindingsInput(_SerdeShape): + """Dataclass for GetImageFindingsInput structure.""" + + image_id: str | None = ... + """The ID of the AMI.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetImageFindingsOutput(_SerdeShape): + """Dataclass for GetImageFindingsOutput structure.""" + + image_findings: list[ImageFinding] | None = ... + """The Amazon Inspector findings for the AMI.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInstanceMetadataDefaultsInput(_SerdeShape): + """Dataclass for GetInstanceMetadataDefaultsInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetInstanceMetadataDefaultsOutput(_SerdeShape): + """Dataclass for GetInstanceMetadataDefaultsOutput structure.""" + + account_level: InstanceMetadataDefaultsResponse | None = ... + """The account-level default IMDS settings.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInstanceTpmEkPubInput(_SerdeShape): + """Dataclass for GetInstanceTpmEkPubInput structure.""" + + instance_id: str | None = ... + """The ID of the instance for which to get the public endorsement key.""" + key_type: str | None = ... + """The required public endorsement key type.""" + key_format: str | None = ... + """ + The required public endorsement key format. Specify `der` for a + DER-encoded public key that is compatible with OpenSSL. Specify `tpmt` + for a TPM 2.0 format that is compatible with tpm2-tools. The returned + key is base64 encoded. + """ + dry_run: bool | None = ... + """ + Specify this parameter to verify whether the request will succeed, + without actually making the request. If the request will succeed, the + response is `DryRunOperation`. Otherwise, the response is + `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetInstanceTpmEkPubOutput(_SerdeShape): + """Dataclass for GetInstanceTpmEkPubOutput structure.""" + + instance_id: str | None = ... + """The ID of the instance.""" + key_type: str | None = ... + """The public endorsement key type.""" + key_format: str | None = ... + """The public endorsement key format.""" + key_value: str | None = ... + """The public endorsement key material.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInstanceTypesFromInstanceRequirementsInput(_SerdeShape): + """Dataclass for GetInstanceTypesFromInstanceRequirementsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + architecture_types: list[str] | None = ... + """The processor architecture type.""" + virtualization_types: list[str] | None = ... + """The virtualization type.""" + instance_requirements: InstanceRequirementsRequest | None = ... + """The attributes required for the instance types.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + context: str | None = ... + """Reserved.""" + +@dataclass(kw_only=True) +class GetInstanceTypesFromInstanceRequirementsOutput(_SerdeShape): + """Dataclass for GetInstanceTypesFromInstanceRequirementsOutput structure.""" + + instance_types: list[InstanceTypeInfoFromInstanceRequirements] | None = ... + """The instance types with the specified instance attributes.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInstanceUefiDataInput(_SerdeShape): + """Dataclass for GetInstanceUefiDataInput structure.""" + + instance_id: str | None = ... + """The ID of the instance from which to retrieve the UEFI data.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetInstanceUefiDataOutput(_SerdeShape): + """Dataclass for GetInstanceUefiDataOutput structure.""" + + instance_id: str | None = ... + """The ID of the instance from which to retrieve the UEFI data.""" + uefi_data: str | None = ... + """Base64 representation of the non-volatile UEFI variable store.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamAddressHistoryInput(_SerdeShape): + """Dataclass for GetIpamAddressHistoryInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + cidr: str | None = ... + """ + The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP + address range. If you enter a /16 IPv4 CIDR, you will get records that + match it exactly. You will not get records for any subnets within the + /16 CIDR. + """ + ipam_scope_id: str | None = ... + """The ID of the IPAM scope that the CIDR is in.""" + vpc_id: str | None = ... + """The ID of the VPC you want your history records filtered by.""" + start_time: datetime | None = ... + """ + The start of the time period for which you are looking for history. If + you omit this option, it will default to the value of EndTime. + """ + end_time: datetime | None = ... + """ + The end of the time period for which you are looking for history. If you + omit this option, it will default to the current time. + """ + max_results: int | None = ... + """ + The maximum number of historical results you would like returned per + page. Defaults to 100. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamAddressHistoryOutput(_SerdeShape): + """Dataclass for GetIpamAddressHistoryOutput structure.""" + + history_records: list[IpamAddressHistoryRecord] | None = ... + """ + A historical record for a CIDR within an IPAM scope. If the CIDR is + associated with an EC2 instance, you will see an object in the response + for the instance and one for the network interface. + """ + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamDiscoveredAccountsInput(_SerdeShape): + """Dataclass for GetIpamDiscoveredAccountsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_resource_discovery_id: str | None = ... + """A resource discovery ID.""" + discovery_region: str | None = ... + """ + The Amazon Web Services Region that the account information is returned + from. + """ + filters: list[Filter] | None = ... + """Discovered account filters.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + max_results: int | None = ... + """ + The maximum number of discovered accounts to return in one page of + results. + """ + +@dataclass(kw_only=True) +class GetIpamDiscoveredAccountsOutput(_SerdeShape): + """Dataclass for GetIpamDiscoveredAccountsOutput structure.""" + + ipam_discovered_accounts: list[IpamDiscoveredAccount] | None = ... + """Discovered accounts.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamDiscoveredPublicAddressesInput(_SerdeShape): + """Dataclass for GetIpamDiscoveredPublicAddressesInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_resource_discovery_id: str | None = ... + """An IPAM resource discovery ID.""" + address_region: str | None = ... + """The Amazon Web Services Region for the IP address.""" + filters: list[Filter] | None = ... + """Filters.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of IPAM discovered public addresses to return in one + page of results. + """ + +@dataclass(kw_only=True) +class GetIpamDiscoveredPublicAddressesOutput(_SerdeShape): + """Dataclass for GetIpamDiscoveredPublicAddressesOutput structure.""" + + ipam_discovered_public_addresses: list[IpamDiscoveredPublicAddress] | None = ... + """IPAM discovered public addresses.""" + oldest_sample_time: datetime | None = ... + """The oldest successful resource discovery time.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamDiscoveredResourceCidrsInput(_SerdeShape): + """Dataclass for GetIpamDiscoveredResourceCidrsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_resource_discovery_id: str | None = ... + """A resource discovery ID.""" + resource_region: str | None = ... + """A resource Region.""" + filters: list[Filter] | None = ... + """Filters.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + max_results: int | None = ... + """ + The maximum number of discovered resource CIDRs to return in one page of + results. + """ + +@dataclass(kw_only=True) +class GetIpamDiscoveredResourceCidrsOutput(_SerdeShape): + """Dataclass for GetIpamDiscoveredResourceCidrsOutput structure.""" + + ipam_discovered_resource_cidrs: list[IpamDiscoveredResourceCidr] | None = ... + """Discovered resource CIDRs.""" + next_token: str | None = ... + """ + Specify the pagination token from a previous request to retrieve the + next page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamDiscoveredRoutesInput(_SerdeShape): + """Dataclass for GetIpamDiscoveredRoutesInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_resource_discovery_id: str | None = ... + """The ID of the IPAM resource discovery.""" + resource_region: str | None = ... + """The Amazon Web Services Region to retrieve discovered routes for.""" + filters: list[Filter] | None = ... + """One or more filters to apply to the results.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If not + specified, all available results are returned. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + +@dataclass(kw_only=True) +class GetIpamDiscoveredRoutesOutput(_SerdeShape): + """Dataclass for GetIpamDiscoveredRoutesOutput structure.""" + + ipam_discovered_routes: list[IpamDiscoveredRoute] | None = ... + """The discovered BGP routes.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamInternetRegistryAssociationAsnsInput(_SerdeShape): + """Dataclass for GetIpamInternetRegistryAssociationAsnsInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If not + specified, all available results are returned. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """One or more filters to apply to the results.""" + +@dataclass(kw_only=True) +class GetIpamInternetRegistryAssociationAsnsOutput(_SerdeShape): + """Dataclass for GetIpamInternetRegistryAssociationAsnsOutput structure.""" + + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + ipam_internet_registry_association_asns: ( + list[IpamInternetRegistryAssociationAsn] | None + ) = ... + """The ASNs registered with the internet registry.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamInternetRegistryAssociationCidrsInput(_SerdeShape): + """Dataclass for GetIpamInternetRegistryAssociationCidrsInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If not + specified, all available results are returned. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + filters: list[Filter] | None = ... + """One or more filters to apply to the results.""" + +@dataclass(kw_only=True) +class GetIpamInternetRegistryAssociationCidrsOutput(_SerdeShape): + """Dataclass for GetIpamInternetRegistryAssociationCidrsOutput structure.""" + + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + ipam_internet_registry_association_cidrs: ( + list[IpamInternetRegistryAssociationCidr] | None + ) = ... + """The CIDRs registered with the internet registry.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamPolicyAllocationRulesInput(_SerdeShape): + """Dataclass for GetIpamPolicyAllocationRulesInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_policy_id: str | None = ... + """The ID of the IPAM policy for which to get allocation rules.""" + filters: list[Filter] | None = ... + """One or more filters for the allocation rules.""" + locale: str | None = ... + """The locale for which to get the allocation rules.""" + resource_type: str | None = ... + """ + The resource type for which to get the allocation rules. + + The Amazon Web Services service or resource type that can use IP + addresses through IPAM policies. Supported services and resource types + include: + + - Elastic IP addresses + """ + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamPolicyAllocationRulesOutput(_SerdeShape): + """Dataclass for GetIpamPolicyAllocationRulesOutput structure.""" + + ipam_policy_documents: list[IpamPolicyDocument] | None = ... + """ + The IPAM policy documents containing the allocation rules. + + Allocation rules are optional configurations within an IPAM policy that + map Amazon Web Services resource types to specific IPAM pools. If no + rules are defined, the resource types default to using Amazon-provided + IP addresses. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamPolicyOrganizationTargetsInput(_SerdeShape): + """Dataclass for GetIpamPolicyOrganizationTargetsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + next_token: str | None = ... + """The token for the next page of results.""" + ipam_policy_id: str | None = ... + """ + The ID of the IPAM policy for which to get Amazon Web Services + Organizations targets. + """ + filters: list[Filter] | None = ... + """One or more filters for the Amazon Web Services Organizations targets.""" + +@dataclass(kw_only=True) +class GetIpamPolicyOrganizationTargetsOutput(_SerdeShape): + """Dataclass for GetIpamPolicyOrganizationTargetsOutput structure.""" + + organization_targets: list[IpamPolicyOrganizationTarget] | None = ... + """ + The IDs of the Amazon Web Services Organizations targets. + + A target can be an individual Amazon Web Services account or an entity + within an Amazon Web Services Organization to which an IPAM policy can + be applied. + """ + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamPoolAllocationsInput(_SerdeShape): + """Dataclass for GetIpamPoolAllocationsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_id: str | None = ... + """The ID of the IPAM pool you want to see the allocations for.""" + ipam_pool_allocation_id: str | None = ... + """The ID of the allocation.""" + filters: list[Filter] | None = ... + """ + One or more filters for the request. For more information about + filtering, see [Filtering CLI + output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). + """ + max_results: int | None = ... + """The maximum number of results you would like returned per page.""" + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamPoolAllocationsOutput(_SerdeShape): + """Dataclass for GetIpamPoolAllocationsOutput structure.""" + + ipam_pool_allocations: list[IpamPoolAllocation] | None = ... + """The IPAM pool allocations you want information on.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamPoolCidrsInput(_SerdeShape): + """Dataclass for GetIpamPoolCidrsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_id: str | None = ... + """The ID of the IPAM pool you want the CIDR for.""" + filters: list[Filter] | None = ... + """ + One or more filters for the request. For more information about + filtering, see [Filtering CLI + output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamPoolCidrsOutput(_SerdeShape): + """Dataclass for GetIpamPoolCidrsOutput structure.""" + + ipam_pool_cidrs: list[IpamPoolCidr] | None = ... + """Information about the CIDRs provisioned to an IPAM pool.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamPrefixListResolverRulesInput(_SerdeShape): + """Dataclass for GetIpamPrefixListResolverRulesInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_prefix_list_resolver_id: str | None = ... + """ + The ID of the IPAM prefix list resolver whose rules you want to + retrieve. + """ + filters: list[Filter] | None = ... + """One or more filters to limit the results.""" + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamPrefixListResolverRulesOutput(_SerdeShape): + """Dataclass for GetIpamPrefixListResolverRulesOutput structure.""" + + rules: list[IpamPrefixListResolverRule] | None = ... + """The CIDR selection rules for the IPAM prefix list resolver.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamPrefixListResolverVersionEntriesInput(_SerdeShape): + """Dataclass for GetIpamPrefixListResolverVersionEntriesInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_prefix_list_resolver_id: str | None = ... + """ + The ID of the IPAM prefix list resolver whose version entries you want + to retrieve. + """ + ipam_prefix_list_resolver_version: int | None = ... + """ + The version number of the resolver for which to retrieve CIDR entries. + If not specified, the latest version is used. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamPrefixListResolverVersionEntriesOutput(_SerdeShape): + """Dataclass for GetIpamPrefixListResolverVersionEntriesOutput structure.""" + + entries: list[IpamPrefixListResolverVersionEntry] | None = ... + """The CIDR entries for the specified resolver version.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamPrefixListResolverVersionsInput(_SerdeShape): + """Dataclass for GetIpamPrefixListResolverVersionsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_prefix_list_resolver_id: str | None = ... + """ + The ID of the IPAM prefix list resolver whose versions you want to + retrieve. + """ + ipam_prefix_list_resolver_versions: list[int] | None = ... + """ + Specific version numbers to retrieve. If not specified, all versions are + returned. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + filters: list[Filter] | None = ... + """One or more filters to limit the results.""" + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamPrefixListResolverVersionsOutput(_SerdeShape): + """Dataclass for GetIpamPrefixListResolverVersionsOutput structure.""" + + ipam_prefix_list_resolver_versions: list[IpamPrefixListResolverVersion] | None = ... + """Information about the IPAM prefix list resolver versions.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamResourceCidrsInput(_SerdeShape): + """Dataclass for GetIpamResourceCidrsInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """ + One or more filters for the request. For more information about + filtering, see [Filtering CLI + output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """The token for the next page of results.""" + ipam_scope_id: str | None = ... + """The ID of the scope that the resource is in.""" + ipam_pool_id: str | None = ... + """The ID of the IPAM pool that the resource is in.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """The resource type.""" + resource_tag: RequestIpamResourceTag | None = ... + """The resource tag.""" + resource_owner: str | None = ... + """The ID of the Amazon Web Services account that owns the resource.""" + +@dataclass(kw_only=True) +class GetIpamResourceCidrsOutput(_SerdeShape): + """Dataclass for GetIpamResourceCidrsOutput structure.""" + + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + ipam_resource_cidrs: list[IpamResourceCidr] | None = ... + """The resource CIDRs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamRouteOriginAuthorizationsInput(_SerdeShape): + """Dataclass for GetIpamRouteOriginAuthorizationsInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association.""" + cidr: str | None = ... + """Filter results to a specific CIDR prefix.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If not + specified, all available results are returned. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamRouteOriginAuthorizationsOutput(_SerdeShape): + """Dataclass for GetIpamRouteOriginAuthorizationsOutput structure.""" + + ipam_route_origin_authorizations: ( + list[IpamRouteOriginAuthorizationInfo] | None + ) = ... + """The Route Origin Authorizations published to the RPKI.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamRouteProtectionFindingsInput(_SerdeShape): + """Dataclass for GetIpamRouteProtectionFindingsInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """The ID of the IPAM to retrieve route protection findings for.""" + filters: list[Filter] | None = ... + """One or more filters to apply to the results.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If not + specified, all available results are returned. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + +@dataclass(kw_only=True) +class GetIpamRouteProtectionFindingsOutput(_SerdeShape): + """Dataclass for GetIpamRouteProtectionFindingsOutput structure.""" + + ipam_id: str | None = ... + """The ID of the IPAM.""" + route_protection_findings: list[IpamRouteProtectionFinding] | None = ... + """The route protection findings.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamRoutingPolicyRegistrationDeltasInput(_SerdeShape): + """Dataclass for GetIpamRoutingPolicyRegistrationDeltasInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association.""" + delta_id: str | None = ... + """Filter results to a specific delta ID.""" + start_time: datetime | None = ... + """The start of the time range to filter deltas by.""" + end_time: datetime | None = ... + """The end of the time range to filter deltas by.""" + chronological_order: str | None = ... + """ + The chronological order to return results in. Valid values: `forward` | + `reverse`. + """ + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If not + specified, all available results are returned. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamRoutingPolicyRegistrationDeltasOutput(_SerdeShape): + """Dataclass for GetIpamRoutingPolicyRegistrationDeltasOutput structure.""" + + ipam_routing_policy_registration_deltas: ( + list[IpamRoutingPolicyRegistrationDelta] | None + ) = ... + """The routing policy registration deltas.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIpamRoutingPolicyRegistrationsInput(_SerdeShape): + """Dataclass for GetIpamRoutingPolicyRegistrationsInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association.""" + cidr: str | None = ... + """Filter results to a specific CIDR prefix.""" + max_results: int | None = ... + """ + The maximum number of results to return in a single call. If not + specified, all available results are returned. To retrieve the remaining + results, make another call with the returned `nextToken` value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetIpamRoutingPolicyRegistrationsOutput(_SerdeShape): + """Dataclass for GetIpamRoutingPolicyRegistrationsOutput structure.""" + + ipam_routing_policy_registrations: list[IpamRoutingPolicyRegistration] | None = ... + """The routing policy registrations.""" + next_token: str | None = ... + """The token to use to retrieve the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetLaunchTemplateDataInput(_SerdeShape): + """Dataclass for GetLaunchTemplateDataInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the instance.""" + +@dataclass(kw_only=True) +class GetLaunchTemplateDataOutput(_SerdeShape): + """Dataclass for GetLaunchTemplateDataOutput structure.""" + + launch_template_data: ResponseLaunchTemplateData | None = ... + """The instance data.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetManagedPrefixListAssociationsInput(_SerdeShape): + """Dataclass for GetManagedPrefixListAssociationsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetManagedPrefixListAssociationsOutput(_SerdeShape): + """Dataclass for GetManagedPrefixListAssociationsOutput structure.""" + + prefix_list_associations: list[PrefixListAssociation] | None = ... + """Information about the associations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetManagedPrefixListEntriesInput(_SerdeShape): + """Dataclass for GetManagedPrefixListEntriesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + target_version: int | None = ... + """ + The version of the prefix list for which to return the entries. The + default is the current version. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + +@dataclass(kw_only=True) +class GetManagedPrefixListEntriesOutput(_SerdeShape): + """Dataclass for GetManagedPrefixListEntriesOutput structure.""" + + entries: list[PrefixListEntry] | None = ... + """Information about the prefix list entries.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetManagedResourceVisibilityInput(_SerdeShape): + """Dataclass for GetManagedResourceVisibilityInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetManagedResourceVisibilityOutput(_SerdeShape): + """Dataclass for GetManagedResourceVisibilityOutput structure.""" + + visibility: ManagedResourceVisibilitySettings | None = ... + """The managed resource visibility settings for the account.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetNetworkInsightsAccessScopeAnalysisFindingsInput(_SerdeShape): + """ + Dataclass for GetNetworkInsightsAccessScopeAnalysisFindingsInput + structure. + """ + + network_insights_access_scope_analysis_id: str | None = ... + """The ID of the Network Access Scope analysis.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetNetworkInsightsAccessScopeAnalysisFindingsOutput(_SerdeShape): + """ + Dataclass for GetNetworkInsightsAccessScopeAnalysisFindingsOutput + structure. + """ + + network_insights_access_scope_analysis_id: str | None = ... + """The ID of the Network Access Scope analysis.""" + analysis_status: str | None = ... + """The status of Network Access Scope Analysis.""" + analysis_findings: list[AccessScopeAnalysisFinding] | None = ... + """The findings associated with Network Access Scope Analysis.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetNetworkInsightsAccessScopeContentInput(_SerdeShape): + """Dataclass for GetNetworkInsightsAccessScopeContentInput structure.""" + + network_insights_access_scope_id: str | None = ... + """The ID of the Network Access Scope.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetNetworkInsightsAccessScopeContentOutput(_SerdeShape): + """Dataclass for GetNetworkInsightsAccessScopeContentOutput structure.""" + + network_insights_access_scope_content: ( + NetworkInsightsAccessScopeContent | None + ) = ... + """The Network Access Scope content.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPasswordDataInput(_SerdeShape): + """Dataclass for GetPasswordDataInput structure.""" + + instance_id: str | None = ... + """The ID of the Windows instance.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetPasswordDataOutput(_SerdeShape): + """Dataclass for GetPasswordDataOutput structure.""" + + instance_id: str | None = ... + """The ID of the Windows instance.""" + timestamp: datetime | None = ... + """The time the data was last updated.""" + password_data: str | None = ... + """ + The password of the instance. Returns an empty string if the password is + not available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetReservedInstancesExchangeQuoteInput(_SerdeShape): + """Contains the parameters for GetReservedInstanceExchangeQuote.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + reserved_instance_ids: list[str] | None = ... + """The IDs of the Convertible Reserved Instances to exchange.""" + target_configurations: list[TargetConfigurationRequest] | None = ... + """ + The configuration of the target Convertible Reserved Instance to + exchange for your current Convertible Reserved Instances. + """ + +@dataclass(kw_only=True) +class GetReservedInstancesExchangeQuoteOutput(_SerdeShape): + """Contains the output of GetReservedInstancesExchangeQuote.""" + + currency_code: str | None = ... + """The currency of the transaction.""" + is_valid_exchange: bool | None = ... + """ + If `true`, the exchange is valid. If `false`, the exchange cannot be + completed. + """ + output_reserved_instances_will_expire_at: datetime | None = ... + """The new end date of the reservation term.""" + payment_due: str | None = ... + """The total true upfront charge for the exchange.""" + reserved_instance_value_rollup: ReservationValue | None = ... + """The cost associated with the Reserved Instance.""" + reserved_instance_value_set: list[ReservedInstanceReservationValue] | None = ... + """The configuration of your Convertible Reserved Instances.""" + target_configuration_value_rollup: ReservationValue | None = ... + """The cost associated with the Reserved Instance.""" + target_configuration_value_set: list[TargetReservationValue] | None = ... + """The values of the target Convertible Reserved Instances.""" + validation_failure_reason: str | None = ... + """Describes the reason why the exchange cannot be completed.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRouteServerAssociationsInput(_SerdeShape): + """Dataclass for GetRouteServerAssociationsInput structure.""" + + route_server_id: str | None = ... + """The ID of the route server for which to get association information.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetRouteServerAssociationsOutput(_SerdeShape): + """Dataclass for GetRouteServerAssociationsOutput structure.""" + + route_server_associations: list[RouteServerAssociation] | None = ... + """Information about the associations for the specified route server.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRouteServerPropagationsInput(_SerdeShape): + """Dataclass for GetRouteServerPropagationsInput structure.""" + + route_server_id: str | None = ... + """The ID of the route server for which to get propagation information.""" + route_table_id: str | None = ... + """The ID of the route table for which to get propagation information.""" + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetRouteServerPropagationsOutput(_SerdeShape): + """Dataclass for GetRouteServerPropagationsOutput structure.""" + + route_server_propagations: list[RouteServerPropagation] | None = ... + """Information about the route propagations for the specified route server.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRouteServerRoutingDatabaseInput(_SerdeShape): + """Dataclass for GetRouteServerRoutingDatabaseInput structure.""" + + route_server_id: str | None = ... + """The ID of the route server for which to get the routing database.""" + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of routing database entries to return in a single + response. + """ + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + filters: list[Filter] | None = ... + """Filters to apply to the routing database query.""" + +@dataclass(kw_only=True) +class GetRouteServerRoutingDatabaseOutput(_SerdeShape): + """Dataclass for GetRouteServerRoutingDatabaseOutput structure.""" + + are_routes_persisted: bool | None = ... + """Indicates whether routes are being persisted in the routing database.""" + routes: list[RouteServerRoute] | None = ... + """The collection of routes in the route server's routing database.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSecurityGroupsForVpcInput(_SerdeShape): + """Dataclass for GetSecurityGroupsForVpcInput structure.""" + + vpc_id: str | None = ... + """The VPC ID where the security group can be used.""" + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + filters: list[Filter] | None = ... + """ + The filters. If using multiple filters, the results include security + groups which match all filters. + + - `group-id`: The security group ID. + + - `description`: The security group's description. + + - `group-name`: The security group name. + + - `owner-id`: The security group owner ID. + + - `primary-vpc-id`: The VPC ID in which the security group was created. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetSecurityGroupsForVpcOutput(_SerdeShape): + """Dataclass for GetSecurityGroupsForVpcOutput structure.""" + + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + security_group_for_vpcs: list[SecurityGroupForVpc] | None = ... + """The security group that can be used by interfaces in the VPC.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSerialConsoleAccessStatusInput(_SerdeShape): + """Dataclass for GetSerialConsoleAccessStatusInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetSerialConsoleAccessStatusOutput(_SerdeShape): + """Dataclass for GetSerialConsoleAccessStatusOutput structure.""" + + serial_console_access_enabled: bool | None = ... + """ + If `true`, access to the EC2 serial console of all instances is enabled + for your account. If `false`, access to the EC2 serial console of all + instances is disabled for your account. + """ + managed_by: str | None = ... + """ + The entity that manages access to the serial console. Possible values + include: + + - `account` - Access is managed by the account. + + - `declarative-policy` - Access is managed by a declarative policy and + can't be modified by the account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSnapshotBlockPublicAccessStateInput(_SerdeShape): + """Dataclass for GetSnapshotBlockPublicAccessStateInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetSnapshotBlockPublicAccessStateOutput(_SerdeShape): + """Dataclass for GetSnapshotBlockPublicAccessStateOutput structure.""" + + state: str | None = ... + """ + The current state of block public access for snapshots. Possible values + include: + + - `block-all-sharing` - All public sharing of snapshots is blocked. + Users in the account can't request new public sharing. Additionally, + snapshots that were already publicly shared are treated as private and + are not publicly available. + + - `block-new-sharing` - Only new public sharing of snapshots is blocked. + Users in the account can't request new public sharing. However, + snapshots that were already publicly shared, remain publicly + available. + + - `unblocked` - Public sharing is not blocked. Users can publicly share + snapshots. + """ + managed_by: str | None = ... + """ + The entity that manages the state for block public access for snapshots. + Possible values include: + + - `account` - The state is managed by the account. + + - `declarative-policy` - The state is managed by a declarative policy + and can't be modified by the account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSpotPlacementScoresInput(_SerdeShape): + """Dataclass for GetSpotPlacementScoresInput structure.""" + + instance_types: list[str] | None = ... + """ + The instance types. We recommend that you specify at least three + instance types. If you specify one or two instance types, or specify + variations of a single instance type (for example, an `m3.xlarge` with + and without instance storage), the returned placement score will always + be low. + + If you specify `InstanceTypes`, you can't specify + `InstanceRequirementsWithMetadata`. + """ + target_capacity: int | None = ... + """The target capacity.""" + target_capacity_unit_type: str | None = ... + """The unit for the target capacity.""" + single_availability_zone: bool | None = ... + """ + Specify `true` so that the response returns a list of scored + Availability Zones. Otherwise, the response returns a list of scored + Regions. + + A list of scored Availability Zones is useful if you want to launch all + of your Spot capacity into a single Availability Zone. + """ + region_names: list[str] | None = ... + """ + The Regions used to narrow down the list of Regions to be scored. Enter + the Region code, for example, `us-east-1`. + """ + instance_requirements_with_metadata: ( + InstanceRequirementsWithMetadataRequest | None + ) = ... + """ + The attributes for the instance types. When you specify instance + attributes, Amazon EC2 will identify instance types with those + attributes. + + If you specify `InstanceRequirementsWithMetadata`, you can't specify + `InstanceTypes`. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + include_local_zones: bool | None = ... + """ + Specify `true` so that the response returns scores that include Local + Zones. Otherwise, the response ignores Local Zones. + + When you request regional scores, Local Zone capacity counts toward its + parent Region. + """ + +@dataclass(kw_only=True) +class GetSpotPlacementScoresOutput(_SerdeShape): + """Dataclass for GetSpotPlacementScoresOutput structure.""" + + spot_placement_scores: list[SpotPlacementScore] | None = ... + """ + The Spot placement score for the top 10 Regions or Availability Zones, + scored on a scale from 1 to 10. Each score
 reflects how likely it is + that each Region or Availability Zone will succeed at fulfilling the + specified target capacity
 *at the time of the Spot placement score + request*. A score of `10` means that your Spot capacity request is + highly likely to succeed in that Region or Availability Zone. + + If you request a Spot placement score for Regions, a high score assumes + that your fleet request will be configured to use all Availability Zones + and the `capacity-optimized` allocation strategy. If you request a Spot + placement score for Availability Zones, a high score assumes that your + fleet request will be configured to use a single Availability Zone and + the `capacity-optimized` allocation strategy. + + Different
 Regions or Availability Zones might return the same score. + + Note: + The Spot placement score serves as a recommendation only. No score + guarantees that your Spot request will be fully or partially fulfilled. + """ + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSubnetCidrReservationsInput(_SerdeShape): + """Dataclass for GetSubnetCidrReservationsInput structure.""" + + filters: list[Filter] | None = ... + """ + One or more filters. + + - `reservationType` - The type of reservation (`prefix` | `explicit`). + + - `subnet-id` - The ID of the subnet. + + - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for + the filter name and `TeamA` for the filter value. + + - `tag-key` - The key of a tag assigned to the resource. Use this filter + to find all resources assigned a tag with a specific key, regardless + of the tag value. + """ + subnet_id: str | None = ... + """The ID of the subnet.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + next_token: str | None = ... + """The token for the next page of results.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + +@dataclass(kw_only=True) +class GetSubnetCidrReservationsOutput(_SerdeShape): + """Dataclass for GetSubnetCidrReservationsOutput structure.""" + + subnet_ipv4_cidr_reservations: list[SubnetCidrReservation] | None = ... + """Information about the IPv4 subnet CIDR reservations.""" + subnet_ipv6_cidr_reservations: list[SubnetCidrReservation] | None = ... + """Information about the IPv6 subnet CIDR reservations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayAttachmentNatConfigurationInput(_SerdeShape): + """ + Dataclass for GetTransitGatewayAttachmentNatConfigurationInput + structure. + """ + + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayAttachmentNatConfigurationOutput(_SerdeShape): + """ + Dataclass for GetTransitGatewayAttachmentNatConfigurationOutput + structure. + """ + + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + nat_gateway_support: str | None = ... + """The state of NAT gateway support for the attachment.""" + nat_system_route_support: str | None = ... + """ + Specifies whether the transit gateway installs routes for the NAT CIDRs + in the route tables to which the attachment propagates. + """ + nat_gateway_rules: list[TransitGatewayNatRule] | None = ... + """The NAT gateway rules for the attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayAttachmentPropagationsInput(_SerdeShape): + """Dataclass for GetTransitGatewayAttachmentPropagationsInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `transit-gateway-route-table-id` - The ID of the transit gateway route + table. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayAttachmentPropagationsOutput(_SerdeShape): + """Dataclass for GetTransitGatewayAttachmentPropagationsOutput structure.""" + + transit_gateway_attachment_propagations: ( + list[TransitGatewayAttachmentPropagation] | None + ) = ... + """Information about the propagation route tables.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayMeteringPolicyEntriesInput(_SerdeShape): + """Dataclass for GetTransitGatewayMeteringPolicyEntriesInput structure.""" + + transit_gateway_metering_policy_id: str | None = ... + """The ID of the transit gateway metering policy to retrieve entries for.""" + filters: list[Filter] | None = ... + """One or more filters to apply when retrieving metering policy entries.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayMeteringPolicyEntriesOutput(_SerdeShape): + """Dataclass for GetTransitGatewayMeteringPolicyEntriesOutput structure.""" + + transit_gateway_metering_policy_entries: ( + list[TransitGatewayMeteringPolicyEntry] | None + ) = ... + """Information about the transit gateway metering policy entries.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayMulticastDomainAssociationsInput(_SerdeShape): + """ + Dataclass for GetTransitGatewayMulticastDomainAssociationsInput + structure. + """ + + transit_gateway_multicast_domain_id: str | None = ... + """The ID of the transit gateway multicast domain.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `resource-id` - The ID of the resource. + + - `resource-type` - The type of resource. The valid value is: `vpc`. + + - `state` - The state of the subnet association. Valid values are + `associated` | `associating` | `disassociated` | `disassociating`. + + - `subnet-id` - The ID of the subnet. + + - `transit-gateway-attachment-id` - The id of the transit gateway + attachment. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayMulticastDomainAssociationsOutput(_SerdeShape): + """ + Dataclass for GetTransitGatewayMulticastDomainAssociationsOutput + structure. + """ + + multicast_domain_associations: ( + list[TransitGatewayMulticastDomainAssociation] | None + ) = ... + """Information about the multicast domain associations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayPolicyTableAssociationsInput(_SerdeShape): + """Dataclass for GetTransitGatewayPolicyTableAssociationsInput structure.""" + + transit_gateway_policy_table_id: str | None = ... + """The ID of the transit gateway policy table.""" + filters: list[Filter] | None = ... + """The filters associated with the transit gateway policy table.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayPolicyTableAssociationsOutput(_SerdeShape): + """Dataclass for GetTransitGatewayPolicyTableAssociationsOutput structure.""" + + associations: list[TransitGatewayPolicyTableAssociation] | None = ... + """Returns details about the transit gateway policy table association.""" + next_token: str | None = ... + """The token for the next page of results.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayPolicyTableEntriesInput(_SerdeShape): + """Dataclass for GetTransitGatewayPolicyTableEntriesInput structure.""" + + transit_gateway_policy_table_id: str | None = ... + """The ID of the transit gateway policy table.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `policy-rule-number` - The rule number for the transit gateway policy + table entry. + + - `target-route-table-id` - The ID of the target route table. + + - `policy-rule.source-ip` - The source CIDR block for the policy rule. + + - `policy-rule.destination-ip` - The destination CIDR block for the + policy rule. + + - `policy-rule.source-port` - The source port or port range for the + policy rule. + + - `policy-rule.destination-port` - The destination port or port range + for the policy rule. + + - `policy-rule.protocol` - The protocol for the policy rule. + + - `policy-rule.meta-data.key` - The metadata key for the policy rule. + + - `policy-rule.meta-data.value` - The metadata value for the policy + rule. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayPolicyTableEntriesOutput(_SerdeShape): + """Dataclass for GetTransitGatewayPolicyTableEntriesOutput structure.""" + + transit_gateway_policy_table_entries: ( + list[TransitGatewayPolicyTableEntry] | None + ) = ... + """The entries for the transit gateway policy table.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayPrefixListReferencesInput(_SerdeShape): + """Dataclass for GetTransitGatewayPrefixListReferencesInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `attachment.resource-id` - The ID of the resource for the attachment. + + - `attachment.resource-type` - The type of resource for the attachment. + Valid values are `vpc` | `vpn` | `direct-connect-gateway` | + `peering`. + + - `attachment.transit-gateway-attachment-id` - The ID of the attachment. + + - `is-blackhole` - Whether traffic matching the route is blocked (`true` + | `false`). + + - `prefix-list-id` - The ID of the prefix list. + + - `prefix-list-owner-id` - The ID of the owner of the prefix list. + + - `state` - The state of the prefix list reference (`pending` | + `available` | `modifying` | `deleting`). + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayPrefixListReferencesOutput(_SerdeShape): + """Dataclass for GetTransitGatewayPrefixListReferencesOutput structure.""" + + transit_gateway_prefix_list_references: ( + list[TransitGatewayPrefixListReference] | None + ) = ... + """Information about the prefix list references.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayRouteTableAssociationsInput(_SerdeShape): + """Dataclass for GetTransitGatewayRouteTableAssociationsInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `resource-id` - The ID of the resource. + + - `resource-type` - The resource type. Valid values are `vpc` | `vpn` + | `direct-connect-gateway` | `peering` | `connect`. + + - `transit-gateway-attachment-id` - The ID of the attachment. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayRouteTableAssociationsOutput(_SerdeShape): + """Dataclass for GetTransitGatewayRouteTableAssociationsOutput structure.""" + + associations: list[TransitGatewayRouteTableAssociation] | None = ... + """Information about the associations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayRouteTablePropagationsInput(_SerdeShape): + """Dataclass for GetTransitGatewayRouteTablePropagationsInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + filters: list[Filter] | None = ... + """ + One or more filters. The possible values are: + + - `resource-id` - The ID of the resource. + + - `resource-type` - The resource type. Valid values are `vpc` | `vpn` + | `direct-connect-gateway` | `peering` | `connect`. + + - `transit-gateway-attachment-id` - The ID of the attachment. + """ + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetTransitGatewayRouteTablePropagationsOutput(_SerdeShape): + """Dataclass for GetTransitGatewayRouteTablePropagationsOutput structure.""" + + transit_gateway_route_table_propagations: ( + list[TransitGatewayRouteTablePropagation] | None + ) = ... + """Information about the route table propagations.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVerifiedAccessEndpointPolicyInput(_SerdeShape): + """Dataclass for GetVerifiedAccessEndpointPolicyInput structure.""" + + verified_access_endpoint_id: str | None = ... + """The ID of the Verified Access endpoint.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetVerifiedAccessEndpointPolicyOutput(_SerdeShape): + """Dataclass for GetVerifiedAccessEndpointPolicyOutput structure.""" + + policy_enabled: bool | None = ... + """The status of the Verified Access policy.""" + policy_document: str | None = ... + """The Verified Access policy document.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVerifiedAccessEndpointTargetsInput(_SerdeShape): + """Dataclass for GetVerifiedAccessEndpointTargetsInput structure.""" + + verified_access_endpoint_id: str | None = ... + """The ID of the network CIDR endpoint.""" + max_results: int | None = ... + """ + The maximum number of results to return with a single call. To retrieve + the remaining results, make another call with the returned `nextToken` + value. + """ + next_token: str | None = ... + """The token for the next page of results.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetVerifiedAccessEndpointTargetsOutput(_SerdeShape): + """Dataclass for GetVerifiedAccessEndpointTargetsOutput structure.""" + + verified_access_endpoint_targets: list[VerifiedAccessEndpointTarget] | None = ... + """The Verified Access targets.""" + next_token: str | None = ... + """ + The token to use to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVerifiedAccessGroupPolicyInput(_SerdeShape): + """Dataclass for GetVerifiedAccessGroupPolicyInput structure.""" + + verified_access_group_id: str | None = ... + """The ID of the Verified Access group.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetVerifiedAccessGroupPolicyOutput(_SerdeShape): + """Dataclass for GetVerifiedAccessGroupPolicyOutput structure.""" + + policy_enabled: bool | None = ... + """The status of the Verified Access policy.""" + policy_document: str | None = ... + """The Verified Access policy document.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVpcResourcesBlockingEncryptionEnforcementInput(_SerdeShape): + """ + Dataclass for GetVpcResourcesBlockingEncryptionEnforcementInput + structure. + """ + + vpc_id: str | None = ... + """ + The ID of the VPC to check for resources blocking encryption + enforcement. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetVpcResourcesBlockingEncryptionEnforcementOutput(_SerdeShape): + """ + Dataclass for GetVpcResourcesBlockingEncryptionEnforcementOutput + structure. + """ + + non_compliant_resources: list[VpcEncryptionNonCompliantResource] | None = ... + """Information about resources that are blocking encryption enforcement.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVpnConnectionDeviceSampleConfigurationInput(_SerdeShape): + """Dataclass for GetVpnConnectionDeviceSampleConfigurationInput structure.""" + + vpn_connection_id: str | None = ... + """ + The `VpnConnectionId` specifies the Site-to-Site VPN connection used for + the sample configuration. + """ + vpn_connection_device_type_id: str | None = ... + """Device identifier provided by the `GetVpnConnectionDeviceTypes` API.""" + internet_key_exchange_version: str | None = ... + """ + The IKE version to be used in the sample configuration file for your + customer gateway device. You can specify one of the following versions: + `ikev1` or `ikev2`. + """ + sample_type: str | None = ... + """ + The type of sample configuration to generate. Valid values are + \"compatibility\" (includes IKEv1) or \"recommended\" (throws + UnsupportedOperationException for IKEv1). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetVpnConnectionDeviceSampleConfigurationOutput(_SerdeShape): + """Dataclass for GetVpnConnectionDeviceSampleConfigurationOutput structure.""" + + vpn_connection_device_sample_configuration: str | None = ... + """Sample configuration file for the specified customer gateway device.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVpnConnectionDeviceTypesInput(_SerdeShape): + """Dataclass for GetVpnConnectionDeviceTypesInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results returned by `GetVpnConnectionDeviceTypes` + in paginated output. When this parameter is used, + `GetVpnConnectionDeviceTypes` only returns `MaxResults` results in a + single page along with a `NextToken` response element. The remaining + results of the initial request can be seen by sending another + `GetVpnConnectionDeviceTypes` request with the returned `NextToken` + value. This value can be between 200 and 1000. If this parameter is not + used, then `GetVpnConnectionDeviceTypes` returns all results. + """ + next_token: str | None = ... + """ + The `NextToken` value returned from a previous paginated + `GetVpnConnectionDeviceTypes` request where `MaxResults` was used and + the results exceeded the value of that parameter. Pagination continues + from the end of the previous results that returned the `NextToken` + value. This value is null when there are no more results to return. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetVpnConnectionDeviceTypesOutput(_SerdeShape): + """Dataclass for GetVpnConnectionDeviceTypesOutput structure.""" + + vpn_connection_device_types: list[VpnConnectionDeviceType] | None = ... + """ + List of customer gateway devices that have a sample configuration file + available for use. + """ + next_token: str | None = ... + """ + The `NextToken` value to include in a future + `GetVpnConnectionDeviceTypes` request. When the results of a + `GetVpnConnectionDeviceTypes` request exceed `MaxResults`, this value + can be used to retrieve the next page of results. This value is null + when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetVpnTunnelReplacementStatusInput(_SerdeShape): + """Dataclass for GetVpnTunnelReplacementStatusInput structure.""" + + vpn_connection_id: str | None = ... + """The ID of the Site-to-Site VPN connection.""" + vpn_tunnel_outside_ip_address: str | None = ... + """The external IP address of the VPN tunnel.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class GetVpnTunnelReplacementStatusOutput(_SerdeShape): + """Dataclass for GetVpnTunnelReplacementStatusOutput structure.""" + + vpn_connection_id: str | None = ... + """The ID of the Site-to-Site VPN connection.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway associated with the VPN connection.""" + customer_gateway_id: str | None = ... + """The ID of the customer gateway.""" + vpn_gateway_id: str | None = ... + """The ID of the virtual private gateway.""" + vpn_tunnel_outside_ip_address: str | None = ... + """The external IP address of the VPN tunnel.""" + maintenance_details: MaintenanceDetails | None = ... + """Get details of pending tunnel endpoint maintenance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GpuDeviceInfo(_SerdeShape): + """Describes the GPU accelerators for the instance type.""" + + name: str | None = ... + """The name of the GPU accelerator.""" + manufacturer: str | None = ... + """The manufacturer of the GPU accelerator.""" + count: int | None = ... + """The number of GPUs for the instance type.""" + logical_gpu_count: int | None = ... + """Total number of GPU devices of this type.""" + gpu_partition_size: float | None = ... + """ + The size of each GPU as a fraction of a full GPU, between 0 (excluded) + and 1 (included). + """ + workloads: list[str] | None = ... + """A list of workload types this GPU supports.""" + memory_info: GpuDeviceMemoryInfo | None = ... + """Describes the memory available to the GPU accelerator.""" + +@dataclass(kw_only=True) +class GpuDeviceMemoryInfo(_SerdeShape): + """Describes the memory available to the GPU accelerator.""" + + size_in_mi_b: int | None = ... + """The size of the memory available to the GPU accelerator, in MiB.""" + +@dataclass(kw_only=True) +class GpuInfo(_SerdeShape): + """Describes the GPU accelerators for the instance type.""" + + gpus: list[GpuDeviceInfo] | None = ... + """Describes the GPU accelerators for the instance type.""" + total_gpu_memory_in_mi_b: int | None = ... + """ + The total size of the memory for the GPU accelerators for the instance + type, in MiB. + """ + +class GroupBy(UnknownEnumMixin, StrEnum): + RESOURCE_REGION = "resource-region" + AVAILABILITY_ZONE_ID = "availability-zone-id" + ACCOUNT_ID = "account-id" + ACCOUNT_NAME = "account-name" + INSTANCE_FAMILY = "instance-family" + INSTANCE_TYPE = "instance-type" + INSTANCE_PLATFORM = "instance-platform" + RESERVATION_ARN = "reservation-arn" + RESERVATION_ID = "reservation-id" + RESERVATION_TYPE = "reservation-type" + RESERVATION_CREATE_TIMESTAMP = "reservation-create-timestamp" + RESERVATION_START_TIMESTAMP = "reservation-start-timestamp" + RESERVATION_END_TIMESTAMP = "reservation-end-timestamp" + RESERVATION_END_DATE_TYPE = "reservation-end-date-type" + TENANCY = "tenancy" + RESERVATION_STATE = "reservation-state" + RESERVATION_INSTANCE_MATCH_CRITERIA = "reservation-instance-match-criteria" + RESERVATION_UNUSED_FINANCIAL_OWNER = "reservation-unused-financial-owner" + +@dataclass(kw_only=True) +class GroupIdentifier(_SerdeShape): + """Describes a security group.""" + + group_id: str | None = ... + """The ID of the security group.""" + group_name: str | None = ... + """The name of the security group.""" + +class HaStatus(UnknownEnumMixin, StrEnum): + PROCESSING = "processing" + ACTIVE = "active" + STANDBY = "standby" + INVALID = "invalid" + +@dataclass(kw_only=True) +class HealthCheckPathDestinationRequestObject(_SerdeShape): + """ + Describes a destination for a health check path in a request. + Destinations can be in a different Availability Zone than the source + (cross-AZ) or in a Local Zone (AZ to Local Zone), enabling remote health + validation of your application. + """ + + subnet_id: str | None = ... + """The ID of the subnet for the destination.""" + security_group_id: str | None = ... + """The ID of the security group for the destination.""" + +@dataclass(kw_only=True) +class HealthCheckPathDestinationResponseObject(_SerdeShape): + """Describes a destination for a health check path.""" + + subnet_id: str | None = ... + """The ID of the subnet for the destination.""" + security_group_id: str | None = ... + """The ID of the security group for the destination.""" + +@dataclass(kw_only=True) +class HealthCheckPathRequestObject(_SerdeShape): + """Describes a health check path for an application status check request.""" + + source: HealthCheckPathSourceRequestObject | None = ... + """The source for the health check path.""" + destinations: list[HealthCheckPathDestinationRequestObject] | None = ... + """The destinations for the health check path.""" + +@dataclass(kw_only=True) +class HealthCheckPathResponseObject(_SerdeShape): + """Describes a health check path for an application status check.""" + + source: HealthCheckPathSourceResponseObject | None = ... + """The source for the health check path.""" + destinations: list[HealthCheckPathDestinationResponseObject] | None = ... + """The destinations for the health check path.""" + +@dataclass(kw_only=True) +class HealthCheckPathSourceRequestObject(_SerdeShape): + """ + Describes the source for a health check path in a request. The source + defines the subnet and security group where a health check elastic + network interface (ENI) is created to originate health check traffic. + """ + + subnet_id: str | None = ... + """The ID of the subnet for the source.""" + security_group_id: str | None = ... + """The ID of the security group for the source.""" + +@dataclass(kw_only=True) +class HealthCheckPathSourceResponseObject(_SerdeShape): + """Describes the source for a health check path.""" + + subnet_id: str | None = ... + """The ID of the subnet for the source.""" + security_group_id: str | None = ... + """The ID of the security group for the source.""" + +@dataclass(kw_only=True) +class HibernationOptions(_SerdeShape): + """ + Indicates whether your instance is configured for hibernation. This + parameter is valid only if the instance meets the [hibernation + prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). + For more information, see [Hibernate your Amazon EC2 + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) + in the *Amazon EC2 User Guide*. + """ + + configured: bool | None = ... + """ + If `true`, your instance is enabled for hibernation; otherwise, it is + not enabled for hibernation. + """ + +@dataclass(kw_only=True) +class HibernationOptionsRequest(_SerdeShape): + """ + Indicates whether your instance is configured for hibernation. This + parameter is valid only if the instance meets the [hibernation + prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). + For more information, see [Hibernate your Amazon EC2 + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) + in the *Amazon EC2 User Guide*. + """ + + configured: bool | None = ... + """ + Set to `true` to enable your instance for hibernation. + + For Spot Instances, if you set `Configured` to `true`, either omit the + `InstanceInterruptionBehavior` parameter (for + [`SpotMarketOptions`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotMarketOptions.html) + ), or set it to `hibernate`. When `Configured` is true: + + - If you omit `InstanceInterruptionBehavior`, it defaults to + `hibernate`. + + - If you set `InstanceInterruptionBehavior` to a value other than + `hibernate`, you'll get an error. + + Default: `false` + """ + +@dataclass(kw_only=True) +class HistoryRecord(_SerdeShape): + """Describes an event in the history of the Spot Fleet request.""" + + event_information: EventInformation | None = ... + """Information about the event.""" + event_type: str | None = ... + """ + The event type. + + - `error` - An error with the Spot Fleet request. + + - `fleetRequestChange` - A change in the status or configuration of the + Spot Fleet request. + + - `instanceChange` - An instance was launched or terminated. + + - `Information` - An informational event. + """ + timestamp: datetime | None = ... + """ + The date and time of the event, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + +@dataclass(kw_only=True) +class HistoryRecordEntry(_SerdeShape): + """Describes an event in the history of an EC2 Fleet.""" + + event_information: EventInformation | None = ... + """Information about the event.""" + event_type: str | None = ... + """The event type.""" + timestamp: datetime | None = ... + """ + The date and time of the event, in UTC format (for example, + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + +@dataclass(kw_only=True) +class Host(_SerdeShape): + """Describes the properties of the Dedicated Host.""" + + auto_placement: str | None = ... + """Whether auto-placement is on or off.""" + availability_zone: str | None = ... + """The Availability Zone of the Dedicated Host.""" + available_capacity: AvailableCapacity | None = ... + """Information about the instances running on the Dedicated Host.""" + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + host_id: str | None = ... + """The ID of the Dedicated Host.""" + host_properties: HostProperties | None = ... + """The hardware specifications of the Dedicated Host.""" + host_reservation_id: str | None = ... + """ + The reservation ID of the Dedicated Host. This returns a `null` response + if the Dedicated Host doesn't have an associated reservation. + """ + instances: list[HostInstance] | None = ... + """ + The IDs and instance type that are currently running on the Dedicated + Host. + """ + state: str | None = ... + """The Dedicated Host's state.""" + allocation_time: datetime | None = ... + """The time that the Dedicated Host was allocated.""" + release_time: datetime | None = ... + """The time that the Dedicated Host was released.""" + tags: list[Tag] | None = ... + """Any tags assigned to the Dedicated Host.""" + host_recovery: str | None = ... + """ + Indicates whether host recovery is enabled or disabled for the Dedicated + Host. + """ + allows_multiple_instance_types: str | None = ... + """ + Indicates whether the Dedicated Host supports multiple instance types of + the same instance family. If the value is `on`, the Dedicated Host + supports multiple instance types in the instance family. If the value is + `off`, the Dedicated Host supports a single instance type only. + """ + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the Dedicated Host.""" + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which the Dedicated Host is + allocated. + """ + member_of_service_linked_resource_group: bool | None = ... + """ + Indicates whether the Dedicated Host is in a host resource group. If + **memberOfServiceLinkedResourceGroup** is `true`, the host is in a host + resource group; otherwise, it is not. + """ + outpost_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on + which the Dedicated Host is allocated. + """ + host_maintenance: str | None = ... + """ + Indicates whether host maintenance is enabled or disabled for the + Dedicated Host. + """ + asset_id: str | None = ... + """ + The ID of the Outpost hardware asset on which the Dedicated Host is + allocated. + """ + cpu_options: HostCpuOptions | None = ... + """ + The CPU options for the Dedicated Host, including AMD Secure Encrypted + Virtualization-Secure Nested Paging (AMD SEV-SNP) settings. + """ + +@dataclass(kw_only=True) +class HostCpuOptions(_SerdeShape): + """ + Contains the CPU options for a Dedicated Host, including AMD Secure + Encrypted Virtualization-Secure Nested Paging (AMD SEV-SNP) settings. + """ + + amd_sev_snp: str | None = ... + """ + Specifies whether AMD Secure Encrypted Virtualization-Secure Nested + Paging (AMD SEV-SNP) is enabled or disabled for the Dedicated Host. If + you don't specify a value, AMD SEV-SNP is `disabled`. + """ + +@dataclass(kw_only=True) +class HostCpuOptionsRequest(_SerdeShape): + """ + Contains the CPU configuration options for a Dedicated Host allocation + request. Options include AMD Secure Encrypted Virtualization-Secure + Nested Paging (AMD SEV-SNP) settings. + """ + + amd_sev_snp: str | None = ... + """ + Specifies whether AMD Secure Encrypted Virtualization-Secure Nested + Paging (AMD SEV-SNP) is enabled or disabled for the Dedicated Host. If + you don't specify a value, AMD SEV-SNP is `disabled`. + """ + +@dataclass(kw_only=True) +class HostInstance(_SerdeShape): + """Describes an instance running on a Dedicated Host.""" + + instance_id: str | None = ... + """The ID of instance that is running on the Dedicated Host.""" + instance_type: str | None = ... + """The instance type (for example, `m3.medium`) of the running instance.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the instance.""" + +class HostMaintenance(UnknownEnumMixin, StrEnum): + ON = "on" + OFF = "off" + +class HostnameType(UnknownEnumMixin, StrEnum): + IP_NAME = "ip-name" + RESOURCE_NAME = "resource-name" + +@dataclass(kw_only=True) +class HostOffering(_SerdeShape): + """Details about the Dedicated Host Reservation offering.""" + + currency_code: str | None = ... + """The currency of the offering.""" + duration: int | None = ... + """The duration of the offering (in seconds).""" + hourly_price: str | None = ... + """The hourly price of the offering.""" + instance_family: str | None = ... + """The instance family of the offering.""" + offering_id: str | None = ... + """The ID of the offering.""" + payment_option: str | None = ... + """The available payment option.""" + upfront_price: str | None = ... + """ + The upfront price of the offering. Does not apply to No Upfront + offerings. + """ + +@dataclass(kw_only=True) +class HostProperties(_SerdeShape): + """Describes the properties of a Dedicated Host.""" + + cores: int | None = ... + """The number of cores on the Dedicated Host.""" + instance_type: str | None = ... + """ + The instance type supported by the Dedicated Host. For example, + `m5.large`. If the host supports multiple instance types, no + **instanceType** is returned. + """ + instance_family: str | None = ... + """The instance family supported by the Dedicated Host. For example, `m5`.""" + sockets: int | None = ... + """The number of sockets on the Dedicated Host.""" + total_v_cpus: int | None = ... + """The total number of vCPUs on the Dedicated Host.""" + +class HostRecovery(UnknownEnumMixin, StrEnum): + ON = "on" + OFF = "off" + +@dataclass(kw_only=True) +class HostReservation(_SerdeShape): + """ + Details about the Dedicated Host Reservation and associated Dedicated + Hosts. + """ + + count: int | None = ... + """The number of Dedicated Hosts the reservation is associated with.""" + currency_code: str | None = ... + """ + The currency in which the `upfrontPrice` and `hourlyPrice` amounts are + specified. At this time, the only supported currency is `USD`. + """ + duration: int | None = ... + """ + The length of the reservation's term, specified in seconds. Can be + `31536000 (1 year)` | `94608000 (3 years)`. + """ + end: datetime | None = ... + """The date and time that the reservation ends.""" + host_id_set: list[str] | None = ... + """The IDs of the Dedicated Hosts associated with the reservation.""" + host_reservation_id: str | None = ... + """The ID of the reservation that specifies the associated Dedicated Hosts.""" + hourly_price: str | None = ... + """The hourly price of the reservation.""" + instance_family: str | None = ... + """ + The instance family of the Dedicated Host Reservation. The instance + family on the Dedicated Host must be the same in order for it to benefit + from the reservation. + """ + offering_id: str | None = ... + """ + The ID of the reservation. This remains the same regardless of which + Dedicated Hosts are associated with it. + """ + payment_option: str | None = ... + """The payment option selected for this reservation.""" + start: datetime | None = ... + """The date and time that the reservation started.""" + state: str | None = ... + """The state of the reservation.""" + upfront_price: str | None = ... + """The upfront price of the reservation.""" + tags: list[Tag] | None = ... + """Any tags assigned to the Dedicated Host Reservation.""" + +class HostTenancy(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + DEDICATED = "dedicated" + HOST = "host" + +class HttpTokensEnforcedState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + +class HttpTokensState(UnknownEnumMixin, StrEnum): + OPTIONAL = "optional" + REQUIRED = "required" + +class HypervisorType(UnknownEnumMixin, StrEnum): + OVM = "ovm" + XEN = "xen" + +@dataclass(kw_only=True) +class IamInstanceProfile(_SerdeShape): + """Describes an IAM instance profile.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the instance profile.""" + id: str | None = ... + """The ID of the instance profile.""" + +@dataclass(kw_only=True) +class IamInstanceProfileAssociation(_SerdeShape): + """ + Describes an association between an IAM instance profile and an + instance. + """ + + association_id: str | None = ... + """The ID of the association.""" + instance_id: str | None = ... + """The ID of the instance.""" + iam_instance_profile: IamInstanceProfile | None = ... + """The IAM instance profile.""" + state: str | None = ... + """The state of the association.""" + timestamp: datetime | None = ... + """The time the IAM instance profile was associated with the instance.""" + +class IamInstanceProfileAssociationState(UnknownEnumMixin, StrEnum): + ASSOCIATING = "associating" + ASSOCIATED = "associated" + DISASSOCIATING = "disassociating" + DISASSOCIATED = "disassociated" + +@dataclass(kw_only=True) +class IamInstanceProfileSpecification(_SerdeShape): + """Describes an IAM instance profile.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the instance profile.""" + name: str | None = ... + """The name of the instance profile.""" diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_7.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_7.pyi new file mode 100644 index 000000000..48ef808ea --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_7.pyi @@ -0,0 +1,8325 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AcceleratorCount, + AcceleratorCountRequest, + AcceleratorTotalMemoryMiB, + AcceleratorTotalMemoryMiBRequest, + ApplicationStatus, + ApplicationStatusSummary, + AthenaIntegration, + BaselineEbsBandwidthMbps, + BaselineEbsBandwidthMbpsRequest, + BaselinePerformanceFactors, + BaselinePerformanceFactorsRequest, + BlockDeviceMapping, + CapacityReservationSpecificationResponse, + ClientData, + ConnectionTrackingSpecificationRequest, + ConnectionTrackingSpecificationResponse, + ConversionTask, + CpuOptions, + CreationDateCondition, + CreationDateConditionRequest, + DeprecationTimeCondition, + DeprecationTimeConditionRequest, + DiskImage, + DiskImageDescription, + DiskImageDetail, + DiskImageVolumeDescription, + DiskInfo, + EbsInfo, + EbsInstanceBlockDevice, + EbsInstanceBlockDeviceSpecification, + EbsStatusSummary, + ElasticGpuAssociation, + ElasticInferenceAcceleratorAssociation, + EnaSrdSpecificationRequest, + EnclaveOptions, + FpgaInfo, + GpuInfo, + GroupIdentifier, + HibernationOptions, + IamInstanceProfile, + Ipv4PrefixSpecificationRequest, + Ipv6PrefixSpecificationRequest, + Ipv6Range, + LicenseConfiguration, + MediaAcceleratorInfo, + MemoryGiBPerVCpu, + MemoryGiBPerVCpuRequest, + MemoryInfo, + MemoryMiB, + MemoryMiBRequest, + Monitoring, + NetworkBandwidthGbps, + NetworkBandwidthGbpsRequest, + NetworkInfo, + NetworkInterfaceCount, + NetworkInterfaceCountRequest, + NeuronInfo, + NitroTpmInfo, + OperatorResponse, + PerformanceStatusSummary, + Placement, + PlacementGroupInfo, + PrefixListId, + PrivateDnsNameOptionsResponse, + PrivateIpAddressSpecification, + ProcessorInfo, + ProductCode, + RequestIpamResourceTag, + ScanResultCondition, + ScanResultConditionRequest, + ScanResults, + SnapshotDetail, + SnapshotDiskContainer, + SnapshotTaskDetail, + SpotMarketOptions, + StateReason, + Tag, + TagSpecification, + TotalLocalStorageGB, + TotalLocalStorageGBRequest, + UserBucket, + UserData, + UserIdGroupPair, + VCpuCountRange, + VCpuCountRangeRequest, + VCpuInfo, + VolumeDetail, + _SerdeShape, +) + +@dataclass(kw_only=True) +class IcmpTypeCode(_SerdeShape): + """Describes the ICMP type and code.""" + + code: int | None = ... + """ + The ICMP code. A value of -1 means all codes for the specified ICMP + type. + """ + type: int | None = ... + """The ICMP type. A value of -1 means all types.""" + +@dataclass(kw_only=True) +class IdFormat(_SerdeShape): + """Describes the ID format for a resource.""" + + deadline: datetime | None = ... + """ + The date in UTC at which you are permanently switched over to using + longer IDs. If a deadline is not yet available for this resource type, + this field is not returned. + """ + resource: str | None = ... + """The type of resource.""" + use_long_ids: bool | None = ... + """ + Indicates whether longer IDs (17-character IDs) are enabled for the + resource. + """ + +class Igmpv2SupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +@dataclass(kw_only=True) +class IKEVersionsListValue(_SerdeShape): + """The internet key exchange (IKE) version permitted for the VPN tunnel.""" + + value: str | None = ... + """The IKE version.""" + +@dataclass(kw_only=True) +class IKEVersionsRequestListValue(_SerdeShape): + """The IKE version that is permitted for the VPN tunnel.""" + + value: str | None = ... + """The IKE version.""" + +@dataclass(kw_only=True) +class Image(_SerdeShape): + """Describes an image.""" + + platform_details: str | None = ... + """ + The platform details associated with the billing code of the AMI. For + more information, see [Understand AMI billing + information](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html) + in the *Amazon EC2 User Guide*. + """ + usage_operation: str | None = ... + """ + The operation of the Amazon EC2 instance and the billing code that is + associated with the AMI. `usageOperation` corresponds to the + [lineitem/Operation](https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation) + column on your Amazon Web Services Cost and Usage Report and in the + [Amazon Web Services Price List + API](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html). + You can view these fields on the **Instances** or **AMIs** pages in the + Amazon EC2 console, or in the responses that are returned by the + [DescribeImages](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html) + command in the Amazon EC2 API, or the + [describe-images](https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html) + command in the CLI. + """ + block_device_mappings: list[BlockDeviceMapping] | None = ... + """Any block device mapping entries.""" + description: str | None = ... + """The description of the AMI that was provided during image creation.""" + ena_support: bool | None = ... + """Specifies whether enhanced networking with ENA is enabled.""" + hypervisor: str | None = ... + """ + The hypervisor type of the image. Only `xen` is supported. `ovm` is not + supported. + """ + image_owner_alias: str | None = ... + """The owner alias (`amazon` | `aws-backup-vault` | `aws-marketplace`).""" + name: str | None = ... + """The name of the AMI that was provided during image creation.""" + root_device_name: str | None = ... + """The device name of the root device volume (for example, `/dev/sda1`).""" + root_device_type: str | None = ... + """ + The type of root device used by the AMI. The AMI can use an Amazon EBS + volume or an instance store volume. + """ + sriov_net_support: str | None = ... + """ + Specifies whether enhanced networking with the Intel 82599 Virtual + Function interface is enabled. + """ + state_reason: StateReason | None = ... + """The reason for the state change.""" + tags: list[Tag] | None = ... + """Any tags assigned to the image.""" + virtualization_type: str | None = ... + """The type of virtualization of the AMI.""" + boot_mode: str | None = ... + """ + The boot mode of the image. For more information, see [Instance launch + behavior with Amazon EC2 boot + modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + in the *Amazon EC2 User Guide*. + """ + tpm_support: str | None = ... + """ + If the image is configured for NitroTPM support, the value is `v2.0`. + For more information, see + [NitroTPM](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) + in the *Amazon EC2 User Guide*. + """ + deprecation_time: str | None = ... + """ + The date and time to deprecate the AMI, in UTC, in the following format: + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z. If you specified a value for seconds, + Amazon EC2 rounds the seconds to the nearest minute. + """ + imds_support: str | None = ... + """ + If `v2.0`, it indicates that IMDSv2 is specified in the AMI. Instances + launched from this AMI will have `HttpTokens` automatically set to + `required` so that, by default, the instance requires that IMDSv2 is + used when requesting instance metadata. In addition, + `HttpPutResponseHopLimit` is set to `2`. For more information, see + [Configure the + AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration) + in the *Amazon EC2 User Guide*. + """ + source_instance_id: str | None = ... + """ + The ID of the instance that the AMI was created from if the AMI was + created using + [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html). + This field only appears if the AMI was created using CreateImage. + """ + deregistration_protection: str | None = ... + """Indicates whether deregistration protection is enabled for the AMI.""" + last_launched_time: str | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the AMI was last used to + launch an EC2 instance. When the AMI is used to launch an instance, + there is a 24-hour delay before that usage is reported. + + Note: + `lastLaunchedTime` data is available starting April 2017. + """ + image_allowed: bool | None = ... + """ + If `true`, the AMI satisfies the criteria for Allowed AMIs and can be + discovered and used in the account. If `false` and Allowed AMIs is set + to `enabled`, the AMI can't be discovered or used in the account. If + `false` and Allowed AMIs is set to `audit-mode`, the AMI can be + discovered and used in the account. + + For more information, see [Control the discovery and use of AMIs in + Amazon EC2 with Allowed + AMIs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html) + in *Amazon EC2 User Guide*. + """ + source_image_id: str | None = ... + """The ID of the source AMI from which the AMI was created.""" + source_image_region: str | None = ... + """The Region of the source AMI.""" + free_tier_eligible: bool | None = ... + """ + Indicates whether the image is eligible for Amazon Web Services Free + Tier. + + - If `true`, the AMI is eligible for Free Tier and can be used to launch + instances under the Free Tier limits. + + - If `false`, the AMI is not eligible for Free Tier. + """ + public_ssm_parameter_name: str | None = ... + """ + The name of the public Systems Manager parameter that resolves to this + AMI, under the `aws/service/` namespace. + """ + image_watermarks: list[ImageWatermark] | None = ... + """The watermarks attached to the AMI.""" + scan_results: ScanResults | None = ... + """ + The Amazon Inspector scan results for the AMI. This information is + present only for AMIs that Amazon Inspector has scanned. + + When you share an AMI with other accounts, organizations, or + organizational units (OUs), or make it public, its scan results are + available to the accounts that can use the AMI. + """ + instance_type_specification: InstanceTypeSpecification | None = ... + """ + The instance type specification for the AMI, which defines which + instance types are compatible with this image. + """ + image_id: str | None = ... + """The ID of the AMI.""" + image_location: str | None = ... + """The location of the AMI.""" + state: str | None = ... + """ + The current state of the AMI. If the state is `available`, the image is + successfully registered and can be used to launch an instance. + """ + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the image.""" + creation_date: str | None = ... + """The date and time the image was created.""" + public: bool | None = ... + """ + Indicates whether the image has public launch permissions. The value is + `true` if this image has public launch permissions or `false` if it has + only implicit and explicit launch permissions. + """ + product_codes: list[ProductCode] | None = ... + """Any product codes associated with the AMI.""" + architecture: str | None = ... + """The architecture of the image.""" + image_type: str | None = ... + """The type of image.""" + kernel_id: str | None = ... + """ + The kernel associated with the image, if any. Only applicable for + machine images. + """ + ramdisk_id: str | None = ... + """ + The RAM disk associated with the image, if any. Only applicable for + machine images. + """ + platform: str | None = ... + """This value is set to `windows` for Windows AMIs; otherwise, it is blank.""" + +@dataclass(kw_only=True) +class ImageAncestryEntry(_SerdeShape): + """ + Information about a single AMI in the ancestry chain and its source + (parent) AMI. + """ + + creation_date: datetime | None = ... + """The date and time when this AMI was created.""" + image_id: str | None = ... + """The ID of this AMI.""" + image_owner_alias: str | None = ... + """ + The owner alias (`amazon` | `aws-backup-vault` | `aws-marketplace` ) + of this AMI, if one is assigned. Otherwise, the value is `null`. + """ + source_image_id: str | None = ... + """The ID of the parent AMI.""" + source_image_region: str | None = ... + """The Amazon Web Services Region of the parent AMI.""" + +class ImageAttributeName(UnknownEnumMixin, StrEnum): + DESCRIPTION = "description" + KERNEL = "kernel" + RAMDISK = "ramdisk" + LAUNCH_PERMISSION = "launchPermission" + PRODUCT_CODES = "productCodes" + BLOCK_DEVICE_MAPPING = "blockDeviceMapping" + SRIOV_NET_SUPPORT = "sriovNetSupport" + BOOT_MODE = "bootMode" + TPM_SUPPORT = "tpmSupport" + UEFI_DATA = "uefiData" + LAST_LAUNCHED_TIME = "lastLaunchedTime" + IMDS_SUPPORT = "imdsSupport" + DEREGISTRATION_PROTECTION = "deregistrationProtection" + +class ImageBlockPublicAccessDisabledState(UnknownEnumMixin, StrEnum): + UNBLOCKED = "unblocked" + +class ImageBlockPublicAccessEnabledState(UnknownEnumMixin, StrEnum): + BLOCK_NEW_SHARING = "block-new-sharing" + +@dataclass(kw_only=True) +class ImageCriterion(_SerdeShape): + """ + The criteria that are evaluated to determine which AMIs are discoverable + and usable in your account for the specified Amazon Web Services Region. + + For more information, see [How Allowed AMIs + works](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#how-allowed-amis-works) + in the *Amazon EC2 User Guide*. + """ + + image_providers: list[str] | None = ... + """ + The image providers whose images are allowed. + + Possible values: + + - `amazon`: Allow AMIs created by Amazon or verified providers. + + - `aws-marketplace`: Allow AMIs created by verified providers in the + Amazon Web Services Marketplace. + + - `aws-backup-vault`: Allow AMIs created by Amazon Web Services Backup. + + - 12-digit account ID: Allow AMIs created by this account. One or more + account IDs can be specified. + + - `none`: Allow AMIs created by your own account only. + + Maximum: 200 values + """ + marketplace_product_codes: list[str] | None = ... + """ + The Amazon Web Services Marketplace product codes for allowed images. + + Length: 1-25 characters + + Valid characters: Letters (`A–Z, a–z`) and numbers (`0–9`) + + Maximum: 50 values + """ + image_names: list[str] | None = ... + """ + The names of allowed images. Names can include wildcards (`?` and `*`). + + Length: 1--128 characters. With `?`, the minimum is 3 characters. + + Valid characters: + + - Letters: `A–Z, a–z` + + - Numbers: `0–9` + + - Special characters: `( ) [ ] . / - ' @ _ * ?` + + - Spaces + + Maximum: 50 values + """ + deprecation_time_condition: DeprecationTimeCondition | None = ... + """The maximum period since deprecation for allowed images.""" + creation_date_condition: CreationDateCondition | None = ... + """The maximum age for allowed images.""" + image_watermarks: list[ImageWatermarkFilterResponse] | None = ... + """ + The watermark criteria that an AMI must match to be allowed. An AMI is + allowed if it carries at least one watermark that satisfies an + ImageWatermarkFilter. A watermark satisfies a filter when all specified + fields in the ImageWatermarkFilter match the corresponding values on the + watermark of the AMI. + + Maximum: 50 values + """ + scan_result_condition: ScanResultCondition | None = ... + """ + The Amazon Inspector scan-result criteria that an AMI must meet to be + allowed. The criteria can limit the highest finding severity, the number + of days since Amazon Inspector last scanned the AMI, and the number of + days since Amazon Inspector reported a fix as available. + """ + +@dataclass(kw_only=True) +class ImageCriterionRequest(_SerdeShape): + """ + The criteria that are evaluated to determine which AMIs are discoverable + and usable in your account for the specified Amazon Web Services Region. + + The `ImageCriteria` can include up to: + + - 10 `ImageCriterion` + + Each `ImageCriterion` can include up to: + + - 200 values for `ImageProviders` + + - 50 values for `ImageNames` + + - 50 values for `MarketplaceProductCodes` + + - 50 values for `ImageWatermarks` + + For more information, see [How Allowed AMIs + works](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#how-allowed-amis-works) + in the *Amazon EC2 User Guide*. + """ + + image_providers: list[str] | None = ... + """ + The image providers whose images are allowed. + + Possible values: + + - `amazon`: Allow AMIs created by Amazon or verified providers. + + - `aws-marketplace`: Allow AMIs created by verified providers in the + Amazon Web Services Marketplace. + + - `aws-backup-vault`: Allow AMIs created by Amazon Web Services Backup. + + - 12-digit account ID: Allow AMIs created by the specified accounts. One + or more account IDs can be specified. + + - `none`: Allow AMIs created by your own account only. When `none` is + specified, no other values can be specified. + + Maximum: 200 values + """ + marketplace_product_codes: list[str] | None = ... + """ + The Amazon Web Services Marketplace product codes for allowed images. + + Length: 1-25 characters + + Valid characters: Letters (`A–Z, a–z`) and numbers (`0–9`) + + Maximum: 50 values + """ + image_names: list[str] | None = ... + """ + The names of allowed images. Names can include wildcards (`?` and `*`). + + Length: 1--128 characters. With `?`, the minimum is 3 characters. + + Valid characters: + + - Letters: `A–Z, a–z` + + - Numbers: `0–9` + + - Special characters: `( ) [ ] . / - ' @ _ * ?` + + - Spaces + + Maximum: 50 values + """ + deprecation_time_condition: DeprecationTimeConditionRequest | None = ... + """The maximum period since deprecation for allowed images.""" + creation_date_condition: CreationDateConditionRequest | None = ... + """The maximum age for allowed images.""" + image_watermarks: list[ImageWatermarkFilterRequest] | None = ... + """ + The watermark criteria that an AMI must match to be allowed. An AMI is + allowed if it carries at least one watermark that satisfies an + ImageWatermarkFilter. A watermark satisfies a filter when all specified + fields in the ImageWatermarkFilter match the corresponding values on the + watermark of the AMI. + + Maximum: 50 values + """ + scan_result_condition: ScanResultConditionRequest | None = ... + """ + The Amazon Inspector scan-result criteria that an AMI must meet to be + allowed. The criteria can limit the highest finding severity, the number + of days since Amazon Inspector last scanned the AMI, and the number of + days since Amazon Inspector reported a fix as available. + """ + +@dataclass(kw_only=True) +class ImageDiskContainer(_SerdeShape): + """Describes the disk container object for an import image task.""" + + description: str | None = ... + """The description of the disk image.""" + device_name: str | None = ... + """The block device mapping for the disk.""" + format: str | None = ... + """ + The format of the disk image being imported. + + Valid values: `OVA` | `VHD` | `VHDX` | `VMDK` | `RAW` + """ + snapshot_id: str | None = ... + """The ID of the EBS snapshot to be used for importing the snapshot.""" + url: str | None = ... + """ + The URL to the Amazon S3-based disk image being imported. The URL can + either be a https URL (https://..) or an Amazon S3 URL (s3://..) + """ + user_bucket: UserBucket | None = ... + """The S3 bucket for the disk image.""" + +@dataclass(kw_only=True) +class ImageFinding(_SerdeShape): + """Describes an Amazon Inspector vulnerability finding for an AMI.""" + + fix_available: bool | None = ... + """ + Specifies whether a fix is available for the finding. This value is + `true` when Amazon Inspector reports a full or partial fix for the + finding. + """ + score: float | None = ... + """The Amazon Inspector score for the finding.""" + first_observed_at: datetime | None = ... + """ + The date and time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the + finding. + """ + updated_at: datetime | None = ... + """ + The date and time, in the ISO 8601 format in the UTC time zone + (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the + finding. + """ + title: str | None = ... + """The title of the finding.""" + paths: list[str] | None = ... + """ + The file paths in the AMI that are affected by the finding. Amazon EC2 + returns up to 10 file paths for each finding. + """ + severity_label: str | None = ... + """ + The severity of the finding. + + The valid values are the following Amazon Inspector severity levels, + which correspond to CVSS score ranges: + + - `informational` - CVSS score of 0. + + - `low` - CVSS score of 0.1 to 3.9. + + - `medium` - CVSS score of 4.0 to 6.9. + + - `high` - CVSS score of 7.0 to 8.9. + + - `critical` - CVSS score of 9.0 to 10.0. + + For more information, see [Software package vulnerability + severity](https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score) + in the *Amazon Inspector User Guide*. + """ + snapshot_id: str | None = ... + """ + The ID of the Amazon EBS snapshot of the AMI in which the finding was + detected. + """ + +@dataclass(kw_only=True) +class ImageMetadata(_SerdeShape): + """Information about the AMI.""" + + image_id: str | None = ... + """The ID of the AMI.""" + name: str | None = ... + """The name of the AMI.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the AMI.""" + state: str | None = ... + """ + The current state of the AMI. If the state is `available`, the AMI is + successfully registered and can be used to launch an instance. + """ + image_owner_alias: str | None = ... + """ + The alias of the AMI owner. + + Valid values: `amazon` | `aws-backup-vault` | `aws-marketplace` + """ + creation_date: str | None = ... + """The date and time the AMI was created.""" + deprecation_time: str | None = ... + """ + The deprecation date and time of the AMI, in UTC, in the following + format: *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z. + """ + image_allowed: bool | None = ... + """ + If `true`, the AMI satisfies the criteria for Allowed AMIs and can be + discovered and used in the account. If `false`, the AMI can't be + discovered or used in the account. + + For more information, see [Control the discovery and use of AMIs in + Amazon EC2 with Allowed + AMIs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html) + in *Amazon EC2 User Guide*. + """ + is_public: bool | None = ... + """ + Indicates whether the AMI has public launch permissions. A value of + `true` means this AMI has public launch permissions, while `false` means + it has only implicit (AMI owner) or explicit (shared with your account) + launch permissions. + """ + image_watermarks: list[ImageWatermark] | None = ... + """The watermarks attached to the AMI.""" + +@dataclass(kw_only=True) +class ImageRecycleBinInfo(_SerdeShape): + """Information about an AMI that is currently in the Recycle Bin.""" + + image_id: str | None = ... + """The ID of the AMI.""" + name: str | None = ... + """The name of the AMI.""" + description: str | None = ... + """The description of the AMI.""" + recycle_bin_enter_time: datetime | None = ... + """The date and time when the AMI entered the Recycle Bin.""" + recycle_bin_exit_time: datetime | None = ... + """ + The date and time when the AMI is to be permanently deleted from the + Recycle Bin. + """ + +@dataclass(kw_only=True) +class ImageReference(_SerdeShape): + """A resource that is referencing an image.""" + + image_id: str | None = ... + """The ID of the referenced image.""" + resource_type: str | None = ... + """The type of resource referencing the image.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) of the resource referencing the image.""" + +class ImageReferenceOptionName(UnknownEnumMixin, StrEnum): + STATE_NAME = "state-name" + VERSION_DEPTH = "version-depth" + +class ImageReferenceResourceType(UnknownEnumMixin, StrEnum): + EC2_INSTANCE = "ec2:Instance" + EC2_LAUNCH_TEMPLATE = "ec2:LaunchTemplate" + SSM_PARAMETER = "ssm:Parameter" + IMAGE_BUILDER_IMAGE_RECIPE = "imagebuilder:ImageRecipe" + IMAGE_BUILDER_CONTAINER_RECIPE = "imagebuilder:ContainerRecipe" + +class ImageState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + INVALID = "invalid" + DEREGISTERED = "deregistered" + TRANSIENT = "transient" + FAILED = "failed" + ERROR = "error" + DISABLED = "disabled" + +class ImageTypeValues(UnknownEnumMixin, StrEnum): + MACHINE = "machine" + KERNEL = "kernel" + RAMDISK = "ramdisk" + +@dataclass(kw_only=True) +class ImageUsageReport(_SerdeShape): + """The configuration and status of an image usage report.""" + + image_id: str | None = ... + """The ID of the image that was specified when the report was created.""" + report_id: str | None = ... + """The ID of the report.""" + resource_types: list[ImageUsageResourceType] | None = ... + """The resource types that were specified when the report was created.""" + account_ids: list[str] | None = ... + """ + The IDs of the Amazon Web Services accounts that were specified when the + report was created. + """ + state: str | None = ... + """ + The current state of the report. Possible values: + + - `available` - The report is available to view. + + - `pending` - The report is being created and not available to view. + + - `error` - The report could not be created. + """ + state_reason: str | None = ... + """Provides additional details when the report is in an `error` state.""" + creation_time: datetime | None = ... + """The date and time when the report was created.""" + expiration_time: datetime | None = ... + """ + The date and time when Amazon EC2 will delete the report (30 days after + the report was created). + """ + tags: list[Tag] | None = ... + """Any tags assigned to the report.""" + +@dataclass(kw_only=True) +class ImageUsageReportEntry(_SerdeShape): + """ + A single entry in an image usage report, detailing how an image is being + used by a specific Amazon Web Services account and resource type. + """ + + resource_type: str | None = ... + """The type of resource (`ec2:Instance` or `ec2:LaunchTemplate`).""" + report_id: str | None = ... + """The ID of the report.""" + usage_count: int | None = ... + """ + The number of times resources of this type reference this image in the + account. + """ + account_id: str | None = ... + """The ID of the account that uses the image.""" + image_id: str | None = ... + """The ID of the image.""" + report_creation_time: datetime | None = ... + """The date and time the report creation was initiated.""" + +@dataclass(kw_only=True) +class ImageUsageResourceType(_SerdeShape): + """ + A resource type to include in the report. Associated options can also be + specified if the resource type is a launch template. + """ + + resource_type: str | None = ... + """ + The resource type. + + Valid values: `ec2:Instance` | `ec2:LaunchTemplate` + """ + resource_type_options: list[ImageUsageResourceTypeOption] | None = ... + """ + The options that affect the scope of the report. Valid only when + `ResourceType` is `ec2:LaunchTemplate`. + """ + +@dataclass(kw_only=True) +class ImageUsageResourceTypeOption(_SerdeShape): + """The options that affect the scope of the report.""" + + option_name: str | None = ... + """The name of the option.""" + option_values: list[str] | None = ... + """The number of launch template versions to check.""" + +@dataclass(kw_only=True) +class ImageUsageResourceTypeOptionRequest(_SerdeShape): + """The options that affect the scope of the report.""" + + option_name: str | None = ... + """ + The name of the option. + + Valid value: `version-depth` - The number of launch template versions to + check. + """ + option_values: list[str] | None = ... + """ + A value for the specified option. + + Valid values: Integers between `1` and `10000` + + Default: `20` + """ + +@dataclass(kw_only=True) +class ImageUsageResourceTypeRequest(_SerdeShape): + """ + A resource type to include in the report. Associated options can also be + specified if the resource type is a launch template. + """ + + resource_type: str | None = ... + """ + The resource type. + + Valid values: `ec2:Instance` | `ec2:LaunchTemplate` + """ + resource_type_options: list[ImageUsageResourceTypeOptionRequest] | None = ... + """ + The options that affect the scope of the report. Valid only when + `ResourceType` is `ec2:LaunchTemplate`. + """ + +@dataclass(kw_only=True) +class ImageWatermark(_SerdeShape): + """Describes a watermark attached to an AMI.""" + + watermark_key: str | None = ... + """ + The watermark identifier, in `accountId:watermarkName` format (for + example, `123456789012:approvedAmi`). The `accountId` portion is the + Amazon Web Services account ID of the watermark creator. The + `watermarkName` portion is customer-provided. + """ + source_image_region: str | None = ... + """The Region where the watermark was originally attached.""" + source_image_id: str | None = ... + """The ID of the AMI to which the watermark was originally attached.""" + source_image_creation_time: datetime | None = ... + """ + The creation date of the source AMI, in the following format: + *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*.*ssssss*+*HH*:*MM*. + """ + watermark_creation_time: datetime | None = ... + """ + The date and time the watermark was attached to the AMI, in the + following format: *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*.*ssssss*+*HH*:*MM*. + """ + +@dataclass(kw_only=True) +class ImageWatermarkFilterRequest(_SerdeShape): + """ + The watermark filter criteria for an allowed image. Each entry can + specify one or more fields. All specified fields must match the same + watermark on the image. + """ + + watermark_key: str | None = ... + """The `accountId:name` of the watermark. Supports wildcards (`*`, `?`).""" + source_image_region: str | None = ... + """ + The Region where the watermark was originally created. Supports + wildcards (`*`, `?`). + """ + maximum_days_since_source_image_created: int | None = ... + """ + The maximum number of days that have elapsed since the source image was + created. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + maximum_days_since_watermark_created: int | None = ... + """ + The maximum number of days that have elapsed since the watermark was + attached to the image. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + +@dataclass(kw_only=True) +class ImageWatermarkFilterResponse(_SerdeShape): + """ + The watermark filter criteria for an allowed image. Each entry can + specify one or more fields. All specified fields must match the same + watermark on the image. + """ + + watermark_key: str | None = ... + """The `accountId:name` of the watermark. Supports wildcards (`*`, `?`).""" + source_image_region: str | None = ... + """ + The Region where the watermark was originally created. Supports + wildcards (`*`, `?`). + """ + maximum_days_since_source_image_created: int | None = ... + """ + The maximum number of days that have elapsed since the source image was + created. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + maximum_days_since_watermark_created: int | None = ... + """ + The maximum number of days that have elapsed since the watermark was + attached to the image. + + Constraints: Minimum value of 0. Maximum value of 2147483647. + """ + +class ImdsSupportValues(UnknownEnumMixin, StrEnum): + V2_0 = "v2.0" + +@dataclass(kw_only=True) +class ImportClientVpnClientCertificateRevocationListInput(_SerdeShape): + """ + Dataclass for ImportClientVpnClientCertificateRevocationListInput + structure. + """ + + client_vpn_endpoint_id: str | None = ... + """ + The ID of the Client VPN endpoint to which the client certificate + revocation list applies. + """ + certificate_revocation_list: str | None = ... + """ + The client certificate revocation list file. For more information, see + [Generate a Client Certificate Revocation + List](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-certificates.html#cvpn-working-certificates-generate) + in the *Client VPN Administrator Guide*. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ImportClientVpnClientCertificateRevocationListOutput(_SerdeShape): + """ + Dataclass for ImportClientVpnClientCertificateRevocationListOutput + structure. + """ + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportImageInput(_SerdeShape): + """Dataclass for ImportImageInput structure.""" + + architecture: str | None = ... + """ + The architecture of the virtual machine. + + Valid values: `i386` | `x86_64` + """ + client_data: ClientData | None = ... + """The client-specific data.""" + client_token: str | None = ... + """The token to enable idempotency for VM import requests.""" + description: str | None = ... + """A description string for the import image task.""" + disk_containers: list[ImageDiskContainer] | None = ... + """Information about the disk containers.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + encrypted: bool | None = ... + """ + Specifies whether the destination AMI of the imported image should be + encrypted. The default KMS key for EBS is used unless you specify a + non-default KMS key using `KmsKeyId`. For more information, see [Amazon + EBS + Encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) + in the *Amazon Elastic Compute Cloud User Guide*. + """ + hypervisor: str | None = ... + """ + The target hypervisor platform. + + Valid values: `xen` + """ + kms_key_id: str | None = ... + """ + An identifier for the symmetric KMS key to use when creating the + encrypted AMI. This parameter is only required if you want to use a + non-default KMS key; if this parameter is not specified, the default KMS + key for EBS is used. If a `KmsKeyId` is specified, the `Encrypted` flag + must also be set. + + The KMS key identifier may be provided in any of the following formats: + + - Key ID + + - Key alias + + - ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace, + followed by the Region of the key, the Amazon Web Services account ID + of the key owner, the `key` namespace, and then the key ID. For + example, + arn:aws:kms:*us-east-1*:*012345678910*:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*. + + - ARN using key alias. The alias ARN contains the `arn:aws:kms` + namespace, followed by the Region of the key, the Amazon Web Services + account ID of the key owner, the `alias` namespace, and then the key + alias. For example, + arn:aws:kms:*us-east-1*:*012345678910*:alias/*ExampleAlias*. + + Amazon Web Services parses `KmsKeyId` asynchronously, meaning that the + action you call may appear to complete even though you provided an + invalid identifier. This action will eventually report failure. + + The specified KMS key must exist in the Region that the AMI is being + copied to. + + Amazon EBS does not support asymmetric KMS keys. + """ + license_type: str | None = ... + """ + The license type to be used for the Amazon Machine Image (AMI) after + importing. + + Specify `AWS` to replace the source-system license with an Amazon Web + Services license or `BYOL` to retain the source-system license. Leaving + this parameter undefined is the same as choosing `AWS` when importing a + Windows Server operating system, and the same as choosing `BYOL` when + importing a Windows client operating system (such as Windows 10) or a + Linux operating system. + + To use `BYOL`, you must have existing licenses with rights to use these + licenses in a third party cloud, such as Amazon Web Services. For more + information, see + [Prerequisites](https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image) + in the VM Import/Export User Guide. + """ + platform: str | None = ... + """ + The operating system of the virtual machine. If you import a VM that is + compatible with Unified Extensible Firmware Interface (UEFI) using an + EBS snapshot, you must specify a value for the platform. + + Valid values: `Windows` | `Linux` + """ + role_name: str | None = ... + """ + The name of the role to use when not using the default role, + 'vmimport'. + """ + license_specifications: list[ImportImageLicenseConfigurationRequest] | None = ... + """The ARNs of the license configurations.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the import image task during creation.""" + usage_operation: str | None = ... + """ + The usage operation value. For more information, see [Licensing + options](https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#prerequisites) + in the *VM Import/Export User Guide*. + """ + boot_mode: str | None = ... + """ + The boot mode of the virtual machine. + + Note: + The `uefi-preferred` boot mode isn't supported for importing images. + For more information, see [Boot + modes](https://docs.aws.amazon.com/vm-import/latest/userguide/prerequisites.html#vmimport-boot-modes) + in the *VM Import/Export User Guide*. + """ + +@dataclass(kw_only=True) +class ImportImageLicenseConfigurationRequest(_SerdeShape): + """The request information of license configurations.""" + + license_configuration_arn: str | None = ... + """The ARN of a license configuration.""" + +@dataclass(kw_only=True) +class ImportImageLicenseConfigurationResponse(_SerdeShape): + """The response information for license configurations.""" + + license_configuration_arn: str | None = ... + """The ARN of a license configuration.""" + +@dataclass(kw_only=True) +class ImportImageOutput(_SerdeShape): + """Dataclass for ImportImageOutput structure.""" + + architecture: str | None = ... + """The architecture of the virtual machine.""" + description: str | None = ... + """A description of the import task.""" + encrypted: bool | None = ... + """Indicates whether the AMI is encrypted.""" + hypervisor: str | None = ... + """The target hypervisor of the import task.""" + image_id: str | None = ... + """The ID of the Amazon Machine Image (AMI) created by the import task.""" + import_task_id: str | None = ... + """The task ID of the import image task.""" + kms_key_id: str | None = ... + """ + The identifier for the symmetric KMS key that was used to create the + encrypted AMI. + """ + license_type: str | None = ... + """The license type of the virtual machine.""" + platform: str | None = ... + """The operating system of the virtual machine.""" + progress: str | None = ... + """The progress of the task.""" + snapshot_details: list[SnapshotDetail] | None = ... + """Information about the snapshots.""" + status: str | None = ... + """A brief status of the task.""" + status_message: str | None = ... + """A detailed status message of the import task.""" + license_specifications: list[ImportImageLicenseConfigurationResponse] | None = ... + """The ARNs of the license configurations.""" + tags: list[Tag] | None = ... + """Any tags assigned to the import image task.""" + usage_operation: str | None = ... + """The usage operation value.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportImageTask(_SerdeShape): + """Describes an import image task.""" + + architecture: str | None = ... + """ + The architecture of the virtual machine. + + Valid values: `i386` | `x86_64` | `arm64` + """ + description: str | None = ... + """A description of the import task.""" + encrypted: bool | None = ... + """Indicates whether the image is encrypted.""" + hypervisor: str | None = ... + """ + The target hypervisor for the import task. + + Valid values: `xen` + """ + image_id: str | None = ... + """ + The ID of the Amazon Machine Image (AMI) of the imported virtual + machine. + """ + import_task_id: str | None = ... + """The ID of the import image task.""" + kms_key_id: str | None = ... + """ + The identifier for the KMS key that was used to create the encrypted + image. + """ + license_type: str | None = ... + """The license type of the virtual machine.""" + platform: str | None = ... + """The description string for the import image task.""" + progress: str | None = ... + """The percentage of progress of the import image task.""" + snapshot_details: list[SnapshotDetail] | None = ... + """Information about the snapshots.""" + status: str | None = ... + """A brief status for the import image task.""" + status_message: str | None = ... + """A descriptive status message for the import image task.""" + tags: list[Tag] | None = ... + """The tags for the import image task.""" + license_specifications: list[ImportImageLicenseConfigurationResponse] | None = ... + """ + The ARNs of the license configurations that are associated with the + import image task. + """ + usage_operation: str | None = ... + """The usage operation value.""" + boot_mode: str | None = ... + """The boot mode of the virtual machine.""" + +@dataclass(kw_only=True) +class ImportInstanceInput(_SerdeShape): + """Dataclass for ImportInstanceInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + description: str | None = ... + """A description for the instance being imported.""" + launch_specification: ImportInstanceLaunchSpecification | None = ... + """The launch specification.""" + disk_images: list[DiskImage] | None = ... + """The disk image.""" + platform: str | None = ... + """The instance operating system.""" + +@dataclass(kw_only=True) +class ImportInstanceLaunchSpecification(_SerdeShape): + """Describes the launch specification for VM import.""" + + architecture: str | None = ... + """The architecture of the instance.""" + group_names: list[str] | None = ... + """The security group names.""" + group_ids: list[str] | None = ... + """The security group IDs.""" + additional_info: str | None = ... + """Reserved.""" + user_data: UserData | None = ... + """The Base64-encoded user data to make available to the instance.""" + instance_type: str | None = ... + """ + The instance type. For more information about the instance types that + you can import, see [Instance + Types](https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-instance-types) + in the VM Import/Export User Guide. + """ + placement: Placement | None = ... + """The placement information for the instance.""" + monitoring: bool | None = ... + """Indicates whether monitoring is enabled.""" + subnet_id: str | None = ... + """[EC2-VPC] The ID of the subnet in which to launch the instance.""" + instance_initiated_shutdown_behavior: str | None = ... + """ + Indicates whether an instance stops or terminates when you initiate + shutdown from the instance (using the operating system command for + system shutdown). + """ + private_ip_address: str | None = ... + """ + [EC2-VPC] An available IP address from the IP address range of the + subnet. + """ + +@dataclass(kw_only=True) +class ImportInstanceOutput(_SerdeShape): + """Dataclass for ImportInstanceOutput structure.""" + + conversion_task: ConversionTask | None = ... + """Information about the conversion task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportInstanceTaskDetails(_SerdeShape): + """Describes an import instance task.""" + + description: str | None = ... + """A description of the task.""" + instance_id: str | None = ... + """The ID of the instance.""" + platform: str | None = ... + """The instance operating system.""" + volumes: list[ImportInstanceVolumeDetailItem] | None = ... + """The volumes.""" + +@dataclass(kw_only=True) +class ImportInstanceVolumeDetailItem(_SerdeShape): + """Describes an import volume task.""" + + availability_zone: str | None = ... + """The Availability Zone where the resulting instance will reside.""" + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone where the resulting instance will + reside. + """ + bytes_converted: int | None = ... + """The number of bytes converted so far.""" + description: str | None = ... + """A description of the task.""" + image: DiskImageDescription | None = ... + """The image.""" + status: str | None = ... + """The status of the import of this particular disk image.""" + status_message: str | None = ... + """The status information or errors related to the disk image.""" + volume: DiskImageVolumeDescription | None = ... + """The volume.""" + +@dataclass(kw_only=True) +class ImportKeyPairInput(_SerdeShape): + """Dataclass for ImportKeyPairInput structure.""" + + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the imported key pair.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + key_name: str | None = ... + """A unique name for the key pair.""" + public_key_material: bytes | None = ... + """The public key.""" + +@dataclass(kw_only=True) +class ImportKeyPairOutput(_SerdeShape): + """Dataclass for ImportKeyPairOutput structure.""" + + key_fingerprint: str | None = ... + """ + - For RSA key pairs, the key fingerprint is the MD5 public key + fingerprint as specified in section 4 of RFC 4716. + + - For ED25519 key pairs, the key fingerprint is the base64-encoded + SHA-256 digest, which is the default for OpenSSH, starting with + [OpenSSH 6.8](http://www.openssh.com/txt/release-6.8). + """ + key_name: str | None = ... + """The key pair name that you provided.""" + key_pair_id: str | None = ... + """The ID of the resulting key pair.""" + tags: list[Tag] | None = ... + """The tags applied to the imported key pair.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportSnapshotInput(_SerdeShape): + """Dataclass for ImportSnapshotInput structure.""" + + client_data: ClientData | None = ... + """The client-specific data.""" + client_token: str | None = ... + """Token to enable idempotency for VM import requests.""" + description: str | None = ... + """The description string for the import snapshot task.""" + disk_container: SnapshotDiskContainer | None = ... + """Information about the disk container.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + encrypted: bool | None = ... + """ + Specifies whether the destination snapshot of the imported image should + be encrypted. The default KMS key for EBS is used unless you specify a + non-default KMS key using `KmsKeyId`. For more information, see [Amazon + EBS + Encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) + in the *Amazon Elastic Compute Cloud User Guide*. + """ + kms_key_id: str | None = ... + """ + An identifier for the symmetric KMS key to use when creating the + encrypted snapshot. This parameter is only required if you want to use a + non-default KMS key; if this parameter is not specified, the default KMS + key for EBS is used. If a `KmsKeyId` is specified, the `Encrypted` flag + must also be set. + + The KMS key identifier may be provided in any of the following formats: + + - Key ID + + - Key alias + + - ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace, + followed by the Region of the key, the Amazon Web Services account ID + of the key owner, the `key` namespace, and then the key ID. For + example, + arn:aws:kms:*us-east-1*:*012345678910*:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*. + + - ARN using key alias. The alias ARN contains the `arn:aws:kms` + namespace, followed by the Region of the key, the Amazon Web Services + account ID of the key owner, the `alias` namespace, and then the key + alias. For example, + arn:aws:kms:*us-east-1*:*012345678910*:alias/*ExampleAlias*. + + Amazon Web Services parses `KmsKeyId` asynchronously, meaning that the + action you call may appear to complete even though you provided an + invalid identifier. This action will eventually report failure. + + The specified KMS key must exist in the Region that the snapshot is + being copied to. + + Amazon EBS does not support asymmetric KMS keys. + """ + role_name: str | None = ... + """ + The name of the role to use when not using the default role, + 'vmimport'. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the import snapshot task during creation.""" + +@dataclass(kw_only=True) +class ImportSnapshotOutput(_SerdeShape): + """Dataclass for ImportSnapshotOutput structure.""" + + description: str | None = ... + """A description of the import snapshot task.""" + import_task_id: str | None = ... + """The ID of the import snapshot task.""" + snapshot_task_detail: SnapshotTaskDetail | None = ... + """Information about the import snapshot task.""" + tags: list[Tag] | None = ... + """Any tags assigned to the import snapshot task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportSnapshotTask(_SerdeShape): + """Describes an import snapshot task.""" + + description: str | None = ... + """A description of the import snapshot task.""" + import_task_id: str | None = ... + """The ID of the import snapshot task.""" + snapshot_task_detail: SnapshotTaskDetail | None = ... + """Describes an import snapshot task.""" + tags: list[Tag] | None = ... + """The tags for the import snapshot task.""" + +@dataclass(kw_only=True) +class ImportVolumeInput(_SerdeShape): + """Dataclass for ImportVolumeInput structure.""" + + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone for the resulting EBS volume. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but + not both. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + availability_zone: str | None = ... + """ + The Availability Zone for the resulting EBS volume. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but + not both. + """ + image: DiskImageDetail | None = ... + """The disk image.""" + description: str | None = ... + """A description of the volume.""" + volume: VolumeDetail | None = ... + """The volume size.""" + +@dataclass(kw_only=True) +class ImportVolumeOutput(_SerdeShape): + """Dataclass for ImportVolumeOutput structure.""" + + conversion_task: ConversionTask | None = ... + """Information about the conversion task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImportVolumeTaskDetails(_SerdeShape): + """Describes an import volume task.""" + + availability_zone: str | None = ... + """The Availability Zone where the resulting volume will reside.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone where the resulting volume will reside.""" + bytes_converted: int | None = ... + """The number of bytes converted so far.""" + description: str | None = ... + """The description you provided when starting the import volume task.""" + image: DiskImageDescription | None = ... + """The image.""" + volume: DiskImageVolumeDescription | None = ... + """The volume.""" + +@dataclass(kw_only=True) +class InferenceAcceleratorInfo(_SerdeShape): + """ + Note: + Amazon Elastic Inference is no longer available. + + Describes the Inference accelerators for the instance type. + """ + + accelerators: list[InferenceDeviceInfo] | None = ... + """Describes the Inference accelerators for the instance type.""" + total_inference_memory_in_mi_b: int | None = ... + """ + The total size of the memory for the inference accelerators for the + instance type, in MiB. + """ + +@dataclass(kw_only=True) +class InferenceDeviceInfo(_SerdeShape): + """ + Note: + Amazon Elastic Inference is no longer available. + + Describes the Inference accelerators for the instance type. + """ + + count: int | None = ... + """The number of Inference accelerators for the instance type.""" + name: str | None = ... + """The name of the Inference accelerator.""" + manufacturer: str | None = ... + """The manufacturer of the Inference accelerator.""" + memory_info: InferenceDeviceMemoryInfo | None = ... + """Describes the memory available to the inference accelerator.""" + +@dataclass(kw_only=True) +class InferenceDeviceMemoryInfo(_SerdeShape): + """ + Note: + Amazon Elastic Inference is no longer available. + + Describes the memory available to the inference accelerator. + """ + + size_in_mi_b: int | None = ... + """The size of the memory available to the inference accelerator, in MiB.""" + +class IngestionStatus(UnknownEnumMixin, StrEnum): + INITIAL_INGESTION_IN_PROGRESS = "initial-ingestion-in-progress" + INGESTION_COMPLETE = "ingestion-complete" + INGESTION_FAILED = "ingestion-failed" + +@dataclass(kw_only=True) +class InitializationStatusDetails(_SerdeShape): + """ + Information about the volume initialization. For more information, see + [Initialize Amazon EBS + volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html). + """ + + initialization_type: str | None = ... + """ + The method used for volume initialization. Possible values include: + + - `default` - Volume initialized using the default volume initialization + rate or fast snapshot restore. + + - `provisioned-rate` - Volume initialized using an Amazon EBS + Provisioned Rate for Volume Initialization. + + - `volume-copy` - Volume copy initialized at the rate for volume copies. + """ + progress: int | None = ... + """ + The current volume initialization progress as a percentage (0-100). + Returns `100` when volume initialization has completed. + """ + estimated_time_to_complete_in_seconds: int | None = ... + """ + The estimated remaining time, in seconds, for volume initialization to + complete. Returns `0` when volume initialization has completed. + + Only available for volumes created with Amazon EBS Provisioned Rate for + Volume Initialization. + """ + +class InitializationType(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + PROVISIONED_RATE = "provisioned-rate" + VOLUME_COPY = "volume-copy" + +@dataclass(kw_only=True) +class Instance(_SerdeShape): + """Describes an instance.""" + + architecture: str | None = ... + """The architecture of the image.""" + block_device_mappings: list[InstanceBlockDeviceMapping] | None = ... + """Any block device mapping entries for the instance.""" + client_token: str | None = ... + """ + The idempotency token you provided when you launched the instance, if + applicable. + """ + ebs_optimized: bool | None = ... + """ + Indicates whether the instance is optimized for Amazon EBS I/O. This + optimization provides dedicated throughput to Amazon EBS and an + optimized configuration stack to provide optimal I/O performance. This + optimization isn't available with all instance types. Additional usage + charges apply when using an EBS Optimized instance. + """ + ena_support: bool | None = ... + """Specifies whether enhanced networking with ENA is enabled.""" + hypervisor: str | None = ... + """ + The hypervisor type of the instance. The value `xen` is used for both + Xen and Nitro hypervisors. + """ + iam_instance_profile: IamInstanceProfile | None = ... + """The IAM instance profile associated with the instance, if applicable.""" + instance_lifecycle: str | None = ... + """Indicates whether this is a Spot Instance or a Scheduled Instance.""" + elastic_gpu_associations: list[ElasticGpuAssociation] | None = ... + """ + Deprecated. + + Note: + Amazon Elastic Graphics reached end of life on January 8, 2024. + """ + elastic_inference_accelerator_associations: ( + list[ElasticInferenceAcceleratorAssociation] | None + ) = ... + """ + Deprecated + + Note: + Amazon Elastic Inference is no longer available. + """ + network_interfaces: list[InstanceNetworkInterface] | None = ... + """The network interfaces for the instance.""" + outpost_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + root_device_name: str | None = ... + """The device name of the root device volume (for example, `/dev/sda1`).""" + root_device_type: str | None = ... + """ + The root device type used by the AMI. The AMI can use an EBS volume or + an instance store volume. + """ + security_groups: list[GroupIdentifier] | None = ... + """The security groups for the instance.""" + source_dest_check: bool | None = ... + """Indicates whether source/destination checking is enabled.""" + spot_instance_request_id: str | None = ... + """If the request is a Spot Instance request, the ID of the request.""" + sriov_net_support: str | None = ... + """ + Specifies whether enhanced networking with the Intel 82599 Virtual + Function interface is enabled. + """ + state_reason: StateReason | None = ... + """The reason for the most recent state transition.""" + tags: list[Tag] | None = ... + """Any tags assigned to the instance.""" + virtualization_type: str | None = ... + """The virtualization type of the instance.""" + cpu_options: CpuOptions | None = ... + """The CPU options for the instance.""" + capacity_block_id: str | None = ... + """ + The ID of the Capacity Block. + + Note: + For P5 instances, a Capacity Block ID refers to a group of instances. + For Trn2u instances, a capacity block ID refers to an EC2 UltraServer. + """ + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + capacity_reservation_specification: ( + CapacityReservationSpecificationResponse | None + ) = ... + """Information about the Capacity Reservation targeting option.""" + hibernation_options: HibernationOptions | None = ... + """Indicates whether the instance is enabled for hibernation.""" + licenses: list[LicenseConfiguration] | None = ... + """The license configurations for the instance.""" + metadata_options: InstanceMetadataOptionsResponse | None = ... + """The metadata options for the instance.""" + enclave_options: EnclaveOptions | None = ... + """ + Indicates whether the instance is enabled for Amazon Web Services Nitro + Enclaves. + """ + boot_mode: str | None = ... + """ + The boot mode that was specified by the AMI. If the value is + `uefi-preferred`, the AMI supports both UEFI and Legacy BIOS. The + `currentInstanceBootMode` parameter is the boot mode that is used to + boot the instance at launch or start. + + Note: + The operating system contained in the AMI must be configured to support + the specified boot mode. + + For more information, see [Boot + modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + in the *Amazon EC2 User Guide*. + """ + platform_details: str | None = ... + """ + The platform details value for the instance. For more information, see + [AMI billing information + fields](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html) + in the *Amazon EC2 User Guide*. + """ + usage_operation: str | None = ... + """ + The usage operation value for the instance. For more information, see + [AMI billing information + fields](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html) + in the *Amazon EC2 User Guide*. + """ + usage_operation_update_time: datetime | None = ... + """The time that the usage operation was last updated.""" + private_dns_name_options: PrivateDnsNameOptionsResponse | None = ... + """The options for the instance hostname.""" + ipv6_address: str | None = ... + """The IPv6 address assigned to the instance.""" + tpm_support: str | None = ... + """ + If the instance is configured for NitroTPM support, the value is `v2.0`. + For more information, see + [NitroTPM](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) + in the *Amazon EC2 User Guide*. + """ + maintenance_options: InstanceMaintenanceOptions | None = ... + """ + Provides information on the recovery and maintenance options of your + instance. + """ + current_instance_boot_mode: str | None = ... + """ + The boot mode that is used to boot the instance at launch or start. For + more information, see [Boot + modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + in the *Amazon EC2 User Guide*. + """ + network_performance_options: InstanceNetworkPerformanceOptions | None = ... + """Contains settings for the network performance options for your instance.""" + operator: OperatorResponse | None = ... + """The service provider that manages the instance.""" + secondary_interfaces: list[InstanceSecondaryInterface] | None = ... + """The secondary interfaces for the instance.""" + instance_id: str | None = ... + """The ID of the instance.""" + image_id: str | None = ... + """The ID of the AMI used to launch the instance.""" + state: InstanceState | None = ... + """The current state of the instance.""" + private_dns_name: str | None = ... + """ + [IPv4 only] The private DNS hostname name assigned to the instance. + This DNS hostname can only be used inside the Amazon EC2 network. This + name is not available until the instance enters the `running` state. + + The Amazon-provided DNS server resolves Amazon-provided private DNS + hostnames if you've enabled DNS resolution and DNS hostnames in your + VPC. If you are not using the Amazon-provided DNS server in your VPC, + your custom domain name servers must resolve the hostname as + appropriate. + """ + public_dns_name: str | None = ... + """ + The public DNS name assigned to the instance. This name is not available + until the instance enters the `running` state. This name is only + available if you've enabled DNS hostnames for your VPC. The format of + this name depends on the [public hostname + type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html#public-hostnames). + """ + state_transition_reason: str | None = ... + """ + The reason for the most recent state transition. This might be an empty + string. + """ + key_name: str | None = ... + """ + The name of the key pair, if this instance was launched with an + associated key pair. + """ + ami_launch_index: int | None = ... + """ + The AMI launch index, which can be used to find this instance in the + launch group. + """ + product_codes: list[ProductCode] | None = ... + """The product codes attached to this instance, if applicable.""" + instance_type: str | None = ... + """The instance type.""" + launch_time: datetime | None = ... + """ + The time that the instance was last launched. To determine the time that + instance was first launched, see the attachment time for the primary + network interface. + """ + placement: Placement | None = ... + """The location where the instance launched, if applicable.""" + kernel_id: str | None = ... + """The kernel associated with this instance, if applicable.""" + ramdisk_id: str | None = ... + """The RAM disk associated with this instance, if applicable.""" + platform: str | None = ... + """ + The platform. This value is `windows` for Windows instances; otherwise, + it is empty. + """ + monitoring: Monitoring | None = ... + """The monitoring for the instance.""" + subnet_id: str | None = ... + """The ID of the subnet in which the instance is running.""" + vpc_id: str | None = ... + """The ID of the VPC in which the instance is running.""" + private_ip_address: str | None = ... + """The private IPv4 address assigned to the instance.""" + public_ip_address: str | None = ... + """ + The public IPv4 address, or the Carrier IP address assigned to the + instance, if applicable. + + A Carrier IP address only applies to an instance launched in a subnet + associated with a Wavelength Zone. + """ + +@dataclass(kw_only=True) +class InstanceApplicationStatus(_SerdeShape): + """Describes the application status for an instance.""" + + instance_id: str | None = ... + """The ID of the instance.""" + availability_zone: str | None = ... + """The Availability Zone of the instance.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone of the instance.""" + application_status: ApplicationStatus | None = ... + """The application status for the instance.""" + tags: list[Tag] | None = ... + """The tags assigned to the instance.""" + +@dataclass(kw_only=True) +class InstanceAttachmentEnaSrdSpecification(_SerdeShape): + """ + ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) + technology to increase the maximum bandwidth used per stream and + minimize tail latency of network traffic between EC2 instances. With ENA + Express, you can communicate between two EC2 instances in the same + subnet within the same account, or in different accounts. Both sending + and receiving instances must have ENA Express enabled. + + To improve the reliability of network packet delivery, ENA Express + reorders network packets on the receiving end by default. However, some + UDP-based applications are designed to handle network packets that are + out of order to reduce the overhead for packet delivery at the network + layer. When ENA Express is enabled, you can specify whether UDP network + traffic uses it. + """ + + ena_srd_enabled: bool | None = ... + """Indicates whether ENA Express is enabled for the network interface.""" + ena_srd_udp_specification: InstanceAttachmentEnaSrdUdpSpecification | None = ... + """Configures ENA Express for UDP network traffic.""" + +@dataclass(kw_only=True) +class InstanceAttachmentEnaSrdUdpSpecification(_SerdeShape): + """ + ENA Express is compatible with both TCP and UDP transport protocols. + When it's enabled, TCP traffic automatically uses it. However, some + UDP-based applications are designed to handle network packets that are + out of order, without a need for retransmission, such as live video + broadcasting or other near-real-time applications. For UDP traffic, you + can specify whether to use ENA Express, based on your application + environment needs. + """ + + ena_srd_udp_enabled: bool | None = ... + """ + Indicates whether UDP traffic to and from the instance uses ENA Express. + To specify this setting, you must first enable ENA Express. + """ + +class InstanceAttributeName(UnknownEnumMixin, StrEnum): + INSTANCE_TYPE = "instanceType" + KERNEL = "kernel" + RAMDISK = "ramdisk" + USER_DATA = "userData" + DISABLE_API_TERMINATION = "disableApiTermination" + INSTANCE_INITIATED_SHUTDOWN_BEHAVIOR = "instanceInitiatedShutdownBehavior" + ROOT_DEVICE_NAME = "rootDeviceName" + BLOCK_DEVICE_MAPPING = "blockDeviceMapping" + PRODUCT_CODES = "productCodes" + SOURCE_DEST_CHECK = "sourceDestCheck" + GROUP_SET = "groupSet" + EBS_OPTIMIZED = "ebsOptimized" + SRIOV_NET_SUPPORT = "sriovNetSupport" + ENA_SUPPORT = "enaSupport" + ENCLAVE_OPTIONS = "enclaveOptions" + DISABLE_API_STOP = "disableApiStop" + +class InstanceAutoRecoveryState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + DEFAULT = "default" + +class InstanceBandwidthWeighting(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + VPC_1 = "vpc-1" + EBS_1 = "ebs-1" + +@dataclass(kw_only=True) +class InstanceBlockDeviceMapping(_SerdeShape): + """Describes a block device mapping.""" + + device_name: str | None = ... + """The device name.""" + ebs: EbsInstanceBlockDevice | None = ... + """ + Parameters used to automatically set up EBS volumes when the instance is + launched. + """ + +@dataclass(kw_only=True) +class InstanceBlockDeviceMappingSpecification(_SerdeShape): + """Describes a block device mapping entry.""" + + device_name: str | None = ... + """ + The device name. For available device names, see [Device names for + volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html). + """ + ebs: EbsInstanceBlockDeviceSpecification | None = ... + """ + Parameters used to automatically set up EBS volumes when the instance is + launched. + """ + virtual_name: str | None = ... + """The virtual device name.""" + no_device: str | None = ... + """Suppresses the specified device included in the block device mapping.""" + +class InstanceBootModeValues(UnknownEnumMixin, StrEnum): + LEGACY_BIOS = "legacy-bios" + UEFI = "uefi" + +@dataclass(kw_only=True) +class InstanceCapacity(_SerdeShape): + """ + Information about the number of instances that can be launched onto the + Dedicated Host. + """ + + available_capacity: int | None = ... + """ + The number of instances that can be launched onto the Dedicated Host + based on the host's available capacity. + """ + instance_type: str | None = ... + """The instance type supported by the Dedicated Host.""" + total_capacity: int | None = ... + """ + The total number of instances that can be launched onto the Dedicated + Host if there are no instances running on it. + """ + +@dataclass(kw_only=True) +class InstanceConnectEndpointDnsNames(_SerdeShape): + """The DNS names of the endpoint.""" + + dns_name: str | None = ... + """The DNS name of the EC2 Instance Connect Endpoint.""" + fips_dns_name: str | None = ... + """ + The Federal Information Processing Standards (FIPS) compliant DNS name + of the EC2 Instance Connect Endpoint. + """ + +@dataclass(kw_only=True) +class InstanceConnectEndpointPublicDnsNames(_SerdeShape): + """ + The public DNS names of the endpoint, including IPv4-only and dualstack + DNS names. + """ + + ipv4: InstanceConnectEndpointDnsNames | None = ... + """The IPv4-only DNS name of the EC2 Instance Connect Endpoint.""" + dualstack: InstanceConnectEndpointDnsNames | None = ... + """ + The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack + DNS name supports connections from both IPv4 and IPv6 clients. + """ + +@dataclass(kw_only=True) +class InstanceCount(_SerdeShape): + """Describes a Reserved Instance listing state.""" + + instance_count: int | None = ... + """ + The number of listed Reserved Instances in the state specified by the + `state`. + """ + state: str | None = ... + """The states of the listed Reserved Instances.""" + +@dataclass(kw_only=True) +class InstanceCreditSpecification(_SerdeShape): + """ + Describes the credit option for CPU usage of a burstable performance + instance. + """ + + instance_id: str | None = ... + """The ID of the instance.""" + cpu_credits: str | None = ... + """ + The credit option for CPU usage of the instance. + + Valid values: `standard` | `unlimited` + """ + +@dataclass(kw_only=True) +class InstanceCreditSpecificationRequest(_SerdeShape): + """ + Describes the credit option for CPU usage of a burstable performance + instance. + """ + + instance_id: str | None = ... + """The ID of the instance.""" + cpu_credits: str | None = ... + """ + The credit option for CPU usage of the instance. + + Valid values: `standard` | `unlimited` + + T3 instances with `host` tenancy do not support the `unlimited` CPU + credit option. + """ + +@dataclass(kw_only=True) +class InstanceEventWindow(_SerdeShape): + """The event window.""" + + instance_event_window_id: str | None = ... + """The ID of the event window.""" + time_ranges: list[InstanceEventWindowTimeRange] | None = ... + """One or more time ranges defined for the event window.""" + name: str | None = ... + """The name of the event window.""" + cron_expression: str | None = ... + """The cron expression defined for the event window.""" + association_target: InstanceEventWindowAssociationTarget | None = ... + """One or more targets associated with the event window.""" + state: str | None = ... + """The current state of the event window.""" + tags: list[Tag] | None = ... + """The instance tags associated with the event window.""" + +@dataclass(kw_only=True) +class InstanceEventWindowAssociationRequest(_SerdeShape): + """ + One or more targets associated with the specified event window. Only one + *type* of target (instance ID, instance tag, or Dedicated Host ID) can + be associated with an event window. + """ + + instance_ids: list[str] | None = ... + """ + The IDs of the instances to associate with the event window. If the + instance is on a Dedicated Host, you can't specify the Instance ID + parameter; you must use the Dedicated Host ID parameter. + """ + instance_tags: list[Tag] | None = ... + """ + The instance tags to associate with the event window. Any instances + associated with the tags will be associated with the event window. + + Note that while you can't create tag keys beginning with `aws:`, you + can specify existing Amazon Web Services managed tag keys (with the + `aws:` prefix) when specifying them as targets to associate with the + event window. + """ + dedicated_host_ids: list[str] | None = ... + """The IDs of the Dedicated Hosts to associate with the event window.""" + +@dataclass(kw_only=True) +class InstanceEventWindowAssociationTarget(_SerdeShape): + """One or more targets associated with the event window.""" + + instance_ids: list[str] | None = ... + """The IDs of the instances associated with the event window.""" + tags: list[Tag] | None = ... + """ + The instance tags associated with the event window. Any instances + associated with the tags will be associated with the event window. + + Note that while you can't create tag keys beginning with `aws:`, you + can specify existing Amazon Web Services managed tag keys (with the + `aws:` prefix) when specifying them as targets to associate with the + event window. + """ + dedicated_host_ids: list[str] | None = ... + """The IDs of the Dedicated Hosts associated with the event window.""" + +@dataclass(kw_only=True) +class InstanceEventWindowDisassociationRequest(_SerdeShape): + """The targets to disassociate from the specified event window.""" + + instance_ids: list[str] | None = ... + """The IDs of the instances to disassociate from the event window.""" + instance_tags: list[Tag] | None = ... + """ + The instance tags to disassociate from the event window. Any instances + associated with the tags will be disassociated from the event window. + """ + dedicated_host_ids: list[str] | None = ... + """The IDs of the Dedicated Hosts to disassociate from the event window.""" + +class InstanceEventWindowState(UnknownEnumMixin, StrEnum): + CREATING = "creating" + DELETING = "deleting" + ACTIVE = "active" + DELETED = "deleted" + +@dataclass(kw_only=True) +class InstanceEventWindowStateChange(_SerdeShape): + """The state of the event window.""" + + instance_event_window_id: str | None = ... + """The ID of the event window.""" + state: str | None = ... + """The current state of the event window.""" + +@dataclass(kw_only=True) +class InstanceEventWindowTimeRange(_SerdeShape): + """ + The start day and time and the end day and time of the time range, in + UTC. + """ + + start_week_day: str | None = ... + """The day on which the time range begins.""" + start_hour: int | None = ... + """The hour when the time range begins.""" + end_week_day: str | None = ... + """The day on which the time range ends.""" + end_hour: int | None = ... + """The hour when the time range ends.""" + +@dataclass(kw_only=True) +class InstanceEventWindowTimeRangeRequest(_SerdeShape): + """ + The start day and time and the end day and time of the time range, in + UTC. + """ + + start_week_day: str | None = ... + """The day on which the time range begins.""" + start_hour: int | None = ... + """The hour when the time range begins.""" + end_week_day: str | None = ... + """The day on which the time range ends.""" + end_hour: int | None = ... + """The hour when the time range ends.""" + +@dataclass(kw_only=True) +class InstanceExportDetails(_SerdeShape): + """Describes an instance to export.""" + + instance_id: str | None = ... + """The ID of the resource being exported.""" + target_environment: str | None = ... + """The target virtualization environment.""" + +@dataclass(kw_only=True) +class InstanceFamilyCreditSpecification(_SerdeShape): + """ + Describes the default credit option for CPU usage of a burstable + performance instance family. + """ + + instance_family: str | None = ... + """The instance family.""" + cpu_credits: str | None = ... + """ + The default credit option for CPU usage of the instance family. Valid + values are `standard` and `unlimited`. + """ + +class InstanceGeneration(UnknownEnumMixin, StrEnum): + CURRENT = "current" + PREVIOUS = "previous" + +class InstanceHealthStatus(UnknownEnumMixin, StrEnum): + HEALTHY_STATUS = "healthy" + UNHEALTHY_STATUS = "unhealthy" + +@dataclass(kw_only=True) +class InstanceImageMetadata(_SerdeShape): + """Information about the instance and the AMI used to launch the instance.""" + + instance_id: str | None = ... + """The ID of the instance.""" + instance_type: str | None = ... + """The instance type.""" + launch_time: datetime | None = ... + """The time the instance was launched.""" + availability_zone: str | None = ... + """The Availability Zone or Local Zone of the instance.""" + zone_id: str | None = ... + """The ID of the Availability Zone or Local Zone of the instance.""" + state: InstanceState | None = ... + """The current state of the instance.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the instance.""" + tags: list[Tag] | None = ... + """Any tags assigned to the instance.""" + image_metadata: ImageMetadata | None = ... + """Information about the AMI used to launch the instance.""" + operator: OperatorResponse | None = ... + """The entity that manages the instance.""" + +class InstanceInterruptionBehavior(UnknownEnumMixin, StrEnum): + HIBERNATE = "hibernate" + STOP = "stop" + TERMINATE = "terminate" + +@dataclass(kw_only=True) +class InstanceIpv4Prefix(_SerdeShape): + """Information about an IPv4 prefix.""" + + ipv4_prefix: str | None = ... + """One or more IPv4 prefixes assigned to the network interface.""" + +@dataclass(kw_only=True) +class InstanceIpv6Address(_SerdeShape): + """Describes an IPv6 address.""" + + ipv6_address: str | None = ... + """The IPv6 address.""" + is_primary_ipv6: bool | None = ... + """ + Determines if an IPv6 address associated with a network interface is the + primary IPv6 address. When you enable an IPv6 GUA address to be a + primary IPv6, the first IPv6 GUA will be made the primary IPv6 address + until the instance is terminated or the network interface is detached. + For more information, see + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). + """ + +@dataclass(kw_only=True) +class InstanceIpv6AddressRequest(_SerdeShape): + """Describes an IPv6 address.""" + + ipv6_address: str | None = ... + """The IPv6 address.""" + +@dataclass(kw_only=True) +class InstanceIpv6Prefix(_SerdeShape): + """Information about an IPv6 prefix.""" + + ipv6_prefix: str | None = ... + """One or more IPv6 prefixes assigned to the network interface.""" + +class InstanceLifecycle(UnknownEnumMixin, StrEnum): + SPOT = "spot" + ON_DEMAND = "on-demand" + INTERRUPTIBLE_CAPACITY_RESERVATION = "interruptible-capacity-reservation" + CAPACITY_BLOCK = "capacity-block" + +class InstanceLifecycleType(UnknownEnumMixin, StrEnum): + SPOT = "spot" + SCHEDULED = "scheduled" + CAPACITY_BLOCK = "capacity-block" + INTERRUPTIBLE_CAPACITY_RESERVATION = "interruptible-capacity-reservation" + +@dataclass(kw_only=True) +class InstanceMaintenanceOptions(_SerdeShape): + """The maintenance options for the instance.""" + + auto_recovery: str | None = ... + """ + Provides information on the current automatic recovery behavior of your + instance. + """ + reboot_migration: str | None = ... + """ + Specifies whether to attempt reboot migration during a user-initiated + reboot of an instance that has a scheduled `system-reboot` event: + + - `default` - Amazon EC2 attempts to migrate the instance to new + hardware (reboot migration). If successful, the `system-reboot` event + is cleared. If unsuccessful, an in-place reboot occurs and the event + remains scheduled. + + - `disabled` - Amazon EC2 keeps the instance on the same hardware + (in-place reboot). The `system-reboot` event remains scheduled. + + This setting only applies to supported instances that have a scheduled + reboot event. For more information, see [Enable or disable reboot + migration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class InstanceMaintenanceOptionsRequest(_SerdeShape): + """The maintenance options for the instance.""" + + auto_recovery: str | None = ... + """ + Disables the automatic recovery behavior of your instance or sets it to + default. For more information, see [Simplified automatic + recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery). + """ + +@dataclass(kw_only=True) +class InstanceMarketOptionsRequest(_SerdeShape): + """Describes the market (purchasing) option for the instances.""" + + market_type: str | None = ... + """The market type.""" + spot_options: SpotMarketOptions | None = ... + """The options for Spot Instances.""" + +class InstanceMatchCriteria(UnknownEnumMixin, StrEnum): + OPEN = "open" + TARGETED = "targeted" + +@dataclass(kw_only=True) +class InstanceMetadataDefaultsResponse(_SerdeShape): + """ + The default instance metadata service (IMDS) settings that were set at + the account level in the specified Amazon Web Services
 Region. + """ + + http_tokens: str | None = ... + """ + Indicates whether IMDSv2 is required. + + - `optional` -- IMDSv2 is optional, which means that you can use either + IMDSv2 or IMDSv1. + + - `required` -- IMDSv2 is required, which means that IMDSv1 is disabled, + and you must use IMDSv2. + """ + http_put_response_hop_limit: int | None = ... + """The maximum number of hops that the metadata token can travel.""" + http_endpoint: str | None = ... + """ + Indicates whether the IMDS endpoint for an instance is enabled or + disabled. When disabled, the instance metadata can't be accessed. + """ + instance_metadata_tags: str | None = ... + """ + Indicates whether access to instance tags from the instance metadata is + enabled or disabled. For more information, see [View tags for your EC2 + instances using instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html) + in the *Amazon EC2 User Guide*. + """ + managed_by: str | None = ... + """ + The entity that manages the IMDS default settings. Possible values + include: + + - `account` - The IMDS default settings are managed by the account. + + - `declarative-policy` - The IMDS default settings are managed by a + declarative policy and can't be modified by the account. + """ + managed_exception_message: str | None = ... + """ + The customized exception message that is specified in the declarative + policy. + """ + http_tokens_enforced: str | None = ... + """ + Indicates whether to enforce the requirement of IMDSv2 on an instance at + the time of launch. When enforcement is enabled, the instance can't + launch unless IMDSv2 (`HttpTokens`) is set to `required`. + """ + +class InstanceMetadataEndpointState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + +@dataclass(kw_only=True) +class InstanceMetadataOptionsRequest(_SerdeShape): + """The metadata options for the instance.""" + + http_tokens: str | None = ... + """ + Indicates whether IMDSv2 is required. + + - `optional` - IMDSv2 is optional, which means that you can use either + IMDSv2 or IMDSv1. + + - `required` - IMDSv2 is required, which means that IMDSv1 is disabled, + and you must use IMDSv2. + + Default: + + - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for + your instance is `v2.0` and the account level default is set to + `no-preference`, the default is `required`. + + - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for + your instance is `v2.0`, but the account level default is set to + `V1 or V2`, the default is `optional`. + + The default value can also be affected by other combinations of + parameters. For more information, see [Order of precedence for instance + metadata + options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence) + in the *Amazon EC2 User Guide*. + """ + http_put_response_hop_limit: int | None = ... + """ + The maximum number of hops that the metadata token can travel. + + Possible values: Integers from 1 to 64 + """ + http_endpoint: str | None = ... + """ + Enables or disables the HTTP metadata endpoint on your instances. + + If you specify a value of `disabled`, you cannot access your instance + metadata. + + Default: `enabled` + """ + http_protocol_ipv6: str | None = ... + """ + Enables or disables the IPv6 endpoint for the instance metadata service. + + Default: `disabled` + """ + instance_metadata_tags: str | None = ... + """ + Set to `enabled` to allow access to instance tags from the instance + metadata. Set to `disabled` to turn off access to instance tags from the + instance metadata. For more information, see [View tags for your EC2 + instances using instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). + + Default: `disabled` + """ + +@dataclass(kw_only=True) +class InstanceMetadataOptionsResponse(_SerdeShape): + """The metadata options for the instance.""" + + state: str | None = ... + """ + The state of the metadata option changes. + + `pending` - The metadata options are being updated and the instance is + not ready to process metadata traffic with the new selection. + + `applied` - The metadata options have been successfully applied on the + instance. + """ + http_tokens: str | None = ... + """ + Indicates whether IMDSv2 is required. + + - `optional` - IMDSv2 is optional, which means that you can use either + IMDSv2 or IMDSv1. + + - `required` - IMDSv2 is required, which means that IMDSv1 is disabled, + and you must use IMDSv2. + """ + http_put_response_hop_limit: int | None = ... + """ + The maximum number of hops that the metadata token can travel. + + Possible values: Integers from `1` to `64` + """ + http_endpoint: str | None = ... + """ + Indicates whether the HTTP metadata endpoint on your instances is + enabled or disabled. + + If the value is `disabled`, you cannot access your instance metadata. + """ + http_protocol_ipv6: str | None = ... + """ + Indicates whether the IPv6 endpoint for the instance metadata service is + enabled or disabled. + + Default: `disabled` + """ + instance_metadata_tags: str | None = ... + """ + Indicates whether access to instance tags from the instance metadata is + enabled or disabled. For more information, see [View tags for your EC2 + instances using instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). + """ + +class InstanceMetadataOptionsState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + APPLIED = "applied" + +class InstanceMetadataProtocolState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + +class InstanceMetadataTagsState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + +@dataclass(kw_only=True) +class InstanceMonitoring(_SerdeShape): + """Describes the monitoring of an instance.""" + + instance_id: str | None = ... + """The ID of the instance.""" + monitoring: Monitoring | None = ... + """The monitoring for the instance.""" + +@dataclass(kw_only=True) +class InstanceNetworkInterface(_SerdeShape): + """Describes a network interface.""" + + association: InstanceNetworkInterfaceAssociation | None = ... + """ + The association information for an Elastic IPv4 associated with the + network interface. + """ + attachment: InstanceNetworkInterfaceAttachment | None = ... + """The network interface attachment.""" + description: str | None = ... + """The description.""" + groups: list[GroupIdentifier] | None = ... + """The security groups.""" + ipv6_addresses: list[InstanceIpv6Address] | None = ... + """The IPv6 addresses associated with the network interface.""" + mac_address: str | None = ... + """The MAC address.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that created the network + interface. + """ + private_dns_name: str | None = ... + """The private DNS name.""" + private_ip_address: str | None = ... + """The IPv4 address of the network interface within the subnet.""" + private_ip_addresses: list[InstancePrivateIpAddress] | None = ... + """The private IPv4 addresses associated with the network interface.""" + source_dest_check: bool | None = ... + """Indicates whether source/destination checking is enabled.""" + status: str | None = ... + """The status of the network interface.""" + subnet_id: str | None = ... + """The ID of the subnet.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + interface_type: str | None = ... + """ + The type of network interface. + + Valid values: `interface` | `efa` | `efa-only` | `evs` | `trunk` + """ + ipv4_prefixes: list[InstanceIpv4Prefix] | None = ... + """The IPv4 delegated prefixes that are assigned to the network interface.""" + ipv6_prefixes: list[InstanceIpv6Prefix] | None = ... + """The IPv6 delegated prefixes that are assigned to the network interface.""" + connection_tracking_configuration: ( + ConnectionTrackingSpecificationResponse | None + ) = ... + """ + A security group connection tracking configuration that enables you to + set the timeout for connection tracking on an Elastic network interface. + For more information, see [Connection tracking + timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the *Amazon EC2 User Guide*. + """ + operator: OperatorResponse | None = ... + """The service provider that manages the network interface.""" + +@dataclass(kw_only=True) +class InstanceNetworkInterfaceAssociation(_SerdeShape): + """Describes association information for an Elastic IP address (IPv4).""" + + carrier_ip: str | None = ... + """The carrier IP address associated with the network interface.""" + customer_owned_ip: str | None = ... + """The customer-owned IP address associated with the network interface.""" + ip_owner_id: str | None = ... + """The ID of the owner of the Elastic IP address.""" + public_dns_name: str | None = ... + """The public DNS name.""" + public_ip: str | None = ... + """ + The public IP address or Elastic IP address bound to the network + interface. + """ + +@dataclass(kw_only=True) +class InstanceNetworkInterfaceAttachment(_SerdeShape): + """Describes a network interface attachment.""" + + attach_time: datetime | None = ... + """The time stamp when the attachment initiated.""" + attachment_id: str | None = ... + """The ID of the network interface attachment.""" + delete_on_termination: bool | None = ... + """ + Indicates whether the network interface is deleted when the instance is + terminated. + """ + device_index: int | None = ... + """ + The index of the device on the instance for the network interface + attachment. + """ + status: str | None = ... + """The attachment state.""" + network_card_index: int | None = ... + """The index of the network card.""" + ena_srd_specification: InstanceAttachmentEnaSrdSpecification | None = ... + """ + Contains the ENA Express settings for the network interface that's + attached to the instance. + """ + ena_queue_count: int | None = ... + """The number of ENA queues created with the instance.""" + +@dataclass(kw_only=True) +class InstanceNetworkInterfaceSpecification(_SerdeShape): + """Describes a network interface.""" + + associate_public_ip_address: bool | None = ... + """ + Indicates whether to assign a public IPv4 address to an instance you + launch in a VPC. The public IP address can only be assigned to a network + interface for eth0, and can only be assigned to a new network interface, + not an existing one. You cannot specify more than one network interface + in the request. If launching into a default subnet, the default value is + `true`. + + Amazon Web Services charges for all public IPv4 addresses, including + public IPv4 addresses associated with running instances and Elastic IP + addresses. For more information, see the *Public IPv4 Address* tab on + the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). + """ + delete_on_termination: bool | None = ... + """ + If set to `true`, the interface is deleted when the instance is + terminated. You can specify `true` only if creating a new network + interface when launching an instance. + """ + description: str | None = ... + """ + The description of the network interface. Applies only if creating a + network interface when launching an instance. + """ + device_index: int | None = ... + """ + The position of the network interface in the attachment order. A primary + network interface has a device index of 0. + + If you specify a network interface when launching an instance, you must + specify the device index. + """ + groups: list[str] | None = ... + """ + The IDs of the security groups for the network interface. Applies only + if creating a network interface when launching an instance. + """ + ipv6_address_count: int | None = ... + """ + A number of IPv6 addresses to assign to the network interface. Amazon + EC2 chooses the IPv6 addresses from the range of the subnet. You cannot + specify this option and the option to assign specific IPv6 addresses in + the same request. You can specify this option if you've specified a + minimum number of instances to launch. + """ + ipv6_addresses: list[InstanceIpv6Address] | None = ... + """ + The IPv6 addresses to assign to the network interface. You cannot + specify this option and the option to assign a number of IPv6 addresses + in the same request. You cannot specify this option if you've specified + a minimum number of instances to launch. + """ + network_interface_id: str | None = ... + """ + The ID of the network interface. + + If you are creating a Spot Fleet, omit this parameter because you can't + specify a network interface ID in a launch specification. + """ + private_ip_address: str | None = ... + """ + The private IPv4 address of the network interface. Applies only if + creating a network interface when launching an instance. You cannot + specify this option if you're launching more than one instance in a + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) + request. + """ + private_ip_addresses: list[PrivateIpAddressSpecification] | None = ... + """ + The private IPv4 addresses to assign to the network interface. Only one + private IPv4 address can be designated as primary. You cannot specify + this option if you're launching more than one instance in a + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) + request. + """ + secondary_private_ip_address_count: int | None = ... + """ + The number of secondary private IPv4 addresses. You can't specify this + parameter and also specify a secondary private IP address using the + `PrivateIpAddress` parameter. + """ + subnet_id: str | None = ... + """ + The ID of the subnet associated with the network interface. Applies only + if creating a network interface when launching an instance. + """ + associate_carrier_ip_address: bool | None = ... + """ + Indicates whether to assign a carrier IP address to the network + interface. + + You can only assign a carrier IP address to a network interface that is + in a subnet in a Wavelength Zone. For more information about carrier IP + addresses, see [Carrier IP + address](https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) + in the *Amazon Web Services Wavelength Developer Guide*. + """ + interface_type: str | None = ... + """ + The type of network interface. + + If you specify `efa-only`, do not assign any IP addresses to the network + interface. EFA-only network interfaces do not support IP addresses. + + Valid values: `interface` | `efa` | `efa-only` + """ + network_card_index: int | None = ... + """ + The index of the network card. Some instance types support multiple + network cards. The primary network interface must be assigned to network + card index 0. The default is network card index 0. + + If you are using + [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html) + to create Spot Instances, omit this parameter because you can't specify + the network card index when using this API. To specify the network card + index, use + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). + """ + ipv4_prefixes: list[Ipv4PrefixSpecificationRequest] | None = ... + """ + The IPv4 delegated prefixes to be assigned to the network interface. You + cannot use this option if you use the `Ipv4PrefixCount` option. + """ + ipv4_prefix_count: int | None = ... + """ + The number of IPv4 delegated prefixes to be automatically assigned to + the network interface. You cannot use this option if you use the + `Ipv4Prefix` option. + """ + ipv6_prefixes: list[Ipv6PrefixSpecificationRequest] | None = ... + """ + The IPv6 delegated prefixes to be assigned to the network interface. You + cannot use this option if you use the `Ipv6PrefixCount` option. + """ + ipv6_prefix_count: int | None = ... + """ + The number of IPv6 delegated prefixes to be automatically assigned to + the network interface. You cannot use this option if you use the + `Ipv6Prefix` option. + """ + primary_ipv6: bool | None = ... + """ + The primary IPv6 address of the network interface. When you enable an + IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made + the primary IPv6 address until the instance is terminated or the network + interface is detached. For more information about primary IPv6 + addresses, see + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). + """ + ena_srd_specification: EnaSrdSpecificationRequest | None = ... + """ + Specifies the ENA Express settings for the network interface that's + attached to the instance. + """ + connection_tracking_specification: ( + ConnectionTrackingSpecificationRequest | None + ) = ... + """ + A security group connection tracking specification that enables you to + set the timeout for connection tracking on an Elastic network interface. + For more information, see [Connection tracking + timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the *Amazon EC2 User Guide*. + """ + ena_queue_count: int | None = ... + """The number of ENA queues to be created with the instance.""" + +@dataclass(kw_only=True) +class InstanceNetworkPerformanceOptions(_SerdeShape): + """ + With network performance options, you can adjust your bandwidth + preferences to meet the needs of the workload that runs on your + instance. + """ + + bandwidth_weighting: str | None = ... + """ + When you configure network bandwidth weighting, you can boost your + baseline bandwidth for either networking or EBS by up to 25%. The total + available baseline bandwidth for your instance remains the same. The + default option uses the standard bandwidth configuration for your + instance type. + """ + +@dataclass(kw_only=True) +class InstanceNetworkPerformanceOptionsRequest(_SerdeShape): + """ + Configure network performance options for your instance that are geared + towards performance improvements based on the workload that it runs. + """ + + bandwidth_weighting: str | None = ... + """ + Specify the bandwidth weighting option to boost the associated type of + baseline bandwidth, as follows: + + default + + : This option uses the standard bandwidth configuration for your + instance type. + + vpc-1 + + : This option boosts your networking baseline bandwidth and reduces your + EBS baseline bandwidth. + + ebs-1 + + : This option boosts your EBS baseline bandwidth and reduces your + networking baseline bandwidth. + """ + +@dataclass(kw_only=True) +class InstancePrivateIpAddress(_SerdeShape): + """Describes a private IPv4 address.""" + + association: InstanceNetworkInterfaceAssociation | None = ... + """ + The association information for an Elastic IP address for the network + interface. + """ + primary: bool | None = ... + """ + Indicates whether this IPv4 address is the primary private IP address of + the network interface. + """ + private_dns_name: str | None = ... + """The private IPv4 DNS name.""" + private_ip_address: str | None = ... + """The private IPv4 address of the network interface.""" + +class InstanceRebootMigrationState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + DEFAULT = "default" + +@dataclass(kw_only=True) +class InstanceRequirements(_SerdeShape): + """ + The attributes for the instance types. When you specify instance + attributes, Amazon EC2 will identify instance types with these + attributes. + + You must specify `VCpuCount` and `MemoryMiB`. All other attributes are + optional. Any unspecified optional attribute is set to its default. + + When you specify multiple attributes, you get instance types that + satisfy all of the specified attributes. If you specify multiple values + for an attribute, you get instance types that satisfy any of the + specified values. + + To limit the list of instance types from which Amazon EC2 can identify + matching instance types, you can use one of the following parameters, + but not both in the same request: + + - `AllowedInstanceTypes` - The instance types to include in the list. + All other instance types are ignored, even if they match your + specified attributes. + + - `ExcludedInstanceTypes` - The instance types to exclude from the list, + even if they match your specified attributes. + + Note: + If you specify `InstanceRequirements`, you can't specify + `InstanceType`. + + Attribute-based instance type selection is only supported when using + Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If + you plan to use the launch template in the [launch instance + wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html) + or with the [RunInstances + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), + you can't specify `InstanceRequirements`. + + For more information, see [Create mixed instances group using + attribute-based instance type + selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) + in the *Amazon EC2 Auto Scaling User Guide*, and also [Specify + attributes for instance type selection for EC2 Fleet or Spot + Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html) + and [Spot placement + score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) + in the *Amazon EC2 User Guide*. + """ + + v_cpu_count: VCpuCountRange | None = ... + """The minimum and maximum number of vCPUs.""" + memory_mi_b: MemoryMiB | None = ... + """The minimum and maximum amount of memory, in MiB.""" + cpu_manufacturers: list[str] | None = ... + """ + The CPU manufacturers to include. + + - For instance types with Intel CPUs, specify `intel`. + + - For instance types with AMD CPUs, specify `amd`. + + - For instance types with Amazon Web Services CPUs, specify + `amazon-web-services`. + + - For instance types with Apple CPUs, specify `apple`. + + Note: + Don't confuse the CPU manufacturer with the CPU architecture. Instances + will be launched with a compatible CPU architecture based on the Amazon + Machine Image (AMI) that you specify in your launch template. + + Default: Any manufacturer + """ + memory_gi_b_per_v_cpu: MemoryGiBPerVCpu | None = ... + """ + The minimum and maximum amount of memory per vCPU, in GiB. + + Default: No minimum or maximum limits + """ + excluded_instance_types: list[str] | None = ... + """ + The instance types to exclude. + + You can use strings with one or more wild cards, represented by an + asterisk (`*`), to exclude an instance type, size, or generation. The + following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. + + For example, if you specify `c5*`,Amazon EC2 will exclude the entire C5 + instance family, which includes all C5a and C5n instance types. If you + specify `m5a.*`, Amazon EC2 will exclude all the M5a instance types, but + not the M5n instance types. + + Note: + If you specify `ExcludedInstanceTypes`, you can't specify + `AllowedInstanceTypes`. + + Default: No excluded instance types + """ + instance_generations: list[str] | None = ... + """ + Indicates whether current or previous generation instance types are + included. The current generation instance types are recommended for use. + Current generation instance types are typically the latest two to three + generations in each instance family. For more information, see [Instance + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + in the *Amazon EC2 User Guide*. + + For current generation instance types, specify `current`. + + For previous generation instance types, specify `previous`. + + Default: Current and previous generation instance types + """ + spot_max_price_percentage_over_lowest_price: int | None = ... + """ + [Price protection] The price protection threshold for Spot Instances, + as a percentage higher than an identified Spot price. The identified + Spot price is the Spot price of the lowest priced current generation C, + M, or R instance type with your specified attributes. If no current + generation C, M, or R instance type matches your attributes, then the + identified Spot price is from the lowest priced current generation + instance types, and failing that, from the lowest priced previous + generation instance types that match your attributes. When Amazon EC2 + selects instance types with your attributes, it will exclude instance + types whose Spot price exceeds your specified threshold. + + The parameter accepts an integer, which Amazon EC2 interprets as a + percentage. + + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price + protection threshold is applied based on the per-vCPU or per-memory + price instead of the per-instance price. + + This parameter is not supported for + [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) + and + [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). + + Note: + Only one of `SpotMaxPricePercentageOverLowestPrice` or + `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If + you don't specify either, Amazon EC2 will automatically apply optimal + price protection to consistently select from a wide range of instance + types. To indicate no price protection threshold for Spot Instances, + meaning you want to consider all instance types that match your + attributes, include one of these parameters and specify a high value, + such as `999999`. + + Default: `100` + """ + on_demand_max_price_percentage_over_lowest_price: int | None = ... + """ + [Price protection] The price protection threshold for On-Demand + Instances, as a percentage higher than an identified On-Demand price. + The identified On-Demand price is the price of the lowest priced current + generation C, M, or R instance type with your specified attributes. When + Amazon EC2 selects instance types with your attributes, it will exclude + instance types whose price exceeds your specified threshold. + + The parameter accepts an integer, which Amazon EC2 interprets as a + percentage. + + To turn off price protection, specify a high value, such as `999999`. + + This parameter is not supported for + [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) + and + [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). + + Note: + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price + protection threshold is applied based on the per-vCPU or per-memory + price instead of the per-instance price. + + Default: `20` + """ + bare_metal: str | None = ... + """ + Indicates whether bare metal instance types must be included, excluded, + or required. + + - To include bare metal instance types, specify `included`. + + - To require only bare metal instance types, specify `required`. + + - To exclude bare metal instance types, specify `excluded`. + + Default: `excluded` + """ + burstable_performance: str | None = ... + """ + Indicates whether burstable performance T instance types are included, + excluded, or required. For more information, see [Burstable performance + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). + + - To include burstable performance instance types, specify `included`. + + - To require only burstable performance instance types, specify + `required`. + + - To exclude burstable performance instance types, specify `excluded`. + + Default: `excluded` + """ + require_hibernate_support: bool | None = ... + """ + Indicates whether instance types must support hibernation for On-Demand + Instances. + + This parameter is not supported for + [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html). + + Default: `false` + """ + network_interface_count: NetworkInterfaceCount | None = ... + """ + The minimum and maximum number of network interfaces. + + Default: No minimum or maximum limits + """ + local_storage: str | None = ... + """ + Indicates whether instance types with instance store volumes are + included, excluded, or required. For more information, [Amazon EC2 + instance + store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) + in the *Amazon EC2 User Guide*. + + - To include instance types with instance store volumes, specify + `included`. + + - To require only instance types with instance store volumes, specify + `required`. + + - To exclude instance types with instance store volumes, specify + `excluded`. + + Default: `included` + """ + local_storage_types: list[str] | None = ... + """ + The type of local storage that is required. + + - For instance types with hard disk drive (HDD) storage, specify `hdd`. + + - For instance types with solid state drive (SSD) storage, specify + `ssd`. + + Default: `hdd` and `ssd` + """ + total_local_storage_gb: TotalLocalStorageGB | None = ... + """ + The minimum and maximum amount of total local storage, in GB. + + Default: No minimum or maximum limits + """ + baseline_ebs_bandwidth_mbps: BaselineEbsBandwidthMbps | None = ... + """ + The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For + more information, see [Amazon EBS--optimized + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) + in the *Amazon EC2 User Guide*. + + Default: No minimum or maximum limits + """ + accelerator_types: list[str] | None = ... + """ + The accelerator types that must be on the instance type. + + - For instance types with FPGA accelerators, specify `fpga`. + + - For instance types with GPU accelerators, specify `gpu`. + + - For instance types with Inference accelerators, specify `inference`. + + - For instance types with Media accelerators, specify `media`. + + Default: Any accelerator type + """ + accelerator_count: AcceleratorCount | None = ... + """ + The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon + Web Services Inferentia chips) on an instance. + + To exclude accelerator-enabled instance types, set `Max` to `0`. + + Default: No minimum or maximum limits + """ + accelerator_manufacturers: list[str] | None = ... + """ + Indicates whether instance types must have accelerators by specific + manufacturers. + + - For instance types with Amazon Web Services devices, specify + `amazon-web-services`. + + - For instance types with AMD devices, specify `amd`. + + - For instance types with Habana devices, specify `habana`. + + - For instance types with NVIDIA devices, specify `nvidia`. + + - For instance types with Xilinx devices, specify `xilinx`. + + Default: Any manufacturer + """ + accelerator_names: list[str] | None = ... + """ + The accelerators that must be on the instance type. + + - For instance types with NVIDIA A10G GPUs, specify `a10g`. + + - For instance types with NVIDIA A100 GPUs, specify `a100`. + + - For instance types with NVIDIA H100 GPUs, specify `h100`. + + - For instance types with Amazon Web Services Inferentia chips, specify + `inferentia`. + + - For instance types with Amazon Web Services Inferentia2 chips, specify + `inferentia2`. + + - For instance types with Habana Gaudi HL-205 GPUs, specify + `gaudi-hl-205`. + + - For instance types with NVIDIA GRID K520 GPUs, specify `k520`. + + - For instance types with NVIDIA K80 GPUs, specify `k80`. + + - For instance types with NVIDIA L4 GPUs, specify `l4`. + + - For instance types with NVIDIA L40S GPUs, specify `l40s`. + + - For instance types with NVIDIA M60 GPUs, specify `m60`. + + - For instance types with AMD Radeon Pro V520 GPUs, specify + `radeon-pro-v520`. + + - For instance types with Amazon Web Services Trainium chips, specify + `trainium`. + + - For instance types with Amazon Web Services Trainium2 chips, specify + `trainium2`. + + - For instance types with NVIDIA T4 GPUs, specify `t4`. + + - For instance types with NVIDIA T4G GPUs, specify `t4g`. + + - For instance types with Xilinx U30 cards, specify `u30`. + + - For instance types with Xilinx VU9P FPGAs, specify `vu9p`. + + - For instance types with NVIDIA V100 GPUs, specify `v100`. + + Default: Any accelerator + """ + accelerator_total_memory_mi_b: AcceleratorTotalMemoryMiB | None = ... + """ + The minimum and maximum amount of total accelerator memory, in MiB. + + Default: No minimum or maximum limits + """ + network_bandwidth_gbps: NetworkBandwidthGbps | None = ... + """ + The minimum and maximum amount of network bandwidth, in gigabits per + second (Gbps). + + Default: No minimum or maximum limits + """ + allowed_instance_types: list[str] | None = ... + """ + The instance types to apply your specified attributes against. All other + instance types are ignored, even if they match your specified + attributes. + + You can use strings with one or more wild cards, represented by an + asterisk (`*`), to allow an instance type, size, or generation. The + following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. + + For example, if you specify `c5*`,Amazon EC2 will allow the entire C5 + instance family, which includes all C5a and C5n instance types. If you + specify `m5a.*`, Amazon EC2 will allow all the M5a instance types, but + not the M5n instance types. + + Note: + If you specify `AllowedInstanceTypes`, you can't specify + `ExcludedInstanceTypes`. + + Default: All instance types + """ + max_spot_price_as_percentage_of_optimal_on_demand_price: int | None = ... + """ + [Price protection] The price protection threshold for Spot Instances, + as a percentage of an identified On-Demand price. The identified + On-Demand price is the price of the lowest priced current generation C, + M, or R instance type with your specified attributes. If no current + generation C, M, or R instance type matches your attributes, then the + identified price is from the lowest priced current generation instance + types, and failing that, from the lowest priced previous generation + instance types that match your attributes. When Amazon EC2 selects + instance types with your attributes, it will exclude instance types + whose price exceeds your specified threshold. + + The parameter accepts an integer, which Amazon EC2 interprets as a + percentage. + + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price + protection threshold is based on the per vCPU or per memory price + instead of the per instance price. + + Note: + Only one of `SpotMaxPricePercentageOverLowestPrice` or + `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If + you don't specify either, Amazon EC2 will automatically apply optimal + price protection to consistently select from a wide range of instance + types. To indicate no price protection threshold for Spot Instances, + meaning you want to consider all instance types that match your + attributes, include one of these parameters and specify a high value, + such as `999999`. + """ + baseline_performance_factors: BaselinePerformanceFactors | None = ... + """ + The baseline performance to consider, using an instance family as a + baseline reference. The instance family establishes the lowest + acceptable level of performance. Amazon EC2 uses this baseline to guide + instance type selection, but there is no guarantee that the selected + instance types will always exceed the baseline for every application. + Currently, this parameter only supports CPU performance as a baseline + performance factor. For more information, see [Performance + protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection) + in the *Amazon EC2 User Guide*. + """ + require_encryption_in_transit: bool | None = ... + """ + Specifies whether instance types must support encrypting in-transit + traffic between instances. For more information, including the supported + instance types, see [Encryption in + transit](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit) + in the *Amazon EC2 User Guide*. + + Default: `false` + """ + +@dataclass(kw_only=True) +class InstanceRequirementsRequest(_SerdeShape): + """ + The attributes for the instance types. When you specify instance + attributes, Amazon EC2 will identify instance types with these + attributes. + + You must specify `VCpuCount` and `MemoryMiB`. All other attributes are + optional. Any unspecified optional attribute is set to its default. + + When you specify multiple attributes, you get instance types that + satisfy all of the specified attributes. If you specify multiple values + for an attribute, you get instance types that satisfy any of the + specified values. + + To limit the list of instance types from which Amazon EC2 can identify + matching instance types, you can use one of the following parameters, + but not both in the same request: + + - `AllowedInstanceTypes` - The instance types to include in the list. + All other instance types are ignored, even if they match your + specified attributes. + + - `ExcludedInstanceTypes` - The instance types to exclude from the list, + even if they match your specified attributes. + + Note: + If you specify `InstanceRequirements`, you can't specify + `InstanceType`. + + Attribute-based instance type selection is only supported when using + Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If + you plan to use the launch template in the [launch instance + wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), + or with the + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) + API or + [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) + Amazon Web Services CloudFormation resource, you can't specify + `InstanceRequirements`. + + For more information, see [Specify attributes for instance type + selection for EC2 Fleet or Spot + Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html) + and [Spot placement + score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) + in the *Amazon EC2 User Guide*. + """ + + v_cpu_count: VCpuCountRangeRequest | None = ... + """The minimum and maximum number of vCPUs.""" + memory_mi_b: MemoryMiBRequest | None = ... + """The minimum and maximum amount of memory, in MiB.""" + cpu_manufacturers: list[str] | None = ... + """ + The CPU manufacturers to include. + + - For instance types with Intel CPUs, specify `intel`. + + - For instance types with AMD CPUs, specify `amd`. + + - For instance types with Amazon Web Services CPUs, specify + `amazon-web-services`. + + - For instance types with Apple CPUs, specify `apple`. + + Note: + Don't confuse the CPU manufacturer with the CPU architecture. Instances + will be launched with a compatible CPU architecture based on the Amazon + Machine Image (AMI) that you specify in your launch template. + + Default: Any manufacturer + """ + memory_gi_b_per_v_cpu: MemoryGiBPerVCpuRequest | None = ... + """ + The minimum and maximum amount of memory per vCPU, in GiB. + + Default: No minimum or maximum limits + """ + excluded_instance_types: list[str] | None = ... + """ + The instance types to exclude. + + You can use strings with one or more wild cards, represented by an + asterisk (`*`), to exclude an instance family, type, size, or + generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, + `r*`, `*3*`. + + For example, if you specify `c5*`,Amazon EC2 will exclude the entire C5 + instance family, which includes all C5a and C5n instance types. If you + specify `m5a.*`, Amazon EC2 will exclude all the M5a instance types, but + not the M5n instance types. + + Note: + If you specify `ExcludedInstanceTypes`, you can't specify + `AllowedInstanceTypes`. + + Default: No excluded instance types + """ + instance_generations: list[str] | None = ... + """ + Indicates whether current or previous generation instance types are + included. The current generation instance types are recommended for use. + Current generation instance types are typically the latest two to three + generations in each instance family. For more information, see [Instance + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + in the *Amazon EC2 User Guide*. + + For current generation instance types, specify `current`. + + For previous generation instance types, specify `previous`. + + Default: Current and previous generation instance types + """ + spot_max_price_percentage_over_lowest_price: int | None = ... + """ + [Price protection] The price protection threshold for Spot Instances, + as a percentage higher than an identified Spot price. The identified + Spot price is the Spot price of the lowest priced current generation C, + M, or R instance type with your specified attributes. If no current + generation C, M, or R instance type matches your attributes, then the + identified Spot price is from the lowest priced current generation + instance types, and failing that, from the lowest priced previous + generation instance types that match your attributes. When Amazon EC2 + selects instance types with your attributes, it will exclude instance + types whose Spot price exceeds your specified threshold. + + The parameter accepts an integer, which Amazon EC2 interprets as a + percentage. + + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price + protection threshold is applied based on the per-vCPU or per-memory + price instead of the per-instance price. + + This parameter is not supported for + [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) + and + [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). + + Note: + Only one of `SpotMaxPricePercentageOverLowestPrice` or + `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If + you don't specify either, Amazon EC2 will automatically apply optimal + price protection to consistently select from a wide range of instance + types. To indicate no price protection threshold for Spot Instances, + meaning you want to consider all instance types that match your + attributes, include one of these parameters and specify a high value, + such as `999999`. + + Default: `100` + """ + on_demand_max_price_percentage_over_lowest_price: int | None = ... + """ + [Price protection] The price protection threshold for On-Demand + Instances, as a percentage higher than an identified On-Demand price. + The identified On-Demand price is the price of the lowest priced current + generation C, M, or R instance type with your specified attributes. When + Amazon EC2 selects instance types with your attributes, it will exclude + instance types whose price exceeds your specified threshold. + + The parameter accepts an integer, which Amazon EC2 interprets as a + percentage. + + To indicate no price protection threshold, specify a high value, such as + `999999`. + + This parameter is not supported for + [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) + and + [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). + + Note: + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price + protection threshold is applied based on the per-vCPU or per-memory + price instead of the per-instance price. + + Default: `20` + """ + bare_metal: str | None = ... + """ + Indicates whether bare metal instance types must be included, excluded, + or required. + + - To include bare metal instance types, specify `included`. + + - To require only bare metal instance types, specify `required`. + + - To exclude bare metal instance types, specify `excluded`. + + Default: `excluded` + """ + burstable_performance: str | None = ... + """ + Indicates whether burstable performance T instance types are included, + excluded, or required. For more information, see [Burstable performance + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). + + - To include burstable performance instance types, specify `included`. + + - To require only burstable performance instance types, specify + `required`. + + - To exclude burstable performance instance types, specify `excluded`. + + Default: `excluded` + """ + require_hibernate_support: bool | None = ... + """ + Indicates whether instance types must support hibernation for On-Demand + Instances. + + This parameter is not supported for + [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html). + + Default: `false` + """ + network_interface_count: NetworkInterfaceCountRequest | None = ... + """ + The minimum and maximum number of network interfaces. + + Default: No minimum or maximum limits + """ + local_storage: str | None = ... + """ + Indicates whether instance types with instance store volumes are + included, excluded, or required. For more information, [Amazon EC2 + instance + store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) + in the *Amazon EC2 User Guide*. + + - To include instance types with instance store volumes, specify + `included`. + + - To require only instance types with instance store volumes, specify + `required`. + + - To exclude instance types with instance store volumes, specify + `excluded`. + + Default: `included` + """ + local_storage_types: list[str] | None = ... + """ + The type of local storage that is required. + + - For instance types with hard disk drive (HDD) storage, specify `hdd`. + + - For instance types with solid state drive (SSD) storage, specify + `ssd`. + + Default: `hdd` and `ssd` + """ + total_local_storage_gb: TotalLocalStorageGBRequest | None = ... + """ + The minimum and maximum amount of total local storage, in GB. + + Default: No minimum or maximum limits + """ + baseline_ebs_bandwidth_mbps: BaselineEbsBandwidthMbpsRequest | None = ... + """ + The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For + more information, see [Amazon EBS--optimized + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) + in the *Amazon EC2 User Guide*. + + Default: No minimum or maximum limits + """ + accelerator_types: list[str] | None = ... + """ + The accelerator types that must be on the instance type. + + - For instance types with FPGA accelerators, specify `fpga`. + + - For instance types with GPU accelerators, specify `gpu`. + + - For instance types with Inference accelerators, specify `inference`. + + - For instance types with Media accelerators, specify `media`. + + Default: Any accelerator type + """ + accelerator_count: AcceleratorCountRequest | None = ... + """ + The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon + Web Services Inferentia chips) on an instance. + + To exclude accelerator-enabled instance types, set `Max` to `0`. + + Default: No minimum or maximum limits + """ + accelerator_manufacturers: list[str] | None = ... + """ + Indicates whether instance types must have accelerators by specific + manufacturers. + + - For instance types with Amazon Web Services devices, specify + `amazon-web-services`. + + - For instance types with AMD devices, specify `amd`. + + - For instance types with Habana devices, specify `habana`. + + - For instance types with NVIDIA devices, specify `nvidia`. + + - For instance types with Xilinx devices, specify `xilinx`. + + Default: Any manufacturer + """ + accelerator_names: list[str] | None = ... + """ + The accelerators that must be on the instance type. + + - For instance types with NVIDIA A10G GPUs, specify `a10g`. + + - For instance types with NVIDIA A100 GPUs, specify `a100`. + + - For instance types with NVIDIA H100 GPUs, specify `h100`. + + - For instance types with Amazon Web Services Inferentia chips, specify + `inferentia`. + + - For instance types with Amazon Web Services Inferentia2 chips, specify + `inferentia2`. + + - For instance types with Habana Gaudi HL-205 GPUs, specify + `gaudi-hl-205`. + + - For instance types with NVIDIA GRID K520 GPUs, specify `k520`. + + - For instance types with NVIDIA K80 GPUs, specify `k80`. + + - For instance types with NVIDIA L4 GPUs, specify `l4`. + + - For instance types with NVIDIA L40S GPUs, specify `l40s`. + + - For instance types with NVIDIA M60 GPUs, specify `m60`. + + - For instance types with AMD Radeon Pro V520 GPUs, specify + `radeon-pro-v520`. + + - For instance types with Amazon Web Services Trainium chips, specify + `trainium`. + + - For instance types with Amazon Web Services Trainium2 chips, specify + `trainium2`. + + - For instance types with NVIDIA T4 GPUs, specify `t4`. + + - For instance types with NVIDIA T4G GPUs, specify `t4g`. + + - For instance types with Xilinx U30 cards, specify `u30`. + + - For instance types with Xilinx VU9P FPGAs, specify `vu9p`. + + - For instance types with NVIDIA V100 GPUs, specify `v100`. + + Default: Any accelerator + """ + accelerator_total_memory_mi_b: AcceleratorTotalMemoryMiBRequest | None = ... + """ + The minimum and maximum amount of total accelerator memory, in MiB. + + Default: No minimum or maximum limits + """ + network_bandwidth_gbps: NetworkBandwidthGbpsRequest | None = ... + """ + The minimum and maximum amount of baseline network bandwidth, in + gigabits per second (Gbps). For more information, see [Amazon EC2 + instance network + bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html) + in the *Amazon EC2 User Guide*. + + Default: No minimum or maximum limits + """ + allowed_instance_types: list[str] | None = ... + """ + The instance types to apply your specified attributes against. All other + instance types are ignored, even if they match your specified + attributes. + + You can use strings with one or more wild cards, represented by an + asterisk (`*`), to allow an instance type, size, or generation. The + following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. + + For example, if you specify `c5*`,Amazon EC2 will allow the entire C5 + instance family, which includes all C5a and C5n instance types. If you + specify `m5a.*`, Amazon EC2 will allow all the M5a instance types, but + not the M5n instance types. + + Note: + If you specify `AllowedInstanceTypes`, you can't specify + `ExcludedInstanceTypes`. + + Default: All instance types + """ + max_spot_price_as_percentage_of_optimal_on_demand_price: int | None = ... + """ + [Price protection] The price protection threshold for Spot Instances, + as a percentage of an identified On-Demand price. The identified + On-Demand price is the price of the lowest priced current generation C, + M, or R instance type with your specified attributes. If no current + generation C, M, or R instance type matches your attributes, then the + identified price is from the lowest priced current generation instance + types, and failing that, from the lowest priced previous generation + instance types that match your attributes. When Amazon EC2 selects + instance types with your attributes, it will exclude instance types + whose price exceeds your specified threshold. + + The parameter accepts an integer, which Amazon EC2 interprets as a + percentage. + + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price + protection threshold is based on the per vCPU or per memory price + instead of the per instance price. + + Note: + Only one of `SpotMaxPricePercentageOverLowestPrice` or + `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If + you don't specify either, Amazon EC2 will automatically apply optimal + price protection to consistently select from a wide range of instance + types. To indicate no price protection threshold for Spot Instances, + meaning you want to consider all instance types that match your + attributes, include one of these parameters and specify a high value, + such as `999999`. + """ + baseline_performance_factors: BaselinePerformanceFactorsRequest | None = ... + """ + The baseline performance to consider, using an instance family as a + baseline reference. The instance family establishes the lowest + acceptable level of performance. Amazon EC2 uses this baseline to guide + instance type selection, but there is no guarantee that the selected + instance types will always exceed the baseline for every application. + Currently, this parameter only supports CPU performance as a baseline + performance factor. For more information, see [Performance + protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection) + in the *Amazon EC2 User Guide*. + """ + require_encryption_in_transit: bool | None = ... + """ + Specifies whether instance types must support encrypting in-transit + traffic between instances. For more information, including the supported + instance types, see [Encryption in + transit](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit) + in the *Amazon EC2 User Guide*. + + Default: `false` + """ + +@dataclass(kw_only=True) +class InstanceRequirementsWithMetadataRequest(_SerdeShape): + """ + The architecture type, virtualization type, and other attributes for the + instance types. When you specify instance attributes, Amazon EC2 will + identify instance types with those attributes. + + If you specify `InstanceRequirementsWithMetadataRequest`, you can't + specify `InstanceTypes`. + """ + + architecture_types: list[str] | None = ... + """The architecture type.""" + virtualization_types: list[str] | None = ... + """The virtualization type.""" + instance_requirements: InstanceRequirementsRequest | None = ... + """ + The attributes for the instance types. When you specify instance + attributes, Amazon EC2 will identify instance types with those + attributes. + """ + +@dataclass(kw_only=True) +class InstanceSecondaryInterface(_SerdeShape): + """Describes a secondary interface attached to an instance.""" + + attachment: InstanceSecondaryInterfaceAttachment | None = ... + """The attachment information for the secondary interface.""" + mac_address: str | None = ... + """The MAC address of the secondary interface.""" + secondary_interface_id: str | None = ... + """The ID of the secondary interface.""" + owner_id: str | None = ... + """ + The Amazon Web Services account ID of the owner of the secondary + interface. + """ + private_ip_addresses: list[InstanceSecondaryInterfacePrivateIpAddress] | None = ... + """The private IPv4 addresses associated with the secondary interface.""" + source_dest_check: bool | None = ... + """Indicates whether source/destination checking is enabled.""" + status: str | None = ... + """The status of the secondary interface.""" + secondary_subnet_id: str | None = ... + """The ID of the secondary subnet.""" + secondary_network_id: str | None = ... + """The ID of the secondary network.""" + interface_type: str | None = ... + """The type of secondary interface.""" + +@dataclass(kw_only=True) +class InstanceSecondaryInterfaceAttachment(_SerdeShape): + """Describes the attachment of a secondary interface to an instance.""" + + attach_time: datetime | None = ... + """The timestamp when the attachment was created.""" + attachment_id: str | None = ... + """The ID of the attachment.""" + delete_on_termination: bool | None = ... + """ + Indicates whether the secondary interface is deleted when the instance + is terminated. + + The only supported value for this field is `true`. + """ + device_index: int | None = ... + """The device index of the secondary interface.""" + status: str | None = ... + """The attachment state.""" + network_card_index: int | None = ... + """The index of the network card.""" + +@dataclass(kw_only=True) +class InstanceSecondaryInterfacePrivateIpAddress(_SerdeShape): + """Describes a private IPv4 address for a secondary interface.""" + + private_ip_address: str | None = ... + """The private IPv4 address.""" + +@dataclass(kw_only=True) +class InstanceSecondaryInterfacePrivateIpAddressRequest(_SerdeShape): + """Describes a private IPv4 address for a secondary interface request.""" + + private_ip_address: str | None = ... + """The private IPv4 address.""" + +@dataclass(kw_only=True) +class InstanceSecondaryInterfaceSpecificationRequest(_SerdeShape): + """Describes a secondary interface specification for launching an instance.""" + + delete_on_termination: bool | None = ... + """ + Indicates whether the secondary interface is deleted when the instance + is terminated. + + The only supported value for this field is `true`. + """ + device_index: int | None = ... + """The device index for the secondary interface attachment.""" + private_ip_addresses: ( + list[InstanceSecondaryInterfacePrivateIpAddressRequest] | None + ) = ... + """The private IPv4 addresses to assign to the secondary interface.""" + private_ip_address_count: int | None = ... + """ + The number of private IPv4 addresses to assign to the secondary + interface. + """ + secondary_subnet_id: str | None = ... + """The ID of the secondary subnet.""" + interface_type: str | None = ... + """The type of secondary interface.""" + network_card_index: int | None = ... + """ + The index of the network card. The network card must support secondary + interfaces. + """ + +@dataclass(kw_only=True) +class InstanceSpecification(_SerdeShape): + """The instance details to specify which volumes should be snapshotted.""" + + instance_id: str | None = ... + """The instance to specify which volumes should be snapshotted.""" + exclude_boot_volume: bool | None = ... + """Excludes the root volume from being snapshotted.""" + exclude_data_volume_ids: list[str] | None = ... + """ + The IDs of the data (non-root) volumes to exclude from the multi-volume + snapshot set. If you specify the ID of the root volume, the request + fails. To exclude the root volume, use **ExcludeBootVolume**. + + You can specify up to 40 volume IDs per request. + """ + +@dataclass(kw_only=True) +class InstanceState(_SerdeShape): + """Describes the current state of an instance.""" + + code: int | None = ... + """ + The state of the instance as a 16-bit unsigned integer. + + The high byte is all of the bits between 2^8 and (2^16)-1, which + equals decimal values between 256 and 65,535. These numerical values are + used for internal purposes and should be ignored. + + The low byte is all of the bits between 2^0 and (2^8)-1, which equals + decimal values between 0 and 255. + + The valid values for instance-state-code will all be in the range of the + low byte and they are: + + - `0` : `pending` + + - `16` : `running` + + - `32` : `shutting-down` + + - `48` : `terminated` + + - `64` : `stopping` + + - `80` : `stopped` + + You can ignore the high byte value by zeroing out all of the bits above + 2^8 or 256 in decimal. + """ + name: str | None = ... + """The current state of the instance.""" + +@dataclass(kw_only=True) +class InstanceStateChange(_SerdeShape): + """Describes an instance state change.""" + + instance_id: str | None = ... + """The ID of the instance.""" + current_state: InstanceState | None = ... + """The current state of the instance.""" + previous_state: InstanceState | None = ... + """The previous state of the instance.""" + +class InstanceStateName(UnknownEnumMixin, StrEnum): + PENDING = "pending" + RUNNING = "running" + SHUTTING_DOWN = "shutting-down" + TERMINATED = "terminated" + STOPPING = "stopping" + STOPPED = "stopped" + +@dataclass(kw_only=True) +class InstanceStatus(_SerdeShape): + """ + Describes the status of an instance, including system status, instance + status, attached EBS status, application status, and performance status. + """ + + availability_zone: str | None = ... + """The Availability Zone of the instance.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone of the instance.""" + outpost_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + operator: OperatorResponse | None = ... + """The service provider that manages the instance.""" + events: list[InstanceStatusEvent] | None = ... + """Any scheduled events associated with the instance.""" + instance_id: str | None = ... + """The ID of the instance.""" + instance_state: InstanceState | None = ... + """ + The intended state of the instance. DescribeInstanceStatus requires that + an instance be in the `running` state. + """ + instance_status: InstanceStatusSummary | None = ... + """ + Reports impaired functionality that stems from issues internal to the + instance, such as impaired reachability. + """ + system_status: InstanceStatusSummary | None = ... + """ + Reports impaired functionality that stems from issues related to the + systems that support an instance, such as hardware failures and network + connectivity problems. + """ + attached_ebs_status: EbsStatusSummary | None = ... + """ + Reports impaired functionality that stems from an attached Amazon EBS + volume that is unreachable and unable to complete I/O operations. + """ + application_status: ApplicationStatusSummary | None = ... + """Reports the application-level health status for the instance.""" + performance_status: PerformanceStatusSummary | None = ... + """ + Reports the performance-related health status for the instance. This + information is returned only when performance status checks are enabled + for the instance. + """ + +@dataclass(kw_only=True) +class InstanceStatusDetails(_SerdeShape): + """Describes the instance status.""" + + impaired_since: datetime | None = ... + """ + The time when a status check failed. For an instance that was launched + and impaired, this is the time when the instance was launched. + """ + name: str | None = ... + """The type of instance status.""" + status: str | None = ... + """The status.""" + +@dataclass(kw_only=True) +class InstanceStatusEvent(_SerdeShape): + """Describes a scheduled event for an instance.""" + + instance_event_id: str | None = ... + """The ID of the event.""" + code: str | None = ... + """The event code.""" + description: str | None = ... + """ + A description of the event. + + After a scheduled event is completed, it can still be described for up + to a week. If the event has been completed, this description starts with + the following text: [Completed]. + """ + not_after: datetime | None = ... + """The latest scheduled end time for the event.""" + not_before: datetime | None = ... + """The earliest scheduled start time for the event.""" + not_before_deadline: datetime | None = ... + """The deadline for starting the event.""" + +@dataclass(kw_only=True) +class InstanceStatusSummary(_SerdeShape): + """Describes the status of an instance.""" + + details: list[InstanceStatusDetails] | None = ... + """The system instance health or application instance health.""" + status: str | None = ... + """The status.""" + +class InstanceStorageEncryptionSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + REQUIRED = "required" + +@dataclass(kw_only=True) +class InstanceStorageInfo(_SerdeShape): + """ + Describes the instance store features that are supported by the instance + type. + """ + + total_size_in_gb: int | None = ... + """The total size of the disks, in GB.""" + disks: list[DiskInfo] | None = ... + """Describes the disks that are available for the instance type.""" + nvme_support: str | None = ... + """Indicates whether non-volatile memory express (NVMe) is supported.""" + encryption_support: str | None = ... + """Indicates whether data is encrypted at rest.""" + +@dataclass(kw_only=True) +class InstanceTagNotificationAttribute(_SerdeShape): + """Describes the registered tag keys for the current Region.""" + + instance_tag_keys: list[str] | None = ... + """The registered tag keys.""" + include_all_tags_of_instance: bool | None = ... + """ + Indicates wheter all tag keys in the current Region are registered to + appear in scheduled event notifications. `true` indicates that all tag + keys in the current Region are registered. + """ + +@dataclass(kw_only=True) +class InstanceTopology(_SerdeShape): + """Information about the instance topology.""" + + instance_id: str | None = ... + """The instance ID.""" + instance_type: str | None = ... + """The instance type.""" + group_name: str | None = ... + """The name of the placement group that the instance is in.""" + network_nodes: list[str] | None = ... + """ + The network nodes. The nodes are hashed based on your account. Instances + from different accounts running under the same server will return a + different hashed list of strings. + + The value is `null` or empty if: + + - The instance type is not supported. + + - The instance is in a state other than `running`. + """ + availability_zone: str | None = ... + """The name of the Availability Zone or Local Zone that the instance is in.""" + zone_id: str | None = ... + """The ID of the Availability Zone or Local Zone that the instance is in.""" + capacity_block_id: str | None = ... + """ + The ID of the Capacity Block. This parameter is only supported for + UltraServer instances and identifies instances within the UltraServer + domain. + """ + +class InstanceType(UnknownEnumMixin, StrEnum): + A1_MEDIUM = "a1.medium" + A1_LARGE = "a1.large" + A1_XLARGE = "a1.xlarge" + A1_2XLARGE = "a1.2xlarge" + A1_4XLARGE = "a1.4xlarge" + A1_METAL = "a1.metal" + C1_MEDIUM = "c1.medium" + C1_XLARGE = "c1.xlarge" + C3_LARGE = "c3.large" + C3_XLARGE = "c3.xlarge" + C3_2XLARGE = "c3.2xlarge" + C3_4XLARGE = "c3.4xlarge" + C3_8XLARGE = "c3.8xlarge" + C4_LARGE = "c4.large" + C4_XLARGE = "c4.xlarge" + C4_2XLARGE = "c4.2xlarge" + C4_4XLARGE = "c4.4xlarge" + C4_8XLARGE = "c4.8xlarge" + C5_LARGE = "c5.large" + C5_XLARGE = "c5.xlarge" + C5_2XLARGE = "c5.2xlarge" + C5_4XLARGE = "c5.4xlarge" + C5_9XLARGE = "c5.9xlarge" + C5_12XLARGE = "c5.12xlarge" + C5_18XLARGE = "c5.18xlarge" + C5_24XLARGE = "c5.24xlarge" + C5_METAL = "c5.metal" + C5A_LARGE = "c5a.large" + C5A_XLARGE = "c5a.xlarge" + C5A_2XLARGE = "c5a.2xlarge" + C5A_4XLARGE = "c5a.4xlarge" + C5A_8XLARGE = "c5a.8xlarge" + C5A_12XLARGE = "c5a.12xlarge" + C5A_16XLARGE = "c5a.16xlarge" + C5A_24XLARGE = "c5a.24xlarge" + C5AD_LARGE = "c5ad.large" + C5AD_XLARGE = "c5ad.xlarge" + C5AD_2XLARGE = "c5ad.2xlarge" + C5AD_4XLARGE = "c5ad.4xlarge" + C5AD_8XLARGE = "c5ad.8xlarge" + C5AD_12XLARGE = "c5ad.12xlarge" + C5AD_16XLARGE = "c5ad.16xlarge" + C5AD_24XLARGE = "c5ad.24xlarge" + C5D_LARGE = "c5d.large" + C5D_XLARGE = "c5d.xlarge" + C5D_2XLARGE = "c5d.2xlarge" + C5D_4XLARGE = "c5d.4xlarge" + C5D_9XLARGE = "c5d.9xlarge" + C5D_12XLARGE = "c5d.12xlarge" + C5D_18XLARGE = "c5d.18xlarge" + C5D_24XLARGE = "c5d.24xlarge" + C5D_METAL = "c5d.metal" + C5N_LARGE = "c5n.large" + C5N_XLARGE = "c5n.xlarge" + C5N_2XLARGE = "c5n.2xlarge" + C5N_4XLARGE = "c5n.4xlarge" + C5N_9XLARGE = "c5n.9xlarge" + C5N_18XLARGE = "c5n.18xlarge" + C5N_METAL = "c5n.metal" + C6G_MEDIUM = "c6g.medium" + C6G_LARGE = "c6g.large" + C6G_XLARGE = "c6g.xlarge" + C6G_2XLARGE = "c6g.2xlarge" + C6G_4XLARGE = "c6g.4xlarge" + C6G_8XLARGE = "c6g.8xlarge" + C6G_12XLARGE = "c6g.12xlarge" + C6G_16XLARGE = "c6g.16xlarge" + C6G_METAL = "c6g.metal" + C6GD_MEDIUM = "c6gd.medium" + C6GD_LARGE = "c6gd.large" + C6GD_XLARGE = "c6gd.xlarge" + C6GD_2XLARGE = "c6gd.2xlarge" + C6GD_4XLARGE = "c6gd.4xlarge" + C6GD_8XLARGE = "c6gd.8xlarge" + C6GD_12XLARGE = "c6gd.12xlarge" + C6GD_16XLARGE = "c6gd.16xlarge" + C6GD_METAL = "c6gd.metal" + C6GN_MEDIUM = "c6gn.medium" + C6GN_LARGE = "c6gn.large" + C6GN_XLARGE = "c6gn.xlarge" + C6GN_2XLARGE = "c6gn.2xlarge" + C6GN_4XLARGE = "c6gn.4xlarge" + C6GN_8XLARGE = "c6gn.8xlarge" + C6GN_12XLARGE = "c6gn.12xlarge" + C6GN_16XLARGE = "c6gn.16xlarge" + C6I_LARGE = "c6i.large" + C6I_XLARGE = "c6i.xlarge" + C6I_2XLARGE = "c6i.2xlarge" + C6I_4XLARGE = "c6i.4xlarge" + C6I_8XLARGE = "c6i.8xlarge" + C6I_12XLARGE = "c6i.12xlarge" + C6I_16XLARGE = "c6i.16xlarge" + C6I_24XLARGE = "c6i.24xlarge" + C6I_32XLARGE = "c6i.32xlarge" + C6I_METAL = "c6i.metal" + CC1_4XLARGE = "cc1.4xlarge" + CC2_8XLARGE = "cc2.8xlarge" + CG1_4XLARGE = "cg1.4xlarge" + CR1_8XLARGE = "cr1.8xlarge" + D2_XLARGE = "d2.xlarge" + D2_2XLARGE = "d2.2xlarge" + D2_4XLARGE = "d2.4xlarge" + D2_8XLARGE = "d2.8xlarge" + D3_XLARGE = "d3.xlarge" + D3_2XLARGE = "d3.2xlarge" + D3_4XLARGE = "d3.4xlarge" + D3_8XLARGE = "d3.8xlarge" + D3EN_XLARGE = "d3en.xlarge" + D3EN_2XLARGE = "d3en.2xlarge" + D3EN_4XLARGE = "d3en.4xlarge" + D3EN_6XLARGE = "d3en.6xlarge" + D3EN_8XLARGE = "d3en.8xlarge" + D3EN_12XLARGE = "d3en.12xlarge" + DL1_24XLARGE = "dl1.24xlarge" + F1_2XLARGE = "f1.2xlarge" + F1_4XLARGE = "f1.4xlarge" + F1_16XLARGE = "f1.16xlarge" + G2_2XLARGE = "g2.2xlarge" + G2_8XLARGE = "g2.8xlarge" + G3_4XLARGE = "g3.4xlarge" + G3_8XLARGE = "g3.8xlarge" + G3_16XLARGE = "g3.16xlarge" + G3S_XLARGE = "g3s.xlarge" + G4AD_XLARGE = "g4ad.xlarge" + G4AD_2XLARGE = "g4ad.2xlarge" + G4AD_4XLARGE = "g4ad.4xlarge" + G4AD_8XLARGE = "g4ad.8xlarge" + G4AD_16XLARGE = "g4ad.16xlarge" + G4DN_XLARGE = "g4dn.xlarge" + G4DN_2XLARGE = "g4dn.2xlarge" + G4DN_4XLARGE = "g4dn.4xlarge" + G4DN_8XLARGE = "g4dn.8xlarge" + G4DN_12XLARGE = "g4dn.12xlarge" + G4DN_16XLARGE = "g4dn.16xlarge" + G4DN_METAL = "g4dn.metal" + G5_XLARGE = "g5.xlarge" + G5_2XLARGE = "g5.2xlarge" + G5_4XLARGE = "g5.4xlarge" + G5_8XLARGE = "g5.8xlarge" + G5_12XLARGE = "g5.12xlarge" + G5_16XLARGE = "g5.16xlarge" + G5_24XLARGE = "g5.24xlarge" + G5_48XLARGE = "g5.48xlarge" + G5G_XLARGE = "g5g.xlarge" + G5G_2XLARGE = "g5g.2xlarge" + G5G_4XLARGE = "g5g.4xlarge" + G5G_8XLARGE = "g5g.8xlarge" + G5G_16XLARGE = "g5g.16xlarge" + G5G_METAL = "g5g.metal" + HI1_4XLARGE = "hi1.4xlarge" + HPC6A_48XLARGE = "hpc6a.48xlarge" + HS1_8XLARGE = "hs1.8xlarge" + H1_2XLARGE = "h1.2xlarge" + H1_4XLARGE = "h1.4xlarge" + H1_8XLARGE = "h1.8xlarge" + H1_16XLARGE = "h1.16xlarge" + I2_XLARGE = "i2.xlarge" + I2_2XLARGE = "i2.2xlarge" + I2_4XLARGE = "i2.4xlarge" + I2_8XLARGE = "i2.8xlarge" + I3_LARGE = "i3.large" + I3_XLARGE = "i3.xlarge" + I3_2XLARGE = "i3.2xlarge" + I3_4XLARGE = "i3.4xlarge" + I3_8XLARGE = "i3.8xlarge" + I3_16XLARGE = "i3.16xlarge" + I3_METAL = "i3.metal" + I3EN_LARGE = "i3en.large" + I3EN_XLARGE = "i3en.xlarge" + I3EN_2XLARGE = "i3en.2xlarge" + I3EN_3XLARGE = "i3en.3xlarge" + I3EN_6XLARGE = "i3en.6xlarge" + I3EN_12XLARGE = "i3en.12xlarge" + I3EN_24XLARGE = "i3en.24xlarge" + I3EN_METAL = "i3en.metal" + IM4GN_LARGE = "im4gn.large" + IM4GN_XLARGE = "im4gn.xlarge" + IM4GN_2XLARGE = "im4gn.2xlarge" + IM4GN_4XLARGE = "im4gn.4xlarge" + IM4GN_8XLARGE = "im4gn.8xlarge" + IM4GN_16XLARGE = "im4gn.16xlarge" + INF1_XLARGE = "inf1.xlarge" + INF1_2XLARGE = "inf1.2xlarge" + INF1_6XLARGE = "inf1.6xlarge" + INF1_24XLARGE = "inf1.24xlarge" + IS4GEN_MEDIUM = "is4gen.medium" + IS4GEN_LARGE = "is4gen.large" + IS4GEN_XLARGE = "is4gen.xlarge" + IS4GEN_2XLARGE = "is4gen.2xlarge" + IS4GEN_4XLARGE = "is4gen.4xlarge" + IS4GEN_8XLARGE = "is4gen.8xlarge" + M1_SMALL = "m1.small" + M1_MEDIUM = "m1.medium" + M1_LARGE = "m1.large" + M1_XLARGE = "m1.xlarge" + M2_XLARGE = "m2.xlarge" + M2_2XLARGE = "m2.2xlarge" + M2_4XLARGE = "m2.4xlarge" + M3_MEDIUM = "m3.medium" + M3_LARGE = "m3.large" + M3_XLARGE = "m3.xlarge" + M3_2XLARGE = "m3.2xlarge" + M4_LARGE = "m4.large" + M4_XLARGE = "m4.xlarge" + M4_2XLARGE = "m4.2xlarge" + M4_4XLARGE = "m4.4xlarge" + M4_10XLARGE = "m4.10xlarge" + M4_16XLARGE = "m4.16xlarge" + M5_LARGE = "m5.large" + M5_XLARGE = "m5.xlarge" + M5_2XLARGE = "m5.2xlarge" + M5_4XLARGE = "m5.4xlarge" + M5_8XLARGE = "m5.8xlarge" + M5_12XLARGE = "m5.12xlarge" + M5_16XLARGE = "m5.16xlarge" + M5_24XLARGE = "m5.24xlarge" + M5_METAL = "m5.metal" + M5A_LARGE = "m5a.large" + M5A_XLARGE = "m5a.xlarge" + M5A_2XLARGE = "m5a.2xlarge" + M5A_4XLARGE = "m5a.4xlarge" + M5A_8XLARGE = "m5a.8xlarge" + M5A_12XLARGE = "m5a.12xlarge" + M5A_16XLARGE = "m5a.16xlarge" + M5A_24XLARGE = "m5a.24xlarge" + M5AD_LARGE = "m5ad.large" + M5AD_XLARGE = "m5ad.xlarge" + M5AD_2XLARGE = "m5ad.2xlarge" + M5AD_4XLARGE = "m5ad.4xlarge" + M5AD_8XLARGE = "m5ad.8xlarge" + M5AD_12XLARGE = "m5ad.12xlarge" + M5AD_16XLARGE = "m5ad.16xlarge" + M5AD_24XLARGE = "m5ad.24xlarge" + M5D_LARGE = "m5d.large" + M5D_XLARGE = "m5d.xlarge" + M5D_2XLARGE = "m5d.2xlarge" + M5D_4XLARGE = "m5d.4xlarge" + M5D_8XLARGE = "m5d.8xlarge" + M5D_12XLARGE = "m5d.12xlarge" + M5D_16XLARGE = "m5d.16xlarge" + M5D_24XLARGE = "m5d.24xlarge" + M5D_METAL = "m5d.metal" + M5DN_LARGE = "m5dn.large" + M5DN_XLARGE = "m5dn.xlarge" + M5DN_2XLARGE = "m5dn.2xlarge" + M5DN_4XLARGE = "m5dn.4xlarge" + M5DN_8XLARGE = "m5dn.8xlarge" + M5DN_12XLARGE = "m5dn.12xlarge" + M5DN_16XLARGE = "m5dn.16xlarge" + M5DN_24XLARGE = "m5dn.24xlarge" + M5DN_METAL = "m5dn.metal" + M5N_LARGE = "m5n.large" + M5N_XLARGE = "m5n.xlarge" + M5N_2XLARGE = "m5n.2xlarge" + M5N_4XLARGE = "m5n.4xlarge" + M5N_8XLARGE = "m5n.8xlarge" + M5N_12XLARGE = "m5n.12xlarge" + M5N_16XLARGE = "m5n.16xlarge" + M5N_24XLARGE = "m5n.24xlarge" + M5N_METAL = "m5n.metal" + M5ZN_LARGE = "m5zn.large" + M5ZN_XLARGE = "m5zn.xlarge" + M5ZN_2XLARGE = "m5zn.2xlarge" + M5ZN_3XLARGE = "m5zn.3xlarge" + M5ZN_6XLARGE = "m5zn.6xlarge" + M5ZN_12XLARGE = "m5zn.12xlarge" + M5ZN_METAL = "m5zn.metal" + M6A_LARGE = "m6a.large" + M6A_XLARGE = "m6a.xlarge" + M6A_2XLARGE = "m6a.2xlarge" + M6A_4XLARGE = "m6a.4xlarge" + M6A_8XLARGE = "m6a.8xlarge" + M6A_12XLARGE = "m6a.12xlarge" + M6A_16XLARGE = "m6a.16xlarge" + M6A_24XLARGE = "m6a.24xlarge" + M6A_32XLARGE = "m6a.32xlarge" + M6A_48XLARGE = "m6a.48xlarge" + M6G_METAL = "m6g.metal" + M6G_MEDIUM = "m6g.medium" + M6G_LARGE = "m6g.large" + M6G_XLARGE = "m6g.xlarge" + M6G_2XLARGE = "m6g.2xlarge" + M6G_4XLARGE = "m6g.4xlarge" + M6G_8XLARGE = "m6g.8xlarge" + M6G_12XLARGE = "m6g.12xlarge" + M6G_16XLARGE = "m6g.16xlarge" + M6GD_METAL = "m6gd.metal" + M6GD_MEDIUM = "m6gd.medium" + M6GD_LARGE = "m6gd.large" + M6GD_XLARGE = "m6gd.xlarge" + M6GD_2XLARGE = "m6gd.2xlarge" + M6GD_4XLARGE = "m6gd.4xlarge" + M6GD_8XLARGE = "m6gd.8xlarge" + M6GD_12XLARGE = "m6gd.12xlarge" + M6GD_16XLARGE = "m6gd.16xlarge" + M6I_LARGE = "m6i.large" + M6I_XLARGE = "m6i.xlarge" + M6I_2XLARGE = "m6i.2xlarge" + M6I_4XLARGE = "m6i.4xlarge" + M6I_8XLARGE = "m6i.8xlarge" + M6I_12XLARGE = "m6i.12xlarge" + M6I_16XLARGE = "m6i.16xlarge" + M6I_24XLARGE = "m6i.24xlarge" + M6I_32XLARGE = "m6i.32xlarge" + M6I_METAL = "m6i.metal" + MAC1_METAL = "mac1.metal" + P2_XLARGE = "p2.xlarge" + P2_8XLARGE = "p2.8xlarge" + P2_16XLARGE = "p2.16xlarge" + P3_2XLARGE = "p3.2xlarge" + P3_8XLARGE = "p3.8xlarge" + P3_16XLARGE = "p3.16xlarge" + P3DN_24XLARGE = "p3dn.24xlarge" + P4D_24XLARGE = "p4d.24xlarge" + R3_LARGE = "r3.large" + R3_XLARGE = "r3.xlarge" + R3_2XLARGE = "r3.2xlarge" + R3_4XLARGE = "r3.4xlarge" + R3_8XLARGE = "r3.8xlarge" + R4_LARGE = "r4.large" + R4_XLARGE = "r4.xlarge" + R4_2XLARGE = "r4.2xlarge" + R4_4XLARGE = "r4.4xlarge" + R4_8XLARGE = "r4.8xlarge" + R4_16XLARGE = "r4.16xlarge" + R5_LARGE = "r5.large" + R5_XLARGE = "r5.xlarge" + R5_2XLARGE = "r5.2xlarge" + R5_4XLARGE = "r5.4xlarge" + R5_8XLARGE = "r5.8xlarge" + R5_12XLARGE = "r5.12xlarge" + R5_16XLARGE = "r5.16xlarge" + R5_24XLARGE = "r5.24xlarge" + R5_METAL = "r5.metal" + R5A_LARGE = "r5a.large" + R5A_XLARGE = "r5a.xlarge" + R5A_2XLARGE = "r5a.2xlarge" + R5A_4XLARGE = "r5a.4xlarge" + R5A_8XLARGE = "r5a.8xlarge" + R5A_12XLARGE = "r5a.12xlarge" + R5A_16XLARGE = "r5a.16xlarge" + R5A_24XLARGE = "r5a.24xlarge" + R5AD_LARGE = "r5ad.large" + R5AD_XLARGE = "r5ad.xlarge" + R5AD_2XLARGE = "r5ad.2xlarge" + R5AD_4XLARGE = "r5ad.4xlarge" + R5AD_8XLARGE = "r5ad.8xlarge" + R5AD_12XLARGE = "r5ad.12xlarge" + R5AD_16XLARGE = "r5ad.16xlarge" + R5AD_24XLARGE = "r5ad.24xlarge" + R5B_LARGE = "r5b.large" + R5B_XLARGE = "r5b.xlarge" + R5B_2XLARGE = "r5b.2xlarge" + R5B_4XLARGE = "r5b.4xlarge" + R5B_8XLARGE = "r5b.8xlarge" + R5B_12XLARGE = "r5b.12xlarge" + R5B_16XLARGE = "r5b.16xlarge" + R5B_24XLARGE = "r5b.24xlarge" + R5B_METAL = "r5b.metal" + R5D_LARGE = "r5d.large" + R5D_XLARGE = "r5d.xlarge" + R5D_2XLARGE = "r5d.2xlarge" + R5D_4XLARGE = "r5d.4xlarge" + R5D_8XLARGE = "r5d.8xlarge" + R5D_12XLARGE = "r5d.12xlarge" + R5D_16XLARGE = "r5d.16xlarge" + R5D_24XLARGE = "r5d.24xlarge" + R5D_METAL = "r5d.metal" + R5DN_LARGE = "r5dn.large" + R5DN_XLARGE = "r5dn.xlarge" + R5DN_2XLARGE = "r5dn.2xlarge" + R5DN_4XLARGE = "r5dn.4xlarge" + R5DN_8XLARGE = "r5dn.8xlarge" + R5DN_12XLARGE = "r5dn.12xlarge" + R5DN_16XLARGE = "r5dn.16xlarge" + R5DN_24XLARGE = "r5dn.24xlarge" + R5DN_METAL = "r5dn.metal" + R5N_LARGE = "r5n.large" + R5N_XLARGE = "r5n.xlarge" + R5N_2XLARGE = "r5n.2xlarge" + R5N_4XLARGE = "r5n.4xlarge" + R5N_8XLARGE = "r5n.8xlarge" + R5N_12XLARGE = "r5n.12xlarge" + R5N_16XLARGE = "r5n.16xlarge" + R5N_24XLARGE = "r5n.24xlarge" + R5N_METAL = "r5n.metal" + R6G_MEDIUM = "r6g.medium" + R6G_LARGE = "r6g.large" + R6G_XLARGE = "r6g.xlarge" + R6G_2XLARGE = "r6g.2xlarge" + R6G_4XLARGE = "r6g.4xlarge" + R6G_8XLARGE = "r6g.8xlarge" + R6G_12XLARGE = "r6g.12xlarge" + R6G_16XLARGE = "r6g.16xlarge" + R6G_METAL = "r6g.metal" + R6GD_MEDIUM = "r6gd.medium" + R6GD_LARGE = "r6gd.large" + R6GD_XLARGE = "r6gd.xlarge" + R6GD_2XLARGE = "r6gd.2xlarge" + R6GD_4XLARGE = "r6gd.4xlarge" + R6GD_8XLARGE = "r6gd.8xlarge" + R6GD_12XLARGE = "r6gd.12xlarge" + R6GD_16XLARGE = "r6gd.16xlarge" + R6GD_METAL = "r6gd.metal" + R6I_LARGE = "r6i.large" + R6I_XLARGE = "r6i.xlarge" + R6I_2XLARGE = "r6i.2xlarge" + R6I_4XLARGE = "r6i.4xlarge" + R6I_8XLARGE = "r6i.8xlarge" + R6I_12XLARGE = "r6i.12xlarge" + R6I_16XLARGE = "r6i.16xlarge" + R6I_24XLARGE = "r6i.24xlarge" + R6I_32XLARGE = "r6i.32xlarge" + R6I_METAL = "r6i.metal" + T1_MICRO = "t1.micro" + T2_NANO = "t2.nano" + T2_MICRO = "t2.micro" + T2_SMALL = "t2.small" + T2_MEDIUM = "t2.medium" + T2_LARGE = "t2.large" + T2_XLARGE = "t2.xlarge" + T2_2XLARGE = "t2.2xlarge" + T3_NANO = "t3.nano" + T3_MICRO = "t3.micro" + T3_SMALL = "t3.small" + T3_MEDIUM = "t3.medium" + T3_LARGE = "t3.large" + T3_XLARGE = "t3.xlarge" + T3_2XLARGE = "t3.2xlarge" + T3A_NANO = "t3a.nano" + T3A_MICRO = "t3a.micro" + T3A_SMALL = "t3a.small" + T3A_MEDIUM = "t3a.medium" + T3A_LARGE = "t3a.large" + T3A_XLARGE = "t3a.xlarge" + T3A_2XLARGE = "t3a.2xlarge" + T4G_NANO = "t4g.nano" + T4G_MICRO = "t4g.micro" + T4G_SMALL = "t4g.small" + T4G_MEDIUM = "t4g.medium" + T4G_LARGE = "t4g.large" + T4G_XLARGE = "t4g.xlarge" + T4G_2XLARGE = "t4g.2xlarge" + U_6TB1_56XLARGE = "u-6tb1.56xlarge" + U_6TB1_112XLARGE = "u-6tb1.112xlarge" + U_9TB1_112XLARGE = "u-9tb1.112xlarge" + U_12TB1_112XLARGE = "u-12tb1.112xlarge" + U_6TB1_METAL = "u-6tb1.metal" + U_9TB1_METAL = "u-9tb1.metal" + U_12TB1_METAL = "u-12tb1.metal" + U_18TB1_METAL = "u-18tb1.metal" + U_24TB1_METAL = "u-24tb1.metal" + VT1_3XLARGE = "vt1.3xlarge" + VT1_6XLARGE = "vt1.6xlarge" + VT1_24XLARGE = "vt1.24xlarge" + X1_16XLARGE = "x1.16xlarge" + X1_32XLARGE = "x1.32xlarge" + X1E_XLARGE = "x1e.xlarge" + X1E_2XLARGE = "x1e.2xlarge" + X1E_4XLARGE = "x1e.4xlarge" + X1E_8XLARGE = "x1e.8xlarge" + X1E_16XLARGE = "x1e.16xlarge" + X1E_32XLARGE = "x1e.32xlarge" + X2IEZN_2XLARGE = "x2iezn.2xlarge" + X2IEZN_4XLARGE = "x2iezn.4xlarge" + X2IEZN_6XLARGE = "x2iezn.6xlarge" + X2IEZN_8XLARGE = "x2iezn.8xlarge" + X2IEZN_12XLARGE = "x2iezn.12xlarge" + X2IEZN_METAL = "x2iezn.metal" + X2GD_MEDIUM = "x2gd.medium" + X2GD_LARGE = "x2gd.large" + X2GD_XLARGE = "x2gd.xlarge" + X2GD_2XLARGE = "x2gd.2xlarge" + X2GD_4XLARGE = "x2gd.4xlarge" + X2GD_8XLARGE = "x2gd.8xlarge" + X2GD_12XLARGE = "x2gd.12xlarge" + X2GD_16XLARGE = "x2gd.16xlarge" + X2GD_METAL = "x2gd.metal" + Z1D_LARGE = "z1d.large" + Z1D_XLARGE = "z1d.xlarge" + Z1D_2XLARGE = "z1d.2xlarge" + Z1D_3XLARGE = "z1d.3xlarge" + Z1D_6XLARGE = "z1d.6xlarge" + Z1D_12XLARGE = "z1d.12xlarge" + Z1D_METAL = "z1d.metal" + X2IDN_16XLARGE = "x2idn.16xlarge" + X2IDN_24XLARGE = "x2idn.24xlarge" + X2IDN_32XLARGE = "x2idn.32xlarge" + X2IEDN_XLARGE = "x2iedn.xlarge" + X2IEDN_2XLARGE = "x2iedn.2xlarge" + X2IEDN_4XLARGE = "x2iedn.4xlarge" + X2IEDN_8XLARGE = "x2iedn.8xlarge" + X2IEDN_16XLARGE = "x2iedn.16xlarge" + X2IEDN_24XLARGE = "x2iedn.24xlarge" + X2IEDN_32XLARGE = "x2iedn.32xlarge" + C6A_LARGE = "c6a.large" + C6A_XLARGE = "c6a.xlarge" + C6A_2XLARGE = "c6a.2xlarge" + C6A_4XLARGE = "c6a.4xlarge" + C6A_8XLARGE = "c6a.8xlarge" + C6A_12XLARGE = "c6a.12xlarge" + C6A_16XLARGE = "c6a.16xlarge" + C6A_24XLARGE = "c6a.24xlarge" + C6A_32XLARGE = "c6a.32xlarge" + C6A_48XLARGE = "c6a.48xlarge" + C6A_METAL = "c6a.metal" + M6A_METAL = "m6a.metal" + I4I_LARGE = "i4i.large" + I4I_XLARGE = "i4i.xlarge" + I4I_2XLARGE = "i4i.2xlarge" + I4I_4XLARGE = "i4i.4xlarge" + I4I_8XLARGE = "i4i.8xlarge" + I4I_16XLARGE = "i4i.16xlarge" + I4I_32XLARGE = "i4i.32xlarge" + I4I_METAL = "i4i.metal" + X2IDN_METAL = "x2idn.metal" + X2IEDN_METAL = "x2iedn.metal" + C7G_MEDIUM = "c7g.medium" + C7G_LARGE = "c7g.large" + C7G_XLARGE = "c7g.xlarge" + C7G_2XLARGE = "c7g.2xlarge" + C7G_4XLARGE = "c7g.4xlarge" + C7G_8XLARGE = "c7g.8xlarge" + C7G_12XLARGE = "c7g.12xlarge" + C7G_16XLARGE = "c7g.16xlarge" + MAC2_METAL = "mac2.metal" + C6ID_LARGE = "c6id.large" + C6ID_XLARGE = "c6id.xlarge" + C6ID_2XLARGE = "c6id.2xlarge" + C6ID_4XLARGE = "c6id.4xlarge" + C6ID_8XLARGE = "c6id.8xlarge" + C6ID_12XLARGE = "c6id.12xlarge" + C6ID_16XLARGE = "c6id.16xlarge" + C6ID_24XLARGE = "c6id.24xlarge" + C6ID_32XLARGE = "c6id.32xlarge" + C6ID_METAL = "c6id.metal" + M6ID_LARGE = "m6id.large" + M6ID_XLARGE = "m6id.xlarge" + M6ID_2XLARGE = "m6id.2xlarge" + M6ID_4XLARGE = "m6id.4xlarge" + M6ID_8XLARGE = "m6id.8xlarge" + M6ID_12XLARGE = "m6id.12xlarge" + M6ID_16XLARGE = "m6id.16xlarge" + M6ID_24XLARGE = "m6id.24xlarge" + M6ID_32XLARGE = "m6id.32xlarge" + M6ID_METAL = "m6id.metal" + R6ID_LARGE = "r6id.large" + R6ID_XLARGE = "r6id.xlarge" + R6ID_2XLARGE = "r6id.2xlarge" + R6ID_4XLARGE = "r6id.4xlarge" + R6ID_8XLARGE = "r6id.8xlarge" + R6ID_12XLARGE = "r6id.12xlarge" + R6ID_16XLARGE = "r6id.16xlarge" + R6ID_24XLARGE = "r6id.24xlarge" + R6ID_32XLARGE = "r6id.32xlarge" + R6ID_METAL = "r6id.metal" + R6A_LARGE = "r6a.large" + R6A_XLARGE = "r6a.xlarge" + R6A_2XLARGE = "r6a.2xlarge" + R6A_4XLARGE = "r6a.4xlarge" + R6A_8XLARGE = "r6a.8xlarge" + R6A_12XLARGE = "r6a.12xlarge" + R6A_16XLARGE = "r6a.16xlarge" + R6A_24XLARGE = "r6a.24xlarge" + R6A_32XLARGE = "r6a.32xlarge" + R6A_48XLARGE = "r6a.48xlarge" + R6A_METAL = "r6a.metal" + P4DE_24XLARGE = "p4de.24xlarge" + U_3TB1_56XLARGE = "u-3tb1.56xlarge" + U_18TB1_112XLARGE = "u-18tb1.112xlarge" + U_24TB1_112XLARGE = "u-24tb1.112xlarge" + TRN1_2XLARGE = "trn1.2xlarge" + TRN1_32XLARGE = "trn1.32xlarge" + HPC6ID_32XLARGE = "hpc6id.32xlarge" + C6IN_LARGE = "c6in.large" + C6IN_XLARGE = "c6in.xlarge" + C6IN_2XLARGE = "c6in.2xlarge" + C6IN_4XLARGE = "c6in.4xlarge" + C6IN_8XLARGE = "c6in.8xlarge" + C6IN_12XLARGE = "c6in.12xlarge" + C6IN_16XLARGE = "c6in.16xlarge" + C6IN_24XLARGE = "c6in.24xlarge" + C6IN_32XLARGE = "c6in.32xlarge" + M6IN_LARGE = "m6in.large" + M6IN_XLARGE = "m6in.xlarge" + M6IN_2XLARGE = "m6in.2xlarge" + M6IN_4XLARGE = "m6in.4xlarge" + M6IN_8XLARGE = "m6in.8xlarge" + M6IN_12XLARGE = "m6in.12xlarge" + M6IN_16XLARGE = "m6in.16xlarge" + M6IN_24XLARGE = "m6in.24xlarge" + M6IN_32XLARGE = "m6in.32xlarge" + M6IDN_LARGE = "m6idn.large" + M6IDN_XLARGE = "m6idn.xlarge" + M6IDN_2XLARGE = "m6idn.2xlarge" + M6IDN_4XLARGE = "m6idn.4xlarge" + M6IDN_8XLARGE = "m6idn.8xlarge" + M6IDN_12XLARGE = "m6idn.12xlarge" + M6IDN_16XLARGE = "m6idn.16xlarge" + M6IDN_24XLARGE = "m6idn.24xlarge" + M6IDN_32XLARGE = "m6idn.32xlarge" + R6IN_LARGE = "r6in.large" + R6IN_XLARGE = "r6in.xlarge" + R6IN_2XLARGE = "r6in.2xlarge" + R6IN_4XLARGE = "r6in.4xlarge" + R6IN_8XLARGE = "r6in.8xlarge" + R6IN_12XLARGE = "r6in.12xlarge" + R6IN_16XLARGE = "r6in.16xlarge" + R6IN_24XLARGE = "r6in.24xlarge" + R6IN_32XLARGE = "r6in.32xlarge" + R6IDN_LARGE = "r6idn.large" + R6IDN_XLARGE = "r6idn.xlarge" + R6IDN_2XLARGE = "r6idn.2xlarge" + R6IDN_4XLARGE = "r6idn.4xlarge" + R6IDN_8XLARGE = "r6idn.8xlarge" + R6IDN_12XLARGE = "r6idn.12xlarge" + R6IDN_16XLARGE = "r6idn.16xlarge" + R6IDN_24XLARGE = "r6idn.24xlarge" + R6IDN_32XLARGE = "r6idn.32xlarge" + C7G_METAL = "c7g.metal" + M7G_MEDIUM = "m7g.medium" + M7G_LARGE = "m7g.large" + M7G_XLARGE = "m7g.xlarge" + M7G_2XLARGE = "m7g.2xlarge" + M7G_4XLARGE = "m7g.4xlarge" + M7G_8XLARGE = "m7g.8xlarge" + M7G_12XLARGE = "m7g.12xlarge" + M7G_16XLARGE = "m7g.16xlarge" + M7G_METAL = "m7g.metal" + R7G_MEDIUM = "r7g.medium" + R7G_LARGE = "r7g.large" + R7G_XLARGE = "r7g.xlarge" + R7G_2XLARGE = "r7g.2xlarge" + R7G_4XLARGE = "r7g.4xlarge" + R7G_8XLARGE = "r7g.8xlarge" + R7G_12XLARGE = "r7g.12xlarge" + R7G_16XLARGE = "r7g.16xlarge" + R7G_METAL = "r7g.metal" + C6IN_METAL = "c6in.metal" + M6IN_METAL = "m6in.metal" + M6IDN_METAL = "m6idn.metal" + R6IN_METAL = "r6in.metal" + R6IDN_METAL = "r6idn.metal" + INF2_XLARGE = "inf2.xlarge" + INF2_8XLARGE = "inf2.8xlarge" + INF2_24XLARGE = "inf2.24xlarge" + INF2_48XLARGE = "inf2.48xlarge" + TRN1N_32XLARGE = "trn1n.32xlarge" + I4G_LARGE = "i4g.large" + I4G_XLARGE = "i4g.xlarge" + I4G_2XLARGE = "i4g.2xlarge" + I4G_4XLARGE = "i4g.4xlarge" + I4G_8XLARGE = "i4g.8xlarge" + I4G_16XLARGE = "i4g.16xlarge" + HPC7G_4XLARGE = "hpc7g.4xlarge" + HPC7G_8XLARGE = "hpc7g.8xlarge" + HPC7G_16XLARGE = "hpc7g.16xlarge" + C7GN_MEDIUM = "c7gn.medium" + C7GN_LARGE = "c7gn.large" + C7GN_XLARGE = "c7gn.xlarge" + C7GN_2XLARGE = "c7gn.2xlarge" + C7GN_4XLARGE = "c7gn.4xlarge" + C7GN_8XLARGE = "c7gn.8xlarge" + C7GN_12XLARGE = "c7gn.12xlarge" + C7GN_16XLARGE = "c7gn.16xlarge" + P5_48XLARGE = "p5.48xlarge" + M7I_LARGE = "m7i.large" + M7I_XLARGE = "m7i.xlarge" + M7I_2XLARGE = "m7i.2xlarge" + M7I_4XLARGE = "m7i.4xlarge" + M7I_8XLARGE = "m7i.8xlarge" + M7I_12XLARGE = "m7i.12xlarge" + M7I_16XLARGE = "m7i.16xlarge" + M7I_24XLARGE = "m7i.24xlarge" + M7I_48XLARGE = "m7i.48xlarge" + M7I_FLEX_LARGE = "m7i-flex.large" + M7I_FLEX_XLARGE = "m7i-flex.xlarge" + M7I_FLEX_2XLARGE = "m7i-flex.2xlarge" + M7I_FLEX_4XLARGE = "m7i-flex.4xlarge" + M7I_FLEX_8XLARGE = "m7i-flex.8xlarge" + M7A_MEDIUM = "m7a.medium" + M7A_LARGE = "m7a.large" + M7A_XLARGE = "m7a.xlarge" + M7A_2XLARGE = "m7a.2xlarge" + M7A_4XLARGE = "m7a.4xlarge" + M7A_8XLARGE = "m7a.8xlarge" + M7A_12XLARGE = "m7a.12xlarge" + M7A_16XLARGE = "m7a.16xlarge" + M7A_24XLARGE = "m7a.24xlarge" + M7A_32XLARGE = "m7a.32xlarge" + M7A_48XLARGE = "m7a.48xlarge" + M7A_METAL_48XL = "m7a.metal-48xl" + HPC7A_12XLARGE = "hpc7a.12xlarge" + HPC7A_24XLARGE = "hpc7a.24xlarge" + HPC7A_48XLARGE = "hpc7a.48xlarge" + HPC7A_96XLARGE = "hpc7a.96xlarge" + C7GD_MEDIUM = "c7gd.medium" + C7GD_LARGE = "c7gd.large" + C7GD_XLARGE = "c7gd.xlarge" + C7GD_2XLARGE = "c7gd.2xlarge" + C7GD_4XLARGE = "c7gd.4xlarge" + C7GD_8XLARGE = "c7gd.8xlarge" + C7GD_12XLARGE = "c7gd.12xlarge" + C7GD_16XLARGE = "c7gd.16xlarge" + M7GD_MEDIUM = "m7gd.medium" + M7GD_LARGE = "m7gd.large" + M7GD_XLARGE = "m7gd.xlarge" + M7GD_2XLARGE = "m7gd.2xlarge" + M7GD_4XLARGE = "m7gd.4xlarge" + M7GD_8XLARGE = "m7gd.8xlarge" + M7GD_12XLARGE = "m7gd.12xlarge" + M7GD_16XLARGE = "m7gd.16xlarge" + R7GD_MEDIUM = "r7gd.medium" + R7GD_LARGE = "r7gd.large" + R7GD_XLARGE = "r7gd.xlarge" + R7GD_2XLARGE = "r7gd.2xlarge" + R7GD_4XLARGE = "r7gd.4xlarge" + R7GD_8XLARGE = "r7gd.8xlarge" + R7GD_12XLARGE = "r7gd.12xlarge" + R7GD_16XLARGE = "r7gd.16xlarge" + R7A_MEDIUM = "r7a.medium" + R7A_LARGE = "r7a.large" + R7A_XLARGE = "r7a.xlarge" + R7A_2XLARGE = "r7a.2xlarge" + R7A_4XLARGE = "r7a.4xlarge" + R7A_8XLARGE = "r7a.8xlarge" + R7A_12XLARGE = "r7a.12xlarge" + R7A_16XLARGE = "r7a.16xlarge" + R7A_24XLARGE = "r7a.24xlarge" + R7A_32XLARGE = "r7a.32xlarge" + R7A_48XLARGE = "r7a.48xlarge" + C7I_LARGE = "c7i.large" + C7I_XLARGE = "c7i.xlarge" + C7I_2XLARGE = "c7i.2xlarge" + C7I_4XLARGE = "c7i.4xlarge" + C7I_8XLARGE = "c7i.8xlarge" + C7I_12XLARGE = "c7i.12xlarge" + C7I_16XLARGE = "c7i.16xlarge" + C7I_24XLARGE = "c7i.24xlarge" + C7I_48XLARGE = "c7i.48xlarge" + MAC2_M2PRO_METAL = "mac2-m2pro.metal" + R7IZ_LARGE = "r7iz.large" + R7IZ_XLARGE = "r7iz.xlarge" + R7IZ_2XLARGE = "r7iz.2xlarge" + R7IZ_4XLARGE = "r7iz.4xlarge" + R7IZ_8XLARGE = "r7iz.8xlarge" + R7IZ_12XLARGE = "r7iz.12xlarge" + R7IZ_16XLARGE = "r7iz.16xlarge" + R7IZ_32XLARGE = "r7iz.32xlarge" + C7A_MEDIUM = "c7a.medium" + C7A_LARGE = "c7a.large" + C7A_XLARGE = "c7a.xlarge" + C7A_2XLARGE = "c7a.2xlarge" + C7A_4XLARGE = "c7a.4xlarge" + C7A_8XLARGE = "c7a.8xlarge" + C7A_12XLARGE = "c7a.12xlarge" + C7A_16XLARGE = "c7a.16xlarge" + C7A_24XLARGE = "c7a.24xlarge" + C7A_32XLARGE = "c7a.32xlarge" + C7A_48XLARGE = "c7a.48xlarge" + C7A_METAL_48XL = "c7a.metal-48xl" + R7A_METAL_48XL = "r7a.metal-48xl" + R7I_LARGE = "r7i.large" + R7I_XLARGE = "r7i.xlarge" + R7I_2XLARGE = "r7i.2xlarge" + R7I_4XLARGE = "r7i.4xlarge" + R7I_8XLARGE = "r7i.8xlarge" + R7I_12XLARGE = "r7i.12xlarge" + R7I_16XLARGE = "r7i.16xlarge" + R7I_24XLARGE = "r7i.24xlarge" + R7I_48XLARGE = "r7i.48xlarge" + DL2Q_24XLARGE = "dl2q.24xlarge" + MAC2_M2_METAL = "mac2-m2.metal" + I4I_12XLARGE = "i4i.12xlarge" + I4I_24XLARGE = "i4i.24xlarge" + C7I_METAL_24XL = "c7i.metal-24xl" + C7I_METAL_48XL = "c7i.metal-48xl" + M7I_METAL_24XL = "m7i.metal-24xl" + M7I_METAL_48XL = "m7i.metal-48xl" + R7I_METAL_24XL = "r7i.metal-24xl" + R7I_METAL_48XL = "r7i.metal-48xl" + R7IZ_METAL_16XL = "r7iz.metal-16xl" + R7IZ_METAL_32XL = "r7iz.metal-32xl" + C7GD_METAL = "c7gd.metal" + M7GD_METAL = "m7gd.metal" + R7GD_METAL = "r7gd.metal" + G6_XLARGE = "g6.xlarge" + G6_2XLARGE = "g6.2xlarge" + G6_4XLARGE = "g6.4xlarge" + G6_8XLARGE = "g6.8xlarge" + G6_12XLARGE = "g6.12xlarge" + G6_16XLARGE = "g6.16xlarge" + G6_24XLARGE = "g6.24xlarge" + G6_48XLARGE = "g6.48xlarge" + GR6_4XLARGE = "gr6.4xlarge" + GR6_8XLARGE = "gr6.8xlarge" + C7I_FLEX_LARGE = "c7i-flex.large" + C7I_FLEX_XLARGE = "c7i-flex.xlarge" + C7I_FLEX_2XLARGE = "c7i-flex.2xlarge" + C7I_FLEX_4XLARGE = "c7i-flex.4xlarge" + C7I_FLEX_8XLARGE = "c7i-flex.8xlarge" + U7I_12TB_224XLARGE = "u7i-12tb.224xlarge" + U7IN_16TB_224XLARGE = "u7in-16tb.224xlarge" + U7IN_24TB_224XLARGE = "u7in-24tb.224xlarge" + U7IN_32TB_224XLARGE = "u7in-32tb.224xlarge" + U7IB_12TB_224XLARGE = "u7ib-12tb.224xlarge" + C7GN_METAL = "c7gn.metal" + R8G_MEDIUM = "r8g.medium" + R8G_LARGE = "r8g.large" + R8G_XLARGE = "r8g.xlarge" + R8G_2XLARGE = "r8g.2xlarge" + R8G_4XLARGE = "r8g.4xlarge" + R8G_8XLARGE = "r8g.8xlarge" + R8G_12XLARGE = "r8g.12xlarge" + R8G_16XLARGE = "r8g.16xlarge" + R8G_24XLARGE = "r8g.24xlarge" + R8G_48XLARGE = "r8g.48xlarge" + R8G_METAL_24XL = "r8g.metal-24xl" + R8G_METAL_48XL = "r8g.metal-48xl" + MAC2_M1ULTRA_METAL = "mac2-m1ultra.metal" + G6E_XLARGE = "g6e.xlarge" + G6E_2XLARGE = "g6e.2xlarge" + G6E_4XLARGE = "g6e.4xlarge" + G6E_8XLARGE = "g6e.8xlarge" + G6E_12XLARGE = "g6e.12xlarge" + G6E_16XLARGE = "g6e.16xlarge" + G6E_24XLARGE = "g6e.24xlarge" + G6E_48XLARGE = "g6e.48xlarge" + C8G_MEDIUM = "c8g.medium" + C8G_LARGE = "c8g.large" + C8G_XLARGE = "c8g.xlarge" + C8G_2XLARGE = "c8g.2xlarge" + C8G_4XLARGE = "c8g.4xlarge" + C8G_8XLARGE = "c8g.8xlarge" + C8G_12XLARGE = "c8g.12xlarge" + C8G_16XLARGE = "c8g.16xlarge" + C8G_24XLARGE = "c8g.24xlarge" + C8G_48XLARGE = "c8g.48xlarge" + C8G_METAL_24XL = "c8g.metal-24xl" + C8G_METAL_48XL = "c8g.metal-48xl" + M8G_MEDIUM = "m8g.medium" + M8G_LARGE = "m8g.large" + M8G_XLARGE = "m8g.xlarge" + M8G_2XLARGE = "m8g.2xlarge" + M8G_4XLARGE = "m8g.4xlarge" + M8G_8XLARGE = "m8g.8xlarge" + M8G_12XLARGE = "m8g.12xlarge" + M8G_16XLARGE = "m8g.16xlarge" + M8G_24XLARGE = "m8g.24xlarge" + M8G_48XLARGE = "m8g.48xlarge" + M8G_METAL_24XL = "m8g.metal-24xl" + M8G_METAL_48XL = "m8g.metal-48xl" + X8G_MEDIUM = "x8g.medium" + X8G_LARGE = "x8g.large" + X8G_XLARGE = "x8g.xlarge" + X8G_2XLARGE = "x8g.2xlarge" + X8G_4XLARGE = "x8g.4xlarge" + X8G_8XLARGE = "x8g.8xlarge" + X8G_12XLARGE = "x8g.12xlarge" + X8G_16XLARGE = "x8g.16xlarge" + X8G_24XLARGE = "x8g.24xlarge" + X8G_48XLARGE = "x8g.48xlarge" + X8G_METAL_24XL = "x8g.metal-24xl" + X8G_METAL_48XL = "x8g.metal-48xl" + I7IE_LARGE = "i7ie.large" + I7IE_XLARGE = "i7ie.xlarge" + I7IE_2XLARGE = "i7ie.2xlarge" + I7IE_3XLARGE = "i7ie.3xlarge" + I7IE_6XLARGE = "i7ie.6xlarge" + I7IE_12XLARGE = "i7ie.12xlarge" + I7IE_18XLARGE = "i7ie.18xlarge" + I7IE_24XLARGE = "i7ie.24xlarge" + I7IE_48XLARGE = "i7ie.48xlarge" + I8G_LARGE = "i8g.large" + I8G_XLARGE = "i8g.xlarge" + I8G_2XLARGE = "i8g.2xlarge" + I8G_4XLARGE = "i8g.4xlarge" + I8G_8XLARGE = "i8g.8xlarge" + I8G_12XLARGE = "i8g.12xlarge" + I8G_16XLARGE = "i8g.16xlarge" + I8G_24XLARGE = "i8g.24xlarge" + I8G_METAL_24XL = "i8g.metal-24xl" + U7I_6TB_112XLARGE = "u7i-6tb.112xlarge" + U7I_8TB_112XLARGE = "u7i-8tb.112xlarge" + U7INH_32TB_480XLARGE = "u7inh-32tb.480xlarge" + P5E_48XLARGE = "p5e.48xlarge" + P5EN_48XLARGE = "p5en.48xlarge" + F2_12XLARGE = "f2.12xlarge" + F2_48XLARGE = "f2.48xlarge" + TRN2_48XLARGE = "trn2.48xlarge" + C7I_FLEX_12XLARGE = "c7i-flex.12xlarge" + C7I_FLEX_16XLARGE = "c7i-flex.16xlarge" + M7I_FLEX_12XLARGE = "m7i-flex.12xlarge" + M7I_FLEX_16XLARGE = "m7i-flex.16xlarge" + I7IE_METAL_24XL = "i7ie.metal-24xl" + I7IE_METAL_48XL = "i7ie.metal-48xl" + I8G_48XLARGE = "i8g.48xlarge" + C8GD_MEDIUM = "c8gd.medium" + C8GD_LARGE = "c8gd.large" + C8GD_XLARGE = "c8gd.xlarge" + C8GD_2XLARGE = "c8gd.2xlarge" + C8GD_4XLARGE = "c8gd.4xlarge" + C8GD_8XLARGE = "c8gd.8xlarge" + C8GD_12XLARGE = "c8gd.12xlarge" + C8GD_16XLARGE = "c8gd.16xlarge" + C8GD_24XLARGE = "c8gd.24xlarge" + C8GD_48XLARGE = "c8gd.48xlarge" + C8GD_METAL_24XL = "c8gd.metal-24xl" + C8GD_METAL_48XL = "c8gd.metal-48xl" + I7I_LARGE = "i7i.large" + I7I_XLARGE = "i7i.xlarge" + I7I_2XLARGE = "i7i.2xlarge" + I7I_4XLARGE = "i7i.4xlarge" + I7I_8XLARGE = "i7i.8xlarge" + I7I_12XLARGE = "i7i.12xlarge" + I7I_16XLARGE = "i7i.16xlarge" + I7I_24XLARGE = "i7i.24xlarge" + I7I_48XLARGE = "i7i.48xlarge" + I7I_METAL_24XL = "i7i.metal-24xl" + I7I_METAL_48XL = "i7i.metal-48xl" + P6_B200_48XLARGE = "p6-b200.48xlarge" + M8GD_MEDIUM = "m8gd.medium" + M8GD_LARGE = "m8gd.large" + M8GD_XLARGE = "m8gd.xlarge" + M8GD_2XLARGE = "m8gd.2xlarge" + M8GD_4XLARGE = "m8gd.4xlarge" + M8GD_8XLARGE = "m8gd.8xlarge" + M8GD_12XLARGE = "m8gd.12xlarge" + M8GD_16XLARGE = "m8gd.16xlarge" + M8GD_24XLARGE = "m8gd.24xlarge" + M8GD_48XLARGE = "m8gd.48xlarge" + M8GD_METAL_24XL = "m8gd.metal-24xl" + M8GD_METAL_48XL = "m8gd.metal-48xl" + R8GD_MEDIUM = "r8gd.medium" + R8GD_LARGE = "r8gd.large" + R8GD_XLARGE = "r8gd.xlarge" + R8GD_2XLARGE = "r8gd.2xlarge" + R8GD_4XLARGE = "r8gd.4xlarge" + R8GD_8XLARGE = "r8gd.8xlarge" + R8GD_12XLARGE = "r8gd.12xlarge" + R8GD_16XLARGE = "r8gd.16xlarge" + R8GD_24XLARGE = "r8gd.24xlarge" + R8GD_48XLARGE = "r8gd.48xlarge" + R8GD_METAL_24XL = "r8gd.metal-24xl" + R8GD_METAL_48XL = "r8gd.metal-48xl" + C8GN_MEDIUM = "c8gn.medium" + C8GN_LARGE = "c8gn.large" + C8GN_XLARGE = "c8gn.xlarge" + C8GN_2XLARGE = "c8gn.2xlarge" + C8GN_4XLARGE = "c8gn.4xlarge" + C8GN_8XLARGE = "c8gn.8xlarge" + C8GN_12XLARGE = "c8gn.12xlarge" + C8GN_16XLARGE = "c8gn.16xlarge" + C8GN_24XLARGE = "c8gn.24xlarge" + C8GN_48XLARGE = "c8gn.48xlarge" + C8GN_METAL_24XL = "c8gn.metal-24xl" + C8GN_METAL_48XL = "c8gn.metal-48xl" + F2_6XLARGE = "f2.6xlarge" + P6E_GB200_36XLARGE = "p6e-gb200.36xlarge" + G6F_LARGE = "g6f.large" + G6F_XLARGE = "g6f.xlarge" + G6F_2XLARGE = "g6f.2xlarge" + G6F_4XLARGE = "g6f.4xlarge" + GR6F_4XLARGE = "gr6f.4xlarge" + P5_4XLARGE = "p5.4xlarge" + R8I_LARGE = "r8i.large" + R8I_XLARGE = "r8i.xlarge" + R8I_2XLARGE = "r8i.2xlarge" + R8I_4XLARGE = "r8i.4xlarge" + R8I_8XLARGE = "r8i.8xlarge" + R8I_12XLARGE = "r8i.12xlarge" + R8I_16XLARGE = "r8i.16xlarge" + R8I_24XLARGE = "r8i.24xlarge" + R8I_32XLARGE = "r8i.32xlarge" + R8I_48XLARGE = "r8i.48xlarge" + R8I_96XLARGE = "r8i.96xlarge" + R8I_METAL_48XL = "r8i.metal-48xl" + R8I_METAL_96XL = "r8i.metal-96xl" + R8I_FLEX_LARGE = "r8i-flex.large" + R8I_FLEX_XLARGE = "r8i-flex.xlarge" + R8I_FLEX_2XLARGE = "r8i-flex.2xlarge" + R8I_FLEX_4XLARGE = "r8i-flex.4xlarge" + R8I_FLEX_8XLARGE = "r8i-flex.8xlarge" + R8I_FLEX_12XLARGE = "r8i-flex.12xlarge" + R8I_FLEX_16XLARGE = "r8i-flex.16xlarge" + M8I_LARGE = "m8i.large" + M8I_XLARGE = "m8i.xlarge" + M8I_2XLARGE = "m8i.2xlarge" + M8I_4XLARGE = "m8i.4xlarge" + M8I_8XLARGE = "m8i.8xlarge" + M8I_12XLARGE = "m8i.12xlarge" + M8I_16XLARGE = "m8i.16xlarge" + M8I_24XLARGE = "m8i.24xlarge" + M8I_32XLARGE = "m8i.32xlarge" + M8I_48XLARGE = "m8i.48xlarge" + M8I_96XLARGE = "m8i.96xlarge" + M8I_METAL_48XL = "m8i.metal-48xl" + M8I_METAL_96XL = "m8i.metal-96xl" + M8I_FLEX_LARGE = "m8i-flex.large" + M8I_FLEX_XLARGE = "m8i-flex.xlarge" + M8I_FLEX_2XLARGE = "m8i-flex.2xlarge" + M8I_FLEX_4XLARGE = "m8i-flex.4xlarge" + M8I_FLEX_8XLARGE = "m8i-flex.8xlarge" + M8I_FLEX_12XLARGE = "m8i-flex.12xlarge" + M8I_FLEX_16XLARGE = "m8i-flex.16xlarge" + I8GE_LARGE = "i8ge.large" + I8GE_XLARGE = "i8ge.xlarge" + I8GE_2XLARGE = "i8ge.2xlarge" + I8GE_3XLARGE = "i8ge.3xlarge" + I8GE_6XLARGE = "i8ge.6xlarge" + I8GE_12XLARGE = "i8ge.12xlarge" + I8GE_18XLARGE = "i8ge.18xlarge" + I8GE_24XLARGE = "i8ge.24xlarge" + I8GE_48XLARGE = "i8ge.48xlarge" + I8GE_METAL_24XL = "i8ge.metal-24xl" + I8GE_METAL_48XL = "i8ge.metal-48xl" + MAC_M4_METAL = "mac-m4.metal" + MAC_M4PRO_METAL = "mac-m4pro.metal" + R8GN_MEDIUM = "r8gn.medium" + R8GN_LARGE = "r8gn.large" + R8GN_XLARGE = "r8gn.xlarge" + R8GN_2XLARGE = "r8gn.2xlarge" + R8GN_4XLARGE = "r8gn.4xlarge" + R8GN_8XLARGE = "r8gn.8xlarge" + R8GN_12XLARGE = "r8gn.12xlarge" + R8GN_16XLARGE = "r8gn.16xlarge" + R8GN_24XLARGE = "r8gn.24xlarge" + R8GN_48XLARGE = "r8gn.48xlarge" + R8GN_METAL_24XL = "r8gn.metal-24xl" + R8GN_METAL_48XL = "r8gn.metal-48xl" + C8I_LARGE = "c8i.large" + C8I_XLARGE = "c8i.xlarge" + C8I_2XLARGE = "c8i.2xlarge" + C8I_4XLARGE = "c8i.4xlarge" + C8I_8XLARGE = "c8i.8xlarge" + C8I_12XLARGE = "c8i.12xlarge" + C8I_16XLARGE = "c8i.16xlarge" + C8I_24XLARGE = "c8i.24xlarge" + C8I_32XLARGE = "c8i.32xlarge" + C8I_48XLARGE = "c8i.48xlarge" + C8I_96XLARGE = "c8i.96xlarge" + C8I_METAL_48XL = "c8i.metal-48xl" + C8I_METAL_96XL = "c8i.metal-96xl" + C8I_FLEX_LARGE = "c8i-flex.large" + C8I_FLEX_XLARGE = "c8i-flex.xlarge" + C8I_FLEX_2XLARGE = "c8i-flex.2xlarge" + C8I_FLEX_4XLARGE = "c8i-flex.4xlarge" + C8I_FLEX_8XLARGE = "c8i-flex.8xlarge" + C8I_FLEX_12XLARGE = "c8i-flex.12xlarge" + C8I_FLEX_16XLARGE = "c8i-flex.16xlarge" + R8GB_MEDIUM = "r8gb.medium" + R8GB_LARGE = "r8gb.large" + R8GB_XLARGE = "r8gb.xlarge" + R8GB_2XLARGE = "r8gb.2xlarge" + R8GB_4XLARGE = "r8gb.4xlarge" + R8GB_8XLARGE = "r8gb.8xlarge" + R8GB_12XLARGE = "r8gb.12xlarge" + R8GB_16XLARGE = "r8gb.16xlarge" + R8GB_24XLARGE = "r8gb.24xlarge" + R8GB_METAL_24XL = "r8gb.metal-24xl" + M8A_MEDIUM = "m8a.medium" + M8A_LARGE = "m8a.large" + M8A_XLARGE = "m8a.xlarge" + M8A_2XLARGE = "m8a.2xlarge" + M8A_4XLARGE = "m8a.4xlarge" + M8A_8XLARGE = "m8a.8xlarge" + M8A_12XLARGE = "m8a.12xlarge" + M8A_16XLARGE = "m8a.16xlarge" + M8A_24XLARGE = "m8a.24xlarge" + M8A_48XLARGE = "m8a.48xlarge" + M8A_METAL_24XL = "m8a.metal-24xl" + M8A_METAL_48XL = "m8a.metal-48xl" + TRN2_3XLARGE = "trn2.3xlarge" + R8A_MEDIUM = "r8a.medium" + R8A_LARGE = "r8a.large" + R8A_XLARGE = "r8a.xlarge" + R8A_2XLARGE = "r8a.2xlarge" + R8A_4XLARGE = "r8a.4xlarge" + R8A_8XLARGE = "r8a.8xlarge" + R8A_12XLARGE = "r8a.12xlarge" + R8A_16XLARGE = "r8a.16xlarge" + R8A_24XLARGE = "r8a.24xlarge" + R8A_48XLARGE = "r8a.48xlarge" + R8A_METAL_24XL = "r8a.metal-24xl" + R8A_METAL_48XL = "r8a.metal-48xl" + P6_B300_48XLARGE = "p6-b300.48xlarge" + C8A_MEDIUM = "c8a.medium" + C8A_LARGE = "c8a.large" + C8A_XLARGE = "c8a.xlarge" + C8A_2XLARGE = "c8a.2xlarge" + C8A_4XLARGE = "c8a.4xlarge" + C8A_8XLARGE = "c8a.8xlarge" + C8A_12XLARGE = "c8a.12xlarge" + C8A_16XLARGE = "c8a.16xlarge" + C8A_24XLARGE = "c8a.24xlarge" + C8A_48XLARGE = "c8a.48xlarge" + C8A_METAL_24XL = "c8a.metal-24xl" + C8A_METAL_48XL = "c8a.metal-48xl" + C8GB_12XLARGE = "c8gb.12xlarge" + C8GB_16XLARGE = "c8gb.16xlarge" + C8GB_24XLARGE = "c8gb.24xlarge" + C8GB_2XLARGE = "c8gb.2xlarge" + C8GB_4XLARGE = "c8gb.4xlarge" + C8GB_8XLARGE = "c8gb.8xlarge" + C8GB_LARGE = "c8gb.large" + C8GB_MEDIUM = "c8gb.medium" + C8GB_METAL_24XL = "c8gb.metal-24xl" + C8GB_XLARGE = "c8gb.xlarge" + C8GB_48XLARGE = "c8gb.48xlarge" + C8GB_METAL_48XL = "c8gb.metal-48xl" + M8GB_12XLARGE = "m8gb.12xlarge" + M8GB_16XLARGE = "m8gb.16xlarge" + M8GB_24XLARGE = "m8gb.24xlarge" + M8GB_2XLARGE = "m8gb.2xlarge" + M8GB_4XLARGE = "m8gb.4xlarge" + M8GB_8XLARGE = "m8gb.8xlarge" + M8GB_LARGE = "m8gb.large" + M8GB_MEDIUM = "m8gb.medium" + M8GB_XLARGE = "m8gb.xlarge" + M8GB_48XLARGE = "m8gb.48xlarge" + M8GB_METAL_24XL = "m8gb.metal-24xl" + M8GB_METAL_48XL = "m8gb.metal-48xl" + M8GN_12XLARGE = "m8gn.12xlarge" + M8GN_16XLARGE = "m8gn.16xlarge" + M8GN_24XLARGE = "m8gn.24xlarge" + M8GN_2XLARGE = "m8gn.2xlarge" + M8GN_48XLARGE = "m8gn.48xlarge" + M8GN_4XLARGE = "m8gn.4xlarge" + M8GN_8XLARGE = "m8gn.8xlarge" + M8GN_LARGE = "m8gn.large" + M8GN_MEDIUM = "m8gn.medium" + M8GN_XLARGE = "m8gn.xlarge" + M8GN_METAL_24XL = "m8gn.metal-24xl" + M8GN_METAL_48XL = "m8gn.metal-48xl" + X8AEDZ_12XLARGE = "x8aedz.12xlarge" + X8AEDZ_24XLARGE = "x8aedz.24xlarge" + X8AEDZ_3XLARGE = "x8aedz.3xlarge" + X8AEDZ_6XLARGE = "x8aedz.6xlarge" + X8AEDZ_LARGE = "x8aedz.large" + X8AEDZ_METAL_12XL = "x8aedz.metal-12xl" + X8AEDZ_METAL_24XL = "x8aedz.metal-24xl" + X8AEDZ_XLARGE = "x8aedz.xlarge" + M8AZN_MEDIUM = "m8azn.medium" + M8AZN_LARGE = "m8azn.large" + M8AZN_XLARGE = "m8azn.xlarge" + M8AZN_3XLARGE = "m8azn.3xlarge" + M8AZN_6XLARGE = "m8azn.6xlarge" + M8AZN_12XLARGE = "m8azn.12xlarge" + M8AZN_24XLARGE = "m8azn.24xlarge" + M8AZN_METAL_12XL = "m8azn.metal-12xl" + M8AZN_METAL_24XL = "m8azn.metal-24xl" + X8I_LARGE = "x8i.large" + X8I_XLARGE = "x8i.xlarge" + X8I_2XLARGE = "x8i.2xlarge" + X8I_4XLARGE = "x8i.4xlarge" + X8I_8XLARGE = "x8i.8xlarge" + X8I_12XLARGE = "x8i.12xlarge" + X8I_16XLARGE = "x8i.16xlarge" + X8I_24XLARGE = "x8i.24xlarge" + X8I_32XLARGE = "x8i.32xlarge" + X8I_48XLARGE = "x8i.48xlarge" + X8I_64XLARGE = "x8i.64xlarge" + X8I_96XLARGE = "x8i.96xlarge" + X8I_METAL_48XL = "x8i.metal-48xl" + X8I_METAL_96XL = "x8i.metal-96xl" + MAC_M4MAX_METAL = "mac-m4max.metal" + G7E_2XLARGE = "g7e.2xlarge" + G7E_4XLARGE = "g7e.4xlarge" + G7E_8XLARGE = "g7e.8xlarge" + G7E_12XLARGE = "g7e.12xlarge" + G7E_24XLARGE = "g7e.24xlarge" + G7E_48XLARGE = "g7e.48xlarge" + R8ID_LARGE = "r8id.large" + R8ID_XLARGE = "r8id.xlarge" + R8ID_2XLARGE = "r8id.2xlarge" + R8ID_4XLARGE = "r8id.4xlarge" + R8ID_8XLARGE = "r8id.8xlarge" + R8ID_12XLARGE = "r8id.12xlarge" + R8ID_16XLARGE = "r8id.16xlarge" + R8ID_24XLARGE = "r8id.24xlarge" + R8ID_32XLARGE = "r8id.32xlarge" + R8ID_48XLARGE = "r8id.48xlarge" + R8ID_96XLARGE = "r8id.96xlarge" + R8ID_METAL_48XL = "r8id.metal-48xl" + R8ID_METAL_96XL = "r8id.metal-96xl" + C8ID_LARGE = "c8id.large" + C8ID_XLARGE = "c8id.xlarge" + C8ID_2XLARGE = "c8id.2xlarge" + C8ID_4XLARGE = "c8id.4xlarge" + C8ID_8XLARGE = "c8id.8xlarge" + C8ID_12XLARGE = "c8id.12xlarge" + C8ID_16XLARGE = "c8id.16xlarge" + C8ID_24XLARGE = "c8id.24xlarge" + C8ID_32XLARGE = "c8id.32xlarge" + C8ID_48XLARGE = "c8id.48xlarge" + C8ID_96XLARGE = "c8id.96xlarge" + C8ID_METAL_48XL = "c8id.metal-48xl" + C8ID_METAL_96XL = "c8id.metal-96xl" + M8ID_LARGE = "m8id.large" + M8ID_XLARGE = "m8id.xlarge" + M8ID_2XLARGE = "m8id.2xlarge" + M8ID_4XLARGE = "m8id.4xlarge" + M8ID_8XLARGE = "m8id.8xlarge" + M8ID_12XLARGE = "m8id.12xlarge" + M8ID_16XLARGE = "m8id.16xlarge" + M8ID_24XLARGE = "m8id.24xlarge" + M8ID_32XLARGE = "m8id.32xlarge" + M8ID_48XLARGE = "m8id.48xlarge" + M8ID_96XLARGE = "m8id.96xlarge" + M8ID_METAL_48XL = "m8id.metal-48xl" + M8ID_METAL_96XL = "m8id.metal-96xl" + HPC8A_96XLARGE = "hpc8a.96xlarge" + C8IN_LARGE = "c8in.large" + C8IN_XLARGE = "c8in.xlarge" + C8IN_2XLARGE = "c8in.2xlarge" + C8IN_4XLARGE = "c8in.4xlarge" + C8IN_8XLARGE = "c8in.8xlarge" + C8IN_12XLARGE = "c8in.12xlarge" + C8IN_16XLARGE = "c8in.16xlarge" + C8IN_24XLARGE = "c8in.24xlarge" + C8IN_32XLARGE = "c8in.32xlarge" + C8IN_48XLARGE = "c8in.48xlarge" + C8IN_96XLARGE = "c8in.96xlarge" + C8IN_METAL_48XL = "c8in.metal-48xl" + C8IN_METAL_96XL = "c8in.metal-96xl" + C8IB_LARGE = "c8ib.large" + C8IB_XLARGE = "c8ib.xlarge" + C8IB_2XLARGE = "c8ib.2xlarge" + C8IB_4XLARGE = "c8ib.4xlarge" + C8IB_8XLARGE = "c8ib.8xlarge" + C8IB_12XLARGE = "c8ib.12xlarge" + C8IB_16XLARGE = "c8ib.16xlarge" + C8IB_24XLARGE = "c8ib.24xlarge" + C8IB_32XLARGE = "c8ib.32xlarge" + C8IB_48XLARGE = "c8ib.48xlarge" + C8IB_96XLARGE = "c8ib.96xlarge" + C8IB_METAL_48XL = "c8ib.metal-48xl" + C8IB_METAL_96XL = "c8ib.metal-96xl" + R8IN_LARGE = "r8in.large" + R8IN_XLARGE = "r8in.xlarge" + R8IN_2XLARGE = "r8in.2xlarge" + R8IN_4XLARGE = "r8in.4xlarge" + R8IN_8XLARGE = "r8in.8xlarge" + R8IN_12XLARGE = "r8in.12xlarge" + R8IN_16XLARGE = "r8in.16xlarge" + R8IN_24XLARGE = "r8in.24xlarge" + R8IN_32XLARGE = "r8in.32xlarge" + R8IN_48XLARGE = "r8in.48xlarge" + R8IN_96XLARGE = "r8in.96xlarge" + R8IB_LARGE = "r8ib.large" + R8IB_XLARGE = "r8ib.xlarge" + R8IB_2XLARGE = "r8ib.2xlarge" + R8IB_4XLARGE = "r8ib.4xlarge" + R8IB_8XLARGE = "r8ib.8xlarge" + R8IB_12XLARGE = "r8ib.12xlarge" + R8IB_16XLARGE = "r8ib.16xlarge" + R8IB_24XLARGE = "r8ib.24xlarge" + R8IB_32XLARGE = "r8ib.32xlarge" + R8IB_48XLARGE = "r8ib.48xlarge" + R8IB_96XLARGE = "r8ib.96xlarge" + M8IN_LARGE = "m8in.large" + M8IN_XLARGE = "m8in.xlarge" + M8IN_2XLARGE = "m8in.2xlarge" + M8IN_4XLARGE = "m8in.4xlarge" + M8IN_8XLARGE = "m8in.8xlarge" + M8IN_12XLARGE = "m8in.12xlarge" + M8IN_16XLARGE = "m8in.16xlarge" + M8IN_24XLARGE = "m8in.24xlarge" + M8IN_32XLARGE = "m8in.32xlarge" + M8IN_48XLARGE = "m8in.48xlarge" + M8IN_96XLARGE = "m8in.96xlarge" + M8IB_LARGE = "m8ib.large" + M8IB_XLARGE = "m8ib.xlarge" + M8IB_2XLARGE = "m8ib.2xlarge" + M8IB_4XLARGE = "m8ib.4xlarge" + M8IB_8XLARGE = "m8ib.8xlarge" + M8IB_12XLARGE = "m8ib.12xlarge" + M8IB_16XLARGE = "m8ib.16xlarge" + M8IB_24XLARGE = "m8ib.24xlarge" + M8IB_32XLARGE = "m8ib.32xlarge" + M8IB_48XLARGE = "m8ib.48xlarge" + M8IB_96XLARGE = "m8ib.96xlarge" + M8INE_LARGE = "m8ine.large" + M8INE_XLARGE = "m8ine.xlarge" + M8INE_2XLARGE = "m8ine.2xlarge" + M8INE_4XLARGE = "m8ine.4xlarge" + M8INE_8XLARGE = "m8ine.8xlarge" + M8INE_12XLARGE = "m8ine.12xlarge" + C8INE_LARGE = "c8ine.large" + C8INE_XLARGE = "c8ine.xlarge" + C8INE_2XLARGE = "c8ine.2xlarge" + C8INE_4XLARGE = "c8ine.4xlarge" + C8INE_8XLARGE = "c8ine.8xlarge" + C8INE_12XLARGE = "c8ine.12xlarge" + M8IDN_LARGE = "m8idn.large" + M8IDN_XLARGE = "m8idn.xlarge" + M8IDN_2XLARGE = "m8idn.2xlarge" + M8IDN_4XLARGE = "m8idn.4xlarge" + M8IDN_8XLARGE = "m8idn.8xlarge" + M8IDN_12XLARGE = "m8idn.12xlarge" + M8IDN_16XLARGE = "m8idn.16xlarge" + M8IDN_24XLARGE = "m8idn.24xlarge" + M8IDN_32XLARGE = "m8idn.32xlarge" + M8IDN_48XLARGE = "m8idn.48xlarge" + M8IDN_96XLARGE = "m8idn.96xlarge" + R8IDN_LARGE = "r8idn.large" + R8IDN_XLARGE = "r8idn.xlarge" + R8IDN_2XLARGE = "r8idn.2xlarge" + R8IDN_4XLARGE = "r8idn.4xlarge" + R8IDN_8XLARGE = "r8idn.8xlarge" + R8IDN_12XLARGE = "r8idn.12xlarge" + R8IDN_16XLARGE = "r8idn.16xlarge" + R8IDN_24XLARGE = "r8idn.24xlarge" + R8IDN_32XLARGE = "r8idn.32xlarge" + R8IDN_48XLARGE = "r8idn.48xlarge" + R8IDN_96XLARGE = "r8idn.96xlarge" + M8IDB_LARGE = "m8idb.large" + M8IDB_XLARGE = "m8idb.xlarge" + M8IDB_2XLARGE = "m8idb.2xlarge" + M8IDB_4XLARGE = "m8idb.4xlarge" + M8IDB_8XLARGE = "m8idb.8xlarge" + M8IDB_12XLARGE = "m8idb.12xlarge" + M8IDB_16XLARGE = "m8idb.16xlarge" + M8IDB_24XLARGE = "m8idb.24xlarge" + M8IDB_32XLARGE = "m8idb.32xlarge" + M8IDB_48XLARGE = "m8idb.48xlarge" + M8IDB_96XLARGE = "m8idb.96xlarge" + R8IDB_LARGE = "r8idb.large" + R8IDB_XLARGE = "r8idb.xlarge" + R8IDB_2XLARGE = "r8idb.2xlarge" + R8IDB_4XLARGE = "r8idb.4xlarge" + R8IDB_8XLARGE = "r8idb.8xlarge" + R8IDB_12XLARGE = "r8idb.12xlarge" + R8IDB_16XLARGE = "r8idb.16xlarge" + R8IDB_24XLARGE = "r8idb.24xlarge" + R8IDB_32XLARGE = "r8idb.32xlarge" + R8IDB_48XLARGE = "r8idb.48xlarge" + R8IDB_96XLARGE = "r8idb.96xlarge" + MAC_M3ULTRA_METAL = "mac-m3ultra.metal" + M9G_LARGE = "m9g.large" + M9G_XLARGE = "m9g.xlarge" + M9G_2XLARGE = "m9g.2xlarge" + M9G_4XLARGE = "m9g.4xlarge" + M9G_8XLARGE = "m9g.8xlarge" + M9G_12XLARGE = "m9g.12xlarge" + M9G_16XLARGE = "m9g.16xlarge" + M9G_24XLARGE = "m9g.24xlarge" + M9G_48XLARGE = "m9g.48xlarge" + M9G_METAL_24XL = "m9g.metal-24xl" + M9G_METAL_48XL = "m9g.metal-48xl" + M9GD_LARGE = "m9gd.large" + M9GD_XLARGE = "m9gd.xlarge" + M9GD_2XLARGE = "m9gd.2xlarge" + M9GD_4XLARGE = "m9gd.4xlarge" + M9GD_8XLARGE = "m9gd.8xlarge" + M9GD_12XLARGE = "m9gd.12xlarge" + M9GD_16XLARGE = "m9gd.16xlarge" + M9GD_24XLARGE = "m9gd.24xlarge" + M9GD_48XLARGE = "m9gd.48xlarge" + M9GD_METAL_24XL = "m9gd.metal-24xl" + M9GD_METAL_48XL = "m9gd.metal-48xl" + R8IN_METAL_48XL = "r8in.metal-48xl" + R8IN_METAL_96XL = "r8in.metal-96xl" + R8IB_METAL_48XL = "r8ib.metal-48xl" + R8IB_METAL_96XL = "r8ib.metal-96xl" + R8IDN_METAL_48XL = "r8idn.metal-48xl" + R8IDN_METAL_96XL = "r8idn.metal-96xl" + R8IDB_METAL_48XL = "r8idb.metal-48xl" + R8IDB_METAL_96XL = "r8idb.metal-96xl" + M8IN_METAL_48XL = "m8in.metal-48xl" + M8IN_METAL_96XL = "m8in.metal-96xl" + M8IB_METAL_48XL = "m8ib.metal-48xl" + M8IB_METAL_96XL = "m8ib.metal-96xl" + M8IDN_METAL_48XL = "m8idn.metal-48xl" + M8IDN_METAL_96XL = "m8idn.metal-96xl" + M8IDB_METAL_48XL = "m8idb.metal-48xl" + M8IDB_METAL_96XL = "m8idb.metal-96xl" + G7_2XLARGE = "g7.2xlarge" + G7_4XLARGE = "g7.4xlarge" + G7_8XLARGE = "g7.8xlarge" + G7_12XLARGE = "g7.12xlarge" + G7_24XLARGE = "g7.24xlarge" + G7_48XLARGE = "g7.48xlarge" + C9G_MEDIUM = "c9g.medium" + C9G_LARGE = "c9g.large" + C9G_XLARGE = "c9g.xlarge" + C9G_2XLARGE = "c9g.2xlarge" + C9G_4XLARGE = "c9g.4xlarge" + C9G_8XLARGE = "c9g.8xlarge" + C9G_12XLARGE = "c9g.12xlarge" + C9G_16XLARGE = "c9g.16xlarge" + C9G_24XLARGE = "c9g.24xlarge" + C9G_48XLARGE = "c9g.48xlarge" + C9G_METAL_48XL = "c9g.metal-48xl" + C9GD_MEDIUM = "c9gd.medium" + C9GD_LARGE = "c9gd.large" + C9GD_XLARGE = "c9gd.xlarge" + C9GD_2XLARGE = "c9gd.2xlarge" + C9GD_4XLARGE = "c9gd.4xlarge" + C9GD_8XLARGE = "c9gd.8xlarge" + C9GD_12XLARGE = "c9gd.12xlarge" + C9GD_16XLARGE = "c9gd.16xlarge" + C9GD_24XLARGE = "c9gd.24xlarge" + C9GD_48XLARGE = "c9gd.48xlarge" + C9GD_METAL_48XL = "c9gd.metal-48xl" + R9G_MEDIUM = "r9g.medium" + R9G_LARGE = "r9g.large" + R9G_XLARGE = "r9g.xlarge" + R9G_2XLARGE = "r9g.2xlarge" + R9G_4XLARGE = "r9g.4xlarge" + R9G_8XLARGE = "r9g.8xlarge" + R9G_12XLARGE = "r9g.12xlarge" + R9G_16XLARGE = "r9g.16xlarge" + R9G_24XLARGE = "r9g.24xlarge" + R9G_48XLARGE = "r9g.48xlarge" + R9G_METAL_48XL = "r9g.metal-48xl" + R9GD_MEDIUM = "r9gd.medium" + R9GD_LARGE = "r9gd.large" + R9GD_XLARGE = "r9gd.xlarge" + R9GD_2XLARGE = "r9gd.2xlarge" + R9GD_4XLARGE = "r9gd.4xlarge" + R9GD_8XLARGE = "r9gd.8xlarge" + R9GD_12XLARGE = "r9gd.12xlarge" + R9GD_16XLARGE = "r9gd.16xlarge" + R9GD_24XLARGE = "r9gd.24xlarge" + R9GD_48XLARGE = "r9gd.48xlarge" + R9GD_METAL_48XL = "r9gd.metal-48xl" + M9G_MEDIUM = "m9g.medium" + T8I_NANO = "t8i.nano" + T8I_MICRO = "t8i.micro" + T8I_SMALL = "t8i.small" + T8I_MEDIUM = "t8i.medium" + I8G_METAL_48XL = "i8g.metal-48xl" + R8GB_48XLARGE = "r8gb.48xlarge" + R8GB_METAL_48XL = "r8gb.metal-48xl" + M9GD_MEDIUM = "m9gd.medium" + TRN2U_48XLARGE = "trn2u.48xlarge" + +class InstanceTypeHypervisor(UnknownEnumMixin, StrEnum): + NITRO = "nitro" + XEN = "xen" + +@dataclass(kw_only=True) +class InstanceTypeInfo(_SerdeShape): + """Describes the instance type.""" + + instance_type: str | None = ... + """ + The instance type. For more information, see [Instance + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + in the *Amazon EC2 User Guide*. + """ + current_generation: bool | None = ... + """Indicates whether the instance type is current generation.""" + free_tier_eligible: bool | None = ... + """Indicates whether the instance type is eligible for the free tier.""" + supported_usage_classes: list[str] | None = ... + """ + Indicates whether the instance type is offered for spot, On-Demand, or + Capacity Blocks. + """ + supported_root_device_types: list[str] | None = ... + """The supported root device types.""" + supported_virtualization_types: list[str] | None = ... + """The supported virtualization types.""" + bare_metal: bool | None = ... + """Indicates whether the instance is a bare metal instance type.""" + hypervisor: str | None = ... + """The hypervisor for the instance type.""" + processor_info: ProcessorInfo | None = ... + """Describes the processor.""" + v_cpu_info: VCpuInfo | None = ... + """Describes the vCPU configurations for the instance type.""" + memory_info: MemoryInfo | None = ... + """Describes the memory for the instance type.""" + instance_storage_supported: bool | None = ... + """Indicates whether instance storage is supported.""" + instance_storage_info: InstanceStorageInfo | None = ... + """Describes the instance storage for the instance type.""" + ebs_info: EbsInfo | None = ... + """Describes the Amazon EBS settings for the instance type.""" + network_info: NetworkInfo | None = ... + """Describes the network settings for the instance type.""" + gpu_info: GpuInfo | None = ... + """Describes the GPU accelerator settings for the instance type.""" + fpga_info: FpgaInfo | None = ... + """Describes the FPGA accelerator settings for the instance type.""" + placement_group_info: PlacementGroupInfo | None = ... + """Describes the placement group settings for the instance type.""" + inference_accelerator_info: InferenceAcceleratorInfo | None = ... + """Describes the Inference accelerator settings for the instance type.""" + hibernation_supported: bool | None = ... + """Indicates whether On-Demand hibernation is supported.""" + burstable_performance_supported: bool | None = ... + """ + Indicates whether the instance type is a burstable performance T + instance type. For more information, see [Burstable performance + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). + """ + dedicated_hosts_supported: bool | None = ... + """Indicates whether Dedicated Hosts are supported on the instance type.""" + auto_recovery_supported: bool | None = ... + """Indicates whether Amazon CloudWatch action based recovery is supported.""" + supported_boot_modes: list[str] | None = ... + """ + The supported boot modes. For more information, see [Boot + modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + in the *Amazon EC2 User Guide*. + """ + nitro_enclaves_support: str | None = ... + """Indicates whether Nitro Enclaves is supported.""" + nitro_tpm_support: str | None = ... + """Indicates whether NitroTPM is supported.""" + nitro_tpm_info: NitroTpmInfo | None = ... + """Describes the supported NitroTPM versions for the instance type.""" + media_accelerator_info: MediaAcceleratorInfo | None = ... + """Describes the media accelerator settings for the instance type.""" + neuron_info: NeuronInfo | None = ... + """Describes the Neuron accelerator settings for the instance type.""" + phc_support: str | None = ... + """ + Indicates whether a local Precision Time Protocol (PTP) hardware clock + (PHC) is supported. + """ + reboot_migration_support: str | None = ... + """ + Indicates whether reboot migration during a user-initiated reboot is + supported for instances that have a scheduled `system-reboot` event. For + more information, see [Enable or disable reboot + migration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration) + in the *Amazon EC2 User Guide*. + """ + supported_in_region: bool | None = ... + """Indicates whether the instance type is supported in the current Region.""" + +@dataclass(kw_only=True) +class InstanceTypeInfoFromInstanceRequirements(_SerdeShape): + """The list of instance types with the specified instance attributes.""" + + instance_type: str | None = ... + """The matching instance type.""" + +@dataclass(kw_only=True) +class InstanceTypeItem(_SerdeShape): + """ + An instance type name or wildcard pattern in an instance type + specification. + """ + + instance_type: str | None = ... + """ + The instance type or wildcard pattern (for example, `t3.*` or + `m5.large`). + """ + +@dataclass(kw_only=True) +class InstanceTypeOffering(_SerdeShape): + """The instance types offered.""" + + instance_type: str | None = ... + """ + The instance type. For more information, see [Instance + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + in the *Amazon EC2 User Guide*. + """ + location_type: str | None = ... + """The location type.""" + location: str | None = ... + """ + The identifier for the location. This depends on the location type. For + example, if the location type is `region`, the location is the Region + code (for example, `us-east-2`.) + """ + +@dataclass(kw_only=True) +class InstanceTypeSpecification(_SerdeShape): + """ + Describes the instance type compatibility rules for an AMI, including + lists of supported and unsupported instance type patterns. + """ + + supported_instance_types: list[InstanceTypeItem] | None = ... + """The instance types that the AMI supports.""" + unsupported_instance_types: list[InstanceTypeItem] | None = ... + """The instance types that the AMI does not support.""" + +@dataclass(kw_only=True) +class InstanceTypeSpecificationRequest(_SerdeShape): + """ + The instance type specification for an AMI, which contains lists of + supported and unsupported instance types that define which instance + types are compatible with the AMI. + """ + + supported_instance_types: list[str] | None = ... + """ + The instance types that the AMI supports. You can specify instance type + names or use wildcard patterns (for example, `t3.*`). + + Constraints: Maximum 100 entries. Each entry must be 1-24 characters and + match the pattern `^[A-Za-z0-9_.*-]+$`. Consecutive wildcard characters + (`**`) are not allowed. Entries must be unique within each list and + across both lists; duplicate entries cause the request to fail. + """ + unsupported_instance_types: list[str] | None = ... + """ + The instance types that the AMI does not support. You can specify + instance type names or use wildcard patterns (for example, `t3.*`). + + Constraints: Maximum 100 entries. Each entry must be 1-24 characters and + match the pattern `^[A-Za-z0-9_.*-]+$`. Consecutive wildcard characters + (`**`) are not allowed. Entries must be unique within each list and + across both lists; duplicate entries cause the request to fail. + """ + +@dataclass(kw_only=True) +class InstanceUsage(_SerdeShape): + """Information about the Capacity Reservation usage.""" + + account_id: str | None = ... + """ + The ID of the Amazon Web Services account that is making use of the + Capacity Reservation. + """ + used_instance_count: int | None = ... + """ + The number of instances the Amazon Web Services account currently has in + the Capacity Reservation. + """ + +@dataclass(kw_only=True) +class IntegrateServices(_SerdeShape): + """Describes service integrations with VPC Flow logs.""" + + athena_integrations: list[AthenaIntegration] | None = ... + """Information about the integration with Amazon Athena.""" + +class InterfacePermissionType(UnknownEnumMixin, StrEnum): + INSTANCE_ATTACH = "INSTANCE-ATTACH" + EIP_ASSOCIATE = "EIP-ASSOCIATE" + +class InterfaceProtocolType(UnknownEnumMixin, StrEnum): + VLAN = "VLAN" + GRE = "GRE" + +@dataclass(kw_only=True) +class InternetGateway(_SerdeShape): + """Describes an internet gateway.""" + + attachments: list[InternetGatewayAttachment] | None = ... + """Any VPCs attached to the internet gateway.""" + internet_gateway_id: str | None = ... + """The ID of the internet gateway.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the internet + gateway. + """ + tags: list[Tag] | None = ... + """Any tags assigned to the internet gateway.""" + +@dataclass(kw_only=True) +class InternetGatewayAttachment(_SerdeShape): + """ + Describes the attachment of a VPC to an internet gateway or an + egress-only internet gateway. + """ + + state: str | None = ... + """ + The current state of the attachment. For an internet gateway, the state + is `available` when attached to a VPC; otherwise, this value is not + returned. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + +class InternetGatewayBlockMode(UnknownEnumMixin, StrEnum): + OFF = "off" + BLOCK_BIDIRECTIONAL = "block-bidirectional" + BLOCK_INGRESS = "block-ingress" + +class InternetGatewayExclusionMode(UnknownEnumMixin, StrEnum): + ALLOW_BIDIRECTIONAL = "allow-bidirectional" + ALLOW_EGRESS = "allow-egress" + +@dataclass(kw_only=True) +class InterruptibleCapacityAllocation(_SerdeShape): + """ + Represents the allocation of capacity from a source reservation to an + interruptible reservation, tracking current and target instance counts + for allocation management. + """ + + instance_count: int | None = ... + """ + The current number of instances allocated to the interruptible + reservation. + """ + target_instance_count: int | None = ... + """ + After your modify request, the requested number of instances allocated + to interruptible reservation. + """ + status: str | None = ... + """ + The current status of the allocation (updating during reclamation, + active when complete). + """ + interruptible_capacity_reservation_id: str | None = ... + """ + The ID of the interruptible Capacity Reservation created from the + allocation. + """ + interruption_type: str | None = ... + """ + The type of interruption policy applied to the interruptible + reservation. + """ + zero_size_preference: str | None = ... + """ + Specifies how Amazon EC2 handles the interruptible Capacity Reservation + when you reduce its allocation to zero instances. A value of `retain` + keeps the interruptible Capacity Reservation active at zero capacity so + that you can allocate instances to it again later. A value of `default` + cancels the interruptible Capacity Reservation and returns the capacity + to your source Capacity Reservation. + """ + +class InterruptibleCapacityReservationAllocationStatus(UnknownEnumMixin, StrEnum): + PENDING = "pending" + ACTIVE = "active" + UPDATING = "updating" + CANCELING = "canceling" + CANCELED = "canceled" + FAILED = "failed" + +@dataclass(kw_only=True) +class InterruptionInfo(_SerdeShape): + """ + Contains information about how and when instances in an interruptible + reservation can be terminated when capacity is reclaimed. + """ + + source_capacity_reservation_id: str | None = ... + """ + The ID of the source Capacity Reservation from which the interruptible + reservation was created. + """ + interruption_type: str | None = ... + """ + The interruption type that determines how instances are terminated when + capacity is reclaimed. + """ + +class InterruptionType(UnknownEnumMixin, StrEnum): + ADHOC = "adhoc" + +class IpAddressType(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + DUALSTACK = "dualstack" + IPV6 = "ipv6" + +@dataclass(kw_only=True) +class Ipam(_SerdeShape): + """ + IPAM is a VPC feature that you can use to automate your IP address + management workflows including assigning, tracking, troubleshooting, and + auditing IP addresses across Amazon Web Services Regions and accounts + throughout your Amazon Web Services Organization. For more information, + see [What is + IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + + owner_id: str | None = ... + """The Amazon Web Services account ID of the owner of the IPAM.""" + ipam_id: str | None = ... + """The ID of the IPAM.""" + ipam_arn: str | None = ... + """The Amazon Resource Name (ARN) of the IPAM.""" + ipam_region: str | None = ... + """The Amazon Web Services Region of the IPAM.""" + public_default_scope_id: str | None = ... + """The ID of the IPAM's default public scope.""" + private_default_scope_id: str | None = ... + """The ID of the IPAM's default private scope.""" + scope_count: int | None = ... + """ + The number of scopes in the IPAM. The scope quota is 5. For more + information on quotas, see [Quotas in + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + description: str | None = ... + """The description for the IPAM.""" + operating_regions: list[IpamOperatingRegion] | None = ... + """ + The operating Regions for an IPAM. Operating Regions are Amazon Web + Services Regions where the IPAM is allowed to manage IP address CIDRs. + IPAM only discovers and monitors resources in the Amazon Web Services + Regions you select as operating Regions. + + For more information about operating Regions, see [Create an + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + state: str | None = ... + """The state of the IPAM.""" + tags: list[Tag] | None = ... + """ + 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 `Owner` and + the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` + for the filter value. + """ + default_resource_discovery_id: str | None = ... + """The IPAM's default resource discovery ID.""" + default_resource_discovery_association_id: str | None = ... + """The IPAM's default resource discovery association ID.""" + resource_discovery_association_count: int | None = ... + """The IPAM's resource discovery association count.""" + state_message: str | None = ... + """The state message.""" + tier: str | None = ... + """ + IPAM is offered in a Free Tier and an Advanced Tier. For more + information about the features available in each tier and the costs + associated with the tiers, see [Amazon VPC pricing > IPAM + tab](http://aws.amazon.com/vpc/pricing/). + """ + enable_private_gua: bool | None = ... + """ + Enable this option to use your own GUA ranges as private IPv6 addresses. + This option is disabled by default. + """ + metered_account: str | None = ... + """ + A metered account is an Amazon Web Services account that is charged for + active IP addresses managed in IPAM. For more information, see [Enable + cost + distribution](https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html) + in the *Amazon VPC IPAM User Guide*. + + Possible values: + + - `ipam-owner` (default): The Amazon Web Services account which owns the + IPAM is charged for all active IP addresses managed in IPAM. + + - `resource-owner`: The Amazon Web Services account that owns the IP + address is charged for the active IP address. + """ + +@dataclass(kw_only=True) +class IpamAddressHistoryRecord(_SerdeShape): + """ + The historical record of a CIDR within an IPAM scope. For more + information, see [View the history of IP + addresses](https://docs.aws.amazon.com/vpc/latest/ipam/view-history-cidr-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + + resource_owner_id: str | None = ... + """The ID of the resource owner.""" + resource_region: str | None = ... + """The Amazon Web Services Region of the resource.""" + resource_type: str | None = ... + """The type of the resource.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_cidr: str | None = ... + """The CIDR of the resource.""" + resource_name: str | None = ... + """The name of the resource.""" + resource_compliance_status: str | None = ... + """ + The compliance status of a resource. For more information on compliance + statuses, see [Monitor CIDR usage by + resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + resource_overlap_status: str | None = ... + """ + The overlap status of an IPAM resource. The overlap status tells you if + the CIDR for a resource overlaps with another CIDR in the scope. For + more information on overlap statuses, see [Monitor CIDR usage by + resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + vpc_id: str | None = ... + """The VPC ID of the resource.""" + sampled_start_time: datetime | None = ... + """ + Sampled start time of the resource-to-CIDR association within the IPAM + scope. Changes are picked up in periodic snapshots, so the start time + may have occurred before this specific time. + """ + sampled_end_time: datetime | None = ... + """ + Sampled end time of the resource-to-CIDR association within the IPAM + scope. Changes are picked up in periodic snapshots, so the end time may + have occurred before this specific time. + """ + +class IpamAddressHistoryResourceType(UnknownEnumMixin, StrEnum): + EIP = "eip" + VPC = "vpc" + SUBNET = "subnet" + NETWORK_INTERFACE = "network-interface" + INSTANCE = "instance" + +class IpamAssociatedResourceDiscoveryStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + NOT_FOUND = "not-found" + +class IpamByoipAdvertisementType(UnknownEnumMixin, StrEnum): + """The advertisement type of a BYOIP route.""" + + REGIONAL = "regional" + GLOBAL_ = "global" + +class IpamByoipCidrState(UnknownEnumMixin, StrEnum): + """The state of a BYOIP CIDR.""" + + ADVERTISED = "advertised" + DEPROVISIONED = "deprovisioned" + FAILED_DEPROVISION = "failed-deprovision" + FAILED_PROVISION = "failed-provision" + PENDING_ADVERTISING = "pending-advertising" + PENDING_DEPROVISION = "pending-deprovision" + PENDING_PROVISION = "pending-provision" + PENDING_WITHDRAWAL = "pending-withdrawal" + PROVISIONED = "provisioned" + PROVISIONED_NOT_PUBLICLY_ADVERTISABLE = "provisioned-not-publicly-advertisable" + +@dataclass(kw_only=True) +class IpamCidrAuthorizationContext(_SerdeShape): + """ + A signed document that proves that you are authorized to bring the + specified IP address range to Amazon using BYOIP. + """ + + message: str | None = ... + """The plain-text authorization message for the prefix and account.""" + signature: str | None = ... + """The signed authorization message for the prefix and account.""" + +class IpamComplianceStatus(UnknownEnumMixin, StrEnum): + COMPLIANT = "compliant" + NONCOMPLIANT = "noncompliant" + UNMANAGED = "unmanaged" + IGNORED = "ignored" + +@dataclass(kw_only=True) +class IpamDiscoveredAccount(_SerdeShape): + """ + An IPAM discovered account. A discovered account is an Amazon Web + Services account that is monitored under a resource discovery. If you + have integrated IPAM with Amazon Web Services Organizations, all + accounts in the organization are discovered accounts. + """ + + account_id: str | None = ... + """The account ID.""" + discovery_region: str | None = ... + """ + The Amazon Web Services Region that the account information is returned + from. An account can be discovered in multiple regions and will have a + separate discovered account for each Region. + """ + failure_reason: IpamDiscoveryFailureReason | None = ... + """The resource discovery failure reason.""" + last_attempted_discovery_time: datetime | None = ... + """The last attempted resource discovery time.""" + last_successful_discovery_time: datetime | None = ... + """The last successful resource discovery time.""" + organizational_unit_id: str | None = ... + """The ID of an Organizational Unit in Amazon Web Services Organizations.""" + +@dataclass(kw_only=True) +class IpamDiscoveredPublicAddress(_SerdeShape): + """A public IP Address discovered by IPAM.""" + + ipam_resource_discovery_id: str | None = ... + """The resource discovery ID.""" + address_region: str | None = ... + """The Region of the resource the IP address is assigned to.""" + address: str | None = ... + """The IP address.""" + address_owner_id: str | None = ... + """The ID of the owner of the resource the IP address is assigned to.""" + address_allocation_id: str | None = ... + """The allocation ID of the resource the IP address is assigned to.""" + association_status: str | None = ... + """The association status.""" + address_type: str | None = ... + """The IP address type.""" + service: str | None = ... + """The Amazon Web Services service associated with the IP address.""" + service_resource: str | None = ... + """The resource ARN or ID.""" + vpc_id: str | None = ... + """The ID of the VPC that the resource with the assigned IP address is in.""" + subnet_id: str | None = ... + """ + The ID of the subnet that the resource with the assigned IP address is + in. + """ + public_ipv4_pool_id: str | None = ... + """ + The ID of the public IPv4 pool that the resource with the assigned IP + address is from. + """ + network_interface_id: str | None = ... + """The network interface ID of the resource with the assigned IP address.""" + network_interface_description: str | None = ... + """The description of the network interface that IP address is assigned to.""" + instance_id: str | None = ... + """The instance ID of the instance the assigned IP address is assigned to.""" + tags: IpamPublicAddressTags | None = ... + """Tags associated with the IP address.""" + network_border_group: str | None = ... + """ + The Availability Zone (AZ) or Local Zone (LZ) network border group that + the resource that the IP address is assigned to is in. Defaults to an AZ + network border group. For more information on available Local Zones, see + [Local Zone + availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) + in the *Amazon EC2 User Guide*. + """ + security_groups: list[IpamPublicAddressSecurityGroup] | None = ... + """ + Security groups associated with the resource that the IP address is + assigned to. + """ + sample_time: datetime | None = ... + """The last successful resource discovery time.""" + +@dataclass(kw_only=True) +class IpamDiscoveredResourceCidr(_SerdeShape): + """ + An IPAM discovered resource CIDR. A discovered resource is a resource + CIDR monitored under a resource discovery. The following resources can + be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP + addresses. The discovered resource CIDR is the IP address range in CIDR + notation that is associated with the resource. + """ + + ipam_resource_discovery_id: str | None = ... + """The resource discovery ID.""" + resource_region: str | None = ... + """The resource Region.""" + resource_id: str | None = ... + """The resource ID.""" + resource_owner_id: str | None = ... + """The resource owner ID.""" + resource_cidr: str | None = ... + """The resource CIDR.""" + ip_source: str | None = ... + """ + The source that allocated the IP address space. `byoip` or `amazon` + indicates public IP address space allocated by Amazon or space that you + have allocated with Bring your own IP (BYOIP). `none` indicates private + space. + """ + resource_type: str | None = ... + """The resource type.""" + resource_tags: list[IpamResourceTag] | None = ... + """The resource tags.""" + ip_usage: float | None = ... + """ + The percentage of IP address space in use. To convert the decimal to a + percentage, multiply the decimal by 100. Note the following: + + - For resources that are VPCs, this is the percentage of IP address + space in the VPC that's taken up by subnet CIDRs. + + - For resources that are subnets, if the subnet has an IPv4 CIDR + provisioned to it, this is the percentage of IPv4 address space in the + subnet that's in use. If the subnet has an IPv6 CIDR provisioned to + it, the percentage of IPv6 address space in use is not represented. + The percentage of IPv6 address space in use cannot currently be + calculated. + + - For resources that are public IPv4 pools, this is the percentage of IP + address space in the pool that's been allocated to Elastic IP + addresses (EIPs). + """ + vpc_id: str | None = ... + """The VPC ID.""" + subnet_id: str | None = ... + """The subnet ID.""" + network_interface_attachment_status: str | None = ... + """ + For elastic network interfaces, this is the status of whether or not the + elastic network interface is attached. + """ + sample_time: datetime | None = ... + """The last successful resource discovery time.""" + availability_zone_id: str | None = ... + """The Availability Zone ID.""" + +@dataclass(kw_only=True) +class IpamDiscoveredRoute(_SerdeShape): + """ + Contains information about a BGP route discovered by IPAM resource + discovery. + """ + + ipam_resource_discovery_id: str | None = ... + """The ID of the IPAM resource discovery that discovered the route.""" + resource_region: str | None = ... + """The Amazon Web Services Region where the route was discovered.""" + resource_owner_id: str | None = ... + """The ID of the resource owner.""" + cidr: str | None = ... + """The IP address prefix of the discovered route in CIDR notation.""" + asn: str | None = ... + """The Autonomous System Number (ASN) that originates the route.""" + state: str | None = ... + """ + The state of the BYOIP CIDR. Possible values: + + - `advertised` - The CIDR is being advertised. + + - `deprovisioned` - The CIDR has been deprovisioned. + + - `failed-deprovision` - Deprovisioning failed. + + - `failed-provision` - Provisioning failed. + + - `pending-deprovision` - Deprovisioning is in progress. + + - `pending-provision` - Provisioning is in progress. + + - `provisioned` - The CIDR is provisioned. + + - `provisioned-not-publicly-advertisable` - The CIDR is provisioned but + not publicly advertisable. + """ + advertisement_type: str | None = ... + """ + The advertisement type of the route. Possible values: + + - `regional` - The IP address is advertised from a single location + (regional services such as Amazon EC2). + + - `global` - The IP address is advertised from multiple global locations + simultaneously (global services such as Amazon CloudFront). + """ + network_border_group: str | None = ... + """The network border group for the route.""" + pool_id: str | None = ... + """The ID of the BYOIP pool associated with the route.""" + ipam_pool_id: str | None = ... + """The ID of the IPAM pool associated with the route.""" + sample_time: datetime | None = ... + """The time when the route was last sampled.""" + +class IpamDiscoveryFailureCode(UnknownEnumMixin, StrEnum): + ASSUME_ROLE_FAILURE = "assume-role-failure" + THROTTLING_FAILURE = "throttling-failure" + UNAUTHORIZED_FAILURE = "unauthorized-failure" + +@dataclass(kw_only=True) +class IpamDiscoveryFailureReason(_SerdeShape): + """The discovery failure reason.""" + + code: str | None = ... + """ + The discovery failure code. + + - `assume-role-failure` - IPAM could not assume the Amazon Web Services + IAM service-linked role. This could be because of any of the + following: + + - SLR has not been created yet and IPAM is still creating it. + + - You have opted-out of the IPAM home Region. + + - Account you are using as your IPAM account has been suspended. + + - `throttling-failure` - IPAM account is already using the allotted + transactions per second and IPAM is receiving a throttling error when + assuming the Amazon Web Services IAM SLR. + + - `unauthorized-failure` - Amazon Web Services account making the + request is not authorized. For more information, see + [AuthFailure](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html) + in the *Amazon Elastic Compute Cloud API Reference*. + """ + message: str | None = ... + """The discovery failure message.""" + +@dataclass(kw_only=True) +class IpamExternalResourceVerificationToken(_SerdeShape): + """ + A verification token is an Amazon Web Services-generated random value + that you can use to prove ownership of an external resource. For + example, you can use a verification token to validate that you control a + public IP address range when you bring an IP address range to Amazon Web + Services (BYOIP). + """ + + ipam_external_resource_verification_token_id: str | None = ... + """The ID of the token.""" + ipam_external_resource_verification_token_arn: str | None = ... + """Token ARN.""" + ipam_id: str | None = ... + """The ID of the IPAM that created the token.""" + ipam_arn: str | None = ... + """ARN of the IPAM that created the token.""" + ipam_region: str | None = ... + """Region of the IPAM that created the token.""" + token_value: str | None = ... + """Token value.""" + token_name: str | None = ... + """Token name.""" + not_after: datetime | None = ... + """Token expiration.""" + status: str | None = ... + """Token status.""" + tags: list[Tag] | None = ... + """Token tags.""" + state: str | None = ... + """Token state.""" + +class IpamExternalResourceVerificationTokenState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + +@dataclass(kw_only=True) +class IpamInternetRegistryAssociation(_SerdeShape): + """ + Contains information about an association between an IPAM and a Regional + Internet Registry (RIR) for delegated RPKI management. + """ + + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the internet + registry association. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the internet registry association.""" + ipam_internet_registry_association_arn: str | None = ... + """The Amazon Resource Name (ARN) of the internet registry association.""" + ipam_id: str | None = ... + """The ID of the associated IPAM.""" + ipam_region: str | None = ... + """The Amazon Web Services Region of the IPAM.""" + rir: str | None = ... + """ + The Regional Internet Registry. Possible values: + + - `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia). + + - `apnic` - APNIC (Asia Pacific). + + - `arin` - ARIN (North America). + + - `lacnic` - LACNIC (Latin America and the Caribbean). + """ + organization_handle: str | None = ... + """The organization handle at the internet registry.""" + description: str | None = ... + """The description of the internet registry association.""" + state: str | None = ... + """ + The state of the internet registry association. Valid values: + `pending-activation` | `pending-enable` | `create-in-progress` | + `create-failed` | `enable-in-progress` | `enable-complete` | + `enable-failed` | `delete-in-progress` | `delete-complete` | + `delete-failed`. + """ + state_message: str | None = ... + """ + A message describing the current state of the internet registry + association, including additional details such as the reason for a + failure. + """ + child_request_xml: str | None = ... + """ + The XML content for the child request to be submitted to the internet + registry to complete the BPKI setup. + """ + tags: list[Tag] | None = ... + """The tags assigned to the internet registry association.""" + +@dataclass(kw_only=True) +class IpamInternetRegistryAssociationAsn(_SerdeShape): + """ + Contains information about an Autonomous System Number (ASN) registered + at an internet registry and associated with an IPAM. + """ + + asn: str | None = ... + """The Autonomous System Number.""" + last_observed_at: datetime | None = ... + """The time when the ASN was last observed at the internet registry.""" + +@dataclass(kw_only=True) +class IpamInternetRegistryAssociationCidr(_SerdeShape): + """ + Contains information about an IP address CIDR registered at an internet + registry and associated with an IPAM. + """ + + cidr: str | None = ... + """The IP address prefix in CIDR notation.""" + last_observed_at: datetime | None = ... + """The time when the CIDR was last observed at the internet registry.""" + +class IpamInternetRegistryAssociationState(UnknownEnumMixin, StrEnum): + """The state of an IPAM internet registry association.""" + + PENDING_ENABLE = "pending-enable" + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_FAILED = "create-failed" + ENABLE_IN_PROGRESS = "enable-in-progress" + ENABLE_COMPLETE = "enable-complete" + ENABLE_FAILED = "enable-failed" + DISABLE_IN_PROGRESS = "disable-in-progress" + DISABLE_COMPLETE = "disable-complete" + DISABLE_FAILED = "disable-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + +class IpamManagementState(UnknownEnumMixin, StrEnum): + MANAGED = "managed" + UNMANAGED = "unmanaged" + IGNORED = "ignored" + +class IpamMeteredAccount(UnknownEnumMixin, StrEnum): + IPAM_OWNER = "ipam-owner" + RESOURCE_OWNER = "resource-owner" + +class IpamNetworkInterfaceAttachmentStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + IN_USE = "in-use" + +@dataclass(kw_only=True) +class IpamOperatingRegion(_SerdeShape): + """ + The operating Regions for an IPAM. Operating Regions are Amazon Web + Services Regions where the IPAM is allowed to manage IP address CIDRs. + IPAM only discovers and monitors resources in the Amazon Web Services + Regions you select as operating Regions. + + For more information about operating Regions, see [Create an + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + + region_name: str | None = ... + """The name of the operating Region.""" + +@dataclass(kw_only=True) +class IpamOrganizationalUnitExclusion(_SerdeShape): + """ + If your IPAM is integrated with Amazon Web Services Organizations and + you add an organizational unit (OU) exclusion, IPAM will not manage the + IP addresses in accounts in that OU exclusion. + """ + + organizations_entity_path: str | None = ... + """ + An Amazon Web Services Organizations entity path. For more information + on the entity path, see [Understand the Amazon Web Services + Organizations entity + path](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path) + in the *Amazon Web Services Identity and Access Management User Guide*. + """ + +class IpamOverlapStatus(UnknownEnumMixin, StrEnum): + OVERLAPPING = "overlapping" + NONOVERLAPPING = "nonoverlapping" + IGNORED = "ignored" + +@dataclass(kw_only=True) +class IpamPolicy(_SerdeShape): + """ + Information about an IPAM policy. + + An IPAM policy is a set of rules that define how public IPv4 addresses + from IPAM pools are allocated to Amazon Web Services resources. Each + rule maps an Amazon Web Services service to IPAM pools that the service + will use to get IP addresses. A single policy can have multiple rules + and be applied to multiple Amazon Web Services Regions. If the IPAM pool + run out of addresses then the services fallback to Amazon-provided IP + addresses. A policy can be applied to an individual Amazon Web Services + account or an entity within Amazon Web Services Organizations. + """ + + owner_id: str | None = ... + """The account ID that owns the IPAM policy.""" + ipam_policy_id: str | None = ... + """The ID of the IPAM policy.""" + ipam_policy_arn: str | None = ... + """The Amazon Resource Name (ARN) of the IPAM policy.""" + ipam_policy_region: str | None = ... + """The Region of the IPAM policy.""" + state: str | None = ... + """The state of the IPAM policy.""" + state_message: str | None = ... + """A message about the state of the IPAM policy.""" + tags: list[Tag] | None = ... + """The tags assigned to the IPAM policy.""" + ipam_id: str | None = ... + """The ID of the IPAM this policy belongs to.""" + +@dataclass(kw_only=True) +class IpamPolicyAllocationRule(_SerdeShape): + """ + Information about an IPAM policy allocation rule. + + Allocation rules are optional configurations within an IPAM policy that + map Amazon Web Services resource types to specific IPAM pools. If no + rules are defined, the resource types default to using Amazon-provided + IP addresses. + """ + + source_ipam_pool_id: str | None = ... + """ + The ID of the source IPAM pool for the allocation rule. + + An IPAM pool is a collection of IP addresses in IPAM that can be + allocated to Amazon Web Services resources. + """ + +@dataclass(kw_only=True) +class IpamPolicyAllocationRuleRequest(_SerdeShape): + """ + Information about a requested IPAM policy allocation rule. + + Allocation rules are optional configurations within an IPAM policy that + map Amazon Web Services resource types to specific IPAM pools. If no + rules are defined, the resource types default to using Amazon-provided + IP addresses. + """ + + source_ipam_pool_id: str | None = ... + """ + The ID of the source IPAM pool for the requested allocation rule. + + An IPAM pool is a collection of IP addresses in IPAM that can be + allocated to Amazon Web Services resources. + """ + +@dataclass(kw_only=True) +class IpamPolicyDocument(_SerdeShape): + """Information about an IPAM policy.""" + + ipam_policy_id: str | None = ... + """The ID of the IPAM policy.""" + locale: str | None = ... + """The locale of the IPAM policy document.""" + resource_type: str | None = ... + """ + The resource type of the IPAM policy document. + + The Amazon Web Services service or resource type that can use IP + addresses through IPAM policies. Supported services and resource types + include: + + - Elastic IP addresses + """ + allocation_rules: list[IpamPolicyAllocationRule] | None = ... + """ + The allocation rules in the IPAM policy document. + + Allocation rules are optional configurations within an IPAM policy that + map Amazon Web Services resource types to specific IPAM pools. If no + rules are defined, the resource types default to using Amazon-provided + IP addresses. + """ + +class IpamPolicyManagedBy(UnknownEnumMixin, StrEnum): + ACCOUNT = "account" + DELEGATED_ADMINISTRATOR_FOR_IPAM = "delegated-administrator-for-ipam" + +@dataclass(kw_only=True) +class IpamPolicyOrganizationTarget(_SerdeShape): + """The Amazon Web Services Organizations target for an IPAM policy.""" + + organization_target_id: str | None = ... + """ + The ID of the Amazon Web Services Organizations target. + + A target can be an individual Amazon Web Services account or an entity + within an Amazon Web Services Organization to which an IPAM policy can + be applied. + """ + +class IpamPolicyResourceType(UnknownEnumMixin, StrEnum): + ALB = "alb" + EIP = "eip" + RDS = "rds" + RNAT = "rnat" + +class IpamPolicyState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + MODIFY_IN_PROGRESS = "modify-in-progress" + MODIFY_COMPLETE = "modify-complete" + MODIFY_FAILED = "modify-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + ISOLATE_IN_PROGRESS = "isolate-in-progress" + ISOLATE_COMPLETE = "isolate-complete" + RESTORE_IN_PROGRESS = "restore-in-progress" + +@dataclass(kw_only=True) +class IpamPool(_SerdeShape): + """ + In IPAM, a pool is a collection of contiguous IP addresses CIDRs. Pools + enable you to organize your IP addresses according to your routing and + security needs. For example, if you have separate routing and security + needs for development and production applications, you can create a pool + for each. + """ + + owner_id: str | None = ... + """The Amazon Web Services account ID of the owner of the IPAM pool.""" + ipam_pool_id: str | None = ... + """The ID of the IPAM pool.""" + source_ipam_pool_id: str | None = ... + """ + The ID of the source IPAM pool. You can use this option to create an + IPAM pool within an existing source pool. + """ + ipam_pool_arn: str | None = ... + """The Amazon Resource Name (ARN) of the IPAM pool.""" + ipam_scope_arn: str | None = ... + """The ARN of the scope of the IPAM pool.""" + ipam_scope_type: str | None = ... + """ + In IPAM, a scope is the highest-level container within IPAM. An IPAM + contains two default scopes. Each scope represents the IP space for a + single network. The private scope is intended for all private IP address + space. The public scope is intended for all public IP address space. + Scopes enable you to reuse IP addresses across multiple unconnected + networks without causing IP address overlap or conflict. + """ + ipam_arn: str | None = ... + """The ARN of the IPAM.""" + ipam_region: str | None = ... + """The Amazon Web Services Region of the IPAM pool.""" + locale: str | None = ... + """ + The locale of the IPAM pool. + + The locale for the pool should be one of the following: + + - An Amazon Web Services Region where you want this IPAM pool to be + available for allocations. + + - The network border group for an Amazon Web Services Local Zone where + you want this IPAM pool to be available for allocations ([supported + Local + Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)). + This option is only available for IPAM IPv4 pools in the public scope. + + If you choose an Amazon Web Services Region for locale that has not been + configured as an operating Region for the IPAM, you'll get an error. + """ + pool_depth: int | None = ... + """ + The depth of pools in your IPAM pool. The pool depth quota is 10. For + more information, see [Quotas in + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + state: str | None = ... + """The state of the IPAM pool.""" + state_message: str | None = ... + """The state message.""" + description: str | None = ... + """The description of the IPAM pool.""" + auto_import: bool | None = ... + """ + If selected, IPAM will continuously look for resources within the CIDR + range of this pool and automatically import them as allocations into + your IPAM. The CIDRs that will be allocated for these resources must not + already be allocated to other resources in order for the import to + succeed. IPAM will import a CIDR regardless of its compliance with the + pool's allocation rules, so a resource might be imported and + subsequently marked as noncompliant. If IPAM discovers multiple CIDRs + that overlap, IPAM will import the largest CIDR only. If IPAM discovers + multiple CIDRs with matching CIDRs, IPAM will randomly import one of + them only. + + A locale must be set on the pool for this feature to work. + """ + publicly_advertisable: bool | None = ... + """ + Determines if a pool is publicly advertisable. This option is not + available for pools with AddressFamily set to `ipv4`. + """ + address_family: str | None = ... + """The address family of the pool.""" + allocation_min_netmask_length: int | None = ... + """ + The minimum netmask length required for CIDR allocations in this IPAM + pool to be compliant. The minimum netmask length must be less than the + maximum netmask length. Possible netmask lengths for IPv4 addresses are + 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. + """ + allocation_max_netmask_length: int | None = ... + """ + The maximum netmask length possible for CIDR allocations in this IPAM + pool to be compliant. The maximum netmask length must be greater than + the minimum netmask length. Possible netmask lengths for IPv4 addresses + are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. + """ + allocation_default_netmask_length: int | None = ... + """ + The default netmask length for allocations added to this pool. If, for + example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 + here, new allocations will default to 10.0.0.0/16. + """ + allocation_resource_tags: list[IpamResourceTag] | None = ... + """ + Tags that are required for resources that use CIDRs from this IPAM pool. + Resources that do not have these tags will not be allowed to allocate + space from the pool. If the resources have their tags changed after they + have allocated space or if the allocation tagging requirements are + changed on the pool, the resource may be marked as noncompliant. + """ + tags: list[Tag] | None = ... + """ + 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 `Owner` and + the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` + for the filter value. + """ + aws_service: str | None = ... + """ + Limits which service in Amazon Web Services that the pool can be used + in. \"ec2\", for example, allows users to use space for Elastic IP + addresses and VPCs. + """ + public_ip_source: str | None = ... + """ + The IP address source for pools in the public scope. Only used for + provisioning IP address CIDRs to pools in the public scope. Default is + `BYOIP`. For more information, see [Create IPv6 + pools](https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html) + in the *Amazon VPC IPAM User Guide*. By default, you can add only one + Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For + information on increasing the default limit, see [Quotas for your + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + source_resource: IpamPoolSourceResource | None = ... + """The resource used to provision CIDRs to a resource planning pool.""" + +@dataclass(kw_only=True) +class IpamPoolAllocation(_SerdeShape): + """ + In IPAM, an allocation is a CIDR assignment from an IPAM pool to another + IPAM pool or to a resource. + """ + + cidr: str | None = ... + """ + The CIDR for the allocation. A CIDR is a representation of an IP address + and its associated network mask (or netmask) and refers to a range of IP + addresses. An IPv4 CIDR example is `10.24.34.0/23`. An IPv6 CIDR example + is `2001:DB8::/32`. + """ + ipam_pool_allocation_id: str | None = ... + """The ID of an allocation.""" + description: str | None = ... + """A description of the pool allocation.""" + resource_id: str | None = ... + """The ID of the resource.""" + resource_type: str | None = ... + """The type of the resource.""" + resource_region: str | None = ... + """The Amazon Web Services Region of the resource.""" + resource_owner: str | None = ... + """The owner of the resource.""" + tags: list[Tag] | None = ... + """The tags for the IPAM pool allocation.""" + +class IpamPoolAllocationResourceType(UnknownEnumMixin, StrEnum): + IPAM_POOL = "ipam-pool" + VPC = "vpc" + EC2_PUBLIC_IPV4_POOL = "ec2-public-ipv4-pool" + CUSTOM = "custom" + SUBNET = "subnet" + EIP = "eip" + ANYCAST_IP_LIST = "anycast-ip-list" + +class IpamPoolAwsService(UnknownEnumMixin, StrEnum): + EC2 = "ec2" + GLOBAL_SERVICES = "global-services" + +@dataclass(kw_only=True) +class IpamPoolCidr(_SerdeShape): + """A CIDR provisioned to an IPAM pool.""" + + cidr: str | None = ... + """ + The CIDR provisioned to the IPAM pool. A CIDR is a representation of an + IP address and its associated network mask (or netmask) and refers to a + range of IP addresses. An IPv4 CIDR example is `10.24.34.0/23`. An IPv6 + CIDR example is `2001:DB8::/32`. + """ + state: str | None = ... + """The state of the CIDR.""" + failure_reason: IpamPoolCidrFailureReason | None = ... + """Details related to why an IPAM pool CIDR failed to be provisioned.""" + ipam_pool_cidr_id: str | None = ... + """The IPAM pool CIDR ID.""" + netmask_length: int | None = ... + """ + The netmask length of the CIDR you'd like to provision to a pool. Can + be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools + and for provisioning CIDRs to pools with source pools. Cannot be used to + provision BYOIP CIDRs to top-level pools. \"NetmaskLength\" or \"Cidr\" + is required. + """ + +class IpamPoolCidrFailureCode(UnknownEnumMixin, StrEnum): + CIDR_NOT_AVAILABLE = "cidr-not-available" + LIMIT_EXCEEDED = "limit-exceeded" + +@dataclass(kw_only=True) +class IpamPoolCidrFailureReason(_SerdeShape): + """Details related to why an IPAM pool CIDR failed to be provisioned.""" + + code: str | None = ... + """An error code related to why an IPAM pool CIDR failed to be provisioned.""" + message: str | None = ... + """A message related to why an IPAM pool CIDR failed to be provisioned.""" + +class IpamPoolCidrState(UnknownEnumMixin, StrEnum): + PENDING_PROVISION = "pending-provision" + PROVISIONED = "provisioned" + FAILED_PROVISION = "failed-provision" + PENDING_DEPROVISION = "pending-deprovision" + DEPROVISIONED = "deprovisioned" + FAILED_DEPROVISION = "failed-deprovision" + PENDING_IMPORT = "pending-import" + FAILED_IMPORT = "failed-import" + +class IpamPoolPublicIpSource(UnknownEnumMixin, StrEnum): + AMAZON = "amazon" + BYOIP = "byoip" + +@dataclass(kw_only=True) +class IpamPoolSourceResource(_SerdeShape): + """The resource used to provision CIDRs to a resource planning pool.""" + + resource_id: str | None = ... + """The source resource ID.""" + resource_type: str | None = ... + """The source resource type.""" + resource_region: str | None = ... + """The source resource Region.""" + resource_owner: str | None = ... + """The source resource owner.""" + +@dataclass(kw_only=True) +class IpamPoolSourceResourceRequest(_SerdeShape): + """The resource used to provision CIDRs to a resource planning pool.""" + + resource_id: str | None = ... + """The source resource ID.""" + resource_type: str | None = ... + """The source resource type.""" + resource_region: str | None = ... + """The source resource Region.""" + resource_owner: str | None = ... + """The source resource owner.""" + +class IpamPoolSourceResourceType(UnknownEnumMixin, StrEnum): + VPC = "vpc" + +class IpamPoolState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + MODIFY_IN_PROGRESS = "modify-in-progress" + MODIFY_COMPLETE = "modify-complete" + MODIFY_FAILED = "modify-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + ISOLATE_IN_PROGRESS = "isolate-in-progress" + ISOLATE_COMPLETE = "isolate-complete" + RESTORE_IN_PROGRESS = "restore-in-progress" + +@dataclass(kw_only=True) +class IpamPrefixListResolver(_SerdeShape): + """ + Describes an IPAM prefix list resolver. + + An IPAM prefix list resolver is a component that manages the + synchronization between IPAM's CIDR selection rules and + customer-managed prefix lists. It automates connectivity configurations + by selecting CIDRs from IPAM's database based on your business logic + and synchronizing them with prefix lists used in resources such as VPC + route tables and security groups. + """ + + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the IPAM prefix list + resolver. + """ + ipam_prefix_list_resolver_id: str | None = ... + """The ID of the IPAM prefix list resolver.""" + ipam_prefix_list_resolver_arn: str | None = ... + """The Amazon Resource Name (ARN) of the IPAM prefix list resolver.""" + ipam_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IPAM associated with this + resolver. + """ + ipam_region: str | None = ... + """The Amazon Web Services Region where the associated IPAM is located.""" + description: str | None = ... + """The description of the IPAM prefix list resolver.""" + address_family: str | None = ... + """The address family (IPv4 or IPv6) for the IPAM prefix list resolver.""" + state: str | None = ... + """ + The current state of the IPAM prefix list resolver. Valid values include + `create-in-progress`, `create-complete`, `create-failed`, + `modify-in-progress`, `modify-complete`, `modify-failed`, + `delete-in-progress`, `delete-complete`, and `delete-failed`. + """ + tags: list[Tag] | None = ... + """The tags assigned to the IPAM prefix list resolver.""" + last_version_creation_status: str | None = ... + """ + The status for the last time a version was created. + + Each version is a snapshot of what CIDRs matched your rules at that + moment in time. The version number increments every time the CIDR list + changes due to infrastructure changes. + """ + last_version_creation_status_message: str | None = ... + """ + The status message for the last time a version was created. + + Each version is a snapshot of what CIDRs matched your rules at that + moment in time. The version number increments every time the CIDR list + changes due to infrastructure changes. + """ + +@dataclass(kw_only=True) +class IpamPrefixListResolverRule(_SerdeShape): + """ + Describes a CIDR selection rule. + + CIDR selection rules define the business logic for selecting CIDRs from + IPAM. If a CIDR matches any of the rules, it will be included. If a rule + has multiple conditions, the CIDR has to match every condition of that + rule. You can create a prefix list resolver without any CIDR selection + rules, but it will generate empty versions (containing no CIDRs) until + you add rules. + """ + + rule_type: str | None = ... + """ + The type of CIDR selection rule. Valid values include `include` for + selecting CIDRs that match the conditions, and `exclude` for excluding + CIDRs that match the conditions. + """ + static_cidr: str | None = ... + """ + A fixed list of CIDRs that do not change (like a manual list replicated + across Regions). + """ + ipam_scope_id: str | None = ... + """ + The ID of the IPAM scope from which to select CIDRs. This determines + whether to select from public or private IP address space. + """ + resource_type: str | None = ... + """For rules of type `ipam-resource-cidr`, this is the resource type.""" + conditions: list[IpamPrefixListResolverRuleCondition] | None = ... + """ + The conditions that determine which CIDRs are selected by this rule. + Conditions specify criteria such as resource type, tags, account IDs, + and Regions. + """ + +@dataclass(kw_only=True) +class IpamPrefixListResolverRuleCondition(_SerdeShape): + """ + Describes a condition within a CIDR selection rule. Conditions define + the criteria for selecting CIDRs from IPAM's database based on resource + attributes. + + CIDR selection rules define the business logic for selecting CIDRs from + IPAM. If a CIDR matches any of the rules, it will be included. If a rule + has multiple conditions, the CIDR has to match every condition of that + rule. You can create a prefix list resolver without any CIDR selection + rules, but it will generate empty versions (containing no CIDRs) until + you add rules. + + There are three rule types. Only 2 of the 3 rule types support + conditions - **IPAM pool CIDR** and **Scope resource CIDR**. **Static + CIDR** rules cannot have conditions. + + - **Static CIDR**: A fixed list of CIDRs that do not change (like a + manual list replicated across Regions) + + - **IPAM pool CIDR**: CIDRs from specific IPAM pools (like all CIDRs + from your IPAM production pool) + + If you choose this option, choose the following: + + - **IPAM scope**: Select the IPAM scope to search for resources + + - **Conditions:** + + - **Property** + + - **IPAM pool ID**: Select an IPAM pool that contains the + resources + + - **CIDR** (like 10.24.34.0/23) + + - **Operation**: Equals/Not equals + + - **Value**: The value on which to match the condition + + - **Scope resource CIDR**: CIDRs from Amazon Web Services resources like + VPCs, subnets, EIPs within an IPAM scope + + If you choose this option, choose the following: + + - **IPAM scope**: Select the IPAM scope to search for resources + + - **Resource type**: Select a resource, like a VPC or subnet. + + - **Conditions**: + + - **Property**: + + - Resource ID: The unique ID of a resource (like + vpc-1234567890abcdef0) + + - Resource owner (like 111122223333) + + - Resource region (like us-east-1) + + - Resource tag (like key: name, value: dev-vpc-1) + + - CIDR (like 10.24.34.0/23) + + - **Operation**: Equals/Not equals + + - **Value**: The value on which to match the condition + """ + + operation: str | None = ... + """ + The operation to perform when evaluating this condition. Valid values + include `equals`, `not-equals`, `contains`, and `not-contains`. + """ + ipam_pool_id: str | None = ... + """ + The ID of the IPAM pool to match against. This condition selects CIDRs + that belong to the specified IPAM pool. + """ + resource_id: str | None = ... + """ + The ID of the Amazon Web Services resource to match against. This + condition selects CIDRs associated with the specified resource. + """ + resource_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the resources to match + against. This condition selects CIDRs from resources owned by the + specified account. + """ + resource_region: str | None = ... + """ + The Amazon Web Services Region where the resources are located. This + condition selects CIDRs from resources in the specified Region. + """ + resource_tag: IpamResourceTag | None = ... + """ + A tag key-value pair to match against. This condition selects CIDRs from + resources that have the specified tag. + """ + cidr: str | None = ... + """ + A CIDR block to match against. This condition selects CIDRs that fall + within or match the specified CIDR range. + """ + +class IpamPrefixListResolverRuleConditionOperation(UnknownEnumMixin, StrEnum): + EQUALS = "equals" + NOT_EQUALS = "not-equals" + SUBNET_OF = "subnet-of" + +@dataclass(kw_only=True) +class IpamPrefixListResolverRuleConditionRequest(_SerdeShape): + """ + Describes a condition used when creating or modifying resolver rules. + + CIDR selection rules define the business logic for selecting CIDRs from + IPAM. If a CIDR matches any of the rules, it will be included. If a rule + has multiple conditions, the CIDR has to match every condition of that + rule. You can create a prefix list resolver without any CIDR selection + rules, but it will generate empty versions (containing no CIDRs) until + you add rules. + + There are three rule types. Only 2 of the 3 rule types support + conditions - **IPAM pool CIDR** and **Scope resource CIDR**. **Static + CIDR** rules cannot have conditions. + + - **Static CIDR**: A fixed list of CIDRs that do not change (like a + manual list replicated across Regions) + + - **IPAM pool CIDR**: CIDRs from specific IPAM pools (like all CIDRs + from your IPAM production pool) + + If you choose this option, choose the following: + + - **IPAM scope**: Select the IPAM scope to search for resources + + - **Conditions:** + + - **Property** + + - **IPAM pool ID**: Select an IPAM pool that contains the + resources + + - **CIDR** (like 10.24.34.0/23) + + - **Operation**: Equals/Not equals + + - **Value**: The value on which to match the condition + + - **Scope resource CIDR**: CIDRs from Amazon Web Services resources like + VPCs, subnets, EIPs within an IPAM scope + + If you choose this option, choose the following: + + - **IPAM scope**: Select the IPAM scope to search for resources + + - **Resource type**: Select a resource, like a VPC or subnet. + + - **Conditions**: + + - **Property**: + + - Resource ID: The unique ID of a resource (like + vpc-1234567890abcdef0) + + - Resource owner (like 111122223333) + + - Resource region (like us-east-1) + + - Resource tag (like key: name, value: dev-vpc-1) + + - CIDR (like 10.24.34.0/23) + + - **Operation**: Equals/Not equals + + - **Value**: The value on which to match the condition + """ + + operation: str | None = ... + """The operation to perform when evaluating this condition.""" + ipam_pool_id: str | None = ... + """ + The ID of the IPAM pool to match against. This condition selects CIDRs + that belong to the specified IPAM pool. + """ + resource_id: str | None = ... + """ + The ID of the Amazon Web Services resource to match against. This + condition selects CIDRs associated with the specified resource. + """ + resource_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the resources to match + against. This condition selects CIDRs from resources owned by the + specified account. + """ + resource_region: str | None = ... + """ + The Amazon Web Services Region where the resources are located. This + condition selects CIDRs from resources in the specified Region. + """ + resource_tag: RequestIpamResourceTag | None = ... + """ + A tag key-value pair to match against. This condition selects CIDRs from + resources that have the specified tag. + """ + cidr: str | None = ... + """ + A CIDR block to match against. This condition selects CIDRs that fall + within or match the specified CIDR range. + """ + +@dataclass(kw_only=True) +class IpamPrefixListResolverRuleRequest(_SerdeShape): + """ + Describes a CIDR selection rule to include in a request. This is used + when creating or modifying resolver rules. + + CIDR selection rules define the business logic for selecting CIDRs from + IPAM. If a CIDR matches any of the rules, it will be included. If a rule + has multiple conditions, the CIDR has to match every condition of that + rule. You can create a prefix list resolver without any CIDR selection + rules, but it will generate empty versions (containing no CIDRs) until + you add rules. + + There are three rule types. Only 2 of the 3 rule types support + conditions - **IPAM pool CIDR** and **Scope resource CIDR**. **Static + CIDR** rules cannot have conditions. + + - **Static CIDR**: A fixed list of CIDRs that do not change (like a + manual list replicated across Regions) + + - **IPAM pool CIDR**: CIDRs from specific IPAM pools (like all CIDRs + from your IPAM production pool) + + If you choose this option, choose the following: + + - **IPAM scope**: Select the IPAM scope to search for resources + + - **Conditions:** + + - **Property** + + - **IPAM pool ID**: Select an IPAM pool that contains the + resources + + - **CIDR** (like 10.24.34.0/23) + + - **Operation**: Equals/Not equals + + - **Value**: The value on which to match the condition + + - **Scope resource CIDR**: CIDRs from Amazon Web Services resources like + VPCs, subnets, EIPs within an IPAM scope + + If you choose this option, choose the following: + + - **IPAM scope**: Select the IPAM scope to search for resources + + - **Resource type**: Select a resource, like a VPC or subnet. + + - **Conditions**: + + - **Property**: + + - Resource ID: The unique ID of a resource (like + vpc-1234567890abcdef0) + + - Resource owner (like 111122223333) + + - Resource region (like us-east-1) + + - Resource tag (like key: name, value: dev-vpc-1) + + - CIDR (like 10.24.34.0/23) + + - **Operation**: Equals/Not equals + + - **Value**: The value on which to match the condition + """ + + rule_type: str | None = ... + """ + The type of CIDR selection rule. Valid values include `include` for + selecting CIDRs that match the conditions, and `exclude` for excluding + CIDRs that match the conditions. + """ + static_cidr: str | None = ... + """ + A fixed list of CIDRs that do not change (like a manual list replicated + across Regions). + """ + ipam_scope_id: str | None = ... + """ + The ID of the IPAM scope from which to select CIDRs. This determines + whether to select from public or private IP address space. + """ + resource_type: str | None = ... + """For rules of type `ipam-resource-cidr`, this is the resource type.""" + conditions: list[IpamPrefixListResolverRuleConditionRequest] | None = ... + """ + The conditions that determine which CIDRs are selected by this rule. + Conditions specify criteria such as resource type, tags, account IDs, + and Regions. + """ + +class IpamPrefixListResolverRuleType(UnknownEnumMixin, StrEnum): + STATIC_CIDR = "static-cidr" + IPAM_RESOURCE_CIDR = "ipam-resource-cidr" + IPAM_POOL_CIDR = "ipam-pool-cidr" + +class IpamPrefixListResolverState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + MODIFY_IN_PROGRESS = "modify-in-progress" + MODIFY_COMPLETE = "modify-complete" + MODIFY_FAILED = "modify-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + ISOLATE_IN_PROGRESS = "isolate-in-progress" + ISOLATE_COMPLETE = "isolate-complete" + RESTORE_IN_PROGRESS = "restore-in-progress" + +@dataclass(kw_only=True) +class IpamPrefixListResolverTarget(_SerdeShape): + """ + Describes an IPAM prefix list resolver target. + + An IPAM prefix list resolver target is an association between a specific + customer-managed prefix list and an IPAM prefix list resolver. The + target enables the resolver to synchronize CIDRs selected by its rules + into the specified prefix list, which can then be referenced in Amazon + Web Services resources. + """ + + ipam_prefix_list_resolver_target_id: str | None = ... + """The ID of the IPAM prefix list resolver target.""" + ipam_prefix_list_resolver_target_arn: str | None = ... + """The Amazon Resource Name (ARN) of the IPAM prefix list resolver target.""" + ipam_prefix_list_resolver_id: str | None = ... + """The ID of the IPAM prefix list resolver associated with this target.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the IPAM prefix list + resolver target. + """ + prefix_list_id: str | None = ... + """The ID of the managed prefix list associated with this target.""" + prefix_list_region: str | None = ... + """ + The Amazon Web Services Region where the prefix list associated with + this target is located. + """ + desired_version: int | None = ... + """ + The desired version of the prefix list that this target should + synchronize with. + """ + last_synced_version: int | None = ... + """ + The version of the prefix list that was last successfully synchronized + by this target. + """ + track_latest_version: bool | None = ... + """ + Indicates whether this target automatically tracks the latest version of + the prefix list. + """ + state_message: str | None = ... + """ + A message describing the current state of the IPAM prefix list resolver + target, including any error information. + """ + state: str | None = ... + """ + The current state of the IPAM prefix list resolver target. Valid values + include `create-in-progress`, `create-complete`, `create-failed`, + `modify-in-progress`, `modify-complete`, `modify-failed`, + `delete-in-progress`, `delete-complete`, and `delete-failed`. + """ + tags: list[Tag] | None = ... + """The tags assigned to the IPAM prefix list resolver target.""" + +class IpamPrefixListResolverTargetState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + MODIFY_IN_PROGRESS = "modify-in-progress" + MODIFY_COMPLETE = "modify-complete" + MODIFY_FAILED = "modify-failed" + SYNC_IN_PROGRESS = "sync-in-progress" + SYNC_COMPLETE = "sync-complete" + SYNC_FAILED = "sync-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + ISOLATE_IN_PROGRESS = "isolate-in-progress" + ISOLATE_COMPLETE = "isolate-complete" + RESTORE_IN_PROGRESS = "restore-in-progress" + +@dataclass(kw_only=True) +class IpamPrefixListResolverVersion(_SerdeShape): + """ + Describes a version of an IPAM prefix list resolver. + + Each version is a snapshot of what CIDRs matched your rules at that + moment in time. The version number increments every time the CIDR list + changes due to infrastructure changes. + + **Version example:** + + **Initial State (Version 1)** + + Production environment: + + - vpc-prod-web (10.1.0.0/16) - tagged env=prod + + - vpc-prod-db (10.2.0.0/16) - tagged env=prod + + Resolver rule: Include all VPCs tagged env=prod + + **Version 1 CIDRs:** 10.1.0.0/16, 10.2.0.0/16 + + **Infrastructure Change (Version 2)** + + New VPC added: + + - vpc-prod-api (10.3.0.0/16) - tagged env=prod + + IPAM automatically detects the change and creates a new version. + + **Version 2 CIDRs:** 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16 + """ + + version: int | None = ... + """ + The version number of the IPAM prefix list resolver. + + Each version is a snapshot of what CIDRs matched your rules at that + moment in time. The version number increments every time the CIDR list + changes due to infrastructure changes. + """ + +class IpamPrefixListResolverVersionCreationStatus(UnknownEnumMixin, StrEnum): + PENDING = "pending" + SUCCESS = "success" + FAILURE = "failure" + +@dataclass(kw_only=True) +class IpamPrefixListResolverVersionEntry(_SerdeShape): + """ + Describes a CIDR entry in a specific version of an IPAM prefix list + resolver. This represents a CIDR that was selected and synchronized at a + particular point in time. + """ + + cidr: str | None = ... + """ + The CIDR block that was selected and synchronized in this resolver + version. + """ + +class IpamPublicAddressAssociationStatus(UnknownEnumMixin, StrEnum): + ASSOCIATED = "associated" + DISASSOCIATED = "disassociated" + +class IpamPublicAddressAwsService(UnknownEnumMixin, StrEnum): + NAT_GATEWAY = "nat-gateway" + DMS = "database-migration-service" + REDSHIFT = "redshift" + ECS = "elastic-container-service" + RDS = "relational-database-service" + S2_S_VPN = "site-to-site-vpn" + EC2_LB = "load-balancer" + AGA = "global-accelerator" + CLOUDFRONT = "cloudfront" + OTHER = "other" + +@dataclass(kw_only=True) +class IpamPublicAddressSecurityGroup(_SerdeShape): + """The security group that the resource with the public IP address is in.""" + + group_name: str | None = ... + """The security group's name.""" + group_id: str | None = ... + """The security group's ID.""" + +@dataclass(kw_only=True) +class IpamPublicAddressTag(_SerdeShape): + """A tag for a public IP address discovered by IPAM.""" + + key: str | None = ... + """The tag's key.""" + value: str | None = ... + """The tag's value.""" + +@dataclass(kw_only=True) +class IpamPublicAddressTags(_SerdeShape): + """Tags for a public IP address discovered by IPAM.""" + + eip_tags: list[IpamPublicAddressTag] | None = ... + """Tags for an Elastic IP address.""" + +class IpamPublicAddressType(UnknownEnumMixin, StrEnum): + SERVICE_MANAGED_IP = "service-managed-ip" + SERVICE_MANAGED_BYOIP = "service-managed-byoip" + AMAZON_OWNED_EIP = "amazon-owned-eip" + AMAZON_OWNED_CONTIG = "amazon-owned-contig" + BYOIP = "byoip" + EC2_PUBLIC_IP = "ec2-public-ip" + ANYCAST_IP_LIST_IP = "anycast-ip-list-ip" + +@dataclass(kw_only=True) +class IpamResourceCidr(_SerdeShape): + """The CIDR for an IPAM resource.""" + + ipam_id: str | None = ... + """The IPAM ID for an IPAM resource.""" + ipam_scope_id: str | None = ... + """The scope ID for an IPAM resource.""" + ipam_pool_id: str | None = ... + """The pool ID for an IPAM resource.""" + resource_region: str | None = ... + """The Amazon Web Services Region for an IPAM resource.""" + resource_owner_id: str | None = ... + """The Amazon Web Services account number of the owner of an IPAM resource.""" + resource_id: str | None = ... + """The ID of an IPAM resource.""" + resource_name: str | None = ... + """The name of an IPAM resource.""" + resource_cidr: str | None = ... + """The CIDR for an IPAM resource.""" + resource_type: str | None = ... + """The type of IPAM resource.""" + resource_tags: list[IpamResourceTag] | None = ... + """The tags for an IPAM resource.""" + ip_usage: float | None = ... + """ + The percentage of IP address space in use. To convert the decimal to a + percentage, multiply the decimal by 100. Note the following: + + - For resources that are VPCs, this is the percentage of IP address + space in the VPC that's taken up by subnet CIDRs. + + - For resources that are subnets, if the subnet has an IPv4 CIDR + provisioned to it, this is the percentage of IPv4 address space in the + subnet that's in use. If the subnet has an IPv6 CIDR provisioned to + it, the percentage of IPv6 address space in use is not represented. + The percentage of IPv6 address space in use cannot currently be + calculated. + + - For resources that are public IPv4 pools, this is the percentage of IP + address space in the pool that's been allocated to Elastic IP + addresses (EIPs). + """ + compliance_status: str | None = ... + """ + The compliance status of the IPAM resource. For more information on + compliance statuses, see [Monitor CIDR usage by + resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + management_state: str | None = ... + """ + The management state of the resource. For more information about + management states, see [Monitor CIDR usage by + resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + overlap_status: str | None = ... + """ + The overlap status of an IPAM resource. The overlap status tells you if + the CIDR for a resource overlaps with another CIDR in the scope. For + more information on overlap statuses, see [Monitor CIDR usage by + resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + vpc_id: str | None = ... + """The ID of a VPC.""" + availability_zone_id: str | None = ... + """The Availability Zone ID.""" + +class IpamResourceCidrIpSource(UnknownEnumMixin, StrEnum): + AMAZON = "amazon" + BYOIP = "byoip" + NONE = "none" + +@dataclass(kw_only=True) +class IpamResourceDiscovery(_SerdeShape): + """ + A resource discovery is an IPAM component that enables IPAM to manage + and monitor resources that belong to the owning account. + """ + + owner_id: str | None = ... + """The ID of the owner.""" + ipam_resource_discovery_id: str | None = ... + """The resource discovery ID.""" + ipam_resource_discovery_arn: str | None = ... + """The resource discovery Amazon Resource Name (ARN).""" + ipam_resource_discovery_region: str | None = ... + """The resource discovery Region.""" + description: str | None = ... + """The resource discovery description.""" + operating_regions: list[IpamOperatingRegion] | None = ... + """ + The operating Regions for the resource discovery. Operating Regions are + Amazon Web Services Regions where the IPAM is allowed to manage IP + address CIDRs. IPAM only discovers and monitors resources in the Amazon + Web Services Regions you select as operating Regions. + """ + is_default: bool | None = ... + """ + Defines if the resource discovery is the default. The default resource + discovery is the resource discovery automatically created when you + create an IPAM. + """ + state: str | None = ... + """ + The lifecycle state of the resource discovery. + + - `create-in-progress` - Resource discovery is being created. + + - `create-complete` - Resource discovery creation is complete. + + - `create-failed` - Resource discovery creation has failed. + + - `modify-in-progress` - Resource discovery is being modified. + + - `modify-complete` - Resource discovery modification is complete. + + - `modify-failed` - Resource discovery modification has failed. + + - `delete-in-progress` - Resource discovery is being deleted. + + - `delete-complete` - Resource discovery deletion is complete. + + - `delete-failed` - Resource discovery deletion has failed. + + - `isolate-in-progress` - Amazon Web Services account that created the + resource discovery has been removed and the resource discovery is + being isolated. + + - `isolate-complete` - Resource discovery isolation is complete. + + - `restore-in-progress` - Amazon Web Services account that created the + resource discovery and was isolated has been restored. + """ + tags: list[Tag] | None = ... + """ + A tag is a label that you assign to an Amazon Web Services resource. + Each tag consists of a key and an optional value. You can use tags to + search and filter your resources or track your Amazon Web Services + costs. + """ + organizational_unit_exclusions: list[IpamOrganizationalUnitExclusion] | None = ... + """ + If your IPAM is integrated with Amazon Web Services Organizations and + you add an organizational unit (OU) exclusion, IPAM will not manage the + IP addresses in accounts in that OU exclusion. + """ + +@dataclass(kw_only=True) +class IpamResourceDiscoveryAssociation(_SerdeShape): + """ + An IPAM resource discovery association. An associated resource discovery + is a resource discovery that has been associated with an IPAM. IPAM + aggregates the resource CIDRs discovered by the associated resource + discovery. + """ + + owner_id: str | None = ... + """The Amazon Web Services account ID of the resource discovery owner.""" + ipam_resource_discovery_association_id: str | None = ... + """The resource discovery association ID.""" + ipam_resource_discovery_association_arn: str | None = ... + """The resource discovery association Amazon Resource Name (ARN).""" + ipam_resource_discovery_id: str | None = ... + """The resource discovery ID.""" + ipam_id: str | None = ... + """The IPAM ID.""" + ipam_arn: str | None = ... + """The IPAM ARN.""" + ipam_region: str | None = ... + """The IPAM home Region.""" + is_default: bool | None = ... + """ + Defines if the resource discovery is the default. When you create an + IPAM, a default resource discovery is created for your IPAM and it's + associated with your IPAM. + """ + resource_discovery_status: str | None = ... + """ + The resource discovery status. + + - `active` - Connection or permissions required to read the results of + the resource discovery are intact. + + - `not-found` - Connection or permissions required to read the results + of the resource discovery are broken. This may happen if the owner of + the resource discovery stopped sharing it or deleted the resource + discovery. Verify the resource discovery still exists and the Amazon + Web Services RAM resource share is still intact. + """ + state: str | None = ... + """ + The lifecycle state of the association when you associate or + disassociate a resource discovery. + + - `associate-in-progress` - Resource discovery is being associated. + + - `associate-complete` - Resource discovery association is complete. + + - `associate-failed` - Resource discovery association has failed. + + - `disassociate-in-progress` - Resource discovery is being + disassociated. + + - `disassociate-complete` - Resource discovery disassociation is + complete. + + - `disassociate-failed ` - Resource discovery disassociation has failed. + + - `isolate-in-progress` - Amazon Web Services account that created the + resource discovery association has been removed and the resource + discovery association is being isolated. + + - `isolate-complete` - Resource discovery isolation is complete. + + - `restore-in-progress` - Resource discovery is being restored. + """ + tags: list[Tag] | None = ... + """ + A tag is a label that you assign to an Amazon Web Services resource. + Each tag consists of a key and an optional value. You can use tags to + search and filter your resources or track your Amazon Web Services + costs. + """ + +class IpamResourceDiscoveryAssociationState(UnknownEnumMixin, StrEnum): + ASSOCIATE_IN_PROGRESS = "associate-in-progress" + ASSOCIATE_COMPLETE = "associate-complete" + ASSOCIATE_FAILED = "associate-failed" + DISASSOCIATE_IN_PROGRESS = "disassociate-in-progress" + DISASSOCIATE_COMPLETE = "disassociate-complete" + DISASSOCIATE_FAILED = "disassociate-failed" + ISOLATE_IN_PROGRESS = "isolate-in-progress" + ISOLATE_COMPLETE = "isolate-complete" + RESTORE_IN_PROGRESS = "restore-in-progress" + +class IpamResourceDiscoveryState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + MODIFY_IN_PROGRESS = "modify-in-progress" + MODIFY_COMPLETE = "modify-complete" + MODIFY_FAILED = "modify-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + ISOLATE_IN_PROGRESS = "isolate-in-progress" + ISOLATE_COMPLETE = "isolate-complete" + RESTORE_IN_PROGRESS = "restore-in-progress" + +@dataclass(kw_only=True) +class IpamResourceTag(_SerdeShape): + """ + 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 `Owner` and + the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` + for the filter value. + """ + + key: str | None = ... + """ + The key of a tag assigned to the resource. Use this filter to find all + resources assigned a tag with a specific key, regardless of the tag + value. + """ + value: str | None = ... + """The value of the tag.""" + +class IpamResourceType(UnknownEnumMixin, StrEnum): + VPC = "vpc" + SUBNET = "subnet" + EIP = "eip" + PUBLIC_IPV4_POOL = "public-ipv4-pool" + IPV6_POOL = "ipv6-pool" + ENI = "eni" + ANYCAST_IP_LIST = "anycast-ip-list" + +@dataclass(kw_only=True) +class IpamRouteOriginAuthorization(_SerdeShape): + """ + Contains information about a Route Origin Authorization (ROA) published + in the RPKI. A ROA cryptographically attests that a specific ASN is + authorized to originate a specific IP address prefix. + """ + + asn: str | None = ... + """The Autonomous System Number (ASN) authorized by the ROA.""" + prefix: str | None = ... + """The IP address prefix authorized by the ROA in CIDR notation.""" + max_length: int | None = ... + """The maximum prefix length that the ASN is authorized to announce.""" + match: bool | None = ... + """Specifies whether the ROA matches the route announcement.""" + expiration: datetime | None = ... + """The expiration date of the ROA.""" + +@dataclass(kw_only=True) +class IpamRouteOriginAuthorizationInfo(_SerdeShape): + """ + Contains information about a Route Origin Authorization (ROA) currently + published in the RPKI. + """ + + cidr: str | None = ... + """The IP address prefix in CIDR notation authorized by the ROA.""" + asn: str | None = ... + """The Autonomous System Number (ASN) authorized to originate the prefix.""" + max_length: int | None = ... + """The maximum prefix length that the ASN is authorized to announce.""" + +@dataclass(kw_only=True) +class IpamRouteOverlap(_SerdeShape): + """ + Contains information about an overlapping route detected for a BYOIP + prefix. + """ + + prefix: str | None = ... + """The overlapping IP address prefix in CIDR notation.""" + asn: str | None = ... + """The ASN originating the overlapping route.""" + detected_at: datetime | None = ... + """The time when the overlap was detected.""" + +@dataclass(kw_only=True) +class IpamRouteProtectionFinding(_SerdeShape): + """ + Contains information about a route protection finding, including the + RPKI validation status of a BYOIP route announcement. + """ + + resource_owner_id: str | None = ... + """The ID of the resource owner.""" + resource_region: str | None = ... + """The Amazon Web Services Region of the resource.""" + ipam_pool_id: str | None = ... + """The ID of the IPAM pool associated with the finding.""" + cidr: str | None = ... + """The IP address prefix in CIDR notation.""" + state: str | None = ... + """ + The state of the BYOIP CIDR. Possible values: + + - `advertised` - The CIDR is being advertised. + + - `deprovisioned` - The CIDR has been deprovisioned. + + - `failed-deprovision` - Deprovisioning failed. + + - `failed-provision` - Provisioning failed. + + - `pending-deprovision` - Deprovisioning is in progress. + + - `pending-provision` - Provisioning is in progress. + + - `provisioned` - The CIDR is provisioned. + + - `provisioned-not-publicly-advertisable` - The CIDR is provisioned but + not publicly advertisable. + """ + advertisement_type: str | None = ... + """ + The advertisement type. Possible values: + + - `regional` - The IP address is advertised from a single location + (regional services such as Amazon EC2). + + - `global` - The IP address is advertised from multiple global locations + simultaneously (global services such as Amazon CloudFront). + """ + network_border_group: str | None = ... + """The network border group.""" + pool_id: str | None = ... + """The ID of the BYOIP pool.""" + asn: str | None = ... + """The Autonomous System Number (ASN) that originates the route.""" + rpki_status: str | None = ... + """ + The RPKI validation status of the route. Possible values: + + - `valid` - The route has a matching ROA that covers the prefix and + origin ASN. + + - `invalid` - The route has a ROA for the prefix, but the origin ASN or + prefix length does not match. + + - `unknown` - No ROA exists for the prefix, so RPKI validation cannot be + performed. + """ + rpki_strength: str | None = ... + """ + The RPKI enforcement strength for the route. Possible values: + + - `strict` - Invalid routes are rejected. + + - `permissive` - Invalid routes are accepted but flagged. + """ + roas: list[IpamRouteOriginAuthorization] | None = ... + """The Route Origin Authorizations (ROAs) that cover the prefix.""" + route_overlaps: list[IpamRouteOverlap] | None = ... + """The overlapping routes detected for this prefix.""" + sample_time: datetime | None = ... + """The time when the route was last sampled.""" + roa_sample_time: datetime | None = ... + """The time when the ROA data was last sampled.""" + +@dataclass(kw_only=True) +class IpamRoutingPolicyRegistration(_SerdeShape): + """ + Contains information about a routing policy registration that represents + a Route Origin Authorization (ROA) managed through IPAM. + """ + + cidr: str | None = ... + """The IP address prefix in CIDR notation authorized by the ROA.""" + asns: list[str] | None = ... + """The Autonomous System Numbers (ASNs) authorized to originate the prefix.""" + permit_more_specific_announcements: bool | None = ... + """ + Specifies whether to permit more specific route announcements than the + CIDR prefix. When enabled, ASNs can announce sub-prefixes of the + authorized CIDR up to the specified maximum length. Default: `false`. + """ + max_length: int | None = ... + """The maximum prefix length that the ASNs are authorized to announce.""" + description: str | None = ... + """The description of the routing policy registration.""" + latest_delta_id: str | None = ... + """The ID of the most recent delta that modified this registration.""" + state: str | None = ... + """ + The state of the routing policy registration. Valid values: + `pending-activate` | `activate-failed` | `create-in-progress` | + `create-complete` | `update-in-progress` | `update-complete` | + `delete-in-progress` | `delete-complete`. + """ + +@dataclass(kw_only=True) +class IpamRoutingPolicyRegistrationDelta(_SerdeShape): + """ + Contains information about a routing policy registration change, + including the changes applied and their publication state. + """ + + delta_id: str | None = ... + """The unique identifier of the delta.""" + delta_json: str | None = ... + """The JSON specification describing the changes applied in this delta.""" + state: str | None = ... + """ + The state of the delta. Valid values: `pending` | `published` | + `failed`. + """ + state_message: str | None = ... + """ + A message describing the current state, including error information if + the delta failed. + """ + +class IpamRoutingPolicyRegistrationDeltaState(UnknownEnumMixin, StrEnum): + """The state of a routing policy registration delta.""" + + PENDING = "pending" + PUBLISHED = "published" + FAILED = "failed" + +class IpamRoutingPolicyRegistrationState(UnknownEnumMixin, StrEnum): + """The state of a routing policy registration.""" + + PENDING_ACTIVATE = "pending-activate" + ACTIVATE_FAILED = "activate-failed" + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + UPDATE_IN_PROGRESS = "update-in-progress" + UPDATE_COMPLETE = "update-complete" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + +class IpamRpkiStatus(UnknownEnumMixin, StrEnum): + """The RPKI validation status of a BGP route.""" + + VALID = "valid" + INVALID = "invalid" + UNKNOWN = "unknown" + +class IpamRpkiStrength(UnknownEnumMixin, StrEnum): + """The RPKI enforcement strength for route protection.""" + + STRICT = "strict" + PERMISSIVE = "permissive" + +@dataclass(kw_only=True) +class IpamScope(_SerdeShape): + """ + In IPAM, a scope is the highest-level container within IPAM. An IPAM + contains two default scopes. Each scope represents the IP space for a + single network. The private scope is intended for all private IP address + space. The public scope is intended for all public IP address space. + Scopes enable you to reuse IP addresses across multiple unconnected + networks without causing IP address overlap or conflict. + + For more information, see [How IPAM + works](https://docs.aws.amazon.com/vpc/latest/ipam/how-it-works-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + + owner_id: str | None = ... + """The Amazon Web Services account ID of the owner of the scope.""" + ipam_scope_id: str | None = ... + """The ID of the scope.""" + ipam_scope_arn: str | None = ... + """The Amazon Resource Name (ARN) of the scope.""" + ipam_arn: str | None = ... + """The ARN of the IPAM.""" + ipam_region: str | None = ... + """The Amazon Web Services Region of the IPAM scope.""" + ipam_scope_type: str | None = ... + """The type of the scope.""" + is_default: bool | None = ... + """Defines if the scope is the default scope or not.""" + description: str | None = ... + """The description of the scope.""" + pool_count: int | None = ... + """The number of pools in the scope.""" + state: str | None = ... + """The state of the IPAM scope.""" + tags: list[Tag] | None = ... + """ + 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 `Owner` and + the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` + for the filter value. + """ + external_authority_configuration: ( + IpamScopeExternalAuthorityConfiguration | None + ) = ... + """ + The external authority configuration for this IPAM scope, if configured. + + The configuration that links an Amazon VPC IPAM scope to an external + authority system. It specifies the type of external system and the + external resource identifier that identifies your account or instance in + that system. + + In IPAM, an external authority is a third-party IP address management + system that provides CIDR blocks when you provision address space for + top-level IPAM pools. This allows you to use your existing IP management + system to control which address ranges are allocated to Amazon Web + Services while using Amazon VPC IPAM to manage subnets within those + ranges. + """ + +@dataclass(kw_only=True) +class IpamScopeExternalAuthorityConfiguration(_SerdeShape): + """ + The configuration that links an Amazon VPC IPAM scope to an external + authority system. It specifies the type of external system and the + external resource identifier that identifies your account or instance in + that system. + + In IPAM, an external authority is a third-party IP address management + system that provides CIDR blocks when you provision address space for + top-level IPAM pools. This allows you to use your existing IP management + system to control which address ranges are allocated to Amazon Web + Services while using Amazon VPC IPAM to manage subnets within those + ranges. + """ + + type: str | None = ... + """ + The type of external authority managing this scope. Currently supports + `Infoblox` for integration with Infoblox Universal DDI. + """ + external_resource_identifier: str | None = ... + """ + The identifier for the external resource managing this scope. For + Infoblox integrations, this is the Infoblox resource identifier in the + format + ``{=html}`.identity.account.```{=html}`.```{=html}. + """ + +class IpamScopeExternalAuthorityType(UnknownEnumMixin, StrEnum): + INFOBLOX = "infoblox" + +class IpamScopeState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + MODIFY_IN_PROGRESS = "modify-in-progress" + MODIFY_COMPLETE = "modify-complete" + MODIFY_FAILED = "modify-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + ISOLATE_IN_PROGRESS = "isolate-in-progress" + ISOLATE_COMPLETE = "isolate-complete" + RESTORE_IN_PROGRESS = "restore-in-progress" + +class IpamScopeType(UnknownEnumMixin, StrEnum): + PUBLIC = "public" + PRIVATE = "private" + +class IpamState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + MODIFY_IN_PROGRESS = "modify-in-progress" + MODIFY_COMPLETE = "modify-complete" + MODIFY_FAILED = "modify-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + ISOLATE_IN_PROGRESS = "isolate-in-progress" + ISOLATE_COMPLETE = "isolate-complete" + RESTORE_IN_PROGRESS = "restore-in-progress" + +class IpamTier(UnknownEnumMixin, StrEnum): + FREE = "free" + ADVANCED = "advanced" + +@dataclass(kw_only=True) +class IpPermission(_SerdeShape): + """Describes the permissions for a security group rule.""" + + ip_protocol: str | None = ... + """ + The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see + [Protocol + Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). + + Use `-1` to specify all protocols. When authorizing security group + rules, specifying `-1` or a protocol number other than `tcp`, `udp`, + `icmp`, or `icmpv6` allows traffic on all ports, regardless of any port + range you specify. For `tcp`, `udp`, and `icmp`, you must specify a port + range. For `icmpv6`, the port range is optional; if you omit the port + range, traffic for all types and codes is allowed. + """ + from_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the start of the port range. If + the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP + types). + """ + to_port: int | None = ... + """ + If the protocol is TCP or UDP, this is the end of the port range. If the + protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP + codes). If the start port is -1 (all ICMP types), then the end port must + be -1 (all ICMP codes). + """ + user_id_group_pairs: list[UserIdGroupPair] | None = ... + """The security group and Amazon Web Services account ID pairs.""" + ip_ranges: list[IpRange] | None = ... + """The IPv4 address ranges.""" + ipv6_ranges: list[Ipv6Range] | None = ... + """The IPv6 address ranges.""" + prefix_list_ids: list[PrefixListId] | None = ... + """The prefix list IDs.""" + +@dataclass(kw_only=True) +class IpRange(_SerdeShape): + """Describes an IPv4 address range.""" + + description: str | None = ... + """ + A description for the security group rule that references this IPv4 + address range. + + Constraints: Up to 255 characters in length. Allowed characters are a-z, + A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* + """ + cidr_ip: str | None = ... + """ + The IPv4 address range. You can either specify a CIDR block or a source + security group, not both. To specify a single IPv4 address, use the /32 + prefix length. + + Note: + Amazon Web Services + [canonicalizes](https://en.wikipedia.org/wiki/Canonicalization) IPv4 and + IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR + block, Amazon Web Services canonicalizes the CIDR block to + 100.68.0.0/18. Any subsequent DescribeSecurityGroups and + DescribeSecurityGroupRules calls will return the canonicalized form of + the CIDR block. Additionally, if you attempt to add another rule with + the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is + already a rule for the canonicalized form of the CIDR block (such as + 100.68.0.0/18), the API throws an duplicate rule error. + """ + +class IpScopeEnum(UnknownEnumMixin, StrEnum): + PRIVATE = "private" + +class IpSource(UnknownEnumMixin, StrEnum): + AMAZON = "amazon" + BYOIP = "byoip" + NONE = "none" + +@dataclass(kw_only=True) +class Ipv4PrefixSpecification(_SerdeShape): + """Describes an IPv4 prefix.""" + + ipv4_prefix: str | None = ... + """ + The IPv4 prefix. For information, see [Assigning prefixes to network + interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html) + in the *Amazon EC2 User Guide*. + """ diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_8.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_8.pyi new file mode 100644 index 000000000..36daae43a --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_8.pyi @@ -0,0 +1,6192 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccountVpcEncryptionControl, + AddIpamOperatingRegion, + AddIpamOrganizationalUnitExclusion, + AddPrefixListEntry, + AddressAttribute, + ApplicationStatusCheckResponseObject, + AttributeBooleanValue, + AttributeValue, + BlockDeviceMapping, + CapacityManagerDimension, + CapacityReservationAdjustmentDetails, + CapacityReservationSpecification, + CapacityReservationTarget, + CapacityReservationTargetResponse, + ClassicLoadBalancersConfig, + ClientConnectOptions, + ClientLoginBannerOptions, + ClientRouteEnforcementOptions, + ConnectionLogOptions, + ConnectionTrackingSpecification, + ConnectionTrackingSpecificationRequest, + CreateVolumePermissionModifications, + DevicePostureOptions, + DnsServersOptionsModifyStructure, + EnaSrdSpecification, + EnaSrdSpecificationRequest, + EnclaveOptionsRequest, + ExternalAuthorityConfiguration, + FleetLaunchTemplateConfigRequest, + FleetLaunchTemplateOverrides, + FleetLaunchTemplateSpecification, + FpgaImageAttribute, + GroupIdentifier, + HealthCheckPathRequestObject, + IamInstanceProfileSpecification, + ImageRecycleBinInfo, + InstanceBlockDeviceMappingSpecification, + InstanceCreditSpecificationRequest, + InstanceEventWindow, + InstanceEventWindowTimeRangeRequest, + InstanceFamilyCreditSpecification, + InstanceIpv6Address, + InstanceIpv6AddressRequest, + InstanceMetadataOptionsResponse, + InstanceNetworkInterfaceSpecification, + InstanceRequirements, + InstanceStatusEvent, + Ipam, + IpamPolicyAllocationRuleRequest, + IpamPolicyDocument, + IpamPool, + IpamPoolAllocation, + IpamPrefixListResolver, + IpamPrefixListResolverRuleRequest, + IpamPrefixListResolverTarget, + IpamResourceCidr, + IpamResourceDiscovery, + IpamRoutingPolicyRegistrationDelta, + IpamScope, + NetworkInterfaceAttachmentChanges, + OperatorResponse, + PoolCidrBlock, + PrivateIpAddressSpecification, + RemoveIpamOperatingRegion, + RemoveIpamOrganizationalUnitExclusion, + RemovePrefixListEntry, + RequestIpamResourceTag, + ReservedInstancesConfiguration, + ResponseLaunchTemplateData, + RouteServer, + RunInstancesMonitoringEnabled, + SecondaryInterfacePrivateIpAddressSpecification, + SecondaryInterfacePrivateIpAddressSpecificationRequest, + SecureBlobAttributeValue, + SecurityGroupRuleUpdate, + SnapshotRecycleBinInfo, + SpotPlacement, + StateReason, + SuccessfulInstanceCreditSpecificationItem, + Tag, + TargetCapacitySpecificationRequest, + TargetGroupsConfig, + TrafficMirrorFilter, + TrafficMirrorFilterRule, + TrafficMirrorPortRangeRequest, + TransitGatewayConfigurationInputStructure, + UnsuccessfulInstanceCreditSpecificationItem, + UnsuccessfulItem, + VolumeRecycleBinInfo, + _SerdeShape, +) + +@dataclass(kw_only=True) +class Ipv4PrefixSpecificationRequest(_SerdeShape): + """Describes the IPv4 prefix option for a network interface.""" + + ipv4_prefix: str | None = ... + """ + The IPv4 prefix. For information, see [Assigning prefixes to network + interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class Ipv4PrefixSpecificationResponse(_SerdeShape): + """ + Information about the IPv4 delegated prefixes assigned to a network + interface. + """ + + ipv4_prefix: str | None = ... + """The IPv4 delegated prefixes assigned to the network interface.""" + +class Ipv6AddressAttribute(UnknownEnumMixin, StrEnum): + PUBLIC = "public" + PRIVATE = "private" + +@dataclass(kw_only=True) +class Ipv6CidrAssociation(_SerdeShape): + """Describes an IPv6 CIDR block association.""" + + ipv6_cidr: str | None = ... + """The IPv6 CIDR block.""" + associated_resource: str | None = ... + """The resource that's associated with the IPv6 CIDR block.""" + +@dataclass(kw_only=True) +class Ipv6CidrBlock(_SerdeShape): + """Describes an IPv6 CIDR block.""" + + ipv6_cidr_block: str | None = ... + """The IPv6 CIDR block.""" + +@dataclass(kw_only=True) +class Ipv6Pool(_SerdeShape): + """Describes an IPv6 address pool.""" + + pool_id: str | None = ... + """The ID of the address pool.""" + description: str | None = ... + """The description for the address pool.""" + pool_cidr_blocks: list[PoolCidrBlock] | None = ... + """The CIDR blocks for the address pool.""" + tags: list[Tag] | None = ... + """Any tags for the address pool.""" + +@dataclass(kw_only=True) +class Ipv6PrefixSpecification(_SerdeShape): + """Describes the IPv6 prefix.""" + + ipv6_prefix: str | None = ... + """The IPv6 prefix.""" + +@dataclass(kw_only=True) +class Ipv6PrefixSpecificationRequest(_SerdeShape): + """Describes the IPv6 prefix option for a network interface.""" + + ipv6_prefix: str | None = ... + """The IPv6 prefix.""" + +@dataclass(kw_only=True) +class Ipv6PrefixSpecificationResponse(_SerdeShape): + """ + Information about the IPv6 delegated prefixes assigned to a network + interface. + """ + + ipv6_prefix: str | None = ... + """The IPv6 delegated prefixes assigned to the network interface.""" + +@dataclass(kw_only=True) +class Ipv6Range(_SerdeShape): + """Describes an IPv6 address range.""" + + description: str | None = ... + """ + A description for the security group rule that references this IPv6 + address range. + + Constraints: Up to 255 characters in length. Allowed characters are a-z, + A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* + """ + cidr_ipv6: str | None = ... + """ + The IPv6 address range. You can either specify a CIDR block or a source + security group, not both. To specify a single IPv6 address, use the /128 + prefix length. + + Note: + Amazon Web Services + [canonicalizes](https://en.wikipedia.org/wiki/Canonicalization) IPv4 and + IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR + block, Amazon Web Services canonicalizes the CIDR block to + 100.68.0.0/18. Any subsequent DescribeSecurityGroups and + DescribeSecurityGroupRules calls will return the canonicalized form of + the CIDR block. Additionally, if you attempt to add another rule with + the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is + already a rule for the canonicalized form of the CIDR block (such as + 100.68.0.0/18), the API throws an duplicate rule error. + """ + +class Ipv6SupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +class IpVersionEnum(UnknownEnumMixin, StrEnum): + IPV4 = "ipv4" + IPV6 = "ipv6" + +class KeyFormat(UnknownEnumMixin, StrEnum): + PEM = "pem" + PPK = "ppk" + +@dataclass(kw_only=True) +class KeyPairInfo(_SerdeShape): + """Describes a key pair.""" + + key_pair_id: str | None = ... + """The ID of the key pair.""" + key_type: str | None = ... + """The type of key pair.""" + tags: list[Tag] | None = ... + """Any tags applied to the key pair.""" + public_key: str | None = ... + """The public key material.""" + create_time: datetime | None = ... + """ + If you used Amazon EC2 to create the key pair, this is the date and time + when the key was created, in [ISO 8601 date-time + format](https://www.iso.org/iso-8601-date-and-time-format.html), in the + UTC time zone. + + If you imported an existing key pair to Amazon EC2, this is the date and + time the key was imported, in [ISO 8601 date-time + format](https://www.iso.org/iso-8601-date-and-time-format.html), in the + UTC time zone. + """ + key_name: str | None = ... + """The name of the key pair.""" + key_fingerprint: str | None = ... + """ + If you used CreateKeyPair to create the key pair: + + - For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER + encoded private key. + + - For ED25519 key pairs, the key fingerprint is the base64-encoded + SHA-256 digest, which is the default for OpenSSH, starting with + [OpenSSH 6.8](http://www.openssh.com/txt/release-6.8). + + If you used ImportKeyPair to provide Amazon Web Services the public key: + + - For RSA key pairs, the key fingerprint is the MD5 public key + fingerprint as specified in section 4 of RFC4716. + + - For ED25519 key pairs, the key fingerprint is the base64-encoded + SHA-256 digest, which is the default for OpenSSH, starting with + [OpenSSH 6.8](http://www.openssh.com/txt/release-6.8). + """ + +class KeyType(UnknownEnumMixin, StrEnum): + RSA = "rsa" + ED25519 = "ed25519" + +@dataclass(kw_only=True) +class LastError(_SerdeShape): + """The last error that occurred for a VPC endpoint.""" + + message: str | None = ... + """The error message for the VPC endpoint error.""" + code: str | None = ... + """The error code for the VPC endpoint error.""" + +@dataclass(kw_only=True) +class LaunchPermission(_SerdeShape): + """Describes a launch permission.""" + + organization_arn: str | None = ... + """The Amazon Resource Name (ARN) of an organization.""" + organizational_unit_arn: str | None = ... + """The Amazon Resource Name (ARN) of an organizational unit (OU).""" + user_id: str | None = ... + """ + The Amazon Web Services account ID. + + Constraints: Up to 10 000 account IDs can be specified in a single + request. + """ + group: str | None = ... + """The name of the group.""" + +@dataclass(kw_only=True) +class LaunchPermissionModifications(_SerdeShape): + """Describes a launch permission modification.""" + + add: list[LaunchPermission] | None = ... + """ + The Amazon Web Services account ID, organization ARN, or OU ARN to add + to the list of launch permissions for the AMI. + """ + remove: list[LaunchPermission] | None = ... + """ + The Amazon Web Services account ID, organization ARN, or OU ARN to + remove from the list of launch permissions for the AMI. + """ + +@dataclass(kw_only=True) +class LaunchSpecification(_SerdeShape): + """Describes the launch specification for an instance.""" + + user_data: str | None = ... + """ + The base64-encoded user data that instances use when starting up. User + data is limited to 16 KB. + """ + addressing_type: str | None = ... + """Deprecated.""" + block_device_mappings: list[BlockDeviceMapping] | None = ... + """The block device mapping entries.""" + ebs_optimized: bool | None = ... + """ + Indicates whether the instance is optimized for EBS I/O. This + optimization provides dedicated throughput to Amazon EBS and an + optimized configuration stack to provide optimal EBS I/O performance. + This optimization isn't available with all instance types. Additional + usage charges apply when using an EBS Optimized instance. + + Default: `false` + """ + iam_instance_profile: IamInstanceProfileSpecification | None = ... + """The IAM instance profile.""" + image_id: str | None = ... + """The ID of the AMI.""" + instance_type: str | None = ... + """The instance type. Only one instance type can be specified.""" + kernel_id: str | None = ... + """The ID of the kernel.""" + key_name: str | None = ... + """The name of the key pair.""" + network_interfaces: list[InstanceNetworkInterfaceSpecification] | None = ... + """ + The network interfaces. If you specify a network interface, you must + specify subnet IDs and security group IDs using the network interface. + """ + placement: SpotPlacement | None = ... + """The placement information for the instance.""" + ramdisk_id: str | None = ... + """The ID of the RAM disk.""" + subnet_id: str | None = ... + """The ID of the subnet in which to launch the instance.""" + security_groups: list[GroupIdentifier] | None = ... + """The IDs of the security groups.""" + monitoring: RunInstancesMonitoringEnabled | None = ... + """Describes the monitoring of an instance.""" + +@dataclass(kw_only=True) +class LaunchTemplate(_SerdeShape): + """Describes a launch template.""" + + launch_template_id: str | None = ... + """The ID of the launch template.""" + launch_template_name: str | None = ... + """The name of the launch template.""" + create_time: datetime | None = ... + """The time launch template was created.""" + created_by: str | None = ... + """The principal that created the launch template.""" + default_version_number: int | None = ... + """The version number of the default version of the launch template.""" + latest_version_number: int | None = ... + """The version number of the latest version of the launch template.""" + tags: list[Tag] | None = ... + """The tags for the launch template.""" + operator: OperatorResponse | None = ... + """The entity that manages the launch template.""" + +@dataclass(kw_only=True) +class LaunchTemplateAndOverridesResponse(_SerdeShape): + """Describes a launch template and overrides.""" + + launch_template_specification: FleetLaunchTemplateSpecification | None = ... + """The launch template.""" + overrides: FleetLaunchTemplateOverrides | None = ... + """ + Any parameters that you specify override the same parameters in the + launch template. + """ + +class LaunchTemplateAutoRecoveryState(UnknownEnumMixin, StrEnum): + DEFAULT = "default" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class LaunchTemplateBlockDeviceMapping(_SerdeShape): + """Describes a block device mapping.""" + + device_name: str | None = ... + """The device name.""" + virtual_name: str | None = ... + """The virtual device name (ephemeralN).""" + ebs: LaunchTemplateEbsBlockDevice | None = ... + """Information about the block device for an EBS volume.""" + no_device: str | None = ... + """ + To omit the device from the block device mapping, specify an empty + string. + """ + +@dataclass(kw_only=True) +class LaunchTemplateBlockDeviceMappingRequest(_SerdeShape): + """Describes a block device mapping.""" + + device_name: str | None = ... + """The device name (for example, /dev/sdh or xvdh).""" + virtual_name: str | None = ... + """ + The virtual device name (ephemeralN). Instance store volumes are + numbered starting from 0. An instance type with 2 available instance + store volumes can specify mappings for ephemeral0 and ephemeral1. The + number of available instance store volumes depends on the instance type. + After you connect to the instance, you must mount the volume. + """ + ebs: LaunchTemplateEbsBlockDeviceRequest | None = ... + """ + Parameters used to automatically set up EBS volumes when the instance is + launched. + """ + no_device: str | None = ... + """ + To omit the device from the block device mapping, specify an empty + string. + """ + +@dataclass(kw_only=True) +class LaunchTemplateCapacityReservationSpecificationRequest(_SerdeShape): + """ + Describes an instance's Capacity Reservation targeting option. You can + specify only one option at a time. Use the + `CapacityReservationPreference` parameter to configure the instance to + run in On-Demand capacity or to run in any `open` Capacity Reservation + that has matching attributes (instance type, platform, Availability + Zone). Use the `CapacityReservationTarget` parameter to explicitly + target a specific Capacity Reservation or a Capacity Reservation group. + """ + + capacity_reservation_preference: str | None = ... + """ + Indicates the instance's Capacity Reservation preferences. Possible + preferences include: + + - `capacity-reservations-only` - The instance will only run in a + Capacity Reservation or Capacity Reservation group. If capacity isn't + available, the instance will fail to launch. + + - `open` - The instance can run in any `open` Capacity Reservation that + has matching attributes (instance type, platform, Availability Zone, + tenancy). + + - `none` - The instance avoids running in a Capacity Reservation even if + one is available. The instance runs in On-Demand capacity. + """ + capacity_reservation_target: CapacityReservationTarget | None = ... + """ + Information about the target Capacity Reservation or Capacity + Reservation group. + """ + +@dataclass(kw_only=True) +class LaunchTemplateCapacityReservationSpecificationResponse(_SerdeShape): + """Information about the Capacity Reservation targeting option.""" + + capacity_reservation_preference: str | None = ... + """ + Indicates the instance's Capacity Reservation preferences. Possible + preferences include: + + - `open` - The instance can run in any `open` Capacity Reservation that + has matching attributes (instance type, platform, Availability Zone). + + - `none` - The instance avoids running in a Capacity Reservation even if + one is available. The instance runs in On-Demand capacity. + """ + capacity_reservation_target: CapacityReservationTargetResponse | None = ... + """ + Information about the target Capacity Reservation or Capacity + Reservation group. + """ + +@dataclass(kw_only=True) +class LaunchTemplateConfig(_SerdeShape): + """Describes a launch template and overrides.""" + + launch_template_specification: FleetLaunchTemplateSpecification | None = ... + """ + The launch template to use. Make sure that the launch template does not + contain the `NetworkInterfaceId` parameter because you can't specify a + network interface ID in a Spot Fleet. + """ + overrides: list[LaunchTemplateOverrides] | None = ... + """ + Any parameters that you specify override the same parameters in the + launch template. + """ + +@dataclass(kw_only=True) +class LaunchTemplateCpuOptions(_SerdeShape): + """The CPU options for the instance.""" + + core_count: int | None = ... + """The number of CPU cores for the instance.""" + threads_per_core: int | None = ... + """The number of threads per CPU core.""" + amd_sev_snp: str | None = ... + """ + Indicates whether the instance is enabled for AMD SEV-SNP. For more + information, see [AMD SEV-SNP for Amazon EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). + """ + nested_virtualization: str | None = ... + """Indicates whether the instance is enabled for nested virtualization.""" + +@dataclass(kw_only=True) +class LaunchTemplateCpuOptionsRequest(_SerdeShape): + """ + The CPU options for the instance. Both the core count and threads per + core must be specified in the request. + """ + + core_count: int | None = ... + """The number of CPU cores for the instance.""" + threads_per_core: int | None = ... + """ + The number of threads per CPU core. To disable multithreading for the + instance, specify a value of `1`. Otherwise, specify the default value + of `2`. + """ + amd_sev_snp: str | None = ... + """ + Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is + supported with M6a, R6a, and C6a instance types only. For more + information, see [AMD SEV-SNP for Amazon EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). + """ + nested_virtualization: str | None = ... + """ + Indicates whether to enable the instance for nested virtualization. + Nested virtualization is supported only on 8th generation Intel-based + instance types (c8i, m8i, r8i, and their flex variants). When nested + virtualization is enabled, Virtual Secure Mode (VSM) is automatically + disabled for the instance. + """ + +@dataclass(kw_only=True) +class LaunchTemplateEbsBlockDevice(_SerdeShape): + """Describes a block device for an EBS volume.""" + + encrypted: bool | None = ... + """Indicates whether the EBS volume is encrypted.""" + delete_on_termination: bool | None = ... + """Indicates whether the EBS volume is deleted on instance termination.""" + iops: int | None = ... + """The number of I/O operations per second (IOPS) that the volume supports.""" + kms_key_id: str | None = ... + """ + Identifier (key ID, key alias, key ARN, or alias ARN) of the customer + managed KMS key to use for EBS encryption. + """ + snapshot_id: str | None = ... + """The ID of the snapshot.""" + volume_size: int | None = ... + """The size of the volume, in GiB.""" + volume_type: str | None = ... + """The volume type.""" + throughput: int | None = ... + """The throughput that the volume supports, in MiB/s.""" + volume_initialization_rate: int | None = ... + """ + The Amazon EBS Provisioned Rate for Volume Initialization (volume + initialization rate) specified for the volume, in MiB/s. If no volume + initialization rate was specified, the value is `null`. + """ + ebs_card_index: int | None = ... + """ + The index of the EBS card. Some instance types support multiple EBS + cards. The default EBS card index is 0. + """ + +@dataclass(kw_only=True) +class LaunchTemplateEbsBlockDeviceRequest(_SerdeShape): + """The parameters for a block device for an EBS volume.""" + + encrypted: bool | None = ... + """ + Indicates whether the EBS volume is encrypted. Encrypted volumes can + only be attached to instances that support Amazon EBS encryption. If you + are creating a volume from a snapshot, you can't specify an encryption + value. + """ + delete_on_termination: bool | None = ... + """Indicates whether the EBS volume is deleted on instance termination.""" + iops: int | None = ... + """ + The number of I/O operations per second (IOPS). For `gp3`, `io1`, and + `io2` volumes, this represents the number of IOPS that are provisioned + for the volume. For `gp2` volumes, this represents the baseline + performance of the volume and the rate at which the volume accumulates + I/O credits for bursting. + + The following are the supported values for each volume type: + + - `gp3`: 3,000 - 80,000 IOPS + + - `io1`: 100 - 64,000 IOPS + + - `io2`: 100 - 256,000 IOPS + + For `io2` volumes, you can achieve up to 256,000 IOPS on [instances + built on the Nitro + System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html). + On other instances, you can achieve performance up to 32,000 IOPS. + + This parameter is supported for `io1`, `io2`, and `gp3` volumes only. + """ + kms_key_id: str | None = ... + """ + Identifier (key ID, key alias, key ARN, or alias ARN) of the customer + managed KMS key to use for EBS encryption. + """ + snapshot_id: str | None = ... + """The ID of the snapshot.""" + volume_size: int | None = ... + """ + The size of the volume, in GiBs. You must specify either a snapshot ID + or a volume size. The following are the supported volumes sizes for each + volume type: + + - `gp2`: 1 - 16,384 GiB + + - `gp3`: 1 - 65,536 GiB + + - `io1`: 4 - 16,384 GiB + + - `io2`: 4 - 65,536 GiB + + - `st1` and `sc1`: 125 - 16,384 GiB + + - `standard`: 1 - 1024 GiB + """ + volume_type: str | None = ... + """ + The volume type. For more information, see [Amazon EBS volume + types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) + in the *Amazon EBS User Guide*. + """ + throughput: int | None = ... + """ + The throughput to provision for a `gp3` volume, with a maximum of 2,000 + MiB/s. + + Valid Range: Minimum value of 125. Maximum value of 2,000. + """ + volume_initialization_rate: int | None = ... + """ + Specifies the Amazon EBS Provisioned Rate for Volume Initialization + (volume initialization rate), in MiB/s, at which to download the + snapshot blocks from Amazon S3 to the volume. This is also known as + *volume initialization*. Specifying a volume initialization rate ensures + that the volume is initialized at a predictable and consistent rate + after creation. + + This parameter is supported only for volumes created from snapshots. + Omit this parameter if: + + - You want to create the volume using fast snapshot restore. You must + specify a snapshot that is enabled for fast snapshot restore. In this + case, the volume is fully initialized at creation. + + Note: + If you specify a snapshot that is enabled for fast snapshot restore + and a volume initialization rate, the volume will be initialized at + the specified rate instead of fast snapshot restore. + + - You want to create a volume that is initialized at the default rate. + + For more information, see [Initialize Amazon EBS + volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) + in the *Amazon EC2 User Guide*. + + Valid range: 100 - 300 MiB/s + """ + ebs_card_index: int | None = ... + """ + The index of the EBS card. Some instance types support multiple EBS + cards. The default EBS card index is 0. + """ + +@dataclass(kw_only=True) +class LaunchTemplateElasticInferenceAccelerator(_SerdeShape): + """ + Note: + Amazon Elastic Inference is no longer available. + + Describes an elastic inference accelerator. + """ + + type: str | None = ... + """ + The type of elastic inference accelerator. The possible values are + eia1.medium, eia1.large, and eia1.xlarge. + """ + count: int | None = ... + """The number of elastic inference accelerators to attach to the instance.""" + +@dataclass(kw_only=True) +class LaunchTemplateElasticInferenceAcceleratorResponse(_SerdeShape): + """ + Note: + Amazon Elastic Inference is no longer available. + + Describes an elastic inference accelerator. + """ + + type: str | None = ... + """ + The type of elastic inference accelerator. The possible values are + eia1.medium, eia1.large, and eia1.xlarge. + """ + count: int | None = ... + """The number of elastic inference accelerators to attach to the instance.""" + +@dataclass(kw_only=True) +class LaunchTemplateEnaSrdSpecification(_SerdeShape): + """ + ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) + technology to increase the maximum bandwidth used per stream and + minimize tail latency of network traffic between EC2 instances. With ENA + Express, you can communicate between two EC2 instances in the same + subnet within the same account, or in different accounts. Both sending + and receiving instances must have ENA Express enabled. + + To improve the reliability of network packet delivery, ENA Express + reorders network packets on the receiving end by default. However, some + UDP-based applications are designed to handle network packets that are + out of order to reduce the overhead for packet delivery at the network + layer. When ENA Express is enabled, you can specify whether UDP network + traffic uses it. + """ + + ena_srd_enabled: bool | None = ... + """Indicates whether ENA Express is enabled for the network interface.""" + ena_srd_udp_specification: LaunchTemplateEnaSrdUdpSpecification | None = ... + """Configures ENA Express for UDP network traffic.""" + +@dataclass(kw_only=True) +class LaunchTemplateEnaSrdUdpSpecification(_SerdeShape): + """ + ENA Express is compatible with both TCP and UDP transport protocols. + When it's enabled, TCP traffic automatically uses it. However, some + UDP-based applications are designed to handle network packets that are + out of order, without a need for retransmission, such as live video + broadcasting or other near-real-time applications. For UDP traffic, you + can specify whether to use ENA Express, based on your application + environment needs. + """ + + ena_srd_udp_enabled: bool | None = ... + """ + Indicates whether UDP traffic to and from the instance uses ENA Express. + To specify this setting, you must first enable ENA Express. + """ + +@dataclass(kw_only=True) +class LaunchTemplateEnclaveOptions(_SerdeShape): + """ + Indicates whether the instance is enabled for Amazon Web Services Nitro + Enclaves. + """ + + enabled: bool | None = ... + """ + If this parameter is set to `true`, the instance is enabled for Amazon + Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web + Services Nitro Enclaves. + """ + +@dataclass(kw_only=True) +class LaunchTemplateEnclaveOptionsRequest(_SerdeShape): + """ + Indicates whether the instance is enabled for Amazon Web Services Nitro + Enclaves. For more information, see [What is Nitro + Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) + in the *Amazon Web Services Nitro Enclaves User Guide*. + """ + + enabled: bool | None = ... + """ + To enable the instance for Amazon Web Services Nitro Enclaves, set this + parameter to `true`. + """ + +class LaunchTemplateErrorCode(UnknownEnumMixin, StrEnum): + LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST = "launchTemplateIdDoesNotExist" + LAUNCH_TEMPLATE_ID_MALFORMED = "launchTemplateIdMalformed" + LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST = "launchTemplateNameDoesNotExist" + LAUNCH_TEMPLATE_NAME_MALFORMED = "launchTemplateNameMalformed" + LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST = "launchTemplateVersionDoesNotExist" + UNEXPECTED_ERROR = "unexpectedError" + +@dataclass(kw_only=True) +class LaunchTemplateHibernationOptions(_SerdeShape): + """Indicates whether an instance is configured for hibernation.""" + + configured: bool | None = ... + """ + If this parameter is set to `true`, the instance is enabled for + hibernation; otherwise, it is not enabled for hibernation. + """ + +@dataclass(kw_only=True) +class LaunchTemplateHibernationOptionsRequest(_SerdeShape): + """ + Indicates whether the instance is configured for hibernation. This + parameter is valid only if the instance meets the [hibernation + prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). + """ + + configured: bool | None = ... + """ + If you set this parameter to `true`, the instance is enabled for + hibernation. + + Default: `false` + """ + +class LaunchTemplateHttpTokensState(UnknownEnumMixin, StrEnum): + OPTIONAL = "optional" + REQUIRED = "required" + +@dataclass(kw_only=True) +class LaunchTemplateIamInstanceProfileSpecification(_SerdeShape): + """Describes an IAM instance profile.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the instance profile.""" + name: str | None = ... + """The name of the instance profile.""" + +@dataclass(kw_only=True) +class LaunchTemplateIamInstanceProfileSpecificationRequest(_SerdeShape): + """An IAM instance profile.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the instance profile.""" + name: str | None = ... + """The name of the instance profile.""" + +@dataclass(kw_only=True) +class LaunchTemplateInstanceMaintenanceOptions(_SerdeShape): + """The maintenance options of your instance.""" + + auto_recovery: str | None = ... + """ + Disables the automatic recovery behavior of your instance or sets it to + default. + """ + +@dataclass(kw_only=True) +class LaunchTemplateInstanceMaintenanceOptionsRequest(_SerdeShape): + """The maintenance options of your instance.""" + + auto_recovery: str | None = ... + """ + Disables the automatic recovery behavior of your instance or sets it to + default. For more information, see [Simplified automatic + recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery). + """ + +@dataclass(kw_only=True) +class LaunchTemplateInstanceMarketOptions(_SerdeShape): + """The market (purchasing) option for the instances.""" + + market_type: str | None = ... + """The market type.""" + spot_options: LaunchTemplateSpotMarketOptions | None = ... + """The options for Spot Instances.""" + +@dataclass(kw_only=True) +class LaunchTemplateInstanceMarketOptionsRequest(_SerdeShape): + """The market (purchasing) option for the instances.""" + + market_type: str | None = ... + """The market type.""" + spot_options: LaunchTemplateSpotMarketOptionsRequest | None = ... + """The options for Spot Instances.""" + +class LaunchTemplateInstanceMetadataEndpointState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + +@dataclass(kw_only=True) +class LaunchTemplateInstanceMetadataOptions(_SerdeShape): + """ + The metadata options for the instance. For more information, see [Use + instance metadata to manage your EC2 + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) + in the *Amazon EC2 User Guide*. + """ + + state: str | None = ... + """ + The state of the metadata option changes. + + `pending` - The metadata options are being updated and the instance is + not ready to process metadata traffic with the new selection. + + `applied` - The metadata options have been successfully applied on the + instance. + """ + http_tokens: str | None = ... + """ + Indicates whether IMDSv2 is required. + + - `optional` - IMDSv2 is optional. You can choose whether to send a + session token in your instance metadata retrieval requests. If you + retrieve IAM role credentials without a session token, you receive the + IMDSv1 role credentials. If you retrieve IAM role credentials using a + valid session token, you receive the IMDSv2 role credentials. + + - `required` - IMDSv2 is required. You must send a session token in your + instance metadata retrieval requests. With this option, retrieving the + IAM role credentials always returns IMDSv2 credentials; IMDSv1 + credentials are not available. + """ + http_put_response_hop_limit: int | None = ... + """ + The desired HTTP PUT response hop limit for instance metadata requests. + The larger the number, the further instance metadata requests can + travel. + + Possible values: Integers from 1 to 64 + """ + http_endpoint: str | None = ... + """ + Enables or disables the HTTP metadata endpoint on your instances. If the + parameter is not specified, the default state is `enabled`. + + Note: + If you specify a value of `disabled`, you will not be able to access + your instance metadata. + """ + http_protocol_ipv6: str | None = ... + """ + Enables or disables the IPv6 endpoint for the instance metadata service. + + Default: `disabled` + """ + instance_metadata_tags: str | None = ... + """ + Set to `enabled` to allow access to instance tags from the instance + metadata. Set to `disabled` to turn off access to instance tags from the + instance metadata. For more information, see [View tags for your EC2 + instances using instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). + + Default: `disabled` + """ + +@dataclass(kw_only=True) +class LaunchTemplateInstanceMetadataOptionsRequest(_SerdeShape): + """ + The metadata options for the instance. For more information, see [Use + instance metadata to manage your EC2 + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) + in the *Amazon EC2 User Guide*. + """ + + http_tokens: str | None = ... + """ + Indicates whether IMDSv2 is required. + + - `optional` - IMDSv2 is optional. You can choose whether to send a + session token in your instance metadata retrieval requests. If you + retrieve IAM role credentials without a session token, you receive the + IMDSv1 role credentials. If you retrieve IAM role credentials using a + valid session token, you receive the IMDSv2 role credentials. + + - `required` - IMDSv2 is required. You must send a session token in your + instance metadata retrieval requests. With this option, retrieving the + IAM role credentials always returns IMDSv2 credentials; IMDSv1 + credentials are not available. + + Default: If the value of `ImdsSupport` for the Amazon Machine Image + (AMI) for your instance is `v2.0`, the default is `required`. + """ + http_put_response_hop_limit: int | None = ... + """ + The desired HTTP PUT response hop limit for instance metadata requests. + The larger the number, the further instance metadata requests can + travel. + + Default: `1` + + Possible values: Integers from 1 to 64 + """ + http_endpoint: str | None = ... + """ + Enables or disables the HTTP metadata endpoint on your instances. If the + parameter is not specified, the default state is `enabled`. + + Note: + If you specify a value of `disabled`, you will not be able to access + your instance metadata. + """ + http_protocol_ipv6: str | None = ... + """ + Enables or disables the IPv6 endpoint for the instance metadata service. + + Default: `disabled` + """ + instance_metadata_tags: str | None = ... + """ + Set to `enabled` to allow access to instance tags from the instance + metadata. Set to `disabled` to turn off access to instance tags from the + instance metadata. For more information, see [View tags for your EC2 + instances using instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). + + Default: `disabled` + """ + +class LaunchTemplateInstanceMetadataOptionsState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + APPLIED = "applied" + +class LaunchTemplateInstanceMetadataProtocolIpv6(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + +class LaunchTemplateInstanceMetadataTagsState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + ENABLED = "enabled" + +@dataclass(kw_only=True) +class LaunchTemplateInstanceNetworkInterfaceSpecification(_SerdeShape): + """Describes a network interface.""" + + associate_carrier_ip_address: bool | None = ... + """ + Indicates whether to associate a Carrier IP address with eth0 for a new + network interface. + + Use this option when you launch an instance in a Wavelength Zone and + want to associate a Carrier IP address with the network interface. For + more information about Carrier IP addresses, see [Carrier IP + address](https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) + in the *Wavelength Developer Guide*. + """ + associate_public_ip_address: bool | None = ... + """ + Indicates whether to associate a public IPv4 address with eth0 for a new + network interface. + + Amazon Web Services charges for all public IPv4 addresses, including + public IPv4 addresses associated with running instances and Elastic IP + addresses. For more information, see the *Public IPv4 Address* tab on + the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). + """ + delete_on_termination: bool | None = ... + """ + Indicates whether the network interface is deleted when the instance is + terminated. + """ + description: str | None = ... + """A description for the network interface.""" + device_index: int | None = ... + """The device index for the network interface attachment.""" + groups: list[str] | None = ... + """The IDs of one or more security groups.""" + interface_type: str | None = ... + """The type of network interface.""" + ipv6_address_count: int | None = ... + """The number of IPv6 addresses for the network interface.""" + ipv6_addresses: list[InstanceIpv6Address] | None = ... + """The IPv6 addresses for the network interface.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + private_ip_address: str | None = ... + """The primary private IPv4 address of the network interface.""" + private_ip_addresses: list[PrivateIpAddressSpecification] | None = ... + """One or more private IPv4 addresses.""" + secondary_private_ip_address_count: int | None = ... + """ + The number of secondary private IPv4 addresses for the network + interface. + """ + subnet_id: str | None = ... + """The ID of the subnet for the network interface.""" + network_card_index: int | None = ... + """The index of the network card.""" + ipv4_prefixes: list[Ipv4PrefixSpecificationResponse] | None = ... + """One or more IPv4 prefixes assigned to the network interface.""" + ipv4_prefix_count: int | None = ... + """ + The number of IPv4 prefixes that Amazon Web Services automatically + assigned to the network interface. + """ + ipv6_prefixes: list[Ipv6PrefixSpecificationResponse] | None = ... + """One or more IPv6 prefixes assigned to the network interface.""" + ipv6_prefix_count: int | None = ... + """ + The number of IPv6 prefixes that Amazon Web Services automatically + assigned to the network interface. + """ + primary_ipv6: bool | None = ... + """ + The primary IPv6 address of the network interface. When you enable an + IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made + the primary IPv6 address until the instance is terminated or the network + interface is detached. For more information about primary IPv6 + addresses, see + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). + """ + ena_srd_specification: LaunchTemplateEnaSrdSpecification | None = ... + """ + Contains the ENA Express settings for instances launched from your + launch template. + """ + connection_tracking_specification: ConnectionTrackingSpecification | None = ... + """ + A security group connection tracking specification that enables you to + set the timeout for connection tracking on an Elastic network interface. + For more information, see [Idle connection tracking + timeout](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the *Amazon EC2 User Guide*. + """ + ena_queue_count: int | None = ... + """The number of ENA queues created with the instance.""" + +@dataclass(kw_only=True) +class LaunchTemplateInstanceNetworkInterfaceSpecificationRequest(_SerdeShape): + """The parameters for a network interface.""" + + associate_carrier_ip_address: bool | None = ... + """ + Associates a Carrier IP address with eth0 for a new network interface. + + Use this option when you launch an instance in a Wavelength Zone and + want to associate a Carrier IP address with the network interface. For + more information about Carrier IP addresses, see [Carrier IP + addresses](https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) + in the *Wavelength Developer Guide*. + """ + associate_public_ip_address: bool | None = ... + """ + Associates a public IPv4 address with eth0 for a new network interface. + + Amazon Web Services charges for all public IPv4 addresses, including + public IPv4 addresses associated with running instances and Elastic IP + addresses. For more information, see the *Public IPv4 Address* tab on + the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). + """ + delete_on_termination: bool | None = ... + """ + Indicates whether the network interface is deleted when the instance is + terminated. + """ + description: str | None = ... + """A description for the network interface.""" + device_index: int | None = ... + """ + The device index for the network interface attachment. The primary + network interface has a device index of 0. Each network interface is of + type `interface`, you must specify a device index. If you create a + launch template that includes secondary network interfaces but not a + primary network interface, then you must add a primary network interface + as a launch parameter when you launch an instance from the template. + """ + groups: list[str] | None = ... + """The IDs of one or more security groups.""" + interface_type: str | None = ... + """ + The type of network interface. To create an Elastic Fabric Adapter + (EFA), specify `efa` or `efa`. For more information, see [Elastic Fabric + Adapter for AI/ML and HPC workloads on Amazon + EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) in + the *Amazon EC2 User Guide*. + + If you are not creating an EFA, specify `interface` or omit this + parameter. + + If you specify `efa-only`, do not assign any IP addresses to the network + interface. EFA-only network interfaces do not support IP addresses. + + Valid values: `interface` | `efa` | `efa-only` + """ + ipv6_address_count: int | None = ... + """ + The number of IPv6 addresses to assign to a network interface. Amazon + EC2 automatically selects the IPv6 addresses from the subnet range. You + can't use this option if specifying specific IPv6 addresses. + """ + ipv6_addresses: list[InstanceIpv6AddressRequest] | None = ... + """ + One or more specific IPv6 addresses from the IPv6 CIDR block range of + your subnet. You can't use this option if you're specifying a number + of IPv6 addresses. + """ + network_interface_id: str | None = ... + """The ID of the network interface.""" + private_ip_address: str | None = ... + """The primary private IPv4 address of the network interface.""" + private_ip_addresses: list[PrivateIpAddressSpecification] | None = ... + """One or more private IPv4 addresses.""" + secondary_private_ip_address_count: int | None = ... + """ + The number of secondary private IPv4 addresses to assign to a network + interface. + """ + subnet_id: str | None = ... + """The ID of the subnet for the network interface.""" + network_card_index: int | None = ... + """ + The index of the network card. Some instance types support multiple + network cards. The primary network interface must be assigned to network + card index 0. The default is network card index 0. + """ + ipv4_prefixes: list[Ipv4PrefixSpecificationRequest] | None = ... + """ + One or more IPv4 prefixes to be assigned to the network interface. You + cannot use this option if you use the `Ipv4PrefixCount` option. + """ + ipv4_prefix_count: int | None = ... + """ + The number of IPv4 prefixes to be automatically assigned to the network + interface. You cannot use this option if you use the `Ipv4Prefix` + option. + """ + ipv6_prefixes: list[Ipv6PrefixSpecificationRequest] | None = ... + """ + One or more IPv6 prefixes to be assigned to the network interface. You + cannot use this option if you use the `Ipv6PrefixCount` option. + """ + ipv6_prefix_count: int | None = ... + """ + The number of IPv6 prefixes to be automatically assigned to the network + interface. You cannot use this option if you use the `Ipv6Prefix` + option. + """ + primary_ipv6: bool | None = ... + """ + The primary IPv6 address of the network interface. When you enable an + IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made + the primary IPv6 address until the instance is terminated or the network + interface is detached. For more information about primary IPv6 + addresses, see + [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). + """ + ena_srd_specification: EnaSrdSpecificationRequest | None = ... + """Configure ENA Express settings for your launch template.""" + connection_tracking_specification: ( + ConnectionTrackingSpecificationRequest | None + ) = ... + """ + A security group connection tracking specification that enables you to + set the timeout for connection tracking on an Elastic network interface. + For more information, see [Idle connection tracking + timeout](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the *Amazon EC2 User Guide*. + """ + ena_queue_count: int | None = ... + """The number of ENA queues to be created with the instance.""" + +@dataclass(kw_only=True) +class LaunchTemplateInstanceSecondaryInterfaceSpecification(_SerdeShape): + """Describes a secondary interface specification in a launch template.""" + + delete_on_termination: bool | None = ... + """ + Indicates whether the secondary interface is deleted when the instance + is terminated. + + The only supported value for this field is `true`. + """ + device_index: int | None = ... + """The device index for the secondary interface attachment.""" + private_ip_addresses: ( + list[SecondaryInterfacePrivateIpAddressSpecification] | None + ) = ... + """ + The private IPv4 addresses to assign to the secondary interface. + + If you specify `privateIpAddresses` you cannot specify + `privateIpAddressCount` + """ + private_ip_address_count: int | None = ... + """ + The number of private IPv4 addresses to assign to the secondary + interface. + + If you specify `privateIpAddressCount` you cannot specify + `privateIpAddresses` + """ + secondary_subnet_id: str | None = ... + """The ID of the secondary subnet.""" + interface_type: str | None = ... + """The type of secondary interface.""" + network_card_index: int | None = ... + """The index of the network card.""" + +@dataclass(kw_only=True) +class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest(_SerdeShape): + """ + Describes a secondary interface specification for a launch template + request. + """ + + delete_on_termination: bool | None = ... + """ + Indicates whether the secondary interface is deleted when the instance + is terminated. + + The only supported value for this field is `true`. + """ + device_index: int | None = ... + """The device index for the secondary interface attachment.""" + private_ip_addresses: ( + list[SecondaryInterfacePrivateIpAddressSpecificationRequest] | None + ) = ... + """The private IPv4 addresses to assign to the secondary interface.""" + private_ip_address_count: int | None = ... + """ + The number of private IPv4 addresses to assign to the secondary + interface. + """ + secondary_subnet_id: str | None = ... + """The ID of the secondary subnet.""" + interface_type: str | None = ... + """The type of secondary interface.""" + network_card_index: int | None = ... + """The index of the network card.""" + +@dataclass(kw_only=True) +class LaunchTemplateLicenseConfiguration(_SerdeShape): + """Describes a license configuration.""" + + license_configuration_arn: str | None = ... + """The Amazon Resource Name (ARN) of the license configuration.""" + +@dataclass(kw_only=True) +class LaunchTemplateLicenseConfigurationRequest(_SerdeShape): + """Describes a license configuration.""" + + license_configuration_arn: str | None = ... + """The Amazon Resource Name (ARN) of the license configuration.""" + +@dataclass(kw_only=True) +class LaunchTemplateNetworkPerformanceOptions(_SerdeShape): + """ + With network performance options, you can adjust your bandwidth + preferences to meet the needs of the workload that runs on your instance + at launch. + """ + + bandwidth_weighting: str | None = ... + """ + When you configure network bandwidth weighting, you can boost baseline + bandwidth for either networking or EBS by up to 25%. The total available + baseline bandwidth for your instance remains the same. The default + option uses the standard bandwidth configuration for your instance type. + """ + +@dataclass(kw_only=True) +class LaunchTemplateNetworkPerformanceOptionsRequest(_SerdeShape): + """ + When you configure network performance options in your launch template, + your instance is geared for performance improvements based on the + workload that it runs as soon as it's available. + """ + + bandwidth_weighting: str | None = ... + """ + Specify the bandwidth weighting option to boost the associated type of + baseline bandwidth, as follows: + + default + + : This option uses the standard bandwidth configuration for your + instance type. + + vpc-1 + + : This option boosts your networking baseline bandwidth and reduces your + EBS baseline bandwidth. + + ebs-1 + + : This option boosts your EBS baseline bandwidth and reduces your + networking baseline bandwidth. + """ + +@dataclass(kw_only=True) +class LaunchTemplateOverrides(_SerdeShape): + """Describes overrides for a launch template.""" + + instance_type: str | None = ... + """The instance type.""" + spot_price: str | None = ... + """ + The maximum price per unit hour that you are willing to pay for a Spot + Instance. We do not recommend using this parameter because it can lead + to increased interruptions. If you do not specify this parameter, you + will pay the current Spot price. + + Warning: + If you specify a maximum price, your instances will be interrupted more + frequently than if you do not specify this parameter. + """ + subnet_id: str | None = ... + """The ID of the subnet in which to launch the instances.""" + availability_zone: str | None = ... + """ + The Availability Zone in which to launch the instances. For example, + `us-east-2a`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + weighted_capacity: float | None = ... + """ + The number of units provided by the specified instance type. These are + the same units that you chose to set the target capacity in terms of + instances, or a performance characteristic such as vCPUs, memory, or + I/O. + + If the target capacity divided by this value is not a whole number, + Amazon EC2 rounds the number of instances to the next whole number. If + this value is not specified, the default is 1. + + Note: + When specifying weights, the price used in the `lowestPrice` and + `priceCapacityOptimized` allocation strategies is per *unit* hour (where + the instance price is divided by the specified weight). However, if all + the specified weights are above the requested `TargetCapacity`, + resulting in only 1 instance being launched, the price used is per + *instance* hour. + """ + priority: float | None = ... + """ + The priority for the launch template override. The highest priority is + launched first. + + If `OnDemandAllocationStrategy` is set to `prioritized`, Spot Fleet uses + priority to determine which launch template override to use first in + fulfilling On-Demand capacity. + + If the Spot `AllocationStrategy` is set to + `capacityOptimizedPrioritized`, Spot Fleet uses priority on a + best-effort basis to determine which launch template override to use in + fulfilling Spot capacity, but optimizes for capacity first. + + Valid values are whole numbers starting at `0`. The lower the number, + the higher the priority. If no number is set, the launch template + override has the lowest priority. You can set the same priority for + different launch template overrides. + """ + instance_requirements: InstanceRequirements | None = ... + """ + The instance requirements. When you specify instance requirements, + Amazon EC2 will identify instance types with the provided requirements, + and then use your On-Demand and Spot allocation strategies to launch + instances from these instance types, in the same way as when you specify + a list of instance types. + + Note: + If you specify `InstanceRequirements`, you can't specify + `InstanceType`. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone in which to launch the instances. For + example, `use2-az1`. + + Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in + the request, but not both. + """ + +@dataclass(kw_only=True) +class LaunchTemplatePlacement(_SerdeShape): + """Describes the placement of an instance.""" + + availability_zone: str | None = ... + """The Availability Zone of the instance.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone of the instance.""" + affinity: str | None = ... + """The affinity setting for the instance on the Dedicated Host.""" + group_name: str | None = ... + """The name of the placement group for the instance.""" + host_id: str | None = ... + """The ID of the Dedicated Host for the instance.""" + tenancy: str | None = ... + """ + The tenancy of the instance. An instance with a tenancy of `dedicated` + runs on single-tenant hardware. + """ + spread_domain: str | None = ... + """Reserved for future use.""" + host_resource_group_arn: str | None = ... + """The ARN of the host resource group in which to launch the instances.""" + partition_number: int | None = ... + """ + The number of the partition the instance should launch in. Valid only if + the placement group strategy is set to `partition`. + """ + group_id: str | None = ... + """ + The Group ID of the placement group. You must specify the Placement + Group **Group ID** to launch an instance in a shared placement group. + """ + +@dataclass(kw_only=True) +class LaunchTemplatePlacementRequest(_SerdeShape): + """Describes the placement of an instance.""" + + availability_zone: str | None = ... + """ + The Availability Zone for the instance. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone for the instance. + + Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but + not both + """ + affinity: str | None = ... + """The affinity setting for an instance on a Dedicated Host.""" + group_name: str | None = ... + """The name of the placement group for the instance.""" + host_id: str | None = ... + """The ID of the Dedicated Host for the instance.""" + tenancy: str | None = ... + """ + The tenancy of the instance. An instance with a tenancy of dedicated + runs on single-tenant hardware. + """ + spread_domain: str | None = ... + """Reserved for future use.""" + host_resource_group_arn: str | None = ... + """ + The ARN of the host resource group in which to launch the instances. If + you specify a host resource group ARN, omit the **Tenancy** parameter or + set it to `host`. + """ + partition_number: int | None = ... + """ + The number of the partition the instance should launch in. Valid only if + the placement group strategy is set to `partition`. + """ + group_id: str | None = ... + """ + The Group Id of a placement group. You must specify the Placement Group + **Group Id** to launch an instance in a shared placement group. + """ + +@dataclass(kw_only=True) +class LaunchTemplatePrivateDnsNameOptions(_SerdeShape): + """Describes the options for instance hostnames.""" + + hostname_type: str | None = ... + """The type of hostname to assign to an instance.""" + enable_resource_name_dns_a_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS A records. + """ + enable_resource_name_dns_aaaa_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS AAAA records. + """ + +@dataclass(kw_only=True) +class LaunchTemplatePrivateDnsNameOptionsRequest(_SerdeShape): + """Describes the options for instance hostnames.""" + + hostname_type: str | None = ... + """ + The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an + instance DNS name must be based on the instance IPv4 address. For IPv6 + native subnets, an instance DNS name must be based on the instance ID. + For dual-stack subnets, you can specify whether DNS names use the + instance IPv4 address or the instance ID. + """ + enable_resource_name_dns_a_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS A records. + """ + enable_resource_name_dns_aaaa_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS AAAA records. + """ + +@dataclass(kw_only=True) +class LaunchTemplatesMonitoring(_SerdeShape): + """Describes the monitoring for the instance.""" + + enabled: bool | None = ... + """ + Indicates whether detailed monitoring is enabled. Otherwise, basic + monitoring is enabled. + """ + +@dataclass(kw_only=True) +class LaunchTemplatesMonitoringRequest(_SerdeShape): + """Describes the monitoring for the instance.""" + + enabled: bool | None = ... + """ + Specify `true` to enable detailed monitoring. Otherwise, basic + monitoring is enabled. + """ + +@dataclass(kw_only=True) +class LaunchTemplateSpecification(_SerdeShape): + """Describes the launch template to use.""" + + launch_template_id: str | None = ... + """ + The ID of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + launch_template_name: str | None = ... + """ + The name of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + version: str | None = ... + """ + The launch template version number, `$Latest`, or `$Default`. + + A value of `$Latest` uses the latest version of the launch template. + + A value of `$Default` uses the default version of the launch template. + + Default: The default version of the launch template. + """ + +@dataclass(kw_only=True) +class LaunchTemplateSpotMarketOptions(_SerdeShape): + """The options for Spot Instances.""" + + max_price: str | None = ... + """ + The maximum hourly price you're willing to pay for a Spot Instance. We + do not recommend using this parameter because it can lead to increased + interruptions. If you do not specify this parameter, you will pay the + current Spot price. If you do specify this parameter, it must be more + than USD $0.001. Specifying a value below USD $0.001 will result in an + `InvalidParameterValue` error message when the launch template is used + to launch an instance. + """ + spot_instance_type: str | None = ... + """The Spot Instance request type.""" + block_duration_minutes: int | None = ... + """ + The required duration for the Spot Instances (also known as Spot + blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, + 240, 300, or 360). + """ + valid_until: datetime | None = ... + """ + The end date of the request. For a one-time request, the request remains + active until all instances launch, the request is canceled, or this date + is reached. If the request is persistent, it remains active until it is + canceled or this date and time is reached. + """ + instance_interruption_behavior: str | None = ... + """The behavior when a Spot Instance is interrupted.""" + +@dataclass(kw_only=True) +class LaunchTemplateSpotMarketOptionsRequest(_SerdeShape): + """The options for Spot Instances.""" + + max_price: str | None = ... + """ + The maximum hourly price you're willing to pay for a Spot Instance. We + do not recommend using this parameter because it can lead to increased + interruptions. If you do not specify this parameter, you will pay the + current Spot price. If you do specify this parameter, it must be more + than USD $0.001. Specifying a value below USD $0.001 will result in an + `InvalidParameterValue` error message when the launch template is used + to launch an instance. + + Warning: + If you specify a maximum price, your Spot Instances will be interrupted + more frequently than if you do not specify this parameter. + """ + spot_instance_type: str | None = ... + """The Spot Instance request type.""" + block_duration_minutes: int | None = ... + """Deprecated.""" + valid_until: datetime | None = ... + """ + The end date of the request, in UTC format (*YYYY-MM-DD*T*HH:MM:SS*Z). + Supported only for persistent requests. + + - For a persistent request, the request remains active until the + `ValidUntil` date and time is reached. Otherwise, the request remains + active until you cancel it. + + - For a one-time request, `ValidUntil` is not supported. The request + remains active until all instances launch or you cancel the request. + + Default: 7 days from the current date + """ + instance_interruption_behavior: str | None = ... + """ + The behavior when a Spot Instance is interrupted. The default is + `terminate`. + """ + +@dataclass(kw_only=True) +class LaunchTemplateTagSpecification(_SerdeShape): + """The tags specification for the launch template.""" + + resource_type: str | None = ... + """The type of resource to tag.""" + tags: list[Tag] | None = ... + """The tags for the resource.""" + +@dataclass(kw_only=True) +class LaunchTemplateTagSpecificationRequest(_SerdeShape): + """ + The tags specification for the resources that are created during + instance launch. + """ + + resource_type: str | None = ... + """ + The type of resource to tag. + + Valid Values lists all resource types for Amazon EC2 that can be tagged. + When you create a launch template, you can specify tags for the + following resource types only: `instance` | `volume` | + `network-interface` | `spot-instances-request`. If the instance does + not include the resource type that you specify, the instance launch + fails. For example, not all instance types include a volume. + + To tag a resource after it has been created, see + [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + """ + tags: list[Tag] | None = ... + """The tags to apply to the resource.""" + +@dataclass(kw_only=True) +class LaunchTemplateVersion(_SerdeShape): + """Describes a launch template version.""" + + launch_template_id: str | None = ... + """The ID of the launch template.""" + launch_template_name: str | None = ... + """The name of the launch template.""" + version_number: int | None = ... + """The version number.""" + version_description: str | None = ... + """The description for the version.""" + create_time: datetime | None = ... + """The time the version was created.""" + created_by: str | None = ... + """The principal that created the version.""" + default_version: bool | None = ... + """Indicates whether the version is the default version.""" + launch_template_data: ResponseLaunchTemplateData | None = ... + """Information about the launch template.""" + operator: OperatorResponse | None = ... + """The entity that manages the launch template.""" + +@dataclass(kw_only=True) +class LicenseConfiguration(_SerdeShape): + """Describes a license configuration.""" + + license_configuration_arn: str | None = ... + """The Amazon Resource Name (ARN) of the license configuration.""" + +@dataclass(kw_only=True) +class LicenseConfigurationRequest(_SerdeShape): + """Describes a license configuration.""" + + license_configuration_arn: str | None = ... + """The Amazon Resource Name (ARN) of the license configuration.""" + +@dataclass(kw_only=True) +class ListImagesInRecycleBinInput(_SerdeShape): + """Dataclass for ListImagesInRecycleBinInput structure.""" + + image_ids: list[str] | None = ... + """ + The IDs of the AMIs to list. Omit this parameter to list all of the AMIs + that are in the Recycle Bin. You can specify up to 20 IDs in a single + request. + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ListImagesInRecycleBinOutput(_SerdeShape): + """Dataclass for ListImagesInRecycleBinOutput structure.""" + + images: list[ImageRecycleBinInfo] | None = ... + """Information about the AMIs.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ListingState(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + SOLD = "sold" + CANCELLED = "cancelled" + PENDING = "pending" + +class ListingStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + PENDING = "pending" + CANCELLED = "cancelled" + CLOSED = "closed" + +@dataclass(kw_only=True) +class ListSnapshotsInRecycleBinInput(_SerdeShape): + """Dataclass for ListSnapshotsInRecycleBinInput structure.""" + + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + snapshot_ids: list[str] | None = ... + """ + The IDs of the snapshots to list. Omit this parameter to list all of the + snapshots that are in the Recycle Bin. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ListSnapshotsInRecycleBinOutput(_SerdeShape): + """Dataclass for ListSnapshotsInRecycleBinOutput structure.""" + + snapshots: list[SnapshotRecycleBinInfo] | None = ... + """Information about the snapshots.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListVolumesInRecycleBinInput(_SerdeShape): + """Dataclass for ListVolumesInRecycleBinInput structure.""" + + volume_ids: list[str] | None = ... + """ + The IDs of the volumes to list. Omit this parameter to list all of the + volumes that are in the Recycle Bin. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + max_results: int | None = ... + """ + 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 + [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). + + Valid range: 5 - 500 + """ + next_token: str | None = ... + """ + The token returned from a previous paginated request. Pagination + continues from the end of the items returned by the previous request. + """ + +@dataclass(kw_only=True) +class ListVolumesInRecycleBinOutput(_SerdeShape): + """Dataclass for ListVolumesInRecycleBinOutput structure.""" + + volumes: list[VolumeRecycleBinInfo] | None = ... + """Information about the volumes.""" + next_token: str | None = ... + """ + The token to include in another request to get the next page of items. + This value is `null` when there are no more items to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LoadBalancersConfig(_SerdeShape): + """ + Describes the Classic Load Balancers and target groups to attach to a + Spot Fleet request. + """ + + classic_load_balancers_config: ClassicLoadBalancersConfig | None = ... + """The Classic Load Balancers.""" + target_groups_config: TargetGroupsConfig | None = ... + """The target groups.""" + +@dataclass(kw_only=True) +class LoadPermission(_SerdeShape): + """Describes a load permission.""" + + user_id: str | None = ... + """The Amazon Web Services account ID.""" + group: str | None = ... + """The name of the group.""" + +@dataclass(kw_only=True) +class LoadPermissionModifications(_SerdeShape): + """ + Describes modifications to the load permissions of an Amazon FPGA image + (AFI). + """ + + add: list[LoadPermissionRequest] | None = ... + """The load permissions to add.""" + remove: list[LoadPermissionRequest] | None = ... + """The load permissions to remove.""" + +@dataclass(kw_only=True) +class LoadPermissionRequest(_SerdeShape): + """Describes a load permission.""" + + group: str | None = ... + """The name of the group.""" + user_id: str | None = ... + """The Amazon Web Services account ID.""" + +@dataclass(kw_only=True) +class LocalGateway(_SerdeShape): + """Describes a local gateway.""" + + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + outpost_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the local gateway.""" + state: str | None = ... + """The state of the local gateway.""" + tags: list[Tag] | None = ... + """The tags assigned to the local gateway.""" + +@dataclass(kw_only=True) +class LocalGatewayRoute(_SerdeShape): + """Describes a route for a local gateway route table.""" + + destination_cidr_block: str | None = ... + """The CIDR block used for destination matches.""" + local_gateway_virtual_interface_group_id: str | None = ... + """The ID of the virtual interface group.""" + type: str | None = ... + """The route type.""" + state: str | None = ... + """The state of the route.""" + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + local_gateway_route_table_arn: str | None = ... + """The Amazon Resource Name (ARN) of the local gateway route table.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the local gateway + route. + """ + subnet_id: str | None = ... + """The ID of the subnet.""" + coip_pool_id: str | None = ... + """The ID of the customer-owned address pool.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + destination_prefix_list_id: str | None = ... + """The ID of the prefix list.""" + +class LocalGatewayRouteState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + ACTIVE = "active" + BLACKHOLE = "blackhole" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class LocalGatewayRouteTable(_SerdeShape): + """Describes a local gateway route table.""" + + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + local_gateway_route_table_arn: str | None = ... + """The Amazon Resource Name (ARN) of the local gateway route table.""" + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + outpost_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the local gateway + route table. + """ + state: str | None = ... + """The state of the local gateway route table.""" + tags: list[Tag] | None = ... + """The tags assigned to the local gateway route table.""" + mode: str | None = ... + """The mode of the local gateway route table.""" + state_reason: StateReason | None = ... + """Information about the state change.""" + +class LocalGatewayRouteTableMode(UnknownEnumMixin, StrEnum): + DIRECT_VPC_ROUTING = "direct-vpc-routing" + COIP = "coip" + +@dataclass(kw_only=True) +class LocalGatewayRouteTableVirtualInterfaceGroupAssociation(_SerdeShape): + """ + Describes an association between a local gateway route table and a + virtual interface group. + """ + + local_gateway_route_table_virtual_interface_group_association_id: str | None = ... + """The ID of the association.""" + local_gateway_virtual_interface_group_id: str | None = ... + """The ID of the virtual interface group.""" + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + local_gateway_route_table_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the local gateway route table for the + virtual interface group. + """ + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the local gateway + virtual interface group association. + """ + state: str | None = ... + """The state of the association.""" + tags: list[Tag] | None = ... + """The tags assigned to the association.""" + +@dataclass(kw_only=True) +class LocalGatewayRouteTableVpcAssociation(_SerdeShape): + """Describes an association between a local gateway route table and a VPC.""" + + local_gateway_route_table_vpc_association_id: str | None = ... + """The ID of the association.""" + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + local_gateway_route_table_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the local gateway route table for the + association. + """ + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the local gateway + route table for the association. + """ + state: str | None = ... + """The state of the association.""" + tags: list[Tag] | None = ... + """The tags assigned to the association.""" + +class LocalGatewayRouteType(UnknownEnumMixin, StrEnum): + STATIC = "static" + PROPAGATED = "propagated" + +@dataclass(kw_only=True) +class LocalGatewayVirtualInterface(_SerdeShape): + """Describes a local gateway virtual interface.""" + + local_gateway_virtual_interface_id: str | None = ... + """The ID of the virtual interface.""" + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + local_gateway_virtual_interface_group_id: str | None = ... + """The ID of the local gateway virtual interface group.""" + local_gateway_virtual_interface_arn: str | None = ... + """The Amazon Resource Number (ARN) of the local gateway virtual interface.""" + outpost_lag_id: str | None = ... + """The Outpost LAG ID.""" + vlan: int | None = ... + """The ID of the VLAN.""" + local_address: str | None = ... + """The local address.""" + peer_address: str | None = ... + """The peer address.""" + local_bgp_asn: int | None = ... + """ + The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the + local gateway. + """ + peer_bgp_asn: int | None = ... + """The peer BGP ASN.""" + peer_bgp_asn_extended: int | None = ... + """The extended 32-bit ASN of the BGP peer for use with larger ASN values.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the local gateway + virtual interface. + """ + tags: list[Tag] | None = ... + """The tags assigned to the virtual interface.""" + configuration_state: str | None = ... + """The current state of the local gateway virtual interface.""" + +class LocalGatewayVirtualInterfaceConfigurationState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class LocalGatewayVirtualInterfaceGroup(_SerdeShape): + """Describes a local gateway virtual interface group.""" + + local_gateway_virtual_interface_group_id: str | None = ... + """The ID of the virtual interface group.""" + local_gateway_virtual_interface_ids: list[str] | None = ... + """The IDs of the virtual interfaces.""" + local_gateway_id: str | None = ... + """The ID of the local gateway.""" + owner_id: str | None = ... + """ + The ID of the Amazon Web Services account that owns the local gateway + virtual interface group. + """ + local_bgp_asn: int | None = ... + """ + The Autonomous System Number(ASN) for the local Border Gateway Protocol + (BGP). + """ + local_bgp_asn_extended: int | None = ... + """The extended 32-bit ASN for the local BGP configuration.""" + local_gateway_virtual_interface_group_arn: str | None = ... + """ + The Amazon Resource Number (ARN) of the local gateway virtual interface + group. + """ + tags: list[Tag] | None = ... + """The tags assigned to the virtual interface group.""" + configuration_state: str | None = ... + """The current state of the local gateway virtual interface group.""" + +class LocalGatewayVirtualInterfaceGroupConfigurationState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + INCOMPLETE = "incomplete" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +class LocalStorage(UnknownEnumMixin, StrEnum): + INCLUDED = "included" + REQUIRED = "required" + EXCLUDED = "excluded" + +class LocalStorageType(UnknownEnumMixin, StrEnum): + HDD = "hdd" + SSD = "ssd" + +class LocationType(UnknownEnumMixin, StrEnum): + REGION = "region" + AVAILABILITY_ZONE = "availability-zone" + AVAILABILITY_ZONE_ID = "availability-zone-id" + OUTPOST = "outpost" + +@dataclass(kw_only=True) +class LockedSnapshotsInfo(_SerdeShape): + """Information about a locked snapshot.""" + + owner_id: str | None = ... + """ + The account ID of the Amazon Web Services account that owns the + snapshot. + """ + snapshot_id: str | None = ... + """The ID of the snapshot.""" + lock_state: str | None = ... + """ + The state of the snapshot lock. Valid states include: + + - `compliance-cooloff` - The snapshot has been locked in compliance mode + but it is still within the cooling-off period. The snapshot can't be + deleted, but it can be unlocked and the lock settings can be modified + by users with appropriate permissions. + + - `governance` - The snapshot is locked in governance mode. The snapshot + can't be deleted, but it can be unlocked and the lock settings can be + modified by users with appropriate permissions. + + - `compliance` - The snapshot is locked in compliance mode and the + cooling-off period has expired. The snapshot can't be unlocked or + deleted. The lock duration can only be increased by users with + appropriate permissions. + + - `expired` - The snapshot was locked in compliance or governance mode + but the lock duration has expired. The snapshot is not locked and can + be deleted. + """ + lock_duration: int | None = ... + """The period of time for which the snapshot is locked, in days.""" + cool_off_period: int | None = ... + """The compliance mode cooling-off period, in hours.""" + cool_off_period_expires_on: datetime | None = ... + """ + The date and time at which the compliance mode cooling-off period + expires, in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + lock_created_on: datetime | None = ... + """ + The date and time at which the snapshot was locked, in the UTC time zone + (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + lock_duration_start_time: datetime | None = ... + """ + The date and time at which the lock duration started, in the UTC time + zone (`YYYY-MM-DDThh:mm:ss.sssZ`). + + If you lock a snapshot that is in the `pending` state, the lock duration + starts only once the snapshot enters the `completed` state. + """ + lock_expires_on: datetime | None = ... + """ + The date and time at which the lock will expire, in the UTC time zone + (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + +class LockMode(UnknownEnumMixin, StrEnum): + COMPLIANCE = "compliance" + GOVERNANCE = "governance" + +@dataclass(kw_only=True) +class LockSnapshotInput(_SerdeShape): + """Dataclass for LockSnapshotInput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot to lock.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + lock_mode: str | None = ... + """ + The mode in which to lock the snapshot. Specify one of the following: + + - `governance` - Locks the snapshot in governance mode. Snapshots locked + in governance mode can't be deleted until one of the following + conditions are met: + + - The lock duration expires. + + - The snapshot is unlocked by a user with the appropriate permissions. + + Users with the appropriate IAM permissions can unlock the snapshot, + increase or decrease the lock duration, and change the lock mode to + `compliance` at any time. + + If you lock a snapshot in `governance` mode, omit **CoolOffPeriod**. + + - `compliance` - Locks the snapshot in compliance mode. Snapshots locked + in compliance mode can't be unlocked by any user. They can be deleted + only after the lock duration expires. Users can't decrease the lock + duration or change the lock mode to `governance`. However, users with + appropriate IAM permissions can increase the lock duration at any + time. + + If you lock a snapshot in `compliance` mode, you can optionally + specify **CoolOffPeriod**. + """ + cool_off_period: int | None = ... + """ + The cooling-off period during which you can unlock the snapshot or + modify the lock settings after locking the snapshot in compliance mode, + in hours. After the cooling-off period expires, you can't unlock or + delete the snapshot, decrease the lock duration, or change the lock + mode. You can increase the lock duration after the cooling-off period + expires. + + The cooling-off period is optional when locking a snapshot in compliance + mode. If you are locking the snapshot in governance mode, omit this + parameter. + + To lock the snapshot in compliance mode immediately without a + cooling-off period, omit this parameter. + + If you are extending the lock duration for a snapshot that is locked in + compliance mode after the cooling-off period has expired, omit this + parameter. If you specify a cooling-period in a such a request, the + request fails. + + Allowed values: Min 1, max 72. + """ + lock_duration: int | None = ... + """ + The period of time for which to lock the snapshot, in days. The snapshot + lock will automatically expire after this period lapses. + + You must specify either this parameter or **ExpirationDate**, but not + both. + + Allowed values: Min: 1, max 36500 + """ + expiration_date: datetime | None = ... + """ + The date and time at which the snapshot lock is to automatically expire, + in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). + + You must specify either this parameter or **LockDuration**, but not + both. + """ + +@dataclass(kw_only=True) +class LockSnapshotOutput(_SerdeShape): + """Dataclass for LockSnapshotOutput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot""" + lock_state: str | None = ... + """ + The state of the snapshot lock. Valid states include: + + - `compliance-cooloff` - The snapshot has been locked in compliance mode + but it is still within the cooling-off period. The snapshot can't be + deleted, but it can be unlocked and the lock settings can be modified + by users with appropriate permissions. + + - `governance` - The snapshot is locked in governance mode. The snapshot + can't be deleted, but it can be unlocked and the lock settings can be + modified by users with appropriate permissions. + + - `compliance` - The snapshot is locked in compliance mode and the + cooling-off period has expired. The snapshot can't be unlocked or + deleted. The lock duration can only be increased by users with + appropriate permissions. + + - `expired` - The snapshot was locked in compliance or governance mode + but the lock duration has expired. The snapshot is not locked and can + be deleted. + """ + lock_duration: int | None = ... + """The period of time for which the snapshot is locked, in days.""" + cool_off_period: int | None = ... + """The compliance mode cooling-off period, in hours.""" + cool_off_period_expires_on: datetime | None = ... + """ + The date and time at which the compliance mode cooling-off period + expires, in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + lock_created_on: datetime | None = ... + """ + The date and time at which the snapshot was locked, in the UTC time zone + (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + lock_expires_on: datetime | None = ... + """ + The date and time at which the lock will expire, in the UTC time zone + (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + lock_duration_start_time: datetime | None = ... + """ + The date and time at which the lock duration started, in the UTC time + zone (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class LockState(UnknownEnumMixin, StrEnum): + COMPLIANCE = "compliance" + GOVERNANCE = "governance" + COMPLIANCE_COOLOFF = "compliance-cooloff" + EXPIRED = "expired" + +class LogDestinationType(UnknownEnumMixin, StrEnum): + CLOUD_WATCH_LOGS = "cloud-watch-logs" + S3 = "s3" + KINESIS_DATA_FIREHOSE = "kinesis-data-firehose" + +@dataclass(kw_only=True) +class MacHost(_SerdeShape): + """Information about the EC2 Mac Dedicated Host.""" + + host_id: str | None = ... + """The EC2 Mac Dedicated Host ID.""" + mac_os_latest_supported_versions: list[str] | None = ... + """ + The latest macOS versions that the EC2 Mac Dedicated Host can launch + without being upgraded. + """ + +@dataclass(kw_only=True) +class MacModificationTask(_SerdeShape): + """ + Information about a System Integrity Protection (SIP) modification task + or volume ownership delegation task for an Amazon EC2 Mac instance. + """ + + instance_id: str | None = ... + """The ID of the Amazon EC2 Mac instance.""" + mac_modification_task_id: str | None = ... + """The ID of task.""" + mac_system_integrity_protection_config: ( + MacSystemIntegrityProtectionConfiguration | None + ) = ... + """[SIP modification tasks only] Information about the SIP configuration.""" + start_time: datetime | None = ... + """ + The date and time the task was created, in the UTC timezone + (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + tags: list[Tag] | None = ... + """The tags assigned to the task.""" + task_state: str | None = ... + """The state of the task.""" + task_type: str | None = ... + """The type of task.""" + +class MacModificationTaskState(UnknownEnumMixin, StrEnum): + SUCCESSFUL = "successful" + FAILED = "failed" + INPROGRESS = "in-progress" + PENDING = "pending" + +class MacModificationTaskType(UnknownEnumMixin, StrEnum): + SIP_MODIFICATION = "sip-modification" + VOLUME_OWNERSHIP_DELEGATION = "volume-ownership-delegation" + +@dataclass(kw_only=True) +class MacSystemIntegrityProtectionConfiguration(_SerdeShape): + """ + Describes the configuration for a System Integrity Protection (SIP) + modification task. + """ + + apple_internal: str | None = ... + """Indicates whether Apple Internal was enabled or disabled by the task.""" + base_system: str | None = ... + """Indicates whether Base System was enabled or disabled by the task.""" + debugging_restrictions: str | None = ... + """ + Indicates whether Debugging Restrictions was enabled or disabled by the + task. + """ + d_trace_restrictions: str | None = ... + """ + Indicates whether Dtrace Restrictions was enabled or disabled by the + task. + """ + filesystem_protections: str | None = ... + """ + Indicates whether Filesystem Protections was enabled or disabled by the + task. + """ + kext_signing: str | None = ... + """Indicates whether Kext Signing was enabled or disabled by the task.""" + nvram_protections: str | None = ... + """Indicates whether NVRAM Protections was enabled or disabled by the task.""" + status: str | None = ... + """Indicates SIP was enabled or disabled by the task.""" + +@dataclass(kw_only=True) +class MacSystemIntegrityProtectionConfigurationRequest(_SerdeShape): + """ + Describes a custom configuration for a System Integrity Protection (SIP) + modification task. + """ + + apple_internal: str | None = ... + """Enables or disables Apple Internal.""" + base_system: str | None = ... + """Enables or disables Base System.""" + debugging_restrictions: str | None = ... + """Enables or disables Debugging Restrictions.""" + d_trace_restrictions: str | None = ... + """Enables or disables Dtrace Restrictions.""" + filesystem_protections: str | None = ... + """Enables or disables Filesystem Protections.""" + kext_signing: str | None = ... + """Enables or disables Kext Signing.""" + nvram_protections: str | None = ... + """Enables or disables Nvram Protections.""" + +class MacSystemIntegrityProtectionSettingStatus(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class MaintenanceDetails(_SerdeShape): + """Details for Site-to-Site VPN tunnel endpoint maintenance events.""" + + pending_maintenance: str | None = ... + """Verify existence of a pending maintenance.""" + maintenance_auto_applied_after: datetime | None = ... + """ + The timestamp after which Amazon Web Services will automatically apply + maintenance. + """ + last_maintenance_applied: datetime | None = ... + """Timestamp of last applied maintenance.""" + +class ManagedBy(UnknownEnumMixin, StrEnum): + ACCOUNT = "account" + DECLARATIVE_POLICY = "declarative-policy" + +@dataclass(kw_only=True) +class ManagedPrefixList(_SerdeShape): + """Describes a managed prefix list.""" + + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + address_family: str | None = ... + """The IP address version.""" + state: str | None = ... + """The current state of the prefix list.""" + state_message: str | None = ... + """The state message.""" + prefix_list_arn: str | None = ... + """The Amazon Resource Name (ARN) for the prefix list.""" + prefix_list_name: str | None = ... + """The name of the prefix list.""" + max_entries: int | None = ... + """The maximum number of entries for the prefix list.""" + version: int | None = ... + """The version of the prefix list.""" + tags: list[Tag] | None = ... + """The tags for the prefix list.""" + owner_id: str | None = ... + """The ID of the owner of the prefix list.""" + ipam_prefix_list_resolver_target_id: str | None = ... + """ + The ID of the IPAM prefix list resolver target associated with this + managed prefix list. When set, this prefix list becomes an IPAM managed + prefix list. + + An IPAM-managed prefix list is a customer-managed prefix list that has + been associated with an IPAM prefix list resolver target. When a prefix + list becomes IPAM managed, its CIDRs are automatically synchronized + based on the IPAM prefix list resolver's CIDR selection rules, and + direct CIDR modifications are restricted. + """ + ipam_prefix_list_resolver_sync_enabled: bool | None = ... + """ + Indicates whether synchronization with an IPAM prefix list resolver is + enabled for this managed prefix list. When enabled, the prefix list + CIDRs are automatically updated based on the resolver's CIDR selection + rules. + """ + +class ManagedResourceDefaultVisibility(UnknownEnumMixin, StrEnum): + HIDDEN = "hidden" + VISIBLE = "visible" + +@dataclass(kw_only=True) +class ManagedResourceVisibilitySettings(_SerdeShape): + """Describes the managed resource visibility settings for the account.""" + + default_visibility: str | None = ... + """ + The default visibility setting for managed resources. A value of + `hidden` indicates that managed resources are not included in Describe + operation responses by default. A value of `visible` indicates that + managed resources are included by default. + """ + +class MarketType(UnknownEnumMixin, StrEnum): + SPOT = "spot" + CAPACITY_BLOCK = "capacity-block" + INTERRUPTIBLE_CAPACITY_RESERVATION = "interruptible-capacity-reservation" + ON_DEMAND = "on-demand" + +@dataclass(kw_only=True) +class MediaAcceleratorInfo(_SerdeShape): + """Describes the media accelerators for the instance type.""" + + accelerators: list[MediaDeviceInfo] | None = ... + """Describes the media accelerators for the instance type.""" + total_media_memory_in_mi_b: int | None = ... + """ + The total size of the memory for the media accelerators for the instance + type, in MiB. + """ + +@dataclass(kw_only=True) +class MediaDeviceInfo(_SerdeShape): + """Describes the media accelerators for the instance type.""" + + count: int | None = ... + """The number of media accelerators for the instance type.""" + name: str | None = ... + """The name of the media accelerator.""" + manufacturer: str | None = ... + """The manufacturer of the media accelerator.""" + memory_info: MediaDeviceMemoryInfo | None = ... + """Describes the memory available to the media accelerator.""" + +@dataclass(kw_only=True) +class MediaDeviceMemoryInfo(_SerdeShape): + """Describes the memory available to the media accelerator.""" + + size_in_mi_b: int | None = ... + """The size of the memory available to each media accelerator, in MiB.""" + +class MembershipType(UnknownEnumMixin, StrEnum): + STATIC = "static" + IGMP = "igmp" + +@dataclass(kw_only=True) +class MemoryGiBPerVCpu(_SerdeShape): + """The minimum and maximum amount of memory per vCPU, in GiB.""" + + min: float | None = ... + """ + The minimum amount of memory per vCPU, in GiB. If this parameter is not + specified, there is no minimum limit. + """ + max: float | None = ... + """ + The maximum amount of memory per vCPU, in GiB. If this parameter is not + specified, there is no maximum limit. + """ + +@dataclass(kw_only=True) +class MemoryGiBPerVCpuRequest(_SerdeShape): + """The minimum and maximum amount of memory per vCPU, in GiB.""" + + min: float | None = ... + """ + The minimum amount of memory per vCPU, in GiB. To specify no minimum + limit, omit this parameter. + """ + max: float | None = ... + """ + The maximum amount of memory per vCPU, in GiB. To specify no maximum + limit, omit this parameter. + """ + +@dataclass(kw_only=True) +class MemoryInfo(_SerdeShape): + """Describes the memory for the instance type.""" + + size_in_mi_b: int | None = ... + """The size of the memory, in MiB.""" + +@dataclass(kw_only=True) +class MemoryMiB(_SerdeShape): + """The minimum and maximum amount of memory, in MiB.""" + + min: int | None = ... + """ + The minimum amount of memory, in MiB. If this parameter is not + specified, there is no minimum limit. + """ + max: int | None = ... + """ + The maximum amount of memory, in MiB. If this parameter is not + specified, there is no maximum limit. + """ + +@dataclass(kw_only=True) +class MemoryMiBRequest(_SerdeShape): + """The minimum and maximum amount of memory, in MiB.""" + + min: int | None = ... + """ + The minimum amount of memory, in MiB. To specify no minimum limit, + specify `0`. + """ + max: int | None = ... + """ + The maximum amount of memory, in MiB. To specify no maximum limit, omit + this parameter. + """ + +class MetadataDefaultHttpTokensState(UnknownEnumMixin, StrEnum): + OPTIONAL = "optional" + REQUIRED = "required" + NO_PREFERENCE = "no-preference" + +class Metric(UnknownEnumMixin, StrEnum): + RESERVATION_TOTAL_CAPACITY_HRS_VCPU = "reservation-total-capacity-hrs-vcpu" + RESERVATION_TOTAL_CAPACITY_HRS_INST = "reservation-total-capacity-hrs-inst" + RESERVATION_MAX_SIZE_VCPU = "reservation-max-size-vcpu" + RESERVATION_MAX_SIZE_INST = "reservation-max-size-inst" + RESERVATION_MIN_SIZE_VCPU = "reservation-min-size-vcpu" + RESERVATION_MIN_SIZE_INST = "reservation-min-size-inst" + RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_VCPU = ( + "reservation-unused-total-capacity-hrs-vcpu" + ) + RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_INST = ( + "reservation-unused-total-capacity-hrs-inst" + ) + RESERVATION_UNUSED_TOTAL_ESTIMATED_COST = "reservation-unused-total-estimated-cost" + RESERVATION_MAX_UNUSED_SIZE_VCPU = "reservation-max-unused-size-vcpu" + RESERVATION_MAX_UNUSED_SIZE_INST = "reservation-max-unused-size-inst" + RESERVATION_MIN_UNUSED_SIZE_VCPU = "reservation-min-unused-size-vcpu" + RESERVATION_MIN_UNUSED_SIZE_INST = "reservation-min-unused-size-inst" + RESERVATION_MAX_UTILIZATION = "reservation-max-utilization" + RESERVATION_MIN_UTILIZATION = "reservation-min-utilization" + RESERVATION_AVG_UTILIZATION_VCPU = "reservation-avg-utilization-vcpu" + RESERVATION_AVG_UTILIZATION_INST = "reservation-avg-utilization-inst" + RESERVATION_TOTAL_COUNT = "reservation-total-count" + RESERVATION_TOTAL_ESTIMATED_COST = "reservation-total-estimated-cost" + RESERVATION_AVG_FUTURE_SIZE_VCPU = "reservation-avg-future-size-vcpu" + RESERVATION_AVG_FUTURE_SIZE_INST = "reservation-avg-future-size-inst" + RESERVATION_MIN_FUTURE_SIZE_VCPU = "reservation-min-future-size-vcpu" + RESERVATION_MIN_FUTURE_SIZE_INST = "reservation-min-future-size-inst" + RESERVATION_MAX_FUTURE_SIZE_VCPU = "reservation-max-future-size-vcpu" + RESERVATION_MAX_FUTURE_SIZE_INST = "reservation-max-future-size-inst" + RESERVATION_AVG_COMMITTED_SIZE_VCPU = "reservation-avg-committed-size-vcpu" + RESERVATION_AVG_COMMITTED_SIZE_INST = "reservation-avg-committed-size-inst" + RESERVATION_MAX_COMMITTED_SIZE_VCPU = "reservation-max-committed-size-vcpu" + RESERVATION_MAX_COMMITTED_SIZE_INST = "reservation-max-committed-size-inst" + RESERVATION_MIN_COMMITTED_SIZE_VCPU = "reservation-min-committed-size-vcpu" + RESERVATION_MIN_COMMITTED_SIZE_INST = "reservation-min-committed-size-inst" + RESERVED_TOTAL_USAGE_HRS_VCPU = "reserved-total-usage-hrs-vcpu" + RESERVED_TOTAL_USAGE_HRS_INST = "reserved-total-usage-hrs-inst" + RESERVED_TOTAL_ESTIMATED_COST = "reserved-total-estimated-cost" + UNRESERVED_TOTAL_USAGE_HRS_VCPU = "unreserved-total-usage-hrs-vcpu" + UNRESERVED_TOTAL_USAGE_HRS_INST = "unreserved-total-usage-hrs-inst" + UNRESERVED_TOTAL_ESTIMATED_COST = "unreserved-total-estimated-cost" + SPOT_TOTAL_USAGE_HRS_VCPU = "spot-total-usage-hrs-vcpu" + SPOT_TOTAL_USAGE_HRS_INST = "spot-total-usage-hrs-inst" + SPOT_TOTAL_ESTIMATED_COST = "spot-total-estimated-cost" + SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST = ( + "spot-avg-run-time-before-interruption-inst" + ) + SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST = ( + "spot-max-run-time-before-interruption-inst" + ) + SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST = ( + "spot-min-run-time-before-interruption-inst" + ) + SPOT_TOTAL_INTERRUPTIONS_INST = "spot-total-interruptions-inst" + SPOT_TOTAL_INTERRUPTIONS_VCPU = "spot-total-interruptions-vcpu" + SPOT_TOTAL_COUNT_INST = "spot-total-count-inst" + SPOT_TOTAL_COUNT_VCPU = "spot-total-count-vcpu" + SPOT_INTERRUPTION_RATE_INST = "spot-interruption-rate-inst" + SPOT_INTERRUPTION_RATE_VCPU = "spot-interruption-rate-vcpu" + CAPACITY_TOTAL_REQUESTED_VCPU = "capacity-total-requested-vcpu" + CAPACITY_TOTAL_FULFILLED_VCPU = "capacity-total-fulfilled-vcpu" + SPOT_CAPACITY_TOTAL_REQUESTED_VCPU = "spot-capacity-total-requested-vcpu" + SPOT_CAPACITY_TOTAL_FULFILLED_VCPU = "spot-capacity-total-fulfilled-vcpu" + CAPACITY_REQUEST_FULFILLMENT_RATE = "capacity-request-fulfillment-rate" + AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU = "avg-inst-az-count-per-requested-vcpu" + INST_AZ_FULFILLMENT_RATE = "inst-az-fulfillment-rate" + SPOT_CAPACITY_REQUEST_FULFILLMENT_RATE = "spot-capacity-request-fulfillment-rate" + SPOT_AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU = ( + "spot-avg-inst-az-count-per-requested-vcpu" + ) + SPOT_INST_AZ_FULFILLMENT_RATE = "spot-inst-az-fulfillment-rate" + +@dataclass(kw_only=True) +class MetricDataResult(_SerdeShape): + """ + Contains a single data point from a capacity metrics query, including + the dimension values, timestamp, and metric values for that specific + combination. + """ + + dimension: CapacityManagerDimension | None = ... + """ + The dimension values that identify this specific data point, such as + account ID, region, and instance family. + """ + timestamp: datetime | None = ... + """ + The timestamp for this data point, indicating when the capacity usage + occurred. + """ + metric_values: list[MetricValue] | None = ... + """ + The metric values and statistics for this data point, containing the + actual capacity usage numbers. + """ + +@dataclass(kw_only=True) +class MetricPoint(_SerdeShape): + """ + Indicates whether the network was healthy or degraded at a particular + point. The value is aggregated from the `startDate` to the `endDate`. + Currently only `five_minutes` is supported. + """ + + start_date: datetime | None = ... + """ + The start date for the metric point. The starting date for the metric + point. The starting time must be formatted as `yyyy-mm-ddThh:mm:ss`. For + example, `2022-06-10T12:00:00.000Z`. + """ + end_date: datetime | None = ... + """ + The end date for the metric point. The ending time must be formatted as + `yyyy-mm-ddThh:mm:ss`. For example, `2022-06-12T12:00:00.000Z`. + """ + value: float | None = ... + status: str | None = ... + """The status of the metric point.""" + +class MetricType(UnknownEnumMixin, StrEnum): + AGGREGATE_LATENCY = "aggregate-latency" + +@dataclass(kw_only=True) +class MetricValue(_SerdeShape): + """ + Represents a single metric value with its associated statistic, such as + the sum or average of unused capacity hours. + """ + + metric: str | None = ... + """The name of the metric.""" + value: float | None = ... + """ + The numerical value of the metric for the specified statistic and time + period. + """ + +@dataclass(kw_only=True) +class ModificationQuoteCurrentConfiguration(_SerdeShape): + """ + Describes the configuration that a Capacity Reservation has at the time + a modification quote is generated. + """ + + instance_count: int | None = ... + """The number of instances in the Capacity Reservation.""" + reservation_state: str | None = ... + """The current state of the Capacity Reservation.""" + start_date: datetime | None = ... + """ + The start date that the Capacity Reservation has before the quoted + modification is applied. + """ + original_start_date: datetime | None = ... + """ + The start date that the Capacity Reservation was originally requested + with. This value does not change when you push out the start date. + """ + +@dataclass(kw_only=True) +class ModificationReservationUpdate(_SerdeShape): + """ + Describes the changes that a Capacity Reservation modification quote + will apply to a Capacity Reservation. + """ + + new_commitment_end_date: datetime | None = ... + """ + The date and time at which the commitment duration will expire after the + modification, in the ISO8601 format in the UTC time zone + (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + new_start_date: datetime | None = ... + """ + The start date that the Capacity Reservation will have after the + modification, in the ISO8601 format in the UTC time zone + (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + new_commitment_duration: int | None = ... + """ + The commitment duration, in seconds, that the Capacity Reservation will + have after the modification. + """ + +@dataclass(kw_only=True) +class ModificationTerms(_SerdeShape): + """Describes the terms of a Capacity Reservation modification quote.""" + + reservation_update: ModificationReservationUpdate | None = ... + """ + The changes that will be applied to the Capacity Reservation if you + accept the modification terms. + """ + +@dataclass(kw_only=True) +class ModifyAccountVpcEncryptionControlInput(_SerdeShape): + """Dataclass for ModifyAccountVpcEncryptionControlInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + mode: str | None = ... + """The encryption mode for the account encryption control configuration.""" + internet_gateway: str | None = ... + """ + Specifies whether to exclude internet gateway resource from + account-level encryption enforcement. + """ + egress_only_internet_gateway: str | None = ... + """ + Specifies whether to exclude egress-only internet gateway resource from + account-level encryption enforcement. + """ + nat_gateway: str | None = ... + """ + Specifies whether to exclude NAT gateway resource from account-level + encryption enforcement. + """ + virtual_private_gateway: str | None = ... + """ + Specifies whether to exclude virtual private gateway resource from + account-level encryption enforcement. + """ + vpc_peering: str | None = ... + """ + Specifies whether to exclude VPC peering connection resource from + account-level encryption enforcement. + """ + lambda_: str | None = ... + """ + Specifies whether to exclude Lambda service from account-level + encryption enforcement. + """ + vpc_lattice: str | None = ... + """ + Specifies whether to exclude VPC Lattice service from account-level + encryption enforcement. + """ + elastic_file_system: str | None = ... + """ + Specifies whether to exclude Elastic File System service from + account-level encryption enforcement. + """ + +@dataclass(kw_only=True) +class ModifyAccountVpcEncryptionControlOutput(_SerdeShape): + """Dataclass for ModifyAccountVpcEncryptionControlOutput structure.""" + + account_vpc_encryption_control: AccountVpcEncryptionControl | None = ... + """ + Information about the account-level VPC Encryption Control + configuration. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyAddressAttributeInput(_SerdeShape): + """Dataclass for ModifyAddressAttributeInput structure.""" + + allocation_id: str | None = ... + """[EC2-VPC] The allocation ID.""" + domain_name: str | None = ... + """The domain name to modify for the IP address.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyAddressAttributeOutput(_SerdeShape): + """Dataclass for ModifyAddressAttributeOutput structure.""" + + address: AddressAttribute | None = ... + """Information about the Elastic IP address.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyApplicationStatusCheckInput(_SerdeShape): + """Dataclass for ModifyApplicationStatusCheckInput structure.""" + + application_status_check_id: str | None = ... + """The ID of the application status check to modify.""" + aggregation: str | None = ... + """ + The aggregation setting for the application status check. When set to + `included`, the result of this check contributes to the instance-level + application status reported by `DescribeApplicationStatus`. When set to + `excluded`, the check runs independently and does not affect the + instance-level status. Valid values: `included` | `excluded`. + """ + health_check_paths: list[HealthCheckPathRequestObject] | None = ... + """The health check paths to use for the application status check.""" + protocol: str | None = ... + """ + The protocol to use for the health check. Valid values: `http` | + `https`. + """ + port: int | None = ... + """The port to use for the health check. Valid values: 1 to 65535.""" + path: str | None = ... + """ + The URL path to use for the health check HTTP request (for example, + `/health` or `/status`). + """ + device_index: int | None = ... + """ + The index of the network device to use for the health check. The value + must be greater than or equal to 0. + """ + ip_version: str | None = ... + """ + The IP version to use for the health check. Valid values: `ipv4` and + `ipv6`. + """ + ip_scope: str | None = ... + """The IP scope to use for the health check. Valid value: `private`.""" + interval: int | None = ... + """The interval, in seconds, between health checks. Valid value: 60.""" + timeout: int | None = ... + """ + The amount of time, in seconds, to wait for a health check response + before considering it failed. Valid values: 1 to 30. The value must be + less than `Interval`. + """ + failure_threshold: int | None = ... + """ + The number of consecutive failed health checks before the application + status is considered impaired. The value must be greater than 0. + """ + success_threshold: int | None = ... + """ + The number of consecutive successful health checks before the + application status is considered healthy. The value must be greater than + 0. + """ + status_code_matcher: str | None = ... + """ + The HTTP status codes that indicate a successful health check response. + Specify a comma-separated list of individual status codes or ranges, for + example, `200,202,300-399`. For a range, the first value must be less + than the second value. Maximum length: 64 characters. + """ + initialization_grace_period_seconds: int | None = ... + """ + The number of seconds to wait before starting health checks after an + instance is launched. Valid values: 1 to 600. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure that the + operation completes no more than one time. If you retry a request with + the same token, the service ignores the request but does not return an + error. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyApplicationStatusCheckOutput(_SerdeShape): + """Dataclass for ModifyApplicationStatusCheckOutput structure.""" + + application_status_check: ApplicationStatusCheckResponseObject | None = ... + """Information about the modified application status check.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyAvailabilityZoneGroupInput(_SerdeShape): + """Dataclass for ModifyAvailabilityZoneGroupInput structure.""" + + group_name: str | None = ... + """ + The name of the Availability Zone group, Local Zone group, or Wavelength + Zone group. + """ + opt_in_status: str | None = ... + """ + Indicates whether to opt in to the zone group. The only valid value is + `opted-in`. You must contact Amazon Web Services Support to opt out of a + Local Zone or Wavelength Zone group. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyAvailabilityZoneGroupOutput(_SerdeShape): + """Dataclass for ModifyAvailabilityZoneGroupOutput structure.""" + + return_: bool | None = ... + """Is `true` if the request succeeds, and an error otherwise.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ModifyAvailabilityZoneOptInStatus(UnknownEnumMixin, StrEnum): + OPTED_IN = "opted-in" + NOT_OPTED_IN = "not-opted-in" + +@dataclass(kw_only=True) +class ModifyCapacityReservationFleetInput(_SerdeShape): + """Dataclass for ModifyCapacityReservationFleetInput structure.""" + + capacity_reservation_fleet_id: str | None = ... + """The ID of the Capacity Reservation Fleet to modify.""" + total_target_capacity: int | None = ... + """ + The total number of capacity units to be reserved by the Capacity + Reservation Fleet. This value, together with the instance type weights + that you assign to each instance type used by the Fleet determine the + number of instances for which the Fleet reserves capacity. Both values + are based on units that make sense for your workload. For more + information, see [Total target + capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) + in the *Amazon EC2 User Guide*. + """ + end_date: datetime | None = ... + """ + The date and time at which the Capacity Reservation Fleet expires. When + the Capacity Reservation Fleet expires, its state changes to `expired` + and all of the Capacity Reservations in the Fleet expire. + + The Capacity Reservation Fleet expires within an hour after the + specified time. For example, if you specify `5/31/2019`, `13:30:55`, the + Capacity Reservation Fleet is guaranteed to expire between `13:30:55` + and `14:30:55` on `5/31/2019`. + + You can't specify **EndDate** and **RemoveEndDate** in the same + request. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + remove_end_date: bool | None = ... + """ + Indicates whether to remove the end date from the Capacity Reservation + Fleet. If you remove the end date, the Capacity Reservation Fleet does + not expire and it remains active until you explicitly cancel it using + the **CancelCapacityReservationFleet** action. + + You can't specify **RemoveEndDate** and **EndDate** in the same + request. + """ + +@dataclass(kw_only=True) +class ModifyCapacityReservationFleetOutput(_SerdeShape): + """Dataclass for ModifyCapacityReservationFleetOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyCapacityReservationInput(_SerdeShape): + """Dataclass for ModifyCapacityReservationInput structure.""" + + capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation.""" + instance_count: int | None = ... + """ + The number of instances for which to reserve capacity. The number of + instances can't be increased or decreased by more than `1000` in a + single request. + """ + end_date: datetime | None = ... + """ + The date and time at which the Capacity Reservation expires. When a + Capacity Reservation expires, the reserved capacity is released and you + can no longer launch instances into it. The Capacity Reservation's + state changes to `expired` when it reaches its end date and time. + + The Capacity Reservation is cancelled within an hour from the specified + time. For example, if you specify 5/31/2019, 13:30:55, the Capacity + Reservation is guaranteed to end between 13:30:55 and 14:30:55 on + 5/31/2019. + + You must provide an `EndDate` value if `EndDateType` is `limited`. Omit + `EndDate` if `EndDateType` is `unlimited`. + """ + end_date_type: str | None = ... + """ + Indicates the way in which the Capacity Reservation ends. A Capacity + Reservation can have one of the following end types: + + - `unlimited` - The Capacity Reservation remains active until you + explicitly cancel it. Do not provide an `EndDate` value if + `EndDateType` is `unlimited`. + + - `limited` - The Capacity Reservation expires automatically at a + specified date and time. You must provide an `EndDate` value if + `EndDateType` is `limited`. + """ + accept: bool | None = ... + """ + Reserved. Capacity Reservations you have created are accepted by + default. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + additional_info: str | None = ... + """Reserved for future use.""" + instance_match_criteria: str | None = ... + """ + The matching criteria (instance eligibility) that you want to use in the + modified Capacity Reservation. If you change the instance eligibility of + an existing Capacity Reservation from `targeted` to `open`, any running + instances that match the attributes of the Capacity Reservation, have + the `CapacityReservationPreference` set to `open`, and are not yet + running in the Capacity Reservation, will automatically use the modified + Capacity Reservation. + + To modify the instance eligibility, the Capacity Reservation must be + completely idle (zero usage). + """ + accept_modification_terms: bool | None = ... + """ + Indicates that you accept the modification terms of the quote identified + by `QuoteId`. To apply a quoted modification, set this parameter to + `true`. + """ + start_date: datetime | None = ... + """ + The new start date for the Capacity Reservation, in the ISO8601 format + in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). Applies to + future-dated Capacity Reservations only. Requires a quote from + `CreateCapacityReservationDateChangeQuote`; pass the quote ID in + `QuoteId` with `AcceptModificationTerms` set to `true`. + """ + quote_id: str | None = ... + """ + The ID of the quote that describes the modification you want to apply. + Generate a quote by using `CreateCapacityReservationDateChangeQuote`. + The quote must be in the `active` state, and each quote can be used only + once. + """ + +@dataclass(kw_only=True) +class ModifyCapacityReservationOutput(_SerdeShape): + """Dataclass for ModifyCapacityReservationOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + adjustment_status: str | None = ... + """ + The status of the requested modification. For a description of each + possible value, see the `adjustmentStatus` field of the + `CapacityReservation` data type. + """ + adjustment_details: CapacityReservationAdjustmentDetails | None = ... + """ + The configuration that the Capacity Reservation will have after the + adjustment is applied. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyClientVpnEndpointAuthorizationPolicyInput(_SerdeShape): + """Dataclass for ModifyClientVpnEndpointAuthorizationPolicyInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint.""" + policy_document: str | None = ... + """ + The authorization policy document, written in the Cedar policy language. + This parameter is required when you create the authorization policy for + a Client VPN endpoint that does not already have one. + """ + description: str | None = ... + """A brief description of the authorization policy.""" + shadow_mode: str | None = ... + """ + Specifies whether the authorization policy is evaluated in shadow mode. + Possible values include: + + - `enabled` - The authorization policy is evaluated and the results are + logged, but access is not enforced. + + - `disabled` - The authorization policy is enforced. + + The default value is `disabled`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyClientVpnEndpointAuthorizationPolicyOutput(_SerdeShape): + """ + Dataclass for ModifyClientVpnEndpointAuthorizationPolicyOutput + structure. + """ + + status: str | None = ... + """The current state of the authorization policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyClientVpnEndpointInput(_SerdeShape): + """Dataclass for ModifyClientVpnEndpointInput structure.""" + + client_vpn_endpoint_id: str | None = ... + """The ID of the Client VPN endpoint to modify.""" + server_certificate_arn: str | None = ... + """ + The ARN of the server certificate to be used. The server certificate + must be provisioned in Certificate Manager (ACM). + """ + connection_log_options: ConnectionLogOptions | None = ... + """ + Information about the client connection logging options. + + If you enable client connection logging, data about client connections + is sent to a Cloudwatch Logs log stream. The following information is + logged: + + - Client connection requests + + - Client connection results (successful and unsuccessful) + + - Reasons for unsuccessful client connection requests + + - Client connection termination time + """ + dns_servers: DnsServersOptionsModifyStructure | None = ... + """ + Information about the DNS servers to be used by Client VPN connections. + A Client VPN endpoint can have up to two DNS servers. + """ + vpn_port: int | None = ... + """ + The port number to assign to the Client VPN endpoint for TCP and UDP + traffic. + + Valid Values: `443` | `1194` + + Default Value: `443` + """ + description: str | None = ... + """A brief description of the Client VPN endpoint.""" + split_tunnel: bool | None = ... + """ + Indicates whether the VPN is split-tunnel. + + For information about split-tunnel VPN endpoints, see [Split-tunnel + Client VPN + endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) + in the *Client VPN Administrator Guide*. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + security_group_ids: list[str] | None = ... + """The IDs of one or more security groups to apply to the target network.""" + vpc_id: str | None = ... + """The ID of the VPC to associate with the Client VPN endpoint.""" + self_service_portal: str | None = ... + """ + Specify whether to enable the self-service portal for the Client VPN + endpoint. + """ + client_connect_options: ClientConnectOptions | None = ... + """ + The options for managing connection authorization for new client + connections. + """ + session_timeout_hours: int | None = ... + """ + The maximum VPN session duration time in hours. + + Valid values: `8 | 10 | 12 | 24` + + Default value: `24` + """ + client_login_banner_options: ClientLoginBannerOptions | None = ... + """ + Options for enabling a customizable text banner that will be displayed + on Amazon Web Services provided clients when a VPN session is + established. + """ + client_route_enforcement_options: ClientRouteEnforcementOptions | None = ... + """ + Client route enforcement is a feature of the Client VPN service that + helps enforce administrator defined routes on devices connected through + the VPN. T his feature helps improve your security posture by ensuring + that network traffic originating from a connected client is not + inadvertently sent outside the VPN tunnel. + + Client route enforcement works by monitoring the route table of a + connected device for routing policy changes to the VPN connection. If + the feature detects any VPN routing policy modifications, it will + automatically force an update to the route table, reverting it back to + the expected route configurations. + """ + disconnect_on_session_timeout: bool | None = ... + """ + Indicates whether the client VPN session is disconnected after the + maximum timeout specified in `sessionTimeoutHours` is reached. If + `true`, users are prompted to reconnect client VPN. If `false`, client + VPN attempts to reconnect automatically. The default value is `true`. + """ + transit_gateway_configuration: ( + TransitGatewayConfigurationInputStructure | None + ) = ... + """ + The Transit Gateway configuration for the Client VPN endpoint. This + option is currently not supported. + """ + device_posture_options: DevicePostureOptions | None = ... + """ + The device posture options for the Client VPN endpoint. Specifying this + parameter replaces the entire device posture configuration for the + endpoint. To disable device posture and remove all device trust + providers, specify `false` for `Enabled`. + """ + +@dataclass(kw_only=True) +class ModifyClientVpnEndpointOutput(_SerdeShape): + """Dataclass for ModifyClientVpnEndpointOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDefaultCreditSpecificationInput(_SerdeShape): + """Dataclass for ModifyDefaultCreditSpecificationInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + instance_family: str | None = ... + """The instance family.""" + cpu_credits: str | None = ... + """ + The credit option for CPU usage of the instance family. + + Valid Values: `standard` | `unlimited` + """ + +@dataclass(kw_only=True) +class ModifyDefaultCreditSpecificationOutput(_SerdeShape): + """Dataclass for ModifyDefaultCreditSpecificationOutput structure.""" + + instance_family_credit_specification: InstanceFamilyCreditSpecification | None = ... + """The default credit option for CPU usage of the instance family.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyEbsDefaultKmsKeyIdInput(_SerdeShape): + """Dataclass for ModifyEbsDefaultKmsKeyIdInput structure.""" + + kms_key_id: str | None = ... + """ + The identifier of the KMS key to use for Amazon EBS encryption. If this + parameter is not specified, your KMS key for Amazon EBS is used. If + `KmsKeyId` is specified, the encrypted state must be `true`. + + You can specify the KMS key using any of the following: + + - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. + + - Key alias. For example, alias/ExampleAlias. + + - Key ARN. For example, + arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. + + - Alias ARN. For example, + arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. + + Amazon Web Services authenticates the KMS key asynchronously. Therefore, + if you specify an ID, alias, or ARN that is not valid, the action can + appear to complete, but eventually fails. + + Amazon EBS does not support asymmetric KMS keys. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyEbsDefaultKmsKeyIdOutput(_SerdeShape): + """Dataclass for ModifyEbsDefaultKmsKeyIdOutput structure.""" + + kms_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) of the default KMS key for encryption by + default. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyFleetInput(_SerdeShape): + """Dataclass for ModifyFleetInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + excess_capacity_termination_policy: str | None = ... + """ + Indicates whether running instances should be terminated if the total + target capacity of the EC2 Fleet is decreased below the current size of + the EC2 Fleet. + + Supported only for fleets of type `maintain`. + """ + launch_template_configs: list[FleetLaunchTemplateConfigRequest] | None = ... + """The launch template and overrides.""" + fleet_id: str | None = ... + """The ID of the EC2 Fleet.""" + target_capacity_specification: TargetCapacitySpecificationRequest | None = ... + """The size of the EC2 Fleet.""" + context: str | None = ... + """Reserved.""" + +@dataclass(kw_only=True) +class ModifyFleetOutput(_SerdeShape): + """Dataclass for ModifyFleetOutput structure.""" + + return_: bool | None = ... + """ + If the request succeeds, the response returns `true`. If the request + fails, no response is returned, and instead an error message is + returned. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyFpgaImageAttributeInput(_SerdeShape): + """Dataclass for ModifyFpgaImageAttributeInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + fpga_image_id: str | None = ... + """The ID of the AFI.""" + attribute: str | None = ... + """The name of the attribute.""" + operation_type: str | None = ... + """The operation type.""" + user_ids: list[str] | None = ... + """ + The Amazon Web Services account IDs. This parameter is valid only when + modifying the `loadPermission` attribute. + """ + user_groups: list[str] | None = ... + """ + The user groups. This parameter is valid only when modifying the + `loadPermission` attribute. + """ + product_codes: list[str] | None = ... + """ + The product codes. After you add a product code to an AFI, it can't be + removed. This parameter is valid only when modifying the `productCodes` + attribute. + """ + load_permission: LoadPermissionModifications | None = ... + """The load permission for the AFI.""" + description: str | None = ... + """A description for the AFI.""" + name: str | None = ... + """A name for the AFI.""" + +@dataclass(kw_only=True) +class ModifyFpgaImageAttributeOutput(_SerdeShape): + """Dataclass for ModifyFpgaImageAttributeOutput structure.""" + + fpga_image_attribute: FpgaImageAttribute | None = ... + """Information about the attribute.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyHostsInput(_SerdeShape): + """Dataclass for ModifyHostsInput structure.""" + + host_recovery: str | None = ... + """ + Indicates whether to enable or disable host recovery for the Dedicated + Host. For more information, see [Host + recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html) + in the *Amazon EC2 User Guide*. + """ + instance_type: str | None = ... + """ + Specifies the instance type to be supported by the Dedicated Host. + Specify this parameter to modify a Dedicated Host to support only a + specific instance type. + + If you want to modify a Dedicated Host to support multiple instance + types in its current instance family, omit this parameter and specify + **InstanceFamily** instead. You cannot specify **InstanceType** and + **InstanceFamily** in the same request. + """ + instance_family: str | None = ... + """ + Specifies the instance family to be supported by the Dedicated Host. + Specify this parameter to modify a Dedicated Host to support multiple + instance types within its current instance family. + + If you want to modify a Dedicated Host to support a specific instance + type only, omit this parameter and specify **InstanceType** instead. You + cannot specify **InstanceFamily** and **InstanceType** in the same + request. + """ + host_maintenance: str | None = ... + """ + Indicates whether to enable or disable host maintenance for the + Dedicated Host. For more information, see [Host + maintenance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html) + in the *Amazon EC2 User Guide*. + """ + host_ids: list[str] | None = ... + """The IDs of the Dedicated Hosts to modify.""" + auto_placement: str | None = ... + """Specify whether to enable or disable auto-placement.""" + +@dataclass(kw_only=True) +class ModifyHostsOutput(_SerdeShape): + """Dataclass for ModifyHostsOutput structure.""" + + successful: list[str] | None = ... + """The IDs of the Dedicated Hosts that were successfully modified.""" + unsuccessful: list[UnsuccessfulItem] | None = ... + """ + The IDs of the Dedicated Hosts that could not be modified. Check whether + the setting you requested can be used. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIdentityIdFormatInput(_SerdeShape): + """Dataclass for ModifyIdentityIdFormatInput structure.""" + + resource: str | None = ... + """ + The type of resource: `bundle` | `conversion-task` | + `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | + `elastic-ip-association` | `export-task` | `flow-log` | `image` | + `import-task` | `internet-gateway` | `network-acl` | + `network-acl-association` | `network-interface` | + `network-interface-attachment` | `prefix-list` | `route-table` | + `route-table-association` | `security-group` | `subnet` | + `subnet-cidr-block-association` | `vpc` | `vpc-cidr-block-association` + | `vpc-endpoint` | `vpc-peering-connection` | `vpn-connection` | + `vpn-gateway`. + + Alternatively, use the `all-current` option to include all resource + types that are currently within their opt-in period for longer IDs. + """ + use_long_ids: bool | None = ... + """Indicates whether the resource should use longer IDs (17-character IDs)""" + principal_arn: str | None = ... + """ + The ARN of the principal, which can be an IAM user, IAM role, or the + root user. Specify `all` to modify the ID format for all IAM users, IAM + roles, and the root user of the account. + """ + +@dataclass(kw_only=True) +class ModifyIdentityIdFormatOutput(_SerdeShape): + """Dataclass for ModifyIdentityIdFormatOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIdFormatInput(_SerdeShape): + """Dataclass for ModifyIdFormatInput structure.""" + + resource: str | None = ... + """ + The type of resource: `bundle` | `conversion-task` | + `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | + `elastic-ip-association` | `export-task` | `flow-log` | `image` | + `import-task` | `internet-gateway` | `network-acl` | + `network-acl-association` | `network-interface` | + `network-interface-attachment` | `prefix-list` | `route-table` | + `route-table-association` | `security-group` | `subnet` | + `subnet-cidr-block-association` | `vpc` | `vpc-cidr-block-association` + | `vpc-endpoint` | `vpc-peering-connection` | `vpn-connection` | + `vpn-gateway`. + + Alternatively, use the `all-current` option to include all resource + types that are currently within their opt-in period for longer IDs. + """ + use_long_ids: bool | None = ... + """Indicate whether the resource should use longer IDs (17-character IDs).""" + +@dataclass(kw_only=True) +class ModifyIdFormatOutput(_SerdeShape): + """Dataclass for ModifyIdFormatOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyImageAttributeInput(_SerdeShape): + """Contains the parameters for ModifyImageAttribute.""" + + attribute: str | None = ... + """ + The name of the attribute to modify. + + Valid values: `description` | `imdsSupport` | `launchPermission` + """ + description: AttributeValue | None = ... + """A new description for the AMI.""" + image_id: str | None = ... + """The ID of the AMI.""" + launch_permission: LaunchPermissionModifications | None = ... + """A new launch permission for the AMI.""" + operation_type: str | None = ... + """ + The operation type. This parameter can be used only when the `Attribute` + parameter is `launchPermission`. + """ + product_codes: list[str] | None = ... + """Not supported.""" + user_groups: list[str] | None = ... + """ + The user groups. This parameter can be used only when the `Attribute` + parameter is `launchPermission`. + """ + user_ids: list[str] | None = ... + """ + The Amazon Web Services account IDs. This parameter can be used only + when the `Attribute` parameter is `launchPermission`. + """ + value: str | None = ... + """ + The value of the attribute being modified. This parameter can be used + only when the `Attribute` parameter is `description` or `imdsSupport`. + """ + organization_arns: list[str] | None = ... + """ + The Amazon Resource Name (ARN) of an organization. This parameter can be + used only when the `Attribute` parameter is `launchPermission`. + """ + organizational_unit_arns: list[str] | None = ... + """ + The Amazon Resource Name (ARN) of an organizational unit (OU). This + parameter can be used only when the `Attribute` parameter is + `launchPermission`. + """ + imds_support: AttributeValue | None = ... + """ + Set to `v2.0` to indicate that IMDSv2 is specified in the AMI. Instances + launched from this AMI will have `HttpTokens` automatically set to + `required` so that, by default, the instance requires that IMDSv2 is + used when requesting instance metadata. In addition, + `HttpPutResponseHopLimit` is set to `2`. For more information, see + [Configure the + AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration) + in the *Amazon EC2 User Guide*. + + Warning: + Do not use this parameter unless your AMI software supports IMDSv2. + After you set the value to `v2.0`, you can't undo it. The only way to + "reset" your AMI is to create a new AMI from the underlying snapshot. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyImageAttributeOutput(_SerdeShape): + """Dataclass for ModifyImageAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceAttributeInput(_SerdeShape): + """Dataclass for ModifyInstanceAttributeInput structure.""" + + source_dest_check: AttributeBooleanValue | None = ... + """ + Enable or disable source/destination checks, which ensure that the + instance is either the source or the destination of any traffic that it + receives. If the value is `true`, source/destination checks are enabled; + otherwise, they are disabled. The default value is `true`. You must + disable source/destination checks if the instance runs services such as + network address translation, routing, or firewalls. + """ + enclave_options: EnclaveOptionsRequest | None = ... + """ + Enables or disables the instance for Amazon Web Services Nitro Enclaves. + For more information, see the [Amazon Web Services Nitro Enclaves User + Guide](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html). + """ + disable_api_stop: AttributeBooleanValue | None = ... + """ + Indicates whether an instance is enabled for stop protection. For more + information, see [Enable stop protection for your + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the instance.""" + attribute: str | None = ... + """ + The name of the attribute to modify. + + Note: + When changing the instance type: If the original instance type is + configured for configurable bandwidth, and the desired instance type + doesn't support configurable bandwidth, first set the existing + bandwidth configuration to `default` using the + ModifyInstanceNetworkPerformanceOptions operation. + Warning: + You can modify the following attributes only: `disableApiTermination` | + `instanceType` | `kernel` | `ramdisk` | + `instanceInitiatedShutdownBehavior` | `blockDeviceMapping` | + `userData` | `sourceDestCheck` | `groupSet` | `ebsOptimized` | + `sriovNetSupport` | `enaSupport` | `nvmeSupport` | `disableApiStop` + | `enclaveOptions` + """ + value: str | None = ... + """ + A new value for the attribute. Use only with the `kernel`, `ramdisk`, + `userData`, `disableApiTermination`, or + `instanceInitiatedShutdownBehavior` attribute. + """ + block_device_mappings: list[InstanceBlockDeviceMappingSpecification] | None = ... + """ + Modifies the `DeleteOnTermination` attribute for volumes that are + currently attached. The volume must be owned by the caller. If no value + is specified for `DeleteOnTermination`, the default is `true` and the + volume is deleted when the instance is terminated. You can't modify the + `DeleteOnTermination` attribute for volumes that are attached to Amazon + Web Services-managed resources. + + To add instance store volumes to an Amazon EBS-backed instance, you must + add them when you launch the instance. For more information, see [Update + the block device mapping when launching an + instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM) + in the *Amazon EC2 User Guide*. + """ + disable_api_termination: AttributeBooleanValue | None = ... + """ + Enable or disable termination protection for the instance. If the value + is `true`, you can't terminate the instance using the Amazon EC2 + console, command line interface, or API. You can't enable termination + protection for Spot Instances. + """ + instance_type: AttributeValue | None = ... + """ + Changes the instance type to the specified value. For more information, + see [Instance + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) + in the *Amazon EC2 User Guide*. If the instance type is not valid, the + error returned is `InvalidInstanceAttributeValue`. + """ + kernel: AttributeValue | None = ... + """ + Changes the instance's kernel to the specified value. We recommend that + you use PV-GRUB instead of kernels and RAM disks. For more information, + see + [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html). + """ + ramdisk: AttributeValue | None = ... + """ + Changes the instance's RAM disk to the specified value. We recommend + that you use PV-GRUB instead of kernels and RAM disks. For more + information, see + [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html). + """ + user_data: SecureBlobAttributeValue | None = ... + """ + Changes the instance's user data to the specified value. User data must + be base64-encoded. Depending on the tool or SDK that you're using, the + base64-encoding might be performed for you. For more information, see + [Work with instance user + data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html). + """ + instance_initiated_shutdown_behavior: AttributeValue | None = ... + """ + Specifies whether an instance stops or terminates when you initiate + shutdown from the instance (using the operating system command for + system shutdown). + """ + groups: list[str] | None = ... + """ + Replaces the security groups of the instance with the specified security + groups. You must specify the ID of at least one security group, even if + it's just the default security group for the VPC. + """ + ebs_optimized: AttributeBooleanValue | None = ... + """ + Specifies whether the instance is optimized for Amazon EBS I/O. This + optimization provides dedicated throughput to Amazon EBS and an + optimized configuration stack to provide optimal EBS I/O performance. + This optimization isn't available with all instance types. Additional + usage charges apply when using an EBS Optimized instance. + """ + sriov_net_support: AttributeValue | None = ... + """ + Set to `simple` to enable enhanced networking with the Intel 82599 + Virtual Function interface for the instance. + + There is no way to disable enhanced networking with the Intel 82599 + Virtual Function interface at this time. + + This option is supported only for HVM instances. Specifying this option + with a PV instance can make it unreachable. + """ + ena_support: AttributeBooleanValue | None = ... + """ + Set to `true` to enable enhanced networking with ENA for the instance. + + This option is supported only for HVM instances. Specifying this option + with a PV instance can make it unreachable. + """ + +@dataclass(kw_only=True) +class ModifyInstanceAttributeOutput(_SerdeShape): + """Dataclass for ModifyInstanceAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceCapacityReservationAttributesInput(_SerdeShape): + """ + Dataclass for ModifyInstanceCapacityReservationAttributesInput + structure. + """ + + instance_id: str | None = ... + """The ID of the instance to be modified.""" + capacity_reservation_specification: CapacityReservationSpecification | None = ... + """Information about the Capacity Reservation targeting option.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyInstanceCapacityReservationAttributesOutput(_SerdeShape): + """ + Dataclass for ModifyInstanceCapacityReservationAttributesOutput + structure. + """ + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceConnectEndpointInput(_SerdeShape): + """Dataclass for ModifyInstanceConnectEndpointInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + instance_connect_endpoint_id: str | None = ... + """The ID of the EC2 Instance Connect Endpoint to modify.""" + ip_address_type: str | None = ... + """ + The new IP address type for the EC2 Instance Connect Endpoint. + + Note: + `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect + Endpoints. To use `PreserveClientIp`, the value for `IpAddressType` must + be `ipv4`. + """ + security_group_ids: list[str] | None = ... + """ + Changes the security groups for the EC2 Instance Connect Endpoint. The + new set of groups you specify replaces the current set. You must specify + at least one group, even if it's just the default security group in the + VPC. You must specify the ID of the security group, not the name. + """ + preserve_client_ip: bool | None = ... + """ + Indicates whether the client IP address is preserved as the source when + you connect to a resource. The following are the possible values. + + - `true` - Use the IP address of the client. Your instance must have an + IPv4 address. + + - `false` - Use the IP address of the network interface. + """ + +@dataclass(kw_only=True) +class ModifyInstanceConnectEndpointOutput(_SerdeShape): + """Dataclass for ModifyInstanceConnectEndpointOutput structure.""" + + return_: bool | None = ... + """Is `true` if the request succeeds and an error otherwise.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceCpuOptionsInput(_SerdeShape): + """Dataclass for ModifyInstanceCpuOptionsInput structure.""" + + instance_id: str | None = ... + """The ID of the instance to update.""" + core_count: int | None = ... + """The number of CPU cores to activate for the specified instance.""" + threads_per_core: int | None = ... + """The number of threads to run for each CPU core.""" + nested_virtualization: str | None = ... + """ + Indicates whether to enable or disable nested virtualization for the + instance. When nested virtualization is enabled, Virtual Secure Mode + (VSM) is automatically disabled for the instance. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyInstanceCpuOptionsOutput(_SerdeShape): + """Dataclass for ModifyInstanceCpuOptionsOutput structure.""" + + instance_id: str | None = ... + """The ID of the instance that was updated.""" + core_count: int | None = ... + """ + The number of CPU cores that are running for the specified instance + after the update. + """ + threads_per_core: int | None = ... + """ + The number of threads that are running per CPU core for the specified + instance after the update. + """ + nested_virtualization: str | None = ... + """Indicates whether nested virtualization has been enabled or disabled.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceCreditSpecificationInput(_SerdeShape): + """Dataclass for ModifyInstanceCreditSpecificationInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + instance_credit_specifications: ( + list[InstanceCreditSpecificationRequest] | None + ) = ... + """Information about the credit option for CPU usage.""" + +@dataclass(kw_only=True) +class ModifyInstanceCreditSpecificationOutput(_SerdeShape): + """Dataclass for ModifyInstanceCreditSpecificationOutput structure.""" + + successful_instance_credit_specifications: ( + list[SuccessfulInstanceCreditSpecificationItem] | None + ) = ... + """ + Information about the instances whose credit option for CPU usage was + successfully modified. + """ + unsuccessful_instance_credit_specifications: ( + list[UnsuccessfulInstanceCreditSpecificationItem] | None + ) = ... + """ + Information about the instances whose credit option for CPU usage was + not modified. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceEventStartTimeInput(_SerdeShape): + """Dataclass for ModifyInstanceEventStartTimeInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the instance with the scheduled event.""" + instance_event_id: str | None = ... + """The ID of the event whose date and time you are modifying.""" + not_before: datetime | None = ... + """The new date and time when the event will take place.""" + +@dataclass(kw_only=True) +class ModifyInstanceEventStartTimeOutput(_SerdeShape): + """Dataclass for ModifyInstanceEventStartTimeOutput structure.""" + + event: InstanceStatusEvent | None = ... + """Information about the event.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceEventWindowInput(_SerdeShape): + """Dataclass for ModifyInstanceEventWindowInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + name: str | None = ... + """The name of the event window.""" + instance_event_window_id: str | None = ... + """The ID of the event window.""" + time_ranges: list[InstanceEventWindowTimeRangeRequest] | None = ... + """The time ranges of the event window.""" + cron_expression: str | None = ... + """ + The cron expression of the event window, for example, + `* 0-4,20-23 * * 1,5`. + + Constraints: + + - Only hour and day of the week values are supported. + + - For day of the week values, you can specify either integers `0` + through `6`, or alternative single values `SUN` through `SAT`. + + - The minute, month, and year must be specified by `*`. + + - The hour value must be one or a multiple range, for example, `0-4` or + `0-4,20-23`. + + - Each hour range must be >= 2 hours, for example, `0-2` or `20-23`. + + - The event window must be >= 4 hours. The combined total time ranges + in the event window must be >= 4 hours. + + For more information about cron expressions, see + [cron](https://en.wikipedia.org/wiki/Cron) on the *Wikipedia website*. + """ + +@dataclass(kw_only=True) +class ModifyInstanceEventWindowOutput(_SerdeShape): + """Dataclass for ModifyInstanceEventWindowOutput structure.""" + + instance_event_window: InstanceEventWindow | None = ... + """Information about the event window.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceMaintenanceOptionsInput(_SerdeShape): + """Dataclass for ModifyInstanceMaintenanceOptionsInput structure.""" + + instance_id: str | None = ... + """The ID of the instance.""" + auto_recovery: str | None = ... + """ + Disables the automatic recovery behavior of your instance or sets it to + default. + """ + reboot_migration: str | None = ... + """ + Specifies whether to attempt reboot migration during a user-initiated + reboot of an instance that has a scheduled `system-reboot` event: + + - `default` - Amazon EC2 attempts to migrate the instance to new + hardware (reboot migration). If successful, the `system-reboot` event + is cleared. If unsuccessful, an in-place reboot occurs and the event + remains scheduled. + + - `disabled` - Amazon EC2 keeps the instance on the same hardware + (in-place reboot). The `system-reboot` event remains scheduled. + + This setting only applies to supported instances that have a scheduled + reboot event. For more information, see [Enable or disable reboot + migration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration) + in the *Amazon EC2 User Guide*. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyInstanceMaintenanceOptionsOutput(_SerdeShape): + """Dataclass for ModifyInstanceMaintenanceOptionsOutput structure.""" + + instance_id: str | None = ... + """The ID of the instance.""" + auto_recovery: str | None = ... + """ + Provides information on the current automatic recovery behavior of your + instance. + """ + reboot_migration: str | None = ... + """ + Specifies whether to attempt reboot migration during a user-initiated + reboot of an instance that has a scheduled `system-reboot` event: + + - `default` - Amazon EC2 attempts to migrate the instance to new + hardware (reboot migration). If successful, the `system-reboot` event + is cleared. If unsuccessful, an in-place reboot occurs and the event + remains scheduled. + + - `disabled` - Amazon EC2 keeps the instance on the same hardware + (in-place reboot). The `system-reboot` event remains scheduled. + + This setting only applies to supported instances that have a scheduled + reboot event. For more information, see [Enable or disable reboot + migration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration) + in the *Amazon EC2 User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceMetadataDefaultsInput(_SerdeShape): + """Dataclass for ModifyInstanceMetadataDefaultsInput structure.""" + + http_tokens: str | None = ... + """ + Indicates whether IMDSv2 is required. + + - `optional` -- IMDSv2 is optional, which means that you can use either + IMDSv2 or IMDSv1. + + - `required` -- IMDSv2 is required, which means that IMDSv1 is disabled, + and you must use IMDSv2. + """ + http_put_response_hop_limit: int | None = ... + """ + The maximum number of hops that the metadata token can travel. To + indicate no preference, specify `-1`. + + Possible values: Integers from `1` to `64`, and `-1` to indicate no + preference + """ + http_endpoint: str | None = ... + """ + Enables or disables the IMDS endpoint on an instance. When disabled, the + instance metadata can't be accessed. + """ + instance_metadata_tags: str | None = ... + """ + Enables or disables access to an instance's tags from the instance + metadata. For more information, see [View tags for your EC2 instances + using instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html) + in the *Amazon EC2 User Guide*. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + http_tokens_enforced: str | None = ... + """ + Specifies whether to enforce the requirement of IMDSv2 on an instance at + the time of launch. When enforcement is enabled, the instance can't + launch unless IMDSv2 (`HttpTokens`) is set to `required`. For more + information, see [Enforce IMDSv2 at the account + level](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#enforce-imdsv2-at-the-account-level) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class ModifyInstanceMetadataDefaultsOutput(_SerdeShape): + """Dataclass for ModifyInstanceMetadataDefaultsOutput structure.""" + + return_: bool | None = ... + """ + If the request succeeds, the response returns `true`. If the request + fails, no response is returned, and instead an error message is + returned. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceMetadataOptionsInput(_SerdeShape): + """Dataclass for ModifyInstanceMetadataOptionsInput structure.""" + + instance_id: str | None = ... + """The ID of the instance.""" + http_tokens: str | None = ... + """ + Indicates whether IMDSv2 is required. + + - `optional` - IMDSv2 is optional. You can choose whether to send a + session token in your instance metadata retrieval requests. If you + retrieve IAM role credentials without a session token, you receive the + IMDSv1 role credentials. If you retrieve IAM role credentials using a + valid session token, you receive the IMDSv2 role credentials. + + - `required` - IMDSv2 is required. You must send a session token in your + instance metadata retrieval requests. With this option, retrieving the + IAM role credentials always returns IMDSv2 credentials; IMDSv1 + credentials are not available. + + Default: + + - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for + your instance is `v2.0` and the account level default is set to + `no-preference`, the default is `required`. + + - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for + your instance is `v2.0`, but the account level default is set to + `V1 or V2`, the default is `optional`. + + The default value can also be affected by other combinations of + parameters. For more information, see [Order of precedence for instance + metadata + options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence) + in the *Amazon EC2 User Guide*. + """ + http_put_response_hop_limit: int | None = ... + """ + The desired HTTP PUT response hop limit for instance metadata requests. + The larger the number, the further instance metadata requests can + travel. If no parameter is specified, the existing state is maintained. + + Possible values: Integers from 1 to 64 + """ + http_endpoint: str | None = ... + """ + Enables or disables the HTTP metadata endpoint on your instances. If + this parameter is not specified, the existing state is maintained. + + If you specify a value of `disabled`, you cannot access your instance + metadata. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + http_protocol_ipv6: str | None = ... + """ + Enables or disables the IPv6 endpoint for the instance metadata service. + Applies only if you enabled the HTTP metadata endpoint. + """ + instance_metadata_tags: str | None = ... + """ + Set to `enabled` to allow access to instance tags from the instance + metadata. Set to `disabled` to turn off access to instance tags from the + instance metadata. For more information, see [View tags for your EC2 + instances using instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). + """ + +@dataclass(kw_only=True) +class ModifyInstanceMetadataOptionsOutput(_SerdeShape): + """Dataclass for ModifyInstanceMetadataOptionsOutput structure.""" + + instance_id: str | None = ... + """The ID of the instance.""" + instance_metadata_options: InstanceMetadataOptionsResponse | None = ... + """The metadata options for the instance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstanceNetworkPerformanceOptionsInput(_SerdeShape): + """Dataclass for ModifyInstanceNetworkPerformanceOptionsInput structure.""" + + instance_id: str | None = ... + """The ID of the instance to update.""" + bandwidth_weighting: str | None = ... + """ + Specify the bandwidth weighting option to boost the associated type of + baseline bandwidth, as follows: + + default + + : This option uses the standard bandwidth configuration for your + instance type. + + vpc-1 + + : This option boosts your networking baseline bandwidth and reduces your + EBS baseline bandwidth. + + ebs-1 + + : This option boosts your EBS baseline bandwidth and reduces your + networking baseline bandwidth. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyInstanceNetworkPerformanceOptionsOutput(_SerdeShape): + """Dataclass for ModifyInstanceNetworkPerformanceOptionsOutput structure.""" + + instance_id: str | None = ... + """The instance ID that was updated.""" + bandwidth_weighting: str | None = ... + """ + Contains the updated configuration for bandwidth weighting on the + specified instance. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyInstancePlacementInput(_SerdeShape): + """Dataclass for ModifyInstancePlacementInput structure.""" + + group_name: str | None = ... + """ + The name of the placement group in which to place the instance. For + spread placement groups, the instance must have a tenancy of `default`. + For cluster and partition placement groups, the instance must have a + tenancy of `default` or `dedicated`. + + To remove an instance from a placement group, specify an empty string + (\"\"). + """ + partition_number: int | None = ... + """ + The number of the partition in which to place the instance. Valid only + if the placement group strategy is set to `partition`. + """ + host_resource_group_arn: str | None = ... + """ + The ARN of the host resource group in which to place the instance. The + instance must have a tenancy of `host` to specify this parameter. + """ + group_id: str | None = ... + """ + The Group Id of a placement group. You must specify the Placement Group + **Group Id** to launch an instance in a shared placement group. + """ + instance_id: str | None = ... + """The ID of the instance that you are modifying.""" + tenancy: str | None = ... + """ + The tenancy for the instance. + + Note: + For T3 instances, you must launch the instance on a Dedicated Host to + use a tenancy of `host`. You can't change the tenancy from `host` to + `dedicated` or `default`. Attempting to make one of these unsupported + tenancy changes results in an `InvalidRequest` error code. + """ + affinity: str | None = ... + """ + The affinity setting for the instance. For more information, see [Host + affinity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-affinity) + in the *Amazon EC2 User Guide*. + """ + host_id: str | None = ... + """The ID of the Dedicated Host with which to associate the instance.""" + +@dataclass(kw_only=True) +class ModifyInstancePlacementOutput(_SerdeShape): + """Dataclass for ModifyInstancePlacementOutput structure.""" + + return_: bool | None = ... + """Is `true` if the request succeeds, and an error otherwise.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamInput(_SerdeShape): + """Dataclass for ModifyIpamInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """The ID of the IPAM you want to modify.""" + description: str | None = ... + """The description of the IPAM you want to modify.""" + add_operating_regions: list[AddIpamOperatingRegion] | None = ... + """ + Choose the operating Regions for the IPAM. Operating Regions are Amazon + Web Services Regions where the IPAM is allowed to manage IP address + CIDRs. IPAM only discovers and monitors resources in the Amazon Web + Services Regions you select as operating Regions. + + For more information about operating Regions, see [Create an + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in + the *Amazon VPC IPAM User Guide*. + """ + remove_operating_regions: list[RemoveIpamOperatingRegion] | None = ... + """The operating Regions to remove.""" + tier: str | None = ... + """ + IPAM is offered in a Free Tier and an Advanced Tier. For more + information about the features available in each tier and the costs + associated with the tiers, see [Amazon VPC pricing > IPAM + tab](http://aws.amazon.com/vpc/pricing/). + """ + enable_private_gua: bool | None = ... + """ + Enable this option to use your own GUA ranges as private IPv6 addresses. + This option is disabled by default. + """ + metered_account: str | None = ... + """ + A metered account is an Amazon Web Services account that is charged for + active IP addresses managed in IPAM. For more information, see [Enable + cost + distribution](https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html) + in the *Amazon VPC IPAM User Guide*. + + Possible values: + + - `ipam-owner` (default): The Amazon Web Services account which owns the + IPAM is charged for all active IP addresses managed in IPAM. + + - `resource-owner`: The Amazon Web Services account that owns the IP + address is charged for the active IP address. + """ + +@dataclass(kw_only=True) +class ModifyIpamOutput(_SerdeShape): + """Dataclass for ModifyIpamOutput structure.""" + + ipam: Ipam | None = ... + """The results of the modification.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamPolicyAllocationRulesInput(_SerdeShape): + """Dataclass for ModifyIpamPolicyAllocationRulesInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_policy_id: str | None = ... + """The ID of the IPAM policy whose allocation rules you want to modify.""" + locale: str | None = ... + """The locale for which to modify the allocation rules.""" + resource_type: str | None = ... + """ + The resource type for which to modify the allocation rules. + + The Amazon Web Services service or resource type that can use IP + addresses through IPAM policies. Supported services and resource types + include: + + - Elastic IP addresses + """ + allocation_rules: list[IpamPolicyAllocationRuleRequest] | None = ... + """ + The new allocation rules to apply to the IPAM policy. + + Allocation rules are optional configurations within an IPAM policy that + map Amazon Web Services resource types to specific IPAM pools. If no + rules are defined, the resource types default to using Amazon-provided + IP addresses. + """ + +@dataclass(kw_only=True) +class ModifyIpamPolicyAllocationRulesOutput(_SerdeShape): + """Dataclass for ModifyIpamPolicyAllocationRulesOutput structure.""" + + ipam_policy_document: IpamPolicyDocument | None = ... + """The modified IPAM policy containing the updated allocation rules.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamPoolAllocationInput(_SerdeShape): + """Dataclass for ModifyIpamPoolAllocationInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_allocation_id: str | None = ... + """The ID of the IPAM pool allocation you want to modify.""" + description: str | None = ... + """ + The new description for the IPAM pool allocation. If you submit a `null` + value, the description is removed from the allocation. + """ + +@dataclass(kw_only=True) +class ModifyIpamPoolAllocationOutput(_SerdeShape): + """Dataclass for ModifyIpamPoolAllocationOutput structure.""" + + ipam_pool_allocation: IpamPoolAllocation | None = ... + """The modified IPAM pool allocation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamPoolInput(_SerdeShape): + """Dataclass for ModifyIpamPoolInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_id: str | None = ... + """The ID of the IPAM pool you want to modify.""" + description: str | None = ... + """The description of the IPAM pool you want to modify.""" + auto_import: bool | None = ... + """ + If true, IPAM will continuously look for resources within the CIDR range + of this pool and automatically import them as allocations into your + IPAM. The CIDRs that will be allocated for these resources must not + already be allocated to other resources in order for the import to + succeed. IPAM will import a CIDR regardless of its compliance with the + pool's allocation rules, so a resource might be imported and + subsequently marked as noncompliant. If IPAM discovers multiple CIDRs + that overlap, IPAM will import the largest CIDR only. If IPAM discovers + multiple CIDRs with matching CIDRs, IPAM will randomly import one of + them only. + + A locale must be set on the pool for this feature to work. + """ + allocation_min_netmask_length: int | None = ... + """ + The minimum netmask length required for CIDR allocations in this IPAM + pool to be compliant. Possible netmask lengths for IPv4 addresses are + 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. The + minimum netmask length must be less than the maximum netmask length. + """ + allocation_max_netmask_length: int | None = ... + """ + The maximum netmask length possible for CIDR allocations in this IPAM + pool to be compliant. Possible netmask lengths for IPv4 addresses are + 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.The + maximum netmask length must be greater than the minimum netmask length. + """ + allocation_default_netmask_length: int | None = ... + """ + The default netmask length for allocations added to this pool. If, for + example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 + here, new allocations will default to 10.0.0.0/16. + """ + clear_allocation_default_netmask_length: bool | None = ... + """Clear the default netmask length allocation rule for this pool.""" + add_allocation_resource_tags: list[RequestIpamResourceTag] | None = ... + """ + Add tag allocation rules to a pool. For more information about + allocation rules, see [Create a top-level + pool](https://docs.aws.amazon.com/vpc/latest/ipam/create-top-ipam.html) + in the *Amazon VPC IPAM User Guide*. + """ + remove_allocation_resource_tags: list[RequestIpamResourceTag] | None = ... + """Remove tag allocation rules from a pool.""" + +@dataclass(kw_only=True) +class ModifyIpamPoolOutput(_SerdeShape): + """Dataclass for ModifyIpamPoolOutput structure.""" + + ipam_pool: IpamPool | None = ... + """The results of the modification.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamPrefixListResolverInput(_SerdeShape): + """Dataclass for ModifyIpamPrefixListResolverInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_prefix_list_resolver_id: str | None = ... + """The ID of the IPAM prefix list resolver to modify.""" + description: str | None = ... + """A new description for the IPAM prefix list resolver.""" + rules: list[IpamPrefixListResolverRuleRequest] | None = ... + """ + The updated CIDR selection rules for the resolver. These rules replace + the existing rules entirely. + """ + +@dataclass(kw_only=True) +class ModifyIpamPrefixListResolverOutput(_SerdeShape): + """Dataclass for ModifyIpamPrefixListResolverOutput structure.""" + + ipam_prefix_list_resolver: IpamPrefixListResolver | None = ... + """Information about the modified IPAM prefix list resolver.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamPrefixListResolverTargetInput(_SerdeShape): + """Dataclass for ModifyIpamPrefixListResolverTargetInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_prefix_list_resolver_target_id: str | None = ... + """The ID of the IPAM prefix list resolver target to modify.""" + desired_version: int | None = ... + """ + The desired version of the prefix list to target. This allows you to pin + the target to a specific version. + """ + track_latest_version: bool | None = ... + """ + Indicates whether the resolver target should automatically track the + latest version of the prefix list. When enabled, the target will always + synchronize with the most current version. + + Choose this for automatic updates when you want your prefix lists to + stay current with infrastructure changes without manual intervention. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class ModifyIpamPrefixListResolverTargetOutput(_SerdeShape): + """Dataclass for ModifyIpamPrefixListResolverTargetOutput structure.""" + + ipam_prefix_list_resolver_target: IpamPrefixListResolverTarget | None = ... + """Information about the modified IPAM prefix list resolver target.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamResourceCidrInput(_SerdeShape): + """Dataclass for ModifyIpamResourceCidrInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + resource_id: str | None = ... + """The ID of the resource you want to modify.""" + resource_cidr: str | None = ... + """The CIDR of the resource you want to modify.""" + resource_region: str | None = ... + """The Amazon Web Services Region of the resource you want to modify.""" + current_ipam_scope_id: str | None = ... + """The ID of the current scope that the resource CIDR is in.""" + destination_ipam_scope_id: str | None = ... + """The ID of the scope you want to transfer the resource CIDR to.""" + monitored: bool | None = ... + """ + Determines if the resource is monitored by IPAM. If a resource is + monitored, the resource is discovered by IPAM and you can view details + about the resource's CIDR. + """ + +@dataclass(kw_only=True) +class ModifyIpamResourceCidrOutput(_SerdeShape): + """Dataclass for ModifyIpamResourceCidrOutput structure.""" + + ipam_resource_cidr: IpamResourceCidr | None = ... + """The CIDR of the resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamResourceDiscoveryInput(_SerdeShape): + """Dataclass for ModifyIpamResourceDiscoveryInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_resource_discovery_id: str | None = ... + """A resource discovery ID.""" + description: str | None = ... + """A resource discovery description.""" + add_operating_regions: list[AddIpamOperatingRegion] | None = ... + """ + Add operating Regions to the resource discovery. Operating Regions are + Amazon Web Services Regions where the IPAM is allowed to manage IP + address CIDRs. IPAM only discovers and monitors resources in the Amazon + Web Services Regions you select as operating Regions. + """ + remove_operating_regions: list[RemoveIpamOperatingRegion] | None = ... + """Remove operating Regions.""" + add_organizational_unit_exclusions: ( + list[AddIpamOrganizationalUnitExclusion] | None + ) = ... + """ + Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is + integrated with Amazon Web Services Organizations and you add an + organizational unit (OU) exclusion, IPAM will not manage the IP + addresses in accounts in that OU exclusion. There is a limit on the + number of exclusions you can create. For more information, see [Quotas + for your + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in + the *Amazon VPC IPAM User Guide*. + + Note: + The resulting set of exclusions must not result in \"overlap\", meaning + two or more OU exclusions must not exclude the same OU. For more + information and examples, see the Amazon Web Services CLI request + process in [Add or remove OU + exclusions](https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete) + in the *Amazon VPC User Guide*. + """ + remove_organizational_unit_exclusions: ( + list[RemoveIpamOrganizationalUnitExclusion] | None + ) = ... + """ + Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM + is integrated with Amazon Web Services Organizations and you add an + organizational unit (OU) exclusion, IPAM will not manage the IP + addresses in accounts in that OU exclusion. There is a limit on the + number of exclusions you can create. For more information, see [Quotas + for your + IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in + the *Amazon VPC IPAM User Guide*. + + Note: + The resulting set of exclusions must not result in \"overlap\", meaning + two or more OU exclusions must not exclude the same OU. For more + information and examples, see the Amazon Web Services CLI request + process in [Add or remove OU + exclusions](https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete) + in the *Amazon VPC User Guide*. + """ + +@dataclass(kw_only=True) +class ModifyIpamResourceDiscoveryOutput(_SerdeShape): + """Dataclass for ModifyIpamResourceDiscoveryOutput structure.""" + + ipam_resource_discovery: IpamResourceDiscovery | None = ... + """A resource discovery.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamRoutingPolicyRegistrationInput(_SerdeShape): + """Dataclass for ModifyIpamRoutingPolicyRegistrationInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_internet_registry_association_id: str | None = ... + """The ID of the IPAM internet registry association.""" + cidr: str | None = ... + """ + The IP address prefix in CIDR notation identifying the routing policy + registration to modify. + """ + asns: list[str] | None = ... + """ + The updated list of Autonomous System Numbers (ASNs) authorized to + originate the prefix. + """ + permit_more_specific_announcements: bool | None = ... + """ + Specifies whether to permit more specific route announcements than the + CIDR prefix. Default: `false`. + """ + max_length: int | None = ... + """ + The new maximum prefix length that the ASNs are authorized to announce. + Must be greater than or equal to the prefix length of the CIDR. + """ + description: str | None = ... + """A new description for the routing policy registration.""" + force: bool | None = ... + """ + Forces the modification even if it conflicts with an announced route. + Default: `false`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. If this token matches a previous + request, the operation ignores the request, but does not return an + error. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class ModifyIpamRoutingPolicyRegistrationOutput(_SerdeShape): + """Dataclass for ModifyIpamRoutingPolicyRegistrationOutput structure.""" + + ipam_routing_policy_registration_delta: ( + IpamRoutingPolicyRegistrationDelta | None + ) = ... + """ + Information about the routing policy registration delta created by this + modification. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIpamScopeInput(_SerdeShape): + """Dataclass for ModifyIpamScopeInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_scope_id: str | None = ... + """The ID of the scope you want to modify.""" + description: str | None = ... + """The description of the scope you want to modify.""" + external_authority_configuration: ExternalAuthorityConfiguration | None = ... + """ + The configuration that links an Amazon VPC IPAM scope to an external + authority system. It specifies the type of external system and the + external resource identifier that identifies your account or instance in + that system. + + In IPAM, an external authority is a third-party IP address management + system that provides CIDR blocks when you provision address space for + top-level IPAM pools. This allows you to use your existing IP management + system to control which address ranges are allocated to Amazon Web + Services while using Amazon VPC IPAM to manage subnets within those + ranges. + """ + remove_external_authority_configuration: bool | None = ... + """Remove the external authority configuration. `true` to remove.""" + +@dataclass(kw_only=True) +class ModifyIpamScopeOutput(_SerdeShape): + """Dataclass for ModifyIpamScopeOutput structure.""" + + ipam_scope: IpamScope | None = ... + """The results of the modification.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyLaunchTemplateInput(_SerdeShape): + """Dataclass for ModifyLaunchTemplateInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier you provide to ensure the idempotency + of the request. If a client token isn't specified, a randomly generated + token is used in the request to ensure idempotency. + + For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + Constraint: Maximum 128 ASCII characters. + + This field is autopopulated if not provided. + """ + launch_template_id: str | None = ... + """ + The ID of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + launch_template_name: str | None = ... + """ + The name of the launch template. + + You must specify either the launch template ID or the launch template + name, but not both. + """ + default_version: str | None = ... + """The version number of the launch template to set as the default version.""" + +@dataclass(kw_only=True) +class ModifyLaunchTemplateOutput(_SerdeShape): + """Dataclass for ModifyLaunchTemplateOutput structure.""" + + launch_template: LaunchTemplate | None = ... + """Information about the launch template.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyLocalGatewayRouteInput(_SerdeShape): + """Dataclass for ModifyLocalGatewayRouteInput structure.""" + + destination_cidr_block: str | None = ... + """ + The CIDR block used for destination matches. The value that you provide + must match the CIDR of an existing route in the table. + """ + local_gateway_route_table_id: str | None = ... + """The ID of the local gateway route table.""" + local_gateway_virtual_interface_group_id: str | None = ... + """The ID of the virtual interface group.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + destination_prefix_list_id: str | None = ... + """ + The ID of the prefix list. Use a prefix list in place of + `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and + `DestinationCidrBlock` in the same request. + """ + +@dataclass(kw_only=True) +class ModifyLocalGatewayRouteOutput(_SerdeShape): + """Dataclass for ModifyLocalGatewayRouteOutput structure.""" + + route: LocalGatewayRoute | None = ... + """Information about the local gateway route table.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyManagedPrefixListInput(_SerdeShape): + """Dataclass for ModifyManagedPrefixListInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + current_version: int | None = ... + """The current version of the prefix list.""" + prefix_list_name: str | None = ... + """A name for the prefix list.""" + add_entries: list[AddPrefixListEntry] | None = ... + """One or more entries to add to the prefix list.""" + remove_entries: list[RemovePrefixListEntry] | None = ... + """One or more entries to remove from the prefix list.""" + max_entries: int | None = ... + """ + The maximum number of entries for the prefix list. You cannot modify the + entries of a prefix list and modify the size of a prefix list at the + same time. + + If any of the resources that reference the prefix list cannot support + the new maximum size, the modify operation fails. Check the state + message for the IDs of the first ten resources that do not support the + new maximum size. + """ + ipam_prefix_list_resolver_sync_enabled: bool | None = ... + """ + Indicates whether synchronization with an IPAM prefix list resolver + should be enabled for this managed prefix list. When enabled, the prefix + list CIDRs are automatically updated based on the associated resolver's + CIDR selection rules. + """ + +@dataclass(kw_only=True) +class ModifyManagedPrefixListOutput(_SerdeShape): + """Dataclass for ModifyManagedPrefixListOutput structure.""" + + prefix_list: ManagedPrefixList | None = ... + """Information about the prefix list.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyManagedResourceVisibilityInput(_SerdeShape): + """Dataclass for ModifyManagedResourceVisibilityInput structure.""" + + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + default_visibility: str | None = ... + """ + The default visibility setting for managed resources. Valid values: + `hidden` | `visible`. + """ + +@dataclass(kw_only=True) +class ModifyManagedResourceVisibilityOutput(_SerdeShape): + """Dataclass for ModifyManagedResourceVisibilityOutput structure.""" + + visibility: ManagedResourceVisibilitySettings | None = ... + """The updated managed resource visibility settings for the account.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyNetworkInterfaceAttributeInput(_SerdeShape): + """Contains the parameters for ModifyNetworkInterfaceAttribute.""" + + ena_srd_specification: EnaSrdSpecification | None = ... + """ + Updates the ENA Express configuration for the network interface that's + attached to the instance. + """ + enable_primary_ipv6: bool | None = ... + """ + If you're modifying a network interface in a dual-stack or IPv6-only + subnet, you have the option to assign a primary IPv6 IP address. A + primary IPv6 address is an IPv6 GUA address associated with an ENI that + you have enabled to use a primary IPv6 address. Use this option if the + instance that this ENI will be attached to relies on its IPv6 address + not changing. Amazon Web Services will automatically assign an IPv6 + address associated with the ENI attached to your instance to be the + primary IPv6 address. Once you enable an IPv6 GUA address to be a + primary IPv6, you cannot disable it. When you enable an IPv6 GUA address + to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 + address until the instance is terminated or the network interface is + detached. If you have multiple IPv6 addresses associated with an ENI + attached to your instance and you enable a primary IPv6 address, the + first IPv6 GUA address associated with the ENI becomes the primary IPv6 + address. + """ + connection_tracking_specification: ( + ConnectionTrackingSpecificationRequest | None + ) = ... + """A connection tracking specification.""" + associate_public_ip_address: bool | None = ... + """ + Indicates whether to assign a public IPv4 address to a network + interface. This option can be enabled for any network interface but will + only apply to the primary network interface (eth0). + """ + associated_subnet_ids: list[str] | None = ... + """A list of subnet IDs to associate with the network interface.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + network_interface_id: str | None = ... + """The ID of the network interface.""" + description: AttributeValue | None = ... + """A description for the network interface.""" + source_dest_check: AttributeBooleanValue | None = ... + """ + Enable or disable source/destination checks, which ensure that the + instance is either the source or the destination of any traffic that it + receives. If the value is `true`, source/destination checks are enabled; + otherwise, they are disabled. The default value is `true`. You must + disable source/destination checks if the instance runs services such as + network address translation, routing, or firewalls. + """ + groups: list[str] | None = ... + """ + Changes the security groups for the network interface. The new set of + groups you specify replaces the current set. You must specify at least + one group, even if it's just the default security group in the VPC. You + must specify the ID of the security group, not the name. + """ + attachment: NetworkInterfaceAttachmentChanges | None = ... + """ + Information about the interface attachment. If modifying the + `delete on termination` attribute, you must specify the ID of the + interface attachment. + """ + +@dataclass(kw_only=True) +class ModifyNetworkInterfaceAttributeOutput(_SerdeShape): + """Dataclass for ModifyNetworkInterfaceAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyPrivateDnsNameOptionsInput(_SerdeShape): + """Dataclass for ModifyPrivateDnsNameOptionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + instance_id: str | None = ... + """The ID of the instance.""" + private_dns_hostname_type: str | None = ... + """ + The type of hostname for EC2 instances. For IPv4 only subnets, an + instance DNS name must be based on the instance IPv4 address. For IPv6 + only subnets, an instance DNS name must be based on the instance ID. For + dual-stack subnets, you can specify whether DNS names use the instance + IPv4 address or the instance ID. + """ + enable_resource_name_dns_a_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS A records. + """ + enable_resource_name_dns_aaaa_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS AAAA records. + """ + +@dataclass(kw_only=True) +class ModifyPrivateDnsNameOptionsOutput(_SerdeShape): + """Dataclass for ModifyPrivateDnsNameOptionsOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyPublicIpDnsNameOptionsInput(_SerdeShape): + """Dataclass for ModifyPublicIpDnsNameOptionsInput structure.""" + + network_interface_id: str | None = ... + """A network interface ID.""" + hostname_type: str | None = ... + """ + The public hostname type. For more information, see [EC2 instance + hostnames, DNS names, and + domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) + in the *Amazon EC2 User Guide*. + + - `public-dual-stack-dns-name`: A dual-stack public hostname for a + network interface. Requests from within the VPC resolve to both the + private IPv4 address and the IPv6 Global Unicast Address of the + network interface. Requests from the internet resolve to both the + public IPv4 and the IPv6 GUA address of the network interface. + + - `public-ipv4-dns-name`: An IPv4-enabled public hostname for a network + interface. Requests from within the VPC resolve to the private primary + IPv4 address of the network interface. Requests from the internet + resolve to the public IPv4 address of the network interface. + + - `public-ipv6-dns-name`: An IPv6-enabled public hostname for a network + interface. Requests from within the VPC or from the internet resolve + to the IPv6 GUA of the network interface. + """ + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyPublicIpDnsNameOptionsOutput(_SerdeShape): + """Dataclass for ModifyPublicIpDnsNameOptionsOutput structure.""" + + successful: bool | None = ... + """Whether or not the request was successful.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyReservedInstancesInput(_SerdeShape): + """Contains the parameters for ModifyReservedInstances.""" + + reserved_instances_ids: list[str] | None = ... + """The IDs of the Reserved Instances to modify.""" + client_token: str | None = ... + """ + A unique, case-sensitive token you provide to ensure idempotency of your + modification request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + target_configurations: list[ReservedInstancesConfiguration] | None = ... + """The configuration settings for the Reserved Instances to modify.""" + +@dataclass(kw_only=True) +class ModifyReservedInstancesOutput(_SerdeShape): + """Contains the output of ModifyReservedInstances.""" + + reserved_instances_modification_id: str | None = ... + """The ID for the modification.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyRouteServerInput(_SerdeShape): + """Dataclass for ModifyRouteServerInput structure.""" + + route_server_id: str | None = ... + """The ID of the route server to modify.""" + persist_routes: str | None = ... + """ + Specifies whether to persist routes after all BGP sessions are + terminated. + + - enable: Routes will be persisted in FIB and RIB after all BGP sessions + are terminated. + + - disable: Routes will not be persisted in FIB and RIB after all BGP + sessions are terminated. + + - reset: If a route server has persisted routes due to all BGP sessions + having ended, reset will withdraw all routes and reset route server to + an empty FIB and RIB. + """ + persist_routes_duration: int | None = ... + """ + The number of minutes a route server will wait after BGP is + re-established to unpersist the routes in the FIB and RIB. Value must be + in the range of 1-5. Required if PersistRoutes is `enabled`. + + If you set the duration to 1 minute, then when your network appliance + re-establishes BGP with route server, it has 1 minute to relearn it's + adjacent network and advertise those routes to route server before route + server resumes normal functionality. In most cases, 1 minute is probably + sufficient. If, however, you have concerns that your BGP network may not + be capable of fully re-establishing and re-learning everything in 1 + minute, you can increase the duration up to 5 minutes. + """ + sns_notifications_enabled: bool | None = ... + """ + Specifies whether to enable SNS notifications for route server events. + Enabling SNS notifications persists BGP status changes to an SNS topic + provisioned by Amazon Web Services. + """ + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyRouteServerOutput(_SerdeShape): + """Dataclass for ModifyRouteServerOutput structure.""" + + route_server: RouteServer | None = ... + """Information about the modified route server.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifySecurityGroupRulesInput(_SerdeShape): + """Dataclass for ModifySecurityGroupRulesInput structure.""" + + group_id: str | None = ... + """The ID of the security group.""" + security_group_rules: list[SecurityGroupRuleUpdate] | None = ... + """Information about the security group properties to update.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifySecurityGroupRulesOutput(_SerdeShape): + """Dataclass for ModifySecurityGroupRulesOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifySnapshotAttributeInput(_SerdeShape): + """Dataclass for ModifySnapshotAttributeInput structure.""" + + attribute: str | None = ... + """ + The snapshot attribute to modify. Only volume creation permissions can + be modified. + """ + create_volume_permission: CreateVolumePermissionModifications | None = ... + """A JSON representation of the snapshot attribute modification.""" + group_names: list[str] | None = ... + """The group to modify for the snapshot.""" + operation_type: str | None = ... + """The type of operation to perform to the attribute.""" + snapshot_id: str | None = ... + """The ID of the snapshot.""" + user_ids: list[str] | None = ... + """The account ID to modify for the snapshot.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifySnapshotAttributeOutput(_SerdeShape): + """Dataclass for ModifySnapshotAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifySnapshotTierInput(_SerdeShape): + """Dataclass for ModifySnapshotTierInput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + storage_tier: str | None = ... + """The name of the storage tier. You must specify `archive`.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifySnapshotTierOutput(_SerdeShape): + """Dataclass for ModifySnapshotTierOutput structure.""" + + snapshot_id: str | None = ... + """The ID of the snapshot.""" + tiering_start_time: datetime | None = ... + """The date and time when the archive process was started.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifySpotFleetRequestInput(_SerdeShape): + """Contains the parameters for ModifySpotFleetRequest.""" + + launch_template_configs: list[LaunchTemplateConfig] | None = ... + """ + The launch template and overrides. You can only use this parameter if + you specified a launch template (`LaunchTemplateConfigs`) in your Spot + Fleet request. If you specified `LaunchSpecifications` in your Spot + Fleet request, then omit this parameter. + """ + on_demand_target_capacity: int | None = ... + """The number of On-Demand Instances in the fleet.""" + context: str | None = ... + """Reserved.""" + spot_fleet_request_id: str | None = ... + """The ID of the Spot Fleet request.""" + target_capacity: int | None = ... + """The size of the fleet.""" + excess_capacity_termination_policy: str | None = ... + """ + Indicates whether running instances should be terminated if the target + capacity of the Spot Fleet request is decreased below the current size + of the Spot Fleet. + + Supported only for fleets of type `maintain`. + """ + +@dataclass(kw_only=True) +class ModifySpotFleetRequestOutput(_SerdeShape): + """Contains the output of ModifySpotFleetRequest.""" + + return_: bool | None = ... + """ + If the request succeeds, the response returns `true`. If the request + fails, no response is returned, and instead an error message is + returned. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifySubnetAttributeInput(_SerdeShape): + """Dataclass for ModifySubnetAttributeInput structure.""" + + assign_ipv6_address_on_creation: AttributeBooleanValue | None = ... + """ + Specify `true` to indicate that network interfaces created in the + specified subnet should be assigned an IPv6 address. This includes a + network interface that's created when launching an instance into the + subnet (the instance therefore receives an IPv6 address). + + If you enable the IPv6 addressing feature for your subnet, your network + interface or instance only receives an IPv6 address if it's created + using version `2016-11-15` or later of the Amazon EC2 API. + """ + map_public_ip_on_launch: AttributeBooleanValue | None = ... + """ + Specify `true` to indicate that network interfaces attached to instances + created in the specified subnet should be assigned a public IPv4 + address. + + Amazon Web Services charges for all public IPv4 addresses, including + public IPv4 addresses associated with running instances and Elastic IP + addresses. For more information, see the *Public IPv4 Address* tab on + the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). + """ + subnet_id: str | None = ... + """The ID of the subnet.""" + map_customer_owned_ip_on_launch: AttributeBooleanValue | None = ... + """ + Specify `true` to indicate that network interfaces attached to instances + created in the specified subnet should be assigned a customer-owned IPv4 + address. + + When this value is `true`, you must specify the customer-owned IP pool + using `CustomerOwnedIpv4Pool`. + """ + customer_owned_ipv4_pool: str | None = ... + """ + The customer-owned IPv4 address pool associated with the subnet. + + You must set this value when you specify `true` for + `MapCustomerOwnedIpOnLaunch`. + """ + enable_dns64: AttributeBooleanValue | None = ... + """ + Indicates whether DNS queries made to the Amazon-provided DNS Resolver + in this subnet should return synthetic IPv6 addresses for IPv4-only + destinations. + + You must first configure a NAT gateway in a public subnet (separate from + the subnet containing the IPv6-only workloads). For example, the subnet + containing the NAT gateway should have a `0.0.0.0/0` route pointing to + the internet gateway. For more information, see [Configure DNS64 and + NAT64](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html#nat-gateway-nat64-dns64-walkthrough) + in the *Amazon VPC User Guide*. + """ + private_dns_hostname_type_on_launch: str | None = ... + """ + The type of hostname to assign to instances in the subnet at launch. For + IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS name + can be based on the instance IPv4 address (ip-name) or the instance ID + (resource-name). For IPv6 only subnets, an instance DNS name must be + based on the instance ID (resource-name). + """ + enable_resource_name_dns_a_record_on_launch: AttributeBooleanValue | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS A records. + """ + enable_resource_name_dns_aaaa_record_on_launch: AttributeBooleanValue | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS AAAA records. + """ + enable_lni_at_device_index: int | None = ... + """ + Indicates the device position for local network interfaces in this + subnet. For example, `1` indicates local network interfaces in this + subnet are the secondary network interface (eth1). A local network + interface cannot be the primary network interface (eth0). + """ + disable_lni_at_device_index: AttributeBooleanValue | None = ... + """ + Specify `true` to indicate that local network interfaces at the current + position should be disabled. + """ + +@dataclass(kw_only=True) +class ModifySubnetAttributeOutput(_SerdeShape): + """Dataclass for ModifySubnetAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTrafficMirrorFilterNetworkServicesInput(_SerdeShape): + """Dataclass for ModifyTrafficMirrorFilterNetworkServicesInput structure.""" + + traffic_mirror_filter_id: str | None = ... + """The ID of the Traffic Mirror filter.""" + add_network_services: list[str] | None = ... + """The network service, for example Amazon DNS, that you want to mirror.""" + remove_network_services: list[str] | None = ... + """ + The network service, for example Amazon DNS, that you no longer want to + mirror. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyTrafficMirrorFilterNetworkServicesOutput(_SerdeShape): + """Dataclass for ModifyTrafficMirrorFilterNetworkServicesOutput structure.""" + + traffic_mirror_filter: TrafficMirrorFilter | None = ... + """The Traffic Mirror filter that the network service is associated with.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTrafficMirrorFilterRuleInput(_SerdeShape): + """Dataclass for ModifyTrafficMirrorFilterRuleInput structure.""" + + traffic_mirror_filter_rule_id: str | None = ... + """The ID of the Traffic Mirror rule.""" + traffic_direction: str | None = ... + """The type of traffic to assign to the rule.""" + rule_number: int | None = ... + """ + The number of the Traffic Mirror rule. This number must be unique for + each Traffic Mirror rule in a given direction. The rules are processed + in ascending order by rule number. + """ + rule_action: str | None = ... + """The action to assign to the rule.""" + destination_port_range: TrafficMirrorPortRangeRequest | None = ... + """The destination ports that are associated with the Traffic Mirror rule.""" + source_port_range: TrafficMirrorPortRangeRequest | None = ... + """The port range to assign to the Traffic Mirror rule.""" + protocol: int | None = ... + """The protocol, for example TCP, to assign to the Traffic Mirror rule.""" + destination_cidr_block: str | None = ... + """The destination CIDR block to assign to the Traffic Mirror rule.""" + source_cidr_block: str | None = ... + """The source CIDR block to assign to the Traffic Mirror rule.""" + description: str | None = ... + """The description to assign to the Traffic Mirror rule.""" + remove_fields: list[str] | None = ... + """ + The properties that you want to remove from the Traffic Mirror filter + rule. + + When you remove a property from a Traffic Mirror filter rule, the + property is set to the default. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyTrafficMirrorFilterRuleOutput(_SerdeShape): + """Dataclass for ModifyTrafficMirrorFilterRuleOutput structure.""" + + traffic_mirror_filter_rule: TrafficMirrorFilterRule | None = ... + """ + Note: + Tags are not returned for ModifyTrafficMirrorFilterRule. + + A Traffic Mirror rule. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTrafficMirrorSessionInput(_SerdeShape): + """Dataclass for ModifyTrafficMirrorSessionInput structure.""" + + traffic_mirror_session_id: str | None = ... + """The ID of the Traffic Mirror session.""" + traffic_mirror_target_id: str | None = ... + """ + The Traffic Mirror target. The target must be in the same VPC as the + source, or have a VPC peering connection with the source. + """ + traffic_mirror_filter_id: str | None = ... + """The ID of the Traffic Mirror filter.""" + packet_length: int | None = ... + """ + The number of bytes in each packet to mirror. These are bytes after the + VXLAN header. To mirror a subset, set this to the length (in bytes) to + mirror. For example, if you set this value to 100, then the first 100 + bytes that meet the filter criteria are copied to the target. Do not + specify this parameter when you want to mirror the entire packet. + + For sessions with Network Load Balancer (NLB) traffic mirror targets, + the default `PacketLength` will be set to 8500. Valid values are 1-8500. + Setting a `PacketLength` greater than 8500 will result in an error + response. + """ + session_number: int | None = ... + """ + The session number determines the order in which sessions are evaluated + when an interface is used by multiple sessions. The first session with a + matching filter is the one that mirrors the packets. + + Valid values are 1-32766. + """ + virtual_network_id: int | None = ... + """The virtual network ID of the Traffic Mirror session.""" + description: str | None = ... + """The description to assign to the Traffic Mirror session.""" + remove_fields: list[str] | None = ... + """ + The properties that you want to remove from the Traffic Mirror session. + + When you remove a property from a Traffic Mirror session, the property + is set to the default. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_9.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_9.pyi new file mode 100644 index 000000000..cf255c2d9 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/models_9.pyi @@ -0,0 +1,5223 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccessScopePath, + AddedPrincipal, + AdditionalDetail, + AlternatePathHint, + AnalysisAclRule, + AnalysisComponent, + AnalysisPacketHeader, + AnalysisRouteTableRoute, + AnalysisSecurityGroupRule, + AnalysisTransitGatewayPolicyTableEntry, + AsnAuthorizationContext, + AttachmentEnaSrdSpecification, + AttributeBooleanValue, + BlockDeviceMapping, + Byoasn, + ByoipCidr, + CapacityBlock, + CapacityBlockExtension, + CapacityReservation, + CapacityReservationOptions, + CapacityReservationOptionsRequest, + CidrAuthorizationContext, + ConnectionTrackingConfiguration, + DefaultConnectionTrackingConfiguration, + DnsOptionsSpecification, + EfaInfo, + Explanation, + FilterPortRange, + FirewallStatefulRule, + FirewallStatelessRule, + GroupIdentifier, + IKEVersionsRequestListValue, + IcmpTypeCode, + IdFormat, + InstanceMonitoring, + IpamCidrAuthorizationContext, + IpamPoolCidr, + Ipv4PrefixSpecification, + Ipv6PrefixSpecification, + RequestFilterPortRange, + ReservedInstanceLimitPrice, + ResourceStatement, + ResourceStatementRequest, + ScheduledInstance, + SubnetConfiguration, + Tag, + TagSpecification, + TrafficMirrorSession, + TransitGateway, + TransitGatewayMeteringPolicy, + TransitGatewayNatRule, + TransitGatewayNatRuleRequest, + TransitGatewayPolicyTableEntry, + TransitGatewayPrefixListReference, + TransitGatewayRequestPolicyRule, + TransitGatewayRouteTableRoute, + TransitGatewayVpcAttachment, + VerifiedAccessEndpoint, + VerifiedAccessGroup, + VerifiedAccessInstance, + VerifiedAccessInstanceLoggingConfiguration, + VerifiedAccessLogOptions, + VerifiedAccessSseSpecificationRequest, + VerifiedAccessSseSpecificationResponse, + VerifiedAccessTrustProvider, + VolumeModification, + VpcBlockPublicAccessExclusion, + VpcBlockPublicAccessOptions, + VpcEncryptionControl, + VpnConnection, + VpnTunnelLogOptionsSpecification, + _SerdeShape, +) + +@dataclass(kw_only=True) +class ModifyTrafficMirrorSessionOutput(_SerdeShape): + """Dataclass for ModifyTrafficMirrorSessionOutput structure.""" + + traffic_mirror_session: TrafficMirrorSession | None = ... + """Information about the Traffic Mirror session.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayAttachmentNatConfigurationInput(_SerdeShape): + """ + Dataclass for ModifyTransitGatewayAttachmentNatConfigurationInput + structure. + """ + + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + nat_gateway_support: str | None = ... + """ + Specifies whether to enable or disable NAT gateway support for the + attachment. To enable NAT gateway support, the attachment must have at + least one NAT gateway rule. You can't modify the NAT configuration + while NAT gateway support is `enabling` or `disabling`. If you omit this + parameter, the current value doesn't change. + """ + nat_system_route_support: str | None = ... + """ + Specifies whether the transit gateway installs routes for the NAT CIDRs + in the route tables to which the attachment propagates. For VPC + attachments, the transit gateway always installs these routes. You can + enable or disable this option only for Amazon Web Services Direct + Connect gateway attachments and Site-to-Site VPN attachments that use + dynamic routing. For these attachments, the default is `enable`. If you + omit this parameter, the current value doesn't change. + """ + nat_gateway_rules: list[TransitGatewayNatRuleRequest] | None = ... + """ + The NAT gateway rules for the attachment. The rules that you specify + replace all existing NAT gateway rules for the attachment. You can + specify up to 50 rules for an attachment. If you omit this parameter, + the existing rules don't change. To remove all rules, use + `ResetNatGatewayRules`. + """ + reset_nat_gateway_rules: bool | None = ... + """ + Specifies whether to remove all NAT gateway rules from the attachment. + If you omit this parameter, the transit gateway doesn't remove any + rules. You can't specify this parameter together with + `NatGatewayRules`. Because you can't enable NAT gateway support without + rules, also set `NatGatewaySupport` to `disable` in the same request if + NAT gateway support is currently enabled. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayAttachmentNatConfigurationOutput(_SerdeShape): + """ + Dataclass for ModifyTransitGatewayAttachmentNatConfigurationOutput + structure. + """ + + transit_gateway_attachment_id: str | None = ... + """The ID of the transit gateway attachment.""" + nat_gateway_support: str | None = ... + """The state of NAT gateway support for the attachment.""" + nat_system_route_support: str | None = ... + """ + Specifies whether the transit gateway installs routes for the NAT CIDRs + in the route tables to which the attachment propagates. + """ + nat_gateway_rules: list[TransitGatewayNatRule] | None = ... + """The NAT gateway rules for the attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayInput(_SerdeShape): + """Dataclass for ModifyTransitGatewayInput structure.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + description: str | None = ... + """The description for the transit gateway.""" + options: ModifyTransitGatewayOptions | None = ... + """The options to modify.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayMeteringPolicyInput(_SerdeShape): + """Dataclass for ModifyTransitGatewayMeteringPolicyInput structure.""" + + transit_gateway_metering_policy_id: str | None = ... + """The ID of the transit gateway metering policy to modify.""" + add_middlebox_attachment_ids: list[str] | None = ... + """The IDs of middlebox attachments to add to the metering policy.""" + remove_middlebox_attachment_ids: list[str] | None = ... + """The IDs of middlebox attachments to remove from the metering policy.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayMeteringPolicyOutput(_SerdeShape): + """Dataclass for ModifyTransitGatewayMeteringPolicyOutput structure.""" + + transit_gateway_metering_policy: TransitGatewayMeteringPolicy | None = ... + """Information about the modified transit gateway metering policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayOptions(_SerdeShape): + """The transit gateway options.""" + + add_transit_gateway_cidr_blocks: list[str] | None = ... + """ + Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size + /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger + for IPv6. + """ + remove_transit_gateway_cidr_blocks: list[str] | None = ... + """Removes CIDR blocks for the transit gateway.""" + vpn_ecmp_support: str | None = ... + """Enable or disable Equal Cost Multipath Protocol support.""" + dns_support: str | None = ... + """Enable or disable DNS support.""" + security_group_referencing_support: str | None = ... + """ + Enables you to reference a security group across VPCs attached to a + transit gateway to simplify security group management. + + This option is disabled by default. + + For more information about security group referencing, see [Security + group + referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) + in the *Amazon Web Services Transit Gateways Guide*. + """ + auto_accept_shared_attachments: str | None = ... + """Enable or disable automatic acceptance of attachment requests.""" + default_route_table_association: str | None = ... + """ + Enable or disable automatic association with the default association + route table. + """ + association_default_route_table_id: str | None = ... + """The ID of the default association route table.""" + default_route_table_propagation: str | None = ... + """ + Indicates whether resource attachments automatically propagate routes to + the default propagation route table. Enabled by default. If + `defaultRouteTablePropagation` is set to `enable`, Amazon Web Services + Transit Gateway will create the default transit gateway route table. + """ + propagation_default_route_table_id: str | None = ... + """The ID of the default propagation route table.""" + amazon_side_asn: int | None = ... + """ + A private Autonomous System Number (ASN) for the Amazon side of a BGP + session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to + 4294967294 for 32-bit ASNs. + + The modify ASN operation is not allowed on a transit gateway if it has + the following attachments: + + - Dynamic VPN + + - Static VPN + + - Direct Connect Gateway + + - Connect + + - VPN Concentrator + + - Client VPN + + You must first delete all transit gateway attachments configured prior + to modifying the ASN on the transit gateway. + """ + encryption_support: str | None = ... + """Enable or disable encryption support for VPC Encryption Control.""" + +@dataclass(kw_only=True) +class ModifyTransitGatewayOutput(_SerdeShape): + """Dataclass for ModifyTransitGatewayOutput structure.""" + + transit_gateway: TransitGateway | None = ... + """Information about the transit gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayPolicyTableEntryInput(_SerdeShape): + """Dataclass for ModifyTransitGatewayPolicyTableEntryInput structure.""" + + transit_gateway_policy_table_id: str | None = ... + """The ID of the transit gateway policy table.""" + policy_rule_number: str | None = ... + """The rule number of the policy table entry to modify.""" + policy_rule: TransitGatewayRequestPolicyRule | None = ... + """ + The updated matching criteria for the policy table entry. Unspecified + fields retain their current values. + """ + target_route_table_id: str | None = ... + """ + The ID of the transit gateway route table to use for traffic matching + this rule. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayPolicyTableEntryOutput(_SerdeShape): + """Dataclass for ModifyTransitGatewayPolicyTableEntryOutput structure.""" + + transit_gateway_policy_table_entry: TransitGatewayPolicyTableEntry | None = ... + """Describes a transit gateway policy table entry""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayPrefixListReferenceInput(_SerdeShape): + """Dataclass for ModifyTransitGatewayPrefixListReferenceInput structure.""" + + transit_gateway_route_table_id: str | None = ... + """The ID of the transit gateway route table.""" + prefix_list_id: str | None = ... + """The ID of the prefix list.""" + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment to which traffic is routed.""" + blackhole: bool | None = ... + """Indicates whether to drop traffic that matches this route.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayPrefixListReferenceOutput(_SerdeShape): + """Dataclass for ModifyTransitGatewayPrefixListReferenceOutput structure.""" + + transit_gateway_prefix_list_reference: ( + TransitGatewayPrefixListReference | None + ) = ... + """Information about the prefix list reference.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayVpcAttachmentInput(_SerdeShape): + """Dataclass for ModifyTransitGatewayVpcAttachmentInput structure.""" + + transit_gateway_attachment_id: str | None = ... + """The ID of the attachment.""" + add_subnet_ids: list[str] | None = ... + """ + The IDs of one or more subnets to add. You can specify at most one + subnet per Availability Zone. + """ + remove_subnet_ids: list[str] | None = ... + """The IDs of one or more subnets to remove.""" + options: ModifyTransitGatewayVpcAttachmentRequestOptions | None = ... + """The new VPC attachment options.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayVpcAttachmentOutput(_SerdeShape): + """Dataclass for ModifyTransitGatewayVpcAttachmentOutput structure.""" + + transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... + """Information about the modified attachment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTransitGatewayVpcAttachmentRequestOptions(_SerdeShape): + """Describes the options for a VPC attachment.""" + + dns_support: str | None = ... + """Enable or disable DNS support. The default is `enable`.""" + security_group_referencing_support: str | None = ... + """ + Enables you to reference a security group across VPCs attached to a + transit gateway to simplify security group management. + + This option is disabled by default. + + For more information about security group referencing, see [Security + group + referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) + in the *Amazon Web Services Transit Gateways Guide*. + """ + ipv6_support: str | None = ... + """ + Specifies whether IPv6 support is enabled for the attachment. When + enabled, the transit gateway network interface receives an IPv6 address. + When you enable route propagation, IPv6 VPC CIDRs propagate to the + transit gateway route tables. When disabled, the network interface does + not receive an IPv6 address, and IPv6 routes do not propagate. The + setting does not filter IPv6 traffic. + """ + appliance_mode_support: str | None = ... + """ + Enable or disable support for appliance mode. If enabled, a traffic flow + between a source and destination uses the same Availability Zone for the + VPC attachment for the lifetime of that flow. The default is `disable`. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessEndpointCidrOptions(_SerdeShape): + """The CIDR options for a Verified Access endpoint.""" + + port_ranges: list[ModifyVerifiedAccessEndpointPortRange] | None = ... + """The port ranges.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessEndpointEniOptions(_SerdeShape): + """ + Describes the options when modifying a Verified Access endpoint with the + `network-interface` type. + """ + + protocol: str | None = ... + """The IP protocol.""" + port: int | None = ... + """The IP port number.""" + port_ranges: list[ModifyVerifiedAccessEndpointPortRange] | None = ... + """The port ranges.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessEndpointInput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessEndpointInput structure.""" + + verified_access_endpoint_id: str | None = ... + """The ID of the Verified Access endpoint.""" + verified_access_group_id: str | None = ... + """The ID of the Verified Access group.""" + load_balancer_options: ModifyVerifiedAccessEndpointLoadBalancerOptions | None = ... + """ + The load balancer details if creating the Verified Access endpoint as + `load-balancer`type. + """ + network_interface_options: ModifyVerifiedAccessEndpointEniOptions | None = ... + """The network interface options.""" + description: str | None = ... + """A description for the Verified Access endpoint.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + rds_options: ModifyVerifiedAccessEndpointRdsOptions | None = ... + """The RDS options.""" + cidr_options: ModifyVerifiedAccessEndpointCidrOptions | None = ... + """The CIDR options.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessEndpointLoadBalancerOptions(_SerdeShape): + """ + Describes a load balancer when creating an Amazon Web Services Verified + Access endpoint using the `load-balancer` type. + """ + + subnet_ids: list[str] | None = ... + """The IDs of the subnets.""" + protocol: str | None = ... + """The IP protocol.""" + port: int | None = ... + """The IP port number.""" + port_ranges: list[ModifyVerifiedAccessEndpointPortRange] | None = ... + """The port ranges.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessEndpointOutput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessEndpointOutput structure.""" + + verified_access_endpoint: VerifiedAccessEndpoint | None = ... + """Details about the Verified Access endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessEndpointPolicyInput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessEndpointPolicyInput structure.""" + + verified_access_endpoint_id: str | None = ... + """The ID of the Verified Access endpoint.""" + policy_enabled: bool | None = ... + """The status of the Verified Access policy.""" + policy_document: str | None = ... + """The Verified Access policy document.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + sse_specification: VerifiedAccessSseSpecificationRequest | None = ... + """The options for server side encryption.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessEndpointPolicyOutput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessEndpointPolicyOutput structure.""" + + policy_enabled: bool | None = ... + """The status of the Verified Access policy.""" + policy_document: str | None = ... + """The Verified Access policy document.""" + sse_specification: VerifiedAccessSseSpecificationResponse | None = ... + """The options in use for server side encryption.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessEndpointPortRange(_SerdeShape): + """Describes the port range for a Verified Access endpoint.""" + + from_port: int | None = ... + """The start of the port range.""" + to_port: int | None = ... + """The end of the port range.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessEndpointRdsOptions(_SerdeShape): + """The RDS options for a Verified Access endpoint.""" + + subnet_ids: list[str] | None = ... + """The IDs of the subnets.""" + port: int | None = ... + """The port.""" + rds_endpoint: str | None = ... + """The RDS endpoint.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessGroupInput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessGroupInput structure.""" + + verified_access_group_id: str | None = ... + """The ID of the Verified Access group.""" + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + description: str | None = ... + """A description for the Verified Access group.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessGroupOutput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessGroupOutput structure.""" + + verified_access_group: VerifiedAccessGroup | None = ... + """Details about the Verified Access group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessGroupPolicyInput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessGroupPolicyInput structure.""" + + verified_access_group_id: str | None = ... + """The ID of the Verified Access group.""" + policy_enabled: bool | None = ... + """The status of the Verified Access policy.""" + policy_document: str | None = ... + """The Verified Access policy document.""" + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + sse_specification: VerifiedAccessSseSpecificationRequest | None = ... + """The options for server side encryption.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessGroupPolicyOutput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessGroupPolicyOutput structure.""" + + policy_enabled: bool | None = ... + """The status of the Verified Access policy.""" + policy_document: str | None = ... + """The Verified Access policy document.""" + sse_specification: VerifiedAccessSseSpecificationResponse | None = ... + """The options in use for server side encryption.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessInstanceInput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessInstanceInput structure.""" + + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + description: str | None = ... + """A description for the Verified Access instance.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + cidr_endpoints_custom_sub_domain: str | None = ... + """The custom subdomain.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessInstanceLoggingConfigurationInput(_SerdeShape): + """ + Dataclass for ModifyVerifiedAccessInstanceLoggingConfigurationInput + structure. + """ + + verified_access_instance_id: str | None = ... + """The ID of the Verified Access instance.""" + access_logs: VerifiedAccessLogOptions | None = ... + """The configuration options for Verified Access instances.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessInstanceLoggingConfigurationOutput(_SerdeShape): + """ + Dataclass for ModifyVerifiedAccessInstanceLoggingConfigurationOutput + structure. + """ + + logging_configuration: VerifiedAccessInstanceLoggingConfiguration | None = ... + """The logging configuration for the Verified Access instance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessInstanceOutput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessInstanceOutput structure.""" + + verified_access_instance: VerifiedAccessInstance | None = ... + """Details about the Verified Access instance.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessNativeApplicationOidcOptions(_SerdeShape): + """Describes the OpenID Connect (OIDC) options.""" + + public_signing_key_endpoint: str | None = ... + """The public signing key endpoint.""" + issuer: str | None = ... + """The OIDC issuer identifier of the IdP.""" + authorization_endpoint: str | None = ... + """The authorization endpoint of the IdP.""" + token_endpoint: str | None = ... + """The token endpoint of the IdP.""" + user_info_endpoint: str | None = ... + """The user info endpoint of the IdP.""" + client_id: str | None = ... + """The OAuth 2.0 client identifier.""" + client_secret: str | None = ... + """The OAuth 2.0 client secret.""" + scope: str | None = ... + """The set of user claims to be requested from the IdP.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessTrustProviderDeviceOptions(_SerdeShape): + """ + Modifies the configuration of the specified device-based Amazon Web + Services Verified Access trust provider. + """ + + public_signing_key_url: str | None = ... + """ + The URL Amazon Web Services Verified Access will use to verify the + authenticity of the device tokens. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessTrustProviderInput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessTrustProviderInput structure.""" + + verified_access_trust_provider_id: str | None = ... + """The ID of the Verified Access trust provider.""" + oidc_options: ModifyVerifiedAccessTrustProviderOidcOptions | None = ... + """ + The options for an OpenID Connect-compatible user-identity trust + provider. + """ + device_options: ModifyVerifiedAccessTrustProviderDeviceOptions | None = ... + """ + The options for a device-based trust provider. This parameter is + required when the provider type is `device`. + """ + description: str | None = ... + """A description for the Verified Access trust provider.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive token that you provide to ensure idempotency of + your modification request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + sse_specification: VerifiedAccessSseSpecificationRequest | None = ... + """The options for server side encryption.""" + native_application_oidc_options: ( + ModifyVerifiedAccessNativeApplicationOidcOptions | None + ) = ... + """The OpenID Connect (OIDC) options.""" + +@dataclass(kw_only=True) +class ModifyVerifiedAccessTrustProviderOidcOptions(_SerdeShape): + """Options for an OpenID Connect-compatible user-identity trust provider.""" + + issuer: str | None = ... + """The OIDC issuer.""" + authorization_endpoint: str | None = ... + """The OIDC authorization endpoint.""" + token_endpoint: str | None = ... + """The OIDC token endpoint.""" + user_info_endpoint: str | None = ... + """The OIDC user info endpoint.""" + client_id: str | None = ... + """The client identifier.""" + client_secret: str | None = ... + """The client secret.""" + scope: str | None = ... + """ + OpenID Connect (OIDC) scopes are used by an application during + authentication to authorize access to a user's details. Each scope + returns a specific set of user attributes. + """ + +@dataclass(kw_only=True) +class ModifyVerifiedAccessTrustProviderOutput(_SerdeShape): + """Dataclass for ModifyVerifiedAccessTrustProviderOutput structure.""" + + verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... + """Details about the Verified Access trust provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVolumeAttributeInput(_SerdeShape): + """Dataclass for ModifyVolumeAttributeInput structure.""" + + auto_enable_io: AttributeBooleanValue | None = ... + """Indicates whether the volume should be auto-enabled for I/O operations.""" + volume_id: str | None = ... + """The ID of the volume.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyVolumeAttributeOutput(_SerdeShape): + """Dataclass for ModifyVolumeAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVolumeInput(_SerdeShape): + """Dataclass for ModifyVolumeInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + volume_id: str | None = ... + """The ID of the volume.""" + size: int | None = ... + """ + The target size of the volume, in GiB. The target volume size must be + greater than or equal to the existing size of the volume. + + The following are the supported volumes sizes for each volume type: + + - `gp2`: 1 - 16,384 GiB + + - `gp3`: 1 - 65,536 GiB + + - `io1`: 4 - 16,384 GiB + + - `io2`: 4 - 65,536 GiB + + - `st1` and `sc1`: 125 - 16,384 GiB + + - `standard`: 1 - 1024 GiB + + Default: The existing size is retained. + """ + volume_type: str | None = ... + """ + The target EBS volume type of the volume. For more information, see + [Amazon EBS volume + types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) + in the *Amazon EBS User Guide*. + + Default: The existing type is retained. + """ + iops: int | None = ... + """ + The target IOPS rate of the volume. This parameter is valid only for + `gp3`, `io1`, and `io2` volumes. + + The following are the supported values for each volume type: + + - `gp3`: 3,000 - 80,000 IOPS + + - `io1`: 100 - 64,000 IOPS + + - `io2`: 100 - 256,000 IOPS + + Note: + [Instances built on the Nitro + System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) + can support up to 256,000 IOPS. Other instances can support up to 32,000 + IOPS. + + Default: The existing value is retained if you keep the same volume + type. If you change the volume type to `io1`, `io2`, or `gp3`, the + default is 3,000. + """ + throughput: int | None = ... + """ + The target throughput of the volume, in MiB/s. This parameter is valid + only for `gp3` volumes. The maximum value is 2,000. + + Default: The existing value is retained if the source and target volume + type is `gp3`. Otherwise, the default value is 125. + + Valid Range: Minimum value of 125. Maximum value of 2,000. + """ + multi_attach_enabled: bool | None = ... + """ + Specifies whether to enable Amazon EBS Multi-Attach. If you enable + Multi-Attach, you can attach the volume to up to 16 [Nitro-based + instances](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) + in the same Availability Zone. This parameter is supported with `io1` + and `io2` volumes only. For more information, see [Amazon EBS + Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html) + in the *Amazon EBS User Guide*. + """ + +@dataclass(kw_only=True) +class ModifyVolumeOutput(_SerdeShape): + """Dataclass for ModifyVolumeOutput structure.""" + + volume_modification: VolumeModification | None = ... + """Information about the volume modification.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcAttributeInput(_SerdeShape): + """Dataclass for ModifyVpcAttributeInput structure.""" + + enable_dns_hostnames: AttributeBooleanValue | None = ... + """ + Indicates whether the instances launched in the VPC get DNS hostnames. + If enabled, instances in the VPC get DNS hostnames; otherwise, they do + not. + + You cannot modify the DNS resolution and DNS hostnames attributes in the + same request. Use separate requests for each attribute. You can only + enable DNS hostnames if you've enabled DNS support. + """ + enable_dns_support: AttributeBooleanValue | None = ... + """ + Indicates whether the DNS resolution is supported for the VPC. If + enabled, queries to the Amazon provided DNS server at the + 169.254.169.253 IP address, or the reserved IP address at the base of + the VPC network range \"plus two\" succeed. If disabled, the Amazon + provided DNS service in the VPC that resolves public DNS hostnames to IP + addresses is not enabled. + + You cannot modify the DNS resolution and DNS hostnames attributes in the + same request. Use separate requests for each attribute. + """ + vpc_id: str | None = ... + """The ID of the VPC.""" + enable_network_address_usage_metrics: AttributeBooleanValue | None = ... + """ + Indicates whether Network Address Usage metrics are enabled for your + VPC. + """ + +@dataclass(kw_only=True) +class ModifyVpcAttributeOutput(_SerdeShape): + """Dataclass for ModifyVpcAttributeOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcBlockPublicAccessExclusionInput(_SerdeShape): + """Dataclass for ModifyVpcBlockPublicAccessExclusionInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + exclusion_id: str | None = ... + """The ID of an exclusion.""" + internet_gateway_exclusion_mode: str | None = ... + """ + The exclusion mode for internet gateway traffic. + + - `allow-bidirectional`: Allow all internet traffic to and from the + excluded VPCs and subnets. + + - `allow-egress`: Allow outbound internet traffic from the excluded VPCs + and subnets. Block inbound internet traffic to the excluded VPCs and + subnets. Only applies when VPC Block Public Access is set to + Bidirectional. + """ + +@dataclass(kw_only=True) +class ModifyVpcBlockPublicAccessExclusionOutput(_SerdeShape): + """Dataclass for ModifyVpcBlockPublicAccessExclusionOutput structure.""" + + vpc_block_public_access_exclusion: VpcBlockPublicAccessExclusion | None = ... + """Details related to the exclusion.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcBlockPublicAccessOptionsInput(_SerdeShape): + """Dataclass for ModifyVpcBlockPublicAccessOptionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + internet_gateway_block_mode: str | None = ... + """ + The mode of VPC BPA. + + - `off`: VPC BPA is not enabled and traffic is allowed to and from + internet gateways and egress-only internet gateways in this Region. + + - `block-bidirectional`: Block all traffic to and from internet gateways + and egress-only internet gateways in this Region (except for excluded + VPCs and subnets). + + - `block-ingress`: Block all internet traffic to the VPCs in this Region + (except for VPCs or subnets which are excluded). Only traffic to and + from NAT gateways and egress-only internet gateways is allowed because + these gateways only allow outbound connections to be established. + """ + +@dataclass(kw_only=True) +class ModifyVpcBlockPublicAccessOptionsOutput(_SerdeShape): + """Dataclass for ModifyVpcBlockPublicAccessOptionsOutput structure.""" + + vpc_block_public_access_options: VpcBlockPublicAccessOptions | None = ... + """Details related to the VPC Block Public Access (BPA) options.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcEncryptionControlInput(_SerdeShape): + """Dataclass for ModifyVpcEncryptionControlInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_encryption_control_id: str | None = ... + """The ID of the VPC Encryption Control resource to modify.""" + mode: str | None = ... + """The encryption mode for the VPC Encryption Control configuration.""" + internet_gateway_exclusion: str | None = ... + """ + Specifies whether to exclude internet gateway traffic from encryption + enforcement. + """ + egress_only_internet_gateway_exclusion: str | None = ... + """ + Specifies whether to exclude egress-only internet gateway traffic from + encryption enforcement. + """ + nat_gateway_exclusion: str | None = ... + """ + Specifies whether to exclude NAT gateway traffic from encryption + enforcement. + """ + virtual_private_gateway_exclusion: str | None = ... + """ + Specifies whether to exclude virtual private gateway traffic from + encryption enforcement. + """ + vpc_peering_exclusion: str | None = ... + """ + Specifies whether to exclude VPC peering connection traffic from + encryption enforcement. + """ + lambda_exclusion: str | None = ... + """ + Specifies whether to exclude Lambda function traffic from encryption + enforcement. + """ + vpc_lattice_exclusion: str | None = ... + """ + Specifies whether to exclude VPC Lattice traffic from encryption + enforcement. + """ + elastic_file_system_exclusion: str | None = ... + """ + Specifies whether to exclude Elastic File System traffic from encryption + enforcement. + """ + +@dataclass(kw_only=True) +class ModifyVpcEncryptionControlOutput(_SerdeShape): + """Dataclass for ModifyVpcEncryptionControlOutput structure.""" + + vpc_encryption_control: VpcEncryptionControl | None = ... + """Information about the VPC Encryption Control configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointConnectionNotificationInput(_SerdeShape): + """Dataclass for ModifyVpcEndpointConnectionNotificationInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + connection_notification_id: str | None = ... + """The ID of the notification.""" + connection_notification_arn: str | None = ... + """The ARN for the SNS topic for the notification.""" + connection_events: list[str] | None = ... + """ + The events for the endpoint. Valid values are `Accept`, `Connect`, + `Delete`, and `Reject`. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointConnectionNotificationOutput(_SerdeShape): + """Dataclass for ModifyVpcEndpointConnectionNotificationOutput structure.""" + + return_value: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointInput(_SerdeShape): + """Dataclass for ModifyVpcEndpointInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + vpc_endpoint_id: str | None = ... + """The ID of the endpoint.""" + reset_policy: bool | None = ... + """ + (Gateway endpoint) Specify `true` to reset the policy document to the + default policy. The default policy allows full access to the service. + """ + policy_document: str | None = ... + """ + (Interface and gateway endpoints) A policy to attach to the endpoint + that controls access to the service. The policy must be in valid JSON + format. + """ + add_route_table_ids: list[str] | None = ... + """ + (Gateway endpoint) The IDs of the route tables to associate with the + endpoint. + """ + remove_route_table_ids: list[str] | None = ... + """ + (Gateway endpoint) The IDs of the route tables to disassociate from the + endpoint. + """ + add_subnet_ids: list[str] | None = ... + """ + (Interface and Gateway Load Balancer endpoints) The IDs of the subnets + in which to serve the endpoint. For a Gateway Load Balancer endpoint, + you can specify only one subnet. + """ + remove_subnet_ids: list[str] | None = ... + """ + (Interface endpoint) The IDs of the subnets from which to remove the + endpoint. + """ + add_security_group_ids: list[str] | None = ... + """ + (Interface endpoint) The IDs of the security groups to associate with + the endpoint network interfaces. + """ + remove_security_group_ids: list[str] | None = ... + """ + (Interface endpoint) The IDs of the security groups to disassociate from + the endpoint network interfaces. + """ + ip_address_type: str | None = ... + """The IP address type for the endpoint.""" + dns_options: DnsOptionsSpecification | None = ... + """The DNS options for the endpoint.""" + private_dns_enabled: bool | None = ... + """ + (Interface endpoint) Indicates whether a private hosted zone is + associated with the VPC. + """ + subnet_configurations: list[SubnetConfiguration] | None = ... + """The subnet configurations for the endpoint.""" + +@dataclass(kw_only=True) +class ModifyVpcEndpointOutput(_SerdeShape): + """Dataclass for ModifyVpcEndpointOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointPayerResponsibilityInput(_SerdeShape): + """Dataclass for ModifyVpcEndpointPayerResponsibilityInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_id: str | None = ... + """The ID of the VPC endpoint service.""" + vpc_endpoint_id: str | None = ... + """The ID of the VPC endpoint.""" + payer_responsibility: str | None = ... + """ + The Amazon Web Services account to which the usage of VPC endpoint is + charged. + """ + scope: str | None = ... + """ + The scope of usage/charges for which the billing account is being + modified. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointPayerResponsibilityOutput(_SerdeShape): + """Dataclass for ModifyVpcEndpointPayerResponsibilityOutput structure.""" + + vpc_endpoint_id: str | None = ... + """The ID of the VPC endpoint.""" + payer_responsibilities: list[PayerResponsibilityEntry] | None = ... + """The payer responsibility settings for the VPC endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointServiceConfigurationInput(_SerdeShape): + """Dataclass for ModifyVpcEndpointServiceConfigurationInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_id: str | None = ... + """The ID of the service.""" + private_dns_name: str | None = ... + """ + (Interface endpoint configuration) The private DNS name to assign to the + endpoint service. + """ + remove_private_dns_name: bool | None = ... + """ + (Interface endpoint configuration) Removes the private DNS name of the + endpoint service. + """ + acceptance_required: bool | None = ... + """ + Indicates whether requests to create an endpoint to the service must be + accepted. + """ + add_network_load_balancer_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of Network Load Balancers to add to the + service configuration. + """ + remove_network_load_balancer_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of Network Load Balancers to remove + from the service configuration. + """ + add_gateway_load_balancer_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to the + service configuration. + """ + remove_gateway_load_balancer_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove + from the service configuration. + """ + add_supported_ip_address_types: list[str] | None = ... + """The IP address types to add to the service configuration.""" + remove_supported_ip_address_types: list[str] | None = ... + """The IP address types to remove from the service configuration.""" + add_supported_regions: list[str] | None = ... + """The supported Regions to add to the service configuration.""" + remove_supported_regions: list[str] | None = ... + """The supported Regions to remove from the service configuration.""" + +@dataclass(kw_only=True) +class ModifyVpcEndpointServiceConfigurationOutput(_SerdeShape): + """Dataclass for ModifyVpcEndpointServiceConfigurationOutput structure.""" + + return_: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointServicePayerResponsibilityInput(_SerdeShape): + """ + Dataclass for ModifyVpcEndpointServicePayerResponsibilityInput + structure. + """ + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_id: str | None = ... + """The ID of the service.""" + payer_responsibility: str | None = ... + """ + The entity that is responsible for the endpoint costs. The default is + the endpoint owner. If you set the payer responsibility to the service + owner, you cannot set it back to the endpoint owner. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointServicePayerResponsibilityOutput(_SerdeShape): + """ + Dataclass for ModifyVpcEndpointServicePayerResponsibilityOutput + structure. + """ + + return_value: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointServicePermissionsInput(_SerdeShape): + """Dataclass for ModifyVpcEndpointServicePermissionsInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + service_id: str | None = ... + """The ID of the service.""" + add_allowed_principals: list[str] | None = ... + """ + The Amazon Resource Names (ARN) of the principals. Permissions are + granted to the principals in this list. To grant permissions to all + principals, specify an asterisk (*). + """ + remove_allowed_principals: list[str] | None = ... + """ + The Amazon Resource Names (ARN) of the principals. Permissions are + revoked for principals in this list. + """ + +@dataclass(kw_only=True) +class ModifyVpcEndpointServicePermissionsOutput(_SerdeShape): + """Dataclass for ModifyVpcEndpointServicePermissionsOutput structure.""" + + added_principals: list[AddedPrincipal] | None = ... + """Information about the added principals.""" + return_value: bool | None = ... + """Returns `true` if the request succeeds; otherwise, it returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcPeeringConnectionOptionsInput(_SerdeShape): + """Dataclass for ModifyVpcPeeringConnectionOptionsInput structure.""" + + accepter_peering_connection_options: PeeringConnectionOptionsRequest | None = ... + """The VPC peering connection options for the accepter VPC.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + requester_peering_connection_options: PeeringConnectionOptionsRequest | None = ... + """The VPC peering connection options for the requester VPC.""" + vpc_peering_connection_id: str | None = ... + """The ID of the VPC peering connection.""" + +@dataclass(kw_only=True) +class ModifyVpcPeeringConnectionOptionsOutput(_SerdeShape): + """Dataclass for ModifyVpcPeeringConnectionOptionsOutput structure.""" + + accepter_peering_connection_options: PeeringConnectionOptions | None = ... + """ + Information about the VPC peering connection options for the accepter + VPC. + """ + requester_peering_connection_options: PeeringConnectionOptions | None = ... + """ + Information about the VPC peering connection options for the requester + VPC. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpcTenancyInput(_SerdeShape): + """Dataclass for ModifyVpcTenancyInput structure.""" + + vpc_id: str | None = ... + """The ID of the VPC.""" + instance_tenancy: str | None = ... + """The instance tenancy attribute for the VPC.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyVpcTenancyOutput(_SerdeShape): + """Dataclass for ModifyVpcTenancyOutput structure.""" + + return_value: bool | None = ... + """Returns `true` if the request succeeds; otherwise, returns an error.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpnConnectionInput(_SerdeShape): + """Dataclass for ModifyVpnConnectionInput structure.""" + + vpn_connection_id: str | None = ... + """The ID of the VPN connection.""" + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + customer_gateway_id: str | None = ... + """The ID of the customer gateway at your end of the VPN connection.""" + vpn_gateway_id: str | None = ... + """ + The ID of the virtual private gateway at the Amazon Web Services side of + the VPN connection. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyVpnConnectionOptionsInput(_SerdeShape): + """Dataclass for ModifyVpnConnectionOptionsInput structure.""" + + vpn_connection_id: str | None = ... + """The ID of the Site-to-Site VPN connection.""" + local_ipv4_network_cidr: str | None = ... + """ + The IPv4 CIDR on the customer gateway (on-premises) side of the VPN + connection. + + Default: `0.0.0.0/0` + """ + remote_ipv4_network_cidr: str | None = ... + """ + The IPv4 CIDR on the Amazon Web Services side of the VPN connection. + + Default: `0.0.0.0/0` + """ + local_ipv6_network_cidr: str | None = ... + """ + The IPv6 CIDR on the customer gateway (on-premises) side of the VPN + connection. + + Default: `::/0` + """ + remote_ipv6_network_cidr: str | None = ... + """ + The IPv6 CIDR on the Amazon Web Services side of the VPN connection. + + Default: `::/0` + """ + tunnel_bandwidth: str | None = ... + """ + The desired bandwidth specification for the VPN connection. `standard` + supports up to 1.25 Gbps per tunnel, while `large` supports up to 5 Gbps + per tunnel. Large bandwidth is only available for VPN connections + attached to a transit gateway or to Cloud WAN. The default value is + `standard`. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyVpnConnectionOptionsOutput(_SerdeShape): + """Dataclass for ModifyVpnConnectionOptionsOutput structure.""" + + vpn_connection: VpnConnection | None = ... + """Information about the VPN connection.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpnConnectionOutput(_SerdeShape): + """Dataclass for ModifyVpnConnectionOutput structure.""" + + vpn_connection: VpnConnection | None = ... + """Information about the VPN connection.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpnTunnelCertificateInput(_SerdeShape): + """Dataclass for ModifyVpnTunnelCertificateInput structure.""" + + vpn_connection_id: str | None = ... + """The ID of the Amazon Web Services Site-to-Site VPN connection.""" + vpn_tunnel_outside_ip_address: str | None = ... + """The external IP address of the VPN tunnel.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class ModifyVpnTunnelCertificateOutput(_SerdeShape): + """Dataclass for ModifyVpnTunnelCertificateOutput structure.""" + + vpn_connection: VpnConnection | None = ... + """Information about the VPN connection.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpnTunnelOptionsInput(_SerdeShape): + """Dataclass for ModifyVpnTunnelOptionsInput structure.""" + + vpn_connection_id: str | None = ... + """The ID of the Amazon Web Services Site-to-Site VPN connection.""" + vpn_tunnel_outside_ip_address: str | None = ... + """The external IP address of the VPN tunnel.""" + tunnel_options: ModifyVpnTunnelOptionsSpecification | None = ... + """The tunnel options to modify.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + skip_tunnel_replacement: bool | None = ... + """ + Choose whether or not to trigger immediate tunnel replacement. This is + only applicable when turning on or off `EnableTunnelLifecycleControl`. + + Valid values: `True` | `False` + """ + pre_shared_key_storage: str | None = ... + """ + Specifies the storage mode for the pre-shared key (PSK). Valid values + are `Standard` (stored in Site-to-Site VPN service) or `SecretsManager` + (stored in Amazon Web Services Secrets Manager). + """ + +@dataclass(kw_only=True) +class ModifyVpnTunnelOptionsOutput(_SerdeShape): + """Dataclass for ModifyVpnTunnelOptionsOutput structure.""" + + vpn_connection: VpnConnection | None = ... + """Information about the VPN connection.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyVpnTunnelOptionsSpecification(_SerdeShape): + """The Amazon Web Services Site-to-Site VPN tunnel options to modify.""" + + tunnel_inside_cidr: str | None = ... + """ + The range of inside IPv4 addresses for the tunnel. Any specified CIDR + blocks must be unique across all VPN connections that use the same + virtual private gateway. + + Constraints: A size /30 CIDR block from the `169.254.0.0/16` range. The + following CIDR blocks are reserved and cannot be used: + + - `169.254.0.0/30` + + - `169.254.1.0/30` + + - `169.254.2.0/30` + + - `169.254.3.0/30` + + - `169.254.4.0/30` + + - `169.254.5.0/30` + + - `169.254.169.252/30` + """ + tunnel_inside_ipv6_cidr: str | None = ... + """ + The range of inside IPv6 addresses for the tunnel. Any specified CIDR + blocks must be unique across all VPN connections that use the same + transit gateway. + + Constraints: A size /126 CIDR block from the local `fd00::/8` range. + """ + pre_shared_key: str | None = ... + """ + The pre-shared key (PSK) to establish initial authentication between the + virtual private gateway and the customer gateway. + + Constraints: Allowed characters are alphanumeric characters, periods + (.), and underscores (_). Must be between 8 and 64 characters in length + and cannot start with zero (0). + """ + phase1_lifetime_seconds: int | None = ... + """ + The lifetime for phase 1 of the IKE negotiation, in seconds. + + Constraints: A value between 900 and 28,800. + + Default: `28800` + """ + phase2_lifetime_seconds: int | None = ... + """ + The lifetime for phase 2 of the IKE negotiation, in seconds. + + Constraints: A value between 900 and 3,600. The value must be less than + the value for `Phase1LifetimeSeconds`. + + Default: `3600` + """ + rekey_margin_time_seconds: int | None = ... + """ + The margin time, in seconds, before the phase 2 lifetime expires, during + which the Amazon Web Services side of the VPN connection performs an IKE + rekey. The exact time of the rekey is randomly selected based on the + value for `RekeyFuzzPercentage`. + + Constraints: A value between 60 and half of `Phase2LifetimeSeconds`. + + Default: `270` + """ + rekey_fuzz_percentage: int | None = ... + """ + The percentage of the rekey window (determined by + `RekeyMarginTimeSeconds`) during which the rekey time is randomly + selected. + + Constraints: A value between 0 and 100. + + Default: `100` + """ + replay_window_size: int | None = ... + """ + The number of packets in an IKE replay window. + + Constraints: A value between 64 and 2048. + + Default: `1024` + """ + dpd_timeout_seconds: int | None = ... + """ + The number of seconds after which a DPD timeout occurs. A DPD timeout of + 40 seconds means that the VPN endpoint will consider the peer dead 30 + seconds after the first failed keep-alive. + + Constraints: A value greater than or equal to 30. + + Default: `40` + """ + dpd_timeout_action: str | None = ... + """ + The action to take after DPD timeout occurs. Specify `restart` to + restart the IKE initiation. Specify `clear` to end the IKE session. + + Valid Values: `clear` | `none` | `restart` + + Default: `clear` + """ + phase1_encryption_algorithms: ( + list[Phase1EncryptionAlgorithmsRequestListValue] | None + ) = ... + """ + One or more encryption algorithms that are permitted for the VPN tunnel + for phase 1 IKE negotiations. + + Valid values: `AES128` | `AES256` | `AES128-GCM-16` | `AES256-GCM-16` + """ + phase2_encryption_algorithms: ( + list[Phase2EncryptionAlgorithmsRequestListValue] | None + ) = ... + """ + One or more encryption algorithms that are permitted for the VPN tunnel + for phase 2 IKE negotiations. + + Valid values: `AES128` | `AES256` | `AES128-GCM-16` | `AES256-GCM-16` + """ + phase1_integrity_algorithms: ( + list[Phase1IntegrityAlgorithmsRequestListValue] | None + ) = ... + """ + One or more integrity algorithms that are permitted for the VPN tunnel + for phase 1 IKE negotiations. + + Valid values: `SHA1` | `SHA2-256` | `SHA2-384` | `SHA2-512` + """ + phase2_integrity_algorithms: ( + list[Phase2IntegrityAlgorithmsRequestListValue] | None + ) = ... + """ + One or more integrity algorithms that are permitted for the VPN tunnel + for phase 2 IKE negotiations. + + Valid values: `SHA1` | `SHA2-256` | `SHA2-384` | `SHA2-512` + """ + phase1_dh_group_numbers: list[Phase1DHGroupNumbersRequestListValue] | None = ... + """ + One or more Diffie-Hellman group numbers that are permitted for the VPN + tunnel for phase 1 IKE negotiations. + + Valid values: `2` | `14` | `15` | `16` | `17` | `18` | `19` | + `20` | `21` | `22` | `23` | `24` + """ + phase2_dh_group_numbers: list[Phase2DHGroupNumbersRequestListValue] | None = ... + """ + One or more Diffie-Hellman group numbers that are permitted for the VPN + tunnel for phase 2 IKE negotiations. + + Valid values: `2` | `5` | `14` | `15` | `16` | `17` | `18` | `19` + | `20` | `21` | `22` | `23` | `24` + """ + ike_versions: list[IKEVersionsRequestListValue] | None = ... + """ + The IKE versions that are permitted for the VPN tunnel. + + Valid values: `ikev1` | `ikev2` + """ + startup_action: str | None = ... + """ + The action to take when the establishing the tunnel for the VPN + connection. By default, your customer gateway device must initiate the + IKE negotiation and bring up the tunnel. Specify `start` for Amazon Web + Services to initiate the IKE negotiation. + + Valid Values: `add` | `start` + + Default: `add` + """ + log_options: VpnTunnelLogOptionsSpecification | None = ... + """Options for logging VPN tunnel activity.""" + enable_tunnel_lifecycle_control: bool | None = ... + """Turn on or off tunnel endpoint lifecycle control feature.""" + +@dataclass(kw_only=True) +class Monitoring(_SerdeShape): + """Describes the monitoring of an instance.""" + + state: str | None = ... + """ + Indicates whether detailed monitoring is enabled. Otherwise, basic + monitoring is enabled. + """ + +class MonitoringState(UnknownEnumMixin, StrEnum): + DISABLED = "disabled" + DISABLING = "disabling" + ENABLED = "enabled" + PENDING = "pending" + +@dataclass(kw_only=True) +class MonitorInstancesInput(_SerdeShape): + """Dataclass for MonitorInstancesInput structure.""" + + instance_ids: list[str] | None = ... + """The IDs of the instances.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class MonitorInstancesOutput(_SerdeShape): + """Dataclass for MonitorInstancesOutput structure.""" + + instance_monitorings: list[InstanceMonitoring] | None = ... + """The monitoring information.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class MoveAddressToVpcInput(_SerdeShape): + """Dataclass for MoveAddressToVpcInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + public_ip: str | None = ... + """The Elastic IP address.""" + +@dataclass(kw_only=True) +class MoveAddressToVpcOutput(_SerdeShape): + """Dataclass for MoveAddressToVpcOutput structure.""" + + allocation_id: str | None = ... + """The allocation ID for the Elastic IP address.""" + status: str | None = ... + """The status of the move of the IP address.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class MoveByoipCidrToIpamInput(_SerdeShape): + """Dataclass for MoveByoipCidrToIpamInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + cidr: str | None = ... + """The BYOIP CIDR.""" + ipam_pool_id: str | None = ... + """The IPAM pool ID.""" + ipam_pool_owner: str | None = ... + """The Amazon Web Services account ID of the owner of the IPAM pool.""" + +@dataclass(kw_only=True) +class MoveByoipCidrToIpamOutput(_SerdeShape): + """Dataclass for MoveByoipCidrToIpamOutput structure.""" + + byoip_cidr: ByoipCidr | None = ... + """The BYOIP CIDR.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class MoveCapacityReservationInstancesInput(_SerdeShape): + """Dataclass for MoveCapacityReservationInstancesInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensure + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + source_capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation from which you want to move capacity.""" + destination_capacity_reservation_id: str | None = ... + """The ID of the Capacity Reservation that you want to move capacity into.""" + instance_count: int | None = ... + """ + The number of instances that you want to move from the source Capacity + Reservation. + """ + +@dataclass(kw_only=True) +class MoveCapacityReservationInstancesOutput(_SerdeShape): + """Dataclass for MoveCapacityReservationInstancesOutput structure.""" + + source_capacity_reservation: CapacityReservation | None = ... + """Information about the source Capacity Reservation.""" + destination_capacity_reservation: CapacityReservation | None = ... + """Information about the destination Capacity Reservation.""" + instance_count: int | None = ... + """ + The number of instances that were moved from the source Capacity + Reservation to the destination Capacity Reservation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class MoveStatus(UnknownEnumMixin, StrEnum): + MOVING_TO_VPC = "movingToVpc" + RESTORING_TO_CLASSIC = "restoringToClassic" + +@dataclass(kw_only=True) +class MovingAddressStatus(_SerdeShape): + """ + Note: + This action is deprecated. + + Describes the status of a moving Elastic IP address. + """ + + move_status: str | None = ... + """The status of the Elastic IP address that's being moved or restored.""" + public_ip: str | None = ... + """The Elastic IP address.""" + +class MulticastSupportValue(UnknownEnumMixin, StrEnum): + ENABLE = "enable" + DISABLE = "disable" + +@dataclass(kw_only=True) +class NatGateway(_SerdeShape): + """Describes a NAT gateway.""" + + create_time: datetime | None = ... + """The date and time the NAT gateway was created.""" + delete_time: datetime | None = ... + """The date and time the NAT gateway was deleted, if applicable.""" + failure_code: str | None = ... + """ + If the NAT gateway could not be created, specifies the error code for + the failure. (`InsufficientFreeAddressesInSubnet` | + `Gateway.NotAttached` | `InvalidAllocationID.NotFound` | + `Resource.AlreadyAssociated` | `InternalError` | + `InvalidSubnetID.NotFound`) + """ + failure_message: str | None = ... + """ + If the NAT gateway could not be created, specifies the error message for + the failure, that corresponds to the error code. + + - For InsufficientFreeAddressesInSubnet: \"Subnet has insufficient free + addresses to create this NAT gateway\" + + - For Gateway.NotAttached: \"Network vpc-xxxxxxxx has no Internet + gateway attached\" + + - For InvalidAllocationID.NotFound: \"Elastic IP address + eipalloc-xxxxxxxx could not be associated with this NAT gateway\" + + - For Resource.AlreadyAssociated: \"Elastic IP address eipalloc-xxxxxxxx + is already associated\" + + - For InternalError: \"Network interface eni-xxxxxxxx, created and used + internally by this NAT gateway is in an invalid state. Please try + again.\" + + - For InvalidSubnetID.NotFound: \"The specified subnet subnet-xxxxxxxx + does not exist or could not be found.\" + """ + nat_gateway_addresses: list[NatGatewayAddress] | None = ... + """ + Information about the IP addresses and network interface associated with + the NAT gateway. + """ + nat_gateway_id: str | None = ... + """The ID of the NAT gateway.""" + provisioned_bandwidth: ProvisionedBandwidth | None = ... + """ + Reserved. If you need to sustain traffic greater than the [documented + limits](https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways), + contact Amazon Web Services Support. + """ + state: str | None = ... + """ + The state of the NAT gateway. + + - `pending`: The NAT gateway is being created and is not ready to + process traffic. + + - `failed`: The NAT gateway could not be created. Check the + `failureCode` and `failureMessage` fields for the reason. + + - `available`: The NAT gateway is able to process traffic. This status + remains until you delete the NAT gateway, and does not indicate the + health of the NAT gateway. + + - `deleting`: The NAT gateway is in the process of being terminated and + may still be processing traffic. + + - `deleted`: The NAT gateway has been terminated and is no longer + processing traffic. + """ + subnet_id: str | None = ... + """The ID of the subnet in which the NAT gateway is located.""" + vpc_id: str | None = ... + """The ID of the VPC in which the NAT gateway is located.""" + tags: list[Tag] | None = ... + """The tags for the NAT gateway.""" + connectivity_type: str | None = ... + """ + Indicates whether the NAT gateway supports public or private + connectivity. + """ + availability_mode: str | None = ... + """ + Indicates whether this is a zonal (single-AZ) or regional (multi-AZ) NAT + gateway. + + A zonal NAT gateway is a NAT Gateway that provides redundancy and + scalability within a single availability zone. A regional NAT gateway is + a single NAT Gateway that works across multiple availability zones (AZs) + in your VPC, providing redundancy, scalability and availability across + all the AZs in a Region. + + For more information, see [Regional NAT gateways for automatic multi-AZ + expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) + in the *Amazon VPC User Guide*. + """ + auto_scaling_ips: str | None = ... + """ + For regional NAT gateways only: Indicates whether Amazon Web Services + automatically allocates additional Elastic IP addresses (EIPs) in an AZ + when the NAT gateway needs more ports due to increased concurrent + connections to a single destination from that AZ. + + For more information, see [Regional NAT gateways for automatic multi-AZ + expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) + in the *Amazon VPC User Guide*. + """ + auto_provision_zones: str | None = ... + """ + For regional NAT gateways only: Indicates whether Amazon Web Services + automatically manages AZ coverage. When enabled, the NAT gateway + associates EIPs in all AZs where your VPC has subnets to handle outbound + NAT traffic, expands to new AZs when you create subnets there, and + retracts from AZs where you've removed all subnets. When disabled, you + must manually manage which AZs the NAT gateway supports and their + corresponding EIPs. + + A regional NAT gateway is a single NAT Gateway that works across + multiple availability zones (AZs) in your VPC, providing redundancy, + scalability and availability across all the AZs in a Region. + + For more information, see [Regional NAT gateways for automatic multi-AZ + expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) + in the *Amazon VPC User Guide*. + """ + attached_appliances: list[NatGatewayAttachedAppliance] | None = ... + """ + The proxy appliances attached to the NAT Gateway for filtering and + inspecting traffic to prevent data exfiltration. + """ + route_table_id: str | None = ... + """For regional NAT gateways only, this is the ID of the NAT gateway.""" + +@dataclass(kw_only=True) +class NatGatewayAddress(_SerdeShape): + """ + Describes the IP addresses and network interface associated with a NAT + gateway. + """ + + allocation_id: str | None = ... + """ + [Public NAT gateway only] The allocation ID of the Elastic IP address + that's associated with the NAT gateway. + """ + network_interface_id: str | None = ... + """The ID of the network interface associated with the NAT gateway.""" + private_ip: str | None = ... + """The private IP address associated with the NAT gateway.""" + public_ip: str | None = ... + """ + [Public NAT gateway only] The Elastic IP address associated with the + NAT gateway. + """ + association_id: str | None = ... + """ + [Public NAT gateway only] The association ID of the Elastic IP address + that's associated with the NAT gateway. + """ + is_primary: bool | None = ... + """Defines if the IP address is the primary address.""" + failure_message: str | None = ... + """The address failure message.""" + status: str | None = ... + """The address status.""" + availability_zone: str | None = ... + """ + The Availability Zone where this Elastic IP address (EIP) is being used + to handle outbound NAT traffic. + """ + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone where this Elastic IP address (EIP) is + being used to handle outbound NAT traffic. Use this instead of + AvailabilityZone for consistent identification of AZs across Amazon Web + Services Regions. + """ + +class NatGatewayAddressStatus(UnknownEnumMixin, StrEnum): + ASSIGNING = "assigning" + UNASSIGNING = "unassigning" + ASSOCIATING = "associating" + DISASSOCIATING = "disassociating" + SUCCEEDED = "succeeded" + FAILED = "failed" + +class NatGatewayApplianceModifyState(UnknownEnumMixin, StrEnum): + MODIFYING = "modifying" + COMPLETED = "completed" + FAILED = "failed" + +class NatGatewayApplianceState(UnknownEnumMixin, StrEnum): + ATTACHING = "attaching" + ATTACHED = "attached" + DETACHING = "detaching" + DETACHED = "detached" + ATTACH_FAILED = "attach-failed" + DETACH_FAILED = "detach-failed" + +class NatGatewayApplianceType(UnknownEnumMixin, StrEnum): + NETWORK_FIREWALL_PROXY = "network-firewall-proxy" + +@dataclass(kw_only=True) +class NatGatewayAttachedAppliance(_SerdeShape): + """ + Information about an appliance attached to a NAT Gateway, providing + managed security solutions for traffic filtering and inspection. + """ + + type: str | None = ... + """ + The type of appliance attached to the NAT Gateway. For network firewall + proxy functionality, this will be \"network-firewall-proxy\". + """ + appliance_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the attached appliance, identifying + the specific proxy or security appliance resource. + """ + vpc_endpoint_id: str | None = ... + """ + The VPC endpoint ID used to route traffic from application VPCs to the + proxy for inspection and filtering. + """ + attachment_state: str | None = ... + """The current attachment state of the appliance.""" + modification_state: str | None = ... + """The current modification state of the appliance.""" + failure_code: str | None = ... + """ + The failure code if the appliance attachment or modification operation + failed. + """ + failure_message: str | None = ... + """ + A descriptive message explaining the failure if the appliance attachment + or modification operation failed. + """ + +class NatGatewayState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + FAILED = "failed" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +@dataclass(kw_only=True) +class NativeApplicationOidcOptions(_SerdeShape): + """Describes the OpenID Connect (OIDC) options.""" + + public_signing_key_endpoint: str | None = ... + """The public signing key endpoint.""" + issuer: str | None = ... + """The OIDC issuer identifier of the IdP.""" + authorization_endpoint: str | None = ... + """The authorization endpoint of the IdP.""" + token_endpoint: str | None = ... + """The token endpoint of the IdP.""" + user_info_endpoint: str | None = ... + """The user info endpoint of the IdP.""" + client_id: str | None = ... + """The OAuth 2.0 client identifier.""" + scope: str | None = ... + """The set of user claims to be requested from the IdP.""" + +class NestedVirtualizationSpecification(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class NetworkAcl(_SerdeShape): + """Describes a network ACL.""" + + associations: list[NetworkAclAssociation] | None = ... + """Any associations between the network ACL and your subnets""" + entries: list[NetworkAclEntry] | None = ... + """The entries (rules) in the network ACL.""" + is_default: bool | None = ... + """Indicates whether this is the default network ACL for the VPC.""" + network_acl_id: str | None = ... + """The ID of the network ACL.""" + tags: list[Tag] | None = ... + """Any tags assigned to the network ACL.""" + vpc_id: str | None = ... + """The ID of the VPC for the network ACL.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the network ACL.""" + +@dataclass(kw_only=True) +class NetworkAclAssociation(_SerdeShape): + """Describes an association between a network ACL and a subnet.""" + + network_acl_association_id: str | None = ... + """The ID of the association between a network ACL and a subnet.""" + network_acl_id: str | None = ... + """The ID of the network ACL.""" + subnet_id: str | None = ... + """The ID of the subnet.""" + +@dataclass(kw_only=True) +class NetworkAclEntry(_SerdeShape): + """Describes an entry in a network ACL.""" + + cidr_block: str | None = ... + """The IPv4 network range to allow or deny, in CIDR notation.""" + egress: bool | None = ... + """ + Indicates whether the rule is an egress rule (applied to traffic leaving + the subnet). + """ + icmp_type_code: IcmpTypeCode | None = ... + """ICMP protocol: The ICMP type and code.""" + ipv6_cidr_block: str | None = ... + """The IPv6 network range to allow or deny, in CIDR notation.""" + port_range: PortRange | None = ... + """TCP or UDP protocols: The range of ports the rule applies to.""" + protocol: str | None = ... + """The protocol number. A value of \"-1\" means all protocols.""" + rule_action: str | None = ... + """Indicates whether to allow or deny the traffic that matches the rule.""" + rule_number: int | None = ... + """ + The rule number for the entry. ACL entries are processed in ascending + order by rule number. + """ + +@dataclass(kw_only=True) +class NetworkBandwidthGbps(_SerdeShape): + """ + The minimum and maximum amount of network bandwidth, in gigabits per + second (Gbps). + + Note: + Setting the minimum bandwidth does not guarantee that your instance will + achieve the minimum bandwidth. Amazon EC2 will identify instance types + that support the specified minimum bandwidth, but the actual bandwidth + of your instance might go below the specified minimum at times. For more + information, see [Available instance + bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth) + in the *Amazon EC2 User Guide*. + """ + + min: float | None = ... + """ + The minimum amount of network bandwidth, in Gbps. If this parameter is + not specified, there is no minimum limit. + """ + max: float | None = ... + """ + The maximum amount of network bandwidth, in Gbps. If this parameter is + not specified, there is no maximum limit. + """ + +@dataclass(kw_only=True) +class NetworkBandwidthGbpsRequest(_SerdeShape): + """ + The minimum and maximum amount of network bandwidth, in gigabits per + second (Gbps). + + Note: + Setting the minimum bandwidth does not guarantee that your instance will + achieve the minimum bandwidth. Amazon EC2 will identify instance types + that support the specified minimum bandwidth, but the actual bandwidth + of your instance might go below the specified minimum at times. For more + information, see [Available instance + bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth) + in the *Amazon EC2 User Guide*. + """ + + min: float | None = ... + """ + The minimum amount of network bandwidth, in Gbps. To specify no minimum + limit, omit this parameter. + """ + max: float | None = ... + """ + The maximum amount of network bandwidth, in Gbps. To specify no maximum + limit, omit this parameter. + """ + +@dataclass(kw_only=True) +class NetworkCardInfo(_SerdeShape): + """Describes the network card support of the instance type.""" + + network_card_index: int | None = ... + """The index of the network card.""" + network_performance: str | None = ... + """The network performance of the network card.""" + maximum_network_interfaces: int | None = ... + """The maximum number of network interfaces for the network card.""" + additional_flexible_network_interfaces: int | None = ... + """ + The number of additional network interfaces that can be attached to an + instance when using flexible Elastic Network Adapter (ENA) queues. This + number is in addition to the base number specified by + `maximumNetworkInterfaces`. + """ + baseline_bandwidth_in_gbps: float | None = ... + """The baseline network performance of the network card, in Gbps.""" + peak_bandwidth_in_gbps: float | None = ... + """The peak (burst) network performance of the network card, in Gbps.""" + default_ena_queue_count_per_interface: int | None = ... + """The default number of the ENA queues for each interface.""" + maximum_ena_queue_count: int | None = ... + """The maximum number of the ENA queues.""" + maximum_ena_queue_count_per_interface: int | None = ... + """The maximum number of the ENA queues for each interface.""" + interface_types: list[str] | None = ... + """The supported interface types for the network card.""" + +class NetworkCardInterfaceType(UnknownEnumMixin, StrEnum): + INTERFACE = "interface" + EFA = "efa" + EFA_ONLY = "efa-only" + SECONDARY = "secondary" + +@dataclass(kw_only=True) +class NetworkInfo(_SerdeShape): + """Describes the networking features of the instance type.""" + + network_performance: str | None = ... + """The network performance.""" + maximum_network_interfaces: int | None = ... + """The maximum number of network interfaces for the instance type.""" + maximum_network_cards: int | None = ... + """ + The maximum number of physical network cards that can be allocated to + the instance. + """ + default_network_card_index: int | None = ... + """The index of the default network card, starting at 0.""" + network_cards: list[NetworkCardInfo] | None = ... + """Describes the network cards for the instance type.""" + ipv4_addresses_per_interface: int | None = ... + """The maximum number of IPv4 addresses per network interface.""" + ipv6_addresses_per_interface: int | None = ... + """The maximum number of IPv6 addresses per network interface.""" + ipv6_supported: bool | None = ... + """Indicates whether IPv6 is supported.""" + ena_support: str | None = ... + """Indicates whether Elastic Network Adapter (ENA) is supported.""" + efa_supported: bool | None = ... + """Indicates whether Elastic Fabric Adapter (EFA) is supported.""" + efa_info: EfaInfo | None = ... + """Describes the Elastic Fabric Adapters for the instance type.""" + encryption_in_transit_supported: bool | None = ... + """ + Indicates whether the instance type automatically encrypts in-transit + traffic between instances. + """ + ena_srd_supported: bool | None = ... + """ + Indicates whether the instance type supports ENA Express. ENA Express + uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to + increase the maximum bandwidth used per stream and minimize tail latency + of network traffic between EC2 instances. + """ + bandwidth_weightings: list[str] | None = ... + """ + A list of valid settings for configurable bandwidth weighting for the + instance type, if supported. + """ + flexible_ena_queues_support: str | None = ... + """Indicates whether changing the number of ENA queues is supported.""" + connection_tracking_configuration: ( + DefaultConnectionTrackingConfiguration | None + ) = ... + """Indicates conntrack information for the instance type""" + secondary_network_supported: bool | None = ... + """ + Indicates whether secondary interface attachments from secondary network + are supported. + """ + maximum_secondary_network_interfaces: int | None = ... + """The maximum number of secondary interfaces for the instance type.""" + ipv4_addresses_per_secondary_interface: int | None = ... + """The maximum number of IPv4 addresses per secondary interface.""" + +@dataclass(kw_only=True) +class NetworkInsightsAccessScope(_SerdeShape): + """Describes a Network Access Scope.""" + + network_insights_access_scope_id: str | None = ... + """The ID of the Network Access Scope.""" + network_insights_access_scope_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Network Access Scope.""" + created_date: datetime | None = ... + """The creation date.""" + updated_date: datetime | None = ... + """The last updated date.""" + tags: list[Tag] | None = ... + """The tags.""" + +@dataclass(kw_only=True) +class NetworkInsightsAccessScopeAnalysis(_SerdeShape): + """Describes a Network Access Scope analysis.""" + + network_insights_access_scope_analysis_id: str | None = ... + """The ID of the Network Access Scope analysis.""" + network_insights_access_scope_analysis_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Network Access Scope analysis.""" + network_insights_access_scope_id: str | None = ... + """The ID of the Network Access Scope.""" + status: str | None = ... + """The status.""" + status_message: str | None = ... + """The status message.""" + warning_message: str | None = ... + """The warning message.""" + start_date: datetime | None = ... + """The analysis start date.""" + end_date: datetime | None = ... + """The analysis end date.""" + findings_found: str | None = ... + """Indicates whether there are findings.""" + analyzed_eni_count: int | None = ... + """The number of network interfaces analyzed.""" + tags: list[Tag] | None = ... + """The tags.""" + +@dataclass(kw_only=True) +class NetworkInsightsAccessScopeContent(_SerdeShape): + """Describes the Network Access Scope content.""" + + network_insights_access_scope_id: str | None = ... + """The ID of the Network Access Scope.""" + match_paths: list[AccessScopePath] | None = ... + """The paths to match.""" + exclude_paths: list[AccessScopePath] | None = ... + """The paths to exclude.""" + +@dataclass(kw_only=True) +class NetworkInsightsAnalysis(_SerdeShape): + """Describes a network insights analysis.""" + + network_insights_analysis_id: str | None = ... + """The ID of the network insights analysis.""" + network_insights_analysis_arn: str | None = ... + """The Amazon Resource Name (ARN) of the network insights analysis.""" + network_insights_path_id: str | None = ... + """The ID of the path.""" + additional_accounts: list[str] | None = ... + """The member accounts that contain resources that the path can traverse.""" + filter_in_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARN) of the resources that the path must + traverse. + """ + filter_out_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARN) of the resources that the path must + ignore. + """ + start_date: datetime | None = ... + """The time the analysis started.""" + status: str | None = ... + """The status of the network insights analysis.""" + status_message: str | None = ... + """The status message, if the status is `failed`.""" + warning_message: str | None = ... + """The warning message.""" + network_path_found: bool | None = ... + """Indicates whether the destination is reachable from the source.""" + forward_path_components: list[PathComponent] | None = ... + """The components in the path from source to destination.""" + return_path_components: list[PathComponent] | None = ... + """The components in the path from destination to source.""" + explanations: list[Explanation] | None = ... + """ + The explanations. For more information, see [Reachability Analyzer + explanation + codes](https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html). + """ + alternate_path_hints: list[AlternatePathHint] | None = ... + """Potential intermediate components.""" + suggested_accounts: list[str] | None = ... + """Potential intermediate accounts.""" + tags: list[Tag] | None = ... + """The tags.""" + +@dataclass(kw_only=True) +class NetworkInsightsPath(_SerdeShape): + """Describes a path.""" + + network_insights_path_id: str | None = ... + """The ID of the path.""" + network_insights_path_arn: str | None = ... + """The Amazon Resource Name (ARN) of the path.""" + created_date: datetime | None = ... + """The time stamp when the path was created.""" + source: str | None = ... + """The ID of the source.""" + destination: str | None = ... + """The ID of the destination.""" + source_arn: str | None = ... + """The Amazon Resource Name (ARN) of the source.""" + destination_arn: str | None = ... + """The Amazon Resource Name (ARN) of the destination.""" + source_ip: str | None = ... + """The IP address of the source.""" + destination_ip: str | None = ... + """The IP address of the destination.""" + protocol: str | None = ... + """The protocol.""" + destination_port: int | None = ... + """The destination port.""" + tags: list[Tag] | None = ... + """The tags associated with the path.""" + filter_at_source: PathFilter | None = ... + """ + Scopes the analysis to network paths that match specific filters at the + source. + """ + filter_at_destination: PathFilter | None = ... + """ + Scopes the analysis to network paths that match specific filters at the + destination. + """ + +@dataclass(kw_only=True) +class NetworkInterface(_SerdeShape): + """Describes a network interface.""" + + association: NetworkInterfaceAssociation | None = ... + """ + The association information for an Elastic IP address (IPv4) associated + with the network interface. + """ + attachment: NetworkInterfaceAttachment | None = ... + """The network interface attachment.""" + availability_zone: str | None = ... + """The Availability Zone.""" + connection_tracking_configuration: ConnectionTrackingConfiguration | None = ... + """ + A security group connection tracking configuration that enables you to + set the timeout for connection tracking on an Elastic network interface. + For more information, see [Connection tracking + timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) + in the *Amazon EC2 User Guide*. + """ + description: str | None = ... + """A description.""" + groups: list[GroupIdentifier] | None = ... + """Any security groups for the network interface.""" + interface_type: str | None = ... + """The type of network interface.""" + ipv6_addresses: list[NetworkInterfaceIpv6Address] | None = ... + """The IPv6 addresses associated with the network interface.""" + mac_address: str | None = ... + """The MAC address.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + outpost_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + owner_id: str | None = ... + """ + The Amazon Web Services account ID of the owner of the network + interface. + """ + private_dns_name: str | None = ... + """ + The private hostname. For more information, see [EC2 instance hostnames, + DNS names, and + domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) + in the *Amazon EC2 User Guide*. + """ + public_dns_name: str | None = ... + """ + A public hostname. For more information, see [EC2 instance hostnames, + DNS names, and + domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) + in the *Amazon EC2 User Guide*. + """ + public_ip_dns_name_options: PublicIpDnsNameOptions | None = ... + """ + Public hostname type options. For more information, see [EC2 instance + hostnames, DNS names, and + domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) + in the *Amazon EC2 User Guide*. + """ + private_ip_address: str | None = ... + """The IPv4 address of the network interface within the subnet.""" + private_ip_addresses: list[NetworkInterfacePrivateIpAddress] | None = ... + """The private IPv4 addresses associated with the network interface.""" + ipv4_prefixes: list[Ipv4PrefixSpecification] | None = ... + """The IPv4 prefixes that are assigned to the network interface.""" + ipv6_prefixes: list[Ipv6PrefixSpecification] | None = ... + """The IPv6 prefixes that are assigned to the network interface.""" + requester_id: str | None = ... + """ + The alias or Amazon Web Services account ID of the principal or service + that created the network interface. + """ + requester_managed: bool | None = ... + """ + Indicates whether the network interface is being managed by Amazon Web + Services. + """ + source_dest_check: bool | None = ... + """Indicates whether source/destination checking is enabled.""" + status: str | None = ... + """The status of the network interface.""" + subnet_id: str | None = ... + """The ID of the subnet.""" + tag_set: list[Tag] | None = ... + """Any tags assigned to the network interface.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + deny_all_igw_traffic: bool | None = ... + """ + Indicates whether a network interface with an IPv6 address is + unreachable from the public internet. If the value is `true`, inbound + traffic from the internet is dropped and you cannot assign an elastic IP + address to the network interface. The network interface is reachable + from peered VPCs and resources connected through a transit gateway, + including on-premises networks. + """ + ipv6_native: bool | None = ... + """Indicates whether this is an IPv6 only network interface.""" + ipv6_address: str | None = ... + """The IPv6 globally unique address associated with the network interface.""" + operator: OperatorResponse | None = ... + """The service provider that manages the network interface.""" + associated_subnets: list[str] | None = ... + """The subnets associated with this network interface.""" + availability_zone_id: str | None = ... + """The ID of the Availability Zone.""" + +@dataclass(kw_only=True) +class NetworkInterfaceAssociation(_SerdeShape): + """ + Describes association information for an Elastic IP address (IPv4 only), + or a Carrier IP address (for a network interface which resides in a + subnet in a Wavelength Zone). + """ + + allocation_id: str | None = ... + """The allocation ID.""" + association_id: str | None = ... + """The association ID.""" + ip_owner_id: str | None = ... + """The ID of the Elastic IP address owner.""" + public_dns_name: str | None = ... + """The public DNS name.""" + public_ip: str | None = ... + """The address of the Elastic IP address bound to the network interface.""" + customer_owned_ip: str | None = ... + """The customer-owned IP address associated with the network interface.""" + carrier_ip: str | None = ... + """ + The carrier IP address associated with the network interface. + + This option is only available when the network interface is in a subnet + which is associated with a Wavelength Zone. + """ + +@dataclass(kw_only=True) +class NetworkInterfaceAttachment(_SerdeShape): + """Describes a network interface attachment.""" + + attach_time: datetime | None = ... + """The timestamp indicating when the attachment initiated.""" + attachment_id: str | None = ... + """The ID of the network interface attachment.""" + delete_on_termination: bool | None = ... + """ + Indicates whether the network interface is deleted when the instance is + terminated. + """ + device_index: int | None = ... + """The device index of the network interface attachment on the instance.""" + network_card_index: int | None = ... + """The index of the network card.""" + instance_id: str | None = ... + """The ID of the instance.""" + instance_owner_id: str | None = ... + """The Amazon Web Services account ID of the owner of the instance.""" + status: str | None = ... + """The attachment state.""" + ena_srd_specification: AttachmentEnaSrdSpecification | None = ... + """ + Configures ENA Express for the network interface that this action + attaches to the instance. + """ + ena_queue_count: int | None = ... + """The number of ENA queues created with the instance.""" + +@dataclass(kw_only=True) +class NetworkInterfaceAttachmentChanges(_SerdeShape): + """Describes an attachment change.""" + + default_ena_queue_count: bool | None = ... + """The default number of the ENA queues.""" + ena_queue_count: int | None = ... + """The number of ENA queues to be created with the instance.""" + attachment_id: str | None = ... + """The ID of the network interface attachment.""" + delete_on_termination: bool | None = ... + """ + Indicates whether the network interface is deleted when the instance is + terminated. + """ + +class NetworkInterfaceAttribute(UnknownEnumMixin, StrEnum): + DESCRIPTION = "description" + GROUP_SET = "groupSet" + SOURCE_DEST_CHECK = "sourceDestCheck" + ATTACHMENT = "attachment" + ASSOCIATE_PUBLIC_IP_ADDRESS = "associatePublicIpAddress" + +@dataclass(kw_only=True) +class NetworkInterfaceCount(_SerdeShape): + """The minimum and maximum number of network interfaces.""" + + min: int | None = ... + """ + The minimum number of network interfaces. If this parameter is not + specified, there is no minimum limit. + """ + max: int | None = ... + """ + The maximum number of network interfaces. If this parameter is not + specified, there is no maximum limit. + """ + +@dataclass(kw_only=True) +class NetworkInterfaceCountRequest(_SerdeShape): + """The minimum and maximum number of network interfaces.""" + + min: int | None = ... + """ + The minimum number of network interfaces. To specify no minimum limit, + omit this parameter. + """ + max: int | None = ... + """ + The maximum number of network interfaces. To specify no maximum limit, + omit this parameter. + """ + +class NetworkInterfaceCreationType(UnknownEnumMixin, StrEnum): + EFA = "efa" + EFA_ONLY = "efa-only" + BRANCH = "branch" + TRUNK = "trunk" + +@dataclass(kw_only=True) +class NetworkInterfaceIpv6Address(_SerdeShape): + """Describes an IPv6 address associated with a network interface.""" + + ipv6_address: str | None = ... + """The IPv6 address.""" + public_ipv6_dns_name: str | None = ... + """ + An IPv6-enabled public hostname for a network interface. Requests from + within the VPC or from the internet resolve to the IPv6 GUA of the + network interface. For more information, see [EC2 instance hostnames, + DNS names, and + domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) + in the *Amazon EC2 User Guide*. + """ + is_primary_ipv6: bool | None = ... + """ + Determines if an IPv6 address associated with a network interface is the + primary IPv6 address. When you enable an IPv6 GUA address to be a + primary IPv6, the first IPv6 GUA will be made the primary IPv6 address + until the instance is terminated or the network interface is detached. + For more information, see + [ModifyNetworkInterfaceAttribute](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyNetworkInterfaceAttribute.html). + """ + +@dataclass(kw_only=True) +class NetworkInterfacePermission(_SerdeShape): + """Describes a permission for a network interface.""" + + network_interface_permission_id: str | None = ... + """The ID of the network interface permission.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + aws_account_id: str | None = ... + """The Amazon Web Services account ID.""" + aws_service: str | None = ... + """The Amazon Web Services service.""" + permission: str | None = ... + """The type of permission.""" + permission_state: NetworkInterfacePermissionState | None = ... + """Information about the state of the permission.""" + +@dataclass(kw_only=True) +class NetworkInterfacePermissionState(_SerdeShape): + """Describes the state of a network interface permission.""" + + state: str | None = ... + """The state of the permission.""" + status_message: str | None = ... + """A status message, if applicable.""" + +class NetworkInterfacePermissionStateCode(UnknownEnumMixin, StrEnum): + PENDING = "pending" + GRANTED = "granted" + REVOKING = "revoking" + REVOKED = "revoked" + +@dataclass(kw_only=True) +class NetworkInterfacePrivateIpAddress(_SerdeShape): + """Describes the private IPv4 address of a network interface.""" + + association: NetworkInterfaceAssociation | None = ... + """ + The association information for an Elastic IP address (IPv4) associated + with the network interface. + """ + primary: bool | None = ... + """ + Indicates whether this IPv4 address is the primary private IPv4 address + of the network interface. + """ + private_dns_name: str | None = ... + """The private DNS name.""" + private_ip_address: str | None = ... + """The private IPv4 address.""" + +class NetworkInterfaceStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + ASSOCIATED = "associated" + ATTACHING = "attaching" + IN_USE = "in-use" + DETACHING = "detaching" + +class NetworkInterfaceType(UnknownEnumMixin, StrEnum): + INTERFACE = "interface" + NAT_GATEWAY = "natGateway" + EFA = "efa" + EFA_ONLY = "efa-only" + TRUNK = "trunk" + LOAD_BALANCER = "load_balancer" + NETWORK_LOAD_BALANCER = "network_load_balancer" + VPC_ENDPOINT = "vpc_endpoint" + BRANCH = "branch" + TRANSIT_GATEWAY = "transit_gateway" + LAMBDA_ = "lambda" + QUICKSIGHT = "quicksight" + GLOBAL_ACCELERATOR_MANAGED = "global_accelerator_managed" + API_GATEWAY_MANAGED = "api_gateway_managed" + GATEWAY_LOAD_BALANCER = "gateway_load_balancer" + GATEWAY_LOAD_BALANCER_ENDPOINT = "gateway_load_balancer_endpoint" + IOT_RULES_MANAGED = "iot_rules_managed" + AWS_CODESTAR_CONNECTIONS_MANAGED = "aws_codestar_connections_managed" + +class NetworkProtocolEnum(UnknownEnumMixin, StrEnum): + HTTP = "http" + HTTPS = "https" + +@dataclass(kw_only=True) +class NeuronDeviceCoreInfo(_SerdeShape): + """Describes the cores available to the neuron accelerator.""" + + count: int | None = ... + """The number of cores available to the neuron accelerator.""" + version: int | None = ... + """The version of the neuron accelerator.""" + +@dataclass(kw_only=True) +class NeuronDeviceInfo(_SerdeShape): + """Describes the neuron accelerators for the instance type.""" + + count: int | None = ... + """The number of neuron accelerators for the instance type.""" + name: str | None = ... + """The name of the neuron accelerator.""" + core_info: NeuronDeviceCoreInfo | None = ... + """Describes the cores available to each neuron accelerator.""" + memory_info: NeuronDeviceMemoryInfo | None = ... + """Describes the memory available to each neuron accelerator.""" + +@dataclass(kw_only=True) +class NeuronDeviceMemoryInfo(_SerdeShape): + """Describes the memory available to the neuron accelerator.""" + + size_in_mi_b: int | None = ... + """The size of the memory available to the neuron accelerator, in MiB.""" + +@dataclass(kw_only=True) +class NeuronInfo(_SerdeShape): + """Describes the neuron accelerators for the instance type.""" + + neuron_devices: list[NeuronDeviceInfo] | None = ... + """Describes the neuron accelerators for the instance type.""" + total_neuron_device_memory_in_mi_b: int | None = ... + """ + The total size of the memory for the neuron accelerators for the + instance type, in MiB. + """ + +@dataclass(kw_only=True) +class NewDhcpConfiguration(_SerdeShape): + """Describes a DHCP configuration option.""" + + key: str | None = ... + """The name of a DHCP option.""" + values: list[str] | None = ... + """The values for the DHCP option.""" + +class NitroEnclavesSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + +@dataclass(kw_only=True) +class NitroTpmInfo(_SerdeShape): + """Describes the supported NitroTPM versions for the instance type.""" + + supported_versions: list[str] | None = ... + """Indicates the supported NitroTPM versions.""" + +class NitroTpmSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + +class OfferingClassType(UnknownEnumMixin, StrEnum): + STANDARD = "standard" + CONVERTIBLE = "convertible" + +class OfferingTypeValues(UnknownEnumMixin, StrEnum): + HEAVY_UTILIZATION = "Heavy Utilization" + MEDIUM_UTILIZATION = "Medium Utilization" + LIGHT_UTILIZATION = "Light Utilization" + NO_UPFRONT = "No Upfront" + PARTIAL_UPFRONT = "Partial Upfront" + ALL_UPFRONT = "All Upfront" + +@dataclass(kw_only=True) +class OidcOptions(_SerdeShape): + """ + Describes the options for an OpenID Connect-compatible user-identity + trust provider. + """ + + issuer: str | None = ... + """The OIDC issuer.""" + authorization_endpoint: str | None = ... + """The OIDC authorization endpoint.""" + token_endpoint: str | None = ... + """The OIDC token endpoint.""" + user_info_endpoint: str | None = ... + """The OIDC user info endpoint.""" + client_id: str | None = ... + """The client identifier.""" + client_secret: str | None = ... + """The client secret.""" + scope: str | None = ... + """The OpenID Connect (OIDC) scope specified.""" + +class OnDemandAllocationStrategy(UnknownEnumMixin, StrEnum): + LOWEST_PRICE = "lowestPrice" + PRIORITIZED = "prioritized" + +@dataclass(kw_only=True) +class OnDemandOptions(_SerdeShape): + """Describes the configuration of On-Demand Instances in an EC2 Fleet.""" + + allocation_strategy: str | None = ... + """ + The strategy that determines the order of the launch template overrides + to use in fulfilling On-Demand capacity. + + `lowest-price` - EC2 Fleet uses price to determine the order, launching + the lowest price first. + + `prioritized` - EC2 Fleet uses the priority that you assigned to each + launch template override, launching the highest priority first. + + Default: `lowest-price` + """ + capacity_reservation_options: CapacityReservationOptions | None = ... + """ + The strategy for using unused Capacity Reservations for fulfilling + On-Demand capacity. + + Supported only for fleets of type `instant`. + """ + single_instance_type: bool | None = ... + """ + Indicates that the fleet uses a single instance type to launch all + On-Demand Instances in the fleet. + + Supported only for fleets of type `instant`. + """ + single_availability_zone: bool | None = ... + """ + Indicates that the fleet launches all On-Demand Instances into a single + Availability Zone. + + Supported only for fleets of type `instant`. + """ + min_target_capacity: int | None = ... + """ + The minimum target capacity for On-Demand Instances in the fleet. If + this minimum capacity isn't reached, no instances are launched. + + Constraints: Maximum value of `1000`. Supported only for fleets of type + `instant`. + + At least one of the following must be specified: + `SingleAvailabilityZone` | `SingleInstanceType` + """ + max_total_price: str | None = ... + """ + The maximum amount per hour for On-Demand Instances that you're willing + to pay. + + Note: + If your fleet includes T instances that are configured as `unlimited`, + and if their average CPU usage exceeds the baseline utilization, you + will incur a charge for surplus credits. The `maxTotalPrice` does not + account for surplus credits, and, if you use surplus credits, your final + cost might be higher than what you specified for `maxTotalPrice`. For + more information, see [Surplus credits can incur + charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class OnDemandOptionsRequest(_SerdeShape): + """Describes the configuration of On-Demand Instances in an EC2 Fleet.""" + + allocation_strategy: str | None = ... + """ + The strategy that determines the order of the launch template overrides + to use in fulfilling On-Demand capacity. + + `lowest-price` - EC2 Fleet uses price to determine the order, launching + the lowest price first. + + `prioritized` - EC2 Fleet uses the priority that you assigned to each + launch template override, launching the highest priority first. + + Default: `lowest-price` + """ + capacity_reservation_options: CapacityReservationOptionsRequest | None = ... + """ + The strategy for using unused Capacity Reservations for fulfilling + On-Demand capacity. + + Supported only for fleets of type `instant`. + """ + single_instance_type: bool | None = ... + """ + Indicates that the fleet uses a single instance type to launch all + On-Demand Instances in the fleet. + + Supported only for fleets of type `instant`. + """ + single_availability_zone: bool | None = ... + """ + Indicates that the fleet launches all On-Demand Instances into a single + Availability Zone. + + Supported only for fleets of type `instant`. + """ + min_target_capacity: int | None = ... + """ + The minimum target capacity for On-Demand Instances in the fleet. If + this minimum capacity isn't reached, no instances are launched. + + Constraints: Maximum value of `1000`. Supported only for fleets of type + `instant`. + + At least one of the following must be specified: + `SingleAvailabilityZone` | `SingleInstanceType` + """ + max_total_price: str | None = ... + """ + The maximum amount per hour for On-Demand Instances that you're willing + to pay. + + Note: + If your fleet includes T instances that are configured as `unlimited`, + and if their average CPU usage exceeds the baseline utilization, you + will incur a charge for surplus credits. The `MaxTotalPrice` does not + account for surplus credits, and, if you use surplus credits, your final + cost might be higher than what you specified for `MaxTotalPrice`. For + more information, see [Surplus credits can incur + charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) + in the *Amazon EC2 User Guide*. + """ + +class OperationType(UnknownEnumMixin, StrEnum): + ADD = "add" + REMOVE = "remove" + +@dataclass(kw_only=True) +class OperatorRequest(_SerdeShape): + """The service provider that manages the resource.""" + + principal: str | None = ... + """The service provider that manages the resource.""" + +@dataclass(kw_only=True) +class OperatorResponse(_SerdeShape): + """ + Describes whether the resource is managed by a service provider and, if + so, describes the service provider that manages it. + """ + + managed: bool | None = ... + """If `true`, the resource is managed by a service provider.""" + principal: str | None = ... + """ + If `managed` is `true`, then the principal is returned. The principal is + the service provider that manages the resource. + """ + hidden_by_default: bool | None = ... + """ + If `true`, the resource is hidden by default based on the managed + resource visibility settings for the account. + """ + +@dataclass(kw_only=True) +class OutpostLag(_SerdeShape): + """Describes an Outpost link aggregation group (LAG).""" + + outpost_arn: str | None = ... + """The Amazon Resource Number (ARN) of the Outpost LAG.""" + owner_id: str | None = ... + """The ID of the Outpost LAG owner.""" + state: str | None = ... + """The current state of the Outpost LAG.""" + outpost_lag_id: str | None = ... + """The ID of the Outpost LAG.""" + local_gateway_virtual_interface_ids: list[str] | None = ... + """ + The IDs of the local gateway virtual interfaces associated with the + Outpost LAG. + """ + service_link_virtual_interface_ids: list[str] | None = ... + """The service link virtual interface IDs associated with the Outpost LAG.""" + tags: list[Tag] | None = ... + """The tags associated with the Outpost LAG.""" + +class OutputFormat(UnknownEnumMixin, StrEnum): + CSV = "csv" + PARQUET = "parquet" + +@dataclass(kw_only=True) +class PacketHeaderStatement(_SerdeShape): + """Describes a packet header statement.""" + + source_addresses: list[str] | None = ... + """The source addresses.""" + destination_addresses: list[str] | None = ... + """The destination addresses.""" + source_ports: list[str] | None = ... + """The source ports.""" + destination_ports: list[str] | None = ... + """The destination ports.""" + source_prefix_lists: list[str] | None = ... + """The source prefix lists.""" + destination_prefix_lists: list[str] | None = ... + """The destination prefix lists.""" + protocols: list[str] | None = ... + """The protocols.""" + +@dataclass(kw_only=True) +class PacketHeaderStatementRequest(_SerdeShape): + """Describes a packet header statement.""" + + source_addresses: list[str] | None = ... + """The source addresses.""" + destination_addresses: list[str] | None = ... + """The destination addresses.""" + source_ports: list[str] | None = ... + """The source ports.""" + destination_ports: list[str] | None = ... + """The destination ports.""" + source_prefix_lists: list[str] | None = ... + """The source prefix lists.""" + destination_prefix_lists: list[str] | None = ... + """The destination prefix lists.""" + protocols: list[str] | None = ... + """The protocols.""" + +class PartitionLoadFrequency(UnknownEnumMixin, StrEnum): + NONE = "none" + DAILY = "daily" + WEEKLY = "weekly" + MONTHLY = "monthly" + +@dataclass(kw_only=True) +class PathComponent(_SerdeShape): + """Describes a path component.""" + + sequence_number: int | None = ... + """The sequence number.""" + acl_rule: AnalysisAclRule | None = ... + """The network ACL rule.""" + attached_to: AnalysisComponent | None = ... + """The resource to which the path component is attached.""" + component: AnalysisComponent | None = ... + """The component.""" + destination_vpc: AnalysisComponent | None = ... + """The destination VPC.""" + outbound_header: AnalysisPacketHeader | None = ... + """The outbound header.""" + inbound_header: AnalysisPacketHeader | None = ... + """The inbound header.""" + route_table_route: AnalysisRouteTableRoute | None = ... + """The route table route.""" + security_group_rule: AnalysisSecurityGroupRule | None = ... + """The security group rule.""" + source_vpc: AnalysisComponent | None = ... + """The source VPC.""" + subnet: AnalysisComponent | None = ... + """The subnet.""" + vpc: AnalysisComponent | None = ... + """The component VPC.""" + additional_details: list[AdditionalDetail] | None = ... + """The additional details.""" + transit_gateway: AnalysisComponent | None = ... + """The transit gateway.""" + transit_gateway_route_table_route: TransitGatewayRouteTableRoute | None = ... + """The route in a transit gateway route table.""" + transit_gateway_policy_table_entry: ( + AnalysisTransitGatewayPolicyTableEntry | None + ) = ... + """The entry in a transit gateway policy table.""" + explanations: list[Explanation] | None = ... + """The explanation codes.""" + elastic_load_balancer_listener: AnalysisComponent | None = ... + """The load balancer listener.""" + firewall_stateless_rule: FirewallStatelessRule | None = ... + """The Network Firewall stateless rule.""" + firewall_stateful_rule: FirewallStatefulRule | None = ... + """The Network Firewall stateful rule.""" + service_name: str | None = ... + """The name of the VPC endpoint service.""" + +@dataclass(kw_only=True) +class PathFilter(_SerdeShape): + """ + Describes a set of filters for a path analysis. Use path filters to + scope the analysis when there can be multiple resulting paths. + """ + + source_address: str | None = ... + """The source IPv4 address.""" + source_port_range: FilterPortRange | None = ... + """The source port range.""" + destination_address: str | None = ... + """The destination IPv4 address.""" + destination_port_range: FilterPortRange | None = ... + """The destination port range.""" + +@dataclass(kw_only=True) +class PathRequestFilter(_SerdeShape): + """ + Describes a set of filters for a path analysis. Use path filters to + scope the analysis when there can be multiple resulting paths. + """ + + source_address: str | None = ... + """The source IPv4 address.""" + source_port_range: RequestFilterPortRange | None = ... + """The source port range.""" + destination_address: str | None = ... + """The destination IPv4 address.""" + destination_port_range: RequestFilterPortRange | None = ... + """The destination port range.""" + +@dataclass(kw_only=True) +class PathStatement(_SerdeShape): + """Describes a path statement.""" + + packet_header_statement: PacketHeaderStatement | None = ... + """The packet header statement.""" + resource_statement: ResourceStatement | None = ... + """The resource statement.""" + +@dataclass(kw_only=True) +class PathStatementRequest(_SerdeShape): + """Describes a path statement.""" + + packet_header_statement: PacketHeaderStatementRequest | None = ... + """The packet header statement.""" + resource_statement: ResourceStatementRequest | None = ... + """The resource statement.""" + +class PayerResponsibility(UnknownEnumMixin, StrEnum): + SERVICE_OWNER = "ServiceOwner" + +@dataclass(kw_only=True) +class PayerResponsibilityEntry(_SerdeShape): + """Describes a payer responsibility setting for a VPC endpoint.""" + + scope: str | None = ... + """The scope of usage/charges.""" + payer_responsibility_type: str | None = ... + """The Amazon Web Services account to which the usage is charged.""" + +class PayerResponsibilityScope(UnknownEnumMixin, StrEnum): + VPC_ENDPOINT_CHARGES = "vpc-endpoint-charges" + RESOURCE_GATEWAY_CHARGES = "resource-gateway-charges" + +class PayerResponsibilityType(UnknownEnumMixin, StrEnum): + VPC_ENDPOINT_ACCOUNT = "vpc-endpoint-account" + RESOURCE_GATEWAY_ACCOUNT = "resource-gateway-account" + VPC_ENDPOINT_SERVICE_ACCOUNT = "vpc-endpoint-service-account" + +class PaymentOption(UnknownEnumMixin, StrEnum): + ALL_UPFRONT = "AllUpfront" + PARTIAL_UPFRONT = "PartialUpfront" + NO_UPFRONT = "NoUpfront" + +@dataclass(kw_only=True) +class PciId(_SerdeShape): + """ + Describes the data that identifies an Amazon FPGA image (AFI) on the PCI + bus. + """ + + device_id: str | None = ... + """The ID of the device.""" + vendor_id: str | None = ... + """The ID of the vendor.""" + subsystem_id: str | None = ... + """The ID of the subsystem.""" + subsystem_vendor_id: str | None = ... + """The ID of the vendor for the subsystem.""" + +@dataclass(kw_only=True) +class PeeringAttachmentStatus(_SerdeShape): + """The status of the transit gateway peering attachment.""" + + code: str | None = ... + """The status code.""" + message: str | None = ... + """The status message, if applicable.""" + +@dataclass(kw_only=True) +class PeeringConnectionOptions(_SerdeShape): + """Describes the VPC peering connection options.""" + + allow_dns_resolution_from_remote_vpc: bool | None = ... + """ + If true, the public DNS hostnames of instances in the specified VPC + resolve to private IP addresses when queried from instances in the peer + VPC. + """ + allow_egress_from_local_classic_link_to_remote_vpc: bool | None = ... + """Deprecated.""" + allow_egress_from_local_vpc_to_remote_classic_link: bool | None = ... + """Deprecated.""" + +@dataclass(kw_only=True) +class PeeringConnectionOptionsRequest(_SerdeShape): + """The VPC peering connection options.""" + + allow_dns_resolution_from_remote_vpc: bool | None = ... + """ + If true, enables a local VPC to resolve public DNS hostnames to private + IP addresses when queried from instances in the peer VPC. + """ + allow_egress_from_local_classic_link_to_remote_vpc: bool | None = ... + """Deprecated.""" + allow_egress_from_local_vpc_to_remote_classic_link: bool | None = ... + """Deprecated.""" + +@dataclass(kw_only=True) +class PeeringTgwInfo(_SerdeShape): + """Information about the transit gateway in the peering attachment.""" + + transit_gateway_id: str | None = ... + """The ID of the transit gateway.""" + core_network_id: str | None = ... + """The ID of the core network where the transit gateway peer is located.""" + owner_id: str | None = ... + """The ID of the Amazon Web Services account that owns the transit gateway.""" + region: str | None = ... + """The Region of the transit gateway.""" + +@dataclass(kw_only=True) +class PerformanceFactorReference(_SerdeShape): + """ + Specify an instance family to use as the baseline reference for CPU + performance. All instance types that match your specified attributes + will be compared against the CPU performance of the referenced instance + family, regardless of CPU manufacturer or architecture. + + Note: + Currently, only one instance family can be specified in the list. + """ + + instance_family: str | None = ... + """ + The instance family to use as a baseline reference. + + Note: + Ensure that you specify the correct value for the instance family. The + instance family is everything before the period (`.`) in the instance + type name. For example, in the instance type `c6i.large`, the instance + family is `c6i`, not `c6`. For more information, see [Amazon EC2 + instance type naming + conventions](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html) + in *Amazon EC2 Instance Types*. + + The following instance families are *not supported* for performance + protection: + + - `c1` + + - `g3` | `g3s` + + - `hpc7g` + + - `m1` | `m2` + + - `mac1` | `mac2` | `mac2-m1ultra` | `mac2-m2` | `mac2-m2pro` + + - `p3dn` | `p4d` | `p5` + + - `t1` + + - `u-12tb1` | `u-18tb1` | `u-24tb1` | `u-3tb1` | `u-6tb1` | + `u-9tb1` | `u7i-12tb` | `u7in-16tb` | `u7in-24tb` | `u7in-32tb` + + If you enable performance protection by specifying a supported instance + family, the returned instance types will exclude the above unsupported + instance families. + + If you specify an unsupported instance family as a value for baseline + performance, the API returns an empty response for + [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements) + and an exception for + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet), + [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet), + [ModifyFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyFleet), + and + [ModifySpotFleetRequest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySpotFleetRequest). + """ + +@dataclass(kw_only=True) +class PerformanceFactorReferenceRequest(_SerdeShape): + """ + Specify an instance family to use as the baseline reference for CPU + performance. All instance types that match your specified attributes + will be compared against the CPU performance of the referenced instance + family, regardless of CPU manufacturer or architecture. + + Note: + Currently, only one instance family can be specified in the list. + """ + + instance_family: str | None = ... + """ + The instance family to use as a baseline reference. + + Note: + Ensure that you specify the correct value for the instance family. The + instance family is everything before the period (`.`) in the instance + type name. For example, in the instance type `c6i.large`, the instance + family is `c6i`, not `c6`. For more information, see [Amazon EC2 + instance type naming + conventions](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html) + in *Amazon EC2 Instance Types*. + + The following instance families are *not supported* for performance + protection: + + - `c1` + + - `g3` | `g3s` + + - `hpc7g` + + - `m1` | `m2` + + - `mac1` | `mac2` | `mac2-m1ultra` | `mac2-m2` | `mac2-m2pro` + + - `p3dn` | `p4d` | `p5` + + - `t1` + + - `u-12tb1` | `u-18tb1` | `u-24tb1` | `u-3tb1` | `u-6tb1` | + `u-9tb1` | `u7i-12tb` | `u7in-16tb` | `u7in-24tb` | `u7in-32tb` + + If you enable performance protection by specifying a supported instance + family, the returned instance types will exclude the above unsupported + instance families. + + If you specify an unsupported instance family as a value for baseline + performance, the API returns an empty response for + [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements) + and an exception for + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet), + [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet), + [ModifyFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyFleet), + and + [ModifySpotFleetRequest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySpotFleetRequest). + """ + +@dataclass(kw_only=True) +class PerformanceStatusSummary(_SerdeShape): + """ + Provides a summary of the performance status check results for an + instance. + """ + + status: str | None = ... + """The current status.""" + impaired_since: datetime | None = ... + """The date and time when the performance status became impaired.""" + remediation: str | None = ... + """ + The recommended action to remediate the impaired instance, if one is + available. This value is returned only when the instance is impaired. + """ + +class PeriodType(UnknownEnumMixin, StrEnum): + FIVE_MINUTES = "five-minutes" + FIFTEEN_MINUTES = "fifteen-minutes" + ONE_HOUR = "one-hour" + THREE_HOURS = "three-hours" + ONE_DAY = "one-day" + ONE_WEEK = "one-week" + +class PermissionGroup(UnknownEnumMixin, StrEnum): + ALL = "all" + +@dataclass(kw_only=True) +class Phase1DHGroupNumbersListValue(_SerdeShape): + """The Diffie-Hellmann group number for phase 1 IKE negotiations.""" + + value: int | None = ... + """The Diffie-Hellmann group number.""" + +@dataclass(kw_only=True) +class Phase1DHGroupNumbersRequestListValue(_SerdeShape): + """ + Specifies a Diffie-Hellman group number for the VPN tunnel for phase 1 + IKE negotiations. + """ + + value: int | None = ... + """The Diffie-Hellmann group number.""" + +@dataclass(kw_only=True) +class Phase1EncryptionAlgorithmsListValue(_SerdeShape): + """The encryption algorithm for phase 1 IKE negotiations.""" + + value: str | None = ... + """The value for the encryption algorithm.""" + +@dataclass(kw_only=True) +class Phase1EncryptionAlgorithmsRequestListValue(_SerdeShape): + """ + Specifies the encryption algorithm for the VPN tunnel for phase 1 IKE + negotiations. + """ + + value: str | None = ... + """The value for the encryption algorithm.""" + +@dataclass(kw_only=True) +class Phase1IntegrityAlgorithmsListValue(_SerdeShape): + """The integrity algorithm for phase 1 IKE negotiations.""" + + value: str | None = ... + """The value for the integrity algorithm.""" + +@dataclass(kw_only=True) +class Phase1IntegrityAlgorithmsRequestListValue(_SerdeShape): + """ + Specifies the integrity algorithm for the VPN tunnel for phase 1 IKE + negotiations. + """ + + value: str | None = ... + """The value for the integrity algorithm.""" + +@dataclass(kw_only=True) +class Phase2DHGroupNumbersListValue(_SerdeShape): + """The Diffie-Hellmann group number for phase 2 IKE negotiations.""" + + value: int | None = ... + """The Diffie-Hellmann group number.""" + +@dataclass(kw_only=True) +class Phase2DHGroupNumbersRequestListValue(_SerdeShape): + """ + Specifies a Diffie-Hellman group number for the VPN tunnel for phase 2 + IKE negotiations. + """ + + value: int | None = ... + """The Diffie-Hellmann group number.""" + +@dataclass(kw_only=True) +class Phase2EncryptionAlgorithmsListValue(_SerdeShape): + """The encryption algorithm for phase 2 IKE negotiations.""" + + value: str | None = ... + """The encryption algorithm.""" + +@dataclass(kw_only=True) +class Phase2EncryptionAlgorithmsRequestListValue(_SerdeShape): + """ + Specifies the encryption algorithm for the VPN tunnel for phase 2 IKE + negotiations. + """ + + value: str | None = ... + """The encryption algorithm.""" + +@dataclass(kw_only=True) +class Phase2IntegrityAlgorithmsListValue(_SerdeShape): + """The integrity algorithm for phase 2 IKE negotiations.""" + + value: str | None = ... + """The integrity algorithm.""" + +@dataclass(kw_only=True) +class Phase2IntegrityAlgorithmsRequestListValue(_SerdeShape): + """ + Specifies the integrity algorithm for the VPN tunnel for phase 2 IKE + negotiations. + """ + + value: str | None = ... + """The integrity algorithm.""" + +class PhcSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + +@dataclass(kw_only=True) +class Placement(_SerdeShape): + """Describes the placement of an instance.""" + + availability_zone_id: str | None = ... + """ + The ID of the Availability Zone of the instance. + + On input, you can specify `AvailabilityZone` or `AvailabilityZoneId`, + but not both. If you specify neither one, Amazon EC2 automatically + selects an Availability Zone for you. + + This parameter is not supported for + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + """ + affinity: str | None = ... + """ + The affinity setting for the instance on the Dedicated Host. + + This parameter is not supported for + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) + or + [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html). + """ + group_name: str | None = ... + """ + The name of the placement group that the instance is in. + + On input, you can specify `GroupId` or `GroupName`, but not both. + """ + partition_number: int | None = ... + """ + The number of the partition that the instance is in. Valid only if the + placement group strategy is set to `partition`. + + This parameter is not supported for + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + """ + host_id: str | None = ... + """ + The ID of the Dedicated Host on which the instance resides. + + This parameter is not supported for + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) + or + [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html). + """ + tenancy: str | None = ... + """ + The tenancy of the instance. An instance with a tenancy of `dedicated` + runs on single-tenant hardware. + + This parameter is not supported for + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + The `host` tenancy is not supported for + [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) + or for T3 instances that are configured for the `unlimited` CPU credit + option. + """ + spread_domain: str | None = ... + """Reserved for future use.""" + host_resource_group_arn: str | None = ... + """ + The ARN of the host resource group in which to launch the instances. + + On input, if you specify this parameter, either omit the **Tenancy** + parameter or set it to `host`. + + This parameter is not supported for + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + """ + group_id: str | None = ... + """ + The ID of the placement group that the instance is in. + + On input, you can specify `GroupId` or `GroupName`, but not both. + """ + availability_zone: str | None = ... + """ + The Availability Zone of the instance. + + On input, you can specify `AvailabilityZone` or `AvailabilityZoneId`, + but not both. If you specify neither one, Amazon EC2 automatically + selects an Availability Zone for you. + + This parameter is not supported for + [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). + """ + +@dataclass(kw_only=True) +class PlacementGroup(_SerdeShape): + """Describes a placement group.""" + + group_name: str | None = ... + """The name of the placement group.""" + state: str | None = ... + """The state of the placement group.""" + strategy: str | None = ... + """The placement strategy.""" + partition_count: int | None = ... + """ + The number of partitions. Valid only if **strategy** is set to + `partition`. + """ + group_id: str | None = ... + """The ID of the placement group.""" + tags: list[Tag] | None = ... + """Any tags applied to the placement group.""" + group_arn: str | None = ... + """The Amazon Resource Name (ARN) of the placement group.""" + spread_level: str | None = ... + """ + The spread level for the placement group. *Only* Outpost placement + groups can be spread across hosts. + """ + linked_group_id: str | None = ... + """Reserved for future use.""" + operator: OperatorResponse | None = ... + """The service provider that manages the Placement Group.""" + parent_group_id: str | None = ... + """The ID of the parent placement group.""" + +@dataclass(kw_only=True) +class PlacementGroupInfo(_SerdeShape): + """Describes the placement group support of the instance type.""" + + supported_strategies: list[str] | None = ... + """The supported placement group types.""" + +class PlacementGroupState(UnknownEnumMixin, StrEnum): + PENDING = "pending" + AVAILABLE = "available" + DELETING = "deleting" + DELETED = "deleted" + +class PlacementGroupStrategy(UnknownEnumMixin, StrEnum): + CLUSTER = "cluster" + PARTITION = "partition" + SPREAD = "spread" + +@dataclass(kw_only=True) +class PlacementResponse(_SerdeShape): + """Describes the placement of an instance.""" + + group_name: str | None = ... + """The name of the placement group that the instance is in.""" + +class PlacementStrategy(UnknownEnumMixin, StrEnum): + CLUSTER = "cluster" + SPREAD = "spread" + PARTITION = "partition" + PRECISION_TIME = "precision-time" + +class PlatformValues(UnknownEnumMixin, StrEnum): + WINDOWS = "Windows" + +@dataclass(kw_only=True) +class PoolCidrBlock(_SerdeShape): + """Describes a CIDR block for an address pool.""" + + cidr: str | None = ... + """The CIDR block.""" + +@dataclass(kw_only=True) +class PortRange(_SerdeShape): + """Describes a range of ports.""" + + from_: int | None = ... + """The first port in the range.""" + to: int | None = ... + """The last port in the range.""" + +@dataclass(kw_only=True) +class PrefixList(_SerdeShape): + """Describes prefixes for Amazon Web Services services.""" + + cidrs: list[str] | None = ... + """The IP address range of the Amazon Web Services service.""" + prefix_list_id: str | None = ... + """The ID of the prefix.""" + prefix_list_name: str | None = ... + """The name of the prefix.""" + +@dataclass(kw_only=True) +class PrefixListAssociation(_SerdeShape): + """Describes the resource with which a prefix list is associated.""" + + resource_id: str | None = ... + """The ID of the resource.""" + resource_owner: str | None = ... + """The owner of the resource.""" + +@dataclass(kw_only=True) +class PrefixListEntry(_SerdeShape): + """Describes a prefix list entry.""" + + cidr: str | None = ... + """The CIDR block.""" + description: str | None = ... + """The description.""" + +@dataclass(kw_only=True) +class PrefixListId(_SerdeShape): + """Describes a prefix list ID.""" + + description: str | None = ... + """ + A description for the security group rule that references this prefix + list ID. + + Constraints: Up to 255 characters in length. Allowed characters are a-z, + A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* + """ + prefix_list_id: str | None = ... + """The ID of the prefix.""" + +class PrefixListState(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "create-in-progress" + CREATE_COMPLETE = "create-complete" + CREATE_FAILED = "create-failed" + MODIFY_IN_PROGRESS = "modify-in-progress" + MODIFY_COMPLETE = "modify-complete" + MODIFY_FAILED = "modify-failed" + RESTORE_IN_PROGRESS = "restore-in-progress" + RESTORE_COMPLETE = "restore-complete" + RESTORE_FAILED = "restore-failed" + DELETE_IN_PROGRESS = "delete-in-progress" + DELETE_COMPLETE = "delete-complete" + DELETE_FAILED = "delete-failed" + +@dataclass(kw_only=True) +class PriceSchedule(_SerdeShape): + """Describes the price for a Reserved Instance.""" + + active: bool | None = ... + """ + The current price schedule, as determined by the term remaining for the + Reserved Instance in the listing. + + A specific price schedule is always in effect, but only one price + schedule can be active at any time. Take, for example, a Reserved + Instance listing that has five months remaining in its term. When you + specify price schedules for five months and two months, this means that + schedule 1, covering the first three months of the remaining term, will + be active during months 5, 4, and 3. Then schedule 2, covering the last + two months of the term, will be active for months 2 and 1. + """ + currency_code: str | None = ... + """ + The currency for transacting the Reserved Instance resale. At this time, + the only supported currency is `USD`. + """ + price: float | None = ... + """The fixed price for the term.""" + term: int | None = ... + """ + The number of months remaining in the reservation. For example, 2 is the + second to the last month before the capacity reservation expires. + """ + +@dataclass(kw_only=True) +class PriceScheduleSpecification(_SerdeShape): + """Describes the price for a Reserved Instance.""" + + term: int | None = ... + """ + The number of months remaining in the reservation. For example, 2 is the + second to the last month before the capacity reservation expires. + """ + price: float | None = ... + """The fixed price for the term.""" + currency_code: str | None = ... + """ + The currency for transacting the Reserved Instance resale. At this time, + the only supported currency is `USD`. + """ + +@dataclass(kw_only=True) +class PricingDetail(_SerdeShape): + """Describes a Reserved Instance offering.""" + + count: int | None = ... + """The number of reservations available for the price.""" + price: float | None = ... + """The price per instance.""" + +@dataclass(kw_only=True) +class PrincipalIdFormat(_SerdeShape): + """PrincipalIdFormat description""" + + arn: str | None = ... + """PrincipalIdFormatARN description""" + statuses: list[IdFormat] | None = ... + """PrincipalIdFormatStatuses description""" + +class PrincipalType(UnknownEnumMixin, StrEnum): + ALL = "All" + SERVICE = "Service" + ORGANIZATION_UNIT = "OrganizationUnit" + ACCOUNT = "Account" + USER = "User" + ROLE = "Role" + +@dataclass(kw_only=True) +class PrivateDnsDetails(_SerdeShape): + """Information about the Private DNS name for interface endpoints.""" + + private_dns_name: str | None = ... + """The private DNS name assigned to the VPC endpoint service.""" + +@dataclass(kw_only=True) +class PrivateDnsNameConfiguration(_SerdeShape): + """Information about the private DNS name for the service endpoint.""" + + state: str | None = ... + """ + The verification state of the VPC endpoint service. + + Consumers of the endpoint service can use the private name only when the + state is `verified`. + """ + type: str | None = ... + """The endpoint service verification type, for example TXT.""" + value: str | None = ... + """ + The value the service provider adds to the private DNS name domain + record before verification. + """ + name: str | None = ... + """ + The name of the record subdomain the service provider needs to create. + The service provider adds the `value` text to the `name`. + """ + +@dataclass(kw_only=True) +class PrivateDnsNameOptionsOnLaunch(_SerdeShape): + """Describes the options for instance hostnames.""" + + hostname_type: str | None = ... + """ + The type of hostname for EC2 instances. For IPv4 only subnets, an + instance DNS name must be based on the instance IPv4 address. For IPv6 + only subnets, an instance DNS name must be based on the instance ID. For + dual-stack subnets, you can specify whether DNS names use the instance + IPv4 address or the instance ID. + """ + enable_resource_name_dns_a_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS A records. + """ + enable_resource_name_dns_aaaa_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostname with + DNS AAAA records. + """ + +@dataclass(kw_only=True) +class PrivateDnsNameOptionsRequest(_SerdeShape): + """Describes the options for instance hostnames.""" + + hostname_type: str | None = ... + """ + The type of hostname for EC2 instances. For IPv4 only subnets, an + instance DNS name must be based on the instance IPv4 address. For IPv6 + only subnets, an instance DNS name must be based on the instance ID. For + dual-stack subnets, you can specify whether DNS names use the instance + IPv4 address or the instance ID. + """ + enable_resource_name_dns_a_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS A records. + """ + enable_resource_name_dns_aaaa_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS AAAA records. + """ + +@dataclass(kw_only=True) +class PrivateDnsNameOptionsResponse(_SerdeShape): + """Describes the options for instance hostnames.""" + + hostname_type: str | None = ... + """The type of hostname to assign to an instance.""" + enable_resource_name_dns_a_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS A records. + """ + enable_resource_name_dns_aaaa_record: bool | None = ... + """ + Indicates whether to respond to DNS queries for instance hostnames with + DNS AAAA records. + """ + +@dataclass(kw_only=True) +class PrivateIpAddressSpecification(_SerdeShape): + """Describes a secondary private IPv4 address for a network interface.""" + + primary: bool | None = ... + """ + Indicates whether the private IPv4 address is the primary private IPv4 + address. Only one IPv4 address can be designated as primary. + """ + private_ip_address: str | None = ... + """The private IPv4 address.""" + +@dataclass(kw_only=True) +class ProcessorInfo(_SerdeShape): + """Describes the processor used by the instance type.""" + + supported_architectures: list[str] | None = ... + """The architectures supported by the instance type.""" + sustained_clock_speed_in_ghz: float | None = ... + """The speed of the processor, in GHz.""" + supported_features: list[str] | None = ... + """ + Indicates whether the instance type supports AMD SEV-SNP. If the request + returns `amd-sev-snp`, AMD SEV-SNP is supported. Otherwise, it is not + supported. For more information, see [AMD + SEV-SNP](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). + """ + manufacturer: str | None = ... + """The manufacturer of the processor.""" + +@dataclass(kw_only=True) +class ProductCode(_SerdeShape): + """Describes a product code.""" + + product_code_id: str | None = ... + """The product code.""" + product_code_type: str | None = ... + """The type of product code.""" + +class ProductCodeValues(UnknownEnumMixin, StrEnum): + DEVPAY = "devpay" + MARKETPLACE = "marketplace" + +@dataclass(kw_only=True) +class PropagatingVgw(_SerdeShape): + """Describes a virtual private gateway propagating route.""" + + gateway_id: str | None = ... + """The ID of the virtual private gateway.""" + +class Protocol(UnknownEnumMixin, StrEnum): + TCP = "tcp" + UDP = "udp" + +class ProtocolValue(UnknownEnumMixin, StrEnum): + GRE = "gre" + +@dataclass(kw_only=True) +class ProvisionByoipCidrInput(_SerdeShape): + """Dataclass for ProvisionByoipCidrInput structure.""" + + cidr: str | None = ... + """ + The public IPv4 or IPv6 address range, in CIDR notation. The most + specific IPv4 prefix that you can specify is /24. The most specific IPv6 + address range that you can bring is /48 for CIDRs that are publicly + advertisable and /56 for CIDRs that are not publicly advertisable. The + address range cannot overlap with another address range that you've + brought to this or another Region. + """ + cidr_authorization_context: CidrAuthorizationContext | None = ... + """ + A signed document that proves that you are authorized to bring the + specified IP address range to Amazon using BYOIP. + """ + publicly_advertisable: bool | None = ... + """ + (IPv6 only) Indicate whether the address range will be publicly + advertised to the internet. + + Default: true + """ + description: str | None = ... + """A description for the address range and the address pool.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + pool_tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the address pool.""" + multi_region: bool | None = ... + """Reserved.""" + network_border_group: str | None = ... + """ + If you have [Local + Zones](https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html) + enabled, you can choose a network border group for Local Zones when you + provision and advertise a BYOIPv4 CIDR. Choose the network border group + carefully as the EIP and the Amazon Web Services resource it is + associated with must reside in the same network border group. + + You can provision BYOIP address ranges to and advertise them in the + following Local Zone network border groups: + + - us-east-1-dfw-2 + + - us-west-2-lax-1 + + - us-west-2-phx-2 + + Note: + You cannot provision or advertise BYOIPv6 address ranges in Local Zones + at this time. + """ + +@dataclass(kw_only=True) +class ProvisionByoipCidrOutput(_SerdeShape): + """Dataclass for ProvisionByoipCidrOutput structure.""" + + byoip_cidr: ByoipCidr | None = ... + """Information about the address range.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ProvisionedBandwidth(_SerdeShape): + """ + Reserved. If you need to sustain traffic greater than the [documented + limits](https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways), + contact Amazon Web Services Support. + """ + + provision_time: datetime | None = ... + """Reserved.""" + provisioned: str | None = ... + """Reserved.""" + request_time: datetime | None = ... + """Reserved.""" + requested: str | None = ... + """Reserved.""" + status: str | None = ... + """Reserved.""" + +@dataclass(kw_only=True) +class ProvisionIpamByoasnInput(_SerdeShape): + """Dataclass for ProvisionIpamByoasnInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + ipam_id: str | None = ... + """An IPAM ID.""" + asn: str | None = ... + """A public 2-byte or 4-byte ASN.""" + asn_authorization_context: AsnAuthorizationContext | None = ... + """An ASN authorization context.""" + +@dataclass(kw_only=True) +class ProvisionIpamByoasnOutput(_SerdeShape): + """Dataclass for ProvisionIpamByoasnOutput structure.""" + + byoasn: Byoasn | None = ... + """An ASN and BYOIP CIDR association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ProvisionIpamPoolCidrInput(_SerdeShape): + """Dataclass for ProvisionIpamPoolCidrInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_id: str | None = ... + """The ID of the IPAM pool to which you want to assign a CIDR.""" + cidr: str | None = ... + """ + The CIDR you want to assign to the IPAM pool. Either \"NetmaskLength\" + or \"Cidr\" is required. This value will be null if you specify + \"NetmaskLength\" and will be filled in during the provisioning process. + """ + cidr_authorization_context: IpamCidrAuthorizationContext | None = ... + """ + A signed document that proves that you are authorized to bring a + specified IP address range to Amazon using BYOIP. This option only + applies to IPv4 and IPv6 pools in the public scope. + """ + netmask_length: int | None = ... + """ + The netmask length of the CIDR you'd like to provision to a pool. Can + be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools + and for provisioning CIDRs to pools with source pools. Cannot be used to + provision BYOIP CIDRs to top-level pools. Either \"NetmaskLength\" or + \"Cidr\" is required. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). + + This field is autopopulated if not provided. + """ + verification_method: str | None = ... + """ + The method for verifying control of a public IP address range. Defaults + to `remarks-x509` if not specified. This option only applies to IPv4 and + IPv6 pools in the public scope. + """ + ipam_external_resource_verification_token_id: str | None = ... + """ + Verification token ID. This option only applies to IPv4 and IPv6 pools + in the public scope. + """ + +@dataclass(kw_only=True) +class ProvisionIpamPoolCidrOutput(_SerdeShape): + """Dataclass for ProvisionIpamPoolCidrOutput structure.""" + + ipam_pool_cidr: IpamPoolCidr | None = ... + """Information about the provisioned CIDR.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ProvisionPublicIpv4PoolCidrInput(_SerdeShape): + """Dataclass for ProvisionPublicIpv4PoolCidrInput structure.""" + + dry_run: bool | None = ... + """ + A check for 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 + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + ipam_pool_id: str | None = ... + """The ID of the IPAM pool you would like to use to allocate this CIDR.""" + pool_id: str | None = ... + """The ID of the public IPv4 pool you would like to use for this CIDR.""" + netmask_length: int | None = ... + """ + The netmask length of the CIDR you would like to allocate to the public + IPv4 pool. The least specific netmask length you can define is 24. + """ + network_border_group: str | None = ... + """ + The Availability Zone (AZ) or Local Zone (LZ) network border group that + the resource that the IP address is assigned to is in. Defaults to an AZ + network border group. For more information on available Local Zones, see + [Local Zone + availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) + in the *Amazon EC2 User Guide*. + """ + +@dataclass(kw_only=True) +class ProvisionPublicIpv4PoolCidrOutput(_SerdeShape): + """Dataclass for ProvisionPublicIpv4PoolCidrOutput structure.""" + + pool_id: str | None = ... + """The ID of the pool that you want to provision the CIDR to.""" + pool_address_range: PublicIpv4PoolRange | None = ... + """Information about the address range of the public IPv4 pool.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PtrUpdateStatus(_SerdeShape): + """The status of an updated pointer (PTR) record for an Elastic IP address.""" + + value: str | None = ... + """The value for the PTR record update.""" + status: str | None = ... + """The status of the PTR record update.""" + reason: str | None = ... + """The reason for the PTR record update.""" + +@dataclass(kw_only=True) +class PublicIpDnsNameOptions(_SerdeShape): + """ + Public hostname type options. For more information, see [EC2 instance + hostnames, DNS names, and + domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) + in the *Amazon EC2 User Guide*. + """ + + dns_hostname_type: str | None = ... + """ + The public hostname type. For more information, see [EC2 instance + hostnames, DNS names, and + domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) + in the *Amazon EC2 User Guide*. + """ + public_ipv4_dns_name: str | None = ... + """ + An IPv4-enabled public hostname for a network interface. Requests from + within the VPC resolve to the private primary IPv4 address of the + network interface. Requests from the internet resolve to the public IPv4 + address of the network interface. + """ + public_ipv6_dns_name: str | None = ... + """ + An IPv6-enabled public hostname for a network interface. Requests from + within the VPC or from the internet resolve to the IPv6 GUA of the + network interface. + """ + public_dual_stack_dns_name: str | None = ... + """ + A dual-stack public hostname for a network interface. Requests from + within the VPC resolve to both the private IPv4 address and the IPv6 + Global Unicast Address of the network interface. Requests from the + internet resolve to both the public IPv4 and the IPv6 GUA address of the + network interface. + """ + +class PublicIpDnsOption(UnknownEnumMixin, StrEnum): + PUBLIC_DUAL_STACK_DNS_NAME = "public-dual-stack-dns-name" + PUBLIC_IPV4_DNS_NAME = "public-ipv4-dns-name" + PUBLIC_IPV6_DNS_NAME = "public-ipv6-dns-name" + +@dataclass(kw_only=True) +class PublicIpv4Pool(_SerdeShape): + """Describes an IPv4 address pool.""" + + pool_id: str | None = ... + """The ID of the address pool.""" + description: str | None = ... + """A description of the address pool.""" + pool_address_ranges: list[PublicIpv4PoolRange] | None = ... + """The address ranges.""" + total_address_count: int | None = ... + """The total number of addresses.""" + total_available_address_count: int | None = ... + """The total number of available addresses.""" + network_border_group: str | None = ... + """ + The name of the location from which the address pool is advertised. A + network border group is a unique set of Availability Zones or Local + Zones from where Amazon Web Services advertises public IP addresses. + """ + tags: list[Tag] | None = ... + """Any tags for the address pool.""" + +@dataclass(kw_only=True) +class PublicIpv4PoolRange(_SerdeShape): + """Describes an address range of an IPv4 address pool.""" + + first_address: str | None = ... + """The first IP address in the range.""" + last_address: str | None = ... + """The last IP address in the range.""" + address_count: int | None = ... + """The number of addresses in the range.""" + available_address_count: int | None = ... + """The number of available addresses in the range.""" + +@dataclass(kw_only=True) +class Purchase(_SerdeShape): + """Describes the result of the purchase.""" + + currency_code: str | None = ... + """ + The currency in which the `UpfrontPrice` and `HourlyPrice` amounts are + specified. At this time, the only supported currency is `USD`. + """ + duration: int | None = ... + """The duration of the reservation's term in seconds.""" + host_id_set: list[str] | None = ... + """The IDs of the Dedicated Hosts associated with the reservation.""" + host_reservation_id: str | None = ... + """The ID of the reservation.""" + hourly_price: str | None = ... + """The hourly price of the reservation per hour.""" + instance_family: str | None = ... + """ + The instance family on the Dedicated Host that the reservation can be + associated with. + """ + payment_option: str | None = ... + """The payment option for the reservation.""" + upfront_price: str | None = ... + """The upfront price of the reservation.""" + +@dataclass(kw_only=True) +class PurchaseCapacityBlockExtensionInput(_SerdeShape): + """Dataclass for PurchaseCapacityBlockExtensionInput structure.""" + + capacity_block_extension_offering_id: str | None = ... + """The ID of the Capacity Block extension offering to purchase.""" + capacity_reservation_id: str | None = ... + """The ID of the Capacity reservation to be extended.""" + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class PurchaseCapacityBlockExtensionOutput(_SerdeShape): + """Dataclass for PurchaseCapacityBlockExtensionOutput structure.""" + + capacity_block_extensions: list[CapacityBlockExtension] | None = ... + """The purchased Capacity Block extensions.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PurchaseCapacityBlockInput(_SerdeShape): + """Dataclass for PurchaseCapacityBlockInput structure.""" + + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the Capacity Block during launch.""" + capacity_block_offering_id: str | None = ... + """The ID of the Capacity Block offering.""" + instance_platform: str | None = ... + """The type of operating system for which to reserve capacity.""" + +@dataclass(kw_only=True) +class PurchaseCapacityBlockOutput(_SerdeShape): + """Dataclass for PurchaseCapacityBlockOutput structure.""" + + capacity_reservation: CapacityReservation | None = ... + """The Capacity Reservation.""" + capacity_blocks: list[CapacityBlock] | None = ... + """The Capacity Block.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PurchaseHostReservationInput(_SerdeShape): + """Dataclass for PurchaseHostReservationInput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + currency_code: str | None = ... + """ + The currency in which the `totalUpfrontPrice`, `LimitPrice`, and + `totalHourlyPrice` amounts are specified. At this time, the only + supported currency is `USD`. + """ + host_id_set: list[str] | None = ... + """ + The IDs of the Dedicated Hosts with which the reservation will be + associated. + """ + limit_price: str | None = ... + """ + The specified limit is checked against the total upfront cost of the + reservation (calculated as the offering's upfront cost multiplied by + the host count). If the total upfront cost is greater than the specified + price limit, the request fails. This is used to ensure that the purchase + does not exceed the expected upfront cost of the purchase. At this time, + the only supported currency is `USD`. For example, to indicate a limit + price of USD 100, specify 100.00. + """ + offering_id: str | None = ... + """The ID of the offering.""" + tag_specifications: list[TagSpecification] | None = ... + """The tags to apply to the Dedicated Host Reservation during purchase.""" + +@dataclass(kw_only=True) +class PurchaseHostReservationOutput(_SerdeShape): + """Dataclass for PurchaseHostReservationOutput structure.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that you provide to ensure the + idempotency of the request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + """ + currency_code: str | None = ... + """ + The currency in which the `totalUpfrontPrice` and `totalHourlyPrice` + amounts are specified. At this time, the only supported currency is + `USD`. + """ + purchase: list[Purchase] | None = ... + """Describes the details of the purchase.""" + total_hourly_price: str | None = ... + """The total hourly price of the reservation calculated per hour.""" + total_upfront_price: str | None = ... + """ + The total amount charged to your account when you purchase the + reservation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PurchaseRequest(_SerdeShape): + """Describes a request to purchase Scheduled Instances.""" + + instance_count: int | None = ... + """The number of instances.""" + purchase_token: str | None = ... + """The purchase token.""" + +@dataclass(kw_only=True) +class PurchaseReservedInstancesOfferingInput(_SerdeShape): + """Contains the parameters for PurchaseReservedInstancesOffering.""" + + instance_count: int | None = ... + """The number of Reserved Instances to purchase.""" + reserved_instances_offering_id: str | None = ... + """The ID of the Reserved Instance offering to purchase.""" + purchase_time: datetime | None = ... + """ + The time at which to purchase the Reserved Instance, in UTC format (for + example, *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + limit_price: ReservedInstanceLimitPrice | None = ... + """ + Specified for Reserved Instance Marketplace offerings to limit the total + order and ensure that the Reserved Instances are not purchased at + unexpected prices. + """ + +@dataclass(kw_only=True) +class PurchaseReservedInstancesOfferingOutput(_SerdeShape): + """Contains the output of PurchaseReservedInstancesOffering.""" + + reserved_instances_id: str | None = ... + """ + The IDs of the purchased Reserved Instances. If your purchase crosses + into a discounted pricing tier, the final Reserved Instances IDs might + change. For more information, see [Crossing pricing + tiers](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-reserved-instances-application.html#crossing-pricing-tiers) + in the *Amazon EC2 User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PurchaseScheduledInstancesInput(_SerdeShape): + """Contains the parameters for PurchaseScheduledInstances.""" + + client_token: str | None = ... + """ + Unique, case-sensitive identifier that ensures the idempotency of the + request. For more information, see [Ensuring + Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + + This field is autopopulated if not provided. + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + purchase_requests: list[PurchaseRequest] | None = ... + """The purchase requests.""" + +@dataclass(kw_only=True) +class PurchaseScheduledInstancesOutput(_SerdeShape): + """Contains the output of PurchaseScheduledInstances.""" + + scheduled_instance_set: list[ScheduledInstance] | None = ... + """Information about the Scheduled Instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RebootInstancesInput(_SerdeShape): + """Dataclass for RebootInstancesInput structure.""" + + instance_ids: list[str] | None = ... + """The instance IDs.""" + dry_run: bool | None = ... + """ + Checks whether you have the required permissions for the operation, + without actually making the request, and provides an error response. If + you have the required permissions, the error response is + `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. + """ + +@dataclass(kw_only=True) +class RebootInstancesOutput(_SerdeShape): + """Dataclass for RebootInstancesOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class RebootMigrationSupport(UnknownEnumMixin, StrEnum): + UNSUPPORTED = "unsupported" + SUPPORTED = "supported" + +@dataclass(kw_only=True) +class RecurringCharge(_SerdeShape): + """Describes a recurring charge.""" + + amount: float | None = ... + """The amount of the recurring charge.""" + frequency: str | None = ... + """The frequency of the recurring charge.""" + +class RecurringChargeFrequency(UnknownEnumMixin, StrEnum): + HOURLY = "Hourly" + +@dataclass(kw_only=True) +class ReferencedSecurityGroup(_SerdeShape): + """ + Describes the security group that is referenced in the security group + rule. + """ + + group_id: str | None = ... + """The ID of the security group.""" + peering_status: str | None = ... + """The status of a VPC peering connection, if applicable.""" + user_id: str | None = ... + """The Amazon Web Services account ID.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + vpc_peering_connection_id: str | None = ... + """The ID of the VPC peering connection (if applicable).""" + +@dataclass(kw_only=True) +class Region(_SerdeShape): + """Describes a Region.""" + + opt_in_status: str | None = ... + """ + The Region opt-in status. The possible values are `opt-in-not-required`, + `opted-in`, and `not-opted-in`. + """ + geography: list[RegionGeography] | None = ... + """ + The geography information for the Region. The geography is returned as a + list. + """ + region_name: str | None = ... + """The name of the Region.""" + endpoint: str | None = ... + """The Region service endpoint.""" + +@dataclass(kw_only=True) +class RegionalSummary(_SerdeShape): + """A summary report for the attribute for a Region.""" + + region_name: str | None = ... + """The Amazon Web Services Region.""" + number_of_matched_accounts: int | None = ... + """ + The number of accounts in the Region with the same configuration value + for the attribute that is most frequently observed. + """ + number_of_unmatched_accounts: int | None = ... + """ + The number of accounts in the Region with a configuration value + different from the most frequently observed value for the attribute. + """ + +@dataclass(kw_only=True) +class RegionGeography(_SerdeShape): + """Describes the geography information for a Region.""" + + name: str | None = ... + """The name of the geography, for example, `United States of America`.""" + +@dataclass(kw_only=True) +class RegisteredInstance(_SerdeShape): + """ + Describes an Amazon EC2 instance that is enabled for SQL Server High + Availability standby detection monitoring. + """ + + instance_id: str | None = ... + """The ID of the SQL Server High Availability instance.""" + sql_server_license_usage: str | None = ... + """ + The license type for the SQL Server license. Valid values include: + + - `full` - The SQL Server High Availability instance is using a full SQL + Server license. + + - `waived` - The SQL Server High Availability instance is waived from + the SQL Server license. + """ + ha_status: str | None = ... + """ + The SQL Server High Availability status of the instance. Valid values + are: + + - `processing` - The SQL Server High Availability status for the SQL + Server High Availability instance is being updated. + + - `active` - The SQL Server High Availability instance is an active node + in an SQL Server High Availability cluster. + + - `standby` - The SQL Server High Availability instance is a standby + failover node in an SQL Server High Availability cluster. + + - `invalid` - An error occurred due to misconfigured permissions, or + unable to dertemine SQL Server High Availability status for the SQL + Server High Availability instance. + """ + processing_status: str | None = ... + """ + A brief description of the SQL Server High Availability status. If the + instance is in the `invalid` High Availability status, this parameter + includes the error message. + """ + last_updated_time: datetime | None = ... + """ + The date and time when the instance's SQL Server High Availability + status was last updated, in the ISO 8601 format in the UTC time zone + (`YYYY-MM-DDThh:mm:ss.sssZ`). + """ + sql_server_credentials: str | None = ... + """ + The ARN of the Secrets Manager secret containing the SQL Server access + credentials for the SQL Server High Availability instance. If not + specified, deafult local user credentials will be used by the Amazon Web + Services Systems Manager agent. + """ + tags: list[Tag] | None = ... + """The tags assigned to the SQL Server High Availability instance.""" + +@dataclass(kw_only=True) +class RegisterImageInput(_SerdeShape): + """Contains the parameters for RegisterImage.""" + + image_location: str | None = ... + """ + The full path to your AMI manifest in Amazon S3 storage. The specified + bucket must have the `aws-exec-read` canned access control list (ACL) to + ensure that it can be accessed by Amazon EC2. For more information, see + [Canned + ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) + in the *Amazon S3 Service Developer Guide*. + """ + billing_products: list[str] | None = ... + """ + The billing product codes. Your account must be authorized to specify + billing product codes. + + If your account is not authorized to specify billing product codes, you + can publish AMIs that include billable software and list them on the + Amazon Web Services Marketplace. You must first register as a seller on + the Amazon Web Services Marketplace. For more information, see [Getting + started as an Amazon Web Services Marketplace + seller](https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html) + and [AMI-based products in Amazon Web Services + Marketplace](https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html) + in the *Amazon Web Services Marketplace Seller Guide*. + """ + boot_mode: str | None = ... + """ + The boot mode of the AMI. A value of `uefi-preferred` indicates that the + AMI supports both UEFI and Legacy BIOS. + + Note: + The operating system contained in the AMI must be configured to support + the specified boot mode. + + For more information, see [Instance launch behavior with Amazon EC2 boot + modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) + in the *Amazon EC2 User Guide*. + """ + tpm_support: str | None = ... + """ + Set to `v2.0` to enable Trusted Platform Module (TPM) support. For more + information, see + [NitroTPM](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) + in the *Amazon EC2 User Guide*. + """ + uefi_data: str | None = ... + """ + Base64 representation of the non-volatile UEFI variable store. To + retrieve the UEFI data, use the + [GetInstanceUefiData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData) + command. You can inspect and modify the UEFI data by using the + [python-uefivars tool](https://github.com/awslabs/python-uefivars) on + GitHub. For more information, see [UEFI Secure Boot for Amazon EC2 + instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html) + in the *Amazon EC2 User Guide*. + """ + imds_support: str | None = ... + """ + Set to `v2.0` to indicate that IMDSv2 is specified in the AMI. Instances + launched from this AMI will have `HttpTokens` automatically set to + `required` so that, by default, the instance requires that IMDSv2 is + used when requesting instance metadata. In addition, + `HttpPutResponseHopLimit` is set to `2`. For more information, see + [Configure the + AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration) + in the *Amazon EC2 User Guide*. + + Note: + If you set the value to `v2.0`, make sure that your AMI software can + support IMDSv2. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + The tags to apply to the AMI. + + To tag the AMI, the value for `ResourceType` must be `image`. If you + specify another value for `ResourceType`, the request fails. + + To tag an AMI after it has been registered, see + [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + """ + dry_run: bool | None = ... + """ + 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 `DryRunOperation`. + Otherwise, it is `UnauthorizedOperation`. + """ + name: str | None = ... + """ + A name for your AMI. + + Constraints: 3-128 alphanumeric characters, parentheses (()), square + brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), + single quotes ('), at-signs (@), or underscores(_) + """ + description: str | None = ... + """A description for your AMI.""" + architecture: str | None = ... + """ + The architecture of the AMI. + + Default: For Amazon EBS-backed AMIs, `i386`. For instance store-backed + AMIs, the architecture specified in the manifest file. + """ + kernel_id: str | None = ... + """The ID of the kernel.""" + ramdisk_id: str | None = ... + """The ID of the RAM disk.""" + root_device_name: str | None = ... + """The device name of the root device volume (for example, `/dev/sda1`).""" + block_device_mappings: list[BlockDeviceMapping] | None = ... + """ + The block device mapping entries. + + If you specify an Amazon EBS volume using the ID of an Amazon EBS + snapshot, you can't specify the encryption state of the volume. + + If you create an AMI on an Outpost, then all backing snapshots must be + on the same Outpost or in the Region of that Outpost. AMIs on an Outpost + that include local snapshots can be used to launch instances on the same + Outpost only. For more information, [Create AMIs from local + snapshots](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami) + in the *Amazon EBS User Guide*. + """ + virtualization_type: str | None = ... + """ + The type of virtualization (`hvm` | `paravirtual`). + + Default: `paravirtual` + """ + sriov_net_support: str | None = ... + """ + Set to `simple` to enable enhanced networking with the Intel 82599 + Virtual Function interface for the AMI and any instances that you launch + from the AMI. + + There is no way to disable `sriovNetSupport` at this time. + + This option is supported only for HVM AMIs. Specifying this option with + a PV AMI can make instances launched from the AMI unreachable. + """ + ena_support: bool | None = ... + """ + Set to `true` to enable enhanced networking with ENA for the AMI and any + instances that you launch from the AMI. + + This option is supported only for HVM AMIs. Specifying this option with + a PV AMI can make instances launched from the AMI unreachable. + """ diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas.py index c35c6bb55..bb67a2980 100644 --- a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas.py +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas.py @@ -1,75787 +1,5296 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.ec2" -_I = "Integer" -_AC = "AcceleratorCount" -_M = "Min" -_aQN = "aws.protocols#ec2QueryName" -_sN = "smithy.api#xmlName" -_m = "min" -_Ma = "Max" -_ma = "max" -_ACR = "AcceleratorCountRequest" -_AM = "AcceleratorManufacturer" -_AWS = "AMAZON_WEB_SERVICES" -_sV = "smithy.api#enumValue" -_aws = "amazon-web-services" -_AMD = "AMD" -_a = "amd" -_NVIDIA = "NVIDIA" -_n = "nvidia" -_XILINX = "XILINX" -_x = "xilinx" -_HABANA = "HABANA" -_h = "habana" -_AMS = "AcceleratorManufacturerSet" -_me = "member" -_i = "item" -_AN = "AcceleratorName" -_A = "A100" -_a_ = "a100" -_INFERENTIA = "INFERENTIA" -_in = "inferentia" -_K = "K520" -_k = "k520" -_K_ = "K80" -_k_ = "k80" -_M_ = "M60" -_m_ = "m60" -_RPV = "RADEON_PRO_V520" -_rpv = "radeon-pro-v520" -_T = "T4" -_t = "t4" -_VUP = "VU9P" -_v = "vu9p" -_V = "V100" -_v_ = "v100" -_AG = "A10G" -_ag = "a10g" -_H = "H100" -_h_ = "h100" -_TG = "T4G" -_tg = "t4g" -_LS = "L40S" -_l = "l40s" -_L = "L4" -_l_ = "l4" -_GH = "GAUDI_HL_205" -_gh = "gaudi-hl-205" -_INFERENTIA_ = "INFERENTIA2" -_inf = "inferentia2" -_TRAINIUM = "TRAINIUM" -_tr = "trainium" -_TRAINIUM_ = "TRAINIUM2" -_tra = "trainium2" -_U = "U30" -_u = "u30" -_ANS = "AcceleratorNameSet" -_ATMMB = "AcceleratorTotalMemoryMiB" -_ATMMBR = "AcceleratorTotalMemoryMiBRequest" -_AT = "AcceleratorType" -_GPU = "GPU" -_g = "gpu" -_FPGA = "FPGA" -_f = "fpga" -_INFERENCE = "INFERENCE" -_infe = "inference" -_MEDIA = "MEDIA" -_med = "media" -_ATS = "AcceleratorTypeSet" -_S = "String" -_B = "Boolean" -_RT = "ResourceType" -_cr = "capacity_reservation" -_cr_ = "capacity-reservation" -_cve = "client_vpn_endpoint" -_cve_ = "client-vpn-endpoint" -_cg = "customer_gateway" -_cg_ = "customer-gateway" -_cg__ = "carrier_gateway" -_cg___ = "carrier-gateway" -_cp = "coip_pool" -_cp_ = "coip-pool" -_dpr = "declarative_policies_report" -_dpr_ = "declarative-policies-report" -_dh = "dedicated_host" -_dh_ = "dedicated-host" -_do = "dhcp_options" -_do_ = "dhcp-options" -_eoig = "egress_only_internet_gateway" -_eoig_ = "egress-only-internet-gateway" -_ei = "elastic_ip" -_ei_ = "elastic-ip" -_eg = "elastic_gpu" -_eg_ = "elastic-gpu" -_eit = "export_image_task" -_eit_ = "export-image-task" -_eit__ = "export_instance_task" -_eit___ = "export-instance-task" -_fl = "fleet" -_fi = "fpga_image" -_fi_ = "fpga-image" -_hr = "host_reservation" -_hr_ = "host-reservation" -_im = "image" -_iur = "image_usage_report" -_iur_ = "image-usage-report" -_iit = "import_image_task" -_iit_ = "import-image-task" -_ist = "import_snapshot_task" -_ist_ = "import-snapshot-task" -_ins = "instance" -_iew = "instance_event_window" -_iew_ = "instance-event-window" -_ig = "internet_gateway" -_ig_ = "internet-gateway" -_ip = "ipam" -_ip_ = "ipam_pool" -_ip__ = "ipam-pool" -_is = "ipam_scope" -_is_ = "ipam-scope" -_ie = "ipv4pool_ec2" -_ie_ = "ipv4pool-ec2" -_ie__ = "ipv6pool_ec2" -_ie___ = "ipv6pool-ec2" -_kp = "key_pair" -_kp_ = "key-pair" -_lt = "launch_template" -_lt_ = "launch-template" -_lg = "local_gateway" -_lg_ = "local-gateway" -_lgrt = "local_gateway_route_table" -_lgrt_ = "local-gateway-route-table" -_lgvi = "local_gateway_virtual_interface" -_lgvi_ = "local-gateway-virtual-interface" -_lgvig = "local_gateway_virtual_interface_group" -_lgvig_ = "local-gateway-virtual-interface-group" -_lgrtva = "local_gateway_route_table_vpc_association" -_lgrtva_ = "local-gateway-route-table-vpc-association" -_lgrtviga = "local_gateway_route_table_virtual_interface_group_association" -_lgrtviga_ = "local-gateway-route-table-virtual-interface-group-association" -_na = "natgateway" -_na_ = "network_acl" -_na__ = "network-acl" -_ni = "network_interface" -_ni_ = "network-interface" -_nia = "network_insights_analysis" -_nia_ = "network-insights-analysis" -_nip = "network_insights_path" -_nip_ = "network-insights-path" -_nias = "network_insights_access_scope" -_nias_ = "network-insights-access-scope" -_niasa = "network_insights_access_scope_analysis" -_niasa_ = "network-insights-access-scope-analysis" -_ol = "outpost_lag" -_ol_ = "outpost-lag" -_pg = "placement_group" -_pg_ = "placement-group" -_pl = "prefix_list" -_pl_ = "prefix-list" -_rrvt = "replace_root_volume_task" -_rrvt_ = "replace-root-volume-task" -_ri = "reserved_instances" -_ri_ = "reserved-instances" -_rt = "route_table" -_rt_ = "route-table" -_sg = "security_group" -_sg_ = "security-group" -_sgr = "security_group_rule" -_sgr_ = "security-group-rule" -_slvi = "service_link_virtual_interface" -_slvi_ = "service-link-virtual-interface" -_s = "snapshot" -_sfr = "spot_fleet_request" -_sfr_ = "spot-fleet-request" -_sir = "spot_instances_request" -_sir_ = "spot-instances-request" -_su = "subnet" -_scr = "subnet_cidr_reservation" -_scr_ = "subnet-cidr-reservation" -_tmf = "traffic_mirror_filter" -_tmf_ = "traffic-mirror-filter" -_tms = "traffic_mirror_session" -_tms_ = "traffic-mirror-session" -_tmt = "traffic_mirror_target" -_tmt_ = "traffic-mirror-target" -_tg_ = "transit_gateway" -_tg__ = "transit-gateway" -_tga = "transit_gateway_attachment" -_tga_ = "transit-gateway-attachment" -_tgcp = "transit_gateway_connect_peer" -_tgcp_ = "transit-gateway-connect-peer" -_tgmd = "transit_gateway_multicast_domain" -_tgmd_ = "transit-gateway-multicast-domain" -_tgpt = "transit_gateway_policy_table" -_tgpt_ = "transit-gateway-policy-table" -_tgmp = "transit_gateway_metering_policy" -_tgmp_ = "transit-gateway-metering-policy" -_tgrt = "transit_gateway_route_table" -_tgrt_ = "transit-gateway-route-table" -_tgrta = "transit_gateway_route_table_announcement" -_tgrta_ = "transit-gateway-route-table-announcement" -_vo = "volume" -_vp = "vpc" -_ve = "vpc_endpoint" -_ve_ = "vpc-endpoint" -_vec = "vpc_endpoint_connection" -_vec_ = "vpc-endpoint-connection" -_ves = "vpc_endpoint_service" -_ves_ = "vpc-endpoint-service" -_vesp = "vpc_endpoint_service_permission" -_vesp_ = "vpc-endpoint-service-permission" -_vpc = "vpc_peering_connection" -_vpc_ = "vpc-peering-connection" -_vc = "vpn_connection" -_vc_ = "vpn-connection" -_vg = "vpn_gateway" -_vg_ = "vpn-gateway" -_vfl = "vpc_flow_log" -_vfl_ = "vpc-flow-log" -_crf = "capacity_reservation_fleet" -_crf_ = "capacity-reservation-fleet" -_tmfr = "traffic_mirror_filter_rule" -_tmfr_ = "traffic-mirror-filter-rule" -_vecdt = "vpc_endpoint_connection_device_type" -_vecdt_ = "vpc-endpoint-connection-device-type" -_vai = "verified_access_instance" -_vai_ = "verified-access-instance" -_vag = "verified_access_group" -_vag_ = "verified-access-group" -_vae = "verified_access_endpoint" -_vae_ = "verified-access-endpoint" -_vap = "verified_access_policy" -_vap_ = "verified-access-policy" -_vatp = "verified_access_trust_provider" -_vatp_ = "verified-access-trust-provider" -_vcdt = "vpn_connection_device_type" -_vcdt_ = "vpn-connection-device-type" -_vbpae = "vpc_block_public_access_exclusion" -_vbpae_ = "vpc-block-public-access-exclusion" -_vec__ = "vpc_encryption_control" -_vec___ = "vpc-encryption-control" -_rs = "route_server" -_rs_ = "route-server" -_rse = "route_server_endpoint" -_rse_ = "route-server-endpoint" -_rsp = "route_server_peer" -_rsp_ = "route-server-peer" -_ird = "ipam_resource_discovery" -_ird_ = "ipam-resource-discovery" -_irda = "ipam_resource_discovery_association" -_irda_ = "ipam-resource-discovery-association" -_ice = "instance_connect_endpoint" -_ice_ = "instance-connect-endpoint" -_vaet = "verified_access_endpoint_target" -_vaet_ = "verified-access-endpoint-target" -_iervt = "ipam_external_resource_verification_token" -_iervt_ = "ipam-external-resource-verification-token" -_cb = "capacity_block" -_cb_ = "capacity-block" -_mmt = "mac_modification_task" -_mmt_ = "mac-modification-task" -_iplr = "ipam_prefix_list_resolver" -_iplr_ = "ipam-prefix-list-resolver" -_ip___ = "ipam_policy" -_ip____ = "ipam-policy" -_iplrt = "ipam_prefix_list_resolver_target" -_iplrt_ = "ipam-prefix-list-resolver-target" -_iira = "ipam_internet_registry_association" -_iira_ = "ipam-internet-registry-association" -_si = "secondary_interface" -_si_ = "secondary-interface" -_sn = "secondary_network" -_sn_ = "secondary-network" -_ss = "secondary_subnet" -_ss_ = "secondary-subnet" -_cmde = "capacity_manager_data_export" -_cmde_ = "capacity-manager-data-export" -_vc__ = "vpn_concentrator" -_vc___ = "vpn-concentrator" -_ipa = "ipam_pool_allocation" -_ipa_ = "ipam-pool-allocation" -_crcq = "capacity_reservation_cancellation_quote" -_crcq_ = "capacity-reservation-cancellation-quote" -_asc = "application_status_check" -_asc_ = "application-status-check" -_crmq = "capacity_reservation_modification_quote" -_crmq_ = "capacity-reservation-modification-quote" -_Ta = "Tag" -_Ke = "Key" -_ke = "key" -_Va = "Value" -_va = "value" -_TL = "TagList" -_TS = "TagSpecification" -_rT = "resourceType" -_Tag = "Tags" -_TSL = "TagSpecificationList" -_AATI = "AcceptAddressTransferInput" -_sSI = "smithy.synthetic#originalShapeId" -_cAATR = "com.amazonaws.ec2#AcceptAddressTransferRequest" -_sm = "smithy.api#input" -_Ad = "Address" -_smi = "smithy.api#required" -_TSa = "TagSpecifications" -_DR = "DryRun" -_ATSd = "AddressTransferStatus" -_p = "pending" -_d = "disabled" -_ac = "accepted" -_MDT = "MillisecondDateTime" -_ATd = "AddressTransfer" -_PI = "PublicIp" -_pI = "publicIp" -_AI = "AllocationId" -_aI = "allocationId" -_TAI = "TransferAccountId" -_tAI = "transferAccountId" -_TOET = "TransferOfferExpirationTimestamp" -_tOET = "transferOfferExpirationTimestamp" -_TOAT = "TransferOfferAcceptedTimestamp" -_tOAT = "transferOfferAcceptedTimestamp" -_aTS = "addressTransferStatus" -_AATO = "AcceptAddressTransferOutput" -_cAATRo = "com.amazonaws.ec2#AcceptAddressTransferResult" -_smit = "smithy.api#output" -_aT = "addressTransfer" -_AAT = "AcceptAddressTransfer" -_CRI = "CapacityReservationId" -_ACRBOI = "AcceptCapacityReservationBillingOwnershipInput" -_cACRBOR = "com.amazonaws.ec2#AcceptCapacityReservationBillingOwnershipRequest" -_ACRBOO = "AcceptCapacityReservationBillingOwnershipOutput" -_cACRBORo = "com.amazonaws.ec2#AcceptCapacityReservationBillingOwnershipResult" -_R = "Return" -_r = "return" -_ACRBO = "AcceptCapacityReservationBillingOwnership" -_RI = "ReservationId" -_RIIS = "ReservedInstanceIdSet" -_RII = "ReservedInstanceId" -_RIOI = "ReservedInstancesOfferingId" -_TCR = "TargetConfigurationRequest" -_IC = "InstanceCount" -_OI = "OfferingId" -_TCRS = "TargetConfigurationRequestSet" -_ARIEQI = "AcceptReservedInstancesExchangeQuoteInput" -_cARIEQR = "com.amazonaws.ec2#AcceptReservedInstancesExchangeQuoteRequest" -_RIIe = "ReservedInstanceIds" -_TC = "TargetConfigurations" -_TCa = "TargetConfiguration" -_ARIEQO = "AcceptReservedInstancesExchangeQuoteOutput" -_cARIEQRo = "com.amazonaws.ec2#AcceptReservedInstancesExchangeQuoteResult" -_EI = "ExchangeId" -_eI = "exchangeId" -_ARIEQ = "AcceptReservedInstancesExchangeQuote" -_TGAI = "TransitGatewayAttachmentId" -_ATGCVAI = "AcceptTransitGatewayClientVpnAttachmentInput" -_cATGCVAR = "com.amazonaws.ec2#AcceptTransitGatewayClientVpnAttachmentRequest" -_CVEI = "ClientVpnEndpointId" -_TGAST = "TransitGatewayAttachmentStatusType" -_pa = "pending_acceptance" -_pa_ = "pending-acceptance" -_re = "rejected" -_av = "available" -_de = "deleting" -_del = "deleted" -_TGI = "TransitGatewayId" -_TGCVA = "TransitGatewayClientVpnAttachment" -_tGAI = "transitGatewayAttachmentId" -_tGI = "transitGatewayId" -_cVEI = "clientVpnEndpointId" -_CVOI = "ClientVpnOwnerId" -_cVOI = "clientVpnOwnerId" -_St = "State" -_st = "state" -_CT = "CreationTime" -_cT = "creationTime" -_ATGCVAO = "AcceptTransitGatewayClientVpnAttachmentOutput" -_cATGCVARo = "com.amazonaws.ec2#AcceptTransitGatewayClientVpnAttachmentResult" -_tGCVA = "transitGatewayClientVpnAttachment" -_ATGCVA = "AcceptTransitGatewayClientVpnAttachment" -_VSL = "ValueStringList" -_TGMDI = "TransitGatewayMulticastDomainId" -_ATGMDAI = "AcceptTransitGatewayMulticastDomainAssociationsInput" -_cATGMDAR = "com.amazonaws.ec2#AcceptTransitGatewayMulticastDomainAssociationsRequest" -_SI = "SubnetIds" -_TGART = "TransitGatewayAttachmentResourceType" -_vpn = "vpn" -_dcg = "direct_connect_gateway" -_dcg_ = "direct-connect-gateway" -_c = "connect" -_pe = "peering" -_tp = "tgw_peering" -_tp_ = "tgw-peering" -_nf = "network_function" -_nf_ = "network-function" -_cv = "client_vpn" -_cv_ = "client-vpn" -_TGMDAS = "TransitGatewayMulitcastDomainAssociationState" -_pA = "pendingAcceptance" -_as = "associating" -_ass = "associated" -_di = "disassociating" -_dis = "disassociated" -_fa = "failed" -_SA = "SubnetAssociation" -_SIu = "SubnetId" -_sI = "subnetId" -_SAL = "SubnetAssociationList" -_TGMDA = "TransitGatewayMulticastDomainAssociations" -_tGMDI = "transitGatewayMulticastDomainId" -_RIe = "ResourceId" -_rI = "resourceId" -_ROI = "ResourceOwnerId" -_rOI = "resourceOwnerId" -_Su = "Subnets" -_sub = "subnets" -_ATGMDAO = "AcceptTransitGatewayMulticastDomainAssociationsOutput" -_cATGMDARo = "com.amazonaws.ec2#AcceptTransitGatewayMulticastDomainAssociationsResult" -_As = "Associations" -_asso = "associations" -_ATGMDA = "AcceptTransitGatewayMulticastDomainAssociations" -_ATGPAI = "AcceptTransitGatewayPeeringAttachmentInput" -_cATGPAR = "com.amazonaws.ec2#AcceptTransitGatewayPeeringAttachmentRequest" -_PTI = "PeeringTgwInfo" -_CNI = "CoreNetworkId" -_cNI = "coreNetworkId" -_OIw = "OwnerId" -_oI = "ownerId" -_Re = "Region" -_reg = "region" -_DT = "DateTime" -_DRV = "DynamicRoutingValue" -_e = "enable" -_disa = "disable" -_TGPAO = "TransitGatewayPeeringAttachmentOptions" -_DRy = "DynamicRouting" -_dR = "dynamicRouting" -_TGAS = "TransitGatewayAttachmentState" -_ini = "initiating" -_iR = "initiatingRequest" -_rB = "rollingBack" -_mo = "modifying" -_rej = "rejecting" -_fai = "failing" -_PAS = "PeeringAttachmentStatus" -_C = "Code" -_co = "code" -_Me = "Message" -_mes = "message" -_TGPA = "TransitGatewayPeeringAttachment" -_ATGAI = "AccepterTransitGatewayAttachmentId" -_aTGAI = "accepterTransitGatewayAttachmentId" -_RTI = "RequesterTgwInfo" -_rTI = "requesterTgwInfo" -_ATI = "AccepterTgwInfo" -_aTI = "accepterTgwInfo" -_O = "Options" -_o = "options" -_Sta = "Status" -_sta = "status" -_TSag = "TagSet" -_tS = "tagSet" -_ATGPAO = "AcceptTransitGatewayPeeringAttachmentOutput" -_cATGPARo = "com.amazonaws.ec2#AcceptTransitGatewayPeeringAttachmentResult" -_tGPA = "transitGatewayPeeringAttachment" -_ATGPA = "AcceptTransitGatewayPeeringAttachment" -_ATGVAI = "AcceptTransitGatewayVpcAttachmentInput" -_cATGVAR = "com.amazonaws.ec2#AcceptTransitGatewayVpcAttachmentRequest" -_AMSV = "ApplianceModeSupportValue" -_DSV = "DnsSupportValue" -_ISV = "Ipv6SupportValue" -_SGRSV = "SecurityGroupReferencingSupportValue" -_TGVAO = "TransitGatewayVpcAttachmentOptions" -_DS = "DnsSupport" -_dS = "dnsSupport" -_SGRS = "SecurityGroupReferencingSupport" -_sGRS = "securityGroupReferencingSupport" -_IS = "Ipv6Support" -_iS = "ipv6Support" -_AMSp = "ApplianceModeSupport" -_aMS = "applianceModeSupport" -_TGVA = "TransitGatewayVpcAttachment" -_VI = "VpcId" -_vI = "vpcId" -_VOI = "VpcOwnerId" -_vOI = "vpcOwnerId" -_sIu = "subnetIds" -_ATGVAO = "AcceptTransitGatewayVpcAttachmentOutput" -_cATGVARo = "com.amazonaws.ec2#AcceptTransitGatewayVpcAttachmentResult" -_tGVA = "transitGatewayVpcAttachment" -_ATGVA = "AcceptTransitGatewayVpcAttachment" -_VESI = "VpcEndpointServiceId" -_VEI = "VpcEndpointId" -_VEIL = "VpcEndpointIdList" -_AVECI = "AcceptVpcEndpointConnectionsInput" -_cAVECR = "com.amazonaws.ec2#AcceptVpcEndpointConnectionsRequest" -_SIe = "ServiceId" -_VEIp = "VpcEndpointIds" -_UIE = "UnsuccessfulItemError" -_UI = "UnsuccessfulItem" -_E = "Error" -_er = "error" -_UIS = "UnsuccessfulItemSet" -_AVECO = "AcceptVpcEndpointConnectionsOutput" -_cAVECRo = "com.amazonaws.ec2#AcceptVpcEndpointConnectionsResult" -_Un = "Unsuccessful" -_un = "unsuccessful" -_AVEC = "AcceptVpcEndpointConnections" -_VPCIWR = "VpcPeeringConnectionIdWithResolver" -_AVPCI = "AcceptVpcPeeringConnectionInput" -_cAVPCR = "com.amazonaws.ec2#AcceptVpcPeeringConnectionRequest" -_dRr = "dryRun" -_VPCI = "VpcPeeringConnectionId" -_vPCI = "vpcPeeringConnectionId" -_CB = "CidrBlock" -_cB = "cidrBlock" -_CBS = "CidrBlockSet" -_ICB = "Ipv6CidrBlock" -_iCB = "ipv6CidrBlock" -_ICBS = "Ipv6CidrBlockSet" -_VPCOD = "VpcPeeringConnectionOptionsDescription" -_ADRFRV = "AllowDnsResolutionFromRemoteVpc" -_aDRFRV = "allowDnsResolutionFromRemoteVpc" -_AEFLCLTRV = "AllowEgressFromLocalClassicLinkToRemoteVpc" -_aEFLCLTRV = "allowEgressFromLocalClassicLinkToRemoteVpc" -_AEFLVTRCL = "AllowEgressFromLocalVpcToRemoteClassicLink" -_aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink" -_VPCVI = "VpcPeeringConnectionVpcInfo" -_iCBS = "ipv6CidrBlockSet" -_cBS = "cidrBlockSet" -_PO = "PeeringOptions" -_pO = "peeringOptions" -_VPCSRC = "VpcPeeringConnectionStateReasonCode" -_ir = "initiating_request" -_ir_ = "initiating-request" -_act = "active" -_ex = "expired" -_pr = "provisioning" -_VPCSR = "VpcPeeringConnectionStateReason" -_VPC = "VpcPeeringConnection" -_AVI = "AccepterVpcInfo" -_aVI = "accepterVpcInfo" -_ET = "ExpirationTime" -_eT = "expirationTime" -_RVI = "RequesterVpcInfo" -_rVI = "requesterVpcInfo" -_AVPCO = "AcceptVpcPeeringConnectionOutput" -_cAVPCRo = "com.amazonaws.ec2#AcceptVpcPeeringConnectionResult" -_vPC = "vpcPeeringConnection" -_AVPC = "AcceptVpcPeeringConnection" -_PR = "PortRange" -_F = "From" -_fr = "from" -_To = "To" -_to = "to" -_AAR = "AnalysisAclRule" -_Ci = "Cidr" -_ci = "cidr" -_Eg = "Egress" -_egr = "egress" -_pR = "portRange" -_P = "Protocol" -_pro = "protocol" -_RA = "RuleAction" -_rA = "ruleAction" -_RN = "RuleNumber" -_rN = "ruleNumber" -_ACn = "AnalysisComponent" -_Id = "Id" -_id = "id" -_Ar = "Arn" -_ar = "arn" -_N = "Name" -_nam = "name" -_ACL = "AnalysisComponentList" -_RAe = "ResourceArn" -_SL = "StringList" -_RO = "RuleOption" -_Key = "Keyword" -_key = "keyword" -_Se = "Settings" -_SS = "SettingSet" -_sS = "settingSet" -_ROL = "RuleOptionList" -_RGROP = "RuleGroupRuleOptionsPair" -_RGA = "RuleGroupArn" -_rGA = "ruleGroupArn" -_ROu = "RuleOptions" -_ROS = "RuleOptionSet" -_rOS = "ruleOptionSet" -_RGROPL = "RuleGroupRuleOptionsPairList" -_RGTP = "RuleGroupTypePair" -_RGT = "RuleGroupType" -_rGT = "ruleGroupType" -_RGTPL = "RuleGroupTypePairList" -_AD = "AdditionalDetail" -_ADT = "AdditionalDetailType" -_aDT = "additionalDetailType" -_Co = "Component" -_com = "component" -_VES = "VpcEndpointService" -_vES = "vpcEndpointService" -_RGTPu = "RuleGroupTypePairs" -_RGTPS = "RuleGroupTypePairSet" -_rGTPS = "ruleGroupTypePairSet" -_RGROPu = "RuleGroupRuleOptionsPairs" -_RGROPS = "RuleGroupRuleOptionsPairSet" -_rGROPS = "ruleGroupRuleOptionsPairSet" -_SN = "ServiceName" -_sNe = "serviceName" -_LB = "LoadBalancers" -_LBS = "LoadBalancerSet" -_lBS = "loadBalancerSet" -_ADL = "AdditionalDetailList" -_IA = "IpAddress" -_IAL = "IpAddressList" -_Po = "Port" -_ALBL = "AnalysisLoadBalancerListener" -_LBP = "LoadBalancerPort" -_lBP = "loadBalancerPort" -_IP = "InstancePort" -_iP = "instancePort" -_CA = "ComponentAccount" -_CR = "ComponentRegion" -_PRL = "PortRangeList" -_FSR = "FirewallStatefulRule" -_So = "Sources" -_SSo = "SourceSet" -_sSo = "sourceSet" -_D = "Destinations" -_DSe = "DestinationSet" -_dSe = "destinationSet" -_SP = "SourcePorts" -_SPS = "SourcePortSet" -_sPS = "sourcePortSet" -_DP = "DestinationPorts" -_DPS = "DestinationPortSet" -_dPS = "destinationPortSet" -_Di = "Direction" -_dir = "direction" -_Pr = "Priority" -_PIr = "ProtocolInt" -_PIL = "ProtocolIntList" -_FSRi = "FirewallStatelessRule" -_Pro = "Protocols" -_PS = "ProtocolSet" -_pS = "protocolSet" -_pri = "priority" -_ALBT = "AnalysisLoadBalancerTarget" -_ad = "address" -_AZ = "AvailabilityZone" -_aZ = "availabilityZone" -_AZI = "AvailabilityZoneId" -_aZI = "availabilityZoneId" -_In = "Instance" -_po = "port" -_ARTR = "AnalysisRouteTableRoute" -_DC = "DestinationCidr" -_dC = "destinationCidr" -_DPLI = "DestinationPrefixListId" -_dPLI = "destinationPrefixListId" -_EOIGI = "EgressOnlyInternetGatewayId" -_eOIGI = "egressOnlyInternetGatewayId" -_GI = "GatewayId" -_gI = "gatewayId" -_II = "InstanceId" -_iI = "instanceId" -_NGI = "NatGatewayId" -_nGI = "natGatewayId" -_NII = "NetworkInterfaceId" -_nII = "networkInterfaceId" -_Or = "Origin" -_or = "origin" -_CGI = "CarrierGatewayId" -_cGI = "carrierGatewayId" -_CNA = "CoreNetworkArn" -_cNA = "coreNetworkArn" -_LGI = "LocalGatewayId" -_lGI = "localGatewayId" -_ASGR = "AnalysisSecurityGroupRule" -_SGI = "SecurityGroupId" -_sGI = "securityGroupId" -_PLI = "PrefixListId" -_pLI = "prefixListId" -_ATGPTE = "AnalysisTransitGatewayPolicyTableEntry" -_SC = "SourceCidr" -_sC = "sourceCidr" -_SPR = "SourcePortRange" -_sPR = "sourcePortRange" -_DPR = "DestinationPortRange" -_dPR = "destinationPortRange" -_TRTI = "TargetRouteTableId" -_tRTI = "targetRouteTableId" -_TGRTR = "TransitGatewayRouteTableRoute" -_ROo = "RouteOrigin" -_rO = "routeOrigin" -_AIt = "AttachmentId" -_aIt = "attachmentId" -_Ex = "Explanation" -_Ac = "Acl" -_acl = "acl" -_AR = "AclRule" -_aR = "aclRule" -_Add = "Addresses" -_AS = "AddressSet" -_aS = "addressSet" -_ATt = "AttachedTo" -_aTt = "attachedTo" -_AZv = "AvailabilityZones" -_AZS = "AvailabilityZoneSet" -_aZS = "availabilityZoneSet" -_AZIv = "AvailabilityZoneIds" -_AZIS = "AvailabilityZoneIdSet" -_aZIS = "availabilityZoneIdSet" -_Cid = "Cidrs" -_CS = "CidrSet" -_cS = "cidrSet" -_CG = "CustomerGateway" -_cG = "customerGateway" -_De = "Destination" -_des = "destination" -_DV = "DestinationVpc" -_dV = "destinationVpc" -_EC = "ExplanationCode" -_eC = "explanationCode" -_IRT = "IngressRouteTable" -_iRT = "ingressRouteTable" -_IG = "InternetGateway" -_iG = "internetGateway" -_LBA = "LoadBalancerArn" -_lBA = "loadBalancerArn" -_CLBL = "ClassicLoadBalancerListener" -_cLBL = "classicLoadBalancerListener" -_LBLP = "LoadBalancerListenerPort" -_lBLP = "loadBalancerListenerPort" -_LBT = "LoadBalancerTarget" -_lBT = "loadBalancerTarget" -_LBTG = "LoadBalancerTargetGroup" -_lBTG = "loadBalancerTargetGroup" -_LBTGo = "LoadBalancerTargetGroups" -_LBTGS = "LoadBalancerTargetGroupSet" -_lBTGS = "loadBalancerTargetGroupSet" -_LBTP = "LoadBalancerTargetPort" -_lBTP = "loadBalancerTargetPort" -_ELBL = "ElasticLoadBalancerListener" -_eLBL = "elasticLoadBalancerListener" -_MC = "MissingComponent" -_mC = "missingComponent" -_NG = "NatGateway" -_nG = "natGateway" -_NI = "NetworkInterface" -_nI = "networkInterface" -_PF = "PacketField" -_pF = "packetField" -_PRo = "PortRanges" -_PRS = "PortRangeSet" -_pRS = "portRangeSet" -_PL = "PrefixList" -_pL = "prefixList" -_RTR = "RouteTableRoute" -_rTR = "routeTableRoute" -_RTo = "RouteTable" -_rTo = "routeTable" -_SG = "SecurityGroup" -_sG = "securityGroup" -_SGR = "SecurityGroupRule" -_sGR = "securityGroupRule" -_SGe = "SecurityGroups" -_SGS = "SecurityGroupSet" -_sGS = "securityGroupSet" -_SV = "SourceVpc" -_sVo = "sourceVpc" -_Sub = "Subnet" -_SRT = "SubnetRouteTable" -_sRT = "subnetRouteTable" -_Vp = "Vpc" -_VE = "VpcEndpoint" -_vE = "vpcEndpoint" -_VC = "VpnConnection" -_vC = "vpnConnection" -_VG = "VpnGateway" -_vG = "vpnGateway" -_TGr = "TransitGateway" -_tG = "transitGateway" -_TGRT = "TransitGatewayRouteTable" -_tGRT = "transitGatewayRouteTable" -_tGRTR = "transitGatewayRouteTableRoute" -_TGPT = "TransitGatewayPolicyTable" -_tGPT = "transitGatewayPolicyTable" -_TGPTE = "TransitGatewayPolicyTableEntry" -_tGPTE = "transitGatewayPolicyTableEntry" -_TGA = "TransitGatewayAttachment" -_tGA = "transitGatewayAttachment" -_cA = "componentAccount" -_cR = "componentRegion" -_fSR = "firewallStatelessRule" -_fSRi = "firewallStatefulRule" -_EL = "ExplanationList" -_APH = "AnalysisPacketHeader" -_DA = "DestinationAddresses" -_DAS = "DestinationAddressSet" -_dAS = "destinationAddressSet" -_DPRe = "DestinationPortRanges" -_DPRS = "DestinationPortRangeSet" -_dPRS = "destinationPortRangeSet" -_SAo = "SourceAddresses" -_SAS = "SourceAddressSet" -_sAS = "sourceAddressSet" -_SPRo = "SourcePortRanges" -_SPRS = "SourcePortRangeSet" -_sPRS = "sourcePortRangeSet" -_PC = "PathComponent" -_SNe = "SequenceNumber" -_sNeq = "sequenceNumber" -_OH = "OutboundHeader" -_oH = "outboundHeader" -_IH = "InboundHeader" -_iH = "inboundHeader" -_ADd = "AdditionalDetails" -_ADS = "AdditionalDetailSet" -_aDS = "additionalDetailSet" -_Exp = "Explanations" -_ES = "ExplanationSet" -_eS = "explanationSet" -_PCL = "PathComponentList" -_NIASAI = "NetworkInsightsAccessScopeAnalysisId" -_NIASI = "NetworkInsightsAccessScopeId" -_ASAF = "AccessScopeAnalysisFinding" -_nIASAI = "networkInsightsAccessScopeAnalysisId" -_nIASI = "networkInsightsAccessScopeId" -_FI = "FindingId" -_fI = "findingId" -_FC = "FindingComponents" -_FCS = "FindingComponentSet" -_fCS = "findingComponentSet" -_ASAFL = "AccessScopeAnalysisFindingList" -_tc = "tcp" -_ud = "udp" -_PLr = "ProtocolList" -_PHS = "PacketHeaderStatement" -_SPL = "SourcePrefixLists" -_SPLS = "SourcePrefixListSet" -_sPLS = "sourcePrefixListSet" -_DPL = "DestinationPrefixLists" -_DPLS = "DestinationPrefixListSet" -_dPLS = "destinationPrefixListSet" -_RS = "ResourceStatement" -_Res = "Resources" -_RSe = "ResourceSet" -_rS = "resourceSet" -_RTe = "ResourceTypes" -_RTS = "ResourceTypeSet" -_rTS = "resourceTypeSet" -_PSa = "PathStatement" -_pHS = "packetHeaderStatement" -_rSe = "resourceStatement" -_TRS = "ThroughResourcesStatement" -_TRSL = "ThroughResourcesStatementList" -_ASP = "AccessScopePath" -_Sou = "Source" -_so = "source" -_TR = "ThroughResources" -_TRSh = "ThroughResourceSet" -_tRS = "throughResourceSet" -_ASPL = "AccessScopePathList" -_PHSR = "PacketHeaderStatementRequest" -_SAou = "SourceAddress" -_DAe = "DestinationAddress" -_SPo = "SourcePort" -_DPe = "DestinationPort" -_SPLo = "SourcePrefixList" -_DPLe = "DestinationPrefixList" -_RSR = "ResourceStatementRequest" -_Reso = "Resource" -_PSR = "PathStatementRequest" -_TRSR = "ThroughResourcesStatementRequest" -_TRSRL = "ThroughResourcesStatementRequestList" -_ASPR = "AccessScopePathRequest" -_TRh = "ThroughResource" -_ASPLR = "AccessScopePathListRequest" -_AAV = "AccountAttributeValue" -_AV = "AttributeValue" -_aV = "attributeValue" -_AAVL = "AccountAttributeValueList" -_AA = "AccountAttribute" -_ANt = "AttributeName" -_aN = "attributeName" -_AVt = "AttributeValues" -_AVS = "AttributeValueSet" -_aVS = "attributeValueSet" -_AAL = "AccountAttributeList" -_AAN = "AccountAttributeName" -_sp = "supported_platforms" -_sp_ = "supported-platforms" -_dv = "default_vpc" -_dv_ = "default-vpc" -_AANSL = "AccountAttributeNameStringList" -_AID = "AccountID" -_VECES = "VpcEncryptionControlExclusionState" -_en = "enabling" -_ena = "enabled" -_disab = "disabling" -_AVECE = "AccountVpcEncryptionControlExclusions" -_EOIG = "EgressOnlyInternetGateway" -_eOIG = "egressOnlyInternetGateway" -_VPG = "VirtualPrivateGateway" -_vPG = "virtualPrivateGateway" -_VP = "VpcPeering" -_vP = "vpcPeering" -_La = "Lambda" -_la = "lambda" -_VL = "VpcLattice" -_vL = "vpcLattice" -_EFS = "ElasticFileSystem" -_eFS = "elasticFileSystem" -_MB = "ManagedBy" -_acc = "account" -_dp = "declarative_policy" -_dp_ = "declarative-policy" -_AVECM = "AccountVpcEncryptionControlMode" -_unm = "unmanaged" -_am = "attempt_monitor" -_am_ = "attempt-monitor" -_ae = "attempt_enforce" -_ae_ = "attempt-enforce" -_AVECS = "AccountVpcEncryptionControlState" -_ds = "default_state" -_ds_ = "default-state" -_tip = "transitions_in_progress" -_tip_ = "transitions-in-progress" -_tps = "transitions_partially_successful" -_tps_ = "transitions-partially-successful" -_ts = "transitions_successful" -_ts_ = "transitions-successful" -_tf = "transitions_failed" -_tf_ = "transitions-failed" -_AVECc = "AccountVpcEncryptionControl" -_Mo = "Mode" -_mod = "mode" -_Exc = "Exclusions" -_exc = "exclusions" -_mB = "managedBy" -_LUT = "LastUpdateTimestamp" -_lUT = "lastUpdateTimestamp" -_IHS = "InstanceHealthStatus" -_HS = "HEALTHY_STATUS" -_he = "healthy" -_US = "UNHEALTHY_STATUS" -_unh = "unhealthy" -_AIc = "ActiveInstance" -_IT = "InstanceType" -_iT = "instanceType" -_SIRI = "SpotInstanceRequestId" -_sIRI = "spotInstanceRequestId" -_IHn = "InstanceHealth" -_iHn = "instanceHealth" -_AIS = "ActiveInstanceSet" -_VTPS = "VpnTunnelProvisioningStatus" -_AVTS = "ActiveVpnTunnelStatus" -_PEA = "Phase1EncryptionAlgorithm" -_pEA = "phase1EncryptionAlgorithm" -_PEAh = "Phase2EncryptionAlgorithm" -_pEAh = "phase2EncryptionAlgorithm" -_PIA = "Phase1IntegrityAlgorithm" -_pIA = "phase1IntegrityAlgorithm" -_PIAh = "Phase2IntegrityAlgorithm" -_pIAh = "phase2IntegrityAlgorithm" -_PDHG = "Phase1DHGroup" -_pDHG = "phase1DHGroup" -_PDHGh = "Phase2DHGroup" -_pDHGh = "phase2DHGroup" -_IV = "IkeVersion" -_iV = "ikeVersion" -_PSr = "ProvisioningStatus" -_pSr = "provisioningStatus" -_PSRr = "ProvisioningStatusReason" -_pSR = "provisioningStatusReason" -_ASc = "ActivityStatus" -_ERROR = "ERROR" -_PF_ = "PENDING_FULFILLMENT" -_pf = "pending_fulfillment" -_PT = "PENDING_TERMINATION" -_pt = "pending_termination" -_FULFILLED = "FULFILLED" -_fu = "fulfilled" -_PTr = "PrincipalType" -_Al = "All" -_Ser = "Service" -_OU = "OrganizationUnit" -_Acc = "Account" -_Us = "User" -_Ro = "Role" -_AP = "AddedPrincipal" -_pT = "principalType" -_Pri = "Principal" -_prin = "principal" -_SPI = "ServicePermissionId" -_sPI = "servicePermissionId" -_sIe = "serviceId" -_APS = "AddedPrincipalSet" -_AIOR = "AddIpamOperatingRegion" -_RNe = "RegionName" -_AIORS = "AddIpamOperatingRegionSet" -_AIOUE = "AddIpamOrganizationalUnitExclusion" -_OEP = "OrganizationsEntityPath" -_AIOUES = "AddIpamOrganizationalUnitExclusionSet" -_AFNI = "AdditionalFlexibleNetworkInterfaces" -_APLE = "AddPrefixListEntry" -_Des = "Description" -_APLEd = "AddPrefixListEntries" -_DTo = "DomainType" -_stan = "standard" -_SM = "ServiceManaged" -_al = "alb" -_nl = "nlb" -_rn = "rnat" -_rd = "rds" -_AIs = "AssociationId" -_aIs = "associationId" -_Do = "Domain" -_dom = "domain" -_NIOI = "NetworkInterfaceOwnerId" -_nIOI = "networkInterfaceOwnerId" -_PIAr = "PrivateIpAddress" -_pIAr = "privateIpAddress" -_PIP = "PublicIpv4Pool" -_pIP = "publicIpv4Pool" -_NBG = "NetworkBorderGroup" -_nBG = "networkBorderGroup" -_COI = "CustomerOwnedIp" -_cOI = "customerOwnedIp" -_COIP = "CustomerOwnedIpv4Pool" -_cOIP = "customerOwnedIpv4Pool" -_CI = "CarrierIp" -_cI = "carrierIp" -_sM = "serviceManaged" -_PUS = "PtrUpdateStatus" -_Rea = "Reason" -_rea = "reason" -_PIAu = "PublicIpAddress" -_AAd = "AddressAttribute" -_PRt = "PtrRecord" -_pRt = "ptrRecord" -_PRU = "PtrRecordUpdate" -_pRU = "ptrRecordUpdate" -_AANd = "AddressAttributeName" -_dn = "domain_name" -_dn_ = "domain-name" -_AF = "AddressFamily" -_ipv = "ipv4" -_ipv_ = "ipv6" -_AL = "AddressList" -_AMR = "AddressMaxResults" -_ATL = "AddressTransferList" -_ABCI = "AdvertiseByoipCidrInput" -_cABCR = "com.amazonaws.ec2#AdvertiseByoipCidrRequest" -_Asn = "Asn" -_AAS = "AsnAssociationState" -_fd = "failed_disassociation" -_fd_ = "failed-disassociation" -_fa_ = "failed_association" -_fa__ = "failed-association" -_pd = "pending_disassociation" -_pd_ = "pending-disassociation" -_pa__ = "pending_association" -_pa___ = "pending-association" -_AAs = "AsnAssociation" -_asn = "asn" -_SMt = "StatusMessage" -_sMt = "statusMessage" -_AASs = "AsnAssociationSet" -_IPI = "IpamPoolId" -_BCS = "ByoipCidrState" -_adv = "advertised" -_dep = "deprovisioned" -_fd__ = "failed_deprovision" -_fd___ = "failed-deprovision" -_fp = "failed_provision" -_fp_ = "failed-provision" -_pa____ = "pending_advertising" -_pa_____ = "pending-advertising" -_pd__ = "pending_deprovision" -_pd___ = "pending-deprovision" -_pp = "pending_provision" -_pp_ = "pending-provision" -_pw = "pending_withdrawal" -_pw_ = "pending-withdrawal" -_prov = "provisioned" -_pnpa = "provisioned_not_publicly_advertisable" -_pnpa_ = "provisioned-not-publicly-advertisable" -_BC = "ByoipCidr" -_desc = "description" -_AAsn = "AsnAssociations" -_aAS = "asnAssociationSet" -_ATdv = "AdvertisementType" -_aTd = "advertisementType" -_PIo = "PoolId" -_pIo = "poolId" -_iPI = "ipamPoolId" -_ABCO = "AdvertiseByoipCidrOutput" -_cABCRo = "com.amazonaws.ec2#AdvertiseByoipCidrResult" -_bC = "byoipCidr" -_ABC = "AdvertiseByoipCidr" -_Af = "Affinity" -_def = "default" -_ho = "host" -_ASE = "AggregationStatusEnum" -_INCLUDED = "INCLUDED" -_inc = "included" -_EXCLUDED = "EXCLUDED" -_excl = "excluded" -_IPEI = "Ipv4PoolEc2Id" -_AAI = "AllocateAddressInput" -_cAAR = "com.amazonaws.ec2#AllocateAddressRequest" -_AAO = "AllocateAddressOutput" -_cAARo = "com.amazonaws.ec2#AllocateAddressResult" -_AAl = "AllocateAddress" -_AIss = "AssetId" -_AIL = "AssetIdList" -_APu = "AutoPlacement" -_on = "on" -_of = "off" -_AZN = "AvailabilityZoneName" -_ASS = "AmdSevSnp" -_HCOR = "HostCpuOptionsRequest" -_HM = "HostMaintenance" -_HR = "HostRecovery" -_AHI = "AllocateHostsInput" -_cAHR = "com.amazonaws.ec2#AllocateHostsRequest" -_IF = "InstanceFamily" -_OA = "OutpostArn" -_AIsse = "AssetIds" -_CO = "CpuOptions" -_aP = "autoPlacement" -_CTl = "ClientToken" -_cTl = "clientToken" -_Q = "Quantity" -_q = "quantity" -_RHIL = "ResponseHostIdList" -_AHO = "AllocateHostsOutput" -_cAHRo = "com.amazonaws.ec2#AllocateHostsResult" -_HI = "HostIds" -_HIS = "HostIdSet" -_hIS = "hostIdSet" -_AH = "AllocateHosts" -_IPAAC = "IpamPoolAllocationAllowedCidrs" -_IPADC = "IpamPoolAllocationDisallowedCidrs" -_AIPCI = "AllocateIpamPoolCidrInput" -_cAIPCR = "com.amazonaws.ec2#AllocateIpamPoolCidrRequest" -_NL = "NetmaskLength" -_sT = "smithy.api#idempotencyToken" -_PNC = "PreviewNextCidr" -_ACl = "AllowedCidrs" -_ACll = "AllowedCidr" -_DCi = "DisallowedCidrs" -_DCis = "DisallowedCidr" -_IPAI = "IpamPoolAllocationId" -_IPART = "IpamPoolAllocationResourceType" -_epip = "ec2_public_ipv4_pool" -_epip_ = "ec2-public-ipv4-pool" -_cu = "custom" -_eip = "eip" -_ail = "anycast_ip_list" -_ail_ = "anycast-ip-list" -_IPA = "IpamPoolAllocation" -_iPAI = "ipamPoolAllocationId" -_RR = "ResourceRegion" -_rR = "resourceRegion" -_ROe = "ResourceOwner" -_rOe = "resourceOwner" -_AIPCO = "AllocateIpamPoolCidrOutput" -_cAIPCRo = "com.amazonaws.ec2#AllocateIpamPoolCidrResult" -_iPA = "ipamPoolAllocation" -_AIPC = "AllocateIpamPoolCidr" -_AILl = "AllocationIdList" -_AIl = "AllocationIds" -_ASl = "AllocationState" -_ua = "under_assessment" -_ua_ = "under-assessment" -_pf_ = "permanent_failure" -_pf__ = "permanent-failure" -_rel = "released" -_rpf = "released_permanent_failure" -_rpf_ = "released-permanent-failure" -_con = "configuring" -_ASll = "AllocationStrategy" -_LP = "LOWEST_PRICE" -_lP = "lowestPrice" -_DIVERSIFIED = "DIVERSIFIED" -_div = "diversified" -_CO_ = "CAPACITY_OPTIMIZED" -_cO = "capacityOptimized" -_COP = "CAPACITY_OPTIMIZED_PRIORITIZED" -_cOP = "capacityOptimizedPrioritized" -_PCO = "PRICE_CAPACITY_OPTIMIZED" -_pCO = "priceCapacityOptimized" -_ATl = "AllocationType" -_us = "used" -_fut = "future" -_ca = "cancelling" -_AISDS = "AllowedImagesSettingsDisabledState" -_AISES = "AllowedImagesSettingsEnabledState" -_am__ = "audit_mode" -_am___ = "audit-mode" -_AIT = "AllowedInstanceType" -_AITS = "AllowedInstanceTypeSet" -_APl = "AllowedPrincipal" -_APSl = "AllowedPrincipalSet" -_AMIT = "AllowsMultipleInstanceTypes" -_APHl = "AlternatePathHint" -_CIo = "ComponentId" -_cIo = "componentId" -_CAo = "ComponentArn" -_cAo = "componentArn" -_APHL = "AlternatePathHintList" -_CVSGIS = "ClientVpnSecurityGroupIdSet" -_ASGTCVTNI = "ApplySecurityGroupsToClientVpnTargetNetworkInput" -_cASGTCVTNR = "com.amazonaws.ec2#ApplySecurityGroupsToClientVpnTargetNetworkRequest" -_SGIe = "SecurityGroupIds" -_ASGTCVTNO = "ApplySecurityGroupsToClientVpnTargetNetworkOutput" -_cASGTCVTNRo = "com.amazonaws.ec2#ApplySecurityGroupsToClientVpnTargetNetworkResult" -_sGIe = "securityGroupIds" -_ASGTCVTN = "ApplySecurityGroupsToClientVpnTargetNetwork" -_IALp = "Ipv6AddressList" -_IPL = "IpPrefixList" -_AIAI = "AssignIpv6AddressesInput" -_cAIAR = "com.amazonaws.ec2#AssignIpv6AddressesRequest" -_IPC = "Ipv6PrefixCount" -_IPp = "Ipv6Prefixes" -_IPpv = "Ipv6Prefix" -_IAp = "Ipv6Addresses" -_iA = "ipv6Addresses" -_IAC = "Ipv6AddressCount" -_iAC = "ipv6AddressCount" -_AIAO = "AssignIpv6AddressesOutput" -_cAIARo = "com.amazonaws.ec2#AssignIpv6AddressesResult" -_AIA = "AssignedIpv6Addresses" -_aIA = "assignedIpv6Addresses" -_AIP = "AssignedIpv6Prefixes" -_AIPS = "AssignedIpv6PrefixSet" -_aIPS = "assignedIpv6PrefixSet" -_AIAs = "AssignIpv6Addresses" -_PIASL = "PrivateIpAddressStringList" -_APIAI = "AssignPrivateIpAddressesInput" -_cAPIAR = "com.amazonaws.ec2#AssignPrivateIpAddressesRequest" -_IPpvr = "Ipv4Prefixes" -_IPpvre = "Ipv4Prefix" -_IPCp = "Ipv4PrefixCount" -_PIAri = "PrivateIpAddresses" -_SPIAC = "SecondaryPrivateIpAddressCount" -_sPIAC = "secondaryPrivateIpAddressCount" -_ARl = "AllowReassignment" -_aRl = "allowReassignment" -_IPS = "Ipv4PrefixSpecification" -_iPp = "ipv4Prefix" -_IPLp = "Ipv4PrefixesList" -_APIA = "AssignedPrivateIpAddress" -_APIAL = "AssignedPrivateIpAddressList" -_APIAO = "AssignPrivateIpAddressesOutput" -_cAPIARo = "com.amazonaws.ec2#AssignPrivateIpAddressesResult" -_APIAs = "AssignedPrivateIpAddresses" -_APIAS = "AssignedPrivateIpAddressesSet" -_aPIAS = "assignedPrivateIpAddressesSet" -_AIPs = "AssignedIpv4Prefixes" -_AIPSs = "AssignedIpv4PrefixSet" -_aIPSs = "assignedIpv4PrefixSet" -_APIAss = "AssignPrivateIpAddresses" -_PIAC = "PrivateIpAddressCount" -_IL = "IpList" -_APNGAI = "AssignPrivateNatGatewayAddressInput" -_cAPNGAR = "com.amazonaws.ec2#AssignPrivateNatGatewayAddressRequest" -_NGAS = "NatGatewayAddressStatus" -_ASSIGNING = "ASSIGNING" -_assi = "assigning" -_UNASSIGNING = "UNASSIGNING" -_una = "unassigning" -_ASSOCIATING = "ASSOCIATING" -_DISASSOCIATING = "DISASSOCIATING" -_SUCCEEDED = "SUCCEEDED" -_suc = "succeeded" -_FAILED = "FAILED" -_NGA = "NatGatewayAddress" -_PIri = "PrivateIp" -_pIr = "privateIp" -_IPs = "IsPrimary" -_iPs = "isPrimary" -_FM = "FailureMessage" -_fM = "failureMessage" -_NGAL = "NatGatewayAddressList" -_APNGAO = "AssignPrivateNatGatewayAddressOutput" -_cAPNGARo = "com.amazonaws.ec2#AssignPrivateNatGatewayAddressResult" -_NGAa = "NatGatewayAddresses" -_NGASa = "NatGatewayAddressSet" -_nGAS = "natGatewayAddressSet" -_APNGA = "AssignPrivateNatGatewayAddress" -_EAPI = "EipAllocationPublicIp" -_AAIs = "AssociateAddressInput" -_cAARom = "com.amazonaws.ec2#AssociateAddressRequest" -_ARll = "AllowReassociation" -_aRll = "allowReassociation" -_AAOs = "AssociateAddressOutput" -_cAARoma = "com.amazonaws.ec2#AssociateAddressResult" -_AAss = "AssociateAddress" -_ASCI = "ApplicationStatusCheckId" -_IIL = "InstanceIdList" -_CTKVRP = "CustomTagKeyValueRequestPair" -_CKVPRS = "CustomKeyValuePairRequestSet" -_AASCI = "AssociateApplicationStatusCheckInput" -_cAASCR = "com.amazonaws.ec2#AssociateApplicationStatusCheckRequest" -_TTA = "TargetTagAssociations" -_TTAa = "TargetTagAssociation" -_IIn = "InstanceIds" -_SARO = "SuccessfulAssociationResponseObject" -_aSCI = "applicationStatusCheckId" -_ATs = "AssociationType" -_aTs = "associationType" -_AVs = "AssociationValue" -_aVs = "associationValue" -_SARS = "SuccessfulAssociationResponseSet" -_UARO = "UnsuccessfulAssociationResponseObject" -_UARS = "UnsuccessfulAssociationResponseSet" -_AASCO = "AssociateApplicationStatusCheckOutput" -_cAASCRo = "com.amazonaws.ec2#AssociateApplicationStatusCheckResult" -_SR = "SuccessfulResults" -_SRS = "SuccessfulResultSet" -_sRS = "successfulResultSet" -_UR = "UnsuccessfulResults" -_URS = "UnsuccessfulResultSet" -_uRS = "unsuccessfulResultSet" -_AASC = "AssociateApplicationStatusCheck" -_ACRBOIs = "AssociateCapacityReservationBillingOwnerInput" -_cACRBORom = "com.amazonaws.ec2#AssociateCapacityReservationBillingOwnerRequest" -_URBOI = "UnusedReservationBillingOwnerId" -_ACRBOOs = "AssociateCapacityReservationBillingOwnerOutput" -_cACRBORoma = "com.amazonaws.ec2#AssociateCapacityReservationBillingOwnerResult" -_ACRBOs = "AssociateCapacityReservationBillingOwner" -_ACVTNI = "AssociateClientVpnTargetNetworkInput" -_cACVTNR = "com.amazonaws.ec2#AssociateClientVpnTargetNetworkRequest" -_ASC = "AssociationStatusCode" -_af = "association_failed" -_af_ = "association-failed" -_ASs = "AssociationStatus" -_ACVTNO = "AssociateClientVpnTargetNetworkOutput" -_cACVTNRo = "com.amazonaws.ec2#AssociateClientVpnTargetNetworkResult" -_ACVTN = "AssociateClientVpnTargetNetwork" -_DDOI = "DefaultingDhcpOptionsId" -_ADOI = "AssociateDhcpOptionsInput" -_cADOR = "com.amazonaws.ec2#AssociateDhcpOptionsRequest" -_DOI = "DhcpOptionsId" -_ADOO = "AssociateDhcpOptionsOutput" -_sU = "smithy.api#Unit" -_ADO = "AssociateDhcpOptions" -_CIe = "CertificateId" -_RIo = "RoleId" -_AECIRI = "AssociateEnclaveCertificateIamRoleInput" -_cAECIRR = "com.amazonaws.ec2#AssociateEnclaveCertificateIamRoleRequest" -_CAe = "CertificateArn" -_RAo = "RoleArn" -_AECIRO = "AssociateEnclaveCertificateIamRoleOutput" -_cAECIRRo = "com.amazonaws.ec2#AssociateEnclaveCertificateIamRoleResult" -_CSBN = "CertificateS3BucketName" -_cSBN = "certificateS3BucketName" -_CSOK = "CertificateS3ObjectKey" -_cSOK = "certificateS3ObjectKey" -_EKKI = "EncryptionKmsKeyId" -_eKKI = "encryptionKmsKeyId" -_AECIR = "AssociateEnclaveCertificateIamRole" -_IIPS = "IamInstanceProfileSpecification" -_AIIPI = "AssociateIamInstanceProfileInput" -_cAIIPR = "com.amazonaws.ec2#AssociateIamInstanceProfileRequest" -_IIP = "IamInstanceProfile" -_IIPAS = "IamInstanceProfileAssociationState" -_ASSOCIATED = "ASSOCIATED" -_DISASSOCIATED = "DISASSOCIATED" -_IIPA = "IamInstanceProfileAssociation" -_iIP = "iamInstanceProfile" -_Ti = "Timestamp" -_ti = "timestamp" -_AIIPO = "AssociateIamInstanceProfileOutput" -_cAIIPRo = "com.amazonaws.ec2#AssociateIamInstanceProfileResult" -_iIPA = "iamInstanceProfileAssociation" -_AIIP = "AssociateIamInstanceProfile" -_DHI = "DedicatedHostId" -_DHIL = "DedicatedHostIdList" -_IEWAR = "InstanceEventWindowAssociationRequest" -_ITn = "InstanceTags" -_ITns = "InstanceTag" -_DHIe = "DedicatedHostIds" -_IEWI = "InstanceEventWindowId" -_AIEWI = "AssociateInstanceEventWindowInput" -_cAIEWR = "com.amazonaws.ec2#AssociateInstanceEventWindowRequest" -_ATss = "AssociationTarget" -_IEWAT = "InstanceEventWindowAssociationTarget" -_IIS = "InstanceIdSet" -_iIS = "instanceIdSet" -_DHIS = "DedicatedHostIdSet" -_dHIS = "dedicatedHostIdSet" -_IEWCE = "InstanceEventWindowCronExpression" -_IEWS = "InstanceEventWindowState" -_cre = "creating" -_Ho = "Hour" -_WD = "WeekDay" -_sun = "sunday" -_mon = "monday" -_tu = "tuesday" -_w = "wednesday" -_th = "thursday" -_fri = "friday" -_sa = "saturday" -_IEWTR = "InstanceEventWindowTimeRange" -_SWD = "StartWeekDay" -_sWD = "startWeekDay" -_SH = "StartHour" -_sH = "startHour" -_EWD = "EndWeekDay" -_eWD = "endWeekDay" -_EH = "EndHour" -_eH = "endHour" -_IEWTRL = "InstanceEventWindowTimeRangeList" -_IEW = "InstanceEventWindow" -_iEWI = "instanceEventWindowId" -_TRi = "TimeRanges" -_TRSi = "TimeRangeSet" -_tRSi = "timeRangeSet" -_CE = "CronExpression" -_cE = "cronExpression" -_aTss = "associationTarget" -_AIEWO = "AssociateInstanceEventWindowOutput" -_cAIEWRo = "com.amazonaws.ec2#AssociateInstanceEventWindowResult" -_iEW = "instanceEventWindow" -_AIEW = "AssociateInstanceEventWindow" -_AIBI = "AssociateIpamByoasnInput" -_cAIBR = "com.amazonaws.ec2#AssociateIpamByoasnRequest" -_AIBO = "AssociateIpamByoasnOutput" -_cAIBRo = "com.amazonaws.ec2#AssociateIpamByoasnResult" -_aA = "asnAssociation" -_AIB = "AssociateIpamByoasn" -_IIp = "IpamId" -_IRDI = "IpamResourceDiscoveryId" -_AIRDI = "AssociateIpamResourceDiscoveryInput" -_cAIRDR = "com.amazonaws.ec2#AssociateIpamResourceDiscoveryRequest" -_IRDAI = "IpamResourceDiscoveryAssociationId" -_IARDS = "IpamAssociatedResourceDiscoveryStatus" -_ACTIVE = "ACTIVE" -_NF = "NOT_FOUND" -_nf__ = "not-found" -_IRDAS = "IpamResourceDiscoveryAssociationState" -_AIP_ = "ASSOCIATE_IN_PROGRESS" -_aip = "associate-in-progress" -_AC_ = "ASSOCIATE_COMPLETE" -_ac_ = "associate-complete" -_AF_ = "ASSOCIATE_FAILED" -_af__ = "associate-failed" -_DIP = "DISASSOCIATE_IN_PROGRESS" -_dip = "disassociate-in-progress" -_DC_ = "DISASSOCIATE_COMPLETE" -_dc = "disassociate-complete" -_DF = "DISASSOCIATE_FAILED" -_df = "disassociate-failed" -_IIP_ = "ISOLATE_IN_PROGRESS" -_iip = "isolate-in-progress" -_IC_ = "ISOLATE_COMPLETE" -_ic = "isolate-complete" -_RIP = "RESTORE_IN_PROGRESS" -_rip = "restore-in-progress" -_IRDA = "IpamResourceDiscoveryAssociation" -_iRDAI = "ipamResourceDiscoveryAssociationId" -_IRDAA = "IpamResourceDiscoveryAssociationArn" -_iRDAA = "ipamResourceDiscoveryAssociationArn" -_iRDI = "ipamResourceDiscoveryId" -_iIp = "ipamId" -_IApa = "IpamArn" -_iAp = "ipamArn" -_IR = "IpamRegion" -_iRp = "ipamRegion" -_ID = "IsDefault" -_iD = "isDefault" -_RDS = "ResourceDiscoveryStatus" -_rDS = "resourceDiscoveryStatus" -_AIRDO = "AssociateIpamResourceDiscoveryOutput" -_cAIRDRo = "com.amazonaws.ec2#AssociateIpamResourceDiscoveryResult" -_iRDA = "ipamResourceDiscoveryAssociation" -_AIRD = "AssociateIpamResourceDiscovery" -_ANGAI = "AssociateNatGatewayAddressInput" -_cANGAR = "com.amazonaws.ec2#AssociateNatGatewayAddressRequest" -_ANGAO = "AssociateNatGatewayAddressOutput" -_cANGARo = "com.amazonaws.ec2#AssociateNatGatewayAddressResult" -_ANGA = "AssociateNatGatewayAddress" -_RSI = "RouteServerId" -_ARSI = "AssociateRouteServerInput" -_cARSR = "com.amazonaws.ec2#AssociateRouteServerRequest" -_RSAS = "RouteServerAssociationState" -_RSA = "RouteServerAssociation" -_rSI = "routeServerId" -_ARSO = "AssociateRouteServerOutput" -_cARSRo = "com.amazonaws.ec2#AssociateRouteServerResult" -_rSA = "routeServerAssociation" -_ARS = "AssociateRouteServer" -_RGI = "RouteGatewayId" -_RTIo = "RouteTableId" -_ARTI = "AssociateRouteTableInput" -_cARTR = "com.amazonaws.ec2#AssociateRouteTableRequest" -_rTIo = "routeTableId" -_RTASC = "RouteTableAssociationStateCode" -_RTAS = "RouteTableAssociationState" -_ARTO = "AssociateRouteTableOutput" -_cARTRo = "com.amazonaws.ec2#AssociateRouteTableResult" -_ASss = "AssociationState" -_aSs = "associationState" -_ART = "AssociateRouteTable" -_ASGVI = "AssociateSecurityGroupVpcInput" -_cASGVR = "com.amazonaws.ec2#AssociateSecurityGroupVpcRequest" -_GIr = "GroupId" -_SGVAS = "SecurityGroupVpcAssociationState" -_df_ = "disassociation_failed" -_df__ = "disassociation-failed" -_ASGVO = "AssociateSecurityGroupVpcOutput" -_cASGVRo = "com.amazonaws.ec2#AssociateSecurityGroupVpcResult" -_ASGV = "AssociateSecurityGroupVpc" -_ASCBI = "AssociateSubnetCidrBlockInput" -_cASCBR = "com.amazonaws.ec2#AssociateSubnetCidrBlockRequest" -_IIPI = "Ipv6IpamPoolId" -_INL = "Ipv6NetmaskLength" -_SCAI = "SubnetCidrAssociationId" -_ISp = "IpSource" -_ama = "amazon" -_b = "byoip" -_no = "none" -_IAA = "Ipv6AddressAttribute" -_pu = "public" -_priv = "private" -_SCBSC = "SubnetCidrBlockStateCode" -_SCBS = "SubnetCidrBlockState" -_SICBA = "SubnetIpv6CidrBlockAssociation" -_ICBSp = "Ipv6CidrBlockState" -_iCBSp = "ipv6CidrBlockState" -_iAA = "ipv6AddressAttribute" -_iSp = "ipSource" -_ASCBO = "AssociateSubnetCidrBlockOutput" -_cASCBRo = "com.amazonaws.ec2#AssociateSubnetCidrBlockResult" -_ICBA = "Ipv6CidrBlockAssociation" -_iCBA = "ipv6CidrBlockAssociation" -_ASCB = "AssociateSubnetCidrBlock" -_TGSIL = "TransitGatewaySubnetIdList" -_ATGMDI = "AssociateTransitGatewayMulticastDomainInput" -_cATGMDR = "com.amazonaws.ec2#AssociateTransitGatewayMulticastDomainRequest" -_ATGMDO = "AssociateTransitGatewayMulticastDomainOutput" -_cATGMDRo = "com.amazonaws.ec2#AssociateTransitGatewayMulticastDomainResult" -_ATGMD = "AssociateTransitGatewayMulticastDomain" -_TGPTI = "TransitGatewayPolicyTableId" -_ATGPTI = "AssociateTransitGatewayPolicyTableInput" -_cATGPTR = "com.amazonaws.ec2#AssociateTransitGatewayPolicyTableRequest" -_TGASr = "TransitGatewayAssociationState" -_TGPTA = "TransitGatewayPolicyTableAssociation" -_tGPTI = "transitGatewayPolicyTableId" -_ATGPTO = "AssociateTransitGatewayPolicyTableOutput" -_cATGPTRo = "com.amazonaws.ec2#AssociateTransitGatewayPolicyTableResult" -_Ass = "Association" -_assoc = "association" -_ATGPT = "AssociateTransitGatewayPolicyTable" -_TGRTI = "TransitGatewayRouteTableId" -_ATGRTI = "AssociateTransitGatewayRouteTableInput" -_cATGRTR = "com.amazonaws.ec2#AssociateTransitGatewayRouteTableRequest" -_TGAr = "TransitGatewayAssociation" -_tGRTI = "transitGatewayRouteTableId" -_ATGRTO = "AssociateTransitGatewayRouteTableOutput" -_cATGRTRo = "com.amazonaws.ec2#AssociateTransitGatewayRouteTableResult" -_ATGRT = "AssociateTransitGatewayRouteTable" -_ATII = "AssociateTrunkInterfaceInput" -_cATIR = "com.amazonaws.ec2#AssociateTrunkInterfaceRequest" -_BII = "BranchInterfaceId" -_TII = "TrunkInterfaceId" -_VIl = "VlanId" -_GK = "GreKey" -_TIAI = "TrunkInterfaceAssociationId" -_IPT = "InterfaceProtocolType" -_VLAN = "VLAN" -_GRE = "GRE" -_TIA = "TrunkInterfaceAssociation" -_bII = "branchInterfaceId" -_tII = "trunkInterfaceId" -_IPn = "InterfaceProtocol" -_iPn = "interfaceProtocol" -_vIl = "vlanId" -_gK = "greKey" -_ATIO = "AssociateTrunkInterfaceOutput" -_cATIRo = "com.amazonaws.ec2#AssociateTrunkInterfaceResult" -_IAn = "InterfaceAssociation" -_iAn = "interfaceAssociation" -_ATIs = "AssociateTrunkInterface" -_IPEIp = "Ipv6PoolEc2Id" -_AVCBI = "AssociateVpcCidrBlockInput" -_cAVCBR = "com.amazonaws.ec2#AssociateVpcCidrBlockRequest" -_ICBNBG = "Ipv6CidrBlockNetworkBorderGroup" -_IPpvo = "Ipv6Pool" -_IIPIp = "Ipv4IpamPoolId" -_INLp = "Ipv4NetmaskLength" -_APICB = "AmazonProvidedIpv6CidrBlock" -_aPICB = "amazonProvidedIpv6CidrBlock" -_VCBSC = "VpcCidrBlockStateCode" -_VCBS = "VpcCidrBlockState" -_VCBA = "VpcCidrBlockAssociation" -_CBSi = "CidrBlockState" -_cBSi = "cidrBlockState" -_VICBA = "VpcIpv6CidrBlockAssociation" -_iPpv = "ipv6Pool" -_AVCBO = "AssociateVpcCidrBlockOutput" -_cAVCBRo = "com.amazonaws.ec2#AssociateVpcCidrBlockResult" -_CBA = "CidrBlockAssociation" -_cBA = "cidrBlockAssociation" -_AVCB = "AssociateVpcCidrBlock" -_GISL = "GroupIdStringList" -_gIr = "groupId" -_ACLVI = "AttachClassicLinkVpcInput" -_cACLVR = "com.amazonaws.ec2#AttachClassicLinkVpcRequest" -_G = "Groups" -_ACLVO = "AttachClassicLinkVpcOutput" -_cACLVRo = "com.amazonaws.ec2#AttachClassicLinkVpcResult" -_ACLV = "AttachClassicLinkVpc" -_IIm = "ImageId" -_IWNR = "ImageWatermarkNameRequest" -_AIWI = "AttachImageWatermarkInput" -_cAIWR = "com.amazonaws.ec2#AttachImageWatermarkRequest" -_WN = "WatermarkName" -_AIWO = "AttachImageWatermarkOutput" -_cAIWRo = "com.amazonaws.ec2#AttachImageWatermarkResult" -_WK = "WatermarkKey" -_wK = "watermarkKey" -_AIW = "AttachImageWatermark" -_IGI = "InternetGatewayId" -_AIGI = "AttachInternetGatewayInput" -_cAIGR = "com.amazonaws.ec2#AttachInternetGatewayRequest" -_iGI = "internetGatewayId" -_AIGO = "AttachInternetGatewayOutput" -_AIG = "AttachInternetGateway" -_ESUS = "EnaSrdUdpSpecification" -_ESUE = "EnaSrdUdpEnabled" -_ESS = "EnaSrdSpecification" -_ESE = "EnaSrdEnabled" -_ANII = "AttachNetworkInterfaceInput" -_cANIR = "com.amazonaws.ec2#AttachNetworkInterfaceRequest" -_NCI = "NetworkCardIndex" -_EQC = "EnaQueueCount" -_DI = "DeviceIndex" -_dI = "deviceIndex" -_ANIO = "AttachNetworkInterfaceOutput" -_cANIRo = "com.amazonaws.ec2#AttachNetworkInterfaceResult" -_nCI = "networkCardIndex" -_ANI = "AttachNetworkInterface" -_VAII = "VerifiedAccessInstanceId" -_VATPI = "VerifiedAccessTrustProviderId" -_AVATPI = "AttachVerifiedAccessTrustProviderInput" -_cAVATPR = "com.amazonaws.ec2#AttachVerifiedAccessTrustProviderRequest" -_VAICSD = "VerifiedAccessInstanceCustomSubDomain" -_SD = "SubDomain" -_sD = "subDomain" -_Na = "Nameservers" -_NS = "NameserverSet" -_nS = "nameserverSet" -_DTPT = "DeviceTrustProviderType" -_j = "jamf" -_cro = "crowdstrike" -_ju = "jumpcloud" -_TPT = "TrustProviderType" -_use = "user" -_dev = "device" -_UTPT = "UserTrustProviderType" -_iic = "iam_identity_center" -_iic_ = "iam-identity-center" -_oi = "oidc" -_VATPC = "VerifiedAccessTrustProviderCondensed" -_vATPI = "verifiedAccessTrustProviderId" -_tPT = "trustProviderType" -_uTPT = "userTrustProviderType" -_dTPT = "deviceTrustProviderType" -_VATPCL = "VerifiedAccessTrustProviderCondensedList" -_VAI = "VerifiedAccessInstance" -_vAII = "verifiedAccessInstanceId" -_VATP = "VerifiedAccessTrustProviders" -_VATPS = "VerifiedAccessTrustProviderSet" -_vATPS = "verifiedAccessTrustProviderSet" -_LUTa = "LastUpdatedTime" -_lUTa = "lastUpdatedTime" -_FE = "FipsEnabled" -_fE = "fipsEnabled" -_CECSD = "CidrEndpointsCustomSubDomain" -_cECSD = "cidrEndpointsCustomSubDomain" -_DO = "DeviceOptions" -_TI = "TenantId" -_tI = "tenantId" -_PSKU = "PublicSigningKeyUrl" -_pSKU = "publicSigningKeyUrl" -_NAOO = "NativeApplicationOidcOptions" -_PSKE = "PublicSigningKeyEndpoint" -_pSKE = "publicSigningKeyEndpoint" -_Is = "Issuer" -_iss = "issuer" -_AE = "AuthorizationEndpoint" -_aE = "authorizationEndpoint" -_TE = "TokenEndpoint" -_tE = "tokenEndpoint" -_UIEs = "UserInfoEndpoint" -_uIE = "userInfoEndpoint" -_CIl = "ClientId" -_cIl = "clientId" -_Sc = "Scope" -_sc = "scope" -_CST = "ClientSecretType" -_smith = "smithy.api#sensitive" -_OO = "OidcOptions" -_CSl = "ClientSecret" -_cSl = "clientSecret" -_KKA = "KmsKeyArn" -_VASSR = "VerifiedAccessSseSpecificationResponse" -_CMKE = "CustomerManagedKeyEnabled" -_cMKE = "customerManagedKeyEnabled" -_kKA = "kmsKeyArn" -_VATPe = "VerifiedAccessTrustProvider" -_oO = "oidcOptions" -_dO = "deviceOptions" -_PRN = "PolicyReferenceName" -_pRN = "policyReferenceName" -_SSs = "SseSpecification" -_sSs = "sseSpecification" -_nAOO = "nativeApplicationOidcOptions" -_AVATPO = "AttachVerifiedAccessTrustProviderOutput" -_cAVATPRo = "com.amazonaws.ec2#AttachVerifiedAccessTrustProviderResult" -_vATP = "verifiedAccessTrustProvider" -_vAI = "verifiedAccessInstance" -_AVATP = "AttachVerifiedAccessTrustProvider" -_BI = "BoxedInteger" -_VIo = "VolumeId" -_AVIt = "AttachVolumeInput" -_cAVR = "com.amazonaws.ec2#AttachVolumeRequest" -_Dev = "Device" -_ECI = "EbsCardIndex" -_VAS = "VolumeAttachmentState" -_at = "attaching" -_att = "attached" -_det = "detaching" -_deta = "detached" -_bu = "busy" -_AVO = "AttachVolumeOutput" -_cVA = "com.amazonaws.ec2#VolumeAttachment" -_DOT = "DeleteOnTermination" -_dOT = "deleteOnTermination" -_ARs = "AssociatedResource" -_aRs = "associatedResource" -_IOS = "InstanceOwningService" -_iOS = "instanceOwningService" -_eCI = "ebsCardIndex" -_vIo = "volumeId" -_ATtt = "AttachTime" -_aTtt = "attachTime" -_AVtt = "AttachVolume" -_VGI = "VpnGatewayId" -_AVGI = "AttachVpnGatewayInput" -_cAVGR = "com.amazonaws.ec2#AttachVpnGatewayRequest" -_ASt = "AttachmentStatus" -_VA = "VpcAttachment" -_AVGO = "AttachVpnGatewayOutput" -_cAVGRo = "com.amazonaws.ec2#AttachVpnGatewayResult" -_At = "Attachment" -_atta = "attachment" -_AVG = "AttachVpnGateway" -_ACVII = "AuthorizeClientVpnIngressInput" -_cACVIR = "com.amazonaws.ec2#AuthorizeClientVpnIngressRequest" -_TNC = "TargetNetworkCidr" -_AGI = "AccessGroupId" -_AAG = "AuthorizeAllGroups" -_CVARSC = "ClientVpnAuthorizationRuleStatusCode" -_au = "authorizing" -_rev = "revoking" -_CVARS = "ClientVpnAuthorizationRuleStatus" -_ACVIO = "AuthorizeClientVpnIngressOutput" -_cACVIRo = "com.amazonaws.ec2#AuthorizeClientVpnIngressResult" -_ACVI = "AuthorizeClientVpnIngress" -_IRp = "IpRange" -_CIi = "CidrIp" -_cIi = "cidrIp" -_IRL = "IpRangeList" -_IRpv = "Ipv6Range" -_CIid = "CidrIpv6" -_cIid = "cidrIpv6" -_IRLp = "Ipv6RangeList" -_PLIL = "PrefixListIdList" -_UIGP = "UserIdGroupPair" -_UIs = "UserId" -_uI = "userId" -_GN = "GroupName" -_gN = "groupName" -_PSe = "PeeringStatus" -_pSe = "peeringStatus" -_UIGPL = "UserIdGroupPairList" -_IPpe = "IpPermission" -_IPpr = "IpProtocol" -_iPpr = "ipProtocol" -_FP = "FromPort" -_fP = "fromPort" -_TP = "ToPort" -_tP = "toPort" -_UIGPs = "UserIdGroupPairs" -_gr = "groups" -_IRpa = "IpRanges" -_iRpa = "ipRanges" -_IRpva = "Ipv6Ranges" -_iRpv = "ipv6Ranges" -_PLIr = "PrefixListIds" -_pLIr = "prefixListIds" -_IPLpe = "IpPermissionList" -_ASGEI = "AuthorizeSecurityGroupEgressInput" -_cASGER = "com.amazonaws.ec2#AuthorizeSecurityGroupEgressRequest" -_SSGN = "SourceSecurityGroupName" -_sSGN = "sourceSecurityGroupName" -_SSGOI = "SourceSecurityGroupOwnerId" -_sSGOI = "sourceSecurityGroupOwnerId" -_IPper = "IpPermissions" -_iPpe = "ipPermissions" -_PLRI = "PrefixListResourceId" -_RSG = "ReferencedSecurityGroup" -_SGRI = "SecurityGroupRuleId" -_sGRI = "securityGroupRuleId" -_GOI = "GroupOwnerId" -_gOI = "groupOwnerId" -_IE = "IsEgress" -_iE = "isEgress" -_CIidr = "CidrIpv4" -_cIidr = "cidrIpv4" -_RGIe = "ReferencedGroupInfo" -_rGI = "referencedGroupInfo" -_SGRA = "SecurityGroupRuleArn" -_sGRA = "securityGroupRuleArn" -_SGRL = "SecurityGroupRuleList" -_ASGEO = "AuthorizeSecurityGroupEgressOutput" -_cASGERo = "com.amazonaws.ec2#AuthorizeSecurityGroupEgressResult" -_SGRe = "SecurityGroupRules" -_SGRSe = "SecurityGroupRuleSet" -_sGRSe = "securityGroupRuleSet" -_ASGE = "AuthorizeSecurityGroupEgress" -_SGN = "SecurityGroupName" -_ASGII = "AuthorizeSecurityGroupIngressInput" -_cASGIR = "com.amazonaws.ec2#AuthorizeSecurityGroupIngressRequest" -_ASGIO = "AuthorizeSecurityGroupIngressOutput" -_cASGIRo = "com.amazonaws.ec2#AuthorizeSecurityGroupIngressResult" -_ASGI = "AuthorizeSecurityGroupIngress" -_BB = "BoxedBoolean" -_IIRAI = "IpamInternetRegistryAssociationId" -_BMIRPRI = "BatchModifyIpamRoutingPolicyRegistrationsInput" -_cBMIRPRR = "com.amazonaws.ec2#BatchModifyIpamRoutingPolicyRegistrationsRequest" -_DJ = "DeltaJson" -_Fo = "Force" -_IRPRDS = "IpamRoutingPolicyRegistrationDeltaState" -_pub = "published" -_IRPRD = "IpamRoutingPolicyRegistrationDelta" -_DIe = "DeltaId" -_dIe = "deltaId" -_dJ = "deltaJson" -_SMta = "StateMessage" -_sMta = "stateMessage" -_BMIRPRO = "BatchModifyIpamRoutingPolicyRegistrationsOutput" -_cBMIRPRRo = "com.amazonaws.ec2#BatchModifyIpamRoutingPolicyRegistrationsResult" -_iRPRD = "ipamRoutingPolicyRegistrationDelta" -_BMIRPR = "BatchModifyIpamRoutingPolicyRegistrations" -_SB = "SecureBlob" -_SSUPS = "S3StorageUploadPolicySignature" -_SSt = "S3Storage" -_AWSAKI = "AWSAccessKeyId" -_Bu = "Bucket" -_buc = "bucket" -_Pre = "Prefix" -_pre = "prefix" -_UP = "UploadPolicy" -_uP = "uploadPolicy" -_UPS = "UploadPolicySignature" -_uPS = "uploadPolicySignature" -_Sto = "Storage" -_S_ = "S3" -_BIIu = "BundleInstanceInput" -_cBIR = "com.amazonaws.ec2#BundleInstanceRequest" -_BTE = "BundleTaskError" -_BTS = "BundleTaskState" -_wfs = "waiting_for_shutdown" -_wfs_ = "waiting-for-shutdown" -_bun = "bundling" -_sto = "storing" -_comp = "complete" -_BT = "BundleTask" -_BIu = "BundleId" -_bI = "bundleId" -_ST = "StartTime" -_sTt = "startTime" -_UT = "UpdateTime" -_uT = "updateTime" -_stor = "storage" -_Prog = "Progress" -_prog = "progress" -_BIO = "BundleInstanceOutput" -_cBIRo = "com.amazonaws.ec2#BundleInstanceResult" -_BIT = "BundleInstanceTask" -_bIT = "bundleInstanceTask" -_BIun = "BundleInstance" -_CBTI = "CancelBundleTaskInput" -_cCBTR = "com.amazonaws.ec2#CancelBundleTaskRequest" -_CBTO = "CancelBundleTaskOutput" -_cCBTRo = "com.amazonaws.ec2#CancelBundleTaskResult" -_CBT = "CancelBundleTask" -_ACC = "ApplyCancellationCharges" -_CWD = "COMMITMENT_WIND_DOWN" -_cwd = "commitment-wind-down" -_CRCQI = "CapacityReservationCancellationQuoteId" -_CCRI = "CancelCapacityReservationInput" -_cCCRR = "com.amazonaws.ec2#CancelCapacityReservationRequest" -_QI = "QuoteId" -_CCRO = "CancelCapacityReservationOutput" -_cCCRRo = "com.amazonaws.ec2#CancelCapacityReservationResult" -_CCR = "CancelCapacityReservation" -_CRFI = "CapacityReservationFleetId" -_CRFIS = "CapacityReservationFleetIdSet" -_CCRFI = "CancelCapacityReservationFleetsInput" -_cCCRFR = "com.amazonaws.ec2#CancelCapacityReservationFleetsRequest" -_CRFIa = "CapacityReservationFleetIds" -_CCRFEC = "CancelCapacityReservationFleetErrorCode" -_CCRFEM = "CancelCapacityReservationFleetErrorMessage" -_CCRFE = "CancelCapacityReservationFleetError" -_FCRFCR = "FailedCapacityReservationFleetCancellationResult" -_cRFI = "capacityReservationFleetId" -_cCRFE = "cancelCapacityReservationFleetError" -_FCRFCRS = "FailedCapacityReservationFleetCancellationResultSet" -_CRFS = "CapacityReservationFleetState" -_SUBMITTED = "SUBMITTED" -_subm = "submitted" -_MODIFYING = "MODIFYING" -_PF__ = "PARTIALLY_FULFILLED" -_pf___ = "partially_fulfilled" -_EXPIRING = "EXPIRING" -_exp = "expiring" -_EXPIRED = "EXPIRED" -_CANCELLING = "CANCELLING" -_CANCELLED = "CANCELLED" -_can = "cancelled" -_CRFCS = "CapacityReservationFleetCancellationState" -_CFS = "CurrentFleetState" -_cFS = "currentFleetState" -_PFS = "PreviousFleetState" -_pFS = "previousFleetState" -_CRFCSS = "CapacityReservationFleetCancellationStateSet" -_CCRFO = "CancelCapacityReservationFleetsOutput" -_cCCRFRo = "com.amazonaws.ec2#CancelCapacityReservationFleetsResult" -_SFC = "SuccessfulFleetCancellations" -_SFCS = "SuccessfulFleetCancellationSet" -_sFCS = "successfulFleetCancellationSet" -_FFC = "FailedFleetCancellations" -_FFCS = "FailedFleetCancellationSet" -_fFCS = "failedFleetCancellationSet" -_CCRF = "CancelCapacityReservationFleets" -_CTI = "ConversionTaskId" -_CCTI = "CancelConversionTaskInput" -_cCCR = "com.amazonaws.ec2#CancelConversionRequest" -_cTI = "conversionTaskId" -_RM = "ReasonMessage" -_rM = "reasonMessage" -_CCTO = "CancelConversionTaskOutput" -_CCT = "CancelConversionTask" -_DPRI = "DeclarativePoliciesReportId" -_CDPRI = "CancelDeclarativePoliciesReportInput" -_cCDPRR = "com.amazonaws.ec2#CancelDeclarativePoliciesReportRequest" -_RIep = "ReportId" -_CDPRO = "CancelDeclarativePoliciesReportOutput" -_cCDPRRo = "com.amazonaws.ec2#CancelDeclarativePoliciesReportResult" -_CDPR = "CancelDeclarativePoliciesReport" -_EVTI = "ExportVmTaskId" -_CETI = "CancelExportTaskInput" -_cCETR = "com.amazonaws.ec2#CancelExportTaskRequest" -_ETI = "ExportTaskId" -_eTI = "exportTaskId" -_CETO = "CancelExportTaskOutput" -_CET = "CancelExportTask" -_CILPI = "CancelImageLaunchPermissionInput" -_cCILPR = "com.amazonaws.ec2#CancelImageLaunchPermissionRequest" -_CILPO = "CancelImageLaunchPermissionOutput" -_cCILPRo = "com.amazonaws.ec2#CancelImageLaunchPermissionResult" -_CILP = "CancelImageLaunchPermission" -_ITI = "ImportTaskId" -_CITI = "CancelImportTaskInput" -_cCITR = "com.amazonaws.ec2#CancelImportTaskRequest" -_CRa = "CancelReason" -_CITO = "CancelImportTaskOutput" -_cCITRo = "com.amazonaws.ec2#CancelImportTaskResult" -_iTI = "importTaskId" -_PSre = "PreviousState" -_pSre = "previousState" -_CIT = "CancelImportTask" -_RILI = "ReservedInstancesListingId" -_CRILI = "CancelReservedInstancesListingInput" -_cCRILR = "com.amazonaws.ec2#CancelReservedInstancesListingRequest" -_rILI = "reservedInstancesListingId" -_LSi = "ListingState" -_sol = "sold" -_iC = "instanceCount" -_ICL = "InstanceCountList" -_CCV = "CurrencyCodeValues" -_USD = "USD" -_Dou = "Double" -_Lo = "Long" -_PSri = "PriceSchedule" -_Act = "Active" -_CC = "CurrencyCode" -_cC = "currencyCode" -_Pric = "Price" -_pric = "price" -_Te = "Term" -_te = "term" -_PSL = "PriceScheduleList" -_LSis = "ListingStatus" -_cl = "closed" -_RIL = "ReservedInstancesListing" -_CD = "CreateDate" -_cD = "createDate" -_ICn = "InstanceCounts" -_iCn = "instanceCounts" -_PSric = "PriceSchedules" -_pSri = "priceSchedules" -_RIIes = "ReservedInstancesId" -_rII = "reservedInstancesId" -_UD = "UpdateDate" -_uD = "updateDate" -_RILL = "ReservedInstancesListingList" -_CRILO = "CancelReservedInstancesListingOutput" -_cCRILRo = "com.amazonaws.ec2#CancelReservedInstancesListingResult" -_RILe = "ReservedInstancesListings" -_RILS = "ReservedInstancesListingsSet" -_rILS = "reservedInstancesListingsSet" -_CRIL = "CancelReservedInstancesListing" -_SFRI = "SpotFleetRequestId" -_SFRIL = "SpotFleetRequestIdList" -_CSFRI = "CancelSpotFleetRequestsInput" -_cCSFRR = "com.amazonaws.ec2#CancelSpotFleetRequestsRequest" -_SFRIp = "SpotFleetRequestIds" -_sFRI = "spotFleetRequestId" -_TIe = "TerminateInstances" -_tIe = "terminateInstances" -_BS = "BatchState" -_CR_ = "CANCELLED_RUNNING" -_cr__ = "cancelled_running" -_CTI_ = "CANCELLED_TERMINATING_INSTANCES" -_ct = "cancelled_terminating" -_CSFRSI = "CancelSpotFleetRequestsSuccessItem" -_CSFRS = "CurrentSpotFleetRequestState" -_cSFRS = "currentSpotFleetRequestState" -_PSFRS = "PreviousSpotFleetRequestState" -_pSFRS = "previousSpotFleetRequestState" -_CSFRSS = "CancelSpotFleetRequestsSuccessSet" -_CBEC = "CancelBatchErrorCode" -_FRIDNE = "FLEET_REQUEST_ID_DOES_NOT_EXIST" -_fRIDNE = "fleetRequestIdDoesNotExist" -_FRIM = "FLEET_REQUEST_ID_MALFORMED" -_fRIM = "fleetRequestIdMalformed" -_FRNICS = "FLEET_REQUEST_NOT_IN_CANCELLABLE_STATE" -_fRNICS = "fleetRequestNotInCancellableState" -_UE = "UNEXPECTED_ERROR" -_uE = "unexpectedError" -_CSFRE = "CancelSpotFleetRequestsError" -_CSFREI = "CancelSpotFleetRequestsErrorItem" -_CSFRES = "CancelSpotFleetRequestsErrorSet" -_CSFRO = "CancelSpotFleetRequestsOutput" -_cCSFRRo = "com.amazonaws.ec2#CancelSpotFleetRequestsResponse" -_SFR = "SuccessfulFleetRequests" -_SFRS = "SuccessfulFleetRequestSet" -_sFRS = "successfulFleetRequestSet" -_UFR = "UnsuccessfulFleetRequests" -_UFRS = "UnsuccessfulFleetRequestSet" -_uFRS = "unsuccessfulFleetRequestSet" -_CSFR = "CancelSpotFleetRequests" -_SIRIL = "SpotInstanceRequestIdList" -_CSIRI = "CancelSpotInstanceRequestsInput" -_cCSIRR = "com.amazonaws.ec2#CancelSpotInstanceRequestsRequest" -_SIRIp = "SpotInstanceRequestIds" -_CSIRS = "CancelSpotInstanceRequestState" -_op = "open" -_compl = "completed" -_CSIR = "CancelledSpotInstanceRequest" -_CSIRL = "CancelledSpotInstanceRequestList" -_CSIRO = "CancelSpotInstanceRequestsOutput" -_cCSIRRo = "com.amazonaws.ec2#CancelSpotInstanceRequestsResult" -_CSIRa = "CancelledSpotInstanceRequests" -_SIRS = "SpotInstanceRequestSet" -_sIRS = "spotInstanceRequestSet" -_CSIRan = "CancelSpotInstanceRequests" -_CPII = "ConfirmProductInstanceInput" -_cCPIR = "com.amazonaws.ec2#ConfirmProductInstanceRequest" -_PCr = "ProductCode" -_CPIO = "ConfirmProductInstanceOutput" -_cCPIRo = "com.amazonaws.ec2#ConfirmProductInstanceResult" -_CPI = "ConfirmProductInstance" -_CFII = "CopyFpgaImageInput" -_cCFIR = "com.amazonaws.ec2#CopyFpgaImageRequest" -_SFII = "SourceFpgaImageId" -_SRo = "SourceRegion" -_CFIO = "CopyFpgaImageOutput" -_cCFIRo = "com.amazonaws.ec2#CopyFpgaImageResult" -_FII = "FpgaImageId" -_fII = "fpgaImageId" -_CFI = "CopyFpgaImage" -_CICT = "CopyImageClientToken" -_IDR = "ImageDescriptionRequest" -_KKI = "KmsKeyId" -_INR = "ImageNameRequest" -_CII = "CopyImageInput" -_cCIR = "com.amazonaws.ec2#CopyImageRequest" -_En = "Encrypted" -_enc = "encrypted" -_kKI = "kmsKeyId" -_SII = "SourceImageId" -_DOA = "DestinationOutpostArn" -_CITo = "CopyImageTags" -_SCCDM = "SnapshotCopyCompletionDurationMinutes" -_DAZ = "DestinationAvailabilityZone" -_DAZI = "DestinationAvailabilityZoneId" -_CIO = "CopyImageOutput" -_cCIRo = "com.amazonaws.ec2#CopyImageResult" -_iIm = "imageId" -_CIop = "CopyImage" -_SCDMR = "SnapshotCompletionDurationMinutesRequest" -_CSRPSU = "CopySnapshotRequestPSU" -_CSI = "CopySnapshotInput" -_cCSR = "com.amazonaws.ec2#CopySnapshotRequest" -_DRe = "DestinationRegion" -_dRe = "destinationRegion" -_PU = "PresignedUrl" -_pU = "presignedUrl" -_SSI = "SourceSnapshotId" -_CDM = "CompletionDurationMinutes" -_CSO = "CopySnapshotOutput" -_cCSRo = "com.amazonaws.ec2#CopySnapshotResult" -_SIn = "SnapshotId" -_sIn = "snapshotId" -_CSo = "CopySnapshot" -_VT = "VolumeType" -_io = "io1" -_io_ = "io2" -_gp = "gp2" -_sc_ = "sc1" -_st_ = "st1" -_gp_ = "gp3" -_CVI = "CopyVolumesInput" -_cCVR = "com.amazonaws.ec2#CopyVolumesRequest" -_SVI = "SourceVolumeId" -_Io = "Iops" -_Si = "Size" -_MAE = "MultiAttachEnabled" -_Th = "Throughput" -_VAo = "VolumeAttachment" -_VAL = "VolumeAttachmentList" -_OR = "OperatorResponse" -_Man = "Managed" -_man = "managed" -_HBD = "HiddenByDefault" -_hBD = "hiddenByDefault" -_SSET = "SSEType" -_se = "sse_ebs" -_se_ = "sse-ebs" -_sk = "sse_kms" -_sk_ = "sse-kms" -_VS = "VolumeState" -_iu = "in_use" -_iu_ = "in-use" -_Vo = "Volume" -_oA = "outpostArn" -_sVI = "sourceVolumeId" -_iop = "iops" -_vT = "volumeType" -_FR = "FastRestored" -_fR = "fastRestored" -_mAE = "multiAttachEnabled" -_thr = "throughput" -_STs = "SseType" -_sTs = "sseType" -_Op = "Operator" -_ope = "operator" -_VIR = "VolumeInitializationRate" -_vIR = "volumeInitializationRate" -_VAol = "VolumeArn" -_vA = "volumeArn" -_siz = "size" -_CTr = "CreateTime" -_cTr = "createTime" -_Att = "Attachments" -_AStt = "AttachmentSet" -_aSt = "attachmentSet" -_VLo = "VolumeList" -_CVO = "CopyVolumesOutput" -_cCVRo = "com.amazonaws.ec2#CopyVolumesResult" -_Vol = "Volumes" -_VSo = "VolumeSet" -_vS = "volumeSet" -_CV = "CopyVolumes" -_HCPDRO = "HealthCheckPathDestinationRequestObject" -_HCPDRS = "HealthCheckPathDestinationRequestSet" -_HCPSRO = "HealthCheckPathSourceRequestObject" -_HCPRO = "HealthCheckPathRequestObject" -_HCPRL = "HealthCheckPathRequestList" -_IGPS = "InitializationGracePeriodSeconds" -_ISE = "IpScopeEnum" -_PRIVATE = "PRIVATE" -_IVE = "IpVersionEnum" -_IPV = "IPV4" -_IPV_ = "IPV6" -_PN = "PortNumber" -_NPE = "NetworkProtocolEnum" -_HTTP = "HTTP" -_ht = "http" -_HTTPS = "HTTPS" -_htt = "https" -_CASCI = "CreateApplicationStatusCheckInput" -_cCASCR = "com.amazonaws.ec2#CreateApplicationStatusCheckRequest" -_HCP = "HealthCheckPaths" -_HCPe = "HealthCheckPath" -_Ag = "Aggregation" -_Pa = "Path" -_IVp = "IpVersion" -_ISpc = "IpScope" -_Int = "Interval" -_Tim = "Timeout" -_FT = "FailureThreshold" -_STu = "SuccessThreshold" -_SCM = "StatusCodeMatcher" -_HCPDROe = "HealthCheckPathDestinationResponseObject" -_HCPDRL = "HealthCheckPathDestinationResponseList" -_HCPSROe = "HealthCheckPathSourceResponseObject" -_HCPROe = "HealthCheckPathResponseObject" -_HCPRLe = "HealthCheckPathResponseList" -_CTKVRPu = "CustomTagKeyValueResponsePair" -_CKVPRSu = "CustomKeyValuePairResponseSet" -_ASCRO = "ApplicationStatusCheckResponseObject" -_agg = "aggregation" -_HCPS = "HealthCheckPathSet" -_hCPS = "healthCheckPathSet" -_pat = "path" -_iVp = "ipVersion" -_iSpc = "ipScope" -_int = "interval" -_tim = "timeout" -_fT = "failureThreshold" -_sTu = "successThreshold" -_sCM = "statusCodeMatcher" -_iGPS = "initializationGracePeriodSeconds" -_LUA = "LastUpdatedAt" -_lUA = "lastUpdatedAt" -_TTAS = "TargetTagAssociationSet" -_tTAS = "targetTagAssociationSet" -_MT = "ModifyTime" -_mT = "modifyTime" -_DTe = "DeletionTime" -_dT = "deletionTime" -_CASCO = "CreateApplicationStatusCheckOutput" -_cCASCRo = "com.amazonaws.ec2#CreateApplicationStatusCheckResult" -_ASCp = "ApplicationStatusCheck" -_aSC = "applicationStatusCheck" -_CASC = "CreateApplicationStatusCheck" -_OF = "OutputFormat" -_CSV = "CSV" -_cs = "csv" -_PARQUET = "PARQUET" -_par = "parquet" -_Sch = "Schedule" -_HOURLY = "HOURLY" -_hou = "hourly" -_CCMDEI = "CreateCapacityManagerDataExportInput" -_cCCMDER = "com.amazonaws.ec2#CreateCapacityManagerDataExportRequest" -_SBN = "S3BucketName" -_SBP = "S3BucketPrefix" -_CMDEI = "CapacityManagerDataExportId" -_CCMDEO = "CreateCapacityManagerDataExportOutput" -_cCCMDERo = "com.amazonaws.ec2#CreateCapacityManagerDataExportResult" -_cMDEI = "capacityManagerDataExportId" -_CCMDE = "CreateCapacityManagerDataExport" -_CRCD = "CapacityReservationCommitmentDuration" -_CRDP = "CapacityReservationDeliveryPreference" -_FIXED = "FIXED" -_fix = "fixed" -_INCREMENTAL = "INCREMENTAL" -_incr = "incremental" -_EDT = "EndDateType" -_unl = "unlimited" -_li = "limited" -_IMC = "InstanceMatchCriteria" -_ta = "targeted" -_CRIP = "CapacityReservationInstancePlatform" -_LU = "LINUX_UNIX" -_LUNIX = "Linux/UNIX" -_RHEL = "RED_HAT_ENTERPRISE_LINUX" -_RHEL_ = "Red Hat Enterprise Linux" -_SL_ = "SUSE_LINUX" -_SL__ = "SUSE Linux" -_WINDOWS = "WINDOWS" -_W = "Windows" -_WWSS = "WINDOWS_WITH_SQL_SERVER" -_WwSS = "Windows with SQL Server" -_WWSSE = "WINDOWS_WITH_SQL_SERVER_ENTERPRISE" -_WwSSE = "Windows with SQL Server Enterprise" -_WWSSS = "WINDOWS_WITH_SQL_SERVER_STANDARD" -_WwSSS = "Windows with SQL Server Standard" -_WWSSW = "WINDOWS_WITH_SQL_SERVER_WEB" -_WwSSW = "Windows with SQL Server Web" -_LWSSS = "LINUX_WITH_SQL_SERVER_STANDARD" -_LwSSS = "Linux with SQL Server Standard" -_LWSSW = "LINUX_WITH_SQL_SERVER_WEB" -_LwSSW = "Linux with SQL Server Web" -_LWSSE = "LINUX_WITH_SQL_SERVER_ENTERPRISE" -_LwSSE = "Linux with SQL Server Enterprise" -_RWSSS = "RHEL_WITH_SQL_SERVER_STANDARD" -_RwSSS = "RHEL with SQL Server Standard" -_RWSSE = "RHEL_WITH_SQL_SERVER_ENTERPRISE" -_RwSSE = "RHEL with SQL Server Enterprise" -_RWSSW = "RHEL_WITH_SQL_SERVER_WEB" -_RwSSW = "RHEL with SQL Server Web" -_RWH = "RHEL_WITH_HA" -_RwH = "RHEL with HA" -_RWHASSS = "RHEL_WITH_HA_AND_SQL_SERVER_STANDARD" -_RwHaSSS = "RHEL with HA and SQL Server Standard" -_RWHASSE = "RHEL_WITH_HA_AND_SQL_SERVER_ENTERPRISE" -_RwHaSSE = "RHEL with HA and SQL Server Enterprise" -_UPL = "UBUNTU_PRO_LINUX" -_UP_ = "Ubuntu Pro" -_PGA = "PlacementGroupArn" -_CRT = "CapacityReservationTenancy" -_ded = "dedicated" -_CCRIr = "CreateCapacityReservationInput" -_cCCRRom = "com.amazonaws.ec2#CreateCapacityReservationRequest" -_IPns = "InstancePlatform" -_Ten = "Tenancy" -_EO = "EbsOptimized" -_ESp = "EphemeralStorage" -_ED = "EndDate" -_SDt = "StartDate" -_CDo = "CommitmentDuration" -_DPel = "DeliveryPreference" -_BL = "BoxedLong" -_CRAD = "CapacityReservationAdjustmentDetails" -_sDt = "startDate" -_eD = "endDate" -_CED = "CommitmentEndDate" -_cED = "commitmentEndDate" -_eDT = "endDateType" -_cDo = "commitmentDuration" -_CRAS = "CapacityReservationAdjustmentStatus" -_req = "requested" -_ap = "applied" -_CAME = "CapacityAllocationMetadataEntry" -_CAML = "CapacityAllocationMetadataList" -_CAa = "CapacityAllocation" -_aTl = "allocationType" -_Cou = "Count" -_cou = "count" -_AMl = "AllocationMetadata" -_AML = "AllocationMetadataList" -_aML = "allocationMetadataList" -_CAap = "CapacityAllocations" -_CBI = "CapacityBlockId" -_CRCI = "CapacityReservationCommitmentInfo" -_CIC = "CommittedInstanceCount" -_cIC = "committedInstanceCount" -_ITnt = "InterruptionType" -_adh = "adhoc" -_ICRAS = "InterruptibleCapacityReservationAllocationStatus" -_up = "updating" -_canc = "canceling" -_cance = "canceled" -_ZSP = "ZeroSizePreference" -_ret = "retain" -_ICA = "InterruptibleCapacityAllocation" -_TIC = "TargetInstanceCount" -_tIC = "targetInstanceCount" -_ICRI = "InterruptibleCapacityReservationId" -_iCRI = "interruptibleCapacityReservationId" -_iTn = "interruptionType" -_zSP = "zeroSizePreference" -_IInt = "InterruptionInfo" -_SCRI = "SourceCapacityReservationId" -_sCRI = "sourceCapacityReservationId" -_CRLS = "CapacityReservationLaunchStatus" -_LAUNCHABLE = "LAUNCHABLE" -_lau = "launchable" -_UNLAUNCHABLE = "UNLAUNCHABLE" -_unla = "unlaunchable" -_CRTa = "CapacityReservationType" -_DEFAULT = "DEFAULT" -_CB_ = "CAPACITY_BLOCK" -_CRS = "CapacityReservationState" -_sch = "scheduled" -_pp__ = "payment_pending" -_pp___ = "payment-pending" -_pf____ = "payment_failed" -_pf_____ = "payment-failed" -_asse = "assessing" -_dela = "delayed" -_uns = "unsupported" -_unav = "unavailable" -_CRap = "CapacityReservation" -_cRI = "capacityReservationId" -_CRA = "CapacityReservationArn" -_cRA = "capacityReservationArn" -_iPns = "instancePlatform" -_ten = "tenancy" -_TICo = "TotalInstanceCount" -_tICo = "totalInstanceCount" -_AIC = "AvailableInstanceCount" -_aIC = "availableInstanceCount" -_eO = "ebsOptimized" -_eSp = "ephemeralStorage" -_iMC = "instanceMatchCriteria" -_pGA = "placementGroupArn" -_CAS = "CapacityAllocationSet" -_cAS = "capacityAllocationSet" -_RTes = "ReservationType" -_rTe = "reservationType" -_uRBOI = "unusedReservationBillingOwnerId" -_CIom = "CommitmentInfo" -_cIom = "commitmentInfo" -_dP = "deliveryPreference" -_cBI = "capacityBlockId" -_Inte = "Interruptible" -_inte = "interruptible" -_iCA = "interruptibleCapacityAllocation" -_iIn = "interruptionInfo" -_ASd = "AdjustmentStatus" -_aSd = "adjustmentStatus" -_ADdj = "AdjustmentDetails" -_aD = "adjustmentDetails" -_OSD = "OriginalStartDate" -_oSD = "originalStartDate" -_LSa = "LaunchStatus" -_lS = "launchStatus" -_CCROr = "CreateCapacityReservationOutput" -_cCCRRoma = "com.amazonaws.ec2#CreateCapacityReservationResult" -_cRa = "capacityReservation" -_CCRr = "CreateCapacityReservation" -_CCRBSI = "CreateCapacityReservationBySplittingInput" -_cCCRBSR = "com.amazonaws.ec2#CreateCapacityReservationBySplittingRequest" -_CCRBSO = "CreateCapacityReservationBySplittingOutput" -_cCCRBSRo = "com.amazonaws.ec2#CreateCapacityReservationBySplittingResult" -_SCR = "SourceCapacityReservation" -_sCR = "sourceCapacityReservation" -_DCR = "DestinationCapacityReservation" -_dCR = "destinationCapacityReservation" -_CCRBS = "CreateCapacityReservationBySplitting" -_CCRCQI = "CreateCapacityReservationCancellationQuoteInput" -_cCCRCQR = "com.amazonaws.ec2#CreateCapacityReservationCancellationQuoteRequest" -_CTa = "CancellationTerms" -_CTan = "CancellationType" -_cTa = "cancellationType" -_RSes = "ReservationState" -_rSes = "reservationState" -_CCDH = "ChargeCommitmentDurationHours" -_cCDH = "chargeCommitmentDurationHours" -_CEDh = "ChargeEndDate" -_cEDh = "chargeEndDate" -_CTS = "CancellationTermsSet" -_CRC = "CapacityReservationConfiguration" -_CRCQS = "CapacityReservationCancellationQuoteState" -_CRCQ = "CapacityReservationCancellationQuote" -_cRCQI = "capacityReservationCancellationQuoteId" -_QS = "QuoteState" -_qS = "quoteState" -_CCu = "CurrentConfiguration" -_cCu = "currentConfiguration" -_CTSa = "CancellationTermSet" -_cTS = "cancellationTermSet" -_CCRCQO = "CreateCapacityReservationCancellationQuoteOutput" -_cCCRCQRo = "com.amazonaws.ec2#CreateCapacityReservationCancellationQuoteResult" -_cRCQ = "capacityReservationCancellationQuote" -_CCRCQ = "CreateCapacityReservationCancellationQuote" -_CCRDCQI = "CreateCapacityReservationDateChangeQuoteInput" -_cCCRDCQR = "com.amazonaws.ec2#CreateCapacityReservationDateChangeQuoteRequest" -_NSD = "NewStartDate" -_CRMQI = "CapacityReservationModificationQuoteId" -_MQCC = "ModificationQuoteCurrentConfiguration" -_MRU = "ModificationReservationUpdate" -_NCED = "NewCommitmentEndDate" -_nCED = "newCommitmentEndDate" -_nSD = "newStartDate" -_NCD = "NewCommitmentDuration" -_nCD = "newCommitmentDuration" -_MTo = "ModificationTerms" -_RU = "ReservationUpdate" -_rU = "reservationUpdate" -_CRMQS = "CapacityReservationModificationQuoteState" -_CRMQ = "CapacityReservationModificationQuote" -_cRMQI = "capacityReservationModificationQuoteId" -_mTo = "modificationTerms" -_CCRDCQO = "CreateCapacityReservationDateChangeQuoteOutput" -_cCCRDCQRo = "com.amazonaws.ec2#CreateCapacityReservationDateChangeQuoteResult" -_cRMQ = "capacityReservationModificationQuote" -_CCRDCQ = "CreateCapacityReservationDateChangeQuote" -_FIMC = "FleetInstanceMatchCriteria" -_BM = "BareMetal" -_REQUIRED = "REQUIRED" -_requ = "required" -_BEBMR = "BaselineEbsBandwidthMbpsRequest" -_PFRR = "PerformanceFactorReferenceRequest" -_PFRSR = "PerformanceFactorReferenceSetRequest" -_CPFR = "CpuPerformanceFactorRequest" -_Ref = "References" -_Refe = "Reference" -_BPFR = "BaselinePerformanceFactorsRequest" -_Cp = "Cpu" -_BP = "BurstablePerformance" -_CM = "CpuManufacturer" -_INTEL = "INTEL" -_intel = "intel" -_APPLE = "APPLE" -_app = "apple" -_CMS = "CpuManufacturerSet" -_EIT = "ExcludedInstanceType" -_EITS = "ExcludedInstanceTypeSet" -_IGn = "InstanceGeneration" -_CURRENT = "CURRENT" -_cur = "current" -_PREVIOUS = "PREVIOUS" -_prev = "previous" -_IGS = "InstanceGenerationSet" -_LSo = "LocalStorage" -_LST = "LocalStorageType" -_HDD = "HDD" -_hd = "hdd" -_SSD = "SSD" -_ssd = "ssd" -_LSTS = "LocalStorageTypeSet" -_MGBPVCR = "MemoryGiBPerVCpuRequest" -_MMBR = "MemoryMiBRequest" -_NBGR = "NetworkBandwidthGbpsRequest" -_NICR = "NetworkInterfaceCountRequest" -_TLSGBR = "TotalLocalStorageGBRequest" -_VCCRR = "VCpuCountRangeRequest" -_IRR = "InstanceRequirementsRequest" -_VCC = "VCpuCount" -_MMB = "MemoryMiB" -_CMp = "CpuManufacturers" -_MGBPVC = "MemoryGiBPerVCpu" -_EITx = "ExcludedInstanceTypes" -_IGns = "InstanceGenerations" -_SMPPOLP = "SpotMaxPricePercentageOverLowestPrice" -_ODMPPOLP = "OnDemandMaxPricePercentageOverLowestPrice" -_RHS = "RequireHibernateSupport" -_NIC = "NetworkInterfaceCount" -_LSTo = "LocalStorageTypes" -_TLSGB = "TotalLocalStorageGB" -_BEBM = "BaselineEbsBandwidthMbps" -_ATc = "AcceleratorTypes" -_AMc = "AcceleratorManufacturers" -_ANc = "AcceleratorNames" -_NBGe = "NetworkBandwidthGbps" -_AITl = "AllowedInstanceTypes" -_MSPAPOOODP = "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice" -_BPF = "BaselinePerformanceFactors" -_REIT = "RequireEncryptionInTransit" -_am____ = "a1_medium" -_ame = "a1.medium" -_al_ = "a1_large" -_ala = "a1.large" -_ax = "a1_xlarge" -_axl = "a1.xlarge" -_a__ = "a1_2xlarge" -_axla = "a1.2xlarge" -_a___ = "a1_4xlarge" -_axlar = "a1.4xlarge" -_am_____ = "a1_metal" -_amet = "a1.metal" -_cm = "c1_medium" -_cme = "c1.medium" -_cx = "c1_xlarge" -_cxl = "c1.xlarge" -_cl_ = "c3_large" -_cla = "c3.large" -_cx_ = "c3_xlarge" -_cxla = "c3.xlarge" -_c_ = "c3_2xlarge" -_cxlar = "c3.2xlarge" -_c__ = "c3_4xlarge" -_cxlarg = "c3.4xlarge" -_c___ = "c3_8xlarge" -_cxlarge = "c3.8xlarge" -_cl__ = "c4_large" -_clar = "c4.large" -_cx__ = "c4_xlarge" -_cxlarge_ = "c4.xlarge" -_c____ = "c4_2xlarge" -_cxlarge__ = "c4.2xlarge" -_c_____ = "c4_4xlarge" -_cxlarge___ = "c4.4xlarge" -_c______ = "c4_8xlarge" -_cxlarge____ = "c4.8xlarge" -_cl___ = "c5_large" -_clarg = "c5.large" -_cx___ = "c5_xlarge" -_cxlarge_____ = "c5.xlarge" -_c_______ = "c5_2xlarge" -_cxlarge______ = "c5.2xlarge" -_c________ = "c5_4xlarge" -_cxlarge_______ = "c5.4xlarge" -_c_________ = "c5_9xlarge" -_cxlarge________ = "c5.9xlarge" -_c__________ = "c5_12xlarge" -_cxlarge_________ = "c5.12xlarge" -_c___________ = "c5_18xlarge" -_cxlarge__________ = "c5.18xlarge" -_c____________ = "c5_24xlarge" -_cxlarge___________ = "c5.24xlarge" -_cm_ = "c5_metal" -_cmet = "c5.metal" -_cl____ = "c5a_large" -_cal = "c5a.large" -_cx____ = "c5a_xlarge" -_cax = "c5a.xlarge" -_c_____________ = "c5a_2xlarge" -_caxl = "c5a.2xlarge" -_c______________ = "c5a_4xlarge" -_caxla = "c5a.4xlarge" -_c_______________ = "c5a_8xlarge" -_caxlar = "c5a.8xlarge" -_c________________ = "c5a_12xlarge" -_caxlarg = "c5a.12xlarge" -_c_________________ = "c5a_16xlarge" -_caxlarge = "c5a.16xlarge" -_c__________________ = "c5a_24xlarge" -_caxlarge_ = "c5a.24xlarge" -_cl_____ = "c5ad_large" -_cad = "c5ad.large" -_cx_____ = "c5ad_xlarge" -_cadx = "c5ad.xlarge" -_c___________________ = "c5ad_2xlarge" -_cadxl = "c5ad.2xlarge" -_c____________________ = "c5ad_4xlarge" -_cadxla = "c5ad.4xlarge" -_c_____________________ = "c5ad_8xlarge" -_cadxlar = "c5ad.8xlarge" -_c______________________ = "c5ad_12xlarge" -_cadxlarg = "c5ad.12xlarge" -_c_______________________ = "c5ad_16xlarge" -_cadxlarge = "c5ad.16xlarge" -_c________________________ = "c5ad_24xlarge" -_cadxlarge_ = "c5ad.24xlarge" -_cl______ = "c5d_large" -_cd = "c5d.large" -_cx______ = "c5d_xlarge" -_cdx = "c5d.xlarge" -_c_________________________ = "c5d_2xlarge" -_cdxl = "c5d.2xlarge" -_c__________________________ = "c5d_4xlarge" -_cdxla = "c5d.4xlarge" -_c___________________________ = "c5d_9xlarge" -_cdxlar = "c5d.9xlarge" -_c____________________________ = "c5d_12xlarge" -_cdxlarg = "c5d.12xlarge" -_c_____________________________ = "c5d_18xlarge" -_cdxlarge = "c5d.18xlarge" -_c______________________________ = "c5d_24xlarge" -_cdxlarge_ = "c5d.24xlarge" -_cm__ = "c5d_metal" -_cdm = "c5d.metal" -_cl_______ = "c5n_large" -_cn = "c5n.large" -_cx_______ = "c5n_xlarge" -_cnx = "c5n.xlarge" -_c_______________________________ = "c5n_2xlarge" -_cnxl = "c5n.2xlarge" -_c________________________________ = "c5n_4xlarge" -_cnxla = "c5n.4xlarge" -_c_________________________________ = "c5n_9xlarge" -_cnxlar = "c5n.9xlarge" -_c__________________________________ = "c5n_18xlarge" -_cnxlarg = "c5n.18xlarge" -_cm___ = "c5n_metal" -_cnm = "c5n.metal" -_cm____ = "c6g_medium" -_cgm = "c6g.medium" -_cl________ = "c6g_large" -_cgl = "c6g.large" -_cx________ = "c6g_xlarge" -_cgx = "c6g.xlarge" -_c___________________________________ = "c6g_2xlarge" -_cgxl = "c6g.2xlarge" -_c____________________________________ = "c6g_4xlarge" -_cgxla = "c6g.4xlarge" -_c_____________________________________ = "c6g_8xlarge" -_cgxlar = "c6g.8xlarge" -_c______________________________________ = "c6g_12xlarge" -_cgxlarg = "c6g.12xlarge" -_c_______________________________________ = "c6g_16xlarge" -_cgxlarge = "c6g.16xlarge" -_cm_____ = "c6g_metal" -_cgme = "c6g.metal" -_cm______ = "c6gd_medium" -_cgd = "c6gd.medium" -_cl_________ = "c6gd_large" -_cgdl = "c6gd.large" -_cx_________ = "c6gd_xlarge" -_cgdx = "c6gd.xlarge" -_c________________________________________ = "c6gd_2xlarge" -_cgdxl = "c6gd.2xlarge" -_c_________________________________________ = "c6gd_4xlarge" -_cgdxla = "c6gd.4xlarge" -_c__________________________________________ = "c6gd_8xlarge" -_cgdxlar = "c6gd.8xlarge" -_c___________________________________________ = "c6gd_12xlarge" -_cgdxlarg = "c6gd.12xlarge" -_c____________________________________________ = "c6gd_16xlarge" -_cgdxlarge = "c6gd.16xlarge" -_cm_______ = "c6gd_metal" -_cgdm = "c6gd.metal" -_cm________ = "c6gn_medium" -_cgn = "c6gn.medium" -_cl__________ = "c6gn_large" -_cgnl = "c6gn.large" -_cx__________ = "c6gn_xlarge" -_cgnx = "c6gn.xlarge" -_c_____________________________________________ = "c6gn_2xlarge" -_cgnxl = "c6gn.2xlarge" -_c______________________________________________ = "c6gn_4xlarge" -_cgnxla = "c6gn.4xlarge" -_c_______________________________________________ = "c6gn_8xlarge" -_cgnxlar = "c6gn.8xlarge" -_c________________________________________________ = "c6gn_12xlarge" -_cgnxlarg = "c6gn.12xlarge" -_c_________________________________________________ = "c6gn_16xlarge" -_cgnxlarge = "c6gn.16xlarge" -_cl___________ = "c6i_large" -_cil = "c6i.large" -_cx___________ = "c6i_xlarge" -_cix = "c6i.xlarge" -_c__________________________________________________ = "c6i_2xlarge" -_cixl = "c6i.2xlarge" -_c___________________________________________________ = "c6i_4xlarge" -_cixla = "c6i.4xlarge" -_c____________________________________________________ = "c6i_8xlarge" -_cixlar = "c6i.8xlarge" -_c_____________________________________________________ = "c6i_12xlarge" -_cixlarg = "c6i.12xlarge" -_c______________________________________________________ = "c6i_16xlarge" -_cixlarge = "c6i.16xlarge" -_c_______________________________________________________ = "c6i_24xlarge" -_cixlarge_ = "c6i.24xlarge" -_c________________________________________________________ = "c6i_32xlarge" -_cixlarge__ = "c6i.32xlarge" -_cm_________ = "c6i_metal" -_cim = "c6i.metal" -_c_________________________________________________________ = "cc1_4xlarge" -_cc = "cc1.4xlarge" -_c__________________________________________________________ = "cc2_8xlarge" -_ccx = "cc2.8xlarge" -_c___________________________________________________________ = "cg1_4xlarge" -_cgxlarge_ = "cg1.4xlarge" -_c____________________________________________________________ = "cr1_8xlarge" -_crx = "cr1.8xlarge" -_dx = "d2_xlarge" -_dxl = "d2.xlarge" -_d_ = "d2_2xlarge" -_dxla = "d2.2xlarge" -_d__ = "d2_4xlarge" -_dxlar = "d2.4xlarge" -_d___ = "d2_8xlarge" -_dxlarg = "d2.8xlarge" -_dx_ = "d3_xlarge" -_dxlarge = "d3.xlarge" -_d____ = "d3_2xlarge" -_dxlarge_ = "d3.2xlarge" -_d_____ = "d3_4xlarge" -_dxlarge__ = "d3.4xlarge" -_d______ = "d3_8xlarge" -_dxlarge___ = "d3.8xlarge" -_dx__ = "d3en_xlarge" -_den = "d3en.xlarge" -_d_______ = "d3en_2xlarge" -_denx = "d3en.2xlarge" -_d________ = "d3en_4xlarge" -_denxl = "d3en.4xlarge" -_d_________ = "d3en_6xlarge" -_denxla = "d3en.6xlarge" -_d__________ = "d3en_8xlarge" -_denxlar = "d3en.8xlarge" -_d___________ = "d3en_12xlarge" -_denxlarg = "d3en.12xlarge" -_d____________ = "dl1_24xlarge" -_dl = "dl1.24xlarge" -_f_ = "f1_2xlarge" -_fx = "f1.2xlarge" -_f__ = "f1_4xlarge" -_fxl = "f1.4xlarge" -_f___ = "f1_16xlarge" -_fxla = "f1.16xlarge" -_g_ = "g2_2xlarge" -_gx = "g2.2xlarge" -_g__ = "g2_8xlarge" -_gxl = "g2.8xlarge" -_g___ = "g3_4xlarge" -_gxla = "g3.4xlarge" -_g____ = "g3_8xlarge" -_gxlar = "g3.8xlarge" -_g_____ = "g3_16xlarge" -_gxlarg = "g3.16xlarge" -_gx_ = "g3s_xlarge" -_gs = "g3s.xlarge" -_gx__ = "g4ad_xlarge" -_ga = "g4ad.xlarge" -_g______ = "g4ad_2xlarge" -_gad = "g4ad.2xlarge" -_g_______ = "g4ad_4xlarge" -_gadx = "g4ad.4xlarge" -_g________ = "g4ad_8xlarge" -_gadxl = "g4ad.8xlarge" -_g_________ = "g4ad_16xlarge" -_gadxla = "g4ad.16xlarge" -_gx___ = "g4dn_xlarge" -_gd = "g4dn.xlarge" -_g__________ = "g4dn_2xlarge" -_gdn = "g4dn.2xlarge" -_g___________ = "g4dn_4xlarge" -_gdnx = "g4dn.4xlarge" -_g____________ = "g4dn_8xlarge" -_gdnxl = "g4dn.8xlarge" -_g_____________ = "g4dn_12xlarge" -_gdnxla = "g4dn.12xlarge" -_g______________ = "g4dn_16xlarge" -_gdnxlar = "g4dn.16xlarge" -_gm = "g4dn_metal" -_gdnm = "g4dn.metal" -_gx____ = "g5_xlarge" -_gxlarge = "g5.xlarge" -_g_______________ = "g5_2xlarge" -_gxlarge_ = "g5.2xlarge" -_g________________ = "g5_4xlarge" -_gxlarge__ = "g5.4xlarge" -_g_________________ = "g5_8xlarge" -_gxlarge___ = "g5.8xlarge" -_g__________________ = "g5_12xlarge" -_gxlarge____ = "g5.12xlarge" -_g___________________ = "g5_16xlarge" -_gxlarge_____ = "g5.16xlarge" -_g____________________ = "g5_24xlarge" -_gxlarge______ = "g5.24xlarge" -_g_____________________ = "g5_48xlarge" -_gxlarge_______ = "g5.48xlarge" -_gx_____ = "g5g_xlarge" -_gg = "g5g.xlarge" -_g______________________ = "g5g_2xlarge" -_ggx = "g5g.2xlarge" -_g_______________________ = "g5g_4xlarge" -_ggxl = "g5g.4xlarge" -_g________________________ = "g5g_8xlarge" -_ggxla = "g5g.8xlarge" -_g_________________________ = "g5g_16xlarge" -_ggxlar = "g5g.16xlarge" -_gm_ = "g5g_metal" -_ggm = "g5g.metal" -_h__ = "hi1_4xlarge" -_hi = "hi1.4xlarge" -_h___ = "hpc6a_48xlarge" -_hp = "hpc6a.48xlarge" -_h____ = "hs1_8xlarge" -_hs = "hs1.8xlarge" -_h_____ = "h1_2xlarge" -_hx = "h1.2xlarge" -_h______ = "h1_4xlarge" -_hxl = "h1.4xlarge" -_h_______ = "h1_8xlarge" -_hxla = "h1.8xlarge" -_h________ = "h1_16xlarge" -_hxlar = "h1.16xlarge" -_ix = "i2_xlarge" -_ixl = "i2.xlarge" -_i_ = "i2_2xlarge" -_ixla = "i2.2xlarge" -_i__ = "i2_4xlarge" -_ixlar = "i2.4xlarge" -_i___ = "i2_8xlarge" -_ixlarg = "i2.8xlarge" -_il = "i3_large" -_ila = "i3.large" -_ix_ = "i3_xlarge" -_ixlarge = "i3.xlarge" -_i____ = "i3_2xlarge" -_ixlarge_ = "i3.2xlarge" -_i_____ = "i3_4xlarge" -_ixlarge__ = "i3.4xlarge" -_i______ = "i3_8xlarge" -_ixlarge___ = "i3.8xlarge" -_i_______ = "i3_16xlarge" -_ixlarge____ = "i3.16xlarge" -_im_ = "i3_metal" -_ime = "i3.metal" -_il_ = "i3en_large" -_ien = "i3en.large" -_ix__ = "i3en_xlarge" -_ienx = "i3en.xlarge" -_i________ = "i3en_2xlarge" -_ienxl = "i3en.2xlarge" -_i_________ = "i3en_3xlarge" -_ienxla = "i3en.3xlarge" -_i__________ = "i3en_6xlarge" -_ienxlar = "i3en.6xlarge" -_i___________ = "i3en_12xlarge" -_ienxlarg = "i3en.12xlarge" -_i____________ = "i3en_24xlarge" -_ienxlarge = "i3en.24xlarge" -_im__ = "i3en_metal" -_ienm = "i3en.metal" -_il__ = "im4gn_large" -_img = "im4gn.large" -_ix___ = "im4gn_xlarge" -_imgn = "im4gn.xlarge" -_i_____________ = "im4gn_2xlarge" -_imgnx = "im4gn.2xlarge" -_i______________ = "im4gn_4xlarge" -_imgnxl = "im4gn.4xlarge" -_i_______________ = "im4gn_8xlarge" -_imgnxla = "im4gn.8xlarge" -_i________________ = "im4gn_16xlarge" -_imgnxlar = "im4gn.16xlarge" -_ix____ = "inf1_xlarge" -_infx = "inf1.xlarge" -_i_________________ = "inf1_2xlarge" -_infxl = "inf1.2xlarge" -_i__________________ = "inf1_6xlarge" -_infxla = "inf1.6xlarge" -_i___________________ = "inf1_24xlarge" -_infxlar = "inf1.24xlarge" -_im___ = "is4gen_medium" -_isg = "is4gen.medium" -_il___ = "is4gen_large" -_isge = "is4gen.large" -_ix_____ = "is4gen_xlarge" -_isgen = "is4gen.xlarge" -_i____________________ = "is4gen_2xlarge" -_isgenx = "is4gen.2xlarge" -_i_____________________ = "is4gen_4xlarge" -_isgenxl = "is4gen.4xlarge" -_i______________________ = "is4gen_8xlarge" -_isgenxla = "is4gen.8xlarge" -_ms = "m1_small" -_msm = "m1.small" -_mm = "m1_medium" -_mme = "m1.medium" -_ml = "m1_large" -_mla = "m1.large" -_mx = "m1_xlarge" -_mxl = "m1.xlarge" -_mx_ = "m2_xlarge" -_mxla = "m2.xlarge" -_m__ = "m2_2xlarge" -_mxlar = "m2.2xlarge" -_m___ = "m2_4xlarge" -_mxlarg = "m2.4xlarge" -_mm_ = "m3_medium" -_mmed = "m3.medium" -_ml_ = "m3_large" -_mlar = "m3.large" -_mx__ = "m3_xlarge" -_mxlarge = "m3.xlarge" -_m____ = "m3_2xlarge" -_mxlarge_ = "m3.2xlarge" -_ml__ = "m4_large" -_mlarg = "m4.large" -_mx___ = "m4_xlarge" -_mxlarge__ = "m4.xlarge" -_m_____ = "m4_2xlarge" -_mxlarge___ = "m4.2xlarge" -_m______ = "m4_4xlarge" -_mxlarge____ = "m4.4xlarge" -_m_______ = "m4_10xlarge" -_mxlarge_____ = "m4.10xlarge" -_m________ = "m4_16xlarge" -_mxlarge______ = "m4.16xlarge" -_ml___ = "m5_large" -_mlarge = "m5.large" -_mx____ = "m5_xlarge" -_mxlarge_______ = "m5.xlarge" -_m_________ = "m5_2xlarge" -_mxlarge________ = "m5.2xlarge" -_m__________ = "m5_4xlarge" -_mxlarge_________ = "m5.4xlarge" -_m___________ = "m5_8xlarge" -_mxlarge__________ = "m5.8xlarge" -_m____________ = "m5_12xlarge" -_mxlarge___________ = "m5.12xlarge" -_m_____________ = "m5_16xlarge" -_mxlarge____________ = "m5.16xlarge" -_m______________ = "m5_24xlarge" -_mxlarge_____________ = "m5.24xlarge" -_mm__ = "m5_metal" -_mmet = "m5.metal" -_ml____ = "m5a_large" -_mal = "m5a.large" -_mx_____ = "m5a_xlarge" -_max = "m5a.xlarge" -_m_______________ = "m5a_2xlarge" -_maxl = "m5a.2xlarge" -_m________________ = "m5a_4xlarge" -_maxla = "m5a.4xlarge" -_m_________________ = "m5a_8xlarge" -_maxlar = "m5a.8xlarge" -_m__________________ = "m5a_12xlarge" -_maxlarg = "m5a.12xlarge" -_m___________________ = "m5a_16xlarge" -_maxlarge = "m5a.16xlarge" -_m____________________ = "m5a_24xlarge" -_maxlarge_ = "m5a.24xlarge" -_ml_____ = "m5ad_large" -_mad = "m5ad.large" -_mx______ = "m5ad_xlarge" -_madx = "m5ad.xlarge" -_m_____________________ = "m5ad_2xlarge" -_madxl = "m5ad.2xlarge" -_m______________________ = "m5ad_4xlarge" -_madxla = "m5ad.4xlarge" -_m_______________________ = "m5ad_8xlarge" -_madxlar = "m5ad.8xlarge" -_m________________________ = "m5ad_12xlarge" -_madxlarg = "m5ad.12xlarge" -_m_________________________ = "m5ad_16xlarge" -_madxlarge = "m5ad.16xlarge" -_m__________________________ = "m5ad_24xlarge" -_madxlarge_ = "m5ad.24xlarge" -_ml______ = "m5d_large" -_md = "m5d.large" -_mx_______ = "m5d_xlarge" -_mdx = "m5d.xlarge" -_m___________________________ = "m5d_2xlarge" -_mdxl = "m5d.2xlarge" -_m____________________________ = "m5d_4xlarge" -_mdxla = "m5d.4xlarge" -_m_____________________________ = "m5d_8xlarge" -_mdxlar = "m5d.8xlarge" -_m______________________________ = "m5d_12xlarge" -_mdxlarg = "m5d.12xlarge" -_m_______________________________ = "m5d_16xlarge" -_mdxlarge = "m5d.16xlarge" -_m________________________________ = "m5d_24xlarge" -_mdxlarge_ = "m5d.24xlarge" -_mm___ = "m5d_metal" -_mdm = "m5d.metal" -_ml_______ = "m5dn_large" -_mdn = "m5dn.large" -_mx________ = "m5dn_xlarge" -_mdnx = "m5dn.xlarge" -_m_________________________________ = "m5dn_2xlarge" -_mdnxl = "m5dn.2xlarge" -_m__________________________________ = "m5dn_4xlarge" -_mdnxla = "m5dn.4xlarge" -_m___________________________________ = "m5dn_8xlarge" -_mdnxlar = "m5dn.8xlarge" -_m____________________________________ = "m5dn_12xlarge" -_mdnxlarg = "m5dn.12xlarge" -_m_____________________________________ = "m5dn_16xlarge" -_mdnxlarge = "m5dn.16xlarge" -_m______________________________________ = "m5dn_24xlarge" -_mdnxlarge_ = "m5dn.24xlarge" -_mm____ = "m5dn_metal" -_mdnm = "m5dn.metal" -_ml________ = "m5n_large" -_mn = "m5n.large" -_mx_________ = "m5n_xlarge" -_mnx = "m5n.xlarge" -_m_______________________________________ = "m5n_2xlarge" -_mnxl = "m5n.2xlarge" -_m________________________________________ = "m5n_4xlarge" -_mnxla = "m5n.4xlarge" -_m_________________________________________ = "m5n_8xlarge" -_mnxlar = "m5n.8xlarge" -_m__________________________________________ = "m5n_12xlarge" -_mnxlarg = "m5n.12xlarge" -_m___________________________________________ = "m5n_16xlarge" -_mnxlarge = "m5n.16xlarge" -_m____________________________________________ = "m5n_24xlarge" -_mnxlarge_ = "m5n.24xlarge" -_mm_____ = "m5n_metal" -_mnm = "m5n.metal" -_ml_________ = "m5zn_large" -_mz = "m5zn.large" -_mx__________ = "m5zn_xlarge" -_mzn = "m5zn.xlarge" -_m_____________________________________________ = "m5zn_2xlarge" -_mznx = "m5zn.2xlarge" -_m______________________________________________ = "m5zn_3xlarge" -_mznxl = "m5zn.3xlarge" -_m_______________________________________________ = "m5zn_6xlarge" -_mznxla = "m5zn.6xlarge" -_m________________________________________________ = "m5zn_12xlarge" -_mznxlar = "m5zn.12xlarge" -_mm______ = "m5zn_metal" -_mznm = "m5zn.metal" -_ml__________ = "m6a_large" -_mala = "m6a.large" -_mx___________ = "m6a_xlarge" -_maxlarge__ = "m6a.xlarge" -_m_________________________________________________ = "m6a_2xlarge" -_maxlarge___ = "m6a.2xlarge" -_m__________________________________________________ = "m6a_4xlarge" -_maxlarge____ = "m6a.4xlarge" -_m___________________________________________________ = "m6a_8xlarge" -_maxlarge_____ = "m6a.8xlarge" -_m____________________________________________________ = "m6a_12xlarge" -_maxlarge______ = "m6a.12xlarge" -_m_____________________________________________________ = "m6a_16xlarge" -_maxlarge_______ = "m6a.16xlarge" -_m______________________________________________________ = "m6a_24xlarge" -_maxlarge________ = "m6a.24xlarge" -_m_______________________________________________________ = "m6a_32xlarge" -_maxlarge_________ = "m6a.32xlarge" -_m________________________________________________________ = "m6a_48xlarge" -_maxlarge__________ = "m6a.48xlarge" -_mm_______ = "m6g_metal" -_mg = "m6g.metal" -_mm________ = "m6g_medium" -_mgm = "m6g.medium" -_ml___________ = "m6g_large" -_mgl = "m6g.large" -_mx____________ = "m6g_xlarge" -_mgx = "m6g.xlarge" -_m_________________________________________________________ = "m6g_2xlarge" -_mgxl = "m6g.2xlarge" -_m__________________________________________________________ = "m6g_4xlarge" -_mgxla = "m6g.4xlarge" -_m___________________________________________________________ = "m6g_8xlarge" -_mgxlar = "m6g.8xlarge" -_m____________________________________________________________ = "m6g_12xlarge" -_mgxlarg = "m6g.12xlarge" -_m_____________________________________________________________ = "m6g_16xlarge" -_mgxlarge = "m6g.16xlarge" -_mm_________ = "m6gd_metal" -_mgd = "m6gd.metal" -_mm__________ = "m6gd_medium" -_mgdm = "m6gd.medium" -_ml____________ = "m6gd_large" -_mgdl = "m6gd.large" -_mx_____________ = "m6gd_xlarge" -_mgdx = "m6gd.xlarge" -_m______________________________________________________________ = "m6gd_2xlarge" -_mgdxl = "m6gd.2xlarge" -_m_______________________________________________________________ = "m6gd_4xlarge" -_mgdxla = "m6gd.4xlarge" -_m________________________________________________________________ = "m6gd_8xlarge" -_mgdxlar = "m6gd.8xlarge" -_m_________________________________________________________________ = "m6gd_12xlarge" -_mgdxlarg = "m6gd.12xlarge" -_m__________________________________________________________________ = "m6gd_16xlarge" -_mgdxlarge = "m6gd.16xlarge" -_ml_____________ = "m6i_large" -_mi = "m6i.large" -_mx______________ = "m6i_xlarge" -_mix = "m6i.xlarge" -_m___________________________________________________________________ = "m6i_2xlarge" -_mixl = "m6i.2xlarge" -_m____________________________________________________________________ = "m6i_4xlarge" -_mixla = "m6i.4xlarge" -_m_____________________________________________________________________ = "m6i_8xlarge" -_mixlar = "m6i.8xlarge" -_m______________________________________________________________________ = ( - "m6i_12xlarge" -) -_mixlarg = "m6i.12xlarge" -_m_______________________________________________________________________ = ( - "m6i_16xlarge" -) -_mixlarge = "m6i.16xlarge" -_m________________________________________________________________________ = ( - "m6i_24xlarge" -) -_mixlarge_ = "m6i.24xlarge" -_m_________________________________________________________________________ = ( - "m6i_32xlarge" -) -_mixlarge__ = "m6i.32xlarge" -_mm___________ = "m6i_metal" -_mim = "m6i.metal" -_mm____________ = "mac1_metal" -_mac = "mac1.metal" -_px = "p2_xlarge" -_pxl = "p2.xlarge" -_p_ = "p2_8xlarge" -_pxla = "p2.8xlarge" -_p__ = "p2_16xlarge" -_pxlar = "p2.16xlarge" -_p___ = "p3_2xlarge" -_pxlarg = "p3.2xlarge" -_p____ = "p3_8xlarge" -_pxlarge = "p3.8xlarge" -_p_____ = "p3_16xlarge" -_pxlarge_ = "p3.16xlarge" -_p______ = "p3dn_24xlarge" -_pdn = "p3dn.24xlarge" -_p_______ = "p4d_24xlarge" -_pdx = "p4d.24xlarge" -_rl = "r3_large" -_rla = "r3.large" -_rx = "r3_xlarge" -_rxl = "r3.xlarge" -_r_ = "r3_2xlarge" -_rxla = "r3.2xlarge" -_r__ = "r3_4xlarge" -_rxlar = "r3.4xlarge" -_r___ = "r3_8xlarge" -_rxlarg = "r3.8xlarge" -_rl_ = "r4_large" -_rlar = "r4.large" -_rx_ = "r4_xlarge" -_rxlarge = "r4.xlarge" -_r____ = "r4_2xlarge" -_rxlarge_ = "r4.2xlarge" -_r_____ = "r4_4xlarge" -_rxlarge__ = "r4.4xlarge" -_r______ = "r4_8xlarge" -_rxlarge___ = "r4.8xlarge" -_r_______ = "r4_16xlarge" -_rxlarge____ = "r4.16xlarge" -_rl__ = "r5_large" -_rlarg = "r5.large" -_rx__ = "r5_xlarge" -_rxlarge_____ = "r5.xlarge" -_r________ = "r5_2xlarge" -_rxlarge______ = "r5.2xlarge" -_r_________ = "r5_4xlarge" -_rxlarge_______ = "r5.4xlarge" -_r__________ = "r5_8xlarge" -_rxlarge________ = "r5.8xlarge" -_r___________ = "r5_12xlarge" -_rxlarge_________ = "r5.12xlarge" -_r____________ = "r5_16xlarge" -_rxlarge__________ = "r5.16xlarge" -_r_____________ = "r5_24xlarge" -_rxlarge___________ = "r5.24xlarge" -_rm = "r5_metal" -_rme = "r5.metal" -_rl___ = "r5a_large" -_ra = "r5a.large" -_rx___ = "r5a_xlarge" -_rax = "r5a.xlarge" -_r______________ = "r5a_2xlarge" -_raxl = "r5a.2xlarge" -_r_______________ = "r5a_4xlarge" -_raxla = "r5a.4xlarge" -_r________________ = "r5a_8xlarge" -_raxlar = "r5a.8xlarge" -_r_________________ = "r5a_12xlarge" -_raxlarg = "r5a.12xlarge" -_r__________________ = "r5a_16xlarge" -_raxlarge = "r5a.16xlarge" -_r___________________ = "r5a_24xlarge" -_raxlarge_ = "r5a.24xlarge" -_rl____ = "r5ad_large" -_rad = "r5ad.large" -_rx____ = "r5ad_xlarge" -_radx = "r5ad.xlarge" -_r____________________ = "r5ad_2xlarge" -_radxl = "r5ad.2xlarge" -_r_____________________ = "r5ad_4xlarge" -_radxla = "r5ad.4xlarge" -_r______________________ = "r5ad_8xlarge" -_radxlar = "r5ad.8xlarge" -_r_______________________ = "r5ad_12xlarge" -_radxlarg = "r5ad.12xlarge" -_r________________________ = "r5ad_16xlarge" -_radxlarge = "r5ad.16xlarge" -_r_________________________ = "r5ad_24xlarge" -_radxlarge_ = "r5ad.24xlarge" -_rl_____ = "r5b_large" -_rb = "r5b.large" -_rx_____ = "r5b_xlarge" -_rbx = "r5b.xlarge" -_r__________________________ = "r5b_2xlarge" -_rbxl = "r5b.2xlarge" -_r___________________________ = "r5b_4xlarge" -_rbxla = "r5b.4xlarge" -_r____________________________ = "r5b_8xlarge" -_rbxlar = "r5b.8xlarge" -_r_____________________________ = "r5b_12xlarge" -_rbxlarg = "r5b.12xlarge" -_r______________________________ = "r5b_16xlarge" -_rbxlarge = "r5b.16xlarge" -_r_______________________________ = "r5b_24xlarge" -_rbxlarge_ = "r5b.24xlarge" -_rm_ = "r5b_metal" -_rbm = "r5b.metal" -_rl______ = "r5d_large" -_rdl = "r5d.large" -_rx______ = "r5d_xlarge" -_rdx = "r5d.xlarge" -_r________________________________ = "r5d_2xlarge" -_rdxl = "r5d.2xlarge" -_r_________________________________ = "r5d_4xlarge" -_rdxla = "r5d.4xlarge" -_r__________________________________ = "r5d_8xlarge" -_rdxlar = "r5d.8xlarge" -_r___________________________________ = "r5d_12xlarge" -_rdxlarg = "r5d.12xlarge" -_r____________________________________ = "r5d_16xlarge" -_rdxlarge = "r5d.16xlarge" -_r_____________________________________ = "r5d_24xlarge" -_rdxlarge_ = "r5d.24xlarge" -_rm__ = "r5d_metal" -_rdm = "r5d.metal" -_rl_______ = "r5dn_large" -_rdn = "r5dn.large" -_rx_______ = "r5dn_xlarge" -_rdnx = "r5dn.xlarge" -_r______________________________________ = "r5dn_2xlarge" -_rdnxl = "r5dn.2xlarge" -_r_______________________________________ = "r5dn_4xlarge" -_rdnxla = "r5dn.4xlarge" -_r________________________________________ = "r5dn_8xlarge" -_rdnxlar = "r5dn.8xlarge" -_r_________________________________________ = "r5dn_12xlarge" -_rdnxlarg = "r5dn.12xlarge" -_r__________________________________________ = "r5dn_16xlarge" -_rdnxlarge = "r5dn.16xlarge" -_r___________________________________________ = "r5dn_24xlarge" -_rdnxlarge_ = "r5dn.24xlarge" -_rm___ = "r5dn_metal" -_rdnm = "r5dn.metal" -_rl________ = "r5n_large" -_rnl = "r5n.large" -_rx________ = "r5n_xlarge" -_rnx = "r5n.xlarge" -_r____________________________________________ = "r5n_2xlarge" -_rnxl = "r5n.2xlarge" -_r_____________________________________________ = "r5n_4xlarge" -_rnxla = "r5n.4xlarge" -_r______________________________________________ = "r5n_8xlarge" -_rnxlar = "r5n.8xlarge" -_r_______________________________________________ = "r5n_12xlarge" -_rnxlarg = "r5n.12xlarge" -_r________________________________________________ = "r5n_16xlarge" -_rnxlarge = "r5n.16xlarge" -_r_________________________________________________ = "r5n_24xlarge" -_rnxlarge_ = "r5n.24xlarge" -_rm____ = "r5n_metal" -_rnm = "r5n.metal" -_rm_____ = "r6g_medium" -_rg = "r6g.medium" -_rl_________ = "r6g_large" -_rgl = "r6g.large" -_rx_________ = "r6g_xlarge" -_rgx = "r6g.xlarge" -_r__________________________________________________ = "r6g_2xlarge" -_rgxl = "r6g.2xlarge" -_r___________________________________________________ = "r6g_4xlarge" -_rgxla = "r6g.4xlarge" -_r____________________________________________________ = "r6g_8xlarge" -_rgxlar = "r6g.8xlarge" -_r_____________________________________________________ = "r6g_12xlarge" -_rgxlarg = "r6g.12xlarge" -_r______________________________________________________ = "r6g_16xlarge" -_rgxlarge = "r6g.16xlarge" -_rm______ = "r6g_metal" -_rgm = "r6g.metal" -_rm_______ = "r6gd_medium" -_rgd = "r6gd.medium" -_rl__________ = "r6gd_large" -_rgdl = "r6gd.large" -_rx__________ = "r6gd_xlarge" -_rgdx = "r6gd.xlarge" -_r_______________________________________________________ = "r6gd_2xlarge" -_rgdxl = "r6gd.2xlarge" -_r________________________________________________________ = "r6gd_4xlarge" -_rgdxla = "r6gd.4xlarge" -_r_________________________________________________________ = "r6gd_8xlarge" -_rgdxlar = "r6gd.8xlarge" -_r__________________________________________________________ = "r6gd_12xlarge" -_rgdxlarg = "r6gd.12xlarge" -_r___________________________________________________________ = "r6gd_16xlarge" -_rgdxlarge = "r6gd.16xlarge" -_rm________ = "r6gd_metal" -_rgdm = "r6gd.metal" -_rl___________ = "r6i_large" -_ril = "r6i.large" -_rx___________ = "r6i_xlarge" -_rix = "r6i.xlarge" -_r____________________________________________________________ = "r6i_2xlarge" -_rixl = "r6i.2xlarge" -_r_____________________________________________________________ = "r6i_4xlarge" -_rixla = "r6i.4xlarge" -_r______________________________________________________________ = "r6i_8xlarge" -_rixlar = "r6i.8xlarge" -_r_______________________________________________________________ = "r6i_12xlarge" -_rixlarg = "r6i.12xlarge" -_r________________________________________________________________ = "r6i_16xlarge" -_rixlarge = "r6i.16xlarge" -_r_________________________________________________________________ = "r6i_24xlarge" -_rixlarge_ = "r6i.24xlarge" -_r__________________________________________________________________ = "r6i_32xlarge" -_rixlarge__ = "r6i.32xlarge" -_rm_________ = "r6i_metal" -_rim = "r6i.metal" -_tm = "t1_micro" -_tmi = "t1.micro" -_tn = "t2_nano" -_tna = "t2.nano" -_tm_ = "t2_micro" -_tmic = "t2.micro" -_ts__ = "t2_small" -_tsm = "t2.small" -_tm__ = "t2_medium" -_tme = "t2.medium" -_tl = "t2_large" -_tla = "t2.large" -_tx = "t2_xlarge" -_txl = "t2.xlarge" -_t_ = "t2_2xlarge" -_txla = "t2.2xlarge" -_tn_ = "t3_nano" -_tnan = "t3.nano" -_tm___ = "t3_micro" -_tmicr = "t3.micro" -_ts___ = "t3_small" -_tsma = "t3.small" -_tm____ = "t3_medium" -_tmed = "t3.medium" -_tl_ = "t3_large" -_tlar = "t3.large" -_tx_ = "t3_xlarge" -_txlar = "t3.xlarge" -_t__ = "t3_2xlarge" -_txlarg = "t3.2xlarge" -_tn__ = "t3a_nano" -_tan = "t3a.nano" -_tm_____ = "t3a_micro" -_tam = "t3a.micro" -_ts____ = "t3a_small" -_tas = "t3a.small" -_tm______ = "t3a_medium" -_tame = "t3a.medium" -_tl__ = "t3a_large" -_tal = "t3a.large" -_tx__ = "t3a_xlarge" -_tax = "t3a.xlarge" -_t___ = "t3a_2xlarge" -_taxl = "t3a.2xlarge" -_tn___ = "t4g_nano" -_tgn = "t4g.nano" -_tm_______ = "t4g_micro" -_tgm = "t4g.micro" -_ts_____ = "t4g_small" -_tgs = "t4g.small" -_tm________ = "t4g_medium" -_tgme = "t4g.medium" -_tl___ = "t4g_large" -_tgl = "t4g.large" -_tx___ = "t4g_xlarge" -_tgx = "t4g.xlarge" -_t____ = "t4g_2xlarge" -_tgxl = "t4g.2xlarge" -_u_ = "u_6tb1_56xlarge" -_u__ = "u-6tb1.56xlarge" -_u___ = "u_6tb1_112xlarge" -_u____ = "u-6tb1.112xlarge" -_u_____ = "u_9tb1_112xlarge" -_u______ = "u-9tb1.112xlarge" -_u_______ = "u_12tb1_112xlarge" -_u________ = "u-12tb1.112xlarge" -_um = "u_6tb1_metal" -_u_________ = "u-6tb1.metal" -_um_ = "u_9tb1_metal" -_u__________ = "u-9tb1.metal" -_um__ = "u_12tb1_metal" -_u___________ = "u-12tb1.metal" -_um___ = "u_18tb1_metal" -_u____________ = "u-18tb1.metal" -_um____ = "u_24tb1_metal" -_u_____________ = "u-24tb1.metal" -_v__ = "vt1_3xlarge" -_vt = "vt1.3xlarge" -_v___ = "vt1_6xlarge" -_vtx = "vt1.6xlarge" -_v____ = "vt1_24xlarge" -_vtxl = "vt1.24xlarge" -_x_ = "x1_16xlarge" -_xx = "x1.16xlarge" -_x__ = "x1_32xlarge" -_xxl = "x1.32xlarge" -_xx_ = "x1e_xlarge" -_xe = "x1e.xlarge" -_x___ = "x1e_2xlarge" -_xex = "x1e.2xlarge" -_x____ = "x1e_4xlarge" -_xexl = "x1e.4xlarge" -_x_____ = "x1e_8xlarge" -_xexla = "x1e.8xlarge" -_x______ = "x1e_16xlarge" -_xexlar = "x1e.16xlarge" -_x_______ = "x1e_32xlarge" -_xexlarg = "x1e.32xlarge" -_x________ = "x2iezn_2xlarge" -_xi = "x2iezn.2xlarge" -_x_________ = "x2iezn_4xlarge" -_xie = "x2iezn.4xlarge" -_x__________ = "x2iezn_6xlarge" -_xiez = "x2iezn.6xlarge" -_x___________ = "x2iezn_8xlarge" -_xiezn = "x2iezn.8xlarge" -_x____________ = "x2iezn_12xlarge" -_xieznx = "x2iezn.12xlarge" -_xm = "x2iezn_metal" -_xieznm = "x2iezn.metal" -_xm_ = "x2gd_medium" -_xg = "x2gd.medium" -_xl = "x2gd_large" -_xgd = "x2gd.large" -_xx__ = "x2gd_xlarge" -_xgdx = "x2gd.xlarge" -_x_____________ = "x2gd_2xlarge" -_xgdxl = "x2gd.2xlarge" -_x______________ = "x2gd_4xlarge" -_xgdxla = "x2gd.4xlarge" -_x_______________ = "x2gd_8xlarge" -_xgdxlar = "x2gd.8xlarge" -_x________________ = "x2gd_12xlarge" -_xgdxlarg = "x2gd.12xlarge" -_x_________________ = "x2gd_16xlarge" -_xgdxlarge = "x2gd.16xlarge" -_xm__ = "x2gd_metal" -_xgdm = "x2gd.metal" -_zl = "z1d_large" -_z = "z1d.large" -_zx = "z1d_xlarge" -_zd = "z1d.xlarge" -_z_ = "z1d_2xlarge" -_zdx = "z1d.2xlarge" -_z__ = "z1d_3xlarge" -_zdxl = "z1d.3xlarge" -_z___ = "z1d_6xlarge" -_zdxla = "z1d.6xlarge" -_z____ = "z1d_12xlarge" -_zdxlar = "z1d.12xlarge" -_zm = "z1d_metal" -_zdm = "z1d.metal" -_x__________________ = "x2idn_16xlarge" -_xid = "x2idn.16xlarge" -_x___________________ = "x2idn_24xlarge" -_xidn = "x2idn.24xlarge" -_x____________________ = "x2idn_32xlarge" -_xidnx = "x2idn.32xlarge" -_xx___ = "x2iedn_xlarge" -_xied = "x2iedn.xlarge" -_x_____________________ = "x2iedn_2xlarge" -_xiedn = "x2iedn.2xlarge" -_x______________________ = "x2iedn_4xlarge" -_xiednx = "x2iedn.4xlarge" -_x_______________________ = "x2iedn_8xlarge" -_xiednxl = "x2iedn.8xlarge" -_x________________________ = "x2iedn_16xlarge" -_xiednxla = "x2iedn.16xlarge" -_x_________________________ = "x2iedn_24xlarge" -_xiednxlar = "x2iedn.24xlarge" -_x__________________________ = "x2iedn_32xlarge" -_xiednxlarg = "x2iedn.32xlarge" -_cl____________ = "c6a_large" -_cala = "c6a.large" -_cx____________ = "c6a_xlarge" -_caxlarge__ = "c6a.xlarge" -_c_____________________________________________________________ = "c6a_2xlarge" -_caxlarge___ = "c6a.2xlarge" -_c______________________________________________________________ = "c6a_4xlarge" -_caxlarge____ = "c6a.4xlarge" -_c_______________________________________________________________ = "c6a_8xlarge" -_caxlarge_____ = "c6a.8xlarge" -_c________________________________________________________________ = "c6a_12xlarge" -_caxlarge______ = "c6a.12xlarge" -_c_________________________________________________________________ = "c6a_16xlarge" -_caxlarge_______ = "c6a.16xlarge" -_c__________________________________________________________________ = "c6a_24xlarge" -_caxlarge________ = "c6a.24xlarge" -_c___________________________________________________________________ = "c6a_32xlarge" -_caxlarge_________ = "c6a.32xlarge" -_c____________________________________________________________________ = "c6a_48xlarge" -_caxlarge__________ = "c6a.48xlarge" -_cm__________ = "c6a_metal" -_cam = "c6a.metal" -_mm_____________ = "m6a_metal" -_mam = "m6a.metal" -_il____ = "i4i_large" -_ii = "i4i.large" -_ix______ = "i4i_xlarge" -_iix = "i4i.xlarge" -_i_______________________ = "i4i_2xlarge" -_iixl = "i4i.2xlarge" -_i________________________ = "i4i_4xlarge" -_iixla = "i4i.4xlarge" -_i_________________________ = "i4i_8xlarge" -_iixlar = "i4i.8xlarge" -_i__________________________ = "i4i_16xlarge" -_iixlarg = "i4i.16xlarge" -_i___________________________ = "i4i_32xlarge" -_iixlarge = "i4i.32xlarge" -_im____ = "i4i_metal" -_iim = "i4i.metal" -_xm___ = "x2idn_metal" -_xidnm = "x2idn.metal" -_xm____ = "x2iedn_metal" -_xiednm = "x2iedn.metal" -_cm___________ = "c7g_medium" -_cgmed = "c7g.medium" -_cl_____________ = "c7g_large" -_cgla = "c7g.large" -_cx_____________ = "c7g_xlarge" -_cgxlarge__ = "c7g.xlarge" -_c_____________________________________________________________________ = "c7g_2xlarge" -_cgxlarge___ = "c7g.2xlarge" -_c______________________________________________________________________ = "c7g_4xlarge" -_cgxlarge____ = "c7g.4xlarge" -_c_______________________________________________________________________ = ( - "c7g_8xlarge" -) -_cgxlarge_____ = "c7g.8xlarge" -_c________________________________________________________________________ = ( - "c7g_12xlarge" -) -_cgxlarge______ = "c7g.12xlarge" -_c_________________________________________________________________________ = ( - "c7g_16xlarge" -) -_cgxlarge_______ = "c7g.16xlarge" -_mm______________ = "mac2_metal" -_macm = "mac2.metal" -_cl______________ = "c6id_large" -_cid = "c6id.large" -_cx______________ = "c6id_xlarge" -_cidx = "c6id.xlarge" -_c__________________________________________________________________________ = ( - "c6id_2xlarge" -) -_cidxl = "c6id.2xlarge" -_c___________________________________________________________________________ = ( - "c6id_4xlarge" -) -_cidxla = "c6id.4xlarge" -_c____________________________________________________________________________ = ( - "c6id_8xlarge" -) -_cidxlar = "c6id.8xlarge" -_c_____________________________________________________________________________ = ( - "c6id_12xlarge" -) -_cidxlarg = "c6id.12xlarge" -_c______________________________________________________________________________ = ( - "c6id_16xlarge" -) -_cidxlarge = "c6id.16xlarge" -_c_______________________________________________________________________________ = ( - "c6id_24xlarge" -) -_cidxlarge_ = "c6id.24xlarge" -_c________________________________________________________________________________ = ( - "c6id_32xlarge" -) -_cidxlarge__ = "c6id.32xlarge" -_cm____________ = "c6id_metal" -_cidm = "c6id.metal" -_ml______________ = "m6id_large" -_mid = "m6id.large" -_mx_______________ = "m6id_xlarge" -_midx = "m6id.xlarge" -_m__________________________________________________________________________ = ( - "m6id_2xlarge" -) -_midxl = "m6id.2xlarge" -_m___________________________________________________________________________ = ( - "m6id_4xlarge" -) -_midxla = "m6id.4xlarge" -_m____________________________________________________________________________ = ( - "m6id_8xlarge" -) -_midxlar = "m6id.8xlarge" -_m_____________________________________________________________________________ = ( - "m6id_12xlarge" -) -_midxlarg = "m6id.12xlarge" -_m______________________________________________________________________________ = ( - "m6id_16xlarge" -) -_midxlarge = "m6id.16xlarge" -_m_______________________________________________________________________________ = ( - "m6id_24xlarge" -) -_midxlarge_ = "m6id.24xlarge" -_m________________________________________________________________________________ = ( - "m6id_32xlarge" -) -_midxlarge__ = "m6id.32xlarge" -_mm_______________ = "m6id_metal" -_midm = "m6id.metal" -_rl____________ = "r6id_large" -_rid = "r6id.large" -_rx____________ = "r6id_xlarge" -_ridx = "r6id.xlarge" -_r___________________________________________________________________ = "r6id_2xlarge" -_ridxl = "r6id.2xlarge" -_r____________________________________________________________________ = "r6id_4xlarge" -_ridxla = "r6id.4xlarge" -_r_____________________________________________________________________ = "r6id_8xlarge" -_ridxlar = "r6id.8xlarge" -_r______________________________________________________________________ = ( - "r6id_12xlarge" -) -_ridxlarg = "r6id.12xlarge" -_r_______________________________________________________________________ = ( - "r6id_16xlarge" -) -_ridxlarge = "r6id.16xlarge" -_r________________________________________________________________________ = ( - "r6id_24xlarge" -) -_ridxlarge_ = "r6id.24xlarge" -_r_________________________________________________________________________ = ( - "r6id_32xlarge" -) -_ridxlarge__ = "r6id.32xlarge" -_rm__________ = "r6id_metal" -_ridm = "r6id.metal" -_rl_____________ = "r6a_large" -_ral = "r6a.large" -_rx_____________ = "r6a_xlarge" -_raxlarge__ = "r6a.xlarge" -_r__________________________________________________________________________ = ( - "r6a_2xlarge" -) -_raxlarge___ = "r6a.2xlarge" -_r___________________________________________________________________________ = ( - "r6a_4xlarge" -) -_raxlarge____ = "r6a.4xlarge" -_r____________________________________________________________________________ = ( - "r6a_8xlarge" -) -_raxlarge_____ = "r6a.8xlarge" -_r_____________________________________________________________________________ = ( - "r6a_12xlarge" -) -_raxlarge______ = "r6a.12xlarge" -_r______________________________________________________________________________ = ( - "r6a_16xlarge" -) -_raxlarge_______ = "r6a.16xlarge" -_r_______________________________________________________________________________ = ( - "r6a_24xlarge" -) -_raxlarge________ = "r6a.24xlarge" -_r________________________________________________________________________________ = ( - "r6a_32xlarge" -) -_raxlarge_________ = "r6a.32xlarge" -_r_________________________________________________________________________________ = ( - "r6a_48xlarge" -) -_raxlarge__________ = "r6a.48xlarge" -_rm___________ = "r6a_metal" -_ram = "r6a.metal" -_p________ = "p4de_24xlarge" -_pde = "p4de.24xlarge" -_u______________ = "u_3tb1_56xlarge" -_u_______________ = "u-3tb1.56xlarge" -_u________________ = "u_18tb1_112xlarge" -_u_________________ = "u-18tb1.112xlarge" -_u__________________ = "u_24tb1_112xlarge" -_u___________________ = "u-24tb1.112xlarge" -_t_____ = "trn1_2xlarge" -_trn = "trn1.2xlarge" -_t______ = "trn1_32xlarge" -_trnx = "trn1.32xlarge" -_h_________ = "hpc6id_32xlarge" -_hpc = "hpc6id.32xlarge" -_cl_______________ = "c6in_large" -_cin = "c6in.large" -_cx_______________ = "c6in_xlarge" -_cinx = "c6in.xlarge" -_c_________________________________________________________________________________ = ( - "c6in_2xlarge" -) -_cinxl = "c6in.2xlarge" -_c__________________________________________________________________________________ = ( - "c6in_4xlarge" -) -_cinxla = "c6in.4xlarge" -_c___________________________________________________________________________________ = "c6in_8xlarge" -_cinxlar = "c6in.8xlarge" -_c____________________________________________________________________________________ = "c6in_12xlarge" -_cinxlarg = "c6in.12xlarge" -_c_____________________________________________________________________________________ = "c6in_16xlarge" -_cinxlarge = "c6in.16xlarge" -_c______________________________________________________________________________________ = "c6in_24xlarge" -_cinxlarge_ = "c6in.24xlarge" -_c_______________________________________________________________________________________ = "c6in_32xlarge" -_cinxlarge__ = "c6in.32xlarge" -_ml_______________ = "m6in_large" -_min = "m6in.large" -_mx________________ = "m6in_xlarge" -_minx = "m6in.xlarge" -_m_________________________________________________________________________________ = ( - "m6in_2xlarge" -) -_minxl = "m6in.2xlarge" -_m__________________________________________________________________________________ = ( - "m6in_4xlarge" -) -_minxla = "m6in.4xlarge" -_m___________________________________________________________________________________ = "m6in_8xlarge" -_minxlar = "m6in.8xlarge" -_m____________________________________________________________________________________ = "m6in_12xlarge" -_minxlarg = "m6in.12xlarge" -_m_____________________________________________________________________________________ = "m6in_16xlarge" -_minxlarge = "m6in.16xlarge" -_m______________________________________________________________________________________ = "m6in_24xlarge" -_minxlarge_ = "m6in.24xlarge" -_m_______________________________________________________________________________________ = "m6in_32xlarge" -_minxlarge__ = "m6in.32xlarge" -_ml________________ = "m6idn_large" -_midn = "m6idn.large" -_mx_________________ = "m6idn_xlarge" -_midnx = "m6idn.xlarge" -_m________________________________________________________________________________________ = "m6idn_2xlarge" -_midnxl = "m6idn.2xlarge" -_m_________________________________________________________________________________________ = "m6idn_4xlarge" -_midnxla = "m6idn.4xlarge" -_m__________________________________________________________________________________________ = "m6idn_8xlarge" -_midnxlar = "m6idn.8xlarge" -_m___________________________________________________________________________________________ = "m6idn_12xlarge" -_midnxlarg = "m6idn.12xlarge" -_m____________________________________________________________________________________________ = "m6idn_16xlarge" -_midnxlarge = "m6idn.16xlarge" -_m_____________________________________________________________________________________________ = "m6idn_24xlarge" -_midnxlarge_ = "m6idn.24xlarge" -_m______________________________________________________________________________________________ = "m6idn_32xlarge" -_midnxlarge__ = "m6idn.32xlarge" -_rl______________ = "r6in_large" -_rin = "r6in.large" -_rx______________ = "r6in_xlarge" -_rinx = "r6in.xlarge" -_r__________________________________________________________________________________ = ( - "r6in_2xlarge" -) -_rinxl = "r6in.2xlarge" -_r___________________________________________________________________________________ = "r6in_4xlarge" -_rinxla = "r6in.4xlarge" -_r____________________________________________________________________________________ = "r6in_8xlarge" -_rinxlar = "r6in.8xlarge" -_r_____________________________________________________________________________________ = "r6in_12xlarge" -_rinxlarg = "r6in.12xlarge" -_r______________________________________________________________________________________ = "r6in_16xlarge" -_rinxlarge = "r6in.16xlarge" -_r_______________________________________________________________________________________ = "r6in_24xlarge" -_rinxlarge_ = "r6in.24xlarge" -_r________________________________________________________________________________________ = "r6in_32xlarge" -_rinxlarge__ = "r6in.32xlarge" -_rl_______________ = "r6idn_large" -_ridn = "r6idn.large" -_rx_______________ = "r6idn_xlarge" -_ridnx = "r6idn.xlarge" -_r_________________________________________________________________________________________ = "r6idn_2xlarge" -_ridnxl = "r6idn.2xlarge" -_r__________________________________________________________________________________________ = "r6idn_4xlarge" -_ridnxla = "r6idn.4xlarge" -_r___________________________________________________________________________________________ = "r6idn_8xlarge" -_ridnxlar = "r6idn.8xlarge" -_r____________________________________________________________________________________________ = "r6idn_12xlarge" -_ridnxlarg = "r6idn.12xlarge" -_r_____________________________________________________________________________________________ = "r6idn_16xlarge" -_ridnxlarge = "r6idn.16xlarge" -_r______________________________________________________________________________________________ = "r6idn_24xlarge" -_ridnxlarge_ = "r6idn.24xlarge" -_r_______________________________________________________________________________________________ = "r6idn_32xlarge" -_ridnxlarge__ = "r6idn.32xlarge" -_cm_____________ = "c7g_metal" -_cgmet = "c7g.metal" -_mm________________ = "m7g_medium" -_mgme = "m7g.medium" -_ml_________________ = "m7g_large" -_mgla = "m7g.large" -_mx__________________ = "m7g_xlarge" -_mgxlarge_ = "m7g.xlarge" -_m_______________________________________________________________________________________________ = "m7g_2xlarge" -_mgxlarge__ = "m7g.2xlarge" -_m________________________________________________________________________________________________ = "m7g_4xlarge" -_mgxlarge___ = "m7g.4xlarge" -_m_________________________________________________________________________________________________ = "m7g_8xlarge" -_mgxlarge____ = "m7g.8xlarge" -_m__________________________________________________________________________________________________ = "m7g_12xlarge" -_mgxlarge_____ = "m7g.12xlarge" -_m___________________________________________________________________________________________________ = "m7g_16xlarge" -_mgxlarge______ = "m7g.16xlarge" -_mm_________________ = "m7g_metal" -_mgmet = "m7g.metal" -_rm____________ = "r7g_medium" -_rgme = "r7g.medium" -_rl________________ = "r7g_large" -_rgla = "r7g.large" -_rx________________ = "r7g_xlarge" -_rgxlarge_ = "r7g.xlarge" -_r________________________________________________________________________________________________ = "r7g_2xlarge" -_rgxlarge__ = "r7g.2xlarge" -_r_________________________________________________________________________________________________ = "r7g_4xlarge" -_rgxlarge___ = "r7g.4xlarge" -_r__________________________________________________________________________________________________ = "r7g_8xlarge" -_rgxlarge____ = "r7g.8xlarge" -_r___________________________________________________________________________________________________ = "r7g_12xlarge" -_rgxlarge_____ = "r7g.12xlarge" -_r____________________________________________________________________________________________________ = "r7g_16xlarge" -_rgxlarge______ = "r7g.16xlarge" -_rm_____________ = "r7g_metal" -_rgmet = "r7g.metal" -_cm______________ = "c6in_metal" -_cinm = "c6in.metal" -_mm__________________ = "m6in_metal" -_minm = "m6in.metal" -_mm___________________ = "m6idn_metal" -_midnm = "m6idn.metal" -_rm______________ = "r6in_metal" -_rinm = "r6in.metal" -_rm_______________ = "r6idn_metal" -_ridnm = "r6idn.metal" -_ix_______ = "inf2_xlarge" -_infxlarg = "inf2.xlarge" -_i____________________________ = "inf2_8xlarge" -_infxlarge = "inf2.8xlarge" -_i_____________________________ = "inf2_24xlarge" -_infxlarge_ = "inf2.24xlarge" -_i______________________________ = "inf2_48xlarge" -_infxlarge__ = "inf2.48xlarge" -_t_______ = "trn1n_32xlarge" -_trnn = "trn1n.32xlarge" -_il_____ = "i4g_large" -_igl = "i4g.large" -_ix________ = "i4g_xlarge" -_igx = "i4g.xlarge" -_i_______________________________ = "i4g_2xlarge" -_igxl = "i4g.2xlarge" -_i________________________________ = "i4g_4xlarge" -_igxla = "i4g.4xlarge" -_i_________________________________ = "i4g_8xlarge" -_igxlar = "i4g.8xlarge" -_i__________________________________ = "i4g_16xlarge" -_igxlarg = "i4g.16xlarge" -_h__________ = "hpc7g_4xlarge" -_hpcg = "hpc7g.4xlarge" -_h___________ = "hpc7g_8xlarge" -_hpcgx = "hpc7g.8xlarge" -_h____________ = "hpc7g_16xlarge" -_hpcgxl = "hpc7g.16xlarge" -_cm_______________ = "c7gn_medium" -_cgnm = "c7gn.medium" -_cl________________ = "c7gn_large" -_cgnla = "c7gn.large" -_cx________________ = "c7gn_xlarge" -_cgnxlarge_ = "c7gn.xlarge" -_c________________________________________________________________________________________ = "c7gn_2xlarge" -_cgnxlarge__ = "c7gn.2xlarge" -_c_________________________________________________________________________________________ = "c7gn_4xlarge" -_cgnxlarge___ = "c7gn.4xlarge" -_c__________________________________________________________________________________________ = "c7gn_8xlarge" -_cgnxlarge____ = "c7gn.8xlarge" -_c___________________________________________________________________________________________ = "c7gn_12xlarge" -_cgnxlarge_____ = "c7gn.12xlarge" -_c____________________________________________________________________________________________ = "c7gn_16xlarge" -_cgnxlarge______ = "c7gn.16xlarge" -_p_________ = "p5_48xlarge" -_pxlarge__ = "p5.48xlarge" -_ml__________________ = "m7i_large" -_mil = "m7i.large" -_mx___________________ = "m7i_xlarge" -_mixlarge___ = "m7i.xlarge" -_m____________________________________________________________________________________________________ = "m7i_2xlarge" -_mixlarge____ = "m7i.2xlarge" -_m_____________________________________________________________________________________________________ = "m7i_4xlarge" -_mixlarge_____ = "m7i.4xlarge" -_m______________________________________________________________________________________________________ = "m7i_8xlarge" -_mixlarge______ = "m7i.8xlarge" -_m_______________________________________________________________________________________________________ = "m7i_12xlarge" -_mixlarge_______ = "m7i.12xlarge" -_m________________________________________________________________________________________________________ = "m7i_16xlarge" -_mixlarge________ = "m7i.16xlarge" -_m_________________________________________________________________________________________________________ = "m7i_24xlarge" -_mixlarge_________ = "m7i.24xlarge" -_m__________________________________________________________________________________________________________ = "m7i_48xlarge" -_mixlarge__________ = "m7i.48xlarge" -_mfl = "m7i_flex_large" -_mf = "m7i-flex.large" -_mfx = "m7i_flex_xlarge" -_mf_ = "m7i-flex.xlarge" -_mf__ = "m7i_flex_2xlarge" -_mf___ = "m7i-flex.2xlarge" -_mf____ = "m7i_flex_4xlarge" -_mf_____ = "m7i-flex.4xlarge" -_mf______ = "m7i_flex_8xlarge" -_mf_______ = "m7i-flex.8xlarge" -_mm____________________ = "m7a_medium" -_mame = "m7a.medium" -_ml___________________ = "m7a_large" -_malar = "m7a.large" -_mx____________________ = "m7a_xlarge" -_maxlarge___________ = "m7a.xlarge" -_m___________________________________________________________________________________________________________ = "m7a_2xlarge" -_maxlarge____________ = "m7a.2xlarge" -_m____________________________________________________________________________________________________________ = "m7a_4xlarge" -_maxlarge_____________ = "m7a.4xlarge" -_m_____________________________________________________________________________________________________________ = "m7a_8xlarge" -_maxlarge______________ = "m7a.8xlarge" -_m______________________________________________________________________________________________________________ = "m7a_12xlarge" -_maxlarge_______________ = "m7a.12xlarge" -_m_______________________________________________________________________________________________________________ = "m7a_16xlarge" -_maxlarge________________ = "m7a.16xlarge" -_m________________________________________________________________________________________________________________ = "m7a_24xlarge" -_maxlarge_________________ = "m7a.24xlarge" -_m_________________________________________________________________________________________________________________ = "m7a_32xlarge" -_maxlarge__________________ = "m7a.32xlarge" -_m__________________________________________________________________________________________________________________ = "m7a_48xlarge" -_maxlarge___________________ = "m7a.48xlarge" -_mm_____________________ = "m7a_metal_48xl" -_m___________________________________________________________________________________________________________________ = "m7a.metal-48xl" -_h_____________ = "hpc7a_12xlarge" -_hpca = "hpc7a.12xlarge" -_h______________ = "hpc7a_24xlarge" -_hpcax = "hpc7a.24xlarge" -_h_______________ = "hpc7a_48xlarge" -_hpcaxl = "hpc7a.48xlarge" -_h________________ = "hpc7a_96xlarge" -_hpcaxla = "hpc7a.96xlarge" -_cm________________ = "c7gd_medium" -_cgdme = "c7gd.medium" -_cl_________________ = "c7gd_large" -_cgdla = "c7gd.large" -_cx_________________ = "c7gd_xlarge" -_cgdxlarge_ = "c7gd.xlarge" -_c_____________________________________________________________________________________________ = "c7gd_2xlarge" -_cgdxlarge__ = "c7gd.2xlarge" -_c______________________________________________________________________________________________ = "c7gd_4xlarge" -_cgdxlarge___ = "c7gd.4xlarge" -_c_______________________________________________________________________________________________ = "c7gd_8xlarge" -_cgdxlarge____ = "c7gd.8xlarge" -_c________________________________________________________________________________________________ = "c7gd_12xlarge" -_cgdxlarge_____ = "c7gd.12xlarge" -_c_________________________________________________________________________________________________ = "c7gd_16xlarge" -_cgdxlarge______ = "c7gd.16xlarge" -_mm______________________ = "m7gd_medium" -_mgdme = "m7gd.medium" -_ml____________________ = "m7gd_large" -_mgdla = "m7gd.large" -_mx_____________________ = "m7gd_xlarge" -_mgdxlarge_ = "m7gd.xlarge" -_m____________________________________________________________________________________________________________________ = "m7gd_2xlarge" -_mgdxlarge__ = "m7gd.2xlarge" -_m_____________________________________________________________________________________________________________________ = "m7gd_4xlarge" -_mgdxlarge___ = "m7gd.4xlarge" -_m______________________________________________________________________________________________________________________ = "m7gd_8xlarge" -_mgdxlarge____ = "m7gd.8xlarge" -_m_______________________________________________________________________________________________________________________ = "m7gd_12xlarge" -_mgdxlarge_____ = "m7gd.12xlarge" -_m________________________________________________________________________________________________________________________ = "m7gd_16xlarge" -_mgdxlarge______ = "m7gd.16xlarge" -_rm________________ = "r7gd_medium" -_rgdme = "r7gd.medium" -_rl_________________ = "r7gd_large" -_rgdla = "r7gd.large" -_rx_________________ = "r7gd_xlarge" -_rgdxlarge_ = "r7gd.xlarge" -_r_____________________________________________________________________________________________________ = "r7gd_2xlarge" -_rgdxlarge__ = "r7gd.2xlarge" -_r______________________________________________________________________________________________________ = "r7gd_4xlarge" -_rgdxlarge___ = "r7gd.4xlarge" -_r_______________________________________________________________________________________________________ = "r7gd_8xlarge" -_rgdxlarge____ = "r7gd.8xlarge" -_r________________________________________________________________________________________________________ = "r7gd_12xlarge" -_rgdxlarge_____ = "r7gd.12xlarge" -_r_________________________________________________________________________________________________________ = "r7gd_16xlarge" -_rgdxlarge______ = "r7gd.16xlarge" -_rm_________________ = "r7a_medium" -_rame = "r7a.medium" -_rl__________________ = "r7a_large" -_rala = "r7a.large" -_rx__________________ = "r7a_xlarge" -_raxlarge___________ = "r7a.xlarge" -_r__________________________________________________________________________________________________________ = "r7a_2xlarge" -_raxlarge____________ = "r7a.2xlarge" -_r___________________________________________________________________________________________________________ = "r7a_4xlarge" -_raxlarge_____________ = "r7a.4xlarge" -_r____________________________________________________________________________________________________________ = "r7a_8xlarge" -_raxlarge______________ = "r7a.8xlarge" -_r_____________________________________________________________________________________________________________ = "r7a_12xlarge" -_raxlarge_______________ = "r7a.12xlarge" -_r______________________________________________________________________________________________________________ = "r7a_16xlarge" -_raxlarge________________ = "r7a.16xlarge" -_r_______________________________________________________________________________________________________________ = "r7a_24xlarge" -_raxlarge_________________ = "r7a.24xlarge" -_r________________________________________________________________________________________________________________ = "r7a_32xlarge" -_raxlarge__________________ = "r7a.32xlarge" -_r_________________________________________________________________________________________________________________ = "r7a_48xlarge" -_raxlarge___________________ = "r7a.48xlarge" -_cl__________________ = "c7i_large" -_cila = "c7i.large" -_cx__________________ = "c7i_xlarge" -_cixlarge___ = "c7i.xlarge" -_c__________________________________________________________________________________________________ = "c7i_2xlarge" -_cixlarge____ = "c7i.2xlarge" -_c___________________________________________________________________________________________________ = "c7i_4xlarge" -_cixlarge_____ = "c7i.4xlarge" -_c____________________________________________________________________________________________________ = "c7i_8xlarge" -_cixlarge______ = "c7i.8xlarge" -_c_____________________________________________________________________________________________________ = "c7i_12xlarge" -_cixlarge_______ = "c7i.12xlarge" -_c______________________________________________________________________________________________________ = "c7i_16xlarge" -_cixlarge________ = "c7i.16xlarge" -_c_______________________________________________________________________________________________________ = "c7i_24xlarge" -_cixlarge_________ = "c7i.24xlarge" -_c________________________________________________________________________________________________________ = "c7i_48xlarge" -_cixlarge__________ = "c7i.48xlarge" -_mmm = "mac2_m2pro_metal" -_mm_______________________ = "mac2-m2pro.metal" -_rl___________________ = "r7iz_large" -_riz = "r7iz.large" -_rx___________________ = "r7iz_xlarge" -_rizx = "r7iz.xlarge" -_r__________________________________________________________________________________________________________________ = "r7iz_2xlarge" -_rizxl = "r7iz.2xlarge" -_r___________________________________________________________________________________________________________________ = "r7iz_4xlarge" -_rizxla = "r7iz.4xlarge" -_r____________________________________________________________________________________________________________________ = "r7iz_8xlarge" -_rizxlar = "r7iz.8xlarge" -_r_____________________________________________________________________________________________________________________ = "r7iz_12xlarge" -_rizxlarg = "r7iz.12xlarge" -_r______________________________________________________________________________________________________________________ = "r7iz_16xlarge" -_rizxlarge = "r7iz.16xlarge" -_r_______________________________________________________________________________________________________________________ = "r7iz_32xlarge" -_rizxlarge_ = "r7iz.32xlarge" -_cm_________________ = "c7a_medium" -_came = "c7a.medium" -_cl___________________ = "c7a_large" -_calar = "c7a.large" -_cx___________________ = "c7a_xlarge" -_caxlarge___________ = "c7a.xlarge" -_c_________________________________________________________________________________________________________ = "c7a_2xlarge" -_caxlarge____________ = "c7a.2xlarge" -_c__________________________________________________________________________________________________________ = "c7a_4xlarge" -_caxlarge_____________ = "c7a.4xlarge" -_c___________________________________________________________________________________________________________ = "c7a_8xlarge" -_caxlarge______________ = "c7a.8xlarge" -_c____________________________________________________________________________________________________________ = "c7a_12xlarge" -_caxlarge_______________ = "c7a.12xlarge" -_c_____________________________________________________________________________________________________________ = "c7a_16xlarge" -_caxlarge________________ = "c7a.16xlarge" -_c______________________________________________________________________________________________________________ = "c7a_24xlarge" -_caxlarge_________________ = "c7a.24xlarge" -_c_______________________________________________________________________________________________________________ = "c7a_32xlarge" -_caxlarge__________________ = "c7a.32xlarge" -_c________________________________________________________________________________________________________________ = "c7a_48xlarge" -_caxlarge___________________ = "c7a.48xlarge" -_cm__________________ = "c7a_metal_48xl" -_c_________________________________________________________________________________________________________________ = "c7a.metal-48xl" -_rm__________________ = "r7a_metal_48xl" -_r________________________________________________________________________________________________________________________ = "r7a.metal-48xl" -_rl____________________ = "r7i_large" -_rila = "r7i.large" -_rx____________________ = "r7i_xlarge" -_rixlarge___ = "r7i.xlarge" -_r_________________________________________________________________________________________________________________________ = "r7i_2xlarge" -_rixlarge____ = "r7i.2xlarge" -_r__________________________________________________________________________________________________________________________ = "r7i_4xlarge" -_rixlarge_____ = "r7i.4xlarge" -_r___________________________________________________________________________________________________________________________ = "r7i_8xlarge" -_rixlarge______ = "r7i.8xlarge" -_r____________________________________________________________________________________________________________________________ = "r7i_12xlarge" -_rixlarge_______ = "r7i.12xlarge" -_r_____________________________________________________________________________________________________________________________ = "r7i_16xlarge" -_rixlarge________ = "r7i.16xlarge" -_r______________________________________________________________________________________________________________________________ = "r7i_24xlarge" -_rixlarge_________ = "r7i.24xlarge" -_r_______________________________________________________________________________________________________________________________ = "r7i_48xlarge" -_rixlarge__________ = "r7i.48xlarge" -_d_____________ = "dl2q_24xlarge" -_dlq = "dl2q.24xlarge" -_mmm_ = "mac2_m2_metal" -_mm________________________ = "mac2-m2.metal" -_i___________________________________ = "i4i_12xlarge" -_iixlarge_ = "i4i.12xlarge" -_i____________________________________ = "i4i_24xlarge" -_iixlarge__ = "i4i.24xlarge" -_cm___________________ = "c7i_metal_24xl" -_c__________________________________________________________________________________________________________________ = "c7i.metal-24xl" -_cm____________________ = "c7i_metal_48xl" -_c___________________________________________________________________________________________________________________ = "c7i.metal-48xl" -_mm_________________________ = "m7i_metal_24xl" -_m_________________________________________________________________________________________________________________________ = "m7i.metal-24xl" -_mm__________________________ = "m7i_metal_48xl" -_m__________________________________________________________________________________________________________________________ = "m7i.metal-48xl" -_rm___________________ = "r7i_metal_24xl" -_r________________________________________________________________________________________________________________________________ = "r7i.metal-24xl" -_rm____________________ = "r7i_metal_48xl" -_r_________________________________________________________________________________________________________________________________ = "r7i.metal-48xl" -_rm_____________________ = "r7iz_metal_16xl" -_r__________________________________________________________________________________________________________________________________ = "r7iz.metal-16xl" -_rm______________________ = "r7iz_metal_32xl" -_r___________________________________________________________________________________________________________________________________ = "r7iz.metal-32xl" -_cm_____________________ = "c7gd_metal" -_cgdmet = "c7gd.metal" -_mm___________________________ = "m7gd_metal" -_mgdmet = "m7gd.metal" -_rm_______________________ = "r7gd_metal" -_rgdmet = "r7gd.metal" -_gx______ = "g6_xlarge" -_gxlarge________ = "g6.xlarge" -_g__________________________ = "g6_2xlarge" -_gxlarge_________ = "g6.2xlarge" -_g___________________________ = "g6_4xlarge" -_gxlarge__________ = "g6.4xlarge" -_g____________________________ = "g6_8xlarge" -_gxlarge___________ = "g6.8xlarge" -_g_____________________________ = "g6_12xlarge" -_gxlarge____________ = "g6.12xlarge" -_g______________________________ = "g6_16xlarge" -_gxlarge_____________ = "g6.16xlarge" -_g_______________________________ = "g6_24xlarge" -_gxlarge______________ = "g6.24xlarge" -_g________________________________ = "g6_48xlarge" -_gxlarge_______________ = "g6.48xlarge" -_g_________________________________ = "gr6_4xlarge" -_grx = "gr6.4xlarge" -_g__________________________________ = "gr6_8xlarge" -_grxl = "gr6.8xlarge" -_cfl = "c7i_flex_large" -_cf = "c7i-flex.large" -_cfx = "c7i_flex_xlarge" -_cf_ = "c7i-flex.xlarge" -_cf__ = "c7i_flex_2xlarge" -_cf___ = "c7i-flex.2xlarge" -_cf____ = "c7i_flex_4xlarge" -_cf_____ = "c7i-flex.4xlarge" -_cf______ = "c7i_flex_8xlarge" -_cf_______ = "c7i-flex.8xlarge" -_u____________________ = "u7i_12tb_224xlarge" -_u_____________________ = "u7i-12tb.224xlarge" -_u______________________ = "u7in_16tb_224xlarge" -_u_______________________ = "u7in-16tb.224xlarge" -_u________________________ = "u7in_24tb_224xlarge" -_u_________________________ = "u7in-24tb.224xlarge" -_u__________________________ = "u7in_32tb_224xlarge" -_u___________________________ = "u7in-32tb.224xlarge" -_u____________________________ = "u7ib_12tb_224xlarge" -_u_____________________________ = "u7ib-12tb.224xlarge" -_cm______________________ = "c7gn_metal" -_cgnme = "c7gn.metal" -_rm________________________ = "r8g_medium" -_rgmed = "r8g.medium" -_rl_____________________ = "r8g_large" -_rglar = "r8g.large" -_rx_____________________ = "r8g_xlarge" -_rgxlarge_______ = "r8g.xlarge" -_r____________________________________________________________________________________________________________________________________ = "r8g_2xlarge" -_rgxlarge________ = "r8g.2xlarge" -_r_____________________________________________________________________________________________________________________________________ = "r8g_4xlarge" -_rgxlarge_________ = "r8g.4xlarge" -_r______________________________________________________________________________________________________________________________________ = "r8g_8xlarge" -_rgxlarge__________ = "r8g.8xlarge" -_r_______________________________________________________________________________________________________________________________________ = "r8g_12xlarge" -_rgxlarge___________ = "r8g.12xlarge" -_r________________________________________________________________________________________________________________________________________ = "r8g_16xlarge" -_rgxlarge____________ = "r8g.16xlarge" -_r_________________________________________________________________________________________________________________________________________ = "r8g_24xlarge" -_rgxlarge_____________ = "r8g.24xlarge" -_r__________________________________________________________________________________________________________________________________________ = "r8g_48xlarge" -_rgxlarge______________ = "r8g.48xlarge" -_rm_________________________ = "r8g_metal_24xl" -_r___________________________________________________________________________________________________________________________________________ = "r8g.metal-24xl" -_rm__________________________ = "r8g_metal_48xl" -_r____________________________________________________________________________________________________________________________________________ = "r8g.metal-48xl" -_mmm__ = "mac2_m1ultra_metal" -_mm____________________________ = "mac2-m1ultra.metal" -_gx_______ = "g6e_xlarge" -_ge = "g6e.xlarge" -_g___________________________________ = "g6e_2xlarge" -_gex = "g6e.2xlarge" -_g____________________________________ = "g6e_4xlarge" -_gexl = "g6e.4xlarge" -_g_____________________________________ = "g6e_8xlarge" -_gexla = "g6e.8xlarge" -_g______________________________________ = "g6e_12xlarge" -_gexlar = "g6e.12xlarge" -_g_______________________________________ = "g6e_16xlarge" -_gexlarg = "g6e.16xlarge" -_g________________________________________ = "g6e_24xlarge" -_gexlarge = "g6e.24xlarge" -_g_________________________________________ = "g6e_48xlarge" -_gexlarge_ = "g6e.48xlarge" -_cm_______________________ = "c8g_medium" -_cgmedi = "c8g.medium" -_cl____________________ = "c8g_large" -_cglar = "c8g.large" -_cx____________________ = "c8g_xlarge" -_cgxlarge________ = "c8g.xlarge" -_c____________________________________________________________________________________________________________________ = "c8g_2xlarge" -_cgxlarge_________ = "c8g.2xlarge" -_c_____________________________________________________________________________________________________________________ = "c8g_4xlarge" -_cgxlarge__________ = "c8g.4xlarge" -_c______________________________________________________________________________________________________________________ = "c8g_8xlarge" -_cgxlarge___________ = "c8g.8xlarge" -_c_______________________________________________________________________________________________________________________ = "c8g_12xlarge" -_cgxlarge____________ = "c8g.12xlarge" -_c________________________________________________________________________________________________________________________ = "c8g_16xlarge" -_cgxlarge_____________ = "c8g.16xlarge" -_c_________________________________________________________________________________________________________________________ = "c8g_24xlarge" -_cgxlarge______________ = "c8g.24xlarge" -_c__________________________________________________________________________________________________________________________ = "c8g_48xlarge" -_cgxlarge_______________ = "c8g.48xlarge" -_cm________________________ = "c8g_metal_24xl" -_c___________________________________________________________________________________________________________________________ = "c8g.metal-24xl" -_cm_________________________ = "c8g_metal_48xl" -_c____________________________________________________________________________________________________________________________ = "c8g.metal-48xl" -_mm_____________________________ = "m8g_medium" -_mgmed = "m8g.medium" -_ml_____________________ = "m8g_large" -_mglar = "m8g.large" -_mx______________________ = "m8g_xlarge" -_mgxlarge_______ = "m8g.xlarge" -_m___________________________________________________________________________________________________________________________ = "m8g_2xlarge" -_mgxlarge________ = "m8g.2xlarge" -_m____________________________________________________________________________________________________________________________ = "m8g_4xlarge" -_mgxlarge_________ = "m8g.4xlarge" -_m_____________________________________________________________________________________________________________________________ = "m8g_8xlarge" -_mgxlarge__________ = "m8g.8xlarge" -_m______________________________________________________________________________________________________________________________ = "m8g_12xlarge" -_mgxlarge___________ = "m8g.12xlarge" -_m_______________________________________________________________________________________________________________________________ = "m8g_16xlarge" -_mgxlarge____________ = "m8g.16xlarge" -_m________________________________________________________________________________________________________________________________ = "m8g_24xlarge" -_mgxlarge_____________ = "m8g.24xlarge" -_m_________________________________________________________________________________________________________________________________ = "m8g_48xlarge" -_mgxlarge______________ = "m8g.48xlarge" -_mm______________________________ = "m8g_metal_24xl" -_m__________________________________________________________________________________________________________________________________ = "m8g.metal-24xl" -_mm_______________________________ = "m8g_metal_48xl" -_m___________________________________________________________________________________________________________________________________ = "m8g.metal-48xl" -_xm_____ = "x8g_medium" -_xgm = "x8g.medium" -_xl_ = "x8g_large" -_xgl = "x8g.large" -_xx____ = "x8g_xlarge" -_xgx = "x8g.xlarge" -_x___________________________ = "x8g_2xlarge" -_xgxl = "x8g.2xlarge" -_x____________________________ = "x8g_4xlarge" -_xgxla = "x8g.4xlarge" -_x_____________________________ = "x8g_8xlarge" -_xgxlar = "x8g.8xlarge" -_x______________________________ = "x8g_12xlarge" -_xgxlarg = "x8g.12xlarge" -_x_______________________________ = "x8g_16xlarge" -_xgxlarge = "x8g.16xlarge" -_x________________________________ = "x8g_24xlarge" -_xgxlarge_ = "x8g.24xlarge" -_x_________________________________ = "x8g_48xlarge" -_xgxlarge__ = "x8g.48xlarge" -_xm______ = "x8g_metal_24xl" -_x__________________________________ = "x8g.metal-24xl" -_xm_______ = "x8g_metal_48xl" -_x___________________________________ = "x8g.metal-48xl" -_il______ = "i7ie_large" -_iie = "i7ie.large" -_ix_________ = "i7ie_xlarge" -_iiex = "i7ie.xlarge" -_i_____________________________________ = "i7ie_2xlarge" -_iiexl = "i7ie.2xlarge" -_i______________________________________ = "i7ie_3xlarge" -_iiexla = "i7ie.3xlarge" -_i_______________________________________ = "i7ie_6xlarge" -_iiexlar = "i7ie.6xlarge" -_i________________________________________ = "i7ie_12xlarge" -_iiexlarg = "i7ie.12xlarge" -_i_________________________________________ = "i7ie_18xlarge" -_iiexlarge = "i7ie.18xlarge" -_i__________________________________________ = "i7ie_24xlarge" -_iiexlarge_ = "i7ie.24xlarge" -_i___________________________________________ = "i7ie_48xlarge" -_iiexlarge__ = "i7ie.48xlarge" -_il_______ = "i8g_large" -_igla = "i8g.large" -_ix__________ = "i8g_xlarge" -_igxlarge = "i8g.xlarge" -_i____________________________________________ = "i8g_2xlarge" -_igxlarge_ = "i8g.2xlarge" -_i_____________________________________________ = "i8g_4xlarge" -_igxlarge__ = "i8g.4xlarge" -_i______________________________________________ = "i8g_8xlarge" -_igxlarge___ = "i8g.8xlarge" -_i_______________________________________________ = "i8g_12xlarge" -_igxlarge____ = "i8g.12xlarge" -_i________________________________________________ = "i8g_16xlarge" -_igxlarge_____ = "i8g.16xlarge" -_i_________________________________________________ = "i8g_24xlarge" -_igxlarge______ = "i8g.24xlarge" -_im_____ = "i8g_metal_24xl" -_i__________________________________________________ = "i8g.metal-24xl" -_u______________________________ = "u7i_6tb_112xlarge" -_u_______________________________ = "u7i-6tb.112xlarge" -_u________________________________ = "u7i_8tb_112xlarge" -_u_________________________________ = "u7i-8tb.112xlarge" -_u__________________________________ = "u7inh_32tb_480xlarge" -_u___________________________________ = "u7inh-32tb.480xlarge" -_p__________ = "p5e_48xlarge" -_pex = "p5e.48xlarge" -_p___________ = "p5en_48xlarge" -_pen = "p5en.48xlarge" -_f____ = "f2_12xlarge" -_fxlar = "f2.12xlarge" -_f_____ = "f2_48xlarge" -_fxlarg = "f2.48xlarge" -_t________ = "trn2_48xlarge" -_trnxl = "trn2.48xlarge" -_cf________ = "c7i_flex_12xlarge" -_cf_________ = "c7i-flex.12xlarge" -_cf__________ = "c7i_flex_16xlarge" -_cf___________ = "c7i-flex.16xlarge" -_mf________ = "m7i_flex_12xlarge" -_mf_________ = "m7i-flex.12xlarge" -_mf__________ = "m7i_flex_16xlarge" -_mf___________ = "m7i-flex.16xlarge" -_im______ = "i7ie_metal_24xl" -_i___________________________________________________ = "i7ie.metal-24xl" -_im_______ = "i7ie_metal_48xl" -_i____________________________________________________ = "i7ie.metal-48xl" -_i_____________________________________________________ = "i8g_48xlarge" -_igxlarge_______ = "i8g.48xlarge" -_cm__________________________ = "c8gd_medium" -_cgdmed = "c8gd.medium" -_cl_____________________ = "c8gd_large" -_cgdlar = "c8gd.large" -_cx_____________________ = "c8gd_xlarge" -_cgdxlarge_______ = "c8gd.xlarge" -_c_____________________________________________________________________________________________________________________________ = "c8gd_2xlarge" -_cgdxlarge________ = "c8gd.2xlarge" -_c______________________________________________________________________________________________________________________________ = "c8gd_4xlarge" -_cgdxlarge_________ = "c8gd.4xlarge" -_c_______________________________________________________________________________________________________________________________ = "c8gd_8xlarge" -_cgdxlarge__________ = "c8gd.8xlarge" -_c________________________________________________________________________________________________________________________________ = "c8gd_12xlarge" -_cgdxlarge___________ = "c8gd.12xlarge" -_c_________________________________________________________________________________________________________________________________ = "c8gd_16xlarge" -_cgdxlarge____________ = "c8gd.16xlarge" -_c__________________________________________________________________________________________________________________________________ = "c8gd_24xlarge" -_cgdxlarge_____________ = "c8gd.24xlarge" -_c___________________________________________________________________________________________________________________________________ = "c8gd_48xlarge" -_cgdxlarge______________ = "c8gd.48xlarge" -_cm___________________________ = "c8gd_metal_24xl" -_c____________________________________________________________________________________________________________________________________ = "c8gd.metal-24xl" -_cm____________________________ = "c8gd_metal_48xl" -_c_____________________________________________________________________________________________________________________________________ = "c8gd.metal-48xl" -_il________ = "i7i_large" -_iil = "i7i.large" -_ix___________ = "i7i_xlarge" -_iixlarge___ = "i7i.xlarge" -_i______________________________________________________ = "i7i_2xlarge" -_iixlarge____ = "i7i.2xlarge" -_i_______________________________________________________ = "i7i_4xlarge" -_iixlarge_____ = "i7i.4xlarge" -_i________________________________________________________ = "i7i_8xlarge" -_iixlarge______ = "i7i.8xlarge" -_i_________________________________________________________ = "i7i_12xlarge" -_iixlarge_______ = "i7i.12xlarge" -_i__________________________________________________________ = "i7i_16xlarge" -_iixlarge________ = "i7i.16xlarge" -_i___________________________________________________________ = "i7i_24xlarge" -_iixlarge_________ = "i7i.24xlarge" -_i____________________________________________________________ = "i7i_48xlarge" -_iixlarge__________ = "i7i.48xlarge" -_im________ = "i7i_metal_24xl" -_i_____________________________________________________________ = "i7i.metal-24xl" -_im_________ = "i7i_metal_48xl" -_i______________________________________________________________ = "i7i.metal-48xl" -_pb = "p6_b200_48xlarge" -_pb_ = "p6-b200.48xlarge" -_mm________________________________ = "m8gd_medium" -_mgdmed = "m8gd.medium" -_ml______________________ = "m8gd_large" -_mgdlar = "m8gd.large" -_mx_______________________ = "m8gd_xlarge" -_mgdxlarge_______ = "m8gd.xlarge" -_m____________________________________________________________________________________________________________________________________ = "m8gd_2xlarge" -_mgdxlarge________ = "m8gd.2xlarge" -_m_____________________________________________________________________________________________________________________________________ = "m8gd_4xlarge" -_mgdxlarge_________ = "m8gd.4xlarge" -_m______________________________________________________________________________________________________________________________________ = "m8gd_8xlarge" -_mgdxlarge__________ = "m8gd.8xlarge" -_m_______________________________________________________________________________________________________________________________________ = "m8gd_12xlarge" -_mgdxlarge___________ = "m8gd.12xlarge" -_m________________________________________________________________________________________________________________________________________ = "m8gd_16xlarge" -_mgdxlarge____________ = "m8gd.16xlarge" -_m_________________________________________________________________________________________________________________________________________ = "m8gd_24xlarge" -_mgdxlarge_____________ = "m8gd.24xlarge" -_m__________________________________________________________________________________________________________________________________________ = "m8gd_48xlarge" -_mgdxlarge______________ = "m8gd.48xlarge" -_mm_________________________________ = "m8gd_metal_24xl" -_m___________________________________________________________________________________________________________________________________________ = "m8gd.metal-24xl" -_mm__________________________________ = "m8gd_metal_48xl" -_m____________________________________________________________________________________________________________________________________________ = "m8gd.metal-48xl" -_rm___________________________ = "r8gd_medium" -_rgdmed = "r8gd.medium" -_rl______________________ = "r8gd_large" -_rgdlar = "r8gd.large" -_rx______________________ = "r8gd_xlarge" -_rgdxlarge_______ = "r8gd.xlarge" -_r_____________________________________________________________________________________________________________________________________________ = "r8gd_2xlarge" -_rgdxlarge________ = "r8gd.2xlarge" -_r______________________________________________________________________________________________________________________________________________ = "r8gd_4xlarge" -_rgdxlarge_________ = "r8gd.4xlarge" -_r_______________________________________________________________________________________________________________________________________________ = "r8gd_8xlarge" -_rgdxlarge__________ = "r8gd.8xlarge" -_r________________________________________________________________________________________________________________________________________________ = "r8gd_12xlarge" -_rgdxlarge___________ = "r8gd.12xlarge" -_r_________________________________________________________________________________________________________________________________________________ = "r8gd_16xlarge" -_rgdxlarge____________ = "r8gd.16xlarge" -_r__________________________________________________________________________________________________________________________________________________ = "r8gd_24xlarge" -_rgdxlarge_____________ = "r8gd.24xlarge" -_r___________________________________________________________________________________________________________________________________________________ = "r8gd_48xlarge" -_rgdxlarge______________ = "r8gd.48xlarge" -_rm____________________________ = "r8gd_metal_24xl" -_r____________________________________________________________________________________________________________________________________________________ = "r8gd.metal-24xl" -_rm_____________________________ = "r8gd_metal_48xl" -_r_____________________________________________________________________________________________________________________________________________________ = "r8gd.metal-48xl" -_cm_____________________________ = "c8gn_medium" -_cgnmed = "c8gn.medium" -_cl______________________ = "c8gn_large" -_cgnlar = "c8gn.large" -_cx______________________ = "c8gn_xlarge" -_cgnxlarge_______ = "c8gn.xlarge" -_c______________________________________________________________________________________________________________________________________ = "c8gn_2xlarge" -_cgnxlarge________ = "c8gn.2xlarge" -_c_______________________________________________________________________________________________________________________________________ = "c8gn_4xlarge" -_cgnxlarge_________ = "c8gn.4xlarge" -_c________________________________________________________________________________________________________________________________________ = "c8gn_8xlarge" -_cgnxlarge__________ = "c8gn.8xlarge" -_c_________________________________________________________________________________________________________________________________________ = "c8gn_12xlarge" -_cgnxlarge___________ = "c8gn.12xlarge" -_c__________________________________________________________________________________________________________________________________________ = "c8gn_16xlarge" -_cgnxlarge____________ = "c8gn.16xlarge" -_c___________________________________________________________________________________________________________________________________________ = "c8gn_24xlarge" -_cgnxlarge_____________ = "c8gn.24xlarge" -_c____________________________________________________________________________________________________________________________________________ = "c8gn_48xlarge" -_cgnxlarge______________ = "c8gn.48xlarge" -_cm______________________________ = "c8gn_metal_24xl" -_c_____________________________________________________________________________________________________________________________________________ = "c8gn.metal-24xl" -_cm_______________________________ = "c8gn_metal_48xl" -_c______________________________________________________________________________________________________________________________________________ = "c8gn.metal-48xl" -_f______ = "f2_6xlarge" -_fxlarge = "f2.6xlarge" -_pg__ = "p6e_gb200_36xlarge" -_pg___ = "p6e-gb200.36xlarge" -_gl = "g6f_large" -_gf = "g6f.large" -_gx________ = "g6f_xlarge" -_gfx = "g6f.xlarge" -_g__________________________________________ = "g6f_2xlarge" -_gfxl = "g6f.2xlarge" -_g___________________________________________ = "g6f_4xlarge" -_gfxla = "g6f.4xlarge" -_g____________________________________________ = "gr6f_4xlarge" -_grf = "gr6f.4xlarge" -_p____________ = "p5_4xlarge" -_pxlarge___ = "p5.4xlarge" -_rl_______________________ = "r8i_large" -_rilar = "r8i.large" -_rx_______________________ = "r8i_xlarge" -_rixlarge___________ = "r8i.xlarge" -_r______________________________________________________________________________________________________________________________________________________ = "r8i_2xlarge" -_rixlarge____________ = "r8i.2xlarge" -_r_______________________________________________________________________________________________________________________________________________________ = "r8i_4xlarge" -_rixlarge_____________ = "r8i.4xlarge" -_r________________________________________________________________________________________________________________________________________________________ = "r8i_8xlarge" -_rixlarge______________ = "r8i.8xlarge" -_r_________________________________________________________________________________________________________________________________________________________ = "r8i_12xlarge" -_rixlarge_______________ = "r8i.12xlarge" -_r__________________________________________________________________________________________________________________________________________________________ = "r8i_16xlarge" -_rixlarge________________ = "r8i.16xlarge" -_r___________________________________________________________________________________________________________________________________________________________ = "r8i_24xlarge" -_rixlarge_________________ = "r8i.24xlarge" -_r____________________________________________________________________________________________________________________________________________________________ = "r8i_32xlarge" -_rixlarge__________________ = "r8i.32xlarge" -_r_____________________________________________________________________________________________________________________________________________________________ = "r8i_48xlarge" -_rixlarge___________________ = "r8i.48xlarge" -_r______________________________________________________________________________________________________________________________________________________________ = "r8i_96xlarge" -_rixlarge____________________ = "r8i.96xlarge" -_rm______________________________ = "r8i_metal_48xl" -_r_______________________________________________________________________________________________________________________________________________________________ = "r8i.metal-48xl" -_rm_______________________________ = "r8i_metal_96xl" -_r________________________________________________________________________________________________________________________________________________________________ = "r8i.metal-96xl" -_rfl = "r8i_flex_large" -_rf = "r8i-flex.large" -_rfx = "r8i_flex_xlarge" -_rf_ = "r8i-flex.xlarge" -_rf__ = "r8i_flex_2xlarge" -_rf___ = "r8i-flex.2xlarge" -_rf____ = "r8i_flex_4xlarge" -_rf_____ = "r8i-flex.4xlarge" -_rf______ = "r8i_flex_8xlarge" -_rf_______ = "r8i-flex.8xlarge" -_rf________ = "r8i_flex_12xlarge" -_rf_________ = "r8i-flex.12xlarge" -_rf__________ = "r8i_flex_16xlarge" -_rf___________ = "r8i-flex.16xlarge" -_ml_______________________ = "m8i_large" -_mila = "m8i.large" -_mx________________________ = "m8i_xlarge" -_mixlarge___________ = "m8i.xlarge" -_m_____________________________________________________________________________________________________________________________________________ = "m8i_2xlarge" -_mixlarge____________ = "m8i.2xlarge" -_m______________________________________________________________________________________________________________________________________________ = "m8i_4xlarge" -_mixlarge_____________ = "m8i.4xlarge" -_m_______________________________________________________________________________________________________________________________________________ = "m8i_8xlarge" -_mixlarge______________ = "m8i.8xlarge" -_m________________________________________________________________________________________________________________________________________________ = "m8i_12xlarge" -_mixlarge_______________ = "m8i.12xlarge" -_m_________________________________________________________________________________________________________________________________________________ = "m8i_16xlarge" -_mixlarge________________ = "m8i.16xlarge" -_m__________________________________________________________________________________________________________________________________________________ = "m8i_24xlarge" -_mixlarge_________________ = "m8i.24xlarge" -_m___________________________________________________________________________________________________________________________________________________ = "m8i_32xlarge" -_mixlarge__________________ = "m8i.32xlarge" -_m____________________________________________________________________________________________________________________________________________________ = "m8i_48xlarge" -_mixlarge___________________ = "m8i.48xlarge" -_m_____________________________________________________________________________________________________________________________________________________ = "m8i_96xlarge" -_mixlarge____________________ = "m8i.96xlarge" -_mm___________________________________ = "m8i_metal_48xl" -_m______________________________________________________________________________________________________________________________________________________ = "m8i.metal-48xl" -_mm____________________________________ = "m8i_metal_96xl" -_m_______________________________________________________________________________________________________________________________________________________ = "m8i.metal-96xl" -_mfl_ = "m8i_flex_large" -_mf____________ = "m8i-flex.large" -_mfx_ = "m8i_flex_xlarge" -_mf_____________ = "m8i-flex.xlarge" -_mf______________ = "m8i_flex_2xlarge" -_mf_______________ = "m8i-flex.2xlarge" -_mf________________ = "m8i_flex_4xlarge" -_mf_________________ = "m8i-flex.4xlarge" -_mf__________________ = "m8i_flex_8xlarge" -_mf___________________ = "m8i-flex.8xlarge" -_mf____________________ = "m8i_flex_12xlarge" -_mf_____________________ = "m8i-flex.12xlarge" -_mf______________________ = "m8i_flex_16xlarge" -_mf_______________________ = "m8i-flex.16xlarge" -_il_________ = "i8ge_large" -_ige = "i8ge.large" -_ix____________ = "i8ge_xlarge" -_igex = "i8ge.xlarge" -_i_______________________________________________________________ = "i8ge_2xlarge" -_igexl = "i8ge.2xlarge" -_i________________________________________________________________ = "i8ge_3xlarge" -_igexla = "i8ge.3xlarge" -_i_________________________________________________________________ = "i8ge_6xlarge" -_igexlar = "i8ge.6xlarge" -_i__________________________________________________________________ = "i8ge_12xlarge" -_igexlarg = "i8ge.12xlarge" -_i___________________________________________________________________ = "i8ge_18xlarge" -_igexlarge = "i8ge.18xlarge" -_i____________________________________________________________________ = "i8ge_24xlarge" -_igexlarge_ = "i8ge.24xlarge" -_i_____________________________________________________________________ = ( - "i8ge_48xlarge" -) -_igexlarge__ = "i8ge.48xlarge" -_im__________ = "i8ge_metal_24xl" -_i______________________________________________________________________ = ( - "i8ge.metal-24xl" -) -_im___________ = "i8ge_metal_48xl" -_i_______________________________________________________________________ = ( - "i8ge.metal-48xl" -) -_mmm___ = "mac_m4_metal" -_mm_____________________________________ = "mac-m4.metal" -_mmm____ = "mac_m4pro_metal" -_mm______________________________________ = "mac-m4pro.metal" -_rm________________________________ = "r8gn_medium" -_rgn = "r8gn.medium" -_rl________________________ = "r8gn_large" -_rgnl = "r8gn.large" -_rx________________________ = "r8gn_xlarge" -_rgnx = "r8gn.xlarge" -_r_________________________________________________________________________________________________________________________________________________________________ = "r8gn_2xlarge" -_rgnxl = "r8gn.2xlarge" -_r__________________________________________________________________________________________________________________________________________________________________ = "r8gn_4xlarge" -_rgnxla = "r8gn.4xlarge" -_r___________________________________________________________________________________________________________________________________________________________________ = "r8gn_8xlarge" -_rgnxlar = "r8gn.8xlarge" -_r____________________________________________________________________________________________________________________________________________________________________ = "r8gn_12xlarge" -_rgnxlarg = "r8gn.12xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________ = "r8gn_16xlarge" -_rgnxlarge = "r8gn.16xlarge" -_r______________________________________________________________________________________________________________________________________________________________________ = "r8gn_24xlarge" -_rgnxlarge_ = "r8gn.24xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________ = "r8gn_48xlarge" -_rgnxlarge__ = "r8gn.48xlarge" -_rm_________________________________ = "r8gn_metal_24xl" -_r________________________________________________________________________________________________________________________________________________________________________ = "r8gn.metal-24xl" -_rm__________________________________ = "r8gn_metal_48xl" -_r_________________________________________________________________________________________________________________________________________________________________________ = "r8gn.metal-48xl" -_cl_______________________ = "c8i_large" -_cilar = "c8i.large" -_cx_______________________ = "c8i_xlarge" -_cixlarge___________ = "c8i.xlarge" -_c_______________________________________________________________________________________________________________________________________________ = "c8i_2xlarge" -_cixlarge____________ = "c8i.2xlarge" -_c________________________________________________________________________________________________________________________________________________ = "c8i_4xlarge" -_cixlarge_____________ = "c8i.4xlarge" -_c_________________________________________________________________________________________________________________________________________________ = "c8i_8xlarge" -_cixlarge______________ = "c8i.8xlarge" -_c__________________________________________________________________________________________________________________________________________________ = "c8i_12xlarge" -_cixlarge_______________ = "c8i.12xlarge" -_c___________________________________________________________________________________________________________________________________________________ = "c8i_16xlarge" -_cixlarge________________ = "c8i.16xlarge" -_c____________________________________________________________________________________________________________________________________________________ = "c8i_24xlarge" -_cixlarge_________________ = "c8i.24xlarge" -_c_____________________________________________________________________________________________________________________________________________________ = "c8i_32xlarge" -_cixlarge__________________ = "c8i.32xlarge" -_c______________________________________________________________________________________________________________________________________________________ = "c8i_48xlarge" -_cixlarge___________________ = "c8i.48xlarge" -_c_______________________________________________________________________________________________________________________________________________________ = "c8i_96xlarge" -_cixlarge____________________ = "c8i.96xlarge" -_cm________________________________ = "c8i_metal_48xl" -_c________________________________________________________________________________________________________________________________________________________ = "c8i.metal-48xl" -_cm_________________________________ = "c8i_metal_96xl" -_c_________________________________________________________________________________________________________________________________________________________ = "c8i.metal-96xl" -_cfl_ = "c8i_flex_large" -_cf____________ = "c8i-flex.large" -_cfx_ = "c8i_flex_xlarge" -_cf_____________ = "c8i-flex.xlarge" -_cf______________ = "c8i_flex_2xlarge" -_cf_______________ = "c8i-flex.2xlarge" -_cf________________ = "c8i_flex_4xlarge" -_cf_________________ = "c8i-flex.4xlarge" -_cf__________________ = "c8i_flex_8xlarge" -_cf___________________ = "c8i-flex.8xlarge" -_cf____________________ = "c8i_flex_12xlarge" -_cf_____________________ = "c8i-flex.12xlarge" -_cf______________________ = "c8i_flex_16xlarge" -_cf_______________________ = "c8i-flex.16xlarge" -_rm___________________________________ = "r8gb_medium" -_rgb = "r8gb.medium" -_rl_________________________ = "r8gb_large" -_rgbl = "r8gb.large" -_rx_________________________ = "r8gb_xlarge" -_rgbx = "r8gb.xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________ = "r8gb_2xlarge" -_rgbxl = "r8gb.2xlarge" -_r___________________________________________________________________________________________________________________________________________________________________________ = "r8gb_4xlarge" -_rgbxla = "r8gb.4xlarge" -_r____________________________________________________________________________________________________________________________________________________________________________ = "r8gb_8xlarge" -_rgbxlar = "r8gb.8xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________ = "r8gb_12xlarge" -_rgbxlarg = "r8gb.12xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________ = "r8gb_16xlarge" -_rgbxlarge = "r8gb.16xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________ = "r8gb_24xlarge" -_rgbxlarge_ = "r8gb.24xlarge" -_rm____________________________________ = "r8gb_metal_24xl" -_r________________________________________________________________________________________________________________________________________________________________________________ = "r8gb.metal-24xl" -_mm_______________________________________ = "m8a_medium" -_mamed = "m8a.medium" -_ml________________________ = "m8a_large" -_malarg = "m8a.large" -_mx_________________________ = "m8a_xlarge" -_maxlarge____________________ = "m8a.xlarge" -_m________________________________________________________________________________________________________________________________________________________ = "m8a_2xlarge" -_maxlarge_____________________ = "m8a.2xlarge" -_m_________________________________________________________________________________________________________________________________________________________ = "m8a_4xlarge" -_maxlarge______________________ = "m8a.4xlarge" -_m__________________________________________________________________________________________________________________________________________________________ = "m8a_8xlarge" -_maxlarge_______________________ = "m8a.8xlarge" -_m___________________________________________________________________________________________________________________________________________________________ = "m8a_12xlarge" -_maxlarge________________________ = "m8a.12xlarge" -_m____________________________________________________________________________________________________________________________________________________________ = "m8a_16xlarge" -_maxlarge_________________________ = "m8a.16xlarge" -_m_____________________________________________________________________________________________________________________________________________________________ = "m8a_24xlarge" -_maxlarge__________________________ = "m8a.24xlarge" -_m______________________________________________________________________________________________________________________________________________________________ = "m8a_48xlarge" -_maxlarge___________________________ = "m8a.48xlarge" -_mm________________________________________ = "m8a_metal_24xl" -_m_______________________________________________________________________________________________________________________________________________________________ = "m8a.metal-24xl" -_mm_________________________________________ = "m8a_metal_48xl" -_m________________________________________________________________________________________________________________________________________________________________ = "m8a.metal-48xl" -_t_________ = "trn2_3xlarge" -_trnxla = "trn2.3xlarge" -_rm_____________________________________ = "r8a_medium" -_ramed = "r8a.medium" -_rl__________________________ = "r8a_large" -_ralar = "r8a.large" -_rx__________________________ = "r8a_xlarge" -_raxlarge____________________ = "r8a.xlarge" -_r_________________________________________________________________________________________________________________________________________________________________________________ = "r8a_2xlarge" -_raxlarge_____________________ = "r8a.2xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________________ = "r8a_4xlarge" -_raxlarge______________________ = "r8a.4xlarge" -_r___________________________________________________________________________________________________________________________________________________________________________________ = "r8a_8xlarge" -_raxlarge_______________________ = "r8a.8xlarge" -_r____________________________________________________________________________________________________________________________________________________________________________________ = "r8a_12xlarge" -_raxlarge________________________ = "r8a.12xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________________ = "r8a_16xlarge" -_raxlarge_________________________ = "r8a.16xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________________ = "r8a_24xlarge" -_raxlarge__________________________ = "r8a.24xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________________ = "r8a_48xlarge" -_raxlarge___________________________ = "r8a.48xlarge" -_rm______________________________________ = "r8a_metal_24xl" -_r________________________________________________________________________________________________________________________________________________________________________________________ = "r8a.metal-24xl" -_rm_______________________________________ = "r8a_metal_48xl" -_r_________________________________________________________________________________________________________________________________________________________________________________________ = "r8a.metal-48xl" -_pb__ = "p6_b300_48xlarge" -_pb___ = "p6-b300.48xlarge" -_cm__________________________________ = "c8a_medium" -_camed = "c8a.medium" -_cl________________________ = "c8a_large" -_calarg = "c8a.large" -_cx________________________ = "c8a_xlarge" -_caxlarge____________________ = "c8a.xlarge" -_c__________________________________________________________________________________________________________________________________________________________ = "c8a_2xlarge" -_caxlarge_____________________ = "c8a.2xlarge" -_c___________________________________________________________________________________________________________________________________________________________ = "c8a_4xlarge" -_caxlarge______________________ = "c8a.4xlarge" -_c____________________________________________________________________________________________________________________________________________________________ = "c8a_8xlarge" -_caxlarge_______________________ = "c8a.8xlarge" -_c_____________________________________________________________________________________________________________________________________________________________ = "c8a_12xlarge" -_caxlarge________________________ = "c8a.12xlarge" -_c______________________________________________________________________________________________________________________________________________________________ = "c8a_16xlarge" -_caxlarge_________________________ = "c8a.16xlarge" -_c_______________________________________________________________________________________________________________________________________________________________ = "c8a_24xlarge" -_caxlarge__________________________ = "c8a.24xlarge" -_c________________________________________________________________________________________________________________________________________________________________ = "c8a_48xlarge" -_caxlarge___________________________ = "c8a.48xlarge" -_cm___________________________________ = "c8a_metal_24xl" -_c_________________________________________________________________________________________________________________________________________________________________ = "c8a.metal-24xl" -_cm____________________________________ = "c8a_metal_48xl" -_c__________________________________________________________________________________________________________________________________________________________________ = "c8a.metal-48xl" -_c___________________________________________________________________________________________________________________________________________________________________ = "c8gb_12xlarge" -_cgb = "c8gb.12xlarge" -_c____________________________________________________________________________________________________________________________________________________________________ = "c8gb_16xlarge" -_cgbx = "c8gb.16xlarge" -_c_____________________________________________________________________________________________________________________________________________________________________ = "c8gb_24xlarge" -_cgbxl = "c8gb.24xlarge" -_c______________________________________________________________________________________________________________________________________________________________________ = "c8gb_2xlarge" -_cgbxla = "c8gb.2xlarge" -_c_______________________________________________________________________________________________________________________________________________________________________ = "c8gb_4xlarge" -_cgbxlar = "c8gb.4xlarge" -_c________________________________________________________________________________________________________________________________________________________________________ = "c8gb_8xlarge" -_cgbxlarg = "c8gb.8xlarge" -_cl_________________________ = "c8gb_large" -_cgbl = "c8gb.large" -_cm_____________________________________ = "c8gb_medium" -_cgbm = "c8gb.medium" -_cm______________________________________ = "c8gb_metal_24xl" -_c_________________________________________________________________________________________________________________________________________________________________________ = "c8gb.metal-24xl" -_cx_________________________ = "c8gb_xlarge" -_cgbxlarge = "c8gb.xlarge" -_c__________________________________________________________________________________________________________________________________________________________________________ = "c8gb_48xlarge" -_cgbxlarge_ = "c8gb.48xlarge" -_cm_______________________________________ = "c8gb_metal_48xl" -_c___________________________________________________________________________________________________________________________________________________________________________ = "c8gb.metal-48xl" -_m_________________________________________________________________________________________________________________________________________________________________ = "m8gb_12xlarge" -_mgb = "m8gb.12xlarge" -_m__________________________________________________________________________________________________________________________________________________________________ = "m8gb_16xlarge" -_mgbx = "m8gb.16xlarge" -_m___________________________________________________________________________________________________________________________________________________________________ = "m8gb_24xlarge" -_mgbxl = "m8gb.24xlarge" -_m____________________________________________________________________________________________________________________________________________________________________ = "m8gb_2xlarge" -_mgbxla = "m8gb.2xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________ = "m8gb_4xlarge" -_mgbxlar = "m8gb.4xlarge" -_m______________________________________________________________________________________________________________________________________________________________________ = "m8gb_8xlarge" -_mgbxlarg = "m8gb.8xlarge" -_ml_________________________ = "m8gb_large" -_mgbl = "m8gb.large" -_mm__________________________________________ = "m8gb_medium" -_mgbm = "m8gb.medium" -_mx__________________________ = "m8gb_xlarge" -_mgbxlarge = "m8gb.xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________ = "m8gb_48xlarge" -_mgbxlarge_ = "m8gb.48xlarge" -_mm___________________________________________ = "m8gb_metal_24xl" -_m________________________________________________________________________________________________________________________________________________________________________ = "m8gb.metal-24xl" -_mm____________________________________________ = "m8gb_metal_48xl" -_m_________________________________________________________________________________________________________________________________________________________________________ = "m8gb.metal-48xl" -_m__________________________________________________________________________________________________________________________________________________________________________ = "m8gn_12xlarge" -_mgn = "m8gn.12xlarge" -_m___________________________________________________________________________________________________________________________________________________________________________ = "m8gn_16xlarge" -_mgnx = "m8gn.16xlarge" -_m____________________________________________________________________________________________________________________________________________________________________________ = "m8gn_24xlarge" -_mgnxl = "m8gn.24xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________ = "m8gn_2xlarge" -_mgnxla = "m8gn.2xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________ = "m8gn_48xlarge" -_mgnxlar = "m8gn.48xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________________ = "m8gn_4xlarge" -_mgnxlarg = "m8gn.4xlarge" -_m________________________________________________________________________________________________________________________________________________________________________________ = "m8gn_8xlarge" -_mgnxlarge = "m8gn.8xlarge" -_ml__________________________ = "m8gn_large" -_mgnl = "m8gn.large" -_mm_____________________________________________ = "m8gn_medium" -_mgnm = "m8gn.medium" -_mx___________________________ = "m8gn_xlarge" -_mgnxlarge_ = "m8gn.xlarge" -_mm______________________________________________ = "m8gn_metal_24xl" -_m_________________________________________________________________________________________________________________________________________________________________________________ = "m8gn.metal-24xl" -_mm_______________________________________________ = "m8gn_metal_48xl" -_m__________________________________________________________________________________________________________________________________________________________________________________ = "m8gn.metal-48xl" -_x____________________________________ = "x8aedz_12xlarge" -_xa = "x8aedz.12xlarge" -_x_____________________________________ = "x8aedz_24xlarge" -_xae = "x8aedz.24xlarge" -_x______________________________________ = "x8aedz_3xlarge" -_xaed = "x8aedz.3xlarge" -_x_______________________________________ = "x8aedz_6xlarge" -_xaedz = "x8aedz.6xlarge" -_xl__ = "x8aedz_large" -_xaedzl = "x8aedz.large" -_xm________ = "x8aedz_metal_12xl" -_x________________________________________ = "x8aedz.metal-12xl" -_xm_________ = "x8aedz_metal_24xl" -_x_________________________________________ = "x8aedz.metal-24xl" -_xx_____ = "x8aedz_xlarge" -_xaedzx = "x8aedz.xlarge" -_mm________________________________________________ = "m8azn_medium" -_maz = "m8azn.medium" -_ml___________________________ = "m8azn_large" -_mazn = "m8azn.large" -_mx____________________________ = "m8azn_xlarge" -_maznx = "m8azn.xlarge" -_m___________________________________________________________________________________________________________________________________________________________________________________ = "m8azn_3xlarge" -_maznxl = "m8azn.3xlarge" -_m____________________________________________________________________________________________________________________________________________________________________________________ = "m8azn_6xlarge" -_maznxla = "m8azn.6xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________________ = "m8azn_12xlarge" -_maznxlar = "m8azn.12xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________________ = "m8azn_24xlarge" -_maznxlarg = "m8azn.24xlarge" -_mm_________________________________________________ = "m8azn_metal_12xl" -_m_______________________________________________________________________________________________________________________________________________________________________________________ = "m8azn.metal-12xl" -_mm__________________________________________________ = "m8azn_metal_24xl" -_m________________________________________________________________________________________________________________________________________________________________________________________ = "m8azn.metal-24xl" -_xl___ = "x8i_large" -_xil = "x8i.large" -_xx______ = "x8i_xlarge" -_xix = "x8i.xlarge" -_x__________________________________________ = "x8i_2xlarge" -_xixl = "x8i.2xlarge" -_x___________________________________________ = "x8i_4xlarge" -_xixla = "x8i.4xlarge" -_x____________________________________________ = "x8i_8xlarge" -_xixlar = "x8i.8xlarge" -_x_____________________________________________ = "x8i_12xlarge" -_xixlarg = "x8i.12xlarge" -_x______________________________________________ = "x8i_16xlarge" -_xixlarge = "x8i.16xlarge" -_x_______________________________________________ = "x8i_24xlarge" -_xixlarge_ = "x8i.24xlarge" -_x________________________________________________ = "x8i_32xlarge" -_xixlarge__ = "x8i.32xlarge" -_x_________________________________________________ = "x8i_48xlarge" -_xixlarge___ = "x8i.48xlarge" -_x__________________________________________________ = "x8i_64xlarge" -_xixlarge____ = "x8i.64xlarge" -_x___________________________________________________ = "x8i_96xlarge" -_xixlarge_____ = "x8i.96xlarge" -_xm__________ = "x8i_metal_48xl" -_x____________________________________________________ = "x8i.metal-48xl" -_xm___________ = "x8i_metal_96xl" -_x_____________________________________________________ = "x8i.metal-96xl" -_mmm_____ = "mac_m4max_metal" -_mm___________________________________________________ = "mac-m4max.metal" -_g_____________________________________________ = "g7e_2xlarge" -_gexlarge__ = "g7e.2xlarge" -_g______________________________________________ = "g7e_4xlarge" -_gexlarge___ = "g7e.4xlarge" -_g_______________________________________________ = "g7e_8xlarge" -_gexlarge____ = "g7e.8xlarge" -_g________________________________________________ = "g7e_12xlarge" -_gexlarge_____ = "g7e.12xlarge" -_g_________________________________________________ = "g7e_24xlarge" -_gexlarge______ = "g7e.24xlarge" -_g__________________________________________________ = "g7e_48xlarge" -_gexlarge_______ = "g7e.48xlarge" -_rl___________________________ = "r8id_large" -_ridl = "r8id.large" -_rx___________________________ = "r8id_xlarge" -_ridxlarge___ = "r8id.xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_2xlarge" -_ridxlarge____ = "r8id.2xlarge" -_r___________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_4xlarge" -_ridxlarge_____ = "r8id.4xlarge" -_r____________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_8xlarge" -_ridxlarge______ = "r8id.8xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_12xlarge" -_ridxlarge_______ = "r8id.12xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_16xlarge" -_ridxlarge________ = "r8id.16xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_24xlarge" -_ridxlarge_________ = "r8id.24xlarge" -_r________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_32xlarge" -_ridxlarge__________ = "r8id.32xlarge" -_r_________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_48xlarge" -_ridxlarge___________ = "r8id.48xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_96xlarge" -_ridxlarge____________ = "r8id.96xlarge" -_rm________________________________________ = "r8id_metal_48xl" -_r___________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id.metal-48xl" -_rm_________________________________________ = "r8id_metal_96xl" -_r____________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id.metal-96xl" -_cl__________________________ = "c8id_large" -_cidl = "c8id.large" -_cx__________________________ = "c8id_xlarge" -_cidxlarge___ = "c8id.xlarge" -_c____________________________________________________________________________________________________________________________________________________________________________ = "c8id_2xlarge" -_cidxlarge____ = "c8id.2xlarge" -_c_____________________________________________________________________________________________________________________________________________________________________________ = "c8id_4xlarge" -_cidxlarge_____ = "c8id.4xlarge" -_c______________________________________________________________________________________________________________________________________________________________________________ = "c8id_8xlarge" -_cidxlarge______ = "c8id.8xlarge" -_c_______________________________________________________________________________________________________________________________________________________________________________ = "c8id_12xlarge" -_cidxlarge_______ = "c8id.12xlarge" -_c________________________________________________________________________________________________________________________________________________________________________________ = "c8id_16xlarge" -_cidxlarge________ = "c8id.16xlarge" -_c_________________________________________________________________________________________________________________________________________________________________________________ = "c8id_24xlarge" -_cidxlarge_________ = "c8id.24xlarge" -_c__________________________________________________________________________________________________________________________________________________________________________________ = "c8id_32xlarge" -_cidxlarge__________ = "c8id.32xlarge" -_c___________________________________________________________________________________________________________________________________________________________________________________ = "c8id_48xlarge" -_cidxlarge___________ = "c8id.48xlarge" -_c____________________________________________________________________________________________________________________________________________________________________________________ = "c8id_96xlarge" -_cidxlarge____________ = "c8id.96xlarge" -_cm________________________________________ = "c8id_metal_48xl" -_c_____________________________________________________________________________________________________________________________________________________________________________________ = "c8id.metal-48xl" -_cm_________________________________________ = "c8id_metal_96xl" -_c______________________________________________________________________________________________________________________________________________________________________________________ = "c8id.metal-96xl" -_ml____________________________ = "m8id_large" -_midl = "m8id.large" -_mx_____________________________ = "m8id_xlarge" -_midxlarge___ = "m8id.xlarge" -_m_________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_2xlarge" -_midxlarge____ = "m8id.2xlarge" -_m__________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_4xlarge" -_midxlarge_____ = "m8id.4xlarge" -_m___________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_8xlarge" -_midxlarge______ = "m8id.8xlarge" -_m____________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_12xlarge" -_midxlarge_______ = "m8id.12xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_16xlarge" -_midxlarge________ = "m8id.16xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_24xlarge" -_midxlarge_________ = "m8id.24xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_32xlarge" -_midxlarge__________ = "m8id.32xlarge" -_m________________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_48xlarge" -_midxlarge___________ = "m8id.48xlarge" -_m_________________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_96xlarge" -_midxlarge____________ = "m8id.96xlarge" -_mm____________________________________________________ = "m8id_metal_48xl" -_m__________________________________________________________________________________________________________________________________________________________________________________________________ = "m8id.metal-48xl" -_mm_____________________________________________________ = "m8id_metal_96xl" -_m___________________________________________________________________________________________________________________________________________________________________________________________________ = "m8id.metal-96xl" -_h_________________ = "hpc8a_96xlarge" -_hpcaxlar = "hpc8a.96xlarge" -_cl___________________________ = "c8in_large" -_cinl = "c8in.large" -_cx___________________________ = "c8in_xlarge" -_cinxlarge___ = "c8in.xlarge" -_c_______________________________________________________________________________________________________________________________________________________________________________________ = "c8in_2xlarge" -_cinxlarge____ = "c8in.2xlarge" -_c________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_4xlarge" -_cinxlarge_____ = "c8in.4xlarge" -_c_________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_8xlarge" -_cinxlarge______ = "c8in.8xlarge" -_c__________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_12xlarge" -_cinxlarge_______ = "c8in.12xlarge" -_c___________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_16xlarge" -_cinxlarge________ = "c8in.16xlarge" -_c____________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_24xlarge" -_cinxlarge_________ = "c8in.24xlarge" -_c_____________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_32xlarge" -_cinxlarge__________ = "c8in.32xlarge" -_c______________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_48xlarge" -_cinxlarge___________ = "c8in.48xlarge" -_c_______________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_96xlarge" -_cinxlarge____________ = "c8in.96xlarge" -_cm__________________________________________ = "c8in_metal_48xl" -_c________________________________________________________________________________________________________________________________________________________________________________________________ = "c8in.metal-48xl" -_cm___________________________________________ = "c8in_metal_96xl" -_c_________________________________________________________________________________________________________________________________________________________________________________________________ = "c8in.metal-96xl" -_cl____________________________ = "c8ib_large" -_cib = "c8ib.large" -_cx____________________________ = "c8ib_xlarge" -_cibx = "c8ib.xlarge" -_c__________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_2xlarge" -_cibxl = "c8ib.2xlarge" -_c___________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_4xlarge" -_cibxla = "c8ib.4xlarge" -_c____________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_8xlarge" -_cibxlar = "c8ib.8xlarge" -_c_____________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_12xlarge" -_cibxlarg = "c8ib.12xlarge" -_c______________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_16xlarge" -_cibxlarge = "c8ib.16xlarge" -_c_______________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_24xlarge" -_cibxlarge_ = "c8ib.24xlarge" -_c________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_32xlarge" -_cibxlarge__ = "c8ib.32xlarge" -_c_________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_48xlarge" -_cibxlarge___ = "c8ib.48xlarge" -_c__________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_96xlarge" -_cibxlarge____ = "c8ib.96xlarge" -_cm____________________________________________ = "c8ib_metal_48xl" -_c___________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib.metal-48xl" -_cm_____________________________________________ = "c8ib_metal_96xl" -_c____________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib.metal-96xl" -_rl____________________________ = "r8in_large" -_rinl = "r8in.large" -_rx____________________________ = "r8in_xlarge" -_rinxlarge___ = "r8in.xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_2xlarge" -_rinxlarge____ = "r8in.2xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_4xlarge" -_rinxlarge_____ = "r8in.4xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_8xlarge" -_rinxlarge______ = "r8in.8xlarge" -_r________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_12xlarge" -_rinxlarge_______ = "r8in.12xlarge" -_r_________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_16xlarge" -_rinxlarge________ = "r8in.16xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_24xlarge" -_rinxlarge_________ = "r8in.24xlarge" -_r___________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_32xlarge" -_rinxlarge__________ = "r8in.32xlarge" -_r____________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_48xlarge" -_rinxlarge___________ = "r8in.48xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_96xlarge" -_rinxlarge____________ = "r8in.96xlarge" -_rl_____________________________ = "r8ib_large" -_rib = "r8ib.large" -_rx_____________________________ = "r8ib_xlarge" -_ribx = "r8ib.xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_2xlarge" -_ribxl = "r8ib.2xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_4xlarge" -_ribxla = "r8ib.4xlarge" -_r________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_8xlarge" -_ribxlar = "r8ib.8xlarge" -_r_________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_12xlarge" -_ribxlarg = "r8ib.12xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_16xlarge" -_ribxlarge = "r8ib.16xlarge" -_r___________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_24xlarge" -_ribxlarge_ = "r8ib.24xlarge" -_r____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_32xlarge" -_ribxlarge__ = "r8ib.32xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_48xlarge" -_ribxlarge___ = "r8ib.48xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_96xlarge" -_ribxlarge____ = "r8ib.96xlarge" -_ml_____________________________ = "m8in_large" -_minl = "m8in.large" -_mx______________________________ = "m8in_xlarge" -_minxlarge___ = "m8in.xlarge" -_m____________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_2xlarge" -_minxlarge____ = "m8in.2xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_4xlarge" -_minxlarge_____ = "m8in.4xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_8xlarge" -_minxlarge______ = "m8in.8xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_12xlarge" -_minxlarge_______ = "m8in.12xlarge" -_m________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_16xlarge" -_minxlarge________ = "m8in.16xlarge" -_m_________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_24xlarge" -_minxlarge_________ = "m8in.24xlarge" -_m__________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_32xlarge" -_minxlarge__________ = "m8in.32xlarge" -_m___________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_48xlarge" -_minxlarge___________ = "m8in.48xlarge" -_m____________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_96xlarge" -_minxlarge____________ = "m8in.96xlarge" -_ml______________________________ = "m8ib_large" -_mib = "m8ib.large" -_mx_______________________________ = "m8ib_xlarge" -_mibx = "m8ib.xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_2xlarge" -_mibxl = "m8ib.2xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_4xlarge" -_mibxla = "m8ib.4xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_8xlarge" -_mibxlar = "m8ib.8xlarge" -_m________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_12xlarge" -_mibxlarg = "m8ib.12xlarge" -_m_________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_16xlarge" -_mibxlarge = "m8ib.16xlarge" -_m__________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_24xlarge" -_mibxlarge_ = "m8ib.24xlarge" -_m___________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_32xlarge" -_mibxlarge__ = "m8ib.32xlarge" -_m____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_48xlarge" -_mibxlarge___ = "m8ib.48xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_96xlarge" -_mibxlarge____ = "m8ib.96xlarge" -_ml_______________________________ = "m8ine_large" -_mine = "m8ine.large" -_mx________________________________ = "m8ine_xlarge" -_minex = "m8ine.xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ine_2xlarge" -_minexl = "m8ine.2xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ine_4xlarge" -_minexla = "m8ine.4xlarge" -_m________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ine_8xlarge" -_minexlar = "m8ine.8xlarge" -_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ine_12xlarge" -_minexlarg = "m8ine.12xlarge" -_cl_____________________________ = "c8ine_large" -_cine = "c8ine.large" -_cx_____________________________ = "c8ine_xlarge" -_cinex = "c8ine.xlarge" -_c_____________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ine_2xlarge" -_cinexl = "c8ine.2xlarge" -_c______________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ine_4xlarge" -_cinexla = "c8ine.4xlarge" -_c_______________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ine_8xlarge" -_cinexlar = "c8ine.8xlarge" -_c________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ine_12xlarge" -_cinexlarg = "c8ine.12xlarge" -_ml________________________________ = "m8idn_large" -_midnl = "m8idn.large" -_mx_________________________________ = "m8idn_xlarge" -_midnxlarge___ = "m8idn.xlarge" -_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_2xlarge" -_midnxlarge____ = "m8idn.2xlarge" -_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_4xlarge" -_midnxlarge_____ = "m8idn.4xlarge" -_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_8xlarge" -_midnxlarge______ = "m8idn.8xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_12xlarge" -_midnxlarge_______ = "m8idn.12xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_16xlarge" -_midnxlarge________ = "m8idn.16xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_24xlarge" -_midnxlarge_________ = "m8idn.24xlarge" -_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_32xlarge" -_midnxlarge__________ = "m8idn.32xlarge" -_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_48xlarge" -_midnxlarge___________ = "m8idn.48xlarge" -_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_96xlarge" -_midnxlarge____________ = "m8idn.96xlarge" -_rl______________________________ = "r8idn_large" -_ridnl = "r8idn.large" -_rx______________________________ = "r8idn_xlarge" -_ridnxlarge___ = "r8idn.xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_2xlarge" -_ridnxlarge____ = "r8idn.2xlarge" -_r________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_4xlarge" -_ridnxlarge_____ = "r8idn.4xlarge" -_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_8xlarge" -_ridnxlarge______ = "r8idn.8xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_12xlarge" -_ridnxlarge_______ = "r8idn.12xlarge" -_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_16xlarge" -_ridnxlarge________ = "r8idn.16xlarge" -_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_24xlarge" -_ridnxlarge_________ = "r8idn.24xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_32xlarge" -_ridnxlarge__________ = "r8idn.32xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_48xlarge" -_ridnxlarge___________ = "r8idn.48xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_96xlarge" -_ridnxlarge____________ = "r8idn.96xlarge" -_ml_________________________________ = "m8idb_large" -_midb = "m8idb.large" -_mx__________________________________ = "m8idb_xlarge" -_midbx = "m8idb.xlarge" -_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_2xlarge" -_midbxl = "m8idb.2xlarge" -_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_4xlarge" -_midbxla = "m8idb.4xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_8xlarge" -_midbxlar = "m8idb.8xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_12xlarge" -_midbxlarg = "m8idb.12xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_16xlarge" -_midbxlarge = "m8idb.16xlarge" -_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_24xlarge" -_midbxlarge_ = "m8idb.24xlarge" -_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_32xlarge" -_midbxlarge__ = "m8idb.32xlarge" -_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_48xlarge" -_midbxlarge___ = "m8idb.48xlarge" -_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_96xlarge" -_midbxlarge____ = "m8idb.96xlarge" -_rl_______________________________ = "r8idb_large" -_ridb = "r8idb.large" -_rx_______________________________ = "r8idb_xlarge" -_ridbx = "r8idb.xlarge" -_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_2xlarge" -_ridbxl = "r8idb.2xlarge" -_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_4xlarge" -_ridbxla = "r8idb.4xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_8xlarge" -_ridbxlar = "r8idb.8xlarge" -_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_12xlarge" -_ridbxlarg = "r8idb.12xlarge" -_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_16xlarge" -_ridbxlarge = "r8idb.16xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_24xlarge" -_ridbxlarge_ = "r8idb.24xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_32xlarge" -_ridbxlarge__ = "r8idb.32xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_48xlarge" -_ridbxlarge___ = "r8idb.48xlarge" -_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_96xlarge" -_ridbxlarge____ = "r8idb.96xlarge" -_mmm______ = "mac_m3ultra_metal" -_mm______________________________________________________ = "mac-m3ultra.metal" -_ml__________________________________ = "m9g_large" -_mglarg = "m9g.large" -_mx___________________________________ = "m9g_xlarge" -_mgxlarge_______________ = "m9g.xlarge" -_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_2xlarge" -_mgxlarge________________ = "m9g.2xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_4xlarge" -_mgxlarge_________________ = "m9g.4xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_8xlarge" -_mgxlarge__________________ = "m9g.8xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_12xlarge" -_mgxlarge___________________ = "m9g.12xlarge" -_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_16xlarge" -_mgxlarge____________________ = "m9g.16xlarge" -_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_24xlarge" -_mgxlarge_____________________ = "m9g.24xlarge" -_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_48xlarge" -_mgxlarge______________________ = "m9g.48xlarge" -_mm_______________________________________________________ = "m9g_metal_24xl" -_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g.metal-24xl" -_mm________________________________________________________ = "m9g_metal_48xl" -_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g.metal-48xl" -_ml___________________________________ = "m9gd_large" -_mgdlarg = "m9gd.large" -_mx____________________________________ = "m9gd_xlarge" -_mgdxlarge_______________ = "m9gd.xlarge" -_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_2xlarge" -_mgdxlarge________________ = "m9gd.2xlarge" -_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_4xlarge" -_mgdxlarge_________________ = "m9gd.4xlarge" -_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_8xlarge" -_mgdxlarge__________________ = "m9gd.8xlarge" -_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_12xlarge" -_mgdxlarge___________________ = "m9gd.12xlarge" -_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_16xlarge" -_mgdxlarge____________________ = "m9gd.16xlarge" -_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_24xlarge" -_mgdxlarge_____________________ = "m9gd.24xlarge" -_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_48xlarge" -_mgdxlarge______________________ = "m9gd.48xlarge" -_mm_________________________________________________________ = "m9gd_metal_24xl" -_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd.metal-24xl" -_mm__________________________________________________________ = "m9gd_metal_48xl" -_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd.metal-48xl" -_rm__________________________________________ = "r8in_metal_48xl" -_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in.metal-48xl" -_rm___________________________________________ = "r8in_metal_96xl" -_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in.metal-96xl" -_rm____________________________________________ = "r8ib_metal_48xl" -_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib.metal-48xl" -_rm_____________________________________________ = "r8ib_metal_96xl" -_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib.metal-96xl" -_rm______________________________________________ = "r8idn_metal_48xl" -_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn.metal-48xl" -_rm_______________________________________________ = "r8idn_metal_96xl" -_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn.metal-96xl" -_rm________________________________________________ = "r8idb_metal_48xl" -_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb.metal-48xl" -_rm_________________________________________________ = "r8idb_metal_96xl" -_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb.metal-96xl" -_mm___________________________________________________________ = "m8in_metal_48xl" -_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in.metal-48xl" -_mm____________________________________________________________ = "m8in_metal_96xl" -_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in.metal-96xl" -_mm_____________________________________________________________ = "m8ib_metal_48xl" -_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib.metal-48xl" -_mm______________________________________________________________ = "m8ib_metal_96xl" -_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib.metal-96xl" -_mm_______________________________________________________________ = "m8idn_metal_48xl" -_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn.metal-48xl" -_mm________________________________________________________________ = "m8idn_metal_96xl" -_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn.metal-96xl" -_mm_________________________________________________________________ = ( - "m8idb_metal_48xl" -) -_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb.metal-48xl" -_mm__________________________________________________________________ = ( - "m8idb_metal_96xl" -) -_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb.metal-96xl" -_g___________________________________________________ = "g7_2xlarge" -_gxlarge________________ = "g7.2xlarge" -_g____________________________________________________ = "g7_4xlarge" -_gxlarge_________________ = "g7.4xlarge" -_g_____________________________________________________ = "g7_8xlarge" -_gxlarge__________________ = "g7.8xlarge" -_g______________________________________________________ = "g7_12xlarge" -_gxlarge___________________ = "g7.12xlarge" -_g_______________________________________________________ = "g7_24xlarge" -_gxlarge____________________ = "g7.24xlarge" -_g________________________________________________________ = "g7_48xlarge" -_gxlarge_____________________ = "g7.48xlarge" -_cm______________________________________________ = "c9g_medium" -_cgmediu = "c9g.medium" -_cl______________________________ = "c9g_large" -_cglarg = "c9g.large" -_cx______________________________ = "c9g_xlarge" -_cgxlarge________________ = "c9g.xlarge" -_c_________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_2xlarge" -_cgxlarge_________________ = "c9g.2xlarge" -_c__________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_4xlarge" -_cgxlarge__________________ = "c9g.4xlarge" -_c___________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_8xlarge" -_cgxlarge___________________ = "c9g.8xlarge" -_c____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_12xlarge" -_cgxlarge____________________ = "c9g.12xlarge" -_c_____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_16xlarge" -_cgxlarge_____________________ = "c9g.16xlarge" -_c______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_24xlarge" -_cgxlarge______________________ = "c9g.24xlarge" -_c_______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_48xlarge" -_cgxlarge_______________________ = "c9g.48xlarge" -_cm_______________________________________________ = "c9g_metal_48xl" -_c________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g.metal-48xl" -_cm________________________________________________ = "c9gd_medium" -_cgdmedi = "c9gd.medium" -_cl_______________________________ = "c9gd_large" -_cgdlarg = "c9gd.large" -_cx_______________________________ = "c9gd_xlarge" -_cgdxlarge_______________ = "c9gd.xlarge" -_c_________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_2xlarge" -_cgdxlarge________________ = "c9gd.2xlarge" -_c__________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_4xlarge" -_cgdxlarge_________________ = "c9gd.4xlarge" -_c___________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_8xlarge" -_cgdxlarge__________________ = "c9gd.8xlarge" -_c____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_12xlarge" -_cgdxlarge___________________ = "c9gd.12xlarge" -_c_____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_16xlarge" -_cgdxlarge____________________ = "c9gd.16xlarge" -_c______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_24xlarge" -_cgdxlarge_____________________ = "c9gd.24xlarge" -_c_______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_48xlarge" -_cgdxlarge______________________ = "c9gd.48xlarge" -_cm_________________________________________________ = "c9gd_metal_48xl" -_c________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd.metal-48xl" -_rm__________________________________________________ = "r9g_medium" -_rgmedi = "r9g.medium" -_rl________________________________ = "r9g_large" -_rglarg = "r9g.large" -_rx________________________________ = "r9g_xlarge" -_rgxlarge_______________ = "r9g.xlarge" -_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_2xlarge" -_rgxlarge________________ = "r9g.2xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_4xlarge" -_rgxlarge_________________ = "r9g.4xlarge" -_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_8xlarge" -_rgxlarge__________________ = "r9g.8xlarge" -_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_12xlarge" -_rgxlarge___________________ = "r9g.12xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_16xlarge" -_rgxlarge____________________ = "r9g.16xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_24xlarge" -_rgxlarge_____________________ = "r9g.24xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_48xlarge" -_rgxlarge______________________ = "r9g.48xlarge" -_rm___________________________________________________ = "r9g_metal_48xl" -_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g.metal-48xl" -_rm____________________________________________________ = "r9gd_medium" -_rgdmedi = "r9gd.medium" -_rl_________________________________ = "r9gd_large" -_rgdlarg = "r9gd.large" -_rx_________________________________ = "r9gd_xlarge" -_rgdxlarge_______________ = "r9gd.xlarge" -_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_2xlarge" -_rgdxlarge________________ = "r9gd.2xlarge" -_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_4xlarge" -_rgdxlarge_________________ = "r9gd.4xlarge" -_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_8xlarge" -_rgdxlarge__________________ = "r9gd.8xlarge" -_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_12xlarge" -_rgdxlarge___________________ = "r9gd.12xlarge" -_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_16xlarge" -_rgdxlarge____________________ = "r9gd.16xlarge" -_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_24xlarge" -_rgdxlarge_____________________ = "r9gd.24xlarge" -_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_48xlarge" -_rgdxlarge______________________ = "r9gd.48xlarge" -_rm_____________________________________________________ = "r9gd_metal_48xl" -_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd.metal-48xl" -_mm___________________________________________________________________ = "m9g_medium" -_mgmedi = "m9g.medium" -_tn____ = "t8i_nano" -_tin = "t8i.nano" -_tm_________ = "t8i_micro" -_timi = "t8i.micro" -_ts______ = "t8i_small" -_tis = "t8i.small" -_tm__________ = "t8i_medium" -_time = "t8i.medium" -_im____________ = "i8g_metal_48xl" -_i________________________________________________________________________ = ( - "i8g.metal-48xl" -) -_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8gb_48xlarge" -_rgbxlarge__ = "r8gb.48xlarge" -_rm______________________________________________________ = "r8gb_metal_48xl" -_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8gb.metal-48xl" -_mm____________________________________________________________________ = "m9gd_medium" -_mgdmedi = "m9gd.medium" -_t__________ = "trn2u_48xlarge" -_trnu = "trn2u.48xlarge" -_IWC = "IntegerWithConstraints" -_DWC = "DoubleWithConstraints" -_RFIS = "ReservationFleetInstanceSpecification" -_We = "Weight" -_RFISL = "ReservationFleetInstanceSpecificationList" -_FCRT = "FleetCapacityReservationTenancy" -_CCRFIr = "CreateCapacityReservationFleetInput" -_cCCRFRom = "com.amazonaws.ec2#CreateCapacityReservationFleetRequest" -_ITS = "InstanceTypeSpecifications" -_ITSn = "InstanceTypeSpecification" -_IRn = "InstanceRequirements" -_TTC = "TotalTargetCapacity" -_FCR = "FleetCapacityReservation" -_FCu = "FulfilledCapacity" -_fC = "fulfilledCapacity" -_we = "weight" -_FCRS = "FleetCapacityReservationSet" -_CCRFOr = "CreateCapacityReservationFleetOutput" -_cCCRFRoma = "com.amazonaws.ec2#CreateCapacityReservationFleetResult" -_tTC = "totalTargetCapacity" -_TFC = "TotalFulfilledCapacity" -_tFC = "totalFulfilledCapacity" -_aSl = "allocationStrategy" -_FCRl = "FleetCapacityReservations" -_fCRS = "fleetCapacityReservationSet" -_CCRFr = "CreateCapacityReservationFleet" -_CCGI = "CreateCarrierGatewayInput" -_cCCGR = "com.amazonaws.ec2#CreateCarrierGatewayRequest" -_CGS = "CarrierGatewayState" -_CGa = "CarrierGateway" -_CCGO = "CreateCarrierGatewayOutput" -_cCCGRo = "com.amazonaws.ec2#CreateCarrierGatewayResult" -_cGa = "carrierGateway" -_CCG = "CreateCarrierGateway" -_DSAR = "DirectoryServiceAuthenticationRequest" -_DIi = "DirectoryId" -_FAR = "FederatedAuthenticationRequest" -_SAMLPA = "SAMLProviderArn" -_SSSAMLPA = "SelfServiceSAMLProviderArn" -_CAR = "CertificateAuthenticationRequest" -_CRCCA = "ClientRootCertificateChainArn" -_CVAT = "ClientVpnAuthenticationType" -_ca_ = "certificate_authentication" -_ca__ = "certificate-authentication" -_dsa = "directory_service_authentication" -_dsa_ = "directory-service-authentication" -_fa___ = "federated_authentication" -_fa____ = "federated-authentication" -_CVAR = "ClientVpnAuthenticationRequest" -_Ty = "Type" -_ADc = "ActiveDirectory" -_MA = "MutualAuthentication" -_FA = "FederatedAuthentication" -_CVARL = "ClientVpnAuthenticationRequestList" -_CCO = "ClientConnectOptions" -_Ena = "Enabled" -_LFA = "LambdaFunctionArn" -_CLBO = "ClientLoginBannerOptions" -_BTa = "BannerText" -_CREO = "ClientRouteEnforcementOptions" -_Enf = "Enforced" -_CLO = "ConnectionLogOptions" -_CLG = "CloudwatchLogGroup" -_CLS = "CloudwatchLogStream" -_IAPC = "IncludeAuthorizationPolicyContext" -_CVDTPT = "ClientVpnDeviceTrustProviderType" -_CVTPR = "ClientVpnTrustProviderRequest" -_CVTPRL = "ClientVpnTrustProviderRequestList" -_DPO = "DevicePostureOptions" -_TPr = "TrustProviders" -_TPru = "TrustProvider" -_EIAT = "EndpointIpAddressType" -_ds__ = "dual_stack" -_ds___ = "dual-stack" -_SSP = "SelfServicePortal" -_TIAT = "TrafficIpAddressType" -_CVAZIS = "ClientVpnAvailabilityZoneIdSet" -_CVAZS = "ClientVpnAvailabilityZoneSet" -_TGCIS = "TransitGatewayConfigurationInputStructure" -_TPra = "TransportProtocol" -_CCVEI = "CreateClientVpnEndpointInput" -_cCCVER = "com.amazonaws.ec2#CreateClientVpnEndpointRequest" -_CCB = "ClientCidrBlock" -_SCA = "ServerCertificateArn" -_AO = "AuthenticationOptions" -_Au = "Authentication" -_DSn = "DnsServers" -_VPp = "VpnPort" -_STp = "SplitTunnel" -_STH = "SessionTimeoutHours" -_DOST = "DisconnectOnSessionTimeout" -_TGC = "TransitGatewayConfiguration" -_CVESC = "ClientVpnEndpointStatusCode" -_pa______ = "pending_associate" -_pa_______ = "pending-associate" -_CVES = "ClientVpnEndpointStatus" -_CCVEO = "CreateClientVpnEndpointOutput" -_cCCVERo = "com.amazonaws.ec2#CreateClientVpnEndpointResult" -_DN = "DnsName" -_dN = "dnsName" -_CCVE = "CreateClientVpnEndpoint" -_CCVRI = "CreateClientVpnRouteInput" -_cCCVRR = "com.amazonaws.ec2#CreateClientVpnRouteRequest" -_DCB = "DestinationCidrBlock" -_TVSI = "TargetVpcSubnetId" -_CVRSC = "ClientVpnRouteStatusCode" -_CVRS = "ClientVpnRouteStatus" -_CCVRO = "CreateClientVpnRouteOutput" -_cCCVRRo = "com.amazonaws.ec2#CreateClientVpnRouteResult" -_CCVR = "CreateClientVpnRoute" -_IPCI = "Ipv4PoolCoipId" -_CCCI = "CreateCoipCidrInput" -_cCCCR = "com.amazonaws.ec2#CreateCoipCidrRequest" -_CPIo = "CoipPoolId" -_CCo = "CoipCidr" -_cPI = "coipPoolId" -_LGRTI = "LocalGatewayRouteTableId" -_lGRTI = "localGatewayRouteTableId" -_CCCO = "CreateCoipCidrOutput" -_cCCCRo = "com.amazonaws.ec2#CreateCoipCidrResult" -_cCo = "coipCidr" -_CCC = "CreateCoipCidr" -_LGRI = "LocalGatewayRoutetableId" -_CCPI = "CreateCoipPoolInput" -_cCCPR = "com.amazonaws.ec2#CreateCoipPoolRequest" -_CP = "CoipPool" -_PCo = "PoolCidrs" -_PCS = "PoolCidrSet" -_pCS = "poolCidrSet" -_PA = "PoolArn" -_pAo = "poolArn" -_CCPO = "CreateCoipPoolOutput" -_cCCPRo = "com.amazonaws.ec2#CreateCoipPoolResult" -_cP = "coipPool" -_CCP = "CreateCoipPool" -_GT = "GatewayType" -_i_________________________________________________________________________ = "ipsec_1" -_ips = "ipsec.1" -_CCGIr = "CreateCustomerGatewayInput" -_cCCGRom = "com.amazonaws.ec2#CreateCustomerGatewayRequest" -_BA = "BgpAsn" -_DNe = "DeviceName" -_BAE = "BgpAsnExtended" -_cAe = "certificateArn" -_dNe = "deviceName" -_bAE = "bgpAsnExtended" -_CGIu = "CustomerGatewayId" -_cGIu = "customerGatewayId" -_ty = "type" -_iApd = "ipAddress" -_bA = "bgpAsn" -_CCGOr = "CreateCustomerGatewayOutput" -_cCCGRoma = "com.amazonaws.ec2#CreateCustomerGatewayResult" -_CCGr = "CreateCustomerGateway" -_CDSI = "CreateDefaultSubnetInput" -_cCDSR = "com.amazonaws.ec2#CreateDefaultSubnetRequest" -_IN = "Ipv6Native" -_BPAM = "BlockPublicAccessMode" -_bb = "block_bidirectional" -_bb_ = "block-bidirectional" -_bi = "block_ingress" -_bi_ = "block-ingress" -_BPAS = "BlockPublicAccessStates" -_IGBM = "InternetGatewayBlockMode" -_iGBM = "internetGatewayBlockMode" -_SICBAS = "SubnetIpv6CidrBlockAssociationSet" -_HT = "HostnameType" -_in_ = "ip_name" -_in__ = "ip-name" -_rn_ = "resource_name" -_rn__ = "resource-name" -_PDNOOL = "PrivateDnsNameOptionsOnLaunch" -_hT = "hostnameType" -_ERNDAR = "EnableResourceNameDnsARecord" -_eRNDAR = "enableResourceNameDnsARecord" -_ERNDAAAAR = "EnableResourceNameDnsAAAARecord" -_eRNDAAAAR = "enableResourceNameDnsAAAARecord" -_SSu = "SubnetState" -_fic = "failed_insufficient_capacity" -_fic_ = "failed-insufficient-capacity" -_ELADI = "EnableLniAtDeviceIndex" -_eLADI = "enableLniAtDeviceIndex" -_MCOIOL = "MapCustomerOwnedIpOnLaunch" -_mCOIOL = "mapCustomerOwnedIpOnLaunch" -_AIAOC = "AssignIpv6AddressOnCreation" -_aIAOC = "assignIpv6AddressOnCreation" -_ICBAS = "Ipv6CidrBlockAssociationSet" -_iCBAS = "ipv6CidrBlockAssociationSet" -_SAu = "SubnetArn" -_sA = "subnetArn" -_EDn = "EnableDns64" -_eDn = "enableDns64" -_iN = "ipv6Native" -_pDNOOL = "privateDnsNameOptionsOnLaunch" -_bPAS = "blockPublicAccessStates" -_AIAC = "AvailableIpAddressCount" -_aIAC = "availableIpAddressCount" -_DFA = "DefaultForAz" -_dFA = "defaultForAz" -_MPIOL = "MapPublicIpOnLaunch" -_mPIOL = "mapPublicIpOnLaunch" -_CDSO = "CreateDefaultSubnetOutput" -_cCDSRo = "com.amazonaws.ec2#CreateDefaultSubnetResult" -_CDS = "CreateDefaultSubnet" -_CDVI = "CreateDefaultVpcInput" -_cCDVR = "com.amazonaws.ec2#CreateDefaultVpcRequest" -_VCBAS = "VpcCidrBlockAssociationSet" -_VECM = "VpcEncryptionControlMode" -_moni = "monitor" -_enf = "enforce" -_VECE = "VpcEncryptionControlExclusion" -_VECEp = "VpcEncryptionControlExclusions" -_VECS = "VpcEncryptionControlState" -_eip_ = "enforce_in_progress" -_eip__ = "enforce-in-progress" -_mip = "monitor_in_progress" -_mip_ = "monitor-in-progress" -_ef = "enforce_failed" -_ef_ = "enforce-failed" -_mf________________________ = "monitor_failed" -_mf_________________________ = "monitor-failed" -_df___ = "delete_failed" -_df____ = "delete-failed" -_VECI = "VpcEncryptionControlId" -_VEC = "VpcEncryptionControl" -_vECI = "vpcEncryptionControlId" -_RE = "ResourceExclusions" -_rE = "resourceExclusions" -_VICBAS = "VpcIpv6CidrBlockAssociationSet" -_VSp = "VpcState" -_ITnst = "InstanceTenancy" -_iTns = "instanceTenancy" -_CBAS = "CidrBlockAssociationSet" -_cBAS = "cidrBlockAssociationSet" -_ECn = "EncryptionControl" -_eCn = "encryptionControl" -_dOI = "dhcpOptionsId" -_CDVO = "CreateDefaultVpcOutput" -_cCDVRo = "com.amazonaws.ec2#CreateDefaultVpcResult" -_CDV = "CreateDefaultVpc" -_SMC = "SensitiveMacCredentials" -_CDMVOTI = "CreateDelegateMacVolumeOwnershipTaskInput" -_cCDMVOTR = "com.amazonaws.ec2#CreateDelegateMacVolumeOwnershipTaskRequest" -_MCa = "MacCredentials" -_MMTI = "MacModificationTaskId" -_MSIPSS = "MacSystemIntegrityProtectionSettingStatus" -_MSIPC = "MacSystemIntegrityProtectionConfiguration" -_AIp = "AppleInternal" -_aIp = "appleInternal" -_BSa = "BaseSystem" -_bS = "baseSystem" -_DReb = "DebuggingRestrictions" -_dReb = "debuggingRestrictions" -_DTR = "DTraceRestrictions" -_dTR = "dTraceRestrictions" -_FPi = "FilesystemProtections" -_fPi = "filesystemProtections" -_KS = "KextSigning" -_kS = "kextSigning" -_NP = "NvramProtections" -_nP = "nvramProtections" -_MMTS = "MacModificationTaskState" -_succ = "successful" -_inp = "inprogress" -_ip_____ = "in-progress" -_MMTT = "MacModificationTaskType" -_SIPM = "SIPModification" -_sm_ = "sip-modification" -_VOD = "VolumeOwnershipDelegation" -_vod = "volume-ownership-delegation" -_MMT = "MacModificationTask" -_mMTI = "macModificationTaskId" -_MSIPCa = "MacSystemIntegrityProtectionConfig" -_mSIPC = "macSystemIntegrityProtectionConfig" -_TSas = "TaskState" -_tSa = "taskState" -_TT = "TaskType" -_tT = "taskType" -_CDMVOTO = "CreateDelegateMacVolumeOwnershipTaskOutput" -_cCDMVOTRo = "com.amazonaws.ec2#CreateDelegateMacVolumeOwnershipTaskResult" -_mMT = "macModificationTask" -_CDMVOT = "CreateDelegateMacVolumeOwnershipTask" -_NDC = "NewDhcpConfiguration" -_Val = "Values" -_NDCL = "NewDhcpConfigurationList" -_CDOI = "CreateDhcpOptionsInput" -_cCDOR = "com.amazonaws.ec2#CreateDhcpOptionsRequest" -_DCh = "DhcpConfigurations" -_DChc = "DhcpConfiguration" -_dCh = "dhcpConfiguration" -_DCVL = "DhcpConfigurationValueList" -_VSa = "ValueSet" -_vSa = "valueSet" -_DCL = "DhcpConfigurationList" -_DOh = "DhcpOptions" -_DCS = "DhcpConfigurationSet" -_dCS = "dhcpConfigurationSet" -_CDOO = "CreateDhcpOptionsOutput" -_cCDORo = "com.amazonaws.ec2#CreateDhcpOptionsResult" -_dOh = "dhcpOptions" -_CDO = "CreateDhcpOptions" -_CEOIGI = "CreateEgressOnlyInternetGatewayInput" -_cCEOIGR = "com.amazonaws.ec2#CreateEgressOnlyInternetGatewayRequest" -_IGA = "InternetGatewayAttachment" -_IGAL = "InternetGatewayAttachmentList" -_CEOIGO = "CreateEgressOnlyInternetGatewayOutput" -_cCEOIGRo = "com.amazonaws.ec2#CreateEgressOnlyInternetGatewayResult" -_CEOIG = "CreateEgressOnlyInternetGateway" -_FECTP = "FleetExcessCapacityTerminationPolicy" -_NT = "NO_TERMINATION" -_nt = "no-termination" -_TERMINATION = "TERMINATION" -_ter = "termination" -_LTI = "LaunchTemplateId" -_LTN = "LaunchTemplateName" -_SUD = "SensitiveUserData" -_FLTSR = "FleetLaunchTemplateSpecificationRequest" -_Ve = "Version" -_LTSUD = "LaunchTemplateSpecificationUserData" -_FEBDR = "FleetEbsBlockDeviceRequest" -_VSol = "VolumeSize" -_FBDMR = "FleetBlockDeviceMappingRequest" -_VN = "VirtualName" -_Eb = "Ebs" -_ND = "NoDevice" -_FBDMRL = "FleetBlockDeviceMappingRequestList" -_BDM = "BlockDeviceMapping" -_FIIPSR = "FleetIamInstanceProfileSpecificationRequest" -_FIMES = "FleetInstanceMetadataEndpointState" -_DISABLED = "DISABLED" -_ENABLED = "ENABLED" -_FHTS = "FleetHttpTokensState" -_OPTIONAL = "OPTIONAL" -_opt = "optional" -_FIMOR = "FleetInstanceMetadataOptionsRequest" -_HTt = "HttpTokens" -_HPRHL = "HttpPutResponseHopLimit" -_HE = "HttpEndpoint" -_PGI = "PlacementGroupId" -_PGN = "PlacementGroupName" -_Pl = "Placement" -_aff = "affinity" -_PNa = "PartitionNumber" -_pN = "partitionNumber" -_HIo = "HostId" -_hI = "hostId" -_SDp = "SpreadDomain" -_sDp = "spreadDomain" -_HRGA = "HostResourceGroupArn" -_hRGA = "hostResourceGroupArn" -_FLTOR = "FleetLaunchTemplateOverridesRequest" -_MP = "MaxPrice" -_WC = "WeightedCapacity" -_KN = "KeyName" -_BDMl = "BlockDeviceMappings" -_MO = "MetadataOptions" -_FLTOLR = "FleetLaunchTemplateOverridesListRequest" -_FLTCR = "FleetLaunchTemplateConfigRequest" -_LTS = "LaunchTemplateSpecification" -_Ov = "Overrides" -_FLTCLR = "FleetLaunchTemplateConfigListRequest" -_FODAS = "FleetOnDemandAllocationStrategy" -_lp = "lowest-price" -_PRIORITIZED = "PRIORITIZED" -_prio = "prioritized" -_FCRUS = "FleetCapacityReservationUsageStrategy" -_UCRF = "USE_CAPACITY_RESERVATIONS_FIRST" -_ucrf = "use-capacity-reservations-first" -_CROR = "CapacityReservationOptionsRequest" -_USs = "UsageStrategy" -_ODOR = "OnDemandOptionsRequest" -_CRO = "CapacityReservationOptions" -_SIT = "SingleInstanceType" -_SAZ = "SingleAvailabilityZone" -_MTC = "MinTargetCapacity" -_MTP = "MaxTotalPrice" -_RCAS = "ReservedCapacityAllocationStrategy" -_CRIS = "CapacityReservationIdSet" -_RGN = "ResourceGroupName" -_CRRGAS = "CapacityReservationResourceGroupArnSet" -_FCRTR = "FleetCapacityReservationTargetRequest" -_CRIa = "CapacityReservationIds" -_CRRGA = "CapacityReservationResourceGroupArns" -_CRRGAa = "CapacityReservationResourceGroupArn" -_FRT = "FleetReservationType" -_ODCR = "ON_DEMAND_CAPACITY_RESERVATION" -_odcr = "on-demand-capacity-reservation" -_ICR = "INTERRUPTIBLE_CAPACITY_RESERVATION" -_icr = "interruptible-capacity-reservation" -_RTLR = "ReservationTypeListRequest" -_RCFMT = "ReservedCapacityFallbackMarketType" -_OD = "ON_DEMAND" -_od = "on-demand" -_RCFMTL = "ReservedCapacityFallbackMarketTypeList" -_RCFOR = "ReservedCapacityFallbackOptionsRequest" -_MTa = "MarketTypes" -_MTar = "MarketType" -_RCOR = "ReservedCapacityOptionsRequest" -_RTese = "ReservationTypes" -_CRTap = "CapacityReservationTarget" -_RCFO = "ReservedCapacityFallbackOptions" -_SASp = "SpotAllocationStrategy" -_co_ = "capacity-optimized" -_cop = "capacity-optimized-prioritized" -_pco = "price-capacity-optimized" -_SIIB = "SpotInstanceInterruptionBehavior" -_hib = "hibernate" -_stop = "stop" -_term = "terminate" -_FRS = "FleetReplacementStrategy" -_LAUNCH = "LAUNCH" -_laun = "launch" -_LBT_ = "LAUNCH_BEFORE_TERMINATE" -_lbt = "launch-before-terminate" -_FSCRR = "FleetSpotCapacityRebalanceRequest" -_RSep = "ReplacementStrategy" -_TD = "TerminationDelay" -_FSMSR = "FleetSpotMaintenanceStrategiesRequest" -_CRapa = "CapacityRebalance" -_SOR = "SpotOptionsRequest" -_MS = "MaintenanceStrategies" -_IIB = "InstanceInterruptionBehavior" -_IPTUC = "InstancePoolsToUseCount" -_DTCT = "DefaultTargetCapacityType" -_SPOT = "SPOT" -_spo = "spot" -_RC = "RESERVED_CAPACITY" -_rc = "reserved-capacity" -_TCUT = "TargetCapacityUnitType" -_VCPU = "VCPU" -_vcp = "vcpu" -_MM = "MEMORY_MIB" -_mm_____________________________________________________________________ = "memory-mib" -_UNITS = "UNITS" -_uni = "units" -_TCSR = "TargetCapacitySpecificationRequest" -_ODTC = "OnDemandTargetCapacity" -_STC = "SpotTargetCapacity" -_FTl = "FleetType" -_REQUEST = "REQUEST" -_reque = "request" -_MAINTAIN = "MAINTAIN" -_mai = "maintain" -_INSTANT = "INSTANT" -_inst = "instant" -_CFIr = "CreateFleetInput" -_cCFR = "com.amazonaws.ec2#CreateFleetRequest" -_SO = "SpotOptions" -_ODO = "OnDemandOptions" -_RCO = "ReservedCapacityOptions" -_ECTP = "ExcessCapacityTerminationPolicy" -_LTC = "LaunchTemplateConfigs" -_TCS = "TargetCapacitySpecification" -_TIWE = "TerminateInstancesWithExpiration" -_VF = "ValidFrom" -_VU = "ValidUntil" -_RUI = "ReplaceUnhealthyInstances" -_Con = "Context" -_FLTS = "FleetLaunchTemplateSpecification" -_lTI = "launchTemplateId" -_lTN = "launchTemplateName" -_ver = "version" -_EBDR = "EbsBlockDeviceResponse" -_vSo = "volumeSize" -_BDMR = "BlockDeviceMappingResponse" -_vN = "virtualName" -_eb = "ebs" -_nD = "noDevice" -_BDMRL = "BlockDeviceMappingResponseList" -_PFR = "PerformanceFactorReference" -_iF = "instanceFamily" -_PFRS = "PerformanceFactorReferenceSet" -_CPF = "CpuPerformanceFactor" -_RSef = "ReferenceSet" -_rSef = "referenceSet" -_cpu = "cpu" -_VCCR = "VCpuCountRange" -_vCC = "vCpuCount" -_mMB = "memoryMiB" -_cMS = "cpuManufacturerSet" -_mGBPVC = "memoryGiBPerVCpu" -_eITS = "excludedInstanceTypeSet" -_iGS = "instanceGenerationSet" -_sMPPOLP = "spotMaxPricePercentageOverLowestPrice" -_oDMPPOLP = "onDemandMaxPricePercentageOverLowestPrice" -_bM = "bareMetal" -_bP = "burstablePerformance" -_rHS = "requireHibernateSupport" -_nIC = "networkInterfaceCount" -_lSo = "localStorage" -_lSTS = "localStorageTypeSet" -_tLSGB = "totalLocalStorageGB" -_bEBM = "baselineEbsBandwidthMbps" -_aTSc = "acceleratorTypeSet" -_aC = "acceleratorCount" -_aMSc = "acceleratorManufacturerSet" -_aNS = "acceleratorNameSet" -_aTMMB = "acceleratorTotalMemoryMiB" -_nBGe = "networkBandwidthGbps" -_aITS = "allowedInstanceTypeSet" -_mSPAPOOODP = "maxSpotPriceAsPercentageOfOptimalOnDemandPrice" -_bPF = "baselinePerformanceFactors" -_rEIT = "requireEncryptionInTransit" -_PRl = "PlacementResponse" -_FLTO = "FleetLaunchTemplateOverrides" -_mP = "maxPrice" -_wC = "weightedCapacity" -_pla = "placement" -_iRn = "instanceRequirements" -_BDMS = "BlockDeviceMappingSet" -_bDMS = "blockDeviceMappingSet" -_LTAOR = "LaunchTemplateAndOverridesResponse" -_lTS = "launchTemplateSpecification" -_ov = "overrides" -_ILn = "InstanceLifecycle" -_CFE = "CreateFleetError" -_LTAO = "LaunchTemplateAndOverrides" -_lTAO = "launchTemplateAndOverrides" -_Li = "Lifecycle" -_lif = "lifecycle" -_ECr = "ErrorCode" -_eCr = "errorCode" -_EM = "ErrorMessage" -_eM = "errorMessage" -_CFES = "CreateFleetErrorsSet" -_FIl = "FleetId" -_IISn = "InstanceIdsSet" -_PV = "PlatformValues" -_CFIre = "CreateFleetInstance" -_iIns = "instanceIds" -_Pla = "Platform" -_plat = "platform" -_CFIS = "CreateFleetInstancesSet" -_CFO = "CreateFleetOutput" -_cCFRo = "com.amazonaws.ec2#CreateFleetResult" -_fIl = "fleetId" -_Er = "Errors" -_ESr = "ErrorSet" -_eSr = "errorSet" -_Ins = "Instances" -_FIS = "FleetInstanceSet" -_fIS = "fleetInstanceSet" -_CF = "CreateFleet" -_DFF = "DestinationFileFormat" -_pt_ = "plain_text" -_pt__ = "plain-text" -_DOR = "DestinationOptionsRequest" -_FF = "FileFormat" -_HCPi = "HiveCompatiblePartitions" -_PHP = "PerHourPartition" -_LDT = "LogDestinationType" -_cwl = "cloud_watch_logs" -_cwl_ = "cloud-watch-logs" -_s_ = "s3" -_kdf = "kinesis_data_firehose" -_kdf_ = "kinesis-data-firehose" -_FLRI = "FlowLogResourceId" -_FLRIl = "FlowLogResourceIds" -_FLRT = "FlowLogsResourceType" -_VPC_ = "VPC" -_RNG = "RegionalNatGateway" -_CN = "CoreNetwork" -_CNE = "CoreNetworkEdge" -_CNAo = "CoreNetworkAttachment" -_TRT = "TaggableResourceType" -_asg = "auto_scaling_group" -_asg_ = "auto-scaling-group" -_TK = "TagKey" -_TKL = "TagKeyList" -_TFSR = "TagFieldSpecificationRequest" -_TKa = "TagKeys" -_TFSLR = "TagFieldSpecificationListRequest" -_TTr = "TrafficType" -_ACCEPT = "ACCEPT" -_REJECT = "REJECT" -_ALL = "ALL" -_CFLI = "CreateFlowLogsInput" -_cCFLR = "com.amazonaws.ec2#CreateFlowLogsRequest" -_DLPA = "DeliverLogsPermissionArn" -_DCAR = "DeliverCrossAccountRole" -_LGN = "LogGroupName" -_RIes = "ResourceIds" -_LD = "LogDestination" -_LF = "LogFormat" -_MAI = "MaxAggregationInterval" -_DOe = "DestinationOptions" -_TFS = "TagFieldSpecifications" -_TFSa = "TagFieldSpecification" -_CFLO = "CreateFlowLogsOutput" -_cCFLRo = "com.amazonaws.ec2#CreateFlowLogsResult" -_FLI = "FlowLogIds" -_FLIS = "FlowLogIdSet" -_fLIS = "flowLogIdSet" -_CFL = "CreateFlowLogs" -_SLt = "StorageLocation" -_CFIIr = "CreateFpgaImageInput" -_cCFIRom = "com.amazonaws.ec2#CreateFpgaImageRequest" -_ISL = "InputStorageLocation" -_LSL = "LogsStorageLocation" -_CFIOr = "CreateFpgaImageOutput" -_cCFIRoma = "com.amazonaws.ec2#CreateFpgaImageResult" -_FIGI = "FpgaImageGlobalId" -_fIGI = "fpgaImageGlobalId" -_CFIrea = "CreateFpgaImage" -_EBD = "EbsBlockDevice" -_BDMRLl = "BlockDeviceMappingRequestList" -_BMOV = "BootModeOverrideValues" -_ue = "uefi" -_SLE = "SnapshotLocationEnum" -_REGIONAL = "REGIONAL" -_regi = "regional" -_LOCAL = "LOCAL" -_lo = "local" -_CIIr = "CreateImageInput" -_cCIRom = "com.amazonaws.ec2#CreateImageRequest" -_SLn = "SnapshotLocation" -_BMO = "BootModeOverride" -_NR = "NoReboot" -_nR = "noReboot" -_bDM = "blockDeviceMapping" -_CIOr = "CreateImageOutput" -_cCIRoma = "com.amazonaws.ec2#CreateImageResult" -_CIr = "CreateImage" -_IURUISL = "ImageUsageReportUserIdStringList" -_CIURCT = "CreateImageUsageReportClientToken" -_IURTN = "ImageUsageResourceTypeName" -_IURTOV = "ImageUsageResourceTypeOptionValue" -_IURTOVL = "ImageUsageResourceTypeOptionValuesList" -_IURTOR = "ImageUsageResourceTypeOptionRequest" -_ON = "OptionName" -_OV = "OptionValues" -_OVp = "OptionValue" -_IURTORL = "ImageUsageResourceTypeOptionRequestList" -_IURTR = "ImageUsageResourceTypeRequest" -_RTO = "ResourceTypeOptions" -_RTOe = "ResourceTypeOption" -_IURTRL = "ImageUsageResourceTypeRequestList" -_CIURI = "CreateImageUsageReportInput" -_cCIURR = "com.amazonaws.ec2#CreateImageUsageReportRequest" -_AIcc = "AccountIds" -_AIcco = "AccountId" -_IURI = "ImageUsageReportId" -_CIURO = "CreateImageUsageReportOutput" -_cCIURRo = "com.amazonaws.ec2#CreateImageUsageReportResult" -_rIe = "reportId" -_CIUR = "CreateImageUsageReport" -_IAT = "IpAddressType" -_du = "dualstack" -_SGISLR = "SecurityGroupIdStringListRequest" -_CICEI = "CreateInstanceConnectEndpointInput" -_cCICER = "com.amazonaws.ec2#CreateInstanceConnectEndpointRequest" -_PCI = "PreserveClientIp" -_ICEI = "InstanceConnectEndpointId" -_NIIS = "NetworkInterfaceIdSet" -_ICEDN = "InstanceConnectEndpointDnsNames" -_FDN = "FipsDnsName" -_fDN = "fipsDnsName" -_ICEPDN = "InstanceConnectEndpointPublicDnsNames" -_Ip = "Ipv4" -_Du = "Dualstack" -_SGIS = "SecurityGroupIdSet" -_EICES = "Ec2InstanceConnectEndpointState" -_cip = "create_in_progress" -_cip_ = "create-in-progress" -_cc_ = "create_complete" -_cc__ = "create-complete" -_cf________________________ = "create_failed" -_cf_________________________ = "create-failed" -_dip_ = "delete_in_progress" -_dip__ = "delete-in-progress" -_dc_ = "delete_complete" -_dc__ = "delete-complete" -_uip = "update_in_progress" -_uip_ = "update-in-progress" -_uc = "update_complete" -_uc_ = "update-complete" -_uf = "update_failed" -_uf_ = "update-failed" -_EICE = "Ec2InstanceConnectEndpoint" -_iCEI = "instanceConnectEndpointId" -_ICEA = "InstanceConnectEndpointArn" -_iCEA = "instanceConnectEndpointArn" -_NIIe = "NetworkInterfaceIds" -_nIIS = "networkInterfaceIdSet" -_CAr = "CreatedAt" -_cAr = "createdAt" -_pCI = "preserveClientIp" -_sGIS = "securityGroupIdSet" -_iAT = "ipAddressType" -_PDN = "PublicDnsNames" -_pDN = "publicDnsNames" -_CICEO = "CreateInstanceConnectEndpointOutput" -_cCICERo = "com.amazonaws.ec2#CreateInstanceConnectEndpointResult" -_ICE = "InstanceConnectEndpoint" -_iCE = "instanceConnectEndpoint" -_CICE = "CreateInstanceConnectEndpoint" -_IEWTRR = "InstanceEventWindowTimeRangeRequest" -_IEWTRRS = "InstanceEventWindowTimeRangeRequestSet" -_CIEWI = "CreateInstanceEventWindowInput" -_cCIEWR = "com.amazonaws.ec2#CreateInstanceEventWindowRequest" -_TRim = "TimeRange" -_CIEWO = "CreateInstanceEventWindowOutput" -_cCIEWRo = "com.amazonaws.ec2#CreateInstanceEventWindowResult" -_CIEW = "CreateInstanceEventWindow" -_CFo = "ContainerFormat" -_ova = "ova" -_DIF = "DiskImageFormat" -_VMDK = "VMDK" -_RAW = "RAW" -_VHD = "VHD" -_ETSTS = "ExportToS3TaskSpecification" -_dIF = "diskImageFormat" -_cF = "containerFormat" -_SBu = "S3Bucket" -_sB = "s3Bucket" -_SPr = "S3Prefix" -_sP = "s3Prefix" -_EE = "ExportEnvironment" -_cit = "citrix" -_vm = "vmware" -_mic = "microsoft" -_CIETI = "CreateInstanceExportTaskInput" -_cCIETR = "com.amazonaws.ec2#CreateInstanceExportTaskRequest" -_TEa = "TargetEnvironment" -_tEa = "targetEnvironment" -_ETST = "ExportToS3Task" -_ETS = "ExportToS3" -_eTS = "exportToS3" -_SK = "S3Key" -_sK = "s3Key" -_IED = "InstanceExportDetails" -_ETSx = "ExportTaskState" -_ETx = "ExportTask" -_IEn = "InstanceExport" -_iEn = "instanceExport" -_CIETO = "CreateInstanceExportTaskOutput" -_cCIETRo = "com.amazonaws.ec2#CreateInstanceExportTaskResult" -_eTx = "exportTask" -_CIET = "CreateInstanceExportTask" -_CIGI = "CreateInternetGatewayInput" -_cCIGR = "com.amazonaws.ec2#CreateInternetGatewayRequest" -_CIGO = "CreateInternetGatewayOutput" -_cCIGRo = "com.amazonaws.ec2#CreateInternetGatewayResult" -_CIG = "CreateInternetGateway" -_CICRAI = "CreateInterruptibleCapacityReservationAllocationInput" -_cCICRAR = "com.amazonaws.ec2#CreateInterruptibleCapacityReservationAllocationRequest" -_CICRAO = "CreateInterruptibleCapacityReservationAllocationOutput" -_cCICRARo = "com.amazonaws.ec2#CreateInterruptibleCapacityReservationAllocationResult" -_CICRA = "CreateInterruptibleCapacityReservationAllocation" -_IMA = "IpamMeteredAccount" -_io__ = "ipam_owner" -_io___ = "ipam-owner" -_ro = "resource_owner" -_ro_ = "resource-owner" -_ITp = "IpamTier" -_fre = "free" -_adva = "advanced" -_CIIre = "CreateIpamInput" -_cCIRomam = "com.amazonaws.ec2#CreateIpamRequest" -_ORp = "OperatingRegions" -_ORpe = "OperatingRegion" -_Tie = "Tier" -_EPG = "EnablePrivateGua" -_MAe = "MeteredAccount" -_IOR = "IpamOperatingRegion" -_rNe = "regionName" -_IORS = "IpamOperatingRegionSet" -_ISI = "IpamScopeId" -_ISpa = "IpamState" -_mip__ = "modify_in_progress" -_mip___ = "modify-in-progress" -_mc = "modify_complete" -_mc_ = "modify-complete" -_mf__________________________ = "modify_failed" -_mf___________________________ = "modify-failed" -_iip_ = "isolate_in_progress" -_ic_ = "isolate_complete" -_rip_ = "restore_in_progress" -_Ipa = "Ipam" -_PDSI = "PublicDefaultScopeId" -_pDSI = "publicDefaultScopeId" -_PDSIr = "PrivateDefaultScopeId" -_pDSIr = "privateDefaultScopeId" -_SCc = "ScopeCount" -_sCc = "scopeCount" -_ORS = "OperatingRegionSet" -_oRS = "operatingRegionSet" -_DRDI = "DefaultResourceDiscoveryId" -_dRDI = "defaultResourceDiscoveryId" -_DRDAI = "DefaultResourceDiscoveryAssociationId" -_dRDAI = "defaultResourceDiscoveryAssociationId" -_RDAC = "ResourceDiscoveryAssociationCount" -_rDAC = "resourceDiscoveryAssociationCount" -_tie = "tier" -_ePG = "enablePrivateGua" -_mA = "meteredAccount" -_CIOre = "CreateIpamOutput" -_cCIRomama = "com.amazonaws.ec2#CreateIpamResult" -_CIre = "CreateIpam" -_CIERVTI = "CreateIpamExternalResourceVerificationTokenInput" -_cCIERVTR = "com.amazonaws.ec2#CreateIpamExternalResourceVerificationTokenRequest" -_IERVTI = "IpamExternalResourceVerificationTokenId" -_IERVTS = "IpamExternalResourceVerificationTokenState" -_CIP = "CREATE_IN_PROGRESS" -_CC_ = "CREATE_COMPLETE" -_CF_ = "CREATE_FAILED" -_DIP_ = "DELETE_IN_PROGRESS" -_DC__ = "DELETE_COMPLETE" -_DF_ = "DELETE_FAILED" -_TSo = "TokenState" -_val = "valid" -_IERVT = "IpamExternalResourceVerificationToken" -_iERVTI = "ipamExternalResourceVerificationTokenId" -_IERVTA = "IpamExternalResourceVerificationTokenArn" -_iERVTA = "ipamExternalResourceVerificationTokenArn" -_TV = "TokenValue" -_tV = "tokenValue" -_TN = "TokenName" -_tN = "tokenName" -_NA = "NotAfter" -_nA = "notAfter" -_CIERVTO = "CreateIpamExternalResourceVerificationTokenOutput" -_cCIERVTRo = "com.amazonaws.ec2#CreateIpamExternalResourceVerificationTokenResult" -_iERVT = "ipamExternalResourceVerificationToken" -_CIERVT = "CreateIpamExternalResourceVerificationToken" -_Ri = "Rir" -_ripe = "ripe" -_apn = "apnic" -_ari = "arin" -_lac = "lacnic" -_nic = "nicbr" -_CIIRAI = "CreateIpamInternetRegistryAssociationInput" -_cCIIRAR = "com.amazonaws.ec2#CreateIpamInternetRegistryAssociationRequest" -_OHr = "OrganizationHandle" -_IIRAS = "IpamInternetRegistryAssociationState" -_pe_ = "pending_enable" -_pe__ = "pending-enable" -_eip___ = "enable_in_progress" -_eip____ = "enable-in-progress" -_ec = "enable_complete" -_ec_ = "enable-complete" -_ef__ = "enable_failed" -_ef___ = "enable-failed" -_dip___ = "disable_in_progress" -_dip____ = "disable-in-progress" -_dc___ = "disable_complete" -_dc____ = "disable-complete" -_df_____ = "disable_failed" -_df______ = "disable-failed" -_IIRA = "IpamInternetRegistryAssociation" -_iIRAI = "ipamInternetRegistryAssociationId" -_IIRAA = "IpamInternetRegistryAssociationArn" -_iIRAA = "ipamInternetRegistryAssociationArn" -_rir = "rir" -_oHr = "organizationHandle" -_CRX = "ChildRequestXml" -_cRX = "childRequestXml" -_CIIRAO = "CreateIpamInternetRegistryAssociationOutput" -_cCIIRARo = "com.amazonaws.ec2#CreateIpamInternetRegistryAssociationResult" -_iIRA = "ipamInternetRegistryAssociation" -_CIIRA = "CreateIpamInternetRegistryAssociation" -_CIPI = "CreateIpamPolicyInput" -_cCIPR = "com.amazonaws.ec2#CreateIpamPolicyRequest" -_IPIp = "IpamPolicyId" -_IPSp = "IpamPolicyState" -_IPpa = "IpamPolicy" -_iPIp = "ipamPolicyId" -_IPAp = "IpamPolicyArn" -_iPAp = "ipamPolicyArn" -_IPR = "IpamPolicyRegion" -_iPR = "ipamPolicyRegion" -_CIPO = "CreateIpamPolicyOutput" -_cCIPRo = "com.amazonaws.ec2#CreateIpamPolicyResult" -_iPpa = "ipamPolicy" -_CIPr = "CreateIpamPolicy" -_INLpa = "IpamNetmaskLength" -_RIRT = "RequestIpamResourceTag" -_RIRTL = "RequestIpamResourceTagList" -_IPAS = "IpamPoolAwsService" -_ec__ = "ec2" -_gs_ = "global_services" -_gs__ = "global-services" -_IPPIS = "IpamPoolPublicIpSource" -_IPSRT = "IpamPoolSourceResourceType" -_IPSRR = "IpamPoolSourceResourceRequest" -_CIPIr = "CreateIpamPoolInput" -_cCIPRom = "com.amazonaws.ec2#CreateIpamPoolRequest" -_Loc = "Locale" -_SIPI = "SourceIpamPoolId" -_AIu = "AutoImport" -_PAu = "PubliclyAdvertisable" -_AMNL = "AllocationMinNetmaskLength" -_AMNLl = "AllocationMaxNetmaskLength" -_ADNL = "AllocationDefaultNetmaskLength" -_ARTl = "AllocationResourceTags" -_ARTll = "AllocationResourceTag" -_ASw = "AwsService" -_PIS = "PublicIpSource" -_SRou = "SourceResource" -_IRTp = "IpamResourceTag" -_IRTL = "IpamResourceTagList" -_IST = "IpamScopeType" -_IPSR = "IpamPoolSourceResource" -_IPSpa = "IpamPoolState" -_IPpam = "IpamPool" -_sIPI = "sourceIpamPoolId" -_IPApa = "IpamPoolArn" -_iPApa = "ipamPoolArn" -_ISA = "IpamScopeArn" -_iSA = "ipamScopeArn" -_iST = "ipamScopeType" -_loc = "locale" -_PD = "PoolDepth" -_pD = "poolDepth" -_aIu = "autoImport" -_pAu = "publiclyAdvertisable" -_aF = "addressFamily" -_aMNL = "allocationMinNetmaskLength" -_aMNLl = "allocationMaxNetmaskLength" -_aDNL = "allocationDefaultNetmaskLength" -_ARTS = "AllocationResourceTagSet" -_aRTS = "allocationResourceTagSet" -_aSw = "awsService" -_pIS = "publicIpSource" -_sR = "sourceResource" -_CIPOr = "CreateIpamPoolOutput" -_cCIPRoma = "com.amazonaws.ec2#CreateIpamPoolResult" -_iPpam = "ipamPool" -_CIPre = "CreateIpamPool" -_IPLRRCO = "IpamPrefixListResolverRuleConditionOperation" -_eq = "equals" -_ne = "not_equals" -_ne_ = "not-equals" -_so_ = "subnet_of" -_so__ = "subnet-of" -_IPLRRCR = "IpamPrefixListResolverRuleConditionRequest" -_Ope = "Operation" -_RTeso = "ResourceTag" -_IPLRRCRS = "IpamPrefixListResolverRuleConditionRequestSet" -_Cond = "Condition" -_IRTpa = "IpamResourceType" -_pip = "public_ipv4_pool" -_pip_ = "public-ipv4-pool" -_ip______ = "ipv6_pool" -_ip_______ = "ipv6-pool" -_eni = "eni" -_IPLRRT = "IpamPrefixListResolverRuleType" -_sc__ = "static_cidr" -_sc___ = "static-cidr" -_irc = "ipam_resource_cidr" -_irc_ = "ipam-resource-cidr" -_ipc = "ipam_pool_cidr" -_ipc_ = "ipam-pool-cidr" -_IPLRRR = "IpamPrefixListResolverRuleRequest" -_RTu = "RuleType" -_SCt = "StaticCidr" -_Condi = "Conditions" -_IPLRRRS = "IpamPrefixListResolverRuleRequestSet" -_Ru = "Rule" -_CIPLRI = "CreateIpamPrefixListResolverInput" -_cCIPLRR = "com.amazonaws.ec2#CreateIpamPrefixListResolverRequest" -_Rul = "Rules" -_IPLRI = "IpamPrefixListResolverId" -_IPLRVCS = "IpamPrefixListResolverVersionCreationStatus" -_succe = "success" -_fail = "failure" -_IPLRS = "IpamPrefixListResolverState" -_IPLR = "IpamPrefixListResolver" -_iPLRI = "ipamPrefixListResolverId" -_IPLRA = "IpamPrefixListResolverArn" -_iPLRA = "ipamPrefixListResolverArn" -_LVCS = "LastVersionCreationStatus" -_lVCS = "lastVersionCreationStatus" -_LVCSM = "LastVersionCreationStatusMessage" -_lVCSM = "lastVersionCreationStatusMessage" -_CIPLRO = "CreateIpamPrefixListResolverOutput" -_cCIPLRRo = "com.amazonaws.ec2#CreateIpamPrefixListResolverResult" -_iPLR = "ipamPrefixListResolver" -_CIPLR = "CreateIpamPrefixListResolver" -_CIPLRTI = "CreateIpamPrefixListResolverTargetInput" -_cCIPLRTR = "com.amazonaws.ec2#CreateIpamPrefixListResolverTargetRequest" -_PLR = "PrefixListRegion" -_DVe = "DesiredVersion" -_TLV = "TrackLatestVersion" -_IPLRTI = "IpamPrefixListResolverTargetId" -_IPLRTS = "IpamPrefixListResolverTargetState" -_sip = "sync_in_progress" -_sip_ = "sync-in-progress" -_sc____ = "sync_complete" -_sc_____ = "sync-complete" -_sf = "sync_failed" -_sf_ = "sync-failed" -_IPLRT = "IpamPrefixListResolverTarget" -_iPLRTI = "ipamPrefixListResolverTargetId" -_IPLRTA = "IpamPrefixListResolverTargetArn" -_iPLRTA = "ipamPrefixListResolverTargetArn" -_pLR = "prefixListRegion" -_dVe = "desiredVersion" -_LSV = "LastSyncedVersion" -_lSV = "lastSyncedVersion" -_tLV = "trackLatestVersion" -_CIPLRTO = "CreateIpamPrefixListResolverTargetOutput" -_cCIPLRTRo = "com.amazonaws.ec2#CreateIpamPrefixListResolverTargetResult" -_iPLRT = "ipamPrefixListResolverTarget" -_CIPLRT = "CreateIpamPrefixListResolverTarget" -_CIRDI = "CreateIpamResourceDiscoveryInput" -_cCIRDR = "com.amazonaws.ec2#CreateIpamResourceDiscoveryRequest" -_IOUE = "IpamOrganizationalUnitExclusion" -_oEP = "organizationsEntityPath" -_IOUES = "IpamOrganizationalUnitExclusionSet" -_IRDS = "IpamResourceDiscoveryState" -_MIP = "MODIFY_IN_PROGRESS" -_MC_ = "MODIFY_COMPLETE" -_MF = "MODIFY_FAILED" -_IRD = "IpamResourceDiscovery" -_IRDAp = "IpamResourceDiscoveryArn" -_iRDAp = "ipamResourceDiscoveryArn" -_IRDR = "IpamResourceDiscoveryRegion" -_iRDR = "ipamResourceDiscoveryRegion" -_OUE = "OrganizationalUnitExclusions" -_OUES = "OrganizationalUnitExclusionSet" -_oUES = "organizationalUnitExclusionSet" -_CIRDO = "CreateIpamResourceDiscoveryOutput" -_cCIRDRo = "com.amazonaws.ec2#CreateIpamResourceDiscoveryResult" -_iRD = "ipamResourceDiscovery" -_CIRD = "CreateIpamResourceDiscovery" -_ALs = "AsnList" -_IRPRML = "IpamRoutingPolicyRegistrationMaxLength" -_CIRPRI = "CreateIpamRoutingPolicyRegistrationInput" -_cCIRPRR = "com.amazonaws.ec2#CreateIpamRoutingPolicyRegistrationRequest" -_Asns = "Asns" -_PMSA = "PermitMoreSpecificAnnouncements" -_ML = "MaxLength" -_CIRPRO = "CreateIpamRoutingPolicyRegistrationOutput" -_cCIRPRRo = "com.amazonaws.ec2#CreateIpamRoutingPolicyRegistrationResult" -_CIRPR = "CreateIpamRoutingPolicyRegistration" -_ISEAT = "IpamScopeExternalAuthorityType" -_info = "infoblox" -_EAC = "ExternalAuthorityConfiguration" -_ERI = "ExternalResourceIdentifier" -_CISI = "CreateIpamScopeInput" -_cCISR = "com.amazonaws.ec2#CreateIpamScopeRequest" -_ISEAC = "IpamScopeExternalAuthorityConfiguration" -_eRI = "externalResourceIdentifier" -_ISS = "IpamScopeState" -_ISpam = "IpamScope" -_iSI = "ipamScopeId" -_PCoo = "PoolCount" -_pC = "poolCount" -_eAC = "externalAuthorityConfiguration" -_CISO = "CreateIpamScopeOutput" -_cCISRo = "com.amazonaws.ec2#CreateIpamScopeResult" -_iSpa = "ipamScope" -_CIS = "CreateIpamScope" -_KF = "KeyFormat" -_pem = "pem" -_ppk = "ppk" -_KT = "KeyType" -_rsa = "rsa" -_ed = "ed25519" -_CKPI = "CreateKeyPairInput" -_cCKPR = "com.amazonaws.ec2#CreateKeyPairRequest" -_CKPO = "CreateKeyPairOutput" -_cKP = "com.amazonaws.ec2#KeyPair" -_KPI = "KeyPairId" -_kPI = "keyPairId" -_kN = "keyName" -_KFe = "KeyFingerprint" -_kF = "keyFingerprint" -_KM = "KeyMaterial" -_kM = "keyMaterial" -_CKP = "CreateKeyPair" -_LTEBDR = "LaunchTemplateEbsBlockDeviceRequest" -_LTBDMR = "LaunchTemplateBlockDeviceMappingRequest" -_LTBDMRL = "LaunchTemplateBlockDeviceMappingRequestList" -_CRP = "CapacityReservationPreference" -_cro_ = "capacity_reservations_only" -_cro__ = "capacity-reservations-only" -_LTCRSR = "LaunchTemplateCapacityReservationSpecificationRequest" -_ASSS = "AmdSevSnpSpecification" -_NVS = "NestedVirtualizationSpecification" -_LTCOR = "LaunchTemplateCpuOptionsRequest" -_CCor = "CoreCount" -_TPC = "ThreadsPerCore" -_NV = "NestedVirtualization" -_CSR = "CreditSpecificationRequest" -_CCp = "CpuCredits" -_EGS = "ElasticGpuSpecification" -_EGSL = "ElasticGpuSpecificationList" -_LTEIAC = "LaunchTemplateElasticInferenceAcceleratorCount" -_LTEIA = "LaunchTemplateElasticInferenceAccelerator" -_LTEIAL = "LaunchTemplateElasticInferenceAcceleratorList" -_LTEOR = "LaunchTemplateEnclaveOptionsRequest" -_LTHOR = "LaunchTemplateHibernationOptionsRequest" -_Conf = "Configured" -_LTIIPSR = "LaunchTemplateIamInstanceProfileSpecificationRequest" -_SBh = "ShutdownBehavior" -_icr_ = "interruptible_capacity_reservation" -_od_ = "on_demand" -_SITp = "SpotInstanceType" -_ot = "one_time" -_ot_ = "one-time" -_per = "persistent" -_LTSMOR = "LaunchTemplateSpotMarketOptionsRequest" -_BDMlo = "BlockDurationMinutes" -_LTIMOR = "LaunchTemplateInstanceMarketOptionsRequest" -_KI = "KernelId" -_KPN = "KeyPairName" -_LTLCR = "LaunchTemplateLicenseConfigurationRequest" -_LCA = "LicenseConfigurationArn" -_LTLSLR = "LaunchTemplateLicenseSpecificationListRequest" -_LTARS = "LaunchTemplateAutoRecoveryState" -_LTIMORa = "LaunchTemplateInstanceMaintenanceOptionsRequest" -_ARu = "AutoRecovery" -_LTIMES = "LaunchTemplateInstanceMetadataEndpointState" -_LTIMPI = "LaunchTemplateInstanceMetadataProtocolIpv6" -_LTHTS = "LaunchTemplateHttpTokensState" -_LTIMTS = "LaunchTemplateInstanceMetadataTagsState" -_LTIMORau = "LaunchTemplateInstanceMetadataOptionsRequest" -_HPI = "HttpProtocolIpv6" -_IMT = "InstanceMetadataTags" -_LTMR = "LaunchTemplatesMonitoringRequest" -_CTSR = "ConnectionTrackingSpecificationRequest" -_TET = "TcpEstablishedTimeout" -_UST = "UdpStreamTimeout" -_UTd = "UdpTimeout" -_ESUSR = "EnaSrdUdpSpecificationRequest" -_ESSR = "EnaSrdSpecificationRequest" -_SGISL = "SecurityGroupIdStringList" -_IPSRp = "Ipv4PrefixSpecificationRequest" -_IPLpv = "Ipv4PrefixList" -_IIAR = "InstanceIpv6AddressRequest" -_IApv = "Ipv6Address" -_IIALR = "InstanceIpv6AddressListRequest" -_IIA = "InstanceIpv6Address" -_IPSRpv = "Ipv6PrefixSpecificationRequest" -_IPLpvr = "Ipv6PrefixList" -_PIAS = "PrivateIpAddressSpecification" -_Prim = "Primary" -_prim = "primary" -_PIASLr = "PrivateIpAddressSpecificationList" -_LTINISR = "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest" -_ACIA = "AssociateCarrierIpAddress" -_APIAsso = "AssociatePublicIpAddress" -_ITnte = "InterfaceType" -_PIrim = "PrimaryIpv6" -_CTSo = "ConnectionTrackingSpecification" -_LTINISRL = "LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList" -_INIS = "InstanceNetworkInterfaceSpecification" -_IBW = "InstanceBandwidthWeighting" -_V_ = "VPC_1" -_v_____ = "vpc-1" -_E_ = "EBS_1" -_e_ = "ebs-1" -_LTNPOR = "LaunchTemplateNetworkPerformanceOptionsRequest" -_BW = "BandwidthWeighting" -_ORper = "OperatorRequest" -_LTPR = "LaunchTemplatePlacementRequest" -_LTPDNOR = "LaunchTemplatePrivateDnsNameOptionsRequest" -_RIa = "RamdiskId" -_SITe = "SecondaryInterfaceType" -_SECONDARY = "SECONDARY" -_sec = "secondary" -_SIPIASR = "SecondaryInterfacePrivateIpAddressSpecificationRequest" -_SIPIASLR = "SecondaryInterfacePrivateIpAddressSpecificationListRequest" -_SIPIAS = "SecondaryInterfacePrivateIpAddressSpecification" -_SSIe = "SecondarySubnetId" -_LTISISR = "LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest" -_LTISISRL = "LaunchTemplateInstanceSecondaryInterfaceSpecificationRequestList" -_ISIS = "InstanceSecondaryInterfaceSpecification" -_SGSL = "SecurityGroupStringList" -_LTTSR = "LaunchTemplateTagSpecificationRequest" -_LTTSRL = "LaunchTemplateTagSpecificationRequestList" -_RLTD = "RequestLaunchTemplateData" -_NIe = "NetworkInterfaces" -_Mon = "Monitoring" -_RDI = "RamDiskId" -_DAT = "DisableApiTermination" -_IISB = "InstanceInitiatedShutdownBehavior" -_UDs = "UserData" -_EGSl = "ElasticGpuSpecifications" -_EIA = "ElasticInferenceAccelerators" -_EIAl = "ElasticInferenceAccelerator" -_IMO = "InstanceMarketOptions" -_CSr = "CreditSpecification" -_CRSa = "CapacityReservationSpecification" -_LSic = "LicenseSpecifications" -_LSice = "LicenseSpecification" -_HO = "HibernationOptions" -_EOn = "EnclaveOptions" -_PDNO = "PrivateDnsNameOptions" -_MOa = "MaintenanceOptions" -_DASi = "DisableApiStop" -_NPO = "NetworkPerformanceOptions" -_SIec = "SecondaryInterfaces" -_SIeco = "SecondaryInterface" -_VD = "VersionDescription" -_CLTI = "CreateLaunchTemplateInput" -_cCLTR = "com.amazonaws.ec2#CreateLaunchTemplateRequest" -_LTD = "LaunchTemplateData" -_LT = "LaunchTemplate" -_CBr = "CreatedBy" -_cBr = "createdBy" -_DVN = "DefaultVersionNumber" -_dVN = "defaultVersionNumber" -_LVN = "LatestVersionNumber" -_lVN = "latestVersionNumber" -_VEa = "ValidationError" -_VW = "ValidationWarning" -_CLTO = "CreateLaunchTemplateOutput" -_cCLTRo = "com.amazonaws.ec2#CreateLaunchTemplateResult" -_lT = "launchTemplate" -_Wa = "Warning" -_wa = "warning" -_CLT = "CreateLaunchTemplate" -_CLTVI = "CreateLaunchTemplateVersionInput" -_cCLTVR = "com.amazonaws.ec2#CreateLaunchTemplateVersionRequest" -_SVo = "SourceVersion" -_RAes = "ResolveAlias" -_LTEBD = "LaunchTemplateEbsBlockDevice" -_LTBDM = "LaunchTemplateBlockDeviceMapping" -_LTBDML = "LaunchTemplateBlockDeviceMappingList" -_CRTR = "CapacityReservationTargetResponse" -_cRRGA = "capacityReservationResourceGroupArn" -_LTCRSRa = "LaunchTemplateCapacityReservationSpecificationResponse" -_cRP = "capacityReservationPreference" -_cRT = "capacityReservationTarget" -_LTCO = "LaunchTemplateCpuOptions" -_cCor = "coreCount" -_tPC = "threadsPerCore" -_aSS = "amdSevSnp" -_nV = "nestedVirtualization" -_cCp = "cpuCredits" -_EGSR = "ElasticGpuSpecificationResponse" -_EGSRL = "ElasticGpuSpecificationResponseList" -_LTEIAR = "LaunchTemplateElasticInferenceAcceleratorResponse" -_LTEIARL = "LaunchTemplateElasticInferenceAcceleratorResponseList" -_LTEO = "LaunchTemplateEnclaveOptions" -_LTHO = "LaunchTemplateHibernationOptions" -_conf = "configured" -_LTIIPS = "LaunchTemplateIamInstanceProfileSpecification" -_LTSMO = "LaunchTemplateSpotMarketOptions" -_sIT = "spotInstanceType" -_bDMl = "blockDurationMinutes" -_vU = "validUntil" -_iIB = "instanceInterruptionBehavior" -_LTIMO = "LaunchTemplateInstanceMarketOptions" -_mTa = "marketType" -_sO = "spotOptions" -_LTLC = "LaunchTemplateLicenseConfiguration" -_lCA = "licenseConfigurationArn" -_LTLL = "LaunchTemplateLicenseList" -_LTIMOa = "LaunchTemplateInstanceMaintenanceOptions" -_aRu = "autoRecovery" -_LTIMOS = "LaunchTemplateInstanceMetadataOptionsState" -_LTIMOau = "LaunchTemplateInstanceMetadataOptions" -_hTt = "httpTokens" -_hPRHL = "httpPutResponseHopLimit" -_hE = "httpEndpoint" -_hPI = "httpProtocolIpv6" -_iMT = "instanceMetadataTags" -_LTM = "LaunchTemplatesMonitoring" -_tET = "tcpEstablishedTimeout" -_uTd = "udpTimeout" -_uST = "udpStreamTimeout" -_LTESUS = "LaunchTemplateEnaSrdUdpSpecification" -_eSUE = "enaSrdUdpEnabled" -_LTESS = "LaunchTemplateEnaSrdSpecification" -_eSE = "enaSrdEnabled" -_eSUS = "enaSrdUdpSpecification" -_IPSRpvr = "Ipv4PrefixSpecificationResponse" -_IPLRp = "Ipv4PrefixListResponse" -_iApv = "ipv6Address" -_IPIs = "IsPrimaryIpv6" -_iPIs = "isPrimaryIpv6" -_IIAL = "InstanceIpv6AddressList" -_IPSRpvre = "Ipv6PrefixSpecificationResponse" -_iPpvr = "ipv6Prefix" -_IPLRpv = "Ipv6PrefixListResponse" -_LTINIS = "LaunchTemplateInstanceNetworkInterfaceSpecification" -_aCIA = "associateCarrierIpAddress" -_aPIA = "associatePublicIpAddress" -_GS = "GroupSet" -_gS = "groupSet" -_iTnt = "interfaceType" -_IAS = "Ipv6AddressesSet" -_iAS = "ipv6AddressesSet" -_PIASr = "PrivateIpAddressesSet" -_pIAS = "privateIpAddressesSet" -_IPSpv = "Ipv4PrefixSet" -_iPS = "ipv4PrefixSet" -_iPC = "ipv4PrefixCount" -_IPSpvr = "Ipv6PrefixSet" -_iPSp = "ipv6PrefixSet" -_iPCp = "ipv6PrefixCount" -_pIri = "primaryIpv6" -_eSS = "enaSrdSpecification" -_cTSo = "connectionTrackingSpecification" -_eQC = "enaQueueCount" -_LTINISL = "LaunchTemplateInstanceNetworkInterfaceSpecificationList" -_LTNPO = "LaunchTemplateNetworkPerformanceOptions" -_bW = "bandwidthWeighting" -_LTP = "LaunchTemplatePlacement" -_LTPDNO = "LaunchTemplatePrivateDnsNameOptions" -_SIPIASL = "SecondaryInterfacePrivateIpAddressSpecificationList" -_LTISIS = "LaunchTemplateInstanceSecondaryInterfaceSpecification" -_pIAC = "privateIpAddressCount" -_sSIe = "secondarySubnetId" -_LTISISL = "LaunchTemplateInstanceSecondaryInterfaceSpecificationList" -_LTTS = "LaunchTemplateTagSpecification" -_LTTSL = "LaunchTemplateTagSpecificationList" -_RLTDe = "ResponseLaunchTemplateData" -_kI = "kernelId" -_NIS = "NetworkInterfaceSet" -_nIS = "networkInterfaceSet" -_monit = "monitoring" -_rDI = "ramDiskId" -_dAT = "disableApiTermination" -_iISB = "instanceInitiatedShutdownBehavior" -_uDs = "userData" -_TSS = "TagSpecificationSet" -_tSS = "tagSpecificationSet" -_EGSS = "ElasticGpuSpecificationSet" -_eGSS = "elasticGpuSpecificationSet" -_EIAS = "ElasticInferenceAcceleratorSet" -_eIAS = "elasticInferenceAcceleratorSet" -_iMO = "instanceMarketOptions" -_cSr = "creditSpecification" -_cOp = "cpuOptions" -_cRS = "capacityReservationSpecification" -_LSicen = "LicenseSet" -_lSi = "licenseSet" -_hO = "hibernationOptions" -_mO = "metadataOptions" -_eOn = "enclaveOptions" -_pDNO = "privateDnsNameOptions" -_mOa = "maintenanceOptions" -_dASi = "disableApiStop" -_nPO = "networkPerformanceOptions" -_SIS = "SecondaryInterfaceSet" -_sIS = "secondaryInterfaceSet" -_LTV = "LaunchTemplateVersion" -_VNe = "VersionNumber" -_vNe = "versionNumber" -_vD = "versionDescription" -_DVef = "DefaultVersion" -_dVef = "defaultVersion" -_lTD = "launchTemplateData" -_CLTVO = "CreateLaunchTemplateVersionOutput" -_cCLTVRo = "com.amazonaws.ec2#CreateLaunchTemplateVersionResult" -_lTV = "launchTemplateVersion" -_CLTV = "CreateLaunchTemplateVersion" -_LGVIGI = "LocalGatewayVirtualInterfaceGroupId" -_CLGRI = "CreateLocalGatewayRouteInput" -_cCLGRR = "com.amazonaws.ec2#CreateLocalGatewayRouteRequest" -_LGRS = "LocalGatewayRouteState" -_bl = "blackhole" -_LGRT = "LocalGatewayRouteType" -_stat = "static" -_prop = "propagated" -_LGR = "LocalGatewayRoute" -_dCB = "destinationCidrBlock" -_lGVIGI = "localGatewayVirtualInterfaceGroupId" -_LGRTA = "LocalGatewayRouteTableArn" -_lGRTA = "localGatewayRouteTableArn" -_CLGRO = "CreateLocalGatewayRouteOutput" -_cCLGRRo = "com.amazonaws.ec2#CreateLocalGatewayRouteResult" -_Rou = "Route" -_rou = "route" -_CLGR = "CreateLocalGatewayRoute" -_LGRTM = "LocalGatewayRouteTableMode" -_dvr = "direct_vpc_routing" -_dvr_ = "direct-vpc-routing" -_coi = "coip" -_CLGRTI = "CreateLocalGatewayRouteTableInput" -_cCLGRTR = "com.amazonaws.ec2#CreateLocalGatewayRouteTableRequest" -_SRt = "StateReason" -_LGRTo = "LocalGatewayRouteTable" -_sRt = "stateReason" -_CLGRTO = "CreateLocalGatewayRouteTableOutput" -_cCLGRTRo = "com.amazonaws.ec2#CreateLocalGatewayRouteTableResult" -_lGRT = "localGatewayRouteTable" -_CLGRT = "CreateLocalGatewayRouteTable" -_CLGRTVIGAI = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput" -_cCLGRTVIGAR = "com.amazonaws.ec2#CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest" -_LGRTVIGAI = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationId" -_LGRTVIGA = "LocalGatewayRouteTableVirtualInterfaceGroupAssociation" -_lGRTVIGAI = "localGatewayRouteTableVirtualInterfaceGroupAssociationId" -_CLGRTVIGAO = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput" -_cCLGRTVIGARo = "com.amazonaws.ec2#CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult" -_lGRTVIGA = "localGatewayRouteTableVirtualInterfaceGroupAssociation" -_CLGRTVIGA = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation" -_CLGRTVAI = "CreateLocalGatewayRouteTableVpcAssociationInput" -_cCLGRTVAR = "com.amazonaws.ec2#CreateLocalGatewayRouteTableVpcAssociationRequest" -_LGRTVAI = "LocalGatewayRouteTableVpcAssociationId" -_LGRTVA = "LocalGatewayRouteTableVpcAssociation" -_lGRTVAI = "localGatewayRouteTableVpcAssociationId" -_CLGRTVAO = "CreateLocalGatewayRouteTableVpcAssociationOutput" -_cCLGRTVARo = "com.amazonaws.ec2#CreateLocalGatewayRouteTableVpcAssociationResult" -_lGRTVA = "localGatewayRouteTableVpcAssociation" -_CLGRTVA = "CreateLocalGatewayRouteTableVpcAssociation" -_OLI = "OutpostLagId" -_CLGVII = "CreateLocalGatewayVirtualInterfaceInput" -_cCLGVIR = "com.amazonaws.ec2#CreateLocalGatewayVirtualInterfaceRequest" -_Vl = "Vlan" -_LA = "LocalAddress" -_PAe = "PeerAddress" -_PBA = "PeerBgpAsn" -_PBAE = "PeerBgpAsnExtended" -_LGVICS = "LocalGatewayVirtualInterfaceConfigurationState" -_LGVII = "LocalGatewayVirtualInterfaceId" -_LGVI = "LocalGatewayVirtualInterface" -_lGVII = "localGatewayVirtualInterfaceId" -_LGVIA = "LocalGatewayVirtualInterfaceArn" -_lGVIA = "localGatewayVirtualInterfaceArn" -_oLI = "outpostLagId" -_vl = "vlan" -_lA = "localAddress" -_pAe = "peerAddress" -_LBAo = "LocalBgpAsn" -_lBAo = "localBgpAsn" -_pBA = "peerBgpAsn" -_pBAE = "peerBgpAsnExtended" -_CSon = "ConfigurationState" -_cSo = "configurationState" -_CLGVIO = "CreateLocalGatewayVirtualInterfaceOutput" -_cCLGVIRo = "com.amazonaws.ec2#CreateLocalGatewayVirtualInterfaceResult" -_lGVI = "localGatewayVirtualInterface" -_CLGVI = "CreateLocalGatewayVirtualInterface" -_CLGVIGI = "CreateLocalGatewayVirtualInterfaceGroupInput" -_cCLGVIGR = "com.amazonaws.ec2#CreateLocalGatewayVirtualInterfaceGroupRequest" -_LBAE = "LocalBgpAsnExtended" -_LGVIGCS = "LocalGatewayVirtualInterfaceGroupConfigurationState" -_inco = "incomplete" -_LGVIIS = "LocalGatewayVirtualInterfaceIdSet" -_LGVIG = "LocalGatewayVirtualInterfaceGroup" -_LGVIIo = "LocalGatewayVirtualInterfaceIds" -_lGVIIS = "localGatewayVirtualInterfaceIdSet" -_lBAE = "localBgpAsnExtended" -_LGVIGA = "LocalGatewayVirtualInterfaceGroupArn" -_lGVIGA = "localGatewayVirtualInterfaceGroupArn" -_CLGVIGO = "CreateLocalGatewayVirtualInterfaceGroupOutput" -_cCLGVIGRo = "com.amazonaws.ec2#CreateLocalGatewayVirtualInterfaceGroupResult" -_lGVIG = "localGatewayVirtualInterfaceGroup" -_CLGVIG = "CreateLocalGatewayVirtualInterfaceGroup" -_MSIPCR = "MacSystemIntegrityProtectionConfigurationRequest" -_CMSIPMTI = "CreateMacSystemIntegrityProtectionModificationTaskInput" -_cCMSIPMTR = ( - "com.amazonaws.ec2#CreateMacSystemIntegrityProtectionModificationTaskRequest" -) -_MSIPS = "MacSystemIntegrityProtectionStatus" -_CMSIPMTO = "CreateMacSystemIntegrityProtectionModificationTaskOutput" -_cCMSIPMTRo = ( - "com.amazonaws.ec2#CreateMacSystemIntegrityProtectionModificationTaskResult" -) -_CMSIPMT = "CreateMacSystemIntegrityProtectionModificationTask" -_CMPLI = "CreateManagedPrefixListInput" -_cCMPLR = "com.amazonaws.ec2#CreateManagedPrefixListRequest" -_PLN = "PrefixListName" -_Ent = "Entries" -_Entr = "Entry" -_ME = "MaxEntries" -_PLS = "PrefixListState" -_rc_ = "restore_complete" -_rc__ = "restore-complete" -_rf____________ = "restore_failed" -_rf_____________ = "restore-failed" -_MPL = "ManagedPrefixList" -_PLA = "PrefixListArn" -_pLA = "prefixListArn" -_pLN = "prefixListName" -_mE = "maxEntries" -_IPLRSE = "IpamPrefixListResolverSyncEnabled" -_iPLRSE = "ipamPrefixListResolverSyncEnabled" -_CMPLO = "CreateManagedPrefixListOutput" -_cCMPLRo = "com.amazonaws.ec2#CreateManagedPrefixListResult" -_CMPL = "CreateManagedPrefixList" -_AMv = "AvailabilityMode" -_ZONAL = "ZONAL" -_zo = "zonal" -_AZA = "AvailabilityZoneAddress" -_AZAv = "AvailabilityZoneAddresses" -_CTo = "ConnectivityType" -_PUBLIC = "PUBLIC" -_CNGI = "CreateNatGatewayInput" -_cCNGR = "com.amazonaws.ec2#CreateNatGatewayRequest" -_SAI = "SecondaryAllocationIds" -_SAIe = "SecondaryAllocationId" -_SPIA = "SecondaryPrivateIpAddresses" -_SPIAe = "SecondaryPrivateIpAddress" -_NGASat = "NatGatewayApplianceState" -_ATTACHING = "ATTACHING" -_ATTACHED = "ATTACHED" -_DETACHING = "DETACHING" -_DETACHED = "DETACHED" -_AF__ = "ATTACH_FAILED" -_af___ = "attach-failed" -_DF__ = "DETACH_FAILED" -_df_______ = "detach-failed" -_NGAMS = "NatGatewayApplianceModifyState" -_COMPLETED = "COMPLETED" -_NGAT = "NatGatewayApplianceType" -_NFP = "NETWORK_FIREWALL_PROXY" -_nfp = "network-firewall-proxy" -_NGAA = "NatGatewayAttachedAppliance" -_AAp = "ApplianceArn" -_aAp = "applianceArn" -_vEI = "vpcEndpointId" -_AStta = "AttachmentState" -_aStt = "attachmentState" -_MSo = "ModificationState" -_mS = "modificationState" -_FCa = "FailureCode" -_fCa = "failureCode" -_NGAAL = "NatGatewayAttachedApplianceList" -_APZS = "AutoProvisionZonesState" -_ASIS = "AutoScalingIpsState" -_PB = "ProvisionedBandwidth" -_PTro = "ProvisionTime" -_pTr = "provisionTime" -_Prov = "Provisioned" -_RTeq = "RequestTime" -_rTeq = "requestTime" -_Req = "Requested" -_NGS = "NatGatewayState" -_PENDING = "PENDING" -_AVAILABLE = "AVAILABLE" -_DELETING = "DELETING" -_DELETED = "DELETED" -_DTel = "DeleteTime" -_dTe = "deleteTime" -_pB = "provisionedBandwidth" -_cTo = "connectivityType" -_aM = "availabilityMode" -_ASI = "AutoScalingIps" -_aSI = "autoScalingIps" -_APZ = "AutoProvisionZones" -_aPZ = "autoProvisionZones" -_AAt = "AttachedAppliances" -_AASt = "AttachedApplianceSet" -_aASt = "attachedApplianceSet" -_CNGO = "CreateNatGatewayOutput" -_cCNGRo = "com.amazonaws.ec2#CreateNatGatewayResult" -_CNG = "CreateNatGateway" -_CNAI = "CreateNetworkAclInput" -_cCNAR = "com.amazonaws.ec2#CreateNetworkAclRequest" -_NAA = "NetworkAclAssociation" -_NAAI = "NetworkAclAssociationId" -_nAAI = "networkAclAssociationId" -_NAI = "NetworkAclId" -_nAI = "networkAclId" -_NAAL = "NetworkAclAssociationList" -_ITC = "IcmpTypeCode" -_all = "allow" -_deny = "deny" -_NAE = "NetworkAclEntry" -_iTC = "icmpTypeCode" -_NAEL = "NetworkAclEntryList" -_NAe = "NetworkAcl" -_ASsso = "AssociationSet" -_aSss = "associationSet" -_ESn = "EntrySet" -_eSn = "entrySet" -_Def = "Default" -_CNAO = "CreateNetworkAclOutput" -_cCNARo = "com.amazonaws.ec2#CreateNetworkAclResult" -_nAe = "networkAcl" -_CNAr = "CreateNetworkAcl" -_CNAEI = "CreateNetworkAclEntryInput" -_cCNAER = "com.amazonaws.ec2#CreateNetworkAclEntryRequest" -_Ic = "Icmp" -_CNAEO = "CreateNetworkAclEntryOutput" -_CNAE = "CreateNetworkAclEntry" -_CNIASI = "CreateNetworkInsightsAccessScopeInput" -_cCNIASR = "com.amazonaws.ec2#CreateNetworkInsightsAccessScopeRequest" -_MPa = "MatchPaths" -_MPat = "MatchPath" -_EP = "ExcludePaths" -_EPx = "ExcludePath" -_NIAS = "NetworkInsightsAccessScope" -_NIASA = "NetworkInsightsAccessScopeArn" -_nIASA = "networkInsightsAccessScopeArn" -_CDr = "CreatedDate" -_cDr = "createdDate" -_UDp = "UpdatedDate" -_uDp = "updatedDate" -_NIASC = "NetworkInsightsAccessScopeContent" -_MPS = "MatchPathSet" -_mPS = "matchPathSet" -_EPS = "ExcludePathSet" -_ePS = "excludePathSet" -_CNIASO = "CreateNetworkInsightsAccessScopeOutput" -_cCNIASRo = "com.amazonaws.ec2#CreateNetworkInsightsAccessScopeResult" -_nIAS = "networkInsightsAccessScope" -_nIASC = "networkInsightsAccessScopeContent" -_CNIAS = "CreateNetworkInsightsAccessScope" -_NIRI = "NetworkInsightsResourceId" -_RFPR = "RequestFilterPortRange" -_PRF = "PathRequestFilter" -_CNIPI = "CreateNetworkInsightsPathInput" -_cCNIPR = "com.amazonaws.ec2#CreateNetworkInsightsPathRequest" -_SIo = "SourceIp" -_DIes = "DestinationIp" -_FAS = "FilterAtSource" -_FAD = "FilterAtDestination" -_FPR = "FilterPortRange" -_PFa = "PathFilter" -_sAo = "sourceAddress" -_dA = "destinationAddress" -_NIPI = "NetworkInsightsPathId" -_NIP = "NetworkInsightsPath" -_nIPI = "networkInsightsPathId" -_NIPA = "NetworkInsightsPathArn" -_nIPA = "networkInsightsPathArn" -_SAour = "SourceArn" -_sAou = "sourceArn" -_DAes = "DestinationArn" -_dAe = "destinationArn" -_sIo = "sourceIp" -_dIes = "destinationIp" -_dPe = "destinationPort" -_fAS = "filterAtSource" -_fAD = "filterAtDestination" -_CNIPO = "CreateNetworkInsightsPathOutput" -_cCNIPRo = "com.amazonaws.ec2#CreateNetworkInsightsPathResult" -_nIP = "networkInsightsPath" -_CNIP = "CreateNetworkInsightsPath" -_NICT = "NetworkInterfaceCreationType" -_efa = "efa" -_eo = "efa_only" -_eo_ = "efa-only" -_br = "branch" -_tru = "trunk" -_CNII = "CreateNetworkInterfaceInput" -_cCNIR = "com.amazonaws.ec2#CreateNetworkInterfaceRequest" -_EPI = "EnablePrimaryIpv6" -_pIAri = "privateIpAddresses" -_ASL = "AssociatedSubnetList" -_NIA = "NetworkInterfaceAssociation" -_IOI = "IpOwnerId" -_iOI = "ipOwnerId" -_PDNu = "PublicDnsName" -_pDNu = "publicDnsName" -_AESUS = "AttachmentEnaSrdUdpSpecification" -_AESS = "AttachmentEnaSrdSpecification" -_NIAe = "NetworkInterfaceAttachment" -_IOIn = "InstanceOwnerId" -_iOIn = "instanceOwnerId" -_CTC = "ConnectionTrackingConfiguration" -_GIro = "GroupIdentifier" -_GIL = "GroupIdentifierList" -_NIT = "NetworkInterfaceType" -_inter = "interface" -_lb = "load_balancer" -_nlb = "network_load_balancer" -_qu = "quicksight" -_gam = "global_accelerator_managed" -_agm = "api_gateway_managed" -_glb = "gateway_load_balancer" -_glbe = "gateway_load_balancer_endpoint" -_irm = "iot_rules_managed" -_accm = "aws_codestar_connections_managed" -_NIIA = "NetworkInterfaceIpv6Address" -_PIDN = "PublicIpv6DnsName" -_pIDN = "publicIpv6DnsName" -_NIIAL = "NetworkInterfaceIpv6AddressesList" -_IPSpvre = "Ipv6PrefixSpecification" -_IPLpvre = "Ipv6PrefixesList" -_NIPIA = "NetworkInterfacePrivateIpAddress" -_PDNr = "PrivateDnsName" -_pDNr = "privateDnsName" -_NIPIAL = "NetworkInterfacePrivateIpAddressList" -_PIDNO = "PublicIpDnsNameOptions" -_DHT = "DnsHostnameType" -_dHT = "dnsHostnameType" -_PIDNu = "PublicIpv4DnsName" -_pIDNu = "publicIpv4DnsName" -_PDSDN = "PublicDualStackDnsName" -_pDSDN = "publicDualStackDnsName" -_NISe = "NetworkInterfaceStatus" -_cTC = "connectionTrackingConfiguration" -_MAa = "MacAddress" -_mAa = "macAddress" -_pIDNO = "publicIpDnsNameOptions" -_RIeq = "RequesterId" -_rIeq = "requesterId" -_RMe = "RequesterManaged" -_rMe = "requesterManaged" -_SDC = "SourceDestCheck" -_sDC = "sourceDestCheck" -_DAIT = "DenyAllIgwTraffic" -_dAIT = "denyAllIgwTraffic" -_ASssoc = "AssociatedSubnets" -_ASSs = "AssociatedSubnetSet" -_aSSs = "associatedSubnetSet" -_CNIO = "CreateNetworkInterfaceOutput" -_cCNIRo = "com.amazonaws.ec2#CreateNetworkInterfaceResult" -_CNIr = "CreateNetworkInterface" -_IPTn = "InterfacePermissionType" -_IA_ = "INSTANCE_ATTACH" -_IA__ = "INSTANCE-ATTACH" -_EA = "EIP_ASSOCIATE" -_EA_ = "EIP-ASSOCIATE" -_CNIPIr = "CreateNetworkInterfacePermissionInput" -_cCNIPRom = "com.amazonaws.ec2#CreateNetworkInterfacePermissionRequest" -_AAIw = "AwsAccountId" -_Pe = "Permission" -_NIPSC = "NetworkInterfacePermissionStateCode" -_gra = "granted" -_revo = "revoked" -_NIPS = "NetworkInterfacePermissionState" -_NIPe = "NetworkInterfacePermission" -_NIPIe = "NetworkInterfacePermissionId" -_nIPIe = "networkInterfacePermissionId" -_aAI = "awsAccountId" -_perm = "permission" -_PSer = "PermissionState" -_pSer = "permissionState" -_CNIPOr = "CreateNetworkInterfacePermissionOutput" -_cCNIPRoma = "com.amazonaws.ec2#CreateNetworkInterfacePermissionResult" -_IPnt = "InterfacePermission" -_iPnt = "interfacePermission" -_CNIPr = "CreateNetworkInterfacePermission" -_SLp = "SpreadLevel" -_rac = "rack" -_PSl = "PlacementStrategy" -_clu = "cluster" -_spr = "spread" -_part = "partition" -_pt___ = "precision_time" -_pt____ = "precision-time" -_CPGI = "CreatePlacementGroupInput" -_cCPGR = "com.amazonaws.ec2#CreatePlacementGroupRequest" -_PCa = "PartitionCount" -_LGIi = "LinkedGroupId" -_PGIa = "ParentGroupId" -_Str = "Strategy" -_str = "strategy" -_PGS = "PlacementGroupState" -_PG = "PlacementGroup" -_pCa = "partitionCount" -_GA = "GroupArn" -_gA = "groupArn" -_sL = "spreadLevel" -_lGIi = "linkedGroupId" -_pGI = "parentGroupId" -_CPGO = "CreatePlacementGroupOutput" -_cCPGRo = "com.amazonaws.ec2#CreatePlacementGroupResult" -_pG = "placementGroup" -_CPG = "CreatePlacementGroup" -_CPIPI = "CreatePublicIpv4PoolInput" -_cCPIPR = "com.amazonaws.ec2#CreatePublicIpv4PoolRequest" -_CPIPO = "CreatePublicIpv4PoolOutput" -_cCPIPRo = "com.amazonaws.ec2#CreatePublicIpv4PoolResult" -_CPIP = "CreatePublicIpv4Pool" -_CRRVTI = "CreateReplaceRootVolumeTaskInput" -_cCRRVTR = "com.amazonaws.ec2#CreateReplaceRootVolumeTaskRequest" -_DRRV = "DeleteReplacedRootVolume" -_RRVTI = "ReplaceRootVolumeTaskId" -_RRVTS = "ReplaceRootVolumeTaskState" -_ip________ = "in_progress" -_fd____ = "failed_detached" -_fd_____ = "failed-detached" -_RRVT = "ReplaceRootVolumeTask" -_rRVTI = "replaceRootVolumeTaskId" -_CTom = "CompleteTime" -_cTom = "completeTime" -_dRRV = "deleteReplacedRootVolume" -_CRRVTO = "CreateReplaceRootVolumeTaskOutput" -_cCRRVTRo = "com.amazonaws.ec2#CreateReplaceRootVolumeTaskResult" -_rRVT = "replaceRootVolumeTask" -_CRRVT = "CreateReplaceRootVolumeTask" -_PSS = "PriceScheduleSpecification" -_PSSL = "PriceScheduleSpecificationList" -_CRILIr = "CreateReservedInstancesListingInput" -_cCRILRom = "com.amazonaws.ec2#CreateReservedInstancesListingRequest" -_CRILOr = "CreateReservedInstancesListingOutput" -_cCRILRoma = "com.amazonaws.ec2#CreateReservedInstancesListingResult" -_CRILr = "CreateReservedInstancesListing" -_CRITI = "CreateRestoreImageTaskInput" -_cCRITR = "com.amazonaws.ec2#CreateRestoreImageTaskRequest" -_OK = "ObjectKey" -_CRITO = "CreateRestoreImageTaskOutput" -_cCRITRo = "com.amazonaws.ec2#CreateRestoreImageTaskResult" -_CRIT = "CreateRestoreImageTask" -_ONA = "OdbNetworkArn" -_CRIr = "CreateRouteInput" -_cCRR = "com.amazonaws.ec2#CreateRouteRequest" -_DICB = "DestinationIpv6CidrBlock" -_dICB = "destinationIpv6CidrBlock" -_CROr = "CreateRouteOutput" -_cCRRo = "com.amazonaws.ec2#CreateRouteResult" -_CRr = "CreateRoute" -_RSPRA = "RouteServerPersistRoutesAction" -_ENABLE = "ENABLE" -_DISABLE = "DISABLE" -_RESET = "RESET" -_res = "reset" -_CRSI = "CreateRouteServerInput" -_cCRSR = "com.amazonaws.ec2#CreateRouteServerRequest" -_ASA = "AmazonSideAsn" -_PRe = "PersistRoutes" -_PRD = "PersistRoutesDuration" -_SNE = "SnsNotificationsEnabled" -_RSPRS = "RouteServerPersistRoutesState" -_ENABLING = "ENABLING" -_RESETTING = "RESETTING" -_rese = "resetting" -_DISABLING = "DISABLING" -_RSS = "RouteServerState" -_RSo = "RouteServer" -_aSA = "amazonSideAsn" -_PRSe = "PersistRoutesState" -_pRSe = "persistRoutesState" -_pRD = "persistRoutesDuration" -_sNE = "snsNotificationsEnabled" -_STA = "SnsTopicArn" -_sTA = "snsTopicArn" -_CRSO = "CreateRouteServerOutput" -_cCRSRo = "com.amazonaws.ec2#CreateRouteServerResult" -_rSo = "routeServer" -_CRSr = "CreateRouteServer" -_CRSEI = "CreateRouteServerEndpointInput" -_cCRSER = "com.amazonaws.ec2#CreateRouteServerEndpointRequest" -_RSEI = "RouteServerEndpointId" -_RSES = "RouteServerEndpointState" -_FAILING = "FAILING" -_RSE = "RouteServerEndpoint" -_rSEI = "routeServerEndpointId" -_EIn = "EniId" -_eIn = "eniId" -_EAn = "EniAddress" -_eA = "eniAddress" -_FRa = "FailureReason" -_fRa = "failureReason" -_CRSEO = "CreateRouteServerEndpointOutput" -_cCRSERo = "com.amazonaws.ec2#CreateRouteServerEndpointResult" -_rSE = "routeServerEndpoint" -_CRSE = "CreateRouteServerEndpoint" -_RSPLM = "RouteServerPeerLivenessMode" -_BFD = "BFD" -_bf = "bfd" -_BK = "BGP_KEEPALIVE" -_bk = "bgp-keepalive" -_RSBOR = "RouteServerBgpOptionsRequest" -_PAee = "PeerAsn" -_PLD = "PeerLivenessDetection" -_CRSPI = "CreateRouteServerPeerInput" -_cCRSPR = "com.amazonaws.ec2#CreateRouteServerPeerRequest" -_BO = "BgpOptions" -_RSBS = "RouteServerBfdState" -_UP__ = "UP" -_up_ = "up" -_DOWN = "DOWN" -_dow = "down" -_RSBSo = "RouteServerBfdStatus" -_RSBO = "RouteServerBgpOptions" -_pAee = "peerAsn" -_pLD = "peerLivenessDetection" -_RSBSou = "RouteServerBgpState" -_RSBSout = "RouteServerBgpStatus" -_RSPI = "RouteServerPeerId" -_RSPS = "RouteServerPeerState" -_RSP = "RouteServerPeer" -_rSPI = "routeServerPeerId" -_EEI = "EndpointEniId" -_eEI = "endpointEniId" -_EEA = "EndpointEniAddress" -_eEA = "endpointEniAddress" -_bO = "bgpOptions" -_BSg = "BgpStatus" -_bSg = "bgpStatus" -_BSf = "BfdStatus" -_bSf = "bfdStatus" -_CRSPO = "CreateRouteServerPeerOutput" -_cCRSPRo = "com.amazonaws.ec2#CreateRouteServerPeerResult" -_rSP = "routeServerPeer" -_CRSP = "CreateRouteServerPeer" -_CRTI = "CreateRouteTableInput" -_cCRTR = "com.amazonaws.ec2#CreateRouteTableRequest" -_RTA = "RouteTableAssociation" -_Mai = "Main" -_main = "main" -_RTAI = "RouteTableAssociationId" -_rTAI = "routeTableAssociationId" -_RTAL = "RouteTableAssociationList" -_PVr = "PropagatingVgw" -_PVL = "PropagatingVgwList" -_CRTr = "CreateRouteTable" -_EVRP = "EnableVgwRoutePropagation" -_Adv = "Advertisement" -_RSou = "RouteState" -_fil = "filtered" -_oNA = "odbNetworkArn" -_RL = "RouteList" -_PVro = "PropagatingVgws" -_PVS = "PropagatingVgwSet" -_pVS = "propagatingVgwSet" -_Rout = "Routes" -_RSout = "RouteSet" -_rSou = "routeSet" -_CRTO = "CreateRouteTableOutput" -_cCRTRo = "com.amazonaws.ec2#CreateRouteTableResult" -_SNT = "SecondaryNetworkType" -_rdma = "rdma" -_CSNI = "CreateSecondaryNetworkInput" -_cCSNR = "com.amazonaws.ec2#CreateSecondaryNetworkRequest" -_ICBp = "Ipv4CidrBlock" -_NTe = "NetworkType" -_SNCAI = "SecondaryNetworkCidrAssociationId" -_SNCBAS = "SecondaryNetworkCidrBlockAssociationState" -_SNICBA = "SecondaryNetworkIpv4CidrBlockAssociation" -_SNICBAL = "SecondaryNetworkIpv4CidrBlockAssociationList" -_SNI = "SecondaryNetworkId" -_SNS = "SecondaryNetworkState" -_SNec = "SecondaryNetwork" -_sNI = "secondaryNetworkId" -_SNA = "SecondaryNetworkArn" -_sNA = "secondaryNetworkArn" -_ICBAp = "Ipv4CidrBlockAssociations" -_ICBASp = "Ipv4CidrBlockAssociationSet" -_iCBASp = "ipv4CidrBlockAssociationSet" -_CSNO = "CreateSecondaryNetworkOutput" -_cCSNRo = "com.amazonaws.ec2#CreateSecondaryNetworkResult" -_sNec = "secondaryNetwork" -_CSN = "CreateSecondaryNetwork" -_CSSI = "CreateSecondarySubnetInput" -_cCSSR = "com.amazonaws.ec2#CreateSecondarySubnetRequest" -_SSCAI = "SecondarySubnetCidrAssociationId" -_SSCBAS = "SecondarySubnetCidrBlockAssociationState" -_SSICBA = "SecondarySubnetIpv4CidrBlockAssociation" -_SSICBAL = "SecondarySubnetIpv4CidrBlockAssociationList" -_SSS = "SecondarySubnetState" -_SSe = "SecondarySubnet" -_SSA = "SecondarySubnetArn" -_sSA = "secondarySubnetArn" -_sNT = "secondaryNetworkType" -_CSSO = "CreateSecondarySubnetOutput" -_cCSSRo = "com.amazonaws.ec2#CreateSecondarySubnetResult" -_sSe = "secondarySubnet" -_CSS = "CreateSecondarySubnet" -_CSGI = "CreateSecurityGroupInput" -_cCSGR = "com.amazonaws.ec2#CreateSecurityGroupRequest" -_GD = "GroupDescription" -_CSGO = "CreateSecurityGroupOutput" -_cCSGRo = "com.amazonaws.ec2#CreateSecurityGroupResult" -_SGA = "SecurityGroupArn" -_sGA = "securityGroupArn" -_CSG = "CreateSecurityGroup" -_CSIr = "CreateSnapshotInput" -_cCSRom = "com.amazonaws.ec2#CreateSnapshotRequest" -_Loca = "Location" -_SCDMRn = "SnapshotCompletionDurationMinutesResponse" -_SSn = "SnapshotState" -_rec = "recoverable" -_reco = "recovering" -_STt = "StorageTier" -_arc = "archive" -_TTra = "TransferType" -_tb = "time_based" -_tb_ = "time-based" -_CSOr = "CreateSnapshotOutput" -_cSom = "com.amazonaws.ec2#Snapshot" -_OAw = "OwnerAlias" -_oAw = "ownerAlias" -_sTto = "storageTier" -_RET = "RestoreExpiryTime" -_rET = "restoreExpiryTime" -_tTr = "transferType" -_cDM = "completionDurationMinutes" -_CTomp = "CompletionTime" -_cTomp = "completionTime" -_FSSIB = "FullSnapshotSizeInBytes" -_fSSIB = "fullSnapshotSizeInBytes" -_DEKI = "DataEncryptionKeyId" -_dEKI = "dataEncryptionKeyId" -_CSre = "CreateSnapshot" -_CTFS = "CopyTagsFromSource" -_VISL = "VolumeIdStringList" -_IIWVR = "InstanceIdWithVolumeResolver" -_ISn = "InstanceSpecification" -_EBV = "ExcludeBootVolume" -_EDVI = "ExcludeDataVolumeIds" -_EDVIx = "ExcludeDataVolumeId" -_CSIre = "CreateSnapshotsInput" -_cCSRoma = "com.amazonaws.ec2#CreateSnapshotsRequest" -_SIna = "SnapshotInfo" -_SSna = "SnapshotSet" -_CSOre = "CreateSnapshotsOutput" -_cCSRomam = "com.amazonaws.ec2#CreateSnapshotsResult" -_Sn = "Snapshots" -_sSn = "snapshotSet" -_CSrea = "CreateSnapshots" -_CSDSI = "CreateSpotDatafeedSubscriptionInput" -_cCSDSR = "com.amazonaws.ec2#CreateSpotDatafeedSubscriptionRequest" -_SISF = "SpotInstanceStateFault" -_DSS = "DatafeedSubscriptionState" -_Ina = "Inactive" -_SDS = "SpotDatafeedSubscription" -_Fa = "Fault" -_fau = "fault" -_CSDSO = "CreateSpotDatafeedSubscriptionOutput" -_cCSDSRo = "com.amazonaws.ec2#CreateSpotDatafeedSubscriptionResult" -_sDS = "spotDatafeedSubscription" -_CSDS = "CreateSpotDatafeedSubscription" -_SOT = "S3ObjectTag" -_SOTL = "S3ObjectTagList" -_CSITI = "CreateStoreImageTaskInput" -_cCSITR = "com.amazonaws.ec2#CreateStoreImageTaskRequest" -_SOTb = "S3ObjectTags" -_CSITO = "CreateStoreImageTaskOutput" -_cCSITRo = "com.amazonaws.ec2#CreateStoreImageTaskResult" -_oK = "objectKey" -_CSIT = "CreateStoreImageTask" -_CSIrea = "CreateSubnetInput" -_cCSRomama = "com.amazonaws.ec2#CreateSubnetRequest" -_CSOrea = "CreateSubnetOutput" -_cCSRomamaz = "com.amazonaws.ec2#CreateSubnetResult" -_CSreat = "CreateSubnet" -_SCRT = "SubnetCidrReservationType" -_expl = "explicit" -_CSCRI = "CreateSubnetCidrReservationInput" -_cCSCRR = "com.amazonaws.ec2#CreateSubnetCidrReservationRequest" -_SCRIu = "SubnetCidrReservationId" -_SCRu = "SubnetCidrReservation" -_sCRIu = "subnetCidrReservationId" -_CSCRO = "CreateSubnetCidrReservationOutput" -_cCSCRRo = "com.amazonaws.ec2#CreateSubnetCidrReservationResult" -_sCRu = "subnetCidrReservation" -_CSCR = "CreateSubnetCidrReservation" -_TRI = "TaggableResourceId" -_RILes = "ResourceIdList" -_CTIr = "CreateTagsInput" -_cCTR = "com.amazonaws.ec2#CreateTagsRequest" -_CTO = "CreateTagsOutput" -_CTre = "CreateTags" -_CTMFI = "CreateTrafficMirrorFilterInput" -_cCTMFR = "com.amazonaws.ec2#CreateTrafficMirrorFilterRequest" -_TMPR = "TrafficMirrorPortRange" -_TMRA = "TrafficMirrorRuleAction" -_acce = "accept" -_reje = "reject" -_TDr = "TrafficDirection" -_ing = "ingress" -_TMFR = "TrafficMirrorFilterRule" -_TMFRI = "TrafficMirrorFilterRuleId" -_tMFRI = "trafficMirrorFilterRuleId" -_TMFI = "TrafficMirrorFilterId" -_tMFI = "trafficMirrorFilterId" -_tD = "trafficDirection" -_SCB = "SourceCidrBlock" -_sCB = "sourceCidrBlock" -_TMFRL = "TrafficMirrorFilterRuleList" -_TMNS = "TrafficMirrorNetworkService" -_ad_ = "amazon_dns" -_ad__ = "amazon-dns" -_TMNSL = "TrafficMirrorNetworkServiceList" -_TMF = "TrafficMirrorFilter" -_IFR = "IngressFilterRules" -_IFRS = "IngressFilterRuleSet" -_iFRS = "ingressFilterRuleSet" -_EFR = "EgressFilterRules" -_EFRS = "EgressFilterRuleSet" -_eFRS = "egressFilterRuleSet" -_NSe = "NetworkServices" -_NSS = "NetworkServiceSet" -_nSS = "networkServiceSet" -_CTMFO = "CreateTrafficMirrorFilterOutput" -_cCTMFRo = "com.amazonaws.ec2#CreateTrafficMirrorFilterResult" -_tMF = "trafficMirrorFilter" -_CTMF = "CreateTrafficMirrorFilter" -_TMPRR = "TrafficMirrorPortRangeRequest" -_CTMFRI = "CreateTrafficMirrorFilterRuleInput" -_cCTMFRR = "com.amazonaws.ec2#CreateTrafficMirrorFilterRuleRequest" -_CTMFRO = "CreateTrafficMirrorFilterRuleOutput" -_cCTMFRRo = "com.amazonaws.ec2#CreateTrafficMirrorFilterRuleResult" -_tMFR = "trafficMirrorFilterRule" -_CTMFR = "CreateTrafficMirrorFilterRule" -_TMTI = "TrafficMirrorTargetId" -_CTMSI = "CreateTrafficMirrorSessionInput" -_cCTMSR = "com.amazonaws.ec2#CreateTrafficMirrorSessionRequest" -_PLa = "PacketLength" -_SNes = "SessionNumber" -_VNI = "VirtualNetworkId" -_TMS = "TrafficMirrorSession" -_TMSI = "TrafficMirrorSessionId" -_tMSI = "trafficMirrorSessionId" -_tMTI = "trafficMirrorTargetId" -_pLa = "packetLength" -_sNes = "sessionNumber" -_vNI = "virtualNetworkId" -_CTMSO = "CreateTrafficMirrorSessionOutput" -_cCTMSRo = "com.amazonaws.ec2#CreateTrafficMirrorSessionResult" -_tMS = "trafficMirrorSession" -_CTMS = "CreateTrafficMirrorSession" -_CTMTI = "CreateTrafficMirrorTargetInput" -_cCTMTR = "com.amazonaws.ec2#CreateTrafficMirrorTargetRequest" -_NLBA = "NetworkLoadBalancerArn" -_GLBEI = "GatewayLoadBalancerEndpointId" -_TMTT = "TrafficMirrorTargetType" -_nlb_ = "network-load-balancer" -_glbe_ = "gateway-load-balancer-endpoint" -_TMT = "TrafficMirrorTarget" -_nLBA = "networkLoadBalancerArn" -_gLBEI = "gatewayLoadBalancerEndpointId" -_CTMTO = "CreateTrafficMirrorTargetOutput" -_cCTMTRo = "com.amazonaws.ec2#CreateTrafficMirrorTargetResult" -_tMT = "trafficMirrorTarget" -_CTMT = "CreateTrafficMirrorTarget" -_AASAV = "AutoAcceptSharedAttachmentsValue" -_DRTAV = "DefaultRouteTableAssociationValue" -_DRTPV = "DefaultRouteTablePropagationValue" -_MSV = "MulticastSupportValue" -_TGCBSL = "TransitGatewayCidrBlockStringList" -_VESV = "VpnEcmpSupportValue" -_TGRO = "TransitGatewayRequestOptions" -_AASA = "AutoAcceptSharedAttachments" -_DRTA = "DefaultRouteTableAssociation" -_DRTP = "DefaultRouteTablePropagation" -_VESp = "VpnEcmpSupport" -_MSu = "MulticastSupport" -_TGCB = "TransitGatewayCidrBlocks" -_CTGI = "CreateTransitGatewayInput" -_cCTGR = "com.amazonaws.ec2#CreateTransitGatewayRequest" -_ESV = "EncryptionStateValue" -_ESnc = "EncryptionSupport" -_ESncr = "EncryptionState" -_eSnc = "encryptionState" -_TGO = "TransitGatewayOptions" -_tGCB = "transitGatewayCidrBlocks" -_aASA = "autoAcceptSharedAttachments" -_dRTA = "defaultRouteTableAssociation" -_ADRTI = "AssociationDefaultRouteTableId" -_aDRTI = "associationDefaultRouteTableId" -_dRTP = "defaultRouteTablePropagation" -_PDRTI = "PropagationDefaultRouteTableId" -_pDRTI = "propagationDefaultRouteTableId" -_vESp = "vpnEcmpSupport" -_mSu = "multicastSupport" -_eSncr = "encryptionSupport" -_TGS = "TransitGatewayState" -_TGAra = "TransitGatewayArn" -_tGAr = "transitGatewayArn" -_CTGO = "CreateTransitGatewayOutput" -_cCTGRo = "com.amazonaws.ec2#CreateTransitGatewayResult" -_CTG = "CreateTransitGateway" -_PVrot = "ProtocolValue" -_gre = "gre" -_CTGCRO = "CreateTransitGatewayConnectRequestOptions" -_CTGCI = "CreateTransitGatewayConnectInput" -_cCTGCR = "com.amazonaws.ec2#CreateTransitGatewayConnectRequest" -_TTGAI = "TransportTransitGatewayAttachmentId" -_TGCO = "TransitGatewayConnectOptions" -_TGCr = "TransitGatewayConnect" -_tTGAI = "transportTransitGatewayAttachmentId" -_CTGCO = "CreateTransitGatewayConnectOutput" -_cCTGCRo = "com.amazonaws.ec2#CreateTransitGatewayConnectResult" -_tGC = "transitGatewayConnect" -_CTGC = "CreateTransitGatewayConnect" -_TGCRBO = "TransitGatewayConnectRequestBgpOptions" -_ICBSL = "InsideCidrBlocksStringList" -_CTGCPI = "CreateTransitGatewayConnectPeerInput" -_cCTGCPR = "com.amazonaws.ec2#CreateTransitGatewayConnectPeerRequest" -_TGAran = "TransitGatewayAddress" -_ICBn = "InsideCidrBlocks" -_TGABC = "TransitGatewayAttachmentBgpConfiguration" -_TGArans = "TransitGatewayAsn" -_tGAra = "transitGatewayAsn" -_tGAran = "transitGatewayAddress" -_TGABCL = "TransitGatewayAttachmentBgpConfigurationList" -_TGCPC = "TransitGatewayConnectPeerConfiguration" -_iCBn = "insideCidrBlocks" -_BCg = "BgpConfigurations" -_bCg = "bgpConfigurations" -_TGCPS = "TransitGatewayConnectPeerState" -_TGCPI = "TransitGatewayConnectPeerId" -_TGCP = "TransitGatewayConnectPeer" -_tGCPI = "transitGatewayConnectPeerId" -_CPC = "ConnectPeerConfiguration" -_cPC = "connectPeerConfiguration" -_CTGCPO = "CreateTransitGatewayConnectPeerOutput" -_cCTGCPRo = "com.amazonaws.ec2#CreateTransitGatewayConnectPeerResult" -_tGCP = "transitGatewayConnectPeer" -_CTGCP = "CreateTransitGatewayConnectPeer" -_TGAISL = "TransitGatewayAttachmentIdStringList" -_CTGMPI = "CreateTransitGatewayMeteringPolicyInput" -_cCTGMPR = "com.amazonaws.ec2#CreateTransitGatewayMeteringPolicyRequest" -_MAIi = "MiddleboxAttachmentIds" -_MAIid = "MiddleboxAttachmentId" -_TGMPS = "TransitGatewayMeteringPolicyState" -_TGMPI = "TransitGatewayMeteringPolicyId" -_TGMP = "TransitGatewayMeteringPolicy" -_tGMPI = "transitGatewayMeteringPolicyId" -_MAIS = "MiddleboxAttachmentIdSet" -_mAIS = "middleboxAttachmentIdSet" -_UEA = "UpdateEffectiveAt" -_uEA = "updateEffectiveAt" -_CTGMPO = "CreateTransitGatewayMeteringPolicyOutput" -_cCTGMPRo = "com.amazonaws.ec2#CreateTransitGatewayMeteringPolicyResult" -_tGMP = "transitGatewayMeteringPolicy" -_CTGMP = "CreateTransitGatewayMeteringPolicy" -_TGMPT = "TransitGatewayMeteringPayerType" -_sao = "source_attachment_owner" -_sao_ = "source-attachment-owner" -_dao = "destination_attachment_owner" -_dao_ = "destination-attachment-owner" -_tgo = "transit_gateway_owner" -_tgo_ = "transit-gateway-owner" -_CTGMPEI = "CreateTransitGatewayMeteringPolicyEntryInput" -_cCTGMPER = "com.amazonaws.ec2#CreateTransitGatewayMeteringPolicyEntryRequest" -_PRNo = "PolicyRuleNumber" -_STGAI = "SourceTransitGatewayAttachmentId" -_STGAT = "SourceTransitGatewayAttachmentType" -_DTGAI = "DestinationTransitGatewayAttachmentId" -_DTGAT = "DestinationTransitGatewayAttachmentType" -_TGMPR = "TransitGatewayMeteringPolicyRule" -_sTGAI = "sourceTransitGatewayAttachmentId" -_sTGAT = "sourceTransitGatewayAttachmentType" -_dTGAI = "destinationTransitGatewayAttachmentId" -_dTGAT = "destinationTransitGatewayAttachmentType" -_TGMPES = "TransitGatewayMeteringPolicyEntryState" -_TGMPE = "TransitGatewayMeteringPolicyEntry" -_pRNo = "policyRuleNumber" -_UA = "UpdatedAt" -_uA = "updatedAt" -_MPR = "MeteringPolicyRule" -_mPR = "meteringPolicyRule" -_CTGMPEO = "CreateTransitGatewayMeteringPolicyEntryOutput" -_cCTGMPERo = "com.amazonaws.ec2#CreateTransitGatewayMeteringPolicyEntryResult" -_tGMPE = "transitGatewayMeteringPolicyEntry" -_CTGMPE = "CreateTransitGatewayMeteringPolicyEntry" -_AASAVu = "AutoAcceptSharedAssociationsValue" -_ISVg = "Igmpv2SupportValue" -_SSSV = "StaticSourcesSupportValue" -_CTGMDRO = "CreateTransitGatewayMulticastDomainRequestOptions" -_ISg = "Igmpv2Support" -_SSSt = "StaticSourcesSupport" -_AASAu = "AutoAcceptSharedAssociations" -_CTGMDI = "CreateTransitGatewayMulticastDomainInput" -_cCTGMDR = "com.amazonaws.ec2#CreateTransitGatewayMulticastDomainRequest" -_TGMDO = "TransitGatewayMulticastDomainOptions" -_iSg = "igmpv2Support" -_sSS = "staticSourcesSupport" -_aASAu = "autoAcceptSharedAssociations" -_TGMDS = "TransitGatewayMulticastDomainState" -_TGMD = "TransitGatewayMulticastDomain" -_TGMDAr = "TransitGatewayMulticastDomainArn" -_tGMDA = "transitGatewayMulticastDomainArn" -_CTGMDO = "CreateTransitGatewayMulticastDomainOutput" -_cCTGMDRo = "com.amazonaws.ec2#CreateTransitGatewayMulticastDomainResult" -_tGMD = "transitGatewayMulticastDomain" -_CTGMD = "CreateTransitGatewayMulticastDomain" -_CTGPARO = "CreateTransitGatewayPeeringAttachmentRequestOptions" -_TAGI = "TransitAssociationGatewayId" -_CTGPAI = "CreateTransitGatewayPeeringAttachmentInput" -_cCTGPAR = "com.amazonaws.ec2#CreateTransitGatewayPeeringAttachmentRequest" -_PTGI = "PeerTransitGatewayId" -_PAI = "PeerAccountId" -_PRee = "PeerRegion" -_CTGPAO = "CreateTransitGatewayPeeringAttachmentOutput" -_cCTGPARo = "com.amazonaws.ec2#CreateTransitGatewayPeeringAttachmentResult" -_CTGPA = "CreateTransitGatewayPeeringAttachment" -_CTGPTI = "CreateTransitGatewayPolicyTableInput" -_cCTGPTR = "com.amazonaws.ec2#CreateTransitGatewayPolicyTableRequest" -_TGPTS = "TransitGatewayPolicyTableState" -_CTGPTO = "CreateTransitGatewayPolicyTableOutput" -_cCTGPTRo = "com.amazonaws.ec2#CreateTransitGatewayPolicyTableResult" -_CTGPT = "CreateTransitGatewayPolicyTable" -_TGRPRMD = "TransitGatewayRequestPolicyRuleMetaData" -_MDK = "MetaDataKey" -_MDV = "MetaDataValue" -_TGRPR = "TransitGatewayRequestPolicyRule" -_MD = "MetaData" -_CTGPTEI = "CreateTransitGatewayPolicyTableEntryInput" -_cCTGPTER = "com.amazonaws.ec2#CreateTransitGatewayPolicyTableEntryRequest" -_PRol = "PolicyRule" -_TGPRMD = "TransitGatewayPolicyRuleMetaData" -_mDK = "metaDataKey" -_mDV = "metaDataValue" -_TGPR = "TransitGatewayPolicyRule" -_mD = "metaData" -_TGPTES = "TransitGatewayPolicyTableEntryState" -_pRo = "policyRule" -_CTGPTEO = "CreateTransitGatewayPolicyTableEntryOutput" -_cCTGPTERo = "com.amazonaws.ec2#CreateTransitGatewayPolicyTableEntryResult" -_CTGPTE = "CreateTransitGatewayPolicyTableEntry" -_CTGPLRI = "CreateTransitGatewayPrefixListReferenceInput" -_cCTGPLRR = "com.amazonaws.ec2#CreateTransitGatewayPrefixListReferenceRequest" -_Bl = "Blackhole" -_TGPLRS = "TransitGatewayPrefixListReferenceState" -_TGPLA = "TransitGatewayPrefixListAttachment" -_TGPLR = "TransitGatewayPrefixListReference" -_PLOI = "PrefixListOwnerId" -_pLOI = "prefixListOwnerId" -_CTGPLRO = "CreateTransitGatewayPrefixListReferenceOutput" -_cCTGPLRRo = "com.amazonaws.ec2#CreateTransitGatewayPrefixListReferenceResult" -_tGPLR = "transitGatewayPrefixListReference" -_CTGPLR = "CreateTransitGatewayPrefixListReference" -_CTGRI = "CreateTransitGatewayRouteInput" -_cCTGRR = "com.amazonaws.ec2#CreateTransitGatewayRouteRequest" -_TGRS = "TransitGatewayRouteState" -_TGRA = "TransitGatewayRouteAttachment" -_TGRAL = "TransitGatewayRouteAttachmentList" -_TGRTAI = "TransitGatewayRouteTableAnnouncementId" -_TGRTr = "TransitGatewayRouteType" -_sy = "system" -_TGR = "TransitGatewayRoute" -_tGRTAI = "transitGatewayRouteTableAnnouncementId" -_TGAransi = "TransitGatewayAttachments" -_tGArans = "transitGatewayAttachments" -_CTGRO = "CreateTransitGatewayRouteOutput" -_cCTGRRo = "com.amazonaws.ec2#CreateTransitGatewayRouteResult" -_CTGR = "CreateTransitGatewayRoute" -_CTGRTI = "CreateTransitGatewayRouteTableInput" -_cCTGRTR = "com.amazonaws.ec2#CreateTransitGatewayRouteTableRequest" -_TGRTS = "TransitGatewayRouteTableState" -_DART = "DefaultAssociationRouteTable" -_dART = "defaultAssociationRouteTable" -_DPRT = "DefaultPropagationRouteTable" -_dPRT = "defaultPropagationRouteTable" -_CTGRTO = "CreateTransitGatewayRouteTableOutput" -_cCTGRTRo = "com.amazonaws.ec2#CreateTransitGatewayRouteTableResult" -_CTGRT = "CreateTransitGatewayRouteTable" -_CTGRTAI = "CreateTransitGatewayRouteTableAnnouncementInput" -_cCTGRTAR = "com.amazonaws.ec2#CreateTransitGatewayRouteTableAnnouncementRequest" -_PAIe = "PeeringAttachmentId" -_TGRTAD = "TransitGatewayRouteTableAnnouncementDirection" -_ou = "outgoing" -_incom = "incoming" -_TGRTAS = "TransitGatewayRouteTableAnnouncementState" -_TGRTA = "TransitGatewayRouteTableAnnouncement" -_pTGI = "peerTransitGatewayId" -_PCNI = "PeerCoreNetworkId" -_pCNI = "peerCoreNetworkId" -_pAI = "peeringAttachmentId" -_ADn = "AnnouncementDirection" -_aDn = "announcementDirection" -_CTGRTAO = "CreateTransitGatewayRouteTableAnnouncementOutput" -_cCTGRTARo = "com.amazonaws.ec2#CreateTransitGatewayRouteTableAnnouncementResult" -_tGRTA = "transitGatewayRouteTableAnnouncement" -_CTGRTA = "CreateTransitGatewayRouteTableAnnouncement" -_CTGVARO = "CreateTransitGatewayVpcAttachmentRequestOptions" -_CTGVAI = "CreateTransitGatewayVpcAttachmentInput" -_cCTGVAR = "com.amazonaws.ec2#CreateTransitGatewayVpcAttachmentRequest" -_CTGVAO = "CreateTransitGatewayVpcAttachmentOutput" -_cCTGVARo = "com.amazonaws.ec2#CreateTransitGatewayVpcAttachmentResult" -_CTGVA = "CreateTransitGatewayVpcAttachment" -_VAEAT = "VerifiedAccessEndpointAttachmentType" -_VAEPN = "VerifiedAccessEndpointPortNumber" -_CVAEPR = "CreateVerifiedAccessEndpointPortRange" -_CVAEPRL = "CreateVerifiedAccessEndpointPortRangeList" -_VAEP = "VerifiedAccessEndpointProtocol" -_CVAESIL = "CreateVerifiedAccessEndpointSubnetIdList" -_CVAECO = "CreateVerifiedAccessEndpointCidrOptions" -_VAET = "VerifiedAccessEndpointType" -_lb_ = "load-balancer" -_CVAELBO = "CreateVerifiedAccessEndpointLoadBalancerOptions" -_CVAEEO = "CreateVerifiedAccessEndpointEniOptions" -_RDCA = "RdsDbClusterArn" -_RDIA = "RdsDbInstanceArn" -_RDPA = "RdsDbProxyArn" -_CVAERO = "CreateVerifiedAccessEndpointRdsOptions" -_REd = "RdsEndpoint" -_SGIL = "SecurityGroupIdList" -_VASSRe = "VerifiedAccessSseSpecificationRequest" -_VAGI = "VerifiedAccessGroupId" -_CVAEI = "CreateVerifiedAccessEndpointInput" -_cCVAER = "com.amazonaws.ec2#CreateVerifiedAccessEndpointRequest" -_ETn = "EndpointType" -_ATtta = "AttachmentType" -_DCA = "DomainCertificateArn" -_ADp = "ApplicationDomain" -_EDP = "EndpointDomainPrefix" -_LBO = "LoadBalancerOptions" -_NIO = "NetworkInterfaceOptions" -_PDo = "PolicyDocument" -_ROd = "RdsOptions" -_COi = "CidrOptions" -_VAEPR = "VerifiedAccessEndpointPortRange" -_VAEPRL = "VerifiedAccessEndpointPortRangeList" -_VAESIL = "VerifiedAccessEndpointSubnetIdList" -_VAECO = "VerifiedAccessEndpointCidrOptions" -_SISu = "SubnetIdSet" -_sISu = "subnetIdSet" -_VAELBO = "VerifiedAccessEndpointLoadBalancerOptions" -_VAEEO = "VerifiedAccessEndpointEniOptions" -_VAERO = "VerifiedAccessEndpointRdsOptions" -_rDIA = "rdsDbInstanceArn" -_rDCA = "rdsDbClusterArn" -_rDPA = "rdsDbProxyArn" -_rEd = "rdsEndpoint" -_VAESC = "VerifiedAccessEndpointStatusCode" -_VAES = "VerifiedAccessEndpointStatus" -_VAE = "VerifiedAccessEndpoint" -_vAGI = "verifiedAccessGroupId" -_VAEI = "VerifiedAccessEndpointId" -_vAEI = "verifiedAccessEndpointId" -_aDp = "applicationDomain" -_eTn = "endpointType" -_aTtta = "attachmentType" -_dCA = "domainCertificateArn" -_EDnd = "EndpointDomain" -_eDnd = "endpointDomain" -_DVD = "DeviceValidationDomain" -_dVD = "deviceValidationDomain" -_lBO = "loadBalancerOptions" -_nIO = "networkInterfaceOptions" -_rOd = "rdsOptions" -_cOi = "cidrOptions" -_CVAEO = "CreateVerifiedAccessEndpointOutput" -_cCVAERo = "com.amazonaws.ec2#CreateVerifiedAccessEndpointResult" -_vAE = "verifiedAccessEndpoint" -_CVAE = "CreateVerifiedAccessEndpoint" -_CVAGI = "CreateVerifiedAccessGroupInput" -_cCVAGR = "com.amazonaws.ec2#CreateVerifiedAccessGroupRequest" -_VAG = "VerifiedAccessGroup" -_Ow = "Owner" -_ow = "owner" -_VAGA = "VerifiedAccessGroupArn" -_vAGA = "verifiedAccessGroupArn" -_CVAGO = "CreateVerifiedAccessGroupOutput" -_cCVAGRo = "com.amazonaws.ec2#CreateVerifiedAccessGroupResult" -_vAG = "verifiedAccessGroup" -_CVAG = "CreateVerifiedAccessGroup" -_CVAII = "CreateVerifiedAccessInstanceInput" -_cCVAIR = "com.amazonaws.ec2#CreateVerifiedAccessInstanceRequest" -_FIPSE = "FIPSEnabled" -_CVAIO = "CreateVerifiedAccessInstanceOutput" -_cCVAIRo = "com.amazonaws.ec2#CreateVerifiedAccessInstanceResult" -_CVAI = "CreateVerifiedAccessInstance" -_CVATPDO = "CreateVerifiedAccessTrustProviderDeviceOptions" -_CVANAOO = "CreateVerifiedAccessNativeApplicationOidcOptions" -_CVATPOO = "CreateVerifiedAccessTrustProviderOidcOptions" -_CVATPI = "CreateVerifiedAccessTrustProviderInput" -_cCVATPR = "com.amazonaws.ec2#CreateVerifiedAccessTrustProviderRequest" -_CVATPO = "CreateVerifiedAccessTrustProviderOutput" -_cCVATPRo = "com.amazonaws.ec2#CreateVerifiedAccessTrustProviderResult" -_CVATP = "CreateVerifiedAccessTrustProvider" -_CVIr = "CreateVolumeInput" -_cCVRom = "com.amazonaws.ec2#CreateVolumeRequest" -_CVOr = "CreateVolumeOutput" -_cV = "com.amazonaws.ec2#Volume" -_CVr = "CreateVolume" -_VECESI = "VpcEncryptionControlExclusionStateInput" -_VECC = "VpcEncryptionControlConfiguration" -_IGE = "InternetGatewayExclusion" -_EOIGE = "EgressOnlyInternetGatewayExclusion" -_NGE = "NatGatewayExclusion" -_VPGE = "VirtualPrivateGatewayExclusion" -_VPE = "VpcPeeringExclusion" -_LE = "LambdaExclusion" -_VLE = "VpcLatticeExclusion" -_EFSE = "ElasticFileSystemExclusion" -_CVIre = "CreateVpcInput" -_cCVRoma = "com.amazonaws.ec2#CreateVpcRequest" -_CVOre = "CreateVpcOutput" -_cCVRomam = "com.amazonaws.ec2#CreateVpcResult" -_CVre = "CreateVpc" -_IGEM = "InternetGatewayExclusionMode" -_ab = "allow_bidirectional" -_ab_ = "allow-bidirectional" -_ae__ = "allow_egress" -_ae___ = "allow-egress" -_CVBPAEI = "CreateVpcBlockPublicAccessExclusionInput" -_cCVBPAER = "com.amazonaws.ec2#CreateVpcBlockPublicAccessExclusionRequest" -_VBPAEI = "VpcBlockPublicAccessExclusionId" -_VBPAES = "VpcBlockPublicAccessExclusionState" -_VBPAE = "VpcBlockPublicAccessExclusion" -_EIx = "ExclusionId" -_eIx = "exclusionId" -_iGEM = "internetGatewayExclusionMode" -_rAe = "resourceArn" -_CTrea = "CreationTimestamp" -_cTre = "creationTimestamp" -_DTele = "DeletionTimestamp" -_dTel = "deletionTimestamp" -_CVBPAEO = "CreateVpcBlockPublicAccessExclusionOutput" -_cCVBPAERo = "com.amazonaws.ec2#CreateVpcBlockPublicAccessExclusionResult" -_vBPAE = "vpcBlockPublicAccessExclusion" -_CVBPAE = "CreateVpcBlockPublicAccessExclusion" -_CVECI = "CreateVpcEncryptionControlInput" -_cCVECR = "com.amazonaws.ec2#CreateVpcEncryptionControlRequest" -_CVECO = "CreateVpcEncryptionControlOutput" -_cCVECRo = "com.amazonaws.ec2#CreateVpcEncryptionControlResult" -_vEC = "vpcEncryptionControl" -_CVEC = "CreateVpcEncryptionControl" -_DRIT = "DnsRecordIpType" -_sd = "service_defined" -_sd_ = "service-defined" -_PDSDS = "PrivateDnsSpecifiedDomainSet" -_DOS = "DnsOptionsSpecification" -_PDOFIRE = "PrivateDnsOnlyForInboundResolverEndpoint" -_PDP = "PrivateDnsPreference" -_PDSD = "PrivateDnsSpecifiedDomains" -_PDSDr = "PrivateDnsSpecifiedDomain" -_RCA = "ResourceConfigurationArn" -_VERTIL = "VpcEndpointRouteTableIdList" -_VESGIL = "VpcEndpointSecurityGroupIdList" -_SNAe = "ServiceNetworkArn" -_SCu = "SubnetConfiguration" -_Ipv = "Ipv6" -_SCL = "SubnetConfigurationsList" -_VESIL = "VpcEndpointSubnetIdList" -_VET = "VpcEndpointType" -_Inter = "Interface" -_Ga = "Gateway" -_GLB = "GatewayLoadBalancer" -_SNer = "ServiceNetwork" -_Tu = "Tunnel" -_CVEIr = "CreateVpcEndpointInput" -_cCVER = "com.amazonaws.ec2#CreateVpcEndpointRequest" -_RTIou = "RouteTableIds" -_DOn = "DnsOptions" -_PDE = "PrivateDnsEnabled" -_SCub = "SubnetConfigurations" -_SRe = "ServiceRegion" -_DE = "DnsEntry" -_HZI = "HostedZoneId" -_hZI = "hostedZoneId" -_DES = "DnsEntrySet" -_dRIT = "dnsRecordIpType" -_pDOFIRE = "privateDnsOnlyForInboundResolverEndpoint" -_pDP = "privateDnsPreference" -_pDSDS = "privateDnsSpecifiedDomainSet" -_SGIec = "SecurityGroupIdentifier" -_GIS = "GroupIdentifierSet" -_SIP = "SubnetIpPrefixes" -_IPpre = "IpPrefixes" -_IPSpr = "IpPrefixSet" -_iPSpr = "ipPrefixSet" -_SIPL = "SubnetIpPrefixesList" -_LEa = "LastError" -_PRT = "PayerResponsibilityType" -_VEA = "VpcEndpointAccount" -_vea = "vpc-endpoint-account" -_RGAe = "ResourceGatewayAccount" -_rga = "resource-gateway-account" -_VESA = "VpcEndpointServiceAccount" -_vesa = "vpc-endpoint-service-account" -_PRSa = "PayerResponsibilityScope" -_VECp = "VpcEndpointCharges" -_vec____ = "vpc-endpoint-charges" -_RGC = "ResourceGatewayCharges" -_rgc = "resource-gateway-charges" -_PRE = "PayerResponsibilityEntry" -_pRT = "payerResponsibilityType" -_PRSay = "PayerResponsibilitySet" -_PAen = "PendingAcceptance" -_Pen = "Pending" -_Av = "Available" -_Del = "Deleting" -_Dele = "Deleted" -_Rej = "Rejected" -_Fai = "Failed" -_Expi = "Expired" -_Par = "Partial" -_vET = "vpcEndpointType" -_pDo = "policyDocument" -_RTIS = "RouteTableIdSet" -_rTIS = "routeTableIdSet" -_dOn = "dnsOptions" -_pDE = "privateDnsEnabled" -_DEn = "DnsEntries" -_dES = "dnsEntrySet" -_lE = "lastError" -_sNAe = "serviceNetworkArn" -_rCA = "resourceConfigurationArn" -_sRe = "serviceRegion" -_PRa = "PayerResponsibilities" -_pRSa = "payerResponsibilitySet" -_CVEO = "CreateVpcEndpointOutput" -_cCVERo = "com.amazonaws.ec2#CreateVpcEndpointResult" -_CVE = "CreateVpcEndpoint" -_CVECNI = "CreateVpcEndpointConnectionNotificationInput" -_cCVECNR = "com.amazonaws.ec2#CreateVpcEndpointConnectionNotificationRequest" -_CNAon = "ConnectionNotificationArn" -_CEo = "ConnectionEvents" -_CNS = "ConnectionNotificationState" -_Dis = "Disabled" -_CNT = "ConnectionNotificationType" -_Top = "Topic" -_CNo = "ConnectionNotification" -_CNIo = "ConnectionNotificationId" -_cNIo = "connectionNotificationId" -_cNT = "connectionNotificationType" -_cNAo = "connectionNotificationArn" -_cEo = "connectionEvents" -_cNS = "connectionNotificationState" -_CVECNO = "CreateVpcEndpointConnectionNotificationOutput" -_cCVECNRo = "com.amazonaws.ec2#CreateVpcEndpointConnectionNotificationResult" -_cN = "connectionNotification" -_CVECN = "CreateVpcEndpointConnectionNotification" -_CVESCI = "CreateVpcEndpointServiceConfigurationInput" -_cCVESCR = "com.amazonaws.ec2#CreateVpcEndpointServiceConfigurationRequest" -_ARc = "AcceptanceRequired" -_NLBAe = "NetworkLoadBalancerArns" -_GLBA = "GatewayLoadBalancerArns" -_GLBAa = "GatewayLoadBalancerArn" -_SIAT = "SupportedIpAddressTypes" -_SIATu = "SupportedIpAddressType" -_SRu = "SupportedRegions" -_SRup = "SupportedRegion" -_PRay = "PayerResponsibility" -_SOe = "ServiceOwner" -_DNS = "DnsNameState" -_PVe = "PendingVerification" -_pV = "pendingVerification" -_Ver = "Verified" -_veri = "verified" -_PDNC = "PrivateDnsNameConfiguration" -_SSer = "ServiceState" -_STe = "ServiceType" -_STD = "ServiceTypeDetail" -_sTe = "serviceType" -_STDS = "ServiceTypeDetailSet" -_SCT = "ServiceConnectivityType" -_SRD = "SupportedRegionDetail" -_sSer = "serviceState" -_SRSu = "SupportedRegionSet" -_SCe = "ServiceConfiguration" -_aRc = "acceptanceRequired" -_MVE = "ManagesVpcEndpoints" -_mVE = "managesVpcEndpoints" -_NLBAS = "NetworkLoadBalancerArnSet" -_nLBAS = "networkLoadBalancerArnSet" -_GLBAS = "GatewayLoadBalancerArnSet" -_gLBAS = "gatewayLoadBalancerArnSet" -_SIATS = "SupportedIpAddressTypeSet" -_sIATS = "supportedIpAddressTypeSet" -_BEDN = "BaseEndpointDnsNames" -_BEDNS = "BaseEndpointDnsNameSet" -_bEDNS = "baseEndpointDnsNameSet" -_pDNC = "privateDnsNameConfiguration" -_pRa = "payerResponsibility" -_sRSu = "supportedRegionSet" -_RAE = "RemoteAccessEnabled" -_rAE = "remoteAccessEnabled" -_CVESCO = "CreateVpcEndpointServiceConfigurationOutput" -_cCVESCRo = "com.amazonaws.ec2#CreateVpcEndpointServiceConfigurationResult" -_sCe = "serviceConfiguration" -_CVESCr = "CreateVpcEndpointServiceConfiguration" -_CVPCI = "CreateVpcPeeringConnectionInput" -_cCVPCR = "com.amazonaws.ec2#CreateVpcPeeringConnectionRequest" -_PVI = "PeerVpcId" -_pVI = "peerVpcId" -_POI = "PeerOwnerId" -_pOI = "peerOwnerId" -_CVPCO = "CreateVpcPeeringConnectionOutput" -_cCVPCRo = "com.amazonaws.ec2#CreateVpcPeeringConnectionResult" -_CVPC = "CreateVpcPeeringConnection" -_VCT = "VpnConcentratorType" -_CVCI = "CreateVpnConcentratorInput" -_cCVCR = "com.amazonaws.ec2#CreateVpnConcentratorRequest" -_VCp = "VpnConcentrator" -_VCI = "VpnConcentratorId" -_vCI = "vpnConcentratorId" -_CVCO = "CreateVpnConcentratorOutput" -_cCVCRo = "com.amazonaws.ec2#CreateVpnConcentratorResult" -_vCp = "vpnConcentrator" -_CVC = "CreateVpnConcentrator" -_VTB = "VpnTunnelBandwidth" -_lar = "large" -_TIIV = "TunnelInsideIpVersion" -_IKEVRLV = "IKEVersionsRequestListValue" -_IKEVRL = "IKEVersionsRequestList" -_CWLGA = "CloudWatchLogGroupArn" -_CWLOS = "CloudWatchLogOptionsSpecification" -_LEo = "LogEnabled" -_LGA = "LogGroupArn" -_LOF = "LogOutputFormat" -_BLE = "BgpLogEnabled" -_BLGA = "BgpLogGroupArn" -_BLOF = "BgpLogOutputFormat" -_VTLOS = "VpnTunnelLogOptionsSpecification" -_CWLO = "CloudWatchLogOptions" -_PDHGNRLV = "Phase1DHGroupNumbersRequestListValue" -_PDHGNRL = "Phase1DHGroupNumbersRequestList" -_PEARLV = "Phase1EncryptionAlgorithmsRequestListValue" -_PEARL = "Phase1EncryptionAlgorithmsRequestList" -_PIARLV = "Phase1IntegrityAlgorithmsRequestListValue" -_PIARL = "Phase1IntegrityAlgorithmsRequestList" -_PDHGNRLVh = "Phase2DHGroupNumbersRequestListValue" -_PDHGNRLh = "Phase2DHGroupNumbersRequestList" -_PEARLVh = "Phase2EncryptionAlgorithmsRequestListValue" -_PEARLh = "Phase2EncryptionAlgorithmsRequestList" -_PIARLVh = "Phase2IntegrityAlgorithmsRequestListValue" -_PIARLh = "Phase2IntegrityAlgorithmsRequestList" -_pSK = "preSharedKey" -_VTOS = "VpnTunnelOptionsSpecification" -_TICu = "TunnelInsideCidr" -_TIIC = "TunnelInsideIpv6Cidr" -_PSK = "PreSharedKey" -_PLSh = "Phase1LifetimeSeconds" -_PLSha = "Phase2LifetimeSeconds" -_RMTS = "RekeyMarginTimeSeconds" -_RFP = "RekeyFuzzPercentage" -_RWS = "ReplayWindowSize" -_DPDTS = "DPDTimeoutSeconds" -_DPDTA = "DPDTimeoutAction" -_PEAha = "Phase1EncryptionAlgorithms" -_PEAhas = "Phase2EncryptionAlgorithms" -_PIAha = "Phase1IntegrityAlgorithms" -_PIAhas = "Phase2IntegrityAlgorithms" -_PDHGN = "Phase1DHGroupNumbers" -_PDHGNh = "Phase1DHGroupNumber" -_PDHGNha = "Phase2DHGroupNumbers" -_PDHGNhas = "Phase2DHGroupNumber" -_IKEV = "IKEVersions" -_IKEVe = "IKEVersion" -_SAt = "StartupAction" -_LO = "LogOptions" -_ETLC = "EnableTunnelLifecycleControl" -_VTOSL = "VpnTunnelOptionsSpecificationsList" -_VCOS = "VpnConnectionOptionsSpecification" -_EAna = "EnableAcceleration" -_TO = "TunnelOptions" -_LINC = "LocalIpv4NetworkCidr" -_RINC = "RemoteIpv4NetworkCidr" -_LINCo = "LocalIpv6NetworkCidr" -_RINCe = "RemoteIpv6NetworkCidr" -_OIAT = "OutsideIpAddressType" -_TB = "TunnelBandwidth" -_SRO = "StaticRoutesOnly" -_sRO = "staticRoutesOnly" -_CVCIr = "CreateVpnConnectionInput" -_cCVCRom = "com.amazonaws.ec2#CreateVpnConnectionRequest" -_PSKS = "PreSharedKeyStorage" -_cGC = "customerGatewayConfiguration" -_GAS = "GatewayAssociationState" -_na___ = "not_associated" -_na____ = "not-associated" -_IKEVLV = "IKEVersionsListValue" -_IKEVL = "IKEVersionsList" -_lEo = "logEnabled" -_lGA = "logGroupArn" -_lOF = "logOutputFormat" -_bLE = "bgpLogEnabled" -_bLGA = "bgpLogGroupArn" -_bLOF = "bgpLogOutputFormat" -_VTLO = "VpnTunnelLogOptions" -_cWLO = "cloudWatchLogOptions" -_PDHGNLV = "Phase1DHGroupNumbersListValue" -_PDHGNL = "Phase1DHGroupNumbersList" -_PEALV = "Phase1EncryptionAlgorithmsListValue" -_PEAL = "Phase1EncryptionAlgorithmsList" -_PIALV = "Phase1IntegrityAlgorithmsListValue" -_PIAL = "Phase1IntegrityAlgorithmsList" -_PDHGNLVh = "Phase2DHGroupNumbersListValue" -_PDHGNLh = "Phase2DHGroupNumbersList" -_PEALVh = "Phase2EncryptionAlgorithmsListValue" -_PEALh = "Phase2EncryptionAlgorithmsList" -_PIALVh = "Phase2IntegrityAlgorithmsListValue" -_PIALh = "Phase2IntegrityAlgorithmsList" -_TOu = "TunnelOption" -_OIA = "OutsideIpAddress" -_oIA = "outsideIpAddress" -_tICu = "tunnelInsideCidr" -_tIIC = "tunnelInsideIpv6Cidr" -_pLS = "phase1LifetimeSeconds" -_pLSh = "phase2LifetimeSeconds" -_rMTS = "rekeyMarginTimeSeconds" -_rFP = "rekeyFuzzPercentage" -_rWS = "replayWindowSize" -_DTS = "DpdTimeoutSeconds" -_dTS = "dpdTimeoutSeconds" -_DTA = "DpdTimeoutAction" -_dTA = "dpdTimeoutAction" -_PEAS = "Phase1EncryptionAlgorithmSet" -_pEAS = "phase1EncryptionAlgorithmSet" -_PEASh = "Phase2EncryptionAlgorithmSet" -_pEASh = "phase2EncryptionAlgorithmSet" -_PIASh = "Phase1IntegrityAlgorithmSet" -_pIASh = "phase1IntegrityAlgorithmSet" -_PIASha = "Phase2IntegrityAlgorithmSet" -_pIASha = "phase2IntegrityAlgorithmSet" -_PDHGNS = "Phase1DHGroupNumberSet" -_pDHGNS = "phase1DHGroupNumberSet" -_PDHGNSh = "Phase2DHGroupNumberSet" -_pDHGNSh = "phase2DHGroupNumberSet" -_IVk = "IkeVersions" -_IVS = "IkeVersionSet" -_iVS = "ikeVersionSet" -_sAt = "startupAction" -_lO = "logOptions" -_eTLC = "enableTunnelLifecycleControl" -_TOL = "TunnelOptionsList" -_VCO = "VpnConnectionOptions" -_eAn = "enableAcceleration" -_lINC = "localIpv4NetworkCidr" -_rINC = "remoteIpv4NetworkCidr" -_lINCo = "localIpv6NetworkCidr" -_rINCe = "remoteIpv6NetworkCidr" -_oIAT = "outsideIpAddressType" -_tIIV = "tunnelInsideIpVersion" -_TOS = "TunnelOptionSet" -_tOS = "tunnelOptionSet" -_tB = "tunnelBandwidth" -_VSRS = "VpnStaticRouteSource" -_Stat = "Static" -_VSpn = "VpnState" -_VSR = "VpnStaticRoute" -_VSRL = "VpnStaticRouteList" -_TSe = "TelemetryStatus" -_VTg = "VgwTelemetry" -_ARC = "AcceptedRouteCount" -_aRC = "acceptedRouteCount" -_LSC = "LastStatusChange" -_lSC = "lastStatusChange" -_VTL = "VgwTelemetryList" -_Ca = "Category" -_cat = "category" -_CNAA = "CoreNetworkAttachmentArn" -_cNAA = "coreNetworkAttachmentArn" -_gAS = "gatewayAssociationState" -_rout = "routes" -_vTg = "vgwTelemetry" -_PSKA = "PreSharedKeyArn" -_pSKA = "preSharedKeyArn" -_VCIp = "VpnConnectionId" -_vCIp = "vpnConnectionId" -_CGC = "CustomerGatewayConfiguration" -_vGI = "vpnGatewayId" -_CVCOr = "CreateVpnConnectionOutput" -_cCVCRoma = "com.amazonaws.ec2#CreateVpnConnectionResult" -_CVCr = "CreateVpnConnection" -_CVCRI = "CreateVpnConnectionRouteInput" -_cCVCRR = "com.amazonaws.ec2#CreateVpnConnectionRouteRequest" -_CVCRO = "CreateVpnConnectionRouteOutput" -_CVCR = "CreateVpnConnectionRoute" -_CVGI = "CreateVpnGatewayInput" -_cCVGR = "com.amazonaws.ec2#CreateVpnGatewayRequest" -_VALp = "VpcAttachmentList" -_VAp = "VpcAttachments" -_attac = "attachments" -_CVGO = "CreateVpnGatewayOutput" -_cCVGRo = "com.amazonaws.ec2#CreateVpnGatewayResult" -_CVG = "CreateVpnGateway" -_DASCI = "DeleteApplicationStatusCheckInput" -_cDASCR = "com.amazonaws.ec2#DeleteApplicationStatusCheckRequest" -_DASCO = "DeleteApplicationStatusCheckOutput" -_cDASCRo = "com.amazonaws.ec2#DeleteApplicationStatusCheckResult" -_DASC = "DeleteApplicationStatusCheck" -_DCMDEI = "DeleteCapacityManagerDataExportInput" -_cDCMDER = "com.amazonaws.ec2#DeleteCapacityManagerDataExportRequest" -_DCMDEO = "DeleteCapacityManagerDataExportOutput" -_cDCMDERo = "com.amazonaws.ec2#DeleteCapacityManagerDataExportResult" -_DCMDE = "DeleteCapacityManagerDataExport" -_DCGI = "DeleteCarrierGatewayInput" -_cDCGR = "com.amazonaws.ec2#DeleteCarrierGatewayRequest" -_DCGO = "DeleteCarrierGatewayOutput" -_cDCGRo = "com.amazonaws.ec2#DeleteCarrierGatewayResult" -_DCG = "DeleteCarrierGateway" -_DCVEI = "DeleteClientVpnEndpointInput" -_cDCVER = "com.amazonaws.ec2#DeleteClientVpnEndpointRequest" -_DCVEO = "DeleteClientVpnEndpointOutput" -_cDCVERo = "com.amazonaws.ec2#DeleteClientVpnEndpointResult" -_DCVE = "DeleteClientVpnEndpoint" -_DCVEAPI = "DeleteClientVpnEndpointAuthorizationPolicyInput" -_cDCVEAPR = "com.amazonaws.ec2#DeleteClientVpnEndpointAuthorizationPolicyRequest" -_CVAPS = "ClientVpnAuthorizationPolicyStatus" -_DCVEAPO = "DeleteClientVpnEndpointAuthorizationPolicyOutput" -_cDCVEAPRo = "com.amazonaws.ec2#DeleteClientVpnEndpointAuthorizationPolicyResult" -_DCVEAP = "DeleteClientVpnEndpointAuthorizationPolicy" -_DCVRI = "DeleteClientVpnRouteInput" -_cDCVRR = "com.amazonaws.ec2#DeleteClientVpnRouteRequest" -_DCVRO = "DeleteClientVpnRouteOutput" -_cDCVRRo = "com.amazonaws.ec2#DeleteClientVpnRouteResult" -_DCVR = "DeleteClientVpnRoute" -_DCCI = "DeleteCoipCidrInput" -_cDCCR = "com.amazonaws.ec2#DeleteCoipCidrRequest" -_DCCO = "DeleteCoipCidrOutput" -_cDCCRo = "com.amazonaws.ec2#DeleteCoipCidrResult" -_DCC = "DeleteCoipCidr" -_DCPI = "DeleteCoipPoolInput" -_cDCPR = "com.amazonaws.ec2#DeleteCoipPoolRequest" -_DCPO = "DeleteCoipPoolOutput" -_cDCPRo = "com.amazonaws.ec2#DeleteCoipPoolResult" -_DCP = "DeleteCoipPool" -_DCGIe = "DeleteCustomerGatewayInput" -_cDCGRom = "com.amazonaws.ec2#DeleteCustomerGatewayRequest" -_DCGOe = "DeleteCustomerGatewayOutput" -_DCGe = "DeleteCustomerGateway" -_DDOIe = "DeleteDhcpOptionsInput" -_cDDOR = "com.amazonaws.ec2#DeleteDhcpOptionsRequest" -_DDOO = "DeleteDhcpOptionsOutput" -_DDO = "DeleteDhcpOptions" -_DEOIGI = "DeleteEgressOnlyInternetGatewayInput" -_cDEOIGR = "com.amazonaws.ec2#DeleteEgressOnlyInternetGatewayRequest" -_DEOIGO = "DeleteEgressOnlyInternetGatewayOutput" -_cDEOIGRo = "com.amazonaws.ec2#DeleteEgressOnlyInternetGatewayResult" -_RCe = "ReturnCode" -_rC = "returnCode" -_DEOIG = "DeleteEgressOnlyInternetGateway" -_FISl = "FleetIdSet" -_DFI = "DeleteFleetsInput" -_cDFR = "com.amazonaws.ec2#DeleteFleetsRequest" -_FIle = "FleetIds" -_FSC = "FleetStateCode" -_DR_ = "DELETED_RUNNING" -_dr = "deleted_running" -_DTI = "DELETED_TERMINATING_INSTANCES" -_dt = "deleted_terminating" -_DFSI = "DeleteFleetSuccessItem" -_DFSS = "DeleteFleetSuccessSet" -_DFEC = "DeleteFleetErrorCode" -_FIDNE = "FLEET_ID_DOES_NOT_EXIST" -_fIDNE = "fleetIdDoesNotExist" -_FIM = "FLEET_ID_MALFORMED" -_fIM = "fleetIdMalformed" -_FNIDS = "FLEET_NOT_IN_DELETABLE_STATE" -_fNIDS = "fleetNotInDeletableState" -_DFE = "DeleteFleetError" -_DFEI = "DeleteFleetErrorItem" -_DFES = "DeleteFleetErrorSet" -_DFO = "DeleteFleetsOutput" -_cDFRo = "com.amazonaws.ec2#DeleteFleetsResult" -_SFD = "SuccessfulFleetDeletions" -_SFDS = "SuccessfulFleetDeletionSet" -_sFDS = "successfulFleetDeletionSet" -_UFD = "UnsuccessfulFleetDeletions" -_UFDS = "UnsuccessfulFleetDeletionSet" -_uFDS = "unsuccessfulFleetDeletionSet" -_DFe = "DeleteFleets" -_VFLI = "VpcFlowLogId" -_FLIL = "FlowLogIdList" -_DFLI = "DeleteFlowLogsInput" -_cDFLR = "com.amazonaws.ec2#DeleteFlowLogsRequest" -_FLIl = "FlowLogId" -_DFLO = "DeleteFlowLogsOutput" -_cDFLRo = "com.amazonaws.ec2#DeleteFlowLogsResult" -_DFL = "DeleteFlowLogs" -_DFII = "DeleteFpgaImageInput" -_cDFIR = "com.amazonaws.ec2#DeleteFpgaImageRequest" -_DFIO = "DeleteFpgaImageOutput" -_cDFIRo = "com.amazonaws.ec2#DeleteFpgaImageResult" -_DFIe = "DeleteFpgaImage" -_DIURI = "DeleteImageUsageReportInput" -_cDIURR = "com.amazonaws.ec2#DeleteImageUsageReportRequest" -_DIURO = "DeleteImageUsageReportOutput" -_cDIURRo = "com.amazonaws.ec2#DeleteImageUsageReportResult" -_DIUR = "DeleteImageUsageReport" -_DICEI = "DeleteInstanceConnectEndpointInput" -_cDICER = "com.amazonaws.ec2#DeleteInstanceConnectEndpointRequest" -_DICEO = "DeleteInstanceConnectEndpointOutput" -_cDICERo = "com.amazonaws.ec2#DeleteInstanceConnectEndpointResult" -_DICE = "DeleteInstanceConnectEndpoint" -_DIEWI = "DeleteInstanceEventWindowInput" -_cDIEWR = "com.amazonaws.ec2#DeleteInstanceEventWindowRequest" -_FD = "ForceDelete" -_IEWSC = "InstanceEventWindowStateChange" -_DIEWO = "DeleteInstanceEventWindowOutput" -_cDIEWRo = "com.amazonaws.ec2#DeleteInstanceEventWindowResult" -_iEWS = "instanceEventWindowState" -_DIEW = "DeleteInstanceEventWindow" -_DIGI = "DeleteInternetGatewayInput" -_cDIGR = "com.amazonaws.ec2#DeleteInternetGatewayRequest" -_DIGO = "DeleteInternetGatewayOutput" -_DIG = "DeleteInternetGateway" -_DII = "DeleteIpamInput" -_cDIR = "com.amazonaws.ec2#DeleteIpamRequest" -_Cas = "Cascade" -_DIO = "DeleteIpamOutput" -_cDIRo = "com.amazonaws.ec2#DeleteIpamResult" -_DIel = "DeleteIpam" -_DIERVTI = "DeleteIpamExternalResourceVerificationTokenInput" -_cDIERVTR = "com.amazonaws.ec2#DeleteIpamExternalResourceVerificationTokenRequest" -_DIERVTO = "DeleteIpamExternalResourceVerificationTokenOutput" -_cDIERVTRo = "com.amazonaws.ec2#DeleteIpamExternalResourceVerificationTokenResult" -_DIERVT = "DeleteIpamExternalResourceVerificationToken" -_DIIRAI = "DeleteIpamInternetRegistryAssociationInput" -_cDIIRAR = "com.amazonaws.ec2#DeleteIpamInternetRegistryAssociationRequest" -_DIIRAO = "DeleteIpamInternetRegistryAssociationOutput" -_cDIIRARo = "com.amazonaws.ec2#DeleteIpamInternetRegistryAssociationResult" -_DIIRA = "DeleteIpamInternetRegistryAssociation" -_DIPI = "DeleteIpamPolicyInput" -_cDIPR = "com.amazonaws.ec2#DeleteIpamPolicyRequest" -_DIPO = "DeleteIpamPolicyOutput" -_cDIPRo = "com.amazonaws.ec2#DeleteIpamPolicyResult" -_DIPe = "DeleteIpamPolicy" -_DIPIe = "DeleteIpamPoolInput" -_cDIPRom = "com.amazonaws.ec2#DeleteIpamPoolRequest" -_DIPOe = "DeleteIpamPoolOutput" -_cDIPRoma = "com.amazonaws.ec2#DeleteIpamPoolResult" -_DIPel = "DeleteIpamPool" -_DIPLRI = "DeleteIpamPrefixListResolverInput" -_cDIPLRR = "com.amazonaws.ec2#DeleteIpamPrefixListResolverRequest" -_DIPLRO = "DeleteIpamPrefixListResolverOutput" -_cDIPLRRo = "com.amazonaws.ec2#DeleteIpamPrefixListResolverResult" -_DIPLR = "DeleteIpamPrefixListResolver" -_DIPLRTI = "DeleteIpamPrefixListResolverTargetInput" -_cDIPLRTR = "com.amazonaws.ec2#DeleteIpamPrefixListResolverTargetRequest" -_DIPLRTO = "DeleteIpamPrefixListResolverTargetOutput" -_cDIPLRTRo = "com.amazonaws.ec2#DeleteIpamPrefixListResolverTargetResult" -_DIPLRT = "DeleteIpamPrefixListResolverTarget" -_DIRDI = "DeleteIpamResourceDiscoveryInput" -_cDIRDR = "com.amazonaws.ec2#DeleteIpamResourceDiscoveryRequest" -_DIRDO = "DeleteIpamResourceDiscoveryOutput" -_cDIRDRo = "com.amazonaws.ec2#DeleteIpamResourceDiscoveryResult" -_DIRD = "DeleteIpamResourceDiscovery" -_DIRPRI = "DeleteIpamRoutingPolicyRegistrationInput" -_cDIRPRR = "com.amazonaws.ec2#DeleteIpamRoutingPolicyRegistrationRequest" -_DIRPRO = "DeleteIpamRoutingPolicyRegistrationOutput" -_cDIRPRRo = "com.amazonaws.ec2#DeleteIpamRoutingPolicyRegistrationResult" -_DIRPR = "DeleteIpamRoutingPolicyRegistration" -_DISI = "DeleteIpamScopeInput" -_cDISR = "com.amazonaws.ec2#DeleteIpamScopeRequest" -_DISO = "DeleteIpamScopeOutput" -_cDISRo = "com.amazonaws.ec2#DeleteIpamScopeResult" -_DIS = "DeleteIpamScope" -_KPNWR = "KeyPairNameWithResolver" -_DKPI = "DeleteKeyPairInput" -_cDKPR = "com.amazonaws.ec2#DeleteKeyPairRequest" -_DKPO = "DeleteKeyPairOutput" -_cDKPRo = "com.amazonaws.ec2#DeleteKeyPairResult" -_DKP = "DeleteKeyPair" -_DLTI = "DeleteLaunchTemplateInput" -_cDLTR = "com.amazonaws.ec2#DeleteLaunchTemplateRequest" -_DLTO = "DeleteLaunchTemplateOutput" -_cDLTRo = "com.amazonaws.ec2#DeleteLaunchTemplateResult" -_DLT = "DeleteLaunchTemplate" -_VSLe = "VersionStringList" -_DLTVI = "DeleteLaunchTemplateVersionsInput" -_cDLTVR = "com.amazonaws.ec2#DeleteLaunchTemplateVersionsRequest" -_Vers = "Versions" -_DLTVRSI = "DeleteLaunchTemplateVersionsResponseSuccessItem" -_DLTVRSS = "DeleteLaunchTemplateVersionsResponseSuccessSet" -_LTEC = "LaunchTemplateErrorCode" -_LTIDNE = "LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST" -_lTIDNE = "launchTemplateIdDoesNotExist" -_LTIM = "LAUNCH_TEMPLATE_ID_MALFORMED" -_lTIM = "launchTemplateIdMalformed" -_LTNDNE = "LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST" -_lTNDNE = "launchTemplateNameDoesNotExist" -_LTNM = "LAUNCH_TEMPLATE_NAME_MALFORMED" -_lTNM = "launchTemplateNameMalformed" -_LTVDNE = "LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST" -_lTVDNE = "launchTemplateVersionDoesNotExist" -_REe = "ResponseError" -_DLTVREI = "DeleteLaunchTemplateVersionsResponseErrorItem" -_rEe = "responseError" -_DLTVRES = "DeleteLaunchTemplateVersionsResponseErrorSet" -_DLTVO = "DeleteLaunchTemplateVersionsOutput" -_cDLTVRo = "com.amazonaws.ec2#DeleteLaunchTemplateVersionsResult" -_SDLTV = "SuccessfullyDeletedLaunchTemplateVersions" -_SDLTVS = "SuccessfullyDeletedLaunchTemplateVersionSet" -_sDLTVS = "successfullyDeletedLaunchTemplateVersionSet" -_UDLTV = "UnsuccessfullyDeletedLaunchTemplateVersions" -_UDLTVS = "UnsuccessfullyDeletedLaunchTemplateVersionSet" -_uDLTVS = "unsuccessfullyDeletedLaunchTemplateVersionSet" -_DLTV = "DeleteLaunchTemplateVersions" -_DLGRI = "DeleteLocalGatewayRouteInput" -_cDLGRR = "com.amazonaws.ec2#DeleteLocalGatewayRouteRequest" -_DLGRO = "DeleteLocalGatewayRouteOutput" -_cDLGRRo = "com.amazonaws.ec2#DeleteLocalGatewayRouteResult" -_DLGR = "DeleteLocalGatewayRoute" -_DLGRTI = "DeleteLocalGatewayRouteTableInput" -_cDLGRTR = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableRequest" -_DLGRTO = "DeleteLocalGatewayRouteTableOutput" -_cDLGRTRo = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableResult" -_DLGRT = "DeleteLocalGatewayRouteTable" -_DLGRTVIGAI = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput" -_cDLGRTVIGAR = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest" -_DLGRTVIGAO = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput" -_cDLGRTVIGARo = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult" -_DLGRTVIGA = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation" -_DLGRTVAI = "DeleteLocalGatewayRouteTableVpcAssociationInput" -_cDLGRTVAR = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVpcAssociationRequest" -_DLGRTVAO = "DeleteLocalGatewayRouteTableVpcAssociationOutput" -_cDLGRTVARo = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVpcAssociationResult" -_DLGRTVA = "DeleteLocalGatewayRouteTableVpcAssociation" -_DLGVII = "DeleteLocalGatewayVirtualInterfaceInput" -_cDLGVIR = "com.amazonaws.ec2#DeleteLocalGatewayVirtualInterfaceRequest" -_DLGVIO = "DeleteLocalGatewayVirtualInterfaceOutput" -_cDLGVIRo = "com.amazonaws.ec2#DeleteLocalGatewayVirtualInterfaceResult" -_DLGVI = "DeleteLocalGatewayVirtualInterface" -_DLGVIGI = "DeleteLocalGatewayVirtualInterfaceGroupInput" -_cDLGVIGR = "com.amazonaws.ec2#DeleteLocalGatewayVirtualInterfaceGroupRequest" -_DLGVIGO = "DeleteLocalGatewayVirtualInterfaceGroupOutput" -_cDLGVIGRo = "com.amazonaws.ec2#DeleteLocalGatewayVirtualInterfaceGroupResult" -_DLGVIG = "DeleteLocalGatewayVirtualInterfaceGroup" -_DMPLI = "DeleteManagedPrefixListInput" -_cDMPLR = "com.amazonaws.ec2#DeleteManagedPrefixListRequest" -_DMPLO = "DeleteManagedPrefixListOutput" -_cDMPLRo = "com.amazonaws.ec2#DeleteManagedPrefixListResult" -_DMPL = "DeleteManagedPrefixList" -_DNGI = "DeleteNatGatewayInput" -_cDNGR = "com.amazonaws.ec2#DeleteNatGatewayRequest" -_DNGO = "DeleteNatGatewayOutput" -_cDNGRo = "com.amazonaws.ec2#DeleteNatGatewayResult" -_DNG = "DeleteNatGateway" -_DNAI = "DeleteNetworkAclInput" -_cDNAR = "com.amazonaws.ec2#DeleteNetworkAclRequest" -_DNAO = "DeleteNetworkAclOutput" -_DNA = "DeleteNetworkAcl" -_DNAEI = "DeleteNetworkAclEntryInput" -_cDNAER = "com.amazonaws.ec2#DeleteNetworkAclEntryRequest" -_DNAEO = "DeleteNetworkAclEntryOutput" -_DNAE = "DeleteNetworkAclEntry" -_DNIASI = "DeleteNetworkInsightsAccessScopeInput" -_cDNIASR = "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeRequest" -_DNIASO = "DeleteNetworkInsightsAccessScopeOutput" -_cDNIASRo = "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeResult" -_DNIAS = "DeleteNetworkInsightsAccessScope" -_DNIASAI = "DeleteNetworkInsightsAccessScopeAnalysisInput" -_cDNIASAR = "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeAnalysisRequest" -_DNIASAO = "DeleteNetworkInsightsAccessScopeAnalysisOutput" -_cDNIASARo = "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeAnalysisResult" -_DNIASA = "DeleteNetworkInsightsAccessScopeAnalysis" -_NIAI = "NetworkInsightsAnalysisId" -_DNIAI = "DeleteNetworkInsightsAnalysisInput" -_cDNIAR = "com.amazonaws.ec2#DeleteNetworkInsightsAnalysisRequest" -_DNIAO = "DeleteNetworkInsightsAnalysisOutput" -_cDNIARo = "com.amazonaws.ec2#DeleteNetworkInsightsAnalysisResult" -_nIAI = "networkInsightsAnalysisId" -_DNIA = "DeleteNetworkInsightsAnalysis" -_DNIPI = "DeleteNetworkInsightsPathInput" -_cDNIPR = "com.amazonaws.ec2#DeleteNetworkInsightsPathRequest" -_DNIPO = "DeleteNetworkInsightsPathOutput" -_cDNIPRo = "com.amazonaws.ec2#DeleteNetworkInsightsPathResult" -_DNIP = "DeleteNetworkInsightsPath" -_DNII = "DeleteNetworkInterfaceInput" -_cDNIR = "com.amazonaws.ec2#DeleteNetworkInterfaceRequest" -_DNIO = "DeleteNetworkInterfaceOutput" -_DNI = "DeleteNetworkInterface" -_DNIPIe = "DeleteNetworkInterfacePermissionInput" -_cDNIPRom = "com.amazonaws.ec2#DeleteNetworkInterfacePermissionRequest" -_DNIPOe = "DeleteNetworkInterfacePermissionOutput" -_cDNIPRoma = "com.amazonaws.ec2#DeleteNetworkInterfacePermissionResult" -_DNIPe = "DeleteNetworkInterfacePermission" -_PGNWR = "PlacementGroupNameWithResolver" -_DPGI = "DeletePlacementGroupInput" -_cDPGR = "com.amazonaws.ec2#DeletePlacementGroupRequest" -_DPGO = "DeletePlacementGroupOutput" -_DPG = "DeletePlacementGroup" -_DPIPI = "DeletePublicIpv4PoolInput" -_cDPIPR = "com.amazonaws.ec2#DeletePublicIpv4PoolRequest" -_DPIPO = "DeletePublicIpv4PoolOutput" -_cDPIPRo = "com.amazonaws.ec2#DeletePublicIpv4PoolResult" -_RV = "ReturnValue" -_rV = "returnValue" -_DPIP = "DeletePublicIpv4Pool" -_DQRIIL = "DeleteQueuedReservedInstancesIdList" -_DQRII = "DeleteQueuedReservedInstancesInput" -_cDQRIR = "com.amazonaws.ec2#DeleteQueuedReservedInstancesRequest" -_RIIese = "ReservedInstancesIds" -_DQRIEC = "DeleteQueuedReservedInstancesErrorCode" -_RIII = "RESERVED_INSTANCES_ID_INVALID" -_riii = "reserved-instances-id-invalid" -_RINIQS = "RESERVED_INSTANCES_NOT_IN_QUEUED_STATE" -_riniqs = "reserved-instances-not-in-queued-state" -_ue_ = "unexpected-error" -_DQRIE = "DeleteQueuedReservedInstancesError" -_FQPD = "FailedQueuedPurchaseDeletion" -_FQPDS = "FailedQueuedPurchaseDeletionSet" -_SQPD = "SuccessfulQueuedPurchaseDeletion" -_SQPDS = "SuccessfulQueuedPurchaseDeletionSet" -_DQRIO = "DeleteQueuedReservedInstancesOutput" -_cDQRIRo = "com.amazonaws.ec2#DeleteQueuedReservedInstancesResult" -_SQPDu = "SuccessfulQueuedPurchaseDeletions" -_sQPDS = "successfulQueuedPurchaseDeletionSet" -_FQPDa = "FailedQueuedPurchaseDeletions" -_fQPDS = "failedQueuedPurchaseDeletionSet" -_DQRI = "DeleteQueuedReservedInstances" -_DRI = "DeleteRouteInput" -_cDRR = "com.amazonaws.ec2#DeleteRouteRequest" -_DRO = "DeleteRouteOutput" -_DRel = "DeleteRoute" -_DRSI = "DeleteRouteServerInput" -_cDRSR = "com.amazonaws.ec2#DeleteRouteServerRequest" -_DRSO = "DeleteRouteServerOutput" -_cDRSRo = "com.amazonaws.ec2#DeleteRouteServerResult" -_DRS = "DeleteRouteServer" -_DRSEI = "DeleteRouteServerEndpointInput" -_cDRSER = "com.amazonaws.ec2#DeleteRouteServerEndpointRequest" -_DRSEO = "DeleteRouteServerEndpointOutput" -_cDRSERo = "com.amazonaws.ec2#DeleteRouteServerEndpointResult" -_DRSE = "DeleteRouteServerEndpoint" -_DRSPI = "DeleteRouteServerPeerInput" -_cDRSPR = "com.amazonaws.ec2#DeleteRouteServerPeerRequest" -_DRSPO = "DeleteRouteServerPeerOutput" -_cDRSPRo = "com.amazonaws.ec2#DeleteRouteServerPeerResult" -_DRSP = "DeleteRouteServerPeer" -_DRTI = "DeleteRouteTableInput" -_cDRTR = "com.amazonaws.ec2#DeleteRouteTableRequest" -_DRTO = "DeleteRouteTableOutput" -_DRT = "DeleteRouteTable" -_DSNI = "DeleteSecondaryNetworkInput" -_cDSNR = "com.amazonaws.ec2#DeleteSecondaryNetworkRequest" -_DSNO = "DeleteSecondaryNetworkOutput" -_cDSNRo = "com.amazonaws.ec2#DeleteSecondaryNetworkResult" -_DSN = "DeleteSecondaryNetwork" -_DSSI = "DeleteSecondarySubnetInput" -_cDSSR = "com.amazonaws.ec2#DeleteSecondarySubnetRequest" -_DSSO = "DeleteSecondarySubnetOutput" -_cDSSRo = "com.amazonaws.ec2#DeleteSecondarySubnetResult" -_DSSe = "DeleteSecondarySubnet" -_DSGI = "DeleteSecurityGroupInput" -_cDSGR = "com.amazonaws.ec2#DeleteSecurityGroupRequest" -_DSGO = "DeleteSecurityGroupOutput" -_cDSGRo = "com.amazonaws.ec2#DeleteSecurityGroupResult" -_DSG = "DeleteSecurityGroup" -_DSI = "DeleteSnapshotInput" -_cDSR = "com.amazonaws.ec2#DeleteSnapshotRequest" -_DSO = "DeleteSnapshotOutput" -_DSel = "DeleteSnapshot" -_DSDSI = "DeleteSpotDatafeedSubscriptionInput" -_cDSDSR = "com.amazonaws.ec2#DeleteSpotDatafeedSubscriptionRequest" -_DSDSO = "DeleteSpotDatafeedSubscriptionOutput" -_DSDS = "DeleteSpotDatafeedSubscription" -_DSIe = "DeleteSubnetInput" -_cDSRo = "com.amazonaws.ec2#DeleteSubnetRequest" -_DSOe = "DeleteSubnetOutput" -_DSele = "DeleteSubnet" -_DSCRI = "DeleteSubnetCidrReservationInput" -_cDSCRR = "com.amazonaws.ec2#DeleteSubnetCidrReservationRequest" -_DSCRO = "DeleteSubnetCidrReservationOutput" -_cDSCRRo = "com.amazonaws.ec2#DeleteSubnetCidrReservationResult" -_DSCR = "DeletedSubnetCidrReservation" -_dSCR = "deletedSubnetCidrReservation" -_DSCRe = "DeleteSubnetCidrReservation" -_DTIe = "DeleteTagsInput" -_cDTR = "com.amazonaws.ec2#DeleteTagsRequest" -_tag = "tag" -_DTO = "DeleteTagsOutput" -_DTelet = "DeleteTags" -_DTMFI = "DeleteTrafficMirrorFilterInput" -_cDTMFR = "com.amazonaws.ec2#DeleteTrafficMirrorFilterRequest" -_DTMFO = "DeleteTrafficMirrorFilterOutput" -_cDTMFRo = "com.amazonaws.ec2#DeleteTrafficMirrorFilterResult" -_DTMF = "DeleteTrafficMirrorFilter" -_TMFRIWR = "TrafficMirrorFilterRuleIdWithResolver" -_DTMFRI = "DeleteTrafficMirrorFilterRuleInput" -_cDTMFRR = "com.amazonaws.ec2#DeleteTrafficMirrorFilterRuleRequest" -_DTMFRO = "DeleteTrafficMirrorFilterRuleOutput" -_cDTMFRRo = "com.amazonaws.ec2#DeleteTrafficMirrorFilterRuleResult" -_DTMFR = "DeleteTrafficMirrorFilterRule" -_DTMSI = "DeleteTrafficMirrorSessionInput" -_cDTMSR = "com.amazonaws.ec2#DeleteTrafficMirrorSessionRequest" -_DTMSO = "DeleteTrafficMirrorSessionOutput" -_cDTMSRo = "com.amazonaws.ec2#DeleteTrafficMirrorSessionResult" -_DTMS = "DeleteTrafficMirrorSession" -_DTMTI = "DeleteTrafficMirrorTargetInput" -_cDTMTR = "com.amazonaws.ec2#DeleteTrafficMirrorTargetRequest" -_DTMTO = "DeleteTrafficMirrorTargetOutput" -_cDTMTRo = "com.amazonaws.ec2#DeleteTrafficMirrorTargetResult" -_DTMT = "DeleteTrafficMirrorTarget" -_DTGI = "DeleteTransitGatewayInput" -_cDTGR = "com.amazonaws.ec2#DeleteTransitGatewayRequest" -_DTGO = "DeleteTransitGatewayOutput" -_cDTGRo = "com.amazonaws.ec2#DeleteTransitGatewayResult" -_DTG = "DeleteTransitGateway" -_DTGCVAI = "DeleteTransitGatewayClientVpnAttachmentInput" -_cDTGCVAR = "com.amazonaws.ec2#DeleteTransitGatewayClientVpnAttachmentRequest" -_DTGCVAO = "DeleteTransitGatewayClientVpnAttachmentOutput" -_cDTGCVARo = "com.amazonaws.ec2#DeleteTransitGatewayClientVpnAttachmentResult" -_DTGCVA = "DeleteTransitGatewayClientVpnAttachment" -_DTGCI = "DeleteTransitGatewayConnectInput" -_cDTGCR = "com.amazonaws.ec2#DeleteTransitGatewayConnectRequest" -_DTGCO = "DeleteTransitGatewayConnectOutput" -_cDTGCRo = "com.amazonaws.ec2#DeleteTransitGatewayConnectResult" -_DTGC = "DeleteTransitGatewayConnect" -_DTGCPI = "DeleteTransitGatewayConnectPeerInput" -_cDTGCPR = "com.amazonaws.ec2#DeleteTransitGatewayConnectPeerRequest" -_DTGCPO = "DeleteTransitGatewayConnectPeerOutput" -_cDTGCPRo = "com.amazonaws.ec2#DeleteTransitGatewayConnectPeerResult" -_DTGCP = "DeleteTransitGatewayConnectPeer" -_DTGMPI = "DeleteTransitGatewayMeteringPolicyInput" -_cDTGMPR = "com.amazonaws.ec2#DeleteTransitGatewayMeteringPolicyRequest" -_DTGMPO = "DeleteTransitGatewayMeteringPolicyOutput" -_cDTGMPRo = "com.amazonaws.ec2#DeleteTransitGatewayMeteringPolicyResult" -_DTGMP = "DeleteTransitGatewayMeteringPolicy" -_DTGMPEI = "DeleteTransitGatewayMeteringPolicyEntryInput" -_cDTGMPER = "com.amazonaws.ec2#DeleteTransitGatewayMeteringPolicyEntryRequest" -_DTGMPEO = "DeleteTransitGatewayMeteringPolicyEntryOutput" -_cDTGMPERo = "com.amazonaws.ec2#DeleteTransitGatewayMeteringPolicyEntryResult" -_DTGMPE = "DeleteTransitGatewayMeteringPolicyEntry" -_DTGMDI = "DeleteTransitGatewayMulticastDomainInput" -_cDTGMDR = "com.amazonaws.ec2#DeleteTransitGatewayMulticastDomainRequest" -_DTGMDO = "DeleteTransitGatewayMulticastDomainOutput" -_cDTGMDRo = "com.amazonaws.ec2#DeleteTransitGatewayMulticastDomainResult" -_DTGMD = "DeleteTransitGatewayMulticastDomain" -_DTGPAI = "DeleteTransitGatewayPeeringAttachmentInput" -_cDTGPAR = "com.amazonaws.ec2#DeleteTransitGatewayPeeringAttachmentRequest" -_DTGPAO = "DeleteTransitGatewayPeeringAttachmentOutput" -_cDTGPARo = "com.amazonaws.ec2#DeleteTransitGatewayPeeringAttachmentResult" -_DTGPA = "DeleteTransitGatewayPeeringAttachment" -_DTGPTI = "DeleteTransitGatewayPolicyTableInput" -_cDTGPTR = "com.amazonaws.ec2#DeleteTransitGatewayPolicyTableRequest" -_DTGPTO = "DeleteTransitGatewayPolicyTableOutput" -_cDTGPTRo = "com.amazonaws.ec2#DeleteTransitGatewayPolicyTableResult" -_DTGPT = "DeleteTransitGatewayPolicyTable" -_DTGPTEI = "DeleteTransitGatewayPolicyTableEntryInput" -_cDTGPTER = "com.amazonaws.ec2#DeleteTransitGatewayPolicyTableEntryRequest" -_DTGPTEO = "DeleteTransitGatewayPolicyTableEntryOutput" -_cDTGPTERo = "com.amazonaws.ec2#DeleteTransitGatewayPolicyTableEntryResult" -_DTGPTE = "DeleteTransitGatewayPolicyTableEntry" -_DTGPLRI = "DeleteTransitGatewayPrefixListReferenceInput" -_cDTGPLRR = "com.amazonaws.ec2#DeleteTransitGatewayPrefixListReferenceRequest" -_DTGPLRO = "DeleteTransitGatewayPrefixListReferenceOutput" -_cDTGPLRRo = "com.amazonaws.ec2#DeleteTransitGatewayPrefixListReferenceResult" -_DTGPLR = "DeleteTransitGatewayPrefixListReference" -_DTGRI = "DeleteTransitGatewayRouteInput" -_cDTGRR = "com.amazonaws.ec2#DeleteTransitGatewayRouteRequest" -_DTGRO = "DeleteTransitGatewayRouteOutput" -_cDTGRRo = "com.amazonaws.ec2#DeleteTransitGatewayRouteResult" -_DTGR = "DeleteTransitGatewayRoute" -_DTGRTI = "DeleteTransitGatewayRouteTableInput" -_cDTGRTR = "com.amazonaws.ec2#DeleteTransitGatewayRouteTableRequest" -_DTGRTO = "DeleteTransitGatewayRouteTableOutput" -_cDTGRTRo = "com.amazonaws.ec2#DeleteTransitGatewayRouteTableResult" -_DTGRT = "DeleteTransitGatewayRouteTable" -_DTGRTAI = "DeleteTransitGatewayRouteTableAnnouncementInput" -_cDTGRTAR = "com.amazonaws.ec2#DeleteTransitGatewayRouteTableAnnouncementRequest" -_DTGRTAO = "DeleteTransitGatewayRouteTableAnnouncementOutput" -_cDTGRTARo = "com.amazonaws.ec2#DeleteTransitGatewayRouteTableAnnouncementResult" -_DTGRTA = "DeleteTransitGatewayRouteTableAnnouncement" -_DTGVAI = "DeleteTransitGatewayVpcAttachmentInput" -_cDTGVAR = "com.amazonaws.ec2#DeleteTransitGatewayVpcAttachmentRequest" -_DTGVAO = "DeleteTransitGatewayVpcAttachmentOutput" -_cDTGVARo = "com.amazonaws.ec2#DeleteTransitGatewayVpcAttachmentResult" -_DTGVA = "DeleteTransitGatewayVpcAttachment" -_DVAEI = "DeleteVerifiedAccessEndpointInput" -_cDVAER = "com.amazonaws.ec2#DeleteVerifiedAccessEndpointRequest" -_DVAEO = "DeleteVerifiedAccessEndpointOutput" -_cDVAERo = "com.amazonaws.ec2#DeleteVerifiedAccessEndpointResult" -_DVAE = "DeleteVerifiedAccessEndpoint" -_DVAGI = "DeleteVerifiedAccessGroupInput" -_cDVAGR = "com.amazonaws.ec2#DeleteVerifiedAccessGroupRequest" -_DVAGO = "DeleteVerifiedAccessGroupOutput" -_cDVAGRo = "com.amazonaws.ec2#DeleteVerifiedAccessGroupResult" -_DVAG = "DeleteVerifiedAccessGroup" -_DVAII = "DeleteVerifiedAccessInstanceInput" -_cDVAIR = "com.amazonaws.ec2#DeleteVerifiedAccessInstanceRequest" -_DVAIO = "DeleteVerifiedAccessInstanceOutput" -_cDVAIRo = "com.amazonaws.ec2#DeleteVerifiedAccessInstanceResult" -_DVAI = "DeleteVerifiedAccessInstance" -_DVATPI = "DeleteVerifiedAccessTrustProviderInput" -_cDVATPR = "com.amazonaws.ec2#DeleteVerifiedAccessTrustProviderRequest" -_DVATPO = "DeleteVerifiedAccessTrustProviderOutput" -_cDVATPRo = "com.amazonaws.ec2#DeleteVerifiedAccessTrustProviderResult" -_DVATP = "DeleteVerifiedAccessTrustProvider" -_DVI = "DeleteVolumeInput" -_cDVR = "com.amazonaws.ec2#DeleteVolumeRequest" -_DVO = "DeleteVolumeOutput" -_DVel = "DeleteVolume" -_DVIe = "DeleteVpcInput" -_cDVRo = "com.amazonaws.ec2#DeleteVpcRequest" -_DVOe = "DeleteVpcOutput" -_DVele = "DeleteVpc" -_DVBPAEI = "DeleteVpcBlockPublicAccessExclusionInput" -_cDVBPAER = "com.amazonaws.ec2#DeleteVpcBlockPublicAccessExclusionRequest" -_DVBPAEO = "DeleteVpcBlockPublicAccessExclusionOutput" -_cDVBPAERo = "com.amazonaws.ec2#DeleteVpcBlockPublicAccessExclusionResult" -_DVBPAE = "DeleteVpcBlockPublicAccessExclusion" -_DVECI = "DeleteVpcEncryptionControlInput" -_cDVECR = "com.amazonaws.ec2#DeleteVpcEncryptionControlRequest" -_DVECO = "DeleteVpcEncryptionControlOutput" -_cDVECRo = "com.amazonaws.ec2#DeleteVpcEncryptionControlResult" -_DVEC = "DeleteVpcEncryptionControl" -_CNIL = "ConnectionNotificationIdsList" -_DVECNI = "DeleteVpcEndpointConnectionNotificationsInput" -_cDVECNR = "com.amazonaws.ec2#DeleteVpcEndpointConnectionNotificationsRequest" -_CNIon = "ConnectionNotificationIds" -_DVECNO = "DeleteVpcEndpointConnectionNotificationsOutput" -_cDVECNRo = "com.amazonaws.ec2#DeleteVpcEndpointConnectionNotificationsResult" -_DVECN = "DeleteVpcEndpointConnectionNotifications" -_DVEI = "DeleteVpcEndpointsInput" -_cDVER = "com.amazonaws.ec2#DeleteVpcEndpointsRequest" -_DVEO = "DeleteVpcEndpointsOutput" -_cDVERo = "com.amazonaws.ec2#DeleteVpcEndpointsResult" -_DVE = "DeleteVpcEndpoints" -_VESILp = "VpcEndpointServiceIdList" -_DVESCI = "DeleteVpcEndpointServiceConfigurationsInput" -_cDVESCR = "com.amazonaws.ec2#DeleteVpcEndpointServiceConfigurationsRequest" -_SIer = "ServiceIds" -_DVESCO = "DeleteVpcEndpointServiceConfigurationsOutput" -_cDVESCRo = "com.amazonaws.ec2#DeleteVpcEndpointServiceConfigurationsResult" -_DVESC = "DeleteVpcEndpointServiceConfigurations" -_DVPCI = "DeleteVpcPeeringConnectionInput" -_cDVPCR = "com.amazonaws.ec2#DeleteVpcPeeringConnectionRequest" -_DVPCO = "DeleteVpcPeeringConnectionOutput" -_cDVPCRo = "com.amazonaws.ec2#DeleteVpcPeeringConnectionResult" -_DVPC = "DeleteVpcPeeringConnection" -_DVCI = "DeleteVpnConcentratorInput" -_cDVCR = "com.amazonaws.ec2#DeleteVpnConcentratorRequest" -_DVCO = "DeleteVpnConcentratorOutput" -_cDVCRo = "com.amazonaws.ec2#DeleteVpnConcentratorResult" -_DVC = "DeleteVpnConcentrator" -_DVCIe = "DeleteVpnConnectionInput" -_cDVCRom = "com.amazonaws.ec2#DeleteVpnConnectionRequest" -_DVCOe = "DeleteVpnConnectionOutput" -_DVCe = "DeleteVpnConnection" -_DVCRI = "DeleteVpnConnectionRouteInput" -_cDVCRR = "com.amazonaws.ec2#DeleteVpnConnectionRouteRequest" -_DVCRO = "DeleteVpnConnectionRouteOutput" -_DVCR = "DeleteVpnConnectionRoute" -_DVGI = "DeleteVpnGatewayInput" -_cDVGR = "com.amazonaws.ec2#DeleteVpnGatewayRequest" -_DVGO = "DeleteVpnGatewayOutput" -_DVG = "DeleteVpnGateway" -_DBCI = "DeprovisionByoipCidrInput" -_cDBCR = "com.amazonaws.ec2#DeprovisionByoipCidrRequest" -_DBCO = "DeprovisionByoipCidrOutput" -_cDBCRo = "com.amazonaws.ec2#DeprovisionByoipCidrResult" -_DBC = "DeprovisionByoipCidr" -_DIBI = "DeprovisionIpamByoasnInput" -_cDIBR = "com.amazonaws.ec2#DeprovisionIpamByoasnRequest" -_ASsn = "AsnState" -_By = "Byoasn" -_DIBO = "DeprovisionIpamByoasnOutput" -_cDIBRo = "com.amazonaws.ec2#DeprovisionIpamByoasnResult" -_by = "byoasn" -_DIB = "DeprovisionIpamByoasn" -_DIPCI = "DeprovisionIpamPoolCidrInput" -_cDIPCR = "com.amazonaws.ec2#DeprovisionIpamPoolCidrRequest" -_IPCFC = "IpamPoolCidrFailureCode" -_cna = "cidr_not_available" -_cna_ = "cidr-not-available" -_le = "limit_exceeded" -_le_ = "limit-exceeded" -_IPCFR = "IpamPoolCidrFailureReason" -_IPCIp = "IpamPoolCidrId" -_IPCS = "IpamPoolCidrState" -_pi = "pending_import" -_pi_ = "pending-import" -_fi__ = "failed_import" -_fi___ = "failed-import" -_IPCpa = "IpamPoolCidr" -_iPCI = "ipamPoolCidrId" -_nL = "netmaskLength" -_DIPCO = "DeprovisionIpamPoolCidrOutput" -_cDIPCRo = "com.amazonaws.ec2#DeprovisionIpamPoolCidrResult" -_iPCpa = "ipamPoolCidr" -_DIPC = "DeprovisionIpamPoolCidr" -_DPIPCI = "DeprovisionPublicIpv4PoolCidrInput" -_cDPIPCR = "com.amazonaws.ec2#DeprovisionPublicIpv4PoolCidrRequest" -_DASe = "DeprovisionedAddressSet" -_DPIPCO = "DeprovisionPublicIpv4PoolCidrOutput" -_cDPIPCRo = "com.amazonaws.ec2#DeprovisionPublicIpv4PoolCidrResult" -_DAep = "DeprovisionedAddresses" -_dASe = "deprovisionedAddressSet" -_DPIPC = "DeprovisionPublicIpv4PoolCidr" -_DIIe = "DeregisterImageInput" -_cDIRom = "com.amazonaws.ec2#DeregisterImageRequest" -_DASel = "DeleteAssociatedSnapshots" -_SRC = "SnapshotReturnCodes" -_SUCCESS = "SUCCESS" -_WS = "WARN_SKIPPED" -_ski = "skipped" -_EMP = "ERROR_MISSING_PERMISSIONS" -_mp = "missing-permissions" -_ECIE = "ERROR_CODE_INTERNAL_ERROR" -_ie____ = "internal-error" -_ECCE = "ERROR_CODE_CLIENT_ERROR" -_ce = "client-error" -_DSRC = "DeleteSnapshotReturnCode" -_DSRS = "DeleteSnapshotResultSet" -_DIOe = "DeregisterImageOutput" -_cDIRoma = "com.amazonaws.ec2#DeregisterImageResult" -_DSR = "DeleteSnapshotResults" -_dSRS = "deleteSnapshotResultSet" -_DIer = "DeregisterImage" -_ITKS = "InstanceTagKeySet" -_DITAR = "DeregisterInstanceTagAttributeRequest" -_IATOI = "IncludeAllTagsOfInstance" -_ITK = "InstanceTagKeys" -_ITKn = "InstanceTagKey" -_DIENAI = "DeregisterInstanceEventNotificationAttributesInput" -_cDIENAR = "com.amazonaws.ec2#DeregisterInstanceEventNotificationAttributesRequest" -_ITA = "InstanceTagAttribute" -_ITNA = "InstanceTagNotificationAttribute" -_iTKS = "instanceTagKeySet" -_iATOI = "includeAllTagsOfInstance" -_DIENAO = "DeregisterInstanceEventNotificationAttributesOutput" -_cDIENARo = "com.amazonaws.ec2#DeregisterInstanceEventNotificationAttributesResult" -_iTA = "instanceTagAttribute" -_DIENA = "DeregisterInstanceEventNotificationAttributes" -_TGNIIL = "TransitGatewayNetworkInterfaceIdList" -_DTGMGMI = "DeregisterTransitGatewayMulticastGroupMembersInput" -_cDTGMGMR = "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupMembersRequest" -_GIA = "GroupIpAddress" -_TGMDGM = "TransitGatewayMulticastDeregisteredGroupMembers" -_DNIIe = "DeregisteredNetworkInterfaceIds" -_dNII = "deregisteredNetworkInterfaceIds" -_gIA = "groupIpAddress" -_DTGMGMO = "DeregisterTransitGatewayMulticastGroupMembersOutput" -_cDTGMGMRo = "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupMembersResult" -_DMGM = "DeregisteredMulticastGroupMembers" -_dMGM = "deregisteredMulticastGroupMembers" -_DTGMGM = "DeregisterTransitGatewayMulticastGroupMembers" -_DTGMGSI = "DeregisterTransitGatewayMulticastGroupSourcesInput" -_cDTGMGSR = "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupSourcesRequest" -_TGMDGS = "TransitGatewayMulticastDeregisteredGroupSources" -_DTGMGSO = "DeregisterTransitGatewayMulticastGroupSourcesOutput" -_cDTGMGSRo = "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupSourcesResult" -_DMGS = "DeregisteredMulticastGroupSources" -_dMGS = "deregisteredMulticastGroupSources" -_DTGMGS = "DeregisterTransitGatewayMulticastGroupSources" -_DAAI = "DescribeAccountAttributesInput" -_cDAAR = "com.amazonaws.ec2#DescribeAccountAttributesRequest" -_ANtt = "AttributeNames" -_DAAO = "DescribeAccountAttributesOutput" -_cDAARo = "com.amazonaws.ec2#DescribeAccountAttributesResult" -_AAc = "AccountAttributes" -_AASc = "AccountAttributeSet" -_aASc = "accountAttributeSet" -_DAA = "DescribeAccountAttributes" -_DAVECI = "DescribeAccountVpcEncryptionControlInput" -_cDAVECR = "com.amazonaws.ec2#DescribeAccountVpcEncryptionControlRequest" -_DAVECO = "DescribeAccountVpcEncryptionControlOutput" -_cDAVECRo = "com.amazonaws.ec2#DescribeAccountVpcEncryptionControlResult" -_aVEC = "accountVpcEncryptionControl" -_DAVEC = "DescribeAccountVpcEncryptionControl" -_Fi = "Filter" -_FL = "FilterList" -_PISL = "PublicIpStringList" -_DAI = "DescribeAddressesInput" -_cDAR = "com.amazonaws.ec2#DescribeAddressesRequest" -_PIu = "PublicIps" -_Fil = "Filters" -_DAO = "DescribeAddressesOutput" -_cDARo = "com.amazonaws.ec2#DescribeAddressesResult" -_ASdd = "AddressesSet" -_aSdd = "addressesSet" -_DAesc = "DescribeAddresses" -_NTex = "NextToken" -_DAAIe = "DescribeAddressesAttributeInput" -_cDAARom = "com.amazonaws.ec2#DescribeAddressesAttributeRequest" -_Attr = "Attribute" -_MR = "MaxResults" -_DAAOe = "DescribeAddressesAttributeOutput" -_cDAARoma = "com.amazonaws.ec2#DescribeAddressesAttributeResult" -_nT = "nextToken" -_DAAe = "DescribeAddressesAttribute" -_DATMR = "DescribeAddressTransfersMaxResults" -_DATI = "DescribeAddressTransfersInput" -_cDATR = "com.amazonaws.ec2#DescribeAddressTransfersRequest" -_DATO = "DescribeAddressTransfersOutput" -_cDATRo = "com.amazonaws.ec2#DescribeAddressTransfersResult" -_ATdd = "AddressTransfers" -_ATSdd = "AddressTransferSet" -_aTSd = "addressTransferSet" -_DATe = "DescribeAddressTransfers" -_DAIFI = "DescribeAggregateIdFormatInput" -_cDAIFR = "com.amazonaws.ec2#DescribeAggregateIdFormatRequest" -_IFd = "IdFormat" -_Dea = "Deadline" -_dea = "deadline" -_reso = "resource" -_ULI = "UseLongIds" -_uLI = "useLongIds" -_IFL = "IdFormatList" -_DAIFO = "DescribeAggregateIdFormatOutput" -_cDAIFRo = "com.amazonaws.ec2#DescribeAggregateIdFormatResult" -_ULIA = "UseLongIdsAggregated" -_uLIA = "useLongIdsAggregated" -_Statu = "Statuses" -_SSta = "StatusSet" -_sSt = "statusSet" -_DAIF = "DescribeAggregateIdFormat" -_DASMR = "DescribeApplicationStatusMaxResults" -_DASI = "DescribeApplicationStatusInput" -_cDASR = "com.amazonaws.ec2#DescribeApplicationStatusRequest" -_ASR = "ApplicationStatusReason" -_SCta = "StatusCode" -_sCt = "statusCode" -_ASCE = "ApplicationStatusCheckEnum" -_PASSED = "PASSED" -_pas = "passed" -_INITIALIZING = "INITIALIZING" -_init = "initializing" -_ID_ = "INSUFFICIENT_DATA" -_id_ = "insufficient-data" -_NA_ = "NOT_APPLICABLE" -_na_____ = "not-applicable" -_ASD = "ApplicationStatusDetail" -_CUT = "CheckUpdateTime" -_cUT = "checkUpdateTime" -_STS = "StatusTimeStamp" -_sTS = "statusTimeStamp" -_SStat = "StatusSince" -_sSta = "statusSince" -_ASDS = "ApplicationStatusDetailSet" -_ASEp = "ApplicationStatusEnum" -_OK_ = "OK" -_ok = "ok" -_IMPAIRED = "IMPAIRED" -_imp = "impaired" -_SUPPRESSED = "SUPPRESSED" -_sup = "suppressed" -_ASp = "ApplicationStatus" -_RAesu = "ResumeAt" -_rAes = "resumeAt" -_Det = "Details" -_DSet = "DetailSet" -_dSet = "detailSet" -_IASn = "InstanceApplicationStatus" -_aSp = "applicationStatus" -_IASS = "InstanceApplicationStatusSet" -_ASRT = "ApplicationStatusesResponseType" -_ISns = "InstanceSet" -_iSn = "instanceSet" -_DASO = "DescribeApplicationStatusOutput" -_cDASRo = "com.amazonaws.ec2#DescribeApplicationStatusResult" -_ASpp = "ApplicationStatuses" -_aSRT = "applicationStatusesResponseType" -_DASes = "DescribeApplicationStatus" -_ASCIL = "ApplicationStatusCheckIdList" -_DASCAMR = "DescribeApplicationStatusCheckAssociationsMaxResults" -_DASCAI = "DescribeApplicationStatusCheckAssociationsInput" -_cDASCAR = "com.amazonaws.ec2#DescribeApplicationStatusCheckAssociationsRequest" -_ASCIp = "ApplicationStatusCheckIds" -_ATE = "AssociationTypeEnum" -_TAG = "TAG" -_II_ = "INSTANCE_ID" -_ii_ = "instance-id" -_ASCAO = "ApplicationStatusCheckAssociationObject" -_ASCAS = "ApplicationStatusCheckAssociationSet" -_DASCAO = "DescribeApplicationStatusCheckAssociationsOutput" -_cDASCARo = "com.amazonaws.ec2#DescribeApplicationStatusCheckAssociationsResult" -_DASCA = "DescribeApplicationStatusCheckAssociations" -_DASCMR = "DescribeApplicationStatusChecksMaxResults" -_DASCIe = "DescribeApplicationStatusChecksInput" -_cDASCRom = "com.amazonaws.ec2#DescribeApplicationStatusChecksRequest" -_IAnc = "IncludeAll" -_ASCRS = "ApplicationStatusCheckResponseSet" -_DASCOe = "DescribeApplicationStatusChecksOutput" -_cDASCRoma = "com.amazonaws.ec2#DescribeApplicationStatusChecksResult" -_ASCpp = "ApplicationStatusChecks" -_ASCS = "ApplicationStatusCheckSet" -_aSCS = "applicationStatusCheckSet" -_DASCe = "DescribeApplicationStatusChecks" -_ZISL = "ZoneIdStringList" -_ZI = "ZoneId" -_ZNSL = "ZoneNameStringList" -_ZN = "ZoneName" -_DAZIe = "DescribeAvailabilityZonesInput" -_cDAZR = "com.amazonaws.ec2#DescribeAvailabilityZonesRequest" -_ZNo = "ZoneNames" -_ZIo = "ZoneIds" -_AAZ = "AllAvailabilityZones" -_AZG = "AvailabilityZoneGeography" -_AZGL = "AvailabilityZoneGeographyList" -_AZM = "AvailabilityZoneMessage" -_AZML = "AvailabilityZoneMessageList" -_AZOIS = "AvailabilityZoneOptInStatus" -_oinr = "opt_in_not_required" -_oinr_ = "opt-in-not-required" -_oi_ = "opted_in" -_oi__ = "opted-in" -_noi = "not_opted_in" -_noi_ = "not-opted-in" -_AZSv = "AvailabilityZoneState" -_infor = "information" -_cons = "constrained" -_AZSG = "AvailabilityZoneSubGeography" -_AZSGL = "AvailabilityZoneSubGeographyList" -_OIS = "OptInStatus" -_oIS = "optInStatus" -_Mes = "Messages" -_MSe = "MessageSet" -_mSe = "messageSet" -_zN = "zoneName" -_zI = "zoneId" -_ZT = "ZoneType" -_zT = "zoneType" -_PZN = "ParentZoneName" -_pZN = "parentZoneName" -_PZI = "ParentZoneId" -_pZI = "parentZoneId" -_GLN = "GroupLongName" -_gLN = "groupLongName" -_Ge = "Geography" -_GSe = "GeographySet" -_gSe = "geographySet" -_SGu = "SubGeography" -_SGSu = "SubGeographySet" -_sGSu = "subGeographySet" -_ZS = "ZoneState" -_zS = "zoneState" -_AZL = "AvailabilityZoneList" -_DAZO = "DescribeAvailabilityZonesOutput" -_cDAZRo = "com.amazonaws.ec2#DescribeAvailabilityZonesResult" -_AZIva = "AvailabilityZoneInfo" -_aZIv = "availabilityZoneInfo" -_DAZe = "DescribeAvailabilityZones" -_MRP = "MaxResultsParam" -_DANPMSI = "DescribeAwsNetworkPerformanceMetricSubscriptionsInput" -_cDANPMSR = "com.amazonaws.ec2#DescribeAwsNetworkPerformanceMetricSubscriptionsRequest" -_MTe = "MetricType" -_al__ = "aggregate_latency" -_al___ = "aggregate-latency" -_PTe = "PeriodType" -_fm = "five_minutes" -_fm_ = "five-minutes" -_fm__ = "fifteen_minutes" -_fm___ = "fifteen-minutes" -_oh = "one_hour" -_oh_ = "one-hour" -_th_ = "three_hours" -_th__ = "three-hours" -_od__ = "one_day" -_od___ = "one-day" -_ow_ = "one_week" -_ow__ = "one-week" -_STta = "StatisticType" -_p_____________ = "p50" -_Subs = "Subscription" -_Met = "Metric" -_met = "metric" -_Stati = "Statistic" -_stati = "statistic" -_Per = "Period" -_peri = "period" -_SLu = "SubscriptionList" -_DANPMSO = "DescribeAwsNetworkPerformanceMetricSubscriptionsOutput" -_cDANPMSRo = "com.amazonaws.ec2#DescribeAwsNetworkPerformanceMetricSubscriptionsResult" -_Subsc = "Subscriptions" -_SSub = "SubscriptionSet" -_sSu = "subscriptionSet" -_DANPMS = "DescribeAwsNetworkPerformanceMetricSubscriptions" -_BISL = "BundleIdStringList" -_DBTI = "DescribeBundleTasksInput" -_cDBTR = "com.amazonaws.ec2#DescribeBundleTasksRequest" -_BIund = "BundleIds" -_BTL = "BundleTaskList" -_DBTO = "DescribeBundleTasksOutput" -_cDBTRo = "com.amazonaws.ec2#DescribeBundleTasksResult" -_BTu = "BundleTasks" -_BITS = "BundleInstanceTasksSet" -_bITS = "bundleInstanceTasksSet" -_DBT = "DescribeBundleTasks" -_DBCMR = "DescribeByoipCidrsMaxResults" -_DBCIe = "DescribeByoipCidrsInput" -_cDBCRom = "com.amazonaws.ec2#DescribeByoipCidrsRequest" -_BCSy = "ByoipCidrSet" -_DBCOe = "DescribeByoipCidrsOutput" -_cDBCRoma = "com.amazonaws.ec2#DescribeByoipCidrsResult" -_BCy = "ByoipCidrs" -_bCS = "byoipCidrSet" -_DBCe = "DescribeByoipCidrs" -_DFCMR = "DescribeFutureCapacityMaxResults" -_DCBEHI = "DescribeCapacityBlockExtensionHistoryInput" -_cDCBEHR = "com.amazonaws.ec2#DescribeCapacityBlockExtensionHistoryRequest" -_CBES = "CapacityBlockExtensionStatus" -_PP = "PAYMENT_PENDING" -_PF___ = "PAYMENT_FAILED" -_PS_ = "PAYMENT_SUCCEEDED" -_ps = "payment-succeeded" -_CBE = "CapacityBlockExtension" -_CBEOI = "CapacityBlockExtensionOfferingId" -_cBEOI = "capacityBlockExtensionOfferingId" -_CBEDH = "CapacityBlockExtensionDurationHours" -_cBEDH = "capacityBlockExtensionDurationHours" -_cBES = "capacityBlockExtensionStatus" -_CBEPD = "CapacityBlockExtensionPurchaseDate" -_cBEPD = "capacityBlockExtensionPurchaseDate" -_CBESD = "CapacityBlockExtensionStartDate" -_cBESD = "capacityBlockExtensionStartDate" -_CBEED = "CapacityBlockExtensionEndDate" -_cBEED = "capacityBlockExtensionEndDate" -_UF = "UpfrontFee" -_uF = "upfrontFee" -_CBESa = "CapacityBlockExtensionSet" -_DCBEHO = "DescribeCapacityBlockExtensionHistoryOutput" -_cDCBEHRo = "com.amazonaws.ec2#DescribeCapacityBlockExtensionHistoryResult" -_CBEa = "CapacityBlockExtensions" -_cBESa = "capacityBlockExtensionSet" -_DCBEH = "DescribeCapacityBlockExtensionHistory" -_DCBEOMR = "DescribeCapacityBlockExtensionOfferingsMaxResults" -_DCBEOI = "DescribeCapacityBlockExtensionOfferingsInput" -_cDCBEOR = "com.amazonaws.ec2#DescribeCapacityBlockExtensionOfferingsRequest" -_CBEO = "CapacityBlockExtensionOffering" -_CBEOS = "CapacityBlockExtensionOfferingSet" -_DCBEOO = "DescribeCapacityBlockExtensionOfferingsOutput" -_cDCBEORo = "com.amazonaws.ec2#DescribeCapacityBlockExtensionOfferingsResult" -_CBEOa = "CapacityBlockExtensionOfferings" -_cBEOS = "capacityBlockExtensionOfferingSet" -_DCBEO = "DescribeCapacityBlockExtensionOfferings" -_DCBOMR = "DescribeCapacityBlockOfferingsMaxResults" -_DCBOI = "DescribeCapacityBlockOfferingsInput" -_cDCBOR = "com.amazonaws.ec2#DescribeCapacityBlockOfferingsRequest" -_SDR = "StartDateRange" -_EDR = "EndDateRange" -_CDH = "CapacityDurationHours" -_UTl = "UltraserverType" -_UC = "UltraserverCount" -_CBO = "CapacityBlockOffering" -_CBOI = "CapacityBlockOfferingId" -_cBOI = "capacityBlockOfferingId" -_CBDH = "CapacityBlockDurationHours" -_cBDH = "capacityBlockDurationHours" -_uTl = "ultraserverType" -_uC = "ultraserverCount" -_CBDM = "CapacityBlockDurationMinutes" -_cBDM = "capacityBlockDurationMinutes" -_CBOS = "CapacityBlockOfferingSet" -_DCBOO = "DescribeCapacityBlockOfferingsOutput" -_cDCBORo = "com.amazonaws.ec2#DescribeCapacityBlockOfferingsResult" -_CBOa = "CapacityBlockOfferings" -_cBOS = "capacityBlockOfferingSet" -_DCBO = "DescribeCapacityBlockOfferings" -_CBIa = "CapacityBlockIds" -_DCBMR = "DescribeCapacityBlocksMaxResults" -_DCBI = "DescribeCapacityBlocksInput" -_cDCBR = "com.amazonaws.ec2#DescribeCapacityBlocksRequest" -_CBRS = "CapacityBlockResourceState" -_CBa = "CapacityBlock" -_cRIS = "capacityReservationIdSet" -_CBSa = "CapacityBlockSet" -_DCBOe = "DescribeCapacityBlocksOutput" -_cDCBRo = "com.amazonaws.ec2#DescribeCapacityBlocksResult" -_CBap = "CapacityBlocks" -_cBSa = "capacityBlockSet" -_DCBe = "DescribeCapacityBlocks" -_DCBSMR = "DescribeCapacityBlockStatusMaxResults" -_DCBSI = "DescribeCapacityBlockStatusInput" -_cDCBSR = "com.amazonaws.ec2#DescribeCapacityBlockStatusRequest" -_CRSap = "CapacityReservationStatus" -_TCo = "TotalCapacity" -_tC = "totalCapacity" -_TAC = "TotalAvailableCapacity" -_tAC = "totalAvailableCapacity" -_TUC = "TotalUnavailableCapacity" -_tUC = "totalUnavailableCapacity" -_CRSS = "CapacityReservationStatusSet" -_CBIS = "CapacityBlockInterconnectStatus" -_id__ = "insufficient_data" -_CBSap = "CapacityBlockStatus" -_ISnt = "InterconnectStatus" -_iSnt = "interconnectStatus" -_CRSapa = "CapacityReservationStatuses" -_cRSS = "capacityReservationStatusSet" -_CBSS = "CapacityBlockStatusSet" -_DCBSO = "DescribeCapacityBlockStatusOutput" -_cDCBSRo = "com.amazonaws.ec2#DescribeCapacityBlockStatusResult" -_CBSapa = "CapacityBlockStatuses" -_cBSS = "capacityBlockStatusSet" -_DCBS = "DescribeCapacityBlockStatus" -_CMDEIS = "CapacityManagerDataExportIdSet" -_DCMDERMR = "DescribeCapacityManagerDataExportsRequestMaxResults" -_DCMDEIe = "DescribeCapacityManagerDataExportsInput" -_cDCMDERom = "com.amazonaws.ec2#DescribeCapacityManagerDataExportsRequest" -_CMDEIa = "CapacityManagerDataExportIds" -_CMDES = "CapacityManagerDataExportStatus" -_IP_ = "IN_PROGRESS" -_DELIVERED = "DELIVERED" -_deli = "delivered" -_CMDER = "CapacityManagerDataExportResponse" -_sBN = "s3BucketName" -_sBP = "s3BucketPrefix" -_sche = "schedule" -_oF = "outputFormat" -_LDS = "LatestDeliveryStatus" -_lDS = "latestDeliveryStatus" -_LDSM = "LatestDeliveryStatusMessage" -_lDSM = "latestDeliveryStatusMessage" -_LDSLU = "LatestDeliveryS3LocationUri" -_lDSLU = "latestDeliveryS3LocationUri" -_LDTa = "LatestDeliveryTime" -_lDT = "latestDeliveryTime" -_CMDERS = "CapacityManagerDataExportResponseSet" -_DCMDEOe = "DescribeCapacityManagerDataExportsOutput" -_cDCMDERoma = "com.amazonaws.ec2#DescribeCapacityManagerDataExportsResult" -_CMDE = "CapacityManagerDataExports" -_CMDESa = "CapacityManagerDataExportSet" -_cMDES = "capacityManagerDataExportSet" -_DCMDEe = "DescribeCapacityManagerDataExports" -_DCRBRRMR = "DescribeCapacityReservationBillingRequestsRequestMaxResults" -_CRal = "CallerRole" -_oo = "odcr_owner" -_oo_ = "odcr-owner" -_urbo = "unused_reservation_billing_owner" -_urbo_ = "unused-reservation-billing-owner" -_DCRBRI = "DescribeCapacityReservationBillingRequestsInput" -_cDCRBRR = "com.amazonaws.ec2#DescribeCapacityReservationBillingRequestsRequest" -_CRIap = "CapacityReservationInfo" -_CRBRS = "CapacityReservationBillingRequestStatus" -_CRBR = "CapacityReservationBillingRequest" -_RB = "RequestedBy" -_rBe = "requestedBy" -_LUTas = "LastUpdateTime" -_lUTas = "lastUpdateTime" -_cRIa = "capacityReservationInfo" -_CRBRSa = "CapacityReservationBillingRequestSet" -_DCRBRO = "DescribeCapacityReservationBillingRequestsOutput" -_cDCRBRRo = "com.amazonaws.ec2#DescribeCapacityReservationBillingRequestsResult" -_CRBRa = "CapacityReservationBillingRequests" -_cRBRS = "capacityReservationBillingRequestSet" -_DCRBR = "DescribeCapacityReservationBillingRequests" -_CRCQIS = "CapacityReservationCancellationQuoteIdSet" -_DCRCQRMR = "DescribeCapacityReservationCancellationQuotesRequestMaxResults" -_DCRCQI = "DescribeCapacityReservationCancellationQuotesInput" -_cDCRCQR = "com.amazonaws.ec2#DescribeCapacityReservationCancellationQuotesRequest" -_CRCQIa = "CapacityReservationCancellationQuoteIds" -_CRCQRS = "CapacityReservationCancellationQuoteResponseSet" -_DCRCQO = "DescribeCapacityReservationCancellationQuotesOutput" -_cDCRCQRo = "com.amazonaws.ec2#DescribeCapacityReservationCancellationQuotesResult" -_CRCQa = "CapacityReservationCancellationQuotes" -_CRCQSa = "CapacityReservationCancellationQuoteSet" -_cRCQS = "capacityReservationCancellationQuoteSet" -_DCRCQ = "DescribeCapacityReservationCancellationQuotes" -_CRMQIS = "CapacityReservationModificationQuoteIdSet" -_DCRDCQRMR = "DescribeCapacityReservationDateChangeQuotesRequestMaxResults" -_DCRDCQI = "DescribeCapacityReservationDateChangeQuotesInput" -_cDCRDCQR = "com.amazonaws.ec2#DescribeCapacityReservationDateChangeQuotesRequest" -_CRMQIa = "CapacityReservationModificationQuoteIds" -_CRMQRS = "CapacityReservationModificationQuoteResponseSet" -_DCRDCQO = "DescribeCapacityReservationDateChangeQuotesOutput" -_cDCRDCQRo = "com.amazonaws.ec2#DescribeCapacityReservationDateChangeQuotesResult" -_CRMQa = "CapacityReservationModificationQuotes" -_CRMQSa = "CapacityReservationModificationQuoteSet" -_cRMQS = "capacityReservationModificationQuoteSet" -_DCRDCQ = "DescribeCapacityReservationDateChangeQuotes" -_DCRFMR = "DescribeCapacityReservationFleetsMaxResults" -_DCRFI = "DescribeCapacityReservationFleetsInput" -_cDCRFR = "com.amazonaws.ec2#DescribeCapacityReservationFleetsRequest" -_CRF = "CapacityReservationFleet" -_CRFA = "CapacityReservationFleetArn" -_cRFA = "capacityReservationFleetArn" -_ITSS = "InstanceTypeSpecificationSet" -_iTSS = "instanceTypeSpecificationSet" -_CRFSa = "CapacityReservationFleetSet" -_DCRFO = "DescribeCapacityReservationFleetsOutput" -_cDCRFRo = "com.amazonaws.ec2#DescribeCapacityReservationFleetsResult" -_CRFa = "CapacityReservationFleets" -_cRFS = "capacityReservationFleetSet" -_DCRF = "DescribeCapacityReservationFleets" -_DCRMR = "DescribeCapacityReservationsMaxResults" -_DCRI = "DescribeCapacityReservationsInput" -_cDCRR = "com.amazonaws.ec2#DescribeCapacityReservationsRequest" -_CRSapac = "CapacityReservationSet" -_DCRO = "DescribeCapacityReservationsOutput" -_cDCRRo = "com.amazonaws.ec2#DescribeCapacityReservationsResult" -_CRapac = "CapacityReservations" -_cRSa = "capacityReservationSet" -_DCRe = "DescribeCapacityReservations" -_DCRTMR = "DescribeCapacityReservationTopologyMaxResults" -_DCRTI = "DescribeCapacityReservationTopologyInput" -_cDCRTR = "com.amazonaws.ec2#DescribeCapacityReservationTopologyRequest" -_NNS = "NetworkNodeSet" -_CRTapa = "CapacityReservationTopology" -_NN = "NetworkNodes" -_nNS = "networkNodeSet" -_CRTS = "CapacityReservationTopologySet" -_DCRTO = "DescribeCapacityReservationTopologyOutput" -_cDCRTRo = "com.amazonaws.ec2#DescribeCapacityReservationTopologyResult" -_DCRT = "DescribeCapacityReservationTopology" -_CGIS = "CarrierGatewayIdSet" -_CGMR = "CarrierGatewayMaxResults" -_DCGIes = "DescribeCarrierGatewaysInput" -_cDCGRoma = "com.amazonaws.ec2#DescribeCarrierGatewaysRequest" -_CGIa = "CarrierGatewayIds" -_CGSa = "CarrierGatewaySet" -_DCGOes = "DescribeCarrierGatewaysOutput" -_cDCGRomam = "com.amazonaws.ec2#DescribeCarrierGatewaysResult" -_CGar = "CarrierGateways" -_cGS = "carrierGatewaySet" -_DCGes = "DescribeCarrierGateways" -_IISL = "InstanceIdStringList" -_DCLIMR = "DescribeClassicLinkInstancesMaxResults" -_DCLII = "DescribeClassicLinkInstancesInput" -_cDCLIR = "com.amazonaws.ec2#DescribeClassicLinkInstancesRequest" -_mR = "maxResults" -_CLI = "ClassicLinkInstance" -_CLIL = "ClassicLinkInstanceList" -_DCLIO = "DescribeClassicLinkInstancesOutput" -_cDCLIRo = "com.amazonaws.ec2#DescribeClassicLinkInstancesResult" -_ISnst = "InstancesSet" -_iSns = "instancesSet" -_DCLI = "DescribeClassicLinkInstances" -_DCVARMR = "DescribeClientVpnAuthorizationRulesMaxResults" -_DCVARI = "DescribeClientVpnAuthorizationRulesInput" -_cDCVARR = "com.amazonaws.ec2#DescribeClientVpnAuthorizationRulesRequest" -_ARut = "AuthorizationRule" -_AAcc = "AccessAll" -_aAc = "accessAll" -_ARSu = "AuthorizationRuleSet" -_DCVARO = "DescribeClientVpnAuthorizationRulesOutput" -_cDCVARRo = "com.amazonaws.ec2#DescribeClientVpnAuthorizationRulesResult" -_ARuth = "AuthorizationRules" -_aRut = "authorizationRule" -_DCVAR = "DescribeClientVpnAuthorizationRules" -_DCVCMR = "DescribeClientVpnConnectionsMaxResults" -_DCVCI = "DescribeClientVpnConnectionsInput" -_cDCVCR = "com.amazonaws.ec2#DescribeClientVpnConnectionsRequest" -_CVCSC = "ClientVpnConnectionStatusCode" -_ftt = "failed_to_terminate" -_ftt_ = "failed-to-terminate" -_termi = "terminating" -_termin = "terminated" -_CVCS = "ClientVpnConnectionStatus" -_CVCl = "ClientVpnConnection" -_CIon = "ConnectionId" -_cIon = "connectionId" -_Use = "Username" -_user = "username" -_CETo = "ConnectionEstablishedTime" -_cET = "connectionEstablishedTime" -_IB = "IngressBytes" -_iB = "ingressBytes" -_EB = "EgressBytes" -_eB = "egressBytes" -_IPng = "IngressPackets" -_iPng = "ingressPackets" -_EPg = "EgressPackets" -_eP = "egressPackets" -_CIli = "ClientIp" -_cIli = "clientIp" -_CIA = "ClientIpv6Address" -_cIA = "clientIpv6Address" -_CNom = "CommonName" -_cNo = "commonName" -_CETon = "ConnectionEndTime" -_cETo = "connectionEndTime" -_PCSo = "PostureComplianceStatuses" -_PCSS = "PostureComplianceStatusSet" -_pCSS = "postureComplianceStatusSet" -_APLET = "AuthorizationPolicyLastEvaluatedTime" -_aPLET = "authorizationPolicyLastEvaluatedTime" -_CVCSl = "ClientVpnConnectionSet" -_DCVCO = "DescribeClientVpnConnectionsOutput" -_cDCVCRo = "com.amazonaws.ec2#DescribeClientVpnConnectionsResult" -_Conn = "Connections" -_conn = "connections" -_DCVC = "DescribeClientVpnConnections" -_CVEIL = "ClientVpnEndpointIdList" -_DCVEMR = "DescribeClientVpnEndpointMaxResults" -_DCVEIe = "DescribeClientVpnEndpointsInput" -_cDCVERom = "com.amazonaws.ec2#DescribeClientVpnEndpointsRequest" -_CVEIl = "ClientVpnEndpointIds" -_ANT = "AssociatedNetworkType" -_ATN = "AssociatedTargetNetwork" -_NIet = "NetworkId" -_nIe = "networkId" -_nTe = "networkType" -_ATNS = "AssociatedTargetNetworkSet" -_DSA = "DirectoryServiceAuthentication" -_dIi = "directoryId" -_SPA = "SamlProviderArn" -_sPA = "samlProviderArn" -_SSSPA = "SelfServiceSamlProviderArn" -_sSSPA = "selfServiceSamlProviderArn" -_CAer = "CertificateAuthentication" -_CRCC = "ClientRootCertificateChain" -_cRCC = "clientRootCertificateChain" -_CVA = "ClientVpnAuthentication" -_aDc = "activeDirectory" -_mAu = "mutualAuthentication" -_fA = "federatedAuthentication" -_CVAL = "ClientVpnAuthenticationList" -_CVEASC = "ClientVpnEndpointAttributeStatusCode" -_appl = "applying" -_CVEAS = "ClientVpnEndpointAttributeStatus" -_CCROl = "ClientConnectResponseOptions" -_lFA = "lambdaFunctionArn" -_CLBRO = "ClientLoginBannerResponseOptions" -_bT = "bannerText" -_CRERO = "ClientRouteEnforcementResponseOptions" -_enfo = "enforced" -_CLRO = "ConnectionLogResponseOptions" -_CVTP = "ClientVpnTrustProvider" -_CVTPS = "ClientVpnTrustProviderSet" -_DPRO = "DevicePostureResponseOptions" -_TPS = "TrustProviderSet" -_tPS = "trustProviderSet" -_TGCDES = "TransitGatewayConfigurationDescribeEndpointStructure" -_VPpn = "VpnProtocol" -_open = "openvpn" -_CVEl = "ClientVpnEndpoint" -_cCB = "clientCidrBlock" -_DSns = "DnsServer" -_dSn = "dnsServer" -_sTp = "splitTunnel" -_vPp = "vpnProtocol" -_tPr = "transportProtocol" -_vPpn = "vpnPort" -_ATNs = "AssociatedTargetNetworks" -_aTN = "associatedTargetNetwork" -_sCA = "serverCertificateArn" -_aO = "authenticationOptions" -_cLO = "connectionLogOptions" -_SSPU = "SelfServicePortalUrl" -_sSPU = "selfServicePortalUrl" -_cCO = "clientConnectOptions" -_sTH = "sessionTimeoutHours" -_cLBO = "clientLoginBannerOptions" -_cREO = "clientRouteEnforcementOptions" -_dOST = "disconnectOnSessionTimeout" -_eIAT = "endpointIpAddressType" -_tIAT = "trafficIpAddressType" -_tGCr = "transitGatewayConfiguration" -_dPO = "devicePostureOptions" -_ESnd = "EndpointSet" -_DCVEOe = "DescribeClientVpnEndpointsOutput" -_cDCVERoma = "com.amazonaws.ec2#DescribeClientVpnEndpointsResult" -_CVEli = "ClientVpnEndpoints" -_cVE = "clientVpnEndpoint" -_DCVEe = "DescribeClientVpnEndpoints" -_DCVRMR = "DescribeClientVpnRoutesMaxResults" -_DCVRIe = "DescribeClientVpnRoutesInput" -_cDCVRRom = "com.amazonaws.ec2#DescribeClientVpnRoutesRequest" -_CVR = "ClientVpnRoute" -_TSar = "TargetSubnet" -_tSar = "targetSubnet" -_CVRSl = "ClientVpnRouteSet" -_DCVROe = "DescribeClientVpnRoutesOutput" -_cDCVRRoma = "com.amazonaws.ec2#DescribeClientVpnRoutesResult" -_DCVRe = "DescribeClientVpnRoutes" -_DCVTNMR = "DescribeClientVpnTargetNetworksMaxResults" -_DCVTNI = "DescribeClientVpnTargetNetworksInput" -_cDCVTNR = "com.amazonaws.ec2#DescribeClientVpnTargetNetworksRequest" -_AIsso = "AssociationIds" -_TNa = "TargetNetwork" -_TNI = "TargetNetworkId" -_tNI = "targetNetworkId" -_sGe = "securityGroups" -_TNS = "TargetNetworkSet" -_DCVTNO = "DescribeClientVpnTargetNetworksOutput" -_cDCVTNRo = "com.amazonaws.ec2#DescribeClientVpnTargetNetworksResult" -_CVTN = "ClientVpnTargetNetworks" -_cVTN = "clientVpnTargetNetworks" -_DCVTN = "DescribeClientVpnTargetNetworks" -_CPMR = "CoipPoolMaxResults" -_CPIS = "CoipPoolIdSet" -_DCPIe = "DescribeCoipPoolsInput" -_cDCPRom = "com.amazonaws.ec2#DescribeCoipPoolsRequest" -_PIoo = "PoolIds" -_CPS = "CoipPoolSet" -_DCPOe = "DescribeCoipPoolsOutput" -_cDCPRoma = "com.amazonaws.ec2#DescribeCoipPoolsResult" -_CPo = "CoipPools" -_cPS = "coipPoolSet" -_DCPe = "DescribeCoipPools" -_CISL = "ConversionIdStringList" -_DCTI = "DescribeConversionTasksInput" -_cDCTR = "com.amazonaws.ec2#DescribeConversionTasksRequest" -_CTIo = "ConversionTaskIds" -_IMU = "ImportManifestUrl" -_DID = "DiskImageDescription" -_Ch = "Checksum" -_ch = "checksum" -_For = "Format" -_fo = "format" -_iMU = "importManifestUrl" -_DIVD = "DiskImageVolumeDescription" -_IIVDI = "ImportInstanceVolumeDetailItem" -_BCyt = "BytesConverted" -_bCy = "bytesConverted" -_Im = "Image" -_IIVDS = "ImportInstanceVolumeDetailSet" -_IITD = "ImportInstanceTaskDetails" -_vol = "volumes" -_IVTD = "ImportVolumeTaskDetails" -_CTSon = "ConversionTaskState" -_CTon = "ConversionTask" -_IImp = "ImportInstance" -_iImp = "importInstance" -_IVm = "ImportVolume" -_iVm = "importVolume" -_DCTL = "DescribeConversionTaskList" -_DCTO = "DescribeConversionTasksOutput" -_cDCTRo = "com.amazonaws.ec2#DescribeConversionTasksResult" -_CTonv = "ConversionTasks" -_cTon = "conversionTasks" -_DCT = "DescribeConversionTasks" -_CGISL = "CustomerGatewayIdStringList" -_DCGIesc = "DescribeCustomerGatewaysInput" -_cDCGRomama = "com.amazonaws.ec2#DescribeCustomerGatewaysRequest" -_CGIus = "CustomerGatewayIds" -_CGL = "CustomerGatewayList" -_DCGOesc = "DescribeCustomerGatewaysOutput" -_cDCGRomamaz = "com.amazonaws.ec2#DescribeCustomerGatewaysResult" -_CGu = "CustomerGateways" -_CGSu = "CustomerGatewaySet" -_cGSu = "customerGatewaySet" -_DCGesc = "DescribeCustomerGateways" -_DPMR = "DeclarativePoliciesMaxResults" -_DDPRI = "DescribeDeclarativePoliciesReportsInput" -_cDDPRR = "com.amazonaws.ec2#DescribeDeclarativePoliciesReportsRequest" -_RIepo = "ReportIds" -_RSepo = "ReportState" -_ru = "running" -_DPRec = "DeclarativePoliciesReport" -_TIa = "TargetId" -_tIa = "targetId" -_ETnd = "EndTime" -_eTnd = "endTime" -_DPRL = "DeclarativePoliciesReportList" -_DDPRO = "DescribeDeclarativePoliciesReportsOutput" -_cDDPRRo = "com.amazonaws.ec2#DescribeDeclarativePoliciesReportsResult" -_Rep = "Reports" -_RSepor = "ReportSet" -_rSep = "reportSet" -_DDPR = "DescribeDeclarativePoliciesReports" -_DOISL = "DhcpOptionsIdStringList" -_DDOMR = "DescribeDhcpOptionsMaxResults" -_DDOIes = "DescribeDhcpOptionsInput" -_cDDORo = "com.amazonaws.ec2#DescribeDhcpOptionsRequest" -_DOIh = "DhcpOptionsIds" -_DOL = "DhcpOptionsList" -_DDOOe = "DescribeDhcpOptionsOutput" -_cDDORom = "com.amazonaws.ec2#DescribeDhcpOptionsResult" -_DOSh = "DhcpOptionsSet" -_dOS = "dhcpOptionsSet" -_DDOe = "DescribeDhcpOptions" -_EOIGIL = "EgressOnlyInternetGatewayIdList" -_DEOIGMR = "DescribeEgressOnlyInternetGatewaysMaxResults" -_DEOIGIe = "DescribeEgressOnlyInternetGatewaysInput" -_cDEOIGRom = "com.amazonaws.ec2#DescribeEgressOnlyInternetGatewaysRequest" -_EOIGIg = "EgressOnlyInternetGatewayIds" -_EOIGL = "EgressOnlyInternetGatewayList" -_DEOIGOe = "DescribeEgressOnlyInternetGatewaysOutput" -_cDEOIGRoma = "com.amazonaws.ec2#DescribeEgressOnlyInternetGatewaysResult" -_EOIGg = "EgressOnlyInternetGateways" -_EOIGS = "EgressOnlyInternetGatewaySet" -_eOIGS = "egressOnlyInternetGatewaySet" -_DEOIGe = "DescribeEgressOnlyInternetGateways" -_EGI = "ElasticGpuId" -_EGIS = "ElasticGpuIdSet" -_DEGMR = "DescribeElasticGpusMaxResults" -_DEGI = "DescribeElasticGpusInput" -_cDEGR = "com.amazonaws.ec2#DescribeElasticGpusRequest" -_EGIl = "ElasticGpuIds" -_EGSla = "ElasticGpuStatus" -_Ok = "Ok" -_Imp = "Impaired" -_EGH = "ElasticGpuHealth" -_EGSlas = "ElasticGpuState" -_Atta = "Attached" -_EG = "ElasticGpus" -_eGI = "elasticGpuId" -_EGT = "ElasticGpuType" -_eGT = "elasticGpuType" -_eGH = "elasticGpuHealth" -_eGS = "elasticGpuState" -_EGSlast = "ElasticGpuSet" -_DEGO = "DescribeElasticGpusOutput" -_cDEGRo = "com.amazonaws.ec2#DescribeElasticGpusResult" -_eGSl = "elasticGpuSet" -_DEG = "DescribeElasticGpus" -_EITI = "ExportImageTaskId" -_EITIL = "ExportImageTaskIdList" -_DEITMR = "DescribeExportImageTasksMaxResults" -_DEITI = "DescribeExportImageTasksInput" -_cDEITR = "com.amazonaws.ec2#DescribeExportImageTasksRequest" -_EITIx = "ExportImageTaskIds" -_ETSL = "ExportTaskS3Location" -_EITxp = "ExportImageTask" -_eITI = "exportImageTaskId" -_SEL = "S3ExportLocation" -_sEL = "s3ExportLocation" -_EITL = "ExportImageTaskList" -_DEITO = "DescribeExportImageTasksOutput" -_cDEITRo = "com.amazonaws.ec2#DescribeExportImageTasksResult" -_EITxpo = "ExportImageTasks" -_EITSx = "ExportImageTaskSet" -_eITSx = "exportImageTaskSet" -_DEIT = "DescribeExportImageTasks" -_ETISL = "ExportTaskIdStringList" -_DETI = "DescribeExportTasksInput" -_cDETR = "com.amazonaws.ec2#DescribeExportTasksRequest" -_ETIx = "ExportTaskIds" -_ETL = "ExportTaskList" -_DETO = "DescribeExportTasksOutput" -_cDETRo = "com.amazonaws.ec2#DescribeExportTasksResult" -_ETxp = "ExportTasks" -_ETSxp = "ExportTaskSet" -_eTSx = "exportTaskSet" -_DET = "DescribeExportTasks" -_FLIIL = "FastLaunchImageIdList" -_DFLIRMR = "DescribeFastLaunchImagesRequestMaxResults" -_DFLII = "DescribeFastLaunchImagesInput" -_cDFLIR = "com.amazonaws.ec2#DescribeFastLaunchImagesRequest" -_IIma = "ImageIds" -_FLLTSR = "FastLaunchLaunchTemplateSpecificationResponse" -_FLRTa = "FastLaunchResourceType" -_SNAPSHOT = "SNAPSHOT" -_FLSCR = "FastLaunchSnapshotConfigurationResponse" -_TRC = "TargetResourceCount" -_tRC = "targetResourceCount" -_FLSC = "FastLaunchStateCode" -_ef____ = "enabling_failed" -_ef_____ = "enabling-failed" -_ef______ = "enabled_failed" -_ef_______ = "enabled-failed" -_df________ = "disabling_failed" -_df_________ = "disabling-failed" -_DFLISI = "DescribeFastLaunchImagesSuccessItem" -_SCn = "SnapshotConfiguration" -_sCn = "snapshotConfiguration" -_MPLa = "MaxParallelLaunches" -_mPL = "maxParallelLaunches" -_STR = "StateTransitionReason" -_sTR = "stateTransitionReason" -_STT = "StateTransitionTime" -_sTT = "stateTransitionTime" -_DFLISS = "DescribeFastLaunchImagesSuccessSet" -_DFLIO = "DescribeFastLaunchImagesOutput" -_cDFLIRo = "com.amazonaws.ec2#DescribeFastLaunchImagesResult" -_FLIa = "FastLaunchImages" -_FLISa = "FastLaunchImageSet" -_fLISa = "fastLaunchImageSet" -_DFLIe = "DescribeFastLaunchImages" -_DFSRMR = "DescribeFastSnapshotRestoresMaxResults" -_DFSRI = "DescribeFastSnapshotRestoresInput" -_cDFSRR = "com.amazonaws.ec2#DescribeFastSnapshotRestoresRequest" -_FSRSC = "FastSnapshotRestoreStateCode" -_opti = "optimizing" -_DFSRSI = "DescribeFastSnapshotRestoreSuccessItem" -_ETna = "EnablingTime" -_eTna = "enablingTime" -_OT = "OptimizingTime" -_oT = "optimizingTime" -_ETnab = "EnabledTime" -_eTnab = "enabledTime" -_DTi = "DisablingTime" -_dTi = "disablingTime" -_DTis = "DisabledTime" -_dTis = "disabledTime" -_DFSRSS = "DescribeFastSnapshotRestoreSuccessSet" -_DFSRO = "DescribeFastSnapshotRestoresOutput" -_cDFSRRo = "com.amazonaws.ec2#DescribeFastSnapshotRestoresResult" -_FSRa = "FastSnapshotRestores" -_FSRS = "FastSnapshotRestoreSet" -_fSRS = "fastSnapshotRestoreSet" -_DFSR = "DescribeFastSnapshotRestores" -_FET = "FleetEventType" -_IC__ = "INSTANCE_CHANGE" -_ic__ = "instance-change" -_FC_ = "FLEET_CHANGE" -_fc = "fleet-change" -_SE = "SERVICE_ERROR" -_se__ = "service-error" -_DFHI = "DescribeFleetHistoryInput" -_cDFHR = "com.amazonaws.ec2#DescribeFleetHistoryRequest" -_ETv = "EventType" -_EIv = "EventInformation" -_EDv = "EventDescription" -_eDv = "eventDescription" -_EST = "EventSubType" -_eST = "eventSubType" -_HRE = "HistoryRecordEntry" -_eIv = "eventInformation" -_eTv = "eventType" -_HRS = "HistoryRecordSet" -_DFHO = "DescribeFleetHistoryOutput" -_cDFHRo = "com.amazonaws.ec2#DescribeFleetHistoryResult" -_HRi = "HistoryRecords" -_hRS = "historyRecordSet" -_LET = "LastEvaluatedTime" -_lET = "lastEvaluatedTime" -_DFH = "DescribeFleetHistory" -_DFIIe = "DescribeFleetInstancesInput" -_cDFIRom = "com.amazonaws.ec2#DescribeFleetInstancesRequest" -_DFIOe = "DescribeFleetInstancesOutput" -_cDFIRoma = "com.amazonaws.ec2#DescribeFleetInstancesResult" -_AIct = "ActiveInstances" -_aIS = "activeInstanceSet" -_DFIes = "DescribeFleetInstances" -_DFIesc = "DescribeFleetsInput" -_cDFRom = "com.amazonaws.ec2#DescribeFleetsRequest" -_FASl = "FleetActivityStatus" -_DFEe = "DescribeFleetError" -_DFESe = "DescribeFleetsErrorSet" -_DFIescr = "DescribeFleetsInstances" -_DFIS = "DescribeFleetsInstancesSet" -_FLTOL = "FleetLaunchTemplateOverridesList" -_FLTC = "FleetLaunchTemplateConfig" -_FLTCL = "FleetLaunchTemplateConfigList" -_uS = "usageStrategy" -_cRO = "capacityReservationOptions" -_sITi = "singleInstanceType" -_sAZ = "singleAvailabilityZone" -_mTC = "minTargetCapacity" -_mTP = "maxTotalPrice" -_RTL = "ReservationTypeList" -_MTS = "MarketTypeSet" -_mTS = "marketTypeSet" -_RTSe = "ReservationTypeSet" -_rTSe = "reservationTypeSet" -_rCFO = "reservedCapacityFallbackOptions" -_FSCR = "FleetSpotCapacityRebalance" -_rSepl = "replacementStrategy" -_tDe = "terminationDelay" -_FSMS = "FleetSpotMaintenanceStrategies" -_cRap = "capacityRebalance" -_mSa = "maintenanceStrategies" -_iPTUC = "instancePoolsToUseCount" -_oDTC = "onDemandTargetCapacity" -_sTC = "spotTargetCapacity" -_dTCT = "defaultTargetCapacityType" -_tCUT = "targetCapacityUnitType" -_FDl = "FleetData" -_aSc = "activityStatus" -_FS = "FleetState" -_fS = "fleetState" -_eCTP = "excessCapacityTerminationPolicy" -_FODC = "FulfilledOnDemandCapacity" -_fODC = "fulfilledOnDemandCapacity" -_lTC = "launchTemplateConfigs" -_tCS = "targetCapacitySpecification" -_tIWE = "terminateInstancesWithExpiration" -_vF = "validFrom" -_rUI = "replaceUnhealthyInstances" -_oDO = "onDemandOptions" -_rCO = "reservedCapacityOptions" -_cont = "context" -_FSl = "FleetSet" -_DFOe = "DescribeFleetsOutput" -_cDFRoma = "com.amazonaws.ec2#DescribeFleetsResult" -_Fl = "Fleets" -_fSl = "fleetSet" -_DFes = "DescribeFleets" -_DFLIes = "DescribeFlowLogsInput" -_cDFLRom = "com.amazonaws.ec2#DescribeFlowLogsRequest" -_DORe = "DestinationOptionsResponse" -_fF = "fileFormat" -_hCP = "hiveCompatiblePartitions" -_pHP = "perHourPartition" -_TFSRa = "TagFieldSpecificationResponse" -_TKS = "TagKeySet" -_tKS = "tagKeySet" -_TFSLRa = "TagFieldSpecificationListResponse" -_FLl = "FlowLog" -_DLEM = "DeliverLogsErrorMessage" -_dLEM = "deliverLogsErrorMessage" -_dLPA = "deliverLogsPermissionArn" -_dCAR = "deliverCrossAccountRole" -_DLS = "DeliverLogsStatus" -_dLS = "deliverLogsStatus" -_fLI = "flowLogId" -_FLS = "FlowLogStatus" -_fLS = "flowLogStatus" -_lGN = "logGroupName" -_tTra = "trafficType" -_lDTo = "logDestinationType" -_lD = "logDestination" -_lF = "logFormat" -_mAI = "maxAggregationInterval" -_dOe = "destinationOptions" -_TFSS = "TagFieldSpecificationSet" -_tFSS = "tagFieldSpecificationSet" -_FLSl = "FlowLogSet" -_DFLOe = "DescribeFlowLogsOutput" -_cDFLRoma = "com.amazonaws.ec2#DescribeFlowLogsResult" -_FLlo = "FlowLogs" -_fLSl = "flowLogSet" -_DFLe = "DescribeFlowLogs" -_FIAN = "FpgaImageAttributeName" -_lPo = "loadPermission" -_pCr = "productCodes" -_DFIAI = "DescribeFpgaImageAttributeInput" -_cDFIAR = "com.amazonaws.ec2#DescribeFpgaImageAttributeRequest" -_PGe = "PermissionGroup" -_all_ = "all" -_LPo = "LoadPermission" -_Gr = "Group" -_gro = "group" -_LPL = "LoadPermissionList" -_PCV = "ProductCodeValues" -_devp = "devpay" -_mar = "marketplace" -_PCIr = "ProductCodeId" -_pCro = "productCode" -_PCT = "ProductCodeType" -_PCLr = "ProductCodeList" -_FIA = "FpgaImageAttribute" -_LPoa = "LoadPermissions" -_lPoa = "loadPermissions" -_PCro = "ProductCodes" -_DFIAO = "DescribeFpgaImageAttributeOutput" -_cDFIARo = "com.amazonaws.ec2#DescribeFpgaImageAttributeResult" -_fIA = "fpgaImageAttribute" -_DFIA = "DescribeFpgaImageAttribute" -_FIIL = "FpgaImageIdList" -_DFIMR = "DescribeFpgaImagesMaxResults" -_OSL = "OwnerStringList" -_DFIIes = "DescribeFpgaImagesInput" -_cDFIRomam = "com.amazonaws.ec2#DescribeFpgaImagesRequest" -_FIIp = "FpgaImageIds" -_Own = "Owners" -_ITL = "InstanceTypesList" -_PIc = "PciId" -_DIev = "DeviceId" -_VIe = "VendorId" -_SIub = "SubsystemId" -_SVIu = "SubsystemVendorId" -_FISC = "FpgaImageStateCode" -_FISp = "FpgaImageState" -_FIp = "FpgaImage" -_SVh = "ShellVersion" -_sVh = "shellVersion" -_pIc = "pciId" -_tags = "tags" -_Pu = "Public" -_DRSa = "DataRetentionSupport" -_dRS = "dataRetentionSupport" -_ITnsta = "InstanceTypes" -_iTnst = "instanceTypes" -_FIL = "FpgaImageList" -_DFIOes = "DescribeFpgaImagesOutput" -_cDFIRomama = "com.amazonaws.ec2#DescribeFpgaImagesResult" -_FIpg = "FpgaImages" -_FISpg = "FpgaImageSet" -_fISp = "fpgaImageSet" -_DFIescri = "DescribeFpgaImages" -_DHRMR = "DescribeHostReservationsMaxResults" -_DHROI = "DescribeHostReservationOfferingsInput" -_cDHROR = "com.amazonaws.ec2#DescribeHostReservationOfferingsRequest" -_MDa = "MaxDuration" -_MDi = "MinDuration" -_POa = "PaymentOption" -_AU = "ALL_UPFRONT" -_AUl = "AllUpfront" -_PU_ = "PARTIAL_UPFRONT" -_PUa = "PartialUpfront" -_NU = "NO_UPFRONT" -_NUo = "NoUpfront" -_HOo = "HostOffering" -_Dur = "Duration" -_dur = "duration" -_HP = "HourlyPrice" -_hP = "hourlyPrice" -_oIf = "offeringId" -_pOa = "paymentOption" -_UPp = "UpfrontPrice" -_uPp = "upfrontPrice" -_HOS = "HostOfferingSet" -_DHROO = "DescribeHostReservationOfferingsOutput" -_cDHRORo = "com.amazonaws.ec2#DescribeHostReservationOfferingsResult" -_OS = "OfferingSet" -_oS = "offeringSet" -_DHRO = "DescribeHostReservationOfferings" -_HRI = "HostReservationId" -_HRIS = "HostReservationIdSet" -_DHRI = "DescribeHostReservationsInput" -_cDHRR = "com.amazonaws.ec2#DescribeHostReservationsRequest" -_RHIS = "ResponseHostIdSet" -_SCHEDULED = "SCHEDULED" -_DELAYED = "DELAYED" -_UNSUPPORTED = "UNSUPPORTED" -_RETIRED = "RETIRED" -_reti = "retired" -_HRo = "HostReservation" -_End = "End" -_end = "end" -_hRI = "hostReservationId" -_Star = "Start" -_star = "start" -_HRSo = "HostReservationSet" -_DHROe = "DescribeHostReservationsOutput" -_cDHRRo = "com.amazonaws.ec2#DescribeHostReservationsResult" -_hRSo = "hostReservationSet" -_DHR = "DescribeHostReservations" -_RHILe = "RequestHostIdList" -_DHIes = "DescribeHostsInput" -_cDHR = "com.amazonaws.ec2#DescribeHostsRequest" -_filt = "filter" -_ICns = "InstanceCapacity" -_ACv = "AvailableCapacity" -_aCv = "availableCapacity" -_AICL = "AvailableInstanceCapacityList" -_AICv = "AvailableInstanceCapacity" -_aICv = "availableInstanceCapacity" -_AVC = "AvailableVCpus" -_aVC = "availableVCpus" -_HCO = "HostCpuOptions" -_HPo = "HostProperties" -_Cor = "Cores" -_cor = "cores" -_Soc = "Sockets" -_soc = "sockets" -_TVC = "TotalVCpus" -_tVC = "totalVCpus" -_HIos = "HostInstance" -_HIL = "HostInstanceList" -_Hos = "Host" -_hPo = "hostProperties" -_insta = "instances" -_ATll = "AllocationTime" -_aTll = "allocationTime" -_RTel = "ReleaseTime" -_rTel = "releaseTime" -_hR = "hostRecovery" -_aMIT = "allowsMultipleInstanceTypes" -_MOSLRG = "MemberOfServiceLinkedResourceGroup" -_mOSLRG = "memberOfServiceLinkedResourceGroup" -_hM = "hostMaintenance" -_aIss = "assetId" -_HL = "HostList" -_DHO = "DescribeHostsOutput" -_cDHRo = "com.amazonaws.ec2#DescribeHostsResult" -_Host = "Hosts" -_HSo = "HostSet" -_hS = "hostSet" -_DH = "DescribeHosts" -_IIPAI = "IamInstanceProfileAssociationId" -_AILs = "AssociationIdList" -_DIIPAMR = "DescribeIamInstanceProfileAssociationsMaxResults" -_DIIPAI = "DescribeIamInstanceProfileAssociationsInput" -_cDIIPAR = "com.amazonaws.ec2#DescribeIamInstanceProfileAssociationsRequest" -_IIPASa = "IamInstanceProfileAssociationSet" -_DIIPAO = "DescribeIamInstanceProfileAssociationsOutput" -_cDIIPARo = "com.amazonaws.ec2#DescribeIamInstanceProfileAssociationsResult" -_IIPAa = "IamInstanceProfileAssociations" -_iIPAS = "iamInstanceProfileAssociationSet" -_DIIPA = "DescribeIamInstanceProfileAssociations" -_DIIFI = "DescribeIdentityIdFormatInput" -_cDIIFR = "com.amazonaws.ec2#DescribeIdentityIdFormatRequest" -_PAr = "PrincipalArn" -_pAr = "principalArn" -_DIIFO = "DescribeIdentityIdFormatOutput" -_cDIIFRo = "com.amazonaws.ec2#DescribeIdentityIdFormatResult" -_DIIF = "DescribeIdentityIdFormat" -_DIFI = "DescribeIdFormatInput" -_cDIFR = "com.amazonaws.ec2#DescribeIdFormatRequest" -_DIFO = "DescribeIdFormatOutput" -_cDIFRo = "com.amazonaws.ec2#DescribeIdFormatResult" -_DIFe = "DescribeIdFormat" -_IAN = "ImageAttributeName" -_ker = "kernel" -_ramd = "ramdisk" -_lPa = "launchPermission" -_sNS = "sriovNetSupport" -_bMo = "bootMode" -_tSp = "tpmSupport" -_uDe = "uefiData" -_lLT = "lastLaunchedTime" -_iSm = "imdsSupport" -_dPer = "deregistrationProtection" -_DIAI = "DescribeImageAttributeInput" -_cDIAR = "com.amazonaws.ec2#DescribeImageAttributeRequest" -_BDML = "BlockDeviceMappingList" -_LPa = "LaunchPermission" -_OAr = "OrganizationArn" -_oAr = "organizationArn" -_OUA = "OrganizationalUnitArn" -_oUA = "organizationalUnitArn" -_LPLa = "LaunchPermissionList" -_DIAO = "DescribeImageAttributeOutput" -_cIAo = "com.amazonaws.ec2#ImageAttribute" -_Ker = "Kernel" -_Ra = "Ramdisk" -_SNSr = "SriovNetSupport" -_BMo = "BootMode" -_TSp = "TpmSupport" -_UDe = "UefiData" -_LLT = "LastLaunchedTime" -_ISm = "ImdsSupport" -_DPer = "DeregistrationProtection" -_LPau = "LaunchPermissions" -_DIA = "DescribeImageAttribute" -_DIRIISL = "DescribeImageReferencesImageIdStringList" -_DIRMR = "DescribeImageReferencesMaxResults" -_IRRT = "ImageReferenceResourceType" -_EI_ = "EC2_INSTANCE" -_eIc = "ec2:Instance" -_ELT = "EC2_LAUNCH_TEMPLATE" -_eLT = "ec2:LaunchTemplate" -_SP_ = "SSM_PARAMETER" -_sPs = "ssm:Parameter" -_IBIR = "IMAGE_BUILDER_IMAGE_RECIPE" -_iIR = "imagebuilder:ImageRecipe" -_IBCR = "IMAGE_BUILDER_CONTAINER_RECIPE" -_iCR = "imagebuilder:ContainerRecipe" -_IRON = "ImageReferenceOptionName" -_SN_ = "STATE_NAME" -_sn__ = "state-name" -_VD_ = "VERSION_DEPTH" -_vd = "version-depth" -_RTOV = "ResourceTypeOptionValue" -_RTOVL = "ResourceTypeOptionValuesList" -_RTOL = "ResourceTypeOptionList" -_RTRe = "ResourceTypeRequest" -_RTRL = "ResourceTypeRequestList" -_DIRI = "DescribeImageReferencesInput" -_cDIRR = "com.amazonaws.ec2#DescribeImageReferencesRequest" -_IART = "IncludeAllResourceTypes" -_IRm = "ImageReference" -_IRLm = "ImageReferenceList" -_DIRO = "DescribeImageReferencesOutput" -_cDIRRo = "com.amazonaws.ec2#DescribeImageReferencesResult" -_IRma = "ImageReferences" -_IRS = "ImageReferenceSet" -_iRS = "imageReferenceSet" -_DIR = "DescribeImageReferences" -_EBSL = "ExecutableByStringList" -_EBx = "ExecutableBy" -_IISLm = "ImageIdStringList" -_DIIes = "DescribeImagesInput" -_cDIRomam = "com.amazonaws.ec2#DescribeImagesRequest" -_EU = "ExecutableUsers" -_IDn = "IncludeDeprecated" -_IDnc = "IncludeDisabled" -_AVr = "ArchitectureValues" -_i__________________________________________________________________________ = "i386" -_x______________________________________________________ = "x86_64" -_arm = "arm64" -_xm____________ = "x86_64_mac" -_am______ = "arm64_mac" -_BMV = "BootModeValues" -_lb__ = "legacy_bios" -_lb___ = "legacy-bios" -_up__ = "uefi_preferred" -_up___ = "uefi-preferred" -_HTy = "HypervisorType" -_ovm = "ovm" -_xen = "xen" -_ITV = "ImageTypeValues" -_mach = "machine" -_IW = "ImageWatermark" -_SIR = "SourceImageRegion" -_sIR = "sourceImageRegion" -_sII = "sourceImageId" -_SICT = "SourceImageCreationTime" -_sICT = "sourceImageCreationTime" -_WCT = "WatermarkCreationTime" -_wCT = "watermarkCreationTime" -_IWL = "ImageWatermarkList" -_ISVm = "ImdsSupportValues" -_v______ = "v2_0" -_v_______ = "v2.0" -_ITIn = "InstanceTypeItem" -_SITS = "SupportedInstanceTypeSet" -_UITS = "UnsupportedInstanceTypeSet" -_SITu = "SupportedInstanceTypes" -_sITS = "supportedInstanceTypeSet" -_UIT = "UnsupportedInstanceTypes" -_uITS = "unsupportedInstanceTypeSet" -_DTev = "DeviceType" -_is__ = "instance_store" -_is___ = "instance-store" -_SLe = "SeverityLabel" -_inform = "informational" -_low = "low" -_medi = "medium" -_hig = "high" -_cri = "critical" -_SRc = "ScanResults" -_HFSL = "HighestFindingSeverityLabel" -_hFSL = "highestFindingSeverityLabel" -_FSD = "FindingScanDate" -_fSD = "findingScanDate" -_IFAS = "InformationalFixAvailableSince" -_iFAS = "informationalFixAvailableSince" -_LFAS = "LowFixAvailableSince" -_lFAS = "lowFixAvailableSince" -_MFAS = "MediumFixAvailableSince" -_mFAS = "mediumFixAvailableSince" -_HFAS = "HighFixAvailableSince" -_hFAS = "highFixAvailableSince" -_CFAS = "CriticalFixAvailableSince" -_cFAS = "criticalFixAvailableSince" -_ISma = "ImageState" -_inv = "invalid" -_der = "deregistered" -_tran = "transient" -_TSV = "TpmSupportValues" -_VTi = "VirtualizationType" -_hv = "hvm" -_para = "paravirtual" -_PDl = "PlatformDetails" -_pDl = "platformDetails" -_UO = "UsageOperation" -_uO = "usageOperation" -_ESna = "EnaSupport" -_eSna = "enaSupport" -_Hy = "Hypervisor" -_hy = "hypervisor" -_IOA = "ImageOwnerAlias" -_iOA = "imageOwnerAlias" -_RDN = "RootDeviceName" -_rDN = "rootDeviceName" -_RDT = "RootDeviceType" -_rDT = "rootDeviceType" -_vTi = "virtualizationType" -_DTep = "DeprecationTime" -_dTep = "deprecationTime" -_SIIo = "SourceInstanceId" -_sIIo = "sourceInstanceId" -_IAm = "ImageAllowed" -_iAm = "imageAllowed" -_FTE = "FreeTierEligible" -_fTE = "freeTierEligible" -_PSPN = "PublicSsmParameterName" -_pSPN = "publicSsmParameterName" -_IWm = "ImageWatermarks" -_IWS = "ImageWatermarkSet" -_iWS = "imageWatermarkSet" -_sRc = "scanResults" -_iTS = "instanceTypeSpecification" -_ILm = "ImageLocation" -_iL = "imageLocation" -_iSma = "imageState" -_IOIm = "ImageOwnerId" -_iOIm = "imageOwnerId" -_CDre = "CreationDate" -_cDre = "creationDate" -_IPsu = "IsPublic" -_iPsu = "isPublic" -_Arc = "Architecture" -_arch = "architecture" -_ITm = "ImageType" -_iTm = "imageType" -_rIa = "ramdiskId" -_ILma = "ImageList" -_DIOes = "DescribeImagesOutput" -_cDIRomama = "com.amazonaws.ec2#DescribeImagesResult" -_Ima = "Images" -_ISmag = "ImagesSet" -_iSmag = "imagesSet" -_DIesc = "DescribeImages" -_DIURIISL = "DescribeImageUsageReportsImageIdStringList" -_DIUREMR = "DescribeImageUsageReportEntriesMaxResults" -_IURISL = "ImageUsageReportIdStringList" -_DIUREI = "DescribeImageUsageReportEntriesInput" -_cDIURER = "com.amazonaws.ec2#DescribeImageUsageReportEntriesRequest" -_IURE = "ImageUsageReportEntry" -_UCs = "UsageCount" -_uCs = "usageCount" -_aIc = "accountId" -_RCT = "ReportCreationTime" -_rCT = "reportCreationTime" -_IUREL = "ImageUsageReportEntryList" -_DIUREO = "DescribeImageUsageReportEntriesOutput" -_cDIURERo = "com.amazonaws.ec2#DescribeImageUsageReportEntriesResult" -_IUREm = "ImageUsageReportEntries" -_IURES = "ImageUsageReportEntrySet" -_iURES = "imageUsageReportEntrySet" -_DIURE = "DescribeImageUsageReportEntries" -_DIURMR = "DescribeImageUsageReportsMaxResults" -_DIURIe = "DescribeImageUsageReportsInput" -_cDIURRom = "com.amazonaws.ec2#DescribeImageUsageReportsRequest" -_UIL = "UserIdList" -_IURTO = "ImageUsageResourceTypeOption" -_oN = "optionName" -_OVS = "OptionValueSet" -_oVS = "optionValueSet" -_IURTOL = "ImageUsageResourceTypeOptionList" -_IURT = "ImageUsageResourceType" -_RTOS = "ResourceTypeOptionSet" -_rTOS = "resourceTypeOptionSet" -_IURTL = "ImageUsageResourceTypeList" -_IURS = "ImageUsageReportState" -_IURSR = "ImageUsageReportStateReason" -_IUR = "ImageUsageReport" -_AISc = "AccountIdSet" -_aISc = "accountIdSet" -_IURL = "ImageUsageReportList" -_DIUROe = "DescribeImageUsageReportsOutput" -_cDIURRoma = "com.amazonaws.ec2#DescribeImageUsageReportsResult" -_IURm = "ImageUsageReports" -_IURSm = "ImageUsageReportSet" -_iURS = "imageUsageReportSet" -_DIURe = "DescribeImageUsageReports" -_IITI = "ImportImageTaskId" -_ITIL = "ImportTaskIdList" -_DIITI = "DescribeImportImageTasksInput" -_cDIITR = "com.amazonaws.ec2#DescribeImportImageTasksRequest" -_ITIm = "ImportTaskIds" -_IILCR = "ImportImageLicenseConfigurationResponse" -_IILSLR = "ImportImageLicenseSpecificationListResponse" -_SU = "SensitiveUrl" -_UBD = "UserBucketDetails" -_SDn = "SnapshotDetail" -_DISi = "DiskImageSize" -_dIS = "diskImageSize" -_Ur = "Url" -_ur = "url" -_UB = "UserBucket" -_uB = "userBucket" -_SDL = "SnapshotDetailList" -_IIT = "ImportImageTask" -_LTi = "LicenseType" -_lTi = "licenseType" -_SDna = "SnapshotDetails" -_SDSn = "SnapshotDetailSet" -_sDSn = "snapshotDetailSet" -_lSic = "licenseSpecifications" -_IITL = "ImportImageTaskList" -_DIITO = "DescribeImportImageTasksOutput" -_cDIITRo = "com.amazonaws.ec2#DescribeImportImageTasksResult" -_IITm = "ImportImageTasks" -_IITS = "ImportImageTaskSet" -_iITS = "importImageTaskSet" -_DIIT = "DescribeImportImageTasks" -_ISTI = "ImportSnapshotTaskId" -_ISTIL = "ImportSnapshotTaskIdList" -_DISTI = "DescribeImportSnapshotTasksInput" -_cDISTR = "com.amazonaws.ec2#DescribeImportSnapshotTasksRequest" -_STDn = "SnapshotTaskDetail" -_ISTm = "ImportSnapshotTask" -_sTD = "snapshotTaskDetail" -_ISTL = "ImportSnapshotTaskList" -_DISTO = "DescribeImportSnapshotTasksOutput" -_cDISTRo = "com.amazonaws.ec2#DescribeImportSnapshotTasksResult" -_ISTmp = "ImportSnapshotTasks" -_ISTS = "ImportSnapshotTaskSet" -_iSTS = "importSnapshotTaskSet" -_DIST = "DescribeImportSnapshotTasks" -_IANn = "InstanceAttributeName" -_DIAIe = "DescribeInstanceAttributeInput" -_cDIARo = "com.amazonaws.ec2#DescribeInstanceAttributeRequest" -_attr = "attribute" -_EIBD = "EbsInstanceBlockDevice" -_VOIo = "VolumeOwnerId" -_vOIo = "volumeOwnerId" -_IBDM = "InstanceBlockDeviceMapping" -_IBDML = "InstanceBlockDeviceMappingList" -_ABV = "AttributeBooleanValue" -_DIAOe = "DescribeInstanceAttributeOutput" -_cIAom = "com.amazonaws.ec2#InstanceAttribute" -_DIAe = "DescribeInstanceAttribute" -_ICEMR = "InstanceConnectEndpointMaxResults" -_DICEIe = "DescribeInstanceConnectEndpointsInput" -_cDICERom = "com.amazonaws.ec2#DescribeInstanceConnectEndpointsRequest" -_ICEIn = "InstanceConnectEndpointIds" -_ICES = "InstanceConnectEndpointSet" -_DICEOe = "DescribeInstanceConnectEndpointsOutput" -_cDICERoma = "com.amazonaws.ec2#DescribeInstanceConnectEndpointsResult" -_ICEn = "InstanceConnectEndpoints" -_iCES = "instanceConnectEndpointSet" -_DICEe = "DescribeInstanceConnectEndpoints" -_DICSMR = "DescribeInstanceCreditSpecificationsMaxResults" -_DICSI = "DescribeInstanceCreditSpecificationsInput" -_cDICSR = "com.amazonaws.ec2#DescribeInstanceCreditSpecificationsRequest" -_ICS = "InstanceCreditSpecification" -_ICSL = "InstanceCreditSpecificationList" -_DICSO = "DescribeInstanceCreditSpecificationsOutput" -_cDICSRo = "com.amazonaws.ec2#DescribeInstanceCreditSpecificationsResult" -_ICSn = "InstanceCreditSpecifications" -_ICSS = "InstanceCreditSpecificationSet" -_iCSS = "instanceCreditSpecificationSet" -_DICS = "DescribeInstanceCreditSpecifications" -_DIENAIe = "DescribeInstanceEventNotificationAttributesInput" -_cDIENARom = "com.amazonaws.ec2#DescribeInstanceEventNotificationAttributesRequest" -_DIENAOe = "DescribeInstanceEventNotificationAttributesOutput" -_cDIENARoma = "com.amazonaws.ec2#DescribeInstanceEventNotificationAttributesResult" -_DIENAe = "DescribeInstanceEventNotificationAttributes" -_IEWIS = "InstanceEventWindowIdSet" -_RRe = "ResultRange" -_DIEWIe = "DescribeInstanceEventWindowsInput" -_cDIEWRom = "com.amazonaws.ec2#DescribeInstanceEventWindowsRequest" -_IEWIn = "InstanceEventWindowIds" -_IEWSn = "InstanceEventWindowSet" -_DIEWOe = "DescribeInstanceEventWindowsOutput" -_cDIEWRoma = "com.amazonaws.ec2#DescribeInstanceEventWindowsResult" -_IEWn = "InstanceEventWindows" -_iEWSn = "instanceEventWindowSet" -_DIEWe = "DescribeInstanceEventWindows" -_DIIMMR = "DescribeInstanceImageMetadataMaxResults" -_DIIMI = "DescribeInstanceImageMetadataInput" -_cDIIMR = "com.amazonaws.ec2#DescribeInstanceImageMetadataRequest" -_IM = "ImageMetadata" -_ISN = "InstanceStateName" -_sd__ = "shutting_down" -_sd___ = "shutting-down" -_stopp = "stopping" -_stoppe = "stopped" -_ISnsta = "InstanceState" -_IIM = "InstanceImageMetadata" -_LTa = "LaunchTime" -_lTa = "launchTime" -_iSnst = "instanceState" -_iM = "imageMetadata" -_IIML = "InstanceImageMetadataList" -_DIIMO = "DescribeInstanceImageMetadataOutput" -_cDIIMRo = "com.amazonaws.ec2#DescribeInstanceImageMetadataResult" -_IIMS = "InstanceImageMetadataSet" -_iIMS = "instanceImageMetadataSet" -_DIIM = "DescribeInstanceImageMetadata" -_DIIesc = "DescribeInstancesInput" -_cDIRomamaz = "com.amazonaws.ec2#DescribeInstancesRequest" -_IMR = "IncludeManagedResources" -_CRSR = "CapacityReservationSpecificationResponse" -_IBMV = "InstanceBootModeValues" -_EGA = "ElasticGpuAssociation" -_EGAI = "ElasticGpuAssociationId" -_eGAI = "elasticGpuAssociationId" -_EGAS = "ElasticGpuAssociationState" -_eGAS = "elasticGpuAssociationState" -_EGAT = "ElasticGpuAssociationTime" -_eGAT = "elasticGpuAssociationTime" -_EGAL = "ElasticGpuAssociationList" -_EIAA = "ElasticInferenceAcceleratorAssociation" -_EIAAl = "ElasticInferenceAcceleratorArn" -_eIAA = "elasticInferenceAcceleratorArn" -_EIAAI = "ElasticInferenceAcceleratorAssociationId" -_eIAAI = "elasticInferenceAcceleratorAssociationId" -_EIAAS = "ElasticInferenceAcceleratorAssociationState" -_eIAAS = "elasticInferenceAcceleratorAssociationState" -_EIAAT = "ElasticInferenceAcceleratorAssociationTime" -_eIAAT = "elasticInferenceAcceleratorAssociationTime" -_EIAAL = "ElasticInferenceAcceleratorAssociationList" -_ILT = "InstanceLifecycleType" -_LC = "LicenseConfiguration" -_LL = "LicenseList" -_IARS = "InstanceAutoRecoveryState" -_IRMS = "InstanceRebootMigrationState" -_IMOn = "InstanceMaintenanceOptions" -_RMeb = "RebootMigration" -_rMeb = "rebootMigration" -_IMES = "InstanceMetadataEndpointState" -_IMPS = "InstanceMetadataProtocolState" -_HTS = "HttpTokensState" -_IMTS = "InstanceMetadataTagsState" -_IMOS = "InstanceMetadataOptionsState" -_IMOR = "InstanceMetadataOptionsResponse" -_MSon = "MonitoringState" -_INIA = "InstanceNetworkInterfaceAssociation" -_IAESUS = "InstanceAttachmentEnaSrdUdpSpecification" -_IAESS = "InstanceAttachmentEnaSrdSpecification" -_INIAn = "InstanceNetworkInterfaceAttachment" -_CTSRo = "ConnectionTrackingSpecificationResponse" -_IIPn = "InstanceIpv4Prefix" -_IIPL = "InstanceIpv4PrefixList" -_IIPns = "InstanceIpv6Prefix" -_IIPLn = "InstanceIpv6PrefixList" -_IPIA = "InstancePrivateIpAddress" -_IPIAL = "InstancePrivateIpAddressList" -_INI = "InstanceNetworkInterface" -_INIL = "InstanceNetworkInterfaceList" -_INPO = "InstanceNetworkPerformanceOptions" -_PDNOR = "PrivateDnsNameOptionsResponse" -_ISIA = "InstanceSecondaryInterfaceAttachment" -_ISIPIA = "InstanceSecondaryInterfacePrivateIpAddress" -_ISIPIAL = "InstanceSecondaryInterfacePrivateIpAddressList" -_SIIe = "SecondaryInterfaceId" -_SISe = "SecondaryInterfaceStatus" -_ISIn = "InstanceSecondaryInterface" -_sIIe = "secondaryInterfaceId" -_PIASri = "PrivateIpAddressSet" -_pIASr = "privateIpAddressSet" -_ISIL = "InstanceSecondaryInterfaceList" -_iLn = "instanceLifecycle" -_EGAl = "ElasticGpuAssociations" -_EGASl = "ElasticGpuAssociationSet" -_eGASl = "elasticGpuAssociationSet" -_EIAAla = "ElasticInferenceAcceleratorAssociations" -_EIAASl = "ElasticInferenceAcceleratorAssociationSet" -_eIAASl = "elasticInferenceAcceleratorAssociationSet" -_Lic = "Licenses" -_UOUT = "UsageOperationUpdateTime" -_uOUT = "usageOperationUpdateTime" -_CIBM = "CurrentInstanceBootMode" -_cIBM = "currentInstanceBootMode" -_ALI = "AmiLaunchIndex" -_aLI = "amiLaunchIndex" -_ILns = "InstanceList" -_Rese = "Reservation" -_rIes = "reservationId" -_RLe = "ReservationList" -_DIOesc = "DescribeInstancesOutput" -_cDIRomamazo = "com.amazonaws.ec2#DescribeInstancesResult" -_Reser = "Reservations" -_RSese = "ReservationSet" -_rSese = "reservationSet" -_DIescr = "DescribeInstances" -_DISHSRMRI = "DescribeInstanceSqlHaStatesRequestMaxResultsInteger" -_DISHHSI = "DescribeInstanceSqlHaHistoryStatesInput" -_cDISHHSR = "com.amazonaws.ec2#DescribeInstanceSqlHaHistoryStatesRequest" -_HSa = "HaStatus" -_proc = "processing" -_stand = "standby" -_SSLU = "SqlServerLicenseUsage" -_ful = "full" -_wai = "waived" -_RIeg = "RegisteredInstance" -_sSLU = "sqlServerLicenseUsage" -_hSa = "haStatus" -_PSro = "ProcessingStatus" -_pSro = "processingStatus" -_SSC = "SqlServerCredentials" -_sSC = "sqlServerCredentials" -_RILeg = "RegisteredInstanceList" -_DISHHSO = "DescribeInstanceSqlHaHistoryStatesOutput" -_cDISHHSRo = "com.amazonaws.ec2#DescribeInstanceSqlHaHistoryStatesResult" -_DISHHS = "DescribeInstanceSqlHaHistoryStates" -_DISHSI = "DescribeInstanceSqlHaStatesInput" -_cDISHSR = "com.amazonaws.ec2#DescribeInstanceSqlHaStatesRequest" -_DISHSO = "DescribeInstanceSqlHaStatesOutput" -_cDISHSRo = "com.amazonaws.ec2#DescribeInstanceSqlHaStatesResult" -_DISHS = "DescribeInstanceSqlHaStates" -_DISIe = "DescribeInstanceStatusInput" -_cDISRom = "com.amazonaws.ec2#DescribeInstanceStatusRequest" -_IAI = "IncludeAllInstances" -_iAI = "includeAllInstances" -_SSum = "SummaryStatus" -_na______ = "not_applicable" -_ASSp = "ApplicationStatusSummary" -_ISmp = "ImpairedSince" -_iSmp = "impairedSince" -_SNt = "StatusName" -_reac = "reachability" -_STtat = "StatusType" -_ESD = "EbsStatusDetails" -_ESDL = "EbsStatusDetailsList" -_ESSb = "EbsStatusSummary" -_detai = "details" -_ECv = "EventCode" -_ir__ = "instance_reboot" -_ir___ = "instance-reboot" -_sr = "system_reboot" -_sr_ = "system-reboot" -_sm__ = "system_maintenance" -_sm___ = "system-maintenance" -_ir____ = "instance_retirement" -_ir_____ = "instance-retirement" -_is____ = "instance_stop" -_is_____ = "instance-stop" -_IEI = "InstanceEventId" -_ISEn = "InstanceStatusEvent" -_iEI = "instanceEventId" -_NB = "NotBefore" -_nB = "notBefore" -_NBD = "NotBeforeDeadline" -_nBD = "notBeforeDeadline" -_ISEL = "InstanceStatusEventList" -_ISD = "InstanceStatusDetails" -_ISDL = "InstanceStatusDetailsList" -_ISSn = "InstanceStatusSummary" -_PSSe = "PerformanceStatusSummary" -_Rem = "Remediation" -_rem = "remediation" -_ISnstan = "InstanceStatus" -_Ev = "Events" -_ESv = "EventsSet" -_eSv = "eventsSet" -_iSnsta = "instanceStatus" -_SSy = "SystemStatus" -_sSy = "systemStatus" -_AES = "AttachedEbsStatus" -_aES = "attachedEbsStatus" -_PSerf = "PerformanceStatus" -_pSerf = "performanceStatus" -_ISLn = "InstanceStatusList" -_DISOe = "DescribeInstanceStatusOutput" -_cDISRoma = "com.amazonaws.ec2#DescribeInstanceStatusResult" -_ISnstanc = "InstanceStatuses" -_ISSns = "InstanceStatusSet" -_iSS = "instanceStatusSet" -_DISe = "DescribeInstanceStatus" -_DITGNS = "DescribeInstanceTopologyGroupNameSet" -_DITIIS = "DescribeInstanceTopologyInstanceIdSet" -_DITMR = "DescribeInstanceTopologyMaxResults" -_DITI = "DescribeInstanceTopologyInput" -_cDITR = "com.amazonaws.ec2#DescribeInstanceTopologyRequest" -_GNr = "GroupNames" -_NNL = "NetworkNodesList" -_ITnstan = "InstanceTopology" -_DITO = "DescribeInstanceTopologyOutput" -_cDITRo = "com.amazonaws.ec2#DescribeInstanceTopologyResult" -_DIT = "DescribeInstanceTopology" -_LTo = "LocationType" -_az = "availability_zone" -_az_ = "availability-zone" -_azi = "availability_zone_id" -_azi_ = "availability-zone-id" -_out = "outpost" -_DITOMR = "DITOMaxResults" -_DITOI = "DescribeInstanceTypeOfferingsInput" -_cDITOR = "com.amazonaws.ec2#DescribeInstanceTypeOfferingsRequest" -_ITO = "InstanceTypeOffering" -_lTo = "locationType" -_loca = "location" -_ITOL = "InstanceTypeOfferingsList" -_DITOO = "DescribeInstanceTypeOfferingsOutput" -_cDITORo = "com.amazonaws.ec2#DescribeInstanceTypeOfferingsResult" -_ITOn = "InstanceTypeOfferings" -_ITOS = "InstanceTypeOfferingSet" -_iTOS = "instanceTypeOfferingSet" -_DITOe = "DescribeInstanceTypeOfferings" -_IUIR = "IncludeUnsupportedInRegion" -_RITL = "RequestInstanceTypeList" -_DITMRa = "DITMaxResults" -_DITIe = "DescribeInstanceTypesInput" -_cDITRom = "com.amazonaws.ec2#DescribeInstanceTypesRequest" -_ARF = "AutoRecoveryFlag" -_BMF = "BareMetalFlag" -_BPFu = "BurstablePerformanceFlag" -_CGF = "CurrentGenerationFlag" -_DHF = "DedicatedHostFlag" -_ALT = "AttachmentLimitType" -_SHARED = "SHARED" -_sh = "shared" -_DEDICATED = "DEDICATED" -_BBIM = "BaselineBandwidthInMbps" -_BIa = "BaselineIops" -_BTIMB = "BaselineThroughputInMBps" -_MBIM = "MaximumBandwidthInMbps" -_MI = "MaximumIops" -_MTIMB = "MaximumThroughputInMBps" -_ECIb = "EbsCardInfo" -_bBIM = "baselineBandwidthInMbps" -_bTIMB = "baselineThroughputInMBps" -_bIa = "baselineIops" -_mBIM = "maximumBandwidthInMbps" -_mTIMB = "maximumThroughputInMBps" -_mI = "maximumIops" -_ECIL = "EbsCardInfoList" -_EOI = "EbsOptimizedInfo" -_EOS = "EbsOptimizedSupport" -_supp = "supported" -_EES = "EbsEncryptionSupport" -_MEA = "MaximumEbsAttachments" -_MEC = "MaximumEbsCards" -_ENS = "EbsNvmeSupport" -_SUPPORTED = "SUPPORTED" -_EIb = "EbsInfo" -_eOS = "ebsOptimizedSupport" -_eOI = "ebsOptimizedInfo" -_NSv = "NvmeSupport" -_nSv = "nvmeSupport" -_mEA = "maximumEbsAttachments" -_aLT = "attachmentLimitType" -_mEC = "maximumEbsCards" -_ECb = "EbsCards" -_ECS = "EbsCardSet" -_eCS = "ebsCardSet" -_FDC = "FpgaDeviceCount" -_FDMN = "FpgaDeviceManufacturerName" -_FDMS = "FpgaDeviceMemorySize" -_FDMI = "FpgaDeviceMemoryInfo" -_SIMB = "SizeInMiB" -_sIMB = "sizeInMiB" -_FDNp = "FpgaDeviceName" -_FDI = "FpgaDeviceInfo" -_Manu = "Manufacturer" -_manu = "manufacturer" -_MIe = "MemoryInfo" -_mIe = "memoryInfo" -_FDIL = "FpgaDeviceInfoList" -_tFM = "totalFpgaMemory" -_FIpga = "FpgaInfo" -_Fp = "Fpgas" -_fpg = "fpgas" -_TFMIMB = "TotalFpgaMemoryInMiB" -_tFMIMB = "totalFpgaMemoryInMiB" -_FTEF = "FreeTierEligibleFlag" -_GDC = "GpuDeviceCount" -_GPS = "GpuPartitionSize" -_LGC = "LogicalGpuCount" -_GDMN = "GpuDeviceManufacturerName" -_GDMS = "GpuDeviceMemorySize" -_GDMI = "GpuDeviceMemoryInfo" -_GDN = "GpuDeviceName" -_Wo = "Workload" -_WL = "WorkloadsList" -_GDI = "GpuDeviceInfo" -_lGC = "logicalGpuCount" -_gPS = "gpuPartitionSize" -_Wor = "Workloads" -_WSo = "WorkloadSet" -_wS = "workloadSet" -_GDIL = "GpuDeviceInfoList" -_tGM = "totalGpuMemory" -_GIp = "GpuInfo" -_Gp = "Gpus" -_gpu = "gpus" -_TGMIMB = "TotalGpuMemoryInMiB" -_tGMIMB = "totalGpuMemoryInMiB" -_HF = "HibernationFlag" -_ITH = "InstanceTypeHypervisor" -_NITRO = "NITRO" -_nit = "nitro" -_XEN = "XEN" -_IDC = "InferenceDeviceCount" -_IDMN = "InferenceDeviceManufacturerName" -_IDMS = "InferenceDeviceMemorySize" -_IDMI = "InferenceDeviceMemoryInfo" -_IDN = "InferenceDeviceName" -_IDI = "InferenceDeviceInfo" -_IDIL = "InferenceDeviceInfoList" -_tIM = "totalInferenceMemory" -_IAIn = "InferenceAcceleratorInfo" -_Acce = "Accelerators" -_accel = "accelerators" -_TIMIMB = "TotalInferenceMemoryInMiB" -_tIMIMB = "totalInferenceMemoryInMiB" -_DCisk = "DiskCount" -_DSi = "DiskSize" -_DTisk = "DiskType" -_DIis = "DiskInfo" -_SIGB = "SizeInGB" -_sIGB = "sizeInGB" -_DIL = "DiskInfoList" -_ISES = "InstanceStorageEncryptionSupport" -_ENSp = "EphemeralNvmeSupport" -_ISIns = "InstanceStorageInfo" -_TSIGB = "TotalSizeInGB" -_tSIGB = "totalSizeInGB" -_Disk = "Disks" -_disk = "disks" -_ISF = "InstanceStorageFlag" -_MDC = "MediaDeviceCount" -_MDMN = "MediaDeviceManufacturerName" -_MDMS = "MediaDeviceMemorySize" -_MDMI = "MediaDeviceMemoryInfo" -_MDN = "MediaDeviceName" -_MDI = "MediaDeviceInfo" -_MDIL = "MediaDeviceInfoList" -_TMM = "TotalMediaMemory" -_MAIe = "MediaAcceleratorInfo" -_TMMIMB = "TotalMediaMemoryInMiB" -_tMMIMB = "totalMediaMemoryInMiB" -_MSem = "MemorySize" -_BWT = "BandwidthWeightingType" -_BWTL = "BandwidthWeightingTypeList" -_DTET = "DefaultTcpEstablishedTimeout" -_DUST = "DefaultUdpStreamTimeout" -_DUT = "DefaultUdpTimeout" -_DCTC = "DefaultConnectionTrackingConfiguration" -_dTET = "defaultTcpEstablishedTimeout" -_dUT = "defaultUdpTimeout" -_dUST = "defaultUdpStreamTimeout" -_DNCI = "DefaultNetworkCardIndex" -_MEI = "MaximumEfaInterfaces" -_EIf = "EfaInfo" -_mEI = "maximumEfaInterfaces" -_ESF = "EfaSupportedFlag" -_ESSn = "EnaSrdSupported" -_EITSn = "EncryptionInTransitSupported" -_FEQS = "FlexibleEnaQueuesSupport" -_MIAPI = "MaxIpv4AddrPerInterface" -_IAPSI = "Ipv4AddressesPerSecondaryInterface" -_MIAPIa = "MaxIpv6AddrPerInterface" -_IFp = "Ipv6Flag" -_MNC = "MaximumNetworkCards" -_MNI = "MaxNetworkInterfaces" -_MSNI = "MaximumSecondaryNetworkInterfaces" -_BBIG = "BaselineBandwidthInGbps" -_DEQCPI = "DefaultEnaQueueCountPerInterface" -_NCIT = "NetworkCardInterfaceType" -_NCITL = "NetworkCardInterfaceTypeList" -_MEQC = "MaximumEnaQueueCount" -_MEQCPI = "MaximumEnaQueueCountPerInterface" -_NPe = "NetworkPerformance" -_PBIG = "PeakBandwidthInGbps" -_NCIe = "NetworkCardInfo" -_nPe = "networkPerformance" -_MNIa = "MaximumNetworkInterfaces" -_mNI = "maximumNetworkInterfaces" -_aFNI = "additionalFlexibleNetworkInterfaces" -_bBIG = "baselineBandwidthInGbps" -_pBIG = "peakBandwidthInGbps" -_dEQCPI = "defaultEnaQueueCountPerInterface" -_mEQC = "maximumEnaQueueCount" -_mEQCPI = "maximumEnaQueueCountPerInterface" -_ITnter = "InterfaceTypes" -_ITSnt = "InterfaceTypeSet" -_iTSn = "interfaceTypeSet" -_NCIL = "NetworkCardInfoList" -_SNSF = "SecondaryNetworkSupportedFlag" -_NIetw = "NetworkInfo" -_mNC = "maximumNetworkCards" -_dNCI = "defaultNetworkCardIndex" -_NC = "NetworkCards" -_nC = "networkCards" -_IAPI = "Ipv4AddressesPerInterface" -_iAPI = "ipv4AddressesPerInterface" -_IAPIp = "Ipv6AddressesPerInterface" -_iAPIp = "ipv6AddressesPerInterface" -_ISpv = "Ipv6Supported" -_iSpv = "ipv6Supported" -_ESf = "EfaSupported" -_eSf = "efaSupported" -_eIf = "efaInfo" -_eITSn = "encryptionInTransitSupported" -_eSSn = "enaSrdSupported" -_BWa = "BandwidthWeightings" -_bWa = "bandwidthWeightings" -_fEQS = "flexibleEnaQueuesSupport" -_SNSe = "SecondaryNetworkSupported" -_sNSe = "secondaryNetworkSupported" -_mSNI = "maximumSecondaryNetworkInterfaces" -_iAPSI = "ipv4AddressesPerSecondaryInterface" -_NDCC = "NeuronDeviceCoreCount" -_NDCV = "NeuronDeviceCoreVersion" -_NDCI = "NeuronDeviceCoreInfo" -_NDCe = "NeuronDeviceCount" -_NDMS = "NeuronDeviceMemorySize" -_NDMI = "NeuronDeviceMemoryInfo" -_NDN = "NeuronDeviceName" -_NDI = "NeuronDeviceInfo" -_CIor = "CoreInfo" -_cIor = "coreInfo" -_NDIL = "NeuronDeviceInfoList" -_TNM = "TotalNeuronMemory" -_NIeu = "NeuronInfo" -_NDe = "NeuronDevices" -_nDe = "neuronDevices" -_TNDMIMB = "TotalNeuronDeviceMemoryInMiB" -_tNDMIMB = "totalNeuronDeviceMemoryInMiB" -_NES = "NitroEnclavesSupport" -_NTSVT = "NitroTpmSupportedVersionType" -_NTSVL = "NitroTpmSupportedVersionsList" -_NTI = "NitroTpmInfo" -_SVu = "SupportedVersions" -_sVu = "supportedVersions" -_NTS = "NitroTpmSupport" -_PSh = "PhcSupport" -_PGSl = "PlacementGroupStrategy" -_PGSL = "PlacementGroupStrategyList" -_PGIl = "PlacementGroupInfo" -_SSup = "SupportedStrategies" -_sSup = "supportedStrategies" -_CMN = "CpuManufacturerName" -_ATr = "ArchitectureType" -_ATLr = "ArchitectureTypeList" -_SAPF = "SupportedAdditionalProcessorFeature" -_ASS_ = "AMD_SEV_SNP" -_ass_ = "amd-sev-snp" -_NV_ = "NESTED_VIRTUALIZATION" -_nv = "nested-virtualization" -_SAPFL = "SupportedAdditionalProcessorFeatureList" -_PSCS = "ProcessorSustainedClockSpeed" -_PIro = "ProcessorInfo" -_SAup = "SupportedArchitectures" -_sAu = "supportedArchitectures" -_SCSIG = "SustainedClockSpeedInGhz" -_sCSIG = "sustainedClockSpeedInGhz" -_SF = "SupportedFeatures" -_sF = "supportedFeatures" -_RMS = "RebootMigrationSupport" -_BMT = "BootModeType" -_BMTL = "BootModeTypeList" -_SIRu = "SupportedInRegion" -_RDTL = "RootDeviceTypeList" -_UCT = "UsageClassType" -_UCTL = "UsageClassTypeList" -_VTLi = "VirtualizationTypeList" -_CCL = "CoreCountList" -_TPCL = "ThreadsPerCoreList" -_VCIpu = "VCpuInfo" -_DVCef = "DefaultVCpus" -_dVC = "defaultVCpus" -_DCe = "DefaultCores" -_dCe = "defaultCores" -_DTPC = "DefaultThreadsPerCore" -_dTPC = "defaultThreadsPerCore" -_VCa = "ValidCores" -_vCa = "validCores" -_VTPC = "ValidThreadsPerCore" -_vTPC = "validThreadsPerCore" -_ITIns = "InstanceTypeInfo" -_CGur = "CurrentGeneration" -_cGu = "currentGeneration" -_SUC = "SupportedUsageClasses" -_sUC = "supportedUsageClasses" -_SRDT = "SupportedRootDeviceTypes" -_sRDT = "supportedRootDeviceTypes" -_SVT = "SupportedVirtualizationTypes" -_sVT = "supportedVirtualizationTypes" -_pIro = "processorInfo" -_vCIpu = "vCpuInfo" -_ISSnst = "InstanceStorageSupported" -_iSSn = "instanceStorageSupported" -_iSIn = "instanceStorageInfo" -_eIb = "ebsInfo" -_nIet = "networkInfo" -_gIp = "gpuInfo" -_fIp = "fpgaInfo" -_pGIl = "placementGroupInfo" -_iAIn = "inferenceAcceleratorInfo" -_HSi = "HibernationSupported" -_hSi = "hibernationSupported" -_BPS = "BurstablePerformanceSupported" -_bPS = "burstablePerformanceSupported" -_DHS = "DedicatedHostsSupported" -_dHS = "dedicatedHostsSupported" -_ARSut = "AutoRecoverySupported" -_aRS = "autoRecoverySupported" -_SBM = "SupportedBootModes" -_sBM = "supportedBootModes" -_nES = "nitroEnclavesSupport" -_nTS = "nitroTpmSupport" -_nTI = "nitroTpmInfo" -_mAIe = "mediaAcceleratorInfo" -_nIeu = "neuronInfo" -_pSh = "phcSupport" -_rMS = "rebootMigrationSupport" -_sIRu = "supportedInRegion" -_ITILn = "InstanceTypeInfoList" -_DITOes = "DescribeInstanceTypesOutput" -_cDITRoma = "com.amazonaws.ec2#DescribeInstanceTypesResult" -_ITSns = "InstanceTypeSet" -_iTSns = "instanceTypeSet" -_DITe = "DescribeInstanceTypes" -_IGIL = "InternetGatewayIdList" -_DIGMR = "DescribeInternetGatewaysMaxResults" -_DIGIe = "DescribeInternetGatewaysInput" -_cDIGRo = "com.amazonaws.ec2#DescribeInternetGatewaysRequest" -_IGIn = "InternetGatewayIds" -_IGL = "InternetGatewayList" -_DIGOe = "DescribeInternetGatewaysOutput" -_cDIGRom = "com.amazonaws.ec2#DescribeInternetGatewaysResult" -_IGnt = "InternetGateways" -_IGSn = "InternetGatewaySet" -_iGSn = "internetGatewaySet" -_DIGe = "DescribeInternetGateways" -_DIBMR = "DescribeIpamByoasnMaxResults" -_DIBIe = "DescribeIpamByoasnInput" -_cDIBRom = "com.amazonaws.ec2#DescribeIpamByoasnRequest" -_BSy = "ByoasnSet" -_DIBOe = "DescribeIpamByoasnOutput" -_cDIBRoma = "com.amazonaws.ec2#DescribeIpamByoasnResult" -_Byo = "Byoasns" -_bSy = "byoasnSet" -_DIBe = "DescribeIpamByoasn" -_IMRp = "IpamMaxResults" -_DIERVTIe = "DescribeIpamExternalResourceVerificationTokensInput" -_cDIERVTRom = "com.amazonaws.ec2#DescribeIpamExternalResourceVerificationTokensRequest" -_IERVTIp = "IpamExternalResourceVerificationTokenIds" -_IERVTSp = "IpamExternalResourceVerificationTokenSet" -_DIERVTOe = "DescribeIpamExternalResourceVerificationTokensOutput" -_cDIERVTRoma = "com.amazonaws.ec2#DescribeIpamExternalResourceVerificationTokensResult" -_IERVTp = "IpamExternalResourceVerificationTokens" -_iERVTS = "ipamExternalResourceVerificationTokenSet" -_DIERVTe = "DescribeIpamExternalResourceVerificationTokens" -_DIIRAIe = "DescribeIpamInternetRegistryAssociationsInput" -_cDIIRARom = "com.amazonaws.ec2#DescribeIpamInternetRegistryAssociationsRequest" -_IIRAIp = "IpamInternetRegistryAssociationIds" -_IIRASp = "IpamInternetRegistryAssociationSet" -_DIIRAOe = "DescribeIpamInternetRegistryAssociationsOutput" -_cDIIRARoma = "com.amazonaws.ec2#DescribeIpamInternetRegistryAssociationsResult" -_IIRAp = "IpamInternetRegistryAssociations" -_iIRAS = "ipamInternetRegistryAssociationSet" -_DIIRAe = "DescribeIpamInternetRegistryAssociations" -_DIPIes = "DescribeIpamPoliciesInput" -_cDIPRomam = "com.amazonaws.ec2#DescribeIpamPoliciesRequest" -_IPIpa = "IpamPolicyIds" -_IPSpam = "IpamPolicySet" -_DIPOes = "DescribeIpamPoliciesOutput" -_cDIPRomama = "com.amazonaws.ec2#DescribeIpamPoliciesResult" -_IPpamo = "IpamPolicies" -_iPSpa = "ipamPolicySet" -_DIPes = "DescribeIpamPolicies" -_DIPAMR = "DescribeIpamPoolAllocationsMaxResults" -_DIPAI = "DescribeIpamPoolAllocationsInput" -_cDIPAR = "com.amazonaws.ec2#DescribeIpamPoolAllocationsRequest" -_IPAIp = "IpamPoolAllocationIds" -_IPASp = "IpamPoolAllocationSet" -_DIPAO = "DescribeIpamPoolAllocationsOutput" -_cDIPARo = "com.amazonaws.ec2#DescribeIpamPoolAllocationsResult" -_IPApam = "IpamPoolAllocations" -_iPAS = "ipamPoolAllocationSet" -_DIPA = "DescribeIpamPoolAllocations" -_DIPIesc = "DescribeIpamPoolsInput" -_cDIPRomamaz = "com.amazonaws.ec2#DescribeIpamPoolsRequest" -_IPIpam = "IpamPoolIds" -_IPSpamo = "IpamPoolSet" -_DIPOesc = "DescribeIpamPoolsOutput" -_cDIPRomamazo = "com.amazonaws.ec2#DescribeIpamPoolsResult" -_IPpamoo = "IpamPools" -_iPSpam = "ipamPoolSet" -_DIPesc = "DescribeIpamPools" -_DIPLRIe = "DescribeIpamPrefixListResolversInput" -_cDIPLRRom = "com.amazonaws.ec2#DescribeIpamPrefixListResolversRequest" -_IPLRIp = "IpamPrefixListResolverIds" -_IPLRSp = "IpamPrefixListResolverSet" -_DIPLROe = "DescribeIpamPrefixListResolversOutput" -_cDIPLRRoma = "com.amazonaws.ec2#DescribeIpamPrefixListResolversResult" -_IPLRpa = "IpamPrefixListResolvers" -_iPLRS = "ipamPrefixListResolverSet" -_DIPLRe = "DescribeIpamPrefixListResolvers" -_DIPLRTIe = "DescribeIpamPrefixListResolverTargetsInput" -_cDIPLRTRom = "com.amazonaws.ec2#DescribeIpamPrefixListResolverTargetsRequest" -_IPLRTIp = "IpamPrefixListResolverTargetIds" -_IPLRTSp = "IpamPrefixListResolverTargetSet" -_DIPLRTOe = "DescribeIpamPrefixListResolverTargetsOutput" -_cDIPLRTRoma = "com.amazonaws.ec2#DescribeIpamPrefixListResolverTargetsResult" -_IPLRTp = "IpamPrefixListResolverTargets" -_iPLRTS = "ipamPrefixListResolverTargetSet" -_DIPLRTe = "DescribeIpamPrefixListResolverTargets" -_DIRDIe = "DescribeIpamResourceDiscoveriesInput" -_cDIRDRom = "com.amazonaws.ec2#DescribeIpamResourceDiscoveriesRequest" -_IRDIp = "IpamResourceDiscoveryIds" -_IRDSp = "IpamResourceDiscoverySet" -_DIRDOe = "DescribeIpamResourceDiscoveriesOutput" -_cDIRDRoma = "com.amazonaws.ec2#DescribeIpamResourceDiscoveriesResult" -_IRDp = "IpamResourceDiscoveries" -_iRDS = "ipamResourceDiscoverySet" -_DIRDe = "DescribeIpamResourceDiscoveries" -_DIRDAI = "DescribeIpamResourceDiscoveryAssociationsInput" -_cDIRDAR = "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociationsRequest" -_IRDAIp = "IpamResourceDiscoveryAssociationIds" -_IRDASp = "IpamResourceDiscoveryAssociationSet" -_DIRDAO = "DescribeIpamResourceDiscoveryAssociationsOutput" -_cDIRDARo = "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociationsResult" -_IRDApa = "IpamResourceDiscoveryAssociations" -_iRDAS = "ipamResourceDiscoveryAssociationSet" -_DIRDA = "DescribeIpamResourceDiscoveryAssociations" -_DIIescr = "DescribeIpamsInput" -_cDIRomamazon = "com.amazonaws.ec2#DescribeIpamsRequest" -_IIpa = "IpamIds" -_ISpame = "IpamSet" -_DIOescr = "DescribeIpamsOutput" -_cDIRomamazona = "com.amazonaws.ec2#DescribeIpamsResult" -_Ipam = "Ipams" -_iSpam = "ipamSet" -_DIescri = "DescribeIpams" -_DISIes = "DescribeIpamScopesInput" -_cDISRomam = "com.amazonaws.ec2#DescribeIpamScopesRequest" -_ISIp = "IpamScopeIds" -_ISSp = "IpamScopeSet" -_DISOes = "DescribeIpamScopesOutput" -_cDISRomama = "com.amazonaws.ec2#DescribeIpamScopesResult" -_ISpamc = "IpamScopes" -_iSSp = "ipamScopeSet" -_DISes = "DescribeIpamScopes" -_IPMR = "Ipv6PoolMaxResults" -_IPIL = "Ipv6PoolIdList" -_DIPIescr = "DescribeIpv6PoolsInput" -_cDIPRomamazon = "com.amazonaws.ec2#DescribeIpv6PoolsRequest" -_PCB = "PoolCidrBlock" -_pCB = "poolCidrBlock" -_PCBS = "PoolCidrBlocksSet" -_PCBo = "PoolCidrBlocks" -_PCBSo = "PoolCidrBlockSet" -_pCBS = "poolCidrBlockSet" -_IPSpvo = "Ipv6PoolSet" -_DIPOescr = "DescribeIpv6PoolsOutput" -_cDIPRomamazona = "com.amazonaws.ec2#DescribeIpv6PoolsResult" -_IPpvoo = "Ipv6Pools" -_iPSpv = "ipv6PoolSet" -_DIPescr = "DescribeIpv6Pools" -_KNSL = "KeyNameStringList" -_KPISL = "KeyPairIdStringList" -_DKPIe = "DescribeKeyPairsInput" -_cDKPRom = "com.amazonaws.ec2#DescribeKeyPairsRequest" -_KNe = "KeyNames" -_KPIe = "KeyPairIds" -_IPK = "IncludePublicKey" -_KPIey = "KeyPairInfo" -_kT = "keyType" -_PK = "PublicKey" -_pK = "publicKey" -_KPL = "KeyPairList" -_DKPOe = "DescribeKeyPairsOutput" -_cDKPRoma = "com.amazonaws.ec2#DescribeKeyPairsResult" -_KP = "KeyPairs" -_KSe = "KeySet" -_kSe = "keySet" -_DKPe = "DescribeKeyPairs" -_LTISL = "LaunchTemplateIdStringList" -_LTNSL = "LaunchTemplateNameStringList" -_DLTMR = "DescribeLaunchTemplatesMaxResults" -_DLTIe = "DescribeLaunchTemplatesInput" -_cDLTRom = "com.amazonaws.ec2#DescribeLaunchTemplatesRequest" -_LTIa = "LaunchTemplateIds" -_LTNa = "LaunchTemplateNames" -_LTSa = "LaunchTemplateSet" -_DLTOe = "DescribeLaunchTemplatesOutput" -_cDLTRoma = "com.amazonaws.ec2#DescribeLaunchTemplatesResult" -_LTau = "LaunchTemplates" -_lTau = "launchTemplates" -_DLTe = "DescribeLaunchTemplates" -_DLTVIe = "DescribeLaunchTemplateVersionsInput" -_cDLTVRom = "com.amazonaws.ec2#DescribeLaunchTemplateVersionsRequest" -_MV = "MinVersion" -_MVa = "MaxVersion" -_LTVS = "LaunchTemplateVersionSet" -_DLTVOe = "DescribeLaunchTemplateVersionsOutput" -_cDLTVRoma = "com.amazonaws.ec2#DescribeLaunchTemplateVersionsResult" -_LTVa = "LaunchTemplateVersions" -_lTVS = "launchTemplateVersionSet" -_DLTVe = "DescribeLaunchTemplateVersions" -_LGRTIS = "LocalGatewayRouteTableIdSet" -_LGMR = "LocalGatewayMaxResults" -_DLGRTIe = "DescribeLocalGatewayRouteTablesInput" -_cDLGRTRom = "com.amazonaws.ec2#DescribeLocalGatewayRouteTablesRequest" -_LGRTIo = "LocalGatewayRouteTableIds" -_LGRTS = "LocalGatewayRouteTableSet" -_DLGRTOe = "DescribeLocalGatewayRouteTablesOutput" -_cDLGRTRoma = "com.amazonaws.ec2#DescribeLocalGatewayRouteTablesResult" -_LGRToc = "LocalGatewayRouteTables" -_lGRTS = "localGatewayRouteTableSet" -_DLGRTe = "DescribeLocalGatewayRouteTables" -_LGRTVIGAIS = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet" -_DLGRTVIGAIe = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput" -_cDLGRTVIGARom = "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest" -_LGRTVIGAIo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds" -_LGRTVIGAS = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet" -_DLGRTVIGAOe = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput" -_cDLGRTVIGARoma = "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult" -_LGRTVIGAo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociations" -_lGRTVIGAS = "localGatewayRouteTableVirtualInterfaceGroupAssociationSet" -_DLGRTVIGAe = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations" -_LGRTVAIS = "LocalGatewayRouteTableVpcAssociationIdSet" -_DLGRTVAIe = "DescribeLocalGatewayRouteTableVpcAssociationsInput" -_cDLGRTVARom = "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVpcAssociationsRequest" -_LGRTVAIo = "LocalGatewayRouteTableVpcAssociationIds" -_LGRTVAS = "LocalGatewayRouteTableVpcAssociationSet" -_DLGRTVAOe = "DescribeLocalGatewayRouteTableVpcAssociationsOutput" -_cDLGRTVARoma = "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVpcAssociationsResult" -_LGRTVAo = "LocalGatewayRouteTableVpcAssociations" -_lGRTVAS = "localGatewayRouteTableVpcAssociationSet" -_DLGRTVAe = "DescribeLocalGatewayRouteTableVpcAssociations" -_LGIS = "LocalGatewayIdSet" -_DLGI = "DescribeLocalGatewaysInput" -_cDLGR = "com.amazonaws.ec2#DescribeLocalGatewaysRequest" -_LGIo = "LocalGatewayIds" -_LG = "LocalGateway" -_LGS = "LocalGatewaySet" -_DLGO = "DescribeLocalGatewaysOutput" -_cDLGRo = "com.amazonaws.ec2#DescribeLocalGatewaysResult" -_LGo = "LocalGateways" -_lGS = "localGatewaySet" -_DLG = "DescribeLocalGateways" -_LGVIGIS = "LocalGatewayVirtualInterfaceGroupIdSet" -_DLGVIGIe = "DescribeLocalGatewayVirtualInterfaceGroupsInput" -_cDLGVIGRom = "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfaceGroupsRequest" -_LGVIGIo = "LocalGatewayVirtualInterfaceGroupIds" -_LGVIGS = "LocalGatewayVirtualInterfaceGroupSet" -_DLGVIGOe = "DescribeLocalGatewayVirtualInterfaceGroupsOutput" -_cDLGVIGRoma = "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfaceGroupsResult" -_LGVIGo = "LocalGatewayVirtualInterfaceGroups" -_lGVIGS = "localGatewayVirtualInterfaceGroupSet" -_DLGVIGe = "DescribeLocalGatewayVirtualInterfaceGroups" -_DLGVIIe = "DescribeLocalGatewayVirtualInterfacesInput" -_cDLGVIRom = "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfacesRequest" -_LGVIS = "LocalGatewayVirtualInterfaceSet" -_DLGVIOe = "DescribeLocalGatewayVirtualInterfacesOutput" -_cDLGVIRoma = "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfacesResult" -_LGVIo = "LocalGatewayVirtualInterfaces" -_lGVIS = "localGatewayVirtualInterfaceSet" -_DLGVIe = "DescribeLocalGatewayVirtualInterfaces" -_DLSMR = "DescribeLockedSnapshotsMaxResults" -_SISL = "SnapshotIdStringList" -_DLSI = "DescribeLockedSnapshotsInput" -_cDLSR = "com.amazonaws.ec2#DescribeLockedSnapshotsRequest" -_SInap = "SnapshotIds" -_COPRH = "CoolOffPeriodResponseHours" -_RPRD = "RetentionPeriodResponseDays" -_LSoc = "LockState" -_compli = "compliance" -_go = "governance" -_cc___ = "compliance_cooloff" -_cc____ = "compliance-cooloff" -_LSI = "LockedSnapshotsInfo" -_lSoc = "lockState" -_LDo = "LockDuration" -_lDo = "lockDuration" -_COPo = "CoolOffPeriod" -_cOPo = "coolOffPeriod" -_COPEO = "CoolOffPeriodExpiresOn" -_cOPEO = "coolOffPeriodExpiresOn" -_LCO = "LockCreatedOn" -_lCO = "lockCreatedOn" -_LDST = "LockDurationStartTime" -_lDST = "lockDurationStartTime" -_LEO = "LockExpiresOn" -_lEO = "lockExpiresOn" -_LSIL = "LockedSnapshotsInfoList" -_DLSO = "DescribeLockedSnapshotsOutput" -_cDLSRo = "com.amazonaws.ec2#DescribeLockedSnapshotsResult" -_DLSe = "DescribeLockedSnapshots" -_DMHRMR = "DescribeMacHostsRequestMaxResults" -_DMHI = "DescribeMacHostsInput" -_cDMHR = "com.amazonaws.ec2#DescribeMacHostsRequest" -_MOSVSL = "MacOSVersionStringList" -_MH = "MacHost" -_MOSLSV = "MacOSLatestSupportedVersions" -_MOSLSVS = "MacOSLatestSupportedVersionSet" -_mOSLSVS = "macOSLatestSupportedVersionSet" -_MHL = "MacHostList" -_DMHO = "DescribeMacHostsOutput" -_cDMHRo = "com.amazonaws.ec2#DescribeMacHostsResult" -_MHa = "MacHosts" -_MHS = "MacHostSet" -_mHS = "macHostSet" -_DMH = "DescribeMacHosts" -_MMTIL = "MacModificationTaskIdList" -_DMMTMR = "DescribeMacModificationTasksMaxResults" -_DMMTI = "DescribeMacModificationTasksInput" -_cDMMTR = "com.amazonaws.ec2#DescribeMacModificationTasksRequest" -_MMTIa = "MacModificationTaskIds" -_MMTL = "MacModificationTaskList" -_DMMTO = "DescribeMacModificationTasksOutput" -_cDMMTRo = "com.amazonaws.ec2#DescribeMacModificationTasksResult" -_MMTa = "MacModificationTasks" -_MMTSa = "MacModificationTaskSet" -_mMTS = "macModificationTaskSet" -_DMMT = "DescribeMacModificationTasks" -_PLMR = "PrefixListMaxResults" -_DMPLIe = "DescribeManagedPrefixListsInput" -_cDMPLRom = "com.amazonaws.ec2#DescribeManagedPrefixListsRequest" -_MPLS = "ManagedPrefixListSet" -_DMPLOe = "DescribeManagedPrefixListsOutput" -_cDMPLRoma = "com.amazonaws.ec2#DescribeManagedPrefixListsResult" -_PLre = "PrefixLists" -_PLSr = "PrefixListSet" -_pLSr = "prefixListSet" -_DMPLe = "DescribeManagedPrefixLists" -_DMAMR = "DescribeMovingAddressesMaxResults" -_DMAI = "DescribeMovingAddressesInput" -_cDMAR = "com.amazonaws.ec2#DescribeMovingAddressesRequest" -_MSov = "MoveStatus" -_mTV = "movingToVpc" -_rTC = "restoringToClassic" -_MAS = "MovingAddressStatus" -_mSo = "moveStatus" -_MASS = "MovingAddressStatusSet" -_DMAO = "DescribeMovingAddressesOutput" -_cDMARo = "com.amazonaws.ec2#DescribeMovingAddressesResult" -_MASo = "MovingAddressStatuses" -_mASS = "movingAddressStatusSet" -_DMA = "DescribeMovingAddresses" -_DNGMR = "DescribeNatGatewaysMaxResults" -_NGISL = "NatGatewayIdStringList" -_DNGIe = "DescribeNatGatewaysInput" -_cDNGRom = "com.amazonaws.ec2#DescribeNatGatewaysRequest" -_NGIa = "NatGatewayIds" -_NGL = "NatGatewayList" -_DNGOe = "DescribeNatGatewaysOutput" -_cDNGRoma = "com.amazonaws.ec2#DescribeNatGatewaysResult" -_NGa = "NatGateways" -_NGSa = "NatGatewaySet" -_nGS = "natGatewaySet" -_DNGe = "DescribeNatGateways" -_DNAMR = "DescribeNetworkAclsMaxResults" -_NAISL = "NetworkAclIdStringList" -_DNAIe = "DescribeNetworkAclsInput" -_cDNARo = "com.amazonaws.ec2#DescribeNetworkAclsRequest" -_NAIe = "NetworkAclIds" -_NAL = "NetworkAclList" -_DNAOe = "DescribeNetworkAclsOutput" -_cDNARom = "com.amazonaws.ec2#DescribeNetworkAclsResult" -_NAet = "NetworkAcls" -_NAS = "NetworkAclSet" -_nAS = "networkAclSet" -_DNAe = "DescribeNetworkAcls" -_NIMR = "NetworkInsightsMaxResults" -_NIASAIL = "NetworkInsightsAccessScopeAnalysisIdList" -_DNIASAIe = "DescribeNetworkInsightsAccessScopeAnalysesInput" -_cDNIASARom = "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopeAnalysesRequest" -_NIASAIe = "NetworkInsightsAccessScopeAnalysisIds" -_ASTB = "AnalysisStartTimeBegin" -_ASTE = "AnalysisStartTimeEnd" -_FFi = "FindingsFound" -_true = "true" -_fal = "false" -_unk = "unknown" -_ASn = "AnalysisStatus" -_NIASAe = "NetworkInsightsAccessScopeAnalysis" -_NIASAA = "NetworkInsightsAccessScopeAnalysisArn" -_nIASAA = "networkInsightsAccessScopeAnalysisArn" -_WM = "WarningMessage" -_wM = "warningMessage" -_fFi = "findingsFound" -_AEC = "AnalyzedEniCount" -_aEC = "analyzedEniCount" -_NIASAL = "NetworkInsightsAccessScopeAnalysisList" -_DNIASAOe = "DescribeNetworkInsightsAccessScopeAnalysesOutput" -_cDNIASARoma = "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopeAnalysesResult" -_NIASAet = "NetworkInsightsAccessScopeAnalyses" -_NIASAS = "NetworkInsightsAccessScopeAnalysisSet" -_nIASAS = "networkInsightsAccessScopeAnalysisSet" -_DNIASAe = "DescribeNetworkInsightsAccessScopeAnalyses" -_NIASIL = "NetworkInsightsAccessScopeIdList" -_DNIASIe = "DescribeNetworkInsightsAccessScopesInput" -_cDNIASRom = "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopesRequest" -_NIASIe = "NetworkInsightsAccessScopeIds" -_NIASL = "NetworkInsightsAccessScopeList" -_DNIASOe = "DescribeNetworkInsightsAccessScopesOutput" -_cDNIASRoma = "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopesResult" -_NIASe = "NetworkInsightsAccessScopes" -_NIASS = "NetworkInsightsAccessScopeSet" -_nIASS = "networkInsightsAccessScopeSet" -_DNIASe = "DescribeNetworkInsightsAccessScopes" -_NIAIL = "NetworkInsightsAnalysisIdList" -_DNIAIe = "DescribeNetworkInsightsAnalysesInput" -_cDNIARom = "com.amazonaws.ec2#DescribeNetworkInsightsAnalysesRequest" -_NIAIe = "NetworkInsightsAnalysisIds" -_AST = "AnalysisStartTime" -_AET = "AnalysisEndTime" -_ALr = "ArnList" -_NIAet = "NetworkInsightsAnalysis" -_NIAA = "NetworkInsightsAnalysisArn" -_nIAA = "networkInsightsAnalysisArn" -_AAdd = "AdditionalAccounts" -_AASd = "AdditionalAccountSet" -_aASd = "additionalAccountSet" -_FIAi = "FilterInArns" -_FIAS = "FilterInArnSet" -_fIAS = "filterInArnSet" -_FOA = "FilterOutArns" -_FOAS = "FilterOutArnSet" -_fOAS = "filterOutArnSet" -_NPF = "NetworkPathFound" -_nPF = "networkPathFound" -_FPC = "ForwardPathComponents" -_FPCS = "ForwardPathComponentSet" -_fPCS = "forwardPathComponentSet" -_RPC = "ReturnPathComponents" -_RPCS = "ReturnPathComponentSet" -_rPCS = "returnPathComponentSet" -_APHlt = "AlternatePathHints" -_APHS = "AlternatePathHintSet" -_aPHS = "alternatePathHintSet" -_SAug = "SuggestedAccounts" -_SASu = "SuggestedAccountSet" -_sASu = "suggestedAccountSet" -_NIAL = "NetworkInsightsAnalysisList" -_DNIAOe = "DescribeNetworkInsightsAnalysesOutput" -_cDNIARoma = "com.amazonaws.ec2#DescribeNetworkInsightsAnalysesResult" -_NIAetw = "NetworkInsightsAnalyses" -_NIASet = "NetworkInsightsAnalysisSet" -_nIASe = "networkInsightsAnalysisSet" -_DNIAe = "DescribeNetworkInsightsAnalyses" -_NIPIL = "NetworkInsightsPathIdList" -_DNIPIes = "DescribeNetworkInsightsPathsInput" -_cDNIPRomam = "com.amazonaws.ec2#DescribeNetworkInsightsPathsRequest" -_NIPIet = "NetworkInsightsPathIds" -_NIPL = "NetworkInsightsPathList" -_DNIPOes = "DescribeNetworkInsightsPathsOutput" -_cDNIPRomama = "com.amazonaws.ec2#DescribeNetworkInsightsPathsResult" -_NIPet = "NetworkInsightsPaths" -_NIPSe = "NetworkInsightsPathSet" -_nIPS = "networkInsightsPathSet" -_DNIPes = "DescribeNetworkInsightsPaths" -_NIAetwo = "NetworkInterfaceAttribute" -_DNIAIes = "DescribeNetworkInterfaceAttributeInput" -_cDNIARomam = "com.amazonaws.ec2#DescribeNetworkInterfaceAttributeRequest" -_DNIAOes = "DescribeNetworkInterfaceAttributeOutput" -_cDNIARomama = "com.amazonaws.ec2#DescribeNetworkInterfaceAttributeResult" -_DNIAes = "DescribeNetworkInterfaceAttribute" -_DNIPMR = "DescribeNetworkInterfacePermissionsMaxResults" -_NIPILe = "NetworkInterfacePermissionIdList" -_DNIPIesc = "DescribeNetworkInterfacePermissionsInput" -_cDNIPRomamaz = "com.amazonaws.ec2#DescribeNetworkInterfacePermissionsRequest" -_NIPIetw = "NetworkInterfacePermissionIds" -_NIPLe = "NetworkInterfacePermissionList" -_DNIPOesc = "DescribeNetworkInterfacePermissionsOutput" -_cDNIPRomamazo = "com.amazonaws.ec2#DescribeNetworkInterfacePermissionsResult" -_NIPetw = "NetworkInterfacePermissions" -_nIPe = "networkInterfacePermissions" -_DNIPesc = "DescribeNetworkInterfacePermissions" -_DNIMR = "DescribeNetworkInterfacesMaxResults" -_NIIL = "NetworkInterfaceIdList" -_DNIIes = "DescribeNetworkInterfacesInput" -_cDNIRo = "com.amazonaws.ec2#DescribeNetworkInterfacesRequest" -_NIL = "NetworkInterfaceList" -_DNIOe = "DescribeNetworkInterfacesOutput" -_cDNIRom = "com.amazonaws.ec2#DescribeNetworkInterfacesResult" -_DNIe = "DescribeNetworkInterfaces" -_OLMR = "OutpostLagMaxResults" -_OLIS = "OutpostLagIdSet" -_DOLI = "DescribeOutpostLagsInput" -_cDOLR = "com.amazonaws.ec2#DescribeOutpostLagsRequest" -_OLIu = "OutpostLagIds" -_SLVII = "ServiceLinkVirtualInterfaceId" -_SLVIIS = "ServiceLinkVirtualInterfaceIdSet" -_OL = "OutpostLag" -_SLVIIe = "ServiceLinkVirtualInterfaceIds" -_sLVIIS = "serviceLinkVirtualInterfaceIdSet" -_OLS = "OutpostLagSet" -_DOLO = "DescribeOutpostLagsOutput" -_cDOLRo = "com.amazonaws.ec2#DescribeOutpostLagsResult" -_OLu = "OutpostLags" -_oLS = "outpostLagSet" -_DOLe = "DescribeOutpostLags" -_PGISL = "PlacementGroupIdStringList" -_PGSLl = "PlacementGroupStringList" -_DPGIe = "DescribePlacementGroupsInput" -_cDPGRo = "com.amazonaws.ec2#DescribePlacementGroupsRequest" -_GIrou = "GroupIds" -_PGL = "PlacementGroupList" -_DPGOe = "DescribePlacementGroupsOutput" -_cDPGRom = "com.amazonaws.ec2#DescribePlacementGroupsResult" -_PGl = "PlacementGroups" -_PGSla = "PlacementGroupSet" -_pGS = "placementGroupSet" -_DPGe = "DescribePlacementGroups" -_PLRISL = "PrefixListResourceIdStringList" -_DPLIe = "DescribePrefixListsInput" -_cDPLR = "com.amazonaws.ec2#DescribePrefixListsRequest" -_DPLO = "DescribePrefixListsOutput" -_cDPLRo = "com.amazonaws.ec2#DescribePrefixListsResult" -_DPLes = "DescribePrefixLists" -_DPIFMR = "DescribePrincipalIdFormatMaxResults" -_RLes = "ResourceList" -_DPIFI = "DescribePrincipalIdFormatInput" -_cDPIFR = "com.amazonaws.ec2#DescribePrincipalIdFormatRequest" -_PIF = "PrincipalIdFormat" -_PIFL = "PrincipalIdFormatList" -_DPIFO = "DescribePrincipalIdFormatOutput" -_cDPIFRo = "com.amazonaws.ec2#DescribePrincipalIdFormatResult" -_Prin = "Principals" -_PSrin = "PrincipalSet" -_pSrin = "principalSet" -_DPIF = "DescribePrincipalIdFormat" -_PMR = "PoolMaxResults" -_PIPISL = "PublicIpv4PoolIdStringList" -_DPIPIe = "DescribePublicIpv4PoolsInput" -_cDPIPRom = "com.amazonaws.ec2#DescribePublicIpv4PoolsRequest" -_PIPR = "PublicIpv4PoolRange" -_FAi = "FirstAddress" -_fAi = "firstAddress" -_LAa = "LastAddress" -_lAa = "lastAddress" -_ACd = "AddressCount" -_aCd = "addressCount" -_AAC = "AvailableAddressCount" -_aAC = "availableAddressCount" -_PIPRS = "PublicIpv4PoolRangeSet" -_PAR = "PoolAddressRanges" -_PARS = "PoolAddressRangeSet" -_pARS = "poolAddressRangeSet" -_TACo = "TotalAddressCount" -_tACo = "totalAddressCount" -_TAAC = "TotalAvailableAddressCount" -_tAAC = "totalAvailableAddressCount" -_PIPS = "PublicIpv4PoolSet" -_DPIPOe = "DescribePublicIpv4PoolsOutput" -_cDPIPRoma = "com.amazonaws.ec2#DescribePublicIpv4PoolsResult" -_PIPu = "PublicIpv4Pools" -_pIPS = "publicIpv4PoolSet" -_DPIPe = "DescribePublicIpv4Pools" -_RNSL = "RegionNameStringList" -_DRIe = "DescribeRegionsInput" -_cDRRo = "com.amazonaws.ec2#DescribeRegionsRequest" -_RNeg = "RegionNames" -_ARlle = "AllRegions" -_RG = "RegionGeography" -_RGL = "RegionGeographyList" -_Endp = "Endpoint" -_REeg = "RegionEndpoint" -_rEeg = "regionEndpoint" -_RLeg = "RegionList" -_DROe = "DescribeRegionsOutput" -_cDRRom = "com.amazonaws.ec2#DescribeRegionsResult" -_Reg = "Regions" -_RIegi = "RegionInfo" -_rIeg = "regionInfo" -_DRes = "DescribeRegions" -_DRRVTMR = "DescribeReplaceRootVolumeTasksMaxResults" -_RRVTIe = "ReplaceRootVolumeTaskIds" -_DRRVTI = "DescribeReplaceRootVolumeTasksInput" -_cDRRVTR = "com.amazonaws.ec2#DescribeReplaceRootVolumeTasksRequest" -_RRVTe = "ReplaceRootVolumeTasks" -_DRRVTO = "DescribeReplaceRootVolumeTasksOutput" -_cDRRVTRo = "com.amazonaws.ec2#DescribeReplaceRootVolumeTasksResult" -_RRVTSe = "ReplaceRootVolumeTaskSet" -_rRVTS = "replaceRootVolumeTaskSet" -_DRRVT = "DescribeReplaceRootVolumeTasks" -_OCT = "OfferingClassType" -_STANDARD = "STANDARD" -_CONVERTIBLE = "CONVERTIBLE" -_conv = "convertible" -_OTV = "OfferingTypeValues" -_HU = "Heavy_Utilization" -_HU_ = "Heavy Utilization" -_MU = "Medium_Utilization" -_MU_ = "Medium Utilization" -_LU_ = "Light_Utilization" -_LU__ = "Light Utilization" -_NU_ = "No_Upfront" -_NU__ = "No Upfront" -_PU__ = "Partial_Upfront" -_PU___ = "Partial Upfront" -_AU_ = "All_Upfront" -_AU__ = "All Upfront" -_RIISL = "ReservedInstancesIdStringList" -_DRII = "DescribeReservedInstancesInput" -_cDRIR = "com.amazonaws.ec2#DescribeReservedInstancesRequest" -_OC = "OfferingClass" -_OTf = "OfferingType" -_oTf = "offeringType" -_Flo = "Float" -_RIPD = "RIProductDescription" -_LU___ = "Linux_UNIX" -_LUAV = "Linux_UNIX_Amazon_VPC_" -_LV = "Linux/UNIX (Amazon VPC)" -_WAV = "Windows_Amazon_VPC_" -_WV = "Windows (Amazon VPC)" -_RCF = "RecurringChargeFrequency" -_Hou = "Hourly" -_RCec = "RecurringCharge" -_Am = "Amount" -_amo = "amount" -_Fr = "Frequency" -_freq = "frequency" -_RCL = "RecurringChargesList" -_AZ_ = "AVAILABILITY_ZONE" -_AZ__ = "Availability Zone" -_RIS = "ReservedInstanceState" -_que = "queued" -_qd = "queued_deleted" -_qd_ = "queued-deleted" -_RIese = "ReservedInstances" -_oC = "offeringClass" -_RCecu = "RecurringCharges" -_rCe = "recurringCharges" -_UPs = "UsagePrice" -_uPs = "usagePrice" -_FPix = "FixedPrice" -_fPix = "fixedPrice" -_PDr = "ProductDescription" -_pDr = "productDescription" -_RILese = "ReservedInstancesList" -_DRIO = "DescribeReservedInstancesOutput" -_cDRIRo = "com.amazonaws.ec2#DescribeReservedInstancesResult" -_RISe = "ReservedInstancesSet" -_rIS = "reservedInstancesSet" -_DRIes = "DescribeReservedInstances" -_DRILI = "DescribeReservedInstancesListingsInput" -_cDRILR = "com.amazonaws.ec2#DescribeReservedInstancesListingsRequest" -_DRILO = "DescribeReservedInstancesListingsOutput" -_cDRILRo = "com.amazonaws.ec2#DescribeReservedInstancesListingsResult" -_DRIL = "DescribeReservedInstancesListings" -_RIMI = "ReservedInstancesModificationId" -_RIMISL = "ReservedInstancesModificationIdStringList" -_DRIMI = "DescribeReservedInstancesModificationsInput" -_cDRIMR = "com.amazonaws.ec2#DescribeReservedInstancesModificationsRequest" -_RIMIe = "ReservedInstancesModificationIds" -_RIC = "ReservedInstancesConfiguration" -_RIMR = "ReservedInstancesModificationResult" -_tCa = "targetConfiguration" -_RIMRL = "ReservedInstancesModificationResultList" -_RIIeser = "ReservedIntancesIds" -_RIM = "ReservedInstancesModification" -_EDf = "EffectiveDate" -_eDf = "effectiveDate" -_MRo = "ModificationResults" -_MRS = "ModificationResultSet" -_mRS = "modificationResultSet" -_rIMI = "reservedInstancesModificationId" -_RIML = "ReservedInstancesModificationList" -_DRIMO = "DescribeReservedInstancesModificationsOutput" -_cDRIMRo = "com.amazonaws.ec2#DescribeReservedInstancesModificationsResult" -_RIMe = "ReservedInstancesModifications" -_RIMS = "ReservedInstancesModificationsSet" -_rIMS = "reservedInstancesModificationsSet" -_DRIM = "DescribeReservedInstancesModifications" -_RIOISL = "ReservedInstancesOfferingIdStringList" -_DRIOI = "DescribeReservedInstancesOfferingsInput" -_cDRIOR = "com.amazonaws.ec2#DescribeReservedInstancesOfferingsRequest" -_IMn = "IncludeMarketplace" -_MIC = "MaxInstanceCount" -_RIOIe = "ReservedInstancesOfferingIds" -_PDri = "PricingDetail" -_PDL = "PricingDetailsList" -_RIO = "ReservedInstancesOffering" -_Mar = "Marketplace" -_PDric = "PricingDetails" -_PDS = "PricingDetailsSet" -_pDS = "pricingDetailsSet" -_rIOI = "reservedInstancesOfferingId" -_RIOL = "ReservedInstancesOfferingList" -_DRIOO = "DescribeReservedInstancesOfferingsOutput" -_cDRIORo = "com.amazonaws.ec2#DescribeReservedInstancesOfferingsResult" -_RIOe = "ReservedInstancesOfferings" -_RIOS = "ReservedInstancesOfferingsSet" -_rIOS = "reservedInstancesOfferingsSet" -_DRIOe = "DescribeReservedInstancesOfferings" -_RSMR = "RouteServerMaxResults" -_RSEIL = "RouteServerEndpointIdsList" -_DRSEIe = "DescribeRouteServerEndpointsInput" -_cDRSERom = "com.amazonaws.ec2#DescribeRouteServerEndpointsRequest" -_RSEIo = "RouteServerEndpointIds" -_RSEL = "RouteServerEndpointsList" -_DRSEOe = "DescribeRouteServerEndpointsOutput" -_cDRSERoma = "com.amazonaws.ec2#DescribeRouteServerEndpointsResult" -_RSEo = "RouteServerEndpoints" -_RSESo = "RouteServerEndpointSet" -_rSES = "routeServerEndpointSet" -_DRSEe = "DescribeRouteServerEndpoints" -_RSPIL = "RouteServerPeerIdsList" -_DRSPIe = "DescribeRouteServerPeersInput" -_cDRSPRom = "com.amazonaws.ec2#DescribeRouteServerPeersRequest" -_RSPIo = "RouteServerPeerIds" -_RSPL = "RouteServerPeersList" -_DRSPOe = "DescribeRouteServerPeersOutput" -_cDRSPRoma = "com.amazonaws.ec2#DescribeRouteServerPeersResult" -_RSPo = "RouteServerPeers" -_RSPSo = "RouteServerPeerSet" -_rSPS = "routeServerPeerSet" -_DRSPe = "DescribeRouteServerPeers" -_RSIL = "RouteServerIdsList" -_DRSIe = "DescribeRouteServersInput" -_cDRSRom = "com.amazonaws.ec2#DescribeRouteServersRequest" -_RSIo = "RouteServerIds" -_RSL = "RouteServersList" -_DRSOe = "DescribeRouteServersOutput" -_cDRSRoma = "com.amazonaws.ec2#DescribeRouteServersResult" -_RSoute = "RouteServers" -_RSSo = "RouteServerSet" -_rSS = "routeServerSet" -_DRSe = "DescribeRouteServers" -_DRTMR = "DescribeRouteTablesMaxResults" -_RTISL = "RouteTableIdStringList" -_DRTIe = "DescribeRouteTablesInput" -_cDRTRo = "com.amazonaws.ec2#DescribeRouteTablesRequest" -_RTLo = "RouteTableList" -_DRTOe = "DescribeRouteTablesOutput" -_cDRTRom = "com.amazonaws.ec2#DescribeRouteTablesResult" -_RTou = "RouteTables" -_RTSo = "RouteTableSet" -_rTSo = "routeTableSet" -_DRTe = "DescribeRouteTables" -_SDTRR = "SlotDateTimeRangeRequest" -_ETa = "EarliestTime" -_LTat = "LatestTime" -_DSIAMR = "DescribeScheduledInstanceAvailabilityMaxResults" -_ODRS = "OccurrenceDayRequestSet" -_ODc = "OccurenceDay" -_SIRR = "ScheduledInstanceRecurrenceRequest" -_ODcc = "OccurrenceDays" -_ODccu = "OccurrenceDay" -_ORTE = "OccurrenceRelativeToEnd" -_OUc = "OccurrenceUnit" -_DSIAI = "DescribeScheduledInstanceAvailabilityInput" -_cDSIAR = "com.amazonaws.ec2#DescribeScheduledInstanceAvailabilityRequest" -_FSSTR = "FirstSlotStartTimeRange" -_MSDIH = "MaxSlotDurationInHours" -_MSDIHi = "MinSlotDurationInHours" -_Rec = "Recurrence" -_ODS = "OccurrenceDaySet" -_SIRc = "ScheduledInstanceRecurrence" -_oDS = "occurrenceDaySet" -_oRTE = "occurrenceRelativeToEnd" -_oU = "occurrenceUnit" -_SIA = "ScheduledInstanceAvailability" -_FSST = "FirstSlotStartTime" -_fSST = "firstSlotStartTime" -_MTDID = "MaxTermDurationInDays" -_mTDID = "maxTermDurationInDays" -_MTDIDi = "MinTermDurationInDays" -_mTDIDi = "minTermDurationInDays" -_NPet = "NetworkPlatform" -_nPet = "networkPlatform" -_PTu = "PurchaseToken" -_pTu = "purchaseToken" -_recu = "recurrence" -_SDIH = "SlotDurationInHours" -_sDIH = "slotDurationInHours" -_TSIH = "TotalScheduledInstanceHours" -_tSIH = "totalScheduledInstanceHours" -_SIAS = "ScheduledInstanceAvailabilitySet" -_DSIAO = "DescribeScheduledInstanceAvailabilityOutput" -_cDSIARo = "com.amazonaws.ec2#DescribeScheduledInstanceAvailabilityResult" -_sIAS = "scheduledInstanceAvailabilitySet" -_DSIA = "DescribeScheduledInstanceAvailability" -_SIIc = "ScheduledInstanceId" -_SIIRS = "ScheduledInstanceIdRequestSet" -_SSTRR = "SlotStartTimeRangeRequest" -_DSII = "DescribeScheduledInstancesInput" -_cDSIR = "com.amazonaws.ec2#DescribeScheduledInstancesRequest" -_SIIch = "ScheduledInstanceIds" -_SSTR = "SlotStartTimeRange" -_SIc = "ScheduledInstance" -_NSST = "NextSlotStartTime" -_nSST = "nextSlotStartTime" -_PSET = "PreviousSlotEndTime" -_pSET = "previousSlotEndTime" -_sIIc = "scheduledInstanceId" -_TED = "TermEndDate" -_tED = "termEndDate" -_TSD = "TermStartDate" -_tSD = "termStartDate" -_SISc = "ScheduledInstanceSet" -_DSIO = "DescribeScheduledInstancesOutput" -_cDSIRo = "com.amazonaws.ec2#DescribeScheduledInstancesResult" -_sISc = "scheduledInstanceSet" -_DSIes = "DescribeScheduledInstances" -_DSIMR = "DescribeSecondaryInterfacesMaxResults" -_SIIL = "SecondaryInterfaceIdList" -_DSIIe = "DescribeSecondaryInterfacesInput" -_cDSIRom = "com.amazonaws.ec2#DescribeSecondaryInterfacesRequest" -_SIIec = "SecondaryInterfaceIds" -_SIAe = "SecondaryInterfaceAttachment" -_SIIA = "SecondaryInterfaceIpv4Address" -_SIIAL = "SecondaryInterfaceIpv4AddressList" -_PIAriv = "PrivateIpv4Addresses" -_PIASriv = "PrivateIpv4AddressSet" -_pIASri = "privateIpv4AddressSet" -_SIAec = "SecondaryInterfaceArn" -_sIA = "secondaryInterfaceArn" -_sITe = "secondaryInterfaceType" -_SIL = "SecondaryInterfaceList" -_DSIOe = "DescribeSecondaryInterfacesOutput" -_cDSIRoma = "com.amazonaws.ec2#DescribeSecondaryInterfacesResult" -_DSIesc = "DescribeSecondaryInterfaces" -_DSNMR = "DescribeSecondaryNetworksMaxResults" -_SNIL = "SecondaryNetworkIdList" -_DSNIe = "DescribeSecondaryNetworksInput" -_cDSNRom = "com.amazonaws.ec2#DescribeSecondaryNetworksRequest" -_SNIe = "SecondaryNetworkIds" -_SNL = "SecondaryNetworkList" -_DSNOe = "DescribeSecondaryNetworksOutput" -_cDSNRoma = "com.amazonaws.ec2#DescribeSecondaryNetworksResult" -_SNeco = "SecondaryNetworks" -_SNSec = "SecondaryNetworkSet" -_sNSec = "secondaryNetworkSet" -_DSNe = "DescribeSecondaryNetworks" -_DSSMR = "DescribeSecondarySubnetsMaxResults" -_SSIL = "SecondarySubnetIdList" -_DSSIe = "DescribeSecondarySubnetsInput" -_cDSSRom = "com.amazonaws.ec2#DescribeSecondarySubnetsRequest" -_SSIec = "SecondarySubnetIds" -_SSL = "SecondarySubnetList" -_DSSOe = "DescribeSecondarySubnetsOutput" -_cDSSRoma = "com.amazonaws.ec2#DescribeSecondarySubnetsResult" -_SSec = "SecondarySubnets" -_SSSe = "SecondarySubnetSet" -_sSSe = "secondarySubnetSet" -_DSSes = "DescribeSecondarySubnets" -_DSGRI = "DescribeSecurityGroupReferencesInput" -_cDSGRR = "com.amazonaws.ec2#DescribeSecurityGroupReferencesRequest" -_SGRec = "SecurityGroupReference" -_RVIe = "ReferencingVpcId" -_rVIe = "referencingVpcId" -_SGRecu = "SecurityGroupReferences" -_DSGRO = "DescribeSecurityGroupReferencesOutput" -_cDSGRRo = "com.amazonaws.ec2#DescribeSecurityGroupReferencesResult" -_SGRSec = "SecurityGroupReferenceSet" -_sGRSec = "securityGroupReferenceSet" -_DSGR = "DescribeSecurityGroupReferences" -_DSGRMR = "DescribeSecurityGroupRulesMaxResults" -_SGRIL = "SecurityGroupRuleIdList" -_DSGRIe = "DescribeSecurityGroupRulesInput" -_cDSGRRom = "com.amazonaws.ec2#DescribeSecurityGroupRulesRequest" -_SGRIe = "SecurityGroupRuleIds" -_DSGROe = "DescribeSecurityGroupRulesOutput" -_cDSGRRoma = "com.amazonaws.ec2#DescribeSecurityGroupRulesResult" -_DSGRe = "DescribeSecurityGroupRules" -_GNSL = "GroupNameStringList" -_DSGMR = "DescribeSecurityGroupsMaxResults" -_DSGIe = "DescribeSecurityGroupsInput" -_cDSGRom = "com.amazonaws.ec2#DescribeSecurityGroupsRequest" -_IPE = "IpPermissionsEgress" -_iPE = "ipPermissionsEgress" -_gD = "groupDescription" -_SGL = "SecurityGroupList" -_DSGOe = "DescribeSecurityGroupsOutput" -_cDSGRoma = "com.amazonaws.ec2#DescribeSecurityGroupsResult" -_SGIecu = "SecurityGroupInfo" -_sGIec = "securityGroupInfo" -_DSGe = "DescribeSecurityGroups" -_DSGVAMR = "DescribeSecurityGroupVpcAssociationsMaxResults" -_DSGVAI = "DescribeSecurityGroupVpcAssociationsInput" -_cDSGVAR = "com.amazonaws.ec2#DescribeSecurityGroupVpcAssociationsRequest" -_SGVA = "SecurityGroupVpcAssociation" -_SGVAL = "SecurityGroupVpcAssociationList" -_DSGVAO = "DescribeSecurityGroupVpcAssociationsOutput" -_cDSGVARo = "com.amazonaws.ec2#DescribeSecurityGroupVpcAssociationsResult" -_SGVAe = "SecurityGroupVpcAssociations" -_SGVASe = "SecurityGroupVpcAssociationSet" -_sGVAS = "securityGroupVpcAssociationSet" -_DSGVA = "DescribeSecurityGroupVpcAssociations" -_SLMR = "ServiceLinkMaxResults" -_DSLVII = "DescribeServiceLinkVirtualInterfacesInput" -_cDSLVIR = "com.amazonaws.ec2#DescribeServiceLinkVirtualInterfacesRequest" -_SLVICS = "ServiceLinkVirtualInterfaceConfigurationState" -_SLVI = "ServiceLinkVirtualInterface" -_sLVII = "serviceLinkVirtualInterfaceId" -_SLVIA = "ServiceLinkVirtualInterfaceArn" -_sLVIA = "serviceLinkVirtualInterfaceArn" -_OIu = "OutpostId" -_oIu = "outpostId" -_SLVIS = "ServiceLinkVirtualInterfaceSet" -_DSLVIO = "DescribeServiceLinkVirtualInterfacesOutput" -_cDSLVIRo = "com.amazonaws.ec2#DescribeServiceLinkVirtualInterfacesResult" -_SLVIe = "ServiceLinkVirtualInterfaces" -_sLVIS = "serviceLinkVirtualInterfaceSet" -_DSLVI = "DescribeServiceLinkVirtualInterfaces" -_SAN = "SnapshotAttributeName" -_cVP = "createVolumePermission" -_DSAI = "DescribeSnapshotAttributeInput" -_cDSAR = "com.amazonaws.ec2#DescribeSnapshotAttributeRequest" -_CVP = "CreateVolumePermission" -_CVPL = "CreateVolumePermissionList" -_DSAO = "DescribeSnapshotAttributeOutput" -_cDSARo = "com.amazonaws.ec2#DescribeSnapshotAttributeResult" -_CVPr = "CreateVolumePermissions" -_DSAe = "DescribeSnapshotAttribute" -_RBSL = "RestorableByStringList" -_DSIescr = "DescribeSnapshotsInput" -_cDSRom = "com.amazonaws.ec2#DescribeSnapshotsRequest" -_OIwn = "OwnerIds" -_RBUI = "RestorableByUserIds" -_RBe = "RestorableBy" -_Sna = "Snapshot" -_SLna = "SnapshotList" -_DSOes = "DescribeSnapshotsOutput" -_cDSRoma = "com.amazonaws.ec2#DescribeSnapshotsResult" -_DSes = "DescribeSnapshots" -_DSTSMR = "DescribeSnapshotTierStatusMaxResults" -_DSTSI = "DescribeSnapshotTierStatusInput" -_cDSTSR = "com.amazonaws.ec2#DescribeSnapshotTierStatusRequest" -_TOSi = "TieringOperationStatus" -_aip_ = "archival_in_progress" -_aip__ = "archival-in-progress" -_ac__ = "archival_completed" -_ac___ = "archival-completed" -_af____ = "archival_failed" -_af_____ = "archival-failed" -_trip = "temporary_restore_in_progress" -_trip_ = "temporary-restore-in-progress" -_trc = "temporary_restore_completed" -_trc_ = "temporary-restore-completed" -_trf = "temporary_restore_failed" -_trf_ = "temporary-restore-failed" -_prip = "permanent_restore_in_progress" -_prip_ = "permanent-restore-in-progress" -_prc = "permanent_restore_completed" -_prc_ = "permanent-restore-completed" -_prf = "permanent_restore_failed" -_prf_ = "permanent-restore-failed" -_STSn = "SnapshotTierStatus" -_LTST = "LastTieringStartTime" -_lTST = "lastTieringStartTime" -_LTPa = "LastTieringProgress" -_lTP = "lastTieringProgress" -_LTOS = "LastTieringOperationStatus" -_lTOS = "lastTieringOperationStatus" -_LTOSD = "LastTieringOperationStatusDetail" -_lTOSD = "lastTieringOperationStatusDetail" -_ACT = "ArchivalCompleteTime" -_aCT = "archivalCompleteTime" -_sTSS = "snapshotTierStatusSet" -_DSTSO = "DescribeSnapshotTierStatusOutput" -_cDSTSRo = "com.amazonaws.ec2#DescribeSnapshotTierStatusResult" -_STSna = "SnapshotTierStatuses" -_STSS = "SnapshotTierStatusSet" -_DSTS = "DescribeSnapshotTierStatus" -_DSDSIe = "DescribeSpotDatafeedSubscriptionInput" -_cDSDSRo = "com.amazonaws.ec2#DescribeSpotDatafeedSubscriptionRequest" -_DSDSOe = "DescribeSpotDatafeedSubscriptionOutput" -_cDSDSRom = "com.amazonaws.ec2#DescribeSpotDatafeedSubscriptionResult" -_DSDSe = "DescribeSpotDatafeedSubscription" -_DSFIMR = "DescribeSpotFleetInstancesMaxResults" -_DSFII = "DescribeSpotFleetInstancesInput" -_cDSFIR = "com.amazonaws.ec2#DescribeSpotFleetInstancesRequest" -_DSFIO = "DescribeSpotFleetInstancesOutput" -_cDSFIRo = "com.amazonaws.ec2#DescribeSpotFleetInstancesResponse" -_DSFI = "DescribeSpotFleetInstances" -_iCns = "instanceChange" -_BC_ = "BATCH_CHANGE" -_fRC = "fleetRequestChange" -_INFORMATION = "INFORMATION" -_DSFRHMR = "DescribeSpotFleetRequestHistoryMaxResults" -_DSFRHI = "DescribeSpotFleetRequestHistoryInput" -_cDSFRHR = "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryRequest" -_HRis = "HistoryRecord" -_DSFRHO = "DescribeSpotFleetRequestHistoryOutput" -_cDSFRHRo = "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryResponse" -_DSFRH = "DescribeSpotFleetRequestHistory" -_DSFRI = "DescribeSpotFleetRequestsInput" -_cDSFRR = "com.amazonaws.ec2#DescribeSpotFleetRequestsRequest" -_nTo = "noTermination" -_SFM = "SpotFleetMonitoring" -_INISL = "InstanceNetworkInterfaceSpecificationList" -_SPp = "SpotPlacement" -_SFTS = "SpotFleetTagSpecification" -_SFTSL = "SpotFleetTagSpecificationList" -_SFLS = "SpotFleetLaunchSpecification" -_ATddr = "AddressingType" -_aTdd = "addressingType" -_SPpo = "SpotPrice" -_sPp = "spotPrice" -_LSLa = "LaunchSpecsList" -_LTO = "LaunchTemplateOverrides" -_LTOL = "LaunchTemplateOverridesList" -_LTCa = "LaunchTemplateConfig" -_LTCL = "LaunchTemplateConfigList" -_CLB = "ClassicLoadBalancer" -_CLBl = "ClassicLoadBalancers" -_CLBC = "ClassicLoadBalancersConfig" -_cLB = "classicLoadBalancers" -_TGa = "TargetGroup" -_TGar = "TargetGroups" -_TGCa = "TargetGroupsConfig" -_tGa = "targetGroups" -_LBC = "LoadBalancersConfig" -_cLBC = "classicLoadBalancersConfig" -_tGCa = "targetGroupsConfig" -_ODAS = "OnDemandAllocationStrategy" -_SCRp = "SpotCapacityRebalance" -_SMS = "SpotMaintenanceStrategies" -_SFRCD = "SpotFleetRequestConfigData" -_oDAS = "onDemandAllocationStrategy" -_sMS = "spotMaintenanceStrategies" -_ODFC = "OnDemandFulfilledCapacity" -_oDFC = "onDemandFulfilledCapacity" -_IFRa = "IamFleetRole" -_iFR = "iamFleetRole" -_LSau = "LaunchSpecifications" -_lSa = "launchSpecifications" -_TCar = "TargetCapacity" -_tCar = "targetCapacity" -_ODMTP = "OnDemandMaxTotalPrice" -_oDMTP = "onDemandMaxTotalPrice" -_SMTP = "SpotMaxTotalPrice" -_sMTP = "spotMaxTotalPrice" -_lBC = "loadBalancersConfig" -_SFRC = "SpotFleetRequestConfig" -_sFRC = "spotFleetRequestConfig" -_SFRSp = "SpotFleetRequestState" -_sFRSp = "spotFleetRequestState" -_SFRCS = "SpotFleetRequestConfigSet" -_DSFRO = "DescribeSpotFleetRequestsOutput" -_cDSFRRo = "com.amazonaws.ec2#DescribeSpotFleetRequestsResponse" -_SFRCp = "SpotFleetRequestConfigs" -_sFRCS = "spotFleetRequestConfigSet" -_DSFR = "DescribeSpotFleetRequests" -_DSIRI = "DescribeSpotInstanceRequestsInput" -_cDSIRR = "com.amazonaws.ec2#DescribeSpotInstanceRequestsRequest" -_RIME = "RunInstancesMonitoringEnabled" -_LSaun = "LaunchSpecification" -_SISp = "SpotInstanceState" -_SISpo = "SpotInstanceStatus" -_SIRp = "SpotInstanceRequest" -_ABHP = "ActualBlockHourlyPrice" -_aBHP = "actualBlockHourlyPrice" -_AZGv = "AvailabilityZoneGroup" -_aZG = "availabilityZoneGroup" -_LGa = "LaunchGroup" -_lG = "launchGroup" -_lSau = "launchSpecification" -_LAZ = "LaunchedAvailabilityZone" -_lAZ = "launchedAvailabilityZone" -_LAZI = "LaunchedAvailabilityZoneId" -_lAZI = "launchedAvailabilityZoneId" -_SIRL = "SpotInstanceRequestList" -_DSIRO = "DescribeSpotInstanceRequestsOutput" -_cDSIRRo = "com.amazonaws.ec2#DescribeSpotInstanceRequestsResult" -_SIRpo = "SpotInstanceRequests" -_DSIR = "DescribeSpotInstanceRequests" -_ITLn = "InstanceTypeList" -_PDLr = "ProductDescriptionList" -_DSPHI = "DescribeSpotPriceHistoryInput" -_cDSPHR = "com.amazonaws.ec2#DescribeSpotPriceHistoryRequest" -_PDro = "ProductDescriptions" -_SPHL = "SpotPriceHistoryList" -_DSPHO = "DescribeSpotPriceHistoryOutput" -_cDSPHRo = "com.amazonaws.ec2#DescribeSpotPriceHistoryResult" -_SPH = "SpotPriceHistory" -_SPHS = "SpotPriceHistorySet" -_sPHS = "spotPriceHistorySet" -_DSPH = "DescribeSpotPriceHistory" -_DSSGMR = "DescribeStaleSecurityGroupsMaxResults" -_DSSGNT = "DescribeStaleSecurityGroupsNextToken" -_DSSGI = "DescribeStaleSecurityGroupsInput" -_cDSSGR = "com.amazonaws.ec2#DescribeStaleSecurityGroupsRequest" -_PLIS = "PrefixListIdSet" -_UIGPS = "UserIdGroupPairSet" -_SIPt = "StaleIpPermission" -_SIPS = "StaleIpPermissionSet" -_SSG = "StaleSecurityGroup" -_SIPta = "StaleIpPermissions" -_sIP = "staleIpPermissions" -_SIPE = "StaleIpPermissionsEgress" -_sIPE = "staleIpPermissionsEgress" -_SSGS = "StaleSecurityGroupSet" -_DSSGO = "DescribeStaleSecurityGroupsOutput" -_cDSSGRo = "com.amazonaws.ec2#DescribeStaleSecurityGroupsResult" -_sSGS = "staleSecurityGroupSet" -_DSSG = "DescribeStaleSecurityGroups" -_IILm = "ImageIdList" -_DSITRMR = "DescribeStoreImageTasksRequestMaxResults" -_DSITI = "DescribeStoreImageTasksInput" -_cDSITR = "com.amazonaws.ec2#DescribeStoreImageTasksRequest" -_SITR = "StoreImageTaskResult" -_AIm = "AmiId" -_aIm = "amiId" -_TST = "TaskStartTime" -_tST = "taskStartTime" -_SKo = "S3objectKey" -_sKo = "s3objectKey" -_PPr = "ProgressPercentage" -_pP = "progressPercentage" -_STSt = "StoreTaskState" -_sTSt = "storeTaskState" -_STFR = "StoreTaskFailureReason" -_sTFR = "storeTaskFailureReason" -_SITRS = "StoreImageTaskResultSet" -_DSITO = "DescribeStoreImageTasksOutput" -_cDSITRo = "com.amazonaws.ec2#DescribeStoreImageTasksResult" -_SITRt = "StoreImageTaskResults" -_sITRS = "storeImageTaskResultSet" -_DSIT = "DescribeStoreImageTasks" -_DSMR = "DescribeSubnetsMaxResults" -_SISLu = "SubnetIdStringList" -_DSIescri = "DescribeSubnetsInput" -_cDSRomam = "com.amazonaws.ec2#DescribeSubnetsRequest" -_SLub = "SubnetList" -_DSOesc = "DescribeSubnetsOutput" -_cDSRomama = "com.amazonaws.ec2#DescribeSubnetsResult" -_SSubn = "SubnetSet" -_sSub = "subnetSet" -_DSesc = "DescribeSubnets" -_DTIes = "DescribeTagsInput" -_cDTRo = "com.amazonaws.ec2#DescribeTagsRequest" -_TDa = "TagDescription" -_TDL = "TagDescriptionList" -_DTOe = "DescribeTagsOutput" -_cDTRom = "com.amazonaws.ec2#DescribeTagsResult" -_DTes = "DescribeTags" -_TMMR = "TrafficMirroringMaxResults" -_TMFRIL = "TrafficMirrorFilterRuleIdList" -_DTMFRIe = "DescribeTrafficMirrorFilterRulesInput" -_cDTMFRRom = "com.amazonaws.ec2#DescribeTrafficMirrorFilterRulesRequest" -_TMFRIr = "TrafficMirrorFilterRuleIds" -_TMFRS = "TrafficMirrorFilterRuleSet" -_DTMFROe = "DescribeTrafficMirrorFilterRulesOutput" -_cDTMFRRoma = "com.amazonaws.ec2#DescribeTrafficMirrorFilterRulesResult" -_TMFRr = "TrafficMirrorFilterRules" -_tMFRS = "trafficMirrorFilterRuleSet" -_DTMFRe = "DescribeTrafficMirrorFilterRules" -_TMFIL = "TrafficMirrorFilterIdList" -_DTMFIe = "DescribeTrafficMirrorFiltersInput" -_cDTMFRom = "com.amazonaws.ec2#DescribeTrafficMirrorFiltersRequest" -_TMFIr = "TrafficMirrorFilterIds" -_TMFS = "TrafficMirrorFilterSet" -_DTMFOe = "DescribeTrafficMirrorFiltersOutput" -_cDTMFRoma = "com.amazonaws.ec2#DescribeTrafficMirrorFiltersResult" -_TMFr = "TrafficMirrorFilters" -_tMFS = "trafficMirrorFilterSet" -_DTMFe = "DescribeTrafficMirrorFilters" -_TMSIL = "TrafficMirrorSessionIdList" -_DTMSIe = "DescribeTrafficMirrorSessionsInput" -_cDTMSRom = "com.amazonaws.ec2#DescribeTrafficMirrorSessionsRequest" -_TMSIr = "TrafficMirrorSessionIds" -_TMSS = "TrafficMirrorSessionSet" -_DTMSOe = "DescribeTrafficMirrorSessionsOutput" -_cDTMSRoma = "com.amazonaws.ec2#DescribeTrafficMirrorSessionsResult" -_TMSr = "TrafficMirrorSessions" -_tMSS = "trafficMirrorSessionSet" -_DTMSe = "DescribeTrafficMirrorSessions" -_TMTIL = "TrafficMirrorTargetIdList" -_DTMTIe = "DescribeTrafficMirrorTargetsInput" -_cDTMTRom = "com.amazonaws.ec2#DescribeTrafficMirrorTargetsRequest" -_TMTIr = "TrafficMirrorTargetIds" -_TMTS = "TrafficMirrorTargetSet" -_DTMTOe = "DescribeTrafficMirrorTargetsOutput" -_cDTMTRoma = "com.amazonaws.ec2#DescribeTrafficMirrorTargetsResult" -_TMTr = "TrafficMirrorTargets" -_tMTS = "trafficMirrorTargetSet" -_DTMTe = "DescribeTrafficMirrorTargets" -_TGMR = "TransitGatewayMaxResults" -_DTGAIe = "DescribeTransitGatewayAttachmentsInput" -_cDTGAR = "com.amazonaws.ec2#DescribeTransitGatewayAttachmentsRequest" -_TGAIr = "TransitGatewayAttachmentIds" -_TGAA = "TransitGatewayAttachmentAssociation" -_TGANGSS = "TransitGatewayAttachmentNatGatewaySupportState" -_TGOI = "TransitGatewayOwnerId" -_tGOI = "transitGatewayOwnerId" -_NGSat = "NatGatewaySupport" -_nGSa = "natGatewaySupport" -_TGAL = "TransitGatewayAttachmentList" -_DTGAO = "DescribeTransitGatewayAttachmentsOutput" -_cDTGARo = "com.amazonaws.ec2#DescribeTransitGatewayAttachmentsResult" -_DTGA = "DescribeTransitGatewayAttachments" -_TGCPISL = "TransitGatewayConnectPeerIdStringList" -_DTGCPIe = "DescribeTransitGatewayConnectPeersInput" -_cDTGCPRom = "com.amazonaws.ec2#DescribeTransitGatewayConnectPeersRequest" -_TGCPIr = "TransitGatewayConnectPeerIds" -_TGCPL = "TransitGatewayConnectPeerList" -_DTGCPOe = "DescribeTransitGatewayConnectPeersOutput" -_cDTGCPRoma = "com.amazonaws.ec2#DescribeTransitGatewayConnectPeersResult" -_TGCPr = "TransitGatewayConnectPeers" -_TGCPSr = "TransitGatewayConnectPeerSet" -_tGCPS = "transitGatewayConnectPeerSet" -_DTGCPe = "DescribeTransitGatewayConnectPeers" -_DTGCIe = "DescribeTransitGatewayConnectsInput" -_cDTGCRom = "com.amazonaws.ec2#DescribeTransitGatewayConnectsRequest" -_TGCL = "TransitGatewayConnectList" -_DTGCOe = "DescribeTransitGatewayConnectsOutput" -_cDTGCRoma = "com.amazonaws.ec2#DescribeTransitGatewayConnectsResult" -_TGCra = "TransitGatewayConnects" -_TGCS = "TransitGatewayConnectSet" -_tGCS = "transitGatewayConnectSet" -_DTGCe = "DescribeTransitGatewayConnects" -_TGMPISL = "TransitGatewayMeteringPolicyIdStringList" -_DTGMPIe = "DescribeTransitGatewayMeteringPoliciesInput" -_cDTGMPRom = "com.amazonaws.ec2#DescribeTransitGatewayMeteringPoliciesRequest" -_TGMPIr = "TransitGatewayMeteringPolicyIds" -_TGMPL = "TransitGatewayMeteringPolicyList" -_DTGMPOe = "DescribeTransitGatewayMeteringPoliciesOutput" -_cDTGMPRoma = "com.amazonaws.ec2#DescribeTransitGatewayMeteringPoliciesResult" -_TGMPr = "TransitGatewayMeteringPolicies" -_tGMPr = "transitGatewayMeteringPolicies" -_DTGMPe = "DescribeTransitGatewayMeteringPolicies" -_TGMDISL = "TransitGatewayMulticastDomainIdStringList" -_DTGMDIe = "DescribeTransitGatewayMulticastDomainsInput" -_cDTGMDRom = "com.amazonaws.ec2#DescribeTransitGatewayMulticastDomainsRequest" -_TGMDIr = "TransitGatewayMulticastDomainIds" -_TGMDL = "TransitGatewayMulticastDomainList" -_DTGMDOe = "DescribeTransitGatewayMulticastDomainsOutput" -_cDTGMDRoma = "com.amazonaws.ec2#DescribeTransitGatewayMulticastDomainsResult" -_TGMDr = "TransitGatewayMulticastDomains" -_tGMDr = "transitGatewayMulticastDomains" -_DTGMDe = "DescribeTransitGatewayMulticastDomains" -_DTGPAIe = "DescribeTransitGatewayPeeringAttachmentsInput" -_cDTGPARom = "com.amazonaws.ec2#DescribeTransitGatewayPeeringAttachmentsRequest" -_TGPAL = "TransitGatewayPeeringAttachmentList" -_DTGPAOe = "DescribeTransitGatewayPeeringAttachmentsOutput" -_cDTGPARoma = "com.amazonaws.ec2#DescribeTransitGatewayPeeringAttachmentsResult" -_TGPAr = "TransitGatewayPeeringAttachments" -_tGPAr = "transitGatewayPeeringAttachments" -_DTGPAe = "DescribeTransitGatewayPeeringAttachments" -_TGPTISL = "TransitGatewayPolicyTableIdStringList" -_DTGPTIe = "DescribeTransitGatewayPolicyTablesInput" -_cDTGPTRom = "com.amazonaws.ec2#DescribeTransitGatewayPolicyTablesRequest" -_TGPTIr = "TransitGatewayPolicyTableIds" -_TGPTL = "TransitGatewayPolicyTableList" -_DTGPTOe = "DescribeTransitGatewayPolicyTablesOutput" -_cDTGPTRoma = "com.amazonaws.ec2#DescribeTransitGatewayPolicyTablesResult" -_TGPTr = "TransitGatewayPolicyTables" -_tGPTr = "transitGatewayPolicyTables" -_DTGPTe = "DescribeTransitGatewayPolicyTables" -_TGRTAISL = "TransitGatewayRouteTableAnnouncementIdStringList" -_DTGRTAIe = "DescribeTransitGatewayRouteTableAnnouncementsInput" -_cDTGRTARom = "com.amazonaws.ec2#DescribeTransitGatewayRouteTableAnnouncementsRequest" -_TGRTAIr = "TransitGatewayRouteTableAnnouncementIds" -_TGRTAL = "TransitGatewayRouteTableAnnouncementList" -_DTGRTAOe = "DescribeTransitGatewayRouteTableAnnouncementsOutput" -_cDTGRTARoma = "com.amazonaws.ec2#DescribeTransitGatewayRouteTableAnnouncementsResult" -_TGRTAr = "TransitGatewayRouteTableAnnouncements" -_tGRTAr = "transitGatewayRouteTableAnnouncements" -_DTGRTAe = "DescribeTransitGatewayRouteTableAnnouncements" -_TGRTISL = "TransitGatewayRouteTableIdStringList" -_DTGRTIe = "DescribeTransitGatewayRouteTablesInput" -_cDTGRTRom = "com.amazonaws.ec2#DescribeTransitGatewayRouteTablesRequest" -_TGRTIr = "TransitGatewayRouteTableIds" -_TGRTL = "TransitGatewayRouteTableList" -_DTGRTOe = "DescribeTransitGatewayRouteTablesOutput" -_cDTGRTRoma = "com.amazonaws.ec2#DescribeTransitGatewayRouteTablesResult" -_TGRTra = "TransitGatewayRouteTables" -_tGRTr = "transitGatewayRouteTables" -_DTGRTe = "DescribeTransitGatewayRouteTables" -_TGISL = "TransitGatewayIdStringList" -_DTGIe = "DescribeTransitGatewaysInput" -_cDTGRom = "com.amazonaws.ec2#DescribeTransitGatewaysRequest" -_TGIr = "TransitGatewayIds" -_TGL = "TransitGatewayList" -_DTGOe = "DescribeTransitGatewaysOutput" -_cDTGRoma = "com.amazonaws.ec2#DescribeTransitGatewaysResult" -_TGra = "TransitGateways" -_TGSr = "TransitGatewaySet" -_tGS = "transitGatewaySet" -_DTGe = "DescribeTransitGateways" -_DTGVAIe = "DescribeTransitGatewayVpcAttachmentsInput" -_cDTGVARom = "com.amazonaws.ec2#DescribeTransitGatewayVpcAttachmentsRequest" -_TGVAL = "TransitGatewayVpcAttachmentList" -_DTGVAOe = "DescribeTransitGatewayVpcAttachmentsOutput" -_cDTGVARoma = "com.amazonaws.ec2#DescribeTransitGatewayVpcAttachmentsResult" -_TGVAr = "TransitGatewayVpcAttachments" -_tGVAr = "transitGatewayVpcAttachments" -_DTGVAe = "DescribeTransitGatewayVpcAttachments" -_TIAIL = "TrunkInterfaceAssociationIdList" -_DTIAMR = "DescribeTrunkInterfaceAssociationsMaxResults" -_DTIAI = "DescribeTrunkInterfaceAssociationsInput" -_cDTIAR = "com.amazonaws.ec2#DescribeTrunkInterfaceAssociationsRequest" -_TIAL = "TrunkInterfaceAssociationList" -_DTIAO = "DescribeTrunkInterfaceAssociationsOutput" -_cDTIARo = "com.amazonaws.ec2#DescribeTrunkInterfaceAssociationsResult" -_IAnt = "InterfaceAssociations" -_IASnt = "InterfaceAssociationSet" -_iASn = "interfaceAssociationSet" -_DTIA = "DescribeTrunkInterfaceAssociations" -_DVAEMR = "DescribeVerifiedAccessEndpointsMaxResults" -_VAEIL = "VerifiedAccessEndpointIdList" -_DVAEIe = "DescribeVerifiedAccessEndpointsInput" -_cDVAERom = "com.amazonaws.ec2#DescribeVerifiedAccessEndpointsRequest" -_VAEIe = "VerifiedAccessEndpointIds" -_VAEL = "VerifiedAccessEndpointList" -_DVAEOe = "DescribeVerifiedAccessEndpointsOutput" -_cDVAERoma = "com.amazonaws.ec2#DescribeVerifiedAccessEndpointsResult" -_VAEe = "VerifiedAccessEndpoints" -_VAESe = "VerifiedAccessEndpointSet" -_vAES = "verifiedAccessEndpointSet" -_DVAEe = "DescribeVerifiedAccessEndpoints" -_DVAGMR = "DescribeVerifiedAccessGroupMaxResults" -_VAGIL = "VerifiedAccessGroupIdList" -_DVAGIe = "DescribeVerifiedAccessGroupsInput" -_cDVAGRom = "com.amazonaws.ec2#DescribeVerifiedAccessGroupsRequest" -_VAGIe = "VerifiedAccessGroupIds" -_VAGL = "VerifiedAccessGroupList" -_DVAGOe = "DescribeVerifiedAccessGroupsOutput" -_cDVAGRoma = "com.amazonaws.ec2#DescribeVerifiedAccessGroupsResult" -_VAGe = "VerifiedAccessGroups" -_VAGS = "VerifiedAccessGroupSet" -_vAGS = "verifiedAccessGroupSet" -_DVAGe = "DescribeVerifiedAccessGroups" -_DVAILCMR = "DescribeVerifiedAccessInstanceLoggingConfigurationsMaxResults" -_VAIIL = "VerifiedAccessInstanceIdList" -_DVAILCI = "DescribeVerifiedAccessInstanceLoggingConfigurationsInput" -_cDVAILCR = ( - "com.amazonaws.ec2#DescribeVerifiedAccessInstanceLoggingConfigurationsRequest" -) -_VAIIe = "VerifiedAccessInstanceIds" -_VALDSC = "VerifiedAccessLogDeliveryStatusCode" -_VALDS = "VerifiedAccessLogDeliveryStatus" -_VALCWLD = "VerifiedAccessLogCloudWatchLogsDestination" -_DSeli = "DeliveryStatus" -_dSel = "deliveryStatus" -_LGog = "LogGroup" -_lGo = "logGroup" -_VALKDFD = "VerifiedAccessLogKinesisDataFirehoseDestination" -_DSeliv = "DeliveryStream" -_dSeli = "deliveryStream" -_VALSD = "VerifiedAccessLogS3Destination" -_BN = "BucketName" -_bN = "bucketName" -_BOu = "BucketOwner" -_bOu = "bucketOwner" -_VALe = "VerifiedAccessLogs" -_CWL = "CloudWatchLogs" -_cWL = "cloudWatchLogs" -_KDF = "KinesisDataFirehose" -_kDF = "kinesisDataFirehose" -_LVo = "LogVersion" -_lV = "logVersion" -_ITCn = "IncludeTrustContext" -_iTCn = "includeTrustContext" -_VAILC = "VerifiedAccessInstanceLoggingConfiguration" -_ALc = "AccessLogs" -_aL = "accessLogs" -_VAILCL = "VerifiedAccessInstanceLoggingConfigurationList" -_DVAILCO = "DescribeVerifiedAccessInstanceLoggingConfigurationsOutput" -_cDVAILCRo = ( - "com.amazonaws.ec2#DescribeVerifiedAccessInstanceLoggingConfigurationsResult" -) -_LCo = "LoggingConfigurations" -_LCS = "LoggingConfigurationSet" -_lCS = "loggingConfigurationSet" -_DVAILC = "DescribeVerifiedAccessInstanceLoggingConfigurations" -_DVAIMR = "DescribeVerifiedAccessInstancesMaxResults" -_DVAIIe = "DescribeVerifiedAccessInstancesInput" -_cDVAIRom = "com.amazonaws.ec2#DescribeVerifiedAccessInstancesRequest" -_VAIL = "VerifiedAccessInstanceList" -_DVAIOe = "DescribeVerifiedAccessInstancesOutput" -_cDVAIRoma = "com.amazonaws.ec2#DescribeVerifiedAccessInstancesResult" -_VAIe = "VerifiedAccessInstances" -_VAIS = "VerifiedAccessInstanceSet" -_vAIS = "verifiedAccessInstanceSet" -_DVAIe = "DescribeVerifiedAccessInstances" -_DVATPMR = "DescribeVerifiedAccessTrustProvidersMaxResults" -_VATPIL = "VerifiedAccessTrustProviderIdList" -_DVATPIe = "DescribeVerifiedAccessTrustProvidersInput" -_cDVATPRom = "com.amazonaws.ec2#DescribeVerifiedAccessTrustProvidersRequest" -_VATPIe = "VerifiedAccessTrustProviderIds" -_VATPL = "VerifiedAccessTrustProviderList" -_DVATPOe = "DescribeVerifiedAccessTrustProvidersOutput" -_cDVATPRoma = "com.amazonaws.ec2#DescribeVerifiedAccessTrustProvidersResult" -_DVATPe = "DescribeVerifiedAccessTrustProviders" -_VAN = "VolumeAttributeName" -_aEIO = "autoEnableIO" -_DVAIes = "DescribeVolumeAttributeInput" -_cDVAR = "com.amazonaws.ec2#DescribeVolumeAttributeRequest" -_DVAO = "DescribeVolumeAttributeOutput" -_cDVARo = "com.amazonaws.ec2#DescribeVolumeAttributeResult" -_AEIO = "AutoEnableIO" -_DVA = "DescribeVolumeAttribute" -_DVIes = "DescribeVolumesInput" -_cDVRom = "com.amazonaws.ec2#DescribeVolumesRequest" -_VIol = "VolumeIds" -_DVOes = "DescribeVolumesOutput" -_cDVRoma = "com.amazonaws.ec2#DescribeVolumesResult" -_DVes = "DescribeVolumes" -_DVMI = "DescribeVolumesModificationsInput" -_cDVMR = "com.amazonaws.ec2#DescribeVolumesModificationsRequest" -_VMS = "VolumeModificationState" -_VM = "VolumeModification" -_TSarg = "TargetSize" -_tSarg = "targetSize" -_TIar = "TargetIops" -_tIar = "targetIops" -_TVT = "TargetVolumeType" -_tVT = "targetVolumeType" -_TTa = "TargetThroughput" -_tTa = "targetThroughput" -_TMAE = "TargetMultiAttachEnabled" -_tMAE = "targetMultiAttachEnabled" -_OSr = "OriginalSize" -_oSr = "originalSize" -_OIr = "OriginalIops" -_oIr = "originalIops" -_OVT = "OriginalVolumeType" -_oVT = "originalVolumeType" -_OTr = "OriginalThroughput" -_oTr = "originalThroughput" -_OMAE = "OriginalMultiAttachEnabled" -_oMAE = "originalMultiAttachEnabled" -_VML = "VolumeModificationList" -_DVMO = "DescribeVolumesModificationsOutput" -_cDVMRo = "com.amazonaws.ec2#DescribeVolumesModificationsResult" -_VMo = "VolumesModifications" -_VMSo = "VolumeModificationSet" -_vMS = "volumeModificationSet" -_DVM = "DescribeVolumesModifications" -_DVSI = "DescribeVolumeStatusInput" -_cDVSR = "com.amazonaws.ec2#DescribeVolumeStatusRequest" -_VSA = "VolumeStatusAction" -_EIve = "EventId" -_eIve = "eventId" -_VSAL = "VolumeStatusActionsList" -_VSAS = "VolumeStatusAttachmentStatus" -_IPo = "IoPerformance" -_iPo = "ioPerformance" -_VSASL = "VolumeStatusAttachmentStatusList" -_VSE = "VolumeStatusEvent" -_VSEL = "VolumeStatusEventsList" -_ITni = "InitializationType" -_pr_ = "provisioned_rate" -_pr__ = "provisioned-rate" -_vc____ = "volume_copy" -_vc_____ = "volume-copy" -_ISDn = "InitializationStatusDetails" -_iTni = "initializationType" -_ETTCIS = "EstimatedTimeToCompleteInSeconds" -_eTTCIS = "estimatedTimeToCompleteInSeconds" -_VSN = "VolumeStatusName" -_ie_____ = "io_enabled" -_ie______ = "io-enabled" -_ip_________ = "io_performance" -_ip__________ = "io-performance" -_is______ = "initialization_state" -_is_______ = "initialization-state" -_VSD = "VolumeStatusDetails" -_VSDL = "VolumeStatusDetailsList" -_VSIS = "VolumeStatusInfoStatus" -_VSI = "VolumeStatusInfo" -_VSIo = "VolumeStatusItem" -_Acti = "Actions" -_ASct = "ActionsSet" -_aSct = "actionsSet" -_VSolu = "VolumeStatus" -_vSol = "volumeStatus" -_ASttac = "AttachmentStatuses" -_aStta = "attachmentStatuses" -_iSD = "initializationStatusDetails" -_VSLo = "VolumeStatusList" -_DVSO = "DescribeVolumeStatusOutput" -_cDVSRo = "com.amazonaws.ec2#DescribeVolumeStatusResult" -_VSolum = "VolumeStatuses" -_VSS = "VolumeStatusSet" -_vSS = "volumeStatusSet" -_DVS = "DescribeVolumeStatus" -_VANp = "VpcAttributeName" -_eDS = "enableDnsSupport" -_eDH = "enableDnsHostnames" -_eNAUM = "enableNetworkAddressUsageMetrics" -_DVAIesc = "DescribeVpcAttributeInput" -_cDVARom = "com.amazonaws.ec2#DescribeVpcAttributeRequest" -_DVAOe = "DescribeVpcAttributeOutput" -_cDVARoma = "com.amazonaws.ec2#DescribeVpcAttributeResult" -_EDH = "EnableDnsHostnames" -_EDS = "EnableDnsSupport" -_ENAUM = "EnableNetworkAddressUsageMetrics" -_DVAe = "DescribeVpcAttribute" -_VBPAEIL = "VpcBlockPublicAccessExclusionIdList" -_DVBPAEMR = "DescribeVpcBlockPublicAccessExclusionsMaxResults" -_DVBPAEIe = "DescribeVpcBlockPublicAccessExclusionsInput" -_cDVBPAERom = "com.amazonaws.ec2#DescribeVpcBlockPublicAccessExclusionsRequest" -_EIxc = "ExclusionIds" -_VBPAEL = "VpcBlockPublicAccessExclusionList" -_DVBPAEOe = "DescribeVpcBlockPublicAccessExclusionsOutput" -_cDVBPAERoma = "com.amazonaws.ec2#DescribeVpcBlockPublicAccessExclusionsResult" -_VBPAEp = "VpcBlockPublicAccessExclusions" -_VBPAESp = "VpcBlockPublicAccessExclusionSet" -_vBPAES = "vpcBlockPublicAccessExclusionSet" -_DVBPAEe = "DescribeVpcBlockPublicAccessExclusions" -_DVBPAOI = "DescribeVpcBlockPublicAccessOptionsInput" -_cDVBPAOR = "com.amazonaws.ec2#DescribeVpcBlockPublicAccessOptionsRequest" -_VBPAEA = "VpcBlockPublicAccessExclusionsAllowed" -_allo = "allowed" -_na_______ = "not_allowed" -_na________ = "not-allowed" -_VBPAS = "VpcBlockPublicAccessState" -_VBPAO = "VpcBlockPublicAccessOptions" -_ARw = "AwsRegion" -_aRw = "awsRegion" -_EAx = "ExclusionsAllowed" -_eAx = "exclusionsAllowed" -_DVBPAOO = "DescribeVpcBlockPublicAccessOptionsOutput" -_cDVBPAORo = "com.amazonaws.ec2#DescribeVpcBlockPublicAccessOptionsResult" -_vBPAO = "vpcBlockPublicAccessOptions" -_DVBPAO = "DescribeVpcBlockPublicAccessOptions" -_VCLIL = "VpcClassicLinkIdList" -_DVCLI = "DescribeVpcClassicLinkInput" -_cDVCLR = "com.amazonaws.ec2#DescribeVpcClassicLinkRequest" -_VIp = "VpcIds" -_VCL = "VpcClassicLink" -_CLE = "ClassicLinkEnabled" -_cLE = "classicLinkEnabled" -_VCLL = "VpcClassicLinkList" -_DVCLO = "DescribeVpcClassicLinkOutput" -_cDVCLRo = "com.amazonaws.ec2#DescribeVpcClassicLinkResult" -_Vpc = "Vpcs" -_VSpc = "VpcSet" -_vSp = "vpcSet" -_DVCL = "DescribeVpcClassicLink" -_DVCLDSMR = "DescribeVpcClassicLinkDnsSupportMaxResults" -_DVCLDSNT = "DescribeVpcClassicLinkDnsSupportNextToken" -_DVCLDSI = "DescribeVpcClassicLinkDnsSupportInput" -_cDVCLDSR = "com.amazonaws.ec2#DescribeVpcClassicLinkDnsSupportRequest" -_CLDS = "ClassicLinkDnsSupport" -_CLDSl = "ClassicLinkDnsSupported" -_cLDS = "classicLinkDnsSupported" -_CLDSL = "ClassicLinkDnsSupportList" -_DVCLDSO = "DescribeVpcClassicLinkDnsSupportOutput" -_cDVCLDSRo = "com.amazonaws.ec2#DescribeVpcClassicLinkDnsSupportResult" -_vpcs = "vpcs" -_DVCLDS = "DescribeVpcClassicLinkDnsSupport" -_DVECMR = "DescribeVpcEncryptionControlsMaxResults" -_VECIL = "VpcEncryptionControlIdList" -_VISLp = "VpcIdStringList" -_DVECIe = "DescribeVpcEncryptionControlsInput" -_cDVECRom = "com.amazonaws.ec2#DescribeVpcEncryptionControlsRequest" -_VECIp = "VpcEncryptionControlIds" -_VECL = "VpcEncryptionControlList" -_DVECOe = "DescribeVpcEncryptionControlsOutput" -_cDVECRoma = "com.amazonaws.ec2#DescribeVpcEncryptionControlsResult" -_VECpc = "VpcEncryptionControls" -_VECSp = "VpcEncryptionControlSet" -_vECS = "vpcEncryptionControlSet" -_DVECe = "DescribeVpcEncryptionControls" -_MRa = "MaxResults2" -_DVEAI = "DescribeVpcEndpointAssociationsInput" -_cDVEAR = "com.amazonaws.ec2#DescribeVpcEndpointAssociationsRequest" -_VEAp = "VpcEndpointAssociation" -_SNN = "ServiceNetworkName" -_sNN = "serviceNetworkName" -_ARA = "AssociatedResourceAccessibility" -_aRA = "associatedResourceAccessibility" -_dE = "dnsEntry" -_PDEr = "PrivateDnsEntry" -_pDEr = "privateDnsEntry" -_ARAs = "AssociatedResourceArn" -_aRAs = "associatedResourceArn" -_RCGA = "ResourceConfigurationGroupArn" -_rCGA = "resourceConfigurationGroupArn" -_VEAS = "VpcEndpointAssociationSet" -_DVEAO = "DescribeVpcEndpointAssociationsOutput" -_cDVEARo = "com.amazonaws.ec2#DescribeVpcEndpointAssociationsResult" -_VEApc = "VpcEndpointAssociations" -_vEAS = "vpcEndpointAssociationSet" -_DVEA = "DescribeVpcEndpointAssociations" -_DVECNIe = "DescribeVpcEndpointConnectionNotificationsInput" -_cDVECNRom = "com.amazonaws.ec2#DescribeVpcEndpointConnectionNotificationsRequest" -_CNSo = "ConnectionNotificationSet" -_DVECNOe = "DescribeVpcEndpointConnectionNotificationsOutput" -_cDVECNRoma = "com.amazonaws.ec2#DescribeVpcEndpointConnectionNotificationsResult" -_cNSo = "connectionNotificationSet" -_DVECNe = "DescribeVpcEndpointConnectionNotifications" -_DVECIes = "DescribeVpcEndpointConnectionsInput" -_cDVECRomam = "com.amazonaws.ec2#DescribeVpcEndpointConnectionsRequest" -_VECpcn = "VpcEndpointConnection" -_VEO = "VpcEndpointOwner" -_vEO = "vpcEndpointOwner" -_VESpc = "VpcEndpointState" -_vESpc = "vpcEndpointState" -_VECIpc = "VpcEndpointConnectionId" -_vECIp = "vpcEndpointConnectionId" -_VER = "VpcEndpointRegion" -_vER = "vpcEndpointRegion" -_VECSpc = "VpcEndpointConnectionSet" -_DVECOes = "DescribeVpcEndpointConnectionsOutput" -_cDVECRomama = "com.amazonaws.ec2#DescribeVpcEndpointConnectionsResult" -_VECpcnd = "VpcEndpointConnections" -_vECSp = "vpcEndpointConnectionSet" -_DVECes = "DescribeVpcEndpointConnections" -_DVEIe = "DescribeVpcEndpointsInput" -_cDVERom = "com.amazonaws.ec2#DescribeVpcEndpointsRequest" -_VESpcn = "VpcEndpointSet" -_DVEOe = "DescribeVpcEndpointsOutput" -_cDVERoma = "com.amazonaws.ec2#DescribeVpcEndpointsResult" -_VEp = "VpcEndpoints" -_vESpcn = "vpcEndpointSet" -_DVEe = "DescribeVpcEndpoints" -_DVESCIe = "DescribeVpcEndpointServiceConfigurationsInput" -_cDVESCRom = "com.amazonaws.ec2#DescribeVpcEndpointServiceConfigurationsRequest" -_SCS = "ServiceConfigurationSet" -_DVESCOe = "DescribeVpcEndpointServiceConfigurationsOutput" -_cDVESCRoma = "com.amazonaws.ec2#DescribeVpcEndpointServiceConfigurationsResult" -_SCer = "ServiceConfigurations" -_sCS = "serviceConfigurationSet" -_DVESCe = "DescribeVpcEndpointServiceConfigurations" -_DVESPI = "DescribeVpcEndpointServicePermissionsInput" -_cDVESPR = "com.amazonaws.ec2#DescribeVpcEndpointServicePermissionsRequest" -_DVESPO = "DescribeVpcEndpointServicePermissionsOutput" -_cDVESPRo = "com.amazonaws.ec2#DescribeVpcEndpointServicePermissionsResult" -_APll = "AllowedPrincipals" -_aPl = "allowedPrincipals" -_DVESP = "DescribeVpcEndpointServicePermissions" -_DVESI = "DescribeVpcEndpointServicesInput" -_cDVESR = "com.amazonaws.ec2#DescribeVpcEndpointServicesRequest" -_SNerv = "ServiceNames" -_SRer = "ServiceRegions" -_PDD = "PrivateDnsDetails" -_PDDS = "PrivateDnsDetailsSet" -_SDe = "ServiceDetail" -_PDNri = "PrivateDnsNames" -_PDNS = "PrivateDnsNameSet" -_pDNS = "privateDnsNameSet" -_VEPS = "VpcEndpointPolicySupported" -_vEPS = "vpcEndpointPolicySupported" -_PDNVS = "PrivateDnsNameVerificationState" -_pDNVS = "privateDnsNameVerificationState" -_SDSe = "ServiceDetailSet" -_DVESO = "DescribeVpcEndpointServicesOutput" -_cDVESRo = "com.amazonaws.ec2#DescribeVpcEndpointServicesResult" -_SNSer = "ServiceNameSet" -_sNSer = "serviceNameSet" -_SDer = "ServiceDetails" -_sDSe = "serviceDetailSet" -_DVES = "DescribeVpcEndpointServices" -_DVPCMR = "DescribeVpcPeeringConnectionsMaxResults" -_VPCIL = "VpcPeeringConnectionIdList" -_DVPCIe = "DescribeVpcPeeringConnectionsInput" -_cDVPCRom = "com.amazonaws.ec2#DescribeVpcPeeringConnectionsRequest" -_VPCIp = "VpcPeeringConnectionIds" -_VPCL = "VpcPeeringConnectionList" -_DVPCOe = "DescribeVpcPeeringConnectionsOutput" -_cDVPCRoma = "com.amazonaws.ec2#DescribeVpcPeeringConnectionsResult" -_VPCp = "VpcPeeringConnections" -_VPCS = "VpcPeeringConnectionSet" -_vPCS = "vpcPeeringConnectionSet" -_DVPCe = "DescribeVpcPeeringConnections" -_DVMR = "DescribeVpcsMaxResults" -_DVIesc = "DescribeVpcsInput" -_cDVRomam = "com.amazonaws.ec2#DescribeVpcsRequest" -_VLp = "VpcList" -_DVOesc = "DescribeVpcsOutput" -_cDVRomama = "com.amazonaws.ec2#DescribeVpcsResult" -_DVesc = "DescribeVpcs" -_GVCDMR = "GVCDMaxResults" -_VCISL = "VpnConcentratorIdStringList" -_DVCIes = "DescribeVpnConcentratorsInput" -_cDVCRoma = "com.amazonaws.ec2#DescribeVpnConcentratorsRequest" -_VCIpn = "VpnConcentratorIds" -_VCLp = "VpnConcentratorList" -_DVCOes = "DescribeVpnConcentratorsOutput" -_cDVCRomam = "com.amazonaws.ec2#DescribeVpnConcentratorsResult" -_VCpn = "VpnConcentrators" -_VCS = "VpnConcentratorSet" -_vCS = "vpnConcentratorSet" -_DVCes = "DescribeVpnConcentrators" -_VCISLp = "VpnConnectionIdStringList" -_DVCIesc = "DescribeVpnConnectionsInput" -_cDVCRomama = "com.amazonaws.ec2#DescribeVpnConnectionsRequest" -_VCIpno = "VpnConnectionIds" -_VCLpn = "VpnConnectionList" -_DVCOesc = "DescribeVpnConnectionsOutput" -_cDVCRomamaz = "com.amazonaws.ec2#DescribeVpnConnectionsResult" -_VCpno = "VpnConnections" -_VCSp = "VpnConnectionSet" -_vCSp = "vpnConnectionSet" -_DVCesc = "DescribeVpnConnections" -_VGISL = "VpnGatewayIdStringList" -_DVGIe = "DescribeVpnGatewaysInput" -_cDVGRo = "com.amazonaws.ec2#DescribeVpnGatewaysRequest" -_VGIp = "VpnGatewayIds" -_VGL = "VpnGatewayList" -_DVGOe = "DescribeVpnGatewaysOutput" -_cDVGRom = "com.amazonaws.ec2#DescribeVpnGatewaysResult" -_VGp = "VpnGateways" -_VGS = "VpnGatewaySet" -_vGS = "vpnGatewaySet" -_DVGe = "DescribeVpnGateways" -_DCLVI = "DetachClassicLinkVpcInput" -_cDCLVR = "com.amazonaws.ec2#DetachClassicLinkVpcRequest" -_DCLVO = "DetachClassicLinkVpcOutput" -_cDCLVRo = "com.amazonaws.ec2#DetachClassicLinkVpcResult" -_DCLV = "DetachClassicLinkVpc" -_DIWI = "DetachImageWatermarkInput" -_cDIWR = "com.amazonaws.ec2#DetachImageWatermarkRequest" -_DIWO = "DetachImageWatermarkOutput" -_cDIWRo = "com.amazonaws.ec2#DetachImageWatermarkResult" -_DIW = "DetachImageWatermark" -_DIGIet = "DetachInternetGatewayInput" -_cDIGRoma = "com.amazonaws.ec2#DetachInternetGatewayRequest" -_DIGOet = "DetachInternetGatewayOutput" -_DIGet = "DetachInternetGateway" -_NIAIet = "NetworkInterfaceAttachmentId" -_DNIIet = "DetachNetworkInterfaceInput" -_cDNIRoma = "com.amazonaws.ec2#DetachNetworkInterfaceRequest" -_for = "force" -_DNIOet = "DetachNetworkInterfaceOutput" -_DNIet = "DetachNetworkInterface" -_DVATPIet = "DetachVerifiedAccessTrustProviderInput" -_cDVATPRomam = "com.amazonaws.ec2#DetachVerifiedAccessTrustProviderRequest" -_DVATPOet = "DetachVerifiedAccessTrustProviderOutput" -_cDVATPRomama = "com.amazonaws.ec2#DetachVerifiedAccessTrustProviderResult" -_DVATPet = "DetachVerifiedAccessTrustProvider" -_IIFR = "InstanceIdForResolver" -_VIWR = "VolumeIdWithResolver" -_DVIet = "DetachVolumeInput" -_cDVRomamaz = "com.amazonaws.ec2#DetachVolumeRequest" -_DVOet = "DetachVolumeOutput" -_DVet = "DetachVolume" -_DVGIet = "DetachVpnGatewayInput" -_cDVGRoma = "com.amazonaws.ec2#DetachVpnGatewayRequest" -_DVGOet = "DetachVpnGatewayOutput" -_DVGet = "DetachVpnGateway" -_DATIi = "DisableAddressTransferInput" -_cDATRom = "com.amazonaws.ec2#DisableAddressTransferRequest" -_DATOi = "DisableAddressTransferOutput" -_cDATRoma = "com.amazonaws.ec2#DisableAddressTransferResult" -_DATi = "DisableAddressTransfer" -_DAISI = "DisableAllowedImagesSettingsInput" -_cDAISR = "com.amazonaws.ec2#DisableAllowedImagesSettingsRequest" -_DAISO = "DisableAllowedImagesSettingsOutput" -_cDAISRo = "com.amazonaws.ec2#DisableAllowedImagesSettingsResult" -_AISS = "AllowedImagesSettingsState" -_aISS = "allowedImagesSettingsState" -_DAIS = "DisableAllowedImagesSettings" -_DASCSI = "DisableApplicationStatusCheckSuppressionInput" -_cDASCSR = "com.amazonaws.ec2#DisableApplicationStatusCheckSuppressionRequest" -_SSRO = "SuccessfulSuppressionResponseObject" -_SAupp = "SuppressAt" -_sAup = "suppressAt" -_SSRS = "SuccessfulSuppressionResponseSet" -_USRO = "UnsuccessfulSuppressionResponseObject" -_USRS = "UnsuccessfulSuppressionResponseSet" -_DASCSO = "DisableApplicationStatusCheckSuppressionOutput" -_cDASCSRo = "com.amazonaws.ec2#DisableApplicationStatusCheckSuppressionResult" -_DASCS = "DisableApplicationStatusCheckSuppression" -_DANPMSIi = "DisableAwsNetworkPerformanceMetricSubscriptionInput" -_cDANPMSRom = "com.amazonaws.ec2#DisableAwsNetworkPerformanceMetricSubscriptionRequest" -_DANPMSOi = "DisableAwsNetworkPerformanceMetricSubscriptionOutput" -_cDANPMSRoma = "com.amazonaws.ec2#DisableAwsNetworkPerformanceMetricSubscriptionResult" -_Ou = "Output" -_outp = "output" -_DANPMSi = "DisableAwsNetworkPerformanceMetricSubscription" -_DCMI = "DisableCapacityManagerInput" -_cDCMR = "com.amazonaws.ec2#DisableCapacityManagerRequest" -_CMSa = "CapacityManagerStatus" -_DCMO = "DisableCapacityManagerOutput" -_cDCMRo = "com.amazonaws.ec2#DisableCapacityManagerResult" -_cMSa = "capacityManagerStatus" -_OArg = "OrganizationsAccess" -_oArg = "organizationsAccess" -_DCM = "DisableCapacityManager" -_DEEBDI = "DisableEbsEncryptionByDefaultInput" -_cDEEBDR = "com.amazonaws.ec2#DisableEbsEncryptionByDefaultRequest" -_DEEBDO = "DisableEbsEncryptionByDefaultOutput" -_cDEEBDRo = "com.amazonaws.ec2#DisableEbsEncryptionByDefaultResult" -_EEBD = "EbsEncryptionByDefault" -_eEBD = "ebsEncryptionByDefault" -_DEEBD = "DisableEbsEncryptionByDefault" -_DFLIi = "DisableFastLaunchInput" -_cDFLRomam = "com.amazonaws.ec2#DisableFastLaunchRequest" -_DFLOi = "DisableFastLaunchOutput" -_cDFLRomama = "com.amazonaws.ec2#DisableFastLaunchResult" -_DFLi = "DisableFastLaunch" -_AZISL = "AvailabilityZoneIdStringList" -_AZSL = "AvailabilityZoneStringList" -_DFSRIi = "DisableFastSnapshotRestoresInput" -_cDFSRRom = "com.amazonaws.ec2#DisableFastSnapshotRestoresRequest" -_SSIo = "SourceSnapshotIds" -_DFSRSIi = "DisableFastSnapshotRestoreSuccessItem" -_DFSRSSi = "DisableFastSnapshotRestoreSuccessSet" -_DFSRSE = "DisableFastSnapshotRestoreStateError" -_DFSRSEI = "DisableFastSnapshotRestoreStateErrorItem" -_DFSRSES = "DisableFastSnapshotRestoreStateErrorSet" -_DFSREI = "DisableFastSnapshotRestoreErrorItem" -_FSRSE = "FastSnapshotRestoreStateErrors" -_FSRSES = "FastSnapshotRestoreStateErrorSet" -_fSRSES = "fastSnapshotRestoreStateErrorSet" -_DFSRES = "DisableFastSnapshotRestoreErrorSet" -_DFSROi = "DisableFastSnapshotRestoresOutput" -_cDFSRRoma = "com.amazonaws.ec2#DisableFastSnapshotRestoresResult" -_Suc = "Successful" -_DFSRi = "DisableFastSnapshotRestores" -_DIIi = "DisableImageInput" -_cDIRomamazonaw = "com.amazonaws.ec2#DisableImageRequest" -_DIOi = "DisableImageOutput" -_cDIRomamazonaws = "com.amazonaws.ec2#DisableImageResult" -_DIisa = "DisableImage" -_DIBPAI = "DisableImageBlockPublicAccessInput" -_cDIBPAR = "com.amazonaws.ec2#DisableImageBlockPublicAccessRequest" -_IBPADS = "ImageBlockPublicAccessDisabledState" -_unb = "unblocked" -_DIBPAO = "DisableImageBlockPublicAccessOutput" -_cDIBPARo = "com.amazonaws.ec2#DisableImageBlockPublicAccessResult" -_IBPAS = "ImageBlockPublicAccessState" -_iBPAS = "imageBlockPublicAccessState" -_DIBPA = "DisableImageBlockPublicAccess" -_DIDI = "DisableImageDeprecationInput" -_cDIDR = "com.amazonaws.ec2#DisableImageDeprecationRequest" -_DIDO = "DisableImageDeprecationOutput" -_cDIDRo = "com.amazonaws.ec2#DisableImageDeprecationResult" -_DIDi = "DisableImageDeprecation" -_DIDPI = "DisableImageDeregistrationProtectionInput" -_cDIDPR = "com.amazonaws.ec2#DisableImageDeregistrationProtectionRequest" -_DIDPO = "DisableImageDeregistrationProtectionOutput" -_cDIDPRo = "com.amazonaws.ec2#DisableImageDeregistrationProtectionResult" -_DIDP = "DisableImageDeregistrationProtection" -_IIUSL = "InstanceIdUpdateStringList" -_DISHSDI = "DisableInstanceSqlHaStandbyDetectionsInput" -_cDISHSDR = "com.amazonaws.ec2#DisableInstanceSqlHaStandbyDetectionsRequest" -_DISHSDO = "DisableInstanceSqlHaStandbyDetectionsOutput" -_cDISHSDRo = "com.amazonaws.ec2#DisableInstanceSqlHaStandbyDetectionsResult" -_DISHSD = "DisableInstanceSqlHaStandbyDetections" -_DIOAAI = "DisableIpamOrganizationAdminAccountInput" -_cDIOAAR = "com.amazonaws.ec2#DisableIpamOrganizationAdminAccountRequest" -_DAAIel = "DelegatedAdminAccountId" -_DIOAAO = "DisableIpamOrganizationAdminAccountOutput" -_cDIOAARo = "com.amazonaws.ec2#DisableIpamOrganizationAdminAccountResult" -_Succ = "Success" -_DIOAA = "DisableIpamOrganizationAdminAccount" -_DIPIi = "DisableIpamPolicyInput" -_cDIPRomamazonaw = "com.amazonaws.ec2#DisableIpamPolicyRequest" -_OTI = "OrganizationTargetId" -_DIPOi = "DisableIpamPolicyOutput" -_cDIPRomamazonaws = "com.amazonaws.ec2#DisableIpamPolicyResult" -_DIPi = "DisableIpamPolicy" -_DRSPIi = "DisableRouteServerPropagationInput" -_cDRSPRomam = "com.amazonaws.ec2#DisableRouteServerPropagationRequest" -_RSPSou = "RouteServerPropagationState" -_RSPou = "RouteServerPropagation" -_DRSPOi = "DisableRouteServerPropagationOutput" -_cDRSPRomama = "com.amazonaws.ec2#DisableRouteServerPropagationResult" -_rSPo = "routeServerPropagation" -_DRSPi = "DisableRouteServerPropagation" -_DSCAI = "DisableSerialConsoleAccessInput" -_cDSCAR = "com.amazonaws.ec2#DisableSerialConsoleAccessRequest" -_DSCAO = "DisableSerialConsoleAccessOutput" -_cDSCARo = "com.amazonaws.ec2#DisableSerialConsoleAccessResult" -_SCAE = "SerialConsoleAccessEnabled" -_sCAE = "serialConsoleAccessEnabled" -_DSCA = "DisableSerialConsoleAccess" -_DSBPAI = "DisableSnapshotBlockPublicAccessInput" -_cDSBPAR = "com.amazonaws.ec2#DisableSnapshotBlockPublicAccessRequest" -_SBPAS = "SnapshotBlockPublicAccessState" -_bas = "block_all_sharing" -_bas_ = "block-all-sharing" -_bns = "block_new_sharing" -_bns_ = "block-new-sharing" -_DSBPAO = "DisableSnapshotBlockPublicAccessOutput" -_cDSBPARo = "com.amazonaws.ec2#DisableSnapshotBlockPublicAccessResult" -_DSBPA = "DisableSnapshotBlockPublicAccess" -_DTGRTPI = "DisableTransitGatewayRouteTablePropagationInput" -_cDTGRTPR = "com.amazonaws.ec2#DisableTransitGatewayRouteTablePropagationRequest" -_TGPS = "TransitGatewayPropagationState" -_TGP = "TransitGatewayPropagation" -_DTGRTPO = "DisableTransitGatewayRouteTablePropagationOutput" -_cDTGRTPRo = "com.amazonaws.ec2#DisableTransitGatewayRouteTablePropagationResult" -_Prop = "Propagation" -_propa = "propagation" -_DTGRTP = "DisableTransitGatewayRouteTablePropagation" -_DVRPI = "DisableVgwRoutePropagationInput" -_cDVRPR = "com.amazonaws.ec2#DisableVgwRoutePropagationRequest" -_DVRPO = "DisableVgwRoutePropagationOutput" -_DVRP = "DisableVgwRoutePropagation" -_DVCLIi = "DisableVpcClassicLinkInput" -_cDVCLRom = "com.amazonaws.ec2#DisableVpcClassicLinkRequest" -_DVCLOi = "DisableVpcClassicLinkOutput" -_cDVCLRoma = "com.amazonaws.ec2#DisableVpcClassicLinkResult" -_DVCLi = "DisableVpcClassicLink" -_DVCLDSIi = "DisableVpcClassicLinkDnsSupportInput" -_cDVCLDSRom = "com.amazonaws.ec2#DisableVpcClassicLinkDnsSupportRequest" -_DVCLDSOi = "DisableVpcClassicLinkDnsSupportOutput" -_cDVCLDSRoma = "com.amazonaws.ec2#DisableVpcClassicLinkDnsSupportResult" -_DVCLDSi = "DisableVpcClassicLinkDnsSupport" -_EIAI = "ElasticIpAssociationId" -_DAIi = "DisassociateAddressInput" -_cDARom = "com.amazonaws.ec2#DisassociateAddressRequest" -_DAOi = "DisassociateAddressOutput" -_DAi = "DisassociateAddress" -_DASCIi = "DisassociateApplicationStatusCheckInput" -_cDASCRomam = "com.amazonaws.ec2#DisassociateApplicationStatusCheckRequest" -_DASCOi = "DisassociateApplicationStatusCheckOutput" -_cDASCRomama = "com.amazonaws.ec2#DisassociateApplicationStatusCheckResult" -_DASCi = "DisassociateApplicationStatusCheck" -_DCRBOI = "DisassociateCapacityReservationBillingOwnerInput" -_cDCRBOR = "com.amazonaws.ec2#DisassociateCapacityReservationBillingOwnerRequest" -_DCRBOO = "DisassociateCapacityReservationBillingOwnerOutput" -_cDCRBORo = "com.amazonaws.ec2#DisassociateCapacityReservationBillingOwnerResult" -_DCRBO = "DisassociateCapacityReservationBillingOwner" -_DCVTNIi = "DisassociateClientVpnTargetNetworkInput" -_cDCVTNRom = "com.amazonaws.ec2#DisassociateClientVpnTargetNetworkRequest" -_DCVTNOi = "DisassociateClientVpnTargetNetworkOutput" -_cDCVTNRoma = "com.amazonaws.ec2#DisassociateClientVpnTargetNetworkResult" -_DCVTNi = "DisassociateClientVpnTargetNetwork" -_DECIRI = "DisassociateEnclaveCertificateIamRoleInput" -_cDECIRR = "com.amazonaws.ec2#DisassociateEnclaveCertificateIamRoleRequest" -_DECIRO = "DisassociateEnclaveCertificateIamRoleOutput" -_cDECIRRo = "com.amazonaws.ec2#DisassociateEnclaveCertificateIamRoleResult" -_DECIR = "DisassociateEnclaveCertificateIamRole" -_DIIPI = "DisassociateIamInstanceProfileInput" -_cDIIPR = "com.amazonaws.ec2#DisassociateIamInstanceProfileRequest" -_DIIPO = "DisassociateIamInstanceProfileOutput" -_cDIIPRo = "com.amazonaws.ec2#DisassociateIamInstanceProfileResult" -_DIIP = "DisassociateIamInstanceProfile" -_IEWDR = "InstanceEventWindowDisassociationRequest" -_DIEWIi = "DisassociateInstanceEventWindowInput" -_cDIEWRomam = "com.amazonaws.ec2#DisassociateInstanceEventWindowRequest" -_DIEWOi = "DisassociateInstanceEventWindowOutput" -_cDIEWRomama = "com.amazonaws.ec2#DisassociateInstanceEventWindowResult" -_DIEWi = "DisassociateInstanceEventWindow" -_DIBIi = "DisassociateIpamByoasnInput" -_cDIBRomam = "com.amazonaws.ec2#DisassociateIpamByoasnRequest" -_DIBOi = "DisassociateIpamByoasnOutput" -_cDIBRomama = "com.amazonaws.ec2#DisassociateIpamByoasnResult" -_DIBi = "DisassociateIpamByoasn" -_DIRDIi = "DisassociateIpamResourceDiscoveryInput" -_cDIRDRomam = "com.amazonaws.ec2#DisassociateIpamResourceDiscoveryRequest" -_DIRDOi = "DisassociateIpamResourceDiscoveryOutput" -_cDIRDRomama = "com.amazonaws.ec2#DisassociateIpamResourceDiscoveryResult" -_DIRDi = "DisassociateIpamResourceDiscovery" -_EAIL = "EipAssociationIdList" -_DSr = "DrainSeconds" -_DNGAI = "DisassociateNatGatewayAddressInput" -_cDNGAR = "com.amazonaws.ec2#DisassociateNatGatewayAddressRequest" -_MDDS = "MaxDrainDurationSeconds" -_DNGAO = "DisassociateNatGatewayAddressOutput" -_cDNGARo = "com.amazonaws.ec2#DisassociateNatGatewayAddressResult" -_DNGA = "DisassociateNatGatewayAddress" -_DRSIi = "DisassociateRouteServerInput" -_cDRSRomam = "com.amazonaws.ec2#DisassociateRouteServerRequest" -_DRSOi = "DisassociateRouteServerOutput" -_cDRSRomama = "com.amazonaws.ec2#DisassociateRouteServerResult" -_DRSi = "DisassociateRouteServer" -_DRTIi = "DisassociateRouteTableInput" -_cDRTRoma = "com.amazonaws.ec2#DisassociateRouteTableRequest" -_DRTOi = "DisassociateRouteTableOutput" -_DRTi = "DisassociateRouteTable" -_DSGVSGI = "DisassociateSecurityGroupVpcSecurityGroupId" -_DSGVI = "DisassociateSecurityGroupVpcInput" -_cDSGVR = "com.amazonaws.ec2#DisassociateSecurityGroupVpcRequest" -_DSGVO = "DisassociateSecurityGroupVpcOutput" -_cDSGVRo = "com.amazonaws.ec2#DisassociateSecurityGroupVpcResult" -_DSGV = "DisassociateSecurityGroupVpc" -_DSCBI = "DisassociateSubnetCidrBlockInput" -_cDSCBR = "com.amazonaws.ec2#DisassociateSubnetCidrBlockRequest" -_DSCBO = "DisassociateSubnetCidrBlockOutput" -_cDSCBRo = "com.amazonaws.ec2#DisassociateSubnetCidrBlockResult" -_DSCB = "DisassociateSubnetCidrBlock" -_DTGMDIi = "DisassociateTransitGatewayMulticastDomainInput" -_cDTGMDRomam = "com.amazonaws.ec2#DisassociateTransitGatewayMulticastDomainRequest" -_DTGMDOi = "DisassociateTransitGatewayMulticastDomainOutput" -_cDTGMDRomama = "com.amazonaws.ec2#DisassociateTransitGatewayMulticastDomainResult" -_DTGMDi = "DisassociateTransitGatewayMulticastDomain" -_DTGPTIi = "DisassociateTransitGatewayPolicyTableInput" -_cDTGPTRomam = "com.amazonaws.ec2#DisassociateTransitGatewayPolicyTableRequest" -_DTGPTOi = "DisassociateTransitGatewayPolicyTableOutput" -_cDTGPTRomama = "com.amazonaws.ec2#DisassociateTransitGatewayPolicyTableResult" -_DTGPTi = "DisassociateTransitGatewayPolicyTable" -_DTGRTIi = "DisassociateTransitGatewayRouteTableInput" -_cDTGRTRomam = "com.amazonaws.ec2#DisassociateTransitGatewayRouteTableRequest" -_DTGRTOi = "DisassociateTransitGatewayRouteTableOutput" -_cDTGRTRomama = "com.amazonaws.ec2#DisassociateTransitGatewayRouteTableResult" -_DTGRTi = "DisassociateTransitGatewayRouteTable" -_DTII = "DisassociateTrunkInterfaceInput" -_cDTIR = "com.amazonaws.ec2#DisassociateTrunkInterfaceRequest" -_DTIO = "DisassociateTrunkInterfaceOutput" -_cDTIRo = "com.amazonaws.ec2#DisassociateTrunkInterfaceResult" -_DTIi = "DisassociateTrunkInterface" -_VCAI = "VpcCidrAssociationId" -_DVCBI = "DisassociateVpcCidrBlockInput" -_cDVCBR = "com.amazonaws.ec2#DisassociateVpcCidrBlockRequest" -_DVCBO = "DisassociateVpcCidrBlockOutput" -_cDVCBRo = "com.amazonaws.ec2#DisassociateVpcCidrBlockResult" -_DVCB = "DisassociateVpcCidrBlock" -_EATI = "EnableAddressTransferInput" -_cEATR = "com.amazonaws.ec2#EnableAddressTransferRequest" -_EATO = "EnableAddressTransferOutput" -_cEATRo = "com.amazonaws.ec2#EnableAddressTransferResult" -_EAT = "EnableAddressTransfer" -_EAISI = "EnableAllowedImagesSettingsInput" -_cEAISR = "com.amazonaws.ec2#EnableAllowedImagesSettingsRequest" -_EAISO = "EnableAllowedImagesSettingsOutput" -_cEAISRo = "com.amazonaws.ec2#EnableAllowedImagesSettingsResult" -_EAIS = "EnableAllowedImagesSettings" -_EASCSI = "EnableApplicationStatusCheckSuppressionInput" -_cEASCSR = "com.amazonaws.ec2#EnableApplicationStatusCheckSuppressionRequest" -_DSu = "DurationSeconds" -_EASCSO = "EnableApplicationStatusCheckSuppressionOutput" -_cEASCSRo = "com.amazonaws.ec2#EnableApplicationStatusCheckSuppressionResult" -_EASCS = "EnableApplicationStatusCheckSuppression" -_EANPMSI = "EnableAwsNetworkPerformanceMetricSubscriptionInput" -_cEANPMSR = "com.amazonaws.ec2#EnableAwsNetworkPerformanceMetricSubscriptionRequest" -_EANPMSO = "EnableAwsNetworkPerformanceMetricSubscriptionOutput" -_cEANPMSRo = "com.amazonaws.ec2#EnableAwsNetworkPerformanceMetricSubscriptionResult" -_EANPMS = "EnableAwsNetworkPerformanceMetricSubscription" -_ECMI = "EnableCapacityManagerInput" -_cECMR = "com.amazonaws.ec2#EnableCapacityManagerRequest" -_ECMO = "EnableCapacityManagerOutput" -_cECMRo = "com.amazonaws.ec2#EnableCapacityManagerResult" -_ECM = "EnableCapacityManager" -_EEEBDI = "EnableEbsEncryptionByDefaultInput" -_cEEEBDR = "com.amazonaws.ec2#EnableEbsEncryptionByDefaultRequest" -_EEEBDO = "EnableEbsEncryptionByDefaultOutput" -_cEEEBDRo = "com.amazonaws.ec2#EnableEbsEncryptionByDefaultResult" -_EEEBD = "EnableEbsEncryptionByDefault" -_FLLTSRa = "FastLaunchLaunchTemplateSpecificationRequest" -_FLSCRa = "FastLaunchSnapshotConfigurationRequest" -_EFLI = "EnableFastLaunchInput" -_cEFLR = "com.amazonaws.ec2#EnableFastLaunchRequest" -_EFLO = "EnableFastLaunchOutput" -_cEFLRo = "com.amazonaws.ec2#EnableFastLaunchResult" -_EFL = "EnableFastLaunch" -_EFSRI = "EnableFastSnapshotRestoresInput" -_cEFSRR = "com.amazonaws.ec2#EnableFastSnapshotRestoresRequest" -_EFSRSI = "EnableFastSnapshotRestoreSuccessItem" -_EFSRSS = "EnableFastSnapshotRestoreSuccessSet" -_EFSRSE = "EnableFastSnapshotRestoreStateError" -_EFSRSEI = "EnableFastSnapshotRestoreStateErrorItem" -_EFSRSES = "EnableFastSnapshotRestoreStateErrorSet" -_EFSREI = "EnableFastSnapshotRestoreErrorItem" -_EFSRES = "EnableFastSnapshotRestoreErrorSet" -_EFSRO = "EnableFastSnapshotRestoresOutput" -_cEFSRRo = "com.amazonaws.ec2#EnableFastSnapshotRestoresResult" -_EFSR = "EnableFastSnapshotRestores" -_EII = "EnableImageInput" -_cEIR = "com.amazonaws.ec2#EnableImageRequest" -_EIO = "EnableImageOutput" -_cEIRo = "com.amazonaws.ec2#EnableImageResult" -_EIna = "EnableImage" -_IBPAES = "ImageBlockPublicAccessEnabledState" -_EIBPAI = "EnableImageBlockPublicAccessInput" -_cEIBPAR = "com.amazonaws.ec2#EnableImageBlockPublicAccessRequest" -_EIBPAO = "EnableImageBlockPublicAccessOutput" -_cEIBPARo = "com.amazonaws.ec2#EnableImageBlockPublicAccessResult" -_EIBPA = "EnableImageBlockPublicAccess" -_EIDI = "EnableImageDeprecationInput" -_cEIDR = "com.amazonaws.ec2#EnableImageDeprecationRequest" -_DAepr = "DeprecateAt" -_EIDO = "EnableImageDeprecationOutput" -_cEIDRo = "com.amazonaws.ec2#EnableImageDeprecationResult" -_EID = "EnableImageDeprecation" -_EIDPI = "EnableImageDeregistrationProtectionInput" -_cEIDPR = "com.amazonaws.ec2#EnableImageDeregistrationProtectionRequest" -_WCi = "WithCooldown" -_EIDPO = "EnableImageDeregistrationProtectionOutput" -_cEIDPRo = "com.amazonaws.ec2#EnableImageDeregistrationProtectionResult" -_EIDP = "EnableImageDeregistrationProtection" -_SAe = "SecretArn" -_EISHSDI = "EnableInstanceSqlHaStandbyDetectionsInput" -_cEISHSDR = "com.amazonaws.ec2#EnableInstanceSqlHaStandbyDetectionsRequest" -_EISHSDO = "EnableInstanceSqlHaStandbyDetectionsOutput" -_cEISHSDRo = "com.amazonaws.ec2#EnableInstanceSqlHaStandbyDetectionsResult" -_EISHSD = "EnableInstanceSqlHaStandbyDetections" -_EIIRAI = "EnableIpamInternetRegistryAssociationInput" -_cEIIRAR = "com.amazonaws.ec2#EnableIpamInternetRegistryAssociationRequest" -_RVp = "RpkiVersion" -_SUe = "ServiceUri" -_CH = "ChildHandle" -_PH = "ParentHandle" -_PBT = "ParentBpkiTa" -_EIIRAO = "EnableIpamInternetRegistryAssociationOutput" -_cEIIRARo = "com.amazonaws.ec2#EnableIpamInternetRegistryAssociationResult" -_EIIRA = "EnableIpamInternetRegistryAssociation" -_EIOAAI = "EnableIpamOrganizationAdminAccountInput" -_cEIOAAR = "com.amazonaws.ec2#EnableIpamOrganizationAdminAccountRequest" -_EIOAAO = "EnableIpamOrganizationAdminAccountOutput" -_cEIOAARo = "com.amazonaws.ec2#EnableIpamOrganizationAdminAccountResult" -_EIOAA = "EnableIpamOrganizationAdminAccount" -_EIPI = "EnableIpamPolicyInput" -_cEIPR = "com.amazonaws.ec2#EnableIpamPolicyRequest" -_EIPO = "EnableIpamPolicyOutput" -_cEIPRo = "com.amazonaws.ec2#EnableIpamPolicyResult" -_EIP = "EnableIpamPolicy" -_ERAOSI = "EnableReachabilityAnalyzerOrganizationSharingInput" -_cERAOSR = "com.amazonaws.ec2#EnableReachabilityAnalyzerOrganizationSharingRequest" -_ERAOSO = "EnableReachabilityAnalyzerOrganizationSharingOutput" -_cERAOSRo = "com.amazonaws.ec2#EnableReachabilityAnalyzerOrganizationSharingResult" -_ERAOS = "EnableReachabilityAnalyzerOrganizationSharing" -_ERSPI = "EnableRouteServerPropagationInput" -_cERSPR = "com.amazonaws.ec2#EnableRouteServerPropagationRequest" -_ERSPO = "EnableRouteServerPropagationOutput" -_cERSPRo = "com.amazonaws.ec2#EnableRouteServerPropagationResult" -_ERSP = "EnableRouteServerPropagation" -_ESCAI = "EnableSerialConsoleAccessInput" -_cESCAR = "com.amazonaws.ec2#EnableSerialConsoleAccessRequest" -_ESCAO = "EnableSerialConsoleAccessOutput" -_cESCARo = "com.amazonaws.ec2#EnableSerialConsoleAccessResult" -_ESCA = "EnableSerialConsoleAccess" -_ESBPAI = "EnableSnapshotBlockPublicAccessInput" -_cESBPAR = "com.amazonaws.ec2#EnableSnapshotBlockPublicAccessRequest" -_ESBPAO = "EnableSnapshotBlockPublicAccessOutput" -_cESBPARo = "com.amazonaws.ec2#EnableSnapshotBlockPublicAccessResult" -_ESBPA = "EnableSnapshotBlockPublicAccess" -_ETGRTPI = "EnableTransitGatewayRouteTablePropagationInput" -_cETGRTPR = "com.amazonaws.ec2#EnableTransitGatewayRouteTablePropagationRequest" -_ETGRTPO = "EnableTransitGatewayRouteTablePropagationOutput" -_cETGRTPRo = "com.amazonaws.ec2#EnableTransitGatewayRouteTablePropagationResult" -_ETGRTP = "EnableTransitGatewayRouteTablePropagation" -_EVRPI = "EnableVgwRoutePropagationInput" -_cEVRPR = "com.amazonaws.ec2#EnableVgwRoutePropagationRequest" -_EVRPO = "EnableVgwRoutePropagationOutput" -_EVIOI = "EnableVolumeIOInput" -_cEVIOR = "com.amazonaws.ec2#EnableVolumeIORequest" -_EVIOO = "EnableVolumeIOOutput" -_EVIO = "EnableVolumeIO" -_EVCLI = "EnableVpcClassicLinkInput" -_cEVCLR = "com.amazonaws.ec2#EnableVpcClassicLinkRequest" -_EVCLO = "EnableVpcClassicLinkOutput" -_cEVCLRo = "com.amazonaws.ec2#EnableVpcClassicLinkResult" -_EVCL = "EnableVpcClassicLink" -_EVCLDSI = "EnableVpcClassicLinkDnsSupportInput" -_cEVCLDSR = "com.amazonaws.ec2#EnableVpcClassicLinkDnsSupportRequest" -_EVCLDSO = "EnableVpcClassicLinkDnsSupportOutput" -_cEVCLDSRo = "com.amazonaws.ec2#EnableVpcClassicLinkDnsSupportResult" -_EVCLDS = "EnableVpcClassicLinkDnsSupport" -_ECVCCRLI = "ExportClientVpnClientCertificateRevocationListInput" -_cECVCCRLR = "com.amazonaws.ec2#ExportClientVpnClientCertificateRevocationListRequest" -_CCRLSC = "ClientCertificateRevocationListStatusCode" -_CCRLS = "ClientCertificateRevocationListStatus" -_ECVCCRLO = "ExportClientVpnClientCertificateRevocationListOutput" -_cECVCCRLRo = "com.amazonaws.ec2#ExportClientVpnClientCertificateRevocationListResult" -_CRL = "CertificateRevocationList" -_cRL = "certificateRevocationList" -_ECVCCRL = "ExportClientVpnClientCertificateRevocationList" -_ECVCCI = "ExportClientVpnClientConfigurationInput" -_cECVCCR = "com.amazonaws.ec2#ExportClientVpnClientConfigurationRequest" -_ECVCCO = "ExportClientVpnClientConfigurationOutput" -_cECVCCRo = "com.amazonaws.ec2#ExportClientVpnClientConfigurationResult" -_CCl = "ClientConfiguration" -_cCl = "clientConfiguration" -_ECVCC = "ExportClientVpnClientConfiguration" -_ETSLR = "ExportTaskS3LocationRequest" -_EIIx = "ExportImageInput" -_cEIRom = "com.amazonaws.ec2#ExportImageRequest" -_RNo = "RoleName" -_EIOx = "ExportImageOutput" -_cEIRoma = "com.amazonaws.ec2#ExportImageResult" -_rNo = "roleName" -_EIxp = "ExportImage" -_ETGRI = "ExportTransitGatewayRoutesInput" -_cETGRR = "com.amazonaws.ec2#ExportTransitGatewayRoutesRequest" -_ETGRO = "ExportTransitGatewayRoutesOutput" -_cETGRRo = "com.amazonaws.ec2#ExportTransitGatewayRoutesResult" -_SLo = "S3Location" -_sLo = "s3Location" -_ETGR = "ExportTransitGatewayRoutes" -_EVAICCI = "ExportVerifiedAccessInstanceClientConfigurationInput" -_cEVAICCR = "com.amazonaws.ec2#ExportVerifiedAccessInstanceClientConfigurationRequest" -_DTPTL = "DeviceTrustProviderTypeList" -_VAIOVCCR = "VerifiedAccessInstanceOpenVpnClientConfigurationRoute" -_VAIOVCCRL = "VerifiedAccessInstanceOpenVpnClientConfigurationRouteList" -_VAIOVCC = "VerifiedAccessInstanceOpenVpnClientConfiguration" -_Confi = "Config" -_confi = "config" -_VAIOVCCL = "VerifiedAccessInstanceOpenVpnClientConfigurationList" -_VAIUTPCC = "VerifiedAccessInstanceUserTrustProviderClientConfiguration" -_Sco = "Scopes" -_sco = "scopes" -_PE = "PkceEnabled" -_pE = "pkceEnabled" -_EVAICCO = "ExportVerifiedAccessInstanceClientConfigurationOutput" -_cEVAICCRo = "com.amazonaws.ec2#ExportVerifiedAccessInstanceClientConfigurationResult" -_DTP = "DeviceTrustProviders" -_DTPS = "DeviceTrustProviderSet" -_dTPS = "deviceTrustProviderSet" -_UTP = "UserTrustProvider" -_uTP = "userTrustProvider" -_OVC = "OpenVpnConfigurations" -_OVCS = "OpenVpnConfigurationSet" -_oVCS = "openVpnConfigurationSet" -_EVAICC = "ExportVerifiedAccessInstanceClientConfiguration" -_GAVTSI = "GetActiveVpnTunnelStatusInput" -_cGAVTSR = "com.amazonaws.ec2#GetActiveVpnTunnelStatusRequest" -_VTOIA = "VpnTunnelOutsideIpAddress" -_GAVTSO = "GetActiveVpnTunnelStatusOutput" -_cGAVTSRo = "com.amazonaws.ec2#GetActiveVpnTunnelStatusResult" -_aVTS = "activeVpnTunnelStatus" -_GAVTS = "GetActiveVpnTunnelStatus" -_GAISI = "GetAllowedImagesSettingsInput" -_cGAISR = "com.amazonaws.ec2#GetAllowedImagesSettingsRequest" -_MDSCV = "MaximumDaysSinceCreatedValue" -_CDC = "CreationDateCondition" -_MDSC = "MaximumDaysSinceCreated" -_mDSC = "maximumDaysSinceCreated" -_MDSDV = "MaximumDaysSinceDeprecatedValue" -_DTC = "DeprecationTimeCondition" -_MDSD = "MaximumDaysSinceDeprecated" -_mDSD = "maximumDaysSinceDeprecated" -_INm = "ImageName" -_INLm = "ImageNameList" -_IPm = "ImageProvider" -_IPLm = "ImageProviderList" -_IWFR = "ImageWatermarkFilterResponse" -_MDSSIC = "MaximumDaysSinceSourceImageCreated" -_mDSSIC = "maximumDaysSinceSourceImageCreated" -_MDSWC = "MaximumDaysSinceWatermarkCreated" -_mDSWC = "maximumDaysSinceWatermarkCreated" -_IWFRL = "ImageWatermarkFilterResponseList" -_MPC = "MarketplaceProductCode" -_MPCL = "MarketplaceProductCodeList" -_MDSFAV = "MaxDaysSinceFixAvailableValue" -_MDSLFSV = "MaxDaysSinceLastFindingScanValue" -_SRCc = "ScanResultCondition" -_MDSLFS = "MaxDaysSinceLastFindingScan" -_mDSLFS = "maxDaysSinceLastFindingScan" -_MSL = "MaximumSeverityLabel" -_mSL = "maximumSeverityLabel" -_MDSIFA = "MaxDaysSinceInformationalFixAvailable" -_mDSIFA = "maxDaysSinceInformationalFixAvailable" -_MDSLFA = "MaxDaysSinceLowFixAvailable" -_mDSLFA = "maxDaysSinceLowFixAvailable" -_MDSMFA = "MaxDaysSinceMediumFixAvailable" -_mDSMFA = "maxDaysSinceMediumFixAvailable" -_MDSHFA = "MaxDaysSinceHighFixAvailable" -_mDSHFA = "maxDaysSinceHighFixAvailable" -_MDSCFA = "MaxDaysSinceCriticalFixAvailable" -_mDSCFA = "maxDaysSinceCriticalFixAvailable" -_ICm = "ImageCriterion" -_IPma = "ImageProviders" -_IPSm = "ImageProviderSet" -_iPSm = "imageProviderSet" -_MPCa = "MarketplaceProductCodes" -_MPCS = "MarketplaceProductCodeSet" -_mPCS = "marketplaceProductCodeSet" -_INma = "ImageNames" -_INS = "ImageNameSet" -_iNS = "imageNameSet" -_dTC = "deprecationTimeCondition" -_cDC = "creationDateCondition" -_sRC = "scanResultCondition" -_ICLm = "ImageCriterionList" -_GAISO = "GetAllowedImagesSettingsOutput" -_cGAISRo = "com.amazonaws.ec2#GetAllowedImagesSettingsResult" -_ICma = "ImageCriteria" -_ICSm = "ImageCriterionSet" -_iCS = "imageCriterionSet" -_GAIS = "GetAllowedImagesSettings" -_GAECIRI = "GetAssociatedEnclaveCertificateIamRolesInput" -_cGAECIRR = "com.amazonaws.ec2#GetAssociatedEnclaveCertificateIamRolesRequest" -_ARss = "AssociatedRole" -_ARAss = "AssociatedRoleArn" -_aRAss = "associatedRoleArn" -_ARL = "AssociatedRolesList" -_GAECIRO = "GetAssociatedEnclaveCertificateIamRolesOutput" -_cGAECIRRo = "com.amazonaws.ec2#GetAssociatedEnclaveCertificateIamRolesResult" -_ARsso = "AssociatedRoles" -_ARSs = "AssociatedRoleSet" -_aRSs = "associatedRoleSet" -_GAECIR = "GetAssociatedEnclaveCertificateIamRoles" -_GAIPCI = "GetAssociatedIpv6PoolCidrsInput" -_cGAIPCR = "com.amazonaws.ec2#GetAssociatedIpv6PoolCidrsRequest" -_ICAp = "Ipv6CidrAssociation" -_ICp = "Ipv6Cidr" -_iCp = "ipv6Cidr" -_ICAS = "Ipv6CidrAssociationSet" -_GAIPCO = "GetAssociatedIpv6PoolCidrsOutput" -_cGAIPCRo = "com.amazonaws.ec2#GetAssociatedIpv6PoolCidrsResult" -_ICApv = "Ipv6CidrAssociations" -_iCAS = "ipv6CidrAssociationSet" -_GAIPC = "GetAssociatedIpv6PoolCidrs" -_DQ = "DataQuery" -_DQa = "DataQueries" -_GANPDI = "GetAwsNetworkPerformanceDataInput" -_cGANPDR = "com.amazonaws.ec2#GetAwsNetworkPerformanceDataRequest" -_MPe = "MetricPoint" -_MPet = "MetricPoints" -_DRa = "DataResponse" -_MPSe = "MetricPointSet" -_mPSe = "metricPointSet" -_DRat = "DataResponses" -_GANPDO = "GetAwsNetworkPerformanceDataOutput" -_cGANPDRo = "com.amazonaws.ec2#GetAwsNetworkPerformanceDataResult" -_DRSat = "DataResponseSet" -_dRSa = "dataResponseSet" -_GANPD = "GetAwsNetworkPerformanceData" -_GCMAI = "GetCapacityManagerAttributesInput" -_cGCMAR = "com.amazonaws.ec2#GetCapacityManagerAttributesRequest" -_ISng = "IngestionStatus" -_IIIP = "INITIAL_INGESTION_IN_PROGRESS" -_iiip = "initial-ingestion-in-progress" -_IC___ = "INGESTION_COMPLETE" -_ic___ = "ingestion-complete" -_IF_ = "INGESTION_FAILED" -_if = "ingestion-failed" -_GCMAO = "GetCapacityManagerAttributesOutput" -_cGCMARo = "com.amazonaws.ec2#GetCapacityManagerAttributesResult" -_DEC = "DataExportCount" -_dEC = "dataExportCount" -_iSng = "ingestionStatus" -_ISM = "IngestionStatusMessage" -_iSM = "ingestionStatusMessage" -_EDTa = "EarliestDatapointTimestamp" -_eDTa = "earliestDatapointTimestamp" -_LDTat = "LatestDatapointTimestamp" -_lDTa = "latestDatapointTimestamp" -_GCMA = "GetCapacityManagerAttributes" -_Com = "Comparison" -_EQUALS = "EQUALS" -_IN_ = "IN" -_in___ = "in" -_FBD = "FilterByDimension" -_RR_ = "RESOURCE_REGION" -_rr = "resource-region" -_AZI_ = "AVAILABILITY_ZONE_ID" -_AI_ = "ACCOUNT_ID" -_ai = "account-id" -_AN_ = "ACCOUNT_NAME" -_an = "account-name" -_IF__ = "INSTANCE_FAMILY" -_if_ = "instance-family" -_IT_ = "INSTANCE_TYPE" -_it = "instance-type" -_IP__ = "INSTANCE_PLATFORM" -_ip___________ = "instance-platform" -_RA_ = "RESERVATION_ARN" -_ra_ = "reservation-arn" -_RI_ = "RESERVATION_ID" -_ri__ = "reservation-id" -_RT_ = "RESERVATION_TYPE" -_rt__ = "reservation-type" -_RCT_ = "RESERVATION_CREATE_TIMESTAMP" -_rct = "reservation-create-timestamp" -_RST = "RESERVATION_START_TIMESTAMP" -_rst = "reservation-start-timestamp" -_RET_ = "RESERVATION_END_TIMESTAMP" -_ret_ = "reservation-end-timestamp" -_REDT = "RESERVATION_END_DATE_TYPE" -_redt = "reservation-end-date-type" -_TENANCY = "TENANCY" -_RS_ = "RESERVATION_STATE" -_rs__ = "reservation-state" -_RIMC = "RESERVATION_INSTANCE_MATCH_CRITERIA" -_rimc = "reservation-instance-match-criteria" -_RUFO = "RESERVATION_UNUSED_FINANCIAL_OWNER" -_rufo = "reservation-unused-financial-owner" -_CVo = "ConditionValue" -_CVL = "ConditionValueList" -_DCim = "DimensionCondition" -_Dim = "Dimension" -_CMC = "CapacityManagerCondition" -_CMCS = "CapacityManagerConditionSet" -_GB = "GroupBy" -_GBS = "GroupBySet" -_RTCHV = "RESERVATION_TOTAL_CAPACITY_HRS_VCPU" -_rtchv = "reservation-total-capacity-hrs-vcpu" -_RTCHI = "RESERVATION_TOTAL_CAPACITY_HRS_INST" -_rtchi = "reservation-total-capacity-hrs-inst" -_RMSV = "RESERVATION_MAX_SIZE_VCPU" -_rmsv = "reservation-max-size-vcpu" -_RMSI = "RESERVATION_MAX_SIZE_INST" -_rmsi = "reservation-max-size-inst" -_RMSV_ = "RESERVATION_MIN_SIZE_VCPU" -_rmsv_ = "reservation-min-size-vcpu" -_RMSI_ = "RESERVATION_MIN_SIZE_INST" -_rmsi_ = "reservation-min-size-inst" -_RUTCHV = "RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_VCPU" -_rutchv = "reservation-unused-total-capacity-hrs-vcpu" -_RUTCHI = "RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_INST" -_rutchi = "reservation-unused-total-capacity-hrs-inst" -_RUTEC = "RESERVATION_UNUSED_TOTAL_ESTIMATED_COST" -_rutec = "reservation-unused-total-estimated-cost" -_RMUSV = "RESERVATION_MAX_UNUSED_SIZE_VCPU" -_rmusv = "reservation-max-unused-size-vcpu" -_RMUSI = "RESERVATION_MAX_UNUSED_SIZE_INST" -_rmusi = "reservation-max-unused-size-inst" -_RMUSV_ = "RESERVATION_MIN_UNUSED_SIZE_VCPU" -_rmusv_ = "reservation-min-unused-size-vcpu" -_RMUSI_ = "RESERVATION_MIN_UNUSED_SIZE_INST" -_rmusi_ = "reservation-min-unused-size-inst" -_RMU = "RESERVATION_MAX_UTILIZATION" -_rmu = "reservation-max-utilization" -_RMU_ = "RESERVATION_MIN_UTILIZATION" -_rmu_ = "reservation-min-utilization" -_RAUV = "RESERVATION_AVG_UTILIZATION_VCPU" -_rauv = "reservation-avg-utilization-vcpu" -_RAUI = "RESERVATION_AVG_UTILIZATION_INST" -_raui = "reservation-avg-utilization-inst" -_RTC = "RESERVATION_TOTAL_COUNT" -_rtc = "reservation-total-count" -_RTEC = "RESERVATION_TOTAL_ESTIMATED_COST" -_rtec = "reservation-total-estimated-cost" -_RAFSV = "RESERVATION_AVG_FUTURE_SIZE_VCPU" -_rafsv = "reservation-avg-future-size-vcpu" -_RAFSI = "RESERVATION_AVG_FUTURE_SIZE_INST" -_rafsi = "reservation-avg-future-size-inst" -_RMFSV = "RESERVATION_MIN_FUTURE_SIZE_VCPU" -_rmfsv = "reservation-min-future-size-vcpu" -_RMFSI = "RESERVATION_MIN_FUTURE_SIZE_INST" -_rmfsi = "reservation-min-future-size-inst" -_RMFSV_ = "RESERVATION_MAX_FUTURE_SIZE_VCPU" -_rmfsv_ = "reservation-max-future-size-vcpu" -_RMFSI_ = "RESERVATION_MAX_FUTURE_SIZE_INST" -_rmfsi_ = "reservation-max-future-size-inst" -_RACSV = "RESERVATION_AVG_COMMITTED_SIZE_VCPU" -_racsv = "reservation-avg-committed-size-vcpu" -_RACSI = "RESERVATION_AVG_COMMITTED_SIZE_INST" -_racsi = "reservation-avg-committed-size-inst" -_RMCSV = "RESERVATION_MAX_COMMITTED_SIZE_VCPU" -_rmcsv = "reservation-max-committed-size-vcpu" -_RMCSI = "RESERVATION_MAX_COMMITTED_SIZE_INST" -_rmcsi = "reservation-max-committed-size-inst" -_RMCSV_ = "RESERVATION_MIN_COMMITTED_SIZE_VCPU" -_rmcsv_ = "reservation-min-committed-size-vcpu" -_RMCSI_ = "RESERVATION_MIN_COMMITTED_SIZE_INST" -_rmcsi_ = "reservation-min-committed-size-inst" -_RTUHV = "RESERVED_TOTAL_USAGE_HRS_VCPU" -_rtuhv = "reserved-total-usage-hrs-vcpu" -_RTUHI = "RESERVED_TOTAL_USAGE_HRS_INST" -_rtuhi = "reserved-total-usage-hrs-inst" -_RTEC_ = "RESERVED_TOTAL_ESTIMATED_COST" -_rtec_ = "reserved-total-estimated-cost" -_UTUHV = "UNRESERVED_TOTAL_USAGE_HRS_VCPU" -_utuhv = "unreserved-total-usage-hrs-vcpu" -_UTUHI = "UNRESERVED_TOTAL_USAGE_HRS_INST" -_utuhi = "unreserved-total-usage-hrs-inst" -_UTEC = "UNRESERVED_TOTAL_ESTIMATED_COST" -_utec = "unreserved-total-estimated-cost" -_STUHV = "SPOT_TOTAL_USAGE_HRS_VCPU" -_stuhv = "spot-total-usage-hrs-vcpu" -_STUHI = "SPOT_TOTAL_USAGE_HRS_INST" -_stuhi = "spot-total-usage-hrs-inst" -_STEC = "SPOT_TOTAL_ESTIMATED_COST" -_stec = "spot-total-estimated-cost" -_SARTBII = "SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST" -_sartbii = "spot-avg-run-time-before-interruption-inst" -_SMRTBII = "SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST" -_smrtbii = "spot-max-run-time-before-interruption-inst" -_SMRTBII_ = "SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST" -_smrtbii_ = "spot-min-run-time-before-interruption-inst" -_STII = "SPOT_TOTAL_INTERRUPTIONS_INST" -_stii = "spot-total-interruptions-inst" -_STIV = "SPOT_TOTAL_INTERRUPTIONS_VCPU" -_stiv = "spot-total-interruptions-vcpu" -_STCI = "SPOT_TOTAL_COUNT_INST" -_stci = "spot-total-count-inst" -_STCV = "SPOT_TOTAL_COUNT_VCPU" -_stcv = "spot-total-count-vcpu" -_SIRI_ = "SPOT_INTERRUPTION_RATE_INST" -_siri = "spot-interruption-rate-inst" -_SIRV = "SPOT_INTERRUPTION_RATE_VCPU" -_sirv = "spot-interruption-rate-vcpu" -_CTRV = "CAPACITY_TOTAL_REQUESTED_VCPU" -_ctrv = "capacity-total-requested-vcpu" -_CTFV = "CAPACITY_TOTAL_FULFILLED_VCPU" -_ctfv = "capacity-total-fulfilled-vcpu" -_SCTRV = "SPOT_CAPACITY_TOTAL_REQUESTED_VCPU" -_sctrv = "spot-capacity-total-requested-vcpu" -_SCTFV = "SPOT_CAPACITY_TOTAL_FULFILLED_VCPU" -_sctfv = "spot-capacity-total-fulfilled-vcpu" -_CRFR = "CAPACITY_REQUEST_FULFILLMENT_RATE" -_crfr = "capacity-request-fulfillment-rate" -_AIACPRV = "AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU" -_aiacprv = "avg-inst-az-count-per-requested-vcpu" -_IAFR = "INST_AZ_FULFILLMENT_RATE" -_iafr = "inst-az-fulfillment-rate" -_SCRFR = "SPOT_CAPACITY_REQUEST_FULFILLMENT_RATE" -_scrfr = "spot-capacity-request-fulfillment-rate" -_SAIACPRV = "SPOT_AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU" -_saiacprv = "spot-avg-inst-az-count-per-requested-vcpu" -_SIAFR = "SPOT_INST_AZ_FULFILLMENT_RATE" -_siafr = "spot-inst-az-fulfillment-rate" -_MSet = "MetricSet" -_GCMMDI = "GetCapacityManagerMetricDataInput" -_cGCMMDR = "com.amazonaws.ec2#GetCapacityManagerMetricDataRequest" -_MN = "MetricNames" -_MNe = "MetricName" -_FB = "FilterBy" -_REDTe = "ReservationEndDateType" -_LIMITED = "LIMITED" -_UNLIMITED = "UNLIMITED" -_ODCR_ = "ODCR" -_odc = "odcr" -_CMTD = "CapacityManagerTagDimension" -_CMTDS = "CapacityManagerTagDimensionSet" -_CTap = "CapacityTenancy" -_CMD = "CapacityManagerDimension" -_ANcc = "AccountName" -_aNc = "accountName" -_RAese = "ReservationArn" -_rAese = "reservationArn" -_RCTe = "ReservationCreateTimestamp" -_rCTe = "reservationCreateTimestamp" -_RSTe = "ReservationStartTimestamp" -_rST = "reservationStartTimestamp" -_RETe = "ReservationEndTimestamp" -_rETe = "reservationEndTimestamp" -_rEDT = "reservationEndDateType" -_RIMCe = "ReservationInstanceMatchCriteria" -_rIMC = "reservationInstanceMatchCriteria" -_RUFOe = "ReservationUnusedFinancialOwner" -_rUFO = "reservationUnusedFinancialOwner" -_MVe = "MetricValue" -_MVS = "MetricValueSet" -_MDR = "MetricDataResult" -_dim = "dimension" -_MVet = "MetricValues" -_mVS = "metricValueSet" -_MDRS = "MetricDataResultSet" -_GCMMDO = "GetCapacityManagerMetricDataOutput" -_cGCMMDRo = "com.amazonaws.ec2#GetCapacityManagerMetricDataResult" -_MDRe = "MetricDataResults" -_mDRS = "metricDataResultSet" -_GCMMD = "GetCapacityManagerMetricData" -_GCMMDIe = "GetCapacityManagerMetricDimensionsInput" -_cGCMMDRom = "com.amazonaws.ec2#GetCapacityManagerMetricDimensionsRequest" -_MDRSe = "MetricDimensionResultSet" -_GCMMDOe = "GetCapacityManagerMetricDimensionsOutput" -_cGCMMDRoma = "com.amazonaws.ec2#GetCapacityManagerMetricDimensionsResult" -_MDRet = "MetricDimensionResults" -_mDRSe = "metricDimensionResultSet" -_GCMMDe = "GetCapacityManagerMetricDimensions" -_GCMMTKRMR = "GetCapacityManagerMonitoredTagKeysRequestMaxResults" -_GCMMTKI = "GetCapacityManagerMonitoredTagKeysInput" -_cGCMMTKR = "com.amazonaws.ec2#GetCapacityManagerMonitoredTagKeysRequest" -_CMMTKS = "CapacityManagerMonitoredTagKeyStatus" -_ACTIVATING = "ACTIVATING" -_acti = "activating" -_ACTIVATED = "ACTIVATED" -_activ = "activated" -_DEACTIVATING = "DEACTIVATING" -_deac = "deactivating" -_SUSPENDED = "SUSPENDED" -_sus = "suspended" -_CMMTK = "CapacityManagerMonitoredTagKey" -_tK = "tagKey" -_CMP = "CapacityManagerProvided" -_cMP = "capacityManagerProvided" -_CMMTKL = "CapacityManagerMonitoredTagKeyList" -_GCMMTKO = "GetCapacityManagerMonitoredTagKeysOutput" -_cGCMMTKRo = "com.amazonaws.ec2#GetCapacityManagerMonitoredTagKeysResult" -_CMTK = "CapacityManagerTagKeys" -_CMTKS = "CapacityManagerTagKeySet" -_cMTKS = "capacityManagerTagKeySet" -_GCMMTK = "GetCapacityManagerMonitoredTagKeys" -_CAapa = "CapacityAmount" -_CAZIL = "CapacityAvailabilityZoneIdList" -_CU = "CapacityUnit" -_VCPUS = "VCPUS" -_vcpu = "vcpus" -_INSTANCES = "INSTANCES" -_ATSr = "ArchitectureTypeSet" -_VTS = "VirtualizationTypeSet" -_IRWMR = "InstanceRequirementsWithMetadataRequest" -_ATrc = "ArchitectureTypes" -_VTir = "VirtualizationTypes" -_SITL = "SupportabilityInstanceTypeList" -_SMT = "SupportabilityMarketType" -_GCMSSI = "GetCapacityManagerSupportabilityScoresInput" -_cGCMSSR = "com.amazonaws.ec2#GetCapacityManagerSupportabilityScoresRequest" -_CAZI = "CapacityAvailabilityZoneIds" -_CAZIa = "CapacityAvailabilityZoneId" -_IRWM = "InstanceRequirementsWithMetadata" -_SSupp = "SupportabilityScore" -_HIGH = "HIGH" -_MEDIUM = "MEDIUM" -_LOW = "LOW" -_CMSS = "CapacityManagerSupportabilityScore" -_Scor = "Score" -_scor = "score" -_CMSSS = "CapacityManagerSupportabilityScoreSet" -_GCMSSO = "GetCapacityManagerSupportabilityScoresOutput" -_cGCMSSRo = "com.amazonaws.ec2#GetCapacityManagerSupportabilityScoresResult" -_ASg = "AggregateScore" -_aSg = "aggregateScore" -_CMSSa = "CapacityManagerSupportabilityScores" -_cMSSS = "capacityManagerSupportabilityScoreSet" -_GCMSS = "GetCapacityManagerSupportabilityScores" -_GCRURMR = "GetCapacityReservationUsageRequestMaxResults" -_GCRUI = "GetCapacityReservationUsageInput" -_cGCRUR = "com.amazonaws.ec2#GetCapacityReservationUsageRequest" -_IU = "InstanceUsage" -_UIC = "UsedInstanceCount" -_uIC = "usedInstanceCount" -_IUS = "InstanceUsageSet" -_GCRUO = "GetCapacityReservationUsageOutput" -_cGCRURo = "com.amazonaws.ec2#GetCapacityReservationUsageResult" -_IUn = "InstanceUsages" -_iUS = "instanceUsageSet" -_GCRU = "GetCapacityReservationUsage" -_GCVEAPI = "GetClientVpnEndpointAuthorizationPolicyInput" -_cGCVEAPR = "com.amazonaws.ec2#GetClientVpnEndpointAuthorizationPolicyRequest" -_CVAPSM = "ClientVpnAuthorizationPolicyShadowMode" -_GCVEAPO = "GetClientVpnEndpointAuthorizationPolicyOutput" -_cGCVEAPRo = "com.amazonaws.ec2#GetClientVpnEndpointAuthorizationPolicyResult" -_SMh = "ShadowMode" -_sMh = "shadowMode" -_GCVEAP = "GetClientVpnEndpointAuthorizationPolicy" -_GCPUI = "GetCoipPoolUsageInput" -_cGCPUR = "com.amazonaws.ec2#GetCoipPoolUsageRequest" -_CAU = "CoipAddressUsage" -_CIop_ = "CoIp" -_cIop = "coIp" -_CAUS = "CoipAddressUsageSet" -_GCPUO = "GetCoipPoolUsageOutput" -_cGCPURo = "com.amazonaws.ec2#GetCoipPoolUsageResult" -_CAUo = "CoipAddressUsages" -_cAUS = "coipAddressUsageSet" -_GCPU = "GetCoipPoolUsage" -_GCOI = "GetConsoleOutputInput" -_cGCOR = "com.amazonaws.ec2#GetConsoleOutputRequest" -_Lat = "Latest" -_GCOO = "GetConsoleOutputOutput" -_cGCORo = "com.amazonaws.ec2#GetConsoleOutputResult" -_GCO = "GetConsoleOutput" -_GCSI = "GetConsoleScreenshotInput" -_cGCSR = "com.amazonaws.ec2#GetConsoleScreenshotRequest" -_WU = "WakeUp" -_GCSO = "GetConsoleScreenshotOutput" -_cGCSRo = "com.amazonaws.ec2#GetConsoleScreenshotResult" -_IDm = "ImageData" -_iDm = "imageData" -_GCS = "GetConsoleScreenshot" -_GDPRSI = "GetDeclarativePoliciesReportSummaryInput" -_cGDPRSR = "com.amazonaws.ec2#GetDeclarativePoliciesReportSummaryRequest" -_RSeg = "RegionalSummary" -_NOMA = "NumberOfMatchedAccounts" -_nOMA = "numberOfMatchedAccounts" -_NOUA = "NumberOfUnmatchedAccounts" -_nOUA = "numberOfUnmatchedAccounts" -_RSLe = "RegionalSummaryList" -_ASttr = "AttributeSummary" -_MFV = "MostFrequentValue" -_mFV = "mostFrequentValue" -_RSegi = "RegionalSummaries" -_RSSe = "RegionalSummarySet" -_rSSe = "regionalSummarySet" -_ASLt = "AttributeSummaryList" -_GDPRSO = "GetDeclarativePoliciesReportSummaryOutput" -_cGDPRSRo = "com.amazonaws.ec2#GetDeclarativePoliciesReportSummaryResult" -_NOA = "NumberOfAccounts" -_nOA = "numberOfAccounts" -_NOFA = "NumberOfFailedAccounts" -_nOFA = "numberOfFailedAccounts" -_ASttri = "AttributeSummaries" -_ASSt = "AttributeSummarySet" -_aSSt = "attributeSummarySet" -_GDPRS = "GetDeclarativePoliciesReportSummary" -_USIF = "UnlimitedSupportedInstanceFamily" -_t___________ = "t2" -_t____________ = "t3" -_ta_ = "t3a" -_ti_ = "t8i" -_GDCSI = "GetDefaultCreditSpecificationInput" -_cGDCSR = "com.amazonaws.ec2#GetDefaultCreditSpecificationRequest" -_IFCS = "InstanceFamilyCreditSpecification" -_GDCSO = "GetDefaultCreditSpecificationOutput" -_cGDCSRo = "com.amazonaws.ec2#GetDefaultCreditSpecificationResult" -_iFCS = "instanceFamilyCreditSpecification" -_GDCS = "GetDefaultCreditSpecification" -_GEDKKII = "GetEbsDefaultKmsKeyIdInput" -_cGEDKKIR = "com.amazonaws.ec2#GetEbsDefaultKmsKeyIdRequest" -_GEDKKIO = "GetEbsDefaultKmsKeyIdOutput" -_cGEDKKIRo = "com.amazonaws.ec2#GetEbsDefaultKmsKeyIdResult" -_GEDKKI = "GetEbsDefaultKmsKeyId" -_GEEBDI = "GetEbsEncryptionByDefaultInput" -_cGEEBDR = "com.amazonaws.ec2#GetEbsEncryptionByDefaultRequest" -_GEEBDO = "GetEbsEncryptionByDefaultOutput" -_cGEEBDRo = "com.amazonaws.ec2#GetEbsEncryptionByDefaultResult" -_GEEBD = "GetEbsEncryptionByDefault" -_GEIPI = "GetEnabledIpamPolicyInput" -_cGEIPR = "com.amazonaws.ec2#GetEnabledIpamPolicyRequest" -_IPMB = "IpamPolicyManagedBy" -_dafi = "delegated_administrator_for_ipam" -_dafi_ = "delegated-administrator-for-ipam" -_GEIPO = "GetEnabledIpamPolicyOutput" -_cGEIPRo = "com.amazonaws.ec2#GetEnabledIpamPolicyResult" -_IPEp = "IpamPolicyEnabled" -_iPEp = "ipamPolicyEnabled" -_GEIP = "GetEnabledIpamPolicy" -_PLF = "PartitionLoadFrequency" -_NONE = "NONE" -_DAILY = "DAILY" -_da = "daily" -_WEEKLY = "WEEKLY" -_wee = "weekly" -_MONTHLY = "MONTHLY" -_mont = "monthly" -_AIth = "AthenaIntegration" -_IRSDA = "IntegrationResultS3DestinationArn" -_PSD = "PartitionStartDate" -_PED = "PartitionEndDate" -_AISt = "AthenaIntegrationsSet" -_ISnte = "IntegrateServices" -_AIthe = "AthenaIntegrations" -_GFLITI = "GetFlowLogsIntegrationTemplateInput" -_cGFLITR = "com.amazonaws.ec2#GetFlowLogsIntegrationTemplateRequest" -_CDSDA = "ConfigDeliveryS3DestinationArn" -_ISnteg = "IntegrateService" -_GFLITO = "GetFlowLogsIntegrationTemplateOutput" -_cGFLITRo = "com.amazonaws.ec2#GetFlowLogsIntegrationTemplateResult" -_Resu = "Result" -_resu = "result" -_GFLIT = "GetFlowLogsIntegrationTemplate" -_GGFCRRMR = "GetGroupsForCapacityReservationRequestMaxResults" -_GGFCRI = "GetGroupsForCapacityReservationInput" -_cGGFCRR = "com.amazonaws.ec2#GetGroupsForCapacityReservationRequest" -_CRG = "CapacityReservationGroup" -_CRGS = "CapacityReservationGroupSet" -_GGFCRO = "GetGroupsForCapacityReservationOutput" -_cGGFCRRo = "com.amazonaws.ec2#GetGroupsForCapacityReservationResult" -_CRGa = "CapacityReservationGroups" -_cRGS = "capacityReservationGroupSet" -_GGFCR = "GetGroupsForCapacityReservation" -_RHISe = "RequestHostIdSet" -_GHRPPI = "GetHostReservationPurchasePreviewInput" -_cGHRPPR = "com.amazonaws.ec2#GetHostReservationPurchasePreviewRequest" -_Pur = "Purchase" -_PSu = "PurchaseSet" -_GHRPPO = "GetHostReservationPurchasePreviewOutput" -_cGHRPPRo = "com.amazonaws.ec2#GetHostReservationPurchasePreviewResult" -_pur = "purchase" -_THP = "TotalHourlyPrice" -_tHP = "totalHourlyPrice" -_TUP = "TotalUpfrontPrice" -_tUP = "totalUpfrontPrice" -_GHRPP = "GetHostReservationPurchasePreview" -_GIAI = "GetImageAncestryInput" -_cGIAR = "com.amazonaws.ec2#GetImageAncestryRequest" -_IAE = "ImageAncestryEntry" -_IAEL = "ImageAncestryEntryList" -_GIAO = "GetImageAncestryOutput" -_cGIARo = "com.amazonaws.ec2#GetImageAncestryResult" -_IAEm = "ImageAncestryEntries" -_IAES = "ImageAncestryEntrySet" -_iAES = "imageAncestryEntrySet" -_GIAe = "GetImageAncestry" -_GIBPASI = "GetImageBlockPublicAccessStateInput" -_cGIBPASR = "com.amazonaws.ec2#GetImageBlockPublicAccessStateRequest" -_GIBPASO = "GetImageBlockPublicAccessStateOutput" -_cGIBPASRo = "com.amazonaws.ec2#GetImageBlockPublicAccessStateResult" -_GIBPAS = "GetImageBlockPublicAccessState" -_GIFMR = "GetImageFindingsMaxResults" -_GIFI = "GetImageFindingsInput" -_cGIFR = "com.amazonaws.ec2#GetImageFindingsRequest" -_IFPS = "ImageFindingPathSet" -_IFm = "ImageFinding" -_FAix = "FixAvailable" -_fAix = "fixAvailable" -_FOAi = "FirstObservedAt" -_fOA = "firstObservedAt" -_Tit = "Title" -_tit = "title" -_Pat = "Paths" -_PSat = "PathSet" -_pSa = "pathSet" -_sLe = "severityLabel" -_GIFES = "GetImageFindingsEntrySet" -_GIFO = "GetImageFindingsOutput" -_cGIFRo = "com.amazonaws.ec2#GetImageFindingsResult" -_IFma = "ImageFindings" -_IFS = "ImageFindingSet" -_iFS = "imageFindingSet" -_GIF = "GetImageFindings" -_GIMDI = "GetInstanceMetadataDefaultsInput" -_cGIMDR = "com.amazonaws.ec2#GetInstanceMetadataDefaultsRequest" -_HTES = "HttpTokensEnforcedState" -_IMDR = "InstanceMetadataDefaultsResponse" -_MEM = "ManagedExceptionMessage" -_mEM = "managedExceptionMessage" -_HTE = "HttpTokensEnforced" -_hTE = "httpTokensEnforced" -_GIMDO = "GetInstanceMetadataDefaultsOutput" -_cGIMDRo = "com.amazonaws.ec2#GetInstanceMetadataDefaultsResult" -_ALcc = "AccountLevel" -_aLc = "accountLevel" -_GIMD = "GetInstanceMetadataDefaults" -_EPKF = "EkPubKeyFormat" -_der_ = "der" -_tpm = "tpmt" -_EPKT = "EkPubKeyType" -_R_ = "RSA_2048" -_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "rsa-2048" -_ESP = "ECC_SEC_P384" -_esp = "ecc-sec-p384" -_GITEPI = "GetInstanceTpmEkPubInput" -_cGITEPR = "com.amazonaws.ec2#GetInstanceTpmEkPubRequest" -_EPKV = "EkPubKeyValue" -_GITEPO = "GetInstanceTpmEkPubOutput" -_cGITEPRo = "com.amazonaws.ec2#GetInstanceTpmEkPubResult" -_kFe = "keyFormat" -_KV = "KeyValue" -_kV = "keyValue" -_GITEP = "GetInstanceTpmEkPub" -_GITFIRI = "GetInstanceTypesFromInstanceRequirementsInput" -_cGITFIRR = "com.amazonaws.ec2#GetInstanceTypesFromInstanceRequirementsRequest" -_ITIFIR = "InstanceTypeInfoFromInstanceRequirements" -_ITIFIRS = "InstanceTypeInfoFromInstanceRequirementsSet" -_GITFIRO = "GetInstanceTypesFromInstanceRequirementsOutput" -_cGITFIRRo = "com.amazonaws.ec2#GetInstanceTypesFromInstanceRequirementsResult" -_GITFIR = "GetInstanceTypesFromInstanceRequirements" -_GIUDI = "GetInstanceUefiDataInput" -_cGIUDR = "com.amazonaws.ec2#GetInstanceUefiDataRequest" -_SSen = "SensitiveString" -_GIUDO = "GetInstanceUefiDataOutput" -_cGIUDRo = "com.amazonaws.ec2#GetInstanceUefiDataResult" -_GIUD = "GetInstanceUefiData" -_IAHMR = "IpamAddressHistoryMaxResults" -_GIAHI = "GetIpamAddressHistoryInput" -_cGIAHR = "com.amazonaws.ec2#GetIpamAddressHistoryRequest" -_ICSp = "IpamComplianceStatus" -_complia = "compliant" -_non = "noncompliant" -_ign = "ignored" -_IOSp = "IpamOverlapStatus" -_ove = "overlapping" -_nono = "nonoverlapping" -_IAHRT = "IpamAddressHistoryResourceType" -_IAHR = "IpamAddressHistoryRecord" -_RCes = "ResourceCidr" -_rCes = "resourceCidr" -_RNes = "ResourceName" -_rNes = "resourceName" -_RCS = "ResourceComplianceStatus" -_rCS = "resourceComplianceStatus" -_ROSe = "ResourceOverlapStatus" -_rOSe = "resourceOverlapStatus" -_SST = "SampledStartTime" -_sST = "sampledStartTime" -_SET = "SampledEndTime" -_sET = "sampledEndTime" -_IAHRS = "IpamAddressHistoryRecordSet" -_GIAHO = "GetIpamAddressHistoryOutput" -_cGIAHRo = "com.amazonaws.ec2#GetIpamAddressHistoryResult" -_GIAH = "GetIpamAddressHistory" -_GIDAI = "GetIpamDiscoveredAccountsInput" -_cGIDAR = "com.amazonaws.ec2#GetIpamDiscoveredAccountsRequest" -_DRi = "DiscoveryRegion" -_IDFC = "IpamDiscoveryFailureCode" -_arf = "assume_role_failure" -_arf_ = "assume-role-failure" -_tf__ = "throttling_failure" -_tf___ = "throttling-failure" -_uf__ = "unauthorized_failure" -_uf___ = "unauthorized-failure" -_IDFR = "IpamDiscoveryFailureReason" -_IDA = "IpamDiscoveredAccount" -_dRi = "discoveryRegion" -_LADT = "LastAttemptedDiscoveryTime" -_lADT = "lastAttemptedDiscoveryTime" -_LSDT = "LastSuccessfulDiscoveryTime" -_lSDT = "lastSuccessfulDiscoveryTime" -_OUI = "OrganizationalUnitId" -_oUI = "organizationalUnitId" -_IDAS = "IpamDiscoveredAccountSet" -_GIDAO = "GetIpamDiscoveredAccountsOutput" -_cGIDARo = "com.amazonaws.ec2#GetIpamDiscoveredAccountsResult" -_IDAp = "IpamDiscoveredAccounts" -_iDAS = "ipamDiscoveredAccountSet" -_GIDA = "GetIpamDiscoveredAccounts" -_GIDPAI = "GetIpamDiscoveredPublicAddressesInput" -_cGIDPAR = "com.amazonaws.ec2#GetIpamDiscoveredPublicAddressesRequest" -_ARd = "AddressRegion" -_IPAT = "IpamPublicAddressType" -_SMI = "SERVICE_MANAGED_IP" -_smi_ = "service-managed-ip" -_SMB = "SERVICE_MANAGED_BYOIP" -_smb = "service-managed-byoip" -_AOE = "AMAZON_OWNED_EIP" -_aoe = "amazon-owned-eip" -_AOC = "AMAZON_OWNED_CONTIG" -_aoc = "amazon-owned-contig" -_BYOIP = "BYOIP" -_EPI_ = "EC2_PUBLIC_IP" -_epi = "ec2-public-ip" -_AILI = "ANYCAST_IP_LIST_IP" -_aili = "anycast-ip-list-ip" -_IPAAS = "IpamPublicAddressAssociationStatus" -_IPASG = "IpamPublicAddressSecurityGroup" -_IPASGL = "IpamPublicAddressSecurityGroupList" -_IPAASp = "IpamPublicAddressAwsService" -_NG_ = "NAT_GATEWAY" -_ng = "nat-gateway" -_DMS = "DMS" -_dms = "database-migration-service" -_REDSHIFT = "REDSHIFT" -_red = "redshift" -_ECS_ = "ECS" -_ecs = "elastic-container-service" -_RDS_ = "RDS" -_rds = "relational-database-service" -_SV_ = "S2S_VPN" -_stsv = "site-to-site-vpn" -_EL_ = "EC2_LB" -_AGA = "AGA" -_ga_ = "global-accelerator" -_CLOUDFRONT = "CLOUDFRONT" -_clo = "cloudfront" -_OTHER = "OTHER" -_oth = "other" -_IPATp = "IpamPublicAddressTag" -_IPATL = "IpamPublicAddressTagList" -_IPATpa = "IpamPublicAddressTags" -_ETi = "EipTags" -_ETSi = "EipTagSet" -_eTSi = "eipTagSet" -_IDPA = "IpamDiscoveredPublicAddress" -_aRd = "addressRegion" -_AOI = "AddressOwnerId" -_aOI = "addressOwnerId" -_AAId = "AddressAllocationId" -_aAId = "addressAllocationId" -_aSsso = "associationStatus" -_ATddre = "AddressType" -_aTddr = "addressType" -_ser = "service" -_SRerv = "ServiceResource" -_sRer = "serviceResource" -_PIPI = "PublicIpv4PoolId" -_pIPI = "publicIpv4PoolId" -_NID = "NetworkInterfaceDescription" -_nID = "networkInterfaceDescription" -_STa = "SampleTime" -_sTa = "sampleTime" -_IDPAS = "IpamDiscoveredPublicAddressSet" -_GIDPAO = "GetIpamDiscoveredPublicAddressesOutput" -_cGIDPARo = "com.amazonaws.ec2#GetIpamDiscoveredPublicAddressesResult" -_IDPAp = "IpamDiscoveredPublicAddresses" -_iDPAS = "ipamDiscoveredPublicAddressSet" -_OST = "OldestSampleTime" -_oST = "oldestSampleTime" -_GIDPA = "GetIpamDiscoveredPublicAddresses" -_GIDRCI = "GetIpamDiscoveredResourceCidrsInput" -_cGIDRCR = "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrsRequest" -_IRCIS = "IpamResourceCidrIpSource" -_BD = "BoxedDouble" -_INIAS = "IpamNetworkInterfaceAttachmentStatus" -_IDRC = "IpamDiscoveredResourceCidr" -_RTesou = "ResourceTags" -_RTSes = "ResourceTagSet" -_rTSes = "resourceTagSet" -_IUp = "IpUsage" -_iU = "ipUsage" -_NIASetw = "NetworkInterfaceAttachmentStatus" -_nIASet = "networkInterfaceAttachmentStatus" -_IDRCS = "IpamDiscoveredResourceCidrSet" -_GIDRCO = "GetIpamDiscoveredResourceCidrsOutput" -_cGIDRCRo = "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrsResult" -_IDRCp = "IpamDiscoveredResourceCidrs" -_iDRCS = "ipamDiscoveredResourceCidrSet" -_GIDRC = "GetIpamDiscoveredResourceCidrs" -_GIDRI = "GetIpamDiscoveredRoutesInput" -_cGIDRR = "com.amazonaws.ec2#GetIpamDiscoveredRoutesRequest" -_IBAT = "IpamByoipAdvertisementType" -_glo = "global" -_IBCS = "IpamByoipCidrState" -_IDRp = "IpamDiscoveredRoute" -_IDRS = "IpamDiscoveredRouteSet" -_GIDRO = "GetIpamDiscoveredRoutesOutput" -_cGIDRRo = "com.amazonaws.ec2#GetIpamDiscoveredRoutesResult" -_IDRpa = "IpamDiscoveredRoutes" -_iDRS = "ipamDiscoveredRouteSet" -_GIDR = "GetIpamDiscoveredRoutes" -_GIIRAAI = "GetIpamInternetRegistryAssociationAsnsInput" -_cGIIRAAR = "com.amazonaws.ec2#GetIpamInternetRegistryAssociationAsnsRequest" -_IIRAAp = "IpamInternetRegistryAssociationAsn" -_LOA = "LastObservedAt" -_lOA = "lastObservedAt" -_IIRAAS = "IpamInternetRegistryAssociationAsnSet" -_GIIRAAO = "GetIpamInternetRegistryAssociationAsnsOutput" -_cGIIRAARo = "com.amazonaws.ec2#GetIpamInternetRegistryAssociationAsnsResult" -_IIRAApa = "IpamInternetRegistryAssociationAsns" -_iIRAAS = "ipamInternetRegistryAssociationAsnSet" -_GIIRAA = "GetIpamInternetRegistryAssociationAsns" -_GIIRACI = "GetIpamInternetRegistryAssociationCidrsInput" -_cGIIRACR = "com.amazonaws.ec2#GetIpamInternetRegistryAssociationCidrsRequest" -_IIRAC = "IpamInternetRegistryAssociationCidr" -_IIRACS = "IpamInternetRegistryAssociationCidrSet" -_GIIRACO = "GetIpamInternetRegistryAssociationCidrsOutput" -_cGIIRACRo = "com.amazonaws.ec2#GetIpamInternetRegistryAssociationCidrsResult" -_IIRACp = "IpamInternetRegistryAssociationCidrs" -_iIRACS = "ipamInternetRegistryAssociationCidrSet" -_GIIRAC = "GetIpamInternetRegistryAssociationCidrs" -_IPRT = "IpamPolicyResourceType" -_GIPARI = "GetIpamPolicyAllocationRulesInput" -_cGIPARR = "com.amazonaws.ec2#GetIpamPolicyAllocationRulesRequest" -_IPAR = "IpamPolicyAllocationRule" -_IPARL = "IpamPolicyAllocationRuleList" -_IPD = "IpamPolicyDocument" -_ARllo = "AllocationRules" -_ARSl = "AllocationRuleSet" -_aRSl = "allocationRuleSet" -_IPDS = "IpamPolicyDocumentSet" -_GIPARO = "GetIpamPolicyAllocationRulesOutput" -_cGIPARRo = "com.amazonaws.ec2#GetIpamPolicyAllocationRulesResult" -_IPDp = "IpamPolicyDocuments" -_iPDS = "ipamPolicyDocumentSet" -_GIPAR = "GetIpamPolicyAllocationRules" -_GIPOTI = "GetIpamPolicyOrganizationTargetsInput" -_cGIPOTR = "com.amazonaws.ec2#GetIpamPolicyOrganizationTargetsRequest" -_IPOT = "IpamPolicyOrganizationTarget" -_oTI = "organizationTargetId" -_IPOTS = "IpamPolicyOrganizationTargetSet" -_GIPOTO = "GetIpamPolicyOrganizationTargetsOutput" -_cGIPOTRo = "com.amazonaws.ec2#GetIpamPolicyOrganizationTargetsResult" -_OTrg = "OrganizationTargets" -_OTS = "OrganizationTargetSet" -_oTS = "organizationTargetSet" -_GIPOT = "GetIpamPolicyOrganizationTargets" -_GIPAMR = "GetIpamPoolAllocationsMaxResults" -_GIPAI = "GetIpamPoolAllocationsInput" -_cGIPAR = "com.amazonaws.ec2#GetIpamPoolAllocationsRequest" -_GIPAO = "GetIpamPoolAllocationsOutput" -_cGIPARo = "com.amazonaws.ec2#GetIpamPoolAllocationsResult" -_GIPA = "GetIpamPoolAllocations" -_GIPCI = "GetIpamPoolCidrsInput" -_cGIPCR = "com.amazonaws.ec2#GetIpamPoolCidrsRequest" -_IPCSp = "IpamPoolCidrSet" -_GIPCO = "GetIpamPoolCidrsOutput" -_cGIPCRo = "com.amazonaws.ec2#GetIpamPoolCidrsResult" -_IPCpam = "IpamPoolCidrs" -_iPCS = "ipamPoolCidrSet" -_GIPC = "GetIpamPoolCidrs" -_GIPLRRI = "GetIpamPrefixListResolverRulesInput" -_cGIPLRRR = "com.amazonaws.ec2#GetIpamPrefixListResolverRulesRequest" -_IPLRRC = "IpamPrefixListResolverRuleCondition" -_oper = "operation" -_rTes = "resourceTag" -_IPLRRCS = "IpamPrefixListResolverRuleConditionSet" -_IPLRR = "IpamPrefixListResolverRule" -_rTu = "ruleType" -_sCta = "staticCidr" -_CSond = "ConditionSet" -_cSon = "conditionSet" -_IPLRRS = "IpamPrefixListResolverRuleSet" -_GIPLRRO = "GetIpamPrefixListResolverRulesOutput" -_cGIPLRRRo = "com.amazonaws.ec2#GetIpamPrefixListResolverRulesResult" -_RSu = "RuleSet" -_rSu = "ruleSet" -_GIPLRR = "GetIpamPrefixListResolverRules" -_GIPLRVEI = "GetIpamPrefixListResolverVersionEntriesInput" -_cGIPLRVER = "com.amazonaws.ec2#GetIpamPrefixListResolverVersionEntriesRequest" -_IPLRV = "IpamPrefixListResolverVersion" -_IPLRVE = "IpamPrefixListResolverVersionEntry" -_IPLRVES = "IpamPrefixListResolverVersionEntrySet" -_GIPLRVEO = "GetIpamPrefixListResolverVersionEntriesOutput" -_cGIPLRVERo = "com.amazonaws.ec2#GetIpamPrefixListResolverVersionEntriesResult" -_GIPLRVE = "GetIpamPrefixListResolverVersionEntries" -_IPLRVNS = "IpamPrefixListResolverVersionNumberSet" -_GIPLRVI = "GetIpamPrefixListResolverVersionsInput" -_cGIPLRVR = "com.amazonaws.ec2#GetIpamPrefixListResolverVersionsRequest" -_IPLRVp = "IpamPrefixListResolverVersions" -_IPLRVS = "IpamPrefixListResolverVersionSet" -_GIPLRVO = "GetIpamPrefixListResolverVersionsOutput" -_cGIPLRVRo = "com.amazonaws.ec2#GetIpamPrefixListResolverVersionsResult" -_iPLRVS = "ipamPrefixListResolverVersionSet" -_GIPLRV = "GetIpamPrefixListResolverVersions" -_GIRCI = "GetIpamResourceCidrsInput" -_cGIRCR = "com.amazonaws.ec2#GetIpamResourceCidrsRequest" -_IMS = "IpamManagementState" -_IRC = "IpamResourceCidr" -_CSom = "ComplianceStatus" -_cSomp = "complianceStatus" -_MSa = "ManagementState" -_mSan = "managementState" -_OSv = "OverlapStatus" -_oSv = "overlapStatus" -_IRCS = "IpamResourceCidrSet" -_GIRCO = "GetIpamResourceCidrsOutput" -_cGIRCRo = "com.amazonaws.ec2#GetIpamResourceCidrsResult" -_IRCp = "IpamResourceCidrs" -_iRCS = "ipamResourceCidrSet" -_GIRC = "GetIpamResourceCidrs" -_GIROAI = "GetIpamRouteOriginAuthorizationsInput" -_cGIROAR = "com.amazonaws.ec2#GetIpamRouteOriginAuthorizationsRequest" -_IROAI = "IpamRouteOriginAuthorizationInfo" -_mL = "maxLength" -_IROAIS = "IpamRouteOriginAuthorizationInfoSet" -_GIROAO = "GetIpamRouteOriginAuthorizationsOutput" -_cGIROARo = "com.amazonaws.ec2#GetIpamRouteOriginAuthorizationsResult" -_IROA = "IpamRouteOriginAuthorizations" -_IROAS = "IpamRouteOriginAuthorizationSet" -_iROAS = "ipamRouteOriginAuthorizationSet" -_GIROA = "GetIpamRouteOriginAuthorizations" -_GIRPFI = "GetIpamRouteProtectionFindingsInput" -_cGIRPFR = "com.amazonaws.ec2#GetIpamRouteProtectionFindingsRequest" -_IROAp = "IpamRouteOriginAuthorization" -_Mat = "Match" -_mat = "match" -_Expir = "Expiration" -_expi = "expiration" -_IRO = "IpamRouteOverlap" -_DAet = "DetectedAt" -_dAet = "detectedAt" -_IROS = "IpamRouteOverlapSet" -_IRSp = "IpamRpkiStatus" -_IRSpa = "IpamRpkiStrength" -_stri = "strict" -_permi = "permissive" -_IRPF = "IpamRouteProtectionFinding" -_RSp = "RpkiStatus" -_rSp = "rpkiStatus" -_RSpk = "RpkiStrength" -_rSpk = "rpkiStrength" -_Roa = "Roas" -_RSoa = "RoaSet" -_rSoa = "roaSet" -_ROou = "RouteOverlaps" -_ROSo = "RouteOverlapSet" -_rOSo = "routeOverlapSet" -_RSTo = "RoaSampleTime" -_rSTo = "roaSampleTime" -_IRPFS = "IpamRouteProtectionFindingSet" -_GIRPFO = "GetIpamRouteProtectionFindingsOutput" -_cGIRPFRo = "com.amazonaws.ec2#GetIpamRouteProtectionFindingsResult" -_RPF = "RouteProtectionFindings" -_RPFS = "RouteProtectionFindingSet" -_rPFS = "routeProtectionFindingSet" -_GIRPF = "GetIpamRouteProtectionFindings" -_COh = "ChronologicalOrder" -_forw = "forward" -_reve = "reverse" -_GIRPRDI = "GetIpamRoutingPolicyRegistrationDeltasInput" -_cGIRPRDR = "com.amazonaws.ec2#GetIpamRoutingPolicyRegistrationDeltasRequest" -_IRPRDSp = "IpamRoutingPolicyRegistrationDeltaSet" -_GIRPRDO = "GetIpamRoutingPolicyRegistrationDeltasOutput" -_cGIRPRDRo = "com.amazonaws.ec2#GetIpamRoutingPolicyRegistrationDeltasResult" -_IRPRDp = "IpamRoutingPolicyRegistrationDeltas" -_iRPRDS = "ipamRoutingPolicyRegistrationDeltaSet" -_GIRPRD = "GetIpamRoutingPolicyRegistrationDeltas" -_GIRPRI = "GetIpamRoutingPolicyRegistrationsInput" -_cGIRPRR = "com.amazonaws.ec2#GetIpamRoutingPolicyRegistrationsRequest" -_IRPRS = "IpamRoutingPolicyRegistrationState" -_pa________ = "pending_activate" -_pa_________ = "pending-activate" -_af______ = "activate_failed" -_af_______ = "activate-failed" -_IRPR = "IpamRoutingPolicyRegistration" -_ASsne = "AsnSet" -_aSsn = "asnSet" -_pMSA = "permitMoreSpecificAnnouncements" -_LDI = "LatestDeltaId" -_lDI = "latestDeltaId" -_IRPRSp = "IpamRoutingPolicyRegistrationSet" -_GIRPRO = "GetIpamRoutingPolicyRegistrationsOutput" -_cGIRPRRo = "com.amazonaws.ec2#GetIpamRoutingPolicyRegistrationsResult" -_IRPRp = "IpamRoutingPolicyRegistrations" -_iRPRS = "ipamRoutingPolicyRegistrationSet" -_GIRPR = "GetIpamRoutingPolicyRegistrations" -_GLTDI = "GetLaunchTemplateDataInput" -_cGLTDR = "com.amazonaws.ec2#GetLaunchTemplateDataRequest" -_GLTDO = "GetLaunchTemplateDataOutput" -_cGLTDRo = "com.amazonaws.ec2#GetLaunchTemplateDataResult" -_GLTD = "GetLaunchTemplateData" -_GMPLAMR = "GetManagedPrefixListAssociationsMaxResults" -_GMPLAI = "GetManagedPrefixListAssociationsInput" -_cGMPLAR = "com.amazonaws.ec2#GetManagedPrefixListAssociationsRequest" -_PLAr = "PrefixListAssociation" -_PLAS = "PrefixListAssociationSet" -_GMPLAO = "GetManagedPrefixListAssociationsOutput" -_cGMPLARo = "com.amazonaws.ec2#GetManagedPrefixListAssociationsResult" -_PLAre = "PrefixListAssociations" -_pLAS = "prefixListAssociationSet" -_GMPLA = "GetManagedPrefixListAssociations" -_GMPLEI = "GetManagedPrefixListEntriesInput" -_cGMPLER = "com.amazonaws.ec2#GetManagedPrefixListEntriesRequest" -_TVa = "TargetVersion" -_PLE = "PrefixListEntry" -_PLES = "PrefixListEntrySet" -_GMPLEO = "GetManagedPrefixListEntriesOutput" -_cGMPLERo = "com.amazonaws.ec2#GetManagedPrefixListEntriesResult" -_GMPLE = "GetManagedPrefixListEntries" -_GMRVI = "GetManagedResourceVisibilityInput" -_cGMRVR = "com.amazonaws.ec2#GetManagedResourceVisibilityRequest" -_MRDV = "ManagedResourceDefaultVisibility" -_hid = "hidden" -_vi = "visible" -_MRVS = "ManagedResourceVisibilitySettings" -_DVefa = "DefaultVisibility" -_dVefa = "defaultVisibility" -_GMRVO = "GetManagedResourceVisibilityOutput" -_cGMRVRo = "com.amazonaws.ec2#GetManagedResourceVisibilityResult" -_Vi = "Visibility" -_vis = "visibility" -_GMRV = "GetManagedResourceVisibility" -_GNIASAFMR = "GetNetworkInsightsAccessScopeAnalysisFindingsMaxResults" -_GNIASAFI = "GetNetworkInsightsAccessScopeAnalysisFindingsInput" -_cGNIASAFR = "com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsRequest" -_GNIASAFO = "GetNetworkInsightsAccessScopeAnalysisFindingsOutput" -_cGNIASAFRo = "com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsResult" -_aSn = "analysisStatus" -_AFn = "AnalysisFindings" -_AFS = "AnalysisFindingSet" -_aFS = "analysisFindingSet" -_GNIASAF = "GetNetworkInsightsAccessScopeAnalysisFindings" -_GNIASCI = "GetNetworkInsightsAccessScopeContentInput" -_cGNIASCR = "com.amazonaws.ec2#GetNetworkInsightsAccessScopeContentRequest" -_GNIASCO = "GetNetworkInsightsAccessScopeContentOutput" -_cGNIASCRo = "com.amazonaws.ec2#GetNetworkInsightsAccessScopeContentResult" -_GNIASC = "GetNetworkInsightsAccessScopeContent" -_GPDI = "GetPasswordDataInput" -_cGPDR = "com.amazonaws.ec2#GetPasswordDataRequest" -_PDa = "PasswordData" -_GPDO = "GetPasswordDataOutput" -_cGPDRo = "com.amazonaws.ec2#GetPasswordDataResult" -_pDa = "passwordData" -_GPD = "GetPasswordData" -_GRIEQI = "GetReservedInstancesExchangeQuoteInput" -_cGRIEQR = "com.amazonaws.ec2#GetReservedInstancesExchangeQuoteRequest" -_RVe = "ReservationValue" -_RTV = "RemainingTotalValue" -_rTV = "remainingTotalValue" -_RUV = "RemainingUpfrontValue" -_rUV = "remainingUpfrontValue" -_RIRV = "ReservedInstanceReservationValue" -_rVe = "reservationValue" -_rIIe = "reservedInstanceId" -_RIRVS = "ReservedInstanceReservationValueSet" -_TRV = "TargetReservationValue" -_TRVS = "TargetReservationValueSet" -_GRIEQO = "GetReservedInstancesExchangeQuoteOutput" -_cGRIEQRo = "com.amazonaws.ec2#GetReservedInstancesExchangeQuoteResult" -_IVEs = "IsValidExchange" -_iVE = "isValidExchange" -_ORIWEA = "OutputReservedInstancesWillExpireAt" -_oRIWEA = "outputReservedInstancesWillExpireAt" -_PDay = "PaymentDue" -_pDay = "paymentDue" -_RIVR = "ReservedInstanceValueRollup" -_rIVR = "reservedInstanceValueRollup" -_RIVS = "ReservedInstanceValueSet" -_rIVS = "reservedInstanceValueSet" -_TCVR = "TargetConfigurationValueRollup" -_tCVR = "targetConfigurationValueRollup" -_TCVS = "TargetConfigurationValueSet" -_tCVS = "targetConfigurationValueSet" -_VFR = "ValidationFailureReason" -_vFR = "validationFailureReason" -_GRIEQ = "GetReservedInstancesExchangeQuote" -_GRSAI = "GetRouteServerAssociationsInput" -_cGRSAR = "com.amazonaws.ec2#GetRouteServerAssociationsRequest" -_RSAL = "RouteServerAssociationsList" -_GRSAO = "GetRouteServerAssociationsOutput" -_cGRSARo = "com.amazonaws.ec2#GetRouteServerAssociationsResult" -_RSAo = "RouteServerAssociations" -_RSASo = "RouteServerAssociationSet" -_rSAS = "routeServerAssociationSet" -_GRSA = "GetRouteServerAssociations" -_GRSPI = "GetRouteServerPropagationsInput" -_cGRSPR = "com.amazonaws.ec2#GetRouteServerPropagationsRequest" -_RSPLo = "RouteServerPropagationsList" -_GRSPO = "GetRouteServerPropagationsOutput" -_cGRSPRo = "com.amazonaws.ec2#GetRouteServerPropagationsResult" -_RSPout = "RouteServerPropagations" -_RSPSout = "RouteServerPropagationSet" -_rSPSo = "routeServerPropagationSet" -_GRSP = "GetRouteServerPropagations" -_GRSRDI = "GetRouteServerRoutingDatabaseInput" -_cGRSRDR = "com.amazonaws.ec2#GetRouteServerRoutingDatabaseRequest" -_APs = "AsPath" -_RSRIS = "RouteServerRouteInstallationStatus" -_INSTALLED = "INSTALLED" -_instal = "installed" -_REJECTED = "REJECTED" -_RSRID = "RouteServerRouteInstallationDetail" -_RISo = "RouteInstallationStatus" -_rISo = "routeInstallationStatus" -_RISR = "RouteInstallationStatusReason" -_rISR = "routeInstallationStatusReason" -_RSRIDo = "RouteServerRouteInstallationDetails" -_RSRS = "RouteServerRouteStatus" -_IR_ = "IN_RIB" -_ir______ = "in-rib" -_IF___ = "IN_FIB" -_if__ = "in-fib" -_RSRo = "RouteServerRoute" -_RID = "RouteInstallationDetails" -_RIDS = "RouteInstallationDetailSet" -_rIDS = "routeInstallationDetailSet" -_RSoutet = "RouteStatus" -_rSout = "routeStatus" -_APsa = "AsPaths" -_APSs = "AsPathSet" -_aPS = "asPathSet" -_Med = "Med" -_med_ = "med" -_NHI = "NextHopIp" -_nHI = "nextHopIp" -_RSRL = "RouteServerRouteList" -_GRSRDO = "GetRouteServerRoutingDatabaseOutput" -_cGRSRDRo = "com.amazonaws.ec2#GetRouteServerRoutingDatabaseResult" -_ARP = "AreRoutesPersisted" -_aRP = "areRoutesPersisted" -_GRSRD = "GetRouteServerRoutingDatabase" -_GSGFVRMR = "GetSecurityGroupsForVpcRequestMaxResults" -_GSGFVI = "GetSecurityGroupsForVpcInput" -_cGSGFVR = "com.amazonaws.ec2#GetSecurityGroupsForVpcRequest" -_SGFV = "SecurityGroupForVpc" -_PVIr = "PrimaryVpcId" -_pVIr = "primaryVpcId" -_SGFVL = "SecurityGroupForVpcList" -_GSGFVO = "GetSecurityGroupsForVpcOutput" -_cGSGFVRo = "com.amazonaws.ec2#GetSecurityGroupsForVpcResult" -_SGFVe = "SecurityGroupForVpcs" -_SGFVS = "SecurityGroupForVpcSet" -_sGFVS = "securityGroupForVpcSet" -_GSGFV = "GetSecurityGroupsForVpc" -_GSCASI = "GetSerialConsoleAccessStatusInput" -_cGSCASR = "com.amazonaws.ec2#GetSerialConsoleAccessStatusRequest" -_GSCASO = "GetSerialConsoleAccessStatusOutput" -_cGSCASRo = "com.amazonaws.ec2#GetSerialConsoleAccessStatusResult" -_GSCAS = "GetSerialConsoleAccessStatus" -_GSBPASI = "GetSnapshotBlockPublicAccessStateInput" -_cGSBPASR = "com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateRequest" -_GSBPASO = "GetSnapshotBlockPublicAccessStateOutput" -_cGSBPASRo = "com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateResult" -_GSBPAS = "GetSnapshotBlockPublicAccessState" -_SPSMR = "SpotPlacementScoresMaxResults" -_SPSTC = "SpotPlacementScoresTargetCapacity" -_GSPSI = "GetSpotPlacementScoresInput" -_cGSPSR = "com.amazonaws.ec2#GetSpotPlacementScoresRequest" -_ILZ = "IncludeLocalZones" -_SPSp = "SpotPlacementScore" -_SPSpo = "SpotPlacementScores" -_GSPSO = "GetSpotPlacementScoresOutput" -_cGSPSRo = "com.amazonaws.ec2#GetSpotPlacementScoresResult" -_SPSS = "SpotPlacementScoreSet" -_sPSS = "spotPlacementScoreSet" -_GSPS = "GetSpotPlacementScores" -_GSCRMR = "GetSubnetCidrReservationsMaxResults" -_GSCRI = "GetSubnetCidrReservationsInput" -_cGSCRR = "com.amazonaws.ec2#GetSubnetCidrReservationsRequest" -_SCRL = "SubnetCidrReservationList" -_GSCRO = "GetSubnetCidrReservationsOutput" -_cGSCRRo = "com.amazonaws.ec2#GetSubnetCidrReservationsResult" -_SICR = "SubnetIpv4CidrReservations" -_SICRS = "SubnetIpv4CidrReservationSet" -_sICRS = "subnetIpv4CidrReservationSet" -_SICRu = "SubnetIpv6CidrReservations" -_SICRSu = "SubnetIpv6CidrReservationSet" -_sICRSu = "subnetIpv6CidrReservationSet" -_GSCR = "GetSubnetCidrReservations" -_GTGANCI = "GetTransitGatewayAttachmentNatConfigurationInput" -_cGTGANCR = "com.amazonaws.ec2#GetTransitGatewayAttachmentNatConfigurationRequest" -_TGNRS = "TransitGatewayNatRuleState" -_deact = "deactivated" -_TGNR = "TransitGatewayNatRule" -_MSC = "MatchSourceCidr" -_mSC = "matchSourceCidr" -_NCa = "NatCidr" -_nCa = "natCidr" -_TGNRL = "TransitGatewayNatRuleList" -_TGANSRSV = "TransitGatewayAttachmentNatSystemRouteSupportValue" -_GTGANCO = "GetTransitGatewayAttachmentNatConfigurationOutput" -_cGTGANCRo = "com.amazonaws.ec2#GetTransitGatewayAttachmentNatConfigurationResult" -_NSRS = "NatSystemRouteSupport" -_nSRS = "natSystemRouteSupport" -_NGR = "NatGatewayRules" -_NGRS = "NatGatewayRuleSet" -_nGRS = "natGatewayRuleSet" -_GTGANC = "GetTransitGatewayAttachmentNatConfiguration" -_GTGAPI = "GetTransitGatewayAttachmentPropagationsInput" -_cGTGAPR = "com.amazonaws.ec2#GetTransitGatewayAttachmentPropagationsRequest" -_TGAP = "TransitGatewayAttachmentPropagation" -_TGAPL = "TransitGatewayAttachmentPropagationList" -_GTGAPO = "GetTransitGatewayAttachmentPropagationsOutput" -_cGTGAPRo = "com.amazonaws.ec2#GetTransitGatewayAttachmentPropagationsResult" -_TGAPr = "TransitGatewayAttachmentPropagations" -_tGAP = "transitGatewayAttachmentPropagations" -_GTGAP = "GetTransitGatewayAttachmentPropagations" -_GTGMPEI = "GetTransitGatewayMeteringPolicyEntriesInput" -_cGTGMPER = "com.amazonaws.ec2#GetTransitGatewayMeteringPolicyEntriesRequest" -_TGMPEL = "TransitGatewayMeteringPolicyEntryList" -_GTGMPEO = "GetTransitGatewayMeteringPolicyEntriesOutput" -_cGTGMPERo = "com.amazonaws.ec2#GetTransitGatewayMeteringPolicyEntriesResult" -_TGMPEr = "TransitGatewayMeteringPolicyEntries" -_tGMPEr = "transitGatewayMeteringPolicyEntries" -_GTGMPE = "GetTransitGatewayMeteringPolicyEntries" -_GTGMDAI = "GetTransitGatewayMulticastDomainAssociationsInput" -_cGTGMDAR = "com.amazonaws.ec2#GetTransitGatewayMulticastDomainAssociationsRequest" -_TGMDAra = "TransitGatewayMulticastDomainAssociation" -_TGMDAL = "TransitGatewayMulticastDomainAssociationList" -_GTGMDAO = "GetTransitGatewayMulticastDomainAssociationsOutput" -_cGTGMDARo = "com.amazonaws.ec2#GetTransitGatewayMulticastDomainAssociationsResult" -_MDA = "MulticastDomainAssociations" -_mDA = "multicastDomainAssociations" -_GTGMDA = "GetTransitGatewayMulticastDomainAssociations" -_GTGPTAI = "GetTransitGatewayPolicyTableAssociationsInput" -_cGTGPTAR = "com.amazonaws.ec2#GetTransitGatewayPolicyTableAssociationsRequest" -_TGPTAL = "TransitGatewayPolicyTableAssociationList" -_GTGPTAO = "GetTransitGatewayPolicyTableAssociationsOutput" -_cGTGPTARo = "com.amazonaws.ec2#GetTransitGatewayPolicyTableAssociationsResult" -_GTGPTA = "GetTransitGatewayPolicyTableAssociations" -_GTGPTEI = "GetTransitGatewayPolicyTableEntriesInput" -_cGTGPTER = "com.amazonaws.ec2#GetTransitGatewayPolicyTableEntriesRequest" -_TGPTEL = "TransitGatewayPolicyTableEntryList" -_GTGPTEO = "GetTransitGatewayPolicyTableEntriesOutput" -_cGTGPTERo = "com.amazonaws.ec2#GetTransitGatewayPolicyTableEntriesResult" -_TGPTEr = "TransitGatewayPolicyTableEntries" -_tGPTEr = "transitGatewayPolicyTableEntries" -_GTGPTE = "GetTransitGatewayPolicyTableEntries" -_GTGPLRI = "GetTransitGatewayPrefixListReferencesInput" -_cGTGPLRR = "com.amazonaws.ec2#GetTransitGatewayPrefixListReferencesRequest" -_TGPLRSr = "TransitGatewayPrefixListReferenceSet" -_GTGPLRO = "GetTransitGatewayPrefixListReferencesOutput" -_cGTGPLRRo = "com.amazonaws.ec2#GetTransitGatewayPrefixListReferencesResult" -_TGPLRr = "TransitGatewayPrefixListReferences" -_tGPLRS = "transitGatewayPrefixListReferenceSet" -_GTGPLR = "GetTransitGatewayPrefixListReferences" -_GTGRTAI = "GetTransitGatewayRouteTableAssociationsInput" -_cGTGRTAR = "com.amazonaws.ec2#GetTransitGatewayRouteTableAssociationsRequest" -_TGRTAra = "TransitGatewayRouteTableAssociation" -_TGRTALr = "TransitGatewayRouteTableAssociationList" -_GTGRTAO = "GetTransitGatewayRouteTableAssociationsOutput" -_cGTGRTARo = "com.amazonaws.ec2#GetTransitGatewayRouteTableAssociationsResult" -_GTGRTA = "GetTransitGatewayRouteTableAssociations" -_GTGRTPI = "GetTransitGatewayRouteTablePropagationsInput" -_cGTGRTPR = "com.amazonaws.ec2#GetTransitGatewayRouteTablePropagationsRequest" -_TGRTP = "TransitGatewayRouteTablePropagation" -_TGRTPL = "TransitGatewayRouteTablePropagationList" -_GTGRTPO = "GetTransitGatewayRouteTablePropagationsOutput" -_cGTGRTPRo = "com.amazonaws.ec2#GetTransitGatewayRouteTablePropagationsResult" -_TGRTPr = "TransitGatewayRouteTablePropagations" -_tGRTP = "transitGatewayRouteTablePropagations" -_GTGRTP = "GetTransitGatewayRouteTablePropagations" -_GVAEPI = "GetVerifiedAccessEndpointPolicyInput" -_cGVAEPR = "com.amazonaws.ec2#GetVerifiedAccessEndpointPolicyRequest" -_GVAEPO = "GetVerifiedAccessEndpointPolicyOutput" -_cGVAEPRo = "com.amazonaws.ec2#GetVerifiedAccessEndpointPolicyResult" -_PEo = "PolicyEnabled" -_pEo = "policyEnabled" -_GVAEP = "GetVerifiedAccessEndpointPolicy" -_GVAETMR = "GetVerifiedAccessEndpointTargetsMaxResults" -_GVAETI = "GetVerifiedAccessEndpointTargetsInput" -_cGVAETR = "com.amazonaws.ec2#GetVerifiedAccessEndpointTargetsRequest" -_VAETe = "VerifiedAccessEndpointTarget" -_VAETIA = "VerifiedAccessEndpointTargetIpAddress" -_vAETIA = "verifiedAccessEndpointTargetIpAddress" -_VAETD = "VerifiedAccessEndpointTargetDns" -_vAETD = "verifiedAccessEndpointTargetDns" -_VAETL = "VerifiedAccessEndpointTargetList" -_GVAETO = "GetVerifiedAccessEndpointTargetsOutput" -_cGVAETRo = "com.amazonaws.ec2#GetVerifiedAccessEndpointTargetsResult" -_VAETer = "VerifiedAccessEndpointTargets" -_VAETS = "VerifiedAccessEndpointTargetSet" -_vAETS = "verifiedAccessEndpointTargetSet" -_GVAET = "GetVerifiedAccessEndpointTargets" -_GVAGPI = "GetVerifiedAccessGroupPolicyInput" -_cGVAGPR = "com.amazonaws.ec2#GetVerifiedAccessGroupPolicyRequest" -_GVAGPO = "GetVerifiedAccessGroupPolicyOutput" -_cGVAGPRo = "com.amazonaws.ec2#GetVerifiedAccessGroupPolicyResult" -_GVAGP = "GetVerifiedAccessGroupPolicy" -_GVRBEEMR = "GetVpcResourcesBlockingEncryptionEnforcementMaxResults" -_GVRBEEI = "GetVpcResourcesBlockingEncryptionEnforcementInput" -_cGVRBEER = "com.amazonaws.ec2#GetVpcResourcesBlockingEncryptionEnforcementRequest" -_VENCR = "VpcEncryptionNonCompliantResource" -_IEs = "IsExcludable" -_iEs = "isExcludable" -_VENCRL = "VpcEncryptionNonCompliantResourceList" -_GVRBEEO = "GetVpcResourcesBlockingEncryptionEnforcementOutput" -_cGVRBEERo = "com.amazonaws.ec2#GetVpcResourcesBlockingEncryptionEnforcementResult" -_NCR = "NonCompliantResources" -_NCRS = "NonCompliantResourceSet" -_nCRS = "nonCompliantResourceSet" -_GVRBEE = "GetVpcResourcesBlockingEncryptionEnforcement" -_VCDTI = "VpnConnectionDeviceTypeId" -_GVCDSCI = "GetVpnConnectionDeviceSampleConfigurationInput" -_cGVCDSCR = "com.amazonaws.ec2#GetVpnConnectionDeviceSampleConfigurationRequest" -_IKEVn = "InternetKeyExchangeVersion" -_STam = "SampleType" -_VCDSC = "VpnConnectionDeviceSampleConfiguration" -_GVCDSCO = "GetVpnConnectionDeviceSampleConfigurationOutput" -_cGVCDSCRo = "com.amazonaws.ec2#GetVpnConnectionDeviceSampleConfigurationResult" -_vCDSC = "vpnConnectionDeviceSampleConfiguration" -_GVCDSC = "GetVpnConnectionDeviceSampleConfiguration" -_GVCDTI = "GetVpnConnectionDeviceTypesInput" -_cGVCDTR = "com.amazonaws.ec2#GetVpnConnectionDeviceTypesRequest" -_VCDT = "VpnConnectionDeviceType" -_vCDTI = "vpnConnectionDeviceTypeId" -_Ven = "Vendor" -_ven = "vendor" -_Sof = "Software" -_sof = "software" -_VCDTL = "VpnConnectionDeviceTypeList" -_GVCDTO = "GetVpnConnectionDeviceTypesOutput" -_cGVCDTRo = "com.amazonaws.ec2#GetVpnConnectionDeviceTypesResult" -_VCDTp = "VpnConnectionDeviceTypes" -_VCDTS = "VpnConnectionDeviceTypeSet" -_vCDTS = "vpnConnectionDeviceTypeSet" -_GVCDT = "GetVpnConnectionDeviceTypes" -_GVTRSI = "GetVpnTunnelReplacementStatusInput" -_cGVTRSR = "com.amazonaws.ec2#GetVpnTunnelReplacementStatusRequest" -_MDai = "MaintenanceDetails" -_PM = "PendingMaintenance" -_pM = "pendingMaintenance" -_MAAA = "MaintenanceAutoAppliedAfter" -_mAAA = "maintenanceAutoAppliedAfter" -_LMA = "LastMaintenanceApplied" -_lMA = "lastMaintenanceApplied" -_GVTRSO = "GetVpnTunnelReplacementStatusOutput" -_cGVTRSRo = "com.amazonaws.ec2#GetVpnTunnelReplacementStatusResult" -_vTOIA = "vpnTunnelOutsideIpAddress" -_mDa = "maintenanceDetails" -_GVTRS = "GetVpnTunnelReplacementStatus" -_ICVCCRLI = "ImportClientVpnClientCertificateRevocationListInput" -_cICVCCRLR = "com.amazonaws.ec2#ImportClientVpnClientCertificateRevocationListRequest" -_ICVCCRLO = "ImportClientVpnClientCertificateRevocationListOutput" -_cICVCCRLRo = "com.amazonaws.ec2#ImportClientVpnClientCertificateRevocationListResult" -_ICVCCRL = "ImportClientVpnClientCertificateRevocationList" -_CDl = "ClientData" -_Comm = "Comment" -_UEp = "UploadEnd" -_USp = "UploadSize" -_USpl = "UploadStart" -_IDCm = "ImageDiskContainer" -_IDCL = "ImageDiskContainerList" -_IILCRm = "ImportImageLicenseConfigurationRequest" -_IILSLRm = "ImportImageLicenseSpecificationListRequest" -_III = "ImportImageInput" -_cIIR = "com.amazonaws.ec2#ImportImageRequest" -_DCisko = "DiskContainers" -_DCiskon = "DiskContainer" -_IIO = "ImportImageOutput" -_cIIRo = "com.amazonaws.ec2#ImportImageResult" -_IImpo = "ImportImage" -_DIDis = "DiskImageDetail" -_Byt = "Bytes" -_byt = "bytes" -_VDo = "VolumeDetail" -_DIisk = "DiskImage" -_DILi = "DiskImageList" -_Da = "Data" -_dat = "data" -_IILS = "ImportInstanceLaunchSpecification" -_AId = "AdditionalInfo" -_aId = "additionalInfo" -_IIIm = "ImportInstanceInput" -_cIIRom = "com.amazonaws.ec2#ImportInstanceRequest" -_DIiskm = "DiskImages" -_dIis = "diskImage" -_IIOm = "ImportInstanceOutput" -_cIIRoma = "com.amazonaws.ec2#ImportInstanceResult" -_cTonv = "conversionTask" -_Blo = "Blob" -_IKPI = "ImportKeyPairInput" -_cIKPR = "com.amazonaws.ec2#ImportKeyPairRequest" -_PKM = "PublicKeyMaterial" -_pKM = "publicKeyMaterial" -_IKPO = "ImportKeyPairOutput" -_cIKPRo = "com.amazonaws.ec2#ImportKeyPairResult" -_IKP = "ImportKeyPair" -_SDCn = "SnapshotDiskContainer" -_ISIm = "ImportSnapshotInput" -_cISR = "com.amazonaws.ec2#ImportSnapshotRequest" -_ISO = "ImportSnapshotOutput" -_cISRo = "com.amazonaws.ec2#ImportSnapshotResult" -_ISmpo = "ImportSnapshot" -_IVI = "ImportVolumeInput" -_cIVR = "com.amazonaws.ec2#ImportVolumeRequest" -_IVO = "ImportVolumeOutput" -_cIVRo = "com.amazonaws.ec2#ImportVolumeResult" -_LIIRBMR = "ListImagesInRecycleBinMaxResults" -_LIIRBI = "ListImagesInRecycleBinInput" -_cLIIRBR = "com.amazonaws.ec2#ListImagesInRecycleBinRequest" -_IRBI = "ImageRecycleBinInfo" -_RBET = "RecycleBinEnterTime" -_rBET = "recycleBinEnterTime" -_RBETe = "RecycleBinExitTime" -_rBETe = "recycleBinExitTime" -_IRBIL = "ImageRecycleBinInfoList" -_LIIRBO = "ListImagesInRecycleBinOutput" -_cLIIRBRo = "com.amazonaws.ec2#ListImagesInRecycleBinResult" -_ISmage = "ImageSet" -_iSmage = "imageSet" -_LIIRB = "ListImagesInRecycleBin" -_LSIRBMR = "ListSnapshotsInRecycleBinMaxResults" -_LSIRBI = "ListSnapshotsInRecycleBinInput" -_cLSIRBR = "com.amazonaws.ec2#ListSnapshotsInRecycleBinRequest" -_SRBI = "SnapshotRecycleBinInfo" -_SRBIL = "SnapshotRecycleBinInfoList" -_LSIRBO = "ListSnapshotsInRecycleBinOutput" -_cLSIRBRo = "com.amazonaws.ec2#ListSnapshotsInRecycleBinResult" -_LSIRB = "ListSnapshotsInRecycleBin" -_LVIRBI = "ListVolumesInRecycleBinInput" -_cLVIRBR = "com.amazonaws.ec2#ListVolumesInRecycleBinRequest" -_VRBI = "VolumeRecycleBinInfo" -_VRBIL = "VolumeRecycleBinInfoList" -_LVIRBO = "ListVolumesInRecycleBinOutput" -_cLVIRBRo = "com.amazonaws.ec2#ListVolumesInRecycleBinResult" -_LVIRB = "ListVolumesInRecycleBin" -_COPRHo = "CoolOffPeriodRequestHours" -_RPRDe = "RetentionPeriodRequestDays" -_LM = "LockMode" -_LSIo = "LockSnapshotInput" -_cLSR = "com.amazonaws.ec2#LockSnapshotRequest" -_EDx = "ExpirationDate" -_LSO = "LockSnapshotOutput" -_cLSRo = "com.amazonaws.ec2#LockSnapshotResult" -_LSock = "LockSnapshot" -_MAVECI = "ModifyAccountVpcEncryptionControlInput" -_cMAVECR = "com.amazonaws.ec2#ModifyAccountVpcEncryptionControlRequest" -_MAVECO = "ModifyAccountVpcEncryptionControlOutput" -_cMAVECRo = "com.amazonaws.ec2#ModifyAccountVpcEncryptionControlResult" -_MAVEC = "ModifyAccountVpcEncryptionControl" -_MAAI = "ModifyAddressAttributeInput" -_cMAAR = "com.amazonaws.ec2#ModifyAddressAttributeRequest" -_DNo = "DomainName" -_MAAO = "ModifyAddressAttributeOutput" -_cMAARo = "com.amazonaws.ec2#ModifyAddressAttributeResult" -_MAA = "ModifyAddressAttribute" -_MASCI = "ModifyApplicationStatusCheckInput" -_cMASCR = "com.amazonaws.ec2#ModifyApplicationStatusCheckRequest" -_MASCO = "ModifyApplicationStatusCheckOutput" -_cMASCRo = "com.amazonaws.ec2#ModifyApplicationStatusCheckResult" -_MASC = "ModifyApplicationStatusCheck" -_MAZOIS = "ModifyAvailabilityZoneOptInStatus" -_MAZGI = "ModifyAvailabilityZoneGroupInput" -_cMAZGR = "com.amazonaws.ec2#ModifyAvailabilityZoneGroupRequest" -_MAZGO = "ModifyAvailabilityZoneGroupOutput" -_cMAZGRo = "com.amazonaws.ec2#ModifyAvailabilityZoneGroupResult" -_MAZG = "ModifyAvailabilityZoneGroup" -_MCRI = "ModifyCapacityReservationInput" -_cMCRR = "com.amazonaws.ec2#ModifyCapacityReservationRequest" -_Accep = "Accept" -_AMT = "AcceptModificationTerms" -_MCRO = "ModifyCapacityReservationOutput" -_cMCRRo = "com.amazonaws.ec2#ModifyCapacityReservationResult" -_MCR = "ModifyCapacityReservation" -_MCRFI = "ModifyCapacityReservationFleetInput" -_cMCRFR = "com.amazonaws.ec2#ModifyCapacityReservationFleetRequest" -_RED = "RemoveEndDate" -_MCRFO = "ModifyCapacityReservationFleetOutput" -_cMCRFRo = "com.amazonaws.ec2#ModifyCapacityReservationFleetResult" -_MCRF = "ModifyCapacityReservationFleet" -_DSOMS = "DnsServersOptionsModifyStructure" -_CDSu = "CustomDnsServers" -_MCVEI = "ModifyClientVpnEndpointInput" -_cMCVER = "com.amazonaws.ec2#ModifyClientVpnEndpointRequest" -_MCVEO = "ModifyClientVpnEndpointOutput" -_cMCVERo = "com.amazonaws.ec2#ModifyClientVpnEndpointResult" -_MCVE = "ModifyClientVpnEndpoint" -_MCVEAPI = "ModifyClientVpnEndpointAuthorizationPolicyInput" -_cMCVEAPR = "com.amazonaws.ec2#ModifyClientVpnEndpointAuthorizationPolicyRequest" -_MCVEAPO = "ModifyClientVpnEndpointAuthorizationPolicyOutput" -_cMCVEAPRo = "com.amazonaws.ec2#ModifyClientVpnEndpointAuthorizationPolicyResult" -_MCVEAP = "ModifyClientVpnEndpointAuthorizationPolicy" -_MDCSI = "ModifyDefaultCreditSpecificationInput" -_cMDCSR = "com.amazonaws.ec2#ModifyDefaultCreditSpecificationRequest" -_MDCSO = "ModifyDefaultCreditSpecificationOutput" -_cMDCSRo = "com.amazonaws.ec2#ModifyDefaultCreditSpecificationResult" -_MDCS = "ModifyDefaultCreditSpecification" -_MEDKKII = "ModifyEbsDefaultKmsKeyIdInput" -_cMEDKKIR = "com.amazonaws.ec2#ModifyEbsDefaultKmsKeyIdRequest" -_MEDKKIO = "ModifyEbsDefaultKmsKeyIdOutput" -_cMEDKKIRo = "com.amazonaws.ec2#ModifyEbsDefaultKmsKeyIdResult" -_MEDKKI = "ModifyEbsDefaultKmsKeyId" -_MFI = "ModifyFleetInput" -_cMFR = "com.amazonaws.ec2#ModifyFleetRequest" -_MFO = "ModifyFleetOutput" -_cMFRo = "com.amazonaws.ec2#ModifyFleetResult" -_MFo = "ModifyFleet" -_LPR = "LoadPermissionRequest" -_LPLR = "LoadPermissionListRequest" -_LPM = "LoadPermissionModifications" -_Add_ = "Add" -_Remo = "Remove" -_OTp = "OperationType" -_add = "add" -_remo = "remove" -_PCSL = "ProductCodeStringList" -_UGSL = "UserGroupStringList" -_UG = "UserGroup" -_UISL = "UserIdStringList" -_MFIAI = "ModifyFpgaImageAttributeInput" -_cMFIAR = "com.amazonaws.ec2#ModifyFpgaImageAttributeRequest" -_UIse = "UserIds" -_UGs = "UserGroups" -_MFIAO = "ModifyFpgaImageAttributeOutput" -_cMFIARo = "com.amazonaws.ec2#ModifyFpgaImageAttributeResult" -_MFIA = "ModifyFpgaImageAttribute" -_MHI = "ModifyHostsInput" -_cMHR = "com.amazonaws.ec2#ModifyHostsRequest" -_UILn = "UnsuccessfulItemList" -_MHO = "ModifyHostsOutput" -_cMHRo = "com.amazonaws.ec2#ModifyHostsResult" -_MHo = "ModifyHosts" -_MIIFI = "ModifyIdentityIdFormatInput" -_cMIIFR = "com.amazonaws.ec2#ModifyIdentityIdFormatRequest" -_MIIFO = "ModifyIdentityIdFormatOutput" -_MIIF = "ModifyIdentityIdFormat" -_MIFI = "ModifyIdFormatInput" -_cMIFR = "com.amazonaws.ec2#ModifyIdFormatRequest" -_MIFO = "ModifyIdFormatOutput" -_MIF = "ModifyIdFormat" -_LPMa = "LaunchPermissionModifications" -_OUASL = "OrganizationalUnitArnStringList" -_OASL = "OrganizationArnStringList" -_MIAI = "ModifyImageAttributeInput" -_cMIAR = "com.amazonaws.ec2#ModifyImageAttributeRequest" -_OArga = "OrganizationArns" -_OUAr = "OrganizationalUnitArns" -_MIAO = "ModifyImageAttributeOutput" -_MIA = "ModifyImageAttribute" -_EIBDS = "EbsInstanceBlockDeviceSpecification" -_IBDMS = "InstanceBlockDeviceMappingSpecification" -_IBDMSL = "InstanceBlockDeviceMappingSpecificationList" -_EOR = "EnclaveOptionsRequest" -_SBAV = "SecureBlobAttributeValue" -_MIAV = "ModifyInstanceAttributeValue" -_MIAIo = "ModifyInstanceAttributeInput" -_cMIARo = "com.amazonaws.ec2#ModifyInstanceAttributeRequest" -_MIAOo = "ModifyInstanceAttributeOutput" -_MIAo = "ModifyInstanceAttribute" -_MICRAI = "ModifyInstanceCapacityReservationAttributesInput" -_cMICRAR = "com.amazonaws.ec2#ModifyInstanceCapacityReservationAttributesRequest" -_MICRAO = "ModifyInstanceCapacityReservationAttributesOutput" -_cMICRARo = "com.amazonaws.ec2#ModifyInstanceCapacityReservationAttributesResult" -_MICRA = "ModifyInstanceCapacityReservationAttributes" -_MICEI = "ModifyInstanceConnectEndpointInput" -_cMICER = "com.amazonaws.ec2#ModifyInstanceConnectEndpointRequest" -_MICEO = "ModifyInstanceConnectEndpointOutput" -_cMICERo = "com.amazonaws.ec2#ModifyInstanceConnectEndpointResult" -_MICE = "ModifyInstanceConnectEndpoint" -_MICOI = "ModifyInstanceCpuOptionsInput" -_cMICOR = "com.amazonaws.ec2#ModifyInstanceCpuOptionsRequest" -_MICOO = "ModifyInstanceCpuOptionsOutput" -_cMICORo = "com.amazonaws.ec2#ModifyInstanceCpuOptionsResult" -_MICO = "ModifyInstanceCpuOptions" -_ICSR = "InstanceCreditSpecificationRequest" -_ICSLR = "InstanceCreditSpecificationListRequest" -_MICSI = "ModifyInstanceCreditSpecificationInput" -_cMICSR = "com.amazonaws.ec2#ModifyInstanceCreditSpecificationRequest" -_SICSI = "SuccessfulInstanceCreditSpecificationItem" -_SICSS = "SuccessfulInstanceCreditSpecificationSet" -_UICSEC = "UnsuccessfulInstanceCreditSpecificationErrorCode" -_III_ = "INVALID_INSTANCE_ID" -_IIIDM = "InvalidInstanceID.Malformed" -_INF = "INSTANCE_NOT_FOUND" -_IIIDNF = "InvalidInstanceID.NotFound" -_IIS_ = "INCORRECT_INSTANCE_STATE" -_IISnc = "IncorrectInstanceState" -_ICSNS = "INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED" -_ICSNSn = "InstanceCreditSpecification.NotSupported" -_UICSIE = "UnsuccessfulInstanceCreditSpecificationItemError" -_UICSI = "UnsuccessfulInstanceCreditSpecificationItem" -_UICSS = "UnsuccessfulInstanceCreditSpecificationSet" -_MICSO = "ModifyInstanceCreditSpecificationOutput" -_cMICSRo = "com.amazonaws.ec2#ModifyInstanceCreditSpecificationResult" -_SICS = "SuccessfulInstanceCreditSpecifications" -_sICSS = "successfulInstanceCreditSpecificationSet" -_UICS = "UnsuccessfulInstanceCreditSpecifications" -_uICSS = "unsuccessfulInstanceCreditSpecificationSet" -_MICS = "ModifyInstanceCreditSpecification" -_MIESTI = "ModifyInstanceEventStartTimeInput" -_cMIESTR = "com.amazonaws.ec2#ModifyInstanceEventStartTimeRequest" -_MIESTO = "ModifyInstanceEventStartTimeOutput" -_cMIESTRo = "com.amazonaws.ec2#ModifyInstanceEventStartTimeResult" -_Eve = "Event" -_ev = "event" -_MIEST = "ModifyInstanceEventStartTime" -_MIEWI = "ModifyInstanceEventWindowInput" -_cMIEWR = "com.amazonaws.ec2#ModifyInstanceEventWindowRequest" -_MIEWO = "ModifyInstanceEventWindowOutput" -_cMIEWRo = "com.amazonaws.ec2#ModifyInstanceEventWindowResult" -_MIEW = "ModifyInstanceEventWindow" -_MIMOI = "ModifyInstanceMaintenanceOptionsInput" -_cMIMOR = "com.amazonaws.ec2#ModifyInstanceMaintenanceOptionsRequest" -_MIMOO = "ModifyInstanceMaintenanceOptionsOutput" -_cMIMORo = "com.amazonaws.ec2#ModifyInstanceMaintenanceOptionsResult" -_MIMO = "ModifyInstanceMaintenanceOptions" -_DIMES = "DefaultInstanceMetadataEndpointState" -_np = "no_preference" -_np_ = "no-preference" -_MDHTS = "MetadataDefaultHttpTokensState" -_DHTES = "DefaultHttpTokensEnforcedState" -_DIMTS = "DefaultInstanceMetadataTagsState" -_MIMDI = "ModifyInstanceMetadataDefaultsInput" -_cMIMDR = "com.amazonaws.ec2#ModifyInstanceMetadataDefaultsRequest" -_MIMDO = "ModifyInstanceMetadataDefaultsOutput" -_cMIMDRo = "com.amazonaws.ec2#ModifyInstanceMetadataDefaultsResult" -_MIMD = "ModifyInstanceMetadataDefaults" -_MIMOIo = "ModifyInstanceMetadataOptionsInput" -_cMIMORom = "com.amazonaws.ec2#ModifyInstanceMetadataOptionsRequest" -_MIMOOo = "ModifyInstanceMetadataOptionsOutput" -_cMIMORoma = "com.amazonaws.ec2#ModifyInstanceMetadataOptionsResult" -_IMOns = "InstanceMetadataOptions" -_iMOn = "instanceMetadataOptions" -_MIMOo = "ModifyInstanceMetadataOptions" -_MINPOI = "ModifyInstanceNetworkPerformanceOptionsInput" -_cMINPR = "com.amazonaws.ec2#ModifyInstanceNetworkPerformanceRequest" -_MINPOO = "ModifyInstanceNetworkPerformanceOptionsOutput" -_cMINPRo = "com.amazonaws.ec2#ModifyInstanceNetworkPerformanceResult" -_MINPO = "ModifyInstanceNetworkPerformanceOptions" -_HTo = "HostTenancy" -_MIPI = "ModifyInstancePlacementInput" -_cMIPR = "com.amazonaws.ec2#ModifyInstancePlacementRequest" -_MIPO = "ModifyInstancePlacementOutput" -_cMIPRo = "com.amazonaws.ec2#ModifyInstancePlacementResult" -_MIPo = "ModifyInstancePlacement" -_RIOR = "RemoveIpamOperatingRegion" -_RIORS = "RemoveIpamOperatingRegionSet" -_MII = "ModifyIpamInput" -_cMIR = "com.amazonaws.ec2#ModifyIpamRequest" -_AOR = "AddOperatingRegions" -_AORd = "AddOperatingRegion" -_ROR = "RemoveOperatingRegions" -_RORe = "RemoveOperatingRegion" -_MIO = "ModifyIpamOutput" -_cMIRo = "com.amazonaws.ec2#ModifyIpamResult" -_MIo = "ModifyIpam" -_IPARR = "IpamPolicyAllocationRuleRequest" -_IPARLR = "IpamPolicyAllocationRuleListRequest" -_MIPARI = "ModifyIpamPolicyAllocationRulesInput" -_cMIPARR = "com.amazonaws.ec2#ModifyIpamPolicyAllocationRulesRequest" -_ARlloc = "AllocationRule" -_MIPARO = "ModifyIpamPolicyAllocationRulesOutput" -_cMIPARRo = "com.amazonaws.ec2#ModifyIpamPolicyAllocationRulesResult" -_iPD = "ipamPolicyDocument" -_MIPAR = "ModifyIpamPolicyAllocationRules" -_MIPIo = "ModifyIpamPoolInput" -_cMIPRom = "com.amazonaws.ec2#ModifyIpamPoolRequest" -_CADNL = "ClearAllocationDefaultNetmaskLength" -_AART = "AddAllocationResourceTags" -_AARTd = "AddAllocationResourceTag" -_RART = "RemoveAllocationResourceTags" -_RARTe = "RemoveAllocationResourceTag" -_MIPOo = "ModifyIpamPoolOutput" -_cMIPRoma = "com.amazonaws.ec2#ModifyIpamPoolResult" -_MIPod = "ModifyIpamPool" -_MIPAI = "ModifyIpamPoolAllocationInput" -_cMIPAR = "com.amazonaws.ec2#ModifyIpamPoolAllocationRequest" -_MIPAO = "ModifyIpamPoolAllocationOutput" -_cMIPARo = "com.amazonaws.ec2#ModifyIpamPoolAllocationResult" -_MIPA = "ModifyIpamPoolAllocation" -_MIPLRI = "ModifyIpamPrefixListResolverInput" -_cMIPLRR = "com.amazonaws.ec2#ModifyIpamPrefixListResolverRequest" -_MIPLRO = "ModifyIpamPrefixListResolverOutput" -_cMIPLRRo = "com.amazonaws.ec2#ModifyIpamPrefixListResolverResult" -_MIPLR = "ModifyIpamPrefixListResolver" -_MIPLRTI = "ModifyIpamPrefixListResolverTargetInput" -_cMIPLRTR = "com.amazonaws.ec2#ModifyIpamPrefixListResolverTargetRequest" -_MIPLRTO = "ModifyIpamPrefixListResolverTargetOutput" -_cMIPLRTRo = "com.amazonaws.ec2#ModifyIpamPrefixListResolverTargetResult" -_MIPLRT = "ModifyIpamPrefixListResolverTarget" -_MIRCI = "ModifyIpamResourceCidrInput" -_cMIRCR = "com.amazonaws.ec2#ModifyIpamResourceCidrRequest" -_CISIu = "CurrentIpamScopeId" -_DISIest = "DestinationIpamScopeId" -_Moni = "Monitored" -_MIRCO = "ModifyIpamResourceCidrOutput" -_cMIRCRo = "com.amazonaws.ec2#ModifyIpamResourceCidrResult" -_iRC = "ipamResourceCidr" -_MIRC = "ModifyIpamResourceCidr" -_RIOUE = "RemoveIpamOrganizationalUnitExclusion" -_RIOUES = "RemoveIpamOrganizationalUnitExclusionSet" -_MIRDI = "ModifyIpamResourceDiscoveryInput" -_cMIRDR = "com.amazonaws.ec2#ModifyIpamResourceDiscoveryRequest" -_AOUE = "AddOrganizationalUnitExclusions" -_AOUEd = "AddOrganizationalUnitExclusion" -_ROUE = "RemoveOrganizationalUnitExclusions" -_ROUEe = "RemoveOrganizationalUnitExclusion" -_MIRDO = "ModifyIpamResourceDiscoveryOutput" -_cMIRDRo = "com.amazonaws.ec2#ModifyIpamResourceDiscoveryResult" -_MIRD = "ModifyIpamResourceDiscovery" -_MIRPRI = "ModifyIpamRoutingPolicyRegistrationInput" -_cMIRPRR = "com.amazonaws.ec2#ModifyIpamRoutingPolicyRegistrationRequest" -_MIRPRO = "ModifyIpamRoutingPolicyRegistrationOutput" -_cMIRPRRo = "com.amazonaws.ec2#ModifyIpamRoutingPolicyRegistrationResult" -_MIRPR = "ModifyIpamRoutingPolicyRegistration" -_MISI = "ModifyIpamScopeInput" -_cMISR = "com.amazonaws.ec2#ModifyIpamScopeRequest" -_REAC = "RemoveExternalAuthorityConfiguration" -_MISO = "ModifyIpamScopeOutput" -_cMISRo = "com.amazonaws.ec2#ModifyIpamScopeResult" -_MIS = "ModifyIpamScope" -_MLTI = "ModifyLaunchTemplateInput" -_cMLTR = "com.amazonaws.ec2#ModifyLaunchTemplateRequest" -_SDV = "SetDefaultVersion" -_MLTO = "ModifyLaunchTemplateOutput" -_cMLTRo = "com.amazonaws.ec2#ModifyLaunchTemplateResult" -_MLT = "ModifyLaunchTemplate" -_MLGRI = "ModifyLocalGatewayRouteInput" -_cMLGRR = "com.amazonaws.ec2#ModifyLocalGatewayRouteRequest" -_MLGRO = "ModifyLocalGatewayRouteOutput" -_cMLGRRo = "com.amazonaws.ec2#ModifyLocalGatewayRouteResult" -_MLGR = "ModifyLocalGatewayRoute" -_RPLE = "RemovePrefixListEntry" -_RPLEe = "RemovePrefixListEntries" -_MMPLI = "ModifyManagedPrefixListInput" -_cMMPLR = "com.amazonaws.ec2#ModifyManagedPrefixListRequest" -_CVu = "CurrentVersion" -_AEd = "AddEntries" -_AEdd = "AddEntry" -_REem = "RemoveEntries" -_REemo = "RemoveEntry" -_MMPLO = "ModifyManagedPrefixListOutput" -_cMMPLRo = "com.amazonaws.ec2#ModifyManagedPrefixListResult" -_MMPL = "ModifyManagedPrefixList" -_MMRVI = "ModifyManagedResourceVisibilityInput" -_cMMRVR = "com.amazonaws.ec2#ModifyManagedResourceVisibilityRequest" -_MMRVO = "ModifyManagedResourceVisibilityOutput" -_cMMRVRo = "com.amazonaws.ec2#ModifyManagedResourceVisibilityResult" -_MMRV = "ModifyManagedResourceVisibility" -_SILu = "SubnetIdList" -_ASIs = "AssociatedSubnetId" -_NIAC = "NetworkInterfaceAttachmentChanges" -_DEQC = "DefaultEnaQueueCount" -_MNIAI = "ModifyNetworkInterfaceAttributeInput" -_cMNIAR = "com.amazonaws.ec2#ModifyNetworkInterfaceAttributeRequest" -_ASIss = "AssociatedSubnetIds" -_MNIAO = "ModifyNetworkInterfaceAttributeOutput" -_MNIA = "ModifyNetworkInterfaceAttribute" -_MPDNOI = "ModifyPrivateDnsNameOptionsInput" -_cMPDNOR = "com.amazonaws.ec2#ModifyPrivateDnsNameOptionsRequest" -_PDHT = "PrivateDnsHostnameType" -_MPDNOO = "ModifyPrivateDnsNameOptionsOutput" -_cMPDNORo = "com.amazonaws.ec2#ModifyPrivateDnsNameOptionsResult" -_MPDNO = "ModifyPrivateDnsNameOptions" -_PIDO = "PublicIpDnsOption" -_pdsdn = "public_dual_stack_dns_name" -_pdsdn_ = "public-dual-stack-dns-name" -_pidn = "public_ipv4_dns_name" -_pidn_ = "public-ipv4-dns-name" -_pidn__ = "public_ipv6_dns_name" -_pidn___ = "public-ipv6-dns-name" -_MPIDNOI = "ModifyPublicIpDnsNameOptionsInput" -_cMPIDNOR = "com.amazonaws.ec2#ModifyPublicIpDnsNameOptionsRequest" -_MPIDNOO = "ModifyPublicIpDnsNameOptionsOutput" -_cMPIDNORo = "com.amazonaws.ec2#ModifyPublicIpDnsNameOptionsResult" -_MPIDNO = "ModifyPublicIpDnsNameOptions" -_RICL = "ReservedInstancesConfigurationList" -_MRII = "ModifyReservedInstancesInput" -_cMRIR = "com.amazonaws.ec2#ModifyReservedInstancesRequest" -_RICSIT = "ReservedInstancesConfigurationSetItemType" -_MRIO = "ModifyReservedInstancesOutput" -_cMRIRo = "com.amazonaws.ec2#ModifyReservedInstancesResult" -_MRI = "ModifyReservedInstances" -_MRSI = "ModifyRouteServerInput" -_cMRSR = "com.amazonaws.ec2#ModifyRouteServerRequest" -_MRSO = "ModifyRouteServerOutput" -_cMRSRo = "com.amazonaws.ec2#ModifyRouteServerResult" -_MRSo = "ModifyRouteServer" -_SGRR = "SecurityGroupRuleRequest" -_RGIef = "ReferencedGroupId" -_SGRU = "SecurityGroupRuleUpdate" -_SGRUL = "SecurityGroupRuleUpdateList" -_MSGRI = "ModifySecurityGroupRulesInput" -_cMSGRR = "com.amazonaws.ec2#ModifySecurityGroupRulesRequest" -_MSGRO = "ModifySecurityGroupRulesOutput" -_cMSGRRo = "com.amazonaws.ec2#ModifySecurityGroupRulesResult" -_MSGR = "ModifySecurityGroupRules" -_CVPM = "CreateVolumePermissionModifications" -_MSAI = "ModifySnapshotAttributeInput" -_cMSAR = "com.amazonaws.ec2#ModifySnapshotAttributeRequest" -_MSAO = "ModifySnapshotAttributeOutput" -_MSA = "ModifySnapshotAttribute" -_TSTa = "TargetStorageTier" -_MSTI = "ModifySnapshotTierInput" -_cMSTR = "com.amazonaws.ec2#ModifySnapshotTierRequest" -_MSTO = "ModifySnapshotTierOutput" -_cMSTRo = "com.amazonaws.ec2#ModifySnapshotTierResult" -_TSTi = "TieringStartTime" -_tSTi = "tieringStartTime" -_MST = "ModifySnapshotTier" -_MSFRI = "ModifySpotFleetRequestInput" -_cMSFRR = "com.amazonaws.ec2#ModifySpotFleetRequestRequest" -_MSFRO = "ModifySpotFleetRequestOutput" -_cMSFRRo = "com.amazonaws.ec2#ModifySpotFleetRequestResponse" -_MSFR = "ModifySpotFleetRequest" -_MSAIo = "ModifySubnetAttributeInput" -_cMSARo = "com.amazonaws.ec2#ModifySubnetAttributeRequest" -_PDHTOL = "PrivateDnsHostnameTypeOnLaunch" -_ERNDAROL = "EnableResourceNameDnsARecordOnLaunch" -_ERNDAAAAROL = "EnableResourceNameDnsAAAARecordOnLaunch" -_DLADI = "DisableLniAtDeviceIndex" -_MSAOo = "ModifySubnetAttributeOutput" -_MSAo = "ModifySubnetAttribute" -_MTMFNSI = "ModifyTrafficMirrorFilterNetworkServicesInput" -_cMTMFNSR = "com.amazonaws.ec2#ModifyTrafficMirrorFilterNetworkServicesRequest" -_ANSd = "AddNetworkServices" -_ANSdd = "AddNetworkService" -_RNS = "RemoveNetworkServices" -_RNSe = "RemoveNetworkService" -_MTMFNSO = "ModifyTrafficMirrorFilterNetworkServicesOutput" -_cMTMFNSRo = "com.amazonaws.ec2#ModifyTrafficMirrorFilterNetworkServicesResult" -_MTMFNS = "ModifyTrafficMirrorFilterNetworkServices" -_TMFRF = "TrafficMirrorFilterRuleField" -_dpr__ = "destination_port_range" -_dpr___ = "destination-port-range" -_spr_ = "source_port_range" -_spr__ = "source-port-range" -_TMFRFL = "TrafficMirrorFilterRuleFieldList" -_MTMFRI = "ModifyTrafficMirrorFilterRuleInput" -_cMTMFRR = "com.amazonaws.ec2#ModifyTrafficMirrorFilterRuleRequest" -_RF = "RemoveFields" -_RFe = "RemoveField" -_MTMFRO = "ModifyTrafficMirrorFilterRuleOutput" -_cMTMFRRo = "com.amazonaws.ec2#ModifyTrafficMirrorFilterRuleResult" -_MTMFR = "ModifyTrafficMirrorFilterRule" -_TMSF = "TrafficMirrorSessionField" -_pl__ = "packet_length" -_pl___ = "packet-length" -_vni = "virtual_network_id" -_vni_ = "virtual-network-id" -_TMSFL = "TrafficMirrorSessionFieldList" -_MTMSI = "ModifyTrafficMirrorSessionInput" -_cMTMSR = "com.amazonaws.ec2#ModifyTrafficMirrorSessionRequest" -_MTMSO = "ModifyTrafficMirrorSessionOutput" -_cMTMSRo = "com.amazonaws.ec2#ModifyTrafficMirrorSessionResult" -_MTMS = "ModifyTrafficMirrorSession" -_ESOV = "EncryptionSupportOptionValue" -_MTGO = "ModifyTransitGatewayOptions" -_ATGCB = "AddTransitGatewayCidrBlocks" -_RTGCB = "RemoveTransitGatewayCidrBlocks" -_MTGI = "ModifyTransitGatewayInput" -_cMTGR = "com.amazonaws.ec2#ModifyTransitGatewayRequest" -_MTGOo = "ModifyTransitGatewayOutput" -_cMTGRo = "com.amazonaws.ec2#ModifyTransitGatewayResult" -_MTG = "ModifyTransitGateway" -_TGNRR = "TransitGatewayNatRuleRequest" -_TGNRRL = "TransitGatewayNatRuleRequestList" -_TGANGSV = "TransitGatewayAttachmentNatGatewaySupportValue" -_MTGANCI = "ModifyTransitGatewayAttachmentNatConfigurationInput" -_cMTGANCR = "com.amazonaws.ec2#ModifyTransitGatewayAttachmentNatConfigurationRequest" -_NGRa = "NatGatewayRule" -_RNGR = "ResetNatGatewayRules" -_MTGANCO = "ModifyTransitGatewayAttachmentNatConfigurationOutput" -_cMTGANCRo = "com.amazonaws.ec2#ModifyTransitGatewayAttachmentNatConfigurationResult" -_MTGANC = "ModifyTransitGatewayAttachmentNatConfiguration" -_MTGMPI = "ModifyTransitGatewayMeteringPolicyInput" -_cMTGMPR = "com.amazonaws.ec2#ModifyTransitGatewayMeteringPolicyRequest" -_AMAI = "AddMiddleboxAttachmentIds" -_AMAId = "AddMiddleboxAttachmentId" -_RMAI = "RemoveMiddleboxAttachmentIds" -_RMAIe = "RemoveMiddleboxAttachmentId" -_MTGMPO = "ModifyTransitGatewayMeteringPolicyOutput" -_cMTGMPRo = "com.amazonaws.ec2#ModifyTransitGatewayMeteringPolicyResult" -_MTGMP = "ModifyTransitGatewayMeteringPolicy" -_MTGPTEI = "ModifyTransitGatewayPolicyTableEntryInput" -_cMTGPTER = "com.amazonaws.ec2#ModifyTransitGatewayPolicyTableEntryRequest" -_MTGPTEO = "ModifyTransitGatewayPolicyTableEntryOutput" -_cMTGPTERo = "com.amazonaws.ec2#ModifyTransitGatewayPolicyTableEntryResult" -_MTGPTE = "ModifyTransitGatewayPolicyTableEntry" -_MTGPLRI = "ModifyTransitGatewayPrefixListReferenceInput" -_cMTGPLRR = "com.amazonaws.ec2#ModifyTransitGatewayPrefixListReferenceRequest" -_MTGPLRO = "ModifyTransitGatewayPrefixListReferenceOutput" -_cMTGPLRRo = "com.amazonaws.ec2#ModifyTransitGatewayPrefixListReferenceResult" -_MTGPLR = "ModifyTransitGatewayPrefixListReference" -_MTGVARO = "ModifyTransitGatewayVpcAttachmentRequestOptions" -_MTGVAI = "ModifyTransitGatewayVpcAttachmentInput" -_cMTGVAR = "com.amazonaws.ec2#ModifyTransitGatewayVpcAttachmentRequest" -_ASId = "AddSubnetIds" -_RSIe = "RemoveSubnetIds" -_MTGVAO = "ModifyTransitGatewayVpcAttachmentOutput" -_cMTGVARo = "com.amazonaws.ec2#ModifyTransitGatewayVpcAttachmentResult" -_MTGVA = "ModifyTransitGatewayVpcAttachment" -_MVAEPR = "ModifyVerifiedAccessEndpointPortRange" -_MVAEPRL = "ModifyVerifiedAccessEndpointPortRangeList" -_MVAECO = "ModifyVerifiedAccessEndpointCidrOptions" -_MVAESIL = "ModifyVerifiedAccessEndpointSubnetIdList" -_MVAELBO = "ModifyVerifiedAccessEndpointLoadBalancerOptions" -_MVAEEO = "ModifyVerifiedAccessEndpointEniOptions" -_MVAERO = "ModifyVerifiedAccessEndpointRdsOptions" -_MVAEI = "ModifyVerifiedAccessEndpointInput" -_cMVAER = "com.amazonaws.ec2#ModifyVerifiedAccessEndpointRequest" -_MVAEO = "ModifyVerifiedAccessEndpointOutput" -_cMVAERo = "com.amazonaws.ec2#ModifyVerifiedAccessEndpointResult" -_MVAE = "ModifyVerifiedAccessEndpoint" -_MVAEPI = "ModifyVerifiedAccessEndpointPolicyInput" -_cMVAEPR = "com.amazonaws.ec2#ModifyVerifiedAccessEndpointPolicyRequest" -_MVAEPO = "ModifyVerifiedAccessEndpointPolicyOutput" -_cMVAEPRo = "com.amazonaws.ec2#ModifyVerifiedAccessEndpointPolicyResult" -_MVAEP = "ModifyVerifiedAccessEndpointPolicy" -_MVAGI = "ModifyVerifiedAccessGroupInput" -_cMVAGR = "com.amazonaws.ec2#ModifyVerifiedAccessGroupRequest" -_MVAGO = "ModifyVerifiedAccessGroupOutput" -_cMVAGRo = "com.amazonaws.ec2#ModifyVerifiedAccessGroupResult" -_MVAG = "ModifyVerifiedAccessGroup" -_MVAGPI = "ModifyVerifiedAccessGroupPolicyInput" -_cMVAGPR = "com.amazonaws.ec2#ModifyVerifiedAccessGroupPolicyRequest" -_MVAGPO = "ModifyVerifiedAccessGroupPolicyOutput" -_cMVAGPRo = "com.amazonaws.ec2#ModifyVerifiedAccessGroupPolicyResult" -_MVAGP = "ModifyVerifiedAccessGroupPolicy" -_MVAII = "ModifyVerifiedAccessInstanceInput" -_cMVAIR = "com.amazonaws.ec2#ModifyVerifiedAccessInstanceRequest" -_MVAIO = "ModifyVerifiedAccessInstanceOutput" -_cMVAIRo = "com.amazonaws.ec2#ModifyVerifiedAccessInstanceResult" -_MVAI = "ModifyVerifiedAccessInstance" -_VALCWLDO = "VerifiedAccessLogCloudWatchLogsDestinationOptions" -_VALKDFDO = "VerifiedAccessLogKinesisDataFirehoseDestinationOptions" -_VALSDO = "VerifiedAccessLogS3DestinationOptions" -_VALO = "VerifiedAccessLogOptions" -_MVAILCI = "ModifyVerifiedAccessInstanceLoggingConfigurationInput" -_cMVAILCR = "com.amazonaws.ec2#ModifyVerifiedAccessInstanceLoggingConfigurationRequest" -_MVAILCO = "ModifyVerifiedAccessInstanceLoggingConfigurationOutput" -_cMVAILCRo = "com.amazonaws.ec2#ModifyVerifiedAccessInstanceLoggingConfigurationResult" -_LCog = "LoggingConfiguration" -_lC = "loggingConfiguration" -_MVAILC = "ModifyVerifiedAccessInstanceLoggingConfiguration" -_MVATPDO = "ModifyVerifiedAccessTrustProviderDeviceOptions" -_MVANAOO = "ModifyVerifiedAccessNativeApplicationOidcOptions" -_MVATPOO = "ModifyVerifiedAccessTrustProviderOidcOptions" -_MVATPI = "ModifyVerifiedAccessTrustProviderInput" -_cMVATPR = "com.amazonaws.ec2#ModifyVerifiedAccessTrustProviderRequest" -_MVATPO = "ModifyVerifiedAccessTrustProviderOutput" -_cMVATPRo = "com.amazonaws.ec2#ModifyVerifiedAccessTrustProviderResult" -_MVATP = "ModifyVerifiedAccessTrustProvider" -_MVI = "ModifyVolumeInput" -_cMVR = "com.amazonaws.ec2#ModifyVolumeRequest" -_MVO = "ModifyVolumeOutput" -_cMVRo = "com.amazonaws.ec2#ModifyVolumeResult" -_vM = "volumeModification" -_MVo = "ModifyVolume" -_MVAIo = "ModifyVolumeAttributeInput" -_cMVAR = "com.amazonaws.ec2#ModifyVolumeAttributeRequest" -_MVAO = "ModifyVolumeAttributeOutput" -_MVA = "ModifyVolumeAttribute" -_MVAIod = "ModifyVpcAttributeInput" -_cMVARo = "com.amazonaws.ec2#ModifyVpcAttributeRequest" -_MVAOo = "ModifyVpcAttributeOutput" -_MVAo = "ModifyVpcAttribute" -_MVBPAEI = "ModifyVpcBlockPublicAccessExclusionInput" -_cMVBPAER = "com.amazonaws.ec2#ModifyVpcBlockPublicAccessExclusionRequest" -_MVBPAEO = "ModifyVpcBlockPublicAccessExclusionOutput" -_cMVBPAERo = "com.amazonaws.ec2#ModifyVpcBlockPublicAccessExclusionResult" -_MVBPAE = "ModifyVpcBlockPublicAccessExclusion" -_MVBPAOI = "ModifyVpcBlockPublicAccessOptionsInput" -_cMVBPAOR = "com.amazonaws.ec2#ModifyVpcBlockPublicAccessOptionsRequest" -_MVBPAOO = "ModifyVpcBlockPublicAccessOptionsOutput" -_cMVBPAORo = "com.amazonaws.ec2#ModifyVpcBlockPublicAccessOptionsResult" -_MVBPAO = "ModifyVpcBlockPublicAccessOptions" -_MVECI = "ModifyVpcEncryptionControlInput" -_cMVECR = "com.amazonaws.ec2#ModifyVpcEncryptionControlRequest" -_MVECO = "ModifyVpcEncryptionControlOutput" -_cMVECRo = "com.amazonaws.ec2#ModifyVpcEncryptionControlResult" -_MVEC = "ModifyVpcEncryptionControl" -_MVEI = "ModifyVpcEndpointInput" -_cMVER = "com.amazonaws.ec2#ModifyVpcEndpointRequest" -_RP = "ResetPolicy" -_ARTId = "AddRouteTableIds" -_ARTIdd = "AddRouteTableId" -_RRTI = "RemoveRouteTableIds" -_RRTIe = "RemoveRouteTableId" -_ASIdd = "AddSubnetId" -_RSIem = "RemoveSubnetId" -_ASGId = "AddSecurityGroupIds" -_ASGIdd = "AddSecurityGroupId" -_RSGI = "RemoveSecurityGroupIds" -_RSGIe = "RemoveSecurityGroupId" -_MVEO = "ModifyVpcEndpointOutput" -_cMVERo = "com.amazonaws.ec2#ModifyVpcEndpointResult" -_MVEo = "ModifyVpcEndpoint" -_MVECNI = "ModifyVpcEndpointConnectionNotificationInput" -_cMVECNR = "com.amazonaws.ec2#ModifyVpcEndpointConnectionNotificationRequest" -_MVECNO = "ModifyVpcEndpointConnectionNotificationOutput" -_cMVECNRo = "com.amazonaws.ec2#ModifyVpcEndpointConnectionNotificationResult" -_MVECN = "ModifyVpcEndpointConnectionNotification" -_MVEPRI = "ModifyVpcEndpointPayerResponsibilityInput" -_cMVEPRR = "com.amazonaws.ec2#ModifyVpcEndpointPayerResponsibilityRequest" -_MVEPRO = "ModifyVpcEndpointPayerResponsibilityOutput" -_cMVEPRRo = "com.amazonaws.ec2#ModifyVpcEndpointPayerResponsibilityResult" -_MVEPR = "ModifyVpcEndpointPayerResponsibility" -_MVESCI = "ModifyVpcEndpointServiceConfigurationInput" -_cMVESCR = "com.amazonaws.ec2#ModifyVpcEndpointServiceConfigurationRequest" -_RPDN = "RemovePrivateDnsName" -_ANLBA = "AddNetworkLoadBalancerArns" -_ANLBAd = "AddNetworkLoadBalancerArn" -_RNLBA = "RemoveNetworkLoadBalancerArns" -_RNLBAe = "RemoveNetworkLoadBalancerArn" -_AGLBA = "AddGatewayLoadBalancerArns" -_AGLBAd = "AddGatewayLoadBalancerArn" -_RGLBA = "RemoveGatewayLoadBalancerArns" -_RGLBAe = "RemoveGatewayLoadBalancerArn" -_ASIAT = "AddSupportedIpAddressTypes" -_ASIATd = "AddSupportedIpAddressType" -_RSIAT = "RemoveSupportedIpAddressTypes" -_RSIATe = "RemoveSupportedIpAddressType" -_ASRd = "AddSupportedRegions" -_ASRdd = "AddSupportedRegion" -_RSRe = "RemoveSupportedRegions" -_RSRem = "RemoveSupportedRegion" -_MVESCO = "ModifyVpcEndpointServiceConfigurationOutput" -_cMVESCRo = "com.amazonaws.ec2#ModifyVpcEndpointServiceConfigurationResult" -_MVESC = "ModifyVpcEndpointServiceConfiguration" -_MVESPRI = "ModifyVpcEndpointServicePayerResponsibilityInput" -_cMVESPRR = "com.amazonaws.ec2#ModifyVpcEndpointServicePayerResponsibilityRequest" -_MVESPRO = "ModifyVpcEndpointServicePayerResponsibilityOutput" -_cMVESPRRo = "com.amazonaws.ec2#ModifyVpcEndpointServicePayerResponsibilityResult" -_MVESPR = "ModifyVpcEndpointServicePayerResponsibility" -_MVESPI = "ModifyVpcEndpointServicePermissionsInput" -_cMVESPR = "com.amazonaws.ec2#ModifyVpcEndpointServicePermissionsRequest" -_AAP = "AddAllowedPrincipals" -_RAP = "RemoveAllowedPrincipals" -_MVESPO = "ModifyVpcEndpointServicePermissionsOutput" -_cMVESPRo = "com.amazonaws.ec2#ModifyVpcEndpointServicePermissionsResult" -_APd = "AddedPrincipals" -_aPSd = "addedPrincipalSet" -_MVESP = "ModifyVpcEndpointServicePermissions" -_PCOR = "PeeringConnectionOptionsRequest" -_MVPCOI = "ModifyVpcPeeringConnectionOptionsInput" -_cMVPCOR = "com.amazonaws.ec2#ModifyVpcPeeringConnectionOptionsRequest" -_APCO = "AccepterPeeringConnectionOptions" -_RPCO = "RequesterPeeringConnectionOptions" -_PCOe = "PeeringConnectionOptions" -_MVPCOO = "ModifyVpcPeeringConnectionOptionsOutput" -_cMVPCORo = "com.amazonaws.ec2#ModifyVpcPeeringConnectionOptionsResult" -_aPCO = "accepterPeeringConnectionOptions" -_rPCO = "requesterPeeringConnectionOptions" -_MVPCO = "ModifyVpcPeeringConnectionOptions" -_VTp = "VpcTenancy" -_MVTI = "ModifyVpcTenancyInput" -_cMVTR = "com.amazonaws.ec2#ModifyVpcTenancyRequest" -_MVTO = "ModifyVpcTenancyOutput" -_cMVTRo = "com.amazonaws.ec2#ModifyVpcTenancyResult" -_MVT = "ModifyVpcTenancy" -_MVCI = "ModifyVpnConnectionInput" -_cMVCR = "com.amazonaws.ec2#ModifyVpnConnectionRequest" -_MVCO = "ModifyVpnConnectionOutput" -_cMVCRo = "com.amazonaws.ec2#ModifyVpnConnectionResult" -_MVC = "ModifyVpnConnection" -_MVCOI = "ModifyVpnConnectionOptionsInput" -_cMVCOR = "com.amazonaws.ec2#ModifyVpnConnectionOptionsRequest" -_MVCOO = "ModifyVpnConnectionOptionsOutput" -_cMVCORo = "com.amazonaws.ec2#ModifyVpnConnectionOptionsResult" -_MVCOo = "ModifyVpnConnectionOptions" -_MVTCI = "ModifyVpnTunnelCertificateInput" -_cMVTCR = "com.amazonaws.ec2#ModifyVpnTunnelCertificateRequest" -_MVTCO = "ModifyVpnTunnelCertificateOutput" -_cMVTCRo = "com.amazonaws.ec2#ModifyVpnTunnelCertificateResult" -_MVTC = "ModifyVpnTunnelCertificate" -_MVTOS = "ModifyVpnTunnelOptionsSpecification" -_MVTOI = "ModifyVpnTunnelOptionsInput" -_cMVTOR = "com.amazonaws.ec2#ModifyVpnTunnelOptionsRequest" -_STRk = "SkipTunnelReplacement" -_MVTOO = "ModifyVpnTunnelOptionsOutput" -_cMVTORo = "com.amazonaws.ec2#ModifyVpnTunnelOptionsResult" -_MVTOo = "ModifyVpnTunnelOptions" -_MIIo = "MonitorInstancesInput" -_cMIRom = "com.amazonaws.ec2#MonitorInstancesRequest" -_IMns = "InstanceMonitoring" -_IML = "InstanceMonitoringList" -_MIOo = "MonitorInstancesOutput" -_cMIRoma = "com.amazonaws.ec2#MonitorInstancesResult" -_IMnst = "InstanceMonitorings" -_MIon = "MonitorInstances" -_MATVI = "MoveAddressToVpcInput" -_cMATVR = "com.amazonaws.ec2#MoveAddressToVpcRequest" -_mIP = "moveInProgress" -_MIPov = "MoveInProgress" -_iVn = "inVpc" -_IVn = "InVpc" -_iCnl = "inClassic" -_ICnl = "InClassic" -_MATVO = "MoveAddressToVpcOutput" -_cMATVRo = "com.amazonaws.ec2#MoveAddressToVpcResult" -_MATV = "MoveAddressToVpc" -_MBCTII = "MoveByoipCidrToIpamInput" -_cMBCTIR = "com.amazonaws.ec2#MoveByoipCidrToIpamRequest" -_IPO = "IpamPoolOwner" -_MBCTIO = "MoveByoipCidrToIpamOutput" -_cMBCTIRo = "com.amazonaws.ec2#MoveByoipCidrToIpamResult" -_MBCTI = "MoveByoipCidrToIpam" -_MCRII = "MoveCapacityReservationInstancesInput" -_cMCRIR = "com.amazonaws.ec2#MoveCapacityReservationInstancesRequest" -_DCRIe = "DestinationCapacityReservationId" -_MCRIO = "MoveCapacityReservationInstancesOutput" -_cMCRIRo = "com.amazonaws.ec2#MoveCapacityReservationInstancesResult" -_MCRIo = "MoveCapacityReservationInstances" -_CAC = "CidrAuthorizationContext" -_Sig = "Signature" -_PBCI = "ProvisionByoipCidrInput" -_cPBCR = "com.amazonaws.ec2#ProvisionByoipCidrRequest" -_PTS = "PoolTagSpecifications" -_PTSo = "PoolTagSpecification" -_MRu = "MultiRegion" -_PBCO = "ProvisionByoipCidrOutput" -_cPBCRo = "com.amazonaws.ec2#ProvisionByoipCidrResult" -_PBC = "ProvisionByoipCidr" -_AACs = "AsnAuthorizationContext" -_PIBI = "ProvisionIpamByoasnInput" -_cPIBR = "com.amazonaws.ec2#ProvisionIpamByoasnRequest" -_PIBO = "ProvisionIpamByoasnOutput" -_cPIBRo = "com.amazonaws.ec2#ProvisionIpamByoasnResult" -_PIB = "ProvisionIpamByoasn" -_ICAC = "IpamCidrAuthorizationContext" -_VMe = "VerificationMethod" -_rx__________________________________ = "remarks_x509" -_rx___________________________________ = "remarks-x509" -_dt_ = "dns_token" -_dt__ = "dns-token" -_PIPCI = "ProvisionIpamPoolCidrInput" -_cPIPCR = "com.amazonaws.ec2#ProvisionIpamPoolCidrRequest" -_PIPCO = "ProvisionIpamPoolCidrOutput" -_cPIPCRo = "com.amazonaws.ec2#ProvisionIpamPoolCidrResult" -_PIPC = "ProvisionIpamPoolCidr" -_PPIPCI = "ProvisionPublicIpv4PoolCidrInput" -_cPPIPCR = "com.amazonaws.ec2#ProvisionPublicIpv4PoolCidrRequest" -_PPIPCO = "ProvisionPublicIpv4PoolCidrOutput" -_cPPIPCRo = "com.amazonaws.ec2#ProvisionPublicIpv4PoolCidrResult" -_PARo = "PoolAddressRange" -_pAR = "poolAddressRange" -_PPIPC = "ProvisionPublicIpv4PoolCidr" -_PCBI = "PurchaseCapacityBlockInput" -_cPCBR = "com.amazonaws.ec2#PurchaseCapacityBlockRequest" -_PCBO = "PurchaseCapacityBlockOutput" -_cPCBRo = "com.amazonaws.ec2#PurchaseCapacityBlockResult" -_PCBu = "PurchaseCapacityBlock" -_PCBEI = "PurchaseCapacityBlockExtensionInput" -_cPCBER = "com.amazonaws.ec2#PurchaseCapacityBlockExtensionRequest" -_PCBEO = "PurchaseCapacityBlockExtensionOutput" -_cPCBERo = "com.amazonaws.ec2#PurchaseCapacityBlockExtensionResult" -_PCBE = "PurchaseCapacityBlockExtension" -_PHRI = "PurchaseHostReservationInput" -_cPHRR = "com.amazonaws.ec2#PurchaseHostReservationRequest" -_LPi = "LimitPrice" -_PHRO = "PurchaseHostReservationOutput" -_cPHRRo = "com.amazonaws.ec2#PurchaseHostReservationResult" -_PHR = "PurchaseHostReservation" -_RILP = "ReservedInstanceLimitPrice" -_PRIOI = "PurchaseReservedInstancesOfferingInput" -_cPRIOR = "com.amazonaws.ec2#PurchaseReservedInstancesOfferingRequest" -_PTur = "PurchaseTime" -_lPi = "limitPrice" -_PRIOO = "PurchaseReservedInstancesOfferingOutput" -_cPRIORo = "com.amazonaws.ec2#PurchaseReservedInstancesOfferingResult" -_PRIO = "PurchaseReservedInstancesOffering" -_PRu = "PurchaseRequest" -_PRSu = "PurchaseRequestSet" -_PSII = "PurchaseScheduledInstancesInput" -_cPSIR = "com.amazonaws.ec2#PurchaseScheduledInstancesRequest" -_PRur = "PurchaseRequests" -_PSIS = "PurchasedScheduledInstanceSet" -_PSIO = "PurchaseScheduledInstancesOutput" -_cPSIRo = "com.amazonaws.ec2#PurchaseScheduledInstancesResult" -_PSI = "PurchaseScheduledInstances" -_RIIeb = "RebootInstancesInput" -_cRIR = "com.amazonaws.ec2#RebootInstancesRequest" -_RIOeb = "RebootInstancesOutput" -_RIeb = "RebootInstances" -_BPL = "BillingProductList" -_IUDR = "ImageUefiDataRequest" -_RIIeg = "RegisterImageInput" -_cRIRo = "com.amazonaws.ec2#RegisterImageRequest" -_BPi = "BillingProducts" -_BPil = "BillingProduct" -_RIOeg = "RegisterImageOutput" -_cRIRom = "com.amazonaws.ec2#RegisterImageResult" -_RIegis = "RegisterImage" -_RITAR = "RegisterInstanceTagAttributeRequest" -_RIENAI = "RegisterInstanceEventNotificationAttributesInput" -_cRIENAR = "com.amazonaws.ec2#RegisterInstanceEventNotificationAttributesRequest" -_RIENAO = "RegisterInstanceEventNotificationAttributesOutput" -_cRIENARo = "com.amazonaws.ec2#RegisterInstanceEventNotificationAttributesResult" -_RIENA = "RegisterInstanceEventNotificationAttributes" -_RTGMGMI = "RegisterTransitGatewayMulticastGroupMembersInput" -_cRTGMGMR = "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupMembersRequest" -_TGMRGM = "TransitGatewayMulticastRegisteredGroupMembers" -_RNII = "RegisteredNetworkInterfaceIds" -_rNII = "registeredNetworkInterfaceIds" -_RTGMGMO = "RegisterTransitGatewayMulticastGroupMembersOutput" -_cRTGMGMRo = "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupMembersResult" -_RMGM = "RegisteredMulticastGroupMembers" -_rMGM = "registeredMulticastGroupMembers" -_RTGMGM = "RegisterTransitGatewayMulticastGroupMembers" -_RTGMGSI = "RegisterTransitGatewayMulticastGroupSourcesInput" -_cRTGMGSR = "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupSourcesRequest" -_TGMRGS = "TransitGatewayMulticastRegisteredGroupSources" -_RTGMGSO = "RegisterTransitGatewayMulticastGroupSourcesOutput" -_cRTGMGSRo = "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupSourcesResult" -_RMGS = "RegisteredMulticastGroupSources" -_rMGS = "registeredMulticastGroupSources" -_RTGMGS = "RegisterTransitGatewayMulticastGroupSources" -_RCRBOI = "RejectCapacityReservationBillingOwnershipInput" -_cRCRBOR = "com.amazonaws.ec2#RejectCapacityReservationBillingOwnershipRequest" -_RCRBOO = "RejectCapacityReservationBillingOwnershipOutput" -_cRCRBORo = "com.amazonaws.ec2#RejectCapacityReservationBillingOwnershipResult" -_RCRBO = "RejectCapacityReservationBillingOwnership" -_RTGCVAI = "RejectTransitGatewayClientVpnAttachmentInput" -_cRTGCVAR = "com.amazonaws.ec2#RejectTransitGatewayClientVpnAttachmentRequest" -_RTGCVAO = "RejectTransitGatewayClientVpnAttachmentOutput" -_cRTGCVARo = "com.amazonaws.ec2#RejectTransitGatewayClientVpnAttachmentResult" -_RTGCVA = "RejectTransitGatewayClientVpnAttachment" -_RTGMDAI = "RejectTransitGatewayMulticastDomainAssociationsInput" -_cRTGMDAR = "com.amazonaws.ec2#RejectTransitGatewayMulticastDomainAssociationsRequest" -_RTGMDAO = "RejectTransitGatewayMulticastDomainAssociationsOutput" -_cRTGMDARo = "com.amazonaws.ec2#RejectTransitGatewayMulticastDomainAssociationsResult" -_RTGMDA = "RejectTransitGatewayMulticastDomainAssociations" -_RTGPAI = "RejectTransitGatewayPeeringAttachmentInput" -_cRTGPAR = "com.amazonaws.ec2#RejectTransitGatewayPeeringAttachmentRequest" -_RTGPAO = "RejectTransitGatewayPeeringAttachmentOutput" -_cRTGPARo = "com.amazonaws.ec2#RejectTransitGatewayPeeringAttachmentResult" -_RTGPA = "RejectTransitGatewayPeeringAttachment" -_RTGVAI = "RejectTransitGatewayVpcAttachmentInput" -_cRTGVAR = "com.amazonaws.ec2#RejectTransitGatewayVpcAttachmentRequest" -_RTGVAO = "RejectTransitGatewayVpcAttachmentOutput" -_cRTGVARo = "com.amazonaws.ec2#RejectTransitGatewayVpcAttachmentResult" -_RTGVA = "RejectTransitGatewayVpcAttachment" -_RVECI = "RejectVpcEndpointConnectionsInput" -_cRVECR = "com.amazonaws.ec2#RejectVpcEndpointConnectionsRequest" -_RVECO = "RejectVpcEndpointConnectionsOutput" -_cRVECRo = "com.amazonaws.ec2#RejectVpcEndpointConnectionsResult" -_RVEC = "RejectVpcEndpointConnections" -_RVPCI = "RejectVpcPeeringConnectionInput" -_cRVPCR = "com.amazonaws.ec2#RejectVpcPeeringConnectionRequest" -_RVPCO = "RejectVpcPeeringConnectionOutput" -_cRVPCRo = "com.amazonaws.ec2#RejectVpcPeeringConnectionResult" -_RVPC = "RejectVpcPeeringConnection" -_RAI = "ReleaseAddressInput" -_cRAR = "com.amazonaws.ec2#ReleaseAddressRequest" -_RAO = "ReleaseAddressOutput" -_RAel = "ReleaseAddress" -_RHI = "ReleaseHostsInput" -_cRHR = "com.amazonaws.ec2#ReleaseHostsRequest" -_RHO = "ReleaseHostsOutput" -_cRHRo = "com.amazonaws.ec2#ReleaseHostsResult" -_RH = "ReleaseHosts" -_RIPAI = "ReleaseIpamPoolAllocationInput" -_cRIPAR = "com.amazonaws.ec2#ReleaseIpamPoolAllocationRequest" -_RIPAO = "ReleaseIpamPoolAllocationOutput" -_cRIPARo = "com.amazonaws.ec2#ReleaseIpamPoolAllocationResult" -_RIPA = "ReleaseIpamPoolAllocation" -_RIIPAI = "ReplaceIamInstanceProfileAssociationInput" -_cRIIPAR = "com.amazonaws.ec2#ReplaceIamInstanceProfileAssociationRequest" -_RIIPAO = "ReplaceIamInstanceProfileAssociationOutput" -_cRIIPARo = "com.amazonaws.ec2#ReplaceIamInstanceProfileAssociationResult" -_RIIPA = "ReplaceIamInstanceProfileAssociation" -_CDCR = "CreationDateConditionRequest" -_DTCR = "DeprecationTimeConditionRequest" -_INCR = "ImageNameCriteriaRequest" -_INCRL = "ImageNameCriteriaRequestList" -_IPRm = "ImageProviderRequest" -_IPRL = "ImageProviderRequestList" -_IWFRm = "ImageWatermarkFilterRequest" -_IWFRLm = "ImageWatermarkFilterRequestList" -_MPCR = "MarketplaceProductCodeRequest" -_MPCRL = "MarketplaceProductCodeRequestList" -_SRCR = "ScanResultConditionRequest" -_ICRm = "ImageCriterionRequest" -_ICRL = "ImageCriterionRequestList" -_RICIAISI = "ReplaceImageCriteriaInAllowedImagesSettingsInput" -_cRICIAISR = "com.amazonaws.ec2#ReplaceImageCriteriaInAllowedImagesSettingsRequest" -_RICIAISO = "ReplaceImageCriteriaInAllowedImagesSettingsOutput" -_cRICIAISRo = "com.amazonaws.ec2#ReplaceImageCriteriaInAllowedImagesSettingsResult" -_RICIAIS = "ReplaceImageCriteriaInAllowedImagesSettings" -_ITIR = "InstanceTypeItemRequest" -_SITRSu = "SupportedInstanceTypeRequestSet" -_It = "Item" -_UITRS = "UnsupportedInstanceTypeRequestSet" -_ITSR = "InstanceTypeSpecificationRequest" -_SITup = "SupportedInstanceType" -_UITn = "UnsupportedInstanceType" -_RIITSI = "ReplaceImageInstanceTypeSpecificationInput" -_cRIITSR = "com.amazonaws.ec2#ReplaceImageInstanceTypeSpecificationRequest" -_RIITSO = "ReplaceImageInstanceTypeSpecificationOutput" -_cRIITSRo = "com.amazonaws.ec2#ReplaceImageInstanceTypeSpecificationResult" -_RIITS = "ReplaceImageInstanceTypeSpecification" -_RNAAI = "ReplaceNetworkAclAssociationInput" -_cRNAAR = "com.amazonaws.ec2#ReplaceNetworkAclAssociationRequest" -_RNAAO = "ReplaceNetworkAclAssociationOutput" -_cRNAARo = "com.amazonaws.ec2#ReplaceNetworkAclAssociationResult" -_NAIew = "NewAssociationId" -_nAIe = "newAssociationId" -_RNAA = "ReplaceNetworkAclAssociation" -_RNAEI = "ReplaceNetworkAclEntryInput" -_cRNAER = "com.amazonaws.ec2#ReplaceNetworkAclEntryRequest" -_RNAEO = "ReplaceNetworkAclEntryOutput" -_RNAE = "ReplaceNetworkAclEntry" -_RRI = "ReplaceRouteInput" -_cRRR = "com.amazonaws.ec2#ReplaceRouteRequest" -_LToc = "LocalTarget" -_RRO = "ReplaceRouteOutput" -_RRep = "ReplaceRoute" -_RRTAI = "ReplaceRouteTableAssociationInput" -_cRRTAR = "com.amazonaws.ec2#ReplaceRouteTableAssociationRequest" -_RRTAO = "ReplaceRouteTableAssociationOutput" -_cRRTARo = "com.amazonaws.ec2#ReplaceRouteTableAssociationResult" -_RRTA = "ReplaceRouteTableAssociation" -_RTGRI = "ReplaceTransitGatewayRouteInput" -_cRTGRR = "com.amazonaws.ec2#ReplaceTransitGatewayRouteRequest" -_RTGRO = "ReplaceTransitGatewayRouteOutput" -_cRTGRRo = "com.amazonaws.ec2#ReplaceTransitGatewayRouteResult" -_RTGR = "ReplaceTransitGatewayRoute" -_RVTI = "ReplaceVpnTunnelInput" -_cRVTR = "com.amazonaws.ec2#ReplaceVpnTunnelRequest" -_APM = "ApplyPendingMaintenance" -_RVTO = "ReplaceVpnTunnelOutput" -_cRVTRo = "com.amazonaws.ec2#ReplaceVpnTunnelResult" -_RVT = "ReplaceVpnTunnel" -_RISRD = "ReportInstanceStatusRequestDescription" -_RIRC = "ReportInstanceReasonCodes" -_isis = "instance_stuck_in_state" -_isis_ = "instance-stuck-in-state" -_unr = "unresponsive" -_nac = "not_accepting_credentials" -_nac_ = "not-accepting-credentials" -_pna = "password_not_available" -_pna_ = "password-not-available" -_pn = "performance_network" -_pn_ = "performance-network" -_pis = "performance_instance_store" -_pis_ = "performance-instance-store" -_pev = "performance_ebs_volume" -_pev_ = "performance-ebs-volume" -_po_ = "performance_other" -_po__ = "performance-other" -_RCLe = "ReasonCodesList" -_RSTep = "ReportStatusType" -_RISI = "ReportInstanceStatusInput" -_cRISR = "com.amazonaws.ec2#ReportInstanceStatusRequest" -_RCea = "ReasonCodes" -_RCeas = "ReasonCode" -_rCea = "reasonCode" -_RISO = "ReportInstanceStatusOutput" -_RISep = "ReportInstanceStatus" -_RSFI = "RequestSpotFleetInput" -_cRSFR = "com.amazonaws.ec2#RequestSpotFleetRequest" -_RSFO = "RequestSpotFleetOutput" -_cRSFRo = "com.amazonaws.ec2#RequestSpotFleetResponse" -_RSF = "RequestSpotFleet" -_RSLSSGIL = "RequestSpotLaunchSpecificationSecurityGroupIdList" -_RSLSSGL = "RequestSpotLaunchSpecificationSecurityGroupList" -_RSLS = "RequestSpotLaunchSpecification" -_RSII = "RequestSpotInstancesInput" -_cRSIR = "com.amazonaws.ec2#RequestSpotInstancesRequest" -_RSIO = "RequestSpotInstancesOutput" -_cRSIRo = "com.amazonaws.ec2#RequestSpotInstancesResult" -_RSIeq = "RequestSpotInstances" -_RAAI = "ResetAddressAttributeInput" -_cRAAR = "com.amazonaws.ec2#ResetAddressAttributeRequest" -_RAAO = "ResetAddressAttributeOutput" -_cRAARo = "com.amazonaws.ec2#ResetAddressAttributeResult" -_RAA = "ResetAddressAttribute" -_REDKKII = "ResetEbsDefaultKmsKeyIdInput" -_cREDKKIR = "com.amazonaws.ec2#ResetEbsDefaultKmsKeyIdRequest" -_REDKKIO = "ResetEbsDefaultKmsKeyIdOutput" -_cREDKKIRo = "com.amazonaws.ec2#ResetEbsDefaultKmsKeyIdResult" -_REDKKI = "ResetEbsDefaultKmsKeyId" -_RFIAN = "ResetFpgaImageAttributeName" -_RFIAI = "ResetFpgaImageAttributeInput" -_cRFIAR = "com.amazonaws.ec2#ResetFpgaImageAttributeRequest" -_RFIAO = "ResetFpgaImageAttributeOutput" -_cRFIARo = "com.amazonaws.ec2#ResetFpgaImageAttributeResult" -_RFIA = "ResetFpgaImageAttribute" -_RIAN = "ResetImageAttributeName" -_RIAI = "ResetImageAttributeInput" -_cRIAR = "com.amazonaws.ec2#ResetImageAttributeRequest" -_RIAO = "ResetImageAttributeOutput" -_RIA = "ResetImageAttribute" -_RIAIe = "ResetInstanceAttributeInput" -_cRIARo = "com.amazonaws.ec2#ResetInstanceAttributeRequest" -_RIAOe = "ResetInstanceAttributeOutput" -_RIAe = "ResetInstanceAttribute" -_RNIAI = "ResetNetworkInterfaceAttributeInput" -_cRNIAR = "com.amazonaws.ec2#ResetNetworkInterfaceAttributeRequest" -_RNIAO = "ResetNetworkInterfaceAttributeOutput" -_RNIA = "ResetNetworkInterfaceAttribute" -_RSAI = "ResetSnapshotAttributeInput" -_cRSAR = "com.amazonaws.ec2#ResetSnapshotAttributeRequest" -_RSAO = "ResetSnapshotAttributeOutput" -_RSAe = "ResetSnapshotAttribute" -_RATCI = "RestoreAddressToClassicInput" -_cRATCR = "com.amazonaws.ec2#RestoreAddressToClassicRequest" -_RATCO = "RestoreAddressToClassicOutput" -_cRATCRo = "com.amazonaws.ec2#RestoreAddressToClassicResult" -_RATC = "RestoreAddressToClassic" -_RIFRBI = "RestoreImageFromRecycleBinInput" -_cRIFRBR = "com.amazonaws.ec2#RestoreImageFromRecycleBinRequest" -_RIFRBO = "RestoreImageFromRecycleBinOutput" -_cRIFRBRo = "com.amazonaws.ec2#RestoreImageFromRecycleBinResult" -_RIFRB = "RestoreImageFromRecycleBin" -_RMPLVI = "RestoreManagedPrefixListVersionInput" -_cRMPLVR = "com.amazonaws.ec2#RestoreManagedPrefixListVersionRequest" -_PVre = "PreviousVersion" -_RMPLVO = "RestoreManagedPrefixListVersionOutput" -_cRMPLVRo = "com.amazonaws.ec2#RestoreManagedPrefixListVersionResult" -_RMPLV = "RestoreManagedPrefixListVersion" -_RSFRBI = "RestoreSnapshotFromRecycleBinInput" -_cRSFRBR = "com.amazonaws.ec2#RestoreSnapshotFromRecycleBinRequest" -_RSFRBO = "RestoreSnapshotFromRecycleBinOutput" -_cRSFRBRo = "com.amazonaws.ec2#RestoreSnapshotFromRecycleBinResult" -_RSFRB = "RestoreSnapshotFromRecycleBin" -_RSTRTRD = "RestoreSnapshotTierRequestTemporaryRestoreDays" -_RSTI = "RestoreSnapshotTierInput" -_cRSTR = "com.amazonaws.ec2#RestoreSnapshotTierRequest" -_TRD = "TemporaryRestoreDays" -_PRer = "PermanentRestore" -_RSTO = "RestoreSnapshotTierOutput" -_cRSTRo = "com.amazonaws.ec2#RestoreSnapshotTierResult" -_RSTes = "RestoreStartTime" -_rSTe = "restoreStartTime" -_RD = "RestoreDuration" -_rD = "restoreDuration" -_IPRs = "IsPermanentRestore" -_iPRs = "isPermanentRestore" -_RSTest = "RestoreSnapshotTier" -_RVFRBI = "RestoreVolumeFromRecycleBinInput" -_cRVFRBR = "com.amazonaws.ec2#RestoreVolumeFromRecycleBinRequest" -_RVFRBO = "RestoreVolumeFromRecycleBinOutput" -_cRVFRBRo = "com.amazonaws.ec2#RestoreVolumeFromRecycleBinResult" -_RVFRB = "RestoreVolumeFromRecycleBin" -_RCVII = "RevokeClientVpnIngressInput" -_cRCVIR = "com.amazonaws.ec2#RevokeClientVpnIngressRequest" -_RAG = "RevokeAllGroups" -_RCVIO = "RevokeClientVpnIngressOutput" -_cRCVIRo = "com.amazonaws.ec2#RevokeClientVpnIngressResult" -_RCVI = "RevokeClientVpnIngress" -_RSGEI = "RevokeSecurityGroupEgressInput" -_cRSGER = "com.amazonaws.ec2#RevokeSecurityGroupEgressRequest" -_RSGR = "RevokedSecurityGroupRule" -_rGIe = "referencedGroupId" -_RSGRL = "RevokedSecurityGroupRuleList" -_RSGEO = "RevokeSecurityGroupEgressOutput" -_cRSGERo = "com.amazonaws.ec2#RevokeSecurityGroupEgressResult" -_UIP = "UnknownIpPermissions" -_UIPS = "UnknownIpPermissionSet" -_uIPS = "unknownIpPermissionSet" -_RSGRe = "RevokedSecurityGroupRules" -_RSGRS = "RevokedSecurityGroupRuleSet" -_rSGRS = "revokedSecurityGroupRuleSet" -_RSGE = "RevokeSecurityGroupEgress" -_RSGII = "RevokeSecurityGroupIngressInput" -_cRSGIR = "com.amazonaws.ec2#RevokeSecurityGroupIngressRequest" -_RSGIO = "RevokeSecurityGroupIngressOutput" -_cRSGIRo = "com.amazonaws.ec2#RevokeSecurityGroupIngressResult" -_RSGIev = "RevokeSecurityGroupIngress" -_COR = "CpuOptionsRequest" -_EIAC = "ElasticInferenceAcceleratorCount" -_HOR = "HibernationOptionsRequest" -_SMO = "SpotMarketOptions" -_IMORn = "InstanceMarketOptionsRequest" -_LCR = "LicenseConfigurationRequest" -_LSLR = "LicenseSpecificationListRequest" -_IMORns = "InstanceMaintenanceOptionsRequest" -_IMORnst = "InstanceMetadataOptionsRequest" -_INPOR = "InstanceNetworkPerformanceOptionsRequest" -_PDNORr = "PrivateDnsNameOptionsRequest" -_ISIPIAR = "InstanceSecondaryInterfacePrivateIpAddressRequest" -_ISIPIALR = "InstanceSecondaryInterfacePrivateIpAddressListRequest" -_ISISR = "InstanceSecondaryInterfaceSpecificationRequest" -_ISISLR = "InstanceSecondaryInterfaceSpecificationListRequest" -_RIUD = "RunInstancesUserData" -_RIIu = "RunInstancesInput" -_cRIRoma = "com.amazonaws.ec2#RunInstancesRequest" -_MCax = "MaxCount" -_MCi = "MinCount" -_RIOu = "RunInstancesOutput" -_cRo = "com.amazonaws.ec2#Reservation" -_RIu = "RunInstances" -_SIE = "ScheduledInstancesEbs" -_SIBDM = "ScheduledInstancesBlockDeviceMapping" -_SIBDMS = "ScheduledInstancesBlockDeviceMappingSet" -_SIIIP = "ScheduledInstancesIamInstanceProfile" -_SIM = "ScheduledInstancesMonitoring" -_SISGIS = "ScheduledInstancesSecurityGroupIdSet" -_SIIAc = "ScheduledInstancesIpv6Address" -_SIIALc = "ScheduledInstancesIpv6AddressList" -_SIPIAC = "ScheduledInstancesPrivateIpAddressConfig" -_PIACS = "PrivateIpAddressConfigSet" -_SINI = "ScheduledInstancesNetworkInterface" -_PIACr = "PrivateIpAddressConfigs" -_PIACri = "PrivateIpAddressConfig" -_SINIS = "ScheduledInstancesNetworkInterfaceSet" -_SIPc = "ScheduledInstancesPlacement" -_SILS = "ScheduledInstancesLaunchSpecification" -_RSIIu = "RunScheduledInstancesInput" -_cRSIRom = "com.amazonaws.ec2#RunScheduledInstancesRequest" -_RSIOu = "RunScheduledInstancesOutput" -_cRSIRoma = "com.amazonaws.ec2#RunScheduledInstancesResult" -_RSIu = "RunScheduledInstances" -_SLGRI = "SearchLocalGatewayRoutesInput" -_cSLGRR = "com.amazonaws.ec2#SearchLocalGatewayRoutesRequest" -_LGRL = "LocalGatewayRouteList" -_SLGRO = "SearchLocalGatewayRoutesOutput" -_cSLGRRo = "com.amazonaws.ec2#SearchLocalGatewayRoutesResult" -_SLGR = "SearchLocalGatewayRoutes" -_STGMGI = "SearchTransitGatewayMulticastGroupsInput" -_cSTGMGR = "com.amazonaws.ec2#SearchTransitGatewayMulticastGroupsRequest" -_MTem = "MembershipType" -_igm = "igmp" -_TGMG = "TransitGatewayMulticastGroup" -_GM = "GroupMember" -_gM = "groupMember" -_GSr = "GroupSource" -_gSr = "groupSource" -_MTemb = "MemberType" -_mTe = "memberType" -_STo = "SourceType" -_sTo = "sourceType" -_TGMGL = "TransitGatewayMulticastGroupList" -_STGMGO = "SearchTransitGatewayMulticastGroupsOutput" -_cSTGMGRo = "com.amazonaws.ec2#SearchTransitGatewayMulticastGroupsResult" -_MG = "MulticastGroups" -_mG = "multicastGroups" -_STGMG = "SearchTransitGatewayMulticastGroups" -_STGRI = "SearchTransitGatewayRoutesInput" -_cSTGRR = "com.amazonaws.ec2#SearchTransitGatewayRoutesRequest" -_TGRL = "TransitGatewayRouteList" -_STGRO = "SearchTransitGatewayRoutesOutput" -_cSTGRRo = "com.amazonaws.ec2#SearchTransitGatewayRoutesResult" -_ARAd = "AdditionalRoutesAvailable" -_aRAd = "additionalRoutesAvailable" -_STGR = "SearchTransitGatewayRoutes" -_SDII = "SendDiagnosticInterruptInput" -_cSDIR = "com.amazonaws.ec2#SendDiagnosticInterruptRequest" -_SDIO = "SendDiagnosticInterruptOutput" -_SDI = "SendDiagnosticInterrupt" -_SDPRI = "StartDeclarativePoliciesReportInput" -_cSDPRR = "com.amazonaws.ec2#StartDeclarativePoliciesReportRequest" -_SDPRO = "StartDeclarativePoliciesReportOutput" -_cSDPRRo = "com.amazonaws.ec2#StartDeclarativePoliciesReportResult" -_SDPR = "StartDeclarativePoliciesReport" -_SIIt = "StartInstancesInput" -_cSIR = "com.amazonaws.ec2#StartInstancesRequest" -_ISC = "InstanceStateChange" -_CSu = "CurrentState" -_cSu = "currentState" -_ISCL = "InstanceStateChangeList" -_SIO = "StartInstancesOutput" -_cSIRo = "com.amazonaws.ec2#StartInstancesResult" -_SIt = "StartingInstances" -_SIta = "StartInstances" -_SNIASAI = "StartNetworkInsightsAccessScopeAnalysisInput" -_cSNIASAR = "com.amazonaws.ec2#StartNetworkInsightsAccessScopeAnalysisRequest" -_SNIASAO = "StartNetworkInsightsAccessScopeAnalysisOutput" -_cSNIASARo = "com.amazonaws.ec2#StartNetworkInsightsAccessScopeAnalysisResult" -_nIASAe = "networkInsightsAccessScopeAnalysis" -_SNIASA = "StartNetworkInsightsAccessScopeAnalysis" -_SNIAI = "StartNetworkInsightsAnalysisInput" -_cSNIAR = "com.amazonaws.ec2#StartNetworkInsightsAnalysisRequest" -_AAddi = "AdditionalAccount" -_FIAil = "FilterInArn" -_FOAil = "FilterOutArn" -_SNIAO = "StartNetworkInsightsAnalysisOutput" -_cSNIARo = "com.amazonaws.ec2#StartNetworkInsightsAnalysisResult" -_nIA = "networkInsightsAnalysis" -_SNIA = "StartNetworkInsightsAnalysis" -_SVESPDVI = "StartVpcEndpointServicePrivateDnsVerificationInput" -_cSVESPDVR = "com.amazonaws.ec2#StartVpcEndpointServicePrivateDnsVerificationRequest" -_SVESPDVO = "StartVpcEndpointServicePrivateDnsVerificationOutput" -_cSVESPDVRo = "com.amazonaws.ec2#StartVpcEndpointServicePrivateDnsVerificationResult" -_SVESPDV = "StartVpcEndpointServicePrivateDnsVerification" -_SIIto = "StopInstancesInput" -_cSIRom = "com.amazonaws.ec2#StopInstancesRequest" -_Hi = "Hibernate" -_SOS = "SkipOsShutdown" -_SIOt = "StopInstancesOutput" -_cSIRoma = "com.amazonaws.ec2#StopInstancesResult" -_SIto = "StoppingInstances" -_SItop = "StopInstances" -_TCVCI = "TerminateClientVpnConnectionsInput" -_cTCVCR = "com.amazonaws.ec2#TerminateClientVpnConnectionsRequest" -_TCSe = "TerminateConnectionStatus" -_PSrev = "PreviousStatus" -_pSrev = "previousStatus" -_CSur = "CurrentStatus" -_cSur = "currentStatus" -_TCSS = "TerminateConnectionStatusSet" -_TCVCO = "TerminateClientVpnConnectionsOutput" -_cTCVCRo = "com.amazonaws.ec2#TerminateClientVpnConnectionsResult" -_CSonn = "ConnectionStatuses" -_cSonn = "connectionStatuses" -_TCVC = "TerminateClientVpnConnections" -_TIIe = "TerminateInstancesInput" -_cTIR = "com.amazonaws.ec2#TerminateInstancesRequest" -_TIO = "TerminateInstancesOutput" -_cTIRo = "com.amazonaws.ec2#TerminateInstancesResult" -_TIer = "TerminatingInstances" -_UIAI = "UnassignIpv6AddressesInput" -_cUIAR = "com.amazonaws.ec2#UnassignIpv6AddressesRequest" -_UIAO = "UnassignIpv6AddressesOutput" -_cUIARo = "com.amazonaws.ec2#UnassignIpv6AddressesResult" -_UIA = "UnassignedIpv6Addresses" -_uIA = "unassignedIpv6Addresses" -_UIPn = "UnassignedIpv6Prefixes" -_UIPSn = "UnassignedIpv6PrefixSet" -_uIPSn = "unassignedIpv6PrefixSet" -_UIAn = "UnassignIpv6Addresses" -_UPIAI = "UnassignPrivateIpAddressesInput" -_cUPIAR = "com.amazonaws.ec2#UnassignPrivateIpAddressesRequest" -_UPIAO = "UnassignPrivateIpAddressesOutput" -_UPIA = "UnassignPrivateIpAddresses" -_UPNGAI = "UnassignPrivateNatGatewayAddressInput" -_cUPNGAR = "com.amazonaws.ec2#UnassignPrivateNatGatewayAddressRequest" -_UPNGAO = "UnassignPrivateNatGatewayAddressOutput" -_cUPNGARo = "com.amazonaws.ec2#UnassignPrivateNatGatewayAddressResult" -_UPNGA = "UnassignPrivateNatGatewayAddress" -_USI = "UnlockSnapshotInput" -_cUSR = "com.amazonaws.ec2#UnlockSnapshotRequest" -_USO = "UnlockSnapshotOutput" -_cUSRo = "com.amazonaws.ec2#UnlockSnapshotResult" -_USn = "UnlockSnapshot" -_UII = "UnmonitorInstancesInput" -_cUIR = "com.amazonaws.ec2#UnmonitorInstancesRequest" -_UIO = "UnmonitorInstancesOutput" -_cUIRo = "com.amazonaws.ec2#UnmonitorInstancesResult" -_UIn = "UnmonitorInstances" -_UCMMTKI = "UpdateCapacityManagerMonitoredTagKeysInput" -_cUCMMTKR = "com.amazonaws.ec2#UpdateCapacityManagerMonitoredTagKeysRequest" -_ATK = "ActivateTagKeys" -_ATKc = "ActivateTagKey" -_DTK = "DeactivateTagKeys" -_DTKe = "DeactivateTagKey" -_UCMMTKO = "UpdateCapacityManagerMonitoredTagKeysOutput" -_cUCMMTKRo = "com.amazonaws.ec2#UpdateCapacityManagerMonitoredTagKeysResult" -_UCMMTK = "UpdateCapacityManagerMonitoredTagKeys" -_UCMOAI = "UpdateCapacityManagerOrganizationsAccessInput" -_cUCMOAR = "com.amazonaws.ec2#UpdateCapacityManagerOrganizationsAccessRequest" -_UCMOAO = "UpdateCapacityManagerOrganizationsAccessOutput" -_cUCMOARo = "com.amazonaws.ec2#UpdateCapacityManagerOrganizationsAccessResult" -_UCMOA = "UpdateCapacityManagerOrganizationsAccess" -_UICRAI = "UpdateInterruptibleCapacityReservationAllocationInput" -_cUICRAR = "com.amazonaws.ec2#UpdateInterruptibleCapacityReservationAllocationRequest" -_UICRAO = "UpdateInterruptibleCapacityReservationAllocationOutput" -_cUICRARo = "com.amazonaws.ec2#UpdateInterruptibleCapacityReservationAllocationResult" -_UICRA = "UpdateInterruptibleCapacityReservationAllocation" -_SGRD = "SecurityGroupRuleDescription" -_SGRDL = "SecurityGroupRuleDescriptionList" -_USGRDEI = "UpdateSecurityGroupRuleDescriptionsEgressInput" -_cUSGRDER = "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsEgressRequest" -_SGRDe = "SecurityGroupRuleDescriptions" -_USGRDEO = "UpdateSecurityGroupRuleDescriptionsEgressOutput" -_cUSGRDERo = "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsEgressResult" -_USGRDE = "UpdateSecurityGroupRuleDescriptionsEgress" -_USGRDII = "UpdateSecurityGroupRuleDescriptionsIngressInput" -_cUSGRDIR = "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsIngressRequest" -_USGRDIO = "UpdateSecurityGroupRuleDescriptionsIngressOutput" -_cUSGRDIRo = "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsIngressResult" -_USGRDI = "UpdateSecurityGroupRuleDescriptionsIngress" -_VSGQFII = "ValidateSecurityGroupQuotasForInterfaceInput" -_cVSGQFIR = "com.amazonaws.ec2#ValidateSecurityGroupQuotasForInterfaceRequest" -_VSGQFIO = "ValidateSecurityGroupQuotasForInterfaceOutput" -_cVSGQFIRo = "com.amazonaws.ec2#ValidateSecurityGroupQuotasForInterfaceResult" -_Vali = "Valid" -_VSGQFI = "ValidateSecurityGroupQuotasForInterface" -_WBCI = "WithdrawByoipCidrInput" -_cWBCR = "com.amazonaws.ec2#WithdrawByoipCidrRequest" -_WBCO = "WithdrawByoipCidrOutput" -_cWBCRo = "com.amazonaws.ec2#WithdrawByoipCidrResult" -_WBC = "WithdrawByoipCidr" -_AECm = "AmazonEC2" -_aw = "aws.auth#sigv4" -_aQ = "aws.protocols#ec2Query" -_awsa = "aws.api#service" -_sNm = "smithy.api#xmlNamespace" - -INTEGER: StaticSchema = (7, n0, _I, 0) - -ACCELERATOR_COUNT: StaticSchema = ( - 18, - n0, - _AC, - 0, - (_M, _Ma), - ((INTEGER, {_aQN: _M, _sN: _m}), (INTEGER, {_aQN: _Ma, _sN: _ma})), -) - -ACCELERATOR_COUNT_REQUEST: StaticSchema = ( - 18, - n0, - _ACR, - 0, - (_M, _Ma), - ((INTEGER, 0), (INTEGER, 0)), -) - -ACCELERATOR_MANUFACTURER: StaticSchema = ( - 14, - n0, - _AM, - 0, - (_AWS, _AMD, _NVIDIA, _XILINX, _HABANA), - ( - (-1, {_sV: _aws}), - (-1, {_sV: _a}), - (-1, {_sV: _n}), - (-1, {_sV: _x}), - (-1, {_sV: _h}), - ), -) - -ACCELERATOR_MANUFACTURER_SET: StaticSchema = ( - 16, - n0, - _AMS, - 0, - (_me,), - ((ACCELERATOR_MANUFACTURER, {_sN: _i}),), -) - -ACCELERATOR_NAME: StaticSchema = ( - 14, - n0, - _AN, - 0, - ( - _A, - _INFERENTIA, - _K, - _K_, - _M_, - _RPV, - _T, - _VUP, - _V, - _AG, - _H, - _TG, - _LS, - _L, - _GH, - _INFERENTIA_, - _TRAINIUM, - _TRAINIUM_, - _U, - ), - ( - (-1, {_sV: _a_}), - (-1, {_sV: _in}), - (-1, {_sV: _k}), - (-1, {_sV: _k_}), - (-1, {_sV: _m_}), - (-1, {_sV: _rpv}), - (-1, {_sV: _t}), - (-1, {_sV: _v}), - (-1, {_sV: _v_}), - (-1, {_sV: _ag}), - (-1, {_sV: _h_}), - (-1, {_sV: _tg}), - (-1, {_sV: _l}), - (-1, {_sV: _l_}), - (-1, {_sV: _gh}), - (-1, {_sV: _inf}), - (-1, {_sV: _tr}), - (-1, {_sV: _tra}), - (-1, {_sV: _u}), - ), -) - -ACCELERATOR_NAME_SET: StaticSchema = ( - 16, - n0, - _ANS, - 0, - (_me,), - ((ACCELERATOR_NAME, {_sN: _i}),), -) - -ACCELERATOR_TOTAL_MEMORY_MI_B: StaticSchema = ( - 18, - n0, - _ATMMB, - 0, - (_M, _Ma), - ((INTEGER, {_aQN: _M, _sN: _m}), (INTEGER, {_aQN: _Ma, _sN: _ma})), -) - -ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST: StaticSchema = ( - 18, - n0, - _ATMMBR, - 0, - (_M, _Ma), - ((INTEGER, 0), (INTEGER, 0)), -) - -ACCELERATOR_TYPE: StaticSchema = ( - 14, - n0, - _AT, - 0, - (_GPU, _FPGA, _INFERENCE, _MEDIA), - ((-1, {_sV: _g}), (-1, {_sV: _f}), (-1, {_sV: _infe}), (-1, {_sV: _med})), -) - -ACCELERATOR_TYPE_SET: StaticSchema = ( - 16, - n0, - _ATS, - 0, - (_me,), - ((ACCELERATOR_TYPE, {_sN: _i}),), -) - -STRING: StaticSchema = (3, n0, _S, 0) - -BOOLEAN: StaticSchema = (2, n0, _B, 0) - -RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _RT, - 0, - ( - _cr, - _cve, - _cg, - _cg__, - _cp, - _dpr, - _dh, - _do, - _eoig, - _ei, - _eg, - _eit, - _eit__, - _fl, - _fi, - _hr, - _im, - _iur, - _iit, - _ist, - _ins, - _iew, - _ig, - _ip, - _ip_, - _is, - _ie, - _ie__, - _kp, - _lt, - _lg, - _lgrt, - _lgvi, - _lgvig, - _lgrtva, - _lgrtviga, - _na, - _na_, - _ni, - _nia, - _nip, - _nias, - _niasa, - _ol, - _pg, - _pl, - _rrvt, - _ri, - _rt, - _sg, - _sgr, - _slvi, - _s, - _sfr, - _sir, - _su, - _scr, - _tmf, - _tms, - _tmt, - _tg_, - _tga, - _tgcp, - _tgmd, - _tgpt, - _tgmp, - _tgrt, - _tgrta, - _vo, - _vp, - _ve, - _vec, - _ves, - _vesp, - _vpc, - _vc, - _vg, - _vfl, - _crf, - _tmfr, - _vecdt, - _vai, - _vag, - _vae, - _vap, - _vatp, - _vcdt, - _vbpae, - _vec__, - _rs, - _rse, - _rsp, - _ird, - _irda, - _ice, - _vaet, - _iervt, - _cb, - _mmt, - _iplr, - _ip___, - _iplrt, - _iira, - _si, - _sn, - _ss, - _cmde, - _vc__, - _ipa, - _crcq, - _asc, - _crmq, - ), - ( - (-1, {_sV: _cr_}), - (-1, {_sV: _cve_}), - (-1, {_sV: _cg_}), - (-1, {_sV: _cg___}), - (-1, {_sV: _cp_}), - (-1, {_sV: _dpr_}), - (-1, {_sV: _dh_}), - (-1, {_sV: _do_}), - (-1, {_sV: _eoig_}), - (-1, {_sV: _ei_}), - (-1, {_sV: _eg_}), - (-1, {_sV: _eit_}), - (-1, {_sV: _eit___}), - (-1, {_sV: _fl}), - (-1, {_sV: _fi_}), - (-1, {_sV: _hr_}), - (-1, {_sV: _im}), - (-1, {_sV: _iur_}), - (-1, {_sV: _iit_}), - (-1, {_sV: _ist_}), - (-1, {_sV: _ins}), - (-1, {_sV: _iew_}), - (-1, {_sV: _ig_}), - (-1, {_sV: _ip}), - (-1, {_sV: _ip__}), - (-1, {_sV: _is_}), - (-1, {_sV: _ie_}), - (-1, {_sV: _ie___}), - (-1, {_sV: _kp_}), - (-1, {_sV: _lt_}), - (-1, {_sV: _lg_}), - (-1, {_sV: _lgrt_}), - (-1, {_sV: _lgvi_}), - (-1, {_sV: _lgvig_}), - (-1, {_sV: _lgrtva_}), - (-1, {_sV: _lgrtviga_}), - (-1, {_sV: _na}), - (-1, {_sV: _na__}), - (-1, {_sV: _ni_}), - (-1, {_sV: _nia_}), - (-1, {_sV: _nip_}), - (-1, {_sV: _nias_}), - (-1, {_sV: _niasa_}), - (-1, {_sV: _ol_}), - (-1, {_sV: _pg_}), - (-1, {_sV: _pl_}), - (-1, {_sV: _rrvt_}), - (-1, {_sV: _ri_}), - (-1, {_sV: _rt_}), - (-1, {_sV: _sg_}), - (-1, {_sV: _sgr_}), - (-1, {_sV: _slvi_}), - (-1, {_sV: _s}), - (-1, {_sV: _sfr_}), - (-1, {_sV: _sir_}), - (-1, {_sV: _su}), - (-1, {_sV: _scr_}), - (-1, {_sV: _tmf_}), - (-1, {_sV: _tms_}), - (-1, {_sV: _tmt_}), - (-1, {_sV: _tg__}), - (-1, {_sV: _tga_}), - (-1, {_sV: _tgcp_}), - (-1, {_sV: _tgmd_}), - (-1, {_sV: _tgpt_}), - (-1, {_sV: _tgmp_}), - (-1, {_sV: _tgrt_}), - (-1, {_sV: _tgrta_}), - (-1, {_sV: _vo}), - (-1, {_sV: _vp}), - (-1, {_sV: _ve_}), - (-1, {_sV: _vec_}), - (-1, {_sV: _ves_}), - (-1, {_sV: _vesp_}), - (-1, {_sV: _vpc_}), - (-1, {_sV: _vc_}), - (-1, {_sV: _vg_}), - (-1, {_sV: _vfl_}), - (-1, {_sV: _crf_}), - (-1, {_sV: _tmfr_}), - (-1, {_sV: _vecdt_}), - (-1, {_sV: _vai_}), - (-1, {_sV: _vag_}), - (-1, {_sV: _vae_}), - (-1, {_sV: _vap_}), - (-1, {_sV: _vatp_}), - (-1, {_sV: _vcdt_}), - (-1, {_sV: _vbpae_}), - (-1, {_sV: _vec___}), - (-1, {_sV: _rs_}), - (-1, {_sV: _rse_}), - (-1, {_sV: _rsp_}), - (-1, {_sV: _ird_}), - (-1, {_sV: _irda_}), - (-1, {_sV: _ice_}), - (-1, {_sV: _vaet_}), - (-1, {_sV: _iervt_}), - (-1, {_sV: _cb_}), - (-1, {_sV: _mmt_}), - (-1, {_sV: _iplr_}), - (-1, {_sV: _ip____}), - (-1, {_sV: _iplrt_}), - (-1, {_sV: _iira_}), - (-1, {_sV: _si_}), - (-1, {_sV: _sn_}), - (-1, {_sV: _ss_}), - (-1, {_sV: _cmde_}), - (-1, {_sV: _vc___}), - (-1, {_sV: _ipa_}), - (-1, {_sV: _crcq_}), - (-1, {_sV: _asc_}), - (-1, {_sV: _crmq_}), - ), -) - -TAG: StaticSchema = ( - 18, - n0, - _Ta, - 0, - (_Ke, _Va), - ((STRING, {_aQN: _Ke, _sN: _ke}), (STRING, {_aQN: _Va, _sN: _va})), -) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, {_sN: _i}),)) - -TAG_SPECIFICATION: StaticSchema = ( - 18, - n0, - _TS, - 0, - (_RT, _Tag), - ((RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), (TAG_LIST, {_sN: _Ta})), -) - -TAG_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _TSL, - 0, - (_me,), - ((TAG_SPECIFICATION, {_sN: _i}),), -) - -ACCEPT_ADDRESS_TRANSFER_INPUT: StaticSchema = ( - 18, - n0, - _AATI, - {_sSI: _cAATR, _sm: None}, - (_Ad, _TSa, _DR), - ((STRING, 1), (TAG_SPECIFICATION_LIST, {_sN: _TS}), (BOOLEAN, 0)), -) - -ADDRESS_TRANSFER_STATUS: StaticSchema = ( - 14, - n0, - _ATSd, - 0, - (_p, _d, _ac), - ((-1, {_sV: _p}), (-1, {_sV: _d}), (-1, {_sV: _ac})), -) - -MILLISECOND_DATE_TIME: StaticSchema = (4, n0, _MDT, 0) - -ADDRESS_TRANSFER: StaticSchema = ( - 18, - n0, - _ATd, - 0, - (_PI, _AI, _TAI, _TOET, _TOAT, _ATSd), - ( - (STRING, {_aQN: _PI, _sN: _pI}), - (STRING, {_aQN: _AI, _sN: _aI}), - (STRING, {_aQN: _TAI, _sN: _tAI}), - (MILLISECOND_DATE_TIME, {_aQN: _TOET, _sN: _tOET}), - (MILLISECOND_DATE_TIME, {_aQN: _TOAT, _sN: _tOAT}), - (ADDRESS_TRANSFER_STATUS, {_aQN: _ATSd, _sN: _aTS}), - ), -) - -ACCEPT_ADDRESS_TRANSFER_OUTPUT: StaticSchema = ( - 18, - n0, - _AATO, - {_sSI: _cAATRo, _smit: None}, - (_ATd,), - ((ADDRESS_TRANSFER, {_aQN: _ATd, _sN: _aT}),), -) - -ACCEPT_ADDRESS_TRANSFER: StaticOperationSchema = ( - 23, - n0, - _AAT, - 0, - ACCEPT_ADDRESS_TRANSFER_INPUT, - ACCEPT_ADDRESS_TRANSFER_OUTPUT, - (), -) - -CAPACITY_RESERVATION_ID: StaticSchema = (3, n0, _CRI, 0) - -ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT: StaticSchema = ( - 18, - n0, - _ACRBOI, - {_sSI: _cACRBOR, _sm: None}, - (_DR, _CRI), - ((BOOLEAN, 0), (CAPACITY_RESERVATION_ID, 1)), -) - -ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT: StaticSchema = ( - 18, - n0, - _ACRBOO, - {_sSI: _cACRBORo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP: StaticOperationSchema = ( - 23, - n0, - _ACRBO, - 0, - ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT, - ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT, - (), -) - -RESERVATION_ID: StaticSchema = (3, n0, _RI, 0) - -RESERVED_INSTANCE_ID_SET: StaticSchema = ( - 16, - n0, - _RIIS, - 0, - (_me,), - ((RESERVATION_ID, {_sN: _RII}),), -) - -RESERVED_INSTANCES_OFFERING_ID: StaticSchema = (3, n0, _RIOI, 0) - -TARGET_CONFIGURATION_REQUEST: StaticSchema = ( - 18, - n0, - _TCR, - 0, - (_IC, _OI), - ((INTEGER, 0), (RESERVED_INSTANCES_OFFERING_ID, 1)), -) - -TARGET_CONFIGURATION_REQUEST_SET: StaticSchema = ( - 16, - n0, - _TCRS, - 0, - (_me,), - ((TARGET_CONFIGURATION_REQUEST, {_sN: _TCR}),), -) - -ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT: StaticSchema = ( - 18, - n0, - _ARIEQI, - {_sSI: _cARIEQR, _sm: None}, - (_DR, _RIIe, _TC), - ( - (BOOLEAN, 0), - (RESERVED_INSTANCE_ID_SET, {_sN: _RII, _smi: None}), - (TARGET_CONFIGURATION_REQUEST_SET, {_sN: _TCa}), - ), -) - -ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT: StaticSchema = ( - 18, - n0, - _ARIEQO, - {_sSI: _cARIEQRo, _smit: None}, - (_EI,), - ((STRING, {_aQN: _EI, _sN: _eI}),), -) - -ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE: StaticOperationSchema = ( - 23, - n0, - _ARIEQ, - 0, - ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT, - ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT, - (), -) - -TRANSIT_GATEWAY_ATTACHMENT_ID: StaticSchema = (3, n0, _TGAI, 0) - -ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _ATGCVAI, - {_sSI: _cATGCVAR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -CLIENT_VPN_ENDPOINT_ID: StaticSchema = (3, n0, _CVEI, 0) - -TRANSIT_GATEWAY_ATTACHMENT_STATUS_TYPE: StaticSchema = ( - 14, - n0, - _TGAST, - 0, - (_pa, _p, _re, _av, _de, _del), - ( - (-1, {_sV: _pa_}), - (-1, {_sV: _p}), - (-1, {_sV: _re}), - (-1, {_sV: _av}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - ), -) - -TRANSIT_GATEWAY_ID: StaticSchema = (3, n0, _TGI, 0) - -TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT: StaticSchema = ( - 18, - n0, - _TGCVA, - 0, - (_TGAI, _TGI, _CVEI, _CVOI, _St, _CT), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - (TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), - (CLIENT_VPN_ENDPOINT_ID, {_aQN: _CVEI, _sN: _cVEI}), - (STRING, {_aQN: _CVOI, _sN: _cVOI}), - (TRANSIT_GATEWAY_ATTACHMENT_STATUS_TYPE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _CT, _sN: _cT}), - ), -) - -ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _ATGCVAO, - {_sSI: _cATGCVARo, _smit: None}, - (_TGCVA,), - ((TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT, {_aQN: _TGCVA, _sN: _tGCVA}),), -) - -ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _ATGCVA, - 0, - ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT, - ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT, - (), -) - -VALUE_STRING_LIST: StaticSchema = (16, n0, _VSL, 0, (_me,), ((STRING, {_sN: _i}),)) - -TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID: StaticSchema = (3, n0, _TGMDI, 0) - -ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _ATGMDAI, - {_sSI: _cATGMDAR, _sm: None}, - (_TGMDI, _TGAI, _SI, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 0), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (VALUE_STRING_LIST, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _TGART, - 0, - (_vp, _vpn, _vc__, _dcg, _c, _pe, _tp, _nf, _cv), - ( - (-1, {_sV: _vp}), - (-1, {_sV: _vpn}), - (-1, {_sV: _vc___}), - (-1, {_sV: _dcg_}), - (-1, {_sV: _c}), - (-1, {_sV: _pe}), - (-1, {_sV: _tp_}), - (-1, {_sV: _nf_}), - (-1, {_sV: _cv_}), - ), -) - -TRANSIT_GATEWAY_MULITCAST_DOMAIN_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _TGMDAS, - 0, - (_pA, _as, _ass, _di, _dis, _re, _fa), - ( - (-1, {_sV: _pA}), - (-1, {_sV: _as}), - (-1, {_sV: _ass}), - (-1, {_sV: _di}), - (-1, {_sV: _dis}), - (-1, {_sV: _re}), - (-1, {_sV: _fa}), - ), -) - -SUBNET_ASSOCIATION: StaticSchema = ( - 18, - n0, - _SA, - 0, - (_SIu, _St), - ( - (STRING, {_aQN: _SIu, _sN: _sI}), - (TRANSIT_GATEWAY_MULITCAST_DOMAIN_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -SUBNET_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _SAL, - 0, - (_me,), - ((SUBNET_ASSOCIATION, {_sN: _i}),), -) - -TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS: StaticSchema = ( - 18, - n0, - _TGMDA, - 0, - (_TGMDI, _TGAI, _RIe, _RT, _ROI, _Su), - ( - (STRING, {_aQN: _TGMDI, _sN: _tGMDI}), - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _ROI, _sN: _rOI}), - (SUBNET_ASSOCIATION_LIST, {_aQN: _Su, _sN: _sub}), - ), -) - -ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _ATGMDAO, - {_sSI: _cATGMDARo, _smit: None}, - (_As,), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS, {_aQN: _As, _sN: _asso}),), -) - -ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _ATGMDA, - 0, - ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT, - ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT, - (), -) - -ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _ATGPAI, - {_sSI: _cATGPAR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -PEERING_TGW_INFO: StaticSchema = ( - 18, - n0, - _PTI, - 0, - (_TGI, _CNI, _OIw, _Re), - ( - (STRING, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _CNI, _sN: _cNI}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _Re, _sN: _reg}), - ), -) - -DATE_TIME: StaticSchema = (4, n0, _DT, 0) - -DYNAMIC_ROUTING_VALUE: StaticSchema = ( - 14, - n0, - _DRV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -TRANSIT_GATEWAY_PEERING_ATTACHMENT_OPTIONS: StaticSchema = ( - 18, - n0, - _TGPAO, - 0, - (_DRy,), - ((DYNAMIC_ROUTING_VALUE, {_aQN: _DRy, _sN: _dR}),), -) - -TRANSIT_GATEWAY_ATTACHMENT_STATE: StaticSchema = ( - 14, - n0, - _TGAS, - 0, - (_ini, _iR, _pA, _rB, _p, _av, _mo, _de, _del, _fa, _re, _rej, _fai), - ( - (-1, {_sV: _ini}), - (-1, {_sV: _iR}), - (-1, {_sV: _pA}), - (-1, {_sV: _rB}), - (-1, {_sV: _p}), - (-1, {_sV: _av}), - (-1, {_sV: _mo}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - (-1, {_sV: _fa}), - (-1, {_sV: _re}), - (-1, {_sV: _rej}), - (-1, {_sV: _fai}), - ), -) - -PEERING_ATTACHMENT_STATUS: StaticSchema = ( - 18, - n0, - _PAS, - 0, - (_C, _Me), - ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticSchema = ( - 18, - n0, - _TGPA, - 0, - (_TGAI, _ATGAI, _RTI, _ATI, _O, _Sta, _St, _CT, _Tag), - ( - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _ATGAI, _sN: _aTGAI}), - (PEERING_TGW_INFO, {_aQN: _RTI, _sN: _rTI}), - (PEERING_TGW_INFO, {_aQN: _ATI, _sN: _aTI}), - (TRANSIT_GATEWAY_PEERING_ATTACHMENT_OPTIONS, {_aQN: _O, _sN: _o}), - (PEERING_ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), - (TRANSIT_GATEWAY_ATTACHMENT_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _ATGPAO, - {_sSI: _cATGPARo, _smit: None}, - (_TGPA,), - ((TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_aQN: _TGPA, _sN: _tGPA}),), -) - -ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _ATGPA, - 0, - ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT, - ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT, - (), -) - -ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _ATGVAI, - {_sSI: _cATGVAR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -APPLIANCE_MODE_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _AMSV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -DNS_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _DSV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -IPV6_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _ISV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -SECURITY_GROUP_REFERENCING_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _SGRSV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -TRANSIT_GATEWAY_VPC_ATTACHMENT_OPTIONS: StaticSchema = ( - 18, - n0, - _TGVAO, - 0, - (_DS, _SGRS, _IS, _AMSp), - ( - (DNS_SUPPORT_VALUE, {_aQN: _DS, _sN: _dS}), - (SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, {_aQN: _SGRS, _sN: _sGRS}), - (IPV6_SUPPORT_VALUE, {_aQN: _IS, _sN: _iS}), - (APPLIANCE_MODE_SUPPORT_VALUE, {_aQN: _AMSp, _sN: _aMS}), - ), -) - -TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticSchema = ( - 18, - n0, - _TGVA, - 0, - (_TGAI, _TGI, _VI, _VOI, _St, _SI, _CT, _O, _Tag), - ( - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _VOI, _sN: _vOI}), - (TRANSIT_GATEWAY_ATTACHMENT_STATE, {_aQN: _St, _sN: _st}), - (VALUE_STRING_LIST, {_aQN: _SI, _sN: _sIu}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TRANSIT_GATEWAY_VPC_ATTACHMENT_OPTIONS, {_aQN: _O, _sN: _o}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _ATGVAO, - {_sSI: _cATGVARo, _smit: None}, - (_TGVA,), - ((TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), -) - -ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _ATGVA, - 0, - ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, - ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, - (), -) - -VPC_ENDPOINT_SERVICE_ID: StaticSchema = (3, n0, _VESI, 0) - -VPC_ENDPOINT_ID: StaticSchema = (3, n0, _VEI, 0) - -VPC_ENDPOINT_ID_LIST: StaticSchema = ( - 16, - n0, - _VEIL, - 0, - (_me,), - ((VPC_ENDPOINT_ID, {_sN: _i}),), -) - -ACCEPT_VPC_ENDPOINT_CONNECTIONS_INPUT: StaticSchema = ( - 18, - n0, - _AVECI, - {_sSI: _cAVECR, _sm: None}, - (_DR, _SIe, _VEIp), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_SERVICE_ID, 1), - (VPC_ENDPOINT_ID_LIST, {_sN: _VEI, _smi: None}), - ), -) - -UNSUCCESSFUL_ITEM_ERROR: StaticSchema = ( - 18, - n0, - _UIE, - 0, - (_C, _Me), - ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -UNSUCCESSFUL_ITEM: StaticSchema = ( - 18, - n0, - _UI, - 0, - (_E, _RIe), - ((UNSUCCESSFUL_ITEM_ERROR, {_aQN: _E, _sN: _er}), (STRING, {_aQN: _RIe, _sN: _rI})), -) - -UNSUCCESSFUL_ITEM_SET: StaticSchema = ( - 16, - n0, - _UIS, - 0, - (_me,), - ((UNSUCCESSFUL_ITEM, {_sN: _i}),), -) - -ACCEPT_VPC_ENDPOINT_CONNECTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _AVECO, - {_sSI: _cAVECRo, _smit: None}, - (_Un,), - ((UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), -) - -ACCEPT_VPC_ENDPOINT_CONNECTIONS: StaticOperationSchema = ( - 23, - n0, - _AVEC, - 0, - ACCEPT_VPC_ENDPOINT_CONNECTIONS_INPUT, - ACCEPT_VPC_ENDPOINT_CONNECTIONS_OUTPUT, - (), -) - -VPC_PEERING_CONNECTION_ID_WITH_RESOLVER: StaticSchema = (3, n0, _VPCIWR, 0) - -ACCEPT_VPC_PEERING_CONNECTION_INPUT: StaticSchema = ( - 18, - n0, - _AVPCI, - {_sSI: _cAVPCR, _sm: None}, - (_DR, _VPCI), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ( - VPC_PEERING_CONNECTION_ID_WITH_RESOLVER, - {_aQN: _VPCI, _sN: _vPCI, _smi: None}, - ), - ), -) - -CIDR_BLOCK: StaticSchema = (18, n0, _CB, 0, (_CB,), ((STRING, {_aQN: _CB, _sN: _cB}),)) - -CIDR_BLOCK_SET: StaticSchema = (16, n0, _CBS, 0, (_me,), ((CIDR_BLOCK, {_sN: _i}),)) - -IPV6_CIDR_BLOCK: StaticSchema = ( - 18, - n0, - _ICB, - 0, - (_ICB,), - ((STRING, {_aQN: _ICB, _sN: _iCB}),), -) - -IPV6_CIDR_BLOCK_SET: StaticSchema = ( - 16, - n0, - _ICBS, - 0, - (_me,), - ((IPV6_CIDR_BLOCK, {_sN: _i}),), -) - -VPC_PEERING_CONNECTION_OPTIONS_DESCRIPTION: StaticSchema = ( - 18, - n0, - _VPCOD, - 0, - (_ADRFRV, _AEFLCLTRV, _AEFLVTRCL), - ( - (BOOLEAN, {_aQN: _ADRFRV, _sN: _aDRFRV}), - (BOOLEAN, {_aQN: _AEFLCLTRV, _sN: _aEFLCLTRV}), - (BOOLEAN, {_aQN: _AEFLVTRCL, _sN: _aEFLVTRCL}), - ), -) - -VPC_PEERING_CONNECTION_VPC_INFO: StaticSchema = ( - 18, - n0, - _VPCVI, - 0, - (_CB, _ICBS, _CBS, _OIw, _PO, _VI, _Re), - ( - (STRING, {_aQN: _CB, _sN: _cB}), - (IPV6_CIDR_BLOCK_SET, {_aQN: _ICBS, _sN: _iCBS}), - (CIDR_BLOCK_SET, {_aQN: _CBS, _sN: _cBS}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (VPC_PEERING_CONNECTION_OPTIONS_DESCRIPTION, {_aQN: _PO, _sN: _pO}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _Re, _sN: _reg}), - ), -) - -VPC_PEERING_CONNECTION_STATE_REASON_CODE: StaticSchema = ( - 14, - n0, - _VPCSRC, - 0, - (_ir, _pa, _act, _del, _re, _fa, _ex, _pr, _de), - ( - (-1, {_sV: _ir_}), - (-1, {_sV: _pa_}), - (-1, {_sV: _act}), - (-1, {_sV: _del}), - (-1, {_sV: _re}), - (-1, {_sV: _fa}), - (-1, {_sV: _ex}), - (-1, {_sV: _pr}), - (-1, {_sV: _de}), - ), -) - -VPC_PEERING_CONNECTION_STATE_REASON: StaticSchema = ( - 18, - n0, - _VPCSR, - 0, - (_C, _Me), - ( - (VPC_PEERING_CONNECTION_STATE_REASON_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -VPC_PEERING_CONNECTION: StaticSchema = ( - 18, - n0, - _VPC, - 0, - (_AVI, _ET, _RVI, _Sta, _Tag, _VPCI), - ( - (VPC_PEERING_CONNECTION_VPC_INFO, {_aQN: _AVI, _sN: _aVI}), - (DATE_TIME, {_aQN: _ET, _sN: _eT}), - (VPC_PEERING_CONNECTION_VPC_INFO, {_aQN: _RVI, _sN: _rVI}), - (VPC_PEERING_CONNECTION_STATE_REASON, {_aQN: _Sta, _sN: _sta}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _VPCI, _sN: _vPCI}), - ), -) - -ACCEPT_VPC_PEERING_CONNECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _AVPCO, - {_sSI: _cAVPCRo, _smit: None}, - (_VPC,), - ((VPC_PEERING_CONNECTION, {_aQN: _VPC, _sN: _vPC}),), -) - -ACCEPT_VPC_PEERING_CONNECTION: StaticOperationSchema = ( - 23, - n0, - _AVPC, - 0, - ACCEPT_VPC_PEERING_CONNECTION_INPUT, - ACCEPT_VPC_PEERING_CONNECTION_OUTPUT, - (), -) - -PORT_RANGE: StaticSchema = ( - 18, - n0, - _PR, - 0, - (_F, _To), - ((INTEGER, {_aQN: _F, _sN: _fr}), (INTEGER, {_aQN: _To, _sN: _to})), -) - -ANALYSIS_ACL_RULE: StaticSchema = ( - 18, - n0, - _AAR, - 0, - (_Ci, _Eg, _PR, _P, _RA, _RN), - ( - (STRING, {_aQN: _Ci, _sN: _ci}), - (BOOLEAN, {_aQN: _Eg, _sN: _egr}), - (PORT_RANGE, {_aQN: _PR, _sN: _pR}), - (STRING, {_aQN: _P, _sN: _pro}), - (STRING, {_aQN: _RA, _sN: _rA}), - (INTEGER, {_aQN: _RN, _sN: _rN}), - ), -) - -ANALYSIS_COMPONENT: StaticSchema = ( - 18, - n0, - _ACn, - 0, - (_Id, _Ar, _N), - ( - (STRING, {_aQN: _Id, _sN: _id}), - (STRING, {_aQN: _Ar, _sN: _ar}), - (STRING, {_aQN: _N, _sN: _nam}), - ), -) - -ANALYSIS_COMPONENT_LIST: StaticSchema = ( - 16, - n0, - _ACL, - 0, - (_me,), - ((ANALYSIS_COMPONENT, {_sN: _i}),), -) - -RESOURCE_ARN: StaticSchema = (3, n0, _RAe, 0) - -STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_me,), ((STRING, {_sN: _i}),)) - -RULE_OPTION: StaticSchema = ( - 18, - n0, - _RO, - 0, - (_Key, _Se), - ((STRING, {_aQN: _Key, _sN: _key}), (STRING_LIST, {_aQN: _SS, _sN: _sS})), -) - -RULE_OPTION_LIST: StaticSchema = (16, n0, _ROL, 0, (_me,), ((RULE_OPTION, {_sN: _i}),)) - -RULE_GROUP_RULE_OPTIONS_PAIR: StaticSchema = ( - 18, - n0, - _RGROP, - 0, - (_RGA, _ROu), - ( - (RESOURCE_ARN, {_aQN: _RGA, _sN: _rGA}), - (RULE_OPTION_LIST, {_aQN: _ROS, _sN: _rOS}), - ), -) - -RULE_GROUP_RULE_OPTIONS_PAIR_LIST: StaticSchema = ( - 16, - n0, - _RGROPL, - 0, - (_me,), - ((RULE_GROUP_RULE_OPTIONS_PAIR, {_sN: _i}),), -) - -RULE_GROUP_TYPE_PAIR: StaticSchema = ( - 18, - n0, - _RGTP, - 0, - (_RGA, _RGT), - ((RESOURCE_ARN, {_aQN: _RGA, _sN: _rGA}), (STRING, {_aQN: _RGT, _sN: _rGT})), -) - -RULE_GROUP_TYPE_PAIR_LIST: StaticSchema = ( - 16, - n0, - _RGTPL, - 0, - (_me,), - ((RULE_GROUP_TYPE_PAIR, {_sN: _i}),), -) - -ADDITIONAL_DETAIL: StaticSchema = ( - 18, - n0, - _AD, - 0, - (_ADT, _Co, _VES, _ROu, _RGTPu, _RGROPu, _SN, _LB), - ( - (STRING, {_aQN: _ADT, _sN: _aDT}), - (ANALYSIS_COMPONENT, {_aQN: _Co, _sN: _com}), - (ANALYSIS_COMPONENT, {_aQN: _VES, _sN: _vES}), - (RULE_OPTION_LIST, {_aQN: _ROS, _sN: _rOS}), - (RULE_GROUP_TYPE_PAIR_LIST, {_aQN: _RGTPS, _sN: _rGTPS}), - (RULE_GROUP_RULE_OPTIONS_PAIR_LIST, {_aQN: _RGROPS, _sN: _rGROPS}), - (STRING, {_aQN: _SN, _sN: _sNe}), - (ANALYSIS_COMPONENT_LIST, {_aQN: _LBS, _sN: _lBS}), - ), -) - -ADDITIONAL_DETAIL_LIST: StaticSchema = ( - 16, - n0, - _ADL, - 0, - (_me,), - ((ADDITIONAL_DETAIL, {_sN: _i}),), -) - -IP_ADDRESS: StaticSchema = (3, n0, _IA, 0) - -IP_ADDRESS_LIST: StaticSchema = (16, n0, _IAL, 0, (_me,), ((IP_ADDRESS, {_sN: _i}),)) - -PORT: StaticSchema = (7, n0, _Po, 0) - -ANALYSIS_LOAD_BALANCER_LISTENER: StaticSchema = ( - 18, - n0, - _ALBL, - 0, - (_LBP, _IP), - ((PORT, {_aQN: _LBP, _sN: _lBP}), (PORT, {_aQN: _IP, _sN: _iP})), -) - -COMPONENT_ACCOUNT: StaticSchema = (3, n0, _CA, 0) - -COMPONENT_REGION: StaticSchema = (3, n0, _CR, 0) - -PORT_RANGE_LIST: StaticSchema = (16, n0, _PRL, 0, (_me,), ((PORT_RANGE, {_sN: _i}),)) - -FIREWALL_STATEFUL_RULE: StaticSchema = ( - 18, - n0, - _FSR, - 0, - (_RGA, _So, _D, _SP, _DP, _P, _RA, _Di), - ( - (RESOURCE_ARN, {_aQN: _RGA, _sN: _rGA}), - (VALUE_STRING_LIST, {_aQN: _SSo, _sN: _sSo}), - (VALUE_STRING_LIST, {_aQN: _DSe, _sN: _dSe}), - (PORT_RANGE_LIST, {_aQN: _SPS, _sN: _sPS}), - (PORT_RANGE_LIST, {_aQN: _DPS, _sN: _dPS}), - (STRING, {_aQN: _P, _sN: _pro}), - (STRING, {_aQN: _RA, _sN: _rA}), - (STRING, {_aQN: _Di, _sN: _dir}), - ), -) - -PRIORITY: StaticSchema = (7, n0, _Pr, 0) - -PROTOCOL_INT: StaticSchema = (7, n0, _PIr, 0) - -PROTOCOL_INT_LIST: StaticSchema = ( - 16, - n0, - _PIL, - 0, - (_me,), - ((PROTOCOL_INT, {_sN: _i}),), -) - -FIREWALL_STATELESS_RULE: StaticSchema = ( - 18, - n0, - _FSRi, - 0, - (_RGA, _So, _D, _SP, _DP, _Pro, _RA, _Pr), - ( - (RESOURCE_ARN, {_aQN: _RGA, _sN: _rGA}), - (VALUE_STRING_LIST, {_aQN: _SSo, _sN: _sSo}), - (VALUE_STRING_LIST, {_aQN: _DSe, _sN: _dSe}), - (PORT_RANGE_LIST, {_aQN: _SPS, _sN: _sPS}), - (PORT_RANGE_LIST, {_aQN: _DPS, _sN: _dPS}), - (PROTOCOL_INT_LIST, {_aQN: _PS, _sN: _pS}), - (STRING, {_aQN: _RA, _sN: _rA}), - (PRIORITY, {_aQN: _Pr, _sN: _pri}), - ), -) - -ANALYSIS_LOAD_BALANCER_TARGET: StaticSchema = ( - 18, - n0, - _ALBT, - 0, - (_Ad, _AZ, _AZI, _In, _Po), - ( - (IP_ADDRESS, {_aQN: _Ad, _sN: _ad}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (ANALYSIS_COMPONENT, {_aQN: _In, _sN: _ins}), - (PORT, {_aQN: _Po, _sN: _po}), - ), -) - -ANALYSIS_ROUTE_TABLE_ROUTE: StaticSchema = ( - 18, - n0, - _ARTR, - 0, - (_DC, _DPLI, _EOIGI, _GI, _II, _NGI, _NII, _Or, _TGI, _VPCI, _St, _CGI, _CNA, _LGI), - ( - (STRING, {_aQN: _DC, _sN: _dC}), - (STRING, {_aQN: _DPLI, _sN: _dPLI}), - (STRING, {_aQN: _EOIGI, _sN: _eOIGI}), - (STRING, {_aQN: _GI, _sN: _gI}), - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _NGI, _sN: _nGI}), - (STRING, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _Or, _sN: _or}), - (STRING, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _VPCI, _sN: _vPCI}), - (STRING, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _CGI, _sN: _cGI}), - (RESOURCE_ARN, {_aQN: _CNA, _sN: _cNA}), - (STRING, {_aQN: _LGI, _sN: _lGI}), - ), -) - -ANALYSIS_SECURITY_GROUP_RULE: StaticSchema = ( - 18, - n0, - _ASGR, - 0, - (_Ci, _Di, _SGI, _PR, _PLI, _P), - ( - (STRING, {_aQN: _Ci, _sN: _ci}), - (STRING, {_aQN: _Di, _sN: _dir}), - (STRING, {_aQN: _SGI, _sN: _sGI}), - (PORT_RANGE, {_aQN: _PR, _sN: _pR}), - (STRING, {_aQN: _PLI, _sN: _pLI}), - (STRING, {_aQN: _P, _sN: _pro}), - ), -) - -ANALYSIS_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticSchema = ( - 18, - n0, - _ATGPTE, - 0, - (_RN, _P, _SC, _DC, _SPR, _DPR, _TRTI), - ( - (INTEGER, {_aQN: _RN, _sN: _rN}), - (STRING, {_aQN: _P, _sN: _pro}), - (STRING, {_aQN: _SC, _sN: _sC}), - (STRING, {_aQN: _DC, _sN: _dC}), - (PORT_RANGE, {_aQN: _SPR, _sN: _sPR}), - (PORT_RANGE, {_aQN: _DPR, _sN: _dPR}), - (STRING, {_aQN: _TRTI, _sN: _tRTI}), - ), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ROUTE: StaticSchema = ( - 18, - n0, - _TGRTR, - 0, - (_DC, _St, _ROo, _PLI, _AIt, _RIe, _RT), - ( - (STRING, {_aQN: _DC, _sN: _dC}), - (STRING, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _ROo, _sN: _rO}), - (STRING, {_aQN: _PLI, _sN: _pLI}), - (STRING, {_aQN: _AIt, _sN: _aIt}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (STRING, {_aQN: _RT, _sN: _rT}), - ), -) - -EXPLANATION: StaticSchema = ( - 18, - n0, - _Ex, - 0, - ( - _Ac, - _AR, - _Ad, - _Add, - _ATt, - _AZv, - _AZIv, - _Cid, - _Co, - _CG, - _De, - _DV, - _Di, - _EC, - _IRT, - _IG, - _LBA, - _CLBL, - _LBLP, - _LBT, - _LBTG, - _LBTGo, - _LBTP, - _ELBL, - _MC, - _NG, - _NI, - _PF, - _VPC, - _Po, - _PRo, - _PL, - _Pro, - _RTR, - _RTo, - _SG, - _SGR, - _SGe, - _SV, - _St, - _Sub, - _SRT, - _Vp, - _VE, - _VC, - _VG, - _TGr, - _TGRT, - _TGRTR, - _TGPT, - _TGPTE, - _TGA, - _CA, - _CR, - _FSRi, - _FSR, - ), - ( - (ANALYSIS_COMPONENT, {_aQN: _Ac, _sN: _acl}), - (ANALYSIS_ACL_RULE, {_aQN: _AR, _sN: _aR}), - (IP_ADDRESS, {_aQN: _Ad, _sN: _ad}), - (IP_ADDRESS_LIST, {_aQN: _AS, _sN: _aS}), - (ANALYSIS_COMPONENT, {_aQN: _ATt, _sN: _aTt}), - (VALUE_STRING_LIST, {_aQN: _AZS, _sN: _aZS}), - (VALUE_STRING_LIST, {_aQN: _AZIS, _sN: _aZIS}), - (VALUE_STRING_LIST, {_aQN: _CS, _sN: _cS}), - (ANALYSIS_COMPONENT, {_aQN: _Co, _sN: _com}), - (ANALYSIS_COMPONENT, {_aQN: _CG, _sN: _cG}), - (ANALYSIS_COMPONENT, {_aQN: _De, _sN: _des}), - (ANALYSIS_COMPONENT, {_aQN: _DV, _sN: _dV}), - (STRING, {_aQN: _Di, _sN: _dir}), - (STRING, {_aQN: _EC, _sN: _eC}), - (ANALYSIS_COMPONENT, {_aQN: _IRT, _sN: _iRT}), - (ANALYSIS_COMPONENT, {_aQN: _IG, _sN: _iG}), - (RESOURCE_ARN, {_aQN: _LBA, _sN: _lBA}), - (ANALYSIS_LOAD_BALANCER_LISTENER, {_aQN: _CLBL, _sN: _cLBL}), - (PORT, {_aQN: _LBLP, _sN: _lBLP}), - (ANALYSIS_LOAD_BALANCER_TARGET, {_aQN: _LBT, _sN: _lBT}), - (ANALYSIS_COMPONENT, {_aQN: _LBTG, _sN: _lBTG}), - (ANALYSIS_COMPONENT_LIST, {_aQN: _LBTGS, _sN: _lBTGS}), - (PORT, {_aQN: _LBTP, _sN: _lBTP}), - (ANALYSIS_COMPONENT, {_aQN: _ELBL, _sN: _eLBL}), - (STRING, {_aQN: _MC, _sN: _mC}), - (ANALYSIS_COMPONENT, {_aQN: _NG, _sN: _nG}), - (ANALYSIS_COMPONENT, {_aQN: _NI, _sN: _nI}), - (STRING, {_aQN: _PF, _sN: _pF}), - (ANALYSIS_COMPONENT, {_aQN: _VPC, _sN: _vPC}), - (PORT, {_aQN: _Po, _sN: _po}), - (PORT_RANGE_LIST, {_aQN: _PRS, _sN: _pRS}), - (ANALYSIS_COMPONENT, {_aQN: _PL, _sN: _pL}), - (STRING_LIST, {_aQN: _PS, _sN: _pS}), - (ANALYSIS_ROUTE_TABLE_ROUTE, {_aQN: _RTR, _sN: _rTR}), - (ANALYSIS_COMPONENT, {_aQN: _RTo, _sN: _rTo}), - (ANALYSIS_COMPONENT, {_aQN: _SG, _sN: _sG}), - (ANALYSIS_SECURITY_GROUP_RULE, {_aQN: _SGR, _sN: _sGR}), - (ANALYSIS_COMPONENT_LIST, {_aQN: _SGS, _sN: _sGS}), - (ANALYSIS_COMPONENT, {_aQN: _SV, _sN: _sVo}), - (STRING, {_aQN: _St, _sN: _st}), - (ANALYSIS_COMPONENT, {_aQN: _Sub, _sN: _su}), - (ANALYSIS_COMPONENT, {_aQN: _SRT, _sN: _sRT}), - (ANALYSIS_COMPONENT, {_aQN: _Vp, _sN: _vp}), - (ANALYSIS_COMPONENT, {_aQN: _VE, _sN: _vE}), - (ANALYSIS_COMPONENT, {_aQN: _VC, _sN: _vC}), - (ANALYSIS_COMPONENT, {_aQN: _VG, _sN: _vG}), - (ANALYSIS_COMPONENT, {_aQN: _TGr, _sN: _tG}), - (ANALYSIS_COMPONENT, {_aQN: _TGRT, _sN: _tGRT}), - (TRANSIT_GATEWAY_ROUTE_TABLE_ROUTE, {_aQN: _TGRTR, _sN: _tGRTR}), - (ANALYSIS_COMPONENT, {_aQN: _TGPT, _sN: _tGPT}), - (ANALYSIS_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_aQN: _TGPTE, _sN: _tGPTE}), - (ANALYSIS_COMPONENT, {_aQN: _TGA, _sN: _tGA}), - (COMPONENT_ACCOUNT, {_aQN: _CA, _sN: _cA}), - (COMPONENT_REGION, {_aQN: _CR, _sN: _cR}), - (FIREWALL_STATELESS_RULE, {_aQN: _FSRi, _sN: _fSR}), - (FIREWALL_STATEFUL_RULE, {_aQN: _FSR, _sN: _fSRi}), - ), -) - -EXPLANATION_LIST: StaticSchema = (16, n0, _EL, 0, (_me,), ((EXPLANATION, {_sN: _i}),)) - -ANALYSIS_PACKET_HEADER: StaticSchema = ( - 18, - n0, - _APH, - 0, - (_DA, _DPRe, _P, _SAo, _SPRo), - ( - (IP_ADDRESS_LIST, {_aQN: _DAS, _sN: _dAS}), - (PORT_RANGE_LIST, {_aQN: _DPRS, _sN: _dPRS}), - (STRING, {_aQN: _P, _sN: _pro}), - (IP_ADDRESS_LIST, {_aQN: _SAS, _sN: _sAS}), - (PORT_RANGE_LIST, {_aQN: _SPRS, _sN: _sPRS}), - ), -) - -PATH_COMPONENT: StaticSchema = ( - 18, - n0, - _PC, - 0, - ( - _SNe, - _AR, - _ATt, - _Co, - _DV, - _OH, - _IH, - _RTR, - _SGR, - _SV, - _Sub, - _Vp, - _ADd, - _TGr, - _TGRTR, - _TGPTE, - _Exp, - _ELBL, - _FSRi, - _FSR, - _SN, - ), - ( - (INTEGER, {_aQN: _SNe, _sN: _sNeq}), - (ANALYSIS_ACL_RULE, {_aQN: _AR, _sN: _aR}), - (ANALYSIS_COMPONENT, {_aQN: _ATt, _sN: _aTt}), - (ANALYSIS_COMPONENT, {_aQN: _Co, _sN: _com}), - (ANALYSIS_COMPONENT, {_aQN: _DV, _sN: _dV}), - (ANALYSIS_PACKET_HEADER, {_aQN: _OH, _sN: _oH}), - (ANALYSIS_PACKET_HEADER, {_aQN: _IH, _sN: _iH}), - (ANALYSIS_ROUTE_TABLE_ROUTE, {_aQN: _RTR, _sN: _rTR}), - (ANALYSIS_SECURITY_GROUP_RULE, {_aQN: _SGR, _sN: _sGR}), - (ANALYSIS_COMPONENT, {_aQN: _SV, _sN: _sVo}), - (ANALYSIS_COMPONENT, {_aQN: _Sub, _sN: _su}), - (ANALYSIS_COMPONENT, {_aQN: _Vp, _sN: _vp}), - (ADDITIONAL_DETAIL_LIST, {_aQN: _ADS, _sN: _aDS}), - (ANALYSIS_COMPONENT, {_aQN: _TGr, _sN: _tG}), - (TRANSIT_GATEWAY_ROUTE_TABLE_ROUTE, {_aQN: _TGRTR, _sN: _tGRTR}), - (ANALYSIS_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_aQN: _TGPTE, _sN: _tGPTE}), - (EXPLANATION_LIST, {_aQN: _ES, _sN: _eS}), - (ANALYSIS_COMPONENT, {_aQN: _ELBL, _sN: _eLBL}), - (FIREWALL_STATELESS_RULE, {_aQN: _FSRi, _sN: _fSR}), - (FIREWALL_STATEFUL_RULE, {_aQN: _FSR, _sN: _fSRi}), - (STRING, {_aQN: _SN, _sN: _sNe}), - ), -) - -PATH_COMPONENT_LIST: StaticSchema = ( - 16, - n0, - _PCL, - 0, - (_me,), - ((PATH_COMPONENT, {_sN: _i}),), -) - -NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID: StaticSchema = (3, n0, _NIASAI, 0) - -NETWORK_INSIGHTS_ACCESS_SCOPE_ID: StaticSchema = (3, n0, _NIASI, 0) - -ACCESS_SCOPE_ANALYSIS_FINDING: StaticSchema = ( - 18, - n0, - _ASAF, - 0, - (_NIASAI, _NIASI, _FI, _FC), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, {_aQN: _NIASAI, _sN: _nIASAI}), - (NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}), - (STRING, {_aQN: _FI, _sN: _fI}), - (PATH_COMPONENT_LIST, {_aQN: _FCS, _sN: _fCS}), - ), -) - -ACCESS_SCOPE_ANALYSIS_FINDING_LIST: StaticSchema = ( - 16, - n0, - _ASAFL, - 0, - (_me,), - ((ACCESS_SCOPE_ANALYSIS_FINDING, {_sN: _i}),), -) - -PROTOCOL: StaticSchema = ( - 14, - n0, - _P, - 0, - (_tc, _ud), - ((-1, {_sV: _tc}), (-1, {_sV: _ud})), -) - -PROTOCOL_LIST: StaticSchema = (16, n0, _PLr, 0, (_me,), ((PROTOCOL, {_sN: _i}),)) - -PACKET_HEADER_STATEMENT: StaticSchema = ( - 18, - n0, - _PHS, - 0, - (_SAo, _DA, _SP, _DP, _SPL, _DPL, _Pro), - ( - (VALUE_STRING_LIST, {_aQN: _SAS, _sN: _sAS}), - (VALUE_STRING_LIST, {_aQN: _DAS, _sN: _dAS}), - (VALUE_STRING_LIST, {_aQN: _SPS, _sN: _sPS}), - (VALUE_STRING_LIST, {_aQN: _DPS, _sN: _dPS}), - (VALUE_STRING_LIST, {_aQN: _SPLS, _sN: _sPLS}), - (VALUE_STRING_LIST, {_aQN: _DPLS, _sN: _dPLS}), - (PROTOCOL_LIST, {_aQN: _PS, _sN: _pS}), - ), -) - -RESOURCE_STATEMENT: StaticSchema = ( - 18, - n0, - _RS, - 0, - (_Res, _RTe), - ( - (VALUE_STRING_LIST, {_aQN: _RSe, _sN: _rS}), - (VALUE_STRING_LIST, {_aQN: _RTS, _sN: _rTS}), - ), -) - -PATH_STATEMENT: StaticSchema = ( - 18, - n0, - _PSa, - 0, - (_PHS, _RS), - ( - (PACKET_HEADER_STATEMENT, {_aQN: _PHS, _sN: _pHS}), - (RESOURCE_STATEMENT, {_aQN: _RS, _sN: _rSe}), - ), -) - -THROUGH_RESOURCES_STATEMENT: StaticSchema = ( - 18, - n0, - _TRS, - 0, - (_RS,), - ((RESOURCE_STATEMENT, {_aQN: _RS, _sN: _rSe}),), -) - -THROUGH_RESOURCES_STATEMENT_LIST: StaticSchema = ( - 16, - n0, - _TRSL, - 0, - (_me,), - ((THROUGH_RESOURCES_STATEMENT, {_sN: _i}),), -) - -ACCESS_SCOPE_PATH: StaticSchema = ( - 18, - n0, - _ASP, - 0, - (_Sou, _De, _TR), - ( - (PATH_STATEMENT, {_aQN: _Sou, _sN: _so}), - (PATH_STATEMENT, {_aQN: _De, _sN: _des}), - (THROUGH_RESOURCES_STATEMENT_LIST, {_aQN: _TRSh, _sN: _tRS}), - ), -) - -ACCESS_SCOPE_PATH_LIST: StaticSchema = ( - 16, - n0, - _ASPL, - 0, - (_me,), - ((ACCESS_SCOPE_PATH, {_sN: _i}),), -) - -PACKET_HEADER_STATEMENT_REQUEST: StaticSchema = ( - 18, - n0, - _PHSR, - 0, - (_SAo, _DA, _SP, _DP, _SPL, _DPL, _Pro), - ( - (VALUE_STRING_LIST, {_sN: _SAou}), - (VALUE_STRING_LIST, {_sN: _DAe}), - (VALUE_STRING_LIST, {_sN: _SPo}), - (VALUE_STRING_LIST, {_sN: _DPe}), - (VALUE_STRING_LIST, {_sN: _SPLo}), - (VALUE_STRING_LIST, {_sN: _DPLe}), - (PROTOCOL_LIST, {_sN: _P}), - ), -) - -RESOURCE_STATEMENT_REQUEST: StaticSchema = ( - 18, - n0, - _RSR, - 0, - (_Res, _RTe), - ((VALUE_STRING_LIST, {_sN: _Reso}), (VALUE_STRING_LIST, {_sN: _RT})), -) - -PATH_STATEMENT_REQUEST: StaticSchema = ( - 18, - n0, - _PSR, - 0, - (_PHS, _RS), - ((PACKET_HEADER_STATEMENT_REQUEST, 0), (RESOURCE_STATEMENT_REQUEST, 0)), -) - -THROUGH_RESOURCES_STATEMENT_REQUEST: StaticSchema = ( - 18, - n0, - _TRSR, - 0, - (_RS,), - ((RESOURCE_STATEMENT_REQUEST, 0),), -) - -THROUGH_RESOURCES_STATEMENT_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _TRSRL, - 0, - (_me,), - ((THROUGH_RESOURCES_STATEMENT_REQUEST, {_sN: _i}),), -) - -ACCESS_SCOPE_PATH_REQUEST: StaticSchema = ( - 18, - n0, - _ASPR, - 0, - (_Sou, _De, _TR), - ( - (PATH_STATEMENT_REQUEST, 0), - (PATH_STATEMENT_REQUEST, 0), - (THROUGH_RESOURCES_STATEMENT_REQUEST_LIST, {_sN: _TRh}), - ), -) - -ACCESS_SCOPE_PATH_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _ASPLR, - 0, - (_me,), - ((ACCESS_SCOPE_PATH_REQUEST, {_sN: _i}),), -) - -ACCOUNT_ATTRIBUTE_VALUE: StaticSchema = ( - 18, - n0, - _AAV, - 0, - (_AV,), - ((STRING, {_aQN: _AV, _sN: _aV}),), -) - -ACCOUNT_ATTRIBUTE_VALUE_LIST: StaticSchema = ( - 16, - n0, - _AAVL, - 0, - (_me,), - ((ACCOUNT_ATTRIBUTE_VALUE, {_sN: _i}),), -) - -ACCOUNT_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _AA, - 0, - (_ANt, _AVt), - ( - (STRING, {_aQN: _ANt, _sN: _aN}), - (ACCOUNT_ATTRIBUTE_VALUE_LIST, {_aQN: _AVS, _sN: _aVS}), - ), -) - -ACCOUNT_ATTRIBUTE_LIST: StaticSchema = ( - 16, - n0, - _AAL, - 0, - (_me,), - ((ACCOUNT_ATTRIBUTE, {_sN: _i}),), -) - -ACCOUNT_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _AAN, - 0, - (_sp, _dv), - ((-1, {_sV: _sp_}), (-1, {_sV: _dv_})), -) - -ACCOUNT_ATTRIBUTE_NAME_STRING_LIST: StaticSchema = ( - 16, - n0, - _AANSL, - 0, - (_me,), - ((ACCOUNT_ATTRIBUTE_NAME, {_sN: _aN}),), -) - -ACCOUNT_ID: StaticSchema = (3, n0, _AID, 0) - -VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE: StaticSchema = ( - 14, - n0, - _VECES, - 0, - (_en, _ena, _disab, _d), - ((-1, {_sV: _en}), (-1, {_sV: _ena}), (-1, {_sV: _disab}), (-1, {_sV: _d})), -) - -ACCOUNT_VPC_ENCRYPTION_CONTROL_EXCLUSIONS: StaticSchema = ( - 18, - n0, - _AVECE, - 0, - (_IG, _EOIG, _NG, _VPG, _VP, _La, _VL, _EFS), - ( - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _IG, _sN: _iG}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _EOIG, _sN: _eOIG}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _NG, _sN: _nG}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _VPG, _sN: _vPG}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _VP, _sN: _vP}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _La, _sN: _la}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _VL, _sN: _vL}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _EFS, _sN: _eFS}), - ), -) - -MANAGED_BY: StaticSchema = ( - 14, - n0, - _MB, - 0, - (_acc, _dp), - ((-1, {_sV: _acc}), (-1, {_sV: _dp_})), -) - -ACCOUNT_VPC_ENCRYPTION_CONTROL_MODE: StaticSchema = ( - 14, - n0, - _AVECM, - 0, - (_unm, _am, _ae), - ((-1, {_sV: _unm}), (-1, {_sV: _am_}), (-1, {_sV: _ae_})), -) - -ACCOUNT_VPC_ENCRYPTION_CONTROL_STATE: StaticSchema = ( - 14, - n0, - _AVECS, - 0, - (_ds, _tip, _tps, _ts, _tf), - ( - (-1, {_sV: _ds_}), - (-1, {_sV: _tip_}), - (-1, {_sV: _tps_}), - (-1, {_sV: _ts_}), - (-1, {_sV: _tf_}), - ), -) - -ACCOUNT_VPC_ENCRYPTION_CONTROL: StaticSchema = ( - 18, - n0, - _AVECc, - 0, - (_St, _Mo, _Exc, _MB, _LUT), - ( - (ACCOUNT_VPC_ENCRYPTION_CONTROL_STATE, {_aQN: _St, _sN: _st}), - (ACCOUNT_VPC_ENCRYPTION_CONTROL_MODE, {_aQN: _Mo, _sN: _mod}), - (ACCOUNT_VPC_ENCRYPTION_CONTROL_EXCLUSIONS, {_aQN: _Exc, _sN: _exc}), - (MANAGED_BY, {_aQN: _MB, _sN: _mB}), - (MILLISECOND_DATE_TIME, {_aQN: _LUT, _sN: _lUT}), - ), -) - -INSTANCE_HEALTH_STATUS: StaticSchema = ( - 14, - n0, - _IHS, - 0, - (_HS, _US), - ((-1, {_sV: _he}), (-1, {_sV: _unh})), -) - -ACTIVE_INSTANCE: StaticSchema = ( - 18, - n0, - _AIc, - 0, - (_II, _IT, _SIRI, _IHn), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _SIRI, _sN: _sIRI}), - (INSTANCE_HEALTH_STATUS, {_aQN: _IHn, _sN: _iHn}), - ), -) - -ACTIVE_INSTANCE_SET: StaticSchema = ( - 16, - n0, - _AIS, - 0, - (_me,), - ((ACTIVE_INSTANCE, {_sN: _i}),), -) - -VPN_TUNNEL_PROVISIONING_STATUS: StaticSchema = ( - 14, - n0, - _VTPS, - 0, - (_av, _p, _fa), - ((-1, {_sV: _av}), (-1, {_sV: _p}), (-1, {_sV: _fa})), -) - -ACTIVE_VPN_TUNNEL_STATUS: StaticSchema = ( - 18, - n0, - _AVTS, - 0, - (_PEA, _PEAh, _PIA, _PIAh, _PDHG, _PDHGh, _IV, _PSr, _PSRr), - ( - (STRING, {_aQN: _PEA, _sN: _pEA}), - (STRING, {_aQN: _PEAh, _sN: _pEAh}), - (STRING, {_aQN: _PIA, _sN: _pIA}), - (STRING, {_aQN: _PIAh, _sN: _pIAh}), - (INTEGER, {_aQN: _PDHG, _sN: _pDHG}), - (INTEGER, {_aQN: _PDHGh, _sN: _pDHGh}), - (STRING, {_aQN: _IV, _sN: _iV}), - (VPN_TUNNEL_PROVISIONING_STATUS, {_aQN: _PSr, _sN: _pSr}), - (STRING, {_aQN: _PSRr, _sN: _pSR}), - ), -) - -ACTIVITY_STATUS: StaticSchema = ( - 14, - n0, - _ASc, - 0, - (_ERROR, _PF_, _PT, _FULFILLED), - ((-1, {_sV: _er}), (-1, {_sV: _pf}), (-1, {_sV: _pt}), (-1, {_sV: _fu})), -) - -PRINCIPAL_TYPE: StaticSchema = ( - 14, - n0, - _PTr, - 0, - (_Al, _Ser, _OU, _Acc, _Us, _Ro), - ( - (-1, {_sV: _Al}), - (-1, {_sV: _Ser}), - (-1, {_sV: _OU}), - (-1, {_sV: _Acc}), - (-1, {_sV: _Us}), - (-1, {_sV: _Ro}), - ), -) - -ADDED_PRINCIPAL: StaticSchema = ( - 18, - n0, - _AP, - 0, - (_PTr, _Pri, _SPI, _SIe), - ( - (PRINCIPAL_TYPE, {_aQN: _PTr, _sN: _pT}), - (STRING, {_aQN: _Pri, _sN: _prin}), - (STRING, {_aQN: _SPI, _sN: _sPI}), - (STRING, {_aQN: _SIe, _sN: _sIe}), - ), -) - -ADDED_PRINCIPAL_SET: StaticSchema = ( - 16, - n0, - _APS, - 0, - (_me,), - ((ADDED_PRINCIPAL, {_sN: _i}),), -) - -ADD_IPAM_OPERATING_REGION: StaticSchema = (18, n0, _AIOR, 0, (_RNe,), ((STRING, 0),)) - -ADD_IPAM_OPERATING_REGION_SET: StaticSchema = ( - 16, - n0, - _AIORS, - 0, - (_me,), - ((ADD_IPAM_OPERATING_REGION, 0),), -) - -ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION: StaticSchema = ( - 18, - n0, - _AIOUE, - 0, - (_OEP,), - ((STRING, 0),), -) - -ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET: StaticSchema = ( - 16, - n0, - _AIOUES, - 0, - (_me,), - ((ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION, 0),), -) - -ADDITIONAL_FLEXIBLE_NETWORK_INTERFACES: StaticSchema = (7, n0, _AFNI, 0) - -ADD_PREFIX_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _APLE, - 0, - (_Ci, _Des), - ((STRING, 1), (STRING, 0)), -) - -ADD_PREFIX_LIST_ENTRIES: StaticSchema = ( - 16, - n0, - _APLEd, - 0, - (_me,), - ((ADD_PREFIX_LIST_ENTRY, 0),), -) - -DOMAIN_TYPE: StaticSchema = ( - 14, - n0, - _DTo, - 0, - (_vp, _stan), - ((-1, {_sV: _vp}), (-1, {_sV: _stan})), -) - -SERVICE_MANAGED: StaticSchema = ( - 14, - n0, - _SM, - 0, - (_al, _nl, _rn, _rd), - ((-1, {_sV: _al}), (-1, {_sV: _nl}), (-1, {_sV: _rn}), (-1, {_sV: _rd})), -) - -ADDRESS: StaticSchema = ( - 18, - n0, - _Ad, - 0, - ( - _AI, - _AIs, - _Do, - _NII, - _NIOI, - _PIAr, - _Tag, - _PIP, - _NBG, - _COI, - _COIP, - _CI, - _SIu, - _SM, - _II, - _PI, - ), - ( - (STRING, {_aQN: _AI, _sN: _aI}), - (STRING, {_aQN: _AIs, _sN: _aIs}), - (DOMAIN_TYPE, {_aQN: _Do, _sN: _dom}), - (STRING, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _NIOI, _sN: _nIOI}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _PIP, _sN: _pIP}), - (STRING, {_aQN: _NBG, _sN: _nBG}), - (STRING, {_aQN: _COI, _sN: _cOI}), - (STRING, {_aQN: _COIP, _sN: _cOIP}), - (STRING, {_aQN: _CI, _sN: _cI}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (SERVICE_MANAGED, {_aQN: _SM, _sN: _sM}), - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _PI, _sN: _pI}), - ), -) - -ALLOCATION_ID: StaticSchema = (3, n0, _AI, 0) - -PTR_UPDATE_STATUS: StaticSchema = ( - 18, - n0, - _PUS, - 0, - (_Va, _Sta, _Rea), - ( - (STRING, {_aQN: _Va, _sN: _va}), - (STRING, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _Rea, _sN: _rea}), - ), -) - -PUBLIC_IP_ADDRESS: StaticSchema = (3, n0, _PIAu, 0) - -ADDRESS_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _AAd, - 0, - (_PI, _AI, _PRt, _PRU), - ( - (PUBLIC_IP_ADDRESS, {_aQN: _PI, _sN: _pI}), - (ALLOCATION_ID, {_aQN: _AI, _sN: _aI}), - (STRING, {_aQN: _PRt, _sN: _pRt}), - (PTR_UPDATE_STATUS, {_aQN: _PRU, _sN: _pRU}), - ), -) - -ADDRESS_ATTRIBUTE_NAME: StaticSchema = (14, n0, _AANd, 0, (_dn,), ((-1, {_sV: _dn_}),)) - -ADDRESS_FAMILY: StaticSchema = ( - 14, - n0, - _AF, - 0, - (_ipv, _ipv_), - ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_})), -) - -ADDRESS_LIST: StaticSchema = (16, n0, _AL, 0, (_me,), ((ADDRESS, {_sN: _i}),)) - -ADDRESS_MAX_RESULTS: StaticSchema = (7, n0, _AMR, 0) - -ADDRESS_SET: StaticSchema = (16, n0, _AS, 0, (_me,), ((ADDRESS_ATTRIBUTE, {_sN: _i}),)) - -ADDRESS_TRANSFER_LIST: StaticSchema = ( - 16, - n0, - _ATL, - 0, - (_me,), - ((ADDRESS_TRANSFER, {_sN: _i}),), -) - -ADVERTISE_BYOIP_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _ABCI, - {_sSI: _cABCR, _sm: None}, - (_Ci, _Asn, _DR, _NBG), - ((STRING, 1), (STRING, 0), (BOOLEAN, 0), (STRING, 0)), -) - -ASN_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _AAS, - 0, - (_dis, _fd, _fa_, _pd, _pa__, _ass), - ( - (-1, {_sV: _dis}), - (-1, {_sV: _fd_}), - (-1, {_sV: _fa__}), - (-1, {_sV: _pd_}), - (-1, {_sV: _pa___}), - (-1, {_sV: _ass}), - ), -) - -ASN_ASSOCIATION: StaticSchema = ( - 18, - n0, - _AAs, - 0, - (_Asn, _Ci, _SMt, _St), - ( - (STRING, {_aQN: _Asn, _sN: _asn}), - (STRING, {_aQN: _Ci, _sN: _ci}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (ASN_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -ASN_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _AASs, - 0, - (_me,), - ((ASN_ASSOCIATION, {_sN: _i}),), -) - -IPAM_POOL_ID: StaticSchema = (3, n0, _IPI, 0) - -BYOIP_CIDR_STATE: StaticSchema = ( - 14, - n0, - _BCS, - 0, - (_adv, _dep, _fd__, _fp, _pa____, _pd__, _pp, _pw, _prov, _pnpa), - ( - (-1, {_sV: _adv}), - (-1, {_sV: _dep}), - (-1, {_sV: _fd___}), - (-1, {_sV: _fp_}), - (-1, {_sV: _pa_____}), - (-1, {_sV: _pd___}), - (-1, {_sV: _pp_}), - (-1, {_sV: _pw_}), - (-1, {_sV: _prov}), - (-1, {_sV: _pnpa_}), - ), -) - -BYOIP_CIDR: StaticSchema = ( - 18, - n0, - _BC, - 0, - (_Ci, _Des, _AAsn, _SMt, _St, _NBG, _ATdv, _PIo, _IPI), - ( - (STRING, {_aQN: _Ci, _sN: _ci}), - (STRING, {_aQN: _Des, _sN: _desc}), - (ASN_ASSOCIATION_SET, {_aQN: _AASs, _sN: _aAS}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (BYOIP_CIDR_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _NBG, _sN: _nBG}), - (STRING, {_aQN: _ATdv, _sN: _aTd}), - (STRING, {_aQN: _PIo, _sN: _pIo}), - (IPAM_POOL_ID, {_aQN: _IPI, _sN: _iPI}), - ), -) - -ADVERTISE_BYOIP_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _ABCO, - {_sSI: _cABCRo, _smit: None}, - (_BC,), - ((BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), -) - -ADVERTISE_BYOIP_CIDR: StaticOperationSchema = ( - 23, - n0, - _ABC, - 0, - ADVERTISE_BYOIP_CIDR_INPUT, - ADVERTISE_BYOIP_CIDR_OUTPUT, - (), -) - -AFFINITY: StaticSchema = ( - 14, - n0, - _Af, - 0, - (_def, _ho), - ((-1, {_sV: _def}), (-1, {_sV: _ho})), -) - -AGGREGATION_STATUS_ENUM: StaticSchema = ( - 14, - n0, - _ASE, - 0, - (_INCLUDED, _EXCLUDED), - ((-1, {_sV: _inc}), (-1, {_sV: _excl})), -) - -IPV4_POOL_EC2_ID: StaticSchema = (3, n0, _IPEI, 0) - -ALLOCATE_ADDRESS_INPUT: StaticSchema = ( - 18, - n0, - _AAI, - {_sSI: _cAAR, _sm: None}, - (_Do, _Ad, _PIP, _NBG, _COIP, _TSa, _IPI, _DR), - ( - (DOMAIN_TYPE, 0), - (PUBLIC_IP_ADDRESS, 0), - (IPV4_POOL_EC2_ID, 0), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (IPAM_POOL_ID, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -ALLOCATE_ADDRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _AAO, - {_sSI: _cAARo, _smit: None}, - (_AI, _PIP, _NBG, _Do, _COI, _COIP, _CI, _PI), - ( - (STRING, {_aQN: _AI, _sN: _aI}), - (STRING, {_aQN: _PIP, _sN: _pIP}), - (STRING, {_aQN: _NBG, _sN: _nBG}), - (DOMAIN_TYPE, {_aQN: _Do, _sN: _dom}), - (STRING, {_aQN: _COI, _sN: _cOI}), - (STRING, {_aQN: _COIP, _sN: _cOIP}), - (STRING, {_aQN: _CI, _sN: _cI}), - (STRING, {_aQN: _PI, _sN: _pI}), - ), -) - -ALLOCATE_ADDRESS: StaticOperationSchema = ( - 23, - n0, - _AAl, - 0, - ALLOCATE_ADDRESS_INPUT, - ALLOCATE_ADDRESS_OUTPUT, - (), -) - -ASSET_ID: StaticSchema = (3, n0, _AIss, 0) - -ASSET_ID_LIST: StaticSchema = (16, n0, _AIL, 0, (_me,), ((ASSET_ID, 0),)) - -AUTO_PLACEMENT: StaticSchema = ( - 14, - n0, - _APu, - 0, - (_on, _of), - ((-1, {_sV: _on}), (-1, {_sV: _of})), -) - -AVAILABILITY_ZONE_NAME: StaticSchema = (3, n0, _AZN, 0) - -AVAILABILITY_ZONE_ID: StaticSchema = (3, n0, _AZI, 0) - -AMD_SEV_SNP: StaticSchema = ( - 14, - n0, - _ASS, - 0, - (_ena, _d), - ((-1, {_sV: _ena}), (-1, {_sV: _d})), -) - -HOST_CPU_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _HCOR, - 0, - (_ASS,), - ((AMD_SEV_SNP, 0),), -) - -HOST_MAINTENANCE: StaticSchema = ( - 14, - n0, - _HM, - 0, - (_on, _of), - ((-1, {_sV: _on}), (-1, {_sV: _of})), -) - -HOST_RECOVERY: StaticSchema = ( - 14, - n0, - _HR, - 0, - (_on, _of), - ((-1, {_sV: _on}), (-1, {_sV: _of})), -) - -ALLOCATE_HOSTS_INPUT: StaticSchema = ( - 18, - n0, - _AHI, - {_sSI: _cAHR, _sm: None}, - (_IF, _TSa, _HR, _OA, _HM, _AIsse, _AZI, _CO, _APu, _CTl, _IT, _Q, _AZ), - ( - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (HOST_RECOVERY, 0), - (STRING, 0), - (HOST_MAINTENANCE, 0), - (ASSET_ID_LIST, {_sN: _AIss}), - (AVAILABILITY_ZONE_ID, 0), - (HOST_CPU_OPTIONS_REQUEST, 0), - (AUTO_PLACEMENT, {_aQN: _APu, _sN: _aP}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - (STRING, {_aQN: _IT, _sN: _iT}), - (INTEGER, {_aQN: _Q, _sN: _q}), - (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), - ), -) - -RESPONSE_HOST_ID_LIST: StaticSchema = (16, n0, _RHIL, 0, (_me,), ((STRING, {_sN: _i}),)) - -ALLOCATE_HOSTS_OUTPUT: StaticSchema = ( - 18, - n0, - _AHO, - {_sSI: _cAHRo, _smit: None}, - (_HI,), - ((RESPONSE_HOST_ID_LIST, {_aQN: _HIS, _sN: _hIS}),), -) - -ALLOCATE_HOSTS: StaticOperationSchema = ( - 23, - n0, - _AH, - 0, - ALLOCATE_HOSTS_INPUT, - ALLOCATE_HOSTS_OUTPUT, - (), -) - -IPAM_POOL_ALLOCATION_ALLOWED_CIDRS: StaticSchema = ( - 16, - n0, - _IPAAC, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -IPAM_POOL_ALLOCATION_DISALLOWED_CIDRS: StaticSchema = ( - 16, - n0, - _IPADC, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -ALLOCATE_IPAM_POOL_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _AIPCI, - {_sSI: _cAIPCR, _sm: None}, - (_DR, _IPI, _Ci, _NL, _CTl, _Des, _PNC, _ACl, _DCi, _TSa), - ( - (BOOLEAN, 0), - (IPAM_POOL_ID, 1), - (STRING, 0), - (INTEGER, 0), - (STRING, 2), - (STRING, 0), - (BOOLEAN, 0), - (IPAM_POOL_ALLOCATION_ALLOWED_CIDRS, {_sN: _ACll}), - (IPAM_POOL_ALLOCATION_DISALLOWED_CIDRS, {_sN: _DCis}), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -IPAM_POOL_ALLOCATION_ID: StaticSchema = (3, n0, _IPAI, 0) - -IPAM_POOL_ALLOCATION_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _IPART, - 0, - (_ip_, _vp, _epip, _cu, _su, _eip, _ail), - ( - (-1, {_sV: _ip__}), - (-1, {_sV: _vp}), - (-1, {_sV: _epip_}), - (-1, {_sV: _cu}), - (-1, {_sV: _su}), - (-1, {_sV: _eip}), - (-1, {_sV: _ail_}), - ), -) - -IPAM_POOL_ALLOCATION: StaticSchema = ( - 18, - n0, - _IPA, - 0, - (_Ci, _IPAI, _Des, _RIe, _RT, _RR, _ROe, _Tag), - ( - (STRING, {_aQN: _Ci, _sN: _ci}), - (IPAM_POOL_ALLOCATION_ID, {_aQN: _IPAI, _sN: _iPAI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (IPAM_POOL_ALLOCATION_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _RR, _sN: _rR}), - (STRING, {_aQN: _ROe, _sN: _rOe}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -ALLOCATE_IPAM_POOL_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _AIPCO, - {_sSI: _cAIPCRo, _smit: None}, - (_IPA,), - ((IPAM_POOL_ALLOCATION, {_aQN: _IPA, _sN: _iPA}),), -) - -ALLOCATE_IPAM_POOL_CIDR: StaticOperationSchema = ( - 23, - n0, - _AIPC, - 0, - ALLOCATE_IPAM_POOL_CIDR_INPUT, - ALLOCATE_IPAM_POOL_CIDR_OUTPUT, - (), -) - -ALLOCATION_ID_LIST: StaticSchema = ( - 16, - n0, - _AILl, - 0, - (_me,), - ((ALLOCATION_ID, {_sN: _AI}),), -) - -ALLOCATION_IDS: StaticSchema = (16, n0, _AIl, 0, (_me,), ((ALLOCATION_ID, {_sN: _i}),)) - -ALLOCATION_STATE: StaticSchema = ( - 14, - n0, - _ASl, - 0, - (_av, _ua, _pf_, _rel, _rpf, _p, _con), - ( - (-1, {_sV: _av}), - (-1, {_sV: _ua_}), - (-1, {_sV: _pf__}), - (-1, {_sV: _rel}), - (-1, {_sV: _rpf_}), - (-1, {_sV: _p}), - (-1, {_sV: _con}), - ), -) - -ALLOCATION_STRATEGY: StaticSchema = ( - 14, - n0, - _ASll, - 0, - (_LP, _DIVERSIFIED, _CO_, _COP, _PCO), - ( - (-1, {_sV: _lP}), - (-1, {_sV: _div}), - (-1, {_sV: _cO}), - (-1, {_sV: _cOP}), - (-1, {_sV: _pCO}), - ), -) - -ALLOCATION_TYPE: StaticSchema = ( - 14, - n0, - _ATl, - 0, - (_us, _fut, _ca), - ((-1, {_sV: _us}), (-1, {_sV: _fut}), (-1, {_sV: _ca})), -) - -ALLOWED_IMAGES_SETTINGS_DISABLED_STATE: StaticSchema = ( - 14, - n0, - _AISDS, - 0, - (_d,), - ((-1, {_sV: _d}),), -) - -ALLOWED_IMAGES_SETTINGS_ENABLED_STATE: StaticSchema = ( - 14, - n0, - _AISES, - 0, - (_ena, _am__), - ((-1, {_sV: _ena}), (-1, {_sV: _am___})), -) - -ALLOWED_INSTANCE_TYPE: StaticSchema = (3, n0, _AIT, 0) - -ALLOWED_INSTANCE_TYPE_SET: StaticSchema = ( - 16, - n0, - _AITS, - 0, - (_me,), - ((ALLOWED_INSTANCE_TYPE, {_sN: _i}),), -) - -ALLOWED_PRINCIPAL: StaticSchema = ( - 18, - n0, - _APl, - 0, - (_PTr, _Pri, _SPI, _Tag, _SIe), - ( - (PRINCIPAL_TYPE, {_aQN: _PTr, _sN: _pT}), - (STRING, {_aQN: _Pri, _sN: _prin}), - (STRING, {_aQN: _SPI, _sN: _sPI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _SIe, _sN: _sIe}), - ), -) - -ALLOWED_PRINCIPAL_SET: StaticSchema = ( - 16, - n0, - _APSl, - 0, - (_me,), - ((ALLOWED_PRINCIPAL, {_sN: _i}),), -) - -ALLOWS_MULTIPLE_INSTANCE_TYPES: StaticSchema = ( - 14, - n0, - _AMIT, - 0, - (_on, _of), - ((-1, {_sV: _on}), (-1, {_sV: _of})), -) - -ALTERNATE_PATH_HINT: StaticSchema = ( - 18, - n0, - _APHl, - 0, - (_CIo, _CAo), - ((STRING, {_aQN: _CIo, _sN: _cIo}), (STRING, {_aQN: _CAo, _sN: _cAo})), -) - -ALTERNATE_PATH_HINT_LIST: StaticSchema = ( - 16, - n0, - _APHL, - 0, - (_me,), - ((ALTERNATE_PATH_HINT, {_sN: _i}),), -) - -SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGI, 0) - -CLIENT_VPN_SECURITY_GROUP_ID_SET: StaticSchema = ( - 16, - n0, - _CVSGIS, - 0, - (_me,), - ((SECURITY_GROUP_ID, {_sN: _i}),), -) - -VPC_ID: StaticSchema = (3, n0, _VI, 0) - -APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_INPUT: StaticSchema = ( - 18, - n0, - _ASGTCVTNI, - {_sSI: _cASGTCVTNR, _sm: None}, - (_CVEI, _VI, _SGIe, _DR), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (VPC_ID, 1), - (CLIENT_VPN_SECURITY_GROUP_ID_SET, {_sN: _SGI, _smi: None}), - (BOOLEAN, 0), - ), -) - -APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_OUTPUT: StaticSchema = ( - 18, - n0, - _ASGTCVTNO, - {_sSI: _cASGTCVTNRo, _smit: None}, - (_SGIe,), - ((CLIENT_VPN_SECURITY_GROUP_ID_SET, {_aQN: _SGIe, _sN: _sGIe}),), -) - -APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK: StaticOperationSchema = ( - 23, - n0, - _ASGTCVTN, - 0, - APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_INPUT, - APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_OUTPUT, - (), -) - -IPV6_ADDRESS_LIST: StaticSchema = (16, n0, _IALp, 0, (_me,), ((STRING, {_sN: _i}),)) - -IP_PREFIX_LIST: StaticSchema = (16, n0, _IPL, 0, (_me,), ((STRING, {_sN: _i}),)) - -NETWORK_INTERFACE_ID: StaticSchema = (3, n0, _NII, 0) - -ASSIGN_IPV6_ADDRESSES_INPUT: StaticSchema = ( - 18, - n0, - _AIAI, - {_sSI: _cAIAR, _sm: None}, - (_IPC, _IPp, _NII, _IAp, _IAC), - ( - (INTEGER, 0), - (IP_PREFIX_LIST, {_sN: _IPpv}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), - (IPV6_ADDRESS_LIST, {_aQN: _IAp, _sN: _iA}), - (INTEGER, {_aQN: _IAC, _sN: _iAC}), - ), -) - -ASSIGN_IPV6_ADDRESSES_OUTPUT: StaticSchema = ( - 18, - n0, - _AIAO, - {_sSI: _cAIARo, _smit: None}, - (_AIA, _AIP, _NII), - ( - (IPV6_ADDRESS_LIST, {_aQN: _AIA, _sN: _aIA}), - (IP_PREFIX_LIST, {_aQN: _AIPS, _sN: _aIPS}), - (STRING, {_aQN: _NII, _sN: _nII}), - ), -) - -ASSIGN_IPV6_ADDRESSES: StaticOperationSchema = ( - 23, - n0, - _AIAs, - 0, - ASSIGN_IPV6_ADDRESSES_INPUT, - ASSIGN_IPV6_ADDRESSES_OUTPUT, - (), -) - -PRIVATE_IP_ADDRESS_STRING_LIST: StaticSchema = ( - 16, - n0, - _PIASL, - 0, - (_me,), - ((STRING, {_sN: _PIAr}),), -) - -ASSIGN_PRIVATE_IP_ADDRESSES_INPUT: StaticSchema = ( - 18, - n0, - _APIAI, - {_sSI: _cAPIAR, _sm: None}, - (_IPpvr, _IPCp, _NII, _PIAri, _SPIAC, _ARl), - ( - (IP_PREFIX_LIST, {_sN: _IPpvre}), - (INTEGER, 0), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), - (PRIVATE_IP_ADDRESS_STRING_LIST, {_aQN: _PIAr, _sN: _pIAr}), - (INTEGER, {_aQN: _SPIAC, _sN: _sPIAC}), - (BOOLEAN, {_aQN: _ARl, _sN: _aRl}), - ), -) - -IPV4_PREFIX_SPECIFICATION: StaticSchema = ( - 18, - n0, - _IPS, - 0, - (_IPpvre,), - ((STRING, {_aQN: _IPpvre, _sN: _iPp}),), -) - -IPV4_PREFIXES_LIST: StaticSchema = ( - 16, - n0, - _IPLp, - 0, - (_me,), - ((IPV4_PREFIX_SPECIFICATION, {_sN: _i}),), -) - -ASSIGNED_PRIVATE_IP_ADDRESS: StaticSchema = ( - 18, - n0, - _APIA, - 0, - (_PIAr,), - ((STRING, {_aQN: _PIAr, _sN: _pIAr}),), -) - -ASSIGNED_PRIVATE_IP_ADDRESS_LIST: StaticSchema = ( - 16, - n0, - _APIAL, - 0, - (_me,), - ((ASSIGNED_PRIVATE_IP_ADDRESS, {_sN: _i}),), -) - -ASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT: StaticSchema = ( - 18, - n0, - _APIAO, - {_sSI: _cAPIARo, _smit: None}, - (_NII, _APIAs, _AIPs), - ( - (STRING, {_aQN: _NII, _sN: _nII}), - (ASSIGNED_PRIVATE_IP_ADDRESS_LIST, {_aQN: _APIAS, _sN: _aPIAS}), - (IPV4_PREFIXES_LIST, {_aQN: _AIPSs, _sN: _aIPSs}), - ), -) - -ASSIGN_PRIVATE_IP_ADDRESSES: StaticOperationSchema = ( - 23, - n0, - _APIAss, - 0, - ASSIGN_PRIVATE_IP_ADDRESSES_INPUT, - ASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT, - (), -) - -NAT_GATEWAY_ID: StaticSchema = (3, n0, _NGI, 0) - -PRIVATE_IP_ADDRESS_COUNT: StaticSchema = (7, n0, _PIAC, 0) - -IP_LIST: StaticSchema = (16, n0, _IL, 0, (_me,), ((STRING, {_sN: _i}),)) - -ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT: StaticSchema = ( - 18, - n0, - _APNGAI, - {_sSI: _cAPNGAR, _sm: None}, - (_NGI, _PIAri, _PIAC, _DR), - ( - (NAT_GATEWAY_ID, 1), - (IP_LIST, {_sN: _PIAr}), - (PRIVATE_IP_ADDRESS_COUNT, 0), - (BOOLEAN, 0), - ), -) - -NAT_GATEWAY_ADDRESS_STATUS: StaticSchema = ( - 14, - n0, - _NGAS, - 0, - (_ASSIGNING, _UNASSIGNING, _ASSOCIATING, _DISASSOCIATING, _SUCCEEDED, _FAILED), - ( - (-1, {_sV: _assi}), - (-1, {_sV: _una}), - (-1, {_sV: _as}), - (-1, {_sV: _di}), - (-1, {_sV: _suc}), - (-1, {_sV: _fa}), - ), -) - -NAT_GATEWAY_ADDRESS: StaticSchema = ( - 18, - n0, - _NGA, - 0, - (_AI, _NII, _PIri, _PI, _AIs, _IPs, _FM, _Sta, _AZ, _AZI), - ( - (STRING, {_aQN: _AI, _sN: _aI}), - (STRING, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _PIri, _sN: _pIr}), - (STRING, {_aQN: _PI, _sN: _pI}), - (STRING, {_aQN: _AIs, _sN: _aIs}), - (BOOLEAN, {_aQN: _IPs, _sN: _iPs}), - (STRING, {_aQN: _FM, _sN: _fM}), - (NAT_GATEWAY_ADDRESS_STATUS, {_aQN: _Sta, _sN: _sta}), - (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - ), -) - -NAT_GATEWAY_ADDRESS_LIST: StaticSchema = ( - 16, - n0, - _NGAL, - 0, - (_me,), - ((NAT_GATEWAY_ADDRESS, {_sN: _i}),), -) - -ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _APNGAO, - {_sSI: _cAPNGARo, _smit: None}, - (_NGI, _NGAa), - ( - (NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), - (NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), - ), -) - -ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS: StaticOperationSchema = ( - 23, - n0, - _APNGA, - 0, - ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT, - ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT, - (), -) - -INSTANCE_ID: StaticSchema = (3, n0, _II, 0) - -EIP_ALLOCATION_PUBLIC_IP: StaticSchema = (3, n0, _EAPI, 0) - -ASSOCIATE_ADDRESS_INPUT: StaticSchema = ( - 18, - n0, - _AAIs, - {_sSI: _cAARom, _sm: None}, - (_AI, _II, _PI, _DR, _NII, _PIAr, _ARll), - ( - (ALLOCATION_ID, 0), - (INSTANCE_ID, 0), - (EIP_ALLOCATION_PUBLIC_IP, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - (BOOLEAN, {_aQN: _ARll, _sN: _aRll}), - ), -) - -ASSOCIATE_ADDRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _AAOs, - {_sSI: _cAARoma, _smit: None}, - (_AIs,), - ((STRING, {_aQN: _AIs, _sN: _aIs}),), -) - -ASSOCIATE_ADDRESS: StaticOperationSchema = ( - 23, - n0, - _AAss, - 0, - ASSOCIATE_ADDRESS_INPUT, - ASSOCIATE_ADDRESS_OUTPUT, - (), -) - -APPLICATION_STATUS_CHECK_ID: StaticSchema = (3, n0, _ASCI, 0) - -INSTANCE_ID_LIST: StaticSchema = (16, n0, _IIL, 0, (_me,), ((INSTANCE_ID, {_sN: _i}),)) - -CUSTOM_TAG_KEY_VALUE_REQUEST_PAIR: StaticSchema = ( - 18, - n0, - _CTKVRP, - 0, - (_Ke, _Va), - ((STRING, 0), (STRING, 0)), -) - -CUSTOM_KEY_VALUE_PAIR_REQUEST_SET: StaticSchema = ( - 16, - n0, - _CKVPRS, - 0, - (_me,), - ((CUSTOM_TAG_KEY_VALUE_REQUEST_PAIR, {_sN: _i}),), -) - -ASSOCIATE_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( - 18, - n0, - _AASCI, - {_sSI: _cAASCR, _sm: None}, - (_ASCI, _TTA, _IIn, _CTl, _DR), - ( - (APPLICATION_STATUS_CHECK_ID, 1), - (CUSTOM_KEY_VALUE_PAIR_REQUEST_SET, {_sN: _TTAa}), - (INSTANCE_ID_LIST, {_sN: _II}), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -SUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT: StaticSchema = ( - 18, - n0, - _SARO, - 0, - (_ASCI, _ATs, _AVs), - ( - (APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), - (STRING, {_aQN: _ATs, _sN: _aTs}), - (STRING, {_aQN: _AVs, _sN: _aVs}), - ), -) - -SUCCESSFUL_ASSOCIATION_RESPONSE_SET: StaticSchema = ( - 16, - n0, - _SARS, - 0, - (_me,), - ((SUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT, {_sN: _i}),), -) - -UNSUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT: StaticSchema = ( - 18, - n0, - _UARO, - 0, - (_ASCI, _ATs, _AVs, _Rea), - ( - (APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), - (STRING, {_aQN: _ATs, _sN: _aTs}), - (STRING, {_aQN: _AVs, _sN: _aVs}), - (STRING, {_aQN: _Rea, _sN: _rea}), - ), -) - -UNSUCCESSFUL_ASSOCIATION_RESPONSE_SET: StaticSchema = ( - 16, - n0, - _UARS, - 0, - (_me,), - ((UNSUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT, {_sN: _i}),), -) - -ASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( - 18, - n0, - _AASCO, - {_sSI: _cAASCRo, _smit: None}, - (_SR, _UR), - ( - (SUCCESSFUL_ASSOCIATION_RESPONSE_SET, {_aQN: _SRS, _sN: _sRS}), - (UNSUCCESSFUL_ASSOCIATION_RESPONSE_SET, {_aQN: _URS, _sN: _uRS}), - ), -) - -ASSOCIATE_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( - 23, - n0, - _AASC, - 0, - ASSOCIATE_APPLICATION_STATUS_CHECK_INPUT, - ASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT, - (), -) - -ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT: StaticSchema = ( - 18, - n0, - _ACRBOIs, - {_sSI: _cACRBORom, _sm: None}, - (_DR, _CRI, _URBOI), - ((BOOLEAN, 0), (CAPACITY_RESERVATION_ID, 1), (ACCOUNT_ID, 1)), -) - -ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT: StaticSchema = ( - 18, - n0, - _ACRBOOs, - {_sSI: _cACRBORoma, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER: StaticOperationSchema = ( - 23, - n0, - _ACRBOs, - 0, - ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT, - ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT, - (), -) - -SUBNET_ID: StaticSchema = (3, n0, _SIu, 0) - -ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT: StaticSchema = ( - 18, - n0, - _ACVTNI, - {_sSI: _cACVTNR, _sm: None}, - (_CVEI, _SIu, _CTl, _DR, _AZ, _AZI), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (SUBNET_ID, 0), - (STRING, 2), - (BOOLEAN, 0), - (AVAILABILITY_ZONE_NAME, 0), - (AVAILABILITY_ZONE_ID, 0), - ), -) - -ASSOCIATION_STATUS_CODE: StaticSchema = ( - 14, - n0, - _ASC, - 0, - (_as, _ass, _af, _di, _dis), - ( - (-1, {_sV: _as}), - (-1, {_sV: _ass}), - (-1, {_sV: _af_}), - (-1, {_sV: _di}), - (-1, {_sV: _dis}), - ), -) - -ASSOCIATION_STATUS: StaticSchema = ( - 18, - n0, - _ASs, - 0, - (_C, _Me), - ((ASSOCIATION_STATUS_CODE, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT: StaticSchema = ( - 18, - n0, - _ACVTNO, - {_sSI: _cACVTNRo, _smit: None}, - (_AIs, _Sta), - ((STRING, {_aQN: _AIs, _sN: _aIs}), (ASSOCIATION_STATUS, {_aQN: _Sta, _sN: _sta})), -) - -ASSOCIATE_CLIENT_VPN_TARGET_NETWORK: StaticOperationSchema = ( - 23, - n0, - _ACVTN, - 0, - ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT, - ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT, - (), -) - -DEFAULTING_DHCP_OPTIONS_ID: StaticSchema = (3, n0, _DDOI, 0) - -ASSOCIATE_DHCP_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _ADOI, - {_sSI: _cADOR, _sm: None}, - (_DOI, _VI, _DR), - ((DEFAULTING_DHCP_OPTIONS_ID, 1), (VPC_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -ASSOCIATE_DHCP_OPTIONS_OUTPUT: StaticSchema = (18, n0, _ADOO, {_sSI: _sU, _smit: None}) - -ASSOCIATE_DHCP_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _ADO, - 0, - ASSOCIATE_DHCP_OPTIONS_INPUT, - ASSOCIATE_DHCP_OPTIONS_OUTPUT, - (), -) - -CERTIFICATE_ID: StaticSchema = (3, n0, _CIe, 0) - -ROLE_ID: StaticSchema = (3, n0, _RIo, 0) - -ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _AECIRI, - {_sSI: _cAECIRR, _sm: None}, - (_CAe, _RAo, _DR), - ((CERTIFICATE_ID, 1), (ROLE_ID, 1), (BOOLEAN, 0)), -) - -ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT: StaticSchema = ( - 18, - n0, - _AECIRO, - {_sSI: _cAECIRRo, _smit: None}, - (_CSBN, _CSOK, _EKKI), - ( - (STRING, {_aQN: _CSBN, _sN: _cSBN}), - (STRING, {_aQN: _CSOK, _sN: _cSOK}), - (STRING, {_aQN: _EKKI, _sN: _eKKI}), - ), -) - -ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE: StaticOperationSchema = ( - 23, - n0, - _AECIR, - 0, - ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT, - ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT, - (), -) - -IAM_INSTANCE_PROFILE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _IIPS, - 0, - (_Ar, _N), - ((STRING, {_aQN: _Ar, _sN: _ar}), (STRING, {_aQN: _N, _sN: _nam})), -) - -ASSOCIATE_IAM_INSTANCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _AIIPI, - {_sSI: _cAIIPR, _sm: None}, - (_IIP, _II), - ((IAM_INSTANCE_PROFILE_SPECIFICATION, 1), (INSTANCE_ID, 1)), -) - -IAM_INSTANCE_PROFILE: StaticSchema = ( - 18, - n0, - _IIP, - 0, - (_Ar, _Id), - ((STRING, {_aQN: _Ar, _sN: _ar}), (STRING, {_aQN: _Id, _sN: _id})), -) - -IAM_INSTANCE_PROFILE_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _IIPAS, - 0, - (_ASSOCIATING, _ASSOCIATED, _DISASSOCIATING, _DISASSOCIATED), - ((-1, {_sV: _as}), (-1, {_sV: _ass}), (-1, {_sV: _di}), (-1, {_sV: _dis})), -) - -IAM_INSTANCE_PROFILE_ASSOCIATION: StaticSchema = ( - 18, - n0, - _IIPA, - 0, - (_AIs, _II, _IIP, _St, _Ti), - ( - (STRING, {_aQN: _AIs, _sN: _aIs}), - (STRING, {_aQN: _II, _sN: _iI}), - (IAM_INSTANCE_PROFILE, {_aQN: _IIP, _sN: _iIP}), - (IAM_INSTANCE_PROFILE_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _Ti, _sN: _ti}), - ), -) - -ASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _AIIPO, - {_sSI: _cAIIPRo, _smit: None}, - (_IIPA,), - ((IAM_INSTANCE_PROFILE_ASSOCIATION, {_aQN: _IIPA, _sN: _iIPA}),), -) - -ASSOCIATE_IAM_INSTANCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _AIIP, - 0, - ASSOCIATE_IAM_INSTANCE_PROFILE_INPUT, - ASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT, - (), -) - -DEDICATED_HOST_ID: StaticSchema = (3, n0, _DHI, 0) - -DEDICATED_HOST_ID_LIST: StaticSchema = ( - 16, - n0, - _DHIL, - 0, - (_me,), - ((DEDICATED_HOST_ID, {_sN: _i}),), -) - -INSTANCE_EVENT_WINDOW_ASSOCIATION_REQUEST: StaticSchema = ( - 18, - n0, - _IEWAR, - 0, - (_IIn, _ITn, _DHIe), - ( - (INSTANCE_ID_LIST, {_sN: _II}), - (TAG_LIST, {_sN: _ITns}), - (DEDICATED_HOST_ID_LIST, {_sN: _DHI}), - ), -) - -INSTANCE_EVENT_WINDOW_ID: StaticSchema = (3, n0, _IEWI, 0) - -ASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( - 18, - n0, - _AIEWI, - {_sSI: _cAIEWR, _sm: None}, - (_DR, _IEWI, _ATss), - ( - (BOOLEAN, 0), - (INSTANCE_EVENT_WINDOW_ID, 1), - (INSTANCE_EVENT_WINDOW_ASSOCIATION_REQUEST, 1), - ), -) - -INSTANCE_EVENT_WINDOW_ASSOCIATION_TARGET: StaticSchema = ( - 18, - n0, - _IEWAT, - 0, - (_IIn, _Tag, _DHIe), - ( - (INSTANCE_ID_LIST, {_aQN: _IIS, _sN: _iIS}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (DEDICATED_HOST_ID_LIST, {_aQN: _DHIS, _sN: _dHIS}), - ), -) - -INSTANCE_EVENT_WINDOW_CRON_EXPRESSION: StaticSchema = (3, n0, _IEWCE, 0) - -INSTANCE_EVENT_WINDOW_STATE: StaticSchema = ( - 14, - n0, - _IEWS, - 0, - (_cre, _de, _act, _del), - ((-1, {_sV: _cre}), (-1, {_sV: _de}), (-1, {_sV: _act}), (-1, {_sV: _del})), -) - -HOUR: StaticSchema = (7, n0, _Ho, 0) - -WEEK_DAY: StaticSchema = ( - 14, - n0, - _WD, - 0, - (_sun, _mon, _tu, _w, _th, _fri, _sa), - ( - (-1, {_sV: _sun}), - (-1, {_sV: _mon}), - (-1, {_sV: _tu}), - (-1, {_sV: _w}), - (-1, {_sV: _th}), - (-1, {_sV: _fri}), - (-1, {_sV: _sa}), - ), -) - -INSTANCE_EVENT_WINDOW_TIME_RANGE: StaticSchema = ( - 18, - n0, - _IEWTR, - 0, - (_SWD, _SH, _EWD, _EH), - ( - (WEEK_DAY, {_aQN: _SWD, _sN: _sWD}), - (HOUR, {_aQN: _SH, _sN: _sH}), - (WEEK_DAY, {_aQN: _EWD, _sN: _eWD}), - (HOUR, {_aQN: _EH, _sN: _eH}), - ), -) - -INSTANCE_EVENT_WINDOW_TIME_RANGE_LIST: StaticSchema = ( - 16, - n0, - _IEWTRL, - 0, - (_me,), - ((INSTANCE_EVENT_WINDOW_TIME_RANGE, {_sN: _i}),), -) - -INSTANCE_EVENT_WINDOW: StaticSchema = ( - 18, - n0, - _IEW, - 0, - (_IEWI, _TRi, _N, _CE, _ATss, _St, _Tag), - ( - (INSTANCE_EVENT_WINDOW_ID, {_aQN: _IEWI, _sN: _iEWI}), - (INSTANCE_EVENT_WINDOW_TIME_RANGE_LIST, {_aQN: _TRSi, _sN: _tRSi}), - (STRING, {_aQN: _N, _sN: _nam}), - (INSTANCE_EVENT_WINDOW_CRON_EXPRESSION, {_aQN: _CE, _sN: _cE}), - (INSTANCE_EVENT_WINDOW_ASSOCIATION_TARGET, {_aQN: _ATss, _sN: _aTss}), - (INSTANCE_EVENT_WINDOW_STATE, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -ASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( - 18, - n0, - _AIEWO, - {_sSI: _cAIEWRo, _smit: None}, - (_IEW,), - ((INSTANCE_EVENT_WINDOW, {_aQN: _IEW, _sN: _iEW}),), -) - -ASSOCIATE_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( - 23, - n0, - _AIEW, - 0, - ASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT, - ASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT, - (), -) - -ASSOCIATE_IPAM_BYOASN_INPUT: StaticSchema = ( - 18, - n0, - _AIBI, - {_sSI: _cAIBR, _sm: None}, - (_DR, _Asn, _Ci), - ((BOOLEAN, 0), (STRING, 1), (STRING, 1)), -) - -ASSOCIATE_IPAM_BYOASN_OUTPUT: StaticSchema = ( - 18, - n0, - _AIBO, - {_sSI: _cAIBRo, _smit: None}, - (_AAs,), - ((ASN_ASSOCIATION, {_aQN: _AAs, _sN: _aA}),), -) - -ASSOCIATE_IPAM_BYOASN: StaticOperationSchema = ( - 23, - n0, - _AIB, - 0, - ASSOCIATE_IPAM_BYOASN_INPUT, - ASSOCIATE_IPAM_BYOASN_OUTPUT, - (), -) - -IPAM_ID: StaticSchema = (3, n0, _IIp, 0) - -IPAM_RESOURCE_DISCOVERY_ID: StaticSchema = (3, n0, _IRDI, 0) - -ASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( - 18, - n0, - _AIRDI, - {_sSI: _cAIRDR, _sm: None}, - (_DR, _IIp, _IRDI, _TSa, _CTl), - ( - (BOOLEAN, 0), - (IPAM_ID, 1), - (IPAM_RESOURCE_DISCOVERY_ID, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - ), -) - -IPAM_RESOURCE_DISCOVERY_ASSOCIATION_ID: StaticSchema = (3, n0, _IRDAI, 0) - -IPAM_ASSOCIATED_RESOURCE_DISCOVERY_STATUS: StaticSchema = ( - 14, - n0, - _IARDS, - 0, - (_ACTIVE, _NF), - ((-1, {_sV: _act}), (-1, {_sV: _nf__})), -) - -IPAM_RESOURCE_DISCOVERY_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _IRDAS, - 0, - (_AIP_, _AC_, _AF_, _DIP, _DC_, _DF, _IIP_, _IC_, _RIP), - ( - (-1, {_sV: _aip}), - (-1, {_sV: _ac_}), - (-1, {_sV: _af__}), - (-1, {_sV: _dip}), - (-1, {_sV: _dc}), - (-1, {_sV: _df}), - (-1, {_sV: _iip}), - (-1, {_sV: _ic}), - (-1, {_sV: _rip}), - ), -) - -IPAM_RESOURCE_DISCOVERY_ASSOCIATION: StaticSchema = ( - 18, - n0, - _IRDA, - 0, - (_OIw, _IRDAI, _IRDAA, _IRDI, _IIp, _IApa, _IR, _ID, _RDS, _St, _Tag), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (IPAM_RESOURCE_DISCOVERY_ASSOCIATION_ID, {_aQN: _IRDAI, _sN: _iRDAI}), - (STRING, {_aQN: _IRDAA, _sN: _iRDAA}), - (IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), - (IPAM_ID, {_aQN: _IIp, _sN: _iIp}), - (RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), - (STRING, {_aQN: _IR, _sN: _iRp}), - (BOOLEAN, {_aQN: _ID, _sN: _iD}), - (IPAM_ASSOCIATED_RESOURCE_DISCOVERY_STATUS, {_aQN: _RDS, _sN: _rDS}), - (IPAM_RESOURCE_DISCOVERY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -ASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( - 18, - n0, - _AIRDO, - {_sSI: _cAIRDRo, _smit: None}, - (_IRDA,), - ((IPAM_RESOURCE_DISCOVERY_ASSOCIATION, {_aQN: _IRDA, _sN: _iRDA}),), -) - -ASSOCIATE_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( - 23, - n0, - _AIRD, - 0, - ASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT, - ASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT, - (), -) - -ASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT: StaticSchema = ( - 18, - n0, - _ANGAI, - {_sSI: _cANGAR, _sm: None}, - (_NGI, _AIl, _PIAri, _DR, _AZ, _AZI), - ( - (NAT_GATEWAY_ID, 1), - (ALLOCATION_ID_LIST, {_sN: _AI, _smi: None}), - (IP_LIST, {_sN: _PIAr}), - (BOOLEAN, 0), - (AVAILABILITY_ZONE_NAME, 0), - (AVAILABILITY_ZONE_ID, 0), - ), -) - -ASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _ANGAO, - {_sSI: _cANGARo, _smit: None}, - (_NGI, _NGAa), - ( - (NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), - (NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), - ), -) - -ASSOCIATE_NAT_GATEWAY_ADDRESS: StaticOperationSchema = ( - 23, - n0, - _ANGA, - 0, - ASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT, - ASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT, - (), -) - -ROUTE_SERVER_ID: StaticSchema = (3, n0, _RSI, 0) - -ASSOCIATE_ROUTE_SERVER_INPUT: StaticSchema = ( - 18, - n0, - _ARSI, - {_sSI: _cARSR, _sm: None}, - (_RSI, _VI, _DR), - ((ROUTE_SERVER_ID, 1), (VPC_ID, 1), (BOOLEAN, 0)), -) - -ROUTE_SERVER_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _RSAS, - 0, - (_ASSOCIATING, _ASSOCIATED, _DISASSOCIATING), - ((-1, {_sV: _as}), (-1, {_sV: _ass}), (-1, {_sV: _di})), -) - -ROUTE_SERVER_ASSOCIATION: StaticSchema = ( - 18, - n0, - _RSA, - 0, - (_RSI, _VI, _St), - ( - (ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), - (VPC_ID, {_aQN: _VI, _sN: _vI}), - (ROUTE_SERVER_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -ASSOCIATE_ROUTE_SERVER_OUTPUT: StaticSchema = ( - 18, - n0, - _ARSO, - {_sSI: _cARSRo, _smit: None}, - (_RSA,), - ((ROUTE_SERVER_ASSOCIATION, {_aQN: _RSA, _sN: _rSA}),), -) - -ASSOCIATE_ROUTE_SERVER: StaticOperationSchema = ( - 23, - n0, - _ARS, - 0, - ASSOCIATE_ROUTE_SERVER_INPUT, - ASSOCIATE_ROUTE_SERVER_OUTPUT, - (), -) - -ROUTE_GATEWAY_ID: StaticSchema = (3, n0, _RGI, 0) - -ROUTE_TABLE_ID: StaticSchema = (3, n0, _RTIo, 0) - -ASSOCIATE_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _ARTI, - {_sSI: _cARTR, _sm: None}, - (_GI, _PIP, _DR, _SIu, _RTIo), - ( - (ROUTE_GATEWAY_ID, 0), - (IPV4_POOL_EC2_ID, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), - ), -) - -ROUTE_TABLE_ASSOCIATION_STATE_CODE: StaticSchema = ( - 14, - n0, - _RTASC, - 0, - (_as, _ass, _di, _dis, _fa), - ( - (-1, {_sV: _as}), - (-1, {_sV: _ass}), - (-1, {_sV: _di}), - (-1, {_sV: _dis}), - (-1, {_sV: _fa}), - ), -) - -ROUTE_TABLE_ASSOCIATION_STATE: StaticSchema = ( - 18, - n0, - _RTAS, - 0, - (_St, _SMt), - ( - (ROUTE_TABLE_ASSOCIATION_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - ), -) - -ASSOCIATE_ROUTE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _ARTO, - {_sSI: _cARTRo, _smit: None}, - (_AIs, _ASss), - ( - (STRING, {_aQN: _AIs, _sN: _aIs}), - (ROUTE_TABLE_ASSOCIATION_STATE, {_aQN: _ASss, _sN: _aSs}), - ), -) - -ASSOCIATE_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _ART, - 0, - ASSOCIATE_ROUTE_TABLE_INPUT, - ASSOCIATE_ROUTE_TABLE_OUTPUT, - (), -) - -ASSOCIATE_SECURITY_GROUP_VPC_INPUT: StaticSchema = ( - 18, - n0, - _ASGVI, - {_sSI: _cASGVR, _sm: None}, - (_GIr, _VI, _DR), - ((SECURITY_GROUP_ID, 1), (VPC_ID, 1), (BOOLEAN, 0)), -) - -SECURITY_GROUP_VPC_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _SGVAS, - 0, - (_as, _ass, _af, _di, _dis, _df_), - ( - (-1, {_sV: _as}), - (-1, {_sV: _ass}), - (-1, {_sV: _af_}), - (-1, {_sV: _di}), - (-1, {_sV: _dis}), - (-1, {_sV: _df__}), - ), -) - -ASSOCIATE_SECURITY_GROUP_VPC_OUTPUT: StaticSchema = ( - 18, - n0, - _ASGVO, - {_sSI: _cASGVRo, _smit: None}, - (_St,), - ((SECURITY_GROUP_VPC_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}),), -) - -ASSOCIATE_SECURITY_GROUP_VPC: StaticOperationSchema = ( - 23, - n0, - _ASGV, - 0, - ASSOCIATE_SECURITY_GROUP_VPC_INPUT, - ASSOCIATE_SECURITY_GROUP_VPC_OUTPUT, - (), -) - -NETMASK_LENGTH: StaticSchema = (7, n0, _NL, 0) - -ASSOCIATE_SUBNET_CIDR_BLOCK_INPUT: StaticSchema = ( - 18, - n0, - _ASCBI, - {_sSI: _cASCBR, _sm: None}, - (_IIPI, _INL, _SIu, _ICB), - ( - (IPAM_POOL_ID, 0), - (NETMASK_LENGTH, 0), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI, _smi: None}), - (STRING, {_aQN: _ICB, _sN: _iCB}), - ), -) - -SUBNET_CIDR_ASSOCIATION_ID: StaticSchema = (3, n0, _SCAI, 0) - -IP_SOURCE: StaticSchema = ( - 14, - n0, - _ISp, - 0, - (_ama, _b, _no), - ((-1, {_sV: _ama}), (-1, {_sV: _b}), (-1, {_sV: _no})), -) - -IPV6_ADDRESS_ATTRIBUTE: StaticSchema = ( - 14, - n0, - _IAA, - 0, - (_pu, _priv), - ((-1, {_sV: _pu}), (-1, {_sV: _priv})), -) - -SUBNET_CIDR_BLOCK_STATE_CODE: StaticSchema = ( - 14, - n0, - _SCBSC, - 0, - (_as, _ass, _di, _dis, _fai, _fa), - ( - (-1, {_sV: _as}), - (-1, {_sV: _ass}), - (-1, {_sV: _di}), - (-1, {_sV: _dis}), - (-1, {_sV: _fai}), - (-1, {_sV: _fa}), - ), -) - -SUBNET_CIDR_BLOCK_STATE: StaticSchema = ( - 18, - n0, - _SCBS, - 0, - (_St, _SMt), - ( - (SUBNET_CIDR_BLOCK_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - ), -) - -SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( - 18, - n0, - _SICBA, - 0, - (_AIs, _ICB, _ICBSp, _IAA, _ISp), - ( - (SUBNET_CIDR_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs}), - (STRING, {_aQN: _ICB, _sN: _iCB}), - (SUBNET_CIDR_BLOCK_STATE, {_aQN: _ICBSp, _sN: _iCBSp}), - (IPV6_ADDRESS_ATTRIBUTE, {_aQN: _IAA, _sN: _iAA}), - (IP_SOURCE, {_aQN: _ISp, _sN: _iSp}), - ), -) - -ASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT: StaticSchema = ( - 18, - n0, - _ASCBO, - {_sSI: _cASCBRo, _smit: None}, - (_ICBA, _SIu), - ( - (SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION, {_aQN: _ICBA, _sN: _iCBA}), - (STRING, {_aQN: _SIu, _sN: _sI}), - ), -) - -ASSOCIATE_SUBNET_CIDR_BLOCK: StaticOperationSchema = ( - 23, - n0, - _ASCB, - 0, - ASSOCIATE_SUBNET_CIDR_BLOCK_INPUT, - ASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT, - (), -) - -TRANSIT_GATEWAY_SUBNET_ID_LIST: StaticSchema = ( - 16, - n0, - _TGSIL, - 0, - (_me,), - ((SUBNET_ID, {_sN: _i}),), -) - -ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT: StaticSchema = ( - 18, - n0, - _ATGMDI, - {_sSI: _cATGMDR, _sm: None}, - (_TGMDI, _TGAI, _SI, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (TRANSIT_GATEWAY_SUBNET_ID_LIST, 1), - (BOOLEAN, 0), - ), -) - -ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT: StaticSchema = ( - 18, - n0, - _ATGMDO, - {_sSI: _cATGMDRo, _smit: None}, - (_As,), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS, {_aQN: _As, _sN: _asso}),), -) - -ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticOperationSchema = ( - 23, - n0, - _ATGMD, - 0, - ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT, - ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT, - (), -) - -TRANSIT_GATEWAY_POLICY_TABLE_ID: StaticSchema = (3, n0, _TGPTI, 0) - -ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _ATGPTI, - {_sSI: _cATGPTR, _sm: None}, - (_TGPTI, _TGAI, _DR), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _TGASr, - 0, - (_as, _ass, _di, _dis), - ((-1, {_sV: _as}), (-1, {_sV: _ass}), (-1, {_sV: _di}), (-1, {_sV: _dis})), -) - -TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION: StaticSchema = ( - 18, - n0, - _TGPTA, - 0, - (_TGPTI, _TGAI, _RIe, _RT, _St), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ID, {_aQN: _TGPTI, _sN: _tGPTI}), - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (TRANSIT_GATEWAY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _ATGPTO, - {_sSI: _cATGPTRo, _smit: None}, - (_Ass,), - ((TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}),), -) - -ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE: StaticOperationSchema = ( - 23, - n0, - _ATGPT, - 0, - ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT, - ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT, - (), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ID: StaticSchema = (3, n0, _TGRTI, 0) - -ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _ATGRTI, - {_sSI: _cATGRTR, _sm: None}, - (_TGRTI, _TGAI, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ASSOCIATION: StaticSchema = ( - 18, - n0, - _TGAr, - 0, - (_TGRTI, _TGAI, _RIe, _RT, _St), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_aQN: _TGRTI, _sN: _tGRTI}), - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (TRANSIT_GATEWAY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _ATGRTO, - {_sSI: _cATGRTRo, _smit: None}, - (_Ass,), - ((TRANSIT_GATEWAY_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}),), -) - -ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _ATGRT, - 0, - ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT, - ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT, - (), -) - -ASSOCIATE_TRUNK_INTERFACE_INPUT: StaticSchema = ( - 18, - n0, - _ATII, - {_sSI: _cATIR, _sm: None}, - (_BII, _TII, _VIl, _GK, _CTl, _DR), - ( - (NETWORK_INTERFACE_ID, 1), - (NETWORK_INTERFACE_ID, 1), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -TRUNK_INTERFACE_ASSOCIATION_ID: StaticSchema = (3, n0, _TIAI, 0) - -INTERFACE_PROTOCOL_TYPE: StaticSchema = ( - 14, - n0, - _IPT, - 0, - (_VLAN, _GRE), - ((-1, {_sV: _VLAN}), (-1, {_sV: _GRE})), -) - -TRUNK_INTERFACE_ASSOCIATION: StaticSchema = ( - 18, - n0, - _TIA, - 0, - (_AIs, _BII, _TII, _IPn, _VIl, _GK, _Tag), - ( - (TRUNK_INTERFACE_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs}), - (STRING, {_aQN: _BII, _sN: _bII}), - (STRING, {_aQN: _TII, _sN: _tII}), - (INTERFACE_PROTOCOL_TYPE, {_aQN: _IPn, _sN: _iPn}), - (INTEGER, {_aQN: _VIl, _sN: _vIl}), - (INTEGER, {_aQN: _GK, _sN: _gK}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -ASSOCIATE_TRUNK_INTERFACE_OUTPUT: StaticSchema = ( - 18, - n0, - _ATIO, - {_sSI: _cATIRo, _smit: None}, - (_IAn, _CTl), - ( - (TRUNK_INTERFACE_ASSOCIATION, {_aQN: _IAn, _sN: _iAn}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - ), -) - -ASSOCIATE_TRUNK_INTERFACE: StaticOperationSchema = ( - 23, - n0, - _ATIs, - 0, - ASSOCIATE_TRUNK_INTERFACE_INPUT, - ASSOCIATE_TRUNK_INTERFACE_OUTPUT, - (), -) - -IPV6_POOL_EC2_ID: StaticSchema = (3, n0, _IPEIp, 0) - -ASSOCIATE_VPC_CIDR_BLOCK_INPUT: StaticSchema = ( - 18, - n0, - _AVCBI, - {_sSI: _cAVCBR, _sm: None}, - (_CB, _ICBNBG, _IPpvo, _ICB, _IIPIp, _INLp, _IIPI, _INL, _VI, _APICB), - ( - (STRING, 0), - (STRING, 0), - (IPV6_POOL_EC2_ID, 0), - (STRING, 0), - (IPAM_POOL_ID, 0), - (NETMASK_LENGTH, 0), - (IPAM_POOL_ID, 0), - (NETMASK_LENGTH, 0), - (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), - (BOOLEAN, {_aQN: _APICB, _sN: _aPICB}), - ), -) - -VPC_CIDR_BLOCK_STATE_CODE: StaticSchema = ( - 14, - n0, - _VCBSC, - 0, - (_as, _ass, _di, _dis, _fai, _fa), - ( - (-1, {_sV: _as}), - (-1, {_sV: _ass}), - (-1, {_sV: _di}), - (-1, {_sV: _dis}), - (-1, {_sV: _fai}), - (-1, {_sV: _fa}), - ), -) - -VPC_CIDR_BLOCK_STATE: StaticSchema = ( - 18, - n0, - _VCBS, - 0, - (_St, _SMt), - ( - (VPC_CIDR_BLOCK_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - ), -) - -VPC_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( - 18, - n0, - _VCBA, - 0, - (_AIs, _CB, _CBSi), - ( - (STRING, {_aQN: _AIs, _sN: _aIs}), - (STRING, {_aQN: _CB, _sN: _cB}), - (VPC_CIDR_BLOCK_STATE, {_aQN: _CBSi, _sN: _cBSi}), - ), -) - -VPC_IPV6_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( - 18, - n0, - _VICBA, - 0, - (_AIs, _ICB, _ICBSp, _NBG, _IPpvo, _IAA, _ISp), - ( - (STRING, {_aQN: _AIs, _sN: _aIs}), - (STRING, {_aQN: _ICB, _sN: _iCB}), - (VPC_CIDR_BLOCK_STATE, {_aQN: _ICBSp, _sN: _iCBSp}), - (STRING, {_aQN: _NBG, _sN: _nBG}), - (STRING, {_aQN: _IPpvo, _sN: _iPpv}), - (IPV6_ADDRESS_ATTRIBUTE, {_aQN: _IAA, _sN: _iAA}), - (IP_SOURCE, {_aQN: _ISp, _sN: _iSp}), - ), -) - -ASSOCIATE_VPC_CIDR_BLOCK_OUTPUT: StaticSchema = ( - 18, - n0, - _AVCBO, - {_sSI: _cAVCBRo, _smit: None}, - (_ICBA, _CBA, _VI), - ( - (VPC_IPV6_CIDR_BLOCK_ASSOCIATION, {_aQN: _ICBA, _sN: _iCBA}), - (VPC_CIDR_BLOCK_ASSOCIATION, {_aQN: _CBA, _sN: _cBA}), - (STRING, {_aQN: _VI, _sN: _vI}), - ), -) - -ASSOCIATE_VPC_CIDR_BLOCK: StaticOperationSchema = ( - 23, - n0, - _AVCB, - 0, - ASSOCIATE_VPC_CIDR_BLOCK_INPUT, - ASSOCIATE_VPC_CIDR_BLOCK_OUTPUT, - (), -) - -GROUP_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _GISL, - 0, - (_me,), - ((SECURITY_GROUP_ID, {_sN: _gIr}),), -) - -ATTACH_CLASSIC_LINK_VPC_INPUT: StaticSchema = ( - 18, - n0, - _ACLVI, - {_sSI: _cACLVR, _sm: None}, - (_DR, _II, _VI, _G), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), - (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), - (GROUP_ID_STRING_LIST, {_sN: _SGI, _smi: None}), - ), -) - -ATTACH_CLASSIC_LINK_VPC_OUTPUT: StaticSchema = ( - 18, - n0, - _ACLVO, - {_sSI: _cACLVRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -ATTACH_CLASSIC_LINK_VPC: StaticOperationSchema = ( - 23, - n0, - _ACLV, - 0, - ATTACH_CLASSIC_LINK_VPC_INPUT, - ATTACH_CLASSIC_LINK_VPC_OUTPUT, - (), -) - -IMAGE_ID: StaticSchema = (3, n0, _IIm, 0) - -IMAGE_WATERMARK_NAME_REQUEST: StaticSchema = (3, n0, _IWNR, 0) - -ATTACH_IMAGE_WATERMARK_INPUT: StaticSchema = ( - 18, - n0, - _AIWI, - {_sSI: _cAIWR, _sm: None}, - (_IIm, _WN, _DR), - ((IMAGE_ID, 1), (IMAGE_WATERMARK_NAME_REQUEST, 1), (BOOLEAN, 0)), -) - -ATTACH_IMAGE_WATERMARK_OUTPUT: StaticSchema = ( - 18, - n0, - _AIWO, - {_sSI: _cAIWRo, _smit: None}, - (_WK,), - ((STRING, {_aQN: _WK, _sN: _wK}),), -) - -ATTACH_IMAGE_WATERMARK: StaticOperationSchema = ( - 23, - n0, - _AIW, - 0, - ATTACH_IMAGE_WATERMARK_INPUT, - ATTACH_IMAGE_WATERMARK_OUTPUT, - (), -) - -INTERNET_GATEWAY_ID: StaticSchema = (3, n0, _IGI, 0) - -ATTACH_INTERNET_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _AIGI, - {_sSI: _cAIGR, _sm: None}, - (_DR, _IGI, _VI), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INTERNET_GATEWAY_ID, {_aQN: _IGI, _sN: _iGI, _smi: None}), - (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), - ), -) - -ATTACH_INTERNET_GATEWAY_OUTPUT: StaticSchema = (18, n0, _AIGO, {_sSI: _sU, _smit: None}) - -ATTACH_INTERNET_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _AIG, - 0, - ATTACH_INTERNET_GATEWAY_INPUT, - ATTACH_INTERNET_GATEWAY_OUTPUT, - (), -) - -ENA_SRD_UDP_SPECIFICATION: StaticSchema = (18, n0, _ESUS, 0, (_ESUE,), ((BOOLEAN, 0),)) - -ENA_SRD_SPECIFICATION: StaticSchema = ( - 18, - n0, - _ESS, - 0, - (_ESE, _ESUS), - ((BOOLEAN, 0), (ENA_SRD_UDP_SPECIFICATION, 0)), -) - -ATTACH_NETWORK_INTERFACE_INPUT: StaticSchema = ( - 18, - n0, - _ANII, - {_sSI: _cANIR, _sm: None}, - (_NCI, _ESS, _EQC, _DR, _NII, _II, _DI), - ( - (INTEGER, 0), - (ENA_SRD_SPECIFICATION, 0), - (INTEGER, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), - (INTEGER, {_aQN: _DI, _sN: _dI, _smi: None}), - ), -) - -ATTACH_NETWORK_INTERFACE_OUTPUT: StaticSchema = ( - 18, - n0, - _ANIO, - {_sSI: _cANIRo, _smit: None}, - (_AIt, _NCI), - ((STRING, {_aQN: _AIt, _sN: _aIt}), (INTEGER, {_aQN: _NCI, _sN: _nCI})), -) - -ATTACH_NETWORK_INTERFACE: StaticOperationSchema = ( - 23, - n0, - _ANI, - 0, - ATTACH_NETWORK_INTERFACE_INPUT, - ATTACH_NETWORK_INTERFACE_OUTPUT, - (), -) - -VERIFIED_ACCESS_INSTANCE_ID: StaticSchema = (3, n0, _VAII, 0) - -VERIFIED_ACCESS_TRUST_PROVIDER_ID: StaticSchema = (3, n0, _VATPI, 0) - -ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _AVATPI, - {_sSI: _cAVATPR, _sm: None}, - (_VAII, _VATPI, _CTl, _DR), - ( - (VERIFIED_ACCESS_INSTANCE_ID, 1), - (VERIFIED_ACCESS_TRUST_PROVIDER_ID, 1), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -VERIFIED_ACCESS_INSTANCE_CUSTOM_SUB_DOMAIN: StaticSchema = ( - 18, - n0, - _VAICSD, - 0, - (_SD, _Na), - ((STRING, {_aQN: _SD, _sN: _sD}), (VALUE_STRING_LIST, {_aQN: _NS, _sN: _nS})), -) - -DEVICE_TRUST_PROVIDER_TYPE: StaticSchema = ( - 14, - n0, - _DTPT, - 0, - (_j, _cro, _ju), - ((-1, {_sV: _j}), (-1, {_sV: _cro}), (-1, {_sV: _ju})), -) - -TRUST_PROVIDER_TYPE: StaticSchema = ( - 14, - n0, - _TPT, - 0, - (_use, _dev), - ((-1, {_sV: _use}), (-1, {_sV: _dev})), -) - -USER_TRUST_PROVIDER_TYPE: StaticSchema = ( - 14, - n0, - _UTPT, - 0, - (_iic, _oi), - ((-1, {_sV: _iic_}), (-1, {_sV: _oi})), -) - -VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED: StaticSchema = ( - 18, - n0, - _VATPC, - 0, - (_VATPI, _Des, _TPT, _UTPT, _DTPT), - ( - (STRING, {_aQN: _VATPI, _sN: _vATPI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (TRUST_PROVIDER_TYPE, {_aQN: _TPT, _sN: _tPT}), - (USER_TRUST_PROVIDER_TYPE, {_aQN: _UTPT, _sN: _uTPT}), - (DEVICE_TRUST_PROVIDER_TYPE, {_aQN: _DTPT, _sN: _dTPT}), - ), -) - -VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED_LIST: StaticSchema = ( - 16, - n0, - _VATPCL, - 0, - (_me,), - ((VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED, {_sN: _i}),), -) - -VERIFIED_ACCESS_INSTANCE: StaticSchema = ( - 18, - n0, - _VAI, - 0, - (_VAII, _Des, _VATP, _CT, _LUTa, _Tag, _FE, _CECSD), - ( - (STRING, {_aQN: _VAII, _sN: _vAII}), - (STRING, {_aQN: _Des, _sN: _desc}), - (VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED_LIST, {_aQN: _VATPS, _sN: _vATPS}), - (STRING, {_aQN: _CT, _sN: _cT}), - (STRING, {_aQN: _LUTa, _sN: _lUTa}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (BOOLEAN, {_aQN: _FE, _sN: _fE}), - (VERIFIED_ACCESS_INSTANCE_CUSTOM_SUB_DOMAIN, {_aQN: _CECSD, _sN: _cECSD}), - ), -) - -DEVICE_OPTIONS: StaticSchema = ( - 18, - n0, - _DO, - 0, - (_TI, _PSKU), - ((STRING, {_aQN: _TI, _sN: _tI}), (STRING, {_aQN: _PSKU, _sN: _pSKU})), -) - -NATIVE_APPLICATION_OIDC_OPTIONS: StaticSchema = ( - 18, - n0, - _NAOO, - 0, - (_PSKE, _Is, _AE, _TE, _UIEs, _CIl, _Sc), - ( - (STRING, {_aQN: _PSKE, _sN: _pSKE}), - (STRING, {_aQN: _Is, _sN: _iss}), - (STRING, {_aQN: _AE, _sN: _aE}), - (STRING, {_aQN: _TE, _sN: _tE}), - (STRING, {_aQN: _UIEs, _sN: _uIE}), - (STRING, {_aQN: _CIl, _sN: _cIl}), - (STRING, {_aQN: _Sc, _sN: _sc}), - ), -) - -CLIENT_SECRET_TYPE: StaticSchema = (3, n0, _CST, 4) - -OIDC_OPTIONS: StaticSchema = ( - 18, - n0, - _OO, - 0, - (_Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), - ( - (STRING, {_aQN: _Is, _sN: _iss}), - (STRING, {_aQN: _AE, _sN: _aE}), - (STRING, {_aQN: _TE, _sN: _tE}), - (STRING, {_aQN: _UIEs, _sN: _uIE}), - (STRING, {_aQN: _CIl, _sN: _cIl}), - (CLIENT_SECRET_TYPE, {_aQN: _CSl, _sN: _cSl}), - (STRING, {_aQN: _Sc, _sN: _sc}), - ), -) - -KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) - -VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE: StaticSchema = ( - 18, - n0, - _VASSR, - 0, - (_CMKE, _KKA), - ((BOOLEAN, {_aQN: _CMKE, _sN: _cMKE}), (KMS_KEY_ARN, {_aQN: _KKA, _sN: _kKA})), -) - -VERIFIED_ACCESS_TRUST_PROVIDER: StaticSchema = ( - 18, - n0, - _VATPe, - 0, - (_VATPI, _Des, _TPT, _UTPT, _DTPT, _OO, _DO, _PRN, _CT, _LUTa, _Tag, _SSs, _NAOO), - ( - (STRING, {_aQN: _VATPI, _sN: _vATPI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (TRUST_PROVIDER_TYPE, {_aQN: _TPT, _sN: _tPT}), - (USER_TRUST_PROVIDER_TYPE, {_aQN: _UTPT, _sN: _uTPT}), - (DEVICE_TRUST_PROVIDER_TYPE, {_aQN: _DTPT, _sN: _dTPT}), - (OIDC_OPTIONS, {_aQN: _OO, _sN: _oO}), - (DEVICE_OPTIONS, {_aQN: _DO, _sN: _dO}), - (STRING, {_aQN: _PRN, _sN: _pRN}), - (STRING, {_aQN: _CT, _sN: _cT}), - (STRING, {_aQN: _LUTa, _sN: _lUTa}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, {_aQN: _SSs, _sN: _sSs}), - (NATIVE_APPLICATION_OIDC_OPTIONS, {_aQN: _NAOO, _sN: _nAOO}), - ), -) - -ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _AVATPO, - {_sSI: _cAVATPRo, _smit: None}, - (_VATPe, _VAI), - ( - (VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}), - (VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}), - ), -) - -ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _AVATP, - 0, - ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, - ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, - (), -) - -BOXED_INTEGER: StaticSchema = (7, n0, _BI, 0) - -VOLUME_ID: StaticSchema = (3, n0, _VIo, 0) - -ATTACH_VOLUME_INPUT: StaticSchema = ( - 18, - n0, - _AVIt, - {_sSI: _cAVR, _sm: None}, - (_Dev, _II, _VIo, _ECI, _DR), - ( - (STRING, 1), - (INSTANCE_ID, 1), - (VOLUME_ID, 1), - (BOXED_INTEGER, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -VOLUME_ATTACHMENT_STATE: StaticSchema = ( - 14, - n0, - _VAS, - 0, - (_at, _att, _det, _deta, _bu), - ( - (-1, {_sV: _at}), - (-1, {_sV: _att}), - (-1, {_sV: _det}), - (-1, {_sV: _deta}), - (-1, {_sV: _bu}), - ), -) - -ATTACH_VOLUME_OUTPUT: StaticSchema = ( - 18, - n0, - _AVO, - {_sSI: _cVA, _smit: None}, - (_DOT, _ARs, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt), - ( - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (STRING, {_aQN: _ARs, _sN: _aRs}), - (STRING, {_aQN: _IOS, _sN: _iOS}), - (INTEGER, {_aQN: _ECI, _sN: _eCI}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _Dev, _sN: _dev}), - (VOLUME_ATTACHMENT_STATE, {_aQN: _Sta, _sN: _sta}), - (DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), - ), -) - -ATTACH_VOLUME: StaticOperationSchema = ( - 23, - n0, - _AVtt, - 0, - ATTACH_VOLUME_INPUT, - ATTACH_VOLUME_OUTPUT, - (), -) - -VPN_GATEWAY_ID: StaticSchema = (3, n0, _VGI, 0) - -ATTACH_VPN_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _AVGI, - {_sSI: _cAVGR, _sm: None}, - (_VI, _VGI, _DR), - ((VPC_ID, 1), (VPN_GATEWAY_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -ATTACHMENT_STATUS: StaticSchema = ( - 14, - n0, - _ASt, - 0, - (_at, _att, _det, _deta), - ((-1, {_sV: _at}), (-1, {_sV: _att}), (-1, {_sV: _det}), (-1, {_sV: _deta})), -) - -VPC_ATTACHMENT: StaticSchema = ( - 18, - n0, - _VA, - 0, - (_VI, _St), - ((STRING, {_aQN: _VI, _sN: _vI}), (ATTACHMENT_STATUS, {_aQN: _St, _sN: _st})), -) - -ATTACH_VPN_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _AVGO, - {_sSI: _cAVGRo, _smit: None}, - (_VA,), - ((VPC_ATTACHMENT, {_aQN: _At, _sN: _atta}),), -) - -ATTACH_VPN_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _AVG, - 0, - ATTACH_VPN_GATEWAY_INPUT, - ATTACH_VPN_GATEWAY_OUTPUT, - (), -) - -AUTHORIZE_CLIENT_VPN_INGRESS_INPUT: StaticSchema = ( - 18, - n0, - _ACVII, - {_sSI: _cACVIR, _sm: None}, - (_CVEI, _TNC, _AGI, _AAG, _Des, _CTl, _DR), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (STRING, 1), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -CLIENT_VPN_AUTHORIZATION_RULE_STATUS_CODE: StaticSchema = ( - 14, - n0, - _CVARSC, - 0, - (_au, _act, _fa, _rev), - ((-1, {_sV: _au}), (-1, {_sV: _act}), (-1, {_sV: _fa}), (-1, {_sV: _rev})), -) - -CLIENT_VPN_AUTHORIZATION_RULE_STATUS: StaticSchema = ( - 18, - n0, - _CVARS, - 0, - (_C, _Me), - ( - (CLIENT_VPN_AUTHORIZATION_RULE_STATUS_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -AUTHORIZE_CLIENT_VPN_INGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _ACVIO, - {_sSI: _cACVIRo, _smit: None}, - (_Sta,), - ((CLIENT_VPN_AUTHORIZATION_RULE_STATUS, {_aQN: _Sta, _sN: _sta}),), -) - -AUTHORIZE_CLIENT_VPN_INGRESS: StaticOperationSchema = ( - 23, - n0, - _ACVI, - 0, - AUTHORIZE_CLIENT_VPN_INGRESS_INPUT, - AUTHORIZE_CLIENT_VPN_INGRESS_OUTPUT, - (), -) - -IP_RANGE: StaticSchema = ( - 18, - n0, - _IRp, - 0, - (_Des, _CIi), - ((STRING, {_aQN: _Des, _sN: _desc}), (STRING, {_aQN: _CIi, _sN: _cIi})), -) - -IP_RANGE_LIST: StaticSchema = (16, n0, _IRL, 0, (_me,), ((IP_RANGE, {_sN: _i}),)) - -IPV6_RANGE: StaticSchema = ( - 18, - n0, - _IRpv, - 0, - (_Des, _CIid), - ((STRING, {_aQN: _Des, _sN: _desc}), (STRING, {_aQN: _CIid, _sN: _cIid})), -) - -IPV6_RANGE_LIST: StaticSchema = (16, n0, _IRLp, 0, (_me,), ((IPV6_RANGE, {_sN: _i}),)) - -PREFIX_LIST_ID: StaticSchema = ( - 18, - n0, - _PLI, - 0, - (_Des, _PLI), - ((STRING, {_aQN: _Des, _sN: _desc}), (STRING, {_aQN: _PLI, _sN: _pLI})), -) - -PREFIX_LIST_ID_LIST: StaticSchema = ( - 16, - n0, - _PLIL, - 0, - (_me,), - ((PREFIX_LIST_ID, {_sN: _i}),), -) - -USER_ID_GROUP_PAIR: StaticSchema = ( - 18, - n0, - _UIGP, - 0, - (_Des, _UIs, _GN, _GIr, _VI, _VPCI, _PSe), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _UIs, _sN: _uI}), - (STRING, {_aQN: _GN, _sN: _gN}), - (STRING, {_aQN: _GIr, _sN: _gIr}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _VPCI, _sN: _vPCI}), - (STRING, {_aQN: _PSe, _sN: _pSe}), - ), -) - -USER_ID_GROUP_PAIR_LIST: StaticSchema = ( - 16, - n0, - _UIGPL, - 0, - (_me,), - ((USER_ID_GROUP_PAIR, {_sN: _i}),), -) - -IP_PERMISSION: StaticSchema = ( - 18, - n0, - _IPpe, - 0, - (_IPpr, _FP, _TP, _UIGPs, _IRpa, _IRpva, _PLIr), - ( - (STRING, {_aQN: _IPpr, _sN: _iPpr}), - (INTEGER, {_aQN: _FP, _sN: _fP}), - (INTEGER, {_aQN: _TP, _sN: _tP}), - (USER_ID_GROUP_PAIR_LIST, {_aQN: _G, _sN: _gr}), - (IP_RANGE_LIST, {_aQN: _IRpa, _sN: _iRpa}), - (IPV6_RANGE_LIST, {_aQN: _IRpva, _sN: _iRpv}), - (PREFIX_LIST_ID_LIST, {_aQN: _PLIr, _sN: _pLIr}), - ), -) - -IP_PERMISSION_LIST: StaticSchema = ( - 16, - n0, - _IPLpe, - 0, - (_me,), - ((IP_PERMISSION, {_sN: _i}),), -) - -AUTHORIZE_SECURITY_GROUP_EGRESS_INPUT: StaticSchema = ( - 18, - n0, - _ASGEI, - {_sSI: _cASGER, _sm: None}, - (_TSa, _DR, _GIr, _SSGN, _SSGOI, _IPpr, _FP, _TP, _CIi, _IPper), - ( - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr, _smi: None}), - (STRING, {_aQN: _SSGN, _sN: _sSGN}), - (STRING, {_aQN: _SSGOI, _sN: _sSGOI}), - (STRING, {_aQN: _IPpr, _sN: _iPpr}), - (INTEGER, {_aQN: _FP, _sN: _fP}), - (INTEGER, {_aQN: _TP, _sN: _tP}), - (STRING, {_aQN: _CIi, _sN: _cIi}), - (IP_PERMISSION_LIST, {_aQN: _IPper, _sN: _iPpe}), - ), -) - -PREFIX_LIST_RESOURCE_ID: StaticSchema = (3, n0, _PLRI, 0) - -REFERENCED_SECURITY_GROUP: StaticSchema = ( - 18, - n0, - _RSG, - 0, - (_GIr, _PSe, _UIs, _VI, _VPCI), - ( - (STRING, {_aQN: _GIr, _sN: _gIr}), - (STRING, {_aQN: _PSe, _sN: _pSe}), - (STRING, {_aQN: _UIs, _sN: _uI}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _VPCI, _sN: _vPCI}), - ), -) - -SECURITY_GROUP_RULE_ID: StaticSchema = (3, n0, _SGRI, 0) - -SECURITY_GROUP_RULE: StaticSchema = ( - 18, - n0, - _SGR, - 0, - ( - _SGRI, - _GIr, - _GOI, - _IE, - _IPpr, - _FP, - _TP, - _CIidr, - _CIid, - _PLI, - _RGIe, - _Des, - _Tag, - _SGRA, - ), - ( - (SECURITY_GROUP_RULE_ID, {_aQN: _SGRI, _sN: _sGRI}), - (SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), - (STRING, {_aQN: _GOI, _sN: _gOI}), - (BOOLEAN, {_aQN: _IE, _sN: _iE}), - (STRING, {_aQN: _IPpr, _sN: _iPpr}), - (INTEGER, {_aQN: _FP, _sN: _fP}), - (INTEGER, {_aQN: _TP, _sN: _tP}), - (STRING, {_aQN: _CIidr, _sN: _cIidr}), - (STRING, {_aQN: _CIid, _sN: _cIid}), - (PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), - (REFERENCED_SECURITY_GROUP, {_aQN: _RGIe, _sN: _rGI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _SGRA, _sN: _sGRA}), - ), -) - -SECURITY_GROUP_RULE_LIST: StaticSchema = ( - 16, - n0, - _SGRL, - 0, - (_me,), - ((SECURITY_GROUP_RULE, {_sN: _i}),), -) - -AUTHORIZE_SECURITY_GROUP_EGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _ASGEO, - {_sSI: _cASGERo, _smit: None}, - (_R, _SGRe), - ( - (BOOLEAN, {_aQN: _R, _sN: _r}), - (SECURITY_GROUP_RULE_LIST, {_aQN: _SGRSe, _sN: _sGRSe}), - ), -) - -AUTHORIZE_SECURITY_GROUP_EGRESS: StaticOperationSchema = ( - 23, - n0, - _ASGE, - 0, - AUTHORIZE_SECURITY_GROUP_EGRESS_INPUT, - AUTHORIZE_SECURITY_GROUP_EGRESS_OUTPUT, - (), -) - -SECURITY_GROUP_NAME: StaticSchema = (3, n0, _SGN, 0) - -AUTHORIZE_SECURITY_GROUP_INGRESS_INPUT: StaticSchema = ( - 18, - n0, - _ASGII, - {_sSI: _cASGIR, _sm: None}, - (_CIi, _FP, _GIr, _GN, _IPper, _IPpr, _SSGN, _SSGOI, _TP, _TSa, _DR), - ( - (STRING, 0), - (INTEGER, 0), - (SECURITY_GROUP_ID, 0), - (SECURITY_GROUP_NAME, 0), - (IP_PERMISSION_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -AUTHORIZE_SECURITY_GROUP_INGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _ASGIO, - {_sSI: _cASGIRo, _smit: None}, - (_R, _SGRe), - ( - (BOOLEAN, {_aQN: _R, _sN: _r}), - (SECURITY_GROUP_RULE_LIST, {_aQN: _SGRSe, _sN: _sGRSe}), - ), -) - -AUTHORIZE_SECURITY_GROUP_INGRESS: StaticOperationSchema = ( - 23, - n0, - _ASGI, - 0, - AUTHORIZE_SECURITY_GROUP_INGRESS_INPUT, - AUTHORIZE_SECURITY_GROUP_INGRESS_OUTPUT, - (), -) - -BOXED_BOOLEAN: StaticSchema = (2, n0, _BB, 0) - -IPAM_INTERNET_REGISTRY_ASSOCIATION_ID: StaticSchema = (3, n0, _IIRAI, 0) - -BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT: StaticSchema = ( - 18, - n0, - _BMIRPRI, - {_sSI: _cBMIRPRR, _sm: None}, - (_DR, _IIRAI, _DJ, _Fo, _CTl), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (STRING, 1), - (BOXED_BOOLEAN, 0), - (STRING, 2), - ), -) - -IPAM_ROUTING_POLICY_REGISTRATION_DELTA_STATE: StaticSchema = ( - 14, - n0, - _IRPRDS, - 0, - (_p, _pub, _fa), - ((-1, {_sV: _p}), (-1, {_sV: _pub}), (-1, {_sV: _fa})), -) - -IPAM_ROUTING_POLICY_REGISTRATION_DELTA: StaticSchema = ( - 18, - n0, - _IRPRD, - 0, - (_DIe, _DJ, _St, _SMta), - ( - (STRING, {_aQN: _DIe, _sN: _dIe}), - (STRING, {_aQN: _DJ, _sN: _dJ}), - (IPAM_ROUTING_POLICY_REGISTRATION_DELTA_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - ), -) - -BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _BMIRPRO, - {_sSI: _cBMIRPRRo, _smit: None}, - (_IRPRD,), - ((IPAM_ROUTING_POLICY_REGISTRATION_DELTA, {_aQN: _IRPRD, _sN: _iRPRD}),), -) - -BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS: StaticOperationSchema = ( - 23, - n0, - _BMIRPR, - 0, - BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT, - BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT, - (), -) - -SECURE_BLOB: StaticSchema = (1, n0, _SB, 4) - -S3_STORAGE_UPLOAD_POLICY_SIGNATURE: StaticSchema = (3, n0, _SSUPS, 4) - -S3_STORAGE: StaticSchema = ( - 18, - n0, - _SSt, - 0, - (_AWSAKI, _Bu, _Pre, _UP, _UPS), - ( - (STRING, 0), - (STRING, {_aQN: _Bu, _sN: _buc}), - (STRING, {_aQN: _Pre, _sN: _pre}), - (SECURE_BLOB, {_aQN: _UP, _sN: _uP}), - (S3_STORAGE_UPLOAD_POLICY_SIGNATURE, {_aQN: _UPS, _sN: _uPS}), - ), -) - -STORAGE: StaticSchema = (18, n0, _Sto, 0, (_S_,), ((S3_STORAGE, {_sN: _S_}),)) - -BUNDLE_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _BIIu, - {_sSI: _cBIR, _sm: None}, - (_II, _Sto, _DR), - ((INSTANCE_ID, 1), (STORAGE, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -BUNDLE_TASK_ERROR: StaticSchema = ( - 18, - n0, - _BTE, - 0, - (_C, _Me), - ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -BUNDLE_TASK_STATE: StaticSchema = ( - 14, - n0, - _BTS, - 0, - (_p, _wfs, _bun, _sto, _ca, _comp, _fa), - ( - (-1, {_sV: _p}), - (-1, {_sV: _wfs_}), - (-1, {_sV: _bun}), - (-1, {_sV: _sto}), - (-1, {_sV: _ca}), - (-1, {_sV: _comp}), - (-1, {_sV: _fa}), - ), -) - -BUNDLE_TASK: StaticSchema = ( - 18, - n0, - _BT, - 0, - (_II, _BIu, _St, _ST, _UT, _Sto, _Prog, _BTE), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _BIu, _sN: _bI}), - (BUNDLE_TASK_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (DATE_TIME, {_aQN: _UT, _sN: _uT}), - (STORAGE, {_aQN: _Sto, _sN: _stor}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (BUNDLE_TASK_ERROR, {_aQN: _E, _sN: _er}), - ), -) - -BUNDLE_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _BIO, - {_sSI: _cBIRo, _smit: None}, - (_BT,), - ((BUNDLE_TASK, {_aQN: _BIT, _sN: _bIT}),), -) - -BUNDLE_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _BIun, - 0, - BUNDLE_INSTANCE_INPUT, - BUNDLE_INSTANCE_OUTPUT, - (), -) - -BUNDLE_ID: StaticSchema = (3, n0, _BIu, 0) - -CANCEL_BUNDLE_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CBTI, - {_sSI: _cCBTR, _sm: None}, - (_BIu, _DR), - ((BUNDLE_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -CANCEL_BUNDLE_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CBTO, - {_sSI: _cCBTRo, _smit: None}, - (_BT,), - ((BUNDLE_TASK, {_aQN: _BIT, _sN: _bIT}),), -) - -CANCEL_BUNDLE_TASK: StaticOperationSchema = ( - 23, - n0, - _CBT, - 0, - CANCEL_BUNDLE_TASK_INPUT, - CANCEL_BUNDLE_TASK_OUTPUT, - (), -) - -APPLY_CANCELLATION_CHARGES: StaticSchema = ( - 14, - n0, - _ACC, - 0, - (_CWD,), - ((-1, {_sV: _cwd}),), -) - -CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID: StaticSchema = (3, n0, _CRCQI, 0) - -CANCEL_CAPACITY_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _CCRI, - {_sSI: _cCCRR, _sm: None}, - (_CRI, _DR, _ACC, _QI), - ( - (CAPACITY_RESERVATION_ID, 1), - (BOOLEAN, 0), - (APPLY_CANCELLATION_CHARGES, 0), - (CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID, 0), - ), -) - -CANCEL_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CCRO, - {_sSI: _cCCRRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -CANCEL_CAPACITY_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _CCR, - 0, - CANCEL_CAPACITY_RESERVATION_INPUT, - CANCEL_CAPACITY_RESERVATION_OUTPUT, - (), -) - -CAPACITY_RESERVATION_FLEET_ID: StaticSchema = (3, n0, _CRFI, 0) - -CAPACITY_RESERVATION_FLEET_ID_SET: StaticSchema = ( - 16, - n0, - _CRFIS, - 0, - (_me,), - ((CAPACITY_RESERVATION_FLEET_ID, {_sN: _i}),), -) - -CANCEL_CAPACITY_RESERVATION_FLEETS_INPUT: StaticSchema = ( - 18, - n0, - _CCRFI, - {_sSI: _cCCRFR, _sm: None}, - (_DR, _CRFIa), - ((BOOLEAN, 0), (CAPACITY_RESERVATION_FLEET_ID_SET, {_sN: _CRFI, _smi: None})), -) - -CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_CODE: StaticSchema = (3, n0, _CCRFEC, 0) - -CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_MESSAGE: StaticSchema = (3, n0, _CCRFEM, 0) - -CANCEL_CAPACITY_RESERVATION_FLEET_ERROR: StaticSchema = ( - 18, - n0, - _CCRFE, - 0, - (_C, _Me), - ( - (CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_CODE, {_aQN: _C, _sN: _co}), - (CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_MESSAGE, {_aQN: _Me, _sN: _mes}), - ), -) - -FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT: StaticSchema = ( - 18, - n0, - _FCRFCR, - 0, - (_CRFI, _CCRFE), - ( - (CAPACITY_RESERVATION_FLEET_ID, {_aQN: _CRFI, _sN: _cRFI}), - (CANCEL_CAPACITY_RESERVATION_FLEET_ERROR, {_aQN: _CCRFE, _sN: _cCRFE}), - ), -) - -FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT_SET: StaticSchema = ( - 16, - n0, - _FCRFCRS, - 0, - (_me,), - ((FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT, {_sN: _i}),), -) - -CAPACITY_RESERVATION_FLEET_STATE: StaticSchema = ( - 14, - n0, - _CRFS, - 0, - ( - _SUBMITTED, - _MODIFYING, - _ACTIVE, - _PF__, - _EXPIRING, - _EXPIRED, - _CANCELLING, - _CANCELLED, - _FAILED, - ), - ( - (-1, {_sV: _subm}), - (-1, {_sV: _mo}), - (-1, {_sV: _act}), - (-1, {_sV: _pf___}), - (-1, {_sV: _exp}), - (-1, {_sV: _ex}), - (-1, {_sV: _ca}), - (-1, {_sV: _can}), - (-1, {_sV: _fa}), - ), -) - -CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE: StaticSchema = ( - 18, - n0, - _CRFCS, - 0, - (_CFS, _PFS, _CRFI), - ( - (CAPACITY_RESERVATION_FLEET_STATE, {_aQN: _CFS, _sN: _cFS}), - (CAPACITY_RESERVATION_FLEET_STATE, {_aQN: _PFS, _sN: _pFS}), - (CAPACITY_RESERVATION_FLEET_ID, {_aQN: _CRFI, _sN: _cRFI}), - ), -) - -CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE_SET: StaticSchema = ( - 16, - n0, - _CRFCSS, - 0, - (_me,), - ((CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE, {_sN: _i}),), -) - -CANCEL_CAPACITY_RESERVATION_FLEETS_OUTPUT: StaticSchema = ( - 18, - n0, - _CCRFO, - {_sSI: _cCCRFRo, _smit: None}, - (_SFC, _FFC), - ( - (CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE_SET, {_aQN: _SFCS, _sN: _sFCS}), - ( - FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT_SET, - {_aQN: _FFCS, _sN: _fFCS}, - ), - ), -) - -CANCEL_CAPACITY_RESERVATION_FLEETS: StaticOperationSchema = ( - 23, - n0, - _CCRF, - 0, - CANCEL_CAPACITY_RESERVATION_FLEETS_INPUT, - CANCEL_CAPACITY_RESERVATION_FLEETS_OUTPUT, - (), -) - -CONVERSION_TASK_ID: StaticSchema = (3, n0, _CTI, 0) - -CANCEL_CONVERSION_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CCTI, - {_sSI: _cCCR, _sm: None}, - (_DR, _CTI, _RM), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (CONVERSION_TASK_ID, {_aQN: _CTI, _sN: _cTI, _smi: None}), - (STRING, {_aQN: _RM, _sN: _rM}), - ), -) - -CANCEL_CONVERSION_TASK_OUTPUT: StaticSchema = (18, n0, _CCTO, {_sSI: _sU, _smit: None}) - -CANCEL_CONVERSION_TASK: StaticOperationSchema = ( - 23, - n0, - _CCT, - 0, - CANCEL_CONVERSION_TASK_INPUT, - CANCEL_CONVERSION_TASK_OUTPUT, - (), -) - -DECLARATIVE_POLICIES_REPORT_ID: StaticSchema = (3, n0, _DPRI, 0) - -CANCEL_DECLARATIVE_POLICIES_REPORT_INPUT: StaticSchema = ( - 18, - n0, - _CDPRI, - {_sSI: _cCDPRR, _sm: None}, - (_DR, _RIep), - ((BOOLEAN, 0), (DECLARATIVE_POLICIES_REPORT_ID, 1)), -) - -CANCEL_DECLARATIVE_POLICIES_REPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDPRO, - {_sSI: _cCDPRRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -CANCEL_DECLARATIVE_POLICIES_REPORT: StaticOperationSchema = ( - 23, - n0, - _CDPR, - 0, - CANCEL_DECLARATIVE_POLICIES_REPORT_INPUT, - CANCEL_DECLARATIVE_POLICIES_REPORT_OUTPUT, - (), -) - -EXPORT_VM_TASK_ID: StaticSchema = (3, n0, _EVTI, 0) - -CANCEL_EXPORT_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CETI, - {_sSI: _cCETR, _sm: None}, - (_ETI,), - ((EXPORT_VM_TASK_ID, {_aQN: _ETI, _sN: _eTI, _smi: None}),), -) - -CANCEL_EXPORT_TASK_OUTPUT: StaticSchema = (18, n0, _CETO, {_sSI: _sU, _smit: None}) - -CANCEL_EXPORT_TASK: StaticOperationSchema = ( - 23, - n0, - _CET, - 0, - CANCEL_EXPORT_TASK_INPUT, - CANCEL_EXPORT_TASK_OUTPUT, - (), -) - -CANCEL_IMAGE_LAUNCH_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _CILPI, - {_sSI: _cCILPR, _sm: None}, - (_IIm, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0)), -) - -CANCEL_IMAGE_LAUNCH_PERMISSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CILPO, - {_sSI: _cCILPRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -CANCEL_IMAGE_LAUNCH_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _CILP, - 0, - CANCEL_IMAGE_LAUNCH_PERMISSION_INPUT, - CANCEL_IMAGE_LAUNCH_PERMISSION_OUTPUT, - (), -) - -IMPORT_TASK_ID: StaticSchema = (3, n0, _ITI, 0) - -CANCEL_IMPORT_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CITI, - {_sSI: _cCITR, _sm: None}, - (_CRa, _DR, _ITI), - ((STRING, 0), (BOOLEAN, 0), (IMPORT_TASK_ID, 0)), -) - -CANCEL_IMPORT_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CITO, - {_sSI: _cCITRo, _smit: None}, - (_ITI, _PSre, _St), - ( - (STRING, {_aQN: _ITI, _sN: _iTI}), - (STRING, {_aQN: _PSre, _sN: _pSre}), - (STRING, {_aQN: _St, _sN: _st}), - ), -) - -CANCEL_IMPORT_TASK: StaticOperationSchema = ( - 23, - n0, - _CIT, - 0, - CANCEL_IMPORT_TASK_INPUT, - CANCEL_IMPORT_TASK_OUTPUT, - (), -) - -RESERVED_INSTANCES_LISTING_ID: StaticSchema = (3, n0, _RILI, 0) - -CANCEL_RESERVED_INSTANCES_LISTING_INPUT: StaticSchema = ( - 18, - n0, - _CRILI, - {_sSI: _cCRILR, _sm: None}, - (_RILI,), - ((RESERVED_INSTANCES_LISTING_ID, {_aQN: _RILI, _sN: _rILI, _smi: None}),), -) - -LISTING_STATE: StaticSchema = ( - 14, - n0, - _LSi, - 0, - (_av, _sol, _can, _p), - ((-1, {_sV: _av}), (-1, {_sV: _sol}), (-1, {_sV: _can}), (-1, {_sV: _p})), -) - -INSTANCE_COUNT: StaticSchema = ( - 18, - n0, - _IC, - 0, - (_IC, _St), - ((INTEGER, {_aQN: _IC, _sN: _iC}), (LISTING_STATE, {_aQN: _St, _sN: _st})), -) - -INSTANCE_COUNT_LIST: StaticSchema = ( - 16, - n0, - _ICL, - 0, - (_me,), - ((INSTANCE_COUNT, {_sN: _i}),), -) - -CURRENCY_CODE_VALUES: StaticSchema = (14, n0, _CCV, 0, (_USD,), ((-1, {_sV: _USD}),)) - -DOUBLE: StaticSchema = (10, n0, _Dou, 0) - -LONG: StaticSchema = (8, n0, _Lo, 0) - -PRICE_SCHEDULE: StaticSchema = ( - 18, - n0, - _PSri, - 0, - (_Act, _CC, _Pric, _Te), - ( - (BOOLEAN, {_aQN: _Act, _sN: _act}), - (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), - (DOUBLE, {_aQN: _Pric, _sN: _pric}), - (LONG, {_aQN: _Te, _sN: _te}), - ), -) - -PRICE_SCHEDULE_LIST: StaticSchema = ( - 16, - n0, - _PSL, - 0, - (_me,), - ((PRICE_SCHEDULE, {_sN: _i}),), -) - -LISTING_STATUS: StaticSchema = ( - 14, - n0, - _LSis, - 0, - (_act, _p, _can, _cl), - ((-1, {_sV: _act}), (-1, {_sV: _p}), (-1, {_sV: _can}), (-1, {_sV: _cl})), -) - -RESERVED_INSTANCES_LISTING: StaticSchema = ( - 18, - n0, - _RIL, - 0, - (_CTl, _CD, _ICn, _PSric, _RIIes, _RILI, _Sta, _SMt, _Tag, _UD), - ( - (STRING, {_aQN: _CTl, _sN: _cTl}), - (DATE_TIME, {_aQN: _CD, _sN: _cD}), - (INSTANCE_COUNT_LIST, {_aQN: _ICn, _sN: _iCn}), - (PRICE_SCHEDULE_LIST, {_aQN: _PSric, _sN: _pSri}), - (STRING, {_aQN: _RIIes, _sN: _rII}), - (STRING, {_aQN: _RILI, _sN: _rILI}), - (LISTING_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (DATE_TIME, {_aQN: _UD, _sN: _uD}), - ), -) - -RESERVED_INSTANCES_LISTING_LIST: StaticSchema = ( - 16, - n0, - _RILL, - 0, - (_me,), - ((RESERVED_INSTANCES_LISTING, {_sN: _i}),), -) - -CANCEL_RESERVED_INSTANCES_LISTING_OUTPUT: StaticSchema = ( - 18, - n0, - _CRILO, - {_sSI: _cCRILRo, _smit: None}, - (_RILe,), - ((RESERVED_INSTANCES_LISTING_LIST, {_aQN: _RILS, _sN: _rILS}),), -) - -CANCEL_RESERVED_INSTANCES_LISTING: StaticOperationSchema = ( - 23, - n0, - _CRIL, - 0, - CANCEL_RESERVED_INSTANCES_LISTING_INPUT, - CANCEL_RESERVED_INSTANCES_LISTING_OUTPUT, - (), -) - -SPOT_FLEET_REQUEST_ID: StaticSchema = (3, n0, _SFRI, 0) - -SPOT_FLEET_REQUEST_ID_LIST: StaticSchema = ( - 16, - n0, - _SFRIL, - 0, - (_me,), - ((SPOT_FLEET_REQUEST_ID, {_sN: _i}),), -) - -CANCEL_SPOT_FLEET_REQUESTS_INPUT: StaticSchema = ( - 18, - n0, - _CSFRI, - {_sSI: _cCSFRR, _sm: None}, - (_DR, _SFRIp, _TIe), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SPOT_FLEET_REQUEST_ID_LIST, {_aQN: _SFRI, _sN: _sFRI, _smi: None}), - (BOOLEAN, {_aQN: _TIe, _sN: _tIe, _smi: None}), - ), -) - -BATCH_STATE: StaticSchema = ( - 14, - n0, - _BS, - 0, - (_SUBMITTED, _ACTIVE, _CANCELLED, _FAILED, _CR_, _CTI_, _MODIFYING), - ( - (-1, {_sV: _subm}), - (-1, {_sV: _act}), - (-1, {_sV: _can}), - (-1, {_sV: _fa}), - (-1, {_sV: _cr__}), - (-1, {_sV: _ct}), - (-1, {_sV: _mo}), - ), -) - -CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_ITEM: StaticSchema = ( - 18, - n0, - _CSFRSI, - 0, - (_CSFRS, _PSFRS, _SFRI), - ( - (BATCH_STATE, {_aQN: _CSFRS, _sN: _cSFRS}), - (BATCH_STATE, {_aQN: _PSFRS, _sN: _pSFRS}), - (STRING, {_aQN: _SFRI, _sN: _sFRI}), - ), -) - -CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_SET: StaticSchema = ( - 16, - n0, - _CSFRSS, - 0, - (_me,), - ((CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_ITEM, {_sN: _i}),), -) - -CANCEL_BATCH_ERROR_CODE: StaticSchema = ( - 14, - n0, - _CBEC, - 0, - (_FRIDNE, _FRIM, _FRNICS, _UE), - ((-1, {_sV: _fRIDNE}), (-1, {_sV: _fRIM}), (-1, {_sV: _fRNICS}), (-1, {_sV: _uE})), -) - -CANCEL_SPOT_FLEET_REQUESTS_ERROR: StaticSchema = ( - 18, - n0, - _CSFRE, - 0, - (_C, _Me), - ((CANCEL_BATCH_ERROR_CODE, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -CANCEL_SPOT_FLEET_REQUESTS_ERROR_ITEM: StaticSchema = ( - 18, - n0, - _CSFREI, - 0, - (_E, _SFRI), - ( - (CANCEL_SPOT_FLEET_REQUESTS_ERROR, {_aQN: _E, _sN: _er}), - (STRING, {_aQN: _SFRI, _sN: _sFRI}), - ), -) - -CANCEL_SPOT_FLEET_REQUESTS_ERROR_SET: StaticSchema = ( - 16, - n0, - _CSFRES, - 0, - (_me,), - ((CANCEL_SPOT_FLEET_REQUESTS_ERROR_ITEM, {_sN: _i}),), -) - -CANCEL_SPOT_FLEET_REQUESTS_OUTPUT: StaticSchema = ( - 18, - n0, - _CSFRO, - {_sSI: _cCSFRRo, _smit: None}, - (_SFR, _UFR), - ( - (CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_SET, {_aQN: _SFRS, _sN: _sFRS}), - (CANCEL_SPOT_FLEET_REQUESTS_ERROR_SET, {_aQN: _UFRS, _sN: _uFRS}), - ), -) - -CANCEL_SPOT_FLEET_REQUESTS: StaticOperationSchema = ( - 23, - n0, - _CSFR, - 0, - CANCEL_SPOT_FLEET_REQUESTS_INPUT, - CANCEL_SPOT_FLEET_REQUESTS_OUTPUT, - (), -) - -SPOT_INSTANCE_REQUEST_ID: StaticSchema = (3, n0, _SIRI, 0) - -SPOT_INSTANCE_REQUEST_ID_LIST: StaticSchema = ( - 16, - n0, - _SIRIL, - 0, - (_me,), - ((SPOT_INSTANCE_REQUEST_ID, {_sN: _SIRI}),), -) - -CANCEL_SPOT_INSTANCE_REQUESTS_INPUT: StaticSchema = ( - 18, - n0, - _CSIRI, - {_sSI: _cCSIRR, _sm: None}, - (_DR, _SIRIp), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SPOT_INSTANCE_REQUEST_ID_LIST, {_sN: _SIRI, _smi: None}), - ), -) - -CANCEL_SPOT_INSTANCE_REQUEST_STATE: StaticSchema = ( - 14, - n0, - _CSIRS, - 0, - (_act, _op, _cl, _can, _compl), - ( - (-1, {_sV: _act}), - (-1, {_sV: _op}), - (-1, {_sV: _cl}), - (-1, {_sV: _can}), - (-1, {_sV: _compl}), - ), -) - -CANCELLED_SPOT_INSTANCE_REQUEST: StaticSchema = ( - 18, - n0, - _CSIR, - 0, - (_SIRI, _St), - ( - (STRING, {_aQN: _SIRI, _sN: _sIRI}), - (CANCEL_SPOT_INSTANCE_REQUEST_STATE, {_aQN: _St, _sN: _st}), - ), -) - -CANCELLED_SPOT_INSTANCE_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _CSIRL, - 0, - (_me,), - ((CANCELLED_SPOT_INSTANCE_REQUEST, {_sN: _i}),), -) - -CANCEL_SPOT_INSTANCE_REQUESTS_OUTPUT: StaticSchema = ( - 18, - n0, - _CSIRO, - {_sSI: _cCSIRRo, _smit: None}, - (_CSIRa,), - ((CANCELLED_SPOT_INSTANCE_REQUEST_LIST, {_aQN: _SIRS, _sN: _sIRS}),), -) - -CANCEL_SPOT_INSTANCE_REQUESTS: StaticOperationSchema = ( - 23, - n0, - _CSIRan, - 0, - CANCEL_SPOT_INSTANCE_REQUESTS_INPUT, - CANCEL_SPOT_INSTANCE_REQUESTS_OUTPUT, - (), -) - -CONFIRM_PRODUCT_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _CPII, - {_sSI: _cCPIR, _sm: None}, - (_II, _PCr, _DR), - ((INSTANCE_ID, 1), (STRING, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -CONFIRM_PRODUCT_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _CPIO, - {_sSI: _cCPIRo, _smit: None}, - (_R, _OIw), - ((BOOLEAN, {_aQN: _R, _sN: _r}), (STRING, {_aQN: _OIw, _sN: _oI})), -) - -CONFIRM_PRODUCT_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _CPI, - 0, - CONFIRM_PRODUCT_INSTANCE_INPUT, - CONFIRM_PRODUCT_INSTANCE_OUTPUT, - (), -) - -COPY_FPGA_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _CFII, - {_sSI: _cCFIR, _sm: None}, - (_DR, _SFII, _Des, _N, _SRo, _CTl), - ((BOOLEAN, 0), (STRING, 1), (STRING, 0), (STRING, 0), (STRING, 1), (STRING, 0)), -) - -COPY_FPGA_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _CFIO, - {_sSI: _cCFIRo, _smit: None}, - (_FII,), - ((STRING, {_aQN: _FII, _sN: _fII}),), -) - -COPY_FPGA_IMAGE: StaticOperationSchema = ( - 23, - n0, - _CFI, - 0, - COPY_FPGA_IMAGE_INPUT, - COPY_FPGA_IMAGE_OUTPUT, - (), -) - -COPY_IMAGE_CLIENT_TOKEN: StaticSchema = (3, n0, _CICT, 0) - -IMAGE_DESCRIPTION_REQUEST: StaticSchema = (3, n0, _IDR, 0) - -KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) - -IMAGE_NAME_REQUEST: StaticSchema = (3, n0, _INR, 0) - -COPY_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _CII, - {_sSI: _cCIR, _sm: None}, - ( - _CTl, - _Des, - _En, - _KKI, - _N, - _SII, - _SRo, - _DOA, - _CITo, - _TSa, - _SCCDM, - _DAZ, - _DAZI, - _DR, - ), - ( - (COPY_IMAGE_CLIENT_TOKEN, 2), - (IMAGE_DESCRIPTION_REQUEST, 0), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), - (IMAGE_NAME_REQUEST, 1), - (STRING, 1), - (STRING, 1), - (STRING, 0), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (LONG, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -COPY_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _CIO, - {_sSI: _cCIRo, _smit: None}, - (_IIm,), - ((STRING, {_aQN: _IIm, _sN: _iIm}),), -) - -COPY_IMAGE: StaticOperationSchema = ( - 23, - n0, - _CIop, - 0, - COPY_IMAGE_INPUT, - COPY_IMAGE_OUTPUT, - (), -) - -SNAPSHOT_COMPLETION_DURATION_MINUTES_REQUEST: StaticSchema = (7, n0, _SCDMR, 0) - -COPY_SNAPSHOT_REQUEST_PSU: StaticSchema = (3, n0, _CSRPSU, 4) - -COPY_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_sSI: _cCSR, _sm: None}, - (_Des, _DOA, _DRe, _En, _KKI, _PU, _SRo, _SSI, _TSa, _CDM, _DAZ, _DR), - ( - (STRING, 0), - (STRING, 0), - (STRING, {_aQN: _DRe, _sN: _dRe}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), - (COPY_SNAPSHOT_REQUEST_PSU, {_aQN: _PU, _sN: _pU}), - (STRING, 1), - (STRING, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (SNAPSHOT_COMPLETION_DURATION_MINUTES_REQUEST, 0), - (STRING, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -COPY_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_sSI: _cCSRo, _smit: None}, - (_Tag, _SIn), - ((TAG_LIST, {_aQN: _TSag, _sN: _tS}), (STRING, {_aQN: _SIn, _sN: _sIn})), -) - -COPY_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _CSo, - 0, - COPY_SNAPSHOT_INPUT, - COPY_SNAPSHOT_OUTPUT, - (), -) - -VOLUME_TYPE: StaticSchema = ( - 14, - n0, - _VT, - 0, - (_stan, _io, _io_, _gp, _sc_, _st_, _gp_), - ( - (-1, {_sV: _stan}), - (-1, {_sV: _io}), - (-1, {_sV: _io_}), - (-1, {_sV: _gp}), - (-1, {_sV: _sc_}), - (-1, {_sV: _st_}), - (-1, {_sV: _gp_}), - ), -) - -COPY_VOLUMES_INPUT: StaticSchema = ( - 18, - n0, - _CVI, - {_sSI: _cCVR, _sm: None}, - (_SVI, _Io, _Si, _VT, _DR, _TSa, _MAE, _Th, _CTl, _En, _KKI), - ( - (VOLUME_ID, 1), - (INTEGER, 0), - (INTEGER, 0), - (VOLUME_TYPE, 0), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - (INTEGER, 0), - (STRING, 2), - (BOOLEAN, 0), - (KMS_KEY_ID, 0), - ), -) - -VOLUME_ATTACHMENT: StaticSchema = ( - 18, - n0, - _VAo, - 0, - (_DOT, _ARs, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt), - ( - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (STRING, {_aQN: _ARs, _sN: _aRs}), - (STRING, {_aQN: _IOS, _sN: _iOS}), - (INTEGER, {_aQN: _ECI, _sN: _eCI}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _Dev, _sN: _dev}), - (VOLUME_ATTACHMENT_STATE, {_aQN: _Sta, _sN: _sta}), - (DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), - ), -) - -VOLUME_ATTACHMENT_LIST: StaticSchema = ( - 16, - n0, - _VAL, - 0, - (_me,), - ((VOLUME_ATTACHMENT, {_sN: _i}),), -) - -OPERATOR_RESPONSE: StaticSchema = ( - 18, - n0, - _OR, - 0, - (_Man, _Pri, _HBD), - ( - (BOOLEAN, {_aQN: _Man, _sN: _man}), - (STRING, {_aQN: _Pri, _sN: _prin}), - (BOOLEAN, {_aQN: _HBD, _sN: _hBD}), - ), -) - -SSE_TYPE: StaticSchema = ( - 14, - n0, - _SSET, - 0, - (_se, _sk, _no), - ((-1, {_sV: _se_}), (-1, {_sV: _sk_}), (-1, {_sV: _no})), -) - -VOLUME_STATE: StaticSchema = ( - 14, - n0, - _VS, - 0, - (_cre, _av, _iu, _de, _del, _er), - ( - (-1, {_sV: _cre}), - (-1, {_sV: _av}), - (-1, {_sV: _iu_}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - (-1, {_sV: _er}), - ), -) - -VOLUME: StaticSchema = ( - 18, - n0, - _Vo, - 0, - ( - _AZI, - _OA, - _SVI, - _Io, - _Tag, - _VT, - _FR, - _MAE, - _Th, - _STs, - _Op, - _VIR, - _VAol, - _OIw, - _VIo, - _Si, - _SIn, - _AZ, - _St, - _CTr, - _Att, - _En, - _KKI, - ), - ( - (STRING, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _SVI, _sN: _sVI}), - (INTEGER, {_aQN: _Io, _sN: _iop}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), - (BOOLEAN, {_aQN: _FR, _sN: _fR}), - (BOOLEAN, {_aQN: _MAE, _sN: _mAE}), - (INTEGER, {_aQN: _Th, _sN: _thr}), - (SSE_TYPE, {_aQN: _STs, _sN: _sTs}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - (INTEGER, {_aQN: _VIR, _sN: _vIR}), - (STRING, {_aQN: _VAol, _sN: _vA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (INTEGER, {_aQN: _Si, _sN: _siz}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (VOLUME_STATE, {_aQN: _Sta, _sN: _sta}), - (DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (VOLUME_ATTACHMENT_LIST, {_aQN: _AStt, _sN: _aSt}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (STRING, {_aQN: _KKI, _sN: _kKI}), - ), -) - -VOLUME_LIST: StaticSchema = (16, n0, _VLo, 0, (_me,), ((VOLUME, {_sN: _i}),)) - -COPY_VOLUMES_OUTPUT: StaticSchema = ( - 18, - n0, - _CVO, - {_sSI: _cCVRo, _smit: None}, - (_Vol,), - ((VOLUME_LIST, {_aQN: _VSo, _sN: _vS}),), -) - -COPY_VOLUMES: StaticOperationSchema = ( - 23, - n0, - _CV, - 0, - COPY_VOLUMES_INPUT, - COPY_VOLUMES_OUTPUT, - (), -) - -HEALTH_CHECK_PATH_DESTINATION_REQUEST_OBJECT: StaticSchema = ( - 18, - n0, - _HCPDRO, - 0, - (_SIu, _SGI), - ((SUBNET_ID, 0), (SECURITY_GROUP_ID, 0)), -) - -HEALTH_CHECK_PATH_DESTINATION_REQUEST_SET: StaticSchema = ( - 16, - n0, - _HCPDRS, - 0, - (_me,), - ((HEALTH_CHECK_PATH_DESTINATION_REQUEST_OBJECT, {_sN: _i}),), -) - -HEALTH_CHECK_PATH_SOURCE_REQUEST_OBJECT: StaticSchema = ( - 18, - n0, - _HCPSRO, - 0, - (_SIu, _SGI), - ((SUBNET_ID, 0), (SECURITY_GROUP_ID, 0)), -) - -HEALTH_CHECK_PATH_REQUEST_OBJECT: StaticSchema = ( - 18, - n0, - _HCPRO, - 0, - (_Sou, _D), - ( - (HEALTH_CHECK_PATH_SOURCE_REQUEST_OBJECT, 0), - (HEALTH_CHECK_PATH_DESTINATION_REQUEST_SET, {_sN: _De}), - ), -) - -HEALTH_CHECK_PATH_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _HCPRL, - 0, - (_me,), - ((HEALTH_CHECK_PATH_REQUEST_OBJECT, {_sN: _i}),), -) - -INITIALIZATION_GRACE_PERIOD_SECONDS: StaticSchema = (7, n0, _IGPS, 0) - -IP_SCOPE_ENUM: StaticSchema = (14, n0, _ISE, 0, (_PRIVATE,), ((-1, {_sV: _priv}),)) - -IP_VERSION_ENUM: StaticSchema = ( - 14, - n0, - _IVE, - 0, - (_IPV, _IPV_), - ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_})), -) - -PORT_NUMBER: StaticSchema = (7, n0, _PN, 0) - -NETWORK_PROTOCOL_ENUM: StaticSchema = ( - 14, - n0, - _NPE, - 0, - (_HTTP, _HTTPS), - ((-1, {_sV: _ht}), (-1, {_sV: _htt})), -) - -CREATE_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( - 18, - n0, - _CASCI, - {_sSI: _cCASCR, _sm: None}, - ( - _HCP, - _Ag, - _P, - _Po, - _Pa, - _DI, - _IVp, - _ISpc, - _Int, - _Tim, - _FT, - _STu, - _SCM, - _IGPS, - _TSa, - _CTl, - _DR, - ), - ( - (HEALTH_CHECK_PATH_REQUEST_LIST, {_sN: _HCPe}), - (AGGREGATION_STATUS_ENUM, 0), - (NETWORK_PROTOCOL_ENUM, 1), - (PORT_NUMBER, 1), - (STRING, 0), - (INTEGER, 0), - (IP_VERSION_ENUM, 0), - (IP_SCOPE_ENUM, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (INITIALIZATION_GRACE_PERIOD_SECONDS, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -HEALTH_CHECK_PATH_DESTINATION_RESPONSE_OBJECT: StaticSchema = ( - 18, - n0, - _HCPDROe, - 0, - (_SIu, _SGI), - ((STRING, {_aQN: _SIu, _sN: _sI}), (STRING, {_aQN: _SGI, _sN: _sGI})), -) - -HEALTH_CHECK_PATH_DESTINATION_RESPONSE_LIST: StaticSchema = ( - 16, - n0, - _HCPDRL, - 0, - (_me,), - ((HEALTH_CHECK_PATH_DESTINATION_RESPONSE_OBJECT, {_sN: _i}),), -) - -HEALTH_CHECK_PATH_SOURCE_RESPONSE_OBJECT: StaticSchema = ( - 18, - n0, - _HCPSROe, - 0, - (_SIu, _SGI), - ((STRING, {_aQN: _SIu, _sN: _sI}), (STRING, {_aQN: _SGI, _sN: _sGI})), -) - -HEALTH_CHECK_PATH_RESPONSE_OBJECT: StaticSchema = ( - 18, - n0, - _HCPROe, - 0, - (_Sou, _D), - ( - (HEALTH_CHECK_PATH_SOURCE_RESPONSE_OBJECT, {_aQN: _Sou, _sN: _so}), - (HEALTH_CHECK_PATH_DESTINATION_RESPONSE_LIST, {_aQN: _DSe, _sN: _dSe}), - ), -) - -HEALTH_CHECK_PATH_RESPONSE_LIST: StaticSchema = ( - 16, - n0, - _HCPRLe, - 0, - (_me,), - ((HEALTH_CHECK_PATH_RESPONSE_OBJECT, {_sN: _i}),), -) - -CUSTOM_TAG_KEY_VALUE_RESPONSE_PAIR: StaticSchema = ( - 18, - n0, - _CTKVRPu, - 0, - (_Ke, _Va), - ((STRING, {_aQN: _Ke, _sN: _ke}), (STRING, {_aQN: _Va, _sN: _va})), -) - -CUSTOM_KEY_VALUE_PAIR_RESPONSE_SET: StaticSchema = ( - 16, - n0, - _CKVPRSu, - 0, - (_me,), - ((CUSTOM_TAG_KEY_VALUE_RESPONSE_PAIR, {_sN: _i}),), -) - -APPLICATION_STATUS_CHECK_RESPONSE_OBJECT: StaticSchema = ( - 18, - n0, - _ASCRO, - 0, - ( - _ASCI, - _Ag, - _HCP, - _P, - _Po, - _Pa, - _DI, - _IVp, - _ISpc, - _Int, - _Tim, - _FT, - _STu, - _SCM, - _IGPS, - _LUA, - _TTA, - _Tag, - _CT, - _MT, - _DTe, - ), - ( - (APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), - (AGGREGATION_STATUS_ENUM, {_aQN: _Ag, _sN: _agg}), - (HEALTH_CHECK_PATH_RESPONSE_LIST, {_aQN: _HCPS, _sN: _hCPS}), - (NETWORK_PROTOCOL_ENUM, {_aQN: _P, _sN: _pro}), - (INTEGER, {_aQN: _Po, _sN: _po}), - (STRING, {_aQN: _Pa, _sN: _pat}), - (INTEGER, {_aQN: _DI, _sN: _dI}), - (IP_VERSION_ENUM, {_aQN: _IVp, _sN: _iVp}), - (IP_SCOPE_ENUM, {_aQN: _ISpc, _sN: _iSpc}), - (INTEGER, {_aQN: _Int, _sN: _int}), - (INTEGER, {_aQN: _Tim, _sN: _tim}), - (INTEGER, {_aQN: _FT, _sN: _fT}), - (INTEGER, {_aQN: _STu, _sN: _sTu}), - (STRING, {_aQN: _SCM, _sN: _sCM}), - (INITIALIZATION_GRACE_PERIOD_SECONDS, {_aQN: _IGPS, _sN: _iGPS}), - (MILLISECOND_DATE_TIME, {_aQN: _LUA, _sN: _lUA}), - (CUSTOM_KEY_VALUE_PAIR_RESPONSE_SET, {_aQN: _TTAS, _sN: _tTAS}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (MILLISECOND_DATE_TIME, {_aQN: _CT, _sN: _cT}), - (MILLISECOND_DATE_TIME, {_aQN: _MT, _sN: _mT}), - (MILLISECOND_DATE_TIME, {_aQN: _DTe, _sN: _dT}), - ), -) - -CREATE_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( - 18, - n0, - _CASCO, - {_sSI: _cCASCRo, _smit: None}, - (_ASCp,), - ((APPLICATION_STATUS_CHECK_RESPONSE_OBJECT, {_aQN: _ASCp, _sN: _aSC}),), -) - -CREATE_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( - 23, - n0, - _CASC, - 0, - CREATE_APPLICATION_STATUS_CHECK_INPUT, - CREATE_APPLICATION_STATUS_CHECK_OUTPUT, - (), -) - -OUTPUT_FORMAT: StaticSchema = ( - 14, - n0, - _OF, - 0, - (_CSV, _PARQUET), - ((-1, {_sV: _cs}), (-1, {_sV: _par})), -) - -SCHEDULE: StaticSchema = (14, n0, _Sch, 0, (_HOURLY,), ((-1, {_sV: _hou}),)) - -CREATE_CAPACITY_MANAGER_DATA_EXPORT_INPUT: StaticSchema = ( - 18, - n0, - _CCMDEI, - {_sSI: _cCCMDER, _sm: None}, - (_SBN, _SBP, _Sch, _OF, _CTl, _DR, _TSa), - ( - (STRING, 1), - (STRING, 0), - (SCHEDULE, 1), - (OUTPUT_FORMAT, 1), - (STRING, 2), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -CAPACITY_MANAGER_DATA_EXPORT_ID: StaticSchema = (3, n0, _CMDEI, 0) - -CREATE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _CCMDEO, - {_sSI: _cCCMDERo, _smit: None}, - (_CMDEI,), - ((CAPACITY_MANAGER_DATA_EXPORT_ID, {_aQN: _CMDEI, _sN: _cMDEI}),), -) - -CREATE_CAPACITY_MANAGER_DATA_EXPORT: StaticOperationSchema = ( - 23, - n0, - _CCMDE, - 0, - CREATE_CAPACITY_MANAGER_DATA_EXPORT_INPUT, - CREATE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT, - (), -) - -CAPACITY_RESERVATION_COMMITMENT_DURATION: StaticSchema = (8, n0, _CRCD, 0) - -CAPACITY_RESERVATION_DELIVERY_PREFERENCE: StaticSchema = ( - 14, - n0, - _CRDP, - 0, - (_FIXED, _INCREMENTAL), - ((-1, {_sV: _fix}), (-1, {_sV: _incr})), -) - -END_DATE_TYPE: StaticSchema = ( - 14, - n0, - _EDT, - 0, - (_unl, _li), - ((-1, {_sV: _unl}), (-1, {_sV: _li})), -) - -INSTANCE_MATCH_CRITERIA: StaticSchema = ( - 14, - n0, - _IMC, - 0, - (_op, _ta), - ((-1, {_sV: _op}), (-1, {_sV: _ta})), -) - -CAPACITY_RESERVATION_INSTANCE_PLATFORM: StaticSchema = ( - 14, - n0, - _CRIP, - 0, - ( - _LU, - _RHEL, - _SL_, - _WINDOWS, - _WWSS, - _WWSSE, - _WWSSS, - _WWSSW, - _LWSSS, - _LWSSW, - _LWSSE, - _RWSSS, - _RWSSE, - _RWSSW, - _RWH, - _RWHASSS, - _RWHASSE, - _UPL, - ), - ( - (-1, {_sV: _LUNIX}), - (-1, {_sV: _RHEL_}), - (-1, {_sV: _SL__}), - (-1, {_sV: _W}), - (-1, {_sV: _WwSS}), - (-1, {_sV: _WwSSE}), - (-1, {_sV: _WwSSS}), - (-1, {_sV: _WwSSW}), - (-1, {_sV: _LwSSS}), - (-1, {_sV: _LwSSW}), - (-1, {_sV: _LwSSE}), - (-1, {_sV: _RwSSS}), - (-1, {_sV: _RwSSE}), - (-1, {_sV: _RwSSW}), - (-1, {_sV: _RwH}), - (-1, {_sV: _RwHaSSS}), - (-1, {_sV: _RwHaSSE}), - (-1, {_sV: _UP_}), - ), -) - -OUTPOST_ARN: StaticSchema = (3, n0, _OA, 0) - -PLACEMENT_GROUP_ARN: StaticSchema = (3, n0, _PGA, 0) - -CAPACITY_RESERVATION_TENANCY: StaticSchema = ( - 14, - n0, - _CRT, - 0, - (_def, _ded), - ((-1, {_sV: _def}), (-1, {_sV: _ded})), -) - -CREATE_CAPACITY_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _CCRIr, - {_sSI: _cCCRRom, _sm: None}, - ( - _CTl, - _IT, - _IPns, - _AZ, - _AZI, - _Ten, - _IC, - _EO, - _ESp, - _ED, - _EDT, - _IMC, - _TSa, - _DR, - _OA, - _PGA, - _SDt, - _CDo, - _DPel, - ), - ( - (STRING, 0), - (STRING, 1), - (CAPACITY_RESERVATION_INSTANCE_PLATFORM, 1), - (AVAILABILITY_ZONE_NAME, 0), - (AVAILABILITY_ZONE_ID, 0), - (CAPACITY_RESERVATION_TENANCY, 0), - (INTEGER, 1), - (BOOLEAN, 0), - (BOOLEAN, 0), - (DATE_TIME, 0), - (END_DATE_TYPE, 0), - (INSTANCE_MATCH_CRITERIA, 0), - (TAG_SPECIFICATION_LIST, 0), - (BOOLEAN, 0), - (OUTPOST_ARN, 0), - (PLACEMENT_GROUP_ARN, 0), - (MILLISECOND_DATE_TIME, 0), - (CAPACITY_RESERVATION_COMMITMENT_DURATION, 0), - (CAPACITY_RESERVATION_DELIVERY_PREFERENCE, 0), - ), -) - -BOXED_LONG: StaticSchema = (8, n0, _BL, 0) - -CAPACITY_RESERVATION_ADJUSTMENT_DETAILS: StaticSchema = ( - 18, - n0, - _CRAD, - 0, - (_SDt, _ED, _CED, _EDT, _CDo), - ( - (MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), - (MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), - (MILLISECOND_DATE_TIME, {_aQN: _CED, _sN: _cED}), - (STRING, {_aQN: _EDT, _sN: _eDT}), - (BOXED_LONG, {_aQN: _CDo, _sN: _cDo}), - ), -) - -CAPACITY_RESERVATION_ADJUSTMENT_STATUS: StaticSchema = ( - 14, - n0, - _CRAS, - 0, - (_req, _ap, _re), - ((-1, {_sV: _req}), (-1, {_sV: _ap}), (-1, {_sV: _re})), -) - -CAPACITY_ALLOCATION_METADATA_ENTRY: StaticSchema = ( - 18, - n0, - _CAME, - 0, - (_Ke, _Va), - ((STRING, {_aQN: _Ke, _sN: _ke}), (STRING, {_aQN: _Va, _sN: _va})), -) - -CAPACITY_ALLOCATION_METADATA_LIST: StaticSchema = ( - 16, - n0, - _CAML, - 0, - (_me,), - ((CAPACITY_ALLOCATION_METADATA_ENTRY, {_sN: _i}),), -) - -CAPACITY_ALLOCATION: StaticSchema = ( - 18, - n0, - _CAa, - 0, - (_ATl, _Cou, _AMl), - ( - (ALLOCATION_TYPE, {_aQN: _ATl, _sN: _aTl}), - (INTEGER, {_aQN: _Cou, _sN: _cou}), - (CAPACITY_ALLOCATION_METADATA_LIST, {_aQN: _AML, _sN: _aML}), - ), -) - -CAPACITY_ALLOCATIONS: StaticSchema = ( - 16, - n0, - _CAap, - 0, - (_me,), - ((CAPACITY_ALLOCATION, {_sN: _i}),), -) - -CAPACITY_BLOCK_ID: StaticSchema = (3, n0, _CBI, 0) - -CAPACITY_RESERVATION_COMMITMENT_INFO: StaticSchema = ( - 18, - n0, - _CRCI, - 0, - (_CIC, _CED, _CDo), - ( - (INTEGER, {_aQN: _CIC, _sN: _cIC}), - (MILLISECOND_DATE_TIME, {_aQN: _CED, _sN: _cED}), - (BOXED_LONG, {_aQN: _CDo, _sN: _cDo}), - ), -) - -INTERRUPTION_TYPE: StaticSchema = (14, n0, _ITnt, 0, (_adh,), ((-1, {_sV: _adh}),)) - -INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_STATUS: StaticSchema = ( - 14, - n0, - _ICRAS, - 0, - (_p, _act, _up, _canc, _cance, _fa), - ( - (-1, {_sV: _p}), - (-1, {_sV: _act}), - (-1, {_sV: _up}), - (-1, {_sV: _canc}), - (-1, {_sV: _cance}), - (-1, {_sV: _fa}), - ), -) - -ZERO_SIZE_PREFERENCE: StaticSchema = ( - 14, - n0, - _ZSP, - 0, - (_ret, _def), - ((-1, {_sV: _ret}), (-1, {_sV: _def})), -) - -INTERRUPTIBLE_CAPACITY_ALLOCATION: StaticSchema = ( - 18, - n0, - _ICA, - 0, - (_IC, _TIC, _Sta, _ICRI, _ITnt, _ZSP), - ( - (INTEGER, {_aQN: _IC, _sN: _iC}), - (INTEGER, {_aQN: _TIC, _sN: _tIC}), - (INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _ICRI, _sN: _iCRI}), - (INTERRUPTION_TYPE, {_aQN: _ITnt, _sN: _iTn}), - (ZERO_SIZE_PREFERENCE, {_aQN: _ZSP, _sN: _zSP}), - ), -) - -INTERRUPTION_INFO: StaticSchema = ( - 18, - n0, - _IInt, - 0, - (_SCRI, _ITnt), - ( - (STRING, {_aQN: _SCRI, _sN: _sCRI}), - (INTERRUPTION_TYPE, {_aQN: _ITnt, _sN: _iTn}), - ), -) - -CAPACITY_RESERVATION_LAUNCH_STATUS: StaticSchema = ( - 14, - n0, - _CRLS, - 0, - (_LAUNCHABLE, _UNLAUNCHABLE), - ((-1, {_sV: _lau}), (-1, {_sV: _unla})), -) - -CAPACITY_RESERVATION_TYPE: StaticSchema = ( - 14, - n0, - _CRTa, - 0, - (_DEFAULT, _CB_), - ((-1, {_sV: _def}), (-1, {_sV: _cb_})), -) - -CAPACITY_RESERVATION_STATE: StaticSchema = ( - 14, - n0, - _CRS, - 0, - (_act, _ex, _can, _p, _fa, _sch, _pp__, _pf____, _asse, _dela, _uns, _ca, _unav), - ( - (-1, {_sV: _act}), - (-1, {_sV: _ex}), - (-1, {_sV: _can}), - (-1, {_sV: _p}), - (-1, {_sV: _fa}), - (-1, {_sV: _sch}), - (-1, {_sV: _pp___}), - (-1, {_sV: _pf_____}), - (-1, {_sV: _asse}), - (-1, {_sV: _dela}), - (-1, {_sV: _uns}), - (-1, {_sV: _ca}), - (-1, {_sV: _unav}), - ), -) - -CAPACITY_RESERVATION: StaticSchema = ( - 18, - n0, - _CRap, - 0, - ( - _CRI, - _OIw, - _CRA, - _AZI, - _IT, - _IPns, - _AZ, - _Ten, - _TICo, - _AIC, - _EO, - _ESp, - _St, - _SDt, - _ED, - _EDT, - _IMC, - _CD, - _Tag, - _OA, - _CRFI, - _PGA, - _CAap, - _RTes, - _URBOI, - _CIom, - _DPel, - _CBI, - _Inte, - _ICA, - _IInt, - _ASd, - _ADdj, - _OSD, - _ZSP, - _LSa, - ), - ( - (STRING, {_aQN: _CRI, _sN: _cRI}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _CRA, _sN: _cRA}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _IT, _sN: _iT}), - (CAPACITY_RESERVATION_INSTANCE_PLATFORM, {_aQN: _IPns, _sN: _iPns}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), - (INTEGER, {_aQN: _TICo, _sN: _tICo}), - (INTEGER, {_aQN: _AIC, _sN: _aIC}), - (BOOLEAN, {_aQN: _EO, _sN: _eO}), - (BOOLEAN, {_aQN: _ESp, _sN: _eSp}), - (CAPACITY_RESERVATION_STATE, {_aQN: _St, _sN: _st}), - (MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), - (DATE_TIME, {_aQN: _ED, _sN: _eD}), - (END_DATE_TYPE, {_aQN: _EDT, _sN: _eDT}), - (INSTANCE_MATCH_CRITERIA, {_aQN: _IMC, _sN: _iMC}), - (DATE_TIME, {_aQN: _CD, _sN: _cD}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (OUTPOST_ARN, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _CRFI, _sN: _cRFI}), - (PLACEMENT_GROUP_ARN, {_aQN: _PGA, _sN: _pGA}), - (CAPACITY_ALLOCATIONS, {_aQN: _CAS, _sN: _cAS}), - (CAPACITY_RESERVATION_TYPE, {_aQN: _RTes, _sN: _rTe}), - (ACCOUNT_ID, {_aQN: _URBOI, _sN: _uRBOI}), - (CAPACITY_RESERVATION_COMMITMENT_INFO, {_aQN: _CIom, _sN: _cIom}), - (CAPACITY_RESERVATION_DELIVERY_PREFERENCE, {_aQN: _DPel, _sN: _dP}), - (CAPACITY_BLOCK_ID, {_aQN: _CBI, _sN: _cBI}), - (BOXED_BOOLEAN, {_aQN: _Inte, _sN: _inte}), - (INTERRUPTIBLE_CAPACITY_ALLOCATION, {_aQN: _ICA, _sN: _iCA}), - (INTERRUPTION_INFO, {_aQN: _IInt, _sN: _iIn}), - (CAPACITY_RESERVATION_ADJUSTMENT_STATUS, {_aQN: _ASd, _sN: _aSd}), - (CAPACITY_RESERVATION_ADJUSTMENT_DETAILS, {_aQN: _ADdj, _sN: _aD}), - (MILLISECOND_DATE_TIME, {_aQN: _OSD, _sN: _oSD}), - (ZERO_SIZE_PREFERENCE, {_aQN: _ZSP, _sN: _zSP}), - (CAPACITY_RESERVATION_LAUNCH_STATUS, {_aQN: _LSa, _sN: _lS}), - ), -) - -CREATE_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CCROr, - {_sSI: _cCCRRoma, _smit: None}, - (_CRap,), - ((CAPACITY_RESERVATION, {_aQN: _CRap, _sN: _cRa}),), -) - -CREATE_CAPACITY_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _CCRr, - 0, - CREATE_CAPACITY_RESERVATION_INPUT, - CREATE_CAPACITY_RESERVATION_OUTPUT, - (), -) - -CREATE_CAPACITY_RESERVATION_BY_SPLITTING_INPUT: StaticSchema = ( - 18, - n0, - _CCRBSI, - {_sSI: _cCCRBSR, _sm: None}, - (_DR, _CTl, _SCRI, _IC, _TSa), - ( - (BOOLEAN, 0), - (STRING, 2), - (CAPACITY_RESERVATION_ID, 1), - (INTEGER, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -CREATE_CAPACITY_RESERVATION_BY_SPLITTING_OUTPUT: StaticSchema = ( - 18, - n0, - _CCRBSO, - {_sSI: _cCCRBSRo, _smit: None}, - (_SCR, _DCR, _IC), - ( - (CAPACITY_RESERVATION, {_aQN: _SCR, _sN: _sCR}), - (CAPACITY_RESERVATION, {_aQN: _DCR, _sN: _dCR}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - ), -) - -CREATE_CAPACITY_RESERVATION_BY_SPLITTING: StaticOperationSchema = ( - 23, - n0, - _CCRBS, - 0, - CREATE_CAPACITY_RESERVATION_BY_SPLITTING_INPUT, - CREATE_CAPACITY_RESERVATION_BY_SPLITTING_OUTPUT, - (), -) - -CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_INPUT: StaticSchema = ( - 18, - n0, - _CCRCQI, - {_sSI: _cCCRCQR, _sm: None}, - (_CRI, _CTl, _TSa, _DR), - ( - (CAPACITY_RESERVATION_ID, 1), - (STRING, 2), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -CANCELLATION_TERMS: StaticSchema = ( - 18, - n0, - _CTa, - 0, - (_CTan, _RSes, _CIC, _CCDH, _CEDh), - ( - (APPLY_CANCELLATION_CHARGES, {_aQN: _CTan, _sN: _cTa}), - (STRING, {_aQN: _RSes, _sN: _rSes}), - (BOXED_INTEGER, {_aQN: _CIC, _sN: _cIC}), - (BOXED_LONG, {_aQN: _CCDH, _sN: _cCDH}), - (MILLISECOND_DATE_TIME, {_aQN: _CEDh, _sN: _cEDh}), - ), -) - -CANCELLATION_TERMS_SET: StaticSchema = ( - 16, - n0, - _CTS, - 0, - (_me,), - ((CANCELLATION_TERMS, {_sN: _i}),), -) - -CAPACITY_RESERVATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CRC, - 0, - (_IC, _RSes), - ((INTEGER, {_aQN: _IC, _sN: _iC}), (STRING, {_aQN: _RSes, _sN: _rSes})), -) - -CAPACITY_RESERVATION_CANCELLATION_QUOTE_STATE: StaticSchema = ( - 14, - n0, - _CRCQS, - 0, - (_p, _act, _ex), - ((-1, {_sV: _p}), (-1, {_sV: _act}), (-1, {_sV: _ex})), -) - -CAPACITY_RESERVATION_CANCELLATION_QUOTE: StaticSchema = ( - 18, - n0, - _CRCQ, - 0, - (_CRCQI, _CRI, _CTr, _ET, _QS, _CCu, _CTa, _Tag), - ( - (CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID, {_aQN: _CRCQI, _sN: _cRCQI}), - (CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), - (MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (MILLISECOND_DATE_TIME, {_aQN: _ET, _sN: _eT}), - (CAPACITY_RESERVATION_CANCELLATION_QUOTE_STATE, {_aQN: _QS, _sN: _qS}), - (CAPACITY_RESERVATION_CONFIGURATION, {_aQN: _CCu, _sN: _cCu}), - (CANCELLATION_TERMS_SET, {_aQN: _CTSa, _sN: _cTS}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_OUTPUT: StaticSchema = ( - 18, - n0, - _CCRCQO, - {_sSI: _cCCRCQRo, _smit: None}, - (_CRCQ,), - ((CAPACITY_RESERVATION_CANCELLATION_QUOTE, {_aQN: _CRCQ, _sN: _cRCQ}),), -) - -CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE: StaticOperationSchema = ( - 23, - n0, - _CCRCQ, - 0, - CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_INPUT, - CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_OUTPUT, - (), -) - -CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_INPUT: StaticSchema = ( - 18, - n0, - _CCRDCQI, - {_sSI: _cCCRDCQR, _sm: None}, - (_CRI, _NSD, _CTl, _TSa, _DR), - ( - (CAPACITY_RESERVATION_ID, 1), - (MILLISECOND_DATE_TIME, 1), - (STRING, 2), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID: StaticSchema = (3, n0, _CRMQI, 0) - -MODIFICATION_QUOTE_CURRENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MQCC, - 0, - (_IC, _RSes, _SDt, _OSD), - ( - (INTEGER, {_aQN: _IC, _sN: _iC}), - (STRING, {_aQN: _RSes, _sN: _rSes}), - (MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), - (MILLISECOND_DATE_TIME, {_aQN: _OSD, _sN: _oSD}), - ), -) - -MODIFICATION_RESERVATION_UPDATE: StaticSchema = ( - 18, - n0, - _MRU, - 0, - (_NCED, _NSD, _NCD), - ( - (MILLISECOND_DATE_TIME, {_aQN: _NCED, _sN: _nCED}), - (MILLISECOND_DATE_TIME, {_aQN: _NSD, _sN: _nSD}), - (BOXED_INTEGER, {_aQN: _NCD, _sN: _nCD}), - ), -) - -MODIFICATION_TERMS: StaticSchema = ( - 18, - n0, - _MTo, - 0, - (_RU,), - ((MODIFICATION_RESERVATION_UPDATE, {_aQN: _RU, _sN: _rU}),), -) - -CAPACITY_RESERVATION_MODIFICATION_QUOTE_STATE: StaticSchema = ( - 14, - n0, - _CRMQS, - 0, - (_act, _ex), - ((-1, {_sV: _act}), (-1, {_sV: _ex})), -) - -CAPACITY_RESERVATION_MODIFICATION_QUOTE: StaticSchema = ( - 18, - n0, - _CRMQ, - 0, - (_CRMQI, _CRI, _CTr, _ET, _QS, _CCu, _MTo, _Tag), - ( - (CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID, {_aQN: _CRMQI, _sN: _cRMQI}), - (CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), - (MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (MILLISECOND_DATE_TIME, {_aQN: _ET, _sN: _eT}), - (CAPACITY_RESERVATION_MODIFICATION_QUOTE_STATE, {_aQN: _QS, _sN: _qS}), - (MODIFICATION_QUOTE_CURRENT_CONFIGURATION, {_aQN: _CCu, _sN: _cCu}), - (MODIFICATION_TERMS, {_aQN: _MTo, _sN: _mTo}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_OUTPUT: StaticSchema = ( - 18, - n0, - _CCRDCQO, - {_sSI: _cCCRDCQRo, _smit: None}, - (_CRMQ,), - ((CAPACITY_RESERVATION_MODIFICATION_QUOTE, {_aQN: _CRMQ, _sN: _cRMQ}),), -) - -CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE: StaticOperationSchema = ( - 23, - n0, - _CCRDCQ, - 0, - CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_INPUT, - CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_OUTPUT, - (), -) - -FLEET_INSTANCE_MATCH_CRITERIA: StaticSchema = ( - 14, - n0, - _FIMC, - 0, - (_op,), - ((-1, {_sV: _op}),), -) - -BARE_METAL: StaticSchema = ( - 14, - n0, - _BM, - 0, - (_INCLUDED, _REQUIRED, _EXCLUDED), - ((-1, {_sV: _inc}), (-1, {_sV: _requ}), (-1, {_sV: _excl})), -) - -BASELINE_EBS_BANDWIDTH_MBPS_REQUEST: StaticSchema = ( - 18, - n0, - _BEBMR, - 0, - (_M, _Ma), - ((INTEGER, 0), (INTEGER, 0)), -) - -PERFORMANCE_FACTOR_REFERENCE_REQUEST: StaticSchema = ( - 18, - n0, - _PFRR, - 0, - (_IF,), - ((STRING, 0),), -) - -PERFORMANCE_FACTOR_REFERENCE_SET_REQUEST: StaticSchema = ( - 16, - n0, - _PFRSR, - 0, - (_me,), - ((PERFORMANCE_FACTOR_REFERENCE_REQUEST, {_sN: _i}),), -) - -CPU_PERFORMANCE_FACTOR_REQUEST: StaticSchema = ( - 18, - n0, - _CPFR, - 0, - (_Ref,), - ((PERFORMANCE_FACTOR_REFERENCE_SET_REQUEST, {_sN: _Refe}),), -) - -BASELINE_PERFORMANCE_FACTORS_REQUEST: StaticSchema = ( - 18, - n0, - _BPFR, - 0, - (_Cp,), - ((CPU_PERFORMANCE_FACTOR_REQUEST, 0),), -) - -BURSTABLE_PERFORMANCE: StaticSchema = ( - 14, - n0, - _BP, - 0, - (_INCLUDED, _REQUIRED, _EXCLUDED), - ((-1, {_sV: _inc}), (-1, {_sV: _requ}), (-1, {_sV: _excl})), -) - -CPU_MANUFACTURER: StaticSchema = ( - 14, - n0, - _CM, - 0, - (_INTEL, _AMD, _AWS, _APPLE), - ((-1, {_sV: _intel}), (-1, {_sV: _a}), (-1, {_sV: _aws}), (-1, {_sV: _app})), -) - -CPU_MANUFACTURER_SET: StaticSchema = ( - 16, - n0, - _CMS, - 0, - (_me,), - ((CPU_MANUFACTURER, {_sN: _i}),), -) - -EXCLUDED_INSTANCE_TYPE: StaticSchema = (3, n0, _EIT, 0) - -EXCLUDED_INSTANCE_TYPE_SET: StaticSchema = ( - 16, - n0, - _EITS, - 0, - (_me,), - ((EXCLUDED_INSTANCE_TYPE, {_sN: _i}),), -) - -INSTANCE_GENERATION: StaticSchema = ( - 14, - n0, - _IGn, - 0, - (_CURRENT, _PREVIOUS), - ((-1, {_sV: _cur}), (-1, {_sV: _prev})), -) - -INSTANCE_GENERATION_SET: StaticSchema = ( - 16, - n0, - _IGS, - 0, - (_me,), - ((INSTANCE_GENERATION, {_sN: _i}),), -) - -LOCAL_STORAGE: StaticSchema = ( - 14, - n0, - _LSo, - 0, - (_INCLUDED, _REQUIRED, _EXCLUDED), - ((-1, {_sV: _inc}), (-1, {_sV: _requ}), (-1, {_sV: _excl})), -) - -LOCAL_STORAGE_TYPE: StaticSchema = ( - 14, - n0, - _LST, - 0, - (_HDD, _SSD), - ((-1, {_sV: _hd}), (-1, {_sV: _ssd})), -) - -LOCAL_STORAGE_TYPE_SET: StaticSchema = ( - 16, - n0, - _LSTS, - 0, - (_me,), - ((LOCAL_STORAGE_TYPE, {_sN: _i}),), -) - -MEMORY_GI_B_PER_V_CPU_REQUEST: StaticSchema = ( - 18, - n0, - _MGBPVCR, - 0, - (_M, _Ma), - ((DOUBLE, 0), (DOUBLE, 0)), -) - -MEMORY_MI_B_REQUEST: StaticSchema = ( - 18, - n0, - _MMBR, - 0, - (_M, _Ma), - ((INTEGER, 1), (INTEGER, 0)), -) - -NETWORK_BANDWIDTH_GBPS_REQUEST: StaticSchema = ( - 18, - n0, - _NBGR, - 0, - (_M, _Ma), - ((DOUBLE, 0), (DOUBLE, 0)), -) - -NETWORK_INTERFACE_COUNT_REQUEST: StaticSchema = ( - 18, - n0, - _NICR, - 0, - (_M, _Ma), - ((INTEGER, 0), (INTEGER, 0)), -) - -TOTAL_LOCAL_STORAGE_GB_REQUEST: StaticSchema = ( - 18, - n0, - _TLSGBR, - 0, - (_M, _Ma), - ((DOUBLE, 0), (DOUBLE, 0)), -) - -V_CPU_COUNT_RANGE_REQUEST: StaticSchema = ( - 18, - n0, - _VCCRR, - 0, - (_M, _Ma), - ((INTEGER, 1), (INTEGER, 0)), -) - -INSTANCE_REQUIREMENTS_REQUEST: StaticSchema = ( - 18, - n0, - _IRR, - 0, - ( - _VCC, - _MMB, - _CMp, - _MGBPVC, - _EITx, - _IGns, - _SMPPOLP, - _ODMPPOLP, - _BM, - _BP, - _RHS, - _NIC, - _LSo, - _LSTo, - _TLSGB, - _BEBM, - _ATc, - _AC, - _AMc, - _ANc, - _ATMMB, - _NBGe, - _AITl, - _MSPAPOOODP, - _BPF, - _REIT, - ), - ( - (V_CPU_COUNT_RANGE_REQUEST, 1), - (MEMORY_MI_B_REQUEST, 1), - (CPU_MANUFACTURER_SET, {_sN: _CM}), - (MEMORY_GI_B_PER_V_CPU_REQUEST, 0), - (EXCLUDED_INSTANCE_TYPE_SET, {_sN: _EIT}), - (INSTANCE_GENERATION_SET, {_sN: _IGn}), - (INTEGER, 0), - (INTEGER, 0), - (BARE_METAL, 0), - (BURSTABLE_PERFORMANCE, 0), - (BOOLEAN, 0), - (NETWORK_INTERFACE_COUNT_REQUEST, 0), - (LOCAL_STORAGE, 0), - (LOCAL_STORAGE_TYPE_SET, {_sN: _LST}), - (TOTAL_LOCAL_STORAGE_GB_REQUEST, 0), - (BASELINE_EBS_BANDWIDTH_MBPS_REQUEST, 0), - (ACCELERATOR_TYPE_SET, {_sN: _AT}), - (ACCELERATOR_COUNT_REQUEST, 0), - (ACCELERATOR_MANUFACTURER_SET, {_sN: _AM}), - (ACCELERATOR_NAME_SET, {_sN: _AN}), - (ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST, 0), - (NETWORK_BANDWIDTH_GBPS_REQUEST, 0), - (ALLOWED_INSTANCE_TYPE_SET, {_sN: _AIT}), - (INTEGER, 0), - (BASELINE_PERFORMANCE_FACTORS_REQUEST, 0), - (BOOLEAN, 0), - ), -) - -INSTANCE_TYPE: StaticSchema = ( - 14, - n0, - _IT, - 0, - ( - _am____, - _al_, - _ax, - _a__, - _a___, - _am_____, - _cm, - _cx, - _cl_, - _cx_, - _c_, - _c__, - _c___, - _cl__, - _cx__, - _c____, - _c_____, - _c______, - _cl___, - _cx___, - _c_______, - _c________, - _c_________, - _c__________, - _c___________, - _c____________, - _cm_, - _cl____, - _cx____, - _c_____________, - _c______________, - _c_______________, - _c________________, - _c_________________, - _c__________________, - _cl_____, - _cx_____, - _c___________________, - _c____________________, - _c_____________________, - _c______________________, - _c_______________________, - _c________________________, - _cl______, - _cx______, - _c_________________________, - _c__________________________, - _c___________________________, - _c____________________________, - _c_____________________________, - _c______________________________, - _cm__, - _cl_______, - _cx_______, - _c_______________________________, - _c________________________________, - _c_________________________________, - _c__________________________________, - _cm___, - _cm____, - _cl________, - _cx________, - _c___________________________________, - _c____________________________________, - _c_____________________________________, - _c______________________________________, - _c_______________________________________, - _cm_____, - _cm______, - _cl_________, - _cx_________, - _c________________________________________, - _c_________________________________________, - _c__________________________________________, - _c___________________________________________, - _c____________________________________________, - _cm_______, - _cm________, - _cl__________, - _cx__________, - _c_____________________________________________, - _c______________________________________________, - _c_______________________________________________, - _c________________________________________________, - _c_________________________________________________, - _cl___________, - _cx___________, - _c__________________________________________________, - _c___________________________________________________, - _c____________________________________________________, - _c_____________________________________________________, - _c______________________________________________________, - _c_______________________________________________________, - _c________________________________________________________, - _cm_________, - _c_________________________________________________________, - _c__________________________________________________________, - _c___________________________________________________________, - _c____________________________________________________________, - _dx, - _d_, - _d__, - _d___, - _dx_, - _d____, - _d_____, - _d______, - _dx__, - _d_______, - _d________, - _d_________, - _d__________, - _d___________, - _d____________, - _f_, - _f__, - _f___, - _g_, - _g__, - _g___, - _g____, - _g_____, - _gx_, - _gx__, - _g______, - _g_______, - _g________, - _g_________, - _gx___, - _g__________, - _g___________, - _g____________, - _g_____________, - _g______________, - _gm, - _gx____, - _g_______________, - _g________________, - _g_________________, - _g__________________, - _g___________________, - _g____________________, - _g_____________________, - _gx_____, - _g______________________, - _g_______________________, - _g________________________, - _g_________________________, - _gm_, - _h__, - _h___, - _h____, - _h_____, - _h______, - _h_______, - _h________, - _ix, - _i_, - _i__, - _i___, - _il, - _ix_, - _i____, - _i_____, - _i______, - _i_______, - _im_, - _il_, - _ix__, - _i________, - _i_________, - _i__________, - _i___________, - _i____________, - _im__, - _il__, - _ix___, - _i_____________, - _i______________, - _i_______________, - _i________________, - _ix____, - _i_________________, - _i__________________, - _i___________________, - _im___, - _il___, - _ix_____, - _i____________________, - _i_____________________, - _i______________________, - _ms, - _mm, - _ml, - _mx, - _mx_, - _m__, - _m___, - _mm_, - _ml_, - _mx__, - _m____, - _ml__, - _mx___, - _m_____, - _m______, - _m_______, - _m________, - _ml___, - _mx____, - _m_________, - _m__________, - _m___________, - _m____________, - _m_____________, - _m______________, - _mm__, - _ml____, - _mx_____, - _m_______________, - _m________________, - _m_________________, - _m__________________, - _m___________________, - _m____________________, - _ml_____, - _mx______, - _m_____________________, - _m______________________, - _m_______________________, - _m________________________, - _m_________________________, - _m__________________________, - _ml______, - _mx_______, - _m___________________________, - _m____________________________, - _m_____________________________, - _m______________________________, - _m_______________________________, - _m________________________________, - _mm___, - _ml_______, - _mx________, - _m_________________________________, - _m__________________________________, - _m___________________________________, - _m____________________________________, - _m_____________________________________, - _m______________________________________, - _mm____, - _ml________, - _mx_________, - _m_______________________________________, - _m________________________________________, - _m_________________________________________, - _m__________________________________________, - _m___________________________________________, - _m____________________________________________, - _mm_____, - _ml_________, - _mx__________, - _m_____________________________________________, - _m______________________________________________, - _m_______________________________________________, - _m________________________________________________, - _mm______, - _ml__________, - _mx___________, - _m_________________________________________________, - _m__________________________________________________, - _m___________________________________________________, - _m____________________________________________________, - _m_____________________________________________________, - _m______________________________________________________, - _m_______________________________________________________, - _m________________________________________________________, - _mm_______, - _mm________, - _ml___________, - _mx____________, - _m_________________________________________________________, - _m__________________________________________________________, - _m___________________________________________________________, - _m____________________________________________________________, - _m_____________________________________________________________, - _mm_________, - _mm__________, - _ml____________, - _mx_____________, - _m______________________________________________________________, - _m_______________________________________________________________, - _m________________________________________________________________, - _m_________________________________________________________________, - _m__________________________________________________________________, - _ml_____________, - _mx______________, - _m___________________________________________________________________, - _m____________________________________________________________________, - _m_____________________________________________________________________, - _m______________________________________________________________________, - _m_______________________________________________________________________, - _m________________________________________________________________________, - _m_________________________________________________________________________, - _mm___________, - _mm____________, - _px, - _p_, - _p__, - _p___, - _p____, - _p_____, - _p______, - _p_______, - _rl, - _rx, - _r_, - _r__, - _r___, - _rl_, - _rx_, - _r____, - _r_____, - _r______, - _r_______, - _rl__, - _rx__, - _r________, - _r_________, - _r__________, - _r___________, - _r____________, - _r_____________, - _rm, - _rl___, - _rx___, - _r______________, - _r_______________, - _r________________, - _r_________________, - _r__________________, - _r___________________, - _rl____, - _rx____, - _r____________________, - _r_____________________, - _r______________________, - _r_______________________, - _r________________________, - _r_________________________, - _rl_____, - _rx_____, - _r__________________________, - _r___________________________, - _r____________________________, - _r_____________________________, - _r______________________________, - _r_______________________________, - _rm_, - _rl______, - _rx______, - _r________________________________, - _r_________________________________, - _r__________________________________, - _r___________________________________, - _r____________________________________, - _r_____________________________________, - _rm__, - _rl_______, - _rx_______, - _r______________________________________, - _r_______________________________________, - _r________________________________________, - _r_________________________________________, - _r__________________________________________, - _r___________________________________________, - _rm___, - _rl________, - _rx________, - _r____________________________________________, - _r_____________________________________________, - _r______________________________________________, - _r_______________________________________________, - _r________________________________________________, - _r_________________________________________________, - _rm____, - _rm_____, - _rl_________, - _rx_________, - _r__________________________________________________, - _r___________________________________________________, - _r____________________________________________________, - _r_____________________________________________________, - _r______________________________________________________, - _rm______, - _rm_______, - _rl__________, - _rx__________, - _r_______________________________________________________, - _r________________________________________________________, - _r_________________________________________________________, - _r__________________________________________________________, - _r___________________________________________________________, - _rm________, - _rl___________, - _rx___________, - _r____________________________________________________________, - _r_____________________________________________________________, - _r______________________________________________________________, - _r_______________________________________________________________, - _r________________________________________________________________, - _r_________________________________________________________________, - _r__________________________________________________________________, - _rm_________, - _tm, - _tn, - _tm_, - _ts__, - _tm__, - _tl, - _tx, - _t_, - _tn_, - _tm___, - _ts___, - _tm____, - _tl_, - _tx_, - _t__, - _tn__, - _tm_____, - _ts____, - _tm______, - _tl__, - _tx__, - _t___, - _tn___, - _tm_______, - _ts_____, - _tm________, - _tl___, - _tx___, - _t____, - _u_, - _u___, - _u_____, - _u_______, - _um, - _um_, - _um__, - _um___, - _um____, - _v__, - _v___, - _v____, - _x_, - _x__, - _xx_, - _x___, - _x____, - _x_____, - _x______, - _x_______, - _x________, - _x_________, - _x__________, - _x___________, - _x____________, - _xm, - _xm_, - _xl, - _xx__, - _x_____________, - _x______________, - _x_______________, - _x________________, - _x_________________, - _xm__, - _zl, - _zx, - _z_, - _z__, - _z___, - _z____, - _zm, - _x__________________, - _x___________________, - _x____________________, - _xx___, - _x_____________________, - _x______________________, - _x_______________________, - _x________________________, - _x_________________________, - _x__________________________, - _cl____________, - _cx____________, - _c_____________________________________________________________, - _c______________________________________________________________, - _c_______________________________________________________________, - _c________________________________________________________________, - _c_________________________________________________________________, - _c__________________________________________________________________, - _c___________________________________________________________________, - _c____________________________________________________________________, - _cm__________, - _mm_____________, - _il____, - _ix______, - _i_______________________, - _i________________________, - _i_________________________, - _i__________________________, - _i___________________________, - _im____, - _xm___, - _xm____, - _cm___________, - _cl_____________, - _cx_____________, - _c_____________________________________________________________________, - _c______________________________________________________________________, - _c_______________________________________________________________________, - _c________________________________________________________________________, - _c_________________________________________________________________________, - _mm______________, - _cl______________, - _cx______________, - _c__________________________________________________________________________, - _c___________________________________________________________________________, - _c____________________________________________________________________________, - _c_____________________________________________________________________________, - _c______________________________________________________________________________, - _c_______________________________________________________________________________, - _c________________________________________________________________________________, - _cm____________, - _ml______________, - _mx_______________, - _m__________________________________________________________________________, - _m___________________________________________________________________________, - _m____________________________________________________________________________, - _m_____________________________________________________________________________, - _m______________________________________________________________________________, - _m_______________________________________________________________________________, - _m________________________________________________________________________________, - _mm_______________, - _rl____________, - _rx____________, - _r___________________________________________________________________, - _r____________________________________________________________________, - _r_____________________________________________________________________, - _r______________________________________________________________________, - _r_______________________________________________________________________, - _r________________________________________________________________________, - _r_________________________________________________________________________, - _rm__________, - _rl_____________, - _rx_____________, - _r__________________________________________________________________________, - _r___________________________________________________________________________, - _r____________________________________________________________________________, - _r_____________________________________________________________________________, - _r______________________________________________________________________________, - _r_______________________________________________________________________________, - _r________________________________________________________________________________, - _r_________________________________________________________________________________, - _rm___________, - _p________, - _u______________, - _u________________, - _u__________________, - _t_____, - _t______, - _h_________, - _cl_______________, - _cx_______________, - _c_________________________________________________________________________________, - _c__________________________________________________________________________________, - _c___________________________________________________________________________________, - _c____________________________________________________________________________________, - _c_____________________________________________________________________________________, - _c______________________________________________________________________________________, - _c_______________________________________________________________________________________, - _ml_______________, - _mx________________, - _m_________________________________________________________________________________, - _m__________________________________________________________________________________, - _m___________________________________________________________________________________, - _m____________________________________________________________________________________, - _m_____________________________________________________________________________________, - _m______________________________________________________________________________________, - _m_______________________________________________________________________________________, - _ml________________, - _mx_________________, - _m________________________________________________________________________________________, - _m_________________________________________________________________________________________, - _m__________________________________________________________________________________________, - _m___________________________________________________________________________________________, - _m____________________________________________________________________________________________, - _m_____________________________________________________________________________________________, - _m______________________________________________________________________________________________, - _rl______________, - _rx______________, - _r__________________________________________________________________________________, - _r___________________________________________________________________________________, - _r____________________________________________________________________________________, - _r_____________________________________________________________________________________, - _r______________________________________________________________________________________, - _r_______________________________________________________________________________________, - _r________________________________________________________________________________________, - _rl_______________, - _rx_______________, - _r_________________________________________________________________________________________, - _r__________________________________________________________________________________________, - _r___________________________________________________________________________________________, - _r____________________________________________________________________________________________, - _r_____________________________________________________________________________________________, - _r______________________________________________________________________________________________, - _r_______________________________________________________________________________________________, - _cm_____________, - _mm________________, - _ml_________________, - _mx__________________, - _m_______________________________________________________________________________________________, - _m________________________________________________________________________________________________, - _m_________________________________________________________________________________________________, - _m__________________________________________________________________________________________________, - _m___________________________________________________________________________________________________, - _mm_________________, - _rm____________, - _rl________________, - _rx________________, - _r________________________________________________________________________________________________, - _r_________________________________________________________________________________________________, - _r__________________________________________________________________________________________________, - _r___________________________________________________________________________________________________, - _r____________________________________________________________________________________________________, - _rm_____________, - _cm______________, - _mm__________________, - _mm___________________, - _rm______________, - _rm_______________, - _ix_______, - _i____________________________, - _i_____________________________, - _i______________________________, - _t_______, - _il_____, - _ix________, - _i_______________________________, - _i________________________________, - _i_________________________________, - _i__________________________________, - _h__________, - _h___________, - _h____________, - _cm_______________, - _cl________________, - _cx________________, - _c________________________________________________________________________________________, - _c_________________________________________________________________________________________, - _c__________________________________________________________________________________________, - _c___________________________________________________________________________________________, - _c____________________________________________________________________________________________, - _p_________, - _ml__________________, - _mx___________________, - _m____________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________, - _m______________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________, - _m________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________, - _mfl, - _mfx, - _mf__, - _mf____, - _mf______, - _mm____________________, - _ml___________________, - _mx____________________, - _m___________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________, - _mm_____________________, - _h_____________, - _h______________, - _h_______________, - _h________________, - _cm________________, - _cl_________________, - _cx_________________, - _c_____________________________________________________________________________________________, - _c______________________________________________________________________________________________, - _c_______________________________________________________________________________________________, - _c________________________________________________________________________________________________, - _c_________________________________________________________________________________________________, - _mm______________________, - _ml____________________, - _mx_____________________, - _m____________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________, - _rm________________, - _rl_________________, - _rx_________________, - _r_____________________________________________________________________________________________________, - _r______________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________, - _r________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________, - _rm_________________, - _rl__________________, - _rx__________________, - _r__________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________, - _r________________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________________, - _cl__________________, - _cx__________________, - _c__________________________________________________________________________________________________, - _c___________________________________________________________________________________________________, - _c____________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________, - _c______________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________, - _c________________________________________________________________________________________________________, - _mmm, - _rl___________________, - _rx___________________, - _r__________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________, - _cm_________________, - _cl___________________, - _cx___________________, - _c_________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________, - _cm__________________, - _rm__________________, - _rl____________________, - _rx____________________, - _r_________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________, - _d_____________, - _mmm_, - _i___________________________________, - _i____________________________________, - _cm___________________, - _cm____________________, - _mm_________________________, - _mm__________________________, - _rm___________________, - _rm____________________, - _rm_____________________, - _rm______________________, - _cm_____________________, - _mm___________________________, - _rm_______________________, - _gx______, - _g__________________________, - _g___________________________, - _g____________________________, - _g_____________________________, - _g______________________________, - _g_______________________________, - _g________________________________, - _g_________________________________, - _g__________________________________, - _cfl, - _cfx, - _cf__, - _cf____, - _cf______, - _u____________________, - _u______________________, - _u________________________, - _u__________________________, - _u____________________________, - _cm______________________, - _rm________________________, - _rl_____________________, - _rx_____________________, - _r____________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________, - _r________________________________________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________, - _rm_________________________, - _rm__________________________, - _mmm__, - _gx_______, - _g___________________________________, - _g____________________________________, - _g_____________________________________, - _g______________________________________, - _g_______________________________________, - _g________________________________________, - _g_________________________________________, - _cm_______________________, - _cl____________________, - _cx____________________, - _c____________________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________, - _c_________________________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________________________, - _cm________________________, - _cm_________________________, - _mm_____________________________, - _ml_____________________, - _mx______________________, - _m___________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________, - _mm______________________________, - _mm_______________________________, - _xm_____, - _xl_, - _xx____, - _x___________________________, - _x____________________________, - _x_____________________________, - _x______________________________, - _x_______________________________, - _x________________________________, - _x_________________________________, - _xm______, - _xm_______, - _il______, - _ix_________, - _i_____________________________________, - _i______________________________________, - _i_______________________________________, - _i________________________________________, - _i_________________________________________, - _i__________________________________________, - _i___________________________________________, - _il_______, - _ix__________, - _i____________________________________________, - _i_____________________________________________, - _i______________________________________________, - _i_______________________________________________, - _i________________________________________________, - _i_________________________________________________, - _im_____, - _u______________________________, - _u________________________________, - _u__________________________________, - _p__________, - _p___________, - _f____, - _f_____, - _t________, - _cf________, - _cf__________, - _mf________, - _mf__________, - _im______, - _im_______, - _i_____________________________________________________, - _cm__________________________, - _cl_____________________, - _cx_____________________, - _c_____________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________________, - _c_________________________________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________________________________, - _cm___________________________, - _cm____________________________, - _il________, - _ix___________, - _i______________________________________________________, - _i_______________________________________________________, - _i________________________________________________________, - _i_________________________________________________________, - _i__________________________________________________________, - _i___________________________________________________________, - _i____________________________________________________________, - _im________, - _im_________, - _pb, - _mm________________________________, - _ml______________________, - _mx_______________________, - _m____________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________, - _mm_________________________________, - _mm__________________________________, - _rm___________________________, - _rl______________________, - _rx______________________, - _r_____________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________, - _r________________________________________________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________, - _rm____________________________, - _rm_____________________________, - _cm_____________________________, - _cl______________________, - _cx______________________, - _c______________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________________________, - _c_________________________________________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________________________________________, - _cm______________________________, - _cm_______________________________, - _f______, - _pg__, - _gl, - _gx________, - _g__________________________________________, - _g___________________________________________, - _g____________________________________________, - _p____________, - _rl_______________________, - _rx_______________________, - _r______________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________, - _r________________________________________________________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________, - _rm______________________________, - _rm_______________________________, - _rfl, - _rfx, - _rf__, - _rf____, - _rf______, - _rf________, - _rf__________, - _ml_______________________, - _mx________________________, - _m_____________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________, - _mm___________________________________, - _mm____________________________________, - _mfl_, - _mfx_, - _mf______________, - _mf________________, - _mf__________________, - _mf____________________, - _mf______________________, - _il_________, - _ix____________, - _i_______________________________________________________________, - _i________________________________________________________________, - _i_________________________________________________________________, - _i__________________________________________________________________, - _i___________________________________________________________________, - _i____________________________________________________________________, - _i_____________________________________________________________________, - _im__________, - _im___________, - _mmm___, - _mmm____, - _rm________________________________, - _rl________________________, - _rx________________________, - _r_________________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________, - _rm_________________________________, - _rm__________________________________, - _cl_______________________, - _cx_______________________, - _c_______________________________________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________________________________, - _c_________________________________________________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________________________, - _cm________________________________, - _cm_________________________________, - _cfl_, - _cfx_, - _cf______________, - _cf________________, - _cf__________________, - _cf____________________, - _cf______________________, - _rm___________________________________, - _rl_________________________, - _rx_________________________, - _r__________________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________, - _rm____________________________________, - _mm_______________________________________, - _ml________________________, - _mx_________________________, - _m________________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________, - _mm________________________________________, - _mm_________________________________________, - _t_________, - _rm_____________________________________, - _rl__________________________, - _rx__________________________, - _r_________________________________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________________, - _rm______________________________________, - _rm_______________________________________, - _pb__, - _cm__________________________________, - _cl________________________, - _cx________________________, - _c__________________________________________________________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________________________________________________, - _cm___________________________________, - _cm____________________________________, - _c___________________________________________________________________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________________________________________________________, - _cl_________________________, - _cm_____________________________________, - _cm______________________________________, - _cx_________________________, - _c__________________________________________________________________________________________________________________________________________________________________________, - _cm_______________________________________, - _m_________________________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________, - _ml_________________________, - _mm__________________________________________, - _mx__________________________, - _m_______________________________________________________________________________________________________________________________________________________________________, - _mm___________________________________________, - _mm____________________________________________, - _m__________________________________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________________________________________, - _ml__________________________, - _mm_____________________________________________, - _mx___________________________, - _mm______________________________________________, - _mm_______________________________________________, - _x____________________________________, - _x_____________________________________, - _x______________________________________, - _x_______________________________________, - _xl__, - _xm________, - _xm_________, - _xx_____, - _mm________________________________________________, - _ml___________________________, - _mx____________________________, - _m___________________________________________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________________, - _mm_________________________________________________, - _mm__________________________________________________, - _xl___, - _xx______, - _x__________________________________________, - _x___________________________________________, - _x____________________________________________, - _x_____________________________________________, - _x______________________________________________, - _x_______________________________________________, - _x________________________________________________, - _x_________________________________________________, - _x__________________________________________________, - _x___________________________________________________, - _xm__________, - _xm___________, - _mmm_____, - _g_____________________________________________, - _g______________________________________________, - _g_______________________________________________, - _g________________________________________________, - _g_________________________________________________, - _g__________________________________________________, - _rl___________________________, - _rx___________________________, - _r__________________________________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________________________, - _r________________________________________________________________________________________________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________________________________________________, - _rm________________________________________, - _rm_________________________________________, - _cl__________________________, - _cx__________________________, - _c____________________________________________________________________________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________________________________________________________________, - _c_________________________________________________________________________________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________________________________________________________________________________, - _cm________________________________________, - _cm_________________________________________, - _ml____________________________, - _mx_____________________________, - _m_________________________________________________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________________________________________________________, - _mm____________________________________________________, - _mm_____________________________________________________, - _h_________________, - _cl___________________________, - _cx___________________________, - _c_______________________________________________________________________________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________________________________________________________________________, - _c_________________________________________________________________________________________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________________________________________________________________, - _cm__________________________________________, - _cm___________________________________________, - _cl____________________________, - _cx____________________________, - _c__________________________________________________________________________________________________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________________________________________________________________________________________, - _c_________________________________________________________________________________________________________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________________________________________________________________________________________________________, - _cm____________________________________________, - _cm_____________________________________________, - _rl____________________________, - _rx____________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________________________________, - _r________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________________________________________, - _rl_____________________________, - _rx_____________________________, - _r______________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________________________________________, - _r________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________________________________________________________, - _ml_____________________________, - _mx______________________________, - _m____________________________________________________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________________________________________________________________, - _ml______________________________, - _mx_______________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________, - _ml_______________________________, - _mx________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _cl_____________________________, - _cx_____________________________, - _c_____________________________________________________________________________________________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________________________________________________________________________________, - _c________________________________________________________________________________________________________________________________________________________________________________________________________________, - _ml________________________________, - _mx_________________________________, - _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _rl______________________________, - _rx______________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _ml_________________________________, - _mx__________________________________, - _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _rl_______________________________, - _rx_______________________________, - _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _mmm______, - _ml__________________________________, - _mx___________________________________, - _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _mm_______________________________________________________, - _mm________________________________________________________, - _ml___________________________________, - _mx____________________________________, - _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _mm_________________________________________________________, - _mm__________________________________________________________, - _rm__________________________________________, - _rm___________________________________________, - _rm____________________________________________, - _rm_____________________________________________, - _rm______________________________________________, - _rm_______________________________________________, - _rm________________________________________________, - _rm_________________________________________________, - _mm___________________________________________________________, - _mm____________________________________________________________, - _mm_____________________________________________________________, - _mm______________________________________________________________, - _mm_______________________________________________________________, - _mm________________________________________________________________, - _mm_________________________________________________________________, - _mm__________________________________________________________________, - _g___________________________________________________, - _g____________________________________________________, - _g_____________________________________________________, - _g______________________________________________________, - _g_______________________________________________________, - _g________________________________________________________, - _cm______________________________________________, - _cl______________________________, - _cx______________________________, - _c_________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________________________________________________________________________________________, - _cm_______________________________________________, - _cm________________________________________________, - _cl_______________________________, - _cx_______________________________, - _c_________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c__________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c___________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c____________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c_____________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c______________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _c_______________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _cm_________________________________________________, - _rm__________________________________________________, - _rl________________________________, - _rx________________________________, - _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _rm___________________________________________________, - _rm____________________________________________________, - _rl_________________________________, - _rx_________________________________, - _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _rm_____________________________________________________, - _mm___________________________________________________________________, - _tn____, - _tm_________, - _ts______, - _tm__________, - _im____________, - _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, - _rm______________________________________________________, - _mm____________________________________________________________________, - _t__________, - ), - ( - (-1, {_sV: _ame}), - (-1, {_sV: _ala}), - (-1, {_sV: _axl}), - (-1, {_sV: _axla}), - (-1, {_sV: _axlar}), - (-1, {_sV: _amet}), - (-1, {_sV: _cme}), - (-1, {_sV: _cxl}), - (-1, {_sV: _cla}), - (-1, {_sV: _cxla}), - (-1, {_sV: _cxlar}), - (-1, {_sV: _cxlarg}), - (-1, {_sV: _cxlarge}), - (-1, {_sV: _clar}), - (-1, {_sV: _cxlarge_}), - (-1, {_sV: _cxlarge__}), - (-1, {_sV: _cxlarge___}), - (-1, {_sV: _cxlarge____}), - (-1, {_sV: _clarg}), - (-1, {_sV: _cxlarge_____}), - (-1, {_sV: _cxlarge______}), - (-1, {_sV: _cxlarge_______}), - (-1, {_sV: _cxlarge________}), - (-1, {_sV: _cxlarge_________}), - (-1, {_sV: _cxlarge__________}), - (-1, {_sV: _cxlarge___________}), - (-1, {_sV: _cmet}), - (-1, {_sV: _cal}), - (-1, {_sV: _cax}), - (-1, {_sV: _caxl}), - (-1, {_sV: _caxla}), - (-1, {_sV: _caxlar}), - (-1, {_sV: _caxlarg}), - (-1, {_sV: _caxlarge}), - (-1, {_sV: _caxlarge_}), - (-1, {_sV: _cad}), - (-1, {_sV: _cadx}), - (-1, {_sV: _cadxl}), - (-1, {_sV: _cadxla}), - (-1, {_sV: _cadxlar}), - (-1, {_sV: _cadxlarg}), - (-1, {_sV: _cadxlarge}), - (-1, {_sV: _cadxlarge_}), - (-1, {_sV: _cd}), - (-1, {_sV: _cdx}), - (-1, {_sV: _cdxl}), - (-1, {_sV: _cdxla}), - (-1, {_sV: _cdxlar}), - (-1, {_sV: _cdxlarg}), - (-1, {_sV: _cdxlarge}), - (-1, {_sV: _cdxlarge_}), - (-1, {_sV: _cdm}), - (-1, {_sV: _cn}), - (-1, {_sV: _cnx}), - (-1, {_sV: _cnxl}), - (-1, {_sV: _cnxla}), - (-1, {_sV: _cnxlar}), - (-1, {_sV: _cnxlarg}), - (-1, {_sV: _cnm}), - (-1, {_sV: _cgm}), - (-1, {_sV: _cgl}), - (-1, {_sV: _cgx}), - (-1, {_sV: _cgxl}), - (-1, {_sV: _cgxla}), - (-1, {_sV: _cgxlar}), - (-1, {_sV: _cgxlarg}), - (-1, {_sV: _cgxlarge}), - (-1, {_sV: _cgme}), - (-1, {_sV: _cgd}), - (-1, {_sV: _cgdl}), - (-1, {_sV: _cgdx}), - (-1, {_sV: _cgdxl}), - (-1, {_sV: _cgdxla}), - (-1, {_sV: _cgdxlar}), - (-1, {_sV: _cgdxlarg}), - (-1, {_sV: _cgdxlarge}), - (-1, {_sV: _cgdm}), - (-1, {_sV: _cgn}), - (-1, {_sV: _cgnl}), - (-1, {_sV: _cgnx}), - (-1, {_sV: _cgnxl}), - (-1, {_sV: _cgnxla}), - (-1, {_sV: _cgnxlar}), - (-1, {_sV: _cgnxlarg}), - (-1, {_sV: _cgnxlarge}), - (-1, {_sV: _cil}), - (-1, {_sV: _cix}), - (-1, {_sV: _cixl}), - (-1, {_sV: _cixla}), - (-1, {_sV: _cixlar}), - (-1, {_sV: _cixlarg}), - (-1, {_sV: _cixlarge}), - (-1, {_sV: _cixlarge_}), - (-1, {_sV: _cixlarge__}), - (-1, {_sV: _cim}), - (-1, {_sV: _cc}), - (-1, {_sV: _ccx}), - (-1, {_sV: _cgxlarge_}), - (-1, {_sV: _crx}), - (-1, {_sV: _dxl}), - (-1, {_sV: _dxla}), - (-1, {_sV: _dxlar}), - (-1, {_sV: _dxlarg}), - (-1, {_sV: _dxlarge}), - (-1, {_sV: _dxlarge_}), - (-1, {_sV: _dxlarge__}), - (-1, {_sV: _dxlarge___}), - (-1, {_sV: _den}), - (-1, {_sV: _denx}), - (-1, {_sV: _denxl}), - (-1, {_sV: _denxla}), - (-1, {_sV: _denxlar}), - (-1, {_sV: _denxlarg}), - (-1, {_sV: _dl}), - (-1, {_sV: _fx}), - (-1, {_sV: _fxl}), - (-1, {_sV: _fxla}), - (-1, {_sV: _gx}), - (-1, {_sV: _gxl}), - (-1, {_sV: _gxla}), - (-1, {_sV: _gxlar}), - (-1, {_sV: _gxlarg}), - (-1, {_sV: _gs}), - (-1, {_sV: _ga}), - (-1, {_sV: _gad}), - (-1, {_sV: _gadx}), - (-1, {_sV: _gadxl}), - (-1, {_sV: _gadxla}), - (-1, {_sV: _gd}), - (-1, {_sV: _gdn}), - (-1, {_sV: _gdnx}), - (-1, {_sV: _gdnxl}), - (-1, {_sV: _gdnxla}), - (-1, {_sV: _gdnxlar}), - (-1, {_sV: _gdnm}), - (-1, {_sV: _gxlarge}), - (-1, {_sV: _gxlarge_}), - (-1, {_sV: _gxlarge__}), - (-1, {_sV: _gxlarge___}), - (-1, {_sV: _gxlarge____}), - (-1, {_sV: _gxlarge_____}), - (-1, {_sV: _gxlarge______}), - (-1, {_sV: _gxlarge_______}), - (-1, {_sV: _gg}), - (-1, {_sV: _ggx}), - (-1, {_sV: _ggxl}), - (-1, {_sV: _ggxla}), - (-1, {_sV: _ggxlar}), - (-1, {_sV: _ggm}), - (-1, {_sV: _hi}), - (-1, {_sV: _hp}), - (-1, {_sV: _hs}), - (-1, {_sV: _hx}), - (-1, {_sV: _hxl}), - (-1, {_sV: _hxla}), - (-1, {_sV: _hxlar}), - (-1, {_sV: _ixl}), - (-1, {_sV: _ixla}), - (-1, {_sV: _ixlar}), - (-1, {_sV: _ixlarg}), - (-1, {_sV: _ila}), - (-1, {_sV: _ixlarge}), - (-1, {_sV: _ixlarge_}), - (-1, {_sV: _ixlarge__}), - (-1, {_sV: _ixlarge___}), - (-1, {_sV: _ixlarge____}), - (-1, {_sV: _ime}), - (-1, {_sV: _ien}), - (-1, {_sV: _ienx}), - (-1, {_sV: _ienxl}), - (-1, {_sV: _ienxla}), - (-1, {_sV: _ienxlar}), - (-1, {_sV: _ienxlarg}), - (-1, {_sV: _ienxlarge}), - (-1, {_sV: _ienm}), - (-1, {_sV: _img}), - (-1, {_sV: _imgn}), - (-1, {_sV: _imgnx}), - (-1, {_sV: _imgnxl}), - (-1, {_sV: _imgnxla}), - (-1, {_sV: _imgnxlar}), - (-1, {_sV: _infx}), - (-1, {_sV: _infxl}), - (-1, {_sV: _infxla}), - (-1, {_sV: _infxlar}), - (-1, {_sV: _isg}), - (-1, {_sV: _isge}), - (-1, {_sV: _isgen}), - (-1, {_sV: _isgenx}), - (-1, {_sV: _isgenxl}), - (-1, {_sV: _isgenxla}), - (-1, {_sV: _msm}), - (-1, {_sV: _mme}), - (-1, {_sV: _mla}), - (-1, {_sV: _mxl}), - (-1, {_sV: _mxla}), - (-1, {_sV: _mxlar}), - (-1, {_sV: _mxlarg}), - (-1, {_sV: _mmed}), - (-1, {_sV: _mlar}), - (-1, {_sV: _mxlarge}), - (-1, {_sV: _mxlarge_}), - (-1, {_sV: _mlarg}), - (-1, {_sV: _mxlarge__}), - (-1, {_sV: _mxlarge___}), - (-1, {_sV: _mxlarge____}), - (-1, {_sV: _mxlarge_____}), - (-1, {_sV: _mxlarge______}), - (-1, {_sV: _mlarge}), - (-1, {_sV: _mxlarge_______}), - (-1, {_sV: _mxlarge________}), - (-1, {_sV: _mxlarge_________}), - (-1, {_sV: _mxlarge__________}), - (-1, {_sV: _mxlarge___________}), - (-1, {_sV: _mxlarge____________}), - (-1, {_sV: _mxlarge_____________}), - (-1, {_sV: _mmet}), - (-1, {_sV: _mal}), - (-1, {_sV: _max}), - (-1, {_sV: _maxl}), - (-1, {_sV: _maxla}), - (-1, {_sV: _maxlar}), - (-1, {_sV: _maxlarg}), - (-1, {_sV: _maxlarge}), - (-1, {_sV: _maxlarge_}), - (-1, {_sV: _mad}), - (-1, {_sV: _madx}), - (-1, {_sV: _madxl}), - (-1, {_sV: _madxla}), - (-1, {_sV: _madxlar}), - (-1, {_sV: _madxlarg}), - (-1, {_sV: _madxlarge}), - (-1, {_sV: _madxlarge_}), - (-1, {_sV: _md}), - (-1, {_sV: _mdx}), - (-1, {_sV: _mdxl}), - (-1, {_sV: _mdxla}), - (-1, {_sV: _mdxlar}), - (-1, {_sV: _mdxlarg}), - (-1, {_sV: _mdxlarge}), - (-1, {_sV: _mdxlarge_}), - (-1, {_sV: _mdm}), - (-1, {_sV: _mdn}), - (-1, {_sV: _mdnx}), - (-1, {_sV: _mdnxl}), - (-1, {_sV: _mdnxla}), - (-1, {_sV: _mdnxlar}), - (-1, {_sV: _mdnxlarg}), - (-1, {_sV: _mdnxlarge}), - (-1, {_sV: _mdnxlarge_}), - (-1, {_sV: _mdnm}), - (-1, {_sV: _mn}), - (-1, {_sV: _mnx}), - (-1, {_sV: _mnxl}), - (-1, {_sV: _mnxla}), - (-1, {_sV: _mnxlar}), - (-1, {_sV: _mnxlarg}), - (-1, {_sV: _mnxlarge}), - (-1, {_sV: _mnxlarge_}), - (-1, {_sV: _mnm}), - (-1, {_sV: _mz}), - (-1, {_sV: _mzn}), - (-1, {_sV: _mznx}), - (-1, {_sV: _mznxl}), - (-1, {_sV: _mznxla}), - (-1, {_sV: _mznxlar}), - (-1, {_sV: _mznm}), - (-1, {_sV: _mala}), - (-1, {_sV: _maxlarge__}), - (-1, {_sV: _maxlarge___}), - (-1, {_sV: _maxlarge____}), - (-1, {_sV: _maxlarge_____}), - (-1, {_sV: _maxlarge______}), - (-1, {_sV: _maxlarge_______}), - (-1, {_sV: _maxlarge________}), - (-1, {_sV: _maxlarge_________}), - (-1, {_sV: _maxlarge__________}), - (-1, {_sV: _mg}), - (-1, {_sV: _mgm}), - (-1, {_sV: _mgl}), - (-1, {_sV: _mgx}), - (-1, {_sV: _mgxl}), - (-1, {_sV: _mgxla}), - (-1, {_sV: _mgxlar}), - (-1, {_sV: _mgxlarg}), - (-1, {_sV: _mgxlarge}), - (-1, {_sV: _mgd}), - (-1, {_sV: _mgdm}), - (-1, {_sV: _mgdl}), - (-1, {_sV: _mgdx}), - (-1, {_sV: _mgdxl}), - (-1, {_sV: _mgdxla}), - (-1, {_sV: _mgdxlar}), - (-1, {_sV: _mgdxlarg}), - (-1, {_sV: _mgdxlarge}), - (-1, {_sV: _mi}), - (-1, {_sV: _mix}), - (-1, {_sV: _mixl}), - (-1, {_sV: _mixla}), - (-1, {_sV: _mixlar}), - (-1, {_sV: _mixlarg}), - (-1, {_sV: _mixlarge}), - (-1, {_sV: _mixlarge_}), - (-1, {_sV: _mixlarge__}), - (-1, {_sV: _mim}), - (-1, {_sV: _mac}), - (-1, {_sV: _pxl}), - (-1, {_sV: _pxla}), - (-1, {_sV: _pxlar}), - (-1, {_sV: _pxlarg}), - (-1, {_sV: _pxlarge}), - (-1, {_sV: _pxlarge_}), - (-1, {_sV: _pdn}), - (-1, {_sV: _pdx}), - (-1, {_sV: _rla}), - (-1, {_sV: _rxl}), - (-1, {_sV: _rxla}), - (-1, {_sV: _rxlar}), - (-1, {_sV: _rxlarg}), - (-1, {_sV: _rlar}), - (-1, {_sV: _rxlarge}), - (-1, {_sV: _rxlarge_}), - (-1, {_sV: _rxlarge__}), - (-1, {_sV: _rxlarge___}), - (-1, {_sV: _rxlarge____}), - (-1, {_sV: _rlarg}), - (-1, {_sV: _rxlarge_____}), - (-1, {_sV: _rxlarge______}), - (-1, {_sV: _rxlarge_______}), - (-1, {_sV: _rxlarge________}), - (-1, {_sV: _rxlarge_________}), - (-1, {_sV: _rxlarge__________}), - (-1, {_sV: _rxlarge___________}), - (-1, {_sV: _rme}), - (-1, {_sV: _ra}), - (-1, {_sV: _rax}), - (-1, {_sV: _raxl}), - (-1, {_sV: _raxla}), - (-1, {_sV: _raxlar}), - (-1, {_sV: _raxlarg}), - (-1, {_sV: _raxlarge}), - (-1, {_sV: _raxlarge_}), - (-1, {_sV: _rad}), - (-1, {_sV: _radx}), - (-1, {_sV: _radxl}), - (-1, {_sV: _radxla}), - (-1, {_sV: _radxlar}), - (-1, {_sV: _radxlarg}), - (-1, {_sV: _radxlarge}), - (-1, {_sV: _radxlarge_}), - (-1, {_sV: _rb}), - (-1, {_sV: _rbx}), - (-1, {_sV: _rbxl}), - (-1, {_sV: _rbxla}), - (-1, {_sV: _rbxlar}), - (-1, {_sV: _rbxlarg}), - (-1, {_sV: _rbxlarge}), - (-1, {_sV: _rbxlarge_}), - (-1, {_sV: _rbm}), - (-1, {_sV: _rdl}), - (-1, {_sV: _rdx}), - (-1, {_sV: _rdxl}), - (-1, {_sV: _rdxla}), - (-1, {_sV: _rdxlar}), - (-1, {_sV: _rdxlarg}), - (-1, {_sV: _rdxlarge}), - (-1, {_sV: _rdxlarge_}), - (-1, {_sV: _rdm}), - (-1, {_sV: _rdn}), - (-1, {_sV: _rdnx}), - (-1, {_sV: _rdnxl}), - (-1, {_sV: _rdnxla}), - (-1, {_sV: _rdnxlar}), - (-1, {_sV: _rdnxlarg}), - (-1, {_sV: _rdnxlarge}), - (-1, {_sV: _rdnxlarge_}), - (-1, {_sV: _rdnm}), - (-1, {_sV: _rnl}), - (-1, {_sV: _rnx}), - (-1, {_sV: _rnxl}), - (-1, {_sV: _rnxla}), - (-1, {_sV: _rnxlar}), - (-1, {_sV: _rnxlarg}), - (-1, {_sV: _rnxlarge}), - (-1, {_sV: _rnxlarge_}), - (-1, {_sV: _rnm}), - (-1, {_sV: _rg}), - (-1, {_sV: _rgl}), - (-1, {_sV: _rgx}), - (-1, {_sV: _rgxl}), - (-1, {_sV: _rgxla}), - (-1, {_sV: _rgxlar}), - (-1, {_sV: _rgxlarg}), - (-1, {_sV: _rgxlarge}), - (-1, {_sV: _rgm}), - (-1, {_sV: _rgd}), - (-1, {_sV: _rgdl}), - (-1, {_sV: _rgdx}), - (-1, {_sV: _rgdxl}), - (-1, {_sV: _rgdxla}), - (-1, {_sV: _rgdxlar}), - (-1, {_sV: _rgdxlarg}), - (-1, {_sV: _rgdxlarge}), - (-1, {_sV: _rgdm}), - (-1, {_sV: _ril}), - (-1, {_sV: _rix}), - (-1, {_sV: _rixl}), - (-1, {_sV: _rixla}), - (-1, {_sV: _rixlar}), - (-1, {_sV: _rixlarg}), - (-1, {_sV: _rixlarge}), - (-1, {_sV: _rixlarge_}), - (-1, {_sV: _rixlarge__}), - (-1, {_sV: _rim}), - (-1, {_sV: _tmi}), - (-1, {_sV: _tna}), - (-1, {_sV: _tmic}), - (-1, {_sV: _tsm}), - (-1, {_sV: _tme}), - (-1, {_sV: _tla}), - (-1, {_sV: _txl}), - (-1, {_sV: _txla}), - (-1, {_sV: _tnan}), - (-1, {_sV: _tmicr}), - (-1, {_sV: _tsma}), - (-1, {_sV: _tmed}), - (-1, {_sV: _tlar}), - (-1, {_sV: _txlar}), - (-1, {_sV: _txlarg}), - (-1, {_sV: _tan}), - (-1, {_sV: _tam}), - (-1, {_sV: _tas}), - (-1, {_sV: _tame}), - (-1, {_sV: _tal}), - (-1, {_sV: _tax}), - (-1, {_sV: _taxl}), - (-1, {_sV: _tgn}), - (-1, {_sV: _tgm}), - (-1, {_sV: _tgs}), - (-1, {_sV: _tgme}), - (-1, {_sV: _tgl}), - (-1, {_sV: _tgx}), - (-1, {_sV: _tgxl}), - (-1, {_sV: _u__}), - (-1, {_sV: _u____}), - (-1, {_sV: _u______}), - (-1, {_sV: _u________}), - (-1, {_sV: _u_________}), - (-1, {_sV: _u__________}), - (-1, {_sV: _u___________}), - (-1, {_sV: _u____________}), - (-1, {_sV: _u_____________}), - (-1, {_sV: _vt}), - (-1, {_sV: _vtx}), - (-1, {_sV: _vtxl}), - (-1, {_sV: _xx}), - (-1, {_sV: _xxl}), - (-1, {_sV: _xe}), - (-1, {_sV: _xex}), - (-1, {_sV: _xexl}), - (-1, {_sV: _xexla}), - (-1, {_sV: _xexlar}), - (-1, {_sV: _xexlarg}), - (-1, {_sV: _xi}), - (-1, {_sV: _xie}), - (-1, {_sV: _xiez}), - (-1, {_sV: _xiezn}), - (-1, {_sV: _xieznx}), - (-1, {_sV: _xieznm}), - (-1, {_sV: _xg}), - (-1, {_sV: _xgd}), - (-1, {_sV: _xgdx}), - (-1, {_sV: _xgdxl}), - (-1, {_sV: _xgdxla}), - (-1, {_sV: _xgdxlar}), - (-1, {_sV: _xgdxlarg}), - (-1, {_sV: _xgdxlarge}), - (-1, {_sV: _xgdm}), - (-1, {_sV: _z}), - (-1, {_sV: _zd}), - (-1, {_sV: _zdx}), - (-1, {_sV: _zdxl}), - (-1, {_sV: _zdxla}), - (-1, {_sV: _zdxlar}), - (-1, {_sV: _zdm}), - (-1, {_sV: _xid}), - (-1, {_sV: _xidn}), - (-1, {_sV: _xidnx}), - (-1, {_sV: _xied}), - (-1, {_sV: _xiedn}), - (-1, {_sV: _xiednx}), - (-1, {_sV: _xiednxl}), - (-1, {_sV: _xiednxla}), - (-1, {_sV: _xiednxlar}), - (-1, {_sV: _xiednxlarg}), - (-1, {_sV: _cala}), - (-1, {_sV: _caxlarge__}), - (-1, {_sV: _caxlarge___}), - (-1, {_sV: _caxlarge____}), - (-1, {_sV: _caxlarge_____}), - (-1, {_sV: _caxlarge______}), - (-1, {_sV: _caxlarge_______}), - (-1, {_sV: _caxlarge________}), - (-1, {_sV: _caxlarge_________}), - (-1, {_sV: _caxlarge__________}), - (-1, {_sV: _cam}), - (-1, {_sV: _mam}), - (-1, {_sV: _ii}), - (-1, {_sV: _iix}), - (-1, {_sV: _iixl}), - (-1, {_sV: _iixla}), - (-1, {_sV: _iixlar}), - (-1, {_sV: _iixlarg}), - (-1, {_sV: _iixlarge}), - (-1, {_sV: _iim}), - (-1, {_sV: _xidnm}), - (-1, {_sV: _xiednm}), - (-1, {_sV: _cgmed}), - (-1, {_sV: _cgla}), - (-1, {_sV: _cgxlarge__}), - (-1, {_sV: _cgxlarge___}), - (-1, {_sV: _cgxlarge____}), - (-1, {_sV: _cgxlarge_____}), - (-1, {_sV: _cgxlarge______}), - (-1, {_sV: _cgxlarge_______}), - (-1, {_sV: _macm}), - (-1, {_sV: _cid}), - (-1, {_sV: _cidx}), - (-1, {_sV: _cidxl}), - (-1, {_sV: _cidxla}), - (-1, {_sV: _cidxlar}), - (-1, {_sV: _cidxlarg}), - (-1, {_sV: _cidxlarge}), - (-1, {_sV: _cidxlarge_}), - (-1, {_sV: _cidxlarge__}), - (-1, {_sV: _cidm}), - (-1, {_sV: _mid}), - (-1, {_sV: _midx}), - (-1, {_sV: _midxl}), - (-1, {_sV: _midxla}), - (-1, {_sV: _midxlar}), - (-1, {_sV: _midxlarg}), - (-1, {_sV: _midxlarge}), - (-1, {_sV: _midxlarge_}), - (-1, {_sV: _midxlarge__}), - (-1, {_sV: _midm}), - (-1, {_sV: _rid}), - (-1, {_sV: _ridx}), - (-1, {_sV: _ridxl}), - (-1, {_sV: _ridxla}), - (-1, {_sV: _ridxlar}), - (-1, {_sV: _ridxlarg}), - (-1, {_sV: _ridxlarge}), - (-1, {_sV: _ridxlarge_}), - (-1, {_sV: _ridxlarge__}), - (-1, {_sV: _ridm}), - (-1, {_sV: _ral}), - (-1, {_sV: _raxlarge__}), - (-1, {_sV: _raxlarge___}), - (-1, {_sV: _raxlarge____}), - (-1, {_sV: _raxlarge_____}), - (-1, {_sV: _raxlarge______}), - (-1, {_sV: _raxlarge_______}), - (-1, {_sV: _raxlarge________}), - (-1, {_sV: _raxlarge_________}), - (-1, {_sV: _raxlarge__________}), - (-1, {_sV: _ram}), - (-1, {_sV: _pde}), - (-1, {_sV: _u_______________}), - (-1, {_sV: _u_________________}), - (-1, {_sV: _u___________________}), - (-1, {_sV: _trn}), - (-1, {_sV: _trnx}), - (-1, {_sV: _hpc}), - (-1, {_sV: _cin}), - (-1, {_sV: _cinx}), - (-1, {_sV: _cinxl}), - (-1, {_sV: _cinxla}), - (-1, {_sV: _cinxlar}), - (-1, {_sV: _cinxlarg}), - (-1, {_sV: _cinxlarge}), - (-1, {_sV: _cinxlarge_}), - (-1, {_sV: _cinxlarge__}), - (-1, {_sV: _min}), - (-1, {_sV: _minx}), - (-1, {_sV: _minxl}), - (-1, {_sV: _minxla}), - (-1, {_sV: _minxlar}), - (-1, {_sV: _minxlarg}), - (-1, {_sV: _minxlarge}), - (-1, {_sV: _minxlarge_}), - (-1, {_sV: _minxlarge__}), - (-1, {_sV: _midn}), - (-1, {_sV: _midnx}), - (-1, {_sV: _midnxl}), - (-1, {_sV: _midnxla}), - (-1, {_sV: _midnxlar}), - (-1, {_sV: _midnxlarg}), - (-1, {_sV: _midnxlarge}), - (-1, {_sV: _midnxlarge_}), - (-1, {_sV: _midnxlarge__}), - (-1, {_sV: _rin}), - (-1, {_sV: _rinx}), - (-1, {_sV: _rinxl}), - (-1, {_sV: _rinxla}), - (-1, {_sV: _rinxlar}), - (-1, {_sV: _rinxlarg}), - (-1, {_sV: _rinxlarge}), - (-1, {_sV: _rinxlarge_}), - (-1, {_sV: _rinxlarge__}), - (-1, {_sV: _ridn}), - (-1, {_sV: _ridnx}), - (-1, {_sV: _ridnxl}), - (-1, {_sV: _ridnxla}), - (-1, {_sV: _ridnxlar}), - (-1, {_sV: _ridnxlarg}), - (-1, {_sV: _ridnxlarge}), - (-1, {_sV: _ridnxlarge_}), - (-1, {_sV: _ridnxlarge__}), - (-1, {_sV: _cgmet}), - (-1, {_sV: _mgme}), - (-1, {_sV: _mgla}), - (-1, {_sV: _mgxlarge_}), - (-1, {_sV: _mgxlarge__}), - (-1, {_sV: _mgxlarge___}), - (-1, {_sV: _mgxlarge____}), - (-1, {_sV: _mgxlarge_____}), - (-1, {_sV: _mgxlarge______}), - (-1, {_sV: _mgmet}), - (-1, {_sV: _rgme}), - (-1, {_sV: _rgla}), - (-1, {_sV: _rgxlarge_}), - (-1, {_sV: _rgxlarge__}), - (-1, {_sV: _rgxlarge___}), - (-1, {_sV: _rgxlarge____}), - (-1, {_sV: _rgxlarge_____}), - (-1, {_sV: _rgxlarge______}), - (-1, {_sV: _rgmet}), - (-1, {_sV: _cinm}), - (-1, {_sV: _minm}), - (-1, {_sV: _midnm}), - (-1, {_sV: _rinm}), - (-1, {_sV: _ridnm}), - (-1, {_sV: _infxlarg}), - (-1, {_sV: _infxlarge}), - (-1, {_sV: _infxlarge_}), - (-1, {_sV: _infxlarge__}), - (-1, {_sV: _trnn}), - (-1, {_sV: _igl}), - (-1, {_sV: _igx}), - (-1, {_sV: _igxl}), - (-1, {_sV: _igxla}), - (-1, {_sV: _igxlar}), - (-1, {_sV: _igxlarg}), - (-1, {_sV: _hpcg}), - (-1, {_sV: _hpcgx}), - (-1, {_sV: _hpcgxl}), - (-1, {_sV: _cgnm}), - (-1, {_sV: _cgnla}), - (-1, {_sV: _cgnxlarge_}), - (-1, {_sV: _cgnxlarge__}), - (-1, {_sV: _cgnxlarge___}), - (-1, {_sV: _cgnxlarge____}), - (-1, {_sV: _cgnxlarge_____}), - (-1, {_sV: _cgnxlarge______}), - (-1, {_sV: _pxlarge__}), - (-1, {_sV: _mil}), - (-1, {_sV: _mixlarge___}), - (-1, {_sV: _mixlarge____}), - (-1, {_sV: _mixlarge_____}), - (-1, {_sV: _mixlarge______}), - (-1, {_sV: _mixlarge_______}), - (-1, {_sV: _mixlarge________}), - (-1, {_sV: _mixlarge_________}), - (-1, {_sV: _mixlarge__________}), - (-1, {_sV: _mf}), - (-1, {_sV: _mf_}), - (-1, {_sV: _mf___}), - (-1, {_sV: _mf_____}), - (-1, {_sV: _mf_______}), - (-1, {_sV: _mame}), - (-1, {_sV: _malar}), - (-1, {_sV: _maxlarge___________}), - (-1, {_sV: _maxlarge____________}), - (-1, {_sV: _maxlarge_____________}), - (-1, {_sV: _maxlarge______________}), - (-1, {_sV: _maxlarge_______________}), - (-1, {_sV: _maxlarge________________}), - (-1, {_sV: _maxlarge_________________}), - (-1, {_sV: _maxlarge__________________}), - (-1, {_sV: _maxlarge___________________}), - ( - -1, - { - _sV: _m___________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _hpca}), - (-1, {_sV: _hpcax}), - (-1, {_sV: _hpcaxl}), - (-1, {_sV: _hpcaxla}), - (-1, {_sV: _cgdme}), - (-1, {_sV: _cgdla}), - (-1, {_sV: _cgdxlarge_}), - (-1, {_sV: _cgdxlarge__}), - (-1, {_sV: _cgdxlarge___}), - (-1, {_sV: _cgdxlarge____}), - (-1, {_sV: _cgdxlarge_____}), - (-1, {_sV: _cgdxlarge______}), - (-1, {_sV: _mgdme}), - (-1, {_sV: _mgdla}), - (-1, {_sV: _mgdxlarge_}), - (-1, {_sV: _mgdxlarge__}), - (-1, {_sV: _mgdxlarge___}), - (-1, {_sV: _mgdxlarge____}), - (-1, {_sV: _mgdxlarge_____}), - (-1, {_sV: _mgdxlarge______}), - (-1, {_sV: _rgdme}), - (-1, {_sV: _rgdla}), - (-1, {_sV: _rgdxlarge_}), - (-1, {_sV: _rgdxlarge__}), - (-1, {_sV: _rgdxlarge___}), - (-1, {_sV: _rgdxlarge____}), - (-1, {_sV: _rgdxlarge_____}), - (-1, {_sV: _rgdxlarge______}), - (-1, {_sV: _rame}), - (-1, {_sV: _rala}), - (-1, {_sV: _raxlarge___________}), - (-1, {_sV: _raxlarge____________}), - (-1, {_sV: _raxlarge_____________}), - (-1, {_sV: _raxlarge______________}), - (-1, {_sV: _raxlarge_______________}), - (-1, {_sV: _raxlarge________________}), - (-1, {_sV: _raxlarge_________________}), - (-1, {_sV: _raxlarge__________________}), - (-1, {_sV: _raxlarge___________________}), - (-1, {_sV: _cila}), - (-1, {_sV: _cixlarge___}), - (-1, {_sV: _cixlarge____}), - (-1, {_sV: _cixlarge_____}), - (-1, {_sV: _cixlarge______}), - (-1, {_sV: _cixlarge_______}), - (-1, {_sV: _cixlarge________}), - (-1, {_sV: _cixlarge_________}), - (-1, {_sV: _cixlarge__________}), - (-1, {_sV: _mm_______________________}), - (-1, {_sV: _riz}), - (-1, {_sV: _rizx}), - (-1, {_sV: _rizxl}), - (-1, {_sV: _rizxla}), - (-1, {_sV: _rizxlar}), - (-1, {_sV: _rizxlarg}), - (-1, {_sV: _rizxlarge}), - (-1, {_sV: _rizxlarge_}), - (-1, {_sV: _came}), - (-1, {_sV: _calar}), - (-1, {_sV: _caxlarge___________}), - (-1, {_sV: _caxlarge____________}), - (-1, {_sV: _caxlarge_____________}), - (-1, {_sV: _caxlarge______________}), - (-1, {_sV: _caxlarge_______________}), - (-1, {_sV: _caxlarge________________}), - (-1, {_sV: _caxlarge_________________}), - (-1, {_sV: _caxlarge__________________}), - (-1, {_sV: _caxlarge___________________}), - ( - -1, - { - _sV: _c_________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _rila}), - (-1, {_sV: _rixlarge___}), - (-1, {_sV: _rixlarge____}), - (-1, {_sV: _rixlarge_____}), - (-1, {_sV: _rixlarge______}), - (-1, {_sV: _rixlarge_______}), - (-1, {_sV: _rixlarge________}), - (-1, {_sV: _rixlarge_________}), - (-1, {_sV: _rixlarge__________}), - (-1, {_sV: _dlq}), - (-1, {_sV: _mm________________________}), - (-1, {_sV: _iixlarge_}), - (-1, {_sV: _iixlarge__}), - ( - -1, - { - _sV: _c__________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _c___________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m_________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m__________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r_________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r__________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r___________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _cgdmet}), - (-1, {_sV: _mgdmet}), - (-1, {_sV: _rgdmet}), - (-1, {_sV: _gxlarge________}), - (-1, {_sV: _gxlarge_________}), - (-1, {_sV: _gxlarge__________}), - (-1, {_sV: _gxlarge___________}), - (-1, {_sV: _gxlarge____________}), - (-1, {_sV: _gxlarge_____________}), - (-1, {_sV: _gxlarge______________}), - (-1, {_sV: _gxlarge_______________}), - (-1, {_sV: _grx}), - (-1, {_sV: _grxl}), - (-1, {_sV: _cf}), - (-1, {_sV: _cf_}), - (-1, {_sV: _cf___}), - (-1, {_sV: _cf_____}), - (-1, {_sV: _cf_______}), - (-1, {_sV: _u_____________________}), - (-1, {_sV: _u_______________________}), - (-1, {_sV: _u_________________________}), - (-1, {_sV: _u___________________________}), - (-1, {_sV: _u_____________________________}), - (-1, {_sV: _cgnme}), - (-1, {_sV: _rgmed}), - (-1, {_sV: _rglar}), - (-1, {_sV: _rgxlarge_______}), - (-1, {_sV: _rgxlarge________}), - (-1, {_sV: _rgxlarge_________}), - (-1, {_sV: _rgxlarge__________}), - (-1, {_sV: _rgxlarge___________}), - (-1, {_sV: _rgxlarge____________}), - (-1, {_sV: _rgxlarge_____________}), - (-1, {_sV: _rgxlarge______________}), - ( - -1, - { - _sV: _r___________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r____________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _mm____________________________}), - (-1, {_sV: _ge}), - (-1, {_sV: _gex}), - (-1, {_sV: _gexl}), - (-1, {_sV: _gexla}), - (-1, {_sV: _gexlar}), - (-1, {_sV: _gexlarg}), - (-1, {_sV: _gexlarge}), - (-1, {_sV: _gexlarge_}), - (-1, {_sV: _cgmedi}), - (-1, {_sV: _cglar}), - (-1, {_sV: _cgxlarge________}), - (-1, {_sV: _cgxlarge_________}), - (-1, {_sV: _cgxlarge__________}), - (-1, {_sV: _cgxlarge___________}), - (-1, {_sV: _cgxlarge____________}), - (-1, {_sV: _cgxlarge_____________}), - (-1, {_sV: _cgxlarge______________}), - (-1, {_sV: _cgxlarge_______________}), - ( - -1, - { - _sV: _c___________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _c____________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _mgmed}), - (-1, {_sV: _mglar}), - (-1, {_sV: _mgxlarge_______}), - (-1, {_sV: _mgxlarge________}), - (-1, {_sV: _mgxlarge_________}), - (-1, {_sV: _mgxlarge__________}), - (-1, {_sV: _mgxlarge___________}), - (-1, {_sV: _mgxlarge____________}), - (-1, {_sV: _mgxlarge_____________}), - (-1, {_sV: _mgxlarge______________}), - ( - -1, - { - _sV: _m__________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m___________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _xgm}), - (-1, {_sV: _xgl}), - (-1, {_sV: _xgx}), - (-1, {_sV: _xgxl}), - (-1, {_sV: _xgxla}), - (-1, {_sV: _xgxlar}), - (-1, {_sV: _xgxlarg}), - (-1, {_sV: _xgxlarge}), - (-1, {_sV: _xgxlarge_}), - (-1, {_sV: _xgxlarge__}), - (-1, {_sV: _x__________________________________}), - (-1, {_sV: _x___________________________________}), - (-1, {_sV: _iie}), - (-1, {_sV: _iiex}), - (-1, {_sV: _iiexl}), - (-1, {_sV: _iiexla}), - (-1, {_sV: _iiexlar}), - (-1, {_sV: _iiexlarg}), - (-1, {_sV: _iiexlarge}), - (-1, {_sV: _iiexlarge_}), - (-1, {_sV: _iiexlarge__}), - (-1, {_sV: _igla}), - (-1, {_sV: _igxlarge}), - (-1, {_sV: _igxlarge_}), - (-1, {_sV: _igxlarge__}), - (-1, {_sV: _igxlarge___}), - (-1, {_sV: _igxlarge____}), - (-1, {_sV: _igxlarge_____}), - (-1, {_sV: _igxlarge______}), - (-1, {_sV: _i__________________________________________________}), - (-1, {_sV: _u_______________________________}), - (-1, {_sV: _u_________________________________}), - (-1, {_sV: _u___________________________________}), - (-1, {_sV: _pex}), - (-1, {_sV: _pen}), - (-1, {_sV: _fxlar}), - (-1, {_sV: _fxlarg}), - (-1, {_sV: _trnxl}), - (-1, {_sV: _cf_________}), - (-1, {_sV: _cf___________}), - (-1, {_sV: _mf_________}), - (-1, {_sV: _mf___________}), - (-1, {_sV: _i___________________________________________________}), - (-1, {_sV: _i____________________________________________________}), - (-1, {_sV: _igxlarge_______}), - (-1, {_sV: _cgdmed}), - (-1, {_sV: _cgdlar}), - (-1, {_sV: _cgdxlarge_______}), - (-1, {_sV: _cgdxlarge________}), - (-1, {_sV: _cgdxlarge_________}), - (-1, {_sV: _cgdxlarge__________}), - (-1, {_sV: _cgdxlarge___________}), - (-1, {_sV: _cgdxlarge____________}), - (-1, {_sV: _cgdxlarge_____________}), - (-1, {_sV: _cgdxlarge______________}), - ( - -1, - { - _sV: _c____________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _c_____________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _iil}), - (-1, {_sV: _iixlarge___}), - (-1, {_sV: _iixlarge____}), - (-1, {_sV: _iixlarge_____}), - (-1, {_sV: _iixlarge______}), - (-1, {_sV: _iixlarge_______}), - (-1, {_sV: _iixlarge________}), - (-1, {_sV: _iixlarge_________}), - (-1, {_sV: _iixlarge__________}), - (-1, {_sV: _i_____________________________________________________________}), - (-1, {_sV: _i______________________________________________________________}), - (-1, {_sV: _pb_}), - (-1, {_sV: _mgdmed}), - (-1, {_sV: _mgdlar}), - (-1, {_sV: _mgdxlarge_______}), - (-1, {_sV: _mgdxlarge________}), - (-1, {_sV: _mgdxlarge_________}), - (-1, {_sV: _mgdxlarge__________}), - (-1, {_sV: _mgdxlarge___________}), - (-1, {_sV: _mgdxlarge____________}), - (-1, {_sV: _mgdxlarge_____________}), - (-1, {_sV: _mgdxlarge______________}), - ( - -1, - { - _sV: _m___________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m____________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _rgdmed}), - (-1, {_sV: _rgdlar}), - (-1, {_sV: _rgdxlarge_______}), - (-1, {_sV: _rgdxlarge________}), - (-1, {_sV: _rgdxlarge_________}), - (-1, {_sV: _rgdxlarge__________}), - (-1, {_sV: _rgdxlarge___________}), - (-1, {_sV: _rgdxlarge____________}), - (-1, {_sV: _rgdxlarge_____________}), - (-1, {_sV: _rgdxlarge______________}), - ( - -1, - { - _sV: _r____________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r_____________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _cgnmed}), - (-1, {_sV: _cgnlar}), - (-1, {_sV: _cgnxlarge_______}), - (-1, {_sV: _cgnxlarge________}), - (-1, {_sV: _cgnxlarge_________}), - (-1, {_sV: _cgnxlarge__________}), - (-1, {_sV: _cgnxlarge___________}), - (-1, {_sV: _cgnxlarge____________}), - (-1, {_sV: _cgnxlarge_____________}), - (-1, {_sV: _cgnxlarge______________}), - ( - -1, - { - _sV: _c_____________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _c______________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _fxlarge}), - (-1, {_sV: _pg___}), - (-1, {_sV: _gf}), - (-1, {_sV: _gfx}), - (-1, {_sV: _gfxl}), - (-1, {_sV: _gfxla}), - (-1, {_sV: _grf}), - (-1, {_sV: _pxlarge___}), - (-1, {_sV: _rilar}), - (-1, {_sV: _rixlarge___________}), - (-1, {_sV: _rixlarge____________}), - (-1, {_sV: _rixlarge_____________}), - (-1, {_sV: _rixlarge______________}), - (-1, {_sV: _rixlarge_______________}), - (-1, {_sV: _rixlarge________________}), - (-1, {_sV: _rixlarge_________________}), - (-1, {_sV: _rixlarge__________________}), - (-1, {_sV: _rixlarge___________________}), - (-1, {_sV: _rixlarge____________________}), - ( - -1, - { - _sV: _r_______________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _rf}), - (-1, {_sV: _rf_}), - (-1, {_sV: _rf___}), - (-1, {_sV: _rf_____}), - (-1, {_sV: _rf_______}), - (-1, {_sV: _rf_________}), - (-1, {_sV: _rf___________}), - (-1, {_sV: _mila}), - (-1, {_sV: _mixlarge___________}), - (-1, {_sV: _mixlarge____________}), - (-1, {_sV: _mixlarge_____________}), - (-1, {_sV: _mixlarge______________}), - (-1, {_sV: _mixlarge_______________}), - (-1, {_sV: _mixlarge________________}), - (-1, {_sV: _mixlarge_________________}), - (-1, {_sV: _mixlarge__________________}), - (-1, {_sV: _mixlarge___________________}), - (-1, {_sV: _mixlarge____________________}), - ( - -1, - { - _sV: _m______________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m_______________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _mf____________}), - (-1, {_sV: _mf_____________}), - (-1, {_sV: _mf_______________}), - (-1, {_sV: _mf_________________}), - (-1, {_sV: _mf___________________}), - (-1, {_sV: _mf_____________________}), - (-1, {_sV: _mf_______________________}), - (-1, {_sV: _ige}), - (-1, {_sV: _igex}), - (-1, {_sV: _igexl}), - (-1, {_sV: _igexla}), - (-1, {_sV: _igexlar}), - (-1, {_sV: _igexlarg}), - (-1, {_sV: _igexlarge}), - (-1, {_sV: _igexlarge_}), - (-1, {_sV: _igexlarge__}), - ( - -1, - { - _sV: _i______________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _i_______________________________________________________________________ - }, - ), - (-1, {_sV: _mm_____________________________________}), - (-1, {_sV: _mm______________________________________}), - (-1, {_sV: _rgn}), - (-1, {_sV: _rgnl}), - (-1, {_sV: _rgnx}), - (-1, {_sV: _rgnxl}), - (-1, {_sV: _rgnxla}), - (-1, {_sV: _rgnxlar}), - (-1, {_sV: _rgnxlarg}), - (-1, {_sV: _rgnxlarge}), - (-1, {_sV: _rgnxlarge_}), - (-1, {_sV: _rgnxlarge__}), - ( - -1, - { - _sV: _r________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r_________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _cilar}), - (-1, {_sV: _cixlarge___________}), - (-1, {_sV: _cixlarge____________}), - (-1, {_sV: _cixlarge_____________}), - (-1, {_sV: _cixlarge______________}), - (-1, {_sV: _cixlarge_______________}), - (-1, {_sV: _cixlarge________________}), - (-1, {_sV: _cixlarge_________________}), - (-1, {_sV: _cixlarge__________________}), - (-1, {_sV: _cixlarge___________________}), - (-1, {_sV: _cixlarge____________________}), - ( - -1, - { - _sV: _c________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _c_________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _cf____________}), - (-1, {_sV: _cf_____________}), - (-1, {_sV: _cf_______________}), - (-1, {_sV: _cf_________________}), - (-1, {_sV: _cf___________________}), - (-1, {_sV: _cf_____________________}), - (-1, {_sV: _cf_______________________}), - (-1, {_sV: _rgb}), - (-1, {_sV: _rgbl}), - (-1, {_sV: _rgbx}), - (-1, {_sV: _rgbxl}), - (-1, {_sV: _rgbxla}), - (-1, {_sV: _rgbxlar}), - (-1, {_sV: _rgbxlarg}), - (-1, {_sV: _rgbxlarge}), - (-1, {_sV: _rgbxlarge_}), - ( - -1, - { - _sV: _r________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _mamed}), - (-1, {_sV: _malarg}), - (-1, {_sV: _maxlarge____________________}), - (-1, {_sV: _maxlarge_____________________}), - (-1, {_sV: _maxlarge______________________}), - (-1, {_sV: _maxlarge_______________________}), - (-1, {_sV: _maxlarge________________________}), - (-1, {_sV: _maxlarge_________________________}), - (-1, {_sV: _maxlarge__________________________}), - (-1, {_sV: _maxlarge___________________________}), - ( - -1, - { - _sV: _m_______________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _trnxla}), - (-1, {_sV: _ramed}), - (-1, {_sV: _ralar}), - (-1, {_sV: _raxlarge____________________}), - (-1, {_sV: _raxlarge_____________________}), - (-1, {_sV: _raxlarge______________________}), - (-1, {_sV: _raxlarge_______________________}), - (-1, {_sV: _raxlarge________________________}), - (-1, {_sV: _raxlarge_________________________}), - (-1, {_sV: _raxlarge__________________________}), - (-1, {_sV: _raxlarge___________________________}), - ( - -1, - { - _sV: _r________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r_________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _pb___}), - (-1, {_sV: _camed}), - (-1, {_sV: _calarg}), - (-1, {_sV: _caxlarge____________________}), - (-1, {_sV: _caxlarge_____________________}), - (-1, {_sV: _caxlarge______________________}), - (-1, {_sV: _caxlarge_______________________}), - (-1, {_sV: _caxlarge________________________}), - (-1, {_sV: _caxlarge_________________________}), - (-1, {_sV: _caxlarge__________________________}), - (-1, {_sV: _caxlarge___________________________}), - ( - -1, - { - _sV: _c_________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _c__________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _cgb}), - (-1, {_sV: _cgbx}), - (-1, {_sV: _cgbxl}), - (-1, {_sV: _cgbxla}), - (-1, {_sV: _cgbxlar}), - (-1, {_sV: _cgbxlarg}), - (-1, {_sV: _cgbl}), - (-1, {_sV: _cgbm}), - ( - -1, - { - _sV: _c_________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _cgbxlarge}), - (-1, {_sV: _cgbxlarge_}), - ( - -1, - { - _sV: _c___________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _mgb}), - (-1, {_sV: _mgbx}), - (-1, {_sV: _mgbxl}), - (-1, {_sV: _mgbxla}), - (-1, {_sV: _mgbxlar}), - (-1, {_sV: _mgbxlarg}), - (-1, {_sV: _mgbl}), - (-1, {_sV: _mgbm}), - (-1, {_sV: _mgbxlarge}), - (-1, {_sV: _mgbxlarge_}), - ( - -1, - { - _sV: _m________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m_________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _mgn}), - (-1, {_sV: _mgnx}), - (-1, {_sV: _mgnxl}), - (-1, {_sV: _mgnxla}), - (-1, {_sV: _mgnxlar}), - (-1, {_sV: _mgnxlarg}), - (-1, {_sV: _mgnxlarge}), - (-1, {_sV: _mgnl}), - (-1, {_sV: _mgnm}), - (-1, {_sV: _mgnxlarge_}), - ( - -1, - { - _sV: _m_________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m__________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _xa}), - (-1, {_sV: _xae}), - (-1, {_sV: _xaed}), - (-1, {_sV: _xaedz}), - (-1, {_sV: _xaedzl}), - (-1, {_sV: _x________________________________________}), - (-1, {_sV: _x_________________________________________}), - (-1, {_sV: _xaedzx}), - (-1, {_sV: _maz}), - (-1, {_sV: _mazn}), - (-1, {_sV: _maznx}), - (-1, {_sV: _maznxl}), - (-1, {_sV: _maznxla}), - (-1, {_sV: _maznxlar}), - (-1, {_sV: _maznxlarg}), - ( - -1, - { - _sV: _m_______________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _xil}), - (-1, {_sV: _xix}), - (-1, {_sV: _xixl}), - (-1, {_sV: _xixla}), - (-1, {_sV: _xixlar}), - (-1, {_sV: _xixlarg}), - (-1, {_sV: _xixlarge}), - (-1, {_sV: _xixlarge_}), - (-1, {_sV: _xixlarge__}), - (-1, {_sV: _xixlarge___}), - (-1, {_sV: _xixlarge____}), - (-1, {_sV: _xixlarge_____}), - (-1, {_sV: _x____________________________________________________}), - (-1, {_sV: _x_____________________________________________________}), - (-1, {_sV: _mm___________________________________________________}), - (-1, {_sV: _gexlarge__}), - (-1, {_sV: _gexlarge___}), - (-1, {_sV: _gexlarge____}), - (-1, {_sV: _gexlarge_____}), - (-1, {_sV: _gexlarge______}), - (-1, {_sV: _gexlarge_______}), - (-1, {_sV: _ridl}), - (-1, {_sV: _ridxlarge___}), - (-1, {_sV: _ridxlarge____}), - (-1, {_sV: _ridxlarge_____}), - (-1, {_sV: _ridxlarge______}), - (-1, {_sV: _ridxlarge_______}), - (-1, {_sV: _ridxlarge________}), - (-1, {_sV: _ridxlarge_________}), - (-1, {_sV: _ridxlarge__________}), - (-1, {_sV: _ridxlarge___________}), - (-1, {_sV: _ridxlarge____________}), - ( - -1, - { - _sV: _r___________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r____________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _cidl}), - (-1, {_sV: _cidxlarge___}), - (-1, {_sV: _cidxlarge____}), - (-1, {_sV: _cidxlarge_____}), - (-1, {_sV: _cidxlarge______}), - (-1, {_sV: _cidxlarge_______}), - (-1, {_sV: _cidxlarge________}), - (-1, {_sV: _cidxlarge_________}), - (-1, {_sV: _cidxlarge__________}), - (-1, {_sV: _cidxlarge___________}), - (-1, {_sV: _cidxlarge____________}), - ( - -1, - { - _sV: _c_____________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _c______________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _midl}), - (-1, {_sV: _midxlarge___}), - (-1, {_sV: _midxlarge____}), - (-1, {_sV: _midxlarge_____}), - (-1, {_sV: _midxlarge______}), - (-1, {_sV: _midxlarge_______}), - (-1, {_sV: _midxlarge________}), - (-1, {_sV: _midxlarge_________}), - (-1, {_sV: _midxlarge__________}), - (-1, {_sV: _midxlarge___________}), - (-1, {_sV: _midxlarge____________}), - ( - -1, - { - _sV: _m__________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m___________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _hpcaxlar}), - (-1, {_sV: _cinl}), - (-1, {_sV: _cinxlarge___}), - (-1, {_sV: _cinxlarge____}), - (-1, {_sV: _cinxlarge_____}), - (-1, {_sV: _cinxlarge______}), - (-1, {_sV: _cinxlarge_______}), - (-1, {_sV: _cinxlarge________}), - (-1, {_sV: _cinxlarge_________}), - (-1, {_sV: _cinxlarge__________}), - (-1, {_sV: _cinxlarge___________}), - (-1, {_sV: _cinxlarge____________}), - ( - -1, - { - _sV: _c________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _c_________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _cib}), - (-1, {_sV: _cibx}), - (-1, {_sV: _cibxl}), - (-1, {_sV: _cibxla}), - (-1, {_sV: _cibxlar}), - (-1, {_sV: _cibxlarg}), - (-1, {_sV: _cibxlarge}), - (-1, {_sV: _cibxlarge_}), - (-1, {_sV: _cibxlarge__}), - (-1, {_sV: _cibxlarge___}), - (-1, {_sV: _cibxlarge____}), - ( - -1, - { - _sV: _c___________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _c____________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _rinl}), - (-1, {_sV: _rinxlarge___}), - (-1, {_sV: _rinxlarge____}), - (-1, {_sV: _rinxlarge_____}), - (-1, {_sV: _rinxlarge______}), - (-1, {_sV: _rinxlarge_______}), - (-1, {_sV: _rinxlarge________}), - (-1, {_sV: _rinxlarge_________}), - (-1, {_sV: _rinxlarge__________}), - (-1, {_sV: _rinxlarge___________}), - (-1, {_sV: _rinxlarge____________}), - (-1, {_sV: _rib}), - (-1, {_sV: _ribx}), - (-1, {_sV: _ribxl}), - (-1, {_sV: _ribxla}), - (-1, {_sV: _ribxlar}), - (-1, {_sV: _ribxlarg}), - (-1, {_sV: _ribxlarge}), - (-1, {_sV: _ribxlarge_}), - (-1, {_sV: _ribxlarge__}), - (-1, {_sV: _ribxlarge___}), - (-1, {_sV: _ribxlarge____}), - (-1, {_sV: _minl}), - (-1, {_sV: _minxlarge___}), - (-1, {_sV: _minxlarge____}), - (-1, {_sV: _minxlarge_____}), - (-1, {_sV: _minxlarge______}), - (-1, {_sV: _minxlarge_______}), - (-1, {_sV: _minxlarge________}), - (-1, {_sV: _minxlarge_________}), - (-1, {_sV: _minxlarge__________}), - (-1, {_sV: _minxlarge___________}), - (-1, {_sV: _minxlarge____________}), - (-1, {_sV: _mib}), - (-1, {_sV: _mibx}), - (-1, {_sV: _mibxl}), - (-1, {_sV: _mibxla}), - (-1, {_sV: _mibxlar}), - (-1, {_sV: _mibxlarg}), - (-1, {_sV: _mibxlarge}), - (-1, {_sV: _mibxlarge_}), - (-1, {_sV: _mibxlarge__}), - (-1, {_sV: _mibxlarge___}), - (-1, {_sV: _mibxlarge____}), - (-1, {_sV: _mine}), - (-1, {_sV: _minex}), - (-1, {_sV: _minexl}), - (-1, {_sV: _minexla}), - (-1, {_sV: _minexlar}), - (-1, {_sV: _minexlarg}), - (-1, {_sV: _cine}), - (-1, {_sV: _cinex}), - (-1, {_sV: _cinexl}), - (-1, {_sV: _cinexla}), - (-1, {_sV: _cinexlar}), - (-1, {_sV: _cinexlarg}), - (-1, {_sV: _midnl}), - (-1, {_sV: _midnxlarge___}), - (-1, {_sV: _midnxlarge____}), - (-1, {_sV: _midnxlarge_____}), - (-1, {_sV: _midnxlarge______}), - (-1, {_sV: _midnxlarge_______}), - (-1, {_sV: _midnxlarge________}), - (-1, {_sV: _midnxlarge_________}), - (-1, {_sV: _midnxlarge__________}), - (-1, {_sV: _midnxlarge___________}), - (-1, {_sV: _midnxlarge____________}), - (-1, {_sV: _ridnl}), - (-1, {_sV: _ridnxlarge___}), - (-1, {_sV: _ridnxlarge____}), - (-1, {_sV: _ridnxlarge_____}), - (-1, {_sV: _ridnxlarge______}), - (-1, {_sV: _ridnxlarge_______}), - (-1, {_sV: _ridnxlarge________}), - (-1, {_sV: _ridnxlarge_________}), - (-1, {_sV: _ridnxlarge__________}), - (-1, {_sV: _ridnxlarge___________}), - (-1, {_sV: _ridnxlarge____________}), - (-1, {_sV: _midb}), - (-1, {_sV: _midbx}), - (-1, {_sV: _midbxl}), - (-1, {_sV: _midbxla}), - (-1, {_sV: _midbxlar}), - (-1, {_sV: _midbxlarg}), - (-1, {_sV: _midbxlarge}), - (-1, {_sV: _midbxlarge_}), - (-1, {_sV: _midbxlarge__}), - (-1, {_sV: _midbxlarge___}), - (-1, {_sV: _midbxlarge____}), - (-1, {_sV: _ridb}), - (-1, {_sV: _ridbx}), - (-1, {_sV: _ridbxl}), - (-1, {_sV: _ridbxla}), - (-1, {_sV: _ridbxlar}), - (-1, {_sV: _ridbxlarg}), - (-1, {_sV: _ridbxlarge}), - (-1, {_sV: _ridbxlarge_}), - (-1, {_sV: _ridbxlarge__}), - (-1, {_sV: _ridbxlarge___}), - (-1, {_sV: _ridbxlarge____}), - (-1, {_sV: _mm______________________________________________________}), - (-1, {_sV: _mglarg}), - (-1, {_sV: _mgxlarge_______________}), - (-1, {_sV: _mgxlarge________________}), - (-1, {_sV: _mgxlarge_________________}), - (-1, {_sV: _mgxlarge__________________}), - (-1, {_sV: _mgxlarge___________________}), - (-1, {_sV: _mgxlarge____________________}), - (-1, {_sV: _mgxlarge_____________________}), - (-1, {_sV: _mgxlarge______________________}), - ( - -1, - { - _sV: _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _mgdlarg}), - (-1, {_sV: _mgdxlarge_______________}), - (-1, {_sV: _mgdxlarge________________}), - (-1, {_sV: _mgdxlarge_________________}), - (-1, {_sV: _mgdxlarge__________________}), - (-1, {_sV: _mgdxlarge___________________}), - (-1, {_sV: _mgdxlarge____________________}), - (-1, {_sV: _mgdxlarge_____________________}), - (-1, {_sV: _mgdxlarge______________________}), - ( - -1, - { - _sV: _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - ( - -1, - { - _sV: _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _gxlarge________________}), - (-1, {_sV: _gxlarge_________________}), - (-1, {_sV: _gxlarge__________________}), - (-1, {_sV: _gxlarge___________________}), - (-1, {_sV: _gxlarge____________________}), - (-1, {_sV: _gxlarge_____________________}), - (-1, {_sV: _cgmediu}), - (-1, {_sV: _cglarg}), - (-1, {_sV: _cgxlarge________________}), - (-1, {_sV: _cgxlarge_________________}), - (-1, {_sV: _cgxlarge__________________}), - (-1, {_sV: _cgxlarge___________________}), - (-1, {_sV: _cgxlarge____________________}), - (-1, {_sV: _cgxlarge_____________________}), - (-1, {_sV: _cgxlarge______________________}), - (-1, {_sV: _cgxlarge_______________________}), - ( - -1, - { - _sV: _c________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _cgdmedi}), - (-1, {_sV: _cgdlarg}), - (-1, {_sV: _cgdxlarge_______________}), - (-1, {_sV: _cgdxlarge________________}), - (-1, {_sV: _cgdxlarge_________________}), - (-1, {_sV: _cgdxlarge__________________}), - (-1, {_sV: _cgdxlarge___________________}), - (-1, {_sV: _cgdxlarge____________________}), - (-1, {_sV: _cgdxlarge_____________________}), - (-1, {_sV: _cgdxlarge______________________}), - ( - -1, - { - _sV: _c________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _rgmedi}), - (-1, {_sV: _rglarg}), - (-1, {_sV: _rgxlarge_______________}), - (-1, {_sV: _rgxlarge________________}), - (-1, {_sV: _rgxlarge_________________}), - (-1, {_sV: _rgxlarge__________________}), - (-1, {_sV: _rgxlarge___________________}), - (-1, {_sV: _rgxlarge____________________}), - (-1, {_sV: _rgxlarge_____________________}), - (-1, {_sV: _rgxlarge______________________}), - ( - -1, - { - _sV: _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _rgdmedi}), - (-1, {_sV: _rgdlarg}), - (-1, {_sV: _rgdxlarge_______________}), - (-1, {_sV: _rgdxlarge________________}), - (-1, {_sV: _rgdxlarge_________________}), - (-1, {_sV: _rgdxlarge__________________}), - (-1, {_sV: _rgdxlarge___________________}), - (-1, {_sV: _rgdxlarge____________________}), - (-1, {_sV: _rgdxlarge_____________________}), - (-1, {_sV: _rgdxlarge______________________}), - ( - -1, - { - _sV: _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _mgmedi}), - (-1, {_sV: _tin}), - (-1, {_sV: _timi}), - (-1, {_sV: _tis}), - (-1, {_sV: _time}), - ( - -1, - { - _sV: _i________________________________________________________________________ - }, - ), - (-1, {_sV: _rgbxlarge__}), - ( - -1, - { - _sV: _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _mgdmedi}), - (-1, {_sV: _trnu}), - ), -) - -INTEGER_WITH_CONSTRAINTS: StaticSchema = (7, n0, _IWC, 0) - -DOUBLE_WITH_CONSTRAINTS: StaticSchema = (10, n0, _DWC, 0) - -RESERVATION_FLEET_INSTANCE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _RFIS, - 0, - (_IT, _IPns, _We, _AZ, _AZI, _EO, _Pr), - ( - (INSTANCE_TYPE, 0), - (CAPACITY_RESERVATION_INSTANCE_PLATFORM, 0), - (DOUBLE_WITH_CONSTRAINTS, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (INTEGER_WITH_CONSTRAINTS, 0), - ), -) - -RESERVATION_FLEET_INSTANCE_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _RFISL, - 0, - (_me,), - ((RESERVATION_FLEET_INSTANCE_SPECIFICATION, 0),), -) - -FLEET_CAPACITY_RESERVATION_TENANCY: StaticSchema = ( - 14, - n0, - _FCRT, - 0, - (_def,), - ((-1, {_sV: _def}),), -) - -CREATE_CAPACITY_RESERVATION_FLEET_INPUT: StaticSchema = ( - 18, - n0, - _CCRFIr, - {_sSI: _cCCRFRom, _sm: None}, - (_ASll, _CTl, _ITS, _IRn, _AZ, _AZI, _Ten, _TTC, _ED, _IMC, _TSa, _DR), - ( - (STRING, 0), - (STRING, 2), - (RESERVATION_FLEET_INSTANCE_SPECIFICATION_LIST, {_sN: _ITSn}), - (INSTANCE_REQUIREMENTS_REQUEST, 0), - (AVAILABILITY_ZONE_NAME, 0), - (AVAILABILITY_ZONE_ID, 0), - (FLEET_CAPACITY_RESERVATION_TENANCY, 0), - (INTEGER, 1), - (MILLISECOND_DATE_TIME, 0), - (FLEET_INSTANCE_MATCH_CRITERIA, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -FLEET_CAPACITY_RESERVATION: StaticSchema = ( - 18, - n0, - _FCR, - 0, - (_CRI, _AZI, _IT, _IPns, _AZ, _TICo, _FCu, _EO, _CD, _We, _Pr), - ( - (CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (CAPACITY_RESERVATION_INSTANCE_PLATFORM, {_aQN: _IPns, _sN: _iPns}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (INTEGER, {_aQN: _TICo, _sN: _tICo}), - (DOUBLE, {_aQN: _FCu, _sN: _fC}), - (BOOLEAN, {_aQN: _EO, _sN: _eO}), - (MILLISECOND_DATE_TIME, {_aQN: _CD, _sN: _cD}), - (DOUBLE_WITH_CONSTRAINTS, {_aQN: _We, _sN: _we}), - (INTEGER_WITH_CONSTRAINTS, {_aQN: _Pr, _sN: _pri}), - ), -) - -FLEET_CAPACITY_RESERVATION_SET: StaticSchema = ( - 16, - n0, - _FCRS, - 0, - (_me,), - ((FLEET_CAPACITY_RESERVATION, {_sN: _i}),), -) - -CREATE_CAPACITY_RESERVATION_FLEET_OUTPUT: StaticSchema = ( - 18, - n0, - _CCRFOr, - {_sSI: _cCCRFRoma, _smit: None}, - (_CRFI, _St, _TTC, _TFC, _IMC, _ASll, _CTr, _ED, _Ten, _FCRl, _Tag), - ( - (CAPACITY_RESERVATION_FLEET_ID, {_aQN: _CRFI, _sN: _cRFI}), - (CAPACITY_RESERVATION_FLEET_STATE, {_aQN: _St, _sN: _st}), - (INTEGER, {_aQN: _TTC, _sN: _tTC}), - (DOUBLE, {_aQN: _TFC, _sN: _tFC}), - (FLEET_INSTANCE_MATCH_CRITERIA, {_aQN: _IMC, _sN: _iMC}), - (STRING, {_aQN: _ASll, _sN: _aSl}), - (MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), - (FLEET_CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), - (FLEET_CAPACITY_RESERVATION_SET, {_aQN: _FCRS, _sN: _fCRS}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_CAPACITY_RESERVATION_FLEET: StaticOperationSchema = ( - 23, - n0, - _CCRFr, - 0, - CREATE_CAPACITY_RESERVATION_FLEET_INPUT, - CREATE_CAPACITY_RESERVATION_FLEET_OUTPUT, - (), -) - -CREATE_CARRIER_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _CCGI, - {_sSI: _cCCGR, _sm: None}, - (_VI, _TSa, _DR, _CTl), - ((VPC_ID, 1), (TAG_SPECIFICATION_LIST, {_sN: _TS}), (BOOLEAN, 0), (STRING, 2)), -) - -CARRIER_GATEWAY_ID: StaticSchema = (3, n0, _CGI, 0) - -CARRIER_GATEWAY_STATE: StaticSchema = ( - 14, - n0, - _CGS, - 0, - (_p, _av, _de, _del), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), -) - -CARRIER_GATEWAY: StaticSchema = ( - 18, - n0, - _CGa, - 0, - (_CGI, _VI, _St, _OIw, _Tag), - ( - (CARRIER_GATEWAY_ID, {_aQN: _CGI, _sN: _cGI}), - (VPC_ID, {_aQN: _VI, _sN: _vI}), - (CARRIER_GATEWAY_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_CARRIER_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _CCGO, - {_sSI: _cCCGRo, _smit: None}, - (_CGa,), - ((CARRIER_GATEWAY, {_aQN: _CGa, _sN: _cGa}),), -) - -CREATE_CARRIER_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _CCG, - 0, - CREATE_CARRIER_GATEWAY_INPUT, - CREATE_CARRIER_GATEWAY_OUTPUT, - (), -) - -DIRECTORY_SERVICE_AUTHENTICATION_REQUEST: StaticSchema = ( - 18, - n0, - _DSAR, - 0, - (_DIi,), - ((STRING, 0),), -) - -FEDERATED_AUTHENTICATION_REQUEST: StaticSchema = ( - 18, - n0, - _FAR, - 0, - (_SAMLPA, _SSSAMLPA), - ((STRING, 0), (STRING, 0)), -) - -CERTIFICATE_AUTHENTICATION_REQUEST: StaticSchema = ( - 18, - n0, - _CAR, - 0, - (_CRCCA,), - ((STRING, 0),), -) - -CLIENT_VPN_AUTHENTICATION_TYPE: StaticSchema = ( - 14, - n0, - _CVAT, - 0, - (_ca_, _dsa, _fa___), - ((-1, {_sV: _ca__}), (-1, {_sV: _dsa_}), (-1, {_sV: _fa____})), -) - -CLIENT_VPN_AUTHENTICATION_REQUEST: StaticSchema = ( - 18, - n0, - _CVAR, - 0, - (_Ty, _ADc, _MA, _FA), - ( - (CLIENT_VPN_AUTHENTICATION_TYPE, 0), - (DIRECTORY_SERVICE_AUTHENTICATION_REQUEST, 0), - (CERTIFICATE_AUTHENTICATION_REQUEST, 0), - (FEDERATED_AUTHENTICATION_REQUEST, 0), - ), -) - -CLIENT_VPN_AUTHENTICATION_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _CVARL, - 0, - (_me,), - ((CLIENT_VPN_AUTHENTICATION_REQUEST, 0),), -) - -CLIENT_CONNECT_OPTIONS: StaticSchema = ( - 18, - n0, - _CCO, - 0, - (_Ena, _LFA), - ((BOOLEAN, 0), (STRING, 0)), -) - -CLIENT_LOGIN_BANNER_OPTIONS: StaticSchema = ( - 18, - n0, - _CLBO, - 0, - (_Ena, _BTa), - ((BOOLEAN, 0), (STRING, 0)), -) - -CLIENT_ROUTE_ENFORCEMENT_OPTIONS: StaticSchema = ( - 18, - n0, - _CREO, - 0, - (_Enf,), - ((BOOLEAN, 0),), -) - -CONNECTION_LOG_OPTIONS: StaticSchema = ( - 18, - n0, - _CLO, - 0, - (_Ena, _CLG, _CLS, _IAPC), - ((BOOLEAN, 0), (STRING, 0), (STRING, 0), (BOOLEAN, 0)), -) - -CLIENT_VPN_DEVICE_TRUST_PROVIDER_TYPE: StaticSchema = ( - 14, - n0, - _CVDTPT, - 0, - (_cro, _j, _ju), - ((-1, {_sV: _cro}), (-1, {_sV: _j}), (-1, {_sV: _ju})), -) - -CLIENT_VPN_TRUST_PROVIDER_REQUEST: StaticSchema = ( - 18, - n0, - _CVTPR, - 0, - (_TPT, _TI, _PSKU), - ((CLIENT_VPN_DEVICE_TRUST_PROVIDER_TYPE, 0), (STRING, 0), (STRING, 0)), -) - -CLIENT_VPN_TRUST_PROVIDER_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _CVTPRL, - 0, - (_me,), - ((CLIENT_VPN_TRUST_PROVIDER_REQUEST, {_sN: _i}),), -) - -DEVICE_POSTURE_OPTIONS: StaticSchema = ( - 18, - n0, - _DPO, - 0, - (_TPr, _Ena), - ((CLIENT_VPN_TRUST_PROVIDER_REQUEST_LIST, {_sN: _TPru}), (BOOLEAN, 0)), -) - -ENDPOINT_IP_ADDRESS_TYPE: StaticSchema = ( - 14, - n0, - _EIAT, - 0, - (_ipv, _ipv_, _ds__), - ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_}), (-1, {_sV: _ds___})), -) - -SELF_SERVICE_PORTAL: StaticSchema = ( - 14, - n0, - _SSP, - 0, - (_ena, _d), - ((-1, {_sV: _ena}), (-1, {_sV: _d})), -) - -TRAFFIC_IP_ADDRESS_TYPE: StaticSchema = ( - 14, - n0, - _TIAT, - 0, - (_ipv, _ipv_, _ds__), - ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_}), (-1, {_sV: _ds___})), -) - -CLIENT_VPN_AVAILABILITY_ZONE_ID_SET: StaticSchema = ( - 16, - n0, - _CVAZIS, - 0, - (_me,), - ((AVAILABILITY_ZONE_ID, {_sN: _i}),), -) - -CLIENT_VPN_AVAILABILITY_ZONE_SET: StaticSchema = ( - 16, - n0, - _CVAZS, - 0, - (_me,), - ((AVAILABILITY_ZONE_NAME, {_sN: _i}),), -) - -TRANSIT_GATEWAY_CONFIGURATION_INPUT_STRUCTURE: StaticSchema = ( - 18, - n0, - _TGCIS, - 0, - (_TGI, _AZv, _AZIv), - ( - (TRANSIT_GATEWAY_ID, 0), - (CLIENT_VPN_AVAILABILITY_ZONE_SET, {_sN: _AZ}), - (CLIENT_VPN_AVAILABILITY_ZONE_ID_SET, {_sN: _AZI}), - ), -) - -TRANSPORT_PROTOCOL: StaticSchema = ( - 14, - n0, - _TPra, - 0, - (_tc, _ud), - ((-1, {_sV: _tc}), (-1, {_sV: _ud})), -) - -CREATE_CLIENT_VPN_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CCVEI, - {_sSI: _cCCVER, _sm: None}, - ( - _CCB, - _SCA, - _AO, - _CLO, - _DSn, - _TPra, - _VPp, - _Des, - _STp, - _DR, - _CTl, - _TSa, - _SGIe, - _VI, - _SSP, - _CCO, - _STH, - _CLBO, - _CREO, - _DOST, - _EIAT, - _TIAT, - _TGC, - _DPO, - ), - ( - (STRING, 0), - (STRING, 1), - (CLIENT_VPN_AUTHENTICATION_REQUEST_LIST, {_sN: _Au, _smi: None}), - (CONNECTION_LOG_OPTIONS, 1), - (VALUE_STRING_LIST, 0), - (TRANSPORT_PROTOCOL, 0), - (INTEGER, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 2), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (CLIENT_VPN_SECURITY_GROUP_ID_SET, {_sN: _SGI}), - (VPC_ID, 0), - (SELF_SERVICE_PORTAL, 0), - (CLIENT_CONNECT_OPTIONS, 0), - (INTEGER, 0), - (CLIENT_LOGIN_BANNER_OPTIONS, 0), - (CLIENT_ROUTE_ENFORCEMENT_OPTIONS, 0), - (BOOLEAN, 0), - (ENDPOINT_IP_ADDRESS_TYPE, 0), - (TRAFFIC_IP_ADDRESS_TYPE, 0), - (TRANSIT_GATEWAY_CONFIGURATION_INPUT_STRUCTURE, 0), - (DEVICE_POSTURE_OPTIONS, 0), - ), -) - -CLIENT_VPN_ENDPOINT_STATUS_CODE: StaticSchema = ( - 14, - n0, - _CVESC, - 0, - (_pa______, _av, _de, _del, _p), - ( - (-1, {_sV: _pa_______}), - (-1, {_sV: _av}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - (-1, {_sV: _p}), - ), -) - -CLIENT_VPN_ENDPOINT_STATUS: StaticSchema = ( - 18, - n0, - _CVES, - 0, - (_C, _Me), - ( - (CLIENT_VPN_ENDPOINT_STATUS_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -CREATE_CLIENT_VPN_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CCVEO, - {_sSI: _cCCVERo, _smit: None}, - (_CVEI, _Sta, _DN), - ( - (STRING, {_aQN: _CVEI, _sN: _cVEI}), - (CLIENT_VPN_ENDPOINT_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _DN, _sN: _dN}), - ), -) - -CREATE_CLIENT_VPN_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CCVE, - 0, - CREATE_CLIENT_VPN_ENDPOINT_INPUT, - CREATE_CLIENT_VPN_ENDPOINT_OUTPUT, - (), -) - -CREATE_CLIENT_VPN_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _CCVRI, - {_sSI: _cCCVRR, _sm: None}, - (_CVEI, _DCB, _TVSI, _Des, _CTl, _DR), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (STRING, 1), - (SUBNET_ID, 0), - (STRING, 0), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -CLIENT_VPN_ROUTE_STATUS_CODE: StaticSchema = ( - 14, - n0, - _CVRSC, - 0, - (_cre, _act, _fa, _de), - ((-1, {_sV: _cre}), (-1, {_sV: _act}), (-1, {_sV: _fa}), (-1, {_sV: _de})), -) - -CLIENT_VPN_ROUTE_STATUS: StaticSchema = ( - 18, - n0, - _CVRS, - 0, - (_C, _Me), - ( - (CLIENT_VPN_ROUTE_STATUS_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -CREATE_CLIENT_VPN_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _CCVRO, - {_sSI: _cCCVRRo, _smit: None}, - (_Sta,), - ((CLIENT_VPN_ROUTE_STATUS, {_aQN: _Sta, _sN: _sta}),), -) - -CREATE_CLIENT_VPN_ROUTE: StaticOperationSchema = ( - 23, - n0, - _CCVR, - 0, - CREATE_CLIENT_VPN_ROUTE_INPUT, - CREATE_CLIENT_VPN_ROUTE_OUTPUT, - (), -) - -IPV4_POOL_COIP_ID: StaticSchema = (3, n0, _IPCI, 0) - -CREATE_COIP_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _CCCI, - {_sSI: _cCCCR, _sm: None}, - (_Ci, _CPIo, _DR), - ((STRING, 1), (IPV4_POOL_COIP_ID, 1), (BOOLEAN, 0)), -) - -COIP_CIDR: StaticSchema = ( - 18, - n0, - _CCo, - 0, - (_Ci, _CPIo, _LGRTI), - ( - (STRING, {_aQN: _Ci, _sN: _ci}), - (IPV4_POOL_COIP_ID, {_aQN: _CPIo, _sN: _cPI}), - (STRING, {_aQN: _LGRTI, _sN: _lGRTI}), - ), -) - -CREATE_COIP_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _CCCO, - {_sSI: _cCCCRo, _smit: None}, - (_CCo,), - ((COIP_CIDR, {_aQN: _CCo, _sN: _cCo}),), -) - -CREATE_COIP_CIDR: StaticOperationSchema = ( - 23, - n0, - _CCC, - 0, - CREATE_COIP_CIDR_INPUT, - CREATE_COIP_CIDR_OUTPUT, - (), -) - -LOCAL_GATEWAY_ROUTETABLE_ID: StaticSchema = (3, n0, _LGRI, 0) - -CREATE_COIP_POOL_INPUT: StaticSchema = ( - 18, - n0, - _CCPI, - {_sSI: _cCCPR, _sm: None}, - (_LGRTI, _TSa, _DR), - ( - (LOCAL_GATEWAY_ROUTETABLE_ID, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -COIP_POOL: StaticSchema = ( - 18, - n0, - _CP, - 0, - (_PIo, _PCo, _LGRTI, _Tag, _PA), - ( - (IPV4_POOL_COIP_ID, {_aQN: _PIo, _sN: _pIo}), - (VALUE_STRING_LIST, {_aQN: _PCS, _sN: _pCS}), - (LOCAL_GATEWAY_ROUTETABLE_ID, {_aQN: _LGRTI, _sN: _lGRTI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (RESOURCE_ARN, {_aQN: _PA, _sN: _pAo}), - ), -) - -CREATE_COIP_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _CCPO, - {_sSI: _cCCPRo, _smit: None}, - (_CP,), - ((COIP_POOL, {_aQN: _CP, _sN: _cP}),), -) - -CREATE_COIP_POOL: StaticOperationSchema = ( - 23, - n0, - _CCP, - 0, - CREATE_COIP_POOL_INPUT, - CREATE_COIP_POOL_OUTPUT, - (), -) - -GATEWAY_TYPE: StaticSchema = ( - 14, - n0, - _GT, - 0, - (_i_________________________________________________________________________,), - ((-1, {_sV: _ips}),), -) - -CREATE_CUSTOMER_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _CCGIr, - {_sSI: _cCCGRom, _sm: None}, - (_BA, _PI, _CAe, _Ty, _TSa, _DNe, _IA, _BAE, _DR), - ( - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (GATEWAY_TYPE, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 0), - (STRING, 0), - (LONG, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -CUSTOMER_GATEWAY: StaticSchema = ( - 18, - n0, - _CG, - 0, - (_CAe, _DNe, _Tag, _BAE, _CGIu, _St, _Ty, _IA, _BA), - ( - (STRING, {_aQN: _CAe, _sN: _cAe}), - (STRING, {_aQN: _DNe, _sN: _dNe}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _BAE, _sN: _bAE}), - (STRING, {_aQN: _CGIu, _sN: _cGIu}), - (STRING, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _IA, _sN: _iApd}), - (STRING, {_aQN: _BA, _sN: _bA}), - ), -) - -CREATE_CUSTOMER_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _CCGOr, - {_sSI: _cCCGRoma, _smit: None}, - (_CG,), - ((CUSTOMER_GATEWAY, {_aQN: _CG, _sN: _cG}),), -) - -CREATE_CUSTOMER_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _CCGr, - 0, - CREATE_CUSTOMER_GATEWAY_INPUT, - CREATE_CUSTOMER_GATEWAY_OUTPUT, - (), -) - -CREATE_DEFAULT_SUBNET_INPUT: StaticSchema = ( - 18, - n0, - _CDSI, - {_sSI: _cCDSR, _sm: None}, - (_AZ, _DR, _IN, _AZI), - ( - (AVAILABILITY_ZONE_NAME, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (AVAILABILITY_ZONE_ID, 0), - ), -) - -BLOCK_PUBLIC_ACCESS_MODE: StaticSchema = ( - 14, - n0, - _BPAM, - 0, - (_of, _bb, _bi), - ((-1, {_sV: _of}), (-1, {_sV: _bb_}), (-1, {_sV: _bi_})), -) - -BLOCK_PUBLIC_ACCESS_STATES: StaticSchema = ( - 18, - n0, - _BPAS, - 0, - (_IGBM,), - ((BLOCK_PUBLIC_ACCESS_MODE, {_aQN: _IGBM, _sN: _iGBM}),), -) - -COIP_POOL_ID: StaticSchema = (3, n0, _CPIo, 0) - -SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _SICBAS, - 0, - (_me,), - ((SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), -) - -HOSTNAME_TYPE: StaticSchema = ( - 14, - n0, - _HT, - 0, - (_in_, _rn_), - ((-1, {_sV: _in__}), (-1, {_sV: _rn__})), -) - -PRIVATE_DNS_NAME_OPTIONS_ON_LAUNCH: StaticSchema = ( - 18, - n0, - _PDNOOL, - 0, - (_HT, _ERNDAR, _ERNDAAAAR), - ( - (HOSTNAME_TYPE, {_aQN: _HT, _sN: _hT}), - (BOOLEAN, {_aQN: _ERNDAR, _sN: _eRNDAR}), - (BOOLEAN, {_aQN: _ERNDAAAAR, _sN: _eRNDAAAAR}), - ), -) - -SUBNET_STATE: StaticSchema = ( - 14, - n0, - _SSu, - 0, - (_p, _av, _unav, _fa, _fic), - ( - (-1, {_sV: _p}), - (-1, {_sV: _av}), - (-1, {_sV: _unav}), - (-1, {_sV: _fa}), - (-1, {_sV: _fic_}), - ), -) - -SUBNET: StaticSchema = ( - 18, - n0, - _Sub, - 0, - ( - _AZI, - _ELADI, - _MCOIOL, - _COIP, - _OIw, - _AIAOC, - _ICBAS, - _Tag, - _SAu, - _OA, - _EDn, - _IN, - _PDNOOL, - _BPAS, - _Ty, - _SIu, - _St, - _VI, - _CB, - _AIAC, - _AZ, - _DFA, - _MPIOL, - ), - ( - (STRING, {_aQN: _AZI, _sN: _aZI}), - (INTEGER, {_aQN: _ELADI, _sN: _eLADI}), - (BOOLEAN, {_aQN: _MCOIOL, _sN: _mCOIOL}), - (COIP_POOL_ID, {_aQN: _COIP, _sN: _cOIP}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (BOOLEAN, {_aQN: _AIAOC, _sN: _aIAOC}), - (SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION_SET, {_aQN: _ICBAS, _sN: _iCBAS}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _SAu, _sN: _sA}), - (STRING, {_aQN: _OA, _sN: _oA}), - (BOOLEAN, {_aQN: _EDn, _sN: _eDn}), - (BOOLEAN, {_aQN: _IN, _sN: _iN}), - (PRIVATE_DNS_NAME_OPTIONS_ON_LAUNCH, {_aQN: _PDNOOL, _sN: _pDNOOL}), - (BLOCK_PUBLIC_ACCESS_STATES, {_aQN: _BPAS, _sN: _bPAS}), - (STRING, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (SUBNET_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _CB, _sN: _cB}), - (INTEGER, {_aQN: _AIAC, _sN: _aIAC}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (BOOLEAN, {_aQN: _DFA, _sN: _dFA}), - (BOOLEAN, {_aQN: _MPIOL, _sN: _mPIOL}), - ), -) - -CREATE_DEFAULT_SUBNET_OUTPUT: StaticSchema = ( - 18, - n0, - _CDSO, - {_sSI: _cCDSRo, _smit: None}, - (_Sub,), - ((SUBNET, {_aQN: _Sub, _sN: _su}),), -) - -CREATE_DEFAULT_SUBNET: StaticOperationSchema = ( - 23, - n0, - _CDS, - 0, - CREATE_DEFAULT_SUBNET_INPUT, - CREATE_DEFAULT_SUBNET_OUTPUT, - (), -) - -CREATE_DEFAULT_VPC_INPUT: StaticSchema = ( - 18, - n0, - _CDVI, - {_sSI: _cCDVR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -VPC_CIDR_BLOCK_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _VCBAS, - 0, - (_me,), - ((VPC_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), -) - -VPC_ENCRYPTION_CONTROL_MODE: StaticSchema = ( - 14, - n0, - _VECM, - 0, - (_moni, _enf), - ((-1, {_sV: _moni}), (-1, {_sV: _enf})), -) - -VPC_ENCRYPTION_CONTROL_EXCLUSION: StaticSchema = ( - 18, - n0, - _VECE, - 0, - (_St, _SMta), - ( - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - ), -) - -VPC_ENCRYPTION_CONTROL_EXCLUSIONS: StaticSchema = ( - 18, - n0, - _VECEp, - 0, - (_IG, _EOIG, _NG, _VPG, _VP, _La, _VL, _EFS), - ( - (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _IG, _sN: _iG}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _EOIG, _sN: _eOIG}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _NG, _sN: _nG}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _VPG, _sN: _vPG}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _VP, _sN: _vP}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _La, _sN: _la}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _VL, _sN: _vL}), - (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _EFS, _sN: _eFS}), - ), -) - -VPC_ENCRYPTION_CONTROL_STATE: StaticSchema = ( - 14, - n0, - _VECS, - 0, - (_eip_, _mip, _ef, _mf________________________, _de, _del, _av, _cre, _df___), - ( - (-1, {_sV: _eip__}), - (-1, {_sV: _mip_}), - (-1, {_sV: _ef_}), - (-1, {_sV: _mf_________________________}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - (-1, {_sV: _av}), - (-1, {_sV: _cre}), - (-1, {_sV: _df____}), - ), -) - -VPC_ENCRYPTION_CONTROL_ID: StaticSchema = (3, n0, _VECI, 0) - -VPC_ENCRYPTION_CONTROL: StaticSchema = ( - 18, - n0, - _VEC, - 0, - (_VI, _VECI, _Mo, _St, _SMta, _RE, _Tag), - ( - (VPC_ID, {_aQN: _VI, _sN: _vI}), - (VPC_ENCRYPTION_CONTROL_ID, {_aQN: _VECI, _sN: _vECI}), - (VPC_ENCRYPTION_CONTROL_MODE, {_aQN: _Mo, _sN: _mod}), - (VPC_ENCRYPTION_CONTROL_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - (VPC_ENCRYPTION_CONTROL_EXCLUSIONS, {_aQN: _RE, _sN: _rE}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -TENANCY: StaticSchema = ( - 14, - n0, - _Ten, - 0, - (_def, _ded, _ho), - ((-1, {_sV: _def}), (-1, {_sV: _ded}), (-1, {_sV: _ho})), -) - -VPC_IPV6_CIDR_BLOCK_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _VICBAS, - 0, - (_me,), - ((VPC_IPV6_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), -) - -VPC_STATE: StaticSchema = ( - 14, - n0, - _VSp, - 0, - (_p, _av, _de), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de})), -) - -VPC: StaticSchema = ( - 18, - n0, - _Vp, - 0, - (_OIw, _ITnst, _ICBAS, _CBAS, _ID, _ECn, _Tag, _BPAS, _VI, _St, _CB, _DOI), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (TENANCY, {_aQN: _ITnst, _sN: _iTns}), - (VPC_IPV6_CIDR_BLOCK_ASSOCIATION_SET, {_aQN: _ICBAS, _sN: _iCBAS}), - (VPC_CIDR_BLOCK_ASSOCIATION_SET, {_aQN: _CBAS, _sN: _cBAS}), - (BOOLEAN, {_aQN: _ID, _sN: _iD}), - (VPC_ENCRYPTION_CONTROL, {_aQN: _ECn, _sN: _eCn}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (BLOCK_PUBLIC_ACCESS_STATES, {_aQN: _BPAS, _sN: _bPAS}), - (STRING, {_aQN: _VI, _sN: _vI}), - (VPC_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _CB, _sN: _cB}), - (STRING, {_aQN: _DOI, _sN: _dOI}), - ), -) - -CREATE_DEFAULT_VPC_OUTPUT: StaticSchema = ( - 18, - n0, - _CDVO, - {_sSI: _cCDVRo, _smit: None}, - (_Vp,), - ((VPC, {_aQN: _Vp, _sN: _vp}),), -) - -CREATE_DEFAULT_VPC: StaticOperationSchema = ( - 23, - n0, - _CDV, - 0, - CREATE_DEFAULT_VPC_INPUT, - CREATE_DEFAULT_VPC_OUTPUT, - (), -) - -SENSITIVE_MAC_CREDENTIALS: StaticSchema = (3, n0, _SMC, 4) - -CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CDMVOTI, - {_sSI: _cCDMVOTR, _sm: None}, - (_CTl, _DR, _II, _MCa, _TSa), - ( - (STRING, 2), - (BOOLEAN, 0), - (INSTANCE_ID, 1), - (SENSITIVE_MAC_CREDENTIALS, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -MAC_MODIFICATION_TASK_ID: StaticSchema = (3, n0, _MMTI, 0) - -MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS: StaticSchema = ( - 14, - n0, - _MSIPSS, - 0, - (_ena, _d), - ((-1, {_sV: _ena}), (-1, {_sV: _d})), -) - -MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MSIPC, - 0, - (_AIp, _BSa, _DReb, _DTR, _FPi, _KS, _NP, _Sta), - ( - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _AIp, _sN: _aIp}), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _BSa, _sN: _bS}), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _DReb, _sN: _dReb}), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _DTR, _sN: _dTR}), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _FPi, _sN: _fPi}), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _KS, _sN: _kS}), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _NP, _sN: _nP}), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _Sta, _sN: _sta}), - ), -) - -MAC_MODIFICATION_TASK_STATE: StaticSchema = ( - 14, - n0, - _MMTS, - 0, - (_succ, _fa, _inp, _p), - ((-1, {_sV: _succ}), (-1, {_sV: _fa}), (-1, {_sV: _ip_____}), (-1, {_sV: _p})), -) - -MAC_MODIFICATION_TASK_TYPE: StaticSchema = ( - 14, - n0, - _MMTT, - 0, - (_SIPM, _VOD), - ((-1, {_sV: _sm_}), (-1, {_sV: _vod})), -) - -MAC_MODIFICATION_TASK: StaticSchema = ( - 18, - n0, - _MMT, - 0, - (_II, _MMTI, _MSIPCa, _ST, _Tag, _TSas, _TT), - ( - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (MAC_MODIFICATION_TASK_ID, {_aQN: _MMTI, _sN: _mMTI}), - (MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION, {_aQN: _MSIPCa, _sN: _mSIPC}), - (MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (MAC_MODIFICATION_TASK_STATE, {_aQN: _TSas, _sN: _tSa}), - (MAC_MODIFICATION_TASK_TYPE, {_aQN: _TT, _sN: _tT}), - ), -) - -CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CDMVOTO, - {_sSI: _cCDMVOTRo, _smit: None}, - (_MMT,), - ((MAC_MODIFICATION_TASK, {_aQN: _MMT, _sN: _mMT}),), -) - -CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK: StaticOperationSchema = ( - 23, - n0, - _CDMVOT, - 0, - CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_INPUT, - CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_OUTPUT, - (), -) - -NEW_DHCP_CONFIGURATION: StaticSchema = ( - 18, - n0, - _NDC, - 0, - (_Ke, _Val), - ((STRING, {_aQN: _Ke, _sN: _ke}), (VALUE_STRING_LIST, {_sN: _Va})), -) - -NEW_DHCP_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _NDCL, - 0, - (_me,), - ((NEW_DHCP_CONFIGURATION, {_sN: _i}),), -) - -CREATE_DHCP_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _CDOI, - {_sSI: _cCDOR, _sm: None}, - (_DCh, _TSa, _DR), - ( - (NEW_DHCP_CONFIGURATION_LIST, {_aQN: _DChc, _sN: _dCh, _smi: None}), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -ATTRIBUTE_VALUE: StaticSchema = ( - 18, - n0, - _AV, - 0, - (_Va,), - ((STRING, {_aQN: _Va, _sN: _va}),), -) - -DHCP_CONFIGURATION_VALUE_LIST: StaticSchema = ( - 16, - n0, - _DCVL, - 0, - (_me,), - ((ATTRIBUTE_VALUE, {_sN: _i}),), -) - -DHCP_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DChc, - 0, - (_Ke, _Val), - ( - (STRING, {_aQN: _Ke, _sN: _ke}), - (DHCP_CONFIGURATION_VALUE_LIST, {_aQN: _VSa, _sN: _vSa}), - ), -) - -DHCP_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _DCL, - 0, - (_me,), - ((DHCP_CONFIGURATION, {_sN: _i}),), -) - -DHCP_OPTIONS: StaticSchema = ( - 18, - n0, - _DOh, - 0, - (_OIw, _Tag, _DOI, _DCh), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _DOI, _sN: _dOI}), - (DHCP_CONFIGURATION_LIST, {_aQN: _DCS, _sN: _dCS}), - ), -) - -CREATE_DHCP_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _CDOO, - {_sSI: _cCDORo, _smit: None}, - (_DOh,), - ((DHCP_OPTIONS, {_aQN: _DOh, _sN: _dOh}),), -) - -CREATE_DHCP_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _CDO, - 0, - CREATE_DHCP_OPTIONS_INPUT, - CREATE_DHCP_OPTIONS_OUTPUT, - (), -) - -CREATE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _CEOIGI, - {_sSI: _cCEOIGR, _sm: None}, - (_CTl, _DR, _VI, _TSa), - ((STRING, 0), (BOOLEAN, 0), (VPC_ID, 1), (TAG_SPECIFICATION_LIST, {_sN: _TS})), -) - -INTERNET_GATEWAY_ATTACHMENT: StaticSchema = ( - 18, - n0, - _IGA, - 0, - (_St, _VI), - ((ATTACHMENT_STATUS, {_aQN: _St, _sN: _st}), (STRING, {_aQN: _VI, _sN: _vI})), -) - -INTERNET_GATEWAY_ATTACHMENT_LIST: StaticSchema = ( - 16, - n0, - _IGAL, - 0, - (_me,), - ((INTERNET_GATEWAY_ATTACHMENT, {_sN: _i}),), -) - -EGRESS_ONLY_INTERNET_GATEWAY_ID: StaticSchema = (3, n0, _EOIGI, 0) - -EGRESS_ONLY_INTERNET_GATEWAY: StaticSchema = ( - 18, - n0, - _EOIG, - 0, - (_Att, _EOIGI, _Tag), - ( - (INTERNET_GATEWAY_ATTACHMENT_LIST, {_aQN: _AStt, _sN: _aSt}), - (EGRESS_ONLY_INTERNET_GATEWAY_ID, {_aQN: _EOIGI, _sN: _eOIGI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _CEOIGO, - {_sSI: _cCEOIGRo, _smit: None}, - (_CTl, _EOIG), - ( - (STRING, {_aQN: _CTl, _sN: _cTl}), - (EGRESS_ONLY_INTERNET_GATEWAY, {_aQN: _EOIG, _sN: _eOIG}), - ), -) - -CREATE_EGRESS_ONLY_INTERNET_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _CEOIG, - 0, - CREATE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT, - CREATE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT, - (), -) - -FLEET_EXCESS_CAPACITY_TERMINATION_POLICY: StaticSchema = ( - 14, - n0, - _FECTP, - 0, - (_NT, _TERMINATION), - ((-1, {_sV: _nt}), (-1, {_sV: _ter})), -) - -LAUNCH_TEMPLATE_ID: StaticSchema = (3, n0, _LTI, 0) - -LAUNCH_TEMPLATE_NAME: StaticSchema = (3, n0, _LTN, 0) - -SENSITIVE_USER_DATA: StaticSchema = (3, n0, _SUD, 4) - -FLEET_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _FLTSR, - 0, - (_LTI, _LTN, _Ve, _LTSUD), - ( - (LAUNCH_TEMPLATE_ID, 0), - (LAUNCH_TEMPLATE_NAME, 0), - (STRING, 0), - (SENSITIVE_USER_DATA, 0), - ), -) - -SNAPSHOT_ID: StaticSchema = (3, n0, _SIn, 0) - -FLEET_EBS_BLOCK_DEVICE_REQUEST: StaticSchema = ( - 18, - n0, - _FEBDR, - 0, - (_En, _DOT, _Io, _Th, _KKI, _SIn, _VSol, _VT), - ( - (BOOLEAN, 0), - (BOOLEAN, 0), - (INTEGER, 0), - (INTEGER, 0), - (KMS_KEY_ID, 0), - (SNAPSHOT_ID, 0), - (INTEGER, 0), - (VOLUME_TYPE, 0), - ), -) - -FLEET_BLOCK_DEVICE_MAPPING_REQUEST: StaticSchema = ( - 18, - n0, - _FBDMR, - 0, - (_DNe, _VN, _Eb, _ND), - ((STRING, 0), (STRING, 0), (FLEET_EBS_BLOCK_DEVICE_REQUEST, 0), (STRING, 0)), -) - -FLEET_BLOCK_DEVICE_MAPPING_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _FBDMRL, - 0, - (_me,), - ((FLEET_BLOCK_DEVICE_MAPPING_REQUEST, {_sN: _BDM}),), -) - -FLEET_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _FIIPSR, - 0, - (_Ar, _N), - ((STRING, 0), (STRING, 0)), -) - -FLEET_INSTANCE_METADATA_ENDPOINT_STATE: StaticSchema = ( - 14, - n0, - _FIMES, - 0, - (_DISABLED, _ENABLED), - ((-1, {_sV: _d}), (-1, {_sV: _ena})), -) - -FLEET_HTTP_TOKENS_STATE: StaticSchema = ( - 14, - n0, - _FHTS, - 0, - (_OPTIONAL, _REQUIRED), - ((-1, {_sV: _opt}), (-1, {_sV: _requ})), -) - -FLEET_INSTANCE_METADATA_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _FIMOR, - 0, - (_HTt, _HPRHL, _HE), - ( - (FLEET_HTTP_TOKENS_STATE, 0), - (INTEGER, 0), - (FLEET_INSTANCE_METADATA_ENDPOINT_STATE, 0), - ), -) - -PLACEMENT_GROUP_ID: StaticSchema = (3, n0, _PGI, 0) - -PLACEMENT_GROUP_NAME: StaticSchema = (3, n0, _PGN, 0) - -PLACEMENT: StaticSchema = ( - 18, - n0, - _Pl, - 0, - (_AZI, _Af, _GN, _PNa, _HIo, _Ten, _SDp, _HRGA, _GIr, _AZ), - ( - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _Af, _sN: _aff}), - (PLACEMENT_GROUP_NAME, {_aQN: _GN, _sN: _gN}), - (INTEGER, {_aQN: _PNa, _sN: _pN}), - (STRING, {_aQN: _HIo, _sN: _hI}), - (TENANCY, {_aQN: _Ten, _sN: _ten}), - (STRING, {_aQN: _SDp, _sN: _sDp}), - (STRING, {_aQN: _HRGA, _sN: _hRGA}), - (PLACEMENT_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - ), -) - -FLEET_LAUNCH_TEMPLATE_OVERRIDES_REQUEST: StaticSchema = ( - 18, - n0, - _FLTOR, - 0, - (_IT, _MP, _SIu, _AZ, _WC, _Pr, _Pl, _KN, _BDMl, _IIP, _MO, _IRn, _IIm, _AZI), - ( - (INSTANCE_TYPE, 0), - (STRING, 0), - (SUBNET_ID, 0), - (AVAILABILITY_ZONE_NAME, 0), - (DOUBLE, 0), - (DOUBLE, 0), - (PLACEMENT, 0), - (STRING, 0), - (FLEET_BLOCK_DEVICE_MAPPING_REQUEST_LIST, {_sN: _BDM}), - (FLEET_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST, 0), - (FLEET_INSTANCE_METADATA_OPTIONS_REQUEST, 0), - (INSTANCE_REQUIREMENTS_REQUEST, 0), - (STRING, 0), - (AVAILABILITY_ZONE_ID, 0), - ), -) - -FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _FLTOLR, - 0, - (_me,), - ((FLEET_LAUNCH_TEMPLATE_OVERRIDES_REQUEST, {_sN: _i}),), -) - -FLEET_LAUNCH_TEMPLATE_CONFIG_REQUEST: StaticSchema = ( - 18, - n0, - _FLTCR, - 0, - (_LTS, _Ov), - ( - (FLEET_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST, 0), - (FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST_REQUEST, 0), - ), -) - -FLEET_LAUNCH_TEMPLATE_CONFIG_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _FLTCLR, - 0, - (_me,), - ((FLEET_LAUNCH_TEMPLATE_CONFIG_REQUEST, {_sN: _i}),), -) - -FLEET_ON_DEMAND_ALLOCATION_STRATEGY: StaticSchema = ( - 14, - n0, - _FODAS, - 0, - (_LP, _PRIORITIZED), - ((-1, {_sV: _lp}), (-1, {_sV: _prio})), -) - -FLEET_CAPACITY_RESERVATION_USAGE_STRATEGY: StaticSchema = ( - 14, - n0, - _FCRUS, - 0, - (_UCRF,), - ((-1, {_sV: _ucrf}),), -) - -CAPACITY_RESERVATION_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _CROR, - 0, - (_USs,), - ((FLEET_CAPACITY_RESERVATION_USAGE_STRATEGY, 0),), -) - -ON_DEMAND_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _ODOR, - 0, - (_ASll, _CRO, _SIT, _SAZ, _MTC, _MTP), - ( - (FLEET_ON_DEMAND_ALLOCATION_STRATEGY, 0), - (CAPACITY_RESERVATION_OPTIONS_REQUEST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (INTEGER, 0), - (STRING, 0), - ), -) - -RESERVED_CAPACITY_ALLOCATION_STRATEGY: StaticSchema = ( - 14, - n0, - _RCAS, - 0, - (_PRIORITIZED,), - ((-1, {_sV: _prio}),), -) - -CAPACITY_RESERVATION_ID_SET: StaticSchema = ( - 16, - n0, - _CRIS, - 0, - (_me,), - ((CAPACITY_RESERVATION_ID, {_sN: _i}),), -) - -RESOURCE_GROUP_NAME: StaticSchema = (3, n0, _RGN, 0) - -CAPACITY_RESERVATION_RESOURCE_GROUP_ARN_SET: StaticSchema = ( - 16, - n0, - _CRRGAS, - 0, - (_me,), - ((RESOURCE_GROUP_NAME, {_sN: _i}),), -) - -FLEET_CAPACITY_RESERVATION_TARGET_REQUEST: StaticSchema = ( - 18, - n0, - _FCRTR, - 0, - (_CRIa, _CRRGA), - ( - (CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), - (CAPACITY_RESERVATION_RESOURCE_GROUP_ARN_SET, {_sN: _CRRGAa}), - ), -) - -FLEET_RESERVATION_TYPE: StaticSchema = ( - 14, - n0, - _FRT, - 0, - (_ODCR, _CB_, _ICR), - ((-1, {_sV: _odcr}), (-1, {_sV: _cb_}), (-1, {_sV: _icr})), -) - -RESERVATION_TYPE_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _RTLR, - 0, - (_me,), - ((FLEET_RESERVATION_TYPE, {_sN: _RTes}),), -) - -RESERVED_CAPACITY_FALLBACK_MARKET_TYPE: StaticSchema = ( - 14, - n0, - _RCFMT, - 0, - (_OD,), - ((-1, {_sV: _od}),), -) - -RESERVED_CAPACITY_FALLBACK_MARKET_TYPE_LIST: StaticSchema = ( - 16, - n0, - _RCFMTL, - 0, - (_me,), - ((RESERVED_CAPACITY_FALLBACK_MARKET_TYPE, {_sN: _i}),), -) - -RESERVED_CAPACITY_FALLBACK_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _RCFOR, - 0, - (_MTa,), - ((RESERVED_CAPACITY_FALLBACK_MARKET_TYPE_LIST, {_sN: _MTar}),), -) - -RESERVED_CAPACITY_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _RCOR, - 0, - (_ASll, _RTese, _CRTap, _RCFO), - ( - (RESERVED_CAPACITY_ALLOCATION_STRATEGY, 0), - (RESERVATION_TYPE_LIST_REQUEST, {_sN: _RTes}), - (FLEET_CAPACITY_RESERVATION_TARGET_REQUEST, 0), - (RESERVED_CAPACITY_FALLBACK_OPTIONS_REQUEST, 0), - ), -) - -SPOT_ALLOCATION_STRATEGY: StaticSchema = ( - 14, - n0, - _SASp, - 0, - (_LP, _DIVERSIFIED, _CO_, _COP, _PCO), - ( - (-1, {_sV: _lp}), - (-1, {_sV: _div}), - (-1, {_sV: _co_}), - (-1, {_sV: _cop}), - (-1, {_sV: _pco}), - ), -) - -SPOT_INSTANCE_INTERRUPTION_BEHAVIOR: StaticSchema = ( - 14, - n0, - _SIIB, - 0, - (_hib, _stop, _term), - ((-1, {_sV: _hib}), (-1, {_sV: _stop}), (-1, {_sV: _term})), -) - -FLEET_REPLACEMENT_STRATEGY: StaticSchema = ( - 14, - n0, - _FRS, - 0, - (_LAUNCH, _LBT_), - ((-1, {_sV: _laun}), (-1, {_sV: _lbt})), -) - -FLEET_SPOT_CAPACITY_REBALANCE_REQUEST: StaticSchema = ( - 18, - n0, - _FSCRR, - 0, - (_RSep, _TD), - ((FLEET_REPLACEMENT_STRATEGY, 0), (INTEGER, 0)), -) - -FLEET_SPOT_MAINTENANCE_STRATEGIES_REQUEST: StaticSchema = ( - 18, - n0, - _FSMSR, - 0, - (_CRapa,), - ((FLEET_SPOT_CAPACITY_REBALANCE_REQUEST, 0),), -) - -SPOT_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _SOR, - 0, - (_ASll, _MS, _IIB, _IPTUC, _SIT, _SAZ, _MTC, _MTP), - ( - (SPOT_ALLOCATION_STRATEGY, 0), - (FLEET_SPOT_MAINTENANCE_STRATEGIES_REQUEST, 0), - (SPOT_INSTANCE_INTERRUPTION_BEHAVIOR, 0), - (INTEGER, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (INTEGER, 0), - (STRING, 0), - ), -) - -DEFAULT_TARGET_CAPACITY_TYPE: StaticSchema = ( - 14, - n0, - _DTCT, - 0, - (_SPOT, _OD, _CB_, _RC), - ((-1, {_sV: _spo}), (-1, {_sV: _od}), (-1, {_sV: _cb_}), (-1, {_sV: _rc})), -) - -TARGET_CAPACITY_UNIT_TYPE: StaticSchema = ( - 14, - n0, - _TCUT, - 0, - (_VCPU, _MM, _UNITS), - ( - (-1, {_sV: _vcp}), - ( - -1, - { - _sV: _mm_____________________________________________________________________ - }, - ), - (-1, {_sV: _uni}), - ), -) - -TARGET_CAPACITY_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _TCSR, - 0, - (_TTC, _ODTC, _STC, _DTCT, _TCUT), - ( - (INTEGER, 1), - (INTEGER, 0), - (INTEGER, 0), - (DEFAULT_TARGET_CAPACITY_TYPE, 0), - (TARGET_CAPACITY_UNIT_TYPE, 0), - ), -) - -FLEET_TYPE: StaticSchema = ( - 14, - n0, - _FTl, - 0, - (_REQUEST, _MAINTAIN, _INSTANT), - ((-1, {_sV: _reque}), (-1, {_sV: _mai}), (-1, {_sV: _inst})), -) - -CREATE_FLEET_INPUT: StaticSchema = ( - 18, - n0, - _CFIr, - {_sSI: _cCFR, _sm: None}, - ( - _DR, - _CTl, - _SO, - _ODO, - _RCO, - _ECTP, - _LTC, - _TCS, - _TIWE, - _Ty, - _VF, - _VU, - _RUI, - _TSa, - _Con, - ), - ( - (BOOLEAN, 0), - (STRING, 2), - (SPOT_OPTIONS_REQUEST, 0), - (ON_DEMAND_OPTIONS_REQUEST, 0), - (RESERVED_CAPACITY_OPTIONS_REQUEST, 0), - (FLEET_EXCESS_CAPACITY_TERMINATION_POLICY, 0), - (FLEET_LAUNCH_TEMPLATE_CONFIG_LIST_REQUEST, 1), - (TARGET_CAPACITY_SPECIFICATION_REQUEST, 1), - (BOOLEAN, 0), - (FLEET_TYPE, 0), - (DATE_TIME, 0), - (DATE_TIME, 0), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 0), - ), -) - -FLEET_LAUNCH_TEMPLATE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _FLTS, - 0, - (_LTI, _LTN, _Ve), - ( - (STRING, {_aQN: _LTI, _sN: _lTI}), - (LAUNCH_TEMPLATE_NAME, {_aQN: _LTN, _sN: _lTN}), - (STRING, {_aQN: _Ve, _sN: _ver}), - ), -) - -EBS_BLOCK_DEVICE_RESPONSE: StaticSchema = ( - 18, - n0, - _EBDR, - 0, - (_En, _DOT, _Io, _Th, _KKI, _SIn, _VSol, _VT), - ( - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (INTEGER, {_aQN: _Io, _sN: _iop}), - (INTEGER, {_aQN: _Th, _sN: _thr}), - (KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), - (SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), - (INTEGER, {_aQN: _VSol, _sN: _vSo}), - (VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), - ), -) - -BLOCK_DEVICE_MAPPING_RESPONSE: StaticSchema = ( - 18, - n0, - _BDMR, - 0, - (_DNe, _VN, _Eb, _ND), - ( - (STRING, {_aQN: _DNe, _sN: _dNe}), - (STRING, {_aQN: _VN, _sN: _vN}), - (EBS_BLOCK_DEVICE_RESPONSE, {_aQN: _Eb, _sN: _eb}), - (STRING, {_aQN: _ND, _sN: _nD}), - ), -) - -BLOCK_DEVICE_MAPPING_RESPONSE_LIST: StaticSchema = ( - 16, - n0, - _BDMRL, - 0, - (_me,), - ((BLOCK_DEVICE_MAPPING_RESPONSE, {_sN: _i}),), -) - -BASELINE_EBS_BANDWIDTH_MBPS: StaticSchema = ( - 18, - n0, - _BEBM, - 0, - (_M, _Ma), - ((INTEGER, {_aQN: _M, _sN: _m}), (INTEGER, {_aQN: _Ma, _sN: _ma})), -) - -PERFORMANCE_FACTOR_REFERENCE: StaticSchema = ( - 18, - n0, - _PFR, - 0, - (_IF,), - ((STRING, {_aQN: _IF, _sN: _iF}),), -) - -PERFORMANCE_FACTOR_REFERENCE_SET: StaticSchema = ( - 16, - n0, - _PFRS, - 0, - (_me,), - ((PERFORMANCE_FACTOR_REFERENCE, {_sN: _i}),), -) - -CPU_PERFORMANCE_FACTOR: StaticSchema = ( - 18, - n0, - _CPF, - 0, - (_Ref,), - ((PERFORMANCE_FACTOR_REFERENCE_SET, {_aQN: _RSef, _sN: _rSef}),), -) - -BASELINE_PERFORMANCE_FACTORS: StaticSchema = ( - 18, - n0, - _BPF, - 0, - (_Cp,), - ((CPU_PERFORMANCE_FACTOR, {_aQN: _Cp, _sN: _cpu}),), -) - -MEMORY_GI_B_PER_V_CPU: StaticSchema = ( - 18, - n0, - _MGBPVC, - 0, - (_M, _Ma), - ((DOUBLE, {_aQN: _M, _sN: _m}), (DOUBLE, {_aQN: _Ma, _sN: _ma})), -) - -MEMORY_MI_B: StaticSchema = ( - 18, - n0, - _MMB, - 0, - (_M, _Ma), - ((INTEGER, {_aQN: _M, _sN: _m}), (INTEGER, {_aQN: _Ma, _sN: _ma})), -) - -NETWORK_BANDWIDTH_GBPS: StaticSchema = ( - 18, - n0, - _NBGe, - 0, - (_M, _Ma), - ((DOUBLE, {_aQN: _M, _sN: _m}), (DOUBLE, {_aQN: _Ma, _sN: _ma})), -) - -NETWORK_INTERFACE_COUNT: StaticSchema = ( - 18, - n0, - _NIC, - 0, - (_M, _Ma), - ((INTEGER, {_aQN: _M, _sN: _m}), (INTEGER, {_aQN: _Ma, _sN: _ma})), -) - -TOTAL_LOCAL_STORAGE_GB: StaticSchema = ( - 18, - n0, - _TLSGB, - 0, - (_M, _Ma), - ((DOUBLE, {_aQN: _M, _sN: _m}), (DOUBLE, {_aQN: _Ma, _sN: _ma})), -) - -V_CPU_COUNT_RANGE: StaticSchema = ( - 18, - n0, - _VCCR, - 0, - (_M, _Ma), - ((INTEGER, {_aQN: _M, _sN: _m}), (INTEGER, {_aQN: _Ma, _sN: _ma})), -) - -INSTANCE_REQUIREMENTS: StaticSchema = ( - 18, - n0, - _IRn, - 0, - ( - _VCC, - _MMB, - _CMp, - _MGBPVC, - _EITx, - _IGns, - _SMPPOLP, - _ODMPPOLP, - _BM, - _BP, - _RHS, - _NIC, - _LSo, - _LSTo, - _TLSGB, - _BEBM, - _ATc, - _AC, - _AMc, - _ANc, - _ATMMB, - _NBGe, - _AITl, - _MSPAPOOODP, - _BPF, - _REIT, - ), - ( - (V_CPU_COUNT_RANGE, {_aQN: _VCC, _sN: _vCC}), - (MEMORY_MI_B, {_aQN: _MMB, _sN: _mMB}), - (CPU_MANUFACTURER_SET, {_aQN: _CMS, _sN: _cMS}), - (MEMORY_GI_B_PER_V_CPU, {_aQN: _MGBPVC, _sN: _mGBPVC}), - (EXCLUDED_INSTANCE_TYPE_SET, {_aQN: _EITS, _sN: _eITS}), - (INSTANCE_GENERATION_SET, {_aQN: _IGS, _sN: _iGS}), - (INTEGER, {_aQN: _SMPPOLP, _sN: _sMPPOLP}), - (INTEGER, {_aQN: _ODMPPOLP, _sN: _oDMPPOLP}), - (BARE_METAL, {_aQN: _BM, _sN: _bM}), - (BURSTABLE_PERFORMANCE, {_aQN: _BP, _sN: _bP}), - (BOOLEAN, {_aQN: _RHS, _sN: _rHS}), - (NETWORK_INTERFACE_COUNT, {_aQN: _NIC, _sN: _nIC}), - (LOCAL_STORAGE, {_aQN: _LSo, _sN: _lSo}), - (LOCAL_STORAGE_TYPE_SET, {_aQN: _LSTS, _sN: _lSTS}), - (TOTAL_LOCAL_STORAGE_GB, {_aQN: _TLSGB, _sN: _tLSGB}), - (BASELINE_EBS_BANDWIDTH_MBPS, {_aQN: _BEBM, _sN: _bEBM}), - (ACCELERATOR_TYPE_SET, {_aQN: _ATS, _sN: _aTSc}), - (ACCELERATOR_COUNT, {_aQN: _AC, _sN: _aC}), - (ACCELERATOR_MANUFACTURER_SET, {_aQN: _AMS, _sN: _aMSc}), - (ACCELERATOR_NAME_SET, {_aQN: _ANS, _sN: _aNS}), - (ACCELERATOR_TOTAL_MEMORY_MI_B, {_aQN: _ATMMB, _sN: _aTMMB}), - (NETWORK_BANDWIDTH_GBPS, {_aQN: _NBGe, _sN: _nBGe}), - (ALLOWED_INSTANCE_TYPE_SET, {_aQN: _AITS, _sN: _aITS}), - (INTEGER, {_aQN: _MSPAPOOODP, _sN: _mSPAPOOODP}), - (BASELINE_PERFORMANCE_FACTORS, {_aQN: _BPF, _sN: _bPF}), - (BOOLEAN, {_aQN: _REIT, _sN: _rEIT}), - ), -) - -PLACEMENT_RESPONSE: StaticSchema = ( - 18, - n0, - _PRl, - 0, - (_GN,), - ((PLACEMENT_GROUP_NAME, {_aQN: _GN, _sN: _gN}),), -) - -FLEET_LAUNCH_TEMPLATE_OVERRIDES: StaticSchema = ( - 18, - n0, - _FLTO, - 0, - (_IT, _MP, _SIu, _AZ, _WC, _Pr, _Pl, _IRn, _IIm, _BDMl, _AZI), - ( - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _MP, _sN: _mP}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), - (DOUBLE, {_aQN: _WC, _sN: _wC}), - (DOUBLE, {_aQN: _Pr, _sN: _pri}), - (PLACEMENT_RESPONSE, {_aQN: _Pl, _sN: _pla}), - (INSTANCE_REQUIREMENTS, {_aQN: _IRn, _sN: _iRn}), - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (BLOCK_DEVICE_MAPPING_RESPONSE_LIST, {_aQN: _BDMS, _sN: _bDMS}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - ), -) - -LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE: StaticSchema = ( - 18, - n0, - _LTAOR, - 0, - (_LTS, _Ov), - ( - (FLEET_LAUNCH_TEMPLATE_SPECIFICATION, {_aQN: _LTS, _sN: _lTS}), - (FLEET_LAUNCH_TEMPLATE_OVERRIDES, {_aQN: _Ov, _sN: _ov}), - ), -) - -INSTANCE_LIFECYCLE: StaticSchema = ( - 14, - n0, - _ILn, - 0, - (_SPOT, _OD, _ICR, _CB_), - ((-1, {_sV: _spo}), (-1, {_sV: _od}), (-1, {_sV: _icr}), (-1, {_sV: _cb_})), -) - -CREATE_FLEET_ERROR: StaticSchema = ( - 18, - n0, - _CFE, - 0, - (_LTAO, _Li, _ECr, _EM), - ( - (LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE, {_aQN: _LTAO, _sN: _lTAO}), - (INSTANCE_LIFECYCLE, {_aQN: _Li, _sN: _lif}), - (STRING, {_aQN: _ECr, _sN: _eCr}), - (STRING, {_aQN: _EM, _sN: _eM}), - ), -) - -CREATE_FLEET_ERRORS_SET: StaticSchema = ( - 16, - n0, - _CFES, - 0, - (_me,), - ((CREATE_FLEET_ERROR, {_sN: _i}),), -) - -FLEET_ID: StaticSchema = (3, n0, _FIl, 0) - -INSTANCE_IDS_SET: StaticSchema = (16, n0, _IISn, 0, (_me,), ((INSTANCE_ID, {_sN: _i}),)) - -PLATFORM_VALUES: StaticSchema = (14, n0, _PV, 0, (_W,), ((-1, {_sV: _W}),)) - -CREATE_FLEET_INSTANCE: StaticSchema = ( - 18, - n0, - _CFIre, - 0, - (_LTAO, _Li, _IIn, _IT, _Pla, _AZI, _AZ, _SIu), - ( - (LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE, {_aQN: _LTAO, _sN: _lTAO}), - (INSTANCE_LIFECYCLE, {_aQN: _Li, _sN: _lif}), - (INSTANCE_IDS_SET, {_aQN: _IIn, _sN: _iIns}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - ), -) - -CREATE_FLEET_INSTANCES_SET: StaticSchema = ( - 16, - n0, - _CFIS, - 0, - (_me,), - ((CREATE_FLEET_INSTANCE, {_sN: _i}),), -) - -CREATE_FLEET_OUTPUT: StaticSchema = ( - 18, - n0, - _CFO, - {_sSI: _cCFRo, _smit: None}, - (_FIl, _Er, _Ins), - ( - (FLEET_ID, {_aQN: _FIl, _sN: _fIl}), - (CREATE_FLEET_ERRORS_SET, {_aQN: _ESr, _sN: _eSr}), - (CREATE_FLEET_INSTANCES_SET, {_aQN: _FIS, _sN: _fIS}), - ), -) - -CREATE_FLEET: StaticOperationSchema = ( - 23, - n0, - _CF, - 0, - CREATE_FLEET_INPUT, - CREATE_FLEET_OUTPUT, - (), -) - -DESTINATION_FILE_FORMAT: StaticSchema = ( - 14, - n0, - _DFF, - 0, - (_pt_, _par), - ((-1, {_sV: _pt__}), (-1, {_sV: _par})), -) - -DESTINATION_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _DOR, - 0, - (_FF, _HCPi, _PHP), - ((DESTINATION_FILE_FORMAT, 0), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -LOG_DESTINATION_TYPE: StaticSchema = ( - 14, - n0, - _LDT, - 0, - (_cwl, _s_, _kdf), - ((-1, {_sV: _cwl_}), (-1, {_sV: _s_}), (-1, {_sV: _kdf_})), -) - -FLOW_LOG_RESOURCE_ID: StaticSchema = (3, n0, _FLRI, 0) - -FLOW_LOG_RESOURCE_IDS: StaticSchema = ( - 16, - n0, - _FLRIl, - 0, - (_me,), - ((FLOW_LOG_RESOURCE_ID, {_sN: _i}),), -) - -FLOW_LOGS_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _FLRT, - 0, - (_VPC_, _Sub, _NI, _TGr, _TGA, _RNG, _CN, _CNE, _CNAo), - ( - (-1, {_sV: _VPC_}), - (-1, {_sV: _Sub}), - (-1, {_sV: _NI}), - (-1, {_sV: _TGr}), - (-1, {_sV: _TGA}), - (-1, {_sV: _RNG}), - (-1, {_sV: _CN}), - (-1, {_sV: _CNE}), - (-1, {_sV: _CNAo}), - ), -) - -TAGGABLE_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _TRT, - 0, - (_ni, _ins, _asg), - ((-1, {_sV: _ni_}), (-1, {_sV: _ins}), (-1, {_sV: _asg_})), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, {_sN: _i}),)) - -TAG_FIELD_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _TFSR, - 0, - (_RT, _TKa), - ((TAGGABLE_RESOURCE_TYPE, 0), (TAG_KEY_LIST, {_sN: _TK})), -) - -TAG_FIELD_SPECIFICATION_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _TFSLR, - 0, - (_me,), - ((TAG_FIELD_SPECIFICATION_REQUEST, {_sN: _i}),), -) - -TRAFFIC_TYPE: StaticSchema = ( - 14, - n0, - _TTr, - 0, - (_ACCEPT, _REJECT, _ALL), - ((-1, {_sV: _ACCEPT}), (-1, {_sV: _REJECT}), (-1, {_sV: _ALL})), -) - -CREATE_FLOW_LOGS_INPUT: StaticSchema = ( - 18, - n0, - _CFLI, - {_sSI: _cCFLR, _sm: None}, - ( - _DR, - _CTl, - _DLPA, - _DCAR, - _LGN, - _RIes, - _RT, - _TTr, - _LDT, - _LD, - _LF, - _TSa, - _MAI, - _DOe, - _TFS, - ), - ( - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (FLOW_LOG_RESOURCE_IDS, {_sN: _RIe, _smi: None}), - (FLOW_LOGS_RESOURCE_TYPE, 1), - (TRAFFIC_TYPE, 0), - (LOG_DESTINATION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (INTEGER, 0), - (DESTINATION_OPTIONS_REQUEST, 0), - (TAG_FIELD_SPECIFICATION_LIST_REQUEST, {_sN: _TFSa}), - ), -) - -CREATE_FLOW_LOGS_OUTPUT: StaticSchema = ( - 18, - n0, - _CFLO, - {_sSI: _cCFLRo, _smit: None}, - (_CTl, _FLI, _Un), - ( - (STRING, {_aQN: _CTl, _sN: _cTl}), - (VALUE_STRING_LIST, {_aQN: _FLIS, _sN: _fLIS}), - (UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}), - ), -) - -CREATE_FLOW_LOGS: StaticOperationSchema = ( - 23, - n0, - _CFL, - 0, - CREATE_FLOW_LOGS_INPUT, - CREATE_FLOW_LOGS_OUTPUT, - (), -) - -STORAGE_LOCATION: StaticSchema = ( - 18, - n0, - _SLt, - 0, - (_Bu, _Ke), - ((STRING, 0), (STRING, 0)), -) - -CREATE_FPGA_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _CFIIr, - {_sSI: _cCFIRom, _sm: None}, - (_DR, _ISL, _LSL, _Des, _N, _CTl, _TSa), - ( - (BOOLEAN, 0), - (STORAGE_LOCATION, 1), - (STORAGE_LOCATION, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -CREATE_FPGA_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _CFIOr, - {_sSI: _cCFIRoma, _smit: None}, - (_FII, _FIGI), - ((STRING, {_aQN: _FII, _sN: _fII}), (STRING, {_aQN: _FIGI, _sN: _fIGI})), -) - -CREATE_FPGA_IMAGE: StaticOperationSchema = ( - 23, - n0, - _CFIrea, - 0, - CREATE_FPGA_IMAGE_INPUT, - CREATE_FPGA_IMAGE_OUTPUT, - (), -) - -EBS_BLOCK_DEVICE: StaticSchema = ( - 18, - n0, - _EBD, - 0, - (_DOT, _Io, _SIn, _VSol, _VT, _KKI, _Th, _OA, _AZ, _En, _VIR, _AZI, _ECI), - ( - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (INTEGER, {_aQN: _Io, _sN: _iop}), - (SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), - (INTEGER, {_aQN: _VSol, _sN: _vSo}), - (VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), - (STRING, {_aQN: _KKI, _sN: _kKI}), - (INTEGER, {_aQN: _Th, _sN: _thr}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (INTEGER, 0), - (STRING, 0), - (INTEGER, 0), - ), -) - -BLOCK_DEVICE_MAPPING: StaticSchema = ( - 18, - n0, - _BDM, - 0, - (_Eb, _ND, _DNe, _VN), - ( - (EBS_BLOCK_DEVICE, {_aQN: _Eb, _sN: _eb}), - (STRING, {_aQN: _ND, _sN: _nD}), - (STRING, {_aQN: _DNe, _sN: _dNe}), - (STRING, {_aQN: _VN, _sN: _vN}), - ), -) - -BLOCK_DEVICE_MAPPING_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _BDMRLl, - 0, - (_me,), - ((BLOCK_DEVICE_MAPPING, {_sN: _BDM}),), -) - -BOOT_MODE_OVERRIDE_VALUES: StaticSchema = ( - 14, - n0, - _BMOV, - 0, - (_ue,), - ((-1, {_sV: _ue}),), -) - -SNAPSHOT_LOCATION_ENUM: StaticSchema = ( - 14, - n0, - _SLE, - 0, - (_REGIONAL, _LOCAL), - ((-1, {_sV: _regi}), (-1, {_sV: _lo})), -) - -CREATE_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _CIIr, - {_sSI: _cCIRom, _sm: None}, - (_TSa, _SLn, _BMO, _DR, _II, _N, _Des, _NR, _BDMl), - ( - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (SNAPSHOT_LOCATION_ENUM, 0), - (BOOT_MODE_OVERRIDE_VALUES, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), - (IMAGE_NAME_REQUEST, {_aQN: _N, _sN: _nam, _smi: None}), - (IMAGE_DESCRIPTION_REQUEST, {_aQN: _Des, _sN: _desc}), - (BOOLEAN, {_aQN: _NR, _sN: _nR}), - (BLOCK_DEVICE_MAPPING_REQUEST_LIST, {_aQN: _BDM, _sN: _bDM}), - ), -) - -CREATE_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _CIOr, - {_sSI: _cCIRoma, _smit: None}, - (_IIm,), - ((STRING, {_aQN: _IIm, _sN: _iIm}),), -) - -CREATE_IMAGE: StaticOperationSchema = ( - 23, - n0, - _CIr, - 0, - CREATE_IMAGE_INPUT, - CREATE_IMAGE_OUTPUT, - (), -) - -IMAGE_USAGE_REPORT_USER_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _IURUISL, - 0, - (_me,), - ((STRING, {_sN: _UIs}),), -) - -CREATE_IMAGE_USAGE_REPORT_CLIENT_TOKEN: StaticSchema = (3, n0, _CIURCT, 0) - -IMAGE_USAGE_RESOURCE_TYPE_NAME: StaticSchema = (3, n0, _IURTN, 0) - -IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUE: StaticSchema = (3, n0, _IURTOV, 0) - -IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUES_LIST: StaticSchema = ( - 16, - n0, - _IURTOVL, - 0, - (_me,), - ((IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUE, {_sN: _i}),), -) - -IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST: StaticSchema = ( - 18, - n0, - _IURTOR, - 0, - (_ON, _OV), - ((STRING, 0), (IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUES_LIST, {_sN: _OVp})), -) - -IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _IURTORL, - 0, - (_me,), - ((IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST, 0),), -) - -IMAGE_USAGE_RESOURCE_TYPE_REQUEST: StaticSchema = ( - 18, - n0, - _IURTR, - 0, - (_RT, _RTO), - ( - (IMAGE_USAGE_RESOURCE_TYPE_NAME, 0), - (IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST_LIST, {_sN: _RTOe}), - ), -) - -IMAGE_USAGE_RESOURCE_TYPE_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _IURTRL, - 0, - (_me,), - ((IMAGE_USAGE_RESOURCE_TYPE_REQUEST, 0),), -) - -CREATE_IMAGE_USAGE_REPORT_INPUT: StaticSchema = ( - 18, - n0, - _CIURI, - {_sSI: _cCIURR, _sm: None}, - (_IIm, _DR, _RTe, _AIcc, _CTl, _TSa), - ( - (IMAGE_ID, 1), - (BOOLEAN, 0), - (IMAGE_USAGE_RESOURCE_TYPE_REQUEST_LIST, {_sN: _RT, _smi: None}), - (IMAGE_USAGE_REPORT_USER_ID_STRING_LIST, {_sN: _AIcco}), - (CREATE_IMAGE_USAGE_REPORT_CLIENT_TOKEN, 2), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -IMAGE_USAGE_REPORT_ID: StaticSchema = (3, n0, _IURI, 0) - -CREATE_IMAGE_USAGE_REPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _CIURO, - {_sSI: _cCIURRo, _smit: None}, - (_RIep,), - ((IMAGE_USAGE_REPORT_ID, {_aQN: _RIep, _sN: _rIe}),), -) - -CREATE_IMAGE_USAGE_REPORT: StaticOperationSchema = ( - 23, - n0, - _CIUR, - 0, - CREATE_IMAGE_USAGE_REPORT_INPUT, - CREATE_IMAGE_USAGE_REPORT_OUTPUT, - (), -) - -IP_ADDRESS_TYPE: StaticSchema = ( - 14, - n0, - _IAT, - 0, - (_ipv, _du, _ipv_), - ((-1, {_sV: _ipv}), (-1, {_sV: _du}), (-1, {_sV: _ipv_})), -) - -SECURITY_GROUP_ID_STRING_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _SGISLR, - 0, - (_me,), - ((SECURITY_GROUP_ID, {_sN: _SGI}),), -) - -CREATE_INSTANCE_CONNECT_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CICEI, - {_sSI: _cCICER, _sm: None}, - (_DR, _SIu, _SGIe, _PCI, _CTl, _TSa, _IAT), - ( - (BOOLEAN, 0), - (SUBNET_ID, 1), - (SECURITY_GROUP_ID_STRING_LIST_REQUEST, {_sN: _SGI}), - (BOOLEAN, 0), - (STRING, 2), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (IP_ADDRESS_TYPE, 0), - ), -) - -INSTANCE_CONNECT_ENDPOINT_ID: StaticSchema = (3, n0, _ICEI, 0) - -NETWORK_INTERFACE_ID_SET: StaticSchema = ( - 16, - n0, - _NIIS, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -INSTANCE_CONNECT_ENDPOINT_DNS_NAMES: StaticSchema = ( - 18, - n0, - _ICEDN, - 0, - (_DN, _FDN), - ((STRING, {_aQN: _DN, _sN: _dN}), (STRING, {_aQN: _FDN, _sN: _fDN})), -) - -INSTANCE_CONNECT_ENDPOINT_PUBLIC_DNS_NAMES: StaticSchema = ( - 18, - n0, - _ICEPDN, - 0, - (_Ip, _Du), - ( - (INSTANCE_CONNECT_ENDPOINT_DNS_NAMES, {_aQN: _Ip, _sN: _ipv}), - (INSTANCE_CONNECT_ENDPOINT_DNS_NAMES, {_aQN: _Du, _sN: _du}), - ), -) - -SECURITY_GROUP_ID_SET: StaticSchema = ( - 16, - n0, - _SGIS, - 0, - (_me,), - ((SECURITY_GROUP_ID, {_sN: _i}),), -) - -EC2_INSTANCE_CONNECT_ENDPOINT_STATE: StaticSchema = ( - 14, - n0, - _EICES, - 0, - (_cip, _cc_, _cf________________________, _dip_, _dc_, _df___, _uip, _uc, _uf), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - (-1, {_sV: _uip_}), - (-1, {_sV: _uc_}), - (-1, {_sV: _uf_}), - ), -) - -EC2_INSTANCE_CONNECT_ENDPOINT: StaticSchema = ( - 18, - n0, - _EICE, - 0, - ( - _OIw, - _ICEI, - _ICEA, - _St, - _SMta, - _DN, - _FDN, - _NIIe, - _VI, - _AZ, - _CAr, - _SIu, - _PCI, - _SGIe, - _Tag, - _IAT, - _PDN, - _AZI, - ), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (INSTANCE_CONNECT_ENDPOINT_ID, {_aQN: _ICEI, _sN: _iCEI}), - (RESOURCE_ARN, {_aQN: _ICEA, _sN: _iCEA}), - (EC2_INSTANCE_CONNECT_ENDPOINT_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - (STRING, {_aQN: _DN, _sN: _dN}), - (STRING, {_aQN: _FDN, _sN: _fDN}), - (NETWORK_INTERFACE_ID_SET, {_aQN: _NIIS, _sN: _nIIS}), - (VPC_ID, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (MILLISECOND_DATE_TIME, {_aQN: _CAr, _sN: _cAr}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (BOOLEAN, {_aQN: _PCI, _sN: _pCI}), - (SECURITY_GROUP_ID_SET, {_aQN: _SGIS, _sN: _sGIS}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IP_ADDRESS_TYPE, {_aQN: _IAT, _sN: _iAT}), - (INSTANCE_CONNECT_ENDPOINT_PUBLIC_DNS_NAMES, {_aQN: _PDN, _sN: _pDN}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - ), -) - -CREATE_INSTANCE_CONNECT_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CICEO, - {_sSI: _cCICERo, _smit: None}, - (_ICE, _CTl), - ( - (EC2_INSTANCE_CONNECT_ENDPOINT, {_aQN: _ICE, _sN: _iCE}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - ), -) - -CREATE_INSTANCE_CONNECT_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CICE, - 0, - CREATE_INSTANCE_CONNECT_ENDPOINT_INPUT, - CREATE_INSTANCE_CONNECT_ENDPOINT_OUTPUT, - (), -) - -INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST: StaticSchema = ( - 18, - n0, - _IEWTRR, - 0, - (_SWD, _SH, _EWD, _EH), - ((WEEK_DAY, 0), (HOUR, 0), (WEEK_DAY, 0), (HOUR, 0)), -) - -INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST_SET: StaticSchema = ( - 16, - n0, - _IEWTRRS, - 0, - (_me,), - ((INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST, 0),), -) - -CREATE_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( - 18, - n0, - _CIEWI, - {_sSI: _cCIEWR, _sm: None}, - (_DR, _N, _TRi, _CE, _TSa), - ( - (BOOLEAN, 0), - (STRING, 0), - (INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST_SET, {_sN: _TRim}), - (INSTANCE_EVENT_WINDOW_CRON_EXPRESSION, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -CREATE_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( - 18, - n0, - _CIEWO, - {_sSI: _cCIEWRo, _smit: None}, - (_IEW,), - ((INSTANCE_EVENT_WINDOW, {_aQN: _IEW, _sN: _iEW}),), -) - -CREATE_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( - 23, - n0, - _CIEW, - 0, - CREATE_INSTANCE_EVENT_WINDOW_INPUT, - CREATE_INSTANCE_EVENT_WINDOW_OUTPUT, - (), -) - -CONTAINER_FORMAT: StaticSchema = (14, n0, _CFo, 0, (_ova,), ((-1, {_sV: _ova}),)) - -DISK_IMAGE_FORMAT: StaticSchema = ( - 14, - n0, - _DIF, - 0, - (_VMDK, _RAW, _VHD), - ((-1, {_sV: _VMDK}), (-1, {_sV: _RAW}), (-1, {_sV: _VHD})), -) - -EXPORT_TO_S3_TASK_SPECIFICATION: StaticSchema = ( - 18, - n0, - _ETSTS, - 0, - (_DIF, _CFo, _SBu, _SPr), - ( - (DISK_IMAGE_FORMAT, {_aQN: _DIF, _sN: _dIF}), - (CONTAINER_FORMAT, {_aQN: _CFo, _sN: _cF}), - (STRING, {_aQN: _SBu, _sN: _sB}), - (STRING, {_aQN: _SPr, _sN: _sP}), - ), -) - -EXPORT_ENVIRONMENT: StaticSchema = ( - 14, - n0, - _EE, - 0, - (_cit, _vm, _mic), - ((-1, {_sV: _cit}), (-1, {_sV: _vm}), (-1, {_sV: _mic})), -) - -CREATE_INSTANCE_EXPORT_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CIETI, - {_sSI: _cCIETR, _sm: None}, - (_TSa, _Des, _II, _TEa, _ETST), - ( - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, {_aQN: _Des, _sN: _desc}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), - (EXPORT_ENVIRONMENT, {_aQN: _TEa, _sN: _tEa, _smi: None}), - (EXPORT_TO_S3_TASK_SPECIFICATION, {_aQN: _ETS, _sN: _eTS, _smi: None}), - ), -) - -EXPORT_TO_S3_TASK: StaticSchema = ( - 18, - n0, - _ETST, - 0, - (_CFo, _DIF, _SBu, _SK), - ( - (CONTAINER_FORMAT, {_aQN: _CFo, _sN: _cF}), - (DISK_IMAGE_FORMAT, {_aQN: _DIF, _sN: _dIF}), - (STRING, {_aQN: _SBu, _sN: _sB}), - (STRING, {_aQN: _SK, _sN: _sK}), - ), -) - -INSTANCE_EXPORT_DETAILS: StaticSchema = ( - 18, - n0, - _IED, - 0, - (_II, _TEa), - ((STRING, {_aQN: _II, _sN: _iI}), (EXPORT_ENVIRONMENT, {_aQN: _TEa, _sN: _tEa})), -) - -EXPORT_TASK_STATE: StaticSchema = ( - 14, - n0, - _ETSx, - 0, - (_act, _ca, _can, _compl), - ((-1, {_sV: _act}), (-1, {_sV: _ca}), (-1, {_sV: _can}), (-1, {_sV: _compl})), -) - -EXPORT_TASK: StaticSchema = ( - 18, - n0, - _ETx, - 0, - (_Des, _ETI, _ETST, _IED, _St, _SMt, _Tag), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _ETI, _sN: _eTI}), - (EXPORT_TO_S3_TASK, {_aQN: _ETS, _sN: _eTS}), - (INSTANCE_EXPORT_DETAILS, {_aQN: _IEn, _sN: _iEn}), - (EXPORT_TASK_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_INSTANCE_EXPORT_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CIETO, - {_sSI: _cCIETRo, _smit: None}, - (_ETx,), - ((EXPORT_TASK, {_aQN: _ETx, _sN: _eTx}),), -) - -CREATE_INSTANCE_EXPORT_TASK: StaticOperationSchema = ( - 23, - n0, - _CIET, - 0, - CREATE_INSTANCE_EXPORT_TASK_INPUT, - CREATE_INSTANCE_EXPORT_TASK_OUTPUT, - (), -) - -CREATE_INTERNET_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _CIGI, - {_sSI: _cCIGR, _sm: None}, - (_TSa, _DR), - ((TAG_SPECIFICATION_LIST, {_sN: _TS}), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -INTERNET_GATEWAY: StaticSchema = ( - 18, - n0, - _IG, - 0, - (_Att, _IGI, _OIw, _Tag), - ( - (INTERNET_GATEWAY_ATTACHMENT_LIST, {_aQN: _AStt, _sN: _aSt}), - (STRING, {_aQN: _IGI, _sN: _iGI}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_INTERNET_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _CIGO, - {_sSI: _cCIGRo, _smit: None}, - (_IG,), - ((INTERNET_GATEWAY, {_aQN: _IG, _sN: _iG}),), -) - -CREATE_INTERNET_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _CIG, - 0, - CREATE_INTERNET_GATEWAY_INPUT, - CREATE_INTERNET_GATEWAY_OUTPUT, - (), -) - -CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT: StaticSchema = ( - 18, - n0, - _CICRAI, - {_sSI: _cCICRAR, _sm: None}, - (_CRI, _IC, _CTl, _DR, _TSa, _ZSP), - ( - (CAPACITY_RESERVATION_ID, 1), - (INTEGER, 1), - (STRING, 2), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (ZERO_SIZE_PREFERENCE, 0), - ), -) - -CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CICRAO, - {_sSI: _cCICRARo, _smit: None}, - (_SCRI, _TIC, _Sta, _ITnt), - ( - (CAPACITY_RESERVATION_ID, {_aQN: _SCRI, _sN: _sCRI}), - (INTEGER, {_aQN: _TIC, _sN: _tIC}), - (INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_STATUS, {_aQN: _Sta, _sN: _sta}), - (INTERRUPTION_TYPE, {_aQN: _ITnt, _sN: _iTn}), - ), -) - -CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION: StaticOperationSchema = ( - 23, - n0, - _CICRA, - 0, - CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT, - CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT, - (), -) - -IPAM_METERED_ACCOUNT: StaticSchema = ( - 14, - n0, - _IMA, - 0, - (_io__, _ro), - ((-1, {_sV: _io___}), (-1, {_sV: _ro_})), -) - -IPAM_TIER: StaticSchema = ( - 14, - n0, - _ITp, - 0, - (_fre, _adva), - ((-1, {_sV: _fre}), (-1, {_sV: _adva})), -) - -CREATE_IPAM_INPUT: StaticSchema = ( - 18, - n0, - _CIIre, - {_sSI: _cCIRomam, _sm: None}, - (_DR, _Des, _ORp, _TSa, _CTl, _Tie, _EPG, _MAe), - ( - (BOOLEAN, 0), - (STRING, 0), - (ADD_IPAM_OPERATING_REGION_SET, {_sN: _ORpe}), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (IPAM_TIER, 0), - (BOOLEAN, 0), - (IPAM_METERED_ACCOUNT, 0), - ), -) - -IPAM_OPERATING_REGION: StaticSchema = ( - 18, - n0, - _IOR, - 0, - (_RNe,), - ((STRING, {_aQN: _RNe, _sN: _rNe}),), -) - -IPAM_OPERATING_REGION_SET: StaticSchema = ( - 16, - n0, - _IORS, - 0, - (_me,), - ((IPAM_OPERATING_REGION, {_sN: _i}),), -) - -IPAM_SCOPE_ID: StaticSchema = (3, n0, _ISI, 0) - -IPAM_STATE: StaticSchema = ( - 14, - n0, - _ISpa, - 0, - ( - _cip, - _cc_, - _cf________________________, - _mip__, - _mc, - _mf__________________________, - _dip_, - _dc_, - _df___, - _iip_, - _ic_, - _rip_, - ), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _mip___}), - (-1, {_sV: _mc_}), - (-1, {_sV: _mf___________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - (-1, {_sV: _iip}), - (-1, {_sV: _ic}), - (-1, {_sV: _rip}), - ), -) - -IPAM: StaticSchema = ( - 18, - n0, - _Ipa, - 0, - ( - _OIw, - _IIp, - _IApa, - _IR, - _PDSI, - _PDSIr, - _SCc, - _Des, - _ORp, - _St, - _Tag, - _DRDI, - _DRDAI, - _RDAC, - _SMta, - _Tie, - _EPG, - _MAe, - ), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (IPAM_ID, {_aQN: _IIp, _sN: _iIp}), - (RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), - (STRING, {_aQN: _IR, _sN: _iRp}), - (IPAM_SCOPE_ID, {_aQN: _PDSI, _sN: _pDSI}), - (IPAM_SCOPE_ID, {_aQN: _PDSIr, _sN: _pDSIr}), - (INTEGER, {_aQN: _SCc, _sN: _sCc}), - (STRING, {_aQN: _Des, _sN: _desc}), - (IPAM_OPERATING_REGION_SET, {_aQN: _ORS, _sN: _oRS}), - (IPAM_STATE, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _DRDI, _sN: _dRDI}), - (IPAM_RESOURCE_DISCOVERY_ASSOCIATION_ID, {_aQN: _DRDAI, _sN: _dRDAI}), - (INTEGER, {_aQN: _RDAC, _sN: _rDAC}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - (IPAM_TIER, {_aQN: _Tie, _sN: _tie}), - (BOOLEAN, {_aQN: _EPG, _sN: _ePG}), - (IPAM_METERED_ACCOUNT, {_aQN: _MAe, _sN: _mA}), - ), -) - -CREATE_IPAM_OUTPUT: StaticSchema = ( - 18, - n0, - _CIOre, - {_sSI: _cCIRomama, _smit: None}, - (_Ipa,), - ((IPAM, {_aQN: _Ipa, _sN: _ip}),), -) - -CREATE_IPAM: StaticOperationSchema = ( - 23, - n0, - _CIre, - 0, - CREATE_IPAM_INPUT, - CREATE_IPAM_OUTPUT, - (), -) - -CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _CIERVTI, - {_sSI: _cCIERVTR, _sm: None}, - (_DR, _IIp, _TSa, _CTl), - ((BOOLEAN, 0), (IPAM_ID, 1), (TAG_SPECIFICATION_LIST, {_sN: _TS}), (STRING, 2)), -) - -IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_ID: StaticSchema = (3, n0, _IERVTI, 0) - -IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_STATE: StaticSchema = ( - 14, - n0, - _IERVTS, - 0, - (_CIP, _CC_, _CF_, _DIP_, _DC__, _DF_), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - ), -) - -TOKEN_STATE: StaticSchema = ( - 14, - n0, - _TSo, - 0, - (_val, _ex), - ((-1, {_sV: _val}), (-1, {_sV: _ex})), -) - -IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN: StaticSchema = ( - 18, - n0, - _IERVT, - 0, - (_IERVTI, _IERVTA, _IIp, _IApa, _IR, _TV, _TN, _NA, _Sta, _Tag, _St), - ( - (IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_ID, {_aQN: _IERVTI, _sN: _iERVTI}), - (RESOURCE_ARN, {_aQN: _IERVTA, _sN: _iERVTA}), - (IPAM_ID, {_aQN: _IIp, _sN: _iIp}), - (RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), - (STRING, {_aQN: _IR, _sN: _iRp}), - (STRING, {_aQN: _TV, _sN: _tV}), - (STRING, {_aQN: _TN, _sN: _tN}), - (MILLISECOND_DATE_TIME, {_aQN: _NA, _sN: _nA}), - (TOKEN_STATE, {_aQN: _Sta, _sN: _sta}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_STATE, {_aQN: _St, _sN: _st}), - ), -) - -CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _CIERVTO, - {_sSI: _cCIERVTRo, _smit: None}, - (_IERVT,), - ((IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN, {_aQN: _IERVT, _sN: _iERVT}),), -) - -CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN: StaticOperationSchema = ( - 23, - n0, - _CIERVT, - 0, - CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT, - CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT, - (), -) - -RIR: StaticSchema = ( - 14, - n0, - _Ri, - 0, - (_ripe, _apn, _ari, _lac, _nic), - ( - (-1, {_sV: _ripe}), - (-1, {_sV: _apn}), - (-1, {_sV: _ari}), - (-1, {_sV: _lac}), - (-1, {_sV: _nic}), - ), -) - -CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _CIIRAI, - {_sSI: _cCIIRAR, _sm: None}, - (_DR, _IIp, _Ri, _OHr, _Des, _TSa, _CTl), - ( - (BOOLEAN, 0), - (IPAM_ID, 1), - (RIR, 1), - (STRING, 1), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - ), -) - -IPAM_INTERNET_REGISTRY_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _IIRAS, - 0, - ( - _pe_, - _cip, - _cf________________________, - _eip___, - _ec, - _ef__, - _dip___, - _dc___, - _df_____, - _dip_, - _dc_, - _df___, - ), - ( - (-1, {_sV: _pe__}), - (-1, {_sV: _cip_}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _eip____}), - (-1, {_sV: _ec_}), - (-1, {_sV: _ef___}), - (-1, {_sV: _dip____}), - (-1, {_sV: _dc____}), - (-1, {_sV: _df______}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - ), -) - -IPAM_INTERNET_REGISTRY_ASSOCIATION: StaticSchema = ( - 18, - n0, - _IIRA, - 0, - (_OIw, _IIRAI, _IIRAA, _IIp, _IR, _Ri, _OHr, _Des, _St, _SMta, _CRX, _Tag), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, {_aQN: _IIRAI, _sN: _iIRAI}), - (RESOURCE_ARN, {_aQN: _IIRAA, _sN: _iIRAA}), - (IPAM_ID, {_aQN: _IIp, _sN: _iIp}), - (STRING, {_aQN: _IR, _sN: _iRp}), - (RIR, {_aQN: _Ri, _sN: _rir}), - (STRING, {_aQN: _OHr, _sN: _oHr}), - (STRING, {_aQN: _Des, _sN: _desc}), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - (STRING, {_aQN: _CRX, _sN: _cRX}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CIIRAO, - {_sSI: _cCIIRARo, _smit: None}, - (_IIRA,), - ((IPAM_INTERNET_REGISTRY_ASSOCIATION, {_aQN: _IIRA, _sN: _iIRA}),), -) - -CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _CIIRA, - 0, - CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT, - CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT, - (), -) - -CREATE_IPAM_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _CIPI, - {_sSI: _cCIPR, _sm: None}, - (_DR, _TSa, _CTl, _IIp), - ((BOOLEAN, 0), (TAG_SPECIFICATION_LIST, {_sN: _TS}), (STRING, 2), (IPAM_ID, 1)), -) - -IPAM_POLICY_ID: StaticSchema = (3, n0, _IPIp, 0) - -IPAM_POLICY_STATE: StaticSchema = ( - 14, - n0, - _IPSp, - 0, - ( - _cip, - _cc_, - _cf________________________, - _mip__, - _mc, - _mf__________________________, - _dip_, - _dc_, - _df___, - _iip_, - _ic_, - _rip_, - ), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _mip___}), - (-1, {_sV: _mc_}), - (-1, {_sV: _mf___________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - (-1, {_sV: _iip}), - (-1, {_sV: _ic}), - (-1, {_sV: _rip}), - ), -) - -IPAM_POLICY: StaticSchema = ( - 18, - n0, - _IPpa, - 0, - (_OIw, _IPIp, _IPAp, _IPR, _St, _SMta, _Tag, _IIp), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (IPAM_POLICY_ID, {_aQN: _IPIp, _sN: _iPIp}), - (RESOURCE_ARN, {_aQN: _IPAp, _sN: _iPAp}), - (STRING, {_aQN: _IPR, _sN: _iPR}), - (IPAM_POLICY_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IPAM_ID, {_aQN: _IIp, _sN: _iIp}), - ), -) - -CREATE_IPAM_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _CIPO, - {_sSI: _cCIPRo, _smit: None}, - (_IPpa,), - ((IPAM_POLICY, {_aQN: _IPpa, _sN: _iPpa}),), -) - -CREATE_IPAM_POLICY: StaticOperationSchema = ( - 23, - n0, - _CIPr, - 0, - CREATE_IPAM_POLICY_INPUT, - CREATE_IPAM_POLICY_OUTPUT, - (), -) - -IPAM_NETMASK_LENGTH: StaticSchema = (7, n0, _INLpa, 0) - -REQUEST_IPAM_RESOURCE_TAG: StaticSchema = ( - 18, - n0, - _RIRT, - 0, - (_Ke, _Va), - ((STRING, 0), (STRING, 0)), -) - -REQUEST_IPAM_RESOURCE_TAG_LIST: StaticSchema = ( - 16, - n0, - _RIRTL, - 0, - (_me,), - ((REQUEST_IPAM_RESOURCE_TAG, {_sN: _i}),), -) - -IPAM_POOL_AWS_SERVICE: StaticSchema = ( - 14, - n0, - _IPAS, - 0, - (_ec__, _gs_), - ((-1, {_sV: _ec__}), (-1, {_sV: _gs__})), -) - -IPAM_POOL_PUBLIC_IP_SOURCE: StaticSchema = ( - 14, - n0, - _IPPIS, - 0, - (_ama, _b), - ((-1, {_sV: _ama}), (-1, {_sV: _b})), -) - -IPAM_POOL_SOURCE_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _IPSRT, - 0, - (_vp,), - ((-1, {_sV: _vp}),), -) - -IPAM_POOL_SOURCE_RESOURCE_REQUEST: StaticSchema = ( - 18, - n0, - _IPSRR, - 0, - (_RIe, _RT, _RR, _ROe), - ((STRING, 0), (IPAM_POOL_SOURCE_RESOURCE_TYPE, 0), (STRING, 0), (STRING, 0)), -) - -CREATE_IPAM_POOL_INPUT: StaticSchema = ( - 18, - n0, - _CIPIr, - {_sSI: _cCIPRom, _sm: None}, - ( - _DR, - _ISI, - _Loc, - _SIPI, - _Des, - _AF, - _AIu, - _PAu, - _AMNL, - _AMNLl, - _ADNL, - _ARTl, - _TSa, - _CTl, - _ASw, - _PIS, - _SRou, - ), - ( - (BOOLEAN, 0), - (IPAM_SCOPE_ID, 1), - (STRING, 0), - (IPAM_POOL_ID, 0), - (STRING, 0), - (ADDRESS_FAMILY, 1), - (BOOLEAN, 0), - (BOOLEAN, 0), - (IPAM_NETMASK_LENGTH, 0), - (IPAM_NETMASK_LENGTH, 0), - (IPAM_NETMASK_LENGTH, 0), - (REQUEST_IPAM_RESOURCE_TAG_LIST, {_sN: _ARTll}), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (IPAM_POOL_AWS_SERVICE, 0), - (IPAM_POOL_PUBLIC_IP_SOURCE, 0), - (IPAM_POOL_SOURCE_RESOURCE_REQUEST, 0), - ), -) - -IPAM_RESOURCE_TAG: StaticSchema = ( - 18, - n0, - _IRTp, - 0, - (_Ke, _Va), - ((STRING, {_aQN: _Ke, _sN: _ke}), (STRING, {_aQN: _Va, _sN: _va})), -) - -IPAM_RESOURCE_TAG_LIST: StaticSchema = ( - 16, - n0, - _IRTL, - 0, - (_me,), - ((IPAM_RESOURCE_TAG, {_sN: _i}),), -) - -IPAM_SCOPE_TYPE: StaticSchema = ( - 14, - n0, - _IST, - 0, - (_pu, _priv), - ((-1, {_sV: _pu}), (-1, {_sV: _priv})), -) - -IPAM_POOL_SOURCE_RESOURCE: StaticSchema = ( - 18, - n0, - _IPSR, - 0, - (_RIe, _RT, _RR, _ROe), - ( - (STRING, {_aQN: _RIe, _sN: _rI}), - (IPAM_POOL_SOURCE_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _RR, _sN: _rR}), - (STRING, {_aQN: _ROe, _sN: _rOe}), - ), -) - -IPAM_POOL_STATE: StaticSchema = ( - 14, - n0, - _IPSpa, - 0, - ( - _cip, - _cc_, - _cf________________________, - _mip__, - _mc, - _mf__________________________, - _dip_, - _dc_, - _df___, - _iip_, - _ic_, - _rip_, - ), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _mip___}), - (-1, {_sV: _mc_}), - (-1, {_sV: _mf___________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - (-1, {_sV: _iip}), - (-1, {_sV: _ic}), - (-1, {_sV: _rip}), - ), -) - -IPAM_POOL: StaticSchema = ( - 18, - n0, - _IPpam, - 0, - ( - _OIw, - _IPI, - _SIPI, - _IPApa, - _ISA, - _IST, - _IApa, - _IR, - _Loc, - _PD, - _St, - _SMta, - _Des, - _AIu, - _PAu, - _AF, - _AMNL, - _AMNLl, - _ADNL, - _ARTl, - _Tag, - _ASw, - _PIS, - _SRou, - ), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (IPAM_POOL_ID, {_aQN: _IPI, _sN: _iPI}), - (IPAM_POOL_ID, {_aQN: _SIPI, _sN: _sIPI}), - (RESOURCE_ARN, {_aQN: _IPApa, _sN: _iPApa}), - (RESOURCE_ARN, {_aQN: _ISA, _sN: _iSA}), - (IPAM_SCOPE_TYPE, {_aQN: _IST, _sN: _iST}), - (RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), - (STRING, {_aQN: _IR, _sN: _iRp}), - (STRING, {_aQN: _Loc, _sN: _loc}), - (INTEGER, {_aQN: _PD, _sN: _pD}), - (IPAM_POOL_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - (STRING, {_aQN: _Des, _sN: _desc}), - (BOOLEAN, {_aQN: _AIu, _sN: _aIu}), - (BOOLEAN, {_aQN: _PAu, _sN: _pAu}), - (ADDRESS_FAMILY, {_aQN: _AF, _sN: _aF}), - (IPAM_NETMASK_LENGTH, {_aQN: _AMNL, _sN: _aMNL}), - (IPAM_NETMASK_LENGTH, {_aQN: _AMNLl, _sN: _aMNLl}), - (IPAM_NETMASK_LENGTH, {_aQN: _ADNL, _sN: _aDNL}), - (IPAM_RESOURCE_TAG_LIST, {_aQN: _ARTS, _sN: _aRTS}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IPAM_POOL_AWS_SERVICE, {_aQN: _ASw, _sN: _aSw}), - (IPAM_POOL_PUBLIC_IP_SOURCE, {_aQN: _PIS, _sN: _pIS}), - (IPAM_POOL_SOURCE_RESOURCE, {_aQN: _SRou, _sN: _sR}), - ), -) - -CREATE_IPAM_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _CIPOr, - {_sSI: _cCIPRoma, _smit: None}, - (_IPpam,), - ((IPAM_POOL, {_aQN: _IPpam, _sN: _iPpam}),), -) - -CREATE_IPAM_POOL: StaticOperationSchema = ( - 23, - n0, - _CIPre, - 0, - CREATE_IPAM_POOL_INPUT, - CREATE_IPAM_POOL_OUTPUT, - (), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_OPERATION: StaticSchema = ( - 14, - n0, - _IPLRRCO, - 0, - (_eq, _ne, _so_), - ((-1, {_sV: _eq}), (-1, {_sV: _ne_}), (-1, {_sV: _so__})), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST: StaticSchema = ( - 18, - n0, - _IPLRRCR, - 0, - (_Ope, _IPI, _RIe, _ROe, _RR, _RTeso, _Ci), - ( - (IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_OPERATION, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (REQUEST_IPAM_RESOURCE_TAG, 0), - (STRING, 0), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST_SET: StaticSchema = ( - 16, - n0, - _IPLRRCRS, - 0, - (_me,), - ((IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST, {_sN: _Cond}),), -) - -IPAM_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _IRTpa, - 0, - (_vp, _su, _eip, _pip, _ip______, _eni, _ail), - ( - (-1, {_sV: _vp}), - (-1, {_sV: _su}), - (-1, {_sV: _eip}), - (-1, {_sV: _pip_}), - (-1, {_sV: _ip_______}), - (-1, {_sV: _eni}), - (-1, {_sV: _ail_}), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE_TYPE: StaticSchema = ( - 14, - n0, - _IPLRRT, - 0, - (_sc__, _irc, _ipc), - ((-1, {_sV: _sc___}), (-1, {_sV: _irc_}), (-1, {_sV: _ipc_})), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST: StaticSchema = ( - 18, - n0, - _IPLRRR, - 0, - (_RTu, _SCt, _ISI, _RT, _Condi), - ( - (IPAM_PREFIX_LIST_RESOLVER_RULE_TYPE, 1), - (STRING, 0), - (IPAM_SCOPE_ID, 0), - (IPAM_RESOURCE_TYPE, 0), - (IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST_SET, {_sN: _Cond}), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST_SET: StaticSchema = ( - 16, - n0, - _IPLRRRS, - 0, - (_me,), - ((IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST, {_sN: _Ru}),), -) - -CREATE_IPAM_PREFIX_LIST_RESOLVER_INPUT: StaticSchema = ( - 18, - n0, - _CIPLRI, - {_sSI: _cCIPLRR, _sm: None}, - (_DR, _IIp, _Des, _AF, _Rul, _TSa, _CTl), - ( - (BOOLEAN, 0), - (IPAM_ID, 1), - (STRING, 0), - (ADDRESS_FAMILY, 1), - (IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST_SET, {_sN: _Ru}), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_ID: StaticSchema = (3, n0, _IPLRI, 0) - -IPAM_PREFIX_LIST_RESOLVER_VERSION_CREATION_STATUS: StaticSchema = ( - 14, - n0, - _IPLRVCS, - 0, - (_p, _succe, _fail), - ((-1, {_sV: _p}), (-1, {_sV: _succe}), (-1, {_sV: _fail})), -) - -IPAM_PREFIX_LIST_RESOLVER_STATE: StaticSchema = ( - 14, - n0, - _IPLRS, - 0, - ( - _cip, - _cc_, - _cf________________________, - _mip__, - _mc, - _mf__________________________, - _dip_, - _dc_, - _df___, - _iip_, - _ic_, - _rip_, - ), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _mip___}), - (-1, {_sV: _mc_}), - (-1, {_sV: _mf___________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - (-1, {_sV: _iip}), - (-1, {_sV: _ic}), - (-1, {_sV: _rip}), - ), -) - -IPAM_PREFIX_LIST_RESOLVER: StaticSchema = ( - 18, - n0, - _IPLR, - 0, - (_OIw, _IPLRI, _IPLRA, _IApa, _IR, _Des, _AF, _St, _Tag, _LVCS, _LVCSM), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (IPAM_PREFIX_LIST_RESOLVER_ID, {_aQN: _IPLRI, _sN: _iPLRI}), - (RESOURCE_ARN, {_aQN: _IPLRA, _sN: _iPLRA}), - (RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), - (STRING, {_aQN: _IR, _sN: _iRp}), - (STRING, {_aQN: _Des, _sN: _desc}), - (ADDRESS_FAMILY, {_aQN: _AF, _sN: _aF}), - (IPAM_PREFIX_LIST_RESOLVER_STATE, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IPAM_PREFIX_LIST_RESOLVER_VERSION_CREATION_STATUS, {_aQN: _LVCS, _sN: _lVCS}), - (STRING, {_aQN: _LVCSM, _sN: _lVCSM}), - ), -) - -CREATE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT: StaticSchema = ( - 18, - n0, - _CIPLRO, - {_sSI: _cCIPLRRo, _smit: None}, - (_IPLR,), - ((IPAM_PREFIX_LIST_RESOLVER, {_aQN: _IPLR, _sN: _iPLR}),), -) - -CREATE_IPAM_PREFIX_LIST_RESOLVER: StaticOperationSchema = ( - 23, - n0, - _CIPLR, - 0, - CREATE_IPAM_PREFIX_LIST_RESOLVER_INPUT, - CREATE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT, - (), -) - -CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT: StaticSchema = ( - 18, - n0, - _CIPLRTI, - {_sSI: _cCIPLRTR, _sm: None}, - (_DR, _IPLRI, _PLI, _PLR, _DVe, _TLV, _TSa, _CTl), - ( - (BOOLEAN, 0), - (IPAM_PREFIX_LIST_RESOLVER_ID, 1), - (STRING, 1), - (STRING, 1), - (BOXED_LONG, 0), - (BOOLEAN, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_TARGET_ID: StaticSchema = (3, n0, _IPLRTI, 0) - -IPAM_PREFIX_LIST_RESOLVER_TARGET_STATE: StaticSchema = ( - 14, - n0, - _IPLRTS, - 0, - ( - _cip, - _cc_, - _cf________________________, - _mip__, - _mc, - _mf__________________________, - _sip, - _sc____, - _sf, - _dip_, - _dc_, - _df___, - _iip_, - _ic_, - _rip_, - ), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _mip___}), - (-1, {_sV: _mc_}), - (-1, {_sV: _mf___________________________}), - (-1, {_sV: _sip_}), - (-1, {_sV: _sc_____}), - (-1, {_sV: _sf_}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - (-1, {_sV: _iip}), - (-1, {_sV: _ic}), - (-1, {_sV: _rip}), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_TARGET: StaticSchema = ( - 18, - n0, - _IPLRT, - 0, - (_IPLRTI, _IPLRTA, _IPLRI, _OIw, _PLI, _PLR, _DVe, _LSV, _TLV, _SMta, _St, _Tag), - ( - (IPAM_PREFIX_LIST_RESOLVER_TARGET_ID, {_aQN: _IPLRTI, _sN: _iPLRTI}), - (RESOURCE_ARN, {_aQN: _IPLRTA, _sN: _iPLRTA}), - (IPAM_PREFIX_LIST_RESOLVER_ID, {_aQN: _IPLRI, _sN: _iPLRI}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), - (STRING, {_aQN: _PLR, _sN: _pLR}), - (BOXED_LONG, {_aQN: _DVe, _sN: _dVe}), - (BOXED_LONG, {_aQN: _LSV, _sN: _lSV}), - (BOOLEAN, {_aQN: _TLV, _sN: _tLV}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - (IPAM_PREFIX_LIST_RESOLVER_TARGET_STATE, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT: StaticSchema = ( - 18, - n0, - _CIPLRTO, - {_sSI: _cCIPLRTRo, _smit: None}, - (_IPLRT,), - ((IPAM_PREFIX_LIST_RESOLVER_TARGET, {_aQN: _IPLRT, _sN: _iPLRT}),), -) - -CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET: StaticOperationSchema = ( - 23, - n0, - _CIPLRT, - 0, - CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT, - CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT, - (), -) - -CREATE_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( - 18, - n0, - _CIRDI, - {_sSI: _cCIRDR, _sm: None}, - (_DR, _Des, _ORp, _TSa, _CTl), - ( - (BOOLEAN, 0), - (STRING, 0), - (ADD_IPAM_OPERATING_REGION_SET, {_sN: _ORpe}), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - ), -) - -IPAM_ORGANIZATIONAL_UNIT_EXCLUSION: StaticSchema = ( - 18, - n0, - _IOUE, - 0, - (_OEP,), - ((STRING, {_aQN: _OEP, _sN: _oEP}),), -) - -IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET: StaticSchema = ( - 16, - n0, - _IOUES, - 0, - (_me,), - ((IPAM_ORGANIZATIONAL_UNIT_EXCLUSION, {_sN: _i}),), -) - -IPAM_RESOURCE_DISCOVERY_STATE: StaticSchema = ( - 14, - n0, - _IRDS, - 0, - (_CIP, _CC_, _CF_, _MIP, _MC_, _MF, _DIP_, _DC__, _DF_, _IIP_, _IC_, _RIP), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _mip___}), - (-1, {_sV: _mc_}), - (-1, {_sV: _mf___________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - (-1, {_sV: _iip}), - (-1, {_sV: _ic}), - (-1, {_sV: _rip}), - ), -) - -IPAM_RESOURCE_DISCOVERY: StaticSchema = ( - 18, - n0, - _IRD, - 0, - (_OIw, _IRDI, _IRDAp, _IRDR, _Des, _ORp, _ID, _St, _Tag, _OUE), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), - (STRING, {_aQN: _IRDAp, _sN: _iRDAp}), - (STRING, {_aQN: _IRDR, _sN: _iRDR}), - (STRING, {_aQN: _Des, _sN: _desc}), - (IPAM_OPERATING_REGION_SET, {_aQN: _ORS, _sN: _oRS}), - (BOOLEAN, {_aQN: _ID, _sN: _iD}), - (IPAM_RESOURCE_DISCOVERY_STATE, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET, {_aQN: _OUES, _sN: _oUES}), - ), -) - -CREATE_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( - 18, - n0, - _CIRDO, - {_sSI: _cCIRDRo, _smit: None}, - (_IRD,), - ((IPAM_RESOURCE_DISCOVERY, {_aQN: _IRD, _sN: _iRD}),), -) - -CREATE_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( - 23, - n0, - _CIRD, - 0, - CREATE_IPAM_RESOURCE_DISCOVERY_INPUT, - CREATE_IPAM_RESOURCE_DISCOVERY_OUTPUT, - (), -) - -ASN_LIST: StaticSchema = (16, n0, _ALs, 0, (_me,), ((STRING, {_sN: _i}),)) - -IPAM_ROUTING_POLICY_REGISTRATION_MAX_LENGTH: StaticSchema = (7, n0, _IRPRML, 0) - -CREATE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT: StaticSchema = ( - 18, - n0, - _CIRPRI, - {_sSI: _cCIRPRR, _sm: None}, - (_DR, _IIRAI, _Ci, _Asns, _PMSA, _ML, _Des, _Fo, _CTl), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (STRING, 1), - (ASN_LIST, {_sN: _Asn, _smi: None}), - (BOXED_BOOLEAN, 0), - (IPAM_ROUTING_POLICY_REGISTRATION_MAX_LENGTH, 0), - (STRING, 0), - (BOXED_BOOLEAN, 0), - (STRING, 2), - ), -) - -CREATE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CIRPRO, - {_sSI: _cCIRPRRo, _smit: None}, - (_IRPRD,), - ((IPAM_ROUTING_POLICY_REGISTRATION_DELTA, {_aQN: _IRPRD, _sN: _iRPRD}),), -) - -CREATE_IPAM_ROUTING_POLICY_REGISTRATION: StaticOperationSchema = ( - 23, - n0, - _CIRPR, - 0, - CREATE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT, - CREATE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT, - (), -) - -IPAM_SCOPE_EXTERNAL_AUTHORITY_TYPE: StaticSchema = ( - 14, - n0, - _ISEAT, - 0, - (_info,), - ((-1, {_sV: _info}),), -) - -EXTERNAL_AUTHORITY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EAC, - 0, - (_Ty, _ERI), - ((IPAM_SCOPE_EXTERNAL_AUTHORITY_TYPE, 0), (STRING, 0)), -) - -CREATE_IPAM_SCOPE_INPUT: StaticSchema = ( - 18, - n0, - _CISI, - {_sSI: _cCISR, _sm: None}, - (_DR, _IIp, _Des, _TSa, _CTl, _EAC), - ( - (BOOLEAN, 0), - (IPAM_ID, 1), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (EXTERNAL_AUTHORITY_CONFIGURATION, 0), - ), -) - -IPAM_SCOPE_EXTERNAL_AUTHORITY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ISEAC, - 0, - (_Ty, _ERI), - ( - (IPAM_SCOPE_EXTERNAL_AUTHORITY_TYPE, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _ERI, _sN: _eRI}), - ), -) - -IPAM_SCOPE_STATE: StaticSchema = ( - 14, - n0, - _ISS, - 0, - ( - _cip, - _cc_, - _cf________________________, - _mip__, - _mc, - _mf__________________________, - _dip_, - _dc_, - _df___, - _iip_, - _ic_, - _rip_, - ), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _mip___}), - (-1, {_sV: _mc_}), - (-1, {_sV: _mf___________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - (-1, {_sV: _iip}), - (-1, {_sV: _ic}), - (-1, {_sV: _rip}), - ), -) - -IPAM_SCOPE: StaticSchema = ( - 18, - n0, - _ISpam, - 0, - (_OIw, _ISI, _ISA, _IApa, _IR, _IST, _ID, _Des, _PCoo, _St, _Tag, _EAC), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (IPAM_SCOPE_ID, {_aQN: _ISI, _sN: _iSI}), - (RESOURCE_ARN, {_aQN: _ISA, _sN: _iSA}), - (RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), - (STRING, {_aQN: _IR, _sN: _iRp}), - (IPAM_SCOPE_TYPE, {_aQN: _IST, _sN: _iST}), - (BOOLEAN, {_aQN: _ID, _sN: _iD}), - (STRING, {_aQN: _Des, _sN: _desc}), - (INTEGER, {_aQN: _PCoo, _sN: _pC}), - (IPAM_SCOPE_STATE, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IPAM_SCOPE_EXTERNAL_AUTHORITY_CONFIGURATION, {_aQN: _EAC, _sN: _eAC}), - ), -) - -CREATE_IPAM_SCOPE_OUTPUT: StaticSchema = ( - 18, - n0, - _CISO, - {_sSI: _cCISRo, _smit: None}, - (_ISpam,), - ((IPAM_SCOPE, {_aQN: _ISpam, _sN: _iSpa}),), -) - -CREATE_IPAM_SCOPE: StaticOperationSchema = ( - 23, - n0, - _CIS, - 0, - CREATE_IPAM_SCOPE_INPUT, - CREATE_IPAM_SCOPE_OUTPUT, - (), -) - -KEY_FORMAT: StaticSchema = ( - 14, - n0, - _KF, - 0, - (_pem, _ppk), - ((-1, {_sV: _pem}), (-1, {_sV: _ppk})), -) - -KEY_TYPE: StaticSchema = ( - 14, - n0, - _KT, - 0, - (_rsa, _ed), - ((-1, {_sV: _rsa}), (-1, {_sV: _ed})), -) - -CREATE_KEY_PAIR_INPUT: StaticSchema = ( - 18, - n0, - _CKPI, - {_sSI: _cCKPR, _sm: None}, - (_KN, _KT, _TSa, _KF, _DR), - ( - (STRING, 1), - (KEY_TYPE, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (KEY_FORMAT, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -CREATE_KEY_PAIR_OUTPUT: StaticSchema = ( - 18, - n0, - _CKPO, - {_sSI: _cKP, _smit: None}, - (_KPI, _Tag, _KN, _KFe, _KM), - ( - (STRING, {_aQN: _KPI, _sN: _kPI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _KN, _sN: _kN}), - (STRING, {_aQN: _KFe, _sN: _kF}), - (SENSITIVE_USER_DATA, {_aQN: _KM, _sN: _kM}), - ), -) - -CREATE_KEY_PAIR: StaticOperationSchema = ( - 23, - n0, - _CKP, - 0, - CREATE_KEY_PAIR_INPUT, - CREATE_KEY_PAIR_OUTPUT, - (), -) - -LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE_REQUEST: StaticSchema = ( - 18, - n0, - _LTEBDR, - 0, - (_En, _DOT, _Io, _KKI, _SIn, _VSol, _VT, _Th, _VIR, _ECI), - ( - (BOOLEAN, 0), - (BOOLEAN, 0), - (INTEGER, 0), - (KMS_KEY_ID, 0), - (SNAPSHOT_ID, 0), - (INTEGER, 0), - (VOLUME_TYPE, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - ), -) - -LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST: StaticSchema = ( - 18, - n0, - _LTBDMR, - 0, - (_DNe, _VN, _Eb, _ND), - ( - (STRING, 0), - (STRING, 0), - (LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE_REQUEST, 0), - (STRING, 0), - ), -) - -LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _LTBDMRL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST, {_sN: _BDM}),), -) - -CAPACITY_RESERVATION_PREFERENCE: StaticSchema = ( - 14, - n0, - _CRP, - 0, - (_cro_, _op, _no), - ((-1, {_sV: _cro__}), (-1, {_sV: _op}), (-1, {_sV: _no})), -) - -CAPACITY_RESERVATION_TARGET: StaticSchema = ( - 18, - n0, - _CRTap, - 0, - (_CRI, _CRRGAa), - ((CAPACITY_RESERVATION_ID, 0), (STRING, 0)), -) - -LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _LTCRSR, - 0, - (_CRP, _CRTap), - ((CAPACITY_RESERVATION_PREFERENCE, 0), (CAPACITY_RESERVATION_TARGET, 0)), -) - -AMD_SEV_SNP_SPECIFICATION: StaticSchema = ( - 14, - n0, - _ASSS, - 0, - (_ena, _d), - ((-1, {_sV: _ena}), (-1, {_sV: _d})), -) - -NESTED_VIRTUALIZATION_SPECIFICATION: StaticSchema = ( - 14, - n0, - _NVS, - 0, - (_ena, _d), - ((-1, {_sV: _ena}), (-1, {_sV: _d})), -) - -LAUNCH_TEMPLATE_CPU_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _LTCOR, - 0, - (_CCor, _TPC, _ASS, _NV), - ( - (INTEGER, 0), - (INTEGER, 0), - (AMD_SEV_SNP_SPECIFICATION, 0), - (NESTED_VIRTUALIZATION_SPECIFICATION, 0), - ), -) - -CREDIT_SPECIFICATION_REQUEST: StaticSchema = (18, n0, _CSR, 0, (_CCp,), ((STRING, 1),)) - -ELASTIC_GPU_SPECIFICATION: StaticSchema = (18, n0, _EGS, 0, (_Ty,), ((STRING, 1),)) - -ELASTIC_GPU_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _EGSL, - 0, - (_me,), - ((ELASTIC_GPU_SPECIFICATION, {_sN: _EGS}),), -) - -LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_COUNT: StaticSchema = (7, n0, _LTEIAC, 0) - -LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR: StaticSchema = ( - 18, - n0, - _LTEIA, - 0, - (_Ty, _Cou), - ((STRING, 1), (LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_COUNT, 0)), -) - -LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_LIST: StaticSchema = ( - 16, - n0, - _LTEIAL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_ENCLAVE_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _LTEOR, - 0, - (_Ena,), - ((BOOLEAN, 0),), -) - -LAUNCH_TEMPLATE_HIBERNATION_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _LTHOR, - 0, - (_Conf,), - ((BOOLEAN, 0),), -) - -LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _LTIIPSR, - 0, - (_Ar, _N), - ((STRING, 0), (STRING, 0)), -) - -SHUTDOWN_BEHAVIOR: StaticSchema = ( - 14, - n0, - _SBh, - 0, - (_stop, _term), - ((-1, {_sV: _stop}), (-1, {_sV: _term})), -) - -MARKET_TYPE: StaticSchema = ( - 14, - n0, - _MTar, - 0, - (_spo, _cb, _icr_, _od_), - ((-1, {_sV: _spo}), (-1, {_sV: _cb_}), (-1, {_sV: _icr}), (-1, {_sV: _od})), -) - -INSTANCE_INTERRUPTION_BEHAVIOR: StaticSchema = ( - 14, - n0, - _IIB, - 0, - (_hib, _stop, _term), - ((-1, {_sV: _hib}), (-1, {_sV: _stop}), (-1, {_sV: _term})), -) - -SPOT_INSTANCE_TYPE: StaticSchema = ( - 14, - n0, - _SITp, - 0, - (_ot, _per), - ((-1, {_sV: _ot_}), (-1, {_sV: _per})), -) - -LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _LTSMOR, - 0, - (_MP, _SITp, _BDMlo, _VU, _IIB), - ( - (STRING, 0), - (SPOT_INSTANCE_TYPE, 0), - (INTEGER, 0), - (DATE_TIME, 0), - (INSTANCE_INTERRUPTION_BEHAVIOR, 0), - ), -) - -LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _LTIMOR, - 0, - (_MTar, _SO), - ((MARKET_TYPE, 0), (LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS_REQUEST, 0)), -) - -KERNEL_ID: StaticSchema = (3, n0, _KI, 0) - -KEY_PAIR_NAME: StaticSchema = (3, n0, _KPN, 0) - -LAUNCH_TEMPLATE_LICENSE_CONFIGURATION_REQUEST: StaticSchema = ( - 18, - n0, - _LTLCR, - 0, - (_LCA,), - ((STRING, 0),), -) - -LAUNCH_TEMPLATE_LICENSE_SPECIFICATION_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _LTLSLR, - 0, - (_me,), - ((LAUNCH_TEMPLATE_LICENSE_CONFIGURATION_REQUEST, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_AUTO_RECOVERY_STATE: StaticSchema = ( - 14, - n0, - _LTARS, - 0, - (_def, _d), - ((-1, {_sV: _def}), (-1, {_sV: _d})), -) - -LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _LTIMORa, - 0, - (_ARu,), - ((LAUNCH_TEMPLATE_AUTO_RECOVERY_STATE, 0),), -) - -LAUNCH_TEMPLATE_INSTANCE_METADATA_ENDPOINT_STATE: StaticSchema = ( - 14, - n0, - _LTIMES, - 0, - (_d, _ena), - ((-1, {_sV: _d}), (-1, {_sV: _ena})), -) - -LAUNCH_TEMPLATE_INSTANCE_METADATA_PROTOCOL_IPV6: StaticSchema = ( - 14, - n0, - _LTIMPI, - 0, - (_d, _ena), - ((-1, {_sV: _d}), (-1, {_sV: _ena})), -) - -LAUNCH_TEMPLATE_HTTP_TOKENS_STATE: StaticSchema = ( - 14, - n0, - _LTHTS, - 0, - (_opt, _requ), - ((-1, {_sV: _opt}), (-1, {_sV: _requ})), -) - -LAUNCH_TEMPLATE_INSTANCE_METADATA_TAGS_STATE: StaticSchema = ( - 14, - n0, - _LTIMTS, - 0, - (_d, _ena), - ((-1, {_sV: _d}), (-1, {_sV: _ena})), -) - -LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _LTIMORau, - 0, - (_HTt, _HPRHL, _HE, _HPI, _IMT), - ( - (LAUNCH_TEMPLATE_HTTP_TOKENS_STATE, 0), - (INTEGER, 0), - (LAUNCH_TEMPLATE_INSTANCE_METADATA_ENDPOINT_STATE, 0), - (LAUNCH_TEMPLATE_INSTANCE_METADATA_PROTOCOL_IPV6, 0), - (LAUNCH_TEMPLATE_INSTANCE_METADATA_TAGS_STATE, 0), - ), -) - -LAUNCH_TEMPLATES_MONITORING_REQUEST: StaticSchema = ( - 18, - n0, - _LTMR, - 0, - (_Ena,), - ((BOOLEAN, 0),), -) - -CONNECTION_TRACKING_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _CTSR, - 0, - (_TET, _UST, _UTd), - ((INTEGER, 0), (INTEGER, 0), (INTEGER, 0)), -) - -ENA_SRD_UDP_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _ESUSR, - 0, - (_ESUE,), - ((BOOLEAN, 0),), -) - -ENA_SRD_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _ESSR, - 0, - (_ESE, _ESUS), - ((BOOLEAN, 0), (ENA_SRD_UDP_SPECIFICATION_REQUEST, 0)), -) - -SECURITY_GROUP_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _SGISL, - 0, - (_me,), - ((SECURITY_GROUP_ID, {_sN: _SGI}),), -) - -IPV4_PREFIX_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _IPSRp, - 0, - (_IPpvre,), - ((STRING, 0),), -) - -IPV4_PREFIX_LIST: StaticSchema = ( - 16, - n0, - _IPLpv, - 0, - (_me,), - ((IPV4_PREFIX_SPECIFICATION_REQUEST, {_sN: _i}),), -) - -INSTANCE_IPV6_ADDRESS_REQUEST: StaticSchema = ( - 18, - n0, - _IIAR, - 0, - (_IApv,), - ((STRING, 0),), -) - -INSTANCE_IPV6_ADDRESS_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _IIALR, - 0, - (_me,), - ((INSTANCE_IPV6_ADDRESS_REQUEST, {_sN: _IIA}),), -) - -IPV6_PREFIX_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _IPSRpv, - 0, - (_IPpv,), - ((STRING, 0),), -) - -IPV6_PREFIX_LIST: StaticSchema = ( - 16, - n0, - _IPLpvr, - 0, - (_me,), - ((IPV6_PREFIX_SPECIFICATION_REQUEST, {_sN: _i}),), -) - -PRIVATE_IP_ADDRESS_SPECIFICATION: StaticSchema = ( - 18, - n0, - _PIAS, - 0, - (_Prim, _PIAr), - ((BOOLEAN, {_aQN: _Prim, _sN: _prim}), (STRING, {_aQN: _PIAr, _sN: _pIAr})), -) - -PRIVATE_IP_ADDRESS_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _PIASLr, - 0, - (_me,), - ((PRIVATE_IP_ADDRESS_SPECIFICATION, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _LTINISR, - 0, - ( - _ACIA, - _APIAsso, - _DOT, - _Des, - _DI, - _G, - _ITnte, - _IAC, - _IAp, - _NII, - _PIAr, - _PIAri, - _SPIAC, - _SIu, - _NCI, - _IPpvr, - _IPCp, - _IPp, - _IPC, - _PIrim, - _ESS, - _CTSo, - _EQC, - ), - ( - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (INTEGER, 0), - (SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), - (STRING, 0), - (INTEGER, 0), - (INSTANCE_IPV6_ADDRESS_LIST_REQUEST, 0), - (NETWORK_INTERFACE_ID, 0), - (STRING, 0), - (PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, 0), - (INTEGER, 0), - (SUBNET_ID, 0), - (INTEGER, 0), - (IPV4_PREFIX_LIST, {_sN: _IPpvre}), - (INTEGER, 0), - (IPV6_PREFIX_LIST, {_sN: _IPpv}), - (INTEGER, 0), - (BOOLEAN, 0), - (ENA_SRD_SPECIFICATION_REQUEST, 0), - (CONNECTION_TRACKING_SPECIFICATION_REQUEST, 0), - (INTEGER, 0), - ), -) - -LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _LTINISRL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST, {_sN: _INIS}),), -) - -INSTANCE_BANDWIDTH_WEIGHTING: StaticSchema = ( - 14, - n0, - _IBW, - 0, - (_DEFAULT, _V_, _E_), - ((-1, {_sV: _def}), (-1, {_sV: _v_____}), (-1, {_sV: _e_})), -) - -LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _LTNPOR, - 0, - (_BW,), - ((INSTANCE_BANDWIDTH_WEIGHTING, 0),), -) - -OPERATOR_REQUEST: StaticSchema = (18, n0, _ORper, 0, (_Pri,), ((STRING, 0),)) - -LAUNCH_TEMPLATE_PLACEMENT_REQUEST: StaticSchema = ( - 18, - n0, - _LTPR, - 0, - (_AZ, _AZI, _Af, _GN, _HIo, _Ten, _SDp, _HRGA, _PNa, _GIr), - ( - (STRING, 0), - (AVAILABILITY_ZONE_ID, 0), - (STRING, 0), - (PLACEMENT_GROUP_NAME, 0), - (DEDICATED_HOST_ID, 0), - (TENANCY, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (PLACEMENT_GROUP_ID, 0), - ), -) - -LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _LTPDNOR, - 0, - (_HT, _ERNDAR, _ERNDAAAAR), - ((HOSTNAME_TYPE, 0), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -RAMDISK_ID: StaticSchema = (3, n0, _RIa, 0) - -SECONDARY_INTERFACE_TYPE: StaticSchema = ( - 14, - n0, - _SITe, - 0, - (_SECONDARY,), - ((-1, {_sV: _sec}),), -) - -SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _SIPIASR, - 0, - (_PIAr,), - ((STRING, 0),), -) - -SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _SIPIASLR, - 0, - (_me,), - ((SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_REQUEST, {_sN: _SIPIAS}),), -) - -SECONDARY_SUBNET_ID: StaticSchema = (3, n0, _SSIe, 0) - -LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _LTISISR, - 0, - (_DOT, _DI, _PIAri, _PIAC, _SSIe, _ITnte, _NCI), - ( - (BOOLEAN, 0), - (INTEGER, 0), - ( - SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST_REQUEST, - {_sN: _PIAr}, - ), - (INTEGER, 0), - (SECONDARY_SUBNET_ID, 0), - (SECONDARY_INTERFACE_TYPE, 0), - (INTEGER, 0), - ), -) - -LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _LTISISRL, - 0, - (_me,), - ( - ( - LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST, - {_sN: _ISIS}, - ), - ), -) - -SECURITY_GROUP_STRING_LIST: StaticSchema = ( - 16, - n0, - _SGSL, - 0, - (_me,), - ((SECURITY_GROUP_NAME, {_sN: _SG}),), -) - -LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _LTTSR, - 0, - (_RT, _Tag), - ((RESOURCE_TYPE, 0), (TAG_LIST, {_sN: _Ta})), -) - -LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _LTTSRL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST, {_sN: _LTTSR}),), -) - -REQUEST_LAUNCH_TEMPLATE_DATA: StaticSchema = ( - 18, - n0, - _RLTD, - 0, - ( - _KI, - _EO, - _IIP, - _BDMl, - _NIe, - _IIm, - _IT, - _KN, - _Mon, - _Pl, - _RDI, - _DAT, - _IISB, - _UDs, - _TSa, - _EGSl, - _EIA, - _SGIe, - _SGe, - _IMO, - _CSr, - _CO, - _CRSa, - _LSic, - _HO, - _MO, - _EOn, - _IRn, - _PDNO, - _MOa, - _DASi, - _Op, - _NPO, - _SIec, - ), - ( - (KERNEL_ID, 0), - (BOOLEAN, 0), - (LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST, 0), - (LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST_LIST, {_sN: _BDM}), - ( - LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST_LIST, - {_sN: _NI}, - ), - (IMAGE_ID, 0), - (INSTANCE_TYPE, 0), - (KEY_PAIR_NAME, 0), - (LAUNCH_TEMPLATES_MONITORING_REQUEST, 0), - (LAUNCH_TEMPLATE_PLACEMENT_REQUEST, 0), - (RAMDISK_ID, 0), - (BOOLEAN, 0), - (SHUTDOWN_BEHAVIOR, 0), - (SENSITIVE_USER_DATA, 0), - (LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST_LIST, {_sN: _TS}), - (ELASTIC_GPU_SPECIFICATION_LIST, {_sN: _EGS}), - (LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_LIST, {_sN: _EIAl}), - (SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), - (SECURITY_GROUP_STRING_LIST, {_sN: _SG}), - (LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS_REQUEST, 0), - (CREDIT_SPECIFICATION_REQUEST, 0), - (LAUNCH_TEMPLATE_CPU_OPTIONS_REQUEST, 0), - (LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_REQUEST, 0), - (LAUNCH_TEMPLATE_LICENSE_SPECIFICATION_LIST_REQUEST, {_sN: _LSice}), - (LAUNCH_TEMPLATE_HIBERNATION_OPTIONS_REQUEST, 0), - (LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_REQUEST, 0), - (LAUNCH_TEMPLATE_ENCLAVE_OPTIONS_REQUEST, 0), - (INSTANCE_REQUIREMENTS_REQUEST, 0), - (LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS_REQUEST, 0), - (LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS_REQUEST, 0), - (BOOLEAN, 0), - (OPERATOR_REQUEST, 0), - (LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS_REQUEST, 0), - ( - LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST_LIST, - {_sN: _SIeco}, - ), - ), -) - -VERSION_DESCRIPTION: StaticSchema = (3, n0, _VD, 0) - -CREATE_LAUNCH_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _CLTI, - {_sSI: _cCLTR, _sm: None}, - (_DR, _CTl, _LTN, _VD, _LTD, _Op, _TSa), - ( - (BOOLEAN, 0), - (STRING, 2), - (STRING, 1), - (VERSION_DESCRIPTION, 0), - (REQUEST_LAUNCH_TEMPLATE_DATA, 1), - (OPERATOR_REQUEST, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -LAUNCH_TEMPLATE: StaticSchema = ( - 18, - n0, - _LT, - 0, - (_LTI, _LTN, _CTr, _CBr, _DVN, _LVN, _Tag, _Op), - ( - (STRING, {_aQN: _LTI, _sN: _lTI}), - (LAUNCH_TEMPLATE_NAME, {_aQN: _LTN, _sN: _lTN}), - (DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (STRING, {_aQN: _CBr, _sN: _cBr}), - (LONG, {_aQN: _DVN, _sN: _dVN}), - (LONG, {_aQN: _LVN, _sN: _lVN}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - ), -) - -VALIDATION_ERROR: StaticSchema = ( - 18, - n0, - _VEa, - 0, - (_C, _Me), - ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -ERROR_SET: StaticSchema = (16, n0, _ESr, 0, (_me,), ((VALIDATION_ERROR, {_sN: _i}),)) - -VALIDATION_WARNING: StaticSchema = ( - 18, - n0, - _VW, - 0, - (_Er,), - ((ERROR_SET, {_aQN: _ESr, _sN: _eSr}),), -) - -CREATE_LAUNCH_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _CLTO, - {_sSI: _cCLTRo, _smit: None}, - (_LT, _Wa), - ( - (LAUNCH_TEMPLATE, {_aQN: _LT, _sN: _lT}), - (VALIDATION_WARNING, {_aQN: _Wa, _sN: _wa}), - ), -) - -CREATE_LAUNCH_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _CLT, - 0, - CREATE_LAUNCH_TEMPLATE_INPUT, - CREATE_LAUNCH_TEMPLATE_OUTPUT, - (), -) - -CREATE_LAUNCH_TEMPLATE_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CLTVI, - {_sSI: _cCLTVR, _sm: None}, - (_DR, _CTl, _LTI, _LTN, _SVo, _VD, _LTD, _RAes), - ( - (BOOLEAN, 0), - (STRING, 2), - (LAUNCH_TEMPLATE_ID, 0), - (LAUNCH_TEMPLATE_NAME, 0), - (STRING, 0), - (VERSION_DESCRIPTION, 0), - (REQUEST_LAUNCH_TEMPLATE_DATA, 1), - (BOOLEAN, 0), - ), -) - -LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE: StaticSchema = ( - 18, - n0, - _LTEBD, - 0, - (_En, _DOT, _Io, _KKI, _SIn, _VSol, _VT, _Th, _VIR, _ECI), - ( - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (INTEGER, {_aQN: _Io, _sN: _iop}), - (KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), - (SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), - (INTEGER, {_aQN: _VSol, _sN: _vSo}), - (VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), - (INTEGER, {_aQN: _Th, _sN: _thr}), - (INTEGER, {_aQN: _VIR, _sN: _vIR}), - (INTEGER, {_aQN: _ECI, _sN: _eCI}), - ), -) - -LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING: StaticSchema = ( - 18, - n0, - _LTBDM, - 0, - (_DNe, _VN, _Eb, _ND), - ( - (STRING, {_aQN: _DNe, _sN: _dNe}), - (STRING, {_aQN: _VN, _sN: _vN}), - (LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE, {_aQN: _Eb, _sN: _eb}), - (STRING, {_aQN: _ND, _sN: _nD}), - ), -) - -LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_LIST: StaticSchema = ( - 16, - n0, - _LTBDML, - 0, - (_me,), - ((LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING, {_sN: _i}),), -) - -CAPACITY_RESERVATION_TARGET_RESPONSE: StaticSchema = ( - 18, - n0, - _CRTR, - 0, - (_CRI, _CRRGAa), - ((STRING, {_aQN: _CRI, _sN: _cRI}), (STRING, {_aQN: _CRRGAa, _sN: _cRRGA})), -) - -LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_RESPONSE: StaticSchema = ( - 18, - n0, - _LTCRSRa, - 0, - (_CRP, _CRTap), - ( - (CAPACITY_RESERVATION_PREFERENCE, {_aQN: _CRP, _sN: _cRP}), - (CAPACITY_RESERVATION_TARGET_RESPONSE, {_aQN: _CRTap, _sN: _cRT}), - ), -) - -LAUNCH_TEMPLATE_CPU_OPTIONS: StaticSchema = ( - 18, - n0, - _LTCO, - 0, - (_CCor, _TPC, _ASS, _NV), - ( - (INTEGER, {_aQN: _CCor, _sN: _cCor}), - (INTEGER, {_aQN: _TPC, _sN: _tPC}), - (AMD_SEV_SNP_SPECIFICATION, {_aQN: _ASS, _sN: _aSS}), - (NESTED_VIRTUALIZATION_SPECIFICATION, {_aQN: _NV, _sN: _nV}), - ), -) - -CREDIT_SPECIFICATION: StaticSchema = ( - 18, - n0, - _CSr, - 0, - (_CCp,), - ((STRING, {_aQN: _CCp, _sN: _cCp}),), -) - -ELASTIC_GPU_SPECIFICATION_RESPONSE: StaticSchema = ( - 18, - n0, - _EGSR, - 0, - (_Ty,), - ((STRING, {_aQN: _Ty, _sN: _ty}),), -) - -ELASTIC_GPU_SPECIFICATION_RESPONSE_LIST: StaticSchema = ( - 16, - n0, - _EGSRL, - 0, - (_me,), - ((ELASTIC_GPU_SPECIFICATION_RESPONSE, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE: StaticSchema = ( - 18, - n0, - _LTEIAR, - 0, - (_Ty, _Cou), - ((STRING, {_aQN: _Ty, _sN: _ty}), (INTEGER, {_aQN: _Cou, _sN: _cou})), -) - -LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE_LIST: StaticSchema = ( - 16, - n0, - _LTEIARL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_ENCLAVE_OPTIONS: StaticSchema = ( - 18, - n0, - _LTEO, - 0, - (_Ena,), - ((BOOLEAN, {_aQN: _Ena, _sN: _ena}),), -) - -LAUNCH_TEMPLATE_HIBERNATION_OPTIONS: StaticSchema = ( - 18, - n0, - _LTHO, - 0, - (_Conf,), - ((BOOLEAN, {_aQN: _Conf, _sN: _conf}),), -) - -LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _LTIIPS, - 0, - (_Ar, _N), - ((STRING, {_aQN: _Ar, _sN: _ar}), (STRING, {_aQN: _N, _sN: _nam})), -) - -LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS: StaticSchema = ( - 18, - n0, - _LTSMO, - 0, - (_MP, _SITp, _BDMlo, _VU, _IIB), - ( - (STRING, {_aQN: _MP, _sN: _mP}), - (SPOT_INSTANCE_TYPE, {_aQN: _SITp, _sN: _sIT}), - (INTEGER, {_aQN: _BDMlo, _sN: _bDMl}), - (DATE_TIME, {_aQN: _VU, _sN: _vU}), - (INSTANCE_INTERRUPTION_BEHAVIOR, {_aQN: _IIB, _sN: _iIB}), - ), -) - -LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS: StaticSchema = ( - 18, - n0, - _LTIMO, - 0, - (_MTar, _SO), - ( - (MARKET_TYPE, {_aQN: _MTar, _sN: _mTa}), - (LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS, {_aQN: _SO, _sN: _sO}), - ), -) - -LAUNCH_TEMPLATE_LICENSE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LTLC, - 0, - (_LCA,), - ((STRING, {_aQN: _LCA, _sN: _lCA}),), -) - -LAUNCH_TEMPLATE_LICENSE_LIST: StaticSchema = ( - 16, - n0, - _LTLL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_LICENSE_CONFIGURATION, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS: StaticSchema = ( - 18, - n0, - _LTIMOa, - 0, - (_ARu,), - ((LAUNCH_TEMPLATE_AUTO_RECOVERY_STATE, {_aQN: _ARu, _sN: _aRu}),), -) - -LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_STATE: StaticSchema = ( - 14, - n0, - _LTIMOS, - 0, - (_p, _ap), - ((-1, {_sV: _p}), (-1, {_sV: _ap})), -) - -LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS: StaticSchema = ( - 18, - n0, - _LTIMOau, - 0, - (_St, _HTt, _HPRHL, _HE, _HPI, _IMT), - ( - (LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_STATE, {_aQN: _St, _sN: _st}), - (LAUNCH_TEMPLATE_HTTP_TOKENS_STATE, {_aQN: _HTt, _sN: _hTt}), - (INTEGER, {_aQN: _HPRHL, _sN: _hPRHL}), - (LAUNCH_TEMPLATE_INSTANCE_METADATA_ENDPOINT_STATE, {_aQN: _HE, _sN: _hE}), - (LAUNCH_TEMPLATE_INSTANCE_METADATA_PROTOCOL_IPV6, {_aQN: _HPI, _sN: _hPI}), - (LAUNCH_TEMPLATE_INSTANCE_METADATA_TAGS_STATE, {_aQN: _IMT, _sN: _iMT}), - ), -) - -LAUNCH_TEMPLATES_MONITORING: StaticSchema = ( - 18, - n0, - _LTM, - 0, - (_Ena,), - ((BOOLEAN, {_aQN: _Ena, _sN: _ena}),), -) - -CONNECTION_TRACKING_SPECIFICATION: StaticSchema = ( - 18, - n0, - _CTSo, - 0, - (_TET, _UTd, _UST), - ( - (INTEGER, {_aQN: _TET, _sN: _tET}), - (INTEGER, {_aQN: _UTd, _sN: _uTd}), - (INTEGER, {_aQN: _UST, _sN: _uST}), - ), -) - -LAUNCH_TEMPLATE_ENA_SRD_UDP_SPECIFICATION: StaticSchema = ( - 18, - n0, - _LTESUS, - 0, - (_ESUE,), - ((BOOLEAN, {_aQN: _ESUE, _sN: _eSUE}),), -) - -LAUNCH_TEMPLATE_ENA_SRD_SPECIFICATION: StaticSchema = ( - 18, - n0, - _LTESS, - 0, - (_ESE, _ESUS), - ( - (BOOLEAN, {_aQN: _ESE, _sN: _eSE}), - (LAUNCH_TEMPLATE_ENA_SRD_UDP_SPECIFICATION, {_aQN: _ESUS, _sN: _eSUS}), - ), -) - -IPV4_PREFIX_SPECIFICATION_RESPONSE: StaticSchema = ( - 18, - n0, - _IPSRpvr, - 0, - (_IPpvre,), - ((STRING, {_aQN: _IPpvre, _sN: _iPp}),), -) - -IPV4_PREFIX_LIST_RESPONSE: StaticSchema = ( - 16, - n0, - _IPLRp, - 0, - (_me,), - ((IPV4_PREFIX_SPECIFICATION_RESPONSE, {_sN: _i}),), -) - -INSTANCE_IPV6_ADDRESS: StaticSchema = ( - 18, - n0, - _IIA, - 0, - (_IApv, _IPIs), - ((STRING, {_aQN: _IApv, _sN: _iApv}), (BOOLEAN, {_aQN: _IPIs, _sN: _iPIs})), -) - -INSTANCE_IPV6_ADDRESS_LIST: StaticSchema = ( - 16, - n0, - _IIAL, - 0, - (_me,), - ((INSTANCE_IPV6_ADDRESS, {_sN: _i}),), -) - -IPV6_PREFIX_SPECIFICATION_RESPONSE: StaticSchema = ( - 18, - n0, - _IPSRpvre, - 0, - (_IPpv,), - ((STRING, {_aQN: _IPpv, _sN: _iPpvr}),), -) - -IPV6_PREFIX_LIST_RESPONSE: StaticSchema = ( - 16, - n0, - _IPLRpv, - 0, - (_me,), - ((IPV6_PREFIX_SPECIFICATION_RESPONSE, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _LTINIS, - 0, - ( - _ACIA, - _APIAsso, - _DOT, - _Des, - _DI, - _G, - _ITnte, - _IAC, - _IAp, - _NII, - _PIAr, - _PIAri, - _SPIAC, - _SIu, - _NCI, - _IPpvr, - _IPCp, - _IPp, - _IPC, - _PIrim, - _ESS, - _CTSo, - _EQC, - ), - ( - (BOOLEAN, {_aQN: _ACIA, _sN: _aCIA}), - (BOOLEAN, {_aQN: _APIAsso, _sN: _aPIA}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (STRING, {_aQN: _Des, _sN: _desc}), - (INTEGER, {_aQN: _DI, _sN: _dI}), - (GROUP_ID_STRING_LIST, {_aQN: _GS, _sN: _gS}), - (STRING, {_aQN: _ITnte, _sN: _iTnt}), - (INTEGER, {_aQN: _IAC, _sN: _iAC}), - (INSTANCE_IPV6_ADDRESS_LIST, {_aQN: _IAS, _sN: _iAS}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - (PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, {_aQN: _PIASr, _sN: _pIAS}), - (INTEGER, {_aQN: _SPIAC, _sN: _sPIAC}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (INTEGER, {_aQN: _NCI, _sN: _nCI}), - (IPV4_PREFIX_LIST_RESPONSE, {_aQN: _IPSpv, _sN: _iPS}), - (INTEGER, {_aQN: _IPCp, _sN: _iPC}), - (IPV6_PREFIX_LIST_RESPONSE, {_aQN: _IPSpvr, _sN: _iPSp}), - (INTEGER, {_aQN: _IPC, _sN: _iPCp}), - (BOOLEAN, {_aQN: _PIrim, _sN: _pIri}), - (LAUNCH_TEMPLATE_ENA_SRD_SPECIFICATION, {_aQN: _ESS, _sN: _eSS}), - (CONNECTION_TRACKING_SPECIFICATION, {_aQN: _CTSo, _sN: _cTSo}), - (INTEGER, {_aQN: _EQC, _sN: _eQC}), - ), -) - -LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _LTINISL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS: StaticSchema = ( - 18, - n0, - _LTNPO, - 0, - (_BW,), - ((INSTANCE_BANDWIDTH_WEIGHTING, {_aQN: _BW, _sN: _bW}),), -) - -LAUNCH_TEMPLATE_PLACEMENT: StaticSchema = ( - 18, - n0, - _LTP, - 0, - (_AZ, _AZI, _Af, _GN, _HIo, _Ten, _SDp, _HRGA, _PNa, _GIr), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _Af, _sN: _aff}), - (STRING, {_aQN: _GN, _sN: _gN}), - (STRING, {_aQN: _HIo, _sN: _hI}), - (TENANCY, {_aQN: _Ten, _sN: _ten}), - (STRING, {_aQN: _SDp, _sN: _sDp}), - (STRING, {_aQN: _HRGA, _sN: _hRGA}), - (INTEGER, {_aQN: _PNa, _sN: _pN}), - (PLACEMENT_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), - ), -) - -LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS: StaticSchema = ( - 18, - n0, - _LTPDNO, - 0, - (_HT, _ERNDAR, _ERNDAAAAR), - ( - (HOSTNAME_TYPE, {_aQN: _HT, _sN: _hT}), - (BOOLEAN, {_aQN: _ERNDAR, _sN: _eRNDAR}), - (BOOLEAN, {_aQN: _ERNDAAAAR, _sN: _eRNDAAAAR}), - ), -) - -SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION: StaticSchema = ( - 18, - n0, - _SIPIAS, - 0, - (_PIAr,), - ((STRING, {_aQN: _PIAr, _sN: _pIAr}),), -) - -SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _SIPIASL, - 0, - (_me,), - ((SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _LTISIS, - 0, - (_DOT, _DI, _PIAri, _PIAC, _SSIe, _ITnte, _NCI), - ( - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (INTEGER, {_aQN: _DI, _sN: _dI}), - ( - SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, - {_aQN: _PIASr, _sN: _pIAS}, - ), - (INTEGER, {_aQN: _PIAC, _sN: _pIAC}), - (SECONDARY_SUBNET_ID, {_aQN: _SSIe, _sN: _sSIe}), - (SECONDARY_INTERFACE_TYPE, {_aQN: _ITnte, _sN: _iTnt}), - (INTEGER, {_aQN: _NCI, _sN: _nCI}), - ), -) - -LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _LTISISL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_TAG_SPECIFICATION: StaticSchema = ( - 18, - n0, - _LTTS, - 0, - (_RT, _Tag), - ((RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), (TAG_LIST, {_aQN: _TSag, _sN: _tS})), -) - -LAUNCH_TEMPLATE_TAG_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _LTTSL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_TAG_SPECIFICATION, {_sN: _i}),), -) - -RESPONSE_LAUNCH_TEMPLATE_DATA: StaticSchema = ( - 18, - n0, - _RLTDe, - 0, - ( - _KI, - _EO, - _IIP, - _BDMl, - _NIe, - _IIm, - _IT, - _KN, - _Mon, - _Pl, - _RDI, - _DAT, - _IISB, - _UDs, - _TSa, - _EGSl, - _EIA, - _SGIe, - _SGe, - _IMO, - _CSr, - _CO, - _CRSa, - _LSic, - _HO, - _MO, - _EOn, - _IRn, - _PDNO, - _MOa, - _DASi, - _Op, - _NPO, - _SIec, - ), - ( - (STRING, {_aQN: _KI, _sN: _kI}), - (BOOLEAN, {_aQN: _EO, _sN: _eO}), - (LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION, {_aQN: _IIP, _sN: _iIP}), - (LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDMS, _sN: _bDMS}), - ( - LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST, - {_aQN: _NIS, _sN: _nIS}, - ), - (STRING, {_aQN: _IIm, _sN: _iIm}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _KN, _sN: _kN}), - (LAUNCH_TEMPLATES_MONITORING, {_aQN: _Mon, _sN: _monit}), - (LAUNCH_TEMPLATE_PLACEMENT, {_aQN: _Pl, _sN: _pla}), - (STRING, {_aQN: _RDI, _sN: _rDI}), - (BOOLEAN, {_aQN: _DAT, _sN: _dAT}), - (SHUTDOWN_BEHAVIOR, {_aQN: _IISB, _sN: _iISB}), - (SENSITIVE_USER_DATA, {_aQN: _UDs, _sN: _uDs}), - (LAUNCH_TEMPLATE_TAG_SPECIFICATION_LIST, {_aQN: _TSS, _sN: _tSS}), - (ELASTIC_GPU_SPECIFICATION_RESPONSE_LIST, {_aQN: _EGSS, _sN: _eGSS}), - ( - LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE_LIST, - {_aQN: _EIAS, _sN: _eIAS}, - ), - (VALUE_STRING_LIST, {_aQN: _SGIS, _sN: _sGIS}), - (VALUE_STRING_LIST, {_aQN: _SGS, _sN: _sGS}), - (LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS, {_aQN: _IMO, _sN: _iMO}), - (CREDIT_SPECIFICATION, {_aQN: _CSr, _sN: _cSr}), - (LAUNCH_TEMPLATE_CPU_OPTIONS, {_aQN: _CO, _sN: _cOp}), - ( - LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_RESPONSE, - {_aQN: _CRSa, _sN: _cRS}, - ), - (LAUNCH_TEMPLATE_LICENSE_LIST, {_aQN: _LSicen, _sN: _lSi}), - (LAUNCH_TEMPLATE_HIBERNATION_OPTIONS, {_aQN: _HO, _sN: _hO}), - (LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS, {_aQN: _MO, _sN: _mO}), - (LAUNCH_TEMPLATE_ENCLAVE_OPTIONS, {_aQN: _EOn, _sN: _eOn}), - (INSTANCE_REQUIREMENTS, {_aQN: _IRn, _sN: _iRn}), - (LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS, {_aQN: _PDNO, _sN: _pDNO}), - (LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS, {_aQN: _MOa, _sN: _mOa}), - (BOOLEAN, {_aQN: _DASi, _sN: _dASi}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - (LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS, {_aQN: _NPO, _sN: _nPO}), - ( - LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST, - {_aQN: _SIS, _sN: _sIS}, - ), - ), -) - -LAUNCH_TEMPLATE_VERSION: StaticSchema = ( - 18, - n0, - _LTV, - 0, - (_LTI, _LTN, _VNe, _VD, _CTr, _CBr, _DVef, _LTD, _Op), - ( - (STRING, {_aQN: _LTI, _sN: _lTI}), - (LAUNCH_TEMPLATE_NAME, {_aQN: _LTN, _sN: _lTN}), - (LONG, {_aQN: _VNe, _sN: _vNe}), - (VERSION_DESCRIPTION, {_aQN: _VD, _sN: _vD}), - (DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (STRING, {_aQN: _CBr, _sN: _cBr}), - (BOOLEAN, {_aQN: _DVef, _sN: _dVef}), - (RESPONSE_LAUNCH_TEMPLATE_DATA, {_aQN: _LTD, _sN: _lTD}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - ), -) - -CREATE_LAUNCH_TEMPLATE_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CLTVO, - {_sSI: _cCLTVRo, _smit: None}, - (_LTV, _Wa), - ( - (LAUNCH_TEMPLATE_VERSION, {_aQN: _LTV, _sN: _lTV}), - (VALIDATION_WARNING, {_aQN: _Wa, _sN: _wa}), - ), -) - -CREATE_LAUNCH_TEMPLATE_VERSION: StaticOperationSchema = ( - 23, - n0, - _CLTV, - 0, - CREATE_LAUNCH_TEMPLATE_VERSION_INPUT, - CREATE_LAUNCH_TEMPLATE_VERSION_OUTPUT, - (), -) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID: StaticSchema = (3, n0, _LGVIGI, 0) - -CREATE_LOCAL_GATEWAY_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _CLGRI, - {_sSI: _cCLGRR, _sm: None}, - (_DCB, _LGRTI, _LGVIGI, _DR, _NII, _DPLI), - ( - (STRING, 0), - (LOCAL_GATEWAY_ROUTETABLE_ID, 1), - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 0), - (BOOLEAN, 0), - (NETWORK_INTERFACE_ID, 0), - (PREFIX_LIST_RESOURCE_ID, 0), - ), -) - -LOCAL_GATEWAY_ROUTE_STATE: StaticSchema = ( - 14, - n0, - _LGRS, - 0, - (_p, _act, _bl, _de, _del), - ( - (-1, {_sV: _p}), - (-1, {_sV: _act}), - (-1, {_sV: _bl}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - ), -) - -LOCAL_GATEWAY_ROUTE_TYPE: StaticSchema = ( - 14, - n0, - _LGRT, - 0, - (_stat, _prop), - ((-1, {_sV: _stat}), (-1, {_sV: _prop})), -) - -LOCAL_GATEWAY_ROUTE: StaticSchema = ( - 18, - n0, - _LGR, - 0, - (_DCB, _LGVIGI, _Ty, _St, _LGRTI, _LGRTA, _OIw, _SIu, _CPIo, _NII, _DPLI), - ( - (STRING, {_aQN: _DCB, _sN: _dCB}), - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_aQN: _LGVIGI, _sN: _lGVIGI}), - (LOCAL_GATEWAY_ROUTE_TYPE, {_aQN: _Ty, _sN: _ty}), - (LOCAL_GATEWAY_ROUTE_STATE, {_aQN: _St, _sN: _st}), - (LOCAL_GATEWAY_ROUTETABLE_ID, {_aQN: _LGRTI, _sN: _lGRTI}), - (RESOURCE_ARN, {_aQN: _LGRTA, _sN: _lGRTA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (COIP_POOL_ID, {_aQN: _CPIo, _sN: _cPI}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), - (PREFIX_LIST_RESOURCE_ID, {_aQN: _DPLI, _sN: _dPLI}), - ), -) - -CREATE_LOCAL_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _CLGRO, - {_sSI: _cCLGRRo, _smit: None}, - (_Rou,), - ((LOCAL_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), -) - -CREATE_LOCAL_GATEWAY_ROUTE: StaticOperationSchema = ( - 23, - n0, - _CLGR, - 0, - CREATE_LOCAL_GATEWAY_ROUTE_INPUT, - CREATE_LOCAL_GATEWAY_ROUTE_OUTPUT, - (), -) - -LOCAL_GATEWAY_ID: StaticSchema = (3, n0, _LGI, 0) - -LOCAL_GATEWAY_ROUTE_TABLE_MODE: StaticSchema = ( - 14, - n0, - _LGRTM, - 0, - (_dvr, _coi), - ((-1, {_sV: _dvr_}), (-1, {_sV: _coi})), -) - -CREATE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _CLGRTI, - {_sSI: _cCLGRTR, _sm: None}, - (_LGI, _Mo, _TSa, _DR), - ( - (LOCAL_GATEWAY_ID, 1), - (LOCAL_GATEWAY_ROUTE_TABLE_MODE, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -STATE_REASON: StaticSchema = ( - 18, - n0, - _SRt, - 0, - (_C, _Me), - ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -LOCAL_GATEWAY_ROUTE_TABLE: StaticSchema = ( - 18, - n0, - _LGRTo, - 0, - (_LGRTI, _LGRTA, _LGI, _OA, _OIw, _St, _Tag, _Mo, _SRt), - ( - (STRING, {_aQN: _LGRTI, _sN: _lGRTI}), - (RESOURCE_ARN, {_aQN: _LGRTA, _sN: _lGRTA}), - (LOCAL_GATEWAY_ID, {_aQN: _LGI, _sN: _lGI}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (LOCAL_GATEWAY_ROUTE_TABLE_MODE, {_aQN: _Mo, _sN: _mod}), - (STATE_REASON, {_aQN: _SRt, _sN: _sRt}), - ), -) - -CREATE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _CLGRTO, - {_sSI: _cCLGRTRo, _smit: None}, - (_LGRTo,), - ((LOCAL_GATEWAY_ROUTE_TABLE, {_aQN: _LGRTo, _sN: _lGRT}),), -) - -CREATE_LOCAL_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _CLGRT, - 0, - CREATE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT, - CREATE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT, - (), -) - -CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _CLGRTVIGAI, - {_sSI: _cCLGRTVIGAR, _sm: None}, - (_LGRTI, _LGVIGI, _TSa, _DR), - ( - (LOCAL_GATEWAY_ROUTETABLE_ID, 1), - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID: StaticSchema = ( - 3, - n0, - _LGRTVIGAI, - 0, -) - -LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION: StaticSchema = ( - 18, - n0, - _LGRTVIGA, - 0, - (_LGRTVIGAI, _LGVIGI, _LGI, _LGRTI, _LGRTA, _OIw, _St, _Tag), - ( - ( - LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID, - {_aQN: _LGRTVIGAI, _sN: _lGRTVIGAI}, - ), - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_aQN: _LGVIGI, _sN: _lGVIGI}), - (STRING, {_aQN: _LGI, _sN: _lGI}), - (LOCAL_GATEWAY_ID, {_aQN: _LGRTI, _sN: _lGRTI}), - (RESOURCE_ARN, {_aQN: _LGRTA, _sN: _lGRTA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CLGRTVIGAO, - {_sSI: _cCLGRTVIGARo, _smit: None}, - (_LGRTVIGA,), - ( - ( - LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION, - {_aQN: _LGRTVIGA, _sN: _lGRTVIGA}, - ), - ), -) - -CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _CLGRTVIGA, - 0, - CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT, - CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT, - (), -) - -CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _CLGRTVAI, - {_sSI: _cCLGRTVAR, _sm: None}, - (_LGRTI, _VI, _TSa, _DR), - ( - (LOCAL_GATEWAY_ROUTETABLE_ID, 1), - (VPC_ID, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID: StaticSchema = (3, n0, _LGRTVAI, 0) - -LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION: StaticSchema = ( - 18, - n0, - _LGRTVA, - 0, - (_LGRTVAI, _LGRTI, _LGRTA, _LGI, _VI, _OIw, _St, _Tag), - ( - (LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID, {_aQN: _LGRTVAI, _sN: _lGRTVAI}), - (STRING, {_aQN: _LGRTI, _sN: _lGRTI}), - (RESOURCE_ARN, {_aQN: _LGRTA, _sN: _lGRTA}), - (STRING, {_aQN: _LGI, _sN: _lGI}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CLGRTVAO, - {_sSI: _cCLGRTVARo, _smit: None}, - (_LGRTVA,), - ((LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION, {_aQN: _LGRTVA, _sN: _lGRTVA}),), -) - -CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _CLGRTVA, - 0, - CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT, - CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT, - (), -) - -OUTPOST_LAG_ID: StaticSchema = (3, n0, _OLI, 0) - -CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT: StaticSchema = ( - 18, - n0, - _CLGVII, - {_sSI: _cCLGVIR, _sm: None}, - (_LGVIGI, _OLI, _Vl, _LA, _PAe, _PBA, _TSa, _DR, _PBAE), - ( - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 1), - (OUTPOST_LAG_ID, 1), - (INTEGER, 1), - (STRING, 1), - (STRING, 1), - (INTEGER, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - (LONG, 0), - ), -) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE_CONFIGURATION_STATE: StaticSchema = ( - 14, - n0, - _LGVICS, - 0, - (_p, _av, _de, _del), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), -) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID: StaticSchema = (3, n0, _LGVII, 0) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE: StaticSchema = ( - 18, - n0, - _LGVI, - 0, - ( - _LGVII, - _LGI, - _LGVIGI, - _LGVIA, - _OLI, - _Vl, - _LA, - _PAe, - _LBAo, - _PBA, - _PBAE, - _OIw, - _Tag, - _CSon, - ), - ( - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID, {_aQN: _LGVII, _sN: _lGVII}), - (STRING, {_aQN: _LGI, _sN: _lGI}), - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_aQN: _LGVIGI, _sN: _lGVIGI}), - (RESOURCE_ARN, {_aQN: _LGVIA, _sN: _lGVIA}), - (STRING, {_aQN: _OLI, _sN: _oLI}), - (INTEGER, {_aQN: _Vl, _sN: _vl}), - (STRING, {_aQN: _LA, _sN: _lA}), - (STRING, {_aQN: _PAe, _sN: _pAe}), - (INTEGER, {_aQN: _LBAo, _sN: _lBAo}), - (INTEGER, {_aQN: _PBA, _sN: _pBA}), - (LONG, {_aQN: _PBAE, _sN: _pBAE}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_CONFIGURATION_STATE, {_aQN: _CSon, _sN: _cSo}), - ), -) - -CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT: StaticSchema = ( - 18, - n0, - _CLGVIO, - {_sSI: _cCLGVIRo, _smit: None}, - (_LGVI,), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE, {_aQN: _LGVI, _sN: _lGVI}),), -) - -CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE: StaticOperationSchema = ( - 23, - n0, - _CLGVI, - 0, - CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT, - CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT, - (), -) - -CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CLGVIGI, - {_sSI: _cCLGVIGR, _sm: None}, - (_LGI, _LBAo, _LBAE, _TSa, _DR), - ( - (LOCAL_GATEWAY_ID, 1), - (INTEGER, 0), - (LONG, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_CONFIGURATION_STATE: StaticSchema = ( - 14, - n0, - _LGVIGCS, - 0, - (_p, _inco, _av, _de, _del), - ( - (-1, {_sV: _p}), - (-1, {_sV: _inco}), - (-1, {_sV: _av}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - ), -) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID_SET: StaticSchema = ( - 16, - n0, - _LGVIIS, - 0, - (_me,), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID, {_sN: _i}),), -) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP: StaticSchema = ( - 18, - n0, - _LGVIG, - 0, - (_LGVIGI, _LGVIIo, _LGI, _OIw, _LBAo, _LBAE, _LGVIGA, _Tag, _CSon), - ( - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_aQN: _LGVIGI, _sN: _lGVIGI}), - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID_SET, {_aQN: _LGVIIS, _sN: _lGVIIS}), - (STRING, {_aQN: _LGI, _sN: _lGI}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (INTEGER, {_aQN: _LBAo, _sN: _lBAo}), - (LONG, {_aQN: _LBAE, _sN: _lBAE}), - (RESOURCE_ARN, {_aQN: _LGVIGA, _sN: _lGVIGA}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ( - LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_CONFIGURATION_STATE, - {_aQN: _CSon, _sN: _cSo}, - ), - ), -) - -CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CLGVIGO, - {_sSI: _cCLGVIGRo, _smit: None}, - (_LGVIG,), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP, {_aQN: _LGVIG, _sN: _lGVIG}),), -) - -CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP: StaticOperationSchema = ( - 23, - n0, - _CLGVIG, - 0, - CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT, - CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT, - (), -) - -MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION_REQUEST: StaticSchema = ( - 18, - n0, - _MSIPCR, - 0, - (_AIp, _BSa, _DReb, _DTR, _FPi, _KS, _NP), - ( - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), - ), -) - -CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CMSIPMTI, - {_sSI: _cCMSIPMTR, _sm: None}, - (_CTl, _DR, _II, _MCa, _MSIPC, _MSIPS, _TSa), - ( - (STRING, 2), - (BOOLEAN, 0), - (INSTANCE_ID, 1), - (SENSITIVE_MAC_CREDENTIALS, 0), - (MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION_REQUEST, 0), - (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CMSIPMTO, - {_sSI: _cCMSIPMTRo, _smit: None}, - (_MMT,), - ((MAC_MODIFICATION_TASK, {_aQN: _MMT, _sN: _mMT}),), -) - -CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK: StaticOperationSchema = ( - 23, - n0, - _CMSIPMT, - 0, - CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_INPUT, - CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_OUTPUT, - (), -) - -CREATE_MANAGED_PREFIX_LIST_INPUT: StaticSchema = ( - 18, - n0, - _CMPLI, - {_sSI: _cCMPLR, _sm: None}, - (_DR, _PLN, _Ent, _ME, _TSa, _AF, _CTl), - ( - (BOOLEAN, 0), - (STRING, 1), - (ADD_PREFIX_LIST_ENTRIES, {_sN: _Entr}), - (INTEGER, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 1), - (STRING, 2), - ), -) - -PREFIX_LIST_STATE: StaticSchema = ( - 14, - n0, - _PLS, - 0, - ( - _cip, - _cc_, - _cf________________________, - _mip__, - _mc, - _mf__________________________, - _rip_, - _rc_, - _rf____________, - _dip_, - _dc_, - _df___, - ), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _mip___}), - (-1, {_sV: _mc_}), - (-1, {_sV: _mf___________________________}), - (-1, {_sV: _rip}), - (-1, {_sV: _rc__}), - (-1, {_sV: _rf_____________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - ), -) - -MANAGED_PREFIX_LIST: StaticSchema = ( - 18, - n0, - _MPL, - 0, - (_PLI, _AF, _St, _SMta, _PLA, _PLN, _ME, _Ve, _Tag, _OIw, _IPLRTI, _IPLRSE), - ( - (PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), - (STRING, {_aQN: _AF, _sN: _aF}), - (PREFIX_LIST_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - (RESOURCE_ARN, {_aQN: _PLA, _sN: _pLA}), - (STRING, {_aQN: _PLN, _sN: _pLN}), - (INTEGER, {_aQN: _ME, _sN: _mE}), - (LONG, {_aQN: _Ve, _sN: _ver}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _IPLRTI, _sN: _iPLRTI}), - (BOOLEAN, {_aQN: _IPLRSE, _sN: _iPLRSE}), - ), -) - -CREATE_MANAGED_PREFIX_LIST_OUTPUT: StaticSchema = ( - 18, - n0, - _CMPLO, - {_sSI: _cCMPLRo, _smit: None}, - (_PL,), - ((MANAGED_PREFIX_LIST, {_aQN: _PL, _sN: _pL}),), -) - -CREATE_MANAGED_PREFIX_LIST: StaticOperationSchema = ( - 23, - n0, - _CMPL, - 0, - CREATE_MANAGED_PREFIX_LIST_INPUT, - CREATE_MANAGED_PREFIX_LIST_OUTPUT, - (), -) - -AVAILABILITY_MODE: StaticSchema = ( - 14, - n0, - _AMv, - 0, - (_ZONAL, _REGIONAL), - ((-1, {_sV: _zo}), (-1, {_sV: _regi})), -) - -AVAILABILITY_ZONE_ADDRESS: StaticSchema = ( - 18, - n0, - _AZA, - 0, - (_AZ, _AZI, _AIl), - ( - (AVAILABILITY_ZONE_NAME, 0), - (AVAILABILITY_ZONE_ID, 0), - (ALLOCATION_ID_LIST, {_sN: _AI}), - ), -) - -AVAILABILITY_ZONE_ADDRESSES: StaticSchema = ( - 16, - n0, - _AZAv, - 0, - (_me,), - ((AVAILABILITY_ZONE_ADDRESS, {_sN: _AZA}),), -) - -CONNECTIVITY_TYPE: StaticSchema = ( - 14, - n0, - _CTo, - 0, - (_PRIVATE, _PUBLIC), - ((-1, {_sV: _priv}), (-1, {_sV: _pu})), -) - -CREATE_NAT_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _CNGI, - {_sSI: _cCNGR, _sm: None}, - (_AMv, _AI, _CTl, _DR, _SIu, _VI, _AZAv, _TSa, _CTo, _PIAr, _SAI, _SPIA, _SPIAC), - ( - (AVAILABILITY_MODE, 0), - (ALLOCATION_ID, 0), - (STRING, 2), - (BOOLEAN, 0), - (SUBNET_ID, 0), - (VPC_ID, 0), - (AVAILABILITY_ZONE_ADDRESSES, {_sN: _AZA}), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (CONNECTIVITY_TYPE, 0), - (STRING, 0), - (ALLOCATION_ID_LIST, {_sN: _SAIe}), - (IP_LIST, {_sN: _SPIAe}), - (PRIVATE_IP_ADDRESS_COUNT, 0), - ), -) - -NAT_GATEWAY_APPLIANCE_STATE: StaticSchema = ( - 14, - n0, - _NGASat, - 0, - (_ATTACHING, _ATTACHED, _DETACHING, _DETACHED, _AF__, _DF__), - ( - (-1, {_sV: _at}), - (-1, {_sV: _att}), - (-1, {_sV: _det}), - (-1, {_sV: _deta}), - (-1, {_sV: _af___}), - (-1, {_sV: _df_______}), - ), -) - -NAT_GATEWAY_APPLIANCE_MODIFY_STATE: StaticSchema = ( - 14, - n0, - _NGAMS, - 0, - (_MODIFYING, _COMPLETED, _FAILED), - ((-1, {_sV: _mo}), (-1, {_sV: _compl}), (-1, {_sV: _fa})), -) - -NAT_GATEWAY_APPLIANCE_TYPE: StaticSchema = ( - 14, - n0, - _NGAT, - 0, - (_NFP,), - ((-1, {_sV: _nfp}),), -) - -NAT_GATEWAY_ATTACHED_APPLIANCE: StaticSchema = ( - 18, - n0, - _NGAA, - 0, - (_Ty, _AAp, _VEI, _AStta, _MSo, _FCa, _FM), - ( - (NAT_GATEWAY_APPLIANCE_TYPE, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _AAp, _sN: _aAp}), - (STRING, {_aQN: _VEI, _sN: _vEI}), - (NAT_GATEWAY_APPLIANCE_STATE, {_aQN: _AStta, _sN: _aStt}), - (NAT_GATEWAY_APPLIANCE_MODIFY_STATE, {_aQN: _MSo, _sN: _mS}), - (STRING, {_aQN: _FCa, _sN: _fCa}), - (STRING, {_aQN: _FM, _sN: _fM}), - ), -) - -NAT_GATEWAY_ATTACHED_APPLIANCE_LIST: StaticSchema = ( - 16, - n0, - _NGAAL, - 0, - (_me,), - ((NAT_GATEWAY_ATTACHED_APPLIANCE, {_sN: _i}),), -) - -AUTO_PROVISION_ZONES_STATE: StaticSchema = ( - 14, - n0, - _APZS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ena}), (-1, {_sV: _d})), -) - -AUTO_SCALING_IPS_STATE: StaticSchema = ( - 14, - n0, - _ASIS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ena}), (-1, {_sV: _d})), -) - -PROVISIONED_BANDWIDTH: StaticSchema = ( - 18, - n0, - _PB, - 0, - (_PTro, _Prov, _RTeq, _Req, _Sta), - ( - (DATE_TIME, {_aQN: _PTro, _sN: _pTr}), - (STRING, {_aQN: _Prov, _sN: _prov}), - (DATE_TIME, {_aQN: _RTeq, _sN: _rTeq}), - (STRING, {_aQN: _Req, _sN: _req}), - (STRING, {_aQN: _Sta, _sN: _sta}), - ), -) - -NAT_GATEWAY_STATE: StaticSchema = ( - 14, - n0, - _NGS, - 0, - (_PENDING, _FAILED, _AVAILABLE, _DELETING, _DELETED), - ( - (-1, {_sV: _p}), - (-1, {_sV: _fa}), - (-1, {_sV: _av}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - ), -) - -NAT_GATEWAY: StaticSchema = ( - 18, - n0, - _NG, - 0, - ( - _CTr, - _DTel, - _FCa, - _FM, - _NGAa, - _NGI, - _PB, - _St, - _SIu, - _VI, - _Tag, - _CTo, - _AMv, - _ASI, - _APZ, - _AAt, - _RTIo, - ), - ( - (DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (DATE_TIME, {_aQN: _DTel, _sN: _dTe}), - (STRING, {_aQN: _FCa, _sN: _fCa}), - (STRING, {_aQN: _FM, _sN: _fM}), - (NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), - (STRING, {_aQN: _NGI, _sN: _nGI}), - (PROVISIONED_BANDWIDTH, {_aQN: _PB, _sN: _pB}), - (NAT_GATEWAY_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (STRING, {_aQN: _VI, _sN: _vI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (CONNECTIVITY_TYPE, {_aQN: _CTo, _sN: _cTo}), - (AVAILABILITY_MODE, {_aQN: _AMv, _sN: _aM}), - (AUTO_SCALING_IPS_STATE, {_aQN: _ASI, _sN: _aSI}), - (AUTO_PROVISION_ZONES_STATE, {_aQN: _APZ, _sN: _aPZ}), - (NAT_GATEWAY_ATTACHED_APPLIANCE_LIST, {_aQN: _AASt, _sN: _aASt}), - (STRING, {_aQN: _RTIo, _sN: _rTIo}), - ), -) - -CREATE_NAT_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _CNGO, - {_sSI: _cCNGRo, _smit: None}, - (_CTl, _NG), - ((STRING, {_aQN: _CTl, _sN: _cTl}), (NAT_GATEWAY, {_aQN: _NG, _sN: _nG})), -) - -CREATE_NAT_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _CNG, - 0, - CREATE_NAT_GATEWAY_INPUT, - CREATE_NAT_GATEWAY_OUTPUT, - (), -) - -CREATE_NETWORK_ACL_INPUT: StaticSchema = ( - 18, - n0, - _CNAI, - {_sSI: _cCNAR, _sm: None}, - (_TSa, _CTl, _DR, _VI), - ( - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), - ), -) - -NETWORK_ACL_ASSOCIATION: StaticSchema = ( - 18, - n0, - _NAA, - 0, - (_NAAI, _NAI, _SIu), - ( - (STRING, {_aQN: _NAAI, _sN: _nAAI}), - (STRING, {_aQN: _NAI, _sN: _nAI}), - (STRING, {_aQN: _SIu, _sN: _sI}), - ), -) - -NETWORK_ACL_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _NAAL, - 0, - (_me,), - ((NETWORK_ACL_ASSOCIATION, {_sN: _i}),), -) - -ICMP_TYPE_CODE: StaticSchema = ( - 18, - n0, - _ITC, - 0, - (_C, _Ty), - ((INTEGER, {_aQN: _C, _sN: _co}), (INTEGER, {_aQN: _Ty, _sN: _ty})), -) - -RULE_ACTION: StaticSchema = ( - 14, - n0, - _RA, - 0, - (_all, _deny), - ((-1, {_sV: _all}), (-1, {_sV: _deny})), -) - -NETWORK_ACL_ENTRY: StaticSchema = ( - 18, - n0, - _NAE, - 0, - (_CB, _Eg, _ITC, _ICB, _PR, _P, _RA, _RN), - ( - (STRING, {_aQN: _CB, _sN: _cB}), - (BOOLEAN, {_aQN: _Eg, _sN: _egr}), - (ICMP_TYPE_CODE, {_aQN: _ITC, _sN: _iTC}), - (STRING, {_aQN: _ICB, _sN: _iCB}), - (PORT_RANGE, {_aQN: _PR, _sN: _pR}), - (STRING, {_aQN: _P, _sN: _pro}), - (RULE_ACTION, {_aQN: _RA, _sN: _rA}), - (INTEGER, {_aQN: _RN, _sN: _rN}), - ), -) - -NETWORK_ACL_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _NAEL, - 0, - (_me,), - ((NETWORK_ACL_ENTRY, {_sN: _i}),), -) - -NETWORK_ACL: StaticSchema = ( - 18, - n0, - _NAe, - 0, - (_As, _Ent, _ID, _NAI, _Tag, _VI, _OIw), - ( - (NETWORK_ACL_ASSOCIATION_LIST, {_aQN: _ASsso, _sN: _aSss}), - (NETWORK_ACL_ENTRY_LIST, {_aQN: _ESn, _sN: _eSn}), - (BOOLEAN, {_aQN: _Def, _sN: _def}), - (STRING, {_aQN: _NAI, _sN: _nAI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _OIw, _sN: _oI}), - ), -) - -CREATE_NETWORK_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _CNAO, - {_sSI: _cCNARo, _smit: None}, - (_NAe, _CTl), - ((NETWORK_ACL, {_aQN: _NAe, _sN: _nAe}), (STRING, {_aQN: _CTl, _sN: _cTl})), -) - -CREATE_NETWORK_ACL: StaticOperationSchema = ( - 23, - n0, - _CNAr, - 0, - CREATE_NETWORK_ACL_INPUT, - CREATE_NETWORK_ACL_OUTPUT, - (), -) - -NETWORK_ACL_ID: StaticSchema = (3, n0, _NAI, 0) - -CREATE_NETWORK_ACL_ENTRY_INPUT: StaticSchema = ( - 18, - n0, - _CNAEI, - {_sSI: _cCNAER, _sm: None}, - (_DR, _NAI, _RN, _P, _RA, _Eg, _CB, _ICB, _ITC, _PR), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), - (INTEGER, {_aQN: _RN, _sN: _rN, _smi: None}), - (STRING, {_aQN: _P, _sN: _pro, _smi: None}), - (RULE_ACTION, {_aQN: _RA, _sN: _rA, _smi: None}), - (BOOLEAN, {_aQN: _Eg, _sN: _egr, _smi: None}), - (STRING, {_aQN: _CB, _sN: _cB}), - (STRING, {_aQN: _ICB, _sN: _iCB}), - (ICMP_TYPE_CODE, {_sN: _Ic}), - (PORT_RANGE, {_aQN: _PR, _sN: _pR}), - ), -) - -CREATE_NETWORK_ACL_ENTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _CNAEO, - {_sSI: _sU, _smit: None}, -) - -CREATE_NETWORK_ACL_ENTRY: StaticOperationSchema = ( - 23, - n0, - _CNAE, - 0, - CREATE_NETWORK_ACL_ENTRY_INPUT, - CREATE_NETWORK_ACL_ENTRY_OUTPUT, - (), -) - -CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT: StaticSchema = ( - 18, - n0, - _CNIASI, - {_sSI: _cCNIASR, _sm: None}, - (_MPa, _EP, _CTl, _TSa, _DR), - ( - (ACCESS_SCOPE_PATH_LIST_REQUEST, {_sN: _MPat}), - (ACCESS_SCOPE_PATH_LIST_REQUEST, {_sN: _EPx}), - (STRING, 3), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -NETWORK_INSIGHTS_ACCESS_SCOPE: StaticSchema = ( - 18, - n0, - _NIAS, - 0, - (_NIASI, _NIASA, _CDr, _UDp, _Tag), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}), - (RESOURCE_ARN, {_aQN: _NIASA, _sN: _nIASA}), - (MILLISECOND_DATE_TIME, {_aQN: _CDr, _sN: _cDr}), - (MILLISECOND_DATE_TIME, {_aQN: _UDp, _sN: _uDp}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT: StaticSchema = ( - 18, - n0, - _NIASC, - 0, - (_NIASI, _MPa, _EP), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}), - (ACCESS_SCOPE_PATH_LIST, {_aQN: _MPS, _sN: _mPS}), - (ACCESS_SCOPE_PATH_LIST, {_aQN: _EPS, _sN: _ePS}), - ), -) - -CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT: StaticSchema = ( - 18, - n0, - _CNIASO, - {_sSI: _cCNIASRo, _smit: None}, - (_NIAS, _NIASC), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE, {_aQN: _NIAS, _sN: _nIAS}), - (NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT, {_aQN: _NIASC, _sN: _nIASC}), - ), -) - -CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE: StaticOperationSchema = ( - 23, - n0, - _CNIAS, - 0, - CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT, - CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT, - (), -) - -NETWORK_INSIGHTS_RESOURCE_ID: StaticSchema = (3, n0, _NIRI, 0) - -REQUEST_FILTER_PORT_RANGE: StaticSchema = ( - 18, - n0, - _RFPR, - 0, - (_FP, _TP), - ((PORT, 0), (PORT, 0)), -) - -PATH_REQUEST_FILTER: StaticSchema = ( - 18, - n0, - _PRF, - 0, - (_SAou, _SPR, _DAe, _DPR), - ( - (IP_ADDRESS, 0), - (REQUEST_FILTER_PORT_RANGE, 0), - (IP_ADDRESS, 0), - (REQUEST_FILTER_PORT_RANGE, 0), - ), -) - -CREATE_NETWORK_INSIGHTS_PATH_INPUT: StaticSchema = ( - 18, - n0, - _CNIPI, - {_sSI: _cCNIPR, _sm: None}, - (_SIo, _DIes, _Sou, _De, _P, _DPe, _TSa, _DR, _CTl, _FAS, _FAD), - ( - (IP_ADDRESS, 0), - (IP_ADDRESS, 0), - (NETWORK_INSIGHTS_RESOURCE_ID, 1), - (NETWORK_INSIGHTS_RESOURCE_ID, 0), - (PROTOCOL, 1), - (PORT, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - (STRING, 3), - (PATH_REQUEST_FILTER, 0), - (PATH_REQUEST_FILTER, 0), - ), -) - -FILTER_PORT_RANGE: StaticSchema = ( - 18, - n0, - _FPR, - 0, - (_FP, _TP), - ((PORT, {_aQN: _FP, _sN: _fP}), (PORT, {_aQN: _TP, _sN: _tP})), -) - -PATH_FILTER: StaticSchema = ( - 18, - n0, - _PFa, - 0, - (_SAou, _SPR, _DAe, _DPR), - ( - (IP_ADDRESS, {_aQN: _SAou, _sN: _sAo}), - (FILTER_PORT_RANGE, {_aQN: _SPR, _sN: _sPR}), - (IP_ADDRESS, {_aQN: _DAe, _sN: _dA}), - (FILTER_PORT_RANGE, {_aQN: _DPR, _sN: _dPR}), - ), -) - -NETWORK_INSIGHTS_PATH_ID: StaticSchema = (3, n0, _NIPI, 0) - -NETWORK_INSIGHTS_PATH: StaticSchema = ( - 18, - n0, - _NIP, - 0, - ( - _NIPI, - _NIPA, - _CDr, - _Sou, - _De, - _SAour, - _DAes, - _SIo, - _DIes, - _P, - _DPe, - _Tag, - _FAS, - _FAD, - ), - ( - (NETWORK_INSIGHTS_PATH_ID, {_aQN: _NIPI, _sN: _nIPI}), - (RESOURCE_ARN, {_aQN: _NIPA, _sN: _nIPA}), - (MILLISECOND_DATE_TIME, {_aQN: _CDr, _sN: _cDr}), - (STRING, {_aQN: _Sou, _sN: _so}), - (STRING, {_aQN: _De, _sN: _des}), - (RESOURCE_ARN, {_aQN: _SAour, _sN: _sAou}), - (RESOURCE_ARN, {_aQN: _DAes, _sN: _dAe}), - (IP_ADDRESS, {_aQN: _SIo, _sN: _sIo}), - (IP_ADDRESS, {_aQN: _DIes, _sN: _dIes}), - (PROTOCOL, {_aQN: _P, _sN: _pro}), - (INTEGER, {_aQN: _DPe, _sN: _dPe}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (PATH_FILTER, {_aQN: _FAS, _sN: _fAS}), - (PATH_FILTER, {_aQN: _FAD, _sN: _fAD}), - ), -) - -CREATE_NETWORK_INSIGHTS_PATH_OUTPUT: StaticSchema = ( - 18, - n0, - _CNIPO, - {_sSI: _cCNIPRo, _smit: None}, - (_NIP,), - ((NETWORK_INSIGHTS_PATH, {_aQN: _NIP, _sN: _nIP}),), -) - -CREATE_NETWORK_INSIGHTS_PATH: StaticOperationSchema = ( - 23, - n0, - _CNIP, - 0, - CREATE_NETWORK_INSIGHTS_PATH_INPUT, - CREATE_NETWORK_INSIGHTS_PATH_OUTPUT, - (), -) - -NETWORK_INTERFACE_CREATION_TYPE: StaticSchema = ( - 14, - n0, - _NICT, - 0, - (_efa, _eo, _br, _tru), - ((-1, {_sV: _efa}), (-1, {_sV: _eo_}), (-1, {_sV: _br}), (-1, {_sV: _tru})), -) - -CREATE_NETWORK_INTERFACE_INPUT: StaticSchema = ( - 18, - n0, - _CNII, - {_sSI: _cCNIR, _sm: None}, - ( - _IPpvr, - _IPCp, - _IPp, - _IPC, - _ITnte, - _TSa, - _CTl, - _EPI, - _CTSo, - _Op, - _SIu, - _Des, - _PIAr, - _G, - _PIAri, - _SPIAC, - _IAp, - _IAC, - _DR, - ), - ( - (IPV4_PREFIX_LIST, {_sN: _IPpvre}), - (INTEGER, 0), - (IPV6_PREFIX_LIST, {_sN: _IPpv}), - (INTEGER, 0), - (NETWORK_INTERFACE_CREATION_TYPE, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (BOOLEAN, 0), - (CONNECTION_TRACKING_SPECIFICATION_REQUEST, 0), - (OPERATOR_REQUEST, 0), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI, _smi: None}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - (SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), - (PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, {_aQN: _PIAri, _sN: _pIAri}), - (INTEGER, {_aQN: _SPIAC, _sN: _sPIAC}), - (INSTANCE_IPV6_ADDRESS_LIST, {_aQN: _IAp, _sN: _iA}), - (INTEGER, {_aQN: _IAC, _sN: _iAC}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -ASSOCIATED_SUBNET_LIST: StaticSchema = ( - 16, - n0, - _ASL, - 0, - (_me,), - ((SUBNET_ID, {_sN: _i}),), -) - -NETWORK_INTERFACE_ASSOCIATION: StaticSchema = ( - 18, - n0, - _NIA, - 0, - (_AI, _AIs, _IOI, _PDNu, _PI, _COI, _CI), - ( - (STRING, {_aQN: _AI, _sN: _aI}), - (STRING, {_aQN: _AIs, _sN: _aIs}), - (STRING, {_aQN: _IOI, _sN: _iOI}), - (STRING, {_aQN: _PDNu, _sN: _pDNu}), - (STRING, {_aQN: _PI, _sN: _pI}), - (STRING, {_aQN: _COI, _sN: _cOI}), - (STRING, {_aQN: _CI, _sN: _cI}), - ), -) - -ATTACHMENT_ENA_SRD_UDP_SPECIFICATION: StaticSchema = ( - 18, - n0, - _AESUS, - 0, - (_ESUE,), - ((BOOLEAN, {_aQN: _ESUE, _sN: _eSUE}),), -) - -ATTACHMENT_ENA_SRD_SPECIFICATION: StaticSchema = ( - 18, - n0, - _AESS, - 0, - (_ESE, _ESUS), - ( - (BOOLEAN, {_aQN: _ESE, _sN: _eSE}), - (ATTACHMENT_ENA_SRD_UDP_SPECIFICATION, {_aQN: _ESUS, _sN: _eSUS}), - ), -) - -NETWORK_INTERFACE_ATTACHMENT: StaticSchema = ( - 18, - n0, - _NIAe, - 0, - (_ATtt, _AIt, _DOT, _DI, _NCI, _II, _IOIn, _Sta, _ESS, _EQC), - ( - (DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), - (STRING, {_aQN: _AIt, _sN: _aIt}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (INTEGER, {_aQN: _DI, _sN: _dI}), - (INTEGER, {_aQN: _NCI, _sN: _nCI}), - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _IOIn, _sN: _iOIn}), - (ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), - (ATTACHMENT_ENA_SRD_SPECIFICATION, {_aQN: _ESS, _sN: _eSS}), - (INTEGER, {_aQN: _EQC, _sN: _eQC}), - ), -) - -CONNECTION_TRACKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CTC, - 0, - (_TET, _UST, _UTd), - ( - (INTEGER, {_aQN: _TET, _sN: _tET}), - (INTEGER, {_aQN: _UST, _sN: _uST}), - (INTEGER, {_aQN: _UTd, _sN: _uTd}), - ), -) - -GROUP_IDENTIFIER: StaticSchema = ( - 18, - n0, - _GIro, - 0, - (_GIr, _GN), - ((STRING, {_aQN: _GIr, _sN: _gIr}), (STRING, {_aQN: _GN, _sN: _gN})), -) - -GROUP_IDENTIFIER_LIST: StaticSchema = ( - 16, - n0, - _GIL, - 0, - (_me,), - ((GROUP_IDENTIFIER, {_sN: _i}),), -) - -NETWORK_INTERFACE_TYPE: StaticSchema = ( - 14, - n0, - _NIT, - 0, - ( - _inter, - _nG, - _efa, - _eo, - _tru, - _lb, - _nlb, - _ve, - _br, - _tg_, - _la, - _qu, - _gam, - _agm, - _glb, - _glbe, - _irm, - _accm, - ), - ( - (-1, {_sV: _inter}), - (-1, {_sV: _nG}), - (-1, {_sV: _efa}), - (-1, {_sV: _eo_}), - (-1, {_sV: _tru}), - (-1, {_sV: _lb}), - (-1, {_sV: _nlb}), - (-1, {_sV: _ve}), - (-1, {_sV: _br}), - (-1, {_sV: _tg_}), - (-1, {_sV: _la}), - (-1, {_sV: _qu}), - (-1, {_sV: _gam}), - (-1, {_sV: _agm}), - (-1, {_sV: _glb}), - (-1, {_sV: _glbe}), - (-1, {_sV: _irm}), - (-1, {_sV: _accm}), - ), -) - -NETWORK_INTERFACE_IPV6_ADDRESS: StaticSchema = ( - 18, - n0, - _NIIA, - 0, - (_IApv, _PIDN, _IPIs), - ( - (STRING, {_aQN: _IApv, _sN: _iApv}), - (STRING, {_aQN: _PIDN, _sN: _pIDN}), - (BOOLEAN, {_aQN: _IPIs, _sN: _iPIs}), - ), -) - -NETWORK_INTERFACE_IPV6_ADDRESSES_LIST: StaticSchema = ( - 16, - n0, - _NIIAL, - 0, - (_me,), - ((NETWORK_INTERFACE_IPV6_ADDRESS, {_sN: _i}),), -) - -IPV6_PREFIX_SPECIFICATION: StaticSchema = ( - 18, - n0, - _IPSpvre, - 0, - (_IPpv,), - ((STRING, {_aQN: _IPpv, _sN: _iPpvr}),), -) - -IPV6_PREFIXES_LIST: StaticSchema = ( - 16, - n0, - _IPLpvre, - 0, - (_me,), - ((IPV6_PREFIX_SPECIFICATION, {_sN: _i}),), -) - -NETWORK_INTERFACE_PRIVATE_IP_ADDRESS: StaticSchema = ( - 18, - n0, - _NIPIA, - 0, - (_Ass, _Prim, _PDNr, _PIAr), - ( - (NETWORK_INTERFACE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), - (BOOLEAN, {_aQN: _Prim, _sN: _prim}), - (STRING, {_aQN: _PDNr, _sN: _pDNr}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - ), -) - -NETWORK_INTERFACE_PRIVATE_IP_ADDRESS_LIST: StaticSchema = ( - 16, - n0, - _NIPIAL, - 0, - (_me,), - ((NETWORK_INTERFACE_PRIVATE_IP_ADDRESS, {_sN: _i}),), -) - -PUBLIC_IP_DNS_NAME_OPTIONS: StaticSchema = ( - 18, - n0, - _PIDNO, - 0, - (_DHT, _PIDNu, _PIDN, _PDSDN), - ( - (STRING, {_aQN: _DHT, _sN: _dHT}), - (STRING, {_aQN: _PIDNu, _sN: _pIDNu}), - (STRING, {_aQN: _PIDN, _sN: _pIDN}), - (STRING, {_aQN: _PDSDN, _sN: _pDSDN}), - ), -) - -NETWORK_INTERFACE_STATUS: StaticSchema = ( - 14, - n0, - _NISe, - 0, - (_av, _ass, _at, _iu, _det), - ( - (-1, {_sV: _av}), - (-1, {_sV: _ass}), - (-1, {_sV: _at}), - (-1, {_sV: _iu_}), - (-1, {_sV: _det}), - ), -) - -NETWORK_INTERFACE: StaticSchema = ( - 18, - n0, - _NI, - 0, - ( - _Ass, - _At, - _AZ, - _CTC, - _Des, - _G, - _ITnte, - _IAp, - _MAa, - _NII, - _OA, - _OIw, - _PDNr, - _PDNu, - _PIDNO, - _PIAr, - _PIAri, - _IPpvr, - _IPp, - _RIeq, - _RMe, - _SDC, - _Sta, - _SIu, - _TSag, - _VI, - _DAIT, - _IN, - _IApv, - _Op, - _ASssoc, - _AZI, - ), - ( - (NETWORK_INTERFACE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), - (NETWORK_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (CONNECTION_TRACKING_CONFIGURATION, {_aQN: _CTC, _sN: _cTC}), - (STRING, {_aQN: _Des, _sN: _desc}), - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - (NETWORK_INTERFACE_TYPE, {_aQN: _ITnte, _sN: _iTnt}), - (NETWORK_INTERFACE_IPV6_ADDRESSES_LIST, {_aQN: _IAS, _sN: _iAS}), - (STRING, {_aQN: _MAa, _sN: _mAa}), - (STRING, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _PDNr, _sN: _pDNr}), - (STRING, {_aQN: _PDNu, _sN: _pDNu}), - (PUBLIC_IP_DNS_NAME_OPTIONS, {_aQN: _PIDNO, _sN: _pIDNO}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - (NETWORK_INTERFACE_PRIVATE_IP_ADDRESS_LIST, {_aQN: _PIASr, _sN: _pIAS}), - (IPV4_PREFIXES_LIST, {_aQN: _IPSpv, _sN: _iPS}), - (IPV6_PREFIXES_LIST, {_aQN: _IPSpvr, _sN: _iPSp}), - (STRING, {_aQN: _RIeq, _sN: _rIeq}), - (BOOLEAN, {_aQN: _RMe, _sN: _rMe}), - (BOOLEAN, {_aQN: _SDC, _sN: _sDC}), - (NETWORK_INTERFACE_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _VI, _sN: _vI}), - (BOOLEAN, {_aQN: _DAIT, _sN: _dAIT}), - (BOOLEAN, {_aQN: _IN, _sN: _iN}), - (STRING, {_aQN: _IApv, _sN: _iApv}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - (ASSOCIATED_SUBNET_LIST, {_aQN: _ASSs, _sN: _aSSs}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - ), -) - -CREATE_NETWORK_INTERFACE_OUTPUT: StaticSchema = ( - 18, - n0, - _CNIO, - {_sSI: _cCNIRo, _smit: None}, - (_NI, _CTl), - ((NETWORK_INTERFACE, {_aQN: _NI, _sN: _nI}), (STRING, {_aQN: _CTl, _sN: _cTl})), -) - -CREATE_NETWORK_INTERFACE: StaticOperationSchema = ( - 23, - n0, - _CNIr, - 0, - CREATE_NETWORK_INTERFACE_INPUT, - CREATE_NETWORK_INTERFACE_OUTPUT, - (), -) - -INTERFACE_PERMISSION_TYPE: StaticSchema = ( - 14, - n0, - _IPTn, - 0, - (_IA_, _EA), - ((-1, {_sV: _IA__}), (-1, {_sV: _EA_})), -) - -CREATE_NETWORK_INTERFACE_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _CNIPIr, - {_sSI: _cCNIPRom, _sm: None}, - (_NII, _AAIw, _ASw, _Pe, _DR), - ( - (NETWORK_INTERFACE_ID, 1), - (STRING, 0), - (STRING, 0), - (INTERFACE_PERMISSION_TYPE, 1), - (BOOLEAN, 0), - ), -) - -NETWORK_INTERFACE_PERMISSION_STATE_CODE: StaticSchema = ( - 14, - n0, - _NIPSC, - 0, - (_p, _gra, _rev, _revo), - ((-1, {_sV: _p}), (-1, {_sV: _gra}), (-1, {_sV: _rev}), (-1, {_sV: _revo})), -) - -NETWORK_INTERFACE_PERMISSION_STATE: StaticSchema = ( - 18, - n0, - _NIPS, - 0, - (_St, _SMt), - ( - (NETWORK_INTERFACE_PERMISSION_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - ), -) - -NETWORK_INTERFACE_PERMISSION: StaticSchema = ( - 18, - n0, - _NIPe, - 0, - (_NIPIe, _NII, _AAIw, _ASw, _Pe, _PSer), - ( - (STRING, {_aQN: _NIPIe, _sN: _nIPIe}), - (STRING, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _AAIw, _sN: _aAI}), - (STRING, {_aQN: _ASw, _sN: _aSw}), - (INTERFACE_PERMISSION_TYPE, {_aQN: _Pe, _sN: _perm}), - (NETWORK_INTERFACE_PERMISSION_STATE, {_aQN: _PSer, _sN: _pSer}), - ), -) - -CREATE_NETWORK_INTERFACE_PERMISSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CNIPOr, - {_sSI: _cCNIPRoma, _smit: None}, - (_IPnt,), - ((NETWORK_INTERFACE_PERMISSION, {_aQN: _IPnt, _sN: _iPnt}),), -) - -CREATE_NETWORK_INTERFACE_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _CNIPr, - 0, - CREATE_NETWORK_INTERFACE_PERMISSION_INPUT, - CREATE_NETWORK_INTERFACE_PERMISSION_OUTPUT, - (), -) - -SPREAD_LEVEL: StaticSchema = ( - 14, - n0, - _SLp, - 0, - (_ho, _rac), - ((-1, {_sV: _ho}), (-1, {_sV: _rac})), -) - -PLACEMENT_STRATEGY: StaticSchema = ( - 14, - n0, - _PSl, - 0, - (_clu, _spr, _part, _pt___), - ((-1, {_sV: _clu}), (-1, {_sV: _spr}), (-1, {_sV: _part}), (-1, {_sV: _pt____})), -) - -CREATE_PLACEMENT_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CPGI, - {_sSI: _cCPGR, _sm: None}, - (_PCa, _TSa, _SLp, _LGIi, _Op, _PGIa, _DR, _GN, _Str), - ( - (INTEGER, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (SPREAD_LEVEL, 0), - (PLACEMENT_GROUP_ID, 0), - (OPERATOR_REQUEST, 0), - (PLACEMENT_GROUP_ID, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (STRING, {_aQN: _GN, _sN: _gN}), - (PLACEMENT_STRATEGY, {_aQN: _Str, _sN: _str}), - ), -) - -PLACEMENT_GROUP_STATE: StaticSchema = ( - 14, - n0, - _PGS, - 0, - (_p, _av, _de, _del), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), -) - -PLACEMENT_GROUP: StaticSchema = ( - 18, - n0, - _PG, - 0, - (_GN, _St, _Str, _PCa, _GIr, _Tag, _GA, _SLp, _LGIi, _Op, _PGIa), - ( - (STRING, {_aQN: _GN, _sN: _gN}), - (PLACEMENT_GROUP_STATE, {_aQN: _St, _sN: _st}), - (PLACEMENT_STRATEGY, {_aQN: _Str, _sN: _str}), - (INTEGER, {_aQN: _PCa, _sN: _pCa}), - (STRING, {_aQN: _GIr, _sN: _gIr}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _GA, _sN: _gA}), - (SPREAD_LEVEL, {_aQN: _SLp, _sN: _sL}), - (PLACEMENT_GROUP_ID, {_aQN: _LGIi, _sN: _lGIi}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - (PLACEMENT_GROUP_ID, {_aQN: _PGIa, _sN: _pGI}), - ), -) - -CREATE_PLACEMENT_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CPGO, - {_sSI: _cCPGRo, _smit: None}, - (_PG,), - ((PLACEMENT_GROUP, {_aQN: _PG, _sN: _pG}),), -) - -CREATE_PLACEMENT_GROUP: StaticOperationSchema = ( - 23, - n0, - _CPG, - 0, - CREATE_PLACEMENT_GROUP_INPUT, - CREATE_PLACEMENT_GROUP_OUTPUT, - (), -) - -CREATE_PUBLIC_IPV4_POOL_INPUT: StaticSchema = ( - 18, - n0, - _CPIPI, - {_sSI: _cCPIPR, _sm: None}, - (_DR, _TSa, _NBG), - ((BOOLEAN, 0), (TAG_SPECIFICATION_LIST, {_sN: _TS}), (STRING, 0)), -) - -CREATE_PUBLIC_IPV4_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _CPIPO, - {_sSI: _cCPIPRo, _smit: None}, - (_PIo,), - ((IPV4_POOL_EC2_ID, {_aQN: _PIo, _sN: _pIo}),), -) - -CREATE_PUBLIC_IPV4_POOL: StaticOperationSchema = ( - 23, - n0, - _CPIP, - 0, - CREATE_PUBLIC_IPV4_POOL_INPUT, - CREATE_PUBLIC_IPV4_POOL_OUTPUT, - (), -) - -CREATE_REPLACE_ROOT_VOLUME_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CRRVTI, - {_sSI: _cCRRVTR, _sm: None}, - (_II, _SIn, _CTl, _DR, _TSa, _IIm, _DRRV, _VIR, _VIo), - ( - (INSTANCE_ID, 1), - (SNAPSHOT_ID, 0), - (STRING, 2), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (IMAGE_ID, 0), - (BOOLEAN, 0), - (LONG, 0), - (VOLUME_ID, 0), - ), -) - -REPLACE_ROOT_VOLUME_TASK_ID: StaticSchema = (3, n0, _RRVTI, 0) - -REPLACE_ROOT_VOLUME_TASK_STATE: StaticSchema = ( - 14, - n0, - _RRVTS, - 0, - (_p, _ip________, _fai, _suc, _fa, _fd____), - ( - (-1, {_sV: _p}), - (-1, {_sV: _ip_____}), - (-1, {_sV: _fai}), - (-1, {_sV: _suc}), - (-1, {_sV: _fa}), - (-1, {_sV: _fd_____}), - ), -) - -REPLACE_ROOT_VOLUME_TASK: StaticSchema = ( - 18, - n0, - _RRVT, - 0, - (_RRVTI, _II, _TSas, _ST, _CTom, _Tag, _IIm, _SIn, _DRRV), - ( - (REPLACE_ROOT_VOLUME_TASK_ID, {_aQN: _RRVTI, _sN: _rRVTI}), - (STRING, {_aQN: _II, _sN: _iI}), - (REPLACE_ROOT_VOLUME_TASK_STATE, {_aQN: _TSas, _sN: _tSa}), - (STRING, {_aQN: _ST, _sN: _sTt}), - (STRING, {_aQN: _CTom, _sN: _cTom}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), - (BOOLEAN, {_aQN: _DRRV, _sN: _dRRV}), - ), -) - -CREATE_REPLACE_ROOT_VOLUME_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CRRVTO, - {_sSI: _cCRRVTRo, _smit: None}, - (_RRVT,), - ((REPLACE_ROOT_VOLUME_TASK, {_aQN: _RRVT, _sN: _rRVT}),), -) - -CREATE_REPLACE_ROOT_VOLUME_TASK: StaticOperationSchema = ( - 23, - n0, - _CRRVT, - 0, - CREATE_REPLACE_ROOT_VOLUME_TASK_INPUT, - CREATE_REPLACE_ROOT_VOLUME_TASK_OUTPUT, - (), -) - -PRICE_SCHEDULE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _PSS, - 0, - (_Te, _Pric, _CC), - ( - (LONG, {_aQN: _Te, _sN: _te}), - (DOUBLE, {_aQN: _Pric, _sN: _pric}), - (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), - ), -) - -PRICE_SCHEDULE_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _PSSL, - 0, - (_me,), - ((PRICE_SCHEDULE_SPECIFICATION, {_sN: _i}),), -) - -CREATE_RESERVED_INSTANCES_LISTING_INPUT: StaticSchema = ( - 18, - n0, - _CRILIr, - {_sSI: _cCRILRom, _sm: None}, - (_RIIes, _IC, _PSric, _CTl), - ( - (RESERVATION_ID, {_aQN: _RIIes, _sN: _rII, _smi: None}), - (INTEGER, {_aQN: _IC, _sN: _iC, _smi: None}), - (PRICE_SCHEDULE_SPECIFICATION_LIST, {_aQN: _PSric, _sN: _pSri, _smi: None}), - (STRING, {_aQN: _CTl, _sN: _cTl, _smi: None}), - ), -) - -CREATE_RESERVED_INSTANCES_LISTING_OUTPUT: StaticSchema = ( - 18, - n0, - _CRILOr, - {_sSI: _cCRILRoma, _smit: None}, - (_RILe,), - ((RESERVED_INSTANCES_LISTING_LIST, {_aQN: _RILS, _sN: _rILS}),), -) - -CREATE_RESERVED_INSTANCES_LISTING: StaticOperationSchema = ( - 23, - n0, - _CRILr, - 0, - CREATE_RESERVED_INSTANCES_LISTING_INPUT, - CREATE_RESERVED_INSTANCES_LISTING_OUTPUT, - (), -) - -CREATE_RESTORE_IMAGE_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CRITI, - {_sSI: _cCRITR, _sm: None}, - (_Bu, _OK, _N, _TSa, _DR), - ( - (STRING, 1), - (STRING, 1), - (IMAGE_NAME_REQUEST, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -CREATE_RESTORE_IMAGE_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CRITO, - {_sSI: _cCRITRo, _smit: None}, - (_IIm,), - ((STRING, {_aQN: _IIm, _sN: _iIm}),), -) - -CREATE_RESTORE_IMAGE_TASK: StaticOperationSchema = ( - 23, - n0, - _CRIT, - 0, - CREATE_RESTORE_IMAGE_TASK_INPUT, - CREATE_RESTORE_IMAGE_TASK_OUTPUT, - (), -) - -CORE_NETWORK_ARN: StaticSchema = (3, n0, _CNA, 0) - -ODB_NETWORK_ARN: StaticSchema = (3, n0, _ONA, 0) - -VPC_PEERING_CONNECTION_ID: StaticSchema = (3, n0, _VPCI, 0) - -CREATE_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _CRIr, - {_sSI: _cCRR, _sm: None}, - ( - _DPLI, - _VEI, - _TGI, - _LGI, - _CGI, - _CNA, - _ONA, - _DR, - _RTIo, - _DCB, - _GI, - _DICB, - _EOIGI, - _II, - _NII, - _VPCI, - _NGI, - ), - ( - (PREFIX_LIST_RESOURCE_ID, 0), - (VPC_ENDPOINT_ID, 0), - (TRANSIT_GATEWAY_ID, 0), - (LOCAL_GATEWAY_ID, 0), - (CARRIER_GATEWAY_ID, 0), - (CORE_NETWORK_ARN, 0), - (ODB_NETWORK_ARN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), - (STRING, {_aQN: _DCB, _sN: _dCB}), - (ROUTE_GATEWAY_ID, {_aQN: _GI, _sN: _gI}), - (STRING, {_aQN: _DICB, _sN: _dICB}), - (EGRESS_ONLY_INTERNET_GATEWAY_ID, {_aQN: _EOIGI, _sN: _eOIGI}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), - (VPC_PEERING_CONNECTION_ID, {_aQN: _VPCI, _sN: _vPCI}), - (NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), - ), -) - -CREATE_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _CROr, - {_sSI: _cCRRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -CREATE_ROUTE: StaticOperationSchema = ( - 23, - n0, - _CRr, - 0, - CREATE_ROUTE_INPUT, - CREATE_ROUTE_OUTPUT, - (), -) - -ROUTE_SERVER_PERSIST_ROUTES_ACTION: StaticSchema = ( - 14, - n0, - _RSPRA, - 0, - (_ENABLE, _DISABLE, _RESET), - ((-1, {_sV: _e}), (-1, {_sV: _disa}), (-1, {_sV: _res})), -) - -CREATE_ROUTE_SERVER_INPUT: StaticSchema = ( - 18, - n0, - _CRSI, - {_sSI: _cCRSR, _sm: None}, - (_ASA, _CTl, _DR, _PRe, _PRD, _SNE, _TSa), - ( - (LONG, 1), - (STRING, 2), - (BOOLEAN, 0), - (ROUTE_SERVER_PERSIST_ROUTES_ACTION, 0), - (BOXED_LONG, 0), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -ROUTE_SERVER_PERSIST_ROUTES_STATE: StaticSchema = ( - 14, - n0, - _RSPRS, - 0, - (_ENABLING, _ENABLED, _RESETTING, _DISABLING, _DISABLED, _MODIFYING), - ( - (-1, {_sV: _en}), - (-1, {_sV: _ena}), - (-1, {_sV: _rese}), - (-1, {_sV: _disab}), - (-1, {_sV: _d}), - (-1, {_sV: _mo}), - ), -) - -ROUTE_SERVER_STATE: StaticSchema = ( - 14, - n0, - _RSS, - 0, - (_PENDING, _AVAILABLE, _MODIFYING, _DELETING, _DELETED), - ( - (-1, {_sV: _p}), - (-1, {_sV: _av}), - (-1, {_sV: _mo}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - ), -) - -ROUTE_SERVER: StaticSchema = ( - 18, - n0, - _RSo, - 0, - (_RSI, _ASA, _St, _Tag, _PRSe, _PRD, _SNE, _STA), - ( - (ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), - (LONG, {_aQN: _ASA, _sN: _aSA}), - (ROUTE_SERVER_STATE, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (ROUTE_SERVER_PERSIST_ROUTES_STATE, {_aQN: _PRSe, _sN: _pRSe}), - (BOXED_LONG, {_aQN: _PRD, _sN: _pRD}), - (BOOLEAN, {_aQN: _SNE, _sN: _sNE}), - (STRING, {_aQN: _STA, _sN: _sTA}), - ), -) - -CREATE_ROUTE_SERVER_OUTPUT: StaticSchema = ( - 18, - n0, - _CRSO, - {_sSI: _cCRSRo, _smit: None}, - (_RSo,), - ((ROUTE_SERVER, {_aQN: _RSo, _sN: _rSo}),), -) - -CREATE_ROUTE_SERVER: StaticOperationSchema = ( - 23, - n0, - _CRSr, - 0, - CREATE_ROUTE_SERVER_INPUT, - CREATE_ROUTE_SERVER_OUTPUT, - (), -) - -CREATE_ROUTE_SERVER_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CRSEI, - {_sSI: _cCRSER, _sm: None}, - (_RSI, _SIu, _CTl, _DR, _TSa), - ( - (ROUTE_SERVER_ID, 1), - (SUBNET_ID, 1), - (STRING, 2), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -ROUTE_SERVER_ENDPOINT_ID: StaticSchema = (3, n0, _RSEI, 0) - -ROUTE_SERVER_ENDPOINT_STATE: StaticSchema = ( - 14, - n0, - _RSES, - 0, - (_PENDING, _AVAILABLE, _DELETING, _DELETED, _FAILING, _FAILED, _DF_), - ( - (-1, {_sV: _p}), - (-1, {_sV: _av}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - (-1, {_sV: _fai}), - (-1, {_sV: _fa}), - (-1, {_sV: _df____}), - ), -) - -ROUTE_SERVER_ENDPOINT: StaticSchema = ( - 18, - n0, - _RSE, - 0, - (_RSI, _RSEI, _VI, _SIu, _EIn, _EAn, _St, _FRa, _Tag), - ( - (ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), - (ROUTE_SERVER_ENDPOINT_ID, {_aQN: _RSEI, _sN: _rSEI}), - (VPC_ID, {_aQN: _VI, _sN: _vI}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (NETWORK_INTERFACE_ID, {_aQN: _EIn, _sN: _eIn}), - (STRING, {_aQN: _EAn, _sN: _eA}), - (ROUTE_SERVER_ENDPOINT_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _FRa, _sN: _fRa}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_ROUTE_SERVER_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CRSEO, - {_sSI: _cCRSERo, _smit: None}, - (_RSE,), - ((ROUTE_SERVER_ENDPOINT, {_aQN: _RSE, _sN: _rSE}),), -) - -CREATE_ROUTE_SERVER_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CRSE, - 0, - CREATE_ROUTE_SERVER_ENDPOINT_INPUT, - CREATE_ROUTE_SERVER_ENDPOINT_OUTPUT, - (), -) - -ROUTE_SERVER_PEER_LIVENESS_MODE: StaticSchema = ( - 14, - n0, - _RSPLM, - 0, - (_BFD, _BK), - ((-1, {_sV: _bf}), (-1, {_sV: _bk})), -) - -ROUTE_SERVER_BGP_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _RSBOR, - 0, - (_PAee, _PLD), - ((LONG, 1), (ROUTE_SERVER_PEER_LIVENESS_MODE, 0)), -) - -CREATE_ROUTE_SERVER_PEER_INPUT: StaticSchema = ( - 18, - n0, - _CRSPI, - {_sSI: _cCRSPR, _sm: None}, - (_RSEI, _PAe, _BO, _DR, _TSa), - ( - (ROUTE_SERVER_ENDPOINT_ID, 1), - (STRING, 1), - (ROUTE_SERVER_BGP_OPTIONS_REQUEST, 1), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -ROUTE_SERVER_BFD_STATE: StaticSchema = ( - 14, - n0, - _RSBS, - 0, - (_UP__, _DOWN), - ((-1, {_sV: _up_}), (-1, {_sV: _dow})), -) - -ROUTE_SERVER_BFD_STATUS: StaticSchema = ( - 18, - n0, - _RSBSo, - 0, - (_Sta,), - ((ROUTE_SERVER_BFD_STATE, {_aQN: _Sta, _sN: _sta}),), -) - -ROUTE_SERVER_BGP_OPTIONS: StaticSchema = ( - 18, - n0, - _RSBO, - 0, - (_PAee, _PLD), - ( - (LONG, {_aQN: _PAee, _sN: _pAee}), - (ROUTE_SERVER_PEER_LIVENESS_MODE, {_aQN: _PLD, _sN: _pLD}), - ), -) - -ROUTE_SERVER_BGP_STATE: StaticSchema = ( - 14, - n0, - _RSBSou, - 0, - (_UP__, _DOWN), - ((-1, {_sV: _up_}), (-1, {_sV: _dow})), -) - -ROUTE_SERVER_BGP_STATUS: StaticSchema = ( - 18, - n0, - _RSBSout, - 0, - (_Sta,), - ((ROUTE_SERVER_BGP_STATE, {_aQN: _Sta, _sN: _sta}),), -) - -ROUTE_SERVER_PEER_ID: StaticSchema = (3, n0, _RSPI, 0) - -ROUTE_SERVER_PEER_STATE: StaticSchema = ( - 14, - n0, - _RSPS, - 0, - (_PENDING, _AVAILABLE, _DELETING, _DELETED, _FAILING, _FAILED), - ( - (-1, {_sV: _p}), - (-1, {_sV: _av}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - (-1, {_sV: _fai}), - (-1, {_sV: _fa}), - ), -) - -ROUTE_SERVER_PEER: StaticSchema = ( - 18, - n0, - _RSP, - 0, - (_RSPI, _RSEI, _RSI, _VI, _SIu, _St, _FRa, _EEI, _EEA, _PAe, _BO, _BSg, _BSf, _Tag), - ( - (ROUTE_SERVER_PEER_ID, {_aQN: _RSPI, _sN: _rSPI}), - (ROUTE_SERVER_ENDPOINT_ID, {_aQN: _RSEI, _sN: _rSEI}), - (ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), - (VPC_ID, {_aQN: _VI, _sN: _vI}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (ROUTE_SERVER_PEER_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _FRa, _sN: _fRa}), - (NETWORK_INTERFACE_ID, {_aQN: _EEI, _sN: _eEI}), - (STRING, {_aQN: _EEA, _sN: _eEA}), - (STRING, {_aQN: _PAe, _sN: _pAe}), - (ROUTE_SERVER_BGP_OPTIONS, {_aQN: _BO, _sN: _bO}), - (ROUTE_SERVER_BGP_STATUS, {_aQN: _BSg, _sN: _bSg}), - (ROUTE_SERVER_BFD_STATUS, {_aQN: _BSf, _sN: _bSf}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_ROUTE_SERVER_PEER_OUTPUT: StaticSchema = ( - 18, - n0, - _CRSPO, - {_sSI: _cCRSPRo, _smit: None}, - (_RSP,), - ((ROUTE_SERVER_PEER, {_aQN: _RSP, _sN: _rSP}),), -) - -CREATE_ROUTE_SERVER_PEER: StaticOperationSchema = ( - 23, - n0, - _CRSP, - 0, - CREATE_ROUTE_SERVER_PEER_INPUT, - CREATE_ROUTE_SERVER_PEER_OUTPUT, - (), -) - -CREATE_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _CRTI, - {_sSI: _cCRTR, _sm: None}, - (_TSa, _CTl, _DR, _VI), - ( - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), - ), -) - -ROUTE_TABLE_ASSOCIATION: StaticSchema = ( - 18, - n0, - _RTA, - 0, - (_Mai, _RTAI, _RTIo, _SIu, _GI, _PIP, _ASss), - ( - (BOOLEAN, {_aQN: _Mai, _sN: _main}), - (STRING, {_aQN: _RTAI, _sN: _rTAI}), - (STRING, {_aQN: _RTIo, _sN: _rTIo}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (STRING, {_aQN: _GI, _sN: _gI}), - (STRING, {_aQN: _PIP, _sN: _pIP}), - (ROUTE_TABLE_ASSOCIATION_STATE, {_aQN: _ASss, _sN: _aSs}), - ), -) - -ROUTE_TABLE_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _RTAL, - 0, - (_me,), - ((ROUTE_TABLE_ASSOCIATION, {_sN: _i}),), -) - -PROPAGATING_VGW: StaticSchema = ( - 18, - n0, - _PVr, - 0, - (_GI,), - ((STRING, {_aQN: _GI, _sN: _gI}),), -) - -PROPAGATING_VGW_LIST: StaticSchema = ( - 16, - n0, - _PVL, - 0, - (_me,), - ((PROPAGATING_VGW, {_sN: _i}),), -) - -ROUTE_ORIGIN: StaticSchema = ( - 14, - n0, - _ROo, - 0, - (_CRTr, _CRr, _EVRP, _Adv), - ((-1, {_sV: _CRTr}), (-1, {_sV: _CRr}), (-1, {_sV: _EVRP}), (-1, {_sV: _Adv})), -) - -ROUTE_STATE: StaticSchema = ( - 14, - n0, - _RSou, - 0, - (_act, _bl, _fil), - ((-1, {_sV: _act}), (-1, {_sV: _bl}), (-1, {_sV: _fil})), -) - -ROUTE: StaticSchema = ( - 18, - n0, - _Rou, - 0, - ( - _DCB, - _DICB, - _DPLI, - _EOIGI, - _GI, - _II, - _IOIn, - _NGI, - _TGI, - _LGI, - _CGI, - _NII, - _Or, - _St, - _VPCI, - _CNA, - _ONA, - _IA, - ), - ( - (STRING, {_aQN: _DCB, _sN: _dCB}), - (STRING, {_aQN: _DICB, _sN: _dICB}), - (STRING, {_aQN: _DPLI, _sN: _dPLI}), - (STRING, {_aQN: _EOIGI, _sN: _eOIGI}), - (STRING, {_aQN: _GI, _sN: _gI}), - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _IOIn, _sN: _iOIn}), - (STRING, {_aQN: _NGI, _sN: _nGI}), - (STRING, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _LGI, _sN: _lGI}), - (CARRIER_GATEWAY_ID, {_aQN: _CGI, _sN: _cGI}), - (STRING, {_aQN: _NII, _sN: _nII}), - (ROUTE_ORIGIN, {_aQN: _Or, _sN: _or}), - (ROUTE_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _VPCI, _sN: _vPCI}), - (CORE_NETWORK_ARN, {_aQN: _CNA, _sN: _cNA}), - (ODB_NETWORK_ARN, {_aQN: _ONA, _sN: _oNA}), - (STRING, {_aQN: _IA, _sN: _iApd}), - ), -) - -ROUTE_LIST: StaticSchema = (16, n0, _RL, 0, (_me,), ((ROUTE, {_sN: _i}),)) - -ROUTE_TABLE: StaticSchema = ( - 18, - n0, - _RTo, - 0, - (_As, _PVro, _RTIo, _Rout, _Tag, _VI, _OIw), - ( - (ROUTE_TABLE_ASSOCIATION_LIST, {_aQN: _ASsso, _sN: _aSss}), - (PROPAGATING_VGW_LIST, {_aQN: _PVS, _sN: _pVS}), - (STRING, {_aQN: _RTIo, _sN: _rTIo}), - (ROUTE_LIST, {_aQN: _RSout, _sN: _rSou}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _OIw, _sN: _oI}), - ), -) - -CREATE_ROUTE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _CRTO, - {_sSI: _cCRTRo, _smit: None}, - (_RTo, _CTl), - ((ROUTE_TABLE, {_aQN: _RTo, _sN: _rTo}), (STRING, {_aQN: _CTl, _sN: _cTl})), -) - -CREATE_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _CRTr, - 0, - CREATE_ROUTE_TABLE_INPUT, - CREATE_ROUTE_TABLE_OUTPUT, - (), -) - -SECONDARY_NETWORK_TYPE: StaticSchema = ( - 14, - n0, - _SNT, - 0, - (_rdma,), - ((-1, {_sV: _rdma}),), -) - -CREATE_SECONDARY_NETWORK_INPUT: StaticSchema = ( - 18, - n0, - _CSNI, - {_sSI: _cCSNR, _sm: None}, - (_CTl, _DR, _ICBp, _NTe, _TSa), - ( - (STRING, 2), - (BOOLEAN, 0), - (STRING, 1), - (SECONDARY_NETWORK_TYPE, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -SECONDARY_NETWORK_CIDR_ASSOCIATION_ID: StaticSchema = (3, n0, _SNCAI, 0) - -SECONDARY_NETWORK_CIDR_BLOCK_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _SNCBAS, - 0, - (_as, _ass, _af, _di, _dis, _df_), - ( - (-1, {_sV: _as}), - (-1, {_sV: _ass}), - (-1, {_sV: _af_}), - (-1, {_sV: _di}), - (-1, {_sV: _dis}), - (-1, {_sV: _df__}), - ), -) - -SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( - 18, - n0, - _SNICBA, - 0, - (_AIs, _CB, _St, _SRt), - ( - (SECONDARY_NETWORK_CIDR_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs}), - (STRING, {_aQN: _CB, _sN: _cB}), - (SECONDARY_NETWORK_CIDR_BLOCK_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SRt, _sN: _sRt}), - ), -) - -SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _SNICBAL, - 0, - (_me,), - ((SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), -) - -SECONDARY_NETWORK_ID: StaticSchema = (3, n0, _SNI, 0) - -SECONDARY_NETWORK_STATE: StaticSchema = ( - 14, - n0, - _SNS, - 0, - (_cip, _cc_, _cf________________________, _dip_, _dc_, _df___), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - ), -) - -SECONDARY_NETWORK: StaticSchema = ( - 18, - n0, - _SNec, - 0, - (_SNI, _SNA, _OIw, _Ty, _St, _SRt, _ICBAp, _Tag), - ( - (SECONDARY_NETWORK_ID, {_aQN: _SNI, _sN: _sNI}), - (STRING, {_aQN: _SNA, _sN: _sNA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (SECONDARY_NETWORK_TYPE, {_aQN: _Ty, _sN: _ty}), - (SECONDARY_NETWORK_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SRt, _sN: _sRt}), - ( - SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION_LIST, - {_aQN: _ICBASp, _sN: _iCBASp}, - ), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_SECONDARY_NETWORK_OUTPUT: StaticSchema = ( - 18, - n0, - _CSNO, - {_sSI: _cCSNRo, _smit: None}, - (_SNec, _CTl), - ((SECONDARY_NETWORK, {_aQN: _SNec, _sN: _sNec}), (STRING, {_aQN: _CTl, _sN: _cTl})), -) - -CREATE_SECONDARY_NETWORK: StaticOperationSchema = ( - 23, - n0, - _CSN, - 0, - CREATE_SECONDARY_NETWORK_INPUT, - CREATE_SECONDARY_NETWORK_OUTPUT, - (), -) - -CREATE_SECONDARY_SUBNET_INPUT: StaticSchema = ( - 18, - n0, - _CSSI, - {_sSI: _cCSSR, _sm: None}, - (_CTl, _AZ, _AZI, _DR, _ICBp, _SNI, _TSa), - ( - (STRING, 2), - (AVAILABILITY_ZONE_NAME, 0), - (AVAILABILITY_ZONE_ID, 0), - (BOOLEAN, 0), - (STRING, 1), - (SECONDARY_NETWORK_ID, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -SECONDARY_SUBNET_CIDR_ASSOCIATION_ID: StaticSchema = (3, n0, _SSCAI, 0) - -SECONDARY_SUBNET_CIDR_BLOCK_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _SSCBAS, - 0, - (_as, _ass, _af, _di, _dis, _df_), - ( - (-1, {_sV: _as}), - (-1, {_sV: _ass}), - (-1, {_sV: _af_}), - (-1, {_sV: _di}), - (-1, {_sV: _dis}), - (-1, {_sV: _df__}), - ), -) - -SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( - 18, - n0, - _SSICBA, - 0, - (_AIs, _CB, _St, _SRt), - ( - (SECONDARY_SUBNET_CIDR_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs}), - (STRING, {_aQN: _CB, _sN: _cB}), - (SECONDARY_SUBNET_CIDR_BLOCK_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SRt, _sN: _sRt}), - ), -) - -SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _SSICBAL, - 0, - (_me,), - ((SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), -) - -SECONDARY_SUBNET_STATE: StaticSchema = ( - 14, - n0, - _SSS, - 0, - (_cip, _cc_, _cf________________________, _dip_, _dc_, _df___), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _df____}), - ), -) - -SECONDARY_SUBNET: StaticSchema = ( - 18, - n0, - _SSe, - 0, - (_SSIe, _SSA, _SNI, _SNT, _OIw, _AZI, _AZ, _ICBAp, _St, _SRt, _Tag), - ( - (SECONDARY_SUBNET_ID, {_aQN: _SSIe, _sN: _sSIe}), - (STRING, {_aQN: _SSA, _sN: _sSA}), - (SECONDARY_NETWORK_ID, {_aQN: _SNI, _sN: _sNI}), - (SECONDARY_NETWORK_TYPE, {_aQN: _SNT, _sN: _sNT}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), - ( - SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION_LIST, - {_aQN: _ICBASp, _sN: _iCBASp}, - ), - (SECONDARY_SUBNET_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SRt, _sN: _sRt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_SECONDARY_SUBNET_OUTPUT: StaticSchema = ( - 18, - n0, - _CSSO, - {_sSI: _cCSSRo, _smit: None}, - (_SSe, _CTl), - ((SECONDARY_SUBNET, {_aQN: _SSe, _sN: _sSe}), (STRING, {_aQN: _CTl, _sN: _cTl})), -) - -CREATE_SECONDARY_SUBNET: StaticOperationSchema = ( - 23, - n0, - _CSS, - 0, - CREATE_SECONDARY_SUBNET_INPUT, - CREATE_SECONDARY_SUBNET_OUTPUT, - (), -) - -CREATE_SECURITY_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CSGI, - {_sSI: _cCSGR, _sm: None}, - (_Des, _GN, _VI, _TSa, _DR), - ( - (STRING, {_sN: _GD, _smi: None}), - (STRING, 1), - (VPC_ID, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -CREATE_SECURITY_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CSGO, - {_sSI: _cCSGRo, _smit: None}, - (_GIr, _Tag, _SGA), - ( - (STRING, {_aQN: _GIr, _sN: _gIr}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _SGA, _sN: _sGA}), - ), -) - -CREATE_SECURITY_GROUP: StaticOperationSchema = ( - 23, - n0, - _CSG, - 0, - CREATE_SECURITY_GROUP_INPUT, - CREATE_SECURITY_GROUP_OUTPUT, - (), -) - -CREATE_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _CSIr, - {_sSI: _cCSRom, _sm: None}, - (_Des, _OA, _VIo, _TSa, _Loca, _DR), - ( - (STRING, 0), - (STRING, 0), - (VOLUME_ID, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (SNAPSHOT_LOCATION_ENUM, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -SNAPSHOT_COMPLETION_DURATION_MINUTES_RESPONSE: StaticSchema = (7, n0, _SCDMRn, 0) - -SNAPSHOT_STATE: StaticSchema = ( - 14, - n0, - _SSn, - 0, - (_p, _compl, _er, _rec, _reco), - ( - (-1, {_sV: _p}), - (-1, {_sV: _compl}), - (-1, {_sV: _er}), - (-1, {_sV: _rec}), - (-1, {_sV: _reco}), - ), -) - -STORAGE_TIER: StaticSchema = ( - 14, - n0, - _STt, - 0, - (_arc, _stan), - ((-1, {_sV: _arc}), (-1, {_sV: _stan})), -) - -TRANSFER_TYPE: StaticSchema = ( - 14, - n0, - _TTra, - 0, - (_tb, _stan), - ((-1, {_sV: _tb_}), (-1, {_sV: _stan})), -) - -CREATE_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _CSOr, - {_sSI: _cSom, _smit: None}, - ( - _OAw, - _OA, - _Tag, - _STt, - _RET, - _STs, - _AZ, - _TTra, - _CDM, - _CTomp, - _FSSIB, - _SIn, - _VIo, - _St, - _SMta, - _ST, - _Prog, - _OIw, - _Des, - _VSol, - _En, - _KKI, - _DEKI, - ), - ( - (STRING, {_aQN: _OAw, _sN: _oAw}), - (STRING, {_aQN: _OA, _sN: _oA}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STORAGE_TIER, {_aQN: _STt, _sN: _sTto}), - (MILLISECOND_DATE_TIME, {_aQN: _RET, _sN: _rET}), - (SSE_TYPE, {_aQN: _STs, _sN: _sTs}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (TRANSFER_TYPE, {_aQN: _TTra, _sN: _tTr}), - (SNAPSHOT_COMPLETION_DURATION_MINUTES_RESPONSE, {_aQN: _CDM, _sN: _cDM}), - (MILLISECOND_DATE_TIME, {_aQN: _CTomp, _sN: _cTomp}), - (LONG, {_aQN: _FSSIB, _sN: _fSSIB}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (SNAPSHOT_STATE, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (INTEGER, {_aQN: _VSol, _sN: _vSo}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (STRING, {_aQN: _KKI, _sN: _kKI}), - (STRING, {_aQN: _DEKI, _sN: _dEKI}), - ), -) - -CREATE_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _CSre, - 0, - CREATE_SNAPSHOT_INPUT, - CREATE_SNAPSHOT_OUTPUT, - (), -) - -COPY_TAGS_FROM_SOURCE: StaticSchema = (14, n0, _CTFS, 0, (_vo,), ((-1, {_sV: _vo}),)) - -VOLUME_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _VISL, - 0, - (_me,), - ((VOLUME_ID, {_sN: _VIo}),), -) - -INSTANCE_ID_WITH_VOLUME_RESOLVER: StaticSchema = (3, n0, _IIWVR, 0) - -INSTANCE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _ISn, - 0, - (_II, _EBV, _EDVI), - ( - (INSTANCE_ID_WITH_VOLUME_RESOLVER, 1), - (BOOLEAN, 0), - (VOLUME_ID_STRING_LIST, {_sN: _EDVIx}), - ), -) - -CREATE_SNAPSHOTS_INPUT: StaticSchema = ( - 18, - n0, - _CSIre, - {_sSI: _cCSRoma, _sm: None}, - (_Des, _ISn, _OA, _TSa, _DR, _CTFS, _Loca), - ( - (STRING, 0), - (INSTANCE_SPECIFICATION, 1), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - (COPY_TAGS_FROM_SOURCE, 0), - (SNAPSHOT_LOCATION_ENUM, 0), - ), -) - -SNAPSHOT_INFO: StaticSchema = ( - 18, - n0, - _SIna, - 0, - (_Des, _Tag, _En, _VIo, _St, _VSol, _ST, _Prog, _OIw, _SIn, _OA, _STs, _AZ), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (SNAPSHOT_STATE, {_aQN: _St, _sN: _st}), - (INTEGER, {_aQN: _VSol, _sN: _vSo}), - (MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _OA, _sN: _oA}), - (SSE_TYPE, {_aQN: _STs, _sN: _sTs}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - ), -) - -SNAPSHOT_SET: StaticSchema = (16, n0, _SSna, 0, (_me,), ((SNAPSHOT_INFO, {_sN: _i}),)) - -CREATE_SNAPSHOTS_OUTPUT: StaticSchema = ( - 18, - n0, - _CSOre, - {_sSI: _cCSRomam, _smit: None}, - (_Sn,), - ((SNAPSHOT_SET, {_aQN: _SSna, _sN: _sSn}),), -) - -CREATE_SNAPSHOTS: StaticOperationSchema = ( - 23, - n0, - _CSrea, - 0, - CREATE_SNAPSHOTS_INPUT, - CREATE_SNAPSHOTS_OUTPUT, - (), -) - -CREATE_SPOT_DATAFEED_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _CSDSI, - {_sSI: _cCSDSR, _sm: None}, - (_DR, _Bu, _Pre), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (STRING, {_aQN: _Bu, _sN: _buc, _smi: None}), - (STRING, {_aQN: _Pre, _sN: _pre}), - ), -) - -SPOT_INSTANCE_STATE_FAULT: StaticSchema = ( - 18, - n0, - _SISF, - 0, - (_C, _Me), - ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -DATAFEED_SUBSCRIPTION_STATE: StaticSchema = ( - 14, - n0, - _DSS, - 0, - (_Act, _Ina), - ((-1, {_sV: _Act}), (-1, {_sV: _Ina})), -) - -SPOT_DATAFEED_SUBSCRIPTION: StaticSchema = ( - 18, - n0, - _SDS, - 0, - (_Bu, _Fa, _OIw, _Pre, _St), - ( - (STRING, {_aQN: _Bu, _sN: _buc}), - (SPOT_INSTANCE_STATE_FAULT, {_aQN: _Fa, _sN: _fau}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _Pre, _sN: _pre}), - (DATAFEED_SUBSCRIPTION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -CREATE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSDSO, - {_sSI: _cCSDSRo, _smit: None}, - (_SDS,), - ((SPOT_DATAFEED_SUBSCRIPTION, {_aQN: _SDS, _sN: _sDS}),), -) - -CREATE_SPOT_DATAFEED_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _CSDS, - 0, - CREATE_SPOT_DATAFEED_SUBSCRIPTION_INPUT, - CREATE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT, - (), -) - -S3_OBJECT_TAG: StaticSchema = (18, n0, _SOT, 0, (_Ke, _Va), ((STRING, 0), (STRING, 0))) - -S3_OBJECT_TAG_LIST: StaticSchema = ( - 16, - n0, - _SOTL, - 0, - (_me,), - ((S3_OBJECT_TAG, {_sN: _i}),), -) - -CREATE_STORE_IMAGE_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CSITI, - {_sSI: _cCSITR, _sm: None}, - (_IIm, _Bu, _SOTb, _DR), - ((IMAGE_ID, 1), (STRING, 1), (S3_OBJECT_TAG_LIST, {_sN: _SOT}), (BOOLEAN, 0)), -) - -CREATE_STORE_IMAGE_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CSITO, - {_sSI: _cCSITRo, _smit: None}, - (_OK,), - ((STRING, {_aQN: _OK, _sN: _oK}),), -) - -CREATE_STORE_IMAGE_TASK: StaticOperationSchema = ( - 23, - n0, - _CSIT, - 0, - CREATE_STORE_IMAGE_TASK_INPUT, - CREATE_STORE_IMAGE_TASK_OUTPUT, - (), -) - -CREATE_SUBNET_INPUT: StaticSchema = ( - 18, - n0, - _CSIrea, - {_sSI: _cCSRomama, _sm: None}, - (_TSa, _AZ, _AZI, _CB, _ICB, _OA, _VI, _IN, _IIPIp, _INLp, _IIPI, _INL, _DR), - ( - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (VPC_ID, 1), - (BOOLEAN, 0), - (IPAM_POOL_ID, 0), - (NETMASK_LENGTH, 0), - (IPAM_POOL_ID, 0), - (NETMASK_LENGTH, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -CREATE_SUBNET_OUTPUT: StaticSchema = ( - 18, - n0, - _CSOrea, - {_sSI: _cCSRomamaz, _smit: None}, - (_Sub,), - ((SUBNET, {_aQN: _Sub, _sN: _su}),), -) - -CREATE_SUBNET: StaticOperationSchema = ( - 23, - n0, - _CSreat, - 0, - CREATE_SUBNET_INPUT, - CREATE_SUBNET_OUTPUT, - (), -) - -SUBNET_CIDR_RESERVATION_TYPE: StaticSchema = ( - 14, - n0, - _SCRT, - 0, - (_pre, _expl), - ((-1, {_sV: _pre}), (-1, {_sV: _expl})), -) - -CREATE_SUBNET_CIDR_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _CSCRI, - {_sSI: _cCSCRR, _sm: None}, - (_SIu, _Ci, _RTes, _Des, _DR, _TSa), - ( - (SUBNET_ID, 1), - (STRING, 1), - (SUBNET_CIDR_RESERVATION_TYPE, 1), - (STRING, 0), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -SUBNET_CIDR_RESERVATION_ID: StaticSchema = (3, n0, _SCRIu, 0) - -SUBNET_CIDR_RESERVATION: StaticSchema = ( - 18, - n0, - _SCRu, - 0, - (_SCRIu, _SIu, _Ci, _RTes, _OIw, _Des, _Tag), - ( - (SUBNET_CIDR_RESERVATION_ID, {_aQN: _SCRIu, _sN: _sCRIu}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (STRING, {_aQN: _Ci, _sN: _ci}), - (SUBNET_CIDR_RESERVATION_TYPE, {_aQN: _RTes, _sN: _rTe}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_SUBNET_CIDR_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSCRO, - {_sSI: _cCSCRRo, _smit: None}, - (_SCRu,), - ((SUBNET_CIDR_RESERVATION, {_aQN: _SCRu, _sN: _sCRu}),), -) - -CREATE_SUBNET_CIDR_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _CSCR, - 0, - CREATE_SUBNET_CIDR_RESERVATION_INPUT, - CREATE_SUBNET_CIDR_RESERVATION_OUTPUT, - (), -) - -TAGGABLE_RESOURCE_ID: StaticSchema = (3, n0, _TRI, 0) - -RESOURCE_ID_LIST: StaticSchema = ( - 16, - n0, - _RILes, - 0, - (_me,), - ((TAGGABLE_RESOURCE_ID, 0),), -) - -CREATE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _CTIr, - {_sSI: _cCTR, _sm: None}, - (_DR, _Res, _Tag), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (RESOURCE_ID_LIST, {_sN: _RIe, _smi: None}), - (TAG_LIST, {_sN: _Ta, _smi: None}), - ), -) - -CREATE_TAGS_OUTPUT: StaticSchema = (18, n0, _CTO, {_sSI: _sU, _smit: None}) - -CREATE_TAGS: StaticOperationSchema = ( - 23, - n0, - _CTre, - 0, - CREATE_TAGS_INPUT, - CREATE_TAGS_OUTPUT, - (), -) - -CREATE_TRAFFIC_MIRROR_FILTER_INPUT: StaticSchema = ( - 18, - n0, - _CTMFI, - {_sSI: _cCTMFR, _sm: None}, - (_Des, _TSa, _DR, _CTl), - ((STRING, 0), (TAG_SPECIFICATION_LIST, {_sN: _TS}), (BOOLEAN, 0), (STRING, 2)), -) - -TRAFFIC_MIRROR_PORT_RANGE: StaticSchema = ( - 18, - n0, - _TMPR, - 0, - (_FP, _TP), - ((INTEGER, {_aQN: _FP, _sN: _fP}), (INTEGER, {_aQN: _TP, _sN: _tP})), -) - -TRAFFIC_MIRROR_RULE_ACTION: StaticSchema = ( - 14, - n0, - _TMRA, - 0, - (_acce, _reje), - ((-1, {_sV: _acce}), (-1, {_sV: _reje})), -) - -TRAFFIC_DIRECTION: StaticSchema = ( - 14, - n0, - _TDr, - 0, - (_ing, _egr), - ((-1, {_sV: _ing}), (-1, {_sV: _egr})), -) - -TRAFFIC_MIRROR_FILTER_RULE: StaticSchema = ( - 18, - n0, - _TMFR, - 0, - (_TMFRI, _TMFI, _TDr, _RN, _RA, _P, _DPR, _SPR, _DCB, _SCB, _Des, _Tag), - ( - (STRING, {_aQN: _TMFRI, _sN: _tMFRI}), - (STRING, {_aQN: _TMFI, _sN: _tMFI}), - (TRAFFIC_DIRECTION, {_aQN: _TDr, _sN: _tD}), - (INTEGER, {_aQN: _RN, _sN: _rN}), - (TRAFFIC_MIRROR_RULE_ACTION, {_aQN: _RA, _sN: _rA}), - (INTEGER, {_aQN: _P, _sN: _pro}), - (TRAFFIC_MIRROR_PORT_RANGE, {_aQN: _DPR, _sN: _dPR}), - (TRAFFIC_MIRROR_PORT_RANGE, {_aQN: _SPR, _sN: _sPR}), - (STRING, {_aQN: _DCB, _sN: _dCB}), - (STRING, {_aQN: _SCB, _sN: _sCB}), - (STRING, {_aQN: _Des, _sN: _desc}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -TRAFFIC_MIRROR_FILTER_RULE_LIST: StaticSchema = ( - 16, - n0, - _TMFRL, - 0, - (_me,), - ((TRAFFIC_MIRROR_FILTER_RULE, {_sN: _i}),), -) - -TRAFFIC_MIRROR_NETWORK_SERVICE: StaticSchema = ( - 14, - n0, - _TMNS, - 0, - (_ad_,), - ((-1, {_sV: _ad__}),), -) - -TRAFFIC_MIRROR_NETWORK_SERVICE_LIST: StaticSchema = ( - 16, - n0, - _TMNSL, - 0, - (_me,), - ((TRAFFIC_MIRROR_NETWORK_SERVICE, {_sN: _i}),), -) - -TRAFFIC_MIRROR_FILTER: StaticSchema = ( - 18, - n0, - _TMF, - 0, - (_TMFI, _IFR, _EFR, _NSe, _Des, _Tag), - ( - (STRING, {_aQN: _TMFI, _sN: _tMFI}), - (TRAFFIC_MIRROR_FILTER_RULE_LIST, {_aQN: _IFRS, _sN: _iFRS}), - (TRAFFIC_MIRROR_FILTER_RULE_LIST, {_aQN: _EFRS, _sN: _eFRS}), - (TRAFFIC_MIRROR_NETWORK_SERVICE_LIST, {_aQN: _NSS, _sN: _nSS}), - (STRING, {_aQN: _Des, _sN: _desc}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRAFFIC_MIRROR_FILTER_OUTPUT: StaticSchema = ( - 18, - n0, - _CTMFO, - {_sSI: _cCTMFRo, _smit: None}, - (_TMF, _CTl), - ( - (TRAFFIC_MIRROR_FILTER, {_aQN: _TMF, _sN: _tMF}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - ), -) - -CREATE_TRAFFIC_MIRROR_FILTER: StaticOperationSchema = ( - 23, - n0, - _CTMF, - 0, - CREATE_TRAFFIC_MIRROR_FILTER_INPUT, - CREATE_TRAFFIC_MIRROR_FILTER_OUTPUT, - (), -) - -TRAFFIC_MIRROR_PORT_RANGE_REQUEST: StaticSchema = ( - 18, - n0, - _TMPRR, - 0, - (_FP, _TP), - ((INTEGER, 0), (INTEGER, 0)), -) - -TRAFFIC_MIRROR_FILTER_ID: StaticSchema = (3, n0, _TMFI, 0) - -CREATE_TRAFFIC_MIRROR_FILTER_RULE_INPUT: StaticSchema = ( - 18, - n0, - _CTMFRI, - {_sSI: _cCTMFRR, _sm: None}, - (_TMFI, _TDr, _RN, _RA, _DPR, _SPR, _P, _DCB, _SCB, _Des, _DR, _CTl, _TSa), - ( - (TRAFFIC_MIRROR_FILTER_ID, 1), - (TRAFFIC_DIRECTION, 1), - (INTEGER, 1), - (TRAFFIC_MIRROR_RULE_ACTION, 1), - (TRAFFIC_MIRROR_PORT_RANGE_REQUEST, 0), - (TRAFFIC_MIRROR_PORT_RANGE_REQUEST, 0), - (INTEGER, 0), - (STRING, 1), - (STRING, 1), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 2), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -CREATE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT: StaticSchema = ( - 18, - n0, - _CTMFRO, - {_sSI: _cCTMFRRo, _smit: None}, - (_TMFR, _CTl), - ( - (TRAFFIC_MIRROR_FILTER_RULE, {_aQN: _TMFR, _sN: _tMFR}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - ), -) - -CREATE_TRAFFIC_MIRROR_FILTER_RULE: StaticOperationSchema = ( - 23, - n0, - _CTMFR, - 0, - CREATE_TRAFFIC_MIRROR_FILTER_RULE_INPUT, - CREATE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT, - (), -) - -TRAFFIC_MIRROR_TARGET_ID: StaticSchema = (3, n0, _TMTI, 0) - -CREATE_TRAFFIC_MIRROR_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _CTMSI, - {_sSI: _cCTMSR, _sm: None}, - (_NII, _TMTI, _TMFI, _PLa, _SNes, _VNI, _Des, _TSa, _DR, _CTl), - ( - (NETWORK_INTERFACE_ID, 1), - (TRAFFIC_MIRROR_TARGET_ID, 1), - (TRAFFIC_MIRROR_FILTER_ID, 1), - (INTEGER, 0), - (INTEGER, 1), - (INTEGER, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - (STRING, 2), - ), -) - -TRAFFIC_MIRROR_SESSION: StaticSchema = ( - 18, - n0, - _TMS, - 0, - (_TMSI, _TMTI, _TMFI, _NII, _OIw, _PLa, _SNes, _VNI, _Des, _Tag), - ( - (STRING, {_aQN: _TMSI, _sN: _tMSI}), - (STRING, {_aQN: _TMTI, _sN: _tMTI}), - (STRING, {_aQN: _TMFI, _sN: _tMFI}), - (STRING, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (INTEGER, {_aQN: _PLa, _sN: _pLa}), - (INTEGER, {_aQN: _SNes, _sN: _sNes}), - (INTEGER, {_aQN: _VNI, _sN: _vNI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRAFFIC_MIRROR_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CTMSO, - {_sSI: _cCTMSRo, _smit: None}, - (_TMS, _CTl), - ( - (TRAFFIC_MIRROR_SESSION, {_aQN: _TMS, _sN: _tMS}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - ), -) - -CREATE_TRAFFIC_MIRROR_SESSION: StaticOperationSchema = ( - 23, - n0, - _CTMS, - 0, - CREATE_TRAFFIC_MIRROR_SESSION_INPUT, - CREATE_TRAFFIC_MIRROR_SESSION_OUTPUT, - (), -) - -CREATE_TRAFFIC_MIRROR_TARGET_INPUT: StaticSchema = ( - 18, - n0, - _CTMTI, - {_sSI: _cCTMTR, _sm: None}, - (_NII, _NLBA, _Des, _TSa, _DR, _CTl, _GLBEI), - ( - (NETWORK_INTERFACE_ID, 0), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - (STRING, 2), - (VPC_ENDPOINT_ID, 0), - ), -) - -TRAFFIC_MIRROR_TARGET_TYPE: StaticSchema = ( - 14, - n0, - _TMTT, - 0, - (_ni, _nlb, _glbe), - ((-1, {_sV: _ni_}), (-1, {_sV: _nlb_}), (-1, {_sV: _glbe_})), -) - -TRAFFIC_MIRROR_TARGET: StaticSchema = ( - 18, - n0, - _TMT, - 0, - (_TMTI, _NII, _NLBA, _Ty, _Des, _OIw, _Tag, _GLBEI), - ( - (STRING, {_aQN: _TMTI, _sN: _tMTI}), - (STRING, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _NLBA, _sN: _nLBA}), - (TRAFFIC_MIRROR_TARGET_TYPE, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _GLBEI, _sN: _gLBEI}), - ), -) - -CREATE_TRAFFIC_MIRROR_TARGET_OUTPUT: StaticSchema = ( - 18, - n0, - _CTMTO, - {_sSI: _cCTMTRo, _smit: None}, - (_TMT, _CTl), - ( - (TRAFFIC_MIRROR_TARGET, {_aQN: _TMT, _sN: _tMT}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - ), -) - -CREATE_TRAFFIC_MIRROR_TARGET: StaticOperationSchema = ( - 23, - n0, - _CTMT, - 0, - CREATE_TRAFFIC_MIRROR_TARGET_INPUT, - CREATE_TRAFFIC_MIRROR_TARGET_OUTPUT, - (), -) - -AUTO_ACCEPT_SHARED_ATTACHMENTS_VALUE: StaticSchema = ( - 14, - n0, - _AASAV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -DEFAULT_ROUTE_TABLE_ASSOCIATION_VALUE: StaticSchema = ( - 14, - n0, - _DRTAV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -DEFAULT_ROUTE_TABLE_PROPAGATION_VALUE: StaticSchema = ( - 14, - n0, - _DRTPV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -MULTICAST_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _MSV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -TRANSIT_GATEWAY_CIDR_BLOCK_STRING_LIST: StaticSchema = ( - 16, - n0, - _TGCBSL, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -VPN_ECMP_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _VESV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -TRANSIT_GATEWAY_REQUEST_OPTIONS: StaticSchema = ( - 18, - n0, - _TGRO, - 0, - (_ASA, _AASA, _DRTA, _DRTP, _VESp, _DS, _SGRS, _MSu, _TGCB), - ( - (LONG, 0), - (AUTO_ACCEPT_SHARED_ATTACHMENTS_VALUE, 0), - (DEFAULT_ROUTE_TABLE_ASSOCIATION_VALUE, 0), - (DEFAULT_ROUTE_TABLE_PROPAGATION_VALUE, 0), - (VPN_ECMP_SUPPORT_VALUE, 0), - (DNS_SUPPORT_VALUE, 0), - (SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, 0), - (MULTICAST_SUPPORT_VALUE, 0), - (TRANSIT_GATEWAY_CIDR_BLOCK_STRING_LIST, 0), - ), -) - -CREATE_TRANSIT_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _CTGI, - {_sSI: _cCTGR, _sm: None}, - (_Des, _O, _TSa, _DR), - ( - (STRING, 0), - (TRANSIT_GATEWAY_REQUEST_OPTIONS, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -ENCRYPTION_STATE_VALUE: StaticSchema = ( - 14, - n0, - _ESV, - 0, - (_en, _ena, _disab, _d), - ((-1, {_sV: _en}), (-1, {_sV: _ena}), (-1, {_sV: _disab}), (-1, {_sV: _d})), -) - -ENCRYPTION_SUPPORT: StaticSchema = ( - 18, - n0, - _ESnc, - 0, - (_ESncr, _SMta), - ( - (ENCRYPTION_STATE_VALUE, {_aQN: _ESncr, _sN: _eSnc}), - (STRING, {_aQN: _SMta, _sN: _sMta}), - ), -) - -TRANSIT_GATEWAY_OPTIONS: StaticSchema = ( - 18, - n0, - _TGO, - 0, - (_ASA, _TGCB, _AASA, _DRTA, _ADRTI, _DRTP, _PDRTI, _VESp, _DS, _SGRS, _MSu, _ESnc), - ( - (LONG, {_aQN: _ASA, _sN: _aSA}), - (VALUE_STRING_LIST, {_aQN: _TGCB, _sN: _tGCB}), - (AUTO_ACCEPT_SHARED_ATTACHMENTS_VALUE, {_aQN: _AASA, _sN: _aASA}), - (DEFAULT_ROUTE_TABLE_ASSOCIATION_VALUE, {_aQN: _DRTA, _sN: _dRTA}), - (STRING, {_aQN: _ADRTI, _sN: _aDRTI}), - (DEFAULT_ROUTE_TABLE_PROPAGATION_VALUE, {_aQN: _DRTP, _sN: _dRTP}), - (STRING, {_aQN: _PDRTI, _sN: _pDRTI}), - (VPN_ECMP_SUPPORT_VALUE, {_aQN: _VESp, _sN: _vESp}), - (DNS_SUPPORT_VALUE, {_aQN: _DS, _sN: _dS}), - (SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, {_aQN: _SGRS, _sN: _sGRS}), - (MULTICAST_SUPPORT_VALUE, {_aQN: _MSu, _sN: _mSu}), - (ENCRYPTION_SUPPORT, {_aQN: _ESnc, _sN: _eSncr}), - ), -) - -TRANSIT_GATEWAY_STATE: StaticSchema = ( - 14, - n0, - _TGS, - 0, - (_p, _av, _mo, _de, _del), - ( - (-1, {_sV: _p}), - (-1, {_sV: _av}), - (-1, {_sV: _mo}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - ), -) - -TRANSIT_GATEWAY: StaticSchema = ( - 18, - n0, - _TGr, - 0, - (_TGI, _TGAra, _St, _OIw, _Des, _CT, _O, _Tag), - ( - (STRING, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _TGAra, _sN: _tGAr}), - (TRANSIT_GATEWAY_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TRANSIT_GATEWAY_OPTIONS, {_aQN: _O, _sN: _o}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRANSIT_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGO, - {_sSI: _cCTGRo, _smit: None}, - (_TGr,), - ((TRANSIT_GATEWAY, {_aQN: _TGr, _sN: _tG}),), -) - -CREATE_TRANSIT_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _CTG, - 0, - CREATE_TRANSIT_GATEWAY_INPUT, - CREATE_TRANSIT_GATEWAY_OUTPUT, - (), -) - -PROTOCOL_VALUE: StaticSchema = (14, n0, _PVrot, 0, (_gre,), ((-1, {_sV: _gre}),)) - -CREATE_TRANSIT_GATEWAY_CONNECT_REQUEST_OPTIONS: StaticSchema = ( - 18, - n0, - _CTGCRO, - 0, - (_P,), - ((PROTOCOL_VALUE, 1),), -) - -CREATE_TRANSIT_GATEWAY_CONNECT_INPUT: StaticSchema = ( - 18, - n0, - _CTGCI, - {_sSI: _cCTGCR, _sm: None}, - (_TTGAI, _O, _TSa, _DR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (CREATE_TRANSIT_GATEWAY_CONNECT_REQUEST_OPTIONS, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_CONNECT_OPTIONS: StaticSchema = ( - 18, - n0, - _TGCO, - 0, - (_P,), - ((PROTOCOL_VALUE, {_aQN: _P, _sN: _pro}),), -) - -TRANSIT_GATEWAY_CONNECT: StaticSchema = ( - 18, - n0, - _TGCr, - 0, - (_TGAI, _TTGAI, _TGI, _St, _CT, _O, _Tag), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TTGAI, _sN: _tTGAI}), - (TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), - (TRANSIT_GATEWAY_ATTACHMENT_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TRANSIT_GATEWAY_CONNECT_OPTIONS, {_aQN: _O, _sN: _o}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRANSIT_GATEWAY_CONNECT_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGCO, - {_sSI: _cCTGCRo, _smit: None}, - (_TGCr,), - ((TRANSIT_GATEWAY_CONNECT, {_aQN: _TGCr, _sN: _tGC}),), -) - -CREATE_TRANSIT_GATEWAY_CONNECT: StaticOperationSchema = ( - 23, - n0, - _CTGC, - 0, - CREATE_TRANSIT_GATEWAY_CONNECT_INPUT, - CREATE_TRANSIT_GATEWAY_CONNECT_OUTPUT, - (), -) - -TRANSIT_GATEWAY_CONNECT_REQUEST_BGP_OPTIONS: StaticSchema = ( - 18, - n0, - _TGCRBO, - 0, - (_PAee,), - ((LONG, 0),), -) - -INSIDE_CIDR_BLOCKS_STRING_LIST: StaticSchema = ( - 16, - n0, - _ICBSL, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -CREATE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT: StaticSchema = ( - 18, - n0, - _CTGCPI, - {_sSI: _cCTGCPR, _sm: None}, - (_TGAI, _TGAran, _PAe, _BO, _ICBn, _TSa, _DR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (STRING, 0), - (STRING, 1), - (TRANSIT_GATEWAY_CONNECT_REQUEST_BGP_OPTIONS, 0), - (INSIDE_CIDR_BLOCKS_STRING_LIST, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -BGP_STATUS: StaticSchema = ( - 14, - n0, - _BSg, - 0, - (_up_, _dow), - ((-1, {_sV: _up_}), (-1, {_sV: _dow})), -) - -TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TGABC, - 0, - (_TGArans, _PAee, _TGAran, _PAe, _BSg), - ( - (LONG, {_aQN: _TGArans, _sN: _tGAra}), - (LONG, {_aQN: _PAee, _sN: _pAee}), - (STRING, {_aQN: _TGAran, _sN: _tGAran}), - (STRING, {_aQN: _PAe, _sN: _pAe}), - (BGP_STATUS, {_aQN: _BSg, _sN: _bSg}), - ), -) - -TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _TGABCL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION, {_sN: _i}),), -) - -TRANSIT_GATEWAY_CONNECT_PEER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TGCPC, - 0, - (_TGAran, _PAe, _ICBn, _P, _BCg), - ( - (STRING, {_aQN: _TGAran, _sN: _tGAran}), - (STRING, {_aQN: _PAe, _sN: _pAe}), - (INSIDE_CIDR_BLOCKS_STRING_LIST, {_aQN: _ICBn, _sN: _iCBn}), - (PROTOCOL_VALUE, {_aQN: _P, _sN: _pro}), - (TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION_LIST, {_aQN: _BCg, _sN: _bCg}), - ), -) - -TRANSIT_GATEWAY_CONNECT_PEER_STATE: StaticSchema = ( - 14, - n0, - _TGCPS, - 0, - (_p, _av, _de, _del), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), -) - -TRANSIT_GATEWAY_CONNECT_PEER_ID: StaticSchema = (3, n0, _TGCPI, 0) - -TRANSIT_GATEWAY_CONNECT_PEER: StaticSchema = ( - 18, - n0, - _TGCP, - 0, - (_TGAI, _TGCPI, _St, _CT, _CPC, _Tag), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - (TRANSIT_GATEWAY_CONNECT_PEER_ID, {_aQN: _TGCPI, _sN: _tGCPI}), - (TRANSIT_GATEWAY_CONNECT_PEER_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TRANSIT_GATEWAY_CONNECT_PEER_CONFIGURATION, {_aQN: _CPC, _sN: _cPC}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGCPO, - {_sSI: _cCTGCPRo, _smit: None}, - (_TGCP,), - ((TRANSIT_GATEWAY_CONNECT_PEER, {_aQN: _TGCP, _sN: _tGCP}),), -) - -CREATE_TRANSIT_GATEWAY_CONNECT_PEER: StaticOperationSchema = ( - 23, - n0, - _CTGCP, - 0, - CREATE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT, - CREATE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT, - (), -) - -TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _TGAISL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 0),), -) - -CREATE_TRANSIT_GATEWAY_METERING_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _CTGMPI, - {_sSI: _cCTGMPR, _sm: None}, - (_TGI, _MAIi, _TSa, _DR), - ( - (TRANSIT_GATEWAY_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, {_sN: _MAIid}), - (TAG_SPECIFICATION_LIST, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_METERING_POLICY_STATE: StaticSchema = ( - 14, - n0, - _TGMPS, - 0, - (_av, _del, _p, _mo, _de), - ( - (-1, {_sV: _av}), - (-1, {_sV: _del}), - (-1, {_sV: _p}), - (-1, {_sV: _mo}), - (-1, {_sV: _de}), - ), -) - -TRANSIT_GATEWAY_METERING_POLICY_ID: StaticSchema = (3, n0, _TGMPI, 0) - -TRANSIT_GATEWAY_METERING_POLICY: StaticSchema = ( - 18, - n0, - _TGMP, - 0, - (_TGMPI, _TGI, _MAIi, _St, _UEA, _Tag), - ( - (TRANSIT_GATEWAY_METERING_POLICY_ID, {_aQN: _TGMPI, _sN: _tGMPI}), - (TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), - (VALUE_STRING_LIST, {_aQN: _MAIS, _sN: _mAIS}), - (TRANSIT_GATEWAY_METERING_POLICY_STATE, {_aQN: _St, _sN: _st}), - (MILLISECOND_DATE_TIME, {_aQN: _UEA, _sN: _uEA}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGMPO, - {_sSI: _cCTGMPRo, _smit: None}, - (_TGMP,), - ((TRANSIT_GATEWAY_METERING_POLICY, {_aQN: _TGMP, _sN: _tGMP}),), -) - -CREATE_TRANSIT_GATEWAY_METERING_POLICY: StaticOperationSchema = ( - 23, - n0, - _CTGMP, - 0, - CREATE_TRANSIT_GATEWAY_METERING_POLICY_INPUT, - CREATE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT, - (), -) - -TRANSIT_GATEWAY_METERING_PAYER_TYPE: StaticSchema = ( - 14, - n0, - _TGMPT, - 0, - (_sao, _dao, _tgo), - ((-1, {_sV: _sao_}), (-1, {_sV: _dao_}), (-1, {_sV: _tgo_})), -) - -CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT: StaticSchema = ( - 18, - n0, - _CTGMPEI, - {_sSI: _cCTGMPER, _sm: None}, - ( - _TGMPI, - _PRNo, - _STGAI, - _STGAT, - _SCB, - _SPR, - _DTGAI, - _DTGAT, - _DCB, - _DPR, - _P, - _MAe, - _DR, - ), - ( - (TRANSIT_GATEWAY_METERING_POLICY_ID, 1), - (INTEGER, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, 0), - (STRING, 0), - (STRING, 0), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TRANSIT_GATEWAY_METERING_PAYER_TYPE, 1), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_METERING_POLICY_RULE: StaticSchema = ( - 18, - n0, - _TGMPR, - 0, - (_STGAI, _STGAT, _SCB, _SPR, _DTGAI, _DTGAT, _DCB, _DPR, _P), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _STGAI, _sN: _sTGAI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _STGAT, _sN: _sTGAT}), - (STRING, {_aQN: _SCB, _sN: _sCB}), - (STRING, {_aQN: _SPR, _sN: _sPR}), - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _DTGAI, _sN: _dTGAI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _DTGAT, _sN: _dTGAT}), - (STRING, {_aQN: _DCB, _sN: _dCB}), - (STRING, {_aQN: _DPR, _sN: _dPR}), - (STRING, {_aQN: _P, _sN: _pro}), - ), -) - -TRANSIT_GATEWAY_METERING_POLICY_ENTRY_STATE: StaticSchema = ( - 14, - n0, - _TGMPES, - 0, - (_av, _del), - ((-1, {_sV: _av}), (-1, {_sV: _del})), -) - -TRANSIT_GATEWAY_METERING_POLICY_ENTRY: StaticSchema = ( - 18, - n0, - _TGMPE, - 0, - (_PRNo, _MAe, _St, _UA, _UEA, _MPR), - ( - (STRING, {_aQN: _PRNo, _sN: _pRNo}), - (TRANSIT_GATEWAY_METERING_PAYER_TYPE, {_aQN: _MAe, _sN: _mA}), - (TRANSIT_GATEWAY_METERING_POLICY_ENTRY_STATE, {_aQN: _St, _sN: _st}), - (MILLISECOND_DATE_TIME, {_aQN: _UA, _sN: _uA}), - (MILLISECOND_DATE_TIME, {_aQN: _UEA, _sN: _uEA}), - (TRANSIT_GATEWAY_METERING_POLICY_RULE, {_aQN: _MPR, _sN: _mPR}), - ), -) - -CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGMPEO, - {_sSI: _cCTGMPERo, _smit: None}, - (_TGMPE,), - ((TRANSIT_GATEWAY_METERING_POLICY_ENTRY, {_aQN: _TGMPE, _sN: _tGMPE}),), -) - -CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY: StaticOperationSchema = ( - 23, - n0, - _CTGMPE, - 0, - CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT, - CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT, - (), -) - -AUTO_ACCEPT_SHARED_ASSOCIATIONS_VALUE: StaticSchema = ( - 14, - n0, - _AASAVu, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -IGMPV2_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _ISVg, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -STATIC_SOURCES_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _SSSV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_REQUEST_OPTIONS: StaticSchema = ( - 18, - n0, - _CTGMDRO, - 0, - (_ISg, _SSSt, _AASAu), - ( - (IGMPV2_SUPPORT_VALUE, 0), - (STATIC_SOURCES_SUPPORT_VALUE, 0), - (AUTO_ACCEPT_SHARED_ASSOCIATIONS_VALUE, 0), - ), -) - -CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT: StaticSchema = ( - 18, - n0, - _CTGMDI, - {_sSI: _cCTGMDR, _sm: None}, - (_TGI, _O, _TSa, _DR), - ( - (TRANSIT_GATEWAY_ID, 1), - (CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_REQUEST_OPTIONS, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_MULTICAST_DOMAIN_OPTIONS: StaticSchema = ( - 18, - n0, - _TGMDO, - 0, - (_ISg, _SSSt, _AASAu), - ( - (IGMPV2_SUPPORT_VALUE, {_aQN: _ISg, _sN: _iSg}), - (STATIC_SOURCES_SUPPORT_VALUE, {_aQN: _SSSt, _sN: _sSS}), - (AUTO_ACCEPT_SHARED_ASSOCIATIONS_VALUE, {_aQN: _AASAu, _sN: _aASAu}), - ), -) - -TRANSIT_GATEWAY_MULTICAST_DOMAIN_STATE: StaticSchema = ( - 14, - n0, - _TGMDS, - 0, - (_p, _av, _de, _del), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), -) - -TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticSchema = ( - 18, - n0, - _TGMD, - 0, - (_TGMDI, _TGI, _TGMDAr, _OIw, _O, _St, _CT, _Tag), - ( - (STRING, {_aQN: _TGMDI, _sN: _tGMDI}), - (STRING, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _TGMDAr, _sN: _tGMDA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_OPTIONS, {_aQN: _O, _sN: _o}), - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGMDO, - {_sSI: _cCTGMDRo, _smit: None}, - (_TGMD,), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN, {_aQN: _TGMD, _sN: _tGMD}),), -) - -CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticOperationSchema = ( - 23, - n0, - _CTGMD, - 0, - CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT, - CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT, - (), -) - -CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_REQUEST_OPTIONS: StaticSchema = ( - 18, - n0, - _CTGPARO, - 0, - (_DRy,), - ((DYNAMIC_ROUTING_VALUE, 0),), -) - -TRANSIT_ASSOCIATION_GATEWAY_ID: StaticSchema = (3, n0, _TAGI, 0) - -CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _CTGPAI, - {_sSI: _cCTGPAR, _sm: None}, - (_TGI, _PTGI, _PAI, _PRee, _O, _TSa, _DR), - ( - (TRANSIT_GATEWAY_ID, 1), - (TRANSIT_ASSOCIATION_GATEWAY_ID, 1), - (STRING, 1), - (STRING, 1), - (CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_REQUEST_OPTIONS, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGPAO, - {_sSI: _cCTGPARo, _smit: None}, - (_TGPA,), - ((TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_aQN: _TGPA, _sN: _tGPA}),), -) - -CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _CTGPA, - 0, - CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT, - CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT, - (), -) - -CREATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _CTGPTI, - {_sSI: _cCTGPTR, _sm: None}, - (_TGI, _TSa, _DR), - ((TRANSIT_GATEWAY_ID, 1), (TAG_SPECIFICATION_LIST, 0), (BOOLEAN, 0)), -) - -TRANSIT_GATEWAY_POLICY_TABLE_STATE: StaticSchema = ( - 14, - n0, - _TGPTS, - 0, - (_p, _av, _de, _del), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), -) - -TRANSIT_GATEWAY_POLICY_TABLE: StaticSchema = ( - 18, - n0, - _TGPT, - 0, - (_TGPTI, _TGI, _St, _CT, _Tag), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ID, {_aQN: _TGPTI, _sN: _tGPTI}), - (TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), - (TRANSIT_GATEWAY_POLICY_TABLE_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGPTO, - {_sSI: _cCTGPTRo, _smit: None}, - (_TGPT,), - ((TRANSIT_GATEWAY_POLICY_TABLE, {_aQN: _TGPT, _sN: _tGPT}),), -) - -CREATE_TRANSIT_GATEWAY_POLICY_TABLE: StaticOperationSchema = ( - 23, - n0, - _CTGPT, - 0, - CREATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT, - CREATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT, - (), -) - -TRANSIT_GATEWAY_REQUEST_POLICY_RULE_META_DATA: StaticSchema = ( - 18, - n0, - _TGRPRMD, - 0, - (_MDK, _MDV), - ((STRING, 0), (STRING, 0)), -) - -TRANSIT_GATEWAY_REQUEST_POLICY_RULE: StaticSchema = ( - 18, - n0, - _TGRPR, - 0, - (_SCB, _SPR, _DCB, _DPR, _P, _MD), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TRANSIT_GATEWAY_REQUEST_POLICY_RULE_META_DATA, 0), - ), -) - -CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT: StaticSchema = ( - 18, - n0, - _CTGPTEI, - {_sSI: _cCTGPTER, _sm: None}, - (_TGPTI, _PRNo, _PRol, _TRTI, _DR), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), - (STRING, 1), - (TRANSIT_GATEWAY_REQUEST_POLICY_RULE, 0), - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_POLICY_RULE_META_DATA: StaticSchema = ( - 18, - n0, - _TGPRMD, - 0, - (_MDK, _MDV), - ((STRING, {_aQN: _MDK, _sN: _mDK}), (STRING, {_aQN: _MDV, _sN: _mDV})), -) - -TRANSIT_GATEWAY_POLICY_RULE: StaticSchema = ( - 18, - n0, - _TGPR, - 0, - (_SCB, _SPR, _DCB, _DPR, _P, _MD), - ( - (STRING, {_aQN: _SCB, _sN: _sCB}), - (STRING, {_aQN: _SPR, _sN: _sPR}), - (STRING, {_aQN: _DCB, _sN: _dCB}), - (STRING, {_aQN: _DPR, _sN: _dPR}), - (STRING, {_aQN: _P, _sN: _pro}), - (TRANSIT_GATEWAY_POLICY_RULE_META_DATA, {_aQN: _MD, _sN: _mD}), - ), -) - -TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_STATE: StaticSchema = ( - 14, - n0, - _TGPTES, - 0, - (_act, _del), - ((-1, {_sV: _act}), (-1, {_sV: _del})), -) - -TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticSchema = ( - 18, - n0, - _TGPTE, - 0, - (_PRNo, _PRol, _TRTI, _St), - ( - (STRING, {_aQN: _PRNo, _sN: _pRNo}), - (TRANSIT_GATEWAY_POLICY_RULE, {_aQN: _PRol, _sN: _pRo}), - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_aQN: _TRTI, _sN: _tRTI}), - (TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_STATE, {_aQN: _St, _sN: _st}), - ), -) - -CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGPTEO, - {_sSI: _cCTGPTERo, _smit: None}, - (_TGPTE,), - ((TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_aQN: _TGPTE, _sN: _tGPTE}),), -) - -CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticOperationSchema = ( - 23, - n0, - _CTGPTE, - 0, - CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT, - CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT, - (), -) - -CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT: StaticSchema = ( - 18, - n0, - _CTGPLRI, - {_sSI: _cCTGPLRR, _sm: None}, - (_TGRTI, _PLI, _TGAI, _Bl, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (PREFIX_LIST_RESOURCE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_STATE: StaticSchema = ( - 14, - n0, - _TGPLRS, - 0, - (_p, _av, _mo, _de), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _mo}), (-1, {_sV: _de})), -) - -TRANSIT_GATEWAY_PREFIX_LIST_ATTACHMENT: StaticSchema = ( - 18, - n0, - _TGPLA, - 0, - (_TGAI, _RT, _RIe), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _RIe, _sN: _rI}), - ), -) - -TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE: StaticSchema = ( - 18, - n0, - _TGPLR, - 0, - (_TGRTI, _PLI, _PLOI, _St, _Bl, _TGA), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_aQN: _TGRTI, _sN: _tGRTI}), - (PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), - (STRING, {_aQN: _PLOI, _sN: _pLOI}), - (TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_STATE, {_aQN: _St, _sN: _st}), - (BOOLEAN, {_aQN: _Bl, _sN: _bl}), - (TRANSIT_GATEWAY_PREFIX_LIST_ATTACHMENT, {_aQN: _TGA, _sN: _tGA}), - ), -) - -CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGPLRO, - {_sSI: _cCTGPLRRo, _smit: None}, - (_TGPLR,), - ((TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE, {_aQN: _TGPLR, _sN: _tGPLR}),), -) - -CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE: StaticOperationSchema = ( - 23, - n0, - _CTGPLR, - 0, - CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT, - CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT, - (), -) - -CREATE_TRANSIT_GATEWAY_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _CTGRI, - {_sSI: _cCTGRR, _sm: None}, - (_DCB, _TGRTI, _TGAI, _Bl, _DR), - ( - (STRING, 1), - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ROUTE_STATE: StaticSchema = ( - 14, - n0, - _TGRS, - 0, - (_p, _act, _bl, _de, _del), - ( - (-1, {_sV: _p}), - (-1, {_sV: _act}), - (-1, {_sV: _bl}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - ), -) - -TRANSIT_GATEWAY_ROUTE_ATTACHMENT: StaticSchema = ( - 18, - n0, - _TGRA, - 0, - (_RIe, _TGAI, _RT), - ( - (STRING, {_aQN: _RIe, _sN: _rI}), - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - ), -) - -TRANSIT_GATEWAY_ROUTE_ATTACHMENT_LIST: StaticSchema = ( - 16, - n0, - _TGRAL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ROUTE_ATTACHMENT, {_sN: _i}),), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID: StaticSchema = (3, n0, _TGRTAI, 0) - -TRANSIT_GATEWAY_ROUTE_TYPE: StaticSchema = ( - 14, - n0, - _TGRTr, - 0, - (_stat, _prop, _sy), - ((-1, {_sV: _stat}), (-1, {_sV: _prop}), (-1, {_sV: _sy})), -) - -TRANSIT_GATEWAY_ROUTE: StaticSchema = ( - 18, - n0, - _TGR, - 0, - (_DCB, _PLI, _TGRTAI, _TGAransi, _Ty, _St), - ( - (STRING, {_aQN: _DCB, _sN: _dCB}), - (PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, {_aQN: _TGRTAI, _sN: _tGRTAI}), - (TRANSIT_GATEWAY_ROUTE_ATTACHMENT_LIST, {_aQN: _TGAransi, _sN: _tGArans}), - (TRANSIT_GATEWAY_ROUTE_TYPE, {_aQN: _Ty, _sN: _ty}), - (TRANSIT_GATEWAY_ROUTE_STATE, {_aQN: _St, _sN: _st}), - ), -) - -CREATE_TRANSIT_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGRO, - {_sSI: _cCTGRRo, _smit: None}, - (_Rou,), - ((TRANSIT_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), -) - -CREATE_TRANSIT_GATEWAY_ROUTE: StaticOperationSchema = ( - 23, - n0, - _CTGR, - 0, - CREATE_TRANSIT_GATEWAY_ROUTE_INPUT, - CREATE_TRANSIT_GATEWAY_ROUTE_OUTPUT, - (), -) - -CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _CTGRTI, - {_sSI: _cCTGRTR, _sm: None}, - (_TGI, _TSa, _DR), - ((TRANSIT_GATEWAY_ID, 1), (TAG_SPECIFICATION_LIST, 0), (BOOLEAN, 0)), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_STATE: StaticSchema = ( - 14, - n0, - _TGRTS, - 0, - (_p, _av, _de, _del), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), -) - -TRANSIT_GATEWAY_ROUTE_TABLE: StaticSchema = ( - 18, - n0, - _TGRT, - 0, - (_TGRTI, _TGI, _St, _DART, _DPRT, _CT, _Tag), - ( - (STRING, {_aQN: _TGRTI, _sN: _tGRTI}), - (STRING, {_aQN: _TGI, _sN: _tGI}), - (TRANSIT_GATEWAY_ROUTE_TABLE_STATE, {_aQN: _St, _sN: _st}), - (BOOLEAN, {_aQN: _DART, _sN: _dART}), - (BOOLEAN, {_aQN: _DPRT, _sN: _dPRT}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGRTO, - {_sSI: _cCTGRTRo, _smit: None}, - (_TGRT,), - ((TRANSIT_GATEWAY_ROUTE_TABLE, {_aQN: _TGRT, _sN: _tGRT}),), -) - -CREATE_TRANSIT_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _CTGRT, - 0, - CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT, - CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT, - (), -) - -CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT: StaticSchema = ( - 18, - n0, - _CTGRTAI, - {_sSI: _cCTGRTAR, _sm: None}, - (_TGRTI, _PAIe, _TSa, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_DIRECTION: StaticSchema = ( - 14, - n0, - _TGRTAD, - 0, - (_ou, _incom), - ((-1, {_sV: _ou}), (-1, {_sV: _incom})), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_STATE: StaticSchema = ( - 14, - n0, - _TGRTAS, - 0, - (_av, _p, _fai, _fa, _de, _del), - ( - (-1, {_sV: _av}), - (-1, {_sV: _p}), - (-1, {_sV: _fai}), - (-1, {_sV: _fa}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - ), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT: StaticSchema = ( - 18, - n0, - _TGRTA, - 0, - (_TGRTAI, _TGI, _CNI, _PTGI, _PCNI, _PAIe, _ADn, _TGRTI, _St, _CT, _Tag), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, {_aQN: _TGRTAI, _sN: _tGRTAI}), - (TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _CNI, _sN: _cNI}), - (TRANSIT_GATEWAY_ID, {_aQN: _PTGI, _sN: _pTGI}), - (STRING, {_aQN: _PCNI, _sN: _pCNI}), - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _PAIe, _sN: _pAI}), - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_DIRECTION, {_aQN: _ADn, _sN: _aDn}), - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_aQN: _TGRTI, _sN: _tGRTI}), - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGRTAO, - {_sSI: _cCTGRTARo, _smit: None}, - (_TGRTA,), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT, {_aQN: _TGRTA, _sN: _tGRTA}),), -) - -CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT: StaticOperationSchema = ( - 23, - n0, - _CTGRTA, - 0, - CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT, - CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT, - (), -) - -CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS: StaticSchema = ( - 18, - n0, - _CTGVARO, - 0, - (_DS, _SGRS, _IS, _AMSp), - ( - (DNS_SUPPORT_VALUE, 0), - (SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, 0), - (IPV6_SUPPORT_VALUE, 0), - (APPLIANCE_MODE_SUPPORT_VALUE, 0), - ), -) - -CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _CTGVAI, - {_sSI: _cCTGVAR, _sm: None}, - (_TGI, _VI, _SI, _O, _TSa, _DR), - ( - (TRANSIT_GATEWAY_ID, 1), - (VPC_ID, 1), - (TRANSIT_GATEWAY_SUBNET_ID_LIST, 1), - (CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS, 0), - (TAG_SPECIFICATION_LIST, 0), - (BOOLEAN, 0), - ), -) - -CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CTGVAO, - {_sSI: _cCTGVARo, _smit: None}, - (_TGVA,), - ((TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), -) - -CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _CTGVA, - 0, - CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, - CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, - (), -) - -VERIFIED_ACCESS_ENDPOINT_ATTACHMENT_TYPE: StaticSchema = ( - 14, - n0, - _VAEAT, - 0, - (_vp,), - ((-1, {_sV: _vp}),), -) - -VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER: StaticSchema = (7, n0, _VAEPN, 0) - -CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE: StaticSchema = ( - 18, - n0, - _CVAEPR, - 0, - (_FP, _TP), - ( - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - ), -) - -CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST: StaticSchema = ( - 16, - n0, - _CVAEPRL, - 0, - (_me,), - ((CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE, {_sN: _i}),), -) - -VERIFIED_ACCESS_ENDPOINT_PROTOCOL: StaticSchema = ( - 14, - n0, - _VAEP, - 0, - (_ht, _htt, _tc), - ((-1, {_sV: _ht}), (-1, {_sV: _htt}), (-1, {_sV: _tc})), -) - -CREATE_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST: StaticSchema = ( - 16, - n0, - _CVAESIL, - 0, - (_me,), - ((SUBNET_ID, {_sN: _i}),), -) - -CREATE_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS: StaticSchema = ( - 18, - n0, - _CVAECO, - 0, - (_P, _SI, _Ci, _PRo), - ( - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), - (CREATE_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), - (STRING, 0), - (CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), - ), -) - -CERTIFICATE_ARN: StaticSchema = (3, n0, _CAe, 0) - -VERIFIED_ACCESS_ENDPOINT_TYPE: StaticSchema = ( - 14, - n0, - _VAET, - 0, - (_lb, _ni, _rd, _ci), - ((-1, {_sV: _lb_}), (-1, {_sV: _ni_}), (-1, {_sV: _rd}), (-1, {_sV: _ci})), -) - -LOAD_BALANCER_ARN: StaticSchema = (3, n0, _LBA, 0) - -CREATE_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS: StaticSchema = ( - 18, - n0, - _CVAELBO, - 0, - (_P, _Po, _LBA, _SI, _PRo), - ( - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - (LOAD_BALANCER_ARN, 0), - (CREATE_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), - (CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), - ), -) - -CREATE_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS: StaticSchema = ( - 18, - n0, - _CVAEEO, - 0, - (_NII, _P, _Po, _PRo), - ( - (NETWORK_INTERFACE_ID, 0), - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - (CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), - ), -) - -RDS_DB_CLUSTER_ARN: StaticSchema = (3, n0, _RDCA, 0) - -RDS_DB_INSTANCE_ARN: StaticSchema = (3, n0, _RDIA, 0) - -RDS_DB_PROXY_ARN: StaticSchema = (3, n0, _RDPA, 0) - -CREATE_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS: StaticSchema = ( - 18, - n0, - _CVAERO, - 0, - (_P, _Po, _RDIA, _RDCA, _RDPA, _REd, _SI), - ( - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - (RDS_DB_INSTANCE_ARN, 0), - (RDS_DB_CLUSTER_ARN, 0), - (RDS_DB_PROXY_ARN, 0), - (STRING, 0), - (CREATE_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), - ), -) - -SECURITY_GROUP_ID_LIST: StaticSchema = ( - 16, - n0, - _SGIL, - 0, - (_me,), - ((SECURITY_GROUP_ID, {_sN: _i}),), -) - -VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _VASSRe, - 0, - (_CMKE, _KKA), - ((BOOLEAN, 0), (KMS_KEY_ARN, 0)), -) - -VERIFIED_ACCESS_GROUP_ID: StaticSchema = (3, n0, _VAGI, 0) - -CREATE_VERIFIED_ACCESS_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CVAEI, - {_sSI: _cCVAER, _sm: None}, - ( - _VAGI, - _ETn, - _ATtta, - _DCA, - _ADp, - _EDP, - _SGIe, - _LBO, - _NIO, - _Des, - _PDo, - _TSa, - _CTl, - _DR, - _SSs, - _ROd, - _COi, - ), - ( - (VERIFIED_ACCESS_GROUP_ID, 1), - (VERIFIED_ACCESS_ENDPOINT_TYPE, 1), - (VERIFIED_ACCESS_ENDPOINT_ATTACHMENT_TYPE, 1), - (CERTIFICATE_ARN, 0), - (STRING, 0), - (STRING, 0), - (SECURITY_GROUP_ID_LIST, {_sN: _SGI}), - (CREATE_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS, 0), - (CREATE_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS, 0), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (BOOLEAN, 0), - (VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), - (CREATE_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS, 0), - (CREATE_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS, 0), - ), -) - -VERIFIED_ACCESS_ENDPOINT_PORT_RANGE: StaticSchema = ( - 18, - n0, - _VAEPR, - 0, - (_FP, _TP), - ( - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _FP, _sN: _fP}), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _TP, _sN: _tP}), - ), -) - -VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST: StaticSchema = ( - 16, - n0, - _VAEPRL, - 0, - (_me,), - ((VERIFIED_ACCESS_ENDPOINT_PORT_RANGE, {_sN: _i}),), -) - -VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST: StaticSchema = ( - 16, - n0, - _VAESIL, - 0, - (_me,), - ((SUBNET_ID, {_sN: _i}),), -) - -VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS: StaticSchema = ( - 18, - n0, - _VAECO, - 0, - (_Ci, _PRo, _P, _SI), - ( - (STRING, {_aQN: _Ci, _sN: _ci}), - (VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_aQN: _PRS, _sN: _pRS}), - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, {_aQN: _P, _sN: _pro}), - (VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_aQN: _SISu, _sN: _sISu}), - ), -) - -VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS: StaticSchema = ( - 18, - n0, - _VAELBO, - 0, - (_P, _Po, _LBA, _SI, _PRo), - ( - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, {_aQN: _P, _sN: _pro}), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _Po, _sN: _po}), - (STRING, {_aQN: _LBA, _sN: _lBA}), - (VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_aQN: _SISu, _sN: _sISu}), - (VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_aQN: _PRS, _sN: _pRS}), - ), -) - -VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS: StaticSchema = ( - 18, - n0, - _VAEEO, - 0, - (_NII, _P, _Po, _PRo), - ( - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, {_aQN: _P, _sN: _pro}), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _Po, _sN: _po}), - (VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_aQN: _PRS, _sN: _pRS}), - ), -) - -VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS: StaticSchema = ( - 18, - n0, - _VAERO, - 0, - (_P, _Po, _RDIA, _RDCA, _RDPA, _REd, _SI), - ( - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, {_aQN: _P, _sN: _pro}), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _Po, _sN: _po}), - (STRING, {_aQN: _RDIA, _sN: _rDIA}), - (STRING, {_aQN: _RDCA, _sN: _rDCA}), - (STRING, {_aQN: _RDPA, _sN: _rDPA}), - (STRING, {_aQN: _REd, _sN: _rEd}), - (VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_aQN: _SISu, _sN: _sISu}), - ), -) - -VERIFIED_ACCESS_ENDPOINT_STATUS_CODE: StaticSchema = ( - 14, - n0, - _VAESC, - 0, - (_p, _act, _up, _de, _del), - ( - (-1, {_sV: _p}), - (-1, {_sV: _act}), - (-1, {_sV: _up}), - (-1, {_sV: _de}), - (-1, {_sV: _del}), - ), -) - -VERIFIED_ACCESS_ENDPOINT_STATUS: StaticSchema = ( - 18, - n0, - _VAES, - 0, - (_C, _Me), - ( - (VERIFIED_ACCESS_ENDPOINT_STATUS_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -VERIFIED_ACCESS_ENDPOINT: StaticSchema = ( - 18, - n0, - _VAE, - 0, - ( - _VAII, - _VAGI, - _VAEI, - _ADp, - _ETn, - _ATtta, - _DCA, - _EDnd, - _DVD, - _SGIe, - _LBO, - _NIO, - _Sta, - _Des, - _CT, - _LUTa, - _DTe, - _Tag, - _SSs, - _ROd, - _COi, - ), - ( - (STRING, {_aQN: _VAII, _sN: _vAII}), - (STRING, {_aQN: _VAGI, _sN: _vAGI}), - (STRING, {_aQN: _VAEI, _sN: _vAEI}), - (STRING, {_aQN: _ADp, _sN: _aDp}), - (VERIFIED_ACCESS_ENDPOINT_TYPE, {_aQN: _ETn, _sN: _eTn}), - (VERIFIED_ACCESS_ENDPOINT_ATTACHMENT_TYPE, {_aQN: _ATtta, _sN: _aTtta}), - (STRING, {_aQN: _DCA, _sN: _dCA}), - (STRING, {_aQN: _EDnd, _sN: _eDnd}), - (STRING, {_aQN: _DVD, _sN: _dVD}), - (SECURITY_GROUP_ID_LIST, {_aQN: _SGIS, _sN: _sGIS}), - (VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS, {_aQN: _LBO, _sN: _lBO}), - (VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS, {_aQN: _NIO, _sN: _nIO}), - (VERIFIED_ACCESS_ENDPOINT_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _CT, _sN: _cT}), - (STRING, {_aQN: _LUTa, _sN: _lUTa}), - (STRING, {_aQN: _DTe, _sN: _dT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, {_aQN: _SSs, _sN: _sSs}), - (VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS, {_aQN: _ROd, _sN: _rOd}), - (VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS, {_aQN: _COi, _sN: _cOi}), - ), -) - -CREATE_VERIFIED_ACCESS_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CVAEO, - {_sSI: _cCVAERo, _smit: None}, - (_VAE,), - ((VERIFIED_ACCESS_ENDPOINT, {_aQN: _VAE, _sN: _vAE}),), -) - -CREATE_VERIFIED_ACCESS_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CVAE, - 0, - CREATE_VERIFIED_ACCESS_ENDPOINT_INPUT, - CREATE_VERIFIED_ACCESS_ENDPOINT_OUTPUT, - (), -) - -CREATE_VERIFIED_ACCESS_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CVAGI, - {_sSI: _cCVAGR, _sm: None}, - (_VAII, _Des, _PDo, _TSa, _CTl, _DR, _SSs), - ( - (VERIFIED_ACCESS_INSTANCE_ID, 1), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (BOOLEAN, 0), - (VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), - ), -) - -VERIFIED_ACCESS_GROUP: StaticSchema = ( - 18, - n0, - _VAG, - 0, - (_VAGI, _VAII, _Des, _Ow, _VAGA, _CT, _LUTa, _DTe, _Tag, _SSs), - ( - (STRING, {_aQN: _VAGI, _sN: _vAGI}), - (STRING, {_aQN: _VAII, _sN: _vAII}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _Ow, _sN: _ow}), - (STRING, {_aQN: _VAGA, _sN: _vAGA}), - (STRING, {_aQN: _CT, _sN: _cT}), - (STRING, {_aQN: _LUTa, _sN: _lUTa}), - (STRING, {_aQN: _DTe, _sN: _dT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, {_aQN: _SSs, _sN: _sSs}), - ), -) - -CREATE_VERIFIED_ACCESS_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CVAGO, - {_sSI: _cCVAGRo, _smit: None}, - (_VAG,), - ((VERIFIED_ACCESS_GROUP, {_aQN: _VAG, _sN: _vAG}),), -) - -CREATE_VERIFIED_ACCESS_GROUP: StaticOperationSchema = ( - 23, - n0, - _CVAG, - 0, - CREATE_VERIFIED_ACCESS_GROUP_INPUT, - CREATE_VERIFIED_ACCESS_GROUP_OUTPUT, - (), -) - -CREATE_VERIFIED_ACCESS_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _CVAII, - {_sSI: _cCVAIR, _sm: None}, - (_Des, _TSa, _CTl, _DR, _FIPSE, _CECSD), - ( - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -CREATE_VERIFIED_ACCESS_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _CVAIO, - {_sSI: _cCVAIRo, _smit: None}, - (_VAI,), - ((VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}),), -) - -CREATE_VERIFIED_ACCESS_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _CVAI, - 0, - CREATE_VERIFIED_ACCESS_INSTANCE_INPUT, - CREATE_VERIFIED_ACCESS_INSTANCE_OUTPUT, - (), -) - -CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS: StaticSchema = ( - 18, - n0, - _CVATPDO, - 0, - (_TI, _PSKU), - ((STRING, 0), (STRING, 0)), -) - -CREATE_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS: StaticSchema = ( - 18, - n0, - _CVANAOO, - 0, - (_PSKE, _Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CLIENT_SECRET_TYPE, 0), - (STRING, 0), - ), -) - -CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS: StaticSchema = ( - 18, - n0, - _CVATPOO, - 0, - (_Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CLIENT_SECRET_TYPE, 0), - (STRING, 0), - ), -) - -CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _CVATPI, - {_sSI: _cCVATPR, _sm: None}, - (_TPT, _UTPT, _DTPT, _OO, _DO, _PRN, _Des, _TSa, _CTl, _DR, _SSs, _NAOO), - ( - (TRUST_PROVIDER_TYPE, 1), - (USER_TRUST_PROVIDER_TYPE, 0), - (DEVICE_TRUST_PROVIDER_TYPE, 0), - (CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS, 0), - (CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS, 0), - (STRING, 1), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 2), - (BOOLEAN, 0), - (VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), - (CREATE_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS, 0), - ), -) - -CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _CVATPO, - {_sSI: _cCVATPRo, _smit: None}, - (_VATPe,), - ((VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}),), -) - -CREATE_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _CVATP, - 0, - CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, - CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, - (), -) - -CREATE_VOLUME_INPUT: StaticSchema = ( - 18, - n0, - _CVIr, - {_sSI: _cCVRom, _sm: None}, - ( - _AZ, - _AZI, - _En, - _Io, - _KKI, - _OA, - _Si, - _SIn, - _VT, - _TSa, - _MAE, - _Th, - _CTl, - _VIR, - _Op, - _DR, - ), - ( - (AVAILABILITY_ZONE_NAME, 0), - (AVAILABILITY_ZONE_ID, 0), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (INTEGER, 0), - (KMS_KEY_ID, 0), - (STRING, 0), - (INTEGER, 0), - (SNAPSHOT_ID, 0), - (VOLUME_TYPE, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - (INTEGER, 0), - (STRING, 2), - (INTEGER, 0), - (OPERATOR_REQUEST, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -CREATE_VOLUME_OUTPUT: StaticSchema = ( - 18, - n0, - _CVOr, - {_sSI: _cV, _smit: None}, - ( - _AZI, - _OA, - _SVI, - _Io, - _Tag, - _VT, - _FR, - _MAE, - _Th, - _STs, - _Op, - _VIR, - _VAol, - _OIw, - _VIo, - _Si, - _SIn, - _AZ, - _St, - _CTr, - _Att, - _En, - _KKI, - ), - ( - (STRING, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _SVI, _sN: _sVI}), - (INTEGER, {_aQN: _Io, _sN: _iop}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), - (BOOLEAN, {_aQN: _FR, _sN: _fR}), - (BOOLEAN, {_aQN: _MAE, _sN: _mAE}), - (INTEGER, {_aQN: _Th, _sN: _thr}), - (SSE_TYPE, {_aQN: _STs, _sN: _sTs}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - (INTEGER, {_aQN: _VIR, _sN: _vIR}), - (STRING, {_aQN: _VAol, _sN: _vA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (INTEGER, {_aQN: _Si, _sN: _siz}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (VOLUME_STATE, {_aQN: _Sta, _sN: _sta}), - (DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (VOLUME_ATTACHMENT_LIST, {_aQN: _AStt, _sN: _aSt}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (STRING, {_aQN: _KKI, _sN: _kKI}), - ), -) - -CREATE_VOLUME: StaticOperationSchema = ( - 23, - n0, - _CVr, - 0, - CREATE_VOLUME_INPUT, - CREATE_VOLUME_OUTPUT, - (), -) - -VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT: StaticSchema = ( - 14, - n0, - _VECESI, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -VPC_ENCRYPTION_CONTROL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VECC, - 0, - (_Mo, _IGE, _EOIGE, _NGE, _VPGE, _VPE, _LE, _VLE, _EFSE), - ( - (VPC_ENCRYPTION_CONTROL_MODE, 1), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - ), -) - -CREATE_VPC_INPUT: StaticSchema = ( - 18, - n0, - _CVIre, - {_sSI: _cCVRoma, _sm: None}, - ( - _CB, - _IPpvo, - _ICB, - _IIPIp, - _INLp, - _IIPI, - _INL, - _ICBNBG, - _VEC, - _TSa, - _DR, - _ITnst, - _APICB, - ), - ( - (STRING, 0), - (IPV6_POOL_EC2_ID, 0), - (STRING, 0), - (IPAM_POOL_ID, 0), - (NETMASK_LENGTH, 0), - (IPAM_POOL_ID, 0), - (NETMASK_LENGTH, 0), - (STRING, 0), - (VPC_ENCRYPTION_CONTROL_CONFIGURATION, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (TENANCY, {_aQN: _ITnst, _sN: _iTns}), - (BOOLEAN, {_aQN: _APICB, _sN: _aPICB}), - ), -) - -CREATE_VPC_OUTPUT: StaticSchema = ( - 18, - n0, - _CVOre, - {_sSI: _cCVRomam, _smit: None}, - (_Vp,), - ((VPC, {_aQN: _Vp, _sN: _vp}),), -) - -CREATE_VPC: StaticOperationSchema = ( - 23, - n0, - _CVre, - 0, - CREATE_VPC_INPUT, - CREATE_VPC_OUTPUT, - (), -) - -INTERNET_GATEWAY_EXCLUSION_MODE: StaticSchema = ( - 14, - n0, - _IGEM, - 0, - (_ab, _ae__), - ((-1, {_sV: _ab_}), (-1, {_sV: _ae___})), -) - -CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT: StaticSchema = ( - 18, - n0, - _CVBPAEI, - {_sSI: _cCVBPAER, _sm: None}, - (_DR, _SIu, _VI, _IGEM, _TSa), - ( - (BOOLEAN, 0), - (SUBNET_ID, 0), - (VPC_ID, 0), - (INTERNET_GATEWAY_EXCLUSION_MODE, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID: StaticSchema = (3, n0, _VBPAEI, 0) - -VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_STATE: StaticSchema = ( - 14, - n0, - _VBPAES, - 0, - ( - _cip, - _cc_, - _cf________________________, - _uip, - _uc, - _uf, - _dip_, - _dc_, - _dip___, - _dc___, - ), - ( - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _cf_________________________}), - (-1, {_sV: _uip_}), - (-1, {_sV: _uc_}), - (-1, {_sV: _uf_}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - (-1, {_sV: _dip____}), - (-1, {_sV: _dc____}), - ), -) - -VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION: StaticSchema = ( - 18, - n0, - _VBPAE, - 0, - (_EIx, _IGEM, _RAe, _St, _Rea, _CTrea, _LUT, _DTele, _Tag), - ( - (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID, {_aQN: _EIx, _sN: _eIx}), - (INTERNET_GATEWAY_EXCLUSION_MODE, {_aQN: _IGEM, _sN: _iGEM}), - (RESOURCE_ARN, {_aQN: _RAe, _sN: _rAe}), - (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _Rea, _sN: _rea}), - (MILLISECOND_DATE_TIME, {_aQN: _CTrea, _sN: _cTre}), - (MILLISECOND_DATE_TIME, {_aQN: _LUT, _sN: _lUT}), - (MILLISECOND_DATE_TIME, {_aQN: _DTele, _sN: _dTel}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CVBPAEO, - {_sSI: _cCVBPAERo, _smit: None}, - (_VBPAE,), - ((VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION, {_aQN: _VBPAE, _sN: _vBPAE}),), -) - -CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION: StaticOperationSchema = ( - 23, - n0, - _CVBPAE, - 0, - CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT, - CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT, - (), -) - -CREATE_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( - 18, - n0, - _CVECI, - {_sSI: _cCVECR, _sm: None}, - (_DR, _VI, _TSa), - ((BOOLEAN, 0), (VPC_ID, 1), (TAG_SPECIFICATION_LIST, {_sN: _TS})), -) - -CREATE_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( - 18, - n0, - _CVECO, - {_sSI: _cCVECRo, _smit: None}, - (_VEC,), - ((VPC_ENCRYPTION_CONTROL, {_aQN: _VEC, _sN: _vEC}),), -) - -CREATE_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( - 23, - n0, - _CVEC, - 0, - CREATE_VPC_ENCRYPTION_CONTROL_INPUT, - CREATE_VPC_ENCRYPTION_CONTROL_OUTPUT, - (), -) - -DNS_RECORD_IP_TYPE: StaticSchema = ( - 14, - n0, - _DRIT, - 0, - (_ipv, _du, _ipv_, _sd), - ((-1, {_sV: _ipv}), (-1, {_sV: _du}), (-1, {_sV: _ipv_}), (-1, {_sV: _sd_})), -) - -PRIVATE_DNS_SPECIFIED_DOMAIN_SET: StaticSchema = ( - 16, - n0, - _PDSDS, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -DNS_OPTIONS_SPECIFICATION: StaticSchema = ( - 18, - n0, - _DOS, - 0, - (_DRIT, _PDOFIRE, _PDP, _PDSD), - ( - (DNS_RECORD_IP_TYPE, 0), - (BOOLEAN, 0), - (STRING, 0), - (PRIVATE_DNS_SPECIFIED_DOMAIN_SET, {_sN: _PDSDr}), - ), -) - -RESOURCE_CONFIGURATION_ARN: StaticSchema = (3, n0, _RCA, 0) - -VPC_ENDPOINT_ROUTE_TABLE_ID_LIST: StaticSchema = ( - 16, - n0, - _VERTIL, - 0, - (_me,), - ((ROUTE_TABLE_ID, {_sN: _i}),), -) - -VPC_ENDPOINT_SECURITY_GROUP_ID_LIST: StaticSchema = ( - 16, - n0, - _VESGIL, - 0, - (_me,), - ((SECURITY_GROUP_ID, {_sN: _i}),), -) - -SERVICE_NETWORK_ARN: StaticSchema = (3, n0, _SNAe, 0) - -SUBNET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCu, - 0, - (_SIu, _Ip, _Ipv), - ((SUBNET_ID, 0), (STRING, 0), (STRING, 0)), -) - -SUBNET_CONFIGURATIONS_LIST: StaticSchema = ( - 16, - n0, - _SCL, - 0, - (_me,), - ((SUBNET_CONFIGURATION, {_sN: _i}),), -) - -VPC_ENDPOINT_SUBNET_ID_LIST: StaticSchema = ( - 16, - n0, - _VESIL, - 0, - (_me,), - ((SUBNET_ID, {_sN: _i}),), -) - -VPC_ENDPOINT_TYPE: StaticSchema = ( - 14, - n0, - _VET, - 0, - (_Inter, _Ga, _GLB, _Reso, _SNer, _Tu), - ( - (-1, {_sV: _Inter}), - (-1, {_sV: _Ga}), - (-1, {_sV: _GLB}), - (-1, {_sV: _Reso}), - (-1, {_sV: _SNer}), - (-1, {_sV: _Tu}), - ), -) - -CREATE_VPC_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CVEIr, - {_sSI: _cCVER, _sm: None}, - ( - _DR, - _VET, - _VI, - _SN, - _PDo, - _RTIou, - _SI, - _SGIe, - _IAT, - _DOn, - _CTl, - _PDE, - _TSa, - _SCub, - _SNAe, - _RCA, - _SRe, - ), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_TYPE, 0), - (VPC_ID, 1), - (STRING, 0), - (STRING, 0), - (VPC_ENDPOINT_ROUTE_TABLE_ID_LIST, {_sN: _RTIo}), - (VPC_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), - (VPC_ENDPOINT_SECURITY_GROUP_ID_LIST, {_sN: _SGI}), - (IP_ADDRESS_TYPE, 0), - (DNS_OPTIONS_SPECIFICATION, 0), - (STRING, 0), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (SUBNET_CONFIGURATIONS_LIST, {_sN: _SCu}), - (SERVICE_NETWORK_ARN, 0), - (RESOURCE_CONFIGURATION_ARN, 0), - (STRING, 0), - ), -) - -DNS_ENTRY: StaticSchema = ( - 18, - n0, - _DE, - 0, - (_DN, _HZI), - ((STRING, {_aQN: _DN, _sN: _dN}), (STRING, {_aQN: _HZI, _sN: _hZI})), -) - -DNS_ENTRY_SET: StaticSchema = (16, n0, _DES, 0, (_me,), ((DNS_ENTRY, {_sN: _i}),)) - -DNS_OPTIONS: StaticSchema = ( - 18, - n0, - _DOn, - 0, - (_DRIT, _PDOFIRE, _PDP, _PDSD), - ( - (DNS_RECORD_IP_TYPE, {_aQN: _DRIT, _sN: _dRIT}), - (BOOLEAN, {_aQN: _PDOFIRE, _sN: _pDOFIRE}), - (STRING, {_aQN: _PDP, _sN: _pDP}), - (PRIVATE_DNS_SPECIFIED_DOMAIN_SET, {_aQN: _PDSDS, _sN: _pDSDS}), - ), -) - -SECURITY_GROUP_IDENTIFIER: StaticSchema = ( - 18, - n0, - _SGIec, - 0, - (_GIr, _GN), - ((STRING, {_aQN: _GIr, _sN: _gIr}), (STRING, {_aQN: _GN, _sN: _gN})), -) - -GROUP_IDENTIFIER_SET: StaticSchema = ( - 16, - n0, - _GIS, - 0, - (_me,), - ((SECURITY_GROUP_IDENTIFIER, {_sN: _i}),), -) - -SUBNET_IP_PREFIXES: StaticSchema = ( - 18, - n0, - _SIP, - 0, - (_SIu, _IPpre), - ( - (STRING, {_aQN: _SIu, _sN: _sI}), - (VALUE_STRING_LIST, {_aQN: _IPSpr, _sN: _iPSpr}), - ), -) - -SUBNET_IP_PREFIXES_LIST: StaticSchema = ( - 16, - n0, - _SIPL, - 0, - (_me,), - ((SUBNET_IP_PREFIXES, {_sN: _i}),), -) - -LAST_ERROR: StaticSchema = ( - 18, - n0, - _LEa, - 0, - (_Me, _C), - ((STRING, {_aQN: _Me, _sN: _mes}), (STRING, {_aQN: _C, _sN: _co})), -) - -PAYER_RESPONSIBILITY_TYPE: StaticSchema = ( - 14, - n0, - _PRT, - 0, - (_VEA, _RGAe, _VESA), - ((-1, {_sV: _vea}), (-1, {_sV: _rga}), (-1, {_sV: _vesa})), -) - -PAYER_RESPONSIBILITY_SCOPE: StaticSchema = ( - 14, - n0, - _PRSa, - 0, - (_VECp, _RGC), - ((-1, {_sV: _vec____}), (-1, {_sV: _rgc})), -) - -PAYER_RESPONSIBILITY_ENTRY: StaticSchema = ( - 18, - n0, - _PRE, - 0, - (_Sc, _PRT), - ( - (PAYER_RESPONSIBILITY_SCOPE, {_aQN: _Sc, _sN: _sc}), - (PAYER_RESPONSIBILITY_TYPE, {_aQN: _PRT, _sN: _pRT}), - ), -) - -PAYER_RESPONSIBILITY_SET: StaticSchema = ( - 16, - n0, - _PRSay, - 0, - (_me,), - ((PAYER_RESPONSIBILITY_ENTRY, {_sN: _i}),), -) - -STATE: StaticSchema = ( - 14, - n0, - _St, - 0, - (_PAen, _Pen, _Av, _Del, _Dele, _Rej, _Fai, _Expi, _Par), - ( - (-1, {_sV: _PAen}), - (-1, {_sV: _Pen}), - (-1, {_sV: _Av}), - (-1, {_sV: _Del}), - (-1, {_sV: _Dele}), - (-1, {_sV: _Rej}), - (-1, {_sV: _Fai}), - (-1, {_sV: _Expi}), - (-1, {_sV: _Par}), - ), -) - -VPC_ENDPOINT: StaticSchema = ( - 18, - n0, - _VE, - 0, - ( - _VEI, - _VET, - _VI, - _SN, - _St, - _PDo, - _RTIou, - _SI, - _G, - _IAT, - _DOn, - _PDE, - _RMe, - _NIIe, - _DEn, - _CTrea, - _Tag, - _OIw, - _LEa, - _IPpvr, - _IPp, - _FRa, - _SNAe, - _RCA, - _SRe, - _PRa, - ), - ( - (STRING, {_aQN: _VEI, _sN: _vEI}), - (VPC_ENDPOINT_TYPE, {_aQN: _VET, _sN: _vET}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _SN, _sN: _sNe}), - (STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _PDo, _sN: _pDo}), - (VALUE_STRING_LIST, {_aQN: _RTIS, _sN: _rTIS}), - (VALUE_STRING_LIST, {_aQN: _SISu, _sN: _sISu}), - (GROUP_IDENTIFIER_SET, {_aQN: _GS, _sN: _gS}), - (IP_ADDRESS_TYPE, {_aQN: _IAT, _sN: _iAT}), - (DNS_OPTIONS, {_aQN: _DOn, _sN: _dOn}), - (BOOLEAN, {_aQN: _PDE, _sN: _pDE}), - (BOOLEAN, {_aQN: _RMe, _sN: _rMe}), - (VALUE_STRING_LIST, {_aQN: _NIIS, _sN: _nIIS}), - (DNS_ENTRY_SET, {_aQN: _DES, _sN: _dES}), - (MILLISECOND_DATE_TIME, {_aQN: _CTrea, _sN: _cTre}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (LAST_ERROR, {_aQN: _LEa, _sN: _lE}), - (SUBNET_IP_PREFIXES_LIST, {_aQN: _IPSpv, _sN: _iPS}), - (SUBNET_IP_PREFIXES_LIST, {_aQN: _IPSpvr, _sN: _iPSp}), - (STRING, {_aQN: _FRa, _sN: _fRa}), - (SERVICE_NETWORK_ARN, {_aQN: _SNAe, _sN: _sNAe}), - (RESOURCE_CONFIGURATION_ARN, {_aQN: _RCA, _sN: _rCA}), - (STRING, {_aQN: _SRe, _sN: _sRe}), - (PAYER_RESPONSIBILITY_SET, {_aQN: _PRSay, _sN: _pRSa}), - ), -) - -CREATE_VPC_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CVEO, - {_sSI: _cCVERo, _smit: None}, - (_VE, _CTl), - ((VPC_ENDPOINT, {_aQN: _VE, _sN: _vE}), (STRING, {_aQN: _CTl, _sN: _cTl})), -) - -CREATE_VPC_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CVE, - 0, - CREATE_VPC_ENDPOINT_INPUT, - CREATE_VPC_ENDPOINT_OUTPUT, - (), -) - -CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT: StaticSchema = ( - 18, - n0, - _CVECNI, - {_sSI: _cCVECNR, _sm: None}, - (_DR, _SIe, _VEI, _CNAon, _CEo, _CTl), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_SERVICE_ID, 0), - (VPC_ENDPOINT_ID, 0), - (STRING, 1), - (VALUE_STRING_LIST, 1), - (STRING, 0), - ), -) - -CONNECTION_NOTIFICATION_STATE: StaticSchema = ( - 14, - n0, - _CNS, - 0, - (_Ena, _Dis), - ((-1, {_sV: _Ena}), (-1, {_sV: _Dis})), -) - -CONNECTION_NOTIFICATION_TYPE: StaticSchema = ( - 14, - n0, - _CNT, - 0, - (_Top,), - ((-1, {_sV: _Top}),), -) - -CONNECTION_NOTIFICATION: StaticSchema = ( - 18, - n0, - _CNo, - 0, - (_CNIo, _SIe, _VEI, _CNT, _CNAon, _CEo, _CNS, _SRe), - ( - (STRING, {_aQN: _CNIo, _sN: _cNIo}), - (STRING, {_aQN: _SIe, _sN: _sIe}), - (STRING, {_aQN: _VEI, _sN: _vEI}), - (CONNECTION_NOTIFICATION_TYPE, {_aQN: _CNT, _sN: _cNT}), - (STRING, {_aQN: _CNAon, _sN: _cNAo}), - (VALUE_STRING_LIST, {_aQN: _CEo, _sN: _cEo}), - (CONNECTION_NOTIFICATION_STATE, {_aQN: _CNS, _sN: _cNS}), - (STRING, {_aQN: _SRe, _sN: _sRe}), - ), -) - -CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CVECNO, - {_sSI: _cCVECNRo, _smit: None}, - (_CNo, _CTl), - ( - (CONNECTION_NOTIFICATION, {_aQN: _CNo, _sN: _cN}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - ), -) - -CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION: StaticOperationSchema = ( - 23, - n0, - _CVECN, - 0, - CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT, - CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT, - (), -) - -CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _CVESCI, - {_sSI: _cCVESCR, _sm: None}, - (_DR, _ARc, _PDNr, _NLBAe, _GLBA, _SIAT, _SRu, _CTl, _TSa), - ( - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (VALUE_STRING_LIST, {_sN: _NLBA}), - (VALUE_STRING_LIST, {_sN: _GLBAa}), - (VALUE_STRING_LIST, {_sN: _SIATu}), - (VALUE_STRING_LIST, {_sN: _SRup}), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -PAYER_RESPONSIBILITY: StaticSchema = (14, n0, _PRay, 0, (_SOe,), ((-1, {_sV: _SOe}),)) - -DNS_NAME_STATE: StaticSchema = ( - 14, - n0, - _DNS, - 0, - (_PVe, _Ver, _Fai), - ((-1, {_sV: _pV}), (-1, {_sV: _veri}), (-1, {_sV: _fa})), -) - -PRIVATE_DNS_NAME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PDNC, - 0, - (_St, _Ty, _Va, _N), - ( - (DNS_NAME_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _Va, _sN: _va}), - (STRING, {_aQN: _N, _sN: _nam}), - ), -) - -SERVICE_STATE: StaticSchema = ( - 14, - n0, - _SSer, - 0, - (_Pen, _Av, _Del, _Dele, _Fai), - ( - (-1, {_sV: _Pen}), - (-1, {_sV: _Av}), - (-1, {_sV: _Del}), - (-1, {_sV: _Dele}), - (-1, {_sV: _Fai}), - ), -) - -SERVICE_TYPE: StaticSchema = ( - 14, - n0, - _STe, - 0, - (_Inter, _Ga, _GLB), - ((-1, {_sV: _Inter}), (-1, {_sV: _Ga}), (-1, {_sV: _GLB})), -) - -SERVICE_TYPE_DETAIL: StaticSchema = ( - 18, - n0, - _STD, - 0, - (_STe,), - ((SERVICE_TYPE, {_aQN: _STe, _sN: _sTe}),), -) - -SERVICE_TYPE_DETAIL_SET: StaticSchema = ( - 16, - n0, - _STDS, - 0, - (_me,), - ((SERVICE_TYPE_DETAIL, {_sN: _i}),), -) - -SERVICE_CONNECTIVITY_TYPE: StaticSchema = ( - 14, - n0, - _SCT, - 0, - (_ipv, _ipv_), - ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_})), -) - -SUPPORTED_IP_ADDRESS_TYPES: StaticSchema = ( - 16, - n0, - _SIAT, - 0, - (_me,), - ((SERVICE_CONNECTIVITY_TYPE, {_sN: _i}),), -) - -SUPPORTED_REGION_DETAIL: StaticSchema = ( - 18, - n0, - _SRD, - 0, - (_Re, _SSer), - ((STRING, {_aQN: _Re, _sN: _reg}), (STRING, {_aQN: _SSer, _sN: _sSer})), -) - -SUPPORTED_REGION_SET: StaticSchema = ( - 16, - n0, - _SRSu, - 0, - (_me,), - ((SUPPORTED_REGION_DETAIL, {_sN: _i}),), -) - -SERVICE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCe, - 0, - ( - _STe, - _SIe, - _SN, - _SSer, - _AZIv, - _AZv, - _ARc, - _MVE, - _NLBAe, - _GLBA, - _SIAT, - _BEDN, - _PDNr, - _PDNC, - _PRay, - _Tag, - _SRu, - _RAE, - ), - ( - (SERVICE_TYPE_DETAIL_SET, {_aQN: _STe, _sN: _sTe}), - (STRING, {_aQN: _SIe, _sN: _sIe}), - (STRING, {_aQN: _SN, _sN: _sNe}), - (SERVICE_STATE, {_aQN: _SSer, _sN: _sSer}), - (VALUE_STRING_LIST, {_aQN: _AZIS, _sN: _aZIS}), - (VALUE_STRING_LIST, {_aQN: _AZS, _sN: _aZS}), - (BOOLEAN, {_aQN: _ARc, _sN: _aRc}), - (BOOLEAN, {_aQN: _MVE, _sN: _mVE}), - (VALUE_STRING_LIST, {_aQN: _NLBAS, _sN: _nLBAS}), - (VALUE_STRING_LIST, {_aQN: _GLBAS, _sN: _gLBAS}), - (SUPPORTED_IP_ADDRESS_TYPES, {_aQN: _SIATS, _sN: _sIATS}), - (VALUE_STRING_LIST, {_aQN: _BEDNS, _sN: _bEDNS}), - (STRING, {_aQN: _PDNr, _sN: _pDNr}), - (PRIVATE_DNS_NAME_CONFIGURATION, {_aQN: _PDNC, _sN: _pDNC}), - (PAYER_RESPONSIBILITY, {_aQN: _PRay, _sN: _pRa}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (SUPPORTED_REGION_SET, {_aQN: _SRSu, _sN: _sRSu}), - (BOOLEAN, {_aQN: _RAE, _sN: _rAE}), - ), -) - -CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CVESCO, - {_sSI: _cCVESCRo, _smit: None}, - (_SCe, _CTl), - ( - (SERVICE_CONFIGURATION, {_aQN: _SCe, _sN: _sCe}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - ), -) - -CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _CVESCr, - 0, - CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT, - CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT, - (), -) - -CREATE_VPC_PEERING_CONNECTION_INPUT: StaticSchema = ( - 18, - n0, - _CVPCI, - {_sSI: _cCVPCR, _sm: None}, - (_PRee, _TSa, _DR, _VI, _PVI, _POI), - ( - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), - (STRING, {_aQN: _PVI, _sN: _pVI}), - (STRING, {_aQN: _POI, _sN: _pOI}), - ), -) - -CREATE_VPC_PEERING_CONNECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CVPCO, - {_sSI: _cCVPCRo, _smit: None}, - (_VPC,), - ((VPC_PEERING_CONNECTION, {_aQN: _VPC, _sN: _vPC}),), -) - -CREATE_VPC_PEERING_CONNECTION: StaticOperationSchema = ( - 23, - n0, - _CVPC, - 0, - CREATE_VPC_PEERING_CONNECTION_INPUT, - CREATE_VPC_PEERING_CONNECTION_OUTPUT, - (), -) - -VPN_CONCENTRATOR_TYPE: StaticSchema = ( - 14, - n0, - _VCT, - 0, - (_i_________________________________________________________________________,), - ((-1, {_sV: _ips}),), -) - -CREATE_VPN_CONCENTRATOR_INPUT: StaticSchema = ( - 18, - n0, - _CVCI, - {_sSI: _cCVCR, _sm: None}, - (_Ty, _TGI, _TSa, _DR), - ( - (VPN_CONCENTRATOR_TYPE, 1), - (TRANSIT_GATEWAY_ID, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, 0), - ), -) - -VPN_CONCENTRATOR: StaticSchema = ( - 18, - n0, - _VCp, - 0, - (_VCI, _St, _TGI, _TGAI, _Ty, _Tag), - ( - (STRING, {_aQN: _VCI, _sN: _vCI}), - (STRING, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _Ty, _sN: _ty}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CREATE_VPN_CONCENTRATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _CVCO, - {_sSI: _cCVCRo, _smit: None}, - (_VCp,), - ((VPN_CONCENTRATOR, {_aQN: _VCp, _sN: _vCp}),), -) - -CREATE_VPN_CONCENTRATOR: StaticOperationSchema = ( - 23, - n0, - _CVC, - 0, - CREATE_VPN_CONCENTRATOR_INPUT, - CREATE_VPN_CONCENTRATOR_OUTPUT, - (), -) - -CUSTOMER_GATEWAY_ID: StaticSchema = (3, n0, _CGIu, 0) - -VPN_TUNNEL_BANDWIDTH: StaticSchema = ( - 14, - n0, - _VTB, - 0, - (_stan, _lar), - ((-1, {_sV: _stan}), (-1, {_sV: _lar})), -) - -TUNNEL_INSIDE_IP_VERSION: StaticSchema = ( - 14, - n0, - _TIIV, - 0, - (_ipv, _ipv_), - ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_})), -) - -IKE_VERSIONS_REQUEST_LIST_VALUE: StaticSchema = ( - 18, - n0, - _IKEVRLV, - 0, - (_Va,), - ((STRING, 0),), -) - -IKE_VERSIONS_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _IKEVRL, - 0, - (_me,), - ((IKE_VERSIONS_REQUEST_LIST_VALUE, {_sN: _i}),), -) - -CLOUD_WATCH_LOG_GROUP_ARN: StaticSchema = (3, n0, _CWLGA, 0) - -CLOUD_WATCH_LOG_OPTIONS_SPECIFICATION: StaticSchema = ( - 18, - n0, - _CWLOS, - 0, - (_LEo, _LGA, _LOF, _BLE, _BLGA, _BLOF), - ( - (BOOLEAN, 0), - (CLOUD_WATCH_LOG_GROUP_ARN, 0), - (STRING, 0), - (BOOLEAN, 0), - (CLOUD_WATCH_LOG_GROUP_ARN, 0), - (STRING, 0), - ), -) - -VPN_TUNNEL_LOG_OPTIONS_SPECIFICATION: StaticSchema = ( - 18, - n0, - _VTLOS, - 0, - (_CWLO,), - ((CLOUD_WATCH_LOG_OPTIONS_SPECIFICATION, 0),), -) - -PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PDHGNRLV, - 0, - (_Va,), - ((INTEGER, 0),), -) - -PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _PDHGNRL, - 0, - (_me,), - ((PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE, {_sN: _i}),), -) - -PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PEARLV, - 0, - (_Va,), - ((STRING, 0),), -) - -PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _PEARL, - 0, - (_me,), - ((PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE, {_sN: _i}),), -) - -PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PIARLV, - 0, - (_Va,), - ((STRING, 0),), -) - -PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _PIARL, - 0, - (_me,), - ((PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE, {_sN: _i}),), -) - -PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PDHGNRLVh, - 0, - (_Va,), - ((INTEGER, 0),), -) - -PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _PDHGNRLh, - 0, - (_me,), - ((PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE, {_sN: _i}),), -) - -PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PEARLVh, - 0, - (_Va,), - ((STRING, 0),), -) - -PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _PEARLh, - 0, - (_me,), - ((PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE, {_sN: _i}),), -) - -PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PIARLVh, - 0, - (_Va,), - ((STRING, 0),), -) - -PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _PIARLh, - 0, - (_me,), - ((PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE, {_sN: _i}),), -) - -PRE_SHARED_KEY: StaticSchema = (3, n0, _pSK, 4) - -VPN_TUNNEL_OPTIONS_SPECIFICATION: StaticSchema = ( - 18, - n0, - _VTOS, - 0, - ( - _TICu, - _TIIC, - _PSK, - _PLSh, - _PLSha, - _RMTS, - _RFP, - _RWS, - _DPDTS, - _DPDTA, - _PEAha, - _PEAhas, - _PIAha, - _PIAhas, - _PDHGN, - _PDHGNha, - _IKEV, - _SAt, - _LO, - _ETLC, - ), - ( - (STRING, 0), - (STRING, 0), - (PRE_SHARED_KEY, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST, {_sN: _PEA}), - (PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST, {_sN: _PEAh}), - (PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST, {_sN: _PIA}), - (PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST, {_sN: _PIAh}), - (PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST, {_sN: _PDHGNh}), - (PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST, {_sN: _PDHGNhas}), - (IKE_VERSIONS_REQUEST_LIST, {_sN: _IKEVe}), - (STRING, 0), - (VPN_TUNNEL_LOG_OPTIONS_SPECIFICATION, 0), - (BOOLEAN, 0), - ), -) - -VPN_TUNNEL_OPTIONS_SPECIFICATIONS_LIST: StaticSchema = ( - 16, - n0, - _VTOSL, - 0, - (_me,), - ((VPN_TUNNEL_OPTIONS_SPECIFICATION, 0),), -) - -VPN_CONNECTION_OPTIONS_SPECIFICATION: StaticSchema = ( - 18, - n0, - _VCOS, - 0, - (_EAna, _TIIV, _TO, _LINC, _RINC, _LINCo, _RINCe, _OIAT, _TTGAI, _TB, _SRO), - ( - (BOOLEAN, 0), - (TUNNEL_INSIDE_IP_VERSION, 0), - (VPN_TUNNEL_OPTIONS_SPECIFICATIONS_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (VPN_TUNNEL_BANDWIDTH, 0), - (BOOLEAN, {_aQN: _SRO, _sN: _sRO}), - ), -) - -VPN_CONCENTRATOR_ID: StaticSchema = (3, n0, _VCI, 0) - -CREATE_VPN_CONNECTION_INPUT: StaticSchema = ( - 18, - n0, - _CVCIr, - {_sSI: _cCVCRom, _sm: None}, - (_CGIu, _Ty, _VGI, _TGI, _VCI, _TSa, _PSKS, _DR, _O), - ( - (CUSTOMER_GATEWAY_ID, 1), - (STRING, 1), - (VPN_GATEWAY_ID, 0), - (TRANSIT_GATEWAY_ID, 0), - (VPN_CONCENTRATOR_ID, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VPN_CONNECTION_OPTIONS_SPECIFICATION, {_aQN: _O, _sN: _o}), - ), -) - -CUSTOMER_GATEWAY_CONFIGURATION: StaticSchema = (3, n0, _cGC, 4) - -GATEWAY_ASSOCIATION_STATE: StaticSchema = ( - 14, - n0, - _GAS, - 0, - (_ass, _na___, _as, _di), - ((-1, {_sV: _ass}), (-1, {_sV: _na____}), (-1, {_sV: _as}), (-1, {_sV: _di})), -) - -IKE_VERSIONS_LIST_VALUE: StaticSchema = ( - 18, - n0, - _IKEVLV, - 0, - (_Va,), - ((STRING, {_aQN: _Va, _sN: _va}),), -) - -IKE_VERSIONS_LIST: StaticSchema = ( - 16, - n0, - _IKEVL, - 0, - (_me,), - ((IKE_VERSIONS_LIST_VALUE, {_sN: _i}),), -) - -CLOUD_WATCH_LOG_OPTIONS: StaticSchema = ( - 18, - n0, - _CWLO, - 0, - (_LEo, _LGA, _LOF, _BLE, _BLGA, _BLOF), - ( - (BOOLEAN, {_aQN: _LEo, _sN: _lEo}), - (STRING, {_aQN: _LGA, _sN: _lGA}), - (STRING, {_aQN: _LOF, _sN: _lOF}), - (BOOLEAN, {_aQN: _BLE, _sN: _bLE}), - (STRING, {_aQN: _BLGA, _sN: _bLGA}), - (STRING, {_aQN: _BLOF, _sN: _bLOF}), - ), -) - -VPN_TUNNEL_LOG_OPTIONS: StaticSchema = ( - 18, - n0, - _VTLO, - 0, - (_CWLO,), - ((CLOUD_WATCH_LOG_OPTIONS, {_aQN: _CWLO, _sN: _cWLO}),), -) - -PHASE1_DH_GROUP_NUMBERS_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PDHGNLV, - 0, - (_Va,), - ((INTEGER, {_aQN: _Va, _sN: _va}),), -) - -PHASE1_DH_GROUP_NUMBERS_LIST: StaticSchema = ( - 16, - n0, - _PDHGNL, - 0, - (_me,), - ((PHASE1_DH_GROUP_NUMBERS_LIST_VALUE, {_sN: _i}),), -) - -PHASE1_ENCRYPTION_ALGORITHMS_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PEALV, - 0, - (_Va,), - ((STRING, {_aQN: _Va, _sN: _va}),), -) - -PHASE1_ENCRYPTION_ALGORITHMS_LIST: StaticSchema = ( - 16, - n0, - _PEAL, - 0, - (_me,), - ((PHASE1_ENCRYPTION_ALGORITHMS_LIST_VALUE, {_sN: _i}),), -) - -PHASE1_INTEGRITY_ALGORITHMS_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PIALV, - 0, - (_Va,), - ((STRING, {_aQN: _Va, _sN: _va}),), -) - -PHASE1_INTEGRITY_ALGORITHMS_LIST: StaticSchema = ( - 16, - n0, - _PIAL, - 0, - (_me,), - ((PHASE1_INTEGRITY_ALGORITHMS_LIST_VALUE, {_sN: _i}),), -) - -PHASE2_DH_GROUP_NUMBERS_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PDHGNLVh, - 0, - (_Va,), - ((INTEGER, {_aQN: _Va, _sN: _va}),), -) - -PHASE2_DH_GROUP_NUMBERS_LIST: StaticSchema = ( - 16, - n0, - _PDHGNLh, - 0, - (_me,), - ((PHASE2_DH_GROUP_NUMBERS_LIST_VALUE, {_sN: _i}),), -) - -PHASE2_ENCRYPTION_ALGORITHMS_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PEALVh, - 0, - (_Va,), - ((STRING, {_aQN: _Va, _sN: _va}),), -) - -PHASE2_ENCRYPTION_ALGORITHMS_LIST: StaticSchema = ( - 16, - n0, - _PEALh, - 0, - (_me,), - ((PHASE2_ENCRYPTION_ALGORITHMS_LIST_VALUE, {_sN: _i}),), -) - -PHASE2_INTEGRITY_ALGORITHMS_LIST_VALUE: StaticSchema = ( - 18, - n0, - _PIALVh, - 0, - (_Va,), - ((STRING, {_aQN: _Va, _sN: _va}),), -) - -PHASE2_INTEGRITY_ALGORITHMS_LIST: StaticSchema = ( - 16, - n0, - _PIALh, - 0, - (_me,), - ((PHASE2_INTEGRITY_ALGORITHMS_LIST_VALUE, {_sN: _i}),), -) - -TUNNEL_OPTION: StaticSchema = ( - 18, - n0, - _TOu, - 0, - ( - _OIA, - _TICu, - _TIIC, - _PSK, - _PLSh, - _PLSha, - _RMTS, - _RFP, - _RWS, - _DTS, - _DTA, - _PEAha, - _PEAhas, - _PIAha, - _PIAhas, - _PDHGN, - _PDHGNha, - _IVk, - _SAt, - _LO, - _ETLC, - ), - ( - (STRING, {_aQN: _OIA, _sN: _oIA}), - (STRING, {_aQN: _TICu, _sN: _tICu}), - (STRING, {_aQN: _TIIC, _sN: _tIIC}), - (PRE_SHARED_KEY, {_aQN: _PSK, _sN: _pSK}), - (INTEGER, {_aQN: _PLSh, _sN: _pLS}), - (INTEGER, {_aQN: _PLSha, _sN: _pLSh}), - (INTEGER, {_aQN: _RMTS, _sN: _rMTS}), - (INTEGER, {_aQN: _RFP, _sN: _rFP}), - (INTEGER, {_aQN: _RWS, _sN: _rWS}), - (INTEGER, {_aQN: _DTS, _sN: _dTS}), - (STRING, {_aQN: _DTA, _sN: _dTA}), - (PHASE1_ENCRYPTION_ALGORITHMS_LIST, {_aQN: _PEAS, _sN: _pEAS}), - (PHASE2_ENCRYPTION_ALGORITHMS_LIST, {_aQN: _PEASh, _sN: _pEASh}), - (PHASE1_INTEGRITY_ALGORITHMS_LIST, {_aQN: _PIASh, _sN: _pIASh}), - (PHASE2_INTEGRITY_ALGORITHMS_LIST, {_aQN: _PIASha, _sN: _pIASha}), - (PHASE1_DH_GROUP_NUMBERS_LIST, {_aQN: _PDHGNS, _sN: _pDHGNS}), - (PHASE2_DH_GROUP_NUMBERS_LIST, {_aQN: _PDHGNSh, _sN: _pDHGNSh}), - (IKE_VERSIONS_LIST, {_aQN: _IVS, _sN: _iVS}), - (STRING, {_aQN: _SAt, _sN: _sAt}), - (VPN_TUNNEL_LOG_OPTIONS, {_aQN: _LO, _sN: _lO}), - (BOOLEAN, {_aQN: _ETLC, _sN: _eTLC}), - ), -) - -TUNNEL_OPTIONS_LIST: StaticSchema = ( - 16, - n0, - _TOL, - 0, - (_me,), - ((TUNNEL_OPTION, {_sN: _i}),), -) - -VPN_CONNECTION_OPTIONS: StaticSchema = ( - 18, - n0, - _VCO, - 0, - (_EAna, _SRO, _LINC, _RINC, _LINCo, _RINCe, _OIAT, _TTGAI, _TIIV, _TO, _TB), - ( - (BOOLEAN, {_aQN: _EAna, _sN: _eAn}), - (BOOLEAN, {_aQN: _SRO, _sN: _sRO}), - (STRING, {_aQN: _LINC, _sN: _lINC}), - (STRING, {_aQN: _RINC, _sN: _rINC}), - (STRING, {_aQN: _LINCo, _sN: _lINCo}), - (STRING, {_aQN: _RINCe, _sN: _rINCe}), - (STRING, {_aQN: _OIAT, _sN: _oIAT}), - (STRING, {_aQN: _TTGAI, _sN: _tTGAI}), - (TUNNEL_INSIDE_IP_VERSION, {_aQN: _TIIV, _sN: _tIIV}), - (TUNNEL_OPTIONS_LIST, {_aQN: _TOS, _sN: _tOS}), - (VPN_TUNNEL_BANDWIDTH, {_aQN: _TB, _sN: _tB}), - ), -) - -VPN_STATIC_ROUTE_SOURCE: StaticSchema = ( - 14, - n0, - _VSRS, - 0, - (_Stat,), - ((-1, {_sV: _Stat}),), -) - -VPN_STATE: StaticSchema = ( - 14, - n0, - _VSpn, - 0, - (_p, _av, _de, _del), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), -) - -VPN_STATIC_ROUTE: StaticSchema = ( - 18, - n0, - _VSR, - 0, - (_DCB, _Sou, _St), - ( - (STRING, {_aQN: _DCB, _sN: _dCB}), - (VPN_STATIC_ROUTE_SOURCE, {_aQN: _Sou, _sN: _so}), - (VPN_STATE, {_aQN: _St, _sN: _st}), - ), -) - -VPN_STATIC_ROUTE_LIST: StaticSchema = ( - 16, - n0, - _VSRL, - 0, - (_me,), - ((VPN_STATIC_ROUTE, {_sN: _i}),), -) - -TELEMETRY_STATUS: StaticSchema = ( - 14, - n0, - _TSe, - 0, - (_UP__, _DOWN), - ((-1, {_sV: _UP__}), (-1, {_sV: _DOWN})), -) - -VGW_TELEMETRY: StaticSchema = ( - 18, - n0, - _VTg, - 0, - (_ARC, _LSC, _OIA, _Sta, _SMt, _CAe), - ( - (INTEGER, {_aQN: _ARC, _sN: _aRC}), - (DATE_TIME, {_aQN: _LSC, _sN: _lSC}), - (STRING, {_aQN: _OIA, _sN: _oIA}), - (TELEMETRY_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (STRING, {_aQN: _CAe, _sN: _cAe}), - ), -) - -VGW_TELEMETRY_LIST: StaticSchema = ( - 16, - n0, - _VTL, - 0, - (_me,), - ((VGW_TELEMETRY, {_sN: _i}),), -) - -VPN_CONNECTION: StaticSchema = ( - 18, - n0, - _VC, - 0, - ( - _Ca, - _TGI, - _VCI, - _CNA, - _CNAA, - _GAS, - _O, - _Rout, - _Tag, - _VTg, - _PSKA, - _VCIp, - _St, - _CGC, - _Ty, - _CGIu, - _VGI, - ), - ( - (STRING, {_aQN: _Ca, _sN: _cat}), - (STRING, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _VCI, _sN: _vCI}), - (STRING, {_aQN: _CNA, _sN: _cNA}), - (STRING, {_aQN: _CNAA, _sN: _cNAA}), - (GATEWAY_ASSOCIATION_STATE, {_aQN: _GAS, _sN: _gAS}), - (VPN_CONNECTION_OPTIONS, {_aQN: _O, _sN: _o}), - (VPN_STATIC_ROUTE_LIST, {_aQN: _Rout, _sN: _rout}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (VGW_TELEMETRY_LIST, {_aQN: _VTg, _sN: _vTg}), - (STRING, {_aQN: _PSKA, _sN: _pSKA}), - (STRING, {_aQN: _VCIp, _sN: _vCIp}), - (VPN_STATE, {_aQN: _St, _sN: _st}), - (CUSTOMER_GATEWAY_CONFIGURATION, {_aQN: _CGC, _sN: _cGC}), - (GATEWAY_TYPE, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _CGIu, _sN: _cGIu}), - (STRING, {_aQN: _VGI, _sN: _vGI}), - ), -) - -CREATE_VPN_CONNECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CVCOr, - {_sSI: _cCVCRoma, _smit: None}, - (_VC,), - ((VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), -) - -CREATE_VPN_CONNECTION: StaticOperationSchema = ( - 23, - n0, - _CVCr, - 0, - CREATE_VPN_CONNECTION_INPUT, - CREATE_VPN_CONNECTION_OUTPUT, - (), -) - -VPN_CONNECTION_ID: StaticSchema = (3, n0, _VCIp, 0) - -CREATE_VPN_CONNECTION_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _CVCRI, - {_sSI: _cCVCRR, _sm: None}, - (_DCB, _VCIp), - ((STRING, 1), (VPN_CONNECTION_ID, 1)), -) - -CREATE_VPN_CONNECTION_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _CVCRO, - {_sSI: _sU, _smit: None}, -) - -CREATE_VPN_CONNECTION_ROUTE: StaticOperationSchema = ( - 23, - n0, - _CVCR, - 0, - CREATE_VPN_CONNECTION_ROUTE_INPUT, - CREATE_VPN_CONNECTION_ROUTE_OUTPUT, - (), -) - -CREATE_VPN_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _CVGI, - {_sSI: _cCVGR, _sm: None}, - (_AZ, _Ty, _TSa, _ASA, _DR), - ( - (STRING, 0), - (GATEWAY_TYPE, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (LONG, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -VPC_ATTACHMENT_LIST: StaticSchema = ( - 16, - n0, - _VALp, - 0, - (_me,), - ((VPC_ATTACHMENT, {_sN: _i}),), -) - -VPN_GATEWAY: StaticSchema = ( - 18, - n0, - _VG, - 0, - (_ASA, _Tag, _VGI, _St, _Ty, _AZ, _VAp), - ( - (LONG, {_aQN: _ASA, _sN: _aSA}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _VGI, _sN: _vGI}), - (VPN_STATE, {_aQN: _St, _sN: _st}), - (GATEWAY_TYPE, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (VPC_ATTACHMENT_LIST, {_aQN: _Att, _sN: _attac}), - ), -) - -CREATE_VPN_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _CVGO, - {_sSI: _cCVGRo, _smit: None}, - (_VG,), - ((VPN_GATEWAY, {_aQN: _VG, _sN: _vG}),), -) - -CREATE_VPN_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _CVG, - 0, - CREATE_VPN_GATEWAY_INPUT, - CREATE_VPN_GATEWAY_OUTPUT, - (), -) - -DELETE_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( - 18, - n0, - _DASCI, - {_sSI: _cDASCR, _sm: None}, - (_ASCI, _CTl, _DR), - ((APPLICATION_STATUS_CHECK_ID, 1), (STRING, 2), (BOOLEAN, 0)), -) - -DELETE_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( - 18, - n0, - _DASCO, - {_sSI: _cDASCRo, _smit: None}, - (_ASCp,), - ((APPLICATION_STATUS_CHECK_RESPONSE_OBJECT, {_aQN: _ASCp, _sN: _aSC}),), -) - -DELETE_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( - 23, - n0, - _DASC, - 0, - DELETE_APPLICATION_STATUS_CHECK_INPUT, - DELETE_APPLICATION_STATUS_CHECK_OUTPUT, - (), -) - -DELETE_CAPACITY_MANAGER_DATA_EXPORT_INPUT: StaticSchema = ( - 18, - n0, - _DCMDEI, - {_sSI: _cDCMDER, _sm: None}, - (_CMDEI, _DR), - ((CAPACITY_MANAGER_DATA_EXPORT_ID, 1), (BOOLEAN, 0)), -) - -DELETE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _DCMDEO, - {_sSI: _cDCMDERo, _smit: None}, - (_CMDEI,), - ((CAPACITY_MANAGER_DATA_EXPORT_ID, {_aQN: _CMDEI, _sN: _cMDEI}),), -) - -DELETE_CAPACITY_MANAGER_DATA_EXPORT: StaticOperationSchema = ( - 23, - n0, - _DCMDE, - 0, - DELETE_CAPACITY_MANAGER_DATA_EXPORT_INPUT, - DELETE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT, - (), -) - -DELETE_CARRIER_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DCGI, - {_sSI: _cDCGR, _sm: None}, - (_CGI, _DR), - ((CARRIER_GATEWAY_ID, 1), (BOOLEAN, 0)), -) - -DELETE_CARRIER_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _DCGO, - {_sSI: _cDCGRo, _smit: None}, - (_CGa,), - ((CARRIER_GATEWAY, {_aQN: _CGa, _sN: _cGa}),), -) - -DELETE_CARRIER_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DCG, - 0, - DELETE_CARRIER_GATEWAY_INPUT, - DELETE_CARRIER_GATEWAY_OUTPUT, - (), -) - -DELETE_CLIENT_VPN_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DCVEI, - {_sSI: _cDCVER, _sm: None}, - (_CVEI, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (BOOLEAN, 0)), -) - -DELETE_CLIENT_VPN_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DCVEO, - {_sSI: _cDCVERo, _smit: None}, - (_Sta,), - ((CLIENT_VPN_ENDPOINT_STATUS, {_aQN: _Sta, _sN: _sta}),), -) - -DELETE_CLIENT_VPN_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DCVE, - 0, - DELETE_CLIENT_VPN_ENDPOINT_INPUT, - DELETE_CLIENT_VPN_ENDPOINT_OUTPUT, - (), -) - -DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DCVEAPI, - {_sSI: _cDCVEAPR, _sm: None}, - (_CVEI, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (BOOLEAN, 0)), -) - -CLIENT_VPN_AUTHORIZATION_POLICY_STATUS: StaticSchema = ( - 14, - n0, - _CVAPS, - 0, - (_cre, _up, _act, _fa, _de), - ( - (-1, {_sV: _cre}), - (-1, {_sV: _up}), - (-1, {_sV: _act}), - (-1, {_sV: _fa}), - (-1, {_sV: _de}), - ), -) - -DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DCVEAPO, - {_sSI: _cDCVEAPRo, _smit: None}, - (_Sta,), - ((CLIENT_VPN_AUTHORIZATION_POLICY_STATUS, {_aQN: _Sta, _sN: _sta}),), -) - -DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY: StaticOperationSchema = ( - 23, - n0, - _DCVEAP, - 0, - DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT, - DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT, - (), -) - -DELETE_CLIENT_VPN_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _DCVRI, - {_sSI: _cDCVRR, _sm: None}, - (_CVEI, _TVSI, _DCB, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (SUBNET_ID, 0), (STRING, 1), (BOOLEAN, 0)), -) - -DELETE_CLIENT_VPN_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DCVRO, - {_sSI: _cDCVRRo, _smit: None}, - (_Sta,), - ((CLIENT_VPN_ROUTE_STATUS, {_aQN: _Sta, _sN: _sta}),), -) - -DELETE_CLIENT_VPN_ROUTE: StaticOperationSchema = ( - 23, - n0, - _DCVR, - 0, - DELETE_CLIENT_VPN_ROUTE_INPUT, - DELETE_CLIENT_VPN_ROUTE_OUTPUT, - (), -) - -DELETE_COIP_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _DCCI, - {_sSI: _cDCCR, _sm: None}, - (_Ci, _CPIo, _DR), - ((STRING, 1), (IPV4_POOL_COIP_ID, 1), (BOOLEAN, 0)), -) - -DELETE_COIP_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _DCCO, - {_sSI: _cDCCRo, _smit: None}, - (_CCo,), - ((COIP_CIDR, {_aQN: _CCo, _sN: _cCo}),), -) - -DELETE_COIP_CIDR: StaticOperationSchema = ( - 23, - n0, - _DCC, - 0, - DELETE_COIP_CIDR_INPUT, - DELETE_COIP_CIDR_OUTPUT, - (), -) - -DELETE_COIP_POOL_INPUT: StaticSchema = ( - 18, - n0, - _DCPI, - {_sSI: _cDCPR, _sm: None}, - (_CPIo, _DR), - ((IPV4_POOL_COIP_ID, 1), (BOOLEAN, 0)), -) - -DELETE_COIP_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _DCPO, - {_sSI: _cDCPRo, _smit: None}, - (_CP,), - ((COIP_POOL, {_aQN: _CP, _sN: _cP}),), -) - -DELETE_COIP_POOL: StaticOperationSchema = ( - 23, - n0, - _DCP, - 0, - DELETE_COIP_POOL_INPUT, - DELETE_COIP_POOL_OUTPUT, - (), -) - -DELETE_CUSTOMER_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DCGIe, - {_sSI: _cDCGRom, _sm: None}, - (_CGIu, _DR), - ((CUSTOMER_GATEWAY_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DELETE_CUSTOMER_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _DCGOe, - {_sSI: _sU, _smit: None}, -) - -DELETE_CUSTOMER_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DCGe, - 0, - DELETE_CUSTOMER_GATEWAY_INPUT, - DELETE_CUSTOMER_GATEWAY_OUTPUT, - (), -) - -DHCP_OPTIONS_ID: StaticSchema = (3, n0, _DOI, 0) - -DELETE_DHCP_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DDOIe, - {_sSI: _cDDOR, _sm: None}, - (_DOI, _DR), - ((DHCP_OPTIONS_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DELETE_DHCP_OPTIONS_OUTPUT: StaticSchema = (18, n0, _DDOO, {_sSI: _sU, _smit: None}) - -DELETE_DHCP_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _DDO, - 0, - DELETE_DHCP_OPTIONS_INPUT, - DELETE_DHCP_OPTIONS_OUTPUT, - (), -) - -DELETE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DEOIGI, - {_sSI: _cDEOIGR, _sm: None}, - (_DR, _EOIGI), - ((BOOLEAN, 0), (EGRESS_ONLY_INTERNET_GATEWAY_ID, 1)), -) - -DELETE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _DEOIGO, - {_sSI: _cDEOIGRo, _smit: None}, - (_RCe,), - ((BOOLEAN, {_aQN: _RCe, _sN: _rC}),), -) - -DELETE_EGRESS_ONLY_INTERNET_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DEOIG, - 0, - DELETE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT, - DELETE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT, - (), -) - -FLEET_ID_SET: StaticSchema = (16, n0, _FISl, 0, (_me,), ((FLEET_ID, 0),)) - -DELETE_FLEETS_INPUT: StaticSchema = ( - 18, - n0, - _DFI, - {_sSI: _cDFR, _sm: None}, - (_DR, _FIle, _TIe), - ((BOOLEAN, 0), (FLEET_ID_SET, {_sN: _FIl, _smi: None}), (BOOLEAN, 1)), -) - -FLEET_STATE_CODE: StaticSchema = ( - 14, - n0, - _FSC, - 0, - (_SUBMITTED, _ACTIVE, _DELETED, _FAILED, _DR_, _DTI, _MODIFYING), - ( - (-1, {_sV: _subm}), - (-1, {_sV: _act}), - (-1, {_sV: _del}), - (-1, {_sV: _fa}), - (-1, {_sV: _dr}), - (-1, {_sV: _dt}), - (-1, {_sV: _mo}), - ), -) - -DELETE_FLEET_SUCCESS_ITEM: StaticSchema = ( - 18, - n0, - _DFSI, - 0, - (_CFS, _PFS, _FIl), - ( - (FLEET_STATE_CODE, {_aQN: _CFS, _sN: _cFS}), - (FLEET_STATE_CODE, {_aQN: _PFS, _sN: _pFS}), - (FLEET_ID, {_aQN: _FIl, _sN: _fIl}), - ), -) - -DELETE_FLEET_SUCCESS_SET: StaticSchema = ( - 16, - n0, - _DFSS, - 0, - (_me,), - ((DELETE_FLEET_SUCCESS_ITEM, {_sN: _i}),), -) - -DELETE_FLEET_ERROR_CODE: StaticSchema = ( - 14, - n0, - _DFEC, - 0, - (_FIDNE, _FIM, _FNIDS, _UE), - ((-1, {_sV: _fIDNE}), (-1, {_sV: _fIM}), (-1, {_sV: _fNIDS}), (-1, {_sV: _uE})), -) - -DELETE_FLEET_ERROR: StaticSchema = ( - 18, - n0, - _DFE, - 0, - (_C, _Me), - ((DELETE_FLEET_ERROR_CODE, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -DELETE_FLEET_ERROR_ITEM: StaticSchema = ( - 18, - n0, - _DFEI, - 0, - (_E, _FIl), - ((DELETE_FLEET_ERROR, {_aQN: _E, _sN: _er}), (FLEET_ID, {_aQN: _FIl, _sN: _fIl})), -) - -DELETE_FLEET_ERROR_SET: StaticSchema = ( - 16, - n0, - _DFES, - 0, - (_me,), - ((DELETE_FLEET_ERROR_ITEM, {_sN: _i}),), -) - -DELETE_FLEETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DFO, - {_sSI: _cDFRo, _smit: None}, - (_SFD, _UFD), - ( - (DELETE_FLEET_SUCCESS_SET, {_aQN: _SFDS, _sN: _sFDS}), - (DELETE_FLEET_ERROR_SET, {_aQN: _UFDS, _sN: _uFDS}), - ), -) - -DELETE_FLEETS: StaticOperationSchema = ( - 23, - n0, - _DFe, - 0, - DELETE_FLEETS_INPUT, - DELETE_FLEETS_OUTPUT, - (), -) - -VPC_FLOW_LOG_ID: StaticSchema = (3, n0, _VFLI, 0) - -FLOW_LOG_ID_LIST: StaticSchema = ( - 16, - n0, - _FLIL, - 0, - (_me,), - ((VPC_FLOW_LOG_ID, {_sN: _i}),), -) - -DELETE_FLOW_LOGS_INPUT: StaticSchema = ( - 18, - n0, - _DFLI, - {_sSI: _cDFLR, _sm: None}, - (_DR, _FLI), - ((BOOLEAN, 0), (FLOW_LOG_ID_LIST, {_sN: _FLIl, _smi: None})), -) - -DELETE_FLOW_LOGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DFLO, - {_sSI: _cDFLRo, _smit: None}, - (_Un,), - ((UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), -) - -DELETE_FLOW_LOGS: StaticOperationSchema = ( - 23, - n0, - _DFL, - 0, - DELETE_FLOW_LOGS_INPUT, - DELETE_FLOW_LOGS_OUTPUT, - (), -) - -FPGA_IMAGE_ID: StaticSchema = (3, n0, _FII, 0) - -DELETE_FPGA_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _DFII, - {_sSI: _cDFIR, _sm: None}, - (_DR, _FII), - ((BOOLEAN, 0), (FPGA_IMAGE_ID, 1)), -) - -DELETE_FPGA_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _DFIO, - {_sSI: _cDFIRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DELETE_FPGA_IMAGE: StaticOperationSchema = ( - 23, - n0, - _DFIe, - 0, - DELETE_FPGA_IMAGE_INPUT, - DELETE_FPGA_IMAGE_OUTPUT, - (), -) - -DELETE_IMAGE_USAGE_REPORT_INPUT: StaticSchema = ( - 18, - n0, - _DIURI, - {_sSI: _cDIURR, _sm: None}, - (_RIep, _DR), - ((IMAGE_USAGE_REPORT_ID, 1), (BOOLEAN, 0)), -) - -DELETE_IMAGE_USAGE_REPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _DIURO, - {_sSI: _cDIURRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DELETE_IMAGE_USAGE_REPORT: StaticOperationSchema = ( - 23, - n0, - _DIUR, - 0, - DELETE_IMAGE_USAGE_REPORT_INPUT, - DELETE_IMAGE_USAGE_REPORT_OUTPUT, - (), -) - -DELETE_INSTANCE_CONNECT_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DICEI, - {_sSI: _cDICER, _sm: None}, - (_DR, _ICEI), - ((BOOLEAN, 0), (INSTANCE_CONNECT_ENDPOINT_ID, 1)), -) - -DELETE_INSTANCE_CONNECT_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DICEO, - {_sSI: _cDICERo, _smit: None}, - (_ICE,), - ((EC2_INSTANCE_CONNECT_ENDPOINT, {_aQN: _ICE, _sN: _iCE}),), -) - -DELETE_INSTANCE_CONNECT_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DICE, - 0, - DELETE_INSTANCE_CONNECT_ENDPOINT_INPUT, - DELETE_INSTANCE_CONNECT_ENDPOINT_OUTPUT, - (), -) - -DELETE_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( - 18, - n0, - _DIEWI, - {_sSI: _cDIEWR, _sm: None}, - (_DR, _FD, _IEWI), - ((BOOLEAN, 0), (BOOLEAN, 0), (INSTANCE_EVENT_WINDOW_ID, {_sN: _IEWI, _smi: None})), -) - -INSTANCE_EVENT_WINDOW_STATE_CHANGE: StaticSchema = ( - 18, - n0, - _IEWSC, - 0, - (_IEWI, _St), - ( - (INSTANCE_EVENT_WINDOW_ID, {_aQN: _IEWI, _sN: _iEWI}), - (INSTANCE_EVENT_WINDOW_STATE, {_aQN: _St, _sN: _st}), - ), -) - -DELETE_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( - 18, - n0, - _DIEWO, - {_sSI: _cDIEWRo, _smit: None}, - (_IEWS,), - ((INSTANCE_EVENT_WINDOW_STATE_CHANGE, {_aQN: _IEWS, _sN: _iEWS}),), -) - -DELETE_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( - 23, - n0, - _DIEW, - 0, - DELETE_INSTANCE_EVENT_WINDOW_INPUT, - DELETE_INSTANCE_EVENT_WINDOW_OUTPUT, - (), -) - -DELETE_INTERNET_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DIGI, - {_sSI: _cDIGR, _sm: None}, - (_DR, _IGI), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INTERNET_GATEWAY_ID, {_aQN: _IGI, _sN: _iGI, _smi: None}), - ), -) - -DELETE_INTERNET_GATEWAY_OUTPUT: StaticSchema = (18, n0, _DIGO, {_sSI: _sU, _smit: None}) - -DELETE_INTERNET_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DIG, - 0, - DELETE_INTERNET_GATEWAY_INPUT, - DELETE_INTERNET_GATEWAY_OUTPUT, - (), -) - -DELETE_IPAM_INPUT: StaticSchema = ( - 18, - n0, - _DII, - {_sSI: _cDIR, _sm: None}, - (_DR, _IIp, _Cas), - ((BOOLEAN, 0), (IPAM_ID, 1), (BOOLEAN, 0)), -) - -DELETE_IPAM_OUTPUT: StaticSchema = ( - 18, - n0, - _DIO, - {_sSI: _cDIRo, _smit: None}, - (_Ipa,), - ((IPAM, {_aQN: _Ipa, _sN: _ip}),), -) - -DELETE_IPAM: StaticOperationSchema = ( - 23, - n0, - _DIel, - 0, - DELETE_IPAM_INPUT, - DELETE_IPAM_OUTPUT, - (), -) - -DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _DIERVTI, - {_sSI: _cDIERVTR, _sm: None}, - (_DR, _IERVTI), - ((BOOLEAN, 0), (IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_ID, 1)), -) - -DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _DIERVTO, - {_sSI: _cDIERVTRo, _smit: None}, - (_IERVT,), - ((IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN, {_aQN: _IERVT, _sN: _iERVT}),), -) - -DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN: StaticOperationSchema = ( - 23, - n0, - _DIERVT, - 0, - DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT, - DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT, - (), -) - -DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _DIIRAI, - {_sSI: _cDIIRAR, _sm: None}, - (_DR, _IIRAI), - ((BOOLEAN, 0), (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1)), -) - -DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DIIRAO, - {_sSI: _cDIIRARo, _smit: None}, - (_IIRA,), - ((IPAM_INTERNET_REGISTRY_ASSOCIATION, {_aQN: _IIRA, _sN: _iIRA}),), -) - -DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _DIIRA, - 0, - DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT, - DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT, - (), -) - -DELETE_IPAM_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DIPI, - {_sSI: _cDIPR, _sm: None}, - (_DR, _IPIp), - ((BOOLEAN, 0), (IPAM_POLICY_ID, 1)), -) - -DELETE_IPAM_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPO, - {_sSI: _cDIPRo, _smit: None}, - (_IPpa,), - ((IPAM_POLICY, {_aQN: _IPpa, _sN: _iPpa}),), -) - -DELETE_IPAM_POLICY: StaticOperationSchema = ( - 23, - n0, - _DIPe, - 0, - DELETE_IPAM_POLICY_INPUT, - DELETE_IPAM_POLICY_OUTPUT, - (), -) - -DELETE_IPAM_POOL_INPUT: StaticSchema = ( - 18, - n0, - _DIPIe, - {_sSI: _cDIPRom, _sm: None}, - (_DR, _IPI, _Cas), - ((BOOLEAN, 0), (IPAM_POOL_ID, 1), (BOOLEAN, 0)), -) - -DELETE_IPAM_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPOe, - {_sSI: _cDIPRoma, _smit: None}, - (_IPpam,), - ((IPAM_POOL, {_aQN: _IPpam, _sN: _iPpam}),), -) - -DELETE_IPAM_POOL: StaticOperationSchema = ( - 23, - n0, - _DIPel, - 0, - DELETE_IPAM_POOL_INPUT, - DELETE_IPAM_POOL_OUTPUT, - (), -) - -DELETE_IPAM_PREFIX_LIST_RESOLVER_INPUT: StaticSchema = ( - 18, - n0, - _DIPLRI, - {_sSI: _cDIPLRR, _sm: None}, - (_DR, _IPLRI), - ((BOOLEAN, 0), (IPAM_PREFIX_LIST_RESOLVER_ID, 1)), -) - -DELETE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPLRO, - {_sSI: _cDIPLRRo, _smit: None}, - (_IPLR,), - ((IPAM_PREFIX_LIST_RESOLVER, {_aQN: _IPLR, _sN: _iPLR}),), -) - -DELETE_IPAM_PREFIX_LIST_RESOLVER: StaticOperationSchema = ( - 23, - n0, - _DIPLR, - 0, - DELETE_IPAM_PREFIX_LIST_RESOLVER_INPUT, - DELETE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT, - (), -) - -DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT: StaticSchema = ( - 18, - n0, - _DIPLRTI, - {_sSI: _cDIPLRTR, _sm: None}, - (_DR, _IPLRTI), - ((BOOLEAN, 0), (IPAM_PREFIX_LIST_RESOLVER_TARGET_ID, 1)), -) - -DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPLRTO, - {_sSI: _cDIPLRTRo, _smit: None}, - (_IPLRT,), - ((IPAM_PREFIX_LIST_RESOLVER_TARGET, {_aQN: _IPLRT, _sN: _iPLRT}),), -) - -DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET: StaticOperationSchema = ( - 23, - n0, - _DIPLRT, - 0, - DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT, - DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT, - (), -) - -DELETE_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( - 18, - n0, - _DIRDI, - {_sSI: _cDIRDR, _sm: None}, - (_DR, _IRDI), - ((BOOLEAN, 0), (IPAM_RESOURCE_DISCOVERY_ID, 1)), -) - -DELETE_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( - 18, - n0, - _DIRDO, - {_sSI: _cDIRDRo, _smit: None}, - (_IRD,), - ((IPAM_RESOURCE_DISCOVERY, {_aQN: _IRD, _sN: _iRD}),), -) - -DELETE_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( - 23, - n0, - _DIRD, - 0, - DELETE_IPAM_RESOURCE_DISCOVERY_INPUT, - DELETE_IPAM_RESOURCE_DISCOVERY_OUTPUT, - (), -) - -DELETE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT: StaticSchema = ( - 18, - n0, - _DIRPRI, - {_sSI: _cDIRPRR, _sm: None}, - (_DR, _IIRAI, _Ci, _Fo, _CTl), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (STRING, 1), - (BOXED_BOOLEAN, 0), - (STRING, 2), - ), -) - -DELETE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DIRPRO, - {_sSI: _cDIRPRRo, _smit: None}, - (_IRPRD,), - ((IPAM_ROUTING_POLICY_REGISTRATION_DELTA, {_aQN: _IRPRD, _sN: _iRPRD}),), -) - -DELETE_IPAM_ROUTING_POLICY_REGISTRATION: StaticOperationSchema = ( - 23, - n0, - _DIRPR, - 0, - DELETE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT, - DELETE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT, - (), -) - -DELETE_IPAM_SCOPE_INPUT: StaticSchema = ( - 18, - n0, - _DISI, - {_sSI: _cDISR, _sm: None}, - (_DR, _ISI), - ((BOOLEAN, 0), (IPAM_SCOPE_ID, 1)), -) - -DELETE_IPAM_SCOPE_OUTPUT: StaticSchema = ( - 18, - n0, - _DISO, - {_sSI: _cDISRo, _smit: None}, - (_ISpam,), - ((IPAM_SCOPE, {_aQN: _ISpam, _sN: _iSpa}),), -) - -DELETE_IPAM_SCOPE: StaticOperationSchema = ( - 23, - n0, - _DIS, - 0, - DELETE_IPAM_SCOPE_INPUT, - DELETE_IPAM_SCOPE_OUTPUT, - (), -) - -KEY_PAIR_NAME_WITH_RESOLVER: StaticSchema = (3, n0, _KPNWR, 0) - -KEY_PAIR_ID: StaticSchema = (3, n0, _KPI, 0) - -DELETE_KEY_PAIR_INPUT: StaticSchema = ( - 18, - n0, - _DKPI, - {_sSI: _cDKPR, _sm: None}, - (_KN, _KPI, _DR), - ( - (KEY_PAIR_NAME_WITH_RESOLVER, 0), - (KEY_PAIR_ID, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -DELETE_KEY_PAIR_OUTPUT: StaticSchema = ( - 18, - n0, - _DKPO, - {_sSI: _cDKPRo, _smit: None}, - (_R, _KPI), - ((BOOLEAN, {_aQN: _R, _sN: _r}), (STRING, {_aQN: _KPI, _sN: _kPI})), -) - -DELETE_KEY_PAIR: StaticOperationSchema = ( - 23, - n0, - _DKP, - 0, - DELETE_KEY_PAIR_INPUT, - DELETE_KEY_PAIR_OUTPUT, - (), -) - -DELETE_LAUNCH_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _DLTI, - {_sSI: _cDLTR, _sm: None}, - (_DR, _LTI, _LTN), - ((BOOLEAN, 0), (LAUNCH_TEMPLATE_ID, 0), (LAUNCH_TEMPLATE_NAME, 0)), -) - -DELETE_LAUNCH_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _DLTO, - {_sSI: _cDLTRo, _smit: None}, - (_LT,), - ((LAUNCH_TEMPLATE, {_aQN: _LT, _sN: _lT}),), -) - -DELETE_LAUNCH_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _DLT, - 0, - DELETE_LAUNCH_TEMPLATE_INPUT, - DELETE_LAUNCH_TEMPLATE_OUTPUT, - (), -) - -VERSION_STRING_LIST: StaticSchema = (16, n0, _VSLe, 0, (_me,), ((STRING, {_sN: _i}),)) - -DELETE_LAUNCH_TEMPLATE_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DLTVI, - {_sSI: _cDLTVR, _sm: None}, - (_DR, _LTI, _LTN, _Vers), - ( - (BOOLEAN, 0), - (LAUNCH_TEMPLATE_ID, 0), - (LAUNCH_TEMPLATE_NAME, 0), - (VERSION_STRING_LIST, {_sN: _LTV, _smi: None}), - ), -) - -DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_ITEM: StaticSchema = ( - 18, - n0, - _DLTVRSI, - 0, - (_LTI, _LTN, _VNe), - ( - (STRING, {_aQN: _LTI, _sN: _lTI}), - (STRING, {_aQN: _LTN, _sN: _lTN}), - (LONG, {_aQN: _VNe, _sN: _vNe}), - ), -) - -DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_SET: StaticSchema = ( - 16, - n0, - _DLTVRSS, - 0, - (_me,), - ((DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_ITEM, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_ERROR_CODE: StaticSchema = ( - 14, - n0, - _LTEC, - 0, - (_LTIDNE, _LTIM, _LTNDNE, _LTNM, _LTVDNE, _UE), - ( - (-1, {_sV: _lTIDNE}), - (-1, {_sV: _lTIM}), - (-1, {_sV: _lTNDNE}), - (-1, {_sV: _lTNM}), - (-1, {_sV: _lTVDNE}), - (-1, {_sV: _uE}), - ), -) - -RESPONSE_ERROR: StaticSchema = ( - 18, - n0, - _REe, - 0, - (_C, _Me), - ( - (LAUNCH_TEMPLATE_ERROR_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_ITEM: StaticSchema = ( - 18, - n0, - _DLTVREI, - 0, - (_LTI, _LTN, _VNe, _REe), - ( - (STRING, {_aQN: _LTI, _sN: _lTI}), - (STRING, {_aQN: _LTN, _sN: _lTN}), - (LONG, {_aQN: _VNe, _sN: _vNe}), - (RESPONSE_ERROR, {_aQN: _REe, _sN: _rEe}), - ), -) - -DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_SET: StaticSchema = ( - 16, - n0, - _DLTVRES, - 0, - (_me,), - ((DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_ITEM, {_sN: _i}),), -) - -DELETE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DLTVO, - {_sSI: _cDLTVRo, _smit: None}, - (_SDLTV, _UDLTV), - ( - ( - DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_SET, - {_aQN: _SDLTVS, _sN: _sDLTVS}, - ), - ( - DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_SET, - {_aQN: _UDLTVS, _sN: _uDLTVS}, - ), - ), -) - -DELETE_LAUNCH_TEMPLATE_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _DLTV, - 0, - DELETE_LAUNCH_TEMPLATE_VERSIONS_INPUT, - DELETE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT, - (), -) - -DELETE_LOCAL_GATEWAY_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _DLGRI, - {_sSI: _cDLGRR, _sm: None}, - (_DCB, _LGRTI, _DR, _DPLI), - ( - (STRING, 0), - (LOCAL_GATEWAY_ROUTETABLE_ID, 1), - (BOOLEAN, 0), - (PREFIX_LIST_RESOURCE_ID, 0), - ), -) - -DELETE_LOCAL_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGRO, - {_sSI: _cDLGRRo, _smit: None}, - (_Rou,), - ((LOCAL_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), -) - -DELETE_LOCAL_GATEWAY_ROUTE: StaticOperationSchema = ( - 23, - n0, - _DLGR, - 0, - DELETE_LOCAL_GATEWAY_ROUTE_INPUT, - DELETE_LOCAL_GATEWAY_ROUTE_OUTPUT, - (), -) - -DELETE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DLGRTI, - {_sSI: _cDLGRTR, _sm: None}, - (_LGRTI, _DR), - ((LOCAL_GATEWAY_ROUTETABLE_ID, 1), (BOOLEAN, 0)), -) - -DELETE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGRTO, - {_sSI: _cDLGRTRo, _smit: None}, - (_LGRTo,), - ((LOCAL_GATEWAY_ROUTE_TABLE, {_aQN: _LGRTo, _sN: _lGRT}),), -) - -DELETE_LOCAL_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _DLGRT, - 0, - DELETE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT, - DELETE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT, - (), -) - -DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _DLGRTVIGAI, - {_sSI: _cDLGRTVIGAR, _sm: None}, - (_LGRTVIGAI, _DR), - ( - (LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID, 1), - (BOOLEAN, 0), - ), -) - -DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGRTVIGAO, - {_sSI: _cDLGRTVIGARo, _smit: None}, - (_LGRTVIGA,), - ( - ( - LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION, - {_aQN: _LGRTVIGA, _sN: _lGRTVIGA}, - ), - ), -) - -DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _DLGRTVIGA, - 0, - DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT, - DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT, - (), -) - -DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _DLGRTVAI, - {_sSI: _cDLGRTVAR, _sm: None}, - (_LGRTVAI, _DR), - ((LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID, 1), (BOOLEAN, 0)), -) - -DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGRTVAO, - {_sSI: _cDLGRTVARo, _smit: None}, - (_LGRTVA,), - ((LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION, {_aQN: _LGRTVA, _sN: _lGRTVA}),), -) - -DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _DLGRTVA, - 0, - DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT, - DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT, - (), -) - -DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT: StaticSchema = ( - 18, - n0, - _DLGVII, - {_sSI: _cDLGVIR, _sm: None}, - (_LGVII, _DR), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID, 1), (BOOLEAN, 0)), -) - -DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGVIO, - {_sSI: _cDLGVIRo, _smit: None}, - (_LGVI,), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE, {_aQN: _LGVI, _sN: _lGVI}),), -) - -DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE: StaticOperationSchema = ( - 23, - n0, - _DLGVI, - 0, - DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT, - DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT, - (), -) - -DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DLGVIGI, - {_sSI: _cDLGVIGR, _sm: None}, - (_LGVIGI, _DR), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 1), (BOOLEAN, 0)), -) - -DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGVIGO, - {_sSI: _cDLGVIGRo, _smit: None}, - (_LGVIG,), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP, {_aQN: _LGVIG, _sN: _lGVIG}),), -) - -DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP: StaticOperationSchema = ( - 23, - n0, - _DLGVIG, - 0, - DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT, - DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT, - (), -) - -DELETE_MANAGED_PREFIX_LIST_INPUT: StaticSchema = ( - 18, - n0, - _DMPLI, - {_sSI: _cDMPLR, _sm: None}, - (_DR, _PLI), - ((BOOLEAN, 0), (PREFIX_LIST_RESOURCE_ID, 1)), -) - -DELETE_MANAGED_PREFIX_LIST_OUTPUT: StaticSchema = ( - 18, - n0, - _DMPLO, - {_sSI: _cDMPLRo, _smit: None}, - (_PL,), - ((MANAGED_PREFIX_LIST, {_aQN: _PL, _sN: _pL}),), -) - -DELETE_MANAGED_PREFIX_LIST: StaticOperationSchema = ( - 23, - n0, - _DMPL, - 0, - DELETE_MANAGED_PREFIX_LIST_INPUT, - DELETE_MANAGED_PREFIX_LIST_OUTPUT, - (), -) - -DELETE_NAT_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DNGI, - {_sSI: _cDNGR, _sm: None}, - (_DR, _NGI), - ((BOOLEAN, 0), (NAT_GATEWAY_ID, {_sN: _NGI, _smi: None})), -) - -DELETE_NAT_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _DNGO, - {_sSI: _cDNGRo, _smit: None}, - (_NGI,), - ((STRING, {_aQN: _NGI, _sN: _nGI}),), -) - -DELETE_NAT_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DNG, - 0, - DELETE_NAT_GATEWAY_INPUT, - DELETE_NAT_GATEWAY_OUTPUT, - (), -) - -DELETE_NETWORK_ACL_INPUT: StaticSchema = ( - 18, - n0, - _DNAI, - {_sSI: _cDNAR, _sm: None}, - (_DR, _NAI), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), - ), -) - -DELETE_NETWORK_ACL_OUTPUT: StaticSchema = (18, n0, _DNAO, {_sSI: _sU, _smit: None}) - -DELETE_NETWORK_ACL: StaticOperationSchema = ( - 23, - n0, - _DNA, - 0, - DELETE_NETWORK_ACL_INPUT, - DELETE_NETWORK_ACL_OUTPUT, - (), -) - -DELETE_NETWORK_ACL_ENTRY_INPUT: StaticSchema = ( - 18, - n0, - _DNAEI, - {_sSI: _cDNAER, _sm: None}, - (_DR, _NAI, _RN, _Eg), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), - (INTEGER, {_aQN: _RN, _sN: _rN, _smi: None}), - (BOOLEAN, {_aQN: _Eg, _sN: _egr, _smi: None}), - ), -) - -DELETE_NETWORK_ACL_ENTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _DNAEO, - {_sSI: _sU, _smit: None}, -) - -DELETE_NETWORK_ACL_ENTRY: StaticOperationSchema = ( - 23, - n0, - _DNAE, - 0, - DELETE_NETWORK_ACL_ENTRY_INPUT, - DELETE_NETWORK_ACL_ENTRY_OUTPUT, - (), -) - -DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT: StaticSchema = ( - 18, - n0, - _DNIASI, - {_sSI: _cDNIASR, _sm: None}, - (_DR, _NIASI), - ((BOOLEAN, 0), (NETWORK_INSIGHTS_ACCESS_SCOPE_ID, 1)), -) - -DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIASO, - {_sSI: _cDNIASRo, _smit: None}, - (_NIASI,), - ((NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}),), -) - -DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE: StaticOperationSchema = ( - 23, - n0, - _DNIAS, - 0, - DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT, - DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT, - (), -) - -DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT: StaticSchema = ( - 18, - n0, - _DNIASAI, - {_sSI: _cDNIASAR, _sm: None}, - (_NIASAI, _DR), - ((NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, 1), (BOOLEAN, 0)), -) - -DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIASAO, - {_sSI: _cDNIASARo, _smit: None}, - (_NIASAI,), - ((NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, {_aQN: _NIASAI, _sN: _nIASAI}),), -) - -DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS: StaticOperationSchema = ( - 23, - n0, - _DNIASA, - 0, - DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT, - DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT, - (), -) - -NETWORK_INSIGHTS_ANALYSIS_ID: StaticSchema = (3, n0, _NIAI, 0) - -DELETE_NETWORK_INSIGHTS_ANALYSIS_INPUT: StaticSchema = ( - 18, - n0, - _DNIAI, - {_sSI: _cDNIAR, _sm: None}, - (_DR, _NIAI), - ((BOOLEAN, 0), (NETWORK_INSIGHTS_ANALYSIS_ID, 1)), -) - -DELETE_NETWORK_INSIGHTS_ANALYSIS_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIAO, - {_sSI: _cDNIARo, _smit: None}, - (_NIAI,), - ((NETWORK_INSIGHTS_ANALYSIS_ID, {_aQN: _NIAI, _sN: _nIAI}),), -) - -DELETE_NETWORK_INSIGHTS_ANALYSIS: StaticOperationSchema = ( - 23, - n0, - _DNIA, - 0, - DELETE_NETWORK_INSIGHTS_ANALYSIS_INPUT, - DELETE_NETWORK_INSIGHTS_ANALYSIS_OUTPUT, - (), -) - -DELETE_NETWORK_INSIGHTS_PATH_INPUT: StaticSchema = ( - 18, - n0, - _DNIPI, - {_sSI: _cDNIPR, _sm: None}, - (_DR, _NIPI), - ((BOOLEAN, 0), (NETWORK_INSIGHTS_PATH_ID, 1)), -) - -DELETE_NETWORK_INSIGHTS_PATH_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIPO, - {_sSI: _cDNIPRo, _smit: None}, - (_NIPI,), - ((NETWORK_INSIGHTS_PATH_ID, {_aQN: _NIPI, _sN: _nIPI}),), -) - -DELETE_NETWORK_INSIGHTS_PATH: StaticOperationSchema = ( - 23, - n0, - _DNIP, - 0, - DELETE_NETWORK_INSIGHTS_PATH_INPUT, - DELETE_NETWORK_INSIGHTS_PATH_OUTPUT, - (), -) - -DELETE_NETWORK_INTERFACE_INPUT: StaticSchema = ( - 18, - n0, - _DNII, - {_sSI: _cDNIR, _sm: None}, - (_DR, _NII), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), - ), -) - -DELETE_NETWORK_INTERFACE_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIO, - {_sSI: _sU, _smit: None}, -) - -DELETE_NETWORK_INTERFACE: StaticOperationSchema = ( - 23, - n0, - _DNI, - 0, - DELETE_NETWORK_INTERFACE_INPUT, - DELETE_NETWORK_INTERFACE_OUTPUT, - (), -) - -NETWORK_INTERFACE_PERMISSION_ID: StaticSchema = (3, n0, _NIPIe, 0) - -DELETE_NETWORK_INTERFACE_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _DNIPIe, - {_sSI: _cDNIPRom, _sm: None}, - (_NIPIe, _Fo, _DR), - ((NETWORK_INTERFACE_PERMISSION_ID, 1), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -DELETE_NETWORK_INTERFACE_PERMISSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIPOe, - {_sSI: _cDNIPRoma, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DELETE_NETWORK_INTERFACE_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _DNIPe, - 0, - DELETE_NETWORK_INTERFACE_PERMISSION_INPUT, - DELETE_NETWORK_INTERFACE_PERMISSION_OUTPUT, - (), -) - -PLACEMENT_GROUP_NAME_WITH_RESOLVER: StaticSchema = (3, n0, _PGNWR, 0) - -DELETE_PLACEMENT_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DPGI, - {_sSI: _cDPGR, _sm: None}, - (_DR, _GN), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (PLACEMENT_GROUP_NAME_WITH_RESOLVER, {_aQN: _GN, _sN: _gN, _smi: None}), - ), -) - -DELETE_PLACEMENT_GROUP_OUTPUT: StaticSchema = (18, n0, _DPGO, {_sSI: _sU, _smit: None}) - -DELETE_PLACEMENT_GROUP: StaticOperationSchema = ( - 23, - n0, - _DPG, - 0, - DELETE_PLACEMENT_GROUP_INPUT, - DELETE_PLACEMENT_GROUP_OUTPUT, - (), -) - -DELETE_PUBLIC_IPV4_POOL_INPUT: StaticSchema = ( - 18, - n0, - _DPIPI, - {_sSI: _cDPIPR, _sm: None}, - (_DR, _PIo, _NBG), - ((BOOLEAN, 0), (IPV4_POOL_EC2_ID, 1), (STRING, 0)), -) - -DELETE_PUBLIC_IPV4_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _DPIPO, - {_sSI: _cDPIPRo, _smit: None}, - (_RV,), - ((BOOLEAN, {_aQN: _RV, _sN: _rV}),), -) - -DELETE_PUBLIC_IPV4_POOL: StaticOperationSchema = ( - 23, - n0, - _DPIP, - 0, - DELETE_PUBLIC_IPV4_POOL_INPUT, - DELETE_PUBLIC_IPV4_POOL_OUTPUT, - (), -) - -DELETE_QUEUED_RESERVED_INSTANCES_ID_LIST: StaticSchema = ( - 16, - n0, - _DQRIIL, - 0, - (_me,), - ((RESERVATION_ID, {_sN: _i}),), -) - -DELETE_QUEUED_RESERVED_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DQRII, - {_sSI: _cDQRIR, _sm: None}, - (_DR, _RIIese), - ( - (BOOLEAN, 0), - (DELETE_QUEUED_RESERVED_INSTANCES_ID_LIST, {_sN: _RIIes, _smi: None}), - ), -) - -DELETE_QUEUED_RESERVED_INSTANCES_ERROR_CODE: StaticSchema = ( - 14, - n0, - _DQRIEC, - 0, - (_RIII, _RINIQS, _UE), - ((-1, {_sV: _riii}), (-1, {_sV: _riniqs}), (-1, {_sV: _ue_})), -) - -DELETE_QUEUED_RESERVED_INSTANCES_ERROR: StaticSchema = ( - 18, - n0, - _DQRIE, - 0, - (_C, _Me), - ( - (DELETE_QUEUED_RESERVED_INSTANCES_ERROR_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -FAILED_QUEUED_PURCHASE_DELETION: StaticSchema = ( - 18, - n0, - _FQPD, - 0, - (_E, _RIIes), - ( - (DELETE_QUEUED_RESERVED_INSTANCES_ERROR, {_aQN: _E, _sN: _er}), - (STRING, {_aQN: _RIIes, _sN: _rII}), - ), -) - -FAILED_QUEUED_PURCHASE_DELETION_SET: StaticSchema = ( - 16, - n0, - _FQPDS, - 0, - (_me,), - ((FAILED_QUEUED_PURCHASE_DELETION, {_sN: _i}),), -) - -SUCCESSFUL_QUEUED_PURCHASE_DELETION: StaticSchema = ( - 18, - n0, - _SQPD, - 0, - (_RIIes,), - ((STRING, {_aQN: _RIIes, _sN: _rII}),), -) - -SUCCESSFUL_QUEUED_PURCHASE_DELETION_SET: StaticSchema = ( - 16, - n0, - _SQPDS, - 0, - (_me,), - ((SUCCESSFUL_QUEUED_PURCHASE_DELETION, {_sN: _i}),), -) - -DELETE_QUEUED_RESERVED_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DQRIO, - {_sSI: _cDQRIRo, _smit: None}, - (_SQPDu, _FQPDa), - ( - (SUCCESSFUL_QUEUED_PURCHASE_DELETION_SET, {_aQN: _SQPDS, _sN: _sQPDS}), - (FAILED_QUEUED_PURCHASE_DELETION_SET, {_aQN: _FQPDS, _sN: _fQPDS}), - ), -) - -DELETE_QUEUED_RESERVED_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DQRI, - 0, - DELETE_QUEUED_RESERVED_INSTANCES_INPUT, - DELETE_QUEUED_RESERVED_INSTANCES_OUTPUT, - (), -) - -DELETE_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _DRI, - {_sSI: _cDRR, _sm: None}, - (_DPLI, _DR, _RTIo, _DCB, _DICB), - ( - (PREFIX_LIST_RESOURCE_ID, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), - (STRING, {_aQN: _DCB, _sN: _dCB}), - (STRING, {_aQN: _DICB, _sN: _dICB}), - ), -) - -DELETE_ROUTE_OUTPUT: StaticSchema = (18, n0, _DRO, {_sSI: _sU, _smit: None}) - -DELETE_ROUTE: StaticOperationSchema = ( - 23, - n0, - _DRel, - 0, - DELETE_ROUTE_INPUT, - DELETE_ROUTE_OUTPUT, - (), -) - -DELETE_ROUTE_SERVER_INPUT: StaticSchema = ( - 18, - n0, - _DRSI, - {_sSI: _cDRSR, _sm: None}, - (_RSI, _DR), - ((ROUTE_SERVER_ID, 1), (BOOLEAN, 0)), -) - -DELETE_ROUTE_SERVER_OUTPUT: StaticSchema = ( - 18, - n0, - _DRSO, - {_sSI: _cDRSRo, _smit: None}, - (_RSo,), - ((ROUTE_SERVER, {_aQN: _RSo, _sN: _rSo}),), -) - -DELETE_ROUTE_SERVER: StaticOperationSchema = ( - 23, - n0, - _DRS, - 0, - DELETE_ROUTE_SERVER_INPUT, - DELETE_ROUTE_SERVER_OUTPUT, - (), -) - -DELETE_ROUTE_SERVER_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DRSEI, - {_sSI: _cDRSER, _sm: None}, - (_RSEI, _DR), - ((ROUTE_SERVER_ENDPOINT_ID, 1), (BOOLEAN, 0)), -) - -DELETE_ROUTE_SERVER_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DRSEO, - {_sSI: _cDRSERo, _smit: None}, - (_RSE,), - ((ROUTE_SERVER_ENDPOINT, {_aQN: _RSE, _sN: _rSE}),), -) - -DELETE_ROUTE_SERVER_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DRSE, - 0, - DELETE_ROUTE_SERVER_ENDPOINT_INPUT, - DELETE_ROUTE_SERVER_ENDPOINT_OUTPUT, - (), -) - -DELETE_ROUTE_SERVER_PEER_INPUT: StaticSchema = ( - 18, - n0, - _DRSPI, - {_sSI: _cDRSPR, _sm: None}, - (_RSPI, _DR), - ((ROUTE_SERVER_PEER_ID, 1), (BOOLEAN, 0)), -) - -DELETE_ROUTE_SERVER_PEER_OUTPUT: StaticSchema = ( - 18, - n0, - _DRSPO, - {_sSI: _cDRSPRo, _smit: None}, - (_RSP,), - ((ROUTE_SERVER_PEER, {_aQN: _RSP, _sN: _rSP}),), -) - -DELETE_ROUTE_SERVER_PEER: StaticOperationSchema = ( - 23, - n0, - _DRSP, - 0, - DELETE_ROUTE_SERVER_PEER_INPUT, - DELETE_ROUTE_SERVER_PEER_OUTPUT, - (), -) - -DELETE_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DRTI, - {_sSI: _cDRTR, _sm: None}, - (_DR, _RTIo), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), - ), -) - -DELETE_ROUTE_TABLE_OUTPUT: StaticSchema = (18, n0, _DRTO, {_sSI: _sU, _smit: None}) - -DELETE_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _DRT, - 0, - DELETE_ROUTE_TABLE_INPUT, - DELETE_ROUTE_TABLE_OUTPUT, - (), -) - -DELETE_SECONDARY_NETWORK_INPUT: StaticSchema = ( - 18, - n0, - _DSNI, - {_sSI: _cDSNR, _sm: None}, - (_CTl, _DR, _SNI), - ((STRING, 2), (BOOLEAN, 0), (SECONDARY_NETWORK_ID, 1)), -) - -DELETE_SECONDARY_NETWORK_OUTPUT: StaticSchema = ( - 18, - n0, - _DSNO, - {_sSI: _cDSNRo, _smit: None}, - (_SNec, _CTl), - ((SECONDARY_NETWORK, {_aQN: _SNec, _sN: _sNec}), (STRING, {_aQN: _CTl, _sN: _cTl})), -) - -DELETE_SECONDARY_NETWORK: StaticOperationSchema = ( - 23, - n0, - _DSN, - 0, - DELETE_SECONDARY_NETWORK_INPUT, - DELETE_SECONDARY_NETWORK_OUTPUT, - (), -) - -DELETE_SECONDARY_SUBNET_INPUT: StaticSchema = ( - 18, - n0, - _DSSI, - {_sSI: _cDSSR, _sm: None}, - (_CTl, _DR, _SSIe), - ((STRING, 2), (BOOLEAN, 0), (SECONDARY_SUBNET_ID, 1)), -) - -DELETE_SECONDARY_SUBNET_OUTPUT: StaticSchema = ( - 18, - n0, - _DSSO, - {_sSI: _cDSSRo, _smit: None}, - (_SSe, _CTl), - ((SECONDARY_SUBNET, {_aQN: _SSe, _sN: _sSe}), (STRING, {_aQN: _CTl, _sN: _cTl})), -) - -DELETE_SECONDARY_SUBNET: StaticOperationSchema = ( - 23, - n0, - _DSSe, - 0, - DELETE_SECONDARY_SUBNET_INPUT, - DELETE_SECONDARY_SUBNET_OUTPUT, - (), -) - -DELETE_SECURITY_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DSGI, - {_sSI: _cDSGR, _sm: None}, - (_GIr, _GN, _DR), - ( - (SECURITY_GROUP_ID, 0), - (SECURITY_GROUP_NAME, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -DELETE_SECURITY_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DSGO, - {_sSI: _cDSGRo, _smit: None}, - (_R, _GIr), - ((BOOLEAN, {_aQN: _R, _sN: _r}), (SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr})), -) - -DELETE_SECURITY_GROUP: StaticOperationSchema = ( - 23, - n0, - _DSG, - 0, - DELETE_SECURITY_GROUP_INPUT, - DELETE_SECURITY_GROUP_OUTPUT, - (), -) - -DELETE_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _DSI, - {_sSI: _cDSR, _sm: None}, - (_SIn, _DR), - ((SNAPSHOT_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DELETE_SNAPSHOT_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _sU, _smit: None}) - -DELETE_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _DSel, - 0, - DELETE_SNAPSHOT_INPUT, - DELETE_SNAPSHOT_OUTPUT, - (), -) - -DELETE_SPOT_DATAFEED_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _DSDSI, - {_sSI: _cDSDSR, _sm: None}, - (_DR,), - ((BOOLEAN, {_aQN: _DR, _sN: _dRr}),), -) - -DELETE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DSDSO, - {_sSI: _sU, _smit: None}, -) - -DELETE_SPOT_DATAFEED_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _DSDS, - 0, - DELETE_SPOT_DATAFEED_SUBSCRIPTION_INPUT, - DELETE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT, - (), -) - -DELETE_SUBNET_INPUT: StaticSchema = ( - 18, - n0, - _DSIe, - {_sSI: _cDSRo, _sm: None}, - (_SIu, _DR), - ((SUBNET_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DELETE_SUBNET_OUTPUT: StaticSchema = (18, n0, _DSOe, {_sSI: _sU, _smit: None}) - -DELETE_SUBNET: StaticOperationSchema = ( - 23, - n0, - _DSele, - 0, - DELETE_SUBNET_INPUT, - DELETE_SUBNET_OUTPUT, - (), -) - -DELETE_SUBNET_CIDR_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _DSCRI, - {_sSI: _cDSCRR, _sm: None}, - (_SCRIu, _DR), - ((SUBNET_CIDR_RESERVATION_ID, 1), (BOOLEAN, 0)), -) - -DELETE_SUBNET_CIDR_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DSCRO, - {_sSI: _cDSCRRo, _smit: None}, - (_DSCR,), - ((SUBNET_CIDR_RESERVATION, {_aQN: _DSCR, _sN: _dSCR}),), -) - -DELETE_SUBNET_CIDR_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _DSCRe, - 0, - DELETE_SUBNET_CIDR_RESERVATION_INPUT, - DELETE_SUBNET_CIDR_RESERVATION_OUTPUT, - (), -) - -DELETE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _DTIe, - {_sSI: _cDTR, _sm: None}, - (_DR, _Res, _Tag), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (RESOURCE_ID_LIST, {_aQN: _RIe, _sN: _rI, _smi: None}), - (TAG_LIST, {_aQN: _Ta, _sN: _tag}), - ), -) - -DELETE_TAGS_OUTPUT: StaticSchema = (18, n0, _DTO, {_sSI: _sU, _smit: None}) - -DELETE_TAGS: StaticOperationSchema = ( - 23, - n0, - _DTelet, - 0, - DELETE_TAGS_INPUT, - DELETE_TAGS_OUTPUT, - (), -) - -DELETE_TRAFFIC_MIRROR_FILTER_INPUT: StaticSchema = ( - 18, - n0, - _DTMFI, - {_sSI: _cDTMFR, _sm: None}, - (_TMFI, _DR), - ((TRAFFIC_MIRROR_FILTER_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRAFFIC_MIRROR_FILTER_OUTPUT: StaticSchema = ( - 18, - n0, - _DTMFO, - {_sSI: _cDTMFRo, _smit: None}, - (_TMFI,), - ((STRING, {_aQN: _TMFI, _sN: _tMFI}),), -) - -DELETE_TRAFFIC_MIRROR_FILTER: StaticOperationSchema = ( - 23, - n0, - _DTMF, - 0, - DELETE_TRAFFIC_MIRROR_FILTER_INPUT, - DELETE_TRAFFIC_MIRROR_FILTER_OUTPUT, - (), -) - -TRAFFIC_MIRROR_FILTER_RULE_ID_WITH_RESOLVER: StaticSchema = (3, n0, _TMFRIWR, 0) - -DELETE_TRAFFIC_MIRROR_FILTER_RULE_INPUT: StaticSchema = ( - 18, - n0, - _DTMFRI, - {_sSI: _cDTMFRR, _sm: None}, - (_TMFRI, _DR), - ((TRAFFIC_MIRROR_FILTER_RULE_ID_WITH_RESOLVER, 1), (BOOLEAN, 0)), -) - -DELETE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTMFRO, - {_sSI: _cDTMFRRo, _smit: None}, - (_TMFRI,), - ((STRING, {_aQN: _TMFRI, _sN: _tMFRI}),), -) - -DELETE_TRAFFIC_MIRROR_FILTER_RULE: StaticOperationSchema = ( - 23, - n0, - _DTMFR, - 0, - DELETE_TRAFFIC_MIRROR_FILTER_RULE_INPUT, - DELETE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT, - (), -) - -TRAFFIC_MIRROR_SESSION_ID: StaticSchema = (3, n0, _TMSI, 0) - -DELETE_TRAFFIC_MIRROR_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _DTMSI, - {_sSI: _cDTMSR, _sm: None}, - (_TMSI, _DR), - ((TRAFFIC_MIRROR_SESSION_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRAFFIC_MIRROR_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DTMSO, - {_sSI: _cDTMSRo, _smit: None}, - (_TMSI,), - ((STRING, {_aQN: _TMSI, _sN: _tMSI}),), -) - -DELETE_TRAFFIC_MIRROR_SESSION: StaticOperationSchema = ( - 23, - n0, - _DTMS, - 0, - DELETE_TRAFFIC_MIRROR_SESSION_INPUT, - DELETE_TRAFFIC_MIRROR_SESSION_OUTPUT, - (), -) - -DELETE_TRAFFIC_MIRROR_TARGET_INPUT: StaticSchema = ( - 18, - n0, - _DTMTI, - {_sSI: _cDTMTR, _sm: None}, - (_TMTI, _DR), - ((TRAFFIC_MIRROR_TARGET_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRAFFIC_MIRROR_TARGET_OUTPUT: StaticSchema = ( - 18, - n0, - _DTMTO, - {_sSI: _cDTMTRo, _smit: None}, - (_TMTI,), - ((STRING, {_aQN: _TMTI, _sN: _tMTI}),), -) - -DELETE_TRAFFIC_MIRROR_TARGET: StaticOperationSchema = ( - 23, - n0, - _DTMT, - 0, - DELETE_TRAFFIC_MIRROR_TARGET_INPUT, - DELETE_TRAFFIC_MIRROR_TARGET_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DTGI, - {_sSI: _cDTGR, _sm: None}, - (_TGI, _DR), - ((TRANSIT_GATEWAY_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGO, - {_sSI: _cDTGRo, _smit: None}, - (_TGr,), - ((TRANSIT_GATEWAY, {_aQN: _TGr, _sN: _tG}),), -) - -DELETE_TRANSIT_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DTG, - 0, - DELETE_TRANSIT_GATEWAY_INPUT, - DELETE_TRANSIT_GATEWAY_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _DTGCVAI, - {_sSI: _cDTGCVAR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGCVAO, - {_sSI: _cDTGCVARo, _smit: None}, - (_TGCVA,), - ((TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT, {_aQN: _TGCVA, _sN: _tGCVA}),), -) - -DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _DTGCVA, - 0, - DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT, - DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_CONNECT_INPUT: StaticSchema = ( - 18, - n0, - _DTGCI, - {_sSI: _cDTGCR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_CONNECT_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGCO, - {_sSI: _cDTGCRo, _smit: None}, - (_TGCr,), - ((TRANSIT_GATEWAY_CONNECT, {_aQN: _TGCr, _sN: _tGC}),), -) - -DELETE_TRANSIT_GATEWAY_CONNECT: StaticOperationSchema = ( - 23, - n0, - _DTGC, - 0, - DELETE_TRANSIT_GATEWAY_CONNECT_INPUT, - DELETE_TRANSIT_GATEWAY_CONNECT_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT: StaticSchema = ( - 18, - n0, - _DTGCPI, - {_sSI: _cDTGCPR, _sm: None}, - (_TGCPI, _DR), - ((TRANSIT_GATEWAY_CONNECT_PEER_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGCPO, - {_sSI: _cDTGCPRo, _smit: None}, - (_TGCP,), - ((TRANSIT_GATEWAY_CONNECT_PEER, {_aQN: _TGCP, _sN: _tGCP}),), -) - -DELETE_TRANSIT_GATEWAY_CONNECT_PEER: StaticOperationSchema = ( - 23, - n0, - _DTGCP, - 0, - DELETE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT, - DELETE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_METERING_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DTGMPI, - {_sSI: _cDTGMPR, _sm: None}, - (_TGMPI, _DR), - ((TRANSIT_GATEWAY_METERING_POLICY_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGMPO, - {_sSI: _cDTGMPRo, _smit: None}, - (_TGMP,), - ((TRANSIT_GATEWAY_METERING_POLICY, {_aQN: _TGMP, _sN: _tGMP}),), -) - -DELETE_TRANSIT_GATEWAY_METERING_POLICY: StaticOperationSchema = ( - 23, - n0, - _DTGMP, - 0, - DELETE_TRANSIT_GATEWAY_METERING_POLICY_INPUT, - DELETE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT: StaticSchema = ( - 18, - n0, - _DTGMPEI, - {_sSI: _cDTGMPER, _sm: None}, - (_TGMPI, _PRNo, _DR), - ((TRANSIT_GATEWAY_METERING_POLICY_ID, 1), (INTEGER, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGMPEO, - {_sSI: _cDTGMPERo, _smit: None}, - (_TGMPE,), - ((TRANSIT_GATEWAY_METERING_POLICY_ENTRY, {_aQN: _TGMPE, _sN: _tGMPE}),), -) - -DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY: StaticOperationSchema = ( - 23, - n0, - _DTGMPE, - 0, - DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT, - DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT: StaticSchema = ( - 18, - n0, - _DTGMDI, - {_sSI: _cDTGMDR, _sm: None}, - (_TGMDI, _DR), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGMDO, - {_sSI: _cDTGMDRo, _smit: None}, - (_TGMD,), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN, {_aQN: _TGMD, _sN: _tGMD}),), -) - -DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticOperationSchema = ( - 23, - n0, - _DTGMD, - 0, - DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT, - DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _DTGPAI, - {_sSI: _cDTGPAR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGPAO, - {_sSI: _cDTGPARo, _smit: None}, - (_TGPA,), - ((TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_aQN: _TGPA, _sN: _tGPA}),), -) - -DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _DTGPA, - 0, - DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT, - DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DTGPTI, - {_sSI: _cDTGPTR, _sm: None}, - (_TGPTI, _DR), - ((TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGPTO, - {_sSI: _cDTGPTRo, _smit: None}, - (_TGPT,), - ((TRANSIT_GATEWAY_POLICY_TABLE, {_aQN: _TGPT, _sN: _tGPT}),), -) - -DELETE_TRANSIT_GATEWAY_POLICY_TABLE: StaticOperationSchema = ( - 23, - n0, - _DTGPT, - 0, - DELETE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT, - DELETE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT: StaticSchema = ( - 18, - n0, - _DTGPTEI, - {_sSI: _cDTGPTER, _sm: None}, - (_TGPTI, _PRNo, _DR), - ((TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGPTEO, - {_sSI: _cDTGPTERo, _smit: None}, - (_TGPTE,), - ((TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_aQN: _TGPTE, _sN: _tGPTE}),), -) - -DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticOperationSchema = ( - 23, - n0, - _DTGPTE, - 0, - DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT, - DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT: StaticSchema = ( - 18, - n0, - _DTGPLRI, - {_sSI: _cDTGPLRR, _sm: None}, - (_TGRTI, _PLI, _DR), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), (PREFIX_LIST_RESOURCE_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGPLRO, - {_sSI: _cDTGPLRRo, _smit: None}, - (_TGPLR,), - ((TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE, {_aQN: _TGPLR, _sN: _tGPLR}),), -) - -DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE: StaticOperationSchema = ( - 23, - n0, - _DTGPLR, - 0, - DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT, - DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _DTGRI, - {_sSI: _cDTGRR, _sm: None}, - (_TGRTI, _DCB, _DR), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGRO, - {_sSI: _cDTGRRo, _smit: None}, - (_Rou,), - ((TRANSIT_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), -) - -DELETE_TRANSIT_GATEWAY_ROUTE: StaticOperationSchema = ( - 23, - n0, - _DTGR, - 0, - DELETE_TRANSIT_GATEWAY_ROUTE_INPUT, - DELETE_TRANSIT_GATEWAY_ROUTE_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DTGRTI, - {_sSI: _cDTGRTR, _sm: None}, - (_TGRTI, _DR), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGRTO, - {_sSI: _cDTGRTRo, _smit: None}, - (_TGRT,), - ((TRANSIT_GATEWAY_ROUTE_TABLE, {_aQN: _TGRT, _sN: _tGRT}),), -) - -DELETE_TRANSIT_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _DTGRT, - 0, - DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT, - DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT: StaticSchema = ( - 18, - n0, - _DTGRTAI, - {_sSI: _cDTGRTAR, _sm: None}, - (_TGRTAI, _DR), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGRTAO, - {_sSI: _cDTGRTARo, _smit: None}, - (_TGRTA,), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT, {_aQN: _TGRTA, _sN: _tGRTA}),), -) - -DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT: StaticOperationSchema = ( - 23, - n0, - _DTGRTA, - 0, - DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT, - DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT, - (), -) - -DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _DTGVAI, - {_sSI: _cDTGVAR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGVAO, - {_sSI: _cDTGVARo, _smit: None}, - (_TGVA,), - ((TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), -) - -DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _DTGVA, - 0, - DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, - DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, - (), -) - -VERIFIED_ACCESS_ENDPOINT_ID: StaticSchema = (3, n0, _VAEI, 0) - -DELETE_VERIFIED_ACCESS_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DVAEI, - {_sSI: _cDVAER, _sm: None}, - (_VAEI, _CTl, _DR), - ((VERIFIED_ACCESS_ENDPOINT_ID, 1), (STRING, 2), (BOOLEAN, 0)), -) - -DELETE_VERIFIED_ACCESS_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DVAEO, - {_sSI: _cDVAERo, _smit: None}, - (_VAE,), - ((VERIFIED_ACCESS_ENDPOINT, {_aQN: _VAE, _sN: _vAE}),), -) - -DELETE_VERIFIED_ACCESS_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DVAE, - 0, - DELETE_VERIFIED_ACCESS_ENDPOINT_INPUT, - DELETE_VERIFIED_ACCESS_ENDPOINT_OUTPUT, - (), -) - -DELETE_VERIFIED_ACCESS_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DVAGI, - {_sSI: _cDVAGR, _sm: None}, - (_VAGI, _CTl, _DR), - ((VERIFIED_ACCESS_GROUP_ID, 1), (STRING, 2), (BOOLEAN, 0)), -) - -DELETE_VERIFIED_ACCESS_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DVAGO, - {_sSI: _cDVAGRo, _smit: None}, - (_VAG,), - ((VERIFIED_ACCESS_GROUP, {_aQN: _VAG, _sN: _vAG}),), -) - -DELETE_VERIFIED_ACCESS_GROUP: StaticOperationSchema = ( - 23, - n0, - _DVAG, - 0, - DELETE_VERIFIED_ACCESS_GROUP_INPUT, - DELETE_VERIFIED_ACCESS_GROUP_OUTPUT, - (), -) - -DELETE_VERIFIED_ACCESS_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _DVAII, - {_sSI: _cDVAIR, _sm: None}, - (_VAII, _DR, _CTl), - ((VERIFIED_ACCESS_INSTANCE_ID, 1), (BOOLEAN, 0), (STRING, 2)), -) - -DELETE_VERIFIED_ACCESS_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _DVAIO, - {_sSI: _cDVAIRo, _smit: None}, - (_VAI,), - ((VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}),), -) - -DELETE_VERIFIED_ACCESS_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _DVAI, - 0, - DELETE_VERIFIED_ACCESS_INSTANCE_INPUT, - DELETE_VERIFIED_ACCESS_INSTANCE_OUTPUT, - (), -) - -DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DVATPI, - {_sSI: _cDVATPR, _sm: None}, - (_VATPI, _DR, _CTl), - ((VERIFIED_ACCESS_TRUST_PROVIDER_ID, 1), (BOOLEAN, 0), (STRING, 2)), -) - -DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _DVATPO, - {_sSI: _cDVATPRo, _smit: None}, - (_VATPe,), - ((VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}),), -) - -DELETE_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DVATP, - 0, - DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, - DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, - (), -) - -DELETE_VOLUME_INPUT: StaticSchema = ( - 18, - n0, - _DVI, - {_sSI: _cDVR, _sm: None}, - (_VIo, _DR), - ((VOLUME_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DELETE_VOLUME_OUTPUT: StaticSchema = (18, n0, _DVO, {_sSI: _sU, _smit: None}) - -DELETE_VOLUME: StaticOperationSchema = ( - 23, - n0, - _DVel, - 0, - DELETE_VOLUME_INPUT, - DELETE_VOLUME_OUTPUT, - (), -) - -DELETE_VPC_INPUT: StaticSchema = ( - 18, - n0, - _DVIe, - {_sSI: _cDVRo, _sm: None}, - (_VI, _DR), - ((VPC_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DELETE_VPC_OUTPUT: StaticSchema = (18, n0, _DVOe, {_sSI: _sU, _smit: None}) - -DELETE_VPC: StaticOperationSchema = ( - 23, - n0, - _DVele, - 0, - DELETE_VPC_INPUT, - DELETE_VPC_OUTPUT, - (), -) - -DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT: StaticSchema = ( - 18, - n0, - _DVBPAEI, - {_sSI: _cDVBPAER, _sm: None}, - (_DR, _EIx), - ((BOOLEAN, 0), (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID, 1)), -) - -DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DVBPAEO, - {_sSI: _cDVBPAERo, _smit: None}, - (_VBPAE,), - ((VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION, {_aQN: _VBPAE, _sN: _vBPAE}),), -) - -DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION: StaticOperationSchema = ( - 23, - n0, - _DVBPAE, - 0, - DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT, - DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT, - (), -) - -DELETE_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( - 18, - n0, - _DVECI, - {_sSI: _cDVECR, _sm: None}, - (_DR, _VECI), - ((BOOLEAN, 0), (VPC_ENCRYPTION_CONTROL_ID, 1)), -) - -DELETE_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( - 18, - n0, - _DVECO, - {_sSI: _cDVECRo, _smit: None}, - (_VEC,), - ((VPC_ENCRYPTION_CONTROL, {_aQN: _VEC, _sN: _vEC}),), -) - -DELETE_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( - 23, - n0, - _DVEC, - 0, - DELETE_VPC_ENCRYPTION_CONTROL_INPUT, - DELETE_VPC_ENCRYPTION_CONTROL_OUTPUT, - (), -) - -CONNECTION_NOTIFICATION_ID: StaticSchema = (3, n0, _CNIo, 0) - -CONNECTION_NOTIFICATION_IDS_LIST: StaticSchema = ( - 16, - n0, - _CNIL, - 0, - (_me,), - ((CONNECTION_NOTIFICATION_ID, {_sN: _i}),), -) - -DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVECNI, - {_sSI: _cDVECNR, _sm: None}, - (_DR, _CNIon), - ((BOOLEAN, 0), (CONNECTION_NOTIFICATION_IDS_LIST, {_sN: _CNIo, _smi: None})), -) - -DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVECNO, - {_sSI: _cDVECNRo, _smit: None}, - (_Un,), - ((UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), -) - -DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS: StaticOperationSchema = ( - 23, - n0, - _DVECN, - 0, - DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT, - DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT, - (), -) - -DELETE_VPC_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _DVEI, - {_sSI: _cDVER, _sm: None}, - (_DR, _VEIp), - ((BOOLEAN, 0), (VPC_ENDPOINT_ID_LIST, {_sN: _VEI, _smi: None})), -) - -DELETE_VPC_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVEO, - {_sSI: _cDVERo, _smit: None}, - (_Un,), - ((UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), -) - -DELETE_VPC_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _DVE, - 0, - DELETE_VPC_ENDPOINTS_INPUT, - DELETE_VPC_ENDPOINTS_OUTPUT, - (), -) - -VPC_ENDPOINT_SERVICE_ID_LIST: StaticSchema = ( - 16, - n0, - _VESILp, - 0, - (_me,), - ((VPC_ENDPOINT_SERVICE_ID, {_sN: _i}),), -) - -DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVESCI, - {_sSI: _cDVESCR, _sm: None}, - (_DR, _SIer), - ((BOOLEAN, 0), (VPC_ENDPOINT_SERVICE_ID_LIST, {_sN: _SIe, _smi: None})), -) - -DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVESCO, - {_sSI: _cDVESCRo, _smit: None}, - (_Un,), - ((UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), -) - -DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _DVESC, - 0, - DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT, - DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT, - (), -) - -DELETE_VPC_PEERING_CONNECTION_INPUT: StaticSchema = ( - 18, - n0, - _DVPCI, - {_sSI: _cDVPCR, _sm: None}, - (_DR, _VPCI), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VPC_PEERING_CONNECTION_ID, {_aQN: _VPCI, _sN: _vPCI, _smi: None}), - ), -) - -DELETE_VPC_PEERING_CONNECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DVPCO, - {_sSI: _cDVPCRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DELETE_VPC_PEERING_CONNECTION: StaticOperationSchema = ( - 23, - n0, - _DVPC, - 0, - DELETE_VPC_PEERING_CONNECTION_INPUT, - DELETE_VPC_PEERING_CONNECTION_OUTPUT, - (), -) - -DELETE_VPN_CONCENTRATOR_INPUT: StaticSchema = ( - 18, - n0, - _DVCI, - {_sSI: _cDVCR, _sm: None}, - (_VCI, _DR), - ((VPN_CONCENTRATOR_ID, 1), (BOOLEAN, 0)), -) - -DELETE_VPN_CONCENTRATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCO, - {_sSI: _cDVCRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DELETE_VPN_CONCENTRATOR: StaticOperationSchema = ( - 23, - n0, - _DVC, - 0, - DELETE_VPN_CONCENTRATOR_INPUT, - DELETE_VPN_CONCENTRATOR_OUTPUT, - (), -) - -DELETE_VPN_CONNECTION_INPUT: StaticSchema = ( - 18, - n0, - _DVCIe, - {_sSI: _cDVCRom, _sm: None}, - (_VCIp, _DR), - ((VPN_CONNECTION_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DELETE_VPN_CONNECTION_OUTPUT: StaticSchema = (18, n0, _DVCOe, {_sSI: _sU, _smit: None}) - -DELETE_VPN_CONNECTION: StaticOperationSchema = ( - 23, - n0, - _DVCe, - 0, - DELETE_VPN_CONNECTION_INPUT, - DELETE_VPN_CONNECTION_OUTPUT, - (), -) - -DELETE_VPN_CONNECTION_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _DVCRI, - {_sSI: _cDVCRR, _sm: None}, - (_DCB, _VCIp), - ((STRING, 1), (VPN_CONNECTION_ID, 1)), -) - -DELETE_VPN_CONNECTION_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCRO, - {_sSI: _sU, _smit: None}, -) - -DELETE_VPN_CONNECTION_ROUTE: StaticOperationSchema = ( - 23, - n0, - _DVCR, - 0, - DELETE_VPN_CONNECTION_ROUTE_INPUT, - DELETE_VPN_CONNECTION_ROUTE_OUTPUT, - (), -) - -DELETE_VPN_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DVGI, - {_sSI: _cDVGR, _sm: None}, - (_VGI, _DR), - ((VPN_GATEWAY_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DELETE_VPN_GATEWAY_OUTPUT: StaticSchema = (18, n0, _DVGO, {_sSI: _sU, _smit: None}) - -DELETE_VPN_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DVG, - 0, - DELETE_VPN_GATEWAY_INPUT, - DELETE_VPN_GATEWAY_OUTPUT, - (), -) - -DEPROVISION_BYOIP_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _DBCI, - {_sSI: _cDBCR, _sm: None}, - (_Ci, _DR), - ((STRING, 1), (BOOLEAN, 0)), -) - -DEPROVISION_BYOIP_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _DBCO, - {_sSI: _cDBCRo, _smit: None}, - (_BC,), - ((BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), -) - -DEPROVISION_BYOIP_CIDR: StaticOperationSchema = ( - 23, - n0, - _DBC, - 0, - DEPROVISION_BYOIP_CIDR_INPUT, - DEPROVISION_BYOIP_CIDR_OUTPUT, - (), -) - -DEPROVISION_IPAM_BYOASN_INPUT: StaticSchema = ( - 18, - n0, - _DIBI, - {_sSI: _cDIBR, _sm: None}, - (_DR, _IIp, _Asn), - ((BOOLEAN, 0), (IPAM_ID, 1), (STRING, 1)), -) - -ASN_STATE: StaticSchema = ( - 14, - n0, - _ASsn, - 0, - (_dep, _fd__, _fp, _pd__, _pp, _prov), - ( - (-1, {_sV: _dep}), - (-1, {_sV: _fd___}), - (-1, {_sV: _fp_}), - (-1, {_sV: _pd___}), - (-1, {_sV: _pp_}), - (-1, {_sV: _prov}), - ), -) - -BYOASN: StaticSchema = ( - 18, - n0, - _By, - 0, - (_Asn, _IIp, _SMt, _St), - ( - (STRING, {_aQN: _Asn, _sN: _asn}), - (IPAM_ID, {_aQN: _IIp, _sN: _iIp}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (ASN_STATE, {_aQN: _St, _sN: _st}), - ), -) - -DEPROVISION_IPAM_BYOASN_OUTPUT: StaticSchema = ( - 18, - n0, - _DIBO, - {_sSI: _cDIBRo, _smit: None}, - (_By,), - ((BYOASN, {_aQN: _By, _sN: _by}),), -) - -DEPROVISION_IPAM_BYOASN: StaticOperationSchema = ( - 23, - n0, - _DIB, - 0, - DEPROVISION_IPAM_BYOASN_INPUT, - DEPROVISION_IPAM_BYOASN_OUTPUT, - (), -) - -DEPROVISION_IPAM_POOL_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _DIPCI, - {_sSI: _cDIPCR, _sm: None}, - (_DR, _IPI, _Ci), - ((BOOLEAN, 0), (IPAM_POOL_ID, 1), (STRING, 0)), -) - -IPAM_POOL_CIDR_FAILURE_CODE: StaticSchema = ( - 14, - n0, - _IPCFC, - 0, - (_cna, _le), - ((-1, {_sV: _cna_}), (-1, {_sV: _le_})), -) - -IPAM_POOL_CIDR_FAILURE_REASON: StaticSchema = ( - 18, - n0, - _IPCFR, - 0, - (_C, _Me), - ( - (IPAM_POOL_CIDR_FAILURE_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -IPAM_POOL_CIDR_ID: StaticSchema = (3, n0, _IPCIp, 0) - -IPAM_POOL_CIDR_STATE: StaticSchema = ( - 14, - n0, - _IPCS, - 0, - (_pp, _prov, _fp, _pd__, _dep, _fd__, _pi, _fi__), - ( - (-1, {_sV: _pp_}), - (-1, {_sV: _prov}), - (-1, {_sV: _fp_}), - (-1, {_sV: _pd___}), - (-1, {_sV: _dep}), - (-1, {_sV: _fd___}), - (-1, {_sV: _pi_}), - (-1, {_sV: _fi___}), - ), -) - -IPAM_POOL_CIDR: StaticSchema = ( - 18, - n0, - _IPCpa, - 0, - (_Ci, _St, _FRa, _IPCIp, _NL), - ( - (STRING, {_aQN: _Ci, _sN: _ci}), - (IPAM_POOL_CIDR_STATE, {_aQN: _St, _sN: _st}), - (IPAM_POOL_CIDR_FAILURE_REASON, {_aQN: _FRa, _sN: _fRa}), - (IPAM_POOL_CIDR_ID, {_aQN: _IPCIp, _sN: _iPCI}), - (INTEGER, {_aQN: _NL, _sN: _nL}), - ), -) - -DEPROVISION_IPAM_POOL_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPCO, - {_sSI: _cDIPCRo, _smit: None}, - (_IPCpa,), - ((IPAM_POOL_CIDR, {_aQN: _IPCpa, _sN: _iPCpa}),), -) - -DEPROVISION_IPAM_POOL_CIDR: StaticOperationSchema = ( - 23, - n0, - _DIPC, - 0, - DEPROVISION_IPAM_POOL_CIDR_INPUT, - DEPROVISION_IPAM_POOL_CIDR_OUTPUT, - (), -) - -DEPROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _DPIPCI, - {_sSI: _cDPIPCR, _sm: None}, - (_DR, _PIo, _Ci), - ((BOOLEAN, 0), (IPV4_POOL_EC2_ID, 1), (STRING, 1)), -) - -DEPROVISIONED_ADDRESS_SET: StaticSchema = ( - 16, - n0, - _DASe, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -DEPROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _DPIPCO, - {_sSI: _cDPIPCRo, _smit: None}, - (_PIo, _DAep), - ( - (IPV4_POOL_EC2_ID, {_aQN: _PIo, _sN: _pIo}), - (DEPROVISIONED_ADDRESS_SET, {_aQN: _DASe, _sN: _dASe}), - ), -) - -DEPROVISION_PUBLIC_IPV4_POOL_CIDR: StaticOperationSchema = ( - 23, - n0, - _DPIPC, - 0, - DEPROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT, - DEPROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT, - (), -) - -DEREGISTER_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _DIIe, - {_sSI: _cDIRom, _sm: None}, - (_IIm, _DASel, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -SNAPSHOT_RETURN_CODES: StaticSchema = ( - 14, - n0, - _SRC, - 0, - (_SUCCESS, _WS, _EMP, _ECIE, _ECCE), - ( - (-1, {_sV: _succe}), - (-1, {_sV: _ski}), - (-1, {_sV: _mp}), - (-1, {_sV: _ie____}), - (-1, {_sV: _ce}), - ), -) - -DELETE_SNAPSHOT_RETURN_CODE: StaticSchema = ( - 18, - n0, - _DSRC, - 0, - (_SIn, _RCe), - ( - (SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), - (SNAPSHOT_RETURN_CODES, {_aQN: _RCe, _sN: _rC}), - ), -) - -DELETE_SNAPSHOT_RESULT_SET: StaticSchema = ( - 16, - n0, - _DSRS, - 0, - (_me,), - ((DELETE_SNAPSHOT_RETURN_CODE, {_sN: _i}),), -) - -DEREGISTER_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOe, - {_sSI: _cDIRoma, _smit: None}, - (_R, _DSR), - ( - (BOOLEAN, {_aQN: _R, _sN: _r}), - (DELETE_SNAPSHOT_RESULT_SET, {_aQN: _DSRS, _sN: _dSRS}), - ), -) - -DEREGISTER_IMAGE: StaticOperationSchema = ( - 23, - n0, - _DIer, - 0, - DEREGISTER_IMAGE_INPUT, - DEREGISTER_IMAGE_OUTPUT, - (), -) - -INSTANCE_TAG_KEY_SET: StaticSchema = (16, n0, _ITKS, 0, (_me,), ((STRING, {_sN: _i}),)) - -DEREGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST: StaticSchema = ( - 18, - n0, - _DITAR, - 0, - (_IATOI, _ITK), - ((BOOLEAN, 0), (INSTANCE_TAG_KEY_SET, {_sN: _ITKn})), -) - -DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _DIENAI, - {_sSI: _cDIENAR, _sm: None}, - (_DR, _ITA), - ((BOOLEAN, 0), (DEREGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST, 1)), -) - -INSTANCE_TAG_NOTIFICATION_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _ITNA, - 0, - (_ITK, _IATOI), - ( - (INSTANCE_TAG_KEY_SET, {_aQN: _ITKS, _sN: _iTKS}), - (BOOLEAN, {_aQN: _IATOI, _sN: _iATOI}), - ), -) - -DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DIENAO, - {_sSI: _cDIENARo, _smit: None}, - (_ITA,), - ((INSTANCE_TAG_NOTIFICATION_ATTRIBUTE, {_aQN: _ITA, _sN: _iTA}),), -) - -DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _DIENA, - 0, - DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT, - DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT, - (), -) - -TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST: StaticSchema = ( - 16, - n0, - _TGNIIL, - 0, - (_me,), - ((NETWORK_INTERFACE_ID, {_sN: _i}),), -) - -DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _DTGMGMI, - {_sSI: _cDTGMGMR, _sm: None}, - (_TGMDI, _GIA, _NIIe, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 0), - (STRING, 0), - (TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_MEMBERS: StaticSchema = ( - 18, - n0, - _TGMDGM, - 0, - (_TGMDI, _DNIIe, _GIA), - ( - (STRING, {_aQN: _TGMDI, _sN: _tGMDI}), - (VALUE_STRING_LIST, {_aQN: _DNIIe, _sN: _dNII}), - (STRING, {_aQN: _GIA, _sN: _gIA}), - ), -) - -DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGMGMO, - {_sSI: _cDTGMGMRo, _smit: None}, - (_DMGM,), - ( - ( - TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_MEMBERS, - {_aQN: _DMGM, _sN: _dMGM}, - ), - ), -) - -DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _DTGMGM, - 0, - DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT, - DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT, - (), -) - -DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT: StaticSchema = ( - 18, - n0, - _DTGMGSI, - {_sSI: _cDTGMGSR, _sm: None}, - (_TGMDI, _GIA, _NIIe, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 0), - (STRING, 0), - (TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_SOURCES: StaticSchema = ( - 18, - n0, - _TGMDGS, - 0, - (_TGMDI, _DNIIe, _GIA), - ( - (STRING, {_aQN: _TGMDI, _sN: _tGMDI}), - (VALUE_STRING_LIST, {_aQN: _DNIIe, _sN: _dNII}), - (STRING, {_aQN: _GIA, _sN: _gIA}), - ), -) - -DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGMGSO, - {_sSI: _cDTGMGSRo, _smit: None}, - (_DMGS,), - ( - ( - TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_SOURCES, - {_aQN: _DMGS, _sN: _dMGS}, - ), - ), -) - -DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES: StaticOperationSchema = ( - 23, - n0, - _DTGMGS, - 0, - DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT, - DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT, - (), -) - -DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _DAAI, - {_sSI: _cDAAR, _sm: None}, - (_DR, _ANtt), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (ACCOUNT_ATTRIBUTE_NAME_STRING_LIST, {_aQN: _ANt, _sN: _aN}), - ), -) - -DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DAAO, - {_sSI: _cDAARo, _smit: None}, - (_AAc,), - ((ACCOUNT_ATTRIBUTE_LIST, {_aQN: _AASc, _sN: _aASc}),), -) - -DESCRIBE_ACCOUNT_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _DAA, - 0, - DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT, - DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT, - (), -) - -DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( - 18, - n0, - _DAVECI, - {_sSI: _cDAVECR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( - 18, - n0, - _DAVECO, - {_sSI: _cDAVECRo, _smit: None}, - (_AVECc,), - ((ACCOUNT_VPC_ENCRYPTION_CONTROL, {_aQN: _AVECc, _sN: _aVEC}),), -) - -DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( - 23, - n0, - _DAVEC, - 0, - DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT, - DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT, - (), -) - -FILTER: StaticSchema = ( - 18, - n0, - _Fi, - 0, - (_N, _Val), - ((STRING, 0), (VALUE_STRING_LIST, {_sN: _Va})), -) - -FILTER_LIST: StaticSchema = (16, n0, _FL, 0, (_me,), ((FILTER, {_sN: _Fi}),)) - -PUBLIC_IP_STRING_LIST: StaticSchema = ( - 16, - n0, - _PISL, - 0, - (_me,), - ((STRING, {_sN: _PI}),), -) - -DESCRIBE_ADDRESSES_INPUT: StaticSchema = ( - 18, - n0, - _DAI, - {_sSI: _cDAR, _sm: None}, - (_PIu, _DR, _Fil, _AIl), - ( - (PUBLIC_IP_STRING_LIST, {_sN: _PI}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - (ALLOCATION_ID_LIST, {_sN: _AI}), - ), -) - -DESCRIBE_ADDRESSES_OUTPUT: StaticSchema = ( - 18, - n0, - _DAO, - {_sSI: _cDARo, _smit: None}, - (_Add,), - ((ADDRESS_LIST, {_aQN: _ASdd, _sN: _aSdd}),), -) - -DESCRIBE_ADDRESSES: StaticOperationSchema = ( - 23, - n0, - _DAesc, - 0, - DESCRIBE_ADDRESSES_INPUT, - DESCRIBE_ADDRESSES_OUTPUT, - (), -) - -NEXT_TOKEN: StaticSchema = (3, n0, _NTex, 0) - -DESCRIBE_ADDRESSES_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _DAAIe, - {_sSI: _cDAARom, _sm: None}, - (_AIl, _Attr, _NTex, _MR, _DR), - ( - (ALLOCATION_IDS, {_sN: _AI}), - (ADDRESS_ATTRIBUTE_NAME, 0), - (NEXT_TOKEN, 0), - (ADDRESS_MAX_RESULTS, 0), - (BOOLEAN, 0), - ), -) - -DESCRIBE_ADDRESSES_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DAAOe, - {_sSI: _cDAARoma, _smit: None}, - (_Add, _NTex), - ((ADDRESS_SET, {_aQN: _AS, _sN: _aS}), (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_ADDRESSES_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _DAAe, - 0, - DESCRIBE_ADDRESSES_ATTRIBUTE_INPUT, - DESCRIBE_ADDRESSES_ATTRIBUTE_OUTPUT, - (), -) - -DESCRIBE_ADDRESS_TRANSFERS_MAX_RESULTS: StaticSchema = (7, n0, _DATMR, 0) - -DESCRIBE_ADDRESS_TRANSFERS_INPUT: StaticSchema = ( - 18, - n0, - _DATI, - {_sSI: _cDATR, _sm: None}, - (_AIl, _NTex, _MR, _DR), - ( - (ALLOCATION_ID_LIST, {_sN: _AI}), - (STRING, 0), - (DESCRIBE_ADDRESS_TRANSFERS_MAX_RESULTS, 0), - (BOOLEAN, 0), - ), -) - -DESCRIBE_ADDRESS_TRANSFERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DATO, - {_sSI: _cDATRo, _smit: None}, - (_ATdd, _NTex), - ( - (ADDRESS_TRANSFER_LIST, {_aQN: _ATSdd, _sN: _aTSd}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_ADDRESS_TRANSFERS: StaticOperationSchema = ( - 23, - n0, - _DATe, - 0, - DESCRIBE_ADDRESS_TRANSFERS_INPUT, - DESCRIBE_ADDRESS_TRANSFERS_OUTPUT, - (), -) - -DESCRIBE_AGGREGATE_ID_FORMAT_INPUT: StaticSchema = ( - 18, - n0, - _DAIFI, - {_sSI: _cDAIFR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -ID_FORMAT: StaticSchema = ( - 18, - n0, - _IFd, - 0, - (_Dea, _Reso, _ULI), - ( - (DATE_TIME, {_aQN: _Dea, _sN: _dea}), - (STRING, {_aQN: _Reso, _sN: _reso}), - (BOOLEAN, {_aQN: _ULI, _sN: _uLI}), - ), -) - -ID_FORMAT_LIST: StaticSchema = (16, n0, _IFL, 0, (_me,), ((ID_FORMAT, {_sN: _i}),)) - -DESCRIBE_AGGREGATE_ID_FORMAT_OUTPUT: StaticSchema = ( - 18, - n0, - _DAIFO, - {_sSI: _cDAIFRo, _smit: None}, - (_ULIA, _Statu), - ((BOOLEAN, {_aQN: _ULIA, _sN: _uLIA}), (ID_FORMAT_LIST, {_aQN: _SSta, _sN: _sSt})), -) - -DESCRIBE_AGGREGATE_ID_FORMAT: StaticOperationSchema = ( - 23, - n0, - _DAIF, - 0, - DESCRIBE_AGGREGATE_ID_FORMAT_INPUT, - DESCRIBE_AGGREGATE_ID_FORMAT_OUTPUT, - (), -) - -DESCRIBE_APPLICATION_STATUS_MAX_RESULTS: StaticSchema = (7, n0, _DASMR, 0) - -DESCRIBE_APPLICATION_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _DASI, - {_sSI: _cDASR, _sm: None}, - (_IIn, _Fil, _MR, _NTex, _DR), - ( - (INSTANCE_ID_LIST, {_sN: _II}), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_APPLICATION_STATUS_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -APPLICATION_STATUS_REASON: StaticSchema = ( - 18, - n0, - _ASR, - 0, - (_C, _SCta, _P), - ( - (STRING, {_aQN: _C, _sN: _co}), - (INTEGER, {_aQN: _SCta, _sN: _sCt}), - (STRING, {_aQN: _P, _sN: _pro}), - ), -) - -APPLICATION_STATUS_CHECK_ENUM: StaticSchema = ( - 14, - n0, - _ASCE, - 0, - (_PASSED, _FAILED, _INITIALIZING, _ID_, _NA_), - ( - (-1, {_sV: _pas}), - (-1, {_sV: _fa}), - (-1, {_sV: _init}), - (-1, {_sV: _id_}), - (-1, {_sV: _na_____}), - ), -) - -APPLICATION_STATUS_DETAIL: StaticSchema = ( - 18, - n0, - _ASD, - 0, - (_ASCI, _CUT, _Ag, _Sta, _STS, _SStat, _Rea), - ( - (APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), - (MILLISECOND_DATE_TIME, {_aQN: _CUT, _sN: _cUT}), - (AGGREGATION_STATUS_ENUM, {_aQN: _Ag, _sN: _agg}), - (APPLICATION_STATUS_CHECK_ENUM, {_aQN: _Sta, _sN: _sta}), - (MILLISECOND_DATE_TIME, {_aQN: _STS, _sN: _sTS}), - (MILLISECOND_DATE_TIME, {_aQN: _SStat, _sN: _sSta}), - (APPLICATION_STATUS_REASON, {_aQN: _Rea, _sN: _rea}), - ), -) - -APPLICATION_STATUS_DETAIL_SET: StaticSchema = ( - 16, - n0, - _ASDS, - 0, - (_me,), - ((APPLICATION_STATUS_DETAIL, {_sN: _i}),), -) - -APPLICATION_STATUS_ENUM: StaticSchema = ( - 14, - n0, - _ASEp, - 0, - (_OK_, _IMPAIRED, _INITIALIZING, _ID_, _NA_, _SUPPRESSED), - ( - (-1, {_sV: _ok}), - (-1, {_sV: _imp}), - (-1, {_sV: _init}), - (-1, {_sV: _id_}), - (-1, {_sV: _na_____}), - (-1, {_sV: _sup}), - ), -) - -APPLICATION_STATUS: StaticSchema = ( - 18, - n0, - _ASp, - 0, - (_Sta, _STS, _SStat, _RAesu, _Det), - ( - (APPLICATION_STATUS_ENUM, {_aQN: _Sta, _sN: _sta}), - (MILLISECOND_DATE_TIME, {_aQN: _STS, _sN: _sTS}), - (MILLISECOND_DATE_TIME, {_aQN: _SStat, _sN: _sSta}), - (MILLISECOND_DATE_TIME, {_aQN: _RAesu, _sN: _rAes}), - (APPLICATION_STATUS_DETAIL_SET, {_aQN: _DSet, _sN: _dSet}), - ), -) - -INSTANCE_APPLICATION_STATUS: StaticSchema = ( - 18, - n0, - _IASn, - 0, - (_II, _AZ, _AZI, _ASp, _Tag), - ( - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (APPLICATION_STATUS, {_aQN: _ASp, _sN: _aSp}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -INSTANCE_APPLICATION_STATUS_SET: StaticSchema = ( - 16, - n0, - _IASS, - 0, - (_me,), - ((INSTANCE_APPLICATION_STATUS, {_sN: _i}),), -) - -APPLICATION_STATUSES_RESPONSE_TYPE: StaticSchema = ( - 18, - n0, - _ASRT, - 0, - (_Ins,), - ((INSTANCE_APPLICATION_STATUS_SET, {_aQN: _ISns, _sN: _iSn}),), -) - -DESCRIBE_APPLICATION_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _DASO, - {_sSI: _cDASRo, _smit: None}, - (_ASpp, _NTex), - ( - (APPLICATION_STATUSES_RESPONSE_TYPE, {_aQN: _ASRT, _sN: _aSRT}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_APPLICATION_STATUS: StaticOperationSchema = ( - 23, - n0, - _DASes, - 0, - DESCRIBE_APPLICATION_STATUS_INPUT, - DESCRIBE_APPLICATION_STATUS_OUTPUT, - (), -) - -APPLICATION_STATUS_CHECK_ID_LIST: StaticSchema = ( - 16, - n0, - _ASCIL, - 0, - (_me,), - ((APPLICATION_STATUS_CHECK_ID, {_sN: _i}),), -) - -DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DASCAMR, - 0, -) - -DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DASCAI, - {_sSI: _cDASCAR, _sm: None}, - (_ASCIp, _Fil, _MR, _NTex, _DR), - ( - (APPLICATION_STATUS_CHECK_ID_LIST, {_sN: _ASCI}), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -ASSOCIATION_TYPE_ENUM: StaticSchema = ( - 14, - n0, - _ATE, - 0, - (_TAG, _II_), - ((-1, {_sV: _tag}), (-1, {_sV: _ii_})), -) - -APPLICATION_STATUS_CHECK_ASSOCIATION_OBJECT: StaticSchema = ( - 18, - n0, - _ASCAO, - 0, - (_ASCI, _ATs, _Ke, _Va), - ( - (APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), - (ASSOCIATION_TYPE_ENUM, {_aQN: _ATs, _sN: _aTs}), - (STRING, {_aQN: _Ke, _sN: _ke}), - (STRING, {_aQN: _Va, _sN: _va}), - ), -) - -APPLICATION_STATUS_CHECK_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _ASCAS, - 0, - (_me,), - ((APPLICATION_STATUS_CHECK_ASSOCIATION_OBJECT, {_sN: _i}),), -) - -DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DASCAO, - {_sSI: _cDASCARo, _smit: None}, - (_As, _NTex, _Tag), - ( - (APPLICATION_STATUS_CHECK_ASSOCIATION_SET, {_aQN: _ASsso, _sN: _aSss}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _DASCA, - 0, - DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_INPUT, - DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_OUTPUT, - (), -) - -DESCRIBE_APPLICATION_STATUS_CHECKS_MAX_RESULTS: StaticSchema = (7, n0, _DASCMR, 0) - -DESCRIBE_APPLICATION_STATUS_CHECKS_INPUT: StaticSchema = ( - 18, - n0, - _DASCIe, - {_sSI: _cDASCRom, _sm: None}, - (_ASCIp, _Fil, _MR, _NTex, _IAnc, _DR), - ( - (APPLICATION_STATUS_CHECK_ID_LIST, {_sN: _ASCI}), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_APPLICATION_STATUS_CHECKS_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -APPLICATION_STATUS_CHECK_RESPONSE_SET: StaticSchema = ( - 16, - n0, - _ASCRS, - 0, - (_me,), - ((APPLICATION_STATUS_CHECK_RESPONSE_OBJECT, {_sN: _i}),), -) - -DESCRIBE_APPLICATION_STATUS_CHECKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DASCOe, - {_sSI: _cDASCRoma, _smit: None}, - (_ASCpp, _NTex), - ( - (APPLICATION_STATUS_CHECK_RESPONSE_SET, {_aQN: _ASCS, _sN: _aSCS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_APPLICATION_STATUS_CHECKS: StaticOperationSchema = ( - 23, - n0, - _DASCe, - 0, - DESCRIBE_APPLICATION_STATUS_CHECKS_INPUT, - DESCRIBE_APPLICATION_STATUS_CHECKS_OUTPUT, - (), -) - -ZONE_ID_STRING_LIST: StaticSchema = (16, n0, _ZISL, 0, (_me,), ((STRING, {_sN: _ZI}),)) - -ZONE_NAME_STRING_LIST: StaticSchema = ( - 16, - n0, - _ZNSL, - 0, - (_me,), - ((STRING, {_sN: _ZN}),), -) - -DESCRIBE_AVAILABILITY_ZONES_INPUT: StaticSchema = ( - 18, - n0, - _DAZIe, - {_sSI: _cDAZR, _sm: None}, - (_ZNo, _ZIo, _AAZ, _DR, _Fil), - ( - (ZONE_NAME_STRING_LIST, {_sN: _ZN}), - (ZONE_ID_STRING_LIST, {_sN: _ZI}), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -AVAILABILITY_ZONE_GEOGRAPHY: StaticSchema = ( - 18, - n0, - _AZG, - 0, - (_N,), - ((STRING, {_aQN: _N, _sN: _nam}),), -) - -AVAILABILITY_ZONE_GEOGRAPHY_LIST: StaticSchema = ( - 16, - n0, - _AZGL, - 0, - (_me,), - ((AVAILABILITY_ZONE_GEOGRAPHY, {_sN: _i}),), -) - -AVAILABILITY_ZONE_MESSAGE: StaticSchema = ( - 18, - n0, - _AZM, - 0, - (_Me,), - ((STRING, {_aQN: _Me, _sN: _mes}),), -) - -AVAILABILITY_ZONE_MESSAGE_LIST: StaticSchema = ( - 16, - n0, - _AZML, - 0, - (_me,), - ((AVAILABILITY_ZONE_MESSAGE, {_sN: _i}),), -) - -AVAILABILITY_ZONE_OPT_IN_STATUS: StaticSchema = ( - 14, - n0, - _AZOIS, - 0, - (_oinr, _oi_, _noi), - ((-1, {_sV: _oinr_}), (-1, {_sV: _oi__}), (-1, {_sV: _noi_})), -) - -AVAILABILITY_ZONE_STATE: StaticSchema = ( - 14, - n0, - _AZSv, - 0, - (_av, _infor, _imp, _unav, _cons), - ( - (-1, {_sV: _av}), - (-1, {_sV: _infor}), - (-1, {_sV: _imp}), - (-1, {_sV: _unav}), - (-1, {_sV: _cons}), - ), -) - -AVAILABILITY_ZONE_SUB_GEOGRAPHY: StaticSchema = ( - 18, - n0, - _AZSG, - 0, - (_N,), - ((STRING, {_aQN: _N, _sN: _nam}),), -) - -AVAILABILITY_ZONE_SUB_GEOGRAPHY_LIST: StaticSchema = ( - 16, - n0, - _AZSGL, - 0, - (_me,), - ((AVAILABILITY_ZONE_SUB_GEOGRAPHY, {_sN: _i}),), -) - -AVAILABILITY_ZONE: StaticSchema = ( - 18, - n0, - _AZ, - 0, - (_OIS, _Mes, _RNe, _ZN, _ZI, _GN, _NBG, _ZT, _PZN, _PZI, _GLN, _Ge, _SGu, _St), - ( - (AVAILABILITY_ZONE_OPT_IN_STATUS, {_aQN: _OIS, _sN: _oIS}), - (AVAILABILITY_ZONE_MESSAGE_LIST, {_aQN: _MSe, _sN: _mSe}), - (STRING, {_aQN: _RNe, _sN: _rNe}), - (STRING, {_aQN: _ZN, _sN: _zN}), - (STRING, {_aQN: _ZI, _sN: _zI}), - (STRING, {_aQN: _GN, _sN: _gN}), - (STRING, {_aQN: _NBG, _sN: _nBG}), - (STRING, {_aQN: _ZT, _sN: _zT}), - (STRING, {_aQN: _PZN, _sN: _pZN}), - (STRING, {_aQN: _PZI, _sN: _pZI}), - (STRING, {_aQN: _GLN, _sN: _gLN}), - (AVAILABILITY_ZONE_GEOGRAPHY_LIST, {_aQN: _GSe, _sN: _gSe}), - (AVAILABILITY_ZONE_SUB_GEOGRAPHY_LIST, {_aQN: _SGSu, _sN: _sGSu}), - (AVAILABILITY_ZONE_STATE, {_aQN: _ZS, _sN: _zS}), - ), -) - -AVAILABILITY_ZONE_LIST: StaticSchema = ( - 16, - n0, - _AZL, - 0, - (_me,), - ((AVAILABILITY_ZONE, {_sN: _i}),), -) - -DESCRIBE_AVAILABILITY_ZONES_OUTPUT: StaticSchema = ( - 18, - n0, - _DAZO, - {_sSI: _cDAZRo, _smit: None}, - (_AZv,), - ((AVAILABILITY_ZONE_LIST, {_aQN: _AZIva, _sN: _aZIv}),), -) - -DESCRIBE_AVAILABILITY_ZONES: StaticOperationSchema = ( - 23, - n0, - _DAZe, - 0, - DESCRIBE_AVAILABILITY_ZONES_INPUT, - DESCRIBE_AVAILABILITY_ZONES_OUTPUT, - (), -) - -MAX_RESULTS_PARAM: StaticSchema = (7, n0, _MRP, 0) - -DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DANPMSI, - {_sSI: _cDANPMSR, _sm: None}, - (_MR, _NTex, _Fil, _DR), - ((MAX_RESULTS_PARAM, 0), (STRING, 0), (FILTER_LIST, {_sN: _Fi}), (BOOLEAN, 0)), -) - -METRIC_TYPE: StaticSchema = (14, n0, _MTe, 0, (_al__,), ((-1, {_sV: _al___}),)) - -PERIOD_TYPE: StaticSchema = ( - 14, - n0, - _PTe, - 0, - (_fm, _fm__, _oh, _th_, _od__, _ow_), - ( - (-1, {_sV: _fm_}), - (-1, {_sV: _fm___}), - (-1, {_sV: _oh_}), - (-1, {_sV: _th__}), - (-1, {_sV: _od___}), - (-1, {_sV: _ow__}), - ), -) - -STATISTIC_TYPE: StaticSchema = ( - 14, - n0, - _STta, - 0, - (_p_____________,), - ((-1, {_sV: _p_____________}),), -) - -SUBSCRIPTION: StaticSchema = ( - 18, - n0, - _Subs, - 0, - (_Sou, _De, _Met, _Stati, _Per), - ( - (STRING, {_aQN: _Sou, _sN: _so}), - (STRING, {_aQN: _De, _sN: _des}), - (METRIC_TYPE, {_aQN: _Met, _sN: _met}), - (STATISTIC_TYPE, {_aQN: _Stati, _sN: _stati}), - (PERIOD_TYPE, {_aQN: _Per, _sN: _peri}), - ), -) - -SUBSCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _SLu, - 0, - (_me,), - ((SUBSCRIPTION, {_sN: _i}),), -) - -DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DANPMSO, - {_sSI: _cDANPMSRo, _smit: None}, - (_NTex, _Subsc), - ((STRING, {_aQN: _NTex, _sN: _nT}), (SUBSCRIPTION_LIST, {_aQN: _SSub, _sN: _sSu})), -) - -DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS: StaticOperationSchema = ( - 23, - n0, - _DANPMS, - 0, - DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_INPUT, - DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_OUTPUT, - (), -) - -BUNDLE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _BISL, - 0, - (_me,), - ((BUNDLE_ID, {_sN: _BIu}),), -) - -DESCRIBE_BUNDLE_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DBTI, - {_sSI: _cDBTR, _sm: None}, - (_BIund, _DR, _Fil), - ( - (BUNDLE_ID_STRING_LIST, {_sN: _BIu}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -BUNDLE_TASK_LIST: StaticSchema = (16, n0, _BTL, 0, (_me,), ((BUNDLE_TASK, {_sN: _i}),)) - -DESCRIBE_BUNDLE_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DBTO, - {_sSI: _cDBTRo, _smit: None}, - (_BTu,), - ((BUNDLE_TASK_LIST, {_aQN: _BITS, _sN: _bITS}),), -) - -DESCRIBE_BUNDLE_TASKS: StaticOperationSchema = ( - 23, - n0, - _DBT, - 0, - DESCRIBE_BUNDLE_TASKS_INPUT, - DESCRIBE_BUNDLE_TASKS_OUTPUT, - (), -) - -DESCRIBE_BYOIP_CIDRS_MAX_RESULTS: StaticSchema = (7, n0, _DBCMR, 0) - -DESCRIBE_BYOIP_CIDRS_INPUT: StaticSchema = ( - 18, - n0, - _DBCIe, - {_sSI: _cDBCRom, _sm: None}, - (_DR, _MR, _NTex), - ((BOOLEAN, 0), (DESCRIBE_BYOIP_CIDRS_MAX_RESULTS, 1), (NEXT_TOKEN, 0)), -) - -BYOIP_CIDR_SET: StaticSchema = (16, n0, _BCSy, 0, (_me,), ((BYOIP_CIDR, {_sN: _i}),)) - -DESCRIBE_BYOIP_CIDRS_OUTPUT: StaticSchema = ( - 18, - n0, - _DBCOe, - {_sSI: _cDBCRoma, _smit: None}, - (_BCy, _NTex), - ((BYOIP_CIDR_SET, {_aQN: _BCSy, _sN: _bCS}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_BYOIP_CIDRS: StaticOperationSchema = ( - 23, - n0, - _DBCe, - 0, - DESCRIBE_BYOIP_CIDRS_INPUT, - DESCRIBE_BYOIP_CIDRS_OUTPUT, - (), -) - -DESCRIBE_FUTURE_CAPACITY_MAX_RESULTS: StaticSchema = (7, n0, _DFCMR, 0) - -DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_INPUT: StaticSchema = ( - 18, - n0, - _DCBEHI, - {_sSI: _cDCBEHR, _sm: None}, - (_CRIa, _NTex, _MR, _Fil, _DR), - ( - (CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), - (STRING, 0), - (DESCRIBE_FUTURE_CAPACITY_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -OFFERING_ID: StaticSchema = (3, n0, _OI, 0) - -CAPACITY_BLOCK_EXTENSION_STATUS: StaticSchema = ( - 14, - n0, - _CBES, - 0, - (_PP, _PF___, _PS_), - ((-1, {_sV: _pp___}), (-1, {_sV: _pf_____}), (-1, {_sV: _ps})), -) - -CAPACITY_BLOCK_EXTENSION: StaticSchema = ( - 18, - n0, - _CBE, - 0, - ( - _CRI, - _IT, - _IC, - _AZ, - _AZI, - _CBEOI, - _CBEDH, - _CBES, - _CBEPD, - _CBESD, - _CBEED, - _UF, - _CC, - _ZT, - ), - ( - (CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), - (STRING, {_aQN: _IT, _sN: _iT}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (OFFERING_ID, {_aQN: _CBEOI, _sN: _cBEOI}), - (INTEGER, {_aQN: _CBEDH, _sN: _cBEDH}), - (CAPACITY_BLOCK_EXTENSION_STATUS, {_aQN: _CBES, _sN: _cBES}), - (MILLISECOND_DATE_TIME, {_aQN: _CBEPD, _sN: _cBEPD}), - (MILLISECOND_DATE_TIME, {_aQN: _CBESD, _sN: _cBESD}), - (MILLISECOND_DATE_TIME, {_aQN: _CBEED, _sN: _cBEED}), - (STRING, {_aQN: _UF, _sN: _uF}), - (STRING, {_aQN: _CC, _sN: _cC}), - (STRING, {_aQN: _ZT, _sN: _zT}), - ), -) - -CAPACITY_BLOCK_EXTENSION_SET: StaticSchema = ( - 16, - n0, - _CBESa, - 0, - (_me,), - ((CAPACITY_BLOCK_EXTENSION, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_OUTPUT: StaticSchema = ( - 18, - n0, - _DCBEHO, - {_sSI: _cDCBEHRo, _smit: None}, - (_CBEa, _NTex), - ( - (CAPACITY_BLOCK_EXTENSION_SET, {_aQN: _CBESa, _sN: _cBESa}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY: StaticOperationSchema = ( - 23, - n0, - _DCBEH, - 0, - DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_INPUT, - DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_OUTPUT, - (), -) - -DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DCBEOMR, - 0, -) - -DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_INPUT: StaticSchema = ( - 18, - n0, - _DCBEOI, - {_sSI: _cDCBEOR, _sm: None}, - (_DR, _CBEDH, _CRI, _NTex, _MR), - ( - (BOOLEAN, 0), - (INTEGER, 1), - (CAPACITY_RESERVATION_ID, 1), - (STRING, 0), - (DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_MAX_RESULTS, 0), - ), -) - -CAPACITY_BLOCK_EXTENSION_OFFERING: StaticSchema = ( - 18, - n0, - _CBEO, - 0, - (_CBEOI, _IT, _IC, _AZ, _AZI, _SDt, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Ten, _ZT), - ( - (OFFERING_ID, {_aQN: _CBEOI, _sN: _cBEOI}), - (STRING, {_aQN: _IT, _sN: _iT}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), - (MILLISECOND_DATE_TIME, {_aQN: _CBESD, _sN: _cBESD}), - (MILLISECOND_DATE_TIME, {_aQN: _CBEED, _sN: _cBEED}), - (INTEGER, {_aQN: _CBEDH, _sN: _cBEDH}), - (STRING, {_aQN: _UF, _sN: _uF}), - (STRING, {_aQN: _CC, _sN: _cC}), - (CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), - (STRING, {_aQN: _ZT, _sN: _zT}), - ), -) - -CAPACITY_BLOCK_EXTENSION_OFFERING_SET: StaticSchema = ( - 16, - n0, - _CBEOS, - 0, - (_me,), - ((CAPACITY_BLOCK_EXTENSION_OFFERING, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCBEOO, - {_sSI: _cDCBEORo, _smit: None}, - (_CBEOa, _NTex), - ( - (CAPACITY_BLOCK_EXTENSION_OFFERING_SET, {_aQN: _CBEOS, _sN: _cBEOS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS: StaticOperationSchema = ( - 23, - n0, - _DCBEO, - 0, - DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_INPUT, - DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_OUTPUT, - (), -) - -DESCRIBE_CAPACITY_BLOCK_OFFERINGS_MAX_RESULTS: StaticSchema = (7, n0, _DCBOMR, 0) - -DESCRIBE_CAPACITY_BLOCK_OFFERINGS_INPUT: StaticSchema = ( - 18, - n0, - _DCBOI, - {_sSI: _cDCBOR, _sm: None}, - (_DR, _IT, _IC, _SDR, _EDR, _CDH, _NTex, _MR, _UTl, _UC, _AAZ), - ( - (BOOLEAN, 0), - (STRING, 0), - (INTEGER, 0), - (MILLISECOND_DATE_TIME, 0), - (MILLISECOND_DATE_TIME, 0), - (INTEGER, 1), - (STRING, 0), - (DESCRIBE_CAPACITY_BLOCK_OFFERINGS_MAX_RESULTS, 0), - (STRING, 0), - (INTEGER, 0), - (BOOLEAN, 0), - ), -) - -CAPACITY_BLOCK_OFFERING: StaticSchema = ( - 18, - n0, - _CBO, - 0, - (_CBOI, _IT, _AZ, _IC, _SDt, _ED, _CBDH, _UF, _CC, _Ten, _UTl, _UC, _CBDM, _ZT), - ( - (OFFERING_ID, {_aQN: _CBOI, _sN: _cBOI}), - (STRING, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - (MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), - (MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), - (INTEGER, {_aQN: _CBDH, _sN: _cBDH}), - (STRING, {_aQN: _UF, _sN: _uF}), - (STRING, {_aQN: _CC, _sN: _cC}), - (CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), - (STRING, {_aQN: _UTl, _sN: _uTl}), - (BOXED_INTEGER, {_aQN: _UC, _sN: _uC}), - (INTEGER, {_aQN: _CBDM, _sN: _cBDM}), - (STRING, {_aQN: _ZT, _sN: _zT}), - ), -) - -CAPACITY_BLOCK_OFFERING_SET: StaticSchema = ( - 16, - n0, - _CBOS, - 0, - (_me,), - ((CAPACITY_BLOCK_OFFERING, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_BLOCK_OFFERINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCBOO, - {_sSI: _cDCBORo, _smit: None}, - (_CBOa, _NTex), - ( - (CAPACITY_BLOCK_OFFERING_SET, {_aQN: _CBOS, _sN: _cBOS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CAPACITY_BLOCK_OFFERINGS: StaticOperationSchema = ( - 23, - n0, - _DCBO, - 0, - DESCRIBE_CAPACITY_BLOCK_OFFERINGS_INPUT, - DESCRIBE_CAPACITY_BLOCK_OFFERINGS_OUTPUT, - (), -) - -CAPACITY_BLOCK_IDS: StaticSchema = ( - 16, - n0, - _CBIa, - 0, - (_me,), - ((CAPACITY_BLOCK_ID, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_BLOCKS_MAX_RESULTS: StaticSchema = (7, n0, _DCBMR, 0) - -DESCRIBE_CAPACITY_BLOCKS_INPUT: StaticSchema = ( - 18, - n0, - _DCBI, - {_sSI: _cDCBR, _sm: None}, - (_CBIa, _NTex, _MR, _Fil, _DR), - ( - (CAPACITY_BLOCK_IDS, {_sN: _CBI}), - (STRING, 0), - (DESCRIBE_CAPACITY_BLOCKS_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -CAPACITY_BLOCK_RESOURCE_STATE: StaticSchema = ( - 14, - n0, - _CBRS, - 0, - (_act, _ex, _unav, _can, _fa, _sch, _pp__, _pf____), - ( - (-1, {_sV: _act}), - (-1, {_sV: _ex}), - (-1, {_sV: _unav}), - (-1, {_sV: _can}), - (-1, {_sV: _fa}), - (-1, {_sV: _sch}), - (-1, {_sV: _pp___}), - (-1, {_sV: _pf_____}), - ), -) - -CAPACITY_BLOCK: StaticSchema = ( - 18, - n0, - _CBa, - 0, - (_CBI, _UTl, _AZ, _AZI, _CRIa, _SDt, _ED, _CD, _St, _Tag), - ( - (CAPACITY_BLOCK_ID, {_aQN: _CBI, _sN: _cBI}), - (STRING, {_aQN: _UTl, _sN: _uTl}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (CAPACITY_RESERVATION_ID_SET, {_aQN: _CRIS, _sN: _cRIS}), - (MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), - (MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), - (MILLISECOND_DATE_TIME, {_aQN: _CD, _sN: _cD}), - (CAPACITY_BLOCK_RESOURCE_STATE, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CAPACITY_BLOCK_SET: StaticSchema = ( - 16, - n0, - _CBSa, - 0, - (_me,), - ((CAPACITY_BLOCK, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_BLOCKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCBOe, - {_sSI: _cDCBRo, _smit: None}, - (_CBap, _NTex), - ( - (CAPACITY_BLOCK_SET, {_aQN: _CBSa, _sN: _cBSa}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CAPACITY_BLOCKS: StaticOperationSchema = ( - 23, - n0, - _DCBe, - 0, - DESCRIBE_CAPACITY_BLOCKS_INPUT, - DESCRIBE_CAPACITY_BLOCKS_OUTPUT, - (), -) - -DESCRIBE_CAPACITY_BLOCK_STATUS_MAX_RESULTS: StaticSchema = (7, n0, _DCBSMR, 0) - -DESCRIBE_CAPACITY_BLOCK_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _DCBSI, - {_sSI: _cDCBSR, _sm: None}, - (_CBIa, _NTex, _MR, _Fil, _DR), - ( - (CAPACITY_BLOCK_IDS, {_sN: _CBI}), - (STRING, 0), - (DESCRIBE_CAPACITY_BLOCK_STATUS_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -CAPACITY_RESERVATION_STATUS: StaticSchema = ( - 18, - n0, - _CRSap, - 0, - (_CRI, _TCo, _TAC, _TUC), - ( - (CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), - (INTEGER, {_aQN: _TCo, _sN: _tC}), - (INTEGER, {_aQN: _TAC, _sN: _tAC}), - (INTEGER, {_aQN: _TUC, _sN: _tUC}), - ), -) - -CAPACITY_RESERVATION_STATUS_SET: StaticSchema = ( - 16, - n0, - _CRSS, - 0, - (_me,), - ((CAPACITY_RESERVATION_STATUS, {_sN: _i}),), -) - -CAPACITY_BLOCK_INTERCONNECT_STATUS: StaticSchema = ( - 14, - n0, - _CBIS, - 0, - (_ok, _imp, _id__), - ((-1, {_sV: _ok}), (-1, {_sV: _imp}), (-1, {_sV: _id_})), -) - -CAPACITY_BLOCK_STATUS: StaticSchema = ( - 18, - n0, - _CBSap, - 0, - (_CBI, _ISnt, _TCo, _TAC, _TUC, _CRSapa), - ( - (CAPACITY_BLOCK_ID, {_aQN: _CBI, _sN: _cBI}), - (CAPACITY_BLOCK_INTERCONNECT_STATUS, {_aQN: _ISnt, _sN: _iSnt}), - (INTEGER, {_aQN: _TCo, _sN: _tC}), - (INTEGER, {_aQN: _TAC, _sN: _tAC}), - (INTEGER, {_aQN: _TUC, _sN: _tUC}), - (CAPACITY_RESERVATION_STATUS_SET, {_aQN: _CRSS, _sN: _cRSS}), - ), -) - -CAPACITY_BLOCK_STATUS_SET: StaticSchema = ( - 16, - n0, - _CBSS, - 0, - (_me,), - ((CAPACITY_BLOCK_STATUS, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_BLOCK_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCBSO, - {_sSI: _cDCBSRo, _smit: None}, - (_CBSapa, _NTex), - ( - (CAPACITY_BLOCK_STATUS_SET, {_aQN: _CBSS, _sN: _cBSS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CAPACITY_BLOCK_STATUS: StaticOperationSchema = ( - 23, - n0, - _DCBS, - 0, - DESCRIBE_CAPACITY_BLOCK_STATUS_INPUT, - DESCRIBE_CAPACITY_BLOCK_STATUS_OUTPUT, - (), -) - -CAPACITY_MANAGER_DATA_EXPORT_ID_SET: StaticSchema = ( - 16, - n0, - _CMDEIS, - 0, - (_me,), - ((CAPACITY_MANAGER_DATA_EXPORT_ID, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_REQUEST_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DCMDERMR, - 0, -) - -DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_INPUT: StaticSchema = ( - 18, - n0, - _DCMDEIe, - {_sSI: _cDCMDERom, _sm: None}, - (_CMDEIa, _MR, _NTex, _DR, _Fil), - ( - (CAPACITY_MANAGER_DATA_EXPORT_ID_SET, {_sN: _CMDEI}), - (DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_REQUEST_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -CAPACITY_MANAGER_DATA_EXPORT_STATUS: StaticSchema = ( - 14, - n0, - _CMDES, - 0, - (_PENDING, _IP_, _DELIVERED, _FAILED), - ((-1, {_sV: _p}), (-1, {_sV: _ip_____}), (-1, {_sV: _deli}), (-1, {_sV: _fa})), -) - -CAPACITY_MANAGER_DATA_EXPORT_RESPONSE: StaticSchema = ( - 18, - n0, - _CMDER, - 0, - (_CMDEI, _SBN, _SBP, _Sch, _OF, _CTr, _LDS, _LDSM, _LDSLU, _LDTa, _Tag), - ( - (CAPACITY_MANAGER_DATA_EXPORT_ID, {_aQN: _CMDEI, _sN: _cMDEI}), - (STRING, {_aQN: _SBN, _sN: _sBN}), - (STRING, {_aQN: _SBP, _sN: _sBP}), - (SCHEDULE, {_aQN: _Sch, _sN: _sche}), - (OUTPUT_FORMAT, {_aQN: _OF, _sN: _oF}), - (MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (CAPACITY_MANAGER_DATA_EXPORT_STATUS, {_aQN: _LDS, _sN: _lDS}), - (STRING, {_aQN: _LDSM, _sN: _lDSM}), - (STRING, {_aQN: _LDSLU, _sN: _lDSLU}), - (MILLISECOND_DATE_TIME, {_aQN: _LDTa, _sN: _lDT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CAPACITY_MANAGER_DATA_EXPORT_RESPONSE_SET: StaticSchema = ( - 16, - n0, - _CMDERS, - 0, - (_me,), - ((CAPACITY_MANAGER_DATA_EXPORT_RESPONSE, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCMDEOe, - {_sSI: _cDCMDERoma, _smit: None}, - (_CMDE, _NTex), - ( - (CAPACITY_MANAGER_DATA_EXPORT_RESPONSE_SET, {_aQN: _CMDESa, _sN: _cMDES}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS: StaticOperationSchema = ( - 23, - n0, - _DCMDEe, - 0, - DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_INPUT, - DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_OUTPUT, - (), -) - -DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_REQUEST_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DCRBRRMR, - 0, -) - -CALLER_ROLE: StaticSchema = ( - 14, - n0, - _CRal, - 0, - (_oo, _urbo), - ((-1, {_sV: _oo_}), (-1, {_sV: _urbo_})), -) - -DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_INPUT: StaticSchema = ( - 18, - n0, - _DCRBRI, - {_sSI: _cDCRBRR, _sm: None}, - (_CRIa, _Ro, _NTex, _MR, _Fil, _DR), - ( - (CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), - (CALLER_ROLE, 1), - (STRING, 0), - (DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_REQUEST_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -CAPACITY_RESERVATION_INFO: StaticSchema = ( - 18, - n0, - _CRIap, - 0, - (_IT, _AZ, _Ten, _AZI), - ( - (STRING, {_aQN: _IT, _sN: _iT}), - (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), - (CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - ), -) - -CAPACITY_RESERVATION_BILLING_REQUEST_STATUS: StaticSchema = ( - 14, - n0, - _CRBRS, - 0, - (_p, _ac, _re, _can, _revo, _ex), - ( - (-1, {_sV: _p}), - (-1, {_sV: _ac}), - (-1, {_sV: _re}), - (-1, {_sV: _can}), - (-1, {_sV: _revo}), - (-1, {_sV: _ex}), - ), -) - -CAPACITY_RESERVATION_BILLING_REQUEST: StaticSchema = ( - 18, - n0, - _CRBR, - 0, - (_CRI, _RB, _URBOI, _LUTas, _Sta, _SMt, _CRIap), - ( - (STRING, {_aQN: _CRI, _sN: _cRI}), - (STRING, {_aQN: _RB, _sN: _rBe}), - (ACCOUNT_ID, {_aQN: _URBOI, _sN: _uRBOI}), - (MILLISECOND_DATE_TIME, {_aQN: _LUTas, _sN: _lUTas}), - (CAPACITY_RESERVATION_BILLING_REQUEST_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (CAPACITY_RESERVATION_INFO, {_aQN: _CRIap, _sN: _cRIa}), - ), -) - -CAPACITY_RESERVATION_BILLING_REQUEST_SET: StaticSchema = ( - 16, - n0, - _CRBRSa, - 0, - (_me,), - ((CAPACITY_RESERVATION_BILLING_REQUEST, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCRBRO, - {_sSI: _cDCRBRRo, _smit: None}, - (_NTex, _CRBRa), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (CAPACITY_RESERVATION_BILLING_REQUEST_SET, {_aQN: _CRBRSa, _sN: _cRBRS}), - ), -) - -DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS: StaticOperationSchema = ( - 23, - n0, - _DCRBR, - 0, - DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_INPUT, - DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_OUTPUT, - (), -) - -CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID_SET: StaticSchema = ( - 16, - n0, - _CRCQIS, - 0, - (_me,), - ((CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_REQUEST_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DCRCQRMR, - 0, -) - -DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_INPUT: StaticSchema = ( - 18, - n0, - _DCRCQI, - {_sSI: _cDCRCQR, _sm: None}, - (_CRCQIa, _MR, _NTex, _DR, _Fil), - ( - (CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID_SET, {_sN: _CRCQI}), - (DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_REQUEST_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -CAPACITY_RESERVATION_CANCELLATION_QUOTE_RESPONSE_SET: StaticSchema = ( - 16, - n0, - _CRCQRS, - 0, - (_me,), - ((CAPACITY_RESERVATION_CANCELLATION_QUOTE, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DCRCQO, - {_sSI: _cDCRCQRo, _smit: None}, - (_CRCQa, _NTex), - ( - ( - CAPACITY_RESERVATION_CANCELLATION_QUOTE_RESPONSE_SET, - {_aQN: _CRCQSa, _sN: _cRCQS}, - ), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES: StaticOperationSchema = ( - 23, - n0, - _DCRCQ, - 0, - DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_INPUT, - DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_OUTPUT, - (), -) - -CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID_SET: StaticSchema = ( - 16, - n0, - _CRMQIS, - 0, - (_me,), - ((CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_REQUEST_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DCRDCQRMR, - 0, -) - -DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_INPUT: StaticSchema = ( - 18, - n0, - _DCRDCQI, - {_sSI: _cDCRDCQR, _sm: None}, - (_CRMQIa, _MR, _NTex, _DR, _Fil), - ( - (CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID_SET, {_sN: _CRMQI}), - (DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_REQUEST_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -CAPACITY_RESERVATION_MODIFICATION_QUOTE_RESPONSE_SET: StaticSchema = ( - 16, - n0, - _CRMQRS, - 0, - (_me,), - ((CAPACITY_RESERVATION_MODIFICATION_QUOTE, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DCRDCQO, - {_sSI: _cDCRDCQRo, _smit: None}, - (_CRMQa, _NTex), - ( - ( - CAPACITY_RESERVATION_MODIFICATION_QUOTE_RESPONSE_SET, - {_aQN: _CRMQSa, _sN: _cRMQS}, - ), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES: StaticOperationSchema = ( - 23, - n0, - _DCRDCQ, - 0, - DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_INPUT, - DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_OUTPUT, - (), -) - -DESCRIBE_CAPACITY_RESERVATION_FLEETS_MAX_RESULTS: StaticSchema = (7, n0, _DCRFMR, 0) - -DESCRIBE_CAPACITY_RESERVATION_FLEETS_INPUT: StaticSchema = ( - 18, - n0, - _DCRFI, - {_sSI: _cDCRFR, _sm: None}, - (_CRFIa, _NTex, _MR, _Fil, _DR), - ( - (CAPACITY_RESERVATION_FLEET_ID_SET, {_sN: _CRFI}), - (STRING, 0), - (DESCRIBE_CAPACITY_RESERVATION_FLEETS_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -CAPACITY_RESERVATION_FLEET: StaticSchema = ( - 18, - n0, - _CRF, - 0, - ( - _CRFI, - _CRFA, - _St, - _TTC, - _TFC, - _Ten, - _ED, - _CTr, - _IMC, - _ASll, - _ITS, - _IRn, - _AZ, - _AZI, - _Tag, - ), - ( - (CAPACITY_RESERVATION_FLEET_ID, {_aQN: _CRFI, _sN: _cRFI}), - (STRING, {_aQN: _CRFA, _sN: _cRFA}), - (CAPACITY_RESERVATION_FLEET_STATE, {_aQN: _St, _sN: _st}), - (INTEGER, {_aQN: _TTC, _sN: _tTC}), - (DOUBLE, {_aQN: _TFC, _sN: _tFC}), - (FLEET_CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), - (MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), - (MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (FLEET_INSTANCE_MATCH_CRITERIA, {_aQN: _IMC, _sN: _iMC}), - (STRING, {_aQN: _ASll, _sN: _aSl}), - (FLEET_CAPACITY_RESERVATION_SET, {_aQN: _ITSS, _sN: _iTSS}), - (INSTANCE_REQUIREMENTS_REQUEST, {_aQN: _IRn, _sN: _iRn}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -CAPACITY_RESERVATION_FLEET_SET: StaticSchema = ( - 16, - n0, - _CRFSa, - 0, - (_me,), - ((CAPACITY_RESERVATION_FLEET, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_RESERVATION_FLEETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCRFO, - {_sSI: _cDCRFRo, _smit: None}, - (_CRFa, _NTex), - ( - (CAPACITY_RESERVATION_FLEET_SET, {_aQN: _CRFSa, _sN: _cRFS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CAPACITY_RESERVATION_FLEETS: StaticOperationSchema = ( - 23, - n0, - _DCRF, - 0, - DESCRIBE_CAPACITY_RESERVATION_FLEETS_INPUT, - DESCRIBE_CAPACITY_RESERVATION_FLEETS_OUTPUT, - (), -) - -DESCRIBE_CAPACITY_RESERVATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DCRMR, 0) - -DESCRIBE_CAPACITY_RESERVATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DCRI, - {_sSI: _cDCRR, _sm: None}, - (_CRIa, _NTex, _MR, _Fil, _DR), - ( - (CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), - (STRING, 0), - (DESCRIBE_CAPACITY_RESERVATIONS_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -CAPACITY_RESERVATION_SET: StaticSchema = ( - 16, - n0, - _CRSapac, - 0, - (_me,), - ((CAPACITY_RESERVATION, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_RESERVATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCRO, - {_sSI: _cDCRRo, _smit: None}, - (_NTex, _CRapac), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (CAPACITY_RESERVATION_SET, {_aQN: _CRSapac, _sN: _cRSa}), - ), -) - -DESCRIBE_CAPACITY_RESERVATIONS: StaticOperationSchema = ( - 23, - n0, - _DCRe, - 0, - DESCRIBE_CAPACITY_RESERVATIONS_INPUT, - DESCRIBE_CAPACITY_RESERVATIONS_OUTPUT, - (), -) - -DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_MAX_RESULTS: StaticSchema = (7, n0, _DCRTMR, 0) - -DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_INPUT: StaticSchema = ( - 18, - n0, - _DCRTI, - {_sSI: _cDCRTR, _sm: None}, - (_DR, _NTex, _MR, _CRIa, _Fil), - ( - (BOOLEAN, 0), - (STRING, 0), - (DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_MAX_RESULTS, 0), - (CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -NETWORK_NODE_SET: StaticSchema = (16, n0, _NNS, 0, (_me,), ((STRING, {_sN: _i}),)) - -CAPACITY_RESERVATION_TOPOLOGY: StaticSchema = ( - 18, - n0, - _CRTapa, - 0, - (_CRI, _CBI, _St, _IT, _GN, _NN, _AZI, _AZ), - ( - (STRING, {_aQN: _CRI, _sN: _cRI}), - (STRING, {_aQN: _CBI, _sN: _cBI}), - (STRING, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _GN, _sN: _gN}), - (NETWORK_NODE_SET, {_aQN: _NNS, _sN: _nNS}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - ), -) - -CAPACITY_RESERVATION_TOPOLOGY_SET: StaticSchema = ( - 16, - n0, - _CRTS, - 0, - (_me,), - ((CAPACITY_RESERVATION_TOPOLOGY, {_sN: _i}),), -) - -DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_OUTPUT: StaticSchema = ( - 18, - n0, - _DCRTO, - {_sSI: _cDCRTRo, _smit: None}, - (_NTex, _CRapac), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (CAPACITY_RESERVATION_TOPOLOGY_SET, {_aQN: _CRSapac, _sN: _cRSa}), - ), -) - -DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY: StaticOperationSchema = ( - 23, - n0, - _DCRT, - 0, - DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_INPUT, - DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_OUTPUT, - (), -) - -CARRIER_GATEWAY_ID_SET: StaticSchema = ( - 16, - n0, - _CGIS, - 0, - (_me,), - ((CARRIER_GATEWAY_ID, 0),), -) - -CARRIER_GATEWAY_MAX_RESULTS: StaticSchema = (7, n0, _CGMR, 0) - -DESCRIBE_CARRIER_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _DCGIes, - {_sSI: _cDCGRoma, _sm: None}, - (_CGIa, _Fil, _MR, _NTex, _DR), - ( - (CARRIER_GATEWAY_ID_SET, {_sN: _CGI}), - (FILTER_LIST, {_sN: _Fi}), - (CARRIER_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -CARRIER_GATEWAY_SET: StaticSchema = ( - 16, - n0, - _CGSa, - 0, - (_me,), - ((CARRIER_GATEWAY, {_sN: _i}),), -) - -DESCRIBE_CARRIER_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCGOes, - {_sSI: _cDCGRomam, _smit: None}, - (_CGar, _NTex), - ( - (CARRIER_GATEWAY_SET, {_aQN: _CGSa, _sN: _cGS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CARRIER_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _DCGes, - 0, - DESCRIBE_CARRIER_GATEWAYS_INPUT, - DESCRIBE_CARRIER_GATEWAYS_OUTPUT, - (), -) - -INSTANCE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _IISL, - 0, - (_me,), - ((INSTANCE_ID, {_sN: _II}),), -) - -DESCRIBE_CLASSIC_LINK_INSTANCES_MAX_RESULTS: StaticSchema = (7, n0, _DCLIMR, 0) - -DESCRIBE_CLASSIC_LINK_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DCLII, - {_sSI: _cDCLIR, _sm: None}, - (_DR, _IIn, _Fil, _NTex, _MR), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INSTANCE_ID_STRING_LIST, {_sN: _II}), - (FILTER_LIST, {_sN: _Fi}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (DESCRIBE_CLASSIC_LINK_INSTANCES_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), - ), -) - -CLASSIC_LINK_INSTANCE: StaticSchema = ( - 18, - n0, - _CLI, - 0, - (_G, _II, _Tag, _VI), - ( - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - (STRING, {_aQN: _II, _sN: _iI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _VI, _sN: _vI}), - ), -) - -CLASSIC_LINK_INSTANCE_LIST: StaticSchema = ( - 16, - n0, - _CLIL, - 0, - (_me,), - ((CLASSIC_LINK_INSTANCE, {_sN: _i}),), -) - -DESCRIBE_CLASSIC_LINK_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DCLIO, - {_sSI: _cDCLIRo, _smit: None}, - (_Ins, _NTex), - ( - (CLASSIC_LINK_INSTANCE_LIST, {_aQN: _ISnst, _sN: _iSns}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CLASSIC_LINK_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DCLI, - 0, - DESCRIBE_CLASSIC_LINK_INSTANCES_INPUT, - DESCRIBE_CLASSIC_LINK_INSTANCES_OUTPUT, - (), -) - -DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_MAX_RESULTS: StaticSchema = (7, n0, _DCVARMR, 0) - -DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_INPUT: StaticSchema = ( - 18, - n0, - _DCVARI, - {_sSI: _cDCVARR, _sm: None}, - (_CVEI, _DR, _NTex, _Fil, _MR), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (BOOLEAN, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_MAX_RESULTS, 0), - ), -) - -AUTHORIZATION_RULE: StaticSchema = ( - 18, - n0, - _ARut, - 0, - (_CVEI, _Des, _GIr, _AAcc, _DC, _Sta), - ( - (STRING, {_aQN: _CVEI, _sN: _cVEI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _GIr, _sN: _gIr}), - (BOOLEAN, {_aQN: _AAcc, _sN: _aAc}), - (STRING, {_aQN: _DC, _sN: _dC}), - (CLIENT_VPN_AUTHORIZATION_RULE_STATUS, {_aQN: _Sta, _sN: _sta}), - ), -) - -AUTHORIZATION_RULE_SET: StaticSchema = ( - 16, - n0, - _ARSu, - 0, - (_me,), - ((AUTHORIZATION_RULE, {_sN: _i}),), -) - -DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_OUTPUT: StaticSchema = ( - 18, - n0, - _DCVARO, - {_sSI: _cDCVARRo, _smit: None}, - (_ARuth, _NTex), - ( - (AUTHORIZATION_RULE_SET, {_aQN: _ARut, _sN: _aRut}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES: StaticOperationSchema = ( - 23, - n0, - _DCVAR, - 0, - DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_INPUT, - DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_OUTPUT, - (), -) - -DESCRIBE_CLIENT_VPN_CONNECTIONS_MAX_RESULTS: StaticSchema = (7, n0, _DCVCMR, 0) - -DESCRIBE_CLIENT_VPN_CONNECTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DCVCI, - {_sSI: _cDCVCR, _sm: None}, - (_CVEI, _Fil, _NTex, _MR, _DR), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (NEXT_TOKEN, 0), - (DESCRIBE_CLIENT_VPN_CONNECTIONS_MAX_RESULTS, 0), - (BOOLEAN, 0), - ), -) - -CLIENT_VPN_CONNECTION_STATUS_CODE: StaticSchema = ( - 14, - n0, - _CVCSC, - 0, - (_act, _ftt, _termi, _termin), - ((-1, {_sV: _act}), (-1, {_sV: _ftt_}), (-1, {_sV: _termi}), (-1, {_sV: _termin})), -) - -CLIENT_VPN_CONNECTION_STATUS: StaticSchema = ( - 18, - n0, - _CVCS, - 0, - (_C, _Me), - ( - (CLIENT_VPN_CONNECTION_STATUS_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -CLIENT_VPN_CONNECTION: StaticSchema = ( - 18, - n0, - _CVCl, - 0, - ( - _CVEI, - _Ti, - _CIon, - _Use, - _CETo, - _IB, - _EB, - _IPng, - _EPg, - _CIli, - _CIA, - _CNom, - _Sta, - _CETon, - _PCSo, - _APLET, - ), - ( - (STRING, {_aQN: _CVEI, _sN: _cVEI}), - (STRING, {_aQN: _Ti, _sN: _ti}), - (STRING, {_aQN: _CIon, _sN: _cIon}), - (STRING, {_aQN: _Use, _sN: _user}), - (STRING, {_aQN: _CETo, _sN: _cET}), - (STRING, {_aQN: _IB, _sN: _iB}), - (STRING, {_aQN: _EB, _sN: _eB}), - (STRING, {_aQN: _IPng, _sN: _iPng}), - (STRING, {_aQN: _EPg, _sN: _eP}), - (STRING, {_aQN: _CIli, _sN: _cIli}), - (STRING, {_aQN: _CIA, _sN: _cIA}), - (STRING, {_aQN: _CNom, _sN: _cNo}), - (CLIENT_VPN_CONNECTION_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _CETon, _sN: _cETo}), - (VALUE_STRING_LIST, {_aQN: _PCSS, _sN: _pCSS}), - (STRING, {_aQN: _APLET, _sN: _aPLET}), - ), -) - -CLIENT_VPN_CONNECTION_SET: StaticSchema = ( - 16, - n0, - _CVCSl, - 0, - (_me,), - ((CLIENT_VPN_CONNECTION, {_sN: _i}),), -) - -DESCRIBE_CLIENT_VPN_CONNECTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCVCO, - {_sSI: _cDCVCRo, _smit: None}, - (_Conn, _NTex), - ( - (CLIENT_VPN_CONNECTION_SET, {_aQN: _Conn, _sN: _conn}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CLIENT_VPN_CONNECTIONS: StaticOperationSchema = ( - 23, - n0, - _DCVC, - 0, - DESCRIBE_CLIENT_VPN_CONNECTIONS_INPUT, - DESCRIBE_CLIENT_VPN_CONNECTIONS_OUTPUT, - (), -) - -CLIENT_VPN_ENDPOINT_ID_LIST: StaticSchema = ( - 16, - n0, - _CVEIL, - 0, - (_me,), - ((CLIENT_VPN_ENDPOINT_ID, {_sN: _i}),), -) - -DESCRIBE_CLIENT_VPN_ENDPOINT_MAX_RESULTS: StaticSchema = (7, n0, _DCVEMR, 0) - -DESCRIBE_CLIENT_VPN_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _DCVEIe, - {_sSI: _cDCVERom, _sm: None}, - (_CVEIl, _MR, _NTex, _Fil, _DR), - ( - (CLIENT_VPN_ENDPOINT_ID_LIST, {_sN: _CVEI}), - (DESCRIBE_CLIENT_VPN_ENDPOINT_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -ASSOCIATED_NETWORK_TYPE: StaticSchema = (14, n0, _ANT, 0, (_vp,), ((-1, {_sV: _vp}),)) - -ASSOCIATED_TARGET_NETWORK: StaticSchema = ( - 18, - n0, - _ATN, - 0, - (_NIet, _NTe), - ( - (STRING, {_aQN: _NIet, _sN: _nIe}), - (ASSOCIATED_NETWORK_TYPE, {_aQN: _NTe, _sN: _nTe}), - ), -) - -ASSOCIATED_TARGET_NETWORK_SET: StaticSchema = ( - 16, - n0, - _ATNS, - 0, - (_me,), - ((ASSOCIATED_TARGET_NETWORK, {_sN: _i}),), -) - -DIRECTORY_SERVICE_AUTHENTICATION: StaticSchema = ( - 18, - n0, - _DSA, - 0, - (_DIi,), - ((STRING, {_aQN: _DIi, _sN: _dIi}),), -) - -FEDERATED_AUTHENTICATION: StaticSchema = ( - 18, - n0, - _FA, - 0, - (_SPA, _SSSPA), - ((STRING, {_aQN: _SPA, _sN: _sPA}), (STRING, {_aQN: _SSSPA, _sN: _sSSPA})), -) - -CERTIFICATE_AUTHENTICATION: StaticSchema = ( - 18, - n0, - _CAer, - 0, - (_CRCC,), - ((STRING, {_aQN: _CRCC, _sN: _cRCC}),), -) - -CLIENT_VPN_AUTHENTICATION: StaticSchema = ( - 18, - n0, - _CVA, - 0, - (_Ty, _ADc, _MA, _FA), - ( - (CLIENT_VPN_AUTHENTICATION_TYPE, {_aQN: _Ty, _sN: _ty}), - (DIRECTORY_SERVICE_AUTHENTICATION, {_aQN: _ADc, _sN: _aDc}), - (CERTIFICATE_AUTHENTICATION, {_aQN: _MA, _sN: _mAu}), - (FEDERATED_AUTHENTICATION, {_aQN: _FA, _sN: _fA}), - ), -) - -CLIENT_VPN_AUTHENTICATION_LIST: StaticSchema = ( - 16, - n0, - _CVAL, - 0, - (_me,), - ((CLIENT_VPN_AUTHENTICATION, {_sN: _i}),), -) - -CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS_CODE: StaticSchema = ( - 14, - n0, - _CVEASC, - 0, - (_appl, _ap), - ((-1, {_sV: _appl}), (-1, {_sV: _ap})), -) - -CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS: StaticSchema = ( - 18, - n0, - _CVEAS, - 0, - (_C, _Me), - ( - (CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -CLIENT_CONNECT_RESPONSE_OPTIONS: StaticSchema = ( - 18, - n0, - _CCROl, - 0, - (_Ena, _LFA, _Sta), - ( - (BOOLEAN, {_aQN: _Ena, _sN: _ena}), - (STRING, {_aQN: _LFA, _sN: _lFA}), - (CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS, {_aQN: _Sta, _sN: _sta}), - ), -) - -CLIENT_LOGIN_BANNER_RESPONSE_OPTIONS: StaticSchema = ( - 18, - n0, - _CLBRO, - 0, - (_Ena, _BTa), - ((BOOLEAN, {_aQN: _Ena, _sN: _ena}), (STRING, {_aQN: _BTa, _sN: _bT})), -) - -CLIENT_ROUTE_ENFORCEMENT_RESPONSE_OPTIONS: StaticSchema = ( - 18, - n0, - _CRERO, - 0, - (_Enf,), - ((BOOLEAN, {_aQN: _Enf, _sN: _enfo}),), -) - -CONNECTION_LOG_RESPONSE_OPTIONS: StaticSchema = ( - 18, - n0, - _CLRO, - 0, - (_Ena, _CLG, _CLS, _IAPC), - ((BOOLEAN, 0), (STRING, 0), (STRING, 0), (BOOLEAN, 0)), -) - -CLIENT_VPN_TRUST_PROVIDER: StaticSchema = ( - 18, - n0, - _CVTP, - 0, - (_TPT, _TI, _PSKU), - ( - (CLIENT_VPN_DEVICE_TRUST_PROVIDER_TYPE, {_aQN: _TPT, _sN: _tPT}), - (STRING, {_aQN: _TI, _sN: _tI}), - (STRING, {_aQN: _PSKU, _sN: _pSKU}), - ), -) - -CLIENT_VPN_TRUST_PROVIDER_SET: StaticSchema = ( - 16, - n0, - _CVTPS, - 0, - (_me,), - ((CLIENT_VPN_TRUST_PROVIDER, {_sN: _i}),), -) - -DEVICE_POSTURE_RESPONSE_OPTIONS: StaticSchema = ( - 18, - n0, - _DPRO, - 0, - (_TPr,), - ((CLIENT_VPN_TRUST_PROVIDER_SET, {_aQN: _TPS, _sN: _tPS}),), -) - -TRANSIT_GATEWAY_CONFIGURATION_DESCRIBE_ENDPOINT_STRUCTURE: StaticSchema = ( - 18, - n0, - _TGCDES, - 0, - (_TGI, _TGAI, _AZv, _AZIv), - ( - (TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - (CLIENT_VPN_AVAILABILITY_ZONE_SET, {_aQN: _AZS, _sN: _aZS}), - (CLIENT_VPN_AVAILABILITY_ZONE_ID_SET, {_aQN: _AZIS, _sN: _aZIS}), - ), -) - -VPN_PROTOCOL: StaticSchema = (14, n0, _VPpn, 0, (_open,), ((-1, {_sV: _open}),)) - -CLIENT_VPN_ENDPOINT: StaticSchema = ( - 18, - n0, - _CVEl, - 0, - ( - _CVEI, - _Des, - _Sta, - _CT, - _DTe, - _DN, - _CCB, - _DSn, - _STp, - _VPpn, - _TPra, - _VPp, - _ATNs, - _SCA, - _AO, - _CLO, - _Tag, - _SGIe, - _VI, - _SSPU, - _CCO, - _STH, - _CLBO, - _CREO, - _DOST, - _EIAT, - _TIAT, - _TGC, - _DPO, - ), - ( - (STRING, {_aQN: _CVEI, _sN: _cVEI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (CLIENT_VPN_ENDPOINT_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _CT, _sN: _cT}), - (STRING, {_aQN: _DTe, _sN: _dT}), - (STRING, {_aQN: _DN, _sN: _dN}), - (STRING, {_aQN: _CCB, _sN: _cCB}), - (VALUE_STRING_LIST, {_aQN: _DSns, _sN: _dSn}), - (BOOLEAN, {_aQN: _STp, _sN: _sTp}), - (VPN_PROTOCOL, {_aQN: _VPpn, _sN: _vPp}), - (TRANSPORT_PROTOCOL, {_aQN: _TPra, _sN: _tPr}), - (INTEGER, {_aQN: _VPp, _sN: _vPpn}), - (ASSOCIATED_TARGET_NETWORK_SET, {_aQN: _ATN, _sN: _aTN}), - (STRING, {_aQN: _SCA, _sN: _sCA}), - (CLIENT_VPN_AUTHENTICATION_LIST, {_aQN: _AO, _sN: _aO}), - (CONNECTION_LOG_RESPONSE_OPTIONS, {_aQN: _CLO, _sN: _cLO}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (CLIENT_VPN_SECURITY_GROUP_ID_SET, {_aQN: _SGIS, _sN: _sGIS}), - (VPC_ID, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _SSPU, _sN: _sSPU}), - (CLIENT_CONNECT_RESPONSE_OPTIONS, {_aQN: _CCO, _sN: _cCO}), - (INTEGER, {_aQN: _STH, _sN: _sTH}), - (CLIENT_LOGIN_BANNER_RESPONSE_OPTIONS, {_aQN: _CLBO, _sN: _cLBO}), - (CLIENT_ROUTE_ENFORCEMENT_RESPONSE_OPTIONS, {_aQN: _CREO, _sN: _cREO}), - (BOOLEAN, {_aQN: _DOST, _sN: _dOST}), - (ENDPOINT_IP_ADDRESS_TYPE, {_aQN: _EIAT, _sN: _eIAT}), - (TRAFFIC_IP_ADDRESS_TYPE, {_aQN: _TIAT, _sN: _tIAT}), - ( - TRANSIT_GATEWAY_CONFIGURATION_DESCRIBE_ENDPOINT_STRUCTURE, - {_aQN: _TGC, _sN: _tGCr}, - ), - (DEVICE_POSTURE_RESPONSE_OPTIONS, {_aQN: _DPO, _sN: _dPO}), - ), -) - -ENDPOINT_SET: StaticSchema = ( - 16, - n0, - _ESnd, - 0, - (_me,), - ((CLIENT_VPN_ENDPOINT, {_sN: _i}),), -) - -DESCRIBE_CLIENT_VPN_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCVEOe, - {_sSI: _cDCVERoma, _smit: None}, - (_CVEli, _NTex), - ((ENDPOINT_SET, {_aQN: _CVEl, _sN: _cVE}), (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_CLIENT_VPN_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _DCVEe, - 0, - DESCRIBE_CLIENT_VPN_ENDPOINTS_INPUT, - DESCRIBE_CLIENT_VPN_ENDPOINTS_OUTPUT, - (), -) - -DESCRIBE_CLIENT_VPN_ROUTES_MAX_RESULTS: StaticSchema = (7, n0, _DCVRMR, 0) - -DESCRIBE_CLIENT_VPN_ROUTES_INPUT: StaticSchema = ( - 18, - n0, - _DCVRIe, - {_sSI: _cDCVRRom, _sm: None}, - (_CVEI, _Fil, _MR, _NTex, _DR), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_CLIENT_VPN_ROUTES_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (BOOLEAN, 0), - ), -) - -CLIENT_VPN_ROUTE: StaticSchema = ( - 18, - n0, - _CVR, - 0, - (_CVEI, _DC, _TSar, _Ty, _Or, _Sta, _Des, _TGAI), - ( - (STRING, {_aQN: _CVEI, _sN: _cVEI}), - (STRING, {_aQN: _DC, _sN: _dC}), - (STRING, {_aQN: _TSar, _sN: _tSar}), - (STRING, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _Or, _sN: _or}), - (CLIENT_VPN_ROUTE_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _Des, _sN: _desc}), - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - ), -) - -CLIENT_VPN_ROUTE_SET: StaticSchema = ( - 16, - n0, - _CVRSl, - 0, - (_me,), - ((CLIENT_VPN_ROUTE, {_sN: _i}),), -) - -DESCRIBE_CLIENT_VPN_ROUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DCVROe, - {_sSI: _cDCVRRoma, _smit: None}, - (_Rout, _NTex), - ( - (CLIENT_VPN_ROUTE_SET, {_aQN: _Rout, _sN: _rout}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CLIENT_VPN_ROUTES: StaticOperationSchema = ( - 23, - n0, - _DCVRe, - 0, - DESCRIBE_CLIENT_VPN_ROUTES_INPUT, - DESCRIBE_CLIENT_VPN_ROUTES_OUTPUT, - (), -) - -DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_MAX_RESULTS: StaticSchema = (7, n0, _DCVTNMR, 0) - -DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_INPUT: StaticSchema = ( - 18, - n0, - _DCVTNI, - {_sSI: _cDCVTNR, _sm: None}, - (_CVEI, _AIsso, _MR, _NTex, _Fil, _DR), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (VALUE_STRING_LIST, 0), - (DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -TARGET_NETWORK: StaticSchema = ( - 18, - n0, - _TNa, - 0, - (_AIs, _VI, _TNI, _CVEI, _Sta, _SGe, _AZv, _AZIv), - ( - (STRING, {_aQN: _AIs, _sN: _aIs}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _TNI, _sN: _tNI}), - (STRING, {_aQN: _CVEI, _sN: _cVEI}), - (ASSOCIATION_STATUS, {_aQN: _Sta, _sN: _sta}), - (VALUE_STRING_LIST, {_aQN: _SGe, _sN: _sGe}), - (CLIENT_VPN_AVAILABILITY_ZONE_SET, {_aQN: _AZS, _sN: _aZS}), - (CLIENT_VPN_AVAILABILITY_ZONE_ID_SET, {_aQN: _AZIS, _sN: _aZIS}), - ), -) - -TARGET_NETWORK_SET: StaticSchema = ( - 16, - n0, - _TNS, - 0, - (_me,), - ((TARGET_NETWORK, {_sN: _i}),), -) - -DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCVTNO, - {_sSI: _cDCVTNRo, _smit: None}, - (_CVTN, _NTex), - ( - (TARGET_NETWORK_SET, {_aQN: _CVTN, _sN: _cVTN}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_CLIENT_VPN_TARGET_NETWORKS: StaticOperationSchema = ( - 23, - n0, - _DCVTN, - 0, - DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_INPUT, - DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_OUTPUT, - (), -) - -COIP_POOL_MAX_RESULTS: StaticSchema = (7, n0, _CPMR, 0) - -COIP_POOL_ID_SET: StaticSchema = ( - 16, - n0, - _CPIS, - 0, - (_me,), - ((IPV4_POOL_COIP_ID, {_sN: _i}),), -) - -DESCRIBE_COIP_POOLS_INPUT: StaticSchema = ( - 18, - n0, - _DCPIe, - {_sSI: _cDCPRom, _sm: None}, - (_PIoo, _Fil, _MR, _NTex, _DR), - ( - (COIP_POOL_ID_SET, {_sN: _PIo}), - (FILTER_LIST, {_sN: _Fi}), - (COIP_POOL_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -COIP_POOL_SET: StaticSchema = (16, n0, _CPS, 0, (_me,), ((COIP_POOL, {_sN: _i}),)) - -DESCRIBE_COIP_POOLS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCPOe, - {_sSI: _cDCPRoma, _smit: None}, - (_CPo, _NTex), - ((COIP_POOL_SET, {_aQN: _CPS, _sN: _cPS}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_COIP_POOLS: StaticOperationSchema = ( - 23, - n0, - _DCPe, - 0, - DESCRIBE_COIP_POOLS_INPUT, - DESCRIBE_COIP_POOLS_OUTPUT, - (), -) - -CONVERSION_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _CISL, - 0, - (_me,), - ((CONVERSION_TASK_ID, {_sN: _i}),), -) - -DESCRIBE_CONVERSION_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DCTI, - {_sSI: _cDCTR, _sm: None}, - (_DR, _CTIo), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (CONVERSION_ID_STRING_LIST, {_aQN: _CTI, _sN: _cTI}), - ), -) - -IMPORT_MANIFEST_URL: StaticSchema = (3, n0, _IMU, 4) - -DISK_IMAGE_DESCRIPTION: StaticSchema = ( - 18, - n0, - _DID, - 0, - (_Ch, _For, _IMU, _Si), - ( - (STRING, {_aQN: _Ch, _sN: _ch}), - (DISK_IMAGE_FORMAT, {_aQN: _For, _sN: _fo}), - (IMPORT_MANIFEST_URL, {_aQN: _IMU, _sN: _iMU}), - (LONG, {_aQN: _Si, _sN: _siz}), - ), -) - -DISK_IMAGE_VOLUME_DESCRIPTION: StaticSchema = ( - 18, - n0, - _DIVD, - 0, - (_Id, _Si), - ((STRING, {_aQN: _Id, _sN: _id}), (LONG, {_aQN: _Si, _sN: _siz})), -) - -IMPORT_INSTANCE_VOLUME_DETAIL_ITEM: StaticSchema = ( - 18, - n0, - _IIVDI, - 0, - (_AZ, _AZI, _BCyt, _Des, _Im, _Sta, _SMt, _Vo), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (LONG, {_aQN: _BCyt, _sN: _bCy}), - (STRING, {_aQN: _Des, _sN: _desc}), - (DISK_IMAGE_DESCRIPTION, {_aQN: _Im, _sN: _im}), - (STRING, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (DISK_IMAGE_VOLUME_DESCRIPTION, {_aQN: _Vo, _sN: _vo}), - ), -) - -IMPORT_INSTANCE_VOLUME_DETAIL_SET: StaticSchema = ( - 16, - n0, - _IIVDS, - 0, - (_me,), - ((IMPORT_INSTANCE_VOLUME_DETAIL_ITEM, {_sN: _i}),), -) - -IMPORT_INSTANCE_TASK_DETAILS: StaticSchema = ( - 18, - n0, - _IITD, - 0, - (_Des, _II, _Pla, _Vol), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _II, _sN: _iI}), - (PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), - (IMPORT_INSTANCE_VOLUME_DETAIL_SET, {_aQN: _Vol, _sN: _vol}), - ), -) - -IMPORT_VOLUME_TASK_DETAILS: StaticSchema = ( - 18, - n0, - _IVTD, - 0, - (_AZ, _AZI, _BCyt, _Des, _Im, _Vo), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (LONG, {_aQN: _BCyt, _sN: _bCy}), - (STRING, {_aQN: _Des, _sN: _desc}), - (DISK_IMAGE_DESCRIPTION, {_aQN: _Im, _sN: _im}), - (DISK_IMAGE_VOLUME_DESCRIPTION, {_aQN: _Vo, _sN: _vo}), - ), -) - -CONVERSION_TASK_STATE: StaticSchema = ( - 14, - n0, - _CTSon, - 0, - (_act, _ca, _can, _compl), - ((-1, {_sV: _act}), (-1, {_sV: _ca}), (-1, {_sV: _can}), (-1, {_sV: _compl})), -) - -CONVERSION_TASK: StaticSchema = ( - 18, - n0, - _CTon, - 0, - (_CTI, _ET, _IImp, _IVm, _St, _SMt, _Tag), - ( - (STRING, {_aQN: _CTI, _sN: _cTI}), - (STRING, {_aQN: _ET, _sN: _eT}), - (IMPORT_INSTANCE_TASK_DETAILS, {_aQN: _IImp, _sN: _iImp}), - (IMPORT_VOLUME_TASK_DETAILS, {_aQN: _IVm, _sN: _iVm}), - (CONVERSION_TASK_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -DESCRIBE_CONVERSION_TASK_LIST: StaticSchema = ( - 16, - n0, - _DCTL, - 0, - (_me,), - ((CONVERSION_TASK, {_sN: _i}),), -) - -DESCRIBE_CONVERSION_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCTO, - {_sSI: _cDCTRo, _smit: None}, - (_CTonv,), - ((DESCRIBE_CONVERSION_TASK_LIST, {_aQN: _CTonv, _sN: _cTon}),), -) - -DESCRIBE_CONVERSION_TASKS: StaticOperationSchema = ( - 23, - n0, - _DCT, - 0, - DESCRIBE_CONVERSION_TASKS_INPUT, - DESCRIBE_CONVERSION_TASKS_OUTPUT, - (), -) - -CUSTOMER_GATEWAY_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _CGISL, - 0, - (_me,), - ((CUSTOMER_GATEWAY_ID, {_sN: _CGIu}),), -) - -DESCRIBE_CUSTOMER_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _DCGIesc, - {_sSI: _cDCGRomama, _sm: None}, - (_CGIus, _Fil, _DR), - ( - (CUSTOMER_GATEWAY_ID_STRING_LIST, {_sN: _CGIu}), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -CUSTOMER_GATEWAY_LIST: StaticSchema = ( - 16, - n0, - _CGL, - 0, - (_me,), - ((CUSTOMER_GATEWAY, {_sN: _i}),), -) - -DESCRIBE_CUSTOMER_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCGOesc, - {_sSI: _cDCGRomamaz, _smit: None}, - (_CGu,), - ((CUSTOMER_GATEWAY_LIST, {_aQN: _CGSu, _sN: _cGSu}),), -) - -DESCRIBE_CUSTOMER_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _DCGesc, - 0, - DESCRIBE_CUSTOMER_GATEWAYS_INPUT, - DESCRIBE_CUSTOMER_GATEWAYS_OUTPUT, - (), -) - -DECLARATIVE_POLICIES_MAX_RESULTS: StaticSchema = (7, n0, _DPMR, 0) - -DESCRIBE_DECLARATIVE_POLICIES_REPORTS_INPUT: StaticSchema = ( - 18, - n0, - _DDPRI, - {_sSI: _cDDPRR, _sm: None}, - (_DR, _NTex, _MR, _RIepo), - ( - (BOOLEAN, 0), - (STRING, 0), - (DECLARATIVE_POLICIES_MAX_RESULTS, 0), - (VALUE_STRING_LIST, {_sN: _RIep}), - ), -) - -REPORT_STATE: StaticSchema = ( - 14, - n0, - _RSepo, - 0, - (_ru, _can, _comp, _er), - ((-1, {_sV: _ru}), (-1, {_sV: _can}), (-1, {_sV: _comp}), (-1, {_sV: _er})), -) - -DECLARATIVE_POLICIES_REPORT: StaticSchema = ( - 18, - n0, - _DPRec, - 0, - (_RIep, _SBu, _SPr, _TIa, _ST, _ETnd, _Sta, _Tag), - ( - (STRING, {_aQN: _RIep, _sN: _rIe}), - (STRING, {_aQN: _SBu, _sN: _sB}), - (STRING, {_aQN: _SPr, _sN: _sP}), - (STRING, {_aQN: _TIa, _sN: _tIa}), - (MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (MILLISECOND_DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), - (REPORT_STATE, {_aQN: _Sta, _sN: _sta}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -DECLARATIVE_POLICIES_REPORT_LIST: StaticSchema = ( - 16, - n0, - _DPRL, - 0, - (_me,), - ((DECLARATIVE_POLICIES_REPORT, {_sN: _i}),), -) - -DESCRIBE_DECLARATIVE_POLICIES_REPORTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDPRO, - {_sSI: _cDDPRRo, _smit: None}, - (_NTex, _Rep), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (DECLARATIVE_POLICIES_REPORT_LIST, {_aQN: _RSepor, _sN: _rSep}), - ), -) - -DESCRIBE_DECLARATIVE_POLICIES_REPORTS: StaticOperationSchema = ( - 23, - n0, - _DDPR, - 0, - DESCRIBE_DECLARATIVE_POLICIES_REPORTS_INPUT, - DESCRIBE_DECLARATIVE_POLICIES_REPORTS_OUTPUT, - (), -) - -DHCP_OPTIONS_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _DOISL, - 0, - (_me,), - ((DHCP_OPTIONS_ID, {_sN: _DOI}),), -) - -DESCRIBE_DHCP_OPTIONS_MAX_RESULTS: StaticSchema = (7, n0, _DDOMR, 0) - -DESCRIBE_DHCP_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DDOIes, - {_sSI: _cDDORo, _sm: None}, - (_DOIh, _NTex, _MR, _DR, _Fil), - ( - (DHCP_OPTIONS_ID_STRING_LIST, {_sN: _DOI}), - (STRING, 0), - (DESCRIBE_DHCP_OPTIONS_MAX_RESULTS, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -DHCP_OPTIONS_LIST: StaticSchema = ( - 16, - n0, - _DOL, - 0, - (_me,), - ((DHCP_OPTIONS, {_sN: _i}),), -) - -DESCRIBE_DHCP_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDOOe, - {_sSI: _cDDORom, _smit: None}, - (_NTex, _DOh), - ((STRING, {_aQN: _NTex, _sN: _nT}), (DHCP_OPTIONS_LIST, {_aQN: _DOSh, _sN: _dOS})), -) - -DESCRIBE_DHCP_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _DDOe, - 0, - DESCRIBE_DHCP_OPTIONS_INPUT, - DESCRIBE_DHCP_OPTIONS_OUTPUT, - (), -) - -EGRESS_ONLY_INTERNET_GATEWAY_ID_LIST: StaticSchema = ( - 16, - n0, - _EOIGIL, - 0, - (_me,), - ((EGRESS_ONLY_INTERNET_GATEWAY_ID, {_sN: _i}),), -) - -DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_MAX_RESULTS: StaticSchema = (7, n0, _DEOIGMR, 0) - -DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _DEOIGIe, - {_sSI: _cDEOIGRom, _sm: None}, - (_DR, _EOIGIg, _MR, _NTex, _Fil), - ( - (BOOLEAN, 0), - (EGRESS_ONLY_INTERNET_GATEWAY_ID_LIST, {_sN: _EOIGI}), - (DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_MAX_RESULTS, 0), - (STRING, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -EGRESS_ONLY_INTERNET_GATEWAY_LIST: StaticSchema = ( - 16, - n0, - _EOIGL, - 0, - (_me,), - ((EGRESS_ONLY_INTERNET_GATEWAY, {_sN: _i}),), -) - -DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _DEOIGOe, - {_sSI: _cDEOIGRoma, _smit: None}, - (_EOIGg, _NTex), - ( - (EGRESS_ONLY_INTERNET_GATEWAY_LIST, {_aQN: _EOIGS, _sN: _eOIGS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _DEOIGe, - 0, - DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_INPUT, - DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_OUTPUT, - (), -) - -ELASTIC_GPU_ID: StaticSchema = (3, n0, _EGI, 0) - -ELASTIC_GPU_ID_SET: StaticSchema = ( - 16, - n0, - _EGIS, - 0, - (_me,), - ((ELASTIC_GPU_ID, {_sN: _i}),), -) - -DESCRIBE_ELASTIC_GPUS_MAX_RESULTS: StaticSchema = (7, n0, _DEGMR, 0) - -DESCRIBE_ELASTIC_GPUS_INPUT: StaticSchema = ( - 18, - n0, - _DEGI, - {_sSI: _cDEGR, _sm: None}, - (_EGIl, _DR, _Fil, _MR, _NTex), - ( - (ELASTIC_GPU_ID_SET, {_sN: _EGI}), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_ELASTIC_GPUS_MAX_RESULTS, 0), - (STRING, 0), - ), -) - -ELASTIC_GPU_STATUS: StaticSchema = ( - 14, - n0, - _EGSla, - 0, - (_Ok, _Imp), - ((-1, {_sV: _OK_}), (-1, {_sV: _IMPAIRED})), -) - -ELASTIC_GPU_HEALTH: StaticSchema = ( - 18, - n0, - _EGH, - 0, - (_Sta,), - ((ELASTIC_GPU_STATUS, {_aQN: _Sta, _sN: _sta}),), -) - -ELASTIC_GPU_STATE: StaticSchema = ( - 14, - n0, - _EGSlas, - 0, - (_Atta,), - ((-1, {_sV: _ATTACHED}),), -) - -ELASTIC_GPUS: StaticSchema = ( - 18, - n0, - _EG, - 0, - (_EGI, _AZ, _EGT, _EGH, _EGSlas, _II, _Tag), - ( - (STRING, {_aQN: _EGI, _sN: _eGI}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _EGT, _sN: _eGT}), - (ELASTIC_GPU_HEALTH, {_aQN: _EGH, _sN: _eGH}), - (ELASTIC_GPU_STATE, {_aQN: _EGSlas, _sN: _eGS}), - (STRING, {_aQN: _II, _sN: _iI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -ELASTIC_GPU_SET: StaticSchema = ( - 16, - n0, - _EGSlast, - 0, - (_me,), - ((ELASTIC_GPUS, {_sN: _i}),), -) - -DESCRIBE_ELASTIC_GPUS_OUTPUT: StaticSchema = ( - 18, - n0, - _DEGO, - {_sSI: _cDEGRo, _smit: None}, - (_EGSlast, _MR, _NTex), - ( - (ELASTIC_GPU_SET, {_aQN: _EGSlast, _sN: _eGSl}), - (INTEGER, {_aQN: _MR, _sN: _mR}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_ELASTIC_GPUS: StaticOperationSchema = ( - 23, - n0, - _DEG, - 0, - DESCRIBE_ELASTIC_GPUS_INPUT, - DESCRIBE_ELASTIC_GPUS_OUTPUT, - (), -) - -EXPORT_IMAGE_TASK_ID: StaticSchema = (3, n0, _EITI, 0) - -EXPORT_IMAGE_TASK_ID_LIST: StaticSchema = ( - 16, - n0, - _EITIL, - 0, - (_me,), - ((EXPORT_IMAGE_TASK_ID, {_sN: _EITI}),), -) - -DESCRIBE_EXPORT_IMAGE_TASKS_MAX_RESULTS: StaticSchema = (7, n0, _DEITMR, 0) - -DESCRIBE_EXPORT_IMAGE_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DEITI, - {_sSI: _cDEITR, _sm: None}, - (_DR, _Fil, _EITIx, _MR, _NTex), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (EXPORT_IMAGE_TASK_ID_LIST, {_sN: _EITI}), - (DESCRIBE_EXPORT_IMAGE_TASKS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -EXPORT_TASK_S3_LOCATION: StaticSchema = ( - 18, - n0, - _ETSL, - 0, - (_SBu, _SPr), - ((STRING, {_aQN: _SBu, _sN: _sB}), (STRING, {_aQN: _SPr, _sN: _sP})), -) - -EXPORT_IMAGE_TASK: StaticSchema = ( - 18, - n0, - _EITxp, - 0, - (_Des, _EITI, _IIm, _Prog, _SEL, _Sta, _SMt, _Tag), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _EITI, _sN: _eITI}), - (STRING, {_aQN: _IIm, _sN: _iIm}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (EXPORT_TASK_S3_LOCATION, {_aQN: _SEL, _sN: _sEL}), - (STRING, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -EXPORT_IMAGE_TASK_LIST: StaticSchema = ( - 16, - n0, - _EITL, - 0, - (_me,), - ((EXPORT_IMAGE_TASK, {_sN: _i}),), -) - -DESCRIBE_EXPORT_IMAGE_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DEITO, - {_sSI: _cDEITRo, _smit: None}, - (_EITxpo, _NTex), - ( - (EXPORT_IMAGE_TASK_LIST, {_aQN: _EITSx, _sN: _eITSx}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_EXPORT_IMAGE_TASKS: StaticOperationSchema = ( - 23, - n0, - _DEIT, - 0, - DESCRIBE_EXPORT_IMAGE_TASKS_INPUT, - DESCRIBE_EXPORT_IMAGE_TASKS_OUTPUT, - (), -) - -EXPORT_TASK_ID: StaticSchema = (3, n0, _ETI, 0) - -EXPORT_TASK_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _ETISL, - 0, - (_me,), - ((EXPORT_TASK_ID, {_sN: _ETI}),), -) - -DESCRIBE_EXPORT_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DETI, - {_sSI: _cDETR, _sm: None}, - (_Fil, _ETIx), - ((FILTER_LIST, {_sN: _Fi}), (EXPORT_TASK_ID_STRING_LIST, {_aQN: _ETI, _sN: _eTI})), -) - -EXPORT_TASK_LIST: StaticSchema = (16, n0, _ETL, 0, (_me,), ((EXPORT_TASK, {_sN: _i}),)) - -DESCRIBE_EXPORT_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DETO, - {_sSI: _cDETRo, _smit: None}, - (_ETxp,), - ((EXPORT_TASK_LIST, {_aQN: _ETSxp, _sN: _eTSx}),), -) - -DESCRIBE_EXPORT_TASKS: StaticOperationSchema = ( - 23, - n0, - _DET, - 0, - DESCRIBE_EXPORT_TASKS_INPUT, - DESCRIBE_EXPORT_TASKS_OUTPUT, - (), -) - -FAST_LAUNCH_IMAGE_ID_LIST: StaticSchema = ( - 16, - n0, - _FLIIL, - 0, - (_me,), - ((IMAGE_ID, {_sN: _IIm}),), -) - -DESCRIBE_FAST_LAUNCH_IMAGES_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _DFLIRMR, 0) - -DESCRIBE_FAST_LAUNCH_IMAGES_INPUT: StaticSchema = ( - 18, - n0, - _DFLII, - {_sSI: _cDFLIR, _sm: None}, - (_IIma, _Fil, _MR, _NTex, _DR), - ( - (FAST_LAUNCH_IMAGE_ID_LIST, {_sN: _IIm}), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_FAST_LAUNCH_IMAGES_REQUEST_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (BOOLEAN, 0), - ), -) - -FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_RESPONSE: StaticSchema = ( - 18, - n0, - _FLLTSR, - 0, - (_LTI, _LTN, _Ve), - ( - (LAUNCH_TEMPLATE_ID, {_aQN: _LTI, _sN: _lTI}), - (STRING, {_aQN: _LTN, _sN: _lTN}), - (STRING, {_aQN: _Ve, _sN: _ver}), - ), -) - -FAST_LAUNCH_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _FLRTa, - 0, - (_SNAPSHOT,), - ((-1, {_sV: _s}),), -) - -FAST_LAUNCH_SNAPSHOT_CONFIGURATION_RESPONSE: StaticSchema = ( - 18, - n0, - _FLSCR, - 0, - (_TRC,), - ((INTEGER, {_aQN: _TRC, _sN: _tRC}),), -) - -FAST_LAUNCH_STATE_CODE: StaticSchema = ( - 14, - n0, - _FLSC, - 0, - (_en, _ef____, _ena, _ef______, _disab, _df________), - ( - (-1, {_sV: _en}), - (-1, {_sV: _ef_____}), - (-1, {_sV: _ena}), - (-1, {_sV: _ef_______}), - (-1, {_sV: _disab}), - (-1, {_sV: _df_________}), - ), -) - -DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_ITEM: StaticSchema = ( - 18, - n0, - _DFLISI, - 0, - (_IIm, _RT, _SCn, _LT, _MPLa, _OIw, _St, _STR, _STT), - ( - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (FAST_LAUNCH_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (FAST_LAUNCH_SNAPSHOT_CONFIGURATION_RESPONSE, {_aQN: _SCn, _sN: _sCn}), - (FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_RESPONSE, {_aQN: _LT, _sN: _lT}), - (INTEGER, {_aQN: _MPLa, _sN: _mPL}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (FAST_LAUNCH_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _STR, _sN: _sTR}), - (MILLISECOND_DATE_TIME, {_aQN: _STT, _sN: _sTT}), - ), -) - -DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_SET: StaticSchema = ( - 16, - n0, - _DFLISS, - 0, - (_me,), - ((DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_ITEM, {_sN: _i}),), -) - -DESCRIBE_FAST_LAUNCH_IMAGES_OUTPUT: StaticSchema = ( - 18, - n0, - _DFLIO, - {_sSI: _cDFLIRo, _smit: None}, - (_FLIa, _NTex), - ( - (DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_SET, {_aQN: _FLISa, _sN: _fLISa}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_FAST_LAUNCH_IMAGES: StaticOperationSchema = ( - 23, - n0, - _DFLIe, - 0, - DESCRIBE_FAST_LAUNCH_IMAGES_INPUT, - DESCRIBE_FAST_LAUNCH_IMAGES_OUTPUT, - (), -) - -DESCRIBE_FAST_SNAPSHOT_RESTORES_MAX_RESULTS: StaticSchema = (7, n0, _DFSRMR, 0) - -DESCRIBE_FAST_SNAPSHOT_RESTORES_INPUT: StaticSchema = ( - 18, - n0, - _DFSRI, - {_sSI: _cDFSRR, _sm: None}, - (_Fil, _MR, _NTex, _DR), - ( - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_FAST_SNAPSHOT_RESTORES_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (BOOLEAN, 0), - ), -) - -FAST_SNAPSHOT_RESTORE_STATE_CODE: StaticSchema = ( - 14, - n0, - _FSRSC, - 0, - (_en, _opti, _ena, _disab, _d), - ( - (-1, {_sV: _en}), - (-1, {_sV: _opti}), - (-1, {_sV: _ena}), - (-1, {_sV: _disab}), - (-1, {_sV: _d}), - ), -) - -DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM: StaticSchema = ( - 18, - n0, - _DFSRSI, - 0, - (_SIn, _AZ, _AZI, _St, _STR, _OIw, _OAw, _ETna, _OT, _ETnab, _DTi, _DTis), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (FAST_SNAPSHOT_RESTORE_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _STR, _sN: _sTR}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _OAw, _sN: _oAw}), - (MILLISECOND_DATE_TIME, {_aQN: _ETna, _sN: _eTna}), - (MILLISECOND_DATE_TIME, {_aQN: _OT, _sN: _oT}), - (MILLISECOND_DATE_TIME, {_aQN: _ETnab, _sN: _eTnab}), - (MILLISECOND_DATE_TIME, {_aQN: _DTi, _sN: _dTi}), - (MILLISECOND_DATE_TIME, {_aQN: _DTis, _sN: _dTis}), - ), -) - -DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET: StaticSchema = ( - 16, - n0, - _DFSRSS, - 0, - (_me,), - ((DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM, {_sN: _i}),), -) - -DESCRIBE_FAST_SNAPSHOT_RESTORES_OUTPUT: StaticSchema = ( - 18, - n0, - _DFSRO, - {_sSI: _cDFSRRo, _smit: None}, - (_FSRa, _NTex), - ( - (DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET, {_aQN: _FSRS, _sN: _fSRS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_FAST_SNAPSHOT_RESTORES: StaticOperationSchema = ( - 23, - n0, - _DFSR, - 0, - DESCRIBE_FAST_SNAPSHOT_RESTORES_INPUT, - DESCRIBE_FAST_SNAPSHOT_RESTORES_OUTPUT, - (), -) - -FLEET_EVENT_TYPE: StaticSchema = ( - 14, - n0, - _FET, - 0, - (_IC__, _FC_, _SE), - ((-1, {_sV: _ic__}), (-1, {_sV: _fc}), (-1, {_sV: _se__})), -) - -DESCRIBE_FLEET_HISTORY_INPUT: StaticSchema = ( - 18, - n0, - _DFHI, - {_sSI: _cDFHR, _sm: None}, - (_DR, _ETv, _MR, _NTex, _FIl, _ST), - ( - (BOOLEAN, 0), - (FLEET_EVENT_TYPE, 0), - (INTEGER, 0), - (STRING, 0), - (FLEET_ID, 1), - (DATE_TIME, 1), - ), -) - -EVENT_INFORMATION: StaticSchema = ( - 18, - n0, - _EIv, - 0, - (_EDv, _EST, _II), - ( - (STRING, {_aQN: _EDv, _sN: _eDv}), - (STRING, {_aQN: _EST, _sN: _eST}), - (STRING, {_aQN: _II, _sN: _iI}), - ), -) - -HISTORY_RECORD_ENTRY: StaticSchema = ( - 18, - n0, - _HRE, - 0, - (_EIv, _ETv, _Ti), - ( - (EVENT_INFORMATION, {_aQN: _EIv, _sN: _eIv}), - (FLEET_EVENT_TYPE, {_aQN: _ETv, _sN: _eTv}), - (DATE_TIME, {_aQN: _Ti, _sN: _ti}), - ), -) - -HISTORY_RECORD_SET: StaticSchema = ( - 16, - n0, - _HRS, - 0, - (_me,), - ((HISTORY_RECORD_ENTRY, {_sN: _i}),), -) - -DESCRIBE_FLEET_HISTORY_OUTPUT: StaticSchema = ( - 18, - n0, - _DFHO, - {_sSI: _cDFHRo, _smit: None}, - (_HRi, _LET, _NTex, _FIl, _ST), - ( - (HISTORY_RECORD_SET, {_aQN: _HRS, _sN: _hRS}), - (DATE_TIME, {_aQN: _LET, _sN: _lET}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (FLEET_ID, {_aQN: _FIl, _sN: _fIl}), - (DATE_TIME, {_aQN: _ST, _sN: _sTt}), - ), -) - -DESCRIBE_FLEET_HISTORY: StaticOperationSchema = ( - 23, - n0, - _DFH, - 0, - DESCRIBE_FLEET_HISTORY_INPUT, - DESCRIBE_FLEET_HISTORY_OUTPUT, - (), -) - -DESCRIBE_FLEET_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DFIIe, - {_sSI: _cDFIRom, _sm: None}, - (_DR, _MR, _NTex, _FIl, _Fil), - ((BOOLEAN, 0), (INTEGER, 0), (STRING, 0), (FLEET_ID, 1), (FILTER_LIST, {_sN: _Fi})), -) - -DESCRIBE_FLEET_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DFIOe, - {_sSI: _cDFIRoma, _smit: None}, - (_AIct, _NTex, _FIl), - ( - (ACTIVE_INSTANCE_SET, {_aQN: _AIS, _sN: _aIS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (FLEET_ID, {_aQN: _FIl, _sN: _fIl}), - ), -) - -DESCRIBE_FLEET_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DFIes, - 0, - DESCRIBE_FLEET_INSTANCES_INPUT, - DESCRIBE_FLEET_INSTANCES_OUTPUT, - (), -) - -DESCRIBE_FLEETS_INPUT: StaticSchema = ( - 18, - n0, - _DFIesc, - {_sSI: _cDFRom, _sm: None}, - (_DR, _MR, _NTex, _FIle, _Fil), - ( - (BOOLEAN, 0), - (INTEGER, 0), - (STRING, 0), - (FLEET_ID_SET, {_sN: _FIl}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -FLEET_ACTIVITY_STATUS: StaticSchema = ( - 14, - n0, - _FASl, - 0, - (_ERROR, _PF_, _PT, _FULFILLED), - ((-1, {_sV: _er}), (-1, {_sV: _pf}), (-1, {_sV: _pt}), (-1, {_sV: _fu})), -) - -DESCRIBE_FLEET_ERROR: StaticSchema = ( - 18, - n0, - _DFEe, - 0, - (_LTAO, _Li, _ECr, _EM), - ( - (LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE, {_aQN: _LTAO, _sN: _lTAO}), - (INSTANCE_LIFECYCLE, {_aQN: _Li, _sN: _lif}), - (STRING, {_aQN: _ECr, _sN: _eCr}), - (STRING, {_aQN: _EM, _sN: _eM}), - ), -) - -DESCRIBE_FLEETS_ERROR_SET: StaticSchema = ( - 16, - n0, - _DFESe, - 0, - (_me,), - ((DESCRIBE_FLEET_ERROR, {_sN: _i}),), -) - -DESCRIBE_FLEETS_INSTANCES: StaticSchema = ( - 18, - n0, - _DFIescr, - 0, - (_LTAO, _Li, _IIn, _IT, _Pla), - ( - (LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE, {_aQN: _LTAO, _sN: _lTAO}), - (INSTANCE_LIFECYCLE, {_aQN: _Li, _sN: _lif}), - (INSTANCE_IDS_SET, {_aQN: _IIn, _sN: _iIns}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), - ), -) - -DESCRIBE_FLEETS_INSTANCES_SET: StaticSchema = ( - 16, - n0, - _DFIS, - 0, - (_me,), - ((DESCRIBE_FLEETS_INSTANCES, {_sN: _i}),), -) - -FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST: StaticSchema = ( - 16, - n0, - _FLTOL, - 0, - (_me,), - ((FLEET_LAUNCH_TEMPLATE_OVERRIDES, {_sN: _i}),), -) - -FLEET_LAUNCH_TEMPLATE_CONFIG: StaticSchema = ( - 18, - n0, - _FLTC, - 0, - (_LTS, _Ov), - ( - (FLEET_LAUNCH_TEMPLATE_SPECIFICATION, {_aQN: _LTS, _sN: _lTS}), - (FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST, {_aQN: _Ov, _sN: _ov}), - ), -) - -FLEET_LAUNCH_TEMPLATE_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _FLTCL, - 0, - (_me,), - ((FLEET_LAUNCH_TEMPLATE_CONFIG, {_sN: _i}),), -) - -CAPACITY_RESERVATION_OPTIONS: StaticSchema = ( - 18, - n0, - _CRO, - 0, - (_USs,), - ((FLEET_CAPACITY_RESERVATION_USAGE_STRATEGY, {_aQN: _USs, _sN: _uS}),), -) - -ON_DEMAND_OPTIONS: StaticSchema = ( - 18, - n0, - _ODO, - 0, - (_ASll, _CRO, _SIT, _SAZ, _MTC, _MTP), - ( - (FLEET_ON_DEMAND_ALLOCATION_STRATEGY, {_aQN: _ASll, _sN: _aSl}), - (CAPACITY_RESERVATION_OPTIONS, {_aQN: _CRO, _sN: _cRO}), - (BOOLEAN, {_aQN: _SIT, _sN: _sITi}), - (BOOLEAN, {_aQN: _SAZ, _sN: _sAZ}), - (INTEGER, {_aQN: _MTC, _sN: _mTC}), - (STRING, {_aQN: _MTP, _sN: _mTP}), - ), -) - -RESERVATION_TYPE_LIST: StaticSchema = ( - 16, - n0, - _RTL, - 0, - (_me,), - ((FLEET_RESERVATION_TYPE, {_sN: _i}),), -) - -RESERVED_CAPACITY_FALLBACK_OPTIONS: StaticSchema = ( - 18, - n0, - _RCFO, - 0, - (_MTa,), - ((RESERVED_CAPACITY_FALLBACK_MARKET_TYPE_LIST, {_aQN: _MTS, _sN: _mTS}),), -) - -RESERVED_CAPACITY_OPTIONS: StaticSchema = ( - 18, - n0, - _RCO, - 0, - (_ASll, _RTese, _RCFO), - ( - (RESERVED_CAPACITY_ALLOCATION_STRATEGY, {_aQN: _ASll, _sN: _aSl}), - (RESERVATION_TYPE_LIST, {_aQN: _RTSe, _sN: _rTSe}), - (RESERVED_CAPACITY_FALLBACK_OPTIONS, {_aQN: _RCFO, _sN: _rCFO}), - ), -) - -FLEET_SPOT_CAPACITY_REBALANCE: StaticSchema = ( - 18, - n0, - _FSCR, - 0, - (_RSep, _TD), - ( - (FLEET_REPLACEMENT_STRATEGY, {_aQN: _RSep, _sN: _rSepl}), - (INTEGER, {_aQN: _TD, _sN: _tDe}), - ), -) - -FLEET_SPOT_MAINTENANCE_STRATEGIES: StaticSchema = ( - 18, - n0, - _FSMS, - 0, - (_CRapa,), - ((FLEET_SPOT_CAPACITY_REBALANCE, {_aQN: _CRapa, _sN: _cRap}),), -) - -SPOT_OPTIONS: StaticSchema = ( - 18, - n0, - _SO, - 0, - (_ASll, _MS, _IIB, _IPTUC, _SIT, _SAZ, _MTC, _MTP), - ( - (SPOT_ALLOCATION_STRATEGY, {_aQN: _ASll, _sN: _aSl}), - (FLEET_SPOT_MAINTENANCE_STRATEGIES, {_aQN: _MS, _sN: _mSa}), - (SPOT_INSTANCE_INTERRUPTION_BEHAVIOR, {_aQN: _IIB, _sN: _iIB}), - (INTEGER, {_aQN: _IPTUC, _sN: _iPTUC}), - (BOOLEAN, {_aQN: _SIT, _sN: _sITi}), - (BOOLEAN, {_aQN: _SAZ, _sN: _sAZ}), - (INTEGER, {_aQN: _MTC, _sN: _mTC}), - (STRING, {_aQN: _MTP, _sN: _mTP}), - ), -) - -TARGET_CAPACITY_SPECIFICATION: StaticSchema = ( - 18, - n0, - _TCS, - 0, - (_TTC, _ODTC, _STC, _DTCT, _TCUT), - ( - (INTEGER, {_aQN: _TTC, _sN: _tTC}), - (INTEGER, {_aQN: _ODTC, _sN: _oDTC}), - (INTEGER, {_aQN: _STC, _sN: _sTC}), - (DEFAULT_TARGET_CAPACITY_TYPE, {_aQN: _DTCT, _sN: _dTCT}), - (TARGET_CAPACITY_UNIT_TYPE, {_aQN: _TCUT, _sN: _tCUT}), - ), -) - -FLEET_DATA: StaticSchema = ( - 18, - n0, - _FDl, - 0, - ( - _ASc, - _CTr, - _FIl, - _FS, - _CTl, - _ECTP, - _FCu, - _FODC, - _LTC, - _TCS, - _TIWE, - _Ty, - _VF, - _VU, - _RUI, - _SO, - _ODO, - _RCO, - _Tag, - _Er, - _Ins, - _Con, - ), - ( - (FLEET_ACTIVITY_STATUS, {_aQN: _ASc, _sN: _aSc}), - (DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (FLEET_ID, {_aQN: _FIl, _sN: _fIl}), - (FLEET_STATE_CODE, {_aQN: _FS, _sN: _fS}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - (FLEET_EXCESS_CAPACITY_TERMINATION_POLICY, {_aQN: _ECTP, _sN: _eCTP}), - (DOUBLE, {_aQN: _FCu, _sN: _fC}), - (DOUBLE, {_aQN: _FODC, _sN: _fODC}), - (FLEET_LAUNCH_TEMPLATE_CONFIG_LIST, {_aQN: _LTC, _sN: _lTC}), - (TARGET_CAPACITY_SPECIFICATION, {_aQN: _TCS, _sN: _tCS}), - (BOOLEAN, {_aQN: _TIWE, _sN: _tIWE}), - (FLEET_TYPE, {_aQN: _Ty, _sN: _ty}), - (DATE_TIME, {_aQN: _VF, _sN: _vF}), - (DATE_TIME, {_aQN: _VU, _sN: _vU}), - (BOOLEAN, {_aQN: _RUI, _sN: _rUI}), - (SPOT_OPTIONS, {_aQN: _SO, _sN: _sO}), - (ON_DEMAND_OPTIONS, {_aQN: _ODO, _sN: _oDO}), - (RESERVED_CAPACITY_OPTIONS, {_aQN: _RCO, _sN: _rCO}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (DESCRIBE_FLEETS_ERROR_SET, {_aQN: _ESr, _sN: _eSr}), - (DESCRIBE_FLEETS_INSTANCES_SET, {_aQN: _FIS, _sN: _fIS}), - (STRING, {_aQN: _Con, _sN: _cont}), - ), -) - -FLEET_SET: StaticSchema = (16, n0, _FSl, 0, (_me,), ((FLEET_DATA, {_sN: _i}),)) - -DESCRIBE_FLEETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DFOe, - {_sSI: _cDFRoma, _smit: None}, - (_NTex, _Fl), - ((STRING, {_aQN: _NTex, _sN: _nT}), (FLEET_SET, {_aQN: _FSl, _sN: _fSl})), -) - -DESCRIBE_FLEETS: StaticOperationSchema = ( - 23, - n0, - _DFes, - 0, - DESCRIBE_FLEETS_INPUT, - DESCRIBE_FLEETS_OUTPUT, - (), -) - -DESCRIBE_FLOW_LOGS_INPUT: StaticSchema = ( - 18, - n0, - _DFLIes, - {_sSI: _cDFLRom, _sm: None}, - (_DR, _Fi, _FLI, _MR, _NTex), - ( - (BOOLEAN, 0), - (FILTER_LIST, 0), - (FLOW_LOG_ID_LIST, {_sN: _FLIl}), - (INTEGER, 0), - (STRING, 0), - ), -) - -DESTINATION_OPTIONS_RESPONSE: StaticSchema = ( - 18, - n0, - _DORe, - 0, - (_FF, _HCPi, _PHP), - ( - (DESTINATION_FILE_FORMAT, {_aQN: _FF, _sN: _fF}), - (BOOLEAN, {_aQN: _HCPi, _sN: _hCP}), - (BOOLEAN, {_aQN: _PHP, _sN: _pHP}), - ), -) - -TAG_FIELD_SPECIFICATION_RESPONSE: StaticSchema = ( - 18, - n0, - _TFSRa, - 0, - (_RT, _TKa), - ( - (TAGGABLE_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (TAG_KEY_LIST, {_aQN: _TKS, _sN: _tKS}), - ), -) - -TAG_FIELD_SPECIFICATION_LIST_RESPONSE: StaticSchema = ( - 16, - n0, - _TFSLRa, - 0, - (_me,), - ((TAG_FIELD_SPECIFICATION_RESPONSE, {_sN: _i}),), -) - -FLOW_LOG: StaticSchema = ( - 18, - n0, - _FLl, - 0, - ( - _CT, - _DLEM, - _DLPA, - _DCAR, - _DLS, - _FLIl, - _FLS, - _LGN, - _RIe, - _TTr, - _LDT, - _LD, - _LF, - _Tag, - _MAI, - _DOe, - _TFS, - ), - ( - (MILLISECOND_DATE_TIME, {_aQN: _CT, _sN: _cT}), - (STRING, {_aQN: _DLEM, _sN: _dLEM}), - (STRING, {_aQN: _DLPA, _sN: _dLPA}), - (STRING, {_aQN: _DCAR, _sN: _dCAR}), - (STRING, {_aQN: _DLS, _sN: _dLS}), - (STRING, {_aQN: _FLIl, _sN: _fLI}), - (STRING, {_aQN: _FLS, _sN: _fLS}), - (STRING, {_aQN: _LGN, _sN: _lGN}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRAFFIC_TYPE, {_aQN: _TTr, _sN: _tTra}), - (LOG_DESTINATION_TYPE, {_aQN: _LDT, _sN: _lDTo}), - (STRING, {_aQN: _LD, _sN: _lD}), - (STRING, {_aQN: _LF, _sN: _lF}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (INTEGER, {_aQN: _MAI, _sN: _mAI}), - (DESTINATION_OPTIONS_RESPONSE, {_aQN: _DOe, _sN: _dOe}), - (TAG_FIELD_SPECIFICATION_LIST_RESPONSE, {_aQN: _TFSS, _sN: _tFSS}), - ), -) - -FLOW_LOG_SET: StaticSchema = (16, n0, _FLSl, 0, (_me,), ((FLOW_LOG, {_sN: _i}),)) - -DESCRIBE_FLOW_LOGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DFLOe, - {_sSI: _cDFLRoma, _smit: None}, - (_FLlo, _NTex), - ((FLOW_LOG_SET, {_aQN: _FLSl, _sN: _fLSl}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_FLOW_LOGS: StaticOperationSchema = ( - 23, - n0, - _DFLe, - 0, - DESCRIBE_FLOW_LOGS_INPUT, - DESCRIBE_FLOW_LOGS_OUTPUT, - (), -) - -FPGA_IMAGE_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _FIAN, - 0, - (_desc, _nam, _lPo, _pCr), - ((-1, {_sV: _desc}), (-1, {_sV: _nam}), (-1, {_sV: _lPo}), (-1, {_sV: _pCr})), -) - -DESCRIBE_FPGA_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _DFIAI, - {_sSI: _cDFIAR, _sm: None}, - (_DR, _FII, _Attr), - ((BOOLEAN, 0), (FPGA_IMAGE_ID, 1), (FPGA_IMAGE_ATTRIBUTE_NAME, 1)), -) - -PERMISSION_GROUP: StaticSchema = (14, n0, _PGe, 0, (_all_,), ((-1, {_sV: _all_}),)) - -LOAD_PERMISSION: StaticSchema = ( - 18, - n0, - _LPo, - 0, - (_UIs, _Gr), - ((STRING, {_aQN: _UIs, _sN: _uI}), (PERMISSION_GROUP, {_aQN: _Gr, _sN: _gro})), -) - -LOAD_PERMISSION_LIST: StaticSchema = ( - 16, - n0, - _LPL, - 0, - (_me,), - ((LOAD_PERMISSION, {_sN: _i}),), -) - -PRODUCT_CODE_VALUES: StaticSchema = ( - 14, - n0, - _PCV, - 0, - (_devp, _mar), - ((-1, {_sV: _devp}), (-1, {_sV: _mar})), -) - -PRODUCT_CODE: StaticSchema = ( - 18, - n0, - _PCr, - 0, - (_PCIr, _PCT), - ((STRING, {_aQN: _PCr, _sN: _pCro}), (PRODUCT_CODE_VALUES, {_aQN: _Ty, _sN: _ty})), -) - -PRODUCT_CODE_LIST: StaticSchema = ( - 16, - n0, - _PCLr, - 0, - (_me,), - ((PRODUCT_CODE, {_sN: _i}),), -) - -FPGA_IMAGE_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _FIA, - 0, - (_FII, _N, _Des, _LPoa, _PCro), - ( - (STRING, {_aQN: _FII, _sN: _fII}), - (STRING, {_aQN: _N, _sN: _nam}), - (STRING, {_aQN: _Des, _sN: _desc}), - (LOAD_PERMISSION_LIST, {_aQN: _LPoa, _sN: _lPoa}), - (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), - ), -) - -DESCRIBE_FPGA_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DFIAO, - {_sSI: _cDFIARo, _smit: None}, - (_FIA,), - ((FPGA_IMAGE_ATTRIBUTE, {_aQN: _FIA, _sN: _fIA}),), -) - -DESCRIBE_FPGA_IMAGE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _DFIA, - 0, - DESCRIBE_FPGA_IMAGE_ATTRIBUTE_INPUT, - DESCRIBE_FPGA_IMAGE_ATTRIBUTE_OUTPUT, - (), -) - -FPGA_IMAGE_ID_LIST: StaticSchema = ( - 16, - n0, - _FIIL, - 0, - (_me,), - ((FPGA_IMAGE_ID, {_sN: _i}),), -) - -DESCRIBE_FPGA_IMAGES_MAX_RESULTS: StaticSchema = (7, n0, _DFIMR, 0) - -OWNER_STRING_LIST: StaticSchema = (16, n0, _OSL, 0, (_me,), ((STRING, {_sN: _Ow}),)) - -DESCRIBE_FPGA_IMAGES_INPUT: StaticSchema = ( - 18, - n0, - _DFIIes, - {_sSI: _cDFIRomam, _sm: None}, - (_DR, _FIIp, _Own, _Fil, _NTex, _MR), - ( - (BOOLEAN, 0), - (FPGA_IMAGE_ID_LIST, {_sN: _FII}), - (OWNER_STRING_LIST, {_sN: _Ow}), - (FILTER_LIST, {_sN: _Fi}), - (NEXT_TOKEN, 0), - (DESCRIBE_FPGA_IMAGES_MAX_RESULTS, 0), - ), -) - -INSTANCE_TYPES_LIST: StaticSchema = (16, n0, _ITL, 0, (_me,), ((STRING, {_sN: _i}),)) - -PCI_ID: StaticSchema = ( - 18, - n0, - _PIc, - 0, - (_DIev, _VIe, _SIub, _SVIu), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -FPGA_IMAGE_STATE_CODE: StaticSchema = ( - 14, - n0, - _FISC, - 0, - (_p, _fa, _av, _unav), - ((-1, {_sV: _p}), (-1, {_sV: _fa}), (-1, {_sV: _av}), (-1, {_sV: _unav})), -) - -FPGA_IMAGE_STATE: StaticSchema = ( - 18, - n0, - _FISp, - 0, - (_C, _Me), - ((FPGA_IMAGE_STATE_CODE, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -FPGA_IMAGE: StaticSchema = ( - 18, - n0, - _FIp, - 0, - ( - _FII, - _FIGI, - _N, - _Des, - _SVh, - _PIc, - _St, - _CTr, - _UT, - _OIw, - _OAw, - _PCro, - _Tag, - _Pu, - _DRSa, - _ITnsta, - ), - ( - (STRING, {_aQN: _FII, _sN: _fII}), - (STRING, {_aQN: _FIGI, _sN: _fIGI}), - (STRING, {_aQN: _N, _sN: _nam}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _SVh, _sN: _sVh}), - (PCI_ID, {_aQN: _PIc, _sN: _pIc}), - (FPGA_IMAGE_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (DATE_TIME, {_aQN: _UT, _sN: _uT}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _OAw, _sN: _oAw}), - (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), - (TAG_LIST, {_aQN: _Tag, _sN: _tags}), - (BOOLEAN, {_aQN: _Pu, _sN: _pu}), - (BOOLEAN, {_aQN: _DRSa, _sN: _dRS}), - (INSTANCE_TYPES_LIST, {_aQN: _ITnsta, _sN: _iTnst}), - ), -) - -FPGA_IMAGE_LIST: StaticSchema = (16, n0, _FIL, 0, (_me,), ((FPGA_IMAGE, {_sN: _i}),)) - -DESCRIBE_FPGA_IMAGES_OUTPUT: StaticSchema = ( - 18, - n0, - _DFIOes, - {_sSI: _cDFIRomama, _smit: None}, - (_FIpg, _NTex), - ( - (FPGA_IMAGE_LIST, {_aQN: _FISpg, _sN: _fISp}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_FPGA_IMAGES: StaticOperationSchema = ( - 23, - n0, - _DFIescri, - 0, - DESCRIBE_FPGA_IMAGES_INPUT, - DESCRIBE_FPGA_IMAGES_OUTPUT, - (), -) - -DESCRIBE_HOST_RESERVATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DHRMR, 0) - -DESCRIBE_HOST_RESERVATION_OFFERINGS_INPUT: StaticSchema = ( - 18, - n0, - _DHROI, - {_sSI: _cDHROR, _sm: None}, - (_Fi, _MDa, _MR, _MDi, _NTex, _OI), - ( - (FILTER_LIST, 0), - (INTEGER, 0), - (DESCRIBE_HOST_RESERVATIONS_MAX_RESULTS, 0), - (INTEGER, 0), - (STRING, 0), - (OFFERING_ID, 0), - ), -) - -PAYMENT_OPTION: StaticSchema = ( - 14, - n0, - _POa, - 0, - (_AU, _PU_, _NU), - ((-1, {_sV: _AUl}), (-1, {_sV: _PUa}), (-1, {_sV: _NUo})), -) - -HOST_OFFERING: StaticSchema = ( - 18, - n0, - _HOo, - 0, - (_CC, _Dur, _HP, _IF, _OI, _POa, _UPp), - ( - (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), - (INTEGER, {_aQN: _Dur, _sN: _dur}), - (STRING, {_aQN: _HP, _sN: _hP}), - (STRING, {_aQN: _IF, _sN: _iF}), - (OFFERING_ID, {_aQN: _OI, _sN: _oIf}), - (PAYMENT_OPTION, {_aQN: _POa, _sN: _pOa}), - (STRING, {_aQN: _UPp, _sN: _uPp}), - ), -) - -HOST_OFFERING_SET: StaticSchema = ( - 16, - n0, - _HOS, - 0, - (_me,), - ((HOST_OFFERING, {_sN: _i}),), -) - -DESCRIBE_HOST_RESERVATION_OFFERINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DHROO, - {_sSI: _cDHRORo, _smit: None}, - (_NTex, _OS), - ((STRING, {_aQN: _NTex, _sN: _nT}), (HOST_OFFERING_SET, {_aQN: _OS, _sN: _oS})), -) - -DESCRIBE_HOST_RESERVATION_OFFERINGS: StaticOperationSchema = ( - 23, - n0, - _DHRO, - 0, - DESCRIBE_HOST_RESERVATION_OFFERINGS_INPUT, - DESCRIBE_HOST_RESERVATION_OFFERINGS_OUTPUT, - (), -) - -HOST_RESERVATION_ID: StaticSchema = (3, n0, _HRI, 0) - -HOST_RESERVATION_ID_SET: StaticSchema = ( - 16, - n0, - _HRIS, - 0, - (_me,), - ((HOST_RESERVATION_ID, {_sN: _i}),), -) - -DESCRIBE_HOST_RESERVATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DHRI, - {_sSI: _cDHRR, _sm: None}, - (_Fi, _HRIS, _MR, _NTex), - ((FILTER_LIST, 0), (HOST_RESERVATION_ID_SET, 0), (INTEGER, 0), (STRING, 0)), -) - -RESPONSE_HOST_ID_SET: StaticSchema = (16, n0, _RHIS, 0, (_me,), ((STRING, {_sN: _i}),)) - -RESERVATION_STATE: StaticSchema = ( - 14, - n0, - _RSes, - 0, - ( - _ACTIVE, - _EXPIRED, - _CANCELLED, - _SCHEDULED, - _PENDING, - _FAILED, - _DELAYED, - _UNSUPPORTED, - _PP, - _PF___, - _RETIRED, - ), - ( - (-1, {_sV: _act}), - (-1, {_sV: _ex}), - (-1, {_sV: _can}), - (-1, {_sV: _sch}), - (-1, {_sV: _p}), - (-1, {_sV: _fa}), - (-1, {_sV: _dela}), - (-1, {_sV: _uns}), - (-1, {_sV: _pp___}), - (-1, {_sV: _pf_____}), - (-1, {_sV: _reti}), - ), -) - -HOST_RESERVATION: StaticSchema = ( - 18, - n0, - _HRo, - 0, - (_Cou, _CC, _Dur, _End, _HIS, _HRI, _HP, _IF, _OI, _POa, _Star, _St, _UPp, _Tag), - ( - (INTEGER, {_aQN: _Cou, _sN: _cou}), - (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), - (INTEGER, {_aQN: _Dur, _sN: _dur}), - (DATE_TIME, {_aQN: _End, _sN: _end}), - (RESPONSE_HOST_ID_SET, {_aQN: _HIS, _sN: _hIS}), - (HOST_RESERVATION_ID, {_aQN: _HRI, _sN: _hRI}), - (STRING, {_aQN: _HP, _sN: _hP}), - (STRING, {_aQN: _IF, _sN: _iF}), - (OFFERING_ID, {_aQN: _OI, _sN: _oIf}), - (PAYMENT_OPTION, {_aQN: _POa, _sN: _pOa}), - (DATE_TIME, {_aQN: _Star, _sN: _star}), - (RESERVATION_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _UPp, _sN: _uPp}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -HOST_RESERVATION_SET: StaticSchema = ( - 16, - n0, - _HRSo, - 0, - (_me,), - ((HOST_RESERVATION, {_sN: _i}),), -) - -DESCRIBE_HOST_RESERVATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DHROe, - {_sSI: _cDHRRo, _smit: None}, - (_HRSo, _NTex), - ( - (HOST_RESERVATION_SET, {_aQN: _HRSo, _sN: _hRSo}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_HOST_RESERVATIONS: StaticOperationSchema = ( - 23, - n0, - _DHR, - 0, - DESCRIBE_HOST_RESERVATIONS_INPUT, - DESCRIBE_HOST_RESERVATIONS_OUTPUT, - (), -) - -REQUEST_HOST_ID_LIST: StaticSchema = ( - 16, - n0, - _RHILe, - 0, - (_me,), - ((DEDICATED_HOST_ID, {_sN: _i}),), -) - -DESCRIBE_HOSTS_INPUT: StaticSchema = ( - 18, - n0, - _DHIes, - {_sSI: _cDHR, _sm: None}, - (_HI, _NTex, _MR, _Fi), - ( - (REQUEST_HOST_ID_LIST, {_aQN: _HIo, _sN: _hI}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (INTEGER, {_aQN: _MR, _sN: _mR}), - (FILTER_LIST, {_aQN: _Fi, _sN: _filt}), - ), -) - -INSTANCE_CAPACITY: StaticSchema = ( - 18, - n0, - _ICns, - 0, - (_ACv, _IT, _TCo), - ( - (INTEGER, {_aQN: _ACv, _sN: _aCv}), - (STRING, {_aQN: _IT, _sN: _iT}), - (INTEGER, {_aQN: _TCo, _sN: _tC}), - ), -) - -AVAILABLE_INSTANCE_CAPACITY_LIST: StaticSchema = ( - 16, - n0, - _AICL, - 0, - (_me,), - ((INSTANCE_CAPACITY, {_sN: _i}),), -) - -AVAILABLE_CAPACITY: StaticSchema = ( - 18, - n0, - _ACv, - 0, - (_AICv, _AVC), - ( - (AVAILABLE_INSTANCE_CAPACITY_LIST, {_aQN: _AICv, _sN: _aICv}), - (INTEGER, {_aQN: _AVC, _sN: _aVC}), - ), -) - -HOST_CPU_OPTIONS: StaticSchema = ( - 18, - n0, - _HCO, - 0, - (_ASS,), - ((AMD_SEV_SNP, {_aQN: _ASS, _sN: _aSS}),), -) - -HOST_PROPERTIES: StaticSchema = ( - 18, - n0, - _HPo, - 0, - (_Cor, _IT, _IF, _Soc, _TVC), - ( - (INTEGER, {_aQN: _Cor, _sN: _cor}), - (STRING, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _IF, _sN: _iF}), - (INTEGER, {_aQN: _Soc, _sN: _soc}), - (INTEGER, {_aQN: _TVC, _sN: _tVC}), - ), -) - -HOST_INSTANCE: StaticSchema = ( - 18, - n0, - _HIos, - 0, - (_II, _IT, _OIw), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _OIw, _sN: _oI}), - ), -) - -HOST_INSTANCE_LIST: StaticSchema = ( - 16, - n0, - _HIL, - 0, - (_me,), - ((HOST_INSTANCE, {_sN: _i}),), -) - -HOST: StaticSchema = ( - 18, - n0, - _Hos, - 0, - ( - _APu, - _AZ, - _ACv, - _CTl, - _HIo, - _HPo, - _HRI, - _Ins, - _St, - _ATll, - _RTel, - _Tag, - _HR, - _AMIT, - _OIw, - _AZI, - _MOSLRG, - _OA, - _HM, - _AIss, - _CO, - ), - ( - (AUTO_PLACEMENT, {_aQN: _APu, _sN: _aP}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (AVAILABLE_CAPACITY, {_aQN: _ACv, _sN: _aCv}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - (STRING, {_aQN: _HIo, _sN: _hI}), - (HOST_PROPERTIES, {_aQN: _HPo, _sN: _hPo}), - (STRING, {_aQN: _HRI, _sN: _hRI}), - (HOST_INSTANCE_LIST, {_aQN: _Ins, _sN: _insta}), - (ALLOCATION_STATE, {_aQN: _St, _sN: _st}), - (DATE_TIME, {_aQN: _ATll, _sN: _aTll}), - (DATE_TIME, {_aQN: _RTel, _sN: _rTel}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (HOST_RECOVERY, {_aQN: _HR, _sN: _hR}), - (ALLOWS_MULTIPLE_INSTANCE_TYPES, {_aQN: _AMIT, _sN: _aMIT}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (BOOLEAN, {_aQN: _MOSLRG, _sN: _mOSLRG}), - (STRING, {_aQN: _OA, _sN: _oA}), - (HOST_MAINTENANCE, {_aQN: _HM, _sN: _hM}), - (ASSET_ID, {_aQN: _AIss, _sN: _aIss}), - (HOST_CPU_OPTIONS, {_aQN: _CO, _sN: _cOp}), - ), -) - -HOST_LIST: StaticSchema = (16, n0, _HL, 0, (_me,), ((HOST, {_sN: _i}),)) - -DESCRIBE_HOSTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DHO, - {_sSI: _cDHRo, _smit: None}, - (_Host, _NTex), - ((HOST_LIST, {_aQN: _HSo, _sN: _hS}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_HOSTS: StaticOperationSchema = ( - 23, - n0, - _DH, - 0, - DESCRIBE_HOSTS_INPUT, - DESCRIBE_HOSTS_OUTPUT, - (), -) - -IAM_INSTANCE_PROFILE_ASSOCIATION_ID: StaticSchema = (3, n0, _IIPAI, 0) - -ASSOCIATION_ID_LIST: StaticSchema = ( - 16, - n0, - _AILs, - 0, - (_me,), - ((IAM_INSTANCE_PROFILE_ASSOCIATION_ID, {_sN: _AIs}),), -) - -DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DIIPAMR, - 0, -) - -DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DIIPAI, - {_sSI: _cDIIPAR, _sm: None}, - (_AIsso, _Fil, _MR, _NTex), - ( - (ASSOCIATION_ID_LIST, {_sN: _AIs}), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IAM_INSTANCE_PROFILE_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _IIPASa, - 0, - (_me,), - ((IAM_INSTANCE_PROFILE_ASSOCIATION, {_sN: _i}),), -) - -DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIIPAO, - {_sSI: _cDIIPARo, _smit: None}, - (_IIPAa, _NTex), - ( - (IAM_INSTANCE_PROFILE_ASSOCIATION_SET, {_aQN: _IIPASa, _sN: _iIPAS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _DIIPA, - 0, - DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_INPUT, - DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_OUTPUT, - (), -) - -DESCRIBE_IDENTITY_ID_FORMAT_INPUT: StaticSchema = ( - 18, - n0, - _DIIFI, - {_sSI: _cDIIFR, _sm: None}, - (_Reso, _PAr), - ( - (STRING, {_aQN: _Reso, _sN: _reso}), - (STRING, {_aQN: _PAr, _sN: _pAr, _smi: None}), - ), -) - -DESCRIBE_IDENTITY_ID_FORMAT_OUTPUT: StaticSchema = ( - 18, - n0, - _DIIFO, - {_sSI: _cDIIFRo, _smit: None}, - (_Statu,), - ((ID_FORMAT_LIST, {_aQN: _SSta, _sN: _sSt}),), -) - -DESCRIBE_IDENTITY_ID_FORMAT: StaticOperationSchema = ( - 23, - n0, - _DIIF, - 0, - DESCRIBE_IDENTITY_ID_FORMAT_INPUT, - DESCRIBE_IDENTITY_ID_FORMAT_OUTPUT, - (), -) - -DESCRIBE_ID_FORMAT_INPUT: StaticSchema = ( - 18, - n0, - _DIFI, - {_sSI: _cDIFR, _sm: None}, - (_Reso,), - ((STRING, 0),), -) - -DESCRIBE_ID_FORMAT_OUTPUT: StaticSchema = ( - 18, - n0, - _DIFO, - {_sSI: _cDIFRo, _smit: None}, - (_Statu,), - ((ID_FORMAT_LIST, {_aQN: _SSta, _sN: _sSt}),), -) - -DESCRIBE_ID_FORMAT: StaticOperationSchema = ( - 23, - n0, - _DIFe, - 0, - DESCRIBE_ID_FORMAT_INPUT, - DESCRIBE_ID_FORMAT_OUTPUT, - (), -) - -IMAGE_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _IAN, - 0, - (_desc, _ker, _ramd, _lPa, _pCr, _bDM, _sNS, _bMo, _tSp, _uDe, _lLT, _iSm, _dPer), - ( - (-1, {_sV: _desc}), - (-1, {_sV: _ker}), - (-1, {_sV: _ramd}), - (-1, {_sV: _lPa}), - (-1, {_sV: _pCr}), - (-1, {_sV: _bDM}), - (-1, {_sV: _sNS}), - (-1, {_sV: _bMo}), - (-1, {_sV: _tSp}), - (-1, {_sV: _uDe}), - (-1, {_sV: _lLT}), - (-1, {_sV: _iSm}), - (-1, {_sV: _dPer}), - ), -) - -DESCRIBE_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _DIAI, - {_sSI: _cDIAR, _sm: None}, - (_Attr, _IIm, _DR), - ((IMAGE_ATTRIBUTE_NAME, 1), (IMAGE_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -BLOCK_DEVICE_MAPPING_LIST: StaticSchema = ( - 16, - n0, - _BDML, - 0, - (_me,), - ((BLOCK_DEVICE_MAPPING, {_sN: _i}),), -) - -LAUNCH_PERMISSION: StaticSchema = ( - 18, - n0, - _LPa, - 0, - (_OAr, _OUA, _UIs, _Gr), - ( - (STRING, {_aQN: _OAr, _sN: _oAr}), - (STRING, {_aQN: _OUA, _sN: _oUA}), - (STRING, {_aQN: _UIs, _sN: _uI}), - (PERMISSION_GROUP, {_aQN: _Gr, _sN: _gro}), - ), -) - -LAUNCH_PERMISSION_LIST: StaticSchema = ( - 16, - n0, - _LPLa, - 0, - (_me,), - ((LAUNCH_PERMISSION, {_sN: _i}),), -) - -DESCRIBE_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DIAO, - {_sSI: _cIAo, _smit: None}, - ( - _Des, - _KI, - _RIa, - _SNSr, - _BMo, - _TSp, - _UDe, - _LLT, - _ISm, - _DPer, - _IIm, - _LPau, - _PCro, - _BDMl, - ), - ( - (ATTRIBUTE_VALUE, {_aQN: _Des, _sN: _desc}), - (ATTRIBUTE_VALUE, {_aQN: _Ker, _sN: _ker}), - (ATTRIBUTE_VALUE, {_aQN: _Ra, _sN: _ramd}), - (ATTRIBUTE_VALUE, {_aQN: _SNSr, _sN: _sNS}), - (ATTRIBUTE_VALUE, {_aQN: _BMo, _sN: _bMo}), - (ATTRIBUTE_VALUE, {_aQN: _TSp, _sN: _tSp}), - (ATTRIBUTE_VALUE, {_aQN: _UDe, _sN: _uDe}), - (ATTRIBUTE_VALUE, {_aQN: _LLT, _sN: _lLT}), - (ATTRIBUTE_VALUE, {_aQN: _ISm, _sN: _iSm}), - (ATTRIBUTE_VALUE, {_aQN: _DPer, _sN: _dPer}), - (STRING, {_aQN: _IIm, _sN: _iIm}), - (LAUNCH_PERMISSION_LIST, {_aQN: _LPa, _sN: _lPa}), - (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), - (BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), - ), -) - -DESCRIBE_IMAGE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _DIA, - 0, - DESCRIBE_IMAGE_ATTRIBUTE_INPUT, - DESCRIBE_IMAGE_ATTRIBUTE_OUTPUT, - (), -) - -DESCRIBE_IMAGE_REFERENCES_IMAGE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _DIRIISL, - 0, - (_me,), - ((IMAGE_ID, 0),), -) - -DESCRIBE_IMAGE_REFERENCES_MAX_RESULTS: StaticSchema = (7, n0, _DIRMR, 0) - -IMAGE_REFERENCE_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _IRRT, - 0, - (_EI_, _ELT, _SP_, _IBIR, _IBCR), - ( - (-1, {_sV: _eIc}), - (-1, {_sV: _eLT}), - (-1, {_sV: _sPs}), - (-1, {_sV: _iIR}), - (-1, {_sV: _iCR}), - ), -) - -IMAGE_REFERENCE_OPTION_NAME: StaticSchema = ( - 14, - n0, - _IRON, - 0, - (_SN_, _VD_), - ((-1, {_sV: _sn__}), (-1, {_sV: _vd})), -) - -RESOURCE_TYPE_OPTION_VALUE: StaticSchema = (3, n0, _RTOV, 0) - -RESOURCE_TYPE_OPTION_VALUES_LIST: StaticSchema = ( - 16, - n0, - _RTOVL, - 0, - (_me,), - ((RESOURCE_TYPE_OPTION_VALUE, 0),), -) - -RESOURCE_TYPE_OPTION: StaticSchema = ( - 18, - n0, - _RTOe, - 0, - (_ON, _OV), - ((IMAGE_REFERENCE_OPTION_NAME, 0), (RESOURCE_TYPE_OPTION_VALUES_LIST, {_sN: _OVp})), -) - -RESOURCE_TYPE_OPTION_LIST: StaticSchema = ( - 16, - n0, - _RTOL, - 0, - (_me,), - ((RESOURCE_TYPE_OPTION, 0),), -) - -RESOURCE_TYPE_REQUEST: StaticSchema = ( - 18, - n0, - _RTRe, - 0, - (_RT, _RTO), - ((IMAGE_REFERENCE_RESOURCE_TYPE, 0), (RESOURCE_TYPE_OPTION_LIST, {_sN: _RTOe})), -) - -RESOURCE_TYPE_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _RTRL, - 0, - (_me,), - ((RESOURCE_TYPE_REQUEST, 0),), -) - -DESCRIBE_IMAGE_REFERENCES_INPUT: StaticSchema = ( - 18, - n0, - _DIRI, - {_sSI: _cDIRR, _sm: None}, - (_IIma, _IART, _RTe, _NTex, _DR, _MR), - ( - (DESCRIBE_IMAGE_REFERENCES_IMAGE_ID_STRING_LIST, {_sN: _IIm, _smi: None}), - (BOOLEAN, 0), - (RESOURCE_TYPE_REQUEST_LIST, {_sN: _RT}), - (STRING, 0), - (BOOLEAN, 0), - (DESCRIBE_IMAGE_REFERENCES_MAX_RESULTS, 0), - ), -) - -IMAGE_REFERENCE: StaticSchema = ( - 18, - n0, - _IRm, - 0, - (_IIm, _RT, _Ar), - ( - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (IMAGE_REFERENCE_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _Ar, _sN: _ar}), - ), -) - -IMAGE_REFERENCE_LIST: StaticSchema = ( - 16, - n0, - _IRLm, - 0, - (_me,), - ((IMAGE_REFERENCE, {_sN: _i}),), -) - -DESCRIBE_IMAGE_REFERENCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DIRO, - {_sSI: _cDIRRo, _smit: None}, - (_NTex, _IRma), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (IMAGE_REFERENCE_LIST, {_aQN: _IRS, _sN: _iRS}), - ), -) - -DESCRIBE_IMAGE_REFERENCES: StaticOperationSchema = ( - 23, - n0, - _DIR, - 0, - DESCRIBE_IMAGE_REFERENCES_INPUT, - DESCRIBE_IMAGE_REFERENCES_OUTPUT, - (), -) - -EXECUTABLE_BY_STRING_LIST: StaticSchema = ( - 16, - n0, - _EBSL, - 0, - (_me,), - ((STRING, {_sN: _EBx}),), -) - -IMAGE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _IISLm, - 0, - (_me,), - ((IMAGE_ID, {_sN: _IIm}),), -) - -DESCRIBE_IMAGES_INPUT: StaticSchema = ( - 18, - n0, - _DIIes, - {_sSI: _cDIRomam, _sm: None}, - (_EU, _IIma, _Own, _IDn, _IDnc, _MR, _NTex, _DR, _Fil), - ( - (EXECUTABLE_BY_STRING_LIST, {_sN: _EBx}), - (IMAGE_ID_STRING_LIST, {_sN: _IIm}), - (OWNER_STRING_LIST, {_sN: _Ow}), - (BOOLEAN, 0), - (BOOLEAN, 0), - (INTEGER, 0), - (STRING, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -ARCHITECTURE_VALUES: StaticSchema = ( - 14, - n0, - _AVr, - 0, - ( - _i__________________________________________________________________________, - _x______________________________________________________, - _arm, - _xm____________, - _am______, - ), - ( - ( - -1, - { - _sV: _i__________________________________________________________________________ - }, - ), - (-1, {_sV: _x______________________________________________________}), - (-1, {_sV: _arm}), - (-1, {_sV: _xm____________}), - (-1, {_sV: _am______}), - ), -) - -BOOT_MODE_VALUES: StaticSchema = ( - 14, - n0, - _BMV, - 0, - (_lb__, _ue, _up__), - ((-1, {_sV: _lb___}), (-1, {_sV: _ue}), (-1, {_sV: _up___})), -) - -HYPERVISOR_TYPE: StaticSchema = ( - 14, - n0, - _HTy, - 0, - (_ovm, _xen), - ((-1, {_sV: _ovm}), (-1, {_sV: _xen})), -) - -IMAGE_TYPE_VALUES: StaticSchema = ( - 14, - n0, - _ITV, - 0, - (_mach, _ker, _ramd), - ((-1, {_sV: _mach}), (-1, {_sV: _ker}), (-1, {_sV: _ramd})), -) - -IMAGE_WATERMARK: StaticSchema = ( - 18, - n0, - _IW, - 0, - (_WK, _SIR, _SII, _SICT, _WCT), - ( - (STRING, {_aQN: _WK, _sN: _wK}), - (STRING, {_aQN: _SIR, _sN: _sIR}), - (STRING, {_aQN: _SII, _sN: _sII}), - (MILLISECOND_DATE_TIME, {_aQN: _SICT, _sN: _sICT}), - (MILLISECOND_DATE_TIME, {_aQN: _WCT, _sN: _wCT}), - ), -) - -IMAGE_WATERMARK_LIST: StaticSchema = ( - 16, - n0, - _IWL, - 0, - (_me,), - ((IMAGE_WATERMARK, {_sN: _i}),), -) - -IMDS_SUPPORT_VALUES: StaticSchema = ( - 14, - n0, - _ISVm, - 0, - (_v______,), - ((-1, {_sV: _v_______}),), -) - -INSTANCE_TYPE_ITEM: StaticSchema = ( - 18, - n0, - _ITIn, - 0, - (_IT,), - ((STRING, {_aQN: _IT, _sN: _iT}),), -) - -SUPPORTED_INSTANCE_TYPE_SET: StaticSchema = ( - 16, - n0, - _SITS, - 0, - (_me,), - ((INSTANCE_TYPE_ITEM, {_sN: _i}),), -) - -UNSUPPORTED_INSTANCE_TYPE_SET: StaticSchema = ( - 16, - n0, - _UITS, - 0, - (_me,), - ((INSTANCE_TYPE_ITEM, {_sN: _i}),), -) - -INSTANCE_TYPE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _ITSn, - 0, - (_SITu, _UIT), - ( - (SUPPORTED_INSTANCE_TYPE_SET, {_aQN: _SITS, _sN: _sITS}), - (UNSUPPORTED_INSTANCE_TYPE_SET, {_aQN: _UITS, _sN: _uITS}), - ), -) - -DEVICE_TYPE: StaticSchema = ( - 14, - n0, - _DTev, - 0, - (_eb, _is__), - ((-1, {_sV: _eb}), (-1, {_sV: _is___})), -) - -SEVERITY_LABEL: StaticSchema = ( - 14, - n0, - _SLe, - 0, - (_inform, _low, _medi, _hig, _cri), - ( - (-1, {_sV: _inform}), - (-1, {_sV: _low}), - (-1, {_sV: _medi}), - (-1, {_sV: _hig}), - (-1, {_sV: _cri}), - ), -) - -SCAN_RESULTS: StaticSchema = ( - 18, - n0, - _SRc, - 0, - (_HFSL, _FSD, _IFAS, _LFAS, _MFAS, _HFAS, _CFAS), - ( - (SEVERITY_LABEL, {_aQN: _HFSL, _sN: _hFSL}), - (MILLISECOND_DATE_TIME, {_aQN: _FSD, _sN: _fSD}), - (MILLISECOND_DATE_TIME, {_aQN: _IFAS, _sN: _iFAS}), - (MILLISECOND_DATE_TIME, {_aQN: _LFAS, _sN: _lFAS}), - (MILLISECOND_DATE_TIME, {_aQN: _MFAS, _sN: _mFAS}), - (MILLISECOND_DATE_TIME, {_aQN: _HFAS, _sN: _hFAS}), - (MILLISECOND_DATE_TIME, {_aQN: _CFAS, _sN: _cFAS}), - ), -) - -IMAGE_STATE: StaticSchema = ( - 14, - n0, - _ISma, - 0, - (_p, _av, _inv, _der, _tran, _fa, _er, _d), - ( - (-1, {_sV: _p}), - (-1, {_sV: _av}), - (-1, {_sV: _inv}), - (-1, {_sV: _der}), - (-1, {_sV: _tran}), - (-1, {_sV: _fa}), - (-1, {_sV: _er}), - (-1, {_sV: _d}), - ), -) - -TPM_SUPPORT_VALUES: StaticSchema = ( - 14, - n0, - _TSV, - 0, - (_v______,), - ((-1, {_sV: _v_______}),), -) - -VIRTUALIZATION_TYPE: StaticSchema = ( - 14, - n0, - _VTi, - 0, - (_hv, _para), - ((-1, {_sV: _hv}), (-1, {_sV: _para})), -) - -IMAGE: StaticSchema = ( - 18, - n0, - _Im, - 0, - ( - _PDl, - _UO, - _BDMl, - _Des, - _ESna, - _Hy, - _IOA, - _N, - _RDN, - _RDT, - _SNSr, - _SRt, - _Tag, - _VTi, - _BMo, - _TSp, - _DTep, - _ISm, - _SIIo, - _DPer, - _LLT, - _IAm, - _SII, - _SIR, - _FTE, - _PSPN, - _IWm, - _SRc, - _ITSn, - _IIm, - _ILm, - _St, - _OIw, - _CDre, - _Pu, - _PCro, - _Arc, - _ITm, - _KI, - _RIa, - _Pla, - ), - ( - (STRING, {_aQN: _PDl, _sN: _pDl}), - (STRING, {_aQN: _UO, _sN: _uO}), - (BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), - (STRING, {_aQN: _Des, _sN: _desc}), - (BOOLEAN, {_aQN: _ESna, _sN: _eSna}), - (HYPERVISOR_TYPE, {_aQN: _Hy, _sN: _hy}), - (STRING, {_aQN: _IOA, _sN: _iOA}), - (STRING, {_aQN: _N, _sN: _nam}), - (STRING, {_aQN: _RDN, _sN: _rDN}), - (DEVICE_TYPE, {_aQN: _RDT, _sN: _rDT}), - (STRING, {_aQN: _SNSr, _sN: _sNS}), - (STATE_REASON, {_aQN: _SRt, _sN: _sRt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (VIRTUALIZATION_TYPE, {_aQN: _VTi, _sN: _vTi}), - (BOOT_MODE_VALUES, {_aQN: _BMo, _sN: _bMo}), - (TPM_SUPPORT_VALUES, {_aQN: _TSp, _sN: _tSp}), - (STRING, {_aQN: _DTep, _sN: _dTep}), - (IMDS_SUPPORT_VALUES, {_aQN: _ISm, _sN: _iSm}), - (STRING, {_aQN: _SIIo, _sN: _sIIo}), - (STRING, {_aQN: _DPer, _sN: _dPer}), - (STRING, {_aQN: _LLT, _sN: _lLT}), - (BOOLEAN, {_aQN: _IAm, _sN: _iAm}), - (STRING, {_aQN: _SII, _sN: _sII}), - (STRING, {_aQN: _SIR, _sN: _sIR}), - (BOOLEAN, {_aQN: _FTE, _sN: _fTE}), - (STRING, {_aQN: _PSPN, _sN: _pSPN}), - (IMAGE_WATERMARK_LIST, {_aQN: _IWS, _sN: _iWS}), - (SCAN_RESULTS, {_aQN: _SRc, _sN: _sRc}), - (INSTANCE_TYPE_SPECIFICATION, {_aQN: _ITSn, _sN: _iTS}), - (STRING, {_aQN: _IIm, _sN: _iIm}), - (STRING, {_aQN: _ILm, _sN: _iL}), - (IMAGE_STATE, {_aQN: _ISma, _sN: _iSma}), - (STRING, {_aQN: _IOIm, _sN: _iOIm}), - (STRING, {_aQN: _CDre, _sN: _cDre}), - (BOOLEAN, {_aQN: _IPsu, _sN: _iPsu}), - (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), - (ARCHITECTURE_VALUES, {_aQN: _Arc, _sN: _arch}), - (IMAGE_TYPE_VALUES, {_aQN: _ITm, _sN: _iTm}), - (STRING, {_aQN: _KI, _sN: _kI}), - (STRING, {_aQN: _RIa, _sN: _rIa}), - (PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), - ), -) - -IMAGE_LIST: StaticSchema = (16, n0, _ILma, 0, (_me,), ((IMAGE, {_sN: _i}),)) - -DESCRIBE_IMAGES_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOes, - {_sSI: _cDIRomama, _smit: None}, - (_NTex, _Ima), - ((STRING, {_aQN: _NTex, _sN: _nT}), (IMAGE_LIST, {_aQN: _ISmag, _sN: _iSmag})), -) - -DESCRIBE_IMAGES: StaticOperationSchema = ( - 23, - n0, - _DIesc, - 0, - DESCRIBE_IMAGES_INPUT, - DESCRIBE_IMAGES_OUTPUT, - (), -) - -DESCRIBE_IMAGE_USAGE_REPORTS_IMAGE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _DIURIISL, - 0, - (_me,), - ((IMAGE_ID, 0),), -) - -DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_MAX_RESULTS: StaticSchema = (7, n0, _DIUREMR, 0) - -IMAGE_USAGE_REPORT_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _IURISL, - 0, - (_me,), - ((IMAGE_USAGE_REPORT_ID, 0),), -) - -DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_INPUT: StaticSchema = ( - 18, - n0, - _DIUREI, - {_sSI: _cDIURER, _sm: None}, - (_IIma, _RIepo, _NTex, _Fil, _DR, _MR), - ( - (DESCRIBE_IMAGE_USAGE_REPORTS_IMAGE_ID_STRING_LIST, {_sN: _IIm}), - (IMAGE_USAGE_REPORT_ID_STRING_LIST, {_sN: _RIep}), - (STRING, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - (DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_MAX_RESULTS, 0), - ), -) - -IMAGE_USAGE_REPORT_ENTRY: StaticSchema = ( - 18, - n0, - _IURE, - 0, - (_RT, _RIep, _UCs, _AIcco, _IIm, _RCT), - ( - (IMAGE_USAGE_RESOURCE_TYPE_NAME, {_aQN: _RT, _sN: _rT}), - (IMAGE_USAGE_REPORT_ID, {_aQN: _RIep, _sN: _rIe}), - (LONG, {_aQN: _UCs, _sN: _uCs}), - (STRING, {_aQN: _AIcco, _sN: _aIc}), - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (MILLISECOND_DATE_TIME, {_aQN: _RCT, _sN: _rCT}), - ), -) - -IMAGE_USAGE_REPORT_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _IUREL, - 0, - (_me,), - ((IMAGE_USAGE_REPORT_ENTRY, {_sN: _i}),), -) - -DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_OUTPUT: StaticSchema = ( - 18, - n0, - _DIUREO, - {_sSI: _cDIURERo, _smit: None}, - (_NTex, _IUREm), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (IMAGE_USAGE_REPORT_ENTRY_LIST, {_aQN: _IURES, _sN: _iURES}), - ), -) - -DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES: StaticOperationSchema = ( - 23, - n0, - _DIURE, - 0, - DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_INPUT, - DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_OUTPUT, - (), -) - -DESCRIBE_IMAGE_USAGE_REPORTS_MAX_RESULTS: StaticSchema = (7, n0, _DIURMR, 0) - -DESCRIBE_IMAGE_USAGE_REPORTS_INPUT: StaticSchema = ( - 18, - n0, - _DIURIe, - {_sSI: _cDIURRom, _sm: None}, - (_IIma, _RIepo, _NTex, _Fil, _DR, _MR), - ( - (DESCRIBE_IMAGE_USAGE_REPORTS_IMAGE_ID_STRING_LIST, {_sN: _IIm}), - (IMAGE_USAGE_REPORT_ID_STRING_LIST, {_sN: _RIep}), - (STRING, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - (DESCRIBE_IMAGE_USAGE_REPORTS_MAX_RESULTS, 0), - ), -) - -USER_ID_LIST: StaticSchema = (16, n0, _UIL, 0, (_me,), ((STRING, {_sN: _i}),)) - -IMAGE_USAGE_RESOURCE_TYPE_OPTION: StaticSchema = ( - 18, - n0, - _IURTO, - 0, - (_ON, _OV), - ( - (STRING, {_aQN: _ON, _sN: _oN}), - (IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUES_LIST, {_aQN: _OVS, _sN: _oVS}), - ), -) - -IMAGE_USAGE_RESOURCE_TYPE_OPTION_LIST: StaticSchema = ( - 16, - n0, - _IURTOL, - 0, - (_me,), - ((IMAGE_USAGE_RESOURCE_TYPE_OPTION, {_sN: _i}),), -) - -IMAGE_USAGE_RESOURCE_TYPE: StaticSchema = ( - 18, - n0, - _IURT, - 0, - (_RT, _RTO), - ( - (IMAGE_USAGE_RESOURCE_TYPE_NAME, {_aQN: _RT, _sN: _rT}), - (IMAGE_USAGE_RESOURCE_TYPE_OPTION_LIST, {_aQN: _RTOS, _sN: _rTOS}), - ), -) - -IMAGE_USAGE_RESOURCE_TYPE_LIST: StaticSchema = ( - 16, - n0, - _IURTL, - 0, - (_me,), - ((IMAGE_USAGE_RESOURCE_TYPE, {_sN: _i}),), -) - -IMAGE_USAGE_REPORT_STATE: StaticSchema = (3, n0, _IURS, 0) - -IMAGE_USAGE_REPORT_STATE_REASON: StaticSchema = (3, n0, _IURSR, 0) - -IMAGE_USAGE_REPORT: StaticSchema = ( - 18, - n0, - _IUR, - 0, - (_IIm, _RIep, _RTe, _AIcc, _St, _SRt, _CT, _ET, _Tag), - ( - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (IMAGE_USAGE_REPORT_ID, {_aQN: _RIep, _sN: _rIe}), - (IMAGE_USAGE_RESOURCE_TYPE_LIST, {_aQN: _RTS, _sN: _rTS}), - (USER_ID_LIST, {_aQN: _AISc, _sN: _aISc}), - (IMAGE_USAGE_REPORT_STATE, {_aQN: _St, _sN: _st}), - (IMAGE_USAGE_REPORT_STATE_REASON, {_aQN: _SRt, _sN: _sRt}), - (MILLISECOND_DATE_TIME, {_aQN: _CT, _sN: _cT}), - (MILLISECOND_DATE_TIME, {_aQN: _ET, _sN: _eT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -IMAGE_USAGE_REPORT_LIST: StaticSchema = ( - 16, - n0, - _IURL, - 0, - (_me,), - ((IMAGE_USAGE_REPORT, {_sN: _i}),), -) - -DESCRIBE_IMAGE_USAGE_REPORTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIUROe, - {_sSI: _cDIURRoma, _smit: None}, - (_NTex, _IURm), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (IMAGE_USAGE_REPORT_LIST, {_aQN: _IURSm, _sN: _iURS}), - ), -) - -DESCRIBE_IMAGE_USAGE_REPORTS: StaticOperationSchema = ( - 23, - n0, - _DIURe, - 0, - DESCRIBE_IMAGE_USAGE_REPORTS_INPUT, - DESCRIBE_IMAGE_USAGE_REPORTS_OUTPUT, - (), -) - -IMPORT_IMAGE_TASK_ID: StaticSchema = (3, n0, _IITI, 0) - -IMPORT_TASK_ID_LIST: StaticSchema = ( - 16, - n0, - _ITIL, - 0, - (_me,), - ((IMPORT_IMAGE_TASK_ID, {_sN: _ITI}),), -) - -DESCRIBE_IMPORT_IMAGE_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DIITI, - {_sSI: _cDIITR, _sm: None}, - (_DR, _Fil, _ITIm, _MR, _NTex), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fil}), - (IMPORT_TASK_ID_LIST, {_sN: _ITI}), - (INTEGER, 0), - (STRING, 0), - ), -) - -IMPORT_IMAGE_LICENSE_CONFIGURATION_RESPONSE: StaticSchema = ( - 18, - n0, - _IILCR, - 0, - (_LCA,), - ((STRING, {_aQN: _LCA, _sN: _lCA}),), -) - -IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_RESPONSE: StaticSchema = ( - 16, - n0, - _IILSLR, - 0, - (_me,), - ((IMPORT_IMAGE_LICENSE_CONFIGURATION_RESPONSE, {_sN: _i}),), -) - -SENSITIVE_URL: StaticSchema = (3, n0, _SU, 4) - -USER_BUCKET_DETAILS: StaticSchema = ( - 18, - n0, - _UBD, - 0, - (_SBu, _SK), - ((STRING, {_aQN: _SBu, _sN: _sB}), (STRING, {_aQN: _SK, _sN: _sK})), -) - -SNAPSHOT_DETAIL: StaticSchema = ( - 18, - n0, - _SDn, - 0, - (_Des, _DNe, _DISi, _For, _Prog, _SIn, _Sta, _SMt, _Ur, _UB), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _DNe, _sN: _dNe}), - (DOUBLE, {_aQN: _DISi, _sN: _dIS}), - (STRING, {_aQN: _For, _sN: _fo}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (SENSITIVE_URL, {_aQN: _Ur, _sN: _ur}), - (USER_BUCKET_DETAILS, {_aQN: _UB, _sN: _uB}), - ), -) - -SNAPSHOT_DETAIL_LIST: StaticSchema = ( - 16, - n0, - _SDL, - 0, - (_me,), - ((SNAPSHOT_DETAIL, {_sN: _i}),), -) - -IMPORT_IMAGE_TASK: StaticSchema = ( - 18, - n0, - _IIT, - 0, - ( - _Arc, - _Des, - _En, - _Hy, - _IIm, - _ITI, - _KKI, - _LTi, - _Pla, - _Prog, - _SDna, - _Sta, - _SMt, - _Tag, - _LSic, - _UO, - _BMo, - ), - ( - (STRING, {_aQN: _Arc, _sN: _arch}), - (STRING, {_aQN: _Des, _sN: _desc}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (STRING, {_aQN: _Hy, _sN: _hy}), - (STRING, {_aQN: _IIm, _sN: _iIm}), - (STRING, {_aQN: _ITI, _sN: _iTI}), - (STRING, {_aQN: _KKI, _sN: _kKI}), - (STRING, {_aQN: _LTi, _sN: _lTi}), - (STRING, {_aQN: _Pla, _sN: _plat}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (SNAPSHOT_DETAIL_LIST, {_aQN: _SDSn, _sN: _sDSn}), - (STRING, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_RESPONSE, {_aQN: _LSic, _sN: _lSic}), - (STRING, {_aQN: _UO, _sN: _uO}), - (BOOT_MODE_VALUES, {_aQN: _BMo, _sN: _bMo}), - ), -) - -IMPORT_IMAGE_TASK_LIST: StaticSchema = ( - 16, - n0, - _IITL, - 0, - (_me,), - ((IMPORT_IMAGE_TASK, {_sN: _i}),), -) - -DESCRIBE_IMPORT_IMAGE_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIITO, - {_sSI: _cDIITRo, _smit: None}, - (_IITm, _NTex), - ( - (IMPORT_IMAGE_TASK_LIST, {_aQN: _IITS, _sN: _iITS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_IMPORT_IMAGE_TASKS: StaticOperationSchema = ( - 23, - n0, - _DIIT, - 0, - DESCRIBE_IMPORT_IMAGE_TASKS_INPUT, - DESCRIBE_IMPORT_IMAGE_TASKS_OUTPUT, - (), -) - -IMPORT_SNAPSHOT_TASK_ID: StaticSchema = (3, n0, _ISTI, 0) - -IMPORT_SNAPSHOT_TASK_ID_LIST: StaticSchema = ( - 16, - n0, - _ISTIL, - 0, - (_me,), - ((IMPORT_SNAPSHOT_TASK_ID, {_sN: _ITI}),), -) - -DESCRIBE_IMPORT_SNAPSHOT_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DISTI, - {_sSI: _cDISTR, _sm: None}, - (_DR, _Fil, _ITIm, _MR, _NTex), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fil}), - (IMPORT_SNAPSHOT_TASK_ID_LIST, {_sN: _ITI}), - (INTEGER, 0), - (STRING, 0), - ), -) - -SNAPSHOT_TASK_DETAIL: StaticSchema = ( - 18, - n0, - _STDn, - 0, - (_Des, _DISi, _En, _For, _KKI, _Prog, _SIn, _Sta, _SMt, _Ur, _UB), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (DOUBLE, {_aQN: _DISi, _sN: _dIS}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (STRING, {_aQN: _For, _sN: _fo}), - (STRING, {_aQN: _KKI, _sN: _kKI}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (SENSITIVE_URL, {_aQN: _Ur, _sN: _ur}), - (USER_BUCKET_DETAILS, {_aQN: _UB, _sN: _uB}), - ), -) - -IMPORT_SNAPSHOT_TASK: StaticSchema = ( - 18, - n0, - _ISTm, - 0, - (_Des, _ITI, _STDn, _Tag), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _ITI, _sN: _iTI}), - (SNAPSHOT_TASK_DETAIL, {_aQN: _STDn, _sN: _sTD}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -IMPORT_SNAPSHOT_TASK_LIST: StaticSchema = ( - 16, - n0, - _ISTL, - 0, - (_me,), - ((IMPORT_SNAPSHOT_TASK, {_sN: _i}),), -) - -DESCRIBE_IMPORT_SNAPSHOT_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DISTO, - {_sSI: _cDISTRo, _smit: None}, - (_ISTmp, _NTex), - ( - (IMPORT_SNAPSHOT_TASK_LIST, {_aQN: _ISTS, _sN: _iSTS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_IMPORT_SNAPSHOT_TASKS: StaticOperationSchema = ( - 23, - n0, - _DIST, - 0, - DESCRIBE_IMPORT_SNAPSHOT_TASKS_INPUT, - DESCRIBE_IMPORT_SNAPSHOT_TASKS_OUTPUT, - (), -) - -INSTANCE_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _IANn, - 0, - ( - _iT, - _ker, - _ramd, - _uDs, - _dAT, - _iISB, - _rDN, - _bDM, - _pCr, - _sDC, - _gS, - _eO, - _sNS, - _eSna, - _eOn, - _dASi, - ), - ( - (-1, {_sV: _iT}), - (-1, {_sV: _ker}), - (-1, {_sV: _ramd}), - (-1, {_sV: _uDs}), - (-1, {_sV: _dAT}), - (-1, {_sV: _iISB}), - (-1, {_sV: _rDN}), - (-1, {_sV: _bDM}), - (-1, {_sV: _pCr}), - (-1, {_sV: _sDC}), - (-1, {_sV: _gS}), - (-1, {_sV: _eO}), - (-1, {_sV: _sNS}), - (-1, {_sV: _eSna}), - (-1, {_sV: _eOn}), - (-1, {_sV: _dASi}), - ), -) - -DESCRIBE_INSTANCE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _DIAIe, - {_sSI: _cDIARo, _sm: None}, - (_DR, _II, _Attr), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), - (INSTANCE_ATTRIBUTE_NAME, {_aQN: _Attr, _sN: _attr, _smi: None}), - ), -) - -EBS_INSTANCE_BLOCK_DEVICE: StaticSchema = ( - 18, - n0, - _EIBD, - 0, - (_ATtt, _DOT, _Sta, _VIo, _ARs, _VOIo, _Op, _ECI), - ( - (DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (STRING, {_aQN: _ARs, _sN: _aRs}), - (STRING, {_aQN: _VOIo, _sN: _vOIo}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - (INTEGER, {_aQN: _ECI, _sN: _eCI}), - ), -) - -INSTANCE_BLOCK_DEVICE_MAPPING: StaticSchema = ( - 18, - n0, - _IBDM, - 0, - (_DNe, _Eb), - ( - (STRING, {_aQN: _DNe, _sN: _dNe}), - (EBS_INSTANCE_BLOCK_DEVICE, {_aQN: _Eb, _sN: _eb}), - ), -) - -INSTANCE_BLOCK_DEVICE_MAPPING_LIST: StaticSchema = ( - 16, - n0, - _IBDML, - 0, - (_me,), - ((INSTANCE_BLOCK_DEVICE_MAPPING, {_sN: _i}),), -) - -ATTRIBUTE_BOOLEAN_VALUE: StaticSchema = ( - 18, - n0, - _ABV, - 0, - (_Va,), - ((BOOLEAN, {_aQN: _Va, _sN: _va}),), -) - -ENCLAVE_OPTIONS: StaticSchema = ( - 18, - n0, - _EOn, - 0, - (_Ena,), - ((BOOLEAN, {_aQN: _Ena, _sN: _ena}),), -) - -DESCRIBE_INSTANCE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DIAOe, - {_sSI: _cIAom, _smit: None}, - ( - _BDMl, - _DAT, - _ESna, - _EOn, - _EO, - _II, - _IISB, - _IT, - _KI, - _PCro, - _RIa, - _RDN, - _SDC, - _SNSr, - _UDs, - _DASi, - _G, - ), - ( - (INSTANCE_BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _DAT, _sN: _dAT}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _ESna, _sN: _eSna}), - (ENCLAVE_OPTIONS, {_aQN: _EOn, _sN: _eOn}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _EO, _sN: _eO}), - (STRING, {_aQN: _II, _sN: _iI}), - (ATTRIBUTE_VALUE, {_aQN: _IISB, _sN: _iISB}), - (ATTRIBUTE_VALUE, {_aQN: _IT, _sN: _iT}), - (ATTRIBUTE_VALUE, {_aQN: _Ker, _sN: _ker}), - (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), - (ATTRIBUTE_VALUE, {_aQN: _Ra, _sN: _ramd}), - (ATTRIBUTE_VALUE, {_aQN: _RDN, _sN: _rDN}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _SDC, _sN: _sDC}), - (ATTRIBUTE_VALUE, {_aQN: _SNSr, _sN: _sNS}), - (ATTRIBUTE_VALUE, {_aQN: _UDs, _sN: _uDs}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _DASi, _sN: _dASi}), - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - ), -) - -DESCRIBE_INSTANCE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _DIAe, - 0, - DESCRIBE_INSTANCE_ATTRIBUTE_INPUT, - DESCRIBE_INSTANCE_ATTRIBUTE_OUTPUT, - (), -) - -INSTANCE_CONNECT_ENDPOINT_MAX_RESULTS: StaticSchema = (7, n0, _ICEMR, 0) - -DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _DICEIe, - {_sSI: _cDICERom, _sm: None}, - (_DR, _MR, _NTex, _Fil, _ICEIn), - ( - (BOOLEAN, 0), - (INSTANCE_CONNECT_ENDPOINT_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - (VALUE_STRING_LIST, {_sN: _ICEI}), - ), -) - -INSTANCE_CONNECT_ENDPOINT_SET: StaticSchema = ( - 16, - n0, - _ICES, - 0, - (_me,), - ((EC2_INSTANCE_CONNECT_ENDPOINT, {_sN: _i}),), -) - -DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DICEOe, - {_sSI: _cDICERoma, _smit: None}, - (_ICEn, _NTex), - ( - (INSTANCE_CONNECT_ENDPOINT_SET, {_aQN: _ICES, _sN: _iCES}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INSTANCE_CONNECT_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _DICEe, - 0, - DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_INPUT, - DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_OUTPUT, - (), -) - -DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DICSMR, 0) - -DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DICSI, - {_sSI: _cDICSR, _sm: None}, - (_DR, _Fil, _IIn, _MR, _NTex), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (INSTANCE_ID_STRING_LIST, {_sN: _II}), - (DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_MAX_RESULTS, 0), - (STRING, 0), - ), -) - -INSTANCE_CREDIT_SPECIFICATION: StaticSchema = ( - 18, - n0, - _ICS, - 0, - (_II, _CCp), - ((STRING, {_aQN: _II, _sN: _iI}), (STRING, {_aQN: _CCp, _sN: _cCp})), -) - -INSTANCE_CREDIT_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _ICSL, - 0, - (_me,), - ((INSTANCE_CREDIT_SPECIFICATION, {_sN: _i}),), -) - -DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DICSO, - {_sSI: _cDICSRo, _smit: None}, - (_ICSn, _NTex), - ( - (INSTANCE_CREDIT_SPECIFICATION_LIST, {_aQN: _ICSS, _sN: _iCSS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS: StaticOperationSchema = ( - 23, - n0, - _DICS, - 0, - DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_INPUT, - DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_OUTPUT, - (), -) - -DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _DIENAIe, - {_sSI: _cDIENARom, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DIENAOe, - {_sSI: _cDIENARoma, _smit: None}, - (_ITA,), - ((INSTANCE_TAG_NOTIFICATION_ATTRIBUTE, {_aQN: _ITA, _sN: _iTA}),), -) - -DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _DIENAe, - 0, - DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT, - DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT, - (), -) - -INSTANCE_EVENT_WINDOW_ID_SET: StaticSchema = ( - 16, - n0, - _IEWIS, - 0, - (_me,), - ((INSTANCE_EVENT_WINDOW_ID, {_sN: _IEWI}),), -) - -RESULT_RANGE: StaticSchema = (7, n0, _RRe, 0) - -DESCRIBE_INSTANCE_EVENT_WINDOWS_INPUT: StaticSchema = ( - 18, - n0, - _DIEWIe, - {_sSI: _cDIEWRom, _sm: None}, - (_DR, _IEWIn, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (INSTANCE_EVENT_WINDOW_ID_SET, {_sN: _IEWI}), - (FILTER_LIST, {_sN: _Fi}), - (RESULT_RANGE, 0), - (STRING, 0), - ), -) - -INSTANCE_EVENT_WINDOW_SET: StaticSchema = ( - 16, - n0, - _IEWSn, - 0, - (_me,), - ((INSTANCE_EVENT_WINDOW, {_sN: _i}),), -) - -DESCRIBE_INSTANCE_EVENT_WINDOWS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIEWOe, - {_sSI: _cDIEWRoma, _smit: None}, - (_IEWn, _NTex), - ( - (INSTANCE_EVENT_WINDOW_SET, {_aQN: _IEWSn, _sN: _iEWSn}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INSTANCE_EVENT_WINDOWS: StaticOperationSchema = ( - 23, - n0, - _DIEWe, - 0, - DESCRIBE_INSTANCE_EVENT_WINDOWS_INPUT, - DESCRIBE_INSTANCE_EVENT_WINDOWS_OUTPUT, - (), -) - -DESCRIBE_INSTANCE_IMAGE_METADATA_MAX_RESULTS: StaticSchema = (7, n0, _DIIMMR, 0) - -DESCRIBE_INSTANCE_IMAGE_METADATA_INPUT: StaticSchema = ( - 18, - n0, - _DIIMI, - {_sSI: _cDIIMR, _sm: None}, - (_Fil, _IIn, _MR, _NTex, _DR), - ( - (FILTER_LIST, {_sN: _Fi}), - (INSTANCE_ID_STRING_LIST, {_sN: _II}), - (DESCRIBE_INSTANCE_IMAGE_METADATA_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -IMAGE_METADATA: StaticSchema = ( - 18, - n0, - _IM, - 0, - (_IIm, _N, _OIw, _St, _IOA, _CDre, _DTep, _IAm, _IPsu, _IWm), - ( - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (STRING, {_aQN: _N, _sN: _nam}), - (STRING, {_aQN: _IOIm, _sN: _iOIm}), - (IMAGE_STATE, {_aQN: _ISma, _sN: _iSma}), - (STRING, {_aQN: _IOA, _sN: _iOA}), - (STRING, {_aQN: _CDre, _sN: _cDre}), - (STRING, {_aQN: _DTep, _sN: _dTep}), - (BOOLEAN, {_aQN: _IAm, _sN: _iAm}), - (BOOLEAN, {_aQN: _IPsu, _sN: _iPsu}), - (IMAGE_WATERMARK_LIST, {_aQN: _IWS, _sN: _iWS}), - ), -) - -INSTANCE_STATE_NAME: StaticSchema = ( - 14, - n0, - _ISN, - 0, - (_p, _ru, _sd__, _termin, _stopp, _stoppe), - ( - (-1, {_sV: _p}), - (-1, {_sV: _ru}), - (-1, {_sV: _sd___}), - (-1, {_sV: _termin}), - (-1, {_sV: _stopp}), - (-1, {_sV: _stoppe}), - ), -) - -INSTANCE_STATE: StaticSchema = ( - 18, - n0, - _ISnsta, - 0, - (_C, _N), - ((INTEGER, {_aQN: _C, _sN: _co}), (INSTANCE_STATE_NAME, {_aQN: _N, _sN: _nam})), -) - -INSTANCE_IMAGE_METADATA: StaticSchema = ( - 18, - n0, - _IIM, - 0, - (_II, _IT, _LTa, _AZ, _ZI, _St, _OIw, _Tag, _IM, _Op), - ( - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (MILLISECOND_DATE_TIME, {_aQN: _LTa, _sN: _lTa}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _ZI, _sN: _zI}), - (INSTANCE_STATE, {_aQN: _ISnsta, _sN: _iSnst}), - (STRING, {_aQN: _IOIn, _sN: _iOIn}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (IMAGE_METADATA, {_aQN: _IM, _sN: _iM}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - ), -) - -INSTANCE_IMAGE_METADATA_LIST: StaticSchema = ( - 16, - n0, - _IIML, - 0, - (_me,), - ((INSTANCE_IMAGE_METADATA, {_sN: _i}),), -) - -DESCRIBE_INSTANCE_IMAGE_METADATA_OUTPUT: StaticSchema = ( - 18, - n0, - _DIIMO, - {_sSI: _cDIIMRo, _smit: None}, - (_IIM, _NTex), - ( - (INSTANCE_IMAGE_METADATA_LIST, {_aQN: _IIMS, _sN: _iIMS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INSTANCE_IMAGE_METADATA: StaticOperationSchema = ( - 23, - n0, - _DIIM, - 0, - DESCRIBE_INSTANCE_IMAGE_METADATA_INPUT, - DESCRIBE_INSTANCE_IMAGE_METADATA_OUTPUT, - (), -) - -DESCRIBE_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DIIesc, - {_sSI: _cDIRomamaz, _sm: None}, - (_IIn, _IMR, _DR, _Fil, _NTex, _MR), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II}), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (INTEGER, {_aQN: _MR, _sN: _mR}), - ), -) - -CAPACITY_RESERVATION_SPECIFICATION_RESPONSE: StaticSchema = ( - 18, - n0, - _CRSR, - 0, - (_CRP, _CRTap), - ( - (CAPACITY_RESERVATION_PREFERENCE, {_aQN: _CRP, _sN: _cRP}), - (CAPACITY_RESERVATION_TARGET_RESPONSE, {_aQN: _CRTap, _sN: _cRT}), - ), -) - -CPU_OPTIONS: StaticSchema = ( - 18, - n0, - _CO, - 0, - (_CCor, _TPC, _ASS, _NV), - ( - (INTEGER, {_aQN: _CCor, _sN: _cCor}), - (INTEGER, {_aQN: _TPC, _sN: _tPC}), - (AMD_SEV_SNP_SPECIFICATION, {_aQN: _ASS, _sN: _aSS}), - (NESTED_VIRTUALIZATION_SPECIFICATION, {_aQN: _NV, _sN: _nV}), - ), -) - -INSTANCE_BOOT_MODE_VALUES: StaticSchema = ( - 14, - n0, - _IBMV, - 0, - (_lb__, _ue), - ((-1, {_sV: _lb___}), (-1, {_sV: _ue})), -) - -ELASTIC_GPU_ASSOCIATION: StaticSchema = ( - 18, - n0, - _EGA, - 0, - (_EGI, _EGAI, _EGAS, _EGAT), - ( - (ELASTIC_GPU_ID, {_aQN: _EGI, _sN: _eGI}), - (STRING, {_aQN: _EGAI, _sN: _eGAI}), - (STRING, {_aQN: _EGAS, _sN: _eGAS}), - (STRING, {_aQN: _EGAT, _sN: _eGAT}), - ), -) - -ELASTIC_GPU_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _EGAL, - 0, - (_me,), - ((ELASTIC_GPU_ASSOCIATION, {_sN: _i}),), -) - -ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION: StaticSchema = ( - 18, - n0, - _EIAA, - 0, - (_EIAAl, _EIAAI, _EIAAS, _EIAAT), - ( - (STRING, {_aQN: _EIAAl, _sN: _eIAA}), - (STRING, {_aQN: _EIAAI, _sN: _eIAAI}), - (STRING, {_aQN: _EIAAS, _sN: _eIAAS}), - (DATE_TIME, {_aQN: _EIAAT, _sN: _eIAAT}), - ), -) - -ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _EIAAL, - 0, - (_me,), - ((ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION, {_sN: _i}),), -) - -HIBERNATION_OPTIONS: StaticSchema = ( - 18, - n0, - _HO, - 0, - (_Conf,), - ((BOOLEAN, {_aQN: _Conf, _sN: _conf}),), -) - -INSTANCE_LIFECYCLE_TYPE: StaticSchema = ( - 14, - n0, - _ILT, - 0, - (_spo, _sch, _cb, _icr_), - ((-1, {_sV: _spo}), (-1, {_sV: _sch}), (-1, {_sV: _cb_}), (-1, {_sV: _icr})), -) - -LICENSE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LC, - 0, - (_LCA,), - ((STRING, {_aQN: _LCA, _sN: _lCA}),), -) - -LICENSE_LIST: StaticSchema = ( - 16, - n0, - _LL, - 0, - (_me,), - ((LICENSE_CONFIGURATION, {_sN: _i}),), -) - -INSTANCE_AUTO_RECOVERY_STATE: StaticSchema = ( - 14, - n0, - _IARS, - 0, - (_d, _def), - ((-1, {_sV: _d}), (-1, {_sV: _def})), -) - -INSTANCE_REBOOT_MIGRATION_STATE: StaticSchema = ( - 14, - n0, - _IRMS, - 0, - (_d, _def), - ((-1, {_sV: _d}), (-1, {_sV: _def})), -) - -INSTANCE_MAINTENANCE_OPTIONS: StaticSchema = ( - 18, - n0, - _IMOn, - 0, - (_ARu, _RMeb), - ( - (INSTANCE_AUTO_RECOVERY_STATE, {_aQN: _ARu, _sN: _aRu}), - (INSTANCE_REBOOT_MIGRATION_STATE, {_aQN: _RMeb, _sN: _rMeb}), - ), -) - -INSTANCE_METADATA_ENDPOINT_STATE: StaticSchema = ( - 14, - n0, - _IMES, - 0, - (_d, _ena), - ((-1, {_sV: _d}), (-1, {_sV: _ena})), -) - -INSTANCE_METADATA_PROTOCOL_STATE: StaticSchema = ( - 14, - n0, - _IMPS, - 0, - (_d, _ena), - ((-1, {_sV: _d}), (-1, {_sV: _ena})), -) - -HTTP_TOKENS_STATE: StaticSchema = ( - 14, - n0, - _HTS, - 0, - (_opt, _requ), - ((-1, {_sV: _opt}), (-1, {_sV: _requ})), -) - -INSTANCE_METADATA_TAGS_STATE: StaticSchema = ( - 14, - n0, - _IMTS, - 0, - (_d, _ena), - ((-1, {_sV: _d}), (-1, {_sV: _ena})), -) - -INSTANCE_METADATA_OPTIONS_STATE: StaticSchema = ( - 14, - n0, - _IMOS, - 0, - (_p, _ap), - ((-1, {_sV: _p}), (-1, {_sV: _ap})), -) - -INSTANCE_METADATA_OPTIONS_RESPONSE: StaticSchema = ( - 18, - n0, - _IMOR, - 0, - (_St, _HTt, _HPRHL, _HE, _HPI, _IMT), - ( - (INSTANCE_METADATA_OPTIONS_STATE, {_aQN: _St, _sN: _st}), - (HTTP_TOKENS_STATE, {_aQN: _HTt, _sN: _hTt}), - (INTEGER, {_aQN: _HPRHL, _sN: _hPRHL}), - (INSTANCE_METADATA_ENDPOINT_STATE, {_aQN: _HE, _sN: _hE}), - (INSTANCE_METADATA_PROTOCOL_STATE, {_aQN: _HPI, _sN: _hPI}), - (INSTANCE_METADATA_TAGS_STATE, {_aQN: _IMT, _sN: _iMT}), - ), -) - -MONITORING_STATE: StaticSchema = ( - 14, - n0, - _MSon, - 0, - (_d, _disab, _ena, _p), - ((-1, {_sV: _d}), (-1, {_sV: _disab}), (-1, {_sV: _ena}), (-1, {_sV: _p})), -) - -MONITORING: StaticSchema = ( - 18, - n0, - _Mon, - 0, - (_St,), - ((MONITORING_STATE, {_aQN: _St, _sN: _st}),), -) - -INSTANCE_NETWORK_INTERFACE_ASSOCIATION: StaticSchema = ( - 18, - n0, - _INIA, - 0, - (_CI, _COI, _IOI, _PDNu, _PI), - ( - (STRING, {_aQN: _CI, _sN: _cI}), - (STRING, {_aQN: _COI, _sN: _cOI}), - (STRING, {_aQN: _IOI, _sN: _iOI}), - (STRING, {_aQN: _PDNu, _sN: _pDNu}), - (STRING, {_aQN: _PI, _sN: _pI}), - ), -) - -INSTANCE_ATTACHMENT_ENA_SRD_UDP_SPECIFICATION: StaticSchema = ( - 18, - n0, - _IAESUS, - 0, - (_ESUE,), - ((BOOLEAN, {_aQN: _ESUE, _sN: _eSUE}),), -) - -INSTANCE_ATTACHMENT_ENA_SRD_SPECIFICATION: StaticSchema = ( - 18, - n0, - _IAESS, - 0, - (_ESE, _ESUS), - ( - (BOOLEAN, {_aQN: _ESE, _sN: _eSE}), - (INSTANCE_ATTACHMENT_ENA_SRD_UDP_SPECIFICATION, {_aQN: _ESUS, _sN: _eSUS}), - ), -) - -INSTANCE_NETWORK_INTERFACE_ATTACHMENT: StaticSchema = ( - 18, - n0, - _INIAn, - 0, - (_ATtt, _AIt, _DOT, _DI, _Sta, _NCI, _ESS, _EQC), - ( - (DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), - (STRING, {_aQN: _AIt, _sN: _aIt}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (INTEGER, {_aQN: _DI, _sN: _dI}), - (ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), - (INTEGER, {_aQN: _NCI, _sN: _nCI}), - (INSTANCE_ATTACHMENT_ENA_SRD_SPECIFICATION, {_aQN: _ESS, _sN: _eSS}), - (INTEGER, {_aQN: _EQC, _sN: _eQC}), - ), -) - -CONNECTION_TRACKING_SPECIFICATION_RESPONSE: StaticSchema = ( - 18, - n0, - _CTSRo, - 0, - (_TET, _UST, _UTd), - ( - (INTEGER, {_aQN: _TET, _sN: _tET}), - (INTEGER, {_aQN: _UST, _sN: _uST}), - (INTEGER, {_aQN: _UTd, _sN: _uTd}), - ), -) - -INSTANCE_IPV4_PREFIX: StaticSchema = ( - 18, - n0, - _IIPn, - 0, - (_IPpvre,), - ((STRING, {_aQN: _IPpvre, _sN: _iPp}),), -) - -INSTANCE_IPV4_PREFIX_LIST: StaticSchema = ( - 16, - n0, - _IIPL, - 0, - (_me,), - ((INSTANCE_IPV4_PREFIX, {_sN: _i}),), -) - -INSTANCE_IPV6_PREFIX: StaticSchema = ( - 18, - n0, - _IIPns, - 0, - (_IPpv,), - ((STRING, {_aQN: _IPpv, _sN: _iPpvr}),), -) - -INSTANCE_IPV6_PREFIX_LIST: StaticSchema = ( - 16, - n0, - _IIPLn, - 0, - (_me,), - ((INSTANCE_IPV6_PREFIX, {_sN: _i}),), -) - -INSTANCE_PRIVATE_IP_ADDRESS: StaticSchema = ( - 18, - n0, - _IPIA, - 0, - (_Ass, _Prim, _PDNr, _PIAr), - ( - (INSTANCE_NETWORK_INTERFACE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), - (BOOLEAN, {_aQN: _Prim, _sN: _prim}), - (STRING, {_aQN: _PDNr, _sN: _pDNr}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - ), -) - -INSTANCE_PRIVATE_IP_ADDRESS_LIST: StaticSchema = ( - 16, - n0, - _IPIAL, - 0, - (_me,), - ((INSTANCE_PRIVATE_IP_ADDRESS, {_sN: _i}),), -) - -INSTANCE_NETWORK_INTERFACE: StaticSchema = ( - 18, - n0, - _INI, - 0, - ( - _Ass, - _At, - _Des, - _G, - _IAp, - _MAa, - _NII, - _OIw, - _PDNr, - _PIAr, - _PIAri, - _SDC, - _Sta, - _SIu, - _VI, - _ITnte, - _IPpvr, - _IPp, - _CTC, - _Op, - ), - ( - (INSTANCE_NETWORK_INTERFACE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), - (INSTANCE_NETWORK_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), - (STRING, {_aQN: _Des, _sN: _desc}), - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - (INSTANCE_IPV6_ADDRESS_LIST, {_aQN: _IAS, _sN: _iAS}), - (STRING, {_aQN: _MAa, _sN: _mAa}), - (STRING, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _PDNr, _sN: _pDNr}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - (INSTANCE_PRIVATE_IP_ADDRESS_LIST, {_aQN: _PIASr, _sN: _pIAS}), - (BOOLEAN, {_aQN: _SDC, _sN: _sDC}), - (NETWORK_INTERFACE_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _ITnte, _sN: _iTnt}), - (INSTANCE_IPV4_PREFIX_LIST, {_aQN: _IPSpv, _sN: _iPS}), - (INSTANCE_IPV6_PREFIX_LIST, {_aQN: _IPSpvr, _sN: _iPSp}), - (CONNECTION_TRACKING_SPECIFICATION_RESPONSE, {_aQN: _CTC, _sN: _cTC}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - ), -) - -INSTANCE_NETWORK_INTERFACE_LIST: StaticSchema = ( - 16, - n0, - _INIL, - 0, - (_me,), - ((INSTANCE_NETWORK_INTERFACE, {_sN: _i}),), -) - -INSTANCE_NETWORK_PERFORMANCE_OPTIONS: StaticSchema = ( - 18, - n0, - _INPO, - 0, - (_BW,), - ((INSTANCE_BANDWIDTH_WEIGHTING, {_aQN: _BW, _sN: _bW}),), -) - -PRIVATE_DNS_NAME_OPTIONS_RESPONSE: StaticSchema = ( - 18, - n0, - _PDNOR, - 0, - (_HT, _ERNDAR, _ERNDAAAAR), - ( - (HOSTNAME_TYPE, {_aQN: _HT, _sN: _hT}), - (BOOLEAN, {_aQN: _ERNDAR, _sN: _eRNDAR}), - (BOOLEAN, {_aQN: _ERNDAAAAR, _sN: _eRNDAAAAR}), - ), -) - -INSTANCE_SECONDARY_INTERFACE_ATTACHMENT: StaticSchema = ( - 18, - n0, - _ISIA, - 0, - (_ATtt, _AIt, _DOT, _DI, _Sta, _NCI), - ( - (MILLISECOND_DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), - (STRING, {_aQN: _AIt, _sN: _aIt}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (INTEGER, {_aQN: _DI, _sN: _dI}), - (ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), - (INTEGER, {_aQN: _NCI, _sN: _nCI}), - ), -) - -INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS: StaticSchema = ( - 18, - n0, - _ISIPIA, - 0, - (_PIAr,), - ((STRING, {_aQN: _PIAr, _sN: _pIAr}),), -) - -INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST: StaticSchema = ( - 16, - n0, - _ISIPIAL, - 0, - (_me,), - ((INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS, {_sN: _i}),), -) - -SECONDARY_INTERFACE_ID: StaticSchema = (3, n0, _SIIe, 0) - -SECONDARY_INTERFACE_STATUS: StaticSchema = ( - 14, - n0, - _SISe, - 0, - (_av, _iu), - ((-1, {_sV: _av}), (-1, {_sV: _iu_})), -) - -INSTANCE_SECONDARY_INTERFACE: StaticSchema = ( - 18, - n0, - _ISIn, - 0, - (_At, _MAa, _SIIe, _OIw, _PIAri, _SDC, _Sta, _SSIe, _SNI, _ITnte), - ( - (INSTANCE_SECONDARY_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), - (STRING, {_aQN: _MAa, _sN: _mAa}), - (SECONDARY_INTERFACE_ID, {_aQN: _SIIe, _sN: _sIIe}), - (STRING, {_aQN: _OIw, _sN: _oI}), - ( - INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST, - {_aQN: _PIASri, _sN: _pIASr}, - ), - (BOOLEAN, {_aQN: _SDC, _sN: _sDC}), - (SECONDARY_INTERFACE_STATUS, {_aQN: _Sta, _sN: _sta}), - (SECONDARY_SUBNET_ID, {_aQN: _SSIe, _sN: _sSIe}), - (SECONDARY_NETWORK_ID, {_aQN: _SNI, _sN: _sNI}), - (SECONDARY_INTERFACE_TYPE, {_aQN: _ITnte, _sN: _iTnt}), - ), -) - -INSTANCE_SECONDARY_INTERFACE_LIST: StaticSchema = ( - 16, - n0, - _ISIL, - 0, - (_me,), - ((INSTANCE_SECONDARY_INTERFACE, {_sN: _i}),), -) - -INSTANCE: StaticSchema = ( - 18, - n0, - _In, - 0, - ( - _Arc, - _BDMl, - _CTl, - _EO, - _ESna, - _Hy, - _IIP, - _ILn, - _EGAl, - _EIAAla, - _NIe, - _OA, - _RDN, - _RDT, - _SGe, - _SDC, - _SIRI, - _SNSr, - _SRt, - _Tag, - _VTi, - _CO, - _CBI, - _CRI, - _CRSa, - _HO, - _Lic, - _MO, - _EOn, - _BMo, - _PDl, - _UO, - _UOUT, - _PDNO, - _IApv, - _TSp, - _MOa, - _CIBM, - _NPO, - _Op, - _SIec, - _II, - _IIm, - _St, - _PDNr, - _PDNu, - _STR, - _KN, - _ALI, - _PCro, - _IT, - _LTa, - _Pl, - _KI, - _RIa, - _Pla, - _Mon, - _SIu, - _VI, - _PIAr, - _PIAu, - ), - ( - (ARCHITECTURE_VALUES, {_aQN: _Arc, _sN: _arch}), - (INSTANCE_BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - (BOOLEAN, {_aQN: _EO, _sN: _eO}), - (BOOLEAN, {_aQN: _ESna, _sN: _eSna}), - (HYPERVISOR_TYPE, {_aQN: _Hy, _sN: _hy}), - (IAM_INSTANCE_PROFILE, {_aQN: _IIP, _sN: _iIP}), - (INSTANCE_LIFECYCLE_TYPE, {_aQN: _ILn, _sN: _iLn}), - (ELASTIC_GPU_ASSOCIATION_LIST, {_aQN: _EGASl, _sN: _eGASl}), - (ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION_LIST, {_aQN: _EIAASl, _sN: _eIAASl}), - (INSTANCE_NETWORK_INTERFACE_LIST, {_aQN: _NIS, _sN: _nIS}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _RDN, _sN: _rDN}), - (DEVICE_TYPE, {_aQN: _RDT, _sN: _rDT}), - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - (BOOLEAN, {_aQN: _SDC, _sN: _sDC}), - (STRING, {_aQN: _SIRI, _sN: _sIRI}), - (STRING, {_aQN: _SNSr, _sN: _sNS}), - (STATE_REASON, {_aQN: _SRt, _sN: _sRt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (VIRTUALIZATION_TYPE, {_aQN: _VTi, _sN: _vTi}), - (CPU_OPTIONS, {_aQN: _CO, _sN: _cOp}), - (STRING, {_aQN: _CBI, _sN: _cBI}), - (STRING, {_aQN: _CRI, _sN: _cRI}), - (CAPACITY_RESERVATION_SPECIFICATION_RESPONSE, {_aQN: _CRSa, _sN: _cRS}), - (HIBERNATION_OPTIONS, {_aQN: _HO, _sN: _hO}), - (LICENSE_LIST, {_aQN: _LSicen, _sN: _lSi}), - (INSTANCE_METADATA_OPTIONS_RESPONSE, {_aQN: _MO, _sN: _mO}), - (ENCLAVE_OPTIONS, {_aQN: _EOn, _sN: _eOn}), - (BOOT_MODE_VALUES, {_aQN: _BMo, _sN: _bMo}), - (STRING, {_aQN: _PDl, _sN: _pDl}), - (STRING, {_aQN: _UO, _sN: _uO}), - (MILLISECOND_DATE_TIME, {_aQN: _UOUT, _sN: _uOUT}), - (PRIVATE_DNS_NAME_OPTIONS_RESPONSE, {_aQN: _PDNO, _sN: _pDNO}), - (STRING, {_aQN: _IApv, _sN: _iApv}), - (STRING, {_aQN: _TSp, _sN: _tSp}), - (INSTANCE_MAINTENANCE_OPTIONS, {_aQN: _MOa, _sN: _mOa}), - (INSTANCE_BOOT_MODE_VALUES, {_aQN: _CIBM, _sN: _cIBM}), - (INSTANCE_NETWORK_PERFORMANCE_OPTIONS, {_aQN: _NPO, _sN: _nPO}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - (INSTANCE_SECONDARY_INTERFACE_LIST, {_aQN: _SIS, _sN: _sIS}), - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _IIm, _sN: _iIm}), - (INSTANCE_STATE, {_aQN: _ISnsta, _sN: _iSnst}), - (STRING, {_aQN: _PDNr, _sN: _pDNr}), - (STRING, {_aQN: _DN, _sN: _dN}), - (STRING, {_aQN: _Rea, _sN: _rea}), - (STRING, {_aQN: _KN, _sN: _kN}), - (INTEGER, {_aQN: _ALI, _sN: _aLI}), - (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (DATE_TIME, {_aQN: _LTa, _sN: _lTa}), - (PLACEMENT, {_aQN: _Pl, _sN: _pla}), - (STRING, {_aQN: _KI, _sN: _kI}), - (STRING, {_aQN: _RIa, _sN: _rIa}), - (PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), - (MONITORING, {_aQN: _Mon, _sN: _monit}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - (STRING, {_aQN: _IA, _sN: _iApd}), - ), -) - -INSTANCE_LIST: StaticSchema = (16, n0, _ILns, 0, (_me,), ((INSTANCE, {_sN: _i}),)) - -RESERVATION: StaticSchema = ( - 18, - n0, - _Rese, - 0, - (_RI, _OIw, _RIeq, _G, _Ins), - ( - (STRING, {_aQN: _RI, _sN: _rIes}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _RIeq, _sN: _rIeq}), - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - (INSTANCE_LIST, {_aQN: _ISnst, _sN: _iSns}), - ), -) - -RESERVATION_LIST: StaticSchema = (16, n0, _RLe, 0, (_me,), ((RESERVATION, {_sN: _i}),)) - -DESCRIBE_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOesc, - {_sSI: _cDIRomamazo, _smit: None}, - (_NTex, _Reser), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (RESERVATION_LIST, {_aQN: _RSese, _sN: _rSese}), - ), -) - -DESCRIBE_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DIescr, - 0, - DESCRIBE_INSTANCES_INPUT, - DESCRIBE_INSTANCES_OUTPUT, - (), -) - -DESCRIBE_INSTANCE_SQL_HA_STATES_REQUEST_MAX_RESULTS_INTEGER: StaticSchema = ( - 7, - n0, - _DISHSRMRI, - 0, -) - -DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_INPUT: StaticSchema = ( - 18, - n0, - _DISHHSI, - {_sSI: _cDISHHSR, _sm: None}, - (_IIn, _ST, _ETnd, _NTex, _MR, _Fil, _DR), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II}), - (MILLISECOND_DATE_TIME, 0), - (MILLISECOND_DATE_TIME, 0), - (NEXT_TOKEN, 0), - (DESCRIBE_INSTANCE_SQL_HA_STATES_REQUEST_MAX_RESULTS_INTEGER, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -HA_STATUS: StaticSchema = ( - 14, - n0, - _HSa, - 0, - (_proc, _act, _stand, _inv), - ((-1, {_sV: _proc}), (-1, {_sV: _act}), (-1, {_sV: _stand}), (-1, {_sV: _inv})), -) - -SQL_SERVER_LICENSE_USAGE: StaticSchema = ( - 14, - n0, - _SSLU, - 0, - (_ful, _wai), - ((-1, {_sV: _ful}), (-1, {_sV: _wai})), -) - -REGISTERED_INSTANCE: StaticSchema = ( - 18, - n0, - _RIeg, - 0, - (_II, _SSLU, _HSa, _PSro, _LUTa, _SSC, _Tag), - ( - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (SQL_SERVER_LICENSE_USAGE, {_aQN: _SSLU, _sN: _sSLU}), - (HA_STATUS, {_aQN: _HSa, _sN: _hSa}), - (STRING, {_aQN: _PSro, _sN: _pSro}), - (MILLISECOND_DATE_TIME, {_aQN: _LUTa, _sN: _lUTa}), - (STRING, {_aQN: _SSC, _sN: _sSC}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -REGISTERED_INSTANCE_LIST: StaticSchema = ( - 16, - n0, - _RILeg, - 0, - (_me,), - ((REGISTERED_INSTANCE, {_sN: _i}),), -) - -DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_OUTPUT: StaticSchema = ( - 18, - n0, - _DISHHSO, - {_sSI: _cDISHHSRo, _smit: None}, - (_Ins, _NTex), - ( - (REGISTERED_INSTANCE_LIST, {_aQN: _ISns, _sN: _iSn}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES: StaticOperationSchema = ( - 23, - n0, - _DISHHS, - 0, - DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_INPUT, - DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_OUTPUT, - (), -) - -DESCRIBE_INSTANCE_SQL_HA_STATES_INPUT: StaticSchema = ( - 18, - n0, - _DISHSI, - {_sSI: _cDISHSR, _sm: None}, - (_IIn, _NTex, _MR, _Fil, _DR), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II}), - (NEXT_TOKEN, 0), - (DESCRIBE_INSTANCE_SQL_HA_STATES_REQUEST_MAX_RESULTS_INTEGER, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -DESCRIBE_INSTANCE_SQL_HA_STATES_OUTPUT: StaticSchema = ( - 18, - n0, - _DISHSO, - {_sSI: _cDISHSRo, _smit: None}, - (_Ins, _NTex), - ( - (REGISTERED_INSTANCE_LIST, {_aQN: _ISns, _sN: _iSn}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INSTANCE_SQL_HA_STATES: StaticOperationSchema = ( - 23, - n0, - _DISHS, - 0, - DESCRIBE_INSTANCE_SQL_HA_STATES_INPUT, - DESCRIBE_INSTANCE_SQL_HA_STATES_OUTPUT, - (), -) - -DESCRIBE_INSTANCE_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _DISIe, - {_sSI: _cDISRom, _sm: None}, - (_IIn, _MR, _NTex, _IMR, _DR, _Fil, _IAI), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II}), - (INTEGER, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, {_aQN: _IAI, _sN: _iAI}), - ), -) - -SUMMARY_STATUS: StaticSchema = ( - 14, - n0, - _SSum, - 0, - (_ok, _imp, _id__, _na______, _init), - ( - (-1, {_sV: _ok}), - (-1, {_sV: _imp}), - (-1, {_sV: _id_}), - (-1, {_sV: _na_____}), - (-1, {_sV: _init}), - ), -) - -APPLICATION_STATUS_SUMMARY: StaticSchema = ( - 18, - n0, - _ASSp, - 0, - (_Sta, _ISmp), - ( - (SUMMARY_STATUS, {_aQN: _Sta, _sN: _sta}), - (MILLISECOND_DATE_TIME, {_aQN: _ISmp, _sN: _iSmp}), - ), -) - -STATUS_NAME: StaticSchema = (14, n0, _SNt, 0, (_reac,), ((-1, {_sV: _reac}),)) - -STATUS_TYPE: StaticSchema = ( - 14, - n0, - _STtat, - 0, - (_pas, _fa, _id__, _init), - ((-1, {_sV: _pas}), (-1, {_sV: _fa}), (-1, {_sV: _id_}), (-1, {_sV: _init})), -) - -EBS_STATUS_DETAILS: StaticSchema = ( - 18, - n0, - _ESD, - 0, - (_ISmp, _N, _Sta), - ( - (MILLISECOND_DATE_TIME, {_aQN: _ISmp, _sN: _iSmp}), - (STATUS_NAME, {_aQN: _N, _sN: _nam}), - (STATUS_TYPE, {_aQN: _Sta, _sN: _sta}), - ), -) - -EBS_STATUS_DETAILS_LIST: StaticSchema = ( - 16, - n0, - _ESDL, - 0, - (_me,), - ((EBS_STATUS_DETAILS, {_sN: _i}),), -) - -EBS_STATUS_SUMMARY: StaticSchema = ( - 18, - n0, - _ESSb, - 0, - (_Det, _Sta), - ( - (EBS_STATUS_DETAILS_LIST, {_aQN: _Det, _sN: _detai}), - (SUMMARY_STATUS, {_aQN: _Sta, _sN: _sta}), - ), -) - -EVENT_CODE: StaticSchema = ( - 14, - n0, - _ECv, - 0, - (_ir__, _sr, _sm__, _ir____, _is____), - ( - (-1, {_sV: _ir___}), - (-1, {_sV: _sr_}), - (-1, {_sV: _sm___}), - (-1, {_sV: _ir_____}), - (-1, {_sV: _is_____}), - ), -) - -INSTANCE_EVENT_ID: StaticSchema = (3, n0, _IEI, 0) - -INSTANCE_STATUS_EVENT: StaticSchema = ( - 18, - n0, - _ISEn, - 0, - (_IEI, _C, _Des, _NA, _NB, _NBD), - ( - (INSTANCE_EVENT_ID, {_aQN: _IEI, _sN: _iEI}), - (EVENT_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Des, _sN: _desc}), - (DATE_TIME, {_aQN: _NA, _sN: _nA}), - (DATE_TIME, {_aQN: _NB, _sN: _nB}), - (DATE_TIME, {_aQN: _NBD, _sN: _nBD}), - ), -) - -INSTANCE_STATUS_EVENT_LIST: StaticSchema = ( - 16, - n0, - _ISEL, - 0, - (_me,), - ((INSTANCE_STATUS_EVENT, {_sN: _i}),), -) - -INSTANCE_STATUS_DETAILS: StaticSchema = ( - 18, - n0, - _ISD, - 0, - (_ISmp, _N, _Sta), - ( - (DATE_TIME, {_aQN: _ISmp, _sN: _iSmp}), - (STATUS_NAME, {_aQN: _N, _sN: _nam}), - (STATUS_TYPE, {_aQN: _Sta, _sN: _sta}), - ), -) - -INSTANCE_STATUS_DETAILS_LIST: StaticSchema = ( - 16, - n0, - _ISDL, - 0, - (_me,), - ((INSTANCE_STATUS_DETAILS, {_sN: _i}),), -) - -INSTANCE_STATUS_SUMMARY: StaticSchema = ( - 18, - n0, - _ISSn, - 0, - (_Det, _Sta), - ( - (INSTANCE_STATUS_DETAILS_LIST, {_aQN: _Det, _sN: _detai}), - (SUMMARY_STATUS, {_aQN: _Sta, _sN: _sta}), - ), -) - -PERFORMANCE_STATUS_SUMMARY: StaticSchema = ( - 18, - n0, - _PSSe, - 0, - (_Sta, _ISmp, _Rem), - ( - (SUMMARY_STATUS, {_aQN: _Sta, _sN: _sta}), - (MILLISECOND_DATE_TIME, {_aQN: _ISmp, _sN: _iSmp}), - (STRING, {_aQN: _Rem, _sN: _rem}), - ), -) - -INSTANCE_STATUS: StaticSchema = ( - 18, - n0, - _ISnstan, - 0, - (_AZ, _AZI, _OA, _Op, _Ev, _II, _ISnsta, _ISnstan, _SSy, _AES, _ASp, _PSerf), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _OA, _sN: _oA}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - (INSTANCE_STATUS_EVENT_LIST, {_aQN: _ESv, _sN: _eSv}), - (STRING, {_aQN: _II, _sN: _iI}), - (INSTANCE_STATE, {_aQN: _ISnsta, _sN: _iSnst}), - (INSTANCE_STATUS_SUMMARY, {_aQN: _ISnstan, _sN: _iSnsta}), - (INSTANCE_STATUS_SUMMARY, {_aQN: _SSy, _sN: _sSy}), - (EBS_STATUS_SUMMARY, {_aQN: _AES, _sN: _aES}), - (APPLICATION_STATUS_SUMMARY, {_aQN: _ASp, _sN: _aSp}), - (PERFORMANCE_STATUS_SUMMARY, {_aQN: _PSerf, _sN: _pSerf}), - ), -) - -INSTANCE_STATUS_LIST: StaticSchema = ( - 16, - n0, - _ISLn, - 0, - (_me,), - ((INSTANCE_STATUS, {_sN: _i}),), -) - -DESCRIBE_INSTANCE_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _DISOe, - {_sSI: _cDISRoma, _smit: None}, - (_ISnstanc, _NTex), - ( - (INSTANCE_STATUS_LIST, {_aQN: _ISSns, _sN: _iSS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INSTANCE_STATUS: StaticOperationSchema = ( - 23, - n0, - _DISe, - 0, - DESCRIBE_INSTANCE_STATUS_INPUT, - DESCRIBE_INSTANCE_STATUS_OUTPUT, - (), -) - -DESCRIBE_INSTANCE_TOPOLOGY_GROUP_NAME_SET: StaticSchema = ( - 16, - n0, - _DITGNS, - 0, - (_me,), - ((PLACEMENT_GROUP_NAME, 0),), -) - -DESCRIBE_INSTANCE_TOPOLOGY_INSTANCE_ID_SET: StaticSchema = ( - 16, - n0, - _DITIIS, - 0, - (_me,), - ((INSTANCE_ID, 0),), -) - -DESCRIBE_INSTANCE_TOPOLOGY_MAX_RESULTS: StaticSchema = (7, n0, _DITMR, 0) - -DESCRIBE_INSTANCE_TOPOLOGY_INPUT: StaticSchema = ( - 18, - n0, - _DITI, - {_sSI: _cDITR, _sm: None}, - (_DR, _NTex, _MR, _IIn, _GNr, _Fil), - ( - (BOOLEAN, 0), - (STRING, 0), - (DESCRIBE_INSTANCE_TOPOLOGY_MAX_RESULTS, 0), - (DESCRIBE_INSTANCE_TOPOLOGY_INSTANCE_ID_SET, {_sN: _II}), - (DESCRIBE_INSTANCE_TOPOLOGY_GROUP_NAME_SET, {_sN: _GN}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -NETWORK_NODES_LIST: StaticSchema = (16, n0, _NNL, 0, (_me,), ((STRING, {_sN: _i}),)) - -INSTANCE_TOPOLOGY: StaticSchema = ( - 18, - n0, - _ITnstan, - 0, - (_II, _IT, _GN, _NN, _AZ, _ZI, _CBI), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _GN, _sN: _gN}), - (NETWORK_NODES_LIST, {_aQN: _NNS, _sN: _nNS}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _ZI, _sN: _zI}), - (STRING, {_aQN: _CBI, _sN: _cBI}), - ), -) - -INSTANCE_SET: StaticSchema = ( - 16, - n0, - _ISns, - 0, - (_me,), - ((INSTANCE_TOPOLOGY, {_sN: _i}),), -) - -DESCRIBE_INSTANCE_TOPOLOGY_OUTPUT: StaticSchema = ( - 18, - n0, - _DITO, - {_sSI: _cDITRo, _smit: None}, - (_Ins, _NTex), - ((INSTANCE_SET, {_aQN: _ISns, _sN: _iSn}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_INSTANCE_TOPOLOGY: StaticOperationSchema = ( - 23, - n0, - _DIT, - 0, - DESCRIBE_INSTANCE_TOPOLOGY_INPUT, - DESCRIBE_INSTANCE_TOPOLOGY_OUTPUT, - (), -) - -LOCATION_TYPE: StaticSchema = ( - 14, - n0, - _LTo, - 0, - (_reg, _az, _azi, _out), - ((-1, {_sV: _reg}), (-1, {_sV: _az_}), (-1, {_sV: _azi_}), (-1, {_sV: _out})), -) - -DITO_MAX_RESULTS: StaticSchema = (7, n0, _DITOMR, 0) - -DESCRIBE_INSTANCE_TYPE_OFFERINGS_INPUT: StaticSchema = ( - 18, - n0, - _DITOI, - {_sSI: _cDITOR, _sm: None}, - (_DR, _LTo, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (LOCATION_TYPE, 0), - (FILTER_LIST, {_sN: _Fi}), - (DITO_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -LOCATION: StaticSchema = (3, n0, _Loca, 0) - -INSTANCE_TYPE_OFFERING: StaticSchema = ( - 18, - n0, - _ITO, - 0, - (_IT, _LTo, _Loca), - ( - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (LOCATION_TYPE, {_aQN: _LTo, _sN: _lTo}), - (LOCATION, {_aQN: _Loca, _sN: _loca}), - ), -) - -INSTANCE_TYPE_OFFERINGS_LIST: StaticSchema = ( - 16, - n0, - _ITOL, - 0, - (_me,), - ((INSTANCE_TYPE_OFFERING, {_sN: _i}),), -) - -DESCRIBE_INSTANCE_TYPE_OFFERINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DITOO, - {_sSI: _cDITORo, _smit: None}, - (_ITOn, _NTex), - ( - (INSTANCE_TYPE_OFFERINGS_LIST, {_aQN: _ITOS, _sN: _iTOS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INSTANCE_TYPE_OFFERINGS: StaticOperationSchema = ( - 23, - n0, - _DITOe, - 0, - DESCRIBE_INSTANCE_TYPE_OFFERINGS_INPUT, - DESCRIBE_INSTANCE_TYPE_OFFERINGS_OUTPUT, - (), -) - -INCLUDE_UNSUPPORTED_IN_REGION: StaticSchema = (2, n0, _IUIR, 0) - -REQUEST_INSTANCE_TYPE_LIST: StaticSchema = ( - 16, - n0, - _RITL, - 0, - (_me,), - ((INSTANCE_TYPE, 0),), -) - -DIT_MAX_RESULTS: StaticSchema = (7, n0, _DITMRa, 0) - -DESCRIBE_INSTANCE_TYPES_INPUT: StaticSchema = ( - 18, - n0, - _DITIe, - {_sSI: _cDITRom, _sm: None}, - (_DR, _ITnsta, _Fil, _MR, _NTex, _IUIR), - ( - (BOOLEAN, 0), - (REQUEST_INSTANCE_TYPE_LIST, {_sN: _IT}), - (FILTER_LIST, {_sN: _Fi}), - (DIT_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (INCLUDE_UNSUPPORTED_IN_REGION, 0), - ), -) - -AUTO_RECOVERY_FLAG: StaticSchema = (2, n0, _ARF, 0) - -BARE_METAL_FLAG: StaticSchema = (2, n0, _BMF, 0) - -BURSTABLE_PERFORMANCE_FLAG: StaticSchema = (2, n0, _BPFu, 0) - -CURRENT_GENERATION_FLAG: StaticSchema = (2, n0, _CGF, 0) - -DEDICATED_HOST_FLAG: StaticSchema = (2, n0, _DHF, 0) - -ATTACHMENT_LIMIT_TYPE: StaticSchema = ( - 14, - n0, - _ALT, - 0, - (_SHARED, _DEDICATED), - ((-1, {_sV: _sh}), (-1, {_sV: _ded})), -) - -BASELINE_BANDWIDTH_IN_MBPS: StaticSchema = (7, n0, _BBIM, 0) - -BASELINE_IOPS: StaticSchema = (7, n0, _BIa, 0) - -BASELINE_THROUGHPUT_IN_M_BPS: StaticSchema = (10, n0, _BTIMB, 0) - -EBS_CARD_INDEX: StaticSchema = (7, n0, _ECI, 0) - -MAXIMUM_BANDWIDTH_IN_MBPS: StaticSchema = (7, n0, _MBIM, 0) - -MAXIMUM_IOPS: StaticSchema = (7, n0, _MI, 0) - -MAXIMUM_THROUGHPUT_IN_M_BPS: StaticSchema = (10, n0, _MTIMB, 0) - -EBS_CARD_INFO: StaticSchema = ( - 18, - n0, - _ECIb, - 0, - (_ECI, _BBIM, _BTIMB, _BIa, _MBIM, _MTIMB, _MI), - ( - (EBS_CARD_INDEX, {_aQN: _ECI, _sN: _eCI}), - (BASELINE_BANDWIDTH_IN_MBPS, {_aQN: _BBIM, _sN: _bBIM}), - (BASELINE_THROUGHPUT_IN_M_BPS, {_aQN: _BTIMB, _sN: _bTIMB}), - (BASELINE_IOPS, {_aQN: _BIa, _sN: _bIa}), - (MAXIMUM_BANDWIDTH_IN_MBPS, {_aQN: _MBIM, _sN: _mBIM}), - (MAXIMUM_THROUGHPUT_IN_M_BPS, {_aQN: _MTIMB, _sN: _mTIMB}), - (MAXIMUM_IOPS, {_aQN: _MI, _sN: _mI}), - ), -) - -EBS_CARD_INFO_LIST: StaticSchema = ( - 16, - n0, - _ECIL, - 0, - (_me,), - ((EBS_CARD_INFO, {_sN: _i}),), -) - -EBS_OPTIMIZED_INFO: StaticSchema = ( - 18, - n0, - _EOI, - 0, - (_BBIM, _BTIMB, _BIa, _MBIM, _MTIMB, _MI), - ( - (BASELINE_BANDWIDTH_IN_MBPS, {_aQN: _BBIM, _sN: _bBIM}), - (BASELINE_THROUGHPUT_IN_M_BPS, {_aQN: _BTIMB, _sN: _bTIMB}), - (BASELINE_IOPS, {_aQN: _BIa, _sN: _bIa}), - (MAXIMUM_BANDWIDTH_IN_MBPS, {_aQN: _MBIM, _sN: _mBIM}), - (MAXIMUM_THROUGHPUT_IN_M_BPS, {_aQN: _MTIMB, _sN: _mTIMB}), - (MAXIMUM_IOPS, {_aQN: _MI, _sN: _mI}), - ), -) - -EBS_OPTIMIZED_SUPPORT: StaticSchema = ( - 14, - n0, - _EOS, - 0, - (_uns, _supp, _def), - ((-1, {_sV: _uns}), (-1, {_sV: _supp}), (-1, {_sV: _def})), -) - -EBS_ENCRYPTION_SUPPORT: StaticSchema = ( - 14, - n0, - _EES, - 0, - (_uns, _supp), - ((-1, {_sV: _uns}), (-1, {_sV: _supp})), -) - -MAXIMUM_EBS_ATTACHMENTS: StaticSchema = (7, n0, _MEA, 0) - -MAXIMUM_EBS_CARDS: StaticSchema = (7, n0, _MEC, 0) - -EBS_NVME_SUPPORT: StaticSchema = ( - 14, - n0, - _ENS, - 0, - (_UNSUPPORTED, _SUPPORTED, _REQUIRED), - ((-1, {_sV: _uns}), (-1, {_sV: _supp}), (-1, {_sV: _requ})), -) - -EBS_INFO: StaticSchema = ( - 18, - n0, - _EIb, - 0, - (_EOS, _ESnc, _EOI, _NSv, _MEA, _ALT, _MEC, _ECb), - ( - (EBS_OPTIMIZED_SUPPORT, {_aQN: _EOS, _sN: _eOS}), - (EBS_ENCRYPTION_SUPPORT, {_aQN: _ESnc, _sN: _eSncr}), - (EBS_OPTIMIZED_INFO, {_aQN: _EOI, _sN: _eOI}), - (EBS_NVME_SUPPORT, {_aQN: _NSv, _sN: _nSv}), - (MAXIMUM_EBS_ATTACHMENTS, {_aQN: _MEA, _sN: _mEA}), - (ATTACHMENT_LIMIT_TYPE, {_aQN: _ALT, _sN: _aLT}), - (MAXIMUM_EBS_CARDS, {_aQN: _MEC, _sN: _mEC}), - (EBS_CARD_INFO_LIST, {_aQN: _ECS, _sN: _eCS}), - ), -) - -FPGA_DEVICE_COUNT: StaticSchema = (7, n0, _FDC, 0) - -FPGA_DEVICE_MANUFACTURER_NAME: StaticSchema = (3, n0, _FDMN, 0) - -FPGA_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _FDMS, 0) - -FPGA_DEVICE_MEMORY_INFO: StaticSchema = ( - 18, - n0, - _FDMI, - 0, - (_SIMB,), - ((FPGA_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), -) - -FPGA_DEVICE_NAME: StaticSchema = (3, n0, _FDNp, 0) - -FPGA_DEVICE_INFO: StaticSchema = ( - 18, - n0, - _FDI, - 0, - (_N, _Manu, _Cou, _MIe), - ( - (FPGA_DEVICE_NAME, {_aQN: _N, _sN: _nam}), - (FPGA_DEVICE_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), - (FPGA_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), - (FPGA_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), - ), -) - -FPGA_DEVICE_INFO_LIST: StaticSchema = ( - 16, - n0, - _FDIL, - 0, - (_me,), - ((FPGA_DEVICE_INFO, {_sN: _i}),), -) - -TOTAL_FPGA_MEMORY: StaticSchema = (7, n0, _tFM, 0) - -FPGA_INFO: StaticSchema = ( - 18, - n0, - _FIpga, - 0, - (_Fp, _TFMIMB), - ( - (FPGA_DEVICE_INFO_LIST, {_aQN: _Fp, _sN: _fpg}), - (TOTAL_FPGA_MEMORY, {_aQN: _TFMIMB, _sN: _tFMIMB}), - ), -) - -FREE_TIER_ELIGIBLE_FLAG: StaticSchema = (2, n0, _FTEF, 0) - -GPU_DEVICE_COUNT: StaticSchema = (7, n0, _GDC, 0) - -GPU_PARTITION_SIZE: StaticSchema = (10, n0, _GPS, 0) - -LOGICAL_GPU_COUNT: StaticSchema = (7, n0, _LGC, 0) - -GPU_DEVICE_MANUFACTURER_NAME: StaticSchema = (3, n0, _GDMN, 0) - -GPU_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _GDMS, 0) - -GPU_DEVICE_MEMORY_INFO: StaticSchema = ( - 18, - n0, - _GDMI, - 0, - (_SIMB,), - ((GPU_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), -) - -GPU_DEVICE_NAME: StaticSchema = (3, n0, _GDN, 0) - -WORKLOAD: StaticSchema = (3, n0, _Wo, 0) - -WORKLOADS_LIST: StaticSchema = (16, n0, _WL, 0, (_me,), ((WORKLOAD, {_sN: _i}),)) - -GPU_DEVICE_INFO: StaticSchema = ( - 18, - n0, - _GDI, - 0, - (_N, _Manu, _Cou, _LGC, _GPS, _Wor, _MIe), - ( - (GPU_DEVICE_NAME, {_aQN: _N, _sN: _nam}), - (GPU_DEVICE_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), - (GPU_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), - (LOGICAL_GPU_COUNT, {_aQN: _LGC, _sN: _lGC}), - (GPU_PARTITION_SIZE, {_aQN: _GPS, _sN: _gPS}), - (WORKLOADS_LIST, {_aQN: _WSo, _sN: _wS}), - (GPU_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), - ), -) - -GPU_DEVICE_INFO_LIST: StaticSchema = ( - 16, - n0, - _GDIL, - 0, - (_me,), - ((GPU_DEVICE_INFO, {_sN: _i}),), -) - -TOTAL_GPU_MEMORY: StaticSchema = (7, n0, _tGM, 0) - -GPU_INFO: StaticSchema = ( - 18, - n0, - _GIp, - 0, - (_Gp, _TGMIMB), - ( - (GPU_DEVICE_INFO_LIST, {_aQN: _Gp, _sN: _gpu}), - (TOTAL_GPU_MEMORY, {_aQN: _TGMIMB, _sN: _tGMIMB}), - ), -) - -HIBERNATION_FLAG: StaticSchema = (2, n0, _HF, 0) - -INSTANCE_TYPE_HYPERVISOR: StaticSchema = ( - 14, - n0, - _ITH, - 0, - (_NITRO, _XEN), - ((-1, {_sV: _nit}), (-1, {_sV: _xen})), -) - -INFERENCE_DEVICE_COUNT: StaticSchema = (7, n0, _IDC, 0) - -INFERENCE_DEVICE_MANUFACTURER_NAME: StaticSchema = (3, n0, _IDMN, 0) - -INFERENCE_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _IDMS, 0) - -INFERENCE_DEVICE_MEMORY_INFO: StaticSchema = ( - 18, - n0, - _IDMI, - 0, - (_SIMB,), - ((INFERENCE_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), -) - -INFERENCE_DEVICE_NAME: StaticSchema = (3, n0, _IDN, 0) - -INFERENCE_DEVICE_INFO: StaticSchema = ( - 18, - n0, - _IDI, - 0, - (_Cou, _N, _Manu, _MIe), - ( - (INFERENCE_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), - (INFERENCE_DEVICE_NAME, {_aQN: _N, _sN: _nam}), - (INFERENCE_DEVICE_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), - (INFERENCE_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), - ), -) - -INFERENCE_DEVICE_INFO_LIST: StaticSchema = ( - 16, - n0, - _IDIL, - 0, - (_me,), - ((INFERENCE_DEVICE_INFO, 0),), -) - -TOTAL_INFERENCE_MEMORY: StaticSchema = (7, n0, _tIM, 0) - -INFERENCE_ACCELERATOR_INFO: StaticSchema = ( - 18, - n0, - _IAIn, - 0, - (_Acce, _TIMIMB), - ( - (INFERENCE_DEVICE_INFO_LIST, {_aQN: _Acce, _sN: _accel}), - (TOTAL_INFERENCE_MEMORY, {_aQN: _TIMIMB, _sN: _tIMIMB}), - ), -) - -DISK_COUNT: StaticSchema = (7, n0, _DCisk, 0) - -DISK_SIZE: StaticSchema = (8, n0, _DSi, 0) - -DISK_TYPE: StaticSchema = ( - 14, - n0, - _DTisk, - 0, - (_hd, _ssd), - ((-1, {_sV: _hd}), (-1, {_sV: _ssd})), -) - -DISK_INFO: StaticSchema = ( - 18, - n0, - _DIis, - 0, - (_SIGB, _Cou, _Ty), - ( - (DISK_SIZE, {_aQN: _SIGB, _sN: _sIGB}), - (DISK_COUNT, {_aQN: _Cou, _sN: _cou}), - (DISK_TYPE, {_aQN: _Ty, _sN: _ty}), - ), -) - -DISK_INFO_LIST: StaticSchema = (16, n0, _DIL, 0, (_me,), ((DISK_INFO, {_sN: _i}),)) - -INSTANCE_STORAGE_ENCRYPTION_SUPPORT: StaticSchema = ( - 14, - n0, - _ISES, - 0, - (_uns, _requ), - ((-1, {_sV: _uns}), (-1, {_sV: _requ})), -) - -EPHEMERAL_NVME_SUPPORT: StaticSchema = ( - 14, - n0, - _ENSp, - 0, - (_UNSUPPORTED, _SUPPORTED, _REQUIRED), - ((-1, {_sV: _uns}), (-1, {_sV: _supp}), (-1, {_sV: _requ})), -) - -INSTANCE_STORAGE_INFO: StaticSchema = ( - 18, - n0, - _ISIns, - 0, - (_TSIGB, _Disk, _NSv, _ESnc), - ( - (DISK_SIZE, {_aQN: _TSIGB, _sN: _tSIGB}), - (DISK_INFO_LIST, {_aQN: _Disk, _sN: _disk}), - (EPHEMERAL_NVME_SUPPORT, {_aQN: _NSv, _sN: _nSv}), - (INSTANCE_STORAGE_ENCRYPTION_SUPPORT, {_aQN: _ESnc, _sN: _eSncr}), - ), -) - -INSTANCE_STORAGE_FLAG: StaticSchema = (2, n0, _ISF, 0) - -MEDIA_DEVICE_COUNT: StaticSchema = (7, n0, _MDC, 0) - -MEDIA_DEVICE_MANUFACTURER_NAME: StaticSchema = (3, n0, _MDMN, 0) - -MEDIA_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _MDMS, 0) - -MEDIA_DEVICE_MEMORY_INFO: StaticSchema = ( - 18, - n0, - _MDMI, - 0, - (_SIMB,), - ((MEDIA_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), -) - -MEDIA_DEVICE_NAME: StaticSchema = (3, n0, _MDN, 0) - -MEDIA_DEVICE_INFO: StaticSchema = ( - 18, - n0, - _MDI, - 0, - (_Cou, _N, _Manu, _MIe), - ( - (MEDIA_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), - (MEDIA_DEVICE_NAME, {_aQN: _N, _sN: _nam}), - (MEDIA_DEVICE_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), - (MEDIA_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), - ), -) - -MEDIA_DEVICE_INFO_LIST: StaticSchema = ( - 16, - n0, - _MDIL, - 0, - (_me,), - ((MEDIA_DEVICE_INFO, {_sN: _i}),), -) - -TOTAL_MEDIA_MEMORY: StaticSchema = (7, n0, _TMM, 0) - -MEDIA_ACCELERATOR_INFO: StaticSchema = ( - 18, - n0, - _MAIe, - 0, - (_Acce, _TMMIMB), - ( - (MEDIA_DEVICE_INFO_LIST, {_aQN: _Acce, _sN: _accel}), - (TOTAL_MEDIA_MEMORY, {_aQN: _TMMIMB, _sN: _tMMIMB}), - ), -) - -MEMORY_SIZE: StaticSchema = (8, n0, _MSem, 0) - -MEMORY_INFO: StaticSchema = ( - 18, - n0, - _MIe, - 0, - (_SIMB,), - ((MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), -) - -BANDWIDTH_WEIGHTING_TYPE: StaticSchema = ( - 14, - n0, - _BWT, - 0, - (_DEFAULT, _V_, _E_), - ((-1, {_sV: _def}), (-1, {_sV: _v_____}), (-1, {_sV: _e_})), -) - -BANDWIDTH_WEIGHTING_TYPE_LIST: StaticSchema = ( - 16, - n0, - _BWTL, - 0, - (_me,), - ((BANDWIDTH_WEIGHTING_TYPE, {_sN: _i}),), -) - -DEFAULT_TCP_ESTABLISHED_TIMEOUT: StaticSchema = (7, n0, _DTET, 0) - -DEFAULT_UDP_STREAM_TIMEOUT: StaticSchema = (7, n0, _DUST, 0) - -DEFAULT_UDP_TIMEOUT: StaticSchema = (7, n0, _DUT, 0) - -DEFAULT_CONNECTION_TRACKING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DCTC, - 0, - (_DTET, _DUT, _DUST), - ( - (DEFAULT_TCP_ESTABLISHED_TIMEOUT, {_aQN: _DTET, _sN: _dTET}), - (DEFAULT_UDP_TIMEOUT, {_aQN: _DUT, _sN: _dUT}), - (DEFAULT_UDP_STREAM_TIMEOUT, {_aQN: _DUST, _sN: _dUST}), - ), -) - -DEFAULT_NETWORK_CARD_INDEX: StaticSchema = (7, n0, _DNCI, 0) - -MAXIMUM_EFA_INTERFACES: StaticSchema = (7, n0, _MEI, 0) - -EFA_INFO: StaticSchema = ( - 18, - n0, - _EIf, - 0, - (_MEI,), - ((MAXIMUM_EFA_INTERFACES, {_aQN: _MEI, _sN: _mEI}),), -) - -EFA_SUPPORTED_FLAG: StaticSchema = (2, n0, _ESF, 0) - -ENA_SRD_SUPPORTED: StaticSchema = (2, n0, _ESSn, 0) - -ENA_SUPPORT: StaticSchema = ( - 14, - n0, - _ESna, - 0, - (_uns, _supp, _requ), - ((-1, {_sV: _uns}), (-1, {_sV: _supp}), (-1, {_sV: _requ})), -) - -ENCRYPTION_IN_TRANSIT_SUPPORTED: StaticSchema = (2, n0, _EITSn, 0) - -FLEXIBLE_ENA_QUEUES_SUPPORT: StaticSchema = ( - 14, - n0, - _FEQS, - 0, - (_UNSUPPORTED, _SUPPORTED), - ((-1, {_sV: _uns}), (-1, {_sV: _supp})), -) - -MAX_IPV4_ADDR_PER_INTERFACE: StaticSchema = (7, n0, _MIAPI, 0) - -IPV4_ADDRESSES_PER_SECONDARY_INTERFACE: StaticSchema = (7, n0, _IAPSI, 0) - -MAX_IPV6_ADDR_PER_INTERFACE: StaticSchema = (7, n0, _MIAPIa, 0) - -IPV6_FLAG: StaticSchema = (2, n0, _IFp, 0) - -MAXIMUM_NETWORK_CARDS: StaticSchema = (7, n0, _MNC, 0) - -MAX_NETWORK_INTERFACES: StaticSchema = (7, n0, _MNI, 0) - -MAXIMUM_SECONDARY_NETWORK_INTERFACES: StaticSchema = (7, n0, _MSNI, 0) - -BASELINE_BANDWIDTH_IN_GBPS: StaticSchema = (10, n0, _BBIG, 0) - -DEFAULT_ENA_QUEUE_COUNT_PER_INTERFACE: StaticSchema = (7, n0, _DEQCPI, 0) - -NETWORK_CARD_INTERFACE_TYPE: StaticSchema = ( - 14, - n0, - _NCIT, - 0, - (_inter, _efa, _eo, _sec), - ((-1, {_sV: _inter}), (-1, {_sV: _efa}), (-1, {_sV: _eo_}), (-1, {_sV: _sec})), -) - -NETWORK_CARD_INTERFACE_TYPE_LIST: StaticSchema = ( - 16, - n0, - _NCITL, - 0, - (_me,), - ((NETWORK_CARD_INTERFACE_TYPE, {_sN: _i}),), -) - -MAXIMUM_ENA_QUEUE_COUNT: StaticSchema = (7, n0, _MEQC, 0) - -MAXIMUM_ENA_QUEUE_COUNT_PER_INTERFACE: StaticSchema = (7, n0, _MEQCPI, 0) - -NETWORK_CARD_INDEX: StaticSchema = (7, n0, _NCI, 0) - -NETWORK_PERFORMANCE: StaticSchema = (3, n0, _NPe, 0) - -PEAK_BANDWIDTH_IN_GBPS: StaticSchema = (10, n0, _PBIG, 0) - -NETWORK_CARD_INFO: StaticSchema = ( - 18, - n0, - _NCIe, - 0, - (_NCI, _NPe, _MNIa, _AFNI, _BBIG, _PBIG, _DEQCPI, _MEQC, _MEQCPI, _ITnter), - ( - (NETWORK_CARD_INDEX, {_aQN: _NCI, _sN: _nCI}), - (NETWORK_PERFORMANCE, {_aQN: _NPe, _sN: _nPe}), - (MAX_NETWORK_INTERFACES, {_aQN: _MNIa, _sN: _mNI}), - (ADDITIONAL_FLEXIBLE_NETWORK_INTERFACES, {_aQN: _AFNI, _sN: _aFNI}), - (BASELINE_BANDWIDTH_IN_GBPS, {_aQN: _BBIG, _sN: _bBIG}), - (PEAK_BANDWIDTH_IN_GBPS, {_aQN: _PBIG, _sN: _pBIG}), - (DEFAULT_ENA_QUEUE_COUNT_PER_INTERFACE, {_aQN: _DEQCPI, _sN: _dEQCPI}), - (MAXIMUM_ENA_QUEUE_COUNT, {_aQN: _MEQC, _sN: _mEQC}), - (MAXIMUM_ENA_QUEUE_COUNT_PER_INTERFACE, {_aQN: _MEQCPI, _sN: _mEQCPI}), - (NETWORK_CARD_INTERFACE_TYPE_LIST, {_aQN: _ITSnt, _sN: _iTSn}), - ), -) - -NETWORK_CARD_INFO_LIST: StaticSchema = ( - 16, - n0, - _NCIL, - 0, - (_me,), - ((NETWORK_CARD_INFO, {_sN: _i}),), -) - -SECONDARY_NETWORK_SUPPORTED_FLAG: StaticSchema = (2, n0, _SNSF, 0) - -NETWORK_INFO: StaticSchema = ( - 18, - n0, - _NIetw, - 0, - ( - _NPe, - _MNIa, - _MNC, - _DNCI, - _NC, - _IAPI, - _IAPIp, - _ISpv, - _ESna, - _ESf, - _EIf, - _EITSn, - _ESSn, - _BWa, - _FEQS, - _CTC, - _SNSe, - _MSNI, - _IAPSI, - ), - ( - (NETWORK_PERFORMANCE, {_aQN: _NPe, _sN: _nPe}), - (MAX_NETWORK_INTERFACES, {_aQN: _MNIa, _sN: _mNI}), - (MAXIMUM_NETWORK_CARDS, {_aQN: _MNC, _sN: _mNC}), - (DEFAULT_NETWORK_CARD_INDEX, {_aQN: _DNCI, _sN: _dNCI}), - (NETWORK_CARD_INFO_LIST, {_aQN: _NC, _sN: _nC}), - (MAX_IPV4_ADDR_PER_INTERFACE, {_aQN: _IAPI, _sN: _iAPI}), - (MAX_IPV6_ADDR_PER_INTERFACE, {_aQN: _IAPIp, _sN: _iAPIp}), - (IPV6_FLAG, {_aQN: _ISpv, _sN: _iSpv}), - (ENA_SUPPORT, {_aQN: _ESna, _sN: _eSna}), - (EFA_SUPPORTED_FLAG, {_aQN: _ESf, _sN: _eSf}), - (EFA_INFO, {_aQN: _EIf, _sN: _eIf}), - (ENCRYPTION_IN_TRANSIT_SUPPORTED, {_aQN: _EITSn, _sN: _eITSn}), - (ENA_SRD_SUPPORTED, {_aQN: _ESSn, _sN: _eSSn}), - (BANDWIDTH_WEIGHTING_TYPE_LIST, {_aQN: _BWa, _sN: _bWa}), - (FLEXIBLE_ENA_QUEUES_SUPPORT, {_aQN: _FEQS, _sN: _fEQS}), - (DEFAULT_CONNECTION_TRACKING_CONFIGURATION, {_aQN: _CTC, _sN: _cTC}), - (SECONDARY_NETWORK_SUPPORTED_FLAG, {_aQN: _SNSe, _sN: _sNSe}), - (MAXIMUM_SECONDARY_NETWORK_INTERFACES, {_aQN: _MSNI, _sN: _mSNI}), - (IPV4_ADDRESSES_PER_SECONDARY_INTERFACE, {_aQN: _IAPSI, _sN: _iAPSI}), - ), -) - -NEURON_DEVICE_CORE_COUNT: StaticSchema = (7, n0, _NDCC, 0) - -NEURON_DEVICE_CORE_VERSION: StaticSchema = (7, n0, _NDCV, 0) - -NEURON_DEVICE_CORE_INFO: StaticSchema = ( - 18, - n0, - _NDCI, - 0, - (_Cou, _Ve), - ( - (NEURON_DEVICE_CORE_COUNT, {_aQN: _Cou, _sN: _cou}), - (NEURON_DEVICE_CORE_VERSION, {_aQN: _Ve, _sN: _ver}), - ), -) - -NEURON_DEVICE_COUNT: StaticSchema = (7, n0, _NDCe, 0) - -NEURON_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _NDMS, 0) - -NEURON_DEVICE_MEMORY_INFO: StaticSchema = ( - 18, - n0, - _NDMI, - 0, - (_SIMB,), - ((NEURON_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), -) - -NEURON_DEVICE_NAME: StaticSchema = (3, n0, _NDN, 0) - -NEURON_DEVICE_INFO: StaticSchema = ( - 18, - n0, - _NDI, - 0, - (_Cou, _N, _CIor, _MIe), - ( - (NEURON_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), - (NEURON_DEVICE_NAME, {_aQN: _N, _sN: _nam}), - (NEURON_DEVICE_CORE_INFO, {_aQN: _CIor, _sN: _cIor}), - (NEURON_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), - ), -) - -NEURON_DEVICE_INFO_LIST: StaticSchema = ( - 16, - n0, - _NDIL, - 0, - (_me,), - ((NEURON_DEVICE_INFO, {_sN: _i}),), -) - -TOTAL_NEURON_MEMORY: StaticSchema = (7, n0, _TNM, 0) - -NEURON_INFO: StaticSchema = ( - 18, - n0, - _NIeu, - 0, - (_NDe, _TNDMIMB), - ( - (NEURON_DEVICE_INFO_LIST, {_aQN: _NDe, _sN: _nDe}), - (TOTAL_NEURON_MEMORY, {_aQN: _TNDMIMB, _sN: _tNDMIMB}), - ), -) - -NITRO_ENCLAVES_SUPPORT: StaticSchema = ( - 14, - n0, - _NES, - 0, - (_UNSUPPORTED, _SUPPORTED), - ((-1, {_sV: _uns}), (-1, {_sV: _supp})), -) - -NITRO_TPM_SUPPORTED_VERSION_TYPE: StaticSchema = (3, n0, _NTSVT, 0) - -NITRO_TPM_SUPPORTED_VERSIONS_LIST: StaticSchema = ( - 16, - n0, - _NTSVL, - 0, - (_me,), - ((NITRO_TPM_SUPPORTED_VERSION_TYPE, {_sN: _i}),), -) - -NITRO_TPM_INFO: StaticSchema = ( - 18, - n0, - _NTI, - 0, - (_SVu,), - ((NITRO_TPM_SUPPORTED_VERSIONS_LIST, {_aQN: _SVu, _sN: _sVu}),), -) - -NITRO_TPM_SUPPORT: StaticSchema = ( - 14, - n0, - _NTS, - 0, - (_UNSUPPORTED, _SUPPORTED), - ((-1, {_sV: _uns}), (-1, {_sV: _supp})), -) - -PHC_SUPPORT: StaticSchema = ( - 14, - n0, - _PSh, - 0, - (_UNSUPPORTED, _SUPPORTED), - ((-1, {_sV: _uns}), (-1, {_sV: _supp})), -) - -PLACEMENT_GROUP_STRATEGY: StaticSchema = ( - 14, - n0, - _PGSl, - 0, - (_clu, _part, _spr), - ((-1, {_sV: _clu}), (-1, {_sV: _part}), (-1, {_sV: _spr})), -) - -PLACEMENT_GROUP_STRATEGY_LIST: StaticSchema = ( - 16, - n0, - _PGSL, - 0, - (_me,), - ((PLACEMENT_GROUP_STRATEGY, {_sN: _i}),), -) - -PLACEMENT_GROUP_INFO: StaticSchema = ( - 18, - n0, - _PGIl, - 0, - (_SSup,), - ((PLACEMENT_GROUP_STRATEGY_LIST, {_aQN: _SSup, _sN: _sSup}),), -) - -CPU_MANUFACTURER_NAME: StaticSchema = (3, n0, _CMN, 0) - -ARCHITECTURE_TYPE: StaticSchema = ( - 14, - n0, - _ATr, - 0, - ( - _i__________________________________________________________________________, - _x______________________________________________________, - _arm, - _xm____________, - _am______, - ), - ( - ( - -1, - { - _sV: _i__________________________________________________________________________ - }, - ), - (-1, {_sV: _x______________________________________________________}), - (-1, {_sV: _arm}), - (-1, {_sV: _xm____________}), - (-1, {_sV: _am______}), - ), -) - -ARCHITECTURE_TYPE_LIST: StaticSchema = ( - 16, - n0, - _ATLr, - 0, - (_me,), - ((ARCHITECTURE_TYPE, {_sN: _i}),), -) - -SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE: StaticSchema = ( - 14, - n0, - _SAPF, - 0, - (_ASS_, _NV_), - ((-1, {_sV: _ass_}), (-1, {_sV: _nv})), -) - -SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE_LIST: StaticSchema = ( - 16, - n0, - _SAPFL, - 0, - (_me,), - ((SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE, {_sN: _i}),), -) - -PROCESSOR_SUSTAINED_CLOCK_SPEED: StaticSchema = (10, n0, _PSCS, 0) - -PROCESSOR_INFO: StaticSchema = ( - 18, - n0, - _PIro, - 0, - (_SAup, _SCSIG, _SF, _Manu), - ( - (ARCHITECTURE_TYPE_LIST, {_aQN: _SAup, _sN: _sAu}), - (PROCESSOR_SUSTAINED_CLOCK_SPEED, {_aQN: _SCSIG, _sN: _sCSIG}), - (SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE_LIST, {_aQN: _SF, _sN: _sF}), - (CPU_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), - ), -) - -REBOOT_MIGRATION_SUPPORT: StaticSchema = ( - 14, - n0, - _RMS, - 0, - (_UNSUPPORTED, _SUPPORTED), - ((-1, {_sV: _uns}), (-1, {_sV: _supp})), -) - -BOOT_MODE_TYPE: StaticSchema = ( - 14, - n0, - _BMT, - 0, - (_lb__, _ue), - ((-1, {_sV: _lb___}), (-1, {_sV: _ue})), -) - -BOOT_MODE_TYPE_LIST: StaticSchema = ( - 16, - n0, - _BMTL, - 0, - (_me,), - ((BOOT_MODE_TYPE, {_sN: _i}),), -) - -SUPPORTED_IN_REGION: StaticSchema = (2, n0, _SIRu, 0) - -ROOT_DEVICE_TYPE: StaticSchema = ( - 14, - n0, - _RDT, - 0, - (_eb, _is__), - ((-1, {_sV: _eb}), (-1, {_sV: _is___})), -) - -ROOT_DEVICE_TYPE_LIST: StaticSchema = ( - 16, - n0, - _RDTL, - 0, - (_me,), - ((ROOT_DEVICE_TYPE, {_sN: _i}),), -) - -USAGE_CLASS_TYPE: StaticSchema = ( - 14, - n0, - _UCT, - 0, - (_spo, _od_, _cb), - ((-1, {_sV: _spo}), (-1, {_sV: _od}), (-1, {_sV: _cb_})), -) - -USAGE_CLASS_TYPE_LIST: StaticSchema = ( - 16, - n0, - _UCTL, - 0, - (_me,), - ((USAGE_CLASS_TYPE, {_sN: _i}),), -) - -VIRTUALIZATION_TYPE_LIST: StaticSchema = ( - 16, - n0, - _VTLi, - 0, - (_me,), - ((VIRTUALIZATION_TYPE, {_sN: _i}),), -) - -CORE_COUNT: StaticSchema = (7, n0, _CCor, 0) - -THREADS_PER_CORE: StaticSchema = (7, n0, _TPC, 0) - -V_CPU_COUNT: StaticSchema = (7, n0, _VCC, 0) - -CORE_COUNT_LIST: StaticSchema = (16, n0, _CCL, 0, (_me,), ((CORE_COUNT, {_sN: _i}),)) - -THREADS_PER_CORE_LIST: StaticSchema = ( - 16, - n0, - _TPCL, - 0, - (_me,), - ((THREADS_PER_CORE, {_sN: _i}),), -) - -V_CPU_INFO: StaticSchema = ( - 18, - n0, - _VCIpu, - 0, - (_DVCef, _DCe, _DTPC, _VCa, _VTPC), - ( - (V_CPU_COUNT, {_aQN: _DVCef, _sN: _dVC}), - (CORE_COUNT, {_aQN: _DCe, _sN: _dCe}), - (THREADS_PER_CORE, {_aQN: _DTPC, _sN: _dTPC}), - (CORE_COUNT_LIST, {_aQN: _VCa, _sN: _vCa}), - (THREADS_PER_CORE_LIST, {_aQN: _VTPC, _sN: _vTPC}), - ), -) - -INSTANCE_TYPE_INFO: StaticSchema = ( - 18, - n0, - _ITIns, - 0, - ( - _IT, - _CGur, - _FTE, - _SUC, - _SRDT, - _SVT, - _BM, - _Hy, - _PIro, - _VCIpu, - _MIe, - _ISSnst, - _ISIns, - _EIb, - _NIetw, - _GIp, - _FIpga, - _PGIl, - _IAIn, - _HSi, - _BPS, - _DHS, - _ARSut, - _SBM, - _NES, - _NTS, - _NTI, - _MAIe, - _NIeu, - _PSh, - _RMS, - _SIRu, - ), - ( - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (CURRENT_GENERATION_FLAG, {_aQN: _CGur, _sN: _cGu}), - (FREE_TIER_ELIGIBLE_FLAG, {_aQN: _FTE, _sN: _fTE}), - (USAGE_CLASS_TYPE_LIST, {_aQN: _SUC, _sN: _sUC}), - (ROOT_DEVICE_TYPE_LIST, {_aQN: _SRDT, _sN: _sRDT}), - (VIRTUALIZATION_TYPE_LIST, {_aQN: _SVT, _sN: _sVT}), - (BARE_METAL_FLAG, {_aQN: _BM, _sN: _bM}), - (INSTANCE_TYPE_HYPERVISOR, {_aQN: _Hy, _sN: _hy}), - (PROCESSOR_INFO, {_aQN: _PIro, _sN: _pIro}), - (V_CPU_INFO, {_aQN: _VCIpu, _sN: _vCIpu}), - (MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), - (INSTANCE_STORAGE_FLAG, {_aQN: _ISSnst, _sN: _iSSn}), - (INSTANCE_STORAGE_INFO, {_aQN: _ISIns, _sN: _iSIn}), - (EBS_INFO, {_aQN: _EIb, _sN: _eIb}), - (NETWORK_INFO, {_aQN: _NIetw, _sN: _nIet}), - (GPU_INFO, {_aQN: _GIp, _sN: _gIp}), - (FPGA_INFO, {_aQN: _FIpga, _sN: _fIp}), - (PLACEMENT_GROUP_INFO, {_aQN: _PGIl, _sN: _pGIl}), - (INFERENCE_ACCELERATOR_INFO, {_aQN: _IAIn, _sN: _iAIn}), - (HIBERNATION_FLAG, {_aQN: _HSi, _sN: _hSi}), - (BURSTABLE_PERFORMANCE_FLAG, {_aQN: _BPS, _sN: _bPS}), - (DEDICATED_HOST_FLAG, {_aQN: _DHS, _sN: _dHS}), - (AUTO_RECOVERY_FLAG, {_aQN: _ARSut, _sN: _aRS}), - (BOOT_MODE_TYPE_LIST, {_aQN: _SBM, _sN: _sBM}), - (NITRO_ENCLAVES_SUPPORT, {_aQN: _NES, _sN: _nES}), - (NITRO_TPM_SUPPORT, {_aQN: _NTS, _sN: _nTS}), - (NITRO_TPM_INFO, {_aQN: _NTI, _sN: _nTI}), - (MEDIA_ACCELERATOR_INFO, {_aQN: _MAIe, _sN: _mAIe}), - (NEURON_INFO, {_aQN: _NIeu, _sN: _nIeu}), - (PHC_SUPPORT, {_aQN: _PSh, _sN: _pSh}), - (REBOOT_MIGRATION_SUPPORT, {_aQN: _RMS, _sN: _rMS}), - (SUPPORTED_IN_REGION, {_aQN: _SIRu, _sN: _sIRu}), - ), -) - -INSTANCE_TYPE_INFO_LIST: StaticSchema = ( - 16, - n0, - _ITILn, - 0, - (_me,), - ((INSTANCE_TYPE_INFO, {_sN: _i}),), -) - -DESCRIBE_INSTANCE_TYPES_OUTPUT: StaticSchema = ( - 18, - n0, - _DITOes, - {_sSI: _cDITRoma, _smit: None}, - (_ITnsta, _NTex), - ( - (INSTANCE_TYPE_INFO_LIST, {_aQN: _ITSns, _sN: _iTSns}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INSTANCE_TYPES: StaticOperationSchema = ( - 23, - n0, - _DITe, - 0, - DESCRIBE_INSTANCE_TYPES_INPUT, - DESCRIBE_INSTANCE_TYPES_OUTPUT, - (), -) - -INTERNET_GATEWAY_ID_LIST: StaticSchema = ( - 16, - n0, - _IGIL, - 0, - (_me,), - ((INTERNET_GATEWAY_ID, {_sN: _i}),), -) - -DESCRIBE_INTERNET_GATEWAYS_MAX_RESULTS: StaticSchema = (7, n0, _DIGMR, 0) - -DESCRIBE_INTERNET_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _DIGIe, - {_sSI: _cDIGRo, _sm: None}, - (_NTex, _MR, _DR, _IGIn, _Fil), - ( - (STRING, 0), - (DESCRIBE_INTERNET_GATEWAYS_MAX_RESULTS, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INTERNET_GATEWAY_ID_LIST, {_aQN: _IGI, _sN: _iGI}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -INTERNET_GATEWAY_LIST: StaticSchema = ( - 16, - n0, - _IGL, - 0, - (_me,), - ((INTERNET_GATEWAY, {_sN: _i}),), -) - -DESCRIBE_INTERNET_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIGOe, - {_sSI: _cDIGRom, _smit: None}, - (_IGnt, _NTex), - ( - (INTERNET_GATEWAY_LIST, {_aQN: _IGSn, _sN: _iGSn}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_INTERNET_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _DIGe, - 0, - DESCRIBE_INTERNET_GATEWAYS_INPUT, - DESCRIBE_INTERNET_GATEWAYS_OUTPUT, - (), -) - -DESCRIBE_IPAM_BYOASN_MAX_RESULTS: StaticSchema = (7, n0, _DIBMR, 0) - -DESCRIBE_IPAM_BYOASN_INPUT: StaticSchema = ( - 18, - n0, - _DIBIe, - {_sSI: _cDIBRom, _sm: None}, - (_DR, _MR, _NTex), - ((BOOLEAN, 0), (DESCRIBE_IPAM_BYOASN_MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -BYOASN_SET: StaticSchema = (16, n0, _BSy, 0, (_me,), ((BYOASN, {_sN: _i}),)) - -DESCRIBE_IPAM_BYOASN_OUTPUT: StaticSchema = ( - 18, - n0, - _DIBOe, - {_sSI: _cDIBRoma, _smit: None}, - (_Byo, _NTex), - ((BYOASN_SET, {_aQN: _BSy, _sN: _bSy}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_IPAM_BYOASN: StaticOperationSchema = ( - 23, - n0, - _DIBe, - 0, - DESCRIBE_IPAM_BYOASN_INPUT, - DESCRIBE_IPAM_BYOASN_OUTPUT, - (), -) - -IPAM_MAX_RESULTS: StaticSchema = (7, n0, _IMRp, 0) - -DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_INPUT: StaticSchema = ( - 18, - n0, - _DIERVTIe, - {_sSI: _cDIERVTRom, _sm: None}, - (_DR, _Fil, _NTex, _MR, _IERVTIp), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (NEXT_TOKEN, 0), - (IPAM_MAX_RESULTS, 0), - (VALUE_STRING_LIST, {_sN: _IERVTI}), - ), -) - -IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_SET: StaticSchema = ( - 16, - n0, - _IERVTSp, - 0, - (_me,), - ((IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN, {_sN: _i}),), -) - -DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIERVTOe, - {_sSI: _cDIERVTRoma, _smit: None}, - (_NTex, _IERVTp), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_SET, {_aQN: _IERVTSp, _sN: _iERVTS}), - ), -) - -DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS: StaticOperationSchema = ( - 23, - n0, - _DIERVTe, - 0, - DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_INPUT, - DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_OUTPUT, - (), -) - -DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DIIRAIe, - {_sSI: _cDIIRARom, _sm: None}, - (_DR, _IIRAIp, _MR, _NTex, _Fil), - ( - (BOOLEAN, 0), - (VALUE_STRING_LIST, {_sN: _IIRAI}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -IPAM_INTERNET_REGISTRY_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _IIRASp, - 0, - (_me,), - ((IPAM_INTERNET_REGISTRY_ASSOCIATION, {_sN: _i}),), -) - -DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIIRAOe, - {_sSI: _cDIIRARoma, _smit: None}, - (_NTex, _IIRAp), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_SET, {_aQN: _IIRASp, _sN: _iIRAS}), - ), -) - -DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _DIIRAe, - 0, - DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_INPUT, - DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_OUTPUT, - (), -) - -DESCRIBE_IPAM_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _DIPIes, - {_sSI: _cDIPRomam, _sm: None}, - (_DR, _Fil, _MR, _NTex, _IPIpa), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (VALUE_STRING_LIST, {_sN: _IPIp}), - ), -) - -IPAM_POLICY_SET: StaticSchema = ( - 16, - n0, - _IPSpam, - 0, - (_me,), - ((IPAM_POLICY, {_sN: _i}),), -) - -DESCRIBE_IPAM_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPOes, - {_sSI: _cDIPRomama, _smit: None}, - (_NTex, _IPpamo), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_POLICY_SET, {_aQN: _IPSpam, _sN: _iPSpa}), - ), -) - -DESCRIBE_IPAM_POLICIES: StaticOperationSchema = ( - 23, - n0, - _DIPes, - 0, - DESCRIBE_IPAM_POLICIES_INPUT, - DESCRIBE_IPAM_POLICIES_OUTPUT, - (), -) - -DESCRIBE_IPAM_POOL_ALLOCATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DIPAMR, 0) - -DESCRIBE_IPAM_POOL_ALLOCATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DIPAI, - {_sSI: _cDIPAR, _sm: None}, - (_DR, _IPAIp, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (VALUE_STRING_LIST, {_sN: _IPAI}), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_IPAM_POOL_ALLOCATIONS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IPAM_POOL_ALLOCATION_SET: StaticSchema = ( - 16, - n0, - _IPASp, - 0, - (_me,), - ((IPAM_POOL_ALLOCATION, {_sN: _i}),), -) - -DESCRIBE_IPAM_POOL_ALLOCATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPAO, - {_sSI: _cDIPARo, _smit: None}, - (_IPApam, _NTex), - ( - (IPAM_POOL_ALLOCATION_SET, {_aQN: _IPASp, _sN: _iPAS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_IPAM_POOL_ALLOCATIONS: StaticOperationSchema = ( - 23, - n0, - _DIPA, - 0, - DESCRIBE_IPAM_POOL_ALLOCATIONS_INPUT, - DESCRIBE_IPAM_POOL_ALLOCATIONS_OUTPUT, - (), -) - -DESCRIBE_IPAM_POOLS_INPUT: StaticSchema = ( - 18, - n0, - _DIPIesc, - {_sSI: _cDIPRomamaz, _sm: None}, - (_DR, _Fil, _MR, _NTex, _IPIpam), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (VALUE_STRING_LIST, {_sN: _IPI}), - ), -) - -IPAM_POOL_SET: StaticSchema = (16, n0, _IPSpamo, 0, (_me,), ((IPAM_POOL, {_sN: _i}),)) - -DESCRIBE_IPAM_POOLS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPOesc, - {_sSI: _cDIPRomamazo, _smit: None}, - (_NTex, _IPpamoo), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_POOL_SET, {_aQN: _IPSpamo, _sN: _iPSpam}), - ), -) - -DESCRIBE_IPAM_POOLS: StaticOperationSchema = ( - 23, - n0, - _DIPesc, - 0, - DESCRIBE_IPAM_POOLS_INPUT, - DESCRIBE_IPAM_POOLS_OUTPUT, - (), -) - -DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_INPUT: StaticSchema = ( - 18, - n0, - _DIPLRIe, - {_sSI: _cDIPLRRom, _sm: None}, - (_DR, _Fil, _MR, _NTex, _IPLRIp), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (VALUE_STRING_LIST, {_sN: _IPLRI}), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_SET: StaticSchema = ( - 16, - n0, - _IPLRSp, - 0, - (_me,), - ((IPAM_PREFIX_LIST_RESOLVER, {_sN: _i}),), -) - -DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPLROe, - {_sSI: _cDIPLRRoma, _smit: None}, - (_NTex, _IPLRpa), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_PREFIX_LIST_RESOLVER_SET, {_aQN: _IPLRSp, _sN: _iPLRS}), - ), -) - -DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS: StaticOperationSchema = ( - 23, - n0, - _DIPLRe, - 0, - DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_INPUT, - DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_OUTPUT, - (), -) - -DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _DIPLRTIe, - {_sSI: _cDIPLRTRom, _sm: None}, - (_DR, _Fil, _MR, _NTex, _IPLRTIp, _IPLRI), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (VALUE_STRING_LIST, {_sN: _IPLRTI}), - (IPAM_PREFIX_LIST_RESOLVER_ID, 0), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_TARGET_SET: StaticSchema = ( - 16, - n0, - _IPLRTSp, - 0, - (_me,), - ((IPAM_PREFIX_LIST_RESOLVER_TARGET, {_sN: _i}),), -) - -DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPLRTOe, - {_sSI: _cDIPLRTRoma, _smit: None}, - (_NTex, _IPLRTp), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_PREFIX_LIST_RESOLVER_TARGET_SET, {_aQN: _IPLRTSp, _sN: _iPLRTS}), - ), -) - -DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS: StaticOperationSchema = ( - 23, - n0, - _DIPLRTe, - 0, - DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_INPUT, - DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_OUTPUT, - (), -) - -DESCRIBE_IPAM_RESOURCE_DISCOVERIES_INPUT: StaticSchema = ( - 18, - n0, - _DIRDIe, - {_sSI: _cDIRDRom, _sm: None}, - (_DR, _IRDIp, _NTex, _MR, _Fil), - ( - (BOOLEAN, 0), - (VALUE_STRING_LIST, {_sN: _IRDI}), - (NEXT_TOKEN, 0), - (IPAM_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -IPAM_RESOURCE_DISCOVERY_SET: StaticSchema = ( - 16, - n0, - _IRDSp, - 0, - (_me,), - ((IPAM_RESOURCE_DISCOVERY, {_sN: _i}),), -) - -DESCRIBE_IPAM_RESOURCE_DISCOVERIES_OUTPUT: StaticSchema = ( - 18, - n0, - _DIRDOe, - {_sSI: _cDIRDRoma, _smit: None}, - (_IRDp, _NTex), - ( - (IPAM_RESOURCE_DISCOVERY_SET, {_aQN: _IRDSp, _sN: _iRDS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_IPAM_RESOURCE_DISCOVERIES: StaticOperationSchema = ( - 23, - n0, - _DIRDe, - 0, - DESCRIBE_IPAM_RESOURCE_DISCOVERIES_INPUT, - DESCRIBE_IPAM_RESOURCE_DISCOVERIES_OUTPUT, - (), -) - -DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DIRDAI, - {_sSI: _cDIRDAR, _sm: None}, - (_DR, _IRDAIp, _NTex, _MR, _Fil), - ( - (BOOLEAN, 0), - (VALUE_STRING_LIST, {_sN: _IRDAI}), - (NEXT_TOKEN, 0), - (IPAM_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -IPAM_RESOURCE_DISCOVERY_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _IRDASp, - 0, - (_me,), - ((IPAM_RESOURCE_DISCOVERY_ASSOCIATION, {_sN: _i}),), -) - -DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIRDAO, - {_sSI: _cDIRDARo, _smit: None}, - (_IRDApa, _NTex), - ( - (IPAM_RESOURCE_DISCOVERY_ASSOCIATION_SET, {_aQN: _IRDASp, _sN: _iRDAS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _DIRDA, - 0, - DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_INPUT, - DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_OUTPUT, - (), -) - -DESCRIBE_IPAMS_INPUT: StaticSchema = ( - 18, - n0, - _DIIescr, - {_sSI: _cDIRomamazon, _sm: None}, - (_DR, _Fil, _MR, _NTex, _IIpa), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (VALUE_STRING_LIST, {_sN: _IIp}), - ), -) - -IPAM_SET: StaticSchema = (16, n0, _ISpame, 0, (_me,), ((IPAM, {_sN: _i}),)) - -DESCRIBE_IPAMS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOescr, - {_sSI: _cDIRomamazona, _smit: None}, - (_NTex, _Ipam), - ((NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), (IPAM_SET, {_aQN: _ISpame, _sN: _iSpam})), -) - -DESCRIBE_IPAMS: StaticOperationSchema = ( - 23, - n0, - _DIescri, - 0, - DESCRIBE_IPAMS_INPUT, - DESCRIBE_IPAMS_OUTPUT, - (), -) - -DESCRIBE_IPAM_SCOPES_INPUT: StaticSchema = ( - 18, - n0, - _DISIes, - {_sSI: _cDISRomam, _sm: None}, - (_DR, _Fil, _MR, _NTex, _ISIp), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (VALUE_STRING_LIST, {_sN: _ISI}), - ), -) - -IPAM_SCOPE_SET: StaticSchema = (16, n0, _ISSp, 0, (_me,), ((IPAM_SCOPE, {_sN: _i}),)) - -DESCRIBE_IPAM_SCOPES_OUTPUT: StaticSchema = ( - 18, - n0, - _DISOes, - {_sSI: _cDISRomama, _smit: None}, - (_NTex, _ISpamc), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_SCOPE_SET, {_aQN: _ISSp, _sN: _iSSp}), - ), -) - -DESCRIBE_IPAM_SCOPES: StaticOperationSchema = ( - 23, - n0, - _DISes, - 0, - DESCRIBE_IPAM_SCOPES_INPUT, - DESCRIBE_IPAM_SCOPES_OUTPUT, - (), -) - -IPV6_POOL_MAX_RESULTS: StaticSchema = (7, n0, _IPMR, 0) - -IPV6_POOL_ID_LIST: StaticSchema = ( - 16, - n0, - _IPIL, - 0, - (_me,), - ((IPV6_POOL_EC2_ID, {_sN: _i}),), -) - -DESCRIBE_IPV6_POOLS_INPUT: StaticSchema = ( - 18, - n0, - _DIPIescr, - {_sSI: _cDIPRomamazon, _sm: None}, - (_PIoo, _NTex, _MR, _DR, _Fil), - ( - (IPV6_POOL_ID_LIST, {_sN: _PIo}), - (NEXT_TOKEN, 0), - (IPV6_POOL_MAX_RESULTS, 0), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -POOL_CIDR_BLOCK: StaticSchema = ( - 18, - n0, - _PCB, - 0, - (_Ci,), - ((STRING, {_aQN: _PCB, _sN: _pCB}),), -) - -POOL_CIDR_BLOCKS_SET: StaticSchema = ( - 16, - n0, - _PCBS, - 0, - (_me,), - ((POOL_CIDR_BLOCK, {_sN: _i}),), -) - -IPV6_POOL: StaticSchema = ( - 18, - n0, - _IPpvo, - 0, - (_PIo, _Des, _PCBo, _Tag), - ( - (STRING, {_aQN: _PIo, _sN: _pIo}), - (STRING, {_aQN: _Des, _sN: _desc}), - (POOL_CIDR_BLOCKS_SET, {_aQN: _PCBSo, _sN: _pCBS}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -IPV6_POOL_SET: StaticSchema = (16, n0, _IPSpvo, 0, (_me,), ((IPV6_POOL, {_sN: _i}),)) - -DESCRIBE_IPV6_POOLS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPOescr, - {_sSI: _cDIPRomamazona, _smit: None}, - (_IPpvoo, _NTex), - ( - (IPV6_POOL_SET, {_aQN: _IPSpvo, _sN: _iPSpv}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_IPV6_POOLS: StaticOperationSchema = ( - 23, - n0, - _DIPescr, - 0, - DESCRIBE_IPV6_POOLS_INPUT, - DESCRIBE_IPV6_POOLS_OUTPUT, - (), -) - -KEY_NAME_STRING_LIST: StaticSchema = ( - 16, - n0, - _KNSL, - 0, - (_me,), - ((KEY_PAIR_NAME, {_sN: _KN}),), -) - -KEY_PAIR_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _KPISL, - 0, - (_me,), - ((KEY_PAIR_ID, {_sN: _KPI}),), -) - -DESCRIBE_KEY_PAIRS_INPUT: StaticSchema = ( - 18, - n0, - _DKPIe, - {_sSI: _cDKPRom, _sm: None}, - (_KNe, _KPIe, _IPK, _DR, _Fil), - ( - (KEY_NAME_STRING_LIST, {_sN: _KN}), - (KEY_PAIR_ID_STRING_LIST, {_sN: _KPI}), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -KEY_PAIR_INFO: StaticSchema = ( - 18, - n0, - _KPIey, - 0, - (_KPI, _KT, _Tag, _PK, _CTr, _KN, _KFe), - ( - (STRING, {_aQN: _KPI, _sN: _kPI}), - (KEY_TYPE, {_aQN: _KT, _sN: _kT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _PK, _sN: _pK}), - (MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (STRING, {_aQN: _KN, _sN: _kN}), - (STRING, {_aQN: _KFe, _sN: _kF}), - ), -) - -KEY_PAIR_LIST: StaticSchema = (16, n0, _KPL, 0, (_me,), ((KEY_PAIR_INFO, {_sN: _i}),)) - -DESCRIBE_KEY_PAIRS_OUTPUT: StaticSchema = ( - 18, - n0, - _DKPOe, - {_sSI: _cDKPRoma, _smit: None}, - (_KP,), - ((KEY_PAIR_LIST, {_aQN: _KSe, _sN: _kSe}),), -) - -DESCRIBE_KEY_PAIRS: StaticOperationSchema = ( - 23, - n0, - _DKPe, - 0, - DESCRIBE_KEY_PAIRS_INPUT, - DESCRIBE_KEY_PAIRS_OUTPUT, - (), -) - -LAUNCH_TEMPLATE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _LTISL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_ID, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_NAME_STRING_LIST: StaticSchema = ( - 16, - n0, - _LTNSL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_NAME, {_sN: _i}),), -) - -DESCRIBE_LAUNCH_TEMPLATES_MAX_RESULTS: StaticSchema = (7, n0, _DLTMR, 0) - -DESCRIBE_LAUNCH_TEMPLATES_INPUT: StaticSchema = ( - 18, - n0, - _DLTIe, - {_sSI: _cDLTRom, _sm: None}, - (_DR, _LTIa, _LTNa, _Fil, _NTex, _MR, _IMR), - ( - (BOOLEAN, 0), - (LAUNCH_TEMPLATE_ID_STRING_LIST, {_sN: _LTI}), - (LAUNCH_TEMPLATE_NAME_STRING_LIST, {_sN: _LTN}), - (FILTER_LIST, {_sN: _Fi}), - (STRING, 0), - (DESCRIBE_LAUNCH_TEMPLATES_MAX_RESULTS, 0), - (BOOLEAN, 0), - ), -) - -LAUNCH_TEMPLATE_SET: StaticSchema = ( - 16, - n0, - _LTSa, - 0, - (_me,), - ((LAUNCH_TEMPLATE, {_sN: _i}),), -) - -DESCRIBE_LAUNCH_TEMPLATES_OUTPUT: StaticSchema = ( - 18, - n0, - _DLTOe, - {_sSI: _cDLTRoma, _smit: None}, - (_LTau, _NTex), - ( - (LAUNCH_TEMPLATE_SET, {_aQN: _LTau, _sN: _lTau}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_LAUNCH_TEMPLATES: StaticOperationSchema = ( - 23, - n0, - _DLTe, - 0, - DESCRIBE_LAUNCH_TEMPLATES_INPUT, - DESCRIBE_LAUNCH_TEMPLATES_OUTPUT, - (), -) - -DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DLTVIe, - {_sSI: _cDLTVRom, _sm: None}, - (_DR, _LTI, _LTN, _Vers, _MV, _MVa, _NTex, _MR, _Fil, _RAes, _IMR), - ( - (BOOLEAN, 0), - (LAUNCH_TEMPLATE_ID, 0), - (LAUNCH_TEMPLATE_NAME, 0), - (VERSION_STRING_LIST, {_sN: _LTV}), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -LAUNCH_TEMPLATE_VERSION_SET: StaticSchema = ( - 16, - n0, - _LTVS, - 0, - (_me,), - ((LAUNCH_TEMPLATE_VERSION, {_sN: _i}),), -) - -DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DLTVOe, - {_sSI: _cDLTVRoma, _smit: None}, - (_LTVa, _NTex), - ( - (LAUNCH_TEMPLATE_VERSION_SET, {_aQN: _LTVS, _sN: _lTVS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_LAUNCH_TEMPLATE_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _DLTVe, - 0, - DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_INPUT, - DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT, - (), -) - -LOCAL_GATEWAY_ROUTE_TABLE_ID_SET: StaticSchema = ( - 16, - n0, - _LGRTIS, - 0, - (_me,), - ((LOCAL_GATEWAY_ROUTETABLE_ID, {_sN: _i}),), -) - -LOCAL_GATEWAY_MAX_RESULTS: StaticSchema = (7, n0, _LGMR, 0) - -DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_INPUT: StaticSchema = ( - 18, - n0, - _DLGRTIe, - {_sSI: _cDLGRTRom, _sm: None}, - (_LGRTIo, _Fil, _MR, _NTex, _DR), - ( - (LOCAL_GATEWAY_ROUTE_TABLE_ID_SET, {_sN: _LGRTI}), - (FILTER_LIST, {_sN: _Fi}), - (LOCAL_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY_ROUTE_TABLE_SET: StaticSchema = ( - 16, - n0, - _LGRTS, - 0, - (_me,), - ((LOCAL_GATEWAY_ROUTE_TABLE, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGRTOe, - {_sSI: _cDLGRTRoma, _smit: None}, - (_LGRToc, _NTex), - ( - (LOCAL_GATEWAY_ROUTE_TABLE_SET, {_aQN: _LGRTS, _sN: _lGRTS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES: StaticOperationSchema = ( - 23, - n0, - _DLGRTe, - 0, - DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_INPUT, - DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_OUTPUT, - (), -) - -LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID_SET: StaticSchema = ( - 16, - n0, - _LGRTVIGAIS, - 0, - (_me,), - ((LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DLGRTVIGAIe, - {_sSI: _cDLGRTVIGARom, _sm: None}, - (_LGRTVIGAIo, _Fil, _MR, _NTex, _DR), - ( - ( - LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID_SET, - {_sN: _LGRTVIGAI}, - ), - (FILTER_LIST, {_sN: _Fi}), - (LOCAL_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _LGRTVIGAS, - 0, - (_me,), - ((LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGRTVIGAOe, - {_sSI: _cDLGRTVIGARoma, _smit: None}, - (_LGRTVIGAo, _NTex), - ( - ( - LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_SET, - {_aQN: _LGRTVIGAS, _sN: _lGRTVIGAS}, - ), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _DLGRTVIGAe, - 0, - DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_INPUT, - DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_OUTPUT, - (), -) - -LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID_SET: StaticSchema = ( - 16, - n0, - _LGRTVAIS, - 0, - (_me,), - ((LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DLGRTVAIe, - {_sSI: _cDLGRTVARom, _sm: None}, - (_LGRTVAIo, _Fil, _MR, _NTex, _DR), - ( - (LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID_SET, {_sN: _LGRTVAI}), - (FILTER_LIST, {_sN: _Fi}), - (LOCAL_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _LGRTVAS, - 0, - (_me,), - ((LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGRTVAOe, - {_sSI: _cDLGRTVARoma, _smit: None}, - (_LGRTVAo, _NTex), - ( - ( - LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_SET, - {_aQN: _LGRTVAS, _sN: _lGRTVAS}, - ), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _DLGRTVAe, - 0, - DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_INPUT, - DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_OUTPUT, - (), -) - -LOCAL_GATEWAY_ID_SET: StaticSchema = ( - 16, - n0, - _LGIS, - 0, - (_me,), - ((LOCAL_GATEWAY_ID, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _DLGI, - {_sSI: _cDLGR, _sm: None}, - (_LGIo, _Fil, _MR, _NTex, _DR), - ( - (LOCAL_GATEWAY_ID_SET, {_sN: _LGI}), - (FILTER_LIST, {_sN: _Fi}), - (LOCAL_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY: StaticSchema = ( - 18, - n0, - _LG, - 0, - (_LGI, _OA, _OIw, _St, _Tag), - ( - (LOCAL_GATEWAY_ID, {_aQN: _LGI, _sN: _lGI}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _St, _sN: _st}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -LOCAL_GATEWAY_SET: StaticSchema = ( - 16, - n0, - _LGS, - 0, - (_me,), - ((LOCAL_GATEWAY, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGO, - {_sSI: _cDLGRo, _smit: None}, - (_LGo, _NTex), - ((LOCAL_GATEWAY_SET, {_aQN: _LGS, _sN: _lGS}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_LOCAL_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _DLG, - 0, - DESCRIBE_LOCAL_GATEWAYS_INPUT, - DESCRIBE_LOCAL_GATEWAYS_OUTPUT, - (), -) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID_SET: StaticSchema = ( - 16, - n0, - _LGVIGIS, - 0, - (_me,), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DLGVIGIe, - {_sSI: _cDLGVIGRom, _sm: None}, - (_LGVIGIo, _Fil, _MR, _NTex, _DR), - ( - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID_SET, {_sN: _LGVIGI}), - (FILTER_LIST, {_sN: _Fi}), - (LOCAL_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_SET: StaticSchema = ( - 16, - n0, - _LGVIGS, - 0, - (_me,), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGVIGOe, - {_sSI: _cDLGVIGRoma, _smit: None}, - (_LGVIGo, _NTex), - ( - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_SET, {_aQN: _LGVIGS, _sN: _lGVIGS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DLGVIGe, - 0, - DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_INPUT, - DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_OUTPUT, - (), -) - -DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_INPUT: StaticSchema = ( - 18, - n0, - _DLGVIIe, - {_sSI: _cDLGVIRom, _sm: None}, - (_LGVIIo, _Fil, _MR, _NTex, _DR), - ( - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID_SET, {_sN: _LGVII}), - (FILTER_LIST, {_sN: _Fi}), - (LOCAL_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY_VIRTUAL_INTERFACE_SET: StaticSchema = ( - 16, - n0, - _LGVIS, - 0, - (_me,), - ((LOCAL_GATEWAY_VIRTUAL_INTERFACE, {_sN: _i}),), -) - -DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_OUTPUT: StaticSchema = ( - 18, - n0, - _DLGVIOe, - {_sSI: _cDLGVIRoma, _smit: None}, - (_LGVIo, _NTex), - ( - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_SET, {_aQN: _LGVIS, _sN: _lGVIS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES: StaticOperationSchema = ( - 23, - n0, - _DLGVIe, - 0, - DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_INPUT, - DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_OUTPUT, - (), -) - -DESCRIBE_LOCKED_SNAPSHOTS_MAX_RESULTS: StaticSchema = (7, n0, _DLSMR, 0) - -SNAPSHOT_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _SISL, - 0, - (_me,), - ((SNAPSHOT_ID, {_sN: _SIn}),), -) - -DESCRIBE_LOCKED_SNAPSHOTS_INPUT: StaticSchema = ( - 18, - n0, - _DLSI, - {_sSI: _cDLSR, _sm: None}, - (_Fil, _MR, _NTex, _SInap, _DR), - ( - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_LOCKED_SNAPSHOTS_MAX_RESULTS, 0), - (STRING, 0), - (SNAPSHOT_ID_STRING_LIST, {_sN: _SIn}), - (BOOLEAN, 0), - ), -) - -COOL_OFF_PERIOD_RESPONSE_HOURS: StaticSchema = (7, n0, _COPRH, 0) - -RETENTION_PERIOD_RESPONSE_DAYS: StaticSchema = (7, n0, _RPRD, 0) - -LOCK_STATE: StaticSchema = ( - 14, - n0, - _LSoc, - 0, - (_compli, _go, _cc___, _ex), - ((-1, {_sV: _compli}), (-1, {_sV: _go}), (-1, {_sV: _cc____}), (-1, {_sV: _ex})), -) - -LOCKED_SNAPSHOTS_INFO: StaticSchema = ( - 18, - n0, - _LSI, - 0, - (_OIw, _SIn, _LSoc, _LDo, _COPo, _COPEO, _LCO, _LDST, _LEO), - ( - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (LOCK_STATE, {_aQN: _LSoc, _sN: _lSoc}), - (RETENTION_PERIOD_RESPONSE_DAYS, {_aQN: _LDo, _sN: _lDo}), - (COOL_OFF_PERIOD_RESPONSE_HOURS, {_aQN: _COPo, _sN: _cOPo}), - (MILLISECOND_DATE_TIME, {_aQN: _COPEO, _sN: _cOPEO}), - (MILLISECOND_DATE_TIME, {_aQN: _LCO, _sN: _lCO}), - (MILLISECOND_DATE_TIME, {_aQN: _LDST, _sN: _lDST}), - (MILLISECOND_DATE_TIME, {_aQN: _LEO, _sN: _lEO}), - ), -) - -LOCKED_SNAPSHOTS_INFO_LIST: StaticSchema = ( - 16, - n0, - _LSIL, - 0, - (_me,), - ((LOCKED_SNAPSHOTS_INFO, {_sN: _i}),), -) - -DESCRIBE_LOCKED_SNAPSHOTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DLSO, - {_sSI: _cDLSRo, _smit: None}, - (_Sn, _NTex), - ( - (LOCKED_SNAPSHOTS_INFO_LIST, {_aQN: _SSna, _sN: _sSn}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_LOCKED_SNAPSHOTS: StaticOperationSchema = ( - 23, - n0, - _DLSe, - 0, - DESCRIBE_LOCKED_SNAPSHOTS_INPUT, - DESCRIBE_LOCKED_SNAPSHOTS_OUTPUT, - (), -) - -DESCRIBE_MAC_HOSTS_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _DMHRMR, 0) - -DESCRIBE_MAC_HOSTS_INPUT: StaticSchema = ( - 18, - n0, - _DMHI, - {_sSI: _cDMHR, _sm: None}, - (_Fil, _HI, _MR, _NTex), - ( - (FILTER_LIST, {_sN: _Fi}), - (REQUEST_HOST_ID_LIST, {_sN: _HIo}), - (DESCRIBE_MAC_HOSTS_REQUEST_MAX_RESULTS, 0), - (STRING, 0), - ), -) - -MAC_OS_VERSION_STRING_LIST: StaticSchema = ( - 16, - n0, - _MOSVSL, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -MAC_HOST: StaticSchema = ( - 18, - n0, - _MH, - 0, - (_HIo, _MOSLSV), - ( - (DEDICATED_HOST_ID, {_aQN: _HIo, _sN: _hI}), - (MAC_OS_VERSION_STRING_LIST, {_aQN: _MOSLSVS, _sN: _mOSLSVS}), - ), -) - -MAC_HOST_LIST: StaticSchema = (16, n0, _MHL, 0, (_me,), ((MAC_HOST, {_sN: _i}),)) - -DESCRIBE_MAC_HOSTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DMHO, - {_sSI: _cDMHRo, _smit: None}, - (_MHa, _NTex), - ((MAC_HOST_LIST, {_aQN: _MHS, _sN: _mHS}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_MAC_HOSTS: StaticOperationSchema = ( - 23, - n0, - _DMH, - 0, - DESCRIBE_MAC_HOSTS_INPUT, - DESCRIBE_MAC_HOSTS_OUTPUT, - (), -) - -MAC_MODIFICATION_TASK_ID_LIST: StaticSchema = ( - 16, - n0, - _MMTIL, - 0, - (_me,), - ((MAC_MODIFICATION_TASK_ID, {_sN: _i}),), -) - -DESCRIBE_MAC_MODIFICATION_TASKS_MAX_RESULTS: StaticSchema = (7, n0, _DMMTMR, 0) - -DESCRIBE_MAC_MODIFICATION_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DMMTI, - {_sSI: _cDMMTR, _sm: None}, - (_DR, _Fil, _MMTIa, _MR, _NTex), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (MAC_MODIFICATION_TASK_ID_LIST, {_sN: _MMTI}), - (DESCRIBE_MAC_MODIFICATION_TASKS_MAX_RESULTS, 0), - (STRING, 0), - ), -) - -MAC_MODIFICATION_TASK_LIST: StaticSchema = ( - 16, - n0, - _MMTL, - 0, - (_me,), - ((MAC_MODIFICATION_TASK, {_sN: _i}),), -) - -DESCRIBE_MAC_MODIFICATION_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DMMTO, - {_sSI: _cDMMTRo, _smit: None}, - (_MMTa, _NTex), - ( - (MAC_MODIFICATION_TASK_LIST, {_aQN: _MMTSa, _sN: _mMTS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_MAC_MODIFICATION_TASKS: StaticOperationSchema = ( - 23, - n0, - _DMMT, - 0, - DESCRIBE_MAC_MODIFICATION_TASKS_INPUT, - DESCRIBE_MAC_MODIFICATION_TASKS_OUTPUT, - (), -) - -PREFIX_LIST_MAX_RESULTS: StaticSchema = (7, n0, _PLMR, 0) - -DESCRIBE_MANAGED_PREFIX_LISTS_INPUT: StaticSchema = ( - 18, - n0, - _DMPLIe, - {_sSI: _cDMPLRom, _sm: None}, - (_DR, _Fil, _MR, _NTex, _PLIr), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (PREFIX_LIST_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (VALUE_STRING_LIST, {_sN: _PLI}), - ), -) - -MANAGED_PREFIX_LIST_SET: StaticSchema = ( - 16, - n0, - _MPLS, - 0, - (_me,), - ((MANAGED_PREFIX_LIST, {_sN: _i}),), -) - -DESCRIBE_MANAGED_PREFIX_LISTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DMPLOe, - {_sSI: _cDMPLRoma, _smit: None}, - (_NTex, _PLre), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (MANAGED_PREFIX_LIST_SET, {_aQN: _PLSr, _sN: _pLSr}), - ), -) - -DESCRIBE_MANAGED_PREFIX_LISTS: StaticOperationSchema = ( - 23, - n0, - _DMPLe, - 0, - DESCRIBE_MANAGED_PREFIX_LISTS_INPUT, - DESCRIBE_MANAGED_PREFIX_LISTS_OUTPUT, - (), -) - -DESCRIBE_MOVING_ADDRESSES_MAX_RESULTS: StaticSchema = (7, n0, _DMAMR, 0) - -DESCRIBE_MOVING_ADDRESSES_INPUT: StaticSchema = ( - 18, - n0, - _DMAI, - {_sSI: _cDMAR, _sm: None}, - (_DR, _PIu, _NTex, _Fil, _MR), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VALUE_STRING_LIST, {_aQN: _PI, _sN: _pI}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (FILTER_LIST, {_aQN: _Fi, _sN: _filt}), - (DESCRIBE_MOVING_ADDRESSES_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), - ), -) - -MOVE_STATUS: StaticSchema = ( - 14, - n0, - _MSov, - 0, - (_mTV, _rTC), - ((-1, {_sV: _mTV}), (-1, {_sV: _rTC})), -) - -MOVING_ADDRESS_STATUS: StaticSchema = ( - 18, - n0, - _MAS, - 0, - (_MSov, _PI), - ((MOVE_STATUS, {_aQN: _MSov, _sN: _mSo}), (STRING, {_aQN: _PI, _sN: _pI})), -) - -MOVING_ADDRESS_STATUS_SET: StaticSchema = ( - 16, - n0, - _MASS, - 0, - (_me,), - ((MOVING_ADDRESS_STATUS, {_sN: _i}),), -) - -DESCRIBE_MOVING_ADDRESSES_OUTPUT: StaticSchema = ( - 18, - n0, - _DMAO, - {_sSI: _cDMARo, _smit: None}, - (_MASo, _NTex), - ( - (MOVING_ADDRESS_STATUS_SET, {_aQN: _MASS, _sN: _mASS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_MOVING_ADDRESSES: StaticOperationSchema = ( - 23, - n0, - _DMA, - 0, - DESCRIBE_MOVING_ADDRESSES_INPUT, - DESCRIBE_MOVING_ADDRESSES_OUTPUT, - (), -) - -DESCRIBE_NAT_GATEWAYS_MAX_RESULTS: StaticSchema = (7, n0, _DNGMR, 0) - -NAT_GATEWAY_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _NGISL, - 0, - (_me,), - ((NAT_GATEWAY_ID, {_sN: _i}),), -) - -DESCRIBE_NAT_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _DNGIe, - {_sSI: _cDNGRom, _sm: None}, - (_DR, _Fi, _MR, _NGIa, _NTex), - ( - (BOOLEAN, 0), - (FILTER_LIST, 0), - (DESCRIBE_NAT_GATEWAYS_MAX_RESULTS, 0), - (NAT_GATEWAY_ID_STRING_LIST, {_sN: _NGI}), - (STRING, 0), - ), -) - -NAT_GATEWAY_LIST: StaticSchema = (16, n0, _NGL, 0, (_me,), ((NAT_GATEWAY, {_sN: _i}),)) - -DESCRIBE_NAT_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _DNGOe, - {_sSI: _cDNGRoma, _smit: None}, - (_NGa, _NTex), - ((NAT_GATEWAY_LIST, {_aQN: _NGSa, _sN: _nGS}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_NAT_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _DNGe, - 0, - DESCRIBE_NAT_GATEWAYS_INPUT, - DESCRIBE_NAT_GATEWAYS_OUTPUT, - (), -) - -DESCRIBE_NETWORK_ACLS_MAX_RESULTS: StaticSchema = (7, n0, _DNAMR, 0) - -NETWORK_ACL_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _NAISL, - 0, - (_me,), - ((NETWORK_ACL_ID, {_sN: _i}),), -) - -DESCRIBE_NETWORK_ACLS_INPUT: StaticSchema = ( - 18, - n0, - _DNAIe, - {_sSI: _cDNARo, _sm: None}, - (_NTex, _MR, _DR, _NAIe, _Fil), - ( - (STRING, 0), - (DESCRIBE_NETWORK_ACLS_MAX_RESULTS, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_ACL_ID_STRING_LIST, {_sN: _NAI}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -NETWORK_ACL_LIST: StaticSchema = (16, n0, _NAL, 0, (_me,), ((NETWORK_ACL, {_sN: _i}),)) - -DESCRIBE_NETWORK_ACLS_OUTPUT: StaticSchema = ( - 18, - n0, - _DNAOe, - {_sSI: _cDNARom, _smit: None}, - (_NAet, _NTex), - ((NETWORK_ACL_LIST, {_aQN: _NAS, _sN: _nAS}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_NETWORK_ACLS: StaticOperationSchema = ( - 23, - n0, - _DNAe, - 0, - DESCRIBE_NETWORK_ACLS_INPUT, - DESCRIBE_NETWORK_ACLS_OUTPUT, - (), -) - -NETWORK_INSIGHTS_MAX_RESULTS: StaticSchema = (7, n0, _NIMR, 0) - -NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID_LIST: StaticSchema = ( - 16, - n0, - _NIASAIL, - 0, - (_me,), - ((NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_INPUT: StaticSchema = ( - 18, - n0, - _DNIASAIe, - {_sSI: _cDNIASARom, _sm: None}, - (_NIASAIe, _NIASI, _ASTB, _ASTE, _Fil, _MR, _DR, _NTex), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID_LIST, {_sN: _NIASAI}), - (NETWORK_INSIGHTS_ACCESS_SCOPE_ID, 0), - (MILLISECOND_DATE_TIME, 0), - (MILLISECOND_DATE_TIME, 0), - (FILTER_LIST, {_sN: _Fi}), - (NETWORK_INSIGHTS_MAX_RESULTS, 0), - (BOOLEAN, 0), - (NEXT_TOKEN, 0), - ), -) - -FINDINGS_FOUND: StaticSchema = ( - 14, - n0, - _FFi, - 0, - (_true, _fal, _unk), - ((-1, {_sV: _true}), (-1, {_sV: _fal}), (-1, {_sV: _unk})), -) - -ANALYSIS_STATUS: StaticSchema = ( - 14, - n0, - _ASn, - 0, - (_ru, _suc, _fa), - ((-1, {_sV: _ru}), (-1, {_sV: _suc}), (-1, {_sV: _fa})), -) - -NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS: StaticSchema = ( - 18, - n0, - _NIASAe, - 0, - (_NIASAI, _NIASAA, _NIASI, _Sta, _SMt, _WM, _SDt, _ED, _FFi, _AEC, _Tag), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, {_aQN: _NIASAI, _sN: _nIASAI}), - (RESOURCE_ARN, {_aQN: _NIASAA, _sN: _nIASAA}), - (NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}), - (ANALYSIS_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (STRING, {_aQN: _WM, _sN: _wM}), - (MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), - (MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), - (FINDINGS_FOUND, {_aQN: _FFi, _sN: _fFi}), - (INTEGER, {_aQN: _AEC, _sN: _aEC}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_LIST: StaticSchema = ( - 16, - n0, - _NIASAL, - 0, - (_me,), - ((NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIASAOe, - {_sSI: _cDNIASARoma, _smit: None}, - (_NIASAet, _NTex), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_LIST, {_aQN: _NIASAS, _sN: _nIASAS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES: StaticOperationSchema = ( - 23, - n0, - _DNIASAe, - 0, - DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_INPUT, - DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_OUTPUT, - (), -) - -NETWORK_INSIGHTS_ACCESS_SCOPE_ID_LIST: StaticSchema = ( - 16, - n0, - _NIASIL, - 0, - (_me,), - ((NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_INPUT: StaticSchema = ( - 18, - n0, - _DNIASIe, - {_sSI: _cDNIASRom, _sm: None}, - (_NIASIe, _Fil, _MR, _DR, _NTex), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ID_LIST, {_sN: _NIASI}), - (FILTER_LIST, {_sN: _Fi}), - (NETWORK_INSIGHTS_MAX_RESULTS, 0), - (BOOLEAN, 0), - (NEXT_TOKEN, 0), - ), -) - -NETWORK_INSIGHTS_ACCESS_SCOPE_LIST: StaticSchema = ( - 16, - n0, - _NIASL, - 0, - (_me,), - ((NETWORK_INSIGHTS_ACCESS_SCOPE, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIASOe, - {_sSI: _cDNIASRoma, _smit: None}, - (_NIASe, _NTex), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_LIST, {_aQN: _NIASS, _sN: _nIASS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES: StaticOperationSchema = ( - 23, - n0, - _DNIASe, - 0, - DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_INPUT, - DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_OUTPUT, - (), -) - -NETWORK_INSIGHTS_ANALYSIS_ID_LIST: StaticSchema = ( - 16, - n0, - _NIAIL, - 0, - (_me,), - ((NETWORK_INSIGHTS_ANALYSIS_ID, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INSIGHTS_ANALYSES_INPUT: StaticSchema = ( - 18, - n0, - _DNIAIe, - {_sSI: _cDNIARom, _sm: None}, - (_NIAIe, _NIPI, _AST, _AET, _Fil, _MR, _DR, _NTex), - ( - (NETWORK_INSIGHTS_ANALYSIS_ID_LIST, {_sN: _NIAI}), - (NETWORK_INSIGHTS_PATH_ID, 0), - (MILLISECOND_DATE_TIME, 0), - (MILLISECOND_DATE_TIME, 0), - (FILTER_LIST, {_sN: _Fi}), - (NETWORK_INSIGHTS_MAX_RESULTS, 0), - (BOOLEAN, 0), - (NEXT_TOKEN, 0), - ), -) - -ARN_LIST: StaticSchema = (16, n0, _ALr, 0, (_me,), ((RESOURCE_ARN, {_sN: _i}),)) - -NETWORK_INSIGHTS_ANALYSIS: StaticSchema = ( - 18, - n0, - _NIAet, - 0, - ( - _NIAI, - _NIAA, - _NIPI, - _AAdd, - _FIAi, - _FOA, - _SDt, - _Sta, - _SMt, - _WM, - _NPF, - _FPC, - _RPC, - _Exp, - _APHlt, - _SAug, - _Tag, - ), - ( - (NETWORK_INSIGHTS_ANALYSIS_ID, {_aQN: _NIAI, _sN: _nIAI}), - (RESOURCE_ARN, {_aQN: _NIAA, _sN: _nIAA}), - (NETWORK_INSIGHTS_PATH_ID, {_aQN: _NIPI, _sN: _nIPI}), - (VALUE_STRING_LIST, {_aQN: _AASd, _sN: _aASd}), - (ARN_LIST, {_aQN: _FIAS, _sN: _fIAS}), - (ARN_LIST, {_aQN: _FOAS, _sN: _fOAS}), - (MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), - (ANALYSIS_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (STRING, {_aQN: _WM, _sN: _wM}), - (BOOLEAN, {_aQN: _NPF, _sN: _nPF}), - (PATH_COMPONENT_LIST, {_aQN: _FPCS, _sN: _fPCS}), - (PATH_COMPONENT_LIST, {_aQN: _RPCS, _sN: _rPCS}), - (EXPLANATION_LIST, {_aQN: _ES, _sN: _eS}), - (ALTERNATE_PATH_HINT_LIST, {_aQN: _APHS, _sN: _aPHS}), - (VALUE_STRING_LIST, {_aQN: _SASu, _sN: _sASu}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -NETWORK_INSIGHTS_ANALYSIS_LIST: StaticSchema = ( - 16, - n0, - _NIAL, - 0, - (_me,), - ((NETWORK_INSIGHTS_ANALYSIS, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INSIGHTS_ANALYSES_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIAOe, - {_sSI: _cDNIARoma, _smit: None}, - (_NIAetw, _NTex), - ( - (NETWORK_INSIGHTS_ANALYSIS_LIST, {_aQN: _NIASet, _sN: _nIASe}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_NETWORK_INSIGHTS_ANALYSES: StaticOperationSchema = ( - 23, - n0, - _DNIAe, - 0, - DESCRIBE_NETWORK_INSIGHTS_ANALYSES_INPUT, - DESCRIBE_NETWORK_INSIGHTS_ANALYSES_OUTPUT, - (), -) - -NETWORK_INSIGHTS_PATH_ID_LIST: StaticSchema = ( - 16, - n0, - _NIPIL, - 0, - (_me,), - ((NETWORK_INSIGHTS_PATH_ID, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INSIGHTS_PATHS_INPUT: StaticSchema = ( - 18, - n0, - _DNIPIes, - {_sSI: _cDNIPRomam, _sm: None}, - (_NIPIet, _Fil, _MR, _DR, _NTex), - ( - (NETWORK_INSIGHTS_PATH_ID_LIST, {_sN: _NIPI}), - (FILTER_LIST, {_sN: _Fi}), - (NETWORK_INSIGHTS_MAX_RESULTS, 0), - (BOOLEAN, 0), - (NEXT_TOKEN, 0), - ), -) - -NETWORK_INSIGHTS_PATH_LIST: StaticSchema = ( - 16, - n0, - _NIPL, - 0, - (_me,), - ((NETWORK_INSIGHTS_PATH, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INSIGHTS_PATHS_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIPOes, - {_sSI: _cDNIPRomama, _smit: None}, - (_NIPet, _NTex), - ( - (NETWORK_INSIGHTS_PATH_LIST, {_aQN: _NIPSe, _sN: _nIPS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_NETWORK_INSIGHTS_PATHS: StaticOperationSchema = ( - 23, - n0, - _DNIPes, - 0, - DESCRIBE_NETWORK_INSIGHTS_PATHS_INPUT, - DESCRIBE_NETWORK_INSIGHTS_PATHS_OUTPUT, - (), -) - -NETWORK_INTERFACE_ATTRIBUTE: StaticSchema = ( - 14, - n0, - _NIAetwo, - 0, - (_desc, _gS, _sDC, _atta, _aPIA), - ( - (-1, {_sV: _desc}), - (-1, {_sV: _gS}), - (-1, {_sV: _sDC}), - (-1, {_sV: _atta}), - (-1, {_sV: _aPIA}), - ), -) - -DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _DNIAIes, - {_sSI: _cDNIARomam, _sm: None}, - (_DR, _NII, _Attr), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), - (NETWORK_INTERFACE_ATTRIBUTE, {_aQN: _Attr, _sN: _attr}), - ), -) - -DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIAOes, - {_sSI: _cDNIARomama, _smit: None}, - (_At, _Des, _G, _NII, _SDC, _APIAsso), - ( - (NETWORK_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), - (ATTRIBUTE_VALUE, {_aQN: _Des, _sN: _desc}), - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - (STRING, {_aQN: _NII, _sN: _nII}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _SDC, _sN: _sDC}), - (BOOLEAN, {_aQN: _APIAsso, _sN: _aPIA}), - ), -) - -DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _DNIAes, - 0, - DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_INPUT, - DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT, - (), -) - -DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_MAX_RESULTS: StaticSchema = (7, n0, _DNIPMR, 0) - -NETWORK_INTERFACE_PERMISSION_ID_LIST: StaticSchema = ( - 16, - n0, - _NIPILe, - 0, - (_me,), - ((NETWORK_INTERFACE_PERMISSION_ID, 0),), -) - -DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DNIPIesc, - {_sSI: _cDNIPRomamaz, _sm: None}, - (_NIPIetw, _Fil, _NTex, _MR), - ( - (NETWORK_INTERFACE_PERMISSION_ID_LIST, {_sN: _NIPIe}), - (FILTER_LIST, {_sN: _Fi}), - (STRING, 0), - (DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_MAX_RESULTS, 0), - ), -) - -NETWORK_INTERFACE_PERMISSION_LIST: StaticSchema = ( - 16, - n0, - _NIPLe, - 0, - (_me,), - ((NETWORK_INTERFACE_PERMISSION, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIPOesc, - {_sSI: _cDNIPRomamazo, _smit: None}, - (_NIPetw, _NTex), - ( - (NETWORK_INTERFACE_PERMISSION_LIST, {_aQN: _NIPetw, _sN: _nIPe}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_NETWORK_INTERFACE_PERMISSIONS: StaticOperationSchema = ( - 23, - n0, - _DNIPesc, - 0, - DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_INPUT, - DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_OUTPUT, - (), -) - -DESCRIBE_NETWORK_INTERFACES_MAX_RESULTS: StaticSchema = (7, n0, _DNIMR, 0) - -NETWORK_INTERFACE_ID_LIST: StaticSchema = ( - 16, - n0, - _NIIL, - 0, - (_me,), - ((NETWORK_INTERFACE_ID, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INTERFACES_INPUT: StaticSchema = ( - 18, - n0, - _DNIIes, - {_sSI: _cDNIRo, _sm: None}, - (_NTex, _MR, _IMR, _DR, _NIIe, _Fil), - ( - (STRING, 0), - (DESCRIBE_NETWORK_INTERFACES_MAX_RESULTS, 0), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_INTERFACE_ID_LIST, {_sN: _NII}), - (FILTER_LIST, {_aQN: _Fi, _sN: _filt}), - ), -) - -NETWORK_INTERFACE_LIST: StaticSchema = ( - 16, - n0, - _NIL, - 0, - (_me,), - ((NETWORK_INTERFACE, {_sN: _i}),), -) - -DESCRIBE_NETWORK_INTERFACES_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIOe, - {_sSI: _cDNIRom, _smit: None}, - (_NIe, _NTex), - ( - (NETWORK_INTERFACE_LIST, {_aQN: _NIS, _sN: _nIS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_NETWORK_INTERFACES: StaticOperationSchema = ( - 23, - n0, - _DNIe, - 0, - DESCRIBE_NETWORK_INTERFACES_INPUT, - DESCRIBE_NETWORK_INTERFACES_OUTPUT, - (), -) - -OUTPOST_LAG_MAX_RESULTS: StaticSchema = (7, n0, _OLMR, 0) - -OUTPOST_LAG_ID_SET: StaticSchema = ( - 16, - n0, - _OLIS, - 0, - (_me,), - ((OUTPOST_LAG_ID, {_sN: _i}),), -) - -DESCRIBE_OUTPOST_LAGS_INPUT: StaticSchema = ( - 18, - n0, - _DOLI, - {_sSI: _cDOLR, _sm: None}, - (_OLIu, _Fil, _MR, _NTex, _DR), - ( - (OUTPOST_LAG_ID_SET, {_sN: _OLI}), - (FILTER_LIST, {_sN: _Fi}), - (OUTPOST_LAG_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -SERVICE_LINK_VIRTUAL_INTERFACE_ID: StaticSchema = (3, n0, _SLVII, 0) - -SERVICE_LINK_VIRTUAL_INTERFACE_ID_SET: StaticSchema = ( - 16, - n0, - _SLVIIS, - 0, - (_me,), - ((SERVICE_LINK_VIRTUAL_INTERFACE_ID, {_sN: _i}),), -) - -OUTPOST_LAG: StaticSchema = ( - 18, - n0, - _OL, - 0, - (_OA, _OIw, _St, _OLI, _LGVIIo, _SLVIIe, _Tag), - ( - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _St, _sN: _st}), - (OUTPOST_LAG_ID, {_aQN: _OLI, _sN: _oLI}), - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID_SET, {_aQN: _LGVIIS, _sN: _lGVIIS}), - (SERVICE_LINK_VIRTUAL_INTERFACE_ID_SET, {_aQN: _SLVIIS, _sN: _sLVIIS}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -OUTPOST_LAG_SET: StaticSchema = (16, n0, _OLS, 0, (_me,), ((OUTPOST_LAG, {_sN: _i}),)) - -DESCRIBE_OUTPOST_LAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DOLO, - {_sSI: _cDOLRo, _smit: None}, - (_OLu, _NTex), - ((OUTPOST_LAG_SET, {_aQN: _OLS, _sN: _oLS}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_OUTPOST_LAGS: StaticOperationSchema = ( - 23, - n0, - _DOLe, - 0, - DESCRIBE_OUTPOST_LAGS_INPUT, - DESCRIBE_OUTPOST_LAGS_OUTPUT, - (), -) - -PLACEMENT_GROUP_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _PGISL, - 0, - (_me,), - ((PLACEMENT_GROUP_ID, {_sN: _GIr}),), -) - -PLACEMENT_GROUP_STRING_LIST: StaticSchema = ( - 16, - n0, - _PGSLl, - 0, - (_me,), - ((PLACEMENT_GROUP_NAME, 0),), -) - -DESCRIBE_PLACEMENT_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DPGIe, - {_sSI: _cDPGRo, _sm: None}, - (_GIrou, _DR, _GNr, _Fil), - ( - (PLACEMENT_GROUP_ID_STRING_LIST, {_sN: _GIr}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (PLACEMENT_GROUP_STRING_LIST, {_aQN: _GN, _sN: _gN}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -PLACEMENT_GROUP_LIST: StaticSchema = ( - 16, - n0, - _PGL, - 0, - (_me,), - ((PLACEMENT_GROUP, {_sN: _i}),), -) - -DESCRIBE_PLACEMENT_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DPGOe, - {_sSI: _cDPGRom, _smit: None}, - (_PGl,), - ((PLACEMENT_GROUP_LIST, {_aQN: _PGSla, _sN: _pGS}),), -) - -DESCRIBE_PLACEMENT_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DPGe, - 0, - DESCRIBE_PLACEMENT_GROUPS_INPUT, - DESCRIBE_PLACEMENT_GROUPS_OUTPUT, - (), -) - -PREFIX_LIST_RESOURCE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _PLRISL, - 0, - (_me,), - ((PREFIX_LIST_RESOURCE_ID, {_sN: _i}),), -) - -DESCRIBE_PREFIX_LISTS_INPUT: StaticSchema = ( - 18, - n0, - _DPLIe, - {_sSI: _cDPLR, _sm: None}, - (_DR, _Fil, _MR, _NTex, _PLIr), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (INTEGER, 0), - (STRING, 0), - (PREFIX_LIST_RESOURCE_ID_STRING_LIST, {_sN: _PLI}), - ), -) - -PREFIX_LIST: StaticSchema = ( - 18, - n0, - _PL, - 0, - (_Cid, _PLI, _PLN), - ( - (VALUE_STRING_LIST, {_aQN: _CS, _sN: _cS}), - (STRING, {_aQN: _PLI, _sN: _pLI}), - (STRING, {_aQN: _PLN, _sN: _pLN}), - ), -) - -PREFIX_LIST_SET: StaticSchema = (16, n0, _PLSr, 0, (_me,), ((PREFIX_LIST, {_sN: _i}),)) - -DESCRIBE_PREFIX_LISTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DPLO, - {_sSI: _cDPLRo, _smit: None}, - (_NTex, _PLre), - ((STRING, {_aQN: _NTex, _sN: _nT}), (PREFIX_LIST_SET, {_aQN: _PLSr, _sN: _pLSr})), -) - -DESCRIBE_PREFIX_LISTS: StaticOperationSchema = ( - 23, - n0, - _DPLes, - 0, - DESCRIBE_PREFIX_LISTS_INPUT, - DESCRIBE_PREFIX_LISTS_OUTPUT, - (), -) - -DESCRIBE_PRINCIPAL_ID_FORMAT_MAX_RESULTS: StaticSchema = (7, n0, _DPIFMR, 0) - -RESOURCE_LIST: StaticSchema = (16, n0, _RLes, 0, (_me,), ((STRING, {_sN: _i}),)) - -DESCRIBE_PRINCIPAL_ID_FORMAT_INPUT: StaticSchema = ( - 18, - n0, - _DPIFI, - {_sSI: _cDPIFR, _sm: None}, - (_DR, _Res, _MR, _NTex), - ( - (BOOLEAN, 0), - (RESOURCE_LIST, {_sN: _Reso}), - (DESCRIBE_PRINCIPAL_ID_FORMAT_MAX_RESULTS, 0), - (STRING, 0), - ), -) - -PRINCIPAL_ID_FORMAT: StaticSchema = ( - 18, - n0, - _PIF, - 0, - (_Ar, _Statu), - ((STRING, {_aQN: _Ar, _sN: _ar}), (ID_FORMAT_LIST, {_aQN: _SSta, _sN: _sSt})), -) - -PRINCIPAL_ID_FORMAT_LIST: StaticSchema = ( - 16, - n0, - _PIFL, - 0, - (_me,), - ((PRINCIPAL_ID_FORMAT, {_sN: _i}),), -) - -DESCRIBE_PRINCIPAL_ID_FORMAT_OUTPUT: StaticSchema = ( - 18, - n0, - _DPIFO, - {_sSI: _cDPIFRo, _smit: None}, - (_Prin, _NTex), - ( - (PRINCIPAL_ID_FORMAT_LIST, {_aQN: _PSrin, _sN: _pSrin}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_PRINCIPAL_ID_FORMAT: StaticOperationSchema = ( - 23, - n0, - _DPIF, - 0, - DESCRIBE_PRINCIPAL_ID_FORMAT_INPUT, - DESCRIBE_PRINCIPAL_ID_FORMAT_OUTPUT, - (), -) - -POOL_MAX_RESULTS: StaticSchema = (7, n0, _PMR, 0) - -PUBLIC_IPV4_POOL_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _PIPISL, - 0, - (_me,), - ((IPV4_POOL_EC2_ID, {_sN: _i}),), -) - -DESCRIBE_PUBLIC_IPV4_POOLS_INPUT: StaticSchema = ( - 18, - n0, - _DPIPIe, - {_sSI: _cDPIPRom, _sm: None}, - (_PIoo, _NTex, _MR, _Fil), - ( - (PUBLIC_IPV4_POOL_ID_STRING_LIST, {_sN: _PIo}), - (NEXT_TOKEN, 0), - (POOL_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -PUBLIC_IPV4_POOL_RANGE: StaticSchema = ( - 18, - n0, - _PIPR, - 0, - (_FAi, _LAa, _ACd, _AAC), - ( - (STRING, {_aQN: _FAi, _sN: _fAi}), - (STRING, {_aQN: _LAa, _sN: _lAa}), - (INTEGER, {_aQN: _ACd, _sN: _aCd}), - (INTEGER, {_aQN: _AAC, _sN: _aAC}), - ), -) - -PUBLIC_IPV4_POOL_RANGE_SET: StaticSchema = ( - 16, - n0, - _PIPRS, - 0, - (_me,), - ((PUBLIC_IPV4_POOL_RANGE, {_sN: _i}),), -) - -PUBLIC_IPV4_POOL: StaticSchema = ( - 18, - n0, - _PIP, - 0, - (_PIo, _Des, _PAR, _TACo, _TAAC, _NBG, _Tag), - ( - (STRING, {_aQN: _PIo, _sN: _pIo}), - (STRING, {_aQN: _Des, _sN: _desc}), - (PUBLIC_IPV4_POOL_RANGE_SET, {_aQN: _PARS, _sN: _pARS}), - (INTEGER, {_aQN: _TACo, _sN: _tACo}), - (INTEGER, {_aQN: _TAAC, _sN: _tAAC}), - (STRING, {_aQN: _NBG, _sN: _nBG}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -PUBLIC_IPV4_POOL_SET: StaticSchema = ( - 16, - n0, - _PIPS, - 0, - (_me,), - ((PUBLIC_IPV4_POOL, {_sN: _i}),), -) - -DESCRIBE_PUBLIC_IPV4_POOLS_OUTPUT: StaticSchema = ( - 18, - n0, - _DPIPOe, - {_sSI: _cDPIPRoma, _smit: None}, - (_PIPu, _NTex), - ( - (PUBLIC_IPV4_POOL_SET, {_aQN: _PIPS, _sN: _pIPS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_PUBLIC_IPV4_POOLS: StaticOperationSchema = ( - 23, - n0, - _DPIPe, - 0, - DESCRIBE_PUBLIC_IPV4_POOLS_INPUT, - DESCRIBE_PUBLIC_IPV4_POOLS_OUTPUT, - (), -) - -REGION_NAME_STRING_LIST: StaticSchema = ( - 16, - n0, - _RNSL, - 0, - (_me,), - ((STRING, {_sN: _RNe}),), -) - -DESCRIBE_REGIONS_INPUT: StaticSchema = ( - 18, - n0, - _DRIe, - {_sSI: _cDRRo, _sm: None}, - (_RNeg, _ARlle, _DR, _Fil), - ( - (REGION_NAME_STRING_LIST, {_sN: _RNe}), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -REGION_GEOGRAPHY: StaticSchema = ( - 18, - n0, - _RG, - 0, - (_N,), - ((STRING, {_aQN: _N, _sN: _nam}),), -) - -REGION_GEOGRAPHY_LIST: StaticSchema = ( - 16, - n0, - _RGL, - 0, - (_me,), - ((REGION_GEOGRAPHY, {_sN: _i}),), -) - -REGION: StaticSchema = ( - 18, - n0, - _Re, - 0, - (_OIS, _Ge, _RNe, _Endp), - ( - (STRING, {_aQN: _OIS, _sN: _oIS}), - (REGION_GEOGRAPHY_LIST, {_aQN: _GSe, _sN: _gSe}), - (STRING, {_aQN: _RNe, _sN: _rNe}), - (STRING, {_aQN: _REeg, _sN: _rEeg}), - ), -) - -REGION_LIST: StaticSchema = (16, n0, _RLeg, 0, (_me,), ((REGION, {_sN: _i}),)) - -DESCRIBE_REGIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DROe, - {_sSI: _cDRRom, _smit: None}, - (_Reg,), - ((REGION_LIST, {_aQN: _RIegi, _sN: _rIeg}),), -) - -DESCRIBE_REGIONS: StaticOperationSchema = ( - 23, - n0, - _DRes, - 0, - DESCRIBE_REGIONS_INPUT, - DESCRIBE_REGIONS_OUTPUT, - (), -) - -DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_MAX_RESULTS: StaticSchema = (7, n0, _DRRVTMR, 0) - -REPLACE_ROOT_VOLUME_TASK_IDS: StaticSchema = ( - 16, - n0, - _RRVTIe, - 0, - (_me,), - ((REPLACE_ROOT_VOLUME_TASK_ID, {_sN: _RRVTI}),), -) - -DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DRRVTI, - {_sSI: _cDRRVTR, _sm: None}, - (_RRVTIe, _Fil, _MR, _NTex, _DR), - ( - (REPLACE_ROOT_VOLUME_TASK_IDS, {_sN: _RRVTI}), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (BOOLEAN, 0), - ), -) - -REPLACE_ROOT_VOLUME_TASKS: StaticSchema = ( - 16, - n0, - _RRVTe, - 0, - (_me,), - ((REPLACE_ROOT_VOLUME_TASK, {_sN: _i}),), -) - -DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DRRVTO, - {_sSI: _cDRRVTRo, _smit: None}, - (_RRVTe, _NTex), - ( - (REPLACE_ROOT_VOLUME_TASKS, {_aQN: _RRVTSe, _sN: _rRVTS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_REPLACE_ROOT_VOLUME_TASKS: StaticOperationSchema = ( - 23, - n0, - _DRRVT, - 0, - DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_INPUT, - DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_OUTPUT, - (), -) - -OFFERING_CLASS_TYPE: StaticSchema = ( - 14, - n0, - _OCT, - 0, - (_STANDARD, _CONVERTIBLE), - ((-1, {_sV: _stan}), (-1, {_sV: _conv})), -) - -OFFERING_TYPE_VALUES: StaticSchema = ( - 14, - n0, - _OTV, - 0, - (_HU, _MU, _LU_, _NU_, _PU__, _AU_), - ( - (-1, {_sV: _HU_}), - (-1, {_sV: _MU_}), - (-1, {_sV: _LU__}), - (-1, {_sV: _NU__}), - (-1, {_sV: _PU___}), - (-1, {_sV: _AU__}), - ), -) - -RESERVED_INSTANCES_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _RIISL, - 0, - (_me,), - ((RESERVATION_ID, {_sN: _RIIes}),), -) - -DESCRIBE_RESERVED_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DRII, - {_sSI: _cDRIR, _sm: None}, - (_OC, _RIIese, _DR, _Fil, _OTf), - ( - (OFFERING_CLASS_TYPE, 0), - (RESERVED_INSTANCES_ID_STRING_LIST, {_sN: _RIIes}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - (OFFERING_TYPE_VALUES, {_aQN: _OTf, _sN: _oTf}), - ), -) - -FLOAT: StaticSchema = (9, n0, _Flo, 0) - -RI_PRODUCT_DESCRIPTION: StaticSchema = ( - 14, - n0, - _RIPD, - 0, - (_LU___, _LUAV, _W, _WAV), - ((-1, {_sV: _LUNIX}), (-1, {_sV: _LV}), (-1, {_sV: _W}), (-1, {_sV: _WV})), -) - -RECURRING_CHARGE_FREQUENCY: StaticSchema = ( - 14, - n0, - _RCF, - 0, - (_Hou,), - ((-1, {_sV: _Hou}),), -) - -RECURRING_CHARGE: StaticSchema = ( - 18, - n0, - _RCec, - 0, - (_Am, _Fr), - ( - (DOUBLE, {_aQN: _Am, _sN: _amo}), - (RECURRING_CHARGE_FREQUENCY, {_aQN: _Fr, _sN: _freq}), - ), -) - -RECURRING_CHARGES_LIST: StaticSchema = ( - 16, - n0, - _RCL, - 0, - (_me,), - ((RECURRING_CHARGE, {_sN: _i}),), -) - -SCOPE: StaticSchema = ( - 14, - n0, - _sc, - 0, - (_AZ_, _REGIONAL), - ((-1, {_sV: _AZ__}), (-1, {_sV: _Re})), -) - -RESERVED_INSTANCE_STATE: StaticSchema = ( - 14, - n0, - _RIS, - 0, - (_pp__, _act, _pf____, _reti, _que, _qd), - ( - (-1, {_sV: _pp___}), - (-1, {_sV: _act}), - (-1, {_sV: _pf_____}), - (-1, {_sV: _reti}), - (-1, {_sV: _que}), - (-1, {_sV: _qd_}), - ), -) - -RESERVED_INSTANCES: StaticSchema = ( - 18, - n0, - _RIese, - 0, - ( - _CC, - _ITnst, - _OC, - _OTf, - _RCecu, - _Sc, - _Tag, - _AZI, - _RIIes, - _IT, - _AZ, - _Star, - _End, - _Dur, - _UPs, - _FPix, - _IC, - _PDr, - _St, - ), - ( - (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), - (TENANCY, {_aQN: _ITnst, _sN: _iTns}), - (OFFERING_CLASS_TYPE, {_aQN: _OC, _sN: _oC}), - (OFFERING_TYPE_VALUES, {_aQN: _OTf, _sN: _oTf}), - (RECURRING_CHARGES_LIST, {_aQN: _RCecu, _sN: _rCe}), - (SCOPE, {_aQN: _Sc, _sN: _sc}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _RIIes, _sN: _rII}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (DATE_TIME, {_aQN: _Star, _sN: _star}), - (DATE_TIME, {_aQN: _End, _sN: _end}), - (LONG, {_aQN: _Dur, _sN: _dur}), - (FLOAT, {_aQN: _UPs, _sN: _uPs}), - (FLOAT, {_aQN: _FPix, _sN: _fPix}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - (RI_PRODUCT_DESCRIPTION, {_aQN: _PDr, _sN: _pDr}), - (RESERVED_INSTANCE_STATE, {_aQN: _St, _sN: _st}), - ), -) - -RESERVED_INSTANCES_LIST: StaticSchema = ( - 16, - n0, - _RILese, - 0, - (_me,), - ((RESERVED_INSTANCES, {_sN: _i}),), -) - -DESCRIBE_RESERVED_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DRIO, - {_sSI: _cDRIRo, _smit: None}, - (_RIese,), - ((RESERVED_INSTANCES_LIST, {_aQN: _RISe, _sN: _rIS}),), -) - -DESCRIBE_RESERVED_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DRIes, - 0, - DESCRIBE_RESERVED_INSTANCES_INPUT, - DESCRIBE_RESERVED_INSTANCES_OUTPUT, - (), -) - -DESCRIBE_RESERVED_INSTANCES_LISTINGS_INPUT: StaticSchema = ( - 18, - n0, - _DRILI, - {_sSI: _cDRILR, _sm: None}, - (_RIIes, _RILI, _Fil), - ( - (RESERVATION_ID, {_aQN: _RIIes, _sN: _rII}), - (RESERVED_INSTANCES_LISTING_ID, {_aQN: _RILI, _sN: _rILI}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -DESCRIBE_RESERVED_INSTANCES_LISTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DRILO, - {_sSI: _cDRILRo, _smit: None}, - (_RILe,), - ((RESERVED_INSTANCES_LISTING_LIST, {_aQN: _RILS, _sN: _rILS}),), -) - -DESCRIBE_RESERVED_INSTANCES_LISTINGS: StaticOperationSchema = ( - 23, - n0, - _DRIL, - 0, - DESCRIBE_RESERVED_INSTANCES_LISTINGS_INPUT, - DESCRIBE_RESERVED_INSTANCES_LISTINGS_OUTPUT, - (), -) - -RESERVED_INSTANCES_MODIFICATION_ID: StaticSchema = (3, n0, _RIMI, 0) - -RESERVED_INSTANCES_MODIFICATION_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _RIMISL, - 0, - (_me,), - ((RESERVED_INSTANCES_MODIFICATION_ID, {_sN: _RIMI}),), -) - -DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DRIMI, - {_sSI: _cDRIMR, _sm: None}, - (_RIMIe, _NTex, _Fil), - ( - (RESERVED_INSTANCES_MODIFICATION_ID_STRING_LIST, {_sN: _RIMI}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -RESERVED_INSTANCES_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RIC, - 0, - (_AZ, _IC, _IT, _Pla, _Sc, _AZI), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _Pla, _sN: _plat}), - (SCOPE, {_aQN: _Sc, _sN: _sc}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - ), -) - -RESERVED_INSTANCES_MODIFICATION_RESULT: StaticSchema = ( - 18, - n0, - _RIMR, - 0, - (_RIIes, _TCa), - ( - (STRING, {_aQN: _RIIes, _sN: _rII}), - (RESERVED_INSTANCES_CONFIGURATION, {_aQN: _TCa, _sN: _tCa}), - ), -) - -RESERVED_INSTANCES_MODIFICATION_RESULT_LIST: StaticSchema = ( - 16, - n0, - _RIMRL, - 0, - (_me,), - ((RESERVED_INSTANCES_MODIFICATION_RESULT, {_sN: _i}),), -) - -RESERVED_INSTANCES_ID: StaticSchema = ( - 18, - n0, - _RIIes, - 0, - (_RIIes,), - ((STRING, {_aQN: _RIIes, _sN: _rII}),), -) - -RESERVED_INTANCES_IDS: StaticSchema = ( - 16, - n0, - _RIIeser, - 0, - (_me,), - ((RESERVED_INSTANCES_ID, {_sN: _i}),), -) - -RESERVED_INSTANCES_MODIFICATION: StaticSchema = ( - 18, - n0, - _RIM, - 0, - (_CTl, _CD, _EDf, _MRo, _RIIese, _RIMI, _Sta, _SMt, _UD), - ( - (STRING, {_aQN: _CTl, _sN: _cTl}), - (DATE_TIME, {_aQN: _CD, _sN: _cD}), - (DATE_TIME, {_aQN: _EDf, _sN: _eDf}), - (RESERVED_INSTANCES_MODIFICATION_RESULT_LIST, {_aQN: _MRS, _sN: _mRS}), - (RESERVED_INTANCES_IDS, {_aQN: _RISe, _sN: _rIS}), - (STRING, {_aQN: _RIMI, _sN: _rIMI}), - (STRING, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (DATE_TIME, {_aQN: _UD, _sN: _uD}), - ), -) - -RESERVED_INSTANCES_MODIFICATION_LIST: StaticSchema = ( - 16, - n0, - _RIML, - 0, - (_me,), - ((RESERVED_INSTANCES_MODIFICATION, {_sN: _i}),), -) - -DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DRIMO, - {_sSI: _cDRIMRo, _smit: None}, - (_NTex, _RIMe), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (RESERVED_INSTANCES_MODIFICATION_LIST, {_aQN: _RIMS, _sN: _rIMS}), - ), -) - -DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS: StaticOperationSchema = ( - 23, - n0, - _DRIM, - 0, - DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_INPUT, - DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_OUTPUT, - (), -) - -RESERVED_INSTANCES_OFFERING_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _RIOISL, - 0, - (_me,), - ((RESERVED_INSTANCES_OFFERING_ID, 0),), -) - -DESCRIBE_RESERVED_INSTANCES_OFFERINGS_INPUT: StaticSchema = ( - 18, - n0, - _DRIOI, - {_sSI: _cDRIOR, _sm: None}, - ( - _AZ, - _IMn, - _IT, - _MDa, - _MIC, - _MDi, - _OC, - _PDr, - _RIOIe, - _AZI, - _DR, - _Fil, - _ITnst, - _OTf, - _NTex, - _MR, - ), - ( - (STRING, 0), - (BOOLEAN, 0), - (INSTANCE_TYPE, 0), - (LONG, 0), - (INTEGER, 0), - (LONG, 0), - (OFFERING_CLASS_TYPE, 0), - (RI_PRODUCT_DESCRIPTION, 0), - (RESERVED_INSTANCES_OFFERING_ID_STRING_LIST, {_sN: _RIOI}), - (AVAILABILITY_ZONE_ID, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - (TENANCY, {_aQN: _ITnst, _sN: _iTns}), - (OFFERING_TYPE_VALUES, {_aQN: _OTf, _sN: _oTf}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (INTEGER, {_aQN: _MR, _sN: _mR}), - ), -) - -PRICING_DETAIL: StaticSchema = ( - 18, - n0, - _PDri, - 0, - (_Cou, _Pric), - ((INTEGER, {_aQN: _Cou, _sN: _cou}), (DOUBLE, {_aQN: _Pric, _sN: _pric})), -) - -PRICING_DETAILS_LIST: StaticSchema = ( - 16, - n0, - _PDL, - 0, - (_me,), - ((PRICING_DETAIL, {_sN: _i}),), -) - -RESERVED_INSTANCES_OFFERING: StaticSchema = ( - 18, - n0, - _RIO, - 0, - ( - _CC, - _ITnst, - _Mar, - _OC, - _OTf, - _PDric, - _RCecu, - _Sc, - _AZI, - _RIOI, - _IT, - _AZ, - _Dur, - _UPs, - _FPix, - _PDr, - ), - ( - (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), - (TENANCY, {_aQN: _ITnst, _sN: _iTns}), - (BOOLEAN, {_aQN: _Mar, _sN: _mar}), - (OFFERING_CLASS_TYPE, {_aQN: _OC, _sN: _oC}), - (OFFERING_TYPE_VALUES, {_aQN: _OTf, _sN: _oTf}), - (PRICING_DETAILS_LIST, {_aQN: _PDS, _sN: _pDS}), - (RECURRING_CHARGES_LIST, {_aQN: _RCecu, _sN: _rCe}), - (SCOPE, {_aQN: _Sc, _sN: _sc}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _RIOI, _sN: _rIOI}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (LONG, {_aQN: _Dur, _sN: _dur}), - (FLOAT, {_aQN: _UPs, _sN: _uPs}), - (FLOAT, {_aQN: _FPix, _sN: _fPix}), - (RI_PRODUCT_DESCRIPTION, {_aQN: _PDr, _sN: _pDr}), - ), -) - -RESERVED_INSTANCES_OFFERING_LIST: StaticSchema = ( - 16, - n0, - _RIOL, - 0, - (_me,), - ((RESERVED_INSTANCES_OFFERING, {_sN: _i}),), -) - -DESCRIBE_RESERVED_INSTANCES_OFFERINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DRIOO, - {_sSI: _cDRIORo, _smit: None}, - (_NTex, _RIOe), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (RESERVED_INSTANCES_OFFERING_LIST, {_aQN: _RIOS, _sN: _rIOS}), - ), -) - -DESCRIBE_RESERVED_INSTANCES_OFFERINGS: StaticOperationSchema = ( - 23, - n0, - _DRIOe, - 0, - DESCRIBE_RESERVED_INSTANCES_OFFERINGS_INPUT, - DESCRIBE_RESERVED_INSTANCES_OFFERINGS_OUTPUT, - (), -) - -ROUTE_SERVER_MAX_RESULTS: StaticSchema = (7, n0, _RSMR, 0) - -ROUTE_SERVER_ENDPOINT_IDS_LIST: StaticSchema = ( - 16, - n0, - _RSEIL, - 0, - (_me,), - ((ROUTE_SERVER_ENDPOINT_ID, 0),), -) - -DESCRIBE_ROUTE_SERVER_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _DRSEIe, - {_sSI: _cDRSERom, _sm: None}, - (_RSEIo, _NTex, _MR, _Fil, _DR), - ( - (ROUTE_SERVER_ENDPOINT_IDS_LIST, {_sN: _RSEI}), - (STRING, 0), - (ROUTE_SERVER_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -ROUTE_SERVER_ENDPOINTS_LIST: StaticSchema = ( - 16, - n0, - _RSEL, - 0, - (_me,), - ((ROUTE_SERVER_ENDPOINT, {_sN: _i}),), -) - -DESCRIBE_ROUTE_SERVER_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DRSEOe, - {_sSI: _cDRSERoma, _smit: None}, - (_RSEo, _NTex), - ( - (ROUTE_SERVER_ENDPOINTS_LIST, {_aQN: _RSESo, _sN: _rSES}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_ROUTE_SERVER_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _DRSEe, - 0, - DESCRIBE_ROUTE_SERVER_ENDPOINTS_INPUT, - DESCRIBE_ROUTE_SERVER_ENDPOINTS_OUTPUT, - (), -) - -ROUTE_SERVER_PEER_IDS_LIST: StaticSchema = ( - 16, - n0, - _RSPIL, - 0, - (_me,), - ((ROUTE_SERVER_PEER_ID, 0),), -) - -DESCRIBE_ROUTE_SERVER_PEERS_INPUT: StaticSchema = ( - 18, - n0, - _DRSPIe, - {_sSI: _cDRSPRom, _sm: None}, - (_RSPIo, _NTex, _MR, _Fil, _DR), - ( - (ROUTE_SERVER_PEER_IDS_LIST, {_sN: _RSPI}), - (STRING, 0), - (ROUTE_SERVER_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -ROUTE_SERVER_PEERS_LIST: StaticSchema = ( - 16, - n0, - _RSPL, - 0, - (_me,), - ((ROUTE_SERVER_PEER, {_sN: _i}),), -) - -DESCRIBE_ROUTE_SERVER_PEERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DRSPOe, - {_sSI: _cDRSPRoma, _smit: None}, - (_RSPo, _NTex), - ( - (ROUTE_SERVER_PEERS_LIST, {_aQN: _RSPSo, _sN: _rSPS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_ROUTE_SERVER_PEERS: StaticOperationSchema = ( - 23, - n0, - _DRSPe, - 0, - DESCRIBE_ROUTE_SERVER_PEERS_INPUT, - DESCRIBE_ROUTE_SERVER_PEERS_OUTPUT, - (), -) - -ROUTE_SERVER_IDS_LIST: StaticSchema = ( - 16, - n0, - _RSIL, - 0, - (_me,), - ((ROUTE_SERVER_ID, 0),), -) - -DESCRIBE_ROUTE_SERVERS_INPUT: StaticSchema = ( - 18, - n0, - _DRSIe, - {_sSI: _cDRSRom, _sm: None}, - (_RSIo, _NTex, _MR, _Fil, _DR), - ( - (ROUTE_SERVER_IDS_LIST, {_sN: _RSI}), - (STRING, 0), - (ROUTE_SERVER_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -ROUTE_SERVERS_LIST: StaticSchema = ( - 16, - n0, - _RSL, - 0, - (_me,), - ((ROUTE_SERVER, {_sN: _i}),), -) - -DESCRIBE_ROUTE_SERVERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DRSOe, - {_sSI: _cDRSRoma, _smit: None}, - (_RSoute, _NTex), - ((ROUTE_SERVERS_LIST, {_aQN: _RSSo, _sN: _rSS}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_ROUTE_SERVERS: StaticOperationSchema = ( - 23, - n0, - _DRSe, - 0, - DESCRIBE_ROUTE_SERVERS_INPUT, - DESCRIBE_ROUTE_SERVERS_OUTPUT, - (), -) - -DESCRIBE_ROUTE_TABLES_MAX_RESULTS: StaticSchema = (7, n0, _DRTMR, 0) - -ROUTE_TABLE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _RTISL, - 0, - (_me,), - ((ROUTE_TABLE_ID, {_sN: _i}),), -) - -DESCRIBE_ROUTE_TABLES_INPUT: StaticSchema = ( - 18, - n0, - _DRTIe, - {_sSI: _cDRTRo, _sm: None}, - (_NTex, _MR, _DR, _RTIou, _Fil), - ( - (STRING, 0), - (DESCRIBE_ROUTE_TABLES_MAX_RESULTS, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (ROUTE_TABLE_ID_STRING_LIST, {_sN: _RTIo}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -ROUTE_TABLE_LIST: StaticSchema = (16, n0, _RTLo, 0, (_me,), ((ROUTE_TABLE, {_sN: _i}),)) - -DESCRIBE_ROUTE_TABLES_OUTPUT: StaticSchema = ( - 18, - n0, - _DRTOe, - {_sSI: _cDRTRom, _smit: None}, - (_RTou, _NTex), - ((ROUTE_TABLE_LIST, {_aQN: _RTSo, _sN: _rTSo}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -DESCRIBE_ROUTE_TABLES: StaticOperationSchema = ( - 23, - n0, - _DRTe, - 0, - DESCRIBE_ROUTE_TABLES_INPUT, - DESCRIBE_ROUTE_TABLES_OUTPUT, - (), -) - -SLOT_DATE_TIME_RANGE_REQUEST: StaticSchema = ( - 18, - n0, - _SDTRR, - 0, - (_ETa, _LTat), - ((DATE_TIME, 1), (DATE_TIME, 1)), -) - -DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_MAX_RESULTS: StaticSchema = (7, n0, _DSIAMR, 0) - -OCCURRENCE_DAY_REQUEST_SET: StaticSchema = ( - 16, - n0, - _ODRS, - 0, - (_me,), - ((INTEGER, {_sN: _ODc}),), -) - -SCHEDULED_INSTANCE_RECURRENCE_REQUEST: StaticSchema = ( - 18, - n0, - _SIRR, - 0, - (_Fr, _Int, _ODcc, _ORTE, _OUc), - ( - (STRING, 0), - (INTEGER, 0), - (OCCURRENCE_DAY_REQUEST_SET, {_sN: _ODccu}), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_INPUT: StaticSchema = ( - 18, - n0, - _DSIAI, - {_sSI: _cDSIAR, _sm: None}, - (_DR, _Fil, _FSSTR, _MR, _MSDIH, _MSDIHi, _NTex, _Rec), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (SLOT_DATE_TIME_RANGE_REQUEST, 1), - (DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_MAX_RESULTS, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (SCHEDULED_INSTANCE_RECURRENCE_REQUEST, 1), - ), -) - -OCCURRENCE_DAY_SET: StaticSchema = (16, n0, _ODS, 0, (_me,), ((INTEGER, {_sN: _i}),)) - -SCHEDULED_INSTANCE_RECURRENCE: StaticSchema = ( - 18, - n0, - _SIRc, - 0, - (_Fr, _Int, _ODS, _ORTE, _OUc), - ( - (STRING, {_aQN: _Fr, _sN: _freq}), - (INTEGER, {_aQN: _Int, _sN: _int}), - (OCCURRENCE_DAY_SET, {_aQN: _ODS, _sN: _oDS}), - (BOOLEAN, {_aQN: _ORTE, _sN: _oRTE}), - (STRING, {_aQN: _OUc, _sN: _oU}), - ), -) - -SCHEDULED_INSTANCE_AVAILABILITY: StaticSchema = ( - 18, - n0, - _SIA, - 0, - ( - _AZ, - _AIC, - _FSST, - _HP, - _IT, - _MTDID, - _MTDIDi, - _NPet, - _Pla, - _PTu, - _Rec, - _SDIH, - _TSIH, - ), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (INTEGER, {_aQN: _AIC, _sN: _aIC}), - (DATE_TIME, {_aQN: _FSST, _sN: _fSST}), - (STRING, {_aQN: _HP, _sN: _hP}), - (STRING, {_aQN: _IT, _sN: _iT}), - (INTEGER, {_aQN: _MTDID, _sN: _mTDID}), - (INTEGER, {_aQN: _MTDIDi, _sN: _mTDIDi}), - (STRING, {_aQN: _NPet, _sN: _nPet}), - (STRING, {_aQN: _Pla, _sN: _plat}), - (STRING, {_aQN: _PTu, _sN: _pTu}), - (SCHEDULED_INSTANCE_RECURRENCE, {_aQN: _Rec, _sN: _recu}), - (INTEGER, {_aQN: _SDIH, _sN: _sDIH}), - (INTEGER, {_aQN: _TSIH, _sN: _tSIH}), - ), -) - -SCHEDULED_INSTANCE_AVAILABILITY_SET: StaticSchema = ( - 16, - n0, - _SIAS, - 0, - (_me,), - ((SCHEDULED_INSTANCE_AVAILABILITY, {_sN: _i}),), -) - -DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_OUTPUT: StaticSchema = ( - 18, - n0, - _DSIAO, - {_sSI: _cDSIARo, _smit: None}, - (_NTex, _SIAS), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (SCHEDULED_INSTANCE_AVAILABILITY_SET, {_aQN: _SIAS, _sN: _sIAS}), - ), -) - -DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY: StaticOperationSchema = ( - 23, - n0, - _DSIA, - 0, - DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_INPUT, - DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_OUTPUT, - (), -) - -SCHEDULED_INSTANCE_ID: StaticSchema = (3, n0, _SIIc, 0) - -SCHEDULED_INSTANCE_ID_REQUEST_SET: StaticSchema = ( - 16, - n0, - _SIIRS, - 0, - (_me,), - ((SCHEDULED_INSTANCE_ID, {_sN: _SIIc}),), -) - -SLOT_START_TIME_RANGE_REQUEST: StaticSchema = ( - 18, - n0, - _SSTRR, - 0, - (_ETa, _LTat), - ((DATE_TIME, 0), (DATE_TIME, 0)), -) - -DESCRIBE_SCHEDULED_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DSII, - {_sSI: _cDSIR, _sm: None}, - (_DR, _Fil, _MR, _NTex, _SIIch, _SSTR), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (INTEGER, 0), - (STRING, 0), - (SCHEDULED_INSTANCE_ID_REQUEST_SET, {_sN: _SIIc}), - (SLOT_START_TIME_RANGE_REQUEST, 0), - ), -) - -SCHEDULED_INSTANCE: StaticSchema = ( - 18, - n0, - _SIc, - 0, - ( - _AZ, - _CD, - _HP, - _IC, - _IT, - _NPet, - _NSST, - _Pla, - _PSET, - _Rec, - _SIIc, - _SDIH, - _TED, - _TSD, - _TSIH, - ), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (DATE_TIME, {_aQN: _CD, _sN: _cD}), - (STRING, {_aQN: _HP, _sN: _hP}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - (STRING, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _NPet, _sN: _nPet}), - (DATE_TIME, {_aQN: _NSST, _sN: _nSST}), - (STRING, {_aQN: _Pla, _sN: _plat}), - (DATE_TIME, {_aQN: _PSET, _sN: _pSET}), - (SCHEDULED_INSTANCE_RECURRENCE, {_aQN: _Rec, _sN: _recu}), - (STRING, {_aQN: _SIIc, _sN: _sIIc}), - (INTEGER, {_aQN: _SDIH, _sN: _sDIH}), - (DATE_TIME, {_aQN: _TED, _sN: _tED}), - (DATE_TIME, {_aQN: _TSD, _sN: _tSD}), - (INTEGER, {_aQN: _TSIH, _sN: _tSIH}), - ), -) - -SCHEDULED_INSTANCE_SET: StaticSchema = ( - 16, - n0, - _SISc, - 0, - (_me,), - ((SCHEDULED_INSTANCE, {_sN: _i}),), -) - -DESCRIBE_SCHEDULED_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DSIO, - {_sSI: _cDSIRo, _smit: None}, - (_NTex, _SISc), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (SCHEDULED_INSTANCE_SET, {_aQN: _SISc, _sN: _sISc}), - ), -) - -DESCRIBE_SCHEDULED_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DSIes, - 0, - DESCRIBE_SCHEDULED_INSTANCES_INPUT, - DESCRIBE_SCHEDULED_INSTANCES_OUTPUT, - (), -) - -DESCRIBE_SECONDARY_INTERFACES_MAX_RESULTS: StaticSchema = (7, n0, _DSIMR, 0) - -SECONDARY_INTERFACE_ID_LIST: StaticSchema = ( - 16, - n0, - _SIIL, - 0, - (_me,), - ((SECONDARY_INTERFACE_ID, {_sN: _i}),), -) - -DESCRIBE_SECONDARY_INTERFACES_INPUT: StaticSchema = ( - 18, - n0, - _DSIIe, - {_sSI: _cDSIRom, _sm: None}, - (_DR, _Fil, _MR, _NTex, _SIIec), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_SECONDARY_INTERFACES_MAX_RESULTS, 0), - (STRING, 0), - (SECONDARY_INTERFACE_ID_LIST, {_sN: _SIIe}), - ), -) - -SECONDARY_INTERFACE_ATTACHMENT: StaticSchema = ( - 18, - n0, - _SIAe, - 0, - (_AIt, _ATtt, _DOT, _DI, _II, _IOIn, _NCI, _Sta), - ( - (STRING, {_aQN: _AIt, _sN: _aIt}), - (MILLISECOND_DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (INTEGER, {_aQN: _DI, _sN: _dI}), - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _IOIn, _sN: _iOIn}), - (INTEGER, {_aQN: _NCI, _sN: _nCI}), - (ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), - ), -) - -SECONDARY_INTERFACE_IPV4_ADDRESS: StaticSchema = ( - 18, - n0, - _SIIA, - 0, - (_PIAr,), - ((STRING, {_aQN: _PIAr, _sN: _pIAr}),), -) - -SECONDARY_INTERFACE_IPV4_ADDRESS_LIST: StaticSchema = ( - 16, - n0, - _SIIAL, - 0, - (_me,), - ((SECONDARY_INTERFACE_IPV4_ADDRESS, {_sN: _i}),), -) - -SECONDARY_INTERFACE: StaticSchema = ( - 18, - n0, - _SIeco, - 0, - ( - _AZ, - _AZI, - _At, - _MAa, - _OIw, - _PIAriv, - _SIIe, - _SIAec, - _SITe, - _SSIe, - _SNI, - _SNT, - _SDC, - _Sta, - _Tag, - ), - ( - (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (SECONDARY_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), - (STRING, {_aQN: _MAa, _sN: _mAa}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (SECONDARY_INTERFACE_IPV4_ADDRESS_LIST, {_aQN: _PIASriv, _sN: _pIASri}), - (SECONDARY_INTERFACE_ID, {_aQN: _SIIe, _sN: _sIIe}), - (STRING, {_aQN: _SIAec, _sN: _sIA}), - (SECONDARY_INTERFACE_TYPE, {_aQN: _SITe, _sN: _sITe}), - (SECONDARY_SUBNET_ID, {_aQN: _SSIe, _sN: _sSIe}), - (SECONDARY_NETWORK_ID, {_aQN: _SNI, _sN: _sNI}), - (SECONDARY_NETWORK_TYPE, {_aQN: _SNT, _sN: _sNT}), - (BOOLEAN, {_aQN: _SDC, _sN: _sDC}), - (SECONDARY_INTERFACE_STATUS, {_aQN: _Sta, _sN: _sta}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -SECONDARY_INTERFACE_LIST: StaticSchema = ( - 16, - n0, - _SIL, - 0, - (_me,), - ((SECONDARY_INTERFACE, {_sN: _i}),), -) - -DESCRIBE_SECONDARY_INTERFACES_OUTPUT: StaticSchema = ( - 18, - n0, - _DSIOe, - {_sSI: _cDSIRoma, _smit: None}, - (_SIec, _NTex), - ( - (SECONDARY_INTERFACE_LIST, {_aQN: _SIS, _sN: _sIS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_SECONDARY_INTERFACES: StaticOperationSchema = ( - 23, - n0, - _DSIesc, - 0, - DESCRIBE_SECONDARY_INTERFACES_INPUT, - DESCRIBE_SECONDARY_INTERFACES_OUTPUT, - (), -) - -DESCRIBE_SECONDARY_NETWORKS_MAX_RESULTS: StaticSchema = (7, n0, _DSNMR, 0) - -SECONDARY_NETWORK_ID_LIST: StaticSchema = ( - 16, - n0, - _SNIL, - 0, - (_me,), - ((SECONDARY_NETWORK_ID, {_sN: _i}),), -) - -DESCRIBE_SECONDARY_NETWORKS_INPUT: StaticSchema = ( - 18, - n0, - _DSNIe, - {_sSI: _cDSNRom, _sm: None}, - (_DR, _Fil, _MR, _NTex, _SNIe), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_SECONDARY_NETWORKS_MAX_RESULTS, 0), - (STRING, 0), - (SECONDARY_NETWORK_ID_LIST, {_sN: _SNI}), - ), -) - -SECONDARY_NETWORK_LIST: StaticSchema = ( - 16, - n0, - _SNL, - 0, - (_me,), - ((SECONDARY_NETWORK, {_sN: _i}),), -) - -DESCRIBE_SECONDARY_NETWORKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSNOe, - {_sSI: _cDSNRoma, _smit: None}, - (_SNeco, _NTex), - ( - (SECONDARY_NETWORK_LIST, {_aQN: _SNSec, _sN: _sNSec}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_SECONDARY_NETWORKS: StaticOperationSchema = ( - 23, - n0, - _DSNe, - 0, - DESCRIBE_SECONDARY_NETWORKS_INPUT, - DESCRIBE_SECONDARY_NETWORKS_OUTPUT, - (), -) - -DESCRIBE_SECONDARY_SUBNETS_MAX_RESULTS: StaticSchema = (7, n0, _DSSMR, 0) - -SECONDARY_SUBNET_ID_LIST: StaticSchema = ( - 16, - n0, - _SSIL, - 0, - (_me,), - ((SECONDARY_SUBNET_ID, {_sN: _i}),), -) - -DESCRIBE_SECONDARY_SUBNETS_INPUT: StaticSchema = ( - 18, - n0, - _DSSIe, - {_sSI: _cDSSRom, _sm: None}, - (_DR, _Fil, _MR, _NTex, _SSIec), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (DESCRIBE_SECONDARY_SUBNETS_MAX_RESULTS, 0), - (STRING, 0), - (SECONDARY_SUBNET_ID_LIST, {_sN: _SSIe}), - ), -) - -SECONDARY_SUBNET_LIST: StaticSchema = ( - 16, - n0, - _SSL, - 0, - (_me,), - ((SECONDARY_SUBNET, {_sN: _i}),), -) - -DESCRIBE_SECONDARY_SUBNETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSSOe, - {_sSI: _cDSSRoma, _smit: None}, - (_SSec, _NTex), - ( - (SECONDARY_SUBNET_LIST, {_aQN: _SSSe, _sN: _sSSe}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_SECONDARY_SUBNETS: StaticOperationSchema = ( - 23, - n0, - _DSSes, - 0, - DESCRIBE_SECONDARY_SUBNETS_INPUT, - DESCRIBE_SECONDARY_SUBNETS_OUTPUT, - (), -) - -GROUP_IDS: StaticSchema = (16, n0, _GIrou, 0, (_me,), ((SECURITY_GROUP_ID, {_sN: _i}),)) - -DESCRIBE_SECURITY_GROUP_REFERENCES_INPUT: StaticSchema = ( - 18, - n0, - _DSGRI, - {_sSI: _cDSGRR, _sm: None}, - (_DR, _GIr), - ((BOOLEAN, 0), (GROUP_IDS, 1)), -) - -SECURITY_GROUP_REFERENCE: StaticSchema = ( - 18, - n0, - _SGRec, - 0, - (_GIr, _RVIe, _VPCI, _TGI), - ( - (STRING, {_aQN: _GIr, _sN: _gIr}), - (STRING, {_aQN: _RVIe, _sN: _rVIe}), - (STRING, {_aQN: _VPCI, _sN: _vPCI}), - (STRING, {_aQN: _TGI, _sN: _tGI}), - ), -) - -SECURITY_GROUP_REFERENCES: StaticSchema = ( - 16, - n0, - _SGRecu, - 0, - (_me,), - ((SECURITY_GROUP_REFERENCE, {_sN: _i}),), -) - -DESCRIBE_SECURITY_GROUP_REFERENCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DSGRO, - {_sSI: _cDSGRRo, _smit: None}, - (_SGRSec,), - ((SECURITY_GROUP_REFERENCES, {_aQN: _SGRSec, _sN: _sGRSec}),), -) - -DESCRIBE_SECURITY_GROUP_REFERENCES: StaticOperationSchema = ( - 23, - n0, - _DSGR, - 0, - DESCRIBE_SECURITY_GROUP_REFERENCES_INPUT, - DESCRIBE_SECURITY_GROUP_REFERENCES_OUTPUT, - (), -) - -DESCRIBE_SECURITY_GROUP_RULES_MAX_RESULTS: StaticSchema = (7, n0, _DSGRMR, 0) - -SECURITY_GROUP_RULE_ID_LIST: StaticSchema = ( - 16, - n0, - _SGRIL, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -DESCRIBE_SECURITY_GROUP_RULES_INPUT: StaticSchema = ( - 18, - n0, - _DSGRIe, - {_sSI: _cDSGRRom, _sm: None}, - (_Fil, _SGRIe, _DR, _NTex, _MR), - ( - (FILTER_LIST, {_sN: _Fi}), - (SECURITY_GROUP_RULE_ID_LIST, {_sN: _SGRI}), - (BOOLEAN, 0), - (STRING, 0), - (DESCRIBE_SECURITY_GROUP_RULES_MAX_RESULTS, 0), - ), -) - -DESCRIBE_SECURITY_GROUP_RULES_OUTPUT: StaticSchema = ( - 18, - n0, - _DSGROe, - {_sSI: _cDSGRRoma, _smit: None}, - (_SGRe, _NTex), - ( - (SECURITY_GROUP_RULE_LIST, {_aQN: _SGRSe, _sN: _sGRSe}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_SECURITY_GROUP_RULES: StaticOperationSchema = ( - 23, - n0, - _DSGRe, - 0, - DESCRIBE_SECURITY_GROUP_RULES_INPUT, - DESCRIBE_SECURITY_GROUP_RULES_OUTPUT, - (), -) - -GROUP_NAME_STRING_LIST: StaticSchema = ( - 16, - n0, - _GNSL, - 0, - (_me,), - ((SECURITY_GROUP_NAME, {_sN: _GN}),), -) - -DESCRIBE_SECURITY_GROUPS_MAX_RESULTS: StaticSchema = (7, n0, _DSGMR, 0) - -DESCRIBE_SECURITY_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DSGIe, - {_sSI: _cDSGRom, _sm: None}, - (_GIrou, _GNr, _NTex, _MR, _DR, _Fil), - ( - (GROUP_ID_STRING_LIST, {_sN: _GIr}), - (GROUP_NAME_STRING_LIST, {_sN: _GN}), - (STRING, 0), - (DESCRIBE_SECURITY_GROUPS_MAX_RESULTS, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -SECURITY_GROUP: StaticSchema = ( - 18, - n0, - _SG, - 0, - (_GIr, _IPE, _Tag, _VI, _SGA, _OIw, _GN, _Des, _IPper), - ( - (STRING, {_aQN: _GIr, _sN: _gIr}), - (IP_PERMISSION_LIST, {_aQN: _IPE, _sN: _iPE}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _SGA, _sN: _sGA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _GN, _sN: _gN}), - (STRING, {_aQN: _GD, _sN: _gD}), - (IP_PERMISSION_LIST, {_aQN: _IPper, _sN: _iPpe}), - ), -) - -SECURITY_GROUP_LIST: StaticSchema = ( - 16, - n0, - _SGL, - 0, - (_me,), - ((SECURITY_GROUP, {_sN: _i}),), -) - -DESCRIBE_SECURITY_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSGOe, - {_sSI: _cDSGRoma, _smit: None}, - (_NTex, _SGe), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (SECURITY_GROUP_LIST, {_aQN: _SGIecu, _sN: _sGIec}), - ), -) - -DESCRIBE_SECURITY_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DSGe, - 0, - DESCRIBE_SECURITY_GROUPS_INPUT, - DESCRIBE_SECURITY_GROUPS_OUTPUT, - (), -) - -DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DSGVAMR, - 0, -) - -DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DSGVAI, - {_sSI: _cDSGVAR, _sm: None}, - (_Fil, _NTex, _MR, _DR), - ( - (FILTER_LIST, {_sN: _Fi}), - (STRING, 0), - (DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_MAX_RESULTS, 0), - (BOOLEAN, 0), - ), -) - -SECURITY_GROUP_VPC_ASSOCIATION: StaticSchema = ( - 18, - n0, - _SGVA, - 0, - (_GIr, _VI, _VOI, _St, _SRt, _GOI), - ( - (SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), - (VPC_ID, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _VOI, _sN: _vOI}), - (SECURITY_GROUP_VPC_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _SRt, _sN: _sRt}), - (STRING, {_aQN: _GOI, _sN: _gOI}), - ), -) - -SECURITY_GROUP_VPC_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _SGVAL, - 0, - (_me,), - ((SECURITY_GROUP_VPC_ASSOCIATION, {_sN: _i}),), -) - -DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSGVAO, - {_sSI: _cDSGVARo, _smit: None}, - (_SGVAe, _NTex), - ( - (SECURITY_GROUP_VPC_ASSOCIATION_LIST, {_aQN: _SGVASe, _sN: _sGVAS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _DSGVA, - 0, - DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_INPUT, - DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_OUTPUT, - (), -) - -SERVICE_LINK_MAX_RESULTS: StaticSchema = (7, n0, _SLMR, 0) - -DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_INPUT: StaticSchema = ( - 18, - n0, - _DSLVII, - {_sSI: _cDSLVIR, _sm: None}, - (_SLVIIe, _Fil, _MR, _NTex, _DR), - ( - (SERVICE_LINK_VIRTUAL_INTERFACE_ID_SET, {_sN: _SLVII}), - (FILTER_LIST, {_sN: _Fi}), - (SERVICE_LINK_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -SERVICE_LINK_VIRTUAL_INTERFACE_CONFIGURATION_STATE: StaticSchema = ( - 14, - n0, - _SLVICS, - 0, - (_p, _av, _de, _del), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), -) - -SERVICE_LINK_VIRTUAL_INTERFACE: StaticSchema = ( - 18, - n0, - _SLVI, - 0, - (_SLVII, _SLVIA, _OIu, _OA, _OIw, _LA, _PAe, _PBA, _Vl, _OLI, _Tag, _CSon), - ( - (SERVICE_LINK_VIRTUAL_INTERFACE_ID, {_aQN: _SLVII, _sN: _sLVII}), - (RESOURCE_ARN, {_aQN: _SLVIA, _sN: _sLVIA}), - (STRING, {_aQN: _OIu, _sN: _oIu}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _LA, _sN: _lA}), - (STRING, {_aQN: _PAe, _sN: _pAe}), - (LONG, {_aQN: _PBA, _sN: _pBA}), - (INTEGER, {_aQN: _Vl, _sN: _vl}), - (OUTPOST_LAG_ID, {_aQN: _OLI, _sN: _oLI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (SERVICE_LINK_VIRTUAL_INTERFACE_CONFIGURATION_STATE, {_aQN: _CSon, _sN: _cSo}), - ), -) - -SERVICE_LINK_VIRTUAL_INTERFACE_SET: StaticSchema = ( - 16, - n0, - _SLVIS, - 0, - (_me,), - ((SERVICE_LINK_VIRTUAL_INTERFACE, {_sN: _i}),), -) - -DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_OUTPUT: StaticSchema = ( - 18, - n0, - _DSLVIO, - {_sSI: _cDSLVIRo, _smit: None}, - (_SLVIe, _NTex), - ( - (SERVICE_LINK_VIRTUAL_INTERFACE_SET, {_aQN: _SLVIS, _sN: _sLVIS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES: StaticOperationSchema = ( - 23, - n0, - _DSLVI, - 0, - DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_INPUT, - DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_OUTPUT, - (), -) - -SNAPSHOT_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _SAN, - 0, - (_pCr, _cVP), - ((-1, {_sV: _pCr}), (-1, {_sV: _cVP})), -) - -DESCRIBE_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _DSAI, - {_sSI: _cDSAR, _sm: None}, - (_Attr, _SIn, _DR), - ((SNAPSHOT_ATTRIBUTE_NAME, 1), (SNAPSHOT_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -CREATE_VOLUME_PERMISSION: StaticSchema = ( - 18, - n0, - _CVP, - 0, - (_UIs, _Gr), - ((STRING, {_aQN: _UIs, _sN: _uI}), (PERMISSION_GROUP, {_aQN: _Gr, _sN: _gro})), -) - -CREATE_VOLUME_PERMISSION_LIST: StaticSchema = ( - 16, - n0, - _CVPL, - 0, - (_me,), - ((CREATE_VOLUME_PERMISSION, {_sN: _i}),), -) - -DESCRIBE_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DSAO, - {_sSI: _cDSARo, _smit: None}, - (_PCro, _SIn, _CVPr), - ( - (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (CREATE_VOLUME_PERMISSION_LIST, {_aQN: _CVP, _sN: _cVP}), - ), -) - -DESCRIBE_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _DSAe, - 0, - DESCRIBE_SNAPSHOT_ATTRIBUTE_INPUT, - DESCRIBE_SNAPSHOT_ATTRIBUTE_OUTPUT, - (), -) - -RESTORABLE_BY_STRING_LIST: StaticSchema = (16, n0, _RBSL, 0, (_me,), ((STRING, 0),)) - -DESCRIBE_SNAPSHOTS_INPUT: StaticSchema = ( - 18, - n0, - _DSIescr, - {_sSI: _cDSRom, _sm: None}, - (_MR, _NTex, _OIwn, _RBUI, _SInap, _DR, _Fil), - ( - (INTEGER, 0), - (STRING, 0), - (OWNER_STRING_LIST, {_sN: _Ow}), - (RESTORABLE_BY_STRING_LIST, {_sN: _RBe}), - (SNAPSHOT_ID_STRING_LIST, {_sN: _SIn}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -SNAPSHOT: StaticSchema = ( - 18, - n0, - _Sna, - 0, - ( - _OAw, - _OA, - _Tag, - _STt, - _RET, - _STs, - _AZ, - _TTra, - _CDM, - _CTomp, - _FSSIB, - _SIn, - _VIo, - _St, - _SMta, - _ST, - _Prog, - _OIw, - _Des, - _VSol, - _En, - _KKI, - _DEKI, - ), - ( - (STRING, {_aQN: _OAw, _sN: _oAw}), - (STRING, {_aQN: _OA, _sN: _oA}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STORAGE_TIER, {_aQN: _STt, _sN: _sTto}), - (MILLISECOND_DATE_TIME, {_aQN: _RET, _sN: _rET}), - (SSE_TYPE, {_aQN: _STs, _sN: _sTs}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (TRANSFER_TYPE, {_aQN: _TTra, _sN: _tTr}), - (SNAPSHOT_COMPLETION_DURATION_MINUTES_RESPONSE, {_aQN: _CDM, _sN: _cDM}), - (MILLISECOND_DATE_TIME, {_aQN: _CTomp, _sN: _cTomp}), - (LONG, {_aQN: _FSSIB, _sN: _fSSIB}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (SNAPSHOT_STATE, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _Des, _sN: _desc}), - (INTEGER, {_aQN: _VSol, _sN: _vSo}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (STRING, {_aQN: _KKI, _sN: _kKI}), - (STRING, {_aQN: _DEKI, _sN: _dEKI}), - ), -) - -SNAPSHOT_LIST: StaticSchema = (16, n0, _SLna, 0, (_me,), ((SNAPSHOT, {_sN: _i}),)) - -DESCRIBE_SNAPSHOTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSOes, - {_sSI: _cDSRoma, _smit: None}, - (_NTex, _Sn), - ((STRING, {_aQN: _NTex, _sN: _nT}), (SNAPSHOT_LIST, {_aQN: _SSna, _sN: _sSn})), -) - -DESCRIBE_SNAPSHOTS: StaticOperationSchema = ( - 23, - n0, - _DSes, - 0, - DESCRIBE_SNAPSHOTS_INPUT, - DESCRIBE_SNAPSHOTS_OUTPUT, - (), -) - -DESCRIBE_SNAPSHOT_TIER_STATUS_MAX_RESULTS: StaticSchema = (7, n0, _DSTSMR, 0) - -DESCRIBE_SNAPSHOT_TIER_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _DSTSI, - {_sSI: _cDSTSR, _sm: None}, - (_Fil, _DR, _NTex, _MR), - ( - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - (STRING, 0), - (DESCRIBE_SNAPSHOT_TIER_STATUS_MAX_RESULTS, 0), - ), -) - -TIERING_OPERATION_STATUS: StaticSchema = ( - 14, - n0, - _TOSi, - 0, - (_aip_, _ac__, _af____, _trip, _trc, _trf, _prip, _prc, _prf), - ( - (-1, {_sV: _aip__}), - (-1, {_sV: _ac___}), - (-1, {_sV: _af_____}), - (-1, {_sV: _trip_}), - (-1, {_sV: _trc_}), - (-1, {_sV: _trf_}), - (-1, {_sV: _prip_}), - (-1, {_sV: _prc_}), - (-1, {_sV: _prf_}), - ), -) - -SNAPSHOT_TIER_STATUS: StaticSchema = ( - 18, - n0, - _STSn, - 0, - (_SIn, _VIo, _Sta, _OIw, _Tag, _STt, _LTST, _LTPa, _LTOS, _LTOSD, _ACT, _RET), - ( - (SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), - (VOLUME_ID, {_aQN: _VIo, _sN: _vIo}), - (SNAPSHOT_STATE, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STORAGE_TIER, {_aQN: _STt, _sN: _sTto}), - (MILLISECOND_DATE_TIME, {_aQN: _LTST, _sN: _lTST}), - (INTEGER, {_aQN: _LTPa, _sN: _lTP}), - (TIERING_OPERATION_STATUS, {_aQN: _LTOS, _sN: _lTOS}), - (STRING, {_aQN: _LTOSD, _sN: _lTOSD}), - (MILLISECOND_DATE_TIME, {_aQN: _ACT, _sN: _aCT}), - (MILLISECOND_DATE_TIME, {_aQN: _RET, _sN: _rET}), - ), -) - -SNAPSHOT_TIER_STATUS_SET: StaticSchema = ( - 16, - n0, - _sTSS, - 0, - (_me,), - ((SNAPSHOT_TIER_STATUS, {_sN: _i}),), -) - -DESCRIBE_SNAPSHOT_TIER_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSTSO, - {_sSI: _cDSTSRo, _smit: None}, - (_STSna, _NTex), - ( - (SNAPSHOT_TIER_STATUS_SET, {_aQN: _STSS, _sN: _sTSS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_SNAPSHOT_TIER_STATUS: StaticOperationSchema = ( - 23, - n0, - _DSTS, - 0, - DESCRIBE_SNAPSHOT_TIER_STATUS_INPUT, - DESCRIBE_SNAPSHOT_TIER_STATUS_OUTPUT, - (), -) - -DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _DSDSIe, - {_sSI: _cDSDSRo, _sm: None}, - (_DR,), - ((BOOLEAN, {_aQN: _DR, _sN: _dRr}),), -) - -DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DSDSOe, - {_sSI: _cDSDSRom, _smit: None}, - (_SDS,), - ((SPOT_DATAFEED_SUBSCRIPTION, {_aQN: _SDS, _sN: _sDS}),), -) - -DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _DSDSe, - 0, - DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_INPUT, - DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT, - (), -) - -DESCRIBE_SPOT_FLEET_INSTANCES_MAX_RESULTS: StaticSchema = (7, n0, _DSFIMR, 0) - -DESCRIBE_SPOT_FLEET_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DSFII, - {_sSI: _cDSFIR, _sm: None}, - (_DR, _SFRI, _NTex, _MR), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SPOT_FLEET_REQUEST_ID, {_aQN: _SFRI, _sN: _sFRI, _smi: None}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (DESCRIBE_SPOT_FLEET_INSTANCES_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), - ), -) - -DESCRIBE_SPOT_FLEET_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DSFIO, - {_sSI: _cDSFIRo, _smit: None}, - (_AIct, _NTex, _SFRI), - ( - (ACTIVE_INSTANCE_SET, {_aQN: _AIS, _sN: _aIS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (STRING, {_aQN: _SFRI, _sN: _sFRI}), - ), -) - -DESCRIBE_SPOT_FLEET_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DSFI, - 0, - DESCRIBE_SPOT_FLEET_INSTANCES_INPUT, - DESCRIBE_SPOT_FLEET_INSTANCES_OUTPUT, - (), -) - -EVENT_TYPE: StaticSchema = ( - 14, - n0, - _ETv, - 0, - (_IC__, _BC_, _ERROR, _INFORMATION), - ((-1, {_sV: _iCns}), (-1, {_sV: _fRC}), (-1, {_sV: _er}), (-1, {_sV: _infor})), -) - -DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_MAX_RESULTS: StaticSchema = (7, n0, _DSFRHMR, 0) - -DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_INPUT: StaticSchema = ( - 18, - n0, - _DSFRHI, - {_sSI: _cDSFRHR, _sm: None}, - (_DR, _SFRI, _ETv, _ST, _NTex, _MR), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SPOT_FLEET_REQUEST_ID, {_aQN: _SFRI, _sN: _sFRI, _smi: None}), - (EVENT_TYPE, {_aQN: _ETv, _sN: _eTv}), - (DATE_TIME, {_aQN: _ST, _sN: _sTt, _smi: None}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), - ), -) - -HISTORY_RECORD: StaticSchema = ( - 18, - n0, - _HRis, - 0, - (_EIv, _ETv, _Ti), - ( - (EVENT_INFORMATION, {_aQN: _EIv, _sN: _eIv}), - (EVENT_TYPE, {_aQN: _ETv, _sN: _eTv}), - (DATE_TIME, {_aQN: _Ti, _sN: _ti}), - ), -) - -HISTORY_RECORDS: StaticSchema = ( - 16, - n0, - _HRi, - 0, - (_me,), - ((HISTORY_RECORD, {_sN: _i}),), -) - -DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_OUTPUT: StaticSchema = ( - 18, - n0, - _DSFRHO, - {_sSI: _cDSFRHRo, _smit: None}, - (_HRi, _LET, _NTex, _SFRI, _ST), - ( - (HISTORY_RECORDS, {_aQN: _HRS, _sN: _hRS}), - (DATE_TIME, {_aQN: _LET, _sN: _lET}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (STRING, {_aQN: _SFRI, _sN: _sFRI}), - (DATE_TIME, {_aQN: _ST, _sN: _sTt}), - ), -) - -DESCRIBE_SPOT_FLEET_REQUEST_HISTORY: StaticOperationSchema = ( - 23, - n0, - _DSFRH, - 0, - DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_INPUT, - DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_OUTPUT, - (), -) - -DESCRIBE_SPOT_FLEET_REQUESTS_INPUT: StaticSchema = ( - 18, - n0, - _DSFRI, - {_sSI: _cDSFRR, _sm: None}, - (_DR, _SFRIp, _NTex, _MR), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SPOT_FLEET_REQUEST_ID_LIST, {_aQN: _SFRI, _sN: _sFRI}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (INTEGER, {_aQN: _MR, _sN: _mR}), - ), -) - -EXCESS_CAPACITY_TERMINATION_POLICY: StaticSchema = ( - 14, - n0, - _ECTP, - 0, - (_NT, _DEFAULT), - ((-1, {_sV: _nTo}), (-1, {_sV: _def})), -) - -SPOT_FLEET_MONITORING: StaticSchema = ( - 18, - n0, - _SFM, - 0, - (_Ena,), - ((BOOLEAN, {_aQN: _Ena, _sN: _ena}),), -) - -INSTANCE_NETWORK_INTERFACE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _INIS, - 0, - ( - _APIAsso, - _DOT, - _Des, - _DI, - _G, - _IAC, - _IAp, - _NII, - _PIAr, - _PIAri, - _SPIAC, - _SIu, - _ACIA, - _ITnte, - _NCI, - _IPpvr, - _IPCp, - _IPp, - _IPC, - _PIrim, - _ESS, - _CTSo, - _EQC, - ), - ( - (BOOLEAN, {_aQN: _APIAsso, _sN: _aPIA}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (STRING, {_aQN: _Des, _sN: _desc}), - (INTEGER, {_aQN: _DI, _sN: _dI}), - (SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), - (INTEGER, {_aQN: _IAC, _sN: _iAC}), - (INSTANCE_IPV6_ADDRESS_LIST, {_aQN: _IAp, _sN: _iAS}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - (PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, {_aQN: _PIAri, _sN: _pIAS}), - (INTEGER, {_aQN: _SPIAC, _sN: _sPIAC}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (BOOLEAN, 0), - (STRING, 0), - (INTEGER, 0), - (IPV4_PREFIX_LIST, {_sN: _IPpvre}), - (INTEGER, 0), - (IPV6_PREFIX_LIST, {_sN: _IPpv}), - (INTEGER, 0), - (BOOLEAN, 0), - (ENA_SRD_SPECIFICATION_REQUEST, 0), - (CONNECTION_TRACKING_SPECIFICATION_REQUEST, 0), - (INTEGER, 0), - ), -) - -INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _INISL, - 0, - (_me,), - ((INSTANCE_NETWORK_INTERFACE_SPECIFICATION, {_sN: _i}),), -) - -SPOT_PLACEMENT: StaticSchema = ( - 18, - n0, - _SPp, - 0, - (_AZ, _GN, _Ten, _AZI), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (PLACEMENT_GROUP_NAME, {_aQN: _GN, _sN: _gN}), - (TENANCY, {_aQN: _Ten, _sN: _ten}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - ), -) - -SPOT_FLEET_TAG_SPECIFICATION: StaticSchema = ( - 18, - n0, - _SFTS, - 0, - (_RT, _Tag), - ((RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), (TAG_LIST, {_aQN: _Ta, _sN: _tag})), -) - -SPOT_FLEET_TAG_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _SFTSL, - 0, - (_me,), - ((SPOT_FLEET_TAG_SPECIFICATION, {_sN: _i}),), -) - -SPOT_FLEET_LAUNCH_SPECIFICATION: StaticSchema = ( - 18, - n0, - _SFLS, - 0, - ( - _ATddr, - _BDMl, - _EO, - _IIP, - _IIm, - _IT, - _KI, - _KN, - _Mon, - _NIe, - _Pl, - _RIa, - _SPpo, - _SIu, - _UDs, - _WC, - _TSa, - _IRn, - _SGe, - ), - ( - (STRING, {_aQN: _ATddr, _sN: _aTdd}), - (BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), - (BOOLEAN, {_aQN: _EO, _sN: _eO}), - (IAM_INSTANCE_PROFILE_SPECIFICATION, {_aQN: _IIP, _sN: _iIP}), - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _KI, _sN: _kI}), - (KEY_PAIR_NAME, {_aQN: _KN, _sN: _kN}), - (SPOT_FLEET_MONITORING, {_aQN: _Mon, _sN: _monit}), - (INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST, {_aQN: _NIS, _sN: _nIS}), - (SPOT_PLACEMENT, {_aQN: _Pl, _sN: _pla}), - (STRING, {_aQN: _RIa, _sN: _rIa}), - (STRING, {_aQN: _SPpo, _sN: _sPp}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (SENSITIVE_USER_DATA, {_aQN: _UDs, _sN: _uDs}), - (DOUBLE, {_aQN: _WC, _sN: _wC}), - (SPOT_FLEET_TAG_SPECIFICATION_LIST, {_aQN: _TSS, _sN: _tSS}), - (INSTANCE_REQUIREMENTS, {_aQN: _IRn, _sN: _iRn}), - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - ), -) - -LAUNCH_SPECS_LIST: StaticSchema = ( - 16, - n0, - _LSLa, - 0, - (_me,), - ((SPOT_FLEET_LAUNCH_SPECIFICATION, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_OVERRIDES: StaticSchema = ( - 18, - n0, - _LTO, - 0, - (_IT, _SPpo, _SIu, _AZ, _WC, _Pr, _IRn, _AZI), - ( - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _SPpo, _sN: _sPp}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (DOUBLE, {_aQN: _WC, _sN: _wC}), - (DOUBLE, {_aQN: _Pr, _sN: _pri}), - (INSTANCE_REQUIREMENTS, {_aQN: _IRn, _sN: _iRn}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - ), -) - -LAUNCH_TEMPLATE_OVERRIDES_LIST: StaticSchema = ( - 16, - n0, - _LTOL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_OVERRIDES, {_sN: _i}),), -) - -LAUNCH_TEMPLATE_CONFIG: StaticSchema = ( - 18, - n0, - _LTCa, - 0, - (_LTS, _Ov), - ( - (FLEET_LAUNCH_TEMPLATE_SPECIFICATION, {_aQN: _LTS, _sN: _lTS}), - (LAUNCH_TEMPLATE_OVERRIDES_LIST, {_aQN: _Ov, _sN: _ov}), - ), -) - -LAUNCH_TEMPLATE_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _LTCL, - 0, - (_me,), - ((LAUNCH_TEMPLATE_CONFIG, {_sN: _i}),), -) - -CLASSIC_LOAD_BALANCER: StaticSchema = ( - 18, - n0, - _CLB, - 0, - (_N,), - ((STRING, {_aQN: _N, _sN: _nam}),), -) - -CLASSIC_LOAD_BALANCERS: StaticSchema = ( - 16, - n0, - _CLBl, - 0, - (_me,), - ((CLASSIC_LOAD_BALANCER, {_sN: _i}),), -) - -CLASSIC_LOAD_BALANCERS_CONFIG: StaticSchema = ( - 18, - n0, - _CLBC, - 0, - (_CLBl,), - ((CLASSIC_LOAD_BALANCERS, {_aQN: _CLBl, _sN: _cLB}),), -) - -TARGET_GROUP: StaticSchema = ( - 18, - n0, - _TGa, - 0, - (_Ar,), - ((STRING, {_aQN: _Ar, _sN: _ar}),), -) - -TARGET_GROUPS: StaticSchema = (16, n0, _TGar, 0, (_me,), ((TARGET_GROUP, {_sN: _i}),)) - -TARGET_GROUPS_CONFIG: StaticSchema = ( - 18, - n0, - _TGCa, - 0, - (_TGar,), - ((TARGET_GROUPS, {_aQN: _TGar, _sN: _tGa}),), -) - -LOAD_BALANCERS_CONFIG: StaticSchema = ( - 18, - n0, - _LBC, - 0, - (_CLBC, _TGCa), - ( - (CLASSIC_LOAD_BALANCERS_CONFIG, {_aQN: _CLBC, _sN: _cLBC}), - (TARGET_GROUPS_CONFIG, {_aQN: _TGCa, _sN: _tGCa}), - ), -) - -ON_DEMAND_ALLOCATION_STRATEGY: StaticSchema = ( - 14, - n0, - _ODAS, - 0, - (_LP, _PRIORITIZED), - ((-1, {_sV: _lP}), (-1, {_sV: _prio})), -) - -REPLACEMENT_STRATEGY: StaticSchema = ( - 14, - n0, - _RSep, - 0, - (_LAUNCH, _LBT_), - ((-1, {_sV: _laun}), (-1, {_sV: _lbt})), -) - -SPOT_CAPACITY_REBALANCE: StaticSchema = ( - 18, - n0, - _SCRp, - 0, - (_RSep, _TD), - ( - (REPLACEMENT_STRATEGY, {_aQN: _RSep, _sN: _rSepl}), - (INTEGER, {_aQN: _TD, _sN: _tDe}), - ), -) - -SPOT_MAINTENANCE_STRATEGIES: StaticSchema = ( - 18, - n0, - _SMS, - 0, - (_CRapa,), - ((SPOT_CAPACITY_REBALANCE, {_aQN: _CRapa, _sN: _cRap}),), -) - -SPOT_FLEET_REQUEST_CONFIG_DATA: StaticSchema = ( - 18, - n0, - _SFRCD, - 0, - ( - _ASll, - _ODAS, - _SMS, - _CTl, - _ECTP, - _FCu, - _ODFC, - _IFRa, - _LSau, - _LTC, - _SPpo, - _TCar, - _ODTC, - _ODMTP, - _SMTP, - _TIWE, - _Ty, - _VF, - _VU, - _RUI, - _IIB, - _LBC, - _IPTUC, - _Con, - _TCUT, - _TSa, - ), - ( - (ALLOCATION_STRATEGY, {_aQN: _ASll, _sN: _aSl}), - (ON_DEMAND_ALLOCATION_STRATEGY, {_aQN: _ODAS, _sN: _oDAS}), - (SPOT_MAINTENANCE_STRATEGIES, {_aQN: _SMS, _sN: _sMS}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - (EXCESS_CAPACITY_TERMINATION_POLICY, {_aQN: _ECTP, _sN: _eCTP}), - (DOUBLE, {_aQN: _FCu, _sN: _fC}), - (DOUBLE, {_aQN: _ODFC, _sN: _oDFC}), - (STRING, {_aQN: _IFRa, _sN: _iFR, _smi: None}), - (LAUNCH_SPECS_LIST, {_aQN: _LSau, _sN: _lSa}), - (LAUNCH_TEMPLATE_CONFIG_LIST, {_aQN: _LTC, _sN: _lTC}), - (STRING, {_aQN: _SPpo, _sN: _sPp}), - (INTEGER, {_aQN: _TCar, _sN: _tCar, _smi: None}), - (INTEGER, {_aQN: _ODTC, _sN: _oDTC}), - (STRING, {_aQN: _ODMTP, _sN: _oDMTP}), - (STRING, {_aQN: _SMTP, _sN: _sMTP}), - (BOOLEAN, {_aQN: _TIWE, _sN: _tIWE}), - (FLEET_TYPE, {_aQN: _Ty, _sN: _ty}), - (DATE_TIME, {_aQN: _VF, _sN: _vF}), - (DATE_TIME, {_aQN: _VU, _sN: _vU}), - (BOOLEAN, {_aQN: _RUI, _sN: _rUI}), - (INSTANCE_INTERRUPTION_BEHAVIOR, {_aQN: _IIB, _sN: _iIB}), - (LOAD_BALANCERS_CONFIG, {_aQN: _LBC, _sN: _lBC}), - (INTEGER, {_aQN: _IPTUC, _sN: _iPTUC}), - (STRING, {_aQN: _Con, _sN: _cont}), - (TARGET_CAPACITY_UNIT_TYPE, {_aQN: _TCUT, _sN: _tCUT}), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -SPOT_FLEET_REQUEST_CONFIG: StaticSchema = ( - 18, - n0, - _SFRC, - 0, - (_ASc, _CTr, _SFRC, _SFRI, _SFRSp, _Tag), - ( - (ACTIVITY_STATUS, {_aQN: _ASc, _sN: _aSc}), - (MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (SPOT_FLEET_REQUEST_CONFIG_DATA, {_aQN: _SFRC, _sN: _sFRC}), - (STRING, {_aQN: _SFRI, _sN: _sFRI}), - (BATCH_STATE, {_aQN: _SFRSp, _sN: _sFRSp}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -SPOT_FLEET_REQUEST_CONFIG_SET: StaticSchema = ( - 16, - n0, - _SFRCS, - 0, - (_me,), - ((SPOT_FLEET_REQUEST_CONFIG, {_sN: _i}),), -) - -DESCRIBE_SPOT_FLEET_REQUESTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSFRO, - {_sSI: _cDSFRRo, _smit: None}, - (_NTex, _SFRCp), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (SPOT_FLEET_REQUEST_CONFIG_SET, {_aQN: _SFRCS, _sN: _sFRCS}), - ), -) - -DESCRIBE_SPOT_FLEET_REQUESTS: StaticOperationSchema = ( - 23, - n0, - _DSFR, - 0, - DESCRIBE_SPOT_FLEET_REQUESTS_INPUT, - DESCRIBE_SPOT_FLEET_REQUESTS_OUTPUT, - (), -) - -DESCRIBE_SPOT_INSTANCE_REQUESTS_INPUT: StaticSchema = ( - 18, - n0, - _DSIRI, - {_sSI: _cDSIRR, _sm: None}, - (_NTex, _MR, _DR, _SIRIp, _Fil), - ( - (STRING, 0), - (INTEGER, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SPOT_INSTANCE_REQUEST_ID_LIST, {_sN: _SIRI}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -RUN_INSTANCES_MONITORING_ENABLED: StaticSchema = ( - 18, - n0, - _RIME, - 0, - (_Ena,), - ((BOOLEAN, {_aQN: _Ena, _sN: _ena, _smi: None}),), -) - -LAUNCH_SPECIFICATION: StaticSchema = ( - 18, - n0, - _LSaun, - 0, - ( - _UDs, - _ATddr, - _BDMl, - _EO, - _IIP, - _IIm, - _IT, - _KI, - _KN, - _NIe, - _Pl, - _RIa, - _SIu, - _SGe, - _Mon, - ), - ( - (SENSITIVE_USER_DATA, {_aQN: _UDs, _sN: _uDs}), - (STRING, {_aQN: _ATddr, _sN: _aTdd}), - (BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), - (BOOLEAN, {_aQN: _EO, _sN: _eO}), - (IAM_INSTANCE_PROFILE_SPECIFICATION, {_aQN: _IIP, _sN: _iIP}), - (STRING, {_aQN: _IIm, _sN: _iIm}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _KI, _sN: _kI}), - (STRING, {_aQN: _KN, _sN: _kN}), - (INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST, {_aQN: _NIS, _sN: _nIS}), - (SPOT_PLACEMENT, {_aQN: _Pl, _sN: _pla}), - (STRING, {_aQN: _RIa, _sN: _rIa}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - (RUN_INSTANCES_MONITORING_ENABLED, {_aQN: _Mon, _sN: _monit}), - ), -) - -SPOT_INSTANCE_STATE: StaticSchema = ( - 14, - n0, - _SISp, - 0, - (_op, _act, _cl, _can, _fa, _d), - ( - (-1, {_sV: _op}), - (-1, {_sV: _act}), - (-1, {_sV: _cl}), - (-1, {_sV: _can}), - (-1, {_sV: _fa}), - (-1, {_sV: _d}), - ), -) - -SPOT_INSTANCE_STATUS: StaticSchema = ( - 18, - n0, - _SISpo, - 0, - (_C, _Me, _UT), - ( - (STRING, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - (DATE_TIME, {_aQN: _UT, _sN: _uT}), - ), -) - -SPOT_INSTANCE_REQUEST: StaticSchema = ( - 18, - n0, - _SIRp, - 0, - ( - _ABHP, - _AZGv, - _BDMlo, - _CTr, - _Fa, - _II, - _LGa, - _LSaun, - _LAZ, - _LAZI, - _PDr, - _SIRI, - _SPpo, - _St, - _Sta, - _Tag, - _Ty, - _VF, - _VU, - _IIB, - ), - ( - (STRING, {_aQN: _ABHP, _sN: _aBHP}), - (STRING, {_aQN: _AZGv, _sN: _aZG}), - (INTEGER, {_aQN: _BDMlo, _sN: _bDMl}), - (DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (SPOT_INSTANCE_STATE_FAULT, {_aQN: _Fa, _sN: _fau}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _LGa, _sN: _lG}), - (LAUNCH_SPECIFICATION, {_aQN: _LSaun, _sN: _lSau}), - (STRING, {_aQN: _LAZ, _sN: _lAZ}), - (STRING, {_aQN: _LAZI, _sN: _lAZI}), - (RI_PRODUCT_DESCRIPTION, {_aQN: _PDr, _sN: _pDr}), - (STRING, {_aQN: _SIRI, _sN: _sIRI}), - (STRING, {_aQN: _SPpo, _sN: _sPp}), - (SPOT_INSTANCE_STATE, {_aQN: _St, _sN: _st}), - (SPOT_INSTANCE_STATUS, {_aQN: _Sta, _sN: _sta}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (SPOT_INSTANCE_TYPE, {_aQN: _Ty, _sN: _ty}), - (DATE_TIME, {_aQN: _VF, _sN: _vF}), - (DATE_TIME, {_aQN: _VU, _sN: _vU}), - (INSTANCE_INTERRUPTION_BEHAVIOR, {_aQN: _IIB, _sN: _iIB}), - ), -) - -SPOT_INSTANCE_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _SIRL, - 0, - (_me,), - ((SPOT_INSTANCE_REQUEST, {_sN: _i}),), -) - -DESCRIBE_SPOT_INSTANCE_REQUESTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSIRO, - {_sSI: _cDSIRRo, _smit: None}, - (_SIRpo, _NTex), - ( - (SPOT_INSTANCE_REQUEST_LIST, {_aQN: _SIRS, _sN: _sIRS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_SPOT_INSTANCE_REQUESTS: StaticOperationSchema = ( - 23, - n0, - _DSIR, - 0, - DESCRIBE_SPOT_INSTANCE_REQUESTS_INPUT, - DESCRIBE_SPOT_INSTANCE_REQUESTS_OUTPUT, - (), -) - -INSTANCE_TYPE_LIST: StaticSchema = (16, n0, _ITLn, 0, (_me,), ((INSTANCE_TYPE, 0),)) - -PRODUCT_DESCRIPTION_LIST: StaticSchema = (16, n0, _PDLr, 0, (_me,), ((STRING, 0),)) - -DESCRIBE_SPOT_PRICE_HISTORY_INPUT: StaticSchema = ( - 18, - n0, - _DSPHI, - {_sSI: _cDSPHR, _sm: None}, - (_AZI, _DR, _ST, _ETnd, _ITnsta, _PDro, _Fil, _AZ, _MR, _NTex), - ( - (AVAILABILITY_ZONE_ID, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), - (INSTANCE_TYPE_LIST, {_sN: _IT}), - (PRODUCT_DESCRIPTION_LIST, {_sN: _PDr}), - (FILTER_LIST, {_sN: _Fi}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (INTEGER, {_aQN: _MR, _sN: _mR}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -SPOT_PRICE: StaticSchema = ( - 18, - n0, - _SPpo, - 0, - (_AZ, _AZI, _IT, _PDr, _SPpo, _Ti), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (RI_PRODUCT_DESCRIPTION, {_aQN: _PDr, _sN: _pDr}), - (STRING, {_aQN: _SPpo, _sN: _sPp}), - (DATE_TIME, {_aQN: _Ti, _sN: _ti}), - ), -) - -SPOT_PRICE_HISTORY_LIST: StaticSchema = ( - 16, - n0, - _SPHL, - 0, - (_me,), - ((SPOT_PRICE, {_sN: _i}),), -) - -DESCRIBE_SPOT_PRICE_HISTORY_OUTPUT: StaticSchema = ( - 18, - n0, - _DSPHO, - {_sSI: _cDSPHRo, _smit: None}, - (_NTex, _SPH), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (SPOT_PRICE_HISTORY_LIST, {_aQN: _SPHS, _sN: _sPHS}), - ), -) - -DESCRIBE_SPOT_PRICE_HISTORY: StaticOperationSchema = ( - 23, - n0, - _DSPH, - 0, - DESCRIBE_SPOT_PRICE_HISTORY_INPUT, - DESCRIBE_SPOT_PRICE_HISTORY_OUTPUT, - (), -) - -DESCRIBE_STALE_SECURITY_GROUPS_MAX_RESULTS: StaticSchema = (7, n0, _DSSGMR, 0) - -DESCRIBE_STALE_SECURITY_GROUPS_NEXT_TOKEN: StaticSchema = (3, n0, _DSSGNT, 0) - -DESCRIBE_STALE_SECURITY_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DSSGI, - {_sSI: _cDSSGR, _sm: None}, - (_DR, _MR, _NTex, _VI), - ( - (BOOLEAN, 0), - (DESCRIBE_STALE_SECURITY_GROUPS_MAX_RESULTS, 0), - (DESCRIBE_STALE_SECURITY_GROUPS_NEXT_TOKEN, 0), - (VPC_ID, 1), - ), -) - -IP_RANGES: StaticSchema = (16, n0, _IRpa, 0, (_me,), ((STRING, {_sN: _i}),)) - -PREFIX_LIST_ID_SET: StaticSchema = (16, n0, _PLIS, 0, (_me,), ((STRING, {_sN: _i}),)) - -USER_ID_GROUP_PAIR_SET: StaticSchema = ( - 16, - n0, - _UIGPS, - 0, - (_me,), - ((USER_ID_GROUP_PAIR, {_sN: _i}),), -) - -STALE_IP_PERMISSION: StaticSchema = ( - 18, - n0, - _SIPt, - 0, - (_FP, _IPpr, _IRpa, _PLIr, _TP, _UIGPs), - ( - (INTEGER, {_aQN: _FP, _sN: _fP}), - (STRING, {_aQN: _IPpr, _sN: _iPpr}), - (IP_RANGES, {_aQN: _IRpa, _sN: _iRpa}), - (PREFIX_LIST_ID_SET, {_aQN: _PLIr, _sN: _pLIr}), - (INTEGER, {_aQN: _TP, _sN: _tP}), - (USER_ID_GROUP_PAIR_SET, {_aQN: _G, _sN: _gr}), - ), -) - -STALE_IP_PERMISSION_SET: StaticSchema = ( - 16, - n0, - _SIPS, - 0, - (_me,), - ((STALE_IP_PERMISSION, {_sN: _i}),), -) - -STALE_SECURITY_GROUP: StaticSchema = ( - 18, - n0, - _SSG, - 0, - (_Des, _GIr, _GN, _SIPta, _SIPE, _VI), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _GIr, _sN: _gIr}), - (STRING, {_aQN: _GN, _sN: _gN}), - (STALE_IP_PERMISSION_SET, {_aQN: _SIPta, _sN: _sIP}), - (STALE_IP_PERMISSION_SET, {_aQN: _SIPE, _sN: _sIPE}), - (STRING, {_aQN: _VI, _sN: _vI}), - ), -) - -STALE_SECURITY_GROUP_SET: StaticSchema = ( - 16, - n0, - _SSGS, - 0, - (_me,), - ((STALE_SECURITY_GROUP, {_sN: _i}),), -) - -DESCRIBE_STALE_SECURITY_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSSGO, - {_sSI: _cDSSGRo, _smit: None}, - (_NTex, _SSGS), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (STALE_SECURITY_GROUP_SET, {_aQN: _SSGS, _sN: _sSGS}), - ), -) - -DESCRIBE_STALE_SECURITY_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DSSG, - 0, - DESCRIBE_STALE_SECURITY_GROUPS_INPUT, - DESCRIBE_STALE_SECURITY_GROUPS_OUTPUT, - (), -) - -IMAGE_ID_LIST: StaticSchema = (16, n0, _IILm, 0, (_me,), ((IMAGE_ID, {_sN: _i}),)) - -DESCRIBE_STORE_IMAGE_TASKS_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _DSITRMR, 0) - -DESCRIBE_STORE_IMAGE_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DSITI, - {_sSI: _cDSITR, _sm: None}, - (_IIma, _DR, _Fil, _NTex, _MR), - ( - (IMAGE_ID_LIST, {_sN: _IIm}), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (STRING, 0), - (DESCRIBE_STORE_IMAGE_TASKS_REQUEST_MAX_RESULTS, 0), - ), -) - -STORE_IMAGE_TASK_RESULT: StaticSchema = ( - 18, - n0, - _SITR, - 0, - (_AIm, _TST, _Bu, _SKo, _PPr, _STSt, _STFR), - ( - (STRING, {_aQN: _AIm, _sN: _aIm}), - (MILLISECOND_DATE_TIME, {_aQN: _TST, _sN: _tST}), - (STRING, {_aQN: _Bu, _sN: _buc}), - (STRING, {_aQN: _SKo, _sN: _sKo}), - (INTEGER, {_aQN: _PPr, _sN: _pP}), - (STRING, {_aQN: _STSt, _sN: _sTSt}), - (STRING, {_aQN: _STFR, _sN: _sTFR}), - ), -) - -STORE_IMAGE_TASK_RESULT_SET: StaticSchema = ( - 16, - n0, - _SITRS, - 0, - (_me,), - ((STORE_IMAGE_TASK_RESULT, {_sN: _i}),), -) - -DESCRIBE_STORE_IMAGE_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSITO, - {_sSI: _cDSITRo, _smit: None}, - (_SITRt, _NTex), - ( - (STORE_IMAGE_TASK_RESULT_SET, {_aQN: _SITRS, _sN: _sITRS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_STORE_IMAGE_TASKS: StaticOperationSchema = ( - 23, - n0, - _DSIT, - 0, - DESCRIBE_STORE_IMAGE_TASKS_INPUT, - DESCRIBE_STORE_IMAGE_TASKS_OUTPUT, - (), -) - -DESCRIBE_SUBNETS_MAX_RESULTS: StaticSchema = (7, n0, _DSMR, 0) - -SUBNET_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _SISLu, - 0, - (_me,), - ((SUBNET_ID, {_sN: _SIu}),), -) - -DESCRIBE_SUBNETS_INPUT: StaticSchema = ( - 18, - n0, - _DSIescri, - {_sSI: _cDSRomam, _sm: None}, - (_Fil, _SI, _NTex, _MR, _DR), - ( - (FILTER_LIST, {_sN: _Fi}), - (SUBNET_ID_STRING_LIST, {_sN: _SIu}), - (STRING, 0), - (DESCRIBE_SUBNETS_MAX_RESULTS, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -SUBNET_LIST: StaticSchema = (16, n0, _SLub, 0, (_me,), ((SUBNET, {_sN: _i}),)) - -DESCRIBE_SUBNETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSOesc, - {_sSI: _cDSRomama, _smit: None}, - (_NTex, _Su), - ((STRING, {_aQN: _NTex, _sN: _nT}), (SUBNET_LIST, {_aQN: _SSubn, _sN: _sSub})), -) - -DESCRIBE_SUBNETS: StaticOperationSchema = ( - 23, - n0, - _DSesc, - 0, - DESCRIBE_SUBNETS_INPUT, - DESCRIBE_SUBNETS_OUTPUT, - (), -) - -DESCRIBE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _DTIes, - {_sSI: _cDTRo, _sm: None}, - (_DR, _Fil, _MR, _NTex), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - (INTEGER, {_aQN: _MR, _sN: _mR}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -TAG_DESCRIPTION: StaticSchema = ( - 18, - n0, - _TDa, - 0, - (_Ke, _RIe, _RT, _Va), - ( - (STRING, {_aQN: _Ke, _sN: _ke}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _Va, _sN: _va}), - ), -) - -TAG_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _TDL, - 0, - (_me,), - ((TAG_DESCRIPTION, {_sN: _i}),), -) - -DESCRIBE_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTOe, - {_sSI: _cDTRom, _smit: None}, - (_NTex, _Tag), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (TAG_DESCRIPTION_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -DESCRIBE_TAGS: StaticOperationSchema = ( - 23, - n0, - _DTes, - 0, - DESCRIBE_TAGS_INPUT, - DESCRIBE_TAGS_OUTPUT, - (), -) - -TRAFFIC_MIRRORING_MAX_RESULTS: StaticSchema = (7, n0, _TMMR, 0) - -TRAFFIC_MIRROR_FILTER_RULE_ID_LIST: StaticSchema = ( - 16, - n0, - _TMFRIL, - 0, - (_me,), - ((TRAFFIC_MIRROR_FILTER_RULE_ID_WITH_RESOLVER, {_sN: _i}),), -) - -DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_INPUT: StaticSchema = ( - 18, - n0, - _DTMFRIe, - {_sSI: _cDTMFRRom, _sm: None}, - (_TMFRIr, _TMFI, _DR, _Fil, _MR, _NTex), - ( - (TRAFFIC_MIRROR_FILTER_RULE_ID_LIST, {_sN: _TMFRI}), - (TRAFFIC_MIRROR_FILTER_ID, 0), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRAFFIC_MIRRORING_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -TRAFFIC_MIRROR_FILTER_RULE_SET: StaticSchema = ( - 16, - n0, - _TMFRS, - 0, - (_me,), - ((TRAFFIC_MIRROR_FILTER_RULE, {_sN: _i}),), -) - -DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_OUTPUT: StaticSchema = ( - 18, - n0, - _DTMFROe, - {_sSI: _cDTMFRRoma, _smit: None}, - (_TMFRr, _NTex), - ( - (TRAFFIC_MIRROR_FILTER_RULE_SET, {_aQN: _TMFRS, _sN: _tMFRS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES: StaticOperationSchema = ( - 23, - n0, - _DTMFRe, - 0, - DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_INPUT, - DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_OUTPUT, - (), -) - -TRAFFIC_MIRROR_FILTER_ID_LIST: StaticSchema = ( - 16, - n0, - _TMFIL, - 0, - (_me,), - ((TRAFFIC_MIRROR_FILTER_ID, {_sN: _i}),), -) - -DESCRIBE_TRAFFIC_MIRROR_FILTERS_INPUT: StaticSchema = ( - 18, - n0, - _DTMFIe, - {_sSI: _cDTMFRom, _sm: None}, - (_TMFIr, _DR, _Fil, _MR, _NTex), - ( - (TRAFFIC_MIRROR_FILTER_ID_LIST, {_sN: _TMFI}), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRAFFIC_MIRRORING_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -TRAFFIC_MIRROR_FILTER_SET: StaticSchema = ( - 16, - n0, - _TMFS, - 0, - (_me,), - ((TRAFFIC_MIRROR_FILTER, {_sN: _i}),), -) - -DESCRIBE_TRAFFIC_MIRROR_FILTERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTMFOe, - {_sSI: _cDTMFRoma, _smit: None}, - (_TMFr, _NTex), - ( - (TRAFFIC_MIRROR_FILTER_SET, {_aQN: _TMFS, _sN: _tMFS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRAFFIC_MIRROR_FILTERS: StaticOperationSchema = ( - 23, - n0, - _DTMFe, - 0, - DESCRIBE_TRAFFIC_MIRROR_FILTERS_INPUT, - DESCRIBE_TRAFFIC_MIRROR_FILTERS_OUTPUT, - (), -) - -TRAFFIC_MIRROR_SESSION_ID_LIST: StaticSchema = ( - 16, - n0, - _TMSIL, - 0, - (_me,), - ((TRAFFIC_MIRROR_SESSION_ID, {_sN: _i}),), -) - -DESCRIBE_TRAFFIC_MIRROR_SESSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DTMSIe, - {_sSI: _cDTMSRom, _sm: None}, - (_TMSIr, _DR, _Fil, _MR, _NTex), - ( - (TRAFFIC_MIRROR_SESSION_ID_LIST, {_sN: _TMSI}), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRAFFIC_MIRRORING_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -TRAFFIC_MIRROR_SESSION_SET: StaticSchema = ( - 16, - n0, - _TMSS, - 0, - (_me,), - ((TRAFFIC_MIRROR_SESSION, {_sN: _i}),), -) - -DESCRIBE_TRAFFIC_MIRROR_SESSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTMSOe, - {_sSI: _cDTMSRoma, _smit: None}, - (_TMSr, _NTex), - ( - (TRAFFIC_MIRROR_SESSION_SET, {_aQN: _TMSS, _sN: _tMSS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRAFFIC_MIRROR_SESSIONS: StaticOperationSchema = ( - 23, - n0, - _DTMSe, - 0, - DESCRIBE_TRAFFIC_MIRROR_SESSIONS_INPUT, - DESCRIBE_TRAFFIC_MIRROR_SESSIONS_OUTPUT, - (), -) - -TRAFFIC_MIRROR_TARGET_ID_LIST: StaticSchema = ( - 16, - n0, - _TMTIL, - 0, - (_me,), - ((TRAFFIC_MIRROR_TARGET_ID, {_sN: _i}),), -) - -DESCRIBE_TRAFFIC_MIRROR_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _DTMTIe, - {_sSI: _cDTMTRom, _sm: None}, - (_TMTIr, _DR, _Fil, _MR, _NTex), - ( - (TRAFFIC_MIRROR_TARGET_ID_LIST, {_sN: _TMTI}), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRAFFIC_MIRRORING_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -TRAFFIC_MIRROR_TARGET_SET: StaticSchema = ( - 16, - n0, - _TMTS, - 0, - (_me,), - ((TRAFFIC_MIRROR_TARGET, {_sN: _i}),), -) - -DESCRIBE_TRAFFIC_MIRROR_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTMTOe, - {_sSI: _cDTMTRoma, _smit: None}, - (_TMTr, _NTex), - ( - (TRAFFIC_MIRROR_TARGET_SET, {_aQN: _TMTS, _sN: _tMTS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRAFFIC_MIRROR_TARGETS: StaticOperationSchema = ( - 23, - n0, - _DTMTe, - 0, - DESCRIBE_TRAFFIC_MIRROR_TARGETS_INPUT, - DESCRIBE_TRAFFIC_MIRROR_TARGETS_OUTPUT, - (), -) - -TRANSIT_GATEWAY_MAX_RESULTS: StaticSchema = (7, n0, _TGMR, 0) - -DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_INPUT: StaticSchema = ( - 18, - n0, - _DTGAIe, - {_sSI: _cDTGAR, _sm: None}, - (_TGAIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ATTACHMENT_ASSOCIATION: StaticSchema = ( - 18, - n0, - _TGAA, - 0, - (_TGRTI, _TGPTI, _St), - ( - (STRING, {_aQN: _TGRTI, _sN: _tGRTI}), - (STRING, {_aQN: _TGPTI, _sN: _tGPTI}), - (TRANSIT_GATEWAY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_STATE: StaticSchema = ( - 14, - n0, - _TGANGSS, - 0, - (_ena, _d, _en, _disab), - ((-1, {_sV: _ena}), (-1, {_sV: _d}), (-1, {_sV: _en}), (-1, {_sV: _disab})), -) - -TRANSIT_GATEWAY_ATTACHMENT: StaticSchema = ( - 18, - n0, - _TGA, - 0, - (_TGAI, _TGI, _TGOI, _ROI, _RT, _RIe, _St, _Ass, _CT, _Tag, _NGSat), - ( - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _TGI, _sN: _tGI}), - (STRING, {_aQN: _TGOI, _sN: _tGOI}), - (STRING, {_aQN: _ROI, _sN: _rOI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRANSIT_GATEWAY_ATTACHMENT_STATE, {_aQN: _St, _sN: _st}), - (TRANSIT_GATEWAY_ATTACHMENT_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), - (DATE_TIME, {_aQN: _CT, _sN: _cT}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ( - TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_STATE, - {_aQN: _NGSat, _sN: _nGSa}, - ), - ), -) - -TRANSIT_GATEWAY_ATTACHMENT_LIST: StaticSchema = ( - 16, - n0, - _TGAL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ATTACHMENT, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGAO, - {_sSI: _cDTGARo, _smit: None}, - (_TGAransi, _NTex), - ( - (TRANSIT_GATEWAY_ATTACHMENT_LIST, {_aQN: _TGAransi, _sN: _tGArans}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS: StaticOperationSchema = ( - 23, - n0, - _DTGA, - 0, - DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_INPUT, - DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_OUTPUT, - (), -) - -TRANSIT_GATEWAY_CONNECT_PEER_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _TGCPISL, - 0, - (_me,), - ((TRANSIT_GATEWAY_CONNECT_PEER_ID, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_INPUT: StaticSchema = ( - 18, - n0, - _DTGCPIe, - {_sSI: _cDTGCPRom, _sm: None}, - (_TGCPIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_CONNECT_PEER_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_CONNECT_PEER_LIST: StaticSchema = ( - 16, - n0, - _TGCPL, - 0, - (_me,), - ((TRANSIT_GATEWAY_CONNECT_PEER, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGCPOe, - {_sSI: _cDTGCPRoma, _smit: None}, - (_TGCPr, _NTex), - ( - (TRANSIT_GATEWAY_CONNECT_PEER_LIST, {_aQN: _TGCPSr, _sN: _tGCPS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS: StaticOperationSchema = ( - 23, - n0, - _DTGCPe, - 0, - DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_INPUT, - DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_OUTPUT, - (), -) - -DESCRIBE_TRANSIT_GATEWAY_CONNECTS_INPUT: StaticSchema = ( - 18, - n0, - _DTGCIe, - {_sSI: _cDTGCRom, _sm: None}, - (_TGAIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_CONNECT_LIST: StaticSchema = ( - 16, - n0, - _TGCL, - 0, - (_me,), - ((TRANSIT_GATEWAY_CONNECT, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_CONNECTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGCOe, - {_sSI: _cDTGCRoma, _smit: None}, - (_TGCra, _NTex), - ( - (TRANSIT_GATEWAY_CONNECT_LIST, {_aQN: _TGCS, _sN: _tGCS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_CONNECTS: StaticOperationSchema = ( - 23, - n0, - _DTGCe, - 0, - DESCRIBE_TRANSIT_GATEWAY_CONNECTS_INPUT, - DESCRIBE_TRANSIT_GATEWAY_CONNECTS_OUTPUT, - (), -) - -TRANSIT_GATEWAY_METERING_POLICY_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _TGMPISL, - 0, - (_me,), - ((TRANSIT_GATEWAY_METERING_POLICY_ID, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _DTGMPIe, - {_sSI: _cDTGMPRom, _sm: None}, - (_TGMPIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_METERING_POLICY_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_METERING_POLICY_LIST: StaticSchema = ( - 16, - n0, - _TGMPL, - 0, - (_me,), - ((TRANSIT_GATEWAY_METERING_POLICY, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGMPOe, - {_sSI: _cDTGMPRoma, _smit: None}, - (_TGMPr, _NTex), - ( - (TRANSIT_GATEWAY_METERING_POLICY_LIST, {_aQN: _TGMPr, _sN: _tGMPr}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES: StaticOperationSchema = ( - 23, - n0, - _DTGMPe, - 0, - DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_INPUT, - DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_OUTPUT, - (), -) - -TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _TGMDISL, - 0, - (_me,), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_INPUT: StaticSchema = ( - 18, - n0, - _DTGMDIe, - {_sSI: _cDTGMDRom, _sm: None}, - (_TGMDIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_MULTICAST_DOMAIN_LIST: StaticSchema = ( - 16, - n0, - _TGMDL, - 0, - (_me,), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGMDOe, - {_sSI: _cDTGMDRoma, _smit: None}, - (_TGMDr, _NTex), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_LIST, {_aQN: _TGMDr, _sN: _tGMDr}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS: StaticOperationSchema = ( - 23, - n0, - _DTGMDe, - 0, - DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_INPUT, - DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_OUTPUT, - (), -) - -DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_INPUT: StaticSchema = ( - 18, - n0, - _DTGPAIe, - {_sSI: _cDTGPARom, _sm: None}, - (_TGAIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_PEERING_ATTACHMENT_LIST: StaticSchema = ( - 16, - n0, - _TGPAL, - 0, - (_me,), - ((TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGPAOe, - {_sSI: _cDTGPARoma, _smit: None}, - (_TGPAr, _NTex), - ( - (TRANSIT_GATEWAY_PEERING_ATTACHMENT_LIST, {_aQN: _TGPAr, _sN: _tGPAr}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS: StaticOperationSchema = ( - 23, - n0, - _DTGPAe, - 0, - DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_INPUT, - DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_OUTPUT, - (), -) - -TRANSIT_GATEWAY_POLICY_TABLE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _TGPTISL, - 0, - (_me,), - ((TRANSIT_GATEWAY_POLICY_TABLE_ID, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_INPUT: StaticSchema = ( - 18, - n0, - _DTGPTIe, - {_sSI: _cDTGPTRom, _sm: None}, - (_TGPTIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_POLICY_TABLE_LIST: StaticSchema = ( - 16, - n0, - _TGPTL, - 0, - (_me,), - ((TRANSIT_GATEWAY_POLICY_TABLE, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGPTOe, - {_sSI: _cDTGPTRoma, _smit: None}, - (_TGPTr, _NTex), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_LIST, {_aQN: _TGPTr, _sN: _tGPTr}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES: StaticOperationSchema = ( - 23, - n0, - _DTGPTe, - 0, - DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_INPUT, - DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_OUTPUT, - (), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _TGRTAISL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_INPUT: StaticSchema = ( - 18, - n0, - _DTGRTAIe, - {_sSI: _cDTGRTARom, _sm: None}, - (_TGRTAIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_LIST: StaticSchema = ( - 16, - n0, - _TGRTAL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGRTAOe, - {_sSI: _cDTGRTARoma, _smit: None}, - (_TGRTAr, _NTex), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_LIST, {_aQN: _TGRTAr, _sN: _tGRTAr}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS: StaticOperationSchema = ( - 23, - n0, - _DTGRTAe, - 0, - DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_INPUT, - DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_OUTPUT, - (), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _TGRTISL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_INPUT: StaticSchema = ( - 18, - n0, - _DTGRTIe, - {_sSI: _cDTGRTRom, _sm: None}, - (_TGRTIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_LIST: StaticSchema = ( - 16, - n0, - _TGRTL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ROUTE_TABLE, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGRTOe, - {_sSI: _cDTGRTRoma, _smit: None}, - (_TGRTra, _NTex), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_LIST, {_aQN: _TGRTra, _sN: _tGRTr}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES: StaticOperationSchema = ( - 23, - n0, - _DTGRTe, - 0, - DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_INPUT, - DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_OUTPUT, - (), -) - -TRANSIT_GATEWAY_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _TGISL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ID, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _DTGIe, - {_sSI: _cDTGRom, _sm: None}, - (_TGIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_LIST: StaticSchema = ( - 16, - n0, - _TGL, - 0, - (_me,), - ((TRANSIT_GATEWAY, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGOe, - {_sSI: _cDTGRoma, _smit: None}, - (_TGra, _NTex), - ( - (TRANSIT_GATEWAY_LIST, {_aQN: _TGSr, _sN: _tGS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _DTGe, - 0, - DESCRIBE_TRANSIT_GATEWAYS_INPUT, - DESCRIBE_TRANSIT_GATEWAYS_OUTPUT, - (), -) - -DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_INPUT: StaticSchema = ( - 18, - n0, - _DTGVAIe, - {_sSI: _cDTGVARom, _sm: None}, - (_TGAIr, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, 0), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_VPC_ATTACHMENT_LIST: StaticSchema = ( - 16, - n0, - _TGVAL, - 0, - (_me,), - ((TRANSIT_GATEWAY_VPC_ATTACHMENT, {_sN: _i}),), -) - -DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGVAOe, - {_sSI: _cDTGVARoma, _smit: None}, - (_TGVAr, _NTex), - ( - (TRANSIT_GATEWAY_VPC_ATTACHMENT_LIST, {_aQN: _TGVAr, _sN: _tGVAr}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS: StaticOperationSchema = ( - 23, - n0, - _DTGVAe, - 0, - DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_INPUT, - DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_OUTPUT, - (), -) - -TRUNK_INTERFACE_ASSOCIATION_ID_LIST: StaticSchema = ( - 16, - n0, - _TIAIL, - 0, - (_me,), - ((TRUNK_INTERFACE_ASSOCIATION_ID, {_sN: _i}),), -) - -DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DTIAMR, 0) - -DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DTIAI, - {_sSI: _cDTIAR, _sm: None}, - (_AIsso, _DR, _Fil, _NTex, _MR), - ( - (TRUNK_INTERFACE_ASSOCIATION_ID_LIST, {_sN: _AIs}), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (STRING, 0), - (DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_MAX_RESULTS, 0), - ), -) - -TRUNK_INTERFACE_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _TIAL, - 0, - (_me,), - ((TRUNK_INTERFACE_ASSOCIATION, {_sN: _i}),), -) - -DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTIAO, - {_sSI: _cDTIARo, _smit: None}, - (_IAnt, _NTex), - ( - (TRUNK_INTERFACE_ASSOCIATION_LIST, {_aQN: _IASnt, _sN: _iASn}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _DTIA, - 0, - DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_INPUT, - DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_OUTPUT, - (), -) - -DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_MAX_RESULTS: StaticSchema = (7, n0, _DVAEMR, 0) - -VERIFIED_ACCESS_ENDPOINT_ID_LIST: StaticSchema = ( - 16, - n0, - _VAEIL, - 0, - (_me,), - ((VERIFIED_ACCESS_ENDPOINT_ID, {_sN: _i}),), -) - -DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _DVAEIe, - {_sSI: _cDVAERom, _sm: None}, - (_VAEIe, _VAII, _VAGI, _MR, _NTex, _Fil, _DR), - ( - (VERIFIED_ACCESS_ENDPOINT_ID_LIST, {_sN: _VAEI}), - (VERIFIED_ACCESS_INSTANCE_ID, 0), - (VERIFIED_ACCESS_GROUP_ID, 0), - (DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -VERIFIED_ACCESS_ENDPOINT_LIST: StaticSchema = ( - 16, - n0, - _VAEL, - 0, - (_me,), - ((VERIFIED_ACCESS_ENDPOINT, {_sN: _i}),), -) - -DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVAEOe, - {_sSI: _cDVAERoma, _smit: None}, - (_VAEe, _NTex), - ( - (VERIFIED_ACCESS_ENDPOINT_LIST, {_aQN: _VAESe, _sN: _vAES}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VERIFIED_ACCESS_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _DVAEe, - 0, - DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_INPUT, - DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_OUTPUT, - (), -) - -DESCRIBE_VERIFIED_ACCESS_GROUP_MAX_RESULTS: StaticSchema = (7, n0, _DVAGMR, 0) - -VERIFIED_ACCESS_GROUP_ID_LIST: StaticSchema = ( - 16, - n0, - _VAGIL, - 0, - (_me,), - ((VERIFIED_ACCESS_GROUP_ID, {_sN: _i}),), -) - -DESCRIBE_VERIFIED_ACCESS_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DVAGIe, - {_sSI: _cDVAGRom, _sm: None}, - (_VAGIe, _VAII, _MR, _NTex, _Fil, _DR), - ( - (VERIFIED_ACCESS_GROUP_ID_LIST, {_sN: _VAGI}), - (VERIFIED_ACCESS_INSTANCE_ID, 0), - (DESCRIBE_VERIFIED_ACCESS_GROUP_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -VERIFIED_ACCESS_GROUP_LIST: StaticSchema = ( - 16, - n0, - _VAGL, - 0, - (_me,), - ((VERIFIED_ACCESS_GROUP, {_sN: _i}),), -) - -DESCRIBE_VERIFIED_ACCESS_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVAGOe, - {_sSI: _cDVAGRoma, _smit: None}, - (_VAGe, _NTex), - ( - (VERIFIED_ACCESS_GROUP_LIST, {_aQN: _VAGS, _sN: _vAGS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VERIFIED_ACCESS_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DVAGe, - 0, - DESCRIBE_VERIFIED_ACCESS_GROUPS_INPUT, - DESCRIBE_VERIFIED_ACCESS_GROUPS_OUTPUT, - (), -) - -DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DVAILCMR, - 0, -) - -VERIFIED_ACCESS_INSTANCE_ID_LIST: StaticSchema = ( - 16, - n0, - _VAIIL, - 0, - (_me,), - ((VERIFIED_ACCESS_INSTANCE_ID, {_sN: _i}),), -) - -DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVAILCI, - {_sSI: _cDVAILCR, _sm: None}, - (_VAIIe, _MR, _NTex, _Fil, _DR), - ( - (VERIFIED_ACCESS_INSTANCE_ID_LIST, {_sN: _VAII}), - (DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -VERIFIED_ACCESS_LOG_DELIVERY_STATUS_CODE: StaticSchema = ( - 14, - n0, - _VALDSC, - 0, - (_SUCCESS, _FAILED), - ((-1, {_sV: _succe}), (-1, {_sV: _fa})), -) - -VERIFIED_ACCESS_LOG_DELIVERY_STATUS: StaticSchema = ( - 18, - n0, - _VALDS, - 0, - (_C, _Me), - ( - (VERIFIED_ACCESS_LOG_DELIVERY_STATUS_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION: StaticSchema = ( - 18, - n0, - _VALCWLD, - 0, - (_Ena, _DSeli, _LGog), - ( - (BOOLEAN, {_aQN: _Ena, _sN: _ena}), - (VERIFIED_ACCESS_LOG_DELIVERY_STATUS, {_aQN: _DSeli, _sN: _dSel}), - (STRING, {_aQN: _LGog, _sN: _lGo}), - ), -) - -VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION: StaticSchema = ( - 18, - n0, - _VALKDFD, - 0, - (_Ena, _DSeli, _DSeliv), - ( - (BOOLEAN, {_aQN: _Ena, _sN: _ena}), - (VERIFIED_ACCESS_LOG_DELIVERY_STATUS, {_aQN: _DSeli, _sN: _dSel}), - (STRING, {_aQN: _DSeliv, _sN: _dSeli}), - ), -) - -VERIFIED_ACCESS_LOG_S3_DESTINATION: StaticSchema = ( - 18, - n0, - _VALSD, - 0, - (_Ena, _DSeli, _BN, _Pre, _BOu), - ( - (BOOLEAN, {_aQN: _Ena, _sN: _ena}), - (VERIFIED_ACCESS_LOG_DELIVERY_STATUS, {_aQN: _DSeli, _sN: _dSel}), - (STRING, {_aQN: _BN, _sN: _bN}), - (STRING, {_aQN: _Pre, _sN: _pre}), - (STRING, {_aQN: _BOu, _sN: _bOu}), - ), -) - -VERIFIED_ACCESS_LOGS: StaticSchema = ( - 18, - n0, - _VALe, - 0, - (_S_, _CWL, _KDF, _LVo, _ITCn), - ( - (VERIFIED_ACCESS_LOG_S3_DESTINATION, {_aQN: _S_, _sN: _s_}), - (VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION, {_aQN: _CWL, _sN: _cWL}), - ( - VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION, - {_aQN: _KDF, _sN: _kDF}, - ), - (STRING, {_aQN: _LVo, _sN: _lV}), - (BOOLEAN, {_aQN: _ITCn, _sN: _iTCn}), - ), -) - -VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VAILC, - 0, - (_VAII, _ALc), - ( - (STRING, {_aQN: _VAII, _sN: _vAII}), - (VERIFIED_ACCESS_LOGS, {_aQN: _ALc, _sN: _aL}), - ), -) - -VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _VAILCL, - 0, - (_me,), - ((VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION, {_sN: _i}),), -) - -DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVAILCO, - {_sSI: _cDVAILCRo, _smit: None}, - (_LCo, _NTex), - ( - (VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_LIST, {_aQN: _LCS, _sN: _lCS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _DVAILC, - 0, - DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_INPUT, - DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_OUTPUT, - (), -) - -DESCRIBE_VERIFIED_ACCESS_INSTANCES_MAX_RESULTS: StaticSchema = (7, n0, _DVAIMR, 0) - -DESCRIBE_VERIFIED_ACCESS_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DVAIIe, - {_sSI: _cDVAIRom, _sm: None}, - (_VAIIe, _MR, _NTex, _Fil, _DR), - ( - (VERIFIED_ACCESS_INSTANCE_ID_LIST, {_sN: _VAII}), - (DESCRIBE_VERIFIED_ACCESS_INSTANCES_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -VERIFIED_ACCESS_INSTANCE_LIST: StaticSchema = ( - 16, - n0, - _VAIL, - 0, - (_me,), - ((VERIFIED_ACCESS_INSTANCE, {_sN: _i}),), -) - -DESCRIBE_VERIFIED_ACCESS_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DVAIOe, - {_sSI: _cDVAIRoma, _smit: None}, - (_VAIe, _NTex), - ( - (VERIFIED_ACCESS_INSTANCE_LIST, {_aQN: _VAIS, _sN: _vAIS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VERIFIED_ACCESS_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DVAIe, - 0, - DESCRIBE_VERIFIED_ACCESS_INSTANCES_INPUT, - DESCRIBE_VERIFIED_ACCESS_INSTANCES_OUTPUT, - (), -) - -DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DVATPMR, - 0, -) - -VERIFIED_ACCESS_TRUST_PROVIDER_ID_LIST: StaticSchema = ( - 16, - n0, - _VATPIL, - 0, - (_me,), - ((VERIFIED_ACCESS_TRUST_PROVIDER_ID, {_sN: _i}),), -) - -DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _DVATPIe, - {_sSI: _cDVATPRom, _sm: None}, - (_VATPIe, _MR, _NTex, _Fil, _DR), - ( - (VERIFIED_ACCESS_TRUST_PROVIDER_ID_LIST, {_sN: _VATPI}), - (DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -VERIFIED_ACCESS_TRUST_PROVIDER_LIST: StaticSchema = ( - 16, - n0, - _VATPL, - 0, - (_me,), - ((VERIFIED_ACCESS_TRUST_PROVIDER, {_sN: _i}),), -) - -DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVATPOe, - {_sSI: _cDVATPRoma, _smit: None}, - (_VATP, _NTex), - ( - (VERIFIED_ACCESS_TRUST_PROVIDER_LIST, {_aQN: _VATPS, _sN: _vATPS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _DVATPe, - 0, - DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_INPUT, - DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_OUTPUT, - (), -) - -VOLUME_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _VAN, - 0, - (_aEIO, _pCr), - ((-1, {_sV: _aEIO}), (-1, {_sV: _pCr})), -) - -DESCRIBE_VOLUME_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _DVAIes, - {_sSI: _cDVAR, _sm: None}, - (_Attr, _VIo, _DR), - ((VOLUME_ATTRIBUTE_NAME, 1), (VOLUME_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DESCRIBE_VOLUME_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DVAO, - {_sSI: _cDVARo, _smit: None}, - (_AEIO, _PCro, _VIo), - ( - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _AEIO, _sN: _aEIO}), - (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - ), -) - -DESCRIBE_VOLUME_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _DVA, - 0, - DESCRIBE_VOLUME_ATTRIBUTE_INPUT, - DESCRIBE_VOLUME_ATTRIBUTE_OUTPUT, - (), -) - -DESCRIBE_VOLUMES_INPUT: StaticSchema = ( - 18, - n0, - _DVIes, - {_sSI: _cDVRom, _sm: None}, - (_VIol, _IMR, _DR, _Fil, _NTex, _MR), - ( - (VOLUME_ID_STRING_LIST, {_sN: _VIo}), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - (STRING, {_aQN: _NTex, _sN: _nT}), - (INTEGER, {_aQN: _MR, _sN: _mR}), - ), -) - -DESCRIBE_VOLUMES_OUTPUT: StaticSchema = ( - 18, - n0, - _DVOes, - {_sSI: _cDVRoma, _smit: None}, - (_NTex, _Vol), - ((STRING, {_aQN: _NTex, _sN: _nT}), (VOLUME_LIST, {_aQN: _VSo, _sN: _vS})), -) - -DESCRIBE_VOLUMES: StaticOperationSchema = ( - 23, - n0, - _DVes, - 0, - DESCRIBE_VOLUMES_INPUT, - DESCRIBE_VOLUMES_OUTPUT, - (), -) - -DESCRIBE_VOLUMES_MODIFICATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVMI, - {_sSI: _cDVMR, _sm: None}, - (_DR, _VIol, _Fil, _NTex, _MR, _IMR), - ( - (BOOLEAN, 0), - (VOLUME_ID_STRING_LIST, {_sN: _VIo}), - (FILTER_LIST, {_sN: _Fi}), - (STRING, 0), - (INTEGER, 0), - (BOOLEAN, 0), - ), -) - -VOLUME_MODIFICATION_STATE: StaticSchema = ( - 14, - n0, - _VMS, - 0, - (_mo, _opti, _compl, _fa), - ((-1, {_sV: _mo}), (-1, {_sV: _opti}), (-1, {_sV: _compl}), (-1, {_sV: _fa})), -) - -VOLUME_MODIFICATION: StaticSchema = ( - 18, - n0, - _VM, - 0, - ( - _VIo, - _MSo, - _SMt, - _TSarg, - _TIar, - _TVT, - _TTa, - _TMAE, - _OSr, - _OIr, - _OVT, - _OTr, - _OMAE, - _Prog, - _ST, - _ETnd, - _Op, - ), - ( - (STRING, {_aQN: _VIo, _sN: _vIo}), - (VOLUME_MODIFICATION_STATE, {_aQN: _MSo, _sN: _mS}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (INTEGER, {_aQN: _TSarg, _sN: _tSarg}), - (INTEGER, {_aQN: _TIar, _sN: _tIar}), - (VOLUME_TYPE, {_aQN: _TVT, _sN: _tVT}), - (INTEGER, {_aQN: _TTa, _sN: _tTa}), - (BOOLEAN, {_aQN: _TMAE, _sN: _tMAE}), - (INTEGER, {_aQN: _OSr, _sN: _oSr}), - (INTEGER, {_aQN: _OIr, _sN: _oIr}), - (VOLUME_TYPE, {_aQN: _OVT, _sN: _oVT}), - (INTEGER, {_aQN: _OTr, _sN: _oTr}), - (BOOLEAN, {_aQN: _OMAE, _sN: _oMAE}), - (LONG, {_aQN: _Prog, _sN: _prog}), - (DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - ), -) - -VOLUME_MODIFICATION_LIST: StaticSchema = ( - 16, - n0, - _VML, - 0, - (_me,), - ((VOLUME_MODIFICATION, {_sN: _i}),), -) - -DESCRIBE_VOLUMES_MODIFICATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVMO, - {_sSI: _cDVMRo, _smit: None}, - (_NTex, _VMo), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (VOLUME_MODIFICATION_LIST, {_aQN: _VMSo, _sN: _vMS}), - ), -) - -DESCRIBE_VOLUMES_MODIFICATIONS: StaticOperationSchema = ( - 23, - n0, - _DVM, - 0, - DESCRIBE_VOLUMES_MODIFICATIONS_INPUT, - DESCRIBE_VOLUMES_MODIFICATIONS_OUTPUT, - (), -) - -DESCRIBE_VOLUME_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _DVSI, - {_sSI: _cDVSR, _sm: None}, - (_MR, _NTex, _VIol, _IMR, _DR, _Fil), - ( - (INTEGER, 0), - (STRING, 0), - (VOLUME_ID_STRING_LIST, {_sN: _VIo}), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -VOLUME_STATUS_ACTION: StaticSchema = ( - 18, - n0, - _VSA, - 0, - (_C, _Des, _EIve, _ETv), - ( - (STRING, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _EIve, _sN: _eIve}), - (STRING, {_aQN: _ETv, _sN: _eTv}), - ), -) - -VOLUME_STATUS_ACTIONS_LIST: StaticSchema = ( - 16, - n0, - _VSAL, - 0, - (_me,), - ((VOLUME_STATUS_ACTION, {_sN: _i}),), -) - -VOLUME_STATUS_ATTACHMENT_STATUS: StaticSchema = ( - 18, - n0, - _VSAS, - 0, - (_IPo, _II), - ((STRING, {_aQN: _IPo, _sN: _iPo}), (STRING, {_aQN: _II, _sN: _iI})), -) - -VOLUME_STATUS_ATTACHMENT_STATUS_LIST: StaticSchema = ( - 16, - n0, - _VSASL, - 0, - (_me,), - ((VOLUME_STATUS_ATTACHMENT_STATUS, {_sN: _i}),), -) - -VOLUME_STATUS_EVENT: StaticSchema = ( - 18, - n0, - _VSE, - 0, - (_Des, _EIve, _ETv, _NA, _NB, _II), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _EIve, _sN: _eIve}), - (STRING, {_aQN: _ETv, _sN: _eTv}), - (MILLISECOND_DATE_TIME, {_aQN: _NA, _sN: _nA}), - (MILLISECOND_DATE_TIME, {_aQN: _NB, _sN: _nB}), - (STRING, {_aQN: _II, _sN: _iI}), - ), -) - -VOLUME_STATUS_EVENTS_LIST: StaticSchema = ( - 16, - n0, - _VSEL, - 0, - (_me,), - ((VOLUME_STATUS_EVENT, {_sN: _i}),), -) - -INITIALIZATION_TYPE: StaticSchema = ( - 14, - n0, - _ITni, - 0, - (_def, _pr_, _vc____), - ((-1, {_sV: _def}), (-1, {_sV: _pr__}), (-1, {_sV: _vc_____})), -) - -INITIALIZATION_STATUS_DETAILS: StaticSchema = ( - 18, - n0, - _ISDn, - 0, - (_ITni, _Prog, _ETTCIS), - ( - (INITIALIZATION_TYPE, {_aQN: _ITni, _sN: _iTni}), - (LONG, {_aQN: _Prog, _sN: _prog}), - (LONG, {_aQN: _ETTCIS, _sN: _eTTCIS}), - ), -) - -VOLUME_STATUS_NAME: StaticSchema = ( - 14, - n0, - _VSN, - 0, - (_ie_____, _ip_________, _is______), - ((-1, {_sV: _ie______}), (-1, {_sV: _ip__________}), (-1, {_sV: _is_______})), -) - -VOLUME_STATUS_DETAILS: StaticSchema = ( - 18, - n0, - _VSD, - 0, - (_N, _Sta), - ((VOLUME_STATUS_NAME, {_aQN: _N, _sN: _nam}), (STRING, {_aQN: _Sta, _sN: _sta})), -) - -VOLUME_STATUS_DETAILS_LIST: StaticSchema = ( - 16, - n0, - _VSDL, - 0, - (_me,), - ((VOLUME_STATUS_DETAILS, {_sN: _i}),), -) - -VOLUME_STATUS_INFO_STATUS: StaticSchema = ( - 14, - n0, - _VSIS, - 0, - (_ok, _imp, _id__, _wa), - ((-1, {_sV: _ok}), (-1, {_sV: _imp}), (-1, {_sV: _id_}), (-1, {_sV: _wa})), -) - -VOLUME_STATUS_INFO: StaticSchema = ( - 18, - n0, - _VSI, - 0, - (_Det, _Sta), - ( - (VOLUME_STATUS_DETAILS_LIST, {_aQN: _Det, _sN: _detai}), - (VOLUME_STATUS_INFO_STATUS, {_aQN: _Sta, _sN: _sta}), - ), -) - -VOLUME_STATUS_ITEM: StaticSchema = ( - 18, - n0, - _VSIo, - 0, - (_Acti, _AZ, _OA, _Ev, _VIo, _VSolu, _ASttac, _ISDn, _AZI, _Op), - ( - (VOLUME_STATUS_ACTIONS_LIST, {_aQN: _ASct, _sN: _aSct}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _OA, _sN: _oA}), - (VOLUME_STATUS_EVENTS_LIST, {_aQN: _ESv, _sN: _eSv}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (VOLUME_STATUS_INFO, {_aQN: _VSolu, _sN: _vSol}), - (VOLUME_STATUS_ATTACHMENT_STATUS_LIST, {_aQN: _ASttac, _sN: _aStta}), - (INITIALIZATION_STATUS_DETAILS, {_aQN: _ISDn, _sN: _iSD}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - ), -) - -VOLUME_STATUS_LIST: StaticSchema = ( - 16, - n0, - _VSLo, - 0, - (_me,), - ((VOLUME_STATUS_ITEM, {_sN: _i}),), -) - -DESCRIBE_VOLUME_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVSO, - {_sSI: _cDVSRo, _smit: None}, - (_NTex, _VSolum), - ((STRING, {_aQN: _NTex, _sN: _nT}), (VOLUME_STATUS_LIST, {_aQN: _VSS, _sN: _vSS})), -) - -DESCRIBE_VOLUME_STATUS: StaticOperationSchema = ( - 23, - n0, - _DVS, - 0, - DESCRIBE_VOLUME_STATUS_INPUT, - DESCRIBE_VOLUME_STATUS_OUTPUT, - (), -) - -VPC_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _VANp, - 0, - (_eDS, _eDH, _eNAUM), - ((-1, {_sV: _eDS}), (-1, {_sV: _eDH}), (-1, {_sV: _eNAUM})), -) - -DESCRIBE_VPC_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _DVAIesc, - {_sSI: _cDVARom, _sm: None}, - (_Attr, _VI, _DR), - ((VPC_ATTRIBUTE_NAME, 1), (VPC_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DESCRIBE_VPC_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DVAOe, - {_sSI: _cDVARoma, _smit: None}, - (_EDH, _EDS, _ENAUM, _VI), - ( - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _EDH, _sN: _eDH}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _EDS, _sN: _eDS}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _ENAUM, _sN: _eNAUM}), - (STRING, {_aQN: _VI, _sN: _vI}), - ), -) - -DESCRIBE_VPC_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _DVAe, - 0, - DESCRIBE_VPC_ATTRIBUTE_INPUT, - DESCRIBE_VPC_ATTRIBUTE_OUTPUT, - (), -) - -VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID_LIST: StaticSchema = ( - 16, - n0, - _VBPAEIL, - 0, - (_me,), - ((VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID, {_sN: _i}),), -) - -DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _DVBPAEMR, - 0, -) - -DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVBPAEIe, - {_sSI: _cDVBPAERom, _sm: None}, - (_DR, _Fil, _EIxc, _NTex, _MR), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID_LIST, {_sN: _EIx}), - (STRING, 0), - (DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_MAX_RESULTS, 0), - ), -) - -VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_LIST: StaticSchema = ( - 16, - n0, - _VBPAEL, - 0, - (_me,), - ((VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION, {_sN: _i}),), -) - -DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVBPAEOe, - {_sSI: _cDVBPAERoma, _smit: None}, - (_VBPAEp, _NTex), - ( - (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_LIST, {_aQN: _VBPAESp, _sN: _vBPAES}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS: StaticOperationSchema = ( - 23, - n0, - _DVBPAEe, - 0, - DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_INPUT, - DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_OUTPUT, - (), -) - -DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVBPAOI, - {_sSI: _cDVBPAOR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_ALLOWED: StaticSchema = ( - 14, - n0, - _VBPAEA, - 0, - (_allo, _na_______), - ((-1, {_sV: _allo}), (-1, {_sV: _na________})), -) - -INTERNET_GATEWAY_BLOCK_MODE: StaticSchema = ( - 14, - n0, - _IGBM, - 0, - (_of, _bb, _bi), - ((-1, {_sV: _of}), (-1, {_sV: _bb_}), (-1, {_sV: _bi_})), -) - -VPC_BLOCK_PUBLIC_ACCESS_STATE: StaticSchema = ( - 14, - n0, - _VBPAS, - 0, - (_ds, _uip, _uc), - ((-1, {_sV: _ds_}), (-1, {_sV: _uip_}), (-1, {_sV: _uc_})), -) - -VPC_BLOCK_PUBLIC_ACCESS_OPTIONS: StaticSchema = ( - 18, - n0, - _VBPAO, - 0, - (_AAIw, _ARw, _St, _IGBM, _Rea, _LUT, _MB, _EAx), - ( - (STRING, {_aQN: _AAIw, _sN: _aAI}), - (STRING, {_aQN: _ARw, _sN: _aRw}), - (VPC_BLOCK_PUBLIC_ACCESS_STATE, {_aQN: _St, _sN: _st}), - (INTERNET_GATEWAY_BLOCK_MODE, {_aQN: _IGBM, _sN: _iGBM}), - (STRING, {_aQN: _Rea, _sN: _rea}), - (MILLISECOND_DATE_TIME, {_aQN: _LUT, _sN: _lUT}), - (MANAGED_BY, {_aQN: _MB, _sN: _mB}), - (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_ALLOWED, {_aQN: _EAx, _sN: _eAx}), - ), -) - -DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVBPAOO, - {_sSI: _cDVBPAORo, _smit: None}, - (_VBPAO,), - ((VPC_BLOCK_PUBLIC_ACCESS_OPTIONS, {_aQN: _VBPAO, _sN: _vBPAO}),), -) - -DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _DVBPAO, - 0, - DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT, - DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT, - (), -) - -VPC_CLASSIC_LINK_ID_LIST: StaticSchema = ( - 16, - n0, - _VCLIL, - 0, - (_me,), - ((VPC_ID, {_sN: _VI}),), -) - -DESCRIBE_VPC_CLASSIC_LINK_INPUT: StaticSchema = ( - 18, - n0, - _DVCLI, - {_sSI: _cDVCLR, _sm: None}, - (_DR, _VIp, _Fil), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VPC_CLASSIC_LINK_ID_LIST, {_sN: _VI}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -VPC_CLASSIC_LINK: StaticSchema = ( - 18, - n0, - _VCL, - 0, - (_CLE, _Tag, _VI), - ( - (BOOLEAN, {_aQN: _CLE, _sN: _cLE}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _VI, _sN: _vI}), - ), -) - -VPC_CLASSIC_LINK_LIST: StaticSchema = ( - 16, - n0, - _VCLL, - 0, - (_me,), - ((VPC_CLASSIC_LINK, {_sN: _i}),), -) - -DESCRIBE_VPC_CLASSIC_LINK_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCLO, - {_sSI: _cDVCLRo, _smit: None}, - (_Vpc,), - ((VPC_CLASSIC_LINK_LIST, {_aQN: _VSpc, _sN: _vSp}),), -) - -DESCRIBE_VPC_CLASSIC_LINK: StaticOperationSchema = ( - 23, - n0, - _DVCL, - 0, - DESCRIBE_VPC_CLASSIC_LINK_INPUT, - DESCRIBE_VPC_CLASSIC_LINK_OUTPUT, - (), -) - -DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_MAX_RESULTS: StaticSchema = (7, n0, _DVCLDSMR, 0) - -DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_NEXT_TOKEN: StaticSchema = (3, n0, _DVCLDSNT, 0) - -DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT: StaticSchema = ( - 18, - n0, - _DVCLDSI, - {_sSI: _cDVCLDSR, _sm: None}, - (_VIp, _MR, _NTex), - ( - (VPC_CLASSIC_LINK_ID_LIST, {_sN: _VIp}), - (DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), - (DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -CLASSIC_LINK_DNS_SUPPORT: StaticSchema = ( - 18, - n0, - _CLDS, - 0, - (_CLDSl, _VI), - ((BOOLEAN, {_aQN: _CLDSl, _sN: _cLDS}), (STRING, {_aQN: _VI, _sN: _vI})), -) - -CLASSIC_LINK_DNS_SUPPORT_LIST: StaticSchema = ( - 16, - n0, - _CLDSL, - 0, - (_me,), - ((CLASSIC_LINK_DNS_SUPPORT, {_sN: _i}),), -) - -DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCLDSO, - {_sSI: _cDVCLDSRo, _smit: None}, - (_NTex, _Vpc), - ( - (DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (CLASSIC_LINK_DNS_SUPPORT_LIST, {_aQN: _Vpc, _sN: _vpcs}), - ), -) - -DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT: StaticOperationSchema = ( - 23, - n0, - _DVCLDS, - 0, - DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT, - DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT, - (), -) - -DESCRIBE_VPC_ENCRYPTION_CONTROLS_MAX_RESULTS: StaticSchema = (7, n0, _DVECMR, 0) - -VPC_ENCRYPTION_CONTROL_ID_LIST: StaticSchema = ( - 16, - n0, - _VECIL, - 0, - (_me,), - ((VPC_ENCRYPTION_CONTROL_ID, {_sN: _i}),), -) - -VPC_ID_STRING_LIST: StaticSchema = (16, n0, _VISLp, 0, (_me,), ((VPC_ID, {_sN: _VI}),)) - -DESCRIBE_VPC_ENCRYPTION_CONTROLS_INPUT: StaticSchema = ( - 18, - n0, - _DVECIe, - {_sSI: _cDVECRom, _sm: None}, - (_DR, _Fil, _VECIp, _VIp, _NTex, _MR), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (VPC_ENCRYPTION_CONTROL_ID_LIST, {_sN: _VECI}), - (VPC_ID_STRING_LIST, {_sN: _VI}), - (STRING, 0), - (DESCRIBE_VPC_ENCRYPTION_CONTROLS_MAX_RESULTS, 0), - ), -) - -VPC_ENCRYPTION_CONTROL_LIST: StaticSchema = ( - 16, - n0, - _VECL, - 0, - (_me,), - ((VPC_ENCRYPTION_CONTROL, {_sN: _i}),), -) - -DESCRIBE_VPC_ENCRYPTION_CONTROLS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVECOe, - {_sSI: _cDVECRoma, _smit: None}, - (_VECpc, _NTex), - ( - (VPC_ENCRYPTION_CONTROL_LIST, {_aQN: _VECSp, _sN: _vECS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_ENCRYPTION_CONTROLS: StaticOperationSchema = ( - 23, - n0, - _DVECe, - 0, - DESCRIBE_VPC_ENCRYPTION_CONTROLS_INPUT, - DESCRIBE_VPC_ENCRYPTION_CONTROLS_OUTPUT, - (), -) - -MAX_RESULTS2: StaticSchema = (7, n0, _MRa, 0) - -DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVEAI, - {_sSI: _cDVEAR, _sm: None}, - (_DR, _VEIp, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_ID_LIST, {_sN: _VEI}), - (FILTER_LIST, {_sN: _Fi}), - (MAX_RESULTS2, 0), - (STRING, 0), - ), -) - -VPC_ENDPOINT_ASSOCIATION: StaticSchema = ( - 18, - n0, - _VEAp, - 0, - (_Id, _VEI, _SNAe, _SNN, _ARA, _FRa, _FCa, _DE, _PDEr, _ARAs, _RCGA, _Tag), - ( - (STRING, {_aQN: _Id, _sN: _id}), - (VPC_ENDPOINT_ID, {_aQN: _VEI, _sN: _vEI}), - (SERVICE_NETWORK_ARN, {_aQN: _SNAe, _sN: _sNAe}), - (STRING, {_aQN: _SNN, _sN: _sNN}), - (STRING, {_aQN: _ARA, _sN: _aRA}), - (STRING, {_aQN: _FRa, _sN: _fRa}), - (STRING, {_aQN: _FCa, _sN: _fCa}), - (DNS_ENTRY, {_aQN: _DE, _sN: _dE}), - (DNS_ENTRY, {_aQN: _PDEr, _sN: _pDEr}), - (STRING, {_aQN: _ARAs, _sN: _aRAs}), - (STRING, {_aQN: _RCGA, _sN: _rCGA}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -VPC_ENDPOINT_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _VEAS, - 0, - (_me,), - ((VPC_ENDPOINT_ASSOCIATION, {_sN: _i}),), -) - -DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVEAO, - {_sSI: _cDVEARo, _smit: None}, - (_VEApc, _NTex), - ( - (VPC_ENDPOINT_ASSOCIATION_SET, {_aQN: _VEAS, _sN: _vEAS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _DVEA, - 0, - DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_INPUT, - DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_OUTPUT, - (), -) - -DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVECNIe, - {_sSI: _cDVECNRom, _sm: None}, - (_DR, _CNIo, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (CONNECTION_NOTIFICATION_ID, 0), - (FILTER_LIST, {_sN: _Fi}), - (INTEGER, 0), - (STRING, 0), - ), -) - -CONNECTION_NOTIFICATION_SET: StaticSchema = ( - 16, - n0, - _CNSo, - 0, - (_me,), - ((CONNECTION_NOTIFICATION, {_sN: _i}),), -) - -DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVECNOe, - {_sSI: _cDVECNRoma, _smit: None}, - (_CNSo, _NTex), - ( - (CONNECTION_NOTIFICATION_SET, {_aQN: _CNSo, _sN: _cNSo}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS: StaticOperationSchema = ( - 23, - n0, - _DVECNe, - 0, - DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT, - DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT, - (), -) - -DESCRIBE_VPC_ENDPOINT_CONNECTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVECIes, - {_sSI: _cDVECRomam, _sm: None}, - (_DR, _Fil, _MR, _NTex), - ((BOOLEAN, 0), (FILTER_LIST, {_sN: _Fi}), (INTEGER, 0), (STRING, 0)), -) - -VPC_ENDPOINT_CONNECTION: StaticSchema = ( - 18, - n0, - _VECpcn, - 0, - ( - _SIe, - _VEI, - _VEO, - _VESpc, - _CTrea, - _DEn, - _NLBAe, - _GLBA, - _IAT, - _VECIpc, - _Tag, - _VER, - _PRa, - ), - ( - (STRING, {_aQN: _SIe, _sN: _sIe}), - (STRING, {_aQN: _VEI, _sN: _vEI}), - (STRING, {_aQN: _VEO, _sN: _vEO}), - (STATE, {_aQN: _VESpc, _sN: _vESpc}), - (MILLISECOND_DATE_TIME, {_aQN: _CTrea, _sN: _cTre}), - (DNS_ENTRY_SET, {_aQN: _DES, _sN: _dES}), - (VALUE_STRING_LIST, {_aQN: _NLBAS, _sN: _nLBAS}), - (VALUE_STRING_LIST, {_aQN: _GLBAS, _sN: _gLBAS}), - (IP_ADDRESS_TYPE, {_aQN: _IAT, _sN: _iAT}), - (STRING, {_aQN: _VECIpc, _sN: _vECIp}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _VER, _sN: _vER}), - (PAYER_RESPONSIBILITY_SET, {_aQN: _PRSay, _sN: _pRSa}), - ), -) - -VPC_ENDPOINT_CONNECTION_SET: StaticSchema = ( - 16, - n0, - _VECSpc, - 0, - (_me,), - ((VPC_ENDPOINT_CONNECTION, {_sN: _i}),), -) - -DESCRIBE_VPC_ENDPOINT_CONNECTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVECOes, - {_sSI: _cDVECRomama, _smit: None}, - (_VECpcnd, _NTex), - ( - (VPC_ENDPOINT_CONNECTION_SET, {_aQN: _VECSpc, _sN: _vECSp}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_ENDPOINT_CONNECTIONS: StaticOperationSchema = ( - 23, - n0, - _DVECes, - 0, - DESCRIBE_VPC_ENDPOINT_CONNECTIONS_INPUT, - DESCRIBE_VPC_ENDPOINT_CONNECTIONS_OUTPUT, - (), -) - -DESCRIBE_VPC_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _DVEIe, - {_sSI: _cDVERom, _sm: None}, - (_DR, _VEIp, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_ID_LIST, {_sN: _VEI}), - (FILTER_LIST, {_sN: _Fi}), - (INTEGER, 0), - (STRING, 0), - ), -) - -VPC_ENDPOINT_SET: StaticSchema = ( - 16, - n0, - _VESpcn, - 0, - (_me,), - ((VPC_ENDPOINT, {_sN: _i}),), -) - -DESCRIBE_VPC_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVEOe, - {_sSI: _cDVERoma, _smit: None}, - (_VEp, _NTex), - ( - (VPC_ENDPOINT_SET, {_aQN: _VESpcn, _sN: _vESpcn}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _DVEe, - 0, - DESCRIBE_VPC_ENDPOINTS_INPUT, - DESCRIBE_VPC_ENDPOINTS_OUTPUT, - (), -) - -DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVESCIe, - {_sSI: _cDVESCRom, _sm: None}, - (_DR, _SIer, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_SERVICE_ID_LIST, {_sN: _SIe}), - (FILTER_LIST, {_sN: _Fi}), - (INTEGER, 0), - (STRING, 0), - ), -) - -SERVICE_CONFIGURATION_SET: StaticSchema = ( - 16, - n0, - _SCS, - 0, - (_me,), - ((SERVICE_CONFIGURATION, {_sN: _i}),), -) - -DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVESCOe, - {_sSI: _cDVESCRoma, _smit: None}, - (_SCer, _NTex), - ( - (SERVICE_CONFIGURATION_SET, {_aQN: _SCS, _sN: _sCS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _DVESCe, - 0, - DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT, - DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT, - (), -) - -DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVESPI, - {_sSI: _cDVESPR, _sm: None}, - (_DR, _SIe, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_SERVICE_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (INTEGER, 0), - (STRING, 0), - ), -) - -DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVESPO, - {_sSI: _cDVESPRo, _smit: None}, - (_APll, _NTex), - ( - (ALLOWED_PRINCIPAL_SET, {_aQN: _APll, _sN: _aPl}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS: StaticOperationSchema = ( - 23, - n0, - _DVESP, - 0, - DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT, - DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT, - (), -) - -DESCRIBE_VPC_ENDPOINT_SERVICES_INPUT: StaticSchema = ( - 18, - n0, - _DVESI, - {_sSI: _cDVESR, _sm: None}, - (_DR, _SNerv, _Fil, _MR, _NTex, _SRer), - ( - (BOOLEAN, 0), - (VALUE_STRING_LIST, {_sN: _SN}), - (FILTER_LIST, {_sN: _Fi}), - (INTEGER, 0), - (STRING, 0), - (VALUE_STRING_LIST, {_sN: _SRe}), - ), -) - -PRIVATE_DNS_DETAILS: StaticSchema = ( - 18, - n0, - _PDD, - 0, - (_PDNr,), - ((STRING, {_aQN: _PDNr, _sN: _pDNr}),), -) - -PRIVATE_DNS_DETAILS_SET: StaticSchema = ( - 16, - n0, - _PDDS, - 0, - (_me,), - ((PRIVATE_DNS_DETAILS, {_sN: _i}),), -) - -SERVICE_DETAIL: StaticSchema = ( - 18, - n0, - _SDe, - 0, - ( - _SN, - _SIe, - _STe, - _SRe, - _AZIv, - _AZv, - _Ow, - _BEDN, - _PDNr, - _PDNri, - _VEPS, - _ARc, - _MVE, - _PRay, - _Tag, - _PDNVS, - _SIAT, - ), - ( - (STRING, {_aQN: _SN, _sN: _sNe}), - (STRING, {_aQN: _SIe, _sN: _sIe}), - (SERVICE_TYPE_DETAIL_SET, {_aQN: _STe, _sN: _sTe}), - (STRING, {_aQN: _SRe, _sN: _sRe}), - (VALUE_STRING_LIST, {_aQN: _AZIS, _sN: _aZIS}), - (VALUE_STRING_LIST, {_aQN: _AZS, _sN: _aZS}), - (STRING, {_aQN: _Ow, _sN: _ow}), - (VALUE_STRING_LIST, {_aQN: _BEDNS, _sN: _bEDNS}), - (STRING, {_aQN: _PDNr, _sN: _pDNr}), - (PRIVATE_DNS_DETAILS_SET, {_aQN: _PDNS, _sN: _pDNS}), - (BOOLEAN, {_aQN: _VEPS, _sN: _vEPS}), - (BOOLEAN, {_aQN: _ARc, _sN: _aRc}), - (BOOLEAN, {_aQN: _MVE, _sN: _mVE}), - (PAYER_RESPONSIBILITY, {_aQN: _PRay, _sN: _pRa}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (DNS_NAME_STATE, {_aQN: _PDNVS, _sN: _pDNVS}), - (SUPPORTED_IP_ADDRESS_TYPES, {_aQN: _SIATS, _sN: _sIATS}), - ), -) - -SERVICE_DETAIL_SET: StaticSchema = ( - 16, - n0, - _SDSe, - 0, - (_me,), - ((SERVICE_DETAIL, {_sN: _i}),), -) - -DESCRIBE_VPC_ENDPOINT_SERVICES_OUTPUT: StaticSchema = ( - 18, - n0, - _DVESO, - {_sSI: _cDVESRo, _smit: None}, - (_SNerv, _SDer, _NTex), - ( - (VALUE_STRING_LIST, {_aQN: _SNSer, _sN: _sNSer}), - (SERVICE_DETAIL_SET, {_aQN: _SDSe, _sN: _sDSe}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_ENDPOINT_SERVICES: StaticOperationSchema = ( - 23, - n0, - _DVES, - 0, - DESCRIBE_VPC_ENDPOINT_SERVICES_INPUT, - DESCRIBE_VPC_ENDPOINT_SERVICES_OUTPUT, - (), -) - -DESCRIBE_VPC_PEERING_CONNECTIONS_MAX_RESULTS: StaticSchema = (7, n0, _DVPCMR, 0) - -VPC_PEERING_CONNECTION_ID_LIST: StaticSchema = ( - 16, - n0, - _VPCIL, - 0, - (_me,), - ((VPC_PEERING_CONNECTION_ID, {_sN: _i}),), -) - -DESCRIBE_VPC_PEERING_CONNECTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVPCIe, - {_sSI: _cDVPCRom, _sm: None}, - (_NTex, _MR, _DR, _VPCIp, _Fil), - ( - (STRING, 0), - (DESCRIBE_VPC_PEERING_CONNECTIONS_MAX_RESULTS, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VPC_PEERING_CONNECTION_ID_LIST, {_sN: _VPCI}), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -VPC_PEERING_CONNECTION_LIST: StaticSchema = ( - 16, - n0, - _VPCL, - 0, - (_me,), - ((VPC_PEERING_CONNECTION, {_sN: _i}),), -) - -DESCRIBE_VPC_PEERING_CONNECTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVPCOe, - {_sSI: _cDVPCRoma, _smit: None}, - (_VPCp, _NTex), - ( - (VPC_PEERING_CONNECTION_LIST, {_aQN: _VPCS, _sN: _vPCS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPC_PEERING_CONNECTIONS: StaticOperationSchema = ( - 23, - n0, - _DVPCe, - 0, - DESCRIBE_VPC_PEERING_CONNECTIONS_INPUT, - DESCRIBE_VPC_PEERING_CONNECTIONS_OUTPUT, - (), -) - -DESCRIBE_VPCS_MAX_RESULTS: StaticSchema = (7, n0, _DVMR, 0) - -DESCRIBE_VPCS_INPUT: StaticSchema = ( - 18, - n0, - _DVIesc, - {_sSI: _cDVRomam, _sm: None}, - (_Fil, _VIp, _NTex, _MR, _DR), - ( - (FILTER_LIST, {_sN: _Fi}), - (VPC_ID_STRING_LIST, {_sN: _VI}), - (STRING, 0), - (DESCRIBE_VPCS_MAX_RESULTS, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -VPC_LIST: StaticSchema = (16, n0, _VLp, 0, (_me,), ((VPC, {_sN: _i}),)) - -DESCRIBE_VPCS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVOesc, - {_sSI: _cDVRomama, _smit: None}, - (_NTex, _Vpc), - ((STRING, {_aQN: _NTex, _sN: _nT}), (VPC_LIST, {_aQN: _VSpc, _sN: _vSp})), -) - -DESCRIBE_VPCS: StaticOperationSchema = ( - 23, - n0, - _DVesc, - 0, - DESCRIBE_VPCS_INPUT, - DESCRIBE_VPCS_OUTPUT, - (), -) - -GVCD_MAX_RESULTS: StaticSchema = (7, n0, _GVCDMR, 0) - -VPN_CONCENTRATOR_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _VCISL, - 0, - (_me,), - ((VPN_CONCENTRATOR_ID, {_sN: _VCI}),), -) - -DESCRIBE_VPN_CONCENTRATORS_INPUT: StaticSchema = ( - 18, - n0, - _DVCIes, - {_sSI: _cDVCRoma, _sm: None}, - (_VCIpn, _Fil, _MR, _NTex, _DR), - ( - (VPN_CONCENTRATOR_ID_STRING_LIST, {_sN: _VCI}), - (FILTER_LIST, {_sN: _Fi}), - (GVCD_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (BOOLEAN, 0), - ), -) - -VPN_CONCENTRATOR_LIST: StaticSchema = ( - 16, - n0, - _VCLp, - 0, - (_me,), - ((VPN_CONCENTRATOR, {_sN: _i}),), -) - -DESCRIBE_VPN_CONCENTRATORS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCOes, - {_sSI: _cDVCRomam, _smit: None}, - (_VCpn, _NTex), - ( - (VPN_CONCENTRATOR_LIST, {_aQN: _VCS, _sN: _vCS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -DESCRIBE_VPN_CONCENTRATORS: StaticOperationSchema = ( - 23, - n0, - _DVCes, - 0, - DESCRIBE_VPN_CONCENTRATORS_INPUT, - DESCRIBE_VPN_CONCENTRATORS_OUTPUT, - (), -) - -VPN_CONNECTION_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _VCISLp, - 0, - (_me,), - ((VPN_CONNECTION_ID, {_sN: _VCIp}),), -) - -DESCRIBE_VPN_CONNECTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVCIesc, - {_sSI: _cDVCRomama, _sm: None}, - (_Fil, _VCIpno, _DR), - ( - (FILTER_LIST, {_sN: _Fi}), - (VPN_CONNECTION_ID_STRING_LIST, {_sN: _VCIp}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -VPN_CONNECTION_LIST: StaticSchema = ( - 16, - n0, - _VCLpn, - 0, - (_me,), - ((VPN_CONNECTION, {_sN: _i}),), -) - -DESCRIBE_VPN_CONNECTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCOesc, - {_sSI: _cDVCRomamaz, _smit: None}, - (_VCpno,), - ((VPN_CONNECTION_LIST, {_aQN: _VCSp, _sN: _vCSp}),), -) - -DESCRIBE_VPN_CONNECTIONS: StaticOperationSchema = ( - 23, - n0, - _DVCesc, - 0, - DESCRIBE_VPN_CONNECTIONS_INPUT, - DESCRIBE_VPN_CONNECTIONS_OUTPUT, - (), -) - -VPN_GATEWAY_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _VGISL, - 0, - (_me,), - ((VPN_GATEWAY_ID, {_sN: _VGI}),), -) - -DESCRIBE_VPN_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _DVGIe, - {_sSI: _cDVGRo, _sm: None}, - (_Fil, _VGIp, _DR), - ( - (FILTER_LIST, {_sN: _Fi}), - (VPN_GATEWAY_ID_STRING_LIST, {_sN: _VGI}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -VPN_GATEWAY_LIST: StaticSchema = (16, n0, _VGL, 0, (_me,), ((VPN_GATEWAY, {_sN: _i}),)) - -DESCRIBE_VPN_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVGOe, - {_sSI: _cDVGRom, _smit: None}, - (_VGp,), - ((VPN_GATEWAY_LIST, {_aQN: _VGS, _sN: _vGS}),), -) - -DESCRIBE_VPN_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _DVGe, - 0, - DESCRIBE_VPN_GATEWAYS_INPUT, - DESCRIBE_VPN_GATEWAYS_OUTPUT, - (), -) - -DETACH_CLASSIC_LINK_VPC_INPUT: StaticSchema = ( - 18, - n0, - _DCLVI, - {_sSI: _cDCLVR, _sm: None}, - (_DR, _II, _VI), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), - (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), - ), -) - -DETACH_CLASSIC_LINK_VPC_OUTPUT: StaticSchema = ( - 18, - n0, - _DCLVO, - {_sSI: _cDCLVRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DETACH_CLASSIC_LINK_VPC: StaticOperationSchema = ( - 23, - n0, - _DCLV, - 0, - DETACH_CLASSIC_LINK_VPC_INPUT, - DETACH_CLASSIC_LINK_VPC_OUTPUT, - (), -) - -DETACH_IMAGE_WATERMARK_INPUT: StaticSchema = ( - 18, - n0, - _DIWI, - {_sSI: _cDIWR, _sm: None}, - (_IIm, _WK, _DR), - ((IMAGE_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -DETACH_IMAGE_WATERMARK_OUTPUT: StaticSchema = ( - 18, - n0, - _DIWO, - {_sSI: _cDIWRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DETACH_IMAGE_WATERMARK: StaticOperationSchema = ( - 23, - n0, - _DIW, - 0, - DETACH_IMAGE_WATERMARK_INPUT, - DETACH_IMAGE_WATERMARK_OUTPUT, - (), -) - -DETACH_INTERNET_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DIGIet, - {_sSI: _cDIGRoma, _sm: None}, - (_DR, _IGI, _VI), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INTERNET_GATEWAY_ID, {_aQN: _IGI, _sN: _iGI, _smi: None}), - (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), - ), -) - -DETACH_INTERNET_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _DIGOet, - {_sSI: _sU, _smit: None}, -) - -DETACH_INTERNET_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DIGet, - 0, - DETACH_INTERNET_GATEWAY_INPUT, - DETACH_INTERNET_GATEWAY_OUTPUT, - (), -) - -NETWORK_INTERFACE_ATTACHMENT_ID: StaticSchema = (3, n0, _NIAIet, 0) - -DETACH_NETWORK_INTERFACE_INPUT: StaticSchema = ( - 18, - n0, - _DNIIet, - {_sSI: _cDNIRoma, _sm: None}, - (_DR, _AIt, _Fo), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_INTERFACE_ATTACHMENT_ID, {_aQN: _AIt, _sN: _aIt, _smi: None}), - (BOOLEAN, {_aQN: _Fo, _sN: _for}), - ), -) - -DETACH_NETWORK_INTERFACE_OUTPUT: StaticSchema = ( - 18, - n0, - _DNIOet, - {_sSI: _sU, _smit: None}, -) - -DETACH_NETWORK_INTERFACE: StaticOperationSchema = ( - 23, - n0, - _DNIet, - 0, - DETACH_NETWORK_INTERFACE_INPUT, - DETACH_NETWORK_INTERFACE_OUTPUT, - (), -) - -DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DVATPIet, - {_sSI: _cDVATPRomam, _sm: None}, - (_VAII, _VATPI, _CTl, _DR), - ( - (VERIFIED_ACCESS_INSTANCE_ID, 1), - (VERIFIED_ACCESS_TRUST_PROVIDER_ID, 1), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _DVATPOet, - {_sSI: _cDVATPRomama, _smit: None}, - (_VATPe, _VAI), - ( - (VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}), - (VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}), - ), -) - -DETACH_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DVATPet, - 0, - DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, - DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, - (), -) - -INSTANCE_ID_FOR_RESOLVER: StaticSchema = (3, n0, _IIFR, 0) - -VOLUME_ID_WITH_RESOLVER: StaticSchema = (3, n0, _VIWR, 0) - -DETACH_VOLUME_INPUT: StaticSchema = ( - 18, - n0, - _DVIet, - {_sSI: _cDVRomamaz, _sm: None}, - (_Dev, _Fo, _II, _VIo, _DR), - ( - (STRING, 0), - (BOOLEAN, 0), - (INSTANCE_ID_FOR_RESOLVER, 0), - (VOLUME_ID_WITH_RESOLVER, 1), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -DETACH_VOLUME_OUTPUT: StaticSchema = ( - 18, - n0, - _DVOet, - {_sSI: _cVA, _smit: None}, - (_DOT, _ARs, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt), - ( - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - (STRING, {_aQN: _ARs, _sN: _aRs}), - (STRING, {_aQN: _IOS, _sN: _iOS}), - (INTEGER, {_aQN: _ECI, _sN: _eCI}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (STRING, {_aQN: _II, _sN: _iI}), - (STRING, {_aQN: _Dev, _sN: _dev}), - (VOLUME_ATTACHMENT_STATE, {_aQN: _Sta, _sN: _sta}), - (DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), - ), -) - -DETACH_VOLUME: StaticOperationSchema = ( - 23, - n0, - _DVet, - 0, - DETACH_VOLUME_INPUT, - DETACH_VOLUME_OUTPUT, - (), -) - -DETACH_VPN_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DVGIet, - {_sSI: _cDVGRoma, _sm: None}, - (_VI, _VGI, _DR), - ((VPC_ID, 1), (VPN_GATEWAY_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -DETACH_VPN_GATEWAY_OUTPUT: StaticSchema = (18, n0, _DVGOet, {_sSI: _sU, _smit: None}) - -DETACH_VPN_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DVGet, - 0, - DETACH_VPN_GATEWAY_INPUT, - DETACH_VPN_GATEWAY_OUTPUT, - (), -) - -DISABLE_ADDRESS_TRANSFER_INPUT: StaticSchema = ( - 18, - n0, - _DATIi, - {_sSI: _cDATRom, _sm: None}, - (_AI, _DR), - ((ALLOCATION_ID, 1), (BOOLEAN, 0)), -) - -DISABLE_ADDRESS_TRANSFER_OUTPUT: StaticSchema = ( - 18, - n0, - _DATOi, - {_sSI: _cDATRoma, _smit: None}, - (_ATd,), - ((ADDRESS_TRANSFER, {_aQN: _ATd, _sN: _aT}),), -) - -DISABLE_ADDRESS_TRANSFER: StaticOperationSchema = ( - 23, - n0, - _DATi, - 0, - DISABLE_ADDRESS_TRANSFER_INPUT, - DISABLE_ADDRESS_TRANSFER_OUTPUT, - (), -) - -DISABLE_ALLOWED_IMAGES_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _DAISI, - {_sSI: _cDAISR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -DISABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DAISO, - {_sSI: _cDAISRo, _smit: None}, - (_AISS,), - ((ALLOWED_IMAGES_SETTINGS_DISABLED_STATE, {_aQN: _AISS, _sN: _aISS}),), -) - -DISABLE_ALLOWED_IMAGES_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _DAIS, - 0, - DISABLE_ALLOWED_IMAGES_SETTINGS_INPUT, - DISABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT, - (), -) - -DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT: StaticSchema = ( - 18, - n0, - _DASCSI, - {_sSI: _cDASCSR, _sm: None}, - (_IIn, _CTl, _DR), - ((INSTANCE_ID_LIST, {_sN: _II}), (STRING, 2), (BOOLEAN, 0)), -) - -SUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT: StaticSchema = ( - 18, - n0, - _SSRO, - 0, - (_II, _SAupp, _RAesu), - ( - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (MILLISECOND_DATE_TIME, {_aQN: _SAupp, _sN: _sAup}), - (MILLISECOND_DATE_TIME, {_aQN: _RAesu, _sN: _rAes}), - ), -) - -SUCCESSFUL_SUPPRESSION_RESPONSE_SET: StaticSchema = ( - 16, - n0, - _SSRS, - 0, - (_me,), - ((SUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT, {_sN: _i}),), -) - -UNSUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT: StaticSchema = ( - 18, - n0, - _USRO, - 0, - (_II, _SAupp, _RAesu, _Rea), - ( - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (MILLISECOND_DATE_TIME, {_aQN: _SAupp, _sN: _sAup}), - (MILLISECOND_DATE_TIME, {_aQN: _RAesu, _sN: _rAes}), - (STRING, {_aQN: _Rea, _sN: _rea}), - ), -) - -UNSUCCESSFUL_SUPPRESSION_RESPONSE_SET: StaticSchema = ( - 16, - n0, - _USRS, - 0, - (_me,), - ((UNSUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT, {_sN: _i}),), -) - -DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DASCSO, - {_sSI: _cDASCSRo, _smit: None}, - (_SR, _UR), - ( - (SUCCESSFUL_SUPPRESSION_RESPONSE_SET, {_aQN: _SRS, _sN: _sRS}), - (UNSUCCESSFUL_SUPPRESSION_RESPONSE_SET, {_aQN: _URS, _sN: _uRS}), - ), -) - -DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION: StaticOperationSchema = ( - 23, - n0, - _DASCS, - 0, - DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT, - DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT, - (), -) - -DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _DANPMSIi, - {_sSI: _cDANPMSRom, _sm: None}, - (_Sou, _De, _Met, _Stati, _DR), - ((STRING, 0), (STRING, 0), (METRIC_TYPE, 0), (STATISTIC_TYPE, 0), (BOOLEAN, 0)), -) - -DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DANPMSOi, - {_sSI: _cDANPMSRoma, _smit: None}, - (_Ou,), - ((BOOLEAN, {_aQN: _Ou, _sN: _outp}),), -) - -DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _DANPMSi, - 0, - DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT, - DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT, - (), -) - -DISABLE_CAPACITY_MANAGER_INPUT: StaticSchema = ( - 18, - n0, - _DCMI, - {_sSI: _cDCMR, _sm: None}, - (_DR, _CTl), - ((BOOLEAN, 0), (STRING, 2)), -) - -CAPACITY_MANAGER_STATUS: StaticSchema = ( - 14, - n0, - _CMSa, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ena}), (-1, {_sV: _d})), -) - -DISABLE_CAPACITY_MANAGER_OUTPUT: StaticSchema = ( - 18, - n0, - _DCMO, - {_sSI: _cDCMRo, _smit: None}, - (_CMSa, _OArg), - ( - (CAPACITY_MANAGER_STATUS, {_aQN: _CMSa, _sN: _cMSa}), - (BOOLEAN, {_aQN: _OArg, _sN: _oArg}), - ), -) - -DISABLE_CAPACITY_MANAGER: StaticOperationSchema = ( - 23, - n0, - _DCM, - 0, - DISABLE_CAPACITY_MANAGER_INPUT, - DISABLE_CAPACITY_MANAGER_OUTPUT, - (), -) - -DISABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT: StaticSchema = ( - 18, - n0, - _DEEBDI, - {_sSI: _cDEEBDR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -DISABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT: StaticSchema = ( - 18, - n0, - _DEEBDO, - {_sSI: _cDEEBDRo, _smit: None}, - (_EEBD,), - ((BOOLEAN, {_aQN: _EEBD, _sN: _eEBD}),), -) - -DISABLE_EBS_ENCRYPTION_BY_DEFAULT: StaticOperationSchema = ( - 23, - n0, - _DEEBD, - 0, - DISABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT, - DISABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT, - (), -) - -DISABLE_FAST_LAUNCH_INPUT: StaticSchema = ( - 18, - n0, - _DFLIi, - {_sSI: _cDFLRomam, _sm: None}, - (_IIm, _Fo, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -DISABLE_FAST_LAUNCH_OUTPUT: StaticSchema = ( - 18, - n0, - _DFLOi, - {_sSI: _cDFLRomama, _smit: None}, - (_IIm, _RT, _SCn, _LT, _MPLa, _OIw, _St, _STR, _STT), - ( - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (FAST_LAUNCH_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (FAST_LAUNCH_SNAPSHOT_CONFIGURATION_RESPONSE, {_aQN: _SCn, _sN: _sCn}), - (FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_RESPONSE, {_aQN: _LT, _sN: _lT}), - (INTEGER, {_aQN: _MPLa, _sN: _mPL}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (FAST_LAUNCH_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _STR, _sN: _sTR}), - (MILLISECOND_DATE_TIME, {_aQN: _STT, _sN: _sTT}), - ), -) - -DISABLE_FAST_LAUNCH: StaticOperationSchema = ( - 23, - n0, - _DFLi, - 0, - DISABLE_FAST_LAUNCH_INPUT, - DISABLE_FAST_LAUNCH_OUTPUT, - (), -) - -AVAILABILITY_ZONE_ID_STRING_LIST: StaticSchema = ( - 16, - n0, - _AZISL, - 0, - (_me,), - ((STRING, {_sN: _AZI}),), -) - -AVAILABILITY_ZONE_STRING_LIST: StaticSchema = ( - 16, - n0, - _AZSL, - 0, - (_me,), - ((STRING, {_sN: _AZ}),), -) - -DISABLE_FAST_SNAPSHOT_RESTORES_INPUT: StaticSchema = ( - 18, - n0, - _DFSRIi, - {_sSI: _cDFSRRom, _sm: None}, - (_AZv, _AZIv, _SSIo, _DR), - ( - (AVAILABILITY_ZONE_STRING_LIST, {_sN: _AZ}), - (AVAILABILITY_ZONE_ID_STRING_LIST, {_sN: _AZI}), - (SNAPSHOT_ID_STRING_LIST, {_sN: _SSI, _smi: None}), - (BOOLEAN, 0), - ), -) - -DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM: StaticSchema = ( - 18, - n0, - _DFSRSIi, - 0, - (_SIn, _AZ, _AZI, _St, _STR, _OIw, _OAw, _ETna, _OT, _ETnab, _DTi, _DTis), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (FAST_SNAPSHOT_RESTORE_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _STR, _sN: _sTR}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _OAw, _sN: _oAw}), - (MILLISECOND_DATE_TIME, {_aQN: _ETna, _sN: _eTna}), - (MILLISECOND_DATE_TIME, {_aQN: _OT, _sN: _oT}), - (MILLISECOND_DATE_TIME, {_aQN: _ETnab, _sN: _eTnab}), - (MILLISECOND_DATE_TIME, {_aQN: _DTi, _sN: _dTi}), - (MILLISECOND_DATE_TIME, {_aQN: _DTis, _sN: _dTis}), - ), -) - -DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET: StaticSchema = ( - 16, - n0, - _DFSRSSi, - 0, - (_me,), - ((DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM, {_sN: _i}),), -) - -DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR: StaticSchema = ( - 18, - n0, - _DFSRSE, - 0, - (_C, _Me), - ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM: StaticSchema = ( - 18, - n0, - _DFSRSEI, - 0, - (_AZ, _AZI, _E), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR, {_aQN: _E, _sN: _er}), - ), -) - -DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET: StaticSchema = ( - 16, - n0, - _DFSRSES, - 0, - (_me,), - ((DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM, {_sN: _i}),), -) - -DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM: StaticSchema = ( - 18, - n0, - _DFSREI, - 0, - (_SIn, _FSRSE), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET, {_aQN: _FSRSES, _sN: _fSRSES}), - ), -) - -DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET: StaticSchema = ( - 16, - n0, - _DFSRES, - 0, - (_me,), - ((DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM, {_sN: _i}),), -) - -DISABLE_FAST_SNAPSHOT_RESTORES_OUTPUT: StaticSchema = ( - 18, - n0, - _DFSROi, - {_sSI: _cDFSRRoma, _smit: None}, - (_Suc, _Un), - ( - (DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET, {_aQN: _Suc, _sN: _succ}), - (DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET, {_aQN: _Un, _sN: _un}), - ), -) - -DISABLE_FAST_SNAPSHOT_RESTORES: StaticOperationSchema = ( - 23, - n0, - _DFSRi, - 0, - DISABLE_FAST_SNAPSHOT_RESTORES_INPUT, - DISABLE_FAST_SNAPSHOT_RESTORES_OUTPUT, - (), -) - -DISABLE_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _DIIi, - {_sSI: _cDIRomamazonaw, _sm: None}, - (_IIm, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0)), -) - -DISABLE_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOi, - {_sSI: _cDIRomamazonaws, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DISABLE_IMAGE: StaticOperationSchema = ( - 23, - n0, - _DIisa, - 0, - DISABLE_IMAGE_INPUT, - DISABLE_IMAGE_OUTPUT, - (), -) - -DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _DIBPAI, - {_sSI: _cDIBPAR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -IMAGE_BLOCK_PUBLIC_ACCESS_DISABLED_STATE: StaticSchema = ( - 14, - n0, - _IBPADS, - 0, - (_unb,), - ((-1, {_sV: _unb}),), -) - -DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIBPAO, - {_sSI: _cDIBPARo, _smit: None}, - (_IBPAS,), - ((IMAGE_BLOCK_PUBLIC_ACCESS_DISABLED_STATE, {_aQN: _IBPAS, _sN: _iBPAS}),), -) - -DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS: StaticOperationSchema = ( - 23, - n0, - _DIBPA, - 0, - DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT, - DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT, - (), -) - -DISABLE_IMAGE_DEPRECATION_INPUT: StaticSchema = ( - 18, - n0, - _DIDI, - {_sSI: _cDIDR, _sm: None}, - (_IIm, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0)), -) - -DISABLE_IMAGE_DEPRECATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DIDO, - {_sSI: _cDIDRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DISABLE_IMAGE_DEPRECATION: StaticOperationSchema = ( - 23, - n0, - _DIDi, - 0, - DISABLE_IMAGE_DEPRECATION_INPUT, - DISABLE_IMAGE_DEPRECATION_OUTPUT, - (), -) - -DISABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT: StaticSchema = ( - 18, - n0, - _DIDPI, - {_sSI: _cDIDPR, _sm: None}, - (_IIm, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0)), -) - -DISABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DIDPO, - {_sSI: _cDIDPRo, _smit: None}, - (_R,), - ((STRING, {_aQN: _R, _sN: _r}),), -) - -DISABLE_IMAGE_DEREGISTRATION_PROTECTION: StaticOperationSchema = ( - 23, - n0, - _DIDP, - 0, - DISABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT, - DISABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT, - (), -) - -INSTANCE_ID_UPDATE_STRING_LIST: StaticSchema = ( - 16, - n0, - _IIUSL, - 0, - (_me,), - ((INSTANCE_ID, {_sN: _i}),), -) - -DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DISHSDI, - {_sSI: _cDISHSDR, _sm: None}, - (_IIn, _DR), - ((INSTANCE_ID_UPDATE_STRING_LIST, {_sN: _II, _smi: None}), (BOOLEAN, 0)), -) - -DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DISHSDO, - {_sSI: _cDISHSDRo, _smit: None}, - (_Ins,), - ((REGISTERED_INSTANCE_LIST, {_aQN: _ISns, _sN: _iSn}),), -) - -DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS: StaticOperationSchema = ( - 23, - n0, - _DISHSD, - 0, - DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT, - DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT, - (), -) - -DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _DIOAAI, - {_sSI: _cDIOAAR, _sm: None}, - (_DR, _DAAIel), - ((BOOLEAN, 0), (STRING, 1)), -) - -DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOAAO, - {_sSI: _cDIOAARo, _smit: None}, - (_Succ,), - ((BOOLEAN, {_aQN: _Succ, _sN: _succe}),), -) - -DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _DIOAA, - 0, - DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT, - DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT, - (), -) - -DISABLE_IPAM_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DIPIi, - {_sSI: _cDIPRomamazonaw, _sm: None}, - (_DR, _IPIp, _OTI), - ((BOOLEAN, 0), (IPAM_POLICY_ID, 1), (STRING, 0)), -) - -DISABLE_IPAM_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DIPOi, - {_sSI: _cDIPRomamazonaws, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DISABLE_IPAM_POLICY: StaticOperationSchema = ( - 23, - n0, - _DIPi, - 0, - DISABLE_IPAM_POLICY_INPUT, - DISABLE_IPAM_POLICY_OUTPUT, - (), -) - -DISABLE_ROUTE_SERVER_PROPAGATION_INPUT: StaticSchema = ( - 18, - n0, - _DRSPIi, - {_sSI: _cDRSPRomam, _sm: None}, - (_RSI, _RTIo, _DR), - ((ROUTE_SERVER_ID, 1), (ROUTE_TABLE_ID, 1), (BOOLEAN, 0)), -) - -ROUTE_SERVER_PROPAGATION_STATE: StaticSchema = ( - 14, - n0, - _RSPSou, - 0, - (_PENDING, _AVAILABLE, _DELETING), - ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de})), -) - -ROUTE_SERVER_PROPAGATION: StaticSchema = ( - 18, - n0, - _RSPou, - 0, - (_RSI, _RTIo, _St), - ( - (ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), - (ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo}), - (ROUTE_SERVER_PROPAGATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -DISABLE_ROUTE_SERVER_PROPAGATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DRSPOi, - {_sSI: _cDRSPRomama, _smit: None}, - (_RSPou,), - ((ROUTE_SERVER_PROPAGATION, {_aQN: _RSPou, _sN: _rSPo}),), -) - -DISABLE_ROUTE_SERVER_PROPAGATION: StaticOperationSchema = ( - 23, - n0, - _DRSPi, - 0, - DISABLE_ROUTE_SERVER_PROPAGATION_INPUT, - DISABLE_ROUTE_SERVER_PROPAGATION_OUTPUT, - (), -) - -DISABLE_SERIAL_CONSOLE_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _DSCAI, - {_sSI: _cDSCAR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -DISABLE_SERIAL_CONSOLE_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSCAO, - {_sSI: _cDSCARo, _smit: None}, - (_SCAE,), - ((BOOLEAN, {_aQN: _SCAE, _sN: _sCAE}),), -) - -DISABLE_SERIAL_CONSOLE_ACCESS: StaticOperationSchema = ( - 23, - n0, - _DSCA, - 0, - DISABLE_SERIAL_CONSOLE_ACCESS_INPUT, - DISABLE_SERIAL_CONSOLE_ACCESS_OUTPUT, - (), -) - -DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _DSBPAI, - {_sSI: _cDSBPAR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE: StaticSchema = ( - 14, - n0, - _SBPAS, - 0, - (_bas, _bns, _unb), - ((-1, {_sV: _bas_}), (-1, {_sV: _bns_}), (-1, {_sV: _unb})), -) - -DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSBPAO, - {_sSI: _cDSBPARo, _smit: None}, - (_St,), - ((SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE, {_aQN: _St, _sN: _st}),), -) - -DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS: StaticOperationSchema = ( - 23, - n0, - _DSBPA, - 0, - DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT, - DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT, - (), -) - -DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT: StaticSchema = ( - 18, - n0, - _DTGRTPI, - {_sSI: _cDTGRTPR, _sm: None}, - (_TGRTI, _TGAI, _DR, _TGRTAI), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (BOOLEAN, 0), - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, 0), - ), -) - -TRANSIT_GATEWAY_PROPAGATION_STATE: StaticSchema = ( - 14, - n0, - _TGPS, - 0, - (_en, _ena, _disab, _d), - ((-1, {_sV: _en}), (-1, {_sV: _ena}), (-1, {_sV: _disab}), (-1, {_sV: _d})), -) - -TRANSIT_GATEWAY_PROPAGATION: StaticSchema = ( - 18, - n0, - _TGP, - 0, - (_TGAI, _RIe, _RT, _TGRTI, _St, _TGRTAI), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _TGRTI, _sN: _tGRTI}), - (TRANSIT_GATEWAY_PROPAGATION_STATE, {_aQN: _St, _sN: _st}), - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, {_aQN: _TGRTAI, _sN: _tGRTAI}), - ), -) - -DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGRTPO, - {_sSI: _cDTGRTPRo, _smit: None}, - (_Prop,), - ((TRANSIT_GATEWAY_PROPAGATION, {_aQN: _Prop, _sN: _propa}),), -) - -DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION: StaticOperationSchema = ( - 23, - n0, - _DTGRTP, - 0, - DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT, - DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT, - (), -) - -DISABLE_VGW_ROUTE_PROPAGATION_INPUT: StaticSchema = ( - 18, - n0, - _DVRPI, - {_sSI: _cDVRPR, _sm: None}, - (_GI, _RTIo, _DR), - ((VPN_GATEWAY_ID, 1), (ROUTE_TABLE_ID, 1), (BOOLEAN, 0)), -) - -DISABLE_VGW_ROUTE_PROPAGATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DVRPO, - {_sSI: _sU, _smit: None}, -) - -DISABLE_VGW_ROUTE_PROPAGATION: StaticOperationSchema = ( - 23, - n0, - _DVRP, - 0, - DISABLE_VGW_ROUTE_PROPAGATION_INPUT, - DISABLE_VGW_ROUTE_PROPAGATION_OUTPUT, - (), -) - -DISABLE_VPC_CLASSIC_LINK_INPUT: StaticSchema = ( - 18, - n0, - _DVCLIi, - {_sSI: _cDVCLRom, _sm: None}, - (_DR, _VI), - ((BOOLEAN, {_aQN: _DR, _sN: _dRr}), (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None})), -) - -DISABLE_VPC_CLASSIC_LINK_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCLOi, - {_sSI: _cDVCLRoma, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DISABLE_VPC_CLASSIC_LINK: StaticOperationSchema = ( - 23, - n0, - _DVCLi, - 0, - DISABLE_VPC_CLASSIC_LINK_INPUT, - DISABLE_VPC_CLASSIC_LINK_OUTPUT, - (), -) - -DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT: StaticSchema = ( - 18, - n0, - _DVCLDSIi, - {_sSI: _cDVCLDSRom, _sm: None}, - (_VI,), - ((VPC_ID, {_sN: _VI}),), -) - -DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCLDSOi, - {_sSI: _cDVCLDSRoma, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT: StaticOperationSchema = ( - 23, - n0, - _DVCLDSi, - 0, - DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT, - DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT, - (), -) - -ELASTIC_IP_ASSOCIATION_ID: StaticSchema = (3, n0, _EIAI, 0) - -DISASSOCIATE_ADDRESS_INPUT: StaticSchema = ( - 18, - n0, - _DAIi, - {_sSI: _cDARom, _sm: None}, - (_AIs, _PI, _DR), - ( - (ELASTIC_IP_ASSOCIATION_ID, 0), - (EIP_ALLOCATION_PUBLIC_IP, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -DISASSOCIATE_ADDRESS_OUTPUT: StaticSchema = (18, n0, _DAOi, {_sSI: _sU, _smit: None}) - -DISASSOCIATE_ADDRESS: StaticOperationSchema = ( - 23, - n0, - _DAi, - 0, - DISASSOCIATE_ADDRESS_INPUT, - DISASSOCIATE_ADDRESS_OUTPUT, - (), -) - -DISASSOCIATE_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( - 18, - n0, - _DASCIi, - {_sSI: _cDASCRomam, _sm: None}, - (_ASCI, _TTA, _IIn, _CTl, _DR), - ( - (APPLICATION_STATUS_CHECK_ID, 1), - (CUSTOM_KEY_VALUE_PAIR_REQUEST_SET, {_sN: _TTAa}), - (INSTANCE_ID_LIST, {_sN: _II}), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -DISASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( - 18, - n0, - _DASCOi, - {_sSI: _cDASCRomama, _smit: None}, - (_SR, _UR), - ( - (SUCCESSFUL_ASSOCIATION_RESPONSE_SET, {_aQN: _SRS, _sN: _sRS}), - (UNSUCCESSFUL_ASSOCIATION_RESPONSE_SET, {_aQN: _URS, _sN: _uRS}), - ), -) - -DISASSOCIATE_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( - 23, - n0, - _DASCi, - 0, - DISASSOCIATE_APPLICATION_STATUS_CHECK_INPUT, - DISASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT, - (), -) - -DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT: StaticSchema = ( - 18, - n0, - _DCRBOI, - {_sSI: _cDCRBOR, _sm: None}, - (_DR, _CRI, _URBOI), - ((BOOLEAN, 0), (CAPACITY_RESERVATION_ID, 1), (ACCOUNT_ID, 1)), -) - -DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT: StaticSchema = ( - 18, - n0, - _DCRBOO, - {_sSI: _cDCRBORo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER: StaticOperationSchema = ( - 23, - n0, - _DCRBO, - 0, - DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT, - DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT, - (), -) - -DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT: StaticSchema = ( - 18, - n0, - _DCVTNIi, - {_sSI: _cDCVTNRom, _sm: None}, - (_CVEI, _AIs, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT: StaticSchema = ( - 18, - n0, - _DCVTNOi, - {_sSI: _cDCVTNRoma, _smit: None}, - (_AIs, _Sta), - ((STRING, {_aQN: _AIs, _sN: _aIs}), (ASSOCIATION_STATUS, {_aQN: _Sta, _sN: _sta})), -) - -DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK: StaticOperationSchema = ( - 23, - n0, - _DCVTNi, - 0, - DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT, - DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT, - (), -) - -DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _DECIRI, - {_sSI: _cDECIRR, _sm: None}, - (_CAe, _RAo, _DR), - ((CERTIFICATE_ID, 1), (ROLE_ID, 1), (BOOLEAN, 0)), -) - -DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DECIRO, - {_sSI: _cDECIRRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE: StaticOperationSchema = ( - 23, - n0, - _DECIR, - 0, - DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT, - DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT, - (), -) - -DISASSOCIATE_IAM_INSTANCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _DIIPI, - {_sSI: _cDIIPR, _sm: None}, - (_AIs,), - ((IAM_INSTANCE_PROFILE_ASSOCIATION_ID, 1),), -) - -DISASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _DIIPO, - {_sSI: _cDIIPRo, _smit: None}, - (_IIPA,), - ((IAM_INSTANCE_PROFILE_ASSOCIATION, {_aQN: _IIPA, _sN: _iIPA}),), -) - -DISASSOCIATE_IAM_INSTANCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _DIIP, - 0, - DISASSOCIATE_IAM_INSTANCE_PROFILE_INPUT, - DISASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT, - (), -) - -INSTANCE_EVENT_WINDOW_DISASSOCIATION_REQUEST: StaticSchema = ( - 18, - n0, - _IEWDR, - 0, - (_IIn, _ITn, _DHIe), - ( - (INSTANCE_ID_LIST, {_sN: _II}), - (TAG_LIST, {_sN: _ITns}), - (DEDICATED_HOST_ID_LIST, {_sN: _DHI}), - ), -) - -DISASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( - 18, - n0, - _DIEWIi, - {_sSI: _cDIEWRomam, _sm: None}, - (_DR, _IEWI, _ATss), - ( - (BOOLEAN, 0), - (INSTANCE_EVENT_WINDOW_ID, 1), - (INSTANCE_EVENT_WINDOW_DISASSOCIATION_REQUEST, 1), - ), -) - -DISASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( - 18, - n0, - _DIEWOi, - {_sSI: _cDIEWRomama, _smit: None}, - (_IEW,), - ((INSTANCE_EVENT_WINDOW, {_aQN: _IEW, _sN: _iEW}),), -) - -DISASSOCIATE_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( - 23, - n0, - _DIEWi, - 0, - DISASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT, - DISASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT, - (), -) - -DISASSOCIATE_IPAM_BYOASN_INPUT: StaticSchema = ( - 18, - n0, - _DIBIi, - {_sSI: _cDIBRomam, _sm: None}, - (_DR, _Asn, _Ci), - ((BOOLEAN, 0), (STRING, 1), (STRING, 1)), -) - -DISASSOCIATE_IPAM_BYOASN_OUTPUT: StaticSchema = ( - 18, - n0, - _DIBOi, - {_sSI: _cDIBRomama, _smit: None}, - (_AAs,), - ((ASN_ASSOCIATION, {_aQN: _AAs, _sN: _aA}),), -) - -DISASSOCIATE_IPAM_BYOASN: StaticOperationSchema = ( - 23, - n0, - _DIBi, - 0, - DISASSOCIATE_IPAM_BYOASN_INPUT, - DISASSOCIATE_IPAM_BYOASN_OUTPUT, - (), -) - -DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( - 18, - n0, - _DIRDIi, - {_sSI: _cDIRDRomam, _sm: None}, - (_DR, _IRDAI), - ((BOOLEAN, 0), (IPAM_RESOURCE_DISCOVERY_ASSOCIATION_ID, 1)), -) - -DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( - 18, - n0, - _DIRDOi, - {_sSI: _cDIRDRomama, _smit: None}, - (_IRDA,), - ((IPAM_RESOURCE_DISCOVERY_ASSOCIATION, {_aQN: _IRDA, _sN: _iRDA}),), -) - -DISASSOCIATE_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( - 23, - n0, - _DIRDi, - 0, - DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT, - DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT, - (), -) - -EIP_ASSOCIATION_ID_LIST: StaticSchema = ( - 16, - n0, - _EAIL, - 0, - (_me,), - ((ELASTIC_IP_ASSOCIATION_ID, {_sN: _i}),), -) - -DRAIN_SECONDS: StaticSchema = (7, n0, _DSr, 0) - -DISASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT: StaticSchema = ( - 18, - n0, - _DNGAI, - {_sSI: _cDNGAR, _sm: None}, - (_NGI, _AIsso, _MDDS, _DR), - ( - (NAT_GATEWAY_ID, 1), - (EIP_ASSOCIATION_ID_LIST, {_sN: _AIs, _smi: None}), - (DRAIN_SECONDS, 0), - (BOOLEAN, 0), - ), -) - -DISASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _DNGAO, - {_sSI: _cDNGARo, _smit: None}, - (_NGI, _NGAa), - ( - (NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), - (NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), - ), -) - -DISASSOCIATE_NAT_GATEWAY_ADDRESS: StaticOperationSchema = ( - 23, - n0, - _DNGA, - 0, - DISASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT, - DISASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT, - (), -) - -DISASSOCIATE_ROUTE_SERVER_INPUT: StaticSchema = ( - 18, - n0, - _DRSIi, - {_sSI: _cDRSRomam, _sm: None}, - (_RSI, _VI, _DR), - ((ROUTE_SERVER_ID, 1), (VPC_ID, 1), (BOOLEAN, 0)), -) - -DISASSOCIATE_ROUTE_SERVER_OUTPUT: StaticSchema = ( - 18, - n0, - _DRSOi, - {_sSI: _cDRSRomama, _smit: None}, - (_RSA,), - ((ROUTE_SERVER_ASSOCIATION, {_aQN: _RSA, _sN: _rSA}),), -) - -DISASSOCIATE_ROUTE_SERVER: StaticOperationSchema = ( - 23, - n0, - _DRSi, - 0, - DISASSOCIATE_ROUTE_SERVER_INPUT, - DISASSOCIATE_ROUTE_SERVER_OUTPUT, - (), -) - -ROUTE_TABLE_ASSOCIATION_ID: StaticSchema = (3, n0, _RTAI, 0) - -DISASSOCIATE_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DRTIi, - {_sSI: _cDRTRoma, _sm: None}, - (_DR, _AIs), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (ROUTE_TABLE_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs, _smi: None}), - ), -) - -DISASSOCIATE_ROUTE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DRTOi, - {_sSI: _sU, _smit: None}, -) - -DISASSOCIATE_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _DRTi, - 0, - DISASSOCIATE_ROUTE_TABLE_INPUT, - DISASSOCIATE_ROUTE_TABLE_OUTPUT, - (), -) - -DISASSOCIATE_SECURITY_GROUP_VPC_SECURITY_GROUP_ID: StaticSchema = (3, n0, _DSGVSGI, 0) - -DISASSOCIATE_SECURITY_GROUP_VPC_INPUT: StaticSchema = ( - 18, - n0, - _DSGVI, - {_sSI: _cDSGVR, _sm: None}, - (_GIr, _VI, _DR), - ((DISASSOCIATE_SECURITY_GROUP_VPC_SECURITY_GROUP_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -DISASSOCIATE_SECURITY_GROUP_VPC_OUTPUT: StaticSchema = ( - 18, - n0, - _DSGVO, - {_sSI: _cDSGVRo, _smit: None}, - (_St,), - ((SECURITY_GROUP_VPC_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}),), -) - -DISASSOCIATE_SECURITY_GROUP_VPC: StaticOperationSchema = ( - 23, - n0, - _DSGV, - 0, - DISASSOCIATE_SECURITY_GROUP_VPC_INPUT, - DISASSOCIATE_SECURITY_GROUP_VPC_OUTPUT, - (), -) - -DISASSOCIATE_SUBNET_CIDR_BLOCK_INPUT: StaticSchema = ( - 18, - n0, - _DSCBI, - {_sSI: _cDSCBR, _sm: None}, - (_AIs,), - ((SUBNET_CIDR_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs, _smi: None}),), -) - -DISASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT: StaticSchema = ( - 18, - n0, - _DSCBO, - {_sSI: _cDSCBRo, _smit: None}, - (_ICBA, _SIu), - ( - (SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION, {_aQN: _ICBA, _sN: _iCBA}), - (STRING, {_aQN: _SIu, _sN: _sI}), - ), -) - -DISASSOCIATE_SUBNET_CIDR_BLOCK: StaticOperationSchema = ( - 23, - n0, - _DSCB, - 0, - DISASSOCIATE_SUBNET_CIDR_BLOCK_INPUT, - DISASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT, - (), -) - -DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT: StaticSchema = ( - 18, - n0, - _DTGMDIi, - {_sSI: _cDTGMDRomam, _sm: None}, - (_TGMDI, _TGAI, _SI, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (TRANSIT_GATEWAY_SUBNET_ID_LIST, 1), - (BOOLEAN, 0), - ), -) - -DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGMDOi, - {_sSI: _cDTGMDRomama, _smit: None}, - (_As,), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS, {_aQN: _As, _sN: _asso}),), -) - -DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticOperationSchema = ( - 23, - n0, - _DTGMDi, - 0, - DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT, - DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT, - (), -) - -DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DTGPTIi, - {_sSI: _cDTGPTRomam, _sm: None}, - (_TGPTI, _TGAI, _DR), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (BOOLEAN, 0), - ), -) - -DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGPTOi, - {_sSI: _cDTGPTRomama, _smit: None}, - (_Ass,), - ((TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}),), -) - -DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE: StaticOperationSchema = ( - 23, - n0, - _DTGPTi, - 0, - DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT, - DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT, - (), -) - -DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( - 18, - n0, - _DTGRTIi, - {_sSI: _cDTGRTRomam, _sm: None}, - (_TGRTI, _TGAI, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (BOOLEAN, 0), - ), -) - -DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTGRTOi, - {_sSI: _cDTGRTRomama, _smit: None}, - (_Ass,), - ((TRANSIT_GATEWAY_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}),), -) - -DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( - 23, - n0, - _DTGRTi, - 0, - DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT, - DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT, - (), -) - -DISASSOCIATE_TRUNK_INTERFACE_INPUT: StaticSchema = ( - 18, - n0, - _DTII, - {_sSI: _cDTIR, _sm: None}, - (_AIs, _CTl, _DR), - ((TRUNK_INTERFACE_ASSOCIATION_ID, 1), (STRING, 2), (BOOLEAN, 0)), -) - -DISASSOCIATE_TRUNK_INTERFACE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTIO, - {_sSI: _cDTIRo, _smit: None}, - (_R, _CTl), - ((BOOLEAN, {_aQN: _R, _sN: _r}), (STRING, {_aQN: _CTl, _sN: _cTl})), -) - -DISASSOCIATE_TRUNK_INTERFACE: StaticOperationSchema = ( - 23, - n0, - _DTIi, - 0, - DISASSOCIATE_TRUNK_INTERFACE_INPUT, - DISASSOCIATE_TRUNK_INTERFACE_OUTPUT, - (), -) - -VPC_CIDR_ASSOCIATION_ID: StaticSchema = (3, n0, _VCAI, 0) - -DISASSOCIATE_VPC_CIDR_BLOCK_INPUT: StaticSchema = ( - 18, - n0, - _DVCBI, - {_sSI: _cDVCBR, _sm: None}, - (_AIs,), - ((VPC_CIDR_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs, _smi: None}),), -) - -DISASSOCIATE_VPC_CIDR_BLOCK_OUTPUT: StaticSchema = ( - 18, - n0, - _DVCBO, - {_sSI: _cDVCBRo, _smit: None}, - (_ICBA, _CBA, _VI), - ( - (VPC_IPV6_CIDR_BLOCK_ASSOCIATION, {_aQN: _ICBA, _sN: _iCBA}), - (VPC_CIDR_BLOCK_ASSOCIATION, {_aQN: _CBA, _sN: _cBA}), - (STRING, {_aQN: _VI, _sN: _vI}), - ), -) - -DISASSOCIATE_VPC_CIDR_BLOCK: StaticOperationSchema = ( - 23, - n0, - _DVCB, - 0, - DISASSOCIATE_VPC_CIDR_BLOCK_INPUT, - DISASSOCIATE_VPC_CIDR_BLOCK_OUTPUT, - (), -) - -ENABLE_ADDRESS_TRANSFER_INPUT: StaticSchema = ( - 18, - n0, - _EATI, - {_sSI: _cEATR, _sm: None}, - (_AI, _TAI, _DR), - ((ALLOCATION_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -ENABLE_ADDRESS_TRANSFER_OUTPUT: StaticSchema = ( - 18, - n0, - _EATO, - {_sSI: _cEATRo, _smit: None}, - (_ATd,), - ((ADDRESS_TRANSFER, {_aQN: _ATd, _sN: _aT}),), -) - -ENABLE_ADDRESS_TRANSFER: StaticOperationSchema = ( - 23, - n0, - _EAT, - 0, - ENABLE_ADDRESS_TRANSFER_INPUT, - ENABLE_ADDRESS_TRANSFER_OUTPUT, - (), -) - -ENABLE_ALLOWED_IMAGES_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _EAISI, - {_sSI: _cEAISR, _sm: None}, - (_AISS, _DR), - ((ALLOWED_IMAGES_SETTINGS_ENABLED_STATE, 1), (BOOLEAN, 0)), -) - -ENABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _EAISO, - {_sSI: _cEAISRo, _smit: None}, - (_AISS,), - ((ALLOWED_IMAGES_SETTINGS_ENABLED_STATE, {_aQN: _AISS, _sN: _aISS}),), -) - -ENABLE_ALLOWED_IMAGES_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _EAIS, - 0, - ENABLE_ALLOWED_IMAGES_SETTINGS_INPUT, - ENABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT, - (), -) - -ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT: StaticSchema = ( - 18, - n0, - _EASCSI, - {_sSI: _cEASCSR, _sm: None}, - (_IIn, _DSu, _CTl, _DR), - ((INSTANCE_ID_LIST, {_sN: _II}), (BOXED_INTEGER, 0), (STRING, 2), (BOOLEAN, 0)), -) - -ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _EASCSO, - {_sSI: _cEASCSRo, _smit: None}, - (_SR, _UR), - ( - (SUCCESSFUL_SUPPRESSION_RESPONSE_SET, {_aQN: _SRS, _sN: _sRS}), - (UNSUCCESSFUL_SUPPRESSION_RESPONSE_SET, {_aQN: _URS, _sN: _uRS}), - ), -) - -ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION: StaticOperationSchema = ( - 23, - n0, - _EASCS, - 0, - ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT, - ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT, - (), -) - -ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _EANPMSI, - {_sSI: _cEANPMSR, _sm: None}, - (_Sou, _De, _Met, _Stati, _DR), - ((STRING, 0), (STRING, 0), (METRIC_TYPE, 0), (STATISTIC_TYPE, 0), (BOOLEAN, 0)), -) - -ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _EANPMSO, - {_sSI: _cEANPMSRo, _smit: None}, - (_Ou,), - ((BOOLEAN, {_aQN: _Ou, _sN: _outp}),), -) - -ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _EANPMS, - 0, - ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT, - ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT, - (), -) - -ENABLE_CAPACITY_MANAGER_INPUT: StaticSchema = ( - 18, - n0, - _ECMI, - {_sSI: _cECMR, _sm: None}, - (_OArg, _DR, _CTl), - ((BOOLEAN, 0), (BOOLEAN, 0), (STRING, 2)), -) - -ENABLE_CAPACITY_MANAGER_OUTPUT: StaticSchema = ( - 18, - n0, - _ECMO, - {_sSI: _cECMRo, _smit: None}, - (_CMSa, _OArg), - ( - (CAPACITY_MANAGER_STATUS, {_aQN: _CMSa, _sN: _cMSa}), - (BOOLEAN, {_aQN: _OArg, _sN: _oArg}), - ), -) - -ENABLE_CAPACITY_MANAGER: StaticOperationSchema = ( - 23, - n0, - _ECM, - 0, - ENABLE_CAPACITY_MANAGER_INPUT, - ENABLE_CAPACITY_MANAGER_OUTPUT, - (), -) - -ENABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT: StaticSchema = ( - 18, - n0, - _EEEBDI, - {_sSI: _cEEEBDR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -ENABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT: StaticSchema = ( - 18, - n0, - _EEEBDO, - {_sSI: _cEEEBDRo, _smit: None}, - (_EEBD,), - ((BOOLEAN, {_aQN: _EEBD, _sN: _eEBD}),), -) - -ENABLE_EBS_ENCRYPTION_BY_DEFAULT: StaticOperationSchema = ( - 23, - n0, - _EEEBD, - 0, - ENABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT, - ENABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT, - (), -) - -FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _FLLTSRa, - 0, - (_LTI, _LTN, _Ve), - ((LAUNCH_TEMPLATE_ID, 0), (STRING, 0), (STRING, 1)), -) - -FAST_LAUNCH_SNAPSHOT_CONFIGURATION_REQUEST: StaticSchema = ( - 18, - n0, - _FLSCRa, - 0, - (_TRC,), - ((INTEGER, 0),), -) - -ENABLE_FAST_LAUNCH_INPUT: StaticSchema = ( - 18, - n0, - _EFLI, - {_sSI: _cEFLR, _sm: None}, - (_IIm, _RT, _SCn, _LT, _MPLa, _DR), - ( - (IMAGE_ID, 1), - (STRING, 0), - (FAST_LAUNCH_SNAPSHOT_CONFIGURATION_REQUEST, 0), - (FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST, 0), - (INTEGER, 0), - (BOOLEAN, 0), - ), -) - -ENABLE_FAST_LAUNCH_OUTPUT: StaticSchema = ( - 18, - n0, - _EFLO, - {_sSI: _cEFLRo, _smit: None}, - (_IIm, _RT, _SCn, _LT, _MPLa, _OIw, _St, _STR, _STT), - ( - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (FAST_LAUNCH_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (FAST_LAUNCH_SNAPSHOT_CONFIGURATION_RESPONSE, {_aQN: _SCn, _sN: _sCn}), - (FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_RESPONSE, {_aQN: _LT, _sN: _lT}), - (INTEGER, {_aQN: _MPLa, _sN: _mPL}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (FAST_LAUNCH_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _STR, _sN: _sTR}), - (MILLISECOND_DATE_TIME, {_aQN: _STT, _sN: _sTT}), - ), -) - -ENABLE_FAST_LAUNCH: StaticOperationSchema = ( - 23, - n0, - _EFL, - 0, - ENABLE_FAST_LAUNCH_INPUT, - ENABLE_FAST_LAUNCH_OUTPUT, - (), -) - -ENABLE_FAST_SNAPSHOT_RESTORES_INPUT: StaticSchema = ( - 18, - n0, - _EFSRI, - {_sSI: _cEFSRR, _sm: None}, - (_AZv, _AZIv, _SSIo, _DR), - ( - (AVAILABILITY_ZONE_STRING_LIST, {_sN: _AZ}), - (AVAILABILITY_ZONE_ID_STRING_LIST, {_sN: _AZI}), - (SNAPSHOT_ID_STRING_LIST, {_sN: _SSI, _smi: None}), - (BOOLEAN, 0), - ), -) - -ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM: StaticSchema = ( - 18, - n0, - _EFSRSI, - 0, - (_SIn, _AZ, _AZI, _St, _STR, _OIw, _OAw, _ETna, _OT, _ETnab, _DTi, _DTis), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (FAST_SNAPSHOT_RESTORE_STATE_CODE, {_aQN: _St, _sN: _st}), - (STRING, {_aQN: _STR, _sN: _sTR}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _OAw, _sN: _oAw}), - (MILLISECOND_DATE_TIME, {_aQN: _ETna, _sN: _eTna}), - (MILLISECOND_DATE_TIME, {_aQN: _OT, _sN: _oT}), - (MILLISECOND_DATE_TIME, {_aQN: _ETnab, _sN: _eTnab}), - (MILLISECOND_DATE_TIME, {_aQN: _DTi, _sN: _dTi}), - (MILLISECOND_DATE_TIME, {_aQN: _DTis, _sN: _dTis}), - ), -) - -ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET: StaticSchema = ( - 16, - n0, - _EFSRSS, - 0, - (_me,), - ((ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM, {_sN: _i}),), -) - -ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR: StaticSchema = ( - 18, - n0, - _EFSRSE, - 0, - (_C, _Me), - ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), -) - -ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM: StaticSchema = ( - 18, - n0, - _EFSRSEI, - 0, - (_AZ, _AZI, _E), - ( - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR, {_aQN: _E, _sN: _er}), - ), -) - -ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET: StaticSchema = ( - 16, - n0, - _EFSRSES, - 0, - (_me,), - ((ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM, {_sN: _i}),), -) - -ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM: StaticSchema = ( - 18, - n0, - _EFSREI, - 0, - (_SIn, _FSRSE), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET, {_aQN: _FSRSES, _sN: _fSRSES}), - ), -) - -ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET: StaticSchema = ( - 16, - n0, - _EFSRES, - 0, - (_me,), - ((ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM, {_sN: _i}),), -) - -ENABLE_FAST_SNAPSHOT_RESTORES_OUTPUT: StaticSchema = ( - 18, - n0, - _EFSRO, - {_sSI: _cEFSRRo, _smit: None}, - (_Suc, _Un), - ( - (ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET, {_aQN: _Suc, _sN: _succ}), - (ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET, {_aQN: _Un, _sN: _un}), - ), -) - -ENABLE_FAST_SNAPSHOT_RESTORES: StaticOperationSchema = ( - 23, - n0, - _EFSR, - 0, - ENABLE_FAST_SNAPSHOT_RESTORES_INPUT, - ENABLE_FAST_SNAPSHOT_RESTORES_OUTPUT, - (), -) - -ENABLE_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _EII, - {_sSI: _cEIR, _sm: None}, - (_IIm, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0)), -) - -ENABLE_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _EIO, - {_sSI: _cEIRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -ENABLE_IMAGE: StaticOperationSchema = ( - 23, - n0, - _EIna, - 0, - ENABLE_IMAGE_INPUT, - ENABLE_IMAGE_OUTPUT, - (), -) - -IMAGE_BLOCK_PUBLIC_ACCESS_ENABLED_STATE: StaticSchema = ( - 14, - n0, - _IBPAES, - 0, - (_bns,), - ((-1, {_sV: _bns_}),), -) - -ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _EIBPAI, - {_sSI: _cEIBPAR, _sm: None}, - (_IBPAS, _DR), - ((IMAGE_BLOCK_PUBLIC_ACCESS_ENABLED_STATE, 1), (BOOLEAN, 0)), -) - -ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _EIBPAO, - {_sSI: _cEIBPARo, _smit: None}, - (_IBPAS,), - ((IMAGE_BLOCK_PUBLIC_ACCESS_ENABLED_STATE, {_aQN: _IBPAS, _sN: _iBPAS}),), -) - -ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS: StaticOperationSchema = ( - 23, - n0, - _EIBPA, - 0, - ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT, - ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT, - (), -) - -ENABLE_IMAGE_DEPRECATION_INPUT: StaticSchema = ( - 18, - n0, - _EIDI, - {_sSI: _cEIDR, _sm: None}, - (_IIm, _DAepr, _DR), - ((IMAGE_ID, 1), (MILLISECOND_DATE_TIME, 1), (BOOLEAN, 0)), -) - -ENABLE_IMAGE_DEPRECATION_OUTPUT: StaticSchema = ( - 18, - n0, - _EIDO, - {_sSI: _cEIDRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -ENABLE_IMAGE_DEPRECATION: StaticOperationSchema = ( - 23, - n0, - _EID, - 0, - ENABLE_IMAGE_DEPRECATION_INPUT, - ENABLE_IMAGE_DEPRECATION_OUTPUT, - (), -) - -ENABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT: StaticSchema = ( - 18, - n0, - _EIDPI, - {_sSI: _cEIDPR, _sm: None}, - (_IIm, _WCi, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -ENABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _EIDPO, - {_sSI: _cEIDPRo, _smit: None}, - (_R,), - ((STRING, {_aQN: _R, _sN: _r}),), -) - -ENABLE_IMAGE_DEREGISTRATION_PROTECTION: StaticOperationSchema = ( - 23, - n0, - _EIDP, - 0, - ENABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT, - ENABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT, - (), -) - -SECRET_ARN: StaticSchema = (3, n0, _SAe, 0) - -ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT: StaticSchema = ( - 18, - n0, - _EISHSDI, - {_sSI: _cEISHSDR, _sm: None}, - (_IIn, _SSC, _DR), - ( - (INSTANCE_ID_UPDATE_STRING_LIST, {_sN: _II, _smi: None}), - (SECRET_ARN, 0), - (BOOLEAN, 0), - ), -) - -ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _EISHSDO, - {_sSI: _cEISHSDRo, _smit: None}, - (_Ins,), - ((REGISTERED_INSTANCE_LIST, {_aQN: _ISns, _sN: _iSn}),), -) - -ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS: StaticOperationSchema = ( - 23, - n0, - _EISHSD, - 0, - ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT, - ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT, - (), -) - -ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _EIIRAI, - {_sSI: _cEIIRAR, _sm: None}, - (_DR, _IIRAI, _RVp, _SUe, _CH, _PH, _PBT, _CTl), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 2), - ), -) - -ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _EIIRAO, - {_sSI: _cEIIRARo, _smit: None}, - (_IIRA,), - ((IPAM_INTERNET_REGISTRY_ASSOCIATION, {_aQN: _IIRA, _sN: _iIRA}),), -) - -ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _EIIRA, - 0, - ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT, - ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT, - (), -) - -ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _EIOAAI, - {_sSI: _cEIOAAR, _sm: None}, - (_DR, _DAAIel), - ((BOOLEAN, 0), (STRING, 1)), -) - -ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _EIOAAO, - {_sSI: _cEIOAARo, _smit: None}, - (_Succ,), - ((BOOLEAN, {_aQN: _Succ, _sN: _succe}),), -) - -ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _EIOAA, - 0, - ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT, - ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT, - (), -) - -ENABLE_IPAM_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _EIPI, - {_sSI: _cEIPR, _sm: None}, - (_DR, _IPIp, _OTI), - ((BOOLEAN, 0), (IPAM_POLICY_ID, 1), (STRING, 0)), -) - -ENABLE_IPAM_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _EIPO, - {_sSI: _cEIPRo, _smit: None}, - (_IPIp,), - ((IPAM_POLICY_ID, {_aQN: _IPIp, _sN: _iPIp}),), -) - -ENABLE_IPAM_POLICY: StaticOperationSchema = ( - 23, - n0, - _EIP, - 0, - ENABLE_IPAM_POLICY_INPUT, - ENABLE_IPAM_POLICY_OUTPUT, - (), -) - -ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_INPUT: StaticSchema = ( - 18, - n0, - _ERAOSI, - {_sSI: _cERAOSR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_OUTPUT: StaticSchema = ( - 18, - n0, - _ERAOSO, - {_sSI: _cERAOSRo, _smit: None}, - (_RV,), - ((BOOLEAN, {_aQN: _RV, _sN: _rV}),), -) - -ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING: StaticOperationSchema = ( - 23, - n0, - _ERAOS, - 0, - ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_INPUT, - ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_OUTPUT, - (), -) - -ENABLE_ROUTE_SERVER_PROPAGATION_INPUT: StaticSchema = ( - 18, - n0, - _ERSPI, - {_sSI: _cERSPR, _sm: None}, - (_RSI, _RTIo, _DR), - ((ROUTE_SERVER_ID, 1), (ROUTE_TABLE_ID, 1), (BOOLEAN, 0)), -) - -ENABLE_ROUTE_SERVER_PROPAGATION_OUTPUT: StaticSchema = ( - 18, - n0, - _ERSPO, - {_sSI: _cERSPRo, _smit: None}, - (_RSPou,), - ((ROUTE_SERVER_PROPAGATION, {_aQN: _RSPou, _sN: _rSPo}),), -) - -ENABLE_ROUTE_SERVER_PROPAGATION: StaticOperationSchema = ( - 23, - n0, - _ERSP, - 0, - ENABLE_ROUTE_SERVER_PROPAGATION_INPUT, - ENABLE_ROUTE_SERVER_PROPAGATION_OUTPUT, - (), -) - -ENABLE_SERIAL_CONSOLE_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _ESCAI, - {_sSI: _cESCAR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -ENABLE_SERIAL_CONSOLE_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _ESCAO, - {_sSI: _cESCARo, _smit: None}, - (_SCAE,), - ((BOOLEAN, {_aQN: _SCAE, _sN: _sCAE}),), -) - -ENABLE_SERIAL_CONSOLE_ACCESS: StaticOperationSchema = ( - 23, - n0, - _ESCA, - 0, - ENABLE_SERIAL_CONSOLE_ACCESS_INPUT, - ENABLE_SERIAL_CONSOLE_ACCESS_OUTPUT, - (), -) - -ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _ESBPAI, - {_sSI: _cESBPAR, _sm: None}, - (_St, _DR), - ((SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE, 1), (BOOLEAN, 0)), -) - -ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _ESBPAO, - {_sSI: _cESBPARo, _smit: None}, - (_St,), - ((SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE, {_aQN: _St, _sN: _st}),), -) - -ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS: StaticOperationSchema = ( - 23, - n0, - _ESBPA, - 0, - ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT, - ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT, - (), -) - -ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT: StaticSchema = ( - 18, - n0, - _ETGRTPI, - {_sSI: _cETGRTPR, _sm: None}, - (_TGRTI, _TGAI, _DR, _TGRTAI), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (BOOLEAN, 0), - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, 0), - ), -) - -ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT: StaticSchema = ( - 18, - n0, - _ETGRTPO, - {_sSI: _cETGRTPRo, _smit: None}, - (_Prop,), - ((TRANSIT_GATEWAY_PROPAGATION, {_aQN: _Prop, _sN: _propa}),), -) - -ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION: StaticOperationSchema = ( - 23, - n0, - _ETGRTP, - 0, - ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT, - ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT, - (), -) - -ENABLE_VGW_ROUTE_PROPAGATION_INPUT: StaticSchema = ( - 18, - n0, - _EVRPI, - {_sSI: _cEVRPR, _sm: None}, - (_GI, _RTIo, _DR), - ((VPN_GATEWAY_ID, 1), (ROUTE_TABLE_ID, 1), (BOOLEAN, 0)), -) - -ENABLE_VGW_ROUTE_PROPAGATION_OUTPUT: StaticSchema = ( - 18, - n0, - _EVRPO, - {_sSI: _sU, _smit: None}, -) - -ENABLE_VGW_ROUTE_PROPAGATION: StaticOperationSchema = ( - 23, - n0, - _EVRP, - 0, - ENABLE_VGW_ROUTE_PROPAGATION_INPUT, - ENABLE_VGW_ROUTE_PROPAGATION_OUTPUT, - (), -) - -ENABLE_VOLUME_IO_INPUT: StaticSchema = ( - 18, - n0, - _EVIOI, - {_sSI: _cEVIOR, _sm: None}, - (_DR, _VIo), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VOLUME_ID, {_aQN: _VIo, _sN: _vIo, _smi: None}), - ), -) - -ENABLE_VOLUME_IO_OUTPUT: StaticSchema = (18, n0, _EVIOO, {_sSI: _sU, _smit: None}) - -ENABLE_VOLUME_IO: StaticOperationSchema = ( - 23, - n0, - _EVIO, - 0, - ENABLE_VOLUME_IO_INPUT, - ENABLE_VOLUME_IO_OUTPUT, - (), -) - -ENABLE_VPC_CLASSIC_LINK_INPUT: StaticSchema = ( - 18, - n0, - _EVCLI, - {_sSI: _cEVCLR, _sm: None}, - (_DR, _VI), - ((BOOLEAN, {_aQN: _DR, _sN: _dRr}), (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None})), -) - -ENABLE_VPC_CLASSIC_LINK_OUTPUT: StaticSchema = ( - 18, - n0, - _EVCLO, - {_sSI: _cEVCLRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -ENABLE_VPC_CLASSIC_LINK: StaticOperationSchema = ( - 23, - n0, - _EVCL, - 0, - ENABLE_VPC_CLASSIC_LINK_INPUT, - ENABLE_VPC_CLASSIC_LINK_OUTPUT, - (), -) - -ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT: StaticSchema = ( - 18, - n0, - _EVCLDSI, - {_sSI: _cEVCLDSR, _sm: None}, - (_VI,), - ((VPC_ID, {_sN: _VI}),), -) - -ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _EVCLDSO, - {_sSI: _cEVCLDSRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT: StaticOperationSchema = ( - 23, - n0, - _EVCLDS, - 0, - ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT, - ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT, - (), -) - -EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT: StaticSchema = ( - 18, - n0, - _ECVCCRLI, - {_sSI: _cECVCCRLR, _sm: None}, - (_CVEI, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (BOOLEAN, 0)), -) - -CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS_CODE: StaticSchema = ( - 14, - n0, - _CCRLSC, - 0, - (_p, _act), - ((-1, {_sV: _p}), (-1, {_sV: _act})), -) - -CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS: StaticSchema = ( - 18, - n0, - _CCRLS, - 0, - (_C, _Me), - ( - (CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT: StaticSchema = ( - 18, - n0, - _ECVCCRLO, - {_sSI: _cECVCCRLRo, _smit: None}, - (_CRL, _Sta), - ( - (STRING, {_aQN: _CRL, _sN: _cRL}), - (CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS, {_aQN: _Sta, _sN: _sta}), - ), -) - -EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST: StaticOperationSchema = ( - 23, - n0, - _ECVCCRL, - 0, - EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT, - EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT, - (), -) - -EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _ECVCCI, - {_sSI: _cECVCCR, _sm: None}, - (_CVEI, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (BOOLEAN, 0)), -) - -EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _ECVCCO, - {_sSI: _cECVCCRo, _smit: None}, - (_CCl,), - ((STRING, {_aQN: _CCl, _sN: _cCl}),), -) - -EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _ECVCC, - 0, - EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_INPUT, - EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_OUTPUT, - (), -) - -EXPORT_TASK_S3_LOCATION_REQUEST: StaticSchema = ( - 18, - n0, - _ETSLR, - 0, - (_SBu, _SPr), - ((STRING, 1), (STRING, 0)), -) - -EXPORT_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _EIIx, - {_sSI: _cEIRom, _sm: None}, - (_CTl, _Des, _DIF, _DR, _IIm, _SEL, _RNo, _TSa), - ( - (STRING, 2), - (STRING, 0), - (DISK_IMAGE_FORMAT, 1), - (BOOLEAN, 0), - (IMAGE_ID, 1), - (EXPORT_TASK_S3_LOCATION_REQUEST, 1), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -EXPORT_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _EIOx, - {_sSI: _cEIRoma, _smit: None}, - (_Des, _DIF, _EITI, _IIm, _RNo, _Prog, _SEL, _Sta, _SMt, _Tag), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (DISK_IMAGE_FORMAT, {_aQN: _DIF, _sN: _dIF}), - (STRING, {_aQN: _EITI, _sN: _eITI}), - (STRING, {_aQN: _IIm, _sN: _iIm}), - (STRING, {_aQN: _RNo, _sN: _rNo}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (EXPORT_TASK_S3_LOCATION, {_aQN: _SEL, _sN: _sEL}), - (STRING, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -EXPORT_IMAGE: StaticOperationSchema = ( - 23, - n0, - _EIxp, - 0, - EXPORT_IMAGE_INPUT, - EXPORT_IMAGE_OUTPUT, - (), -) - -EXPORT_TRANSIT_GATEWAY_ROUTES_INPUT: StaticSchema = ( - 18, - n0, - _ETGRI, - {_sSI: _cETGRR, _sm: None}, - (_TGRTI, _Fil, _SBu, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (STRING, 1), - (BOOLEAN, 0), - ), -) - -EXPORT_TRANSIT_GATEWAY_ROUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _ETGRO, - {_sSI: _cETGRRo, _smit: None}, - (_SLo,), - ((STRING, {_aQN: _SLo, _sN: _sLo}),), -) - -EXPORT_TRANSIT_GATEWAY_ROUTES: StaticOperationSchema = ( - 23, - n0, - _ETGR, - 0, - EXPORT_TRANSIT_GATEWAY_ROUTES_INPUT, - EXPORT_TRANSIT_GATEWAY_ROUTES_OUTPUT, - (), -) - -EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _EVAICCI, - {_sSI: _cEVAICCR, _sm: None}, - (_VAII, _DR), - ((VERIFIED_ACCESS_INSTANCE_ID, 1), (BOOLEAN, 0)), -) - -DEVICE_TRUST_PROVIDER_TYPE_LIST: StaticSchema = ( - 16, - n0, - _DTPTL, - 0, - (_me,), - ((DEVICE_TRUST_PROVIDER_TYPE, {_sN: _i}),), -) - -VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE: StaticSchema = ( - 18, - n0, - _VAIOVCCR, - 0, - (_Ci,), - ((STRING, {_aQN: _Ci, _sN: _ci}),), -) - -VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE_LIST: StaticSchema = ( - 16, - n0, - _VAIOVCCRL, - 0, - (_me,), - ((VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE, {_sN: _i}),), -) - -VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VAIOVCC, - 0, - (_Confi, _Rout), - ( - (STRING, {_aQN: _Confi, _sN: _confi}), - ( - VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE_LIST, - {_aQN: _RSout, _sN: _rSou}, - ), - ), -) - -VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _VAIOVCCL, - 0, - (_me,), - ((VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION, {_sN: _i}),), -) - -VERIFIED_ACCESS_INSTANCE_USER_TRUST_PROVIDER_CLIENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VAIUTPCC, - 0, - (_Ty, _Sco, _Is, _AE, _PSKE, _TE, _UIEs, _CIl, _CSl, _PE), - ( - (USER_TRUST_PROVIDER_TYPE, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _Sco, _sN: _sco}), - (STRING, {_aQN: _Is, _sN: _iss}), - (STRING, {_aQN: _AE, _sN: _aE}), - (STRING, {_aQN: _PSKE, _sN: _pSKE}), - (STRING, {_aQN: _TE, _sN: _tE}), - (STRING, {_aQN: _UIEs, _sN: _uIE}), - (STRING, {_aQN: _CIl, _sN: _cIl}), - (CLIENT_SECRET_TYPE, {_aQN: _CSl, _sN: _cSl}), - (BOOLEAN, {_aQN: _PE, _sN: _pE}), - ), -) - -EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _EVAICCO, - {_sSI: _cEVAICCRo, _smit: None}, - (_Ve, _VAII, _Re, _DTP, _UTP, _OVC), - ( - (STRING, {_aQN: _Ve, _sN: _ver}), - (STRING, {_aQN: _VAII, _sN: _vAII}), - (STRING, {_aQN: _Re, _sN: _reg}), - (DEVICE_TRUST_PROVIDER_TYPE_LIST, {_aQN: _DTPS, _sN: _dTPS}), - ( - VERIFIED_ACCESS_INSTANCE_USER_TRUST_PROVIDER_CLIENT_CONFIGURATION, - {_aQN: _UTP, _sN: _uTP}, - ), - ( - VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_LIST, - {_aQN: _OVCS, _sN: _oVCS}, - ), - ), -) - -EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _EVAICC, - 0, - EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_INPUT, - EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_OUTPUT, - (), -) - -GET_ACTIVE_VPN_TUNNEL_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _GAVTSI, - {_sSI: _cGAVTSR, _sm: None}, - (_VCIp, _VTOIA, _DR), - ((VPN_CONNECTION_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -GET_ACTIVE_VPN_TUNNEL_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _GAVTSO, - {_sSI: _cGAVTSRo, _smit: None}, - (_AVTS,), - ((ACTIVE_VPN_TUNNEL_STATUS, {_aQN: _AVTS, _sN: _aVTS}),), -) - -GET_ACTIVE_VPN_TUNNEL_STATUS: StaticOperationSchema = ( - 23, - n0, - _GAVTS, - 0, - GET_ACTIVE_VPN_TUNNEL_STATUS_INPUT, - GET_ACTIVE_VPN_TUNNEL_STATUS_OUTPUT, - (), -) - -GET_ALLOWED_IMAGES_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _GAISI, - {_sSI: _cGAISR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -MAXIMUM_DAYS_SINCE_CREATED_VALUE: StaticSchema = (7, n0, _MDSCV, 0) - -CREATION_DATE_CONDITION: StaticSchema = ( - 18, - n0, - _CDC, - 0, - (_MDSC,), - ((MAXIMUM_DAYS_SINCE_CREATED_VALUE, {_aQN: _MDSC, _sN: _mDSC}),), -) - -MAXIMUM_DAYS_SINCE_DEPRECATED_VALUE: StaticSchema = (7, n0, _MDSDV, 0) - -DEPRECATION_TIME_CONDITION: StaticSchema = ( - 18, - n0, - _DTC, - 0, - (_MDSD,), - ((MAXIMUM_DAYS_SINCE_DEPRECATED_VALUE, {_aQN: _MDSD, _sN: _mDSD}),), -) - -IMAGE_NAME: StaticSchema = (3, n0, _INm, 0) - -IMAGE_NAME_LIST: StaticSchema = (16, n0, _INLm, 0, (_me,), ((IMAGE_NAME, {_sN: _i}),)) - -IMAGE_PROVIDER: StaticSchema = (3, n0, _IPm, 0) - -IMAGE_PROVIDER_LIST: StaticSchema = ( - 16, - n0, - _IPLm, - 0, - (_me,), - ((IMAGE_PROVIDER, {_sN: _i}),), -) - -IMAGE_WATERMARK_FILTER_RESPONSE: StaticSchema = ( - 18, - n0, - _IWFR, - 0, - (_WK, _SIR, _MDSSIC, _MDSWC), - ( - (STRING, {_aQN: _WK, _sN: _wK}), - (STRING, {_aQN: _SIR, _sN: _sIR}), - (INTEGER, {_aQN: _MDSSIC, _sN: _mDSSIC}), - (INTEGER, {_aQN: _MDSWC, _sN: _mDSWC}), - ), -) - -IMAGE_WATERMARK_FILTER_RESPONSE_LIST: StaticSchema = ( - 16, - n0, - _IWFRL, - 0, - (_me,), - ((IMAGE_WATERMARK_FILTER_RESPONSE, {_sN: _i}),), -) - -MARKETPLACE_PRODUCT_CODE: StaticSchema = (3, n0, _MPC, 0) - -MARKETPLACE_PRODUCT_CODE_LIST: StaticSchema = ( - 16, - n0, - _MPCL, - 0, - (_me,), - ((MARKETPLACE_PRODUCT_CODE, {_sN: _i}),), -) - -MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE: StaticSchema = (7, n0, _MDSFAV, 0) - -MAX_DAYS_SINCE_LAST_FINDING_SCAN_VALUE: StaticSchema = (7, n0, _MDSLFSV, 0) - -SCAN_RESULT_CONDITION: StaticSchema = ( - 18, - n0, - _SRCc, - 0, - (_MDSLFS, _MSL, _MDSIFA, _MDSLFA, _MDSMFA, _MDSHFA, _MDSCFA), - ( - (MAX_DAYS_SINCE_LAST_FINDING_SCAN_VALUE, {_aQN: _MDSLFS, _sN: _mDSLFS}), - (SEVERITY_LABEL, {_aQN: _MSL, _sN: _mSL}), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSIFA, _sN: _mDSIFA}), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSLFA, _sN: _mDSLFA}), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSMFA, _sN: _mDSMFA}), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSHFA, _sN: _mDSHFA}), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSCFA, _sN: _mDSCFA}), - ), -) - -IMAGE_CRITERION: StaticSchema = ( - 18, - n0, - _ICm, - 0, - (_IPma, _MPCa, _INma, _DTC, _CDC, _IWm, _SRCc), - ( - (IMAGE_PROVIDER_LIST, {_aQN: _IPSm, _sN: _iPSm}), - (MARKETPLACE_PRODUCT_CODE_LIST, {_aQN: _MPCS, _sN: _mPCS}), - (IMAGE_NAME_LIST, {_aQN: _INS, _sN: _iNS}), - (DEPRECATION_TIME_CONDITION, {_aQN: _DTC, _sN: _dTC}), - (CREATION_DATE_CONDITION, {_aQN: _CDC, _sN: _cDC}), - (IMAGE_WATERMARK_FILTER_RESPONSE_LIST, {_aQN: _IWS, _sN: _iWS}), - (SCAN_RESULT_CONDITION, {_aQN: _SRCc, _sN: _sRC}), - ), -) - -IMAGE_CRITERION_LIST: StaticSchema = ( - 16, - n0, - _ICLm, - 0, - (_me,), - ((IMAGE_CRITERION, {_sN: _i}),), -) - -GET_ALLOWED_IMAGES_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _GAISO, - {_sSI: _cGAISRo, _smit: None}, - (_St, _ICma, _MB), - ( - (STRING, {_aQN: _St, _sN: _st}), - (IMAGE_CRITERION_LIST, {_aQN: _ICSm, _sN: _iCS}), - (MANAGED_BY, {_aQN: _MB, _sN: _mB}), - ), -) - -GET_ALLOWED_IMAGES_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _GAIS, - 0, - GET_ALLOWED_IMAGES_SETTINGS_INPUT, - GET_ALLOWED_IMAGES_SETTINGS_OUTPUT, - (), -) - -GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_INPUT: StaticSchema = ( - 18, - n0, - _GAECIRI, - {_sSI: _cGAECIRR, _sm: None}, - (_CAe, _DR), - ((CERTIFICATE_ID, 1), (BOOLEAN, 0)), -) - -ASSOCIATED_ROLE: StaticSchema = ( - 18, - n0, - _ARss, - 0, - (_ARAss, _CSBN, _CSOK, _EKKI), - ( - (RESOURCE_ARN, {_aQN: _ARAss, _sN: _aRAss}), - (STRING, {_aQN: _CSBN, _sN: _cSBN}), - (STRING, {_aQN: _CSOK, _sN: _cSOK}), - (STRING, {_aQN: _EKKI, _sN: _eKKI}), - ), -) - -ASSOCIATED_ROLES_LIST: StaticSchema = ( - 16, - n0, - _ARL, - 0, - (_me,), - ((ASSOCIATED_ROLE, {_sN: _i}),), -) - -GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_OUTPUT: StaticSchema = ( - 18, - n0, - _GAECIRO, - {_sSI: _cGAECIRRo, _smit: None}, - (_ARsso,), - ((ASSOCIATED_ROLES_LIST, {_aQN: _ARSs, _sN: _aRSs}),), -) - -GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES: StaticOperationSchema = ( - 23, - n0, - _GAECIR, - 0, - GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_INPUT, - GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_OUTPUT, - (), -) - -GET_ASSOCIATED_IPV6_POOL_CIDRS_INPUT: StaticSchema = ( - 18, - n0, - _GAIPCI, - {_sSI: _cGAIPCR, _sm: None}, - (_PIo, _NTex, _MR, _DR), - ((IPV6_POOL_EC2_ID, 1), (NEXT_TOKEN, 0), (IPV6_POOL_MAX_RESULTS, 0), (BOOLEAN, 0)), -) - -IPV6_CIDR_ASSOCIATION: StaticSchema = ( - 18, - n0, - _ICAp, - 0, - (_ICp, _ARs), - ((STRING, {_aQN: _ICp, _sN: _iCp}), (STRING, {_aQN: _ARs, _sN: _aRs})), -) - -IPV6_CIDR_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _ICAS, - 0, - (_me,), - ((IPV6_CIDR_ASSOCIATION, {_sN: _i}),), -) - -GET_ASSOCIATED_IPV6_POOL_CIDRS_OUTPUT: StaticSchema = ( - 18, - n0, - _GAIPCO, - {_sSI: _cGAIPCRo, _smit: None}, - (_ICApv, _NTex), - ( - (IPV6_CIDR_ASSOCIATION_SET, {_aQN: _ICAS, _sN: _iCAS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_ASSOCIATED_IPV6_POOL_CIDRS: StaticOperationSchema = ( - 23, - n0, - _GAIPC, - 0, - GET_ASSOCIATED_IPV6_POOL_CIDRS_INPUT, - GET_ASSOCIATED_IPV6_POOL_CIDRS_OUTPUT, - (), -) - -DATA_QUERY: StaticSchema = ( - 18, - n0, - _DQ, - 0, - (_Id, _Sou, _De, _Met, _Stati, _Per), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (METRIC_TYPE, 0), - (STATISTIC_TYPE, 0), - (PERIOD_TYPE, 0), - ), -) - -DATA_QUERIES: StaticSchema = (16, n0, _DQa, 0, (_me,), ((DATA_QUERY, 0),)) - -GET_AWS_NETWORK_PERFORMANCE_DATA_INPUT: StaticSchema = ( - 18, - n0, - _GANPDI, - {_sSI: _cGANPDR, _sm: None}, - (_DQa, _ST, _ETnd, _MR, _NTex, _DR), - ( - (DATA_QUERIES, {_sN: _DQ}), - (MILLISECOND_DATE_TIME, 0), - (MILLISECOND_DATE_TIME, 0), - (INTEGER, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -METRIC_POINT: StaticSchema = ( - 18, - n0, - _MPe, - 0, - (_SDt, _ED, _Va, _Sta), - ( - (MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), - (MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), - (FLOAT, {_aQN: _Va, _sN: _va}), - (STRING, {_aQN: _Sta, _sN: _sta}), - ), -) - -METRIC_POINTS: StaticSchema = (16, n0, _MPet, 0, (_me,), ((METRIC_POINT, {_sN: _i}),)) - -DATA_RESPONSE: StaticSchema = ( - 18, - n0, - _DRa, - 0, - (_Id, _Sou, _De, _Met, _Stati, _Per, _MPet), - ( - (STRING, {_aQN: _Id, _sN: _id}), - (STRING, {_aQN: _Sou, _sN: _so}), - (STRING, {_aQN: _De, _sN: _des}), - (METRIC_TYPE, {_aQN: _Met, _sN: _met}), - (STATISTIC_TYPE, {_aQN: _Stati, _sN: _stati}), - (PERIOD_TYPE, {_aQN: _Per, _sN: _peri}), - (METRIC_POINTS, {_aQN: _MPSe, _sN: _mPSe}), - ), -) - -DATA_RESPONSES: StaticSchema = (16, n0, _DRat, 0, (_me,), ((DATA_RESPONSE, {_sN: _i}),)) - -GET_AWS_NETWORK_PERFORMANCE_DATA_OUTPUT: StaticSchema = ( - 18, - n0, - _GANPDO, - {_sSI: _cGANPDRo, _smit: None}, - (_DRat, _NTex), - ((DATA_RESPONSES, {_aQN: _DRSat, _sN: _dRSa}), (STRING, {_aQN: _NTex, _sN: _nT})), -) - -GET_AWS_NETWORK_PERFORMANCE_DATA: StaticOperationSchema = ( - 23, - n0, - _GANPD, - 0, - GET_AWS_NETWORK_PERFORMANCE_DATA_INPUT, - GET_AWS_NETWORK_PERFORMANCE_DATA_OUTPUT, - (), -) - -GET_CAPACITY_MANAGER_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _GCMAI, - {_sSI: _cGCMAR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -INGESTION_STATUS: StaticSchema = ( - 14, - n0, - _ISng, - 0, - (_IIIP, _IC___, _IF_), - ((-1, {_sV: _iiip}), (-1, {_sV: _ic___}), (-1, {_sV: _if})), -) - -GET_CAPACITY_MANAGER_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _GCMAO, - {_sSI: _cGCMARo, _smit: None}, - (_CMSa, _OArg, _DEC, _ISng, _ISM, _EDTa, _LDTat), - ( - (CAPACITY_MANAGER_STATUS, {_aQN: _CMSa, _sN: _cMSa}), - (BOOLEAN, {_aQN: _OArg, _sN: _oArg}), - (INTEGER, {_aQN: _DEC, _sN: _dEC}), - (INGESTION_STATUS, {_aQN: _ISng, _sN: _iSng}), - (STRING, {_aQN: _ISM, _sN: _iSM}), - (MILLISECOND_DATE_TIME, {_aQN: _EDTa, _sN: _eDTa}), - (MILLISECOND_DATE_TIME, {_aQN: _LDTat, _sN: _lDTa}), - ), -) - -GET_CAPACITY_MANAGER_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _GCMA, - 0, - GET_CAPACITY_MANAGER_ATTRIBUTES_INPUT, - GET_CAPACITY_MANAGER_ATTRIBUTES_OUTPUT, - (), -) - -COMPARISON: StaticSchema = ( - 14, - n0, - _Com, - 0, - (_EQUALS, _IN_), - ((-1, {_sV: _eq}), (-1, {_sV: _in___})), -) - -FILTER_BY_DIMENSION: StaticSchema = ( - 14, - n0, - _FBD, - 0, - ( - _RR_, - _AZI_, - _AI_, - _AN_, - _IF__, - _IT_, - _IP__, - _RA_, - _RI_, - _RT_, - _RCT_, - _RST, - _RET_, - _REDT, - _TENANCY, - _RS_, - _RIMC, - _RUFO, - ), - ( - (-1, {_sV: _rr}), - (-1, {_sV: _azi_}), - (-1, {_sV: _ai}), - (-1, {_sV: _an}), - (-1, {_sV: _if_}), - (-1, {_sV: _it}), - (-1, {_sV: _ip___________}), - (-1, {_sV: _ra_}), - (-1, {_sV: _ri__}), - (-1, {_sV: _rt__}), - (-1, {_sV: _rct}), - (-1, {_sV: _rst}), - (-1, {_sV: _ret_}), - (-1, {_sV: _redt}), - (-1, {_sV: _ten}), - (-1, {_sV: _rs__}), - (-1, {_sV: _rimc}), - (-1, {_sV: _rufo}), - ), -) - -CONDITION_VALUE: StaticSchema = (3, n0, _CVo, 0) - -CONDITION_VALUE_LIST: StaticSchema = ( - 16, - n0, - _CVL, - 0, - (_me,), - ((CONDITION_VALUE, {_sN: _i}),), -) - -DIMENSION_CONDITION: StaticSchema = ( - 18, - n0, - _DCim, - 0, - (_Dim, _Com, _Val), - ((FILTER_BY_DIMENSION, 0), (COMPARISON, 0), (CONDITION_VALUE_LIST, {_sN: _Va})), -) - -CAPACITY_MANAGER_CONDITION: StaticSchema = ( - 18, - n0, - _CMC, - 0, - (_DCim,), - ((DIMENSION_CONDITION, 0),), -) - -CAPACITY_MANAGER_CONDITION_SET: StaticSchema = ( - 16, - n0, - _CMCS, - 0, - (_me,), - ((CAPACITY_MANAGER_CONDITION, {_sN: _i}),), -) - -GROUP_BY: StaticSchema = ( - 14, - n0, - _GB, - 0, - ( - _RR_, - _AZI_, - _AI_, - _AN_, - _IF__, - _IT_, - _IP__, - _RA_, - _RI_, - _RT_, - _RCT_, - _RST, - _RET_, - _REDT, - _TENANCY, - _RS_, - _RIMC, - _RUFO, - ), - ( - (-1, {_sV: _rr}), - (-1, {_sV: _azi_}), - (-1, {_sV: _ai}), - (-1, {_sV: _an}), - (-1, {_sV: _if_}), - (-1, {_sV: _it}), - (-1, {_sV: _ip___________}), - (-1, {_sV: _ra_}), - (-1, {_sV: _ri__}), - (-1, {_sV: _rt__}), - (-1, {_sV: _rct}), - (-1, {_sV: _rst}), - (-1, {_sV: _ret_}), - (-1, {_sV: _redt}), - (-1, {_sV: _ten}), - (-1, {_sV: _rs__}), - (-1, {_sV: _rimc}), - (-1, {_sV: _rufo}), - ), -) - -GROUP_BY_SET: StaticSchema = (16, n0, _GBS, 0, (_me,), ((GROUP_BY, {_sN: _i}),)) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -METRIC: StaticSchema = ( - 14, - n0, - _Met, - 0, - ( - _RTCHV, - _RTCHI, - _RMSV, - _RMSI, - _RMSV_, - _RMSI_, - _RUTCHV, - _RUTCHI, - _RUTEC, - _RMUSV, - _RMUSI, - _RMUSV_, - _RMUSI_, - _RMU, - _RMU_, - _RAUV, - _RAUI, - _RTC, - _RTEC, - _RAFSV, - _RAFSI, - _RMFSV, - _RMFSI, - _RMFSV_, - _RMFSI_, - _RACSV, - _RACSI, - _RMCSV, - _RMCSI, - _RMCSV_, - _RMCSI_, - _RTUHV, - _RTUHI, - _RTEC_, - _UTUHV, - _UTUHI, - _UTEC, - _STUHV, - _STUHI, - _STEC, - _SARTBII, - _SMRTBII, - _SMRTBII_, - _STII, - _STIV, - _STCI, - _STCV, - _SIRI_, - _SIRV, - _CTRV, - _CTFV, - _SCTRV, - _SCTFV, - _CRFR, - _AIACPRV, - _IAFR, - _SCRFR, - _SAIACPRV, - _SIAFR, - ), - ( - (-1, {_sV: _rtchv}), - (-1, {_sV: _rtchi}), - (-1, {_sV: _rmsv}), - (-1, {_sV: _rmsi}), - (-1, {_sV: _rmsv_}), - (-1, {_sV: _rmsi_}), - (-1, {_sV: _rutchv}), - (-1, {_sV: _rutchi}), - (-1, {_sV: _rutec}), - (-1, {_sV: _rmusv}), - (-1, {_sV: _rmusi}), - (-1, {_sV: _rmusv_}), - (-1, {_sV: _rmusi_}), - (-1, {_sV: _rmu}), - (-1, {_sV: _rmu_}), - (-1, {_sV: _rauv}), - (-1, {_sV: _raui}), - (-1, {_sV: _rtc}), - (-1, {_sV: _rtec}), - (-1, {_sV: _rafsv}), - (-1, {_sV: _rafsi}), - (-1, {_sV: _rmfsv}), - (-1, {_sV: _rmfsi}), - (-1, {_sV: _rmfsv_}), - (-1, {_sV: _rmfsi_}), - (-1, {_sV: _racsv}), - (-1, {_sV: _racsi}), - (-1, {_sV: _rmcsv}), - (-1, {_sV: _rmcsi}), - (-1, {_sV: _rmcsv_}), - (-1, {_sV: _rmcsi_}), - (-1, {_sV: _rtuhv}), - (-1, {_sV: _rtuhi}), - (-1, {_sV: _rtec_}), - (-1, {_sV: _utuhv}), - (-1, {_sV: _utuhi}), - (-1, {_sV: _utec}), - (-1, {_sV: _stuhv}), - (-1, {_sV: _stuhi}), - (-1, {_sV: _stec}), - (-1, {_sV: _sartbii}), - (-1, {_sV: _smrtbii}), - (-1, {_sV: _smrtbii_}), - (-1, {_sV: _stii}), - (-1, {_sV: _stiv}), - (-1, {_sV: _stci}), - (-1, {_sV: _stcv}), - (-1, {_sV: _siri}), - (-1, {_sV: _sirv}), - (-1, {_sV: _ctrv}), - (-1, {_sV: _ctfv}), - (-1, {_sV: _sctrv}), - (-1, {_sV: _sctfv}), - (-1, {_sV: _crfr}), - (-1, {_sV: _aiacprv}), - (-1, {_sV: _iafr}), - (-1, {_sV: _scrfr}), - (-1, {_sV: _saiacprv}), - (-1, {_sV: _siafr}), - ), -) - -METRIC_SET: StaticSchema = (16, n0, _MSet, 0, (_me,), ((METRIC, {_sN: _i}),)) - -PERIOD: StaticSchema = (7, n0, _Per, 0) - -GET_CAPACITY_MANAGER_METRIC_DATA_INPUT: StaticSchema = ( - 18, - n0, - _GCMMDI, - {_sSI: _cGCMMDR, _sm: None}, - (_MN, _ST, _ETnd, _Per, _GB, _FB, _MR, _NTex, _DR), - ( - (METRIC_SET, {_sN: _MNe, _smi: None}), - (MILLISECOND_DATE_TIME, 1), - (MILLISECOND_DATE_TIME, 1), - (PERIOD, 1), - (GROUP_BY_SET, {_sN: _GB}), - (CAPACITY_MANAGER_CONDITION_SET, 0), - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (BOOLEAN, 0), - ), -) - -RESERVATION_END_DATE_TYPE: StaticSchema = ( - 14, - n0, - _REDTe, - 0, - (_LIMITED, _UNLIMITED), - ((-1, {_sV: _li}), (-1, {_sV: _unl})), -) - -RESERVATION_TYPE: StaticSchema = ( - 14, - n0, - _RTes, - 0, - (_CB_, _ODCR_), - ((-1, {_sV: _cb_}), (-1, {_sV: _odc})), -) - -CAPACITY_MANAGER_TAG_DIMENSION: StaticSchema = ( - 18, - n0, - _CMTD, - 0, - (_Ke, _Va), - ((STRING, {_aQN: _Ke, _sN: _ke}), (STRING, {_aQN: _Va, _sN: _va})), -) - -CAPACITY_MANAGER_TAG_DIMENSION_SET: StaticSchema = ( - 16, - n0, - _CMTDS, - 0, - (_me,), - ((CAPACITY_MANAGER_TAG_DIMENSION, {_sN: _i}),), -) - -CAPACITY_TENANCY: StaticSchema = ( - 14, - n0, - _CTap, - 0, - (_DEFAULT, _DEDICATED), - ((-1, {_sV: _def}), (-1, {_sV: _ded})), -) - -CAPACITY_MANAGER_DIMENSION: StaticSchema = ( - 18, - n0, - _CMD, - 0, - ( - _RR, - _AZI, - _AIcco, - _ANcc, - _IF, - _IT, - _IPns, - _RAese, - _RI, - _RTes, - _RCTe, - _RSTe, - _RETe, - _REDTe, - _Ten, - _RSes, - _RIMCe, - _RUFOe, - _Tag, - ), - ( - (STRING, {_aQN: _RR, _sN: _rR}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _AIcco, _sN: _aIc}), - (STRING, {_aQN: _ANcc, _sN: _aNc}), - (STRING, {_aQN: _IF, _sN: _iF}), - (STRING, {_aQN: _IT, _sN: _iT}), - (STRING, {_aQN: _IPns, _sN: _iPns}), - (STRING, {_aQN: _RAese, _sN: _rAese}), - (STRING, {_aQN: _RI, _sN: _rIes}), - (RESERVATION_TYPE, {_aQN: _RTes, _sN: _rTe}), - (MILLISECOND_DATE_TIME, {_aQN: _RCTe, _sN: _rCTe}), - (MILLISECOND_DATE_TIME, {_aQN: _RSTe, _sN: _rST}), - (MILLISECOND_DATE_TIME, {_aQN: _RETe, _sN: _rETe}), - (RESERVATION_END_DATE_TYPE, {_aQN: _REDTe, _sN: _rEDT}), - (CAPACITY_TENANCY, {_aQN: _Ten, _sN: _ten}), - (RESERVATION_STATE, {_aQN: _RSes, _sN: _rSes}), - (STRING, {_aQN: _RIMCe, _sN: _rIMC}), - (STRING, {_aQN: _RUFOe, _sN: _rUFO}), - (CAPACITY_MANAGER_TAG_DIMENSION_SET, {_aQN: _TSag, _sN: _tS}), - ), -) - -METRIC_VALUE: StaticSchema = ( - 18, - n0, - _MVe, - 0, - (_Met, _Va), - ((METRIC, {_aQN: _Met, _sN: _met}), (DOUBLE, {_aQN: _Va, _sN: _va})), -) - -METRIC_VALUE_SET: StaticSchema = (16, n0, _MVS, 0, (_me,), ((METRIC_VALUE, {_sN: _i}),)) - -METRIC_DATA_RESULT: StaticSchema = ( - 18, - n0, - _MDR, - 0, - (_Dim, _Ti, _MVet), - ( - (CAPACITY_MANAGER_DIMENSION, {_aQN: _Dim, _sN: _dim}), - (MILLISECOND_DATE_TIME, {_aQN: _Ti, _sN: _ti}), - (METRIC_VALUE_SET, {_aQN: _MVS, _sN: _mVS}), - ), -) - -METRIC_DATA_RESULT_SET: StaticSchema = ( - 16, - n0, - _MDRS, - 0, - (_me,), - ((METRIC_DATA_RESULT, {_sN: _i}),), -) - -GET_CAPACITY_MANAGER_METRIC_DATA_OUTPUT: StaticSchema = ( - 18, - n0, - _GCMMDO, - {_sSI: _cGCMMDRo, _smit: None}, - (_MDRe, _NTex), - ( - (METRIC_DATA_RESULT_SET, {_aQN: _MDRS, _sN: _mDRS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_CAPACITY_MANAGER_METRIC_DATA: StaticOperationSchema = ( - 23, - n0, - _GCMMD, - 0, - GET_CAPACITY_MANAGER_METRIC_DATA_INPUT, - GET_CAPACITY_MANAGER_METRIC_DATA_OUTPUT, - (), -) - -GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_INPUT: StaticSchema = ( - 18, - n0, - _GCMMDIe, - {_sSI: _cGCMMDRom, _sm: None}, - (_GB, _FB, _ST, _ETnd, _MN, _MR, _NTex, _DR), - ( - (GROUP_BY_SET, {_sN: _GB, _smi: None}), - (CAPACITY_MANAGER_CONDITION_SET, 0), - (MILLISECOND_DATE_TIME, 1), - (MILLISECOND_DATE_TIME, 1), - (METRIC_SET, {_sN: _MNe, _smi: None}), - (MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (BOOLEAN, 0), - ), -) - -METRIC_DIMENSION_RESULT_SET: StaticSchema = ( - 16, - n0, - _MDRSe, - 0, - (_me,), - ((CAPACITY_MANAGER_DIMENSION, {_sN: _i}),), -) - -GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GCMMDOe, - {_sSI: _cGCMMDRoma, _smit: None}, - (_MDRet, _NTex), - ( - (METRIC_DIMENSION_RESULT_SET, {_aQN: _MDRSe, _sN: _mDRSe}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_CAPACITY_MANAGER_METRIC_DIMENSIONS: StaticOperationSchema = ( - 23, - n0, - _GCMMDe, - 0, - GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_INPUT, - GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_OUTPUT, - (), -) - -GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_REQUEST_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _GCMMTKRMR, - 0, -) - -GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _GCMMTKI, - {_sSI: _cGCMMTKR, _sm: None}, - (_MR, _NTex, _DR), - ( - (GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_REQUEST_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -CAPACITY_MANAGER_MONITORED_TAG_KEY_STATUS: StaticSchema = ( - 14, - n0, - _CMMTKS, - 0, - (_ACTIVATING, _ACTIVATED, _DEACTIVATING, _SUSPENDED), - ((-1, {_sV: _acti}), (-1, {_sV: _activ}), (-1, {_sV: _deac}), (-1, {_sV: _sus})), -) - -CAPACITY_MANAGER_MONITORED_TAG_KEY: StaticSchema = ( - 18, - n0, - _CMMTK, - 0, - (_TK, _Sta, _SMt, _CMP, _EDTa), - ( - (STRING, {_aQN: _TK, _sN: _tK}), - (CAPACITY_MANAGER_MONITORED_TAG_KEY_STATUS, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (BOOLEAN, {_aQN: _CMP, _sN: _cMP}), - (MILLISECOND_DATE_TIME, {_aQN: _EDTa, _sN: _eDTa}), - ), -) - -CAPACITY_MANAGER_MONITORED_TAG_KEY_LIST: StaticSchema = ( - 16, - n0, - _CMMTKL, - 0, - (_me,), - ((CAPACITY_MANAGER_MONITORED_TAG_KEY, {_sN: _i}),), -) - -GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _GCMMTKO, - {_sSI: _cGCMMTKRo, _smit: None}, - (_CMTK, _NTex), - ( - (CAPACITY_MANAGER_MONITORED_TAG_KEY_LIST, {_aQN: _CMTKS, _sN: _cMTKS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS: StaticOperationSchema = ( - 23, - n0, - _GCMMTK, - 0, - GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT, - GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT, - (), -) - -CAPACITY_AMOUNT: StaticSchema = (7, n0, _CAapa, 0) - -CAPACITY_AVAILABILITY_ZONE_ID_LIST: StaticSchema = ( - 16, - n0, - _CAZIL, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -CAPACITY_UNIT: StaticSchema = ( - 14, - n0, - _CU, - 0, - (_VCPUS, _INSTANCES), - ((-1, {_sV: _vcpu}), (-1, {_sV: _insta})), -) - -ARCHITECTURE_TYPE_SET: StaticSchema = ( - 16, - n0, - _ATSr, - 0, - (_me,), - ((ARCHITECTURE_TYPE, {_sN: _i}),), -) - -VIRTUALIZATION_TYPE_SET: StaticSchema = ( - 16, - n0, - _VTS, - 0, - (_me,), - ((VIRTUALIZATION_TYPE, {_sN: _i}),), -) - -INSTANCE_REQUIREMENTS_WITH_METADATA_REQUEST: StaticSchema = ( - 18, - n0, - _IRWMR, - 0, - (_ATrc, _VTir, _IRn), - ( - (ARCHITECTURE_TYPE_SET, {_sN: _ATr}), - (VIRTUALIZATION_TYPE_SET, {_sN: _VTi}), - (INSTANCE_REQUIREMENTS_REQUEST, 0), - ), -) - -SUPPORTABILITY_INSTANCE_TYPE_LIST: StaticSchema = ( - 16, - n0, - _SITL, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -SUPPORTABILITY_MARKET_TYPE: StaticSchema = ( - 14, - n0, - _SMT, - 0, - (_OD, _SPOT), - ((-1, {_sV: _od}), (-1, {_sV: _spo})), -) - -GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_INPUT: StaticSchema = ( - 18, - n0, - _GCMSSI, - {_sSI: _cGCMSSR, _sm: None}, - (_MTar, _CAapa, _CU, _CAZI, _ITnsta, _IRWM, _DR), - ( - (SUPPORTABILITY_MARKET_TYPE, 1), - (CAPACITY_AMOUNT, 1), - (CAPACITY_UNIT, 1), - (CAPACITY_AVAILABILITY_ZONE_ID_LIST, {_sN: _CAZIa, _smi: None}), - (SUPPORTABILITY_INSTANCE_TYPE_LIST, {_sN: _IT}), - (INSTANCE_REQUIREMENTS_WITH_METADATA_REQUEST, 0), - (BOOLEAN, 0), - ), -) - -SUPPORTABILITY_SCORE: StaticSchema = ( - 14, - n0, - _SSupp, - 0, - (_HIGH, _MEDIUM, _LOW, _UNSUPPORTED), - ((-1, {_sV: _hig}), (-1, {_sV: _medi}), (-1, {_sV: _low}), (-1, {_sV: _uns})), -) - -CAPACITY_MANAGER_SUPPORTABILITY_SCORE: StaticSchema = ( - 18, - n0, - _CMSS, - 0, - (_IT, _AZI, _Scor), - ( - (STRING, {_aQN: _IT, _sN: _iT}), - (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), - (SUPPORTABILITY_SCORE, {_aQN: _Scor, _sN: _scor}), - ), -) - -CAPACITY_MANAGER_SUPPORTABILITY_SCORE_SET: StaticSchema = ( - 16, - n0, - _CMSSS, - 0, - (_me,), - ((CAPACITY_MANAGER_SUPPORTABILITY_SCORE, {_sN: _i}),), -) - -GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_OUTPUT: StaticSchema = ( - 18, - n0, - _GCMSSO, - {_sSI: _cGCMSSRo, _smit: None}, - (_ASg, _CMSSa), - ( - (SUPPORTABILITY_SCORE, {_aQN: _ASg, _sN: _aSg}), - (CAPACITY_MANAGER_SUPPORTABILITY_SCORE_SET, {_aQN: _CMSSS, _sN: _cMSSS}), - ), -) - -GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES: StaticOperationSchema = ( - 23, - n0, - _GCMSS, - 0, - GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_INPUT, - GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_OUTPUT, - (), -) - -GET_CAPACITY_RESERVATION_USAGE_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _GCRURMR, 0) - -GET_CAPACITY_RESERVATION_USAGE_INPUT: StaticSchema = ( - 18, - n0, - _GCRUI, - {_sSI: _cGCRUR, _sm: None}, - (_CRI, _NTex, _MR, _DR), - ( - (CAPACITY_RESERVATION_ID, 1), - (STRING, 0), - (GET_CAPACITY_RESERVATION_USAGE_REQUEST_MAX_RESULTS, 0), - (BOOLEAN, 0), - ), -) - -INSTANCE_USAGE: StaticSchema = ( - 18, - n0, - _IU, - 0, - (_AIcco, _UIC), - ((STRING, {_aQN: _AIcco, _sN: _aIc}), (INTEGER, {_aQN: _UIC, _sN: _uIC})), -) - -INSTANCE_USAGE_SET: StaticSchema = ( - 16, - n0, - _IUS, - 0, - (_me,), - ((INSTANCE_USAGE, {_sN: _i}),), -) - -GET_CAPACITY_RESERVATION_USAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _GCRUO, - {_sSI: _cGCRURo, _smit: None}, - (_NTex, _CRI, _IT, _TICo, _AIC, _St, _IUn, _Inte, _ICA, _IInt), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (STRING, {_aQN: _CRI, _sN: _cRI}), - (STRING, {_aQN: _IT, _sN: _iT}), - (INTEGER, {_aQN: _TICo, _sN: _tICo}), - (INTEGER, {_aQN: _AIC, _sN: _aIC}), - (CAPACITY_RESERVATION_STATE, {_aQN: _St, _sN: _st}), - (INSTANCE_USAGE_SET, {_aQN: _IUS, _sN: _iUS}), - (BOXED_BOOLEAN, {_aQN: _Inte, _sN: _inte}), - (INTERRUPTIBLE_CAPACITY_ALLOCATION, {_aQN: _ICA, _sN: _iCA}), - (INTERRUPTION_INFO, {_aQN: _IInt, _sN: _iIn}), - ), -) - -GET_CAPACITY_RESERVATION_USAGE: StaticOperationSchema = ( - 23, - n0, - _GCRU, - 0, - GET_CAPACITY_RESERVATION_USAGE_INPUT, - GET_CAPACITY_RESERVATION_USAGE_OUTPUT, - (), -) - -GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GCVEAPI, - {_sSI: _cGCVEAPR, _sm: None}, - (_CVEI, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (BOOLEAN, 0)), -) - -CLIENT_VPN_AUTHORIZATION_POLICY_SHADOW_MODE: StaticSchema = ( - 14, - n0, - _CVAPSM, - 0, - (_ena, _d), - ((-1, {_sV: _ena}), (-1, {_sV: _d})), -) - -GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GCVEAPO, - {_sSI: _cGCVEAPRo, _smit: None}, - (_CVEI, _PDo, _Des, _SMh, _Sta), - ( - (STRING, {_aQN: _CVEI, _sN: _cVEI}), - (STRING, {_aQN: _PDo, _sN: _pDo}), - (STRING, {_aQN: _Des, _sN: _desc}), - (CLIENT_VPN_AUTHORIZATION_POLICY_SHADOW_MODE, {_aQN: _SMh, _sN: _sMh}), - (CLIENT_VPN_AUTHORIZATION_POLICY_STATUS, {_aQN: _Sta, _sN: _sta}), - ), -) - -GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY: StaticOperationSchema = ( - 23, - n0, - _GCVEAP, - 0, - GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT, - GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT, - (), -) - -GET_COIP_POOL_USAGE_INPUT: StaticSchema = ( - 18, - n0, - _GCPUI, - {_sSI: _cGCPUR, _sm: None}, - (_PIo, _Fil, _MR, _NTex, _DR), - ( - (IPV4_POOL_COIP_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (COIP_POOL_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -COIP_ADDRESS_USAGE: StaticSchema = ( - 18, - n0, - _CAU, - 0, - (_AI, _AAIw, _ASw, _CIop_), - ( - (STRING, {_aQN: _AI, _sN: _aI}), - (STRING, {_aQN: _AAIw, _sN: _aAI}), - (STRING, {_aQN: _ASw, _sN: _aSw}), - (STRING, {_aQN: _CIop_, _sN: _cIop}), - ), -) - -COIP_ADDRESS_USAGE_SET: StaticSchema = ( - 16, - n0, - _CAUS, - 0, - (_me,), - ((COIP_ADDRESS_USAGE, {_sN: _i}),), -) - -GET_COIP_POOL_USAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _GCPUO, - {_sSI: _cGCPURo, _smit: None}, - (_CPIo, _CAUo, _LGRTI, _NTex), - ( - (STRING, {_aQN: _CPIo, _sN: _cPI}), - (COIP_ADDRESS_USAGE_SET, {_aQN: _CAUS, _sN: _cAUS}), - (STRING, {_aQN: _LGRTI, _sN: _lGRTI}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_COIP_POOL_USAGE: StaticOperationSchema = ( - 23, - n0, - _GCPU, - 0, - GET_COIP_POOL_USAGE_INPUT, - GET_COIP_POOL_USAGE_OUTPUT, - (), -) - -GET_CONSOLE_OUTPUT_INPUT: StaticSchema = ( - 18, - n0, - _GCOI, - {_sSI: _cGCOR, _sm: None}, - (_II, _Lat, _DR), - ((INSTANCE_ID, 1), (BOOLEAN, 0), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -GET_CONSOLE_OUTPUT_OUTPUT: StaticSchema = ( - 18, - n0, - _GCOO, - {_sSI: _cGCORo, _smit: None}, - (_II, _Ti, _Ou), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (DATE_TIME, {_aQN: _Ti, _sN: _ti}), - (STRING, {_aQN: _Ou, _sN: _outp}), - ), -) - -GET_CONSOLE_OUTPUT: StaticOperationSchema = ( - 23, - n0, - _GCO, - 0, - GET_CONSOLE_OUTPUT_INPUT, - GET_CONSOLE_OUTPUT_OUTPUT, - (), -) - -GET_CONSOLE_SCREENSHOT_INPUT: StaticSchema = ( - 18, - n0, - _GCSI, - {_sSI: _cGCSR, _sm: None}, - (_DR, _II, _WU), - ((BOOLEAN, 0), (INSTANCE_ID, 1), (BOOLEAN, 0)), -) - -GET_CONSOLE_SCREENSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _GCSO, - {_sSI: _cGCSRo, _smit: None}, - (_IDm, _II), - ((STRING, {_aQN: _IDm, _sN: _iDm}), (STRING, {_aQN: _II, _sN: _iI})), -) - -GET_CONSOLE_SCREENSHOT: StaticOperationSchema = ( - 23, - n0, - _GCS, - 0, - GET_CONSOLE_SCREENSHOT_INPUT, - GET_CONSOLE_SCREENSHOT_OUTPUT, - (), -) - -GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_INPUT: StaticSchema = ( - 18, - n0, - _GDPRSI, - {_sSI: _cGDPRSR, _sm: None}, - (_DR, _RIep), - ((BOOLEAN, 0), (DECLARATIVE_POLICIES_REPORT_ID, 1)), -) - -REGIONAL_SUMMARY: StaticSchema = ( - 18, - n0, - _RSeg, - 0, - (_RNe, _NOMA, _NOUA), - ( - (STRING, {_aQN: _RNe, _sN: _rNe}), - (INTEGER, {_aQN: _NOMA, _sN: _nOMA}), - (INTEGER, {_aQN: _NOUA, _sN: _nOUA}), - ), -) - -REGIONAL_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _RSLe, - 0, - (_me,), - ((REGIONAL_SUMMARY, {_sN: _i}),), -) - -ATTRIBUTE_SUMMARY: StaticSchema = ( - 18, - n0, - _ASttr, - 0, - (_ANt, _MFV, _NOMA, _NOUA, _RSegi), - ( - (STRING, {_aQN: _ANt, _sN: _aN}), - (STRING, {_aQN: _MFV, _sN: _mFV}), - (INTEGER, {_aQN: _NOMA, _sN: _nOMA}), - (INTEGER, {_aQN: _NOUA, _sN: _nOUA}), - (REGIONAL_SUMMARY_LIST, {_aQN: _RSSe, _sN: _rSSe}), - ), -) - -ATTRIBUTE_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _ASLt, - 0, - (_me,), - ((ATTRIBUTE_SUMMARY, {_sN: _i}),), -) - -GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_OUTPUT: StaticSchema = ( - 18, - n0, - _GDPRSO, - {_sSI: _cGDPRSRo, _smit: None}, - (_RIep, _SBu, _SPr, _TIa, _ST, _ETnd, _NOA, _NOFA, _ASttri), - ( - (STRING, {_aQN: _RIep, _sN: _rIe}), - (STRING, {_aQN: _SBu, _sN: _sB}), - (STRING, {_aQN: _SPr, _sN: _sP}), - (STRING, {_aQN: _TIa, _sN: _tIa}), - (MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (MILLISECOND_DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), - (INTEGER, {_aQN: _NOA, _sN: _nOA}), - (INTEGER, {_aQN: _NOFA, _sN: _nOFA}), - (ATTRIBUTE_SUMMARY_LIST, {_aQN: _ASSt, _sN: _aSSt}), - ), -) - -GET_DECLARATIVE_POLICIES_REPORT_SUMMARY: StaticOperationSchema = ( - 23, - n0, - _GDPRS, - 0, - GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_INPUT, - GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_OUTPUT, - (), -) - -UNLIMITED_SUPPORTED_INSTANCE_FAMILY: StaticSchema = ( - 14, - n0, - _USIF, - 0, - (_t___________, _t____________, _ta_, _tg, _ti_), - ( - (-1, {_sV: _t___________}), - (-1, {_sV: _t____________}), - (-1, {_sV: _ta_}), - (-1, {_sV: _tg}), - (-1, {_sV: _ti_}), - ), -) - -GET_DEFAULT_CREDIT_SPECIFICATION_INPUT: StaticSchema = ( - 18, - n0, - _GDCSI, - {_sSI: _cGDCSR, _sm: None}, - (_DR, _IF), - ((BOOLEAN, 0), (UNLIMITED_SUPPORTED_INSTANCE_FAMILY, 1)), -) - -INSTANCE_FAMILY_CREDIT_SPECIFICATION: StaticSchema = ( - 18, - n0, - _IFCS, - 0, - (_IF, _CCp), - ( - (UNLIMITED_SUPPORTED_INSTANCE_FAMILY, {_aQN: _IF, _sN: _iF}), - (STRING, {_aQN: _CCp, _sN: _cCp}), - ), -) - -GET_DEFAULT_CREDIT_SPECIFICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GDCSO, - {_sSI: _cGDCSRo, _smit: None}, - (_IFCS,), - ((INSTANCE_FAMILY_CREDIT_SPECIFICATION, {_aQN: _IFCS, _sN: _iFCS}),), -) - -GET_DEFAULT_CREDIT_SPECIFICATION: StaticOperationSchema = ( - 23, - n0, - _GDCS, - 0, - GET_DEFAULT_CREDIT_SPECIFICATION_INPUT, - GET_DEFAULT_CREDIT_SPECIFICATION_OUTPUT, - (), -) - -GET_EBS_DEFAULT_KMS_KEY_ID_INPUT: StaticSchema = ( - 18, - n0, - _GEDKKII, - {_sSI: _cGEDKKIR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -GET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _GEDKKIO, - {_sSI: _cGEDKKIRo, _smit: None}, - (_KKI,), - ((STRING, {_aQN: _KKI, _sN: _kKI}),), -) - -GET_EBS_DEFAULT_KMS_KEY_ID: StaticOperationSchema = ( - 23, - n0, - _GEDKKI, - 0, - GET_EBS_DEFAULT_KMS_KEY_ID_INPUT, - GET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT, - (), -) - -GET_EBS_ENCRYPTION_BY_DEFAULT_INPUT: StaticSchema = ( - 18, - n0, - _GEEBDI, - {_sSI: _cGEEBDR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -GET_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT: StaticSchema = ( - 18, - n0, - _GEEBDO, - {_sSI: _cGEEBDRo, _smit: None}, - (_EEBD, _STs), - ((BOOLEAN, {_aQN: _EEBD, _sN: _eEBD}), (SSE_TYPE, {_aQN: _STs, _sN: _sTs})), -) - -GET_EBS_ENCRYPTION_BY_DEFAULT: StaticOperationSchema = ( - 23, - n0, - _GEEBD, - 0, - GET_EBS_ENCRYPTION_BY_DEFAULT_INPUT, - GET_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT, - (), -) - -GET_ENABLED_IPAM_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GEIPI, - {_sSI: _cGEIPR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -IPAM_POLICY_MANAGED_BY: StaticSchema = ( - 14, - n0, - _IPMB, - 0, - (_acc, _dafi), - ((-1, {_sV: _acc}), (-1, {_sV: _dafi_})), -) - -GET_ENABLED_IPAM_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GEIPO, - {_sSI: _cGEIPRo, _smit: None}, - (_IPEp, _IPIp, _MB), - ( - (BOOLEAN, {_aQN: _IPEp, _sN: _iPEp}), - (IPAM_POLICY_ID, {_aQN: _IPIp, _sN: _iPIp}), - (IPAM_POLICY_MANAGED_BY, {_aQN: _MB, _sN: _mB}), - ), -) - -GET_ENABLED_IPAM_POLICY: StaticOperationSchema = ( - 23, - n0, - _GEIP, - 0, - GET_ENABLED_IPAM_POLICY_INPUT, - GET_ENABLED_IPAM_POLICY_OUTPUT, - (), -) - -PARTITION_LOAD_FREQUENCY: StaticSchema = ( - 14, - n0, - _PLF, - 0, - (_NONE, _DAILY, _WEEKLY, _MONTHLY), - ((-1, {_sV: _no}), (-1, {_sV: _da}), (-1, {_sV: _wee}), (-1, {_sV: _mont})), -) - -ATHENA_INTEGRATION: StaticSchema = ( - 18, - n0, - _AIth, - 0, - (_IRSDA, _PLF, _PSD, _PED), - ( - (STRING, 1), - (PARTITION_LOAD_FREQUENCY, 1), - (MILLISECOND_DATE_TIME, 0), - (MILLISECOND_DATE_TIME, 0), - ), -) - -ATHENA_INTEGRATIONS_SET: StaticSchema = ( - 16, - n0, - _AISt, - 0, - (_me,), - ((ATHENA_INTEGRATION, {_sN: _i}),), -) - -INTEGRATE_SERVICES: StaticSchema = ( - 18, - n0, - _ISnte, - 0, - (_AIthe,), - ((ATHENA_INTEGRATIONS_SET, {_sN: _AIth}),), -) - -GET_FLOW_LOGS_INTEGRATION_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _GFLITI, - {_sSI: _cGFLITR, _sm: None}, - (_DR, _FLIl, _CDSDA, _ISnte), - ( - (BOOLEAN, 0), - (VPC_FLOW_LOG_ID, 1), - (STRING, 1), - (INTEGRATE_SERVICES, {_sN: _ISnteg, _smi: None}), - ), -) - -GET_FLOW_LOGS_INTEGRATION_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GFLITO, - {_sSI: _cGFLITRo, _smit: None}, - (_Resu,), - ((STRING, {_aQN: _Resu, _sN: _resu}),), -) - -GET_FLOW_LOGS_INTEGRATION_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _GFLIT, - 0, - GET_FLOW_LOGS_INTEGRATION_TEMPLATE_INPUT, - GET_FLOW_LOGS_INTEGRATION_TEMPLATE_OUTPUT, - (), -) - -GET_GROUPS_FOR_CAPACITY_RESERVATION_REQUEST_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _GGFCRRMR, - 0, -) - -GET_GROUPS_FOR_CAPACITY_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _GGFCRI, - {_sSI: _cGGFCRR, _sm: None}, - (_CRI, _NTex, _MR, _DR), - ( - (CAPACITY_RESERVATION_ID, 1), - (STRING, 0), - (GET_GROUPS_FOR_CAPACITY_RESERVATION_REQUEST_MAX_RESULTS, 0), - (BOOLEAN, 0), - ), -) - -CAPACITY_RESERVATION_GROUP: StaticSchema = ( - 18, - n0, - _CRG, - 0, - (_GA, _OIw), - ((STRING, {_aQN: _GA, _sN: _gA}), (STRING, {_aQN: _OIw, _sN: _oI})), -) - -CAPACITY_RESERVATION_GROUP_SET: StaticSchema = ( - 16, - n0, - _CRGS, - 0, - (_me,), - ((CAPACITY_RESERVATION_GROUP, {_sN: _i}),), -) - -GET_GROUPS_FOR_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GGFCRO, - {_sSI: _cGGFCRRo, _smit: None}, - (_NTex, _CRGa), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (CAPACITY_RESERVATION_GROUP_SET, {_aQN: _CRGS, _sN: _cRGS}), - ), -) - -GET_GROUPS_FOR_CAPACITY_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _GGFCR, - 0, - GET_GROUPS_FOR_CAPACITY_RESERVATION_INPUT, - GET_GROUPS_FOR_CAPACITY_RESERVATION_OUTPUT, - (), -) - -REQUEST_HOST_ID_SET: StaticSchema = ( - 16, - n0, - _RHISe, - 0, - (_me,), - ((DEDICATED_HOST_ID, {_sN: _i}),), -) - -GET_HOST_RESERVATION_PURCHASE_PREVIEW_INPUT: StaticSchema = ( - 18, - n0, - _GHRPPI, - {_sSI: _cGHRPPR, _sm: None}, - (_HIS, _OI), - ((REQUEST_HOST_ID_SET, 1), (OFFERING_ID, 1)), -) - -PURCHASE: StaticSchema = ( - 18, - n0, - _Pur, - 0, - (_CC, _Dur, _HIS, _HRI, _HP, _IF, _POa, _UPp), - ( - (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), - (INTEGER, {_aQN: _Dur, _sN: _dur}), - (RESPONSE_HOST_ID_SET, {_aQN: _HIS, _sN: _hIS}), - (HOST_RESERVATION_ID, {_aQN: _HRI, _sN: _hRI}), - (STRING, {_aQN: _HP, _sN: _hP}), - (STRING, {_aQN: _IF, _sN: _iF}), - (PAYMENT_OPTION, {_aQN: _POa, _sN: _pOa}), - (STRING, {_aQN: _UPp, _sN: _uPp}), - ), -) - -PURCHASE_SET: StaticSchema = (16, n0, _PSu, 0, (_me,), ((PURCHASE, {_sN: _i}),)) - -GET_HOST_RESERVATION_PURCHASE_PREVIEW_OUTPUT: StaticSchema = ( - 18, - n0, - _GHRPPO, - {_sSI: _cGHRPPRo, _smit: None}, - (_CC, _Pur, _THP, _TUP), - ( - (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), - (PURCHASE_SET, {_aQN: _Pur, _sN: _pur}), - (STRING, {_aQN: _THP, _sN: _tHP}), - (STRING, {_aQN: _TUP, _sN: _tUP}), - ), -) - -GET_HOST_RESERVATION_PURCHASE_PREVIEW: StaticOperationSchema = ( - 23, - n0, - _GHRPP, - 0, - GET_HOST_RESERVATION_PURCHASE_PREVIEW_INPUT, - GET_HOST_RESERVATION_PURCHASE_PREVIEW_OUTPUT, - (), -) - -GET_IMAGE_ANCESTRY_INPUT: StaticSchema = ( - 18, - n0, - _GIAI, - {_sSI: _cGIAR, _sm: None}, - (_IIm, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0)), -) - -IMAGE_ANCESTRY_ENTRY: StaticSchema = ( - 18, - n0, - _IAE, - 0, - (_CDre, _IIm, _IOA, _SII, _SIR), - ( - (MILLISECOND_DATE_TIME, {_aQN: _CDre, _sN: _cDre}), - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (STRING, {_aQN: _IOA, _sN: _iOA}), - (IMAGE_ID, {_aQN: _SII, _sN: _sII}), - (STRING, {_aQN: _SIR, _sN: _sIR}), - ), -) - -IMAGE_ANCESTRY_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _IAEL, - 0, - (_me,), - ((IMAGE_ANCESTRY_ENTRY, {_sN: _i}),), -) - -GET_IMAGE_ANCESTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _GIAO, - {_sSI: _cGIARo, _smit: None}, - (_IAEm,), - ((IMAGE_ANCESTRY_ENTRY_LIST, {_aQN: _IAES, _sN: _iAES}),), -) - -GET_IMAGE_ANCESTRY: StaticOperationSchema = ( - 23, - n0, - _GIAe, - 0, - GET_IMAGE_ANCESTRY_INPUT, - GET_IMAGE_ANCESTRY_OUTPUT, - (), -) - -GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_INPUT: StaticSchema = ( - 18, - n0, - _GIBPASI, - {_sSI: _cGIBPASR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GIBPASO, - {_sSI: _cGIBPASRo, _smit: None}, - (_IBPAS, _MB), - ((STRING, {_aQN: _IBPAS, _sN: _iBPAS}), (MANAGED_BY, {_aQN: _MB, _sN: _mB})), -) - -GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE: StaticOperationSchema = ( - 23, - n0, - _GIBPAS, - 0, - GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_INPUT, - GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT, - (), -) - -GET_IMAGE_FINDINGS_MAX_RESULTS: StaticSchema = (7, n0, _GIFMR, 0) - -GET_IMAGE_FINDINGS_INPUT: StaticSchema = ( - 18, - n0, - _GIFI, - {_sSI: _cGIFR, _sm: None}, - (_IIm, _MR, _NTex, _DR), - ((IMAGE_ID, 1), (GET_IMAGE_FINDINGS_MAX_RESULTS, 0), (STRING, 0), (BOOLEAN, 0)), -) - -IMAGE_FINDING_PATH_SET: StaticSchema = ( - 16, - n0, - _IFPS, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -IMAGE_FINDING: StaticSchema = ( - 18, - n0, - _IFm, - 0, - (_FAix, _Scor, _FOAi, _UA, _Tit, _Pat, _SLe, _SIn), - ( - (BOOLEAN, {_aQN: _FAix, _sN: _fAix}), - (DOUBLE, {_aQN: _Scor, _sN: _scor}), - (MILLISECOND_DATE_TIME, {_aQN: _FOAi, _sN: _fOA}), - (MILLISECOND_DATE_TIME, {_aQN: _UA, _sN: _uA}), - (STRING, {_aQN: _Tit, _sN: _tit}), - (IMAGE_FINDING_PATH_SET, {_aQN: _PSat, _sN: _pSa}), - (SEVERITY_LABEL, {_aQN: _SLe, _sN: _sLe}), - (SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), - ), -) - -GET_IMAGE_FINDINGS_ENTRY_SET: StaticSchema = ( - 16, - n0, - _GIFES, - 0, - (_me,), - ((IMAGE_FINDING, {_sN: _i}),), -) - -GET_IMAGE_FINDINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIFO, - {_sSI: _cGIFRo, _smit: None}, - (_IFma, _NTex), - ( - (GET_IMAGE_FINDINGS_ENTRY_SET, {_aQN: _IFS, _sN: _iFS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IMAGE_FINDINGS: StaticOperationSchema = ( - 23, - n0, - _GIF, - 0, - GET_IMAGE_FINDINGS_INPUT, - GET_IMAGE_FINDINGS_OUTPUT, - (), -) - -GET_INSTANCE_METADATA_DEFAULTS_INPUT: StaticSchema = ( - 18, - n0, - _GIMDI, - {_sSI: _cGIMDR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -HTTP_TOKENS_ENFORCED_STATE: StaticSchema = ( - 14, - n0, - _HTES, - 0, - (_d, _ena), - ((-1, {_sV: _d}), (-1, {_sV: _ena})), -) - -INSTANCE_METADATA_DEFAULTS_RESPONSE: StaticSchema = ( - 18, - n0, - _IMDR, - 0, - (_HTt, _HPRHL, _HE, _IMT, _MB, _MEM, _HTE), - ( - (HTTP_TOKENS_STATE, {_aQN: _HTt, _sN: _hTt}), - (BOXED_INTEGER, {_aQN: _HPRHL, _sN: _hPRHL}), - (INSTANCE_METADATA_ENDPOINT_STATE, {_aQN: _HE, _sN: _hE}), - (INSTANCE_METADATA_TAGS_STATE, {_aQN: _IMT, _sN: _iMT}), - (MANAGED_BY, {_aQN: _MB, _sN: _mB}), - (STRING, {_aQN: _MEM, _sN: _mEM}), - (HTTP_TOKENS_ENFORCED_STATE, {_aQN: _HTE, _sN: _hTE}), - ), -) - -GET_INSTANCE_METADATA_DEFAULTS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIMDO, - {_sSI: _cGIMDRo, _smit: None}, - (_ALcc,), - ((INSTANCE_METADATA_DEFAULTS_RESPONSE, {_aQN: _ALcc, _sN: _aLc}),), -) - -GET_INSTANCE_METADATA_DEFAULTS: StaticOperationSchema = ( - 23, - n0, - _GIMD, - 0, - GET_INSTANCE_METADATA_DEFAULTS_INPUT, - GET_INSTANCE_METADATA_DEFAULTS_OUTPUT, - (), -) - -EK_PUB_KEY_FORMAT: StaticSchema = ( - 14, - n0, - _EPKF, - 0, - (_der_, _tpm), - ((-1, {_sV: _der_}), (-1, {_sV: _tpm})), -) - -EK_PUB_KEY_TYPE: StaticSchema = ( - 14, - n0, - _EPKT, - 0, - (_R_, _ESP), - ( - ( - -1, - { - _sV: _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ - }, - ), - (-1, {_sV: _esp}), - ), -) - -GET_INSTANCE_TPM_EK_PUB_INPUT: StaticSchema = ( - 18, - n0, - _GITEPI, - {_sSI: _cGITEPR, _sm: None}, - (_II, _KT, _KF, _DR), - ( - (INSTANCE_ID, {_sN: _II, _smi: None}), - (EK_PUB_KEY_TYPE, 1), - (EK_PUB_KEY_FORMAT, 1), - (BOOLEAN, 0), - ), -) - -EK_PUB_KEY_VALUE: StaticSchema = (3, n0, _EPKV, 4) - -GET_INSTANCE_TPM_EK_PUB_OUTPUT: StaticSchema = ( - 18, - n0, - _GITEPO, - {_sSI: _cGITEPRo, _smit: None}, - (_II, _KT, _KF, _KV), - ( - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (EK_PUB_KEY_TYPE, {_aQN: _KT, _sN: _kT}), - (EK_PUB_KEY_FORMAT, {_aQN: _KF, _sN: _kFe}), - (EK_PUB_KEY_VALUE, {_aQN: _KV, _sN: _kV}), - ), -) - -GET_INSTANCE_TPM_EK_PUB: StaticOperationSchema = ( - 23, - n0, - _GITEP, - 0, - GET_INSTANCE_TPM_EK_PUB_INPUT, - GET_INSTANCE_TPM_EK_PUB_OUTPUT, - (), -) - -GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_INPUT: StaticSchema = ( - 18, - n0, - _GITFIRI, - {_sSI: _cGITFIRR, _sm: None}, - (_DR, _ATrc, _VTir, _IRn, _MR, _NTex, _Con), - ( - (BOOLEAN, 0), - (ARCHITECTURE_TYPE_SET, {_sN: _ATr, _smi: None}), - (VIRTUALIZATION_TYPE_SET, {_sN: _VTi, _smi: None}), - (INSTANCE_REQUIREMENTS_REQUEST, 1), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - ), -) - -INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS: StaticSchema = ( - 18, - n0, - _ITIFIR, - 0, - (_IT,), - ((STRING, {_aQN: _IT, _sN: _iT}),), -) - -INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS_SET: StaticSchema = ( - 16, - n0, - _ITIFIRS, - 0, - (_me,), - ((INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS, {_sN: _i}),), -) - -GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _GITFIRO, - {_sSI: _cGITFIRRo, _smit: None}, - (_ITnsta, _NTex), - ( - ( - INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS_SET, - {_aQN: _ITSns, _sN: _iTSns}, - ), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS: StaticOperationSchema = ( - 23, - n0, - _GITFIR, - 0, - GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_INPUT, - GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_OUTPUT, - (), -) - -GET_INSTANCE_UEFI_DATA_INPUT: StaticSchema = ( - 18, - n0, - _GIUDI, - {_sSI: _cGIUDR, _sm: None}, - (_II, _DR), - ((INSTANCE_ID, {_sN: _II, _smi: None}), (BOOLEAN, 0)), -) - -SENSITIVE_STRING: StaticSchema = (3, n0, _SSen, 4) - -GET_INSTANCE_UEFI_DATA_OUTPUT: StaticSchema = ( - 18, - n0, - _GIUDO, - {_sSI: _cGIUDRo, _smit: None}, - (_II, _UDe), - ((INSTANCE_ID, {_aQN: _II, _sN: _iI}), (SENSITIVE_STRING, {_aQN: _UDe, _sN: _uDe})), -) - -GET_INSTANCE_UEFI_DATA: StaticOperationSchema = ( - 23, - n0, - _GIUD, - 0, - GET_INSTANCE_UEFI_DATA_INPUT, - GET_INSTANCE_UEFI_DATA_OUTPUT, - (), -) - -IPAM_ADDRESS_HISTORY_MAX_RESULTS: StaticSchema = (7, n0, _IAHMR, 0) - -GET_IPAM_ADDRESS_HISTORY_INPUT: StaticSchema = ( - 18, - n0, - _GIAHI, - {_sSI: _cGIAHR, _sm: None}, - (_DR, _Ci, _ISI, _VI, _ST, _ETnd, _MR, _NTex), - ( - (BOOLEAN, 0), - (STRING, 1), - (IPAM_SCOPE_ID, 1), - (STRING, 0), - (MILLISECOND_DATE_TIME, 0), - (MILLISECOND_DATE_TIME, 0), - (IPAM_ADDRESS_HISTORY_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IPAM_COMPLIANCE_STATUS: StaticSchema = ( - 14, - n0, - _ICSp, - 0, - (_complia, _non, _unm, _ign), - ((-1, {_sV: _complia}), (-1, {_sV: _non}), (-1, {_sV: _unm}), (-1, {_sV: _ign})), -) - -IPAM_OVERLAP_STATUS: StaticSchema = ( - 14, - n0, - _IOSp, - 0, - (_ove, _nono, _ign), - ((-1, {_sV: _ove}), (-1, {_sV: _nono}), (-1, {_sV: _ign})), -) - -IPAM_ADDRESS_HISTORY_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _IAHRT, - 0, - (_eip, _vp, _su, _ni, _ins), - ( - (-1, {_sV: _eip}), - (-1, {_sV: _vp}), - (-1, {_sV: _su}), - (-1, {_sV: _ni_}), - (-1, {_sV: _ins}), - ), -) - -IPAM_ADDRESS_HISTORY_RECORD: StaticSchema = ( - 18, - n0, - _IAHR, - 0, - (_ROI, _RR, _RT, _RIe, _RCes, _RNes, _RCS, _ROSe, _VI, _SST, _SET), - ( - (STRING, {_aQN: _ROI, _sN: _rOI}), - (STRING, {_aQN: _RR, _sN: _rR}), - (IPAM_ADDRESS_HISTORY_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (STRING, {_aQN: _RCes, _sN: _rCes}), - (STRING, {_aQN: _RNes, _sN: _rNes}), - (IPAM_COMPLIANCE_STATUS, {_aQN: _RCS, _sN: _rCS}), - (IPAM_OVERLAP_STATUS, {_aQN: _ROSe, _sN: _rOSe}), - (STRING, {_aQN: _VI, _sN: _vI}), - (MILLISECOND_DATE_TIME, {_aQN: _SST, _sN: _sST}), - (MILLISECOND_DATE_TIME, {_aQN: _SET, _sN: _sET}), - ), -) - -IPAM_ADDRESS_HISTORY_RECORD_SET: StaticSchema = ( - 16, - n0, - _IAHRS, - 0, - (_me,), - ((IPAM_ADDRESS_HISTORY_RECORD, {_sN: _i}),), -) - -GET_IPAM_ADDRESS_HISTORY_OUTPUT: StaticSchema = ( - 18, - n0, - _GIAHO, - {_sSI: _cGIAHRo, _smit: None}, - (_HRi, _NTex), - ( - (IPAM_ADDRESS_HISTORY_RECORD_SET, {_aQN: _HRS, _sN: _hRS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_ADDRESS_HISTORY: StaticOperationSchema = ( - 23, - n0, - _GIAH, - 0, - GET_IPAM_ADDRESS_HISTORY_INPUT, - GET_IPAM_ADDRESS_HISTORY_OUTPUT, - (), -) - -GET_IPAM_DISCOVERED_ACCOUNTS_INPUT: StaticSchema = ( - 18, - n0, - _GIDAI, - {_sSI: _cGIDAR, _sm: None}, - (_DR, _IRDI, _DRi, _Fil, _NTex, _MR), - ( - (BOOLEAN, 0), - (IPAM_RESOURCE_DISCOVERY_ID, 1), - (STRING, 1), - (FILTER_LIST, {_sN: _Fi}), - (NEXT_TOKEN, 0), - (IPAM_MAX_RESULTS, 0), - ), -) - -IPAM_DISCOVERY_FAILURE_CODE: StaticSchema = ( - 14, - n0, - _IDFC, - 0, - (_arf, _tf__, _uf__), - ((-1, {_sV: _arf_}), (-1, {_sV: _tf___}), (-1, {_sV: _uf___})), -) - -IPAM_DISCOVERY_FAILURE_REASON: StaticSchema = ( - 18, - n0, - _IDFR, - 0, - (_C, _Me), - ( - (IPAM_DISCOVERY_FAILURE_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -IPAM_DISCOVERED_ACCOUNT: StaticSchema = ( - 18, - n0, - _IDA, - 0, - (_AIcco, _DRi, _FRa, _LADT, _LSDT, _OUI), - ( - (STRING, {_aQN: _AIcco, _sN: _aIc}), - (STRING, {_aQN: _DRi, _sN: _dRi}), - (IPAM_DISCOVERY_FAILURE_REASON, {_aQN: _FRa, _sN: _fRa}), - (MILLISECOND_DATE_TIME, {_aQN: _LADT, _sN: _lADT}), - (MILLISECOND_DATE_TIME, {_aQN: _LSDT, _sN: _lSDT}), - (STRING, {_aQN: _OUI, _sN: _oUI}), - ), -) - -IPAM_DISCOVERED_ACCOUNT_SET: StaticSchema = ( - 16, - n0, - _IDAS, - 0, - (_me,), - ((IPAM_DISCOVERED_ACCOUNT, {_sN: _i}),), -) - -GET_IPAM_DISCOVERED_ACCOUNTS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIDAO, - {_sSI: _cGIDARo, _smit: None}, - (_IDAp, _NTex), - ( - (IPAM_DISCOVERED_ACCOUNT_SET, {_aQN: _IDAS, _sN: _iDAS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_DISCOVERED_ACCOUNTS: StaticOperationSchema = ( - 23, - n0, - _GIDA, - 0, - GET_IPAM_DISCOVERED_ACCOUNTS_INPUT, - GET_IPAM_DISCOVERED_ACCOUNTS_OUTPUT, - (), -) - -GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_INPUT: StaticSchema = ( - 18, - n0, - _GIDPAI, - {_sSI: _cGIDPAR, _sm: None}, - (_DR, _IRDI, _ARd, _Fil, _NTex, _MR), - ( - (BOOLEAN, 0), - (IPAM_RESOURCE_DISCOVERY_ID, 1), - (STRING, 1), - (FILTER_LIST, {_sN: _Fi}), - (NEXT_TOKEN, 0), - (IPAM_MAX_RESULTS, 0), - ), -) - -IPAM_PUBLIC_ADDRESS_TYPE: StaticSchema = ( - 14, - n0, - _IPAT, - 0, - (_SMI, _SMB, _AOE, _AOC, _BYOIP, _EPI_, _AILI), - ( - (-1, {_sV: _smi_}), - (-1, {_sV: _smb}), - (-1, {_sV: _aoe}), - (-1, {_sV: _aoc}), - (-1, {_sV: _b}), - (-1, {_sV: _epi}), - (-1, {_sV: _aili}), - ), -) - -IPAM_PUBLIC_ADDRESS_ASSOCIATION_STATUS: StaticSchema = ( - 14, - n0, - _IPAAS, - 0, - (_ASSOCIATED, _DISASSOCIATED), - ((-1, {_sV: _ass}), (-1, {_sV: _dis})), -) - -IPAM_PUBLIC_ADDRESS_SECURITY_GROUP: StaticSchema = ( - 18, - n0, - _IPASG, - 0, - (_GN, _GIr), - ((STRING, {_aQN: _GN, _sN: _gN}), (STRING, {_aQN: _GIr, _sN: _gIr})), -) - -IPAM_PUBLIC_ADDRESS_SECURITY_GROUP_LIST: StaticSchema = ( - 16, - n0, - _IPASGL, - 0, - (_me,), - ((IPAM_PUBLIC_ADDRESS_SECURITY_GROUP, {_sN: _i}),), -) - -IPAM_PUBLIC_ADDRESS_AWS_SERVICE: StaticSchema = ( - 14, - n0, - _IPAASp, - 0, - (_NG_, _DMS, _REDSHIFT, _ECS_, _RDS_, _SV_, _EL_, _AGA, _CLOUDFRONT, _OTHER), - ( - (-1, {_sV: _ng}), - (-1, {_sV: _dms}), - (-1, {_sV: _red}), - (-1, {_sV: _ecs}), - (-1, {_sV: _rds}), - (-1, {_sV: _stsv}), - (-1, {_sV: _lb_}), - (-1, {_sV: _ga_}), - (-1, {_sV: _clo}), - (-1, {_sV: _oth}), - ), -) - -IPAM_PUBLIC_ADDRESS_TAG: StaticSchema = ( - 18, - n0, - _IPATp, - 0, - (_Ke, _Va), - ((STRING, {_aQN: _Ke, _sN: _ke}), (STRING, {_aQN: _Va, _sN: _va})), -) - -IPAM_PUBLIC_ADDRESS_TAG_LIST: StaticSchema = ( - 16, - n0, - _IPATL, - 0, - (_me,), - ((IPAM_PUBLIC_ADDRESS_TAG, {_sN: _i}),), -) - -IPAM_PUBLIC_ADDRESS_TAGS: StaticSchema = ( - 18, - n0, - _IPATpa, - 0, - (_ETi,), - ((IPAM_PUBLIC_ADDRESS_TAG_LIST, {_aQN: _ETSi, _sN: _eTSi}),), -) - -IPAM_DISCOVERED_PUBLIC_ADDRESS: StaticSchema = ( - 18, - n0, - _IDPA, - 0, - ( - _IRDI, - _ARd, - _Ad, - _AOI, - _AAId, - _ASs, - _ATddre, - _Ser, - _SRerv, - _VI, - _SIu, - _PIPI, - _NII, - _NID, - _II, - _Tag, - _NBG, - _SGe, - _STa, - ), - ( - (IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), - (STRING, {_aQN: _ARd, _sN: _aRd}), - (STRING, {_aQN: _Ad, _sN: _ad}), - (STRING, {_aQN: _AOI, _sN: _aOI}), - (STRING, {_aQN: _AAId, _sN: _aAId}), - (IPAM_PUBLIC_ADDRESS_ASSOCIATION_STATUS, {_aQN: _ASs, _sN: _aSsso}), - (IPAM_PUBLIC_ADDRESS_TYPE, {_aQN: _ATddre, _sN: _aTddr}), - (IPAM_PUBLIC_ADDRESS_AWS_SERVICE, {_aQN: _Ser, _sN: _ser}), - (STRING, {_aQN: _SRerv, _sN: _sRer}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (STRING, {_aQN: _PIPI, _sN: _pIPI}), - (STRING, {_aQN: _NII, _sN: _nII}), - (STRING, {_aQN: _NID, _sN: _nID}), - (STRING, {_aQN: _II, _sN: _iI}), - (IPAM_PUBLIC_ADDRESS_TAGS, {_aQN: _Tag, _sN: _tags}), - (STRING, {_aQN: _NBG, _sN: _nBG}), - (IPAM_PUBLIC_ADDRESS_SECURITY_GROUP_LIST, {_aQN: _SGS, _sN: _sGS}), - (MILLISECOND_DATE_TIME, {_aQN: _STa, _sN: _sTa}), - ), -) - -IPAM_DISCOVERED_PUBLIC_ADDRESS_SET: StaticSchema = ( - 16, - n0, - _IDPAS, - 0, - (_me,), - ((IPAM_DISCOVERED_PUBLIC_ADDRESS, {_sN: _i}),), -) - -GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_OUTPUT: StaticSchema = ( - 18, - n0, - _GIDPAO, - {_sSI: _cGIDPARo, _smit: None}, - (_IDPAp, _OST, _NTex), - ( - (IPAM_DISCOVERED_PUBLIC_ADDRESS_SET, {_aQN: _IDPAS, _sN: _iDPAS}), - (MILLISECOND_DATE_TIME, {_aQN: _OST, _sN: _oST}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES: StaticOperationSchema = ( - 23, - n0, - _GIDPA, - 0, - GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_INPUT, - GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_OUTPUT, - (), -) - -GET_IPAM_DISCOVERED_RESOURCE_CIDRS_INPUT: StaticSchema = ( - 18, - n0, - _GIDRCI, - {_sSI: _cGIDRCR, _sm: None}, - (_DR, _IRDI, _RR, _Fil, _NTex, _MR), - ( - (BOOLEAN, 0), - (IPAM_RESOURCE_DISCOVERY_ID, 1), - (STRING, 1), - (FILTER_LIST, {_sN: _Fi}), - (NEXT_TOKEN, 0), - (IPAM_MAX_RESULTS, 0), - ), -) - -IPAM_RESOURCE_CIDR_IP_SOURCE: StaticSchema = ( - 14, - n0, - _IRCIS, - 0, - (_ama, _b, _no), - ((-1, {_sV: _ama}), (-1, {_sV: _b}), (-1, {_sV: _no})), -) - -BOXED_DOUBLE: StaticSchema = (10, n0, _BD, 0) - -IPAM_NETWORK_INTERFACE_ATTACHMENT_STATUS: StaticSchema = ( - 14, - n0, - _INIAS, - 0, - (_av, _iu), - ((-1, {_sV: _av}), (-1, {_sV: _iu_})), -) - -IPAM_DISCOVERED_RESOURCE_CIDR: StaticSchema = ( - 18, - n0, - _IDRC, - 0, - ( - _IRDI, - _RR, - _RIe, - _ROI, - _RCes, - _ISp, - _RT, - _RTesou, - _IUp, - _VI, - _SIu, - _NIASetw, - _STa, - _AZI, - ), - ( - (IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), - (STRING, {_aQN: _RR, _sN: _rR}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (STRING, {_aQN: _ROI, _sN: _rOI}), - (STRING, {_aQN: _RCes, _sN: _rCes}), - (IPAM_RESOURCE_CIDR_IP_SOURCE, {_aQN: _ISp, _sN: _iSp}), - (IPAM_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (IPAM_RESOURCE_TAG_LIST, {_aQN: _RTSes, _sN: _rTSes}), - (BOXED_DOUBLE, {_aQN: _IUp, _sN: _iU}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (IPAM_NETWORK_INTERFACE_ATTACHMENT_STATUS, {_aQN: _NIASetw, _sN: _nIASet}), - (MILLISECOND_DATE_TIME, {_aQN: _STa, _sN: _sTa}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - ), -) - -IPAM_DISCOVERED_RESOURCE_CIDR_SET: StaticSchema = ( - 16, - n0, - _IDRCS, - 0, - (_me,), - ((IPAM_DISCOVERED_RESOURCE_CIDR, {_sN: _i}),), -) - -GET_IPAM_DISCOVERED_RESOURCE_CIDRS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIDRCO, - {_sSI: _cGIDRCRo, _smit: None}, - (_IDRCp, _NTex), - ( - (IPAM_DISCOVERED_RESOURCE_CIDR_SET, {_aQN: _IDRCS, _sN: _iDRCS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_DISCOVERED_RESOURCE_CIDRS: StaticOperationSchema = ( - 23, - n0, - _GIDRC, - 0, - GET_IPAM_DISCOVERED_RESOURCE_CIDRS_INPUT, - GET_IPAM_DISCOVERED_RESOURCE_CIDRS_OUTPUT, - (), -) - -GET_IPAM_DISCOVERED_ROUTES_INPUT: StaticSchema = ( - 18, - n0, - _GIDRI, - {_sSI: _cGIDRR, _sm: None}, - (_DR, _IRDI, _RR, _Fil, _NTex, _MR), - ( - (BOOLEAN, 0), - (IPAM_RESOURCE_DISCOVERY_ID, 1), - (STRING, 1), - (FILTER_LIST, {_sN: _Fi}), - (NEXT_TOKEN, 0), - (IPAM_MAX_RESULTS, 0), - ), -) - -IPAM_BYOIP_ADVERTISEMENT_TYPE: StaticSchema = ( - 14, - n0, - _IBAT, - 0, - (_regi, _glo), - ((-1, {_sV: _regi}), (-1, {_sV: _glo})), -) - -IPAM_BYOIP_CIDR_STATE: StaticSchema = ( - 14, - n0, - _IBCS, - 0, - (_adv, _dep, _fd__, _fp, _pa____, _pd__, _pp, _pw, _prov, _pnpa), - ( - (-1, {_sV: _adv}), - (-1, {_sV: _dep}), - (-1, {_sV: _fd___}), - (-1, {_sV: _fp_}), - (-1, {_sV: _pa_____}), - (-1, {_sV: _pd___}), - (-1, {_sV: _pp_}), - (-1, {_sV: _pw_}), - (-1, {_sV: _prov}), - (-1, {_sV: _pnpa_}), - ), -) - -IPAM_DISCOVERED_ROUTE: StaticSchema = ( - 18, - n0, - _IDRp, - 0, - (_IRDI, _RR, _ROI, _Ci, _Asn, _St, _ATdv, _NBG, _PIo, _IPI, _STa), - ( - (IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), - (STRING, {_aQN: _RR, _sN: _rR}), - (STRING, {_aQN: _ROI, _sN: _rOI}), - (STRING, {_aQN: _Ci, _sN: _ci}), - (STRING, {_aQN: _Asn, _sN: _asn}), - (IPAM_BYOIP_CIDR_STATE, {_aQN: _St, _sN: _st}), - (IPAM_BYOIP_ADVERTISEMENT_TYPE, {_aQN: _ATdv, _sN: _aTd}), - (STRING, {_aQN: _NBG, _sN: _nBG}), - (STRING, {_aQN: _PIo, _sN: _pIo}), - (STRING, {_aQN: _IPI, _sN: _iPI}), - (MILLISECOND_DATE_TIME, {_aQN: _STa, _sN: _sTa}), - ), -) - -IPAM_DISCOVERED_ROUTE_SET: StaticSchema = ( - 16, - n0, - _IDRS, - 0, - (_me,), - ((IPAM_DISCOVERED_ROUTE, {_sN: _i}),), -) - -GET_IPAM_DISCOVERED_ROUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _GIDRO, - {_sSI: _cGIDRRo, _smit: None}, - (_IDRpa, _NTex), - ( - (IPAM_DISCOVERED_ROUTE_SET, {_aQN: _IDRS, _sN: _iDRS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_DISCOVERED_ROUTES: StaticOperationSchema = ( - 23, - n0, - _GIDR, - 0, - GET_IPAM_DISCOVERED_ROUTES_INPUT, - GET_IPAM_DISCOVERED_ROUTES_OUTPUT, - (), -) - -GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_INPUT: StaticSchema = ( - 18, - n0, - _GIIRAAI, - {_sSI: _cGIIRAAR, _sm: None}, - (_DR, _IIRAI, _MR, _NTex, _Fil), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN: StaticSchema = ( - 18, - n0, - _IIRAAp, - 0, - (_Asn, _LOA), - ( - (STRING, {_aQN: _Asn, _sN: _asn}), - (MILLISECOND_DATE_TIME, {_aQN: _LOA, _sN: _lOA}), - ), -) - -IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN_SET: StaticSchema = ( - 16, - n0, - _IIRAAS, - 0, - (_me,), - ((IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN, {_sN: _i}),), -) - -GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIIRAAO, - {_sSI: _cGIIRAARo, _smit: None}, - (_NTex, _IIRAApa), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN_SET, {_aQN: _IIRAAS, _sN: _iIRAAS}), - ), -) - -GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS: StaticOperationSchema = ( - 23, - n0, - _GIIRAA, - 0, - GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_INPUT, - GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_OUTPUT, - (), -) - -GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_INPUT: StaticSchema = ( - 18, - n0, - _GIIRACI, - {_sSI: _cGIIRACR, _sm: None}, - (_DR, _IIRAI, _MR, _NTex, _Fil), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR: StaticSchema = ( - 18, - n0, - _IIRAC, - 0, - (_Ci, _LOA), - ((STRING, {_aQN: _Ci, _sN: _ci}), (MILLISECOND_DATE_TIME, {_aQN: _LOA, _sN: _lOA})), -) - -IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR_SET: StaticSchema = ( - 16, - n0, - _IIRACS, - 0, - (_me,), - ((IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR, {_sN: _i}),), -) - -GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIIRACO, - {_sSI: _cGIIRACRo, _smit: None}, - (_NTex, _IIRACp), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR_SET, {_aQN: _IIRACS, _sN: _iIRACS}), - ), -) - -GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS: StaticOperationSchema = ( - 23, - n0, - _GIIRAC, - 0, - GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_INPUT, - GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_OUTPUT, - (), -) - -IPAM_POLICY_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _IPRT, - 0, - (_al, _eip, _rd, _rn), - ((-1, {_sV: _al}), (-1, {_sV: _eip}), (-1, {_sV: _rd}), (-1, {_sV: _rn})), -) - -GET_IPAM_POLICY_ALLOCATION_RULES_INPUT: StaticSchema = ( - 18, - n0, - _GIPARI, - {_sSI: _cGIPARR, _sm: None}, - (_DR, _IPIp, _Fil, _Loc, _RT, _MR, _NTex), - ( - (BOOLEAN, 0), - (IPAM_POLICY_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (STRING, 0), - (IPAM_POLICY_RESOURCE_TYPE, 0), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IPAM_POLICY_ALLOCATION_RULE: StaticSchema = ( - 18, - n0, - _IPAR, - 0, - (_SIPI,), - ((IPAM_POOL_ID, {_aQN: _SIPI, _sN: _sIPI}),), -) - -IPAM_POLICY_ALLOCATION_RULE_LIST: StaticSchema = ( - 16, - n0, - _IPARL, - 0, - (_me,), - ((IPAM_POLICY_ALLOCATION_RULE, {_sN: _i}),), -) - -IPAM_POLICY_DOCUMENT: StaticSchema = ( - 18, - n0, - _IPD, - 0, - (_IPIp, _Loc, _RT, _ARllo), - ( - (IPAM_POLICY_ID, {_aQN: _IPIp, _sN: _iPIp}), - (STRING, {_aQN: _Loc, _sN: _loc}), - (IPAM_POLICY_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (IPAM_POLICY_ALLOCATION_RULE_LIST, {_aQN: _ARSl, _sN: _aRSl}), - ), -) - -IPAM_POLICY_DOCUMENT_SET: StaticSchema = ( - 16, - n0, - _IPDS, - 0, - (_me,), - ((IPAM_POLICY_DOCUMENT, {_sN: _i}),), -) - -GET_IPAM_POLICY_ALLOCATION_RULES_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPARO, - {_sSI: _cGIPARRo, _smit: None}, - (_IPDp, _NTex), - ( - (IPAM_POLICY_DOCUMENT_SET, {_aQN: _IPDS, _sN: _iPDS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_POLICY_ALLOCATION_RULES: StaticOperationSchema = ( - 23, - n0, - _GIPAR, - 0, - GET_IPAM_POLICY_ALLOCATION_RULES_INPUT, - GET_IPAM_POLICY_ALLOCATION_RULES_OUTPUT, - (), -) - -GET_IPAM_POLICY_ORGANIZATION_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _GIPOTI, - {_sSI: _cGIPOTR, _sm: None}, - (_DR, _MR, _NTex, _IPIp, _Fil), - ( - (BOOLEAN, 0), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (IPAM_POLICY_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -IPAM_POLICY_ORGANIZATION_TARGET: StaticSchema = ( - 18, - n0, - _IPOT, - 0, - (_OTI,), - ((STRING, {_aQN: _OTI, _sN: _oTI}),), -) - -IPAM_POLICY_ORGANIZATION_TARGET_SET: StaticSchema = ( - 16, - n0, - _IPOTS, - 0, - (_me,), - ((IPAM_POLICY_ORGANIZATION_TARGET, {_sN: _i}),), -) - -GET_IPAM_POLICY_ORGANIZATION_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPOTO, - {_sSI: _cGIPOTRo, _smit: None}, - (_OTrg, _NTex), - ( - (IPAM_POLICY_ORGANIZATION_TARGET_SET, {_aQN: _OTS, _sN: _oTS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_POLICY_ORGANIZATION_TARGETS: StaticOperationSchema = ( - 23, - n0, - _GIPOT, - 0, - GET_IPAM_POLICY_ORGANIZATION_TARGETS_INPUT, - GET_IPAM_POLICY_ORGANIZATION_TARGETS_OUTPUT, - (), -) - -GET_IPAM_POOL_ALLOCATIONS_MAX_RESULTS: StaticSchema = (7, n0, _GIPAMR, 0) - -GET_IPAM_POOL_ALLOCATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GIPAI, - {_sSI: _cGIPAR, _sm: None}, - (_DR, _IPI, _IPAI, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (IPAM_POOL_ID, 1), - (IPAM_POOL_ALLOCATION_ID, 0), - (FILTER_LIST, {_sN: _Fi}), - (GET_IPAM_POOL_ALLOCATIONS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -GET_IPAM_POOL_ALLOCATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPAO, - {_sSI: _cGIPARo, _smit: None}, - (_IPApam, _NTex), - ( - (IPAM_POOL_ALLOCATION_SET, {_aQN: _IPASp, _sN: _iPAS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_POOL_ALLOCATIONS: StaticOperationSchema = ( - 23, - n0, - _GIPA, - 0, - GET_IPAM_POOL_ALLOCATIONS_INPUT, - GET_IPAM_POOL_ALLOCATIONS_OUTPUT, - (), -) - -GET_IPAM_POOL_CIDRS_INPUT: StaticSchema = ( - 18, - n0, - _GIPCI, - {_sSI: _cGIPCR, _sm: None}, - (_DR, _IPI, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (IPAM_POOL_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IPAM_POOL_CIDR_SET: StaticSchema = ( - 16, - n0, - _IPCSp, - 0, - (_me,), - ((IPAM_POOL_CIDR, {_sN: _i}),), -) - -GET_IPAM_POOL_CIDRS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPCO, - {_sSI: _cGIPCRo, _smit: None}, - (_IPCpam, _NTex), - ( - (IPAM_POOL_CIDR_SET, {_aQN: _IPCSp, _sN: _iPCS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_POOL_CIDRS: StaticOperationSchema = ( - 23, - n0, - _GIPC, - 0, - GET_IPAM_POOL_CIDRS_INPUT, - GET_IPAM_POOL_CIDRS_OUTPUT, - (), -) - -GET_IPAM_PREFIX_LIST_RESOLVER_RULES_INPUT: StaticSchema = ( - 18, - n0, - _GIPLRRI, - {_sSI: _cGIPLRRR, _sm: None}, - (_DR, _IPLRI, _Fil, _MR, _NTex), - ( - (BOOLEAN, 0), - (IPAM_PREFIX_LIST_RESOLVER_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION: StaticSchema = ( - 18, - n0, - _IPLRRC, - 0, - (_Ope, _IPI, _RIe, _ROe, _RR, _RTeso, _Ci), - ( - (IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_OPERATION, {_aQN: _Ope, _sN: _oper}), - (STRING, {_aQN: _IPI, _sN: _iPI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (STRING, {_aQN: _ROe, _sN: _rOe}), - (STRING, {_aQN: _RR, _sN: _rR}), - (IPAM_RESOURCE_TAG, {_aQN: _RTeso, _sN: _rTes}), - (STRING, {_aQN: _Ci, _sN: _ci}), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_SET: StaticSchema = ( - 16, - n0, - _IPLRRCS, - 0, - (_me,), - ((IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION, {_sN: _i}),), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE: StaticSchema = ( - 18, - n0, - _IPLRR, - 0, - (_RTu, _SCt, _ISI, _RT, _Condi), - ( - (IPAM_PREFIX_LIST_RESOLVER_RULE_TYPE, {_aQN: _RTu, _sN: _rTu}), - (STRING, {_aQN: _SCt, _sN: _sCta}), - (IPAM_SCOPE_ID, {_aQN: _ISI, _sN: _iSI}), - (IPAM_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_SET, {_aQN: _CSond, _sN: _cSon}), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_RULE_SET: StaticSchema = ( - 16, - n0, - _IPLRRS, - 0, - (_me,), - ((IPAM_PREFIX_LIST_RESOLVER_RULE, {_sN: _i}),), -) - -GET_IPAM_PREFIX_LIST_RESOLVER_RULES_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPLRRO, - {_sSI: _cGIPLRRRo, _smit: None}, - (_Rul, _NTex), - ( - (IPAM_PREFIX_LIST_RESOLVER_RULE_SET, {_aQN: _RSu, _sN: _rSu}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_PREFIX_LIST_RESOLVER_RULES: StaticOperationSchema = ( - 23, - n0, - _GIPLRR, - 0, - GET_IPAM_PREFIX_LIST_RESOLVER_RULES_INPUT, - GET_IPAM_PREFIX_LIST_RESOLVER_RULES_OUTPUT, - (), -) - -GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_INPUT: StaticSchema = ( - 18, - n0, - _GIPLRVEI, - {_sSI: _cGIPLRVER, _sm: None}, - (_DR, _IPLRI, _IPLRV, _MR, _NTex), - ( - (BOOLEAN, 0), - (IPAM_PREFIX_LIST_RESOLVER_ID, 1), - (LONG, 1), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY: StaticSchema = ( - 18, - n0, - _IPLRVE, - 0, - (_Ci,), - ((STRING, {_aQN: _Ci, _sN: _ci}),), -) - -IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY_SET: StaticSchema = ( - 16, - n0, - _IPLRVES, - 0, - (_me,), - ((IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY, {_sN: _i}),), -) - -GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPLRVEO, - {_sSI: _cGIPLRVERo, _smit: None}, - (_Ent, _NTex), - ( - (IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY_SET, {_aQN: _ESn, _sN: _eSn}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES: StaticOperationSchema = ( - 23, - n0, - _GIPLRVE, - 0, - GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_INPUT, - GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_OUTPUT, - (), -) - -IPAM_PREFIX_LIST_RESOLVER_VERSION_NUMBER_SET: StaticSchema = ( - 16, - n0, - _IPLRVNS, - 0, - (_me,), - ((LONG, {_sN: _i}),), -) - -GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _GIPLRVI, - {_sSI: _cGIPLRVR, _sm: None}, - (_DR, _IPLRI, _IPLRVp, _MR, _Fil, _NTex), - ( - (BOOLEAN, 0), - (IPAM_PREFIX_LIST_RESOLVER_ID, 1), - (IPAM_PREFIX_LIST_RESOLVER_VERSION_NUMBER_SET, {_sN: _IPLRV}), - (IPAM_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (NEXT_TOKEN, 0), - ), -) - -IPAM_PREFIX_LIST_RESOLVER_VERSION: StaticSchema = ( - 18, - n0, - _IPLRV, - 0, - (_Ve,), - ((LONG, {_aQN: _Ve, _sN: _ver}),), -) - -IPAM_PREFIX_LIST_RESOLVER_VERSION_SET: StaticSchema = ( - 16, - n0, - _IPLRVS, - 0, - (_me,), - ((IPAM_PREFIX_LIST_RESOLVER_VERSION, {_sN: _i}),), -) - -GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPLRVO, - {_sSI: _cGIPLRVRo, _smit: None}, - (_IPLRVp, _NTex), - ( - (IPAM_PREFIX_LIST_RESOLVER_VERSION_SET, {_aQN: _IPLRVS, _sN: _iPLRVS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _GIPLRV, - 0, - GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_INPUT, - GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_OUTPUT, - (), -) - -GET_IPAM_RESOURCE_CIDRS_INPUT: StaticSchema = ( - 18, - n0, - _GIRCI, - {_sSI: _cGIRCR, _sm: None}, - (_DR, _Fil, _MR, _NTex, _ISI, _IPI, _RIe, _RT, _RTeso, _ROe), - ( - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (IPAM_SCOPE_ID, 1), - (IPAM_POOL_ID, 0), - (STRING, 0), - (IPAM_RESOURCE_TYPE, 0), - (REQUEST_IPAM_RESOURCE_TAG, 0), - (STRING, 0), - ), -) - -IPAM_MANAGEMENT_STATE: StaticSchema = ( - 14, - n0, - _IMS, - 0, - (_man, _unm, _ign), - ((-1, {_sV: _man}), (-1, {_sV: _unm}), (-1, {_sV: _ign})), -) - -IPAM_RESOURCE_CIDR: StaticSchema = ( - 18, - n0, - _IRC, - 0, - ( - _IIp, - _ISI, - _IPI, - _RR, - _ROI, - _RIe, - _RNes, - _RCes, - _RT, - _RTesou, - _IUp, - _CSom, - _MSa, - _OSv, - _VI, - _AZI, - ), - ( - (IPAM_ID, {_aQN: _IIp, _sN: _iIp}), - (IPAM_SCOPE_ID, {_aQN: _ISI, _sN: _iSI}), - (IPAM_POOL_ID, {_aQN: _IPI, _sN: _iPI}), - (STRING, {_aQN: _RR, _sN: _rR}), - (STRING, {_aQN: _ROI, _sN: _rOI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (STRING, {_aQN: _RNes, _sN: _rNes}), - (STRING, {_aQN: _RCes, _sN: _rCes}), - (IPAM_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (IPAM_RESOURCE_TAG_LIST, {_aQN: _RTSes, _sN: _rTSes}), - (BOXED_DOUBLE, {_aQN: _IUp, _sN: _iU}), - (IPAM_COMPLIANCE_STATUS, {_aQN: _CSom, _sN: _cSomp}), - (IPAM_MANAGEMENT_STATE, {_aQN: _MSa, _sN: _mSan}), - (IPAM_OVERLAP_STATUS, {_aQN: _OSv, _sN: _oSv}), - (STRING, {_aQN: _VI, _sN: _vI}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - ), -) - -IPAM_RESOURCE_CIDR_SET: StaticSchema = ( - 16, - n0, - _IRCS, - 0, - (_me,), - ((IPAM_RESOURCE_CIDR, {_sN: _i}),), -) - -GET_IPAM_RESOURCE_CIDRS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIRCO, - {_sSI: _cGIRCRo, _smit: None}, - (_NTex, _IRCp), - ( - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - (IPAM_RESOURCE_CIDR_SET, {_aQN: _IRCS, _sN: _iRCS}), - ), -) - -GET_IPAM_RESOURCE_CIDRS: StaticOperationSchema = ( - 23, - n0, - _GIRC, - 0, - GET_IPAM_RESOURCE_CIDRS_INPUT, - GET_IPAM_RESOURCE_CIDRS_OUTPUT, - (), -) - -GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GIROAI, - {_sSI: _cGIROAR, _sm: None}, - (_DR, _IIRAI, _Ci, _MR, _NTex), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (STRING, 0), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO: StaticSchema = ( - 18, - n0, - _IROAI, - 0, - (_Ci, _Asn, _ML), - ( - (STRING, {_aQN: _Ci, _sN: _ci}), - (STRING, {_aQN: _Asn, _sN: _asn}), - (INTEGER, {_aQN: _ML, _sN: _mL}), - ), -) - -IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO_SET: StaticSchema = ( - 16, - n0, - _IROAIS, - 0, - (_me,), - ((IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO, {_sN: _i}),), -) - -GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIROAO, - {_sSI: _cGIROARo, _smit: None}, - (_IROA, _NTex), - ( - (IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO_SET, {_aQN: _IROAS, _sN: _iROAS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS: StaticOperationSchema = ( - 23, - n0, - _GIROA, - 0, - GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_INPUT, - GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_OUTPUT, - (), -) - -GET_IPAM_ROUTE_PROTECTION_FINDINGS_INPUT: StaticSchema = ( - 18, - n0, - _GIRPFI, - {_sSI: _cGIRPFR, _sm: None}, - (_DR, _IIp, _Fil, _NTex, _MR), - ( - (BOOLEAN, 0), - (IPAM_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (NEXT_TOKEN, 0), - (IPAM_MAX_RESULTS, 0), - ), -) - -IPAM_ROUTE_ORIGIN_AUTHORIZATION: StaticSchema = ( - 18, - n0, - _IROAp, - 0, - (_Asn, _Pre, _ML, _Mat, _Expir), - ( - (STRING, {_aQN: _Asn, _sN: _asn}), - (STRING, {_aQN: _Pre, _sN: _pre}), - (INTEGER, {_aQN: _ML, _sN: _mL}), - (BOOLEAN, {_aQN: _Mat, _sN: _mat}), - (MILLISECOND_DATE_TIME, {_aQN: _Expir, _sN: _expi}), - ), -) - -IPAM_ROUTE_ORIGIN_AUTHORIZATION_SET: StaticSchema = ( - 16, - n0, - _IROAS, - 0, - (_me,), - ((IPAM_ROUTE_ORIGIN_AUTHORIZATION, {_sN: _i}),), -) - -IPAM_ROUTE_OVERLAP: StaticSchema = ( - 18, - n0, - _IRO, - 0, - (_Pre, _Asn, _DAet), - ( - (STRING, {_aQN: _Pre, _sN: _pre}), - (STRING, {_aQN: _Asn, _sN: _asn}), - (MILLISECOND_DATE_TIME, {_aQN: _DAet, _sN: _dAet}), - ), -) - -IPAM_ROUTE_OVERLAP_SET: StaticSchema = ( - 16, - n0, - _IROS, - 0, - (_me,), - ((IPAM_ROUTE_OVERLAP, {_sN: _i}),), -) - -IPAM_RPKI_STATUS: StaticSchema = ( - 14, - n0, - _IRSp, - 0, - (_val, _inv, _unk), - ((-1, {_sV: _val}), (-1, {_sV: _inv}), (-1, {_sV: _unk})), -) - -IPAM_RPKI_STRENGTH: StaticSchema = ( - 14, - n0, - _IRSpa, - 0, - (_stri, _permi), - ((-1, {_sV: _stri}), (-1, {_sV: _permi})), -) - -IPAM_ROUTE_PROTECTION_FINDING: StaticSchema = ( - 18, - n0, - _IRPF, - 0, - ( - _ROI, - _RR, - _IPI, - _Ci, - _St, - _ATdv, - _NBG, - _PIo, - _Asn, - _RSp, - _RSpk, - _Roa, - _ROou, - _STa, - _RSTo, - ), - ( - (STRING, {_aQN: _ROI, _sN: _rOI}), - (STRING, {_aQN: _RR, _sN: _rR}), - (IPAM_POOL_ID, {_aQN: _IPI, _sN: _iPI}), - (STRING, {_aQN: _Ci, _sN: _ci}), - (IPAM_BYOIP_CIDR_STATE, {_aQN: _St, _sN: _st}), - (IPAM_BYOIP_ADVERTISEMENT_TYPE, {_aQN: _ATdv, _sN: _aTd}), - (STRING, {_aQN: _NBG, _sN: _nBG}), - (STRING, {_aQN: _PIo, _sN: _pIo}), - (STRING, {_aQN: _Asn, _sN: _asn}), - (IPAM_RPKI_STATUS, {_aQN: _RSp, _sN: _rSp}), - (IPAM_RPKI_STRENGTH, {_aQN: _RSpk, _sN: _rSpk}), - (IPAM_ROUTE_ORIGIN_AUTHORIZATION_SET, {_aQN: _RSoa, _sN: _rSoa}), - (IPAM_ROUTE_OVERLAP_SET, {_aQN: _ROSo, _sN: _rOSo}), - (MILLISECOND_DATE_TIME, {_aQN: _STa, _sN: _sTa}), - (MILLISECOND_DATE_TIME, {_aQN: _RSTo, _sN: _rSTo}), - ), -) - -IPAM_ROUTE_PROTECTION_FINDING_SET: StaticSchema = ( - 16, - n0, - _IRPFS, - 0, - (_me,), - ((IPAM_ROUTE_PROTECTION_FINDING, {_sN: _i}),), -) - -GET_IPAM_ROUTE_PROTECTION_FINDINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIRPFO, - {_sSI: _cGIRPFRo, _smit: None}, - (_IIp, _RPF, _NTex), - ( - (IPAM_ID, {_aQN: _IIp, _sN: _iIp}), - (IPAM_ROUTE_PROTECTION_FINDING_SET, {_aQN: _RPFS, _sN: _rPFS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_ROUTE_PROTECTION_FINDINGS: StaticOperationSchema = ( - 23, - n0, - _GIRPF, - 0, - GET_IPAM_ROUTE_PROTECTION_FINDINGS_INPUT, - GET_IPAM_ROUTE_PROTECTION_FINDINGS_OUTPUT, - (), -) - -CHRONOLOGICAL_ORDER: StaticSchema = ( - 14, - n0, - _COh, - 0, - (_forw, _reve), - ((-1, {_sV: _forw}), (-1, {_sV: _reve})), -) - -GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_INPUT: StaticSchema = ( - 18, - n0, - _GIRPRDI, - {_sSI: _cGIRPRDR, _sm: None}, - (_DR, _IIRAI, _DIe, _ST, _ETnd, _COh, _MR, _NTex), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (STRING, 0), - (MILLISECOND_DATE_TIME, 0), - (MILLISECOND_DATE_TIME, 0), - (CHRONOLOGICAL_ORDER, 0), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IPAM_ROUTING_POLICY_REGISTRATION_DELTA_SET: StaticSchema = ( - 16, - n0, - _IRPRDSp, - 0, - (_me,), - ((IPAM_ROUTING_POLICY_REGISTRATION_DELTA, {_sN: _i}),), -) - -GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIRPRDO, - {_sSI: _cGIRPRDRo, _smit: None}, - (_IRPRDp, _NTex), - ( - (IPAM_ROUTING_POLICY_REGISTRATION_DELTA_SET, {_aQN: _IRPRDSp, _sN: _iRPRDS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS: StaticOperationSchema = ( - 23, - n0, - _GIRPRD, - 0, - GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_INPUT, - GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_OUTPUT, - (), -) - -GET_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GIRPRI, - {_sSI: _cGIRPRR, _sm: None}, - (_DR, _IIRAI, _Ci, _MR, _NTex), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (STRING, 0), - (IPAM_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -IPAM_ROUTING_POLICY_REGISTRATION_STATE: StaticSchema = ( - 14, - n0, - _IRPRS, - 0, - (_pa________, _af______, _cip, _cc_, _uip, _uc, _dip_, _dc_), - ( - (-1, {_sV: _pa_________}), - (-1, {_sV: _af_______}), - (-1, {_sV: _cip_}), - (-1, {_sV: _cc__}), - (-1, {_sV: _uip_}), - (-1, {_sV: _uc_}), - (-1, {_sV: _dip__}), - (-1, {_sV: _dc__}), - ), -) - -IPAM_ROUTING_POLICY_REGISTRATION: StaticSchema = ( - 18, - n0, - _IRPR, - 0, - (_Ci, _Asns, _PMSA, _ML, _Des, _LDI, _St), - ( - (STRING, {_aQN: _Ci, _sN: _ci}), - (ASN_LIST, {_aQN: _ASsne, _sN: _aSsn}), - (BOXED_BOOLEAN, {_aQN: _PMSA, _sN: _pMSA}), - (IPAM_ROUTING_POLICY_REGISTRATION_MAX_LENGTH, {_aQN: _ML, _sN: _mL}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _LDI, _sN: _lDI}), - (IPAM_ROUTING_POLICY_REGISTRATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -IPAM_ROUTING_POLICY_REGISTRATION_SET: StaticSchema = ( - 16, - n0, - _IRPRSp, - 0, - (_me,), - ((IPAM_ROUTING_POLICY_REGISTRATION, {_sN: _i}),), -) - -GET_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GIRPRO, - {_sSI: _cGIRPRRo, _smit: None}, - (_IRPRp, _NTex), - ( - (IPAM_ROUTING_POLICY_REGISTRATION_SET, {_aQN: _IRPRSp, _sN: _iRPRS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_IPAM_ROUTING_POLICY_REGISTRATIONS: StaticOperationSchema = ( - 23, - n0, - _GIRPR, - 0, - GET_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT, - GET_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT, - (), -) - -GET_LAUNCH_TEMPLATE_DATA_INPUT: StaticSchema = ( - 18, - n0, - _GLTDI, - {_sSI: _cGLTDR, _sm: None}, - (_DR, _II), - ((BOOLEAN, 0), (INSTANCE_ID, 1)), -) - -GET_LAUNCH_TEMPLATE_DATA_OUTPUT: StaticSchema = ( - 18, - n0, - _GLTDO, - {_sSI: _cGLTDRo, _smit: None}, - (_LTD,), - ((RESPONSE_LAUNCH_TEMPLATE_DATA, {_aQN: _LTD, _sN: _lTD}),), -) - -GET_LAUNCH_TEMPLATE_DATA: StaticOperationSchema = ( - 23, - n0, - _GLTD, - 0, - GET_LAUNCH_TEMPLATE_DATA_INPUT, - GET_LAUNCH_TEMPLATE_DATA_OUTPUT, - (), -) - -GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_MAX_RESULTS: StaticSchema = (7, n0, _GMPLAMR, 0) - -GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GMPLAI, - {_sSI: _cGMPLAR, _sm: None}, - (_DR, _PLI, _MR, _NTex), - ( - (BOOLEAN, 0), - (PREFIX_LIST_RESOURCE_ID, 1), - (GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -PREFIX_LIST_ASSOCIATION: StaticSchema = ( - 18, - n0, - _PLAr, - 0, - (_RIe, _ROe), - ((STRING, {_aQN: _RIe, _sN: _rI}), (STRING, {_aQN: _ROe, _sN: _rOe})), -) - -PREFIX_LIST_ASSOCIATION_SET: StaticSchema = ( - 16, - n0, - _PLAS, - 0, - (_me,), - ((PREFIX_LIST_ASSOCIATION, {_sN: _i}),), -) - -GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GMPLAO, - {_sSI: _cGMPLARo, _smit: None}, - (_PLAre, _NTex), - ( - (PREFIX_LIST_ASSOCIATION_SET, {_aQN: _PLAS, _sN: _pLAS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_MANAGED_PREFIX_LIST_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _GMPLA, - 0, - GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_INPUT, - GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_OUTPUT, - (), -) - -GET_MANAGED_PREFIX_LIST_ENTRIES_INPUT: StaticSchema = ( - 18, - n0, - _GMPLEI, - {_sSI: _cGMPLER, _sm: None}, - (_DR, _PLI, _TVa, _MR, _NTex), - ( - (BOOLEAN, 0), - (PREFIX_LIST_RESOURCE_ID, 1), - (LONG, 0), - (PREFIX_LIST_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - ), -) - -PREFIX_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _PLE, - 0, - (_Ci, _Des), - ((STRING, {_aQN: _Ci, _sN: _ci}), (STRING, {_aQN: _Des, _sN: _desc})), -) - -PREFIX_LIST_ENTRY_SET: StaticSchema = ( - 16, - n0, - _PLES, - 0, - (_me,), - ((PREFIX_LIST_ENTRY, {_sN: _i}),), -) - -GET_MANAGED_PREFIX_LIST_ENTRIES_OUTPUT: StaticSchema = ( - 18, - n0, - _GMPLEO, - {_sSI: _cGMPLERo, _smit: None}, - (_Ent, _NTex), - ( - (PREFIX_LIST_ENTRY_SET, {_aQN: _ESn, _sN: _eSn}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_MANAGED_PREFIX_LIST_ENTRIES: StaticOperationSchema = ( - 23, - n0, - _GMPLE, - 0, - GET_MANAGED_PREFIX_LIST_ENTRIES_INPUT, - GET_MANAGED_PREFIX_LIST_ENTRIES_OUTPUT, - (), -) - -GET_MANAGED_RESOURCE_VISIBILITY_INPUT: StaticSchema = ( - 18, - n0, - _GMRVI, - {_sSI: _cGMRVR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -MANAGED_RESOURCE_DEFAULT_VISIBILITY: StaticSchema = ( - 14, - n0, - _MRDV, - 0, - (_hid, _vi), - ((-1, {_sV: _hid}), (-1, {_sV: _vi})), -) - -MANAGED_RESOURCE_VISIBILITY_SETTINGS: StaticSchema = ( - 18, - n0, - _MRVS, - 0, - (_DVefa,), - ((MANAGED_RESOURCE_DEFAULT_VISIBILITY, {_aQN: _DVefa, _sN: _dVefa}),), -) - -GET_MANAGED_RESOURCE_VISIBILITY_OUTPUT: StaticSchema = ( - 18, - n0, - _GMRVO, - {_sSI: _cGMRVRo, _smit: None}, - (_Vi,), - ((MANAGED_RESOURCE_VISIBILITY_SETTINGS, {_aQN: _Vi, _sN: _vis}),), -) - -GET_MANAGED_RESOURCE_VISIBILITY: StaticOperationSchema = ( - 23, - n0, - _GMRV, - 0, - GET_MANAGED_RESOURCE_VISIBILITY_INPUT, - GET_MANAGED_RESOURCE_VISIBILITY_OUTPUT, - (), -) - -GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _GNIASAFMR, - 0, -) - -GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_INPUT: StaticSchema = ( - 18, - n0, - _GNIASAFI, - {_sSI: _cGNIASAFR, _sm: None}, - (_NIASAI, _MR, _NTex, _DR), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, 1), - (GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (BOOLEAN, 0), - ), -) - -GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _GNIASAFO, - {_sSI: _cGNIASAFRo, _smit: None}, - (_NIASAI, _ASn, _AFn, _NTex), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, {_aQN: _NIASAI, _sN: _nIASAI}), - (ANALYSIS_STATUS, {_aQN: _ASn, _sN: _aSn}), - (ACCESS_SCOPE_ANALYSIS_FINDING_LIST, {_aQN: _AFS, _sN: _aFS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS: StaticOperationSchema = ( - 23, - n0, - _GNIASAF, - 0, - GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_INPUT, - GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_OUTPUT, - (), -) - -GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_INPUT: StaticSchema = ( - 18, - n0, - _GNIASCI, - {_sSI: _cGNIASCR, _sm: None}, - (_NIASI, _DR), - ((NETWORK_INSIGHTS_ACCESS_SCOPE_ID, 1), (BOOLEAN, 0)), -) - -GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GNIASCO, - {_sSI: _cGNIASCRo, _smit: None}, - (_NIASC,), - ((NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT, {_aQN: _NIASC, _sN: _nIASC}),), -) - -GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT: StaticOperationSchema = ( - 23, - n0, - _GNIASC, - 0, - GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_INPUT, - GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_OUTPUT, - (), -) - -GET_PASSWORD_DATA_INPUT: StaticSchema = ( - 18, - n0, - _GPDI, - {_sSI: _cGPDR, _sm: None}, - (_II, _DR), - ((INSTANCE_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -PASSWORD_DATA: StaticSchema = (3, n0, _PDa, 4) - -GET_PASSWORD_DATA_OUTPUT: StaticSchema = ( - 18, - n0, - _GPDO, - {_sSI: _cGPDRo, _smit: None}, - (_II, _Ti, _PDa), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (DATE_TIME, {_aQN: _Ti, _sN: _ti}), - (PASSWORD_DATA, {_aQN: _PDa, _sN: _pDa}), - ), -) - -GET_PASSWORD_DATA: StaticOperationSchema = ( - 23, - n0, - _GPD, - 0, - GET_PASSWORD_DATA_INPUT, - GET_PASSWORD_DATA_OUTPUT, - (), -) - -GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT: StaticSchema = ( - 18, - n0, - _GRIEQI, - {_sSI: _cGRIEQR, _sm: None}, - (_DR, _RIIe, _TC), - ( - (BOOLEAN, 0), - (RESERVED_INSTANCE_ID_SET, {_sN: _RII, _smi: None}), - (TARGET_CONFIGURATION_REQUEST_SET, {_sN: _TCa}), - ), -) - -RESERVATION_VALUE: StaticSchema = ( - 18, - n0, - _RVe, - 0, - (_HP, _RTV, _RUV), - ( - (STRING, {_aQN: _HP, _sN: _hP}), - (STRING, {_aQN: _RTV, _sN: _rTV}), - (STRING, {_aQN: _RUV, _sN: _rUV}), - ), -) - -RESERVED_INSTANCE_RESERVATION_VALUE: StaticSchema = ( - 18, - n0, - _RIRV, - 0, - (_RVe, _RII), - ((RESERVATION_VALUE, {_aQN: _RVe, _sN: _rVe}), (STRING, {_aQN: _RII, _sN: _rIIe})), -) - -RESERVED_INSTANCE_RESERVATION_VALUE_SET: StaticSchema = ( - 16, - n0, - _RIRVS, - 0, - (_me,), - ((RESERVED_INSTANCE_RESERVATION_VALUE, {_sN: _i}),), -) - -TARGET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TCa, - 0, - (_IC, _OI), - ((INTEGER, {_aQN: _IC, _sN: _iC}), (STRING, {_aQN: _OI, _sN: _oIf})), -) - -TARGET_RESERVATION_VALUE: StaticSchema = ( - 18, - n0, - _TRV, - 0, - (_RVe, _TCa), - ( - (RESERVATION_VALUE, {_aQN: _RVe, _sN: _rVe}), - (TARGET_CONFIGURATION, {_aQN: _TCa, _sN: _tCa}), - ), -) - -TARGET_RESERVATION_VALUE_SET: StaticSchema = ( - 16, - n0, - _TRVS, - 0, - (_me,), - ((TARGET_RESERVATION_VALUE, {_sN: _i}),), -) - -GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT: StaticSchema = ( - 18, - n0, - _GRIEQO, - {_sSI: _cGRIEQRo, _smit: None}, - (_CC, _IVEs, _ORIWEA, _PDay, _RIVR, _RIVS, _TCVR, _TCVS, _VFR), - ( - (STRING, {_aQN: _CC, _sN: _cC}), - (BOOLEAN, {_aQN: _IVEs, _sN: _iVE}), - (DATE_TIME, {_aQN: _ORIWEA, _sN: _oRIWEA}), - (STRING, {_aQN: _PDay, _sN: _pDay}), - (RESERVATION_VALUE, {_aQN: _RIVR, _sN: _rIVR}), - (RESERVED_INSTANCE_RESERVATION_VALUE_SET, {_aQN: _RIVS, _sN: _rIVS}), - (RESERVATION_VALUE, {_aQN: _TCVR, _sN: _tCVR}), - (TARGET_RESERVATION_VALUE_SET, {_aQN: _TCVS, _sN: _tCVS}), - (STRING, {_aQN: _VFR, _sN: _vFR}), - ), -) - -GET_RESERVED_INSTANCES_EXCHANGE_QUOTE: StaticOperationSchema = ( - 23, - n0, - _GRIEQ, - 0, - GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT, - GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT, - (), -) - -GET_ROUTE_SERVER_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GRSAI, - {_sSI: _cGRSAR, _sm: None}, - (_RSI, _DR), - ((ROUTE_SERVER_ID, 1), (BOOLEAN, 0)), -) - -ROUTE_SERVER_ASSOCIATIONS_LIST: StaticSchema = ( - 16, - n0, - _RSAL, - 0, - (_me,), - ((ROUTE_SERVER_ASSOCIATION, {_sN: _i}),), -) - -GET_ROUTE_SERVER_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GRSAO, - {_sSI: _cGRSARo, _smit: None}, - (_RSAo,), - ((ROUTE_SERVER_ASSOCIATIONS_LIST, {_aQN: _RSASo, _sN: _rSAS}),), -) - -GET_ROUTE_SERVER_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _GRSA, - 0, - GET_ROUTE_SERVER_ASSOCIATIONS_INPUT, - GET_ROUTE_SERVER_ASSOCIATIONS_OUTPUT, - (), -) - -GET_ROUTE_SERVER_PROPAGATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GRSPI, - {_sSI: _cGRSPR, _sm: None}, - (_RSI, _RTIo, _DR), - ((ROUTE_SERVER_ID, 1), (ROUTE_TABLE_ID, 0), (BOOLEAN, 0)), -) - -ROUTE_SERVER_PROPAGATIONS_LIST: StaticSchema = ( - 16, - n0, - _RSPLo, - 0, - (_me,), - ((ROUTE_SERVER_PROPAGATION, {_sN: _i}),), -) - -GET_ROUTE_SERVER_PROPAGATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GRSPO, - {_sSI: _cGRSPRo, _smit: None}, - (_RSPout,), - ((ROUTE_SERVER_PROPAGATIONS_LIST, {_aQN: _RSPSout, _sN: _rSPSo}),), -) - -GET_ROUTE_SERVER_PROPAGATIONS: StaticOperationSchema = ( - 23, - n0, - _GRSP, - 0, - GET_ROUTE_SERVER_PROPAGATIONS_INPUT, - GET_ROUTE_SERVER_PROPAGATIONS_OUTPUT, - (), -) - -GET_ROUTE_SERVER_ROUTING_DATABASE_INPUT: StaticSchema = ( - 18, - n0, - _GRSRDI, - {_sSI: _cGRSRDR, _sm: None}, - (_RSI, _NTex, _MR, _DR, _Fil), - ( - (ROUTE_SERVER_ID, 1), - (STRING, 0), - (ROUTE_SERVER_MAX_RESULTS, 0), - (BOOLEAN, 0), - (FILTER_LIST, {_sN: _Fi}), - ), -) - -AS_PATH: StaticSchema = (16, n0, _APs, 0, (_me,), ((STRING, {_sN: _i}),)) - -ROUTE_SERVER_ROUTE_INSTALLATION_STATUS: StaticSchema = ( - 14, - n0, - _RSRIS, - 0, - (_INSTALLED, _REJECTED), - ((-1, {_sV: _instal}), (-1, {_sV: _re})), -) - -ROUTE_SERVER_ROUTE_INSTALLATION_DETAIL: StaticSchema = ( - 18, - n0, - _RSRID, - 0, - (_RTIo, _RISo, _RISR), - ( - (ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo}), - (ROUTE_SERVER_ROUTE_INSTALLATION_STATUS, {_aQN: _RISo, _sN: _rISo}), - (STRING, {_aQN: _RISR, _sN: _rISR}), - ), -) - -ROUTE_SERVER_ROUTE_INSTALLATION_DETAILS: StaticSchema = ( - 16, - n0, - _RSRIDo, - 0, - (_me,), - ((ROUTE_SERVER_ROUTE_INSTALLATION_DETAIL, {_sN: _i}),), -) - -ROUTE_SERVER_ROUTE_STATUS: StaticSchema = ( - 14, - n0, - _RSRS, - 0, - (_IR_, _IF___), - ((-1, {_sV: _ir______}), (-1, {_sV: _if__})), -) - -ROUTE_SERVER_ROUTE: StaticSchema = ( - 18, - n0, - _RSRo, - 0, - (_RSEI, _RSPI, _RID, _RSoutet, _Pre, _APsa, _Med, _NHI), - ( - (ROUTE_SERVER_ENDPOINT_ID, {_aQN: _RSEI, _sN: _rSEI}), - (ROUTE_SERVER_PEER_ID, {_aQN: _RSPI, _sN: _rSPI}), - (ROUTE_SERVER_ROUTE_INSTALLATION_DETAILS, {_aQN: _RIDS, _sN: _rIDS}), - (ROUTE_SERVER_ROUTE_STATUS, {_aQN: _RSoutet, _sN: _rSout}), - (STRING, {_aQN: _Pre, _sN: _pre}), - (AS_PATH, {_aQN: _APSs, _sN: _aPS}), - (INTEGER, {_aQN: _Med, _sN: _med_}), - (STRING, {_aQN: _NHI, _sN: _nHI}), - ), -) - -ROUTE_SERVER_ROUTE_LIST: StaticSchema = ( - 16, - n0, - _RSRL, - 0, - (_me,), - ((ROUTE_SERVER_ROUTE, {_sN: _i}),), -) - -GET_ROUTE_SERVER_ROUTING_DATABASE_OUTPUT: StaticSchema = ( - 18, - n0, - _GRSRDO, - {_sSI: _cGRSRDRo, _smit: None}, - (_ARP, _Rout, _NTex), - ( - (BOOLEAN, {_aQN: _ARP, _sN: _aRP}), - (ROUTE_SERVER_ROUTE_LIST, {_aQN: _RSout, _sN: _rSou}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_ROUTE_SERVER_ROUTING_DATABASE: StaticOperationSchema = ( - 23, - n0, - _GRSRD, - 0, - GET_ROUTE_SERVER_ROUTING_DATABASE_INPUT, - GET_ROUTE_SERVER_ROUTING_DATABASE_OUTPUT, - (), -) - -GET_SECURITY_GROUPS_FOR_VPC_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _GSGFVRMR, 0) - -GET_SECURITY_GROUPS_FOR_VPC_INPUT: StaticSchema = ( - 18, - n0, - _GSGFVI, - {_sSI: _cGSGFVR, _sm: None}, - (_VI, _NTex, _MR, _Fil, _DR), - ( - (VPC_ID, 1), - (STRING, 0), - (GET_SECURITY_GROUPS_FOR_VPC_REQUEST_MAX_RESULTS, 0), - (FILTER_LIST, {_sN: _Fi}), - (BOOLEAN, 0), - ), -) - -SECURITY_GROUP_FOR_VPC: StaticSchema = ( - 18, - n0, - _SGFV, - 0, - (_Des, _GN, _OIw, _GIr, _Tag, _PVIr), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _GN, _sN: _gN}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _GIr, _sN: _gIr}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _PVIr, _sN: _pVIr}), - ), -) - -SECURITY_GROUP_FOR_VPC_LIST: StaticSchema = ( - 16, - n0, - _SGFVL, - 0, - (_me,), - ((SECURITY_GROUP_FOR_VPC, {_sN: _i}),), -) - -GET_SECURITY_GROUPS_FOR_VPC_OUTPUT: StaticSchema = ( - 18, - n0, - _GSGFVO, - {_sSI: _cGSGFVRo, _smit: None}, - (_NTex, _SGFVe), - ( - (STRING, {_aQN: _NTex, _sN: _nT}), - (SECURITY_GROUP_FOR_VPC_LIST, {_aQN: _SGFVS, _sN: _sGFVS}), - ), -) - -GET_SECURITY_GROUPS_FOR_VPC: StaticOperationSchema = ( - 23, - n0, - _GSGFV, - 0, - GET_SECURITY_GROUPS_FOR_VPC_INPUT, - GET_SECURITY_GROUPS_FOR_VPC_OUTPUT, - (), -) - -GET_SERIAL_CONSOLE_ACCESS_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _GSCASI, - {_sSI: _cGSCASR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -GET_SERIAL_CONSOLE_ACCESS_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _GSCASO, - {_sSI: _cGSCASRo, _smit: None}, - (_SCAE, _MB), - ((BOOLEAN, {_aQN: _SCAE, _sN: _sCAE}), (MANAGED_BY, {_aQN: _MB, _sN: _mB})), -) - -GET_SERIAL_CONSOLE_ACCESS_STATUS: StaticOperationSchema = ( - 23, - n0, - _GSCAS, - 0, - GET_SERIAL_CONSOLE_ACCESS_STATUS_INPUT, - GET_SERIAL_CONSOLE_ACCESS_STATUS_OUTPUT, - (), -) - -GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_INPUT: StaticSchema = ( - 18, - n0, - _GSBPASI, - {_sSI: _cGSBPASR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GSBPASO, - {_sSI: _cGSBPASRo, _smit: None}, - (_St, _MB), - ( - (SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE, {_aQN: _St, _sN: _st}), - (MANAGED_BY, {_aQN: _MB, _sN: _mB}), - ), -) - -GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE: StaticOperationSchema = ( - 23, - n0, - _GSBPAS, - 0, - GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_INPUT, - GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT, - (), -) - -INSTANCE_TYPES: StaticSchema = (16, n0, _ITnsta, 0, (_me,), ((STRING, 0),)) - -SPOT_PLACEMENT_SCORES_MAX_RESULTS: StaticSchema = (7, n0, _SPSMR, 0) - -REGION_NAMES: StaticSchema = (16, n0, _RNeg, 0, (_me,), ((STRING, 0),)) - -SPOT_PLACEMENT_SCORES_TARGET_CAPACITY: StaticSchema = (7, n0, _SPSTC, 0) - -GET_SPOT_PLACEMENT_SCORES_INPUT: StaticSchema = ( - 18, - n0, - _GSPSI, - {_sSI: _cGSPSR, _sm: None}, - (_ITnsta, _TCar, _TCUT, _SAZ, _RNeg, _IRWM, _DR, _MR, _NTex, _ILZ), - ( - (INSTANCE_TYPES, {_sN: _IT}), - (SPOT_PLACEMENT_SCORES_TARGET_CAPACITY, 1), - (TARGET_CAPACITY_UNIT_TYPE, 0), - (BOOLEAN, 0), - (REGION_NAMES, {_sN: _RNe}), - (INSTANCE_REQUIREMENTS_WITH_METADATA_REQUEST, 0), - (BOOLEAN, 0), - (SPOT_PLACEMENT_SCORES_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -SPOT_PLACEMENT_SCORE: StaticSchema = ( - 18, - n0, - _SPSp, - 0, - (_Re, _AZI, _Scor), - ( - (STRING, {_aQN: _Re, _sN: _reg}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (INTEGER, {_aQN: _Scor, _sN: _scor}), - ), -) - -SPOT_PLACEMENT_SCORES: StaticSchema = ( - 16, - n0, - _SPSpo, - 0, - (_me,), - ((SPOT_PLACEMENT_SCORE, {_sN: _i}),), -) - -GET_SPOT_PLACEMENT_SCORES_OUTPUT: StaticSchema = ( - 18, - n0, - _GSPSO, - {_sSI: _cGSPSRo, _smit: None}, - (_SPSpo, _NTex), - ( - (SPOT_PLACEMENT_SCORES, {_aQN: _SPSS, _sN: _sPSS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_SPOT_PLACEMENT_SCORES: StaticOperationSchema = ( - 23, - n0, - _GSPS, - 0, - GET_SPOT_PLACEMENT_SCORES_INPUT, - GET_SPOT_PLACEMENT_SCORES_OUTPUT, - (), -) - -GET_SUBNET_CIDR_RESERVATIONS_MAX_RESULTS: StaticSchema = (7, n0, _GSCRMR, 0) - -GET_SUBNET_CIDR_RESERVATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GSCRI, - {_sSI: _cGSCRR, _sm: None}, - (_Fil, _SIu, _DR, _NTex, _MR), - ( - (FILTER_LIST, {_sN: _Fi}), - (SUBNET_ID, 1), - (BOOLEAN, 0), - (STRING, 0), - (GET_SUBNET_CIDR_RESERVATIONS_MAX_RESULTS, 0), - ), -) - -SUBNET_CIDR_RESERVATION_LIST: StaticSchema = ( - 16, - n0, - _SCRL, - 0, - (_me,), - ((SUBNET_CIDR_RESERVATION, {_sN: _i}),), -) - -GET_SUBNET_CIDR_RESERVATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GSCRO, - {_sSI: _cGSCRRo, _smit: None}, - (_SICR, _SICRu, _NTex), - ( - (SUBNET_CIDR_RESERVATION_LIST, {_aQN: _SICRS, _sN: _sICRS}), - (SUBNET_CIDR_RESERVATION_LIST, {_aQN: _SICRSu, _sN: _sICRSu}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_SUBNET_CIDR_RESERVATIONS: StaticOperationSchema = ( - 23, - n0, - _GSCR, - 0, - GET_SUBNET_CIDR_RESERVATIONS_INPUT, - GET_SUBNET_CIDR_RESERVATIONS_OUTPUT, - (), -) - -GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GTGANCI, - {_sSI: _cGTGANCR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -TRANSIT_GATEWAY_NAT_RULE_STATE: StaticSchema = ( - 14, - n0, - _TGNRS, - 0, - (_p, _activ, _deact, _de), - ((-1, {_sV: _p}), (-1, {_sV: _activ}), (-1, {_sV: _deact}), (-1, {_sV: _de})), -) - -TRANSIT_GATEWAY_NAT_RULE: StaticSchema = ( - 18, - n0, - _TGNR, - 0, - (_RN, _MSC, _NCa, _St), - ( - (INTEGER, {_aQN: _RN, _sN: _rN}), - (STRING, {_aQN: _MSC, _sN: _mSC}), - (STRING, {_aQN: _NCa, _sN: _nCa}), - (TRANSIT_GATEWAY_NAT_RULE_STATE, {_aQN: _St, _sN: _st}), - ), -) - -TRANSIT_GATEWAY_NAT_RULE_LIST: StaticSchema = ( - 16, - n0, - _TGNRL, - 0, - (_me,), - ((TRANSIT_GATEWAY_NAT_RULE, {_sN: _i}),), -) - -TRANSIT_GATEWAY_ATTACHMENT_NAT_SYSTEM_ROUTE_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _TGANSRSV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GTGANCO, - {_sSI: _cGTGANCRo, _smit: None}, - (_TGAI, _NGSat, _NSRS, _NGR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - ( - TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_STATE, - {_aQN: _NGSat, _sN: _nGSa}, - ), - ( - TRANSIT_GATEWAY_ATTACHMENT_NAT_SYSTEM_ROUTE_SUPPORT_VALUE, - {_aQN: _NSRS, _sN: _nSRS}, - ), - (TRANSIT_GATEWAY_NAT_RULE_LIST, {_aQN: _NGRS, _sN: _nGRS}), - ), -) - -GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GTGANC, - 0, - GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT, - GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT, - (), -) - -GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GTGAPI, - {_sSI: _cGTGAPR, _sm: None}, - (_TGAI, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION: StaticSchema = ( - 18, - n0, - _TGAP, - 0, - (_TGRTI, _St), - ( - (STRING, {_aQN: _TGRTI, _sN: _tGRTI}), - (TRANSIT_GATEWAY_PROPAGATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION_LIST: StaticSchema = ( - 16, - n0, - _TGAPL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION, {_sN: _i}),), -) - -GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GTGAPO, - {_sSI: _cGTGAPRo, _smit: None}, - (_TGAPr, _NTex), - ( - (TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION_LIST, {_aQN: _TGAPr, _sN: _tGAP}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS: StaticOperationSchema = ( - 23, - n0, - _GTGAP, - 0, - GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_INPUT, - GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_OUTPUT, - (), -) - -GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_INPUT: StaticSchema = ( - 18, - n0, - _GTGMPEI, - {_sSI: _cGTGMPER, _sm: None}, - (_TGMPI, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_METERING_POLICY_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_METERING_POLICY_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _TGMPEL, - 0, - (_me,), - ((TRANSIT_GATEWAY_METERING_POLICY_ENTRY, {_sN: _i}),), -) - -GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_OUTPUT: StaticSchema = ( - 18, - n0, - _GTGMPEO, - {_sSI: _cGTGMPERo, _smit: None}, - (_TGMPEr, _NTex), - ( - (TRANSIT_GATEWAY_METERING_POLICY_ENTRY_LIST, {_aQN: _TGMPEr, _sN: _tGMPEr}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES: StaticOperationSchema = ( - 23, - n0, - _GTGMPE, - 0, - GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_INPUT, - GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_OUTPUT, - (), -) - -GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GTGMDAI, - {_sSI: _cGTGMDAR, _sm: None}, - (_TGMDI, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION: StaticSchema = ( - 18, - n0, - _TGMDAra, - 0, - (_TGAI, _RIe, _RT, _ROI, _Sub), - ( - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _ROI, _sN: _rOI}), - (SUBNET_ASSOCIATION, {_aQN: _Sub, _sN: _su}), - ), -) - -TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _TGMDAL, - 0, - (_me,), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION, {_sN: _i}),), -) - -GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GTGMDAO, - {_sSI: _cGTGMDARo, _smit: None}, - (_MDA, _NTex), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION_LIST, {_aQN: _MDA, _sN: _mDA}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _GTGMDA, - 0, - GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT, - GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT, - (), -) - -GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GTGPTAI, - {_sSI: _cGTGPTAR, _sm: None}, - (_TGPTI, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _TGPTAL, - 0, - (_me,), - ((TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION, {_sN: _i}),), -) - -GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GTGPTAO, - {_sSI: _cGTGPTARo, _smit: None}, - (_As, _NTex), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION_LIST, {_aQN: _As, _sN: _asso}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _GTGPTA, - 0, - GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_INPUT, - GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_OUTPUT, - (), -) - -GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_INPUT: StaticSchema = ( - 18, - n0, - _GTGPTEI, - {_sSI: _cGTGPTER, _sm: None}, - (_TGPTI, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _TGPTEL, - 0, - (_me,), - ((TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_sN: _i}),), -) - -GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_OUTPUT: StaticSchema = ( - 18, - n0, - _GTGPTEO, - {_sSI: _cGTGPTERo, _smit: None}, - (_TGPTEr, _NTex), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_LIST, {_aQN: _TGPTEr, _sN: _tGPTEr}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES: StaticOperationSchema = ( - 23, - n0, - _GTGPTE, - 0, - GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_INPUT, - GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_OUTPUT, - (), -) - -GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_INPUT: StaticSchema = ( - 18, - n0, - _GTGPLRI, - {_sSI: _cGTGPLRR, _sm: None}, - (_TGRTI, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_SET: StaticSchema = ( - 16, - n0, - _TGPLRSr, - 0, - (_me,), - ((TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE, {_sN: _i}),), -) - -GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_OUTPUT: StaticSchema = ( - 18, - n0, - _GTGPLRO, - {_sSI: _cGTGPLRRo, _smit: None}, - (_TGPLRr, _NTex), - ( - (TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_SET, {_aQN: _TGPLRSr, _sN: _tGPLRS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES: StaticOperationSchema = ( - 23, - n0, - _GTGPLR, - 0, - GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_INPUT, - GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_OUTPUT, - (), -) - -GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GTGRTAI, - {_sSI: _cGTGRTAR, _sm: None}, - (_TGRTI, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION: StaticSchema = ( - 18, - n0, - _TGRTAra, - 0, - (_TGAI, _RIe, _RT, _St), - ( - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (TRANSIT_GATEWAY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), - ), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION_LIST: StaticSchema = ( - 16, - n0, - _TGRTALr, - 0, - (_me,), - ((TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION, {_sN: _i}),), -) - -GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GTGRTAO, - {_sSI: _cGTGRTARo, _smit: None}, - (_As, _NTex), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION_LIST, {_aQN: _As, _sN: _asso}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _GTGRTA, - 0, - GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_INPUT, - GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_OUTPUT, - (), -) - -GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_INPUT: StaticSchema = ( - 18, - n0, - _GTGRTPI, - {_sSI: _cGTGRTPR, _sm: None}, - (_TGRTI, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION: StaticSchema = ( - 18, - n0, - _TGRTP, - 0, - (_TGAI, _RIe, _RT, _St, _TGRTAI), - ( - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (TRANSIT_GATEWAY_PROPAGATION_STATE, {_aQN: _St, _sN: _st}), - (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, {_aQN: _TGRTAI, _sN: _tGRTAI}), - ), -) - -TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_LIST: StaticSchema = ( - 16, - n0, - _TGRTPL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION, {_sN: _i}),), -) - -GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _GTGRTPO, - {_sSI: _cGTGRTPRo, _smit: None}, - (_TGRTPr, _NTex), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_LIST, {_aQN: _TGRTPr, _sN: _tGRTP}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS: StaticOperationSchema = ( - 23, - n0, - _GTGRTP, - 0, - GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_INPUT, - GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_OUTPUT, - (), -) - -GET_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GVAEPI, - {_sSI: _cGVAEPR, _sm: None}, - (_VAEI, _DR), - ((VERIFIED_ACCESS_ENDPOINT_ID, 1), (BOOLEAN, 0)), -) - -GET_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GVAEPO, - {_sSI: _cGVAEPRo, _smit: None}, - (_PEo, _PDo), - ((BOOLEAN, {_aQN: _PEo, _sN: _pEo}), (STRING, {_aQN: _PDo, _sN: _pDo})), -) - -GET_VERIFIED_ACCESS_ENDPOINT_POLICY: StaticOperationSchema = ( - 23, - n0, - _GVAEP, - 0, - GET_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT, - GET_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT, - (), -) - -GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_MAX_RESULTS: StaticSchema = (7, n0, _GVAETMR, 0) - -GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _GVAETI, - {_sSI: _cGVAETR, _sm: None}, - (_VAEI, _MR, _NTex, _DR), - ( - (VERIFIED_ACCESS_ENDPOINT_ID, {_sN: _VAEI, _smi: None}), - (GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_MAX_RESULTS, 0), - (NEXT_TOKEN, 0), - (BOOLEAN, 0), - ), -) - -VERIFIED_ACCESS_ENDPOINT_TARGET: StaticSchema = ( - 18, - n0, - _VAETe, - 0, - (_VAEI, _VAETIA, _VAETD), - ( - (VERIFIED_ACCESS_ENDPOINT_ID, {_aQN: _VAEI, _sN: _vAEI}), - (STRING, {_aQN: _VAETIA, _sN: _vAETIA}), - (STRING, {_aQN: _VAETD, _sN: _vAETD}), - ), -) - -VERIFIED_ACCESS_ENDPOINT_TARGET_LIST: StaticSchema = ( - 16, - n0, - _VAETL, - 0, - (_me,), - ((VERIFIED_ACCESS_ENDPOINT_TARGET, {_sN: _i}),), -) - -GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _GVAETO, - {_sSI: _cGVAETRo, _smit: None}, - (_VAETer, _NTex), - ( - (VERIFIED_ACCESS_ENDPOINT_TARGET_LIST, {_aQN: _VAETS, _sN: _vAETS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_VERIFIED_ACCESS_ENDPOINT_TARGETS: StaticOperationSchema = ( - 23, - n0, - _GVAET, - 0, - GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_INPUT, - GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_OUTPUT, - (), -) - -GET_VERIFIED_ACCESS_GROUP_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GVAGPI, - {_sSI: _cGVAGPR, _sm: None}, - (_VAGI, _DR), - ((VERIFIED_ACCESS_GROUP_ID, 1), (BOOLEAN, 0)), -) - -GET_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GVAGPO, - {_sSI: _cGVAGPRo, _smit: None}, - (_PEo, _PDo), - ((BOOLEAN, {_aQN: _PEo, _sN: _pEo}), (STRING, {_aQN: _PDo, _sN: _pDo})), -) - -GET_VERIFIED_ACCESS_GROUP_POLICY: StaticOperationSchema = ( - 23, - n0, - _GVAGP, - 0, - GET_VERIFIED_ACCESS_GROUP_POLICY_INPUT, - GET_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT, - (), -) - -GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_MAX_RESULTS: StaticSchema = ( - 7, - n0, - _GVRBEEMR, - 0, -) - -GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_INPUT: StaticSchema = ( - 18, - n0, - _GVRBEEI, - {_sSI: _cGVRBEER, _sm: None}, - (_VI, _MR, _NTex, _DR), - ( - (VPC_ID, 1), - (GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE: StaticSchema = ( - 18, - n0, - _VENCR, - 0, - (_Id, _Ty, _Des, _IEs), - ( - (STRING, {_aQN: _Id, _sN: _id}), - (STRING, {_aQN: _Ty, _sN: _ty}), - (STRING, {_aQN: _Des, _sN: _desc}), - (BOOLEAN, {_aQN: _IEs, _sN: _iEs}), - ), -) - -VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE_LIST: StaticSchema = ( - 16, - n0, - _VENCRL, - 0, - (_me,), - ((VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE, {_sN: _i}),), -) - -GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GVRBEEO, - {_sSI: _cGVRBEERo, _smit: None}, - (_NCR, _NTex), - ( - (VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE_LIST, {_aQN: _NCRS, _sN: _nCRS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT: StaticOperationSchema = ( - 23, - n0, - _GVRBEE, - 0, - GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_INPUT, - GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_OUTPUT, - (), -) - -VPN_CONNECTION_DEVICE_TYPE_ID: StaticSchema = (3, n0, _VCDTI, 0) - -GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GVCDSCI, - {_sSI: _cGVCDSCR, _sm: None}, - (_VCIp, _VCDTI, _IKEVn, _STam, _DR), - ( - (VPN_CONNECTION_ID, 1), - (VPN_CONNECTION_DEVICE_TYPE_ID, 1), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION: StaticSchema = (3, n0, _VCDSC, 4) - -GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GVCDSCO, - {_sSI: _cGVCDSCRo, _smit: None}, - (_VCDSC,), - ((VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION, {_aQN: _VCDSC, _sN: _vCDSC}),), -) - -GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GVCDSC, - 0, - GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_INPUT, - GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_OUTPUT, - (), -) - -GET_VPN_CONNECTION_DEVICE_TYPES_INPUT: StaticSchema = ( - 18, - n0, - _GVCDTI, - {_sSI: _cGVCDTR, _sm: None}, - (_MR, _NTex, _DR), - ((GVCD_MAX_RESULTS, 0), (NEXT_TOKEN, 0), (BOOLEAN, 0)), -) - -VPN_CONNECTION_DEVICE_TYPE: StaticSchema = ( - 18, - n0, - _VCDT, - 0, - (_VCDTI, _Ven, _Pla, _Sof), - ( - (STRING, {_aQN: _VCDTI, _sN: _vCDTI}), - (STRING, {_aQN: _Ven, _sN: _ven}), - (STRING, {_aQN: _Pla, _sN: _plat}), - (STRING, {_aQN: _Sof, _sN: _sof}), - ), -) - -VPN_CONNECTION_DEVICE_TYPE_LIST: StaticSchema = ( - 16, - n0, - _VCDTL, - 0, - (_me,), - ((VPN_CONNECTION_DEVICE_TYPE, {_sN: _i}),), -) - -GET_VPN_CONNECTION_DEVICE_TYPES_OUTPUT: StaticSchema = ( - 18, - n0, - _GVCDTO, - {_sSI: _cGVCDTRo, _smit: None}, - (_VCDTp, _NTex), - ( - (VPN_CONNECTION_DEVICE_TYPE_LIST, {_aQN: _VCDTS, _sN: _vCDTS}), - (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), - ), -) - -GET_VPN_CONNECTION_DEVICE_TYPES: StaticOperationSchema = ( - 23, - n0, - _GVCDT, - 0, - GET_VPN_CONNECTION_DEVICE_TYPES_INPUT, - GET_VPN_CONNECTION_DEVICE_TYPES_OUTPUT, - (), -) - -GET_VPN_TUNNEL_REPLACEMENT_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _GVTRSI, - {_sSI: _cGVTRSR, _sm: None}, - (_VCIp, _VTOIA, _DR), - ((VPN_CONNECTION_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -MAINTENANCE_DETAILS: StaticSchema = ( - 18, - n0, - _MDai, - 0, - (_PM, _MAAA, _LMA), - ( - (STRING, {_aQN: _PM, _sN: _pM}), - (MILLISECOND_DATE_TIME, {_aQN: _MAAA, _sN: _mAAA}), - (MILLISECOND_DATE_TIME, {_aQN: _LMA, _sN: _lMA}), - ), -) - -GET_VPN_TUNNEL_REPLACEMENT_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _GVTRSO, - {_sSI: _cGVTRSRo, _smit: None}, - (_VCIp, _TGI, _CGIu, _VGI, _VTOIA, _MDai), - ( - (VPN_CONNECTION_ID, {_aQN: _VCIp, _sN: _vCIp}), - (TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), - (CUSTOMER_GATEWAY_ID, {_aQN: _CGIu, _sN: _cGIu}), - (VPN_GATEWAY_ID, {_aQN: _VGI, _sN: _vGI}), - (STRING, {_aQN: _VTOIA, _sN: _vTOIA}), - (MAINTENANCE_DETAILS, {_aQN: _MDai, _sN: _mDa}), - ), -) - -GET_VPN_TUNNEL_REPLACEMENT_STATUS: StaticOperationSchema = ( - 23, - n0, - _GVTRS, - 0, - GET_VPN_TUNNEL_REPLACEMENT_STATUS_INPUT, - GET_VPN_TUNNEL_REPLACEMENT_STATUS_OUTPUT, - (), -) - -IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT: StaticSchema = ( - 18, - n0, - _ICVCCRLI, - {_sSI: _cICVCCRLR, _sm: None}, - (_CVEI, _CRL, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT: StaticSchema = ( - 18, - n0, - _ICVCCRLO, - {_sSI: _cICVCCRLRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST: StaticOperationSchema = ( - 23, - n0, - _ICVCCRL, - 0, - IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT, - IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT, - (), -) - -CLIENT_DATA: StaticSchema = ( - 18, - n0, - _CDl, - 0, - (_Comm, _UEp, _USp, _USpl), - ((STRING, 0), (DATE_TIME, 0), (DOUBLE, 0), (DATE_TIME, 0)), -) - -USER_BUCKET: StaticSchema = (18, n0, _UB, 0, (_SBu, _SK), ((STRING, 0), (STRING, 0))) - -IMAGE_DISK_CONTAINER: StaticSchema = ( - 18, - n0, - _IDCm, - 0, - (_Des, _DNe, _For, _SIn, _Ur, _UB), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (SNAPSHOT_ID, 0), - (SENSITIVE_URL, 0), - (USER_BUCKET, 0), - ), -) - -IMAGE_DISK_CONTAINER_LIST: StaticSchema = ( - 16, - n0, - _IDCL, - 0, - (_me,), - ((IMAGE_DISK_CONTAINER, {_sN: _i}),), -) - -IMPORT_IMAGE_LICENSE_CONFIGURATION_REQUEST: StaticSchema = ( - 18, - n0, - _IILCRm, - 0, - (_LCA,), - ((STRING, 0),), -) - -IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _IILSLRm, - 0, - (_me,), - ((IMPORT_IMAGE_LICENSE_CONFIGURATION_REQUEST, {_sN: _i}),), -) - -IMPORT_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _III, - {_sSI: _cIIR, _sm: None}, - ( - _Arc, - _CDl, - _CTl, - _Des, - _DCisko, - _DR, - _En, - _Hy, - _KKI, - _LTi, - _Pla, - _RNo, - _LSic, - _TSa, - _UO, - _BMo, - ), - ( - (STRING, 0), - (CLIENT_DATA, 0), - (STRING, 0), - (STRING, 0), - (IMAGE_DISK_CONTAINER_LIST, {_sN: _DCiskon}), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (KMS_KEY_ID, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_REQUEST, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 0), - (BOOT_MODE_VALUES, 0), - ), -) - -IMPORT_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _IIO, - {_sSI: _cIIRo, _smit: None}, - ( - _Arc, - _Des, - _En, - _Hy, - _IIm, - _ITI, - _KKI, - _LTi, - _Pla, - _Prog, - _SDna, - _Sta, - _SMt, - _LSic, - _Tag, - _UO, - ), - ( - (STRING, {_aQN: _Arc, _sN: _arch}), - (STRING, {_aQN: _Des, _sN: _desc}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (STRING, {_aQN: _Hy, _sN: _hy}), - (STRING, {_aQN: _IIm, _sN: _iIm}), - (IMPORT_IMAGE_TASK_ID, {_aQN: _ITI, _sN: _iTI}), - (KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), - (STRING, {_aQN: _LTi, _sN: _lTi}), - (STRING, {_aQN: _Pla, _sN: _plat}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (SNAPSHOT_DETAIL_LIST, {_aQN: _SDSn, _sN: _sDSn}), - (STRING, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _SMt, _sN: _sMt}), - (IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_RESPONSE, {_aQN: _LSic, _sN: _lSic}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - (STRING, {_aQN: _UO, _sN: _uO}), - ), -) - -IMPORT_IMAGE: StaticOperationSchema = ( - 23, - n0, - _IImpo, - 0, - IMPORT_IMAGE_INPUT, - IMPORT_IMAGE_OUTPUT, - (), -) - -DISK_IMAGE_DETAIL: StaticSchema = ( - 18, - n0, - _DIDis, - 0, - (_For, _Byt, _IMU), - ( - (DISK_IMAGE_FORMAT, {_aQN: _For, _sN: _fo, _smi: None}), - (LONG, {_aQN: _Byt, _sN: _byt, _smi: None}), - (IMPORT_MANIFEST_URL, {_aQN: _IMU, _sN: _iMU, _smi: None}), - ), -) - -VOLUME_DETAIL: StaticSchema = ( - 18, - n0, - _VDo, - 0, - (_Si,), - ((LONG, {_aQN: _Si, _sN: _siz, _smi: None}),), -) - -DISK_IMAGE: StaticSchema = ( - 18, - n0, - _DIisk, - 0, - (_Des, _Im, _Vo), - ((STRING, 0), (DISK_IMAGE_DETAIL, 0), (VOLUME_DETAIL, 0)), -) - -DISK_IMAGE_LIST: StaticSchema = (16, n0, _DILi, 0, (_me,), ((DISK_IMAGE, 0),)) - -USER_DATA: StaticSchema = (18, n0, _UDs, 4, (_Da,), ((STRING, {_aQN: _Da, _sN: _dat}),)) - -IMPORT_INSTANCE_LAUNCH_SPECIFICATION: StaticSchema = ( - 18, - n0, - _IILS, - 0, - (_Arc, _GNr, _GIrou, _AId, _UDs, _IT, _Pl, _Mon, _SIu, _IISB, _PIAr), - ( - (ARCHITECTURE_VALUES, {_aQN: _Arc, _sN: _arch}), - (SECURITY_GROUP_STRING_LIST, {_sN: _GN}), - (SECURITY_GROUP_ID_STRING_LIST, {_sN: _GIr}), - (STRING, {_aQN: _AId, _sN: _aId}), - (USER_DATA, {_aQN: _UDs, _sN: _uDs}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (PLACEMENT, {_aQN: _Pl, _sN: _pla}), - (BOOLEAN, {_aQN: _Mon, _sN: _monit}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (SHUTDOWN_BEHAVIOR, {_aQN: _IISB, _sN: _iISB}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - ), -) - -IMPORT_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _IIIm, - {_sSI: _cIIRom, _sm: None}, - (_DR, _Des, _LSaun, _DIiskm, _Pla), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (STRING, {_aQN: _Des, _sN: _desc}), - (IMPORT_INSTANCE_LAUNCH_SPECIFICATION, {_aQN: _LSaun, _sN: _lSau}), - (DISK_IMAGE_LIST, {_aQN: _DIisk, _sN: _dIis}), - (PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat, _smi: None}), - ), -) - -IMPORT_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _IIOm, - {_sSI: _cIIRoma, _smit: None}, - (_CTon,), - ((CONVERSION_TASK, {_aQN: _CTon, _sN: _cTonv}),), -) - -IMPORT_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _IImp, - 0, - IMPORT_INSTANCE_INPUT, - IMPORT_INSTANCE_OUTPUT, - (), -) - -BLOB: StaticSchema = (1, n0, _Blo, 0) - -IMPORT_KEY_PAIR_INPUT: StaticSchema = ( - 18, - n0, - _IKPI, - {_sSI: _cIKPR, _sm: None}, - (_TSa, _DR, _KN, _PKM), - ( - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (STRING, {_aQN: _KN, _sN: _kN, _smi: None}), - (BLOB, {_aQN: _PKM, _sN: _pKM, _smi: None}), - ), -) - -IMPORT_KEY_PAIR_OUTPUT: StaticSchema = ( - 18, - n0, - _IKPO, - {_sSI: _cIKPRo, _smit: None}, - (_KFe, _KN, _KPI, _Tag), - ( - (STRING, {_aQN: _KFe, _sN: _kF}), - (STRING, {_aQN: _KN, _sN: _kN}), - (STRING, {_aQN: _KPI, _sN: _kPI}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -IMPORT_KEY_PAIR: StaticOperationSchema = ( - 23, - n0, - _IKP, - 0, - IMPORT_KEY_PAIR_INPUT, - IMPORT_KEY_PAIR_OUTPUT, - (), -) - -SNAPSHOT_DISK_CONTAINER: StaticSchema = ( - 18, - n0, - _SDCn, - 0, - (_Des, _For, _Ur, _UB), - ((STRING, 0), (STRING, 0), (SENSITIVE_URL, 0), (USER_BUCKET, 0)), -) - -IMPORT_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _ISIm, - {_sSI: _cISR, _sm: None}, - (_CDl, _CTl, _Des, _DCiskon, _DR, _En, _KKI, _RNo, _TSa), - ( - (CLIENT_DATA, 0), - (STRING, 0), - (STRING, 0), - (SNAPSHOT_DISK_CONTAINER, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (KMS_KEY_ID, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -IMPORT_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _ISO, - {_sSI: _cISRo, _smit: None}, - (_Des, _ITI, _STDn, _Tag), - ( - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _ITI, _sN: _iTI}), - (SNAPSHOT_TASK_DETAIL, {_aQN: _STDn, _sN: _sTD}), - (TAG_LIST, {_aQN: _TSag, _sN: _tS}), - ), -) - -IMPORT_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _ISmpo, - 0, - IMPORT_SNAPSHOT_INPUT, - IMPORT_SNAPSHOT_OUTPUT, - (), -) - -IMPORT_VOLUME_INPUT: StaticSchema = ( - 18, - n0, - _IVI, - {_sSI: _cIVR, _sm: None}, - (_AZI, _DR, _AZ, _Im, _Des, _Vo), - ( - (AVAILABILITY_ZONE_ID, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (DISK_IMAGE_DETAIL, {_aQN: _Im, _sN: _im, _smi: None}), - (STRING, {_aQN: _Des, _sN: _desc}), - (VOLUME_DETAIL, {_aQN: _Vo, _sN: _vo, _smi: None}), - ), -) - -IMPORT_VOLUME_OUTPUT: StaticSchema = ( - 18, - n0, - _IVO, - {_sSI: _cIVRo, _smit: None}, - (_CTon,), - ((CONVERSION_TASK, {_aQN: _CTon, _sN: _cTonv}),), -) - -IMPORT_VOLUME: StaticOperationSchema = ( - 23, - n0, - _IVm, - 0, - IMPORT_VOLUME_INPUT, - IMPORT_VOLUME_OUTPUT, - (), -) - -LIST_IMAGES_IN_RECYCLE_BIN_MAX_RESULTS: StaticSchema = (7, n0, _LIIRBMR, 0) - -LIST_IMAGES_IN_RECYCLE_BIN_INPUT: StaticSchema = ( - 18, - n0, - _LIIRBI, - {_sSI: _cLIIRBR, _sm: None}, - (_IIma, _NTex, _MR, _DR), - ( - (IMAGE_ID_STRING_LIST, {_sN: _IIm}), - (STRING, 0), - (LIST_IMAGES_IN_RECYCLE_BIN_MAX_RESULTS, 0), - (BOOLEAN, 0), - ), -) - -IMAGE_RECYCLE_BIN_INFO: StaticSchema = ( - 18, - n0, - _IRBI, - 0, - (_IIm, _N, _Des, _RBET, _RBETe), - ( - (STRING, {_aQN: _IIm, _sN: _iIm}), - (STRING, {_aQN: _N, _sN: _nam}), - (STRING, {_aQN: _Des, _sN: _desc}), - (MILLISECOND_DATE_TIME, {_aQN: _RBET, _sN: _rBET}), - (MILLISECOND_DATE_TIME, {_aQN: _RBETe, _sN: _rBETe}), - ), -) - -IMAGE_RECYCLE_BIN_INFO_LIST: StaticSchema = ( - 16, - n0, - _IRBIL, - 0, - (_me,), - ((IMAGE_RECYCLE_BIN_INFO, {_sN: _i}),), -) - -LIST_IMAGES_IN_RECYCLE_BIN_OUTPUT: StaticSchema = ( - 18, - n0, - _LIIRBO, - {_sSI: _cLIIRBRo, _smit: None}, - (_Ima, _NTex), - ( - (IMAGE_RECYCLE_BIN_INFO_LIST, {_aQN: _ISmage, _sN: _iSmage}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -LIST_IMAGES_IN_RECYCLE_BIN: StaticOperationSchema = ( - 23, - n0, - _LIIRB, - 0, - LIST_IMAGES_IN_RECYCLE_BIN_INPUT, - LIST_IMAGES_IN_RECYCLE_BIN_OUTPUT, - (), -) - -LIST_SNAPSHOTS_IN_RECYCLE_BIN_MAX_RESULTS: StaticSchema = (7, n0, _LSIRBMR, 0) - -LIST_SNAPSHOTS_IN_RECYCLE_BIN_INPUT: StaticSchema = ( - 18, - n0, - _LSIRBI, - {_sSI: _cLSIRBR, _sm: None}, - (_MR, _NTex, _SInap, _DR), - ( - (LIST_SNAPSHOTS_IN_RECYCLE_BIN_MAX_RESULTS, 0), - (STRING, 0), - (SNAPSHOT_ID_STRING_LIST, {_sN: _SIn}), - (BOOLEAN, 0), - ), -) - -SNAPSHOT_RECYCLE_BIN_INFO: StaticSchema = ( - 18, - n0, - _SRBI, - 0, - (_SIn, _RBET, _RBETe, _Des, _VIo), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (MILLISECOND_DATE_TIME, {_aQN: _RBET, _sN: _rBET}), - (MILLISECOND_DATE_TIME, {_aQN: _RBETe, _sN: _rBETe}), - (STRING, {_aQN: _Des, _sN: _desc}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - ), -) - -SNAPSHOT_RECYCLE_BIN_INFO_LIST: StaticSchema = ( - 16, - n0, - _SRBIL, - 0, - (_me,), - ((SNAPSHOT_RECYCLE_BIN_INFO, {_sN: _i}),), -) - -LIST_SNAPSHOTS_IN_RECYCLE_BIN_OUTPUT: StaticSchema = ( - 18, - n0, - _LSIRBO, - {_sSI: _cLSIRBRo, _smit: None}, - (_Sn, _NTex), - ( - (SNAPSHOT_RECYCLE_BIN_INFO_LIST, {_aQN: _SSna, _sN: _sSn}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -LIST_SNAPSHOTS_IN_RECYCLE_BIN: StaticOperationSchema = ( - 23, - n0, - _LSIRB, - 0, - LIST_SNAPSHOTS_IN_RECYCLE_BIN_INPUT, - LIST_SNAPSHOTS_IN_RECYCLE_BIN_OUTPUT, - (), -) - -LIST_VOLUMES_IN_RECYCLE_BIN_INPUT: StaticSchema = ( - 18, - n0, - _LVIRBI, - {_sSI: _cLVIRBR, _sm: None}, - (_VIol, _DR, _MR, _NTex), - ((VOLUME_ID_STRING_LIST, {_sN: _VIo}), (BOOLEAN, 0), (INTEGER, 0), (STRING, 0)), -) - -VOLUME_RECYCLE_BIN_INFO: StaticSchema = ( - 18, - n0, - _VRBI, - 0, - ( - _VIo, - _VT, - _St, - _Si, - _Io, - _Th, - _OA, - _AZ, - _AZI, - _SVI, - _SIn, - _Op, - _CTr, - _RBET, - _RBETe, - ), - ( - (VOLUME_ID, {_aQN: _VIo, _sN: _vIo}), - (VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), - (VOLUME_STATE, {_aQN: _St, _sN: _st}), - (INTEGER, {_aQN: _Si, _sN: _siz}), - (INTEGER, {_aQN: _Io, _sN: _iop}), - (INTEGER, {_aQN: _Th, _sN: _thr}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _AZ, _sN: _aZ}), - (STRING, {_aQN: _AZI, _sN: _aZI}), - (STRING, {_aQN: _SVI, _sN: _sVI}), - (STRING, {_aQN: _SIn, _sN: _sIn}), - (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), - (DATE_TIME, {_aQN: _CTr, _sN: _cTr}), - (MILLISECOND_DATE_TIME, {_aQN: _RBET, _sN: _rBET}), - (MILLISECOND_DATE_TIME, {_aQN: _RBETe, _sN: _rBETe}), - ), -) - -VOLUME_RECYCLE_BIN_INFO_LIST: StaticSchema = ( - 16, - n0, - _VRBIL, - 0, - (_me,), - ((VOLUME_RECYCLE_BIN_INFO, {_sN: _i}),), -) - -LIST_VOLUMES_IN_RECYCLE_BIN_OUTPUT: StaticSchema = ( - 18, - n0, - _LVIRBO, - {_sSI: _cLVIRBRo, _smit: None}, - (_Vol, _NTex), - ( - (VOLUME_RECYCLE_BIN_INFO_LIST, {_aQN: _VSo, _sN: _vS}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -LIST_VOLUMES_IN_RECYCLE_BIN: StaticOperationSchema = ( - 23, - n0, - _LVIRB, - 0, - LIST_VOLUMES_IN_RECYCLE_BIN_INPUT, - LIST_VOLUMES_IN_RECYCLE_BIN_OUTPUT, - (), -) - -COOL_OFF_PERIOD_REQUEST_HOURS: StaticSchema = (7, n0, _COPRHo, 0) - -RETENTION_PERIOD_REQUEST_DAYS: StaticSchema = (7, n0, _RPRDe, 0) - -LOCK_MODE: StaticSchema = ( - 14, - n0, - _LM, - 0, - (_compli, _go), - ((-1, {_sV: _compli}), (-1, {_sV: _go})), -) - -LOCK_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _LSIo, - {_sSI: _cLSR, _sm: None}, - (_SIn, _DR, _LM, _COPo, _LDo, _EDx), - ( - (SNAPSHOT_ID, 1), - (BOOLEAN, 0), - (LOCK_MODE, 1), - (COOL_OFF_PERIOD_REQUEST_HOURS, 0), - (RETENTION_PERIOD_REQUEST_DAYS, 0), - (MILLISECOND_DATE_TIME, 0), - ), -) - -LOCK_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_sSI: _cLSRo, _smit: None}, - (_SIn, _LSoc, _LDo, _COPo, _COPEO, _LCO, _LEO, _LDST), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (LOCK_STATE, {_aQN: _LSoc, _sN: _lSoc}), - (RETENTION_PERIOD_RESPONSE_DAYS, {_aQN: _LDo, _sN: _lDo}), - (COOL_OFF_PERIOD_RESPONSE_HOURS, {_aQN: _COPo, _sN: _cOPo}), - (MILLISECOND_DATE_TIME, {_aQN: _COPEO, _sN: _cOPEO}), - (MILLISECOND_DATE_TIME, {_aQN: _LCO, _sN: _lCO}), - (MILLISECOND_DATE_TIME, {_aQN: _LEO, _sN: _lEO}), - (MILLISECOND_DATE_TIME, {_aQN: _LDST, _sN: _lDST}), - ), -) - -LOCK_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _LSock, - 0, - LOCK_SNAPSHOT_INPUT, - LOCK_SNAPSHOT_OUTPUT, - (), -) - -MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( - 18, - n0, - _MAVECI, - {_sSI: _cMAVECR, _sm: None}, - (_DR, _Mo, _IG, _EOIG, _NG, _VPG, _VP, _La, _VL, _EFS), - ( - (BOOLEAN, 0), - (ACCOUNT_VPC_ENCRYPTION_CONTROL_MODE, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - ), -) - -MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( - 18, - n0, - _MAVECO, - {_sSI: _cMAVECRo, _smit: None}, - (_AVECc,), - ((ACCOUNT_VPC_ENCRYPTION_CONTROL, {_aQN: _AVECc, _sN: _aVEC}),), -) - -MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( - 23, - n0, - _MAVEC, - 0, - MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT, - MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT, - (), -) - -MODIFY_ADDRESS_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MAAI, - {_sSI: _cMAAR, _sm: None}, - (_AI, _DNo, _DR), - ((ALLOCATION_ID, 1), (STRING, 0), (BOOLEAN, 0)), -) - -MODIFY_ADDRESS_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _MAAO, - {_sSI: _cMAARo, _smit: None}, - (_Ad,), - ((ADDRESS_ATTRIBUTE, {_aQN: _Ad, _sN: _ad}),), -) - -MODIFY_ADDRESS_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MAA, - 0, - MODIFY_ADDRESS_ATTRIBUTE_INPUT, - MODIFY_ADDRESS_ATTRIBUTE_OUTPUT, - (), -) - -MODIFY_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( - 18, - n0, - _MASCI, - {_sSI: _cMASCR, _sm: None}, - ( - _ASCI, - _Ag, - _HCP, - _P, - _Po, - _Pa, - _DI, - _IVp, - _ISpc, - _Int, - _Tim, - _FT, - _STu, - _SCM, - _IGPS, - _CTl, - _DR, - ), - ( - (APPLICATION_STATUS_CHECK_ID, 1), - (AGGREGATION_STATUS_ENUM, 0), - (HEALTH_CHECK_PATH_REQUEST_LIST, {_sN: _HCPe}), - (NETWORK_PROTOCOL_ENUM, 0), - (PORT_NUMBER, 0), - (STRING, 0), - (INTEGER, 0), - (IP_VERSION_ENUM, 0), - (IP_SCOPE_ENUM, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (INITIALIZATION_GRACE_PERIOD_SECONDS, 0), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -MODIFY_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( - 18, - n0, - _MASCO, - {_sSI: _cMASCRo, _smit: None}, - (_ASCp,), - ((APPLICATION_STATUS_CHECK_RESPONSE_OBJECT, {_aQN: _ASCp, _sN: _aSC}),), -) - -MODIFY_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( - 23, - n0, - _MASC, - 0, - MODIFY_APPLICATION_STATUS_CHECK_INPUT, - MODIFY_APPLICATION_STATUS_CHECK_OUTPUT, - (), -) - -MODIFY_AVAILABILITY_ZONE_OPT_IN_STATUS: StaticSchema = ( - 14, - n0, - _MAZOIS, - 0, - (_oi_, _noi), - ((-1, {_sV: _oi__}), (-1, {_sV: _noi_})), -) - -MODIFY_AVAILABILITY_ZONE_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _MAZGI, - {_sSI: _cMAZGR, _sm: None}, - (_GN, _OIS, _DR), - ((STRING, 1), (MODIFY_AVAILABILITY_ZONE_OPT_IN_STATUS, 1), (BOOLEAN, 0)), -) - -MODIFY_AVAILABILITY_ZONE_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _MAZGO, - {_sSI: _cMAZGRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_AVAILABILITY_ZONE_GROUP: StaticOperationSchema = ( - 23, - n0, - _MAZG, - 0, - MODIFY_AVAILABILITY_ZONE_GROUP_INPUT, - MODIFY_AVAILABILITY_ZONE_GROUP_OUTPUT, - (), -) - -MODIFY_CAPACITY_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _MCRI, - {_sSI: _cMCRR, _sm: None}, - (_CRI, _IC, _ED, _EDT, _Accep, _DR, _AId, _IMC, _AMT, _SDt, _QI), - ( - (CAPACITY_RESERVATION_ID, 1), - (INTEGER, 0), - (DATE_TIME, 0), - (END_DATE_TYPE, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (INSTANCE_MATCH_CRITERIA, 0), - (BOOLEAN, 0), - (MILLISECOND_DATE_TIME, 0), - (CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID, 0), - ), -) - -MODIFY_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MCRO, - {_sSI: _cMCRRo, _smit: None}, - (_R, _ASd, _ADdj), - ( - (BOOLEAN, {_aQN: _R, _sN: _r}), - (CAPACITY_RESERVATION_ADJUSTMENT_STATUS, {_aQN: _ASd, _sN: _aSd}), - (CAPACITY_RESERVATION_ADJUSTMENT_DETAILS, {_aQN: _ADdj, _sN: _aD}), - ), -) - -MODIFY_CAPACITY_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _MCR, - 0, - MODIFY_CAPACITY_RESERVATION_INPUT, - MODIFY_CAPACITY_RESERVATION_OUTPUT, - (), -) - -MODIFY_CAPACITY_RESERVATION_FLEET_INPUT: StaticSchema = ( - 18, - n0, - _MCRFI, - {_sSI: _cMCRFR, _sm: None}, - (_CRFI, _TTC, _ED, _DR, _RED), - ( - (CAPACITY_RESERVATION_FLEET_ID, 1), - (INTEGER, 0), - (MILLISECOND_DATE_TIME, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_CAPACITY_RESERVATION_FLEET_OUTPUT: StaticSchema = ( - 18, - n0, - _MCRFO, - {_sSI: _cMCRFRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_CAPACITY_RESERVATION_FLEET: StaticOperationSchema = ( - 23, - n0, - _MCRF, - 0, - MODIFY_CAPACITY_RESERVATION_FLEET_INPUT, - MODIFY_CAPACITY_RESERVATION_FLEET_OUTPUT, - (), -) - -DNS_SERVERS_OPTIONS_MODIFY_STRUCTURE: StaticSchema = ( - 18, - n0, - _DSOMS, - 0, - (_CDSu, _Ena), - ((VALUE_STRING_LIST, 0), (BOOLEAN, 0)), -) - -MODIFY_CLIENT_VPN_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _MCVEI, - {_sSI: _cMCVER, _sm: None}, - ( - _CVEI, - _SCA, - _CLO, - _DSn, - _VPp, - _Des, - _STp, - _DR, - _SGIe, - _VI, - _SSP, - _CCO, - _STH, - _CLBO, - _CREO, - _DOST, - _TGC, - _DPO, - ), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (STRING, 0), - (CONNECTION_LOG_OPTIONS, 0), - (DNS_SERVERS_OPTIONS_MODIFY_STRUCTURE, 0), - (INTEGER, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (CLIENT_VPN_SECURITY_GROUP_ID_SET, {_sN: _SGI}), - (VPC_ID, 0), - (SELF_SERVICE_PORTAL, 0), - (CLIENT_CONNECT_OPTIONS, 0), - (INTEGER, 0), - (CLIENT_LOGIN_BANNER_OPTIONS, 0), - (CLIENT_ROUTE_ENFORCEMENT_OPTIONS, 0), - (BOOLEAN, 0), - (TRANSIT_GATEWAY_CONFIGURATION_INPUT_STRUCTURE, 0), - (DEVICE_POSTURE_OPTIONS, 0), - ), -) - -MODIFY_CLIENT_VPN_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _MCVEO, - {_sSI: _cMCVERo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_CLIENT_VPN_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _MCVE, - 0, - MODIFY_CLIENT_VPN_ENDPOINT_INPUT, - MODIFY_CLIENT_VPN_ENDPOINT_OUTPUT, - (), -) - -MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _MCVEAPI, - {_sSI: _cMCVEAPR, _sm: None}, - (_CVEI, _PDo, _Des, _SMh, _CTl, _DR), - ( - (CLIENT_VPN_ENDPOINT_ID, 1), - (STRING, 0), - (STRING, 0), - (CLIENT_VPN_AUTHORIZATION_POLICY_SHADOW_MODE, 0), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _MCVEAPO, - {_sSI: _cMCVEAPRo, _smit: None}, - (_Sta,), - ((CLIENT_VPN_AUTHORIZATION_POLICY_STATUS, {_aQN: _Sta, _sN: _sta}),), -) - -MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY: StaticOperationSchema = ( - 23, - n0, - _MCVEAP, - 0, - MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT, - MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT, - (), -) - -MODIFY_DEFAULT_CREDIT_SPECIFICATION_INPUT: StaticSchema = ( - 18, - n0, - _MDCSI, - {_sSI: _cMDCSR, _sm: None}, - (_DR, _IF, _CCp), - ((BOOLEAN, 0), (UNLIMITED_SUPPORTED_INSTANCE_FAMILY, 1), (STRING, 1)), -) - -MODIFY_DEFAULT_CREDIT_SPECIFICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MDCSO, - {_sSI: _cMDCSRo, _smit: None}, - (_IFCS,), - ((INSTANCE_FAMILY_CREDIT_SPECIFICATION, {_aQN: _IFCS, _sN: _iFCS}),), -) - -MODIFY_DEFAULT_CREDIT_SPECIFICATION: StaticOperationSchema = ( - 23, - n0, - _MDCS, - 0, - MODIFY_DEFAULT_CREDIT_SPECIFICATION_INPUT, - MODIFY_DEFAULT_CREDIT_SPECIFICATION_OUTPUT, - (), -) - -MODIFY_EBS_DEFAULT_KMS_KEY_ID_INPUT: StaticSchema = ( - 18, - n0, - _MEDKKII, - {_sSI: _cMEDKKIR, _sm: None}, - (_KKI, _DR), - ((KMS_KEY_ID, 1), (BOOLEAN, 0)), -) - -MODIFY_EBS_DEFAULT_KMS_KEY_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _MEDKKIO, - {_sSI: _cMEDKKIRo, _smit: None}, - (_KKI,), - ((STRING, {_aQN: _KKI, _sN: _kKI}),), -) - -MODIFY_EBS_DEFAULT_KMS_KEY_ID: StaticOperationSchema = ( - 23, - n0, - _MEDKKI, - 0, - MODIFY_EBS_DEFAULT_KMS_KEY_ID_INPUT, - MODIFY_EBS_DEFAULT_KMS_KEY_ID_OUTPUT, - (), -) - -MODIFY_FLEET_INPUT: StaticSchema = ( - 18, - n0, - _MFI, - {_sSI: _cMFR, _sm: None}, - (_DR, _ECTP, _LTC, _FIl, _TCS, _Con), - ( - (BOOLEAN, 0), - (FLEET_EXCESS_CAPACITY_TERMINATION_POLICY, 0), - (FLEET_LAUNCH_TEMPLATE_CONFIG_LIST_REQUEST, {_sN: _LTCa}), - (FLEET_ID, 1), - (TARGET_CAPACITY_SPECIFICATION_REQUEST, 0), - (STRING, 0), - ), -) - -MODIFY_FLEET_OUTPUT: StaticSchema = ( - 18, - n0, - _MFO, - {_sSI: _cMFRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_FLEET: StaticOperationSchema = ( - 23, - n0, - _MFo, - 0, - MODIFY_FLEET_INPUT, - MODIFY_FLEET_OUTPUT, - (), -) - -LOAD_PERMISSION_REQUEST: StaticSchema = ( - 18, - n0, - _LPR, - 0, - (_Gr, _UIs), - ((PERMISSION_GROUP, 0), (STRING, 0)), -) - -LOAD_PERMISSION_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _LPLR, - 0, - (_me,), - ((LOAD_PERMISSION_REQUEST, {_sN: _i}),), -) - -LOAD_PERMISSION_MODIFICATIONS: StaticSchema = ( - 18, - n0, - _LPM, - 0, - (_Add_, _Remo), - ((LOAD_PERMISSION_LIST_REQUEST, 0), (LOAD_PERMISSION_LIST_REQUEST, 0)), -) - -OPERATION_TYPE: StaticSchema = ( - 14, - n0, - _OTp, - 0, - (_add, _remo), - ((-1, {_sV: _add}), (-1, {_sV: _remo})), -) - -PRODUCT_CODE_STRING_LIST: StaticSchema = ( - 16, - n0, - _PCSL, - 0, - (_me,), - ((STRING, {_sN: _PCr}),), -) - -USER_GROUP_STRING_LIST: StaticSchema = ( - 16, - n0, - _UGSL, - 0, - (_me,), - ((STRING, {_sN: _UG}),), -) - -USER_ID_STRING_LIST: StaticSchema = (16, n0, _UISL, 0, (_me,), ((STRING, {_sN: _UIs}),)) - -MODIFY_FPGA_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MFIAI, - {_sSI: _cMFIAR, _sm: None}, - (_DR, _FII, _Attr, _OTp, _UIse, _UGs, _PCro, _LPo, _Des, _N), - ( - (BOOLEAN, 0), - (FPGA_IMAGE_ID, 1), - (FPGA_IMAGE_ATTRIBUTE_NAME, 0), - (OPERATION_TYPE, 0), - (USER_ID_STRING_LIST, {_sN: _UIs}), - (USER_GROUP_STRING_LIST, {_sN: _UG}), - (PRODUCT_CODE_STRING_LIST, {_sN: _PCr}), - (LOAD_PERMISSION_MODIFICATIONS, 0), - (STRING, 0), - (STRING, 0), - ), -) - -MODIFY_FPGA_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _MFIAO, - {_sSI: _cMFIARo, _smit: None}, - (_FIA,), - ((FPGA_IMAGE_ATTRIBUTE, {_aQN: _FIA, _sN: _fIA}),), -) - -MODIFY_FPGA_IMAGE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MFIA, - 0, - MODIFY_FPGA_IMAGE_ATTRIBUTE_INPUT, - MODIFY_FPGA_IMAGE_ATTRIBUTE_OUTPUT, - (), -) - -MODIFY_HOSTS_INPUT: StaticSchema = ( - 18, - n0, - _MHI, - {_sSI: _cMHR, _sm: None}, - (_HR, _IT, _IF, _HM, _HI, _APu), - ( - (HOST_RECOVERY, 0), - (STRING, 0), - (STRING, 0), - (HOST_MAINTENANCE, 0), - (REQUEST_HOST_ID_LIST, {_aQN: _HIo, _sN: _hI, _smi: None}), - (AUTO_PLACEMENT, {_aQN: _APu, _sN: _aP}), - ), -) - -UNSUCCESSFUL_ITEM_LIST: StaticSchema = ( - 16, - n0, - _UILn, - 0, - (_me,), - ((UNSUCCESSFUL_ITEM, {_sN: _i}),), -) - -MODIFY_HOSTS_OUTPUT: StaticSchema = ( - 18, - n0, - _MHO, - {_sSI: _cMHRo, _smit: None}, - (_Suc, _Un), - ( - (RESPONSE_HOST_ID_LIST, {_aQN: _Suc, _sN: _succ}), - (UNSUCCESSFUL_ITEM_LIST, {_aQN: _Un, _sN: _un}), - ), -) - -MODIFY_HOSTS: StaticOperationSchema = ( - 23, - n0, - _MHo, - 0, - MODIFY_HOSTS_INPUT, - MODIFY_HOSTS_OUTPUT, - (), -) - -MODIFY_IDENTITY_ID_FORMAT_INPUT: StaticSchema = ( - 18, - n0, - _MIIFI, - {_sSI: _cMIIFR, _sm: None}, - (_Reso, _ULI, _PAr), - ( - (STRING, {_aQN: _Reso, _sN: _reso, _smi: None}), - (BOOLEAN, {_aQN: _ULI, _sN: _uLI, _smi: None}), - (STRING, {_aQN: _PAr, _sN: _pAr, _smi: None}), - ), -) - -MODIFY_IDENTITY_ID_FORMAT_OUTPUT: StaticSchema = ( - 18, - n0, - _MIIFO, - {_sSI: _sU, _smit: None}, -) - -MODIFY_IDENTITY_ID_FORMAT: StaticOperationSchema = ( - 23, - n0, - _MIIF, - 0, - MODIFY_IDENTITY_ID_FORMAT_INPUT, - MODIFY_IDENTITY_ID_FORMAT_OUTPUT, - (), -) - -MODIFY_ID_FORMAT_INPUT: StaticSchema = ( - 18, - n0, - _MIFI, - {_sSI: _cMIFR, _sm: None}, - (_Reso, _ULI), - ((STRING, 1), (BOOLEAN, 1)), -) - -MODIFY_ID_FORMAT_OUTPUT: StaticSchema = (18, n0, _MIFO, {_sSI: _sU, _smit: None}) - -MODIFY_ID_FORMAT: StaticOperationSchema = ( - 23, - n0, - _MIF, - 0, - MODIFY_ID_FORMAT_INPUT, - MODIFY_ID_FORMAT_OUTPUT, - (), -) - -LAUNCH_PERMISSION_MODIFICATIONS: StaticSchema = ( - 18, - n0, - _LPMa, - 0, - (_Add_, _Remo), - ((LAUNCH_PERMISSION_LIST, 0), (LAUNCH_PERMISSION_LIST, 0)), -) - -ORGANIZATIONAL_UNIT_ARN_STRING_LIST: StaticSchema = ( - 16, - n0, - _OUASL, - 0, - (_me,), - ((STRING, {_sN: _OUA}),), -) - -ORGANIZATION_ARN_STRING_LIST: StaticSchema = ( - 16, - n0, - _OASL, - 0, - (_me,), - ((STRING, {_sN: _OAr}),), -) - -MODIFY_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MIAI, - {_sSI: _cMIAR, _sm: None}, - (_Attr, _Des, _IIm, _LPa, _OTp, _PCro, _UGs, _UIse, _Va, _OArga, _OUAr, _ISm, _DR), - ( - (STRING, 0), - (ATTRIBUTE_VALUE, 0), - (IMAGE_ID, 1), - (LAUNCH_PERMISSION_MODIFICATIONS, 0), - (OPERATION_TYPE, 0), - (PRODUCT_CODE_STRING_LIST, {_sN: _PCr}), - (USER_GROUP_STRING_LIST, {_sN: _UG}), - (USER_ID_STRING_LIST, {_sN: _UIs}), - (STRING, 0), - (ORGANIZATION_ARN_STRING_LIST, {_sN: _OAr}), - (ORGANIZATIONAL_UNIT_ARN_STRING_LIST, {_sN: _OUA}), - (ATTRIBUTE_VALUE, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -MODIFY_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = (18, n0, _MIAO, {_sSI: _sU, _smit: None}) - -MODIFY_IMAGE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MIA, - 0, - MODIFY_IMAGE_ATTRIBUTE_INPUT, - MODIFY_IMAGE_ATTRIBUTE_OUTPUT, - (), -) - -EBS_INSTANCE_BLOCK_DEVICE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _EIBDS, - 0, - (_VIo, _DOT), - ((VOLUME_ID, {_aQN: _VIo, _sN: _vIo}), (BOOLEAN, {_aQN: _DOT, _sN: _dOT})), -) - -INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION: StaticSchema = ( - 18, - n0, - _IBDMS, - 0, - (_DNe, _Eb, _VN, _ND), - ( - (STRING, {_aQN: _DNe, _sN: _dNe}), - (EBS_INSTANCE_BLOCK_DEVICE_SPECIFICATION, {_aQN: _Eb, _sN: _eb}), - (STRING, {_aQN: _VN, _sN: _vN}), - (STRING, {_aQN: _ND, _sN: _nD}), - ), -) - -INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _IBDMSL, - 0, - (_me,), - ((INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION, {_sN: _i}),), -) - -ENCLAVE_OPTIONS_REQUEST: StaticSchema = (18, n0, _EOR, 0, (_Ena,), ((BOOLEAN, 0),)) - -SECURE_BLOB_ATTRIBUTE_VALUE: StaticSchema = ( - 18, - n0, - _SBAV, - 0, - (_Va,), - ((SECURE_BLOB, {_aQN: _Va, _sN: _va}),), -) - -MODIFY_INSTANCE_ATTRIBUTE_VALUE: StaticSchema = (3, n0, _MIAV, 4) - -MODIFY_INSTANCE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MIAIo, - {_sSI: _cMIARo, _sm: None}, - ( - _SDC, - _EOn, - _DASi, - _DR, - _II, - _Attr, - _Va, - _BDMl, - _DAT, - _IT, - _Ker, - _Ra, - _UDs, - _IISB, - _G, - _EO, - _SNSr, - _ESna, - ), - ( - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (ENCLAVE_OPTIONS_REQUEST, 0), - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), - (INSTANCE_ATTRIBUTE_NAME, {_aQN: _Attr, _sN: _attr}), - (MODIFY_INSTANCE_ATTRIBUTE_VALUE, {_aQN: _Va, _sN: _va}), - (INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION_LIST, {_aQN: _BDM, _sN: _bDM}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _DAT, _sN: _dAT}), - (ATTRIBUTE_VALUE, {_aQN: _IT, _sN: _iT}), - (ATTRIBUTE_VALUE, {_aQN: _Ker, _sN: _ker}), - (ATTRIBUTE_VALUE, {_aQN: _Ra, _sN: _ramd}), - (SECURE_BLOB_ATTRIBUTE_VALUE, {_aQN: _UDs, _sN: _uDs}), - (ATTRIBUTE_VALUE, {_aQN: _IISB, _sN: _iISB}), - (GROUP_ID_STRING_LIST, {_sN: _GIr}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _EO, _sN: _eO}), - (ATTRIBUTE_VALUE, {_aQN: _SNSr, _sN: _sNS}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _ESna, _sN: _eSna}), - ), -) - -MODIFY_INSTANCE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _MIAOo, - {_sSI: _sU, _smit: None}, -) - -MODIFY_INSTANCE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MIAo, - 0, - MODIFY_INSTANCE_ATTRIBUTE_INPUT, - MODIFY_INSTANCE_ATTRIBUTE_OUTPUT, - (), -) - -CAPACITY_RESERVATION_SPECIFICATION: StaticSchema = ( - 18, - n0, - _CRSa, - 0, - (_CRP, _CRTap), - ((CAPACITY_RESERVATION_PREFERENCE, 0), (CAPACITY_RESERVATION_TARGET, 0)), -) - -MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _MICRAI, - {_sSI: _cMICRAR, _sm: None}, - (_II, _CRSa, _DR), - ((INSTANCE_ID, 1), (CAPACITY_RESERVATION_SPECIFICATION, 1), (BOOLEAN, 0)), -) - -MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _MICRAO, - {_sSI: _cMICRARo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _MICRA, - 0, - MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_INPUT, - MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_OUTPUT, - (), -) - -MODIFY_INSTANCE_CONNECT_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _MICEI, - {_sSI: _cMICER, _sm: None}, - (_DR, _ICEI, _IAT, _SGIe, _PCI), - ( - (BOOLEAN, 0), - (INSTANCE_CONNECT_ENDPOINT_ID, 1), - (IP_ADDRESS_TYPE, 0), - (SECURITY_GROUP_ID_STRING_LIST_REQUEST, {_sN: _SGI}), - (BOOLEAN, 0), - ), -) - -MODIFY_INSTANCE_CONNECT_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _MICEO, - {_sSI: _cMICERo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_INSTANCE_CONNECT_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _MICE, - 0, - MODIFY_INSTANCE_CONNECT_ENDPOINT_INPUT, - MODIFY_INSTANCE_CONNECT_ENDPOINT_OUTPUT, - (), -) - -MODIFY_INSTANCE_CPU_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MICOI, - {_sSI: _cMICOR, _sm: None}, - (_II, _CCor, _TPC, _NV, _DR), - ( - (INSTANCE_ID, 1), - (INTEGER, 0), - (INTEGER, 0), - (NESTED_VIRTUALIZATION_SPECIFICATION, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_INSTANCE_CPU_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MICOO, - {_sSI: _cMICORo, _smit: None}, - (_II, _CCor, _TPC, _NV), - ( - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (INTEGER, {_aQN: _CCor, _sN: _cCor}), - (INTEGER, {_aQN: _TPC, _sN: _tPC}), - (NESTED_VIRTUALIZATION_SPECIFICATION, {_aQN: _NV, _sN: _nV}), - ), -) - -MODIFY_INSTANCE_CPU_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MICO, - 0, - MODIFY_INSTANCE_CPU_OPTIONS_INPUT, - MODIFY_INSTANCE_CPU_OPTIONS_OUTPUT, - (), -) - -INSTANCE_CREDIT_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _ICSR, - 0, - (_II, _CCp), - ((INSTANCE_ID, 1), (STRING, 0)), -) - -INSTANCE_CREDIT_SPECIFICATION_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _ICSLR, - 0, - (_me,), - ((INSTANCE_CREDIT_SPECIFICATION_REQUEST, {_sN: _i}),), -) - -MODIFY_INSTANCE_CREDIT_SPECIFICATION_INPUT: StaticSchema = ( - 18, - n0, - _MICSI, - {_sSI: _cMICSR, _sm: None}, - (_DR, _CTl, _ICSn), - ( - (BOOLEAN, 0), - (STRING, 0), - (INSTANCE_CREDIT_SPECIFICATION_LIST_REQUEST, {_sN: _ICS, _smi: None}), - ), -) - -SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM: StaticSchema = ( - 18, - n0, - _SICSI, - 0, - (_II,), - ((STRING, {_aQN: _II, _sN: _iI}),), -) - -SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET: StaticSchema = ( - 16, - n0, - _SICSS, - 0, - (_me,), - ((SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM, {_sN: _i}),), -) - -UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ERROR_CODE: StaticSchema = ( - 14, - n0, - _UICSEC, - 0, - (_III_, _INF, _IIS_, _ICSNS), - ( - (-1, {_sV: _IIIDM}), - (-1, {_sV: _IIIDNF}), - (-1, {_sV: _IISnc}), - (-1, {_sV: _ICSNSn}), - ), -) - -UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM_ERROR: StaticSchema = ( - 18, - n0, - _UICSIE, - 0, - (_C, _Me), - ( - (UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ERROR_CODE, {_aQN: _C, _sN: _co}), - (STRING, {_aQN: _Me, _sN: _mes}), - ), -) - -UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM: StaticSchema = ( - 18, - n0, - _UICSI, - 0, - (_II, _E), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM_ERROR, {_aQN: _E, _sN: _er}), - ), -) - -UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET: StaticSchema = ( - 16, - n0, - _UICSS, - 0, - (_me,), - ((UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM, {_sN: _i}),), -) - -MODIFY_INSTANCE_CREDIT_SPECIFICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MICSO, - {_sSI: _cMICSRo, _smit: None}, - (_SICS, _UICS), - ( - (SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET, {_aQN: _SICSS, _sN: _sICSS}), - (UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET, {_aQN: _UICSS, _sN: _uICSS}), - ), -) - -MODIFY_INSTANCE_CREDIT_SPECIFICATION: StaticOperationSchema = ( - 23, - n0, - _MICS, - 0, - MODIFY_INSTANCE_CREDIT_SPECIFICATION_INPUT, - MODIFY_INSTANCE_CREDIT_SPECIFICATION_OUTPUT, - (), -) - -MODIFY_INSTANCE_EVENT_START_TIME_INPUT: StaticSchema = ( - 18, - n0, - _MIESTI, - {_sSI: _cMIESTR, _sm: None}, - (_DR, _II, _IEI, _NB), - ((BOOLEAN, 0), (INSTANCE_ID, 1), (STRING, 1), (DATE_TIME, 1)), -) - -MODIFY_INSTANCE_EVENT_START_TIME_OUTPUT: StaticSchema = ( - 18, - n0, - _MIESTO, - {_sSI: _cMIESTRo, _smit: None}, - (_Eve,), - ((INSTANCE_STATUS_EVENT, {_aQN: _Eve, _sN: _ev}),), -) - -MODIFY_INSTANCE_EVENT_START_TIME: StaticOperationSchema = ( - 23, - n0, - _MIEST, - 0, - MODIFY_INSTANCE_EVENT_START_TIME_INPUT, - MODIFY_INSTANCE_EVENT_START_TIME_OUTPUT, - (), -) - -MODIFY_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( - 18, - n0, - _MIEWI, - {_sSI: _cMIEWR, _sm: None}, - (_DR, _N, _IEWI, _TRi, _CE), - ( - (BOOLEAN, 0), - (STRING, 0), - (INSTANCE_EVENT_WINDOW_ID, 1), - (INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST_SET, {_sN: _TRim}), - (INSTANCE_EVENT_WINDOW_CRON_EXPRESSION, 0), - ), -) - -MODIFY_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( - 18, - n0, - _MIEWO, - {_sSI: _cMIEWRo, _smit: None}, - (_IEW,), - ((INSTANCE_EVENT_WINDOW, {_aQN: _IEW, _sN: _iEW}),), -) - -MODIFY_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( - 23, - n0, - _MIEW, - 0, - MODIFY_INSTANCE_EVENT_WINDOW_INPUT, - MODIFY_INSTANCE_EVENT_WINDOW_OUTPUT, - (), -) - -MODIFY_INSTANCE_MAINTENANCE_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MIMOI, - {_sSI: _cMIMOR, _sm: None}, - (_II, _ARu, _RMeb, _DR), - ( - (INSTANCE_ID, 1), - (INSTANCE_AUTO_RECOVERY_STATE, 0), - (INSTANCE_REBOOT_MIGRATION_STATE, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_INSTANCE_MAINTENANCE_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MIMOO, - {_sSI: _cMIMORo, _smit: None}, - (_II, _ARu, _RMeb), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (INSTANCE_AUTO_RECOVERY_STATE, {_aQN: _ARu, _sN: _aRu}), - (INSTANCE_REBOOT_MIGRATION_STATE, {_aQN: _RMeb, _sN: _rMeb}), - ), -) - -MODIFY_INSTANCE_MAINTENANCE_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MIMO, - 0, - MODIFY_INSTANCE_MAINTENANCE_OPTIONS_INPUT, - MODIFY_INSTANCE_MAINTENANCE_OPTIONS_OUTPUT, - (), -) - -DEFAULT_INSTANCE_METADATA_ENDPOINT_STATE: StaticSchema = ( - 14, - n0, - _DIMES, - 0, - (_d, _ena, _np), - ((-1, {_sV: _d}), (-1, {_sV: _ena}), (-1, {_sV: _np_})), -) - -METADATA_DEFAULT_HTTP_TOKENS_STATE: StaticSchema = ( - 14, - n0, - _MDHTS, - 0, - (_opt, _requ, _np), - ((-1, {_sV: _opt}), (-1, {_sV: _requ}), (-1, {_sV: _np_})), -) - -DEFAULT_HTTP_TOKENS_ENFORCED_STATE: StaticSchema = ( - 14, - n0, - _DHTES, - 0, - (_d, _ena, _np), - ((-1, {_sV: _d}), (-1, {_sV: _ena}), (-1, {_sV: _np_})), -) - -DEFAULT_INSTANCE_METADATA_TAGS_STATE: StaticSchema = ( - 14, - n0, - _DIMTS, - 0, - (_d, _ena, _np), - ((-1, {_sV: _d}), (-1, {_sV: _ena}), (-1, {_sV: _np_})), -) - -MODIFY_INSTANCE_METADATA_DEFAULTS_INPUT: StaticSchema = ( - 18, - n0, - _MIMDI, - {_sSI: _cMIMDR, _sm: None}, - (_HTt, _HPRHL, _HE, _IMT, _DR, _HTE), - ( - (METADATA_DEFAULT_HTTP_TOKENS_STATE, 0), - (BOXED_INTEGER, 0), - (DEFAULT_INSTANCE_METADATA_ENDPOINT_STATE, 0), - (DEFAULT_INSTANCE_METADATA_TAGS_STATE, 0), - (BOOLEAN, 0), - (DEFAULT_HTTP_TOKENS_ENFORCED_STATE, 0), - ), -) - -MODIFY_INSTANCE_METADATA_DEFAULTS_OUTPUT: StaticSchema = ( - 18, - n0, - _MIMDO, - {_sSI: _cMIMDRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_INSTANCE_METADATA_DEFAULTS: StaticOperationSchema = ( - 23, - n0, - _MIMD, - 0, - MODIFY_INSTANCE_METADATA_DEFAULTS_INPUT, - MODIFY_INSTANCE_METADATA_DEFAULTS_OUTPUT, - (), -) - -MODIFY_INSTANCE_METADATA_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MIMOIo, - {_sSI: _cMIMORom, _sm: None}, - (_II, _HTt, _HPRHL, _HE, _DR, _HPI, _IMT), - ( - (INSTANCE_ID, 1), - (HTTP_TOKENS_STATE, 0), - (INTEGER, 0), - (INSTANCE_METADATA_ENDPOINT_STATE, 0), - (BOOLEAN, 0), - (INSTANCE_METADATA_PROTOCOL_STATE, 0), - (INSTANCE_METADATA_TAGS_STATE, 0), - ), -) - -MODIFY_INSTANCE_METADATA_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MIMOOo, - {_sSI: _cMIMORoma, _smit: None}, - (_II, _IMOns), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (INSTANCE_METADATA_OPTIONS_RESPONSE, {_aQN: _IMOns, _sN: _iMOn}), - ), -) - -MODIFY_INSTANCE_METADATA_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MIMOo, - 0, - MODIFY_INSTANCE_METADATA_OPTIONS_INPUT, - MODIFY_INSTANCE_METADATA_OPTIONS_OUTPUT, - (), -) - -MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MINPOI, - {_sSI: _cMINPR, _sm: None}, - (_II, _BW, _DR), - ((INSTANCE_ID, 1), (INSTANCE_BANDWIDTH_WEIGHTING, 1), (BOOLEAN, 0)), -) - -MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MINPOO, - {_sSI: _cMINPRo, _smit: None}, - (_II, _BW), - ( - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (INSTANCE_BANDWIDTH_WEIGHTING, {_aQN: _BW, _sN: _bW}), - ), -) - -MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MINPO, - 0, - MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_INPUT, - MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_OUTPUT, - (), -) - -HOST_TENANCY: StaticSchema = ( - 14, - n0, - _HTo, - 0, - (_def, _ded, _ho), - ((-1, {_sV: _def}), (-1, {_sV: _ded}), (-1, {_sV: _ho})), -) - -MODIFY_INSTANCE_PLACEMENT_INPUT: StaticSchema = ( - 18, - n0, - _MIPI, - {_sSI: _cMIPR, _sm: None}, - (_GN, _PNa, _HRGA, _GIr, _II, _Ten, _Af, _HIo), - ( - (PLACEMENT_GROUP_NAME, 0), - (INTEGER, 0), - (STRING, 0), - (PLACEMENT_GROUP_ID, 0), - (INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), - (HOST_TENANCY, {_aQN: _Ten, _sN: _ten}), - (AFFINITY, {_aQN: _Af, _sN: _aff}), - (DEDICATED_HOST_ID, {_aQN: _HIo, _sN: _hI}), - ), -) - -MODIFY_INSTANCE_PLACEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _MIPO, - {_sSI: _cMIPRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_INSTANCE_PLACEMENT: StaticOperationSchema = ( - 23, - n0, - _MIPo, - 0, - MODIFY_INSTANCE_PLACEMENT_INPUT, - MODIFY_INSTANCE_PLACEMENT_OUTPUT, - (), -) - -REMOVE_IPAM_OPERATING_REGION: StaticSchema = (18, n0, _RIOR, 0, (_RNe,), ((STRING, 0),)) - -REMOVE_IPAM_OPERATING_REGION_SET: StaticSchema = ( - 16, - n0, - _RIORS, - 0, - (_me,), - ((REMOVE_IPAM_OPERATING_REGION, 0),), -) - -MODIFY_IPAM_INPUT: StaticSchema = ( - 18, - n0, - _MII, - {_sSI: _cMIR, _sm: None}, - (_DR, _IIp, _Des, _AOR, _ROR, _Tie, _EPG, _MAe), - ( - (BOOLEAN, 0), - (IPAM_ID, 1), - (STRING, 0), - (ADD_IPAM_OPERATING_REGION_SET, {_sN: _AORd}), - (REMOVE_IPAM_OPERATING_REGION_SET, {_sN: _RORe}), - (IPAM_TIER, 0), - (BOOLEAN, 0), - (IPAM_METERED_ACCOUNT, 0), - ), -) - -MODIFY_IPAM_OUTPUT: StaticSchema = ( - 18, - n0, - _MIO, - {_sSI: _cMIRo, _smit: None}, - (_Ipa,), - ((IPAM, {_aQN: _Ipa, _sN: _ip}),), -) - -MODIFY_IPAM: StaticOperationSchema = ( - 23, - n0, - _MIo, - 0, - MODIFY_IPAM_INPUT, - MODIFY_IPAM_OUTPUT, - (), -) - -IPAM_POLICY_ALLOCATION_RULE_REQUEST: StaticSchema = ( - 18, - n0, - _IPARR, - 0, - (_SIPI,), - ((IPAM_POOL_ID, 0),), -) - -IPAM_POLICY_ALLOCATION_RULE_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _IPARLR, - 0, - (_me,), - ((IPAM_POLICY_ALLOCATION_RULE_REQUEST, {_sN: _i}),), -) - -MODIFY_IPAM_POLICY_ALLOCATION_RULES_INPUT: StaticSchema = ( - 18, - n0, - _MIPARI, - {_sSI: _cMIPARR, _sm: None}, - (_DR, _IPIp, _Loc, _RT, _ARllo), - ( - (BOOLEAN, 0), - (IPAM_POLICY_ID, 1), - (STRING, 1), - (IPAM_POLICY_RESOURCE_TYPE, 1), - (IPAM_POLICY_ALLOCATION_RULE_LIST_REQUEST, {_sN: _ARlloc}), - ), -) - -MODIFY_IPAM_POLICY_ALLOCATION_RULES_OUTPUT: StaticSchema = ( - 18, - n0, - _MIPARO, - {_sSI: _cMIPARRo, _smit: None}, - (_IPD,), - ((IPAM_POLICY_DOCUMENT, {_aQN: _IPD, _sN: _iPD}),), -) - -MODIFY_IPAM_POLICY_ALLOCATION_RULES: StaticOperationSchema = ( - 23, - n0, - _MIPAR, - 0, - MODIFY_IPAM_POLICY_ALLOCATION_RULES_INPUT, - MODIFY_IPAM_POLICY_ALLOCATION_RULES_OUTPUT, - (), -) - -MODIFY_IPAM_POOL_INPUT: StaticSchema = ( - 18, - n0, - _MIPIo, - {_sSI: _cMIPRom, _sm: None}, - (_DR, _IPI, _Des, _AIu, _AMNL, _AMNLl, _ADNL, _CADNL, _AART, _RART), - ( - (BOOLEAN, 0), - (IPAM_POOL_ID, 1), - (STRING, 0), - (BOOLEAN, 0), - (IPAM_NETMASK_LENGTH, 0), - (IPAM_NETMASK_LENGTH, 0), - (IPAM_NETMASK_LENGTH, 0), - (BOOLEAN, 0), - (REQUEST_IPAM_RESOURCE_TAG_LIST, {_sN: _AARTd}), - (REQUEST_IPAM_RESOURCE_TAG_LIST, {_sN: _RARTe}), - ), -) - -MODIFY_IPAM_POOL_OUTPUT: StaticSchema = ( - 18, - n0, - _MIPOo, - {_sSI: _cMIPRoma, _smit: None}, - (_IPpam,), - ((IPAM_POOL, {_aQN: _IPpam, _sN: _iPpam}),), -) - -MODIFY_IPAM_POOL: StaticOperationSchema = ( - 23, - n0, - _MIPod, - 0, - MODIFY_IPAM_POOL_INPUT, - MODIFY_IPAM_POOL_OUTPUT, - (), -) - -MODIFY_IPAM_POOL_ALLOCATION_INPUT: StaticSchema = ( - 18, - n0, - _MIPAI, - {_sSI: _cMIPAR, _sm: None}, - (_DR, _IPAI, _Des), - ((BOOLEAN, 0), (IPAM_POOL_ALLOCATION_ID, 1), (STRING, 0)), -) - -MODIFY_IPAM_POOL_ALLOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MIPAO, - {_sSI: _cMIPARo, _smit: None}, - (_IPA,), - ((IPAM_POOL_ALLOCATION, {_aQN: _IPA, _sN: _iPA}),), -) - -MODIFY_IPAM_POOL_ALLOCATION: StaticOperationSchema = ( - 23, - n0, - _MIPA, - 0, - MODIFY_IPAM_POOL_ALLOCATION_INPUT, - MODIFY_IPAM_POOL_ALLOCATION_OUTPUT, - (), -) - -MODIFY_IPAM_PREFIX_LIST_RESOLVER_INPUT: StaticSchema = ( - 18, - n0, - _MIPLRI, - {_sSI: _cMIPLRR, _sm: None}, - (_DR, _IPLRI, _Des, _Rul), - ( - (BOOLEAN, 0), - (IPAM_PREFIX_LIST_RESOLVER_ID, 1), - (STRING, 0), - (IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST_SET, {_sN: _Ru}), - ), -) - -MODIFY_IPAM_PREFIX_LIST_RESOLVER_OUTPUT: StaticSchema = ( - 18, - n0, - _MIPLRO, - {_sSI: _cMIPLRRo, _smit: None}, - (_IPLR,), - ((IPAM_PREFIX_LIST_RESOLVER, {_aQN: _IPLR, _sN: _iPLR}),), -) - -MODIFY_IPAM_PREFIX_LIST_RESOLVER: StaticOperationSchema = ( - 23, - n0, - _MIPLR, - 0, - MODIFY_IPAM_PREFIX_LIST_RESOLVER_INPUT, - MODIFY_IPAM_PREFIX_LIST_RESOLVER_OUTPUT, - (), -) - -MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT: StaticSchema = ( - 18, - n0, - _MIPLRTI, - {_sSI: _cMIPLRTR, _sm: None}, - (_DR, _IPLRTI, _DVe, _TLV, _CTl), - ( - (BOOLEAN, 0), - (IPAM_PREFIX_LIST_RESOLVER_TARGET_ID, 1), - (BOXED_LONG, 0), - (BOXED_BOOLEAN, 0), - (STRING, 2), - ), -) - -MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT: StaticSchema = ( - 18, - n0, - _MIPLRTO, - {_sSI: _cMIPLRTRo, _smit: None}, - (_IPLRT,), - ((IPAM_PREFIX_LIST_RESOLVER_TARGET, {_aQN: _IPLRT, _sN: _iPLRT}),), -) - -MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET: StaticOperationSchema = ( - 23, - n0, - _MIPLRT, - 0, - MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT, - MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT, - (), -) - -MODIFY_IPAM_RESOURCE_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _MIRCI, - {_sSI: _cMIRCR, _sm: None}, - (_DR, _RIe, _RCes, _RR, _CISIu, _DISIest, _Moni), - ( - (BOOLEAN, 0), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (IPAM_SCOPE_ID, 1), - (IPAM_SCOPE_ID, 0), - (BOOLEAN, 1), - ), -) - -MODIFY_IPAM_RESOURCE_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _MIRCO, - {_sSI: _cMIRCRo, _smit: None}, - (_IRC,), - ((IPAM_RESOURCE_CIDR, {_aQN: _IRC, _sN: _iRC}),), -) - -MODIFY_IPAM_RESOURCE_CIDR: StaticOperationSchema = ( - 23, - n0, - _MIRC, - 0, - MODIFY_IPAM_RESOURCE_CIDR_INPUT, - MODIFY_IPAM_RESOURCE_CIDR_OUTPUT, - (), -) - -REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION: StaticSchema = ( - 18, - n0, - _RIOUE, - 0, - (_OEP,), - ((STRING, 0),), -) - -REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET: StaticSchema = ( - 16, - n0, - _RIOUES, - 0, - (_me,), - ((REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION, 0),), -) - -MODIFY_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( - 18, - n0, - _MIRDI, - {_sSI: _cMIRDR, _sm: None}, - (_DR, _IRDI, _Des, _AOR, _ROR, _AOUE, _ROUE), - ( - (BOOLEAN, 0), - (IPAM_RESOURCE_DISCOVERY_ID, 1), - (STRING, 0), - (ADD_IPAM_OPERATING_REGION_SET, {_sN: _AORd}), - (REMOVE_IPAM_OPERATING_REGION_SET, {_sN: _RORe}), - (ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET, {_sN: _AOUEd}), - (REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET, {_sN: _ROUEe}), - ), -) - -MODIFY_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( - 18, - n0, - _MIRDO, - {_sSI: _cMIRDRo, _smit: None}, - (_IRD,), - ((IPAM_RESOURCE_DISCOVERY, {_aQN: _IRD, _sN: _iRD}),), -) - -MODIFY_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( - 23, - n0, - _MIRD, - 0, - MODIFY_IPAM_RESOURCE_DISCOVERY_INPUT, - MODIFY_IPAM_RESOURCE_DISCOVERY_OUTPUT, - (), -) - -MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_INPUT: StaticSchema = ( - 18, - n0, - _MIRPRI, - {_sSI: _cMIRPRR, _sm: None}, - (_DR, _IIRAI, _Ci, _Asns, _PMSA, _ML, _Des, _Fo, _CTl), - ( - (BOOLEAN, 0), - (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), - (STRING, 1), - (ASN_LIST, {_sN: _Asn, _smi: None}), - (BOXED_BOOLEAN, 0), - (IPAM_ROUTING_POLICY_REGISTRATION_MAX_LENGTH, 0), - (STRING, 0), - (BOXED_BOOLEAN, 0), - (STRING, 2), - ), -) - -MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MIRPRO, - {_sSI: _cMIRPRRo, _smit: None}, - (_IRPRD,), - ((IPAM_ROUTING_POLICY_REGISTRATION_DELTA, {_aQN: _IRPRD, _sN: _iRPRD}),), -) - -MODIFY_IPAM_ROUTING_POLICY_REGISTRATION: StaticOperationSchema = ( - 23, - n0, - _MIRPR, - 0, - MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_INPUT, - MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT, - (), -) - -MODIFY_IPAM_SCOPE_INPUT: StaticSchema = ( - 18, - n0, - _MISI, - {_sSI: _cMISR, _sm: None}, - (_DR, _ISI, _Des, _EAC, _REAC), - ( - (BOOLEAN, 0), - (IPAM_SCOPE_ID, 1), - (STRING, 0), - (EXTERNAL_AUTHORITY_CONFIGURATION, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_IPAM_SCOPE_OUTPUT: StaticSchema = ( - 18, - n0, - _MISO, - {_sSI: _cMISRo, _smit: None}, - (_ISpam,), - ((IPAM_SCOPE, {_aQN: _ISpam, _sN: _iSpa}),), -) - -MODIFY_IPAM_SCOPE: StaticOperationSchema = ( - 23, - n0, - _MIS, - 0, - MODIFY_IPAM_SCOPE_INPUT, - MODIFY_IPAM_SCOPE_OUTPUT, - (), -) - -MODIFY_LAUNCH_TEMPLATE_INPUT: StaticSchema = ( - 18, - n0, - _MLTI, - {_sSI: _cMLTR, _sm: None}, - (_DR, _CTl, _LTI, _LTN, _DVef), - ( - (BOOLEAN, 0), - (STRING, 2), - (LAUNCH_TEMPLATE_ID, 0), - (LAUNCH_TEMPLATE_NAME, 0), - (STRING, {_sN: _SDV}), - ), -) - -MODIFY_LAUNCH_TEMPLATE_OUTPUT: StaticSchema = ( - 18, - n0, - _MLTO, - {_sSI: _cMLTRo, _smit: None}, - (_LT,), - ((LAUNCH_TEMPLATE, {_aQN: _LT, _sN: _lT}),), -) - -MODIFY_LAUNCH_TEMPLATE: StaticOperationSchema = ( - 23, - n0, - _MLT, - 0, - MODIFY_LAUNCH_TEMPLATE_INPUT, - MODIFY_LAUNCH_TEMPLATE_OUTPUT, - (), -) - -MODIFY_LOCAL_GATEWAY_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _MLGRI, - {_sSI: _cMLGRR, _sm: None}, - (_DCB, _LGRTI, _LGVIGI, _NII, _DR, _DPLI), - ( - (STRING, 0), - (LOCAL_GATEWAY_ROUTETABLE_ID, 1), - (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 0), - (NETWORK_INTERFACE_ID, 0), - (BOOLEAN, 0), - (PREFIX_LIST_RESOURCE_ID, 0), - ), -) - -MODIFY_LOCAL_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _MLGRO, - {_sSI: _cMLGRRo, _smit: None}, - (_Rou,), - ((LOCAL_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), -) - -MODIFY_LOCAL_GATEWAY_ROUTE: StaticOperationSchema = ( - 23, - n0, - _MLGR, - 0, - MODIFY_LOCAL_GATEWAY_ROUTE_INPUT, - MODIFY_LOCAL_GATEWAY_ROUTE_OUTPUT, - (), -) - -REMOVE_PREFIX_LIST_ENTRY: StaticSchema = (18, n0, _RPLE, 0, (_Ci,), ((STRING, 1),)) - -REMOVE_PREFIX_LIST_ENTRIES: StaticSchema = ( - 16, - n0, - _RPLEe, - 0, - (_me,), - ((REMOVE_PREFIX_LIST_ENTRY, 0),), -) - -MODIFY_MANAGED_PREFIX_LIST_INPUT: StaticSchema = ( - 18, - n0, - _MMPLI, - {_sSI: _cMMPLR, _sm: None}, - (_DR, _PLI, _CVu, _PLN, _AEd, _REem, _ME, _IPLRSE), - ( - (BOOLEAN, 0), - (PREFIX_LIST_RESOURCE_ID, 1), - (LONG, 0), - (STRING, 0), - (ADD_PREFIX_LIST_ENTRIES, {_sN: _AEdd}), - (REMOVE_PREFIX_LIST_ENTRIES, {_sN: _REemo}), - (INTEGER, 0), - (BOXED_BOOLEAN, 0), - ), -) - -MODIFY_MANAGED_PREFIX_LIST_OUTPUT: StaticSchema = ( - 18, - n0, - _MMPLO, - {_sSI: _cMMPLRo, _smit: None}, - (_PL,), - ((MANAGED_PREFIX_LIST, {_aQN: _PL, _sN: _pL}),), -) - -MODIFY_MANAGED_PREFIX_LIST: StaticOperationSchema = ( - 23, - n0, - _MMPL, - 0, - MODIFY_MANAGED_PREFIX_LIST_INPUT, - MODIFY_MANAGED_PREFIX_LIST_OUTPUT, - (), -) - -MODIFY_MANAGED_RESOURCE_VISIBILITY_INPUT: StaticSchema = ( - 18, - n0, - _MMRVI, - {_sSI: _cMMRVR, _sm: None}, - (_DR, _DVefa), - ((BOOLEAN, 0), (MANAGED_RESOURCE_DEFAULT_VISIBILITY, 1)), -) - -MODIFY_MANAGED_RESOURCE_VISIBILITY_OUTPUT: StaticSchema = ( - 18, - n0, - _MMRVO, - {_sSI: _cMMRVRo, _smit: None}, - (_Vi,), - ((MANAGED_RESOURCE_VISIBILITY_SETTINGS, {_aQN: _Vi, _sN: _vis}),), -) - -MODIFY_MANAGED_RESOURCE_VISIBILITY: StaticOperationSchema = ( - 23, - n0, - _MMRV, - 0, - MODIFY_MANAGED_RESOURCE_VISIBILITY_INPUT, - MODIFY_MANAGED_RESOURCE_VISIBILITY_OUTPUT, - (), -) - -SUBNET_ID_LIST: StaticSchema = (16, n0, _SILu, 0, (_me,), ((SUBNET_ID, {_sN: _ASIs}),)) - -NETWORK_INTERFACE_ATTACHMENT_CHANGES: StaticSchema = ( - 18, - n0, - _NIAC, - 0, - (_DEQC, _EQC, _AIt, _DOT), - ( - (BOOLEAN, 0), - (INTEGER, 0), - (NETWORK_INTERFACE_ATTACHMENT_ID, {_aQN: _AIt, _sN: _aIt}), - (BOOLEAN, {_aQN: _DOT, _sN: _dOT}), - ), -) - -MODIFY_NETWORK_INTERFACE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MNIAI, - {_sSI: _cMNIAR, _sm: None}, - (_ESS, _EPI, _CTSo, _APIAsso, _ASIss, _DR, _NII, _Des, _SDC, _G, _At), - ( - (ENA_SRD_SPECIFICATION, 0), - (BOOLEAN, 0), - (CONNECTION_TRACKING_SPECIFICATION_REQUEST, 0), - (BOOLEAN, 0), - (SUBNET_ID_LIST, {_sN: _ASIs}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), - (ATTRIBUTE_VALUE, {_aQN: _Des, _sN: _desc}), - (ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _SDC, _sN: _sDC}), - (SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), - (NETWORK_INTERFACE_ATTACHMENT_CHANGES, {_aQN: _At, _sN: _atta}), - ), -) - -MODIFY_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _MNIAO, - {_sSI: _sU, _smit: None}, -) - -MODIFY_NETWORK_INTERFACE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MNIA, - 0, - MODIFY_NETWORK_INTERFACE_ATTRIBUTE_INPUT, - MODIFY_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT, - (), -) - -MODIFY_PRIVATE_DNS_NAME_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MPDNOI, - {_sSI: _cMPDNOR, _sm: None}, - (_DR, _II, _PDHT, _ERNDAR, _ERNDAAAAR), - ((BOOLEAN, 0), (INSTANCE_ID, 1), (HOSTNAME_TYPE, 0), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -MODIFY_PRIVATE_DNS_NAME_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MPDNOO, - {_sSI: _cMPDNORo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_PRIVATE_DNS_NAME_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MPDNO, - 0, - MODIFY_PRIVATE_DNS_NAME_OPTIONS_INPUT, - MODIFY_PRIVATE_DNS_NAME_OPTIONS_OUTPUT, - (), -) - -PUBLIC_IP_DNS_OPTION: StaticSchema = ( - 14, - n0, - _PIDO, - 0, - (_pdsdn, _pidn, _pidn__), - ((-1, {_sV: _pdsdn_}), (-1, {_sV: _pidn_}), (-1, {_sV: _pidn___})), -) - -MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MPIDNOI, - {_sSI: _cMPIDNOR, _sm: None}, - (_NII, _HT, _DR), - ((NETWORK_INTERFACE_ID, 1), (PUBLIC_IP_DNS_OPTION, 1), (BOOLEAN, 0)), -) - -MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MPIDNOO, - {_sSI: _cMPIDNORo, _smit: None}, - (_Suc,), - ((BOOLEAN, {_aQN: _Suc, _sN: _succ}),), -) - -MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MPIDNO, - 0, - MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_INPUT, - MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_OUTPUT, - (), -) - -RESERVED_INSTANCES_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _RICL, - 0, - (_me,), - ((RESERVED_INSTANCES_CONFIGURATION, {_sN: _i}),), -) - -MODIFY_RESERVED_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _MRII, - {_sSI: _cMRIR, _sm: None}, - (_RIIese, _CTl, _TC), - ( - (RESERVED_INSTANCES_ID_STRING_LIST, {_sN: _RIIes, _smi: None}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - (RESERVED_INSTANCES_CONFIGURATION_LIST, {_sN: _RICSIT, _smi: None}), - ), -) - -MODIFY_RESERVED_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _MRIO, - {_sSI: _cMRIRo, _smit: None}, - (_RIMI,), - ((STRING, {_aQN: _RIMI, _sN: _rIMI}),), -) - -MODIFY_RESERVED_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _MRI, - 0, - MODIFY_RESERVED_INSTANCES_INPUT, - MODIFY_RESERVED_INSTANCES_OUTPUT, - (), -) - -MODIFY_ROUTE_SERVER_INPUT: StaticSchema = ( - 18, - n0, - _MRSI, - {_sSI: _cMRSR, _sm: None}, - (_RSI, _PRe, _PRD, _SNE, _DR), - ( - (ROUTE_SERVER_ID, 1), - (ROUTE_SERVER_PERSIST_ROUTES_ACTION, 0), - (BOXED_LONG, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_ROUTE_SERVER_OUTPUT: StaticSchema = ( - 18, - n0, - _MRSO, - {_sSI: _cMRSRo, _smit: None}, - (_RSo,), - ((ROUTE_SERVER, {_aQN: _RSo, _sN: _rSo}),), -) - -MODIFY_ROUTE_SERVER: StaticOperationSchema = ( - 23, - n0, - _MRSo, - 0, - MODIFY_ROUTE_SERVER_INPUT, - MODIFY_ROUTE_SERVER_OUTPUT, - (), -) - -SECURITY_GROUP_RULE_REQUEST: StaticSchema = ( - 18, - n0, - _SGRR, - 0, - (_IPpr, _FP, _TP, _CIidr, _CIid, _PLI, _RGIef, _Des), - ( - (STRING, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (PREFIX_LIST_RESOURCE_ID, 0), - (SECURITY_GROUP_ID, 0), - (STRING, 0), - ), -) - -SECURITY_GROUP_RULE_UPDATE: StaticSchema = ( - 18, - n0, - _SGRU, - 0, - (_SGRI, _SGR), - ((SECURITY_GROUP_RULE_ID, 1), (SECURITY_GROUP_RULE_REQUEST, 0)), -) - -SECURITY_GROUP_RULE_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _SGRUL, - 0, - (_me,), - ((SECURITY_GROUP_RULE_UPDATE, {_sN: _i}),), -) - -MODIFY_SECURITY_GROUP_RULES_INPUT: StaticSchema = ( - 18, - n0, - _MSGRI, - {_sSI: _cMSGRR, _sm: None}, - (_GIr, _SGRe, _DR), - ( - (SECURITY_GROUP_ID, 1), - (SECURITY_GROUP_RULE_UPDATE_LIST, {_sN: _SGR, _smi: None}), - (BOOLEAN, 0), - ), -) - -MODIFY_SECURITY_GROUP_RULES_OUTPUT: StaticSchema = ( - 18, - n0, - _MSGRO, - {_sSI: _cMSGRRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_SECURITY_GROUP_RULES: StaticOperationSchema = ( - 23, - n0, - _MSGR, - 0, - MODIFY_SECURITY_GROUP_RULES_INPUT, - MODIFY_SECURITY_GROUP_RULES_OUTPUT, - (), -) - -CREATE_VOLUME_PERMISSION_MODIFICATIONS: StaticSchema = ( - 18, - n0, - _CVPM, - 0, - (_Add_, _Remo), - ((CREATE_VOLUME_PERMISSION_LIST, 0), (CREATE_VOLUME_PERMISSION_LIST, 0)), -) - -MODIFY_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MSAI, - {_sSI: _cMSAR, _sm: None}, - (_Attr, _CVP, _GNr, _OTp, _SIn, _UIse, _DR), - ( - (SNAPSHOT_ATTRIBUTE_NAME, 0), - (CREATE_VOLUME_PERMISSION_MODIFICATIONS, 0), - (GROUP_NAME_STRING_LIST, {_sN: _UG}), - (OPERATION_TYPE, 0), - (SNAPSHOT_ID, 1), - (USER_ID_STRING_LIST, {_sN: _UIs}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -MODIFY_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _MSAO, - {_sSI: _sU, _smit: None}, -) - -MODIFY_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MSA, - 0, - MODIFY_SNAPSHOT_ATTRIBUTE_INPUT, - MODIFY_SNAPSHOT_ATTRIBUTE_OUTPUT, - (), -) - -TARGET_STORAGE_TIER: StaticSchema = (14, n0, _TSTa, 0, (_arc,), ((-1, {_sV: _arc}),)) - -MODIFY_SNAPSHOT_TIER_INPUT: StaticSchema = ( - 18, - n0, - _MSTI, - {_sSI: _cMSTR, _sm: None}, - (_SIn, _STt, _DR), - ((SNAPSHOT_ID, 1), (TARGET_STORAGE_TIER, 0), (BOOLEAN, 0)), -) - -MODIFY_SNAPSHOT_TIER_OUTPUT: StaticSchema = ( - 18, - n0, - _MSTO, - {_sSI: _cMSTRo, _smit: None}, - (_SIn, _TSTi), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (MILLISECOND_DATE_TIME, {_aQN: _TSTi, _sN: _tSTi}), - ), -) - -MODIFY_SNAPSHOT_TIER: StaticOperationSchema = ( - 23, - n0, - _MST, - 0, - MODIFY_SNAPSHOT_TIER_INPUT, - MODIFY_SNAPSHOT_TIER_OUTPUT, - (), -) - -MODIFY_SPOT_FLEET_REQUEST_INPUT: StaticSchema = ( - 18, - n0, - _MSFRI, - {_sSI: _cMSFRR, _sm: None}, - (_LTC, _ODTC, _Con, _SFRI, _TCar, _ECTP), - ( - (LAUNCH_TEMPLATE_CONFIG_LIST, {_sN: _LTCa}), - (INTEGER, 0), - (STRING, 0), - (SPOT_FLEET_REQUEST_ID, {_aQN: _SFRI, _sN: _sFRI, _smi: None}), - (INTEGER, {_aQN: _TCar, _sN: _tCar}), - (EXCESS_CAPACITY_TERMINATION_POLICY, {_aQN: _ECTP, _sN: _eCTP}), - ), -) - -MODIFY_SPOT_FLEET_REQUEST_OUTPUT: StaticSchema = ( - 18, - n0, - _MSFRO, - {_sSI: _cMSFRRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_SPOT_FLEET_REQUEST: StaticOperationSchema = ( - 23, - n0, - _MSFR, - 0, - MODIFY_SPOT_FLEET_REQUEST_INPUT, - MODIFY_SPOT_FLEET_REQUEST_OUTPUT, - (), -) - -MODIFY_SUBNET_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MSAIo, - {_sSI: _cMSARo, _sm: None}, - ( - _AIAOC, - _MPIOL, - _SIu, - _MCOIOL, - _COIP, - _EDn, - _PDHTOL, - _ERNDAROL, - _ERNDAAAAROL, - _ELADI, - _DLADI, - ), - ( - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI, _smi: None}), - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (COIP_POOL_ID, 0), - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (HOSTNAME_TYPE, 0), - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (INTEGER, 0), - (ATTRIBUTE_BOOLEAN_VALUE, 0), - ), -) - -MODIFY_SUBNET_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _MSAOo, - {_sSI: _sU, _smit: None}, -) - -MODIFY_SUBNET_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MSAo, - 0, - MODIFY_SUBNET_ATTRIBUTE_INPUT, - MODIFY_SUBNET_ATTRIBUTE_OUTPUT, - (), -) - -MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_INPUT: StaticSchema = ( - 18, - n0, - _MTMFNSI, - {_sSI: _cMTMFNSR, _sm: None}, - (_TMFI, _ANSd, _RNS, _DR), - ( - (TRAFFIC_MIRROR_FILTER_ID, 1), - (TRAFFIC_MIRROR_NETWORK_SERVICE_LIST, {_sN: _ANSdd}), - (TRAFFIC_MIRROR_NETWORK_SERVICE_LIST, {_sN: _RNSe}), - (BOOLEAN, 0), - ), -) - -MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_OUTPUT: StaticSchema = ( - 18, - n0, - _MTMFNSO, - {_sSI: _cMTMFNSRo, _smit: None}, - (_TMF,), - ((TRAFFIC_MIRROR_FILTER, {_aQN: _TMF, _sN: _tMF}),), -) - -MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES: StaticOperationSchema = ( - 23, - n0, - _MTMFNS, - 0, - MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_INPUT, - MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_OUTPUT, - (), -) - -TRAFFIC_MIRROR_FILTER_RULE_FIELD: StaticSchema = ( - 14, - n0, - _TMFRF, - 0, - (_dpr__, _spr_, _pro, _desc), - ((-1, {_sV: _dpr___}), (-1, {_sV: _spr__}), (-1, {_sV: _pro}), (-1, {_sV: _desc})), -) - -TRAFFIC_MIRROR_FILTER_RULE_FIELD_LIST: StaticSchema = ( - 16, - n0, - _TMFRFL, - 0, - (_me,), - ((TRAFFIC_MIRROR_FILTER_RULE_FIELD, 0),), -) - -MODIFY_TRAFFIC_MIRROR_FILTER_RULE_INPUT: StaticSchema = ( - 18, - n0, - _MTMFRI, - {_sSI: _cMTMFRR, _sm: None}, - (_TMFRI, _TDr, _RN, _RA, _DPR, _SPR, _P, _DCB, _SCB, _Des, _RF, _DR), - ( - (TRAFFIC_MIRROR_FILTER_RULE_ID_WITH_RESOLVER, 1), - (TRAFFIC_DIRECTION, 0), - (INTEGER, 0), - (TRAFFIC_MIRROR_RULE_ACTION, 0), - (TRAFFIC_MIRROR_PORT_RANGE_REQUEST, 0), - (TRAFFIC_MIRROR_PORT_RANGE_REQUEST, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TRAFFIC_MIRROR_FILTER_RULE_FIELD_LIST, {_sN: _RFe}), - (BOOLEAN, 0), - ), -) - -MODIFY_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT: StaticSchema = ( - 18, - n0, - _MTMFRO, - {_sSI: _cMTMFRRo, _smit: None}, - (_TMFR,), - ((TRAFFIC_MIRROR_FILTER_RULE, {_aQN: _TMFR, _sN: _tMFR}),), -) - -MODIFY_TRAFFIC_MIRROR_FILTER_RULE: StaticOperationSchema = ( - 23, - n0, - _MTMFR, - 0, - MODIFY_TRAFFIC_MIRROR_FILTER_RULE_INPUT, - MODIFY_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT, - (), -) - -TRAFFIC_MIRROR_SESSION_FIELD: StaticSchema = ( - 14, - n0, - _TMSF, - 0, - (_pl__, _desc, _vni), - ((-1, {_sV: _pl___}), (-1, {_sV: _desc}), (-1, {_sV: _vni_})), -) - -TRAFFIC_MIRROR_SESSION_FIELD_LIST: StaticSchema = ( - 16, - n0, - _TMSFL, - 0, - (_me,), - ((TRAFFIC_MIRROR_SESSION_FIELD, 0),), -) - -MODIFY_TRAFFIC_MIRROR_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _MTMSI, - {_sSI: _cMTMSR, _sm: None}, - (_TMSI, _TMTI, _TMFI, _PLa, _SNes, _VNI, _Des, _RF, _DR), - ( - (TRAFFIC_MIRROR_SESSION_ID, 1), - (TRAFFIC_MIRROR_TARGET_ID, 0), - (TRAFFIC_MIRROR_FILTER_ID, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (TRAFFIC_MIRROR_SESSION_FIELD_LIST, {_sN: _RFe}), - (BOOLEAN, 0), - ), -) - -MODIFY_TRAFFIC_MIRROR_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _MTMSO, - {_sSI: _cMTMSRo, _smit: None}, - (_TMS,), - ((TRAFFIC_MIRROR_SESSION, {_aQN: _TMS, _sN: _tMS}),), -) - -MODIFY_TRAFFIC_MIRROR_SESSION: StaticOperationSchema = ( - 23, - n0, - _MTMS, - 0, - MODIFY_TRAFFIC_MIRROR_SESSION_INPUT, - MODIFY_TRAFFIC_MIRROR_SESSION_OUTPUT, - (), -) - -ENCRYPTION_SUPPORT_OPTION_VALUE: StaticSchema = ( - 14, - n0, - _ESOV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -MODIFY_TRANSIT_GATEWAY_OPTIONS: StaticSchema = ( - 18, - n0, - _MTGO, - 0, - ( - _ATGCB, - _RTGCB, - _VESp, - _DS, - _SGRS, - _AASA, - _DRTA, - _ADRTI, - _DRTP, - _PDRTI, - _ASA, - _ESnc, - ), - ( - (TRANSIT_GATEWAY_CIDR_BLOCK_STRING_LIST, 0), - (TRANSIT_GATEWAY_CIDR_BLOCK_STRING_LIST, 0), - (VPN_ECMP_SUPPORT_VALUE, 0), - (DNS_SUPPORT_VALUE, 0), - (SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, 0), - (AUTO_ACCEPT_SHARED_ATTACHMENTS_VALUE, 0), - (DEFAULT_ROUTE_TABLE_ASSOCIATION_VALUE, 0), - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 0), - (DEFAULT_ROUTE_TABLE_PROPAGATION_VALUE, 0), - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 0), - (LONG, 0), - (ENCRYPTION_SUPPORT_OPTION_VALUE, 0), - ), -) - -MODIFY_TRANSIT_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _MTGI, - {_sSI: _cMTGR, _sm: None}, - (_TGI, _Des, _O, _DR), - ( - (TRANSIT_GATEWAY_ID, 1), - (STRING, 0), - (MODIFY_TRANSIT_GATEWAY_OPTIONS, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_TRANSIT_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _MTGOo, - {_sSI: _cMTGRo, _smit: None}, - (_TGr,), - ((TRANSIT_GATEWAY, {_aQN: _TGr, _sN: _tG}),), -) - -MODIFY_TRANSIT_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _MTG, - 0, - MODIFY_TRANSIT_GATEWAY_INPUT, - MODIFY_TRANSIT_GATEWAY_OUTPUT, - (), -) - -TRANSIT_GATEWAY_NAT_RULE_REQUEST: StaticSchema = ( - 18, - n0, - _TGNRR, - 0, - (_RN, _MSC, _NCa), - ((INTEGER, 0), (STRING, 0), (STRING, 0)), -) - -TRANSIT_GATEWAY_NAT_RULE_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _TGNRRL, - 0, - (_me,), - ((TRANSIT_GATEWAY_NAT_RULE_REQUEST, {_sN: _i}),), -) - -TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_VALUE: StaticSchema = ( - 14, - n0, - _TGANGSV, - 0, - (_e, _disa), - ((-1, {_sV: _e}), (-1, {_sV: _disa})), -) - -MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _MTGANCI, - {_sSI: _cMTGANCR, _sm: None}, - (_TGAI, _NGSat, _NSRS, _NGR, _RNGR, _DR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_VALUE, 0), - (TRANSIT_GATEWAY_ATTACHMENT_NAT_SYSTEM_ROUTE_SUPPORT_VALUE, 0), - (TRANSIT_GATEWAY_NAT_RULE_REQUEST_LIST, {_sN: _NGRa}), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MTGANCO, - {_sSI: _cMTGANCRo, _smit: None}, - (_TGAI, _NGSat, _NSRS, _NGR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), - ( - TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_STATE, - {_aQN: _NGSat, _sN: _nGSa}, - ), - ( - TRANSIT_GATEWAY_ATTACHMENT_NAT_SYSTEM_ROUTE_SUPPORT_VALUE, - {_aQN: _NSRS, _sN: _nSRS}, - ), - (TRANSIT_GATEWAY_NAT_RULE_LIST, {_aQN: _NGRS, _sN: _nGRS}), - ), -) - -MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _MTGANC, - 0, - MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT, - MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT, - (), -) - -MODIFY_TRANSIT_GATEWAY_METERING_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _MTGMPI, - {_sSI: _cMTGMPR, _sm: None}, - (_TGMPI, _AMAI, _RMAI, _DR), - ( - (TRANSIT_GATEWAY_METERING_POLICY_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, {_sN: _AMAId}), - (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, {_sN: _RMAIe}), - (BOOLEAN, 0), - ), -) - -MODIFY_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _MTGMPO, - {_sSI: _cMTGMPRo, _smit: None}, - (_TGMP,), - ((TRANSIT_GATEWAY_METERING_POLICY, {_aQN: _TGMP, _sN: _tGMP}),), -) - -MODIFY_TRANSIT_GATEWAY_METERING_POLICY: StaticOperationSchema = ( - 23, - n0, - _MTGMP, - 0, - MODIFY_TRANSIT_GATEWAY_METERING_POLICY_INPUT, - MODIFY_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT, - (), -) - -MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT: StaticSchema = ( - 18, - n0, - _MTGPTEI, - {_sSI: _cMTGPTER, _sm: None}, - (_TGPTI, _PRNo, _PRol, _TRTI, _DR), - ( - (TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), - (STRING, 1), - (TRANSIT_GATEWAY_REQUEST_POLICY_RULE, 0), - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _MTGPTEO, - {_sSI: _cMTGPTERo, _smit: None}, - (_TGPTE,), - ((TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_aQN: _TGPTE, _sN: _tGPTE}),), -) - -MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticOperationSchema = ( - 23, - n0, - _MTGPTE, - 0, - MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT, - MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT, - (), -) - -MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT: StaticSchema = ( - 18, - n0, - _MTGPLRI, - {_sSI: _cMTGPLRR, _sm: None}, - (_TGRTI, _PLI, _TGAI, _Bl, _DR), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (PREFIX_LIST_RESOURCE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT: StaticSchema = ( - 18, - n0, - _MTGPLRO, - {_sSI: _cMTGPLRRo, _smit: None}, - (_TGPLR,), - ((TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE, {_aQN: _TGPLR, _sN: _tGPLR}),), -) - -MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE: StaticOperationSchema = ( - 23, - n0, - _MTGPLR, - 0, - MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT, - MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT, - (), -) - -MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS: StaticSchema = ( - 18, - n0, - _MTGVARO, - 0, - (_DS, _SGRS, _IS, _AMSp), - ( - (DNS_SUPPORT_VALUE, 0), - (SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, 0), - (IPV6_SUPPORT_VALUE, 0), - (APPLIANCE_MODE_SUPPORT_VALUE, 0), - ), -) - -MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _MTGVAI, - {_sSI: _cMTGVAR, _sm: None}, - (_TGAI, _ASId, _RSIe, _O, _DR), - ( - (TRANSIT_GATEWAY_ATTACHMENT_ID, 1), - (TRANSIT_GATEWAY_SUBNET_ID_LIST, 0), - (TRANSIT_GATEWAY_SUBNET_ID_LIST, 0), - (MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _MTGVAO, - {_sSI: _cMTGVARo, _smit: None}, - (_TGVA,), - ((TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), -) - -MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _MTGVA, - 0, - MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, - MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, - (), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE: StaticSchema = ( - 18, - n0, - _MVAEPR, - 0, - (_FP, _TP), - ( - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST: StaticSchema = ( - 16, - n0, - _MVAEPRL, - 0, - (_me,), - ((MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE, {_sN: _i}),), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS: StaticSchema = ( - 18, - n0, - _MVAECO, - 0, - (_PRo,), - ((MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}),), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST: StaticSchema = ( - 16, - n0, - _MVAESIL, - 0, - (_me,), - ((SUBNET_ID, {_sN: _i}),), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS: StaticSchema = ( - 18, - n0, - _MVAELBO, - 0, - (_SI, _P, _Po, _PRo), - ( - (MODIFY_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - (MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), - ), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS: StaticSchema = ( - 18, - n0, - _MVAEEO, - 0, - (_P, _Po, _PRo), - ( - (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - (MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), - ), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS: StaticSchema = ( - 18, - n0, - _MVAERO, - 0, - (_SI, _Po, _REd), - ( - (MODIFY_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), - (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), - (STRING, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _MVAEI, - {_sSI: _cMVAER, _sm: None}, - (_VAEI, _VAGI, _LBO, _NIO, _Des, _CTl, _DR, _ROd, _COi), - ( - (VERIFIED_ACCESS_ENDPOINT_ID, 1), - (VERIFIED_ACCESS_GROUP_ID, 0), - (MODIFY_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS, 0), - (MODIFY_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS, 0), - (STRING, 0), - (STRING, 2), - (BOOLEAN, 0), - (MODIFY_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS, 0), - (MODIFY_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _MVAEO, - {_sSI: _cMVAERo, _smit: None}, - (_VAE,), - ((VERIFIED_ACCESS_ENDPOINT, {_aQN: _VAE, _sN: _vAE}),), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _MVAE, - 0, - MODIFY_VERIFIED_ACCESS_ENDPOINT_INPUT, - MODIFY_VERIFIED_ACCESS_ENDPOINT_OUTPUT, - (), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _MVAEPI, - {_sSI: _cMVAEPR, _sm: None}, - (_VAEI, _PEo, _PDo, _CTl, _DR, _SSs), - ( - (VERIFIED_ACCESS_ENDPOINT_ID, 1), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 2), - (BOOLEAN, 0), - (VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _MVAEPO, - {_sSI: _cMVAEPRo, _smit: None}, - (_PEo, _PDo, _SSs), - ( - (BOOLEAN, {_aQN: _PEo, _sN: _pEo}), - (STRING, {_aQN: _PDo, _sN: _pDo}), - (VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, {_aQN: _SSs, _sN: _sSs}), - ), -) - -MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY: StaticOperationSchema = ( - 23, - n0, - _MVAEP, - 0, - MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT, - MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT, - (), -) - -MODIFY_VERIFIED_ACCESS_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _MVAGI, - {_sSI: _cMVAGR, _sm: None}, - (_VAGI, _VAII, _Des, _CTl, _DR), - ( - (VERIFIED_ACCESS_GROUP_ID, 1), - (VERIFIED_ACCESS_INSTANCE_ID, 0), - (STRING, 0), - (STRING, 2), - (BOOLEAN, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _MVAGO, - {_sSI: _cMVAGRo, _smit: None}, - (_VAG,), - ((VERIFIED_ACCESS_GROUP, {_aQN: _VAG, _sN: _vAG}),), -) - -MODIFY_VERIFIED_ACCESS_GROUP: StaticOperationSchema = ( - 23, - n0, - _MVAG, - 0, - MODIFY_VERIFIED_ACCESS_GROUP_INPUT, - MODIFY_VERIFIED_ACCESS_GROUP_OUTPUT, - (), -) - -MODIFY_VERIFIED_ACCESS_GROUP_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _MVAGPI, - {_sSI: _cMVAGPR, _sm: None}, - (_VAGI, _PEo, _PDo, _CTl, _DR, _SSs), - ( - (VERIFIED_ACCESS_GROUP_ID, 1), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 2), - (BOOLEAN, 0), - (VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _MVAGPO, - {_sSI: _cMVAGPRo, _smit: None}, - (_PEo, _PDo, _SSs), - ( - (BOOLEAN, {_aQN: _PEo, _sN: _pEo}), - (STRING, {_aQN: _PDo, _sN: _pDo}), - (VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, {_aQN: _SSs, _sN: _sSs}), - ), -) - -MODIFY_VERIFIED_ACCESS_GROUP_POLICY: StaticOperationSchema = ( - 23, - n0, - _MVAGP, - 0, - MODIFY_VERIFIED_ACCESS_GROUP_POLICY_INPUT, - MODIFY_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT, - (), -) - -MODIFY_VERIFIED_ACCESS_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _MVAII, - {_sSI: _cMVAIR, _sm: None}, - (_VAII, _Des, _DR, _CTl, _CECSD), - ( - (VERIFIED_ACCESS_INSTANCE_ID, 1), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 2), - (STRING, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _MVAIO, - {_sSI: _cMVAIRo, _smit: None}, - (_VAI,), - ((VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}),), -) - -MODIFY_VERIFIED_ACCESS_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _MVAI, - 0, - MODIFY_VERIFIED_ACCESS_INSTANCE_INPUT, - MODIFY_VERIFIED_ACCESS_INSTANCE_OUTPUT, - (), -) - -VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION_OPTIONS: StaticSchema = ( - 18, - n0, - _VALCWLDO, - 0, - (_Ena, _LGog), - ((BOOLEAN, 1), (STRING, 0)), -) - -VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION_OPTIONS: StaticSchema = ( - 18, - n0, - _VALKDFDO, - 0, - (_Ena, _DSeliv), - ((BOOLEAN, 1), (STRING, 0)), -) - -VERIFIED_ACCESS_LOG_S3_DESTINATION_OPTIONS: StaticSchema = ( - 18, - n0, - _VALSDO, - 0, - (_Ena, _BN, _Pre, _BOu), - ((BOOLEAN, 1), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -VERIFIED_ACCESS_LOG_OPTIONS: StaticSchema = ( - 18, - n0, - _VALO, - 0, - (_S_, _CWL, _KDF, _LVo, _ITCn), - ( - (VERIFIED_ACCESS_LOG_S3_DESTINATION_OPTIONS, 0), - (VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION_OPTIONS, 0), - (VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION_OPTIONS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _MVAILCI, - {_sSI: _cMVAILCR, _sm: None}, - (_VAII, _ALc, _DR, _CTl), - ( - (VERIFIED_ACCESS_INSTANCE_ID, 1), - (VERIFIED_ACCESS_LOG_OPTIONS, 1), - (BOOLEAN, 0), - (STRING, 2), - ), -) - -MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MVAILCO, - {_sSI: _cMVAILCRo, _smit: None}, - (_LCog,), - ((VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION, {_aQN: _LCog, _sN: _lC}),), -) - -MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _MVAILC, - 0, - MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_INPUT, - MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_OUTPUT, - (), -) - -MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS: StaticSchema = ( - 18, - n0, - _MVATPDO, - 0, - (_PSKU,), - ((STRING, 0),), -) - -MODIFY_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS: StaticSchema = ( - 18, - n0, - _MVANAOO, - 0, - (_PSKE, _Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CLIENT_SECRET_TYPE, 0), - (STRING, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS: StaticSchema = ( - 18, - n0, - _MVATPOO, - 0, - (_Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CLIENT_SECRET_TYPE, 0), - (STRING, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _MVATPI, - {_sSI: _cMVATPR, _sm: None}, - (_VATPI, _OO, _DO, _Des, _DR, _CTl, _SSs, _NAOO), - ( - (VERIFIED_ACCESS_TRUST_PROVIDER_ID, 1), - (MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS, 0), - (MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 2), - (VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), - (MODIFY_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS, 0), - ), -) - -MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _MVATPO, - {_sSI: _cMVATPRo, _smit: None}, - (_VATPe,), - ((VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}),), -) - -MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _MVATP, - 0, - MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, - MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, - (), -) - -MODIFY_VOLUME_INPUT: StaticSchema = ( - 18, - n0, - _MVI, - {_sSI: _cMVR, _sm: None}, - (_DR, _VIo, _Si, _VT, _Io, _Th, _MAE), - ( - (BOOLEAN, 0), - (VOLUME_ID, 1), - (INTEGER, 0), - (VOLUME_TYPE, 0), - (INTEGER, 0), - (INTEGER, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_VOLUME_OUTPUT: StaticSchema = ( - 18, - n0, - _MVO, - {_sSI: _cMVRo, _smit: None}, - (_VM,), - ((VOLUME_MODIFICATION, {_aQN: _VM, _sN: _vM}),), -) - -MODIFY_VOLUME: StaticOperationSchema = ( - 23, - n0, - _MVo, - 0, - MODIFY_VOLUME_INPUT, - MODIFY_VOLUME_OUTPUT, - (), -) - -MODIFY_VOLUME_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MVAIo, - {_sSI: _cMVAR, _sm: None}, - (_AEIO, _VIo, _DR), - ((ATTRIBUTE_BOOLEAN_VALUE, 0), (VOLUME_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -MODIFY_VOLUME_ATTRIBUTE_OUTPUT: StaticSchema = (18, n0, _MVAO, {_sSI: _sU, _smit: None}) - -MODIFY_VOLUME_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MVA, - 0, - MODIFY_VOLUME_ATTRIBUTE_INPUT, - MODIFY_VOLUME_ATTRIBUTE_OUTPUT, - (), -) - -MODIFY_VPC_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MVAIod, - {_sSI: _cMVARo, _sm: None}, - (_EDH, _EDS, _VI, _ENAUM), - ( - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (ATTRIBUTE_BOOLEAN_VALUE, 0), - (VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), - (ATTRIBUTE_BOOLEAN_VALUE, 0), - ), -) - -MODIFY_VPC_ATTRIBUTE_OUTPUT: StaticSchema = (18, n0, _MVAOo, {_sSI: _sU, _smit: None}) - -MODIFY_VPC_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MVAo, - 0, - MODIFY_VPC_ATTRIBUTE_INPUT, - MODIFY_VPC_ATTRIBUTE_OUTPUT, - (), -) - -MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT: StaticSchema = ( - 18, - n0, - _MVBPAEI, - {_sSI: _cMVBPAER, _sm: None}, - (_DR, _EIx, _IGEM), - ( - (BOOLEAN, 0), - (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID, 1), - (INTERNET_GATEWAY_EXCLUSION_MODE, 1), - ), -) - -MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT: StaticSchema = ( - 18, - n0, - _MVBPAEO, - {_sSI: _cMVBPAERo, _smit: None}, - (_VBPAE,), - ((VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION, {_aQN: _VBPAE, _sN: _vBPAE}),), -) - -MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION: StaticOperationSchema = ( - 23, - n0, - _MVBPAE, - 0, - MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT, - MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT, - (), -) - -MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MVBPAOI, - {_sSI: _cMVBPAOR, _sm: None}, - (_DR, _IGBM), - ((BOOLEAN, 0), (INTERNET_GATEWAY_BLOCK_MODE, 1)), -) - -MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MVBPAOO, - {_sSI: _cMVBPAORo, _smit: None}, - (_VBPAO,), - ((VPC_BLOCK_PUBLIC_ACCESS_OPTIONS, {_aQN: _VBPAO, _sN: _vBPAO}),), -) - -MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MVBPAO, - 0, - MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT, - MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT, - (), -) - -MODIFY_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( - 18, - n0, - _MVECI, - {_sSI: _cMVECR, _sm: None}, - (_DR, _VECI, _Mo, _IGE, _EOIGE, _NGE, _VPGE, _VPE, _LE, _VLE, _EFSE), - ( - (BOOLEAN, 0), - (VPC_ENCRYPTION_CONTROL_ID, 1), - (VPC_ENCRYPTION_CONTROL_MODE, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - (VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), - ), -) - -MODIFY_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( - 18, - n0, - _MVECO, - {_sSI: _cMVECRo, _smit: None}, - (_VEC,), - ((VPC_ENCRYPTION_CONTROL, {_aQN: _VEC, _sN: _vEC}),), -) - -MODIFY_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( - 23, - n0, - _MVEC, - 0, - MODIFY_VPC_ENCRYPTION_CONTROL_INPUT, - MODIFY_VPC_ENCRYPTION_CONTROL_OUTPUT, - (), -) - -MODIFY_VPC_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _MVEI, - {_sSI: _cMVER, _sm: None}, - ( - _DR, - _VEI, - _RP, - _PDo, - _ARTId, - _RRTI, - _ASId, - _RSIe, - _ASGId, - _RSGI, - _IAT, - _DOn, - _PDE, - _SCub, - ), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_ID, 1), - (BOOLEAN, 0), - (STRING, 0), - (VPC_ENDPOINT_ROUTE_TABLE_ID_LIST, {_sN: _ARTIdd}), - (VPC_ENDPOINT_ROUTE_TABLE_ID_LIST, {_sN: _RRTIe}), - (VPC_ENDPOINT_SUBNET_ID_LIST, {_sN: _ASIdd}), - (VPC_ENDPOINT_SUBNET_ID_LIST, {_sN: _RSIem}), - (VPC_ENDPOINT_SECURITY_GROUP_ID_LIST, {_sN: _ASGIdd}), - (VPC_ENDPOINT_SECURITY_GROUP_ID_LIST, {_sN: _RSGIe}), - (IP_ADDRESS_TYPE, 0), - (DNS_OPTIONS_SPECIFICATION, 0), - (BOOLEAN, 0), - (SUBNET_CONFIGURATIONS_LIST, {_sN: _SCu}), - ), -) - -MODIFY_VPC_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _MVEO, - {_sSI: _cMVERo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_VPC_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _MVEo, - 0, - MODIFY_VPC_ENDPOINT_INPUT, - MODIFY_VPC_ENDPOINT_OUTPUT, - (), -) - -MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT: StaticSchema = ( - 18, - n0, - _MVECNI, - {_sSI: _cMVECNR, _sm: None}, - (_DR, _CNIo, _CNAon, _CEo), - ( - (BOOLEAN, 0), - (CONNECTION_NOTIFICATION_ID, 1), - (STRING, 0), - (VALUE_STRING_LIST, 0), - ), -) - -MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MVECNO, - {_sSI: _cMVECNRo, _smit: None}, - (_RV,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION: StaticOperationSchema = ( - 23, - n0, - _MVECN, - 0, - MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT, - MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT, - (), -) - -MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_INPUT: StaticSchema = ( - 18, - n0, - _MVEPRI, - {_sSI: _cMVEPRR, _sm: None}, - (_DR, _SIe, _VEI, _PRay, _Sc), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_SERVICE_ID, 0), - (VPC_ENDPOINT_ID, 1), - (PAYER_RESPONSIBILITY_TYPE, 1), - (PAYER_RESPONSIBILITY_SCOPE, 1), - ), -) - -MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_OUTPUT: StaticSchema = ( - 18, - n0, - _MVEPRO, - {_sSI: _cMVEPRRo, _smit: None}, - (_VEI, _PRa), - ( - (STRING, {_aQN: _VEI, _sN: _vEI}), - (PAYER_RESPONSIBILITY_SET, {_aQN: _PRSay, _sN: _pRSa}), - ), -) - -MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY: StaticOperationSchema = ( - 23, - n0, - _MVEPR, - 0, - MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_INPUT, - MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_OUTPUT, - (), -) - -MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _MVESCI, - {_sSI: _cMVESCR, _sm: None}, - ( - _DR, - _SIe, - _PDNr, - _RPDN, - _ARc, - _ANLBA, - _RNLBA, - _AGLBA, - _RGLBA, - _ASIAT, - _RSIAT, - _ASRd, - _RSRe, - ), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_SERVICE_ID, 1), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (VALUE_STRING_LIST, {_sN: _ANLBAd}), - (VALUE_STRING_LIST, {_sN: _RNLBAe}), - (VALUE_STRING_LIST, {_sN: _AGLBAd}), - (VALUE_STRING_LIST, {_sN: _RGLBAe}), - (VALUE_STRING_LIST, {_sN: _ASIATd}), - (VALUE_STRING_LIST, {_sN: _RSIATe}), - (VALUE_STRING_LIST, {_sN: _ASRdd}), - (VALUE_STRING_LIST, {_sN: _RSRem}), - ), -) - -MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MVESCO, - {_sSI: _cMVESCRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _MVESC, - 0, - MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT, - MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT, - (), -) - -MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_INPUT: StaticSchema = ( - 18, - n0, - _MVESPRI, - {_sSI: _cMVESPRR, _sm: None}, - (_DR, _SIe, _PRay), - ((BOOLEAN, 0), (VPC_ENDPOINT_SERVICE_ID, 1), (PAYER_RESPONSIBILITY, 1)), -) - -MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_OUTPUT: StaticSchema = ( - 18, - n0, - _MVESPRO, - {_sSI: _cMVESPRRo, _smit: None}, - (_RV,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY: StaticOperationSchema = ( - 23, - n0, - _MVESPR, - 0, - MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_INPUT, - MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_OUTPUT, - (), -) - -MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT: StaticSchema = ( - 18, - n0, - _MVESPI, - {_sSI: _cMVESPR, _sm: None}, - (_DR, _SIe, _AAP, _RAP), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_SERVICE_ID, 1), - (VALUE_STRING_LIST, 0), - (VALUE_STRING_LIST, 0), - ), -) - -MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MVESPO, - {_sSI: _cMVESPRo, _smit: None}, - (_APd, _RV), - ((ADDED_PRINCIPAL_SET, {_aQN: _APS, _sN: _aPSd}), (BOOLEAN, {_aQN: _R, _sN: _r})), -) - -MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS: StaticOperationSchema = ( - 23, - n0, - _MVESP, - 0, - MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT, - MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT, - (), -) - -PEERING_CONNECTION_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _PCOR, - 0, - (_ADRFRV, _AEFLCLTRV, _AEFLVTRCL), - ((BOOLEAN, 0), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -MODIFY_VPC_PEERING_CONNECTION_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MVPCOI, - {_sSI: _cMVPCOR, _sm: None}, - (_APCO, _DR, _RPCO, _VPCI), - ( - (PEERING_CONNECTION_OPTIONS_REQUEST, 0), - (BOOLEAN, 0), - (PEERING_CONNECTION_OPTIONS_REQUEST, 0), - (VPC_PEERING_CONNECTION_ID, 1), - ), -) - -PEERING_CONNECTION_OPTIONS: StaticSchema = ( - 18, - n0, - _PCOe, - 0, - (_ADRFRV, _AEFLCLTRV, _AEFLVTRCL), - ( - (BOOLEAN, {_aQN: _ADRFRV, _sN: _aDRFRV}), - (BOOLEAN, {_aQN: _AEFLCLTRV, _sN: _aEFLCLTRV}), - (BOOLEAN, {_aQN: _AEFLVTRCL, _sN: _aEFLVTRCL}), - ), -) - -MODIFY_VPC_PEERING_CONNECTION_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MVPCOO, - {_sSI: _cMVPCORo, _smit: None}, - (_APCO, _RPCO), - ( - (PEERING_CONNECTION_OPTIONS, {_aQN: _APCO, _sN: _aPCO}), - (PEERING_CONNECTION_OPTIONS, {_aQN: _RPCO, _sN: _rPCO}), - ), -) - -MODIFY_VPC_PEERING_CONNECTION_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MVPCO, - 0, - MODIFY_VPC_PEERING_CONNECTION_OPTIONS_INPUT, - MODIFY_VPC_PEERING_CONNECTION_OPTIONS_OUTPUT, - (), -) - -VPC_TENANCY: StaticSchema = (14, n0, _VTp, 0, (_def,), ((-1, {_sV: _def}),)) - -MODIFY_VPC_TENANCY_INPUT: StaticSchema = ( - 18, - n0, - _MVTI, - {_sSI: _cMVTR, _sm: None}, - (_VI, _ITnst, _DR), - ((VPC_ID, 1), (VPC_TENANCY, 1), (BOOLEAN, 0)), -) - -MODIFY_VPC_TENANCY_OUTPUT: StaticSchema = ( - 18, - n0, - _MVTO, - {_sSI: _cMVTRo, _smit: None}, - (_RV,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -MODIFY_VPC_TENANCY: StaticOperationSchema = ( - 23, - n0, - _MVT, - 0, - MODIFY_VPC_TENANCY_INPUT, - MODIFY_VPC_TENANCY_OUTPUT, - (), -) - -MODIFY_VPN_CONNECTION_INPUT: StaticSchema = ( - 18, - n0, - _MVCI, - {_sSI: _cMVCR, _sm: None}, - (_VCIp, _TGI, _CGIu, _VGI, _DR), - ( - (VPN_CONNECTION_ID, 1), - (TRANSIT_GATEWAY_ID, 0), - (CUSTOMER_GATEWAY_ID, 0), - (VPN_GATEWAY_ID, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_VPN_CONNECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _MVCO, - {_sSI: _cMVCRo, _smit: None}, - (_VC,), - ((VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), -) - -MODIFY_VPN_CONNECTION: StaticOperationSchema = ( - 23, - n0, - _MVC, - 0, - MODIFY_VPN_CONNECTION_INPUT, - MODIFY_VPN_CONNECTION_OUTPUT, - (), -) - -MODIFY_VPN_CONNECTION_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MVCOI, - {_sSI: _cMVCOR, _sm: None}, - (_VCIp, _LINC, _RINC, _LINCo, _RINCe, _TB, _DR), - ( - (VPN_CONNECTION_ID, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (VPN_TUNNEL_BANDWIDTH, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_VPN_CONNECTION_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MVCOO, - {_sSI: _cMVCORo, _smit: None}, - (_VC,), - ((VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), -) - -MODIFY_VPN_CONNECTION_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MVCOo, - 0, - MODIFY_VPN_CONNECTION_OPTIONS_INPUT, - MODIFY_VPN_CONNECTION_OPTIONS_OUTPUT, - (), -) - -MODIFY_VPN_TUNNEL_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _MVTCI, - {_sSI: _cMVTCR, _sm: None}, - (_VCIp, _VTOIA, _DR), - ((VPN_CONNECTION_ID, 1), (STRING, 1), (BOOLEAN, 0)), -) - -MODIFY_VPN_TUNNEL_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _MVTCO, - {_sSI: _cMVTCRo, _smit: None}, - (_VC,), - ((VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), -) - -MODIFY_VPN_TUNNEL_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _MVTC, - 0, - MODIFY_VPN_TUNNEL_CERTIFICATE_INPUT, - MODIFY_VPN_TUNNEL_CERTIFICATE_OUTPUT, - (), -) - -MODIFY_VPN_TUNNEL_OPTIONS_SPECIFICATION: StaticSchema = ( - 18, - n0, - _MVTOS, - 4, - ( - _TICu, - _TIIC, - _PSK, - _PLSh, - _PLSha, - _RMTS, - _RFP, - _RWS, - _DPDTS, - _DPDTA, - _PEAha, - _PEAhas, - _PIAha, - _PIAhas, - _PDHGN, - _PDHGNha, - _IKEV, - _SAt, - _LO, - _ETLC, - ), - ( - (STRING, 0), - (STRING, 0), - (PRE_SHARED_KEY, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST, {_sN: _PEA}), - (PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST, {_sN: _PEAh}), - (PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST, {_sN: _PIA}), - (PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST, {_sN: _PIAh}), - (PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST, {_sN: _PDHGNh}), - (PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST, {_sN: _PDHGNhas}), - (IKE_VERSIONS_REQUEST_LIST, {_sN: _IKEVe}), - (STRING, 0), - (VPN_TUNNEL_LOG_OPTIONS_SPECIFICATION, 0), - (BOOLEAN, 0), - ), -) - -MODIFY_VPN_TUNNEL_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _MVTOI, - {_sSI: _cMVTOR, _sm: None}, - (_VCIp, _VTOIA, _TO, _DR, _STRk, _PSKS), - ( - (VPN_CONNECTION_ID, 1), - (STRING, 1), - (MODIFY_VPN_TUNNEL_OPTIONS_SPECIFICATION, 1), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -MODIFY_VPN_TUNNEL_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _MVTOO, - {_sSI: _cMVTORo, _smit: None}, - (_VC,), - ((VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), -) - -MODIFY_VPN_TUNNEL_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _MVTOo, - 0, - MODIFY_VPN_TUNNEL_OPTIONS_INPUT, - MODIFY_VPN_TUNNEL_OPTIONS_OUTPUT, - (), -) - -MONITOR_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _MIIo, - {_sSI: _cMIRom, _sm: None}, - (_IIn, _DR), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -INSTANCE_MONITORING: StaticSchema = ( - 18, - n0, - _IMns, - 0, - (_II, _Mon), - ((STRING, {_aQN: _II, _sN: _iI}), (MONITORING, {_aQN: _Mon, _sN: _monit})), -) - -INSTANCE_MONITORING_LIST: StaticSchema = ( - 16, - n0, - _IML, - 0, - (_me,), - ((INSTANCE_MONITORING, {_sN: _i}),), -) - -MONITOR_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _MIOo, - {_sSI: _cMIRoma, _smit: None}, - (_IMnst,), - ((INSTANCE_MONITORING_LIST, {_aQN: _ISnst, _sN: _iSns}),), -) - -MONITOR_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _MIon, - 0, - MONITOR_INSTANCES_INPUT, - MONITOR_INSTANCES_OUTPUT, - (), -) - -MOVE_ADDRESS_TO_VPC_INPUT: StaticSchema = ( - 18, - n0, - _MATVI, - {_sSI: _cMATVR, _sm: None}, - (_DR, _PI), - ((BOOLEAN, {_aQN: _DR, _sN: _dRr}), (STRING, {_aQN: _PI, _sN: _pI, _smi: None})), -) - -STATUS: StaticSchema = ( - 14, - n0, - _Sta, - 0, - (_mIP, _iVn, _iCnl), - ((-1, {_sV: _MIPov}), (-1, {_sV: _IVn}), (-1, {_sV: _ICnl})), -) - -MOVE_ADDRESS_TO_VPC_OUTPUT: StaticSchema = ( - 18, - n0, - _MATVO, - {_sSI: _cMATVRo, _smit: None}, - (_AI, _Sta), - ((STRING, {_aQN: _AI, _sN: _aI}), (STATUS, {_aQN: _Sta, _sN: _sta})), -) - -MOVE_ADDRESS_TO_VPC: StaticOperationSchema = ( - 23, - n0, - _MATV, - 0, - MOVE_ADDRESS_TO_VPC_INPUT, - MOVE_ADDRESS_TO_VPC_OUTPUT, - (), -) - -MOVE_BYOIP_CIDR_TO_IPAM_INPUT: StaticSchema = ( - 18, - n0, - _MBCTII, - {_sSI: _cMBCTIR, _sm: None}, - (_DR, _Ci, _IPI, _IPO), - ((BOOLEAN, 0), (STRING, 1), (IPAM_POOL_ID, 1), (STRING, 1)), -) - -MOVE_BYOIP_CIDR_TO_IPAM_OUTPUT: StaticSchema = ( - 18, - n0, - _MBCTIO, - {_sSI: _cMBCTIRo, _smit: None}, - (_BC,), - ((BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), -) - -MOVE_BYOIP_CIDR_TO_IPAM: StaticOperationSchema = ( - 23, - n0, - _MBCTI, - 0, - MOVE_BYOIP_CIDR_TO_IPAM_INPUT, - MOVE_BYOIP_CIDR_TO_IPAM_OUTPUT, - (), -) - -MOVE_CAPACITY_RESERVATION_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _MCRII, - {_sSI: _cMCRIR, _sm: None}, - (_DR, _CTl, _SCRI, _DCRIe, _IC), - ( - (BOOLEAN, 0), - (STRING, 2), - (CAPACITY_RESERVATION_ID, 1), - (CAPACITY_RESERVATION_ID, 1), - (INTEGER, 1), - ), -) - -MOVE_CAPACITY_RESERVATION_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _MCRIO, - {_sSI: _cMCRIRo, _smit: None}, - (_SCR, _DCR, _IC), - ( - (CAPACITY_RESERVATION, {_aQN: _SCR, _sN: _sCR}), - (CAPACITY_RESERVATION, {_aQN: _DCR, _sN: _dCR}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - ), -) - -MOVE_CAPACITY_RESERVATION_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _MCRIo, - 0, - MOVE_CAPACITY_RESERVATION_INSTANCES_INPUT, - MOVE_CAPACITY_RESERVATION_INSTANCES_OUTPUT, - (), -) - -CIDR_AUTHORIZATION_CONTEXT: StaticSchema = ( - 18, - n0, - _CAC, - 0, - (_Me, _Sig), - ((STRING, 1), (STRING, 1)), -) - -PROVISION_BYOIP_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _PBCI, - {_sSI: _cPBCR, _sm: None}, - (_Ci, _CAC, _PAu, _Des, _DR, _PTS, _MRu, _NBG), - ( - (STRING, 1), - (CIDR_AUTHORIZATION_CONTEXT, 0), - (BOOLEAN, 0), - (STRING, 0), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _PTSo}), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -PROVISION_BYOIP_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _PBCO, - {_sSI: _cPBCRo, _smit: None}, - (_BC,), - ((BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), -) - -PROVISION_BYOIP_CIDR: StaticOperationSchema = ( - 23, - n0, - _PBC, - 0, - PROVISION_BYOIP_CIDR_INPUT, - PROVISION_BYOIP_CIDR_OUTPUT, - (), -) - -ASN_AUTHORIZATION_CONTEXT: StaticSchema = ( - 18, - n0, - _AACs, - 0, - (_Me, _Sig), - ((STRING, 1), (STRING, 1)), -) - -PROVISION_IPAM_BYOASN_INPUT: StaticSchema = ( - 18, - n0, - _PIBI, - {_sSI: _cPIBR, _sm: None}, - (_DR, _IIp, _Asn, _AACs), - ((BOOLEAN, 0), (IPAM_ID, 1), (STRING, 1), (ASN_AUTHORIZATION_CONTEXT, 1)), -) - -PROVISION_IPAM_BYOASN_OUTPUT: StaticSchema = ( - 18, - n0, - _PIBO, - {_sSI: _cPIBRo, _smit: None}, - (_By,), - ((BYOASN, {_aQN: _By, _sN: _by}),), -) - -PROVISION_IPAM_BYOASN: StaticOperationSchema = ( - 23, - n0, - _PIB, - 0, - PROVISION_IPAM_BYOASN_INPUT, - PROVISION_IPAM_BYOASN_OUTPUT, - (), -) - -IPAM_CIDR_AUTHORIZATION_CONTEXT: StaticSchema = ( - 18, - n0, - _ICAC, - 0, - (_Me, _Sig), - ((STRING, 0), (STRING, 0)), -) - -VERIFICATION_METHOD: StaticSchema = ( - 14, - n0, - _VMe, - 0, - (_rx__________________________________, _dt_), - ((-1, {_sV: _rx___________________________________}), (-1, {_sV: _dt__})), -) - -PROVISION_IPAM_POOL_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _PIPCI, - {_sSI: _cPIPCR, _sm: None}, - (_DR, _IPI, _Ci, _CAC, _NL, _CTl, _VMe, _IERVTI), - ( - (BOOLEAN, 0), - (IPAM_POOL_ID, 1), - (STRING, 0), - (IPAM_CIDR_AUTHORIZATION_CONTEXT, 0), - (INTEGER, 0), - (STRING, 2), - (VERIFICATION_METHOD, 0), - (IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_ID, 0), - ), -) - -PROVISION_IPAM_POOL_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _PIPCO, - {_sSI: _cPIPCRo, _smit: None}, - (_IPCpa,), - ((IPAM_POOL_CIDR, {_aQN: _IPCpa, _sN: _iPCpa}),), -) - -PROVISION_IPAM_POOL_CIDR: StaticOperationSchema = ( - 23, - n0, - _PIPC, - 0, - PROVISION_IPAM_POOL_CIDR_INPUT, - PROVISION_IPAM_POOL_CIDR_OUTPUT, - (), -) - -PROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _PPIPCI, - {_sSI: _cPPIPCR, _sm: None}, - (_DR, _IPI, _PIo, _NL, _NBG), - ((BOOLEAN, 0), (IPAM_POOL_ID, 1), (IPV4_POOL_EC2_ID, 1), (INTEGER, 1), (STRING, 0)), -) - -PROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _PPIPCO, - {_sSI: _cPPIPCRo, _smit: None}, - (_PIo, _PARo), - ( - (IPV4_POOL_EC2_ID, {_aQN: _PIo, _sN: _pIo}), - (PUBLIC_IPV4_POOL_RANGE, {_aQN: _PARo, _sN: _pAR}), - ), -) - -PROVISION_PUBLIC_IPV4_POOL_CIDR: StaticOperationSchema = ( - 23, - n0, - _PPIPC, - 0, - PROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT, - PROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT, - (), -) - -PURCHASE_CAPACITY_BLOCK_INPUT: StaticSchema = ( - 18, - n0, - _PCBI, - {_sSI: _cPCBR, _sm: None}, - (_DR, _TSa, _CBOI, _IPns), - ( - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (OFFERING_ID, 1), - (CAPACITY_RESERVATION_INSTANCE_PLATFORM, 1), - ), -) - -PURCHASE_CAPACITY_BLOCK_OUTPUT: StaticSchema = ( - 18, - n0, - _PCBO, - {_sSI: _cPCBRo, _smit: None}, - (_CRap, _CBap), - ( - (CAPACITY_RESERVATION, {_aQN: _CRap, _sN: _cRa}), - (CAPACITY_BLOCK_SET, {_aQN: _CBSa, _sN: _cBSa}), - ), -) - -PURCHASE_CAPACITY_BLOCK: StaticOperationSchema = ( - 23, - n0, - _PCBu, - 0, - PURCHASE_CAPACITY_BLOCK_INPUT, - PURCHASE_CAPACITY_BLOCK_OUTPUT, - (), -) - -PURCHASE_CAPACITY_BLOCK_EXTENSION_INPUT: StaticSchema = ( - 18, - n0, - _PCBEI, - {_sSI: _cPCBER, _sm: None}, - (_CBEOI, _CRI, _DR), - ((OFFERING_ID, 1), (CAPACITY_RESERVATION_ID, 1), (BOOLEAN, 0)), -) - -PURCHASE_CAPACITY_BLOCK_EXTENSION_OUTPUT: StaticSchema = ( - 18, - n0, - _PCBEO, - {_sSI: _cPCBERo, _smit: None}, - (_CBEa,), - ((CAPACITY_BLOCK_EXTENSION_SET, {_aQN: _CBESa, _sN: _cBESa}),), -) - -PURCHASE_CAPACITY_BLOCK_EXTENSION: StaticOperationSchema = ( - 23, - n0, - _PCBE, - 0, - PURCHASE_CAPACITY_BLOCK_EXTENSION_INPUT, - PURCHASE_CAPACITY_BLOCK_EXTENSION_OUTPUT, - (), -) - -PURCHASE_HOST_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _PHRI, - {_sSI: _cPHRR, _sm: None}, - (_CTl, _CC, _HIS, _LPi, _OI, _TSa), - ( - (STRING, 0), - (CURRENCY_CODE_VALUES, 0), - (REQUEST_HOST_ID_SET, 1), - (STRING, 0), - (OFFERING_ID, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -PURCHASE_HOST_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PHRO, - {_sSI: _cPHRRo, _smit: None}, - (_CTl, _CC, _Pur, _THP, _TUP), - ( - (STRING, {_aQN: _CTl, _sN: _cTl}), - (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), - (PURCHASE_SET, {_aQN: _Pur, _sN: _pur}), - (STRING, {_aQN: _THP, _sN: _tHP}), - (STRING, {_aQN: _TUP, _sN: _tUP}), - ), -) - -PURCHASE_HOST_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _PHR, - 0, - PURCHASE_HOST_RESERVATION_INPUT, - PURCHASE_HOST_RESERVATION_OUTPUT, - (), -) - -RESERVED_INSTANCE_LIMIT_PRICE: StaticSchema = ( - 18, - n0, - _RILP, - 0, - (_Am, _CC), - ((DOUBLE, {_aQN: _Am, _sN: _amo}), (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC})), -) - -PURCHASE_RESERVED_INSTANCES_OFFERING_INPUT: StaticSchema = ( - 18, - n0, - _PRIOI, - {_sSI: _cPRIOR, _sm: None}, - (_IC, _RIOI, _PTur, _DR, _LPi), - ( - (INTEGER, 1), - (RESERVED_INSTANCES_OFFERING_ID, 1), - (DATE_TIME, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (RESERVED_INSTANCE_LIMIT_PRICE, {_aQN: _LPi, _sN: _lPi}), - ), -) - -PURCHASE_RESERVED_INSTANCES_OFFERING_OUTPUT: StaticSchema = ( - 18, - n0, - _PRIOO, - {_sSI: _cPRIORo, _smit: None}, - (_RIIes,), - ((STRING, {_aQN: _RIIes, _sN: _rII}),), -) - -PURCHASE_RESERVED_INSTANCES_OFFERING: StaticOperationSchema = ( - 23, - n0, - _PRIO, - 0, - PURCHASE_RESERVED_INSTANCES_OFFERING_INPUT, - PURCHASE_RESERVED_INSTANCES_OFFERING_OUTPUT, - (), -) - -PURCHASE_REQUEST: StaticSchema = ( - 18, - n0, - _PRu, - 0, - (_IC, _PTu), - ((INTEGER, 1), (STRING, 1)), -) - -PURCHASE_REQUEST_SET: StaticSchema = ( - 16, - n0, - _PRSu, - 0, - (_me,), - ((PURCHASE_REQUEST, {_sN: _PRu}),), -) - -PURCHASE_SCHEDULED_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _PSII, - {_sSI: _cPSIR, _sm: None}, - (_CTl, _DR, _PRur), - ((STRING, 2), (BOOLEAN, 0), (PURCHASE_REQUEST_SET, {_sN: _PRu, _smi: None})), -) - -PURCHASED_SCHEDULED_INSTANCE_SET: StaticSchema = ( - 16, - n0, - _PSIS, - 0, - (_me,), - ((SCHEDULED_INSTANCE, {_sN: _i}),), -) - -PURCHASE_SCHEDULED_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _PSIO, - {_sSI: _cPSIRo, _smit: None}, - (_SISc,), - ((PURCHASED_SCHEDULED_INSTANCE_SET, {_aQN: _SISc, _sN: _sISc}),), -) - -PURCHASE_SCHEDULED_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _PSI, - 0, - PURCHASE_SCHEDULED_INSTANCES_INPUT, - PURCHASE_SCHEDULED_INSTANCES_OUTPUT, - (), -) - -REBOOT_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _RIIeb, - {_sSI: _cRIR, _sm: None}, - (_IIn, _DR), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -REBOOT_INSTANCES_OUTPUT: StaticSchema = (18, n0, _RIOeb, {_sSI: _sU, _smit: None}) - -REBOOT_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _RIeb, - 0, - REBOOT_INSTANCES_INPUT, - REBOOT_INSTANCES_OUTPUT, - (), -) - -BILLING_PRODUCT_LIST: StaticSchema = (16, n0, _BPL, 0, (_me,), ((STRING, {_sN: _i}),)) - -IMAGE_UEFI_DATA_REQUEST: StaticSchema = (3, n0, _IUDR, 4) - -REGISTER_IMAGE_INPUT: StaticSchema = ( - 18, - n0, - _RIIeg, - {_sSI: _cRIRo, _sm: None}, - ( - _ILm, - _BPi, - _BMo, - _TSp, - _UDe, - _ISm, - _TSa, - _DR, - _N, - _Des, - _Arc, - _KI, - _RIa, - _RDN, - _BDMl, - _VTi, - _SNSr, - _ESna, - ), - ( - (STRING, 0), - (BILLING_PRODUCT_LIST, {_sN: _BPil}), - (BOOT_MODE_VALUES, 0), - (TPM_SUPPORT_VALUES, 0), - (IMAGE_UEFI_DATA_REQUEST, 0), - (IMDS_SUPPORT_VALUES, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (IMAGE_NAME_REQUEST, {_aQN: _N, _sN: _nam, _smi: None}), - (IMAGE_DESCRIPTION_REQUEST, {_aQN: _Des, _sN: _desc}), - (ARCHITECTURE_VALUES, {_aQN: _Arc, _sN: _arch}), - (KERNEL_ID, {_aQN: _KI, _sN: _kI}), - (RAMDISK_ID, {_aQN: _RIa, _sN: _rIa}), - (STRING, {_aQN: _RDN, _sN: _rDN}), - (BLOCK_DEVICE_MAPPING_REQUEST_LIST, {_sN: _BDM}), - (STRING, {_aQN: _VTi, _sN: _vTi}), - (STRING, {_aQN: _SNSr, _sN: _sNS}), - (BOOLEAN, {_aQN: _ESna, _sN: _eSna}), - ), -) - -REGISTER_IMAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _RIOeg, - {_sSI: _cRIRom, _smit: None}, - (_IIm,), - ((STRING, {_aQN: _IIm, _sN: _iIm}),), -) - -REGISTER_IMAGE: StaticOperationSchema = ( - 23, - n0, - _RIegis, - 0, - REGISTER_IMAGE_INPUT, - REGISTER_IMAGE_OUTPUT, - (), -) - -REGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST: StaticSchema = ( - 18, - n0, - _RITAR, - 0, - (_IATOI, _ITK), - ((BOOLEAN, 0), (INSTANCE_TAG_KEY_SET, {_sN: _ITKn})), -) - -REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _RIENAI, - {_sSI: _cRIENAR, _sm: None}, - (_DR, _ITA), - ((BOOLEAN, 0), (REGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST, 1)), -) - -REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _RIENAO, - {_sSI: _cRIENARo, _smit: None}, - (_ITA,), - ((INSTANCE_TAG_NOTIFICATION_ATTRIBUTE, {_aQN: _ITA, _sN: _iTA}),), -) - -REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _RIENA, - 0, - REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT, - REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT, - (), -) - -REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _RTGMGMI, - {_sSI: _cRTGMGMR, _sm: None}, - (_TGMDI, _GIA, _NIIe, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), - (STRING, 0), - (TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST, 1), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_MEMBERS: StaticSchema = ( - 18, - n0, - _TGMRGM, - 0, - (_TGMDI, _RNII, _GIA), - ( - (STRING, {_aQN: _TGMDI, _sN: _tGMDI}), - (VALUE_STRING_LIST, {_aQN: _RNII, _sN: _rNII}), - (STRING, {_aQN: _GIA, _sN: _gIA}), - ), -) - -REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _RTGMGMO, - {_sSI: _cRTGMGMRo, _smit: None}, - (_RMGM,), - ((TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_MEMBERS, {_aQN: _RMGM, _sN: _rMGM}),), -) - -REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _RTGMGM, - 0, - REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT, - REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT, - (), -) - -REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT: StaticSchema = ( - 18, - n0, - _RTGMGSI, - {_sSI: _cRTGMGSR, _sm: None}, - (_TGMDI, _GIA, _NIIe, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), - (STRING, 0), - (TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST, 1), - (BOOLEAN, 0), - ), -) - -TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_SOURCES: StaticSchema = ( - 18, - n0, - _TGMRGS, - 0, - (_TGMDI, _RNII, _GIA), - ( - (STRING, {_aQN: _TGMDI, _sN: _tGMDI}), - (VALUE_STRING_LIST, {_aQN: _RNII, _sN: _rNII}), - (STRING, {_aQN: _GIA, _sN: _gIA}), - ), -) - -REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _RTGMGSO, - {_sSI: _cRTGMGSRo, _smit: None}, - (_RMGS,), - ((TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_SOURCES, {_aQN: _RMGS, _sN: _rMGS}),), -) - -REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES: StaticOperationSchema = ( - 23, - n0, - _RTGMGS, - 0, - REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT, - REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT, - (), -) - -REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT: StaticSchema = ( - 18, - n0, - _RCRBOI, - {_sSI: _cRCRBOR, _sm: None}, - (_DR, _CRI), - ((BOOLEAN, 0), (CAPACITY_RESERVATION_ID, 1)), -) - -REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT: StaticSchema = ( - 18, - n0, - _RCRBOO, - {_sSI: _cRCRBORo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP: StaticOperationSchema = ( - 23, - n0, - _RCRBO, - 0, - REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT, - REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT, - (), -) - -REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _RTGCVAI, - {_sSI: _cRTGCVAR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _RTGCVAO, - {_sSI: _cRTGCVARo, _smit: None}, - (_TGCVA,), - ((TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT, {_aQN: _TGCVA, _sN: _tGCVA}),), -) - -REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _RTGCVA, - 0, - REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT, - REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT, - (), -) - -REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _RTGMDAI, - {_sSI: _cRTGMDAR, _sm: None}, - (_TGMDI, _TGAI, _SI, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 0), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (VALUE_STRING_LIST, 0), - (BOOLEAN, 0), - ), -) - -REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _RTGMDAO, - {_sSI: _cRTGMDARo, _smit: None}, - (_As,), - ((TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS, {_aQN: _As, _sN: _asso}),), -) - -REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _RTGMDA, - 0, - REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT, - REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT, - (), -) - -REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _RTGPAI, - {_sSI: _cRTGPAR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _RTGPAO, - {_sSI: _cRTGPARo, _smit: None}, - (_TGPA,), - ((TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_aQN: _TGPA, _sN: _tGPA}),), -) - -REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _RTGPA, - 0, - REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT, - REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT, - (), -) - -REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _RTGVAI, - {_sSI: _cRTGVAR, _sm: None}, - (_TGAI, _DR), - ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), -) - -REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _RTGVAO, - {_sSI: _cRTGVARo, _smit: None}, - (_TGVA,), - ((TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), -) - -REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _RTGVA, - 0, - REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, - REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, - (), -) - -REJECT_VPC_ENDPOINT_CONNECTIONS_INPUT: StaticSchema = ( - 18, - n0, - _RVECI, - {_sSI: _cRVECR, _sm: None}, - (_DR, _SIe, _VEIp), - ( - (BOOLEAN, 0), - (VPC_ENDPOINT_SERVICE_ID, 1), - (VPC_ENDPOINT_ID_LIST, {_sN: _VEI, _smi: None}), - ), -) - -REJECT_VPC_ENDPOINT_CONNECTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _RVECO, - {_sSI: _cRVECRo, _smit: None}, - (_Un,), - ((UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), -) - -REJECT_VPC_ENDPOINT_CONNECTIONS: StaticOperationSchema = ( - 23, - n0, - _RVEC, - 0, - REJECT_VPC_ENDPOINT_CONNECTIONS_INPUT, - REJECT_VPC_ENDPOINT_CONNECTIONS_OUTPUT, - (), -) - -REJECT_VPC_PEERING_CONNECTION_INPUT: StaticSchema = ( - 18, - n0, - _RVPCI, - {_sSI: _cRVPCR, _sm: None}, - (_DR, _VPCI), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (VPC_PEERING_CONNECTION_ID, {_aQN: _VPCI, _sN: _vPCI, _smi: None}), - ), -) - -REJECT_VPC_PEERING_CONNECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _RVPCO, - {_sSI: _cRVPCRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -REJECT_VPC_PEERING_CONNECTION: StaticOperationSchema = ( - 23, - n0, - _RVPC, - 0, - REJECT_VPC_PEERING_CONNECTION_INPUT, - REJECT_VPC_PEERING_CONNECTION_OUTPUT, - (), -) - -RELEASE_ADDRESS_INPUT: StaticSchema = ( - 18, - n0, - _RAI, - {_sSI: _cRAR, _sm: None}, - (_AI, _PI, _NBG, _DR), - ((ALLOCATION_ID, 0), (STRING, 0), (STRING, 0), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -RELEASE_ADDRESS_OUTPUT: StaticSchema = (18, n0, _RAO, {_sSI: _sU, _smit: None}) - -RELEASE_ADDRESS: StaticOperationSchema = ( - 23, - n0, - _RAel, - 0, - RELEASE_ADDRESS_INPUT, - RELEASE_ADDRESS_OUTPUT, - (), -) - -RELEASE_HOSTS_INPUT: StaticSchema = ( - 18, - n0, - _RHI, - {_sSI: _cRHR, _sm: None}, - (_HI,), - ((REQUEST_HOST_ID_LIST, {_aQN: _HIo, _sN: _hI, _smi: None}),), -) - -RELEASE_HOSTS_OUTPUT: StaticSchema = ( - 18, - n0, - _RHO, - {_sSI: _cRHRo, _smit: None}, - (_Suc, _Un), - ( - (RESPONSE_HOST_ID_LIST, {_aQN: _Suc, _sN: _succ}), - (UNSUCCESSFUL_ITEM_LIST, {_aQN: _Un, _sN: _un}), - ), -) - -RELEASE_HOSTS: StaticOperationSchema = ( - 23, - n0, - _RH, - 0, - RELEASE_HOSTS_INPUT, - RELEASE_HOSTS_OUTPUT, - (), -) - -RELEASE_IPAM_POOL_ALLOCATION_INPUT: StaticSchema = ( - 18, - n0, - _RIPAI, - {_sSI: _cRIPAR, _sm: None}, - (_DR, _IPI, _Ci, _IPAI), - ((BOOLEAN, 0), (IPAM_POOL_ID, 1), (STRING, 1), (IPAM_POOL_ALLOCATION_ID, 1)), -) - -RELEASE_IPAM_POOL_ALLOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _RIPAO, - {_sSI: _cRIPARo, _smit: None}, - (_Succ,), - ((BOOLEAN, {_aQN: _Succ, _sN: _succe}),), -) - -RELEASE_IPAM_POOL_ALLOCATION: StaticOperationSchema = ( - 23, - n0, - _RIPA, - 0, - RELEASE_IPAM_POOL_ALLOCATION_INPUT, - RELEASE_IPAM_POOL_ALLOCATION_OUTPUT, - (), -) - -REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _RIIPAI, - {_sSI: _cRIIPAR, _sm: None}, - (_IIP, _AIs), - ((IAM_INSTANCE_PROFILE_SPECIFICATION, 1), (IAM_INSTANCE_PROFILE_ASSOCIATION_ID, 1)), -) - -REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _RIIPAO, - {_sSI: _cRIIPARo, _smit: None}, - (_IIPA,), - ((IAM_INSTANCE_PROFILE_ASSOCIATION, {_aQN: _IIPA, _sN: _iIPA}),), -) - -REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _RIIPA, - 0, - REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_INPUT, - REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_OUTPUT, - (), -) - -CREATION_DATE_CONDITION_REQUEST: StaticSchema = ( - 18, - n0, - _CDCR, - 0, - (_MDSC,), - ((MAXIMUM_DAYS_SINCE_CREATED_VALUE, 0),), -) - -DEPRECATION_TIME_CONDITION_REQUEST: StaticSchema = ( - 18, - n0, - _DTCR, - 0, - (_MDSD,), - ((MAXIMUM_DAYS_SINCE_DEPRECATED_VALUE, 0),), -) - -IMAGE_NAME_CRITERIA_REQUEST: StaticSchema = (3, n0, _INCR, 0) - -IMAGE_NAME_CRITERIA_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _INCRL, - 0, - (_me,), - ((IMAGE_NAME_CRITERIA_REQUEST, {_sN: _i}),), -) - -IMAGE_PROVIDER_REQUEST: StaticSchema = (3, n0, _IPRm, 0) - -IMAGE_PROVIDER_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _IPRL, - 0, - (_me,), - ((IMAGE_PROVIDER_REQUEST, {_sN: _i}),), -) - -IMAGE_WATERMARK_FILTER_REQUEST: StaticSchema = ( - 18, - n0, - _IWFRm, - 0, - (_WK, _SIR, _MDSSIC, _MDSWC), - ((STRING, 0), (STRING, 0), (INTEGER, 0), (INTEGER, 0)), -) - -IMAGE_WATERMARK_FILTER_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _IWFRLm, - 0, - (_me,), - ((IMAGE_WATERMARK_FILTER_REQUEST, {_sN: _i}),), -) - -MARKETPLACE_PRODUCT_CODE_REQUEST: StaticSchema = (3, n0, _MPCR, 0) - -MARKETPLACE_PRODUCT_CODE_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _MPCRL, - 0, - (_me,), - ((MARKETPLACE_PRODUCT_CODE_REQUEST, {_sN: _i}),), -) - -SCAN_RESULT_CONDITION_REQUEST: StaticSchema = ( - 18, - n0, - _SRCR, - 0, - (_MDSLFS, _MSL, _MDSIFA, _MDSLFA, _MDSMFA, _MDSHFA, _MDSCFA), - ( - (MAX_DAYS_SINCE_LAST_FINDING_SCAN_VALUE, 0), - (SEVERITY_LABEL, 0), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), - (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), - ), -) - -IMAGE_CRITERION_REQUEST: StaticSchema = ( - 18, - n0, - _ICRm, - 0, - (_IPma, _MPCa, _INma, _DTC, _CDC, _IWm, _SRCc), - ( - (IMAGE_PROVIDER_REQUEST_LIST, {_sN: _IPm}), - (MARKETPLACE_PRODUCT_CODE_REQUEST_LIST, {_sN: _MPC}), - (IMAGE_NAME_CRITERIA_REQUEST_LIST, {_sN: _INm}), - (DEPRECATION_TIME_CONDITION_REQUEST, 0), - (CREATION_DATE_CONDITION_REQUEST, 0), - (IMAGE_WATERMARK_FILTER_REQUEST_LIST, {_sN: _IW}), - (SCAN_RESULT_CONDITION_REQUEST, 0), - ), -) - -IMAGE_CRITERION_REQUEST_LIST: StaticSchema = ( - 16, - n0, - _ICRL, - 0, - (_me,), - ((IMAGE_CRITERION_REQUEST, {_sN: _ICm}),), -) - -REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _RICIAISI, - {_sSI: _cRICIAISR, _sm: None}, - (_ICma, _DR), - ((IMAGE_CRITERION_REQUEST_LIST, {_sN: _ICm}), (BOOLEAN, 0)), -) - -REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _RICIAISO, - {_sSI: _cRICIAISRo, _smit: None}, - (_RV,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _RICIAIS, - 0, - REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_INPUT, - REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_OUTPUT, - (), -) - -INSTANCE_TYPE_ITEM_REQUEST: StaticSchema = (3, n0, _ITIR, 0) - -SUPPORTED_INSTANCE_TYPE_REQUEST_SET: StaticSchema = ( - 16, - n0, - _SITRSu, - 0, - (_me,), - ((INSTANCE_TYPE_ITEM_REQUEST, {_sN: _It}),), -) - -UNSUPPORTED_INSTANCE_TYPE_REQUEST_SET: StaticSchema = ( - 16, - n0, - _UITRS, - 0, - (_me,), - ((INSTANCE_TYPE_ITEM_REQUEST, {_sN: _It}),), -) - -INSTANCE_TYPE_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _ITSR, - 0, - (_SITu, _UIT), - ( - (SUPPORTED_INSTANCE_TYPE_REQUEST_SET, {_sN: _SITup}), - (UNSUPPORTED_INSTANCE_TYPE_REQUEST_SET, {_sN: _UITn}), - ), -) - -REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_INPUT: StaticSchema = ( - 18, - n0, - _RIITSI, - {_sSI: _cRIITSR, _sm: None}, - (_IIm, _ITSn, _DR), - ((IMAGE_ID, 1), (INSTANCE_TYPE_SPECIFICATION_REQUEST, 0), (BOOLEAN, 0)), -) - -REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _RIITSO, - {_sSI: _cRIITSRo, _smit: None}, - (_RV,), - ((BOOLEAN, {_aQN: _RV, _sN: _rV}),), -) - -REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION: StaticOperationSchema = ( - 23, - n0, - _RIITS, - 0, - REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_INPUT, - REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_OUTPUT, - (), -) - -NETWORK_ACL_ASSOCIATION_ID: StaticSchema = (3, n0, _NAAI, 0) - -REPLACE_NETWORK_ACL_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _RNAAI, - {_sSI: _cRNAAR, _sm: None}, - (_DR, _AIs, _NAI), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_ACL_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs, _smi: None}), - (NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), - ), -) - -REPLACE_NETWORK_ACL_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _RNAAO, - {_sSI: _cRNAARo, _smit: None}, - (_NAIew,), - ((STRING, {_aQN: _NAIew, _sN: _nAIe}),), -) - -REPLACE_NETWORK_ACL_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _RNAA, - 0, - REPLACE_NETWORK_ACL_ASSOCIATION_INPUT, - REPLACE_NETWORK_ACL_ASSOCIATION_OUTPUT, - (), -) - -REPLACE_NETWORK_ACL_ENTRY_INPUT: StaticSchema = ( - 18, - n0, - _RNAEI, - {_sSI: _cRNAER, _sm: None}, - (_DR, _NAI, _RN, _P, _RA, _Eg, _CB, _ICB, _ITC, _PR), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), - (INTEGER, {_aQN: _RN, _sN: _rN, _smi: None}), - (STRING, {_aQN: _P, _sN: _pro, _smi: None}), - (RULE_ACTION, {_aQN: _RA, _sN: _rA, _smi: None}), - (BOOLEAN, {_aQN: _Eg, _sN: _egr, _smi: None}), - (STRING, {_aQN: _CB, _sN: _cB}), - (STRING, {_aQN: _ICB, _sN: _iCB}), - (ICMP_TYPE_CODE, {_sN: _Ic}), - (PORT_RANGE, {_aQN: _PR, _sN: _pR}), - ), -) - -REPLACE_NETWORK_ACL_ENTRY_OUTPUT: StaticSchema = ( - 18, - n0, - _RNAEO, - {_sSI: _sU, _smit: None}, -) - -REPLACE_NETWORK_ACL_ENTRY: StaticOperationSchema = ( - 23, - n0, - _RNAE, - 0, - REPLACE_NETWORK_ACL_ENTRY_INPUT, - REPLACE_NETWORK_ACL_ENTRY_OUTPUT, - (), -) - -REPLACE_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _RRI, - {_sSI: _cRRR, _sm: None}, - ( - _DPLI, - _VEI, - _LToc, - _TGI, - _LGI, - _CGI, - _CNA, - _ONA, - _DR, - _RTIo, - _DCB, - _GI, - _DICB, - _EOIGI, - _II, - _NII, - _VPCI, - _NGI, - ), - ( - (PREFIX_LIST_RESOURCE_ID, 0), - (VPC_ENDPOINT_ID, 0), - (BOOLEAN, 0), - (TRANSIT_GATEWAY_ID, 0), - (LOCAL_GATEWAY_ID, 0), - (CARRIER_GATEWAY_ID, 0), - (CORE_NETWORK_ARN, 0), - (ODB_NETWORK_ARN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), - (STRING, {_aQN: _DCB, _sN: _dCB}), - (ROUTE_GATEWAY_ID, {_aQN: _GI, _sN: _gI}), - (STRING, {_aQN: _DICB, _sN: _dICB}), - (EGRESS_ONLY_INTERNET_GATEWAY_ID, {_aQN: _EOIGI, _sN: _eOIGI}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), - (VPC_PEERING_CONNECTION_ID, {_aQN: _VPCI, _sN: _vPCI}), - (NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), - ), -) - -REPLACE_ROUTE_OUTPUT: StaticSchema = (18, n0, _RRO, {_sSI: _sU, _smit: None}) - -REPLACE_ROUTE: StaticOperationSchema = ( - 23, - n0, - _RRep, - 0, - REPLACE_ROUTE_INPUT, - REPLACE_ROUTE_OUTPUT, - (), -) - -REPLACE_ROUTE_TABLE_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _RRTAI, - {_sSI: _cRRTAR, _sm: None}, - (_DR, _AIs, _RTIo), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (ROUTE_TABLE_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs, _smi: None}), - (ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), - ), -) - -REPLACE_ROUTE_TABLE_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _RRTAO, - {_sSI: _cRRTARo, _smit: None}, - (_NAIew, _ASss), - ( - (STRING, {_aQN: _NAIew, _sN: _nAIe}), - (ROUTE_TABLE_ASSOCIATION_STATE, {_aQN: _ASss, _sN: _aSs}), - ), -) - -REPLACE_ROUTE_TABLE_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _RRTA, - 0, - REPLACE_ROUTE_TABLE_ASSOCIATION_INPUT, - REPLACE_ROUTE_TABLE_ASSOCIATION_OUTPUT, - (), -) - -REPLACE_TRANSIT_GATEWAY_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _RTGRI, - {_sSI: _cRTGRR, _sm: None}, - (_DCB, _TGRTI, _TGAI, _Bl, _DR), - ( - (STRING, 1), - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -REPLACE_TRANSIT_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _RTGRO, - {_sSI: _cRTGRRo, _smit: None}, - (_Rou,), - ((TRANSIT_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), -) - -REPLACE_TRANSIT_GATEWAY_ROUTE: StaticOperationSchema = ( - 23, - n0, - _RTGR, - 0, - REPLACE_TRANSIT_GATEWAY_ROUTE_INPUT, - REPLACE_TRANSIT_GATEWAY_ROUTE_OUTPUT, - (), -) - -REPLACE_VPN_TUNNEL_INPUT: StaticSchema = ( - 18, - n0, - _RVTI, - {_sSI: _cRVTR, _sm: None}, - (_VCIp, _VTOIA, _APM, _DR), - ((VPN_CONNECTION_ID, 1), (STRING, 1), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -REPLACE_VPN_TUNNEL_OUTPUT: StaticSchema = ( - 18, - n0, - _RVTO, - {_sSI: _cRVTRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -REPLACE_VPN_TUNNEL: StaticOperationSchema = ( - 23, - n0, - _RVT, - 0, - REPLACE_VPN_TUNNEL_INPUT, - REPLACE_VPN_TUNNEL_OUTPUT, - (), -) - -REPORT_INSTANCE_STATUS_REQUEST_DESCRIPTION: StaticSchema = (3, n0, _RISRD, 4) - -REPORT_INSTANCE_REASON_CODES: StaticSchema = ( - 14, - n0, - _RIRC, - 0, - (_isis, _unr, _nac, _pna, _pn, _pis, _pev, _po_, _oth), - ( - (-1, {_sV: _isis_}), - (-1, {_sV: _unr}), - (-1, {_sV: _nac_}), - (-1, {_sV: _pna_}), - (-1, {_sV: _pn_}), - (-1, {_sV: _pis_}), - (-1, {_sV: _pev_}), - (-1, {_sV: _po__}), - (-1, {_sV: _oth}), - ), -) - -REASON_CODES_LIST: StaticSchema = ( - 16, - n0, - _RCLe, - 0, - (_me,), - ((REPORT_INSTANCE_REASON_CODES, {_sN: _i}),), -) - -REPORT_STATUS_TYPE: StaticSchema = ( - 14, - n0, - _RSTep, - 0, - (_ok, _imp), - ((-1, {_sV: _ok}), (-1, {_sV: _imp})), -) - -REPORT_INSTANCE_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _RISI, - {_sSI: _cRISR, _sm: None}, - (_DR, _Ins, _Sta, _ST, _ETnd, _RCea, _Des), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INSTANCE_ID_STRING_LIST, {_aQN: _II, _sN: _iI, _smi: None}), - (REPORT_STATUS_TYPE, {_aQN: _Sta, _sN: _sta, _smi: None}), - (DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), - (REASON_CODES_LIST, {_aQN: _RCeas, _sN: _rCea, _smi: None}), - (REPORT_INSTANCE_STATUS_REQUEST_DESCRIPTION, {_aQN: _Des, _sN: _desc}), - ), -) - -REPORT_INSTANCE_STATUS_OUTPUT: StaticSchema = (18, n0, _RISO, {_sSI: _sU, _smit: None}) - -REPORT_INSTANCE_STATUS: StaticOperationSchema = ( - 23, - n0, - _RISep, - 0, - REPORT_INSTANCE_STATUS_INPUT, - REPORT_INSTANCE_STATUS_OUTPUT, - (), -) - -REQUEST_SPOT_FLEET_INPUT: StaticSchema = ( - 18, - n0, - _RSFI, - {_sSI: _cRSFR, _sm: None}, - (_DR, _SFRC), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SPOT_FLEET_REQUEST_CONFIG_DATA, {_aQN: _SFRC, _sN: _sFRC, _smi: None}), - ), -) - -REQUEST_SPOT_FLEET_OUTPUT: StaticSchema = ( - 18, - n0, - _RSFO, - {_sSI: _cRSFRo, _smit: None}, - (_SFRI,), - ((STRING, {_aQN: _SFRI, _sN: _sFRI}),), -) - -REQUEST_SPOT_FLEET: StaticOperationSchema = ( - 23, - n0, - _RSF, - 0, - REQUEST_SPOT_FLEET_INPUT, - REQUEST_SPOT_FLEET_OUTPUT, - (), -) - -REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_ID_LIST: StaticSchema = ( - 16, - n0, - _RSLSSGIL, - 0, - (_me,), - ((SECURITY_GROUP_ID, {_sN: _i}),), -) - -REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_LIST: StaticSchema = ( - 16, - n0, - _RSLSSGL, - 0, - (_me,), - ((STRING, {_sN: _i}),), -) - -REQUEST_SPOT_LAUNCH_SPECIFICATION: StaticSchema = ( - 18, - n0, - _RSLS, - 0, - ( - _SGIe, - _SGe, - _ATddr, - _BDMl, - _EO, - _IIP, - _IIm, - _IT, - _KI, - _KN, - _Mon, - _NIe, - _Pl, - _RIa, - _SIu, - _UDs, - ), - ( - (REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_ID_LIST, {_sN: _SGI}), - (REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_LIST, {_sN: _SG}), - (STRING, {_aQN: _ATddr, _sN: _aTdd}), - (BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), - (BOOLEAN, {_aQN: _EO, _sN: _eO}), - (IAM_INSTANCE_PROFILE_SPECIFICATION, {_aQN: _IIP, _sN: _iIP}), - (IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), - (INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), - (KERNEL_ID, {_aQN: _KI, _sN: _kI}), - (KEY_PAIR_NAME_WITH_RESOLVER, {_aQN: _KN, _sN: _kN}), - (RUN_INSTANCES_MONITORING_ENABLED, {_aQN: _Mon, _sN: _monit}), - (INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST, {_sN: _NI}), - (SPOT_PLACEMENT, {_aQN: _Pl, _sN: _pla}), - (RAMDISK_ID, {_aQN: _RIa, _sN: _rIa}), - (SUBNET_ID, {_aQN: _SIu, _sN: _sI}), - (SENSITIVE_USER_DATA, {_aQN: _UDs, _sN: _uDs}), - ), -) - -REQUEST_SPOT_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _RSII, - {_sSI: _cRSIR, _sm: None}, - (_LSaun, _TSa, _IIB, _DR, _SPpo, _CTl, _IC, _Ty, _VF, _VU, _LGa, _AZGv, _BDMlo), - ( - (REQUEST_SPOT_LAUNCH_SPECIFICATION, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (INSTANCE_INTERRUPTION_BEHAVIOR, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (STRING, {_aQN: _SPpo, _sN: _sPp}), - (STRING, {_aQN: _CTl, _sN: _cTl}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - (SPOT_INSTANCE_TYPE, {_aQN: _Ty, _sN: _ty}), - (DATE_TIME, {_aQN: _VF, _sN: _vF}), - (DATE_TIME, {_aQN: _VU, _sN: _vU}), - (STRING, {_aQN: _LGa, _sN: _lG}), - (STRING, {_aQN: _AZGv, _sN: _aZG}), - (INTEGER, {_aQN: _BDMlo, _sN: _bDMl}), - ), -) - -REQUEST_SPOT_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _RSIO, - {_sSI: _cRSIRo, _smit: None}, - (_SIRpo,), - ((SPOT_INSTANCE_REQUEST_LIST, {_aQN: _SIRS, _sN: _sIRS}),), -) - -REQUEST_SPOT_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _RSIeq, - 0, - REQUEST_SPOT_INSTANCES_INPUT, - REQUEST_SPOT_INSTANCES_OUTPUT, - (), -) - -RESET_ADDRESS_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _RAAI, - {_sSI: _cRAAR, _sm: None}, - (_AI, _Attr, _DR), - ((ALLOCATION_ID, 1), (ADDRESS_ATTRIBUTE_NAME, 1), (BOOLEAN, 0)), -) - -RESET_ADDRESS_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _RAAO, - {_sSI: _cRAARo, _smit: None}, - (_Ad,), - ((ADDRESS_ATTRIBUTE, {_aQN: _Ad, _sN: _ad}),), -) - -RESET_ADDRESS_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _RAA, - 0, - RESET_ADDRESS_ATTRIBUTE_INPUT, - RESET_ADDRESS_ATTRIBUTE_OUTPUT, - (), -) - -RESET_EBS_DEFAULT_KMS_KEY_ID_INPUT: StaticSchema = ( - 18, - n0, - _REDKKII, - {_sSI: _cREDKKIR, _sm: None}, - (_DR,), - ((BOOLEAN, 0),), -) - -RESET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT: StaticSchema = ( - 18, - n0, - _REDKKIO, - {_sSI: _cREDKKIRo, _smit: None}, - (_KKI,), - ((STRING, {_aQN: _KKI, _sN: _kKI}),), -) - -RESET_EBS_DEFAULT_KMS_KEY_ID: StaticOperationSchema = ( - 23, - n0, - _REDKKI, - 0, - RESET_EBS_DEFAULT_KMS_KEY_ID_INPUT, - RESET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT, - (), -) - -RESET_FPGA_IMAGE_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _RFIAN, - 0, - (_lPo,), - ((-1, {_sV: _lPo}),), -) - -RESET_FPGA_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _RFIAI, - {_sSI: _cRFIAR, _sm: None}, - (_DR, _FII, _Attr), - ((BOOLEAN, 0), (FPGA_IMAGE_ID, 1), (RESET_FPGA_IMAGE_ATTRIBUTE_NAME, 0)), -) - -RESET_FPGA_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _RFIAO, - {_sSI: _cRFIARo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -RESET_FPGA_IMAGE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _RFIA, - 0, - RESET_FPGA_IMAGE_ATTRIBUTE_INPUT, - RESET_FPGA_IMAGE_ATTRIBUTE_OUTPUT, - (), -) - -RESET_IMAGE_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _RIAN, - 0, - (_lPa,), - ((-1, {_sV: _lPa}),), -) - -RESET_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _RIAI, - {_sSI: _cRIAR, _sm: None}, - (_Attr, _IIm, _DR), - ((RESET_IMAGE_ATTRIBUTE_NAME, 1), (IMAGE_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -RESET_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = (18, n0, _RIAO, {_sSI: _sU, _smit: None}) - -RESET_IMAGE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _RIA, - 0, - RESET_IMAGE_ATTRIBUTE_INPUT, - RESET_IMAGE_ATTRIBUTE_OUTPUT, - (), -) - -RESET_INSTANCE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _RIAIe, - {_sSI: _cRIARo, _sm: None}, - (_DR, _II, _Attr), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), - (INSTANCE_ATTRIBUTE_NAME, {_aQN: _Attr, _sN: _attr, _smi: None}), - ), -) - -RESET_INSTANCE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _RIAOe, - {_sSI: _sU, _smit: None}, -) - -RESET_INSTANCE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _RIAe, - 0, - RESET_INSTANCE_ATTRIBUTE_INPUT, - RESET_INSTANCE_ATTRIBUTE_OUTPUT, - (), -) - -RESET_NETWORK_INTERFACE_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _RNIAI, - {_sSI: _cRNIAR, _sm: None}, - (_DR, _NII, _SDC), - ( - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), - (STRING, {_aQN: _SDC, _sN: _sDC}), - ), -) - -RESET_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _RNIAO, - {_sSI: _sU, _smit: None}, -) - -RESET_NETWORK_INTERFACE_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _RNIA, - 0, - RESET_NETWORK_INTERFACE_ATTRIBUTE_INPUT, - RESET_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT, - (), -) - -RESET_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _RSAI, - {_sSI: _cRSAR, _sm: None}, - (_Attr, _SIn, _DR), - ((SNAPSHOT_ATTRIBUTE_NAME, 1), (SNAPSHOT_ID, 1), (BOOLEAN, {_aQN: _DR, _sN: _dRr})), -) - -RESET_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _RSAO, - {_sSI: _sU, _smit: None}, -) - -RESET_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _RSAe, - 0, - RESET_SNAPSHOT_ATTRIBUTE_INPUT, - RESET_SNAPSHOT_ATTRIBUTE_OUTPUT, - (), -) - -RESTORE_ADDRESS_TO_CLASSIC_INPUT: StaticSchema = ( - 18, - n0, - _RATCI, - {_sSI: _cRATCR, _sm: None}, - (_DR, _PI), - ((BOOLEAN, {_aQN: _DR, _sN: _dRr}), (STRING, {_aQN: _PI, _sN: _pI, _smi: None})), -) - -RESTORE_ADDRESS_TO_CLASSIC_OUTPUT: StaticSchema = ( - 18, - n0, - _RATCO, - {_sSI: _cRATCRo, _smit: None}, - (_PI, _Sta), - ((STRING, {_aQN: _PI, _sN: _pI}), (STATUS, {_aQN: _Sta, _sN: _sta})), -) - -RESTORE_ADDRESS_TO_CLASSIC: StaticOperationSchema = ( - 23, - n0, - _RATC, - 0, - RESTORE_ADDRESS_TO_CLASSIC_INPUT, - RESTORE_ADDRESS_TO_CLASSIC_OUTPUT, - (), -) - -RESTORE_IMAGE_FROM_RECYCLE_BIN_INPUT: StaticSchema = ( - 18, - n0, - _RIFRBI, - {_sSI: _cRIFRBR, _sm: None}, - (_IIm, _DR), - ((IMAGE_ID, 1), (BOOLEAN, 0)), -) - -RESTORE_IMAGE_FROM_RECYCLE_BIN_OUTPUT: StaticSchema = ( - 18, - n0, - _RIFRBO, - {_sSI: _cRIFRBRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -RESTORE_IMAGE_FROM_RECYCLE_BIN: StaticOperationSchema = ( - 23, - n0, - _RIFRB, - 0, - RESTORE_IMAGE_FROM_RECYCLE_BIN_INPUT, - RESTORE_IMAGE_FROM_RECYCLE_BIN_OUTPUT, - (), -) - -RESTORE_MANAGED_PREFIX_LIST_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _RMPLVI, - {_sSI: _cRMPLVR, _sm: None}, - (_DR, _PLI, _PVre, _CVu), - ((BOOLEAN, 0), (PREFIX_LIST_RESOURCE_ID, 1), (LONG, 1), (LONG, 1)), -) - -RESTORE_MANAGED_PREFIX_LIST_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _RMPLVO, - {_sSI: _cRMPLVRo, _smit: None}, - (_PL,), - ((MANAGED_PREFIX_LIST, {_aQN: _PL, _sN: _pL}),), -) - -RESTORE_MANAGED_PREFIX_LIST_VERSION: StaticOperationSchema = ( - 23, - n0, - _RMPLV, - 0, - RESTORE_MANAGED_PREFIX_LIST_VERSION_INPUT, - RESTORE_MANAGED_PREFIX_LIST_VERSION_OUTPUT, - (), -) - -RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_INPUT: StaticSchema = ( - 18, - n0, - _RSFRBI, - {_sSI: _cRSFRBR, _sm: None}, - (_SIn, _DR), - ((SNAPSHOT_ID, 1), (BOOLEAN, 0)), -) - -RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_OUTPUT: StaticSchema = ( - 18, - n0, - _RSFRBO, - {_sSI: _cRSFRBRo, _smit: None}, - (_SIn, _OA, _Des, _En, _OIw, _Prog, _ST, _St, _VIo, _VSol, _STs), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (STRING, {_aQN: _OA, _sN: _oA}), - (STRING, {_aQN: _Des, _sN: _desc}), - (BOOLEAN, {_aQN: _En, _sN: _enc}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _Prog, _sN: _prog}), - (MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), - (SNAPSHOT_STATE, {_aQN: _Sta, _sN: _sta}), - (STRING, {_aQN: _VIo, _sN: _vIo}), - (INTEGER, {_aQN: _VSol, _sN: _vSo}), - (SSE_TYPE, {_aQN: _STs, _sN: _sTs}), - ), -) - -RESTORE_SNAPSHOT_FROM_RECYCLE_BIN: StaticOperationSchema = ( - 23, - n0, - _RSFRB, - 0, - RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_INPUT, - RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_OUTPUT, - (), -) - -RESTORE_SNAPSHOT_TIER_REQUEST_TEMPORARY_RESTORE_DAYS: StaticSchema = ( - 7, - n0, - _RSTRTRD, - 0, -) - -RESTORE_SNAPSHOT_TIER_INPUT: StaticSchema = ( - 18, - n0, - _RSTI, - {_sSI: _cRSTR, _sm: None}, - (_SIn, _TRD, _PRer, _DR), - ( - (SNAPSHOT_ID, 1), - (RESTORE_SNAPSHOT_TIER_REQUEST_TEMPORARY_RESTORE_DAYS, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -RESTORE_SNAPSHOT_TIER_OUTPUT: StaticSchema = ( - 18, - n0, - _RSTO, - {_sSI: _cRSTRo, _smit: None}, - (_SIn, _RSTes, _RD, _IPRs), - ( - (STRING, {_aQN: _SIn, _sN: _sIn}), - (MILLISECOND_DATE_TIME, {_aQN: _RSTes, _sN: _rSTe}), - (INTEGER, {_aQN: _RD, _sN: _rD}), - (BOOLEAN, {_aQN: _IPRs, _sN: _iPRs}), - ), -) - -RESTORE_SNAPSHOT_TIER: StaticOperationSchema = ( - 23, - n0, - _RSTest, - 0, - RESTORE_SNAPSHOT_TIER_INPUT, - RESTORE_SNAPSHOT_TIER_OUTPUT, - (), -) - -RESTORE_VOLUME_FROM_RECYCLE_BIN_INPUT: StaticSchema = ( - 18, - n0, - _RVFRBI, - {_sSI: _cRVFRBR, _sm: None}, - (_VIo, _DR), - ((VOLUME_ID, 1), (BOOLEAN, 0)), -) - -RESTORE_VOLUME_FROM_RECYCLE_BIN_OUTPUT: StaticSchema = ( - 18, - n0, - _RVFRBO, - {_sSI: _cRVFRBRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -RESTORE_VOLUME_FROM_RECYCLE_BIN: StaticOperationSchema = ( - 23, - n0, - _RVFRB, - 0, - RESTORE_VOLUME_FROM_RECYCLE_BIN_INPUT, - RESTORE_VOLUME_FROM_RECYCLE_BIN_OUTPUT, - (), -) - -REVOKE_CLIENT_VPN_INGRESS_INPUT: StaticSchema = ( - 18, - n0, - _RCVII, - {_sSI: _cRCVIR, _sm: None}, - (_CVEI, _TNC, _AGI, _RAG, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (STRING, 1), (STRING, 0), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -REVOKE_CLIENT_VPN_INGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _RCVIO, - {_sSI: _cRCVIRo, _smit: None}, - (_Sta,), - ((CLIENT_VPN_AUTHORIZATION_RULE_STATUS, {_aQN: _Sta, _sN: _sta}),), -) - -REVOKE_CLIENT_VPN_INGRESS: StaticOperationSchema = ( - 23, - n0, - _RCVI, - 0, - REVOKE_CLIENT_VPN_INGRESS_INPUT, - REVOKE_CLIENT_VPN_INGRESS_OUTPUT, - (), -) - -REVOKE_SECURITY_GROUP_EGRESS_INPUT: StaticSchema = ( - 18, - n0, - _RSGEI, - {_sSI: _cRSGER, _sm: None}, - (_SGRIe, _DR, _GIr, _SSGN, _SSGOI, _IPpr, _FP, _TP, _CIi, _IPper), - ( - (SECURITY_GROUP_RULE_ID_LIST, {_sN: _SGRI}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr, _smi: None}), - (STRING, {_aQN: _SSGN, _sN: _sSGN}), - (STRING, {_aQN: _SSGOI, _sN: _sSGOI}), - (STRING, {_aQN: _IPpr, _sN: _iPpr}), - (INTEGER, {_aQN: _FP, _sN: _fP}), - (INTEGER, {_aQN: _TP, _sN: _tP}), - (STRING, {_aQN: _CIi, _sN: _cIi}), - (IP_PERMISSION_LIST, {_aQN: _IPper, _sN: _iPpe}), - ), -) - -REVOKED_SECURITY_GROUP_RULE: StaticSchema = ( - 18, - n0, - _RSGR, - 0, - (_SGRI, _GIr, _IE, _IPpr, _FP, _TP, _CIidr, _CIid, _PLI, _RGIef, _Des), - ( - (SECURITY_GROUP_RULE_ID, {_aQN: _SGRI, _sN: _sGRI}), - (SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), - (BOOLEAN, {_aQN: _IE, _sN: _iE}), - (STRING, {_aQN: _IPpr, _sN: _iPpr}), - (INTEGER, {_aQN: _FP, _sN: _fP}), - (INTEGER, {_aQN: _TP, _sN: _tP}), - (STRING, {_aQN: _CIidr, _sN: _cIidr}), - (STRING, {_aQN: _CIid, _sN: _cIid}), - (PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), - (SECURITY_GROUP_ID, {_aQN: _RGIef, _sN: _rGIe}), - (STRING, {_aQN: _Des, _sN: _desc}), - ), -) - -REVOKED_SECURITY_GROUP_RULE_LIST: StaticSchema = ( - 16, - n0, - _RSGRL, - 0, - (_me,), - ((REVOKED_SECURITY_GROUP_RULE, {_sN: _i}),), -) - -REVOKE_SECURITY_GROUP_EGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _RSGEO, - {_sSI: _cRSGERo, _smit: None}, - (_R, _UIP, _RSGRe), - ( - (BOOLEAN, {_aQN: _R, _sN: _r}), - (IP_PERMISSION_LIST, {_aQN: _UIPS, _sN: _uIPS}), - (REVOKED_SECURITY_GROUP_RULE_LIST, {_aQN: _RSGRS, _sN: _rSGRS}), - ), -) - -REVOKE_SECURITY_GROUP_EGRESS: StaticOperationSchema = ( - 23, - n0, - _RSGE, - 0, - REVOKE_SECURITY_GROUP_EGRESS_INPUT, - REVOKE_SECURITY_GROUP_EGRESS_OUTPUT, - (), -) - -REVOKE_SECURITY_GROUP_INGRESS_INPUT: StaticSchema = ( - 18, - n0, - _RSGII, - {_sSI: _cRSGIR, _sm: None}, - (_CIi, _FP, _GIr, _GN, _IPper, _IPpr, _SSGN, _SSGOI, _TP, _SGRIe, _DR), - ( - (STRING, 0), - (INTEGER, 0), - (SECURITY_GROUP_ID, 0), - (SECURITY_GROUP_NAME, 0), - (IP_PERMISSION_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (SECURITY_GROUP_RULE_ID_LIST, {_sN: _SGRI}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -REVOKE_SECURITY_GROUP_INGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _RSGIO, - {_sSI: _cRSGIRo, _smit: None}, - (_R, _UIP, _RSGRe), - ( - (BOOLEAN, {_aQN: _R, _sN: _r}), - (IP_PERMISSION_LIST, {_aQN: _UIPS, _sN: _uIPS}), - (REVOKED_SECURITY_GROUP_RULE_LIST, {_aQN: _RSGRS, _sN: _rSGRS}), - ), -) - -REVOKE_SECURITY_GROUP_INGRESS: StaticOperationSchema = ( - 23, - n0, - _RSGIev, - 0, - REVOKE_SECURITY_GROUP_INGRESS_INPUT, - REVOKE_SECURITY_GROUP_INGRESS_OUTPUT, - (), -) - -CPU_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _COR, - 0, - (_CCor, _TPC, _ASS, _NV), - ( - (INTEGER, 0), - (INTEGER, 0), - (AMD_SEV_SNP_SPECIFICATION, 0), - (NESTED_VIRTUALIZATION_SPECIFICATION, 0), - ), -) - -ELASTIC_GPU_SPECIFICATIONS: StaticSchema = ( - 16, - n0, - _EGSl, - 0, - (_me,), - ((ELASTIC_GPU_SPECIFICATION, {_sN: _i}),), -) - -ELASTIC_INFERENCE_ACCELERATOR_COUNT: StaticSchema = (7, n0, _EIAC, 0) - -ELASTIC_INFERENCE_ACCELERATOR: StaticSchema = ( - 18, - n0, - _EIAl, - 0, - (_Ty, _Cou), - ((STRING, 1), (ELASTIC_INFERENCE_ACCELERATOR_COUNT, 0)), -) - -ELASTIC_INFERENCE_ACCELERATORS: StaticSchema = ( - 16, - n0, - _EIA, - 0, - (_me,), - ((ELASTIC_INFERENCE_ACCELERATOR, {_sN: _i}),), -) - -HIBERNATION_OPTIONS_REQUEST: StaticSchema = (18, n0, _HOR, 0, (_Conf,), ((BOOLEAN, 0),)) - -SPOT_MARKET_OPTIONS: StaticSchema = ( - 18, - n0, - _SMO, - 0, - (_MP, _SITp, _BDMlo, _VU, _IIB), - ( - (STRING, 0), - (SPOT_INSTANCE_TYPE, 0), - (INTEGER, 0), - (DATE_TIME, 0), - (INSTANCE_INTERRUPTION_BEHAVIOR, 0), - ), -) - -INSTANCE_MARKET_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _IMORn, - 0, - (_MTar, _SO), - ((MARKET_TYPE, 0), (SPOT_MARKET_OPTIONS, 0)), -) - -LAUNCH_TEMPLATE_SPECIFICATION: StaticSchema = ( - 18, - n0, - _LTS, - 0, - (_LTI, _LTN, _Ve), - ((LAUNCH_TEMPLATE_ID, 0), (STRING, 0), (STRING, 0)), -) - -LICENSE_CONFIGURATION_REQUEST: StaticSchema = (18, n0, _LCR, 0, (_LCA,), ((STRING, 0),)) - -LICENSE_SPECIFICATION_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _LSLR, - 0, - (_me,), - ((LICENSE_CONFIGURATION_REQUEST, {_sN: _i}),), -) - -INSTANCE_MAINTENANCE_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _IMORns, - 0, - (_ARu,), - ((INSTANCE_AUTO_RECOVERY_STATE, 0),), -) - -INSTANCE_METADATA_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _IMORnst, - 0, - (_HTt, _HPRHL, _HE, _HPI, _IMT), - ( - (HTTP_TOKENS_STATE, 0), - (INTEGER, 0), - (INSTANCE_METADATA_ENDPOINT_STATE, 0), - (INSTANCE_METADATA_PROTOCOL_STATE, 0), - (INSTANCE_METADATA_TAGS_STATE, 0), - ), -) - -INSTANCE_NETWORK_PERFORMANCE_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _INPOR, - 0, - (_BW,), - ((INSTANCE_BANDWIDTH_WEIGHTING, 0),), -) - -PRIVATE_DNS_NAME_OPTIONS_REQUEST: StaticSchema = ( - 18, - n0, - _PDNORr, - 0, - (_HT, _ERNDAR, _ERNDAAAAR), - ((HOSTNAME_TYPE, 0), (BOOLEAN, 0), (BOOLEAN, 0)), -) - -INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_REQUEST: StaticSchema = ( - 18, - n0, - _ISIPIAR, - 0, - (_PIAr,), - ((STRING, 1),), -) - -INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _ISIPIALR, - 0, - (_me,), - ((INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_REQUEST, {_sN: _i}),), -) - -INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST: StaticSchema = ( - 18, - n0, - _ISISR, - 0, - (_DOT, _DI, _PIAri, _PIAC, _SSIe, _ITnte, _NCI), - ( - (BOOLEAN, 0), - (INTEGER, 0), - (INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST_REQUEST, {_sN: _PIAr}), - (INTEGER, 0), - (SECONDARY_SUBNET_ID, 0), - (SECONDARY_INTERFACE_TYPE, 0), - (INTEGER, 0), - ), -) - -INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST_REQUEST: StaticSchema = ( - 16, - n0, - _ISISLR, - 0, - (_me,), - ((INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST, {_sN: _i}),), -) - -RUN_INSTANCES_USER_DATA: StaticSchema = (3, n0, _RIUD, 4) - -RUN_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _RIIu, - {_sSI: _cRIRoma, _sm: None}, - ( - _BDMl, - _IIm, - _IT, - _IAC, - _IAp, - _KI, - _KN, - _MCax, - _MCi, - _Mon, - _Pl, - _RIa, - _SGIe, - _SGe, - _SIu, - _UDs, - _EGS, - _EIA, - _TSa, - _LT, - _IMO, - _CSr, - _CO, - _CRSa, - _HO, - _LSic, - _MO, - _EOn, - _PDNO, - _MOa, - _DASi, - _EPI, - _NPO, - _Op, - _SIec, - _DR, - _DAT, - _IISB, - _PIAr, - _CTl, - _AId, - _NIe, - _IIP, - _EO, - ), - ( - (BLOCK_DEVICE_MAPPING_REQUEST_LIST, {_sN: _BDM}), - (IMAGE_ID, 0), - (INSTANCE_TYPE, 0), - (INTEGER, 0), - (INSTANCE_IPV6_ADDRESS_LIST, {_sN: _IApv}), - (KERNEL_ID, 0), - (KEY_PAIR_NAME, 0), - (INTEGER, 1), - (INTEGER, 1), - (RUN_INSTANCES_MONITORING_ENABLED, 0), - (PLACEMENT, 0), - (RAMDISK_ID, 0), - (SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), - (SECURITY_GROUP_STRING_LIST, {_sN: _SG}), - (SUBNET_ID, 0), - (RUN_INSTANCES_USER_DATA, 0), - (ELASTIC_GPU_SPECIFICATIONS, 0), - (ELASTIC_INFERENCE_ACCELERATORS, {_sN: _EIAl}), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (LAUNCH_TEMPLATE_SPECIFICATION, 0), - (INSTANCE_MARKET_OPTIONS_REQUEST, 0), - (CREDIT_SPECIFICATION_REQUEST, 0), - (CPU_OPTIONS_REQUEST, 0), - (CAPACITY_RESERVATION_SPECIFICATION, 0), - (HIBERNATION_OPTIONS_REQUEST, 0), - (LICENSE_SPECIFICATION_LIST_REQUEST, {_sN: _LSice}), - (INSTANCE_METADATA_OPTIONS_REQUEST, 0), - (ENCLAVE_OPTIONS_REQUEST, 0), - (PRIVATE_DNS_NAME_OPTIONS_REQUEST, 0), - (INSTANCE_MAINTENANCE_OPTIONS_REQUEST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (INSTANCE_NETWORK_PERFORMANCE_OPTIONS_REQUEST, 0), - (OPERATOR_REQUEST, 0), - (INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST_REQUEST, {_sN: _SIeco}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (BOOLEAN, {_aQN: _DAT, _sN: _dAT}), - (SHUTDOWN_BEHAVIOR, {_aQN: _IISB, _sN: _iISB}), - (STRING, {_aQN: _PIAr, _sN: _pIAr}), - (STRING, {_aQN: _CTl, _sN: _cTl, _sT: None}), - (STRING, {_aQN: _AId, _sN: _aId}), - (INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST, {_aQN: _NI, _sN: _nI}), - (IAM_INSTANCE_PROFILE_SPECIFICATION, {_aQN: _IIP, _sN: _iIP}), - (BOOLEAN, {_aQN: _EO, _sN: _eO}), - ), -) - -RUN_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _RIOu, - {_sSI: _cRo, _smit: None}, - (_RI, _OIw, _RIeq, _G, _Ins), - ( - (STRING, {_aQN: _RI, _sN: _rIes}), - (STRING, {_aQN: _OIw, _sN: _oI}), - (STRING, {_aQN: _RIeq, _sN: _rIeq}), - (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), - (INSTANCE_LIST, {_aQN: _ISnst, _sN: _iSns}), - ), -) - -RUN_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _RIu, - 0, - RUN_INSTANCES_INPUT, - RUN_INSTANCES_OUTPUT, - (), -) - -SCHEDULED_INSTANCES_EBS: StaticSchema = ( - 18, - n0, - _SIE, - 0, - (_DOT, _En, _Io, _SIn, _VSol, _VT), - ( - (BOOLEAN, 0), - (BOOLEAN, 0), - (INTEGER, 0), - (SNAPSHOT_ID, 0), - (INTEGER, 0), - (STRING, 0), - ), -) - -SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING: StaticSchema = ( - 18, - n0, - _SIBDM, - 0, - (_DNe, _Eb, _ND, _VN), - ((STRING, 0), (SCHEDULED_INSTANCES_EBS, 0), (STRING, 0), (STRING, 0)), -) - -SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING_SET: StaticSchema = ( - 16, - n0, - _SIBDMS, - 0, - (_me,), - ((SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING, {_sN: _BDM}),), -) - -SCHEDULED_INSTANCES_IAM_INSTANCE_PROFILE: StaticSchema = ( - 18, - n0, - _SIIIP, - 0, - (_Ar, _N), - ((STRING, 0), (STRING, 0)), -) - -SCHEDULED_INSTANCES_MONITORING: StaticSchema = ( - 18, - n0, - _SIM, - 0, - (_Ena,), - ((BOOLEAN, 0),), -) - -SCHEDULED_INSTANCES_SECURITY_GROUP_ID_SET: StaticSchema = ( - 16, - n0, - _SISGIS, - 0, - (_me,), - ((SECURITY_GROUP_ID, {_sN: _SGI}),), -) - -IPV6_ADDRESS: StaticSchema = (3, n0, _IApv, 0) - -SCHEDULED_INSTANCES_IPV6_ADDRESS: StaticSchema = ( - 18, - n0, - _SIIAc, - 0, - (_IApv,), - ((IPV6_ADDRESS, 0),), -) - -SCHEDULED_INSTANCES_IPV6_ADDRESS_LIST: StaticSchema = ( - 16, - n0, - _SIIALc, - 0, - (_me,), - ((SCHEDULED_INSTANCES_IPV6_ADDRESS, {_sN: _IApv}),), -) - -SCHEDULED_INSTANCES_PRIVATE_IP_ADDRESS_CONFIG: StaticSchema = ( - 18, - n0, - _SIPIAC, - 0, - (_Prim, _PIAr), - ((BOOLEAN, 0), (STRING, 0)), -) - -PRIVATE_IP_ADDRESS_CONFIG_SET: StaticSchema = ( - 16, - n0, - _PIACS, - 0, - (_me,), - ((SCHEDULED_INSTANCES_PRIVATE_IP_ADDRESS_CONFIG, {_sN: _PIACS}),), -) - -SCHEDULED_INSTANCES_NETWORK_INTERFACE: StaticSchema = ( - 18, - n0, - _SINI, - 0, - (_APIAsso, _DOT, _Des, _DI, _G, _IAC, _IAp, _NII, _PIAr, _PIACr, _SPIAC, _SIu), - ( - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (INTEGER, 0), - (SCHEDULED_INSTANCES_SECURITY_GROUP_ID_SET, {_sN: _Gr}), - (INTEGER, 0), - (SCHEDULED_INSTANCES_IPV6_ADDRESS_LIST, {_sN: _IApv}), - (NETWORK_INTERFACE_ID, 0), - (STRING, 0), - (PRIVATE_IP_ADDRESS_CONFIG_SET, {_sN: _PIACri}), - (INTEGER, 0), - (SUBNET_ID, 0), - ), -) - -SCHEDULED_INSTANCES_NETWORK_INTERFACE_SET: StaticSchema = ( - 16, - n0, - _SINIS, - 0, - (_me,), - ((SCHEDULED_INSTANCES_NETWORK_INTERFACE, {_sN: _NI}),), -) - -SCHEDULED_INSTANCES_PLACEMENT: StaticSchema = ( - 18, - n0, - _SIPc, - 0, - (_AZ, _GN), - ((STRING, 0), (PLACEMENT_GROUP_NAME, 0)), -) - -SCHEDULED_INSTANCES_LAUNCH_SPECIFICATION: StaticSchema = ( - 18, - n0, - _SILS, - 4, - (_BDMl, _EO, _IIP, _IIm, _IT, _KI, _KN, _Mon, _NIe, _Pl, _RIa, _SGIe, _SIu, _UDs), - ( - (SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING_SET, {_sN: _BDM}), - (BOOLEAN, 0), - (SCHEDULED_INSTANCES_IAM_INSTANCE_PROFILE, 0), - (IMAGE_ID, 1), - (STRING, 0), - (KERNEL_ID, 0), - (KEY_PAIR_NAME, 0), - (SCHEDULED_INSTANCES_MONITORING, 0), - (SCHEDULED_INSTANCES_NETWORK_INTERFACE_SET, {_sN: _NI}), - (SCHEDULED_INSTANCES_PLACEMENT, 0), - (RAMDISK_ID, 0), - (SCHEDULED_INSTANCES_SECURITY_GROUP_ID_SET, {_sN: _SGI}), - (SUBNET_ID, 0), - (STRING, 0), - ), -) - -RUN_SCHEDULED_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _RSIIu, - {_sSI: _cRSIRom, _sm: None}, - (_CTl, _DR, _IC, _LSaun, _SIIc), - ( - (STRING, 2), - (BOOLEAN, 0), - (INTEGER, 0), - (SCHEDULED_INSTANCES_LAUNCH_SPECIFICATION, 1), - (SCHEDULED_INSTANCE_ID, 1), - ), -) - -INSTANCE_ID_SET: StaticSchema = (16, n0, _IIS, 0, (_me,), ((INSTANCE_ID, {_sN: _i}),)) - -RUN_SCHEDULED_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _RSIOu, - {_sSI: _cRSIRoma, _smit: None}, - (_IIS,), - ((INSTANCE_ID_SET, {_aQN: _IIS, _sN: _iIS}),), -) - -RUN_SCHEDULED_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _RSIu, - 0, - RUN_SCHEDULED_INSTANCES_INPUT, - RUN_SCHEDULED_INSTANCES_OUTPUT, - (), -) - -SEARCH_LOCAL_GATEWAY_ROUTES_INPUT: StaticSchema = ( - 18, - n0, - _SLGRI, - {_sSI: _cSLGRR, _sm: None}, - (_LGRTI, _Fil, _MR, _NTex, _DR), - ( - (LOCAL_GATEWAY_ROUTETABLE_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -LOCAL_GATEWAY_ROUTE_LIST: StaticSchema = ( - 16, - n0, - _LGRL, - 0, - (_me,), - ((LOCAL_GATEWAY_ROUTE, {_sN: _i}),), -) - -SEARCH_LOCAL_GATEWAY_ROUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _SLGRO, - {_sSI: _cSLGRRo, _smit: None}, - (_Rout, _NTex), - ( - (LOCAL_GATEWAY_ROUTE_LIST, {_aQN: _RSout, _sN: _rSou}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -SEARCH_LOCAL_GATEWAY_ROUTES: StaticOperationSchema = ( - 23, - n0, - _SLGR, - 0, - SEARCH_LOCAL_GATEWAY_ROUTES_INPUT, - SEARCH_LOCAL_GATEWAY_ROUTES_OUTPUT, - (), -) - -SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _STGMGI, - {_sSI: _cSTGMGR, _sm: None}, - (_TGMDI, _Fil, _MR, _NTex, _DR), - ( - (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), - (FILTER_LIST, {_sN: _Fi}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -MEMBERSHIP_TYPE: StaticSchema = ( - 14, - n0, - _MTem, - 0, - (_stat, _igm), - ((-1, {_sV: _stat}), (-1, {_sV: _igm})), -) - -TRANSIT_GATEWAY_MULTICAST_GROUP: StaticSchema = ( - 18, - n0, - _TGMG, - 0, - (_GIA, _TGAI, _SIu, _RIe, _RT, _ROI, _NII, _GM, _GSr, _MTemb, _STo), - ( - (STRING, {_aQN: _GIA, _sN: _gIA}), - (STRING, {_aQN: _TGAI, _sN: _tGAI}), - (STRING, {_aQN: _SIu, _sN: _sI}), - (STRING, {_aQN: _RIe, _sN: _rI}), - (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), - (STRING, {_aQN: _ROI, _sN: _rOI}), - (STRING, {_aQN: _NII, _sN: _nII}), - (BOOLEAN, {_aQN: _GM, _sN: _gM}), - (BOOLEAN, {_aQN: _GSr, _sN: _gSr}), - (MEMBERSHIP_TYPE, {_aQN: _MTemb, _sN: _mTe}), - (MEMBERSHIP_TYPE, {_aQN: _STo, _sN: _sTo}), - ), -) - -TRANSIT_GATEWAY_MULTICAST_GROUP_LIST: StaticSchema = ( - 16, - n0, - _TGMGL, - 0, - (_me,), - ((TRANSIT_GATEWAY_MULTICAST_GROUP, {_sN: _i}),), -) - -SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _STGMGO, - {_sSI: _cSTGMGRo, _smit: None}, - (_MG, _NTex), - ( - (TRANSIT_GATEWAY_MULTICAST_GROUP_LIST, {_aQN: _MG, _sN: _mG}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS: StaticOperationSchema = ( - 23, - n0, - _STGMG, - 0, - SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_INPUT, - SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_OUTPUT, - (), -) - -SEARCH_TRANSIT_GATEWAY_ROUTES_INPUT: StaticSchema = ( - 18, - n0, - _STGRI, - {_sSI: _cSTGRR, _sm: None}, - (_TGRTI, _Fil, _MR, _DR, _NTex), - ( - (TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), - (FILTER_LIST, {_sN: _Fi, _smi: None}), - (TRANSIT_GATEWAY_MAX_RESULTS, 0), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -TRANSIT_GATEWAY_ROUTE_LIST: StaticSchema = ( - 16, - n0, - _TGRL, - 0, - (_me,), - ((TRANSIT_GATEWAY_ROUTE, {_sN: _i}),), -) - -SEARCH_TRANSIT_GATEWAY_ROUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _STGRO, - {_sSI: _cSTGRRo, _smit: None}, - (_Rout, _ARAd, _NTex), - ( - (TRANSIT_GATEWAY_ROUTE_LIST, {_aQN: _RSout, _sN: _rSou}), - (BOOLEAN, {_aQN: _ARAd, _sN: _aRAd}), - (STRING, {_aQN: _NTex, _sN: _nT}), - ), -) - -SEARCH_TRANSIT_GATEWAY_ROUTES: StaticOperationSchema = ( - 23, - n0, - _STGR, - 0, - SEARCH_TRANSIT_GATEWAY_ROUTES_INPUT, - SEARCH_TRANSIT_GATEWAY_ROUTES_OUTPUT, - (), -) - -SEND_DIAGNOSTIC_INTERRUPT_INPUT: StaticSchema = ( - 18, - n0, - _SDII, - {_sSI: _cSDIR, _sm: None}, - (_II, _DR), - ((INSTANCE_ID, 1), (BOOLEAN, 0)), -) - -SEND_DIAGNOSTIC_INTERRUPT_OUTPUT: StaticSchema = ( - 18, - n0, - _SDIO, - {_sSI: _sU, _smit: None}, -) - -SEND_DIAGNOSTIC_INTERRUPT: StaticOperationSchema = ( - 23, - n0, - _SDI, - 0, - SEND_DIAGNOSTIC_INTERRUPT_INPUT, - SEND_DIAGNOSTIC_INTERRUPT_OUTPUT, - (), -) - -START_DECLARATIVE_POLICIES_REPORT_INPUT: StaticSchema = ( - 18, - n0, - _SDPRI, - {_sSI: _cSDPRR, _sm: None}, - (_DR, _SBu, _SPr, _TIa, _TSa), - ( - (BOOLEAN, 0), - (STRING, 1), - (STRING, 0), - (STRING, 1), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - ), -) - -START_DECLARATIVE_POLICIES_REPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _SDPRO, - {_sSI: _cSDPRRo, _smit: None}, - (_RIep,), - ((STRING, {_aQN: _RIep, _sN: _rIe}),), -) - -START_DECLARATIVE_POLICIES_REPORT: StaticOperationSchema = ( - 23, - n0, - _SDPR, - 0, - START_DECLARATIVE_POLICIES_REPORT_INPUT, - START_DECLARATIVE_POLICIES_REPORT_OUTPUT, - (), -) - -START_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _SIIt, - {_sSI: _cSIR, _sm: None}, - (_IIn, _AId, _DR), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), - (STRING, {_aQN: _AId, _sN: _aId}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -INSTANCE_STATE_CHANGE: StaticSchema = ( - 18, - n0, - _ISC, - 0, - (_II, _CSu, _PSre), - ( - (STRING, {_aQN: _II, _sN: _iI}), - (INSTANCE_STATE, {_aQN: _CSu, _sN: _cSu}), - (INSTANCE_STATE, {_aQN: _PSre, _sN: _pSre}), - ), -) - -INSTANCE_STATE_CHANGE_LIST: StaticSchema = ( - 16, - n0, - _ISCL, - 0, - (_me,), - ((INSTANCE_STATE_CHANGE, {_sN: _i}),), -) - -START_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _SIO, - {_sSI: _cSIRo, _smit: None}, - (_SIt,), - ((INSTANCE_STATE_CHANGE_LIST, {_aQN: _ISnst, _sN: _iSns}),), -) - -START_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _SIta, - 0, - START_INSTANCES_INPUT, - START_INSTANCES_OUTPUT, - (), -) - -START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT: StaticSchema = ( - 18, - n0, - _SNIASAI, - {_sSI: _cSNIASAR, _sm: None}, - (_NIASI, _DR, _TSa, _CTl), - ( - (NETWORK_INSIGHTS_ACCESS_SCOPE_ID, 1), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 3), - ), -) - -START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT: StaticSchema = ( - 18, - n0, - _SNIASAO, - {_sSI: _cSNIASARo, _smit: None}, - (_NIASAe,), - ((NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS, {_aQN: _NIASAe, _sN: _nIASAe}),), -) - -START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS: StaticOperationSchema = ( - 23, - n0, - _SNIASA, - 0, - START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT, - START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT, - (), -) - -START_NETWORK_INSIGHTS_ANALYSIS_INPUT: StaticSchema = ( - 18, - n0, - _SNIAI, - {_sSI: _cSNIAR, _sm: None}, - (_NIPI, _AAdd, _FIAi, _FOA, _DR, _TSa, _CTl), - ( - (NETWORK_INSIGHTS_PATH_ID, 1), - (VALUE_STRING_LIST, {_sN: _AAddi}), - (ARN_LIST, {_sN: _FIAil}), - (ARN_LIST, {_sN: _FOAil}), - (BOOLEAN, 0), - (TAG_SPECIFICATION_LIST, {_sN: _TS}), - (STRING, 3), - ), -) - -START_NETWORK_INSIGHTS_ANALYSIS_OUTPUT: StaticSchema = ( - 18, - n0, - _SNIAO, - {_sSI: _cSNIARo, _smit: None}, - (_NIAet,), - ((NETWORK_INSIGHTS_ANALYSIS, {_aQN: _NIAet, _sN: _nIA}),), -) - -START_NETWORK_INSIGHTS_ANALYSIS: StaticOperationSchema = ( - 23, - n0, - _SNIA, - 0, - START_NETWORK_INSIGHTS_ANALYSIS_INPUT, - START_NETWORK_INSIGHTS_ANALYSIS_OUTPUT, - (), -) - -START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_INPUT: StaticSchema = ( - 18, - n0, - _SVESPDVI, - {_sSI: _cSVESPDVR, _sm: None}, - (_DR, _SIe), - ((BOOLEAN, 0), (VPC_ENDPOINT_SERVICE_ID, 1)), -) - -START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _SVESPDVO, - {_sSI: _cSVESPDVRo, _smit: None}, - (_RV,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION: StaticOperationSchema = ( - 23, - n0, - _SVESPDV, - 0, - START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_INPUT, - START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_OUTPUT, - (), -) - -STOP_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _SIIto, - {_sSI: _cSIRom, _sm: None}, - (_IIn, _Hi, _SOS, _DR, _Fo), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - (BOOLEAN, {_aQN: _Fo, _sN: _for}), - ), -) - -STOP_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _SIOt, - {_sSI: _cSIRoma, _smit: None}, - (_SIto,), - ((INSTANCE_STATE_CHANGE_LIST, {_aQN: _ISnst, _sN: _iSns}),), -) - -STOP_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _SItop, - 0, - STOP_INSTANCES_INPUT, - STOP_INSTANCES_OUTPUT, - (), -) - -TERMINATE_CLIENT_VPN_CONNECTIONS_INPUT: StaticSchema = ( - 18, - n0, - _TCVCI, - {_sSI: _cTCVCR, _sm: None}, - (_CVEI, _CIon, _Use, _DR), - ((CLIENT_VPN_ENDPOINT_ID, 1), (STRING, 0), (STRING, 0), (BOOLEAN, 0)), -) - -TERMINATE_CONNECTION_STATUS: StaticSchema = ( - 18, - n0, - _TCSe, - 0, - (_CIon, _PSrev, _CSur), - ( - (STRING, {_aQN: _CIon, _sN: _cIon}), - (CLIENT_VPN_CONNECTION_STATUS, {_aQN: _PSrev, _sN: _pSrev}), - (CLIENT_VPN_CONNECTION_STATUS, {_aQN: _CSur, _sN: _cSur}), - ), -) - -TERMINATE_CONNECTION_STATUS_SET: StaticSchema = ( - 16, - n0, - _TCSS, - 0, - (_me,), - ((TERMINATE_CONNECTION_STATUS, {_sN: _i}),), -) - -TERMINATE_CLIENT_VPN_CONNECTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _TCVCO, - {_sSI: _cTCVCRo, _smit: None}, - (_CVEI, _Use, _CSonn), - ( - (STRING, {_aQN: _CVEI, _sN: _cVEI}), - (STRING, {_aQN: _Use, _sN: _user}), - (TERMINATE_CONNECTION_STATUS_SET, {_aQN: _CSonn, _sN: _cSonn}), - ), -) - -TERMINATE_CLIENT_VPN_CONNECTIONS: StaticOperationSchema = ( - 23, - n0, - _TCVC, - 0, - TERMINATE_CLIENT_VPN_CONNECTIONS_INPUT, - TERMINATE_CLIENT_VPN_CONNECTIONS_OUTPUT, - (), -) - -TERMINATE_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _TIIe, - {_sSI: _cTIR, _sm: None}, - (_IIn, _Fo, _SOS, _DR), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -TERMINATE_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _TIO, - {_sSI: _cTIRo, _smit: None}, - (_TIer,), - ((INSTANCE_STATE_CHANGE_LIST, {_aQN: _ISnst, _sN: _iSns}),), -) - -TERMINATE_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _TIe, - 0, - TERMINATE_INSTANCES_INPUT, - TERMINATE_INSTANCES_OUTPUT, - (), -) - -UNASSIGN_IPV6_ADDRESSES_INPUT: StaticSchema = ( - 18, - n0, - _UIAI, - {_sSI: _cUIAR, _sm: None}, - (_IPp, _NII, _IAp), - ( - (IP_PREFIX_LIST, {_sN: _IPpv}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), - (IPV6_ADDRESS_LIST, {_aQN: _IAp, _sN: _iA}), - ), -) - -UNASSIGN_IPV6_ADDRESSES_OUTPUT: StaticSchema = ( - 18, - n0, - _UIAO, - {_sSI: _cUIARo, _smit: None}, - (_NII, _UIA, _UIPn), - ( - (STRING, {_aQN: _NII, _sN: _nII}), - (IPV6_ADDRESS_LIST, {_aQN: _UIA, _sN: _uIA}), - (IP_PREFIX_LIST, {_aQN: _UIPSn, _sN: _uIPSn}), - ), -) - -UNASSIGN_IPV6_ADDRESSES: StaticOperationSchema = ( - 23, - n0, - _UIAn, - 0, - UNASSIGN_IPV6_ADDRESSES_INPUT, - UNASSIGN_IPV6_ADDRESSES_OUTPUT, - (), -) - -UNASSIGN_PRIVATE_IP_ADDRESSES_INPUT: StaticSchema = ( - 18, - n0, - _UPIAI, - {_sSI: _cUPIAR, _sm: None}, - (_IPpvr, _NII, _PIAri), - ( - (IP_PREFIX_LIST, {_sN: _IPpvre}), - (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), - (PRIVATE_IP_ADDRESS_STRING_LIST, {_aQN: _PIAr, _sN: _pIAr}), - ), -) - -UNASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT: StaticSchema = ( - 18, - n0, - _UPIAO, - {_sSI: _sU, _smit: None}, -) - -UNASSIGN_PRIVATE_IP_ADDRESSES: StaticOperationSchema = ( - 23, - n0, - _UPIA, - 0, - UNASSIGN_PRIVATE_IP_ADDRESSES_INPUT, - UNASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT, - (), -) - -UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT: StaticSchema = ( - 18, - n0, - _UPNGAI, - {_sSI: _cUPNGAR, _sm: None}, - (_NGI, _PIAri, _MDDS, _DR), - ( - (NAT_GATEWAY_ID, 1), - (IP_LIST, {_sN: _PIAr, _smi: None}), - (DRAIN_SECONDS, 0), - (BOOLEAN, 0), - ), -) - -UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _UPNGAO, - {_sSI: _cUPNGARo, _smit: None}, - (_NGI, _NGAa), - ( - (NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), - (NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), - ), -) - -UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS: StaticOperationSchema = ( - 23, - n0, - _UPNGA, - 0, - UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT, - UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT, - (), -) - -UNLOCK_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _USI, - {_sSI: _cUSR, _sm: None}, - (_SIn, _DR), - ((SNAPSHOT_ID, 1), (BOOLEAN, 0)), -) - -UNLOCK_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _USO, - {_sSI: _cUSRo, _smit: None}, - (_SIn,), - ((STRING, {_aQN: _SIn, _sN: _sIn}),), -) - -UNLOCK_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _USn, - 0, - UNLOCK_SNAPSHOT_INPUT, - UNLOCK_SNAPSHOT_OUTPUT, - (), -) - -UNMONITOR_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _UII, - {_sSI: _cUIR, _sm: None}, - (_IIn, _DR), - ( - (INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), - (BOOLEAN, {_aQN: _DR, _sN: _dRr}), - ), -) - -UNMONITOR_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _UIO, - {_sSI: _cUIRo, _smit: None}, - (_IMnst,), - ((INSTANCE_MONITORING_LIST, {_aQN: _ISnst, _sN: _iSns}),), -) - -UNMONITOR_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _UIn, - 0, - UNMONITOR_INSTANCES_INPUT, - UNMONITOR_INSTANCES_OUTPUT, - (), -) - -UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _UCMMTKI, - {_sSI: _cUCMMTKR, _sm: None}, - (_ATK, _DTK, _DR, _CTl), - ( - (VALUE_STRING_LIST, {_sN: _ATKc}), - (VALUE_STRING_LIST, {_sN: _DTKe}), - (BOOLEAN, 0), - (STRING, 2), - ), -) - -UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _UCMMTKO, - {_sSI: _cUCMMTKRo, _smit: None}, - (_CMTK,), - ((CAPACITY_MANAGER_MONITORED_TAG_KEY_LIST, {_aQN: _CMTKS, _sN: _cMTKS}),), -) - -UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS: StaticOperationSchema = ( - 23, - n0, - _UCMMTK, - 0, - UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT, - UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT, - (), -) - -UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _UCMOAI, - {_sSI: _cUCMOAR, _sm: None}, - (_OArg, _DR, _CTl), - ((BOXED_BOOLEAN, 1), (BOOLEAN, 0), (STRING, 2)), -) - -UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _UCMOAO, - {_sSI: _cUCMOARo, _smit: None}, - (_CMSa, _OArg), - ( - (CAPACITY_MANAGER_STATUS, {_aQN: _CMSa, _sN: _cMSa}), - (BOOLEAN, {_aQN: _OArg, _sN: _oArg}), - ), -) - -UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS: StaticOperationSchema = ( - 23, - n0, - _UCMOA, - 0, - UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_INPUT, - UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_OUTPUT, - (), -) - -UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT: StaticSchema = ( - 18, - n0, - _UICRAI, - {_sSI: _cUICRAR, _sm: None}, - (_CRI, _TIC, _DR, _ZSP), - ( - (CAPACITY_RESERVATION_ID, 1), - (INTEGER, 0), - (BOOLEAN, 0), - (ZERO_SIZE_PREFERENCE, 0), - ), -) - -UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UICRAO, - {_sSI: _cUICRARo, _smit: None}, - (_ICRI, _SCRI, _IC, _TIC, _Sta, _ITnt), - ( - (CAPACITY_RESERVATION_ID, {_aQN: _ICRI, _sN: _iCRI}), - (CAPACITY_RESERVATION_ID, {_aQN: _SCRI, _sN: _sCRI}), - (INTEGER, {_aQN: _IC, _sN: _iC}), - (INTEGER, {_aQN: _TIC, _sN: _tIC}), - (INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_STATUS, {_aQN: _Sta, _sN: _sta}), - (INTERRUPTION_TYPE, {_aQN: _ITnt, _sN: _iTn}), - ), -) - -UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION: StaticOperationSchema = ( - 23, - n0, - _UICRA, - 0, - UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT, - UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT, - (), -) - -SECURITY_GROUP_RULE_DESCRIPTION: StaticSchema = ( - 18, - n0, - _SGRD, - 0, - (_SGRI, _Des), - ((STRING, 0), (STRING, 0)), -) - -SECURITY_GROUP_RULE_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _SGRDL, - 0, - (_me,), - ((SECURITY_GROUP_RULE_DESCRIPTION, {_sN: _i}),), -) - -UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_INPUT: StaticSchema = ( - 18, - n0, - _USGRDEI, - {_sSI: _cUSGRDER, _sm: None}, - (_DR, _GIr, _GN, _IPper, _SGRDe), - ( - (BOOLEAN, 0), - (SECURITY_GROUP_ID, 0), - (SECURITY_GROUP_NAME, 0), - (IP_PERMISSION_LIST, 0), - (SECURITY_GROUP_RULE_DESCRIPTION_LIST, {_sN: _SGRD}), - ), -) - -UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _USGRDEO, - {_sSI: _cUSGRDERo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS: StaticOperationSchema = ( - 23, - n0, - _USGRDE, - 0, - UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_INPUT, - UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_OUTPUT, - (), -) - -UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_INPUT: StaticSchema = ( - 18, - n0, - _USGRDII, - {_sSI: _cUSGRDIR, _sm: None}, - (_DR, _GIr, _GN, _IPper, _SGRDe), - ( - (BOOLEAN, 0), - (SECURITY_GROUP_ID, 0), - (SECURITY_GROUP_NAME, 0), - (IP_PERMISSION_LIST, 0), - (SECURITY_GROUP_RULE_DESCRIPTION_LIST, {_sN: _SGRD}), - ), -) - -UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _USGRDIO, - {_sSI: _cUSGRDIRo, _smit: None}, - (_R,), - ((BOOLEAN, {_aQN: _R, _sN: _r}),), -) - -UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS: StaticOperationSchema = ( - 23, - n0, - _USGRDI, - 0, - UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_INPUT, - UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_OUTPUT, - (), -) - -VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_INPUT: StaticSchema = ( - 18, - n0, - _VSGQFII, - {_sSI: _cVSGQFIR, _sm: None}, - (_SGIe, _DR), - ((SECURITY_GROUP_ID_LIST, {_sN: _SGI, _smi: None}), (BOOLEAN, 0)), -) - -VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_OUTPUT: StaticSchema = ( - 18, - n0, - _VSGQFIO, - {_sSI: _cVSGQFIRo, _smit: None}, - (_Vali,), - ((BOOLEAN, {_aQN: _Vali, _sN: _val}),), -) - -VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE: StaticOperationSchema = ( - 23, - n0, - _VSGQFI, - 0, - VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_INPUT, - VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_OUTPUT, - (), -) - -WITHDRAW_BYOIP_CIDR_INPUT: StaticSchema = ( - 18, - n0, - _WBCI, - {_sSI: _cWBCR, _sm: None}, - (_Ci, _DR), - ((STRING, 1), (BOOLEAN, 0)), -) - -WITHDRAW_BYOIP_CIDR_OUTPUT: StaticSchema = ( - 18, - n0, - _WBCO, - {_sSI: _cWBCRo, _smit: None}, - (_BC,), - ((BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), -) - -WITHDRAW_BYOIP_CIDR: StaticOperationSchema = ( - 23, - n0, - _WBC, - 0, - WITHDRAW_BYOIP_CIDR_INPUT, - WITHDRAW_BYOIP_CIDR_OUTPUT, - (), -) - -AMAZON_EC2: StaticSchema = ( - 21, - n0, - _AECm, - { - _aw: MappingProxyType({"name": "ec2"}), - _aQ: None, - _awsa: MappingProxyType( - { - "sdkId": "EC2", - "arnNamespace": "ec2", - "cloudFormationName": "EC2", - "cloudTrailEventSource": "ec2.amazonaws.com", - "endpointPrefix": "ec2", - } - ), - _sNm: MappingProxyType({"uri": "http://ec2.amazonaws.com/doc/2016-11-15"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "INTEGER", + "ACCELERATOR_COUNT", + "ACCELERATOR_COUNT_REQUEST", + "ACCELERATOR_MANUFACTURER", + "ACCELERATOR_MANUFACTURER_SET", + "ACCELERATOR_NAME", + "ACCELERATOR_NAME_SET", + "ACCELERATOR_TOTAL_MEMORY_MI_B", + "ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST", + "ACCELERATOR_TYPE", + "ACCELERATOR_TYPE_SET", + "STRING", + "BOOLEAN", + "RESOURCE_TYPE", + "TAG", + "TAG_LIST", + "TAG_SPECIFICATION", + "TAG_SPECIFICATION_LIST", + "ACCEPT_ADDRESS_TRANSFER_INPUT", + "ACCEPT_ADDRESS_TRANSFER_OUTPUT", + "ACCEPT_ADDRESS_TRANSFER", + "ADDRESS_TRANSFER_STATUS", + "MILLISECOND_DATE_TIME", + "ADDRESS_TRANSFER", + "CAPACITY_RESERVATION_ID", + "ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT", + "ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT", + "ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP", + "RESERVATION_ID", + "RESERVED_INSTANCE_ID_SET", + "RESERVED_INSTANCES_OFFERING_ID", + "TARGET_CONFIGURATION_REQUEST", + "TARGET_CONFIGURATION_REQUEST_SET", + "ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT", + "ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT", + "ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE", + "TRANSIT_GATEWAY_ATTACHMENT_ID", + "ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT", + "ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT", + "ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT", + "CLIENT_VPN_ENDPOINT_ID", + "TRANSIT_GATEWAY_ATTACHMENT_STATUS_TYPE", + "TRANSIT_GATEWAY_ID", + "TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT", + "VALUE_STRING_LIST", + "TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID", + "ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT", + "ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT", + "ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS", + "TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE", + "TRANSIT_GATEWAY_MULITCAST_DOMAIN_ASSOCIATION_STATE", + "SUBNET_ASSOCIATION", + "SUBNET_ASSOCIATION_LIST", + "TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS", + "ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT", + "ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT", + "ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT", + "PEERING_TGW_INFO", + "DATE_TIME", + "DYNAMIC_ROUTING_VALUE", + "TRANSIT_GATEWAY_PEERING_ATTACHMENT_OPTIONS", + "TRANSIT_GATEWAY_ATTACHMENT_STATE", + "PEERING_ATTACHMENT_STATUS", + "TRANSIT_GATEWAY_PEERING_ATTACHMENT", + "ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT", + "ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT", + "ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT", + "APPLIANCE_MODE_SUPPORT_VALUE", + "DNS_SUPPORT_VALUE", + "IPV6_SUPPORT_VALUE", + "SECURITY_GROUP_REFERENCING_SUPPORT_VALUE", + "TRANSIT_GATEWAY_VPC_ATTACHMENT_OPTIONS", + "TRANSIT_GATEWAY_VPC_ATTACHMENT", + "VPC_ENDPOINT_SERVICE_ID", + "VPC_ENDPOINT_ID", + "VPC_ENDPOINT_ID_LIST", + "ACCEPT_VPC_ENDPOINT_CONNECTIONS_INPUT", + "ACCEPT_VPC_ENDPOINT_CONNECTIONS_OUTPUT", + "ACCEPT_VPC_ENDPOINT_CONNECTIONS", + "UNSUCCESSFUL_ITEM_ERROR", + "UNSUCCESSFUL_ITEM", + "UNSUCCESSFUL_ITEM_SET", + "VPC_PEERING_CONNECTION_ID_WITH_RESOLVER", + "ACCEPT_VPC_PEERING_CONNECTION_INPUT", + "ACCEPT_VPC_PEERING_CONNECTION_OUTPUT", + "ACCEPT_VPC_PEERING_CONNECTION", + "CIDR_BLOCK", + "CIDR_BLOCK_SET", + "IPV6_CIDR_BLOCK", + "IPV6_CIDR_BLOCK_SET", + "VPC_PEERING_CONNECTION_OPTIONS_DESCRIPTION", + "VPC_PEERING_CONNECTION_VPC_INFO", + "VPC_PEERING_CONNECTION_STATE_REASON_CODE", + "PORT_RANGE", + "NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID", + "NETWORK_INSIGHTS_ACCESS_SCOPE_ID", + "ACCOUNT_ID", + "VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE", + "MANAGED_BY", + "PRINCIPAL_TYPE", + "ALLOCATION_ID", + "IPAM_POOL_ID", + "IPV4_POOL_EC2_ID", + "IPAM_POOL_ALLOCATION_ID", + "NAT_GATEWAY_ID", + "EIP_ALLOCATION_PUBLIC_IP", + "APPLICATION_STATUS_CHECK_ID", + "CERTIFICATE_ID", + "ROLE_ID", + "DEDICATED_HOST_ID", + "IPAM_ID", + "IPAM_RESOURCE_DISCOVERY_ID", + "ROUTE_SERVER_ID", + "ROUTE_TABLE_ID", + "SECURITY_GROUP_VPC_ASSOCIATION_STATE", + "TRANSIT_GATEWAY_POLICY_TABLE_ID", + "TRANSIT_GATEWAY_ASSOCIATION_STATE", + "TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION", + "TRANSIT_GATEWAY_ROUTE_TABLE_ID", + "TRANSIT_GATEWAY_ASSOCIATION", + "TRUNK_INTERFACE_ASSOCIATION_ID", + "IPV6_POOL_EC2_ID", + "INTERNET_GATEWAY_ID", + "VERIFIED_ACCESS_INSTANCE_ID", + "BOXED_INTEGER", + ), + ( + "VPC_PEERING_CONNECTION_STATE_REASON", + "VPC_PEERING_CONNECTION", + "ANALYSIS_ACL_RULE", + "ANALYSIS_COMPONENT", + "ANALYSIS_COMPONENT_LIST", + "RESOURCE_ARN", + "STRING_LIST", + "RULE_OPTION", + "RULE_OPTION_LIST", + "RULE_GROUP_RULE_OPTIONS_PAIR", + "RULE_GROUP_RULE_OPTIONS_PAIR_LIST", + "RULE_GROUP_TYPE_PAIR", + "RULE_GROUP_TYPE_PAIR_LIST", + "ADDITIONAL_DETAIL", + "ADDITIONAL_DETAIL_LIST", + "IP_ADDRESS", + "IP_ADDRESS_LIST", + "PORT", + "ANALYSIS_LOAD_BALANCER_LISTENER", + "COMPONENT_ACCOUNT", + "COMPONENT_REGION", + "PORT_RANGE_LIST", + "FIREWALL_STATEFUL_RULE", + "PRIORITY", + "PROTOCOL_INT", + "PROTOCOL_INT_LIST", + "FIREWALL_STATELESS_RULE", + "ANALYSIS_LOAD_BALANCER_TARGET", + "ANALYSIS_ROUTE_TABLE_ROUTE", + "ANALYSIS_SECURITY_GROUP_RULE", + "ANALYSIS_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY", + "TRANSIT_GATEWAY_ROUTE_TABLE_ROUTE", + "EXPLANATION", + "EXPLANATION_LIST", + "ANALYSIS_PACKET_HEADER", + "PATH_COMPONENT", + "PATH_COMPONENT_LIST", + "ACCESS_SCOPE_ANALYSIS_FINDING", + "ACCESS_SCOPE_ANALYSIS_FINDING_LIST", + "PROTOCOL", + "PROTOCOL_LIST", + "PACKET_HEADER_STATEMENT", + "RESOURCE_STATEMENT", + "PATH_STATEMENT", + "THROUGH_RESOURCES_STATEMENT", + "THROUGH_RESOURCES_STATEMENT_LIST", + "ACCESS_SCOPE_PATH", + "ACCESS_SCOPE_PATH_LIST", + "PACKET_HEADER_STATEMENT_REQUEST", + "RESOURCE_STATEMENT_REQUEST", + "PATH_STATEMENT_REQUEST", + "THROUGH_RESOURCES_STATEMENT_REQUEST", + "THROUGH_RESOURCES_STATEMENT_REQUEST_LIST", + "ACCESS_SCOPE_PATH_REQUEST", + "ACCESS_SCOPE_PATH_LIST_REQUEST", + "ACCOUNT_ATTRIBUTE_VALUE", + "ACCOUNT_ATTRIBUTE_VALUE_LIST", + "ACCOUNT_ATTRIBUTE", + "ACCOUNT_ATTRIBUTE_LIST", + "ACCOUNT_ATTRIBUTE_NAME", + "ACCOUNT_ATTRIBUTE_NAME_STRING_LIST", + "ACCOUNT_VPC_ENCRYPTION_CONTROL_EXCLUSIONS", + "ACCOUNT_VPC_ENCRYPTION_CONTROL_MODE", + "ACCOUNT_VPC_ENCRYPTION_CONTROL_STATE", + "ACCOUNT_VPC_ENCRYPTION_CONTROL", + "INSTANCE_HEALTH_STATUS", + "ACTIVE_INSTANCE", + "ACTIVE_INSTANCE_SET", + "VPN_TUNNEL_PROVISIONING_STATUS", + "ACTIVE_VPN_TUNNEL_STATUS", + "ACTIVITY_STATUS", + "ADDED_PRINCIPAL", + "ADDED_PRINCIPAL_SET", + "ADD_IPAM_OPERATING_REGION", + "ADD_IPAM_OPERATING_REGION_SET", + "ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION", + "ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET", + "ADDITIONAL_FLEXIBLE_NETWORK_INTERFACES", + "ADD_PREFIX_LIST_ENTRY", + "ADD_PREFIX_LIST_ENTRIES", + "DOMAIN_TYPE", + "SERVICE_MANAGED", + "ADDRESS", + "PTR_UPDATE_STATUS", + "PUBLIC_IP_ADDRESS", + "ADDRESS_ATTRIBUTE", + "ADDRESS_ATTRIBUTE_NAME", + "ADDRESS_FAMILY", + "IPAM_RESOURCE_DISCOVERY_ASSOCIATION_ID", + "LOCAL_GATEWAY_ROUTETABLE_ID", + "IPAM_SCOPE_ID", + "NETWORK_INSIGHTS_ACCESS_SCOPE", + "NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT", + "NETWORK_INSIGHTS_PATH_ID", + "NETWORK_INSIGHTS_ANALYSIS_ID", + "NETWORK_INSIGHTS_MAX_RESULTS", + "ANALYSIS_STATUS", + ), + ( + "ADDRESS_LIST", + "ADDRESS_MAX_RESULTS", + "ADDRESS_SET", + "ADDRESS_TRANSFER_LIST", + "ADVERTISE_BYOIP_CIDR_INPUT", + "ADVERTISE_BYOIP_CIDR_OUTPUT", + "ADVERTISE_BYOIP_CIDR", + "ASN_ASSOCIATION_STATE", + "ASN_ASSOCIATION", + "ASN_ASSOCIATION_SET", + "BYOIP_CIDR_STATE", + "BYOIP_CIDR", + "AFFINITY", + "ALLOCATE_ADDRESS_INPUT", + "ALLOCATE_ADDRESS_OUTPUT", + "ALLOCATE_ADDRESS", + "ASSET_ID", + "ASSET_ID_LIST", + "AUTO_PLACEMENT", + "AVAILABILITY_ZONE_NAME", + "AVAILABILITY_ZONE_ID", + "AMD_SEV_SNP", + "HOST_CPU_OPTIONS_REQUEST", + "HOST_MAINTENANCE", + "HOST_RECOVERY", + "ALLOCATE_HOSTS_INPUT", + "ALLOCATE_HOSTS_OUTPUT", + "ALLOCATE_HOSTS", + "RESPONSE_HOST_ID_LIST", + "IPAM_POOL_ALLOCATION_ALLOWED_CIDRS", + "IPAM_POOL_ALLOCATION_DISALLOWED_CIDRS", + "ALLOCATE_IPAM_POOL_CIDR_INPUT", + "ALLOCATE_IPAM_POOL_CIDR_OUTPUT", + "ALLOCATE_IPAM_POOL_CIDR", + "IPAM_POOL_ALLOCATION_RESOURCE_TYPE", + "IPAM_POOL_ALLOCATION", + "ALLOCATION_ID_LIST", + "ALLOCATION_IDS", + "ALLOCATION_STATE", + "ALLOCATION_STRATEGY", + "ALLOWED_IMAGES_SETTINGS_DISABLED_STATE", + "ALLOWED_IMAGES_SETTINGS_ENABLED_STATE", + "ALLOWED_INSTANCE_TYPE", + "ALLOWED_INSTANCE_TYPE_SET", + "ALLOWED_PRINCIPAL", + "ALLOWED_PRINCIPAL_SET", + "ALLOWS_MULTIPLE_INSTANCE_TYPES", + "ALTERNATE_PATH_HINT", + "ALTERNATE_PATH_HINT_LIST", + "SECURITY_GROUP_ID", + "CLIENT_VPN_SECURITY_GROUP_ID_SET", + "VPC_ID", + "APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_INPUT", + "APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_OUTPUT", + "APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK", + "IPV6_ADDRESS_LIST", + "IP_PREFIX_LIST", + "NETWORK_INTERFACE_ID", + "ASSIGN_IPV6_ADDRESSES_INPUT", + "ASSIGN_IPV6_ADDRESSES_OUTPUT", + "ASSIGN_IPV6_ADDRESSES", + "PRIVATE_IP_ADDRESS_STRING_LIST", + "ASSIGN_PRIVATE_IP_ADDRESSES_INPUT", + "ASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT", + "ASSIGN_PRIVATE_IP_ADDRESSES", + "IPV4_PREFIX_SPECIFICATION", + "IPV4_PREFIXES_LIST", + "ASSIGNED_PRIVATE_IP_ADDRESS", + "ASSIGNED_PRIVATE_IP_ADDRESS_LIST", + "PRIVATE_IP_ADDRESS_COUNT", + "IP_LIST", + "ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT", + "ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT", + "ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS", + "NAT_GATEWAY_ADDRESS_STATUS", + "NAT_GATEWAY_ADDRESS", + "NAT_GATEWAY_ADDRESS_LIST", + "INSTANCE_ID", + "ASSOCIATE_ADDRESS_INPUT", + "ASSOCIATE_ADDRESS_OUTPUT", + "ASSOCIATE_ADDRESS", + "INSTANCE_ID_LIST", + "CUSTOM_TAG_KEY_VALUE_REQUEST_PAIR", + "CUSTOM_KEY_VALUE_PAIR_REQUEST_SET", + "ASSOCIATE_APPLICATION_STATUS_CHECK_INPUT", + "ASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT", + "ASSOCIATE_APPLICATION_STATUS_CHECK", + "SUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT", + "SUCCESSFUL_ASSOCIATION_RESPONSE_SET", + "UNSUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT", + "UNSUCCESSFUL_ASSOCIATION_RESPONSE_SET", + "ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT", + "ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT", + "ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER", + "SUBNET_ID", + "ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT", + "ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT", + "ASSOCIATE_CLIENT_VPN_TARGET_NETWORK", + "ASSOCIATION_STATUS_CODE", + "ASSOCIATION_STATUS", + "DEFAULTING_DHCP_OPTIONS_ID", + "ASSOCIATE_DHCP_OPTIONS_INPUT", + "ASSOCIATE_DHCP_OPTIONS_OUTPUT", + "ASSOCIATE_DHCP_OPTIONS", + "ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT", + "ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT", + "ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE", + "IAM_INSTANCE_PROFILE_SPECIFICATION", + "ASSOCIATE_IAM_INSTANCE_PROFILE_INPUT", + "ASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT", + "ASSOCIATE_IAM_INSTANCE_PROFILE", + "IAM_INSTANCE_PROFILE", + "IAM_INSTANCE_PROFILE_ASSOCIATION_STATE", + "IAM_INSTANCE_PROFILE_ASSOCIATION", + "DEDICATED_HOST_ID_LIST", + "INSTANCE_EVENT_WINDOW_ASSOCIATION_REQUEST", + "ROUTE_GATEWAY_ID", + "TRANSIT_GATEWAY_SUBNET_ID_LIST", + "GROUP_ID_STRING_LIST", + "ATTACHMENT_STATUS", + "USER_ID_GROUP_PAIR", + "SECURITY_GROUP_NAME", + "DOUBLE", + "CARRIER_GATEWAY_ID", + "COIP_POOL_ID", + "HOSTNAME_TYPE", + "TENANCY", + "ATTRIBUTE_VALUE", + "EGRESS_ONLY_INTERNET_GATEWAY_ID", + "TARGET_CAPACITY_UNIT_TYPE", + ), + ( + "INSTANCE_EVENT_WINDOW_ID", + "ASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT", + "ASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT", + "ASSOCIATE_INSTANCE_EVENT_WINDOW", + "INSTANCE_EVENT_WINDOW_ASSOCIATION_TARGET", + "INSTANCE_EVENT_WINDOW_CRON_EXPRESSION", + "INSTANCE_EVENT_WINDOW_STATE", + "HOUR", + "WEEK_DAY", + "INSTANCE_EVENT_WINDOW_TIME_RANGE", + "INSTANCE_EVENT_WINDOW_TIME_RANGE_LIST", + "INSTANCE_EVENT_WINDOW", + "ASSOCIATE_IPAM_BYOASN_INPUT", + "ASSOCIATE_IPAM_BYOASN_OUTPUT", + "ASSOCIATE_IPAM_BYOASN", + "ASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT", + "ASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT", + "ASSOCIATE_IPAM_RESOURCE_DISCOVERY", + "IPAM_ASSOCIATED_RESOURCE_DISCOVERY_STATUS", + "IPAM_RESOURCE_DISCOVERY_ASSOCIATION_STATE", + "IPAM_RESOURCE_DISCOVERY_ASSOCIATION", + "ASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT", + "ASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT", + "ASSOCIATE_NAT_GATEWAY_ADDRESS", + "ASSOCIATE_ROUTE_SERVER_INPUT", + "ASSOCIATE_ROUTE_SERVER_OUTPUT", + "ASSOCIATE_ROUTE_SERVER", + "ROUTE_SERVER_ASSOCIATION_STATE", + "ROUTE_SERVER_ASSOCIATION", + "ASSOCIATE_ROUTE_TABLE_INPUT", + "ASSOCIATE_ROUTE_TABLE_OUTPUT", + "ASSOCIATE_ROUTE_TABLE", + "ROUTE_TABLE_ASSOCIATION_STATE_CODE", + "ROUTE_TABLE_ASSOCIATION_STATE", + "ASSOCIATE_SECURITY_GROUP_VPC_INPUT", + "ASSOCIATE_SECURITY_GROUP_VPC_OUTPUT", + "ASSOCIATE_SECURITY_GROUP_VPC", + "NETMASK_LENGTH", + "ASSOCIATE_SUBNET_CIDR_BLOCK_INPUT", + "ASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT", + "ASSOCIATE_SUBNET_CIDR_BLOCK", + "SUBNET_CIDR_ASSOCIATION_ID", + "IP_SOURCE", + "IPV6_ADDRESS_ATTRIBUTE", + "SUBNET_CIDR_BLOCK_STATE_CODE", + "SUBNET_CIDR_BLOCK_STATE", + "SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION", + "ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT", + "ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT", + "ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN", + "ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT", + "ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT", + "ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE", + "ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT", + "ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT", + "ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE", + "ASSOCIATE_TRUNK_INTERFACE_INPUT", + "ASSOCIATE_TRUNK_INTERFACE_OUTPUT", + "ASSOCIATE_TRUNK_INTERFACE", + "INTERFACE_PROTOCOL_TYPE", + "TRUNK_INTERFACE_ASSOCIATION", + "ASSOCIATE_VPC_CIDR_BLOCK_INPUT", + "ASSOCIATE_VPC_CIDR_BLOCK_OUTPUT", + "ASSOCIATE_VPC_CIDR_BLOCK", + "VPC_CIDR_BLOCK_STATE_CODE", + "VPC_CIDR_BLOCK_STATE", + "VPC_CIDR_BLOCK_ASSOCIATION", + "VPC_IPV6_CIDR_BLOCK_ASSOCIATION", + "ATTACH_CLASSIC_LINK_VPC_INPUT", + "ATTACH_CLASSIC_LINK_VPC_OUTPUT", + "ATTACH_CLASSIC_LINK_VPC", + "IMAGE_ID", + "IMAGE_WATERMARK_NAME_REQUEST", + "ATTACH_IMAGE_WATERMARK_INPUT", + "ATTACH_IMAGE_WATERMARK_OUTPUT", + "ATTACH_IMAGE_WATERMARK", + "ATTACH_INTERNET_GATEWAY_INPUT", + "ATTACH_INTERNET_GATEWAY_OUTPUT", + "ATTACH_INTERNET_GATEWAY", + "ENA_SRD_UDP_SPECIFICATION", + "ENA_SRD_SPECIFICATION", + "ATTACH_NETWORK_INTERFACE_INPUT", + "ATTACH_NETWORK_INTERFACE_OUTPUT", + "ATTACH_NETWORK_INTERFACE", + "VERIFIED_ACCESS_TRUST_PROVIDER_ID", + "ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT", + "ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT", + "ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER", + "VERIFIED_ACCESS_INSTANCE_CUSTOM_SUB_DOMAIN", + "DEVICE_TRUST_PROVIDER_TYPE", + "TRUST_PROVIDER_TYPE", + "USER_TRUST_PROVIDER_TYPE", + "VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED", + "VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED_LIST", + "VERIFIED_ACCESS_INSTANCE", + "DEVICE_OPTIONS", + "NATIVE_APPLICATION_OIDC_OPTIONS", + "CLIENT_SECRET_TYPE", + "IMAGE_ID_STRING_LIST", + ), + ( + "ALLOCATION_TYPE", + "OIDC_OPTIONS", + "KMS_KEY_ARN", + "VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE", + "VERIFIED_ACCESS_TRUST_PROVIDER", + "VOLUME_ID", + "ATTACH_VOLUME_INPUT", + "ATTACH_VOLUME_OUTPUT", + "ATTACH_VOLUME", + "VOLUME_ATTACHMENT_STATE", + "ATTACH_VPN_GATEWAY_INPUT", + "ATTACH_VPN_GATEWAY_OUTPUT", + "ATTACH_VPN_GATEWAY", + "VPC_ATTACHMENT", + "AUTHORIZE_CLIENT_VPN_INGRESS_INPUT", + "AUTHORIZE_CLIENT_VPN_INGRESS_OUTPUT", + "AUTHORIZE_CLIENT_VPN_INGRESS", + "CLIENT_VPN_AUTHORIZATION_RULE_STATUS_CODE", + "CLIENT_VPN_AUTHORIZATION_RULE_STATUS", + "IP_RANGE", + "IP_RANGE_LIST", + "IPV6_RANGE", + "IPV6_RANGE_LIST", + "PREFIX_LIST_ID", + "PREFIX_LIST_ID_LIST", + "USER_ID_GROUP_PAIR_LIST", + "IP_PERMISSION", + "IP_PERMISSION_LIST", + "AUTHORIZE_SECURITY_GROUP_EGRESS_INPUT", + "AUTHORIZE_SECURITY_GROUP_EGRESS_OUTPUT", + "AUTHORIZE_SECURITY_GROUP_EGRESS", + "PREFIX_LIST_RESOURCE_ID", + "REFERENCED_SECURITY_GROUP", + "SECURITY_GROUP_RULE_ID", + "SECURITY_GROUP_RULE", + "SECURITY_GROUP_RULE_LIST", + "AUTHORIZE_SECURITY_GROUP_INGRESS_INPUT", + "AUTHORIZE_SECURITY_GROUP_INGRESS_OUTPUT", + "AUTHORIZE_SECURITY_GROUP_INGRESS", + "BOXED_BOOLEAN", + "IPAM_INTERNET_REGISTRY_ASSOCIATION_ID", + "BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT", + "BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT", + "BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS", + "IPAM_ROUTING_POLICY_REGISTRATION_DELTA_STATE", + "IPAM_ROUTING_POLICY_REGISTRATION_DELTA", + "SECURE_BLOB", + "S3_STORAGE_UPLOAD_POLICY_SIGNATURE", + "S3_STORAGE", + "STORAGE", + "BUNDLE_INSTANCE_INPUT", + "BUNDLE_INSTANCE_OUTPUT", + "BUNDLE_INSTANCE", + "BUNDLE_TASK_ERROR", + "BUNDLE_TASK_STATE", + "BUNDLE_TASK", + "BUNDLE_ID", + "CANCEL_BUNDLE_TASK_INPUT", + "CANCEL_BUNDLE_TASK_OUTPUT", + "CANCEL_BUNDLE_TASK", + "APPLY_CANCELLATION_CHARGES", + "CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID", + "CANCEL_CAPACITY_RESERVATION_INPUT", + "CANCEL_CAPACITY_RESERVATION_OUTPUT", + "CANCEL_CAPACITY_RESERVATION", + "CAPACITY_RESERVATION_FLEET_ID", + "CAPACITY_RESERVATION_FLEET_ID_SET", + "CANCEL_CAPACITY_RESERVATION_FLEETS_INPUT", + "CANCEL_CAPACITY_RESERVATION_FLEETS_OUTPUT", + "CANCEL_CAPACITY_RESERVATION_FLEETS", + "CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_CODE", + "CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_MESSAGE", + "CANCEL_CAPACITY_RESERVATION_FLEET_ERROR", + "FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT", + "FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT_SET", + "CAPACITY_RESERVATION_FLEET_STATE", + "CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE", + "CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE_SET", + "CONVERSION_TASK_ID", + "CANCEL_CONVERSION_TASK_INPUT", + "CANCEL_CONVERSION_TASK_OUTPUT", + "CANCEL_CONVERSION_TASK", + "DECLARATIVE_POLICIES_REPORT_ID", + "CANCEL_DECLARATIVE_POLICIES_REPORT_INPUT", + "CANCEL_DECLARATIVE_POLICIES_REPORT_OUTPUT", + "CANCEL_DECLARATIVE_POLICIES_REPORT", + "EXPORT_VM_TASK_ID", + "CANCEL_EXPORT_TASK_INPUT", + "CANCEL_EXPORT_TASK_OUTPUT", + "CANCEL_EXPORT_TASK", + "CANCEL_IMAGE_LAUNCH_PERMISSION_INPUT", + "CANCEL_IMAGE_LAUNCH_PERMISSION_OUTPUT", + "CANCEL_IMAGE_LAUNCH_PERMISSION", + "IMPORT_TASK_ID", + "CANCEL_IMPORT_TASK_INPUT", + "CANCEL_IMPORT_TASK_OUTPUT", + "CANCEL_IMPORT_TASK", + "RESERVED_INSTANCES_LISTING_ID", + "CANCEL_RESERVED_INSTANCES_LISTING_INPUT", + "CANCEL_RESERVED_INSTANCES_LISTING_OUTPUT", + "CANCEL_RESERVED_INSTANCES_LISTING", + "LISTING_STATE", + "INSTANCE_COUNT", + "INSTANCE_COUNT_LIST", + "CURRENCY_CODE_VALUES", + "LONG", + "PRICE_SCHEDULE", + "PRICE_SCHEDULE_LIST", + "LISTING_STATUS", + "RESERVED_INSTANCES_LISTING", + "RESERVED_INSTANCES_LISTING_LIST", + "SPOT_FLEET_REQUEST_ID_LIST", + "CANCEL_SPOT_FLEET_REQUESTS_INPUT", + "CANCEL_SPOT_FLEET_REQUESTS_OUTPUT", + "CANCEL_SPOT_FLEET_REQUESTS", + "BATCH_STATE", + "CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_ITEM", + "CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_SET", + "SSE_TYPE", + "VOLUME_STATE", + "CAPACITY_RESERVATION_INSTANCE_PLATFORM", + "BOXED_LONG", + "SNAPSHOT_LOCATION_ENUM", + "SNAPSHOT_STATE", + "VOLUME_ID_STRING_LIST", + ), + ( + "AGGREGATION_STATUS_ENUM", + "CANCEL_BATCH_ERROR_CODE", + "CANCEL_SPOT_FLEET_REQUESTS_ERROR", + "CANCEL_SPOT_FLEET_REQUESTS_ERROR_ITEM", + "CANCEL_SPOT_FLEET_REQUESTS_ERROR_SET", + "SPOT_INSTANCE_REQUEST_ID", + "SPOT_INSTANCE_REQUEST_ID_LIST", + "CANCEL_SPOT_INSTANCE_REQUESTS_INPUT", + "CANCEL_SPOT_INSTANCE_REQUESTS_OUTPUT", + "CANCEL_SPOT_INSTANCE_REQUESTS", + "CANCEL_SPOT_INSTANCE_REQUEST_STATE", + "CANCELLED_SPOT_INSTANCE_REQUEST", + "CANCELLED_SPOT_INSTANCE_REQUEST_LIST", + "CONFIRM_PRODUCT_INSTANCE_INPUT", + "CONFIRM_PRODUCT_INSTANCE_OUTPUT", + "CONFIRM_PRODUCT_INSTANCE", + "COPY_FPGA_IMAGE_INPUT", + "COPY_FPGA_IMAGE_OUTPUT", + "COPY_FPGA_IMAGE", + "COPY_IMAGE_CLIENT_TOKEN", + "IMAGE_DESCRIPTION_REQUEST", + "IMAGE_NAME_REQUEST", + "COPY_IMAGE_INPUT", + "COPY_IMAGE_OUTPUT", + "COPY_IMAGE", + "SNAPSHOT_COMPLETION_DURATION_MINUTES_REQUEST", + "COPY_SNAPSHOT_REQUEST_PSU", + "COPY_SNAPSHOT_INPUT", + "COPY_SNAPSHOT_OUTPUT", + "COPY_SNAPSHOT", + "COPY_VOLUMES_INPUT", + "COPY_VOLUMES_OUTPUT", + "COPY_VOLUMES", + "VOLUME_ATTACHMENT", + "VOLUME_ATTACHMENT_LIST", + "VOLUME", + "VOLUME_LIST", + "HEALTH_CHECK_PATH_DESTINATION_REQUEST_OBJECT", + "HEALTH_CHECK_PATH_DESTINATION_REQUEST_SET", + "HEALTH_CHECK_PATH_SOURCE_REQUEST_OBJECT", + "HEALTH_CHECK_PATH_REQUEST_OBJECT", + "HEALTH_CHECK_PATH_REQUEST_LIST", + "INITIALIZATION_GRACE_PERIOD_SECONDS", + "IP_SCOPE_ENUM", + "IP_VERSION_ENUM", + "PORT_NUMBER", + "NETWORK_PROTOCOL_ENUM", + "CREATE_APPLICATION_STATUS_CHECK_INPUT", + "CREATE_APPLICATION_STATUS_CHECK_OUTPUT", + "CREATE_APPLICATION_STATUS_CHECK", + "HEALTH_CHECK_PATH_DESTINATION_RESPONSE_OBJECT", + "HEALTH_CHECK_PATH_DESTINATION_RESPONSE_LIST", + "HEALTH_CHECK_PATH_SOURCE_RESPONSE_OBJECT", + "HEALTH_CHECK_PATH_RESPONSE_OBJECT", + "HEALTH_CHECK_PATH_RESPONSE_LIST", + "CUSTOM_TAG_KEY_VALUE_RESPONSE_PAIR", + "CUSTOM_KEY_VALUE_PAIR_RESPONSE_SET", + "APPLICATION_STATUS_CHECK_RESPONSE_OBJECT", + "OUTPUT_FORMAT", + "SCHEDULE", + "CREATE_CAPACITY_MANAGER_DATA_EXPORT_INPUT", + "CREATE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT", + "CREATE_CAPACITY_MANAGER_DATA_EXPORT", + "CAPACITY_MANAGER_DATA_EXPORT_ID", + "CAPACITY_RESERVATION_COMMITMENT_DURATION", + "CAPACITY_RESERVATION_DELIVERY_PREFERENCE", + "END_DATE_TYPE", + "INSTANCE_MATCH_CRITERIA", + "OUTPOST_ARN", + "PLACEMENT_GROUP_ARN", + "CAPACITY_RESERVATION_TENANCY", + "CREATE_CAPACITY_RESERVATION_INPUT", + "CREATE_CAPACITY_RESERVATION_OUTPUT", + "CREATE_CAPACITY_RESERVATION", + "CAPACITY_RESERVATION_ADJUSTMENT_DETAILS", + "CAPACITY_RESERVATION_ADJUSTMENT_STATUS", + "CAPACITY_ALLOCATION_METADATA_ENTRY", + "CAPACITY_ALLOCATION_METADATA_LIST", + "CAPACITY_ALLOCATION", + "CAPACITY_ALLOCATIONS", + "CAPACITY_BLOCK_ID", + "CAPACITY_RESERVATION_COMMITMENT_INFO", + "INTERRUPTION_TYPE", + "INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_STATUS", + "ZERO_SIZE_PREFERENCE", + "INTERRUPTIBLE_CAPACITY_ALLOCATION", + "INTERRUPTION_INFO", + "CAPACITY_RESERVATION_LAUNCH_STATUS", + "CAPACITY_RESERVATION_TYPE", + "CAPACITY_RESERVATION_STATE", + "CAPACITY_RESERVATION", + "CAPACITY_RESERVATION_ID_SET", + ), + ( + "CREATE_CAPACITY_RESERVATION_BY_SPLITTING_INPUT", + "CREATE_CAPACITY_RESERVATION_BY_SPLITTING_OUTPUT", + "CREATE_CAPACITY_RESERVATION_BY_SPLITTING", + "CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_INPUT", + "CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_OUTPUT", + "CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE", + "CANCELLATION_TERMS", + "CANCELLATION_TERMS_SET", + "CAPACITY_RESERVATION_CONFIGURATION", + "CAPACITY_RESERVATION_CANCELLATION_QUOTE_STATE", + "CAPACITY_RESERVATION_CANCELLATION_QUOTE", + "CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_INPUT", + "CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_OUTPUT", + "CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE", + "CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID", + "MODIFICATION_QUOTE_CURRENT_CONFIGURATION", + "MODIFICATION_RESERVATION_UPDATE", + "MODIFICATION_TERMS", + "CAPACITY_RESERVATION_MODIFICATION_QUOTE_STATE", + "CAPACITY_RESERVATION_MODIFICATION_QUOTE", + "FLEET_INSTANCE_MATCH_CRITERIA", + "BARE_METAL", + "BASELINE_EBS_BANDWIDTH_MBPS_REQUEST", + "PERFORMANCE_FACTOR_REFERENCE_REQUEST", + "PERFORMANCE_FACTOR_REFERENCE_SET_REQUEST", + "CPU_PERFORMANCE_FACTOR_REQUEST", + "BASELINE_PERFORMANCE_FACTORS_REQUEST", + "BURSTABLE_PERFORMANCE", + "CPU_MANUFACTURER", + "CPU_MANUFACTURER_SET", + "EXCLUDED_INSTANCE_TYPE", + "EXCLUDED_INSTANCE_TYPE_SET", + "INSTANCE_GENERATION", + "INSTANCE_GENERATION_SET", + "LOCAL_STORAGE", + "LOCAL_STORAGE_TYPE", + "LOCAL_STORAGE_TYPE_SET", + "MEMORY_GI_B_PER_V_CPU_REQUEST", + "MEMORY_MI_B_REQUEST", + "NETWORK_BANDWIDTH_GBPS_REQUEST", + "NETWORK_INTERFACE_COUNT_REQUEST", + "TOTAL_LOCAL_STORAGE_GB_REQUEST", + "V_CPU_COUNT_RANGE_REQUEST", + "INSTANCE_REQUIREMENTS_REQUEST", + ), + ("INSTANCE_TYPE",), + ( + "INTEGER_WITH_CONSTRAINTS", + "DOUBLE_WITH_CONSTRAINTS", + "RESERVATION_FLEET_INSTANCE_SPECIFICATION", + "RESERVATION_FLEET_INSTANCE_SPECIFICATION_LIST", + "FLEET_CAPACITY_RESERVATION_TENANCY", + "CREATE_CAPACITY_RESERVATION_FLEET_INPUT", + "CREATE_CAPACITY_RESERVATION_FLEET_OUTPUT", + "CREATE_CAPACITY_RESERVATION_FLEET", + "FLEET_CAPACITY_RESERVATION", + "FLEET_CAPACITY_RESERVATION_SET", + "CREATE_CARRIER_GATEWAY_INPUT", + "CREATE_CARRIER_GATEWAY_OUTPUT", + "CREATE_CARRIER_GATEWAY", + "CARRIER_GATEWAY_STATE", + "CARRIER_GATEWAY", + "DIRECTORY_SERVICE_AUTHENTICATION_REQUEST", + "FEDERATED_AUTHENTICATION_REQUEST", + "CERTIFICATE_AUTHENTICATION_REQUEST", + "CLIENT_VPN_AUTHENTICATION_TYPE", + "CLIENT_VPN_AUTHENTICATION_REQUEST", + "CLIENT_VPN_AUTHENTICATION_REQUEST_LIST", + "CLIENT_CONNECT_OPTIONS", + "CLIENT_LOGIN_BANNER_OPTIONS", + "CLIENT_ROUTE_ENFORCEMENT_OPTIONS", + "CONNECTION_LOG_OPTIONS", + "CLIENT_VPN_DEVICE_TRUST_PROVIDER_TYPE", + "CLIENT_VPN_TRUST_PROVIDER_REQUEST", + "CLIENT_VPN_TRUST_PROVIDER_REQUEST_LIST", + "DEVICE_POSTURE_OPTIONS", + "ENDPOINT_IP_ADDRESS_TYPE", + "SELF_SERVICE_PORTAL", + "TRAFFIC_IP_ADDRESS_TYPE", + "CLIENT_VPN_AVAILABILITY_ZONE_ID_SET", + "CLIENT_VPN_AVAILABILITY_ZONE_SET", + "TRANSIT_GATEWAY_CONFIGURATION_INPUT_STRUCTURE", + "TRANSPORT_PROTOCOL", + "CREATE_CLIENT_VPN_ENDPOINT_INPUT", + "CREATE_CLIENT_VPN_ENDPOINT_OUTPUT", + "CREATE_CLIENT_VPN_ENDPOINT", + "CLIENT_VPN_ENDPOINT_STATUS_CODE", + "CLIENT_VPN_ENDPOINT_STATUS", + "CREATE_CLIENT_VPN_ROUTE_INPUT", + "CREATE_CLIENT_VPN_ROUTE_OUTPUT", + "CREATE_CLIENT_VPN_ROUTE", + "CLIENT_VPN_ROUTE_STATUS_CODE", + "CLIENT_VPN_ROUTE_STATUS", + "IPV4_POOL_COIP_ID", + "CREATE_COIP_CIDR_INPUT", + "CREATE_COIP_CIDR_OUTPUT", + "CREATE_COIP_CIDR", + "COIP_CIDR", + "CREATE_COIP_POOL_INPUT", + "CREATE_COIP_POOL_OUTPUT", + "CREATE_COIP_POOL", + "COIP_POOL", + "CREATE_CUSTOMER_GATEWAY_INPUT", + "CREATE_CUSTOMER_GATEWAY_OUTPUT", + "CREATE_CUSTOMER_GATEWAY", + "CREATE_DEFAULT_SUBNET_INPUT", + "CREATE_DEFAULT_SUBNET_OUTPUT", + "CREATE_DEFAULT_SUBNET", + "BLOCK_PUBLIC_ACCESS_MODE", + "BLOCK_PUBLIC_ACCESS_STATES", + "SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION_SET", + "PRIVATE_DNS_NAME_OPTIONS_ON_LAUNCH", + "SUBNET_STATE", + "SUBNET", + "CREATE_DEFAULT_VPC_INPUT", + "CREATE_DEFAULT_VPC_OUTPUT", + "CREATE_DEFAULT_VPC", + "VPC_CIDR_BLOCK_ASSOCIATION_SET", + "VPC_ENCRYPTION_CONTROL_MODE", + "VPC_ENCRYPTION_CONTROL_EXCLUSION", + "VPC_ENCRYPTION_CONTROL_EXCLUSIONS", + "VPC_ENCRYPTION_CONTROL_STATE", + "VPC_ENCRYPTION_CONTROL_ID", + "VPC_ENCRYPTION_CONTROL", + "VPC_IPV6_CIDR_BLOCK_ASSOCIATION_SET", + "VPC_STATE", + "VPC", + "SENSITIVE_MAC_CREDENTIALS", + "CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_INPUT", + "CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_OUTPUT", + "CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK", + "MAC_MODIFICATION_TASK_ID", + "MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS", + "MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION", + "MAC_MODIFICATION_TASK_STATE", + "VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT", + "VPC_ID_STRING_LIST", + ), + ( + "KMS_KEY_ID", + "VOLUME_TYPE", + "OPERATOR_RESPONSE", + "MAC_MODIFICATION_TASK_TYPE", + "MAC_MODIFICATION_TASK", + "NEW_DHCP_CONFIGURATION", + "NEW_DHCP_CONFIGURATION_LIST", + "CREATE_DHCP_OPTIONS_INPUT", + "CREATE_DHCP_OPTIONS_OUTPUT", + "CREATE_DHCP_OPTIONS", + "DHCP_CONFIGURATION_VALUE_LIST", + "DHCP_CONFIGURATION", + "DHCP_CONFIGURATION_LIST", + "DHCP_OPTIONS", + "CREATE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT", + "CREATE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT", + "CREATE_EGRESS_ONLY_INTERNET_GATEWAY", + "INTERNET_GATEWAY_ATTACHMENT", + "INTERNET_GATEWAY_ATTACHMENT_LIST", + "EGRESS_ONLY_INTERNET_GATEWAY", + "FLEET_EXCESS_CAPACITY_TERMINATION_POLICY", + "LAUNCH_TEMPLATE_ID", + "LAUNCH_TEMPLATE_NAME", + "SENSITIVE_USER_DATA", + "FLEET_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST", + "SNAPSHOT_ID", + "FLEET_EBS_BLOCK_DEVICE_REQUEST", + "FLEET_BLOCK_DEVICE_MAPPING_REQUEST", + "FLEET_BLOCK_DEVICE_MAPPING_REQUEST_LIST", + "FLEET_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST", + "FLEET_INSTANCE_METADATA_ENDPOINT_STATE", + "FLEET_HTTP_TOKENS_STATE", + "FLEET_INSTANCE_METADATA_OPTIONS_REQUEST", + "PLACEMENT_GROUP_ID", + "PLACEMENT_GROUP_NAME", + "PLACEMENT", + "FLEET_LAUNCH_TEMPLATE_OVERRIDES_REQUEST", + "FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST_REQUEST", + "FLEET_LAUNCH_TEMPLATE_CONFIG_REQUEST", + "FLEET_LAUNCH_TEMPLATE_CONFIG_LIST_REQUEST", + "FLEET_ON_DEMAND_ALLOCATION_STRATEGY", + "FLEET_CAPACITY_RESERVATION_USAGE_STRATEGY", + "CAPACITY_RESERVATION_OPTIONS_REQUEST", + "ON_DEMAND_OPTIONS_REQUEST", + "RESERVED_CAPACITY_ALLOCATION_STRATEGY", + "RESOURCE_GROUP_NAME", + "CAPACITY_RESERVATION_RESOURCE_GROUP_ARN_SET", + "FLEET_CAPACITY_RESERVATION_TARGET_REQUEST", + "FLEET_RESERVATION_TYPE", + "RESERVATION_TYPE_LIST_REQUEST", + "RESERVED_CAPACITY_FALLBACK_MARKET_TYPE", + "RESERVED_CAPACITY_FALLBACK_MARKET_TYPE_LIST", + "RESERVED_CAPACITY_FALLBACK_OPTIONS_REQUEST", + "RESERVED_CAPACITY_OPTIONS_REQUEST", + "SPOT_ALLOCATION_STRATEGY", + "SPOT_INSTANCE_INTERRUPTION_BEHAVIOR", + "FLEET_REPLACEMENT_STRATEGY", + "FLEET_SPOT_CAPACITY_REBALANCE_REQUEST", + "FLEET_SPOT_MAINTENANCE_STRATEGIES_REQUEST", + "SPOT_OPTIONS_REQUEST", + "DEFAULT_TARGET_CAPACITY_TYPE", + "TARGET_CAPACITY_SPECIFICATION_REQUEST", + "FLEET_TYPE", + "CREATE_FLEET_INPUT", + "CREATE_FLEET_OUTPUT", + "CREATE_FLEET", + "FLEET_LAUNCH_TEMPLATE_SPECIFICATION", + "EBS_BLOCK_DEVICE_RESPONSE", + "BLOCK_DEVICE_MAPPING_RESPONSE", + "BLOCK_DEVICE_MAPPING_RESPONSE_LIST", + "BASELINE_EBS_BANDWIDTH_MBPS", + "PERFORMANCE_FACTOR_REFERENCE", + "PERFORMANCE_FACTOR_REFERENCE_SET", + "CPU_PERFORMANCE_FACTOR", + "BASELINE_PERFORMANCE_FACTORS", + "MEMORY_GI_B_PER_V_CPU", + "MEMORY_MI_B", + "NETWORK_BANDWIDTH_GBPS", + "NETWORK_INTERFACE_COUNT", + "TOTAL_LOCAL_STORAGE_GB", + "V_CPU_COUNT_RANGE", + "INSTANCE_REQUIREMENTS", + "PLACEMENT_RESPONSE", + "FLEET_LAUNCH_TEMPLATE_OVERRIDES", + "LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE", + "INSTANCE_LIFECYCLE", + "CREATE_FLEET_ERROR", + "CREATE_FLEET_ERRORS_SET", + "FLEET_ID", + "INSTANCE_IDS_SET", + "PLATFORM_VALUES", + "CREATE_FLEET_INSTANCE", + "CREATE_FLEET_INSTANCES_SET", + "DESTINATION_FILE_FORMAT", + "DESTINATION_OPTIONS_REQUEST", + "LOG_DESTINATION_TYPE", + "FLOW_LOG_RESOURCE_ID", + "FLOW_LOG_RESOURCE_IDS", + "FLOW_LOGS_RESOURCE_TYPE", + "TAGGABLE_RESOURCE_TYPE", + "INTERNET_GATEWAY", + "OPERATOR_REQUEST", + "LAUNCH_TEMPLATE", + "REPLACE_ROOT_VOLUME_TASK", + "VERSION_STRING_LIST", + "ELASTIC_GPU_ID", + "FAST_SNAPSHOT_RESTORE_STATE_CODE", + "BLOCK_DEVICE_MAPPING_LIST", + "ARCHITECTURE_VALUES", + "SEVERITY_LABEL", + "SNAPSHOT_ID_STRING_LIST", + "SNAPSHOT_ATTRIBUTE_NAME", + ), + ( + "TAG_KEY", + "TAG_KEY_LIST", + "TAG_FIELD_SPECIFICATION_REQUEST", + "TAG_FIELD_SPECIFICATION_LIST_REQUEST", + "TRAFFIC_TYPE", + "CREATE_FLOW_LOGS_INPUT", + "CREATE_FLOW_LOGS_OUTPUT", + "CREATE_FLOW_LOGS", + "STORAGE_LOCATION", + "CREATE_FPGA_IMAGE_INPUT", + "CREATE_FPGA_IMAGE_OUTPUT", + "CREATE_FPGA_IMAGE", + "EBS_BLOCK_DEVICE", + "BLOCK_DEVICE_MAPPING", + "BLOCK_DEVICE_MAPPING_REQUEST_LIST", + "BOOT_MODE_OVERRIDE_VALUES", + "CREATE_IMAGE_INPUT", + "CREATE_IMAGE_OUTPUT", + "CREATE_IMAGE", + "IMAGE_USAGE_REPORT_USER_ID_STRING_LIST", + "CREATE_IMAGE_USAGE_REPORT_CLIENT_TOKEN", + "IMAGE_USAGE_RESOURCE_TYPE_NAME", + "IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUE", + "IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUES_LIST", + "IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST", + "IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST_LIST", + "IMAGE_USAGE_RESOURCE_TYPE_REQUEST", + "IMAGE_USAGE_RESOURCE_TYPE_REQUEST_LIST", + "CREATE_IMAGE_USAGE_REPORT_INPUT", + "CREATE_IMAGE_USAGE_REPORT_OUTPUT", + "CREATE_IMAGE_USAGE_REPORT", + "IMAGE_USAGE_REPORT_ID", + "IP_ADDRESS_TYPE", + "SECURITY_GROUP_ID_STRING_LIST_REQUEST", + "CREATE_INSTANCE_CONNECT_ENDPOINT_INPUT", + "CREATE_INSTANCE_CONNECT_ENDPOINT_OUTPUT", + "CREATE_INSTANCE_CONNECT_ENDPOINT", + "INSTANCE_CONNECT_ENDPOINT_ID", + "NETWORK_INTERFACE_ID_SET", + "INSTANCE_CONNECT_ENDPOINT_DNS_NAMES", + "INSTANCE_CONNECT_ENDPOINT_PUBLIC_DNS_NAMES", + "SECURITY_GROUP_ID_SET", + "EC2_INSTANCE_CONNECT_ENDPOINT_STATE", + "EC2_INSTANCE_CONNECT_ENDPOINT", + "INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST", + "INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST_SET", + "CREATE_INSTANCE_EVENT_WINDOW_INPUT", + "CREATE_INSTANCE_EVENT_WINDOW_OUTPUT", + "CREATE_INSTANCE_EVENT_WINDOW", + "CONTAINER_FORMAT", + "EXPORT_TO_S3_TASK_SPECIFICATION", + "EXPORT_ENVIRONMENT", + "CREATE_INSTANCE_EXPORT_TASK_INPUT", + "CREATE_INSTANCE_EXPORT_TASK_OUTPUT", + "CREATE_INSTANCE_EXPORT_TASK", + "EXPORT_TO_S3_TASK", + "INSTANCE_EXPORT_DETAILS", + "EXPORT_TASK_STATE", + "EXPORT_TASK", + "CREATE_INTERNET_GATEWAY_INPUT", + "CREATE_INTERNET_GATEWAY_OUTPUT", + "CREATE_INTERNET_GATEWAY", + "CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT", + "CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT", + "CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION", + "IPAM_METERED_ACCOUNT", + "IPAM_TIER", + "CREATE_IPAM_INPUT", + "CREATE_IPAM_OUTPUT", + "CREATE_IPAM", + "IPAM_OPERATING_REGION", + "IPAM_OPERATING_REGION_SET", + "IPAM_STATE", + "IPAM", + "CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT", + "CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT", + "CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN", + "IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_ID", + "IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_STATE", + "TOKEN_STATE", + "IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN", + "RIR", + "CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT", + "CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT", + "CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION", + "IPAM_INTERNET_REGISTRY_ASSOCIATION_STATE", + "IPAM_INTERNET_REGISTRY_ASSOCIATION", + ), + ( + "CREATE_IPAM_POLICY_INPUT", + "CREATE_IPAM_POLICY_OUTPUT", + "CREATE_IPAM_POLICY", + "IPAM_POLICY_STATE", + "IPAM_POLICY", + "IPAM_NETMASK_LENGTH", + "REQUEST_IPAM_RESOURCE_TAG", + "REQUEST_IPAM_RESOURCE_TAG_LIST", + "IPAM_POOL_AWS_SERVICE", + "IPAM_POOL_PUBLIC_IP_SOURCE", + "IPAM_POOL_SOURCE_RESOURCE_TYPE", + "IPAM_POOL_SOURCE_RESOURCE_REQUEST", + "CREATE_IPAM_POOL_INPUT", + "CREATE_IPAM_POOL_OUTPUT", + "CREATE_IPAM_POOL", + "IPAM_RESOURCE_TAG", + "IPAM_RESOURCE_TAG_LIST", + "IPAM_SCOPE_TYPE", + "IPAM_POOL_SOURCE_RESOURCE", + "IPAM_POOL_STATE", + "IPAM_POOL", + "IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_OPERATION", + "IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST", + "IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST_SET", + "IPAM_RESOURCE_TYPE", + "IPAM_PREFIX_LIST_RESOLVER_RULE_TYPE", + "IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST", + "IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST_SET", + "CREATE_IPAM_PREFIX_LIST_RESOLVER_INPUT", + "CREATE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT", + "CREATE_IPAM_PREFIX_LIST_RESOLVER", + "IPAM_PREFIX_LIST_RESOLVER_ID", + "IPAM_PREFIX_LIST_RESOLVER_VERSION_CREATION_STATUS", + "IPAM_PREFIX_LIST_RESOLVER_STATE", + "IPAM_PREFIX_LIST_RESOLVER", + "CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT", + "CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT", + "CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET", + "IPAM_PREFIX_LIST_RESOLVER_TARGET_ID", + "IPAM_PREFIX_LIST_RESOLVER_TARGET_STATE", + "IPAM_PREFIX_LIST_RESOLVER_TARGET", + "CREATE_IPAM_RESOURCE_DISCOVERY_INPUT", + "CREATE_IPAM_RESOURCE_DISCOVERY_OUTPUT", + "CREATE_IPAM_RESOURCE_DISCOVERY", + "IPAM_ORGANIZATIONAL_UNIT_EXCLUSION", + "IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET", + "IPAM_RESOURCE_DISCOVERY_STATE", + "IPAM_RESOURCE_DISCOVERY", + "ASN_LIST", + "IPAM_ROUTING_POLICY_REGISTRATION_MAX_LENGTH", + "CREATE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT", + "CREATE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT", + "CREATE_IPAM_ROUTING_POLICY_REGISTRATION", + "IPAM_SCOPE_EXTERNAL_AUTHORITY_TYPE", + "EXTERNAL_AUTHORITY_CONFIGURATION", + "CREATE_IPAM_SCOPE_INPUT", + "CREATE_IPAM_SCOPE_OUTPUT", + "CREATE_IPAM_SCOPE", + "IPAM_SCOPE_EXTERNAL_AUTHORITY_CONFIGURATION", + "IPAM_SCOPE_STATE", + "IPAM_SCOPE", + "KEY_FORMAT", + "KEY_TYPE", + "CREATE_KEY_PAIR_INPUT", + "CREATE_KEY_PAIR_OUTPUT", + "CREATE_KEY_PAIR", + "LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE_REQUEST", + "LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST", + "LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST_LIST", + "CAPACITY_RESERVATION_PREFERENCE", + "CAPACITY_RESERVATION_TARGET", + "LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_REQUEST", + "AMD_SEV_SNP_SPECIFICATION", + "NESTED_VIRTUALIZATION_SPECIFICATION", + "LAUNCH_TEMPLATE_CPU_OPTIONS_REQUEST", + "CREDIT_SPECIFICATION_REQUEST", + "CAPACITY_RESERVATION_SPECIFICATION", + ), + ( + "ELASTIC_GPU_SPECIFICATION", + "ELASTIC_GPU_SPECIFICATION_LIST", + "LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_COUNT", + "LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR", + "LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_LIST", + "LAUNCH_TEMPLATE_ENCLAVE_OPTIONS_REQUEST", + "LAUNCH_TEMPLATE_HIBERNATION_OPTIONS_REQUEST", + "LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST", + "SHUTDOWN_BEHAVIOR", + "MARKET_TYPE", + "INSTANCE_INTERRUPTION_BEHAVIOR", + "SPOT_INSTANCE_TYPE", + "LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS_REQUEST", + "LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS_REQUEST", + "KERNEL_ID", + "KEY_PAIR_NAME", + "LAUNCH_TEMPLATE_LICENSE_CONFIGURATION_REQUEST", + "LAUNCH_TEMPLATE_LICENSE_SPECIFICATION_LIST_REQUEST", + "LAUNCH_TEMPLATE_AUTO_RECOVERY_STATE", + "LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS_REQUEST", + "LAUNCH_TEMPLATE_INSTANCE_METADATA_ENDPOINT_STATE", + "LAUNCH_TEMPLATE_INSTANCE_METADATA_PROTOCOL_IPV6", + "LAUNCH_TEMPLATE_HTTP_TOKENS_STATE", + "LAUNCH_TEMPLATE_INSTANCE_METADATA_TAGS_STATE", + "LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_REQUEST", + "LAUNCH_TEMPLATES_MONITORING_REQUEST", + "CONNECTION_TRACKING_SPECIFICATION_REQUEST", + "ENA_SRD_UDP_SPECIFICATION_REQUEST", + "ENA_SRD_SPECIFICATION_REQUEST", + "SECURITY_GROUP_ID_STRING_LIST", + "IPV4_PREFIX_SPECIFICATION_REQUEST", + "IPV4_PREFIX_LIST", + "INSTANCE_IPV6_ADDRESS_REQUEST", + "INSTANCE_IPV6_ADDRESS_LIST_REQUEST", + "IPV6_PREFIX_SPECIFICATION_REQUEST", + "IPV6_PREFIX_LIST", + "PRIVATE_IP_ADDRESS_SPECIFICATION", + "PRIVATE_IP_ADDRESS_SPECIFICATION_LIST", + "LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST", + "LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST_LIST", + "INSTANCE_BANDWIDTH_WEIGHTING", + "LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS_REQUEST", + "LAUNCH_TEMPLATE_PLACEMENT_REQUEST", + "LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS_REQUEST", + "RAMDISK_ID", + "SECONDARY_INTERFACE_TYPE", + "SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_REQUEST", + "SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST_REQUEST", + "SECONDARY_SUBNET_ID", + "LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST", + "LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST_LIST", + "SECURITY_GROUP_STRING_LIST", + "LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST", + "LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST_LIST", + "REQUEST_LAUNCH_TEMPLATE_DATA", + "VERSION_DESCRIPTION", + "CREATE_LAUNCH_TEMPLATE_INPUT", + "CREATE_LAUNCH_TEMPLATE_OUTPUT", + "CREATE_LAUNCH_TEMPLATE", + "VALIDATION_ERROR", + "ERROR_SET", + "VALIDATION_WARNING", + "CREATE_LAUNCH_TEMPLATE_VERSION_INPUT", + "CREATE_LAUNCH_TEMPLATE_VERSION_OUTPUT", + "CREATE_LAUNCH_TEMPLATE_VERSION", + "LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE", + "LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING", + "LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_LIST", + "CAPACITY_RESERVATION_TARGET_RESPONSE", + "LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_RESPONSE", + "LAUNCH_TEMPLATE_CPU_OPTIONS", + "CREDIT_SPECIFICATION", + "ELASTIC_GPU_SPECIFICATION_RESPONSE", + "ELASTIC_GPU_SPECIFICATION_RESPONSE_LIST", + "LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE", + "LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE_LIST", + "LAUNCH_TEMPLATE_ENCLAVE_OPTIONS", + "LAUNCH_TEMPLATE_HIBERNATION_OPTIONS", + "LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION", + "LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS", + "LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS", + "LAUNCH_TEMPLATE_LICENSE_CONFIGURATION", + "LAUNCH_TEMPLATE_LICENSE_LIST", + "LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS", + "LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_STATE", + "LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS", + "LAUNCH_TEMPLATES_MONITORING", + "CONNECTION_TRACKING_SPECIFICATION", + "LAUNCH_TEMPLATE_ENA_SRD_UDP_SPECIFICATION", + "LAUNCH_TEMPLATE_ENA_SRD_SPECIFICATION", + "IPV4_PREFIX_SPECIFICATION_RESPONSE", + "IPV4_PREFIX_LIST_RESPONSE", + "INSTANCE_IPV6_ADDRESS", + "INSTANCE_IPV6_ADDRESS_LIST", + "IPV6_PREFIX_SPECIFICATION_RESPONSE", + "IPV6_PREFIX_LIST_RESPONSE", + "LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION", + "LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST", + "LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS", + ), + ( + "LAUNCH_TEMPLATE_PLACEMENT", + "LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS", + "SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION", + "SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST", + "LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION", + "LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST", + "LAUNCH_TEMPLATE_TAG_SPECIFICATION", + "LAUNCH_TEMPLATE_TAG_SPECIFICATION_LIST", + "RESPONSE_LAUNCH_TEMPLATE_DATA", + "LAUNCH_TEMPLATE_VERSION", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID", + "CREATE_LOCAL_GATEWAY_ROUTE_INPUT", + "CREATE_LOCAL_GATEWAY_ROUTE_OUTPUT", + "CREATE_LOCAL_GATEWAY_ROUTE", + "LOCAL_GATEWAY_ROUTE_STATE", + "LOCAL_GATEWAY_ROUTE_TYPE", + "LOCAL_GATEWAY_ROUTE", + "LOCAL_GATEWAY_ID", + "LOCAL_GATEWAY_ROUTE_TABLE_MODE", + "CREATE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT", + "CREATE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT", + "CREATE_LOCAL_GATEWAY_ROUTE_TABLE", + "STATE_REASON", + "LOCAL_GATEWAY_ROUTE_TABLE", + "CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT", + "CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT", + "CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION", + "LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID", + "LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION", + "CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT", + "CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT", + "CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION", + "LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID", + "LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION", + "OUTPOST_LAG_ID", + "CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT", + "CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT", + "CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE_CONFIGURATION_STATE", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE", + "CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT", + "CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT", + "CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_CONFIGURATION_STATE", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID_SET", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP", + "MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION_REQUEST", + "CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_INPUT", + "CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_OUTPUT", + "CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK", + "CREATE_MANAGED_PREFIX_LIST_INPUT", + "CREATE_MANAGED_PREFIX_LIST_OUTPUT", + "CREATE_MANAGED_PREFIX_LIST", + "PREFIX_LIST_STATE", + "MANAGED_PREFIX_LIST", + "AVAILABILITY_MODE", + "AVAILABILITY_ZONE_ADDRESS", + "AVAILABILITY_ZONE_ADDRESSES", + "CONNECTIVITY_TYPE", + "CREATE_NAT_GATEWAY_INPUT", + "CREATE_NAT_GATEWAY_OUTPUT", + "CREATE_NAT_GATEWAY", + "NAT_GATEWAY_APPLIANCE_STATE", + "NAT_GATEWAY_APPLIANCE_MODIFY_STATE", + "NAT_GATEWAY_APPLIANCE_TYPE", + "NAT_GATEWAY_ATTACHED_APPLIANCE", + "NAT_GATEWAY_ATTACHED_APPLIANCE_LIST", + "AUTO_PROVISION_ZONES_STATE", + ), + ( + "AUTO_SCALING_IPS_STATE", + "PROVISIONED_BANDWIDTH", + "NAT_GATEWAY_STATE", + "NAT_GATEWAY", + "CREATE_NETWORK_ACL_INPUT", + "CREATE_NETWORK_ACL_OUTPUT", + "CREATE_NETWORK_ACL", + "NETWORK_ACL_ASSOCIATION", + "NETWORK_ACL_ASSOCIATION_LIST", + "ICMP_TYPE_CODE", + "RULE_ACTION", + "NETWORK_ACL_ENTRY", + "NETWORK_ACL_ENTRY_LIST", + "NETWORK_ACL", + "NETWORK_ACL_ID", + "CREATE_NETWORK_ACL_ENTRY_INPUT", + "CREATE_NETWORK_ACL_ENTRY_OUTPUT", + "CREATE_NETWORK_ACL_ENTRY", + "CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT", + "CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT", + "CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE", + "NETWORK_INSIGHTS_RESOURCE_ID", + "REQUEST_FILTER_PORT_RANGE", + "PATH_REQUEST_FILTER", + "CREATE_NETWORK_INSIGHTS_PATH_INPUT", + "CREATE_NETWORK_INSIGHTS_PATH_OUTPUT", + "CREATE_NETWORK_INSIGHTS_PATH", + "FILTER_PORT_RANGE", + "PATH_FILTER", + "NETWORK_INSIGHTS_PATH", + "NETWORK_INTERFACE_CREATION_TYPE", + "CREATE_NETWORK_INTERFACE_INPUT", + "CREATE_NETWORK_INTERFACE_OUTPUT", + "CREATE_NETWORK_INTERFACE", + "ASSOCIATED_SUBNET_LIST", + "NETWORK_INTERFACE_ASSOCIATION", + "ATTACHMENT_ENA_SRD_UDP_SPECIFICATION", + "ATTACHMENT_ENA_SRD_SPECIFICATION", + "NETWORK_INTERFACE_ATTACHMENT", + "CONNECTION_TRACKING_CONFIGURATION", + "GROUP_IDENTIFIER", + "GROUP_IDENTIFIER_LIST", + "NETWORK_INTERFACE_TYPE", + "NETWORK_INTERFACE_IPV6_ADDRESS", + "NETWORK_INTERFACE_IPV6_ADDRESSES_LIST", + "IPV6_PREFIX_SPECIFICATION", + "IPV6_PREFIXES_LIST", + "NETWORK_INTERFACE_PRIVATE_IP_ADDRESS", + "NETWORK_INTERFACE_PRIVATE_IP_ADDRESS_LIST", + "PUBLIC_IP_DNS_NAME_OPTIONS", + "NETWORK_INTERFACE_STATUS", + "NETWORK_INTERFACE", + "INTERFACE_PERMISSION_TYPE", + "CREATE_NETWORK_INTERFACE_PERMISSION_INPUT", + "CREATE_NETWORK_INTERFACE_PERMISSION_OUTPUT", + "CREATE_NETWORK_INTERFACE_PERMISSION", + "NETWORK_INTERFACE_PERMISSION_STATE_CODE", + "NETWORK_INTERFACE_PERMISSION_STATE", + "NETWORK_INTERFACE_PERMISSION", + "SPREAD_LEVEL", + "PLACEMENT_STRATEGY", + "CREATE_PLACEMENT_GROUP_INPUT", + "CREATE_PLACEMENT_GROUP_OUTPUT", + "CREATE_PLACEMENT_GROUP", + "PLACEMENT_GROUP_STATE", + "PLACEMENT_GROUP", + "CREATE_PUBLIC_IPV4_POOL_INPUT", + "CREATE_PUBLIC_IPV4_POOL_OUTPUT", + "CREATE_PUBLIC_IPV4_POOL", + "CREATE_REPLACE_ROOT_VOLUME_TASK_INPUT", + "CREATE_REPLACE_ROOT_VOLUME_TASK_OUTPUT", + "CREATE_REPLACE_ROOT_VOLUME_TASK", + "REPLACE_ROOT_VOLUME_TASK_ID", + "REPLACE_ROOT_VOLUME_TASK_STATE", + ), + ( + "PRICE_SCHEDULE_SPECIFICATION", + "PRICE_SCHEDULE_SPECIFICATION_LIST", + "CREATE_RESERVED_INSTANCES_LISTING_INPUT", + "CREATE_RESERVED_INSTANCES_LISTING_OUTPUT", + "CREATE_RESERVED_INSTANCES_LISTING", + "CREATE_RESTORE_IMAGE_TASK_INPUT", + "CREATE_RESTORE_IMAGE_TASK_OUTPUT", + "CREATE_RESTORE_IMAGE_TASK", + "CORE_NETWORK_ARN", + "ODB_NETWORK_ARN", + "VPC_PEERING_CONNECTION_ID", + "CREATE_ROUTE_INPUT", + "CREATE_ROUTE_OUTPUT", + "CREATE_ROUTE", + "ROUTE_SERVER_PERSIST_ROUTES_ACTION", + "CREATE_ROUTE_SERVER_INPUT", + "CREATE_ROUTE_SERVER_OUTPUT", + "CREATE_ROUTE_SERVER", + "ROUTE_SERVER_PERSIST_ROUTES_STATE", + "ROUTE_SERVER_STATE", + "ROUTE_SERVER", + "CREATE_ROUTE_SERVER_ENDPOINT_INPUT", + "CREATE_ROUTE_SERVER_ENDPOINT_OUTPUT", + "CREATE_ROUTE_SERVER_ENDPOINT", + "ROUTE_SERVER_ENDPOINT_ID", + "ROUTE_SERVER_ENDPOINT_STATE", + "ROUTE_SERVER_ENDPOINT", + "ROUTE_SERVER_PEER_LIVENESS_MODE", + "ROUTE_SERVER_BGP_OPTIONS_REQUEST", + "CREATE_ROUTE_SERVER_PEER_INPUT", + "CREATE_ROUTE_SERVER_PEER_OUTPUT", + "CREATE_ROUTE_SERVER_PEER", + "ROUTE_SERVER_BFD_STATE", + "ROUTE_SERVER_BFD_STATUS", + "ROUTE_SERVER_BGP_OPTIONS", + "ROUTE_SERVER_BGP_STATE", + "ROUTE_SERVER_BGP_STATUS", + "ROUTE_SERVER_PEER_ID", + "ROUTE_SERVER_PEER_STATE", + "ROUTE_SERVER_PEER", + "CREATE_ROUTE_TABLE_INPUT", + "CREATE_ROUTE_TABLE_OUTPUT", + "CREATE_ROUTE_TABLE", + "ROUTE_TABLE_ASSOCIATION", + "ROUTE_TABLE_ASSOCIATION_LIST", + "PROPAGATING_VGW", + "PROPAGATING_VGW_LIST", + "ROUTE_ORIGIN", + "ROUTE_STATE", + "ROUTE", + "ROUTE_LIST", + "ROUTE_TABLE", + "SECONDARY_NETWORK_TYPE", + "CREATE_SECONDARY_NETWORK_INPUT", + "CREATE_SECONDARY_NETWORK_OUTPUT", + "CREATE_SECONDARY_NETWORK", + "SECONDARY_NETWORK_CIDR_ASSOCIATION_ID", + "SECONDARY_NETWORK_CIDR_BLOCK_ASSOCIATION_STATE", + "SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION", + "SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION_LIST", + "SECONDARY_NETWORK_ID", + "SECONDARY_NETWORK_STATE", + "SECONDARY_NETWORK", + "CREATE_SECONDARY_SUBNET_INPUT", + "CREATE_SECONDARY_SUBNET_OUTPUT", + "CREATE_SECONDARY_SUBNET", + "SECONDARY_SUBNET_CIDR_ASSOCIATION_ID", + "SECONDARY_SUBNET_CIDR_BLOCK_ASSOCIATION_STATE", + "SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION", + "SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION_LIST", + "SECONDARY_SUBNET_STATE", + "SECONDARY_SUBNET", + "CREATE_SECURITY_GROUP_INPUT", + "CREATE_SECURITY_GROUP_OUTPUT", + "CREATE_SECURITY_GROUP", + "CREATE_SNAPSHOT_INPUT", + "CREATE_SNAPSHOT_OUTPUT", + "CREATE_SNAPSHOT", + "SNAPSHOT_COMPLETION_DURATION_MINUTES_RESPONSE", + "STORAGE_TIER", + "TRANSFER_TYPE", + "COPY_TAGS_FROM_SOURCE", + "INSTANCE_ID_WITH_VOLUME_RESOLVER", + "INSTANCE_SPECIFICATION", + "ROUTE_SERVER_MAX_RESULTS", + ), + ( + "CREATE_SNAPSHOTS_INPUT", + "CREATE_SNAPSHOTS_OUTPUT", + "CREATE_SNAPSHOTS", + "SNAPSHOT_INFO", + "SNAPSHOT_SET", + "CREATE_SPOT_DATAFEED_SUBSCRIPTION_INPUT", + "CREATE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT", + "CREATE_SPOT_DATAFEED_SUBSCRIPTION", + "DATAFEED_SUBSCRIPTION_STATE", + "SPOT_DATAFEED_SUBSCRIPTION", + "S3_OBJECT_TAG", + "S3_OBJECT_TAG_LIST", + "CREATE_STORE_IMAGE_TASK_INPUT", + "CREATE_STORE_IMAGE_TASK_OUTPUT", + "CREATE_STORE_IMAGE_TASK", + "CREATE_SUBNET_INPUT", + "CREATE_SUBNET_OUTPUT", + "CREATE_SUBNET", + "SUBNET_CIDR_RESERVATION_TYPE", + "CREATE_SUBNET_CIDR_RESERVATION_INPUT", + "CREATE_SUBNET_CIDR_RESERVATION_OUTPUT", + "CREATE_SUBNET_CIDR_RESERVATION", + "SUBNET_CIDR_RESERVATION_ID", + "SUBNET_CIDR_RESERVATION", + "TAGGABLE_RESOURCE_ID", + "RESOURCE_ID_LIST", + "CREATE_TAGS_INPUT", + "CREATE_TAGS_OUTPUT", + "CREATE_TAGS", + "CREATE_TRAFFIC_MIRROR_FILTER_INPUT", + "CREATE_TRAFFIC_MIRROR_FILTER_OUTPUT", + "CREATE_TRAFFIC_MIRROR_FILTER", + "TRAFFIC_MIRROR_PORT_RANGE", + "TRAFFIC_MIRROR_RULE_ACTION", + "TRAFFIC_DIRECTION", + "TRAFFIC_MIRROR_FILTER_RULE", + "TRAFFIC_MIRROR_FILTER_RULE_LIST", + "TRAFFIC_MIRROR_NETWORK_SERVICE", + "TRAFFIC_MIRROR_NETWORK_SERVICE_LIST", + "TRAFFIC_MIRROR_FILTER", + "TRAFFIC_MIRROR_PORT_RANGE_REQUEST", + "TRAFFIC_MIRROR_FILTER_ID", + "CREATE_TRAFFIC_MIRROR_FILTER_RULE_INPUT", + "CREATE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT", + "CREATE_TRAFFIC_MIRROR_FILTER_RULE", + "TRAFFIC_MIRROR_TARGET_ID", + "CREATE_TRAFFIC_MIRROR_SESSION_INPUT", + "CREATE_TRAFFIC_MIRROR_SESSION_OUTPUT", + "CREATE_TRAFFIC_MIRROR_SESSION", + "TRAFFIC_MIRROR_SESSION", + "CREATE_TRAFFIC_MIRROR_TARGET_INPUT", + "CREATE_TRAFFIC_MIRROR_TARGET_OUTPUT", + "CREATE_TRAFFIC_MIRROR_TARGET", + "TRAFFIC_MIRROR_TARGET_TYPE", + "TRAFFIC_MIRROR_TARGET", + "AUTO_ACCEPT_SHARED_ATTACHMENTS_VALUE", + "DEFAULT_ROUTE_TABLE_ASSOCIATION_VALUE", + "DEFAULT_ROUTE_TABLE_PROPAGATION_VALUE", + "MULTICAST_SUPPORT_VALUE", + "TRANSIT_GATEWAY_CIDR_BLOCK_STRING_LIST", + "VPN_ECMP_SUPPORT_VALUE", + "TRANSIT_GATEWAY_REQUEST_OPTIONS", + "CREATE_TRANSIT_GATEWAY_INPUT", + "CREATE_TRANSIT_GATEWAY_OUTPUT", + "CREATE_TRANSIT_GATEWAY", + "ENCRYPTION_STATE_VALUE", + "ENCRYPTION_SUPPORT", + "TRANSIT_GATEWAY_OPTIONS", + "TRANSIT_GATEWAY_STATE", + "TRANSIT_GATEWAY", + "PROTOCOL_VALUE", + "CREATE_TRANSIT_GATEWAY_CONNECT_REQUEST_OPTIONS", + "CREATE_TRANSIT_GATEWAY_CONNECT_INPUT", + "CREATE_TRANSIT_GATEWAY_CONNECT_OUTPUT", + "CREATE_TRANSIT_GATEWAY_CONNECT", + "TRANSIT_GATEWAY_CONNECT_OPTIONS", + "TRANSIT_GATEWAY_CONNECT", + "TRANSIT_GATEWAY_CONNECT_REQUEST_BGP_OPTIONS", + "INSIDE_CIDR_BLOCKS_STRING_LIST", + "CREATE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT", + "CREATE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT", + "CREATE_TRANSIT_GATEWAY_CONNECT_PEER", + "BGP_STATUS", + "TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION", + "TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION_LIST", + "TRANSIT_GATEWAY_CONNECT_PEER_CONFIGURATION", + "TRANSIT_GATEWAY_CONNECT_PEER_STATE", + "TRANSIT_GATEWAY_CONNECT_PEER_ID", + "TRANSIT_GATEWAY_CONNECT_PEER", + "CREATE_TRANSIT_GATEWAY_METERING_POLICY_INPUT", + "CREATE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT", + "CREATE_TRANSIT_GATEWAY_METERING_POLICY", + "TRAFFIC_MIRROR_FILTER_RULE_ID_WITH_RESOLVER", + "TRAFFIC_MIRROR_SESSION_ID", + ), + ( + "TRANSIT_GATEWAY_METERING_POLICY_STATE", + "TRANSIT_GATEWAY_METERING_POLICY_ID", + "TRANSIT_GATEWAY_METERING_POLICY", + "TRANSIT_GATEWAY_METERING_PAYER_TYPE", + "CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT", + "CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT", + "CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY", + "TRANSIT_GATEWAY_METERING_POLICY_RULE", + "TRANSIT_GATEWAY_METERING_POLICY_ENTRY_STATE", + "TRANSIT_GATEWAY_METERING_POLICY_ENTRY", + "AUTO_ACCEPT_SHARED_ASSOCIATIONS_VALUE", + "IGMPV2_SUPPORT_VALUE", + "STATIC_SOURCES_SUPPORT_VALUE", + "CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_REQUEST_OPTIONS", + "CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT", + "CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT", + "CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN", + "TRANSIT_GATEWAY_MULTICAST_DOMAIN_OPTIONS", + "TRANSIT_GATEWAY_MULTICAST_DOMAIN_STATE", + "TRANSIT_GATEWAY_MULTICAST_DOMAIN", + "CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_REQUEST_OPTIONS", + "TRANSIT_ASSOCIATION_GATEWAY_ID", + "CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT", + "CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT", + "CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT", + "CREATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT", + "CREATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT", + "CREATE_TRANSIT_GATEWAY_POLICY_TABLE", + "TRANSIT_GATEWAY_POLICY_TABLE_STATE", + "TRANSIT_GATEWAY_POLICY_TABLE", + "TRANSIT_GATEWAY_REQUEST_POLICY_RULE_META_DATA", + "TRANSIT_GATEWAY_REQUEST_POLICY_RULE", + "CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT", + "CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT", + "CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY", + "TRANSIT_GATEWAY_POLICY_RULE_META_DATA", + "TRANSIT_GATEWAY_POLICY_RULE", + "TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_STATE", + "TRANSIT_GATEWAY_POLICY_TABLE_ENTRY", + "CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT", + "CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT", + "CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE", + "TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_STATE", + "TRANSIT_GATEWAY_PREFIX_LIST_ATTACHMENT", + "TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE", + "CREATE_TRANSIT_GATEWAY_ROUTE_INPUT", + "CREATE_TRANSIT_GATEWAY_ROUTE_OUTPUT", + "CREATE_TRANSIT_GATEWAY_ROUTE", + "TRANSIT_GATEWAY_ROUTE_STATE", + "TRANSIT_GATEWAY_ROUTE_ATTACHMENT", + "TRANSIT_GATEWAY_ROUTE_ATTACHMENT_LIST", + "TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID", + "TRANSIT_GATEWAY_ROUTE_TYPE", + "TRANSIT_GATEWAY_ROUTE", + "CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT", + "CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT", + "CREATE_TRANSIT_GATEWAY_ROUTE_TABLE", + "TRANSIT_GATEWAY_ROUTE_TABLE_STATE", + "TRANSIT_GATEWAY_ROUTE_TABLE", + "CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT", + "CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT", + "CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT", + "TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_DIRECTION", + "TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_STATE", + "TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT", + "CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS", + "CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT", + "CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT", + "CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT", + "VERIFIED_ACCESS_ENDPOINT_ATTACHMENT_TYPE", + "VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER", + "CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE", + "CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST", + "VERIFIED_ACCESS_ENDPOINT_PROTOCOL", + "CREATE_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST", + "CREATE_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS", + "CERTIFICATE_ARN", + "VERIFIED_ACCESS_ENDPOINT_TYPE", + "LOAD_BALANCER_ARN", + "CREATE_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS", + "CREATE_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS", + "RDS_DB_CLUSTER_ARN", + "RDS_DB_INSTANCE_ARN", + "RDS_DB_PROXY_ARN", + "CREATE_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS", + "SECURITY_GROUP_ID_LIST", + "CREATE_VERIFIED_ACCESS_ENDPOINT_INPUT", + "CREATE_VERIFIED_ACCESS_ENDPOINT_OUTPUT", + "CREATE_VERIFIED_ACCESS_ENDPOINT", + "TRANSIT_GATEWAY_PROPAGATION_STATE", + "TRANSIT_GATEWAY_PROPAGATION", + ), + ( + "VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST", + "VERIFIED_ACCESS_GROUP_ID", + "VERIFIED_ACCESS_ENDPOINT_PORT_RANGE", + "VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST", + "VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST", + "VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS", + "VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS", + "VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS", + "VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS", + "VERIFIED_ACCESS_ENDPOINT_STATUS_CODE", + "VERIFIED_ACCESS_ENDPOINT_STATUS", + "VERIFIED_ACCESS_ENDPOINT", + "CREATE_VERIFIED_ACCESS_GROUP_INPUT", + "CREATE_VERIFIED_ACCESS_GROUP_OUTPUT", + "CREATE_VERIFIED_ACCESS_GROUP", + "VERIFIED_ACCESS_GROUP", + "CREATE_VERIFIED_ACCESS_INSTANCE_INPUT", + "CREATE_VERIFIED_ACCESS_INSTANCE_OUTPUT", + "CREATE_VERIFIED_ACCESS_INSTANCE", + "CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS", + "CREATE_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS", + "CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS", + "CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT", + "CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT", + "CREATE_VERIFIED_ACCESS_TRUST_PROVIDER", + "CREATE_VOLUME_INPUT", + "CREATE_VOLUME_OUTPUT", + "CREATE_VOLUME", + "VPC_ENCRYPTION_CONTROL_CONFIGURATION", + "CREATE_VPC_INPUT", + "CREATE_VPC_OUTPUT", + "CREATE_VPC", + "INTERNET_GATEWAY_EXCLUSION_MODE", + "CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT", + "CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT", + "CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION", + "VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID", + "VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_STATE", + "VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION", + "CREATE_VPC_ENCRYPTION_CONTROL_INPUT", + "CREATE_VPC_ENCRYPTION_CONTROL_OUTPUT", + "CREATE_VPC_ENCRYPTION_CONTROL", + "DNS_RECORD_IP_TYPE", + "PRIVATE_DNS_SPECIFIED_DOMAIN_SET", + "DNS_OPTIONS_SPECIFICATION", + "RESOURCE_CONFIGURATION_ARN", + "VPC_ENDPOINT_ROUTE_TABLE_ID_LIST", + "VPC_ENDPOINT_SECURITY_GROUP_ID_LIST", + "SERVICE_NETWORK_ARN", + "SUBNET_CONFIGURATION", + "SUBNET_CONFIGURATIONS_LIST", + "VPC_ENDPOINT_SUBNET_ID_LIST", + "VPC_ENDPOINT_TYPE", + "CREATE_VPC_ENDPOINT_INPUT", + "CREATE_VPC_ENDPOINT_OUTPUT", + "CREATE_VPC_ENDPOINT", + "DNS_ENTRY", + "DNS_ENTRY_SET", + "DNS_OPTIONS", + "SECURITY_GROUP_IDENTIFIER", + "GROUP_IDENTIFIER_SET", + "SUBNET_IP_PREFIXES", + "SUBNET_IP_PREFIXES_LIST", + "LAST_ERROR", + "PAYER_RESPONSIBILITY_TYPE", + "PAYER_RESPONSIBILITY_SCOPE", + "PAYER_RESPONSIBILITY_ENTRY", + "PAYER_RESPONSIBILITY_SET", + "STATE", + "VPC_ENDPOINT", + "CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT", + "CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT", + "CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION", + "CONNECTION_NOTIFICATION_STATE", + "CONNECTION_NOTIFICATION_TYPE", + "CONNECTION_NOTIFICATION", + "VERIFIED_ACCESS_ENDPOINT_ID", + ), + ( + "VPN_GATEWAY_ID", + "GATEWAY_TYPE", + "CUSTOMER_GATEWAY", + "CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT", + "CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT", + "CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION", + "PAYER_RESPONSIBILITY", + "DNS_NAME_STATE", + "PRIVATE_DNS_NAME_CONFIGURATION", + "SERVICE_STATE", + "SERVICE_TYPE", + "SERVICE_TYPE_DETAIL", + "SERVICE_TYPE_DETAIL_SET", + "SERVICE_CONNECTIVITY_TYPE", + "SUPPORTED_IP_ADDRESS_TYPES", + "SUPPORTED_REGION_DETAIL", + "SUPPORTED_REGION_SET", + "SERVICE_CONFIGURATION", + "CREATE_VPC_PEERING_CONNECTION_INPUT", + "CREATE_VPC_PEERING_CONNECTION_OUTPUT", + "CREATE_VPC_PEERING_CONNECTION", + "VPN_CONCENTRATOR_TYPE", + "CREATE_VPN_CONCENTRATOR_INPUT", + "CREATE_VPN_CONCENTRATOR_OUTPUT", + "CREATE_VPN_CONCENTRATOR", + "VPN_CONCENTRATOR", + "CUSTOMER_GATEWAY_ID", + "VPN_TUNNEL_BANDWIDTH", + "TUNNEL_INSIDE_IP_VERSION", + "IKE_VERSIONS_REQUEST_LIST_VALUE", + "IKE_VERSIONS_REQUEST_LIST", + "CLOUD_WATCH_LOG_GROUP_ARN", + "CLOUD_WATCH_LOG_OPTIONS_SPECIFICATION", + "VPN_TUNNEL_LOG_OPTIONS_SPECIFICATION", + "PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE", + "PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST", + "PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE", + "PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST", + "PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE", + "PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST", + "PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE", + "PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST", + "PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE", + "PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST", + "PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE", + "PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST", + "PRE_SHARED_KEY", + "VPN_TUNNEL_OPTIONS_SPECIFICATION", + "VPN_TUNNEL_OPTIONS_SPECIFICATIONS_LIST", + "VPN_CONNECTION_OPTIONS_SPECIFICATION", + "VPN_CONCENTRATOR_ID", + "CREATE_VPN_CONNECTION_INPUT", + "CREATE_VPN_CONNECTION_OUTPUT", + "CREATE_VPN_CONNECTION", + "CUSTOMER_GATEWAY_CONFIGURATION", + "GATEWAY_ASSOCIATION_STATE", + "IKE_VERSIONS_LIST_VALUE", + "IKE_VERSIONS_LIST", + "CLOUD_WATCH_LOG_OPTIONS", + "VPN_TUNNEL_LOG_OPTIONS", + "PHASE1_DH_GROUP_NUMBERS_LIST_VALUE", + "PHASE1_DH_GROUP_NUMBERS_LIST", + "PHASE1_ENCRYPTION_ALGORITHMS_LIST_VALUE", + "PHASE1_ENCRYPTION_ALGORITHMS_LIST", + "PHASE1_INTEGRITY_ALGORITHMS_LIST_VALUE", + "PHASE1_INTEGRITY_ALGORITHMS_LIST", + "PHASE2_DH_GROUP_NUMBERS_LIST_VALUE", + "PHASE2_DH_GROUP_NUMBERS_LIST", + "PHASE2_ENCRYPTION_ALGORITHMS_LIST_VALUE", + "PHASE2_ENCRYPTION_ALGORITHMS_LIST", + "PHASE2_INTEGRITY_ALGORITHMS_LIST_VALUE", + "PHASE2_INTEGRITY_ALGORITHMS_LIST", + "TUNNEL_OPTION", + "TUNNEL_OPTIONS_LIST", + "VPN_CONNECTION_OPTIONS", + "VPN_STATIC_ROUTE_SOURCE", + "VPN_STATE", + "VPN_STATIC_ROUTE", + "VPN_STATIC_ROUTE_LIST", + "TELEMETRY_STATUS", + "VGW_TELEMETRY", + "VGW_TELEMETRY_LIST", + "VPN_CONNECTION", + "VPN_CONNECTION_ID", + "CREATE_VPN_CONNECTION_ROUTE_INPUT", + "CREATE_VPN_CONNECTION_ROUTE_OUTPUT", + "CREATE_VPN_CONNECTION_ROUTE", + "CREATE_VPN_GATEWAY_INPUT", + "CREATE_VPN_GATEWAY_OUTPUT", + "CREATE_VPN_GATEWAY", + "VPC_ATTACHMENT_LIST", + "VPN_GATEWAY", + "DELETE_APPLICATION_STATUS_CHECK_INPUT", + "DELETE_APPLICATION_STATUS_CHECK_OUTPUT", + "DELETE_APPLICATION_STATUS_CHECK", + "DELETE_CAPACITY_MANAGER_DATA_EXPORT_INPUT", + "DELETE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT", + "DELETE_CAPACITY_MANAGER_DATA_EXPORT", + "DELETE_CARRIER_GATEWAY_INPUT", + "DELETE_CARRIER_GATEWAY_OUTPUT", + "DELETE_CARRIER_GATEWAY", + "DELETE_CLIENT_VPN_ENDPOINT_INPUT", + "DELETE_CLIENT_VPN_ENDPOINT_OUTPUT", + "DELETE_CLIENT_VPN_ENDPOINT", + "DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT", + "DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT", + "DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY", + ), + ( + "DELETE_CLIENT_VPN_ROUTE_INPUT", + "DELETE_CLIENT_VPN_ROUTE_OUTPUT", + "DELETE_CLIENT_VPN_ROUTE", + "DELETE_COIP_CIDR_INPUT", + "DELETE_COIP_CIDR_OUTPUT", + "DELETE_COIP_CIDR", + "DELETE_COIP_POOL_INPUT", + "DELETE_COIP_POOL_OUTPUT", + "DELETE_COIP_POOL", + "DELETE_CUSTOMER_GATEWAY_INPUT", + "DELETE_CUSTOMER_GATEWAY_OUTPUT", + "DELETE_CUSTOMER_GATEWAY", + "DHCP_OPTIONS_ID", + "DELETE_DHCP_OPTIONS_INPUT", + "DELETE_DHCP_OPTIONS_OUTPUT", + "DELETE_DHCP_OPTIONS", + "DELETE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT", + "DELETE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT", + "DELETE_EGRESS_ONLY_INTERNET_GATEWAY", + "FLEET_ID_SET", + "DELETE_FLEETS_INPUT", + "DELETE_FLEETS_OUTPUT", + "DELETE_FLEETS", + "FLEET_STATE_CODE", + "DELETE_FLEET_SUCCESS_ITEM", + "DELETE_FLEET_SUCCESS_SET", + "DELETE_FLEET_ERROR_CODE", + "DELETE_FLEET_ERROR", + "DELETE_FLEET_ERROR_ITEM", + "DELETE_FLEET_ERROR_SET", + "VPC_FLOW_LOG_ID", + "FLOW_LOG_ID_LIST", + "DELETE_FLOW_LOGS_INPUT", + "DELETE_FLOW_LOGS_OUTPUT", + "DELETE_FLOW_LOGS", + "DELETE_FPGA_IMAGE_INPUT", + "DELETE_FPGA_IMAGE_OUTPUT", + "DELETE_FPGA_IMAGE", + "DELETE_IMAGE_USAGE_REPORT_INPUT", + "DELETE_IMAGE_USAGE_REPORT_OUTPUT", + "DELETE_IMAGE_USAGE_REPORT", + "DELETE_INSTANCE_CONNECT_ENDPOINT_INPUT", + "DELETE_INSTANCE_CONNECT_ENDPOINT_OUTPUT", + "DELETE_INSTANCE_CONNECT_ENDPOINT", + "DELETE_INSTANCE_EVENT_WINDOW_INPUT", + "DELETE_INSTANCE_EVENT_WINDOW_OUTPUT", + "DELETE_INSTANCE_EVENT_WINDOW", + "INSTANCE_EVENT_WINDOW_STATE_CHANGE", + "DELETE_INTERNET_GATEWAY_INPUT", + "DELETE_INTERNET_GATEWAY_OUTPUT", + "DELETE_INTERNET_GATEWAY", + "DELETE_IPAM_INPUT", + "DELETE_IPAM_OUTPUT", + "DELETE_IPAM", + "DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT", + "DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT", + "DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN", + "DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT", + "DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT", + "DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION", + "DELETE_IPAM_POLICY_INPUT", + "DELETE_IPAM_POLICY_OUTPUT", + "DELETE_IPAM_POLICY", + "DELETE_IPAM_POOL_INPUT", + "DELETE_IPAM_POOL_OUTPUT", + "DELETE_IPAM_POOL", + "DELETE_IPAM_PREFIX_LIST_RESOLVER_INPUT", + "DELETE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT", + "DELETE_IPAM_PREFIX_LIST_RESOLVER", + "DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT", + "DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT", + "DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET", + "DELETE_IPAM_RESOURCE_DISCOVERY_INPUT", + "DELETE_IPAM_RESOURCE_DISCOVERY_OUTPUT", + "DELETE_IPAM_RESOURCE_DISCOVERY", + "DELETE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT", + "DELETE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT", + "DELETE_IPAM_ROUTING_POLICY_REGISTRATION", + "DELETE_IPAM_SCOPE_INPUT", + "DELETE_IPAM_SCOPE_OUTPUT", + "DELETE_IPAM_SCOPE", + "KEY_PAIR_NAME_WITH_RESOLVER", + "KEY_PAIR_ID", + "DELETE_KEY_PAIR_INPUT", + "DELETE_KEY_PAIR_OUTPUT", + "DELETE_KEY_PAIR", + "DELETE_LAUNCH_TEMPLATE_INPUT", + "DELETE_LAUNCH_TEMPLATE_OUTPUT", + "DELETE_LAUNCH_TEMPLATE", + "DELETE_LAUNCH_TEMPLATE_VERSIONS_INPUT", + "DELETE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT", + "DELETE_LAUNCH_TEMPLATE_VERSIONS", + "DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_ITEM", + "DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_SET", + "LAUNCH_TEMPLATE_ERROR_CODE", + "RESPONSE_ERROR", + "DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_ITEM", + "DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_SET", + "DELETE_LOCAL_GATEWAY_ROUTE_INPUT", + "DELETE_LOCAL_GATEWAY_ROUTE_OUTPUT", + "DELETE_LOCAL_GATEWAY_ROUTE", + "DELETE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT", + "DELETE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT", + "DELETE_LOCAL_GATEWAY_ROUTE_TABLE", + "DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT", + "DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT", + "DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION", + "DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT", + "DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT", + "DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION", + "DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT", + "DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT", + "DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE", + "DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT", + "DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT", + "DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP", + "DELETE_MANAGED_PREFIX_LIST_INPUT", + "DELETE_MANAGED_PREFIX_LIST_OUTPUT", + "DELETE_MANAGED_PREFIX_LIST", + "DELETE_NAT_GATEWAY_INPUT", + "DELETE_NAT_GATEWAY_OUTPUT", + "DELETE_NAT_GATEWAY", + "DELETE_NETWORK_ACL_INPUT", + "DELETE_NETWORK_ACL_OUTPUT", + "DELETE_NETWORK_ACL", + ), + ( + "DELETE_NETWORK_ACL_ENTRY_INPUT", + "DELETE_NETWORK_ACL_ENTRY_OUTPUT", + "DELETE_NETWORK_ACL_ENTRY", + "DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT", + "DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT", + "DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE", + "DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT", + "DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT", + "DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS", + "DELETE_NETWORK_INSIGHTS_ANALYSIS_INPUT", + "DELETE_NETWORK_INSIGHTS_ANALYSIS_OUTPUT", + "DELETE_NETWORK_INSIGHTS_ANALYSIS", + "DELETE_NETWORK_INSIGHTS_PATH_INPUT", + "DELETE_NETWORK_INSIGHTS_PATH_OUTPUT", + "DELETE_NETWORK_INSIGHTS_PATH", + "DELETE_NETWORK_INTERFACE_INPUT", + "DELETE_NETWORK_INTERFACE_OUTPUT", + "DELETE_NETWORK_INTERFACE", + "NETWORK_INTERFACE_PERMISSION_ID", + "DELETE_NETWORK_INTERFACE_PERMISSION_INPUT", + "DELETE_NETWORK_INTERFACE_PERMISSION_OUTPUT", + "DELETE_NETWORK_INTERFACE_PERMISSION", + "PLACEMENT_GROUP_NAME_WITH_RESOLVER", + "DELETE_PLACEMENT_GROUP_INPUT", + "DELETE_PLACEMENT_GROUP_OUTPUT", + "DELETE_PLACEMENT_GROUP", + "DELETE_PUBLIC_IPV4_POOL_INPUT", + "DELETE_PUBLIC_IPV4_POOL_OUTPUT", + "DELETE_PUBLIC_IPV4_POOL", + "DELETE_QUEUED_RESERVED_INSTANCES_ID_LIST", + "DELETE_QUEUED_RESERVED_INSTANCES_INPUT", + "DELETE_QUEUED_RESERVED_INSTANCES_OUTPUT", + "DELETE_QUEUED_RESERVED_INSTANCES", + "DELETE_QUEUED_RESERVED_INSTANCES_ERROR_CODE", + "DELETE_QUEUED_RESERVED_INSTANCES_ERROR", + "FAILED_QUEUED_PURCHASE_DELETION", + "FAILED_QUEUED_PURCHASE_DELETION_SET", + "SUCCESSFUL_QUEUED_PURCHASE_DELETION", + "SUCCESSFUL_QUEUED_PURCHASE_DELETION_SET", + "DELETE_ROUTE_INPUT", + "DELETE_ROUTE_OUTPUT", + "DELETE_ROUTE", + "DELETE_ROUTE_SERVER_INPUT", + "DELETE_ROUTE_SERVER_OUTPUT", + "DELETE_ROUTE_SERVER", + "DELETE_ROUTE_SERVER_ENDPOINT_INPUT", + "DELETE_ROUTE_SERVER_ENDPOINT_OUTPUT", + "DELETE_ROUTE_SERVER_ENDPOINT", + "DELETE_ROUTE_SERVER_PEER_INPUT", + "DELETE_ROUTE_SERVER_PEER_OUTPUT", + "DELETE_ROUTE_SERVER_PEER", + "DELETE_ROUTE_TABLE_INPUT", + "DELETE_ROUTE_TABLE_OUTPUT", + "DELETE_ROUTE_TABLE", + "DELETE_SECONDARY_NETWORK_INPUT", + "DELETE_SECONDARY_NETWORK_OUTPUT", + "DELETE_SECONDARY_NETWORK", + "DELETE_SECONDARY_SUBNET_INPUT", + "DELETE_SECONDARY_SUBNET_OUTPUT", + "DELETE_SECONDARY_SUBNET", + "DELETE_SECURITY_GROUP_INPUT", + "DELETE_SECURITY_GROUP_OUTPUT", + "DELETE_SECURITY_GROUP", + "DELETE_SNAPSHOT_INPUT", + "DELETE_SNAPSHOT_OUTPUT", + "DELETE_SNAPSHOT", + "DELETE_SPOT_DATAFEED_SUBSCRIPTION_INPUT", + "DELETE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT", + "DELETE_SPOT_DATAFEED_SUBSCRIPTION", + "DELETE_SUBNET_INPUT", + "DELETE_SUBNET_OUTPUT", + "DELETE_SUBNET", + "DELETE_SUBNET_CIDR_RESERVATION_INPUT", + "DELETE_SUBNET_CIDR_RESERVATION_OUTPUT", + "DELETE_SUBNET_CIDR_RESERVATION", + "DELETE_TAGS_INPUT", + "DELETE_TAGS_OUTPUT", + "DELETE_TAGS", + "DELETE_TRAFFIC_MIRROR_FILTER_INPUT", + "DELETE_TRAFFIC_MIRROR_FILTER_OUTPUT", + "DELETE_TRAFFIC_MIRROR_FILTER", + "DELETE_TRAFFIC_MIRROR_FILTER_RULE_INPUT", + "DELETE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT", + "DELETE_TRAFFIC_MIRROR_FILTER_RULE", + "DELETE_TRAFFIC_MIRROR_SESSION_INPUT", + "DELETE_TRAFFIC_MIRROR_SESSION_OUTPUT", + "DELETE_TRAFFIC_MIRROR_SESSION", + "DELETE_TRAFFIC_MIRROR_TARGET_INPUT", + "DELETE_TRAFFIC_MIRROR_TARGET_OUTPUT", + "DELETE_TRAFFIC_MIRROR_TARGET", + "DELETE_TRANSIT_GATEWAY_INPUT", + "DELETE_TRANSIT_GATEWAY_OUTPUT", + "DELETE_TRANSIT_GATEWAY", + "DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT", + "DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT", + "DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT", + "DELETE_TRANSIT_GATEWAY_CONNECT_INPUT", + "DELETE_TRANSIT_GATEWAY_CONNECT_OUTPUT", + "DELETE_TRANSIT_GATEWAY_CONNECT", + "DELETE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT", + "DELETE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT", + "DELETE_TRANSIT_GATEWAY_CONNECT_PEER", + "DELETE_TRANSIT_GATEWAY_METERING_POLICY_INPUT", + "DELETE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT", + "DELETE_TRANSIT_GATEWAY_METERING_POLICY", + "DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT", + "DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT", + "DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY", + "DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT", + "DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT", + "DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN", + "DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT", + "DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT", + "DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT", + "DELETE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT", + "DELETE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT", + "DELETE_TRANSIT_GATEWAY_POLICY_TABLE", + "DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT", + "DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT", + "DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY", + "DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT", + "DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT", + "DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE", + "DELETE_TRANSIT_GATEWAY_ROUTE_INPUT", + "DELETE_TRANSIT_GATEWAY_ROUTE_OUTPUT", + "DELETE_TRANSIT_GATEWAY_ROUTE", + "DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT", + "DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT", + "DELETE_TRANSIT_GATEWAY_ROUTE_TABLE", + ), + ( + "DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT", + "DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT", + "DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT", + "DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT", + "DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT", + "DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT", + "DELETE_VERIFIED_ACCESS_ENDPOINT_INPUT", + "DELETE_VERIFIED_ACCESS_ENDPOINT_OUTPUT", + "DELETE_VERIFIED_ACCESS_ENDPOINT", + "DELETE_VERIFIED_ACCESS_GROUP_INPUT", + "DELETE_VERIFIED_ACCESS_GROUP_OUTPUT", + "DELETE_VERIFIED_ACCESS_GROUP", + "DELETE_VERIFIED_ACCESS_INSTANCE_INPUT", + "DELETE_VERIFIED_ACCESS_INSTANCE_OUTPUT", + "DELETE_VERIFIED_ACCESS_INSTANCE", + "DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT", + "DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT", + "DELETE_VERIFIED_ACCESS_TRUST_PROVIDER", + "DELETE_VOLUME_INPUT", + "DELETE_VOLUME_OUTPUT", + "DELETE_VOLUME", + "DELETE_VPC_INPUT", + "DELETE_VPC_OUTPUT", + "DELETE_VPC", + "DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT", + "DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT", + "DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION", + "DELETE_VPC_ENCRYPTION_CONTROL_INPUT", + "DELETE_VPC_ENCRYPTION_CONTROL_OUTPUT", + "DELETE_VPC_ENCRYPTION_CONTROL", + "CONNECTION_NOTIFICATION_ID", + "CONNECTION_NOTIFICATION_IDS_LIST", + "DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT", + "DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT", + "DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS", + "DELETE_VPC_ENDPOINTS_INPUT", + "DELETE_VPC_ENDPOINTS_OUTPUT", + "DELETE_VPC_ENDPOINTS", + "VPC_ENDPOINT_SERVICE_ID_LIST", + "DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT", + "DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT", + "DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS", + "DELETE_VPC_PEERING_CONNECTION_INPUT", + "DELETE_VPC_PEERING_CONNECTION_OUTPUT", + "DELETE_VPC_PEERING_CONNECTION", + "DELETE_VPN_CONCENTRATOR_INPUT", + "DELETE_VPN_CONCENTRATOR_OUTPUT", + "DELETE_VPN_CONCENTRATOR", + "DELETE_VPN_CONNECTION_INPUT", + "DELETE_VPN_CONNECTION_OUTPUT", + "DELETE_VPN_CONNECTION", + "DELETE_VPN_CONNECTION_ROUTE_INPUT", + "DELETE_VPN_CONNECTION_ROUTE_OUTPUT", + "DELETE_VPN_CONNECTION_ROUTE", + "DELETE_VPN_GATEWAY_INPUT", + "DELETE_VPN_GATEWAY_OUTPUT", + "DELETE_VPN_GATEWAY", + "DEPROVISION_BYOIP_CIDR_INPUT", + "DEPROVISION_BYOIP_CIDR_OUTPUT", + "DEPROVISION_BYOIP_CIDR", + "DEPROVISION_IPAM_BYOASN_INPUT", + "DEPROVISION_IPAM_BYOASN_OUTPUT", + "DEPROVISION_IPAM_BYOASN", + "ASN_STATE", + "BYOASN", + "DEPROVISION_IPAM_POOL_CIDR_INPUT", + "DEPROVISION_IPAM_POOL_CIDR_OUTPUT", + "DEPROVISION_IPAM_POOL_CIDR", + "IPAM_POOL_CIDR_FAILURE_CODE", + "IPAM_POOL_CIDR_FAILURE_REASON", + "IPAM_POOL_CIDR_ID", + "IPAM_POOL_CIDR_STATE", + "IPAM_POOL_CIDR", + "DEPROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT", + "DEPROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT", + "DEPROVISION_PUBLIC_IPV4_POOL_CIDR", + "DEPROVISIONED_ADDRESS_SET", + "DEREGISTER_IMAGE_INPUT", + "DEREGISTER_IMAGE_OUTPUT", + "DEREGISTER_IMAGE", + "SNAPSHOT_RETURN_CODES", + "DELETE_SNAPSHOT_RETURN_CODE", + "DELETE_SNAPSHOT_RESULT_SET", + "INSTANCE_TAG_KEY_SET", + "DEREGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST", + "DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT", + "DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT", + "DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES", + "INSTANCE_TAG_NOTIFICATION_ATTRIBUTE", + "TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST", + "DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT", + "DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT", + "DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS", + "TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_MEMBERS", + "DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT", + "DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT", + "DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES", + "TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_SOURCES", + "DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT", + "DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT", + "DESCRIBE_ACCOUNT_ATTRIBUTES", + "DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT", + "DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT", + "DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL", + "FILTER", + "FILTER_LIST", + "PUBLIC_IP_STRING_LIST", + "DESCRIBE_ADDRESSES_INPUT", + "DESCRIBE_ADDRESSES_OUTPUT", + "DESCRIBE_ADDRESSES", + "NEXT_TOKEN", + "DESCRIBE_ADDRESSES_ATTRIBUTE_INPUT", + "DESCRIBE_ADDRESSES_ATTRIBUTE_OUTPUT", + "DESCRIBE_ADDRESSES_ATTRIBUTE", + "DESCRIBE_ADDRESS_TRANSFERS_MAX_RESULTS", + "DESCRIBE_ADDRESS_TRANSFERS_INPUT", + "DESCRIBE_ADDRESS_TRANSFERS_OUTPUT", + "DESCRIBE_ADDRESS_TRANSFERS", + "DESCRIBE_AGGREGATE_ID_FORMAT_INPUT", + "DESCRIBE_AGGREGATE_ID_FORMAT_OUTPUT", + "DESCRIBE_AGGREGATE_ID_FORMAT", + "ID_FORMAT", + "ID_FORMAT_LIST", + "DESCRIBE_APPLICATION_STATUS_MAX_RESULTS", + "DESCRIBE_APPLICATION_STATUS_INPUT", + "DESCRIBE_APPLICATION_STATUS_OUTPUT", + "DESCRIBE_APPLICATION_STATUS", + "COIP_POOL_MAX_RESULTS", + ), + ( + "APPLICATION_STATUS_REASON", + "APPLICATION_STATUS_CHECK_ENUM", + "APPLICATION_STATUS_DETAIL", + "APPLICATION_STATUS_DETAIL_SET", + "APPLICATION_STATUS_ENUM", + "APPLICATION_STATUS", + "INSTANCE_APPLICATION_STATUS", + "INSTANCE_APPLICATION_STATUS_SET", + "APPLICATION_STATUSES_RESPONSE_TYPE", + "APPLICATION_STATUS_CHECK_ID_LIST", + "DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_MAX_RESULTS", + "DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_INPUT", + "DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_OUTPUT", + "DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS", + "ASSOCIATION_TYPE_ENUM", + "APPLICATION_STATUS_CHECK_ASSOCIATION_OBJECT", + "APPLICATION_STATUS_CHECK_ASSOCIATION_SET", + "DESCRIBE_APPLICATION_STATUS_CHECKS_MAX_RESULTS", + "DESCRIBE_APPLICATION_STATUS_CHECKS_INPUT", + "DESCRIBE_APPLICATION_STATUS_CHECKS_OUTPUT", + "DESCRIBE_APPLICATION_STATUS_CHECKS", + "APPLICATION_STATUS_CHECK_RESPONSE_SET", + "ZONE_ID_STRING_LIST", + "ZONE_NAME_STRING_LIST", + "DESCRIBE_AVAILABILITY_ZONES_INPUT", + "DESCRIBE_AVAILABILITY_ZONES_OUTPUT", + "DESCRIBE_AVAILABILITY_ZONES", + "AVAILABILITY_ZONE_GEOGRAPHY", + "AVAILABILITY_ZONE_GEOGRAPHY_LIST", + "AVAILABILITY_ZONE_MESSAGE", + "AVAILABILITY_ZONE_MESSAGE_LIST", + "AVAILABILITY_ZONE_OPT_IN_STATUS", + "AVAILABILITY_ZONE_STATE", + "AVAILABILITY_ZONE_SUB_GEOGRAPHY", + "AVAILABILITY_ZONE_SUB_GEOGRAPHY_LIST", + "AVAILABILITY_ZONE", + "AVAILABILITY_ZONE_LIST", + "MAX_RESULTS_PARAM", + "DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_INPUT", + "DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_OUTPUT", + "DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS", + "METRIC_TYPE", + "PERIOD_TYPE", + "STATISTIC_TYPE", + "SUBSCRIPTION", + "SUBSCRIPTION_LIST", + "BUNDLE_ID_STRING_LIST", + "DESCRIBE_BUNDLE_TASKS_INPUT", + "DESCRIBE_BUNDLE_TASKS_OUTPUT", + "DESCRIBE_BUNDLE_TASKS", + "BUNDLE_TASK_LIST", + "DESCRIBE_BYOIP_CIDRS_MAX_RESULTS", + "DESCRIBE_BYOIP_CIDRS_INPUT", + "DESCRIBE_BYOIP_CIDRS_OUTPUT", + "DESCRIBE_BYOIP_CIDRS", + "BYOIP_CIDR_SET", + "DESCRIBE_FUTURE_CAPACITY_MAX_RESULTS", + "DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_INPUT", + "DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_OUTPUT", + "DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY", + "OFFERING_ID", + "CAPACITY_BLOCK_EXTENSION_STATUS", + "CAPACITY_BLOCK_EXTENSION", + "CAPACITY_BLOCK_EXTENSION_SET", + "DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_MAX_RESULTS", + "DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_INPUT", + "DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_OUTPUT", + "DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS", + "CAPACITY_BLOCK_EXTENSION_OFFERING", + "CAPACITY_BLOCK_EXTENSION_OFFERING_SET", + "DESCRIBE_CAPACITY_BLOCK_OFFERINGS_MAX_RESULTS", + "DESCRIBE_CAPACITY_BLOCK_OFFERINGS_INPUT", + "DESCRIBE_CAPACITY_BLOCK_OFFERINGS_OUTPUT", + "DESCRIBE_CAPACITY_BLOCK_OFFERINGS", + "CAPACITY_BLOCK_OFFERING", + "CAPACITY_BLOCK_OFFERING_SET", + "CAPACITY_BLOCK_IDS", + "DESCRIBE_CAPACITY_BLOCKS_MAX_RESULTS", + "DESCRIBE_CAPACITY_BLOCKS_INPUT", + "DESCRIBE_CAPACITY_BLOCKS_OUTPUT", + "DESCRIBE_CAPACITY_BLOCKS", + "CAPACITY_BLOCK_RESOURCE_STATE", + "CAPACITY_BLOCK", + "CAPACITY_BLOCK_SET", + "DESCRIBE_CAPACITY_BLOCK_STATUS_MAX_RESULTS", + "DESCRIBE_CAPACITY_BLOCK_STATUS_INPUT", + "DESCRIBE_CAPACITY_BLOCK_STATUS_OUTPUT", + "DESCRIBE_CAPACITY_BLOCK_STATUS", + "CAPACITY_RESERVATION_STATUS", + "CAPACITY_RESERVATION_STATUS_SET", + "CAPACITY_BLOCK_INTERCONNECT_STATUS", + "CAPACITY_BLOCK_STATUS", + "CAPACITY_BLOCK_STATUS_SET", + "CAPACITY_MANAGER_DATA_EXPORT_ID_SET", + "DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_REQUEST_MAX_RESULTS", + "DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_INPUT", + "DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_OUTPUT", + "DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS", + ), + ( + "CAPACITY_MANAGER_DATA_EXPORT_STATUS", + "CAPACITY_MANAGER_DATA_EXPORT_RESPONSE", + "CAPACITY_MANAGER_DATA_EXPORT_RESPONSE_SET", + "DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_REQUEST_MAX_RESULTS", + "CALLER_ROLE", + "DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_INPUT", + "DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_OUTPUT", + "DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS", + "CAPACITY_RESERVATION_INFO", + "CAPACITY_RESERVATION_BILLING_REQUEST_STATUS", + "CAPACITY_RESERVATION_BILLING_REQUEST", + "CAPACITY_RESERVATION_BILLING_REQUEST_SET", + "CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID_SET", + "DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_REQUEST_MAX_RESULTS", + "DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_INPUT", + "DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_OUTPUT", + "DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES", + "CAPACITY_RESERVATION_CANCELLATION_QUOTE_RESPONSE_SET", + "CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID_SET", + "DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_REQUEST_MAX_RESULTS", + "DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_INPUT", + "DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_OUTPUT", + "DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES", + "CAPACITY_RESERVATION_MODIFICATION_QUOTE_RESPONSE_SET", + "DESCRIBE_CAPACITY_RESERVATION_FLEETS_MAX_RESULTS", + "DESCRIBE_CAPACITY_RESERVATION_FLEETS_INPUT", + "DESCRIBE_CAPACITY_RESERVATION_FLEETS_OUTPUT", + "DESCRIBE_CAPACITY_RESERVATION_FLEETS", + "CAPACITY_RESERVATION_FLEET", + "CAPACITY_RESERVATION_FLEET_SET", + "DESCRIBE_CAPACITY_RESERVATIONS_MAX_RESULTS", + "DESCRIBE_CAPACITY_RESERVATIONS_INPUT", + "DESCRIBE_CAPACITY_RESERVATIONS_OUTPUT", + "DESCRIBE_CAPACITY_RESERVATIONS", + "CAPACITY_RESERVATION_SET", + "DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_MAX_RESULTS", + "DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_INPUT", + "DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_OUTPUT", + "DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY", + "NETWORK_NODE_SET", + "CAPACITY_RESERVATION_TOPOLOGY", + "CAPACITY_RESERVATION_TOPOLOGY_SET", + "CARRIER_GATEWAY_ID_SET", + "CARRIER_GATEWAY_MAX_RESULTS", + "DESCRIBE_CARRIER_GATEWAYS_INPUT", + "DESCRIBE_CARRIER_GATEWAYS_OUTPUT", + "DESCRIBE_CARRIER_GATEWAYS", + "CARRIER_GATEWAY_SET", + "DESCRIBE_CLASSIC_LINK_INSTANCES_MAX_RESULTS", + "DESCRIBE_CLASSIC_LINK_INSTANCES_INPUT", + "DESCRIBE_CLASSIC_LINK_INSTANCES_OUTPUT", + "DESCRIBE_CLASSIC_LINK_INSTANCES", + "CLASSIC_LINK_INSTANCE", + "CLASSIC_LINK_INSTANCE_LIST", + "DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_MAX_RESULTS", + "DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_INPUT", + "DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_OUTPUT", + "DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES", + "AUTHORIZATION_RULE", + "AUTHORIZATION_RULE_SET", + "DESCRIBE_CLIENT_VPN_CONNECTIONS_MAX_RESULTS", + "DESCRIBE_CLIENT_VPN_CONNECTIONS_INPUT", + "DESCRIBE_CLIENT_VPN_CONNECTIONS_OUTPUT", + "DESCRIBE_CLIENT_VPN_CONNECTIONS", + "CLIENT_VPN_CONNECTION_STATUS_CODE", + "CLIENT_VPN_CONNECTION_STATUS", + "CLIENT_VPN_CONNECTION", + "CLIENT_VPN_CONNECTION_SET", + "CLIENT_VPN_ENDPOINT_ID_LIST", + "DESCRIBE_CLIENT_VPN_ENDPOINT_MAX_RESULTS", + "DESCRIBE_CLIENT_VPN_ENDPOINTS_INPUT", + "DESCRIBE_CLIENT_VPN_ENDPOINTS_OUTPUT", + "DESCRIBE_CLIENT_VPN_ENDPOINTS", + "ASSOCIATED_NETWORK_TYPE", + "ASSOCIATED_TARGET_NETWORK", + "ASSOCIATED_TARGET_NETWORK_SET", + "DIRECTORY_SERVICE_AUTHENTICATION", + "FEDERATED_AUTHENTICATION", + "CERTIFICATE_AUTHENTICATION", + "CLIENT_VPN_AUTHENTICATION", + "CLIENT_VPN_AUTHENTICATION_LIST", + "CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS_CODE", + "CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS", + "CLIENT_CONNECT_RESPONSE_OPTIONS", + "CLIENT_LOGIN_BANNER_RESPONSE_OPTIONS", + "CLIENT_ROUTE_ENFORCEMENT_RESPONSE_OPTIONS", + "CONNECTION_LOG_RESPONSE_OPTIONS", + "CLIENT_VPN_TRUST_PROVIDER", + "CLIENT_VPN_TRUST_PROVIDER_SET", + "DEVICE_POSTURE_RESPONSE_OPTIONS", + "TRANSIT_GATEWAY_CONFIGURATION_DESCRIBE_ENDPOINT_STRUCTURE", + "VPN_PROTOCOL", + "CLIENT_VPN_ENDPOINT", + ), + ( + "DISK_IMAGE_FORMAT", + "ENDPOINT_SET", + "DESCRIBE_CLIENT_VPN_ROUTES_MAX_RESULTS", + "DESCRIBE_CLIENT_VPN_ROUTES_INPUT", + "DESCRIBE_CLIENT_VPN_ROUTES_OUTPUT", + "DESCRIBE_CLIENT_VPN_ROUTES", + "CLIENT_VPN_ROUTE", + "CLIENT_VPN_ROUTE_SET", + "DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_MAX_RESULTS", + "DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_INPUT", + "DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_OUTPUT", + "DESCRIBE_CLIENT_VPN_TARGET_NETWORKS", + "TARGET_NETWORK", + "TARGET_NETWORK_SET", + "COIP_POOL_ID_SET", + "DESCRIBE_COIP_POOLS_INPUT", + "DESCRIBE_COIP_POOLS_OUTPUT", + "DESCRIBE_COIP_POOLS", + "COIP_POOL_SET", + "CONVERSION_ID_STRING_LIST", + "DESCRIBE_CONVERSION_TASKS_INPUT", + "DESCRIBE_CONVERSION_TASKS_OUTPUT", + "DESCRIBE_CONVERSION_TASKS", + "IMPORT_MANIFEST_URL", + "DISK_IMAGE_DESCRIPTION", + "DISK_IMAGE_VOLUME_DESCRIPTION", + "IMPORT_INSTANCE_VOLUME_DETAIL_ITEM", + "IMPORT_INSTANCE_VOLUME_DETAIL_SET", + "IMPORT_INSTANCE_TASK_DETAILS", + "IMPORT_VOLUME_TASK_DETAILS", + "CONVERSION_TASK_STATE", + "CONVERSION_TASK", + "DESCRIBE_CONVERSION_TASK_LIST", + "CUSTOMER_GATEWAY_ID_STRING_LIST", + "DESCRIBE_CUSTOMER_GATEWAYS_INPUT", + "DESCRIBE_CUSTOMER_GATEWAYS_OUTPUT", + "DESCRIBE_CUSTOMER_GATEWAYS", + "CUSTOMER_GATEWAY_LIST", + "DECLARATIVE_POLICIES_MAX_RESULTS", + "DESCRIBE_DECLARATIVE_POLICIES_REPORTS_INPUT", + "DESCRIBE_DECLARATIVE_POLICIES_REPORTS_OUTPUT", + "DESCRIBE_DECLARATIVE_POLICIES_REPORTS", + "REPORT_STATE", + "DECLARATIVE_POLICIES_REPORT", + "DECLARATIVE_POLICIES_REPORT_LIST", + "DHCP_OPTIONS_ID_STRING_LIST", + "DESCRIBE_DHCP_OPTIONS_MAX_RESULTS", + "DESCRIBE_DHCP_OPTIONS_INPUT", + "DESCRIBE_DHCP_OPTIONS_OUTPUT", + "DESCRIBE_DHCP_OPTIONS", + "DHCP_OPTIONS_LIST", + "EGRESS_ONLY_INTERNET_GATEWAY_ID_LIST", + "DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_MAX_RESULTS", + "DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_INPUT", + "DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_OUTPUT", + "DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS", + "EGRESS_ONLY_INTERNET_GATEWAY_LIST", + "ELASTIC_GPU_ID_SET", + "DESCRIBE_ELASTIC_GPUS_MAX_RESULTS", + "DESCRIBE_ELASTIC_GPUS_INPUT", + "DESCRIBE_ELASTIC_GPUS_OUTPUT", + "DESCRIBE_ELASTIC_GPUS", + "ELASTIC_GPU_STATUS", + "ELASTIC_GPU_HEALTH", + "ELASTIC_GPU_STATE", + "ELASTIC_GPUS", + "ELASTIC_GPU_SET", + "EXPORT_IMAGE_TASK_ID", + "EXPORT_IMAGE_TASK_ID_LIST", + "DESCRIBE_EXPORT_IMAGE_TASKS_MAX_RESULTS", + "DESCRIBE_EXPORT_IMAGE_TASKS_INPUT", + "DESCRIBE_EXPORT_IMAGE_TASKS_OUTPUT", + "DESCRIBE_EXPORT_IMAGE_TASKS", + "EXPORT_TASK_S3_LOCATION", + "EXPORT_IMAGE_TASK", + "EXPORT_IMAGE_TASK_LIST", + "EXPORT_TASK_ID", + "EXPORT_TASK_ID_STRING_LIST", + "DESCRIBE_EXPORT_TASKS_INPUT", + "DESCRIBE_EXPORT_TASKS_OUTPUT", + "DESCRIBE_EXPORT_TASKS", + "EXPORT_TASK_LIST", + "FAST_LAUNCH_IMAGE_ID_LIST", + "DESCRIBE_FAST_LAUNCH_IMAGES_REQUEST_MAX_RESULTS", + "DESCRIBE_FAST_LAUNCH_IMAGES_INPUT", + "DESCRIBE_FAST_LAUNCH_IMAGES_OUTPUT", + "DESCRIBE_FAST_LAUNCH_IMAGES", + "FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_RESPONSE", + "FAST_LAUNCH_RESOURCE_TYPE", + "FAST_LAUNCH_SNAPSHOT_CONFIGURATION_RESPONSE", + "FAST_LAUNCH_STATE_CODE", + "DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_ITEM", + "DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_SET", + "DESCRIBE_FAST_SNAPSHOT_RESTORES_MAX_RESULTS", + "DESCRIBE_FAST_SNAPSHOT_RESTORES_INPUT", + "DESCRIBE_FAST_SNAPSHOT_RESTORES_OUTPUT", + "DESCRIBE_FAST_SNAPSHOT_RESTORES", + "DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM", + "DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET", + "FLEET_EVENT_TYPE", + "DESCRIBE_FLEET_HISTORY_INPUT", + "DESCRIBE_FLEET_HISTORY_OUTPUT", + "DESCRIBE_FLEET_HISTORY", + "EVENT_INFORMATION", + "HISTORY_RECORD_ENTRY", + "HISTORY_RECORD_SET", + "DESCRIBE_FLEET_INSTANCES_INPUT", + "DESCRIBE_FLEET_INSTANCES_OUTPUT", + "DESCRIBE_FLEET_INSTANCES", + "DESCRIBE_FLEETS_INPUT", + "DESCRIBE_FLEETS_OUTPUT", + "DESCRIBE_FLEETS", + ), + ( + "FPGA_IMAGE_ID", + "FLEET_ACTIVITY_STATUS", + "DESCRIBE_FLEET_ERROR", + "DESCRIBE_FLEETS_ERROR_SET", + "DESCRIBE_FLEETS_INSTANCES", + "DESCRIBE_FLEETS_INSTANCES_SET", + "FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST", + "FLEET_LAUNCH_TEMPLATE_CONFIG", + "FLEET_LAUNCH_TEMPLATE_CONFIG_LIST", + "CAPACITY_RESERVATION_OPTIONS", + "ON_DEMAND_OPTIONS", + "RESERVATION_TYPE_LIST", + "RESERVED_CAPACITY_FALLBACK_OPTIONS", + "RESERVED_CAPACITY_OPTIONS", + "FLEET_SPOT_CAPACITY_REBALANCE", + "FLEET_SPOT_MAINTENANCE_STRATEGIES", + "SPOT_OPTIONS", + "TARGET_CAPACITY_SPECIFICATION", + "FLEET_DATA", + "FLEET_SET", + "DESCRIBE_FLOW_LOGS_INPUT", + "DESCRIBE_FLOW_LOGS_OUTPUT", + "DESCRIBE_FLOW_LOGS", + "DESTINATION_OPTIONS_RESPONSE", + "TAG_FIELD_SPECIFICATION_RESPONSE", + "TAG_FIELD_SPECIFICATION_LIST_RESPONSE", + "FLOW_LOG", + "FLOW_LOG_SET", + "FPGA_IMAGE_ATTRIBUTE_NAME", + "DESCRIBE_FPGA_IMAGE_ATTRIBUTE_INPUT", + "DESCRIBE_FPGA_IMAGE_ATTRIBUTE_OUTPUT", + "DESCRIBE_FPGA_IMAGE_ATTRIBUTE", + "PERMISSION_GROUP", + "LOAD_PERMISSION", + "LOAD_PERMISSION_LIST", + "PRODUCT_CODE_VALUES", + "PRODUCT_CODE", + "PRODUCT_CODE_LIST", + "FPGA_IMAGE_ATTRIBUTE", + "FPGA_IMAGE_ID_LIST", + "DESCRIBE_FPGA_IMAGES_MAX_RESULTS", + "OWNER_STRING_LIST", + "DESCRIBE_FPGA_IMAGES_INPUT", + "DESCRIBE_FPGA_IMAGES_OUTPUT", + "DESCRIBE_FPGA_IMAGES", + "INSTANCE_TYPES_LIST", + "PCI_ID", + "FPGA_IMAGE_STATE_CODE", + "FPGA_IMAGE_STATE", + "FPGA_IMAGE", + "FPGA_IMAGE_LIST", + "DESCRIBE_HOST_RESERVATIONS_MAX_RESULTS", + "DESCRIBE_HOST_RESERVATION_OFFERINGS_INPUT", + "DESCRIBE_HOST_RESERVATION_OFFERINGS_OUTPUT", + "DESCRIBE_HOST_RESERVATION_OFFERINGS", + "PAYMENT_OPTION", + "HOST_OFFERING", + "HOST_OFFERING_SET", + "HOST_RESERVATION_ID", + "HOST_RESERVATION_ID_SET", + "DESCRIBE_HOST_RESERVATIONS_INPUT", + "DESCRIBE_HOST_RESERVATIONS_OUTPUT", + "DESCRIBE_HOST_RESERVATIONS", + "RESPONSE_HOST_ID_SET", + "HOST_RESERVATION", + "HOST_RESERVATION_SET", + "DESCRIBE_HOSTS_INPUT", + "DESCRIBE_HOSTS_OUTPUT", + "DESCRIBE_HOSTS", + "INSTANCE_CAPACITY", + "AVAILABLE_INSTANCE_CAPACITY_LIST", + "AVAILABLE_CAPACITY", + "HOST_CPU_OPTIONS", + "HOST_PROPERTIES", + "HOST_INSTANCE", + "HOST_INSTANCE_LIST", + "HOST", + "HOST_LIST", + "IAM_INSTANCE_PROFILE_ASSOCIATION_ID", + "ASSOCIATION_ID_LIST", + "DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_MAX_RESULTS", + "DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_INPUT", + "DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_OUTPUT", + "DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS", + "IAM_INSTANCE_PROFILE_ASSOCIATION_SET", + "DESCRIBE_IDENTITY_ID_FORMAT_INPUT", + "DESCRIBE_IDENTITY_ID_FORMAT_OUTPUT", + "DESCRIBE_IDENTITY_ID_FORMAT", + "DESCRIBE_ID_FORMAT_INPUT", + "DESCRIBE_ID_FORMAT_OUTPUT", + "DESCRIBE_ID_FORMAT", + "IMAGE_ATTRIBUTE_NAME", + ), + ( + "DESCRIBE_IMAGE_ATTRIBUTE_INPUT", + "DESCRIBE_IMAGE_ATTRIBUTE_OUTPUT", + "DESCRIBE_IMAGE_ATTRIBUTE", + "LAUNCH_PERMISSION", + "LAUNCH_PERMISSION_LIST", + "DESCRIBE_IMAGE_REFERENCES_IMAGE_ID_STRING_LIST", + "DESCRIBE_IMAGE_REFERENCES_MAX_RESULTS", + "IMAGE_REFERENCE_RESOURCE_TYPE", + "IMAGE_REFERENCE_OPTION_NAME", + "RESOURCE_TYPE_OPTION_VALUE", + "RESOURCE_TYPE_OPTION_VALUES_LIST", + "RESOURCE_TYPE_OPTION", + "RESOURCE_TYPE_OPTION_LIST", + "RESOURCE_TYPE_REQUEST", + "RESOURCE_TYPE_REQUEST_LIST", + "DESCRIBE_IMAGE_REFERENCES_INPUT", + "DESCRIBE_IMAGE_REFERENCES_OUTPUT", + "DESCRIBE_IMAGE_REFERENCES", + "IMAGE_REFERENCE", + "IMAGE_REFERENCE_LIST", + "EXECUTABLE_BY_STRING_LIST", + "DESCRIBE_IMAGES_INPUT", + "DESCRIBE_IMAGES_OUTPUT", + "DESCRIBE_IMAGES", + "BOOT_MODE_VALUES", + "HYPERVISOR_TYPE", + "IMAGE_TYPE_VALUES", + "IMAGE_WATERMARK", + "IMAGE_WATERMARK_LIST", + "IMDS_SUPPORT_VALUES", + "INSTANCE_TYPE_ITEM", + "SUPPORTED_INSTANCE_TYPE_SET", + "UNSUPPORTED_INSTANCE_TYPE_SET", + "INSTANCE_TYPE_SPECIFICATION", + "DEVICE_TYPE", + "SCAN_RESULTS", + "IMAGE_STATE", + "TPM_SUPPORT_VALUES", + "IMAGE", + "IMAGE_LIST", + "DESCRIBE_IMAGE_USAGE_REPORTS_IMAGE_ID_STRING_LIST", + "DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_MAX_RESULTS", + "IMAGE_USAGE_REPORT_ID_STRING_LIST", + "DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_INPUT", + "DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_OUTPUT", + "DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES", + "IMAGE_USAGE_REPORT_ENTRY", + "IMAGE_USAGE_REPORT_ENTRY_LIST", + "DESCRIBE_IMAGE_USAGE_REPORTS_MAX_RESULTS", + "DESCRIBE_IMAGE_USAGE_REPORTS_INPUT", + "DESCRIBE_IMAGE_USAGE_REPORTS_OUTPUT", + "DESCRIBE_IMAGE_USAGE_REPORTS", + "USER_ID_LIST", + "IMAGE_USAGE_RESOURCE_TYPE_OPTION", + "IMAGE_USAGE_RESOURCE_TYPE_OPTION_LIST", + "IMAGE_USAGE_RESOURCE_TYPE", + "IMAGE_USAGE_RESOURCE_TYPE_LIST", + "IMAGE_USAGE_REPORT_STATE", + "IMAGE_USAGE_REPORT_STATE_REASON", + "IMAGE_USAGE_REPORT", + "IMAGE_USAGE_REPORT_LIST", + "IMPORT_IMAGE_TASK_ID", + "IMPORT_TASK_ID_LIST", + "DESCRIBE_IMPORT_IMAGE_TASKS_INPUT", + "DESCRIBE_IMPORT_IMAGE_TASKS_OUTPUT", + "DESCRIBE_IMPORT_IMAGE_TASKS", + "IMPORT_IMAGE_LICENSE_CONFIGURATION_RESPONSE", + "IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_RESPONSE", + "SENSITIVE_URL", + "USER_BUCKET_DETAILS", + "SNAPSHOT_DETAIL", + "SNAPSHOT_DETAIL_LIST", + "IMPORT_IMAGE_TASK", + "IMPORT_IMAGE_TASK_LIST", + "IMPORT_SNAPSHOT_TASK_ID", + "IMPORT_SNAPSHOT_TASK_ID_LIST", + "DESCRIBE_IMPORT_SNAPSHOT_TASKS_INPUT", + "DESCRIBE_IMPORT_SNAPSHOT_TASKS_OUTPUT", + "DESCRIBE_IMPORT_SNAPSHOT_TASKS", + "SNAPSHOT_TASK_DETAIL", + "IMPORT_SNAPSHOT_TASK", + "IMPORT_SNAPSHOT_TASK_LIST", + "DESCRIBE_INSTANCE_ATTRIBUTE_INPUT", + "DESCRIBE_INSTANCE_ATTRIBUTE_OUTPUT", + "DESCRIBE_INSTANCE_ATTRIBUTE", + "EBS_INSTANCE_BLOCK_DEVICE", + ), + ( + "INSTANCE_ID_STRING_LIST", + "INSTANCE_ATTRIBUTE_NAME", + "INSTANCE_BLOCK_DEVICE_MAPPING", + "INSTANCE_BLOCK_DEVICE_MAPPING_LIST", + "ATTRIBUTE_BOOLEAN_VALUE", + "ENCLAVE_OPTIONS", + "INSTANCE_CONNECT_ENDPOINT_MAX_RESULTS", + "DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_INPUT", + "DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_OUTPUT", + "DESCRIBE_INSTANCE_CONNECT_ENDPOINTS", + "INSTANCE_CONNECT_ENDPOINT_SET", + "DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_MAX_RESULTS", + "DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_INPUT", + "DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_OUTPUT", + "DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS", + "INSTANCE_CREDIT_SPECIFICATION", + "INSTANCE_CREDIT_SPECIFICATION_LIST", + "DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT", + "DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT", + "DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES", + "INSTANCE_EVENT_WINDOW_ID_SET", + "RESULT_RANGE", + "DESCRIBE_INSTANCE_EVENT_WINDOWS_INPUT", + "DESCRIBE_INSTANCE_EVENT_WINDOWS_OUTPUT", + "DESCRIBE_INSTANCE_EVENT_WINDOWS", + "INSTANCE_EVENT_WINDOW_SET", + "DESCRIBE_INSTANCE_IMAGE_METADATA_MAX_RESULTS", + "DESCRIBE_INSTANCE_IMAGE_METADATA_INPUT", + "DESCRIBE_INSTANCE_IMAGE_METADATA_OUTPUT", + "DESCRIBE_INSTANCE_IMAGE_METADATA", + "IMAGE_METADATA", + "INSTANCE_STATE_NAME", + "INSTANCE_STATE", + "INSTANCE_IMAGE_METADATA", + "INSTANCE_IMAGE_METADATA_LIST", + "DESCRIBE_INSTANCES_INPUT", + "DESCRIBE_INSTANCES_OUTPUT", + "DESCRIBE_INSTANCES", + "CAPACITY_RESERVATION_SPECIFICATION_RESPONSE", + "CPU_OPTIONS", + "INSTANCE_BOOT_MODE_VALUES", + "ELASTIC_GPU_ASSOCIATION", + "ELASTIC_GPU_ASSOCIATION_LIST", + "ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION", + "ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION_LIST", + "HIBERNATION_OPTIONS", + "INSTANCE_LIFECYCLE_TYPE", + "LICENSE_CONFIGURATION", + "LICENSE_LIST", + "INSTANCE_AUTO_RECOVERY_STATE", + "INSTANCE_REBOOT_MIGRATION_STATE", + "INSTANCE_MAINTENANCE_OPTIONS", + "INSTANCE_METADATA_ENDPOINT_STATE", + "INSTANCE_METADATA_PROTOCOL_STATE", + "HTTP_TOKENS_STATE", + "INSTANCE_METADATA_TAGS_STATE", + "INSTANCE_METADATA_OPTIONS_STATE", + "INSTANCE_METADATA_OPTIONS_RESPONSE", + "MONITORING_STATE", + "MONITORING", + "INSTANCE_NETWORK_INTERFACE_ASSOCIATION", + "INSTANCE_ATTACHMENT_ENA_SRD_UDP_SPECIFICATION", + "INSTANCE_ATTACHMENT_ENA_SRD_SPECIFICATION", + "INSTANCE_NETWORK_INTERFACE_ATTACHMENT", + "CONNECTION_TRACKING_SPECIFICATION_RESPONSE", + "INSTANCE_IPV4_PREFIX", + "INSTANCE_IPV4_PREFIX_LIST", + "INSTANCE_IPV6_PREFIX", + "INSTANCE_IPV6_PREFIX_LIST", + "INSTANCE_PRIVATE_IP_ADDRESS", + "INSTANCE_PRIVATE_IP_ADDRESS_LIST", + "INSTANCE_NETWORK_INTERFACE", + "INSTANCE_NETWORK_INTERFACE_LIST", + "INSTANCE_NETWORK_PERFORMANCE_OPTIONS", + "PRIVATE_DNS_NAME_OPTIONS_RESPONSE", + "INSTANCE_SECONDARY_INTERFACE_ATTACHMENT", + "INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS", + "INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST", + "SECONDARY_INTERFACE_ID", + "SECONDARY_INTERFACE_STATUS", + "INSTANCE_SECONDARY_INTERFACE", + "INSTANCE_SECONDARY_INTERFACE_LIST", + "INSTANCE", + "INSTANCE_LIST", + "RESERVATION", + "RESERVATION_LIST", + "DESCRIBE_INSTANCE_SQL_HA_STATES_REQUEST_MAX_RESULTS_INTEGER", + "ENCLAVE_OPTIONS_REQUEST", + ), + ( + "DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_INPUT", + "DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_OUTPUT", + "DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES", + "HA_STATUS", + "SQL_SERVER_LICENSE_USAGE", + "REGISTERED_INSTANCE", + "REGISTERED_INSTANCE_LIST", + "DESCRIBE_INSTANCE_SQL_HA_STATES_INPUT", + "DESCRIBE_INSTANCE_SQL_HA_STATES_OUTPUT", + "DESCRIBE_INSTANCE_SQL_HA_STATES", + "DESCRIBE_INSTANCE_STATUS_INPUT", + "DESCRIBE_INSTANCE_STATUS_OUTPUT", + "DESCRIBE_INSTANCE_STATUS", + "SUMMARY_STATUS", + "APPLICATION_STATUS_SUMMARY", + "STATUS_NAME", + "STATUS_TYPE", + "EBS_STATUS_DETAILS", + "EBS_STATUS_DETAILS_LIST", + "EBS_STATUS_SUMMARY", + "EVENT_CODE", + "INSTANCE_EVENT_ID", + "INSTANCE_STATUS_EVENT", + "INSTANCE_STATUS_EVENT_LIST", + "INSTANCE_STATUS_DETAILS", + "INSTANCE_STATUS_DETAILS_LIST", + "INSTANCE_STATUS_SUMMARY", + "PERFORMANCE_STATUS_SUMMARY", + "INSTANCE_STATUS", + "INSTANCE_STATUS_LIST", + "DESCRIBE_INSTANCE_TOPOLOGY_GROUP_NAME_SET", + "DESCRIBE_INSTANCE_TOPOLOGY_INSTANCE_ID_SET", + "DESCRIBE_INSTANCE_TOPOLOGY_MAX_RESULTS", + "DESCRIBE_INSTANCE_TOPOLOGY_INPUT", + "DESCRIBE_INSTANCE_TOPOLOGY_OUTPUT", + "DESCRIBE_INSTANCE_TOPOLOGY", + "NETWORK_NODES_LIST", + "INSTANCE_TOPOLOGY", + "INSTANCE_SET", + "LOCATION_TYPE", + "DITO_MAX_RESULTS", + "DESCRIBE_INSTANCE_TYPE_OFFERINGS_INPUT", + "DESCRIBE_INSTANCE_TYPE_OFFERINGS_OUTPUT", + "DESCRIBE_INSTANCE_TYPE_OFFERINGS", + "LOCATION", + "INSTANCE_TYPE_OFFERING", + "INSTANCE_TYPE_OFFERINGS_LIST", + "INCLUDE_UNSUPPORTED_IN_REGION", + "REQUEST_INSTANCE_TYPE_LIST", + "DIT_MAX_RESULTS", + "DESCRIBE_INSTANCE_TYPES_INPUT", + "DESCRIBE_INSTANCE_TYPES_OUTPUT", + "DESCRIBE_INSTANCE_TYPES", + "AUTO_RECOVERY_FLAG", + "BARE_METAL_FLAG", + "BURSTABLE_PERFORMANCE_FLAG", + "CURRENT_GENERATION_FLAG", + "DEDICATED_HOST_FLAG", + "ATTACHMENT_LIMIT_TYPE", + "BASELINE_BANDWIDTH_IN_MBPS", + "BASELINE_IOPS", + "BASELINE_THROUGHPUT_IN_M_BPS", + "EBS_CARD_INDEX", + "MAXIMUM_BANDWIDTH_IN_MBPS", + "MAXIMUM_IOPS", + "MAXIMUM_THROUGHPUT_IN_M_BPS", + "EBS_CARD_INFO", + "EBS_CARD_INFO_LIST", + "EBS_OPTIMIZED_INFO", + "EBS_OPTIMIZED_SUPPORT", + "EBS_ENCRYPTION_SUPPORT", + "MAXIMUM_EBS_ATTACHMENTS", + "MAXIMUM_EBS_CARDS", + "EBS_NVME_SUPPORT", + "EBS_INFO", + "FPGA_DEVICE_COUNT", + "FPGA_DEVICE_MANUFACTURER_NAME", + "FPGA_DEVICE_MEMORY_SIZE", + "FPGA_DEVICE_MEMORY_INFO", + "FPGA_DEVICE_NAME", + "FPGA_DEVICE_INFO", + "FPGA_DEVICE_INFO_LIST", + "TOTAL_FPGA_MEMORY", + "FPGA_INFO", + "FREE_TIER_ELIGIBLE_FLAG", + "GPU_DEVICE_COUNT", + "GPU_PARTITION_SIZE", + "LOGICAL_GPU_COUNT", + "GPU_DEVICE_MANUFACTURER_NAME", + "GPU_DEVICE_MEMORY_SIZE", + "GPU_DEVICE_MEMORY_INFO", + "GPU_DEVICE_NAME", + "WORKLOAD", + "WORKLOADS_LIST", + "GPU_DEVICE_INFO", + "GPU_DEVICE_INFO_LIST", + "TOTAL_GPU_MEMORY", + "GPU_INFO", + "HIBERNATION_FLAG", + "INSTANCE_TYPE_HYPERVISOR", + "INFERENCE_DEVICE_COUNT", + "INFERENCE_DEVICE_MANUFACTURER_NAME", + "INFERENCE_DEVICE_MEMORY_SIZE", + "INFERENCE_DEVICE_MEMORY_INFO", + "INFERENCE_DEVICE_NAME", + "INFERENCE_DEVICE_INFO", + "INFERENCE_DEVICE_INFO_LIST", + "TOTAL_INFERENCE_MEMORY", + "INFERENCE_ACCELERATOR_INFO", + "DISK_COUNT", + "DISK_SIZE", + "DISK_TYPE", + "DISK_INFO", + "DISK_INFO_LIST", + "INSTANCE_STORAGE_ENCRYPTION_SUPPORT", + "EPHEMERAL_NVME_SUPPORT", + "INSTANCE_STORAGE_INFO", + "INSTANCE_STORAGE_FLAG", + "MEDIA_DEVICE_COUNT", + "MEDIA_DEVICE_MANUFACTURER_NAME", + "MEDIA_DEVICE_MEMORY_SIZE", + "MEDIA_DEVICE_MEMORY_INFO", + "MEDIA_DEVICE_NAME", + "MEDIA_DEVICE_INFO", + "MEDIA_DEVICE_INFO_LIST", + "TOTAL_MEDIA_MEMORY", + "MEDIA_ACCELERATOR_INFO", + "MEMORY_SIZE", + "MEMORY_INFO", + "BANDWIDTH_WEIGHTING_TYPE", + "BANDWIDTH_WEIGHTING_TYPE_LIST", + "DEFAULT_TCP_ESTABLISHED_TIMEOUT", + "DEFAULT_UDP_STREAM_TIMEOUT", + "DEFAULT_UDP_TIMEOUT", + "DEFAULT_CONNECTION_TRACKING_CONFIGURATION", + "DEFAULT_NETWORK_CARD_INDEX", + "MAXIMUM_EFA_INTERFACES", + "EFA_INFO", + "EFA_SUPPORTED_FLAG", + "ENA_SRD_SUPPORTED", + "ENA_SUPPORT", + "ENCRYPTION_IN_TRANSIT_SUPPORTED", + "FLEXIBLE_ENA_QUEUES_SUPPORT", + "MAX_IPV4_ADDR_PER_INTERFACE", + "IPV4_ADDRESSES_PER_SECONDARY_INTERFACE", + "MAX_IPV6_ADDR_PER_INTERFACE", + "IPV6_FLAG", + "MAXIMUM_NETWORK_CARDS", + "MAX_NETWORK_INTERFACES", + "MAXIMUM_SECONDARY_NETWORK_INTERFACES", + "BASELINE_BANDWIDTH_IN_GBPS", + "DEFAULT_ENA_QUEUE_COUNT_PER_INTERFACE", + ), + ( + "VIRTUALIZATION_TYPE", + "NETWORK_CARD_INTERFACE_TYPE", + "NETWORK_CARD_INTERFACE_TYPE_LIST", + "MAXIMUM_ENA_QUEUE_COUNT", + "MAXIMUM_ENA_QUEUE_COUNT_PER_INTERFACE", + "NETWORK_CARD_INDEX", + "NETWORK_PERFORMANCE", + "PEAK_BANDWIDTH_IN_GBPS", + "NETWORK_CARD_INFO", + "NETWORK_CARD_INFO_LIST", + "SECONDARY_NETWORK_SUPPORTED_FLAG", + "NETWORK_INFO", + "NEURON_DEVICE_CORE_COUNT", + "NEURON_DEVICE_CORE_VERSION", + "NEURON_DEVICE_CORE_INFO", + "NEURON_DEVICE_COUNT", + "NEURON_DEVICE_MEMORY_SIZE", + "NEURON_DEVICE_MEMORY_INFO", + "NEURON_DEVICE_NAME", + "NEURON_DEVICE_INFO", + "NEURON_DEVICE_INFO_LIST", + "TOTAL_NEURON_MEMORY", + "NEURON_INFO", + "NITRO_ENCLAVES_SUPPORT", + "NITRO_TPM_SUPPORTED_VERSION_TYPE", + "NITRO_TPM_SUPPORTED_VERSIONS_LIST", + "NITRO_TPM_INFO", + "NITRO_TPM_SUPPORT", + "PHC_SUPPORT", + "PLACEMENT_GROUP_STRATEGY", + "PLACEMENT_GROUP_STRATEGY_LIST", + "PLACEMENT_GROUP_INFO", + "CPU_MANUFACTURER_NAME", + "ARCHITECTURE_TYPE", + "ARCHITECTURE_TYPE_LIST", + "SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE", + "SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE_LIST", + "PROCESSOR_SUSTAINED_CLOCK_SPEED", + "PROCESSOR_INFO", + "REBOOT_MIGRATION_SUPPORT", + "BOOT_MODE_TYPE", + "BOOT_MODE_TYPE_LIST", + "SUPPORTED_IN_REGION", + "ROOT_DEVICE_TYPE", + "ROOT_DEVICE_TYPE_LIST", + "USAGE_CLASS_TYPE", + "USAGE_CLASS_TYPE_LIST", + "VIRTUALIZATION_TYPE_LIST", + "CORE_COUNT", + "THREADS_PER_CORE", + "V_CPU_COUNT", + "CORE_COUNT_LIST", + "THREADS_PER_CORE_LIST", + "V_CPU_INFO", + "INSTANCE_TYPE_INFO", + "INSTANCE_TYPE_INFO_LIST", + "INTERNET_GATEWAY_ID_LIST", + "DESCRIBE_INTERNET_GATEWAYS_MAX_RESULTS", + "DESCRIBE_INTERNET_GATEWAYS_INPUT", + "DESCRIBE_INTERNET_GATEWAYS_OUTPUT", + "DESCRIBE_INTERNET_GATEWAYS", + "INTERNET_GATEWAY_LIST", + "DESCRIBE_IPAM_BYOASN_MAX_RESULTS", + "DESCRIBE_IPAM_BYOASN_INPUT", + "DESCRIBE_IPAM_BYOASN_OUTPUT", + "DESCRIBE_IPAM_BYOASN", + "BYOASN_SET", + "DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_INPUT", + "DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_OUTPUT", + "DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS", + "IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_SET", + "DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_INPUT", + "DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_OUTPUT", + "DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS", + "IPAM_INTERNET_REGISTRY_ASSOCIATION_SET", + "DESCRIBE_IPAM_POLICIES_INPUT", + "DESCRIBE_IPAM_POLICIES_OUTPUT", + "DESCRIBE_IPAM_POLICIES", + "IPAM_POLICY_SET", + "DESCRIBE_IPAM_POOL_ALLOCATIONS_MAX_RESULTS", + "DESCRIBE_IPAM_POOL_ALLOCATIONS_INPUT", + "DESCRIBE_IPAM_POOL_ALLOCATIONS_OUTPUT", + "DESCRIBE_IPAM_POOL_ALLOCATIONS", + "IPAM_POOL_ALLOCATION_SET", + "DESCRIBE_IPAM_POOLS_INPUT", + "DESCRIBE_IPAM_POOLS_OUTPUT", + "DESCRIBE_IPAM_POOLS", + "IPAM_POOL_SET", + "DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_INPUT", + "DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_OUTPUT", + "DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS", + "IPAM_PREFIX_LIST_RESOLVER_SET", + "DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_INPUT", + "DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_OUTPUT", + "DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS", + "IPAM_PREFIX_LIST_RESOLVER_TARGET_SET", + "DESCRIBE_IPAM_RESOURCE_DISCOVERIES_INPUT", + "DESCRIBE_IPAM_RESOURCE_DISCOVERIES_OUTPUT", + "DESCRIBE_IPAM_RESOURCE_DISCOVERIES", + "IPAM_RESOURCE_DISCOVERY_SET", + "DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_INPUT", + "DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_OUTPUT", + "DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS", + "IPAM_RESOURCE_DISCOVERY_ASSOCIATION_SET", + "DESCRIBE_IPAMS_INPUT", + "DESCRIBE_IPAMS_OUTPUT", + "DESCRIBE_IPAMS", + "IPAM_SET", + "DESCRIBE_IPAM_SCOPES_INPUT", + "DESCRIBE_IPAM_SCOPES_OUTPUT", + "DESCRIBE_IPAM_SCOPES", + "IPAM_SCOPE_SET", + "IPV6_POOL_MAX_RESULTS", + "IPV6_POOL_ID_LIST", + "DESCRIBE_IPV6_POOLS_INPUT", + "DESCRIBE_IPV6_POOLS_OUTPUT", + "DESCRIBE_IPV6_POOLS", + ), + ( + "POOL_CIDR_BLOCK", + "POOL_CIDR_BLOCKS_SET", + "IPV6_POOL", + "IPV6_POOL_SET", + "KEY_NAME_STRING_LIST", + "KEY_PAIR_ID_STRING_LIST", + "DESCRIBE_KEY_PAIRS_INPUT", + "DESCRIBE_KEY_PAIRS_OUTPUT", + "DESCRIBE_KEY_PAIRS", + "KEY_PAIR_INFO", + "KEY_PAIR_LIST", + "LAUNCH_TEMPLATE_ID_STRING_LIST", + "LAUNCH_TEMPLATE_NAME_STRING_LIST", + "DESCRIBE_LAUNCH_TEMPLATES_MAX_RESULTS", + "DESCRIBE_LAUNCH_TEMPLATES_INPUT", + "DESCRIBE_LAUNCH_TEMPLATES_OUTPUT", + "DESCRIBE_LAUNCH_TEMPLATES", + "LAUNCH_TEMPLATE_SET", + "DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_INPUT", + "DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT", + "DESCRIBE_LAUNCH_TEMPLATE_VERSIONS", + "LAUNCH_TEMPLATE_VERSION_SET", + "LOCAL_GATEWAY_ROUTE_TABLE_ID_SET", + "LOCAL_GATEWAY_MAX_RESULTS", + "DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_INPUT", + "DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_OUTPUT", + "DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES", + "LOCAL_GATEWAY_ROUTE_TABLE_SET", + "LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID_SET", + "DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_INPUT", + "DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_OUTPUT", + "DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS", + "LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_SET", + "LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID_SET", + "DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_INPUT", + "DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_OUTPUT", + "DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS", + "LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_SET", + "LOCAL_GATEWAY_ID_SET", + "DESCRIBE_LOCAL_GATEWAYS_INPUT", + "DESCRIBE_LOCAL_GATEWAYS_OUTPUT", + "DESCRIBE_LOCAL_GATEWAYS", + "LOCAL_GATEWAY", + "LOCAL_GATEWAY_SET", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID_SET", + "DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_INPUT", + "DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_OUTPUT", + "DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_SET", + "DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_INPUT", + "DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_OUTPUT", + "DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES", + "LOCAL_GATEWAY_VIRTUAL_INTERFACE_SET", + "DESCRIBE_LOCKED_SNAPSHOTS_MAX_RESULTS", + "DESCRIBE_LOCKED_SNAPSHOTS_INPUT", + "DESCRIBE_LOCKED_SNAPSHOTS_OUTPUT", + "DESCRIBE_LOCKED_SNAPSHOTS", + "COOL_OFF_PERIOD_RESPONSE_HOURS", + "RETENTION_PERIOD_RESPONSE_DAYS", + "LOCK_STATE", + "LOCKED_SNAPSHOTS_INFO", + "LOCKED_SNAPSHOTS_INFO_LIST", + "DESCRIBE_MAC_HOSTS_REQUEST_MAX_RESULTS", + "DESCRIBE_MAC_HOSTS_INPUT", + "DESCRIBE_MAC_HOSTS_OUTPUT", + "DESCRIBE_MAC_HOSTS", + "MAC_OS_VERSION_STRING_LIST", + "MAC_HOST", + "MAC_HOST_LIST", + "MAC_MODIFICATION_TASK_ID_LIST", + "DESCRIBE_MAC_MODIFICATION_TASKS_MAX_RESULTS", + "DESCRIBE_MAC_MODIFICATION_TASKS_INPUT", + "DESCRIBE_MAC_MODIFICATION_TASKS_OUTPUT", + "DESCRIBE_MAC_MODIFICATION_TASKS", + "MAC_MODIFICATION_TASK_LIST", + "PREFIX_LIST_MAX_RESULTS", + "DESCRIBE_MANAGED_PREFIX_LISTS_INPUT", + "DESCRIBE_MANAGED_PREFIX_LISTS_OUTPUT", + "DESCRIBE_MANAGED_PREFIX_LISTS", + "MANAGED_PREFIX_LIST_SET", + "DESCRIBE_MOVING_ADDRESSES_MAX_RESULTS", + "DESCRIBE_MOVING_ADDRESSES_INPUT", + "DESCRIBE_MOVING_ADDRESSES_OUTPUT", + "DESCRIBE_MOVING_ADDRESSES", + "MOVE_STATUS", + "MOVING_ADDRESS_STATUS", + "MOVING_ADDRESS_STATUS_SET", + "DESCRIBE_NAT_GATEWAYS_MAX_RESULTS", + "NAT_GATEWAY_ID_STRING_LIST", + "DESCRIBE_NAT_GATEWAYS_INPUT", + "DESCRIBE_NAT_GATEWAYS_OUTPUT", + "DESCRIBE_NAT_GATEWAYS", + "NAT_GATEWAY_LIST", + "DESCRIBE_NETWORK_ACLS_MAX_RESULTS", + "NETWORK_ACL_ID_STRING_LIST", + "DESCRIBE_NETWORK_ACLS_INPUT", + "DESCRIBE_NETWORK_ACLS_OUTPUT", + "DESCRIBE_NETWORK_ACLS", + "NETWORK_ACL_LIST", + "NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID_LIST", + "DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_INPUT", + "DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_OUTPUT", + "DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES", + "FINDINGS_FOUND", + "NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS", + "NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_LIST", + "NETWORK_INSIGHTS_ACCESS_SCOPE_ID_LIST", + "DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_INPUT", + "DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_OUTPUT", + "DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES", + "NETWORK_INSIGHTS_ACCESS_SCOPE_LIST", + "NETWORK_INSIGHTS_ANALYSIS_ID_LIST", + ), + ( + "DESCRIBE_NETWORK_INSIGHTS_ANALYSES_INPUT", + "DESCRIBE_NETWORK_INSIGHTS_ANALYSES_OUTPUT", + "DESCRIBE_NETWORK_INSIGHTS_ANALYSES", + "ARN_LIST", + "NETWORK_INSIGHTS_ANALYSIS", + "NETWORK_INSIGHTS_ANALYSIS_LIST", + "NETWORK_INSIGHTS_PATH_ID_LIST", + "DESCRIBE_NETWORK_INSIGHTS_PATHS_INPUT", + "DESCRIBE_NETWORK_INSIGHTS_PATHS_OUTPUT", + "DESCRIBE_NETWORK_INSIGHTS_PATHS", + "NETWORK_INSIGHTS_PATH_LIST", + "NETWORK_INTERFACE_ATTRIBUTE", + "DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_INPUT", + "DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT", + "DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE", + "DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_MAX_RESULTS", + "NETWORK_INTERFACE_PERMISSION_ID_LIST", + "DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_INPUT", + "DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_OUTPUT", + "DESCRIBE_NETWORK_INTERFACE_PERMISSIONS", + "NETWORK_INTERFACE_PERMISSION_LIST", + "DESCRIBE_NETWORK_INTERFACES_MAX_RESULTS", + "NETWORK_INTERFACE_ID_LIST", + "DESCRIBE_NETWORK_INTERFACES_INPUT", + "DESCRIBE_NETWORK_INTERFACES_OUTPUT", + "DESCRIBE_NETWORK_INTERFACES", + "NETWORK_INTERFACE_LIST", + "OUTPOST_LAG_MAX_RESULTS", + "OUTPOST_LAG_ID_SET", + "DESCRIBE_OUTPOST_LAGS_INPUT", + "DESCRIBE_OUTPOST_LAGS_OUTPUT", + "DESCRIBE_OUTPOST_LAGS", + "SERVICE_LINK_VIRTUAL_INTERFACE_ID", + "SERVICE_LINK_VIRTUAL_INTERFACE_ID_SET", + "OUTPOST_LAG", + "OUTPOST_LAG_SET", + "PLACEMENT_GROUP_ID_STRING_LIST", + "PLACEMENT_GROUP_STRING_LIST", + "DESCRIBE_PLACEMENT_GROUPS_INPUT", + "DESCRIBE_PLACEMENT_GROUPS_OUTPUT", + "DESCRIBE_PLACEMENT_GROUPS", + "PLACEMENT_GROUP_LIST", + "PREFIX_LIST_RESOURCE_ID_STRING_LIST", + "DESCRIBE_PREFIX_LISTS_INPUT", + "DESCRIBE_PREFIX_LISTS_OUTPUT", + "DESCRIBE_PREFIX_LISTS", + "PREFIX_LIST", + "PREFIX_LIST_SET", + "DESCRIBE_PRINCIPAL_ID_FORMAT_MAX_RESULTS", + "RESOURCE_LIST", + "DESCRIBE_PRINCIPAL_ID_FORMAT_INPUT", + "DESCRIBE_PRINCIPAL_ID_FORMAT_OUTPUT", + "DESCRIBE_PRINCIPAL_ID_FORMAT", + "PRINCIPAL_ID_FORMAT", + "PRINCIPAL_ID_FORMAT_LIST", + "POOL_MAX_RESULTS", + "PUBLIC_IPV4_POOL_ID_STRING_LIST", + "DESCRIBE_PUBLIC_IPV4_POOLS_INPUT", + "DESCRIBE_PUBLIC_IPV4_POOLS_OUTPUT", + "DESCRIBE_PUBLIC_IPV4_POOLS", + "PUBLIC_IPV4_POOL_RANGE", + "PUBLIC_IPV4_POOL_RANGE_SET", + "PUBLIC_IPV4_POOL", + "PUBLIC_IPV4_POOL_SET", + "REGION_NAME_STRING_LIST", + "DESCRIBE_REGIONS_INPUT", + "DESCRIBE_REGIONS_OUTPUT", + "DESCRIBE_REGIONS", + "REGION_GEOGRAPHY", + "REGION_GEOGRAPHY_LIST", + "REGION", + "REGION_LIST", + "DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_MAX_RESULTS", + "REPLACE_ROOT_VOLUME_TASK_IDS", + "DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_INPUT", + "DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_OUTPUT", + "DESCRIBE_REPLACE_ROOT_VOLUME_TASKS", + "REPLACE_ROOT_VOLUME_TASKS", + "OFFERING_CLASS_TYPE", + "OFFERING_TYPE_VALUES", + "RESERVED_INSTANCES_ID_STRING_LIST", + "DESCRIBE_RESERVED_INSTANCES_INPUT", + "DESCRIBE_RESERVED_INSTANCES_OUTPUT", + "DESCRIBE_RESERVED_INSTANCES", + "FLOAT", + "RECURRING_CHARGE_FREQUENCY", + "RECURRING_CHARGE", + "RECURRING_CHARGES_LIST", + "SCOPE", + "RESERVED_INSTANCE_STATE", + "RESERVED_INSTANCES", + "RESERVED_INSTANCES_LIST", + "DESCRIBE_RESERVED_INSTANCES_LISTINGS_INPUT", + "DESCRIBE_RESERVED_INSTANCES_LISTINGS_OUTPUT", + "DESCRIBE_RESERVED_INSTANCES_LISTINGS", + "RESERVED_INSTANCES_MODIFICATION_ID", + "RESERVED_INSTANCES_MODIFICATION_ID_STRING_LIST", + "DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_INPUT", + "DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_OUTPUT", + "DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS", + "RESERVED_INSTANCES_CONFIGURATION", + "RESERVED_INSTANCES_MODIFICATION_RESULT", + "RESERVED_INSTANCES_MODIFICATION_RESULT_LIST", + "RESERVED_INSTANCES_ID", + "RESERVED_INTANCES_IDS", + "RESERVED_INSTANCES_MODIFICATION", + "RESERVED_INSTANCES_MODIFICATION_LIST", + "RESERVED_INSTANCES_OFFERING_ID_STRING_LIST", + ), + ( + "DESCRIBE_RESERVED_INSTANCES_OFFERINGS_INPUT", + "DESCRIBE_RESERVED_INSTANCES_OFFERINGS_OUTPUT", + "DESCRIBE_RESERVED_INSTANCES_OFFERINGS", + "PRICING_DETAIL", + "PRICING_DETAILS_LIST", + "RESERVED_INSTANCES_OFFERING", + "RESERVED_INSTANCES_OFFERING_LIST", + "ROUTE_SERVER_ENDPOINT_IDS_LIST", + "DESCRIBE_ROUTE_SERVER_ENDPOINTS_INPUT", + "DESCRIBE_ROUTE_SERVER_ENDPOINTS_OUTPUT", + "DESCRIBE_ROUTE_SERVER_ENDPOINTS", + "ROUTE_SERVER_ENDPOINTS_LIST", + "ROUTE_SERVER_PEER_IDS_LIST", + "DESCRIBE_ROUTE_SERVER_PEERS_INPUT", + "DESCRIBE_ROUTE_SERVER_PEERS_OUTPUT", + "DESCRIBE_ROUTE_SERVER_PEERS", + "ROUTE_SERVER_PEERS_LIST", + "ROUTE_SERVER_IDS_LIST", + "DESCRIBE_ROUTE_SERVERS_INPUT", + "DESCRIBE_ROUTE_SERVERS_OUTPUT", + "DESCRIBE_ROUTE_SERVERS", + "ROUTE_SERVERS_LIST", + "DESCRIBE_ROUTE_TABLES_MAX_RESULTS", + "ROUTE_TABLE_ID_STRING_LIST", + "DESCRIBE_ROUTE_TABLES_INPUT", + "DESCRIBE_ROUTE_TABLES_OUTPUT", + "DESCRIBE_ROUTE_TABLES", + "ROUTE_TABLE_LIST", + "SLOT_DATE_TIME_RANGE_REQUEST", + "DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_MAX_RESULTS", + "OCCURRENCE_DAY_REQUEST_SET", + "SCHEDULED_INSTANCE_RECURRENCE_REQUEST", + "DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_INPUT", + "DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_OUTPUT", + "DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY", + "OCCURRENCE_DAY_SET", + "SCHEDULED_INSTANCE_RECURRENCE", + "SCHEDULED_INSTANCE_AVAILABILITY", + "SCHEDULED_INSTANCE_AVAILABILITY_SET", + "SCHEDULED_INSTANCE_ID", + "SCHEDULED_INSTANCE_ID_REQUEST_SET", + "SLOT_START_TIME_RANGE_REQUEST", + "DESCRIBE_SCHEDULED_INSTANCES_INPUT", + "DESCRIBE_SCHEDULED_INSTANCES_OUTPUT", + "DESCRIBE_SCHEDULED_INSTANCES", + "SCHEDULED_INSTANCE", + "SCHEDULED_INSTANCE_SET", + "DESCRIBE_SECONDARY_INTERFACES_MAX_RESULTS", + "SECONDARY_INTERFACE_ID_LIST", + "DESCRIBE_SECONDARY_INTERFACES_INPUT", + "DESCRIBE_SECONDARY_INTERFACES_OUTPUT", + "DESCRIBE_SECONDARY_INTERFACES", + "SECONDARY_INTERFACE_ATTACHMENT", + "SECONDARY_INTERFACE_IPV4_ADDRESS", + "SECONDARY_INTERFACE_IPV4_ADDRESS_LIST", + "SECONDARY_INTERFACE", + "SECONDARY_INTERFACE_LIST", + "DESCRIBE_SECONDARY_NETWORKS_MAX_RESULTS", + "SECONDARY_NETWORK_ID_LIST", + "DESCRIBE_SECONDARY_NETWORKS_INPUT", + "DESCRIBE_SECONDARY_NETWORKS_OUTPUT", + "DESCRIBE_SECONDARY_NETWORKS", + "SECONDARY_NETWORK_LIST", + "DESCRIBE_SECONDARY_SUBNETS_MAX_RESULTS", + "SECONDARY_SUBNET_ID_LIST", + "DESCRIBE_SECONDARY_SUBNETS_INPUT", + "DESCRIBE_SECONDARY_SUBNETS_OUTPUT", + "DESCRIBE_SECONDARY_SUBNETS", + "SECONDARY_SUBNET_LIST", + "GROUP_IDS", + "DESCRIBE_SECURITY_GROUP_REFERENCES_INPUT", + "DESCRIBE_SECURITY_GROUP_REFERENCES_OUTPUT", + "DESCRIBE_SECURITY_GROUP_REFERENCES", + "SECURITY_GROUP_REFERENCE", + "SECURITY_GROUP_REFERENCES", + "DESCRIBE_SECURITY_GROUP_RULES_MAX_RESULTS", + "DESCRIBE_SECURITY_GROUP_RULES_INPUT", + "DESCRIBE_SECURITY_GROUP_RULES_OUTPUT", + "DESCRIBE_SECURITY_GROUP_RULES", + "GROUP_NAME_STRING_LIST", + "DESCRIBE_SECURITY_GROUPS_MAX_RESULTS", + "DESCRIBE_SECURITY_GROUPS_INPUT", + "DESCRIBE_SECURITY_GROUPS_OUTPUT", + "DESCRIBE_SECURITY_GROUPS", + "SECURITY_GROUP", + "SECURITY_GROUP_LIST", + "DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_MAX_RESULTS", + "DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_INPUT", + "DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_OUTPUT", + "DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS", + "SECURITY_GROUP_VPC_ASSOCIATION", + "SECURITY_GROUP_VPC_ASSOCIATION_LIST", + "SERVICE_LINK_MAX_RESULTS", + "DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_INPUT", + "DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_OUTPUT", + "DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES", + "SERVICE_LINK_VIRTUAL_INTERFACE_CONFIGURATION_STATE", + "SERVICE_LINK_VIRTUAL_INTERFACE", + ), + ( + "SPOT_FLEET_REQUEST_ID", + "SPOT_INSTANCE_STATE_FAULT", + "RI_PRODUCT_DESCRIPTION", + "SERVICE_LINK_VIRTUAL_INTERFACE_SET", + "DESCRIBE_SNAPSHOT_ATTRIBUTE_INPUT", + "DESCRIBE_SNAPSHOT_ATTRIBUTE_OUTPUT", + "DESCRIBE_SNAPSHOT_ATTRIBUTE", + "CREATE_VOLUME_PERMISSION", + "CREATE_VOLUME_PERMISSION_LIST", + "RESTORABLE_BY_STRING_LIST", + "DESCRIBE_SNAPSHOTS_INPUT", + "DESCRIBE_SNAPSHOTS_OUTPUT", + "DESCRIBE_SNAPSHOTS", + "SNAPSHOT", + "SNAPSHOT_LIST", + "DESCRIBE_SNAPSHOT_TIER_STATUS_MAX_RESULTS", + "DESCRIBE_SNAPSHOT_TIER_STATUS_INPUT", + "DESCRIBE_SNAPSHOT_TIER_STATUS_OUTPUT", + "DESCRIBE_SNAPSHOT_TIER_STATUS", + "TIERING_OPERATION_STATUS", + "SNAPSHOT_TIER_STATUS", + "SNAPSHOT_TIER_STATUS_SET", + "DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_INPUT", + "DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT", + "DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION", + "DESCRIBE_SPOT_FLEET_INSTANCES_MAX_RESULTS", + "DESCRIBE_SPOT_FLEET_INSTANCES_INPUT", + "DESCRIBE_SPOT_FLEET_INSTANCES_OUTPUT", + "DESCRIBE_SPOT_FLEET_INSTANCES", + "EVENT_TYPE", + "DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_MAX_RESULTS", + "DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_INPUT", + "DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_OUTPUT", + "DESCRIBE_SPOT_FLEET_REQUEST_HISTORY", + "HISTORY_RECORD", + "HISTORY_RECORDS", + "DESCRIBE_SPOT_FLEET_REQUESTS_INPUT", + "DESCRIBE_SPOT_FLEET_REQUESTS_OUTPUT", + "DESCRIBE_SPOT_FLEET_REQUESTS", + "EXCESS_CAPACITY_TERMINATION_POLICY", + "SPOT_FLEET_MONITORING", + "INSTANCE_NETWORK_INTERFACE_SPECIFICATION", + "INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST", + "SPOT_PLACEMENT", + "SPOT_FLEET_TAG_SPECIFICATION", + "SPOT_FLEET_TAG_SPECIFICATION_LIST", + "SPOT_FLEET_LAUNCH_SPECIFICATION", + "LAUNCH_SPECS_LIST", + "LAUNCH_TEMPLATE_OVERRIDES", + "LAUNCH_TEMPLATE_OVERRIDES_LIST", + "LAUNCH_TEMPLATE_CONFIG", + "LAUNCH_TEMPLATE_CONFIG_LIST", + "CLASSIC_LOAD_BALANCER", + "CLASSIC_LOAD_BALANCERS", + "CLASSIC_LOAD_BALANCERS_CONFIG", + "TARGET_GROUP", + "TARGET_GROUPS", + "TARGET_GROUPS_CONFIG", + "LOAD_BALANCERS_CONFIG", + "ON_DEMAND_ALLOCATION_STRATEGY", + "REPLACEMENT_STRATEGY", + "SPOT_CAPACITY_REBALANCE", + "SPOT_MAINTENANCE_STRATEGIES", + "SPOT_FLEET_REQUEST_CONFIG_DATA", + "SPOT_FLEET_REQUEST_CONFIG", + "SPOT_FLEET_REQUEST_CONFIG_SET", + "DESCRIBE_SPOT_INSTANCE_REQUESTS_INPUT", + "DESCRIBE_SPOT_INSTANCE_REQUESTS_OUTPUT", + "DESCRIBE_SPOT_INSTANCE_REQUESTS", + "RUN_INSTANCES_MONITORING_ENABLED", + "LAUNCH_SPECIFICATION", + "SPOT_INSTANCE_STATE", + "SPOT_INSTANCE_STATUS", + "SPOT_INSTANCE_REQUEST", + "SPOT_INSTANCE_REQUEST_LIST", + "INSTANCE_TYPE_LIST", + "PRODUCT_DESCRIPTION_LIST", + "DESCRIBE_SPOT_PRICE_HISTORY_INPUT", + "DESCRIBE_SPOT_PRICE_HISTORY_OUTPUT", + "DESCRIBE_SPOT_PRICE_HISTORY", + ), + ( + "TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST", + "SPOT_PRICE", + "SPOT_PRICE_HISTORY_LIST", + "DESCRIBE_STALE_SECURITY_GROUPS_MAX_RESULTS", + "DESCRIBE_STALE_SECURITY_GROUPS_NEXT_TOKEN", + "DESCRIBE_STALE_SECURITY_GROUPS_INPUT", + "DESCRIBE_STALE_SECURITY_GROUPS_OUTPUT", + "DESCRIBE_STALE_SECURITY_GROUPS", + "IP_RANGES", + "PREFIX_LIST_ID_SET", + "USER_ID_GROUP_PAIR_SET", + "STALE_IP_PERMISSION", + "STALE_IP_PERMISSION_SET", + "STALE_SECURITY_GROUP", + "STALE_SECURITY_GROUP_SET", + "IMAGE_ID_LIST", + "DESCRIBE_STORE_IMAGE_TASKS_REQUEST_MAX_RESULTS", + "DESCRIBE_STORE_IMAGE_TASKS_INPUT", + "DESCRIBE_STORE_IMAGE_TASKS_OUTPUT", + "DESCRIBE_STORE_IMAGE_TASKS", + "STORE_IMAGE_TASK_RESULT", + "STORE_IMAGE_TASK_RESULT_SET", + "DESCRIBE_SUBNETS_MAX_RESULTS", + "SUBNET_ID_STRING_LIST", + "DESCRIBE_SUBNETS_INPUT", + "DESCRIBE_SUBNETS_OUTPUT", + "DESCRIBE_SUBNETS", + "SUBNET_LIST", + "DESCRIBE_TAGS_INPUT", + "DESCRIBE_TAGS_OUTPUT", + "DESCRIBE_TAGS", + "TAG_DESCRIPTION", + "TAG_DESCRIPTION_LIST", + "TRAFFIC_MIRRORING_MAX_RESULTS", + "TRAFFIC_MIRROR_FILTER_RULE_ID_LIST", + "DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_INPUT", + "DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_OUTPUT", + "DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES", + "TRAFFIC_MIRROR_FILTER_RULE_SET", + "TRAFFIC_MIRROR_FILTER_ID_LIST", + "DESCRIBE_TRAFFIC_MIRROR_FILTERS_INPUT", + "DESCRIBE_TRAFFIC_MIRROR_FILTERS_OUTPUT", + "DESCRIBE_TRAFFIC_MIRROR_FILTERS", + "TRAFFIC_MIRROR_FILTER_SET", + "TRAFFIC_MIRROR_SESSION_ID_LIST", + "DESCRIBE_TRAFFIC_MIRROR_SESSIONS_INPUT", + "DESCRIBE_TRAFFIC_MIRROR_SESSIONS_OUTPUT", + "DESCRIBE_TRAFFIC_MIRROR_SESSIONS", + "TRAFFIC_MIRROR_SESSION_SET", + "TRAFFIC_MIRROR_TARGET_ID_LIST", + "DESCRIBE_TRAFFIC_MIRROR_TARGETS_INPUT", + "DESCRIBE_TRAFFIC_MIRROR_TARGETS_OUTPUT", + "DESCRIBE_TRAFFIC_MIRROR_TARGETS", + "TRAFFIC_MIRROR_TARGET_SET", + "TRANSIT_GATEWAY_MAX_RESULTS", + "DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS", + "TRANSIT_GATEWAY_ATTACHMENT_ASSOCIATION", + "TRANSIT_GATEWAY_ATTACHMENT", + "TRANSIT_GATEWAY_ATTACHMENT_LIST", + "TRANSIT_GATEWAY_CONNECT_PEER_ID_STRING_LIST", + "DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS", + "TRANSIT_GATEWAY_CONNECT_PEER_LIST", + "DESCRIBE_TRANSIT_GATEWAY_CONNECTS_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_CONNECTS_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_CONNECTS", + "TRANSIT_GATEWAY_CONNECT_LIST", + "TRANSIT_GATEWAY_METERING_POLICY_ID_STRING_LIST", + "DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES", + "TRANSIT_GATEWAY_METERING_POLICY_LIST", + "TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID_STRING_LIST", + "DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS", + "TRANSIT_GATEWAY_MULTICAST_DOMAIN_LIST", + "DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS", + "TRANSIT_GATEWAY_PEERING_ATTACHMENT_LIST", + "TRANSIT_GATEWAY_POLICY_TABLE_ID_STRING_LIST", + "DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES", + "TRANSIT_GATEWAY_POLICY_TABLE_LIST", + "TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID_STRING_LIST", + "DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS", + "TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_LIST", + "TRANSIT_GATEWAY_ROUTE_TABLE_ID_STRING_LIST", + "DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES", + "TRANSIT_GATEWAY_ROUTE_TABLE_LIST", + "TRANSIT_GATEWAY_ID_STRING_LIST", + "DESCRIBE_TRANSIT_GATEWAYS_INPUT", + "DESCRIBE_TRANSIT_GATEWAYS_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAYS", + "TRANSIT_GATEWAY_LIST", + "DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_INPUT", + "DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_OUTPUT", + "DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS", + "TRANSIT_GATEWAY_VPC_ATTACHMENT_LIST", + "TRUNK_INTERFACE_ASSOCIATION_ID_LIST", + "DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_MAX_RESULTS", + "DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_INPUT", + "DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_OUTPUT", + "DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS", + "TRUNK_INTERFACE_ASSOCIATION_LIST", + ), + ( + "DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_MAX_RESULTS", + "VERIFIED_ACCESS_ENDPOINT_ID_LIST", + "DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_INPUT", + "DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_OUTPUT", + "DESCRIBE_VERIFIED_ACCESS_ENDPOINTS", + "VERIFIED_ACCESS_ENDPOINT_LIST", + "DESCRIBE_VERIFIED_ACCESS_GROUP_MAX_RESULTS", + "VERIFIED_ACCESS_GROUP_ID_LIST", + "DESCRIBE_VERIFIED_ACCESS_GROUPS_INPUT", + "DESCRIBE_VERIFIED_ACCESS_GROUPS_OUTPUT", + "DESCRIBE_VERIFIED_ACCESS_GROUPS", + "VERIFIED_ACCESS_GROUP_LIST", + "DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_MAX_RESULTS", + "VERIFIED_ACCESS_INSTANCE_ID_LIST", + "DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_INPUT", + "DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_OUTPUT", + "DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS", + "VERIFIED_ACCESS_LOG_DELIVERY_STATUS_CODE", + "VERIFIED_ACCESS_LOG_DELIVERY_STATUS", + "VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION", + "VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION", + "VERIFIED_ACCESS_LOG_S3_DESTINATION", + "VERIFIED_ACCESS_LOGS", + "VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION", + "VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_LIST", + "DESCRIBE_VERIFIED_ACCESS_INSTANCES_MAX_RESULTS", + "DESCRIBE_VERIFIED_ACCESS_INSTANCES_INPUT", + "DESCRIBE_VERIFIED_ACCESS_INSTANCES_OUTPUT", + "DESCRIBE_VERIFIED_ACCESS_INSTANCES", + "VERIFIED_ACCESS_INSTANCE_LIST", + "DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_MAX_RESULTS", + "VERIFIED_ACCESS_TRUST_PROVIDER_ID_LIST", + "DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_INPUT", + "DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_OUTPUT", + "DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS", + "VERIFIED_ACCESS_TRUST_PROVIDER_LIST", + "VOLUME_ATTRIBUTE_NAME", + "DESCRIBE_VOLUME_ATTRIBUTE_INPUT", + "DESCRIBE_VOLUME_ATTRIBUTE_OUTPUT", + "DESCRIBE_VOLUME_ATTRIBUTE", + "DESCRIBE_VOLUMES_INPUT", + "DESCRIBE_VOLUMES_OUTPUT", + "DESCRIBE_VOLUMES", + "DESCRIBE_VOLUMES_MODIFICATIONS_INPUT", + "DESCRIBE_VOLUMES_MODIFICATIONS_OUTPUT", + "DESCRIBE_VOLUMES_MODIFICATIONS", + "VOLUME_MODIFICATION_STATE", + "VOLUME_MODIFICATION", + "VOLUME_MODIFICATION_LIST", + "DESCRIBE_VOLUME_STATUS_INPUT", + "DESCRIBE_VOLUME_STATUS_OUTPUT", + "DESCRIBE_VOLUME_STATUS", + "VOLUME_STATUS_ACTION", + "VOLUME_STATUS_ACTIONS_LIST", + "VOLUME_STATUS_ATTACHMENT_STATUS", + "VOLUME_STATUS_ATTACHMENT_STATUS_LIST", + "VOLUME_STATUS_EVENT", + "VOLUME_STATUS_EVENTS_LIST", + "INITIALIZATION_TYPE", + "INITIALIZATION_STATUS_DETAILS", + "VOLUME_STATUS_NAME", + "VOLUME_STATUS_DETAILS", + "VOLUME_STATUS_DETAILS_LIST", + "VOLUME_STATUS_INFO_STATUS", + "VOLUME_STATUS_INFO", + "VOLUME_STATUS_ITEM", + "VOLUME_STATUS_LIST", + "VPC_ATTRIBUTE_NAME", + "DESCRIBE_VPC_ATTRIBUTE_INPUT", + "DESCRIBE_VPC_ATTRIBUTE_OUTPUT", + "DESCRIBE_VPC_ATTRIBUTE", + "VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID_LIST", + "DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_MAX_RESULTS", + "DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_INPUT", + "DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_OUTPUT", + "DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS", + "VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_LIST", + "DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT", + "DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT", + "DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS", + "VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_ALLOWED", + "INTERNET_GATEWAY_BLOCK_MODE", + "VPC_BLOCK_PUBLIC_ACCESS_STATE", + "VPC_BLOCK_PUBLIC_ACCESS_OPTIONS", + "VPC_CLASSIC_LINK_ID_LIST", + "DESCRIBE_VPC_CLASSIC_LINK_INPUT", + "DESCRIBE_VPC_CLASSIC_LINK_OUTPUT", + "DESCRIBE_VPC_CLASSIC_LINK", + "VPC_CLASSIC_LINK", + "VPC_CLASSIC_LINK_LIST", + "DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_MAX_RESULTS", + "DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_NEXT_TOKEN", + "DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT", + "DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT", + "DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT", + "CLASSIC_LINK_DNS_SUPPORT", + "CLASSIC_LINK_DNS_SUPPORT_LIST", + "DESCRIBE_VPC_ENCRYPTION_CONTROLS_MAX_RESULTS", + "VPC_ENCRYPTION_CONTROL_ID_LIST", + "DESCRIBE_VPC_ENCRYPTION_CONTROLS_INPUT", + "DESCRIBE_VPC_ENCRYPTION_CONTROLS_OUTPUT", + "DESCRIBE_VPC_ENCRYPTION_CONTROLS", + "VPC_ENCRYPTION_CONTROL_LIST", + "MAX_RESULTS2", + "DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_INPUT", + "DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_OUTPUT", + "DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS", + ), + ( + "VPC_ENDPOINT_ASSOCIATION", + "VPC_ENDPOINT_ASSOCIATION_SET", + "DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT", + "DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT", + "DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS", + "CONNECTION_NOTIFICATION_SET", + "DESCRIBE_VPC_ENDPOINT_CONNECTIONS_INPUT", + "DESCRIBE_VPC_ENDPOINT_CONNECTIONS_OUTPUT", + "DESCRIBE_VPC_ENDPOINT_CONNECTIONS", + "VPC_ENDPOINT_CONNECTION", + "VPC_ENDPOINT_CONNECTION_SET", + "DESCRIBE_VPC_ENDPOINTS_INPUT", + "DESCRIBE_VPC_ENDPOINTS_OUTPUT", + "DESCRIBE_VPC_ENDPOINTS", + "VPC_ENDPOINT_SET", + "DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT", + "DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT", + "DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS", + "SERVICE_CONFIGURATION_SET", + "DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT", + "DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT", + "DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS", + "DESCRIBE_VPC_ENDPOINT_SERVICES_INPUT", + "DESCRIBE_VPC_ENDPOINT_SERVICES_OUTPUT", + "DESCRIBE_VPC_ENDPOINT_SERVICES", + "PRIVATE_DNS_DETAILS", + "PRIVATE_DNS_DETAILS_SET", + "SERVICE_DETAIL", + "SERVICE_DETAIL_SET", + "DESCRIBE_VPC_PEERING_CONNECTIONS_MAX_RESULTS", + "VPC_PEERING_CONNECTION_ID_LIST", + "DESCRIBE_VPC_PEERING_CONNECTIONS_INPUT", + "DESCRIBE_VPC_PEERING_CONNECTIONS_OUTPUT", + "DESCRIBE_VPC_PEERING_CONNECTIONS", + "VPC_PEERING_CONNECTION_LIST", + "DESCRIBE_VPCS_MAX_RESULTS", + "DESCRIBE_VPCS_INPUT", + "DESCRIBE_VPCS_OUTPUT", + "DESCRIBE_VPCS", + "VPC_LIST", + "GVCD_MAX_RESULTS", + "VPN_CONCENTRATOR_ID_STRING_LIST", + "DESCRIBE_VPN_CONCENTRATORS_INPUT", + "DESCRIBE_VPN_CONCENTRATORS_OUTPUT", + "DESCRIBE_VPN_CONCENTRATORS", + "VPN_CONCENTRATOR_LIST", + "VPN_CONNECTION_ID_STRING_LIST", + "DESCRIBE_VPN_CONNECTIONS_INPUT", + "DESCRIBE_VPN_CONNECTIONS_OUTPUT", + "DESCRIBE_VPN_CONNECTIONS", + "VPN_CONNECTION_LIST", + "VPN_GATEWAY_ID_STRING_LIST", + "DESCRIBE_VPN_GATEWAYS_INPUT", + "DESCRIBE_VPN_GATEWAYS_OUTPUT", + "DESCRIBE_VPN_GATEWAYS", + "VPN_GATEWAY_LIST", + "DETACH_CLASSIC_LINK_VPC_INPUT", + "DETACH_CLASSIC_LINK_VPC_OUTPUT", + "DETACH_CLASSIC_LINK_VPC", + "DETACH_IMAGE_WATERMARK_INPUT", + "DETACH_IMAGE_WATERMARK_OUTPUT", + "DETACH_IMAGE_WATERMARK", + "DETACH_INTERNET_GATEWAY_INPUT", + "DETACH_INTERNET_GATEWAY_OUTPUT", + "DETACH_INTERNET_GATEWAY", + "NETWORK_INTERFACE_ATTACHMENT_ID", + "DETACH_NETWORK_INTERFACE_INPUT", + "DETACH_NETWORK_INTERFACE_OUTPUT", + "DETACH_NETWORK_INTERFACE", + "DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT", + "DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT", + "DETACH_VERIFIED_ACCESS_TRUST_PROVIDER", + "INSTANCE_ID_FOR_RESOLVER", + "VOLUME_ID_WITH_RESOLVER", + "DETACH_VOLUME_INPUT", + "DETACH_VOLUME_OUTPUT", + "DETACH_VOLUME", + "DETACH_VPN_GATEWAY_INPUT", + "DETACH_VPN_GATEWAY_OUTPUT", + "DETACH_VPN_GATEWAY", + "DISABLE_ADDRESS_TRANSFER_INPUT", + "DISABLE_ADDRESS_TRANSFER_OUTPUT", + "DISABLE_ADDRESS_TRANSFER", + "DISABLE_ALLOWED_IMAGES_SETTINGS_INPUT", + "DISABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT", + "DISABLE_ALLOWED_IMAGES_SETTINGS", + "DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT", + "DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT", + "DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION", + "SUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT", + "SUCCESSFUL_SUPPRESSION_RESPONSE_SET", + "UNSUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT", + "UNSUCCESSFUL_SUPPRESSION_RESPONSE_SET", + "DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT", + "DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT", + "DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION", + "DISABLE_CAPACITY_MANAGER_INPUT", + "DISABLE_CAPACITY_MANAGER_OUTPUT", + "DISABLE_CAPACITY_MANAGER", + "CAPACITY_MANAGER_STATUS", + "DISABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT", + "DISABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT", + "DISABLE_EBS_ENCRYPTION_BY_DEFAULT", + "DISABLE_FAST_LAUNCH_INPUT", + "DISABLE_FAST_LAUNCH_OUTPUT", + "DISABLE_FAST_LAUNCH", + "AVAILABILITY_ZONE_ID_STRING_LIST", + "AVAILABILITY_ZONE_STRING_LIST", + "DISABLE_FAST_SNAPSHOT_RESTORES_INPUT", + "DISABLE_FAST_SNAPSHOT_RESTORES_OUTPUT", + "DISABLE_FAST_SNAPSHOT_RESTORES", + ), + ( + "DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM", + "DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET", + "DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR", + "DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM", + "DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET", + "DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM", + "DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET", + "DISABLE_IMAGE_INPUT", + "DISABLE_IMAGE_OUTPUT", + "DISABLE_IMAGE", + "DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT", + "DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT", + "DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS", + "IMAGE_BLOCK_PUBLIC_ACCESS_DISABLED_STATE", + "DISABLE_IMAGE_DEPRECATION_INPUT", + "DISABLE_IMAGE_DEPRECATION_OUTPUT", + "DISABLE_IMAGE_DEPRECATION", + "DISABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT", + "DISABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT", + "DISABLE_IMAGE_DEREGISTRATION_PROTECTION", + "INSTANCE_ID_UPDATE_STRING_LIST", + "DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT", + "DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT", + "DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS", + "DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT", + "DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT", + "DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT", + "DISABLE_IPAM_POLICY_INPUT", + "DISABLE_IPAM_POLICY_OUTPUT", + "DISABLE_IPAM_POLICY", + "DISABLE_ROUTE_SERVER_PROPAGATION_INPUT", + "DISABLE_ROUTE_SERVER_PROPAGATION_OUTPUT", + "DISABLE_ROUTE_SERVER_PROPAGATION", + "ROUTE_SERVER_PROPAGATION_STATE", + "ROUTE_SERVER_PROPAGATION", + "DISABLE_SERIAL_CONSOLE_ACCESS_INPUT", + "DISABLE_SERIAL_CONSOLE_ACCESS_OUTPUT", + "DISABLE_SERIAL_CONSOLE_ACCESS", + "DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT", + "DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT", + "DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS", + "SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE", + "DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT", + "DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT", + "DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION", + "DISABLE_VGW_ROUTE_PROPAGATION_INPUT", + "DISABLE_VGW_ROUTE_PROPAGATION_OUTPUT", + "DISABLE_VGW_ROUTE_PROPAGATION", + "DISABLE_VPC_CLASSIC_LINK_INPUT", + "DISABLE_VPC_CLASSIC_LINK_OUTPUT", + "DISABLE_VPC_CLASSIC_LINK", + "DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT", + "DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT", + "DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT", + "ELASTIC_IP_ASSOCIATION_ID", + "DISASSOCIATE_ADDRESS_INPUT", + "DISASSOCIATE_ADDRESS_OUTPUT", + "DISASSOCIATE_ADDRESS", + "DISASSOCIATE_APPLICATION_STATUS_CHECK_INPUT", + "DISASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT", + "DISASSOCIATE_APPLICATION_STATUS_CHECK", + "DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT", + "DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT", + "DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER", + "DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT", + "DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT", + "DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK", + "DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT", + "DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT", + "DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE", + "DISASSOCIATE_IAM_INSTANCE_PROFILE_INPUT", + "DISASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT", + "DISASSOCIATE_IAM_INSTANCE_PROFILE", + "INSTANCE_EVENT_WINDOW_DISASSOCIATION_REQUEST", + "DISASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT", + "DISASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT", + "DISASSOCIATE_INSTANCE_EVENT_WINDOW", + "DISASSOCIATE_IPAM_BYOASN_INPUT", + "DISASSOCIATE_IPAM_BYOASN_OUTPUT", + "DISASSOCIATE_IPAM_BYOASN", + "DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT", + "DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT", + "DISASSOCIATE_IPAM_RESOURCE_DISCOVERY", + "EIP_ASSOCIATION_ID_LIST", + "DRAIN_SECONDS", + "DISASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT", + "DISASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT", + "DISASSOCIATE_NAT_GATEWAY_ADDRESS", + "DISASSOCIATE_ROUTE_SERVER_INPUT", + "DISASSOCIATE_ROUTE_SERVER_OUTPUT", + "DISASSOCIATE_ROUTE_SERVER", + "ROUTE_TABLE_ASSOCIATION_ID", + "DISASSOCIATE_ROUTE_TABLE_INPUT", + "DISASSOCIATE_ROUTE_TABLE_OUTPUT", + "DISASSOCIATE_ROUTE_TABLE", + "DISASSOCIATE_SECURITY_GROUP_VPC_SECURITY_GROUP_ID", + "DISASSOCIATE_SECURITY_GROUP_VPC_INPUT", + "DISASSOCIATE_SECURITY_GROUP_VPC_OUTPUT", + "DISASSOCIATE_SECURITY_GROUP_VPC", + "DISASSOCIATE_SUBNET_CIDR_BLOCK_INPUT", + "DISASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT", + "DISASSOCIATE_SUBNET_CIDR_BLOCK", + "DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT", + "DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT", + "DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN", + "DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT", + "DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT", + "DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE", + "DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT", + "DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT", + "DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE", + "DISASSOCIATE_TRUNK_INTERFACE_INPUT", + "DISASSOCIATE_TRUNK_INTERFACE_OUTPUT", + "DISASSOCIATE_TRUNK_INTERFACE", + "VPC_CIDR_ASSOCIATION_ID", + "DISASSOCIATE_VPC_CIDR_BLOCK_INPUT", + "DISASSOCIATE_VPC_CIDR_BLOCK_OUTPUT", + "DISASSOCIATE_VPC_CIDR_BLOCK", + ), + ( + "ENABLE_ADDRESS_TRANSFER_INPUT", + "ENABLE_ADDRESS_TRANSFER_OUTPUT", + "ENABLE_ADDRESS_TRANSFER", + "ENABLE_ALLOWED_IMAGES_SETTINGS_INPUT", + "ENABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT", + "ENABLE_ALLOWED_IMAGES_SETTINGS", + "ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT", + "ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT", + "ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION", + "ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT", + "ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT", + "ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION", + "ENABLE_CAPACITY_MANAGER_INPUT", + "ENABLE_CAPACITY_MANAGER_OUTPUT", + "ENABLE_CAPACITY_MANAGER", + "ENABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT", + "ENABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT", + "ENABLE_EBS_ENCRYPTION_BY_DEFAULT", + "FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST", + "FAST_LAUNCH_SNAPSHOT_CONFIGURATION_REQUEST", + "ENABLE_FAST_LAUNCH_INPUT", + "ENABLE_FAST_LAUNCH_OUTPUT", + "ENABLE_FAST_LAUNCH", + "ENABLE_FAST_SNAPSHOT_RESTORES_INPUT", + "ENABLE_FAST_SNAPSHOT_RESTORES_OUTPUT", + "ENABLE_FAST_SNAPSHOT_RESTORES", + "ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM", + "ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET", + "ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR", + "ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM", + "ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET", + "ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM", + "ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET", + "ENABLE_IMAGE_INPUT", + "ENABLE_IMAGE_OUTPUT", + "ENABLE_IMAGE", + "IMAGE_BLOCK_PUBLIC_ACCESS_ENABLED_STATE", + "ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT", + "ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT", + "ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS", + "ENABLE_IMAGE_DEPRECATION_INPUT", + "ENABLE_IMAGE_DEPRECATION_OUTPUT", + "ENABLE_IMAGE_DEPRECATION", + "ENABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT", + "ENABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT", + "ENABLE_IMAGE_DEREGISTRATION_PROTECTION", + "SECRET_ARN", + "ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT", + "ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT", + "ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS", + "ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT", + "ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT", + "ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION", + "ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT", + "ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT", + "ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT", + "ENABLE_IPAM_POLICY_INPUT", + "ENABLE_IPAM_POLICY_OUTPUT", + "ENABLE_IPAM_POLICY", + "ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_INPUT", + "ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_OUTPUT", + "ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING", + "ENABLE_ROUTE_SERVER_PROPAGATION_INPUT", + "ENABLE_ROUTE_SERVER_PROPAGATION_OUTPUT", + "ENABLE_ROUTE_SERVER_PROPAGATION", + "ENABLE_SERIAL_CONSOLE_ACCESS_INPUT", + "ENABLE_SERIAL_CONSOLE_ACCESS_OUTPUT", + "ENABLE_SERIAL_CONSOLE_ACCESS", + "ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT", + "ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT", + "ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS", + "ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT", + "ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT", + "ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION", + "ENABLE_VGW_ROUTE_PROPAGATION_INPUT", + "ENABLE_VGW_ROUTE_PROPAGATION_OUTPUT", + "ENABLE_VGW_ROUTE_PROPAGATION", + "ENABLE_VOLUME_IO_INPUT", + "ENABLE_VOLUME_IO_OUTPUT", + "ENABLE_VOLUME_IO", + "ENABLE_VPC_CLASSIC_LINK_INPUT", + "ENABLE_VPC_CLASSIC_LINK_OUTPUT", + "ENABLE_VPC_CLASSIC_LINK", + "ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT", + "ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT", + "ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT", + "EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT", + "EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT", + "EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST", + "CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS_CODE", + "CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS", + "EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_INPUT", + "EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_OUTPUT", + "EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION", + "EXPORT_TASK_S3_LOCATION_REQUEST", + "EXPORT_IMAGE_INPUT", + "EXPORT_IMAGE_OUTPUT", + "EXPORT_IMAGE", + "EXPORT_TRANSIT_GATEWAY_ROUTES_INPUT", + "EXPORT_TRANSIT_GATEWAY_ROUTES_OUTPUT", + "EXPORT_TRANSIT_GATEWAY_ROUTES", + "EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_INPUT", + "EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_OUTPUT", + "EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION", + "DEVICE_TRUST_PROVIDER_TYPE_LIST", + "VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE", + "VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE_LIST", + "VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION", + "VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_LIST", + "VERIFIED_ACCESS_INSTANCE_USER_TRUST_PROVIDER_CLIENT_CONFIGURATION", + "GET_ACTIVE_VPN_TUNNEL_STATUS_INPUT", + "GET_ACTIVE_VPN_TUNNEL_STATUS_OUTPUT", + "GET_ACTIVE_VPN_TUNNEL_STATUS", + ), + ( + "RESERVATION_STATE", + "GET_ALLOWED_IMAGES_SETTINGS_INPUT", + "GET_ALLOWED_IMAGES_SETTINGS_OUTPUT", + "GET_ALLOWED_IMAGES_SETTINGS", + "MAXIMUM_DAYS_SINCE_CREATED_VALUE", + "CREATION_DATE_CONDITION", + "MAXIMUM_DAYS_SINCE_DEPRECATED_VALUE", + "DEPRECATION_TIME_CONDITION", + "IMAGE_NAME", + "IMAGE_NAME_LIST", + "IMAGE_PROVIDER", + "IMAGE_PROVIDER_LIST", + "IMAGE_WATERMARK_FILTER_RESPONSE", + "IMAGE_WATERMARK_FILTER_RESPONSE_LIST", + "MARKETPLACE_PRODUCT_CODE", + "MARKETPLACE_PRODUCT_CODE_LIST", + "MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE", + "MAX_DAYS_SINCE_LAST_FINDING_SCAN_VALUE", + "SCAN_RESULT_CONDITION", + "IMAGE_CRITERION", + "IMAGE_CRITERION_LIST", + "GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_INPUT", + "GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_OUTPUT", + "GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES", + "ASSOCIATED_ROLE", + "ASSOCIATED_ROLES_LIST", + "GET_ASSOCIATED_IPV6_POOL_CIDRS_INPUT", + "GET_ASSOCIATED_IPV6_POOL_CIDRS_OUTPUT", + "GET_ASSOCIATED_IPV6_POOL_CIDRS", + "IPV6_CIDR_ASSOCIATION", + "IPV6_CIDR_ASSOCIATION_SET", + "DATA_QUERY", + "DATA_QUERIES", + "GET_AWS_NETWORK_PERFORMANCE_DATA_INPUT", + "GET_AWS_NETWORK_PERFORMANCE_DATA_OUTPUT", + "GET_AWS_NETWORK_PERFORMANCE_DATA", + "METRIC_POINT", + "METRIC_POINTS", + "DATA_RESPONSE", + "DATA_RESPONSES", + "GET_CAPACITY_MANAGER_ATTRIBUTES_INPUT", + "GET_CAPACITY_MANAGER_ATTRIBUTES_OUTPUT", + "GET_CAPACITY_MANAGER_ATTRIBUTES", + "INGESTION_STATUS", + "COMPARISON", + "FILTER_BY_DIMENSION", + "CONDITION_VALUE", + "CONDITION_VALUE_LIST", + "DIMENSION_CONDITION", + "CAPACITY_MANAGER_CONDITION", + "CAPACITY_MANAGER_CONDITION_SET", + "GROUP_BY", + "GROUP_BY_SET", + "MAX_RESULTS", + "METRIC", + "METRIC_SET", + "PERIOD", + "GET_CAPACITY_MANAGER_METRIC_DATA_INPUT", + "GET_CAPACITY_MANAGER_METRIC_DATA_OUTPUT", + "GET_CAPACITY_MANAGER_METRIC_DATA", + "RESERVATION_END_DATE_TYPE", + "RESERVATION_TYPE", + "CAPACITY_MANAGER_TAG_DIMENSION", + "CAPACITY_MANAGER_TAG_DIMENSION_SET", + "CAPACITY_TENANCY", + "CAPACITY_MANAGER_DIMENSION", + "METRIC_VALUE", + "METRIC_VALUE_SET", + "METRIC_DATA_RESULT", + "METRIC_DATA_RESULT_SET", + "GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_INPUT", + "GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_OUTPUT", + "GET_CAPACITY_MANAGER_METRIC_DIMENSIONS", + "METRIC_DIMENSION_RESULT_SET", + "GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_REQUEST_MAX_RESULTS", + "GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT", + "GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT", + "GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS", + "CAPACITY_MANAGER_MONITORED_TAG_KEY_STATUS", + "CAPACITY_MANAGER_MONITORED_TAG_KEY", + "CAPACITY_MANAGER_MONITORED_TAG_KEY_LIST", + "CAPACITY_AMOUNT", + "CAPACITY_AVAILABILITY_ZONE_ID_LIST", + "CAPACITY_UNIT", + ), + ( + "CLIENT_VPN_AUTHORIZATION_POLICY_STATUS", + "ARCHITECTURE_TYPE_SET", + "VIRTUALIZATION_TYPE_SET", + "INSTANCE_REQUIREMENTS_WITH_METADATA_REQUEST", + "SUPPORTABILITY_INSTANCE_TYPE_LIST", + "SUPPORTABILITY_MARKET_TYPE", + "GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_INPUT", + "GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_OUTPUT", + "GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES", + "SUPPORTABILITY_SCORE", + "CAPACITY_MANAGER_SUPPORTABILITY_SCORE", + "CAPACITY_MANAGER_SUPPORTABILITY_SCORE_SET", + "GET_CAPACITY_RESERVATION_USAGE_REQUEST_MAX_RESULTS", + "GET_CAPACITY_RESERVATION_USAGE_INPUT", + "GET_CAPACITY_RESERVATION_USAGE_OUTPUT", + "GET_CAPACITY_RESERVATION_USAGE", + "INSTANCE_USAGE", + "INSTANCE_USAGE_SET", + "GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT", + "GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT", + "GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY", + "CLIENT_VPN_AUTHORIZATION_POLICY_SHADOW_MODE", + "GET_COIP_POOL_USAGE_INPUT", + "GET_COIP_POOL_USAGE_OUTPUT", + "GET_COIP_POOL_USAGE", + "COIP_ADDRESS_USAGE", + "COIP_ADDRESS_USAGE_SET", + "GET_CONSOLE_OUTPUT_INPUT", + "GET_CONSOLE_OUTPUT_OUTPUT", + "GET_CONSOLE_OUTPUT", + "GET_CONSOLE_SCREENSHOT_INPUT", + "GET_CONSOLE_SCREENSHOT_OUTPUT", + "GET_CONSOLE_SCREENSHOT", + "GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_INPUT", + "GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_OUTPUT", + "GET_DECLARATIVE_POLICIES_REPORT_SUMMARY", + "REGIONAL_SUMMARY", + "REGIONAL_SUMMARY_LIST", + "ATTRIBUTE_SUMMARY", + "ATTRIBUTE_SUMMARY_LIST", + "UNLIMITED_SUPPORTED_INSTANCE_FAMILY", + "GET_DEFAULT_CREDIT_SPECIFICATION_INPUT", + "GET_DEFAULT_CREDIT_SPECIFICATION_OUTPUT", + "GET_DEFAULT_CREDIT_SPECIFICATION", + "INSTANCE_FAMILY_CREDIT_SPECIFICATION", + "GET_EBS_DEFAULT_KMS_KEY_ID_INPUT", + "GET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT", + "GET_EBS_DEFAULT_KMS_KEY_ID", + "GET_EBS_ENCRYPTION_BY_DEFAULT_INPUT", + "GET_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT", + "GET_EBS_ENCRYPTION_BY_DEFAULT", + "GET_ENABLED_IPAM_POLICY_INPUT", + "GET_ENABLED_IPAM_POLICY_OUTPUT", + "GET_ENABLED_IPAM_POLICY", + "IPAM_POLICY_MANAGED_BY", + "PARTITION_LOAD_FREQUENCY", + "ATHENA_INTEGRATION", + "ATHENA_INTEGRATIONS_SET", + "INTEGRATE_SERVICES", + "GET_FLOW_LOGS_INTEGRATION_TEMPLATE_INPUT", + "GET_FLOW_LOGS_INTEGRATION_TEMPLATE_OUTPUT", + "GET_FLOW_LOGS_INTEGRATION_TEMPLATE", + "GET_GROUPS_FOR_CAPACITY_RESERVATION_REQUEST_MAX_RESULTS", + "GET_GROUPS_FOR_CAPACITY_RESERVATION_INPUT", + "GET_GROUPS_FOR_CAPACITY_RESERVATION_OUTPUT", + "GET_GROUPS_FOR_CAPACITY_RESERVATION", + "CAPACITY_RESERVATION_GROUP", + "CAPACITY_RESERVATION_GROUP_SET", + "REQUEST_HOST_ID_SET", + "GET_HOST_RESERVATION_PURCHASE_PREVIEW_INPUT", + "GET_HOST_RESERVATION_PURCHASE_PREVIEW_OUTPUT", + "GET_HOST_RESERVATION_PURCHASE_PREVIEW", + "PURCHASE", + "PURCHASE_SET", + "GET_IMAGE_ANCESTRY_INPUT", + "GET_IMAGE_ANCESTRY_OUTPUT", + "GET_IMAGE_ANCESTRY", + "IMAGE_ANCESTRY_ENTRY", + "IMAGE_ANCESTRY_ENTRY_LIST", + "GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_INPUT", + "GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT", + "GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE", + "GET_IMAGE_FINDINGS_MAX_RESULTS", + "GET_IMAGE_FINDINGS_INPUT", + "GET_IMAGE_FINDINGS_OUTPUT", + "GET_IMAGE_FINDINGS", + "IMAGE_FINDING_PATH_SET", + "IMAGE_FINDING", + "GET_IMAGE_FINDINGS_ENTRY_SET", + "GET_INSTANCE_METADATA_DEFAULTS_INPUT", + "GET_INSTANCE_METADATA_DEFAULTS_OUTPUT", + "GET_INSTANCE_METADATA_DEFAULTS", + "HTTP_TOKENS_ENFORCED_STATE", + "INSTANCE_METADATA_DEFAULTS_RESPONSE", + "EK_PUB_KEY_FORMAT", + "EK_PUB_KEY_TYPE", + "GET_INSTANCE_TPM_EK_PUB_INPUT", + "GET_INSTANCE_TPM_EK_PUB_OUTPUT", + "GET_INSTANCE_TPM_EK_PUB", + "EK_PUB_KEY_VALUE", + "GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_INPUT", + "GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_OUTPUT", + "GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS", + "INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS", + "INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS_SET", + "GET_INSTANCE_UEFI_DATA_INPUT", + "GET_INSTANCE_UEFI_DATA_OUTPUT", + "GET_INSTANCE_UEFI_DATA", + "SENSITIVE_STRING", + "IPAM_ADDRESS_HISTORY_MAX_RESULTS", + "GET_IPAM_ADDRESS_HISTORY_INPUT", + "GET_IPAM_ADDRESS_HISTORY_OUTPUT", + "GET_IPAM_ADDRESS_HISTORY", + ), + ( + "IPAM_POLICY_ID", + "IPAM_MAX_RESULTS", + "IPAM_COMPLIANCE_STATUS", + "IPAM_OVERLAP_STATUS", + "IPAM_ADDRESS_HISTORY_RESOURCE_TYPE", + "IPAM_ADDRESS_HISTORY_RECORD", + "IPAM_ADDRESS_HISTORY_RECORD_SET", + "GET_IPAM_DISCOVERED_ACCOUNTS_INPUT", + "GET_IPAM_DISCOVERED_ACCOUNTS_OUTPUT", + "GET_IPAM_DISCOVERED_ACCOUNTS", + "IPAM_DISCOVERY_FAILURE_CODE", + "IPAM_DISCOVERY_FAILURE_REASON", + "IPAM_DISCOVERED_ACCOUNT", + "IPAM_DISCOVERED_ACCOUNT_SET", + "GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_INPUT", + "GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_OUTPUT", + "GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES", + "IPAM_PUBLIC_ADDRESS_TYPE", + "IPAM_PUBLIC_ADDRESS_ASSOCIATION_STATUS", + "IPAM_PUBLIC_ADDRESS_SECURITY_GROUP", + "IPAM_PUBLIC_ADDRESS_SECURITY_GROUP_LIST", + "IPAM_PUBLIC_ADDRESS_AWS_SERVICE", + "IPAM_PUBLIC_ADDRESS_TAG", + "IPAM_PUBLIC_ADDRESS_TAG_LIST", + "IPAM_PUBLIC_ADDRESS_TAGS", + "IPAM_DISCOVERED_PUBLIC_ADDRESS", + "IPAM_DISCOVERED_PUBLIC_ADDRESS_SET", + "GET_IPAM_DISCOVERED_RESOURCE_CIDRS_INPUT", + "GET_IPAM_DISCOVERED_RESOURCE_CIDRS_OUTPUT", + "GET_IPAM_DISCOVERED_RESOURCE_CIDRS", + "IPAM_RESOURCE_CIDR_IP_SOURCE", + "BOXED_DOUBLE", + "IPAM_NETWORK_INTERFACE_ATTACHMENT_STATUS", + "IPAM_DISCOVERED_RESOURCE_CIDR", + "IPAM_DISCOVERED_RESOURCE_CIDR_SET", + "GET_IPAM_DISCOVERED_ROUTES_INPUT", + "GET_IPAM_DISCOVERED_ROUTES_OUTPUT", + "GET_IPAM_DISCOVERED_ROUTES", + "IPAM_BYOIP_ADVERTISEMENT_TYPE", + "IPAM_BYOIP_CIDR_STATE", + "IPAM_DISCOVERED_ROUTE", + "IPAM_DISCOVERED_ROUTE_SET", + "GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_INPUT", + "GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_OUTPUT", + "GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS", + "IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN", + "IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN_SET", + "GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_INPUT", + "GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_OUTPUT", + "GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS", + "IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR", + "IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR_SET", + "IPAM_POLICY_RESOURCE_TYPE", + "GET_IPAM_POLICY_ALLOCATION_RULES_INPUT", + "GET_IPAM_POLICY_ALLOCATION_RULES_OUTPUT", + "GET_IPAM_POLICY_ALLOCATION_RULES", + "IPAM_POLICY_ALLOCATION_RULE", + "IPAM_POLICY_ALLOCATION_RULE_LIST", + "IPAM_POLICY_DOCUMENT", + "IPAM_POLICY_DOCUMENT_SET", + "GET_IPAM_POLICY_ORGANIZATION_TARGETS_INPUT", + "GET_IPAM_POLICY_ORGANIZATION_TARGETS_OUTPUT", + "GET_IPAM_POLICY_ORGANIZATION_TARGETS", + "IPAM_POLICY_ORGANIZATION_TARGET", + "IPAM_POLICY_ORGANIZATION_TARGET_SET", + "GET_IPAM_POOL_ALLOCATIONS_MAX_RESULTS", + "GET_IPAM_POOL_ALLOCATIONS_INPUT", + "GET_IPAM_POOL_ALLOCATIONS_OUTPUT", + "GET_IPAM_POOL_ALLOCATIONS", + "GET_IPAM_POOL_CIDRS_INPUT", + "GET_IPAM_POOL_CIDRS_OUTPUT", + "GET_IPAM_POOL_CIDRS", + "IPAM_POOL_CIDR_SET", + "GET_IPAM_PREFIX_LIST_RESOLVER_RULES_INPUT", + "GET_IPAM_PREFIX_LIST_RESOLVER_RULES_OUTPUT", + "GET_IPAM_PREFIX_LIST_RESOLVER_RULES", + "IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION", + "IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_SET", + "IPAM_PREFIX_LIST_RESOLVER_RULE", + "IPAM_PREFIX_LIST_RESOLVER_RULE_SET", + "GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_INPUT", + "GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_OUTPUT", + "GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES", + "IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY", + "IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY_SET", + "IPAM_PREFIX_LIST_RESOLVER_VERSION_NUMBER_SET", + "GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_INPUT", + "GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_OUTPUT", + "GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS", + "IPAM_PREFIX_LIST_RESOLVER_VERSION", + "IPAM_PREFIX_LIST_RESOLVER_VERSION_SET", + "GET_IPAM_RESOURCE_CIDRS_INPUT", + "GET_IPAM_RESOURCE_CIDRS_OUTPUT", + "GET_IPAM_RESOURCE_CIDRS", + ), + ( + "IPAM_MANAGEMENT_STATE", + "IPAM_RESOURCE_CIDR", + "IPAM_RESOURCE_CIDR_SET", + "GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_INPUT", + "GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_OUTPUT", + "GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS", + "IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO", + "IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO_SET", + "GET_IPAM_ROUTE_PROTECTION_FINDINGS_INPUT", + "GET_IPAM_ROUTE_PROTECTION_FINDINGS_OUTPUT", + "GET_IPAM_ROUTE_PROTECTION_FINDINGS", + "IPAM_ROUTE_ORIGIN_AUTHORIZATION", + "IPAM_ROUTE_ORIGIN_AUTHORIZATION_SET", + "IPAM_ROUTE_OVERLAP", + "IPAM_ROUTE_OVERLAP_SET", + "IPAM_RPKI_STATUS", + "IPAM_RPKI_STRENGTH", + "IPAM_ROUTE_PROTECTION_FINDING", + "IPAM_ROUTE_PROTECTION_FINDING_SET", + "CHRONOLOGICAL_ORDER", + "GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_INPUT", + "GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_OUTPUT", + "GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS", + "IPAM_ROUTING_POLICY_REGISTRATION_DELTA_SET", + "GET_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT", + "GET_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT", + "GET_IPAM_ROUTING_POLICY_REGISTRATIONS", + "IPAM_ROUTING_POLICY_REGISTRATION_STATE", + "IPAM_ROUTING_POLICY_REGISTRATION", + "IPAM_ROUTING_POLICY_REGISTRATION_SET", + "GET_LAUNCH_TEMPLATE_DATA_INPUT", + "GET_LAUNCH_TEMPLATE_DATA_OUTPUT", + "GET_LAUNCH_TEMPLATE_DATA", + "GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_MAX_RESULTS", + "GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_INPUT", + "GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_OUTPUT", + "GET_MANAGED_PREFIX_LIST_ASSOCIATIONS", + "PREFIX_LIST_ASSOCIATION", + "PREFIX_LIST_ASSOCIATION_SET", + "GET_MANAGED_PREFIX_LIST_ENTRIES_INPUT", + "GET_MANAGED_PREFIX_LIST_ENTRIES_OUTPUT", + "GET_MANAGED_PREFIX_LIST_ENTRIES", + "PREFIX_LIST_ENTRY", + "PREFIX_LIST_ENTRY_SET", + "GET_MANAGED_RESOURCE_VISIBILITY_INPUT", + "GET_MANAGED_RESOURCE_VISIBILITY_OUTPUT", + "GET_MANAGED_RESOURCE_VISIBILITY", + "MANAGED_RESOURCE_DEFAULT_VISIBILITY", + "MANAGED_RESOURCE_VISIBILITY_SETTINGS", + "GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_MAX_RESULTS", + "GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_INPUT", + "GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_OUTPUT", + "GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS", + "GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_INPUT", + "GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_OUTPUT", + "GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT", + "GET_PASSWORD_DATA_INPUT", + "GET_PASSWORD_DATA_OUTPUT", + "GET_PASSWORD_DATA", + "PASSWORD_DATA", + "GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT", + "GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT", + "GET_RESERVED_INSTANCES_EXCHANGE_QUOTE", + "RESERVATION_VALUE", + "RESERVED_INSTANCE_RESERVATION_VALUE", + "RESERVED_INSTANCE_RESERVATION_VALUE_SET", + "TARGET_CONFIGURATION", + "TARGET_RESERVATION_VALUE", + "TARGET_RESERVATION_VALUE_SET", + "GET_ROUTE_SERVER_ASSOCIATIONS_INPUT", + "GET_ROUTE_SERVER_ASSOCIATIONS_OUTPUT", + "GET_ROUTE_SERVER_ASSOCIATIONS", + "ROUTE_SERVER_ASSOCIATIONS_LIST", + "GET_ROUTE_SERVER_PROPAGATIONS_INPUT", + "GET_ROUTE_SERVER_PROPAGATIONS_OUTPUT", + "GET_ROUTE_SERVER_PROPAGATIONS", + "ROUTE_SERVER_PROPAGATIONS_LIST", + "GET_ROUTE_SERVER_ROUTING_DATABASE_INPUT", + "GET_ROUTE_SERVER_ROUTING_DATABASE_OUTPUT", + "GET_ROUTE_SERVER_ROUTING_DATABASE", + "AS_PATH", + "ROUTE_SERVER_ROUTE_INSTALLATION_STATUS", + "ROUTE_SERVER_ROUTE_INSTALLATION_DETAIL", + "ROUTE_SERVER_ROUTE_INSTALLATION_DETAILS", + "ROUTE_SERVER_ROUTE_STATUS", + "ROUTE_SERVER_ROUTE", + "ROUTE_SERVER_ROUTE_LIST", + "GET_SECURITY_GROUPS_FOR_VPC_REQUEST_MAX_RESULTS", + "GET_SECURITY_GROUPS_FOR_VPC_INPUT", + "GET_SECURITY_GROUPS_FOR_VPC_OUTPUT", + "GET_SECURITY_GROUPS_FOR_VPC", + "SECURITY_GROUP_FOR_VPC", + "SECURITY_GROUP_FOR_VPC_LIST", + "GET_SERIAL_CONSOLE_ACCESS_STATUS_INPUT", + "GET_SERIAL_CONSOLE_ACCESS_STATUS_OUTPUT", + "GET_SERIAL_CONSOLE_ACCESS_STATUS", + "GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_INPUT", + "GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT", + "GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE", + "INSTANCE_TYPES", + "SPOT_PLACEMENT_SCORES_MAX_RESULTS", + "REGION_NAMES", + "SPOT_PLACEMENT_SCORES_TARGET_CAPACITY", + "GET_SPOT_PLACEMENT_SCORES_INPUT", + "GET_SPOT_PLACEMENT_SCORES_OUTPUT", + "GET_SPOT_PLACEMENT_SCORES", + ), + ( + "TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_STATE", + "SPOT_PLACEMENT_SCORE", + "SPOT_PLACEMENT_SCORES", + "GET_SUBNET_CIDR_RESERVATIONS_MAX_RESULTS", + "GET_SUBNET_CIDR_RESERVATIONS_INPUT", + "GET_SUBNET_CIDR_RESERVATIONS_OUTPUT", + "GET_SUBNET_CIDR_RESERVATIONS", + "SUBNET_CIDR_RESERVATION_LIST", + "GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT", + "GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT", + "GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION", + "TRANSIT_GATEWAY_NAT_RULE_STATE", + "TRANSIT_GATEWAY_NAT_RULE", + "TRANSIT_GATEWAY_NAT_RULE_LIST", + "TRANSIT_GATEWAY_ATTACHMENT_NAT_SYSTEM_ROUTE_SUPPORT_VALUE", + "GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_INPUT", + "GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_OUTPUT", + "GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS", + "TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION", + "TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION_LIST", + "GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_INPUT", + "GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_OUTPUT", + "GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES", + "TRANSIT_GATEWAY_METERING_POLICY_ENTRY_LIST", + "GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT", + "GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT", + "GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS", + "TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION", + "TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION_LIST", + "GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_INPUT", + "GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_OUTPUT", + "GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS", + "TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION_LIST", + "GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_INPUT", + "GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_OUTPUT", + "GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES", + "TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_LIST", + "GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_INPUT", + "GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_OUTPUT", + "GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES", + "TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_SET", + "GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_INPUT", + "GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_OUTPUT", + "GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS", + "TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION", + "TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION_LIST", + "GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_INPUT", + "GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_OUTPUT", + "GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS", + "TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION", + "TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_LIST", + "GET_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT", + "GET_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT", + "GET_VERIFIED_ACCESS_ENDPOINT_POLICY", + "GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_MAX_RESULTS", + "GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_INPUT", + "GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_OUTPUT", + "GET_VERIFIED_ACCESS_ENDPOINT_TARGETS", + "VERIFIED_ACCESS_ENDPOINT_TARGET", + "VERIFIED_ACCESS_ENDPOINT_TARGET_LIST", + "GET_VERIFIED_ACCESS_GROUP_POLICY_INPUT", + "GET_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT", + "GET_VERIFIED_ACCESS_GROUP_POLICY", + "GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_MAX_RESULTS", + "GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_INPUT", + "GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_OUTPUT", + "GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT", + "VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE", + "VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE_LIST", + "VPN_CONNECTION_DEVICE_TYPE_ID", + "GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_INPUT", + "GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_OUTPUT", + "GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION", + "VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION", + "GET_VPN_CONNECTION_DEVICE_TYPES_INPUT", + "GET_VPN_CONNECTION_DEVICE_TYPES_OUTPUT", + "GET_VPN_CONNECTION_DEVICE_TYPES", + "VPN_CONNECTION_DEVICE_TYPE", + "VPN_CONNECTION_DEVICE_TYPE_LIST", + "GET_VPN_TUNNEL_REPLACEMENT_STATUS_INPUT", + "GET_VPN_TUNNEL_REPLACEMENT_STATUS_OUTPUT", + "GET_VPN_TUNNEL_REPLACEMENT_STATUS", + "MAINTENANCE_DETAILS", + "IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT", + "IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT", + "IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST", + "CLIENT_DATA", + "USER_BUCKET", + "IMAGE_DISK_CONTAINER", + "IMAGE_DISK_CONTAINER_LIST", + "IMPORT_IMAGE_LICENSE_CONFIGURATION_REQUEST", + "IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_REQUEST", + "IMPORT_IMAGE_INPUT", + "IMPORT_IMAGE_OUTPUT", + "IMPORT_IMAGE", + "DISK_IMAGE_DETAIL", + "VOLUME_DETAIL", + "DISK_IMAGE", + "DISK_IMAGE_LIST", + "USER_DATA", + ), + ( + "REQUEST_HOST_ID_LIST", + "IMPORT_INSTANCE_LAUNCH_SPECIFICATION", + "IMPORT_INSTANCE_INPUT", + "IMPORT_INSTANCE_OUTPUT", + "IMPORT_INSTANCE", + "BLOB", + "IMPORT_KEY_PAIR_INPUT", + "IMPORT_KEY_PAIR_OUTPUT", + "IMPORT_KEY_PAIR", + "SNAPSHOT_DISK_CONTAINER", + "IMPORT_SNAPSHOT_INPUT", + "IMPORT_SNAPSHOT_OUTPUT", + "IMPORT_SNAPSHOT", + "IMPORT_VOLUME_INPUT", + "IMPORT_VOLUME_OUTPUT", + "IMPORT_VOLUME", + "LIST_IMAGES_IN_RECYCLE_BIN_MAX_RESULTS", + "LIST_IMAGES_IN_RECYCLE_BIN_INPUT", + "LIST_IMAGES_IN_RECYCLE_BIN_OUTPUT", + "LIST_IMAGES_IN_RECYCLE_BIN", + "IMAGE_RECYCLE_BIN_INFO", + "IMAGE_RECYCLE_BIN_INFO_LIST", + "LIST_SNAPSHOTS_IN_RECYCLE_BIN_MAX_RESULTS", + "LIST_SNAPSHOTS_IN_RECYCLE_BIN_INPUT", + "LIST_SNAPSHOTS_IN_RECYCLE_BIN_OUTPUT", + "LIST_SNAPSHOTS_IN_RECYCLE_BIN", + "SNAPSHOT_RECYCLE_BIN_INFO", + "SNAPSHOT_RECYCLE_BIN_INFO_LIST", + "LIST_VOLUMES_IN_RECYCLE_BIN_INPUT", + "LIST_VOLUMES_IN_RECYCLE_BIN_OUTPUT", + "LIST_VOLUMES_IN_RECYCLE_BIN", + "VOLUME_RECYCLE_BIN_INFO", + "VOLUME_RECYCLE_BIN_INFO_LIST", + "COOL_OFF_PERIOD_REQUEST_HOURS", + "RETENTION_PERIOD_REQUEST_DAYS", + "LOCK_MODE", + "LOCK_SNAPSHOT_INPUT", + "LOCK_SNAPSHOT_OUTPUT", + "LOCK_SNAPSHOT", + "MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT", + "MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT", + "MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL", + "MODIFY_ADDRESS_ATTRIBUTE_INPUT", + "MODIFY_ADDRESS_ATTRIBUTE_OUTPUT", + "MODIFY_ADDRESS_ATTRIBUTE", + "MODIFY_APPLICATION_STATUS_CHECK_INPUT", + "MODIFY_APPLICATION_STATUS_CHECK_OUTPUT", + "MODIFY_APPLICATION_STATUS_CHECK", + "MODIFY_AVAILABILITY_ZONE_OPT_IN_STATUS", + "MODIFY_AVAILABILITY_ZONE_GROUP_INPUT", + "MODIFY_AVAILABILITY_ZONE_GROUP_OUTPUT", + "MODIFY_AVAILABILITY_ZONE_GROUP", + "MODIFY_CAPACITY_RESERVATION_INPUT", + "MODIFY_CAPACITY_RESERVATION_OUTPUT", + "MODIFY_CAPACITY_RESERVATION", + "MODIFY_CAPACITY_RESERVATION_FLEET_INPUT", + "MODIFY_CAPACITY_RESERVATION_FLEET_OUTPUT", + "MODIFY_CAPACITY_RESERVATION_FLEET", + "DNS_SERVERS_OPTIONS_MODIFY_STRUCTURE", + "MODIFY_CLIENT_VPN_ENDPOINT_INPUT", + "MODIFY_CLIENT_VPN_ENDPOINT_OUTPUT", + "MODIFY_CLIENT_VPN_ENDPOINT", + "MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT", + "MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT", + "MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY", + "MODIFY_DEFAULT_CREDIT_SPECIFICATION_INPUT", + "MODIFY_DEFAULT_CREDIT_SPECIFICATION_OUTPUT", + "MODIFY_DEFAULT_CREDIT_SPECIFICATION", + "MODIFY_EBS_DEFAULT_KMS_KEY_ID_INPUT", + "MODIFY_EBS_DEFAULT_KMS_KEY_ID_OUTPUT", + "MODIFY_EBS_DEFAULT_KMS_KEY_ID", + "MODIFY_FLEET_INPUT", + "MODIFY_FLEET_OUTPUT", + "MODIFY_FLEET", + "LOAD_PERMISSION_REQUEST", + "LOAD_PERMISSION_LIST_REQUEST", + "LOAD_PERMISSION_MODIFICATIONS", + "OPERATION_TYPE", + "PRODUCT_CODE_STRING_LIST", + "USER_GROUP_STRING_LIST", + "USER_ID_STRING_LIST", + "MODIFY_FPGA_IMAGE_ATTRIBUTE_INPUT", + "MODIFY_FPGA_IMAGE_ATTRIBUTE_OUTPUT", + "MODIFY_FPGA_IMAGE_ATTRIBUTE", + "MODIFY_HOSTS_INPUT", + "MODIFY_HOSTS_OUTPUT", + "MODIFY_HOSTS", + "UNSUCCESSFUL_ITEM_LIST", + "MODIFY_IDENTITY_ID_FORMAT_INPUT", + "MODIFY_IDENTITY_ID_FORMAT_OUTPUT", + "MODIFY_IDENTITY_ID_FORMAT", + "MODIFY_ID_FORMAT_INPUT", + "MODIFY_ID_FORMAT_OUTPUT", + "MODIFY_ID_FORMAT", + "LAUNCH_PERMISSION_MODIFICATIONS", + "ORGANIZATIONAL_UNIT_ARN_STRING_LIST", + "ORGANIZATION_ARN_STRING_LIST", + "MODIFY_IMAGE_ATTRIBUTE_INPUT", + "MODIFY_IMAGE_ATTRIBUTE_OUTPUT", + "MODIFY_IMAGE_ATTRIBUTE", + "EBS_INSTANCE_BLOCK_DEVICE_SPECIFICATION", + "INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION", + "INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION_LIST", + ), + ( + "SECURE_BLOB_ATTRIBUTE_VALUE", + "MODIFY_INSTANCE_ATTRIBUTE_VALUE", + "MODIFY_INSTANCE_ATTRIBUTE_INPUT", + "MODIFY_INSTANCE_ATTRIBUTE_OUTPUT", + "MODIFY_INSTANCE_ATTRIBUTE", + "MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_INPUT", + "MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_OUTPUT", + "MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES", + "MODIFY_INSTANCE_CONNECT_ENDPOINT_INPUT", + "MODIFY_INSTANCE_CONNECT_ENDPOINT_OUTPUT", + "MODIFY_INSTANCE_CONNECT_ENDPOINT", + "MODIFY_INSTANCE_CPU_OPTIONS_INPUT", + "MODIFY_INSTANCE_CPU_OPTIONS_OUTPUT", + "MODIFY_INSTANCE_CPU_OPTIONS", + "INSTANCE_CREDIT_SPECIFICATION_REQUEST", + "INSTANCE_CREDIT_SPECIFICATION_LIST_REQUEST", + "MODIFY_INSTANCE_CREDIT_SPECIFICATION_INPUT", + "MODIFY_INSTANCE_CREDIT_SPECIFICATION_OUTPUT", + "MODIFY_INSTANCE_CREDIT_SPECIFICATION", + "SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM", + "SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET", + "UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ERROR_CODE", + "UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM_ERROR", + "UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM", + "UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET", + "MODIFY_INSTANCE_EVENT_START_TIME_INPUT", + "MODIFY_INSTANCE_EVENT_START_TIME_OUTPUT", + "MODIFY_INSTANCE_EVENT_START_TIME", + "MODIFY_INSTANCE_EVENT_WINDOW_INPUT", + "MODIFY_INSTANCE_EVENT_WINDOW_OUTPUT", + "MODIFY_INSTANCE_EVENT_WINDOW", + "MODIFY_INSTANCE_MAINTENANCE_OPTIONS_INPUT", + "MODIFY_INSTANCE_MAINTENANCE_OPTIONS_OUTPUT", + "MODIFY_INSTANCE_MAINTENANCE_OPTIONS", + "DEFAULT_INSTANCE_METADATA_ENDPOINT_STATE", + "METADATA_DEFAULT_HTTP_TOKENS_STATE", + "DEFAULT_HTTP_TOKENS_ENFORCED_STATE", + "DEFAULT_INSTANCE_METADATA_TAGS_STATE", + "MODIFY_INSTANCE_METADATA_DEFAULTS_INPUT", + "MODIFY_INSTANCE_METADATA_DEFAULTS_OUTPUT", + "MODIFY_INSTANCE_METADATA_DEFAULTS", + "MODIFY_INSTANCE_METADATA_OPTIONS_INPUT", + "MODIFY_INSTANCE_METADATA_OPTIONS_OUTPUT", + "MODIFY_INSTANCE_METADATA_OPTIONS", + "MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_INPUT", + "MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_OUTPUT", + "MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS", + "HOST_TENANCY", + "MODIFY_INSTANCE_PLACEMENT_INPUT", + "MODIFY_INSTANCE_PLACEMENT_OUTPUT", + "MODIFY_INSTANCE_PLACEMENT", + "REMOVE_IPAM_OPERATING_REGION", + "REMOVE_IPAM_OPERATING_REGION_SET", + "MODIFY_IPAM_INPUT", + "MODIFY_IPAM_OUTPUT", + "MODIFY_IPAM", + "IPAM_POLICY_ALLOCATION_RULE_REQUEST", + "IPAM_POLICY_ALLOCATION_RULE_LIST_REQUEST", + "MODIFY_IPAM_POLICY_ALLOCATION_RULES_INPUT", + "MODIFY_IPAM_POLICY_ALLOCATION_RULES_OUTPUT", + "MODIFY_IPAM_POLICY_ALLOCATION_RULES", + "MODIFY_IPAM_POOL_INPUT", + "MODIFY_IPAM_POOL_OUTPUT", + "MODIFY_IPAM_POOL", + "MODIFY_IPAM_POOL_ALLOCATION_INPUT", + "MODIFY_IPAM_POOL_ALLOCATION_OUTPUT", + "MODIFY_IPAM_POOL_ALLOCATION", + "MODIFY_IPAM_PREFIX_LIST_RESOLVER_INPUT", + "MODIFY_IPAM_PREFIX_LIST_RESOLVER_OUTPUT", + "MODIFY_IPAM_PREFIX_LIST_RESOLVER", + "MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT", + "MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT", + "MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET", + "MODIFY_IPAM_RESOURCE_CIDR_INPUT", + "MODIFY_IPAM_RESOURCE_CIDR_OUTPUT", + "MODIFY_IPAM_RESOURCE_CIDR", + "REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION", + "REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET", + "MODIFY_IPAM_RESOURCE_DISCOVERY_INPUT", + "MODIFY_IPAM_RESOURCE_DISCOVERY_OUTPUT", + "MODIFY_IPAM_RESOURCE_DISCOVERY", + "MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_INPUT", + "MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT", + "MODIFY_IPAM_ROUTING_POLICY_REGISTRATION", + "MODIFY_IPAM_SCOPE_INPUT", + "MODIFY_IPAM_SCOPE_OUTPUT", + "MODIFY_IPAM_SCOPE", + "MODIFY_LAUNCH_TEMPLATE_INPUT", + "MODIFY_LAUNCH_TEMPLATE_OUTPUT", + "MODIFY_LAUNCH_TEMPLATE", + "MODIFY_LOCAL_GATEWAY_ROUTE_INPUT", + "MODIFY_LOCAL_GATEWAY_ROUTE_OUTPUT", + "MODIFY_LOCAL_GATEWAY_ROUTE", + "REMOVE_PREFIX_LIST_ENTRY", + "REMOVE_PREFIX_LIST_ENTRIES", + "MODIFY_MANAGED_PREFIX_LIST_INPUT", + "MODIFY_MANAGED_PREFIX_LIST_OUTPUT", + "MODIFY_MANAGED_PREFIX_LIST", + "MODIFY_MANAGED_RESOURCE_VISIBILITY_INPUT", + "MODIFY_MANAGED_RESOURCE_VISIBILITY_OUTPUT", + "MODIFY_MANAGED_RESOURCE_VISIBILITY", + "SUBNET_ID_LIST", + ), + ( + "NETWORK_INTERFACE_ATTACHMENT_CHANGES", + "MODIFY_NETWORK_INTERFACE_ATTRIBUTE_INPUT", + "MODIFY_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT", + "MODIFY_NETWORK_INTERFACE_ATTRIBUTE", + "MODIFY_PRIVATE_DNS_NAME_OPTIONS_INPUT", + "MODIFY_PRIVATE_DNS_NAME_OPTIONS_OUTPUT", + "MODIFY_PRIVATE_DNS_NAME_OPTIONS", + "PUBLIC_IP_DNS_OPTION", + "MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_INPUT", + "MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_OUTPUT", + "MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS", + "RESERVED_INSTANCES_CONFIGURATION_LIST", + "MODIFY_RESERVED_INSTANCES_INPUT", + "MODIFY_RESERVED_INSTANCES_OUTPUT", + "MODIFY_RESERVED_INSTANCES", + "MODIFY_ROUTE_SERVER_INPUT", + "MODIFY_ROUTE_SERVER_OUTPUT", + "MODIFY_ROUTE_SERVER", + "SECURITY_GROUP_RULE_REQUEST", + "SECURITY_GROUP_RULE_UPDATE", + "SECURITY_GROUP_RULE_UPDATE_LIST", + "MODIFY_SECURITY_GROUP_RULES_INPUT", + "MODIFY_SECURITY_GROUP_RULES_OUTPUT", + "MODIFY_SECURITY_GROUP_RULES", + "CREATE_VOLUME_PERMISSION_MODIFICATIONS", + "MODIFY_SNAPSHOT_ATTRIBUTE_INPUT", + "MODIFY_SNAPSHOT_ATTRIBUTE_OUTPUT", + "MODIFY_SNAPSHOT_ATTRIBUTE", + "TARGET_STORAGE_TIER", + "MODIFY_SNAPSHOT_TIER_INPUT", + "MODIFY_SNAPSHOT_TIER_OUTPUT", + "MODIFY_SNAPSHOT_TIER", + "MODIFY_SPOT_FLEET_REQUEST_INPUT", + "MODIFY_SPOT_FLEET_REQUEST_OUTPUT", + "MODIFY_SPOT_FLEET_REQUEST", + "MODIFY_SUBNET_ATTRIBUTE_INPUT", + "MODIFY_SUBNET_ATTRIBUTE_OUTPUT", + "MODIFY_SUBNET_ATTRIBUTE", + "MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_INPUT", + "MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_OUTPUT", + "MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES", + "TRAFFIC_MIRROR_FILTER_RULE_FIELD", + "TRAFFIC_MIRROR_FILTER_RULE_FIELD_LIST", + "MODIFY_TRAFFIC_MIRROR_FILTER_RULE_INPUT", + "MODIFY_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT", + "MODIFY_TRAFFIC_MIRROR_FILTER_RULE", + "TRAFFIC_MIRROR_SESSION_FIELD", + "TRAFFIC_MIRROR_SESSION_FIELD_LIST", + "MODIFY_TRAFFIC_MIRROR_SESSION_INPUT", + "MODIFY_TRAFFIC_MIRROR_SESSION_OUTPUT", + "MODIFY_TRAFFIC_MIRROR_SESSION", + "ENCRYPTION_SUPPORT_OPTION_VALUE", + "MODIFY_TRANSIT_GATEWAY_OPTIONS", + "MODIFY_TRANSIT_GATEWAY_INPUT", + "MODIFY_TRANSIT_GATEWAY_OUTPUT", + "MODIFY_TRANSIT_GATEWAY", + "TRANSIT_GATEWAY_NAT_RULE_REQUEST", + "TRANSIT_GATEWAY_NAT_RULE_REQUEST_LIST", + "TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_VALUE", + "MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT", + "MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT", + "MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION", + "MODIFY_TRANSIT_GATEWAY_METERING_POLICY_INPUT", + "MODIFY_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT", + "MODIFY_TRANSIT_GATEWAY_METERING_POLICY", + "MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT", + "MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT", + "MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY", + "MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT", + "MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT", + "MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE", + "MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS", + "MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT", + "MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT", + "MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_INPUT", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_OUTPUT", + "MODIFY_VERIFIED_ACCESS_ENDPOINT", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT", + "MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY", + "MODIFY_VERIFIED_ACCESS_GROUP_INPUT", + "MODIFY_VERIFIED_ACCESS_GROUP_OUTPUT", + "MODIFY_VERIFIED_ACCESS_GROUP", + "MODIFY_VERIFIED_ACCESS_GROUP_POLICY_INPUT", + "MODIFY_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT", + "MODIFY_VERIFIED_ACCESS_GROUP_POLICY", + "MODIFY_VERIFIED_ACCESS_INSTANCE_INPUT", + "MODIFY_VERIFIED_ACCESS_INSTANCE_OUTPUT", + "MODIFY_VERIFIED_ACCESS_INSTANCE", + ), + ( + "VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION_OPTIONS", + "VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION_OPTIONS", + "VERIFIED_ACCESS_LOG_S3_DESTINATION_OPTIONS", + "VERIFIED_ACCESS_LOG_OPTIONS", + "MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_INPUT", + "MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_OUTPUT", + "MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION", + "MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS", + "MODIFY_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS", + "MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS", + "MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT", + "MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT", + "MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER", + "MODIFY_VOLUME_INPUT", + "MODIFY_VOLUME_OUTPUT", + "MODIFY_VOLUME", + "MODIFY_VOLUME_ATTRIBUTE_INPUT", + "MODIFY_VOLUME_ATTRIBUTE_OUTPUT", + "MODIFY_VOLUME_ATTRIBUTE", + "MODIFY_VPC_ATTRIBUTE_INPUT", + "MODIFY_VPC_ATTRIBUTE_OUTPUT", + "MODIFY_VPC_ATTRIBUTE", + "MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT", + "MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT", + "MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION", + "MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT", + "MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT", + "MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS", + "MODIFY_VPC_ENCRYPTION_CONTROL_INPUT", + "MODIFY_VPC_ENCRYPTION_CONTROL_OUTPUT", + "MODIFY_VPC_ENCRYPTION_CONTROL", + "MODIFY_VPC_ENDPOINT_INPUT", + "MODIFY_VPC_ENDPOINT_OUTPUT", + "MODIFY_VPC_ENDPOINT", + "MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT", + "MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT", + "MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION", + "MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_INPUT", + "MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_OUTPUT", + "MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY", + "MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT", + "MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT", + "MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION", + "MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_INPUT", + "MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_OUTPUT", + "MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY", + "MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT", + "MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT", + "MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS", + "PEERING_CONNECTION_OPTIONS_REQUEST", + "MODIFY_VPC_PEERING_CONNECTION_OPTIONS_INPUT", + "MODIFY_VPC_PEERING_CONNECTION_OPTIONS_OUTPUT", + "MODIFY_VPC_PEERING_CONNECTION_OPTIONS", + "PEERING_CONNECTION_OPTIONS", + "VPC_TENANCY", + "MODIFY_VPC_TENANCY_INPUT", + "MODIFY_VPC_TENANCY_OUTPUT", + "MODIFY_VPC_TENANCY", + "MODIFY_VPN_CONNECTION_INPUT", + "MODIFY_VPN_CONNECTION_OUTPUT", + "MODIFY_VPN_CONNECTION", + "MODIFY_VPN_CONNECTION_OPTIONS_INPUT", + "MODIFY_VPN_CONNECTION_OPTIONS_OUTPUT", + "MODIFY_VPN_CONNECTION_OPTIONS", + "MODIFY_VPN_TUNNEL_CERTIFICATE_INPUT", + "MODIFY_VPN_TUNNEL_CERTIFICATE_OUTPUT", + "MODIFY_VPN_TUNNEL_CERTIFICATE", + "MODIFY_VPN_TUNNEL_OPTIONS_SPECIFICATION", + "MODIFY_VPN_TUNNEL_OPTIONS_INPUT", + "MODIFY_VPN_TUNNEL_OPTIONS_OUTPUT", + "MODIFY_VPN_TUNNEL_OPTIONS", + "MONITOR_INSTANCES_INPUT", + "MONITOR_INSTANCES_OUTPUT", + "MONITOR_INSTANCES", + "INSTANCE_MONITORING", + "INSTANCE_MONITORING_LIST", + "MOVE_ADDRESS_TO_VPC_INPUT", + "MOVE_ADDRESS_TO_VPC_OUTPUT", + "MOVE_ADDRESS_TO_VPC", + "STATUS", + "MOVE_BYOIP_CIDR_TO_IPAM_INPUT", + "MOVE_BYOIP_CIDR_TO_IPAM_OUTPUT", + "MOVE_BYOIP_CIDR_TO_IPAM", + "MOVE_CAPACITY_RESERVATION_INSTANCES_INPUT", + "MOVE_CAPACITY_RESERVATION_INSTANCES_OUTPUT", + "MOVE_CAPACITY_RESERVATION_INSTANCES", + "CIDR_AUTHORIZATION_CONTEXT", + "PROVISION_BYOIP_CIDR_INPUT", + "PROVISION_BYOIP_CIDR_OUTPUT", + "PROVISION_BYOIP_CIDR", + "ASN_AUTHORIZATION_CONTEXT", + "PROVISION_IPAM_BYOASN_INPUT", + "PROVISION_IPAM_BYOASN_OUTPUT", + "PROVISION_IPAM_BYOASN", + "IPAM_CIDR_AUTHORIZATION_CONTEXT", + "VERIFICATION_METHOD", + ), + ( + "PROVISION_IPAM_POOL_CIDR_INPUT", + "PROVISION_IPAM_POOL_CIDR_OUTPUT", + "PROVISION_IPAM_POOL_CIDR", + "PROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT", + "PROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT", + "PROVISION_PUBLIC_IPV4_POOL_CIDR", + "PURCHASE_CAPACITY_BLOCK_INPUT", + "PURCHASE_CAPACITY_BLOCK_OUTPUT", + "PURCHASE_CAPACITY_BLOCK", + "PURCHASE_CAPACITY_BLOCK_EXTENSION_INPUT", + "PURCHASE_CAPACITY_BLOCK_EXTENSION_OUTPUT", + "PURCHASE_CAPACITY_BLOCK_EXTENSION", + "PURCHASE_HOST_RESERVATION_INPUT", + "PURCHASE_HOST_RESERVATION_OUTPUT", + "PURCHASE_HOST_RESERVATION", + "RESERVED_INSTANCE_LIMIT_PRICE", + "PURCHASE_RESERVED_INSTANCES_OFFERING_INPUT", + "PURCHASE_RESERVED_INSTANCES_OFFERING_OUTPUT", + "PURCHASE_RESERVED_INSTANCES_OFFERING", + "PURCHASE_REQUEST", + "PURCHASE_REQUEST_SET", + "PURCHASE_SCHEDULED_INSTANCES_INPUT", + "PURCHASE_SCHEDULED_INSTANCES_OUTPUT", + "PURCHASE_SCHEDULED_INSTANCES", + "PURCHASED_SCHEDULED_INSTANCE_SET", + "REBOOT_INSTANCES_INPUT", + "REBOOT_INSTANCES_OUTPUT", + "REBOOT_INSTANCES", + "BILLING_PRODUCT_LIST", + "IMAGE_UEFI_DATA_REQUEST", + "REGISTER_IMAGE_INPUT", + "REGISTER_IMAGE_OUTPUT", + "REGISTER_IMAGE", + "REGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST", + "REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT", + "REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT", + "REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES", + "REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT", + "REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT", + "REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS", + "TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_MEMBERS", + "REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT", + "REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT", + "REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES", + "TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_SOURCES", + "REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT", + "REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT", + "REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP", + "REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT", + "REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT", + "REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT", + "REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT", + "REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT", + "REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS", + "REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT", + "REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT", + "REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT", + "REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT", + "REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT", + "REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT", + "REJECT_VPC_ENDPOINT_CONNECTIONS_INPUT", + "REJECT_VPC_ENDPOINT_CONNECTIONS_OUTPUT", + "REJECT_VPC_ENDPOINT_CONNECTIONS", + "REJECT_VPC_PEERING_CONNECTION_INPUT", + "REJECT_VPC_PEERING_CONNECTION_OUTPUT", + "REJECT_VPC_PEERING_CONNECTION", + "RELEASE_ADDRESS_INPUT", + "RELEASE_ADDRESS_OUTPUT", + "RELEASE_ADDRESS", + "RELEASE_HOSTS_INPUT", + "RELEASE_HOSTS_OUTPUT", + "RELEASE_HOSTS", + "RELEASE_IPAM_POOL_ALLOCATION_INPUT", + "RELEASE_IPAM_POOL_ALLOCATION_OUTPUT", + "RELEASE_IPAM_POOL_ALLOCATION", + "REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_INPUT", + "REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_OUTPUT", + "REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION", + "CREATION_DATE_CONDITION_REQUEST", + "DEPRECATION_TIME_CONDITION_REQUEST", + "IMAGE_NAME_CRITERIA_REQUEST", + "IMAGE_NAME_CRITERIA_REQUEST_LIST", + "IMAGE_PROVIDER_REQUEST", + "IMAGE_PROVIDER_REQUEST_LIST", + "IMAGE_WATERMARK_FILTER_REQUEST", + "IMAGE_WATERMARK_FILTER_REQUEST_LIST", + "MARKETPLACE_PRODUCT_CODE_REQUEST", + "MARKETPLACE_PRODUCT_CODE_REQUEST_LIST", + "SCAN_RESULT_CONDITION_REQUEST", + "IMAGE_CRITERION_REQUEST", + "IMAGE_CRITERION_REQUEST_LIST", + "REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_INPUT", + "REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_OUTPUT", + "REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS", + "INSTANCE_TYPE_ITEM_REQUEST", + "SUPPORTED_INSTANCE_TYPE_REQUEST_SET", + "UNSUPPORTED_INSTANCE_TYPE_REQUEST_SET", + "INSTANCE_TYPE_SPECIFICATION_REQUEST", + "REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_INPUT", + "REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_OUTPUT", + "REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION", + "NETWORK_ACL_ASSOCIATION_ID", + "REPLACE_NETWORK_ACL_ASSOCIATION_INPUT", + "REPLACE_NETWORK_ACL_ASSOCIATION_OUTPUT", + "REPLACE_NETWORK_ACL_ASSOCIATION", + "REPLACE_NETWORK_ACL_ENTRY_INPUT", + "REPLACE_NETWORK_ACL_ENTRY_OUTPUT", + "REPLACE_NETWORK_ACL_ENTRY", + "REPLACE_ROUTE_INPUT", + "REPLACE_ROUTE_OUTPUT", + "REPLACE_ROUTE", + ), + ( + "SECURITY_GROUP_RULE_ID_LIST", + "REPLACE_ROUTE_TABLE_ASSOCIATION_INPUT", + "REPLACE_ROUTE_TABLE_ASSOCIATION_OUTPUT", + "REPLACE_ROUTE_TABLE_ASSOCIATION", + "REPLACE_TRANSIT_GATEWAY_ROUTE_INPUT", + "REPLACE_TRANSIT_GATEWAY_ROUTE_OUTPUT", + "REPLACE_TRANSIT_GATEWAY_ROUTE", + "REPLACE_VPN_TUNNEL_INPUT", + "REPLACE_VPN_TUNNEL_OUTPUT", + "REPLACE_VPN_TUNNEL", + "REPORT_INSTANCE_STATUS_REQUEST_DESCRIPTION", + "REPORT_INSTANCE_REASON_CODES", + "REASON_CODES_LIST", + "REPORT_STATUS_TYPE", + "REPORT_INSTANCE_STATUS_INPUT", + "REPORT_INSTANCE_STATUS_OUTPUT", + "REPORT_INSTANCE_STATUS", + "REQUEST_SPOT_FLEET_INPUT", + "REQUEST_SPOT_FLEET_OUTPUT", + "REQUEST_SPOT_FLEET", + "REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_ID_LIST", + "REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_LIST", + "REQUEST_SPOT_LAUNCH_SPECIFICATION", + "REQUEST_SPOT_INSTANCES_INPUT", + "REQUEST_SPOT_INSTANCES_OUTPUT", + "REQUEST_SPOT_INSTANCES", + "RESET_ADDRESS_ATTRIBUTE_INPUT", + "RESET_ADDRESS_ATTRIBUTE_OUTPUT", + "RESET_ADDRESS_ATTRIBUTE", + "RESET_EBS_DEFAULT_KMS_KEY_ID_INPUT", + "RESET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT", + "RESET_EBS_DEFAULT_KMS_KEY_ID", + "RESET_FPGA_IMAGE_ATTRIBUTE_NAME", + "RESET_FPGA_IMAGE_ATTRIBUTE_INPUT", + "RESET_FPGA_IMAGE_ATTRIBUTE_OUTPUT", + "RESET_FPGA_IMAGE_ATTRIBUTE", + "RESET_IMAGE_ATTRIBUTE_NAME", + "RESET_IMAGE_ATTRIBUTE_INPUT", + "RESET_IMAGE_ATTRIBUTE_OUTPUT", + "RESET_IMAGE_ATTRIBUTE", + "RESET_INSTANCE_ATTRIBUTE_INPUT", + "RESET_INSTANCE_ATTRIBUTE_OUTPUT", + "RESET_INSTANCE_ATTRIBUTE", + "RESET_NETWORK_INTERFACE_ATTRIBUTE_INPUT", + "RESET_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT", + "RESET_NETWORK_INTERFACE_ATTRIBUTE", + "RESET_SNAPSHOT_ATTRIBUTE_INPUT", + "RESET_SNAPSHOT_ATTRIBUTE_OUTPUT", + "RESET_SNAPSHOT_ATTRIBUTE", + "RESTORE_ADDRESS_TO_CLASSIC_INPUT", + "RESTORE_ADDRESS_TO_CLASSIC_OUTPUT", + "RESTORE_ADDRESS_TO_CLASSIC", + "RESTORE_IMAGE_FROM_RECYCLE_BIN_INPUT", + "RESTORE_IMAGE_FROM_RECYCLE_BIN_OUTPUT", + "RESTORE_IMAGE_FROM_RECYCLE_BIN", + "RESTORE_MANAGED_PREFIX_LIST_VERSION_INPUT", + "RESTORE_MANAGED_PREFIX_LIST_VERSION_OUTPUT", + "RESTORE_MANAGED_PREFIX_LIST_VERSION", + "RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_INPUT", + "RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_OUTPUT", + "RESTORE_SNAPSHOT_FROM_RECYCLE_BIN", + "RESTORE_SNAPSHOT_TIER_REQUEST_TEMPORARY_RESTORE_DAYS", + "RESTORE_SNAPSHOT_TIER_INPUT", + "RESTORE_SNAPSHOT_TIER_OUTPUT", + "RESTORE_SNAPSHOT_TIER", + "RESTORE_VOLUME_FROM_RECYCLE_BIN_INPUT", + "RESTORE_VOLUME_FROM_RECYCLE_BIN_OUTPUT", + "RESTORE_VOLUME_FROM_RECYCLE_BIN", + "REVOKE_CLIENT_VPN_INGRESS_INPUT", + "REVOKE_CLIENT_VPN_INGRESS_OUTPUT", + "REVOKE_CLIENT_VPN_INGRESS", + "REVOKE_SECURITY_GROUP_EGRESS_INPUT", + "REVOKE_SECURITY_GROUP_EGRESS_OUTPUT", + "REVOKE_SECURITY_GROUP_EGRESS", + "REVOKED_SECURITY_GROUP_RULE", + "REVOKED_SECURITY_GROUP_RULE_LIST", + "REVOKE_SECURITY_GROUP_INGRESS_INPUT", + "REVOKE_SECURITY_GROUP_INGRESS_OUTPUT", + "REVOKE_SECURITY_GROUP_INGRESS", + "CPU_OPTIONS_REQUEST", + "ELASTIC_GPU_SPECIFICATIONS", + "ELASTIC_INFERENCE_ACCELERATOR_COUNT", + "ELASTIC_INFERENCE_ACCELERATOR", + "ELASTIC_INFERENCE_ACCELERATORS", + "HIBERNATION_OPTIONS_REQUEST", + "SPOT_MARKET_OPTIONS", + "INSTANCE_MARKET_OPTIONS_REQUEST", + "LAUNCH_TEMPLATE_SPECIFICATION", + "LICENSE_CONFIGURATION_REQUEST", + "LICENSE_SPECIFICATION_LIST_REQUEST", + "INSTANCE_MAINTENANCE_OPTIONS_REQUEST", + "INSTANCE_METADATA_OPTIONS_REQUEST", + "INSTANCE_NETWORK_PERFORMANCE_OPTIONS_REQUEST", + "PRIVATE_DNS_NAME_OPTIONS_REQUEST", + "INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_REQUEST", + "INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST_REQUEST", + "INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST", + "INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST_REQUEST", + "RUN_INSTANCES_USER_DATA", + "RUN_INSTANCES_INPUT", + "RUN_INSTANCES_OUTPUT", + "RUN_INSTANCES", + ), + ( + "SCHEDULED_INSTANCES_EBS", + "SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING", + "SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING_SET", + "SCHEDULED_INSTANCES_IAM_INSTANCE_PROFILE", + "SCHEDULED_INSTANCES_MONITORING", + "SCHEDULED_INSTANCES_SECURITY_GROUP_ID_SET", + "IPV6_ADDRESS", + "SCHEDULED_INSTANCES_IPV6_ADDRESS", + "SCHEDULED_INSTANCES_IPV6_ADDRESS_LIST", + "SCHEDULED_INSTANCES_PRIVATE_IP_ADDRESS_CONFIG", + "PRIVATE_IP_ADDRESS_CONFIG_SET", + "SCHEDULED_INSTANCES_NETWORK_INTERFACE", + "SCHEDULED_INSTANCES_NETWORK_INTERFACE_SET", + "SCHEDULED_INSTANCES_PLACEMENT", + "SCHEDULED_INSTANCES_LAUNCH_SPECIFICATION", + "RUN_SCHEDULED_INSTANCES_INPUT", + "RUN_SCHEDULED_INSTANCES_OUTPUT", + "RUN_SCHEDULED_INSTANCES", + "INSTANCE_ID_SET", + "SEARCH_LOCAL_GATEWAY_ROUTES_INPUT", + "SEARCH_LOCAL_GATEWAY_ROUTES_OUTPUT", + "SEARCH_LOCAL_GATEWAY_ROUTES", + "LOCAL_GATEWAY_ROUTE_LIST", + "SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_INPUT", + "SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_OUTPUT", + "SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS", + "MEMBERSHIP_TYPE", + "TRANSIT_GATEWAY_MULTICAST_GROUP", + "TRANSIT_GATEWAY_MULTICAST_GROUP_LIST", + "SEARCH_TRANSIT_GATEWAY_ROUTES_INPUT", + "SEARCH_TRANSIT_GATEWAY_ROUTES_OUTPUT", + "SEARCH_TRANSIT_GATEWAY_ROUTES", + "TRANSIT_GATEWAY_ROUTE_LIST", + "SEND_DIAGNOSTIC_INTERRUPT_INPUT", + "SEND_DIAGNOSTIC_INTERRUPT_OUTPUT", + "SEND_DIAGNOSTIC_INTERRUPT", + "START_DECLARATIVE_POLICIES_REPORT_INPUT", + "START_DECLARATIVE_POLICIES_REPORT_OUTPUT", + "START_DECLARATIVE_POLICIES_REPORT", + "START_INSTANCES_INPUT", + "START_INSTANCES_OUTPUT", + "START_INSTANCES", + "INSTANCE_STATE_CHANGE", + "INSTANCE_STATE_CHANGE_LIST", + "START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT", + "START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT", + "START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS", + "START_NETWORK_INSIGHTS_ANALYSIS_INPUT", + "START_NETWORK_INSIGHTS_ANALYSIS_OUTPUT", + "START_NETWORK_INSIGHTS_ANALYSIS", + "START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_INPUT", + "START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_OUTPUT", + "START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION", + "STOP_INSTANCES_INPUT", + "STOP_INSTANCES_OUTPUT", + "STOP_INSTANCES", + "TERMINATE_CLIENT_VPN_CONNECTIONS_INPUT", + "TERMINATE_CLIENT_VPN_CONNECTIONS_OUTPUT", + "TERMINATE_CLIENT_VPN_CONNECTIONS", + "TERMINATE_CONNECTION_STATUS", + "TERMINATE_CONNECTION_STATUS_SET", + "TERMINATE_INSTANCES_INPUT", + "TERMINATE_INSTANCES_OUTPUT", + "TERMINATE_INSTANCES", + "UNASSIGN_IPV6_ADDRESSES_INPUT", + "UNASSIGN_IPV6_ADDRESSES_OUTPUT", + "UNASSIGN_IPV6_ADDRESSES", + "UNASSIGN_PRIVATE_IP_ADDRESSES_INPUT", + "UNASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT", + "UNASSIGN_PRIVATE_IP_ADDRESSES", + "UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT", + "UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT", + "UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS", + "UNLOCK_SNAPSHOT_INPUT", + "UNLOCK_SNAPSHOT_OUTPUT", + "UNLOCK_SNAPSHOT", + "UNMONITOR_INSTANCES_INPUT", + "UNMONITOR_INSTANCES_OUTPUT", + "UNMONITOR_INSTANCES", + "UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT", + "UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT", + "UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS", + "UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_INPUT", + "UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_OUTPUT", + "UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS", + "UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT", + "UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT", + "UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION", + "SECURITY_GROUP_RULE_DESCRIPTION", + "SECURITY_GROUP_RULE_DESCRIPTION_LIST", + "UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_INPUT", + "UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_OUTPUT", + "UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS", + "UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_INPUT", + "UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_OUTPUT", + "UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS", + "VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_INPUT", + "VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_OUTPUT", + "VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE", + "WITHDRAW_BYOIP_CIDR_INPUT", + "WITHDRAW_BYOIP_CIDR_OUTPUT", + "WITHDRAW_BYOIP_CIDR", + "AMAZON_EC2", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_0.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_0.py new file mode 100644 index 000000000..b2bfbee69 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_0.py @@ -0,0 +1,1875 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_I = "Integer" +_AC = "AcceleratorCount" +_M = "Min" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_m = "min" +_Ma = "Max" +_ma = "max" +_ACR = "AcceleratorCountRequest" +_AM = "AcceleratorManufacturer" +_AWS = "AMAZON_WEB_SERVICES" +_sV = "smithy.api#enumValue" +_aws = "amazon-web-services" +_AMD = "AMD" +_a = "amd" +_NVIDIA = "NVIDIA" +_n = "nvidia" +_XILINX = "XILINX" +_x = "xilinx" +_HABANA = "HABANA" +_h = "habana" +_AMS = "AcceleratorManufacturerSet" +_me = "member" +_i = "item" +_AN = "AcceleratorName" +_A = "A100" +_a_ = "a100" +_INFERENTIA = "INFERENTIA" +_in = "inferentia" +_K = "K520" +_k = "k520" +_K_ = "K80" +_k_ = "k80" +_M_ = "M60" +_m_ = "m60" +_RPV = "RADEON_PRO_V520" +_rpv = "radeon-pro-v520" +_T = "T4" +_t = "t4" +_VUP = "VU9P" +_v = "vu9p" +_V = "V100" +_v_ = "v100" +_AG = "A10G" +_ag = "a10g" +_H = "H100" +_h_ = "h100" +_TG = "T4G" +_tg = "t4g" +_LS = "L40S" +_l = "l40s" +_L = "L4" +_l_ = "l4" +_GH = "GAUDI_HL_205" +_gh = "gaudi-hl-205" +_INFERENTIA_ = "INFERENTIA2" +_inf = "inferentia2" +_TRAINIUM = "TRAINIUM" +_tr = "trainium" +_TRAINIUM_ = "TRAINIUM2" +_tra = "trainium2" +_U = "U30" +_u = "u30" +_ANS = "AcceleratorNameSet" +_ATMMB = "AcceleratorTotalMemoryMiB" +_ATMMBR = "AcceleratorTotalMemoryMiBRequest" +_AT = "AcceleratorType" +_GPU = "GPU" +_g = "gpu" +_FPGA = "FPGA" +_f = "fpga" +_INFERENCE = "INFERENCE" +_infe = "inference" +_MEDIA = "MEDIA" +_med = "media" +_ATS = "AcceleratorTypeSet" +_S = "String" +_B = "Boolean" +_RT = "ResourceType" +_cr = "capacity_reservation" +_cr_ = "capacity-reservation" +_cve = "client_vpn_endpoint" +_cve_ = "client-vpn-endpoint" +_cg = "customer_gateway" +_cg_ = "customer-gateway" +_cg__ = "carrier_gateway" +_cg___ = "carrier-gateway" +_cp = "coip_pool" +_cp_ = "coip-pool" +_dpr = "declarative_policies_report" +_dpr_ = "declarative-policies-report" +_dh = "dedicated_host" +_dh_ = "dedicated-host" +_do = "dhcp_options" +_do_ = "dhcp-options" +_eoig = "egress_only_internet_gateway" +_eoig_ = "egress-only-internet-gateway" +_ei = "elastic_ip" +_ei_ = "elastic-ip" +_eg = "elastic_gpu" +_eg_ = "elastic-gpu" +_eit = "export_image_task" +_eit_ = "export-image-task" +_eit__ = "export_instance_task" +_eit___ = "export-instance-task" +_fl = "fleet" +_fi = "fpga_image" +_fi_ = "fpga-image" +_hr = "host_reservation" +_hr_ = "host-reservation" +_im = "image" +_iur = "image_usage_report" +_iur_ = "image-usage-report" +_iit = "import_image_task" +_iit_ = "import-image-task" +_ist = "import_snapshot_task" +_ist_ = "import-snapshot-task" +_ins = "instance" +_iew = "instance_event_window" +_iew_ = "instance-event-window" +_ig = "internet_gateway" +_ig_ = "internet-gateway" +_ip = "ipam" +_ip_ = "ipam_pool" +_ip__ = "ipam-pool" +_is = "ipam_scope" +_is_ = "ipam-scope" +_ie = "ipv4pool_ec2" +_ie_ = "ipv4pool-ec2" +_ie__ = "ipv6pool_ec2" +_ie___ = "ipv6pool-ec2" +_kp = "key_pair" +_kp_ = "key-pair" +_lt = "launch_template" +_lt_ = "launch-template" +_lg = "local_gateway" +_lg_ = "local-gateway" +_lgrt = "local_gateway_route_table" +_lgrt_ = "local-gateway-route-table" +_lgvi = "local_gateway_virtual_interface" +_lgvi_ = "local-gateway-virtual-interface" +_lgvig = "local_gateway_virtual_interface_group" +_lgvig_ = "local-gateway-virtual-interface-group" +_lgrtva = "local_gateway_route_table_vpc_association" +_lgrtva_ = "local-gateway-route-table-vpc-association" +_lgrtviga = "local_gateway_route_table_virtual_interface_group_association" +_lgrtviga_ = "local-gateway-route-table-virtual-interface-group-association" +_na = "natgateway" +_na_ = "network_acl" +_na__ = "network-acl" +_ni = "network_interface" +_ni_ = "network-interface" +_nia = "network_insights_analysis" +_nia_ = "network-insights-analysis" +_nip = "network_insights_path" +_nip_ = "network-insights-path" +_nias = "network_insights_access_scope" +_nias_ = "network-insights-access-scope" +_niasa = "network_insights_access_scope_analysis" +_niasa_ = "network-insights-access-scope-analysis" +_ol = "outpost_lag" +_ol_ = "outpost-lag" +_pg = "placement_group" +_pg_ = "placement-group" +_pl = "prefix_list" +_pl_ = "prefix-list" +_rrvt = "replace_root_volume_task" +_rrvt_ = "replace-root-volume-task" +_ri = "reserved_instances" +_ri_ = "reserved-instances" +_rt = "route_table" +_rt_ = "route-table" +_sg = "security_group" +_sg_ = "security-group" +_sgr = "security_group_rule" +_sgr_ = "security-group-rule" +_slvi = "service_link_virtual_interface" +_slvi_ = "service-link-virtual-interface" +_s = "snapshot" +_sfr = "spot_fleet_request" +_sfr_ = "spot-fleet-request" +_sir = "spot_instances_request" +_sir_ = "spot-instances-request" +_su = "subnet" +_scr = "subnet_cidr_reservation" +_scr_ = "subnet-cidr-reservation" +_tmf = "traffic_mirror_filter" +_tmf_ = "traffic-mirror-filter" +_tms = "traffic_mirror_session" +_tms_ = "traffic-mirror-session" +_tmt = "traffic_mirror_target" +_tmt_ = "traffic-mirror-target" +_tg_ = "transit_gateway" +_tg__ = "transit-gateway" +_tga = "transit_gateway_attachment" +_tga_ = "transit-gateway-attachment" +_tgcp = "transit_gateway_connect_peer" +_tgcp_ = "transit-gateway-connect-peer" +_tgmd = "transit_gateway_multicast_domain" +_tgmd_ = "transit-gateway-multicast-domain" +_tgpt = "transit_gateway_policy_table" +_tgpt_ = "transit-gateway-policy-table" +_tgmp = "transit_gateway_metering_policy" +_tgmp_ = "transit-gateway-metering-policy" +_tgrt = "transit_gateway_route_table" +_tgrt_ = "transit-gateway-route-table" +_tgrta = "transit_gateway_route_table_announcement" +_tgrta_ = "transit-gateway-route-table-announcement" +_vo = "volume" +_vp = "vpc" +_ve = "vpc_endpoint" +_ve_ = "vpc-endpoint" +_vec = "vpc_endpoint_connection" +_vec_ = "vpc-endpoint-connection" +_ves = "vpc_endpoint_service" +_ves_ = "vpc-endpoint-service" +_vesp = "vpc_endpoint_service_permission" +_vesp_ = "vpc-endpoint-service-permission" +_vpc = "vpc_peering_connection" +_vpc_ = "vpc-peering-connection" +_vc = "vpn_connection" +_vc_ = "vpn-connection" +_vg = "vpn_gateway" +_vg_ = "vpn-gateway" +_vfl = "vpc_flow_log" +_vfl_ = "vpc-flow-log" +_crf = "capacity_reservation_fleet" +_crf_ = "capacity-reservation-fleet" +_tmfr = "traffic_mirror_filter_rule" +_tmfr_ = "traffic-mirror-filter-rule" +_vecdt = "vpc_endpoint_connection_device_type" +_vecdt_ = "vpc-endpoint-connection-device-type" +_vai = "verified_access_instance" +_vai_ = "verified-access-instance" +_vag = "verified_access_group" +_vag_ = "verified-access-group" +_vae = "verified_access_endpoint" +_vae_ = "verified-access-endpoint" +_vap = "verified_access_policy" +_vap_ = "verified-access-policy" +_vatp = "verified_access_trust_provider" +_vatp_ = "verified-access-trust-provider" +_vcdt = "vpn_connection_device_type" +_vcdt_ = "vpn-connection-device-type" +_vbpae = "vpc_block_public_access_exclusion" +_vbpae_ = "vpc-block-public-access-exclusion" +_vec__ = "vpc_encryption_control" +_vec___ = "vpc-encryption-control" +_rs = "route_server" +_rs_ = "route-server" +_rse = "route_server_endpoint" +_rse_ = "route-server-endpoint" +_rsp = "route_server_peer" +_rsp_ = "route-server-peer" +_ird = "ipam_resource_discovery" +_ird_ = "ipam-resource-discovery" +_irda = "ipam_resource_discovery_association" +_irda_ = "ipam-resource-discovery-association" +_ice = "instance_connect_endpoint" +_ice_ = "instance-connect-endpoint" +_vaet = "verified_access_endpoint_target" +_vaet_ = "verified-access-endpoint-target" +_iervt = "ipam_external_resource_verification_token" +_iervt_ = "ipam-external-resource-verification-token" +_cb = "capacity_block" +_cb_ = "capacity-block" +_mmt = "mac_modification_task" +_mmt_ = "mac-modification-task" +_iplr = "ipam_prefix_list_resolver" +_iplr_ = "ipam-prefix-list-resolver" +_ip___ = "ipam_policy" +_ip____ = "ipam-policy" +_iplrt = "ipam_prefix_list_resolver_target" +_iplrt_ = "ipam-prefix-list-resolver-target" +_iira = "ipam_internet_registry_association" +_iira_ = "ipam-internet-registry-association" +_si = "secondary_interface" +_si_ = "secondary-interface" +_sn = "secondary_network" +_sn_ = "secondary-network" +_ss = "secondary_subnet" +_ss_ = "secondary-subnet" +_cmde = "capacity_manager_data_export" +_cmde_ = "capacity-manager-data-export" +_vc__ = "vpn_concentrator" +_vc___ = "vpn-concentrator" +_ipa = "ipam_pool_allocation" +_ipa_ = "ipam-pool-allocation" +_crcq = "capacity_reservation_cancellation_quote" +_crcq_ = "capacity-reservation-cancellation-quote" +_asc = "application_status_check" +_asc_ = "application-status-check" +_crmq = "capacity_reservation_modification_quote" +_crmq_ = "capacity-reservation-modification-quote" +_Ta = "Tag" +_Ke = "Key" +_ke = "key" +_Va = "Value" +_va = "value" +_TL = "TagList" +_TS = "TagSpecification" +_rT = "resourceType" +_Tag = "Tags" +_TSL = "TagSpecificationList" +_AATI = "AcceptAddressTransferInput" +_sSI = "smithy.synthetic#originalShapeId" +_cAATR = "com.amazonaws.ec2#AcceptAddressTransferRequest" +_sm = "smithy.api#input" +_Ad = "Address" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_ATSd = "AddressTransferStatus" +_p = "pending" +_d = "disabled" +_ac = "accepted" +_MDT = "MillisecondDateTime" +_ATd = "AddressTransfer" +_PI = "PublicIp" +_pI = "publicIp" +_AI = "AllocationId" +_aI = "allocationId" +_TAI = "TransferAccountId" +_tAI = "transferAccountId" +_TOET = "TransferOfferExpirationTimestamp" +_tOET = "transferOfferExpirationTimestamp" +_TOAT = "TransferOfferAcceptedTimestamp" +_tOAT = "transferOfferAcceptedTimestamp" +_aTS = "addressTransferStatus" +_AATO = "AcceptAddressTransferOutput" +_cAATRo = "com.amazonaws.ec2#AcceptAddressTransferResult" +_smit = "smithy.api#output" +_aT = "addressTransfer" +_AAT = "AcceptAddressTransfer" +_CRI = "CapacityReservationId" +_ACRBOI = "AcceptCapacityReservationBillingOwnershipInput" +_cACRBOR = "com.amazonaws.ec2#AcceptCapacityReservationBillingOwnershipRequest" +_ACRBOO = "AcceptCapacityReservationBillingOwnershipOutput" +_cACRBORo = "com.amazonaws.ec2#AcceptCapacityReservationBillingOwnershipResult" +_R = "Return" +_r = "return" +_ACRBO = "AcceptCapacityReservationBillingOwnership" +_RI = "ReservationId" +_RIIS = "ReservedInstanceIdSet" +_RII = "ReservedInstanceId" +_RIOI = "ReservedInstancesOfferingId" +_TCR = "TargetConfigurationRequest" +_IC = "InstanceCount" +_OI = "OfferingId" +_TCRS = "TargetConfigurationRequestSet" +_ARIEQI = "AcceptReservedInstancesExchangeQuoteInput" +_cARIEQR = "com.amazonaws.ec2#AcceptReservedInstancesExchangeQuoteRequest" +_RIIe = "ReservedInstanceIds" +_TC = "TargetConfigurations" +_TCa = "TargetConfiguration" +_ARIEQO = "AcceptReservedInstancesExchangeQuoteOutput" +_cARIEQRo = "com.amazonaws.ec2#AcceptReservedInstancesExchangeQuoteResult" +_EI = "ExchangeId" +_eI = "exchangeId" +_ARIEQ = "AcceptReservedInstancesExchangeQuote" +_TGAI = "TransitGatewayAttachmentId" +_ATGCVAI = "AcceptTransitGatewayClientVpnAttachmentInput" +_cATGCVAR = "com.amazonaws.ec2#AcceptTransitGatewayClientVpnAttachmentRequest" +_CVEI = "ClientVpnEndpointId" +_TGAST = "TransitGatewayAttachmentStatusType" +_pa = "pending_acceptance" +_pa_ = "pending-acceptance" +_re = "rejected" +_av = "available" +_de = "deleting" +_del = "deleted" +_TGI = "TransitGatewayId" +_TGCVA = "TransitGatewayClientVpnAttachment" +_tGAI = "transitGatewayAttachmentId" +_tGI = "transitGatewayId" +_cVEI = "clientVpnEndpointId" +_CVOI = "ClientVpnOwnerId" +_cVOI = "clientVpnOwnerId" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_ATGCVAO = "AcceptTransitGatewayClientVpnAttachmentOutput" +_cATGCVARo = "com.amazonaws.ec2#AcceptTransitGatewayClientVpnAttachmentResult" +_tGCVA = "transitGatewayClientVpnAttachment" +_ATGCVA = "AcceptTransitGatewayClientVpnAttachment" +_VSL = "ValueStringList" +_TGMDI = "TransitGatewayMulticastDomainId" +_ATGMDAI = "AcceptTransitGatewayMulticastDomainAssociationsInput" +_cATGMDAR = "com.amazonaws.ec2#AcceptTransitGatewayMulticastDomainAssociationsRequest" +_SI = "SubnetIds" +_TGART = "TransitGatewayAttachmentResourceType" +_vpn = "vpn" +_dcg = "direct_connect_gateway" +_dcg_ = "direct-connect-gateway" +_c = "connect" +_pe = "peering" +_tp = "tgw_peering" +_tp_ = "tgw-peering" +_nf = "network_function" +_nf_ = "network-function" +_cv = "client_vpn" +_cv_ = "client-vpn" +_TGMDAS = "TransitGatewayMulitcastDomainAssociationState" +_pA = "pendingAcceptance" +_as = "associating" +_ass = "associated" +_di = "disassociating" +_dis = "disassociated" +_fa = "failed" +_SA = "SubnetAssociation" +_SIu = "SubnetId" +_sI = "subnetId" +_SAL = "SubnetAssociationList" +_TGMDA = "TransitGatewayMulticastDomainAssociations" +_tGMDI = "transitGatewayMulticastDomainId" +_RIe = "ResourceId" +_rI = "resourceId" +_ROI = "ResourceOwnerId" +_rOI = "resourceOwnerId" +_Su = "Subnets" +_sub = "subnets" +_ATGMDAO = "AcceptTransitGatewayMulticastDomainAssociationsOutput" +_cATGMDARo = "com.amazonaws.ec2#AcceptTransitGatewayMulticastDomainAssociationsResult" +_As = "Associations" +_asso = "associations" +_ATGMDA = "AcceptTransitGatewayMulticastDomainAssociations" +_ATGPAI = "AcceptTransitGatewayPeeringAttachmentInput" +_cATGPAR = "com.amazonaws.ec2#AcceptTransitGatewayPeeringAttachmentRequest" +_PTI = "PeeringTgwInfo" +_CNI = "CoreNetworkId" +_cNI = "coreNetworkId" +_OIw = "OwnerId" +_oI = "ownerId" +_Re = "Region" +_reg = "region" +_DT = "DateTime" +_DRV = "DynamicRoutingValue" +_e = "enable" +_disa = "disable" +_TGPAO = "TransitGatewayPeeringAttachmentOptions" +_DRy = "DynamicRouting" +_dR = "dynamicRouting" +_TGAS = "TransitGatewayAttachmentState" +_ini = "initiating" +_iR = "initiatingRequest" +_rB = "rollingBack" +_mo = "modifying" +_rej = "rejecting" +_fai = "failing" +_PAS = "PeeringAttachmentStatus" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_TGPA = "TransitGatewayPeeringAttachment" +_ATGAI = "AccepterTransitGatewayAttachmentId" +_aTGAI = "accepterTransitGatewayAttachmentId" +_RTI = "RequesterTgwInfo" +_rTI = "requesterTgwInfo" +_ATI = "AccepterTgwInfo" +_aTI = "accepterTgwInfo" +_O = "Options" +_o = "options" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_ATGPAO = "AcceptTransitGatewayPeeringAttachmentOutput" +_cATGPARo = "com.amazonaws.ec2#AcceptTransitGatewayPeeringAttachmentResult" +_tGPA = "transitGatewayPeeringAttachment" +_ATGPA = "AcceptTransitGatewayPeeringAttachment" +_ATGVAI = "AcceptTransitGatewayVpcAttachmentInput" +_cATGVAR = "com.amazonaws.ec2#AcceptTransitGatewayVpcAttachmentRequest" +_AMSV = "ApplianceModeSupportValue" +_DSV = "DnsSupportValue" +_ISV = "Ipv6SupportValue" +_SGRSV = "SecurityGroupReferencingSupportValue" +_TGVAO = "TransitGatewayVpcAttachmentOptions" +_DS = "DnsSupport" +_dS = "dnsSupport" +_SGRS = "SecurityGroupReferencingSupport" +_sGRS = "securityGroupReferencingSupport" +_IS = "Ipv6Support" +_iS = "ipv6Support" +_AMSp = "ApplianceModeSupport" +_aMS = "applianceModeSupport" +_TGVA = "TransitGatewayVpcAttachment" +_VI = "VpcId" +_vI = "vpcId" +_VOI = "VpcOwnerId" +_vOI = "vpcOwnerId" +_sIu = "subnetIds" +_ATGVAO = "AcceptTransitGatewayVpcAttachmentOutput" +_cATGVARo = "com.amazonaws.ec2#AcceptTransitGatewayVpcAttachmentResult" +_tGVA = "transitGatewayVpcAttachment" +_ATGVA = "AcceptTransitGatewayVpcAttachment" +_VESI = "VpcEndpointServiceId" +_VEI = "VpcEndpointId" +_VEIL = "VpcEndpointIdList" +_AVECI = "AcceptVpcEndpointConnectionsInput" +_cAVECR = "com.amazonaws.ec2#AcceptVpcEndpointConnectionsRequest" +_SIe = "ServiceId" +_VEIp = "VpcEndpointIds" +_UIE = "UnsuccessfulItemError" +_UI = "UnsuccessfulItem" +_E = "Error" +_er = "error" +_UIS = "UnsuccessfulItemSet" +_AVECO = "AcceptVpcEndpointConnectionsOutput" +_cAVECRo = "com.amazonaws.ec2#AcceptVpcEndpointConnectionsResult" +_Un = "Unsuccessful" +_un = "unsuccessful" +_AVEC = "AcceptVpcEndpointConnections" +_VPCIWR = "VpcPeeringConnectionIdWithResolver" +_AVPCI = "AcceptVpcPeeringConnectionInput" +_cAVPCR = "com.amazonaws.ec2#AcceptVpcPeeringConnectionRequest" +_dRr = "dryRun" +_VPCI = "VpcPeeringConnectionId" +_vPCI = "vpcPeeringConnectionId" +_CB = "CidrBlock" +_cB = "cidrBlock" +_CBS = "CidrBlockSet" +_ICB = "Ipv6CidrBlock" +_iCB = "ipv6CidrBlock" +_ICBS = "Ipv6CidrBlockSet" +_VPCOD = "VpcPeeringConnectionOptionsDescription" +_ADRFRV = "AllowDnsResolutionFromRemoteVpc" +_aDRFRV = "allowDnsResolutionFromRemoteVpc" +_AEFLCLTRV = "AllowEgressFromLocalClassicLinkToRemoteVpc" +_aEFLCLTRV = "allowEgressFromLocalClassicLinkToRemoteVpc" +_AEFLVTRCL = "AllowEgressFromLocalVpcToRemoteClassicLink" +_aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink" +_VPCVI = "VpcPeeringConnectionVpcInfo" +_iCBS = "ipv6CidrBlockSet" +_cBS = "cidrBlockSet" +_PO = "PeeringOptions" +_pO = "peeringOptions" +_VPCSRC = "VpcPeeringConnectionStateReasonCode" +_ir = "initiating_request" +_ir_ = "initiating-request" +_act = "active" +_ex = "expired" +_pr = "provisioning" +_VPC = "VpcPeeringConnection" +_AVPCO = "AcceptVpcPeeringConnectionOutput" +_cAVPCRo = "com.amazonaws.ec2#AcceptVpcPeeringConnectionResult" +_vPC = "vpcPeeringConnection" +_AVPC = "AcceptVpcPeeringConnection" +_PR = "PortRange" +_F = "From" +_fr = "from" +_To = "To" +_to = "to" +_NGI = "NatGatewayId" +_NIASAI = "NetworkInsightsAccessScopeAnalysisId" +_NIASI = "NetworkInsightsAccessScopeId" +_AID = "AccountID" +_VECES = "VpcEncryptionControlExclusionState" +_en = "enabling" +_ena = "enabled" +_disab = "disabling" +_MB = "ManagedBy" +_acc = "account" +_dp = "declarative_policy" +_dp_ = "declarative-policy" +_PTr = "PrincipalType" +_Al = "All" +_Ser = "Service" +_OU = "OrganizationUnit" +_Acc = "Account" +_Us = "User" +_Ro = "Role" +_IPI = "IpamPoolId" +_IPEI = "Ipv4PoolEc2Id" +_IPAI = "IpamPoolAllocationId" +_EAPI = "EipAllocationPublicIp" +_ASCI = "ApplicationStatusCheckId" +_af = "association_failed" +_af_ = "association-failed" +_CIe = "CertificateId" +_RIo = "RoleId" +_DHI = "DedicatedHostId" +_IIp = "IpamId" +_IRDI = "IpamResourceDiscoveryId" +_RSI = "RouteServerId" +_RTIo = "RouteTableId" +_SGVAS = "SecurityGroupVpcAssociationState" +_df_ = "disassociation_failed" +_df__ = "disassociation-failed" +_TGPTI = "TransitGatewayPolicyTableId" +_TGASr = "TransitGatewayAssociationState" +_TGPTA = "TransitGatewayPolicyTableAssociation" +_tGPTI = "transitGatewayPolicyTableId" +_TGRTI = "TransitGatewayRouteTableId" +_TGAr = "TransitGatewayAssociation" +_tGRTI = "transitGatewayRouteTableId" +_TIAI = "TrunkInterfaceAssociationId" +_IPEIp = "Ipv6PoolEc2Id" +_IGI = "InternetGatewayId" +_VAII = "VerifiedAccessInstanceId" +_BI = "BoxedInteger" + +INTEGER: StaticSchema = (7, n0, _I, 0) + +ACCELERATOR_COUNT: StaticSchema = ( + 18, + n0, + _AC, + 0, + (_M, _Ma), + ((INTEGER, {_aQN: _M, _sN: _m}), (INTEGER, {_aQN: _Ma, _sN: _ma})), +) + +ACCELERATOR_COUNT_REQUEST: StaticSchema = ( + 18, + n0, + _ACR, + 0, + (_M, _Ma), + ((INTEGER, 0), (INTEGER, 0)), +) + +ACCELERATOR_MANUFACTURER: StaticSchema = ( + 14, + n0, + _AM, + 0, + (_AWS, _AMD, _NVIDIA, _XILINX, _HABANA), + ( + (-1, {_sV: _aws}), + (-1, {_sV: _a}), + (-1, {_sV: _n}), + (-1, {_sV: _x}), + (-1, {_sV: _h}), + ), +) + +ACCELERATOR_MANUFACTURER_SET: StaticSchema = ( + 16, + n0, + _AMS, + 0, + (_me,), + ((ACCELERATOR_MANUFACTURER, {_sN: _i}),), +) + +ACCELERATOR_NAME: StaticSchema = ( + 14, + n0, + _AN, + 0, + ( + _A, + _INFERENTIA, + _K, + _K_, + _M_, + _RPV, + _T, + _VUP, + _V, + _AG, + _H, + _TG, + _LS, + _L, + _GH, + _INFERENTIA_, + _TRAINIUM, + _TRAINIUM_, + _U, + ), + ( + (-1, {_sV: _a_}), + (-1, {_sV: _in}), + (-1, {_sV: _k}), + (-1, {_sV: _k_}), + (-1, {_sV: _m_}), + (-1, {_sV: _rpv}), + (-1, {_sV: _t}), + (-1, {_sV: _v}), + (-1, {_sV: _v_}), + (-1, {_sV: _ag}), + (-1, {_sV: _h_}), + (-1, {_sV: _tg}), + (-1, {_sV: _l}), + (-1, {_sV: _l_}), + (-1, {_sV: _gh}), + (-1, {_sV: _inf}), + (-1, {_sV: _tr}), + (-1, {_sV: _tra}), + (-1, {_sV: _u}), + ), +) + +ACCELERATOR_NAME_SET: StaticSchema = ( + 16, + n0, + _ANS, + 0, + (_me,), + ((ACCELERATOR_NAME, {_sN: _i}),), +) + +ACCELERATOR_TOTAL_MEMORY_MI_B: StaticSchema = ( + 18, + n0, + _ATMMB, + 0, + (_M, _Ma), + ((INTEGER, {_aQN: _M, _sN: _m}), (INTEGER, {_aQN: _Ma, _sN: _ma})), +) + +ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST: StaticSchema = ( + 18, + n0, + _ATMMBR, + 0, + (_M, _Ma), + ((INTEGER, 0), (INTEGER, 0)), +) + +ACCELERATOR_TYPE: StaticSchema = ( + 14, + n0, + _AT, + 0, + (_GPU, _FPGA, _INFERENCE, _MEDIA), + ((-1, {_sV: _g}), (-1, {_sV: _f}), (-1, {_sV: _infe}), (-1, {_sV: _med})), +) + +ACCELERATOR_TYPE_SET: StaticSchema = ( + 16, + n0, + _ATS, + 0, + (_me,), + ((ACCELERATOR_TYPE, {_sN: _i}),), +) + +STRING: StaticSchema = (3, n0, _S, 0) + +BOOLEAN: StaticSchema = (2, n0, _B, 0) + +RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _RT, + 0, + ( + _cr, + _cve, + _cg, + _cg__, + _cp, + _dpr, + _dh, + _do, + _eoig, + _ei, + _eg, + _eit, + _eit__, + _fl, + _fi, + _hr, + _im, + _iur, + _iit, + _ist, + _ins, + _iew, + _ig, + _ip, + _ip_, + _is, + _ie, + _ie__, + _kp, + _lt, + _lg, + _lgrt, + _lgvi, + _lgvig, + _lgrtva, + _lgrtviga, + _na, + _na_, + _ni, + _nia, + _nip, + _nias, + _niasa, + _ol, + _pg, + _pl, + _rrvt, + _ri, + _rt, + _sg, + _sgr, + _slvi, + _s, + _sfr, + _sir, + _su, + _scr, + _tmf, + _tms, + _tmt, + _tg_, + _tga, + _tgcp, + _tgmd, + _tgpt, + _tgmp, + _tgrt, + _tgrta, + _vo, + _vp, + _ve, + _vec, + _ves, + _vesp, + _vpc, + _vc, + _vg, + _vfl, + _crf, + _tmfr, + _vecdt, + _vai, + _vag, + _vae, + _vap, + _vatp, + _vcdt, + _vbpae, + _vec__, + _rs, + _rse, + _rsp, + _ird, + _irda, + _ice, + _vaet, + _iervt, + _cb, + _mmt, + _iplr, + _ip___, + _iplrt, + _iira, + _si, + _sn, + _ss, + _cmde, + _vc__, + _ipa, + _crcq, + _asc, + _crmq, + ), + ( + (-1, {_sV: _cr_}), + (-1, {_sV: _cve_}), + (-1, {_sV: _cg_}), + (-1, {_sV: _cg___}), + (-1, {_sV: _cp_}), + (-1, {_sV: _dpr_}), + (-1, {_sV: _dh_}), + (-1, {_sV: _do_}), + (-1, {_sV: _eoig_}), + (-1, {_sV: _ei_}), + (-1, {_sV: _eg_}), + (-1, {_sV: _eit_}), + (-1, {_sV: _eit___}), + (-1, {_sV: _fl}), + (-1, {_sV: _fi_}), + (-1, {_sV: _hr_}), + (-1, {_sV: _im}), + (-1, {_sV: _iur_}), + (-1, {_sV: _iit_}), + (-1, {_sV: _ist_}), + (-1, {_sV: _ins}), + (-1, {_sV: _iew_}), + (-1, {_sV: _ig_}), + (-1, {_sV: _ip}), + (-1, {_sV: _ip__}), + (-1, {_sV: _is_}), + (-1, {_sV: _ie_}), + (-1, {_sV: _ie___}), + (-1, {_sV: _kp_}), + (-1, {_sV: _lt_}), + (-1, {_sV: _lg_}), + (-1, {_sV: _lgrt_}), + (-1, {_sV: _lgvi_}), + (-1, {_sV: _lgvig_}), + (-1, {_sV: _lgrtva_}), + (-1, {_sV: _lgrtviga_}), + (-1, {_sV: _na}), + (-1, {_sV: _na__}), + (-1, {_sV: _ni_}), + (-1, {_sV: _nia_}), + (-1, {_sV: _nip_}), + (-1, {_sV: _nias_}), + (-1, {_sV: _niasa_}), + (-1, {_sV: _ol_}), + (-1, {_sV: _pg_}), + (-1, {_sV: _pl_}), + (-1, {_sV: _rrvt_}), + (-1, {_sV: _ri_}), + (-1, {_sV: _rt_}), + (-1, {_sV: _sg_}), + (-1, {_sV: _sgr_}), + (-1, {_sV: _slvi_}), + (-1, {_sV: _s}), + (-1, {_sV: _sfr_}), + (-1, {_sV: _sir_}), + (-1, {_sV: _su}), + (-1, {_sV: _scr_}), + (-1, {_sV: _tmf_}), + (-1, {_sV: _tms_}), + (-1, {_sV: _tmt_}), + (-1, {_sV: _tg__}), + (-1, {_sV: _tga_}), + (-1, {_sV: _tgcp_}), + (-1, {_sV: _tgmd_}), + (-1, {_sV: _tgpt_}), + (-1, {_sV: _tgmp_}), + (-1, {_sV: _tgrt_}), + (-1, {_sV: _tgrta_}), + (-1, {_sV: _vo}), + (-1, {_sV: _vp}), + (-1, {_sV: _ve_}), + (-1, {_sV: _vec_}), + (-1, {_sV: _ves_}), + (-1, {_sV: _vesp_}), + (-1, {_sV: _vpc_}), + (-1, {_sV: _vc_}), + (-1, {_sV: _vg_}), + (-1, {_sV: _vfl_}), + (-1, {_sV: _crf_}), + (-1, {_sV: _tmfr_}), + (-1, {_sV: _vecdt_}), + (-1, {_sV: _vai_}), + (-1, {_sV: _vag_}), + (-1, {_sV: _vae_}), + (-1, {_sV: _vap_}), + (-1, {_sV: _vatp_}), + (-1, {_sV: _vcdt_}), + (-1, {_sV: _vbpae_}), + (-1, {_sV: _vec___}), + (-1, {_sV: _rs_}), + (-1, {_sV: _rse_}), + (-1, {_sV: _rsp_}), + (-1, {_sV: _ird_}), + (-1, {_sV: _irda_}), + (-1, {_sV: _ice_}), + (-1, {_sV: _vaet_}), + (-1, {_sV: _iervt_}), + (-1, {_sV: _cb_}), + (-1, {_sV: _mmt_}), + (-1, {_sV: _iplr_}), + (-1, {_sV: _ip____}), + (-1, {_sV: _iplrt_}), + (-1, {_sV: _iira_}), + (-1, {_sV: _si_}), + (-1, {_sV: _sn_}), + (-1, {_sV: _ss_}), + (-1, {_sV: _cmde_}), + (-1, {_sV: _vc___}), + (-1, {_sV: _ipa_}), + (-1, {_sV: _crcq_}), + (-1, {_sV: _asc_}), + (-1, {_sV: _crmq_}), + ), +) + +TAG: StaticSchema = ( + 18, + n0, + _Ta, + 0, + (_Ke, _Va), + ((STRING, {_aQN: _Ke, _sN: _ke}), (STRING, {_aQN: _Va, _sN: _va})), +) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, {_sN: _i}),)) + +TAG_SPECIFICATION: StaticSchema = ( + 18, + n0, + _TS, + 0, + (_RT, _Tag), + ((RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), (TAG_LIST, {_sN: _Ta})), +) + +TAG_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _TSL, + 0, + (_me,), + ((TAG_SPECIFICATION, {_sN: _i}),), +) + +ACCEPT_ADDRESS_TRANSFER_INPUT: StaticSchema = ( + 18, + n0, + _AATI, + {_sSI: _cAATR, _sm: None}, + (_Ad, _TSa, _DR), + ((STRING, 1), (TAG_SPECIFICATION_LIST, {_sN: _TS}), (BOOLEAN, 0)), +) + +ACCEPT_ADDRESS_TRANSFER_OUTPUT: StaticSchema = ( + 18, + n0, + _AATO, + {_sSI: _cAATRo, _smit: None}, + (_ATd,), + ((lambda: ADDRESS_TRANSFER, {_aQN: _ATd, _sN: _aT}),), +) + +ACCEPT_ADDRESS_TRANSFER: StaticOperationSchema = ( + 23, + n0, + _AAT, + 0, + ACCEPT_ADDRESS_TRANSFER_INPUT, + ACCEPT_ADDRESS_TRANSFER_OUTPUT, + (), +) + +ADDRESS_TRANSFER_STATUS: StaticSchema = ( + 14, + n0, + _ATSd, + 0, + (_p, _d, _ac), + ((-1, {_sV: _p}), (-1, {_sV: _d}), (-1, {_sV: _ac})), +) + +MILLISECOND_DATE_TIME: StaticSchema = (4, n0, _MDT, 0) + +ADDRESS_TRANSFER: StaticSchema = ( + 18, + n0, + _ATd, + 0, + (_PI, _AI, _TAI, _TOET, _TOAT, _ATSd), + ( + (STRING, {_aQN: _PI, _sN: _pI}), + (STRING, {_aQN: _AI, _sN: _aI}), + (STRING, {_aQN: _TAI, _sN: _tAI}), + (MILLISECOND_DATE_TIME, {_aQN: _TOET, _sN: _tOET}), + (MILLISECOND_DATE_TIME, {_aQN: _TOAT, _sN: _tOAT}), + (ADDRESS_TRANSFER_STATUS, {_aQN: _ATSd, _sN: _aTS}), + ), +) + +CAPACITY_RESERVATION_ID: StaticSchema = (3, n0, _CRI, 0) + +ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT: StaticSchema = ( + 18, + n0, + _ACRBOI, + {_sSI: _cACRBOR, _sm: None}, + (_DR, _CRI), + ((BOOLEAN, 0), (CAPACITY_RESERVATION_ID, 1)), +) + +ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT: StaticSchema = ( + 18, + n0, + _ACRBOO, + {_sSI: _cACRBORo, _smit: None}, + (_R,), + ((BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP: StaticOperationSchema = ( + 23, + n0, + _ACRBO, + 0, + ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT, + ACCEPT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT, + (), +) + +RESERVATION_ID: StaticSchema = (3, n0, _RI, 0) + +RESERVED_INSTANCE_ID_SET: StaticSchema = ( + 16, + n0, + _RIIS, + 0, + (_me,), + ((RESERVATION_ID, {_sN: _RII}),), +) + +RESERVED_INSTANCES_OFFERING_ID: StaticSchema = (3, n0, _RIOI, 0) + +TARGET_CONFIGURATION_REQUEST: StaticSchema = ( + 18, + n0, + _TCR, + 0, + (_IC, _OI), + ((INTEGER, 0), (RESERVED_INSTANCES_OFFERING_ID, 1)), +) + +TARGET_CONFIGURATION_REQUEST_SET: StaticSchema = ( + 16, + n0, + _TCRS, + 0, + (_me,), + ((TARGET_CONFIGURATION_REQUEST, {_sN: _TCR}),), +) + +ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT: StaticSchema = ( + 18, + n0, + _ARIEQI, + {_sSI: _cARIEQR, _sm: None}, + (_DR, _RIIe, _TC), + ( + (BOOLEAN, 0), + (RESERVED_INSTANCE_ID_SET, {_sN: _RII, _smi: None}), + (TARGET_CONFIGURATION_REQUEST_SET, {_sN: _TCa}), + ), +) + +ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT: StaticSchema = ( + 18, + n0, + _ARIEQO, + {_sSI: _cARIEQRo, _smit: None}, + (_EI,), + ((STRING, {_aQN: _EI, _sN: _eI}),), +) + +ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE: StaticOperationSchema = ( + 23, + n0, + _ARIEQ, + 0, + ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT, + ACCEPT_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ATTACHMENT_ID: StaticSchema = (3, n0, _TGAI, 0) + +ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _ATGCVAI, + {_sSI: _cATGCVAR, _sm: None}, + (_TGAI, _DR), + ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), +) + +ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _ATGCVAO, + {_sSI: _cATGCVARo, _smit: None}, + (_TGCVA,), + ((lambda: TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT, {_aQN: _TGCVA, _sN: _tGCVA}),), +) + +ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _ATGCVA, + 0, + ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT, + ACCEPT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT, + (), +) + +CLIENT_VPN_ENDPOINT_ID: StaticSchema = (3, n0, _CVEI, 0) + +TRANSIT_GATEWAY_ATTACHMENT_STATUS_TYPE: StaticSchema = ( + 14, + n0, + _TGAST, + 0, + (_pa, _p, _re, _av, _de, _del), + ( + (-1, {_sV: _pa_}), + (-1, {_sV: _p}), + (-1, {_sV: _re}), + (-1, {_sV: _av}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + ), +) + +TRANSIT_GATEWAY_ID: StaticSchema = (3, n0, _TGI, 0) + +TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT: StaticSchema = ( + 18, + n0, + _TGCVA, + 0, + (_TGAI, _TGI, _CVEI, _CVOI, _St, _CT), + ( + (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + (TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), + (CLIENT_VPN_ENDPOINT_ID, {_aQN: _CVEI, _sN: _cVEI}), + (STRING, {_aQN: _CVOI, _sN: _cVOI}), + (TRANSIT_GATEWAY_ATTACHMENT_STATUS_TYPE, {_aQN: _St, _sN: _st}), + (STRING, {_aQN: _CT, _sN: _cT}), + ), +) + +VALUE_STRING_LIST: StaticSchema = (16, n0, _VSL, 0, (_me,), ((STRING, {_sN: _i}),)) + +TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID: StaticSchema = (3, n0, _TGMDI, 0) + +ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _ATGMDAI, + {_sSI: _cATGMDAR, _sm: None}, + (_TGMDI, _TGAI, _SI, _DR), + ( + (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 0), + (TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (VALUE_STRING_LIST, 0), + (BOOLEAN, 0), + ), +) + +ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _ATGMDAO, + {_sSI: _cATGMDARo, _smit: None}, + (_As,), + ((lambda: TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS, {_aQN: _As, _sN: _asso}),), +) + +ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _ATGMDA, + 0, + ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT, + ACCEPT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _TGART, + 0, + (_vp, _vpn, _vc__, _dcg, _c, _pe, _tp, _nf, _cv), + ( + (-1, {_sV: _vp}), + (-1, {_sV: _vpn}), + (-1, {_sV: _vc___}), + (-1, {_sV: _dcg_}), + (-1, {_sV: _c}), + (-1, {_sV: _pe}), + (-1, {_sV: _tp_}), + (-1, {_sV: _nf_}), + (-1, {_sV: _cv_}), + ), +) + +TRANSIT_GATEWAY_MULITCAST_DOMAIN_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _TGMDAS, + 0, + (_pA, _as, _ass, _di, _dis, _re, _fa), + ( + (-1, {_sV: _pA}), + (-1, {_sV: _as}), + (-1, {_sV: _ass}), + (-1, {_sV: _di}), + (-1, {_sV: _dis}), + (-1, {_sV: _re}), + (-1, {_sV: _fa}), + ), +) + +SUBNET_ASSOCIATION: StaticSchema = ( + 18, + n0, + _SA, + 0, + (_SIu, _St), + ( + (STRING, {_aQN: _SIu, _sN: _sI}), + (TRANSIT_GATEWAY_MULITCAST_DOMAIN_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +SUBNET_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _SAL, + 0, + (_me,), + ((SUBNET_ASSOCIATION, {_sN: _i}),), +) + +TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS: StaticSchema = ( + 18, + n0, + _TGMDA, + 0, + (_TGMDI, _TGAI, _RIe, _RT, _ROI, _Su), + ( + (STRING, {_aQN: _TGMDI, _sN: _tGMDI}), + (STRING, {_aQN: _TGAI, _sN: _tGAI}), + (STRING, {_aQN: _RIe, _sN: _rI}), + (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (STRING, {_aQN: _ROI, _sN: _rOI}), + (SUBNET_ASSOCIATION_LIST, {_aQN: _Su, _sN: _sub}), + ), +) + +ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _ATGPAI, + {_sSI: _cATGPAR, _sm: None}, + (_TGAI, _DR), + ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), +) + +ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _ATGPAO, + {_sSI: _cATGPARo, _smit: None}, + (_TGPA,), + ((lambda: TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_aQN: _TGPA, _sN: _tGPA}),), +) + +ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _ATGPA, + 0, + ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT, + ACCEPT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT, + (), +) + +PEERING_TGW_INFO: StaticSchema = ( + 18, + n0, + _PTI, + 0, + (_TGI, _CNI, _OIw, _Re), + ( + (STRING, {_aQN: _TGI, _sN: _tGI}), + (STRING, {_aQN: _CNI, _sN: _cNI}), + (STRING, {_aQN: _OIw, _sN: _oI}), + (STRING, {_aQN: _Re, _sN: _reg}), + ), +) + +DATE_TIME: StaticSchema = (4, n0, _DT, 0) + +DYNAMIC_ROUTING_VALUE: StaticSchema = ( + 14, + n0, + _DRV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +TRANSIT_GATEWAY_PEERING_ATTACHMENT_OPTIONS: StaticSchema = ( + 18, + n0, + _TGPAO, + 0, + (_DRy,), + ((DYNAMIC_ROUTING_VALUE, {_aQN: _DRy, _sN: _dR}),), +) + +TRANSIT_GATEWAY_ATTACHMENT_STATE: StaticSchema = ( + 14, + n0, + _TGAS, + 0, + (_ini, _iR, _pA, _rB, _p, _av, _mo, _de, _del, _fa, _re, _rej, _fai), + ( + (-1, {_sV: _ini}), + (-1, {_sV: _iR}), + (-1, {_sV: _pA}), + (-1, {_sV: _rB}), + (-1, {_sV: _p}), + (-1, {_sV: _av}), + (-1, {_sV: _mo}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + (-1, {_sV: _fa}), + (-1, {_sV: _re}), + (-1, {_sV: _rej}), + (-1, {_sV: _fai}), + ), +) + +PEERING_ATTACHMENT_STATUS: StaticSchema = ( + 18, + n0, + _PAS, + 0, + (_C, _Me), + ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), +) + +TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticSchema = ( + 18, + n0, + _TGPA, + 0, + (_TGAI, _ATGAI, _RTI, _ATI, _O, _Sta, _St, _CT, _Tag), + ( + (STRING, {_aQN: _TGAI, _sN: _tGAI}), + (STRING, {_aQN: _ATGAI, _sN: _aTGAI}), + (PEERING_TGW_INFO, {_aQN: _RTI, _sN: _rTI}), + (PEERING_TGW_INFO, {_aQN: _ATI, _sN: _aTI}), + (TRANSIT_GATEWAY_PEERING_ATTACHMENT_OPTIONS, {_aQN: _O, _sN: _o}), + (PEERING_ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), + (TRANSIT_GATEWAY_ATTACHMENT_STATE, {_aQN: _St, _sN: _st}), + (DATE_TIME, {_aQN: _CT, _sN: _cT}), + (TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _ATGVAI, + {_sSI: _cATGVAR, _sm: None}, + (_TGAI, _DR), + ((TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (BOOLEAN, 0)), +) + +ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _ATGVAO, + {_sSI: _cATGVARo, _smit: None}, + (_TGVA,), + ((lambda: TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), +) + +ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _ATGVA, + 0, + ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, + ACCEPT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, + (), +) + +APPLIANCE_MODE_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _AMSV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +DNS_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _DSV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +IPV6_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _ISV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +SECURITY_GROUP_REFERENCING_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _SGRSV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +TRANSIT_GATEWAY_VPC_ATTACHMENT_OPTIONS: StaticSchema = ( + 18, + n0, + _TGVAO, + 0, + (_DS, _SGRS, _IS, _AMSp), + ( + (DNS_SUPPORT_VALUE, {_aQN: _DS, _sN: _dS}), + (SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, {_aQN: _SGRS, _sN: _sGRS}), + (IPV6_SUPPORT_VALUE, {_aQN: _IS, _sN: _iS}), + (APPLIANCE_MODE_SUPPORT_VALUE, {_aQN: _AMSp, _sN: _aMS}), + ), +) + +TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticSchema = ( + 18, + n0, + _TGVA, + 0, + (_TGAI, _TGI, _VI, _VOI, _St, _SI, _CT, _O, _Tag), + ( + (STRING, {_aQN: _TGAI, _sN: _tGAI}), + (STRING, {_aQN: _TGI, _sN: _tGI}), + (STRING, {_aQN: _VI, _sN: _vI}), + (STRING, {_aQN: _VOI, _sN: _vOI}), + (TRANSIT_GATEWAY_ATTACHMENT_STATE, {_aQN: _St, _sN: _st}), + (VALUE_STRING_LIST, {_aQN: _SI, _sN: _sIu}), + (DATE_TIME, {_aQN: _CT, _sN: _cT}), + (TRANSIT_GATEWAY_VPC_ATTACHMENT_OPTIONS, {_aQN: _O, _sN: _o}), + (TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +VPC_ENDPOINT_SERVICE_ID: StaticSchema = (3, n0, _VESI, 0) + +VPC_ENDPOINT_ID: StaticSchema = (3, n0, _VEI, 0) + +VPC_ENDPOINT_ID_LIST: StaticSchema = ( + 16, + n0, + _VEIL, + 0, + (_me,), + ((VPC_ENDPOINT_ID, {_sN: _i}),), +) + +ACCEPT_VPC_ENDPOINT_CONNECTIONS_INPUT: StaticSchema = ( + 18, + n0, + _AVECI, + {_sSI: _cAVECR, _sm: None}, + (_DR, _SIe, _VEIp), + ( + (BOOLEAN, 0), + (VPC_ENDPOINT_SERVICE_ID, 1), + (VPC_ENDPOINT_ID_LIST, {_sN: _VEI, _smi: None}), + ), +) + +ACCEPT_VPC_ENDPOINT_CONNECTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _AVECO, + {_sSI: _cAVECRo, _smit: None}, + (_Un,), + ((lambda: UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), +) + +ACCEPT_VPC_ENDPOINT_CONNECTIONS: StaticOperationSchema = ( + 23, + n0, + _AVEC, + 0, + ACCEPT_VPC_ENDPOINT_CONNECTIONS_INPUT, + ACCEPT_VPC_ENDPOINT_CONNECTIONS_OUTPUT, + (), +) + +UNSUCCESSFUL_ITEM_ERROR: StaticSchema = ( + 18, + n0, + _UIE, + 0, + (_C, _Me), + ((STRING, {_aQN: _C, _sN: _co}), (STRING, {_aQN: _Me, _sN: _mes})), +) + +UNSUCCESSFUL_ITEM: StaticSchema = ( + 18, + n0, + _UI, + 0, + (_E, _RIe), + ((UNSUCCESSFUL_ITEM_ERROR, {_aQN: _E, _sN: _er}), (STRING, {_aQN: _RIe, _sN: _rI})), +) + +UNSUCCESSFUL_ITEM_SET: StaticSchema = ( + 16, + n0, + _UIS, + 0, + (_me,), + ((UNSUCCESSFUL_ITEM, {_sN: _i}),), +) + +VPC_PEERING_CONNECTION_ID_WITH_RESOLVER: StaticSchema = (3, n0, _VPCIWR, 0) + +ACCEPT_VPC_PEERING_CONNECTION_INPUT: StaticSchema = ( + 18, + n0, + _AVPCI, + {_sSI: _cAVPCR, _sm: None}, + (_DR, _VPCI), + ( + (BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ( + VPC_PEERING_CONNECTION_ID_WITH_RESOLVER, + {_aQN: _VPCI, _sN: _vPCI, _smi: None}, + ), + ), +) + +ACCEPT_VPC_PEERING_CONNECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _AVPCO, + {_sSI: _cAVPCRo, _smit: None}, + (_VPC,), + ((lambda: schemas.VPC_PEERING_CONNECTION, {_aQN: _VPC, _sN: _vPC}),), +) + +ACCEPT_VPC_PEERING_CONNECTION: StaticOperationSchema = ( + 23, + n0, + _AVPC, + 0, + ACCEPT_VPC_PEERING_CONNECTION_INPUT, + ACCEPT_VPC_PEERING_CONNECTION_OUTPUT, + (), +) + +CIDR_BLOCK: StaticSchema = (18, n0, _CB, 0, (_CB,), ((STRING, {_aQN: _CB, _sN: _cB}),)) + +CIDR_BLOCK_SET: StaticSchema = (16, n0, _CBS, 0, (_me,), ((CIDR_BLOCK, {_sN: _i}),)) + +IPV6_CIDR_BLOCK: StaticSchema = ( + 18, + n0, + _ICB, + 0, + (_ICB,), + ((STRING, {_aQN: _ICB, _sN: _iCB}),), +) + +IPV6_CIDR_BLOCK_SET: StaticSchema = ( + 16, + n0, + _ICBS, + 0, + (_me,), + ((IPV6_CIDR_BLOCK, {_sN: _i}),), +) + +VPC_PEERING_CONNECTION_OPTIONS_DESCRIPTION: StaticSchema = ( + 18, + n0, + _VPCOD, + 0, + (_ADRFRV, _AEFLCLTRV, _AEFLVTRCL), + ( + (BOOLEAN, {_aQN: _ADRFRV, _sN: _aDRFRV}), + (BOOLEAN, {_aQN: _AEFLCLTRV, _sN: _aEFLCLTRV}), + (BOOLEAN, {_aQN: _AEFLVTRCL, _sN: _aEFLVTRCL}), + ), +) + +VPC_PEERING_CONNECTION_VPC_INFO: StaticSchema = ( + 18, + n0, + _VPCVI, + 0, + (_CB, _ICBS, _CBS, _OIw, _PO, _VI, _Re), + ( + (STRING, {_aQN: _CB, _sN: _cB}), + (IPV6_CIDR_BLOCK_SET, {_aQN: _ICBS, _sN: _iCBS}), + (CIDR_BLOCK_SET, {_aQN: _CBS, _sN: _cBS}), + (STRING, {_aQN: _OIw, _sN: _oI}), + (VPC_PEERING_CONNECTION_OPTIONS_DESCRIPTION, {_aQN: _PO, _sN: _pO}), + (STRING, {_aQN: _VI, _sN: _vI}), + (STRING, {_aQN: _Re, _sN: _reg}), + ), +) + +VPC_PEERING_CONNECTION_STATE_REASON_CODE: StaticSchema = ( + 14, + n0, + _VPCSRC, + 0, + (_ir, _pa, _act, _del, _re, _fa, _ex, _pr, _de), + ( + (-1, {_sV: _ir_}), + (-1, {_sV: _pa_}), + (-1, {_sV: _act}), + (-1, {_sV: _del}), + (-1, {_sV: _re}), + (-1, {_sV: _fa}), + (-1, {_sV: _ex}), + (-1, {_sV: _pr}), + (-1, {_sV: _de}), + ), +) + +PORT_RANGE: StaticSchema = ( + 18, + n0, + _PR, + 0, + (_F, _To), + ((INTEGER, {_aQN: _F, _sN: _fr}), (INTEGER, {_aQN: _To, _sN: _to})), +) + +NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID: StaticSchema = (3, n0, _NIASAI, 0) + +NETWORK_INSIGHTS_ACCESS_SCOPE_ID: StaticSchema = (3, n0, _NIASI, 0) + +ACCOUNT_ID: StaticSchema = (3, n0, _AID, 0) + +VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE: StaticSchema = ( + 14, + n0, + _VECES, + 0, + (_en, _ena, _disab, _d), + ((-1, {_sV: _en}), (-1, {_sV: _ena}), (-1, {_sV: _disab}), (-1, {_sV: _d})), +) + +MANAGED_BY: StaticSchema = ( + 14, + n0, + _MB, + 0, + (_acc, _dp), + ((-1, {_sV: _acc}), (-1, {_sV: _dp_})), +) + +PRINCIPAL_TYPE: StaticSchema = ( + 14, + n0, + _PTr, + 0, + (_Al, _Ser, _OU, _Acc, _Us, _Ro), + ( + (-1, {_sV: _Al}), + (-1, {_sV: _Ser}), + (-1, {_sV: _OU}), + (-1, {_sV: _Acc}), + (-1, {_sV: _Us}), + (-1, {_sV: _Ro}), + ), +) + +ALLOCATION_ID: StaticSchema = (3, n0, _AI, 0) + +IPAM_POOL_ID: StaticSchema = (3, n0, _IPI, 0) + +IPV4_POOL_EC2_ID: StaticSchema = (3, n0, _IPEI, 0) + +IPAM_POOL_ALLOCATION_ID: StaticSchema = (3, n0, _IPAI, 0) + +NAT_GATEWAY_ID: StaticSchema = (3, n0, _NGI, 0) + +EIP_ALLOCATION_PUBLIC_IP: StaticSchema = (3, n0, _EAPI, 0) + +APPLICATION_STATUS_CHECK_ID: StaticSchema = (3, n0, _ASCI, 0) + +CERTIFICATE_ID: StaticSchema = (3, n0, _CIe, 0) + +ROLE_ID: StaticSchema = (3, n0, _RIo, 0) + +DEDICATED_HOST_ID: StaticSchema = (3, n0, _DHI, 0) + +IPAM_ID: StaticSchema = (3, n0, _IIp, 0) + +IPAM_RESOURCE_DISCOVERY_ID: StaticSchema = (3, n0, _IRDI, 0) + +ROUTE_SERVER_ID: StaticSchema = (3, n0, _RSI, 0) + +ROUTE_TABLE_ID: StaticSchema = (3, n0, _RTIo, 0) + +SECURITY_GROUP_VPC_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _SGVAS, + 0, + (_as, _ass, _af, _di, _dis, _df_), + ( + (-1, {_sV: _as}), + (-1, {_sV: _ass}), + (-1, {_sV: _af_}), + (-1, {_sV: _di}), + (-1, {_sV: _dis}), + (-1, {_sV: _df__}), + ), +) + +TRANSIT_GATEWAY_POLICY_TABLE_ID: StaticSchema = (3, n0, _TGPTI, 0) + +TRANSIT_GATEWAY_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _TGASr, + 0, + (_as, _ass, _di, _dis), + ((-1, {_sV: _as}), (-1, {_sV: _ass}), (-1, {_sV: _di}), (-1, {_sV: _dis})), +) + +TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION: StaticSchema = ( + 18, + n0, + _TGPTA, + 0, + (_TGPTI, _TGAI, _RIe, _RT, _St), + ( + (TRANSIT_GATEWAY_POLICY_TABLE_ID, {_aQN: _TGPTI, _sN: _tGPTI}), + (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + (STRING, {_aQN: _RIe, _sN: _rI}), + (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (TRANSIT_GATEWAY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ID: StaticSchema = (3, n0, _TGRTI, 0) + +TRANSIT_GATEWAY_ASSOCIATION: StaticSchema = ( + 18, + n0, + _TGAr, + 0, + (_TGRTI, _TGAI, _RIe, _RT, _St), + ( + (TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_aQN: _TGRTI, _sN: _tGRTI}), + (TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + (STRING, {_aQN: _RIe, _sN: _rI}), + (TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (TRANSIT_GATEWAY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +TRUNK_INTERFACE_ASSOCIATION_ID: StaticSchema = (3, n0, _TIAI, 0) + +IPV6_POOL_EC2_ID: StaticSchema = (3, n0, _IPEIp, 0) + +INTERNET_GATEWAY_ID: StaticSchema = (3, n0, _IGI, 0) + +VERIFIED_ACCESS_INSTANCE_ID: StaticSchema = (3, n0, _VAII, 0) + +BOXED_INTEGER: StaticSchema = (7, n0, _BI, 0) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_1.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_1.py new file mode 100644 index 000000000..7b9e746ee --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_1.py @@ -0,0 +1,1713 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_ins = "instance" +_su = "subnet" +_vp = "vpc" +_Va = "Value" +_va = "value" +_rT = "resourceType" +_Tag = "Tags" +_Ad = "Address" +_smi = "smithy.api#required" +_p = "pending" +_PI = "PublicIp" +_pI = "publicIp" +_AI = "AllocationId" +_aI = "allocationId" +_av = "available" +_TGI = "TransitGatewayId" +_tGI = "transitGatewayId" +_St = "State" +_st = "state" +_fa = "failed" +_SIu = "SubnetId" +_sI = "subnetId" +_RIe = "ResourceId" +_rI = "resourceId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_SIe = "ServiceId" +_er = "error" +_VPCI = "VpcPeeringConnectionId" +_vPCI = "vpcPeeringConnectionId" +_VPCSR = "VpcPeeringConnectionStateReason" +_VPC = "VpcPeeringConnection" +_AVI = "AccepterVpcInfo" +_aVI = "accepterVpcInfo" +_ET = "ExpirationTime" +_eT = "expirationTime" +_RVI = "RequesterVpcInfo" +_rVI = "requesterVpcInfo" +_vPC = "vpcPeeringConnection" +_PR = "PortRange" +_AAR = "AnalysisAclRule" +_Ci = "Cidr" +_ci = "cidr" +_Eg = "Egress" +_egr = "egress" +_pR = "portRange" +_P = "Protocol" +_pro = "protocol" +_RA = "RuleAction" +_rA = "ruleAction" +_RN = "RuleNumber" +_rN = "ruleNumber" +_ACn = "AnalysisComponent" +_Id = "Id" +_id = "id" +_Ar = "Arn" +_ar = "arn" +_N = "Name" +_nam = "name" +_ACL = "AnalysisComponentList" +_RAe = "ResourceArn" +_SL = "StringList" +_RO = "RuleOption" +_Key = "Keyword" +_key = "keyword" +_Se = "Settings" +_SS = "SettingSet" +_sS = "settingSet" +_ROL = "RuleOptionList" +_RGROP = "RuleGroupRuleOptionsPair" +_RGA = "RuleGroupArn" +_rGA = "ruleGroupArn" +_ROu = "RuleOptions" +_ROS = "RuleOptionSet" +_rOS = "ruleOptionSet" +_RGROPL = "RuleGroupRuleOptionsPairList" +_RGTP = "RuleGroupTypePair" +_RGT = "RuleGroupType" +_rGT = "ruleGroupType" +_RGTPL = "RuleGroupTypePairList" +_AD = "AdditionalDetail" +_ADT = "AdditionalDetailType" +_aDT = "additionalDetailType" +_Co = "Component" +_com = "component" +_VES = "VpcEndpointService" +_vES = "vpcEndpointService" +_RGTPu = "RuleGroupTypePairs" +_RGTPS = "RuleGroupTypePairSet" +_rGTPS = "ruleGroupTypePairSet" +_RGROPu = "RuleGroupRuleOptionsPairs" +_RGROPS = "RuleGroupRuleOptionsPairSet" +_rGROPS = "ruleGroupRuleOptionsPairSet" +_SN = "ServiceName" +_sNe = "serviceName" +_LB = "LoadBalancers" +_LBS = "LoadBalancerSet" +_lBS = "loadBalancerSet" +_ADL = "AdditionalDetailList" +_IA = "IpAddress" +_IAL = "IpAddressList" +_Po = "Port" +_ALBL = "AnalysisLoadBalancerListener" +_LBP = "LoadBalancerPort" +_lBP = "loadBalancerPort" +_IP = "InstancePort" +_iP = "instancePort" +_CA = "ComponentAccount" +_CR = "ComponentRegion" +_PRL = "PortRangeList" +_FSR = "FirewallStatefulRule" +_So = "Sources" +_SSo = "SourceSet" +_sSo = "sourceSet" +_D = "Destinations" +_DSe = "DestinationSet" +_dSe = "destinationSet" +_SP = "SourcePorts" +_SPS = "SourcePortSet" +_sPS = "sourcePortSet" +_DP = "DestinationPorts" +_DPS = "DestinationPortSet" +_dPS = "destinationPortSet" +_Di = "Direction" +_dir = "direction" +_Pr = "Priority" +_PIr = "ProtocolInt" +_PIL = "ProtocolIntList" +_FSRi = "FirewallStatelessRule" +_Pro = "Protocols" +_PS = "ProtocolSet" +_pS = "protocolSet" +_pri = "priority" +_ALBT = "AnalysisLoadBalancerTarget" +_ad = "address" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_In = "Instance" +_po = "port" +_ARTR = "AnalysisRouteTableRoute" +_DC = "DestinationCidr" +_dC = "destinationCidr" +_DPLI = "DestinationPrefixListId" +_dPLI = "destinationPrefixListId" +_EOIGI = "EgressOnlyInternetGatewayId" +_eOIGI = "egressOnlyInternetGatewayId" +_GI = "GatewayId" +_gI = "gatewayId" +_II = "InstanceId" +_iI = "instanceId" +_NGI = "NatGatewayId" +_nGI = "natGatewayId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_Or = "Origin" +_or = "origin" +_CGI = "CarrierGatewayId" +_cGI = "carrierGatewayId" +_CNA = "CoreNetworkArn" +_cNA = "coreNetworkArn" +_LGI = "LocalGatewayId" +_lGI = "localGatewayId" +_ASGR = "AnalysisSecurityGroupRule" +_SGI = "SecurityGroupId" +_sGI = "securityGroupId" +_PLI = "PrefixListId" +_pLI = "prefixListId" +_ATGPTE = "AnalysisTransitGatewayPolicyTableEntry" +_SC = "SourceCidr" +_sC = "sourceCidr" +_SPR = "SourcePortRange" +_sPR = "sourcePortRange" +_DPR = "DestinationPortRange" +_dPR = "destinationPortRange" +_TRTI = "TargetRouteTableId" +_tRTI = "targetRouteTableId" +_TGRTR = "TransitGatewayRouteTableRoute" +_ROo = "RouteOrigin" +_rO = "routeOrigin" +_AIt = "AttachmentId" +_aIt = "attachmentId" +_Ex = "Explanation" +_Ac = "Acl" +_acl = "acl" +_AR = "AclRule" +_aR = "aclRule" +_Add = "Addresses" +_AS = "AddressSet" +_aS = "addressSet" +_ATt = "AttachedTo" +_aTt = "attachedTo" +_AZv = "AvailabilityZones" +_AZS = "AvailabilityZoneSet" +_aZS = "availabilityZoneSet" +_AZIv = "AvailabilityZoneIds" +_AZIS = "AvailabilityZoneIdSet" +_aZIS = "availabilityZoneIdSet" +_Cid = "Cidrs" +_CS = "CidrSet" +_cS = "cidrSet" +_CG = "CustomerGateway" +_cG = "customerGateway" +_De = "Destination" +_des = "destination" +_DV = "DestinationVpc" +_dV = "destinationVpc" +_EC = "ExplanationCode" +_eC = "explanationCode" +_IRT = "IngressRouteTable" +_iRT = "ingressRouteTable" +_IG = "InternetGateway" +_iG = "internetGateway" +_LBA = "LoadBalancerArn" +_lBA = "loadBalancerArn" +_CLBL = "ClassicLoadBalancerListener" +_cLBL = "classicLoadBalancerListener" +_LBLP = "LoadBalancerListenerPort" +_lBLP = "loadBalancerListenerPort" +_LBT = "LoadBalancerTarget" +_lBT = "loadBalancerTarget" +_LBTG = "LoadBalancerTargetGroup" +_lBTG = "loadBalancerTargetGroup" +_LBTGo = "LoadBalancerTargetGroups" +_LBTGS = "LoadBalancerTargetGroupSet" +_lBTGS = "loadBalancerTargetGroupSet" +_LBTP = "LoadBalancerTargetPort" +_lBTP = "loadBalancerTargetPort" +_ELBL = "ElasticLoadBalancerListener" +_eLBL = "elasticLoadBalancerListener" +_MC = "MissingComponent" +_mC = "missingComponent" +_NG = "NatGateway" +_nG = "natGateway" +_NI = "NetworkInterface" +_nI = "networkInterface" +_PF = "PacketField" +_pF = "packetField" +_PRo = "PortRanges" +_PRS = "PortRangeSet" +_pRS = "portRangeSet" +_PL = "PrefixList" +_pL = "prefixList" +_RTR = "RouteTableRoute" +_rTR = "routeTableRoute" +_RTo = "RouteTable" +_rTo = "routeTable" +_SG = "SecurityGroup" +_sG = "securityGroup" +_SGR = "SecurityGroupRule" +_sGR = "securityGroupRule" +_SGe = "SecurityGroups" +_SGS = "SecurityGroupSet" +_sGS = "securityGroupSet" +_SV = "SourceVpc" +_sVo = "sourceVpc" +_Sub = "Subnet" +_SRT = "SubnetRouteTable" +_sRT = "subnetRouteTable" +_Vp = "Vpc" +_VE = "VpcEndpoint" +_vE = "vpcEndpoint" +_VC = "VpnConnection" +_vC = "vpnConnection" +_VG = "VpnGateway" +_vG = "vpnGateway" +_TGr = "TransitGateway" +_tG = "transitGateway" +_TGRT = "TransitGatewayRouteTable" +_tGRT = "transitGatewayRouteTable" +_tGRTR = "transitGatewayRouteTableRoute" +_TGPT = "TransitGatewayPolicyTable" +_tGPT = "transitGatewayPolicyTable" +_TGPTE = "TransitGatewayPolicyTableEntry" +_tGPTE = "transitGatewayPolicyTableEntry" +_TGA = "TransitGatewayAttachment" +_tGA = "transitGatewayAttachment" +_cA = "componentAccount" +_cR = "componentRegion" +_fSR = "firewallStatelessRule" +_fSRi = "firewallStatefulRule" +_EL = "ExplanationList" +_APH = "AnalysisPacketHeader" +_DA = "DestinationAddresses" +_DAS = "DestinationAddressSet" +_dAS = "destinationAddressSet" +_DPRe = "DestinationPortRanges" +_DPRS = "DestinationPortRangeSet" +_dPRS = "destinationPortRangeSet" +_SAo = "SourceAddresses" +_SAS = "SourceAddressSet" +_sAS = "sourceAddressSet" +_SPRo = "SourcePortRanges" +_SPRS = "SourcePortRangeSet" +_sPRS = "sourcePortRangeSet" +_PC = "PathComponent" +_SNe = "SequenceNumber" +_sNeq = "sequenceNumber" +_OH = "OutboundHeader" +_oH = "outboundHeader" +_IH = "InboundHeader" +_iH = "inboundHeader" +_ADd = "AdditionalDetails" +_ADS = "AdditionalDetailSet" +_aDS = "additionalDetailSet" +_Exp = "Explanations" +_ES = "ExplanationSet" +_eS = "explanationSet" +_PCL = "PathComponentList" +_NIASAI = "NetworkInsightsAccessScopeAnalysisId" +_NIASI = "NetworkInsightsAccessScopeId" +_ASAF = "AccessScopeAnalysisFinding" +_nIASAI = "networkInsightsAccessScopeAnalysisId" +_nIASI = "networkInsightsAccessScopeId" +_FI = "FindingId" +_fI = "findingId" +_FC = "FindingComponents" +_FCS = "FindingComponentSet" +_fCS = "findingComponentSet" +_ASAFL = "AccessScopeAnalysisFindingList" +_tc = "tcp" +_ud = "udp" +_PLr = "ProtocolList" +_PHS = "PacketHeaderStatement" +_SPL = "SourcePrefixLists" +_SPLS = "SourcePrefixListSet" +_sPLS = "sourcePrefixListSet" +_DPL = "DestinationPrefixLists" +_DPLS = "DestinationPrefixListSet" +_dPLS = "destinationPrefixListSet" +_RS = "ResourceStatement" +_Res = "Resources" +_RSe = "ResourceSet" +_rS = "resourceSet" +_RTe = "ResourceTypes" +_RTS = "ResourceTypeSet" +_rTS = "resourceTypeSet" +_PSa = "PathStatement" +_pHS = "packetHeaderStatement" +_rSe = "resourceStatement" +_TRS = "ThroughResourcesStatement" +_TRSL = "ThroughResourcesStatementList" +_ASP = "AccessScopePath" +_Sou = "Source" +_so = "source" +_TR = "ThroughResources" +_TRSh = "ThroughResourceSet" +_tRS = "throughResourceSet" +_ASPL = "AccessScopePathList" +_PHSR = "PacketHeaderStatementRequest" +_SAou = "SourceAddress" +_DAe = "DestinationAddress" +_SPo = "SourcePort" +_DPe = "DestinationPort" +_SPLo = "SourcePrefixList" +_DPLe = "DestinationPrefixList" +_RSR = "ResourceStatementRequest" +_Reso = "Resource" +_PSR = "PathStatementRequest" +_TRSR = "ThroughResourcesStatementRequest" +_TRSRL = "ThroughResourcesStatementRequestList" +_ASPR = "AccessScopePathRequest" +_TRh = "ThroughResource" +_ASPLR = "AccessScopePathListRequest" +_AAV = "AccountAttributeValue" +_AV = "AttributeValue" +_aV = "attributeValue" +_AAVL = "AccountAttributeValueList" +_AA = "AccountAttribute" +_ANt = "AttributeName" +_aN = "attributeName" +_AVt = "AttributeValues" +_AVS = "AttributeValueSet" +_aVS = "attributeValueSet" +_AAL = "AccountAttributeList" +_AAN = "AccountAttributeName" +_sp = "supported_platforms" +_sp_ = "supported-platforms" +_dv = "default_vpc" +_dv_ = "default-vpc" +_AANSL = "AccountAttributeNameStringList" +_AVECE = "AccountVpcEncryptionControlExclusions" +_EOIG = "EgressOnlyInternetGateway" +_eOIG = "egressOnlyInternetGateway" +_VPG = "VirtualPrivateGateway" +_vPG = "virtualPrivateGateway" +_VP = "VpcPeering" +_vP = "vpcPeering" +_La = "Lambda" +_la = "lambda" +_VL = "VpcLattice" +_vL = "vpcLattice" +_EFS = "ElasticFileSystem" +_eFS = "elasticFileSystem" +_MB = "ManagedBy" +_AVECM = "AccountVpcEncryptionControlMode" +_unm = "unmanaged" +_am = "attempt_monitor" +_am_ = "attempt-monitor" +_ae = "attempt_enforce" +_ae_ = "attempt-enforce" +_AVECS = "AccountVpcEncryptionControlState" +_ds = "default_state" +_ds_ = "default-state" +_tip = "transitions_in_progress" +_tip_ = "transitions-in-progress" +_tps = "transitions_partially_successful" +_tps_ = "transitions-partially-successful" +_ts = "transitions_successful" +_ts_ = "transitions-successful" +_tf = "transitions_failed" +_tf_ = "transitions-failed" +_AVECc = "AccountVpcEncryptionControl" +_Mo = "Mode" +_mod = "mode" +_Exc = "Exclusions" +_exc = "exclusions" +_mB = "managedBy" +_LUT = "LastUpdateTimestamp" +_lUT = "lastUpdateTimestamp" +_IHS = "InstanceHealthStatus" +_HS = "HEALTHY_STATUS" +_he = "healthy" +_US = "UNHEALTHY_STATUS" +_unh = "unhealthy" +_AIc = "ActiveInstance" +_IT = "InstanceType" +_iT = "instanceType" +_SIRI = "SpotInstanceRequestId" +_sIRI = "spotInstanceRequestId" +_IHn = "InstanceHealth" +_iHn = "instanceHealth" +_AIS = "ActiveInstanceSet" +_VTPS = "VpnTunnelProvisioningStatus" +_AVTS = "ActiveVpnTunnelStatus" +_PEA = "Phase1EncryptionAlgorithm" +_pEA = "phase1EncryptionAlgorithm" +_PEAh = "Phase2EncryptionAlgorithm" +_pEAh = "phase2EncryptionAlgorithm" +_PIA = "Phase1IntegrityAlgorithm" +_pIA = "phase1IntegrityAlgorithm" +_PIAh = "Phase2IntegrityAlgorithm" +_pIAh = "phase2IntegrityAlgorithm" +_PDHG = "Phase1DHGroup" +_pDHG = "phase1DHGroup" +_PDHGh = "Phase2DHGroup" +_pDHGh = "phase2DHGroup" +_IV = "IkeVersion" +_iV = "ikeVersion" +_PSr = "ProvisioningStatus" +_pSr = "provisioningStatus" +_PSRr = "ProvisioningStatusReason" +_pSR = "provisioningStatusReason" +_ASc = "ActivityStatus" +_ERROR = "ERROR" +_PF_ = "PENDING_FULFILLMENT" +_pf = "pending_fulfillment" +_PT = "PENDING_TERMINATION" +_pt = "pending_termination" +_FULFILLED = "FULFILLED" +_fu = "fulfilled" +_PTr = "PrincipalType" +_AP = "AddedPrincipal" +_pT = "principalType" +_Pri = "Principal" +_prin = "principal" +_SPI = "ServicePermissionId" +_sPI = "servicePermissionId" +_sIe = "serviceId" +_APS = "AddedPrincipalSet" +_AIOR = "AddIpamOperatingRegion" +_RNe = "RegionName" +_AIORS = "AddIpamOperatingRegionSet" +_AIOUE = "AddIpamOrganizationalUnitExclusion" +_OEP = "OrganizationsEntityPath" +_AIOUES = "AddIpamOrganizationalUnitExclusionSet" +_AFNI = "AdditionalFlexibleNetworkInterfaces" +_APLE = "AddPrefixListEntry" +_Des = "Description" +_APLEd = "AddPrefixListEntries" +_DTo = "DomainType" +_stan = "standard" +_SM = "ServiceManaged" +_al = "alb" +_nl = "nlb" +_rn = "rnat" +_rd = "rds" +_AIs = "AssociationId" +_aIs = "associationId" +_Do = "Domain" +_dom = "domain" +_NIOI = "NetworkInterfaceOwnerId" +_nIOI = "networkInterfaceOwnerId" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_PIP = "PublicIpv4Pool" +_pIP = "publicIpv4Pool" +_NBG = "NetworkBorderGroup" +_nBG = "networkBorderGroup" +_COI = "CustomerOwnedIp" +_cOI = "customerOwnedIp" +_COIP = "CustomerOwnedIpv4Pool" +_cOIP = "customerOwnedIpv4Pool" +_CI = "CarrierIp" +_cI = "carrierIp" +_sM = "serviceManaged" +_PUS = "PtrUpdateStatus" +_Rea = "Reason" +_rea = "reason" +_PIAu = "PublicIpAddress" +_AAd = "AddressAttribute" +_PRt = "PtrRecord" +_pRt = "ptrRecord" +_PRU = "PtrRecordUpdate" +_pRU = "ptrRecordUpdate" +_AANd = "AddressAttributeName" +_dn = "domain_name" +_dn_ = "domain-name" +_AF = "AddressFamily" +_ipv = "ipv4" +_ipv_ = "ipv6" +_suc = "succeeded" +_IRDAI = "IpamResourceDiscoveryAssociationId" +_LGRI = "LocalGatewayRoutetableId" +_ISI = "IpamScopeId" +_MPa = "MatchPaths" +_EP = "ExcludePaths" +_NIAS = "NetworkInsightsAccessScope" +_NIASA = "NetworkInsightsAccessScopeArn" +_nIASA = "networkInsightsAccessScopeArn" +_CDr = "CreatedDate" +_cDr = "createdDate" +_UDp = "UpdatedDate" +_uDp = "updatedDate" +_NIASC = "NetworkInsightsAccessScopeContent" +_MPS = "MatchPathSet" +_mPS = "matchPathSet" +_EPS = "ExcludePathSet" +_ePS = "excludePathSet" +_NIPI = "NetworkInsightsPathId" +_NIAI = "NetworkInsightsAnalysisId" +_ru = "running" +_NIMR = "NetworkInsightsMaxResults" +_ASn = "AnalysisStatus" + +VPC_PEERING_CONNECTION_STATE_REASON: StaticSchema = ( + 18, + n0, + _VPCSR, + 0, + (_C, _Me), + ( + ( + lambda: schemas.VPC_PEERING_CONNECTION_STATE_REASON_CODE, + {_aQN: _C, _sN: _co}, + ), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +VPC_PEERING_CONNECTION: StaticSchema = ( + 18, + n0, + _VPC, + 0, + (_AVI, _ET, _RVI, _Sta, _Tag, _VPCI), + ( + (lambda: schemas.VPC_PEERING_CONNECTION_VPC_INFO, {_aQN: _AVI, _sN: _aVI}), + (lambda: schemas.DATE_TIME, {_aQN: _ET, _sN: _eT}), + (lambda: schemas.VPC_PEERING_CONNECTION_VPC_INFO, {_aQN: _RVI, _sN: _rVI}), + (VPC_PEERING_CONNECTION_STATE_REASON, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _VPCI, _sN: _vPCI}), + ), +) + +ANALYSIS_ACL_RULE: StaticSchema = ( + 18, + n0, + _AAR, + 0, + (_Ci, _Eg, _PR, _P, _RA, _RN), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.BOOLEAN, {_aQN: _Eg, _sN: _egr}), + (lambda: schemas.PORT_RANGE, {_aQN: _PR, _sN: _pR}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro}), + (lambda: schemas.STRING, {_aQN: _RA, _sN: _rA}), + (lambda: schemas.INTEGER, {_aQN: _RN, _sN: _rN}), + ), +) + +ANALYSIS_COMPONENT: StaticSchema = ( + 18, + n0, + _ACn, + 0, + (_Id, _Ar, _N), + ( + (lambda: schemas.STRING, {_aQN: _Id, _sN: _id}), + (lambda: schemas.STRING, {_aQN: _Ar, _sN: _ar}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + ), +) + +ANALYSIS_COMPONENT_LIST: StaticSchema = ( + 16, + n0, + _ACL, + 0, + (_me,), + ((ANALYSIS_COMPONENT, {_sN: _i}),), +) + +RESOURCE_ARN: StaticSchema = (3, n0, _RAe, 0) + +STRING_LIST: StaticSchema = ( + 16, + n0, + _SL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +RULE_OPTION: StaticSchema = ( + 18, + n0, + _RO, + 0, + (_Key, _Se), + ( + (lambda: schemas.STRING, {_aQN: _Key, _sN: _key}), + (STRING_LIST, {_aQN: _SS, _sN: _sS}), + ), +) + +RULE_OPTION_LIST: StaticSchema = (16, n0, _ROL, 0, (_me,), ((RULE_OPTION, {_sN: _i}),)) + +RULE_GROUP_RULE_OPTIONS_PAIR: StaticSchema = ( + 18, + n0, + _RGROP, + 0, + (_RGA, _ROu), + ( + (RESOURCE_ARN, {_aQN: _RGA, _sN: _rGA}), + (RULE_OPTION_LIST, {_aQN: _ROS, _sN: _rOS}), + ), +) + +RULE_GROUP_RULE_OPTIONS_PAIR_LIST: StaticSchema = ( + 16, + n0, + _RGROPL, + 0, + (_me,), + ((RULE_GROUP_RULE_OPTIONS_PAIR, {_sN: _i}),), +) + +RULE_GROUP_TYPE_PAIR: StaticSchema = ( + 18, + n0, + _RGTP, + 0, + (_RGA, _RGT), + ( + (RESOURCE_ARN, {_aQN: _RGA, _sN: _rGA}), + (lambda: schemas.STRING, {_aQN: _RGT, _sN: _rGT}), + ), +) + +RULE_GROUP_TYPE_PAIR_LIST: StaticSchema = ( + 16, + n0, + _RGTPL, + 0, + (_me,), + ((RULE_GROUP_TYPE_PAIR, {_sN: _i}),), +) + +ADDITIONAL_DETAIL: StaticSchema = ( + 18, + n0, + _AD, + 0, + (_ADT, _Co, _VES, _ROu, _RGTPu, _RGROPu, _SN, _LB), + ( + (lambda: schemas.STRING, {_aQN: _ADT, _sN: _aDT}), + (ANALYSIS_COMPONENT, {_aQN: _Co, _sN: _com}), + (ANALYSIS_COMPONENT, {_aQN: _VES, _sN: _vES}), + (RULE_OPTION_LIST, {_aQN: _ROS, _sN: _rOS}), + (RULE_GROUP_TYPE_PAIR_LIST, {_aQN: _RGTPS, _sN: _rGTPS}), + (RULE_GROUP_RULE_OPTIONS_PAIR_LIST, {_aQN: _RGROPS, _sN: _rGROPS}), + (lambda: schemas.STRING, {_aQN: _SN, _sN: _sNe}), + (ANALYSIS_COMPONENT_LIST, {_aQN: _LBS, _sN: _lBS}), + ), +) + +ADDITIONAL_DETAIL_LIST: StaticSchema = ( + 16, + n0, + _ADL, + 0, + (_me,), + ((ADDITIONAL_DETAIL, {_sN: _i}),), +) + +IP_ADDRESS: StaticSchema = (3, n0, _IA, 0) + +IP_ADDRESS_LIST: StaticSchema = (16, n0, _IAL, 0, (_me,), ((IP_ADDRESS, {_sN: _i}),)) + +PORT: StaticSchema = (7, n0, _Po, 0) + +ANALYSIS_LOAD_BALANCER_LISTENER: StaticSchema = ( + 18, + n0, + _ALBL, + 0, + (_LBP, _IP), + ((PORT, {_aQN: _LBP, _sN: _lBP}), (PORT, {_aQN: _IP, _sN: _iP})), +) + +COMPONENT_ACCOUNT: StaticSchema = (3, n0, _CA, 0) + +COMPONENT_REGION: StaticSchema = (3, n0, _CR, 0) + +PORT_RANGE_LIST: StaticSchema = ( + 16, + n0, + _PRL, + 0, + (_me,), + ((lambda: schemas.PORT_RANGE, {_sN: _i}),), +) + +FIREWALL_STATEFUL_RULE: StaticSchema = ( + 18, + n0, + _FSR, + 0, + (_RGA, _So, _D, _SP, _DP, _P, _RA, _Di), + ( + (RESOURCE_ARN, {_aQN: _RGA, _sN: _rGA}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SSo, _sN: _sSo}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _DSe, _sN: _dSe}), + (PORT_RANGE_LIST, {_aQN: _SPS, _sN: _sPS}), + (PORT_RANGE_LIST, {_aQN: _DPS, _sN: _dPS}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro}), + (lambda: schemas.STRING, {_aQN: _RA, _sN: _rA}), + (lambda: schemas.STRING, {_aQN: _Di, _sN: _dir}), + ), +) + +PRIORITY: StaticSchema = (7, n0, _Pr, 0) + +PROTOCOL_INT: StaticSchema = (7, n0, _PIr, 0) + +PROTOCOL_INT_LIST: StaticSchema = ( + 16, + n0, + _PIL, + 0, + (_me,), + ((PROTOCOL_INT, {_sN: _i}),), +) + +FIREWALL_STATELESS_RULE: StaticSchema = ( + 18, + n0, + _FSRi, + 0, + (_RGA, _So, _D, _SP, _DP, _Pro, _RA, _Pr), + ( + (RESOURCE_ARN, {_aQN: _RGA, _sN: _rGA}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SSo, _sN: _sSo}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _DSe, _sN: _dSe}), + (PORT_RANGE_LIST, {_aQN: _SPS, _sN: _sPS}), + (PORT_RANGE_LIST, {_aQN: _DPS, _sN: _dPS}), + (PROTOCOL_INT_LIST, {_aQN: _PS, _sN: _pS}), + (lambda: schemas.STRING, {_aQN: _RA, _sN: _rA}), + (PRIORITY, {_aQN: _Pr, _sN: _pri}), + ), +) + +ANALYSIS_LOAD_BALANCER_TARGET: StaticSchema = ( + 18, + n0, + _ALBT, + 0, + (_Ad, _AZ, _AZI, _In, _Po), + ( + (IP_ADDRESS, {_aQN: _Ad, _sN: _ad}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (ANALYSIS_COMPONENT, {_aQN: _In, _sN: _ins}), + (PORT, {_aQN: _Po, _sN: _po}), + ), +) + +ANALYSIS_ROUTE_TABLE_ROUTE: StaticSchema = ( + 18, + n0, + _ARTR, + 0, + (_DC, _DPLI, _EOIGI, _GI, _II, _NGI, _NII, _Or, _TGI, _VPCI, _St, _CGI, _CNA, _LGI), + ( + (lambda: schemas.STRING, {_aQN: _DC, _sN: _dC}), + (lambda: schemas.STRING, {_aQN: _DPLI, _sN: _dPLI}), + (lambda: schemas.STRING, {_aQN: _EOIGI, _sN: _eOIGI}), + (lambda: schemas.STRING, {_aQN: _GI, _sN: _gI}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _NGI, _sN: _nGI}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _Or, _sN: _or}), + (lambda: schemas.STRING, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.STRING, {_aQN: _VPCI, _sN: _vPCI}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _CGI, _sN: _cGI}), + (RESOURCE_ARN, {_aQN: _CNA, _sN: _cNA}), + (lambda: schemas.STRING, {_aQN: _LGI, _sN: _lGI}), + ), +) + +ANALYSIS_SECURITY_GROUP_RULE: StaticSchema = ( + 18, + n0, + _ASGR, + 0, + (_Ci, _Di, _SGI, _PR, _PLI, _P), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.STRING, {_aQN: _Di, _sN: _dir}), + (lambda: schemas.STRING, {_aQN: _SGI, _sN: _sGI}), + (lambda: schemas.PORT_RANGE, {_aQN: _PR, _sN: _pR}), + (lambda: schemas.STRING, {_aQN: _PLI, _sN: _pLI}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro}), + ), +) + +ANALYSIS_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticSchema = ( + 18, + n0, + _ATGPTE, + 0, + (_RN, _P, _SC, _DC, _SPR, _DPR, _TRTI), + ( + (lambda: schemas.INTEGER, {_aQN: _RN, _sN: _rN}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro}), + (lambda: schemas.STRING, {_aQN: _SC, _sN: _sC}), + (lambda: schemas.STRING, {_aQN: _DC, _sN: _dC}), + (lambda: schemas.PORT_RANGE, {_aQN: _SPR, _sN: _sPR}), + (lambda: schemas.PORT_RANGE, {_aQN: _DPR, _sN: _dPR}), + (lambda: schemas.STRING, {_aQN: _TRTI, _sN: _tRTI}), + ), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ROUTE: StaticSchema = ( + 18, + n0, + _TGRTR, + 0, + (_DC, _St, _ROo, _PLI, _AIt, _RIe, _RT), + ( + (lambda: schemas.STRING, {_aQN: _DC, _sN: _dC}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _ROo, _sN: _rO}), + (lambda: schemas.STRING, {_aQN: _PLI, _sN: _pLI}), + (lambda: schemas.STRING, {_aQN: _AIt, _sN: _aIt}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.STRING, {_aQN: _RT, _sN: _rT}), + ), +) + +EXPLANATION: StaticSchema = ( + 18, + n0, + _Ex, + 0, + ( + _Ac, + _AR, + _Ad, + _Add, + _ATt, + _AZv, + _AZIv, + _Cid, + _Co, + _CG, + _De, + _DV, + _Di, + _EC, + _IRT, + _IG, + _LBA, + _CLBL, + _LBLP, + _LBT, + _LBTG, + _LBTGo, + _LBTP, + _ELBL, + _MC, + _NG, + _NI, + _PF, + _VPC, + _Po, + _PRo, + _PL, + _Pro, + _RTR, + _RTo, + _SG, + _SGR, + _SGe, + _SV, + _St, + _Sub, + _SRT, + _Vp, + _VE, + _VC, + _VG, + _TGr, + _TGRT, + _TGRTR, + _TGPT, + _TGPTE, + _TGA, + _CA, + _CR, + _FSRi, + _FSR, + ), + ( + (ANALYSIS_COMPONENT, {_aQN: _Ac, _sN: _acl}), + (ANALYSIS_ACL_RULE, {_aQN: _AR, _sN: _aR}), + (IP_ADDRESS, {_aQN: _Ad, _sN: _ad}), + (IP_ADDRESS_LIST, {_aQN: _AS, _sN: _aS}), + (ANALYSIS_COMPONENT, {_aQN: _ATt, _sN: _aTt}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _AZS, _sN: _aZS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _AZIS, _sN: _aZIS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _CS, _sN: _cS}), + (ANALYSIS_COMPONENT, {_aQN: _Co, _sN: _com}), + (ANALYSIS_COMPONENT, {_aQN: _CG, _sN: _cG}), + (ANALYSIS_COMPONENT, {_aQN: _De, _sN: _des}), + (ANALYSIS_COMPONENT, {_aQN: _DV, _sN: _dV}), + (lambda: schemas.STRING, {_aQN: _Di, _sN: _dir}), + (lambda: schemas.STRING, {_aQN: _EC, _sN: _eC}), + (ANALYSIS_COMPONENT, {_aQN: _IRT, _sN: _iRT}), + (ANALYSIS_COMPONENT, {_aQN: _IG, _sN: _iG}), + (RESOURCE_ARN, {_aQN: _LBA, _sN: _lBA}), + (ANALYSIS_LOAD_BALANCER_LISTENER, {_aQN: _CLBL, _sN: _cLBL}), + (PORT, {_aQN: _LBLP, _sN: _lBLP}), + (ANALYSIS_LOAD_BALANCER_TARGET, {_aQN: _LBT, _sN: _lBT}), + (ANALYSIS_COMPONENT, {_aQN: _LBTG, _sN: _lBTG}), + (ANALYSIS_COMPONENT_LIST, {_aQN: _LBTGS, _sN: _lBTGS}), + (PORT, {_aQN: _LBTP, _sN: _lBTP}), + (ANALYSIS_COMPONENT, {_aQN: _ELBL, _sN: _eLBL}), + (lambda: schemas.STRING, {_aQN: _MC, _sN: _mC}), + (ANALYSIS_COMPONENT, {_aQN: _NG, _sN: _nG}), + (ANALYSIS_COMPONENT, {_aQN: _NI, _sN: _nI}), + (lambda: schemas.STRING, {_aQN: _PF, _sN: _pF}), + (ANALYSIS_COMPONENT, {_aQN: _VPC, _sN: _vPC}), + (PORT, {_aQN: _Po, _sN: _po}), + (PORT_RANGE_LIST, {_aQN: _PRS, _sN: _pRS}), + (ANALYSIS_COMPONENT, {_aQN: _PL, _sN: _pL}), + (STRING_LIST, {_aQN: _PS, _sN: _pS}), + (ANALYSIS_ROUTE_TABLE_ROUTE, {_aQN: _RTR, _sN: _rTR}), + (ANALYSIS_COMPONENT, {_aQN: _RTo, _sN: _rTo}), + (ANALYSIS_COMPONENT, {_aQN: _SG, _sN: _sG}), + (ANALYSIS_SECURITY_GROUP_RULE, {_aQN: _SGR, _sN: _sGR}), + (ANALYSIS_COMPONENT_LIST, {_aQN: _SGS, _sN: _sGS}), + (ANALYSIS_COMPONENT, {_aQN: _SV, _sN: _sVo}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (ANALYSIS_COMPONENT, {_aQN: _Sub, _sN: _su}), + (ANALYSIS_COMPONENT, {_aQN: _SRT, _sN: _sRT}), + (ANALYSIS_COMPONENT, {_aQN: _Vp, _sN: _vp}), + (ANALYSIS_COMPONENT, {_aQN: _VE, _sN: _vE}), + (ANALYSIS_COMPONENT, {_aQN: _VC, _sN: _vC}), + (ANALYSIS_COMPONENT, {_aQN: _VG, _sN: _vG}), + (ANALYSIS_COMPONENT, {_aQN: _TGr, _sN: _tG}), + (ANALYSIS_COMPONENT, {_aQN: _TGRT, _sN: _tGRT}), + (TRANSIT_GATEWAY_ROUTE_TABLE_ROUTE, {_aQN: _TGRTR, _sN: _tGRTR}), + (ANALYSIS_COMPONENT, {_aQN: _TGPT, _sN: _tGPT}), + (ANALYSIS_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_aQN: _TGPTE, _sN: _tGPTE}), + (ANALYSIS_COMPONENT, {_aQN: _TGA, _sN: _tGA}), + (COMPONENT_ACCOUNT, {_aQN: _CA, _sN: _cA}), + (COMPONENT_REGION, {_aQN: _CR, _sN: _cR}), + (FIREWALL_STATELESS_RULE, {_aQN: _FSRi, _sN: _fSR}), + (FIREWALL_STATEFUL_RULE, {_aQN: _FSR, _sN: _fSRi}), + ), +) + +EXPLANATION_LIST: StaticSchema = (16, n0, _EL, 0, (_me,), ((EXPLANATION, {_sN: _i}),)) + +ANALYSIS_PACKET_HEADER: StaticSchema = ( + 18, + n0, + _APH, + 0, + (_DA, _DPRe, _P, _SAo, _SPRo), + ( + (IP_ADDRESS_LIST, {_aQN: _DAS, _sN: _dAS}), + (PORT_RANGE_LIST, {_aQN: _DPRS, _sN: _dPRS}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro}), + (IP_ADDRESS_LIST, {_aQN: _SAS, _sN: _sAS}), + (PORT_RANGE_LIST, {_aQN: _SPRS, _sN: _sPRS}), + ), +) + +PATH_COMPONENT: StaticSchema = ( + 18, + n0, + _PC, + 0, + ( + _SNe, + _AR, + _ATt, + _Co, + _DV, + _OH, + _IH, + _RTR, + _SGR, + _SV, + _Sub, + _Vp, + _ADd, + _TGr, + _TGRTR, + _TGPTE, + _Exp, + _ELBL, + _FSRi, + _FSR, + _SN, + ), + ( + (lambda: schemas.INTEGER, {_aQN: _SNe, _sN: _sNeq}), + (ANALYSIS_ACL_RULE, {_aQN: _AR, _sN: _aR}), + (ANALYSIS_COMPONENT, {_aQN: _ATt, _sN: _aTt}), + (ANALYSIS_COMPONENT, {_aQN: _Co, _sN: _com}), + (ANALYSIS_COMPONENT, {_aQN: _DV, _sN: _dV}), + (ANALYSIS_PACKET_HEADER, {_aQN: _OH, _sN: _oH}), + (ANALYSIS_PACKET_HEADER, {_aQN: _IH, _sN: _iH}), + (ANALYSIS_ROUTE_TABLE_ROUTE, {_aQN: _RTR, _sN: _rTR}), + (ANALYSIS_SECURITY_GROUP_RULE, {_aQN: _SGR, _sN: _sGR}), + (ANALYSIS_COMPONENT, {_aQN: _SV, _sN: _sVo}), + (ANALYSIS_COMPONENT, {_aQN: _Sub, _sN: _su}), + (ANALYSIS_COMPONENT, {_aQN: _Vp, _sN: _vp}), + (ADDITIONAL_DETAIL_LIST, {_aQN: _ADS, _sN: _aDS}), + (ANALYSIS_COMPONENT, {_aQN: _TGr, _sN: _tG}), + (TRANSIT_GATEWAY_ROUTE_TABLE_ROUTE, {_aQN: _TGRTR, _sN: _tGRTR}), + (ANALYSIS_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_aQN: _TGPTE, _sN: _tGPTE}), + (EXPLANATION_LIST, {_aQN: _ES, _sN: _eS}), + (ANALYSIS_COMPONENT, {_aQN: _ELBL, _sN: _eLBL}), + (FIREWALL_STATELESS_RULE, {_aQN: _FSRi, _sN: _fSR}), + (FIREWALL_STATEFUL_RULE, {_aQN: _FSR, _sN: _fSRi}), + (lambda: schemas.STRING, {_aQN: _SN, _sN: _sNe}), + ), +) + +PATH_COMPONENT_LIST: StaticSchema = ( + 16, + n0, + _PCL, + 0, + (_me,), + ((PATH_COMPONENT, {_sN: _i}),), +) + +ACCESS_SCOPE_ANALYSIS_FINDING: StaticSchema = ( + 18, + n0, + _ASAF, + 0, + (_NIASAI, _NIASI, _FI, _FC), + ( + ( + lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, + {_aQN: _NIASAI, _sN: _nIASAI}, + ), + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}), + (lambda: schemas.STRING, {_aQN: _FI, _sN: _fI}), + (PATH_COMPONENT_LIST, {_aQN: _FCS, _sN: _fCS}), + ), +) + +ACCESS_SCOPE_ANALYSIS_FINDING_LIST: StaticSchema = ( + 16, + n0, + _ASAFL, + 0, + (_me,), + ((ACCESS_SCOPE_ANALYSIS_FINDING, {_sN: _i}),), +) + +PROTOCOL: StaticSchema = ( + 14, + n0, + _P, + 0, + (_tc, _ud), + ((-1, {_sV: _tc}), (-1, {_sV: _ud})), +) + +PROTOCOL_LIST: StaticSchema = (16, n0, _PLr, 0, (_me,), ((PROTOCOL, {_sN: _i}),)) + +PACKET_HEADER_STATEMENT: StaticSchema = ( + 18, + n0, + _PHS, + 0, + (_SAo, _DA, _SP, _DP, _SPL, _DPL, _Pro), + ( + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SAS, _sN: _sAS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _DAS, _sN: _dAS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SPS, _sN: _sPS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _DPS, _sN: _dPS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SPLS, _sN: _sPLS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _DPLS, _sN: _dPLS}), + (PROTOCOL_LIST, {_aQN: _PS, _sN: _pS}), + ), +) + +RESOURCE_STATEMENT: StaticSchema = ( + 18, + n0, + _RS, + 0, + (_Res, _RTe), + ( + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _RSe, _sN: _rS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _RTS, _sN: _rTS}), + ), +) + +PATH_STATEMENT: StaticSchema = ( + 18, + n0, + _PSa, + 0, + (_PHS, _RS), + ( + (PACKET_HEADER_STATEMENT, {_aQN: _PHS, _sN: _pHS}), + (RESOURCE_STATEMENT, {_aQN: _RS, _sN: _rSe}), + ), +) + +THROUGH_RESOURCES_STATEMENT: StaticSchema = ( + 18, + n0, + _TRS, + 0, + (_RS,), + ((RESOURCE_STATEMENT, {_aQN: _RS, _sN: _rSe}),), +) + +THROUGH_RESOURCES_STATEMENT_LIST: StaticSchema = ( + 16, + n0, + _TRSL, + 0, + (_me,), + ((THROUGH_RESOURCES_STATEMENT, {_sN: _i}),), +) + +ACCESS_SCOPE_PATH: StaticSchema = ( + 18, + n0, + _ASP, + 0, + (_Sou, _De, _TR), + ( + (PATH_STATEMENT, {_aQN: _Sou, _sN: _so}), + (PATH_STATEMENT, {_aQN: _De, _sN: _des}), + (THROUGH_RESOURCES_STATEMENT_LIST, {_aQN: _TRSh, _sN: _tRS}), + ), +) + +ACCESS_SCOPE_PATH_LIST: StaticSchema = ( + 16, + n0, + _ASPL, + 0, + (_me,), + ((ACCESS_SCOPE_PATH, {_sN: _i}),), +) + +PACKET_HEADER_STATEMENT_REQUEST: StaticSchema = ( + 18, + n0, + _PHSR, + 0, + (_SAo, _DA, _SP, _DP, _SPL, _DPL, _Pro), + ( + (lambda: schemas.VALUE_STRING_LIST, {_sN: _SAou}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _DAe}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _SPo}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _DPe}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _SPLo}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _DPLe}), + (PROTOCOL_LIST, {_sN: _P}), + ), +) + +RESOURCE_STATEMENT_REQUEST: StaticSchema = ( + 18, + n0, + _RSR, + 0, + (_Res, _RTe), + ( + (lambda: schemas.VALUE_STRING_LIST, {_sN: _Reso}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _RT}), + ), +) + +PATH_STATEMENT_REQUEST: StaticSchema = ( + 18, + n0, + _PSR, + 0, + (_PHS, _RS), + ((PACKET_HEADER_STATEMENT_REQUEST, 0), (RESOURCE_STATEMENT_REQUEST, 0)), +) + +THROUGH_RESOURCES_STATEMENT_REQUEST: StaticSchema = ( + 18, + n0, + _TRSR, + 0, + (_RS,), + ((RESOURCE_STATEMENT_REQUEST, 0),), +) + +THROUGH_RESOURCES_STATEMENT_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _TRSRL, + 0, + (_me,), + ((THROUGH_RESOURCES_STATEMENT_REQUEST, {_sN: _i}),), +) + +ACCESS_SCOPE_PATH_REQUEST: StaticSchema = ( + 18, + n0, + _ASPR, + 0, + (_Sou, _De, _TR), + ( + (PATH_STATEMENT_REQUEST, 0), + (PATH_STATEMENT_REQUEST, 0), + (THROUGH_RESOURCES_STATEMENT_REQUEST_LIST, {_sN: _TRh}), + ), +) + +ACCESS_SCOPE_PATH_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _ASPLR, + 0, + (_me,), + ((ACCESS_SCOPE_PATH_REQUEST, {_sN: _i}),), +) + +ACCOUNT_ATTRIBUTE_VALUE: StaticSchema = ( + 18, + n0, + _AAV, + 0, + (_AV,), + ((lambda: schemas.STRING, {_aQN: _AV, _sN: _aV}),), +) + +ACCOUNT_ATTRIBUTE_VALUE_LIST: StaticSchema = ( + 16, + n0, + _AAVL, + 0, + (_me,), + ((ACCOUNT_ATTRIBUTE_VALUE, {_sN: _i}),), +) + +ACCOUNT_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _AA, + 0, + (_ANt, _AVt), + ( + (lambda: schemas.STRING, {_aQN: _ANt, _sN: _aN}), + (ACCOUNT_ATTRIBUTE_VALUE_LIST, {_aQN: _AVS, _sN: _aVS}), + ), +) + +ACCOUNT_ATTRIBUTE_LIST: StaticSchema = ( + 16, + n0, + _AAL, + 0, + (_me,), + ((ACCOUNT_ATTRIBUTE, {_sN: _i}),), +) + +ACCOUNT_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _AAN, + 0, + (_sp, _dv), + ((-1, {_sV: _sp_}), (-1, {_sV: _dv_})), +) + +ACCOUNT_ATTRIBUTE_NAME_STRING_LIST: StaticSchema = ( + 16, + n0, + _AANSL, + 0, + (_me,), + ((ACCOUNT_ATTRIBUTE_NAME, {_sN: _aN}),), +) + +ACCOUNT_VPC_ENCRYPTION_CONTROL_EXCLUSIONS: StaticSchema = ( + 18, + n0, + _AVECE, + 0, + (_IG, _EOIG, _NG, _VPG, _VP, _La, _VL, _EFS), + ( + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _IG, _sN: _iG}), + ( + lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, + {_aQN: _EOIG, _sN: _eOIG}, + ), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _NG, _sN: _nG}), + ( + lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, + {_aQN: _VPG, _sN: _vPG}, + ), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _VP, _sN: _vP}), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _La, _sN: _la}), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _VL, _sN: _vL}), + ( + lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, + {_aQN: _EFS, _sN: _eFS}, + ), + ), +) + +ACCOUNT_VPC_ENCRYPTION_CONTROL_MODE: StaticSchema = ( + 14, + n0, + _AVECM, + 0, + (_unm, _am, _ae), + ((-1, {_sV: _unm}), (-1, {_sV: _am_}), (-1, {_sV: _ae_})), +) + +ACCOUNT_VPC_ENCRYPTION_CONTROL_STATE: StaticSchema = ( + 14, + n0, + _AVECS, + 0, + (_ds, _tip, _tps, _ts, _tf), + ( + (-1, {_sV: _ds_}), + (-1, {_sV: _tip_}), + (-1, {_sV: _tps_}), + (-1, {_sV: _ts_}), + (-1, {_sV: _tf_}), + ), +) + +ACCOUNT_VPC_ENCRYPTION_CONTROL: StaticSchema = ( + 18, + n0, + _AVECc, + 0, + (_St, _Mo, _Exc, _MB, _LUT), + ( + (ACCOUNT_VPC_ENCRYPTION_CONTROL_STATE, {_aQN: _St, _sN: _st}), + (ACCOUNT_VPC_ENCRYPTION_CONTROL_MODE, {_aQN: _Mo, _sN: _mod}), + (ACCOUNT_VPC_ENCRYPTION_CONTROL_EXCLUSIONS, {_aQN: _Exc, _sN: _exc}), + (lambda: schemas.MANAGED_BY, {_aQN: _MB, _sN: _mB}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LUT, _sN: _lUT}), + ), +) + +INSTANCE_HEALTH_STATUS: StaticSchema = ( + 14, + n0, + _IHS, + 0, + (_HS, _US), + ((-1, {_sV: _he}), (-1, {_sV: _unh})), +) + +ACTIVE_INSTANCE: StaticSchema = ( + 18, + n0, + _AIc, + 0, + (_II, _IT, _SIRI, _IHn), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _SIRI, _sN: _sIRI}), + (INSTANCE_HEALTH_STATUS, {_aQN: _IHn, _sN: _iHn}), + ), +) + +ACTIVE_INSTANCE_SET: StaticSchema = ( + 16, + n0, + _AIS, + 0, + (_me,), + ((ACTIVE_INSTANCE, {_sN: _i}),), +) + +VPN_TUNNEL_PROVISIONING_STATUS: StaticSchema = ( + 14, + n0, + _VTPS, + 0, + (_av, _p, _fa), + ((-1, {_sV: _av}), (-1, {_sV: _p}), (-1, {_sV: _fa})), +) + +ACTIVE_VPN_TUNNEL_STATUS: StaticSchema = ( + 18, + n0, + _AVTS, + 0, + (_PEA, _PEAh, _PIA, _PIAh, _PDHG, _PDHGh, _IV, _PSr, _PSRr), + ( + (lambda: schemas.STRING, {_aQN: _PEA, _sN: _pEA}), + (lambda: schemas.STRING, {_aQN: _PEAh, _sN: _pEAh}), + (lambda: schemas.STRING, {_aQN: _PIA, _sN: _pIA}), + (lambda: schemas.STRING, {_aQN: _PIAh, _sN: _pIAh}), + (lambda: schemas.INTEGER, {_aQN: _PDHG, _sN: _pDHG}), + (lambda: schemas.INTEGER, {_aQN: _PDHGh, _sN: _pDHGh}), + (lambda: schemas.STRING, {_aQN: _IV, _sN: _iV}), + (VPN_TUNNEL_PROVISIONING_STATUS, {_aQN: _PSr, _sN: _pSr}), + (lambda: schemas.STRING, {_aQN: _PSRr, _sN: _pSR}), + ), +) + +ACTIVITY_STATUS: StaticSchema = ( + 14, + n0, + _ASc, + 0, + (_ERROR, _PF_, _PT, _FULFILLED), + ((-1, {_sV: _er}), (-1, {_sV: _pf}), (-1, {_sV: _pt}), (-1, {_sV: _fu})), +) + +ADDED_PRINCIPAL: StaticSchema = ( + 18, + n0, + _AP, + 0, + (_PTr, _Pri, _SPI, _SIe), + ( + (lambda: schemas.PRINCIPAL_TYPE, {_aQN: _PTr, _sN: _pT}), + (lambda: schemas.STRING, {_aQN: _Pri, _sN: _prin}), + (lambda: schemas.STRING, {_aQN: _SPI, _sN: _sPI}), + (lambda: schemas.STRING, {_aQN: _SIe, _sN: _sIe}), + ), +) + +ADDED_PRINCIPAL_SET: StaticSchema = ( + 16, + n0, + _APS, + 0, + (_me,), + ((ADDED_PRINCIPAL, {_sN: _i}),), +) + +ADD_IPAM_OPERATING_REGION: StaticSchema = ( + 18, + n0, + _AIOR, + 0, + (_RNe,), + ((lambda: schemas.STRING, 0),), +) + +ADD_IPAM_OPERATING_REGION_SET: StaticSchema = ( + 16, + n0, + _AIORS, + 0, + (_me,), + ((ADD_IPAM_OPERATING_REGION, 0),), +) + +ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION: StaticSchema = ( + 18, + n0, + _AIOUE, + 0, + (_OEP,), + ((lambda: schemas.STRING, 0),), +) + +ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET: StaticSchema = ( + 16, + n0, + _AIOUES, + 0, + (_me,), + ((ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION, 0),), +) + +ADDITIONAL_FLEXIBLE_NETWORK_INTERFACES: StaticSchema = (7, n0, _AFNI, 0) + +ADD_PREFIX_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _APLE, + 0, + (_Ci, _Des), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 0)), +) + +ADD_PREFIX_LIST_ENTRIES: StaticSchema = ( + 16, + n0, + _APLEd, + 0, + (_me,), + ((ADD_PREFIX_LIST_ENTRY, 0),), +) + +DOMAIN_TYPE: StaticSchema = ( + 14, + n0, + _DTo, + 0, + (_vp, _stan), + ((-1, {_sV: _vp}), (-1, {_sV: _stan})), +) + +SERVICE_MANAGED: StaticSchema = ( + 14, + n0, + _SM, + 0, + (_al, _nl, _rn, _rd), + ((-1, {_sV: _al}), (-1, {_sV: _nl}), (-1, {_sV: _rn}), (-1, {_sV: _rd})), +) + +ADDRESS: StaticSchema = ( + 18, + n0, + _Ad, + 0, + ( + _AI, + _AIs, + _Do, + _NII, + _NIOI, + _PIAr, + _Tag, + _PIP, + _NBG, + _COI, + _COIP, + _CI, + _SIu, + _SM, + _II, + _PI, + ), + ( + (lambda: schemas.STRING, {_aQN: _AI, _sN: _aI}), + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (DOMAIN_TYPE, {_aQN: _Do, _sN: _dom}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _NIOI, _sN: _nIOI}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _PIP, _sN: _pIP}), + (lambda: schemas.STRING, {_aQN: _NBG, _sN: _nBG}), + (lambda: schemas.STRING, {_aQN: _COI, _sN: _cOI}), + (lambda: schemas.STRING, {_aQN: _COIP, _sN: _cOIP}), + (lambda: schemas.STRING, {_aQN: _CI, _sN: _cI}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (SERVICE_MANAGED, {_aQN: _SM, _sN: _sM}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _PI, _sN: _pI}), + ), +) + +PTR_UPDATE_STATUS: StaticSchema = ( + 18, + n0, + _PUS, + 0, + (_Va, _Sta, _Rea), + ( + (lambda: schemas.STRING, {_aQN: _Va, _sN: _va}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _Rea, _sN: _rea}), + ), +) + +PUBLIC_IP_ADDRESS: StaticSchema = (3, n0, _PIAu, 0) + +ADDRESS_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _AAd, + 0, + (_PI, _AI, _PRt, _PRU), + ( + (PUBLIC_IP_ADDRESS, {_aQN: _PI, _sN: _pI}), + (lambda: schemas.ALLOCATION_ID, {_aQN: _AI, _sN: _aI}), + (lambda: schemas.STRING, {_aQN: _PRt, _sN: _pRt}), + (PTR_UPDATE_STATUS, {_aQN: _PRU, _sN: _pRU}), + ), +) + +ADDRESS_ATTRIBUTE_NAME: StaticSchema = (14, n0, _AANd, 0, (_dn,), ((-1, {_sV: _dn_}),)) + +ADDRESS_FAMILY: StaticSchema = ( + 14, + n0, + _AF, + 0, + (_ipv, _ipv_), + ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_})), +) + +IPAM_RESOURCE_DISCOVERY_ASSOCIATION_ID: StaticSchema = (3, n0, _IRDAI, 0) + +LOCAL_GATEWAY_ROUTETABLE_ID: StaticSchema = (3, n0, _LGRI, 0) + +IPAM_SCOPE_ID: StaticSchema = (3, n0, _ISI, 0) + +NETWORK_INSIGHTS_ACCESS_SCOPE: StaticSchema = ( + 18, + n0, + _NIAS, + 0, + (_NIASI, _NIASA, _CDr, _UDp, _Tag), + ( + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}), + (RESOURCE_ARN, {_aQN: _NIASA, _sN: _nIASA}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CDr, _sN: _cDr}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _UDp, _sN: _uDp}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT: StaticSchema = ( + 18, + n0, + _NIASC, + 0, + (_NIASI, _MPa, _EP), + ( + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}), + (ACCESS_SCOPE_PATH_LIST, {_aQN: _MPS, _sN: _mPS}), + (ACCESS_SCOPE_PATH_LIST, {_aQN: _EPS, _sN: _ePS}), + ), +) + +NETWORK_INSIGHTS_PATH_ID: StaticSchema = (3, n0, _NIPI, 0) + +NETWORK_INSIGHTS_ANALYSIS_ID: StaticSchema = (3, n0, _NIAI, 0) + +NETWORK_INSIGHTS_MAX_RESULTS: StaticSchema = (7, n0, _NIMR, 0) + +ANALYSIS_STATUS: StaticSchema = ( + 14, + n0, + _ASn, + 0, + (_ru, _suc, _fa), + ((-1, {_sV: _ru}), (-1, {_sV: _suc}), (-1, {_sV: _fa})), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_10.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_10.py new file mode 100644 index 000000000..05c622455 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_10.py @@ -0,0 +1,1524 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_ip = "ipam" +_Ke = "Key" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_IC = "InstanceCount" +_St = "State" +_st = "state" +_SIu = "SubnetId" +_sI = "subnetId" +_RIe = "ResourceId" +_OIw = "OwnerId" +_oI = "ownerId" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_Un = "Unsuccessful" +_un = "unsuccessful" +_dRr = "dryRun" +_act = "active" +_ex = "expired" +_N = "Name" +_nam = "name" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_SGI = "SecurityGroupId" +_IG = "InternetGateway" +_iG = "internetGateway" +_RTe = "ResourceTypes" +_RNe = "RegionName" +_Des = "Description" +_ipv = "ipv4" +_ipv_ = "ipv6" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_OA = "OutpostArn" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_ca = "cancelling" +_SGIe = "SecurityGroupIds" +_SWD = "StartWeekDay" +_SH = "StartHour" +_EWD = "EndWeekDay" +_EH = "EndHour" +_IEW = "InstanceEventWindow" +_TRi = "TimeRanges" +_CE = "CronExpression" +_iEW = "instanceEventWindow" +_IIp = "IpamId" +_iip = "isolate-in-progress" +_ic = "isolate-complete" +_rip = "restore-in-progress" +_iIp = "ipamId" +_IApa = "IpamArn" +_iAp = "ipamArn" +_IR = "IpamRegion" +_iRp = "ipamRegion" +_IIm = "ImageId" +_ECI = "EbsCardIndex" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_UIs = "UserId" +_IIRAI = "IpamInternetRegistryAssociationId" +_SMta = "StateMessage" +_sMta = "stateMessage" +_Bu = "Bucket" +_can = "cancelled" +_RIep = "ReportId" +_ETI = "ExportTaskId" +_eTI = "exportTaskId" +_compl = "completed" +_FII = "FpgaImageId" +_fII = "fpgaImageId" +_KKI = "KmsKeyId" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_iIm = "imageId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_VT = "VolumeType" +_Io = "Iops" +_Th = "Throughput" +_oA = "outpostArn" +_iop = "iops" +_vT = "volumeType" +_thr = "throughput" +_VIR = "VolumeInitializationRate" +_ITnt = "InterruptionType" +_ZSP = "ZeroSizePreference" +_TIC = "TargetInstanceCount" +_tIC = "targetInstanceCount" +_iTn = "interruptionType" +_SCRI = "SourceCapacityReservationId" +_sCRI = "sourceCapacityReservationId" +_DN = "DnsName" +_dN = "dnsName" +_DNe = "DeviceName" +_dNe = "deviceName" +_df___ = "delete_failed" +_df____ = "delete-failed" +_VSol = "VolumeSize" +_VN = "VirtualName" +_Eb = "Ebs" +_ND = "NoDevice" +_BDM = "BlockDeviceMapping" +_BDMl = "BlockDeviceMappings" +_vSo = "volumeSize" +_vN = "virtualName" +_eb = "ebs" +_nD = "noDevice" +_LDT = "LogDestinationType" +_TK = "TagKey" +_TKL = "TagKeyList" +_TFSR = "TagFieldSpecificationRequest" +_TKa = "TagKeys" +_TFSLR = "TagFieldSpecificationListRequest" +_TTr = "TrafficType" +_ACCEPT = "ACCEPT" +_REJECT = "REJECT" +_ALL = "ALL" +_CFLI = "CreateFlowLogsInput" +_cCFLR = "com.amazonaws.ec2#CreateFlowLogsRequest" +_DLPA = "DeliverLogsPermissionArn" +_DCAR = "DeliverCrossAccountRole" +_LGN = "LogGroupName" +_RIes = "ResourceIds" +_LD = "LogDestination" +_LF = "LogFormat" +_MAI = "MaxAggregationInterval" +_DOe = "DestinationOptions" +_TFS = "TagFieldSpecifications" +_TFSa = "TagFieldSpecification" +_CFLO = "CreateFlowLogsOutput" +_cCFLRo = "com.amazonaws.ec2#CreateFlowLogsResult" +_FLI = "FlowLogIds" +_FLIS = "FlowLogIdSet" +_fLIS = "flowLogIdSet" +_CFL = "CreateFlowLogs" +_SLt = "StorageLocation" +_CFIIr = "CreateFpgaImageInput" +_cCFIRom = "com.amazonaws.ec2#CreateFpgaImageRequest" +_ISL = "InputStorageLocation" +_LSL = "LogsStorageLocation" +_CFIOr = "CreateFpgaImageOutput" +_cCFIRoma = "com.amazonaws.ec2#CreateFpgaImageResult" +_FIGI = "FpgaImageGlobalId" +_fIGI = "fpgaImageGlobalId" +_CFIrea = "CreateFpgaImage" +_EBD = "EbsBlockDevice" +_BDMRLl = "BlockDeviceMappingRequestList" +_BMOV = "BootModeOverrideValues" +_ue = "uefi" +_CIIr = "CreateImageInput" +_cCIRom = "com.amazonaws.ec2#CreateImageRequest" +_SLn = "SnapshotLocation" +_BMO = "BootModeOverride" +_NR = "NoReboot" +_nR = "noReboot" +_bDM = "blockDeviceMapping" +_CIOr = "CreateImageOutput" +_cCIRoma = "com.amazonaws.ec2#CreateImageResult" +_CIr = "CreateImage" +_IURUISL = "ImageUsageReportUserIdStringList" +_CIURCT = "CreateImageUsageReportClientToken" +_IURTN = "ImageUsageResourceTypeName" +_IURTOV = "ImageUsageResourceTypeOptionValue" +_IURTOVL = "ImageUsageResourceTypeOptionValuesList" +_IURTOR = "ImageUsageResourceTypeOptionRequest" +_ON = "OptionName" +_OV = "OptionValues" +_OVp = "OptionValue" +_IURTORL = "ImageUsageResourceTypeOptionRequestList" +_IURTR = "ImageUsageResourceTypeRequest" +_RTO = "ResourceTypeOptions" +_RTOe = "ResourceTypeOption" +_IURTRL = "ImageUsageResourceTypeRequestList" +_CIURI = "CreateImageUsageReportInput" +_cCIURR = "com.amazonaws.ec2#CreateImageUsageReportRequest" +_AIcc = "AccountIds" +_AIcco = "AccountId" +_IURI = "ImageUsageReportId" +_CIURO = "CreateImageUsageReportOutput" +_cCIURRo = "com.amazonaws.ec2#CreateImageUsageReportResult" +_rIe = "reportId" +_CIUR = "CreateImageUsageReport" +_IAT = "IpAddressType" +_du = "dualstack" +_SGISLR = "SecurityGroupIdStringListRequest" +_CICEI = "CreateInstanceConnectEndpointInput" +_cCICER = "com.amazonaws.ec2#CreateInstanceConnectEndpointRequest" +_PCI = "PreserveClientIp" +_ICEI = "InstanceConnectEndpointId" +_NIIS = "NetworkInterfaceIdSet" +_ICEDN = "InstanceConnectEndpointDnsNames" +_FDN = "FipsDnsName" +_fDN = "fipsDnsName" +_ICEPDN = "InstanceConnectEndpointPublicDnsNames" +_Ip = "Ipv4" +_Du = "Dualstack" +_SGIS = "SecurityGroupIdSet" +_EICES = "Ec2InstanceConnectEndpointState" +_cip = "create_in_progress" +_cip_ = "create-in-progress" +_cc_ = "create_complete" +_cc__ = "create-complete" +_cf________________________ = "create_failed" +_cf_________________________ = "create-failed" +_dip_ = "delete_in_progress" +_dip__ = "delete-in-progress" +_dc_ = "delete_complete" +_dc__ = "delete-complete" +_uip = "update_in_progress" +_uip_ = "update-in-progress" +_uc = "update_complete" +_uc_ = "update-complete" +_uf = "update_failed" +_uf_ = "update-failed" +_EICE = "Ec2InstanceConnectEndpoint" +_iCEI = "instanceConnectEndpointId" +_ICEA = "InstanceConnectEndpointArn" +_iCEA = "instanceConnectEndpointArn" +_NIIe = "NetworkInterfaceIds" +_nIIS = "networkInterfaceIdSet" +_CAr = "CreatedAt" +_cAr = "createdAt" +_pCI = "preserveClientIp" +_sGIS = "securityGroupIdSet" +_iAT = "ipAddressType" +_PDN = "PublicDnsNames" +_pDN = "publicDnsNames" +_CICEO = "CreateInstanceConnectEndpointOutput" +_cCICERo = "com.amazonaws.ec2#CreateInstanceConnectEndpointResult" +_ICE = "InstanceConnectEndpoint" +_iCE = "instanceConnectEndpoint" +_CICE = "CreateInstanceConnectEndpoint" +_IEWTRR = "InstanceEventWindowTimeRangeRequest" +_IEWTRRS = "InstanceEventWindowTimeRangeRequestSet" +_CIEWI = "CreateInstanceEventWindowInput" +_cCIEWR = "com.amazonaws.ec2#CreateInstanceEventWindowRequest" +_TRim = "TimeRange" +_CIEWO = "CreateInstanceEventWindowOutput" +_cCIEWRo = "com.amazonaws.ec2#CreateInstanceEventWindowResult" +_CIEW = "CreateInstanceEventWindow" +_CFo = "ContainerFormat" +_ova = "ova" +_DIF = "DiskImageFormat" +_ETSTS = "ExportToS3TaskSpecification" +_dIF = "diskImageFormat" +_cF = "containerFormat" +_SBu = "S3Bucket" +_sB = "s3Bucket" +_SPr = "S3Prefix" +_sP = "s3Prefix" +_EE = "ExportEnvironment" +_cit = "citrix" +_vm = "vmware" +_mic = "microsoft" +_CIETI = "CreateInstanceExportTaskInput" +_cCIETR = "com.amazonaws.ec2#CreateInstanceExportTaskRequest" +_TEa = "TargetEnvironment" +_tEa = "targetEnvironment" +_ETST = "ExportToS3Task" +_ETS = "ExportToS3" +_eTS = "exportToS3" +_SK = "S3Key" +_sK = "s3Key" +_IED = "InstanceExportDetails" +_ETSx = "ExportTaskState" +_ETx = "ExportTask" +_IEn = "InstanceExport" +_iEn = "instanceExport" +_CIETO = "CreateInstanceExportTaskOutput" +_cCIETRo = "com.amazonaws.ec2#CreateInstanceExportTaskResult" +_eTx = "exportTask" +_CIET = "CreateInstanceExportTask" +_CIGI = "CreateInternetGatewayInput" +_cCIGR = "com.amazonaws.ec2#CreateInternetGatewayRequest" +_CIGO = "CreateInternetGatewayOutput" +_cCIGRo = "com.amazonaws.ec2#CreateInternetGatewayResult" +_CIG = "CreateInternetGateway" +_CICRAI = "CreateInterruptibleCapacityReservationAllocationInput" +_cCICRAR = "com.amazonaws.ec2#CreateInterruptibleCapacityReservationAllocationRequest" +_CICRAO = "CreateInterruptibleCapacityReservationAllocationOutput" +_cCICRARo = "com.amazonaws.ec2#CreateInterruptibleCapacityReservationAllocationResult" +_CICRA = "CreateInterruptibleCapacityReservationAllocation" +_IMA = "IpamMeteredAccount" +_io__ = "ipam_owner" +_io___ = "ipam-owner" +_ro = "resource_owner" +_ro_ = "resource-owner" +_ITp = "IpamTier" +_fre = "free" +_adva = "advanced" +_CIIre = "CreateIpamInput" +_cCIRomam = "com.amazonaws.ec2#CreateIpamRequest" +_ORp = "OperatingRegions" +_ORpe = "OperatingRegion" +_Tie = "Tier" +_EPG = "EnablePrivateGua" +_MAe = "MeteredAccount" +_IOR = "IpamOperatingRegion" +_rNe = "regionName" +_IORS = "IpamOperatingRegionSet" +_ISpa = "IpamState" +_mip__ = "modify_in_progress" +_mip___ = "modify-in-progress" +_mc = "modify_complete" +_mc_ = "modify-complete" +_mf__________________________ = "modify_failed" +_mf___________________________ = "modify-failed" +_iip_ = "isolate_in_progress" +_ic_ = "isolate_complete" +_rip_ = "restore_in_progress" +_Ipa = "Ipam" +_PDSI = "PublicDefaultScopeId" +_pDSI = "publicDefaultScopeId" +_PDSIr = "PrivateDefaultScopeId" +_pDSIr = "privateDefaultScopeId" +_SCc = "ScopeCount" +_sCc = "scopeCount" +_ORS = "OperatingRegionSet" +_oRS = "operatingRegionSet" +_DRDI = "DefaultResourceDiscoveryId" +_dRDI = "defaultResourceDiscoveryId" +_DRDAI = "DefaultResourceDiscoveryAssociationId" +_dRDAI = "defaultResourceDiscoveryAssociationId" +_RDAC = "ResourceDiscoveryAssociationCount" +_rDAC = "resourceDiscoveryAssociationCount" +_tie = "tier" +_ePG = "enablePrivateGua" +_mA = "meteredAccount" +_CIOre = "CreateIpamOutput" +_cCIRomama = "com.amazonaws.ec2#CreateIpamResult" +_CIre = "CreateIpam" +_CIERVTI = "CreateIpamExternalResourceVerificationTokenInput" +_cCIERVTR = "com.amazonaws.ec2#CreateIpamExternalResourceVerificationTokenRequest" +_IERVTI = "IpamExternalResourceVerificationTokenId" +_IERVTS = "IpamExternalResourceVerificationTokenState" +_CIP = "CREATE_IN_PROGRESS" +_CC_ = "CREATE_COMPLETE" +_CF_ = "CREATE_FAILED" +_DIP_ = "DELETE_IN_PROGRESS" +_DC__ = "DELETE_COMPLETE" +_DF_ = "DELETE_FAILED" +_TSo = "TokenState" +_val = "valid" +_IERVT = "IpamExternalResourceVerificationToken" +_iERVTI = "ipamExternalResourceVerificationTokenId" +_IERVTA = "IpamExternalResourceVerificationTokenArn" +_iERVTA = "ipamExternalResourceVerificationTokenArn" +_TV = "TokenValue" +_tV = "tokenValue" +_TN = "TokenName" +_tN = "tokenName" +_NA = "NotAfter" +_nA = "notAfter" +_CIERVTO = "CreateIpamExternalResourceVerificationTokenOutput" +_cCIERVTRo = "com.amazonaws.ec2#CreateIpamExternalResourceVerificationTokenResult" +_iERVT = "ipamExternalResourceVerificationToken" +_CIERVT = "CreateIpamExternalResourceVerificationToken" +_Ri = "Rir" +_ripe = "ripe" +_apn = "apnic" +_ari = "arin" +_lac = "lacnic" +_nic = "nicbr" +_CIIRAI = "CreateIpamInternetRegistryAssociationInput" +_cCIIRAR = "com.amazonaws.ec2#CreateIpamInternetRegistryAssociationRequest" +_OHr = "OrganizationHandle" +_IIRAS = "IpamInternetRegistryAssociationState" +_pe_ = "pending_enable" +_pe__ = "pending-enable" +_eip___ = "enable_in_progress" +_eip____ = "enable-in-progress" +_ec = "enable_complete" +_ec_ = "enable-complete" +_ef__ = "enable_failed" +_ef___ = "enable-failed" +_dip___ = "disable_in_progress" +_dip____ = "disable-in-progress" +_dc___ = "disable_complete" +_dc____ = "disable-complete" +_df_____ = "disable_failed" +_df______ = "disable-failed" +_IIRA = "IpamInternetRegistryAssociation" +_iIRAI = "ipamInternetRegistryAssociationId" +_IIRAA = "IpamInternetRegistryAssociationArn" +_iIRAA = "ipamInternetRegistryAssociationArn" +_rir = "rir" +_oHr = "organizationHandle" +_CRX = "ChildRequestXml" +_cRX = "childRequestXml" +_CIIRAO = "CreateIpamInternetRegistryAssociationOutput" +_cCIIRARo = "com.amazonaws.ec2#CreateIpamInternetRegistryAssociationResult" +_iIRA = "ipamInternetRegistryAssociation" +_CIIRA = "CreateIpamInternetRegistryAssociation" + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, {_sN: _i}),)) + +TAG_FIELD_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _TFSR, + 0, + (_RT, _TKa), + ((lambda: schemas.TAGGABLE_RESOURCE_TYPE, 0), (TAG_KEY_LIST, {_sN: _TK})), +) + +TAG_FIELD_SPECIFICATION_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _TFSLR, + 0, + (_me,), + ((TAG_FIELD_SPECIFICATION_REQUEST, {_sN: _i}),), +) + +TRAFFIC_TYPE: StaticSchema = ( + 14, + n0, + _TTr, + 0, + (_ACCEPT, _REJECT, _ALL), + ((-1, {_sV: _ACCEPT}), (-1, {_sV: _REJECT}), (-1, {_sV: _ALL})), +) + +CREATE_FLOW_LOGS_INPUT: StaticSchema = ( + 18, + n0, + _CFLI, + {_sSI: _cCFLR, _sm: None}, + ( + _DR, + _CTl, + _DLPA, + _DCAR, + _LGN, + _RIes, + _RT, + _TTr, + _LDT, + _LD, + _LF, + _TSa, + _MAI, + _DOe, + _TFS, + ), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FLOW_LOG_RESOURCE_IDS, {_sN: _RIe, _smi: None}), + (lambda: schemas.FLOW_LOGS_RESOURCE_TYPE, 1), + (TRAFFIC_TYPE, 0), + (lambda: schemas.LOG_DESTINATION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.DESTINATION_OPTIONS_REQUEST, 0), + (TAG_FIELD_SPECIFICATION_LIST_REQUEST, {_sN: _TFSa}), + ), +) + +CREATE_FLOW_LOGS_OUTPUT: StaticSchema = ( + 18, + n0, + _CFLO, + {_sSI: _cCFLRo, _smit: None}, + (_CTl, _FLI, _Un), + ( + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _FLIS, _sN: _fLIS}), + (lambda: schemas.UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}), + ), +) + +CREATE_FLOW_LOGS: StaticOperationSchema = ( + 23, + n0, + _CFL, + 0, + CREATE_FLOW_LOGS_INPUT, + CREATE_FLOW_LOGS_OUTPUT, + (), +) + +STORAGE_LOCATION: StaticSchema = ( + 18, + n0, + _SLt, + 0, + (_Bu, _Ke), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CREATE_FPGA_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _CFIIr, + {_sSI: _cCFIRom, _sm: None}, + (_DR, _ISL, _LSL, _Des, _N, _CTl, _TSa), + ( + (lambda: schemas.BOOLEAN, 0), + (STORAGE_LOCATION, 1), + (STORAGE_LOCATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_FPGA_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _CFIOr, + {_sSI: _cCFIRoma, _smit: None}, + (_FII, _FIGI), + ( + (lambda: schemas.STRING, {_aQN: _FII, _sN: _fII}), + (lambda: schemas.STRING, {_aQN: _FIGI, _sN: _fIGI}), + ), +) + +CREATE_FPGA_IMAGE: StaticOperationSchema = ( + 23, + n0, + _CFIrea, + 0, + CREATE_FPGA_IMAGE_INPUT, + CREATE_FPGA_IMAGE_OUTPUT, + (), +) + +EBS_BLOCK_DEVICE: StaticSchema = ( + 18, + n0, + _EBD, + 0, + (_DOT, _Io, _SIn, _VSol, _VT, _KKI, _Th, _OA, _AZ, _En, _VIR, _AZI, _ECI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.INTEGER, {_aQN: _Io, _sN: _iop}), + (lambda: schemas.SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.INTEGER, {_aQN: _VSol, _sN: _vSo}), + (lambda: schemas.VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), + (lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}), + (lambda: schemas.INTEGER, {_aQN: _Th, _sN: _thr}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +BLOCK_DEVICE_MAPPING: StaticSchema = ( + 18, + n0, + _BDM, + 0, + (_Eb, _ND, _DNe, _VN), + ( + (EBS_BLOCK_DEVICE, {_aQN: _Eb, _sN: _eb}), + (lambda: schemas.STRING, {_aQN: _ND, _sN: _nD}), + (lambda: schemas.STRING, {_aQN: _DNe, _sN: _dNe}), + (lambda: schemas.STRING, {_aQN: _VN, _sN: _vN}), + ), +) + +BLOCK_DEVICE_MAPPING_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _BDMRLl, + 0, + (_me,), + ((BLOCK_DEVICE_MAPPING, {_sN: _BDM}),), +) + +BOOT_MODE_OVERRIDE_VALUES: StaticSchema = ( + 14, + n0, + _BMOV, + 0, + (_ue,), + ((-1, {_sV: _ue}),), +) + +CREATE_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _CIIr, + {_sSI: _cCIRom, _sm: None}, + (_TSa, _SLn, _BMO, _DR, _II, _N, _Des, _NR, _BDMl), + ( + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.SNAPSHOT_LOCATION_ENUM, 0), + (BOOT_MODE_OVERRIDE_VALUES, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), + (lambda: schemas.IMAGE_NAME_REQUEST, {_aQN: _N, _sN: _nam, _smi: None}), + (lambda: schemas.IMAGE_DESCRIPTION_REQUEST, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.BOOLEAN, {_aQN: _NR, _sN: _nR}), + (BLOCK_DEVICE_MAPPING_REQUEST_LIST, {_aQN: _BDM, _sN: _bDM}), + ), +) + +CREATE_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _CIOr, + {_sSI: _cCIRoma, _smit: None}, + (_IIm,), + ((lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}),), +) + +CREATE_IMAGE: StaticOperationSchema = ( + 23, + n0, + _CIr, + 0, + CREATE_IMAGE_INPUT, + CREATE_IMAGE_OUTPUT, + (), +) + +IMAGE_USAGE_REPORT_USER_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _IURUISL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _UIs}),), +) + +CREATE_IMAGE_USAGE_REPORT_CLIENT_TOKEN: StaticSchema = (3, n0, _CIURCT, 0) + +IMAGE_USAGE_RESOURCE_TYPE_NAME: StaticSchema = (3, n0, _IURTN, 0) + +IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUE: StaticSchema = (3, n0, _IURTOV, 0) + +IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUES_LIST: StaticSchema = ( + 16, + n0, + _IURTOVL, + 0, + (_me,), + ((IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUE, {_sN: _i}),), +) + +IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST: StaticSchema = ( + 18, + n0, + _IURTOR, + 0, + (_ON, _OV), + ( + (lambda: schemas.STRING, 0), + (IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUES_LIST, {_sN: _OVp}), + ), +) + +IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _IURTORL, + 0, + (_me,), + ((IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST, 0),), +) + +IMAGE_USAGE_RESOURCE_TYPE_REQUEST: StaticSchema = ( + 18, + n0, + _IURTR, + 0, + (_RT, _RTO), + ( + (IMAGE_USAGE_RESOURCE_TYPE_NAME, 0), + (IMAGE_USAGE_RESOURCE_TYPE_OPTION_REQUEST_LIST, {_sN: _RTOe}), + ), +) + +IMAGE_USAGE_RESOURCE_TYPE_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _IURTRL, + 0, + (_me,), + ((IMAGE_USAGE_RESOURCE_TYPE_REQUEST, 0),), +) + +CREATE_IMAGE_USAGE_REPORT_INPUT: StaticSchema = ( + 18, + n0, + _CIURI, + {_sSI: _cCIURR, _sm: None}, + (_IIm, _DR, _RTe, _AIcc, _CTl, _TSa), + ( + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (IMAGE_USAGE_RESOURCE_TYPE_REQUEST_LIST, {_sN: _RT, _smi: None}), + (IMAGE_USAGE_REPORT_USER_ID_STRING_LIST, {_sN: _AIcco}), + (CREATE_IMAGE_USAGE_REPORT_CLIENT_TOKEN, 2), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_IMAGE_USAGE_REPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _CIURO, + {_sSI: _cCIURRo, _smit: None}, + (_RIep,), + ((lambda: IMAGE_USAGE_REPORT_ID, {_aQN: _RIep, _sN: _rIe}),), +) + +CREATE_IMAGE_USAGE_REPORT: StaticOperationSchema = ( + 23, + n0, + _CIUR, + 0, + CREATE_IMAGE_USAGE_REPORT_INPUT, + CREATE_IMAGE_USAGE_REPORT_OUTPUT, + (), +) + +IMAGE_USAGE_REPORT_ID: StaticSchema = (3, n0, _IURI, 0) + +IP_ADDRESS_TYPE: StaticSchema = ( + 14, + n0, + _IAT, + 0, + (_ipv, _du, _ipv_), + ((-1, {_sV: _ipv}), (-1, {_sV: _du}), (-1, {_sV: _ipv_})), +) + +SECURITY_GROUP_ID_STRING_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _SGISLR, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_ID, {_sN: _SGI}),), +) + +CREATE_INSTANCE_CONNECT_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CICEI, + {_sSI: _cCICER, _sm: None}, + (_DR, _SIu, _SGIe, _PCI, _CTl, _TSa, _IAT), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SUBNET_ID, 1), + (SECURITY_GROUP_ID_STRING_LIST_REQUEST, {_sN: _SGI}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (IP_ADDRESS_TYPE, 0), + ), +) + +CREATE_INSTANCE_CONNECT_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CICEO, + {_sSI: _cCICERo, _smit: None}, + (_ICE, _CTl), + ( + (lambda: EC2_INSTANCE_CONNECT_ENDPOINT, {_aQN: _ICE, _sN: _iCE}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_INSTANCE_CONNECT_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CICE, + 0, + CREATE_INSTANCE_CONNECT_ENDPOINT_INPUT, + CREATE_INSTANCE_CONNECT_ENDPOINT_OUTPUT, + (), +) + +INSTANCE_CONNECT_ENDPOINT_ID: StaticSchema = (3, n0, _ICEI, 0) + +NETWORK_INTERFACE_ID_SET: StaticSchema = ( + 16, + n0, + _NIIS, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +INSTANCE_CONNECT_ENDPOINT_DNS_NAMES: StaticSchema = ( + 18, + n0, + _ICEDN, + 0, + (_DN, _FDN), + ( + (lambda: schemas.STRING, {_aQN: _DN, _sN: _dN}), + (lambda: schemas.STRING, {_aQN: _FDN, _sN: _fDN}), + ), +) + +INSTANCE_CONNECT_ENDPOINT_PUBLIC_DNS_NAMES: StaticSchema = ( + 18, + n0, + _ICEPDN, + 0, + (_Ip, _Du), + ( + (INSTANCE_CONNECT_ENDPOINT_DNS_NAMES, {_aQN: _Ip, _sN: _ipv}), + (INSTANCE_CONNECT_ENDPOINT_DNS_NAMES, {_aQN: _Du, _sN: _du}), + ), +) + +SECURITY_GROUP_ID_SET: StaticSchema = ( + 16, + n0, + _SGIS, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_ID, {_sN: _i}),), +) + +EC2_INSTANCE_CONNECT_ENDPOINT_STATE: StaticSchema = ( + 14, + n0, + _EICES, + 0, + (_cip, _cc_, _cf________________________, _dip_, _dc_, _df___, _uip, _uc, _uf), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + (-1, {_sV: _uip_}), + (-1, {_sV: _uc_}), + (-1, {_sV: _uf_}), + ), +) + +EC2_INSTANCE_CONNECT_ENDPOINT: StaticSchema = ( + 18, + n0, + _EICE, + 0, + ( + _OIw, + _ICEI, + _ICEA, + _St, + _SMta, + _DN, + _FDN, + _NIIe, + _VI, + _AZ, + _CAr, + _SIu, + _PCI, + _SGIe, + _Tag, + _IAT, + _PDN, + _AZI, + ), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (INSTANCE_CONNECT_ENDPOINT_ID, {_aQN: _ICEI, _sN: _iCEI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _ICEA, _sN: _iCEA}), + (EC2_INSTANCE_CONNECT_ENDPOINT_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + (lambda: schemas.STRING, {_aQN: _DN, _sN: _dN}), + (lambda: schemas.STRING, {_aQN: _FDN, _sN: _fDN}), + (NETWORK_INTERFACE_ID_SET, {_aQN: _NIIS, _sN: _nIIS}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CAr, _sN: _cAr}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.BOOLEAN, {_aQN: _PCI, _sN: _pCI}), + (SECURITY_GROUP_ID_SET, {_aQN: _SGIS, _sN: _sGIS}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (IP_ADDRESS_TYPE, {_aQN: _IAT, _sN: _iAT}), + (INSTANCE_CONNECT_ENDPOINT_PUBLIC_DNS_NAMES, {_aQN: _PDN, _sN: _pDN}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + ), +) + +INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST: StaticSchema = ( + 18, + n0, + _IEWTRR, + 0, + (_SWD, _SH, _EWD, _EH), + ( + (lambda: schemas.WEEK_DAY, 0), + (lambda: schemas.HOUR, 0), + (lambda: schemas.WEEK_DAY, 0), + (lambda: schemas.HOUR, 0), + ), +) + +INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST_SET: StaticSchema = ( + 16, + n0, + _IEWTRRS, + 0, + (_me,), + ((INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST, 0),), +) + +CREATE_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( + 18, + n0, + _CIEWI, + {_sSI: _cCIEWR, _sm: None}, + (_DR, _N, _TRi, _CE, _TSa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST_SET, {_sN: _TRim}), + (lambda: schemas.INSTANCE_EVENT_WINDOW_CRON_EXPRESSION, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( + 18, + n0, + _CIEWO, + {_sSI: _cCIEWRo, _smit: None}, + (_IEW,), + ((lambda: schemas.INSTANCE_EVENT_WINDOW, {_aQN: _IEW, _sN: _iEW}),), +) + +CREATE_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( + 23, + n0, + _CIEW, + 0, + CREATE_INSTANCE_EVENT_WINDOW_INPUT, + CREATE_INSTANCE_EVENT_WINDOW_OUTPUT, + (), +) + +CONTAINER_FORMAT: StaticSchema = (14, n0, _CFo, 0, (_ova,), ((-1, {_sV: _ova}),)) + +EXPORT_TO_S3_TASK_SPECIFICATION: StaticSchema = ( + 18, + n0, + _ETSTS, + 0, + (_DIF, _CFo, _SBu, _SPr), + ( + (lambda: schemas.DISK_IMAGE_FORMAT, {_aQN: _DIF, _sN: _dIF}), + (CONTAINER_FORMAT, {_aQN: _CFo, _sN: _cF}), + (lambda: schemas.STRING, {_aQN: _SBu, _sN: _sB}), + (lambda: schemas.STRING, {_aQN: _SPr, _sN: _sP}), + ), +) + +EXPORT_ENVIRONMENT: StaticSchema = ( + 14, + n0, + _EE, + 0, + (_cit, _vm, _mic), + ((-1, {_sV: _cit}), (-1, {_sV: _vm}), (-1, {_sV: _mic})), +) + +CREATE_INSTANCE_EXPORT_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CIETI, + {_sSI: _cCIETR, _sm: None}, + (_TSa, _Des, _II, _TEa, _ETST), + ( + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), + (EXPORT_ENVIRONMENT, {_aQN: _TEa, _sN: _tEa, _smi: None}), + (EXPORT_TO_S3_TASK_SPECIFICATION, {_aQN: _ETS, _sN: _eTS, _smi: None}), + ), +) + +CREATE_INSTANCE_EXPORT_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CIETO, + {_sSI: _cCIETRo, _smit: None}, + (_ETx,), + ((lambda: EXPORT_TASK, {_aQN: _ETx, _sN: _eTx}),), +) + +CREATE_INSTANCE_EXPORT_TASK: StaticOperationSchema = ( + 23, + n0, + _CIET, + 0, + CREATE_INSTANCE_EXPORT_TASK_INPUT, + CREATE_INSTANCE_EXPORT_TASK_OUTPUT, + (), +) + +EXPORT_TO_S3_TASK: StaticSchema = ( + 18, + n0, + _ETST, + 0, + (_CFo, _DIF, _SBu, _SK), + ( + (CONTAINER_FORMAT, {_aQN: _CFo, _sN: _cF}), + (lambda: schemas.DISK_IMAGE_FORMAT, {_aQN: _DIF, _sN: _dIF}), + (lambda: schemas.STRING, {_aQN: _SBu, _sN: _sB}), + (lambda: schemas.STRING, {_aQN: _SK, _sN: _sK}), + ), +) + +INSTANCE_EXPORT_DETAILS: StaticSchema = ( + 18, + n0, + _IED, + 0, + (_II, _TEa), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (EXPORT_ENVIRONMENT, {_aQN: _TEa, _sN: _tEa}), + ), +) + +EXPORT_TASK_STATE: StaticSchema = ( + 14, + n0, + _ETSx, + 0, + (_act, _ca, _can, _compl), + ((-1, {_sV: _act}), (-1, {_sV: _ca}), (-1, {_sV: _can}), (-1, {_sV: _compl})), +) + +EXPORT_TASK: StaticSchema = ( + 18, + n0, + _ETx, + 0, + (_Des, _ETI, _ETST, _IED, _St, _SMt, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _ETI, _sN: _eTI}), + (EXPORT_TO_S3_TASK, {_aQN: _ETS, _sN: _eTS}), + (INSTANCE_EXPORT_DETAILS, {_aQN: _IEn, _sN: _iEn}), + (EXPORT_TASK_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_INTERNET_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _CIGI, + {_sSI: _cCIGR, _sm: None}, + (_TSa, _DR), + ( + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_INTERNET_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _CIGO, + {_sSI: _cCIGRo, _smit: None}, + (_IG,), + ((lambda: schemas.INTERNET_GATEWAY, {_aQN: _IG, _sN: _iG}),), +) + +CREATE_INTERNET_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _CIG, + 0, + CREATE_INTERNET_GATEWAY_INPUT, + CREATE_INTERNET_GATEWAY_OUTPUT, + (), +) + +CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT: StaticSchema = ( + 18, + n0, + _CICRAI, + {_sSI: _cCICRAR, _sm: None}, + (_CRI, _IC, _CTl, _DR, _TSa, _ZSP), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.ZERO_SIZE_PREFERENCE, 0), + ), +) + +CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CICRAO, + {_sSI: _cCICRARo, _smit: None}, + (_SCRI, _TIC, _Sta, _ITnt), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, {_aQN: _SCRI, _sN: _sCRI}), + (lambda: schemas.INTEGER, {_aQN: _TIC, _sN: _tIC}), + ( + lambda: schemas.INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_STATUS, + {_aQN: _Sta, _sN: _sta}, + ), + (lambda: schemas.INTERRUPTION_TYPE, {_aQN: _ITnt, _sN: _iTn}), + ), +) + +CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION: StaticOperationSchema = ( + 23, + n0, + _CICRA, + 0, + CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT, + CREATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT, + (), +) + +IPAM_METERED_ACCOUNT: StaticSchema = ( + 14, + n0, + _IMA, + 0, + (_io__, _ro), + ((-1, {_sV: _io___}), (-1, {_sV: _ro_})), +) + +IPAM_TIER: StaticSchema = ( + 14, + n0, + _ITp, + 0, + (_fre, _adva), + ((-1, {_sV: _fre}), (-1, {_sV: _adva})), +) + +CREATE_IPAM_INPUT: StaticSchema = ( + 18, + n0, + _CIIre, + {_sSI: _cCIRomam, _sm: None}, + (_DR, _Des, _ORp, _TSa, _CTl, _Tie, _EPG, _MAe), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADD_IPAM_OPERATING_REGION_SET, {_sN: _ORpe}), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (IPAM_TIER, 0), + (lambda: schemas.BOOLEAN, 0), + (IPAM_METERED_ACCOUNT, 0), + ), +) + +CREATE_IPAM_OUTPUT: StaticSchema = ( + 18, + n0, + _CIOre, + {_sSI: _cCIRomama, _smit: None}, + (_Ipa,), + ((lambda: IPAM, {_aQN: _Ipa, _sN: _ip}),), +) + +CREATE_IPAM: StaticOperationSchema = ( + 23, + n0, + _CIre, + 0, + CREATE_IPAM_INPUT, + CREATE_IPAM_OUTPUT, + (), +) + +IPAM_OPERATING_REGION: StaticSchema = ( + 18, + n0, + _IOR, + 0, + (_RNe,), + ((lambda: schemas.STRING, {_aQN: _RNe, _sN: _rNe}),), +) + +IPAM_OPERATING_REGION_SET: StaticSchema = ( + 16, + n0, + _IORS, + 0, + (_me,), + ((IPAM_OPERATING_REGION, {_sN: _i}),), +) + +IPAM_STATE: StaticSchema = ( + 14, + n0, + _ISpa, + 0, + ( + _cip, + _cc_, + _cf________________________, + _mip__, + _mc, + _mf__________________________, + _dip_, + _dc_, + _df___, + _iip_, + _ic_, + _rip_, + ), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _mip___}), + (-1, {_sV: _mc_}), + (-1, {_sV: _mf___________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + (-1, {_sV: _iip}), + (-1, {_sV: _ic}), + (-1, {_sV: _rip}), + ), +) + +IPAM: StaticSchema = ( + 18, + n0, + _Ipa, + 0, + ( + _OIw, + _IIp, + _IApa, + _IR, + _PDSI, + _PDSIr, + _SCc, + _Des, + _ORp, + _St, + _Tag, + _DRDI, + _DRDAI, + _RDAC, + _SMta, + _Tie, + _EPG, + _MAe, + ), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.IPAM_ID, {_aQN: _IIp, _sN: _iIp}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), + (lambda: schemas.STRING, {_aQN: _IR, _sN: _iRp}), + (lambda: schemas.IPAM_SCOPE_ID, {_aQN: _PDSI, _sN: _pDSI}), + (lambda: schemas.IPAM_SCOPE_ID, {_aQN: _PDSIr, _sN: _pDSIr}), + (lambda: schemas.INTEGER, {_aQN: _SCc, _sN: _sCc}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (IPAM_OPERATING_REGION_SET, {_aQN: _ORS, _sN: _oRS}), + (IPAM_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _DRDI, _sN: _dRDI}), + ( + lambda: schemas.IPAM_RESOURCE_DISCOVERY_ASSOCIATION_ID, + {_aQN: _DRDAI, _sN: _dRDAI}, + ), + (lambda: schemas.INTEGER, {_aQN: _RDAC, _sN: _rDAC}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + (IPAM_TIER, {_aQN: _Tie, _sN: _tie}), + (lambda: schemas.BOOLEAN, {_aQN: _EPG, _sN: _ePG}), + (IPAM_METERED_ACCOUNT, {_aQN: _MAe, _sN: _mA}), + ), +) + +CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _CIERVTI, + {_sSI: _cCIERVTR, _sm: None}, + (_DR, _IIp, _TSa, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _CIERVTO, + {_sSI: _cCIERVTRo, _smit: None}, + (_IERVT,), + ((lambda: IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN, {_aQN: _IERVT, _sN: _iERVT}),), +) + +CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN: StaticOperationSchema = ( + 23, + n0, + _CIERVT, + 0, + CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT, + CREATE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT, + (), +) + +IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_ID: StaticSchema = (3, n0, _IERVTI, 0) + +IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_STATE: StaticSchema = ( + 14, + n0, + _IERVTS, + 0, + (_CIP, _CC_, _CF_, _DIP_, _DC__, _DF_), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + ), +) + +TOKEN_STATE: StaticSchema = ( + 14, + n0, + _TSo, + 0, + (_val, _ex), + ((-1, {_sV: _val}), (-1, {_sV: _ex})), +) + +IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN: StaticSchema = ( + 18, + n0, + _IERVT, + 0, + (_IERVTI, _IERVTA, _IIp, _IApa, _IR, _TV, _TN, _NA, _Sta, _Tag, _St), + ( + (IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_ID, {_aQN: _IERVTI, _sN: _iERVTI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IERVTA, _sN: _iERVTA}), + (lambda: schemas.IPAM_ID, {_aQN: _IIp, _sN: _iIp}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), + (lambda: schemas.STRING, {_aQN: _IR, _sN: _iRp}), + (lambda: schemas.STRING, {_aQN: _TV, _sN: _tV}), + (lambda: schemas.STRING, {_aQN: _TN, _sN: _tN}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _NA, _sN: _nA}), + (TOKEN_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_STATE, {_aQN: _St, _sN: _st}), + ), +) + +RIR: StaticSchema = ( + 14, + n0, + _Ri, + 0, + (_ripe, _apn, _ari, _lac, _nic), + ( + (-1, {_sV: _ripe}), + (-1, {_sV: _apn}), + (-1, {_sV: _ari}), + (-1, {_sV: _lac}), + (-1, {_sV: _nic}), + ), +) + +CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _CIIRAI, + {_sSI: _cCIIRAR, _sm: None}, + (_DR, _IIp, _Ri, _OHr, _Des, _TSa, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (RIR, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CIIRAO, + {_sSI: _cCIIRARo, _smit: None}, + (_IIRA,), + ((lambda: IPAM_INTERNET_REGISTRY_ASSOCIATION, {_aQN: _IIRA, _sN: _iIRA}),), +) + +CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _CIIRA, + 0, + CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT, + CREATE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT, + (), +) + +IPAM_INTERNET_REGISTRY_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _IIRAS, + 0, + ( + _pe_, + _cip, + _cf________________________, + _eip___, + _ec, + _ef__, + _dip___, + _dc___, + _df_____, + _dip_, + _dc_, + _df___, + ), + ( + (-1, {_sV: _pe__}), + (-1, {_sV: _cip_}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _eip____}), + (-1, {_sV: _ec_}), + (-1, {_sV: _ef___}), + (-1, {_sV: _dip____}), + (-1, {_sV: _dc____}), + (-1, {_sV: _df______}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + ), +) + +IPAM_INTERNET_REGISTRY_ASSOCIATION: StaticSchema = ( + 18, + n0, + _IIRA, + 0, + (_OIw, _IIRAI, _IIRAA, _IIp, _IR, _Ri, _OHr, _Des, _St, _SMta, _CRX, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + ( + lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, + {_aQN: _IIRAI, _sN: _iIRAI}, + ), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IIRAA, _sN: _iIRAA}), + (lambda: schemas.IPAM_ID, {_aQN: _IIp, _sN: _iIp}), + (lambda: schemas.STRING, {_aQN: _IR, _sN: _iRp}), + (RIR, {_aQN: _Ri, _sN: _rir}), + (lambda: schemas.STRING, {_aQN: _OHr, _sN: _oHr}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (IPAM_INTERNET_REGISTRY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + (lambda: schemas.STRING, {_aQN: _CRX, _sN: _cRX}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_11.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_11.py new file mode 100644 index 000000000..26a361888 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_11.py @@ -0,0 +1,1456 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_su = "subnet" +_vp = "vpc" +_Ke = "Key" +_ke = "key" +_Va = "Value" +_va = "value" +_TS = "TagSpecification" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_St = "State" +_st = "state" +_RIe = "ResourceId" +_rI = "resourceId" +_OIw = "OwnerId" +_oI = "ownerId" +_TSag = "TagSet" +_tS = "tagSet" +_dRr = "dryRun" +_Ci = "Cidr" +_PLI = "PrefixListId" +_pLI = "prefixListId" +_ena = "enabled" +_OEP = "OrganizationsEntityPath" +_Des = "Description" +_AF = "AddressFamily" +_Asn = "Asn" +_IPI = "IpamPoolId" +_desc = "description" +_iPI = "ipamPoolId" +_ASS = "AmdSevSnp" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_eip = "eip" +_ail = "anycast_ip_list" +_ail_ = "anycast-ip-list" +_RR = "ResourceRegion" +_rR = "resourceRegion" +_ROe = "ResourceOwner" +_rOe = "resourceOwner" +_IIp = "IpamId" +_IRDI = "IpamResourceDiscoveryId" +_IIP_ = "ISOLATE_IN_PROGRESS" +_iip = "isolate-in-progress" +_IC_ = "ISOLATE_COMPLETE" +_ic = "isolate-complete" +_RIP = "RESTORE_IN_PROGRESS" +_rip = "restore-in-progress" +_iRDI = "ipamResourceDiscoveryId" +_iIp = "ipamId" +_IApa = "IpamArn" +_iAp = "ipamArn" +_IR = "IpamRegion" +_iRp = "ipamRegion" +_ID = "IsDefault" +_iD = "isDefault" +_ama = "amazon" +_b = "byoip" +_no = "none" +_pu = "public" +_priv = "private" +_ECI = "EbsCardIndex" +_DOT = "DeleteOnTermination" +_IIRAI = "IpamInternetRegistryAssociationId" +_Fo = "Force" +_IRPRD = "IpamRoutingPolicyRegistrationDelta" +_SMta = "StateMessage" +_sMta = "stateMessage" +_iRPRD = "ipamRoutingPolicyRegistrationDelta" +_op = "open" +_KKI = "KmsKeyId" +_En = "Encrypted" +_SIn = "SnapshotId" +_VT = "VolumeType" +_Io = "Iops" +_Th = "Throughput" +_VIR = "VolumeInitializationRate" +_Ty = "Type" +_DNe = "DeviceName" +_ty = "type" +_df___ = "delete_failed" +_df____ = "delete-failed" +_VSol = "VolumeSize" +_VN = "VirtualName" +_Eb = "Ebs" +_ND = "NoDevice" +_BDM = "BlockDeviceMapping" +_KN = "KeyName" +_CRRGAa = "CapacityReservationResourceGroupArn" +_CRTap = "CapacityReservationTarget" +_cip = "create_in_progress" +_cip_ = "create-in-progress" +_cc_ = "create_complete" +_cc__ = "create-complete" +_cf________________________ = "create_failed" +_cf_________________________ = "create-failed" +_dip_ = "delete_in_progress" +_dip__ = "delete-in-progress" +_dc_ = "delete_complete" +_dc__ = "delete-complete" +_ORp = "OperatingRegions" +_ORpe = "OperatingRegion" +_ISI = "IpamScopeId" +_mip__ = "modify_in_progress" +_mip___ = "modify-in-progress" +_mc = "modify_complete" +_mc_ = "modify-complete" +_mf__________________________ = "modify_failed" +_mf___________________________ = "modify-failed" +_iip_ = "isolate_in_progress" +_ic_ = "isolate_complete" +_rip_ = "restore_in_progress" +_ORS = "OperatingRegionSet" +_oRS = "operatingRegionSet" +_CIP = "CREATE_IN_PROGRESS" +_CC_ = "CREATE_COMPLETE" +_CF_ = "CREATE_FAILED" +_DIP_ = "DELETE_IN_PROGRESS" +_DC__ = "DELETE_COMPLETE" +_DF_ = "DELETE_FAILED" +_CIPI = "CreateIpamPolicyInput" +_cCIPR = "com.amazonaws.ec2#CreateIpamPolicyRequest" +_IPIp = "IpamPolicyId" +_IPSp = "IpamPolicyState" +_IPpa = "IpamPolicy" +_iPIp = "ipamPolicyId" +_IPAp = "IpamPolicyArn" +_iPAp = "ipamPolicyArn" +_IPR = "IpamPolicyRegion" +_iPR = "ipamPolicyRegion" +_CIPO = "CreateIpamPolicyOutput" +_cCIPRo = "com.amazonaws.ec2#CreateIpamPolicyResult" +_iPpa = "ipamPolicy" +_CIPr = "CreateIpamPolicy" +_INLpa = "IpamNetmaskLength" +_RIRT = "RequestIpamResourceTag" +_RIRTL = "RequestIpamResourceTagList" +_IPAS = "IpamPoolAwsService" +_ec__ = "ec2" +_gs_ = "global_services" +_gs__ = "global-services" +_IPPIS = "IpamPoolPublicIpSource" +_IPSRT = "IpamPoolSourceResourceType" +_IPSRR = "IpamPoolSourceResourceRequest" +_CIPIr = "CreateIpamPoolInput" +_cCIPRom = "com.amazonaws.ec2#CreateIpamPoolRequest" +_Loc = "Locale" +_SIPI = "SourceIpamPoolId" +_AIu = "AutoImport" +_PAu = "PubliclyAdvertisable" +_AMNL = "AllocationMinNetmaskLength" +_AMNLl = "AllocationMaxNetmaskLength" +_ADNL = "AllocationDefaultNetmaskLength" +_ARTl = "AllocationResourceTags" +_ARTll = "AllocationResourceTag" +_ASw = "AwsService" +_PIS = "PublicIpSource" +_SRou = "SourceResource" +_IRTp = "IpamResourceTag" +_IRTL = "IpamResourceTagList" +_IST = "IpamScopeType" +_IPSR = "IpamPoolSourceResource" +_IPSpa = "IpamPoolState" +_IPpam = "IpamPool" +_sIPI = "sourceIpamPoolId" +_IPApa = "IpamPoolArn" +_iPApa = "ipamPoolArn" +_ISA = "IpamScopeArn" +_iSA = "ipamScopeArn" +_iST = "ipamScopeType" +_loc = "locale" +_PD = "PoolDepth" +_pD = "poolDepth" +_aIu = "autoImport" +_pAu = "publiclyAdvertisable" +_aF = "addressFamily" +_aMNL = "allocationMinNetmaskLength" +_aMNLl = "allocationMaxNetmaskLength" +_aDNL = "allocationDefaultNetmaskLength" +_ARTS = "AllocationResourceTagSet" +_aRTS = "allocationResourceTagSet" +_aSw = "awsService" +_pIS = "publicIpSource" +_sR = "sourceResource" +_CIPOr = "CreateIpamPoolOutput" +_cCIPRoma = "com.amazonaws.ec2#CreateIpamPoolResult" +_iPpam = "ipamPool" +_CIPre = "CreateIpamPool" +_IPLRRCO = "IpamPrefixListResolverRuleConditionOperation" +_eq = "equals" +_ne = "not_equals" +_ne_ = "not-equals" +_so_ = "subnet_of" +_so__ = "subnet-of" +_IPLRRCR = "IpamPrefixListResolverRuleConditionRequest" +_Ope = "Operation" +_RTeso = "ResourceTag" +_IPLRRCRS = "IpamPrefixListResolverRuleConditionRequestSet" +_Cond = "Condition" +_IRTpa = "IpamResourceType" +_pip = "public_ipv4_pool" +_pip_ = "public-ipv4-pool" +_ip______ = "ipv6_pool" +_ip_______ = "ipv6-pool" +_eni = "eni" +_IPLRRT = "IpamPrefixListResolverRuleType" +_sc__ = "static_cidr" +_sc___ = "static-cidr" +_irc = "ipam_resource_cidr" +_irc_ = "ipam-resource-cidr" +_ipc = "ipam_pool_cidr" +_ipc_ = "ipam-pool-cidr" +_IPLRRR = "IpamPrefixListResolverRuleRequest" +_RTu = "RuleType" +_SCt = "StaticCidr" +_Condi = "Conditions" +_IPLRRRS = "IpamPrefixListResolverRuleRequestSet" +_Ru = "Rule" +_CIPLRI = "CreateIpamPrefixListResolverInput" +_cCIPLRR = "com.amazonaws.ec2#CreateIpamPrefixListResolverRequest" +_Rul = "Rules" +_IPLRI = "IpamPrefixListResolverId" +_IPLRVCS = "IpamPrefixListResolverVersionCreationStatus" +_succe = "success" +_fail = "failure" +_IPLRS = "IpamPrefixListResolverState" +_IPLR = "IpamPrefixListResolver" +_iPLRI = "ipamPrefixListResolverId" +_IPLRA = "IpamPrefixListResolverArn" +_iPLRA = "ipamPrefixListResolverArn" +_LVCS = "LastVersionCreationStatus" +_lVCS = "lastVersionCreationStatus" +_LVCSM = "LastVersionCreationStatusMessage" +_lVCSM = "lastVersionCreationStatusMessage" +_CIPLRO = "CreateIpamPrefixListResolverOutput" +_cCIPLRRo = "com.amazonaws.ec2#CreateIpamPrefixListResolverResult" +_iPLR = "ipamPrefixListResolver" +_CIPLR = "CreateIpamPrefixListResolver" +_CIPLRTI = "CreateIpamPrefixListResolverTargetInput" +_cCIPLRTR = "com.amazonaws.ec2#CreateIpamPrefixListResolverTargetRequest" +_PLR = "PrefixListRegion" +_DVe = "DesiredVersion" +_TLV = "TrackLatestVersion" +_IPLRTI = "IpamPrefixListResolverTargetId" +_IPLRTS = "IpamPrefixListResolverTargetState" +_sip = "sync_in_progress" +_sip_ = "sync-in-progress" +_sc____ = "sync_complete" +_sc_____ = "sync-complete" +_sf = "sync_failed" +_sf_ = "sync-failed" +_IPLRT = "IpamPrefixListResolverTarget" +_iPLRTI = "ipamPrefixListResolverTargetId" +_IPLRTA = "IpamPrefixListResolverTargetArn" +_iPLRTA = "ipamPrefixListResolverTargetArn" +_pLR = "prefixListRegion" +_dVe = "desiredVersion" +_LSV = "LastSyncedVersion" +_lSV = "lastSyncedVersion" +_tLV = "trackLatestVersion" +_CIPLRTO = "CreateIpamPrefixListResolverTargetOutput" +_cCIPLRTRo = "com.amazonaws.ec2#CreateIpamPrefixListResolverTargetResult" +_iPLRT = "ipamPrefixListResolverTarget" +_CIPLRT = "CreateIpamPrefixListResolverTarget" +_CIRDI = "CreateIpamResourceDiscoveryInput" +_cCIRDR = "com.amazonaws.ec2#CreateIpamResourceDiscoveryRequest" +_IOUE = "IpamOrganizationalUnitExclusion" +_oEP = "organizationsEntityPath" +_IOUES = "IpamOrganizationalUnitExclusionSet" +_IRDS = "IpamResourceDiscoveryState" +_MIP = "MODIFY_IN_PROGRESS" +_MC_ = "MODIFY_COMPLETE" +_MF = "MODIFY_FAILED" +_IRD = "IpamResourceDiscovery" +_IRDAp = "IpamResourceDiscoveryArn" +_iRDAp = "ipamResourceDiscoveryArn" +_IRDR = "IpamResourceDiscoveryRegion" +_iRDR = "ipamResourceDiscoveryRegion" +_OUE = "OrganizationalUnitExclusions" +_OUES = "OrganizationalUnitExclusionSet" +_oUES = "organizationalUnitExclusionSet" +_CIRDO = "CreateIpamResourceDiscoveryOutput" +_cCIRDRo = "com.amazonaws.ec2#CreateIpamResourceDiscoveryResult" +_iRD = "ipamResourceDiscovery" +_CIRD = "CreateIpamResourceDiscovery" +_ALs = "AsnList" +_IRPRML = "IpamRoutingPolicyRegistrationMaxLength" +_CIRPRI = "CreateIpamRoutingPolicyRegistrationInput" +_cCIRPRR = "com.amazonaws.ec2#CreateIpamRoutingPolicyRegistrationRequest" +_Asns = "Asns" +_PMSA = "PermitMoreSpecificAnnouncements" +_ML = "MaxLength" +_CIRPRO = "CreateIpamRoutingPolicyRegistrationOutput" +_cCIRPRRo = "com.amazonaws.ec2#CreateIpamRoutingPolicyRegistrationResult" +_CIRPR = "CreateIpamRoutingPolicyRegistration" +_ISEAT = "IpamScopeExternalAuthorityType" +_info = "infoblox" +_EAC = "ExternalAuthorityConfiguration" +_ERI = "ExternalResourceIdentifier" +_CISI = "CreateIpamScopeInput" +_cCISR = "com.amazonaws.ec2#CreateIpamScopeRequest" +_ISEAC = "IpamScopeExternalAuthorityConfiguration" +_eRI = "externalResourceIdentifier" +_ISS = "IpamScopeState" +_ISpam = "IpamScope" +_iSI = "ipamScopeId" +_PCoo = "PoolCount" +_pC = "poolCount" +_eAC = "externalAuthorityConfiguration" +_CISO = "CreateIpamScopeOutput" +_cCISRo = "com.amazonaws.ec2#CreateIpamScopeResult" +_iSpa = "ipamScope" +_CIS = "CreateIpamScope" +_KF = "KeyFormat" +_pem = "pem" +_ppk = "ppk" +_KT = "KeyType" +_rsa = "rsa" +_ed = "ed25519" +_CKPI = "CreateKeyPairInput" +_cCKPR = "com.amazonaws.ec2#CreateKeyPairRequest" +_CKPO = "CreateKeyPairOutput" +_cKP = "com.amazonaws.ec2#KeyPair" +_KPI = "KeyPairId" +_kPI = "keyPairId" +_kN = "keyName" +_KFe = "KeyFingerprint" +_kF = "keyFingerprint" +_KM = "KeyMaterial" +_kM = "keyMaterial" +_CKP = "CreateKeyPair" +_LTEBDR = "LaunchTemplateEbsBlockDeviceRequest" +_LTBDMR = "LaunchTemplateBlockDeviceMappingRequest" +_LTBDMRL = "LaunchTemplateBlockDeviceMappingRequestList" +_CRP = "CapacityReservationPreference" +_cro_ = "capacity_reservations_only" +_cro__ = "capacity-reservations-only" +_LTCRSR = "LaunchTemplateCapacityReservationSpecificationRequest" +_ASSS = "AmdSevSnpSpecification" +_NVS = "NestedVirtualizationSpecification" +_LTCOR = "LaunchTemplateCpuOptionsRequest" +_CCor = "CoreCount" +_TPC = "ThreadsPerCore" +_NV = "NestedVirtualization" +_CSR = "CreditSpecificationRequest" +_CCp = "CpuCredits" +_CRSa = "CapacityReservationSpecification" + +CREATE_IPAM_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _CIPI, + {_sSI: _cCIPR, _sm: None}, + (_DR, _TSa, _CTl, _IIp), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (lambda: schemas.IPAM_ID, 1), + ), +) + +CREATE_IPAM_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _CIPO, + {_sSI: _cCIPRo, _smit: None}, + (_IPpa,), + ((lambda: IPAM_POLICY, {_aQN: _IPpa, _sN: _iPpa}),), +) + +CREATE_IPAM_POLICY: StaticOperationSchema = ( + 23, + n0, + _CIPr, + 0, + CREATE_IPAM_POLICY_INPUT, + CREATE_IPAM_POLICY_OUTPUT, + (), +) + +IPAM_POLICY_STATE: StaticSchema = ( + 14, + n0, + _IPSp, + 0, + ( + _cip, + _cc_, + _cf________________________, + _mip__, + _mc, + _mf__________________________, + _dip_, + _dc_, + _df___, + _iip_, + _ic_, + _rip_, + ), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _mip___}), + (-1, {_sV: _mc_}), + (-1, {_sV: _mf___________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + (-1, {_sV: _iip}), + (-1, {_sV: _ic}), + (-1, {_sV: _rip}), + ), +) + +IPAM_POLICY: StaticSchema = ( + 18, + n0, + _IPpa, + 0, + (_OIw, _IPIp, _IPAp, _IPR, _St, _SMta, _Tag, _IIp), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.IPAM_POLICY_ID, {_aQN: _IPIp, _sN: _iPIp}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IPAp, _sN: _iPAp}), + (lambda: schemas.STRING, {_aQN: _IPR, _sN: _iPR}), + (IPAM_POLICY_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.IPAM_ID, {_aQN: _IIp, _sN: _iIp}), + ), +) + +IPAM_NETMASK_LENGTH: StaticSchema = (7, n0, _INLpa, 0) + +REQUEST_IPAM_RESOURCE_TAG: StaticSchema = ( + 18, + n0, + _RIRT, + 0, + (_Ke, _Va), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +REQUEST_IPAM_RESOURCE_TAG_LIST: StaticSchema = ( + 16, + n0, + _RIRTL, + 0, + (_me,), + ((REQUEST_IPAM_RESOURCE_TAG, {_sN: _i}),), +) + +IPAM_POOL_AWS_SERVICE: StaticSchema = ( + 14, + n0, + _IPAS, + 0, + (_ec__, _gs_), + ((-1, {_sV: _ec__}), (-1, {_sV: _gs__})), +) + +IPAM_POOL_PUBLIC_IP_SOURCE: StaticSchema = ( + 14, + n0, + _IPPIS, + 0, + (_ama, _b), + ((-1, {_sV: _ama}), (-1, {_sV: _b})), +) + +IPAM_POOL_SOURCE_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _IPSRT, + 0, + (_vp,), + ((-1, {_sV: _vp}),), +) + +IPAM_POOL_SOURCE_RESOURCE_REQUEST: StaticSchema = ( + 18, + n0, + _IPSRR, + 0, + (_RIe, _RT, _RR, _ROe), + ( + (lambda: schemas.STRING, 0), + (IPAM_POOL_SOURCE_RESOURCE_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_IPAM_POOL_INPUT: StaticSchema = ( + 18, + n0, + _CIPIr, + {_sSI: _cCIPRom, _sm: None}, + ( + _DR, + _ISI, + _Loc, + _SIPI, + _Des, + _AF, + _AIu, + _PAu, + _AMNL, + _AMNLl, + _ADNL, + _ARTl, + _TSa, + _CTl, + _ASw, + _PIS, + _SRou, + ), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_SCOPE_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPAM_POOL_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADDRESS_FAMILY, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (IPAM_NETMASK_LENGTH, 0), + (IPAM_NETMASK_LENGTH, 0), + (IPAM_NETMASK_LENGTH, 0), + (REQUEST_IPAM_RESOURCE_TAG_LIST, {_sN: _ARTll}), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (IPAM_POOL_AWS_SERVICE, 0), + (IPAM_POOL_PUBLIC_IP_SOURCE, 0), + (IPAM_POOL_SOURCE_RESOURCE_REQUEST, 0), + ), +) + +CREATE_IPAM_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _CIPOr, + {_sSI: _cCIPRoma, _smit: None}, + (_IPpam,), + ((lambda: IPAM_POOL, {_aQN: _IPpam, _sN: _iPpam}),), +) + +CREATE_IPAM_POOL: StaticOperationSchema = ( + 23, + n0, + _CIPre, + 0, + CREATE_IPAM_POOL_INPUT, + CREATE_IPAM_POOL_OUTPUT, + (), +) + +IPAM_RESOURCE_TAG: StaticSchema = ( + 18, + n0, + _IRTp, + 0, + (_Ke, _Va), + ( + (lambda: schemas.STRING, {_aQN: _Ke, _sN: _ke}), + (lambda: schemas.STRING, {_aQN: _Va, _sN: _va}), + ), +) + +IPAM_RESOURCE_TAG_LIST: StaticSchema = ( + 16, + n0, + _IRTL, + 0, + (_me,), + ((IPAM_RESOURCE_TAG, {_sN: _i}),), +) + +IPAM_SCOPE_TYPE: StaticSchema = ( + 14, + n0, + _IST, + 0, + (_pu, _priv), + ((-1, {_sV: _pu}), (-1, {_sV: _priv})), +) + +IPAM_POOL_SOURCE_RESOURCE: StaticSchema = ( + 18, + n0, + _IPSR, + 0, + (_RIe, _RT, _RR, _ROe), + ( + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (IPAM_POOL_SOURCE_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.STRING, {_aQN: _RR, _sN: _rR}), + (lambda: schemas.STRING, {_aQN: _ROe, _sN: _rOe}), + ), +) + +IPAM_POOL_STATE: StaticSchema = ( + 14, + n0, + _IPSpa, + 0, + ( + _cip, + _cc_, + _cf________________________, + _mip__, + _mc, + _mf__________________________, + _dip_, + _dc_, + _df___, + _iip_, + _ic_, + _rip_, + ), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _mip___}), + (-1, {_sV: _mc_}), + (-1, {_sV: _mf___________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + (-1, {_sV: _iip}), + (-1, {_sV: _ic}), + (-1, {_sV: _rip}), + ), +) + +IPAM_POOL: StaticSchema = ( + 18, + n0, + _IPpam, + 0, + ( + _OIw, + _IPI, + _SIPI, + _IPApa, + _ISA, + _IST, + _IApa, + _IR, + _Loc, + _PD, + _St, + _SMta, + _Des, + _AIu, + _PAu, + _AF, + _AMNL, + _AMNLl, + _ADNL, + _ARTl, + _Tag, + _ASw, + _PIS, + _SRou, + ), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.IPAM_POOL_ID, {_aQN: _IPI, _sN: _iPI}), + (lambda: schemas.IPAM_POOL_ID, {_aQN: _SIPI, _sN: _sIPI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IPApa, _sN: _iPApa}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _ISA, _sN: _iSA}), + (IPAM_SCOPE_TYPE, {_aQN: _IST, _sN: _iST}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), + (lambda: schemas.STRING, {_aQN: _IR, _sN: _iRp}), + (lambda: schemas.STRING, {_aQN: _Loc, _sN: _loc}), + (lambda: schemas.INTEGER, {_aQN: _PD, _sN: _pD}), + (IPAM_POOL_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.BOOLEAN, {_aQN: _AIu, _sN: _aIu}), + (lambda: schemas.BOOLEAN, {_aQN: _PAu, _sN: _pAu}), + (lambda: schemas.ADDRESS_FAMILY, {_aQN: _AF, _sN: _aF}), + (IPAM_NETMASK_LENGTH, {_aQN: _AMNL, _sN: _aMNL}), + (IPAM_NETMASK_LENGTH, {_aQN: _AMNLl, _sN: _aMNLl}), + (IPAM_NETMASK_LENGTH, {_aQN: _ADNL, _sN: _aDNL}), + (IPAM_RESOURCE_TAG_LIST, {_aQN: _ARTS, _sN: _aRTS}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (IPAM_POOL_AWS_SERVICE, {_aQN: _ASw, _sN: _aSw}), + (IPAM_POOL_PUBLIC_IP_SOURCE, {_aQN: _PIS, _sN: _pIS}), + (IPAM_POOL_SOURCE_RESOURCE, {_aQN: _SRou, _sN: _sR}), + ), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_OPERATION: StaticSchema = ( + 14, + n0, + _IPLRRCO, + 0, + (_eq, _ne, _so_), + ((-1, {_sV: _eq}), (-1, {_sV: _ne_}), (-1, {_sV: _so__})), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST: StaticSchema = ( + 18, + n0, + _IPLRRCR, + 0, + (_Ope, _IPI, _RIe, _ROe, _RR, _RTeso, _Ci), + ( + (IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_OPERATION, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (REQUEST_IPAM_RESOURCE_TAG, 0), + (lambda: schemas.STRING, 0), + ), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST_SET: StaticSchema = ( + 16, + n0, + _IPLRRCRS, + 0, + (_me,), + ((IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST, {_sN: _Cond}),), +) + +IPAM_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _IRTpa, + 0, + (_vp, _su, _eip, _pip, _ip______, _eni, _ail), + ( + (-1, {_sV: _vp}), + (-1, {_sV: _su}), + (-1, {_sV: _eip}), + (-1, {_sV: _pip_}), + (-1, {_sV: _ip_______}), + (-1, {_sV: _eni}), + (-1, {_sV: _ail_}), + ), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE_TYPE: StaticSchema = ( + 14, + n0, + _IPLRRT, + 0, + (_sc__, _irc, _ipc), + ((-1, {_sV: _sc___}), (-1, {_sV: _irc_}), (-1, {_sV: _ipc_})), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST: StaticSchema = ( + 18, + n0, + _IPLRRR, + 0, + (_RTu, _SCt, _ISI, _RT, _Condi), + ( + (IPAM_PREFIX_LIST_RESOLVER_RULE_TYPE, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPAM_SCOPE_ID, 0), + (IPAM_RESOURCE_TYPE, 0), + (IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_REQUEST_SET, {_sN: _Cond}), + ), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST_SET: StaticSchema = ( + 16, + n0, + _IPLRRRS, + 0, + (_me,), + ((IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST, {_sN: _Ru}),), +) + +CREATE_IPAM_PREFIX_LIST_RESOLVER_INPUT: StaticSchema = ( + 18, + n0, + _CIPLRI, + {_sSI: _cCIPLRR, _sm: None}, + (_DR, _IIp, _Des, _AF, _Rul, _TSa, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADDRESS_FAMILY, 1), + (IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST_SET, {_sN: _Ru}), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT: StaticSchema = ( + 18, + n0, + _CIPLRO, + {_sSI: _cCIPLRRo, _smit: None}, + (_IPLR,), + ((lambda: IPAM_PREFIX_LIST_RESOLVER, {_aQN: _IPLR, _sN: _iPLR}),), +) + +CREATE_IPAM_PREFIX_LIST_RESOLVER: StaticOperationSchema = ( + 23, + n0, + _CIPLR, + 0, + CREATE_IPAM_PREFIX_LIST_RESOLVER_INPUT, + CREATE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT, + (), +) + +IPAM_PREFIX_LIST_RESOLVER_ID: StaticSchema = (3, n0, _IPLRI, 0) + +IPAM_PREFIX_LIST_RESOLVER_VERSION_CREATION_STATUS: StaticSchema = ( + 14, + n0, + _IPLRVCS, + 0, + (_p, _succe, _fail), + ((-1, {_sV: _p}), (-1, {_sV: _succe}), (-1, {_sV: _fail})), +) + +IPAM_PREFIX_LIST_RESOLVER_STATE: StaticSchema = ( + 14, + n0, + _IPLRS, + 0, + ( + _cip, + _cc_, + _cf________________________, + _mip__, + _mc, + _mf__________________________, + _dip_, + _dc_, + _df___, + _iip_, + _ic_, + _rip_, + ), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _mip___}), + (-1, {_sV: _mc_}), + (-1, {_sV: _mf___________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + (-1, {_sV: _iip}), + (-1, {_sV: _ic}), + (-1, {_sV: _rip}), + ), +) + +IPAM_PREFIX_LIST_RESOLVER: StaticSchema = ( + 18, + n0, + _IPLR, + 0, + (_OIw, _IPLRI, _IPLRA, _IApa, _IR, _Des, _AF, _St, _Tag, _LVCS, _LVCSM), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (IPAM_PREFIX_LIST_RESOLVER_ID, {_aQN: _IPLRI, _sN: _iPLRI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IPLRA, _sN: _iPLRA}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), + (lambda: schemas.STRING, {_aQN: _IR, _sN: _iRp}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.ADDRESS_FAMILY, {_aQN: _AF, _sN: _aF}), + (IPAM_PREFIX_LIST_RESOLVER_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (IPAM_PREFIX_LIST_RESOLVER_VERSION_CREATION_STATUS, {_aQN: _LVCS, _sN: _lVCS}), + (lambda: schemas.STRING, {_aQN: _LVCSM, _sN: _lVCSM}), + ), +) + +CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT: StaticSchema = ( + 18, + n0, + _CIPLRTI, + {_sSI: _cCIPLRTR, _sm: None}, + (_DR, _IPLRI, _PLI, _PLR, _DVe, _TLV, _TSa, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (IPAM_PREFIX_LIST_RESOLVER_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOXED_LONG, 0), + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT: StaticSchema = ( + 18, + n0, + _CIPLRTO, + {_sSI: _cCIPLRTRo, _smit: None}, + (_IPLRT,), + ((lambda: IPAM_PREFIX_LIST_RESOLVER_TARGET, {_aQN: _IPLRT, _sN: _iPLRT}),), +) + +CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET: StaticOperationSchema = ( + 23, + n0, + _CIPLRT, + 0, + CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT, + CREATE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT, + (), +) + +IPAM_PREFIX_LIST_RESOLVER_TARGET_ID: StaticSchema = (3, n0, _IPLRTI, 0) + +IPAM_PREFIX_LIST_RESOLVER_TARGET_STATE: StaticSchema = ( + 14, + n0, + _IPLRTS, + 0, + ( + _cip, + _cc_, + _cf________________________, + _mip__, + _mc, + _mf__________________________, + _sip, + _sc____, + _sf, + _dip_, + _dc_, + _df___, + _iip_, + _ic_, + _rip_, + ), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _mip___}), + (-1, {_sV: _mc_}), + (-1, {_sV: _mf___________________________}), + (-1, {_sV: _sip_}), + (-1, {_sV: _sc_____}), + (-1, {_sV: _sf_}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + (-1, {_sV: _iip}), + (-1, {_sV: _ic}), + (-1, {_sV: _rip}), + ), +) + +IPAM_PREFIX_LIST_RESOLVER_TARGET: StaticSchema = ( + 18, + n0, + _IPLRT, + 0, + (_IPLRTI, _IPLRTA, _IPLRI, _OIw, _PLI, _PLR, _DVe, _LSV, _TLV, _SMta, _St, _Tag), + ( + (IPAM_PREFIX_LIST_RESOLVER_TARGET_ID, {_aQN: _IPLRTI, _sN: _iPLRTI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IPLRTA, _sN: _iPLRTA}), + (IPAM_PREFIX_LIST_RESOLVER_ID, {_aQN: _IPLRI, _sN: _iPLRI}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), + (lambda: schemas.STRING, {_aQN: _PLR, _sN: _pLR}), + (lambda: schemas.BOXED_LONG, {_aQN: _DVe, _sN: _dVe}), + (lambda: schemas.BOXED_LONG, {_aQN: _LSV, _sN: _lSV}), + (lambda: schemas.BOOLEAN, {_aQN: _TLV, _sN: _tLV}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + (IPAM_PREFIX_LIST_RESOLVER_TARGET_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( + 18, + n0, + _CIRDI, + {_sSI: _cCIRDR, _sm: None}, + (_DR, _Des, _ORp, _TSa, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADD_IPAM_OPERATING_REGION_SET, {_sN: _ORpe}), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( + 18, + n0, + _CIRDO, + {_sSI: _cCIRDRo, _smit: None}, + (_IRD,), + ((lambda: IPAM_RESOURCE_DISCOVERY, {_aQN: _IRD, _sN: _iRD}),), +) + +CREATE_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( + 23, + n0, + _CIRD, + 0, + CREATE_IPAM_RESOURCE_DISCOVERY_INPUT, + CREATE_IPAM_RESOURCE_DISCOVERY_OUTPUT, + (), +) + +IPAM_ORGANIZATIONAL_UNIT_EXCLUSION: StaticSchema = ( + 18, + n0, + _IOUE, + 0, + (_OEP,), + ((lambda: schemas.STRING, {_aQN: _OEP, _sN: _oEP}),), +) + +IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET: StaticSchema = ( + 16, + n0, + _IOUES, + 0, + (_me,), + ((IPAM_ORGANIZATIONAL_UNIT_EXCLUSION, {_sN: _i}),), +) + +IPAM_RESOURCE_DISCOVERY_STATE: StaticSchema = ( + 14, + n0, + _IRDS, + 0, + (_CIP, _CC_, _CF_, _MIP, _MC_, _MF, _DIP_, _DC__, _DF_, _IIP_, _IC_, _RIP), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _mip___}), + (-1, {_sV: _mc_}), + (-1, {_sV: _mf___________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + (-1, {_sV: _iip}), + (-1, {_sV: _ic}), + (-1, {_sV: _rip}), + ), +) + +IPAM_RESOURCE_DISCOVERY: StaticSchema = ( + 18, + n0, + _IRD, + 0, + (_OIw, _IRDI, _IRDAp, _IRDR, _Des, _ORp, _ID, _St, _Tag, _OUE), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), + (lambda: schemas.STRING, {_aQN: _IRDAp, _sN: _iRDAp}), + (lambda: schemas.STRING, {_aQN: _IRDR, _sN: _iRDR}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.IPAM_OPERATING_REGION_SET, {_aQN: _ORS, _sN: _oRS}), + (lambda: schemas.BOOLEAN, {_aQN: _ID, _sN: _iD}), + (IPAM_RESOURCE_DISCOVERY_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET, {_aQN: _OUES, _sN: _oUES}), + ), +) + +ASN_LIST: StaticSchema = ( + 16, + n0, + _ALs, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +IPAM_ROUTING_POLICY_REGISTRATION_MAX_LENGTH: StaticSchema = (7, n0, _IRPRML, 0) + +CREATE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT: StaticSchema = ( + 18, + n0, + _CIRPRI, + {_sSI: _cCIRPRR, _sm: None}, + (_DR, _IIRAI, _Ci, _Asns, _PMSA, _ML, _Des, _Fo, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (lambda: schemas.STRING, 1), + (ASN_LIST, {_sN: _Asn, _smi: None}), + (lambda: schemas.BOXED_BOOLEAN, 0), + (IPAM_ROUTING_POLICY_REGISTRATION_MAX_LENGTH, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CIRPRO, + {_sSI: _cCIRPRRo, _smit: None}, + (_IRPRD,), + ( + ( + lambda: schemas.IPAM_ROUTING_POLICY_REGISTRATION_DELTA, + {_aQN: _IRPRD, _sN: _iRPRD}, + ), + ), +) + +CREATE_IPAM_ROUTING_POLICY_REGISTRATION: StaticOperationSchema = ( + 23, + n0, + _CIRPR, + 0, + CREATE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT, + CREATE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT, + (), +) + +IPAM_SCOPE_EXTERNAL_AUTHORITY_TYPE: StaticSchema = ( + 14, + n0, + _ISEAT, + 0, + (_info,), + ((-1, {_sV: _info}),), +) + +EXTERNAL_AUTHORITY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EAC, + 0, + (_Ty, _ERI), + ((IPAM_SCOPE_EXTERNAL_AUTHORITY_TYPE, 0), (lambda: schemas.STRING, 0)), +) + +CREATE_IPAM_SCOPE_INPUT: StaticSchema = ( + 18, + n0, + _CISI, + {_sSI: _cCISR, _sm: None}, + (_DR, _IIp, _Des, _TSa, _CTl, _EAC), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (EXTERNAL_AUTHORITY_CONFIGURATION, 0), + ), +) + +CREATE_IPAM_SCOPE_OUTPUT: StaticSchema = ( + 18, + n0, + _CISO, + {_sSI: _cCISRo, _smit: None}, + (_ISpam,), + ((lambda: IPAM_SCOPE, {_aQN: _ISpam, _sN: _iSpa}),), +) + +CREATE_IPAM_SCOPE: StaticOperationSchema = ( + 23, + n0, + _CIS, + 0, + CREATE_IPAM_SCOPE_INPUT, + CREATE_IPAM_SCOPE_OUTPUT, + (), +) + +IPAM_SCOPE_EXTERNAL_AUTHORITY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ISEAC, + 0, + (_Ty, _ERI), + ( + (IPAM_SCOPE_EXTERNAL_AUTHORITY_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _ERI, _sN: _eRI}), + ), +) + +IPAM_SCOPE_STATE: StaticSchema = ( + 14, + n0, + _ISS, + 0, + ( + _cip, + _cc_, + _cf________________________, + _mip__, + _mc, + _mf__________________________, + _dip_, + _dc_, + _df___, + _iip_, + _ic_, + _rip_, + ), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _mip___}), + (-1, {_sV: _mc_}), + (-1, {_sV: _mf___________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + (-1, {_sV: _iip}), + (-1, {_sV: _ic}), + (-1, {_sV: _rip}), + ), +) + +IPAM_SCOPE: StaticSchema = ( + 18, + n0, + _ISpam, + 0, + (_OIw, _ISI, _ISA, _IApa, _IR, _IST, _ID, _Des, _PCoo, _St, _Tag, _EAC), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.IPAM_SCOPE_ID, {_aQN: _ISI, _sN: _iSI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _ISA, _sN: _iSA}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), + (lambda: schemas.STRING, {_aQN: _IR, _sN: _iRp}), + (IPAM_SCOPE_TYPE, {_aQN: _IST, _sN: _iST}), + (lambda: schemas.BOOLEAN, {_aQN: _ID, _sN: _iD}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.INTEGER, {_aQN: _PCoo, _sN: _pC}), + (IPAM_SCOPE_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (IPAM_SCOPE_EXTERNAL_AUTHORITY_CONFIGURATION, {_aQN: _EAC, _sN: _eAC}), + ), +) + +KEY_FORMAT: StaticSchema = ( + 14, + n0, + _KF, + 0, + (_pem, _ppk), + ((-1, {_sV: _pem}), (-1, {_sV: _ppk})), +) + +KEY_TYPE: StaticSchema = ( + 14, + n0, + _KT, + 0, + (_rsa, _ed), + ((-1, {_sV: _rsa}), (-1, {_sV: _ed})), +) + +CREATE_KEY_PAIR_INPUT: StaticSchema = ( + 18, + n0, + _CKPI, + {_sSI: _cCKPR, _sm: None}, + (_KN, _KT, _TSa, _KF, _DR), + ( + (lambda: schemas.STRING, 1), + (KEY_TYPE, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (KEY_FORMAT, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_KEY_PAIR_OUTPUT: StaticSchema = ( + 18, + n0, + _CKPO, + {_sSI: _cKP, _smit: None}, + (_KPI, _Tag, _KN, _KFe, _KM), + ( + (lambda: schemas.STRING, {_aQN: _KPI, _sN: _kPI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _KN, _sN: _kN}), + (lambda: schemas.STRING, {_aQN: _KFe, _sN: _kF}), + (lambda: schemas.SENSITIVE_USER_DATA, {_aQN: _KM, _sN: _kM}), + ), +) + +CREATE_KEY_PAIR: StaticOperationSchema = ( + 23, + n0, + _CKP, + 0, + CREATE_KEY_PAIR_INPUT, + CREATE_KEY_PAIR_OUTPUT, + (), +) + +LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE_REQUEST: StaticSchema = ( + 18, + n0, + _LTEBDR, + 0, + (_En, _DOT, _Io, _KKI, _SIn, _VSol, _VT, _Th, _VIR, _ECI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.SNAPSHOT_ID, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.VOLUME_TYPE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST: StaticSchema = ( + 18, + n0, + _LTBDMR, + 0, + (_DNe, _VN, _Eb, _ND), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE_REQUEST, 0), + (lambda: schemas.STRING, 0), + ), +) + +LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _LTBDMRL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST, {_sN: _BDM}),), +) + +CAPACITY_RESERVATION_PREFERENCE: StaticSchema = ( + 14, + n0, + _CRP, + 0, + (_cro_, _op, _no), + ((-1, {_sV: _cro__}), (-1, {_sV: _op}), (-1, {_sV: _no})), +) + +CAPACITY_RESERVATION_TARGET: StaticSchema = ( + 18, + n0, + _CRTap, + 0, + (_CRI, _CRRGAa), + ((lambda: schemas.CAPACITY_RESERVATION_ID, 0), (lambda: schemas.STRING, 0)), +) + +LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _LTCRSR, + 0, + (_CRP, _CRTap), + ((CAPACITY_RESERVATION_PREFERENCE, 0), (CAPACITY_RESERVATION_TARGET, 0)), +) + +AMD_SEV_SNP_SPECIFICATION: StaticSchema = ( + 14, + n0, + _ASSS, + 0, + (_ena, _d), + ((-1, {_sV: _ena}), (-1, {_sV: _d})), +) + +NESTED_VIRTUALIZATION_SPECIFICATION: StaticSchema = ( + 14, + n0, + _NVS, + 0, + (_ena, _d), + ((-1, {_sV: _ena}), (-1, {_sV: _d})), +) + +LAUNCH_TEMPLATE_CPU_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _LTCOR, + 0, + (_CCor, _TPC, _ASS, _NV), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (AMD_SEV_SNP_SPECIFICATION, 0), + (NESTED_VIRTUALIZATION_SPECIFICATION, 0), + ), +) + +CREDIT_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _CSR, + 0, + (_CCp,), + ((lambda: schemas.STRING, 1),), +) + +CAPACITY_RESERVATION_SPECIFICATION: StaticSchema = ( + 18, + n0, + _CRSa, + 0, + (_CRP, _CRTap), + ((CAPACITY_RESERVATION_PREFERENCE, 0), (CAPACITY_RESERVATION_TARGET, 0)), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_12.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_12.py new file mode 100644 index 000000000..ddac7640e --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_12.py @@ -0,0 +1,1540 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_cb = "capacity_block" +_cb_ = "capacity-block" +_Ta = "Tag" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_St = "State" +_st = "state" +_SIu = "SubnetId" +_sI = "subnetId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Ar = "Arn" +_ar = "arn" +_N = "Name" +_nam = "name" +_AZ = "AvailabilityZone" +_AZI = "AvailabilityZoneId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SGI = "SecurityGroupId" +_NI = "NetworkInterface" +_SG = "SecurityGroup" +_SGe = "SecurityGroups" +_ena = "enabled" +_IT = "InstanceType" +_Des = "Description" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_desc = "description" +_Af = "Affinity" +_def = "default" +_ASS = "AmdSevSnp" +_CO = "CpuOptions" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_SGIe = "SecurityGroupIds" +_IPC = "Ipv6PrefixCount" +_IPp = "Ipv6Prefixes" +_IPpv = "Ipv6Prefix" +_IAp = "Ipv6Addresses" +_IAC = "Ipv6AddressCount" +_iAC = "ipv6AddressCount" +_IPpvr = "Ipv4Prefixes" +_IPpvre = "Ipv4Prefix" +_IPCp = "Ipv4PrefixCount" +_PIAri = "PrivateIpAddresses" +_SPIAC = "SecondaryPrivateIpAddressCount" +_sPIAC = "secondaryPrivateIpAddressCount" +_iPp = "ipv4Prefix" +_PIAC = "PrivateIpAddressCount" +_IIP = "IamInstanceProfile" +_GIr = "GroupId" +_G = "Groups" +_IIm = "ImageId" +_ESUS = "EnaSrdUdpSpecification" +_ESUE = "EnaSrdUdpEnabled" +_ESS = "EnaSrdSpecification" +_ESE = "EnaSrdEnabled" +_NCI = "NetworkCardIndex" +_EQC = "EnaQueueCount" +_DI = "DeviceIndex" +_dI = "deviceIndex" +_nCI = "networkCardIndex" +_ECI = "EbsCardIndex" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_eCI = "ebsCardIndex" +_GN = "GroupName" +_KKI = "KmsKeyId" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_VT = "VolumeType" +_Io = "Iops" +_Th = "Throughput" +_iop = "iops" +_vT = "volumeType" +_thr = "throughput" +_Op = "Operator" +_VIR = "VolumeInitializationRate" +_vIR = "volumeInitializationRate" +_Ten = "Tenancy" +_EO = "EbsOptimized" +_ap = "applied" +_Cou = "Count" +_cou = "count" +_DEFAULT = "DEFAULT" +_cRI = "capacityReservationId" +_requ = "required" +_IRn = "InstanceRequirements" +_Ty = "Type" +_Ena = "Enabled" +_DNe = "DeviceName" +_dNe = "deviceName" +_ty = "type" +_HT = "HostnameType" +_ERNDAR = "EnableResourceNameDnsARecord" +_ERNDAAAAR = "EnableResourceNameDnsAAAARecord" +_LTI = "LaunchTemplateId" +_LTN = "LaunchTemplateName" +_VSol = "VolumeSize" +_VN = "VirtualName" +_Eb = "Ebs" +_ND = "NoDevice" +_BDM = "BlockDeviceMapping" +_opt = "optional" +_HTt = "HttpTokens" +_HPRHL = "HttpPutResponseHopLimit" +_HE = "HttpEndpoint" +_Pl = "Placement" +_PNa = "PartitionNumber" +_HIo = "HostId" +_SDp = "SpreadDomain" +_HRGA = "HostResourceGroupArn" +_MP = "MaxPrice" +_KN = "KeyName" +_BDMl = "BlockDeviceMappings" +_MO = "MetadataOptions" +_CRRGAa = "CapacityReservationResourceGroupArn" +_icr = "interruptible-capacity-reservation" +_od = "on-demand" +_MTar = "MarketType" +_CRTap = "CapacityReservationTarget" +_hib = "hibernate" +_stop = "stop" +_term = "terminate" +_IIB = "InstanceInterruptionBehavior" +_spo = "spot" +_SO = "SpotOptions" +_VU = "ValidUntil" +_vSo = "volumeSize" +_vN = "virtualName" +_eb = "ebs" +_nD = "noDevice" +_mP = "maxPrice" +_Er = "Errors" +_ESr = "ErrorSet" +_eSr = "errorSet" +_CRP = "CapacityReservationPreference" +_CCor = "CoreCount" +_TPC = "ThreadsPerCore" +_NV = "NestedVirtualization" +_CCp = "CpuCredits" +_EGS = "ElasticGpuSpecification" +_EGSL = "ElasticGpuSpecificationList" +_LTEIAC = "LaunchTemplateElasticInferenceAcceleratorCount" +_LTEIA = "LaunchTemplateElasticInferenceAccelerator" +_LTEIAL = "LaunchTemplateElasticInferenceAcceleratorList" +_LTEOR = "LaunchTemplateEnclaveOptionsRequest" +_LTHOR = "LaunchTemplateHibernationOptionsRequest" +_Conf = "Configured" +_LTIIPSR = "LaunchTemplateIamInstanceProfileSpecificationRequest" +_SBh = "ShutdownBehavior" +_icr_ = "interruptible_capacity_reservation" +_od_ = "on_demand" +_SITp = "SpotInstanceType" +_ot = "one_time" +_ot_ = "one-time" +_per = "persistent" +_LTSMOR = "LaunchTemplateSpotMarketOptionsRequest" +_BDMlo = "BlockDurationMinutes" +_LTIMOR = "LaunchTemplateInstanceMarketOptionsRequest" +_KI = "KernelId" +_KPN = "KeyPairName" +_LTLCR = "LaunchTemplateLicenseConfigurationRequest" +_LCA = "LicenseConfigurationArn" +_LTLSLR = "LaunchTemplateLicenseSpecificationListRequest" +_LTARS = "LaunchTemplateAutoRecoveryState" +_LTIMORa = "LaunchTemplateInstanceMaintenanceOptionsRequest" +_ARu = "AutoRecovery" +_LTIMES = "LaunchTemplateInstanceMetadataEndpointState" +_LTIMPI = "LaunchTemplateInstanceMetadataProtocolIpv6" +_LTHTS = "LaunchTemplateHttpTokensState" +_LTIMTS = "LaunchTemplateInstanceMetadataTagsState" +_LTIMORau = "LaunchTemplateInstanceMetadataOptionsRequest" +_HPI = "HttpProtocolIpv6" +_IMT = "InstanceMetadataTags" +_LTMR = "LaunchTemplatesMonitoringRequest" +_CTSR = "ConnectionTrackingSpecificationRequest" +_TET = "TcpEstablishedTimeout" +_UST = "UdpStreamTimeout" +_UTd = "UdpTimeout" +_ESUSR = "EnaSrdUdpSpecificationRequest" +_ESSR = "EnaSrdSpecificationRequest" +_SGISL = "SecurityGroupIdStringList" +_IPSRp = "Ipv4PrefixSpecificationRequest" +_IPLpv = "Ipv4PrefixList" +_IIAR = "InstanceIpv6AddressRequest" +_IApv = "Ipv6Address" +_IIALR = "InstanceIpv6AddressListRequest" +_IIA = "InstanceIpv6Address" +_IPSRpv = "Ipv6PrefixSpecificationRequest" +_IPLpvr = "Ipv6PrefixList" +_PIAS = "PrivateIpAddressSpecification" +_Prim = "Primary" +_prim = "primary" +_PIASLr = "PrivateIpAddressSpecificationList" +_LTINISR = "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest" +_ACIA = "AssociateCarrierIpAddress" +_APIAsso = "AssociatePublicIpAddress" +_ITnte = "InterfaceType" +_PIrim = "PrimaryIpv6" +_CTSo = "ConnectionTrackingSpecification" +_LTINISRL = "LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList" +_INIS = "InstanceNetworkInterfaceSpecification" +_IBW = "InstanceBandwidthWeighting" +_V_ = "VPC_1" +_v_____ = "vpc-1" +_E_ = "EBS_1" +_e_ = "ebs-1" +_LTNPOR = "LaunchTemplateNetworkPerformanceOptionsRequest" +_BW = "BandwidthWeighting" +_LTPR = "LaunchTemplatePlacementRequest" +_LTPDNOR = "LaunchTemplatePrivateDnsNameOptionsRequest" +_RIa = "RamdiskId" +_SITe = "SecondaryInterfaceType" +_SECONDARY = "SECONDARY" +_sec = "secondary" +_SIPIASR = "SecondaryInterfacePrivateIpAddressSpecificationRequest" +_SIPIASLR = "SecondaryInterfacePrivateIpAddressSpecificationListRequest" +_SIPIAS = "SecondaryInterfacePrivateIpAddressSpecification" +_SSIe = "SecondarySubnetId" +_LTISISR = "LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest" +_LTISISRL = "LaunchTemplateInstanceSecondaryInterfaceSpecificationRequestList" +_ISIS = "InstanceSecondaryInterfaceSpecification" +_SGSL = "SecurityGroupStringList" +_LTTSR = "LaunchTemplateTagSpecificationRequest" +_LTTSRL = "LaunchTemplateTagSpecificationRequestList" +_RLTD = "RequestLaunchTemplateData" +_NIe = "NetworkInterfaces" +_Mon = "Monitoring" +_RDI = "RamDiskId" +_DAT = "DisableApiTermination" +_IISB = "InstanceInitiatedShutdownBehavior" +_UDs = "UserData" +_EGSl = "ElasticGpuSpecifications" +_EIA = "ElasticInferenceAccelerators" +_EIAl = "ElasticInferenceAccelerator" +_IMO = "InstanceMarketOptions" +_CSr = "CreditSpecification" +_CRSa = "CapacityReservationSpecification" +_LSic = "LicenseSpecifications" +_LSice = "LicenseSpecification" +_HO = "HibernationOptions" +_EOn = "EnclaveOptions" +_PDNO = "PrivateDnsNameOptions" +_MOa = "MaintenanceOptions" +_DASi = "DisableApiStop" +_NPO = "NetworkPerformanceOptions" +_SIec = "SecondaryInterfaces" +_SIeco = "SecondaryInterface" +_VD = "VersionDescription" +_CLTI = "CreateLaunchTemplateInput" +_cCLTR = "com.amazonaws.ec2#CreateLaunchTemplateRequest" +_LTD = "LaunchTemplateData" +_LT = "LaunchTemplate" +_VEa = "ValidationError" +_VW = "ValidationWarning" +_CLTO = "CreateLaunchTemplateOutput" +_cCLTRo = "com.amazonaws.ec2#CreateLaunchTemplateResult" +_lT = "launchTemplate" +_Wa = "Warning" +_wa = "warning" +_CLT = "CreateLaunchTemplate" +_CLTVI = "CreateLaunchTemplateVersionInput" +_cCLTVR = "com.amazonaws.ec2#CreateLaunchTemplateVersionRequest" +_SVo = "SourceVersion" +_RAes = "ResolveAlias" +_LTEBD = "LaunchTemplateEbsBlockDevice" +_LTBDM = "LaunchTemplateBlockDeviceMapping" +_LTBDML = "LaunchTemplateBlockDeviceMappingList" +_CRTR = "CapacityReservationTargetResponse" +_cRRGA = "capacityReservationResourceGroupArn" +_LTCRSRa = "LaunchTemplateCapacityReservationSpecificationResponse" +_cRP = "capacityReservationPreference" +_cRT = "capacityReservationTarget" +_LTCO = "LaunchTemplateCpuOptions" +_cCor = "coreCount" +_tPC = "threadsPerCore" +_aSS = "amdSevSnp" +_nV = "nestedVirtualization" +_cCp = "cpuCredits" +_EGSR = "ElasticGpuSpecificationResponse" +_EGSRL = "ElasticGpuSpecificationResponseList" +_LTEIAR = "LaunchTemplateElasticInferenceAcceleratorResponse" +_LTEIARL = "LaunchTemplateElasticInferenceAcceleratorResponseList" +_LTEO = "LaunchTemplateEnclaveOptions" +_LTHO = "LaunchTemplateHibernationOptions" +_conf = "configured" +_LTIIPS = "LaunchTemplateIamInstanceProfileSpecification" +_LTSMO = "LaunchTemplateSpotMarketOptions" +_sIT = "spotInstanceType" +_bDMl = "blockDurationMinutes" +_vU = "validUntil" +_iIB = "instanceInterruptionBehavior" +_LTIMO = "LaunchTemplateInstanceMarketOptions" +_mTa = "marketType" +_sO = "spotOptions" +_LTLC = "LaunchTemplateLicenseConfiguration" +_lCA = "licenseConfigurationArn" +_LTLL = "LaunchTemplateLicenseList" +_LTIMOa = "LaunchTemplateInstanceMaintenanceOptions" +_aRu = "autoRecovery" +_LTIMOS = "LaunchTemplateInstanceMetadataOptionsState" +_LTIMOau = "LaunchTemplateInstanceMetadataOptions" +_hTt = "httpTokens" +_hPRHL = "httpPutResponseHopLimit" +_hE = "httpEndpoint" +_hPI = "httpProtocolIpv6" +_iMT = "instanceMetadataTags" +_LTM = "LaunchTemplatesMonitoring" +_tET = "tcpEstablishedTimeout" +_uTd = "udpTimeout" +_uST = "udpStreamTimeout" +_LTESUS = "LaunchTemplateEnaSrdUdpSpecification" +_eSUE = "enaSrdUdpEnabled" +_LTESS = "LaunchTemplateEnaSrdSpecification" +_eSE = "enaSrdEnabled" +_eSUS = "enaSrdUdpSpecification" +_IPSRpvr = "Ipv4PrefixSpecificationResponse" +_IPLRp = "Ipv4PrefixListResponse" +_iApv = "ipv6Address" +_IPIs = "IsPrimaryIpv6" +_iPIs = "isPrimaryIpv6" +_IIAL = "InstanceIpv6AddressList" +_IPSRpvre = "Ipv6PrefixSpecificationResponse" +_iPpvr = "ipv6Prefix" +_IPLRpv = "Ipv6PrefixListResponse" +_LTINIS = "LaunchTemplateInstanceNetworkInterfaceSpecification" +_aCIA = "associateCarrierIpAddress" +_aPIA = "associatePublicIpAddress" +_GS = "GroupSet" +_gS = "groupSet" +_iTnt = "interfaceType" +_IAS = "Ipv6AddressesSet" +_iAS = "ipv6AddressesSet" +_PIASr = "PrivateIpAddressesSet" +_pIAS = "privateIpAddressesSet" +_IPSpv = "Ipv4PrefixSet" +_iPS = "ipv4PrefixSet" +_iPC = "ipv4PrefixCount" +_IPSpvr = "Ipv6PrefixSet" +_iPSp = "ipv6PrefixSet" +_iPCp = "ipv6PrefixCount" +_pIri = "primaryIpv6" +_eSS = "enaSrdSpecification" +_cTSo = "connectionTrackingSpecification" +_eQC = "enaQueueCount" +_LTINISL = "LaunchTemplateInstanceNetworkInterfaceSpecificationList" +_LTNPO = "LaunchTemplateNetworkPerformanceOptions" +_bW = "bandwidthWeighting" +_LTV = "LaunchTemplateVersion" +_CLTVO = "CreateLaunchTemplateVersionOutput" +_cCLTVRo = "com.amazonaws.ec2#CreateLaunchTemplateVersionResult" +_lTV = "launchTemplateVersion" +_CLTV = "CreateLaunchTemplateVersion" + +ELASTIC_GPU_SPECIFICATION: StaticSchema = ( + 18, + n0, + _EGS, + 0, + (_Ty,), + ((lambda: schemas.STRING, 1),), +) + +ELASTIC_GPU_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _EGSL, + 0, + (_me,), + ((ELASTIC_GPU_SPECIFICATION, {_sN: _EGS}),), +) + +LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_COUNT: StaticSchema = (7, n0, _LTEIAC, 0) + +LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR: StaticSchema = ( + 18, + n0, + _LTEIA, + 0, + (_Ty, _Cou), + ( + (lambda: schemas.STRING, 1), + (LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_COUNT, 0), + ), +) + +LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_LIST: StaticSchema = ( + 16, + n0, + _LTEIAL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_ENCLAVE_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _LTEOR, + 0, + (_Ena,), + ((lambda: schemas.BOOLEAN, 0),), +) + +LAUNCH_TEMPLATE_HIBERNATION_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _LTHOR, + 0, + (_Conf,), + ((lambda: schemas.BOOLEAN, 0),), +) + +LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _LTIIPSR, + 0, + (_Ar, _N), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SHUTDOWN_BEHAVIOR: StaticSchema = ( + 14, + n0, + _SBh, + 0, + (_stop, _term), + ((-1, {_sV: _stop}), (-1, {_sV: _term})), +) + +MARKET_TYPE: StaticSchema = ( + 14, + n0, + _MTar, + 0, + (_spo, _cb, _icr_, _od_), + ((-1, {_sV: _spo}), (-1, {_sV: _cb_}), (-1, {_sV: _icr}), (-1, {_sV: _od})), +) + +INSTANCE_INTERRUPTION_BEHAVIOR: StaticSchema = ( + 14, + n0, + _IIB, + 0, + (_hib, _stop, _term), + ((-1, {_sV: _hib}), (-1, {_sV: _stop}), (-1, {_sV: _term})), +) + +SPOT_INSTANCE_TYPE: StaticSchema = ( + 14, + n0, + _SITp, + 0, + (_ot, _per), + ((-1, {_sV: _ot_}), (-1, {_sV: _per})), +) + +LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _LTSMOR, + 0, + (_MP, _SITp, _BDMlo, _VU, _IIB), + ( + (lambda: schemas.STRING, 0), + (SPOT_INSTANCE_TYPE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.DATE_TIME, 0), + (INSTANCE_INTERRUPTION_BEHAVIOR, 0), + ), +) + +LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _LTIMOR, + 0, + (_MTar, _SO), + ((MARKET_TYPE, 0), (LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS_REQUEST, 0)), +) + +KERNEL_ID: StaticSchema = (3, n0, _KI, 0) + +KEY_PAIR_NAME: StaticSchema = (3, n0, _KPN, 0) + +LAUNCH_TEMPLATE_LICENSE_CONFIGURATION_REQUEST: StaticSchema = ( + 18, + n0, + _LTLCR, + 0, + (_LCA,), + ((lambda: schemas.STRING, 0),), +) + +LAUNCH_TEMPLATE_LICENSE_SPECIFICATION_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _LTLSLR, + 0, + (_me,), + ((LAUNCH_TEMPLATE_LICENSE_CONFIGURATION_REQUEST, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_AUTO_RECOVERY_STATE: StaticSchema = ( + 14, + n0, + _LTARS, + 0, + (_def, _d), + ((-1, {_sV: _def}), (-1, {_sV: _d})), +) + +LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _LTIMORa, + 0, + (_ARu,), + ((LAUNCH_TEMPLATE_AUTO_RECOVERY_STATE, 0),), +) + +LAUNCH_TEMPLATE_INSTANCE_METADATA_ENDPOINT_STATE: StaticSchema = ( + 14, + n0, + _LTIMES, + 0, + (_d, _ena), + ((-1, {_sV: _d}), (-1, {_sV: _ena})), +) + +LAUNCH_TEMPLATE_INSTANCE_METADATA_PROTOCOL_IPV6: StaticSchema = ( + 14, + n0, + _LTIMPI, + 0, + (_d, _ena), + ((-1, {_sV: _d}), (-1, {_sV: _ena})), +) + +LAUNCH_TEMPLATE_HTTP_TOKENS_STATE: StaticSchema = ( + 14, + n0, + _LTHTS, + 0, + (_opt, _requ), + ((-1, {_sV: _opt}), (-1, {_sV: _requ})), +) + +LAUNCH_TEMPLATE_INSTANCE_METADATA_TAGS_STATE: StaticSchema = ( + 14, + n0, + _LTIMTS, + 0, + (_d, _ena), + ((-1, {_sV: _d}), (-1, {_sV: _ena})), +) + +LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _LTIMORau, + 0, + (_HTt, _HPRHL, _HE, _HPI, _IMT), + ( + (LAUNCH_TEMPLATE_HTTP_TOKENS_STATE, 0), + (lambda: schemas.INTEGER, 0), + (LAUNCH_TEMPLATE_INSTANCE_METADATA_ENDPOINT_STATE, 0), + (LAUNCH_TEMPLATE_INSTANCE_METADATA_PROTOCOL_IPV6, 0), + (LAUNCH_TEMPLATE_INSTANCE_METADATA_TAGS_STATE, 0), + ), +) + +LAUNCH_TEMPLATES_MONITORING_REQUEST: StaticSchema = ( + 18, + n0, + _LTMR, + 0, + (_Ena,), + ((lambda: schemas.BOOLEAN, 0),), +) + +CONNECTION_TRACKING_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _CTSR, + 0, + (_TET, _UST, _UTd), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +ENA_SRD_UDP_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _ESUSR, + 0, + (_ESUE,), + ((lambda: schemas.BOOLEAN, 0),), +) + +ENA_SRD_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _ESSR, + 0, + (_ESE, _ESUS), + ((lambda: schemas.BOOLEAN, 0), (ENA_SRD_UDP_SPECIFICATION_REQUEST, 0)), +) + +SECURITY_GROUP_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _SGISL, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_ID, {_sN: _SGI}),), +) + +IPV4_PREFIX_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _IPSRp, + 0, + (_IPpvre,), + ((lambda: schemas.STRING, 0),), +) + +IPV4_PREFIX_LIST: StaticSchema = ( + 16, + n0, + _IPLpv, + 0, + (_me,), + ((IPV4_PREFIX_SPECIFICATION_REQUEST, {_sN: _i}),), +) + +INSTANCE_IPV6_ADDRESS_REQUEST: StaticSchema = ( + 18, + n0, + _IIAR, + 0, + (_IApv,), + ((lambda: schemas.STRING, 0),), +) + +INSTANCE_IPV6_ADDRESS_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _IIALR, + 0, + (_me,), + ((INSTANCE_IPV6_ADDRESS_REQUEST, {_sN: _IIA}),), +) + +IPV6_PREFIX_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _IPSRpv, + 0, + (_IPpv,), + ((lambda: schemas.STRING, 0),), +) + +IPV6_PREFIX_LIST: StaticSchema = ( + 16, + n0, + _IPLpvr, + 0, + (_me,), + ((IPV6_PREFIX_SPECIFICATION_REQUEST, {_sN: _i}),), +) + +PRIVATE_IP_ADDRESS_SPECIFICATION: StaticSchema = ( + 18, + n0, + _PIAS, + 0, + (_Prim, _PIAr), + ( + (lambda: schemas.BOOLEAN, {_aQN: _Prim, _sN: _prim}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + ), +) + +PRIVATE_IP_ADDRESS_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _PIASLr, + 0, + (_me,), + ((PRIVATE_IP_ADDRESS_SPECIFICATION, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _LTINISR, + 0, + ( + _ACIA, + _APIAsso, + _DOT, + _Des, + _DI, + _G, + _ITnte, + _IAC, + _IAp, + _NII, + _PIAr, + _PIAri, + _SPIAC, + _SIu, + _NCI, + _IPpvr, + _IPCp, + _IPp, + _IPC, + _PIrim, + _ESS, + _CTSo, + _EQC, + ), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (INSTANCE_IPV6_ADDRESS_LIST_REQUEST, 0), + (lambda: schemas.NETWORK_INTERFACE_ID, 0), + (lambda: schemas.STRING, 0), + (PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.SUBNET_ID, 0), + (lambda: schemas.INTEGER, 0), + (IPV4_PREFIX_LIST, {_sN: _IPpvre}), + (lambda: schemas.INTEGER, 0), + (IPV6_PREFIX_LIST, {_sN: _IPpv}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 0), + (ENA_SRD_SPECIFICATION_REQUEST, 0), + (CONNECTION_TRACKING_SPECIFICATION_REQUEST, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _LTINISRL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST, {_sN: _INIS}),), +) + +INSTANCE_BANDWIDTH_WEIGHTING: StaticSchema = ( + 14, + n0, + _IBW, + 0, + (_DEFAULT, _V_, _E_), + ((-1, {_sV: _def}), (-1, {_sV: _v_____}), (-1, {_sV: _e_})), +) + +LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _LTNPOR, + 0, + (_BW,), + ((INSTANCE_BANDWIDTH_WEIGHTING, 0),), +) + +LAUNCH_TEMPLATE_PLACEMENT_REQUEST: StaticSchema = ( + 18, + n0, + _LTPR, + 0, + (_AZ, _AZI, _Af, _GN, _HIo, _Ten, _SDp, _HRGA, _PNa, _GIr), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.PLACEMENT_GROUP_NAME, 0), + (lambda: schemas.DEDICATED_HOST_ID, 0), + (lambda: schemas.TENANCY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.PLACEMENT_GROUP_ID, 0), + ), +) + +LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _LTPDNOR, + 0, + (_HT, _ERNDAR, _ERNDAAAAR), + ( + (lambda: schemas.HOSTNAME_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +RAMDISK_ID: StaticSchema = (3, n0, _RIa, 0) + +SECONDARY_INTERFACE_TYPE: StaticSchema = ( + 14, + n0, + _SITe, + 0, + (_SECONDARY,), + ((-1, {_sV: _sec}),), +) + +SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _SIPIASR, + 0, + (_PIAr,), + ((lambda: schemas.STRING, 0),), +) + +SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _SIPIASLR, + 0, + (_me,), + ((SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_REQUEST, {_sN: _SIPIAS}),), +) + +SECONDARY_SUBNET_ID: StaticSchema = (3, n0, _SSIe, 0) + +LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _LTISISR, + 0, + (_DOT, _DI, _PIAri, _PIAC, _SSIe, _ITnte, _NCI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + ( + SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST_REQUEST, + {_sN: _PIAr}, + ), + (lambda: schemas.INTEGER, 0), + (SECONDARY_SUBNET_ID, 0), + (SECONDARY_INTERFACE_TYPE, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _LTISISRL, + 0, + (_me,), + ( + ( + LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST, + {_sN: _ISIS}, + ), + ), +) + +SECURITY_GROUP_STRING_LIST: StaticSchema = ( + 16, + n0, + _SGSL, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_NAME, {_sN: _SG}),), +) + +LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _LTTSR, + 0, + (_RT, _Tag), + ((lambda: schemas.RESOURCE_TYPE, 0), (lambda: schemas.TAG_LIST, {_sN: _Ta})), +) + +LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _LTTSRL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST, {_sN: _LTTSR}),), +) + +REQUEST_LAUNCH_TEMPLATE_DATA: StaticSchema = ( + 18, + n0, + _RLTD, + 0, + ( + _KI, + _EO, + _IIP, + _BDMl, + _NIe, + _IIm, + _IT, + _KN, + _Mon, + _Pl, + _RDI, + _DAT, + _IISB, + _UDs, + _TSa, + _EGSl, + _EIA, + _SGIe, + _SGe, + _IMO, + _CSr, + _CO, + _CRSa, + _LSic, + _HO, + _MO, + _EOn, + _IRn, + _PDNO, + _MOa, + _DASi, + _Op, + _NPO, + _SIec, + ), + ( + (KERNEL_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST, 0), + ( + lambda: schemas.LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_REQUEST_LIST, + {_sN: _BDM}, + ), + ( + LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_REQUEST_LIST, + {_sN: _NI}, + ), + (lambda: schemas.IMAGE_ID, 0), + (lambda: schemas.INSTANCE_TYPE, 0), + (KEY_PAIR_NAME, 0), + (LAUNCH_TEMPLATES_MONITORING_REQUEST, 0), + (LAUNCH_TEMPLATE_PLACEMENT_REQUEST, 0), + (RAMDISK_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (SHUTDOWN_BEHAVIOR, 0), + (lambda: schemas.SENSITIVE_USER_DATA, 0), + (LAUNCH_TEMPLATE_TAG_SPECIFICATION_REQUEST_LIST, {_sN: _TS}), + (ELASTIC_GPU_SPECIFICATION_LIST, {_sN: _EGS}), + (LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_LIST, {_sN: _EIAl}), + (SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), + (SECURITY_GROUP_STRING_LIST, {_sN: _SG}), + (LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS_REQUEST, 0), + (lambda: schemas.CREDIT_SPECIFICATION_REQUEST, 0), + (lambda: schemas.LAUNCH_TEMPLATE_CPU_OPTIONS_REQUEST, 0), + (lambda: schemas.LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_REQUEST, 0), + (LAUNCH_TEMPLATE_LICENSE_SPECIFICATION_LIST_REQUEST, {_sN: _LSice}), + (LAUNCH_TEMPLATE_HIBERNATION_OPTIONS_REQUEST, 0), + (LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_REQUEST, 0), + (LAUNCH_TEMPLATE_ENCLAVE_OPTIONS_REQUEST, 0), + (lambda: schemas.INSTANCE_REQUIREMENTS_REQUEST, 0), + (LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS_REQUEST, 0), + (LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.OPERATOR_REQUEST, 0), + (LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS_REQUEST, 0), + ( + LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST_LIST, + {_sN: _SIeco}, + ), + ), +) + +VERSION_DESCRIPTION: StaticSchema = (3, n0, _VD, 0) + +CREATE_LAUNCH_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _CLTI, + {_sSI: _cCLTR, _sm: None}, + (_DR, _CTl, _LTN, _VD, _LTD, _Op, _TSa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.STRING, 1), + (VERSION_DESCRIPTION, 0), + (REQUEST_LAUNCH_TEMPLATE_DATA, 1), + (lambda: schemas.OPERATOR_REQUEST, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_LAUNCH_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _CLTO, + {_sSI: _cCLTRo, _smit: None}, + (_LT, _Wa), + ( + (lambda: schemas.LAUNCH_TEMPLATE, {_aQN: _LT, _sN: _lT}), + (lambda: VALIDATION_WARNING, {_aQN: _Wa, _sN: _wa}), + ), +) + +CREATE_LAUNCH_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _CLT, + 0, + CREATE_LAUNCH_TEMPLATE_INPUT, + CREATE_LAUNCH_TEMPLATE_OUTPUT, + (), +) + +VALIDATION_ERROR: StaticSchema = ( + 18, + n0, + _VEa, + 0, + (_C, _Me), + ( + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +ERROR_SET: StaticSchema = (16, n0, _ESr, 0, (_me,), ((VALIDATION_ERROR, {_sN: _i}),)) + +VALIDATION_WARNING: StaticSchema = ( + 18, + n0, + _VW, + 0, + (_Er,), + ((ERROR_SET, {_aQN: _ESr, _sN: _eSr}),), +) + +CREATE_LAUNCH_TEMPLATE_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CLTVI, + {_sSI: _cCLTVR, _sm: None}, + (_DR, _CTl, _LTI, _LTN, _SVo, _VD, _LTD, _RAes), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.LAUNCH_TEMPLATE_ID, 0), + (lambda: schemas.LAUNCH_TEMPLATE_NAME, 0), + (lambda: schemas.STRING, 0), + (VERSION_DESCRIPTION, 0), + (REQUEST_LAUNCH_TEMPLATE_DATA, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_LAUNCH_TEMPLATE_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CLTVO, + {_sSI: _cCLTVRo, _smit: None}, + (_LTV, _Wa), + ( + (lambda: schemas.LAUNCH_TEMPLATE_VERSION, {_aQN: _LTV, _sN: _lTV}), + (VALIDATION_WARNING, {_aQN: _Wa, _sN: _wa}), + ), +) + +CREATE_LAUNCH_TEMPLATE_VERSION: StaticOperationSchema = ( + 23, + n0, + _CLTV, + 0, + CREATE_LAUNCH_TEMPLATE_VERSION_INPUT, + CREATE_LAUNCH_TEMPLATE_VERSION_OUTPUT, + (), +) + +LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE: StaticSchema = ( + 18, + n0, + _LTEBD, + 0, + (_En, _DOT, _Io, _KKI, _SIn, _VSol, _VT, _Th, _VIR, _ECI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.INTEGER, {_aQN: _Io, _sN: _iop}), + (lambda: schemas.KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), + (lambda: schemas.SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.INTEGER, {_aQN: _VSol, _sN: _vSo}), + (lambda: schemas.VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), + (lambda: schemas.INTEGER, {_aQN: _Th, _sN: _thr}), + (lambda: schemas.INTEGER, {_aQN: _VIR, _sN: _vIR}), + (lambda: schemas.INTEGER, {_aQN: _ECI, _sN: _eCI}), + ), +) + +LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING: StaticSchema = ( + 18, + n0, + _LTBDM, + 0, + (_DNe, _VN, _Eb, _ND), + ( + (lambda: schemas.STRING, {_aQN: _DNe, _sN: _dNe}), + (lambda: schemas.STRING, {_aQN: _VN, _sN: _vN}), + (LAUNCH_TEMPLATE_EBS_BLOCK_DEVICE, {_aQN: _Eb, _sN: _eb}), + (lambda: schemas.STRING, {_aQN: _ND, _sN: _nD}), + ), +) + +LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_LIST: StaticSchema = ( + 16, + n0, + _LTBDML, + 0, + (_me,), + ((LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING, {_sN: _i}),), +) + +CAPACITY_RESERVATION_TARGET_RESPONSE: StaticSchema = ( + 18, + n0, + _CRTR, + 0, + (_CRI, _CRRGAa), + ( + (lambda: schemas.STRING, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.STRING, {_aQN: _CRRGAa, _sN: _cRRGA}), + ), +) + +LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_RESPONSE: StaticSchema = ( + 18, + n0, + _LTCRSRa, + 0, + (_CRP, _CRTap), + ( + (lambda: schemas.CAPACITY_RESERVATION_PREFERENCE, {_aQN: _CRP, _sN: _cRP}), + (CAPACITY_RESERVATION_TARGET_RESPONSE, {_aQN: _CRTap, _sN: _cRT}), + ), +) + +LAUNCH_TEMPLATE_CPU_OPTIONS: StaticSchema = ( + 18, + n0, + _LTCO, + 0, + (_CCor, _TPC, _ASS, _NV), + ( + (lambda: schemas.INTEGER, {_aQN: _CCor, _sN: _cCor}), + (lambda: schemas.INTEGER, {_aQN: _TPC, _sN: _tPC}), + (lambda: schemas.AMD_SEV_SNP_SPECIFICATION, {_aQN: _ASS, _sN: _aSS}), + (lambda: schemas.NESTED_VIRTUALIZATION_SPECIFICATION, {_aQN: _NV, _sN: _nV}), + ), +) + +CREDIT_SPECIFICATION: StaticSchema = ( + 18, + n0, + _CSr, + 0, + (_CCp,), + ((lambda: schemas.STRING, {_aQN: _CCp, _sN: _cCp}),), +) + +ELASTIC_GPU_SPECIFICATION_RESPONSE: StaticSchema = ( + 18, + n0, + _EGSR, + 0, + (_Ty,), + ((lambda: schemas.STRING, {_aQN: _Ty, _sN: _ty}),), +) + +ELASTIC_GPU_SPECIFICATION_RESPONSE_LIST: StaticSchema = ( + 16, + n0, + _EGSRL, + 0, + (_me,), + ((ELASTIC_GPU_SPECIFICATION_RESPONSE, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE: StaticSchema = ( + 18, + n0, + _LTEIAR, + 0, + (_Ty, _Cou), + ( + (lambda: schemas.STRING, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.INTEGER, {_aQN: _Cou, _sN: _cou}), + ), +) + +LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE_LIST: StaticSchema = ( + 16, + n0, + _LTEIARL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_ENCLAVE_OPTIONS: StaticSchema = ( + 18, + n0, + _LTEO, + 0, + (_Ena,), + ((lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena}),), +) + +LAUNCH_TEMPLATE_HIBERNATION_OPTIONS: StaticSchema = ( + 18, + n0, + _LTHO, + 0, + (_Conf,), + ((lambda: schemas.BOOLEAN, {_aQN: _Conf, _sN: _conf}),), +) + +LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _LTIIPS, + 0, + (_Ar, _N), + ( + (lambda: schemas.STRING, {_aQN: _Ar, _sN: _ar}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + ), +) + +LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS: StaticSchema = ( + 18, + n0, + _LTSMO, + 0, + (_MP, _SITp, _BDMlo, _VU, _IIB), + ( + (lambda: schemas.STRING, {_aQN: _MP, _sN: _mP}), + (SPOT_INSTANCE_TYPE, {_aQN: _SITp, _sN: _sIT}), + (lambda: schemas.INTEGER, {_aQN: _BDMlo, _sN: _bDMl}), + (lambda: schemas.DATE_TIME, {_aQN: _VU, _sN: _vU}), + (INSTANCE_INTERRUPTION_BEHAVIOR, {_aQN: _IIB, _sN: _iIB}), + ), +) + +LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS: StaticSchema = ( + 18, + n0, + _LTIMO, + 0, + (_MTar, _SO), + ( + (MARKET_TYPE, {_aQN: _MTar, _sN: _mTa}), + (LAUNCH_TEMPLATE_SPOT_MARKET_OPTIONS, {_aQN: _SO, _sN: _sO}), + ), +) + +LAUNCH_TEMPLATE_LICENSE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LTLC, + 0, + (_LCA,), + ((lambda: schemas.STRING, {_aQN: _LCA, _sN: _lCA}),), +) + +LAUNCH_TEMPLATE_LICENSE_LIST: StaticSchema = ( + 16, + n0, + _LTLL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_LICENSE_CONFIGURATION, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS: StaticSchema = ( + 18, + n0, + _LTIMOa, + 0, + (_ARu,), + ((LAUNCH_TEMPLATE_AUTO_RECOVERY_STATE, {_aQN: _ARu, _sN: _aRu}),), +) + +LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_STATE: StaticSchema = ( + 14, + n0, + _LTIMOS, + 0, + (_p, _ap), + ((-1, {_sV: _p}), (-1, {_sV: _ap})), +) + +LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS: StaticSchema = ( + 18, + n0, + _LTIMOau, + 0, + (_St, _HTt, _HPRHL, _HE, _HPI, _IMT), + ( + (LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS_STATE, {_aQN: _St, _sN: _st}), + (LAUNCH_TEMPLATE_HTTP_TOKENS_STATE, {_aQN: _HTt, _sN: _hTt}), + (lambda: schemas.INTEGER, {_aQN: _HPRHL, _sN: _hPRHL}), + (LAUNCH_TEMPLATE_INSTANCE_METADATA_ENDPOINT_STATE, {_aQN: _HE, _sN: _hE}), + (LAUNCH_TEMPLATE_INSTANCE_METADATA_PROTOCOL_IPV6, {_aQN: _HPI, _sN: _hPI}), + (LAUNCH_TEMPLATE_INSTANCE_METADATA_TAGS_STATE, {_aQN: _IMT, _sN: _iMT}), + ), +) + +LAUNCH_TEMPLATES_MONITORING: StaticSchema = ( + 18, + n0, + _LTM, + 0, + (_Ena,), + ((lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena}),), +) + +CONNECTION_TRACKING_SPECIFICATION: StaticSchema = ( + 18, + n0, + _CTSo, + 0, + (_TET, _UTd, _UST), + ( + (lambda: schemas.INTEGER, {_aQN: _TET, _sN: _tET}), + (lambda: schemas.INTEGER, {_aQN: _UTd, _sN: _uTd}), + (lambda: schemas.INTEGER, {_aQN: _UST, _sN: _uST}), + ), +) + +LAUNCH_TEMPLATE_ENA_SRD_UDP_SPECIFICATION: StaticSchema = ( + 18, + n0, + _LTESUS, + 0, + (_ESUE,), + ((lambda: schemas.BOOLEAN, {_aQN: _ESUE, _sN: _eSUE}),), +) + +LAUNCH_TEMPLATE_ENA_SRD_SPECIFICATION: StaticSchema = ( + 18, + n0, + _LTESS, + 0, + (_ESE, _ESUS), + ( + (lambda: schemas.BOOLEAN, {_aQN: _ESE, _sN: _eSE}), + (LAUNCH_TEMPLATE_ENA_SRD_UDP_SPECIFICATION, {_aQN: _ESUS, _sN: _eSUS}), + ), +) + +IPV4_PREFIX_SPECIFICATION_RESPONSE: StaticSchema = ( + 18, + n0, + _IPSRpvr, + 0, + (_IPpvre,), + ((lambda: schemas.STRING, {_aQN: _IPpvre, _sN: _iPp}),), +) + +IPV4_PREFIX_LIST_RESPONSE: StaticSchema = ( + 16, + n0, + _IPLRp, + 0, + (_me,), + ((IPV4_PREFIX_SPECIFICATION_RESPONSE, {_sN: _i}),), +) + +INSTANCE_IPV6_ADDRESS: StaticSchema = ( + 18, + n0, + _IIA, + 0, + (_IApv, _IPIs), + ( + (lambda: schemas.STRING, {_aQN: _IApv, _sN: _iApv}), + (lambda: schemas.BOOLEAN, {_aQN: _IPIs, _sN: _iPIs}), + ), +) + +INSTANCE_IPV6_ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _IIAL, + 0, + (_me,), + ((INSTANCE_IPV6_ADDRESS, {_sN: _i}),), +) + +IPV6_PREFIX_SPECIFICATION_RESPONSE: StaticSchema = ( + 18, + n0, + _IPSRpvre, + 0, + (_IPpv,), + ((lambda: schemas.STRING, {_aQN: _IPpv, _sN: _iPpvr}),), +) + +IPV6_PREFIX_LIST_RESPONSE: StaticSchema = ( + 16, + n0, + _IPLRpv, + 0, + (_me,), + ((IPV6_PREFIX_SPECIFICATION_RESPONSE, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _LTINIS, + 0, + ( + _ACIA, + _APIAsso, + _DOT, + _Des, + _DI, + _G, + _ITnte, + _IAC, + _IAp, + _NII, + _PIAr, + _PIAri, + _SPIAC, + _SIu, + _NCI, + _IPpvr, + _IPCp, + _IPp, + _IPC, + _PIrim, + _ESS, + _CTSo, + _EQC, + ), + ( + (lambda: schemas.BOOLEAN, {_aQN: _ACIA, _sN: _aCIA}), + (lambda: schemas.BOOLEAN, {_aQN: _APIAsso, _sN: _aPIA}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.INTEGER, {_aQN: _DI, _sN: _dI}), + (lambda: schemas.GROUP_ID_STRING_LIST, {_aQN: _GS, _sN: _gS}), + (lambda: schemas.STRING, {_aQN: _ITnte, _sN: _iTnt}), + (lambda: schemas.INTEGER, {_aQN: _IAC, _sN: _iAC}), + (INSTANCE_IPV6_ADDRESS_LIST, {_aQN: _IAS, _sN: _iAS}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + (PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, {_aQN: _PIASr, _sN: _pIAS}), + (lambda: schemas.INTEGER, {_aQN: _SPIAC, _sN: _sPIAC}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.INTEGER, {_aQN: _NCI, _sN: _nCI}), + (IPV4_PREFIX_LIST_RESPONSE, {_aQN: _IPSpv, _sN: _iPS}), + (lambda: schemas.INTEGER, {_aQN: _IPCp, _sN: _iPC}), + (IPV6_PREFIX_LIST_RESPONSE, {_aQN: _IPSpvr, _sN: _iPSp}), + (lambda: schemas.INTEGER, {_aQN: _IPC, _sN: _iPCp}), + (lambda: schemas.BOOLEAN, {_aQN: _PIrim, _sN: _pIri}), + (LAUNCH_TEMPLATE_ENA_SRD_SPECIFICATION, {_aQN: _ESS, _sN: _eSS}), + (CONNECTION_TRACKING_SPECIFICATION, {_aQN: _CTSo, _sN: _cTSo}), + (lambda: schemas.INTEGER, {_aQN: _EQC, _sN: _eQC}), + ), +) + +LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _LTINISL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS: StaticSchema = ( + 18, + n0, + _LTNPO, + 0, + (_BW,), + ((INSTANCE_BANDWIDTH_WEIGHTING, {_aQN: _BW, _sN: _bW}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_13.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_13.py new file mode 100644 index 000000000..073b76084 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_13.py @@ -0,0 +1,1429 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_TS = "TagSpecification" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_AI = "AllocationId" +_smit = "smithy.api#output" +_av = "available" +_de = "deleting" +_del = "deleted" +_St = "State" +_st = "state" +_fa = "failed" +_SIu = "SubnetId" +_sI = "subnetId" +_OIw = "OwnerId" +_oI = "ownerId" +_mo = "modifying" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_VEI = "VpcEndpointId" +_act = "active" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_DPLI = "DestinationPrefixListId" +_dPLI = "destinationPrefixListId" +_II = "InstanceId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_LGI = "LocalGatewayId" +_lGI = "localGatewayId" +_PLI = "PrefixListId" +_pLI = "prefixListId" +_NG = "NatGateway" +_nG = "natGateway" +_PL = "PrefixList" +_pL = "prefixList" +_SGe = "SecurityGroups" +_SGS = "SecurityGroupSet" +_sGS = "securityGroupSet" +_ena = "enabled" +_Mo = "Mode" +_mod = "mode" +_IT = "InstanceType" +_iT = "instanceType" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_AF = "AddressFamily" +_Af = "Affinity" +_OA = "OutpostArn" +_CO = "CpuOptions" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_AIl = "AllocationIds" +_SGIe = "SecurityGroupIds" +_PIAri = "PrivateIpAddresses" +_SPIAC = "SecondaryPrivateIpAddressCount" +_PIAC = "PrivateIpAddressCount" +_FAILED = "FAILED" +_FM = "FailureMessage" +_fM = "failureMessage" +_IIP = "IamInstanceProfile" +_iIP = "iamInstanceProfile" +_rip = "restore-in-progress" +_GIr = "GroupId" +_pu = "public" +_priv = "private" +_gIr = "groupId" +_IIm = "ImageId" +_NCI = "NetworkCardIndex" +_DI = "DeviceIndex" +_dI = "deviceIndex" +_nCI = "networkCardIndex" +_at = "attaching" +_att = "attached" +_det = "detaching" +_deta = "detached" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_GN = "GroupName" +_gN = "groupName" +_SMta = "StateMessage" +_sMta = "stateMessage" +_MODIFYING = "MODIFYING" +_compl = "completed" +_iIm = "imageId" +_oA = "outpostArn" +_Op = "Operator" +_ope = "operator" +_CTr = "CreateTime" +_cTr = "createTime" +_PRIVATE = "PRIVATE" +_Ten = "Tenancy" +_EO = "EbsOptimized" +_ten = "tenancy" +_eO = "ebsOptimized" +_IRn = "InstanceRequirements" +_Ty = "Type" +_DCB = "DestinationCidrBlock" +_CPIo = "CoipPoolId" +_cPI = "coipPoolId" +_LGRTI = "LocalGatewayRouteTableId" +_lGRTI = "localGatewayRouteTableId" +_ty = "type" +_HT = "HostnameType" +_hT = "hostnameType" +_ERNDAR = "EnableResourceNameDnsARecord" +_eRNDAR = "enableResourceNameDnsARecord" +_ERNDAAAAR = "EnableResourceNameDnsAAAARecord" +_eRNDAAAAR = "enableResourceNameDnsAAAARecord" +_df___ = "delete_failed" +_df____ = "delete-failed" +_MCa = "MacCredentials" +_MSIPC = "MacSystemIntegrityProtectionConfiguration" +_AIp = "AppleInternal" +_BSa = "BaseSystem" +_DReb = "DebuggingRestrictions" +_DTR = "DTraceRestrictions" +_FPi = "FilesystemProtections" +_KS = "KextSigning" +_NP = "NvramProtections" +_MMT = "MacModificationTask" +_mMT = "macModificationTask" +_LTI = "LaunchTemplateId" +_LTN = "LaunchTemplateName" +_Ve = "Version" +_DISABLED = "DISABLED" +_ENABLED = "ENABLED" +_Pl = "Placement" +_aff = "affinity" +_PNa = "PartitionNumber" +_pN = "partitionNumber" +_HIo = "HostId" +_hI = "hostId" +_SDp = "SpreadDomain" +_sDp = "spreadDomain" +_HRGA = "HostResourceGroupArn" +_hRGA = "hostResourceGroupArn" +_KN = "KeyName" +_BDMl = "BlockDeviceMappings" +_MO = "MetadataOptions" +_lTI = "launchTemplateId" +_lTN = "launchTemplateName" +_ver = "version" +_pla = "placement" +_iRn = "instanceRequirements" +_BDMS = "BlockDeviceMappingSet" +_bDMS = "blockDeviceMappingSet" +_REGIONAL = "REGIONAL" +_regi = "regional" +_SGIS = "SecurityGroupIdSet" +_cip = "create_in_progress" +_cip_ = "create-in-progress" +_cc_ = "create_complete" +_cc__ = "create-complete" +_cf________________________ = "create_failed" +_cf_________________________ = "create-failed" +_dip_ = "delete_in_progress" +_dip__ = "delete-in-progress" +_dc_ = "delete_complete" +_dc__ = "delete-complete" +_sGIS = "securityGroupIdSet" +_mip__ = "modify_in_progress" +_mip___ = "modify-in-progress" +_mc = "modify_complete" +_mc_ = "modify-complete" +_mf__________________________ = "modify_failed" +_mf___________________________ = "modify-failed" +_rip_ = "restore_in_progress" +_aF = "addressFamily" +_IPLRTI = "IpamPrefixListResolverTargetId" +_iPLRTI = "ipamPrefixListResolverTargetId" +_kN = "keyName" +_KI = "KernelId" +_ITnte = "InterfaceType" +_SIPIAS = "SecondaryInterfacePrivateIpAddressSpecification" +_SSIe = "SecondarySubnetId" +_NIe = "NetworkInterfaces" +_Mon = "Monitoring" +_RDI = "RamDiskId" +_DAT = "DisableApiTermination" +_IISB = "InstanceInitiatedShutdownBehavior" +_UDs = "UserData" +_EGSl = "ElasticGpuSpecifications" +_EIA = "ElasticInferenceAccelerators" +_IMO = "InstanceMarketOptions" +_CSr = "CreditSpecification" +_CRSa = "CapacityReservationSpecification" +_LSic = "LicenseSpecifications" +_HO = "HibernationOptions" +_EOn = "EnclaveOptions" +_PDNO = "PrivateDnsNameOptions" +_MOa = "MaintenanceOptions" +_DASi = "DisableApiStop" +_NPO = "NetworkPerformanceOptions" +_SIec = "SecondaryInterfaces" +_VD = "VersionDescription" +_LTD = "LaunchTemplateData" +_CBr = "CreatedBy" +_cBr = "createdBy" +_iTnt = "interfaceType" +_PIASr = "PrivateIpAddressesSet" +_pIAS = "privateIpAddressesSet" +_LTP = "LaunchTemplatePlacement" +_LTPDNO = "LaunchTemplatePrivateDnsNameOptions" +_SIPIASL = "SecondaryInterfacePrivateIpAddressSpecificationList" +_LTISIS = "LaunchTemplateInstanceSecondaryInterfaceSpecification" +_pIAC = "privateIpAddressCount" +_sSIe = "secondarySubnetId" +_LTISISL = "LaunchTemplateInstanceSecondaryInterfaceSpecificationList" +_LTTS = "LaunchTemplateTagSpecification" +_LTTSL = "LaunchTemplateTagSpecificationList" +_RLTDe = "ResponseLaunchTemplateData" +_kI = "kernelId" +_NIS = "NetworkInterfaceSet" +_nIS = "networkInterfaceSet" +_monit = "monitoring" +_rDI = "ramDiskId" +_dAT = "disableApiTermination" +_iISB = "instanceInitiatedShutdownBehavior" +_uDs = "userData" +_TSS = "TagSpecificationSet" +_tSS = "tagSpecificationSet" +_EGSS = "ElasticGpuSpecificationSet" +_eGSS = "elasticGpuSpecificationSet" +_EIAS = "ElasticInferenceAcceleratorSet" +_eIAS = "elasticInferenceAcceleratorSet" +_iMO = "instanceMarketOptions" +_cSr = "creditSpecification" +_cOp = "cpuOptions" +_cRS = "capacityReservationSpecification" +_LSicen = "LicenseSet" +_lSi = "licenseSet" +_hO = "hibernationOptions" +_mO = "metadataOptions" +_eOn = "enclaveOptions" +_pDNO = "privateDnsNameOptions" +_mOa = "maintenanceOptions" +_dASi = "disableApiStop" +_nPO = "networkPerformanceOptions" +_SIS = "SecondaryInterfaceSet" +_sIS = "secondaryInterfaceSet" +_LTV = "LaunchTemplateVersion" +_VNe = "VersionNumber" +_vNe = "versionNumber" +_vD = "versionDescription" +_DVef = "DefaultVersion" +_dVef = "defaultVersion" +_lTD = "launchTemplateData" +_LGVIGI = "LocalGatewayVirtualInterfaceGroupId" +_CLGRI = "CreateLocalGatewayRouteInput" +_cCLGRR = "com.amazonaws.ec2#CreateLocalGatewayRouteRequest" +_LGRS = "LocalGatewayRouteState" +_bl = "blackhole" +_LGRT = "LocalGatewayRouteType" +_stat = "static" +_prop = "propagated" +_LGR = "LocalGatewayRoute" +_dCB = "destinationCidrBlock" +_lGVIGI = "localGatewayVirtualInterfaceGroupId" +_LGRTA = "LocalGatewayRouteTableArn" +_lGRTA = "localGatewayRouteTableArn" +_CLGRO = "CreateLocalGatewayRouteOutput" +_cCLGRRo = "com.amazonaws.ec2#CreateLocalGatewayRouteResult" +_Rou = "Route" +_rou = "route" +_CLGR = "CreateLocalGatewayRoute" +_LGRTM = "LocalGatewayRouteTableMode" +_dvr = "direct_vpc_routing" +_dvr_ = "direct-vpc-routing" +_coi = "coip" +_CLGRTI = "CreateLocalGatewayRouteTableInput" +_cCLGRTR = "com.amazonaws.ec2#CreateLocalGatewayRouteTableRequest" +_SRt = "StateReason" +_LGRTo = "LocalGatewayRouteTable" +_sRt = "stateReason" +_CLGRTO = "CreateLocalGatewayRouteTableOutput" +_cCLGRTRo = "com.amazonaws.ec2#CreateLocalGatewayRouteTableResult" +_lGRT = "localGatewayRouteTable" +_CLGRT = "CreateLocalGatewayRouteTable" +_CLGRTVIGAI = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput" +_cCLGRTVIGAR = "com.amazonaws.ec2#CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest" +_LGRTVIGAI = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationId" +_LGRTVIGA = "LocalGatewayRouteTableVirtualInterfaceGroupAssociation" +_lGRTVIGAI = "localGatewayRouteTableVirtualInterfaceGroupAssociationId" +_CLGRTVIGAO = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput" +_cCLGRTVIGARo = "com.amazonaws.ec2#CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult" +_lGRTVIGA = "localGatewayRouteTableVirtualInterfaceGroupAssociation" +_CLGRTVIGA = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation" +_CLGRTVAI = "CreateLocalGatewayRouteTableVpcAssociationInput" +_cCLGRTVAR = "com.amazonaws.ec2#CreateLocalGatewayRouteTableVpcAssociationRequest" +_LGRTVAI = "LocalGatewayRouteTableVpcAssociationId" +_LGRTVA = "LocalGatewayRouteTableVpcAssociation" +_lGRTVAI = "localGatewayRouteTableVpcAssociationId" +_CLGRTVAO = "CreateLocalGatewayRouteTableVpcAssociationOutput" +_cCLGRTVARo = "com.amazonaws.ec2#CreateLocalGatewayRouteTableVpcAssociationResult" +_lGRTVA = "localGatewayRouteTableVpcAssociation" +_CLGRTVA = "CreateLocalGatewayRouteTableVpcAssociation" +_OLI = "OutpostLagId" +_CLGVII = "CreateLocalGatewayVirtualInterfaceInput" +_cCLGVIR = "com.amazonaws.ec2#CreateLocalGatewayVirtualInterfaceRequest" +_Vl = "Vlan" +_LA = "LocalAddress" +_PAe = "PeerAddress" +_PBA = "PeerBgpAsn" +_PBAE = "PeerBgpAsnExtended" +_LGVICS = "LocalGatewayVirtualInterfaceConfigurationState" +_LGVII = "LocalGatewayVirtualInterfaceId" +_LGVI = "LocalGatewayVirtualInterface" +_lGVII = "localGatewayVirtualInterfaceId" +_LGVIA = "LocalGatewayVirtualInterfaceArn" +_lGVIA = "localGatewayVirtualInterfaceArn" +_oLI = "outpostLagId" +_vl = "vlan" +_lA = "localAddress" +_pAe = "peerAddress" +_LBAo = "LocalBgpAsn" +_lBAo = "localBgpAsn" +_pBA = "peerBgpAsn" +_pBAE = "peerBgpAsnExtended" +_CSon = "ConfigurationState" +_cSo = "configurationState" +_CLGVIO = "CreateLocalGatewayVirtualInterfaceOutput" +_cCLGVIRo = "com.amazonaws.ec2#CreateLocalGatewayVirtualInterfaceResult" +_lGVI = "localGatewayVirtualInterface" +_CLGVI = "CreateLocalGatewayVirtualInterface" +_CLGVIGI = "CreateLocalGatewayVirtualInterfaceGroupInput" +_cCLGVIGR = "com.amazonaws.ec2#CreateLocalGatewayVirtualInterfaceGroupRequest" +_LBAE = "LocalBgpAsnExtended" +_LGVIGCS = "LocalGatewayVirtualInterfaceGroupConfigurationState" +_inco = "incomplete" +_LGVIIS = "LocalGatewayVirtualInterfaceIdSet" +_LGVIG = "LocalGatewayVirtualInterfaceGroup" +_LGVIIo = "LocalGatewayVirtualInterfaceIds" +_lGVIIS = "localGatewayVirtualInterfaceIdSet" +_lBAE = "localBgpAsnExtended" +_LGVIGA = "LocalGatewayVirtualInterfaceGroupArn" +_lGVIGA = "localGatewayVirtualInterfaceGroupArn" +_CLGVIGO = "CreateLocalGatewayVirtualInterfaceGroupOutput" +_cCLGVIGRo = "com.amazonaws.ec2#CreateLocalGatewayVirtualInterfaceGroupResult" +_lGVIG = "localGatewayVirtualInterfaceGroup" +_CLGVIG = "CreateLocalGatewayVirtualInterfaceGroup" +_MSIPCR = "MacSystemIntegrityProtectionConfigurationRequest" +_CMSIPMTI = "CreateMacSystemIntegrityProtectionModificationTaskInput" +_cCMSIPMTR = ( + "com.amazonaws.ec2#CreateMacSystemIntegrityProtectionModificationTaskRequest" +) +_MSIPS = "MacSystemIntegrityProtectionStatus" +_CMSIPMTO = "CreateMacSystemIntegrityProtectionModificationTaskOutput" +_cCMSIPMTRo = ( + "com.amazonaws.ec2#CreateMacSystemIntegrityProtectionModificationTaskResult" +) +_CMSIPMT = "CreateMacSystemIntegrityProtectionModificationTask" +_CMPLI = "CreateManagedPrefixListInput" +_cCMPLR = "com.amazonaws.ec2#CreateManagedPrefixListRequest" +_PLN = "PrefixListName" +_Ent = "Entries" +_Entr = "Entry" +_ME = "MaxEntries" +_PLS = "PrefixListState" +_rc_ = "restore_complete" +_rc__ = "restore-complete" +_rf____________ = "restore_failed" +_rf_____________ = "restore-failed" +_MPL = "ManagedPrefixList" +_PLA = "PrefixListArn" +_pLA = "prefixListArn" +_pLN = "prefixListName" +_mE = "maxEntries" +_IPLRSE = "IpamPrefixListResolverSyncEnabled" +_iPLRSE = "ipamPrefixListResolverSyncEnabled" +_CMPLO = "CreateManagedPrefixListOutput" +_cCMPLRo = "com.amazonaws.ec2#CreateManagedPrefixListResult" +_CMPL = "CreateManagedPrefixList" +_AMv = "AvailabilityMode" +_ZONAL = "ZONAL" +_zo = "zonal" +_AZA = "AvailabilityZoneAddress" +_AZAv = "AvailabilityZoneAddresses" +_CTo = "ConnectivityType" +_PUBLIC = "PUBLIC" +_CNGI = "CreateNatGatewayInput" +_cCNGR = "com.amazonaws.ec2#CreateNatGatewayRequest" +_SAI = "SecondaryAllocationIds" +_SAIe = "SecondaryAllocationId" +_SPIA = "SecondaryPrivateIpAddresses" +_SPIAe = "SecondaryPrivateIpAddress" +_NGASat = "NatGatewayApplianceState" +_ATTACHING = "ATTACHING" +_ATTACHED = "ATTACHED" +_DETACHING = "DETACHING" +_DETACHED = "DETACHED" +_AF__ = "ATTACH_FAILED" +_af___ = "attach-failed" +_DF__ = "DETACH_FAILED" +_df_______ = "detach-failed" +_NGAMS = "NatGatewayApplianceModifyState" +_COMPLETED = "COMPLETED" +_NGAT = "NatGatewayApplianceType" +_NFP = "NETWORK_FIREWALL_PROXY" +_nfp = "network-firewall-proxy" +_NGAA = "NatGatewayAttachedAppliance" +_AAp = "ApplianceArn" +_aAp = "applianceArn" +_vEI = "vpcEndpointId" +_AStta = "AttachmentState" +_aStt = "attachmentState" +_MSo = "ModificationState" +_mS = "modificationState" +_FCa = "FailureCode" +_fCa = "failureCode" +_NGAAL = "NatGatewayAttachedApplianceList" +_APZS = "AutoProvisionZonesState" +_CNGO = "CreateNatGatewayOutput" +_cCNGRo = "com.amazonaws.ec2#CreateNatGatewayResult" +_CNG = "CreateNatGateway" + +LAUNCH_TEMPLATE_PLACEMENT: StaticSchema = ( + 18, + n0, + _LTP, + 0, + (_AZ, _AZI, _Af, _GN, _HIo, _Ten, _SDp, _HRGA, _PNa, _GIr), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _Af, _sN: _aff}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (lambda: schemas.STRING, {_aQN: _HIo, _sN: _hI}), + (lambda: schemas.TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: schemas.STRING, {_aQN: _SDp, _sN: _sDp}), + (lambda: schemas.STRING, {_aQN: _HRGA, _sN: _hRGA}), + (lambda: schemas.INTEGER, {_aQN: _PNa, _sN: _pN}), + (lambda: schemas.PLACEMENT_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), + ), +) + +LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS: StaticSchema = ( + 18, + n0, + _LTPDNO, + 0, + (_HT, _ERNDAR, _ERNDAAAAR), + ( + (lambda: schemas.HOSTNAME_TYPE, {_aQN: _HT, _sN: _hT}), + (lambda: schemas.BOOLEAN, {_aQN: _ERNDAR, _sN: _eRNDAR}), + (lambda: schemas.BOOLEAN, {_aQN: _ERNDAAAAR, _sN: _eRNDAAAAR}), + ), +) + +SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION: StaticSchema = ( + 18, + n0, + _SIPIAS, + 0, + (_PIAr,), + ((lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}),), +) + +SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _SIPIASL, + 0, + (_me,), + ((SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _LTISIS, + 0, + (_DOT, _DI, _PIAri, _PIAC, _SSIe, _ITnte, _NCI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.INTEGER, {_aQN: _DI, _sN: _dI}), + ( + SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, + {_aQN: _PIASr, _sN: _pIAS}, + ), + (lambda: schemas.INTEGER, {_aQN: _PIAC, _sN: _pIAC}), + (lambda: schemas.SECONDARY_SUBNET_ID, {_aQN: _SSIe, _sN: _sSIe}), + (lambda: schemas.SECONDARY_INTERFACE_TYPE, {_aQN: _ITnte, _sN: _iTnt}), + (lambda: schemas.INTEGER, {_aQN: _NCI, _sN: _nCI}), + ), +) + +LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _LTISISL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_TAG_SPECIFICATION: StaticSchema = ( + 18, + n0, + _LTTS, + 0, + (_RT, _Tag), + ( + (lambda: schemas.RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +LAUNCH_TEMPLATE_TAG_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _LTTSL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_TAG_SPECIFICATION, {_sN: _i}),), +) + +RESPONSE_LAUNCH_TEMPLATE_DATA: StaticSchema = ( + 18, + n0, + _RLTDe, + 0, + ( + _KI, + _EO, + _IIP, + _BDMl, + _NIe, + _IIm, + _IT, + _KN, + _Mon, + _Pl, + _RDI, + _DAT, + _IISB, + _UDs, + _TSa, + _EGSl, + _EIA, + _SGIe, + _SGe, + _IMO, + _CSr, + _CO, + _CRSa, + _LSic, + _HO, + _MO, + _EOn, + _IRn, + _PDNO, + _MOa, + _DASi, + _Op, + _NPO, + _SIec, + ), + ( + (lambda: schemas.STRING, {_aQN: _KI, _sN: _kI}), + (lambda: schemas.BOOLEAN, {_aQN: _EO, _sN: _eO}), + ( + lambda: schemas.LAUNCH_TEMPLATE_IAM_INSTANCE_PROFILE_SPECIFICATION, + {_aQN: _IIP, _sN: _iIP}, + ), + ( + lambda: schemas.LAUNCH_TEMPLATE_BLOCK_DEVICE_MAPPING_LIST, + {_aQN: _BDMS, _sN: _bDMS}, + ), + ( + lambda: ( + schemas.LAUNCH_TEMPLATE_INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST + ), + {_aQN: _NIS, _sN: _nIS}, + ), + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _KN, _sN: _kN}), + (lambda: schemas.LAUNCH_TEMPLATES_MONITORING, {_aQN: _Mon, _sN: _monit}), + (LAUNCH_TEMPLATE_PLACEMENT, {_aQN: _Pl, _sN: _pla}), + (lambda: schemas.STRING, {_aQN: _RDI, _sN: _rDI}), + (lambda: schemas.BOOLEAN, {_aQN: _DAT, _sN: _dAT}), + (lambda: schemas.SHUTDOWN_BEHAVIOR, {_aQN: _IISB, _sN: _iISB}), + (lambda: schemas.SENSITIVE_USER_DATA, {_aQN: _UDs, _sN: _uDs}), + (LAUNCH_TEMPLATE_TAG_SPECIFICATION_LIST, {_aQN: _TSS, _sN: _tSS}), + ( + lambda: schemas.ELASTIC_GPU_SPECIFICATION_RESPONSE_LIST, + {_aQN: _EGSS, _sN: _eGSS}, + ), + ( + lambda: schemas.LAUNCH_TEMPLATE_ELASTIC_INFERENCE_ACCELERATOR_RESPONSE_LIST, + {_aQN: _EIAS, _sN: _eIAS}, + ), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SGIS, _sN: _sGIS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SGS, _sN: _sGS}), + ( + lambda: schemas.LAUNCH_TEMPLATE_INSTANCE_MARKET_OPTIONS, + {_aQN: _IMO, _sN: _iMO}, + ), + (lambda: schemas.CREDIT_SPECIFICATION, {_aQN: _CSr, _sN: _cSr}), + (lambda: schemas.LAUNCH_TEMPLATE_CPU_OPTIONS, {_aQN: _CO, _sN: _cOp}), + ( + lambda: schemas.LAUNCH_TEMPLATE_CAPACITY_RESERVATION_SPECIFICATION_RESPONSE, + {_aQN: _CRSa, _sN: _cRS}, + ), + (lambda: schemas.LAUNCH_TEMPLATE_LICENSE_LIST, {_aQN: _LSicen, _sN: _lSi}), + (lambda: schemas.LAUNCH_TEMPLATE_HIBERNATION_OPTIONS, {_aQN: _HO, _sN: _hO}), + ( + lambda: schemas.LAUNCH_TEMPLATE_INSTANCE_METADATA_OPTIONS, + {_aQN: _MO, _sN: _mO}, + ), + (lambda: schemas.LAUNCH_TEMPLATE_ENCLAVE_OPTIONS, {_aQN: _EOn, _sN: _eOn}), + (lambda: schemas.INSTANCE_REQUIREMENTS, {_aQN: _IRn, _sN: _iRn}), + (LAUNCH_TEMPLATE_PRIVATE_DNS_NAME_OPTIONS, {_aQN: _PDNO, _sN: _pDNO}), + ( + lambda: schemas.LAUNCH_TEMPLATE_INSTANCE_MAINTENANCE_OPTIONS, + {_aQN: _MOa, _sN: _mOa}, + ), + (lambda: schemas.BOOLEAN, {_aQN: _DASi, _sN: _dASi}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + ( + lambda: schemas.LAUNCH_TEMPLATE_NETWORK_PERFORMANCE_OPTIONS, + {_aQN: _NPO, _sN: _nPO}, + ), + ( + LAUNCH_TEMPLATE_INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST, + {_aQN: _SIS, _sN: _sIS}, + ), + ), +) + +LAUNCH_TEMPLATE_VERSION: StaticSchema = ( + 18, + n0, + _LTV, + 0, + (_LTI, _LTN, _VNe, _VD, _CTr, _CBr, _DVef, _LTD, _Op), + ( + (lambda: schemas.STRING, {_aQN: _LTI, _sN: _lTI}), + (lambda: schemas.LAUNCH_TEMPLATE_NAME, {_aQN: _LTN, _sN: _lTN}), + (lambda: schemas.LONG, {_aQN: _VNe, _sN: _vNe}), + (lambda: schemas.VERSION_DESCRIPTION, {_aQN: _VD, _sN: _vD}), + (lambda: schemas.DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.STRING, {_aQN: _CBr, _sN: _cBr}), + (lambda: schemas.BOOLEAN, {_aQN: _DVef, _sN: _dVef}), + (RESPONSE_LAUNCH_TEMPLATE_DATA, {_aQN: _LTD, _sN: _lTD}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + ), +) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID: StaticSchema = (3, n0, _LGVIGI, 0) + +CREATE_LOCAL_GATEWAY_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _CLGRI, + {_sSI: _cCLGRR, _sm: None}, + (_DCB, _LGRTI, _LGVIGI, _DR, _NII, _DPLI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, 1), + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.NETWORK_INTERFACE_ID, 0), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 0), + ), +) + +CREATE_LOCAL_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _CLGRO, + {_sSI: _cCLGRRo, _smit: None}, + (_Rou,), + ((lambda: LOCAL_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), +) + +CREATE_LOCAL_GATEWAY_ROUTE: StaticOperationSchema = ( + 23, + n0, + _CLGR, + 0, + CREATE_LOCAL_GATEWAY_ROUTE_INPUT, + CREATE_LOCAL_GATEWAY_ROUTE_OUTPUT, + (), +) + +LOCAL_GATEWAY_ROUTE_STATE: StaticSchema = ( + 14, + n0, + _LGRS, + 0, + (_p, _act, _bl, _de, _del), + ( + (-1, {_sV: _p}), + (-1, {_sV: _act}), + (-1, {_sV: _bl}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + ), +) + +LOCAL_GATEWAY_ROUTE_TYPE: StaticSchema = ( + 14, + n0, + _LGRT, + 0, + (_stat, _prop), + ((-1, {_sV: _stat}), (-1, {_sV: _prop})), +) + +LOCAL_GATEWAY_ROUTE: StaticSchema = ( + 18, + n0, + _LGR, + 0, + (_DCB, _LGVIGI, _Ty, _St, _LGRTI, _LGRTA, _OIw, _SIu, _CPIo, _NII, _DPLI), + ( + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_aQN: _LGVIGI, _sN: _lGVIGI}), + (LOCAL_GATEWAY_ROUTE_TYPE, {_aQN: _Ty, _sN: _ty}), + (LOCAL_GATEWAY_ROUTE_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, {_aQN: _LGRTI, _sN: _lGRTI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _LGRTA, _sN: _lGRTA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.COIP_POOL_ID, {_aQN: _CPIo, _sN: _cPI}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, {_aQN: _DPLI, _sN: _dPLI}), + ), +) + +LOCAL_GATEWAY_ID: StaticSchema = (3, n0, _LGI, 0) + +LOCAL_GATEWAY_ROUTE_TABLE_MODE: StaticSchema = ( + 14, + n0, + _LGRTM, + 0, + (_dvr, _coi), + ((-1, {_sV: _dvr_}), (-1, {_sV: _coi})), +) + +CREATE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _CLGRTI, + {_sSI: _cCLGRTR, _sm: None}, + (_LGI, _Mo, _TSa, _DR), + ( + (LOCAL_GATEWAY_ID, 1), + (LOCAL_GATEWAY_ROUTE_TABLE_MODE, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _CLGRTO, + {_sSI: _cCLGRTRo, _smit: None}, + (_LGRTo,), + ((lambda: LOCAL_GATEWAY_ROUTE_TABLE, {_aQN: _LGRTo, _sN: _lGRT}),), +) + +CREATE_LOCAL_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _CLGRT, + 0, + CREATE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT, + CREATE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT, + (), +) + +STATE_REASON: StaticSchema = ( + 18, + n0, + _SRt, + 0, + (_C, _Me), + ( + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +LOCAL_GATEWAY_ROUTE_TABLE: StaticSchema = ( + 18, + n0, + _LGRTo, + 0, + (_LGRTI, _LGRTA, _LGI, _OA, _OIw, _St, _Tag, _Mo, _SRt), + ( + (lambda: schemas.STRING, {_aQN: _LGRTI, _sN: _lGRTI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _LGRTA, _sN: _lGRTA}), + (LOCAL_GATEWAY_ID, {_aQN: _LGI, _sN: _lGI}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (LOCAL_GATEWAY_ROUTE_TABLE_MODE, {_aQN: _Mo, _sN: _mod}), + (STATE_REASON, {_aQN: _SRt, _sN: _sRt}), + ), +) + +CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _CLGRTVIGAI, + {_sSI: _cCLGRTVIGAR, _sm: None}, + (_LGRTI, _LGVIGI, _TSa, _DR), + ( + (lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, 1), + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CLGRTVIGAO, + {_sSI: _cCLGRTVIGARo, _smit: None}, + (_LGRTVIGA,), + ( + ( + lambda: LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION, + {_aQN: _LGRTVIGA, _sN: _lGRTVIGA}, + ), + ), +) + +CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _CLGRTVIGA, + 0, + CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT, + CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT, + (), +) + +LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID: StaticSchema = ( + 3, + n0, + _LGRTVIGAI, + 0, +) + +LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION: StaticSchema = ( + 18, + n0, + _LGRTVIGA, + 0, + (_LGRTVIGAI, _LGVIGI, _LGI, _LGRTI, _LGRTA, _OIw, _St, _Tag), + ( + ( + LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID, + {_aQN: _LGRTVIGAI, _sN: _lGRTVIGAI}, + ), + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_aQN: _LGVIGI, _sN: _lGVIGI}), + (lambda: schemas.STRING, {_aQN: _LGI, _sN: _lGI}), + (LOCAL_GATEWAY_ID, {_aQN: _LGRTI, _sN: _lGRTI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _LGRTA, _sN: _lGRTA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _CLGRTVAI, + {_sSI: _cCLGRTVAR, _sm: None}, + (_LGRTI, _VI, _TSa, _DR), + ( + (lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, 1), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CLGRTVAO, + {_sSI: _cCLGRTVARo, _smit: None}, + (_LGRTVA,), + ( + ( + lambda: LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION, + {_aQN: _LGRTVA, _sN: _lGRTVA}, + ), + ), +) + +CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _CLGRTVA, + 0, + CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT, + CREATE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT, + (), +) + +LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID: StaticSchema = (3, n0, _LGRTVAI, 0) + +LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION: StaticSchema = ( + 18, + n0, + _LGRTVA, + 0, + (_LGRTVAI, _LGRTI, _LGRTA, _LGI, _VI, _OIw, _St, _Tag), + ( + (LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID, {_aQN: _LGRTVAI, _sN: _lGRTVAI}), + (lambda: schemas.STRING, {_aQN: _LGRTI, _sN: _lGRTI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _LGRTA, _sN: _lGRTA}), + (lambda: schemas.STRING, {_aQN: _LGI, _sN: _lGI}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +OUTPOST_LAG_ID: StaticSchema = (3, n0, _OLI, 0) + +CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT: StaticSchema = ( + 18, + n0, + _CLGVII, + {_sSI: _cCLGVIR, _sm: None}, + (_LGVIGI, _OLI, _Vl, _LA, _PAe, _PBA, _TSa, _DR, _PBAE), + ( + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 1), + (OUTPOST_LAG_ID, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.LONG, 0), + ), +) + +CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT: StaticSchema = ( + 18, + n0, + _CLGVIO, + {_sSI: _cCLGVIRo, _smit: None}, + (_LGVI,), + ((lambda: LOCAL_GATEWAY_VIRTUAL_INTERFACE, {_aQN: _LGVI, _sN: _lGVI}),), +) + +CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE: StaticOperationSchema = ( + 23, + n0, + _CLGVI, + 0, + CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT, + CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT, + (), +) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE_CONFIGURATION_STATE: StaticSchema = ( + 14, + n0, + _LGVICS, + 0, + (_p, _av, _de, _del), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), +) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID: StaticSchema = (3, n0, _LGVII, 0) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE: StaticSchema = ( + 18, + n0, + _LGVI, + 0, + ( + _LGVII, + _LGI, + _LGVIGI, + _LGVIA, + _OLI, + _Vl, + _LA, + _PAe, + _LBAo, + _PBA, + _PBAE, + _OIw, + _Tag, + _CSon, + ), + ( + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID, {_aQN: _LGVII, _sN: _lGVII}), + (lambda: schemas.STRING, {_aQN: _LGI, _sN: _lGI}), + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_aQN: _LGVIGI, _sN: _lGVIGI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _LGVIA, _sN: _lGVIA}), + (lambda: schemas.STRING, {_aQN: _OLI, _sN: _oLI}), + (lambda: schemas.INTEGER, {_aQN: _Vl, _sN: _vl}), + (lambda: schemas.STRING, {_aQN: _LA, _sN: _lA}), + (lambda: schemas.STRING, {_aQN: _PAe, _sN: _pAe}), + (lambda: schemas.INTEGER, {_aQN: _LBAo, _sN: _lBAo}), + (lambda: schemas.INTEGER, {_aQN: _PBA, _sN: _pBA}), + (lambda: schemas.LONG, {_aQN: _PBAE, _sN: _pBAE}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_CONFIGURATION_STATE, {_aQN: _CSon, _sN: _cSo}), + ), +) + +CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CLGVIGI, + {_sSI: _cCLGVIGR, _sm: None}, + (_LGI, _LBAo, _LBAE, _TSa, _DR), + ( + (LOCAL_GATEWAY_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CLGVIGO, + {_sSI: _cCLGVIGRo, _smit: None}, + (_LGVIG,), + ((lambda: LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP, {_aQN: _LGVIG, _sN: _lGVIG}),), +) + +CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP: StaticOperationSchema = ( + 23, + n0, + _CLGVIG, + 0, + CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT, + CREATE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT, + (), +) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_CONFIGURATION_STATE: StaticSchema = ( + 14, + n0, + _LGVIGCS, + 0, + (_p, _inco, _av, _de, _del), + ( + (-1, {_sV: _p}), + (-1, {_sV: _inco}), + (-1, {_sV: _av}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + ), +) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID_SET: StaticSchema = ( + 16, + n0, + _LGVIIS, + 0, + (_me,), + ((LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID, {_sN: _i}),), +) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP: StaticSchema = ( + 18, + n0, + _LGVIG, + 0, + (_LGVIGI, _LGVIIo, _LGI, _OIw, _LBAo, _LBAE, _LGVIGA, _Tag, _CSon), + ( + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_aQN: _LGVIGI, _sN: _lGVIGI}), + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID_SET, {_aQN: _LGVIIS, _sN: _lGVIIS}), + (lambda: schemas.STRING, {_aQN: _LGI, _sN: _lGI}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.INTEGER, {_aQN: _LBAo, _sN: _lBAo}), + (lambda: schemas.LONG, {_aQN: _LBAE, _sN: _lBAE}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _LGVIGA, _sN: _lGVIGA}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ( + LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_CONFIGURATION_STATE, + {_aQN: _CSon, _sN: _cSo}, + ), + ), +) + +MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION_REQUEST: StaticSchema = ( + 18, + n0, + _MSIPCR, + 0, + (_AIp, _BSa, _DReb, _DTR, _FPi, _KS, _NP), + ( + (lambda: schemas.MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), + (lambda: schemas.MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), + (lambda: schemas.MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), + (lambda: schemas.MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), + (lambda: schemas.MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), + (lambda: schemas.MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), + (lambda: schemas.MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 0), + ), +) + +CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CMSIPMTI, + {_sSI: _cCMSIPMTR, _sm: None}, + (_CTl, _DR, _II, _MCa, _MSIPC, _MSIPS, _TSa), + ( + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.SENSITIVE_MAC_CREDENTIALS, 0), + (MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION_REQUEST, 0), + (lambda: schemas.MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CMSIPMTO, + {_sSI: _cCMSIPMTRo, _smit: None}, + (_MMT,), + ((lambda: schemas.MAC_MODIFICATION_TASK, {_aQN: _MMT, _sN: _mMT}),), +) + +CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK: StaticOperationSchema = ( + 23, + n0, + _CMSIPMT, + 0, + CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_INPUT, + CREATE_MAC_SYSTEM_INTEGRITY_PROTECTION_MODIFICATION_TASK_OUTPUT, + (), +) + +CREATE_MANAGED_PREFIX_LIST_INPUT: StaticSchema = ( + 18, + n0, + _CMPLI, + {_sSI: _cCMPLR, _sm: None}, + (_DR, _PLN, _Ent, _ME, _TSa, _AF, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.ADD_PREFIX_LIST_ENTRIES, {_sN: _Entr}), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_MANAGED_PREFIX_LIST_OUTPUT: StaticSchema = ( + 18, + n0, + _CMPLO, + {_sSI: _cCMPLRo, _smit: None}, + (_PL,), + ((lambda: MANAGED_PREFIX_LIST, {_aQN: _PL, _sN: _pL}),), +) + +CREATE_MANAGED_PREFIX_LIST: StaticOperationSchema = ( + 23, + n0, + _CMPL, + 0, + CREATE_MANAGED_PREFIX_LIST_INPUT, + CREATE_MANAGED_PREFIX_LIST_OUTPUT, + (), +) + +PREFIX_LIST_STATE: StaticSchema = ( + 14, + n0, + _PLS, + 0, + ( + _cip, + _cc_, + _cf________________________, + _mip__, + _mc, + _mf__________________________, + _rip_, + _rc_, + _rf____________, + _dip_, + _dc_, + _df___, + ), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _mip___}), + (-1, {_sV: _mc_}), + (-1, {_sV: _mf___________________________}), + (-1, {_sV: _rip}), + (-1, {_sV: _rc__}), + (-1, {_sV: _rf_____________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + ), +) + +MANAGED_PREFIX_LIST: StaticSchema = ( + 18, + n0, + _MPL, + 0, + (_PLI, _AF, _St, _SMta, _PLA, _PLN, _ME, _Ve, _Tag, _OIw, _IPLRTI, _IPLRSE), + ( + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), + (lambda: schemas.STRING, {_aQN: _AF, _sN: _aF}), + (PREFIX_LIST_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _PLA, _sN: _pLA}), + (lambda: schemas.STRING, {_aQN: _PLN, _sN: _pLN}), + (lambda: schemas.INTEGER, {_aQN: _ME, _sN: _mE}), + (lambda: schemas.LONG, {_aQN: _Ve, _sN: _ver}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _IPLRTI, _sN: _iPLRTI}), + (lambda: schemas.BOOLEAN, {_aQN: _IPLRSE, _sN: _iPLRSE}), + ), +) + +AVAILABILITY_MODE: StaticSchema = ( + 14, + n0, + _AMv, + 0, + (_ZONAL, _REGIONAL), + ((-1, {_sV: _zo}), (-1, {_sV: _regi})), +) + +AVAILABILITY_ZONE_ADDRESS: StaticSchema = ( + 18, + n0, + _AZA, + 0, + (_AZ, _AZI, _AIl), + ( + (lambda: schemas.AVAILABILITY_ZONE_NAME, 0), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + (lambda: schemas.ALLOCATION_ID_LIST, {_sN: _AI}), + ), +) + +AVAILABILITY_ZONE_ADDRESSES: StaticSchema = ( + 16, + n0, + _AZAv, + 0, + (_me,), + ((AVAILABILITY_ZONE_ADDRESS, {_sN: _AZA}),), +) + +CONNECTIVITY_TYPE: StaticSchema = ( + 14, + n0, + _CTo, + 0, + (_PRIVATE, _PUBLIC), + ((-1, {_sV: _priv}), (-1, {_sV: _pu})), +) + +CREATE_NAT_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _CNGI, + {_sSI: _cCNGR, _sm: None}, + (_AMv, _AI, _CTl, _DR, _SIu, _VI, _AZAv, _TSa, _CTo, _PIAr, _SAI, _SPIA, _SPIAC), + ( + (AVAILABILITY_MODE, 0), + (lambda: schemas.ALLOCATION_ID, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SUBNET_ID, 0), + (lambda: schemas.VPC_ID, 0), + (AVAILABILITY_ZONE_ADDRESSES, {_sN: _AZA}), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (CONNECTIVITY_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ALLOCATION_ID_LIST, {_sN: _SAIe}), + (lambda: schemas.IP_LIST, {_sN: _SPIAe}), + (lambda: schemas.PRIVATE_IP_ADDRESS_COUNT, 0), + ), +) + +CREATE_NAT_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _CNGO, + {_sSI: _cCNGRo, _smit: None}, + (_CTl, _NG), + ( + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: schemas.NAT_GATEWAY, {_aQN: _NG, _sN: _nG}), + ), +) + +CREATE_NAT_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _CNG, + 0, + CREATE_NAT_GATEWAY_INPUT, + CREATE_NAT_GATEWAY_OUTPUT, + (), +) + +NAT_GATEWAY_APPLIANCE_STATE: StaticSchema = ( + 14, + n0, + _NGASat, + 0, + (_ATTACHING, _ATTACHED, _DETACHING, _DETACHED, _AF__, _DF__), + ( + (-1, {_sV: _at}), + (-1, {_sV: _att}), + (-1, {_sV: _det}), + (-1, {_sV: _deta}), + (-1, {_sV: _af___}), + (-1, {_sV: _df_______}), + ), +) + +NAT_GATEWAY_APPLIANCE_MODIFY_STATE: StaticSchema = ( + 14, + n0, + _NGAMS, + 0, + (_MODIFYING, _COMPLETED, _FAILED), + ((-1, {_sV: _mo}), (-1, {_sV: _compl}), (-1, {_sV: _fa})), +) + +NAT_GATEWAY_APPLIANCE_TYPE: StaticSchema = ( + 14, + n0, + _NGAT, + 0, + (_NFP,), + ((-1, {_sV: _nfp}),), +) + +NAT_GATEWAY_ATTACHED_APPLIANCE: StaticSchema = ( + 18, + n0, + _NGAA, + 0, + (_Ty, _AAp, _VEI, _AStta, _MSo, _FCa, _FM), + ( + (NAT_GATEWAY_APPLIANCE_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _AAp, _sN: _aAp}), + (lambda: schemas.STRING, {_aQN: _VEI, _sN: _vEI}), + (NAT_GATEWAY_APPLIANCE_STATE, {_aQN: _AStta, _sN: _aStt}), + (NAT_GATEWAY_APPLIANCE_MODIFY_STATE, {_aQN: _MSo, _sN: _mS}), + (lambda: schemas.STRING, {_aQN: _FCa, _sN: _fCa}), + (lambda: schemas.STRING, {_aQN: _FM, _sN: _fM}), + ), +) + +NAT_GATEWAY_ATTACHED_APPLIANCE_LIST: StaticSchema = ( + 16, + n0, + _NGAAL, + 0, + (_me,), + ((NAT_GATEWAY_ATTACHED_APPLIANCE, {_sN: _i}),), +) + +AUTO_PROVISION_ZONES_STATE: StaticSchema = ( + 14, + n0, + _APZS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ena}), (-1, {_sV: _d})), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_14.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_14.py new file mode 100644 index 000000000..5468e8dfd --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_14.py @@ -0,0 +1,1539 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_tg_ = "transit_gateway" +_ve = "vpc_endpoint" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_PI = "PublicIp" +_pI = "publicIp" +_AI = "AllocationId" +_aI = "allocationId" +_smit = "smithy.api#output" +_av = "available" +_de = "deleting" +_del = "deleted" +_St = "State" +_st = "state" +_ass = "associated" +_fa = "failed" +_SIu = "SubnetId" +_sI = "subnetId" +_As = "Associations" +_OIw = "OwnerId" +_oI = "ownerId" +_fai = "failing" +_C = "Code" +_co = "code" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_dRr = "dryRun" +_CB = "CidrBlock" +_cB = "cidrBlock" +_ICB = "Ipv6CidrBlock" +_iCB = "ipv6CidrBlock" +_PR = "PortRange" +_Eg = "Egress" +_egr = "egress" +_pR = "portRange" +_P = "Protocol" +_pro = "protocol" +_RA = "RuleAction" +_rA = "ruleAction" +_RN = "RuleNumber" +_rN = "ruleNumber" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_NGI = "NatGatewayId" +_nGI = "natGatewayId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SGI = "SecurityGroupId" +_SPR = "SourcePortRange" +_sPR = "sourcePortRange" +_DPR = "DestinationPortRange" +_dPR = "destinationPortRange" +_AIt = "AttachmentId" +_aIt = "attachmentId" +_De = "Destination" +_des = "destination" +_NG = "NatGateway" +_nG = "natGateway" +_NI = "NetworkInterface" +_nI = "networkInterface" +_Sou = "Source" +_so = "source" +_SAou = "SourceAddress" +_DAe = "DestinationAddress" +_DPe = "DestinationPort" +_ena = "enabled" +_la = "lambda" +_Des = "Description" +_AIs = "AssociationId" +_aIs = "associationId" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_NBG = "NetworkBorderGroup" +_COI = "CustomerOwnedIp" +_cOI = "customerOwnedIp" +_CI = "CarrierIp" +_cI = "carrierIp" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_prov = "provisioned" +_desc = "description" +_PIo = "PoolId" +_pIo = "poolId" +_def = "default" +_ho = "host" +_OA = "OutpostArn" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_IPC = "Ipv6PrefixCount" +_IPp = "Ipv6Prefixes" +_IPpv = "Ipv6Prefix" +_IAp = "Ipv6Addresses" +_iA = "ipv6Addresses" +_IAC = "Ipv6AddressCount" +_iAC = "ipv6AddressCount" +_IPpvr = "Ipv4Prefixes" +_IPpvre = "Ipv4Prefix" +_IPCp = "Ipv4PrefixCount" +_PIAri = "PrivateIpAddresses" +_SPIAC = "SecondaryPrivateIpAddressCount" +_sPIAC = "secondaryPrivateIpAddressCount" +_suc = "succeeded" +_FAILED = "FAILED" +_FM = "FailureMessage" +_fM = "failureMessage" +_NGAa = "NatGatewayAddresses" +_NGASa = "NatGatewayAddressSet" +_nGAS = "natGatewayAddressSet" +_sU = "smithy.api#Unit" +_ID = "IsDefault" +_RTIo = "RouteTableId" +_rTIo = "routeTableId" +_GIr = "GroupId" +_Ass = "Association" +_assoc = "association" +_gIr = "groupId" +_G = "Groups" +_IIm = "ImageId" +_ESUS = "EnaSrdUdpSpecification" +_ESUE = "EnaSrdUdpEnabled" +_ESS = "EnaSrdSpecification" +_ESE = "EnaSrdEnabled" +_NCI = "NetworkCardIndex" +_EQC = "EnaQueueCount" +_DI = "DeviceIndex" +_dI = "deviceIndex" +_nCI = "networkCardIndex" +_VIo = "VolumeId" +_at = "attaching" +_det = "detaching" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_ATtt = "AttachTime" +_aTtt = "attachTime" +_At = "Attachment" +_atta = "attachment" +_rev = "revoking" +_GN = "GroupName" +_gN = "groupName" +_FP = "FromPort" +_fP = "fromPort" +_TP = "ToPort" +_tP = "toPort" +_SIn = "SnapshotId" +_iu = "in_use" +_iu_ = "in-use" +_oA = "outpostArn" +_Op = "Operator" +_ope = "operator" +_VIR = "VolumeInitializationRate" +_CTr = "CreateTime" +_cTr = "createTime" +_req = "requested" +_Ty = "Type" +_ty = "type" +_IN = "Ipv6Native" +_iN = "ipv6Native" +_ip_____ = "in-progress" +_DISABLED = "DISABLED" +_ENABLED = "ENABLED" +_ASw = "AwsService" +_aSw = "awsService" +_TET = "TcpEstablishedTimeout" +_UST = "UdpStreamTimeout" +_UTd = "UdpTimeout" +_IApv = "Ipv6Address" +_Prim = "Primary" +_prim = "primary" +_ITnte = "InterfaceType" +_CTSo = "ConnectionTrackingSpecification" +_tET = "tcpEstablishedTimeout" +_uTd = "udpTimeout" +_uST = "udpStreamTimeout" +_eSUE = "enaSrdUdpEnabled" +_eSE = "enaSrdEnabled" +_eSUS = "enaSrdUdpSpecification" +_iApv = "ipv6Address" +_IPIs = "IsPrimaryIpv6" +_iPIs = "isPrimaryIpv6" +_iPpvr = "ipv6Prefix" +_GS = "GroupSet" +_gS = "groupSet" +_iTnt = "interfaceType" +_IAS = "Ipv6AddressesSet" +_iAS = "ipv6AddressesSet" +_PIASr = "PrivateIpAddressesSet" +_pIAS = "privateIpAddressesSet" +_IPSpv = "Ipv4PrefixSet" +_iPS = "ipv4PrefixSet" +_IPSpvr = "Ipv6PrefixSet" +_iPSp = "ipv6PrefixSet" +_eSS = "enaSrdSpecification" +_eQC = "enaQueueCount" +_Ent = "Entries" +_AMv = "AvailabilityMode" +_CTo = "ConnectivityType" +_FCa = "FailureCode" +_fCa = "failureCode" +_ASIS = "AutoScalingIpsState" +_PB = "ProvisionedBandwidth" +_PTro = "ProvisionTime" +_pTr = "provisionTime" +_Prov = "Provisioned" +_RTeq = "RequestTime" +_rTeq = "requestTime" +_Req = "Requested" +_NGS = "NatGatewayState" +_PENDING = "PENDING" +_AVAILABLE = "AVAILABLE" +_DELETING = "DELETING" +_DELETED = "DELETED" +_DTel = "DeleteTime" +_dTe = "deleteTime" +_pB = "provisionedBandwidth" +_cTo = "connectivityType" +_aM = "availabilityMode" +_ASI = "AutoScalingIps" +_aSI = "autoScalingIps" +_APZ = "AutoProvisionZones" +_aPZ = "autoProvisionZones" +_AAt = "AttachedAppliances" +_AASt = "AttachedApplianceSet" +_aASt = "attachedApplianceSet" +_CNAI = "CreateNetworkAclInput" +_cCNAR = "com.amazonaws.ec2#CreateNetworkAclRequest" +_NAA = "NetworkAclAssociation" +_NAAI = "NetworkAclAssociationId" +_nAAI = "networkAclAssociationId" +_NAI = "NetworkAclId" +_nAI = "networkAclId" +_NAAL = "NetworkAclAssociationList" +_ITC = "IcmpTypeCode" +_all = "allow" +_deny = "deny" +_NAE = "NetworkAclEntry" +_iTC = "icmpTypeCode" +_NAEL = "NetworkAclEntryList" +_NAe = "NetworkAcl" +_ASsso = "AssociationSet" +_aSss = "associationSet" +_ESn = "EntrySet" +_eSn = "entrySet" +_Def = "Default" +_CNAO = "CreateNetworkAclOutput" +_cCNARo = "com.amazonaws.ec2#CreateNetworkAclResult" +_nAe = "networkAcl" +_CNAr = "CreateNetworkAcl" +_CNAEI = "CreateNetworkAclEntryInput" +_cCNAER = "com.amazonaws.ec2#CreateNetworkAclEntryRequest" +_Ic = "Icmp" +_CNAEO = "CreateNetworkAclEntryOutput" +_CNAE = "CreateNetworkAclEntry" +_CNIASI = "CreateNetworkInsightsAccessScopeInput" +_cCNIASR = "com.amazonaws.ec2#CreateNetworkInsightsAccessScopeRequest" +_MPa = "MatchPaths" +_MPat = "MatchPath" +_EP = "ExcludePaths" +_EPx = "ExcludePath" +_NIAS = "NetworkInsightsAccessScope" +_CDr = "CreatedDate" +_cDr = "createdDate" +_NIASC = "NetworkInsightsAccessScopeContent" +_CNIASO = "CreateNetworkInsightsAccessScopeOutput" +_cCNIASRo = "com.amazonaws.ec2#CreateNetworkInsightsAccessScopeResult" +_nIAS = "networkInsightsAccessScope" +_nIASC = "networkInsightsAccessScopeContent" +_CNIAS = "CreateNetworkInsightsAccessScope" +_NIRI = "NetworkInsightsResourceId" +_RFPR = "RequestFilterPortRange" +_PRF = "PathRequestFilter" +_CNIPI = "CreateNetworkInsightsPathInput" +_cCNIPR = "com.amazonaws.ec2#CreateNetworkInsightsPathRequest" +_SIo = "SourceIp" +_DIes = "DestinationIp" +_FAS = "FilterAtSource" +_FAD = "FilterAtDestination" +_FPR = "FilterPortRange" +_PFa = "PathFilter" +_sAo = "sourceAddress" +_dA = "destinationAddress" +_NIPI = "NetworkInsightsPathId" +_NIP = "NetworkInsightsPath" +_nIPI = "networkInsightsPathId" +_NIPA = "NetworkInsightsPathArn" +_nIPA = "networkInsightsPathArn" +_SAour = "SourceArn" +_sAou = "sourceArn" +_DAes = "DestinationArn" +_dAe = "destinationArn" +_sIo = "sourceIp" +_dIes = "destinationIp" +_dPe = "destinationPort" +_fAS = "filterAtSource" +_fAD = "filterAtDestination" +_CNIPO = "CreateNetworkInsightsPathOutput" +_cCNIPRo = "com.amazonaws.ec2#CreateNetworkInsightsPathResult" +_nIP = "networkInsightsPath" +_CNIP = "CreateNetworkInsightsPath" +_NICT = "NetworkInterfaceCreationType" +_efa = "efa" +_eo = "efa_only" +_eo_ = "efa-only" +_br = "branch" +_tru = "trunk" +_CNII = "CreateNetworkInterfaceInput" +_cCNIR = "com.amazonaws.ec2#CreateNetworkInterfaceRequest" +_EPI = "EnablePrimaryIpv6" +_pIAri = "privateIpAddresses" +_ASL = "AssociatedSubnetList" +_NIA = "NetworkInterfaceAssociation" +_IOI = "IpOwnerId" +_iOI = "ipOwnerId" +_PDNu = "PublicDnsName" +_pDNu = "publicDnsName" +_AESUS = "AttachmentEnaSrdUdpSpecification" +_AESS = "AttachmentEnaSrdSpecification" +_NIAe = "NetworkInterfaceAttachment" +_IOIn = "InstanceOwnerId" +_iOIn = "instanceOwnerId" +_CTC = "ConnectionTrackingConfiguration" +_GIro = "GroupIdentifier" +_GIL = "GroupIdentifierList" +_NIT = "NetworkInterfaceType" +_inter = "interface" +_lb = "load_balancer" +_nlb = "network_load_balancer" +_qu = "quicksight" +_gam = "global_accelerator_managed" +_agm = "api_gateway_managed" +_glb = "gateway_load_balancer" +_glbe = "gateway_load_balancer_endpoint" +_irm = "iot_rules_managed" +_accm = "aws_codestar_connections_managed" +_NIIA = "NetworkInterfaceIpv6Address" +_PIDN = "PublicIpv6DnsName" +_pIDN = "publicIpv6DnsName" +_NIIAL = "NetworkInterfaceIpv6AddressesList" +_IPSpvre = "Ipv6PrefixSpecification" +_IPLpvre = "Ipv6PrefixesList" +_NIPIA = "NetworkInterfacePrivateIpAddress" +_PDNr = "PrivateDnsName" +_pDNr = "privateDnsName" +_NIPIAL = "NetworkInterfacePrivateIpAddressList" +_PIDNO = "PublicIpDnsNameOptions" +_DHT = "DnsHostnameType" +_dHT = "dnsHostnameType" +_PIDNu = "PublicIpv4DnsName" +_pIDNu = "publicIpv4DnsName" +_PDSDN = "PublicDualStackDnsName" +_pDSDN = "publicDualStackDnsName" +_NISe = "NetworkInterfaceStatus" +_cTC = "connectionTrackingConfiguration" +_MAa = "MacAddress" +_mAa = "macAddress" +_pIDNO = "publicIpDnsNameOptions" +_RIeq = "RequesterId" +_rIeq = "requesterId" +_RMe = "RequesterManaged" +_rMe = "requesterManaged" +_SDC = "SourceDestCheck" +_sDC = "sourceDestCheck" +_DAIT = "DenyAllIgwTraffic" +_dAIT = "denyAllIgwTraffic" +_ASssoc = "AssociatedSubnets" +_ASSs = "AssociatedSubnetSet" +_aSSs = "associatedSubnetSet" +_CNIO = "CreateNetworkInterfaceOutput" +_cCNIRo = "com.amazonaws.ec2#CreateNetworkInterfaceResult" +_CNIr = "CreateNetworkInterface" +_IPTn = "InterfacePermissionType" +_IA_ = "INSTANCE_ATTACH" +_IA__ = "INSTANCE-ATTACH" +_EA = "EIP_ASSOCIATE" +_EA_ = "EIP-ASSOCIATE" +_CNIPIr = "CreateNetworkInterfacePermissionInput" +_cCNIPRom = "com.amazonaws.ec2#CreateNetworkInterfacePermissionRequest" +_AAIw = "AwsAccountId" +_Pe = "Permission" +_NIPSC = "NetworkInterfacePermissionStateCode" +_gra = "granted" +_revo = "revoked" +_NIPS = "NetworkInterfacePermissionState" +_NIPe = "NetworkInterfacePermission" +_NIPIe = "NetworkInterfacePermissionId" +_nIPIe = "networkInterfacePermissionId" +_aAI = "awsAccountId" +_perm = "permission" +_PSer = "PermissionState" +_pSer = "permissionState" +_CNIPOr = "CreateNetworkInterfacePermissionOutput" +_cCNIPRoma = "com.amazonaws.ec2#CreateNetworkInterfacePermissionResult" +_IPnt = "InterfacePermission" +_iPnt = "interfacePermission" +_CNIPr = "CreateNetworkInterfacePermission" +_SLp = "SpreadLevel" +_rac = "rack" +_PSl = "PlacementStrategy" +_clu = "cluster" +_spr = "spread" +_part = "partition" +_pt___ = "precision_time" +_pt____ = "precision-time" +_CPGI = "CreatePlacementGroupInput" +_cCPGR = "com.amazonaws.ec2#CreatePlacementGroupRequest" +_PCa = "PartitionCount" +_LGIi = "LinkedGroupId" +_PGIa = "ParentGroupId" +_Str = "Strategy" +_str = "strategy" +_PGS = "PlacementGroupState" +_PG = "PlacementGroup" +_pCa = "partitionCount" +_GA = "GroupArn" +_gA = "groupArn" +_sL = "spreadLevel" +_lGIi = "linkedGroupId" +_pGI = "parentGroupId" +_CPGO = "CreatePlacementGroupOutput" +_cCPGRo = "com.amazonaws.ec2#CreatePlacementGroupResult" +_pG = "placementGroup" +_CPG = "CreatePlacementGroup" +_CPIPI = "CreatePublicIpv4PoolInput" +_cCPIPR = "com.amazonaws.ec2#CreatePublicIpv4PoolRequest" +_CPIPO = "CreatePublicIpv4PoolOutput" +_cCPIPRo = "com.amazonaws.ec2#CreatePublicIpv4PoolResult" +_CPIP = "CreatePublicIpv4Pool" +_CRRVTI = "CreateReplaceRootVolumeTaskInput" +_cCRRVTR = "com.amazonaws.ec2#CreateReplaceRootVolumeTaskRequest" +_DRRV = "DeleteReplacedRootVolume" +_RRVTI = "ReplaceRootVolumeTaskId" +_RRVTS = "ReplaceRootVolumeTaskState" +_ip________ = "in_progress" +_fd____ = "failed_detached" +_fd_____ = "failed-detached" +_RRVT = "ReplaceRootVolumeTask" +_CRRVTO = "CreateReplaceRootVolumeTaskOutput" +_cCRRVTRo = "com.amazonaws.ec2#CreateReplaceRootVolumeTaskResult" +_rRVT = "replaceRootVolumeTask" +_CRRVT = "CreateReplaceRootVolumeTask" + +AUTO_SCALING_IPS_STATE: StaticSchema = ( + 14, + n0, + _ASIS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ena}), (-1, {_sV: _d})), +) + +PROVISIONED_BANDWIDTH: StaticSchema = ( + 18, + n0, + _PB, + 0, + (_PTro, _Prov, _RTeq, _Req, _Sta), + ( + (lambda: schemas.DATE_TIME, {_aQN: _PTro, _sN: _pTr}), + (lambda: schemas.STRING, {_aQN: _Prov, _sN: _prov}), + (lambda: schemas.DATE_TIME, {_aQN: _RTeq, _sN: _rTeq}), + (lambda: schemas.STRING, {_aQN: _Req, _sN: _req}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + ), +) + +NAT_GATEWAY_STATE: StaticSchema = ( + 14, + n0, + _NGS, + 0, + (_PENDING, _FAILED, _AVAILABLE, _DELETING, _DELETED), + ( + (-1, {_sV: _p}), + (-1, {_sV: _fa}), + (-1, {_sV: _av}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + ), +) + +NAT_GATEWAY: StaticSchema = ( + 18, + n0, + _NG, + 0, + ( + _CTr, + _DTel, + _FCa, + _FM, + _NGAa, + _NGI, + _PB, + _St, + _SIu, + _VI, + _Tag, + _CTo, + _AMv, + _ASI, + _APZ, + _AAt, + _RTIo, + ), + ( + (lambda: schemas.DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.DATE_TIME, {_aQN: _DTel, _sN: _dTe}), + (lambda: schemas.STRING, {_aQN: _FCa, _sN: _fCa}), + (lambda: schemas.STRING, {_aQN: _FM, _sN: _fM}), + (lambda: schemas.NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), + (lambda: schemas.STRING, {_aQN: _NGI, _sN: _nGI}), + (PROVISIONED_BANDWIDTH, {_aQN: _PB, _sN: _pB}), + (NAT_GATEWAY_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.CONNECTIVITY_TYPE, {_aQN: _CTo, _sN: _cTo}), + (lambda: schemas.AVAILABILITY_MODE, {_aQN: _AMv, _sN: _aM}), + (AUTO_SCALING_IPS_STATE, {_aQN: _ASI, _sN: _aSI}), + (lambda: schemas.AUTO_PROVISION_ZONES_STATE, {_aQN: _APZ, _sN: _aPZ}), + ( + lambda: schemas.NAT_GATEWAY_ATTACHED_APPLIANCE_LIST, + {_aQN: _AASt, _sN: _aASt}, + ), + (lambda: schemas.STRING, {_aQN: _RTIo, _sN: _rTIo}), + ), +) + +CREATE_NETWORK_ACL_INPUT: StaticSchema = ( + 18, + n0, + _CNAI, + {_sSI: _cCNAR, _sm: None}, + (_TSa, _CTl, _DR, _VI), + ( + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + ), +) + +CREATE_NETWORK_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _CNAO, + {_sSI: _cCNARo, _smit: None}, + (_NAe, _CTl), + ( + (lambda: NETWORK_ACL, {_aQN: _NAe, _sN: _nAe}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_NETWORK_ACL: StaticOperationSchema = ( + 23, + n0, + _CNAr, + 0, + CREATE_NETWORK_ACL_INPUT, + CREATE_NETWORK_ACL_OUTPUT, + (), +) + +NETWORK_ACL_ASSOCIATION: StaticSchema = ( + 18, + n0, + _NAA, + 0, + (_NAAI, _NAI, _SIu), + ( + (lambda: schemas.STRING, {_aQN: _NAAI, _sN: _nAAI}), + (lambda: schemas.STRING, {_aQN: _NAI, _sN: _nAI}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + ), +) + +NETWORK_ACL_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _NAAL, + 0, + (_me,), + ((NETWORK_ACL_ASSOCIATION, {_sN: _i}),), +) + +ICMP_TYPE_CODE: StaticSchema = ( + 18, + n0, + _ITC, + 0, + (_C, _Ty), + ( + (lambda: schemas.INTEGER, {_aQN: _C, _sN: _co}), + (lambda: schemas.INTEGER, {_aQN: _Ty, _sN: _ty}), + ), +) + +RULE_ACTION: StaticSchema = ( + 14, + n0, + _RA, + 0, + (_all, _deny), + ((-1, {_sV: _all}), (-1, {_sV: _deny})), +) + +NETWORK_ACL_ENTRY: StaticSchema = ( + 18, + n0, + _NAE, + 0, + (_CB, _Eg, _ITC, _ICB, _PR, _P, _RA, _RN), + ( + (lambda: schemas.STRING, {_aQN: _CB, _sN: _cB}), + (lambda: schemas.BOOLEAN, {_aQN: _Eg, _sN: _egr}), + (ICMP_TYPE_CODE, {_aQN: _ITC, _sN: _iTC}), + (lambda: schemas.STRING, {_aQN: _ICB, _sN: _iCB}), + (lambda: schemas.PORT_RANGE, {_aQN: _PR, _sN: _pR}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro}), + (RULE_ACTION, {_aQN: _RA, _sN: _rA}), + (lambda: schemas.INTEGER, {_aQN: _RN, _sN: _rN}), + ), +) + +NETWORK_ACL_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _NAEL, + 0, + (_me,), + ((NETWORK_ACL_ENTRY, {_sN: _i}),), +) + +NETWORK_ACL: StaticSchema = ( + 18, + n0, + _NAe, + 0, + (_As, _Ent, _ID, _NAI, _Tag, _VI, _OIw), + ( + (NETWORK_ACL_ASSOCIATION_LIST, {_aQN: _ASsso, _sN: _aSss}), + (NETWORK_ACL_ENTRY_LIST, {_aQN: _ESn, _sN: _eSn}), + (lambda: schemas.BOOLEAN, {_aQN: _Def, _sN: _def}), + (lambda: schemas.STRING, {_aQN: _NAI, _sN: _nAI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + ), +) + +NETWORK_ACL_ID: StaticSchema = (3, n0, _NAI, 0) + +CREATE_NETWORK_ACL_ENTRY_INPUT: StaticSchema = ( + 18, + n0, + _CNAEI, + {_sSI: _cCNAER, _sm: None}, + (_DR, _NAI, _RN, _P, _RA, _Eg, _CB, _ICB, _ITC, _PR), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), + (lambda: schemas.INTEGER, {_aQN: _RN, _sN: _rN, _smi: None}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro, _smi: None}), + (RULE_ACTION, {_aQN: _RA, _sN: _rA, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _Eg, _sN: _egr, _smi: None}), + (lambda: schemas.STRING, {_aQN: _CB, _sN: _cB}), + (lambda: schemas.STRING, {_aQN: _ICB, _sN: _iCB}), + (ICMP_TYPE_CODE, {_sN: _Ic}), + (lambda: schemas.PORT_RANGE, {_aQN: _PR, _sN: _pR}), + ), +) + +CREATE_NETWORK_ACL_ENTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _CNAEO, + {_sSI: _sU, _smit: None}, +) + +CREATE_NETWORK_ACL_ENTRY: StaticOperationSchema = ( + 23, + n0, + _CNAE, + 0, + CREATE_NETWORK_ACL_ENTRY_INPUT, + CREATE_NETWORK_ACL_ENTRY_OUTPUT, + (), +) + +CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT: StaticSchema = ( + 18, + n0, + _CNIASI, + {_sSI: _cCNIASR, _sm: None}, + (_MPa, _EP, _CTl, _TSa, _DR), + ( + (lambda: schemas.ACCESS_SCOPE_PATH_LIST_REQUEST, {_sN: _MPat}), + (lambda: schemas.ACCESS_SCOPE_PATH_LIST_REQUEST, {_sN: _EPx}), + (lambda: schemas.STRING, 3), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT: StaticSchema = ( + 18, + n0, + _CNIASO, + {_sSI: _cCNIASRo, _smit: None}, + (_NIAS, _NIASC), + ( + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE, {_aQN: _NIAS, _sN: _nIAS}), + ( + lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT, + {_aQN: _NIASC, _sN: _nIASC}, + ), + ), +) + +CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE: StaticOperationSchema = ( + 23, + n0, + _CNIAS, + 0, + CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT, + CREATE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT, + (), +) + +NETWORK_INSIGHTS_RESOURCE_ID: StaticSchema = (3, n0, _NIRI, 0) + +REQUEST_FILTER_PORT_RANGE: StaticSchema = ( + 18, + n0, + _RFPR, + 0, + (_FP, _TP), + ((lambda: schemas.PORT, 0), (lambda: schemas.PORT, 0)), +) + +PATH_REQUEST_FILTER: StaticSchema = ( + 18, + n0, + _PRF, + 0, + (_SAou, _SPR, _DAe, _DPR), + ( + (lambda: schemas.IP_ADDRESS, 0), + (REQUEST_FILTER_PORT_RANGE, 0), + (lambda: schemas.IP_ADDRESS, 0), + (REQUEST_FILTER_PORT_RANGE, 0), + ), +) + +CREATE_NETWORK_INSIGHTS_PATH_INPUT: StaticSchema = ( + 18, + n0, + _CNIPI, + {_sSI: _cCNIPR, _sm: None}, + (_SIo, _DIes, _Sou, _De, _P, _DPe, _TSa, _DR, _CTl, _FAS, _FAD), + ( + (lambda: schemas.IP_ADDRESS, 0), + (lambda: schemas.IP_ADDRESS, 0), + (NETWORK_INSIGHTS_RESOURCE_ID, 1), + (NETWORK_INSIGHTS_RESOURCE_ID, 0), + (lambda: schemas.PROTOCOL, 1), + (lambda: schemas.PORT, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 3), + (PATH_REQUEST_FILTER, 0), + (PATH_REQUEST_FILTER, 0), + ), +) + +CREATE_NETWORK_INSIGHTS_PATH_OUTPUT: StaticSchema = ( + 18, + n0, + _CNIPO, + {_sSI: _cCNIPRo, _smit: None}, + (_NIP,), + ((lambda: NETWORK_INSIGHTS_PATH, {_aQN: _NIP, _sN: _nIP}),), +) + +CREATE_NETWORK_INSIGHTS_PATH: StaticOperationSchema = ( + 23, + n0, + _CNIP, + 0, + CREATE_NETWORK_INSIGHTS_PATH_INPUT, + CREATE_NETWORK_INSIGHTS_PATH_OUTPUT, + (), +) + +FILTER_PORT_RANGE: StaticSchema = ( + 18, + n0, + _FPR, + 0, + (_FP, _TP), + ( + (lambda: schemas.PORT, {_aQN: _FP, _sN: _fP}), + (lambda: schemas.PORT, {_aQN: _TP, _sN: _tP}), + ), +) + +PATH_FILTER: StaticSchema = ( + 18, + n0, + _PFa, + 0, + (_SAou, _SPR, _DAe, _DPR), + ( + (lambda: schemas.IP_ADDRESS, {_aQN: _SAou, _sN: _sAo}), + (FILTER_PORT_RANGE, {_aQN: _SPR, _sN: _sPR}), + (lambda: schemas.IP_ADDRESS, {_aQN: _DAe, _sN: _dA}), + (FILTER_PORT_RANGE, {_aQN: _DPR, _sN: _dPR}), + ), +) + +NETWORK_INSIGHTS_PATH: StaticSchema = ( + 18, + n0, + _NIP, + 0, + ( + _NIPI, + _NIPA, + _CDr, + _Sou, + _De, + _SAour, + _DAes, + _SIo, + _DIes, + _P, + _DPe, + _Tag, + _FAS, + _FAD, + ), + ( + (lambda: schemas.NETWORK_INSIGHTS_PATH_ID, {_aQN: _NIPI, _sN: _nIPI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _NIPA, _sN: _nIPA}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CDr, _sN: _cDr}), + (lambda: schemas.STRING, {_aQN: _Sou, _sN: _so}), + (lambda: schemas.STRING, {_aQN: _De, _sN: _des}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _SAour, _sN: _sAou}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _DAes, _sN: _dAe}), + (lambda: schemas.IP_ADDRESS, {_aQN: _SIo, _sN: _sIo}), + (lambda: schemas.IP_ADDRESS, {_aQN: _DIes, _sN: _dIes}), + (lambda: schemas.PROTOCOL, {_aQN: _P, _sN: _pro}), + (lambda: schemas.INTEGER, {_aQN: _DPe, _sN: _dPe}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (PATH_FILTER, {_aQN: _FAS, _sN: _fAS}), + (PATH_FILTER, {_aQN: _FAD, _sN: _fAD}), + ), +) + +NETWORK_INTERFACE_CREATION_TYPE: StaticSchema = ( + 14, + n0, + _NICT, + 0, + (_efa, _eo, _br, _tru), + ((-1, {_sV: _efa}), (-1, {_sV: _eo_}), (-1, {_sV: _br}), (-1, {_sV: _tru})), +) + +CREATE_NETWORK_INTERFACE_INPUT: StaticSchema = ( + 18, + n0, + _CNII, + {_sSI: _cCNIR, _sm: None}, + ( + _IPpvr, + _IPCp, + _IPp, + _IPC, + _ITnte, + _TSa, + _CTl, + _EPI, + _CTSo, + _Op, + _SIu, + _Des, + _PIAr, + _G, + _PIAri, + _SPIAC, + _IAp, + _IAC, + _DR, + ), + ( + (lambda: schemas.IPV4_PREFIX_LIST, {_sN: _IPpvre}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.IPV6_PREFIX_LIST, {_sN: _IPpv}), + (lambda: schemas.INTEGER, 0), + (NETWORK_INTERFACE_CREATION_TYPE, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.CONNECTION_TRACKING_SPECIFICATION_REQUEST, 0), + (lambda: schemas.OPERATOR_REQUEST, 0), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI, _smi: None}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + (lambda: schemas.SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), + ( + lambda: schemas.PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, + {_aQN: _PIAri, _sN: _pIAri}, + ), + (lambda: schemas.INTEGER, {_aQN: _SPIAC, _sN: _sPIAC}), + (lambda: schemas.INSTANCE_IPV6_ADDRESS_LIST, {_aQN: _IAp, _sN: _iA}), + (lambda: schemas.INTEGER, {_aQN: _IAC, _sN: _iAC}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_NETWORK_INTERFACE_OUTPUT: StaticSchema = ( + 18, + n0, + _CNIO, + {_sSI: _cCNIRo, _smit: None}, + (_NI, _CTl), + ( + (lambda: NETWORK_INTERFACE, {_aQN: _NI, _sN: _nI}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_NETWORK_INTERFACE: StaticOperationSchema = ( + 23, + n0, + _CNIr, + 0, + CREATE_NETWORK_INTERFACE_INPUT, + CREATE_NETWORK_INTERFACE_OUTPUT, + (), +) + +ASSOCIATED_SUBNET_LIST: StaticSchema = ( + 16, + n0, + _ASL, + 0, + (_me,), + ((lambda: schemas.SUBNET_ID, {_sN: _i}),), +) + +NETWORK_INTERFACE_ASSOCIATION: StaticSchema = ( + 18, + n0, + _NIA, + 0, + (_AI, _AIs, _IOI, _PDNu, _PI, _COI, _CI), + ( + (lambda: schemas.STRING, {_aQN: _AI, _sN: _aI}), + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.STRING, {_aQN: _IOI, _sN: _iOI}), + (lambda: schemas.STRING, {_aQN: _PDNu, _sN: _pDNu}), + (lambda: schemas.STRING, {_aQN: _PI, _sN: _pI}), + (lambda: schemas.STRING, {_aQN: _COI, _sN: _cOI}), + (lambda: schemas.STRING, {_aQN: _CI, _sN: _cI}), + ), +) + +ATTACHMENT_ENA_SRD_UDP_SPECIFICATION: StaticSchema = ( + 18, + n0, + _AESUS, + 0, + (_ESUE,), + ((lambda: schemas.BOOLEAN, {_aQN: _ESUE, _sN: _eSUE}),), +) + +ATTACHMENT_ENA_SRD_SPECIFICATION: StaticSchema = ( + 18, + n0, + _AESS, + 0, + (_ESE, _ESUS), + ( + (lambda: schemas.BOOLEAN, {_aQN: _ESE, _sN: _eSE}), + (ATTACHMENT_ENA_SRD_UDP_SPECIFICATION, {_aQN: _ESUS, _sN: _eSUS}), + ), +) + +NETWORK_INTERFACE_ATTACHMENT: StaticSchema = ( + 18, + n0, + _NIAe, + 0, + (_ATtt, _AIt, _DOT, _DI, _NCI, _II, _IOIn, _Sta, _ESS, _EQC), + ( + (lambda: schemas.DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), + (lambda: schemas.STRING, {_aQN: _AIt, _sN: _aIt}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.INTEGER, {_aQN: _DI, _sN: _dI}), + (lambda: schemas.INTEGER, {_aQN: _NCI, _sN: _nCI}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _IOIn, _sN: _iOIn}), + (lambda: schemas.ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), + (ATTACHMENT_ENA_SRD_SPECIFICATION, {_aQN: _ESS, _sN: _eSS}), + (lambda: schemas.INTEGER, {_aQN: _EQC, _sN: _eQC}), + ), +) + +CONNECTION_TRACKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CTC, + 0, + (_TET, _UST, _UTd), + ( + (lambda: schemas.INTEGER, {_aQN: _TET, _sN: _tET}), + (lambda: schemas.INTEGER, {_aQN: _UST, _sN: _uST}), + (lambda: schemas.INTEGER, {_aQN: _UTd, _sN: _uTd}), + ), +) + +GROUP_IDENTIFIER: StaticSchema = ( + 18, + n0, + _GIro, + 0, + (_GIr, _GN), + ( + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + ), +) + +GROUP_IDENTIFIER_LIST: StaticSchema = ( + 16, + n0, + _GIL, + 0, + (_me,), + ((GROUP_IDENTIFIER, {_sN: _i}),), +) + +NETWORK_INTERFACE_TYPE: StaticSchema = ( + 14, + n0, + _NIT, + 0, + ( + _inter, + _nG, + _efa, + _eo, + _tru, + _lb, + _nlb, + _ve, + _br, + _tg_, + _la, + _qu, + _gam, + _agm, + _glb, + _glbe, + _irm, + _accm, + ), + ( + (-1, {_sV: _inter}), + (-1, {_sV: _nG}), + (-1, {_sV: _efa}), + (-1, {_sV: _eo_}), + (-1, {_sV: _tru}), + (-1, {_sV: _lb}), + (-1, {_sV: _nlb}), + (-1, {_sV: _ve}), + (-1, {_sV: _br}), + (-1, {_sV: _tg_}), + (-1, {_sV: _la}), + (-1, {_sV: _qu}), + (-1, {_sV: _gam}), + (-1, {_sV: _agm}), + (-1, {_sV: _glb}), + (-1, {_sV: _glbe}), + (-1, {_sV: _irm}), + (-1, {_sV: _accm}), + ), +) + +NETWORK_INTERFACE_IPV6_ADDRESS: StaticSchema = ( + 18, + n0, + _NIIA, + 0, + (_IApv, _PIDN, _IPIs), + ( + (lambda: schemas.STRING, {_aQN: _IApv, _sN: _iApv}), + (lambda: schemas.STRING, {_aQN: _PIDN, _sN: _pIDN}), + (lambda: schemas.BOOLEAN, {_aQN: _IPIs, _sN: _iPIs}), + ), +) + +NETWORK_INTERFACE_IPV6_ADDRESSES_LIST: StaticSchema = ( + 16, + n0, + _NIIAL, + 0, + (_me,), + ((NETWORK_INTERFACE_IPV6_ADDRESS, {_sN: _i}),), +) + +IPV6_PREFIX_SPECIFICATION: StaticSchema = ( + 18, + n0, + _IPSpvre, + 0, + (_IPpv,), + ((lambda: schemas.STRING, {_aQN: _IPpv, _sN: _iPpvr}),), +) + +IPV6_PREFIXES_LIST: StaticSchema = ( + 16, + n0, + _IPLpvre, + 0, + (_me,), + ((IPV6_PREFIX_SPECIFICATION, {_sN: _i}),), +) + +NETWORK_INTERFACE_PRIVATE_IP_ADDRESS: StaticSchema = ( + 18, + n0, + _NIPIA, + 0, + (_Ass, _Prim, _PDNr, _PIAr), + ( + (NETWORK_INTERFACE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), + (lambda: schemas.BOOLEAN, {_aQN: _Prim, _sN: _prim}), + (lambda: schemas.STRING, {_aQN: _PDNr, _sN: _pDNr}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + ), +) + +NETWORK_INTERFACE_PRIVATE_IP_ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _NIPIAL, + 0, + (_me,), + ((NETWORK_INTERFACE_PRIVATE_IP_ADDRESS, {_sN: _i}),), +) + +PUBLIC_IP_DNS_NAME_OPTIONS: StaticSchema = ( + 18, + n0, + _PIDNO, + 0, + (_DHT, _PIDNu, _PIDN, _PDSDN), + ( + (lambda: schemas.STRING, {_aQN: _DHT, _sN: _dHT}), + (lambda: schemas.STRING, {_aQN: _PIDNu, _sN: _pIDNu}), + (lambda: schemas.STRING, {_aQN: _PIDN, _sN: _pIDN}), + (lambda: schemas.STRING, {_aQN: _PDSDN, _sN: _pDSDN}), + ), +) + +NETWORK_INTERFACE_STATUS: StaticSchema = ( + 14, + n0, + _NISe, + 0, + (_av, _ass, _at, _iu, _det), + ( + (-1, {_sV: _av}), + (-1, {_sV: _ass}), + (-1, {_sV: _at}), + (-1, {_sV: _iu_}), + (-1, {_sV: _det}), + ), +) + +NETWORK_INTERFACE: StaticSchema = ( + 18, + n0, + _NI, + 0, + ( + _Ass, + _At, + _AZ, + _CTC, + _Des, + _G, + _ITnte, + _IAp, + _MAa, + _NII, + _OA, + _OIw, + _PDNr, + _PDNu, + _PIDNO, + _PIAr, + _PIAri, + _IPpvr, + _IPp, + _RIeq, + _RMe, + _SDC, + _Sta, + _SIu, + _TSag, + _VI, + _DAIT, + _IN, + _IApv, + _Op, + _ASssoc, + _AZI, + ), + ( + (NETWORK_INTERFACE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), + (NETWORK_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (CONNECTION_TRACKING_CONFIGURATION, {_aQN: _CTC, _sN: _cTC}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + (NETWORK_INTERFACE_TYPE, {_aQN: _ITnte, _sN: _iTnt}), + (NETWORK_INTERFACE_IPV6_ADDRESSES_LIST, {_aQN: _IAS, _sN: _iAS}), + (lambda: schemas.STRING, {_aQN: _MAa, _sN: _mAa}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _PDNr, _sN: _pDNr}), + (lambda: schemas.STRING, {_aQN: _PDNu, _sN: _pDNu}), + (PUBLIC_IP_DNS_NAME_OPTIONS, {_aQN: _PIDNO, _sN: _pIDNO}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + (NETWORK_INTERFACE_PRIVATE_IP_ADDRESS_LIST, {_aQN: _PIASr, _sN: _pIAS}), + (lambda: schemas.IPV4_PREFIXES_LIST, {_aQN: _IPSpv, _sN: _iPS}), + (IPV6_PREFIXES_LIST, {_aQN: _IPSpvr, _sN: _iPSp}), + (lambda: schemas.STRING, {_aQN: _RIeq, _sN: _rIeq}), + (lambda: schemas.BOOLEAN, {_aQN: _RMe, _sN: _rMe}), + (lambda: schemas.BOOLEAN, {_aQN: _SDC, _sN: _sDC}), + (NETWORK_INTERFACE_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.BOOLEAN, {_aQN: _DAIT, _sN: _dAIT}), + (lambda: schemas.BOOLEAN, {_aQN: _IN, _sN: _iN}), + (lambda: schemas.STRING, {_aQN: _IApv, _sN: _iApv}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + (ASSOCIATED_SUBNET_LIST, {_aQN: _ASSs, _sN: _aSSs}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + ), +) + +INTERFACE_PERMISSION_TYPE: StaticSchema = ( + 14, + n0, + _IPTn, + 0, + (_IA_, _EA), + ((-1, {_sV: _IA__}), (-1, {_sV: _EA_})), +) + +CREATE_NETWORK_INTERFACE_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _CNIPIr, + {_sSI: _cCNIPRom, _sm: None}, + (_NII, _AAIw, _ASw, _Pe, _DR), + ( + (lambda: schemas.NETWORK_INTERFACE_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (INTERFACE_PERMISSION_TYPE, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_NETWORK_INTERFACE_PERMISSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CNIPOr, + {_sSI: _cCNIPRoma, _smit: None}, + (_IPnt,), + ((lambda: NETWORK_INTERFACE_PERMISSION, {_aQN: _IPnt, _sN: _iPnt}),), +) + +CREATE_NETWORK_INTERFACE_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _CNIPr, + 0, + CREATE_NETWORK_INTERFACE_PERMISSION_INPUT, + CREATE_NETWORK_INTERFACE_PERMISSION_OUTPUT, + (), +) + +NETWORK_INTERFACE_PERMISSION_STATE_CODE: StaticSchema = ( + 14, + n0, + _NIPSC, + 0, + (_p, _gra, _rev, _revo), + ((-1, {_sV: _p}), (-1, {_sV: _gra}), (-1, {_sV: _rev}), (-1, {_sV: _revo})), +) + +NETWORK_INTERFACE_PERMISSION_STATE: StaticSchema = ( + 18, + n0, + _NIPS, + 0, + (_St, _SMt), + ( + (NETWORK_INTERFACE_PERMISSION_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + ), +) + +NETWORK_INTERFACE_PERMISSION: StaticSchema = ( + 18, + n0, + _NIPe, + 0, + (_NIPIe, _NII, _AAIw, _ASw, _Pe, _PSer), + ( + (lambda: schemas.STRING, {_aQN: _NIPIe, _sN: _nIPIe}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _AAIw, _sN: _aAI}), + (lambda: schemas.STRING, {_aQN: _ASw, _sN: _aSw}), + (INTERFACE_PERMISSION_TYPE, {_aQN: _Pe, _sN: _perm}), + (NETWORK_INTERFACE_PERMISSION_STATE, {_aQN: _PSer, _sN: _pSer}), + ), +) + +SPREAD_LEVEL: StaticSchema = ( + 14, + n0, + _SLp, + 0, + (_ho, _rac), + ((-1, {_sV: _ho}), (-1, {_sV: _rac})), +) + +PLACEMENT_STRATEGY: StaticSchema = ( + 14, + n0, + _PSl, + 0, + (_clu, _spr, _part, _pt___), + ((-1, {_sV: _clu}), (-1, {_sV: _spr}), (-1, {_sV: _part}), (-1, {_sV: _pt____})), +) + +CREATE_PLACEMENT_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CPGI, + {_sSI: _cCPGR, _sm: None}, + (_PCa, _TSa, _SLp, _LGIi, _Op, _PGIa, _DR, _GN, _Str), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (SPREAD_LEVEL, 0), + (lambda: schemas.PLACEMENT_GROUP_ID, 0), + (lambda: schemas.OPERATOR_REQUEST, 0), + (lambda: schemas.PLACEMENT_GROUP_ID, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (PLACEMENT_STRATEGY, {_aQN: _Str, _sN: _str}), + ), +) + +CREATE_PLACEMENT_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CPGO, + {_sSI: _cCPGRo, _smit: None}, + (_PG,), + ((lambda: PLACEMENT_GROUP, {_aQN: _PG, _sN: _pG}),), +) + +CREATE_PLACEMENT_GROUP: StaticOperationSchema = ( + 23, + n0, + _CPG, + 0, + CREATE_PLACEMENT_GROUP_INPUT, + CREATE_PLACEMENT_GROUP_OUTPUT, + (), +) + +PLACEMENT_GROUP_STATE: StaticSchema = ( + 14, + n0, + _PGS, + 0, + (_p, _av, _de, _del), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), +) + +PLACEMENT_GROUP: StaticSchema = ( + 18, + n0, + _PG, + 0, + (_GN, _St, _Str, _PCa, _GIr, _Tag, _GA, _SLp, _LGIi, _Op, _PGIa), + ( + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (PLACEMENT_GROUP_STATE, {_aQN: _St, _sN: _st}), + (PLACEMENT_STRATEGY, {_aQN: _Str, _sN: _str}), + (lambda: schemas.INTEGER, {_aQN: _PCa, _sN: _pCa}), + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _GA, _sN: _gA}), + (SPREAD_LEVEL, {_aQN: _SLp, _sN: _sL}), + (lambda: schemas.PLACEMENT_GROUP_ID, {_aQN: _LGIi, _sN: _lGIi}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + (lambda: schemas.PLACEMENT_GROUP_ID, {_aQN: _PGIa, _sN: _pGI}), + ), +) + +CREATE_PUBLIC_IPV4_POOL_INPUT: StaticSchema = ( + 18, + n0, + _CPIPI, + {_sSI: _cCPIPR, _sm: None}, + (_DR, _TSa, _NBG), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_PUBLIC_IPV4_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _CPIPO, + {_sSI: _cCPIPRo, _smit: None}, + (_PIo,), + ((lambda: schemas.IPV4_POOL_EC2_ID, {_aQN: _PIo, _sN: _pIo}),), +) + +CREATE_PUBLIC_IPV4_POOL: StaticOperationSchema = ( + 23, + n0, + _CPIP, + 0, + CREATE_PUBLIC_IPV4_POOL_INPUT, + CREATE_PUBLIC_IPV4_POOL_OUTPUT, + (), +) + +CREATE_REPLACE_ROOT_VOLUME_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CRRVTI, + {_sSI: _cCRRVTR, _sm: None}, + (_II, _SIn, _CTl, _DR, _TSa, _IIm, _DRRV, _VIR, _VIo), + ( + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.SNAPSHOT_ID, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.IMAGE_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.VOLUME_ID, 0), + ), +) + +CREATE_REPLACE_ROOT_VOLUME_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CRRVTO, + {_sSI: _cCRRVTRo, _smit: None}, + (_RRVT,), + ((lambda: schemas.REPLACE_ROOT_VOLUME_TASK, {_aQN: _RRVT, _sN: _rRVT}),), +) + +CREATE_REPLACE_ROOT_VOLUME_TASK: StaticOperationSchema = ( + 23, + n0, + _CRRVT, + 0, + CREATE_REPLACE_ROOT_VOLUME_TASK_INPUT, + CREATE_REPLACE_ROOT_VOLUME_TASK_OUTPUT, + (), +) + +REPLACE_ROOT_VOLUME_TASK_ID: StaticSchema = (3, n0, _RRVTI, 0) + +REPLACE_ROOT_VOLUME_TASK_STATE: StaticSchema = ( + 14, + n0, + _RRVTS, + 0, + (_p, _ip________, _fai, _suc, _fa, _fd____), + ( + (-1, {_sV: _p}), + (-1, {_sV: _ip_____}), + (-1, {_sV: _fai}), + (-1, {_sV: _suc}), + (-1, {_sV: _fa}), + (-1, {_sV: _fd_____}), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_15.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_15.py new file mode 100644 index 000000000..5cb46a7b7 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_15.py @@ -0,0 +1,1442 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_vo = "volume" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_IC = "InstanceCount" +_av = "available" +_de = "deleting" +_del = "deleted" +_TGI = "TransitGatewayId" +_tGI = "transitGatewayId" +_St = "State" +_st = "state" +_as = "associating" +_ass = "associated" +_di = "disassociating" +_dis = "disassociated" +_fa = "failed" +_SIu = "SubnetId" +_sI = "subnetId" +_As = "Associations" +_OIw = "OwnerId" +_oI = "ownerId" +_e = "enable" +_disa = "disable" +_mo = "modifying" +_fai = "failing" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_VEI = "VpcEndpointId" +_dRr = "dryRun" +_VPCI = "VpcPeeringConnectionId" +_vPCI = "vpcPeeringConnectionId" +_CB = "CidrBlock" +_cB = "cidrBlock" +_act = "active" +_N = "Name" +_IA = "IpAddress" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_DPLI = "DestinationPrefixListId" +_dPLI = "destinationPrefixListId" +_EOIGI = "EgressOnlyInternetGatewayId" +_eOIGI = "egressOnlyInternetGatewayId" +_GI = "GatewayId" +_gI = "gatewayId" +_II = "InstanceId" +_iI = "instanceId" +_NGI = "NatGatewayId" +_nGI = "natGatewayId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_Or = "Origin" +_or = "origin" +_CGI = "CarrierGatewayId" +_cGI = "carrierGatewayId" +_CNA = "CoreNetworkArn" +_cNA = "coreNetworkArn" +_LGI = "LocalGatewayId" +_lGI = "localGatewayId" +_ROo = "RouteOrigin" +_RTo = "RouteTable" +_rTo = "routeTable" +_en = "enabling" +_ena = "enabled" +_disab = "disabling" +_Des = "Description" +_stan = "standard" +_AIs = "AssociationId" +_aIs = "associationId" +_PIP = "PublicIpv4Pool" +_pIP = "publicIpv4Pool" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_OA = "OutpostArn" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_FAILED = "FAILED" +_af = "association_failed" +_af_ = "association-failed" +_RSI = "RouteServerId" +_rSI = "routeServerId" +_RTIo = "RouteTableId" +_rTIo = "routeTableId" +_ASss = "AssociationState" +_aSs = "associationState" +_GIr = "GroupId" +_df_ = "disassociation_failed" +_df__ = "disassociation-failed" +_gIr = "groupId" +_IIm = "ImageId" +_VIo = "VolumeId" +_vIo = "volumeId" +_GN = "GroupName" +_SMta = "StateMessage" +_Bu = "Bucket" +_ST = "StartTime" +_sTt = "startTime" +_Prog = "Progress" +_prog = "progress" +_MODIFYING = "MODIFYING" +_iC = "instanceCount" +_CC = "CurrencyCode" +_cC = "currencyCode" +_Pric = "Price" +_pric = "price" +_Te = "Term" +_te = "term" +_PSric = "PriceSchedules" +_pSri = "priceSchedules" +_RIIes = "ReservedInstancesId" +_rII = "reservedInstancesId" +_RILe = "ReservedInstancesListings" +_RILS = "ReservedInstancesListingsSet" +_rILS = "reservedInstancesListingsSet" +_KKI = "KmsKeyId" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_iIm = "imageId" +_CDM = "CompletionDurationMinutes" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_oA = "outpostArn" +_STs = "SseType" +_sTs = "sseType" +_Ty = "Type" +_DCB = "DestinationCidrBlock" +_ty = "type" +_iApd = "ipAddress" +_df___ = "delete_failed" +_df____ = "delete-failed" +_VSol = "VolumeSize" +_DISABLED = "DISABLED" +_ENABLED = "ENABLED" +_vSo = "volumeSize" +_cip = "create_in_progress" +_cip_ = "create-in-progress" +_cc_ = "create_complete" +_cc__ = "create-complete" +_cf________________________ = "create_failed" +_cf_________________________ = "create-failed" +_dip_ = "delete_in_progress" +_dip__ = "delete-in-progress" +_dc_ = "delete_complete" +_dc__ = "delete-complete" +_DF_ = "DELETE_FAILED" +_SSIe = "SecondarySubnetId" +_sSIe = "secondarySubnetId" +_bl = "blackhole" +_dCB = "destinationCidrBlock" +_Rou = "Route" +_SRt = "StateReason" +_sRt = "stateReason" +_PAe = "PeerAddress" +_pAe = "peerAddress" +_PENDING = "PENDING" +_AVAILABLE = "AVAILABLE" +_DELETING = "DELETING" +_DELETED = "DELETED" +_ASsso = "AssociationSet" +_aSss = "associationSet" +_IOIn = "InstanceOwnerId" +_iOIn = "instanceOwnerId" +_PSS = "PriceScheduleSpecification" +_PSSL = "PriceScheduleSpecificationList" +_CRILIr = "CreateReservedInstancesListingInput" +_cCRILRom = "com.amazonaws.ec2#CreateReservedInstancesListingRequest" +_CRILOr = "CreateReservedInstancesListingOutput" +_cCRILRoma = "com.amazonaws.ec2#CreateReservedInstancesListingResult" +_CRILr = "CreateReservedInstancesListing" +_CRITI = "CreateRestoreImageTaskInput" +_cCRITR = "com.amazonaws.ec2#CreateRestoreImageTaskRequest" +_OK = "ObjectKey" +_CRITO = "CreateRestoreImageTaskOutput" +_cCRITRo = "com.amazonaws.ec2#CreateRestoreImageTaskResult" +_CRIT = "CreateRestoreImageTask" +_ONA = "OdbNetworkArn" +_CRIr = "CreateRouteInput" +_cCRR = "com.amazonaws.ec2#CreateRouteRequest" +_DICB = "DestinationIpv6CidrBlock" +_dICB = "destinationIpv6CidrBlock" +_CROr = "CreateRouteOutput" +_cCRRo = "com.amazonaws.ec2#CreateRouteResult" +_CRr = "CreateRoute" +_RSPRA = "RouteServerPersistRoutesAction" +_ENABLE = "ENABLE" +_DISABLE = "DISABLE" +_RESET = "RESET" +_res = "reset" +_CRSI = "CreateRouteServerInput" +_cCRSR = "com.amazonaws.ec2#CreateRouteServerRequest" +_ASA = "AmazonSideAsn" +_PRe = "PersistRoutes" +_PRD = "PersistRoutesDuration" +_SNE = "SnsNotificationsEnabled" +_RSPRS = "RouteServerPersistRoutesState" +_ENABLING = "ENABLING" +_RESETTING = "RESETTING" +_rese = "resetting" +_DISABLING = "DISABLING" +_RSS = "RouteServerState" +_RSo = "RouteServer" +_aSA = "amazonSideAsn" +_PRSe = "PersistRoutesState" +_pRSe = "persistRoutesState" +_pRD = "persistRoutesDuration" +_sNE = "snsNotificationsEnabled" +_STA = "SnsTopicArn" +_sTA = "snsTopicArn" +_CRSO = "CreateRouteServerOutput" +_cCRSRo = "com.amazonaws.ec2#CreateRouteServerResult" +_rSo = "routeServer" +_CRSr = "CreateRouteServer" +_CRSEI = "CreateRouteServerEndpointInput" +_cCRSER = "com.amazonaws.ec2#CreateRouteServerEndpointRequest" +_RSEI = "RouteServerEndpointId" +_RSES = "RouteServerEndpointState" +_FAILING = "FAILING" +_RSE = "RouteServerEndpoint" +_rSEI = "routeServerEndpointId" +_EIn = "EniId" +_eIn = "eniId" +_EAn = "EniAddress" +_eA = "eniAddress" +_FRa = "FailureReason" +_fRa = "failureReason" +_CRSEO = "CreateRouteServerEndpointOutput" +_cCRSERo = "com.amazonaws.ec2#CreateRouteServerEndpointResult" +_rSE = "routeServerEndpoint" +_CRSE = "CreateRouteServerEndpoint" +_RSPLM = "RouteServerPeerLivenessMode" +_BFD = "BFD" +_bf = "bfd" +_BK = "BGP_KEEPALIVE" +_bk = "bgp-keepalive" +_RSBOR = "RouteServerBgpOptionsRequest" +_PAee = "PeerAsn" +_PLD = "PeerLivenessDetection" +_CRSPI = "CreateRouteServerPeerInput" +_cCRSPR = "com.amazonaws.ec2#CreateRouteServerPeerRequest" +_BO = "BgpOptions" +_RSBS = "RouteServerBfdState" +_UP__ = "UP" +_up_ = "up" +_DOWN = "DOWN" +_dow = "down" +_RSBSo = "RouteServerBfdStatus" +_RSBO = "RouteServerBgpOptions" +_pAee = "peerAsn" +_pLD = "peerLivenessDetection" +_RSBSou = "RouteServerBgpState" +_RSBSout = "RouteServerBgpStatus" +_RSPI = "RouteServerPeerId" +_RSPS = "RouteServerPeerState" +_RSP = "RouteServerPeer" +_rSPI = "routeServerPeerId" +_EEI = "EndpointEniId" +_eEI = "endpointEniId" +_EEA = "EndpointEniAddress" +_eEA = "endpointEniAddress" +_bO = "bgpOptions" +_BSg = "BgpStatus" +_bSg = "bgpStatus" +_BSf = "BfdStatus" +_bSf = "bfdStatus" +_CRSPO = "CreateRouteServerPeerOutput" +_cCRSPRo = "com.amazonaws.ec2#CreateRouteServerPeerResult" +_rSP = "routeServerPeer" +_CRSP = "CreateRouteServerPeer" +_CRTI = "CreateRouteTableInput" +_cCRTR = "com.amazonaws.ec2#CreateRouteTableRequest" +_RTA = "RouteTableAssociation" +_Mai = "Main" +_main = "main" +_RTAI = "RouteTableAssociationId" +_rTAI = "routeTableAssociationId" +_RTAL = "RouteTableAssociationList" +_PVr = "PropagatingVgw" +_PVL = "PropagatingVgwList" +_CRTr = "CreateRouteTable" +_EVRP = "EnableVgwRoutePropagation" +_Adv = "Advertisement" +_RSou = "RouteState" +_fil = "filtered" +_oNA = "odbNetworkArn" +_RL = "RouteList" +_PVro = "PropagatingVgws" +_PVS = "PropagatingVgwSet" +_pVS = "propagatingVgwSet" +_Rout = "Routes" +_RSout = "RouteSet" +_rSou = "routeSet" +_CRTO = "CreateRouteTableOutput" +_cCRTRo = "com.amazonaws.ec2#CreateRouteTableResult" +_SNT = "SecondaryNetworkType" +_rdma = "rdma" +_CSNI = "CreateSecondaryNetworkInput" +_cCSNR = "com.amazonaws.ec2#CreateSecondaryNetworkRequest" +_ICBp = "Ipv4CidrBlock" +_NTe = "NetworkType" +_SNCAI = "SecondaryNetworkCidrAssociationId" +_SNCBAS = "SecondaryNetworkCidrBlockAssociationState" +_SNICBA = "SecondaryNetworkIpv4CidrBlockAssociation" +_SNICBAL = "SecondaryNetworkIpv4CidrBlockAssociationList" +_SNI = "SecondaryNetworkId" +_SNS = "SecondaryNetworkState" +_SNec = "SecondaryNetwork" +_sNI = "secondaryNetworkId" +_SNA = "SecondaryNetworkArn" +_sNA = "secondaryNetworkArn" +_ICBAp = "Ipv4CidrBlockAssociations" +_ICBASp = "Ipv4CidrBlockAssociationSet" +_iCBASp = "ipv4CidrBlockAssociationSet" +_CSNO = "CreateSecondaryNetworkOutput" +_cCSNRo = "com.amazonaws.ec2#CreateSecondaryNetworkResult" +_sNec = "secondaryNetwork" +_CSN = "CreateSecondaryNetwork" +_CSSI = "CreateSecondarySubnetInput" +_cCSSR = "com.amazonaws.ec2#CreateSecondarySubnetRequest" +_SSCAI = "SecondarySubnetCidrAssociationId" +_SSCBAS = "SecondarySubnetCidrBlockAssociationState" +_SSICBA = "SecondarySubnetIpv4CidrBlockAssociation" +_SSICBAL = "SecondarySubnetIpv4CidrBlockAssociationList" +_SSS = "SecondarySubnetState" +_SSe = "SecondarySubnet" +_SSA = "SecondarySubnetArn" +_sSA = "secondarySubnetArn" +_sNT = "secondaryNetworkType" +_CSSO = "CreateSecondarySubnetOutput" +_cCSSRo = "com.amazonaws.ec2#CreateSecondarySubnetResult" +_sSe = "secondarySubnet" +_CSS = "CreateSecondarySubnet" +_CSGI = "CreateSecurityGroupInput" +_cCSGR = "com.amazonaws.ec2#CreateSecurityGroupRequest" +_GD = "GroupDescription" +_CSGO = "CreateSecurityGroupOutput" +_cCSGRo = "com.amazonaws.ec2#CreateSecurityGroupResult" +_SGA = "SecurityGroupArn" +_sGA = "securityGroupArn" +_CSG = "CreateSecurityGroup" +_CSIr = "CreateSnapshotInput" +_cCSRom = "com.amazonaws.ec2#CreateSnapshotRequest" +_Loca = "Location" +_SCDMRn = "SnapshotCompletionDurationMinutesResponse" +_STt = "StorageTier" +_arc = "archive" +_TTra = "TransferType" +_tb = "time_based" +_tb_ = "time-based" +_CSOr = "CreateSnapshotOutput" +_cSom = "com.amazonaws.ec2#Snapshot" +_OAw = "OwnerAlias" +_oAw = "ownerAlias" +_sTto = "storageTier" +_RET = "RestoreExpiryTime" +_rET = "restoreExpiryTime" +_tTr = "transferType" +_cDM = "completionDurationMinutes" +_CTomp = "CompletionTime" +_cTomp = "completionTime" +_FSSIB = "FullSnapshotSizeInBytes" +_fSSIB = "fullSnapshotSizeInBytes" +_DEKI = "DataEncryptionKeyId" +_dEKI = "dataEncryptionKeyId" +_CSre = "CreateSnapshot" +_CTFS = "CopyTagsFromSource" +_IIWVR = "InstanceIdWithVolumeResolver" +_ISn = "InstanceSpecification" +_EBV = "ExcludeBootVolume" +_EDVI = "ExcludeDataVolumeIds" +_EDVIx = "ExcludeDataVolumeId" +_RSMR = "RouteServerMaxResults" + +PRICE_SCHEDULE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _PSS, + 0, + (_Te, _Pric, _CC), + ( + (lambda: schemas.LONG, {_aQN: _Te, _sN: _te}), + (lambda: schemas.DOUBLE, {_aQN: _Pric, _sN: _pric}), + (lambda: schemas.CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + ), +) + +PRICE_SCHEDULE_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _PSSL, + 0, + (_me,), + ((PRICE_SCHEDULE_SPECIFICATION, {_sN: _i}),), +) + +CREATE_RESERVED_INSTANCES_LISTING_INPUT: StaticSchema = ( + 18, + n0, + _CRILIr, + {_sSI: _cCRILRom, _sm: None}, + (_RIIes, _IC, _PSric, _CTl), + ( + (lambda: schemas.RESERVATION_ID, {_aQN: _RIIes, _sN: _rII, _smi: None}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC, _smi: None}), + (PRICE_SCHEDULE_SPECIFICATION_LIST, {_aQN: _PSric, _sN: _pSri, _smi: None}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl, _smi: None}), + ), +) + +CREATE_RESERVED_INSTANCES_LISTING_OUTPUT: StaticSchema = ( + 18, + n0, + _CRILOr, + {_sSI: _cCRILRoma, _smit: None}, + (_RILe,), + ((lambda: schemas.RESERVED_INSTANCES_LISTING_LIST, {_aQN: _RILS, _sN: _rILS}),), +) + +CREATE_RESERVED_INSTANCES_LISTING: StaticOperationSchema = ( + 23, + n0, + _CRILr, + 0, + CREATE_RESERVED_INSTANCES_LISTING_INPUT, + CREATE_RESERVED_INSTANCES_LISTING_OUTPUT, + (), +) + +CREATE_RESTORE_IMAGE_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CRITI, + {_sSI: _cCRITR, _sm: None}, + (_Bu, _OK, _N, _TSa, _DR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.IMAGE_NAME_REQUEST, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_RESTORE_IMAGE_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CRITO, + {_sSI: _cCRITRo, _smit: None}, + (_IIm,), + ((lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}),), +) + +CREATE_RESTORE_IMAGE_TASK: StaticOperationSchema = ( + 23, + n0, + _CRIT, + 0, + CREATE_RESTORE_IMAGE_TASK_INPUT, + CREATE_RESTORE_IMAGE_TASK_OUTPUT, + (), +) + +CORE_NETWORK_ARN: StaticSchema = (3, n0, _CNA, 0) + +ODB_NETWORK_ARN: StaticSchema = (3, n0, _ONA, 0) + +VPC_PEERING_CONNECTION_ID: StaticSchema = (3, n0, _VPCI, 0) + +CREATE_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _CRIr, + {_sSI: _cCRR, _sm: None}, + ( + _DPLI, + _VEI, + _TGI, + _LGI, + _CGI, + _CNA, + _ONA, + _DR, + _RTIo, + _DCB, + _GI, + _DICB, + _EOIGI, + _II, + _NII, + _VPCI, + _NGI, + ), + ( + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 0), + (lambda: schemas.VPC_ENDPOINT_ID, 0), + (lambda: schemas.TRANSIT_GATEWAY_ID, 0), + (lambda: schemas.LOCAL_GATEWAY_ID, 0), + (lambda: schemas.CARRIER_GATEWAY_ID, 0), + (CORE_NETWORK_ARN, 0), + (ODB_NETWORK_ARN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (lambda: schemas.ROUTE_GATEWAY_ID, {_aQN: _GI, _sN: _gI}), + (lambda: schemas.STRING, {_aQN: _DICB, _sN: _dICB}), + (lambda: schemas.EGRESS_ONLY_INTERNET_GATEWAY_ID, {_aQN: _EOIGI, _sN: _eOIGI}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), + (VPC_PEERING_CONNECTION_ID, {_aQN: _VPCI, _sN: _vPCI}), + (lambda: schemas.NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), + ), +) + +CREATE_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _CROr, + {_sSI: _cCRRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +CREATE_ROUTE: StaticOperationSchema = ( + 23, + n0, + _CRr, + 0, + CREATE_ROUTE_INPUT, + CREATE_ROUTE_OUTPUT, + (), +) + +ROUTE_SERVER_PERSIST_ROUTES_ACTION: StaticSchema = ( + 14, + n0, + _RSPRA, + 0, + (_ENABLE, _DISABLE, _RESET), + ((-1, {_sV: _e}), (-1, {_sV: _disa}), (-1, {_sV: _res})), +) + +CREATE_ROUTE_SERVER_INPUT: StaticSchema = ( + 18, + n0, + _CRSI, + {_sSI: _cCRSR, _sm: None}, + (_ASA, _CTl, _DR, _PRe, _PRD, _SNE, _TSa), + ( + (lambda: schemas.LONG, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (ROUTE_SERVER_PERSIST_ROUTES_ACTION, 0), + (lambda: schemas.BOXED_LONG, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_ROUTE_SERVER_OUTPUT: StaticSchema = ( + 18, + n0, + _CRSO, + {_sSI: _cCRSRo, _smit: None}, + (_RSo,), + ((lambda: ROUTE_SERVER, {_aQN: _RSo, _sN: _rSo}),), +) + +CREATE_ROUTE_SERVER: StaticOperationSchema = ( + 23, + n0, + _CRSr, + 0, + CREATE_ROUTE_SERVER_INPUT, + CREATE_ROUTE_SERVER_OUTPUT, + (), +) + +ROUTE_SERVER_PERSIST_ROUTES_STATE: StaticSchema = ( + 14, + n0, + _RSPRS, + 0, + (_ENABLING, _ENABLED, _RESETTING, _DISABLING, _DISABLED, _MODIFYING), + ( + (-1, {_sV: _en}), + (-1, {_sV: _ena}), + (-1, {_sV: _rese}), + (-1, {_sV: _disab}), + (-1, {_sV: _d}), + (-1, {_sV: _mo}), + ), +) + +ROUTE_SERVER_STATE: StaticSchema = ( + 14, + n0, + _RSS, + 0, + (_PENDING, _AVAILABLE, _MODIFYING, _DELETING, _DELETED), + ( + (-1, {_sV: _p}), + (-1, {_sV: _av}), + (-1, {_sV: _mo}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + ), +) + +ROUTE_SERVER: StaticSchema = ( + 18, + n0, + _RSo, + 0, + (_RSI, _ASA, _St, _Tag, _PRSe, _PRD, _SNE, _STA), + ( + (lambda: schemas.ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), + (lambda: schemas.LONG, {_aQN: _ASA, _sN: _aSA}), + (ROUTE_SERVER_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (ROUTE_SERVER_PERSIST_ROUTES_STATE, {_aQN: _PRSe, _sN: _pRSe}), + (lambda: schemas.BOXED_LONG, {_aQN: _PRD, _sN: _pRD}), + (lambda: schemas.BOOLEAN, {_aQN: _SNE, _sN: _sNE}), + (lambda: schemas.STRING, {_aQN: _STA, _sN: _sTA}), + ), +) + +CREATE_ROUTE_SERVER_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CRSEI, + {_sSI: _cCRSER, _sm: None}, + (_RSI, _SIu, _CTl, _DR, _TSa), + ( + (lambda: schemas.ROUTE_SERVER_ID, 1), + (lambda: schemas.SUBNET_ID, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_ROUTE_SERVER_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CRSEO, + {_sSI: _cCRSERo, _smit: None}, + (_RSE,), + ((lambda: ROUTE_SERVER_ENDPOINT, {_aQN: _RSE, _sN: _rSE}),), +) + +CREATE_ROUTE_SERVER_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CRSE, + 0, + CREATE_ROUTE_SERVER_ENDPOINT_INPUT, + CREATE_ROUTE_SERVER_ENDPOINT_OUTPUT, + (), +) + +ROUTE_SERVER_ENDPOINT_ID: StaticSchema = (3, n0, _RSEI, 0) + +ROUTE_SERVER_ENDPOINT_STATE: StaticSchema = ( + 14, + n0, + _RSES, + 0, + (_PENDING, _AVAILABLE, _DELETING, _DELETED, _FAILING, _FAILED, _DF_), + ( + (-1, {_sV: _p}), + (-1, {_sV: _av}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + (-1, {_sV: _fai}), + (-1, {_sV: _fa}), + (-1, {_sV: _df____}), + ), +) + +ROUTE_SERVER_ENDPOINT: StaticSchema = ( + 18, + n0, + _RSE, + 0, + (_RSI, _RSEI, _VI, _SIu, _EIn, _EAn, _St, _FRa, _Tag), + ( + (lambda: schemas.ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), + (ROUTE_SERVER_ENDPOINT_ID, {_aQN: _RSEI, _sN: _rSEI}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _EIn, _sN: _eIn}), + (lambda: schemas.STRING, {_aQN: _EAn, _sN: _eA}), + (ROUTE_SERVER_ENDPOINT_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _FRa, _sN: _fRa}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +ROUTE_SERVER_PEER_LIVENESS_MODE: StaticSchema = ( + 14, + n0, + _RSPLM, + 0, + (_BFD, _BK), + ((-1, {_sV: _bf}), (-1, {_sV: _bk})), +) + +ROUTE_SERVER_BGP_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _RSBOR, + 0, + (_PAee, _PLD), + ((lambda: schemas.LONG, 1), (ROUTE_SERVER_PEER_LIVENESS_MODE, 0)), +) + +CREATE_ROUTE_SERVER_PEER_INPUT: StaticSchema = ( + 18, + n0, + _CRSPI, + {_sSI: _cCRSPR, _sm: None}, + (_RSEI, _PAe, _BO, _DR, _TSa), + ( + (ROUTE_SERVER_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 1), + (ROUTE_SERVER_BGP_OPTIONS_REQUEST, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_ROUTE_SERVER_PEER_OUTPUT: StaticSchema = ( + 18, + n0, + _CRSPO, + {_sSI: _cCRSPRo, _smit: None}, + (_RSP,), + ((lambda: ROUTE_SERVER_PEER, {_aQN: _RSP, _sN: _rSP}),), +) + +CREATE_ROUTE_SERVER_PEER: StaticOperationSchema = ( + 23, + n0, + _CRSP, + 0, + CREATE_ROUTE_SERVER_PEER_INPUT, + CREATE_ROUTE_SERVER_PEER_OUTPUT, + (), +) + +ROUTE_SERVER_BFD_STATE: StaticSchema = ( + 14, + n0, + _RSBS, + 0, + (_UP__, _DOWN), + ((-1, {_sV: _up_}), (-1, {_sV: _dow})), +) + +ROUTE_SERVER_BFD_STATUS: StaticSchema = ( + 18, + n0, + _RSBSo, + 0, + (_Sta,), + ((ROUTE_SERVER_BFD_STATE, {_aQN: _Sta, _sN: _sta}),), +) + +ROUTE_SERVER_BGP_OPTIONS: StaticSchema = ( + 18, + n0, + _RSBO, + 0, + (_PAee, _PLD), + ( + (lambda: schemas.LONG, {_aQN: _PAee, _sN: _pAee}), + (ROUTE_SERVER_PEER_LIVENESS_MODE, {_aQN: _PLD, _sN: _pLD}), + ), +) + +ROUTE_SERVER_BGP_STATE: StaticSchema = ( + 14, + n0, + _RSBSou, + 0, + (_UP__, _DOWN), + ((-1, {_sV: _up_}), (-1, {_sV: _dow})), +) + +ROUTE_SERVER_BGP_STATUS: StaticSchema = ( + 18, + n0, + _RSBSout, + 0, + (_Sta,), + ((ROUTE_SERVER_BGP_STATE, {_aQN: _Sta, _sN: _sta}),), +) + +ROUTE_SERVER_PEER_ID: StaticSchema = (3, n0, _RSPI, 0) + +ROUTE_SERVER_PEER_STATE: StaticSchema = ( + 14, + n0, + _RSPS, + 0, + (_PENDING, _AVAILABLE, _DELETING, _DELETED, _FAILING, _FAILED), + ( + (-1, {_sV: _p}), + (-1, {_sV: _av}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + (-1, {_sV: _fai}), + (-1, {_sV: _fa}), + ), +) + +ROUTE_SERVER_PEER: StaticSchema = ( + 18, + n0, + _RSP, + 0, + (_RSPI, _RSEI, _RSI, _VI, _SIu, _St, _FRa, _EEI, _EEA, _PAe, _BO, _BSg, _BSf, _Tag), + ( + (ROUTE_SERVER_PEER_ID, {_aQN: _RSPI, _sN: _rSPI}), + (ROUTE_SERVER_ENDPOINT_ID, {_aQN: _RSEI, _sN: _rSEI}), + (lambda: schemas.ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (ROUTE_SERVER_PEER_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _FRa, _sN: _fRa}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _EEI, _sN: _eEI}), + (lambda: schemas.STRING, {_aQN: _EEA, _sN: _eEA}), + (lambda: schemas.STRING, {_aQN: _PAe, _sN: _pAe}), + (ROUTE_SERVER_BGP_OPTIONS, {_aQN: _BO, _sN: _bO}), + (ROUTE_SERVER_BGP_STATUS, {_aQN: _BSg, _sN: _bSg}), + (ROUTE_SERVER_BFD_STATUS, {_aQN: _BSf, _sN: _bSf}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _CRTI, + {_sSI: _cCRTR, _sm: None}, + (_TSa, _CTl, _DR, _VI), + ( + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + ), +) + +CREATE_ROUTE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _CRTO, + {_sSI: _cCRTRo, _smit: None}, + (_RTo, _CTl), + ( + (lambda: ROUTE_TABLE, {_aQN: _RTo, _sN: _rTo}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _CRTr, + 0, + CREATE_ROUTE_TABLE_INPUT, + CREATE_ROUTE_TABLE_OUTPUT, + (), +) + +ROUTE_TABLE_ASSOCIATION: StaticSchema = ( + 18, + n0, + _RTA, + 0, + (_Mai, _RTAI, _RTIo, _SIu, _GI, _PIP, _ASss), + ( + (lambda: schemas.BOOLEAN, {_aQN: _Mai, _sN: _main}), + (lambda: schemas.STRING, {_aQN: _RTAI, _sN: _rTAI}), + (lambda: schemas.STRING, {_aQN: _RTIo, _sN: _rTIo}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _GI, _sN: _gI}), + (lambda: schemas.STRING, {_aQN: _PIP, _sN: _pIP}), + (lambda: schemas.ROUTE_TABLE_ASSOCIATION_STATE, {_aQN: _ASss, _sN: _aSs}), + ), +) + +ROUTE_TABLE_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _RTAL, + 0, + (_me,), + ((ROUTE_TABLE_ASSOCIATION, {_sN: _i}),), +) + +PROPAGATING_VGW: StaticSchema = ( + 18, + n0, + _PVr, + 0, + (_GI,), + ((lambda: schemas.STRING, {_aQN: _GI, _sN: _gI}),), +) + +PROPAGATING_VGW_LIST: StaticSchema = ( + 16, + n0, + _PVL, + 0, + (_me,), + ((PROPAGATING_VGW, {_sN: _i}),), +) + +ROUTE_ORIGIN: StaticSchema = ( + 14, + n0, + _ROo, + 0, + (_CRTr, _CRr, _EVRP, _Adv), + ((-1, {_sV: _CRTr}), (-1, {_sV: _CRr}), (-1, {_sV: _EVRP}), (-1, {_sV: _Adv})), +) + +ROUTE_STATE: StaticSchema = ( + 14, + n0, + _RSou, + 0, + (_act, _bl, _fil), + ((-1, {_sV: _act}), (-1, {_sV: _bl}), (-1, {_sV: _fil})), +) + +ROUTE: StaticSchema = ( + 18, + n0, + _Rou, + 0, + ( + _DCB, + _DICB, + _DPLI, + _EOIGI, + _GI, + _II, + _IOIn, + _NGI, + _TGI, + _LGI, + _CGI, + _NII, + _Or, + _St, + _VPCI, + _CNA, + _ONA, + _IA, + ), + ( + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (lambda: schemas.STRING, {_aQN: _DICB, _sN: _dICB}), + (lambda: schemas.STRING, {_aQN: _DPLI, _sN: _dPLI}), + (lambda: schemas.STRING, {_aQN: _EOIGI, _sN: _eOIGI}), + (lambda: schemas.STRING, {_aQN: _GI, _sN: _gI}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _IOIn, _sN: _iOIn}), + (lambda: schemas.STRING, {_aQN: _NGI, _sN: _nGI}), + (lambda: schemas.STRING, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.STRING, {_aQN: _LGI, _sN: _lGI}), + (lambda: schemas.CARRIER_GATEWAY_ID, {_aQN: _CGI, _sN: _cGI}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (ROUTE_ORIGIN, {_aQN: _Or, _sN: _or}), + (ROUTE_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _VPCI, _sN: _vPCI}), + (CORE_NETWORK_ARN, {_aQN: _CNA, _sN: _cNA}), + (ODB_NETWORK_ARN, {_aQN: _ONA, _sN: _oNA}), + (lambda: schemas.STRING, {_aQN: _IA, _sN: _iApd}), + ), +) + +ROUTE_LIST: StaticSchema = (16, n0, _RL, 0, (_me,), ((ROUTE, {_sN: _i}),)) + +ROUTE_TABLE: StaticSchema = ( + 18, + n0, + _RTo, + 0, + (_As, _PVro, _RTIo, _Rout, _Tag, _VI, _OIw), + ( + (ROUTE_TABLE_ASSOCIATION_LIST, {_aQN: _ASsso, _sN: _aSss}), + (PROPAGATING_VGW_LIST, {_aQN: _PVS, _sN: _pVS}), + (lambda: schemas.STRING, {_aQN: _RTIo, _sN: _rTIo}), + (ROUTE_LIST, {_aQN: _RSout, _sN: _rSou}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + ), +) + +SECONDARY_NETWORK_TYPE: StaticSchema = ( + 14, + n0, + _SNT, + 0, + (_rdma,), + ((-1, {_sV: _rdma}),), +) + +CREATE_SECONDARY_NETWORK_INPUT: StaticSchema = ( + 18, + n0, + _CSNI, + {_sSI: _cCSNR, _sm: None}, + (_CTl, _DR, _ICBp, _NTe, _TSa), + ( + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (SECONDARY_NETWORK_TYPE, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_SECONDARY_NETWORK_OUTPUT: StaticSchema = ( + 18, + n0, + _CSNO, + {_sSI: _cCSNRo, _smit: None}, + (_SNec, _CTl), + ( + (lambda: SECONDARY_NETWORK, {_aQN: _SNec, _sN: _sNec}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_SECONDARY_NETWORK: StaticOperationSchema = ( + 23, + n0, + _CSN, + 0, + CREATE_SECONDARY_NETWORK_INPUT, + CREATE_SECONDARY_NETWORK_OUTPUT, + (), +) + +SECONDARY_NETWORK_CIDR_ASSOCIATION_ID: StaticSchema = (3, n0, _SNCAI, 0) + +SECONDARY_NETWORK_CIDR_BLOCK_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _SNCBAS, + 0, + (_as, _ass, _af, _di, _dis, _df_), + ( + (-1, {_sV: _as}), + (-1, {_sV: _ass}), + (-1, {_sV: _af_}), + (-1, {_sV: _di}), + (-1, {_sV: _dis}), + (-1, {_sV: _df__}), + ), +) + +SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( + 18, + n0, + _SNICBA, + 0, + (_AIs, _CB, _St, _SRt), + ( + (SECONDARY_NETWORK_CIDR_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.STRING, {_aQN: _CB, _sN: _cB}), + (SECONDARY_NETWORK_CIDR_BLOCK_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SRt, _sN: _sRt}), + ), +) + +SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _SNICBAL, + 0, + (_me,), + ((SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), +) + +SECONDARY_NETWORK_ID: StaticSchema = (3, n0, _SNI, 0) + +SECONDARY_NETWORK_STATE: StaticSchema = ( + 14, + n0, + _SNS, + 0, + (_cip, _cc_, _cf________________________, _dip_, _dc_, _df___), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + ), +) + +SECONDARY_NETWORK: StaticSchema = ( + 18, + n0, + _SNec, + 0, + (_SNI, _SNA, _OIw, _Ty, _St, _SRt, _ICBAp, _Tag), + ( + (SECONDARY_NETWORK_ID, {_aQN: _SNI, _sN: _sNI}), + (lambda: schemas.STRING, {_aQN: _SNA, _sN: _sNA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (SECONDARY_NETWORK_TYPE, {_aQN: _Ty, _sN: _ty}), + (SECONDARY_NETWORK_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SRt, _sN: _sRt}), + ( + SECONDARY_NETWORK_IPV4_CIDR_BLOCK_ASSOCIATION_LIST, + {_aQN: _ICBASp, _sN: _iCBASp}, + ), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_SECONDARY_SUBNET_INPUT: StaticSchema = ( + 18, + n0, + _CSSI, + {_sSI: _cCSSR, _sm: None}, + (_CTl, _AZ, _AZI, _DR, _ICBp, _SNI, _TSa), + ( + (lambda: schemas.STRING, 2), + (lambda: schemas.AVAILABILITY_ZONE_NAME, 0), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (SECONDARY_NETWORK_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_SECONDARY_SUBNET_OUTPUT: StaticSchema = ( + 18, + n0, + _CSSO, + {_sSI: _cCSSRo, _smit: None}, + (_SSe, _CTl), + ( + (lambda: SECONDARY_SUBNET, {_aQN: _SSe, _sN: _sSe}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_SECONDARY_SUBNET: StaticOperationSchema = ( + 23, + n0, + _CSS, + 0, + CREATE_SECONDARY_SUBNET_INPUT, + CREATE_SECONDARY_SUBNET_OUTPUT, + (), +) + +SECONDARY_SUBNET_CIDR_ASSOCIATION_ID: StaticSchema = (3, n0, _SSCAI, 0) + +SECONDARY_SUBNET_CIDR_BLOCK_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _SSCBAS, + 0, + (_as, _ass, _af, _di, _dis, _df_), + ( + (-1, {_sV: _as}), + (-1, {_sV: _ass}), + (-1, {_sV: _af_}), + (-1, {_sV: _di}), + (-1, {_sV: _dis}), + (-1, {_sV: _df__}), + ), +) + +SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( + 18, + n0, + _SSICBA, + 0, + (_AIs, _CB, _St, _SRt), + ( + (SECONDARY_SUBNET_CIDR_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.STRING, {_aQN: _CB, _sN: _cB}), + (SECONDARY_SUBNET_CIDR_BLOCK_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SRt, _sN: _sRt}), + ), +) + +SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _SSICBAL, + 0, + (_me,), + ((SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), +) + +SECONDARY_SUBNET_STATE: StaticSchema = ( + 14, + n0, + _SSS, + 0, + (_cip, _cc_, _cf________________________, _dip_, _dc_, _df___), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _df____}), + ), +) + +SECONDARY_SUBNET: StaticSchema = ( + 18, + n0, + _SSe, + 0, + (_SSIe, _SSA, _SNI, _SNT, _OIw, _AZI, _AZ, _ICBAp, _St, _SRt, _Tag), + ( + (lambda: schemas.SECONDARY_SUBNET_ID, {_aQN: _SSIe, _sN: _sSIe}), + (lambda: schemas.STRING, {_aQN: _SSA, _sN: _sSA}), + (SECONDARY_NETWORK_ID, {_aQN: _SNI, _sN: _sNI}), + (SECONDARY_NETWORK_TYPE, {_aQN: _SNT, _sN: _sNT}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), + ( + SECONDARY_SUBNET_IPV4_CIDR_BLOCK_ASSOCIATION_LIST, + {_aQN: _ICBASp, _sN: _iCBASp}, + ), + (SECONDARY_SUBNET_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SRt, _sN: _sRt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_SECURITY_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CSGI, + {_sSI: _cCSGR, _sm: None}, + (_Des, _GN, _VI, _TSa, _DR), + ( + (lambda: schemas.STRING, {_sN: _GD, _smi: None}), + (lambda: schemas.STRING, 1), + (lambda: schemas.VPC_ID, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_SECURITY_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CSGO, + {_sSI: _cCSGRo, _smit: None}, + (_GIr, _Tag, _SGA), + ( + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _SGA, _sN: _sGA}), + ), +) + +CREATE_SECURITY_GROUP: StaticOperationSchema = ( + 23, + n0, + _CSG, + 0, + CREATE_SECURITY_GROUP_INPUT, + CREATE_SECURITY_GROUP_OUTPUT, + (), +) + +CREATE_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _CSIr, + {_sSI: _cCSRom, _sm: None}, + (_Des, _OA, _VIo, _TSa, _Loca, _DR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VOLUME_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.SNAPSHOT_LOCATION_ENUM, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _CSOr, + {_sSI: _cSom, _smit: None}, + ( + _OAw, + _OA, + _Tag, + _STt, + _RET, + _STs, + _AZ, + _TTra, + _CDM, + _CTomp, + _FSSIB, + _SIn, + _VIo, + _St, + _SMta, + _ST, + _Prog, + _OIw, + _Des, + _VSol, + _En, + _KKI, + _DEKI, + ), + ( + (lambda: schemas.STRING, {_aQN: _OAw, _sN: _oAw}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: STORAGE_TIER, {_aQN: _STt, _sN: _sTto}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RET, _sN: _rET}), + (lambda: schemas.SSE_TYPE, {_aQN: _STs, _sN: _sTs}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: TRANSFER_TYPE, {_aQN: _TTra, _sN: _tTr}), + ( + lambda: SNAPSHOT_COMPLETION_DURATION_MINUTES_RESPONSE, + {_aQN: _CDM, _sN: _cDM}, + ), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTomp, _sN: _cTomp}), + (lambda: schemas.LONG, {_aQN: _FSSIB, _sN: _fSSIB}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.SNAPSHOT_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.INTEGER, {_aQN: _VSol, _sN: _vSo}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}), + (lambda: schemas.STRING, {_aQN: _DEKI, _sN: _dEKI}), + ), +) + +CREATE_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _CSre, + 0, + CREATE_SNAPSHOT_INPUT, + CREATE_SNAPSHOT_OUTPUT, + (), +) + +SNAPSHOT_COMPLETION_DURATION_MINUTES_RESPONSE: StaticSchema = (7, n0, _SCDMRn, 0) + +STORAGE_TIER: StaticSchema = ( + 14, + n0, + _STt, + 0, + (_arc, _stan), + ((-1, {_sV: _arc}), (-1, {_sV: _stan})), +) + +TRANSFER_TYPE: StaticSchema = ( + 14, + n0, + _TTra, + 0, + (_tb, _stan), + ((-1, {_sV: _tb_}), (-1, {_sV: _stan})), +) + +COPY_TAGS_FROM_SOURCE: StaticSchema = (14, n0, _CTFS, 0, (_vo,), ((-1, {_sV: _vo}),)) + +INSTANCE_ID_WITH_VOLUME_RESOLVER: StaticSchema = (3, n0, _IIWVR, 0) + +INSTANCE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _ISn, + 0, + (_II, _EBV, _EDVI), + ( + (INSTANCE_ID_WITH_VOLUME_RESOLVER, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VOLUME_ID_STRING_LIST, {_sN: _EDVIx}), + ), +) + +ROUTE_SERVER_MAX_RESULTS: StaticSchema = (7, n0, _RSMR, 0) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_16.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_16.py new file mode 100644 index 000000000..5de46eca3 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_16.py @@ -0,0 +1,1403 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_ni = "network_interface" +_ni_ = "network-interface" +_su = "subnet" +_Ta = "Tag" +_Ke = "Key" +_Va = "Value" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_smit = "smithy.api#output" +_TGAI = "TransitGatewayAttachmentId" +_av = "available" +_de = "deleting" +_del = "deleted" +_TGI = "TransitGatewayId" +_tGAI = "transitGatewayAttachmentId" +_tGI = "transitGatewayId" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_SIu = "SubnetId" +_sI = "subnetId" +_RIe = "ResourceId" +_OIw = "OwnerId" +_oI = "ownerId" +_e = "enable" +_disa = "disable" +_mo = "modifying" +_O = "Options" +_o = "options" +_TSag = "TagSet" +_tS = "tagSet" +_DS = "DnsSupport" +_dS = "dnsSupport" +_SGRS = "SecurityGroupReferencingSupport" +_sGRS = "securityGroupReferencingSupport" +_VI = "VpcId" +_dRr = "dryRun" +_CB = "CidrBlock" +_ICB = "Ipv6CidrBlock" +_Ci = "Cidr" +_ci = "cidr" +_egr = "egress" +_P = "Protocol" +_pro = "protocol" +_RA = "RuleAction" +_rA = "ruleAction" +_RN = "RuleNumber" +_rN = "ruleNumber" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SPR = "SourcePortRange" +_sPR = "sourcePortRange" +_DPR = "DestinationPortRange" +_dPR = "destinationPortRange" +_Sub = "Subnet" +_TGr = "TransitGateway" +_tG = "transitGateway" +_Res = "Resources" +_en = "enabling" +_ena = "enabled" +_disab = "disabling" +_Des = "Description" +_desc = "description" +_OA = "OutpostArn" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_sU = "smithy.api#Unit" +_IIPI = "Ipv6IpamPoolId" +_INL = "Ipv6NetmaskLength" +_IIPIp = "Ipv4IpamPoolId" +_INLp = "Ipv4NetmaskLength" +_IIm = "ImageId" +_VIo = "VolumeId" +_vIo = "volumeId" +_FP = "FromPort" +_fP = "fromPort" +_TP = "ToPort" +_tP = "toPort" +_SMta = "StateMessage" +_sMta = "stateMessage" +_Bu = "Bucket" +_buc = "bucket" +_Pre = "Prefix" +_pre = "prefix" +_ST = "StartTime" +_sTt = "startTime" +_Prog = "Progress" +_prog = "progress" +_Act = "Active" +_En = "Encrypted" +_enc = "encrypted" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_oA = "outpostArn" +_STs = "SseType" +_sTs = "sseType" +_RTes = "ReservationType" +_rTe = "reservationType" +_Ty = "Type" +_DCB = "DestinationCidrBlock" +_ty = "type" +_IN = "Ipv6Native" +_VSol = "VolumeSize" +_vSo = "volumeSize" +_dCB = "destinationCidrBlock" +_PAe = "PeerAddress" +_pAe = "peerAddress" +_nlb = "network_load_balancer" +_glbe = "gateway_load_balancer_endpoint" +_OK = "ObjectKey" +_ASA = "AmazonSideAsn" +_aSA = "amazonSideAsn" +_PAee = "PeerAsn" +_BO = "BgpOptions" +_up_ = "up" +_dow = "down" +_pAee = "peerAsn" +_BSg = "BgpStatus" +_bSg = "bgpStatus" +_Loca = "Location" +_CTFS = "CopyTagsFromSource" +_ISn = "InstanceSpecification" +_CSIre = "CreateSnapshotsInput" +_cCSRoma = "com.amazonaws.ec2#CreateSnapshotsRequest" +_SIna = "SnapshotInfo" +_SSna = "SnapshotSet" +_CSOre = "CreateSnapshotsOutput" +_cCSRomam = "com.amazonaws.ec2#CreateSnapshotsResult" +_Sn = "Snapshots" +_sSn = "snapshotSet" +_CSrea = "CreateSnapshots" +_CSDSI = "CreateSpotDatafeedSubscriptionInput" +_cCSDSR = "com.amazonaws.ec2#CreateSpotDatafeedSubscriptionRequest" +_DSS = "DatafeedSubscriptionState" +_Ina = "Inactive" +_SDS = "SpotDatafeedSubscription" +_Fa = "Fault" +_fau = "fault" +_CSDSO = "CreateSpotDatafeedSubscriptionOutput" +_cCSDSRo = "com.amazonaws.ec2#CreateSpotDatafeedSubscriptionResult" +_sDS = "spotDatafeedSubscription" +_CSDS = "CreateSpotDatafeedSubscription" +_SOT = "S3ObjectTag" +_SOTL = "S3ObjectTagList" +_CSITI = "CreateStoreImageTaskInput" +_cCSITR = "com.amazonaws.ec2#CreateStoreImageTaskRequest" +_SOTb = "S3ObjectTags" +_CSITO = "CreateStoreImageTaskOutput" +_cCSITRo = "com.amazonaws.ec2#CreateStoreImageTaskResult" +_oK = "objectKey" +_CSIT = "CreateStoreImageTask" +_CSIrea = "CreateSubnetInput" +_cCSRomama = "com.amazonaws.ec2#CreateSubnetRequest" +_CSOrea = "CreateSubnetOutput" +_cCSRomamaz = "com.amazonaws.ec2#CreateSubnetResult" +_CSreat = "CreateSubnet" +_SCRT = "SubnetCidrReservationType" +_expl = "explicit" +_CSCRI = "CreateSubnetCidrReservationInput" +_cCSCRR = "com.amazonaws.ec2#CreateSubnetCidrReservationRequest" +_SCRIu = "SubnetCidrReservationId" +_SCRu = "SubnetCidrReservation" +_sCRIu = "subnetCidrReservationId" +_CSCRO = "CreateSubnetCidrReservationOutput" +_cCSCRRo = "com.amazonaws.ec2#CreateSubnetCidrReservationResult" +_sCRu = "subnetCidrReservation" +_CSCR = "CreateSubnetCidrReservation" +_TRI = "TaggableResourceId" +_RILes = "ResourceIdList" +_CTIr = "CreateTagsInput" +_cCTR = "com.amazonaws.ec2#CreateTagsRequest" +_CTO = "CreateTagsOutput" +_CTre = "CreateTags" +_CTMFI = "CreateTrafficMirrorFilterInput" +_cCTMFR = "com.amazonaws.ec2#CreateTrafficMirrorFilterRequest" +_TMPR = "TrafficMirrorPortRange" +_TMRA = "TrafficMirrorRuleAction" +_acce = "accept" +_reje = "reject" +_TDr = "TrafficDirection" +_ing = "ingress" +_TMFR = "TrafficMirrorFilterRule" +_TMFRI = "TrafficMirrorFilterRuleId" +_tMFRI = "trafficMirrorFilterRuleId" +_TMFI = "TrafficMirrorFilterId" +_tMFI = "trafficMirrorFilterId" +_tD = "trafficDirection" +_SCB = "SourceCidrBlock" +_sCB = "sourceCidrBlock" +_TMFRL = "TrafficMirrorFilterRuleList" +_TMNS = "TrafficMirrorNetworkService" +_ad_ = "amazon_dns" +_ad__ = "amazon-dns" +_TMNSL = "TrafficMirrorNetworkServiceList" +_TMF = "TrafficMirrorFilter" +_IFR = "IngressFilterRules" +_IFRS = "IngressFilterRuleSet" +_iFRS = "ingressFilterRuleSet" +_EFR = "EgressFilterRules" +_EFRS = "EgressFilterRuleSet" +_eFRS = "egressFilterRuleSet" +_NSe = "NetworkServices" +_NSS = "NetworkServiceSet" +_nSS = "networkServiceSet" +_CTMFO = "CreateTrafficMirrorFilterOutput" +_cCTMFRo = "com.amazonaws.ec2#CreateTrafficMirrorFilterResult" +_tMF = "trafficMirrorFilter" +_CTMF = "CreateTrafficMirrorFilter" +_TMPRR = "TrafficMirrorPortRangeRequest" +_CTMFRI = "CreateTrafficMirrorFilterRuleInput" +_cCTMFRR = "com.amazonaws.ec2#CreateTrafficMirrorFilterRuleRequest" +_CTMFRO = "CreateTrafficMirrorFilterRuleOutput" +_cCTMFRRo = "com.amazonaws.ec2#CreateTrafficMirrorFilterRuleResult" +_tMFR = "trafficMirrorFilterRule" +_CTMFR = "CreateTrafficMirrorFilterRule" +_TMTI = "TrafficMirrorTargetId" +_CTMSI = "CreateTrafficMirrorSessionInput" +_cCTMSR = "com.amazonaws.ec2#CreateTrafficMirrorSessionRequest" +_PLa = "PacketLength" +_SNes = "SessionNumber" +_VNI = "VirtualNetworkId" +_TMS = "TrafficMirrorSession" +_TMSI = "TrafficMirrorSessionId" +_tMSI = "trafficMirrorSessionId" +_tMTI = "trafficMirrorTargetId" +_pLa = "packetLength" +_sNes = "sessionNumber" +_vNI = "virtualNetworkId" +_CTMSO = "CreateTrafficMirrorSessionOutput" +_cCTMSRo = "com.amazonaws.ec2#CreateTrafficMirrorSessionResult" +_tMS = "trafficMirrorSession" +_CTMS = "CreateTrafficMirrorSession" +_CTMTI = "CreateTrafficMirrorTargetInput" +_cCTMTR = "com.amazonaws.ec2#CreateTrafficMirrorTargetRequest" +_NLBA = "NetworkLoadBalancerArn" +_GLBEI = "GatewayLoadBalancerEndpointId" +_TMTT = "TrafficMirrorTargetType" +_nlb_ = "network-load-balancer" +_glbe_ = "gateway-load-balancer-endpoint" +_TMT = "TrafficMirrorTarget" +_nLBA = "networkLoadBalancerArn" +_gLBEI = "gatewayLoadBalancerEndpointId" +_CTMTO = "CreateTrafficMirrorTargetOutput" +_cCTMTRo = "com.amazonaws.ec2#CreateTrafficMirrorTargetResult" +_tMT = "trafficMirrorTarget" +_CTMT = "CreateTrafficMirrorTarget" +_AASAV = "AutoAcceptSharedAttachmentsValue" +_DRTAV = "DefaultRouteTableAssociationValue" +_DRTPV = "DefaultRouteTablePropagationValue" +_MSV = "MulticastSupportValue" +_TGCBSL = "TransitGatewayCidrBlockStringList" +_VESV = "VpnEcmpSupportValue" +_TGRO = "TransitGatewayRequestOptions" +_AASA = "AutoAcceptSharedAttachments" +_DRTA = "DefaultRouteTableAssociation" +_DRTP = "DefaultRouteTablePropagation" +_VESp = "VpnEcmpSupport" +_MSu = "MulticastSupport" +_TGCB = "TransitGatewayCidrBlocks" +_CTGI = "CreateTransitGatewayInput" +_cCTGR = "com.amazonaws.ec2#CreateTransitGatewayRequest" +_ESV = "EncryptionStateValue" +_ESnc = "EncryptionSupport" +_ESncr = "EncryptionState" +_eSnc = "encryptionState" +_TGO = "TransitGatewayOptions" +_tGCB = "transitGatewayCidrBlocks" +_aASA = "autoAcceptSharedAttachments" +_dRTA = "defaultRouteTableAssociation" +_ADRTI = "AssociationDefaultRouteTableId" +_aDRTI = "associationDefaultRouteTableId" +_dRTP = "defaultRouteTablePropagation" +_PDRTI = "PropagationDefaultRouteTableId" +_pDRTI = "propagationDefaultRouteTableId" +_vESp = "vpnEcmpSupport" +_mSu = "multicastSupport" +_eSncr = "encryptionSupport" +_TGS = "TransitGatewayState" +_TGAra = "TransitGatewayArn" +_tGAr = "transitGatewayArn" +_CTGO = "CreateTransitGatewayOutput" +_cCTGRo = "com.amazonaws.ec2#CreateTransitGatewayResult" +_CTG = "CreateTransitGateway" +_PVrot = "ProtocolValue" +_gre = "gre" +_CTGCRO = "CreateTransitGatewayConnectRequestOptions" +_CTGCI = "CreateTransitGatewayConnectInput" +_cCTGCR = "com.amazonaws.ec2#CreateTransitGatewayConnectRequest" +_TTGAI = "TransportTransitGatewayAttachmentId" +_TGCO = "TransitGatewayConnectOptions" +_TGCr = "TransitGatewayConnect" +_tTGAI = "transportTransitGatewayAttachmentId" +_CTGCO = "CreateTransitGatewayConnectOutput" +_cCTGCRo = "com.amazonaws.ec2#CreateTransitGatewayConnectResult" +_tGC = "transitGatewayConnect" +_CTGC = "CreateTransitGatewayConnect" +_TGCRBO = "TransitGatewayConnectRequestBgpOptions" +_ICBSL = "InsideCidrBlocksStringList" +_CTGCPI = "CreateTransitGatewayConnectPeerInput" +_cCTGCPR = "com.amazonaws.ec2#CreateTransitGatewayConnectPeerRequest" +_TGAran = "TransitGatewayAddress" +_ICBn = "InsideCidrBlocks" +_TGABC = "TransitGatewayAttachmentBgpConfiguration" +_TGArans = "TransitGatewayAsn" +_tGAra = "transitGatewayAsn" +_tGAran = "transitGatewayAddress" +_TGABCL = "TransitGatewayAttachmentBgpConfigurationList" +_TGCPC = "TransitGatewayConnectPeerConfiguration" +_iCBn = "insideCidrBlocks" +_BCg = "BgpConfigurations" +_bCg = "bgpConfigurations" +_TGCPS = "TransitGatewayConnectPeerState" +_TGCPI = "TransitGatewayConnectPeerId" +_TGCP = "TransitGatewayConnectPeer" +_tGCPI = "transitGatewayConnectPeerId" +_CPC = "ConnectPeerConfiguration" +_cPC = "connectPeerConfiguration" +_CTGCPO = "CreateTransitGatewayConnectPeerOutput" +_cCTGCPRo = "com.amazonaws.ec2#CreateTransitGatewayConnectPeerResult" +_tGCP = "transitGatewayConnectPeer" +_CTGCP = "CreateTransitGatewayConnectPeer" +_CTGMPI = "CreateTransitGatewayMeteringPolicyInput" +_cCTGMPR = "com.amazonaws.ec2#CreateTransitGatewayMeteringPolicyRequest" +_MAIi = "MiddleboxAttachmentIds" +_MAIid = "MiddleboxAttachmentId" +_TGMP = "TransitGatewayMeteringPolicy" +_CTGMPO = "CreateTransitGatewayMeteringPolicyOutput" +_cCTGMPRo = "com.amazonaws.ec2#CreateTransitGatewayMeteringPolicyResult" +_tGMP = "transitGatewayMeteringPolicy" +_CTGMP = "CreateTransitGatewayMeteringPolicy" +_TMFRIWR = "TrafficMirrorFilterRuleIdWithResolver" + +CREATE_SNAPSHOTS_INPUT: StaticSchema = ( + 18, + n0, + _CSIre, + {_sSI: _cCSRoma, _sm: None}, + (_Des, _ISn, _OA, _TSa, _DR, _CTFS, _Loca), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INSTANCE_SPECIFICATION, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.COPY_TAGS_FROM_SOURCE, 0), + (lambda: schemas.SNAPSHOT_LOCATION_ENUM, 0), + ), +) + +CREATE_SNAPSHOTS_OUTPUT: StaticSchema = ( + 18, + n0, + _CSOre, + {_sSI: _cCSRomam, _smit: None}, + (_Sn,), + ((lambda: SNAPSHOT_SET, {_aQN: _SSna, _sN: _sSn}),), +) + +CREATE_SNAPSHOTS: StaticOperationSchema = ( + 23, + n0, + _CSrea, + 0, + CREATE_SNAPSHOTS_INPUT, + CREATE_SNAPSHOTS_OUTPUT, + (), +) + +SNAPSHOT_INFO: StaticSchema = ( + 18, + n0, + _SIna, + 0, + (_Des, _Tag, _En, _VIo, _St, _VSol, _ST, _Prog, _OIw, _SIn, _OA, _STs, _AZ), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.SNAPSHOT_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.INTEGER, {_aQN: _VSol, _sN: _vSo}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.SSE_TYPE, {_aQN: _STs, _sN: _sTs}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + ), +) + +SNAPSHOT_SET: StaticSchema = (16, n0, _SSna, 0, (_me,), ((SNAPSHOT_INFO, {_sN: _i}),)) + +CREATE_SPOT_DATAFEED_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _CSDSI, + {_sSI: _cCSDSR, _sm: None}, + (_DR, _Bu, _Pre), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.STRING, {_aQN: _Bu, _sN: _buc, _smi: None}), + (lambda: schemas.STRING, {_aQN: _Pre, _sN: _pre}), + ), +) + +CREATE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSDSO, + {_sSI: _cCSDSRo, _smit: None}, + (_SDS,), + ((lambda: SPOT_DATAFEED_SUBSCRIPTION, {_aQN: _SDS, _sN: _sDS}),), +) + +CREATE_SPOT_DATAFEED_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _CSDS, + 0, + CREATE_SPOT_DATAFEED_SUBSCRIPTION_INPUT, + CREATE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT, + (), +) + +DATAFEED_SUBSCRIPTION_STATE: StaticSchema = ( + 14, + n0, + _DSS, + 0, + (_Act, _Ina), + ((-1, {_sV: _Act}), (-1, {_sV: _Ina})), +) + +SPOT_DATAFEED_SUBSCRIPTION: StaticSchema = ( + 18, + n0, + _SDS, + 0, + (_Bu, _Fa, _OIw, _Pre, _St), + ( + (lambda: schemas.STRING, {_aQN: _Bu, _sN: _buc}), + (lambda: schemas.SPOT_INSTANCE_STATE_FAULT, {_aQN: _Fa, _sN: _fau}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _Pre, _sN: _pre}), + (DATAFEED_SUBSCRIPTION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +S3_OBJECT_TAG: StaticSchema = ( + 18, + n0, + _SOT, + 0, + (_Ke, _Va), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +S3_OBJECT_TAG_LIST: StaticSchema = ( + 16, + n0, + _SOTL, + 0, + (_me,), + ((S3_OBJECT_TAG, {_sN: _i}),), +) + +CREATE_STORE_IMAGE_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CSITI, + {_sSI: _cCSITR, _sm: None}, + (_IIm, _Bu, _SOTb, _DR), + ( + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.STRING, 1), + (S3_OBJECT_TAG_LIST, {_sN: _SOT}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_STORE_IMAGE_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CSITO, + {_sSI: _cCSITRo, _smit: None}, + (_OK,), + ((lambda: schemas.STRING, {_aQN: _OK, _sN: _oK}),), +) + +CREATE_STORE_IMAGE_TASK: StaticOperationSchema = ( + 23, + n0, + _CSIT, + 0, + CREATE_STORE_IMAGE_TASK_INPUT, + CREATE_STORE_IMAGE_TASK_OUTPUT, + (), +) + +CREATE_SUBNET_INPUT: StaticSchema = ( + 18, + n0, + _CSIrea, + {_sSI: _cCSRomama, _sm: None}, + (_TSa, _AZ, _AZI, _CB, _ICB, _OA, _VI, _IN, _IIPIp, _INLp, _IIPI, _INL, _DR), + ( + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 0), + (lambda: schemas.NETMASK_LENGTH, 0), + (lambda: schemas.IPAM_POOL_ID, 0), + (lambda: schemas.NETMASK_LENGTH, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_SUBNET_OUTPUT: StaticSchema = ( + 18, + n0, + _CSOrea, + {_sSI: _cCSRomamaz, _smit: None}, + (_Sub,), + ((lambda: schemas.SUBNET, {_aQN: _Sub, _sN: _su}),), +) + +CREATE_SUBNET: StaticOperationSchema = ( + 23, + n0, + _CSreat, + 0, + CREATE_SUBNET_INPUT, + CREATE_SUBNET_OUTPUT, + (), +) + +SUBNET_CIDR_RESERVATION_TYPE: StaticSchema = ( + 14, + n0, + _SCRT, + 0, + (_pre, _expl), + ((-1, {_sV: _pre}), (-1, {_sV: _expl})), +) + +CREATE_SUBNET_CIDR_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _CSCRI, + {_sSI: _cCSCRR, _sm: None}, + (_SIu, _Ci, _RTes, _Des, _DR, _TSa), + ( + (lambda: schemas.SUBNET_ID, 1), + (lambda: schemas.STRING, 1), + (SUBNET_CIDR_RESERVATION_TYPE, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_SUBNET_CIDR_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSCRO, + {_sSI: _cCSCRRo, _smit: None}, + (_SCRu,), + ((lambda: SUBNET_CIDR_RESERVATION, {_aQN: _SCRu, _sN: _sCRu}),), +) + +CREATE_SUBNET_CIDR_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _CSCR, + 0, + CREATE_SUBNET_CIDR_RESERVATION_INPUT, + CREATE_SUBNET_CIDR_RESERVATION_OUTPUT, + (), +) + +SUBNET_CIDR_RESERVATION_ID: StaticSchema = (3, n0, _SCRIu, 0) + +SUBNET_CIDR_RESERVATION: StaticSchema = ( + 18, + n0, + _SCRu, + 0, + (_SCRIu, _SIu, _Ci, _RTes, _OIw, _Des, _Tag), + ( + (SUBNET_CIDR_RESERVATION_ID, {_aQN: _SCRIu, _sN: _sCRIu}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (SUBNET_CIDR_RESERVATION_TYPE, {_aQN: _RTes, _sN: _rTe}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +TAGGABLE_RESOURCE_ID: StaticSchema = (3, n0, _TRI, 0) + +RESOURCE_ID_LIST: StaticSchema = ( + 16, + n0, + _RILes, + 0, + (_me,), + ((TAGGABLE_RESOURCE_ID, 0),), +) + +CREATE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _CTIr, + {_sSI: _cCTR, _sm: None}, + (_DR, _Res, _Tag), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (RESOURCE_ID_LIST, {_sN: _RIe, _smi: None}), + (lambda: schemas.TAG_LIST, {_sN: _Ta, _smi: None}), + ), +) + +CREATE_TAGS_OUTPUT: StaticSchema = (18, n0, _CTO, {_sSI: _sU, _smit: None}) + +CREATE_TAGS: StaticOperationSchema = ( + 23, + n0, + _CTre, + 0, + CREATE_TAGS_INPUT, + CREATE_TAGS_OUTPUT, + (), +) + +CREATE_TRAFFIC_MIRROR_FILTER_INPUT: StaticSchema = ( + 18, + n0, + _CTMFI, + {_sSI: _cCTMFR, _sm: None}, + (_Des, _TSa, _DR, _CTl), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_TRAFFIC_MIRROR_FILTER_OUTPUT: StaticSchema = ( + 18, + n0, + _CTMFO, + {_sSI: _cCTMFRo, _smit: None}, + (_TMF, _CTl), + ( + (lambda: TRAFFIC_MIRROR_FILTER, {_aQN: _TMF, _sN: _tMF}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_TRAFFIC_MIRROR_FILTER: StaticOperationSchema = ( + 23, + n0, + _CTMF, + 0, + CREATE_TRAFFIC_MIRROR_FILTER_INPUT, + CREATE_TRAFFIC_MIRROR_FILTER_OUTPUT, + (), +) + +TRAFFIC_MIRROR_PORT_RANGE: StaticSchema = ( + 18, + n0, + _TMPR, + 0, + (_FP, _TP), + ( + (lambda: schemas.INTEGER, {_aQN: _FP, _sN: _fP}), + (lambda: schemas.INTEGER, {_aQN: _TP, _sN: _tP}), + ), +) + +TRAFFIC_MIRROR_RULE_ACTION: StaticSchema = ( + 14, + n0, + _TMRA, + 0, + (_acce, _reje), + ((-1, {_sV: _acce}), (-1, {_sV: _reje})), +) + +TRAFFIC_DIRECTION: StaticSchema = ( + 14, + n0, + _TDr, + 0, + (_ing, _egr), + ((-1, {_sV: _ing}), (-1, {_sV: _egr})), +) + +TRAFFIC_MIRROR_FILTER_RULE: StaticSchema = ( + 18, + n0, + _TMFR, + 0, + (_TMFRI, _TMFI, _TDr, _RN, _RA, _P, _DPR, _SPR, _DCB, _SCB, _Des, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _TMFRI, _sN: _tMFRI}), + (lambda: schemas.STRING, {_aQN: _TMFI, _sN: _tMFI}), + (TRAFFIC_DIRECTION, {_aQN: _TDr, _sN: _tD}), + (lambda: schemas.INTEGER, {_aQN: _RN, _sN: _rN}), + (TRAFFIC_MIRROR_RULE_ACTION, {_aQN: _RA, _sN: _rA}), + (lambda: schemas.INTEGER, {_aQN: _P, _sN: _pro}), + (TRAFFIC_MIRROR_PORT_RANGE, {_aQN: _DPR, _sN: _dPR}), + (TRAFFIC_MIRROR_PORT_RANGE, {_aQN: _SPR, _sN: _sPR}), + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (lambda: schemas.STRING, {_aQN: _SCB, _sN: _sCB}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +TRAFFIC_MIRROR_FILTER_RULE_LIST: StaticSchema = ( + 16, + n0, + _TMFRL, + 0, + (_me,), + ((TRAFFIC_MIRROR_FILTER_RULE, {_sN: _i}),), +) + +TRAFFIC_MIRROR_NETWORK_SERVICE: StaticSchema = ( + 14, + n0, + _TMNS, + 0, + (_ad_,), + ((-1, {_sV: _ad__}),), +) + +TRAFFIC_MIRROR_NETWORK_SERVICE_LIST: StaticSchema = ( + 16, + n0, + _TMNSL, + 0, + (_me,), + ((TRAFFIC_MIRROR_NETWORK_SERVICE, {_sN: _i}),), +) + +TRAFFIC_MIRROR_FILTER: StaticSchema = ( + 18, + n0, + _TMF, + 0, + (_TMFI, _IFR, _EFR, _NSe, _Des, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _TMFI, _sN: _tMFI}), + (TRAFFIC_MIRROR_FILTER_RULE_LIST, {_aQN: _IFRS, _sN: _iFRS}), + (TRAFFIC_MIRROR_FILTER_RULE_LIST, {_aQN: _EFRS, _sN: _eFRS}), + (TRAFFIC_MIRROR_NETWORK_SERVICE_LIST, {_aQN: _NSS, _sN: _nSS}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +TRAFFIC_MIRROR_PORT_RANGE_REQUEST: StaticSchema = ( + 18, + n0, + _TMPRR, + 0, + (_FP, _TP), + ((lambda: schemas.INTEGER, 0), (lambda: schemas.INTEGER, 0)), +) + +TRAFFIC_MIRROR_FILTER_ID: StaticSchema = (3, n0, _TMFI, 0) + +CREATE_TRAFFIC_MIRROR_FILTER_RULE_INPUT: StaticSchema = ( + 18, + n0, + _CTMFRI, + {_sSI: _cCTMFRR, _sm: None}, + (_TMFI, _TDr, _RN, _RA, _DPR, _SPR, _P, _DCB, _SCB, _Des, _DR, _CTl, _TSa), + ( + (TRAFFIC_MIRROR_FILTER_ID, 1), + (TRAFFIC_DIRECTION, 1), + (lambda: schemas.INTEGER, 1), + (TRAFFIC_MIRROR_RULE_ACTION, 1), + (TRAFFIC_MIRROR_PORT_RANGE_REQUEST, 0), + (TRAFFIC_MIRROR_PORT_RANGE_REQUEST, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT: StaticSchema = ( + 18, + n0, + _CTMFRO, + {_sSI: _cCTMFRRo, _smit: None}, + (_TMFR, _CTl), + ( + (TRAFFIC_MIRROR_FILTER_RULE, {_aQN: _TMFR, _sN: _tMFR}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_TRAFFIC_MIRROR_FILTER_RULE: StaticOperationSchema = ( + 23, + n0, + _CTMFR, + 0, + CREATE_TRAFFIC_MIRROR_FILTER_RULE_INPUT, + CREATE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT, + (), +) + +TRAFFIC_MIRROR_TARGET_ID: StaticSchema = (3, n0, _TMTI, 0) + +CREATE_TRAFFIC_MIRROR_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _CTMSI, + {_sSI: _cCTMSR, _sm: None}, + (_NII, _TMTI, _TMFI, _PLa, _SNes, _VNI, _Des, _TSa, _DR, _CTl), + ( + (lambda: schemas.NETWORK_INTERFACE_ID, 1), + (TRAFFIC_MIRROR_TARGET_ID, 1), + (TRAFFIC_MIRROR_FILTER_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_TRAFFIC_MIRROR_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CTMSO, + {_sSI: _cCTMSRo, _smit: None}, + (_TMS, _CTl), + ( + (lambda: TRAFFIC_MIRROR_SESSION, {_aQN: _TMS, _sN: _tMS}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_TRAFFIC_MIRROR_SESSION: StaticOperationSchema = ( + 23, + n0, + _CTMS, + 0, + CREATE_TRAFFIC_MIRROR_SESSION_INPUT, + CREATE_TRAFFIC_MIRROR_SESSION_OUTPUT, + (), +) + +TRAFFIC_MIRROR_SESSION: StaticSchema = ( + 18, + n0, + _TMS, + 0, + (_TMSI, _TMTI, _TMFI, _NII, _OIw, _PLa, _SNes, _VNI, _Des, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _TMSI, _sN: _tMSI}), + (lambda: schemas.STRING, {_aQN: _TMTI, _sN: _tMTI}), + (lambda: schemas.STRING, {_aQN: _TMFI, _sN: _tMFI}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.INTEGER, {_aQN: _PLa, _sN: _pLa}), + (lambda: schemas.INTEGER, {_aQN: _SNes, _sN: _sNes}), + (lambda: schemas.INTEGER, {_aQN: _VNI, _sN: _vNI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_TRAFFIC_MIRROR_TARGET_INPUT: StaticSchema = ( + 18, + n0, + _CTMTI, + {_sSI: _cCTMTR, _sm: None}, + (_NII, _NLBA, _Des, _TSa, _DR, _CTl, _GLBEI), + ( + (lambda: schemas.NETWORK_INTERFACE_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.VPC_ENDPOINT_ID, 0), + ), +) + +CREATE_TRAFFIC_MIRROR_TARGET_OUTPUT: StaticSchema = ( + 18, + n0, + _CTMTO, + {_sSI: _cCTMTRo, _smit: None}, + (_TMT, _CTl), + ( + (lambda: TRAFFIC_MIRROR_TARGET, {_aQN: _TMT, _sN: _tMT}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_TRAFFIC_MIRROR_TARGET: StaticOperationSchema = ( + 23, + n0, + _CTMT, + 0, + CREATE_TRAFFIC_MIRROR_TARGET_INPUT, + CREATE_TRAFFIC_MIRROR_TARGET_OUTPUT, + (), +) + +TRAFFIC_MIRROR_TARGET_TYPE: StaticSchema = ( + 14, + n0, + _TMTT, + 0, + (_ni, _nlb, _glbe), + ((-1, {_sV: _ni_}), (-1, {_sV: _nlb_}), (-1, {_sV: _glbe_})), +) + +TRAFFIC_MIRROR_TARGET: StaticSchema = ( + 18, + n0, + _TMT, + 0, + (_TMTI, _NII, _NLBA, _Ty, _Des, _OIw, _Tag, _GLBEI), + ( + (lambda: schemas.STRING, {_aQN: _TMTI, _sN: _tMTI}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _NLBA, _sN: _nLBA}), + (TRAFFIC_MIRROR_TARGET_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _GLBEI, _sN: _gLBEI}), + ), +) + +AUTO_ACCEPT_SHARED_ATTACHMENTS_VALUE: StaticSchema = ( + 14, + n0, + _AASAV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +DEFAULT_ROUTE_TABLE_ASSOCIATION_VALUE: StaticSchema = ( + 14, + n0, + _DRTAV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +DEFAULT_ROUTE_TABLE_PROPAGATION_VALUE: StaticSchema = ( + 14, + n0, + _DRTPV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +MULTICAST_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _MSV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +TRANSIT_GATEWAY_CIDR_BLOCK_STRING_LIST: StaticSchema = ( + 16, + n0, + _TGCBSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +VPN_ECMP_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _VESV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +TRANSIT_GATEWAY_REQUEST_OPTIONS: StaticSchema = ( + 18, + n0, + _TGRO, + 0, + (_ASA, _AASA, _DRTA, _DRTP, _VESp, _DS, _SGRS, _MSu, _TGCB), + ( + (lambda: schemas.LONG, 0), + (AUTO_ACCEPT_SHARED_ATTACHMENTS_VALUE, 0), + (DEFAULT_ROUTE_TABLE_ASSOCIATION_VALUE, 0), + (DEFAULT_ROUTE_TABLE_PROPAGATION_VALUE, 0), + (VPN_ECMP_SUPPORT_VALUE, 0), + (lambda: schemas.DNS_SUPPORT_VALUE, 0), + (lambda: schemas.SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, 0), + (MULTICAST_SUPPORT_VALUE, 0), + (TRANSIT_GATEWAY_CIDR_BLOCK_STRING_LIST, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _CTGI, + {_sSI: _cCTGR, _sm: None}, + (_Des, _O, _TSa, _DR), + ( + (lambda: schemas.STRING, 0), + (TRANSIT_GATEWAY_REQUEST_OPTIONS, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGO, + {_sSI: _cCTGRo, _smit: None}, + (_TGr,), + ((lambda: TRANSIT_GATEWAY, {_aQN: _TGr, _sN: _tG}),), +) + +CREATE_TRANSIT_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _CTG, + 0, + CREATE_TRANSIT_GATEWAY_INPUT, + CREATE_TRANSIT_GATEWAY_OUTPUT, + (), +) + +ENCRYPTION_STATE_VALUE: StaticSchema = ( + 14, + n0, + _ESV, + 0, + (_en, _ena, _disab, _d), + ((-1, {_sV: _en}), (-1, {_sV: _ena}), (-1, {_sV: _disab}), (-1, {_sV: _d})), +) + +ENCRYPTION_SUPPORT: StaticSchema = ( + 18, + n0, + _ESnc, + 0, + (_ESncr, _SMta), + ( + (ENCRYPTION_STATE_VALUE, {_aQN: _ESncr, _sN: _eSnc}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + ), +) + +TRANSIT_GATEWAY_OPTIONS: StaticSchema = ( + 18, + n0, + _TGO, + 0, + (_ASA, _TGCB, _AASA, _DRTA, _ADRTI, _DRTP, _PDRTI, _VESp, _DS, _SGRS, _MSu, _ESnc), + ( + (lambda: schemas.LONG, {_aQN: _ASA, _sN: _aSA}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _TGCB, _sN: _tGCB}), + (AUTO_ACCEPT_SHARED_ATTACHMENTS_VALUE, {_aQN: _AASA, _sN: _aASA}), + (DEFAULT_ROUTE_TABLE_ASSOCIATION_VALUE, {_aQN: _DRTA, _sN: _dRTA}), + (lambda: schemas.STRING, {_aQN: _ADRTI, _sN: _aDRTI}), + (DEFAULT_ROUTE_TABLE_PROPAGATION_VALUE, {_aQN: _DRTP, _sN: _dRTP}), + (lambda: schemas.STRING, {_aQN: _PDRTI, _sN: _pDRTI}), + (VPN_ECMP_SUPPORT_VALUE, {_aQN: _VESp, _sN: _vESp}), + (lambda: schemas.DNS_SUPPORT_VALUE, {_aQN: _DS, _sN: _dS}), + ( + lambda: schemas.SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, + {_aQN: _SGRS, _sN: _sGRS}, + ), + (MULTICAST_SUPPORT_VALUE, {_aQN: _MSu, _sN: _mSu}), + (ENCRYPTION_SUPPORT, {_aQN: _ESnc, _sN: _eSncr}), + ), +) + +TRANSIT_GATEWAY_STATE: StaticSchema = ( + 14, + n0, + _TGS, + 0, + (_p, _av, _mo, _de, _del), + ( + (-1, {_sV: _p}), + (-1, {_sV: _av}), + (-1, {_sV: _mo}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + ), +) + +TRANSIT_GATEWAY: StaticSchema = ( + 18, + n0, + _TGr, + 0, + (_TGI, _TGAra, _St, _OIw, _Des, _CT, _O, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.STRING, {_aQN: _TGAra, _sN: _tGAr}), + (TRANSIT_GATEWAY_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.DATE_TIME, {_aQN: _CT, _sN: _cT}), + (TRANSIT_GATEWAY_OPTIONS, {_aQN: _O, _sN: _o}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +PROTOCOL_VALUE: StaticSchema = (14, n0, _PVrot, 0, (_gre,), ((-1, {_sV: _gre}),)) + +CREATE_TRANSIT_GATEWAY_CONNECT_REQUEST_OPTIONS: StaticSchema = ( + 18, + n0, + _CTGCRO, + 0, + (_P,), + ((PROTOCOL_VALUE, 1),), +) + +CREATE_TRANSIT_GATEWAY_CONNECT_INPUT: StaticSchema = ( + 18, + n0, + _CTGCI, + {_sSI: _cCTGCR, _sm: None}, + (_TTGAI, _O, _TSa, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (CREATE_TRANSIT_GATEWAY_CONNECT_REQUEST_OPTIONS, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_CONNECT_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGCO, + {_sSI: _cCTGCRo, _smit: None}, + (_TGCr,), + ((lambda: TRANSIT_GATEWAY_CONNECT, {_aQN: _TGCr, _sN: _tGC}),), +) + +CREATE_TRANSIT_GATEWAY_CONNECT: StaticOperationSchema = ( + 23, + n0, + _CTGC, + 0, + CREATE_TRANSIT_GATEWAY_CONNECT_INPUT, + CREATE_TRANSIT_GATEWAY_CONNECT_OUTPUT, + (), +) + +TRANSIT_GATEWAY_CONNECT_OPTIONS: StaticSchema = ( + 18, + n0, + _TGCO, + 0, + (_P,), + ((PROTOCOL_VALUE, {_aQN: _P, _sN: _pro}),), +) + +TRANSIT_GATEWAY_CONNECT: StaticSchema = ( + 18, + n0, + _TGCr, + 0, + (_TGAI, _TTGAI, _TGI, _St, _CT, _O, _Tag), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TTGAI, _sN: _tTGAI}), + (lambda: schemas.TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.DATE_TIME, {_aQN: _CT, _sN: _cT}), + (TRANSIT_GATEWAY_CONNECT_OPTIONS, {_aQN: _O, _sN: _o}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +TRANSIT_GATEWAY_CONNECT_REQUEST_BGP_OPTIONS: StaticSchema = ( + 18, + n0, + _TGCRBO, + 0, + (_PAee,), + ((lambda: schemas.LONG, 0),), +) + +INSIDE_CIDR_BLOCKS_STRING_LIST: StaticSchema = ( + 16, + n0, + _ICBSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +CREATE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT: StaticSchema = ( + 18, + n0, + _CTGCPI, + {_sSI: _cCTGCPR, _sm: None}, + (_TGAI, _TGAran, _PAe, _BO, _ICBn, _TSa, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (TRANSIT_GATEWAY_CONNECT_REQUEST_BGP_OPTIONS, 0), + (INSIDE_CIDR_BLOCKS_STRING_LIST, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGCPO, + {_sSI: _cCTGCPRo, _smit: None}, + (_TGCP,), + ((lambda: TRANSIT_GATEWAY_CONNECT_PEER, {_aQN: _TGCP, _sN: _tGCP}),), +) + +CREATE_TRANSIT_GATEWAY_CONNECT_PEER: StaticOperationSchema = ( + 23, + n0, + _CTGCP, + 0, + CREATE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT, + CREATE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT, + (), +) + +BGP_STATUS: StaticSchema = ( + 14, + n0, + _BSg, + 0, + (_up_, _dow), + ((-1, {_sV: _up_}), (-1, {_sV: _dow})), +) + +TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TGABC, + 0, + (_TGArans, _PAee, _TGAran, _PAe, _BSg), + ( + (lambda: schemas.LONG, {_aQN: _TGArans, _sN: _tGAra}), + (lambda: schemas.LONG, {_aQN: _PAee, _sN: _pAee}), + (lambda: schemas.STRING, {_aQN: _TGAran, _sN: _tGAran}), + (lambda: schemas.STRING, {_aQN: _PAe, _sN: _pAe}), + (BGP_STATUS, {_aQN: _BSg, _sN: _bSg}), + ), +) + +TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _TGABCL, + 0, + (_me,), + ((TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION, {_sN: _i}),), +) + +TRANSIT_GATEWAY_CONNECT_PEER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TGCPC, + 0, + (_TGAran, _PAe, _ICBn, _P, _BCg), + ( + (lambda: schemas.STRING, {_aQN: _TGAran, _sN: _tGAran}), + (lambda: schemas.STRING, {_aQN: _PAe, _sN: _pAe}), + (INSIDE_CIDR_BLOCKS_STRING_LIST, {_aQN: _ICBn, _sN: _iCBn}), + (PROTOCOL_VALUE, {_aQN: _P, _sN: _pro}), + (TRANSIT_GATEWAY_ATTACHMENT_BGP_CONFIGURATION_LIST, {_aQN: _BCg, _sN: _bCg}), + ), +) + +TRANSIT_GATEWAY_CONNECT_PEER_STATE: StaticSchema = ( + 14, + n0, + _TGCPS, + 0, + (_p, _av, _de, _del), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), +) + +TRANSIT_GATEWAY_CONNECT_PEER_ID: StaticSchema = (3, n0, _TGCPI, 0) + +TRANSIT_GATEWAY_CONNECT_PEER: StaticSchema = ( + 18, + n0, + _TGCP, + 0, + (_TGAI, _TGCPI, _St, _CT, _CPC, _Tag), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + (TRANSIT_GATEWAY_CONNECT_PEER_ID, {_aQN: _TGCPI, _sN: _tGCPI}), + (TRANSIT_GATEWAY_CONNECT_PEER_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.DATE_TIME, {_aQN: _CT, _sN: _cT}), + (TRANSIT_GATEWAY_CONNECT_PEER_CONFIGURATION, {_aQN: _CPC, _sN: _cPC}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_TRANSIT_GATEWAY_METERING_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _CTGMPI, + {_sSI: _cCTGMPR, _sm: None}, + (_TGI, _MAIi, _TSa, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, {_sN: _MAIid}), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGMPO, + {_sSI: _cCTGMPRo, _smit: None}, + (_TGMP,), + ((lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY, {_aQN: _TGMP, _sN: _tGMP}),), +) + +CREATE_TRANSIT_GATEWAY_METERING_POLICY: StaticOperationSchema = ( + 23, + n0, + _CTGMP, + 0, + CREATE_TRANSIT_GATEWAY_METERING_POLICY_INPUT, + CREATE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT, + (), +) + +TRAFFIC_MIRROR_FILTER_RULE_ID_WITH_RESOLVER: StaticSchema = (3, n0, _TMFRIWR, 0) + +TRAFFIC_MIRROR_SESSION_ID: StaticSchema = (3, n0, _TMSI, 0) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_17.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_17.py new file mode 100644 index 000000000..c760ebc2e --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_17.py @@ -0,0 +1,1386 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_ni = "network_interface" +_ni_ = "network-interface" +_vp = "vpc" +_TS = "TagSpecification" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_smit = "smithy.api#output" +_TGAI = "TransitGatewayAttachmentId" +_av = "available" +_de = "deleting" +_del = "deleted" +_TGI = "TransitGatewayId" +_tGAI = "transitGatewayAttachmentId" +_tGI = "transitGatewayId" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_TGMDI = "TransitGatewayMulticastDomainId" +_SI = "SubnetIds" +_fa = "failed" +_SIu = "SubnetId" +_tGMDI = "transitGatewayMulticastDomainId" +_RIe = "ResourceId" +_rI = "resourceId" +_CNI = "CoreNetworkId" +_cNI = "coreNetworkId" +_OIw = "OwnerId" +_oI = "ownerId" +_e = "enable" +_disa = "disable" +_DRy = "DynamicRouting" +_mo = "modifying" +_fai = "failing" +_TGPA = "TransitGatewayPeeringAttachment" +_O = "Options" +_o = "options" +_TSag = "TagSet" +_tS = "tagSet" +_tGPA = "transitGatewayPeeringAttachment" +_DS = "DnsSupport" +_SGRS = "SecurityGroupReferencingSupport" +_IS = "Ipv6Support" +_AMSp = "ApplianceModeSupport" +_TGVA = "TransitGatewayVpcAttachment" +_VI = "VpcId" +_tGVA = "transitGatewayVpcAttachment" +_act = "active" +_PR = "PortRange" +_Ci = "Cidr" +_ci = "cidr" +_P = "Protocol" +_pro = "protocol" +_Po = "Port" +_NII = "NetworkInterfaceId" +_SGI = "SecurityGroupId" +_PLI = "PrefixListId" +_pLI = "prefixListId" +_SPR = "SourcePortRange" +_sPR = "sourcePortRange" +_DPR = "DestinationPortRange" +_dPR = "destinationPortRange" +_TRTI = "TargetRouteTableId" +_tRTI = "targetRouteTableId" +_LBA = "LoadBalancerArn" +_PRo = "PortRanges" +_TGRT = "TransitGatewayRouteTable" +_tGRT = "transitGatewayRouteTable" +_TGPT = "TransitGatewayPolicyTable" +_tGPT = "transitGatewayPolicyTable" +_TGPTE = "TransitGatewayPolicyTableEntry" +_tGPTE = "transitGatewayPolicyTableEntry" +_TGA = "TransitGatewayAttachment" +_tGA = "transitGatewayAttachment" +_tc = "tcp" +_en = "enabling" +_ena = "enabled" +_disab = "disabling" +_Des = "Description" +_rd = "rds" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_SGIe = "SecurityGroupIds" +_CAe = "CertificateArn" +_TGPTI = "TransitGatewayPolicyTableId" +_tGPTI = "transitGatewayPolicyTableId" +_TGRTI = "TransitGatewayRouteTableId" +_tGRTI = "transitGatewayRouteTableId" +_SSs = "SseSpecification" +_FP = "FromPort" +_TP = "ToPort" +_ht = "http" +_htt = "https" +_Ty = "Type" +_DCB = "DestinationCidrBlock" +_ty = "type" +_MAe = "MeteredAccount" +_mA = "meteredAccount" +_bl = "blackhole" +_stat = "static" +_prop = "propagated" +_dCB = "destinationCidrBlock" +_Rou = "Route" +_rou = "route" +_lb = "load_balancer" +_SCB = "SourceCidrBlock" +_sCB = "sourceCidrBlock" +_MAIi = "MiddleboxAttachmentIds" +_TGMPS = "TransitGatewayMeteringPolicyState" +_TGMPI = "TransitGatewayMeteringPolicyId" +_TGMP = "TransitGatewayMeteringPolicy" +_tGMPI = "transitGatewayMeteringPolicyId" +_MAIS = "MiddleboxAttachmentIdSet" +_mAIS = "middleboxAttachmentIdSet" +_UEA = "UpdateEffectiveAt" +_uEA = "updateEffectiveAt" +_TGMPT = "TransitGatewayMeteringPayerType" +_sao = "source_attachment_owner" +_sao_ = "source-attachment-owner" +_dao = "destination_attachment_owner" +_dao_ = "destination-attachment-owner" +_tgo = "transit_gateway_owner" +_tgo_ = "transit-gateway-owner" +_CTGMPEI = "CreateTransitGatewayMeteringPolicyEntryInput" +_cCTGMPER = "com.amazonaws.ec2#CreateTransitGatewayMeteringPolicyEntryRequest" +_PRNo = "PolicyRuleNumber" +_STGAI = "SourceTransitGatewayAttachmentId" +_STGAT = "SourceTransitGatewayAttachmentType" +_DTGAI = "DestinationTransitGatewayAttachmentId" +_DTGAT = "DestinationTransitGatewayAttachmentType" +_TGMPR = "TransitGatewayMeteringPolicyRule" +_sTGAI = "sourceTransitGatewayAttachmentId" +_sTGAT = "sourceTransitGatewayAttachmentType" +_dTGAI = "destinationTransitGatewayAttachmentId" +_dTGAT = "destinationTransitGatewayAttachmentType" +_TGMPES = "TransitGatewayMeteringPolicyEntryState" +_TGMPE = "TransitGatewayMeteringPolicyEntry" +_pRNo = "policyRuleNumber" +_UA = "UpdatedAt" +_uA = "updatedAt" +_MPR = "MeteringPolicyRule" +_mPR = "meteringPolicyRule" +_CTGMPEO = "CreateTransitGatewayMeteringPolicyEntryOutput" +_cCTGMPERo = "com.amazonaws.ec2#CreateTransitGatewayMeteringPolicyEntryResult" +_tGMPE = "transitGatewayMeteringPolicyEntry" +_CTGMPE = "CreateTransitGatewayMeteringPolicyEntry" +_AASAVu = "AutoAcceptSharedAssociationsValue" +_ISVg = "Igmpv2SupportValue" +_SSSV = "StaticSourcesSupportValue" +_CTGMDRO = "CreateTransitGatewayMulticastDomainRequestOptions" +_ISg = "Igmpv2Support" +_SSSt = "StaticSourcesSupport" +_AASAu = "AutoAcceptSharedAssociations" +_CTGMDI = "CreateTransitGatewayMulticastDomainInput" +_cCTGMDR = "com.amazonaws.ec2#CreateTransitGatewayMulticastDomainRequest" +_TGMDO = "TransitGatewayMulticastDomainOptions" +_iSg = "igmpv2Support" +_sSS = "staticSourcesSupport" +_aASAu = "autoAcceptSharedAssociations" +_TGMDS = "TransitGatewayMulticastDomainState" +_TGMD = "TransitGatewayMulticastDomain" +_TGMDAr = "TransitGatewayMulticastDomainArn" +_tGMDA = "transitGatewayMulticastDomainArn" +_CTGMDO = "CreateTransitGatewayMulticastDomainOutput" +_cCTGMDRo = "com.amazonaws.ec2#CreateTransitGatewayMulticastDomainResult" +_tGMD = "transitGatewayMulticastDomain" +_CTGMD = "CreateTransitGatewayMulticastDomain" +_CTGPARO = "CreateTransitGatewayPeeringAttachmentRequestOptions" +_TAGI = "TransitAssociationGatewayId" +_CTGPAI = "CreateTransitGatewayPeeringAttachmentInput" +_cCTGPAR = "com.amazonaws.ec2#CreateTransitGatewayPeeringAttachmentRequest" +_PTGI = "PeerTransitGatewayId" +_PAI = "PeerAccountId" +_PRee = "PeerRegion" +_CTGPAO = "CreateTransitGatewayPeeringAttachmentOutput" +_cCTGPARo = "com.amazonaws.ec2#CreateTransitGatewayPeeringAttachmentResult" +_CTGPA = "CreateTransitGatewayPeeringAttachment" +_CTGPTI = "CreateTransitGatewayPolicyTableInput" +_cCTGPTR = "com.amazonaws.ec2#CreateTransitGatewayPolicyTableRequest" +_TGPTS = "TransitGatewayPolicyTableState" +_CTGPTO = "CreateTransitGatewayPolicyTableOutput" +_cCTGPTRo = "com.amazonaws.ec2#CreateTransitGatewayPolicyTableResult" +_CTGPT = "CreateTransitGatewayPolicyTable" +_TGRPRMD = "TransitGatewayRequestPolicyRuleMetaData" +_MDK = "MetaDataKey" +_MDV = "MetaDataValue" +_TGRPR = "TransitGatewayRequestPolicyRule" +_MD = "MetaData" +_CTGPTEI = "CreateTransitGatewayPolicyTableEntryInput" +_cCTGPTER = "com.amazonaws.ec2#CreateTransitGatewayPolicyTableEntryRequest" +_PRol = "PolicyRule" +_TGPRMD = "TransitGatewayPolicyRuleMetaData" +_mDK = "metaDataKey" +_mDV = "metaDataValue" +_TGPR = "TransitGatewayPolicyRule" +_mD = "metaData" +_TGPTES = "TransitGatewayPolicyTableEntryState" +_pRo = "policyRule" +_CTGPTEO = "CreateTransitGatewayPolicyTableEntryOutput" +_cCTGPTERo = "com.amazonaws.ec2#CreateTransitGatewayPolicyTableEntryResult" +_CTGPTE = "CreateTransitGatewayPolicyTableEntry" +_CTGPLRI = "CreateTransitGatewayPrefixListReferenceInput" +_cCTGPLRR = "com.amazonaws.ec2#CreateTransitGatewayPrefixListReferenceRequest" +_Bl = "Blackhole" +_TGPLRS = "TransitGatewayPrefixListReferenceState" +_TGPLA = "TransitGatewayPrefixListAttachment" +_TGPLR = "TransitGatewayPrefixListReference" +_PLOI = "PrefixListOwnerId" +_pLOI = "prefixListOwnerId" +_CTGPLRO = "CreateTransitGatewayPrefixListReferenceOutput" +_cCTGPLRRo = "com.amazonaws.ec2#CreateTransitGatewayPrefixListReferenceResult" +_tGPLR = "transitGatewayPrefixListReference" +_CTGPLR = "CreateTransitGatewayPrefixListReference" +_CTGRI = "CreateTransitGatewayRouteInput" +_cCTGRR = "com.amazonaws.ec2#CreateTransitGatewayRouteRequest" +_TGRS = "TransitGatewayRouteState" +_TGRA = "TransitGatewayRouteAttachment" +_TGRAL = "TransitGatewayRouteAttachmentList" +_TGRTAI = "TransitGatewayRouteTableAnnouncementId" +_TGRTr = "TransitGatewayRouteType" +_sy = "system" +_TGR = "TransitGatewayRoute" +_tGRTAI = "transitGatewayRouteTableAnnouncementId" +_TGAransi = "TransitGatewayAttachments" +_tGArans = "transitGatewayAttachments" +_CTGRO = "CreateTransitGatewayRouteOutput" +_cCTGRRo = "com.amazonaws.ec2#CreateTransitGatewayRouteResult" +_CTGR = "CreateTransitGatewayRoute" +_CTGRTI = "CreateTransitGatewayRouteTableInput" +_cCTGRTR = "com.amazonaws.ec2#CreateTransitGatewayRouteTableRequest" +_TGRTS = "TransitGatewayRouteTableState" +_DART = "DefaultAssociationRouteTable" +_dART = "defaultAssociationRouteTable" +_DPRT = "DefaultPropagationRouteTable" +_dPRT = "defaultPropagationRouteTable" +_CTGRTO = "CreateTransitGatewayRouteTableOutput" +_cCTGRTRo = "com.amazonaws.ec2#CreateTransitGatewayRouteTableResult" +_CTGRT = "CreateTransitGatewayRouteTable" +_CTGRTAI = "CreateTransitGatewayRouteTableAnnouncementInput" +_cCTGRTAR = "com.amazonaws.ec2#CreateTransitGatewayRouteTableAnnouncementRequest" +_PAIe = "PeeringAttachmentId" +_TGRTAD = "TransitGatewayRouteTableAnnouncementDirection" +_ou = "outgoing" +_incom = "incoming" +_TGRTAS = "TransitGatewayRouteTableAnnouncementState" +_TGRTA = "TransitGatewayRouteTableAnnouncement" +_pTGI = "peerTransitGatewayId" +_PCNI = "PeerCoreNetworkId" +_pCNI = "peerCoreNetworkId" +_pAI = "peeringAttachmentId" +_ADn = "AnnouncementDirection" +_aDn = "announcementDirection" +_CTGRTAO = "CreateTransitGatewayRouteTableAnnouncementOutput" +_cCTGRTARo = "com.amazonaws.ec2#CreateTransitGatewayRouteTableAnnouncementResult" +_tGRTA = "transitGatewayRouteTableAnnouncement" +_CTGRTA = "CreateTransitGatewayRouteTableAnnouncement" +_CTGVARO = "CreateTransitGatewayVpcAttachmentRequestOptions" +_CTGVAI = "CreateTransitGatewayVpcAttachmentInput" +_cCTGVAR = "com.amazonaws.ec2#CreateTransitGatewayVpcAttachmentRequest" +_CTGVAO = "CreateTransitGatewayVpcAttachmentOutput" +_cCTGVARo = "com.amazonaws.ec2#CreateTransitGatewayVpcAttachmentResult" +_CTGVA = "CreateTransitGatewayVpcAttachment" +_VAEAT = "VerifiedAccessEndpointAttachmentType" +_VAEPN = "VerifiedAccessEndpointPortNumber" +_CVAEPR = "CreateVerifiedAccessEndpointPortRange" +_CVAEPRL = "CreateVerifiedAccessEndpointPortRangeList" +_VAEP = "VerifiedAccessEndpointProtocol" +_CVAESIL = "CreateVerifiedAccessEndpointSubnetIdList" +_CVAECO = "CreateVerifiedAccessEndpointCidrOptions" +_VAET = "VerifiedAccessEndpointType" +_lb_ = "load-balancer" +_CVAELBO = "CreateVerifiedAccessEndpointLoadBalancerOptions" +_CVAEEO = "CreateVerifiedAccessEndpointEniOptions" +_RDCA = "RdsDbClusterArn" +_RDIA = "RdsDbInstanceArn" +_RDPA = "RdsDbProxyArn" +_CVAERO = "CreateVerifiedAccessEndpointRdsOptions" +_REd = "RdsEndpoint" +_SGIL = "SecurityGroupIdList" +_VAGI = "VerifiedAccessGroupId" +_CVAEI = "CreateVerifiedAccessEndpointInput" +_cCVAER = "com.amazonaws.ec2#CreateVerifiedAccessEndpointRequest" +_ETn = "EndpointType" +_ATtta = "AttachmentType" +_DCA = "DomainCertificateArn" +_ADp = "ApplicationDomain" +_EDP = "EndpointDomainPrefix" +_LBO = "LoadBalancerOptions" +_NIO = "NetworkInterfaceOptions" +_PDo = "PolicyDocument" +_ROd = "RdsOptions" +_COi = "CidrOptions" +_VAE = "VerifiedAccessEndpoint" +_CVAEO = "CreateVerifiedAccessEndpointOutput" +_cCVAERo = "com.amazonaws.ec2#CreateVerifiedAccessEndpointResult" +_vAE = "verifiedAccessEndpoint" +_CVAE = "CreateVerifiedAccessEndpoint" +_TGPS = "TransitGatewayPropagationState" +_TGP = "TransitGatewayPropagation" + +TRANSIT_GATEWAY_METERING_POLICY_STATE: StaticSchema = ( + 14, + n0, + _TGMPS, + 0, + (_av, _del, _p, _mo, _de), + ( + (-1, {_sV: _av}), + (-1, {_sV: _del}), + (-1, {_sV: _p}), + (-1, {_sV: _mo}), + (-1, {_sV: _de}), + ), +) + +TRANSIT_GATEWAY_METERING_POLICY_ID: StaticSchema = (3, n0, _TGMPI, 0) + +TRANSIT_GATEWAY_METERING_POLICY: StaticSchema = ( + 18, + n0, + _TGMP, + 0, + (_TGMPI, _TGI, _MAIi, _St, _UEA, _Tag), + ( + (TRANSIT_GATEWAY_METERING_POLICY_ID, {_aQN: _TGMPI, _sN: _tGMPI}), + (lambda: schemas.TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _MAIS, _sN: _mAIS}), + (TRANSIT_GATEWAY_METERING_POLICY_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _UEA, _sN: _uEA}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +TRANSIT_GATEWAY_METERING_PAYER_TYPE: StaticSchema = ( + 14, + n0, + _TGMPT, + 0, + (_sao, _dao, _tgo), + ((-1, {_sV: _sao_}), (-1, {_sV: _dao_}), (-1, {_sV: _tgo_})), +) + +CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT: StaticSchema = ( + 18, + n0, + _CTGMPEI, + {_sSI: _cCTGMPER, _sm: None}, + ( + _TGMPI, + _PRNo, + _STGAI, + _STGAT, + _SCB, + _SPR, + _DTGAI, + _DTGAT, + _DCB, + _DPR, + _P, + _MAe, + _DR, + ), + ( + (TRANSIT_GATEWAY_METERING_POLICY_ID, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (TRANSIT_GATEWAY_METERING_PAYER_TYPE, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGMPEO, + {_sSI: _cCTGMPERo, _smit: None}, + (_TGMPE,), + ((lambda: TRANSIT_GATEWAY_METERING_POLICY_ENTRY, {_aQN: _TGMPE, _sN: _tGMPE}),), +) + +CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY: StaticOperationSchema = ( + 23, + n0, + _CTGMPE, + 0, + CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT, + CREATE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT, + (), +) + +TRANSIT_GATEWAY_METERING_POLICY_RULE: StaticSchema = ( + 18, + n0, + _TGMPR, + 0, + (_STGAI, _STGAT, _SCB, _SPR, _DTGAI, _DTGAT, _DCB, _DPR, _P), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _STGAI, _sN: _sTGAI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _STGAT, _sN: _sTGAT}, + ), + (lambda: schemas.STRING, {_aQN: _SCB, _sN: _sCB}), + (lambda: schemas.STRING, {_aQN: _SPR, _sN: _sPR}), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _DTGAI, _sN: _dTGAI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _DTGAT, _sN: _dTGAT}, + ), + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (lambda: schemas.STRING, {_aQN: _DPR, _sN: _dPR}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro}), + ), +) + +TRANSIT_GATEWAY_METERING_POLICY_ENTRY_STATE: StaticSchema = ( + 14, + n0, + _TGMPES, + 0, + (_av, _del), + ((-1, {_sV: _av}), (-1, {_sV: _del})), +) + +TRANSIT_GATEWAY_METERING_POLICY_ENTRY: StaticSchema = ( + 18, + n0, + _TGMPE, + 0, + (_PRNo, _MAe, _St, _UA, _UEA, _MPR), + ( + (lambda: schemas.STRING, {_aQN: _PRNo, _sN: _pRNo}), + (TRANSIT_GATEWAY_METERING_PAYER_TYPE, {_aQN: _MAe, _sN: _mA}), + (TRANSIT_GATEWAY_METERING_POLICY_ENTRY_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _UA, _sN: _uA}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _UEA, _sN: _uEA}), + (TRANSIT_GATEWAY_METERING_POLICY_RULE, {_aQN: _MPR, _sN: _mPR}), + ), +) + +AUTO_ACCEPT_SHARED_ASSOCIATIONS_VALUE: StaticSchema = ( + 14, + n0, + _AASAVu, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +IGMPV2_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _ISVg, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +STATIC_SOURCES_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _SSSV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_REQUEST_OPTIONS: StaticSchema = ( + 18, + n0, + _CTGMDRO, + 0, + (_ISg, _SSSt, _AASAu), + ( + (IGMPV2_SUPPORT_VALUE, 0), + (STATIC_SOURCES_SUPPORT_VALUE, 0), + (AUTO_ACCEPT_SHARED_ASSOCIATIONS_VALUE, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT: StaticSchema = ( + 18, + n0, + _CTGMDI, + {_sSI: _cCTGMDR, _sm: None}, + (_TGI, _O, _TSa, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ID, 1), + (CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_REQUEST_OPTIONS, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGMDO, + {_sSI: _cCTGMDRo, _smit: None}, + (_TGMD,), + ((lambda: TRANSIT_GATEWAY_MULTICAST_DOMAIN, {_aQN: _TGMD, _sN: _tGMD}),), +) + +CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticOperationSchema = ( + 23, + n0, + _CTGMD, + 0, + CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT, + CREATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT, + (), +) + +TRANSIT_GATEWAY_MULTICAST_DOMAIN_OPTIONS: StaticSchema = ( + 18, + n0, + _TGMDO, + 0, + (_ISg, _SSSt, _AASAu), + ( + (IGMPV2_SUPPORT_VALUE, {_aQN: _ISg, _sN: _iSg}), + (STATIC_SOURCES_SUPPORT_VALUE, {_aQN: _SSSt, _sN: _sSS}), + (AUTO_ACCEPT_SHARED_ASSOCIATIONS_VALUE, {_aQN: _AASAu, _sN: _aASAu}), + ), +) + +TRANSIT_GATEWAY_MULTICAST_DOMAIN_STATE: StaticSchema = ( + 14, + n0, + _TGMDS, + 0, + (_p, _av, _de, _del), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), +) + +TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticSchema = ( + 18, + n0, + _TGMD, + 0, + (_TGMDI, _TGI, _TGMDAr, _OIw, _O, _St, _CT, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _TGMDI, _sN: _tGMDI}), + (lambda: schemas.STRING, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.STRING, {_aQN: _TGMDAr, _sN: _tGMDA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (TRANSIT_GATEWAY_MULTICAST_DOMAIN_OPTIONS, {_aQN: _O, _sN: _o}), + (TRANSIT_GATEWAY_MULTICAST_DOMAIN_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.DATE_TIME, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_REQUEST_OPTIONS: StaticSchema = ( + 18, + n0, + _CTGPARO, + 0, + (_DRy,), + ((lambda: schemas.DYNAMIC_ROUTING_VALUE, 0),), +) + +TRANSIT_ASSOCIATION_GATEWAY_ID: StaticSchema = (3, n0, _TAGI, 0) + +CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _CTGPAI, + {_sSI: _cCTGPAR, _sm: None}, + (_TGI, _PTGI, _PAI, _PRee, _O, _TSa, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ID, 1), + (TRANSIT_ASSOCIATION_GATEWAY_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_REQUEST_OPTIONS, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGPAO, + {_sSI: _cCTGPARo, _smit: None}, + (_TGPA,), + ((lambda: schemas.TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_aQN: _TGPA, _sN: _tGPA}),), +) + +CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _CTGPA, + 0, + CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT, + CREATE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT, + (), +) + +CREATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _CTGPTI, + {_sSI: _cCTGPTR, _sm: None}, + (_TGI, _TSa, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGPTO, + {_sSI: _cCTGPTRo, _smit: None}, + (_TGPT,), + ((lambda: TRANSIT_GATEWAY_POLICY_TABLE, {_aQN: _TGPT, _sN: _tGPT}),), +) + +CREATE_TRANSIT_GATEWAY_POLICY_TABLE: StaticOperationSchema = ( + 23, + n0, + _CTGPT, + 0, + CREATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT, + CREATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT, + (), +) + +TRANSIT_GATEWAY_POLICY_TABLE_STATE: StaticSchema = ( + 14, + n0, + _TGPTS, + 0, + (_p, _av, _de, _del), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), +) + +TRANSIT_GATEWAY_POLICY_TABLE: StaticSchema = ( + 18, + n0, + _TGPT, + 0, + (_TGPTI, _TGI, _St, _CT, _Tag), + ( + (lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, {_aQN: _TGPTI, _sN: _tGPTI}), + (lambda: schemas.TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), + (TRANSIT_GATEWAY_POLICY_TABLE_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.DATE_TIME, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +TRANSIT_GATEWAY_REQUEST_POLICY_RULE_META_DATA: StaticSchema = ( + 18, + n0, + _TGRPRMD, + 0, + (_MDK, _MDV), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +TRANSIT_GATEWAY_REQUEST_POLICY_RULE: StaticSchema = ( + 18, + n0, + _TGRPR, + 0, + (_SCB, _SPR, _DCB, _DPR, _P, _MD), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (TRANSIT_GATEWAY_REQUEST_POLICY_RULE_META_DATA, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT: StaticSchema = ( + 18, + n0, + _CTGPTEI, + {_sSI: _cCTGPTER, _sm: None}, + (_TGPTI, _PRNo, _PRol, _TRTI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), + (lambda: schemas.STRING, 1), + (TRANSIT_GATEWAY_REQUEST_POLICY_RULE, 0), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGPTEO, + {_sSI: _cCTGPTERo, _smit: None}, + (_TGPTE,), + ((lambda: TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_aQN: _TGPTE, _sN: _tGPTE}),), +) + +CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticOperationSchema = ( + 23, + n0, + _CTGPTE, + 0, + CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT, + CREATE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT, + (), +) + +TRANSIT_GATEWAY_POLICY_RULE_META_DATA: StaticSchema = ( + 18, + n0, + _TGPRMD, + 0, + (_MDK, _MDV), + ( + (lambda: schemas.STRING, {_aQN: _MDK, _sN: _mDK}), + (lambda: schemas.STRING, {_aQN: _MDV, _sN: _mDV}), + ), +) + +TRANSIT_GATEWAY_POLICY_RULE: StaticSchema = ( + 18, + n0, + _TGPR, + 0, + (_SCB, _SPR, _DCB, _DPR, _P, _MD), + ( + (lambda: schemas.STRING, {_aQN: _SCB, _sN: _sCB}), + (lambda: schemas.STRING, {_aQN: _SPR, _sN: _sPR}), + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (lambda: schemas.STRING, {_aQN: _DPR, _sN: _dPR}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro}), + (TRANSIT_GATEWAY_POLICY_RULE_META_DATA, {_aQN: _MD, _sN: _mD}), + ), +) + +TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_STATE: StaticSchema = ( + 14, + n0, + _TGPTES, + 0, + (_act, _del), + ((-1, {_sV: _act}), (-1, {_sV: _del})), +) + +TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticSchema = ( + 18, + n0, + _TGPTE, + 0, + (_PRNo, _PRol, _TRTI, _St), + ( + (lambda: schemas.STRING, {_aQN: _PRNo, _sN: _pRNo}), + (TRANSIT_GATEWAY_POLICY_RULE, {_aQN: _PRol, _sN: _pRo}), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_aQN: _TRTI, _sN: _tRTI}), + (TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_STATE, {_aQN: _St, _sN: _st}), + ), +) + +CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT: StaticSchema = ( + 18, + n0, + _CTGPLRI, + {_sSI: _cCTGPLRR, _sm: None}, + (_TGRTI, _PLI, _TGAI, _Bl, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGPLRO, + {_sSI: _cCTGPLRRo, _smit: None}, + (_TGPLR,), + ((lambda: TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE, {_aQN: _TGPLR, _sN: _tGPLR}),), +) + +CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE: StaticOperationSchema = ( + 23, + n0, + _CTGPLR, + 0, + CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT, + CREATE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT, + (), +) + +TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_STATE: StaticSchema = ( + 14, + n0, + _TGPLRS, + 0, + (_p, _av, _mo, _de), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _mo}), (-1, {_sV: _de})), +) + +TRANSIT_GATEWAY_PREFIX_LIST_ATTACHMENT: StaticSchema = ( + 18, + n0, + _TGPLA, + 0, + (_TGAI, _RT, _RIe), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _RT, _sN: _rT}, + ), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + ), +) + +TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE: StaticSchema = ( + 18, + n0, + _TGPLR, + 0, + (_TGRTI, _PLI, _PLOI, _St, _Bl, _TGA), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_aQN: _TGRTI, _sN: _tGRTI}), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), + (lambda: schemas.STRING, {_aQN: _PLOI, _sN: _pLOI}), + (TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.BOOLEAN, {_aQN: _Bl, _sN: _bl}), + (TRANSIT_GATEWAY_PREFIX_LIST_ATTACHMENT, {_aQN: _TGA, _sN: _tGA}), + ), +) + +CREATE_TRANSIT_GATEWAY_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _CTGRI, + {_sSI: _cCTGRR, _sm: None}, + (_DCB, _TGRTI, _TGAI, _Bl, _DR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGRO, + {_sSI: _cCTGRRo, _smit: None}, + (_Rou,), + ((lambda: TRANSIT_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), +) + +CREATE_TRANSIT_GATEWAY_ROUTE: StaticOperationSchema = ( + 23, + n0, + _CTGR, + 0, + CREATE_TRANSIT_GATEWAY_ROUTE_INPUT, + CREATE_TRANSIT_GATEWAY_ROUTE_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ROUTE_STATE: StaticSchema = ( + 14, + n0, + _TGRS, + 0, + (_p, _act, _bl, _de, _del), + ( + (-1, {_sV: _p}), + (-1, {_sV: _act}), + (-1, {_sV: _bl}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + ), +) + +TRANSIT_GATEWAY_ROUTE_ATTACHMENT: StaticSchema = ( + 18, + n0, + _TGRA, + 0, + (_RIe, _TGAI, _RT), + ( + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.STRING, {_aQN: _TGAI, _sN: _tGAI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _RT, _sN: _rT}, + ), + ), +) + +TRANSIT_GATEWAY_ROUTE_ATTACHMENT_LIST: StaticSchema = ( + 16, + n0, + _TGRAL, + 0, + (_me,), + ((TRANSIT_GATEWAY_ROUTE_ATTACHMENT, {_sN: _i}),), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID: StaticSchema = (3, n0, _TGRTAI, 0) + +TRANSIT_GATEWAY_ROUTE_TYPE: StaticSchema = ( + 14, + n0, + _TGRTr, + 0, + (_stat, _prop, _sy), + ((-1, {_sV: _stat}), (-1, {_sV: _prop}), (-1, {_sV: _sy})), +) + +TRANSIT_GATEWAY_ROUTE: StaticSchema = ( + 18, + n0, + _TGR, + 0, + (_DCB, _PLI, _TGRTAI, _TGAransi, _Ty, _St), + ( + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), + (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, {_aQN: _TGRTAI, _sN: _tGRTAI}), + (TRANSIT_GATEWAY_ROUTE_ATTACHMENT_LIST, {_aQN: _TGAransi, _sN: _tGArans}), + (TRANSIT_GATEWAY_ROUTE_TYPE, {_aQN: _Ty, _sN: _ty}), + (TRANSIT_GATEWAY_ROUTE_STATE, {_aQN: _St, _sN: _st}), + ), +) + +CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _CTGRTI, + {_sSI: _cCTGRTR, _sm: None}, + (_TGI, _TSa, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGRTO, + {_sSI: _cCTGRTRo, _smit: None}, + (_TGRT,), + ((lambda: TRANSIT_GATEWAY_ROUTE_TABLE, {_aQN: _TGRT, _sN: _tGRT}),), +) + +CREATE_TRANSIT_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _CTGRT, + 0, + CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT, + CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_STATE: StaticSchema = ( + 14, + n0, + _TGRTS, + 0, + (_p, _av, _de, _del), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), +) + +TRANSIT_GATEWAY_ROUTE_TABLE: StaticSchema = ( + 18, + n0, + _TGRT, + 0, + (_TGRTI, _TGI, _St, _DART, _DPRT, _CT, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _TGRTI, _sN: _tGRTI}), + (lambda: schemas.STRING, {_aQN: _TGI, _sN: _tGI}), + (TRANSIT_GATEWAY_ROUTE_TABLE_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.BOOLEAN, {_aQN: _DART, _sN: _dART}), + (lambda: schemas.BOOLEAN, {_aQN: _DPRT, _sN: _dPRT}), + (lambda: schemas.DATE_TIME, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT: StaticSchema = ( + 18, + n0, + _CTGRTAI, + {_sSI: _cCTGRTAR, _sm: None}, + (_TGRTI, _PAIe, _TSa, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGRTAO, + {_sSI: _cCTGRTARo, _smit: None}, + (_TGRTA,), + ((lambda: TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT, {_aQN: _TGRTA, _sN: _tGRTA}),), +) + +CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT: StaticOperationSchema = ( + 23, + n0, + _CTGRTA, + 0, + CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT, + CREATE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_DIRECTION: StaticSchema = ( + 14, + n0, + _TGRTAD, + 0, + (_ou, _incom), + ((-1, {_sV: _ou}), (-1, {_sV: _incom})), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_STATE: StaticSchema = ( + 14, + n0, + _TGRTAS, + 0, + (_av, _p, _fai, _fa, _de, _del), + ( + (-1, {_sV: _av}), + (-1, {_sV: _p}), + (-1, {_sV: _fai}), + (-1, {_sV: _fa}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + ), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT: StaticSchema = ( + 18, + n0, + _TGRTA, + 0, + (_TGRTAI, _TGI, _CNI, _PTGI, _PCNI, _PAIe, _ADn, _TGRTI, _St, _CT, _Tag), + ( + (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, {_aQN: _TGRTAI, _sN: _tGRTAI}), + (lambda: schemas.TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.STRING, {_aQN: _CNI, _sN: _cNI}), + (lambda: schemas.TRANSIT_GATEWAY_ID, {_aQN: _PTGI, _sN: _pTGI}), + (lambda: schemas.STRING, {_aQN: _PCNI, _sN: _pCNI}), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _PAIe, _sN: _pAI}), + (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_DIRECTION, {_aQN: _ADn, _sN: _aDn}), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_aQN: _TGRTI, _sN: _tGRTI}), + (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.DATE_TIME, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS: StaticSchema = ( + 18, + n0, + _CTGVARO, + 0, + (_DS, _SGRS, _IS, _AMSp), + ( + (lambda: schemas.DNS_SUPPORT_VALUE, 0), + (lambda: schemas.SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, 0), + (lambda: schemas.IPV6_SUPPORT_VALUE, 0), + (lambda: schemas.APPLIANCE_MODE_SUPPORT_VALUE, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _CTGVAI, + {_sSI: _cCTGVAR, _sm: None}, + (_TGI, _VI, _SI, _O, _TSa, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ID, 1), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_SUBNET_ID_LIST, 1), + (CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CTGVAO, + {_sSI: _cCTGVARo, _smit: None}, + (_TGVA,), + ((lambda: schemas.TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), +) + +CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _CTGVA, + 0, + CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, + CREATE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, + (), +) + +VERIFIED_ACCESS_ENDPOINT_ATTACHMENT_TYPE: StaticSchema = ( + 14, + n0, + _VAEAT, + 0, + (_vp,), + ((-1, {_sV: _vp}),), +) + +VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER: StaticSchema = (7, n0, _VAEPN, 0) + +CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE: StaticSchema = ( + 18, + n0, + _CVAEPR, + 0, + (_FP, _TP), + ( + (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + ), +) + +CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST: StaticSchema = ( + 16, + n0, + _CVAEPRL, + 0, + (_me,), + ((CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE, {_sN: _i}),), +) + +VERIFIED_ACCESS_ENDPOINT_PROTOCOL: StaticSchema = ( + 14, + n0, + _VAEP, + 0, + (_ht, _htt, _tc), + ((-1, {_sV: _ht}), (-1, {_sV: _htt}), (-1, {_sV: _tc})), +) + +CREATE_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST: StaticSchema = ( + 16, + n0, + _CVAESIL, + 0, + (_me,), + ((lambda: schemas.SUBNET_ID, {_sN: _i}),), +) + +CREATE_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS: StaticSchema = ( + 18, + n0, + _CVAECO, + 0, + (_P, _SI, _Ci, _PRo), + ( + (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), + (CREATE_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), + (lambda: schemas.STRING, 0), + (CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), + ), +) + +CERTIFICATE_ARN: StaticSchema = (3, n0, _CAe, 0) + +VERIFIED_ACCESS_ENDPOINT_TYPE: StaticSchema = ( + 14, + n0, + _VAET, + 0, + (_lb, _ni, _rd, _ci), + ((-1, {_sV: _lb_}), (-1, {_sV: _ni_}), (-1, {_sV: _rd}), (-1, {_sV: _ci})), +) + +LOAD_BALANCER_ARN: StaticSchema = (3, n0, _LBA, 0) + +CREATE_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS: StaticSchema = ( + 18, + n0, + _CVAELBO, + 0, + (_P, _Po, _LBA, _SI, _PRo), + ( + (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), + (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + (LOAD_BALANCER_ARN, 0), + (CREATE_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), + (CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), + ), +) + +CREATE_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS: StaticSchema = ( + 18, + n0, + _CVAEEO, + 0, + (_NII, _P, _Po, _PRo), + ( + (lambda: schemas.NETWORK_INTERFACE_ID, 0), + (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), + (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + (CREATE_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), + ), +) + +RDS_DB_CLUSTER_ARN: StaticSchema = (3, n0, _RDCA, 0) + +RDS_DB_INSTANCE_ARN: StaticSchema = (3, n0, _RDIA, 0) + +RDS_DB_PROXY_ARN: StaticSchema = (3, n0, _RDPA, 0) + +CREATE_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS: StaticSchema = ( + 18, + n0, + _CVAERO, + 0, + (_P, _Po, _RDIA, _RDCA, _RDPA, _REd, _SI), + ( + (VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), + (VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + (RDS_DB_INSTANCE_ARN, 0), + (RDS_DB_CLUSTER_ARN, 0), + (RDS_DB_PROXY_ARN, 0), + (lambda: schemas.STRING, 0), + (CREATE_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), + ), +) + +SECURITY_GROUP_ID_LIST: StaticSchema = ( + 16, + n0, + _SGIL, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_ID, {_sN: _i}),), +) + +CREATE_VERIFIED_ACCESS_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CVAEI, + {_sSI: _cCVAER, _sm: None}, + ( + _VAGI, + _ETn, + _ATtta, + _DCA, + _ADp, + _EDP, + _SGIe, + _LBO, + _NIO, + _Des, + _PDo, + _TSa, + _CTl, + _DR, + _SSs, + _ROd, + _COi, + ), + ( + (lambda: schemas.VERIFIED_ACCESS_GROUP_ID, 1), + (VERIFIED_ACCESS_ENDPOINT_TYPE, 1), + (VERIFIED_ACCESS_ENDPOINT_ATTACHMENT_TYPE, 1), + (CERTIFICATE_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (SECURITY_GROUP_ID_LIST, {_sN: _SGI}), + (CREATE_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS, 0), + (CREATE_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), + (CREATE_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS, 0), + (CREATE_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS, 0), + ), +) + +CREATE_VERIFIED_ACCESS_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CVAEO, + {_sSI: _cCVAERo, _smit: None}, + (_VAE,), + ((lambda: schemas.VERIFIED_ACCESS_ENDPOINT, {_aQN: _VAE, _sN: _vAE}),), +) + +CREATE_VERIFIED_ACCESS_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CVAE, + 0, + CREATE_VERIFIED_ACCESS_ENDPOINT_INPUT, + CREATE_VERIFIED_ACCESS_ENDPOINT_OUTPUT, + (), +) + +TRANSIT_GATEWAY_PROPAGATION_STATE: StaticSchema = ( + 14, + n0, + _TGPS, + 0, + (_en, _ena, _disab, _d), + ((-1, {_sV: _en}), (-1, {_sV: _ena}), (-1, {_sV: _disab}), (-1, {_sV: _d})), +) + +TRANSIT_GATEWAY_PROPAGATION: StaticSchema = ( + 18, + n0, + _TGP, + 0, + (_TGAI, _RIe, _RT, _TGRTI, _St, _TGRTAI), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _RT, _sN: _rT}, + ), + (lambda: schemas.STRING, {_aQN: _TGRTI, _sN: _tGRTI}), + (TRANSIT_GATEWAY_PROPAGATION_STATE, {_aQN: _St, _sN: _st}), + (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, {_aQN: _TGRTAI, _sN: _tGRTAI}), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_18.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_18.py new file mode 100644 index 000000000..f0272177b --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_18.py @@ -0,0 +1,1575 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_vp = "vpc" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_smit = "smithy.api#output" +_de = "deleting" +_del = "deleted" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_SI = "SubnetIds" +_SIu = "SubnetId" +_sI = "subnetId" +_OIw = "OwnerId" +_oI = "ownerId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_VEI = "VpcEndpointId" +_SIe = "ServiceId" +_dRr = "dryRun" +_CB = "CidrBlock" +_ICB = "Ipv6CidrBlock" +_act = "active" +_Ci = "Cidr" +_ci = "cidr" +_P = "Protocol" +_pro = "protocol" +_RAe = "ResourceArn" +_SN = "ServiceName" +_sNe = "serviceName" +_Po = "Port" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_po = "port" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SGI = "SecurityGroupId" +_LBA = "LoadBalancerArn" +_lBA = "loadBalancerArn" +_PRo = "PortRanges" +_PRS = "PortRangeSet" +_pRS = "portRangeSet" +_Vp = "Vpc" +_VE = "VpcEndpoint" +_vE = "vpcEndpoint" +_Reso = "Resource" +_Mo = "Mode" +_LUT = "LastUpdateTimestamp" +_lUT = "lastUpdateTimestamp" +_sIe = "serviceId" +_Des = "Description" +_Rea = "Reason" +_rea = "reason" +_ipv = "ipv4" +_ipv_ = "ipv6" +_desc = "description" +_OA = "OutpostArn" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_SGIe = "SecurityGroupIds" +_IPp = "Ipv6Prefixes" +_IPpvr = "Ipv4Prefixes" +_RTIo = "RouteTableId" +_GIr = "GroupId" +_IIPI = "Ipv6IpamPoolId" +_INL = "Ipv6NetmaskLength" +_ICBNBG = "Ipv6CidrBlockNetworkBorderGroup" +_IPpvo = "Ipv6Pool" +_IIPIp = "Ipv4IpamPoolId" +_INLp = "Ipv4NetmaskLength" +_APICB = "AmazonProvidedIpv6CidrBlock" +_aPICB = "amazonProvidedIpv6CidrBlock" +_gIr = "groupId" +_G = "Groups" +_VAII = "VerifiedAccessInstanceId" +_DTPT = "DeviceTrustProviderType" +_TPT = "TrustProviderType" +_UTPT = "UserTrustProviderType" +_VAI = "VerifiedAccessInstance" +_vAII = "verifiedAccessInstanceId" +_LUTa = "LastUpdatedTime" +_lUTa = "lastUpdatedTime" +_CECSD = "CidrEndpointsCustomSubDomain" +_DO = "DeviceOptions" +_TI = "TenantId" +_PSKU = "PublicSigningKeyUrl" +_NAOO = "NativeApplicationOidcOptions" +_PSKE = "PublicSigningKeyEndpoint" +_Is = "Issuer" +_AE = "AuthorizationEndpoint" +_TE = "TokenEndpoint" +_UIEs = "UserInfoEndpoint" +_CIl = "ClientId" +_Sc = "Scope" +_sc = "scope" +_OO = "OidcOptions" +_CSl = "ClientSecret" +_KKA = "KmsKeyArn" +_CMKE = "CustomerManagedKeyEnabled" +_VATPe = "VerifiedAccessTrustProvider" +_PRN = "PolicyReferenceName" +_SSs = "SseSpecification" +_sSs = "sseSpecification" +_vATP = "verifiedAccessTrustProvider" +_vAI = "verifiedAccessInstance" +_VIo = "VolumeId" +_vIo = "volumeId" +_GN = "GroupName" +_gN = "groupName" +_FP = "FromPort" +_fP = "fromPort" +_TP = "ToPort" +_tP = "toPort" +_KKI = "KmsKeyId" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_VT = "VolumeType" +_SVI = "SourceVolumeId" +_Io = "Iops" +_Si = "Size" +_MAE = "MultiAttachEnabled" +_Th = "Throughput" +_oA = "outpostArn" +_sVI = "sourceVolumeId" +_iop = "iops" +_vT = "volumeType" +_FR = "FastRestored" +_fR = "fastRestored" +_mAE = "multiAttachEnabled" +_thr = "throughput" +_STs = "SseType" +_sTs = "sseType" +_Op = "Operator" +_ope = "operator" +_VIR = "VolumeInitializationRate" +_vIR = "volumeInitializationRate" +_VAol = "VolumeArn" +_vA = "volumeArn" +_siz = "size" +_CTr = "CreateTime" +_cTr = "createTime" +_Att = "Attachments" +_AStt = "AttachmentSet" +_aSt = "attachmentSet" +_DTe = "DeletionTime" +_dT = "deletionTime" +_up = "updating" +_Ena = "Enabled" +_DN = "DnsName" +_dN = "dnsName" +_VEC = "VpcEncryptionControl" +_ITnst = "InstanceTenancy" +_iTns = "instanceTenancy" +_IAT = "IpAddressType" +_du = "dualstack" +_NIIS = "NetworkInterfaceIdSet" +_Ip = "Ipv4" +_SGIS = "SecurityGroupIdSet" +_cip = "create_in_progress" +_cip_ = "create-in-progress" +_cc_ = "create_complete" +_cc__ = "create-complete" +_cf________________________ = "create_failed" +_cf_________________________ = "create-failed" +_dip_ = "delete_in_progress" +_dip__ = "delete-in-progress" +_dc_ = "delete_complete" +_dc__ = "delete-complete" +_uip = "update_in_progress" +_uip_ = "update-in-progress" +_uc = "update_complete" +_uc_ = "update-complete" +_uf = "update_failed" +_uf_ = "update-failed" +_NIIe = "NetworkInterfaceIds" +_nIIS = "networkInterfaceIdSet" +_sGIS = "securityGroupIdSet" +_iAT = "ipAddressType" +_dip___ = "disable_in_progress" +_dip____ = "disable-in-progress" +_dc___ = "disable_complete" +_dc____ = "disable-complete" +_GS = "GroupSet" +_gS = "groupSet" +_IPSpv = "Ipv4PrefixSet" +_iPS = "ipv4PrefixSet" +_IPSpvr = "Ipv6PrefixSet" +_iPSp = "ipv6PrefixSet" +_vEI = "vpcEndpointId" +_RMe = "RequesterManaged" +_rMe = "requesterManaged" +_FRa = "FailureReason" +_fRa = "failureReason" +_RDCA = "RdsDbClusterArn" +_RDIA = "RdsDbInstanceArn" +_RDPA = "RdsDbProxyArn" +_REd = "RdsEndpoint" +_VASSRe = "VerifiedAccessSseSpecificationRequest" +_VAGI = "VerifiedAccessGroupId" +_ETn = "EndpointType" +_ATtta = "AttachmentType" +_DCA = "DomainCertificateArn" +_ADp = "ApplicationDomain" +_LBO = "LoadBalancerOptions" +_NIO = "NetworkInterfaceOptions" +_PDo = "PolicyDocument" +_ROd = "RdsOptions" +_COi = "CidrOptions" +_VAEPR = "VerifiedAccessEndpointPortRange" +_VAEPRL = "VerifiedAccessEndpointPortRangeList" +_VAESIL = "VerifiedAccessEndpointSubnetIdList" +_VAECO = "VerifiedAccessEndpointCidrOptions" +_SISu = "SubnetIdSet" +_sISu = "subnetIdSet" +_VAELBO = "VerifiedAccessEndpointLoadBalancerOptions" +_VAEEO = "VerifiedAccessEndpointEniOptions" +_VAERO = "VerifiedAccessEndpointRdsOptions" +_rDIA = "rdsDbInstanceArn" +_rDCA = "rdsDbClusterArn" +_rDPA = "rdsDbProxyArn" +_rEd = "rdsEndpoint" +_VAESC = "VerifiedAccessEndpointStatusCode" +_VAES = "VerifiedAccessEndpointStatus" +_VAE = "VerifiedAccessEndpoint" +_vAGI = "verifiedAccessGroupId" +_VAEI = "VerifiedAccessEndpointId" +_vAEI = "verifiedAccessEndpointId" +_aDp = "applicationDomain" +_eTn = "endpointType" +_aTtta = "attachmentType" +_dCA = "domainCertificateArn" +_EDnd = "EndpointDomain" +_eDnd = "endpointDomain" +_DVD = "DeviceValidationDomain" +_dVD = "deviceValidationDomain" +_lBO = "loadBalancerOptions" +_nIO = "networkInterfaceOptions" +_rOd = "rdsOptions" +_cOi = "cidrOptions" +_CVAGI = "CreateVerifiedAccessGroupInput" +_cCVAGR = "com.amazonaws.ec2#CreateVerifiedAccessGroupRequest" +_VAG = "VerifiedAccessGroup" +_Ow = "Owner" +_ow = "owner" +_VAGA = "VerifiedAccessGroupArn" +_vAGA = "verifiedAccessGroupArn" +_CVAGO = "CreateVerifiedAccessGroupOutput" +_cCVAGRo = "com.amazonaws.ec2#CreateVerifiedAccessGroupResult" +_vAG = "verifiedAccessGroup" +_CVAG = "CreateVerifiedAccessGroup" +_CVAII = "CreateVerifiedAccessInstanceInput" +_cCVAIR = "com.amazonaws.ec2#CreateVerifiedAccessInstanceRequest" +_FIPSE = "FIPSEnabled" +_CVAIO = "CreateVerifiedAccessInstanceOutput" +_cCVAIRo = "com.amazonaws.ec2#CreateVerifiedAccessInstanceResult" +_CVAI = "CreateVerifiedAccessInstance" +_CVATPDO = "CreateVerifiedAccessTrustProviderDeviceOptions" +_CVANAOO = "CreateVerifiedAccessNativeApplicationOidcOptions" +_CVATPOO = "CreateVerifiedAccessTrustProviderOidcOptions" +_CVATPI = "CreateVerifiedAccessTrustProviderInput" +_cCVATPR = "com.amazonaws.ec2#CreateVerifiedAccessTrustProviderRequest" +_CVATPO = "CreateVerifiedAccessTrustProviderOutput" +_cCVATPRo = "com.amazonaws.ec2#CreateVerifiedAccessTrustProviderResult" +_CVATP = "CreateVerifiedAccessTrustProvider" +_CVIr = "CreateVolumeInput" +_cCVRom = "com.amazonaws.ec2#CreateVolumeRequest" +_CVOr = "CreateVolumeOutput" +_cV = "com.amazonaws.ec2#Volume" +_CVr = "CreateVolume" +_VECC = "VpcEncryptionControlConfiguration" +_IGE = "InternetGatewayExclusion" +_EOIGE = "EgressOnlyInternetGatewayExclusion" +_NGE = "NatGatewayExclusion" +_VPGE = "VirtualPrivateGatewayExclusion" +_VPE = "VpcPeeringExclusion" +_LE = "LambdaExclusion" +_VLE = "VpcLatticeExclusion" +_EFSE = "ElasticFileSystemExclusion" +_CVIre = "CreateVpcInput" +_cCVRoma = "com.amazonaws.ec2#CreateVpcRequest" +_CVOre = "CreateVpcOutput" +_cCVRomam = "com.amazonaws.ec2#CreateVpcResult" +_CVre = "CreateVpc" +_IGEM = "InternetGatewayExclusionMode" +_ab = "allow_bidirectional" +_ab_ = "allow-bidirectional" +_ae__ = "allow_egress" +_ae___ = "allow-egress" +_CVBPAEI = "CreateVpcBlockPublicAccessExclusionInput" +_cCVBPAER = "com.amazonaws.ec2#CreateVpcBlockPublicAccessExclusionRequest" +_VBPAEI = "VpcBlockPublicAccessExclusionId" +_VBPAES = "VpcBlockPublicAccessExclusionState" +_VBPAE = "VpcBlockPublicAccessExclusion" +_EIx = "ExclusionId" +_eIx = "exclusionId" +_iGEM = "internetGatewayExclusionMode" +_rAe = "resourceArn" +_CTrea = "CreationTimestamp" +_cTre = "creationTimestamp" +_DTele = "DeletionTimestamp" +_dTel = "deletionTimestamp" +_CVBPAEO = "CreateVpcBlockPublicAccessExclusionOutput" +_cCVBPAERo = "com.amazonaws.ec2#CreateVpcBlockPublicAccessExclusionResult" +_vBPAE = "vpcBlockPublicAccessExclusion" +_CVBPAE = "CreateVpcBlockPublicAccessExclusion" +_CVECI = "CreateVpcEncryptionControlInput" +_cCVECR = "com.amazonaws.ec2#CreateVpcEncryptionControlRequest" +_CVECO = "CreateVpcEncryptionControlOutput" +_cCVECRo = "com.amazonaws.ec2#CreateVpcEncryptionControlResult" +_vEC = "vpcEncryptionControl" +_CVEC = "CreateVpcEncryptionControl" +_DRIT = "DnsRecordIpType" +_sd = "service_defined" +_sd_ = "service-defined" +_PDSDS = "PrivateDnsSpecifiedDomainSet" +_DOS = "DnsOptionsSpecification" +_PDOFIRE = "PrivateDnsOnlyForInboundResolverEndpoint" +_PDP = "PrivateDnsPreference" +_PDSD = "PrivateDnsSpecifiedDomains" +_PDSDr = "PrivateDnsSpecifiedDomain" +_RCA = "ResourceConfigurationArn" +_VERTIL = "VpcEndpointRouteTableIdList" +_VESGIL = "VpcEndpointSecurityGroupIdList" +_SNAe = "ServiceNetworkArn" +_SCu = "SubnetConfiguration" +_Ipv = "Ipv6" +_SCL = "SubnetConfigurationsList" +_VESIL = "VpcEndpointSubnetIdList" +_VET = "VpcEndpointType" +_Inter = "Interface" +_Ga = "Gateway" +_GLB = "GatewayLoadBalancer" +_SNer = "ServiceNetwork" +_Tu = "Tunnel" +_CVEIr = "CreateVpcEndpointInput" +_cCVER = "com.amazonaws.ec2#CreateVpcEndpointRequest" +_RTIou = "RouteTableIds" +_DOn = "DnsOptions" +_PDE = "PrivateDnsEnabled" +_SCub = "SubnetConfigurations" +_SRe = "ServiceRegion" +_DE = "DnsEntry" +_HZI = "HostedZoneId" +_hZI = "hostedZoneId" +_DES = "DnsEntrySet" +_dRIT = "dnsRecordIpType" +_pDOFIRE = "privateDnsOnlyForInboundResolverEndpoint" +_pDP = "privateDnsPreference" +_pDSDS = "privateDnsSpecifiedDomainSet" +_SGIec = "SecurityGroupIdentifier" +_GIS = "GroupIdentifierSet" +_SIP = "SubnetIpPrefixes" +_IPpre = "IpPrefixes" +_IPSpr = "IpPrefixSet" +_iPSpr = "ipPrefixSet" +_SIPL = "SubnetIpPrefixesList" +_LEa = "LastError" +_PRT = "PayerResponsibilityType" +_VEA = "VpcEndpointAccount" +_vea = "vpc-endpoint-account" +_RGAe = "ResourceGatewayAccount" +_rga = "resource-gateway-account" +_VESA = "VpcEndpointServiceAccount" +_vesa = "vpc-endpoint-service-account" +_PRSa = "PayerResponsibilityScope" +_VECp = "VpcEndpointCharges" +_vec____ = "vpc-endpoint-charges" +_RGC = "ResourceGatewayCharges" +_rgc = "resource-gateway-charges" +_PRE = "PayerResponsibilityEntry" +_pRT = "payerResponsibilityType" +_PRSay = "PayerResponsibilitySet" +_PAen = "PendingAcceptance" +_Pen = "Pending" +_Av = "Available" +_Del = "Deleting" +_Dele = "Deleted" +_Rej = "Rejected" +_Fai = "Failed" +_Expi = "Expired" +_Par = "Partial" +_vET = "vpcEndpointType" +_pDo = "policyDocument" +_RTIS = "RouteTableIdSet" +_rTIS = "routeTableIdSet" +_dOn = "dnsOptions" +_pDE = "privateDnsEnabled" +_DEn = "DnsEntries" +_dES = "dnsEntrySet" +_lE = "lastError" +_sNAe = "serviceNetworkArn" +_rCA = "resourceConfigurationArn" +_sRe = "serviceRegion" +_PRa = "PayerResponsibilities" +_pRSa = "payerResponsibilitySet" +_CVEO = "CreateVpcEndpointOutput" +_cCVERo = "com.amazonaws.ec2#CreateVpcEndpointResult" +_CVE = "CreateVpcEndpoint" +_CVECNI = "CreateVpcEndpointConnectionNotificationInput" +_cCVECNR = "com.amazonaws.ec2#CreateVpcEndpointConnectionNotificationRequest" +_CNAon = "ConnectionNotificationArn" +_CEo = "ConnectionEvents" +_CNS = "ConnectionNotificationState" +_Dis = "Disabled" +_CNT = "ConnectionNotificationType" +_Top = "Topic" +_CNo = "ConnectionNotification" +_CNIo = "ConnectionNotificationId" +_cNIo = "connectionNotificationId" +_cNT = "connectionNotificationType" +_cNAo = "connectionNotificationArn" +_cEo = "connectionEvents" +_cNS = "connectionNotificationState" +_CVECNO = "CreateVpcEndpointConnectionNotificationOutput" +_cCVECNRo = "com.amazonaws.ec2#CreateVpcEndpointConnectionNotificationResult" +_cN = "connectionNotification" +_CVECN = "CreateVpcEndpointConnectionNotification" + +VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _VASSRe, + 0, + (_CMKE, _KKA), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.KMS_KEY_ARN, 0)), +) + +VERIFIED_ACCESS_GROUP_ID: StaticSchema = (3, n0, _VAGI, 0) + +VERIFIED_ACCESS_ENDPOINT_PORT_RANGE: StaticSchema = ( + 18, + n0, + _VAEPR, + 0, + (_FP, _TP), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _FP, _sN: _fP}), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _TP, _sN: _tP}), + ), +) + +VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST: StaticSchema = ( + 16, + n0, + _VAEPRL, + 0, + (_me,), + ((VERIFIED_ACCESS_ENDPOINT_PORT_RANGE, {_sN: _i}),), +) + +VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST: StaticSchema = ( + 16, + n0, + _VAESIL, + 0, + (_me,), + ((lambda: schemas.SUBNET_ID, {_sN: _i}),), +) + +VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS: StaticSchema = ( + 18, + n0, + _VAECO, + 0, + (_Ci, _PRo, _P, _SI), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_aQN: _PRS, _sN: _pRS}), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PROTOCOL, {_aQN: _P, _sN: _pro}), + (VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_aQN: _SISu, _sN: _sISu}), + ), +) + +VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS: StaticSchema = ( + 18, + n0, + _VAELBO, + 0, + (_P, _Po, _LBA, _SI, _PRo), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PROTOCOL, {_aQN: _P, _sN: _pro}), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _Po, _sN: _po}), + (lambda: schemas.STRING, {_aQN: _LBA, _sN: _lBA}), + (VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_aQN: _SISu, _sN: _sISu}), + (VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_aQN: _PRS, _sN: _pRS}), + ), +) + +VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS: StaticSchema = ( + 18, + n0, + _VAEEO, + 0, + (_NII, _P, _Po, _PRo), + ( + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PROTOCOL, {_aQN: _P, _sN: _pro}), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _Po, _sN: _po}), + (VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_aQN: _PRS, _sN: _pRS}), + ), +) + +VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS: StaticSchema = ( + 18, + n0, + _VAERO, + 0, + (_P, _Po, _RDIA, _RDCA, _RDPA, _REd, _SI), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PROTOCOL, {_aQN: _P, _sN: _pro}), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, {_aQN: _Po, _sN: _po}), + (lambda: schemas.STRING, {_aQN: _RDIA, _sN: _rDIA}), + (lambda: schemas.STRING, {_aQN: _RDCA, _sN: _rDCA}), + (lambda: schemas.STRING, {_aQN: _RDPA, _sN: _rDPA}), + (lambda: schemas.STRING, {_aQN: _REd, _sN: _rEd}), + (VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_aQN: _SISu, _sN: _sISu}), + ), +) + +VERIFIED_ACCESS_ENDPOINT_STATUS_CODE: StaticSchema = ( + 14, + n0, + _VAESC, + 0, + (_p, _act, _up, _de, _del), + ( + (-1, {_sV: _p}), + (-1, {_sV: _act}), + (-1, {_sV: _up}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + ), +) + +VERIFIED_ACCESS_ENDPOINT_STATUS: StaticSchema = ( + 18, + n0, + _VAES, + 0, + (_C, _Me), + ( + (VERIFIED_ACCESS_ENDPOINT_STATUS_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +VERIFIED_ACCESS_ENDPOINT: StaticSchema = ( + 18, + n0, + _VAE, + 0, + ( + _VAII, + _VAGI, + _VAEI, + _ADp, + _ETn, + _ATtta, + _DCA, + _EDnd, + _DVD, + _SGIe, + _LBO, + _NIO, + _Sta, + _Des, + _CT, + _LUTa, + _DTe, + _Tag, + _SSs, + _ROd, + _COi, + ), + ( + (lambda: schemas.STRING, {_aQN: _VAII, _sN: _vAII}), + (lambda: schemas.STRING, {_aQN: _VAGI, _sN: _vAGI}), + (lambda: schemas.STRING, {_aQN: _VAEI, _sN: _vAEI}), + (lambda: schemas.STRING, {_aQN: _ADp, _sN: _aDp}), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_TYPE, {_aQN: _ETn, _sN: _eTn}), + ( + lambda: schemas.VERIFIED_ACCESS_ENDPOINT_ATTACHMENT_TYPE, + {_aQN: _ATtta, _sN: _aTtta}, + ), + (lambda: schemas.STRING, {_aQN: _DCA, _sN: _dCA}), + (lambda: schemas.STRING, {_aQN: _EDnd, _sN: _eDnd}), + (lambda: schemas.STRING, {_aQN: _DVD, _sN: _dVD}), + (lambda: schemas.SECURITY_GROUP_ID_LIST, {_aQN: _SGIS, _sN: _sGIS}), + (VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS, {_aQN: _LBO, _sN: _lBO}), + (VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS, {_aQN: _NIO, _sN: _nIO}), + (VERIFIED_ACCESS_ENDPOINT_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.STRING, {_aQN: _LUTa, _sN: _lUTa}), + (lambda: schemas.STRING, {_aQN: _DTe, _sN: _dT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ( + lambda: schemas.VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, + {_aQN: _SSs, _sN: _sSs}, + ), + (VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS, {_aQN: _ROd, _sN: _rOd}), + (VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS, {_aQN: _COi, _sN: _cOi}), + ), +) + +CREATE_VERIFIED_ACCESS_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CVAGI, + {_sSI: _cCVAGR, _sm: None}, + (_VAII, _Des, _PDo, _TSa, _CTl, _DR, _SSs), + ( + (lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), + ), +) + +CREATE_VERIFIED_ACCESS_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CVAGO, + {_sSI: _cCVAGRo, _smit: None}, + (_VAG,), + ((lambda: VERIFIED_ACCESS_GROUP, {_aQN: _VAG, _sN: _vAG}),), +) + +CREATE_VERIFIED_ACCESS_GROUP: StaticOperationSchema = ( + 23, + n0, + _CVAG, + 0, + CREATE_VERIFIED_ACCESS_GROUP_INPUT, + CREATE_VERIFIED_ACCESS_GROUP_OUTPUT, + (), +) + +VERIFIED_ACCESS_GROUP: StaticSchema = ( + 18, + n0, + _VAG, + 0, + (_VAGI, _VAII, _Des, _Ow, _VAGA, _CT, _LUTa, _DTe, _Tag, _SSs), + ( + (lambda: schemas.STRING, {_aQN: _VAGI, _sN: _vAGI}), + (lambda: schemas.STRING, {_aQN: _VAII, _sN: _vAII}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _Ow, _sN: _ow}), + (lambda: schemas.STRING, {_aQN: _VAGA, _sN: _vAGA}), + (lambda: schemas.STRING, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.STRING, {_aQN: _LUTa, _sN: _lUTa}), + (lambda: schemas.STRING, {_aQN: _DTe, _sN: _dT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ( + lambda: schemas.VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, + {_aQN: _SSs, _sN: _sSs}, + ), + ), +) + +CREATE_VERIFIED_ACCESS_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _CVAII, + {_sSI: _cCVAIR, _sm: None}, + (_Des, _TSa, _CTl, _DR, _FIPSE, _CECSD), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_VERIFIED_ACCESS_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _CVAIO, + {_sSI: _cCVAIRo, _smit: None}, + (_VAI,), + ((lambda: schemas.VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}),), +) + +CREATE_VERIFIED_ACCESS_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _CVAI, + 0, + CREATE_VERIFIED_ACCESS_INSTANCE_INPUT, + CREATE_VERIFIED_ACCESS_INSTANCE_OUTPUT, + (), +) + +CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS: StaticSchema = ( + 18, + n0, + _CVATPDO, + 0, + (_TI, _PSKU), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CREATE_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS: StaticSchema = ( + 18, + n0, + _CVANAOO, + 0, + (_PSKE, _Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CLIENT_SECRET_TYPE, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS: StaticSchema = ( + 18, + n0, + _CVATPOO, + 0, + (_Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CLIENT_SECRET_TYPE, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _CVATPI, + {_sSI: _cCVATPR, _sm: None}, + (_TPT, _UTPT, _DTPT, _OO, _DO, _PRN, _Des, _TSa, _CTl, _DR, _SSs, _NAOO), + ( + (lambda: schemas.TRUST_PROVIDER_TYPE, 1), + (lambda: schemas.USER_TRUST_PROVIDER_TYPE, 0), + (lambda: schemas.DEVICE_TRUST_PROVIDER_TYPE, 0), + (CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS, 0), + (CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), + (CREATE_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS, 0), + ), +) + +CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _CVATPO, + {_sSI: _cCVATPRo, _smit: None}, + (_VATPe,), + ((lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}),), +) + +CREATE_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _CVATP, + 0, + CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, + CREATE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, + (), +) + +CREATE_VOLUME_INPUT: StaticSchema = ( + 18, + n0, + _CVIr, + {_sSI: _cCVRom, _sm: None}, + ( + _AZ, + _AZI, + _En, + _Io, + _KKI, + _OA, + _Si, + _SIn, + _VT, + _TSa, + _MAE, + _Th, + _CTl, + _VIR, + _Op, + _DR, + ), + ( + (lambda: schemas.AVAILABILITY_ZONE_NAME, 0), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.SNAPSHOT_ID, 0), + (lambda: schemas.VOLUME_TYPE, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.OPERATOR_REQUEST, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_VOLUME_OUTPUT: StaticSchema = ( + 18, + n0, + _CVOr, + {_sSI: _cV, _smit: None}, + ( + _AZI, + _OA, + _SVI, + _Io, + _Tag, + _VT, + _FR, + _MAE, + _Th, + _STs, + _Op, + _VIR, + _VAol, + _OIw, + _VIo, + _Si, + _SIn, + _AZ, + _St, + _CTr, + _Att, + _En, + _KKI, + ), + ( + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _SVI, _sN: _sVI}), + (lambda: schemas.INTEGER, {_aQN: _Io, _sN: _iop}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), + (lambda: schemas.BOOLEAN, {_aQN: _FR, _sN: _fR}), + (lambda: schemas.BOOLEAN, {_aQN: _MAE, _sN: _mAE}), + (lambda: schemas.INTEGER, {_aQN: _Th, _sN: _thr}), + (lambda: schemas.SSE_TYPE, {_aQN: _STs, _sN: _sTs}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + (lambda: schemas.INTEGER, {_aQN: _VIR, _sN: _vIR}), + (lambda: schemas.STRING, {_aQN: _VAol, _sN: _vA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.INTEGER, {_aQN: _Si, _sN: _siz}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.VOLUME_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.VOLUME_ATTACHMENT_LIST, {_aQN: _AStt, _sN: _aSt}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}), + ), +) + +CREATE_VOLUME: StaticOperationSchema = ( + 23, + n0, + _CVr, + 0, + CREATE_VOLUME_INPUT, + CREATE_VOLUME_OUTPUT, + (), +) + +VPC_ENCRYPTION_CONTROL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VECC, + 0, + (_Mo, _IGE, _EOIGE, _NGE, _VPGE, _VPE, _LE, _VLE, _EFSE), + ( + (lambda: schemas.VPC_ENCRYPTION_CONTROL_MODE, 1), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + ), +) + +CREATE_VPC_INPUT: StaticSchema = ( + 18, + n0, + _CVIre, + {_sSI: _cCVRoma, _sm: None}, + ( + _CB, + _IPpvo, + _ICB, + _IIPIp, + _INLp, + _IIPI, + _INL, + _ICBNBG, + _VEC, + _TSa, + _DR, + _ITnst, + _APICB, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.IPV6_POOL_EC2_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPAM_POOL_ID, 0), + (lambda: schemas.NETMASK_LENGTH, 0), + (lambda: schemas.IPAM_POOL_ID, 0), + (lambda: schemas.NETMASK_LENGTH, 0), + (lambda: schemas.STRING, 0), + (VPC_ENCRYPTION_CONTROL_CONFIGURATION, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.TENANCY, {_aQN: _ITnst, _sN: _iTns}), + (lambda: schemas.BOOLEAN, {_aQN: _APICB, _sN: _aPICB}), + ), +) + +CREATE_VPC_OUTPUT: StaticSchema = ( + 18, + n0, + _CVOre, + {_sSI: _cCVRomam, _smit: None}, + (_Vp,), + ((lambda: schemas.VPC, {_aQN: _Vp, _sN: _vp}),), +) + +CREATE_VPC: StaticOperationSchema = ( + 23, + n0, + _CVre, + 0, + CREATE_VPC_INPUT, + CREATE_VPC_OUTPUT, + (), +) + +INTERNET_GATEWAY_EXCLUSION_MODE: StaticSchema = ( + 14, + n0, + _IGEM, + 0, + (_ab, _ae__), + ((-1, {_sV: _ab_}), (-1, {_sV: _ae___})), +) + +CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT: StaticSchema = ( + 18, + n0, + _CVBPAEI, + {_sSI: _cCVBPAER, _sm: None}, + (_DR, _SIu, _VI, _IGEM, _TSa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SUBNET_ID, 0), + (lambda: schemas.VPC_ID, 0), + (INTERNET_GATEWAY_EXCLUSION_MODE, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CVBPAEO, + {_sSI: _cCVBPAERo, _smit: None}, + (_VBPAE,), + ((lambda: VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION, {_aQN: _VBPAE, _sN: _vBPAE}),), +) + +CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION: StaticOperationSchema = ( + 23, + n0, + _CVBPAE, + 0, + CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT, + CREATE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT, + (), +) + +VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID: StaticSchema = (3, n0, _VBPAEI, 0) + +VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_STATE: StaticSchema = ( + 14, + n0, + _VBPAES, + 0, + ( + _cip, + _cc_, + _cf________________________, + _uip, + _uc, + _uf, + _dip_, + _dc_, + _dip___, + _dc___, + ), + ( + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _cf_________________________}), + (-1, {_sV: _uip_}), + (-1, {_sV: _uc_}), + (-1, {_sV: _uf_}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + (-1, {_sV: _dip____}), + (-1, {_sV: _dc____}), + ), +) + +VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION: StaticSchema = ( + 18, + n0, + _VBPAE, + 0, + (_EIx, _IGEM, _RAe, _St, _Rea, _CTrea, _LUT, _DTele, _Tag), + ( + (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID, {_aQN: _EIx, _sN: _eIx}), + (INTERNET_GATEWAY_EXCLUSION_MODE, {_aQN: _IGEM, _sN: _iGEM}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _RAe, _sN: _rAe}), + (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _Rea, _sN: _rea}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTrea, _sN: _cTre}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LUT, _sN: _lUT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _DTele, _sN: _dTel}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( + 18, + n0, + _CVECI, + {_sSI: _cCVECR, _sm: None}, + (_DR, _VI, _TSa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( + 18, + n0, + _CVECO, + {_sSI: _cCVECRo, _smit: None}, + (_VEC,), + ((lambda: schemas.VPC_ENCRYPTION_CONTROL, {_aQN: _VEC, _sN: _vEC}),), +) + +CREATE_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( + 23, + n0, + _CVEC, + 0, + CREATE_VPC_ENCRYPTION_CONTROL_INPUT, + CREATE_VPC_ENCRYPTION_CONTROL_OUTPUT, + (), +) + +DNS_RECORD_IP_TYPE: StaticSchema = ( + 14, + n0, + _DRIT, + 0, + (_ipv, _du, _ipv_, _sd), + ((-1, {_sV: _ipv}), (-1, {_sV: _du}), (-1, {_sV: _ipv_}), (-1, {_sV: _sd_})), +) + +PRIVATE_DNS_SPECIFIED_DOMAIN_SET: StaticSchema = ( + 16, + n0, + _PDSDS, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +DNS_OPTIONS_SPECIFICATION: StaticSchema = ( + 18, + n0, + _DOS, + 0, + (_DRIT, _PDOFIRE, _PDP, _PDSD), + ( + (DNS_RECORD_IP_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (PRIVATE_DNS_SPECIFIED_DOMAIN_SET, {_sN: _PDSDr}), + ), +) + +RESOURCE_CONFIGURATION_ARN: StaticSchema = (3, n0, _RCA, 0) + +VPC_ENDPOINT_ROUTE_TABLE_ID_LIST: StaticSchema = ( + 16, + n0, + _VERTIL, + 0, + (_me,), + ((lambda: schemas.ROUTE_TABLE_ID, {_sN: _i}),), +) + +VPC_ENDPOINT_SECURITY_GROUP_ID_LIST: StaticSchema = ( + 16, + n0, + _VESGIL, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_ID, {_sN: _i}),), +) + +SERVICE_NETWORK_ARN: StaticSchema = (3, n0, _SNAe, 0) + +SUBNET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCu, + 0, + (_SIu, _Ip, _Ipv), + ( + (lambda: schemas.SUBNET_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +SUBNET_CONFIGURATIONS_LIST: StaticSchema = ( + 16, + n0, + _SCL, + 0, + (_me,), + ((SUBNET_CONFIGURATION, {_sN: _i}),), +) + +VPC_ENDPOINT_SUBNET_ID_LIST: StaticSchema = ( + 16, + n0, + _VESIL, + 0, + (_me,), + ((lambda: schemas.SUBNET_ID, {_sN: _i}),), +) + +VPC_ENDPOINT_TYPE: StaticSchema = ( + 14, + n0, + _VET, + 0, + (_Inter, _Ga, _GLB, _Reso, _SNer, _Tu), + ( + (-1, {_sV: _Inter}), + (-1, {_sV: _Ga}), + (-1, {_sV: _GLB}), + (-1, {_sV: _Reso}), + (-1, {_sV: _SNer}), + (-1, {_sV: _Tu}), + ), +) + +CREATE_VPC_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CVEIr, + {_sSI: _cCVER, _sm: None}, + ( + _DR, + _VET, + _VI, + _SN, + _PDo, + _RTIou, + _SI, + _SGIe, + _IAT, + _DOn, + _CTl, + _PDE, + _TSa, + _SCub, + _SNAe, + _RCA, + _SRe, + ), + ( + (lambda: schemas.BOOLEAN, 0), + (VPC_ENDPOINT_TYPE, 0), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (VPC_ENDPOINT_ROUTE_TABLE_ID_LIST, {_sN: _RTIo}), + (VPC_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), + (VPC_ENDPOINT_SECURITY_GROUP_ID_LIST, {_sN: _SGI}), + (lambda: schemas.IP_ADDRESS_TYPE, 0), + (DNS_OPTIONS_SPECIFICATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (SUBNET_CONFIGURATIONS_LIST, {_sN: _SCu}), + (SERVICE_NETWORK_ARN, 0), + (RESOURCE_CONFIGURATION_ARN, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_VPC_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CVEO, + {_sSI: _cCVERo, _smit: None}, + (_VE, _CTl), + ( + (lambda: VPC_ENDPOINT, {_aQN: _VE, _sN: _vE}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_VPC_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CVE, + 0, + CREATE_VPC_ENDPOINT_INPUT, + CREATE_VPC_ENDPOINT_OUTPUT, + (), +) + +DNS_ENTRY: StaticSchema = ( + 18, + n0, + _DE, + 0, + (_DN, _HZI), + ( + (lambda: schemas.STRING, {_aQN: _DN, _sN: _dN}), + (lambda: schemas.STRING, {_aQN: _HZI, _sN: _hZI}), + ), +) + +DNS_ENTRY_SET: StaticSchema = (16, n0, _DES, 0, (_me,), ((DNS_ENTRY, {_sN: _i}),)) + +DNS_OPTIONS: StaticSchema = ( + 18, + n0, + _DOn, + 0, + (_DRIT, _PDOFIRE, _PDP, _PDSD), + ( + (DNS_RECORD_IP_TYPE, {_aQN: _DRIT, _sN: _dRIT}), + (lambda: schemas.BOOLEAN, {_aQN: _PDOFIRE, _sN: _pDOFIRE}), + (lambda: schemas.STRING, {_aQN: _PDP, _sN: _pDP}), + (PRIVATE_DNS_SPECIFIED_DOMAIN_SET, {_aQN: _PDSDS, _sN: _pDSDS}), + ), +) + +SECURITY_GROUP_IDENTIFIER: StaticSchema = ( + 18, + n0, + _SGIec, + 0, + (_GIr, _GN), + ( + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + ), +) + +GROUP_IDENTIFIER_SET: StaticSchema = ( + 16, + n0, + _GIS, + 0, + (_me,), + ((SECURITY_GROUP_IDENTIFIER, {_sN: _i}),), +) + +SUBNET_IP_PREFIXES: StaticSchema = ( + 18, + n0, + _SIP, + 0, + (_SIu, _IPpre), + ( + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _IPSpr, _sN: _iPSpr}), + ), +) + +SUBNET_IP_PREFIXES_LIST: StaticSchema = ( + 16, + n0, + _SIPL, + 0, + (_me,), + ((SUBNET_IP_PREFIXES, {_sN: _i}),), +) + +LAST_ERROR: StaticSchema = ( + 18, + n0, + _LEa, + 0, + (_Me, _C), + ( + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + ), +) + +PAYER_RESPONSIBILITY_TYPE: StaticSchema = ( + 14, + n0, + _PRT, + 0, + (_VEA, _RGAe, _VESA), + ((-1, {_sV: _vea}), (-1, {_sV: _rga}), (-1, {_sV: _vesa})), +) + +PAYER_RESPONSIBILITY_SCOPE: StaticSchema = ( + 14, + n0, + _PRSa, + 0, + (_VECp, _RGC), + ((-1, {_sV: _vec____}), (-1, {_sV: _rgc})), +) + +PAYER_RESPONSIBILITY_ENTRY: StaticSchema = ( + 18, + n0, + _PRE, + 0, + (_Sc, _PRT), + ( + (PAYER_RESPONSIBILITY_SCOPE, {_aQN: _Sc, _sN: _sc}), + (PAYER_RESPONSIBILITY_TYPE, {_aQN: _PRT, _sN: _pRT}), + ), +) + +PAYER_RESPONSIBILITY_SET: StaticSchema = ( + 16, + n0, + _PRSay, + 0, + (_me,), + ((PAYER_RESPONSIBILITY_ENTRY, {_sN: _i}),), +) + +STATE: StaticSchema = ( + 14, + n0, + _St, + 0, + (_PAen, _Pen, _Av, _Del, _Dele, _Rej, _Fai, _Expi, _Par), + ( + (-1, {_sV: _PAen}), + (-1, {_sV: _Pen}), + (-1, {_sV: _Av}), + (-1, {_sV: _Del}), + (-1, {_sV: _Dele}), + (-1, {_sV: _Rej}), + (-1, {_sV: _Fai}), + (-1, {_sV: _Expi}), + (-1, {_sV: _Par}), + ), +) + +VPC_ENDPOINT: StaticSchema = ( + 18, + n0, + _VE, + 0, + ( + _VEI, + _VET, + _VI, + _SN, + _St, + _PDo, + _RTIou, + _SI, + _G, + _IAT, + _DOn, + _PDE, + _RMe, + _NIIe, + _DEn, + _CTrea, + _Tag, + _OIw, + _LEa, + _IPpvr, + _IPp, + _FRa, + _SNAe, + _RCA, + _SRe, + _PRa, + ), + ( + (lambda: schemas.STRING, {_aQN: _VEI, _sN: _vEI}), + (VPC_ENDPOINT_TYPE, {_aQN: _VET, _sN: _vET}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _SN, _sN: _sNe}), + (STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _PDo, _sN: _pDo}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _RTIS, _sN: _rTIS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SISu, _sN: _sISu}), + (GROUP_IDENTIFIER_SET, {_aQN: _GS, _sN: _gS}), + (lambda: schemas.IP_ADDRESS_TYPE, {_aQN: _IAT, _sN: _iAT}), + (DNS_OPTIONS, {_aQN: _DOn, _sN: _dOn}), + (lambda: schemas.BOOLEAN, {_aQN: _PDE, _sN: _pDE}), + (lambda: schemas.BOOLEAN, {_aQN: _RMe, _sN: _rMe}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _NIIS, _sN: _nIIS}), + (DNS_ENTRY_SET, {_aQN: _DES, _sN: _dES}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTrea, _sN: _cTre}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (LAST_ERROR, {_aQN: _LEa, _sN: _lE}), + (SUBNET_IP_PREFIXES_LIST, {_aQN: _IPSpv, _sN: _iPS}), + (SUBNET_IP_PREFIXES_LIST, {_aQN: _IPSpvr, _sN: _iPSp}), + (lambda: schemas.STRING, {_aQN: _FRa, _sN: _fRa}), + (SERVICE_NETWORK_ARN, {_aQN: _SNAe, _sN: _sNAe}), + (RESOURCE_CONFIGURATION_ARN, {_aQN: _RCA, _sN: _rCA}), + (lambda: schemas.STRING, {_aQN: _SRe, _sN: _sRe}), + (PAYER_RESPONSIBILITY_SET, {_aQN: _PRSay, _sN: _pRSa}), + ), +) + +CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT: StaticSchema = ( + 18, + n0, + _CVECNI, + {_sSI: _cCVECNR, _sm: None}, + (_DR, _SIe, _VEI, _CNAon, _CEo, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_SERVICE_ID, 0), + (lambda: schemas.VPC_ENDPOINT_ID, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.VALUE_STRING_LIST, 1), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CVECNO, + {_sSI: _cCVECNRo, _smit: None}, + (_CNo, _CTl), + ( + (lambda: CONNECTION_NOTIFICATION, {_aQN: _CNo, _sN: _cN}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION: StaticOperationSchema = ( + 23, + n0, + _CVECN, + 0, + CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT, + CREATE_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT, + (), +) + +CONNECTION_NOTIFICATION_STATE: StaticSchema = ( + 14, + n0, + _CNS, + 0, + (_Ena, _Dis), + ((-1, {_sV: _Ena}), (-1, {_sV: _Dis})), +) + +CONNECTION_NOTIFICATION_TYPE: StaticSchema = ( + 14, + n0, + _CNT, + 0, + (_Top,), + ((-1, {_sV: _Top}),), +) + +CONNECTION_NOTIFICATION: StaticSchema = ( + 18, + n0, + _CNo, + 0, + (_CNIo, _SIe, _VEI, _CNT, _CNAon, _CEo, _CNS, _SRe), + ( + (lambda: schemas.STRING, {_aQN: _CNIo, _sN: _cNIo}), + (lambda: schemas.STRING, {_aQN: _SIe, _sN: _sIe}), + (lambda: schemas.STRING, {_aQN: _VEI, _sN: _vEI}), + (CONNECTION_NOTIFICATION_TYPE, {_aQN: _CNT, _sN: _cNT}), + (lambda: schemas.STRING, {_aQN: _CNAon, _sN: _cNAo}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _CEo, _sN: _cEo}), + (CONNECTION_NOTIFICATION_STATE, {_aQN: _CNS, _sN: _cNS}), + (lambda: schemas.STRING, {_aQN: _SRe, _sN: _sRe}), + ), +) + +VERIFIED_ACCESS_ENDPOINT_ID: StaticSchema = (3, n0, _VAEI, 0) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_19.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_19.py new file mode 100644 index 000000000..4c7c37b21 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_19.py @@ -0,0 +1,1628 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_Va = "Value" +_va = "value" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_smit = "smithy.api#output" +_TGAI = "TransitGatewayAttachmentId" +_CVEI = "ClientVpnEndpointId" +_av = "available" +_de = "deleting" +_del = "deleted" +_TGI = "TransitGatewayId" +_tGAI = "transitGatewayAttachmentId" +_tGI = "transitGatewayId" +_St = "State" +_st = "state" +_as = "associating" +_ass = "associated" +_di = "disassociating" +_fa = "failed" +_Re = "Region" +_reg = "region" +_O = "Options" +_o = "options" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_SIe = "ServiceId" +_dRr = "dryRun" +_VPC = "VpcPeeringConnection" +_vPC = "vpcPeeringConnection" +_N = "Name" +_nam = "name" +_SN = "ServiceName" +_sNe = "serviceName" +_IA = "IpAddress" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_CGI = "CarrierGatewayId" +_CNA = "CoreNetworkArn" +_cNA = "coreNetworkArn" +_AZv = "AvailabilityZones" +_AZS = "AvailabilityZoneSet" +_aZS = "availabilityZoneSet" +_AZIv = "AvailabilityZoneIds" +_AZIS = "AvailabilityZoneIdSet" +_aZIS = "availabilityZoneIdSet" +_CG = "CustomerGateway" +_VC = "VpnConnection" +_vC = "vpnConnection" +_VG = "VpnGateway" +_vG = "vpnGateway" +_Sou = "Source" +_so = "source" +_PEA = "Phase1EncryptionAlgorithm" +_PEAh = "Phase2EncryptionAlgorithm" +_PIA = "Phase1IntegrityAlgorithm" +_PIAh = "Phase2IntegrityAlgorithm" +_sIe = "serviceId" +_stan = "standard" +_ipv = "ipv4" +_ipv_ = "ipv6" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_ASCI = "ApplicationStatusCheckId" +_sU = "smithy.api#Unit" +_CAe = "CertificateArn" +_smith = "smithy.api#sensitive" +_VGI = "VpnGatewayId" +_Att = "Attachments" +_ASCp = "ApplicationStatusCheck" +_aSC = "applicationStatusCheck" +_CMDEI = "CapacityManagerDataExportId" +_cMDEI = "capacityManagerDataExportId" +_CGa = "CarrierGateway" +_cGa = "carrierGateway" +_Ty = "Type" +_DCB = "DestinationCidrBlock" +_GT = "GatewayType" +_i_________________________________________________________________________ = "ipsec_1" +_ips = "ipsec.1" +_BA = "BgpAsn" +_DNe = "DeviceName" +_BAE = "BgpAsnExtended" +_cAe = "certificateArn" +_dNe = "deviceName" +_bAE = "bgpAsnExtended" +_CGIu = "CustomerGatewayId" +_cGIu = "customerGatewayId" +_ty = "type" +_iApd = "ipAddress" +_bA = "bgpAsn" +_dCB = "destinationCidrBlock" +_PDNr = "PrivateDnsName" +_pDNr = "privateDnsName" +_ASA = "AmazonSideAsn" +_aSA = "amazonSideAsn" +_UP__ = "UP" +_DOWN = "DOWN" +_Rout = "Routes" +_NLBA = "NetworkLoadBalancerArn" +_TTGAI = "TransportTransitGatewayAttachmentId" +_tTGAI = "transportTransitGatewayAttachmentId" +_PRee = "PeerRegion" +_Inter = "Interface" +_Ga = "Gateway" +_GLB = "GatewayLoadBalancer" +_Pen = "Pending" +_Av = "Available" +_Del = "Deleting" +_Dele = "Deleted" +_Fai = "Failed" +_CVESCI = "CreateVpcEndpointServiceConfigurationInput" +_cCVESCR = "com.amazonaws.ec2#CreateVpcEndpointServiceConfigurationRequest" +_ARc = "AcceptanceRequired" +_NLBAe = "NetworkLoadBalancerArns" +_GLBA = "GatewayLoadBalancerArns" +_GLBAa = "GatewayLoadBalancerArn" +_SIAT = "SupportedIpAddressTypes" +_SIATu = "SupportedIpAddressType" +_SRu = "SupportedRegions" +_SRup = "SupportedRegion" +_PRay = "PayerResponsibility" +_SOe = "ServiceOwner" +_DNS = "DnsNameState" +_PVe = "PendingVerification" +_pV = "pendingVerification" +_Ver = "Verified" +_veri = "verified" +_PDNC = "PrivateDnsNameConfiguration" +_SSer = "ServiceState" +_STe = "ServiceType" +_STD = "ServiceTypeDetail" +_sTe = "serviceType" +_STDS = "ServiceTypeDetailSet" +_SCT = "ServiceConnectivityType" +_SRD = "SupportedRegionDetail" +_sSer = "serviceState" +_SRSu = "SupportedRegionSet" +_SCe = "ServiceConfiguration" +_aRc = "acceptanceRequired" +_MVE = "ManagesVpcEndpoints" +_mVE = "managesVpcEndpoints" +_NLBAS = "NetworkLoadBalancerArnSet" +_nLBAS = "networkLoadBalancerArnSet" +_GLBAS = "GatewayLoadBalancerArnSet" +_gLBAS = "gatewayLoadBalancerArnSet" +_SIATS = "SupportedIpAddressTypeSet" +_sIATS = "supportedIpAddressTypeSet" +_BEDN = "BaseEndpointDnsNames" +_BEDNS = "BaseEndpointDnsNameSet" +_bEDNS = "baseEndpointDnsNameSet" +_pDNC = "privateDnsNameConfiguration" +_pRa = "payerResponsibility" +_sRSu = "supportedRegionSet" +_RAE = "RemoteAccessEnabled" +_rAE = "remoteAccessEnabled" +_CVESCO = "CreateVpcEndpointServiceConfigurationOutput" +_cCVESCRo = "com.amazonaws.ec2#CreateVpcEndpointServiceConfigurationResult" +_sCe = "serviceConfiguration" +_CVESCr = "CreateVpcEndpointServiceConfiguration" +_CVPCI = "CreateVpcPeeringConnectionInput" +_cCVPCR = "com.amazonaws.ec2#CreateVpcPeeringConnectionRequest" +_PVI = "PeerVpcId" +_pVI = "peerVpcId" +_POI = "PeerOwnerId" +_pOI = "peerOwnerId" +_CVPCO = "CreateVpcPeeringConnectionOutput" +_cCVPCRo = "com.amazonaws.ec2#CreateVpcPeeringConnectionResult" +_CVPC = "CreateVpcPeeringConnection" +_VCT = "VpnConcentratorType" +_CVCI = "CreateVpnConcentratorInput" +_cCVCR = "com.amazonaws.ec2#CreateVpnConcentratorRequest" +_VCp = "VpnConcentrator" +_VCI = "VpnConcentratorId" +_vCI = "vpnConcentratorId" +_CVCO = "CreateVpnConcentratorOutput" +_cCVCRo = "com.amazonaws.ec2#CreateVpnConcentratorResult" +_vCp = "vpnConcentrator" +_CVC = "CreateVpnConcentrator" +_VTB = "VpnTunnelBandwidth" +_lar = "large" +_TIIV = "TunnelInsideIpVersion" +_IKEVRLV = "IKEVersionsRequestListValue" +_IKEVRL = "IKEVersionsRequestList" +_CWLGA = "CloudWatchLogGroupArn" +_CWLOS = "CloudWatchLogOptionsSpecification" +_LEo = "LogEnabled" +_LGA = "LogGroupArn" +_LOF = "LogOutputFormat" +_BLE = "BgpLogEnabled" +_BLGA = "BgpLogGroupArn" +_BLOF = "BgpLogOutputFormat" +_VTLOS = "VpnTunnelLogOptionsSpecification" +_CWLO = "CloudWatchLogOptions" +_PDHGNRLV = "Phase1DHGroupNumbersRequestListValue" +_PDHGNRL = "Phase1DHGroupNumbersRequestList" +_PEARLV = "Phase1EncryptionAlgorithmsRequestListValue" +_PEARL = "Phase1EncryptionAlgorithmsRequestList" +_PIARLV = "Phase1IntegrityAlgorithmsRequestListValue" +_PIARL = "Phase1IntegrityAlgorithmsRequestList" +_PDHGNRLVh = "Phase2DHGroupNumbersRequestListValue" +_PDHGNRLh = "Phase2DHGroupNumbersRequestList" +_PEARLVh = "Phase2EncryptionAlgorithmsRequestListValue" +_PEARLh = "Phase2EncryptionAlgorithmsRequestList" +_PIARLVh = "Phase2IntegrityAlgorithmsRequestListValue" +_PIARLh = "Phase2IntegrityAlgorithmsRequestList" +_pSK = "preSharedKey" +_VTOS = "VpnTunnelOptionsSpecification" +_TICu = "TunnelInsideCidr" +_TIIC = "TunnelInsideIpv6Cidr" +_PSK = "PreSharedKey" +_PLSh = "Phase1LifetimeSeconds" +_PLSha = "Phase2LifetimeSeconds" +_RMTS = "RekeyMarginTimeSeconds" +_RFP = "RekeyFuzzPercentage" +_RWS = "ReplayWindowSize" +_DPDTS = "DPDTimeoutSeconds" +_DPDTA = "DPDTimeoutAction" +_PEAha = "Phase1EncryptionAlgorithms" +_PEAhas = "Phase2EncryptionAlgorithms" +_PIAha = "Phase1IntegrityAlgorithms" +_PIAhas = "Phase2IntegrityAlgorithms" +_PDHGN = "Phase1DHGroupNumbers" +_PDHGNh = "Phase1DHGroupNumber" +_PDHGNha = "Phase2DHGroupNumbers" +_PDHGNhas = "Phase2DHGroupNumber" +_IKEV = "IKEVersions" +_IKEVe = "IKEVersion" +_SAt = "StartupAction" +_LO = "LogOptions" +_ETLC = "EnableTunnelLifecycleControl" +_VTOSL = "VpnTunnelOptionsSpecificationsList" +_VCOS = "VpnConnectionOptionsSpecification" +_EAna = "EnableAcceleration" +_TO = "TunnelOptions" +_LINC = "LocalIpv4NetworkCidr" +_RINC = "RemoteIpv4NetworkCidr" +_LINCo = "LocalIpv6NetworkCidr" +_RINCe = "RemoteIpv6NetworkCidr" +_OIAT = "OutsideIpAddressType" +_TB = "TunnelBandwidth" +_SRO = "StaticRoutesOnly" +_sRO = "staticRoutesOnly" +_CVCIr = "CreateVpnConnectionInput" +_cCVCRom = "com.amazonaws.ec2#CreateVpnConnectionRequest" +_PSKS = "PreSharedKeyStorage" +_cGC = "customerGatewayConfiguration" +_GAS = "GatewayAssociationState" +_na___ = "not_associated" +_na____ = "not-associated" +_IKEVLV = "IKEVersionsListValue" +_IKEVL = "IKEVersionsList" +_lEo = "logEnabled" +_lGA = "logGroupArn" +_lOF = "logOutputFormat" +_bLE = "bgpLogEnabled" +_bLGA = "bgpLogGroupArn" +_bLOF = "bgpLogOutputFormat" +_VTLO = "VpnTunnelLogOptions" +_cWLO = "cloudWatchLogOptions" +_PDHGNLV = "Phase1DHGroupNumbersListValue" +_PDHGNL = "Phase1DHGroupNumbersList" +_PEALV = "Phase1EncryptionAlgorithmsListValue" +_PEAL = "Phase1EncryptionAlgorithmsList" +_PIALV = "Phase1IntegrityAlgorithmsListValue" +_PIAL = "Phase1IntegrityAlgorithmsList" +_PDHGNLVh = "Phase2DHGroupNumbersListValue" +_PDHGNLh = "Phase2DHGroupNumbersList" +_PEALVh = "Phase2EncryptionAlgorithmsListValue" +_PEALh = "Phase2EncryptionAlgorithmsList" +_PIALVh = "Phase2IntegrityAlgorithmsListValue" +_PIALh = "Phase2IntegrityAlgorithmsList" +_TOu = "TunnelOption" +_OIA = "OutsideIpAddress" +_oIA = "outsideIpAddress" +_tICu = "tunnelInsideCidr" +_tIIC = "tunnelInsideIpv6Cidr" +_pLS = "phase1LifetimeSeconds" +_pLSh = "phase2LifetimeSeconds" +_rMTS = "rekeyMarginTimeSeconds" +_rFP = "rekeyFuzzPercentage" +_rWS = "replayWindowSize" +_DTS = "DpdTimeoutSeconds" +_dTS = "dpdTimeoutSeconds" +_DTA = "DpdTimeoutAction" +_dTA = "dpdTimeoutAction" +_PEAS = "Phase1EncryptionAlgorithmSet" +_pEAS = "phase1EncryptionAlgorithmSet" +_PEASh = "Phase2EncryptionAlgorithmSet" +_pEASh = "phase2EncryptionAlgorithmSet" +_PIASh = "Phase1IntegrityAlgorithmSet" +_pIASh = "phase1IntegrityAlgorithmSet" +_PIASha = "Phase2IntegrityAlgorithmSet" +_pIASha = "phase2IntegrityAlgorithmSet" +_PDHGNS = "Phase1DHGroupNumberSet" +_pDHGNS = "phase1DHGroupNumberSet" +_PDHGNSh = "Phase2DHGroupNumberSet" +_pDHGNSh = "phase2DHGroupNumberSet" +_IVk = "IkeVersions" +_IVS = "IkeVersionSet" +_iVS = "ikeVersionSet" +_sAt = "startupAction" +_lO = "logOptions" +_eTLC = "enableTunnelLifecycleControl" +_TOL = "TunnelOptionsList" +_VCO = "VpnConnectionOptions" +_eAn = "enableAcceleration" +_lINC = "localIpv4NetworkCidr" +_rINC = "remoteIpv4NetworkCidr" +_lINCo = "localIpv6NetworkCidr" +_rINCe = "remoteIpv6NetworkCidr" +_oIAT = "outsideIpAddressType" +_tIIV = "tunnelInsideIpVersion" +_TOS = "TunnelOptionSet" +_tOS = "tunnelOptionSet" +_tB = "tunnelBandwidth" +_VSRS = "VpnStaticRouteSource" +_Stat = "Static" +_VSpn = "VpnState" +_VSR = "VpnStaticRoute" +_VSRL = "VpnStaticRouteList" +_TSe = "TelemetryStatus" +_VTg = "VgwTelemetry" +_ARC = "AcceptedRouteCount" +_aRC = "acceptedRouteCount" +_LSC = "LastStatusChange" +_lSC = "lastStatusChange" +_VTL = "VgwTelemetryList" +_Ca = "Category" +_cat = "category" +_CNAA = "CoreNetworkAttachmentArn" +_cNAA = "coreNetworkAttachmentArn" +_gAS = "gatewayAssociationState" +_rout = "routes" +_vTg = "vgwTelemetry" +_PSKA = "PreSharedKeyArn" +_pSKA = "preSharedKeyArn" +_VCIp = "VpnConnectionId" +_vCIp = "vpnConnectionId" +_CGC = "CustomerGatewayConfiguration" +_vGI = "vpnGatewayId" +_CVCOr = "CreateVpnConnectionOutput" +_cCVCRoma = "com.amazonaws.ec2#CreateVpnConnectionResult" +_CVCr = "CreateVpnConnection" +_CVCRI = "CreateVpnConnectionRouteInput" +_cCVCRR = "com.amazonaws.ec2#CreateVpnConnectionRouteRequest" +_CVCRO = "CreateVpnConnectionRouteOutput" +_CVCR = "CreateVpnConnectionRoute" +_CVGI = "CreateVpnGatewayInput" +_cCVGR = "com.amazonaws.ec2#CreateVpnGatewayRequest" +_VALp = "VpcAttachmentList" +_VAp = "VpcAttachments" +_attac = "attachments" +_CVGO = "CreateVpnGatewayOutput" +_cCVGRo = "com.amazonaws.ec2#CreateVpnGatewayResult" +_CVG = "CreateVpnGateway" +_DASCI = "DeleteApplicationStatusCheckInput" +_cDASCR = "com.amazonaws.ec2#DeleteApplicationStatusCheckRequest" +_DASCO = "DeleteApplicationStatusCheckOutput" +_cDASCRo = "com.amazonaws.ec2#DeleteApplicationStatusCheckResult" +_DASC = "DeleteApplicationStatusCheck" +_DCMDEI = "DeleteCapacityManagerDataExportInput" +_cDCMDER = "com.amazonaws.ec2#DeleteCapacityManagerDataExportRequest" +_DCMDEO = "DeleteCapacityManagerDataExportOutput" +_cDCMDERo = "com.amazonaws.ec2#DeleteCapacityManagerDataExportResult" +_DCMDE = "DeleteCapacityManagerDataExport" +_DCGI = "DeleteCarrierGatewayInput" +_cDCGR = "com.amazonaws.ec2#DeleteCarrierGatewayRequest" +_DCGO = "DeleteCarrierGatewayOutput" +_cDCGRo = "com.amazonaws.ec2#DeleteCarrierGatewayResult" +_DCG = "DeleteCarrierGateway" +_DCVEI = "DeleteClientVpnEndpointInput" +_cDCVER = "com.amazonaws.ec2#DeleteClientVpnEndpointRequest" +_DCVEO = "DeleteClientVpnEndpointOutput" +_cDCVERo = "com.amazonaws.ec2#DeleteClientVpnEndpointResult" +_DCVE = "DeleteClientVpnEndpoint" +_DCVEAPI = "DeleteClientVpnEndpointAuthorizationPolicyInput" +_cDCVEAPR = "com.amazonaws.ec2#DeleteClientVpnEndpointAuthorizationPolicyRequest" +_DCVEAPO = "DeleteClientVpnEndpointAuthorizationPolicyOutput" +_cDCVEAPRo = "com.amazonaws.ec2#DeleteClientVpnEndpointAuthorizationPolicyResult" +_DCVEAP = "DeleteClientVpnEndpointAuthorizationPolicy" + +VPN_GATEWAY_ID: StaticSchema = (3, n0, _VGI, 0) + +GATEWAY_TYPE: StaticSchema = ( + 14, + n0, + _GT, + 0, + (_i_________________________________________________________________________,), + ((-1, {_sV: _ips}),), +) + +CUSTOMER_GATEWAY: StaticSchema = ( + 18, + n0, + _CG, + 0, + (_CAe, _DNe, _Tag, _BAE, _CGIu, _St, _Ty, _IA, _BA), + ( + (lambda: schemas.STRING, {_aQN: _CAe, _sN: _cAe}), + (lambda: schemas.STRING, {_aQN: _DNe, _sN: _dNe}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _BAE, _sN: _bAE}), + (lambda: schemas.STRING, {_aQN: _CGIu, _sN: _cGIu}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _IA, _sN: _iApd}), + (lambda: schemas.STRING, {_aQN: _BA, _sN: _bA}), + ), +) + +CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _CVESCI, + {_sSI: _cCVESCR, _sm: None}, + (_DR, _ARc, _PDNr, _NLBAe, _GLBA, _SIAT, _SRu, _CTl, _TSa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _NLBA}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _GLBAa}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _SIATu}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _SRup}), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CVESCO, + {_sSI: _cCVESCRo, _smit: None}, + (_SCe, _CTl), + ( + (lambda: SERVICE_CONFIGURATION, {_aQN: _SCe, _sN: _sCe}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _CVESCr, + 0, + CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT, + CREATE_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT, + (), +) + +PAYER_RESPONSIBILITY: StaticSchema = (14, n0, _PRay, 0, (_SOe,), ((-1, {_sV: _SOe}),)) + +DNS_NAME_STATE: StaticSchema = ( + 14, + n0, + _DNS, + 0, + (_PVe, _Ver, _Fai), + ((-1, {_sV: _pV}), (-1, {_sV: _veri}), (-1, {_sV: _fa})), +) + +PRIVATE_DNS_NAME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PDNC, + 0, + (_St, _Ty, _Va, _N), + ( + (DNS_NAME_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _Va, _sN: _va}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + ), +) + +SERVICE_STATE: StaticSchema = ( + 14, + n0, + _SSer, + 0, + (_Pen, _Av, _Del, _Dele, _Fai), + ( + (-1, {_sV: _Pen}), + (-1, {_sV: _Av}), + (-1, {_sV: _Del}), + (-1, {_sV: _Dele}), + (-1, {_sV: _Fai}), + ), +) + +SERVICE_TYPE: StaticSchema = ( + 14, + n0, + _STe, + 0, + (_Inter, _Ga, _GLB), + ((-1, {_sV: _Inter}), (-1, {_sV: _Ga}), (-1, {_sV: _GLB})), +) + +SERVICE_TYPE_DETAIL: StaticSchema = ( + 18, + n0, + _STD, + 0, + (_STe,), + ((SERVICE_TYPE, {_aQN: _STe, _sN: _sTe}),), +) + +SERVICE_TYPE_DETAIL_SET: StaticSchema = ( + 16, + n0, + _STDS, + 0, + (_me,), + ((SERVICE_TYPE_DETAIL, {_sN: _i}),), +) + +SERVICE_CONNECTIVITY_TYPE: StaticSchema = ( + 14, + n0, + _SCT, + 0, + (_ipv, _ipv_), + ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_})), +) + +SUPPORTED_IP_ADDRESS_TYPES: StaticSchema = ( + 16, + n0, + _SIAT, + 0, + (_me,), + ((SERVICE_CONNECTIVITY_TYPE, {_sN: _i}),), +) + +SUPPORTED_REGION_DETAIL: StaticSchema = ( + 18, + n0, + _SRD, + 0, + (_Re, _SSer), + ( + (lambda: schemas.STRING, {_aQN: _Re, _sN: _reg}), + (lambda: schemas.STRING, {_aQN: _SSer, _sN: _sSer}), + ), +) + +SUPPORTED_REGION_SET: StaticSchema = ( + 16, + n0, + _SRSu, + 0, + (_me,), + ((SUPPORTED_REGION_DETAIL, {_sN: _i}),), +) + +SERVICE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCe, + 0, + ( + _STe, + _SIe, + _SN, + _SSer, + _AZIv, + _AZv, + _ARc, + _MVE, + _NLBAe, + _GLBA, + _SIAT, + _BEDN, + _PDNr, + _PDNC, + _PRay, + _Tag, + _SRu, + _RAE, + ), + ( + (SERVICE_TYPE_DETAIL_SET, {_aQN: _STe, _sN: _sTe}), + (lambda: schemas.STRING, {_aQN: _SIe, _sN: _sIe}), + (lambda: schemas.STRING, {_aQN: _SN, _sN: _sNe}), + (SERVICE_STATE, {_aQN: _SSer, _sN: _sSer}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _AZIS, _sN: _aZIS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _AZS, _sN: _aZS}), + (lambda: schemas.BOOLEAN, {_aQN: _ARc, _sN: _aRc}), + (lambda: schemas.BOOLEAN, {_aQN: _MVE, _sN: _mVE}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _NLBAS, _sN: _nLBAS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _GLBAS, _sN: _gLBAS}), + (SUPPORTED_IP_ADDRESS_TYPES, {_aQN: _SIATS, _sN: _sIATS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _BEDNS, _sN: _bEDNS}), + (lambda: schemas.STRING, {_aQN: _PDNr, _sN: _pDNr}), + (PRIVATE_DNS_NAME_CONFIGURATION, {_aQN: _PDNC, _sN: _pDNC}), + (PAYER_RESPONSIBILITY, {_aQN: _PRay, _sN: _pRa}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (SUPPORTED_REGION_SET, {_aQN: _SRSu, _sN: _sRSu}), + (lambda: schemas.BOOLEAN, {_aQN: _RAE, _sN: _rAE}), + ), +) + +CREATE_VPC_PEERING_CONNECTION_INPUT: StaticSchema = ( + 18, + n0, + _CVPCI, + {_sSI: _cCVPCR, _sm: None}, + (_PRee, _TSa, _DR, _VI, _PVI, _POI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + (lambda: schemas.STRING, {_aQN: _PVI, _sN: _pVI}), + (lambda: schemas.STRING, {_aQN: _POI, _sN: _pOI}), + ), +) + +CREATE_VPC_PEERING_CONNECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CVPCO, + {_sSI: _cCVPCRo, _smit: None}, + (_VPC,), + ((lambda: schemas.VPC_PEERING_CONNECTION, {_aQN: _VPC, _sN: _vPC}),), +) + +CREATE_VPC_PEERING_CONNECTION: StaticOperationSchema = ( + 23, + n0, + _CVPC, + 0, + CREATE_VPC_PEERING_CONNECTION_INPUT, + CREATE_VPC_PEERING_CONNECTION_OUTPUT, + (), +) + +VPN_CONCENTRATOR_TYPE: StaticSchema = ( + 14, + n0, + _VCT, + 0, + (_i_________________________________________________________________________,), + ((-1, {_sV: _ips}),), +) + +CREATE_VPN_CONCENTRATOR_INPUT: StaticSchema = ( + 18, + n0, + _CVCI, + {_sSI: _cCVCR, _sm: None}, + (_Ty, _TGI, _TSa, _DR), + ( + (VPN_CONCENTRATOR_TYPE, 1), + (lambda: schemas.TRANSIT_GATEWAY_ID, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_VPN_CONCENTRATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _CVCO, + {_sSI: _cCVCRo, _smit: None}, + (_VCp,), + ((lambda: VPN_CONCENTRATOR, {_aQN: _VCp, _sN: _vCp}),), +) + +CREATE_VPN_CONCENTRATOR: StaticOperationSchema = ( + 23, + n0, + _CVC, + 0, + CREATE_VPN_CONCENTRATOR_INPUT, + CREATE_VPN_CONCENTRATOR_OUTPUT, + (), +) + +VPN_CONCENTRATOR: StaticSchema = ( + 18, + n0, + _VCp, + 0, + (_VCI, _St, _TGI, _TGAI, _Ty, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _VCI, _sN: _vCI}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.STRING, {_aQN: _TGAI, _sN: _tGAI}), + (lambda: schemas.STRING, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CUSTOMER_GATEWAY_ID: StaticSchema = (3, n0, _CGIu, 0) + +VPN_TUNNEL_BANDWIDTH: StaticSchema = ( + 14, + n0, + _VTB, + 0, + (_stan, _lar), + ((-1, {_sV: _stan}), (-1, {_sV: _lar})), +) + +TUNNEL_INSIDE_IP_VERSION: StaticSchema = ( + 14, + n0, + _TIIV, + 0, + (_ipv, _ipv_), + ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_})), +) + +IKE_VERSIONS_REQUEST_LIST_VALUE: StaticSchema = ( + 18, + n0, + _IKEVRLV, + 0, + (_Va,), + ((lambda: schemas.STRING, 0),), +) + +IKE_VERSIONS_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _IKEVRL, + 0, + (_me,), + ((IKE_VERSIONS_REQUEST_LIST_VALUE, {_sN: _i}),), +) + +CLOUD_WATCH_LOG_GROUP_ARN: StaticSchema = (3, n0, _CWLGA, 0) + +CLOUD_WATCH_LOG_OPTIONS_SPECIFICATION: StaticSchema = ( + 18, + n0, + _CWLOS, + 0, + (_LEo, _LGA, _LOF, _BLE, _BLGA, _BLOF), + ( + (lambda: schemas.BOOLEAN, 0), + (CLOUD_WATCH_LOG_GROUP_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (CLOUD_WATCH_LOG_GROUP_ARN, 0), + (lambda: schemas.STRING, 0), + ), +) + +VPN_TUNNEL_LOG_OPTIONS_SPECIFICATION: StaticSchema = ( + 18, + n0, + _VTLOS, + 0, + (_CWLO,), + ((CLOUD_WATCH_LOG_OPTIONS_SPECIFICATION, 0),), +) + +PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PDHGNRLV, + 0, + (_Va,), + ((lambda: schemas.INTEGER, 0),), +) + +PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _PDHGNRL, + 0, + (_me,), + ((PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE, {_sN: _i}),), +) + +PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PEARLV, + 0, + (_Va,), + ((lambda: schemas.STRING, 0),), +) + +PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _PEARL, + 0, + (_me,), + ((PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE, {_sN: _i}),), +) + +PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PIARLV, + 0, + (_Va,), + ((lambda: schemas.STRING, 0),), +) + +PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _PIARL, + 0, + (_me,), + ((PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE, {_sN: _i}),), +) + +PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PDHGNRLVh, + 0, + (_Va,), + ((lambda: schemas.INTEGER, 0),), +) + +PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _PDHGNRLh, + 0, + (_me,), + ((PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST_VALUE, {_sN: _i}),), +) + +PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PEARLVh, + 0, + (_Va,), + ((lambda: schemas.STRING, 0),), +) + +PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _PEARLh, + 0, + (_me,), + ((PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST_VALUE, {_sN: _i}),), +) + +PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PIARLVh, + 0, + (_Va,), + ((lambda: schemas.STRING, 0),), +) + +PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _PIARLh, + 0, + (_me,), + ((PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST_VALUE, {_sN: _i}),), +) + +PRE_SHARED_KEY: StaticSchema = (3, n0, _pSK, 4) + +VPN_TUNNEL_OPTIONS_SPECIFICATION: StaticSchema = ( + 18, + n0, + _VTOS, + 0, + ( + _TICu, + _TIIC, + _PSK, + _PLSh, + _PLSha, + _RMTS, + _RFP, + _RWS, + _DPDTS, + _DPDTA, + _PEAha, + _PEAhas, + _PIAha, + _PIAhas, + _PDHGN, + _PDHGNha, + _IKEV, + _SAt, + _LO, + _ETLC, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (PRE_SHARED_KEY, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST, {_sN: _PEA}), + (PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST, {_sN: _PEAh}), + (PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST, {_sN: _PIA}), + (PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST, {_sN: _PIAh}), + (PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST, {_sN: _PDHGNh}), + (PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST, {_sN: _PDHGNhas}), + (IKE_VERSIONS_REQUEST_LIST, {_sN: _IKEVe}), + (lambda: schemas.STRING, 0), + (VPN_TUNNEL_LOG_OPTIONS_SPECIFICATION, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +VPN_TUNNEL_OPTIONS_SPECIFICATIONS_LIST: StaticSchema = ( + 16, + n0, + _VTOSL, + 0, + (_me,), + ((VPN_TUNNEL_OPTIONS_SPECIFICATION, 0),), +) + +VPN_CONNECTION_OPTIONS_SPECIFICATION: StaticSchema = ( + 18, + n0, + _VCOS, + 0, + (_EAna, _TIIV, _TO, _LINC, _RINC, _LINCo, _RINCe, _OIAT, _TTGAI, _TB, _SRO), + ( + (lambda: schemas.BOOLEAN, 0), + (TUNNEL_INSIDE_IP_VERSION, 0), + (VPN_TUNNEL_OPTIONS_SPECIFICATIONS_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (VPN_TUNNEL_BANDWIDTH, 0), + (lambda: schemas.BOOLEAN, {_aQN: _SRO, _sN: _sRO}), + ), +) + +VPN_CONCENTRATOR_ID: StaticSchema = (3, n0, _VCI, 0) + +CREATE_VPN_CONNECTION_INPUT: StaticSchema = ( + 18, + n0, + _CVCIr, + {_sSI: _cCVCRom, _sm: None}, + (_CGIu, _Ty, _VGI, _TGI, _VCI, _TSa, _PSKS, _DR, _O), + ( + (CUSTOMER_GATEWAY_ID, 1), + (lambda: schemas.STRING, 1), + (VPN_GATEWAY_ID, 0), + (lambda: schemas.TRANSIT_GATEWAY_ID, 0), + (VPN_CONCENTRATOR_ID, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (VPN_CONNECTION_OPTIONS_SPECIFICATION, {_aQN: _O, _sN: _o}), + ), +) + +CREATE_VPN_CONNECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CVCOr, + {_sSI: _cCVCRoma, _smit: None}, + (_VC,), + ((lambda: VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), +) + +CREATE_VPN_CONNECTION: StaticOperationSchema = ( + 23, + n0, + _CVCr, + 0, + CREATE_VPN_CONNECTION_INPUT, + CREATE_VPN_CONNECTION_OUTPUT, + (), +) + +CUSTOMER_GATEWAY_CONFIGURATION: StaticSchema = (3, n0, _cGC, 4) + +GATEWAY_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _GAS, + 0, + (_ass, _na___, _as, _di), + ((-1, {_sV: _ass}), (-1, {_sV: _na____}), (-1, {_sV: _as}), (-1, {_sV: _di})), +) + +IKE_VERSIONS_LIST_VALUE: StaticSchema = ( + 18, + n0, + _IKEVLV, + 0, + (_Va,), + ((lambda: schemas.STRING, {_aQN: _Va, _sN: _va}),), +) + +IKE_VERSIONS_LIST: StaticSchema = ( + 16, + n0, + _IKEVL, + 0, + (_me,), + ((IKE_VERSIONS_LIST_VALUE, {_sN: _i}),), +) + +CLOUD_WATCH_LOG_OPTIONS: StaticSchema = ( + 18, + n0, + _CWLO, + 0, + (_LEo, _LGA, _LOF, _BLE, _BLGA, _BLOF), + ( + (lambda: schemas.BOOLEAN, {_aQN: _LEo, _sN: _lEo}), + (lambda: schemas.STRING, {_aQN: _LGA, _sN: _lGA}), + (lambda: schemas.STRING, {_aQN: _LOF, _sN: _lOF}), + (lambda: schemas.BOOLEAN, {_aQN: _BLE, _sN: _bLE}), + (lambda: schemas.STRING, {_aQN: _BLGA, _sN: _bLGA}), + (lambda: schemas.STRING, {_aQN: _BLOF, _sN: _bLOF}), + ), +) + +VPN_TUNNEL_LOG_OPTIONS: StaticSchema = ( + 18, + n0, + _VTLO, + 0, + (_CWLO,), + ((CLOUD_WATCH_LOG_OPTIONS, {_aQN: _CWLO, _sN: _cWLO}),), +) + +PHASE1_DH_GROUP_NUMBERS_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PDHGNLV, + 0, + (_Va,), + ((lambda: schemas.INTEGER, {_aQN: _Va, _sN: _va}),), +) + +PHASE1_DH_GROUP_NUMBERS_LIST: StaticSchema = ( + 16, + n0, + _PDHGNL, + 0, + (_me,), + ((PHASE1_DH_GROUP_NUMBERS_LIST_VALUE, {_sN: _i}),), +) + +PHASE1_ENCRYPTION_ALGORITHMS_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PEALV, + 0, + (_Va,), + ((lambda: schemas.STRING, {_aQN: _Va, _sN: _va}),), +) + +PHASE1_ENCRYPTION_ALGORITHMS_LIST: StaticSchema = ( + 16, + n0, + _PEAL, + 0, + (_me,), + ((PHASE1_ENCRYPTION_ALGORITHMS_LIST_VALUE, {_sN: _i}),), +) + +PHASE1_INTEGRITY_ALGORITHMS_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PIALV, + 0, + (_Va,), + ((lambda: schemas.STRING, {_aQN: _Va, _sN: _va}),), +) + +PHASE1_INTEGRITY_ALGORITHMS_LIST: StaticSchema = ( + 16, + n0, + _PIAL, + 0, + (_me,), + ((PHASE1_INTEGRITY_ALGORITHMS_LIST_VALUE, {_sN: _i}),), +) + +PHASE2_DH_GROUP_NUMBERS_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PDHGNLVh, + 0, + (_Va,), + ((lambda: schemas.INTEGER, {_aQN: _Va, _sN: _va}),), +) + +PHASE2_DH_GROUP_NUMBERS_LIST: StaticSchema = ( + 16, + n0, + _PDHGNLh, + 0, + (_me,), + ((PHASE2_DH_GROUP_NUMBERS_LIST_VALUE, {_sN: _i}),), +) + +PHASE2_ENCRYPTION_ALGORITHMS_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PEALVh, + 0, + (_Va,), + ((lambda: schemas.STRING, {_aQN: _Va, _sN: _va}),), +) + +PHASE2_ENCRYPTION_ALGORITHMS_LIST: StaticSchema = ( + 16, + n0, + _PEALh, + 0, + (_me,), + ((PHASE2_ENCRYPTION_ALGORITHMS_LIST_VALUE, {_sN: _i}),), +) + +PHASE2_INTEGRITY_ALGORITHMS_LIST_VALUE: StaticSchema = ( + 18, + n0, + _PIALVh, + 0, + (_Va,), + ((lambda: schemas.STRING, {_aQN: _Va, _sN: _va}),), +) + +PHASE2_INTEGRITY_ALGORITHMS_LIST: StaticSchema = ( + 16, + n0, + _PIALh, + 0, + (_me,), + ((PHASE2_INTEGRITY_ALGORITHMS_LIST_VALUE, {_sN: _i}),), +) + +TUNNEL_OPTION: StaticSchema = ( + 18, + n0, + _TOu, + 0, + ( + _OIA, + _TICu, + _TIIC, + _PSK, + _PLSh, + _PLSha, + _RMTS, + _RFP, + _RWS, + _DTS, + _DTA, + _PEAha, + _PEAhas, + _PIAha, + _PIAhas, + _PDHGN, + _PDHGNha, + _IVk, + _SAt, + _LO, + _ETLC, + ), + ( + (lambda: schemas.STRING, {_aQN: _OIA, _sN: _oIA}), + (lambda: schemas.STRING, {_aQN: _TICu, _sN: _tICu}), + (lambda: schemas.STRING, {_aQN: _TIIC, _sN: _tIIC}), + (PRE_SHARED_KEY, {_aQN: _PSK, _sN: _pSK}), + (lambda: schemas.INTEGER, {_aQN: _PLSh, _sN: _pLS}), + (lambda: schemas.INTEGER, {_aQN: _PLSha, _sN: _pLSh}), + (lambda: schemas.INTEGER, {_aQN: _RMTS, _sN: _rMTS}), + (lambda: schemas.INTEGER, {_aQN: _RFP, _sN: _rFP}), + (lambda: schemas.INTEGER, {_aQN: _RWS, _sN: _rWS}), + (lambda: schemas.INTEGER, {_aQN: _DTS, _sN: _dTS}), + (lambda: schemas.STRING, {_aQN: _DTA, _sN: _dTA}), + (PHASE1_ENCRYPTION_ALGORITHMS_LIST, {_aQN: _PEAS, _sN: _pEAS}), + (PHASE2_ENCRYPTION_ALGORITHMS_LIST, {_aQN: _PEASh, _sN: _pEASh}), + (PHASE1_INTEGRITY_ALGORITHMS_LIST, {_aQN: _PIASh, _sN: _pIASh}), + (PHASE2_INTEGRITY_ALGORITHMS_LIST, {_aQN: _PIASha, _sN: _pIASha}), + (PHASE1_DH_GROUP_NUMBERS_LIST, {_aQN: _PDHGNS, _sN: _pDHGNS}), + (PHASE2_DH_GROUP_NUMBERS_LIST, {_aQN: _PDHGNSh, _sN: _pDHGNSh}), + (IKE_VERSIONS_LIST, {_aQN: _IVS, _sN: _iVS}), + (lambda: schemas.STRING, {_aQN: _SAt, _sN: _sAt}), + (VPN_TUNNEL_LOG_OPTIONS, {_aQN: _LO, _sN: _lO}), + (lambda: schemas.BOOLEAN, {_aQN: _ETLC, _sN: _eTLC}), + ), +) + +TUNNEL_OPTIONS_LIST: StaticSchema = ( + 16, + n0, + _TOL, + 0, + (_me,), + ((TUNNEL_OPTION, {_sN: _i}),), +) + +VPN_CONNECTION_OPTIONS: StaticSchema = ( + 18, + n0, + _VCO, + 0, + (_EAna, _SRO, _LINC, _RINC, _LINCo, _RINCe, _OIAT, _TTGAI, _TIIV, _TO, _TB), + ( + (lambda: schemas.BOOLEAN, {_aQN: _EAna, _sN: _eAn}), + (lambda: schemas.BOOLEAN, {_aQN: _SRO, _sN: _sRO}), + (lambda: schemas.STRING, {_aQN: _LINC, _sN: _lINC}), + (lambda: schemas.STRING, {_aQN: _RINC, _sN: _rINC}), + (lambda: schemas.STRING, {_aQN: _LINCo, _sN: _lINCo}), + (lambda: schemas.STRING, {_aQN: _RINCe, _sN: _rINCe}), + (lambda: schemas.STRING, {_aQN: _OIAT, _sN: _oIAT}), + (lambda: schemas.STRING, {_aQN: _TTGAI, _sN: _tTGAI}), + (TUNNEL_INSIDE_IP_VERSION, {_aQN: _TIIV, _sN: _tIIV}), + (TUNNEL_OPTIONS_LIST, {_aQN: _TOS, _sN: _tOS}), + (VPN_TUNNEL_BANDWIDTH, {_aQN: _TB, _sN: _tB}), + ), +) + +VPN_STATIC_ROUTE_SOURCE: StaticSchema = ( + 14, + n0, + _VSRS, + 0, + (_Stat,), + ((-1, {_sV: _Stat}),), +) + +VPN_STATE: StaticSchema = ( + 14, + n0, + _VSpn, + 0, + (_p, _av, _de, _del), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), +) + +VPN_STATIC_ROUTE: StaticSchema = ( + 18, + n0, + _VSR, + 0, + (_DCB, _Sou, _St), + ( + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (VPN_STATIC_ROUTE_SOURCE, {_aQN: _Sou, _sN: _so}), + (VPN_STATE, {_aQN: _St, _sN: _st}), + ), +) + +VPN_STATIC_ROUTE_LIST: StaticSchema = ( + 16, + n0, + _VSRL, + 0, + (_me,), + ((VPN_STATIC_ROUTE, {_sN: _i}),), +) + +TELEMETRY_STATUS: StaticSchema = ( + 14, + n0, + _TSe, + 0, + (_UP__, _DOWN), + ((-1, {_sV: _UP__}), (-1, {_sV: _DOWN})), +) + +VGW_TELEMETRY: StaticSchema = ( + 18, + n0, + _VTg, + 0, + (_ARC, _LSC, _OIA, _Sta, _SMt, _CAe), + ( + (lambda: schemas.INTEGER, {_aQN: _ARC, _sN: _aRC}), + (lambda: schemas.DATE_TIME, {_aQN: _LSC, _sN: _lSC}), + (lambda: schemas.STRING, {_aQN: _OIA, _sN: _oIA}), + (TELEMETRY_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.STRING, {_aQN: _CAe, _sN: _cAe}), + ), +) + +VGW_TELEMETRY_LIST: StaticSchema = ( + 16, + n0, + _VTL, + 0, + (_me,), + ((VGW_TELEMETRY, {_sN: _i}),), +) + +VPN_CONNECTION: StaticSchema = ( + 18, + n0, + _VC, + 0, + ( + _Ca, + _TGI, + _VCI, + _CNA, + _CNAA, + _GAS, + _O, + _Rout, + _Tag, + _VTg, + _PSKA, + _VCIp, + _St, + _CGC, + _Ty, + _CGIu, + _VGI, + ), + ( + (lambda: schemas.STRING, {_aQN: _Ca, _sN: _cat}), + (lambda: schemas.STRING, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.STRING, {_aQN: _VCI, _sN: _vCI}), + (lambda: schemas.STRING, {_aQN: _CNA, _sN: _cNA}), + (lambda: schemas.STRING, {_aQN: _CNAA, _sN: _cNAA}), + (GATEWAY_ASSOCIATION_STATE, {_aQN: _GAS, _sN: _gAS}), + (VPN_CONNECTION_OPTIONS, {_aQN: _O, _sN: _o}), + (VPN_STATIC_ROUTE_LIST, {_aQN: _Rout, _sN: _rout}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (VGW_TELEMETRY_LIST, {_aQN: _VTg, _sN: _vTg}), + (lambda: schemas.STRING, {_aQN: _PSKA, _sN: _pSKA}), + (lambda: schemas.STRING, {_aQN: _VCIp, _sN: _vCIp}), + (VPN_STATE, {_aQN: _St, _sN: _st}), + (CUSTOMER_GATEWAY_CONFIGURATION, {_aQN: _CGC, _sN: _cGC}), + (GATEWAY_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _CGIu, _sN: _cGIu}), + (lambda: schemas.STRING, {_aQN: _VGI, _sN: _vGI}), + ), +) + +VPN_CONNECTION_ID: StaticSchema = (3, n0, _VCIp, 0) + +CREATE_VPN_CONNECTION_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _CVCRI, + {_sSI: _cCVCRR, _sm: None}, + (_DCB, _VCIp), + ((lambda: schemas.STRING, 1), (VPN_CONNECTION_ID, 1)), +) + +CREATE_VPN_CONNECTION_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _CVCRO, + {_sSI: _sU, _smit: None}, +) + +CREATE_VPN_CONNECTION_ROUTE: StaticOperationSchema = ( + 23, + n0, + _CVCR, + 0, + CREATE_VPN_CONNECTION_ROUTE_INPUT, + CREATE_VPN_CONNECTION_ROUTE_OUTPUT, + (), +) + +CREATE_VPN_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _CVGI, + {_sSI: _cCVGR, _sm: None}, + (_AZ, _Ty, _TSa, _ASA, _DR), + ( + (lambda: schemas.STRING, 0), + (GATEWAY_TYPE, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.LONG, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_VPN_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _CVGO, + {_sSI: _cCVGRo, _smit: None}, + (_VG,), + ((lambda: VPN_GATEWAY, {_aQN: _VG, _sN: _vG}),), +) + +CREATE_VPN_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _CVG, + 0, + CREATE_VPN_GATEWAY_INPUT, + CREATE_VPN_GATEWAY_OUTPUT, + (), +) + +VPC_ATTACHMENT_LIST: StaticSchema = ( + 16, + n0, + _VALp, + 0, + (_me,), + ((lambda: schemas.VPC_ATTACHMENT, {_sN: _i}),), +) + +VPN_GATEWAY: StaticSchema = ( + 18, + n0, + _VG, + 0, + (_ASA, _Tag, _VGI, _St, _Ty, _AZ, _VAp), + ( + (lambda: schemas.LONG, {_aQN: _ASA, _sN: _aSA}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _VGI, _sN: _vGI}), + (VPN_STATE, {_aQN: _St, _sN: _st}), + (GATEWAY_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (VPC_ATTACHMENT_LIST, {_aQN: _Att, _sN: _attac}), + ), +) + +DELETE_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( + 18, + n0, + _DASCI, + {_sSI: _cDASCR, _sm: None}, + (_ASCI, _CTl, _DR), + ( + (lambda: schemas.APPLICATION_STATUS_CHECK_ID, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( + 18, + n0, + _DASCO, + {_sSI: _cDASCRo, _smit: None}, + (_ASCp,), + ( + ( + lambda: schemas.APPLICATION_STATUS_CHECK_RESPONSE_OBJECT, + {_aQN: _ASCp, _sN: _aSC}, + ), + ), +) + +DELETE_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( + 23, + n0, + _DASC, + 0, + DELETE_APPLICATION_STATUS_CHECK_INPUT, + DELETE_APPLICATION_STATUS_CHECK_OUTPUT, + (), +) + +DELETE_CAPACITY_MANAGER_DATA_EXPORT_INPUT: StaticSchema = ( + 18, + n0, + _DCMDEI, + {_sSI: _cDCMDER, _sm: None}, + (_CMDEI, _DR), + ( + (lambda: schemas.CAPACITY_MANAGER_DATA_EXPORT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _DCMDEO, + {_sSI: _cDCMDERo, _smit: None}, + (_CMDEI,), + ((lambda: schemas.CAPACITY_MANAGER_DATA_EXPORT_ID, {_aQN: _CMDEI, _sN: _cMDEI}),), +) + +DELETE_CAPACITY_MANAGER_DATA_EXPORT: StaticOperationSchema = ( + 23, + n0, + _DCMDE, + 0, + DELETE_CAPACITY_MANAGER_DATA_EXPORT_INPUT, + DELETE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT, + (), +) + +DELETE_CARRIER_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DCGI, + {_sSI: _cDCGR, _sm: None}, + (_CGI, _DR), + ((lambda: schemas.CARRIER_GATEWAY_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_CARRIER_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _DCGO, + {_sSI: _cDCGRo, _smit: None}, + (_CGa,), + ((lambda: schemas.CARRIER_GATEWAY, {_aQN: _CGa, _sN: _cGa}),), +) + +DELETE_CARRIER_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DCG, + 0, + DELETE_CARRIER_GATEWAY_INPUT, + DELETE_CARRIER_GATEWAY_OUTPUT, + (), +) + +DELETE_CLIENT_VPN_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DCVEI, + {_sSI: _cDCVER, _sm: None}, + (_CVEI, _DR), + ((lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_CLIENT_VPN_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DCVEO, + {_sSI: _cDCVERo, _smit: None}, + (_Sta,), + ((lambda: schemas.CLIENT_VPN_ENDPOINT_STATUS, {_aQN: _Sta, _sN: _sta}),), +) + +DELETE_CLIENT_VPN_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DCVE, + 0, + DELETE_CLIENT_VPN_ENDPOINT_INPUT, + DELETE_CLIENT_VPN_ENDPOINT_OUTPUT, + (), +) + +DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DCVEAPI, + {_sSI: _cDCVEAPR, _sm: None}, + (_CVEI, _DR), + ((lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DCVEAPO, + {_sSI: _cDCVEAPRo, _smit: None}, + (_Sta,), + ( + ( + lambda: schemas.CLIENT_VPN_AUTHORIZATION_POLICY_STATUS, + {_aQN: _Sta, _sN: _sta}, + ), + ), +) + +DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY: StaticOperationSchema = ( + 23, + n0, + _DCVEAP, + 0, + DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT, + DELETE_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_2.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_2.py new file mode 100644 index 000000000..1eedd7011 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_2.py @@ -0,0 +1,1774 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_ip_ = "ipam_pool" +_ip__ = "ipam-pool" +_su = "subnet" +_vp = "vpc" +_Ke = "Key" +_Va = "Value" +_va = "value" +_TS = "TagSpecification" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_Ad = "Address" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_PI = "PublicIp" +_pI = "publicIp" +_AI = "AllocationId" +_aI = "allocationId" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_R = "Return" +_r = "return" +_CVEI = "ClientVpnEndpointId" +_av = "available" +_St = "State" +_st = "state" +_as = "associating" +_ass = "associated" +_di = "disassociating" +_dis = "disassociated" +_fa = "failed" +_SIu = "SubnetId" +_RIe = "ResourceId" +_rI = "resourceId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_SIe = "ServiceId" +_dRr = "dryRun" +_VPCI = "VpcPeeringConnectionId" +_vPCI = "vpcPeeringConnectionId" +_Ci = "Cidr" +_ci = "cidr" +_Id = "Id" +_id = "id" +_Ar = "Arn" +_ar = "arn" +_N = "Name" +_nam = "name" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_EOIGI = "EgressOnlyInternetGatewayId" +_II = "InstanceId" +_iI = "instanceId" +_NGI = "NatGatewayId" +_nGI = "natGatewayId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_CGI = "CarrierGatewayId" +_SGI = "SecurityGroupId" +_AS = "AddressSet" +_AV = "AttributeValue" +_ena = "enabled" +_IT = "InstanceType" +_iT = "instanceType" +_PTr = "PrincipalType" +_pT = "principalType" +_Pri = "Principal" +_prin = "principal" +_SPI = "ServicePermissionId" +_sPI = "servicePermissionId" +_sIe = "serviceId" +_Des = "Description" +_AIs = "AssociationId" +_aIs = "associationId" +_Do = "Domain" +_dom = "domain" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_PIP = "PublicIpv4Pool" +_pIP = "publicIpv4Pool" +_NBG = "NetworkBorderGroup" +_nBG = "networkBorderGroup" +_COI = "CustomerOwnedIp" +_cOI = "customerOwnedIp" +_COIP = "CustomerOwnedIpv4Pool" +_cOIP = "customerOwnedIpv4Pool" +_CI = "CarrierIp" +_cI = "carrierIp" +_Rea = "Reason" +_rea = "reason" +_AL = "AddressList" +_AMR = "AddressMaxResults" +_ATL = "AddressTransferList" +_ABCI = "AdvertiseByoipCidrInput" +_cABCR = "com.amazonaws.ec2#AdvertiseByoipCidrRequest" +_Asn = "Asn" +_AAS = "AsnAssociationState" +_fd = "failed_disassociation" +_fd_ = "failed-disassociation" +_fa_ = "failed_association" +_fa__ = "failed-association" +_pd = "pending_disassociation" +_pd_ = "pending-disassociation" +_pa__ = "pending_association" +_pa___ = "pending-association" +_AAs = "AsnAssociation" +_asn = "asn" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_AASs = "AsnAssociationSet" +_IPI = "IpamPoolId" +_BCS = "ByoipCidrState" +_adv = "advertised" +_dep = "deprovisioned" +_fd__ = "failed_deprovision" +_fd___ = "failed-deprovision" +_fp = "failed_provision" +_fp_ = "failed-provision" +_pa____ = "pending_advertising" +_pa_____ = "pending-advertising" +_pd__ = "pending_deprovision" +_pd___ = "pending-deprovision" +_pp = "pending_provision" +_pp_ = "pending-provision" +_pw = "pending_withdrawal" +_pw_ = "pending-withdrawal" +_prov = "provisioned" +_pnpa = "provisioned_not_publicly_advertisable" +_pnpa_ = "provisioned-not-publicly-advertisable" +_BC = "ByoipCidr" +_desc = "description" +_AAsn = "AsnAssociations" +_aAS = "asnAssociationSet" +_ATdv = "AdvertisementType" +_aTd = "advertisementType" +_PIo = "PoolId" +_pIo = "poolId" +_iPI = "ipamPoolId" +_ABCO = "AdvertiseByoipCidrOutput" +_cABCRo = "com.amazonaws.ec2#AdvertiseByoipCidrResult" +_bC = "byoipCidr" +_ABC = "AdvertiseByoipCidr" +_Af = "Affinity" +_def = "default" +_ho = "host" +_AAI = "AllocateAddressInput" +_cAAR = "com.amazonaws.ec2#AllocateAddressRequest" +_AAO = "AllocateAddressOutput" +_cAARo = "com.amazonaws.ec2#AllocateAddressResult" +_AAl = "AllocateAddress" +_AIss = "AssetId" +_AIL = "AssetIdList" +_APu = "AutoPlacement" +_on = "on" +_of = "off" +_AZN = "AvailabilityZoneName" +_ASS = "AmdSevSnp" +_HCOR = "HostCpuOptionsRequest" +_HM = "HostMaintenance" +_HR = "HostRecovery" +_AHI = "AllocateHostsInput" +_cAHR = "com.amazonaws.ec2#AllocateHostsRequest" +_IF = "InstanceFamily" +_OA = "OutpostArn" +_AIsse = "AssetIds" +_CO = "CpuOptions" +_aP = "autoPlacement" +_CTl = "ClientToken" +_cTl = "clientToken" +_Q = "Quantity" +_q = "quantity" +_RHIL = "ResponseHostIdList" +_AHO = "AllocateHostsOutput" +_cAHRo = "com.amazonaws.ec2#AllocateHostsResult" +_HI = "HostIds" +_HIS = "HostIdSet" +_hIS = "hostIdSet" +_AH = "AllocateHosts" +_IPAAC = "IpamPoolAllocationAllowedCidrs" +_IPADC = "IpamPoolAllocationDisallowedCidrs" +_AIPCI = "AllocateIpamPoolCidrInput" +_cAIPCR = "com.amazonaws.ec2#AllocateIpamPoolCidrRequest" +_NL = "NetmaskLength" +_sT = "smithy.api#idempotencyToken" +_PNC = "PreviewNextCidr" +_ACl = "AllowedCidrs" +_ACll = "AllowedCidr" +_DCi = "DisallowedCidrs" +_DCis = "DisallowedCidr" +_IPAI = "IpamPoolAllocationId" +_IPART = "IpamPoolAllocationResourceType" +_epip = "ec2_public_ipv4_pool" +_epip_ = "ec2-public-ipv4-pool" +_cu = "custom" +_eip = "eip" +_ail = "anycast_ip_list" +_ail_ = "anycast-ip-list" +_IPA = "IpamPoolAllocation" +_iPAI = "ipamPoolAllocationId" +_RR = "ResourceRegion" +_rR = "resourceRegion" +_ROe = "ResourceOwner" +_rOe = "resourceOwner" +_AIPCO = "AllocateIpamPoolCidrOutput" +_cAIPCRo = "com.amazonaws.ec2#AllocateIpamPoolCidrResult" +_iPA = "ipamPoolAllocation" +_AIPC = "AllocateIpamPoolCidr" +_AILl = "AllocationIdList" +_AIl = "AllocationIds" +_ASl = "AllocationState" +_ua = "under_assessment" +_ua_ = "under-assessment" +_pf_ = "permanent_failure" +_pf__ = "permanent-failure" +_rel = "released" +_rpf = "released_permanent_failure" +_rpf_ = "released-permanent-failure" +_con = "configuring" +_ASll = "AllocationStrategy" +_LP = "LOWEST_PRICE" +_lP = "lowestPrice" +_DIVERSIFIED = "DIVERSIFIED" +_div = "diversified" +_CO_ = "CAPACITY_OPTIMIZED" +_cO = "capacityOptimized" +_COP = "CAPACITY_OPTIMIZED_PRIORITIZED" +_cOP = "capacityOptimizedPrioritized" +_PCO = "PRICE_CAPACITY_OPTIMIZED" +_pCO = "priceCapacityOptimized" +_AISDS = "AllowedImagesSettingsDisabledState" +_AISES = "AllowedImagesSettingsEnabledState" +_am__ = "audit_mode" +_am___ = "audit-mode" +_AIT = "AllowedInstanceType" +_AITS = "AllowedInstanceTypeSet" +_APl = "AllowedPrincipal" +_APSl = "AllowedPrincipalSet" +_AMIT = "AllowsMultipleInstanceTypes" +_APHl = "AlternatePathHint" +_CIo = "ComponentId" +_cIo = "componentId" +_CAo = "ComponentArn" +_cAo = "componentArn" +_APHL = "AlternatePathHintList" +_CVSGIS = "ClientVpnSecurityGroupIdSet" +_ASGTCVTNI = "ApplySecurityGroupsToClientVpnTargetNetworkInput" +_cASGTCVTNR = "com.amazonaws.ec2#ApplySecurityGroupsToClientVpnTargetNetworkRequest" +_SGIe = "SecurityGroupIds" +_ASGTCVTNO = "ApplySecurityGroupsToClientVpnTargetNetworkOutput" +_cASGTCVTNRo = "com.amazonaws.ec2#ApplySecurityGroupsToClientVpnTargetNetworkResult" +_sGIe = "securityGroupIds" +_ASGTCVTN = "ApplySecurityGroupsToClientVpnTargetNetwork" +_IALp = "Ipv6AddressList" +_IPL = "IpPrefixList" +_AIAI = "AssignIpv6AddressesInput" +_cAIAR = "com.amazonaws.ec2#AssignIpv6AddressesRequest" +_IPC = "Ipv6PrefixCount" +_IPp = "Ipv6Prefixes" +_IPpv = "Ipv6Prefix" +_IAp = "Ipv6Addresses" +_iA = "ipv6Addresses" +_IAC = "Ipv6AddressCount" +_iAC = "ipv6AddressCount" +_AIAO = "AssignIpv6AddressesOutput" +_cAIARo = "com.amazonaws.ec2#AssignIpv6AddressesResult" +_AIA = "AssignedIpv6Addresses" +_aIA = "assignedIpv6Addresses" +_AIP = "AssignedIpv6Prefixes" +_AIPS = "AssignedIpv6PrefixSet" +_aIPS = "assignedIpv6PrefixSet" +_AIAs = "AssignIpv6Addresses" +_PIASL = "PrivateIpAddressStringList" +_APIAI = "AssignPrivateIpAddressesInput" +_cAPIAR = "com.amazonaws.ec2#AssignPrivateIpAddressesRequest" +_IPpvr = "Ipv4Prefixes" +_IPpvre = "Ipv4Prefix" +_IPCp = "Ipv4PrefixCount" +_PIAri = "PrivateIpAddresses" +_SPIAC = "SecondaryPrivateIpAddressCount" +_sPIAC = "secondaryPrivateIpAddressCount" +_ARl = "AllowReassignment" +_aRl = "allowReassignment" +_IPS = "Ipv4PrefixSpecification" +_iPp = "ipv4Prefix" +_IPLp = "Ipv4PrefixesList" +_APIA = "AssignedPrivateIpAddress" +_APIAL = "AssignedPrivateIpAddressList" +_APIAO = "AssignPrivateIpAddressesOutput" +_cAPIARo = "com.amazonaws.ec2#AssignPrivateIpAddressesResult" +_APIAs = "AssignedPrivateIpAddresses" +_APIAS = "AssignedPrivateIpAddressesSet" +_aPIAS = "assignedPrivateIpAddressesSet" +_AIPs = "AssignedIpv4Prefixes" +_AIPSs = "AssignedIpv4PrefixSet" +_aIPSs = "assignedIpv4PrefixSet" +_APIAss = "AssignPrivateIpAddresses" +_PIAC = "PrivateIpAddressCount" +_IL = "IpList" +_APNGAI = "AssignPrivateNatGatewayAddressInput" +_cAPNGAR = "com.amazonaws.ec2#AssignPrivateNatGatewayAddressRequest" +_NGAS = "NatGatewayAddressStatus" +_ASSIGNING = "ASSIGNING" +_assi = "assigning" +_UNASSIGNING = "UNASSIGNING" +_una = "unassigning" +_ASSOCIATING = "ASSOCIATING" +_DISASSOCIATING = "DISASSOCIATING" +_SUCCEEDED = "SUCCEEDED" +_suc = "succeeded" +_FAILED = "FAILED" +_NGA = "NatGatewayAddress" +_PIri = "PrivateIp" +_pIr = "privateIp" +_IPs = "IsPrimary" +_iPs = "isPrimary" +_FM = "FailureMessage" +_fM = "failureMessage" +_NGAL = "NatGatewayAddressList" +_APNGAO = "AssignPrivateNatGatewayAddressOutput" +_cAPNGARo = "com.amazonaws.ec2#AssignPrivateNatGatewayAddressResult" +_NGAa = "NatGatewayAddresses" +_NGASa = "NatGatewayAddressSet" +_nGAS = "natGatewayAddressSet" +_APNGA = "AssignPrivateNatGatewayAddress" +_AAIs = "AssociateAddressInput" +_cAARom = "com.amazonaws.ec2#AssociateAddressRequest" +_ARll = "AllowReassociation" +_aRll = "allowReassociation" +_AAOs = "AssociateAddressOutput" +_cAARoma = "com.amazonaws.ec2#AssociateAddressResult" +_AAss = "AssociateAddress" +_ASCI = "ApplicationStatusCheckId" +_IIL = "InstanceIdList" +_CTKVRP = "CustomTagKeyValueRequestPair" +_CKVPRS = "CustomKeyValuePairRequestSet" +_AASCI = "AssociateApplicationStatusCheckInput" +_cAASCR = "com.amazonaws.ec2#AssociateApplicationStatusCheckRequest" +_TTA = "TargetTagAssociations" +_TTAa = "TargetTagAssociation" +_IIn = "InstanceIds" +_SARO = "SuccessfulAssociationResponseObject" +_aSCI = "applicationStatusCheckId" +_ATs = "AssociationType" +_aTs = "associationType" +_AVs = "AssociationValue" +_aVs = "associationValue" +_SARS = "SuccessfulAssociationResponseSet" +_UARO = "UnsuccessfulAssociationResponseObject" +_UARS = "UnsuccessfulAssociationResponseSet" +_AASCO = "AssociateApplicationStatusCheckOutput" +_cAASCRo = "com.amazonaws.ec2#AssociateApplicationStatusCheckResult" +_SR = "SuccessfulResults" +_SRS = "SuccessfulResultSet" +_sRS = "successfulResultSet" +_UR = "UnsuccessfulResults" +_URS = "UnsuccessfulResultSet" +_uRS = "unsuccessfulResultSet" +_AASC = "AssociateApplicationStatusCheck" +_ACRBOIs = "AssociateCapacityReservationBillingOwnerInput" +_cACRBORom = "com.amazonaws.ec2#AssociateCapacityReservationBillingOwnerRequest" +_URBOI = "UnusedReservationBillingOwnerId" +_ACRBOOs = "AssociateCapacityReservationBillingOwnerOutput" +_cACRBORoma = "com.amazonaws.ec2#AssociateCapacityReservationBillingOwnerResult" +_ACRBOs = "AssociateCapacityReservationBillingOwner" +_ACVTNI = "AssociateClientVpnTargetNetworkInput" +_cACVTNR = "com.amazonaws.ec2#AssociateClientVpnTargetNetworkRequest" +_ASC = "AssociationStatusCode" +_af = "association_failed" +_af_ = "association-failed" +_ASs = "AssociationStatus" +_ACVTNO = "AssociateClientVpnTargetNetworkOutput" +_cACVTNRo = "com.amazonaws.ec2#AssociateClientVpnTargetNetworkResult" +_ACVTN = "AssociateClientVpnTargetNetwork" +_DDOI = "DefaultingDhcpOptionsId" +_ADOI = "AssociateDhcpOptionsInput" +_cADOR = "com.amazonaws.ec2#AssociateDhcpOptionsRequest" +_DOI = "DhcpOptionsId" +_ADOO = "AssociateDhcpOptionsOutput" +_sU = "smithy.api#Unit" +_ADO = "AssociateDhcpOptions" +_AECIRI = "AssociateEnclaveCertificateIamRoleInput" +_cAECIRR = "com.amazonaws.ec2#AssociateEnclaveCertificateIamRoleRequest" +_CAe = "CertificateArn" +_RAo = "RoleArn" +_AECIRO = "AssociateEnclaveCertificateIamRoleOutput" +_cAECIRRo = "com.amazonaws.ec2#AssociateEnclaveCertificateIamRoleResult" +_CSBN = "CertificateS3BucketName" +_cSBN = "certificateS3BucketName" +_CSOK = "CertificateS3ObjectKey" +_cSOK = "certificateS3ObjectKey" +_EKKI = "EncryptionKmsKeyId" +_eKKI = "encryptionKmsKeyId" +_AECIR = "AssociateEnclaveCertificateIamRole" +_IIPS = "IamInstanceProfileSpecification" +_AIIPI = "AssociateIamInstanceProfileInput" +_cAIIPR = "com.amazonaws.ec2#AssociateIamInstanceProfileRequest" +_IIP = "IamInstanceProfile" +_IIPAS = "IamInstanceProfileAssociationState" +_ASSOCIATED = "ASSOCIATED" +_DISASSOCIATED = "DISASSOCIATED" +_IIPA = "IamInstanceProfileAssociation" +_iIP = "iamInstanceProfile" +_Ti = "Timestamp" +_ti = "timestamp" +_AIIPO = "AssociateIamInstanceProfileOutput" +_cAIIPRo = "com.amazonaws.ec2#AssociateIamInstanceProfileResult" +_iIPA = "iamInstanceProfileAssociation" +_AIIP = "AssociateIamInstanceProfile" +_DHI = "DedicatedHostId" +_DHIL = "DedicatedHostIdList" +_IEWAR = "InstanceEventWindowAssociationRequest" +_ITn = "InstanceTags" +_ITns = "InstanceTag" +_DHIe = "DedicatedHostIds" +_RGI = "RouteGatewayId" +_GIr = "GroupId" +_TGSIL = "TransitGatewaySubnetIdList" +_GISL = "GroupIdStringList" +_gIr = "groupId" +_at = "attaching" +_att = "attached" +_det = "detaching" +_deta = "detached" +_ASt = "AttachmentStatus" +_UIGP = "UserIdGroupPair" +_UIs = "UserId" +_uI = "userId" +_GN = "GroupName" +_gN = "groupName" +_PSe = "PeeringStatus" +_pSe = "peeringStatus" +_SGN = "SecurityGroupName" +_Dou = "Double" +_ded = "dedicated" +_Ten = "Tenancy" +_CPIo = "CoipPoolId" +_HT = "HostnameType" +_in_ = "ip_name" +_in__ = "ip-name" +_rn_ = "resource_name" +_rn__ = "resource-name" +_TCUT = "TargetCapacityUnitType" +_VCPU = "VCPU" +_vcp = "vcpu" +_MM = "MEMORY_MIB" +_mm_____________________________________________________________________ = "memory-mib" +_UNITS = "UNITS" +_uni = "units" + +ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _AL, + 0, + (_me,), + ((lambda: schemas.ADDRESS, {_sN: _i}),), +) + +ADDRESS_MAX_RESULTS: StaticSchema = (7, n0, _AMR, 0) + +ADDRESS_SET: StaticSchema = ( + 16, + n0, + _AS, + 0, + (_me,), + ((lambda: schemas.ADDRESS_ATTRIBUTE, {_sN: _i}),), +) + +ADDRESS_TRANSFER_LIST: StaticSchema = ( + 16, + n0, + _ATL, + 0, + (_me,), + ((lambda: schemas.ADDRESS_TRANSFER, {_sN: _i}),), +) + +ADVERTISE_BYOIP_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _ABCI, + {_sSI: _cABCR, _sm: None}, + (_Ci, _Asn, _DR, _NBG), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +ADVERTISE_BYOIP_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _ABCO, + {_sSI: _cABCRo, _smit: None}, + (_BC,), + ((lambda: BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), +) + +ADVERTISE_BYOIP_CIDR: StaticOperationSchema = ( + 23, + n0, + _ABC, + 0, + ADVERTISE_BYOIP_CIDR_INPUT, + ADVERTISE_BYOIP_CIDR_OUTPUT, + (), +) + +ASN_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _AAS, + 0, + (_dis, _fd, _fa_, _pd, _pa__, _ass), + ( + (-1, {_sV: _dis}), + (-1, {_sV: _fd_}), + (-1, {_sV: _fa__}), + (-1, {_sV: _pd_}), + (-1, {_sV: _pa___}), + (-1, {_sV: _ass}), + ), +) + +ASN_ASSOCIATION: StaticSchema = ( + 18, + n0, + _AAs, + 0, + (_Asn, _Ci, _SMt, _St), + ( + (lambda: schemas.STRING, {_aQN: _Asn, _sN: _asn}), + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (ASN_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +ASN_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _AASs, + 0, + (_me,), + ((ASN_ASSOCIATION, {_sN: _i}),), +) + +BYOIP_CIDR_STATE: StaticSchema = ( + 14, + n0, + _BCS, + 0, + (_adv, _dep, _fd__, _fp, _pa____, _pd__, _pp, _pw, _prov, _pnpa), + ( + (-1, {_sV: _adv}), + (-1, {_sV: _dep}), + (-1, {_sV: _fd___}), + (-1, {_sV: _fp_}), + (-1, {_sV: _pa_____}), + (-1, {_sV: _pd___}), + (-1, {_sV: _pp_}), + (-1, {_sV: _pw_}), + (-1, {_sV: _prov}), + (-1, {_sV: _pnpa_}), + ), +) + +BYOIP_CIDR: StaticSchema = ( + 18, + n0, + _BC, + 0, + (_Ci, _Des, _AAsn, _SMt, _St, _NBG, _ATdv, _PIo, _IPI), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (ASN_ASSOCIATION_SET, {_aQN: _AASs, _sN: _aAS}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (BYOIP_CIDR_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _NBG, _sN: _nBG}), + (lambda: schemas.STRING, {_aQN: _ATdv, _sN: _aTd}), + (lambda: schemas.STRING, {_aQN: _PIo, _sN: _pIo}), + (lambda: schemas.IPAM_POOL_ID, {_aQN: _IPI, _sN: _iPI}), + ), +) + +AFFINITY: StaticSchema = ( + 14, + n0, + _Af, + 0, + (_def, _ho), + ((-1, {_sV: _def}), (-1, {_sV: _ho})), +) + +ALLOCATE_ADDRESS_INPUT: StaticSchema = ( + 18, + n0, + _AAI, + {_sSI: _cAAR, _sm: None}, + (_Do, _Ad, _PIP, _NBG, _COIP, _TSa, _IPI, _DR), + ( + (lambda: schemas.DOMAIN_TYPE, 0), + (lambda: schemas.PUBLIC_IP_ADDRESS, 0), + (lambda: schemas.IPV4_POOL_EC2_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.IPAM_POOL_ID, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +ALLOCATE_ADDRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _AAO, + {_sSI: _cAARo, _smit: None}, + (_AI, _PIP, _NBG, _Do, _COI, _COIP, _CI, _PI), + ( + (lambda: schemas.STRING, {_aQN: _AI, _sN: _aI}), + (lambda: schemas.STRING, {_aQN: _PIP, _sN: _pIP}), + (lambda: schemas.STRING, {_aQN: _NBG, _sN: _nBG}), + (lambda: schemas.DOMAIN_TYPE, {_aQN: _Do, _sN: _dom}), + (lambda: schemas.STRING, {_aQN: _COI, _sN: _cOI}), + (lambda: schemas.STRING, {_aQN: _COIP, _sN: _cOIP}), + (lambda: schemas.STRING, {_aQN: _CI, _sN: _cI}), + (lambda: schemas.STRING, {_aQN: _PI, _sN: _pI}), + ), +) + +ALLOCATE_ADDRESS: StaticOperationSchema = ( + 23, + n0, + _AAl, + 0, + ALLOCATE_ADDRESS_INPUT, + ALLOCATE_ADDRESS_OUTPUT, + (), +) + +ASSET_ID: StaticSchema = (3, n0, _AIss, 0) + +ASSET_ID_LIST: StaticSchema = (16, n0, _AIL, 0, (_me,), ((ASSET_ID, 0),)) + +AUTO_PLACEMENT: StaticSchema = ( + 14, + n0, + _APu, + 0, + (_on, _of), + ((-1, {_sV: _on}), (-1, {_sV: _of})), +) + +AVAILABILITY_ZONE_NAME: StaticSchema = (3, n0, _AZN, 0) + +AVAILABILITY_ZONE_ID: StaticSchema = (3, n0, _AZI, 0) + +AMD_SEV_SNP: StaticSchema = ( + 14, + n0, + _ASS, + 0, + (_ena, _d), + ((-1, {_sV: _ena}), (-1, {_sV: _d})), +) + +HOST_CPU_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _HCOR, + 0, + (_ASS,), + ((AMD_SEV_SNP, 0),), +) + +HOST_MAINTENANCE: StaticSchema = ( + 14, + n0, + _HM, + 0, + (_on, _of), + ((-1, {_sV: _on}), (-1, {_sV: _of})), +) + +HOST_RECOVERY: StaticSchema = ( + 14, + n0, + _HR, + 0, + (_on, _of), + ((-1, {_sV: _on}), (-1, {_sV: _of})), +) + +ALLOCATE_HOSTS_INPUT: StaticSchema = ( + 18, + n0, + _AHI, + {_sSI: _cAHR, _sm: None}, + (_IF, _TSa, _HR, _OA, _HM, _AIsse, _AZI, _CO, _APu, _CTl, _IT, _Q, _AZ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (HOST_RECOVERY, 0), + (lambda: schemas.STRING, 0), + (HOST_MAINTENANCE, 0), + (ASSET_ID_LIST, {_sN: _AIss}), + (AVAILABILITY_ZONE_ID, 0), + (HOST_CPU_OPTIONS_REQUEST, 0), + (AUTO_PLACEMENT, {_aQN: _APu, _sN: _aP}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.INTEGER, {_aQN: _Q, _sN: _q}), + (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), + ), +) + +ALLOCATE_HOSTS_OUTPUT: StaticSchema = ( + 18, + n0, + _AHO, + {_sSI: _cAHRo, _smit: None}, + (_HI,), + ((lambda: RESPONSE_HOST_ID_LIST, {_aQN: _HIS, _sN: _hIS}),), +) + +ALLOCATE_HOSTS: StaticOperationSchema = ( + 23, + n0, + _AH, + 0, + ALLOCATE_HOSTS_INPUT, + ALLOCATE_HOSTS_OUTPUT, + (), +) + +RESPONSE_HOST_ID_LIST: StaticSchema = ( + 16, + n0, + _RHIL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +IPAM_POOL_ALLOCATION_ALLOWED_CIDRS: StaticSchema = ( + 16, + n0, + _IPAAC, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +IPAM_POOL_ALLOCATION_DISALLOWED_CIDRS: StaticSchema = ( + 16, + n0, + _IPADC, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +ALLOCATE_IPAM_POOL_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _AIPCI, + {_sSI: _cAIPCR, _sm: None}, + (_DR, _IPI, _Ci, _NL, _CTl, _Des, _PNC, _ACl, _DCi, _TSa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (IPAM_POOL_ALLOCATION_ALLOWED_CIDRS, {_sN: _ACll}), + (IPAM_POOL_ALLOCATION_DISALLOWED_CIDRS, {_sN: _DCis}), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +ALLOCATE_IPAM_POOL_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _AIPCO, + {_sSI: _cAIPCRo, _smit: None}, + (_IPA,), + ((lambda: IPAM_POOL_ALLOCATION, {_aQN: _IPA, _sN: _iPA}),), +) + +ALLOCATE_IPAM_POOL_CIDR: StaticOperationSchema = ( + 23, + n0, + _AIPC, + 0, + ALLOCATE_IPAM_POOL_CIDR_INPUT, + ALLOCATE_IPAM_POOL_CIDR_OUTPUT, + (), +) + +IPAM_POOL_ALLOCATION_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _IPART, + 0, + (_ip_, _vp, _epip, _cu, _su, _eip, _ail), + ( + (-1, {_sV: _ip__}), + (-1, {_sV: _vp}), + (-1, {_sV: _epip_}), + (-1, {_sV: _cu}), + (-1, {_sV: _su}), + (-1, {_sV: _eip}), + (-1, {_sV: _ail_}), + ), +) + +IPAM_POOL_ALLOCATION: StaticSchema = ( + 18, + n0, + _IPA, + 0, + (_Ci, _IPAI, _Des, _RIe, _RT, _RR, _ROe, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.IPAM_POOL_ALLOCATION_ID, {_aQN: _IPAI, _sN: _iPAI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (IPAM_POOL_ALLOCATION_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.STRING, {_aQN: _RR, _sN: _rR}), + (lambda: schemas.STRING, {_aQN: _ROe, _sN: _rOe}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +ALLOCATION_ID_LIST: StaticSchema = ( + 16, + n0, + _AILl, + 0, + (_me,), + ((lambda: schemas.ALLOCATION_ID, {_sN: _AI}),), +) + +ALLOCATION_IDS: StaticSchema = ( + 16, + n0, + _AIl, + 0, + (_me,), + ((lambda: schemas.ALLOCATION_ID, {_sN: _i}),), +) + +ALLOCATION_STATE: StaticSchema = ( + 14, + n0, + _ASl, + 0, + (_av, _ua, _pf_, _rel, _rpf, _p, _con), + ( + (-1, {_sV: _av}), + (-1, {_sV: _ua_}), + (-1, {_sV: _pf__}), + (-1, {_sV: _rel}), + (-1, {_sV: _rpf_}), + (-1, {_sV: _p}), + (-1, {_sV: _con}), + ), +) + +ALLOCATION_STRATEGY: StaticSchema = ( + 14, + n0, + _ASll, + 0, + (_LP, _DIVERSIFIED, _CO_, _COP, _PCO), + ( + (-1, {_sV: _lP}), + (-1, {_sV: _div}), + (-1, {_sV: _cO}), + (-1, {_sV: _cOP}), + (-1, {_sV: _pCO}), + ), +) + +ALLOWED_IMAGES_SETTINGS_DISABLED_STATE: StaticSchema = ( + 14, + n0, + _AISDS, + 0, + (_d,), + ((-1, {_sV: _d}),), +) + +ALLOWED_IMAGES_SETTINGS_ENABLED_STATE: StaticSchema = ( + 14, + n0, + _AISES, + 0, + (_ena, _am__), + ((-1, {_sV: _ena}), (-1, {_sV: _am___})), +) + +ALLOWED_INSTANCE_TYPE: StaticSchema = (3, n0, _AIT, 0) + +ALLOWED_INSTANCE_TYPE_SET: StaticSchema = ( + 16, + n0, + _AITS, + 0, + (_me,), + ((ALLOWED_INSTANCE_TYPE, {_sN: _i}),), +) + +ALLOWED_PRINCIPAL: StaticSchema = ( + 18, + n0, + _APl, + 0, + (_PTr, _Pri, _SPI, _Tag, _SIe), + ( + (lambda: schemas.PRINCIPAL_TYPE, {_aQN: _PTr, _sN: _pT}), + (lambda: schemas.STRING, {_aQN: _Pri, _sN: _prin}), + (lambda: schemas.STRING, {_aQN: _SPI, _sN: _sPI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _SIe, _sN: _sIe}), + ), +) + +ALLOWED_PRINCIPAL_SET: StaticSchema = ( + 16, + n0, + _APSl, + 0, + (_me,), + ((ALLOWED_PRINCIPAL, {_sN: _i}),), +) + +ALLOWS_MULTIPLE_INSTANCE_TYPES: StaticSchema = ( + 14, + n0, + _AMIT, + 0, + (_on, _of), + ((-1, {_sV: _on}), (-1, {_sV: _of})), +) + +ALTERNATE_PATH_HINT: StaticSchema = ( + 18, + n0, + _APHl, + 0, + (_CIo, _CAo), + ( + (lambda: schemas.STRING, {_aQN: _CIo, _sN: _cIo}), + (lambda: schemas.STRING, {_aQN: _CAo, _sN: _cAo}), + ), +) + +ALTERNATE_PATH_HINT_LIST: StaticSchema = ( + 16, + n0, + _APHL, + 0, + (_me,), + ((ALTERNATE_PATH_HINT, {_sN: _i}),), +) + +SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGI, 0) + +CLIENT_VPN_SECURITY_GROUP_ID_SET: StaticSchema = ( + 16, + n0, + _CVSGIS, + 0, + (_me,), + ((SECURITY_GROUP_ID, {_sN: _i}),), +) + +VPC_ID: StaticSchema = (3, n0, _VI, 0) + +APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_INPUT: StaticSchema = ( + 18, + n0, + _ASGTCVTNI, + {_sSI: _cASGTCVTNR, _sm: None}, + (_CVEI, _VI, _SGIe, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (VPC_ID, 1), + (CLIENT_VPN_SECURITY_GROUP_ID_SET, {_sN: _SGI, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_OUTPUT: StaticSchema = ( + 18, + n0, + _ASGTCVTNO, + {_sSI: _cASGTCVTNRo, _smit: None}, + (_SGIe,), + ((CLIENT_VPN_SECURITY_GROUP_ID_SET, {_aQN: _SGIe, _sN: _sGIe}),), +) + +APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK: StaticOperationSchema = ( + 23, + n0, + _ASGTCVTN, + 0, + APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_INPUT, + APPLY_SECURITY_GROUPS_TO_CLIENT_VPN_TARGET_NETWORK_OUTPUT, + (), +) + +IPV6_ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _IALp, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +IP_PREFIX_LIST: StaticSchema = ( + 16, + n0, + _IPL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +NETWORK_INTERFACE_ID: StaticSchema = (3, n0, _NII, 0) + +ASSIGN_IPV6_ADDRESSES_INPUT: StaticSchema = ( + 18, + n0, + _AIAI, + {_sSI: _cAIAR, _sm: None}, + (_IPC, _IPp, _NII, _IAp, _IAC), + ( + (lambda: schemas.INTEGER, 0), + (IP_PREFIX_LIST, {_sN: _IPpv}), + (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), + (IPV6_ADDRESS_LIST, {_aQN: _IAp, _sN: _iA}), + (lambda: schemas.INTEGER, {_aQN: _IAC, _sN: _iAC}), + ), +) + +ASSIGN_IPV6_ADDRESSES_OUTPUT: StaticSchema = ( + 18, + n0, + _AIAO, + {_sSI: _cAIARo, _smit: None}, + (_AIA, _AIP, _NII), + ( + (IPV6_ADDRESS_LIST, {_aQN: _AIA, _sN: _aIA}), + (IP_PREFIX_LIST, {_aQN: _AIPS, _sN: _aIPS}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + ), +) + +ASSIGN_IPV6_ADDRESSES: StaticOperationSchema = ( + 23, + n0, + _AIAs, + 0, + ASSIGN_IPV6_ADDRESSES_INPUT, + ASSIGN_IPV6_ADDRESSES_OUTPUT, + (), +) + +PRIVATE_IP_ADDRESS_STRING_LIST: StaticSchema = ( + 16, + n0, + _PIASL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _PIAr}),), +) + +ASSIGN_PRIVATE_IP_ADDRESSES_INPUT: StaticSchema = ( + 18, + n0, + _APIAI, + {_sSI: _cAPIAR, _sm: None}, + (_IPpvr, _IPCp, _NII, _PIAri, _SPIAC, _ARl), + ( + (IP_PREFIX_LIST, {_sN: _IPpvre}), + (lambda: schemas.INTEGER, 0), + (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), + (PRIVATE_IP_ADDRESS_STRING_LIST, {_aQN: _PIAr, _sN: _pIAr}), + (lambda: schemas.INTEGER, {_aQN: _SPIAC, _sN: _sPIAC}), + (lambda: schemas.BOOLEAN, {_aQN: _ARl, _sN: _aRl}), + ), +) + +ASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT: StaticSchema = ( + 18, + n0, + _APIAO, + {_sSI: _cAPIARo, _smit: None}, + (_NII, _APIAs, _AIPs), + ( + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: ASSIGNED_PRIVATE_IP_ADDRESS_LIST, {_aQN: _APIAS, _sN: _aPIAS}), + (lambda: IPV4_PREFIXES_LIST, {_aQN: _AIPSs, _sN: _aIPSs}), + ), +) + +ASSIGN_PRIVATE_IP_ADDRESSES: StaticOperationSchema = ( + 23, + n0, + _APIAss, + 0, + ASSIGN_PRIVATE_IP_ADDRESSES_INPUT, + ASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT, + (), +) + +IPV4_PREFIX_SPECIFICATION: StaticSchema = ( + 18, + n0, + _IPS, + 0, + (_IPpvre,), + ((lambda: schemas.STRING, {_aQN: _IPpvre, _sN: _iPp}),), +) + +IPV4_PREFIXES_LIST: StaticSchema = ( + 16, + n0, + _IPLp, + 0, + (_me,), + ((IPV4_PREFIX_SPECIFICATION, {_sN: _i}),), +) + +ASSIGNED_PRIVATE_IP_ADDRESS: StaticSchema = ( + 18, + n0, + _APIA, + 0, + (_PIAr,), + ((lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}),), +) + +ASSIGNED_PRIVATE_IP_ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _APIAL, + 0, + (_me,), + ((ASSIGNED_PRIVATE_IP_ADDRESS, {_sN: _i}),), +) + +PRIVATE_IP_ADDRESS_COUNT: StaticSchema = (7, n0, _PIAC, 0) + +IP_LIST: StaticSchema = (16, n0, _IL, 0, (_me,), ((lambda: schemas.STRING, {_sN: _i}),)) + +ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT: StaticSchema = ( + 18, + n0, + _APNGAI, + {_sSI: _cAPNGAR, _sm: None}, + (_NGI, _PIAri, _PIAC, _DR), + ( + (lambda: schemas.NAT_GATEWAY_ID, 1), + (IP_LIST, {_sN: _PIAr}), + (PRIVATE_IP_ADDRESS_COUNT, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _APNGAO, + {_sSI: _cAPNGARo, _smit: None}, + (_NGI, _NGAa), + ( + (lambda: schemas.NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), + (lambda: NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), + ), +) + +ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS: StaticOperationSchema = ( + 23, + n0, + _APNGA, + 0, + ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT, + ASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT, + (), +) + +NAT_GATEWAY_ADDRESS_STATUS: StaticSchema = ( + 14, + n0, + _NGAS, + 0, + (_ASSIGNING, _UNASSIGNING, _ASSOCIATING, _DISASSOCIATING, _SUCCEEDED, _FAILED), + ( + (-1, {_sV: _assi}), + (-1, {_sV: _una}), + (-1, {_sV: _as}), + (-1, {_sV: _di}), + (-1, {_sV: _suc}), + (-1, {_sV: _fa}), + ), +) + +NAT_GATEWAY_ADDRESS: StaticSchema = ( + 18, + n0, + _NGA, + 0, + (_AI, _NII, _PIri, _PI, _AIs, _IPs, _FM, _Sta, _AZ, _AZI), + ( + (lambda: schemas.STRING, {_aQN: _AI, _sN: _aI}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _PIri, _sN: _pIr}), + (lambda: schemas.STRING, {_aQN: _PI, _sN: _pI}), + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.BOOLEAN, {_aQN: _IPs, _sN: _iPs}), + (lambda: schemas.STRING, {_aQN: _FM, _sN: _fM}), + (NAT_GATEWAY_ADDRESS_STATUS, {_aQN: _Sta, _sN: _sta}), + (AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), + (AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + ), +) + +NAT_GATEWAY_ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _NGAL, + 0, + (_me,), + ((NAT_GATEWAY_ADDRESS, {_sN: _i}),), +) + +INSTANCE_ID: StaticSchema = (3, n0, _II, 0) + +ASSOCIATE_ADDRESS_INPUT: StaticSchema = ( + 18, + n0, + _AAIs, + {_sSI: _cAARom, _sm: None}, + (_AI, _II, _PI, _DR, _NII, _PIAr, _ARll), + ( + (lambda: schemas.ALLOCATION_ID, 0), + (INSTANCE_ID, 0), + (lambda: schemas.EIP_ALLOCATION_PUBLIC_IP, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + (lambda: schemas.BOOLEAN, {_aQN: _ARll, _sN: _aRll}), + ), +) + +ASSOCIATE_ADDRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _AAOs, + {_sSI: _cAARoma, _smit: None}, + (_AIs,), + ((lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}),), +) + +ASSOCIATE_ADDRESS: StaticOperationSchema = ( + 23, + n0, + _AAss, + 0, + ASSOCIATE_ADDRESS_INPUT, + ASSOCIATE_ADDRESS_OUTPUT, + (), +) + +INSTANCE_ID_LIST: StaticSchema = (16, n0, _IIL, 0, (_me,), ((INSTANCE_ID, {_sN: _i}),)) + +CUSTOM_TAG_KEY_VALUE_REQUEST_PAIR: StaticSchema = ( + 18, + n0, + _CTKVRP, + 0, + (_Ke, _Va), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CUSTOM_KEY_VALUE_PAIR_REQUEST_SET: StaticSchema = ( + 16, + n0, + _CKVPRS, + 0, + (_me,), + ((CUSTOM_TAG_KEY_VALUE_REQUEST_PAIR, {_sN: _i}),), +) + +ASSOCIATE_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( + 18, + n0, + _AASCI, + {_sSI: _cAASCR, _sm: None}, + (_ASCI, _TTA, _IIn, _CTl, _DR), + ( + (lambda: schemas.APPLICATION_STATUS_CHECK_ID, 1), + (CUSTOM_KEY_VALUE_PAIR_REQUEST_SET, {_sN: _TTAa}), + (INSTANCE_ID_LIST, {_sN: _II}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( + 18, + n0, + _AASCO, + {_sSI: _cAASCRo, _smit: None}, + (_SR, _UR), + ( + (lambda: SUCCESSFUL_ASSOCIATION_RESPONSE_SET, {_aQN: _SRS, _sN: _sRS}), + (lambda: UNSUCCESSFUL_ASSOCIATION_RESPONSE_SET, {_aQN: _URS, _sN: _uRS}), + ), +) + +ASSOCIATE_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( + 23, + n0, + _AASC, + 0, + ASSOCIATE_APPLICATION_STATUS_CHECK_INPUT, + ASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT, + (), +) + +SUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT: StaticSchema = ( + 18, + n0, + _SARO, + 0, + (_ASCI, _ATs, _AVs), + ( + (lambda: schemas.APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), + (lambda: schemas.STRING, {_aQN: _ATs, _sN: _aTs}), + (lambda: schemas.STRING, {_aQN: _AVs, _sN: _aVs}), + ), +) + +SUCCESSFUL_ASSOCIATION_RESPONSE_SET: StaticSchema = ( + 16, + n0, + _SARS, + 0, + (_me,), + ((SUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT, {_sN: _i}),), +) + +UNSUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT: StaticSchema = ( + 18, + n0, + _UARO, + 0, + (_ASCI, _ATs, _AVs, _Rea), + ( + (lambda: schemas.APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), + (lambda: schemas.STRING, {_aQN: _ATs, _sN: _aTs}), + (lambda: schemas.STRING, {_aQN: _AVs, _sN: _aVs}), + (lambda: schemas.STRING, {_aQN: _Rea, _sN: _rea}), + ), +) + +UNSUCCESSFUL_ASSOCIATION_RESPONSE_SET: StaticSchema = ( + 16, + n0, + _UARS, + 0, + (_me,), + ((UNSUCCESSFUL_ASSOCIATION_RESPONSE_OBJECT, {_sN: _i}),), +) + +ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT: StaticSchema = ( + 18, + n0, + _ACRBOIs, + {_sSI: _cACRBORom, _sm: None}, + (_DR, _CRI, _URBOI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.ACCOUNT_ID, 1), + ), +) + +ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT: StaticSchema = ( + 18, + n0, + _ACRBOOs, + {_sSI: _cACRBORoma, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER: StaticOperationSchema = ( + 23, + n0, + _ACRBOs, + 0, + ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT, + ASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT, + (), +) + +SUBNET_ID: StaticSchema = (3, n0, _SIu, 0) + +ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT: StaticSchema = ( + 18, + n0, + _ACVTNI, + {_sSI: _cACVTNR, _sm: None}, + (_CVEI, _SIu, _CTl, _DR, _AZ, _AZI), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (SUBNET_ID, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (AVAILABILITY_ZONE_NAME, 0), + (AVAILABILITY_ZONE_ID, 0), + ), +) + +ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT: StaticSchema = ( + 18, + n0, + _ACVTNO, + {_sSI: _cACVTNRo, _smit: None}, + (_AIs, _Sta), + ( + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (lambda: ASSOCIATION_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +ASSOCIATE_CLIENT_VPN_TARGET_NETWORK: StaticOperationSchema = ( + 23, + n0, + _ACVTN, + 0, + ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT, + ASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT, + (), +) + +ASSOCIATION_STATUS_CODE: StaticSchema = ( + 14, + n0, + _ASC, + 0, + (_as, _ass, _af, _di, _dis), + ( + (-1, {_sV: _as}), + (-1, {_sV: _ass}), + (-1, {_sV: _af_}), + (-1, {_sV: _di}), + (-1, {_sV: _dis}), + ), +) + +ASSOCIATION_STATUS: StaticSchema = ( + 18, + n0, + _ASs, + 0, + (_C, _Me), + ( + (ASSOCIATION_STATUS_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +DEFAULTING_DHCP_OPTIONS_ID: StaticSchema = (3, n0, _DDOI, 0) + +ASSOCIATE_DHCP_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _ADOI, + {_sSI: _cADOR, _sm: None}, + (_DOI, _VI, _DR), + ( + (DEFAULTING_DHCP_OPTIONS_ID, 1), + (VPC_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +ASSOCIATE_DHCP_OPTIONS_OUTPUT: StaticSchema = (18, n0, _ADOO, {_sSI: _sU, _smit: None}) + +ASSOCIATE_DHCP_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _ADO, + 0, + ASSOCIATE_DHCP_OPTIONS_INPUT, + ASSOCIATE_DHCP_OPTIONS_OUTPUT, + (), +) + +ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _AECIRI, + {_sSI: _cAECIRR, _sm: None}, + (_CAe, _RAo, _DR), + ( + (lambda: schemas.CERTIFICATE_ID, 1), + (lambda: schemas.ROLE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT: StaticSchema = ( + 18, + n0, + _AECIRO, + {_sSI: _cAECIRRo, _smit: None}, + (_CSBN, _CSOK, _EKKI), + ( + (lambda: schemas.STRING, {_aQN: _CSBN, _sN: _cSBN}), + (lambda: schemas.STRING, {_aQN: _CSOK, _sN: _cSOK}), + (lambda: schemas.STRING, {_aQN: _EKKI, _sN: _eKKI}), + ), +) + +ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE: StaticOperationSchema = ( + 23, + n0, + _AECIR, + 0, + ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT, + ASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT, + (), +) + +IAM_INSTANCE_PROFILE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _IIPS, + 0, + (_Ar, _N), + ( + (lambda: schemas.STRING, {_aQN: _Ar, _sN: _ar}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + ), +) + +ASSOCIATE_IAM_INSTANCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _AIIPI, + {_sSI: _cAIIPR, _sm: None}, + (_IIP, _II), + ((IAM_INSTANCE_PROFILE_SPECIFICATION, 1), (INSTANCE_ID, 1)), +) + +ASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _AIIPO, + {_sSI: _cAIIPRo, _smit: None}, + (_IIPA,), + ((lambda: IAM_INSTANCE_PROFILE_ASSOCIATION, {_aQN: _IIPA, _sN: _iIPA}),), +) + +ASSOCIATE_IAM_INSTANCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _AIIP, + 0, + ASSOCIATE_IAM_INSTANCE_PROFILE_INPUT, + ASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT, + (), +) + +IAM_INSTANCE_PROFILE: StaticSchema = ( + 18, + n0, + _IIP, + 0, + (_Ar, _Id), + ( + (lambda: schemas.STRING, {_aQN: _Ar, _sN: _ar}), + (lambda: schemas.STRING, {_aQN: _Id, _sN: _id}), + ), +) + +IAM_INSTANCE_PROFILE_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _IIPAS, + 0, + (_ASSOCIATING, _ASSOCIATED, _DISASSOCIATING, _DISASSOCIATED), + ((-1, {_sV: _as}), (-1, {_sV: _ass}), (-1, {_sV: _di}), (-1, {_sV: _dis})), +) + +IAM_INSTANCE_PROFILE_ASSOCIATION: StaticSchema = ( + 18, + n0, + _IIPA, + 0, + (_AIs, _II, _IIP, _St, _Ti), + ( + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (IAM_INSTANCE_PROFILE, {_aQN: _IIP, _sN: _iIP}), + (IAM_INSTANCE_PROFILE_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.DATE_TIME, {_aQN: _Ti, _sN: _ti}), + ), +) + +DEDICATED_HOST_ID_LIST: StaticSchema = ( + 16, + n0, + _DHIL, + 0, + (_me,), + ((lambda: schemas.DEDICATED_HOST_ID, {_sN: _i}),), +) + +INSTANCE_EVENT_WINDOW_ASSOCIATION_REQUEST: StaticSchema = ( + 18, + n0, + _IEWAR, + 0, + (_IIn, _ITn, _DHIe), + ( + (INSTANCE_ID_LIST, {_sN: _II}), + (lambda: schemas.TAG_LIST, {_sN: _ITns}), + (DEDICATED_HOST_ID_LIST, {_sN: _DHI}), + ), +) + +ROUTE_GATEWAY_ID: StaticSchema = (3, n0, _RGI, 0) + +TRANSIT_GATEWAY_SUBNET_ID_LIST: StaticSchema = ( + 16, + n0, + _TGSIL, + 0, + (_me,), + ((SUBNET_ID, {_sN: _i}),), +) + +GROUP_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _GISL, + 0, + (_me,), + ((SECURITY_GROUP_ID, {_sN: _gIr}),), +) + +ATTACHMENT_STATUS: StaticSchema = ( + 14, + n0, + _ASt, + 0, + (_at, _att, _det, _deta), + ((-1, {_sV: _at}), (-1, {_sV: _att}), (-1, {_sV: _det}), (-1, {_sV: _deta})), +) + +USER_ID_GROUP_PAIR: StaticSchema = ( + 18, + n0, + _UIGP, + 0, + (_Des, _UIs, _GN, _GIr, _VI, _VPCI, _PSe), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _UIs, _sN: _uI}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _VPCI, _sN: _vPCI}), + (lambda: schemas.STRING, {_aQN: _PSe, _sN: _pSe}), + ), +) + +SECURITY_GROUP_NAME: StaticSchema = (3, n0, _SGN, 0) + +DOUBLE: StaticSchema = (10, n0, _Dou, 0) + +CARRIER_GATEWAY_ID: StaticSchema = (3, n0, _CGI, 0) + +COIP_POOL_ID: StaticSchema = (3, n0, _CPIo, 0) + +HOSTNAME_TYPE: StaticSchema = ( + 14, + n0, + _HT, + 0, + (_in_, _rn_), + ((-1, {_sV: _in__}), (-1, {_sV: _rn__})), +) + +TENANCY: StaticSchema = ( + 14, + n0, + _Ten, + 0, + (_def, _ded, _ho), + ((-1, {_sV: _def}), (-1, {_sV: _ded}), (-1, {_sV: _ho})), +) + +ATTRIBUTE_VALUE: StaticSchema = ( + 18, + n0, + _AV, + 0, + (_Va,), + ((lambda: schemas.STRING, {_aQN: _Va, _sN: _va}),), +) + +EGRESS_ONLY_INTERNET_GATEWAY_ID: StaticSchema = (3, n0, _EOIGI, 0) + +TARGET_CAPACITY_UNIT_TYPE: StaticSchema = ( + 14, + n0, + _TCUT, + 0, + (_VCPU, _MM, _UNITS), + ( + (-1, {_sV: _vcp}), + ( + -1, + { + _sV: _mm_____________________________________________________________________ + }, + ), + (-1, {_sV: _uni}), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_20.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_20.py new file mode 100644 index 000000000..509df171e --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_20.py @@ -0,0 +1,1656 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_ip = "ipam" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_CVEI = "ClientVpnEndpointId" +_del = "deleted" +_St = "State" +_st = "state" +_fa = "failed" +_mo = "modifying" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_E = "Error" +_er = "error" +_Un = "Unsuccessful" +_un = "unsuccessful" +_dRr = "dryRun" +_act = "active" +_Ci = "Cidr" +_DPLI = "DestinationPrefixListId" +_EOIGI = "EgressOnlyInternetGatewayId" +_NGI = "NatGatewayId" +_nGI = "natGatewayId" +_PLI = "PrefixListId" +_PL = "PrefixList" +_pL = "prefixList" +_IPI = "IpamPoolId" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_FAILED = "FAILED" +_DOI = "DhcpOptionsId" +_sU = "smithy.api#Unit" +_IEWI = "InstanceEventWindowId" +_IEWS = "InstanceEventWindowState" +_iEWI = "instanceEventWindowId" +_IIp = "IpamId" +_IRDI = "IpamResourceDiscoveryId" +_ACTIVE = "ACTIVE" +_IGI = "InternetGatewayId" +_iGI = "internetGatewayId" +_IIRAI = "IpamInternetRegistryAssociationId" +_Fo = "Force" +_IRPRD = "IpamRoutingPolicyRegistrationDelta" +_iRPRD = "ipamRoutingPolicyRegistrationDelta" +_SUBMITTED = "SUBMITTED" +_subm = "submitted" +_MODIFYING = "MODIFYING" +_CFS = "CurrentFleetState" +_cFS = "currentFleetState" +_PFS = "PreviousFleetState" +_pFS = "previousFleetState" +_RIep = "ReportId" +_TIe = "TerminateInstances" +_UE = "UNEXPECTED_ERROR" +_uE = "unexpectedError" +_FII = "FpgaImageId" +_DCB = "DestinationCidrBlock" +_TVSI = "TargetVpcSubnetId" +_CPIo = "CoipPoolId" +_CCo = "CoipCidr" +_LGRTI = "LocalGatewayRouteTableId" +_cCo = "coipCidr" +_CP = "CoipPool" +_cP = "coipPool" +_CGIu = "CustomerGatewayId" +_LTI = "LaunchTemplateId" +_LTN = "LaunchTemplateName" +_KN = "KeyName" +_lTI = "launchTemplateId" +_lTN = "launchTemplateName" +_FIl = "FleetId" +_fIl = "fleetId" +_FLI = "FlowLogIds" +_ICEI = "InstanceConnectEndpointId" +_ICE = "InstanceConnectEndpoint" +_iCE = "instanceConnectEndpoint" +_ISI = "IpamScopeId" +_Ipa = "Ipam" +_IERVTI = "IpamExternalResourceVerificationTokenId" +_IERVT = "IpamExternalResourceVerificationToken" +_iERVT = "ipamExternalResourceVerificationToken" +_IIRA = "IpamInternetRegistryAssociation" +_iIRA = "ipamInternetRegistryAssociation" +_IPIp = "IpamPolicyId" +_IPpa = "IpamPolicy" +_iPpa = "ipamPolicy" +_IPpam = "IpamPool" +_iPpam = "ipamPool" +_IPLRI = "IpamPrefixListResolverId" +_IPLR = "IpamPrefixListResolver" +_iPLR = "ipamPrefixListResolver" +_IPLRTI = "IpamPrefixListResolverTargetId" +_IPLRT = "IpamPrefixListResolverTarget" +_iPLRT = "ipamPrefixListResolverTarget" +_IRD = "IpamResourceDiscovery" +_iRD = "ipamResourceDiscovery" +_ISpam = "IpamScope" +_iSpa = "ipamScope" +_KPI = "KeyPairId" +_kPI = "keyPairId" +_LT = "LaunchTemplate" +_lT = "launchTemplate" +_LTV = "LaunchTemplateVersion" +_VNe = "VersionNumber" +_vNe = "versionNumber" +_LGVIGI = "LocalGatewayVirtualInterfaceGroupId" +_Rou = "Route" +_rou = "route" +_LGRTo = "LocalGatewayRouteTable" +_lGRT = "localGatewayRouteTable" +_LGRTVIGAI = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationId" +_LGRTVIGA = "LocalGatewayRouteTableVirtualInterfaceGroupAssociation" +_lGRTVIGA = "localGatewayRouteTableVirtualInterfaceGroupAssociation" +_LGRTVAI = "LocalGatewayRouteTableVpcAssociationId" +_LGRTVA = "LocalGatewayRouteTableVpcAssociation" +_lGRTVA = "localGatewayRouteTableVpcAssociation" +_LGVII = "LocalGatewayVirtualInterfaceId" +_LGVI = "LocalGatewayVirtualInterface" +_lGVI = "localGatewayVirtualInterface" +_LGVIG = "LocalGatewayVirtualInterfaceGroup" +_lGVIG = "localGatewayVirtualInterfaceGroup" +_DELETED = "DELETED" +_NAI = "NetworkAclId" +_nAI = "networkAclId" +_DCVRI = "DeleteClientVpnRouteInput" +_cDCVRR = "com.amazonaws.ec2#DeleteClientVpnRouteRequest" +_DCVRO = "DeleteClientVpnRouteOutput" +_cDCVRRo = "com.amazonaws.ec2#DeleteClientVpnRouteResult" +_DCVR = "DeleteClientVpnRoute" +_DCCI = "DeleteCoipCidrInput" +_cDCCR = "com.amazonaws.ec2#DeleteCoipCidrRequest" +_DCCO = "DeleteCoipCidrOutput" +_cDCCRo = "com.amazonaws.ec2#DeleteCoipCidrResult" +_DCC = "DeleteCoipCidr" +_DCPI = "DeleteCoipPoolInput" +_cDCPR = "com.amazonaws.ec2#DeleteCoipPoolRequest" +_DCPO = "DeleteCoipPoolOutput" +_cDCPRo = "com.amazonaws.ec2#DeleteCoipPoolResult" +_DCP = "DeleteCoipPool" +_DCGIe = "DeleteCustomerGatewayInput" +_cDCGRom = "com.amazonaws.ec2#DeleteCustomerGatewayRequest" +_DCGOe = "DeleteCustomerGatewayOutput" +_DCGe = "DeleteCustomerGateway" +_DDOIe = "DeleteDhcpOptionsInput" +_cDDOR = "com.amazonaws.ec2#DeleteDhcpOptionsRequest" +_DDOO = "DeleteDhcpOptionsOutput" +_DDO = "DeleteDhcpOptions" +_DEOIGI = "DeleteEgressOnlyInternetGatewayInput" +_cDEOIGR = "com.amazonaws.ec2#DeleteEgressOnlyInternetGatewayRequest" +_DEOIGO = "DeleteEgressOnlyInternetGatewayOutput" +_cDEOIGRo = "com.amazonaws.ec2#DeleteEgressOnlyInternetGatewayResult" +_RCe = "ReturnCode" +_rC = "returnCode" +_DEOIG = "DeleteEgressOnlyInternetGateway" +_FISl = "FleetIdSet" +_DFI = "DeleteFleetsInput" +_cDFR = "com.amazonaws.ec2#DeleteFleetsRequest" +_FIle = "FleetIds" +_FSC = "FleetStateCode" +_DR_ = "DELETED_RUNNING" +_dr = "deleted_running" +_DTI = "DELETED_TERMINATING_INSTANCES" +_dt = "deleted_terminating" +_DFSI = "DeleteFleetSuccessItem" +_DFSS = "DeleteFleetSuccessSet" +_DFEC = "DeleteFleetErrorCode" +_FIDNE = "FLEET_ID_DOES_NOT_EXIST" +_fIDNE = "fleetIdDoesNotExist" +_FIM = "FLEET_ID_MALFORMED" +_fIM = "fleetIdMalformed" +_FNIDS = "FLEET_NOT_IN_DELETABLE_STATE" +_fNIDS = "fleetNotInDeletableState" +_DFE = "DeleteFleetError" +_DFEI = "DeleteFleetErrorItem" +_DFES = "DeleteFleetErrorSet" +_DFO = "DeleteFleetsOutput" +_cDFRo = "com.amazonaws.ec2#DeleteFleetsResult" +_SFD = "SuccessfulFleetDeletions" +_SFDS = "SuccessfulFleetDeletionSet" +_sFDS = "successfulFleetDeletionSet" +_UFD = "UnsuccessfulFleetDeletions" +_UFDS = "UnsuccessfulFleetDeletionSet" +_uFDS = "unsuccessfulFleetDeletionSet" +_DFe = "DeleteFleets" +_VFLI = "VpcFlowLogId" +_FLIL = "FlowLogIdList" +_DFLI = "DeleteFlowLogsInput" +_cDFLR = "com.amazonaws.ec2#DeleteFlowLogsRequest" +_FLIl = "FlowLogId" +_DFLO = "DeleteFlowLogsOutput" +_cDFLRo = "com.amazonaws.ec2#DeleteFlowLogsResult" +_DFL = "DeleteFlowLogs" +_DFII = "DeleteFpgaImageInput" +_cDFIR = "com.amazonaws.ec2#DeleteFpgaImageRequest" +_DFIO = "DeleteFpgaImageOutput" +_cDFIRo = "com.amazonaws.ec2#DeleteFpgaImageResult" +_DFIe = "DeleteFpgaImage" +_DIURI = "DeleteImageUsageReportInput" +_cDIURR = "com.amazonaws.ec2#DeleteImageUsageReportRequest" +_DIURO = "DeleteImageUsageReportOutput" +_cDIURRo = "com.amazonaws.ec2#DeleteImageUsageReportResult" +_DIUR = "DeleteImageUsageReport" +_DICEI = "DeleteInstanceConnectEndpointInput" +_cDICER = "com.amazonaws.ec2#DeleteInstanceConnectEndpointRequest" +_DICEO = "DeleteInstanceConnectEndpointOutput" +_cDICERo = "com.amazonaws.ec2#DeleteInstanceConnectEndpointResult" +_DICE = "DeleteInstanceConnectEndpoint" +_DIEWI = "DeleteInstanceEventWindowInput" +_cDIEWR = "com.amazonaws.ec2#DeleteInstanceEventWindowRequest" +_FD = "ForceDelete" +_IEWSC = "InstanceEventWindowStateChange" +_DIEWO = "DeleteInstanceEventWindowOutput" +_cDIEWRo = "com.amazonaws.ec2#DeleteInstanceEventWindowResult" +_iEWS = "instanceEventWindowState" +_DIEW = "DeleteInstanceEventWindow" +_DIGI = "DeleteInternetGatewayInput" +_cDIGR = "com.amazonaws.ec2#DeleteInternetGatewayRequest" +_DIGO = "DeleteInternetGatewayOutput" +_DIG = "DeleteInternetGateway" +_DII = "DeleteIpamInput" +_cDIR = "com.amazonaws.ec2#DeleteIpamRequest" +_Cas = "Cascade" +_DIO = "DeleteIpamOutput" +_cDIRo = "com.amazonaws.ec2#DeleteIpamResult" +_DIel = "DeleteIpam" +_DIERVTI = "DeleteIpamExternalResourceVerificationTokenInput" +_cDIERVTR = "com.amazonaws.ec2#DeleteIpamExternalResourceVerificationTokenRequest" +_DIERVTO = "DeleteIpamExternalResourceVerificationTokenOutput" +_cDIERVTRo = "com.amazonaws.ec2#DeleteIpamExternalResourceVerificationTokenResult" +_DIERVT = "DeleteIpamExternalResourceVerificationToken" +_DIIRAI = "DeleteIpamInternetRegistryAssociationInput" +_cDIIRAR = "com.amazonaws.ec2#DeleteIpamInternetRegistryAssociationRequest" +_DIIRAO = "DeleteIpamInternetRegistryAssociationOutput" +_cDIIRARo = "com.amazonaws.ec2#DeleteIpamInternetRegistryAssociationResult" +_DIIRA = "DeleteIpamInternetRegistryAssociation" +_DIPI = "DeleteIpamPolicyInput" +_cDIPR = "com.amazonaws.ec2#DeleteIpamPolicyRequest" +_DIPO = "DeleteIpamPolicyOutput" +_cDIPRo = "com.amazonaws.ec2#DeleteIpamPolicyResult" +_DIPe = "DeleteIpamPolicy" +_DIPIe = "DeleteIpamPoolInput" +_cDIPRom = "com.amazonaws.ec2#DeleteIpamPoolRequest" +_DIPOe = "DeleteIpamPoolOutput" +_cDIPRoma = "com.amazonaws.ec2#DeleteIpamPoolResult" +_DIPel = "DeleteIpamPool" +_DIPLRI = "DeleteIpamPrefixListResolverInput" +_cDIPLRR = "com.amazonaws.ec2#DeleteIpamPrefixListResolverRequest" +_DIPLRO = "DeleteIpamPrefixListResolverOutput" +_cDIPLRRo = "com.amazonaws.ec2#DeleteIpamPrefixListResolverResult" +_DIPLR = "DeleteIpamPrefixListResolver" +_DIPLRTI = "DeleteIpamPrefixListResolverTargetInput" +_cDIPLRTR = "com.amazonaws.ec2#DeleteIpamPrefixListResolverTargetRequest" +_DIPLRTO = "DeleteIpamPrefixListResolverTargetOutput" +_cDIPLRTRo = "com.amazonaws.ec2#DeleteIpamPrefixListResolverTargetResult" +_DIPLRT = "DeleteIpamPrefixListResolverTarget" +_DIRDI = "DeleteIpamResourceDiscoveryInput" +_cDIRDR = "com.amazonaws.ec2#DeleteIpamResourceDiscoveryRequest" +_DIRDO = "DeleteIpamResourceDiscoveryOutput" +_cDIRDRo = "com.amazonaws.ec2#DeleteIpamResourceDiscoveryResult" +_DIRD = "DeleteIpamResourceDiscovery" +_DIRPRI = "DeleteIpamRoutingPolicyRegistrationInput" +_cDIRPRR = "com.amazonaws.ec2#DeleteIpamRoutingPolicyRegistrationRequest" +_DIRPRO = "DeleteIpamRoutingPolicyRegistrationOutput" +_cDIRPRRo = "com.amazonaws.ec2#DeleteIpamRoutingPolicyRegistrationResult" +_DIRPR = "DeleteIpamRoutingPolicyRegistration" +_DISI = "DeleteIpamScopeInput" +_cDISR = "com.amazonaws.ec2#DeleteIpamScopeRequest" +_DISO = "DeleteIpamScopeOutput" +_cDISRo = "com.amazonaws.ec2#DeleteIpamScopeResult" +_DIS = "DeleteIpamScope" +_KPNWR = "KeyPairNameWithResolver" +_DKPI = "DeleteKeyPairInput" +_cDKPR = "com.amazonaws.ec2#DeleteKeyPairRequest" +_DKPO = "DeleteKeyPairOutput" +_cDKPRo = "com.amazonaws.ec2#DeleteKeyPairResult" +_DKP = "DeleteKeyPair" +_DLTI = "DeleteLaunchTemplateInput" +_cDLTR = "com.amazonaws.ec2#DeleteLaunchTemplateRequest" +_DLTO = "DeleteLaunchTemplateOutput" +_cDLTRo = "com.amazonaws.ec2#DeleteLaunchTemplateResult" +_DLT = "DeleteLaunchTemplate" +_DLTVI = "DeleteLaunchTemplateVersionsInput" +_cDLTVR = "com.amazonaws.ec2#DeleteLaunchTemplateVersionsRequest" +_Vers = "Versions" +_DLTVRSI = "DeleteLaunchTemplateVersionsResponseSuccessItem" +_DLTVRSS = "DeleteLaunchTemplateVersionsResponseSuccessSet" +_LTEC = "LaunchTemplateErrorCode" +_LTIDNE = "LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST" +_lTIDNE = "launchTemplateIdDoesNotExist" +_LTIM = "LAUNCH_TEMPLATE_ID_MALFORMED" +_lTIM = "launchTemplateIdMalformed" +_LTNDNE = "LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST" +_lTNDNE = "launchTemplateNameDoesNotExist" +_LTNM = "LAUNCH_TEMPLATE_NAME_MALFORMED" +_lTNM = "launchTemplateNameMalformed" +_LTVDNE = "LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST" +_lTVDNE = "launchTemplateVersionDoesNotExist" +_REe = "ResponseError" +_DLTVREI = "DeleteLaunchTemplateVersionsResponseErrorItem" +_rEe = "responseError" +_DLTVRES = "DeleteLaunchTemplateVersionsResponseErrorSet" +_DLTVO = "DeleteLaunchTemplateVersionsOutput" +_cDLTVRo = "com.amazonaws.ec2#DeleteLaunchTemplateVersionsResult" +_SDLTV = "SuccessfullyDeletedLaunchTemplateVersions" +_SDLTVS = "SuccessfullyDeletedLaunchTemplateVersionSet" +_sDLTVS = "successfullyDeletedLaunchTemplateVersionSet" +_UDLTV = "UnsuccessfullyDeletedLaunchTemplateVersions" +_UDLTVS = "UnsuccessfullyDeletedLaunchTemplateVersionSet" +_uDLTVS = "unsuccessfullyDeletedLaunchTemplateVersionSet" +_DLTV = "DeleteLaunchTemplateVersions" +_DLGRI = "DeleteLocalGatewayRouteInput" +_cDLGRR = "com.amazonaws.ec2#DeleteLocalGatewayRouteRequest" +_DLGRO = "DeleteLocalGatewayRouteOutput" +_cDLGRRo = "com.amazonaws.ec2#DeleteLocalGatewayRouteResult" +_DLGR = "DeleteLocalGatewayRoute" +_DLGRTI = "DeleteLocalGatewayRouteTableInput" +_cDLGRTR = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableRequest" +_DLGRTO = "DeleteLocalGatewayRouteTableOutput" +_cDLGRTRo = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableResult" +_DLGRT = "DeleteLocalGatewayRouteTable" +_DLGRTVIGAI = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput" +_cDLGRTVIGAR = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest" +_DLGRTVIGAO = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput" +_cDLGRTVIGARo = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult" +_DLGRTVIGA = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation" +_DLGRTVAI = "DeleteLocalGatewayRouteTableVpcAssociationInput" +_cDLGRTVAR = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVpcAssociationRequest" +_DLGRTVAO = "DeleteLocalGatewayRouteTableVpcAssociationOutput" +_cDLGRTVARo = "com.amazonaws.ec2#DeleteLocalGatewayRouteTableVpcAssociationResult" +_DLGRTVA = "DeleteLocalGatewayRouteTableVpcAssociation" +_DLGVII = "DeleteLocalGatewayVirtualInterfaceInput" +_cDLGVIR = "com.amazonaws.ec2#DeleteLocalGatewayVirtualInterfaceRequest" +_DLGVIO = "DeleteLocalGatewayVirtualInterfaceOutput" +_cDLGVIRo = "com.amazonaws.ec2#DeleteLocalGatewayVirtualInterfaceResult" +_DLGVI = "DeleteLocalGatewayVirtualInterface" +_DLGVIGI = "DeleteLocalGatewayVirtualInterfaceGroupInput" +_cDLGVIGR = "com.amazonaws.ec2#DeleteLocalGatewayVirtualInterfaceGroupRequest" +_DLGVIGO = "DeleteLocalGatewayVirtualInterfaceGroupOutput" +_cDLGVIGRo = "com.amazonaws.ec2#DeleteLocalGatewayVirtualInterfaceGroupResult" +_DLGVIG = "DeleteLocalGatewayVirtualInterfaceGroup" +_DMPLI = "DeleteManagedPrefixListInput" +_cDMPLR = "com.amazonaws.ec2#DeleteManagedPrefixListRequest" +_DMPLO = "DeleteManagedPrefixListOutput" +_cDMPLRo = "com.amazonaws.ec2#DeleteManagedPrefixListResult" +_DMPL = "DeleteManagedPrefixList" +_DNGI = "DeleteNatGatewayInput" +_cDNGR = "com.amazonaws.ec2#DeleteNatGatewayRequest" +_DNGO = "DeleteNatGatewayOutput" +_cDNGRo = "com.amazonaws.ec2#DeleteNatGatewayResult" +_DNG = "DeleteNatGateway" +_DNAI = "DeleteNetworkAclInput" +_cDNAR = "com.amazonaws.ec2#DeleteNetworkAclRequest" +_DNAO = "DeleteNetworkAclOutput" +_DNA = "DeleteNetworkAcl" + +DELETE_CLIENT_VPN_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _DCVRI, + {_sSI: _cDCVRR, _sm: None}, + (_CVEI, _TVSI, _DCB, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.SUBNET_ID, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_CLIENT_VPN_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DCVRO, + {_sSI: _cDCVRRo, _smit: None}, + (_Sta,), + ((lambda: schemas.CLIENT_VPN_ROUTE_STATUS, {_aQN: _Sta, _sN: _sta}),), +) + +DELETE_CLIENT_VPN_ROUTE: StaticOperationSchema = ( + 23, + n0, + _DCVR, + 0, + DELETE_CLIENT_VPN_ROUTE_INPUT, + DELETE_CLIENT_VPN_ROUTE_OUTPUT, + (), +) + +DELETE_COIP_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _DCCI, + {_sSI: _cDCCR, _sm: None}, + (_Ci, _CPIo, _DR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.IPV4_POOL_COIP_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_COIP_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _DCCO, + {_sSI: _cDCCRo, _smit: None}, + (_CCo,), + ((lambda: schemas.COIP_CIDR, {_aQN: _CCo, _sN: _cCo}),), +) + +DELETE_COIP_CIDR: StaticOperationSchema = ( + 23, + n0, + _DCC, + 0, + DELETE_COIP_CIDR_INPUT, + DELETE_COIP_CIDR_OUTPUT, + (), +) + +DELETE_COIP_POOL_INPUT: StaticSchema = ( + 18, + n0, + _DCPI, + {_sSI: _cDCPR, _sm: None}, + (_CPIo, _DR), + ((lambda: schemas.IPV4_POOL_COIP_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_COIP_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _DCPO, + {_sSI: _cDCPRo, _smit: None}, + (_CP,), + ((lambda: schemas.COIP_POOL, {_aQN: _CP, _sN: _cP}),), +) + +DELETE_COIP_POOL: StaticOperationSchema = ( + 23, + n0, + _DCP, + 0, + DELETE_COIP_POOL_INPUT, + DELETE_COIP_POOL_OUTPUT, + (), +) + +DELETE_CUSTOMER_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DCGIe, + {_sSI: _cDCGRom, _sm: None}, + (_CGIu, _DR), + ( + (lambda: schemas.CUSTOMER_GATEWAY_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DELETE_CUSTOMER_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _DCGOe, + {_sSI: _sU, _smit: None}, +) + +DELETE_CUSTOMER_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DCGe, + 0, + DELETE_CUSTOMER_GATEWAY_INPUT, + DELETE_CUSTOMER_GATEWAY_OUTPUT, + (), +) + +DHCP_OPTIONS_ID: StaticSchema = (3, n0, _DOI, 0) + +DELETE_DHCP_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DDOIe, + {_sSI: _cDDOR, _sm: None}, + (_DOI, _DR), + ((DHCP_OPTIONS_ID, 1), (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr})), +) + +DELETE_DHCP_OPTIONS_OUTPUT: StaticSchema = (18, n0, _DDOO, {_sSI: _sU, _smit: None}) + +DELETE_DHCP_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _DDO, + 0, + DELETE_DHCP_OPTIONS_INPUT, + DELETE_DHCP_OPTIONS_OUTPUT, + (), +) + +DELETE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DEOIGI, + {_sSI: _cDEOIGR, _sm: None}, + (_DR, _EOIGI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.EGRESS_ONLY_INTERNET_GATEWAY_ID, 1), + ), +) + +DELETE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _DEOIGO, + {_sSI: _cDEOIGRo, _smit: None}, + (_RCe,), + ((lambda: schemas.BOOLEAN, {_aQN: _RCe, _sN: _rC}),), +) + +DELETE_EGRESS_ONLY_INTERNET_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DEOIG, + 0, + DELETE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT, + DELETE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT, + (), +) + +FLEET_ID_SET: StaticSchema = ( + 16, + n0, + _FISl, + 0, + (_me,), + ((lambda: schemas.FLEET_ID, 0),), +) + +DELETE_FLEETS_INPUT: StaticSchema = ( + 18, + n0, + _DFI, + {_sSI: _cDFR, _sm: None}, + (_DR, _FIle, _TIe), + ( + (lambda: schemas.BOOLEAN, 0), + (FLEET_ID_SET, {_sN: _FIl, _smi: None}), + (lambda: schemas.BOOLEAN, 1), + ), +) + +DELETE_FLEETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DFO, + {_sSI: _cDFRo, _smit: None}, + (_SFD, _UFD), + ( + (lambda: DELETE_FLEET_SUCCESS_SET, {_aQN: _SFDS, _sN: _sFDS}), + (lambda: DELETE_FLEET_ERROR_SET, {_aQN: _UFDS, _sN: _uFDS}), + ), +) + +DELETE_FLEETS: StaticOperationSchema = ( + 23, + n0, + _DFe, + 0, + DELETE_FLEETS_INPUT, + DELETE_FLEETS_OUTPUT, + (), +) + +FLEET_STATE_CODE: StaticSchema = ( + 14, + n0, + _FSC, + 0, + (_SUBMITTED, _ACTIVE, _DELETED, _FAILED, _DR_, _DTI, _MODIFYING), + ( + (-1, {_sV: _subm}), + (-1, {_sV: _act}), + (-1, {_sV: _del}), + (-1, {_sV: _fa}), + (-1, {_sV: _dr}), + (-1, {_sV: _dt}), + (-1, {_sV: _mo}), + ), +) + +DELETE_FLEET_SUCCESS_ITEM: StaticSchema = ( + 18, + n0, + _DFSI, + 0, + (_CFS, _PFS, _FIl), + ( + (FLEET_STATE_CODE, {_aQN: _CFS, _sN: _cFS}), + (FLEET_STATE_CODE, {_aQN: _PFS, _sN: _pFS}), + (lambda: schemas.FLEET_ID, {_aQN: _FIl, _sN: _fIl}), + ), +) + +DELETE_FLEET_SUCCESS_SET: StaticSchema = ( + 16, + n0, + _DFSS, + 0, + (_me,), + ((DELETE_FLEET_SUCCESS_ITEM, {_sN: _i}),), +) + +DELETE_FLEET_ERROR_CODE: StaticSchema = ( + 14, + n0, + _DFEC, + 0, + (_FIDNE, _FIM, _FNIDS, _UE), + ((-1, {_sV: _fIDNE}), (-1, {_sV: _fIM}), (-1, {_sV: _fNIDS}), (-1, {_sV: _uE})), +) + +DELETE_FLEET_ERROR: StaticSchema = ( + 18, + n0, + _DFE, + 0, + (_C, _Me), + ( + (DELETE_FLEET_ERROR_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +DELETE_FLEET_ERROR_ITEM: StaticSchema = ( + 18, + n0, + _DFEI, + 0, + (_E, _FIl), + ( + (DELETE_FLEET_ERROR, {_aQN: _E, _sN: _er}), + (lambda: schemas.FLEET_ID, {_aQN: _FIl, _sN: _fIl}), + ), +) + +DELETE_FLEET_ERROR_SET: StaticSchema = ( + 16, + n0, + _DFES, + 0, + (_me,), + ((DELETE_FLEET_ERROR_ITEM, {_sN: _i}),), +) + +VPC_FLOW_LOG_ID: StaticSchema = (3, n0, _VFLI, 0) + +FLOW_LOG_ID_LIST: StaticSchema = ( + 16, + n0, + _FLIL, + 0, + (_me,), + ((VPC_FLOW_LOG_ID, {_sN: _i}),), +) + +DELETE_FLOW_LOGS_INPUT: StaticSchema = ( + 18, + n0, + _DFLI, + {_sSI: _cDFLR, _sm: None}, + (_DR, _FLI), + ((lambda: schemas.BOOLEAN, 0), (FLOW_LOG_ID_LIST, {_sN: _FLIl, _smi: None})), +) + +DELETE_FLOW_LOGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DFLO, + {_sSI: _cDFLRo, _smit: None}, + (_Un,), + ((lambda: schemas.UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), +) + +DELETE_FLOW_LOGS: StaticOperationSchema = ( + 23, + n0, + _DFL, + 0, + DELETE_FLOW_LOGS_INPUT, + DELETE_FLOW_LOGS_OUTPUT, + (), +) + +DELETE_FPGA_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _DFII, + {_sSI: _cDFIR, _sm: None}, + (_DR, _FII), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.FPGA_IMAGE_ID, 1)), +) + +DELETE_FPGA_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _DFIO, + {_sSI: _cDFIRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DELETE_FPGA_IMAGE: StaticOperationSchema = ( + 23, + n0, + _DFIe, + 0, + DELETE_FPGA_IMAGE_INPUT, + DELETE_FPGA_IMAGE_OUTPUT, + (), +) + +DELETE_IMAGE_USAGE_REPORT_INPUT: StaticSchema = ( + 18, + n0, + _DIURI, + {_sSI: _cDIURR, _sm: None}, + (_RIep, _DR), + ((lambda: schemas.IMAGE_USAGE_REPORT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_IMAGE_USAGE_REPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _DIURO, + {_sSI: _cDIURRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DELETE_IMAGE_USAGE_REPORT: StaticOperationSchema = ( + 23, + n0, + _DIUR, + 0, + DELETE_IMAGE_USAGE_REPORT_INPUT, + DELETE_IMAGE_USAGE_REPORT_OUTPUT, + (), +) + +DELETE_INSTANCE_CONNECT_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DICEI, + {_sSI: _cDICER, _sm: None}, + (_DR, _ICEI), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.INSTANCE_CONNECT_ENDPOINT_ID, 1)), +) + +DELETE_INSTANCE_CONNECT_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DICEO, + {_sSI: _cDICERo, _smit: None}, + (_ICE,), + ((lambda: schemas.EC2_INSTANCE_CONNECT_ENDPOINT, {_aQN: _ICE, _sN: _iCE}),), +) + +DELETE_INSTANCE_CONNECT_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DICE, + 0, + DELETE_INSTANCE_CONNECT_ENDPOINT_INPUT, + DELETE_INSTANCE_CONNECT_ENDPOINT_OUTPUT, + (), +) + +DELETE_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( + 18, + n0, + _DIEWI, + {_sSI: _cDIEWR, _sm: None}, + (_DR, _FD, _IEWI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_EVENT_WINDOW_ID, {_sN: _IEWI, _smi: None}), + ), +) + +DELETE_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( + 18, + n0, + _DIEWO, + {_sSI: _cDIEWRo, _smit: None}, + (_IEWS,), + ((lambda: INSTANCE_EVENT_WINDOW_STATE_CHANGE, {_aQN: _IEWS, _sN: _iEWS}),), +) + +DELETE_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( + 23, + n0, + _DIEW, + 0, + DELETE_INSTANCE_EVENT_WINDOW_INPUT, + DELETE_INSTANCE_EVENT_WINDOW_OUTPUT, + (), +) + +INSTANCE_EVENT_WINDOW_STATE_CHANGE: StaticSchema = ( + 18, + n0, + _IEWSC, + 0, + (_IEWI, _St), + ( + (lambda: schemas.INSTANCE_EVENT_WINDOW_ID, {_aQN: _IEWI, _sN: _iEWI}), + (lambda: schemas.INSTANCE_EVENT_WINDOW_STATE, {_aQN: _St, _sN: _st}), + ), +) + +DELETE_INTERNET_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DIGI, + {_sSI: _cDIGR, _sm: None}, + (_DR, _IGI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INTERNET_GATEWAY_ID, {_aQN: _IGI, _sN: _iGI, _smi: None}), + ), +) + +DELETE_INTERNET_GATEWAY_OUTPUT: StaticSchema = (18, n0, _DIGO, {_sSI: _sU, _smit: None}) + +DELETE_INTERNET_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DIG, + 0, + DELETE_INTERNET_GATEWAY_INPUT, + DELETE_INTERNET_GATEWAY_OUTPUT, + (), +) + +DELETE_IPAM_INPUT: StaticSchema = ( + 18, + n0, + _DII, + {_sSI: _cDIR, _sm: None}, + (_DR, _IIp, _Cas), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_IPAM_OUTPUT: StaticSchema = ( + 18, + n0, + _DIO, + {_sSI: _cDIRo, _smit: None}, + (_Ipa,), + ((lambda: schemas.IPAM, {_aQN: _Ipa, _sN: _ip}),), +) + +DELETE_IPAM: StaticOperationSchema = ( + 23, + n0, + _DIel, + 0, + DELETE_IPAM_INPUT, + DELETE_IPAM_OUTPUT, + (), +) + +DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _DIERVTI, + {_sSI: _cDIERVTR, _sm: None}, + (_DR, _IERVTI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_ID, 1), + ), +) + +DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _DIERVTO, + {_sSI: _cDIERVTRo, _smit: None}, + (_IERVT,), + ( + ( + lambda: schemas.IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN, + {_aQN: _IERVT, _sN: _iERVT}, + ), + ), +) + +DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN: StaticOperationSchema = ( + 23, + n0, + _DIERVT, + 0, + DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_INPUT, + DELETE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_OUTPUT, + (), +) + +DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _DIIRAI, + {_sSI: _cDIIRAR, _sm: None}, + (_DR, _IIRAI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + ), +) + +DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DIIRAO, + {_sSI: _cDIIRARo, _smit: None}, + (_IIRA,), + ((lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION, {_aQN: _IIRA, _sN: _iIRA}),), +) + +DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _DIIRA, + 0, + DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT, + DELETE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT, + (), +) + +DELETE_IPAM_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DIPI, + {_sSI: _cDIPR, _sm: None}, + (_DR, _IPIp), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.IPAM_POLICY_ID, 1)), +) + +DELETE_IPAM_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPO, + {_sSI: _cDIPRo, _smit: None}, + (_IPpa,), + ((lambda: schemas.IPAM_POLICY, {_aQN: _IPpa, _sN: _iPpa}),), +) + +DELETE_IPAM_POLICY: StaticOperationSchema = ( + 23, + n0, + _DIPe, + 0, + DELETE_IPAM_POLICY_INPUT, + DELETE_IPAM_POLICY_OUTPUT, + (), +) + +DELETE_IPAM_POOL_INPUT: StaticSchema = ( + 18, + n0, + _DIPIe, + {_sSI: _cDIPRom, _sm: None}, + (_DR, _IPI, _Cas), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_IPAM_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPOe, + {_sSI: _cDIPRoma, _smit: None}, + (_IPpam,), + ((lambda: schemas.IPAM_POOL, {_aQN: _IPpam, _sN: _iPpam}),), +) + +DELETE_IPAM_POOL: StaticOperationSchema = ( + 23, + n0, + _DIPel, + 0, + DELETE_IPAM_POOL_INPUT, + DELETE_IPAM_POOL_OUTPUT, + (), +) + +DELETE_IPAM_PREFIX_LIST_RESOLVER_INPUT: StaticSchema = ( + 18, + n0, + _DIPLRI, + {_sSI: _cDIPLRR, _sm: None}, + (_DR, _IPLRI), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_ID, 1)), +) + +DELETE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPLRO, + {_sSI: _cDIPLRRo, _smit: None}, + (_IPLR,), + ((lambda: schemas.IPAM_PREFIX_LIST_RESOLVER, {_aQN: _IPLR, _sN: _iPLR}),), +) + +DELETE_IPAM_PREFIX_LIST_RESOLVER: StaticOperationSchema = ( + 23, + n0, + _DIPLR, + 0, + DELETE_IPAM_PREFIX_LIST_RESOLVER_INPUT, + DELETE_IPAM_PREFIX_LIST_RESOLVER_OUTPUT, + (), +) + +DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT: StaticSchema = ( + 18, + n0, + _DIPLRTI, + {_sSI: _cDIPLRTR, _sm: None}, + (_DR, _IPLRTI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_TARGET_ID, 1), + ), +) + +DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPLRTO, + {_sSI: _cDIPLRTRo, _smit: None}, + (_IPLRT,), + ((lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_TARGET, {_aQN: _IPLRT, _sN: _iPLRT}),), +) + +DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET: StaticOperationSchema = ( + 23, + n0, + _DIPLRT, + 0, + DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT, + DELETE_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT, + (), +) + +DELETE_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( + 18, + n0, + _DIRDI, + {_sSI: _cDIRDR, _sm: None}, + (_DR, _IRDI), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, 1)), +) + +DELETE_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( + 18, + n0, + _DIRDO, + {_sSI: _cDIRDRo, _smit: None}, + (_IRD,), + ((lambda: schemas.IPAM_RESOURCE_DISCOVERY, {_aQN: _IRD, _sN: _iRD}),), +) + +DELETE_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( + 23, + n0, + _DIRD, + 0, + DELETE_IPAM_RESOURCE_DISCOVERY_INPUT, + DELETE_IPAM_RESOURCE_DISCOVERY_OUTPUT, + (), +) + +DELETE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT: StaticSchema = ( + 18, + n0, + _DIRPRI, + {_sSI: _cDIRPRR, _sm: None}, + (_DR, _IIRAI, _Ci, _Fo, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +DELETE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DIRPRO, + {_sSI: _cDIRPRRo, _smit: None}, + (_IRPRD,), + ( + ( + lambda: schemas.IPAM_ROUTING_POLICY_REGISTRATION_DELTA, + {_aQN: _IRPRD, _sN: _iRPRD}, + ), + ), +) + +DELETE_IPAM_ROUTING_POLICY_REGISTRATION: StaticOperationSchema = ( + 23, + n0, + _DIRPR, + 0, + DELETE_IPAM_ROUTING_POLICY_REGISTRATION_INPUT, + DELETE_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT, + (), +) + +DELETE_IPAM_SCOPE_INPUT: StaticSchema = ( + 18, + n0, + _DISI, + {_sSI: _cDISR, _sm: None}, + (_DR, _ISI), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.IPAM_SCOPE_ID, 1)), +) + +DELETE_IPAM_SCOPE_OUTPUT: StaticSchema = ( + 18, + n0, + _DISO, + {_sSI: _cDISRo, _smit: None}, + (_ISpam,), + ((lambda: schemas.IPAM_SCOPE, {_aQN: _ISpam, _sN: _iSpa}),), +) + +DELETE_IPAM_SCOPE: StaticOperationSchema = ( + 23, + n0, + _DIS, + 0, + DELETE_IPAM_SCOPE_INPUT, + DELETE_IPAM_SCOPE_OUTPUT, + (), +) + +KEY_PAIR_NAME_WITH_RESOLVER: StaticSchema = (3, n0, _KPNWR, 0) + +KEY_PAIR_ID: StaticSchema = (3, n0, _KPI, 0) + +DELETE_KEY_PAIR_INPUT: StaticSchema = ( + 18, + n0, + _DKPI, + {_sSI: _cDKPR, _sm: None}, + (_KN, _KPI, _DR), + ( + (KEY_PAIR_NAME_WITH_RESOLVER, 0), + (KEY_PAIR_ID, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DELETE_KEY_PAIR_OUTPUT: StaticSchema = ( + 18, + n0, + _DKPO, + {_sSI: _cDKPRo, _smit: None}, + (_R, _KPI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + (lambda: schemas.STRING, {_aQN: _KPI, _sN: _kPI}), + ), +) + +DELETE_KEY_PAIR: StaticOperationSchema = ( + 23, + n0, + _DKP, + 0, + DELETE_KEY_PAIR_INPUT, + DELETE_KEY_PAIR_OUTPUT, + (), +) + +DELETE_LAUNCH_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _DLTI, + {_sSI: _cDLTR, _sm: None}, + (_DR, _LTI, _LTN), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.LAUNCH_TEMPLATE_ID, 0), + (lambda: schemas.LAUNCH_TEMPLATE_NAME, 0), + ), +) + +DELETE_LAUNCH_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _DLTO, + {_sSI: _cDLTRo, _smit: None}, + (_LT,), + ((lambda: schemas.LAUNCH_TEMPLATE, {_aQN: _LT, _sN: _lT}),), +) + +DELETE_LAUNCH_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _DLT, + 0, + DELETE_LAUNCH_TEMPLATE_INPUT, + DELETE_LAUNCH_TEMPLATE_OUTPUT, + (), +) + +DELETE_LAUNCH_TEMPLATE_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DLTVI, + {_sSI: _cDLTVR, _sm: None}, + (_DR, _LTI, _LTN, _Vers), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.LAUNCH_TEMPLATE_ID, 0), + (lambda: schemas.LAUNCH_TEMPLATE_NAME, 0), + (lambda: schemas.VERSION_STRING_LIST, {_sN: _LTV, _smi: None}), + ), +) + +DELETE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DLTVO, + {_sSI: _cDLTVRo, _smit: None}, + (_SDLTV, _UDLTV), + ( + ( + lambda: DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_SET, + {_aQN: _SDLTVS, _sN: _sDLTVS}, + ), + ( + lambda: DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_SET, + {_aQN: _UDLTVS, _sN: _uDLTVS}, + ), + ), +) + +DELETE_LAUNCH_TEMPLATE_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _DLTV, + 0, + DELETE_LAUNCH_TEMPLATE_VERSIONS_INPUT, + DELETE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT, + (), +) + +DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_ITEM: StaticSchema = ( + 18, + n0, + _DLTVRSI, + 0, + (_LTI, _LTN, _VNe), + ( + (lambda: schemas.STRING, {_aQN: _LTI, _sN: _lTI}), + (lambda: schemas.STRING, {_aQN: _LTN, _sN: _lTN}), + (lambda: schemas.LONG, {_aQN: _VNe, _sN: _vNe}), + ), +) + +DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_SET: StaticSchema = ( + 16, + n0, + _DLTVRSS, + 0, + (_me,), + ((DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_SUCCESS_ITEM, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_ERROR_CODE: StaticSchema = ( + 14, + n0, + _LTEC, + 0, + (_LTIDNE, _LTIM, _LTNDNE, _LTNM, _LTVDNE, _UE), + ( + (-1, {_sV: _lTIDNE}), + (-1, {_sV: _lTIM}), + (-1, {_sV: _lTNDNE}), + (-1, {_sV: _lTNM}), + (-1, {_sV: _lTVDNE}), + (-1, {_sV: _uE}), + ), +) + +RESPONSE_ERROR: StaticSchema = ( + 18, + n0, + _REe, + 0, + (_C, _Me), + ( + (LAUNCH_TEMPLATE_ERROR_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_ITEM: StaticSchema = ( + 18, + n0, + _DLTVREI, + 0, + (_LTI, _LTN, _VNe, _REe), + ( + (lambda: schemas.STRING, {_aQN: _LTI, _sN: _lTI}), + (lambda: schemas.STRING, {_aQN: _LTN, _sN: _lTN}), + (lambda: schemas.LONG, {_aQN: _VNe, _sN: _vNe}), + (RESPONSE_ERROR, {_aQN: _REe, _sN: _rEe}), + ), +) + +DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_SET: StaticSchema = ( + 16, + n0, + _DLTVRES, + 0, + (_me,), + ((DELETE_LAUNCH_TEMPLATE_VERSIONS_RESPONSE_ERROR_ITEM, {_sN: _i}),), +) + +DELETE_LOCAL_GATEWAY_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _DLGRI, + {_sSI: _cDLGRR, _sm: None}, + (_DCB, _LGRTI, _DR, _DPLI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 0), + ), +) + +DELETE_LOCAL_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGRO, + {_sSI: _cDLGRRo, _smit: None}, + (_Rou,), + ((lambda: schemas.LOCAL_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), +) + +DELETE_LOCAL_GATEWAY_ROUTE: StaticOperationSchema = ( + 23, + n0, + _DLGR, + 0, + DELETE_LOCAL_GATEWAY_ROUTE_INPUT, + DELETE_LOCAL_GATEWAY_ROUTE_OUTPUT, + (), +) + +DELETE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DLGRTI, + {_sSI: _cDLGRTR, _sm: None}, + (_LGRTI, _DR), + ((lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGRTO, + {_sSI: _cDLGRTRo, _smit: None}, + (_LGRTo,), + ((lambda: schemas.LOCAL_GATEWAY_ROUTE_TABLE, {_aQN: _LGRTo, _sN: _lGRT}),), +) + +DELETE_LOCAL_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _DLGRT, + 0, + DELETE_LOCAL_GATEWAY_ROUTE_TABLE_INPUT, + DELETE_LOCAL_GATEWAY_ROUTE_TABLE_OUTPUT, + (), +) + +DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _DLGRTVIGAI, + {_sSI: _cDLGRTVIGAR, _sm: None}, + (_LGRTVIGAI, _DR), + ( + ( + lambda: ( + schemas.LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID + ), + 1, + ), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGRTVIGAO, + {_sSI: _cDLGRTVIGARo, _smit: None}, + (_LGRTVIGA,), + ( + ( + lambda: ( + schemas.LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION + ), + {_aQN: _LGRTVIGA, _sN: _lGRTVIGA}, + ), + ), +) + +DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _DLGRTVIGA, + 0, + DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_INPUT, + DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_OUTPUT, + (), +) + +DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _DLGRTVAI, + {_sSI: _cDLGRTVAR, _sm: None}, + (_LGRTVAI, _DR), + ( + (lambda: schemas.LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGRTVAO, + {_sSI: _cDLGRTVARo, _smit: None}, + (_LGRTVA,), + ( + ( + lambda: schemas.LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION, + {_aQN: _LGRTVA, _sN: _lGRTVA}, + ), + ), +) + +DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _DLGRTVA, + 0, + DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_INPUT, + DELETE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_OUTPUT, + (), +) + +DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT: StaticSchema = ( + 18, + n0, + _DLGVII, + {_sSI: _cDLGVIR, _sm: None}, + (_LGVII, _DR), + ( + (lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGVIO, + {_sSI: _cDLGVIRo, _smit: None}, + (_LGVI,), + ((lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE, {_aQN: _LGVI, _sN: _lGVI}),), +) + +DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE: StaticOperationSchema = ( + 23, + n0, + _DLGVI, + 0, + DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_INPUT, + DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_OUTPUT, + (), +) + +DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DLGVIGI, + {_sSI: _cDLGVIGR, _sm: None}, + (_LGVIGI, _DR), + ( + (lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGVIGO, + {_sSI: _cDLGVIGRo, _smit: None}, + (_LGVIG,), + ( + ( + lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP, + {_aQN: _LGVIG, _sN: _lGVIG}, + ), + ), +) + +DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP: StaticOperationSchema = ( + 23, + n0, + _DLGVIG, + 0, + DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_INPUT, + DELETE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_OUTPUT, + (), +) + +DELETE_MANAGED_PREFIX_LIST_INPUT: StaticSchema = ( + 18, + n0, + _DMPLI, + {_sSI: _cDMPLR, _sm: None}, + (_DR, _PLI), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 1)), +) + +DELETE_MANAGED_PREFIX_LIST_OUTPUT: StaticSchema = ( + 18, + n0, + _DMPLO, + {_sSI: _cDMPLRo, _smit: None}, + (_PL,), + ((lambda: schemas.MANAGED_PREFIX_LIST, {_aQN: _PL, _sN: _pL}),), +) + +DELETE_MANAGED_PREFIX_LIST: StaticOperationSchema = ( + 23, + n0, + _DMPL, + 0, + DELETE_MANAGED_PREFIX_LIST_INPUT, + DELETE_MANAGED_PREFIX_LIST_OUTPUT, + (), +) + +DELETE_NAT_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DNGI, + {_sSI: _cDNGR, _sm: None}, + (_DR, _NGI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.NAT_GATEWAY_ID, {_sN: _NGI, _smi: None}), + ), +) + +DELETE_NAT_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _DNGO, + {_sSI: _cDNGRo, _smit: None}, + (_NGI,), + ((lambda: schemas.STRING, {_aQN: _NGI, _sN: _nGI}),), +) + +DELETE_NAT_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DNG, + 0, + DELETE_NAT_GATEWAY_INPUT, + DELETE_NAT_GATEWAY_OUTPUT, + (), +) + +DELETE_NETWORK_ACL_INPUT: StaticSchema = ( + 18, + n0, + _DNAI, + {_sSI: _cDNAR, _sm: None}, + (_DR, _NAI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), + ), +) + +DELETE_NETWORK_ACL_OUTPUT: StaticSchema = (18, n0, _DNAO, {_sSI: _sU, _smit: None}) + +DELETE_NETWORK_ACL: StaticOperationSchema = ( + 23, + n0, + _DNA, + 0, + DELETE_NETWORK_ACL_INPUT, + DELETE_NETWORK_ACL_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_21.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_21.py new file mode 100644 index 000000000..5c153f0c1 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_21.py @@ -0,0 +1,1614 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_Ta = "Tag" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_TGAI = "TransitGatewayAttachmentId" +_TGI = "TransitGatewayId" +_TGCVA = "TransitGatewayClientVpnAttachment" +_tGCVA = "transitGatewayClientVpnAttachment" +_TGMDI = "TransitGatewayMulticastDomainId" +_SIu = "SubnetId" +_RIe = "ResourceId" +_rI = "resourceId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_TGPA = "TransitGatewayPeeringAttachment" +_tGPA = "transitGatewayPeeringAttachment" +_E = "Error" +_er = "error" +_dRr = "dryRun" +_Eg = "Egress" +_egr = "egress" +_RN = "RuleNumber" +_rN = "ruleNumber" +_DPLI = "DestinationPrefixListId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_PLI = "PrefixListId" +_TGr = "TransitGateway" +_tG = "transitGateway" +_TGRT = "TransitGatewayRouteTable" +_tGRT = "transitGatewayRouteTable" +_TGPT = "TransitGatewayPolicyTable" +_tGPT = "transitGatewayPolicyTable" +_TGPTE = "TransitGatewayPolicyTableEntry" +_tGPTE = "transitGatewayPolicyTableEntry" +_NIASAI = "NetworkInsightsAccessScopeAnalysisId" +_NIASI = "NetworkInsightsAccessScopeId" +_nIASAI = "networkInsightsAccessScopeAnalysisId" +_nIASI = "networkInsightsAccessScopeId" +_Res = "Resources" +_NBG = "NetworkBorderGroup" +_PIo = "PoolId" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_sU = "smithy.api#Unit" +_RSI = "RouteServerId" +_RTIo = "RouteTableId" +_rTIo = "routeTableId" +_GIr = "GroupId" +_TGPTI = "TransitGatewayPolicyTableId" +_TGRTI = "TransitGatewayRouteTableId" +_gIr = "groupId" +_GN = "GroupName" +_gN = "groupName" +_Fo = "Force" +_RIIes = "ReservedInstancesId" +_rII = "reservedInstancesId" +_UE = "UNEXPECTED_ERROR" +_SIn = "SnapshotId" +_DCB = "DestinationCidrBlock" +_SSIe = "SecondarySubnetId" +_dCB = "destinationCidrBlock" +_Rou = "Route" +_rou = "route" +_NAI = "NetworkAclId" +_nAI = "networkAclId" +_NIPI = "NetworkInsightsPathId" +_nIPI = "networkInsightsPathId" +_NIPIe = "NetworkInterfacePermissionId" +_DICB = "DestinationIpv6CidrBlock" +_dICB = "destinationIpv6CidrBlock" +_RSo = "RouteServer" +_rSo = "routeServer" +_RSEI = "RouteServerEndpointId" +_RSE = "RouteServerEndpoint" +_rSE = "routeServerEndpoint" +_RSPI = "RouteServerPeerId" +_RSP = "RouteServerPeer" +_rSP = "routeServerPeer" +_SNI = "SecondaryNetworkId" +_SNec = "SecondaryNetwork" +_sNec = "secondaryNetwork" +_SSe = "SecondarySubnet" +_sSe = "secondarySubnet" +_SCRIu = "SubnetCidrReservationId" +_TMFRI = "TrafficMirrorFilterRuleId" +_tMFRI = "trafficMirrorFilterRuleId" +_TMFI = "TrafficMirrorFilterId" +_tMFI = "trafficMirrorFilterId" +_TMTI = "TrafficMirrorTargetId" +_TMSI = "TrafficMirrorSessionId" +_tMSI = "trafficMirrorSessionId" +_tMTI = "trafficMirrorTargetId" +_TGCr = "TransitGatewayConnect" +_tGC = "transitGatewayConnect" +_TGCPI = "TransitGatewayConnectPeerId" +_TGCP = "TransitGatewayConnectPeer" +_tGCP = "transitGatewayConnectPeer" +_TGMPI = "TransitGatewayMeteringPolicyId" +_TGMP = "TransitGatewayMeteringPolicy" +_tGMP = "transitGatewayMeteringPolicy" +_PRNo = "PolicyRuleNumber" +_TGMPE = "TransitGatewayMeteringPolicyEntry" +_tGMPE = "transitGatewayMeteringPolicyEntry" +_TGMD = "TransitGatewayMulticastDomain" +_tGMD = "transitGatewayMulticastDomain" +_TGPLR = "TransitGatewayPrefixListReference" +_tGPLR = "transitGatewayPrefixListReference" +_DNAEI = "DeleteNetworkAclEntryInput" +_cDNAER = "com.amazonaws.ec2#DeleteNetworkAclEntryRequest" +_DNAEO = "DeleteNetworkAclEntryOutput" +_DNAE = "DeleteNetworkAclEntry" +_DNIASI = "DeleteNetworkInsightsAccessScopeInput" +_cDNIASR = "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeRequest" +_DNIASO = "DeleteNetworkInsightsAccessScopeOutput" +_cDNIASRo = "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeResult" +_DNIAS = "DeleteNetworkInsightsAccessScope" +_DNIASAI = "DeleteNetworkInsightsAccessScopeAnalysisInput" +_cDNIASAR = "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeAnalysisRequest" +_DNIASAO = "DeleteNetworkInsightsAccessScopeAnalysisOutput" +_cDNIASARo = "com.amazonaws.ec2#DeleteNetworkInsightsAccessScopeAnalysisResult" +_DNIASA = "DeleteNetworkInsightsAccessScopeAnalysis" +_NIAI = "NetworkInsightsAnalysisId" +_DNIAI = "DeleteNetworkInsightsAnalysisInput" +_cDNIAR = "com.amazonaws.ec2#DeleteNetworkInsightsAnalysisRequest" +_DNIAO = "DeleteNetworkInsightsAnalysisOutput" +_cDNIARo = "com.amazonaws.ec2#DeleteNetworkInsightsAnalysisResult" +_nIAI = "networkInsightsAnalysisId" +_DNIA = "DeleteNetworkInsightsAnalysis" +_DNIPI = "DeleteNetworkInsightsPathInput" +_cDNIPR = "com.amazonaws.ec2#DeleteNetworkInsightsPathRequest" +_DNIPO = "DeleteNetworkInsightsPathOutput" +_cDNIPRo = "com.amazonaws.ec2#DeleteNetworkInsightsPathResult" +_DNIP = "DeleteNetworkInsightsPath" +_DNII = "DeleteNetworkInterfaceInput" +_cDNIR = "com.amazonaws.ec2#DeleteNetworkInterfaceRequest" +_DNIO = "DeleteNetworkInterfaceOutput" +_DNI = "DeleteNetworkInterface" +_DNIPIe = "DeleteNetworkInterfacePermissionInput" +_cDNIPRom = "com.amazonaws.ec2#DeleteNetworkInterfacePermissionRequest" +_DNIPOe = "DeleteNetworkInterfacePermissionOutput" +_cDNIPRoma = "com.amazonaws.ec2#DeleteNetworkInterfacePermissionResult" +_DNIPe = "DeleteNetworkInterfacePermission" +_PGNWR = "PlacementGroupNameWithResolver" +_DPGI = "DeletePlacementGroupInput" +_cDPGR = "com.amazonaws.ec2#DeletePlacementGroupRequest" +_DPGO = "DeletePlacementGroupOutput" +_DPG = "DeletePlacementGroup" +_DPIPI = "DeletePublicIpv4PoolInput" +_cDPIPR = "com.amazonaws.ec2#DeletePublicIpv4PoolRequest" +_DPIPO = "DeletePublicIpv4PoolOutput" +_cDPIPRo = "com.amazonaws.ec2#DeletePublicIpv4PoolResult" +_RV = "ReturnValue" +_rV = "returnValue" +_DPIP = "DeletePublicIpv4Pool" +_DQRIIL = "DeleteQueuedReservedInstancesIdList" +_DQRII = "DeleteQueuedReservedInstancesInput" +_cDQRIR = "com.amazonaws.ec2#DeleteQueuedReservedInstancesRequest" +_RIIese = "ReservedInstancesIds" +_DQRIEC = "DeleteQueuedReservedInstancesErrorCode" +_RIII = "RESERVED_INSTANCES_ID_INVALID" +_riii = "reserved-instances-id-invalid" +_RINIQS = "RESERVED_INSTANCES_NOT_IN_QUEUED_STATE" +_riniqs = "reserved-instances-not-in-queued-state" +_ue_ = "unexpected-error" +_DQRIE = "DeleteQueuedReservedInstancesError" +_FQPD = "FailedQueuedPurchaseDeletion" +_FQPDS = "FailedQueuedPurchaseDeletionSet" +_SQPD = "SuccessfulQueuedPurchaseDeletion" +_SQPDS = "SuccessfulQueuedPurchaseDeletionSet" +_DQRIO = "DeleteQueuedReservedInstancesOutput" +_cDQRIRo = "com.amazonaws.ec2#DeleteQueuedReservedInstancesResult" +_SQPDu = "SuccessfulQueuedPurchaseDeletions" +_sQPDS = "successfulQueuedPurchaseDeletionSet" +_FQPDa = "FailedQueuedPurchaseDeletions" +_fQPDS = "failedQueuedPurchaseDeletionSet" +_DQRI = "DeleteQueuedReservedInstances" +_DRI = "DeleteRouteInput" +_cDRR = "com.amazonaws.ec2#DeleteRouteRequest" +_DRO = "DeleteRouteOutput" +_DRel = "DeleteRoute" +_DRSI = "DeleteRouteServerInput" +_cDRSR = "com.amazonaws.ec2#DeleteRouteServerRequest" +_DRSO = "DeleteRouteServerOutput" +_cDRSRo = "com.amazonaws.ec2#DeleteRouteServerResult" +_DRS = "DeleteRouteServer" +_DRSEI = "DeleteRouteServerEndpointInput" +_cDRSER = "com.amazonaws.ec2#DeleteRouteServerEndpointRequest" +_DRSEO = "DeleteRouteServerEndpointOutput" +_cDRSERo = "com.amazonaws.ec2#DeleteRouteServerEndpointResult" +_DRSE = "DeleteRouteServerEndpoint" +_DRSPI = "DeleteRouteServerPeerInput" +_cDRSPR = "com.amazonaws.ec2#DeleteRouteServerPeerRequest" +_DRSPO = "DeleteRouteServerPeerOutput" +_cDRSPRo = "com.amazonaws.ec2#DeleteRouteServerPeerResult" +_DRSP = "DeleteRouteServerPeer" +_DRTI = "DeleteRouteTableInput" +_cDRTR = "com.amazonaws.ec2#DeleteRouteTableRequest" +_DRTO = "DeleteRouteTableOutput" +_DRT = "DeleteRouteTable" +_DSNI = "DeleteSecondaryNetworkInput" +_cDSNR = "com.amazonaws.ec2#DeleteSecondaryNetworkRequest" +_DSNO = "DeleteSecondaryNetworkOutput" +_cDSNRo = "com.amazonaws.ec2#DeleteSecondaryNetworkResult" +_DSN = "DeleteSecondaryNetwork" +_DSSI = "DeleteSecondarySubnetInput" +_cDSSR = "com.amazonaws.ec2#DeleteSecondarySubnetRequest" +_DSSO = "DeleteSecondarySubnetOutput" +_cDSSRo = "com.amazonaws.ec2#DeleteSecondarySubnetResult" +_DSSe = "DeleteSecondarySubnet" +_DSGI = "DeleteSecurityGroupInput" +_cDSGR = "com.amazonaws.ec2#DeleteSecurityGroupRequest" +_DSGO = "DeleteSecurityGroupOutput" +_cDSGRo = "com.amazonaws.ec2#DeleteSecurityGroupResult" +_DSG = "DeleteSecurityGroup" +_DSI = "DeleteSnapshotInput" +_cDSR = "com.amazonaws.ec2#DeleteSnapshotRequest" +_DSO = "DeleteSnapshotOutput" +_DSel = "DeleteSnapshot" +_DSDSI = "DeleteSpotDatafeedSubscriptionInput" +_cDSDSR = "com.amazonaws.ec2#DeleteSpotDatafeedSubscriptionRequest" +_DSDSO = "DeleteSpotDatafeedSubscriptionOutput" +_DSDS = "DeleteSpotDatafeedSubscription" +_DSIe = "DeleteSubnetInput" +_cDSRo = "com.amazonaws.ec2#DeleteSubnetRequest" +_DSOe = "DeleteSubnetOutput" +_DSele = "DeleteSubnet" +_DSCRI = "DeleteSubnetCidrReservationInput" +_cDSCRR = "com.amazonaws.ec2#DeleteSubnetCidrReservationRequest" +_DSCRO = "DeleteSubnetCidrReservationOutput" +_cDSCRRo = "com.amazonaws.ec2#DeleteSubnetCidrReservationResult" +_DSCR = "DeletedSubnetCidrReservation" +_dSCR = "deletedSubnetCidrReservation" +_DSCRe = "DeleteSubnetCidrReservation" +_DTIe = "DeleteTagsInput" +_cDTR = "com.amazonaws.ec2#DeleteTagsRequest" +_tag = "tag" +_DTO = "DeleteTagsOutput" +_DTelet = "DeleteTags" +_DTMFI = "DeleteTrafficMirrorFilterInput" +_cDTMFR = "com.amazonaws.ec2#DeleteTrafficMirrorFilterRequest" +_DTMFO = "DeleteTrafficMirrorFilterOutput" +_cDTMFRo = "com.amazonaws.ec2#DeleteTrafficMirrorFilterResult" +_DTMF = "DeleteTrafficMirrorFilter" +_DTMFRI = "DeleteTrafficMirrorFilterRuleInput" +_cDTMFRR = "com.amazonaws.ec2#DeleteTrafficMirrorFilterRuleRequest" +_DTMFRO = "DeleteTrafficMirrorFilterRuleOutput" +_cDTMFRRo = "com.amazonaws.ec2#DeleteTrafficMirrorFilterRuleResult" +_DTMFR = "DeleteTrafficMirrorFilterRule" +_DTMSI = "DeleteTrafficMirrorSessionInput" +_cDTMSR = "com.amazonaws.ec2#DeleteTrafficMirrorSessionRequest" +_DTMSO = "DeleteTrafficMirrorSessionOutput" +_cDTMSRo = "com.amazonaws.ec2#DeleteTrafficMirrorSessionResult" +_DTMS = "DeleteTrafficMirrorSession" +_DTMTI = "DeleteTrafficMirrorTargetInput" +_cDTMTR = "com.amazonaws.ec2#DeleteTrafficMirrorTargetRequest" +_DTMTO = "DeleteTrafficMirrorTargetOutput" +_cDTMTRo = "com.amazonaws.ec2#DeleteTrafficMirrorTargetResult" +_DTMT = "DeleteTrafficMirrorTarget" +_DTGI = "DeleteTransitGatewayInput" +_cDTGR = "com.amazonaws.ec2#DeleteTransitGatewayRequest" +_DTGO = "DeleteTransitGatewayOutput" +_cDTGRo = "com.amazonaws.ec2#DeleteTransitGatewayResult" +_DTG = "DeleteTransitGateway" +_DTGCVAI = "DeleteTransitGatewayClientVpnAttachmentInput" +_cDTGCVAR = "com.amazonaws.ec2#DeleteTransitGatewayClientVpnAttachmentRequest" +_DTGCVAO = "DeleteTransitGatewayClientVpnAttachmentOutput" +_cDTGCVARo = "com.amazonaws.ec2#DeleteTransitGatewayClientVpnAttachmentResult" +_DTGCVA = "DeleteTransitGatewayClientVpnAttachment" +_DTGCI = "DeleteTransitGatewayConnectInput" +_cDTGCR = "com.amazonaws.ec2#DeleteTransitGatewayConnectRequest" +_DTGCO = "DeleteTransitGatewayConnectOutput" +_cDTGCRo = "com.amazonaws.ec2#DeleteTransitGatewayConnectResult" +_DTGC = "DeleteTransitGatewayConnect" +_DTGCPI = "DeleteTransitGatewayConnectPeerInput" +_cDTGCPR = "com.amazonaws.ec2#DeleteTransitGatewayConnectPeerRequest" +_DTGCPO = "DeleteTransitGatewayConnectPeerOutput" +_cDTGCPRo = "com.amazonaws.ec2#DeleteTransitGatewayConnectPeerResult" +_DTGCP = "DeleteTransitGatewayConnectPeer" +_DTGMPI = "DeleteTransitGatewayMeteringPolicyInput" +_cDTGMPR = "com.amazonaws.ec2#DeleteTransitGatewayMeteringPolicyRequest" +_DTGMPO = "DeleteTransitGatewayMeteringPolicyOutput" +_cDTGMPRo = "com.amazonaws.ec2#DeleteTransitGatewayMeteringPolicyResult" +_DTGMP = "DeleteTransitGatewayMeteringPolicy" +_DTGMPEI = "DeleteTransitGatewayMeteringPolicyEntryInput" +_cDTGMPER = "com.amazonaws.ec2#DeleteTransitGatewayMeteringPolicyEntryRequest" +_DTGMPEO = "DeleteTransitGatewayMeteringPolicyEntryOutput" +_cDTGMPERo = "com.amazonaws.ec2#DeleteTransitGatewayMeteringPolicyEntryResult" +_DTGMPE = "DeleteTransitGatewayMeteringPolicyEntry" +_DTGMDI = "DeleteTransitGatewayMulticastDomainInput" +_cDTGMDR = "com.amazonaws.ec2#DeleteTransitGatewayMulticastDomainRequest" +_DTGMDO = "DeleteTransitGatewayMulticastDomainOutput" +_cDTGMDRo = "com.amazonaws.ec2#DeleteTransitGatewayMulticastDomainResult" +_DTGMD = "DeleteTransitGatewayMulticastDomain" +_DTGPAI = "DeleteTransitGatewayPeeringAttachmentInput" +_cDTGPAR = "com.amazonaws.ec2#DeleteTransitGatewayPeeringAttachmentRequest" +_DTGPAO = "DeleteTransitGatewayPeeringAttachmentOutput" +_cDTGPARo = "com.amazonaws.ec2#DeleteTransitGatewayPeeringAttachmentResult" +_DTGPA = "DeleteTransitGatewayPeeringAttachment" +_DTGPTI = "DeleteTransitGatewayPolicyTableInput" +_cDTGPTR = "com.amazonaws.ec2#DeleteTransitGatewayPolicyTableRequest" +_DTGPTO = "DeleteTransitGatewayPolicyTableOutput" +_cDTGPTRo = "com.amazonaws.ec2#DeleteTransitGatewayPolicyTableResult" +_DTGPT = "DeleteTransitGatewayPolicyTable" +_DTGPTEI = "DeleteTransitGatewayPolicyTableEntryInput" +_cDTGPTER = "com.amazonaws.ec2#DeleteTransitGatewayPolicyTableEntryRequest" +_DTGPTEO = "DeleteTransitGatewayPolicyTableEntryOutput" +_cDTGPTERo = "com.amazonaws.ec2#DeleteTransitGatewayPolicyTableEntryResult" +_DTGPTE = "DeleteTransitGatewayPolicyTableEntry" +_DTGPLRI = "DeleteTransitGatewayPrefixListReferenceInput" +_cDTGPLRR = "com.amazonaws.ec2#DeleteTransitGatewayPrefixListReferenceRequest" +_DTGPLRO = "DeleteTransitGatewayPrefixListReferenceOutput" +_cDTGPLRRo = "com.amazonaws.ec2#DeleteTransitGatewayPrefixListReferenceResult" +_DTGPLR = "DeleteTransitGatewayPrefixListReference" +_DTGRI = "DeleteTransitGatewayRouteInput" +_cDTGRR = "com.amazonaws.ec2#DeleteTransitGatewayRouteRequest" +_DTGRO = "DeleteTransitGatewayRouteOutput" +_cDTGRRo = "com.amazonaws.ec2#DeleteTransitGatewayRouteResult" +_DTGR = "DeleteTransitGatewayRoute" +_DTGRTI = "DeleteTransitGatewayRouteTableInput" +_cDTGRTR = "com.amazonaws.ec2#DeleteTransitGatewayRouteTableRequest" +_DTGRTO = "DeleteTransitGatewayRouteTableOutput" +_cDTGRTRo = "com.amazonaws.ec2#DeleteTransitGatewayRouteTableResult" +_DTGRT = "DeleteTransitGatewayRouteTable" + +DELETE_NETWORK_ACL_ENTRY_INPUT: StaticSchema = ( + 18, + n0, + _DNAEI, + {_sSI: _cDNAER, _sm: None}, + (_DR, _NAI, _RN, _Eg), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), + (lambda: schemas.INTEGER, {_aQN: _RN, _sN: _rN, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _Eg, _sN: _egr, _smi: None}), + ), +) + +DELETE_NETWORK_ACL_ENTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _DNAEO, + {_sSI: _sU, _smit: None}, +) + +DELETE_NETWORK_ACL_ENTRY: StaticOperationSchema = ( + 23, + n0, + _DNAE, + 0, + DELETE_NETWORK_ACL_ENTRY_INPUT, + DELETE_NETWORK_ACL_ENTRY_OUTPUT, + (), +) + +DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT: StaticSchema = ( + 18, + n0, + _DNIASI, + {_sSI: _cDNIASR, _sm: None}, + (_DR, _NIASI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, 1), + ), +) + +DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIASO, + {_sSI: _cDNIASRo, _smit: None}, + (_NIASI,), + ((lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}),), +) + +DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE: StaticOperationSchema = ( + 23, + n0, + _DNIAS, + 0, + DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_INPUT, + DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_OUTPUT, + (), +) + +DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT: StaticSchema = ( + 18, + n0, + _DNIASAI, + {_sSI: _cDNIASAR, _sm: None}, + (_NIASAI, _DR), + ( + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIASAO, + {_sSI: _cDNIASARo, _smit: None}, + (_NIASAI,), + ( + ( + lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, + {_aQN: _NIASAI, _sN: _nIASAI}, + ), + ), +) + +DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS: StaticOperationSchema = ( + 23, + n0, + _DNIASA, + 0, + DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT, + DELETE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT, + (), +) + +DELETE_NETWORK_INSIGHTS_ANALYSIS_INPUT: StaticSchema = ( + 18, + n0, + _DNIAI, + {_sSI: _cDNIAR, _sm: None}, + (_DR, _NIAI), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.NETWORK_INSIGHTS_ANALYSIS_ID, 1)), +) + +DELETE_NETWORK_INSIGHTS_ANALYSIS_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIAO, + {_sSI: _cDNIARo, _smit: None}, + (_NIAI,), + ((lambda: schemas.NETWORK_INSIGHTS_ANALYSIS_ID, {_aQN: _NIAI, _sN: _nIAI}),), +) + +DELETE_NETWORK_INSIGHTS_ANALYSIS: StaticOperationSchema = ( + 23, + n0, + _DNIA, + 0, + DELETE_NETWORK_INSIGHTS_ANALYSIS_INPUT, + DELETE_NETWORK_INSIGHTS_ANALYSIS_OUTPUT, + (), +) + +DELETE_NETWORK_INSIGHTS_PATH_INPUT: StaticSchema = ( + 18, + n0, + _DNIPI, + {_sSI: _cDNIPR, _sm: None}, + (_DR, _NIPI), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.NETWORK_INSIGHTS_PATH_ID, 1)), +) + +DELETE_NETWORK_INSIGHTS_PATH_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIPO, + {_sSI: _cDNIPRo, _smit: None}, + (_NIPI,), + ((lambda: schemas.NETWORK_INSIGHTS_PATH_ID, {_aQN: _NIPI, _sN: _nIPI}),), +) + +DELETE_NETWORK_INSIGHTS_PATH: StaticOperationSchema = ( + 23, + n0, + _DNIP, + 0, + DELETE_NETWORK_INSIGHTS_PATH_INPUT, + DELETE_NETWORK_INSIGHTS_PATH_OUTPUT, + (), +) + +DELETE_NETWORK_INTERFACE_INPUT: StaticSchema = ( + 18, + n0, + _DNII, + {_sSI: _cDNIR, _sm: None}, + (_DR, _NII), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), + ), +) + +DELETE_NETWORK_INTERFACE_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIO, + {_sSI: _sU, _smit: None}, +) + +DELETE_NETWORK_INTERFACE: StaticOperationSchema = ( + 23, + n0, + _DNI, + 0, + DELETE_NETWORK_INTERFACE_INPUT, + DELETE_NETWORK_INTERFACE_OUTPUT, + (), +) + +NETWORK_INTERFACE_PERMISSION_ID: StaticSchema = (3, n0, _NIPIe, 0) + +DELETE_NETWORK_INTERFACE_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _DNIPIe, + {_sSI: _cDNIPRom, _sm: None}, + (_NIPIe, _Fo, _DR), + ( + (NETWORK_INTERFACE_PERMISSION_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_NETWORK_INTERFACE_PERMISSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIPOe, + {_sSI: _cDNIPRoma, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DELETE_NETWORK_INTERFACE_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _DNIPe, + 0, + DELETE_NETWORK_INTERFACE_PERMISSION_INPUT, + DELETE_NETWORK_INTERFACE_PERMISSION_OUTPUT, + (), +) + +PLACEMENT_GROUP_NAME_WITH_RESOLVER: StaticSchema = (3, n0, _PGNWR, 0) + +DELETE_PLACEMENT_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DPGI, + {_sSI: _cDPGR, _sm: None}, + (_DR, _GN), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (PLACEMENT_GROUP_NAME_WITH_RESOLVER, {_aQN: _GN, _sN: _gN, _smi: None}), + ), +) + +DELETE_PLACEMENT_GROUP_OUTPUT: StaticSchema = (18, n0, _DPGO, {_sSI: _sU, _smit: None}) + +DELETE_PLACEMENT_GROUP: StaticOperationSchema = ( + 23, + n0, + _DPG, + 0, + DELETE_PLACEMENT_GROUP_INPUT, + DELETE_PLACEMENT_GROUP_OUTPUT, + (), +) + +DELETE_PUBLIC_IPV4_POOL_INPUT: StaticSchema = ( + 18, + n0, + _DPIPI, + {_sSI: _cDPIPR, _sm: None}, + (_DR, _PIo, _NBG), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPV4_POOL_EC2_ID, 1), + (lambda: schemas.STRING, 0), + ), +) + +DELETE_PUBLIC_IPV4_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _DPIPO, + {_sSI: _cDPIPRo, _smit: None}, + (_RV,), + ((lambda: schemas.BOOLEAN, {_aQN: _RV, _sN: _rV}),), +) + +DELETE_PUBLIC_IPV4_POOL: StaticOperationSchema = ( + 23, + n0, + _DPIP, + 0, + DELETE_PUBLIC_IPV4_POOL_INPUT, + DELETE_PUBLIC_IPV4_POOL_OUTPUT, + (), +) + +DELETE_QUEUED_RESERVED_INSTANCES_ID_LIST: StaticSchema = ( + 16, + n0, + _DQRIIL, + 0, + (_me,), + ((lambda: schemas.RESERVATION_ID, {_sN: _i}),), +) + +DELETE_QUEUED_RESERVED_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DQRII, + {_sSI: _cDQRIR, _sm: None}, + (_DR, _RIIese), + ( + (lambda: schemas.BOOLEAN, 0), + (DELETE_QUEUED_RESERVED_INSTANCES_ID_LIST, {_sN: _RIIes, _smi: None}), + ), +) + +DELETE_QUEUED_RESERVED_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DQRIO, + {_sSI: _cDQRIRo, _smit: None}, + (_SQPDu, _FQPDa), + ( + (lambda: SUCCESSFUL_QUEUED_PURCHASE_DELETION_SET, {_aQN: _SQPDS, _sN: _sQPDS}), + (lambda: FAILED_QUEUED_PURCHASE_DELETION_SET, {_aQN: _FQPDS, _sN: _fQPDS}), + ), +) + +DELETE_QUEUED_RESERVED_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DQRI, + 0, + DELETE_QUEUED_RESERVED_INSTANCES_INPUT, + DELETE_QUEUED_RESERVED_INSTANCES_OUTPUT, + (), +) + +DELETE_QUEUED_RESERVED_INSTANCES_ERROR_CODE: StaticSchema = ( + 14, + n0, + _DQRIEC, + 0, + (_RIII, _RINIQS, _UE), + ((-1, {_sV: _riii}), (-1, {_sV: _riniqs}), (-1, {_sV: _ue_})), +) + +DELETE_QUEUED_RESERVED_INSTANCES_ERROR: StaticSchema = ( + 18, + n0, + _DQRIE, + 0, + (_C, _Me), + ( + (DELETE_QUEUED_RESERVED_INSTANCES_ERROR_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +FAILED_QUEUED_PURCHASE_DELETION: StaticSchema = ( + 18, + n0, + _FQPD, + 0, + (_E, _RIIes), + ( + (DELETE_QUEUED_RESERVED_INSTANCES_ERROR, {_aQN: _E, _sN: _er}), + (lambda: schemas.STRING, {_aQN: _RIIes, _sN: _rII}), + ), +) + +FAILED_QUEUED_PURCHASE_DELETION_SET: StaticSchema = ( + 16, + n0, + _FQPDS, + 0, + (_me,), + ((FAILED_QUEUED_PURCHASE_DELETION, {_sN: _i}),), +) + +SUCCESSFUL_QUEUED_PURCHASE_DELETION: StaticSchema = ( + 18, + n0, + _SQPD, + 0, + (_RIIes,), + ((lambda: schemas.STRING, {_aQN: _RIIes, _sN: _rII}),), +) + +SUCCESSFUL_QUEUED_PURCHASE_DELETION_SET: StaticSchema = ( + 16, + n0, + _SQPDS, + 0, + (_me,), + ((SUCCESSFUL_QUEUED_PURCHASE_DELETION, {_sN: _i}),), +) + +DELETE_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _DRI, + {_sSI: _cDRR, _sm: None}, + (_DPLI, _DR, _RTIo, _DCB, _DICB), + ( + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (lambda: schemas.STRING, {_aQN: _DICB, _sN: _dICB}), + ), +) + +DELETE_ROUTE_OUTPUT: StaticSchema = (18, n0, _DRO, {_sSI: _sU, _smit: None}) + +DELETE_ROUTE: StaticOperationSchema = ( + 23, + n0, + _DRel, + 0, + DELETE_ROUTE_INPUT, + DELETE_ROUTE_OUTPUT, + (), +) + +DELETE_ROUTE_SERVER_INPUT: StaticSchema = ( + 18, + n0, + _DRSI, + {_sSI: _cDRSR, _sm: None}, + (_RSI, _DR), + ((lambda: schemas.ROUTE_SERVER_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_ROUTE_SERVER_OUTPUT: StaticSchema = ( + 18, + n0, + _DRSO, + {_sSI: _cDRSRo, _smit: None}, + (_RSo,), + ((lambda: schemas.ROUTE_SERVER, {_aQN: _RSo, _sN: _rSo}),), +) + +DELETE_ROUTE_SERVER: StaticOperationSchema = ( + 23, + n0, + _DRS, + 0, + DELETE_ROUTE_SERVER_INPUT, + DELETE_ROUTE_SERVER_OUTPUT, + (), +) + +DELETE_ROUTE_SERVER_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DRSEI, + {_sSI: _cDRSER, _sm: None}, + (_RSEI, _DR), + ((lambda: schemas.ROUTE_SERVER_ENDPOINT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_ROUTE_SERVER_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DRSEO, + {_sSI: _cDRSERo, _smit: None}, + (_RSE,), + ((lambda: schemas.ROUTE_SERVER_ENDPOINT, {_aQN: _RSE, _sN: _rSE}),), +) + +DELETE_ROUTE_SERVER_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DRSE, + 0, + DELETE_ROUTE_SERVER_ENDPOINT_INPUT, + DELETE_ROUTE_SERVER_ENDPOINT_OUTPUT, + (), +) + +DELETE_ROUTE_SERVER_PEER_INPUT: StaticSchema = ( + 18, + n0, + _DRSPI, + {_sSI: _cDRSPR, _sm: None}, + (_RSPI, _DR), + ((lambda: schemas.ROUTE_SERVER_PEER_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_ROUTE_SERVER_PEER_OUTPUT: StaticSchema = ( + 18, + n0, + _DRSPO, + {_sSI: _cDRSPRo, _smit: None}, + (_RSP,), + ((lambda: schemas.ROUTE_SERVER_PEER, {_aQN: _RSP, _sN: _rSP}),), +) + +DELETE_ROUTE_SERVER_PEER: StaticOperationSchema = ( + 23, + n0, + _DRSP, + 0, + DELETE_ROUTE_SERVER_PEER_INPUT, + DELETE_ROUTE_SERVER_PEER_OUTPUT, + (), +) + +DELETE_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DRTI, + {_sSI: _cDRTR, _sm: None}, + (_DR, _RTIo), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), + ), +) + +DELETE_ROUTE_TABLE_OUTPUT: StaticSchema = (18, n0, _DRTO, {_sSI: _sU, _smit: None}) + +DELETE_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _DRT, + 0, + DELETE_ROUTE_TABLE_INPUT, + DELETE_ROUTE_TABLE_OUTPUT, + (), +) + +DELETE_SECONDARY_NETWORK_INPUT: StaticSchema = ( + 18, + n0, + _DSNI, + {_sSI: _cDSNR, _sm: None}, + (_CTl, _DR, _SNI), + ( + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SECONDARY_NETWORK_ID, 1), + ), +) + +DELETE_SECONDARY_NETWORK_OUTPUT: StaticSchema = ( + 18, + n0, + _DSNO, + {_sSI: _cDSNRo, _smit: None}, + (_SNec, _CTl), + ( + (lambda: schemas.SECONDARY_NETWORK, {_aQN: _SNec, _sN: _sNec}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +DELETE_SECONDARY_NETWORK: StaticOperationSchema = ( + 23, + n0, + _DSN, + 0, + DELETE_SECONDARY_NETWORK_INPUT, + DELETE_SECONDARY_NETWORK_OUTPUT, + (), +) + +DELETE_SECONDARY_SUBNET_INPUT: StaticSchema = ( + 18, + n0, + _DSSI, + {_sSI: _cDSSR, _sm: None}, + (_CTl, _DR, _SSIe), + ( + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SECONDARY_SUBNET_ID, 1), + ), +) + +DELETE_SECONDARY_SUBNET_OUTPUT: StaticSchema = ( + 18, + n0, + _DSSO, + {_sSI: _cDSSRo, _smit: None}, + (_SSe, _CTl), + ( + (lambda: schemas.SECONDARY_SUBNET, {_aQN: _SSe, _sN: _sSe}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +DELETE_SECONDARY_SUBNET: StaticOperationSchema = ( + 23, + n0, + _DSSe, + 0, + DELETE_SECONDARY_SUBNET_INPUT, + DELETE_SECONDARY_SUBNET_OUTPUT, + (), +) + +DELETE_SECURITY_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DSGI, + {_sSI: _cDSGR, _sm: None}, + (_GIr, _GN, _DR), + ( + (lambda: schemas.SECURITY_GROUP_ID, 0), + (lambda: schemas.SECURITY_GROUP_NAME, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DELETE_SECURITY_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DSGO, + {_sSI: _cDSGRo, _smit: None}, + (_R, _GIr), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + (lambda: schemas.SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), + ), +) + +DELETE_SECURITY_GROUP: StaticOperationSchema = ( + 23, + n0, + _DSG, + 0, + DELETE_SECURITY_GROUP_INPUT, + DELETE_SECURITY_GROUP_OUTPUT, + (), +) + +DELETE_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _DSI, + {_sSI: _cDSR, _sm: None}, + (_SIn, _DR), + ( + (lambda: schemas.SNAPSHOT_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DELETE_SNAPSHOT_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _sU, _smit: None}) + +DELETE_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _DSel, + 0, + DELETE_SNAPSHOT_INPUT, + DELETE_SNAPSHOT_OUTPUT, + (), +) + +DELETE_SPOT_DATAFEED_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _DSDSI, + {_sSI: _cDSDSR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}),), +) + +DELETE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DSDSO, + {_sSI: _sU, _smit: None}, +) + +DELETE_SPOT_DATAFEED_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _DSDS, + 0, + DELETE_SPOT_DATAFEED_SUBSCRIPTION_INPUT, + DELETE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT, + (), +) + +DELETE_SUBNET_INPUT: StaticSchema = ( + 18, + n0, + _DSIe, + {_sSI: _cDSRo, _sm: None}, + (_SIu, _DR), + ((lambda: schemas.SUBNET_ID, 1), (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr})), +) + +DELETE_SUBNET_OUTPUT: StaticSchema = (18, n0, _DSOe, {_sSI: _sU, _smit: None}) + +DELETE_SUBNET: StaticOperationSchema = ( + 23, + n0, + _DSele, + 0, + DELETE_SUBNET_INPUT, + DELETE_SUBNET_OUTPUT, + (), +) + +DELETE_SUBNET_CIDR_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _DSCRI, + {_sSI: _cDSCRR, _sm: None}, + (_SCRIu, _DR), + ((lambda: schemas.SUBNET_CIDR_RESERVATION_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_SUBNET_CIDR_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DSCRO, + {_sSI: _cDSCRRo, _smit: None}, + (_DSCR,), + ((lambda: schemas.SUBNET_CIDR_RESERVATION, {_aQN: _DSCR, _sN: _dSCR}),), +) + +DELETE_SUBNET_CIDR_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _DSCRe, + 0, + DELETE_SUBNET_CIDR_RESERVATION_INPUT, + DELETE_SUBNET_CIDR_RESERVATION_OUTPUT, + (), +) + +DELETE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _DTIe, + {_sSI: _cDTR, _sm: None}, + (_DR, _Res, _Tag), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.RESOURCE_ID_LIST, {_aQN: _RIe, _sN: _rI, _smi: None}), + (lambda: schemas.TAG_LIST, {_aQN: _Ta, _sN: _tag}), + ), +) + +DELETE_TAGS_OUTPUT: StaticSchema = (18, n0, _DTO, {_sSI: _sU, _smit: None}) + +DELETE_TAGS: StaticOperationSchema = ( + 23, + n0, + _DTelet, + 0, + DELETE_TAGS_INPUT, + DELETE_TAGS_OUTPUT, + (), +) + +DELETE_TRAFFIC_MIRROR_FILTER_INPUT: StaticSchema = ( + 18, + n0, + _DTMFI, + {_sSI: _cDTMFR, _sm: None}, + (_TMFI, _DR), + ((lambda: schemas.TRAFFIC_MIRROR_FILTER_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_TRAFFIC_MIRROR_FILTER_OUTPUT: StaticSchema = ( + 18, + n0, + _DTMFO, + {_sSI: _cDTMFRo, _smit: None}, + (_TMFI,), + ((lambda: schemas.STRING, {_aQN: _TMFI, _sN: _tMFI}),), +) + +DELETE_TRAFFIC_MIRROR_FILTER: StaticOperationSchema = ( + 23, + n0, + _DTMF, + 0, + DELETE_TRAFFIC_MIRROR_FILTER_INPUT, + DELETE_TRAFFIC_MIRROR_FILTER_OUTPUT, + (), +) + +DELETE_TRAFFIC_MIRROR_FILTER_RULE_INPUT: StaticSchema = ( + 18, + n0, + _DTMFRI, + {_sSI: _cDTMFRR, _sm: None}, + (_TMFRI, _DR), + ( + (lambda: schemas.TRAFFIC_MIRROR_FILTER_RULE_ID_WITH_RESOLVER, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTMFRO, + {_sSI: _cDTMFRRo, _smit: None}, + (_TMFRI,), + ((lambda: schemas.STRING, {_aQN: _TMFRI, _sN: _tMFRI}),), +) + +DELETE_TRAFFIC_MIRROR_FILTER_RULE: StaticOperationSchema = ( + 23, + n0, + _DTMFR, + 0, + DELETE_TRAFFIC_MIRROR_FILTER_RULE_INPUT, + DELETE_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT, + (), +) + +DELETE_TRAFFIC_MIRROR_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _DTMSI, + {_sSI: _cDTMSR, _sm: None}, + (_TMSI, _DR), + ((lambda: schemas.TRAFFIC_MIRROR_SESSION_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_TRAFFIC_MIRROR_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DTMSO, + {_sSI: _cDTMSRo, _smit: None}, + (_TMSI,), + ((lambda: schemas.STRING, {_aQN: _TMSI, _sN: _tMSI}),), +) + +DELETE_TRAFFIC_MIRROR_SESSION: StaticOperationSchema = ( + 23, + n0, + _DTMS, + 0, + DELETE_TRAFFIC_MIRROR_SESSION_INPUT, + DELETE_TRAFFIC_MIRROR_SESSION_OUTPUT, + (), +) + +DELETE_TRAFFIC_MIRROR_TARGET_INPUT: StaticSchema = ( + 18, + n0, + _DTMTI, + {_sSI: _cDTMTR, _sm: None}, + (_TMTI, _DR), + ((lambda: schemas.TRAFFIC_MIRROR_TARGET_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_TRAFFIC_MIRROR_TARGET_OUTPUT: StaticSchema = ( + 18, + n0, + _DTMTO, + {_sSI: _cDTMTRo, _smit: None}, + (_TMTI,), + ((lambda: schemas.STRING, {_aQN: _TMTI, _sN: _tMTI}),), +) + +DELETE_TRAFFIC_MIRROR_TARGET: StaticOperationSchema = ( + 23, + n0, + _DTMT, + 0, + DELETE_TRAFFIC_MIRROR_TARGET_INPUT, + DELETE_TRAFFIC_MIRROR_TARGET_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DTGI, + {_sSI: _cDTGR, _sm: None}, + (_TGI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_TRANSIT_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGO, + {_sSI: _cDTGRo, _smit: None}, + (_TGr,), + ((lambda: schemas.TRANSIT_GATEWAY, {_aQN: _TGr, _sN: _tG}),), +) + +DELETE_TRANSIT_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DTG, + 0, + DELETE_TRANSIT_GATEWAY_INPUT, + DELETE_TRANSIT_GATEWAY_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _DTGCVAI, + {_sSI: _cDTGCVAR, _sm: None}, + (_TGAI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGCVAO, + {_sSI: _cDTGCVARo, _smit: None}, + (_TGCVA,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT, + {_aQN: _TGCVA, _sN: _tGCVA}, + ), + ), +) + +DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _DTGCVA, + 0, + DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT, + DELETE_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_CONNECT_INPUT: StaticSchema = ( + 18, + n0, + _DTGCI, + {_sSI: _cDTGCR, _sm: None}, + (_TGAI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_TRANSIT_GATEWAY_CONNECT_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGCO, + {_sSI: _cDTGCRo, _smit: None}, + (_TGCr,), + ((lambda: schemas.TRANSIT_GATEWAY_CONNECT, {_aQN: _TGCr, _sN: _tGC}),), +) + +DELETE_TRANSIT_GATEWAY_CONNECT: StaticOperationSchema = ( + 23, + n0, + _DTGC, + 0, + DELETE_TRANSIT_GATEWAY_CONNECT_INPUT, + DELETE_TRANSIT_GATEWAY_CONNECT_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT: StaticSchema = ( + 18, + n0, + _DTGCPI, + {_sSI: _cDTGCPR, _sm: None}, + (_TGCPI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_CONNECT_PEER_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGCPO, + {_sSI: _cDTGCPRo, _smit: None}, + (_TGCP,), + ((lambda: schemas.TRANSIT_GATEWAY_CONNECT_PEER, {_aQN: _TGCP, _sN: _tGCP}),), +) + +DELETE_TRANSIT_GATEWAY_CONNECT_PEER: StaticOperationSchema = ( + 23, + n0, + _DTGCP, + 0, + DELETE_TRANSIT_GATEWAY_CONNECT_PEER_INPUT, + DELETE_TRANSIT_GATEWAY_CONNECT_PEER_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_METERING_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DTGMPI, + {_sSI: _cDTGMPR, _sm: None}, + (_TGMPI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGMPO, + {_sSI: _cDTGMPRo, _smit: None}, + (_TGMP,), + ((lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY, {_aQN: _TGMP, _sN: _tGMP}),), +) + +DELETE_TRANSIT_GATEWAY_METERING_POLICY: StaticOperationSchema = ( + 23, + n0, + _DTGMP, + 0, + DELETE_TRANSIT_GATEWAY_METERING_POLICY_INPUT, + DELETE_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT: StaticSchema = ( + 18, + n0, + _DTGMPEI, + {_sSI: _cDTGMPER, _sm: None}, + (_TGMPI, _PRNo, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY_ID, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGMPEO, + {_sSI: _cDTGMPERo, _smit: None}, + (_TGMPE,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY_ENTRY, + {_aQN: _TGMPE, _sN: _tGMPE}, + ), + ), +) + +DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY: StaticOperationSchema = ( + 23, + n0, + _DTGMPE, + 0, + DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_INPUT, + DELETE_TRANSIT_GATEWAY_METERING_POLICY_ENTRY_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT: StaticSchema = ( + 18, + n0, + _DTGMDI, + {_sSI: _cDTGMDR, _sm: None}, + (_TGMDI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGMDO, + {_sSI: _cDTGMDRo, _smit: None}, + (_TGMD,), + ((lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN, {_aQN: _TGMD, _sN: _tGMD}),), +) + +DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticOperationSchema = ( + 23, + n0, + _DTGMD, + 0, + DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT, + DELETE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _DTGPAI, + {_sSI: _cDTGPAR, _sm: None}, + (_TGAI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGPAO, + {_sSI: _cDTGPARo, _smit: None}, + (_TGPA,), + ((lambda: schemas.TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_aQN: _TGPA, _sN: _tGPA}),), +) + +DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _DTGPA, + 0, + DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT, + DELETE_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DTGPTI, + {_sSI: _cDTGPTR, _sm: None}, + (_TGPTI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGPTO, + {_sSI: _cDTGPTRo, _smit: None}, + (_TGPT,), + ((lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE, {_aQN: _TGPT, _sN: _tGPT}),), +) + +DELETE_TRANSIT_GATEWAY_POLICY_TABLE: StaticOperationSchema = ( + 23, + n0, + _DTGPT, + 0, + DELETE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT, + DELETE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT: StaticSchema = ( + 18, + n0, + _DTGPTEI, + {_sSI: _cDTGPTER, _sm: None}, + (_TGPTI, _PRNo, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGPTEO, + {_sSI: _cDTGPTERo, _smit: None}, + (_TGPTE,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, + {_aQN: _TGPTE, _sN: _tGPTE}, + ), + ), +) + +DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticOperationSchema = ( + 23, + n0, + _DTGPTE, + 0, + DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT, + DELETE_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT: StaticSchema = ( + 18, + n0, + _DTGPLRI, + {_sSI: _cDTGPLRR, _sm: None}, + (_TGRTI, _PLI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGPLRO, + {_sSI: _cDTGPLRRo, _smit: None}, + (_TGPLR,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE, + {_aQN: _TGPLR, _sN: _tGPLR}, + ), + ), +) + +DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE: StaticOperationSchema = ( + 23, + n0, + _DTGPLR, + 0, + DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT, + DELETE_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _DTGRI, + {_sSI: _cDTGRR, _sm: None}, + (_TGRTI, _DCB, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRANSIT_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGRO, + {_sSI: _cDTGRRo, _smit: None}, + (_Rou,), + ((lambda: schemas.TRANSIT_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), +) + +DELETE_TRANSIT_GATEWAY_ROUTE: StaticOperationSchema = ( + 23, + n0, + _DTGR, + 0, + DELETE_TRANSIT_GATEWAY_ROUTE_INPUT, + DELETE_TRANSIT_GATEWAY_ROUTE_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DTGRTI, + {_sSI: _cDTGRTR, _sm: None}, + (_TGRTI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGRTO, + {_sSI: _cDTGRTRo, _smit: None}, + (_TGRT,), + ((lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE, {_aQN: _TGRT, _sN: _tGRT}),), +) + +DELETE_TRANSIT_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _DTGRT, + 0, + DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT, + DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_22.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_22.py new file mode 100644 index 000000000..a1828618d --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_22.py @@ -0,0 +1,1657 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_Va = "Value" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_PI = "PublicIp" +_AI = "AllocationId" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_TGAI = "TransitGatewayAttachmentId" +_St = "State" +_st = "state" +_TGMDI = "TransitGatewayMulticastDomainId" +_tGMDI = "transitGatewayMulticastDomainId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_TGVA = "TransitGatewayVpcAttachment" +_VI = "VpcId" +_tGVA = "transitGatewayVpcAttachment" +_VEI = "VpcEndpointId" +_SIe = "ServiceId" +_VEIp = "VpcEndpointIds" +_Un = "Unsuccessful" +_un = "unsuccessful" +_dRr = "dryRun" +_VPCI = "VpcPeeringConnectionId" +_vPCI = "vpcPeeringConnectionId" +_Ci = "Cidr" +_ci = "cidr" +_N = "Name" +_II = "InstanceId" +_Add = "Addresses" +_AS = "AddressSet" +_aS = "addressSet" +_Reso = "Resource" +_ANt = "AttributeName" +_aN = "attributeName" +_AVECc = "AccountVpcEncryptionControl" +_Asn = "Asn" +_asn = "asn" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_IPI = "IpamPoolId" +_dep = "deprovisioned" +_fd__ = "failed_deprovision" +_fd___ = "failed-deprovision" +_fp = "failed_provision" +_fp_ = "failed-provision" +_pd__ = "pending_deprovision" +_pd___ = "pending-deprovision" +_pp = "pending_provision" +_pp_ = "pending-provision" +_prov = "provisioned" +_BC = "ByoipCidr" +_PIo = "PoolId" +_pIo = "poolId" +_bC = "byoipCidr" +_CTl = "ClientToken" +_NL = "NetmaskLength" +_sT = "smithy.api#idempotencyToken" +_AIl = "AllocationIds" +_IIn = "InstanceIds" +_sU = "smithy.api#Unit" +_IIp = "IpamId" +_iIp = "ipamId" +_IIm = "ImageId" +_VAII = "VerifiedAccessInstanceId" +_VATPI = "VerifiedAccessTrustProviderId" +_VAI = "VerifiedAccessInstance" +_VATPe = "VerifiedAccessTrustProvider" +_vATP = "verifiedAccessTrustProvider" +_vAI = "verifiedAccessInstance" +_VIo = "VolumeId" +_VGI = "VpnGatewayId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_DCB = "DestinationCidrBlock" +_VECI = "VpcEncryptionControlId" +_VEC = "VpcEncryptionControl" +_Val = "Values" +_NIIe = "NetworkInterfaceIds" +_succe = "success" +_FRa = "FailureReason" +_fRa = "failureReason" +_TGRTAI = "TransitGatewayRouteTableAnnouncementId" +_TGRTA = "TransitGatewayRouteTableAnnouncement" +_tGRTA = "transitGatewayRouteTableAnnouncement" +_VAGI = "VerifiedAccessGroupId" +_VAE = "VerifiedAccessEndpoint" +_VAEI = "VerifiedAccessEndpointId" +_vAE = "verifiedAccessEndpoint" +_VAG = "VerifiedAccessGroup" +_vAG = "verifiedAccessGroup" +_VBPAE = "VpcBlockPublicAccessExclusion" +_EIx = "ExclusionId" +_vBPAE = "vpcBlockPublicAccessExclusion" +_vEC = "vpcEncryptionControl" +_CNIo = "ConnectionNotificationId" +_VCI = "VpnConcentratorId" +_VCIp = "VpnConnectionId" +_RCe = "ReturnCode" +_rC = "returnCode" +_DTGRTAI = "DeleteTransitGatewayRouteTableAnnouncementInput" +_cDTGRTAR = "com.amazonaws.ec2#DeleteTransitGatewayRouteTableAnnouncementRequest" +_DTGRTAO = "DeleteTransitGatewayRouteTableAnnouncementOutput" +_cDTGRTARo = "com.amazonaws.ec2#DeleteTransitGatewayRouteTableAnnouncementResult" +_DTGRTA = "DeleteTransitGatewayRouteTableAnnouncement" +_DTGVAI = "DeleteTransitGatewayVpcAttachmentInput" +_cDTGVAR = "com.amazonaws.ec2#DeleteTransitGatewayVpcAttachmentRequest" +_DTGVAO = "DeleteTransitGatewayVpcAttachmentOutput" +_cDTGVARo = "com.amazonaws.ec2#DeleteTransitGatewayVpcAttachmentResult" +_DTGVA = "DeleteTransitGatewayVpcAttachment" +_DVAEI = "DeleteVerifiedAccessEndpointInput" +_cDVAER = "com.amazonaws.ec2#DeleteVerifiedAccessEndpointRequest" +_DVAEO = "DeleteVerifiedAccessEndpointOutput" +_cDVAERo = "com.amazonaws.ec2#DeleteVerifiedAccessEndpointResult" +_DVAE = "DeleteVerifiedAccessEndpoint" +_DVAGI = "DeleteVerifiedAccessGroupInput" +_cDVAGR = "com.amazonaws.ec2#DeleteVerifiedAccessGroupRequest" +_DVAGO = "DeleteVerifiedAccessGroupOutput" +_cDVAGRo = "com.amazonaws.ec2#DeleteVerifiedAccessGroupResult" +_DVAG = "DeleteVerifiedAccessGroup" +_DVAII = "DeleteVerifiedAccessInstanceInput" +_cDVAIR = "com.amazonaws.ec2#DeleteVerifiedAccessInstanceRequest" +_DVAIO = "DeleteVerifiedAccessInstanceOutput" +_cDVAIRo = "com.amazonaws.ec2#DeleteVerifiedAccessInstanceResult" +_DVAI = "DeleteVerifiedAccessInstance" +_DVATPI = "DeleteVerifiedAccessTrustProviderInput" +_cDVATPR = "com.amazonaws.ec2#DeleteVerifiedAccessTrustProviderRequest" +_DVATPO = "DeleteVerifiedAccessTrustProviderOutput" +_cDVATPRo = "com.amazonaws.ec2#DeleteVerifiedAccessTrustProviderResult" +_DVATP = "DeleteVerifiedAccessTrustProvider" +_DVI = "DeleteVolumeInput" +_cDVR = "com.amazonaws.ec2#DeleteVolumeRequest" +_DVO = "DeleteVolumeOutput" +_DVel = "DeleteVolume" +_DVIe = "DeleteVpcInput" +_cDVRo = "com.amazonaws.ec2#DeleteVpcRequest" +_DVOe = "DeleteVpcOutput" +_DVele = "DeleteVpc" +_DVBPAEI = "DeleteVpcBlockPublicAccessExclusionInput" +_cDVBPAER = "com.amazonaws.ec2#DeleteVpcBlockPublicAccessExclusionRequest" +_DVBPAEO = "DeleteVpcBlockPublicAccessExclusionOutput" +_cDVBPAERo = "com.amazonaws.ec2#DeleteVpcBlockPublicAccessExclusionResult" +_DVBPAE = "DeleteVpcBlockPublicAccessExclusion" +_DVECI = "DeleteVpcEncryptionControlInput" +_cDVECR = "com.amazonaws.ec2#DeleteVpcEncryptionControlRequest" +_DVECO = "DeleteVpcEncryptionControlOutput" +_cDVECRo = "com.amazonaws.ec2#DeleteVpcEncryptionControlResult" +_DVEC = "DeleteVpcEncryptionControl" +_CNIL = "ConnectionNotificationIdsList" +_DVECNI = "DeleteVpcEndpointConnectionNotificationsInput" +_cDVECNR = "com.amazonaws.ec2#DeleteVpcEndpointConnectionNotificationsRequest" +_CNIon = "ConnectionNotificationIds" +_DVECNO = "DeleteVpcEndpointConnectionNotificationsOutput" +_cDVECNRo = "com.amazonaws.ec2#DeleteVpcEndpointConnectionNotificationsResult" +_DVECN = "DeleteVpcEndpointConnectionNotifications" +_DVEI = "DeleteVpcEndpointsInput" +_cDVER = "com.amazonaws.ec2#DeleteVpcEndpointsRequest" +_DVEO = "DeleteVpcEndpointsOutput" +_cDVERo = "com.amazonaws.ec2#DeleteVpcEndpointsResult" +_DVE = "DeleteVpcEndpoints" +_VESILp = "VpcEndpointServiceIdList" +_DVESCI = "DeleteVpcEndpointServiceConfigurationsInput" +_cDVESCR = "com.amazonaws.ec2#DeleteVpcEndpointServiceConfigurationsRequest" +_SIer = "ServiceIds" +_DVESCO = "DeleteVpcEndpointServiceConfigurationsOutput" +_cDVESCRo = "com.amazonaws.ec2#DeleteVpcEndpointServiceConfigurationsResult" +_DVESC = "DeleteVpcEndpointServiceConfigurations" +_DVPCI = "DeleteVpcPeeringConnectionInput" +_cDVPCR = "com.amazonaws.ec2#DeleteVpcPeeringConnectionRequest" +_DVPCO = "DeleteVpcPeeringConnectionOutput" +_cDVPCRo = "com.amazonaws.ec2#DeleteVpcPeeringConnectionResult" +_DVPC = "DeleteVpcPeeringConnection" +_DVCI = "DeleteVpnConcentratorInput" +_cDVCR = "com.amazonaws.ec2#DeleteVpnConcentratorRequest" +_DVCO = "DeleteVpnConcentratorOutput" +_cDVCRo = "com.amazonaws.ec2#DeleteVpnConcentratorResult" +_DVC = "DeleteVpnConcentrator" +_DVCIe = "DeleteVpnConnectionInput" +_cDVCRom = "com.amazonaws.ec2#DeleteVpnConnectionRequest" +_DVCOe = "DeleteVpnConnectionOutput" +_DVCe = "DeleteVpnConnection" +_DVCRI = "DeleteVpnConnectionRouteInput" +_cDVCRR = "com.amazonaws.ec2#DeleteVpnConnectionRouteRequest" +_DVCRO = "DeleteVpnConnectionRouteOutput" +_DVCR = "DeleteVpnConnectionRoute" +_DVGI = "DeleteVpnGatewayInput" +_cDVGR = "com.amazonaws.ec2#DeleteVpnGatewayRequest" +_DVGO = "DeleteVpnGatewayOutput" +_DVG = "DeleteVpnGateway" +_DBCI = "DeprovisionByoipCidrInput" +_cDBCR = "com.amazonaws.ec2#DeprovisionByoipCidrRequest" +_DBCO = "DeprovisionByoipCidrOutput" +_cDBCRo = "com.amazonaws.ec2#DeprovisionByoipCidrResult" +_DBC = "DeprovisionByoipCidr" +_DIBI = "DeprovisionIpamByoasnInput" +_cDIBR = "com.amazonaws.ec2#DeprovisionIpamByoasnRequest" +_ASsn = "AsnState" +_By = "Byoasn" +_DIBO = "DeprovisionIpamByoasnOutput" +_cDIBRo = "com.amazonaws.ec2#DeprovisionIpamByoasnResult" +_by = "byoasn" +_DIB = "DeprovisionIpamByoasn" +_DIPCI = "DeprovisionIpamPoolCidrInput" +_cDIPCR = "com.amazonaws.ec2#DeprovisionIpamPoolCidrRequest" +_IPCFC = "IpamPoolCidrFailureCode" +_cna = "cidr_not_available" +_cna_ = "cidr-not-available" +_le = "limit_exceeded" +_le_ = "limit-exceeded" +_IPCFR = "IpamPoolCidrFailureReason" +_IPCIp = "IpamPoolCidrId" +_IPCS = "IpamPoolCidrState" +_pi = "pending_import" +_pi_ = "pending-import" +_fi__ = "failed_import" +_fi___ = "failed-import" +_IPCpa = "IpamPoolCidr" +_iPCI = "ipamPoolCidrId" +_nL = "netmaskLength" +_DIPCO = "DeprovisionIpamPoolCidrOutput" +_cDIPCRo = "com.amazonaws.ec2#DeprovisionIpamPoolCidrResult" +_iPCpa = "ipamPoolCidr" +_DIPC = "DeprovisionIpamPoolCidr" +_DPIPCI = "DeprovisionPublicIpv4PoolCidrInput" +_cDPIPCR = "com.amazonaws.ec2#DeprovisionPublicIpv4PoolCidrRequest" +_DASe = "DeprovisionedAddressSet" +_DPIPCO = "DeprovisionPublicIpv4PoolCidrOutput" +_cDPIPCRo = "com.amazonaws.ec2#DeprovisionPublicIpv4PoolCidrResult" +_DAep = "DeprovisionedAddresses" +_dASe = "deprovisionedAddressSet" +_DPIPC = "DeprovisionPublicIpv4PoolCidr" +_DIIe = "DeregisterImageInput" +_cDIRom = "com.amazonaws.ec2#DeregisterImageRequest" +_DASel = "DeleteAssociatedSnapshots" +_SRC = "SnapshotReturnCodes" +_SUCCESS = "SUCCESS" +_WS = "WARN_SKIPPED" +_ski = "skipped" +_EMP = "ERROR_MISSING_PERMISSIONS" +_mp = "missing-permissions" +_ECIE = "ERROR_CODE_INTERNAL_ERROR" +_ie____ = "internal-error" +_ECCE = "ERROR_CODE_CLIENT_ERROR" +_ce = "client-error" +_DSRC = "DeleteSnapshotReturnCode" +_DSRS = "DeleteSnapshotResultSet" +_DIOe = "DeregisterImageOutput" +_cDIRoma = "com.amazonaws.ec2#DeregisterImageResult" +_DSR = "DeleteSnapshotResults" +_dSRS = "deleteSnapshotResultSet" +_DIer = "DeregisterImage" +_ITKS = "InstanceTagKeySet" +_DITAR = "DeregisterInstanceTagAttributeRequest" +_IATOI = "IncludeAllTagsOfInstance" +_ITK = "InstanceTagKeys" +_ITKn = "InstanceTagKey" +_DIENAI = "DeregisterInstanceEventNotificationAttributesInput" +_cDIENAR = "com.amazonaws.ec2#DeregisterInstanceEventNotificationAttributesRequest" +_ITA = "InstanceTagAttribute" +_ITNA = "InstanceTagNotificationAttribute" +_iTKS = "instanceTagKeySet" +_iATOI = "includeAllTagsOfInstance" +_DIENAO = "DeregisterInstanceEventNotificationAttributesOutput" +_cDIENARo = "com.amazonaws.ec2#DeregisterInstanceEventNotificationAttributesResult" +_iTA = "instanceTagAttribute" +_DIENA = "DeregisterInstanceEventNotificationAttributes" +_TGNIIL = "TransitGatewayNetworkInterfaceIdList" +_DTGMGMI = "DeregisterTransitGatewayMulticastGroupMembersInput" +_cDTGMGMR = "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupMembersRequest" +_GIA = "GroupIpAddress" +_TGMDGM = "TransitGatewayMulticastDeregisteredGroupMembers" +_DNIIe = "DeregisteredNetworkInterfaceIds" +_dNII = "deregisteredNetworkInterfaceIds" +_gIA = "groupIpAddress" +_DTGMGMO = "DeregisterTransitGatewayMulticastGroupMembersOutput" +_cDTGMGMRo = "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupMembersResult" +_DMGM = "DeregisteredMulticastGroupMembers" +_dMGM = "deregisteredMulticastGroupMembers" +_DTGMGM = "DeregisterTransitGatewayMulticastGroupMembers" +_DTGMGSI = "DeregisterTransitGatewayMulticastGroupSourcesInput" +_cDTGMGSR = "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupSourcesRequest" +_TGMDGS = "TransitGatewayMulticastDeregisteredGroupSources" +_DTGMGSO = "DeregisterTransitGatewayMulticastGroupSourcesOutput" +_cDTGMGSRo = "com.amazonaws.ec2#DeregisterTransitGatewayMulticastGroupSourcesResult" +_DMGS = "DeregisteredMulticastGroupSources" +_dMGS = "deregisteredMulticastGroupSources" +_DTGMGS = "DeregisterTransitGatewayMulticastGroupSources" +_DAAI = "DescribeAccountAttributesInput" +_cDAAR = "com.amazonaws.ec2#DescribeAccountAttributesRequest" +_ANtt = "AttributeNames" +_DAAO = "DescribeAccountAttributesOutput" +_cDAARo = "com.amazonaws.ec2#DescribeAccountAttributesResult" +_AAc = "AccountAttributes" +_AASc = "AccountAttributeSet" +_aASc = "accountAttributeSet" +_DAA = "DescribeAccountAttributes" +_DAVECI = "DescribeAccountVpcEncryptionControlInput" +_cDAVECR = "com.amazonaws.ec2#DescribeAccountVpcEncryptionControlRequest" +_DAVECO = "DescribeAccountVpcEncryptionControlOutput" +_cDAVECRo = "com.amazonaws.ec2#DescribeAccountVpcEncryptionControlResult" +_aVEC = "accountVpcEncryptionControl" +_DAVEC = "DescribeAccountVpcEncryptionControl" +_Fi = "Filter" +_FL = "FilterList" +_PISL = "PublicIpStringList" +_DAI = "DescribeAddressesInput" +_cDAR = "com.amazonaws.ec2#DescribeAddressesRequest" +_PIu = "PublicIps" +_Fil = "Filters" +_DAO = "DescribeAddressesOutput" +_cDARo = "com.amazonaws.ec2#DescribeAddressesResult" +_ASdd = "AddressesSet" +_aSdd = "addressesSet" +_DAesc = "DescribeAddresses" +_NTex = "NextToken" +_DAAIe = "DescribeAddressesAttributeInput" +_cDAARom = "com.amazonaws.ec2#DescribeAddressesAttributeRequest" +_Attr = "Attribute" +_MR = "MaxResults" +_DAAOe = "DescribeAddressesAttributeOutput" +_cDAARoma = "com.amazonaws.ec2#DescribeAddressesAttributeResult" +_nT = "nextToken" +_DAAe = "DescribeAddressesAttribute" +_DATMR = "DescribeAddressTransfersMaxResults" +_DATI = "DescribeAddressTransfersInput" +_cDATR = "com.amazonaws.ec2#DescribeAddressTransfersRequest" +_DATO = "DescribeAddressTransfersOutput" +_cDATRo = "com.amazonaws.ec2#DescribeAddressTransfersResult" +_ATdd = "AddressTransfers" +_ATSdd = "AddressTransferSet" +_aTSd = "addressTransferSet" +_DATe = "DescribeAddressTransfers" +_DAIFI = "DescribeAggregateIdFormatInput" +_cDAIFR = "com.amazonaws.ec2#DescribeAggregateIdFormatRequest" +_IFd = "IdFormat" +_Dea = "Deadline" +_dea = "deadline" +_reso = "resource" +_ULI = "UseLongIds" +_uLI = "useLongIds" +_IFL = "IdFormatList" +_DAIFO = "DescribeAggregateIdFormatOutput" +_cDAIFRo = "com.amazonaws.ec2#DescribeAggregateIdFormatResult" +_ULIA = "UseLongIdsAggregated" +_uLIA = "useLongIdsAggregated" +_Statu = "Statuses" +_SSta = "StatusSet" +_sSt = "statusSet" +_DAIF = "DescribeAggregateIdFormat" +_DASMR = "DescribeApplicationStatusMaxResults" +_DASI = "DescribeApplicationStatusInput" +_cDASR = "com.amazonaws.ec2#DescribeApplicationStatusRequest" +_ASRT = "ApplicationStatusesResponseType" +_DASO = "DescribeApplicationStatusOutput" +_cDASRo = "com.amazonaws.ec2#DescribeApplicationStatusResult" +_ASpp = "ApplicationStatuses" +_aSRT = "applicationStatusesResponseType" +_DASes = "DescribeApplicationStatus" +_CPMR = "CoipPoolMaxResults" + +DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT: StaticSchema = ( + 18, + n0, + _DTGRTAI, + {_sSI: _cDTGRTAR, _sm: None}, + (_TGRTAI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGRTAO, + {_sSI: _cDTGRTARo, _smit: None}, + (_TGRTA,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT, + {_aQN: _TGRTA, _sN: _tGRTA}, + ), + ), +) + +DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT: StaticOperationSchema = ( + 23, + n0, + _DTGRTA, + 0, + DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_INPUT, + DELETE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_OUTPUT, + (), +) + +DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _DTGVAI, + {_sSI: _cDTGVAR, _sm: None}, + (_TGAI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGVAO, + {_sSI: _cDTGVARo, _smit: None}, + (_TGVA,), + ((lambda: schemas.TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), +) + +DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _DTGVA, + 0, + DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, + DELETE_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, + (), +) + +DELETE_VERIFIED_ACCESS_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DVAEI, + {_sSI: _cDVAER, _sm: None}, + (_VAEI, _CTl, _DR), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_VERIFIED_ACCESS_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DVAEO, + {_sSI: _cDVAERo, _smit: None}, + (_VAE,), + ((lambda: schemas.VERIFIED_ACCESS_ENDPOINT, {_aQN: _VAE, _sN: _vAE}),), +) + +DELETE_VERIFIED_ACCESS_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DVAE, + 0, + DELETE_VERIFIED_ACCESS_ENDPOINT_INPUT, + DELETE_VERIFIED_ACCESS_ENDPOINT_OUTPUT, + (), +) + +DELETE_VERIFIED_ACCESS_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DVAGI, + {_sSI: _cDVAGR, _sm: None}, + (_VAGI, _CTl, _DR), + ( + (lambda: schemas.VERIFIED_ACCESS_GROUP_ID, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DELETE_VERIFIED_ACCESS_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DVAGO, + {_sSI: _cDVAGRo, _smit: None}, + (_VAG,), + ((lambda: schemas.VERIFIED_ACCESS_GROUP, {_aQN: _VAG, _sN: _vAG}),), +) + +DELETE_VERIFIED_ACCESS_GROUP: StaticOperationSchema = ( + 23, + n0, + _DVAG, + 0, + DELETE_VERIFIED_ACCESS_GROUP_INPUT, + DELETE_VERIFIED_ACCESS_GROUP_OUTPUT, + (), +) + +DELETE_VERIFIED_ACCESS_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _DVAII, + {_sSI: _cDVAIR, _sm: None}, + (_VAII, _DR, _CTl), + ( + (lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +DELETE_VERIFIED_ACCESS_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _DVAIO, + {_sSI: _cDVAIRo, _smit: None}, + (_VAI,), + ((lambda: schemas.VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}),), +) + +DELETE_VERIFIED_ACCESS_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _DVAI, + 0, + DELETE_VERIFIED_ACCESS_INSTANCE_INPUT, + DELETE_VERIFIED_ACCESS_INSTANCE_OUTPUT, + (), +) + +DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DVATPI, + {_sSI: _cDVATPR, _sm: None}, + (_VATPI, _DR, _CTl), + ( + (lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _DVATPO, + {_sSI: _cDVATPRo, _smit: None}, + (_VATPe,), + ((lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}),), +) + +DELETE_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DVATP, + 0, + DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, + DELETE_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, + (), +) + +DELETE_VOLUME_INPUT: StaticSchema = ( + 18, + n0, + _DVI, + {_sSI: _cDVR, _sm: None}, + (_VIo, _DR), + ((lambda: schemas.VOLUME_ID, 1), (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr})), +) + +DELETE_VOLUME_OUTPUT: StaticSchema = (18, n0, _DVO, {_sSI: _sU, _smit: None}) + +DELETE_VOLUME: StaticOperationSchema = ( + 23, + n0, + _DVel, + 0, + DELETE_VOLUME_INPUT, + DELETE_VOLUME_OUTPUT, + (), +) + +DELETE_VPC_INPUT: StaticSchema = ( + 18, + n0, + _DVIe, + {_sSI: _cDVRo, _sm: None}, + (_VI, _DR), + ((lambda: schemas.VPC_ID, 1), (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr})), +) + +DELETE_VPC_OUTPUT: StaticSchema = (18, n0, _DVOe, {_sSI: _sU, _smit: None}) + +DELETE_VPC: StaticOperationSchema = ( + 23, + n0, + _DVele, + 0, + DELETE_VPC_INPUT, + DELETE_VPC_OUTPUT, + (), +) + +DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT: StaticSchema = ( + 18, + n0, + _DVBPAEI, + {_sSI: _cDVBPAER, _sm: None}, + (_DR, _EIx), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID, 1), + ), +) + +DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DVBPAEO, + {_sSI: _cDVBPAERo, _smit: None}, + (_VBPAE,), + ((lambda: schemas.VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION, {_aQN: _VBPAE, _sN: _vBPAE}),), +) + +DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION: StaticOperationSchema = ( + 23, + n0, + _DVBPAE, + 0, + DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT, + DELETE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT, + (), +) + +DELETE_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( + 18, + n0, + _DVECI, + {_sSI: _cDVECR, _sm: None}, + (_DR, _VECI), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.VPC_ENCRYPTION_CONTROL_ID, 1)), +) + +DELETE_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( + 18, + n0, + _DVECO, + {_sSI: _cDVECRo, _smit: None}, + (_VEC,), + ((lambda: schemas.VPC_ENCRYPTION_CONTROL, {_aQN: _VEC, _sN: _vEC}),), +) + +DELETE_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( + 23, + n0, + _DVEC, + 0, + DELETE_VPC_ENCRYPTION_CONTROL_INPUT, + DELETE_VPC_ENCRYPTION_CONTROL_OUTPUT, + (), +) + +CONNECTION_NOTIFICATION_ID: StaticSchema = (3, n0, _CNIo, 0) + +CONNECTION_NOTIFICATION_IDS_LIST: StaticSchema = ( + 16, + n0, + _CNIL, + 0, + (_me,), + ((CONNECTION_NOTIFICATION_ID, {_sN: _i}),), +) + +DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVECNI, + {_sSI: _cDVECNR, _sm: None}, + (_DR, _CNIon), + ( + (lambda: schemas.BOOLEAN, 0), + (CONNECTION_NOTIFICATION_IDS_LIST, {_sN: _CNIo, _smi: None}), + ), +) + +DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVECNO, + {_sSI: _cDVECNRo, _smit: None}, + (_Un,), + ((lambda: schemas.UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), +) + +DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS: StaticOperationSchema = ( + 23, + n0, + _DVECN, + 0, + DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT, + DELETE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT, + (), +) + +DELETE_VPC_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _DVEI, + {_sSI: _cDVER, _sm: None}, + (_DR, _VEIp), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_ID_LIST, {_sN: _VEI, _smi: None}), + ), +) + +DELETE_VPC_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVEO, + {_sSI: _cDVERo, _smit: None}, + (_Un,), + ((lambda: schemas.UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), +) + +DELETE_VPC_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _DVE, + 0, + DELETE_VPC_ENDPOINTS_INPUT, + DELETE_VPC_ENDPOINTS_OUTPUT, + (), +) + +VPC_ENDPOINT_SERVICE_ID_LIST: StaticSchema = ( + 16, + n0, + _VESILp, + 0, + (_me,), + ((lambda: schemas.VPC_ENDPOINT_SERVICE_ID, {_sN: _i}),), +) + +DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVESCI, + {_sSI: _cDVESCR, _sm: None}, + (_DR, _SIer), + ( + (lambda: schemas.BOOLEAN, 0), + (VPC_ENDPOINT_SERVICE_ID_LIST, {_sN: _SIe, _smi: None}), + ), +) + +DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVESCO, + {_sSI: _cDVESCRo, _smit: None}, + (_Un,), + ((lambda: schemas.UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), +) + +DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _DVESC, + 0, + DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT, + DELETE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT, + (), +) + +DELETE_VPC_PEERING_CONNECTION_INPUT: StaticSchema = ( + 18, + n0, + _DVPCI, + {_sSI: _cDVPCR, _sm: None}, + (_DR, _VPCI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ( + lambda: schemas.VPC_PEERING_CONNECTION_ID, + {_aQN: _VPCI, _sN: _vPCI, _smi: None}, + ), + ), +) + +DELETE_VPC_PEERING_CONNECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DVPCO, + {_sSI: _cDVPCRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DELETE_VPC_PEERING_CONNECTION: StaticOperationSchema = ( + 23, + n0, + _DVPC, + 0, + DELETE_VPC_PEERING_CONNECTION_INPUT, + DELETE_VPC_PEERING_CONNECTION_OUTPUT, + (), +) + +DELETE_VPN_CONCENTRATOR_INPUT: StaticSchema = ( + 18, + n0, + _DVCI, + {_sSI: _cDVCR, _sm: None}, + (_VCI, _DR), + ((lambda: schemas.VPN_CONCENTRATOR_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DELETE_VPN_CONCENTRATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCO, + {_sSI: _cDVCRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DELETE_VPN_CONCENTRATOR: StaticOperationSchema = ( + 23, + n0, + _DVC, + 0, + DELETE_VPN_CONCENTRATOR_INPUT, + DELETE_VPN_CONCENTRATOR_OUTPUT, + (), +) + +DELETE_VPN_CONNECTION_INPUT: StaticSchema = ( + 18, + n0, + _DVCIe, + {_sSI: _cDVCRom, _sm: None}, + (_VCIp, _DR), + ( + (lambda: schemas.VPN_CONNECTION_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DELETE_VPN_CONNECTION_OUTPUT: StaticSchema = (18, n0, _DVCOe, {_sSI: _sU, _smit: None}) + +DELETE_VPN_CONNECTION: StaticOperationSchema = ( + 23, + n0, + _DVCe, + 0, + DELETE_VPN_CONNECTION_INPUT, + DELETE_VPN_CONNECTION_OUTPUT, + (), +) + +DELETE_VPN_CONNECTION_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _DVCRI, + {_sSI: _cDVCRR, _sm: None}, + (_DCB, _VCIp), + ((lambda: schemas.STRING, 1), (lambda: schemas.VPN_CONNECTION_ID, 1)), +) + +DELETE_VPN_CONNECTION_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCRO, + {_sSI: _sU, _smit: None}, +) + +DELETE_VPN_CONNECTION_ROUTE: StaticOperationSchema = ( + 23, + n0, + _DVCR, + 0, + DELETE_VPN_CONNECTION_ROUTE_INPUT, + DELETE_VPN_CONNECTION_ROUTE_OUTPUT, + (), +) + +DELETE_VPN_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DVGI, + {_sSI: _cDVGR, _sm: None}, + (_VGI, _DR), + ( + (lambda: schemas.VPN_GATEWAY_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DELETE_VPN_GATEWAY_OUTPUT: StaticSchema = (18, n0, _DVGO, {_sSI: _sU, _smit: None}) + +DELETE_VPN_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DVG, + 0, + DELETE_VPN_GATEWAY_INPUT, + DELETE_VPN_GATEWAY_OUTPUT, + (), +) + +DEPROVISION_BYOIP_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _DBCI, + {_sSI: _cDBCR, _sm: None}, + (_Ci, _DR), + ((lambda: schemas.STRING, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DEPROVISION_BYOIP_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _DBCO, + {_sSI: _cDBCRo, _smit: None}, + (_BC,), + ((lambda: schemas.BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), +) + +DEPROVISION_BYOIP_CIDR: StaticOperationSchema = ( + 23, + n0, + _DBC, + 0, + DEPROVISION_BYOIP_CIDR_INPUT, + DEPROVISION_BYOIP_CIDR_OUTPUT, + (), +) + +DEPROVISION_IPAM_BYOASN_INPUT: StaticSchema = ( + 18, + n0, + _DIBI, + {_sSI: _cDIBR, _sm: None}, + (_DR, _IIp, _Asn), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (lambda: schemas.STRING, 1), + ), +) + +DEPROVISION_IPAM_BYOASN_OUTPUT: StaticSchema = ( + 18, + n0, + _DIBO, + {_sSI: _cDIBRo, _smit: None}, + (_By,), + ((lambda: BYOASN, {_aQN: _By, _sN: _by}),), +) + +DEPROVISION_IPAM_BYOASN: StaticOperationSchema = ( + 23, + n0, + _DIB, + 0, + DEPROVISION_IPAM_BYOASN_INPUT, + DEPROVISION_IPAM_BYOASN_OUTPUT, + (), +) + +ASN_STATE: StaticSchema = ( + 14, + n0, + _ASsn, + 0, + (_dep, _fd__, _fp, _pd__, _pp, _prov), + ( + (-1, {_sV: _dep}), + (-1, {_sV: _fd___}), + (-1, {_sV: _fp_}), + (-1, {_sV: _pd___}), + (-1, {_sV: _pp_}), + (-1, {_sV: _prov}), + ), +) + +BYOASN: StaticSchema = ( + 18, + n0, + _By, + 0, + (_Asn, _IIp, _SMt, _St), + ( + (lambda: schemas.STRING, {_aQN: _Asn, _sN: _asn}), + (lambda: schemas.IPAM_ID, {_aQN: _IIp, _sN: _iIp}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (ASN_STATE, {_aQN: _St, _sN: _st}), + ), +) + +DEPROVISION_IPAM_POOL_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _DIPCI, + {_sSI: _cDIPCR, _sm: None}, + (_DR, _IPI, _Ci), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.STRING, 0), + ), +) + +DEPROVISION_IPAM_POOL_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPCO, + {_sSI: _cDIPCRo, _smit: None}, + (_IPCpa,), + ((lambda: IPAM_POOL_CIDR, {_aQN: _IPCpa, _sN: _iPCpa}),), +) + +DEPROVISION_IPAM_POOL_CIDR: StaticOperationSchema = ( + 23, + n0, + _DIPC, + 0, + DEPROVISION_IPAM_POOL_CIDR_INPUT, + DEPROVISION_IPAM_POOL_CIDR_OUTPUT, + (), +) + +IPAM_POOL_CIDR_FAILURE_CODE: StaticSchema = ( + 14, + n0, + _IPCFC, + 0, + (_cna, _le), + ((-1, {_sV: _cna_}), (-1, {_sV: _le_})), +) + +IPAM_POOL_CIDR_FAILURE_REASON: StaticSchema = ( + 18, + n0, + _IPCFR, + 0, + (_C, _Me), + ( + (IPAM_POOL_CIDR_FAILURE_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +IPAM_POOL_CIDR_ID: StaticSchema = (3, n0, _IPCIp, 0) + +IPAM_POOL_CIDR_STATE: StaticSchema = ( + 14, + n0, + _IPCS, + 0, + (_pp, _prov, _fp, _pd__, _dep, _fd__, _pi, _fi__), + ( + (-1, {_sV: _pp_}), + (-1, {_sV: _prov}), + (-1, {_sV: _fp_}), + (-1, {_sV: _pd___}), + (-1, {_sV: _dep}), + (-1, {_sV: _fd___}), + (-1, {_sV: _pi_}), + (-1, {_sV: _fi___}), + ), +) + +IPAM_POOL_CIDR: StaticSchema = ( + 18, + n0, + _IPCpa, + 0, + (_Ci, _St, _FRa, _IPCIp, _NL), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (IPAM_POOL_CIDR_STATE, {_aQN: _St, _sN: _st}), + (IPAM_POOL_CIDR_FAILURE_REASON, {_aQN: _FRa, _sN: _fRa}), + (IPAM_POOL_CIDR_ID, {_aQN: _IPCIp, _sN: _iPCI}), + (lambda: schemas.INTEGER, {_aQN: _NL, _sN: _nL}), + ), +) + +DEPROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _DPIPCI, + {_sSI: _cDPIPCR, _sm: None}, + (_DR, _PIo, _Ci), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPV4_POOL_EC2_ID, 1), + (lambda: schemas.STRING, 1), + ), +) + +DEPROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _DPIPCO, + {_sSI: _cDPIPCRo, _smit: None}, + (_PIo, _DAep), + ( + (lambda: schemas.IPV4_POOL_EC2_ID, {_aQN: _PIo, _sN: _pIo}), + (lambda: DEPROVISIONED_ADDRESS_SET, {_aQN: _DASe, _sN: _dASe}), + ), +) + +DEPROVISION_PUBLIC_IPV4_POOL_CIDR: StaticOperationSchema = ( + 23, + n0, + _DPIPC, + 0, + DEPROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT, + DEPROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT, + (), +) + +DEPROVISIONED_ADDRESS_SET: StaticSchema = ( + 16, + n0, + _DASe, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +DEREGISTER_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _DIIe, + {_sSI: _cDIRom, _sm: None}, + (_IIm, _DASel, _DR), + ( + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DEREGISTER_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOe, + {_sSI: _cDIRoma, _smit: None}, + (_R, _DSR), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + (lambda: DELETE_SNAPSHOT_RESULT_SET, {_aQN: _DSRS, _sN: _dSRS}), + ), +) + +DEREGISTER_IMAGE: StaticOperationSchema = ( + 23, + n0, + _DIer, + 0, + DEREGISTER_IMAGE_INPUT, + DEREGISTER_IMAGE_OUTPUT, + (), +) + +SNAPSHOT_RETURN_CODES: StaticSchema = ( + 14, + n0, + _SRC, + 0, + (_SUCCESS, _WS, _EMP, _ECIE, _ECCE), + ( + (-1, {_sV: _succe}), + (-1, {_sV: _ski}), + (-1, {_sV: _mp}), + (-1, {_sV: _ie____}), + (-1, {_sV: _ce}), + ), +) + +DELETE_SNAPSHOT_RETURN_CODE: StaticSchema = ( + 18, + n0, + _DSRC, + 0, + (_SIn, _RCe), + ( + (lambda: schemas.SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), + (SNAPSHOT_RETURN_CODES, {_aQN: _RCe, _sN: _rC}), + ), +) + +DELETE_SNAPSHOT_RESULT_SET: StaticSchema = ( + 16, + n0, + _DSRS, + 0, + (_me,), + ((DELETE_SNAPSHOT_RETURN_CODE, {_sN: _i}),), +) + +INSTANCE_TAG_KEY_SET: StaticSchema = ( + 16, + n0, + _ITKS, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +DEREGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST: StaticSchema = ( + 18, + n0, + _DITAR, + 0, + (_IATOI, _ITK), + ((lambda: schemas.BOOLEAN, 0), (INSTANCE_TAG_KEY_SET, {_sN: _ITKn})), +) + +DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _DIENAI, + {_sSI: _cDIENAR, _sm: None}, + (_DR, _ITA), + ((lambda: schemas.BOOLEAN, 0), (DEREGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST, 1)), +) + +DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DIENAO, + {_sSI: _cDIENARo, _smit: None}, + (_ITA,), + ((lambda: INSTANCE_TAG_NOTIFICATION_ATTRIBUTE, {_aQN: _ITA, _sN: _iTA}),), +) + +DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _DIENA, + 0, + DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT, + DEREGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT, + (), +) + +INSTANCE_TAG_NOTIFICATION_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _ITNA, + 0, + (_ITK, _IATOI), + ( + (INSTANCE_TAG_KEY_SET, {_aQN: _ITKS, _sN: _iTKS}), + (lambda: schemas.BOOLEAN, {_aQN: _IATOI, _sN: _iATOI}), + ), +) + +TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST: StaticSchema = ( + 16, + n0, + _TGNIIL, + 0, + (_me,), + ((lambda: schemas.NETWORK_INTERFACE_ID, {_sN: _i}),), +) + +DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _DTGMGMI, + {_sSI: _cDTGMGMR, _sm: None}, + (_TGMDI, _GIA, _NIIe, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 0), + (lambda: schemas.STRING, 0), + (TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGMGMO, + {_sSI: _cDTGMGMRo, _smit: None}, + (_DMGM,), + ( + ( + lambda: TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_MEMBERS, + {_aQN: _DMGM, _sN: _dMGM}, + ), + ), +) + +DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _DTGMGM, + 0, + DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT, + DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_MEMBERS: StaticSchema = ( + 18, + n0, + _TGMDGM, + 0, + (_TGMDI, _DNIIe, _GIA), + ( + (lambda: schemas.STRING, {_aQN: _TGMDI, _sN: _tGMDI}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _DNIIe, _sN: _dNII}), + (lambda: schemas.STRING, {_aQN: _GIA, _sN: _gIA}), + ), +) + +DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT: StaticSchema = ( + 18, + n0, + _DTGMGSI, + {_sSI: _cDTGMGSR, _sm: None}, + (_TGMDI, _GIA, _NIIe, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 0), + (lambda: schemas.STRING, 0), + (TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGMGSO, + {_sSI: _cDTGMGSRo, _smit: None}, + (_DMGS,), + ( + ( + lambda: TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_SOURCES, + {_aQN: _DMGS, _sN: _dMGS}, + ), + ), +) + +DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES: StaticOperationSchema = ( + 23, + n0, + _DTGMGS, + 0, + DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT, + DEREGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT, + (), +) + +TRANSIT_GATEWAY_MULTICAST_DEREGISTERED_GROUP_SOURCES: StaticSchema = ( + 18, + n0, + _TGMDGS, + 0, + (_TGMDI, _DNIIe, _GIA), + ( + (lambda: schemas.STRING, {_aQN: _TGMDI, _sN: _tGMDI}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _DNIIe, _sN: _dNII}), + (lambda: schemas.STRING, {_aQN: _GIA, _sN: _gIA}), + ), +) + +DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _DAAI, + {_sSI: _cDAAR, _sm: None}, + (_DR, _ANtt), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.ACCOUNT_ATTRIBUTE_NAME_STRING_LIST, {_aQN: _ANt, _sN: _aN}), + ), +) + +DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DAAO, + {_sSI: _cDAARo, _smit: None}, + (_AAc,), + ((lambda: schemas.ACCOUNT_ATTRIBUTE_LIST, {_aQN: _AASc, _sN: _aASc}),), +) + +DESCRIBE_ACCOUNT_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _DAA, + 0, + DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT, + DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT, + (), +) + +DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( + 18, + n0, + _DAVECI, + {_sSI: _cDAVECR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( + 18, + n0, + _DAVECO, + {_sSI: _cDAVECRo, _smit: None}, + (_AVECc,), + ((lambda: schemas.ACCOUNT_VPC_ENCRYPTION_CONTROL, {_aQN: _AVECc, _sN: _aVEC}),), +) + +DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( + 23, + n0, + _DAVEC, + 0, + DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT, + DESCRIBE_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT, + (), +) + +FILTER: StaticSchema = ( + 18, + n0, + _Fi, + 0, + (_N, _Val), + ((lambda: schemas.STRING, 0), (lambda: schemas.VALUE_STRING_LIST, {_sN: _Va})), +) + +FILTER_LIST: StaticSchema = (16, n0, _FL, 0, (_me,), ((FILTER, {_sN: _Fi}),)) + +PUBLIC_IP_STRING_LIST: StaticSchema = ( + 16, + n0, + _PISL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _PI}),), +) + +DESCRIBE_ADDRESSES_INPUT: StaticSchema = ( + 18, + n0, + _DAI, + {_sSI: _cDAR, _sm: None}, + (_PIu, _DR, _Fil, _AIl), + ( + (PUBLIC_IP_STRING_LIST, {_sN: _PI}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.ALLOCATION_ID_LIST, {_sN: _AI}), + ), +) + +DESCRIBE_ADDRESSES_OUTPUT: StaticSchema = ( + 18, + n0, + _DAO, + {_sSI: _cDARo, _smit: None}, + (_Add,), + ((lambda: schemas.ADDRESS_LIST, {_aQN: _ASdd, _sN: _aSdd}),), +) + +DESCRIBE_ADDRESSES: StaticOperationSchema = ( + 23, + n0, + _DAesc, + 0, + DESCRIBE_ADDRESSES_INPUT, + DESCRIBE_ADDRESSES_OUTPUT, + (), +) + +NEXT_TOKEN: StaticSchema = (3, n0, _NTex, 0) + +DESCRIBE_ADDRESSES_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _DAAIe, + {_sSI: _cDAARom, _sm: None}, + (_AIl, _Attr, _NTex, _MR, _DR), + ( + (lambda: schemas.ALLOCATION_IDS, {_sN: _AI}), + (lambda: schemas.ADDRESS_ATTRIBUTE_NAME, 0), + (NEXT_TOKEN, 0), + (lambda: schemas.ADDRESS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_ADDRESSES_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DAAOe, + {_sSI: _cDAARoma, _smit: None}, + (_Add, _NTex), + ( + (lambda: schemas.ADDRESS_SET, {_aQN: _AS, _sN: _aS}), + (NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_ADDRESSES_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _DAAe, + 0, + DESCRIBE_ADDRESSES_ATTRIBUTE_INPUT, + DESCRIBE_ADDRESSES_ATTRIBUTE_OUTPUT, + (), +) + +DESCRIBE_ADDRESS_TRANSFERS_MAX_RESULTS: StaticSchema = (7, n0, _DATMR, 0) + +DESCRIBE_ADDRESS_TRANSFERS_INPUT: StaticSchema = ( + 18, + n0, + _DATI, + {_sSI: _cDATR, _sm: None}, + (_AIl, _NTex, _MR, _DR), + ( + (lambda: schemas.ALLOCATION_ID_LIST, {_sN: _AI}), + (lambda: schemas.STRING, 0), + (DESCRIBE_ADDRESS_TRANSFERS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_ADDRESS_TRANSFERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DATO, + {_sSI: _cDATRo, _smit: None}, + (_ATdd, _NTex), + ( + (lambda: schemas.ADDRESS_TRANSFER_LIST, {_aQN: _ATSdd, _sN: _aTSd}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_ADDRESS_TRANSFERS: StaticOperationSchema = ( + 23, + n0, + _DATe, + 0, + DESCRIBE_ADDRESS_TRANSFERS_INPUT, + DESCRIBE_ADDRESS_TRANSFERS_OUTPUT, + (), +) + +DESCRIBE_AGGREGATE_ID_FORMAT_INPUT: StaticSchema = ( + 18, + n0, + _DAIFI, + {_sSI: _cDAIFR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +DESCRIBE_AGGREGATE_ID_FORMAT_OUTPUT: StaticSchema = ( + 18, + n0, + _DAIFO, + {_sSI: _cDAIFRo, _smit: None}, + (_ULIA, _Statu), + ( + (lambda: schemas.BOOLEAN, {_aQN: _ULIA, _sN: _uLIA}), + (lambda: ID_FORMAT_LIST, {_aQN: _SSta, _sN: _sSt}), + ), +) + +DESCRIBE_AGGREGATE_ID_FORMAT: StaticOperationSchema = ( + 23, + n0, + _DAIF, + 0, + DESCRIBE_AGGREGATE_ID_FORMAT_INPUT, + DESCRIBE_AGGREGATE_ID_FORMAT_OUTPUT, + (), +) + +ID_FORMAT: StaticSchema = ( + 18, + n0, + _IFd, + 0, + (_Dea, _Reso, _ULI), + ( + (lambda: schemas.DATE_TIME, {_aQN: _Dea, _sN: _dea}), + (lambda: schemas.STRING, {_aQN: _Reso, _sN: _reso}), + (lambda: schemas.BOOLEAN, {_aQN: _ULI, _sN: _uLI}), + ), +) + +ID_FORMAT_LIST: StaticSchema = (16, n0, _IFL, 0, (_me,), ((ID_FORMAT, {_sN: _i}),)) + +DESCRIBE_APPLICATION_STATUS_MAX_RESULTS: StaticSchema = (7, n0, _DASMR, 0) + +DESCRIBE_APPLICATION_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _DASI, + {_sSI: _cDASR, _sm: None}, + (_IIn, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.INSTANCE_ID_LIST, {_sN: _II}), + (FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_APPLICATION_STATUS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_APPLICATION_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _DASO, + {_sSI: _cDASRo, _smit: None}, + (_ASpp, _NTex), + ( + (lambda: schemas.APPLICATION_STATUSES_RESPONSE_TYPE, {_aQN: _ASRT, _sN: _aSRT}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_APPLICATION_STATUS: StaticOperationSchema = ( + 23, + n0, + _DASes, + 0, + DESCRIBE_APPLICATION_STATUS_INPUT, + DESCRIBE_APPLICATION_STATUS_OUTPUT, + (), +) + +COIP_POOL_MAX_RESULTS: StaticSchema = (7, n0, _CPMR, 0) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_23.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_23.py new file mode 100644 index 000000000..18e0f90d0 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_23.py @@ -0,0 +1,1490 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_Ke = "Key" +_ke = "key" +_Va = "Value" +_va = "value" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_IC = "InstanceCount" +_OI = "OfferingId" +_av = "available" +_St = "State" +_st = "state" +_fa = "failed" +_As = "Associations" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_dRr = "dryRun" +_act = "active" +_ex = "expired" +_P = "Protocol" +_pro = "protocol" +_N = "Name" +_nam = "name" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_AZv = "AvailabilityZones" +_De = "Destination" +_des = "destination" +_Sou = "Source" +_so = "source" +_IT = "InstanceType" +_iT = "instanceType" +_RNe = "RegionName" +_NBG = "NetworkBorderGroup" +_nBG = "networkBorderGroup" +_Rea = "Reason" +_rea = "reason" +_FAILED = "FAILED" +_ASCI = "ApplicationStatusCheckId" +_aSCI = "applicationStatusCheckId" +_ATs = "AssociationType" +_aTs = "associationType" +_GN = "GroupName" +_gN = "groupName" +_BIu = "BundleId" +_can = "cancelled" +_iC = "instanceCount" +_CC = "CurrencyCode" +_cC = "currencyCode" +_CD = "CreateDate" +_cD = "createDate" +_Ag = "Aggregation" +_agg = "aggregation" +_CMDEI = "CapacityManagerDataExportId" +_Ten = "Tenancy" +_ED = "EndDate" +_SDt = "StartDate" +_sDt = "startDate" +_eD = "endDate" +_CBI = "CapacityBlockId" +_sch = "scheduled" +_pp__ = "payment_pending" +_pp___ = "payment-pending" +_pf____ = "payment_failed" +_pf_____ = "payment-failed" +_unav = "unavailable" +_cRI = "capacityReservationId" +_ten = "tenancy" +_cBI = "capacityBlockId" +_CRIS = "CapacityReservationIdSet" +_CRIa = "CapacityReservationIds" +_Ins = "Instances" +_rNe = "regionName" +_ASsso = "AssociationSet" +_aSss = "associationSet" +_tag = "tag" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_ASR = "ApplicationStatusReason" +_SCta = "StatusCode" +_sCt = "statusCode" +_ASCE = "ApplicationStatusCheckEnum" +_PASSED = "PASSED" +_pas = "passed" +_INITIALIZING = "INITIALIZING" +_init = "initializing" +_ID_ = "INSUFFICIENT_DATA" +_id_ = "insufficient-data" +_NA_ = "NOT_APPLICABLE" +_na_____ = "not-applicable" +_ASD = "ApplicationStatusDetail" +_CUT = "CheckUpdateTime" +_cUT = "checkUpdateTime" +_STS = "StatusTimeStamp" +_sTS = "statusTimeStamp" +_SStat = "StatusSince" +_sSta = "statusSince" +_ASDS = "ApplicationStatusDetailSet" +_ASEp = "ApplicationStatusEnum" +_OK_ = "OK" +_ok = "ok" +_IMPAIRED = "IMPAIRED" +_imp = "impaired" +_SUPPRESSED = "SUPPRESSED" +_sup = "suppressed" +_ASp = "ApplicationStatus" +_RAesu = "ResumeAt" +_rAes = "resumeAt" +_Det = "Details" +_DSet = "DetailSet" +_dSet = "detailSet" +_IASn = "InstanceApplicationStatus" +_aSp = "applicationStatus" +_IASS = "InstanceApplicationStatusSet" +_ASRT = "ApplicationStatusesResponseType" +_ISns = "InstanceSet" +_iSn = "instanceSet" +_ASCIL = "ApplicationStatusCheckIdList" +_DASCAMR = "DescribeApplicationStatusCheckAssociationsMaxResults" +_DASCAI = "DescribeApplicationStatusCheckAssociationsInput" +_cDASCAR = "com.amazonaws.ec2#DescribeApplicationStatusCheckAssociationsRequest" +_ASCIp = "ApplicationStatusCheckIds" +_ATE = "AssociationTypeEnum" +_TAG = "TAG" +_II_ = "INSTANCE_ID" +_ii_ = "instance-id" +_ASCAO = "ApplicationStatusCheckAssociationObject" +_ASCAS = "ApplicationStatusCheckAssociationSet" +_DASCAO = "DescribeApplicationStatusCheckAssociationsOutput" +_cDASCARo = "com.amazonaws.ec2#DescribeApplicationStatusCheckAssociationsResult" +_DASCA = "DescribeApplicationStatusCheckAssociations" +_DASCMR = "DescribeApplicationStatusChecksMaxResults" +_DASCIe = "DescribeApplicationStatusChecksInput" +_cDASCRom = "com.amazonaws.ec2#DescribeApplicationStatusChecksRequest" +_IAnc = "IncludeAll" +_ASCRS = "ApplicationStatusCheckResponseSet" +_DASCOe = "DescribeApplicationStatusChecksOutput" +_cDASCRoma = "com.amazonaws.ec2#DescribeApplicationStatusChecksResult" +_ASCpp = "ApplicationStatusChecks" +_ASCS = "ApplicationStatusCheckSet" +_aSCS = "applicationStatusCheckSet" +_DASCe = "DescribeApplicationStatusChecks" +_ZISL = "ZoneIdStringList" +_ZI = "ZoneId" +_ZNSL = "ZoneNameStringList" +_ZN = "ZoneName" +_DAZIe = "DescribeAvailabilityZonesInput" +_cDAZR = "com.amazonaws.ec2#DescribeAvailabilityZonesRequest" +_ZNo = "ZoneNames" +_ZIo = "ZoneIds" +_AAZ = "AllAvailabilityZones" +_AZG = "AvailabilityZoneGeography" +_AZGL = "AvailabilityZoneGeographyList" +_AZM = "AvailabilityZoneMessage" +_AZML = "AvailabilityZoneMessageList" +_AZOIS = "AvailabilityZoneOptInStatus" +_oinr = "opt_in_not_required" +_oinr_ = "opt-in-not-required" +_oi_ = "opted_in" +_oi__ = "opted-in" +_noi = "not_opted_in" +_noi_ = "not-opted-in" +_AZSv = "AvailabilityZoneState" +_infor = "information" +_cons = "constrained" +_AZSG = "AvailabilityZoneSubGeography" +_AZSGL = "AvailabilityZoneSubGeographyList" +_OIS = "OptInStatus" +_oIS = "optInStatus" +_Mes = "Messages" +_MSe = "MessageSet" +_mSe = "messageSet" +_zN = "zoneName" +_zI = "zoneId" +_ZT = "ZoneType" +_zT = "zoneType" +_PZN = "ParentZoneName" +_pZN = "parentZoneName" +_PZI = "ParentZoneId" +_pZI = "parentZoneId" +_GLN = "GroupLongName" +_gLN = "groupLongName" +_Ge = "Geography" +_GSe = "GeographySet" +_gSe = "geographySet" +_SGu = "SubGeography" +_SGSu = "SubGeographySet" +_sGSu = "subGeographySet" +_ZS = "ZoneState" +_zS = "zoneState" +_AZL = "AvailabilityZoneList" +_DAZO = "DescribeAvailabilityZonesOutput" +_cDAZRo = "com.amazonaws.ec2#DescribeAvailabilityZonesResult" +_AZIva = "AvailabilityZoneInfo" +_aZIv = "availabilityZoneInfo" +_DAZe = "DescribeAvailabilityZones" +_MRP = "MaxResultsParam" +_DANPMSI = "DescribeAwsNetworkPerformanceMetricSubscriptionsInput" +_cDANPMSR = "com.amazonaws.ec2#DescribeAwsNetworkPerformanceMetricSubscriptionsRequest" +_MTe = "MetricType" +_al__ = "aggregate_latency" +_al___ = "aggregate-latency" +_PTe = "PeriodType" +_fm = "five_minutes" +_fm_ = "five-minutes" +_fm__ = "fifteen_minutes" +_fm___ = "fifteen-minutes" +_oh = "one_hour" +_oh_ = "one-hour" +_th_ = "three_hours" +_th__ = "three-hours" +_od__ = "one_day" +_od___ = "one-day" +_ow_ = "one_week" +_ow__ = "one-week" +_STta = "StatisticType" +_p_____________ = "p50" +_Subs = "Subscription" +_Met = "Metric" +_met = "metric" +_Stati = "Statistic" +_stati = "statistic" +_Per = "Period" +_peri = "period" +_SLu = "SubscriptionList" +_DANPMSO = "DescribeAwsNetworkPerformanceMetricSubscriptionsOutput" +_cDANPMSRo = "com.amazonaws.ec2#DescribeAwsNetworkPerformanceMetricSubscriptionsResult" +_Subsc = "Subscriptions" +_SSub = "SubscriptionSet" +_sSu = "subscriptionSet" +_DANPMS = "DescribeAwsNetworkPerformanceMetricSubscriptions" +_BISL = "BundleIdStringList" +_DBTI = "DescribeBundleTasksInput" +_cDBTR = "com.amazonaws.ec2#DescribeBundleTasksRequest" +_BIund = "BundleIds" +_BTL = "BundleTaskList" +_DBTO = "DescribeBundleTasksOutput" +_cDBTRo = "com.amazonaws.ec2#DescribeBundleTasksResult" +_BTu = "BundleTasks" +_BITS = "BundleInstanceTasksSet" +_bITS = "bundleInstanceTasksSet" +_DBT = "DescribeBundleTasks" +_DBCMR = "DescribeByoipCidrsMaxResults" +_DBCIe = "DescribeByoipCidrsInput" +_cDBCRom = "com.amazonaws.ec2#DescribeByoipCidrsRequest" +_BCSy = "ByoipCidrSet" +_DBCOe = "DescribeByoipCidrsOutput" +_cDBCRoma = "com.amazonaws.ec2#DescribeByoipCidrsResult" +_BCy = "ByoipCidrs" +_bCS = "byoipCidrSet" +_DBCe = "DescribeByoipCidrs" +_DFCMR = "DescribeFutureCapacityMaxResults" +_DCBEHI = "DescribeCapacityBlockExtensionHistoryInput" +_cDCBEHR = "com.amazonaws.ec2#DescribeCapacityBlockExtensionHistoryRequest" +_CBES = "CapacityBlockExtensionStatus" +_PP = "PAYMENT_PENDING" +_PF___ = "PAYMENT_FAILED" +_PS_ = "PAYMENT_SUCCEEDED" +_ps = "payment-succeeded" +_CBE = "CapacityBlockExtension" +_CBEOI = "CapacityBlockExtensionOfferingId" +_cBEOI = "capacityBlockExtensionOfferingId" +_CBEDH = "CapacityBlockExtensionDurationHours" +_cBEDH = "capacityBlockExtensionDurationHours" +_cBES = "capacityBlockExtensionStatus" +_CBEPD = "CapacityBlockExtensionPurchaseDate" +_cBEPD = "capacityBlockExtensionPurchaseDate" +_CBESD = "CapacityBlockExtensionStartDate" +_cBESD = "capacityBlockExtensionStartDate" +_CBEED = "CapacityBlockExtensionEndDate" +_cBEED = "capacityBlockExtensionEndDate" +_UF = "UpfrontFee" +_uF = "upfrontFee" +_CBESa = "CapacityBlockExtensionSet" +_DCBEHO = "DescribeCapacityBlockExtensionHistoryOutput" +_cDCBEHRo = "com.amazonaws.ec2#DescribeCapacityBlockExtensionHistoryResult" +_CBEa = "CapacityBlockExtensions" +_cBESa = "capacityBlockExtensionSet" +_DCBEH = "DescribeCapacityBlockExtensionHistory" +_DCBEOMR = "DescribeCapacityBlockExtensionOfferingsMaxResults" +_DCBEOI = "DescribeCapacityBlockExtensionOfferingsInput" +_cDCBEOR = "com.amazonaws.ec2#DescribeCapacityBlockExtensionOfferingsRequest" +_CBEO = "CapacityBlockExtensionOffering" +_CBEOS = "CapacityBlockExtensionOfferingSet" +_DCBEOO = "DescribeCapacityBlockExtensionOfferingsOutput" +_cDCBEORo = "com.amazonaws.ec2#DescribeCapacityBlockExtensionOfferingsResult" +_CBEOa = "CapacityBlockExtensionOfferings" +_cBEOS = "capacityBlockExtensionOfferingSet" +_DCBEO = "DescribeCapacityBlockExtensionOfferings" +_DCBOMR = "DescribeCapacityBlockOfferingsMaxResults" +_DCBOI = "DescribeCapacityBlockOfferingsInput" +_cDCBOR = "com.amazonaws.ec2#DescribeCapacityBlockOfferingsRequest" +_SDR = "StartDateRange" +_EDR = "EndDateRange" +_CDH = "CapacityDurationHours" +_UTl = "UltraserverType" +_UC = "UltraserverCount" +_CBO = "CapacityBlockOffering" +_CBOI = "CapacityBlockOfferingId" +_cBOI = "capacityBlockOfferingId" +_CBDH = "CapacityBlockDurationHours" +_cBDH = "capacityBlockDurationHours" +_uTl = "ultraserverType" +_uC = "ultraserverCount" +_CBDM = "CapacityBlockDurationMinutes" +_cBDM = "capacityBlockDurationMinutes" +_CBOS = "CapacityBlockOfferingSet" +_DCBOO = "DescribeCapacityBlockOfferingsOutput" +_cDCBORo = "com.amazonaws.ec2#DescribeCapacityBlockOfferingsResult" +_CBOa = "CapacityBlockOfferings" +_cBOS = "capacityBlockOfferingSet" +_DCBO = "DescribeCapacityBlockOfferings" +_CBIa = "CapacityBlockIds" +_DCBMR = "DescribeCapacityBlocksMaxResults" +_DCBI = "DescribeCapacityBlocksInput" +_cDCBR = "com.amazonaws.ec2#DescribeCapacityBlocksRequest" +_CBRS = "CapacityBlockResourceState" +_CBa = "CapacityBlock" +_cRIS = "capacityReservationIdSet" +_CBSa = "CapacityBlockSet" +_DCBOe = "DescribeCapacityBlocksOutput" +_cDCBRo = "com.amazonaws.ec2#DescribeCapacityBlocksResult" +_CBap = "CapacityBlocks" +_cBSa = "capacityBlockSet" +_DCBe = "DescribeCapacityBlocks" +_DCBSMR = "DescribeCapacityBlockStatusMaxResults" +_DCBSI = "DescribeCapacityBlockStatusInput" +_cDCBSR = "com.amazonaws.ec2#DescribeCapacityBlockStatusRequest" +_CRSap = "CapacityReservationStatus" +_TCo = "TotalCapacity" +_tC = "totalCapacity" +_TAC = "TotalAvailableCapacity" +_tAC = "totalAvailableCapacity" +_TUC = "TotalUnavailableCapacity" +_tUC = "totalUnavailableCapacity" +_CRSS = "CapacityReservationStatusSet" +_CBIS = "CapacityBlockInterconnectStatus" +_id__ = "insufficient_data" +_CBSap = "CapacityBlockStatus" +_ISnt = "InterconnectStatus" +_iSnt = "interconnectStatus" +_CRSapa = "CapacityReservationStatuses" +_cRSS = "capacityReservationStatusSet" +_CBSS = "CapacityBlockStatusSet" +_DCBSO = "DescribeCapacityBlockStatusOutput" +_cDCBSRo = "com.amazonaws.ec2#DescribeCapacityBlockStatusResult" +_CBSapa = "CapacityBlockStatuses" +_cBSS = "capacityBlockStatusSet" +_DCBS = "DescribeCapacityBlockStatus" +_CMDEIS = "CapacityManagerDataExportIdSet" +_DCMDERMR = "DescribeCapacityManagerDataExportsRequestMaxResults" +_DCMDEIe = "DescribeCapacityManagerDataExportsInput" +_cDCMDERom = "com.amazonaws.ec2#DescribeCapacityManagerDataExportsRequest" +_CMDEIa = "CapacityManagerDataExportIds" +_DCMDEOe = "DescribeCapacityManagerDataExportsOutput" +_cDCMDERoma = "com.amazonaws.ec2#DescribeCapacityManagerDataExportsResult" +_CMDE = "CapacityManagerDataExports" +_CMDESa = "CapacityManagerDataExportSet" +_cMDES = "capacityManagerDataExportSet" +_DCMDEe = "DescribeCapacityManagerDataExports" + +APPLICATION_STATUS_REASON: StaticSchema = ( + 18, + n0, + _ASR, + 0, + (_C, _SCta, _P), + ( + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + (lambda: schemas.INTEGER, {_aQN: _SCta, _sN: _sCt}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro}), + ), +) + +APPLICATION_STATUS_CHECK_ENUM: StaticSchema = ( + 14, + n0, + _ASCE, + 0, + (_PASSED, _FAILED, _INITIALIZING, _ID_, _NA_), + ( + (-1, {_sV: _pas}), + (-1, {_sV: _fa}), + (-1, {_sV: _init}), + (-1, {_sV: _id_}), + (-1, {_sV: _na_____}), + ), +) + +APPLICATION_STATUS_DETAIL: StaticSchema = ( + 18, + n0, + _ASD, + 0, + (_ASCI, _CUT, _Ag, _Sta, _STS, _SStat, _Rea), + ( + (lambda: schemas.APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CUT, _sN: _cUT}), + (lambda: schemas.AGGREGATION_STATUS_ENUM, {_aQN: _Ag, _sN: _agg}), + (APPLICATION_STATUS_CHECK_ENUM, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _STS, _sN: _sTS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SStat, _sN: _sSta}), + (APPLICATION_STATUS_REASON, {_aQN: _Rea, _sN: _rea}), + ), +) + +APPLICATION_STATUS_DETAIL_SET: StaticSchema = ( + 16, + n0, + _ASDS, + 0, + (_me,), + ((APPLICATION_STATUS_DETAIL, {_sN: _i}),), +) + +APPLICATION_STATUS_ENUM: StaticSchema = ( + 14, + n0, + _ASEp, + 0, + (_OK_, _IMPAIRED, _INITIALIZING, _ID_, _NA_, _SUPPRESSED), + ( + (-1, {_sV: _ok}), + (-1, {_sV: _imp}), + (-1, {_sV: _init}), + (-1, {_sV: _id_}), + (-1, {_sV: _na_____}), + (-1, {_sV: _sup}), + ), +) + +APPLICATION_STATUS: StaticSchema = ( + 18, + n0, + _ASp, + 0, + (_Sta, _STS, _SStat, _RAesu, _Det), + ( + (APPLICATION_STATUS_ENUM, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _STS, _sN: _sTS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SStat, _sN: _sSta}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RAesu, _sN: _rAes}), + (APPLICATION_STATUS_DETAIL_SET, {_aQN: _DSet, _sN: _dSet}), + ), +) + +INSTANCE_APPLICATION_STATUS: StaticSchema = ( + 18, + n0, + _IASn, + 0, + (_II, _AZ, _AZI, _ASp, _Tag), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (APPLICATION_STATUS, {_aQN: _ASp, _sN: _aSp}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +INSTANCE_APPLICATION_STATUS_SET: StaticSchema = ( + 16, + n0, + _IASS, + 0, + (_me,), + ((INSTANCE_APPLICATION_STATUS, {_sN: _i}),), +) + +APPLICATION_STATUSES_RESPONSE_TYPE: StaticSchema = ( + 18, + n0, + _ASRT, + 0, + (_Ins,), + ((INSTANCE_APPLICATION_STATUS_SET, {_aQN: _ISns, _sN: _iSn}),), +) + +APPLICATION_STATUS_CHECK_ID_LIST: StaticSchema = ( + 16, + n0, + _ASCIL, + 0, + (_me,), + ((lambda: schemas.APPLICATION_STATUS_CHECK_ID, {_sN: _i}),), +) + +DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DASCAMR, + 0, +) + +DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DASCAI, + {_sSI: _cDASCAR, _sm: None}, + (_ASCIp, _Fil, _MR, _NTex, _DR), + ( + (APPLICATION_STATUS_CHECK_ID_LIST, {_sN: _ASCI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DASCAO, + {_sSI: _cDASCARo, _smit: None}, + (_As, _NTex, _Tag), + ( + (lambda: APPLICATION_STATUS_CHECK_ASSOCIATION_SET, {_aQN: _ASsso, _sN: _aSss}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _DASCA, + 0, + DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_INPUT, + DESCRIBE_APPLICATION_STATUS_CHECK_ASSOCIATIONS_OUTPUT, + (), +) + +ASSOCIATION_TYPE_ENUM: StaticSchema = ( + 14, + n0, + _ATE, + 0, + (_TAG, _II_), + ((-1, {_sV: _tag}), (-1, {_sV: _ii_})), +) + +APPLICATION_STATUS_CHECK_ASSOCIATION_OBJECT: StaticSchema = ( + 18, + n0, + _ASCAO, + 0, + (_ASCI, _ATs, _Ke, _Va), + ( + (lambda: schemas.APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), + (ASSOCIATION_TYPE_ENUM, {_aQN: _ATs, _sN: _aTs}), + (lambda: schemas.STRING, {_aQN: _Ke, _sN: _ke}), + (lambda: schemas.STRING, {_aQN: _Va, _sN: _va}), + ), +) + +APPLICATION_STATUS_CHECK_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _ASCAS, + 0, + (_me,), + ((APPLICATION_STATUS_CHECK_ASSOCIATION_OBJECT, {_sN: _i}),), +) + +DESCRIBE_APPLICATION_STATUS_CHECKS_MAX_RESULTS: StaticSchema = (7, n0, _DASCMR, 0) + +DESCRIBE_APPLICATION_STATUS_CHECKS_INPUT: StaticSchema = ( + 18, + n0, + _DASCIe, + {_sSI: _cDASCRom, _sm: None}, + (_ASCIp, _Fil, _MR, _NTex, _IAnc, _DR), + ( + (APPLICATION_STATUS_CHECK_ID_LIST, {_sN: _ASCI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_APPLICATION_STATUS_CHECKS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_APPLICATION_STATUS_CHECKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DASCOe, + {_sSI: _cDASCRoma, _smit: None}, + (_ASCpp, _NTex), + ( + (lambda: APPLICATION_STATUS_CHECK_RESPONSE_SET, {_aQN: _ASCS, _sN: _aSCS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_APPLICATION_STATUS_CHECKS: StaticOperationSchema = ( + 23, + n0, + _DASCe, + 0, + DESCRIBE_APPLICATION_STATUS_CHECKS_INPUT, + DESCRIBE_APPLICATION_STATUS_CHECKS_OUTPUT, + (), +) + +APPLICATION_STATUS_CHECK_RESPONSE_SET: StaticSchema = ( + 16, + n0, + _ASCRS, + 0, + (_me,), + ((lambda: schemas.APPLICATION_STATUS_CHECK_RESPONSE_OBJECT, {_sN: _i}),), +) + +ZONE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _ZISL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _ZI}),), +) + +ZONE_NAME_STRING_LIST: StaticSchema = ( + 16, + n0, + _ZNSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _ZN}),), +) + +DESCRIBE_AVAILABILITY_ZONES_INPUT: StaticSchema = ( + 18, + n0, + _DAZIe, + {_sSI: _cDAZR, _sm: None}, + (_ZNo, _ZIo, _AAZ, _DR, _Fil), + ( + (ZONE_NAME_STRING_LIST, {_sN: _ZN}), + (ZONE_ID_STRING_LIST, {_sN: _ZI}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_AVAILABILITY_ZONES_OUTPUT: StaticSchema = ( + 18, + n0, + _DAZO, + {_sSI: _cDAZRo, _smit: None}, + (_AZv,), + ((lambda: AVAILABILITY_ZONE_LIST, {_aQN: _AZIva, _sN: _aZIv}),), +) + +DESCRIBE_AVAILABILITY_ZONES: StaticOperationSchema = ( + 23, + n0, + _DAZe, + 0, + DESCRIBE_AVAILABILITY_ZONES_INPUT, + DESCRIBE_AVAILABILITY_ZONES_OUTPUT, + (), +) + +AVAILABILITY_ZONE_GEOGRAPHY: StaticSchema = ( + 18, + n0, + _AZG, + 0, + (_N,), + ((lambda: schemas.STRING, {_aQN: _N, _sN: _nam}),), +) + +AVAILABILITY_ZONE_GEOGRAPHY_LIST: StaticSchema = ( + 16, + n0, + _AZGL, + 0, + (_me,), + ((AVAILABILITY_ZONE_GEOGRAPHY, {_sN: _i}),), +) + +AVAILABILITY_ZONE_MESSAGE: StaticSchema = ( + 18, + n0, + _AZM, + 0, + (_Me,), + ((lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}),), +) + +AVAILABILITY_ZONE_MESSAGE_LIST: StaticSchema = ( + 16, + n0, + _AZML, + 0, + (_me,), + ((AVAILABILITY_ZONE_MESSAGE, {_sN: _i}),), +) + +AVAILABILITY_ZONE_OPT_IN_STATUS: StaticSchema = ( + 14, + n0, + _AZOIS, + 0, + (_oinr, _oi_, _noi), + ((-1, {_sV: _oinr_}), (-1, {_sV: _oi__}), (-1, {_sV: _noi_})), +) + +AVAILABILITY_ZONE_STATE: StaticSchema = ( + 14, + n0, + _AZSv, + 0, + (_av, _infor, _imp, _unav, _cons), + ( + (-1, {_sV: _av}), + (-1, {_sV: _infor}), + (-1, {_sV: _imp}), + (-1, {_sV: _unav}), + (-1, {_sV: _cons}), + ), +) + +AVAILABILITY_ZONE_SUB_GEOGRAPHY: StaticSchema = ( + 18, + n0, + _AZSG, + 0, + (_N,), + ((lambda: schemas.STRING, {_aQN: _N, _sN: _nam}),), +) + +AVAILABILITY_ZONE_SUB_GEOGRAPHY_LIST: StaticSchema = ( + 16, + n0, + _AZSGL, + 0, + (_me,), + ((AVAILABILITY_ZONE_SUB_GEOGRAPHY, {_sN: _i}),), +) + +AVAILABILITY_ZONE: StaticSchema = ( + 18, + n0, + _AZ, + 0, + (_OIS, _Mes, _RNe, _ZN, _ZI, _GN, _NBG, _ZT, _PZN, _PZI, _GLN, _Ge, _SGu, _St), + ( + (AVAILABILITY_ZONE_OPT_IN_STATUS, {_aQN: _OIS, _sN: _oIS}), + (AVAILABILITY_ZONE_MESSAGE_LIST, {_aQN: _MSe, _sN: _mSe}), + (lambda: schemas.STRING, {_aQN: _RNe, _sN: _rNe}), + (lambda: schemas.STRING, {_aQN: _ZN, _sN: _zN}), + (lambda: schemas.STRING, {_aQN: _ZI, _sN: _zI}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (lambda: schemas.STRING, {_aQN: _NBG, _sN: _nBG}), + (lambda: schemas.STRING, {_aQN: _ZT, _sN: _zT}), + (lambda: schemas.STRING, {_aQN: _PZN, _sN: _pZN}), + (lambda: schemas.STRING, {_aQN: _PZI, _sN: _pZI}), + (lambda: schemas.STRING, {_aQN: _GLN, _sN: _gLN}), + (AVAILABILITY_ZONE_GEOGRAPHY_LIST, {_aQN: _GSe, _sN: _gSe}), + (AVAILABILITY_ZONE_SUB_GEOGRAPHY_LIST, {_aQN: _SGSu, _sN: _sGSu}), + (AVAILABILITY_ZONE_STATE, {_aQN: _ZS, _sN: _zS}), + ), +) + +AVAILABILITY_ZONE_LIST: StaticSchema = ( + 16, + n0, + _AZL, + 0, + (_me,), + ((AVAILABILITY_ZONE, {_sN: _i}),), +) + +MAX_RESULTS_PARAM: StaticSchema = (7, n0, _MRP, 0) + +DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DANPMSI, + {_sSI: _cDANPMSR, _sm: None}, + (_MR, _NTex, _Fil, _DR), + ( + (MAX_RESULTS_PARAM, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DANPMSO, + {_sSI: _cDANPMSRo, _smit: None}, + (_NTex, _Subsc), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: SUBSCRIPTION_LIST, {_aQN: _SSub, _sN: _sSu}), + ), +) + +DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS: StaticOperationSchema = ( + 23, + n0, + _DANPMS, + 0, + DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_INPUT, + DESCRIBE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTIONS_OUTPUT, + (), +) + +METRIC_TYPE: StaticSchema = (14, n0, _MTe, 0, (_al__,), ((-1, {_sV: _al___}),)) + +PERIOD_TYPE: StaticSchema = ( + 14, + n0, + _PTe, + 0, + (_fm, _fm__, _oh, _th_, _od__, _ow_), + ( + (-1, {_sV: _fm_}), + (-1, {_sV: _fm___}), + (-1, {_sV: _oh_}), + (-1, {_sV: _th__}), + (-1, {_sV: _od___}), + (-1, {_sV: _ow__}), + ), +) + +STATISTIC_TYPE: StaticSchema = ( + 14, + n0, + _STta, + 0, + (_p_____________,), + ((-1, {_sV: _p_____________}),), +) + +SUBSCRIPTION: StaticSchema = ( + 18, + n0, + _Subs, + 0, + (_Sou, _De, _Met, _Stati, _Per), + ( + (lambda: schemas.STRING, {_aQN: _Sou, _sN: _so}), + (lambda: schemas.STRING, {_aQN: _De, _sN: _des}), + (METRIC_TYPE, {_aQN: _Met, _sN: _met}), + (STATISTIC_TYPE, {_aQN: _Stati, _sN: _stati}), + (PERIOD_TYPE, {_aQN: _Per, _sN: _peri}), + ), +) + +SUBSCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _SLu, + 0, + (_me,), + ((SUBSCRIPTION, {_sN: _i}),), +) + +BUNDLE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _BISL, + 0, + (_me,), + ((lambda: schemas.BUNDLE_ID, {_sN: _BIu}),), +) + +DESCRIBE_BUNDLE_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DBTI, + {_sSI: _cDBTR, _sm: None}, + (_BIund, _DR, _Fil), + ( + (BUNDLE_ID_STRING_LIST, {_sN: _BIu}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_BUNDLE_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DBTO, + {_sSI: _cDBTRo, _smit: None}, + (_BTu,), + ((lambda: BUNDLE_TASK_LIST, {_aQN: _BITS, _sN: _bITS}),), +) + +DESCRIBE_BUNDLE_TASKS: StaticOperationSchema = ( + 23, + n0, + _DBT, + 0, + DESCRIBE_BUNDLE_TASKS_INPUT, + DESCRIBE_BUNDLE_TASKS_OUTPUT, + (), +) + +BUNDLE_TASK_LIST: StaticSchema = ( + 16, + n0, + _BTL, + 0, + (_me,), + ((lambda: schemas.BUNDLE_TASK, {_sN: _i}),), +) + +DESCRIBE_BYOIP_CIDRS_MAX_RESULTS: StaticSchema = (7, n0, _DBCMR, 0) + +DESCRIBE_BYOIP_CIDRS_INPUT: StaticSchema = ( + 18, + n0, + _DBCIe, + {_sSI: _cDBCRom, _sm: None}, + (_DR, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (DESCRIBE_BYOIP_CIDRS_MAX_RESULTS, 1), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_BYOIP_CIDRS_OUTPUT: StaticSchema = ( + 18, + n0, + _DBCOe, + {_sSI: _cDBCRoma, _smit: None}, + (_BCy, _NTex), + ( + (lambda: BYOIP_CIDR_SET, {_aQN: _BCSy, _sN: _bCS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_BYOIP_CIDRS: StaticOperationSchema = ( + 23, + n0, + _DBCe, + 0, + DESCRIBE_BYOIP_CIDRS_INPUT, + DESCRIBE_BYOIP_CIDRS_OUTPUT, + (), +) + +BYOIP_CIDR_SET: StaticSchema = ( + 16, + n0, + _BCSy, + 0, + (_me,), + ((lambda: schemas.BYOIP_CIDR, {_sN: _i}),), +) + +DESCRIBE_FUTURE_CAPACITY_MAX_RESULTS: StaticSchema = (7, n0, _DFCMR, 0) + +DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_INPUT: StaticSchema = ( + 18, + n0, + _DCBEHI, + {_sSI: _cDCBEHR, _sm: None}, + (_CRIa, _NTex, _MR, _Fil, _DR), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), + (lambda: schemas.STRING, 0), + (DESCRIBE_FUTURE_CAPACITY_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_OUTPUT: StaticSchema = ( + 18, + n0, + _DCBEHO, + {_sSI: _cDCBEHRo, _smit: None}, + (_CBEa, _NTex), + ( + (lambda: CAPACITY_BLOCK_EXTENSION_SET, {_aQN: _CBESa, _sN: _cBESa}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY: StaticOperationSchema = ( + 23, + n0, + _DCBEH, + 0, + DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_INPUT, + DESCRIBE_CAPACITY_BLOCK_EXTENSION_HISTORY_OUTPUT, + (), +) + +OFFERING_ID: StaticSchema = (3, n0, _OI, 0) + +CAPACITY_BLOCK_EXTENSION_STATUS: StaticSchema = ( + 14, + n0, + _CBES, + 0, + (_PP, _PF___, _PS_), + ((-1, {_sV: _pp___}), (-1, {_sV: _pf_____}), (-1, {_sV: _ps})), +) + +CAPACITY_BLOCK_EXTENSION: StaticSchema = ( + 18, + n0, + _CBE, + 0, + ( + _CRI, + _IT, + _IC, + _AZ, + _AZI, + _CBEOI, + _CBEDH, + _CBES, + _CBEPD, + _CBESD, + _CBEED, + _UF, + _CC, + _ZT, + ), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (OFFERING_ID, {_aQN: _CBEOI, _sN: _cBEOI}), + (lambda: schemas.INTEGER, {_aQN: _CBEDH, _sN: _cBEDH}), + (CAPACITY_BLOCK_EXTENSION_STATUS, {_aQN: _CBES, _sN: _cBES}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CBEPD, _sN: _cBEPD}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CBESD, _sN: _cBESD}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CBEED, _sN: _cBEED}), + (lambda: schemas.STRING, {_aQN: _UF, _sN: _uF}), + (lambda: schemas.STRING, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.STRING, {_aQN: _ZT, _sN: _zT}), + ), +) + +CAPACITY_BLOCK_EXTENSION_SET: StaticSchema = ( + 16, + n0, + _CBESa, + 0, + (_me,), + ((CAPACITY_BLOCK_EXTENSION, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DCBEOMR, + 0, +) + +DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_INPUT: StaticSchema = ( + 18, + n0, + _DCBEOI, + {_sSI: _cDCBEOR, _sm: None}, + (_DR, _CBEDH, _CRI, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.STRING, 0), + (DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_MAX_RESULTS, 0), + ), +) + +DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCBEOO, + {_sSI: _cDCBEORo, _smit: None}, + (_CBEOa, _NTex), + ( + (lambda: CAPACITY_BLOCK_EXTENSION_OFFERING_SET, {_aQN: _CBEOS, _sN: _cBEOS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS: StaticOperationSchema = ( + 23, + n0, + _DCBEO, + 0, + DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_INPUT, + DESCRIBE_CAPACITY_BLOCK_EXTENSION_OFFERINGS_OUTPUT, + (), +) + +CAPACITY_BLOCK_EXTENSION_OFFERING: StaticSchema = ( + 18, + n0, + _CBEO, + 0, + (_CBEOI, _IT, _IC, _AZ, _AZI, _SDt, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Ten, _ZT), + ( + (OFFERING_ID, {_aQN: _CBEOI, _sN: _cBEOI}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CBESD, _sN: _cBESD}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CBEED, _sN: _cBEED}), + (lambda: schemas.INTEGER, {_aQN: _CBEDH, _sN: _cBEDH}), + (lambda: schemas.STRING, {_aQN: _UF, _sN: _uF}), + (lambda: schemas.STRING, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: schemas.STRING, {_aQN: _ZT, _sN: _zT}), + ), +) + +CAPACITY_BLOCK_EXTENSION_OFFERING_SET: StaticSchema = ( + 16, + n0, + _CBEOS, + 0, + (_me,), + ((CAPACITY_BLOCK_EXTENSION_OFFERING, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_BLOCK_OFFERINGS_MAX_RESULTS: StaticSchema = (7, n0, _DCBOMR, 0) + +DESCRIBE_CAPACITY_BLOCK_OFFERINGS_INPUT: StaticSchema = ( + 18, + n0, + _DCBOI, + {_sSI: _cDCBOR, _sm: None}, + (_DR, _IT, _IC, _SDR, _EDR, _CDH, _NTex, _MR, _UTl, _UC, _AAZ), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.STRING, 0), + (DESCRIBE_CAPACITY_BLOCK_OFFERINGS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CAPACITY_BLOCK_OFFERINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCBOO, + {_sSI: _cDCBORo, _smit: None}, + (_CBOa, _NTex), + ( + (lambda: CAPACITY_BLOCK_OFFERING_SET, {_aQN: _CBOS, _sN: _cBOS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CAPACITY_BLOCK_OFFERINGS: StaticOperationSchema = ( + 23, + n0, + _DCBO, + 0, + DESCRIBE_CAPACITY_BLOCK_OFFERINGS_INPUT, + DESCRIBE_CAPACITY_BLOCK_OFFERINGS_OUTPUT, + (), +) + +CAPACITY_BLOCK_OFFERING: StaticSchema = ( + 18, + n0, + _CBO, + 0, + (_CBOI, _IT, _AZ, _IC, _SDt, _ED, _CBDH, _UF, _CC, _Ten, _UTl, _UC, _CBDM, _ZT), + ( + (OFFERING_ID, {_aQN: _CBOI, _sN: _cBOI}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), + (lambda: schemas.INTEGER, {_aQN: _CBDH, _sN: _cBDH}), + (lambda: schemas.STRING, {_aQN: _UF, _sN: _uF}), + (lambda: schemas.STRING, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: schemas.STRING, {_aQN: _UTl, _sN: _uTl}), + (lambda: schemas.BOXED_INTEGER, {_aQN: _UC, _sN: _uC}), + (lambda: schemas.INTEGER, {_aQN: _CBDM, _sN: _cBDM}), + (lambda: schemas.STRING, {_aQN: _ZT, _sN: _zT}), + ), +) + +CAPACITY_BLOCK_OFFERING_SET: StaticSchema = ( + 16, + n0, + _CBOS, + 0, + (_me,), + ((CAPACITY_BLOCK_OFFERING, {_sN: _i}),), +) + +CAPACITY_BLOCK_IDS: StaticSchema = ( + 16, + n0, + _CBIa, + 0, + (_me,), + ((lambda: schemas.CAPACITY_BLOCK_ID, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_BLOCKS_MAX_RESULTS: StaticSchema = (7, n0, _DCBMR, 0) + +DESCRIBE_CAPACITY_BLOCKS_INPUT: StaticSchema = ( + 18, + n0, + _DCBI, + {_sSI: _cDCBR, _sm: None}, + (_CBIa, _NTex, _MR, _Fil, _DR), + ( + (CAPACITY_BLOCK_IDS, {_sN: _CBI}), + (lambda: schemas.STRING, 0), + (DESCRIBE_CAPACITY_BLOCKS_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CAPACITY_BLOCKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCBOe, + {_sSI: _cDCBRo, _smit: None}, + (_CBap, _NTex), + ( + (lambda: CAPACITY_BLOCK_SET, {_aQN: _CBSa, _sN: _cBSa}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CAPACITY_BLOCKS: StaticOperationSchema = ( + 23, + n0, + _DCBe, + 0, + DESCRIBE_CAPACITY_BLOCKS_INPUT, + DESCRIBE_CAPACITY_BLOCKS_OUTPUT, + (), +) + +CAPACITY_BLOCK_RESOURCE_STATE: StaticSchema = ( + 14, + n0, + _CBRS, + 0, + (_act, _ex, _unav, _can, _fa, _sch, _pp__, _pf____), + ( + (-1, {_sV: _act}), + (-1, {_sV: _ex}), + (-1, {_sV: _unav}), + (-1, {_sV: _can}), + (-1, {_sV: _fa}), + (-1, {_sV: _sch}), + (-1, {_sV: _pp___}), + (-1, {_sV: _pf_____}), + ), +) + +CAPACITY_BLOCK: StaticSchema = ( + 18, + n0, + _CBa, + 0, + (_CBI, _UTl, _AZ, _AZI, _CRIa, _SDt, _ED, _CD, _St, _Tag), + ( + (lambda: schemas.CAPACITY_BLOCK_ID, {_aQN: _CBI, _sN: _cBI}), + (lambda: schemas.STRING, {_aQN: _UTl, _sN: _uTl}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.CAPACITY_RESERVATION_ID_SET, {_aQN: _CRIS, _sN: _cRIS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CD, _sN: _cD}), + (CAPACITY_BLOCK_RESOURCE_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CAPACITY_BLOCK_SET: StaticSchema = ( + 16, + n0, + _CBSa, + 0, + (_me,), + ((CAPACITY_BLOCK, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_BLOCK_STATUS_MAX_RESULTS: StaticSchema = (7, n0, _DCBSMR, 0) + +DESCRIBE_CAPACITY_BLOCK_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _DCBSI, + {_sSI: _cDCBSR, _sm: None}, + (_CBIa, _NTex, _MR, _Fil, _DR), + ( + (CAPACITY_BLOCK_IDS, {_sN: _CBI}), + (lambda: schemas.STRING, 0), + (DESCRIBE_CAPACITY_BLOCK_STATUS_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CAPACITY_BLOCK_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCBSO, + {_sSI: _cDCBSRo, _smit: None}, + (_CBSapa, _NTex), + ( + (lambda: CAPACITY_BLOCK_STATUS_SET, {_aQN: _CBSS, _sN: _cBSS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CAPACITY_BLOCK_STATUS: StaticOperationSchema = ( + 23, + n0, + _DCBS, + 0, + DESCRIBE_CAPACITY_BLOCK_STATUS_INPUT, + DESCRIBE_CAPACITY_BLOCK_STATUS_OUTPUT, + (), +) + +CAPACITY_RESERVATION_STATUS: StaticSchema = ( + 18, + n0, + _CRSap, + 0, + (_CRI, _TCo, _TAC, _TUC), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.INTEGER, {_aQN: _TCo, _sN: _tC}), + (lambda: schemas.INTEGER, {_aQN: _TAC, _sN: _tAC}), + (lambda: schemas.INTEGER, {_aQN: _TUC, _sN: _tUC}), + ), +) + +CAPACITY_RESERVATION_STATUS_SET: StaticSchema = ( + 16, + n0, + _CRSS, + 0, + (_me,), + ((CAPACITY_RESERVATION_STATUS, {_sN: _i}),), +) + +CAPACITY_BLOCK_INTERCONNECT_STATUS: StaticSchema = ( + 14, + n0, + _CBIS, + 0, + (_ok, _imp, _id__), + ((-1, {_sV: _ok}), (-1, {_sV: _imp}), (-1, {_sV: _id_})), +) + +CAPACITY_BLOCK_STATUS: StaticSchema = ( + 18, + n0, + _CBSap, + 0, + (_CBI, _ISnt, _TCo, _TAC, _TUC, _CRSapa), + ( + (lambda: schemas.CAPACITY_BLOCK_ID, {_aQN: _CBI, _sN: _cBI}), + (CAPACITY_BLOCK_INTERCONNECT_STATUS, {_aQN: _ISnt, _sN: _iSnt}), + (lambda: schemas.INTEGER, {_aQN: _TCo, _sN: _tC}), + (lambda: schemas.INTEGER, {_aQN: _TAC, _sN: _tAC}), + (lambda: schemas.INTEGER, {_aQN: _TUC, _sN: _tUC}), + (CAPACITY_RESERVATION_STATUS_SET, {_aQN: _CRSS, _sN: _cRSS}), + ), +) + +CAPACITY_BLOCK_STATUS_SET: StaticSchema = ( + 16, + n0, + _CBSS, + 0, + (_me,), + ((CAPACITY_BLOCK_STATUS, {_sN: _i}),), +) + +CAPACITY_MANAGER_DATA_EXPORT_ID_SET: StaticSchema = ( + 16, + n0, + _CMDEIS, + 0, + (_me,), + ((lambda: schemas.CAPACITY_MANAGER_DATA_EXPORT_ID, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_REQUEST_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DCMDERMR, + 0, +) + +DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_INPUT: StaticSchema = ( + 18, + n0, + _DCMDEIe, + {_sSI: _cDCMDERom, _sm: None}, + (_CMDEIa, _MR, _NTex, _DR, _Fil), + ( + (CAPACITY_MANAGER_DATA_EXPORT_ID_SET, {_sN: _CMDEI}), + (DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCMDEOe, + {_sSI: _cDCMDERoma, _smit: None}, + (_CMDE, _NTex), + ( + ( + lambda: schemas.CAPACITY_MANAGER_DATA_EXPORT_RESPONSE_SET, + {_aQN: _CMDESa, _sN: _cMDES}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS: StaticOperationSchema = ( + 23, + n0, + _DCMDEe, + 0, + DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_INPUT, + DESCRIBE_CAPACITY_MANAGER_DATA_EXPORTS_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_24.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_24.py new file mode 100644 index 000000000..e945552de --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_24.py @@ -0,0 +1,1526 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_vp = "vpc" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_p = "pending" +_ac = "accepted" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_TGAI = "TransitGatewayAttachmentId" +_CVEI = "ClientVpnEndpointId" +_re = "rejected" +_TGI = "TransitGatewayId" +_tGAI = "transitGatewayAttachmentId" +_tGI = "transitGatewayId" +_cVEI = "clientVpnEndpointId" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_fa = "failed" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_dRr = "dryRun" +_act = "active" +_ex = "expired" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_DC = "DestinationCidr" +_dC = "destinationCidr" +_II = "InstanceId" +_iI = "instanceId" +_CGI = "CarrierGatewayId" +_AZv = "AvailabilityZones" +_AZS = "AvailabilityZoneSet" +_aZS = "availabilityZoneSet" +_AZIv = "AvailabilityZoneIds" +_AZIS = "AvailabilityZoneIdSet" +_aZIS = "availabilityZoneIdSet" +_ena = "enabled" +_IT = "InstanceType" +_iT = "instanceType" +_Ro = "Role" +_Des = "Description" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_ASll = "AllocationStrategy" +_SGIe = "SecurityGroupIds" +_FAILED = "FAILED" +_IIn = "InstanceIds" +_URBOI = "UnusedReservationBillingOwnerId" +_Ti = "Timestamp" +_ti = "timestamp" +_GIr = "GroupId" +_gIr = "groupId" +_G = "Groups" +_TPT = "TrustProviderType" +_tPT = "trustProviderType" +_TI = "TenantId" +_tI = "tenantId" +_PSKU = "PublicSigningKeyUrl" +_pSKU = "publicSigningKeyUrl" +_GN = "GroupName" +_gN = "groupName" +_CRCQI = "CapacityReservationCancellationQuoteId" +_CRFI = "CapacityReservationFleetId" +_CRFIa = "CapacityReservationFleetIds" +_cRFI = "capacityReservationFleetId" +_can = "cancelled" +_CTr = "CreateTime" +_cTr = "createTime" +_DTe = "DeletionTime" +_dT = "deletionTime" +_OF = "OutputFormat" +_Sch = "Schedule" +_SBN = "S3BucketName" +_SBP = "S3BucketPrefix" +_CMDEI = "CapacityManagerDataExportId" +_cMDEI = "capacityManagerDataExportId" +_IMC = "InstanceMatchCriteria" +_Ten = "Tenancy" +_ED = "EndDate" +_eD = "endDate" +_ap = "applied" +_CBI = "CapacityBlockId" +_cRI = "capacityReservationId" +_ten = "tenancy" +_iMC = "instanceMatchCriteria" +_uRBOI = "unusedReservationBillingOwnerId" +_cBI = "capacityBlockId" +_CRMQI = "CapacityReservationModificationQuoteId" +_ITS = "InstanceTypeSpecifications" +_IRn = "InstanceRequirements" +_TTC = "TotalTargetCapacity" +_tTC = "totalTargetCapacity" +_TFC = "TotalFulfilledCapacity" +_tFC = "totalFulfilledCapacity" +_aSl = "allocationStrategy" +_DIi = "DirectoryId" +_Ty = "Type" +_ADc = "ActiveDirectory" +_MA = "MutualAuthentication" +_FA = "FederatedAuthentication" +_CCO = "ClientConnectOptions" +_Ena = "Enabled" +_LFA = "LambdaFunctionArn" +_CLBO = "ClientLoginBannerOptions" +_BTa = "BannerText" +_CREO = "ClientRouteEnforcementOptions" +_Enf = "Enforced" +_CLO = "ConnectionLogOptions" +_CLG = "CloudwatchLogGroup" +_CLS = "CloudwatchLogStream" +_IAPC = "IncludeAuthorizationPolicyContext" +_DPO = "DevicePostureOptions" +_TPr = "TrustProviders" +_EIAT = "EndpointIpAddressType" +_TIAT = "TrafficIpAddressType" +_TPra = "TransportProtocol" +_CCB = "ClientCidrBlock" +_SCA = "ServerCertificateArn" +_AO = "AuthenticationOptions" +_DSn = "DnsServers" +_VPp = "VpnPort" +_STp = "SplitTunnel" +_STH = "SessionTimeoutHours" +_DOST = "DisconnectOnSessionTimeout" +_TGC = "TransitGatewayConfiguration" +_DN = "DnsName" +_dN = "dnsName" +_ty = "type" +_ip_____ = "in-progress" +_CRIa = "CapacityReservationIds" +_iRn = "instanceRequirements" +_Ins = "Instances" +_SGIS = "SecurityGroupIdSet" +_sGIS = "securityGroupIdSet" +_GS = "GroupSet" +_gS = "groupSet" +_PENDING = "PENDING" +_revo = "revoked" +_NTe = "NetworkType" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_CMDES = "CapacityManagerDataExportStatus" +_IP_ = "IN_PROGRESS" +_DELIVERED = "DELIVERED" +_deli = "delivered" +_CMDER = "CapacityManagerDataExportResponse" +_sBN = "s3BucketName" +_sBP = "s3BucketPrefix" +_sche = "schedule" +_oF = "outputFormat" +_LDS = "LatestDeliveryStatus" +_lDS = "latestDeliveryStatus" +_LDSM = "LatestDeliveryStatusMessage" +_lDSM = "latestDeliveryStatusMessage" +_LDSLU = "LatestDeliveryS3LocationUri" +_lDSLU = "latestDeliveryS3LocationUri" +_LDTa = "LatestDeliveryTime" +_lDT = "latestDeliveryTime" +_CMDERS = "CapacityManagerDataExportResponseSet" +_DCRBRRMR = "DescribeCapacityReservationBillingRequestsRequestMaxResults" +_CRal = "CallerRole" +_oo = "odcr_owner" +_oo_ = "odcr-owner" +_urbo = "unused_reservation_billing_owner" +_urbo_ = "unused-reservation-billing-owner" +_DCRBRI = "DescribeCapacityReservationBillingRequestsInput" +_cDCRBRR = "com.amazonaws.ec2#DescribeCapacityReservationBillingRequestsRequest" +_CRIap = "CapacityReservationInfo" +_CRBRS = "CapacityReservationBillingRequestStatus" +_CRBR = "CapacityReservationBillingRequest" +_RB = "RequestedBy" +_rBe = "requestedBy" +_LUTas = "LastUpdateTime" +_lUTas = "lastUpdateTime" +_cRIa = "capacityReservationInfo" +_CRBRSa = "CapacityReservationBillingRequestSet" +_DCRBRO = "DescribeCapacityReservationBillingRequestsOutput" +_cDCRBRRo = "com.amazonaws.ec2#DescribeCapacityReservationBillingRequestsResult" +_CRBRa = "CapacityReservationBillingRequests" +_cRBRS = "capacityReservationBillingRequestSet" +_DCRBR = "DescribeCapacityReservationBillingRequests" +_CRCQIS = "CapacityReservationCancellationQuoteIdSet" +_DCRCQRMR = "DescribeCapacityReservationCancellationQuotesRequestMaxResults" +_DCRCQI = "DescribeCapacityReservationCancellationQuotesInput" +_cDCRCQR = "com.amazonaws.ec2#DescribeCapacityReservationCancellationQuotesRequest" +_CRCQIa = "CapacityReservationCancellationQuoteIds" +_CRCQRS = "CapacityReservationCancellationQuoteResponseSet" +_DCRCQO = "DescribeCapacityReservationCancellationQuotesOutput" +_cDCRCQRo = "com.amazonaws.ec2#DescribeCapacityReservationCancellationQuotesResult" +_CRCQa = "CapacityReservationCancellationQuotes" +_CRCQSa = "CapacityReservationCancellationQuoteSet" +_cRCQS = "capacityReservationCancellationQuoteSet" +_DCRCQ = "DescribeCapacityReservationCancellationQuotes" +_CRMQIS = "CapacityReservationModificationQuoteIdSet" +_DCRDCQRMR = "DescribeCapacityReservationDateChangeQuotesRequestMaxResults" +_DCRDCQI = "DescribeCapacityReservationDateChangeQuotesInput" +_cDCRDCQR = "com.amazonaws.ec2#DescribeCapacityReservationDateChangeQuotesRequest" +_CRMQIa = "CapacityReservationModificationQuoteIds" +_CRMQRS = "CapacityReservationModificationQuoteResponseSet" +_DCRDCQO = "DescribeCapacityReservationDateChangeQuotesOutput" +_cDCRDCQRo = "com.amazonaws.ec2#DescribeCapacityReservationDateChangeQuotesResult" +_CRMQa = "CapacityReservationModificationQuotes" +_CRMQSa = "CapacityReservationModificationQuoteSet" +_cRMQS = "capacityReservationModificationQuoteSet" +_DCRDCQ = "DescribeCapacityReservationDateChangeQuotes" +_DCRFMR = "DescribeCapacityReservationFleetsMaxResults" +_DCRFI = "DescribeCapacityReservationFleetsInput" +_cDCRFR = "com.amazonaws.ec2#DescribeCapacityReservationFleetsRequest" +_CRF = "CapacityReservationFleet" +_CRFA = "CapacityReservationFleetArn" +_cRFA = "capacityReservationFleetArn" +_ITSS = "InstanceTypeSpecificationSet" +_iTSS = "instanceTypeSpecificationSet" +_CRFSa = "CapacityReservationFleetSet" +_DCRFO = "DescribeCapacityReservationFleetsOutput" +_cDCRFRo = "com.amazonaws.ec2#DescribeCapacityReservationFleetsResult" +_CRFa = "CapacityReservationFleets" +_cRFS = "capacityReservationFleetSet" +_DCRF = "DescribeCapacityReservationFleets" +_DCRMR = "DescribeCapacityReservationsMaxResults" +_DCRI = "DescribeCapacityReservationsInput" +_cDCRR = "com.amazonaws.ec2#DescribeCapacityReservationsRequest" +_CRSapac = "CapacityReservationSet" +_DCRO = "DescribeCapacityReservationsOutput" +_cDCRRo = "com.amazonaws.ec2#DescribeCapacityReservationsResult" +_CRapac = "CapacityReservations" +_cRSa = "capacityReservationSet" +_DCRe = "DescribeCapacityReservations" +_DCRTMR = "DescribeCapacityReservationTopologyMaxResults" +_DCRTI = "DescribeCapacityReservationTopologyInput" +_cDCRTR = "com.amazonaws.ec2#DescribeCapacityReservationTopologyRequest" +_NNS = "NetworkNodeSet" +_CRTapa = "CapacityReservationTopology" +_NN = "NetworkNodes" +_nNS = "networkNodeSet" +_CRTS = "CapacityReservationTopologySet" +_DCRTO = "DescribeCapacityReservationTopologyOutput" +_cDCRTRo = "com.amazonaws.ec2#DescribeCapacityReservationTopologyResult" +_DCRT = "DescribeCapacityReservationTopology" +_CGIS = "CarrierGatewayIdSet" +_CGMR = "CarrierGatewayMaxResults" +_DCGIes = "DescribeCarrierGatewaysInput" +_cDCGRoma = "com.amazonaws.ec2#DescribeCarrierGatewaysRequest" +_CGIa = "CarrierGatewayIds" +_CGSa = "CarrierGatewaySet" +_DCGOes = "DescribeCarrierGatewaysOutput" +_cDCGRomam = "com.amazonaws.ec2#DescribeCarrierGatewaysResult" +_CGar = "CarrierGateways" +_cGS = "carrierGatewaySet" +_DCGes = "DescribeCarrierGateways" +_DCLIMR = "DescribeClassicLinkInstancesMaxResults" +_DCLII = "DescribeClassicLinkInstancesInput" +_cDCLIR = "com.amazonaws.ec2#DescribeClassicLinkInstancesRequest" +_mR = "maxResults" +_CLI = "ClassicLinkInstance" +_CLIL = "ClassicLinkInstanceList" +_DCLIO = "DescribeClassicLinkInstancesOutput" +_cDCLIRo = "com.amazonaws.ec2#DescribeClassicLinkInstancesResult" +_ISnst = "InstancesSet" +_iSns = "instancesSet" +_DCLI = "DescribeClassicLinkInstances" +_DCVARMR = "DescribeClientVpnAuthorizationRulesMaxResults" +_DCVARI = "DescribeClientVpnAuthorizationRulesInput" +_cDCVARR = "com.amazonaws.ec2#DescribeClientVpnAuthorizationRulesRequest" +_ARut = "AuthorizationRule" +_AAcc = "AccessAll" +_aAc = "accessAll" +_ARSu = "AuthorizationRuleSet" +_DCVARO = "DescribeClientVpnAuthorizationRulesOutput" +_cDCVARRo = "com.amazonaws.ec2#DescribeClientVpnAuthorizationRulesResult" +_ARuth = "AuthorizationRules" +_aRut = "authorizationRule" +_DCVAR = "DescribeClientVpnAuthorizationRules" +_DCVCMR = "DescribeClientVpnConnectionsMaxResults" +_DCVCI = "DescribeClientVpnConnectionsInput" +_cDCVCR = "com.amazonaws.ec2#DescribeClientVpnConnectionsRequest" +_CVCSC = "ClientVpnConnectionStatusCode" +_ftt = "failed_to_terminate" +_ftt_ = "failed-to-terminate" +_termi = "terminating" +_termin = "terminated" +_CVCS = "ClientVpnConnectionStatus" +_CVCl = "ClientVpnConnection" +_CIon = "ConnectionId" +_cIon = "connectionId" +_Use = "Username" +_user = "username" +_CETo = "ConnectionEstablishedTime" +_cET = "connectionEstablishedTime" +_IB = "IngressBytes" +_iB = "ingressBytes" +_EB = "EgressBytes" +_eB = "egressBytes" +_IPng = "IngressPackets" +_iPng = "ingressPackets" +_EPg = "EgressPackets" +_eP = "egressPackets" +_CIli = "ClientIp" +_cIli = "clientIp" +_CIA = "ClientIpv6Address" +_cIA = "clientIpv6Address" +_CNom = "CommonName" +_cNo = "commonName" +_CETon = "ConnectionEndTime" +_cETo = "connectionEndTime" +_PCSo = "PostureComplianceStatuses" +_PCSS = "PostureComplianceStatusSet" +_pCSS = "postureComplianceStatusSet" +_APLET = "AuthorizationPolicyLastEvaluatedTime" +_aPLET = "authorizationPolicyLastEvaluatedTime" +_CVCSl = "ClientVpnConnectionSet" +_DCVCO = "DescribeClientVpnConnectionsOutput" +_cDCVCRo = "com.amazonaws.ec2#DescribeClientVpnConnectionsResult" +_Conn = "Connections" +_conn = "connections" +_DCVC = "DescribeClientVpnConnections" +_CVEIL = "ClientVpnEndpointIdList" +_DCVEMR = "DescribeClientVpnEndpointMaxResults" +_DCVEIe = "DescribeClientVpnEndpointsInput" +_cDCVERom = "com.amazonaws.ec2#DescribeClientVpnEndpointsRequest" +_CVEIl = "ClientVpnEndpointIds" +_ANT = "AssociatedNetworkType" +_ATN = "AssociatedTargetNetwork" +_NIet = "NetworkId" +_nIe = "networkId" +_nTe = "networkType" +_ATNS = "AssociatedTargetNetworkSet" +_DSA = "DirectoryServiceAuthentication" +_dIi = "directoryId" +_SPA = "SamlProviderArn" +_sPA = "samlProviderArn" +_SSSPA = "SelfServiceSamlProviderArn" +_sSSPA = "selfServiceSamlProviderArn" +_CAer = "CertificateAuthentication" +_CRCC = "ClientRootCertificateChain" +_cRCC = "clientRootCertificateChain" +_CVA = "ClientVpnAuthentication" +_aDc = "activeDirectory" +_mAu = "mutualAuthentication" +_fA = "federatedAuthentication" +_CVAL = "ClientVpnAuthenticationList" +_CVEASC = "ClientVpnEndpointAttributeStatusCode" +_appl = "applying" +_CVEAS = "ClientVpnEndpointAttributeStatus" +_CCROl = "ClientConnectResponseOptions" +_lFA = "lambdaFunctionArn" +_CLBRO = "ClientLoginBannerResponseOptions" +_bT = "bannerText" +_CRERO = "ClientRouteEnforcementResponseOptions" +_enfo = "enforced" +_CLRO = "ConnectionLogResponseOptions" +_CVTP = "ClientVpnTrustProvider" +_CVTPS = "ClientVpnTrustProviderSet" +_DPRO = "DevicePostureResponseOptions" +_TPS = "TrustProviderSet" +_tPS = "trustProviderSet" +_TGCDES = "TransitGatewayConfigurationDescribeEndpointStructure" +_VPpn = "VpnProtocol" +_open = "openvpn" +_CVEl = "ClientVpnEndpoint" +_cCB = "clientCidrBlock" +_DSns = "DnsServer" +_dSn = "dnsServer" +_sTp = "splitTunnel" +_vPp = "vpnProtocol" +_tPr = "transportProtocol" +_vPpn = "vpnPort" +_ATNs = "AssociatedTargetNetworks" +_aTN = "associatedTargetNetwork" +_sCA = "serverCertificateArn" +_aO = "authenticationOptions" +_cLO = "connectionLogOptions" +_SSPU = "SelfServicePortalUrl" +_sSPU = "selfServicePortalUrl" +_cCO = "clientConnectOptions" +_sTH = "sessionTimeoutHours" +_cLBO = "clientLoginBannerOptions" +_cREO = "clientRouteEnforcementOptions" +_dOST = "disconnectOnSessionTimeout" +_eIAT = "endpointIpAddressType" +_tIAT = "trafficIpAddressType" +_tGCr = "transitGatewayConfiguration" +_dPO = "devicePostureOptions" +_DCVEOe = "DescribeClientVpnEndpointsOutput" +_cDCVERoma = "com.amazonaws.ec2#DescribeClientVpnEndpointsResult" +_CVEli = "ClientVpnEndpoints" +_cVE = "clientVpnEndpoint" +_DCVEe = "DescribeClientVpnEndpoints" + +CAPACITY_MANAGER_DATA_EXPORT_STATUS: StaticSchema = ( + 14, + n0, + _CMDES, + 0, + (_PENDING, _IP_, _DELIVERED, _FAILED), + ((-1, {_sV: _p}), (-1, {_sV: _ip_____}), (-1, {_sV: _deli}), (-1, {_sV: _fa})), +) + +CAPACITY_MANAGER_DATA_EXPORT_RESPONSE: StaticSchema = ( + 18, + n0, + _CMDER, + 0, + (_CMDEI, _SBN, _SBP, _Sch, _OF, _CTr, _LDS, _LDSM, _LDSLU, _LDTa, _Tag), + ( + (lambda: schemas.CAPACITY_MANAGER_DATA_EXPORT_ID, {_aQN: _CMDEI, _sN: _cMDEI}), + (lambda: schemas.STRING, {_aQN: _SBN, _sN: _sBN}), + (lambda: schemas.STRING, {_aQN: _SBP, _sN: _sBP}), + (lambda: schemas.SCHEDULE, {_aQN: _Sch, _sN: _sche}), + (lambda: schemas.OUTPUT_FORMAT, {_aQN: _OF, _sN: _oF}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (CAPACITY_MANAGER_DATA_EXPORT_STATUS, {_aQN: _LDS, _sN: _lDS}), + (lambda: schemas.STRING, {_aQN: _LDSM, _sN: _lDSM}), + (lambda: schemas.STRING, {_aQN: _LDSLU, _sN: _lDSLU}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LDTa, _sN: _lDT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CAPACITY_MANAGER_DATA_EXPORT_RESPONSE_SET: StaticSchema = ( + 16, + n0, + _CMDERS, + 0, + (_me,), + ((CAPACITY_MANAGER_DATA_EXPORT_RESPONSE, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_REQUEST_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DCRBRRMR, + 0, +) + +CALLER_ROLE: StaticSchema = ( + 14, + n0, + _CRal, + 0, + (_oo, _urbo), + ((-1, {_sV: _oo_}), (-1, {_sV: _urbo_})), +) + +DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_INPUT: StaticSchema = ( + 18, + n0, + _DCRBRI, + {_sSI: _cDCRBRR, _sm: None}, + (_CRIa, _Ro, _NTex, _MR, _Fil, _DR), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), + (CALLER_ROLE, 1), + (lambda: schemas.STRING, 0), + (DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCRBRO, + {_sSI: _cDCRBRRo, _smit: None}, + (_NTex, _CRBRa), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ( + lambda: CAPACITY_RESERVATION_BILLING_REQUEST_SET, + {_aQN: _CRBRSa, _sN: _cRBRS}, + ), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS: StaticOperationSchema = ( + 23, + n0, + _DCRBR, + 0, + DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_INPUT, + DESCRIBE_CAPACITY_RESERVATION_BILLING_REQUESTS_OUTPUT, + (), +) + +CAPACITY_RESERVATION_INFO: StaticSchema = ( + 18, + n0, + _CRIap, + 0, + (_IT, _AZ, _Ten, _AZI), + ( + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + ), +) + +CAPACITY_RESERVATION_BILLING_REQUEST_STATUS: StaticSchema = ( + 14, + n0, + _CRBRS, + 0, + (_p, _ac, _re, _can, _revo, _ex), + ( + (-1, {_sV: _p}), + (-1, {_sV: _ac}), + (-1, {_sV: _re}), + (-1, {_sV: _can}), + (-1, {_sV: _revo}), + (-1, {_sV: _ex}), + ), +) + +CAPACITY_RESERVATION_BILLING_REQUEST: StaticSchema = ( + 18, + n0, + _CRBR, + 0, + (_CRI, _RB, _URBOI, _LUTas, _Sta, _SMt, _CRIap), + ( + (lambda: schemas.STRING, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.STRING, {_aQN: _RB, _sN: _rBe}), + (lambda: schemas.ACCOUNT_ID, {_aQN: _URBOI, _sN: _uRBOI}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LUTas, _sN: _lUTas}), + (CAPACITY_RESERVATION_BILLING_REQUEST_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (CAPACITY_RESERVATION_INFO, {_aQN: _CRIap, _sN: _cRIa}), + ), +) + +CAPACITY_RESERVATION_BILLING_REQUEST_SET: StaticSchema = ( + 16, + n0, + _CRBRSa, + 0, + (_me,), + ((CAPACITY_RESERVATION_BILLING_REQUEST, {_sN: _i}),), +) + +CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID_SET: StaticSchema = ( + 16, + n0, + _CRCQIS, + 0, + (_me,), + ((lambda: schemas.CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_REQUEST_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DCRCQRMR, + 0, +) + +DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_INPUT: StaticSchema = ( + 18, + n0, + _DCRCQI, + {_sSI: _cDCRCQR, _sm: None}, + (_CRCQIa, _MR, _NTex, _DR, _Fil), + ( + (CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID_SET, {_sN: _CRCQI}), + (DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DCRCQO, + {_sSI: _cDCRCQRo, _smit: None}, + (_CRCQa, _NTex), + ( + ( + lambda: CAPACITY_RESERVATION_CANCELLATION_QUOTE_RESPONSE_SET, + {_aQN: _CRCQSa, _sN: _cRCQS}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES: StaticOperationSchema = ( + 23, + n0, + _DCRCQ, + 0, + DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_INPUT, + DESCRIBE_CAPACITY_RESERVATION_CANCELLATION_QUOTES_OUTPUT, + (), +) + +CAPACITY_RESERVATION_CANCELLATION_QUOTE_RESPONSE_SET: StaticSchema = ( + 16, + n0, + _CRCQRS, + 0, + (_me,), + ((lambda: schemas.CAPACITY_RESERVATION_CANCELLATION_QUOTE, {_sN: _i}),), +) + +CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID_SET: StaticSchema = ( + 16, + n0, + _CRMQIS, + 0, + (_me,), + ((lambda: schemas.CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_REQUEST_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DCRDCQRMR, + 0, +) + +DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_INPUT: StaticSchema = ( + 18, + n0, + _DCRDCQI, + {_sSI: _cDCRDCQR, _sm: None}, + (_CRMQIa, _MR, _NTex, _DR, _Fil), + ( + (CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID_SET, {_sN: _CRMQI}), + (DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DCRDCQO, + {_sSI: _cDCRDCQRo, _smit: None}, + (_CRMQa, _NTex), + ( + ( + lambda: CAPACITY_RESERVATION_MODIFICATION_QUOTE_RESPONSE_SET, + {_aQN: _CRMQSa, _sN: _cRMQS}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES: StaticOperationSchema = ( + 23, + n0, + _DCRDCQ, + 0, + DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_INPUT, + DESCRIBE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTES_OUTPUT, + (), +) + +CAPACITY_RESERVATION_MODIFICATION_QUOTE_RESPONSE_SET: StaticSchema = ( + 16, + n0, + _CRMQRS, + 0, + (_me,), + ((lambda: schemas.CAPACITY_RESERVATION_MODIFICATION_QUOTE, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_RESERVATION_FLEETS_MAX_RESULTS: StaticSchema = (7, n0, _DCRFMR, 0) + +DESCRIBE_CAPACITY_RESERVATION_FLEETS_INPUT: StaticSchema = ( + 18, + n0, + _DCRFI, + {_sSI: _cDCRFR, _sm: None}, + (_CRFIa, _NTex, _MR, _Fil, _DR), + ( + (lambda: schemas.CAPACITY_RESERVATION_FLEET_ID_SET, {_sN: _CRFI}), + (lambda: schemas.STRING, 0), + (DESCRIBE_CAPACITY_RESERVATION_FLEETS_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_FLEETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCRFO, + {_sSI: _cDCRFRo, _smit: None}, + (_CRFa, _NTex), + ( + (lambda: CAPACITY_RESERVATION_FLEET_SET, {_aQN: _CRFSa, _sN: _cRFS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_FLEETS: StaticOperationSchema = ( + 23, + n0, + _DCRF, + 0, + DESCRIBE_CAPACITY_RESERVATION_FLEETS_INPUT, + DESCRIBE_CAPACITY_RESERVATION_FLEETS_OUTPUT, + (), +) + +CAPACITY_RESERVATION_FLEET: StaticSchema = ( + 18, + n0, + _CRF, + 0, + ( + _CRFI, + _CRFA, + _St, + _TTC, + _TFC, + _Ten, + _ED, + _CTr, + _IMC, + _ASll, + _ITS, + _IRn, + _AZ, + _AZI, + _Tag, + ), + ( + (lambda: schemas.CAPACITY_RESERVATION_FLEET_ID, {_aQN: _CRFI, _sN: _cRFI}), + (lambda: schemas.STRING, {_aQN: _CRFA, _sN: _cRFA}), + (lambda: schemas.CAPACITY_RESERVATION_FLEET_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.INTEGER, {_aQN: _TTC, _sN: _tTC}), + (lambda: schemas.DOUBLE, {_aQN: _TFC, _sN: _tFC}), + (lambda: schemas.FLEET_CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.FLEET_INSTANCE_MATCH_CRITERIA, {_aQN: _IMC, _sN: _iMC}), + (lambda: schemas.STRING, {_aQN: _ASll, _sN: _aSl}), + (lambda: schemas.FLEET_CAPACITY_RESERVATION_SET, {_aQN: _ITSS, _sN: _iTSS}), + (lambda: schemas.INSTANCE_REQUIREMENTS_REQUEST, {_aQN: _IRn, _sN: _iRn}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CAPACITY_RESERVATION_FLEET_SET: StaticSchema = ( + 16, + n0, + _CRFSa, + 0, + (_me,), + ((CAPACITY_RESERVATION_FLEET, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_RESERVATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DCRMR, 0) + +DESCRIBE_CAPACITY_RESERVATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DCRI, + {_sSI: _cDCRR, _sm: None}, + (_CRIa, _NTex, _MR, _Fil, _DR), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), + (lambda: schemas.STRING, 0), + (DESCRIBE_CAPACITY_RESERVATIONS_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CAPACITY_RESERVATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCRO, + {_sSI: _cDCRRo, _smit: None}, + (_NTex, _CRapac), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: CAPACITY_RESERVATION_SET, {_aQN: _CRSapac, _sN: _cRSa}), + ), +) + +DESCRIBE_CAPACITY_RESERVATIONS: StaticOperationSchema = ( + 23, + n0, + _DCRe, + 0, + DESCRIBE_CAPACITY_RESERVATIONS_INPUT, + DESCRIBE_CAPACITY_RESERVATIONS_OUTPUT, + (), +) + +CAPACITY_RESERVATION_SET: StaticSchema = ( + 16, + n0, + _CRSapac, + 0, + (_me,), + ((lambda: schemas.CAPACITY_RESERVATION, {_sN: _i}),), +) + +DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_MAX_RESULTS: StaticSchema = (7, n0, _DCRTMR, 0) + +DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_INPUT: StaticSchema = ( + 18, + n0, + _DCRTI, + {_sSI: _cDCRTR, _sm: None}, + (_DR, _NTex, _MR, _CRIa, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_MAX_RESULTS, 0), + (lambda: schemas.CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_OUTPUT: StaticSchema = ( + 18, + n0, + _DCRTO, + {_sSI: _cDCRTRo, _smit: None}, + (_NTex, _CRapac), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: CAPACITY_RESERVATION_TOPOLOGY_SET, {_aQN: _CRSapac, _sN: _cRSa}), + ), +) + +DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY: StaticOperationSchema = ( + 23, + n0, + _DCRT, + 0, + DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_INPUT, + DESCRIBE_CAPACITY_RESERVATION_TOPOLOGY_OUTPUT, + (), +) + +NETWORK_NODE_SET: StaticSchema = ( + 16, + n0, + _NNS, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +CAPACITY_RESERVATION_TOPOLOGY: StaticSchema = ( + 18, + n0, + _CRTapa, + 0, + (_CRI, _CBI, _St, _IT, _GN, _NN, _AZI, _AZ), + ( + (lambda: schemas.STRING, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.STRING, {_aQN: _CBI, _sN: _cBI}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (NETWORK_NODE_SET, {_aQN: _NNS, _sN: _nNS}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + ), +) + +CAPACITY_RESERVATION_TOPOLOGY_SET: StaticSchema = ( + 16, + n0, + _CRTS, + 0, + (_me,), + ((CAPACITY_RESERVATION_TOPOLOGY, {_sN: _i}),), +) + +CARRIER_GATEWAY_ID_SET: StaticSchema = ( + 16, + n0, + _CGIS, + 0, + (_me,), + ((lambda: schemas.CARRIER_GATEWAY_ID, 0),), +) + +CARRIER_GATEWAY_MAX_RESULTS: StaticSchema = (7, n0, _CGMR, 0) + +DESCRIBE_CARRIER_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _DCGIes, + {_sSI: _cDCGRoma, _sm: None}, + (_CGIa, _Fil, _MR, _NTex, _DR), + ( + (CARRIER_GATEWAY_ID_SET, {_sN: _CGI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (CARRIER_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CARRIER_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCGOes, + {_sSI: _cDCGRomam, _smit: None}, + (_CGar, _NTex), + ( + (lambda: CARRIER_GATEWAY_SET, {_aQN: _CGSa, _sN: _cGS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CARRIER_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _DCGes, + 0, + DESCRIBE_CARRIER_GATEWAYS_INPUT, + DESCRIBE_CARRIER_GATEWAYS_OUTPUT, + (), +) + +CARRIER_GATEWAY_SET: StaticSchema = ( + 16, + n0, + _CGSa, + 0, + (_me,), + ((lambda: schemas.CARRIER_GATEWAY, {_sN: _i}),), +) + +DESCRIBE_CLASSIC_LINK_INSTANCES_MAX_RESULTS: StaticSchema = (7, n0, _DCLIMR, 0) + +DESCRIBE_CLASSIC_LINK_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DCLII, + {_sSI: _cDCLIR, _sm: None}, + (_DR, _IIn, _Fil, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (DESCRIBE_CLASSIC_LINK_INSTANCES_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), + ), +) + +DESCRIBE_CLASSIC_LINK_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DCLIO, + {_sSI: _cDCLIRo, _smit: None}, + (_Ins, _NTex), + ( + (lambda: CLASSIC_LINK_INSTANCE_LIST, {_aQN: _ISnst, _sN: _iSns}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CLASSIC_LINK_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DCLI, + 0, + DESCRIBE_CLASSIC_LINK_INSTANCES_INPUT, + DESCRIBE_CLASSIC_LINK_INSTANCES_OUTPUT, + (), +) + +CLASSIC_LINK_INSTANCE: StaticSchema = ( + 18, + n0, + _CLI, + 0, + (_G, _II, _Tag, _VI), + ( + (lambda: schemas.GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + ), +) + +CLASSIC_LINK_INSTANCE_LIST: StaticSchema = ( + 16, + n0, + _CLIL, + 0, + (_me,), + ((CLASSIC_LINK_INSTANCE, {_sN: _i}),), +) + +DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_MAX_RESULTS: StaticSchema = (7, n0, _DCVARMR, 0) + +DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_INPUT: StaticSchema = ( + 18, + n0, + _DCVARI, + {_sSI: _cDCVARR, _sm: None}, + (_CVEI, _DR, _NTex, _Fil, _MR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_MAX_RESULTS, 0), + ), +) + +DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_OUTPUT: StaticSchema = ( + 18, + n0, + _DCVARO, + {_sSI: _cDCVARRo, _smit: None}, + (_ARuth, _NTex), + ( + (lambda: AUTHORIZATION_RULE_SET, {_aQN: _ARut, _sN: _aRut}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES: StaticOperationSchema = ( + 23, + n0, + _DCVAR, + 0, + DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_INPUT, + DESCRIBE_CLIENT_VPN_AUTHORIZATION_RULES_OUTPUT, + (), +) + +AUTHORIZATION_RULE: StaticSchema = ( + 18, + n0, + _ARut, + 0, + (_CVEI, _Des, _GIr, _AAcc, _DC, _Sta), + ( + (lambda: schemas.STRING, {_aQN: _CVEI, _sN: _cVEI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.BOOLEAN, {_aQN: _AAcc, _sN: _aAc}), + (lambda: schemas.STRING, {_aQN: _DC, _sN: _dC}), + (lambda: schemas.CLIENT_VPN_AUTHORIZATION_RULE_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +AUTHORIZATION_RULE_SET: StaticSchema = ( + 16, + n0, + _ARSu, + 0, + (_me,), + ((AUTHORIZATION_RULE, {_sN: _i}),), +) + +DESCRIBE_CLIENT_VPN_CONNECTIONS_MAX_RESULTS: StaticSchema = (7, n0, _DCVCMR, 0) + +DESCRIBE_CLIENT_VPN_CONNECTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DCVCI, + {_sSI: _cDCVCR, _sm: None}, + (_CVEI, _Fil, _NTex, _MR, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NEXT_TOKEN, 0), + (DESCRIBE_CLIENT_VPN_CONNECTIONS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CLIENT_VPN_CONNECTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCVCO, + {_sSI: _cDCVCRo, _smit: None}, + (_Conn, _NTex), + ( + (lambda: CLIENT_VPN_CONNECTION_SET, {_aQN: _Conn, _sN: _conn}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CLIENT_VPN_CONNECTIONS: StaticOperationSchema = ( + 23, + n0, + _DCVC, + 0, + DESCRIBE_CLIENT_VPN_CONNECTIONS_INPUT, + DESCRIBE_CLIENT_VPN_CONNECTIONS_OUTPUT, + (), +) + +CLIENT_VPN_CONNECTION_STATUS_CODE: StaticSchema = ( + 14, + n0, + _CVCSC, + 0, + (_act, _ftt, _termi, _termin), + ((-1, {_sV: _act}), (-1, {_sV: _ftt_}), (-1, {_sV: _termi}), (-1, {_sV: _termin})), +) + +CLIENT_VPN_CONNECTION_STATUS: StaticSchema = ( + 18, + n0, + _CVCS, + 0, + (_C, _Me), + ( + (CLIENT_VPN_CONNECTION_STATUS_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +CLIENT_VPN_CONNECTION: StaticSchema = ( + 18, + n0, + _CVCl, + 0, + ( + _CVEI, + _Ti, + _CIon, + _Use, + _CETo, + _IB, + _EB, + _IPng, + _EPg, + _CIli, + _CIA, + _CNom, + _Sta, + _CETon, + _PCSo, + _APLET, + ), + ( + (lambda: schemas.STRING, {_aQN: _CVEI, _sN: _cVEI}), + (lambda: schemas.STRING, {_aQN: _Ti, _sN: _ti}), + (lambda: schemas.STRING, {_aQN: _CIon, _sN: _cIon}), + (lambda: schemas.STRING, {_aQN: _Use, _sN: _user}), + (lambda: schemas.STRING, {_aQN: _CETo, _sN: _cET}), + (lambda: schemas.STRING, {_aQN: _IB, _sN: _iB}), + (lambda: schemas.STRING, {_aQN: _EB, _sN: _eB}), + (lambda: schemas.STRING, {_aQN: _IPng, _sN: _iPng}), + (lambda: schemas.STRING, {_aQN: _EPg, _sN: _eP}), + (lambda: schemas.STRING, {_aQN: _CIli, _sN: _cIli}), + (lambda: schemas.STRING, {_aQN: _CIA, _sN: _cIA}), + (lambda: schemas.STRING, {_aQN: _CNom, _sN: _cNo}), + (CLIENT_VPN_CONNECTION_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _CETon, _sN: _cETo}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _PCSS, _sN: _pCSS}), + (lambda: schemas.STRING, {_aQN: _APLET, _sN: _aPLET}), + ), +) + +CLIENT_VPN_CONNECTION_SET: StaticSchema = ( + 16, + n0, + _CVCSl, + 0, + (_me,), + ((CLIENT_VPN_CONNECTION, {_sN: _i}),), +) + +CLIENT_VPN_ENDPOINT_ID_LIST: StaticSchema = ( + 16, + n0, + _CVEIL, + 0, + (_me,), + ((lambda: schemas.CLIENT_VPN_ENDPOINT_ID, {_sN: _i}),), +) + +DESCRIBE_CLIENT_VPN_ENDPOINT_MAX_RESULTS: StaticSchema = (7, n0, _DCVEMR, 0) + +DESCRIBE_CLIENT_VPN_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _DCVEIe, + {_sSI: _cDCVERom, _sm: None}, + (_CVEIl, _MR, _NTex, _Fil, _DR), + ( + (CLIENT_VPN_ENDPOINT_ID_LIST, {_sN: _CVEI}), + (DESCRIBE_CLIENT_VPN_ENDPOINT_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CLIENT_VPN_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCVEOe, + {_sSI: _cDCVERoma, _smit: None}, + (_CVEli, _NTex), + ( + (lambda: schemas.ENDPOINT_SET, {_aQN: _CVEl, _sN: _cVE}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CLIENT_VPN_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _DCVEe, + 0, + DESCRIBE_CLIENT_VPN_ENDPOINTS_INPUT, + DESCRIBE_CLIENT_VPN_ENDPOINTS_OUTPUT, + (), +) + +ASSOCIATED_NETWORK_TYPE: StaticSchema = (14, n0, _ANT, 0, (_vp,), ((-1, {_sV: _vp}),)) + +ASSOCIATED_TARGET_NETWORK: StaticSchema = ( + 18, + n0, + _ATN, + 0, + (_NIet, _NTe), + ( + (lambda: schemas.STRING, {_aQN: _NIet, _sN: _nIe}), + (ASSOCIATED_NETWORK_TYPE, {_aQN: _NTe, _sN: _nTe}), + ), +) + +ASSOCIATED_TARGET_NETWORK_SET: StaticSchema = ( + 16, + n0, + _ATNS, + 0, + (_me,), + ((ASSOCIATED_TARGET_NETWORK, {_sN: _i}),), +) + +DIRECTORY_SERVICE_AUTHENTICATION: StaticSchema = ( + 18, + n0, + _DSA, + 0, + (_DIi,), + ((lambda: schemas.STRING, {_aQN: _DIi, _sN: _dIi}),), +) + +FEDERATED_AUTHENTICATION: StaticSchema = ( + 18, + n0, + _FA, + 0, + (_SPA, _SSSPA), + ( + (lambda: schemas.STRING, {_aQN: _SPA, _sN: _sPA}), + (lambda: schemas.STRING, {_aQN: _SSSPA, _sN: _sSSPA}), + ), +) + +CERTIFICATE_AUTHENTICATION: StaticSchema = ( + 18, + n0, + _CAer, + 0, + (_CRCC,), + ((lambda: schemas.STRING, {_aQN: _CRCC, _sN: _cRCC}),), +) + +CLIENT_VPN_AUTHENTICATION: StaticSchema = ( + 18, + n0, + _CVA, + 0, + (_Ty, _ADc, _MA, _FA), + ( + (lambda: schemas.CLIENT_VPN_AUTHENTICATION_TYPE, {_aQN: _Ty, _sN: _ty}), + (DIRECTORY_SERVICE_AUTHENTICATION, {_aQN: _ADc, _sN: _aDc}), + (CERTIFICATE_AUTHENTICATION, {_aQN: _MA, _sN: _mAu}), + (FEDERATED_AUTHENTICATION, {_aQN: _FA, _sN: _fA}), + ), +) + +CLIENT_VPN_AUTHENTICATION_LIST: StaticSchema = ( + 16, + n0, + _CVAL, + 0, + (_me,), + ((CLIENT_VPN_AUTHENTICATION, {_sN: _i}),), +) + +CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS_CODE: StaticSchema = ( + 14, + n0, + _CVEASC, + 0, + (_appl, _ap), + ((-1, {_sV: _appl}), (-1, {_sV: _ap})), +) + +CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS: StaticSchema = ( + 18, + n0, + _CVEAS, + 0, + (_C, _Me), + ( + (CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +CLIENT_CONNECT_RESPONSE_OPTIONS: StaticSchema = ( + 18, + n0, + _CCROl, + 0, + (_Ena, _LFA, _Sta), + ( + (lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena}), + (lambda: schemas.STRING, {_aQN: _LFA, _sN: _lFA}), + (CLIENT_VPN_ENDPOINT_ATTRIBUTE_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +CLIENT_LOGIN_BANNER_RESPONSE_OPTIONS: StaticSchema = ( + 18, + n0, + _CLBRO, + 0, + (_Ena, _BTa), + ( + (lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena}), + (lambda: schemas.STRING, {_aQN: _BTa, _sN: _bT}), + ), +) + +CLIENT_ROUTE_ENFORCEMENT_RESPONSE_OPTIONS: StaticSchema = ( + 18, + n0, + _CRERO, + 0, + (_Enf,), + ((lambda: schemas.BOOLEAN, {_aQN: _Enf, _sN: _enfo}),), +) + +CONNECTION_LOG_RESPONSE_OPTIONS: StaticSchema = ( + 18, + n0, + _CLRO, + 0, + (_Ena, _CLG, _CLS, _IAPC), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CLIENT_VPN_TRUST_PROVIDER: StaticSchema = ( + 18, + n0, + _CVTP, + 0, + (_TPT, _TI, _PSKU), + ( + ( + lambda: schemas.CLIENT_VPN_DEVICE_TRUST_PROVIDER_TYPE, + {_aQN: _TPT, _sN: _tPT}, + ), + (lambda: schemas.STRING, {_aQN: _TI, _sN: _tI}), + (lambda: schemas.STRING, {_aQN: _PSKU, _sN: _pSKU}), + ), +) + +CLIENT_VPN_TRUST_PROVIDER_SET: StaticSchema = ( + 16, + n0, + _CVTPS, + 0, + (_me,), + ((CLIENT_VPN_TRUST_PROVIDER, {_sN: _i}),), +) + +DEVICE_POSTURE_RESPONSE_OPTIONS: StaticSchema = ( + 18, + n0, + _DPRO, + 0, + (_TPr,), + ((CLIENT_VPN_TRUST_PROVIDER_SET, {_aQN: _TPS, _sN: _tPS}),), +) + +TRANSIT_GATEWAY_CONFIGURATION_DESCRIBE_ENDPOINT_STRUCTURE: StaticSchema = ( + 18, + n0, + _TGCDES, + 0, + (_TGI, _TGAI, _AZv, _AZIv), + ( + (lambda: schemas.TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + (lambda: schemas.CLIENT_VPN_AVAILABILITY_ZONE_SET, {_aQN: _AZS, _sN: _aZS}), + ( + lambda: schemas.CLIENT_VPN_AVAILABILITY_ZONE_ID_SET, + {_aQN: _AZIS, _sN: _aZIS}, + ), + ), +) + +VPN_PROTOCOL: StaticSchema = (14, n0, _VPpn, 0, (_open,), ((-1, {_sV: _open}),)) + +CLIENT_VPN_ENDPOINT: StaticSchema = ( + 18, + n0, + _CVEl, + 0, + ( + _CVEI, + _Des, + _Sta, + _CT, + _DTe, + _DN, + _CCB, + _DSn, + _STp, + _VPpn, + _TPra, + _VPp, + _ATNs, + _SCA, + _AO, + _CLO, + _Tag, + _SGIe, + _VI, + _SSPU, + _CCO, + _STH, + _CLBO, + _CREO, + _DOST, + _EIAT, + _TIAT, + _TGC, + _DPO, + ), + ( + (lambda: schemas.STRING, {_aQN: _CVEI, _sN: _cVEI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.CLIENT_VPN_ENDPOINT_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.STRING, {_aQN: _DTe, _sN: _dT}), + (lambda: schemas.STRING, {_aQN: _DN, _sN: _dN}), + (lambda: schemas.STRING, {_aQN: _CCB, _sN: _cCB}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _DSns, _sN: _dSn}), + (lambda: schemas.BOOLEAN, {_aQN: _STp, _sN: _sTp}), + (VPN_PROTOCOL, {_aQN: _VPpn, _sN: _vPp}), + (lambda: schemas.TRANSPORT_PROTOCOL, {_aQN: _TPra, _sN: _tPr}), + (lambda: schemas.INTEGER, {_aQN: _VPp, _sN: _vPpn}), + (ASSOCIATED_TARGET_NETWORK_SET, {_aQN: _ATN, _sN: _aTN}), + (lambda: schemas.STRING, {_aQN: _SCA, _sN: _sCA}), + (CLIENT_VPN_AUTHENTICATION_LIST, {_aQN: _AO, _sN: _aO}), + (CONNECTION_LOG_RESPONSE_OPTIONS, {_aQN: _CLO, _sN: _cLO}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.CLIENT_VPN_SECURITY_GROUP_ID_SET, {_aQN: _SGIS, _sN: _sGIS}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _SSPU, _sN: _sSPU}), + (CLIENT_CONNECT_RESPONSE_OPTIONS, {_aQN: _CCO, _sN: _cCO}), + (lambda: schemas.INTEGER, {_aQN: _STH, _sN: _sTH}), + (CLIENT_LOGIN_BANNER_RESPONSE_OPTIONS, {_aQN: _CLBO, _sN: _cLBO}), + (CLIENT_ROUTE_ENFORCEMENT_RESPONSE_OPTIONS, {_aQN: _CREO, _sN: _cREO}), + (lambda: schemas.BOOLEAN, {_aQN: _DOST, _sN: _dOST}), + (lambda: schemas.ENDPOINT_IP_ADDRESS_TYPE, {_aQN: _EIAT, _sN: _eIAT}), + (lambda: schemas.TRAFFIC_IP_ADDRESS_TYPE, {_aQN: _TIAT, _sN: _tIAT}), + ( + TRANSIT_GATEWAY_CONFIGURATION_DESCRIBE_ENDPOINT_STRUCTURE, + {_aQN: _TGC, _sN: _tGCr}, + ), + (DEVICE_POSTURE_RESPONSE_OPTIONS, {_aQN: _DPO, _sN: _dPO}), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_25.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_25.py new file mode 100644 index 000000000..764bea0f3 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_25.py @@ -0,0 +1,1606 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_im = "image" +_s = "snapshot" +_vo = "volume" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_TGAI = "TransitGatewayAttachmentId" +_CVEI = "ClientVpnEndpointId" +_tGAI = "transitGatewayAttachmentId" +_cVEI = "clientVpnEndpointId" +_St = "State" +_st = "state" +_OIw = "OwnerId" +_oI = "ownerId" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_er = "error" +_dRr = "dryRun" +_act = "active" +_ET = "ExpirationTime" +_eT = "expirationTime" +_Id = "Id" +_id = "id" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_DC = "DestinationCidr" +_dC = "destinationCidr" +_EOIGI = "EgressOnlyInternetGatewayId" +_II = "InstanceId" +_iI = "instanceId" +_Or = "Origin" +_or = "origin" +_AZv = "AvailabilityZones" +_AZS = "AvailabilityZoneSet" +_aZS = "availabilityZoneSet" +_AZIv = "AvailabilityZoneIds" +_AZIS = "AvailabilityZoneIdSet" +_aZIS = "availabilityZoneIdSet" +_SGe = "SecurityGroups" +_en = "enabling" +_ena = "enabled" +_disab = "disabling" +_AIS = "ActiveInstanceSet" +_Des = "Description" +_AIs = "AssociationId" +_aIs = "associationId" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_PIo = "PoolId" +_ca = "cancelling" +_DOI = "DhcpOptionsId" +_Ti = "Timestamp" +_ti = "timestamp" +_IIm = "ImageId" +_smith = "smithy.api#sensitive" +_comp = "complete" +_ST = "StartTime" +_sTt = "startTime" +_Prog = "Progress" +_prog = "progress" +_can = "cancelled" +_CTI = "ConversionTaskId" +_cTI = "conversionTaskId" +_RIep = "ReportId" +_ETI = "ExportTaskId" +_eTI = "exportTaskId" +_compl = "completed" +_iIm = "imageId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_Si = "Size" +_Vo = "Volume" +_siz = "size" +_Vol = "Volumes" +_Ty = "Type" +_CGIu = "CustomerGatewayId" +_ty = "type" +_DOh = "DhcpOptions" +_LTI = "LaunchTemplateId" +_LTN = "LaunchTemplateName" +_Ve = "Version" +_lTI = "launchTemplateId" +_lTN = "launchTemplateName" +_ver = "version" +_FIl = "FleetId" +_Pla = "Platform" +_plat = "platform" +_fIl = "fleetId" +_rIe = "reportId" +_DIF = "DiskImageFormat" +_VMDK = "VMDK" +_RAW = "RAW" +_VHD = "VHD" +_SBu = "S3Bucket" +_sB = "s3Bucket" +_SPr = "S3Prefix" +_sP = "s3Prefix" +_LT = "LaunchTemplate" +_lT = "launchTemplate" +_ATTACHED = "ATTACHED" +_Rout = "Routes" +_OAw = "OwnerAlias" +_oAw = "ownerAlias" +_rout = "routes" +_FIle = "FleetIds" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_OK_ = "OK" +_IMPAIRED = "IMPAIRED" +_mR = "maxResults" +_ESnd = "EndpointSet" +_DCVRMR = "DescribeClientVpnRoutesMaxResults" +_DCVRIe = "DescribeClientVpnRoutesInput" +_cDCVRRom = "com.amazonaws.ec2#DescribeClientVpnRoutesRequest" +_CVR = "ClientVpnRoute" +_TSar = "TargetSubnet" +_tSar = "targetSubnet" +_CVRSl = "ClientVpnRouteSet" +_DCVROe = "DescribeClientVpnRoutesOutput" +_cDCVRRoma = "com.amazonaws.ec2#DescribeClientVpnRoutesResult" +_DCVRe = "DescribeClientVpnRoutes" +_DCVTNMR = "DescribeClientVpnTargetNetworksMaxResults" +_DCVTNI = "DescribeClientVpnTargetNetworksInput" +_cDCVTNR = "com.amazonaws.ec2#DescribeClientVpnTargetNetworksRequest" +_AIsso = "AssociationIds" +_TNa = "TargetNetwork" +_TNI = "TargetNetworkId" +_tNI = "targetNetworkId" +_sGe = "securityGroups" +_TNS = "TargetNetworkSet" +_DCVTNO = "DescribeClientVpnTargetNetworksOutput" +_cDCVTNRo = "com.amazonaws.ec2#DescribeClientVpnTargetNetworksResult" +_CVTN = "ClientVpnTargetNetworks" +_cVTN = "clientVpnTargetNetworks" +_DCVTN = "DescribeClientVpnTargetNetworks" +_CPIS = "CoipPoolIdSet" +_DCPIe = "DescribeCoipPoolsInput" +_cDCPRom = "com.amazonaws.ec2#DescribeCoipPoolsRequest" +_PIoo = "PoolIds" +_CPS = "CoipPoolSet" +_DCPOe = "DescribeCoipPoolsOutput" +_cDCPRoma = "com.amazonaws.ec2#DescribeCoipPoolsResult" +_CPo = "CoipPools" +_cPS = "coipPoolSet" +_DCPe = "DescribeCoipPools" +_CISL = "ConversionIdStringList" +_DCTI = "DescribeConversionTasksInput" +_cDCTR = "com.amazonaws.ec2#DescribeConversionTasksRequest" +_CTIo = "ConversionTaskIds" +_IMU = "ImportManifestUrl" +_DID = "DiskImageDescription" +_Ch = "Checksum" +_ch = "checksum" +_For = "Format" +_fo = "format" +_iMU = "importManifestUrl" +_DIVD = "DiskImageVolumeDescription" +_IIVDI = "ImportInstanceVolumeDetailItem" +_BCyt = "BytesConverted" +_bCy = "bytesConverted" +_Im = "Image" +_IIVDS = "ImportInstanceVolumeDetailSet" +_IITD = "ImportInstanceTaskDetails" +_vol = "volumes" +_IVTD = "ImportVolumeTaskDetails" +_CTSon = "ConversionTaskState" +_CTon = "ConversionTask" +_IImp = "ImportInstance" +_iImp = "importInstance" +_IVm = "ImportVolume" +_iVm = "importVolume" +_DCTL = "DescribeConversionTaskList" +_DCTO = "DescribeConversionTasksOutput" +_cDCTRo = "com.amazonaws.ec2#DescribeConversionTasksResult" +_CTonv = "ConversionTasks" +_cTon = "conversionTasks" +_DCT = "DescribeConversionTasks" +_CGISL = "CustomerGatewayIdStringList" +_DCGIesc = "DescribeCustomerGatewaysInput" +_cDCGRomama = "com.amazonaws.ec2#DescribeCustomerGatewaysRequest" +_CGIus = "CustomerGatewayIds" +_CGL = "CustomerGatewayList" +_DCGOesc = "DescribeCustomerGatewaysOutput" +_cDCGRomamaz = "com.amazonaws.ec2#DescribeCustomerGatewaysResult" +_CGu = "CustomerGateways" +_CGSu = "CustomerGatewaySet" +_cGSu = "customerGatewaySet" +_DCGesc = "DescribeCustomerGateways" +_DPMR = "DeclarativePoliciesMaxResults" +_DDPRI = "DescribeDeclarativePoliciesReportsInput" +_cDDPRR = "com.amazonaws.ec2#DescribeDeclarativePoliciesReportsRequest" +_RIepo = "ReportIds" +_RSepo = "ReportState" +_ru = "running" +_DPRec = "DeclarativePoliciesReport" +_TIa = "TargetId" +_tIa = "targetId" +_ETnd = "EndTime" +_eTnd = "endTime" +_DPRL = "DeclarativePoliciesReportList" +_DDPRO = "DescribeDeclarativePoliciesReportsOutput" +_cDDPRRo = "com.amazonaws.ec2#DescribeDeclarativePoliciesReportsResult" +_Rep = "Reports" +_RSepor = "ReportSet" +_rSep = "reportSet" +_DDPR = "DescribeDeclarativePoliciesReports" +_DOISL = "DhcpOptionsIdStringList" +_DDOMR = "DescribeDhcpOptionsMaxResults" +_DDOIes = "DescribeDhcpOptionsInput" +_cDDORo = "com.amazonaws.ec2#DescribeDhcpOptionsRequest" +_DOIh = "DhcpOptionsIds" +_DOL = "DhcpOptionsList" +_DDOOe = "DescribeDhcpOptionsOutput" +_cDDORom = "com.amazonaws.ec2#DescribeDhcpOptionsResult" +_DOSh = "DhcpOptionsSet" +_dOS = "dhcpOptionsSet" +_DDOe = "DescribeDhcpOptions" +_EOIGIL = "EgressOnlyInternetGatewayIdList" +_DEOIGMR = "DescribeEgressOnlyInternetGatewaysMaxResults" +_DEOIGIe = "DescribeEgressOnlyInternetGatewaysInput" +_cDEOIGRom = "com.amazonaws.ec2#DescribeEgressOnlyInternetGatewaysRequest" +_EOIGIg = "EgressOnlyInternetGatewayIds" +_EOIGL = "EgressOnlyInternetGatewayList" +_DEOIGOe = "DescribeEgressOnlyInternetGatewaysOutput" +_cDEOIGRoma = "com.amazonaws.ec2#DescribeEgressOnlyInternetGatewaysResult" +_EOIGg = "EgressOnlyInternetGateways" +_EOIGS = "EgressOnlyInternetGatewaySet" +_eOIGS = "egressOnlyInternetGatewaySet" +_DEOIGe = "DescribeEgressOnlyInternetGateways" +_EGI = "ElasticGpuId" +_EGIS = "ElasticGpuIdSet" +_DEGMR = "DescribeElasticGpusMaxResults" +_DEGI = "DescribeElasticGpusInput" +_cDEGR = "com.amazonaws.ec2#DescribeElasticGpusRequest" +_EGIl = "ElasticGpuIds" +_EGSla = "ElasticGpuStatus" +_Ok = "Ok" +_Imp = "Impaired" +_EGH = "ElasticGpuHealth" +_EGSlas = "ElasticGpuState" +_Atta = "Attached" +_EG = "ElasticGpus" +_eGI = "elasticGpuId" +_EGT = "ElasticGpuType" +_eGT = "elasticGpuType" +_eGH = "elasticGpuHealth" +_eGS = "elasticGpuState" +_EGSlast = "ElasticGpuSet" +_DEGO = "DescribeElasticGpusOutput" +_cDEGRo = "com.amazonaws.ec2#DescribeElasticGpusResult" +_eGSl = "elasticGpuSet" +_DEG = "DescribeElasticGpus" +_EITI = "ExportImageTaskId" +_EITIL = "ExportImageTaskIdList" +_DEITMR = "DescribeExportImageTasksMaxResults" +_DEITI = "DescribeExportImageTasksInput" +_cDEITR = "com.amazonaws.ec2#DescribeExportImageTasksRequest" +_EITIx = "ExportImageTaskIds" +_ETSL = "ExportTaskS3Location" +_EITxp = "ExportImageTask" +_eITI = "exportImageTaskId" +_SEL = "S3ExportLocation" +_sEL = "s3ExportLocation" +_EITL = "ExportImageTaskList" +_DEITO = "DescribeExportImageTasksOutput" +_cDEITRo = "com.amazonaws.ec2#DescribeExportImageTasksResult" +_EITxpo = "ExportImageTasks" +_EITSx = "ExportImageTaskSet" +_eITSx = "exportImageTaskSet" +_DEIT = "DescribeExportImageTasks" +_ETISL = "ExportTaskIdStringList" +_DETI = "DescribeExportTasksInput" +_cDETR = "com.amazonaws.ec2#DescribeExportTasksRequest" +_ETIx = "ExportTaskIds" +_ETL = "ExportTaskList" +_DETO = "DescribeExportTasksOutput" +_cDETRo = "com.amazonaws.ec2#DescribeExportTasksResult" +_ETxp = "ExportTasks" +_ETSxp = "ExportTaskSet" +_eTSx = "exportTaskSet" +_DET = "DescribeExportTasks" +_FLIIL = "FastLaunchImageIdList" +_DFLIRMR = "DescribeFastLaunchImagesRequestMaxResults" +_DFLII = "DescribeFastLaunchImagesInput" +_cDFLIR = "com.amazonaws.ec2#DescribeFastLaunchImagesRequest" +_IIma = "ImageIds" +_FLLTSR = "FastLaunchLaunchTemplateSpecificationResponse" +_FLRTa = "FastLaunchResourceType" +_SNAPSHOT = "SNAPSHOT" +_FLSCR = "FastLaunchSnapshotConfigurationResponse" +_TRC = "TargetResourceCount" +_tRC = "targetResourceCount" +_FLSC = "FastLaunchStateCode" +_ef____ = "enabling_failed" +_ef_____ = "enabling-failed" +_ef______ = "enabled_failed" +_ef_______ = "enabled-failed" +_df________ = "disabling_failed" +_df_________ = "disabling-failed" +_DFLISI = "DescribeFastLaunchImagesSuccessItem" +_SCn = "SnapshotConfiguration" +_sCn = "snapshotConfiguration" +_MPLa = "MaxParallelLaunches" +_mPL = "maxParallelLaunches" +_STR = "StateTransitionReason" +_sTR = "stateTransitionReason" +_STT = "StateTransitionTime" +_sTT = "stateTransitionTime" +_DFLISS = "DescribeFastLaunchImagesSuccessSet" +_DFLIO = "DescribeFastLaunchImagesOutput" +_cDFLIRo = "com.amazonaws.ec2#DescribeFastLaunchImagesResult" +_FLIa = "FastLaunchImages" +_FLISa = "FastLaunchImageSet" +_fLISa = "fastLaunchImageSet" +_DFLIe = "DescribeFastLaunchImages" +_DFSRMR = "DescribeFastSnapshotRestoresMaxResults" +_DFSRI = "DescribeFastSnapshotRestoresInput" +_cDFSRR = "com.amazonaws.ec2#DescribeFastSnapshotRestoresRequest" +_DFSRSI = "DescribeFastSnapshotRestoreSuccessItem" +_ETna = "EnablingTime" +_eTna = "enablingTime" +_OT = "OptimizingTime" +_oT = "optimizingTime" +_ETnab = "EnabledTime" +_eTnab = "enabledTime" +_DTi = "DisablingTime" +_dTi = "disablingTime" +_DTis = "DisabledTime" +_dTis = "disabledTime" +_DFSRSS = "DescribeFastSnapshotRestoreSuccessSet" +_DFSRO = "DescribeFastSnapshotRestoresOutput" +_cDFSRRo = "com.amazonaws.ec2#DescribeFastSnapshotRestoresResult" +_FSRa = "FastSnapshotRestores" +_FSRS = "FastSnapshotRestoreSet" +_fSRS = "fastSnapshotRestoreSet" +_DFSR = "DescribeFastSnapshotRestores" +_FET = "FleetEventType" +_IC__ = "INSTANCE_CHANGE" +_ic__ = "instance-change" +_FC_ = "FLEET_CHANGE" +_fc = "fleet-change" +_SE = "SERVICE_ERROR" +_se__ = "service-error" +_DFHI = "DescribeFleetHistoryInput" +_cDFHR = "com.amazonaws.ec2#DescribeFleetHistoryRequest" +_ETv = "EventType" +_EIv = "EventInformation" +_EDv = "EventDescription" +_eDv = "eventDescription" +_EST = "EventSubType" +_eST = "eventSubType" +_HRE = "HistoryRecordEntry" +_eIv = "eventInformation" +_eTv = "eventType" +_HRS = "HistoryRecordSet" +_DFHO = "DescribeFleetHistoryOutput" +_cDFHRo = "com.amazonaws.ec2#DescribeFleetHistoryResult" +_HRi = "HistoryRecords" +_hRS = "historyRecordSet" +_LET = "LastEvaluatedTime" +_lET = "lastEvaluatedTime" +_DFH = "DescribeFleetHistory" +_DFIIe = "DescribeFleetInstancesInput" +_cDFIRom = "com.amazonaws.ec2#DescribeFleetInstancesRequest" +_DFIOe = "DescribeFleetInstancesOutput" +_cDFIRoma = "com.amazonaws.ec2#DescribeFleetInstancesResult" +_AIct = "ActiveInstances" +_aIS = "activeInstanceSet" +_DFIes = "DescribeFleetInstances" +_DFIesc = "DescribeFleetsInput" +_cDFRom = "com.amazonaws.ec2#DescribeFleetsRequest" +_FSl = "FleetSet" +_DFOe = "DescribeFleetsOutput" +_cDFRoma = "com.amazonaws.ec2#DescribeFleetsResult" +_Fl = "Fleets" +_fSl = "fleetSet" +_DFes = "DescribeFleets" + +DISK_IMAGE_FORMAT: StaticSchema = ( + 14, + n0, + _DIF, + 0, + (_VMDK, _RAW, _VHD), + ((-1, {_sV: _VMDK}), (-1, {_sV: _RAW}), (-1, {_sV: _VHD})), +) + +ENDPOINT_SET: StaticSchema = ( + 16, + n0, + _ESnd, + 0, + (_me,), + ((lambda: schemas.CLIENT_VPN_ENDPOINT, {_sN: _i}),), +) + +DESCRIBE_CLIENT_VPN_ROUTES_MAX_RESULTS: StaticSchema = (7, n0, _DCVRMR, 0) + +DESCRIBE_CLIENT_VPN_ROUTES_INPUT: StaticSchema = ( + 18, + n0, + _DCVRIe, + {_sSI: _cDCVRRom, _sm: None}, + (_CVEI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_CLIENT_VPN_ROUTES_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CLIENT_VPN_ROUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DCVROe, + {_sSI: _cDCVRRoma, _smit: None}, + (_Rout, _NTex), + ( + (lambda: CLIENT_VPN_ROUTE_SET, {_aQN: _Rout, _sN: _rout}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CLIENT_VPN_ROUTES: StaticOperationSchema = ( + 23, + n0, + _DCVRe, + 0, + DESCRIBE_CLIENT_VPN_ROUTES_INPUT, + DESCRIBE_CLIENT_VPN_ROUTES_OUTPUT, + (), +) + +CLIENT_VPN_ROUTE: StaticSchema = ( + 18, + n0, + _CVR, + 0, + (_CVEI, _DC, _TSar, _Ty, _Or, _Sta, _Des, _TGAI), + ( + (lambda: schemas.STRING, {_aQN: _CVEI, _sN: _cVEI}), + (lambda: schemas.STRING, {_aQN: _DC, _sN: _dC}), + (lambda: schemas.STRING, {_aQN: _TSar, _sN: _tSar}), + (lambda: schemas.STRING, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _Or, _sN: _or}), + (lambda: schemas.CLIENT_VPN_ROUTE_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + ), +) + +CLIENT_VPN_ROUTE_SET: StaticSchema = ( + 16, + n0, + _CVRSl, + 0, + (_me,), + ((CLIENT_VPN_ROUTE, {_sN: _i}),), +) + +DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_MAX_RESULTS: StaticSchema = (7, n0, _DCVTNMR, 0) + +DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_INPUT: StaticSchema = ( + 18, + n0, + _DCVTNI, + {_sSI: _cDCVTNR, _sm: None}, + (_CVEI, _AIsso, _MR, _NTex, _Fil, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.VALUE_STRING_LIST, 0), + (DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCVTNO, + {_sSI: _cDCVTNRo, _smit: None}, + (_CVTN, _NTex), + ( + (lambda: TARGET_NETWORK_SET, {_aQN: _CVTN, _sN: _cVTN}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_CLIENT_VPN_TARGET_NETWORKS: StaticOperationSchema = ( + 23, + n0, + _DCVTN, + 0, + DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_INPUT, + DESCRIBE_CLIENT_VPN_TARGET_NETWORKS_OUTPUT, + (), +) + +TARGET_NETWORK: StaticSchema = ( + 18, + n0, + _TNa, + 0, + (_AIs, _VI, _TNI, _CVEI, _Sta, _SGe, _AZv, _AZIv), + ( + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _TNI, _sN: _tNI}), + (lambda: schemas.STRING, {_aQN: _CVEI, _sN: _cVEI}), + (lambda: schemas.ASSOCIATION_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SGe, _sN: _sGe}), + (lambda: schemas.CLIENT_VPN_AVAILABILITY_ZONE_SET, {_aQN: _AZS, _sN: _aZS}), + ( + lambda: schemas.CLIENT_VPN_AVAILABILITY_ZONE_ID_SET, + {_aQN: _AZIS, _sN: _aZIS}, + ), + ), +) + +TARGET_NETWORK_SET: StaticSchema = ( + 16, + n0, + _TNS, + 0, + (_me,), + ((TARGET_NETWORK, {_sN: _i}),), +) + +COIP_POOL_ID_SET: StaticSchema = ( + 16, + n0, + _CPIS, + 0, + (_me,), + ((lambda: schemas.IPV4_POOL_COIP_ID, {_sN: _i}),), +) + +DESCRIBE_COIP_POOLS_INPUT: StaticSchema = ( + 18, + n0, + _DCPIe, + {_sSI: _cDCPRom, _sm: None}, + (_PIoo, _Fil, _MR, _NTex, _DR), + ( + (COIP_POOL_ID_SET, {_sN: _PIo}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.COIP_POOL_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_COIP_POOLS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCPOe, + {_sSI: _cDCPRoma, _smit: None}, + (_CPo, _NTex), + ( + (lambda: COIP_POOL_SET, {_aQN: _CPS, _sN: _cPS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_COIP_POOLS: StaticOperationSchema = ( + 23, + n0, + _DCPe, + 0, + DESCRIBE_COIP_POOLS_INPUT, + DESCRIBE_COIP_POOLS_OUTPUT, + (), +) + +COIP_POOL_SET: StaticSchema = ( + 16, + n0, + _CPS, + 0, + (_me,), + ((lambda: schemas.COIP_POOL, {_sN: _i}),), +) + +CONVERSION_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _CISL, + 0, + (_me,), + ((lambda: schemas.CONVERSION_TASK_ID, {_sN: _i}),), +) + +DESCRIBE_CONVERSION_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DCTI, + {_sSI: _cDCTR, _sm: None}, + (_DR, _CTIo), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (CONVERSION_ID_STRING_LIST, {_aQN: _CTI, _sN: _cTI}), + ), +) + +DESCRIBE_CONVERSION_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCTO, + {_sSI: _cDCTRo, _smit: None}, + (_CTonv,), + ((lambda: DESCRIBE_CONVERSION_TASK_LIST, {_aQN: _CTonv, _sN: _cTon}),), +) + +DESCRIBE_CONVERSION_TASKS: StaticOperationSchema = ( + 23, + n0, + _DCT, + 0, + DESCRIBE_CONVERSION_TASKS_INPUT, + DESCRIBE_CONVERSION_TASKS_OUTPUT, + (), +) + +IMPORT_MANIFEST_URL: StaticSchema = (3, n0, _IMU, 4) + +DISK_IMAGE_DESCRIPTION: StaticSchema = ( + 18, + n0, + _DID, + 0, + (_Ch, _For, _IMU, _Si), + ( + (lambda: schemas.STRING, {_aQN: _Ch, _sN: _ch}), + (DISK_IMAGE_FORMAT, {_aQN: _For, _sN: _fo}), + (IMPORT_MANIFEST_URL, {_aQN: _IMU, _sN: _iMU}), + (lambda: schemas.LONG, {_aQN: _Si, _sN: _siz}), + ), +) + +DISK_IMAGE_VOLUME_DESCRIPTION: StaticSchema = ( + 18, + n0, + _DIVD, + 0, + (_Id, _Si), + ( + (lambda: schemas.STRING, {_aQN: _Id, _sN: _id}), + (lambda: schemas.LONG, {_aQN: _Si, _sN: _siz}), + ), +) + +IMPORT_INSTANCE_VOLUME_DETAIL_ITEM: StaticSchema = ( + 18, + n0, + _IIVDI, + 0, + (_AZ, _AZI, _BCyt, _Des, _Im, _Sta, _SMt, _Vo), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.LONG, {_aQN: _BCyt, _sN: _bCy}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (DISK_IMAGE_DESCRIPTION, {_aQN: _Im, _sN: _im}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (DISK_IMAGE_VOLUME_DESCRIPTION, {_aQN: _Vo, _sN: _vo}), + ), +) + +IMPORT_INSTANCE_VOLUME_DETAIL_SET: StaticSchema = ( + 16, + n0, + _IIVDS, + 0, + (_me,), + ((IMPORT_INSTANCE_VOLUME_DETAIL_ITEM, {_sN: _i}),), +) + +IMPORT_INSTANCE_TASK_DETAILS: StaticSchema = ( + 18, + n0, + _IITD, + 0, + (_Des, _II, _Pla, _Vol), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), + (IMPORT_INSTANCE_VOLUME_DETAIL_SET, {_aQN: _Vol, _sN: _vol}), + ), +) + +IMPORT_VOLUME_TASK_DETAILS: StaticSchema = ( + 18, + n0, + _IVTD, + 0, + (_AZ, _AZI, _BCyt, _Des, _Im, _Vo), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.LONG, {_aQN: _BCyt, _sN: _bCy}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (DISK_IMAGE_DESCRIPTION, {_aQN: _Im, _sN: _im}), + (DISK_IMAGE_VOLUME_DESCRIPTION, {_aQN: _Vo, _sN: _vo}), + ), +) + +CONVERSION_TASK_STATE: StaticSchema = ( + 14, + n0, + _CTSon, + 0, + (_act, _ca, _can, _compl), + ((-1, {_sV: _act}), (-1, {_sV: _ca}), (-1, {_sV: _can}), (-1, {_sV: _compl})), +) + +CONVERSION_TASK: StaticSchema = ( + 18, + n0, + _CTon, + 0, + (_CTI, _ET, _IImp, _IVm, _St, _SMt, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _CTI, _sN: _cTI}), + (lambda: schemas.STRING, {_aQN: _ET, _sN: _eT}), + (IMPORT_INSTANCE_TASK_DETAILS, {_aQN: _IImp, _sN: _iImp}), + (IMPORT_VOLUME_TASK_DETAILS, {_aQN: _IVm, _sN: _iVm}), + (CONVERSION_TASK_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +DESCRIBE_CONVERSION_TASK_LIST: StaticSchema = ( + 16, + n0, + _DCTL, + 0, + (_me,), + ((CONVERSION_TASK, {_sN: _i}),), +) + +CUSTOMER_GATEWAY_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _CGISL, + 0, + (_me,), + ((lambda: schemas.CUSTOMER_GATEWAY_ID, {_sN: _CGIu}),), +) + +DESCRIBE_CUSTOMER_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _DCGIesc, + {_sSI: _cDCGRomama, _sm: None}, + (_CGIus, _Fil, _DR), + ( + (CUSTOMER_GATEWAY_ID_STRING_LIST, {_sN: _CGIu}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DESCRIBE_CUSTOMER_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCGOesc, + {_sSI: _cDCGRomamaz, _smit: None}, + (_CGu,), + ((lambda: CUSTOMER_GATEWAY_LIST, {_aQN: _CGSu, _sN: _cGSu}),), +) + +DESCRIBE_CUSTOMER_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _DCGesc, + 0, + DESCRIBE_CUSTOMER_GATEWAYS_INPUT, + DESCRIBE_CUSTOMER_GATEWAYS_OUTPUT, + (), +) + +CUSTOMER_GATEWAY_LIST: StaticSchema = ( + 16, + n0, + _CGL, + 0, + (_me,), + ((lambda: schemas.CUSTOMER_GATEWAY, {_sN: _i}),), +) + +DECLARATIVE_POLICIES_MAX_RESULTS: StaticSchema = (7, n0, _DPMR, 0) + +DESCRIBE_DECLARATIVE_POLICIES_REPORTS_INPUT: StaticSchema = ( + 18, + n0, + _DDPRI, + {_sSI: _cDDPRR, _sm: None}, + (_DR, _NTex, _MR, _RIepo), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (DECLARATIVE_POLICIES_MAX_RESULTS, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _RIep}), + ), +) + +DESCRIBE_DECLARATIVE_POLICIES_REPORTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDPRO, + {_sSI: _cDDPRRo, _smit: None}, + (_NTex, _Rep), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: DECLARATIVE_POLICIES_REPORT_LIST, {_aQN: _RSepor, _sN: _rSep}), + ), +) + +DESCRIBE_DECLARATIVE_POLICIES_REPORTS: StaticOperationSchema = ( + 23, + n0, + _DDPR, + 0, + DESCRIBE_DECLARATIVE_POLICIES_REPORTS_INPUT, + DESCRIBE_DECLARATIVE_POLICIES_REPORTS_OUTPUT, + (), +) + +REPORT_STATE: StaticSchema = ( + 14, + n0, + _RSepo, + 0, + (_ru, _can, _comp, _er), + ((-1, {_sV: _ru}), (-1, {_sV: _can}), (-1, {_sV: _comp}), (-1, {_sV: _er})), +) + +DECLARATIVE_POLICIES_REPORT: StaticSchema = ( + 18, + n0, + _DPRec, + 0, + (_RIep, _SBu, _SPr, _TIa, _ST, _ETnd, _Sta, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _RIep, _sN: _rIe}), + (lambda: schemas.STRING, {_aQN: _SBu, _sN: _sB}), + (lambda: schemas.STRING, {_aQN: _SPr, _sN: _sP}), + (lambda: schemas.STRING, {_aQN: _TIa, _sN: _tIa}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), + (REPORT_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +DECLARATIVE_POLICIES_REPORT_LIST: StaticSchema = ( + 16, + n0, + _DPRL, + 0, + (_me,), + ((DECLARATIVE_POLICIES_REPORT, {_sN: _i}),), +) + +DHCP_OPTIONS_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _DOISL, + 0, + (_me,), + ((lambda: schemas.DHCP_OPTIONS_ID, {_sN: _DOI}),), +) + +DESCRIBE_DHCP_OPTIONS_MAX_RESULTS: StaticSchema = (7, n0, _DDOMR, 0) + +DESCRIBE_DHCP_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DDOIes, + {_sSI: _cDDORo, _sm: None}, + (_DOIh, _NTex, _MR, _DR, _Fil), + ( + (DHCP_OPTIONS_ID_STRING_LIST, {_sN: _DOI}), + (lambda: schemas.STRING, 0), + (DESCRIBE_DHCP_OPTIONS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_DHCP_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDOOe, + {_sSI: _cDDORom, _smit: None}, + (_NTex, _DOh), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: DHCP_OPTIONS_LIST, {_aQN: _DOSh, _sN: _dOS}), + ), +) + +DESCRIBE_DHCP_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _DDOe, + 0, + DESCRIBE_DHCP_OPTIONS_INPUT, + DESCRIBE_DHCP_OPTIONS_OUTPUT, + (), +) + +DHCP_OPTIONS_LIST: StaticSchema = ( + 16, + n0, + _DOL, + 0, + (_me,), + ((lambda: schemas.DHCP_OPTIONS, {_sN: _i}),), +) + +EGRESS_ONLY_INTERNET_GATEWAY_ID_LIST: StaticSchema = ( + 16, + n0, + _EOIGIL, + 0, + (_me,), + ((lambda: schemas.EGRESS_ONLY_INTERNET_GATEWAY_ID, {_sN: _i}),), +) + +DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_MAX_RESULTS: StaticSchema = (7, n0, _DEOIGMR, 0) + +DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _DEOIGIe, + {_sSI: _cDEOIGRom, _sm: None}, + (_DR, _EOIGIg, _MR, _NTex, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (EGRESS_ONLY_INTERNET_GATEWAY_ID_LIST, {_sN: _EOIGI}), + (DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _DEOIGOe, + {_sSI: _cDEOIGRoma, _smit: None}, + (_EOIGg, _NTex), + ( + (lambda: EGRESS_ONLY_INTERNET_GATEWAY_LIST, {_aQN: _EOIGS, _sN: _eOIGS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _DEOIGe, + 0, + DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_INPUT, + DESCRIBE_EGRESS_ONLY_INTERNET_GATEWAYS_OUTPUT, + (), +) + +EGRESS_ONLY_INTERNET_GATEWAY_LIST: StaticSchema = ( + 16, + n0, + _EOIGL, + 0, + (_me,), + ((lambda: schemas.EGRESS_ONLY_INTERNET_GATEWAY, {_sN: _i}),), +) + +ELASTIC_GPU_ID_SET: StaticSchema = ( + 16, + n0, + _EGIS, + 0, + (_me,), + ((lambda: schemas.ELASTIC_GPU_ID, {_sN: _i}),), +) + +DESCRIBE_ELASTIC_GPUS_MAX_RESULTS: StaticSchema = (7, n0, _DEGMR, 0) + +DESCRIBE_ELASTIC_GPUS_INPUT: StaticSchema = ( + 18, + n0, + _DEGI, + {_sSI: _cDEGR, _sm: None}, + (_EGIl, _DR, _Fil, _MR, _NTex), + ( + (ELASTIC_GPU_ID_SET, {_sN: _EGI}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_ELASTIC_GPUS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_ELASTIC_GPUS_OUTPUT: StaticSchema = ( + 18, + n0, + _DEGO, + {_sSI: _cDEGRo, _smit: None}, + (_EGSlast, _MR, _NTex), + ( + (lambda: ELASTIC_GPU_SET, {_aQN: _EGSlast, _sN: _eGSl}), + (lambda: schemas.INTEGER, {_aQN: _MR, _sN: _mR}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_ELASTIC_GPUS: StaticOperationSchema = ( + 23, + n0, + _DEG, + 0, + DESCRIBE_ELASTIC_GPUS_INPUT, + DESCRIBE_ELASTIC_GPUS_OUTPUT, + (), +) + +ELASTIC_GPU_STATUS: StaticSchema = ( + 14, + n0, + _EGSla, + 0, + (_Ok, _Imp), + ((-1, {_sV: _OK_}), (-1, {_sV: _IMPAIRED})), +) + +ELASTIC_GPU_HEALTH: StaticSchema = ( + 18, + n0, + _EGH, + 0, + (_Sta,), + ((ELASTIC_GPU_STATUS, {_aQN: _Sta, _sN: _sta}),), +) + +ELASTIC_GPU_STATE: StaticSchema = ( + 14, + n0, + _EGSlas, + 0, + (_Atta,), + ((-1, {_sV: _ATTACHED}),), +) + +ELASTIC_GPUS: StaticSchema = ( + 18, + n0, + _EG, + 0, + (_EGI, _AZ, _EGT, _EGH, _EGSlas, _II, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _EGI, _sN: _eGI}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _EGT, _sN: _eGT}), + (ELASTIC_GPU_HEALTH, {_aQN: _EGH, _sN: _eGH}), + (ELASTIC_GPU_STATE, {_aQN: _EGSlas, _sN: _eGS}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +ELASTIC_GPU_SET: StaticSchema = ( + 16, + n0, + _EGSlast, + 0, + (_me,), + ((ELASTIC_GPUS, {_sN: _i}),), +) + +EXPORT_IMAGE_TASK_ID: StaticSchema = (3, n0, _EITI, 0) + +EXPORT_IMAGE_TASK_ID_LIST: StaticSchema = ( + 16, + n0, + _EITIL, + 0, + (_me,), + ((EXPORT_IMAGE_TASK_ID, {_sN: _EITI}),), +) + +DESCRIBE_EXPORT_IMAGE_TASKS_MAX_RESULTS: StaticSchema = (7, n0, _DEITMR, 0) + +DESCRIBE_EXPORT_IMAGE_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DEITI, + {_sSI: _cDEITR, _sm: None}, + (_DR, _Fil, _EITIx, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (EXPORT_IMAGE_TASK_ID_LIST, {_sN: _EITI}), + (DESCRIBE_EXPORT_IMAGE_TASKS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_EXPORT_IMAGE_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DEITO, + {_sSI: _cDEITRo, _smit: None}, + (_EITxpo, _NTex), + ( + (lambda: EXPORT_IMAGE_TASK_LIST, {_aQN: _EITSx, _sN: _eITSx}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_EXPORT_IMAGE_TASKS: StaticOperationSchema = ( + 23, + n0, + _DEIT, + 0, + DESCRIBE_EXPORT_IMAGE_TASKS_INPUT, + DESCRIBE_EXPORT_IMAGE_TASKS_OUTPUT, + (), +) + +EXPORT_TASK_S3_LOCATION: StaticSchema = ( + 18, + n0, + _ETSL, + 0, + (_SBu, _SPr), + ( + (lambda: schemas.STRING, {_aQN: _SBu, _sN: _sB}), + (lambda: schemas.STRING, {_aQN: _SPr, _sN: _sP}), + ), +) + +EXPORT_IMAGE_TASK: StaticSchema = ( + 18, + n0, + _EITxp, + 0, + (_Des, _EITI, _IIm, _Prog, _SEL, _Sta, _SMt, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _EITI, _sN: _eITI}), + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (EXPORT_TASK_S3_LOCATION, {_aQN: _SEL, _sN: _sEL}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +EXPORT_IMAGE_TASK_LIST: StaticSchema = ( + 16, + n0, + _EITL, + 0, + (_me,), + ((EXPORT_IMAGE_TASK, {_sN: _i}),), +) + +EXPORT_TASK_ID: StaticSchema = (3, n0, _ETI, 0) + +EXPORT_TASK_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _ETISL, + 0, + (_me,), + ((EXPORT_TASK_ID, {_sN: _ETI}),), +) + +DESCRIBE_EXPORT_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DETI, + {_sSI: _cDETR, _sm: None}, + (_Fil, _ETIx), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (EXPORT_TASK_ID_STRING_LIST, {_aQN: _ETI, _sN: _eTI}), + ), +) + +DESCRIBE_EXPORT_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DETO, + {_sSI: _cDETRo, _smit: None}, + (_ETxp,), + ((lambda: EXPORT_TASK_LIST, {_aQN: _ETSxp, _sN: _eTSx}),), +) + +DESCRIBE_EXPORT_TASKS: StaticOperationSchema = ( + 23, + n0, + _DET, + 0, + DESCRIBE_EXPORT_TASKS_INPUT, + DESCRIBE_EXPORT_TASKS_OUTPUT, + (), +) + +EXPORT_TASK_LIST: StaticSchema = ( + 16, + n0, + _ETL, + 0, + (_me,), + ((lambda: schemas.EXPORT_TASK, {_sN: _i}),), +) + +FAST_LAUNCH_IMAGE_ID_LIST: StaticSchema = ( + 16, + n0, + _FLIIL, + 0, + (_me,), + ((lambda: schemas.IMAGE_ID, {_sN: _IIm}),), +) + +DESCRIBE_FAST_LAUNCH_IMAGES_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _DFLIRMR, 0) + +DESCRIBE_FAST_LAUNCH_IMAGES_INPUT: StaticSchema = ( + 18, + n0, + _DFLII, + {_sSI: _cDFLIR, _sm: None}, + (_IIma, _Fil, _MR, _NTex, _DR), + ( + (FAST_LAUNCH_IMAGE_ID_LIST, {_sN: _IIm}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_FAST_LAUNCH_IMAGES_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_FAST_LAUNCH_IMAGES_OUTPUT: StaticSchema = ( + 18, + n0, + _DFLIO, + {_sSI: _cDFLIRo, _smit: None}, + (_FLIa, _NTex), + ( + (lambda: DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_SET, {_aQN: _FLISa, _sN: _fLISa}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_FAST_LAUNCH_IMAGES: StaticOperationSchema = ( + 23, + n0, + _DFLIe, + 0, + DESCRIBE_FAST_LAUNCH_IMAGES_INPUT, + DESCRIBE_FAST_LAUNCH_IMAGES_OUTPUT, + (), +) + +FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_RESPONSE: StaticSchema = ( + 18, + n0, + _FLLTSR, + 0, + (_LTI, _LTN, _Ve), + ( + (lambda: schemas.LAUNCH_TEMPLATE_ID, {_aQN: _LTI, _sN: _lTI}), + (lambda: schemas.STRING, {_aQN: _LTN, _sN: _lTN}), + (lambda: schemas.STRING, {_aQN: _Ve, _sN: _ver}), + ), +) + +FAST_LAUNCH_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _FLRTa, + 0, + (_SNAPSHOT,), + ((-1, {_sV: _s}),), +) + +FAST_LAUNCH_SNAPSHOT_CONFIGURATION_RESPONSE: StaticSchema = ( + 18, + n0, + _FLSCR, + 0, + (_TRC,), + ((lambda: schemas.INTEGER, {_aQN: _TRC, _sN: _tRC}),), +) + +FAST_LAUNCH_STATE_CODE: StaticSchema = ( + 14, + n0, + _FLSC, + 0, + (_en, _ef____, _ena, _ef______, _disab, _df________), + ( + (-1, {_sV: _en}), + (-1, {_sV: _ef_____}), + (-1, {_sV: _ena}), + (-1, {_sV: _ef_______}), + (-1, {_sV: _disab}), + (-1, {_sV: _df_________}), + ), +) + +DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_ITEM: StaticSchema = ( + 18, + n0, + _DFLISI, + 0, + (_IIm, _RT, _SCn, _LT, _MPLa, _OIw, _St, _STR, _STT), + ( + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (FAST_LAUNCH_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (FAST_LAUNCH_SNAPSHOT_CONFIGURATION_RESPONSE, {_aQN: _SCn, _sN: _sCn}), + (FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_RESPONSE, {_aQN: _LT, _sN: _lT}), + (lambda: schemas.INTEGER, {_aQN: _MPLa, _sN: _mPL}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (FAST_LAUNCH_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _STR, _sN: _sTR}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _STT, _sN: _sTT}), + ), +) + +DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_SET: StaticSchema = ( + 16, + n0, + _DFLISS, + 0, + (_me,), + ((DESCRIBE_FAST_LAUNCH_IMAGES_SUCCESS_ITEM, {_sN: _i}),), +) + +DESCRIBE_FAST_SNAPSHOT_RESTORES_MAX_RESULTS: StaticSchema = (7, n0, _DFSRMR, 0) + +DESCRIBE_FAST_SNAPSHOT_RESTORES_INPUT: StaticSchema = ( + 18, + n0, + _DFSRI, + {_sSI: _cDFSRR, _sm: None}, + (_Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_FAST_SNAPSHOT_RESTORES_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_FAST_SNAPSHOT_RESTORES_OUTPUT: StaticSchema = ( + 18, + n0, + _DFSRO, + {_sSI: _cDFSRRo, _smit: None}, + (_FSRa, _NTex), + ( + (lambda: DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET, {_aQN: _FSRS, _sN: _fSRS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_FAST_SNAPSHOT_RESTORES: StaticOperationSchema = ( + 23, + n0, + _DFSR, + 0, + DESCRIBE_FAST_SNAPSHOT_RESTORES_INPUT, + DESCRIBE_FAST_SNAPSHOT_RESTORES_OUTPUT, + (), +) + +DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM: StaticSchema = ( + 18, + n0, + _DFSRSI, + 0, + (_SIn, _AZ, _AZI, _St, _STR, _OIw, _OAw, _ETna, _OT, _ETnab, _DTi, _DTis), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.FAST_SNAPSHOT_RESTORE_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _STR, _sN: _sTR}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _OAw, _sN: _oAw}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ETna, _sN: _eTna}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _OT, _sN: _oT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ETnab, _sN: _eTnab}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _DTi, _sN: _dTi}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _DTis, _sN: _dTis}), + ), +) + +DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET: StaticSchema = ( + 16, + n0, + _DFSRSS, + 0, + (_me,), + ((DESCRIBE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM, {_sN: _i}),), +) + +FLEET_EVENT_TYPE: StaticSchema = ( + 14, + n0, + _FET, + 0, + (_IC__, _FC_, _SE), + ((-1, {_sV: _ic__}), (-1, {_sV: _fc}), (-1, {_sV: _se__})), +) + +DESCRIBE_FLEET_HISTORY_INPUT: StaticSchema = ( + 18, + n0, + _DFHI, + {_sSI: _cDFHR, _sm: None}, + (_DR, _ETv, _MR, _NTex, _FIl, _ST), + ( + (lambda: schemas.BOOLEAN, 0), + (FLEET_EVENT_TYPE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FLEET_ID, 1), + (lambda: schemas.DATE_TIME, 1), + ), +) + +DESCRIBE_FLEET_HISTORY_OUTPUT: StaticSchema = ( + 18, + n0, + _DFHO, + {_sSI: _cDFHRo, _smit: None}, + (_HRi, _LET, _NTex, _FIl, _ST), + ( + (lambda: HISTORY_RECORD_SET, {_aQN: _HRS, _sN: _hRS}), + (lambda: schemas.DATE_TIME, {_aQN: _LET, _sN: _lET}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.FLEET_ID, {_aQN: _FIl, _sN: _fIl}), + (lambda: schemas.DATE_TIME, {_aQN: _ST, _sN: _sTt}), + ), +) + +DESCRIBE_FLEET_HISTORY: StaticOperationSchema = ( + 23, + n0, + _DFH, + 0, + DESCRIBE_FLEET_HISTORY_INPUT, + DESCRIBE_FLEET_HISTORY_OUTPUT, + (), +) + +EVENT_INFORMATION: StaticSchema = ( + 18, + n0, + _EIv, + 0, + (_EDv, _EST, _II), + ( + (lambda: schemas.STRING, {_aQN: _EDv, _sN: _eDv}), + (lambda: schemas.STRING, {_aQN: _EST, _sN: _eST}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + ), +) + +HISTORY_RECORD_ENTRY: StaticSchema = ( + 18, + n0, + _HRE, + 0, + (_EIv, _ETv, _Ti), + ( + (EVENT_INFORMATION, {_aQN: _EIv, _sN: _eIv}), + (FLEET_EVENT_TYPE, {_aQN: _ETv, _sN: _eTv}), + (lambda: schemas.DATE_TIME, {_aQN: _Ti, _sN: _ti}), + ), +) + +HISTORY_RECORD_SET: StaticSchema = ( + 16, + n0, + _HRS, + 0, + (_me,), + ((HISTORY_RECORD_ENTRY, {_sN: _i}),), +) + +DESCRIBE_FLEET_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DFIIe, + {_sSI: _cDFIRom, _sm: None}, + (_DR, _MR, _NTex, _FIl, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FLEET_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_FLEET_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DFIOe, + {_sSI: _cDFIRoma, _smit: None}, + (_AIct, _NTex, _FIl), + ( + (lambda: schemas.ACTIVE_INSTANCE_SET, {_aQN: _AIS, _sN: _aIS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.FLEET_ID, {_aQN: _FIl, _sN: _fIl}), + ), +) + +DESCRIBE_FLEET_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DFIes, + 0, + DESCRIBE_FLEET_INSTANCES_INPUT, + DESCRIBE_FLEET_INSTANCES_OUTPUT, + (), +) + +DESCRIBE_FLEETS_INPUT: StaticSchema = ( + 18, + n0, + _DFIesc, + {_sSI: _cDFRom, _sm: None}, + (_DR, _MR, _NTex, _FIle, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FLEET_ID_SET, {_sN: _FIl}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_FLEETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DFOe, + {_sSI: _cDFRoma, _smit: None}, + (_NTex, _Fl), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.FLEET_SET, {_aQN: _FSl, _sN: _fSl}), + ), +) + +DESCRIBE_FLEETS: StaticOperationSchema = ( + 23, + n0, + _DFes, + 0, + DESCRIBE_FLEETS_INPUT, + DESCRIBE_FLEETS_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_26.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_26.py new file mode 100644 index 000000000..52667fb61 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_26.py @@ -0,0 +1,1584 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_p = "pending" +_smit = "smithy.api#output" +_OI = "OfferingId" +_av = "available" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_fa = "failed" +_RIe = "ResourceId" +_rI = "resourceId" +_OIw = "OwnerId" +_oI = "ownerId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_TSag = "TagSet" +_tS = "tagSet" +_er = "error" +_N = "Name" +_nam = "name" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_Reso = "Resource" +_IT = "InstanceType" +_iT = "instanceType" +_ASc = "ActivityStatus" +_ERROR = "ERROR" +_PF_ = "PENDING_FULFILLMENT" +_pf = "pending_fulfillment" +_PT = "PENDING_TERMINATION" +_pt = "pending_termination" +_FULFILLED = "FULFILLED" +_fu = "fulfilled" +_Des = "Description" +_AIs = "AssociationId" +_desc = "description" +_AIss = "AssetId" +_APu = "AutoPlacement" +_ASS = "AmdSevSnp" +_HM = "HostMaintenance" +_HR = "HostRecovery" +_IF = "InstanceFamily" +_OA = "OutpostArn" +_CO = "CpuOptions" +_aP = "autoPlacement" +_CTl = "ClientToken" +_cTl = "clientToken" +_HI = "HostIds" +_HIS = "HostIdSet" +_hIS = "hostIdSet" +_ASll = "AllocationStrategy" +_AMIT = "AllowsMultipleInstanceTypes" +_IIn = "InstanceIds" +_pu = "public" +_UIs = "UserId" +_uI = "userId" +_UT = "UpdateTime" +_uT = "updateTime" +_CC = "CurrencyCode" +_cC = "currencyCode" +_PCr = "ProductCode" +_FII = "FpgaImageId" +_fII = "fpgaImageId" +_oA = "outpostArn" +_CTr = "CreateTime" +_cTr = "createTime" +_Cou = "Count" +_cou = "count" +_unav = "unavailable" +_TTC = "TotalTargetCapacity" +_FCu = "FulfilledCapacity" +_fC = "fulfilledCapacity" +_tTC = "totalTargetCapacity" +_aSl = "allocationStrategy" +_Ty = "Type" +_ty = "type" +_HIo = "HostId" +_hI = "hostId" +_LTS = "LaunchTemplateSpecification" +_Ov = "Overrides" +_USs = "UsageStrategy" +_CRO = "CapacityReservationOptions" +_SIT = "SingleInstanceType" +_SAZ = "SingleAvailabilityZone" +_MTC = "MinTargetCapacity" +_MTP = "MaxTotalPrice" +_MTa = "MarketTypes" +_RTese = "ReservationTypes" +_RCFO = "ReservedCapacityFallbackOptions" +_RSep = "ReplacementStrategy" +_TD = "TerminationDelay" +_CRapa = "CapacityRebalance" +_MS = "MaintenanceStrategies" +_IIB = "InstanceInterruptionBehavior" +_IPTUC = "InstancePoolsToUseCount" +_DTCT = "DefaultTargetCapacityType" +_TCUT = "TargetCapacityUnitType" +_ODTC = "OnDemandTargetCapacity" +_STC = "SpotTargetCapacity" +_SO = "SpotOptions" +_ODO = "OnDemandOptions" +_RCO = "ReservedCapacityOptions" +_ECTP = "ExcessCapacityTerminationPolicy" +_LTC = "LaunchTemplateConfigs" +_TCS = "TargetCapacitySpecification" +_TIWE = "TerminateInstancesWithExpiration" +_VF = "ValidFrom" +_VU = "ValidUntil" +_RUI = "ReplaceUnhealthyInstances" +_Con = "Context" +_iF = "instanceFamily" +_lTS = "launchTemplateSpecification" +_ov = "overrides" +_LTAO = "LaunchTemplateAndOverrides" +_lTAO = "launchTemplateAndOverrides" +_Li = "Lifecycle" +_lif = "lifecycle" +_ECr = "ErrorCode" +_eCr = "errorCode" +_EM = "ErrorMessage" +_eM = "errorMessage" +_FIl = "FleetId" +_iIns = "instanceIds" +_Pla = "Platform" +_plat = "platform" +_fIl = "fleetId" +_Er = "Errors" +_ESr = "ErrorSet" +_eSr = "errorSet" +_Ins = "Instances" +_FIS = "FleetInstanceSet" +_fIS = "fleetInstanceSet" +_FF = "FileFormat" +_HCPi = "HiveCompatiblePartitions" +_PHP = "PerHourPartition" +_LDT = "LogDestinationType" +_TKa = "TagKeys" +_TTr = "TrafficType" +_DLPA = "DeliverLogsPermissionArn" +_DCAR = "DeliverCrossAccountRole" +_LGN = "LogGroupName" +_LD = "LogDestination" +_LF = "LogFormat" +_MAI = "MaxAggregationInterval" +_DOe = "DestinationOptions" +_TFS = "TagFieldSpecifications" +_FLI = "FlowLogIds" +_FIGI = "FpgaImageGlobalId" +_fIGI = "fpgaImageGlobalId" +_bDM = "blockDeviceMapping" +_aSS = "amdSevSnp" +_vU = "validUntil" +_iIB = "instanceInterruptionBehavior" +_sO = "spotOptions" +_cOp = "cpuOptions" +_OAw = "OwnerAlias" +_oAw = "ownerAlias" +_Ow = "Owner" +_FLIl = "FlowLogId" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_Attr = "Attribute" +_MR = "MaxResults" +_nT = "nextToken" +_reso = "resource" +_Statu = "Statuses" +_SSta = "StatusSet" +_sSt = "statusSet" +_TCo = "TotalCapacity" +_tC = "totalCapacity" +_mR = "maxResults" +_AIsso = "AssociationIds" +_FASl = "FleetActivityStatus" +_DFEe = "DescribeFleetError" +_DFESe = "DescribeFleetsErrorSet" +_DFIescr = "DescribeFleetsInstances" +_DFIS = "DescribeFleetsInstancesSet" +_FLTOL = "FleetLaunchTemplateOverridesList" +_FLTC = "FleetLaunchTemplateConfig" +_FLTCL = "FleetLaunchTemplateConfigList" +_uS = "usageStrategy" +_cRO = "capacityReservationOptions" +_sITi = "singleInstanceType" +_sAZ = "singleAvailabilityZone" +_mTC = "minTargetCapacity" +_mTP = "maxTotalPrice" +_RTL = "ReservationTypeList" +_MTS = "MarketTypeSet" +_mTS = "marketTypeSet" +_RTSe = "ReservationTypeSet" +_rTSe = "reservationTypeSet" +_rCFO = "reservedCapacityFallbackOptions" +_FSCR = "FleetSpotCapacityRebalance" +_rSepl = "replacementStrategy" +_tDe = "terminationDelay" +_FSMS = "FleetSpotMaintenanceStrategies" +_cRap = "capacityRebalance" +_mSa = "maintenanceStrategies" +_iPTUC = "instancePoolsToUseCount" +_oDTC = "onDemandTargetCapacity" +_sTC = "spotTargetCapacity" +_dTCT = "defaultTargetCapacityType" +_tCUT = "targetCapacityUnitType" +_FDl = "FleetData" +_aSc = "activityStatus" +_FS = "FleetState" +_fS = "fleetState" +_eCTP = "excessCapacityTerminationPolicy" +_FODC = "FulfilledOnDemandCapacity" +_fODC = "fulfilledOnDemandCapacity" +_lTC = "launchTemplateConfigs" +_tCS = "targetCapacitySpecification" +_tIWE = "terminateInstancesWithExpiration" +_vF = "validFrom" +_rUI = "replaceUnhealthyInstances" +_oDO = "onDemandOptions" +_rCO = "reservedCapacityOptions" +_cont = "context" +_FSl = "FleetSet" +_DFLIes = "DescribeFlowLogsInput" +_cDFLRom = "com.amazonaws.ec2#DescribeFlowLogsRequest" +_DORe = "DestinationOptionsResponse" +_fF = "fileFormat" +_hCP = "hiveCompatiblePartitions" +_pHP = "perHourPartition" +_TFSRa = "TagFieldSpecificationResponse" +_TKS = "TagKeySet" +_tKS = "tagKeySet" +_TFSLRa = "TagFieldSpecificationListResponse" +_FLl = "FlowLog" +_DLEM = "DeliverLogsErrorMessage" +_dLEM = "deliverLogsErrorMessage" +_dLPA = "deliverLogsPermissionArn" +_dCAR = "deliverCrossAccountRole" +_DLS = "DeliverLogsStatus" +_dLS = "deliverLogsStatus" +_fLI = "flowLogId" +_FLS = "FlowLogStatus" +_fLS = "flowLogStatus" +_lGN = "logGroupName" +_tTra = "trafficType" +_lDTo = "logDestinationType" +_lD = "logDestination" +_lF = "logFormat" +_mAI = "maxAggregationInterval" +_dOe = "destinationOptions" +_TFSS = "TagFieldSpecificationSet" +_tFSS = "tagFieldSpecificationSet" +_FLSl = "FlowLogSet" +_DFLOe = "DescribeFlowLogsOutput" +_cDFLRoma = "com.amazonaws.ec2#DescribeFlowLogsResult" +_FLlo = "FlowLogs" +_fLSl = "flowLogSet" +_DFLe = "DescribeFlowLogs" +_FIAN = "FpgaImageAttributeName" +_lPo = "loadPermission" +_pCr = "productCodes" +_DFIAI = "DescribeFpgaImageAttributeInput" +_cDFIAR = "com.amazonaws.ec2#DescribeFpgaImageAttributeRequest" +_PGe = "PermissionGroup" +_all_ = "all" +_LPo = "LoadPermission" +_Gr = "Group" +_gro = "group" +_LPL = "LoadPermissionList" +_PCV = "ProductCodeValues" +_devp = "devpay" +_mar = "marketplace" +_PCIr = "ProductCodeId" +_pCro = "productCode" +_PCT = "ProductCodeType" +_PCLr = "ProductCodeList" +_FIA = "FpgaImageAttribute" +_LPoa = "LoadPermissions" +_lPoa = "loadPermissions" +_PCro = "ProductCodes" +_DFIAO = "DescribeFpgaImageAttributeOutput" +_cDFIARo = "com.amazonaws.ec2#DescribeFpgaImageAttributeResult" +_fIA = "fpgaImageAttribute" +_DFIA = "DescribeFpgaImageAttribute" +_FIIL = "FpgaImageIdList" +_DFIMR = "DescribeFpgaImagesMaxResults" +_OSL = "OwnerStringList" +_DFIIes = "DescribeFpgaImagesInput" +_cDFIRomam = "com.amazonaws.ec2#DescribeFpgaImagesRequest" +_FIIp = "FpgaImageIds" +_Own = "Owners" +_ITL = "InstanceTypesList" +_PIc = "PciId" +_DIev = "DeviceId" +_VIe = "VendorId" +_SIub = "SubsystemId" +_SVIu = "SubsystemVendorId" +_FISC = "FpgaImageStateCode" +_FISp = "FpgaImageState" +_FIp = "FpgaImage" +_SVh = "ShellVersion" +_sVh = "shellVersion" +_pIc = "pciId" +_tags = "tags" +_Pu = "Public" +_DRSa = "DataRetentionSupport" +_dRS = "dataRetentionSupport" +_ITnsta = "InstanceTypes" +_iTnst = "instanceTypes" +_FIL = "FpgaImageList" +_DFIOes = "DescribeFpgaImagesOutput" +_cDFIRomama = "com.amazonaws.ec2#DescribeFpgaImagesResult" +_FIpg = "FpgaImages" +_FISpg = "FpgaImageSet" +_fISp = "fpgaImageSet" +_DFIescri = "DescribeFpgaImages" +_DHRMR = "DescribeHostReservationsMaxResults" +_DHROI = "DescribeHostReservationOfferingsInput" +_cDHROR = "com.amazonaws.ec2#DescribeHostReservationOfferingsRequest" +_MDa = "MaxDuration" +_MDi = "MinDuration" +_POa = "PaymentOption" +_AU = "ALL_UPFRONT" +_AUl = "AllUpfront" +_PU_ = "PARTIAL_UPFRONT" +_PUa = "PartialUpfront" +_NU = "NO_UPFRONT" +_NUo = "NoUpfront" +_HOo = "HostOffering" +_Dur = "Duration" +_dur = "duration" +_HP = "HourlyPrice" +_hP = "hourlyPrice" +_oIf = "offeringId" +_pOa = "paymentOption" +_UPp = "UpfrontPrice" +_uPp = "upfrontPrice" +_HOS = "HostOfferingSet" +_DHROO = "DescribeHostReservationOfferingsOutput" +_cDHRORo = "com.amazonaws.ec2#DescribeHostReservationOfferingsResult" +_OS = "OfferingSet" +_oS = "offeringSet" +_DHRO = "DescribeHostReservationOfferings" +_HRI = "HostReservationId" +_HRIS = "HostReservationIdSet" +_DHRI = "DescribeHostReservationsInput" +_cDHRR = "com.amazonaws.ec2#DescribeHostReservationsRequest" +_RHIS = "ResponseHostIdSet" +_HRo = "HostReservation" +_End = "End" +_end = "end" +_hRI = "hostReservationId" +_Star = "Start" +_star = "start" +_HRSo = "HostReservationSet" +_DHROe = "DescribeHostReservationsOutput" +_cDHRRo = "com.amazonaws.ec2#DescribeHostReservationsResult" +_hRSo = "hostReservationSet" +_DHR = "DescribeHostReservations" +_DHIes = "DescribeHostsInput" +_cDHR = "com.amazonaws.ec2#DescribeHostsRequest" +_filt = "filter" +_ICns = "InstanceCapacity" +_ACv = "AvailableCapacity" +_aCv = "availableCapacity" +_AICL = "AvailableInstanceCapacityList" +_AICv = "AvailableInstanceCapacity" +_aICv = "availableInstanceCapacity" +_AVC = "AvailableVCpus" +_aVC = "availableVCpus" +_HCO = "HostCpuOptions" +_HPo = "HostProperties" +_Cor = "Cores" +_cor = "cores" +_Soc = "Sockets" +_soc = "sockets" +_TVC = "TotalVCpus" +_tVC = "totalVCpus" +_HIos = "HostInstance" +_HIL = "HostInstanceList" +_Hos = "Host" +_hPo = "hostProperties" +_insta = "instances" +_ATll = "AllocationTime" +_aTll = "allocationTime" +_RTel = "ReleaseTime" +_rTel = "releaseTime" +_hR = "hostRecovery" +_aMIT = "allowsMultipleInstanceTypes" +_MOSLRG = "MemberOfServiceLinkedResourceGroup" +_mOSLRG = "memberOfServiceLinkedResourceGroup" +_hM = "hostMaintenance" +_aIss = "assetId" +_HL = "HostList" +_DHO = "DescribeHostsOutput" +_cDHRo = "com.amazonaws.ec2#DescribeHostsResult" +_Host = "Hosts" +_HSo = "HostSet" +_hS = "hostSet" +_DH = "DescribeHosts" +_IIPAI = "IamInstanceProfileAssociationId" +_AILs = "AssociationIdList" +_DIIPAMR = "DescribeIamInstanceProfileAssociationsMaxResults" +_DIIPAI = "DescribeIamInstanceProfileAssociationsInput" +_cDIIPAR = "com.amazonaws.ec2#DescribeIamInstanceProfileAssociationsRequest" +_IIPASa = "IamInstanceProfileAssociationSet" +_DIIPAO = "DescribeIamInstanceProfileAssociationsOutput" +_cDIIPARo = "com.amazonaws.ec2#DescribeIamInstanceProfileAssociationsResult" +_IIPAa = "IamInstanceProfileAssociations" +_iIPAS = "iamInstanceProfileAssociationSet" +_DIIPA = "DescribeIamInstanceProfileAssociations" +_DIIFI = "DescribeIdentityIdFormatInput" +_cDIIFR = "com.amazonaws.ec2#DescribeIdentityIdFormatRequest" +_PAr = "PrincipalArn" +_pAr = "principalArn" +_DIIFO = "DescribeIdentityIdFormatOutput" +_cDIIFRo = "com.amazonaws.ec2#DescribeIdentityIdFormatResult" +_DIIF = "DescribeIdentityIdFormat" +_DIFI = "DescribeIdFormatInput" +_cDIFR = "com.amazonaws.ec2#DescribeIdFormatRequest" +_DIFO = "DescribeIdFormatOutput" +_cDIFRo = "com.amazonaws.ec2#DescribeIdFormatResult" +_DIFe = "DescribeIdFormat" +_IAN = "ImageAttributeName" +_ker = "kernel" +_ramd = "ramdisk" +_lPa = "launchPermission" +_sNS = "sriovNetSupport" +_bMo = "bootMode" +_tSp = "tpmSupport" +_uDe = "uefiData" +_lLT = "lastLaunchedTime" +_iSm = "imdsSupport" +_dPer = "deregistrationProtection" + +FPGA_IMAGE_ID: StaticSchema = (3, n0, _FII, 0) + +FLEET_ACTIVITY_STATUS: StaticSchema = ( + 14, + n0, + _FASl, + 0, + (_ERROR, _PF_, _PT, _FULFILLED), + ((-1, {_sV: _er}), (-1, {_sV: _pf}), (-1, {_sV: _pt}), (-1, {_sV: _fu})), +) + +DESCRIBE_FLEET_ERROR: StaticSchema = ( + 18, + n0, + _DFEe, + 0, + (_LTAO, _Li, _ECr, _EM), + ( + ( + lambda: schemas.LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE, + {_aQN: _LTAO, _sN: _lTAO}, + ), + (lambda: schemas.INSTANCE_LIFECYCLE, {_aQN: _Li, _sN: _lif}), + (lambda: schemas.STRING, {_aQN: _ECr, _sN: _eCr}), + (lambda: schemas.STRING, {_aQN: _EM, _sN: _eM}), + ), +) + +DESCRIBE_FLEETS_ERROR_SET: StaticSchema = ( + 16, + n0, + _DFESe, + 0, + (_me,), + ((DESCRIBE_FLEET_ERROR, {_sN: _i}),), +) + +DESCRIBE_FLEETS_INSTANCES: StaticSchema = ( + 18, + n0, + _DFIescr, + 0, + (_LTAO, _Li, _IIn, _IT, _Pla), + ( + ( + lambda: schemas.LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE, + {_aQN: _LTAO, _sN: _lTAO}, + ), + (lambda: schemas.INSTANCE_LIFECYCLE, {_aQN: _Li, _sN: _lif}), + (lambda: schemas.INSTANCE_IDS_SET, {_aQN: _IIn, _sN: _iIns}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), + ), +) + +DESCRIBE_FLEETS_INSTANCES_SET: StaticSchema = ( + 16, + n0, + _DFIS, + 0, + (_me,), + ((DESCRIBE_FLEETS_INSTANCES, {_sN: _i}),), +) + +FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST: StaticSchema = ( + 16, + n0, + _FLTOL, + 0, + (_me,), + ((lambda: schemas.FLEET_LAUNCH_TEMPLATE_OVERRIDES, {_sN: _i}),), +) + +FLEET_LAUNCH_TEMPLATE_CONFIG: StaticSchema = ( + 18, + n0, + _FLTC, + 0, + (_LTS, _Ov), + ( + (lambda: schemas.FLEET_LAUNCH_TEMPLATE_SPECIFICATION, {_aQN: _LTS, _sN: _lTS}), + (FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST, {_aQN: _Ov, _sN: _ov}), + ), +) + +FLEET_LAUNCH_TEMPLATE_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _FLTCL, + 0, + (_me,), + ((FLEET_LAUNCH_TEMPLATE_CONFIG, {_sN: _i}),), +) + +CAPACITY_RESERVATION_OPTIONS: StaticSchema = ( + 18, + n0, + _CRO, + 0, + (_USs,), + ( + ( + lambda: schemas.FLEET_CAPACITY_RESERVATION_USAGE_STRATEGY, + {_aQN: _USs, _sN: _uS}, + ), + ), +) + +ON_DEMAND_OPTIONS: StaticSchema = ( + 18, + n0, + _ODO, + 0, + (_ASll, _CRO, _SIT, _SAZ, _MTC, _MTP), + ( + (lambda: schemas.FLEET_ON_DEMAND_ALLOCATION_STRATEGY, {_aQN: _ASll, _sN: _aSl}), + (CAPACITY_RESERVATION_OPTIONS, {_aQN: _CRO, _sN: _cRO}), + (lambda: schemas.BOOLEAN, {_aQN: _SIT, _sN: _sITi}), + (lambda: schemas.BOOLEAN, {_aQN: _SAZ, _sN: _sAZ}), + (lambda: schemas.INTEGER, {_aQN: _MTC, _sN: _mTC}), + (lambda: schemas.STRING, {_aQN: _MTP, _sN: _mTP}), + ), +) + +RESERVATION_TYPE_LIST: StaticSchema = ( + 16, + n0, + _RTL, + 0, + (_me,), + ((lambda: schemas.FLEET_RESERVATION_TYPE, {_sN: _i}),), +) + +RESERVED_CAPACITY_FALLBACK_OPTIONS: StaticSchema = ( + 18, + n0, + _RCFO, + 0, + (_MTa,), + ( + ( + lambda: schemas.RESERVED_CAPACITY_FALLBACK_MARKET_TYPE_LIST, + {_aQN: _MTS, _sN: _mTS}, + ), + ), +) + +RESERVED_CAPACITY_OPTIONS: StaticSchema = ( + 18, + n0, + _RCO, + 0, + (_ASll, _RTese, _RCFO), + ( + ( + lambda: schemas.RESERVED_CAPACITY_ALLOCATION_STRATEGY, + {_aQN: _ASll, _sN: _aSl}, + ), + (RESERVATION_TYPE_LIST, {_aQN: _RTSe, _sN: _rTSe}), + (RESERVED_CAPACITY_FALLBACK_OPTIONS, {_aQN: _RCFO, _sN: _rCFO}), + ), +) + +FLEET_SPOT_CAPACITY_REBALANCE: StaticSchema = ( + 18, + n0, + _FSCR, + 0, + (_RSep, _TD), + ( + (lambda: schemas.FLEET_REPLACEMENT_STRATEGY, {_aQN: _RSep, _sN: _rSepl}), + (lambda: schemas.INTEGER, {_aQN: _TD, _sN: _tDe}), + ), +) + +FLEET_SPOT_MAINTENANCE_STRATEGIES: StaticSchema = ( + 18, + n0, + _FSMS, + 0, + (_CRapa,), + ((FLEET_SPOT_CAPACITY_REBALANCE, {_aQN: _CRapa, _sN: _cRap}),), +) + +SPOT_OPTIONS: StaticSchema = ( + 18, + n0, + _SO, + 0, + (_ASll, _MS, _IIB, _IPTUC, _SIT, _SAZ, _MTC, _MTP), + ( + (lambda: schemas.SPOT_ALLOCATION_STRATEGY, {_aQN: _ASll, _sN: _aSl}), + (FLEET_SPOT_MAINTENANCE_STRATEGIES, {_aQN: _MS, _sN: _mSa}), + (lambda: schemas.SPOT_INSTANCE_INTERRUPTION_BEHAVIOR, {_aQN: _IIB, _sN: _iIB}), + (lambda: schemas.INTEGER, {_aQN: _IPTUC, _sN: _iPTUC}), + (lambda: schemas.BOOLEAN, {_aQN: _SIT, _sN: _sITi}), + (lambda: schemas.BOOLEAN, {_aQN: _SAZ, _sN: _sAZ}), + (lambda: schemas.INTEGER, {_aQN: _MTC, _sN: _mTC}), + (lambda: schemas.STRING, {_aQN: _MTP, _sN: _mTP}), + ), +) + +TARGET_CAPACITY_SPECIFICATION: StaticSchema = ( + 18, + n0, + _TCS, + 0, + (_TTC, _ODTC, _STC, _DTCT, _TCUT), + ( + (lambda: schemas.INTEGER, {_aQN: _TTC, _sN: _tTC}), + (lambda: schemas.INTEGER, {_aQN: _ODTC, _sN: _oDTC}), + (lambda: schemas.INTEGER, {_aQN: _STC, _sN: _sTC}), + (lambda: schemas.DEFAULT_TARGET_CAPACITY_TYPE, {_aQN: _DTCT, _sN: _dTCT}), + (lambda: schemas.TARGET_CAPACITY_UNIT_TYPE, {_aQN: _TCUT, _sN: _tCUT}), + ), +) + +FLEET_DATA: StaticSchema = ( + 18, + n0, + _FDl, + 0, + ( + _ASc, + _CTr, + _FIl, + _FS, + _CTl, + _ECTP, + _FCu, + _FODC, + _LTC, + _TCS, + _TIWE, + _Ty, + _VF, + _VU, + _RUI, + _SO, + _ODO, + _RCO, + _Tag, + _Er, + _Ins, + _Con, + ), + ( + (FLEET_ACTIVITY_STATUS, {_aQN: _ASc, _sN: _aSc}), + (lambda: schemas.DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.FLEET_ID, {_aQN: _FIl, _sN: _fIl}), + (lambda: schemas.FLEET_STATE_CODE, {_aQN: _FS, _sN: _fS}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ( + lambda: schemas.FLEET_EXCESS_CAPACITY_TERMINATION_POLICY, + {_aQN: _ECTP, _sN: _eCTP}, + ), + (lambda: schemas.DOUBLE, {_aQN: _FCu, _sN: _fC}), + (lambda: schemas.DOUBLE, {_aQN: _FODC, _sN: _fODC}), + (FLEET_LAUNCH_TEMPLATE_CONFIG_LIST, {_aQN: _LTC, _sN: _lTC}), + (TARGET_CAPACITY_SPECIFICATION, {_aQN: _TCS, _sN: _tCS}), + (lambda: schemas.BOOLEAN, {_aQN: _TIWE, _sN: _tIWE}), + (lambda: schemas.FLEET_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.DATE_TIME, {_aQN: _VF, _sN: _vF}), + (lambda: schemas.DATE_TIME, {_aQN: _VU, _sN: _vU}), + (lambda: schemas.BOOLEAN, {_aQN: _RUI, _sN: _rUI}), + (SPOT_OPTIONS, {_aQN: _SO, _sN: _sO}), + (ON_DEMAND_OPTIONS, {_aQN: _ODO, _sN: _oDO}), + (RESERVED_CAPACITY_OPTIONS, {_aQN: _RCO, _sN: _rCO}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (DESCRIBE_FLEETS_ERROR_SET, {_aQN: _ESr, _sN: _eSr}), + (DESCRIBE_FLEETS_INSTANCES_SET, {_aQN: _FIS, _sN: _fIS}), + (lambda: schemas.STRING, {_aQN: _Con, _sN: _cont}), + ), +) + +FLEET_SET: StaticSchema = (16, n0, _FSl, 0, (_me,), ((FLEET_DATA, {_sN: _i}),)) + +DESCRIBE_FLOW_LOGS_INPUT: StaticSchema = ( + 18, + n0, + _DFLIes, + {_sSI: _cDFLRom, _sm: None}, + (_DR, _Fi, _FLI, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.FLOW_LOG_ID_LIST, {_sN: _FLIl}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_FLOW_LOGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DFLOe, + {_sSI: _cDFLRoma, _smit: None}, + (_FLlo, _NTex), + ( + (lambda: FLOW_LOG_SET, {_aQN: _FLSl, _sN: _fLSl}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_FLOW_LOGS: StaticOperationSchema = ( + 23, + n0, + _DFLe, + 0, + DESCRIBE_FLOW_LOGS_INPUT, + DESCRIBE_FLOW_LOGS_OUTPUT, + (), +) + +DESTINATION_OPTIONS_RESPONSE: StaticSchema = ( + 18, + n0, + _DORe, + 0, + (_FF, _HCPi, _PHP), + ( + (lambda: schemas.DESTINATION_FILE_FORMAT, {_aQN: _FF, _sN: _fF}), + (lambda: schemas.BOOLEAN, {_aQN: _HCPi, _sN: _hCP}), + (lambda: schemas.BOOLEAN, {_aQN: _PHP, _sN: _pHP}), + ), +) + +TAG_FIELD_SPECIFICATION_RESPONSE: StaticSchema = ( + 18, + n0, + _TFSRa, + 0, + (_RT, _TKa), + ( + (lambda: schemas.TAGGABLE_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.TAG_KEY_LIST, {_aQN: _TKS, _sN: _tKS}), + ), +) + +TAG_FIELD_SPECIFICATION_LIST_RESPONSE: StaticSchema = ( + 16, + n0, + _TFSLRa, + 0, + (_me,), + ((TAG_FIELD_SPECIFICATION_RESPONSE, {_sN: _i}),), +) + +FLOW_LOG: StaticSchema = ( + 18, + n0, + _FLl, + 0, + ( + _CT, + _DLEM, + _DLPA, + _DCAR, + _DLS, + _FLIl, + _FLS, + _LGN, + _RIe, + _TTr, + _LDT, + _LD, + _LF, + _Tag, + _MAI, + _DOe, + _TFS, + ), + ( + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.STRING, {_aQN: _DLEM, _sN: _dLEM}), + (lambda: schemas.STRING, {_aQN: _DLPA, _sN: _dLPA}), + (lambda: schemas.STRING, {_aQN: _DCAR, _sN: _dCAR}), + (lambda: schemas.STRING, {_aQN: _DLS, _sN: _dLS}), + (lambda: schemas.STRING, {_aQN: _FLIl, _sN: _fLI}), + (lambda: schemas.STRING, {_aQN: _FLS, _sN: _fLS}), + (lambda: schemas.STRING, {_aQN: _LGN, _sN: _lGN}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.TRAFFIC_TYPE, {_aQN: _TTr, _sN: _tTra}), + (lambda: schemas.LOG_DESTINATION_TYPE, {_aQN: _LDT, _sN: _lDTo}), + (lambda: schemas.STRING, {_aQN: _LD, _sN: _lD}), + (lambda: schemas.STRING, {_aQN: _LF, _sN: _lF}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.INTEGER, {_aQN: _MAI, _sN: _mAI}), + (DESTINATION_OPTIONS_RESPONSE, {_aQN: _DOe, _sN: _dOe}), + (TAG_FIELD_SPECIFICATION_LIST_RESPONSE, {_aQN: _TFSS, _sN: _tFSS}), + ), +) + +FLOW_LOG_SET: StaticSchema = (16, n0, _FLSl, 0, (_me,), ((FLOW_LOG, {_sN: _i}),)) + +FPGA_IMAGE_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _FIAN, + 0, + (_desc, _nam, _lPo, _pCr), + ((-1, {_sV: _desc}), (-1, {_sV: _nam}), (-1, {_sV: _lPo}), (-1, {_sV: _pCr})), +) + +DESCRIBE_FPGA_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _DFIAI, + {_sSI: _cDFIAR, _sm: None}, + (_DR, _FII, _Attr), + ((lambda: schemas.BOOLEAN, 0), (FPGA_IMAGE_ID, 1), (FPGA_IMAGE_ATTRIBUTE_NAME, 1)), +) + +DESCRIBE_FPGA_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DFIAO, + {_sSI: _cDFIARo, _smit: None}, + (_FIA,), + ((lambda: FPGA_IMAGE_ATTRIBUTE, {_aQN: _FIA, _sN: _fIA}),), +) + +DESCRIBE_FPGA_IMAGE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _DFIA, + 0, + DESCRIBE_FPGA_IMAGE_ATTRIBUTE_INPUT, + DESCRIBE_FPGA_IMAGE_ATTRIBUTE_OUTPUT, + (), +) + +PERMISSION_GROUP: StaticSchema = (14, n0, _PGe, 0, (_all_,), ((-1, {_sV: _all_}),)) + +LOAD_PERMISSION: StaticSchema = ( + 18, + n0, + _LPo, + 0, + (_UIs, _Gr), + ( + (lambda: schemas.STRING, {_aQN: _UIs, _sN: _uI}), + (PERMISSION_GROUP, {_aQN: _Gr, _sN: _gro}), + ), +) + +LOAD_PERMISSION_LIST: StaticSchema = ( + 16, + n0, + _LPL, + 0, + (_me,), + ((LOAD_PERMISSION, {_sN: _i}),), +) + +PRODUCT_CODE_VALUES: StaticSchema = ( + 14, + n0, + _PCV, + 0, + (_devp, _mar), + ((-1, {_sV: _devp}), (-1, {_sV: _mar})), +) + +PRODUCT_CODE: StaticSchema = ( + 18, + n0, + _PCr, + 0, + (_PCIr, _PCT), + ( + (lambda: schemas.STRING, {_aQN: _PCr, _sN: _pCro}), + (PRODUCT_CODE_VALUES, {_aQN: _Ty, _sN: _ty}), + ), +) + +PRODUCT_CODE_LIST: StaticSchema = ( + 16, + n0, + _PCLr, + 0, + (_me,), + ((PRODUCT_CODE, {_sN: _i}),), +) + +FPGA_IMAGE_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _FIA, + 0, + (_FII, _N, _Des, _LPoa, _PCro), + ( + (lambda: schemas.STRING, {_aQN: _FII, _sN: _fII}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (LOAD_PERMISSION_LIST, {_aQN: _LPoa, _sN: _lPoa}), + (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), + ), +) + +FPGA_IMAGE_ID_LIST: StaticSchema = ( + 16, + n0, + _FIIL, + 0, + (_me,), + ((FPGA_IMAGE_ID, {_sN: _i}),), +) + +DESCRIBE_FPGA_IMAGES_MAX_RESULTS: StaticSchema = (7, n0, _DFIMR, 0) + +OWNER_STRING_LIST: StaticSchema = ( + 16, + n0, + _OSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _Ow}),), +) + +DESCRIBE_FPGA_IMAGES_INPUT: StaticSchema = ( + 18, + n0, + _DFIIes, + {_sSI: _cDFIRomam, _sm: None}, + (_DR, _FIIp, _Own, _Fil, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, 0), + (FPGA_IMAGE_ID_LIST, {_sN: _FII}), + (OWNER_STRING_LIST, {_sN: _Ow}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NEXT_TOKEN, 0), + (DESCRIBE_FPGA_IMAGES_MAX_RESULTS, 0), + ), +) + +DESCRIBE_FPGA_IMAGES_OUTPUT: StaticSchema = ( + 18, + n0, + _DFIOes, + {_sSI: _cDFIRomama, _smit: None}, + (_FIpg, _NTex), + ( + (lambda: FPGA_IMAGE_LIST, {_aQN: _FISpg, _sN: _fISp}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_FPGA_IMAGES: StaticOperationSchema = ( + 23, + n0, + _DFIescri, + 0, + DESCRIBE_FPGA_IMAGES_INPUT, + DESCRIBE_FPGA_IMAGES_OUTPUT, + (), +) + +INSTANCE_TYPES_LIST: StaticSchema = ( + 16, + n0, + _ITL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +PCI_ID: StaticSchema = ( + 18, + n0, + _PIc, + 0, + (_DIev, _VIe, _SIub, _SVIu), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +FPGA_IMAGE_STATE_CODE: StaticSchema = ( + 14, + n0, + _FISC, + 0, + (_p, _fa, _av, _unav), + ((-1, {_sV: _p}), (-1, {_sV: _fa}), (-1, {_sV: _av}), (-1, {_sV: _unav})), +) + +FPGA_IMAGE_STATE: StaticSchema = ( + 18, + n0, + _FISp, + 0, + (_C, _Me), + ( + (FPGA_IMAGE_STATE_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +FPGA_IMAGE: StaticSchema = ( + 18, + n0, + _FIp, + 0, + ( + _FII, + _FIGI, + _N, + _Des, + _SVh, + _PIc, + _St, + _CTr, + _UT, + _OIw, + _OAw, + _PCro, + _Tag, + _Pu, + _DRSa, + _ITnsta, + ), + ( + (lambda: schemas.STRING, {_aQN: _FII, _sN: _fII}), + (lambda: schemas.STRING, {_aQN: _FIGI, _sN: _fIGI}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _SVh, _sN: _sVh}), + (PCI_ID, {_aQN: _PIc, _sN: _pIc}), + (FPGA_IMAGE_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.DATE_TIME, {_aQN: _UT, _sN: _uT}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _OAw, _sN: _oAw}), + (PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), + (lambda: schemas.TAG_LIST, {_aQN: _Tag, _sN: _tags}), + (lambda: schemas.BOOLEAN, {_aQN: _Pu, _sN: _pu}), + (lambda: schemas.BOOLEAN, {_aQN: _DRSa, _sN: _dRS}), + (INSTANCE_TYPES_LIST, {_aQN: _ITnsta, _sN: _iTnst}), + ), +) + +FPGA_IMAGE_LIST: StaticSchema = (16, n0, _FIL, 0, (_me,), ((FPGA_IMAGE, {_sN: _i}),)) + +DESCRIBE_HOST_RESERVATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DHRMR, 0) + +DESCRIBE_HOST_RESERVATION_OFFERINGS_INPUT: StaticSchema = ( + 18, + n0, + _DHROI, + {_sSI: _cDHROR, _sm: None}, + (_Fi, _MDa, _MR, _MDi, _NTex, _OI), + ( + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER, 0), + (DESCRIBE_HOST_RESERVATIONS_MAX_RESULTS, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.OFFERING_ID, 0), + ), +) + +DESCRIBE_HOST_RESERVATION_OFFERINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DHROO, + {_sSI: _cDHRORo, _smit: None}, + (_NTex, _OS), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: HOST_OFFERING_SET, {_aQN: _OS, _sN: _oS}), + ), +) + +DESCRIBE_HOST_RESERVATION_OFFERINGS: StaticOperationSchema = ( + 23, + n0, + _DHRO, + 0, + DESCRIBE_HOST_RESERVATION_OFFERINGS_INPUT, + DESCRIBE_HOST_RESERVATION_OFFERINGS_OUTPUT, + (), +) + +PAYMENT_OPTION: StaticSchema = ( + 14, + n0, + _POa, + 0, + (_AU, _PU_, _NU), + ((-1, {_sV: _AUl}), (-1, {_sV: _PUa}), (-1, {_sV: _NUo})), +) + +HOST_OFFERING: StaticSchema = ( + 18, + n0, + _HOo, + 0, + (_CC, _Dur, _HP, _IF, _OI, _POa, _UPp), + ( + (lambda: schemas.CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.INTEGER, {_aQN: _Dur, _sN: _dur}), + (lambda: schemas.STRING, {_aQN: _HP, _sN: _hP}), + (lambda: schemas.STRING, {_aQN: _IF, _sN: _iF}), + (lambda: schemas.OFFERING_ID, {_aQN: _OI, _sN: _oIf}), + (PAYMENT_OPTION, {_aQN: _POa, _sN: _pOa}), + (lambda: schemas.STRING, {_aQN: _UPp, _sN: _uPp}), + ), +) + +HOST_OFFERING_SET: StaticSchema = ( + 16, + n0, + _HOS, + 0, + (_me,), + ((HOST_OFFERING, {_sN: _i}),), +) + +HOST_RESERVATION_ID: StaticSchema = (3, n0, _HRI, 0) + +HOST_RESERVATION_ID_SET: StaticSchema = ( + 16, + n0, + _HRIS, + 0, + (_me,), + ((HOST_RESERVATION_ID, {_sN: _i}),), +) + +DESCRIBE_HOST_RESERVATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DHRI, + {_sSI: _cDHRR, _sm: None}, + (_Fi, _HRIS, _MR, _NTex), + ( + (lambda: schemas.FILTER_LIST, 0), + (HOST_RESERVATION_ID_SET, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_HOST_RESERVATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DHROe, + {_sSI: _cDHRRo, _smit: None}, + (_HRSo, _NTex), + ( + (lambda: HOST_RESERVATION_SET, {_aQN: _HRSo, _sN: _hRSo}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_HOST_RESERVATIONS: StaticOperationSchema = ( + 23, + n0, + _DHR, + 0, + DESCRIBE_HOST_RESERVATIONS_INPUT, + DESCRIBE_HOST_RESERVATIONS_OUTPUT, + (), +) + +RESPONSE_HOST_ID_SET: StaticSchema = ( + 16, + n0, + _RHIS, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +HOST_RESERVATION: StaticSchema = ( + 18, + n0, + _HRo, + 0, + (_Cou, _CC, _Dur, _End, _HIS, _HRI, _HP, _IF, _OI, _POa, _Star, _St, _UPp, _Tag), + ( + (lambda: schemas.INTEGER, {_aQN: _Cou, _sN: _cou}), + (lambda: schemas.CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.INTEGER, {_aQN: _Dur, _sN: _dur}), + (lambda: schemas.DATE_TIME, {_aQN: _End, _sN: _end}), + (RESPONSE_HOST_ID_SET, {_aQN: _HIS, _sN: _hIS}), + (HOST_RESERVATION_ID, {_aQN: _HRI, _sN: _hRI}), + (lambda: schemas.STRING, {_aQN: _HP, _sN: _hP}), + (lambda: schemas.STRING, {_aQN: _IF, _sN: _iF}), + (lambda: schemas.OFFERING_ID, {_aQN: _OI, _sN: _oIf}), + (PAYMENT_OPTION, {_aQN: _POa, _sN: _pOa}), + (lambda: schemas.DATE_TIME, {_aQN: _Star, _sN: _star}), + (lambda: schemas.RESERVATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _UPp, _sN: _uPp}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +HOST_RESERVATION_SET: StaticSchema = ( + 16, + n0, + _HRSo, + 0, + (_me,), + ((HOST_RESERVATION, {_sN: _i}),), +) + +DESCRIBE_HOSTS_INPUT: StaticSchema = ( + 18, + n0, + _DHIes, + {_sSI: _cDHR, _sm: None}, + (_HI, _NTex, _MR, _Fi), + ( + (lambda: schemas.REQUEST_HOST_ID_LIST, {_aQN: _HIo, _sN: _hI}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.INTEGER, {_aQN: _MR, _sN: _mR}), + (lambda: schemas.FILTER_LIST, {_aQN: _Fi, _sN: _filt}), + ), +) + +DESCRIBE_HOSTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DHO, + {_sSI: _cDHRo, _smit: None}, + (_Host, _NTex), + ( + (lambda: HOST_LIST, {_aQN: _HSo, _sN: _hS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_HOSTS: StaticOperationSchema = ( + 23, + n0, + _DH, + 0, + DESCRIBE_HOSTS_INPUT, + DESCRIBE_HOSTS_OUTPUT, + (), +) + +INSTANCE_CAPACITY: StaticSchema = ( + 18, + n0, + _ICns, + 0, + (_ACv, _IT, _TCo), + ( + (lambda: schemas.INTEGER, {_aQN: _ACv, _sN: _aCv}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.INTEGER, {_aQN: _TCo, _sN: _tC}), + ), +) + +AVAILABLE_INSTANCE_CAPACITY_LIST: StaticSchema = ( + 16, + n0, + _AICL, + 0, + (_me,), + ((INSTANCE_CAPACITY, {_sN: _i}),), +) + +AVAILABLE_CAPACITY: StaticSchema = ( + 18, + n0, + _ACv, + 0, + (_AICv, _AVC), + ( + (AVAILABLE_INSTANCE_CAPACITY_LIST, {_aQN: _AICv, _sN: _aICv}), + (lambda: schemas.INTEGER, {_aQN: _AVC, _sN: _aVC}), + ), +) + +HOST_CPU_OPTIONS: StaticSchema = ( + 18, + n0, + _HCO, + 0, + (_ASS,), + ((lambda: schemas.AMD_SEV_SNP, {_aQN: _ASS, _sN: _aSS}),), +) + +HOST_PROPERTIES: StaticSchema = ( + 18, + n0, + _HPo, + 0, + (_Cor, _IT, _IF, _Soc, _TVC), + ( + (lambda: schemas.INTEGER, {_aQN: _Cor, _sN: _cor}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _IF, _sN: _iF}), + (lambda: schemas.INTEGER, {_aQN: _Soc, _sN: _soc}), + (lambda: schemas.INTEGER, {_aQN: _TVC, _sN: _tVC}), + ), +) + +HOST_INSTANCE: StaticSchema = ( + 18, + n0, + _HIos, + 0, + (_II, _IT, _OIw), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + ), +) + +HOST_INSTANCE_LIST: StaticSchema = ( + 16, + n0, + _HIL, + 0, + (_me,), + ((HOST_INSTANCE, {_sN: _i}),), +) + +HOST: StaticSchema = ( + 18, + n0, + _Hos, + 0, + ( + _APu, + _AZ, + _ACv, + _CTl, + _HIo, + _HPo, + _HRI, + _Ins, + _St, + _ATll, + _RTel, + _Tag, + _HR, + _AMIT, + _OIw, + _AZI, + _MOSLRG, + _OA, + _HM, + _AIss, + _CO, + ), + ( + (lambda: schemas.AUTO_PLACEMENT, {_aQN: _APu, _sN: _aP}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (AVAILABLE_CAPACITY, {_aQN: _ACv, _sN: _aCv}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: schemas.STRING, {_aQN: _HIo, _sN: _hI}), + (HOST_PROPERTIES, {_aQN: _HPo, _sN: _hPo}), + (lambda: schemas.STRING, {_aQN: _HRI, _sN: _hRI}), + (HOST_INSTANCE_LIST, {_aQN: _Ins, _sN: _insta}), + (lambda: schemas.ALLOCATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.DATE_TIME, {_aQN: _ATll, _sN: _aTll}), + (lambda: schemas.DATE_TIME, {_aQN: _RTel, _sN: _rTel}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.HOST_RECOVERY, {_aQN: _HR, _sN: _hR}), + (lambda: schemas.ALLOWS_MULTIPLE_INSTANCE_TYPES, {_aQN: _AMIT, _sN: _aMIT}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.BOOLEAN, {_aQN: _MOSLRG, _sN: _mOSLRG}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.HOST_MAINTENANCE, {_aQN: _HM, _sN: _hM}), + (lambda: schemas.ASSET_ID, {_aQN: _AIss, _sN: _aIss}), + (HOST_CPU_OPTIONS, {_aQN: _CO, _sN: _cOp}), + ), +) + +HOST_LIST: StaticSchema = (16, n0, _HL, 0, (_me,), ((HOST, {_sN: _i}),)) + +IAM_INSTANCE_PROFILE_ASSOCIATION_ID: StaticSchema = (3, n0, _IIPAI, 0) + +ASSOCIATION_ID_LIST: StaticSchema = ( + 16, + n0, + _AILs, + 0, + (_me,), + ((IAM_INSTANCE_PROFILE_ASSOCIATION_ID, {_sN: _AIs}),), +) + +DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DIIPAMR, + 0, +) + +DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DIIPAI, + {_sSI: _cDIIPAR, _sm: None}, + (_AIsso, _Fil, _MR, _NTex), + ( + (ASSOCIATION_ID_LIST, {_sN: _AIs}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIIPAO, + {_sSI: _cDIIPARo, _smit: None}, + (_IIPAa, _NTex), + ( + (lambda: IAM_INSTANCE_PROFILE_ASSOCIATION_SET, {_aQN: _IIPASa, _sN: _iIPAS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _DIIPA, + 0, + DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_INPUT, + DESCRIBE_IAM_INSTANCE_PROFILE_ASSOCIATIONS_OUTPUT, + (), +) + +IAM_INSTANCE_PROFILE_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _IIPASa, + 0, + (_me,), + ((lambda: schemas.IAM_INSTANCE_PROFILE_ASSOCIATION, {_sN: _i}),), +) + +DESCRIBE_IDENTITY_ID_FORMAT_INPUT: StaticSchema = ( + 18, + n0, + _DIIFI, + {_sSI: _cDIIFR, _sm: None}, + (_Reso, _PAr), + ( + (lambda: schemas.STRING, {_aQN: _Reso, _sN: _reso}), + (lambda: schemas.STRING, {_aQN: _PAr, _sN: _pAr, _smi: None}), + ), +) + +DESCRIBE_IDENTITY_ID_FORMAT_OUTPUT: StaticSchema = ( + 18, + n0, + _DIIFO, + {_sSI: _cDIIFRo, _smit: None}, + (_Statu,), + ((lambda: schemas.ID_FORMAT_LIST, {_aQN: _SSta, _sN: _sSt}),), +) + +DESCRIBE_IDENTITY_ID_FORMAT: StaticOperationSchema = ( + 23, + n0, + _DIIF, + 0, + DESCRIBE_IDENTITY_ID_FORMAT_INPUT, + DESCRIBE_IDENTITY_ID_FORMAT_OUTPUT, + (), +) + +DESCRIBE_ID_FORMAT_INPUT: StaticSchema = ( + 18, + n0, + _DIFI, + {_sSI: _cDIFR, _sm: None}, + (_Reso,), + ((lambda: schemas.STRING, 0),), +) + +DESCRIBE_ID_FORMAT_OUTPUT: StaticSchema = ( + 18, + n0, + _DIFO, + {_sSI: _cDIFRo, _smit: None}, + (_Statu,), + ((lambda: schemas.ID_FORMAT_LIST, {_aQN: _SSta, _sN: _sSt}),), +) + +DESCRIBE_ID_FORMAT: StaticOperationSchema = ( + 23, + n0, + _DIFe, + 0, + DESCRIBE_ID_FORMAT_INPUT, + DESCRIBE_ID_FORMAT_OUTPUT, + (), +) + +IMAGE_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _IAN, + 0, + (_desc, _ker, _ramd, _lPa, _pCr, _bDM, _sNS, _bMo, _tSp, _uDe, _lLT, _iSm, _dPer), + ( + (-1, {_sV: _desc}), + (-1, {_sV: _ker}), + (-1, {_sV: _ramd}), + (-1, {_sV: _lPa}), + (-1, {_sV: _pCr}), + (-1, {_sV: _bDM}), + (-1, {_sV: _sNS}), + (-1, {_sV: _bMo}), + (-1, {_sV: _tSp}), + (-1, {_sV: _uDe}), + (-1, {_sV: _lLT}), + (-1, {_sV: _iSm}), + (-1, {_sV: _dPer}), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_27.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_27.py new file mode 100644 index 000000000..9e859f19c --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_27.py @@ -0,0 +1,1499 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_smit = "smithy.api#output" +_av = "available" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_fa = "failed" +_OIw = "OwnerId" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_er = "error" +_dRr = "dryRun" +_ET = "ExpirationTime" +_eT = "expirationTime" +_Ar = "Arn" +_ar = "arn" +_N = "Name" +_nam = "name" +_II = "InstanceId" +_iI = "instanceId" +_RTe = "ResourceTypes" +_RTS = "ResourceTypeSet" +_rTS = "resourceTypeSet" +_IT = "InstanceType" +_iT = "instanceType" +_Des = "Description" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_G = "Groups" +_IIm = "ImageId" +_WK = "WatermarkKey" +_wK = "watermarkKey" +_smith = "smithy.api#sensitive" +_VIo = "VolumeId" +_ECI = "EbsCardIndex" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_ARs = "AssociatedResource" +_aRs = "associatedResource" +_eCI = "ebsCardIndex" +_vIo = "volumeId" +_ATtt = "AttachTime" +_aTtt = "attachTime" +_UIs = "UserId" +_uI = "userId" +_Prog = "Progress" +_prog = "progress" +_RIep = "ReportId" +_ITI = "ImportTaskId" +_iTI = "importTaskId" +_KKI = "KmsKeyId" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_SII = "SourceImageId" +_iIm = "imageId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_Op = "Operator" +_ope = "operator" +_EO = "EbsOptimized" +_eO = "ebsOptimized" +_ITSn = "InstanceTypeSpecification" +_DNe = "DeviceName" +_dNe = "deviceName" +_BDM = "BlockDeviceMapping" +_BDMl = "BlockDeviceMappings" +_eb = "ebs" +_Pla = "Platform" +_plat = "platform" +_ue = "uefi" +_bDM = "blockDeviceMapping" +_ON = "OptionName" +_OV = "OptionValues" +_OVp = "OptionValue" +_RTO = "ResourceTypeOptions" +_RTOe = "ResourceTypeOption" +_AIcc = "AccountIds" +_AIcco = "AccountId" +_rIe = "reportId" +_SBu = "S3Bucket" +_sB = "s3Bucket" +_SK = "S3Key" +_sK = "s3Key" +_KI = "KernelId" +_LCA = "LicenseConfigurationArn" +_RIa = "RamdiskId" +_DAT = "DisableApiTermination" +_IISB = "InstanceInitiatedShutdownBehavior" +_UDs = "UserData" +_LSic = "LicenseSpecifications" +_EOn = "EnclaveOptions" +_DASi = "DisableApiStop" +_lCA = "licenseConfigurationArn" +_GS = "GroupSet" +_gS = "groupSet" +_kI = "kernelId" +_dAT = "disableApiTermination" +_iISB = "instanceInitiatedShutdownBehavior" +_uDs = "userData" +_eOn = "enclaveOptions" +_dASi = "disableApiStop" +_SRt = "StateReason" +_sRt = "stateReason" +_SDC = "SourceDestCheck" +_sDC = "sourceDestCheck" +_Ow = "Owner" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_Attr = "Attribute" +_MR = "MaxResults" +_nT = "nextToken" +_For = "Format" +_fo = "format" +_Im = "Image" +_RIepo = "ReportIds" +_IIma = "ImageIds" +_pCr = "productCodes" +_Gr = "Group" +_gro = "group" +_PCro = "ProductCodes" +_Own = "Owners" +_Pu = "Public" +_ker = "kernel" +_ramd = "ramdisk" +_lPa = "launchPermission" +_sNS = "sriovNetSupport" +_bMo = "bootMode" +_tSp = "tpmSupport" +_uDe = "uefiData" +_lLT = "lastLaunchedTime" +_iSm = "imdsSupport" +_dPer = "deregistrationProtection" +_DIAI = "DescribeImageAttributeInput" +_cDIAR = "com.amazonaws.ec2#DescribeImageAttributeRequest" +_LPa = "LaunchPermission" +_OAr = "OrganizationArn" +_oAr = "organizationArn" +_OUA = "OrganizationalUnitArn" +_oUA = "organizationalUnitArn" +_LPLa = "LaunchPermissionList" +_DIAO = "DescribeImageAttributeOutput" +_cIAo = "com.amazonaws.ec2#ImageAttribute" +_Ker = "Kernel" +_Ra = "Ramdisk" +_SNSr = "SriovNetSupport" +_BMo = "BootMode" +_TSp = "TpmSupport" +_UDe = "UefiData" +_LLT = "LastLaunchedTime" +_ISm = "ImdsSupport" +_DPer = "DeregistrationProtection" +_LPau = "LaunchPermissions" +_DIA = "DescribeImageAttribute" +_DIRIISL = "DescribeImageReferencesImageIdStringList" +_DIRMR = "DescribeImageReferencesMaxResults" +_IRRT = "ImageReferenceResourceType" +_EI_ = "EC2_INSTANCE" +_eIc = "ec2:Instance" +_ELT = "EC2_LAUNCH_TEMPLATE" +_eLT = "ec2:LaunchTemplate" +_SP_ = "SSM_PARAMETER" +_sPs = "ssm:Parameter" +_IBIR = "IMAGE_BUILDER_IMAGE_RECIPE" +_iIR = "imagebuilder:ImageRecipe" +_IBCR = "IMAGE_BUILDER_CONTAINER_RECIPE" +_iCR = "imagebuilder:ContainerRecipe" +_IRON = "ImageReferenceOptionName" +_SN_ = "STATE_NAME" +_sn__ = "state-name" +_VD_ = "VERSION_DEPTH" +_vd = "version-depth" +_RTOV = "ResourceTypeOptionValue" +_RTOVL = "ResourceTypeOptionValuesList" +_RTOL = "ResourceTypeOptionList" +_RTRe = "ResourceTypeRequest" +_RTRL = "ResourceTypeRequestList" +_DIRI = "DescribeImageReferencesInput" +_cDIRR = "com.amazonaws.ec2#DescribeImageReferencesRequest" +_IART = "IncludeAllResourceTypes" +_IRm = "ImageReference" +_IRLm = "ImageReferenceList" +_DIRO = "DescribeImageReferencesOutput" +_cDIRRo = "com.amazonaws.ec2#DescribeImageReferencesResult" +_IRma = "ImageReferences" +_IRS = "ImageReferenceSet" +_iRS = "imageReferenceSet" +_DIR = "DescribeImageReferences" +_EBSL = "ExecutableByStringList" +_EBx = "ExecutableBy" +_DIIes = "DescribeImagesInput" +_cDIRomam = "com.amazonaws.ec2#DescribeImagesRequest" +_EU = "ExecutableUsers" +_IDn = "IncludeDeprecated" +_IDnc = "IncludeDisabled" +_BMV = "BootModeValues" +_lb__ = "legacy_bios" +_lb___ = "legacy-bios" +_up__ = "uefi_preferred" +_up___ = "uefi-preferred" +_HTy = "HypervisorType" +_ovm = "ovm" +_xen = "xen" +_ITV = "ImageTypeValues" +_mach = "machine" +_IW = "ImageWatermark" +_SIR = "SourceImageRegion" +_sIR = "sourceImageRegion" +_sII = "sourceImageId" +_SICT = "SourceImageCreationTime" +_sICT = "sourceImageCreationTime" +_WCT = "WatermarkCreationTime" +_wCT = "watermarkCreationTime" +_IWL = "ImageWatermarkList" +_ISVm = "ImdsSupportValues" +_v______ = "v2_0" +_v_______ = "v2.0" +_ITIn = "InstanceTypeItem" +_SITS = "SupportedInstanceTypeSet" +_UITS = "UnsupportedInstanceTypeSet" +_SITu = "SupportedInstanceTypes" +_sITS = "supportedInstanceTypeSet" +_UIT = "UnsupportedInstanceTypes" +_uITS = "unsupportedInstanceTypeSet" +_DTev = "DeviceType" +_is__ = "instance_store" +_is___ = "instance-store" +_SRc = "ScanResults" +_HFSL = "HighestFindingSeverityLabel" +_hFSL = "highestFindingSeverityLabel" +_FSD = "FindingScanDate" +_fSD = "findingScanDate" +_IFAS = "InformationalFixAvailableSince" +_iFAS = "informationalFixAvailableSince" +_LFAS = "LowFixAvailableSince" +_lFAS = "lowFixAvailableSince" +_MFAS = "MediumFixAvailableSince" +_mFAS = "mediumFixAvailableSince" +_HFAS = "HighFixAvailableSince" +_hFAS = "highFixAvailableSince" +_CFAS = "CriticalFixAvailableSince" +_cFAS = "criticalFixAvailableSince" +_ISma = "ImageState" +_inv = "invalid" +_der = "deregistered" +_tran = "transient" +_TSV = "TpmSupportValues" +_VTi = "VirtualizationType" +_PDl = "PlatformDetails" +_pDl = "platformDetails" +_UO = "UsageOperation" +_uO = "usageOperation" +_ESna = "EnaSupport" +_eSna = "enaSupport" +_Hy = "Hypervisor" +_hy = "hypervisor" +_IOA = "ImageOwnerAlias" +_iOA = "imageOwnerAlias" +_RDN = "RootDeviceName" +_rDN = "rootDeviceName" +_RDT = "RootDeviceType" +_rDT = "rootDeviceType" +_vTi = "virtualizationType" +_DTep = "DeprecationTime" +_dTep = "deprecationTime" +_SIIo = "SourceInstanceId" +_sIIo = "sourceInstanceId" +_IAm = "ImageAllowed" +_iAm = "imageAllowed" +_FTE = "FreeTierEligible" +_fTE = "freeTierEligible" +_PSPN = "PublicSsmParameterName" +_pSPN = "publicSsmParameterName" +_IWm = "ImageWatermarks" +_IWS = "ImageWatermarkSet" +_iWS = "imageWatermarkSet" +_sRc = "scanResults" +_iTS = "instanceTypeSpecification" +_ILm = "ImageLocation" +_iL = "imageLocation" +_iSma = "imageState" +_IOIm = "ImageOwnerId" +_iOIm = "imageOwnerId" +_CDre = "CreationDate" +_cDre = "creationDate" +_IPsu = "IsPublic" +_iPsu = "isPublic" +_Arc = "Architecture" +_arch = "architecture" +_ITm = "ImageType" +_iTm = "imageType" +_rIa = "ramdiskId" +_ILma = "ImageList" +_DIOes = "DescribeImagesOutput" +_cDIRomama = "com.amazonaws.ec2#DescribeImagesResult" +_Ima = "Images" +_ISmag = "ImagesSet" +_iSmag = "imagesSet" +_DIesc = "DescribeImages" +_DIURIISL = "DescribeImageUsageReportsImageIdStringList" +_DIUREMR = "DescribeImageUsageReportEntriesMaxResults" +_IURISL = "ImageUsageReportIdStringList" +_DIUREI = "DescribeImageUsageReportEntriesInput" +_cDIURER = "com.amazonaws.ec2#DescribeImageUsageReportEntriesRequest" +_IURE = "ImageUsageReportEntry" +_UCs = "UsageCount" +_uCs = "usageCount" +_aIc = "accountId" +_RCT = "ReportCreationTime" +_rCT = "reportCreationTime" +_IUREL = "ImageUsageReportEntryList" +_DIUREO = "DescribeImageUsageReportEntriesOutput" +_cDIURERo = "com.amazonaws.ec2#DescribeImageUsageReportEntriesResult" +_IUREm = "ImageUsageReportEntries" +_IURES = "ImageUsageReportEntrySet" +_iURES = "imageUsageReportEntrySet" +_DIURE = "DescribeImageUsageReportEntries" +_DIURMR = "DescribeImageUsageReportsMaxResults" +_DIURIe = "DescribeImageUsageReportsInput" +_cDIURRom = "com.amazonaws.ec2#DescribeImageUsageReportsRequest" +_UIL = "UserIdList" +_IURTO = "ImageUsageResourceTypeOption" +_oN = "optionName" +_OVS = "OptionValueSet" +_oVS = "optionValueSet" +_IURTOL = "ImageUsageResourceTypeOptionList" +_IURT = "ImageUsageResourceType" +_RTOS = "ResourceTypeOptionSet" +_rTOS = "resourceTypeOptionSet" +_IURTL = "ImageUsageResourceTypeList" +_IURS = "ImageUsageReportState" +_IURSR = "ImageUsageReportStateReason" +_IUR = "ImageUsageReport" +_AISc = "AccountIdSet" +_aISc = "accountIdSet" +_IURL = "ImageUsageReportList" +_DIUROe = "DescribeImageUsageReportsOutput" +_cDIURRoma = "com.amazonaws.ec2#DescribeImageUsageReportsResult" +_IURm = "ImageUsageReports" +_IURSm = "ImageUsageReportSet" +_iURS = "imageUsageReportSet" +_DIURe = "DescribeImageUsageReports" +_IITI = "ImportImageTaskId" +_ITIL = "ImportTaskIdList" +_DIITI = "DescribeImportImageTasksInput" +_cDIITR = "com.amazonaws.ec2#DescribeImportImageTasksRequest" +_ITIm = "ImportTaskIds" +_IILCR = "ImportImageLicenseConfigurationResponse" +_IILSLR = "ImportImageLicenseSpecificationListResponse" +_SU = "SensitiveUrl" +_UBD = "UserBucketDetails" +_SDn = "SnapshotDetail" +_DISi = "DiskImageSize" +_dIS = "diskImageSize" +_Ur = "Url" +_ur = "url" +_UB = "UserBucket" +_uB = "userBucket" +_SDL = "SnapshotDetailList" +_IIT = "ImportImageTask" +_LTi = "LicenseType" +_lTi = "licenseType" +_SDna = "SnapshotDetails" +_SDSn = "SnapshotDetailSet" +_sDSn = "snapshotDetailSet" +_lSic = "licenseSpecifications" +_IITL = "ImportImageTaskList" +_DIITO = "DescribeImportImageTasksOutput" +_cDIITRo = "com.amazonaws.ec2#DescribeImportImageTasksResult" +_IITm = "ImportImageTasks" +_IITS = "ImportImageTaskSet" +_iITS = "importImageTaskSet" +_DIIT = "DescribeImportImageTasks" +_ISTI = "ImportSnapshotTaskId" +_ISTIL = "ImportSnapshotTaskIdList" +_DISTI = "DescribeImportSnapshotTasksInput" +_cDISTR = "com.amazonaws.ec2#DescribeImportSnapshotTasksRequest" +_STDn = "SnapshotTaskDetail" +_ISTm = "ImportSnapshotTask" +_sTD = "snapshotTaskDetail" +_ISTL = "ImportSnapshotTaskList" +_DISTO = "DescribeImportSnapshotTasksOutput" +_cDISTRo = "com.amazonaws.ec2#DescribeImportSnapshotTasksResult" +_ISTmp = "ImportSnapshotTasks" +_ISTS = "ImportSnapshotTaskSet" +_iSTS = "importSnapshotTaskSet" +_DIST = "DescribeImportSnapshotTasks" +_DIAIe = "DescribeInstanceAttributeInput" +_cDIARo = "com.amazonaws.ec2#DescribeInstanceAttributeRequest" +_attr = "attribute" +_EIBD = "EbsInstanceBlockDevice" +_VOIo = "VolumeOwnerId" +_vOIo = "volumeOwnerId" +_DIAOe = "DescribeInstanceAttributeOutput" +_cIAom = "com.amazonaws.ec2#InstanceAttribute" +_DIAe = "DescribeInstanceAttribute" + +DESCRIBE_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _DIAI, + {_sSI: _cDIAR, _sm: None}, + (_Attr, _IIm, _DR), + ( + (lambda: schemas.IMAGE_ATTRIBUTE_NAME, 1), + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DESCRIBE_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DIAO, + {_sSI: _cIAo, _smit: None}, + ( + _Des, + _KI, + _RIa, + _SNSr, + _BMo, + _TSp, + _UDe, + _LLT, + _ISm, + _DPer, + _IIm, + _LPau, + _PCro, + _BDMl, + ), + ( + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _Ker, _sN: _ker}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _Ra, _sN: _ramd}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _SNSr, _sN: _sNS}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _BMo, _sN: _bMo}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _TSp, _sN: _tSp}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _UDe, _sN: _uDe}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _LLT, _sN: _lLT}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _ISm, _sN: _iSm}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _DPer, _sN: _dPer}), + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (lambda: LAUNCH_PERMISSION_LIST, {_aQN: _LPa, _sN: _lPa}), + (lambda: schemas.PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), + (lambda: schemas.BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), + ), +) + +DESCRIBE_IMAGE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _DIA, + 0, + DESCRIBE_IMAGE_ATTRIBUTE_INPUT, + DESCRIBE_IMAGE_ATTRIBUTE_OUTPUT, + (), +) + +LAUNCH_PERMISSION: StaticSchema = ( + 18, + n0, + _LPa, + 0, + (_OAr, _OUA, _UIs, _Gr), + ( + (lambda: schemas.STRING, {_aQN: _OAr, _sN: _oAr}), + (lambda: schemas.STRING, {_aQN: _OUA, _sN: _oUA}), + (lambda: schemas.STRING, {_aQN: _UIs, _sN: _uI}), + (lambda: schemas.PERMISSION_GROUP, {_aQN: _Gr, _sN: _gro}), + ), +) + +LAUNCH_PERMISSION_LIST: StaticSchema = ( + 16, + n0, + _LPLa, + 0, + (_me,), + ((LAUNCH_PERMISSION, {_sN: _i}),), +) + +DESCRIBE_IMAGE_REFERENCES_IMAGE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _DIRIISL, + 0, + (_me,), + ((lambda: schemas.IMAGE_ID, 0),), +) + +DESCRIBE_IMAGE_REFERENCES_MAX_RESULTS: StaticSchema = (7, n0, _DIRMR, 0) + +IMAGE_REFERENCE_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _IRRT, + 0, + (_EI_, _ELT, _SP_, _IBIR, _IBCR), + ( + (-1, {_sV: _eIc}), + (-1, {_sV: _eLT}), + (-1, {_sV: _sPs}), + (-1, {_sV: _iIR}), + (-1, {_sV: _iCR}), + ), +) + +IMAGE_REFERENCE_OPTION_NAME: StaticSchema = ( + 14, + n0, + _IRON, + 0, + (_SN_, _VD_), + ((-1, {_sV: _sn__}), (-1, {_sV: _vd})), +) + +RESOURCE_TYPE_OPTION_VALUE: StaticSchema = (3, n0, _RTOV, 0) + +RESOURCE_TYPE_OPTION_VALUES_LIST: StaticSchema = ( + 16, + n0, + _RTOVL, + 0, + (_me,), + ((RESOURCE_TYPE_OPTION_VALUE, 0),), +) + +RESOURCE_TYPE_OPTION: StaticSchema = ( + 18, + n0, + _RTOe, + 0, + (_ON, _OV), + ((IMAGE_REFERENCE_OPTION_NAME, 0), (RESOURCE_TYPE_OPTION_VALUES_LIST, {_sN: _OVp})), +) + +RESOURCE_TYPE_OPTION_LIST: StaticSchema = ( + 16, + n0, + _RTOL, + 0, + (_me,), + ((RESOURCE_TYPE_OPTION, 0),), +) + +RESOURCE_TYPE_REQUEST: StaticSchema = ( + 18, + n0, + _RTRe, + 0, + (_RT, _RTO), + ((IMAGE_REFERENCE_RESOURCE_TYPE, 0), (RESOURCE_TYPE_OPTION_LIST, {_sN: _RTOe})), +) + +RESOURCE_TYPE_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _RTRL, + 0, + (_me,), + ((RESOURCE_TYPE_REQUEST, 0),), +) + +DESCRIBE_IMAGE_REFERENCES_INPUT: StaticSchema = ( + 18, + n0, + _DIRI, + {_sSI: _cDIRR, _sm: None}, + (_IIma, _IART, _RTe, _NTex, _DR, _MR), + ( + (DESCRIBE_IMAGE_REFERENCES_IMAGE_ID_STRING_LIST, {_sN: _IIm, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + (RESOURCE_TYPE_REQUEST_LIST, {_sN: _RT}), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (DESCRIBE_IMAGE_REFERENCES_MAX_RESULTS, 0), + ), +) + +DESCRIBE_IMAGE_REFERENCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DIRO, + {_sSI: _cDIRRo, _smit: None}, + (_NTex, _IRma), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: IMAGE_REFERENCE_LIST, {_aQN: _IRS, _sN: _iRS}), + ), +) + +DESCRIBE_IMAGE_REFERENCES: StaticOperationSchema = ( + 23, + n0, + _DIR, + 0, + DESCRIBE_IMAGE_REFERENCES_INPUT, + DESCRIBE_IMAGE_REFERENCES_OUTPUT, + (), +) + +IMAGE_REFERENCE: StaticSchema = ( + 18, + n0, + _IRm, + 0, + (_IIm, _RT, _Ar), + ( + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (IMAGE_REFERENCE_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.STRING, {_aQN: _Ar, _sN: _ar}), + ), +) + +IMAGE_REFERENCE_LIST: StaticSchema = ( + 16, + n0, + _IRLm, + 0, + (_me,), + ((IMAGE_REFERENCE, {_sN: _i}),), +) + +EXECUTABLE_BY_STRING_LIST: StaticSchema = ( + 16, + n0, + _EBSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _EBx}),), +) + +DESCRIBE_IMAGES_INPUT: StaticSchema = ( + 18, + n0, + _DIIes, + {_sSI: _cDIRomam, _sm: None}, + (_EU, _IIma, _Own, _IDn, _IDnc, _MR, _NTex, _DR, _Fil), + ( + (EXECUTABLE_BY_STRING_LIST, {_sN: _EBx}), + (lambda: schemas.IMAGE_ID_STRING_LIST, {_sN: _IIm}), + (lambda: schemas.OWNER_STRING_LIST, {_sN: _Ow}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_IMAGES_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOes, + {_sSI: _cDIRomama, _smit: None}, + (_NTex, _Ima), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: IMAGE_LIST, {_aQN: _ISmag, _sN: _iSmag}), + ), +) + +DESCRIBE_IMAGES: StaticOperationSchema = ( + 23, + n0, + _DIesc, + 0, + DESCRIBE_IMAGES_INPUT, + DESCRIBE_IMAGES_OUTPUT, + (), +) + +BOOT_MODE_VALUES: StaticSchema = ( + 14, + n0, + _BMV, + 0, + (_lb__, _ue, _up__), + ((-1, {_sV: _lb___}), (-1, {_sV: _ue}), (-1, {_sV: _up___})), +) + +HYPERVISOR_TYPE: StaticSchema = ( + 14, + n0, + _HTy, + 0, + (_ovm, _xen), + ((-1, {_sV: _ovm}), (-1, {_sV: _xen})), +) + +IMAGE_TYPE_VALUES: StaticSchema = ( + 14, + n0, + _ITV, + 0, + (_mach, _ker, _ramd), + ((-1, {_sV: _mach}), (-1, {_sV: _ker}), (-1, {_sV: _ramd})), +) + +IMAGE_WATERMARK: StaticSchema = ( + 18, + n0, + _IW, + 0, + (_WK, _SIR, _SII, _SICT, _WCT), + ( + (lambda: schemas.STRING, {_aQN: _WK, _sN: _wK}), + (lambda: schemas.STRING, {_aQN: _SIR, _sN: _sIR}), + (lambda: schemas.STRING, {_aQN: _SII, _sN: _sII}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SICT, _sN: _sICT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _WCT, _sN: _wCT}), + ), +) + +IMAGE_WATERMARK_LIST: StaticSchema = ( + 16, + n0, + _IWL, + 0, + (_me,), + ((IMAGE_WATERMARK, {_sN: _i}),), +) + +IMDS_SUPPORT_VALUES: StaticSchema = ( + 14, + n0, + _ISVm, + 0, + (_v______,), + ((-1, {_sV: _v_______}),), +) + +INSTANCE_TYPE_ITEM: StaticSchema = ( + 18, + n0, + _ITIn, + 0, + (_IT,), + ((lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}),), +) + +SUPPORTED_INSTANCE_TYPE_SET: StaticSchema = ( + 16, + n0, + _SITS, + 0, + (_me,), + ((INSTANCE_TYPE_ITEM, {_sN: _i}),), +) + +UNSUPPORTED_INSTANCE_TYPE_SET: StaticSchema = ( + 16, + n0, + _UITS, + 0, + (_me,), + ((INSTANCE_TYPE_ITEM, {_sN: _i}),), +) + +INSTANCE_TYPE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _ITSn, + 0, + (_SITu, _UIT), + ( + (SUPPORTED_INSTANCE_TYPE_SET, {_aQN: _SITS, _sN: _sITS}), + (UNSUPPORTED_INSTANCE_TYPE_SET, {_aQN: _UITS, _sN: _uITS}), + ), +) + +DEVICE_TYPE: StaticSchema = ( + 14, + n0, + _DTev, + 0, + (_eb, _is__), + ((-1, {_sV: _eb}), (-1, {_sV: _is___})), +) + +SCAN_RESULTS: StaticSchema = ( + 18, + n0, + _SRc, + 0, + (_HFSL, _FSD, _IFAS, _LFAS, _MFAS, _HFAS, _CFAS), + ( + (lambda: schemas.SEVERITY_LABEL, {_aQN: _HFSL, _sN: _hFSL}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _FSD, _sN: _fSD}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _IFAS, _sN: _iFAS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LFAS, _sN: _lFAS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _MFAS, _sN: _mFAS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _HFAS, _sN: _hFAS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CFAS, _sN: _cFAS}), + ), +) + +IMAGE_STATE: StaticSchema = ( + 14, + n0, + _ISma, + 0, + (_p, _av, _inv, _der, _tran, _fa, _er, _d), + ( + (-1, {_sV: _p}), + (-1, {_sV: _av}), + (-1, {_sV: _inv}), + (-1, {_sV: _der}), + (-1, {_sV: _tran}), + (-1, {_sV: _fa}), + (-1, {_sV: _er}), + (-1, {_sV: _d}), + ), +) + +TPM_SUPPORT_VALUES: StaticSchema = ( + 14, + n0, + _TSV, + 0, + (_v______,), + ((-1, {_sV: _v_______}),), +) + +IMAGE: StaticSchema = ( + 18, + n0, + _Im, + 0, + ( + _PDl, + _UO, + _BDMl, + _Des, + _ESna, + _Hy, + _IOA, + _N, + _RDN, + _RDT, + _SNSr, + _SRt, + _Tag, + _VTi, + _BMo, + _TSp, + _DTep, + _ISm, + _SIIo, + _DPer, + _LLT, + _IAm, + _SII, + _SIR, + _FTE, + _PSPN, + _IWm, + _SRc, + _ITSn, + _IIm, + _ILm, + _St, + _OIw, + _CDre, + _Pu, + _PCro, + _Arc, + _ITm, + _KI, + _RIa, + _Pla, + ), + ( + (lambda: schemas.STRING, {_aQN: _PDl, _sN: _pDl}), + (lambda: schemas.STRING, {_aQN: _UO, _sN: _uO}), + (lambda: schemas.BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.BOOLEAN, {_aQN: _ESna, _sN: _eSna}), + (HYPERVISOR_TYPE, {_aQN: _Hy, _sN: _hy}), + (lambda: schemas.STRING, {_aQN: _IOA, _sN: _iOA}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + (lambda: schemas.STRING, {_aQN: _RDN, _sN: _rDN}), + (DEVICE_TYPE, {_aQN: _RDT, _sN: _rDT}), + (lambda: schemas.STRING, {_aQN: _SNSr, _sN: _sNS}), + (lambda: schemas.STATE_REASON, {_aQN: _SRt, _sN: _sRt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.VIRTUALIZATION_TYPE, {_aQN: _VTi, _sN: _vTi}), + (BOOT_MODE_VALUES, {_aQN: _BMo, _sN: _bMo}), + (TPM_SUPPORT_VALUES, {_aQN: _TSp, _sN: _tSp}), + (lambda: schemas.STRING, {_aQN: _DTep, _sN: _dTep}), + (IMDS_SUPPORT_VALUES, {_aQN: _ISm, _sN: _iSm}), + (lambda: schemas.STRING, {_aQN: _SIIo, _sN: _sIIo}), + (lambda: schemas.STRING, {_aQN: _DPer, _sN: _dPer}), + (lambda: schemas.STRING, {_aQN: _LLT, _sN: _lLT}), + (lambda: schemas.BOOLEAN, {_aQN: _IAm, _sN: _iAm}), + (lambda: schemas.STRING, {_aQN: _SII, _sN: _sII}), + (lambda: schemas.STRING, {_aQN: _SIR, _sN: _sIR}), + (lambda: schemas.BOOLEAN, {_aQN: _FTE, _sN: _fTE}), + (lambda: schemas.STRING, {_aQN: _PSPN, _sN: _pSPN}), + (IMAGE_WATERMARK_LIST, {_aQN: _IWS, _sN: _iWS}), + (SCAN_RESULTS, {_aQN: _SRc, _sN: _sRc}), + (INSTANCE_TYPE_SPECIFICATION, {_aQN: _ITSn, _sN: _iTS}), + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.STRING, {_aQN: _ILm, _sN: _iL}), + (IMAGE_STATE, {_aQN: _ISma, _sN: _iSma}), + (lambda: schemas.STRING, {_aQN: _IOIm, _sN: _iOIm}), + (lambda: schemas.STRING, {_aQN: _CDre, _sN: _cDre}), + (lambda: schemas.BOOLEAN, {_aQN: _IPsu, _sN: _iPsu}), + (lambda: schemas.PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), + (lambda: schemas.ARCHITECTURE_VALUES, {_aQN: _Arc, _sN: _arch}), + (IMAGE_TYPE_VALUES, {_aQN: _ITm, _sN: _iTm}), + (lambda: schemas.STRING, {_aQN: _KI, _sN: _kI}), + (lambda: schemas.STRING, {_aQN: _RIa, _sN: _rIa}), + (lambda: schemas.PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), + ), +) + +IMAGE_LIST: StaticSchema = (16, n0, _ILma, 0, (_me,), ((IMAGE, {_sN: _i}),)) + +DESCRIBE_IMAGE_USAGE_REPORTS_IMAGE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _DIURIISL, + 0, + (_me,), + ((lambda: schemas.IMAGE_ID, 0),), +) + +DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_MAX_RESULTS: StaticSchema = (7, n0, _DIUREMR, 0) + +IMAGE_USAGE_REPORT_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _IURISL, + 0, + (_me,), + ((lambda: schemas.IMAGE_USAGE_REPORT_ID, 0),), +) + +DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_INPUT: StaticSchema = ( + 18, + n0, + _DIUREI, + {_sSI: _cDIURER, _sm: None}, + (_IIma, _RIepo, _NTex, _Fil, _DR, _MR), + ( + (DESCRIBE_IMAGE_USAGE_REPORTS_IMAGE_ID_STRING_LIST, {_sN: _IIm}), + (IMAGE_USAGE_REPORT_ID_STRING_LIST, {_sN: _RIep}), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + (DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_MAX_RESULTS, 0), + ), +) + +DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_OUTPUT: StaticSchema = ( + 18, + n0, + _DIUREO, + {_sSI: _cDIURERo, _smit: None}, + (_NTex, _IUREm), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: IMAGE_USAGE_REPORT_ENTRY_LIST, {_aQN: _IURES, _sN: _iURES}), + ), +) + +DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES: StaticOperationSchema = ( + 23, + n0, + _DIURE, + 0, + DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_INPUT, + DESCRIBE_IMAGE_USAGE_REPORT_ENTRIES_OUTPUT, + (), +) + +IMAGE_USAGE_REPORT_ENTRY: StaticSchema = ( + 18, + n0, + _IURE, + 0, + (_RT, _RIep, _UCs, _AIcco, _IIm, _RCT), + ( + (lambda: schemas.IMAGE_USAGE_RESOURCE_TYPE_NAME, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.IMAGE_USAGE_REPORT_ID, {_aQN: _RIep, _sN: _rIe}), + (lambda: schemas.LONG, {_aQN: _UCs, _sN: _uCs}), + (lambda: schemas.STRING, {_aQN: _AIcco, _sN: _aIc}), + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RCT, _sN: _rCT}), + ), +) + +IMAGE_USAGE_REPORT_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _IUREL, + 0, + (_me,), + ((IMAGE_USAGE_REPORT_ENTRY, {_sN: _i}),), +) + +DESCRIBE_IMAGE_USAGE_REPORTS_MAX_RESULTS: StaticSchema = (7, n0, _DIURMR, 0) + +DESCRIBE_IMAGE_USAGE_REPORTS_INPUT: StaticSchema = ( + 18, + n0, + _DIURIe, + {_sSI: _cDIURRom, _sm: None}, + (_IIma, _RIepo, _NTex, _Fil, _DR, _MR), + ( + (DESCRIBE_IMAGE_USAGE_REPORTS_IMAGE_ID_STRING_LIST, {_sN: _IIm}), + (IMAGE_USAGE_REPORT_ID_STRING_LIST, {_sN: _RIep}), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + (DESCRIBE_IMAGE_USAGE_REPORTS_MAX_RESULTS, 0), + ), +) + +DESCRIBE_IMAGE_USAGE_REPORTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIUROe, + {_sSI: _cDIURRoma, _smit: None}, + (_NTex, _IURm), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: IMAGE_USAGE_REPORT_LIST, {_aQN: _IURSm, _sN: _iURS}), + ), +) + +DESCRIBE_IMAGE_USAGE_REPORTS: StaticOperationSchema = ( + 23, + n0, + _DIURe, + 0, + DESCRIBE_IMAGE_USAGE_REPORTS_INPUT, + DESCRIBE_IMAGE_USAGE_REPORTS_OUTPUT, + (), +) + +USER_ID_LIST: StaticSchema = ( + 16, + n0, + _UIL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +IMAGE_USAGE_RESOURCE_TYPE_OPTION: StaticSchema = ( + 18, + n0, + _IURTO, + 0, + (_ON, _OV), + ( + (lambda: schemas.STRING, {_aQN: _ON, _sN: _oN}), + ( + lambda: schemas.IMAGE_USAGE_RESOURCE_TYPE_OPTION_VALUES_LIST, + {_aQN: _OVS, _sN: _oVS}, + ), + ), +) + +IMAGE_USAGE_RESOURCE_TYPE_OPTION_LIST: StaticSchema = ( + 16, + n0, + _IURTOL, + 0, + (_me,), + ((IMAGE_USAGE_RESOURCE_TYPE_OPTION, {_sN: _i}),), +) + +IMAGE_USAGE_RESOURCE_TYPE: StaticSchema = ( + 18, + n0, + _IURT, + 0, + (_RT, _RTO), + ( + (lambda: schemas.IMAGE_USAGE_RESOURCE_TYPE_NAME, {_aQN: _RT, _sN: _rT}), + (IMAGE_USAGE_RESOURCE_TYPE_OPTION_LIST, {_aQN: _RTOS, _sN: _rTOS}), + ), +) + +IMAGE_USAGE_RESOURCE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _IURTL, + 0, + (_me,), + ((IMAGE_USAGE_RESOURCE_TYPE, {_sN: _i}),), +) + +IMAGE_USAGE_REPORT_STATE: StaticSchema = (3, n0, _IURS, 0) + +IMAGE_USAGE_REPORT_STATE_REASON: StaticSchema = (3, n0, _IURSR, 0) + +IMAGE_USAGE_REPORT: StaticSchema = ( + 18, + n0, + _IUR, + 0, + (_IIm, _RIep, _RTe, _AIcc, _St, _SRt, _CT, _ET, _Tag), + ( + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.IMAGE_USAGE_REPORT_ID, {_aQN: _RIep, _sN: _rIe}), + (IMAGE_USAGE_RESOURCE_TYPE_LIST, {_aQN: _RTS, _sN: _rTS}), + (USER_ID_LIST, {_aQN: _AISc, _sN: _aISc}), + (IMAGE_USAGE_REPORT_STATE, {_aQN: _St, _sN: _st}), + (IMAGE_USAGE_REPORT_STATE_REASON, {_aQN: _SRt, _sN: _sRt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ET, _sN: _eT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +IMAGE_USAGE_REPORT_LIST: StaticSchema = ( + 16, + n0, + _IURL, + 0, + (_me,), + ((IMAGE_USAGE_REPORT, {_sN: _i}),), +) + +IMPORT_IMAGE_TASK_ID: StaticSchema = (3, n0, _IITI, 0) + +IMPORT_TASK_ID_LIST: StaticSchema = ( + 16, + n0, + _ITIL, + 0, + (_me,), + ((IMPORT_IMAGE_TASK_ID, {_sN: _ITI}),), +) + +DESCRIBE_IMPORT_IMAGE_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DIITI, + {_sSI: _cDIITR, _sm: None}, + (_DR, _Fil, _ITIm, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fil}), + (IMPORT_TASK_ID_LIST, {_sN: _ITI}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_IMPORT_IMAGE_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIITO, + {_sSI: _cDIITRo, _smit: None}, + (_IITm, _NTex), + ( + (lambda: IMPORT_IMAGE_TASK_LIST, {_aQN: _IITS, _sN: _iITS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_IMPORT_IMAGE_TASKS: StaticOperationSchema = ( + 23, + n0, + _DIIT, + 0, + DESCRIBE_IMPORT_IMAGE_TASKS_INPUT, + DESCRIBE_IMPORT_IMAGE_TASKS_OUTPUT, + (), +) + +IMPORT_IMAGE_LICENSE_CONFIGURATION_RESPONSE: StaticSchema = ( + 18, + n0, + _IILCR, + 0, + (_LCA,), + ((lambda: schemas.STRING, {_aQN: _LCA, _sN: _lCA}),), +) + +IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_RESPONSE: StaticSchema = ( + 16, + n0, + _IILSLR, + 0, + (_me,), + ((IMPORT_IMAGE_LICENSE_CONFIGURATION_RESPONSE, {_sN: _i}),), +) + +SENSITIVE_URL: StaticSchema = (3, n0, _SU, 4) + +USER_BUCKET_DETAILS: StaticSchema = ( + 18, + n0, + _UBD, + 0, + (_SBu, _SK), + ( + (lambda: schemas.STRING, {_aQN: _SBu, _sN: _sB}), + (lambda: schemas.STRING, {_aQN: _SK, _sN: _sK}), + ), +) + +SNAPSHOT_DETAIL: StaticSchema = ( + 18, + n0, + _SDn, + 0, + (_Des, _DNe, _DISi, _For, _Prog, _SIn, _Sta, _SMt, _Ur, _UB), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _DNe, _sN: _dNe}), + (lambda: schemas.DOUBLE, {_aQN: _DISi, _sN: _dIS}), + (lambda: schemas.STRING, {_aQN: _For, _sN: _fo}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (SENSITIVE_URL, {_aQN: _Ur, _sN: _ur}), + (USER_BUCKET_DETAILS, {_aQN: _UB, _sN: _uB}), + ), +) + +SNAPSHOT_DETAIL_LIST: StaticSchema = ( + 16, + n0, + _SDL, + 0, + (_me,), + ((SNAPSHOT_DETAIL, {_sN: _i}),), +) + +IMPORT_IMAGE_TASK: StaticSchema = ( + 18, + n0, + _IIT, + 0, + ( + _Arc, + _Des, + _En, + _Hy, + _IIm, + _ITI, + _KKI, + _LTi, + _Pla, + _Prog, + _SDna, + _Sta, + _SMt, + _Tag, + _LSic, + _UO, + _BMo, + ), + ( + (lambda: schemas.STRING, {_aQN: _Arc, _sN: _arch}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.STRING, {_aQN: _Hy, _sN: _hy}), + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.STRING, {_aQN: _ITI, _sN: _iTI}), + (lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}), + (lambda: schemas.STRING, {_aQN: _LTi, _sN: _lTi}), + (lambda: schemas.STRING, {_aQN: _Pla, _sN: _plat}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (SNAPSHOT_DETAIL_LIST, {_aQN: _SDSn, _sN: _sDSn}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_RESPONSE, {_aQN: _LSic, _sN: _lSic}), + (lambda: schemas.STRING, {_aQN: _UO, _sN: _uO}), + (BOOT_MODE_VALUES, {_aQN: _BMo, _sN: _bMo}), + ), +) + +IMPORT_IMAGE_TASK_LIST: StaticSchema = ( + 16, + n0, + _IITL, + 0, + (_me,), + ((IMPORT_IMAGE_TASK, {_sN: _i}),), +) + +IMPORT_SNAPSHOT_TASK_ID: StaticSchema = (3, n0, _ISTI, 0) + +IMPORT_SNAPSHOT_TASK_ID_LIST: StaticSchema = ( + 16, + n0, + _ISTIL, + 0, + (_me,), + ((IMPORT_SNAPSHOT_TASK_ID, {_sN: _ITI}),), +) + +DESCRIBE_IMPORT_SNAPSHOT_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DISTI, + {_sSI: _cDISTR, _sm: None}, + (_DR, _Fil, _ITIm, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fil}), + (IMPORT_SNAPSHOT_TASK_ID_LIST, {_sN: _ITI}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_IMPORT_SNAPSHOT_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DISTO, + {_sSI: _cDISTRo, _smit: None}, + (_ISTmp, _NTex), + ( + (lambda: IMPORT_SNAPSHOT_TASK_LIST, {_aQN: _ISTS, _sN: _iSTS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_IMPORT_SNAPSHOT_TASKS: StaticOperationSchema = ( + 23, + n0, + _DIST, + 0, + DESCRIBE_IMPORT_SNAPSHOT_TASKS_INPUT, + DESCRIBE_IMPORT_SNAPSHOT_TASKS_OUTPUT, + (), +) + +SNAPSHOT_TASK_DETAIL: StaticSchema = ( + 18, + n0, + _STDn, + 0, + (_Des, _DISi, _En, _For, _KKI, _Prog, _SIn, _Sta, _SMt, _Ur, _UB), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.DOUBLE, {_aQN: _DISi, _sN: _dIS}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.STRING, {_aQN: _For, _sN: _fo}), + (lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (SENSITIVE_URL, {_aQN: _Ur, _sN: _ur}), + (USER_BUCKET_DETAILS, {_aQN: _UB, _sN: _uB}), + ), +) + +IMPORT_SNAPSHOT_TASK: StaticSchema = ( + 18, + n0, + _ISTm, + 0, + (_Des, _ITI, _STDn, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _ITI, _sN: _iTI}), + (SNAPSHOT_TASK_DETAIL, {_aQN: _STDn, _sN: _sTD}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +IMPORT_SNAPSHOT_TASK_LIST: StaticSchema = ( + 16, + n0, + _ISTL, + 0, + (_me,), + ((IMPORT_SNAPSHOT_TASK, {_sN: _i}),), +) + +DESCRIBE_INSTANCE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _DIAIe, + {_sSI: _cDIARo, _sm: None}, + (_DR, _II, _Attr), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), + ( + lambda: schemas.INSTANCE_ATTRIBUTE_NAME, + {_aQN: _Attr, _sN: _attr, _smi: None}, + ), + ), +) + +DESCRIBE_INSTANCE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DIAOe, + {_sSI: _cIAom, _smit: None}, + ( + _BDMl, + _DAT, + _ESna, + _EOn, + _EO, + _II, + _IISB, + _IT, + _KI, + _PCro, + _RIa, + _RDN, + _SDC, + _SNSr, + _UDs, + _DASi, + _G, + ), + ( + (lambda: schemas.INSTANCE_BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _DAT, _sN: _dAT}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _ESna, _sN: _eSna}), + (lambda: schemas.ENCLAVE_OPTIONS, {_aQN: _EOn, _sN: _eOn}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _EO, _sN: _eO}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _IISB, _sN: _iISB}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _Ker, _sN: _ker}), + (lambda: schemas.PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _Ra, _sN: _ramd}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _RDN, _sN: _rDN}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _SDC, _sN: _sDC}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _SNSr, _sN: _sNS}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _UDs, _sN: _uDs}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _DASi, _sN: _dASi}), + (lambda: schemas.GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + ), +) + +DESCRIBE_INSTANCE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _DIAe, + 0, + DESCRIBE_INSTANCE_ATTRIBUTE_INPUT, + DESCRIBE_INSTANCE_ATTRIBUTE_OUTPUT, + (), +) + +EBS_INSTANCE_BLOCK_DEVICE: StaticSchema = ( + 18, + n0, + _EIBD, + 0, + (_ATtt, _DOT, _Sta, _VIo, _ARs, _VOIo, _Op, _ECI), + ( + (lambda: schemas.DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.STRING, {_aQN: _ARs, _sN: _aRs}), + (lambda: schemas.STRING, {_aQN: _VOIo, _sN: _vOIo}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + (lambda: schemas.INTEGER, {_aQN: _ECI, _sN: _eCI}), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_28.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_28.py new file mode 100644 index 000000000..5873eb1d3 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_28.py @@ -0,0 +1,1603 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_cb = "capacity_block" +_cb_ = "capacity-block" +_Va = "Value" +_va = "value" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_PI = "PublicIp" +_pI = "publicIp" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_RI = "ReservationId" +_av = "available" +_St = "State" +_st = "state" +_SIu = "SubnetId" +_sI = "subnetId" +_OIw = "OwnerId" +_oI = "ownerId" +_C = "Code" +_co = "code" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_dRr = "dryRun" +_N = "Name" +_nam = "name" +_IA = "IpAddress" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_In = "Instance" +_II = "InstanceId" +_iI = "instanceId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_AIt = "AttachmentId" +_aIt = "attachmentId" +_SGe = "SecurityGroups" +_ena = "enabled" +_disab = "disabling" +_IT = "InstanceType" +_iT = "instanceType" +_SIRI = "SpotInstanceRequestId" +_sIRI = "spotInstanceRequestId" +_Des = "Description" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_COI = "CustomerOwnedIp" +_cOI = "customerOwnedIp" +_CI = "CarrierIp" +_cI = "carrierIp" +_Rea = "Reason" +_rea = "reason" +_PIAu = "PublicIpAddress" +_desc = "description" +_def = "default" +_ASS = "AmdSevSnp" +_OA = "OutpostArn" +_CO = "CpuOptions" +_CTl = "ClientToken" +_cTl = "clientToken" +_IPp = "Ipv6Prefixes" +_IPpv = "Ipv6Prefix" +_IAp = "Ipv6Addresses" +_IPpvr = "Ipv4Prefixes" +_IPpvre = "Ipv4Prefix" +_PIAri = "PrivateIpAddresses" +_iPp = "ipv4Prefix" +_IIn = "InstanceIds" +_IIP = "IamInstanceProfile" +_iIP = "iamInstanceProfile" +_IEWI = "InstanceEventWindowId" +_Ass = "Association" +_assoc = "association" +_G = "Groups" +_IIm = "ImageId" +_ESUS = "EnaSrdUdpSpecification" +_ESUE = "EnaSrdUdpEnabled" +_ESS = "EnaSrdSpecification" +_ESE = "EnaSrdEnabled" +_NCI = "NetworkCardIndex" +_EQC = "EnaQueueCount" +_DI = "DeviceIndex" +_dI = "deviceIndex" +_nCI = "networkCardIndex" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_ATtt = "AttachTime" +_aTtt = "attachTime" +_At = "Attachment" +_atta = "attachment" +_iIm = "imageId" +_iu = "in_use" +_iu_ = "in-use" +_oA = "outpostArn" +_Op = "Operator" +_ope = "operator" +_EO = "EbsOptimized" +_ap = "applied" +_CBI = "CapacityBlockId" +_sch = "scheduled" +_cRI = "capacityReservationId" +_eO = "ebsOptimized" +_cBI = "capacityBlockId" +_requ = "required" +_Ena = "Enabled" +_DN = "DnsName" +_dN = "dnsName" +_DNe = "DeviceName" +_dNe = "deviceName" +_iApd = "ipAddress" +_HT = "HostnameType" +_hT = "hostnameType" +_ERNDAR = "EnableResourceNameDnsARecord" +_eRNDAR = "enableResourceNameDnsARecord" +_ERNDAAAAR = "EnableResourceNameDnsAAAARecord" +_eRNDAAAAR = "enableResourceNameDnsAAAARecord" +_Eb = "Ebs" +_BDM = "BlockDeviceMapping" +_opt = "optional" +_HTt = "HttpTokens" +_HPRHL = "HttpPutResponseHopLimit" +_HE = "HttpEndpoint" +_Pl = "Placement" +_KN = "KeyName" +_BDMl = "BlockDeviceMappings" +_MO = "MetadataOptions" +_icr = "interruptible-capacity-reservation" +_CRTap = "CapacityReservationTarget" +_spo = "spot" +_eb = "ebs" +_pla = "placement" +_ILn = "InstanceLifecycle" +_Pla = "Platform" +_plat = "platform" +_Ins = "Instances" +_ue = "uefi" +_bDM = "blockDeviceMapping" +_ICEI = "InstanceConnectEndpointId" +_kN = "keyName" +_CRP = "CapacityReservationPreference" +_CCor = "CoreCount" +_TPC = "ThreadsPerCore" +_NV = "NestedVirtualization" +_CCp = "CpuCredits" +_Conf = "Configured" +_icr_ = "interruptible_capacity_reservation" +_KI = "KernelId" +_LCA = "LicenseConfigurationArn" +_ARu = "AutoRecovery" +_HPI = "HttpProtocolIpv6" +_IMT = "InstanceMetadataTags" +_TET = "TcpEstablishedTimeout" +_UST = "UdpStreamTimeout" +_UTd = "UdpTimeout" +_IApv = "Ipv6Address" +_Prim = "Primary" +_prim = "primary" +_ITnte = "InterfaceType" +_BW = "BandwidthWeighting" +_RIa = "RamdiskId" +_SSIe = "SecondarySubnetId" +_NIe = "NetworkInterfaces" +_Mon = "Monitoring" +_CRSa = "CapacityReservationSpecification" +_HO = "HibernationOptions" +_EOn = "EnclaveOptions" +_PDNO = "PrivateDnsNameOptions" +_MOa = "MaintenanceOptions" +_NPO = "NetworkPerformanceOptions" +_SIec = "SecondaryInterfaces" +_cRP = "capacityReservationPreference" +_cRT = "capacityReservationTarget" +_cCor = "coreCount" +_tPC = "threadsPerCore" +_aSS = "amdSevSnp" +_nV = "nestedVirtualization" +_cCp = "cpuCredits" +_conf = "configured" +_lCA = "licenseConfigurationArn" +_aRu = "autoRecovery" +_hTt = "httpTokens" +_hPRHL = "httpPutResponseHopLimit" +_hE = "httpEndpoint" +_hPI = "httpProtocolIpv6" +_iMT = "instanceMetadataTags" +_tET = "tcpEstablishedTimeout" +_uTd = "udpTimeout" +_uST = "udpStreamTimeout" +_eSUE = "enaSrdUdpEnabled" +_eSE = "enaSrdEnabled" +_eSUS = "enaSrdUdpSpecification" +_iApv = "ipv6Address" +_iPpvr = "ipv6Prefix" +_GS = "GroupSet" +_gS = "groupSet" +_iTnt = "interfaceType" +_IAS = "Ipv6AddressesSet" +_iAS = "ipv6AddressesSet" +_PIASr = "PrivateIpAddressesSet" +_pIAS = "privateIpAddressesSet" +_IPSpv = "Ipv4PrefixSet" +_iPS = "ipv4PrefixSet" +_IPSpvr = "Ipv6PrefixSet" +_iPSp = "ipv6PrefixSet" +_eSS = "enaSrdSpecification" +_eQC = "enaQueueCount" +_bW = "bandwidthWeighting" +_sSIe = "secondarySubnetId" +_kI = "kernelId" +_NIS = "NetworkInterfaceSet" +_nIS = "networkInterfaceSet" +_monit = "monitoring" +_dAT = "disableApiTermination" +_iISB = "instanceInitiatedShutdownBehavior" +_uDs = "userData" +_cOp = "cpuOptions" +_cRS = "capacityReservationSpecification" +_LSicen = "LicenseSet" +_lSi = "licenseSet" +_hO = "hibernationOptions" +_mO = "metadataOptions" +_eOn = "enclaveOptions" +_pDNO = "privateDnsNameOptions" +_mOa = "maintenanceOptions" +_dASi = "disableApiStop" +_nPO = "networkPerformanceOptions" +_SIS = "SecondaryInterfaceSet" +_sIS = "secondaryInterfaceSet" +_SRt = "StateReason" +_sRt = "stateReason" +_IOI = "IpOwnerId" +_iOI = "ipOwnerId" +_PDNu = "PublicDnsName" +_pDNu = "publicDnsName" +_IOIn = "InstanceOwnerId" +_iOIn = "instanceOwnerId" +_CTC = "ConnectionTrackingConfiguration" +_PDNr = "PrivateDnsName" +_pDNr = "privateDnsName" +_cTC = "connectionTrackingConfiguration" +_MAa = "MacAddress" +_mAa = "macAddress" +_RIeq = "RequesterId" +_rIeq = "requesterId" +_SDC = "SourceDestCheck" +_sDC = "sourceDestCheck" +_SNI = "SecondaryNetworkId" +_sNI = "secondaryNetworkId" +_ITA = "InstanceTagAttribute" +_iTA = "instanceTagAttribute" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_ZI = "ZoneId" +_zI = "zoneId" +_IISL = "InstanceIdStringList" +_mR = "maxResults" +_ISnst = "InstancesSet" +_iSns = "instancesSet" +_termin = "terminated" +_ru = "running" +_EGI = "ElasticGpuId" +_eGI = "elasticGpuId" +_STR = "StateTransitionReason" +_pCr = "productCodes" +_PCro = "ProductCodes" +_ker = "kernel" +_ramd = "ramdisk" +_sNS = "sriovNetSupport" +_bMo = "bootMode" +_tSp = "tpmSupport" +_SNSr = "SriovNetSupport" +_BMo = "BootMode" +_TSp = "TpmSupport" +_lb__ = "legacy_bios" +_lb___ = "legacy-bios" +_ISma = "ImageState" +_VTi = "VirtualizationType" +_PDl = "PlatformDetails" +_pDl = "platformDetails" +_UO = "UsageOperation" +_uO = "usageOperation" +_ESna = "EnaSupport" +_eSna = "enaSupport" +_Hy = "Hypervisor" +_hy = "hypervisor" +_IOA = "ImageOwnerAlias" +_iOA = "imageOwnerAlias" +_RDN = "RootDeviceName" +_rDN = "rootDeviceName" +_RDT = "RootDeviceType" +_rDT = "rootDeviceType" +_vTi = "virtualizationType" +_DTep = "DeprecationTime" +_dTep = "deprecationTime" +_IAm = "ImageAllowed" +_iAm = "imageAllowed" +_IWm = "ImageWatermarks" +_IWS = "ImageWatermarkSet" +_iWS = "imageWatermarkSet" +_iSma = "imageState" +_IOIm = "ImageOwnerId" +_iOIm = "imageOwnerId" +_CDre = "CreationDate" +_cDre = "creationDate" +_IPsu = "IsPublic" +_iPsu = "isPublic" +_Arc = "Architecture" +_arch = "architecture" +_rIa = "ramdiskId" +_IANn = "InstanceAttributeName" +_IBDM = "InstanceBlockDeviceMapping" +_IBDML = "InstanceBlockDeviceMappingList" +_ABV = "AttributeBooleanValue" +_ICEMR = "InstanceConnectEndpointMaxResults" +_DICEIe = "DescribeInstanceConnectEndpointsInput" +_cDICERom = "com.amazonaws.ec2#DescribeInstanceConnectEndpointsRequest" +_ICEIn = "InstanceConnectEndpointIds" +_ICES = "InstanceConnectEndpointSet" +_DICEOe = "DescribeInstanceConnectEndpointsOutput" +_cDICERoma = "com.amazonaws.ec2#DescribeInstanceConnectEndpointsResult" +_ICEn = "InstanceConnectEndpoints" +_iCES = "instanceConnectEndpointSet" +_DICEe = "DescribeInstanceConnectEndpoints" +_DICSMR = "DescribeInstanceCreditSpecificationsMaxResults" +_DICSI = "DescribeInstanceCreditSpecificationsInput" +_cDICSR = "com.amazonaws.ec2#DescribeInstanceCreditSpecificationsRequest" +_ICS = "InstanceCreditSpecification" +_ICSL = "InstanceCreditSpecificationList" +_DICSO = "DescribeInstanceCreditSpecificationsOutput" +_cDICSRo = "com.amazonaws.ec2#DescribeInstanceCreditSpecificationsResult" +_ICSn = "InstanceCreditSpecifications" +_ICSS = "InstanceCreditSpecificationSet" +_iCSS = "instanceCreditSpecificationSet" +_DICS = "DescribeInstanceCreditSpecifications" +_DIENAIe = "DescribeInstanceEventNotificationAttributesInput" +_cDIENARom = "com.amazonaws.ec2#DescribeInstanceEventNotificationAttributesRequest" +_DIENAOe = "DescribeInstanceEventNotificationAttributesOutput" +_cDIENARoma = "com.amazonaws.ec2#DescribeInstanceEventNotificationAttributesResult" +_DIENAe = "DescribeInstanceEventNotificationAttributes" +_IEWIS = "InstanceEventWindowIdSet" +_RRe = "ResultRange" +_DIEWIe = "DescribeInstanceEventWindowsInput" +_cDIEWRom = "com.amazonaws.ec2#DescribeInstanceEventWindowsRequest" +_IEWIn = "InstanceEventWindowIds" +_IEWSn = "InstanceEventWindowSet" +_DIEWOe = "DescribeInstanceEventWindowsOutput" +_cDIEWRoma = "com.amazonaws.ec2#DescribeInstanceEventWindowsResult" +_IEWn = "InstanceEventWindows" +_iEWSn = "instanceEventWindowSet" +_DIEWe = "DescribeInstanceEventWindows" +_DIIMMR = "DescribeInstanceImageMetadataMaxResults" +_DIIMI = "DescribeInstanceImageMetadataInput" +_cDIIMR = "com.amazonaws.ec2#DescribeInstanceImageMetadataRequest" +_IM = "ImageMetadata" +_ISN = "InstanceStateName" +_sd__ = "shutting_down" +_sd___ = "shutting-down" +_stopp = "stopping" +_stoppe = "stopped" +_ISnsta = "InstanceState" +_IIM = "InstanceImageMetadata" +_LTa = "LaunchTime" +_lTa = "launchTime" +_iSnst = "instanceState" +_iM = "imageMetadata" +_IIML = "InstanceImageMetadataList" +_DIIMO = "DescribeInstanceImageMetadataOutput" +_cDIIMRo = "com.amazonaws.ec2#DescribeInstanceImageMetadataResult" +_IIMS = "InstanceImageMetadataSet" +_iIMS = "instanceImageMetadataSet" +_DIIM = "DescribeInstanceImageMetadata" +_DIIesc = "DescribeInstancesInput" +_cDIRomamaz = "com.amazonaws.ec2#DescribeInstancesRequest" +_IMR = "IncludeManagedResources" +_CRSR = "CapacityReservationSpecificationResponse" +_IBMV = "InstanceBootModeValues" +_EGA = "ElasticGpuAssociation" +_EGAI = "ElasticGpuAssociationId" +_eGAI = "elasticGpuAssociationId" +_EGAS = "ElasticGpuAssociationState" +_eGAS = "elasticGpuAssociationState" +_EGAT = "ElasticGpuAssociationTime" +_eGAT = "elasticGpuAssociationTime" +_EGAL = "ElasticGpuAssociationList" +_EIAA = "ElasticInferenceAcceleratorAssociation" +_EIAAl = "ElasticInferenceAcceleratorArn" +_eIAA = "elasticInferenceAcceleratorArn" +_EIAAI = "ElasticInferenceAcceleratorAssociationId" +_eIAAI = "elasticInferenceAcceleratorAssociationId" +_EIAAS = "ElasticInferenceAcceleratorAssociationState" +_eIAAS = "elasticInferenceAcceleratorAssociationState" +_EIAAT = "ElasticInferenceAcceleratorAssociationTime" +_eIAAT = "elasticInferenceAcceleratorAssociationTime" +_EIAAL = "ElasticInferenceAcceleratorAssociationList" +_ILT = "InstanceLifecycleType" +_LC = "LicenseConfiguration" +_LL = "LicenseList" +_IARS = "InstanceAutoRecoveryState" +_IRMS = "InstanceRebootMigrationState" +_IMOn = "InstanceMaintenanceOptions" +_RMeb = "RebootMigration" +_rMeb = "rebootMigration" +_IMES = "InstanceMetadataEndpointState" +_IMPS = "InstanceMetadataProtocolState" +_HTS = "HttpTokensState" +_IMTS = "InstanceMetadataTagsState" +_IMOS = "InstanceMetadataOptionsState" +_IMOR = "InstanceMetadataOptionsResponse" +_MSon = "MonitoringState" +_INIA = "InstanceNetworkInterfaceAssociation" +_IAESUS = "InstanceAttachmentEnaSrdUdpSpecification" +_IAESS = "InstanceAttachmentEnaSrdSpecification" +_INIAn = "InstanceNetworkInterfaceAttachment" +_CTSRo = "ConnectionTrackingSpecificationResponse" +_IIPn = "InstanceIpv4Prefix" +_IIPL = "InstanceIpv4PrefixList" +_IIPns = "InstanceIpv6Prefix" +_IIPLn = "InstanceIpv6PrefixList" +_IPIA = "InstancePrivateIpAddress" +_IPIAL = "InstancePrivateIpAddressList" +_INI = "InstanceNetworkInterface" +_INIL = "InstanceNetworkInterfaceList" +_INPO = "InstanceNetworkPerformanceOptions" +_PDNOR = "PrivateDnsNameOptionsResponse" +_ISIA = "InstanceSecondaryInterfaceAttachment" +_ISIPIA = "InstanceSecondaryInterfacePrivateIpAddress" +_ISIPIAL = "InstanceSecondaryInterfacePrivateIpAddressList" +_SIIe = "SecondaryInterfaceId" +_SISe = "SecondaryInterfaceStatus" +_ISIn = "InstanceSecondaryInterface" +_sIIe = "secondaryInterfaceId" +_PIASri = "PrivateIpAddressSet" +_pIASr = "privateIpAddressSet" +_ISIL = "InstanceSecondaryInterfaceList" +_iLn = "instanceLifecycle" +_EGAl = "ElasticGpuAssociations" +_EGASl = "ElasticGpuAssociationSet" +_eGASl = "elasticGpuAssociationSet" +_EIAAla = "ElasticInferenceAcceleratorAssociations" +_EIAASl = "ElasticInferenceAcceleratorAssociationSet" +_eIAASl = "elasticInferenceAcceleratorAssociationSet" +_Lic = "Licenses" +_UOUT = "UsageOperationUpdateTime" +_uOUT = "usageOperationUpdateTime" +_CIBM = "CurrentInstanceBootMode" +_cIBM = "currentInstanceBootMode" +_ALI = "AmiLaunchIndex" +_aLI = "amiLaunchIndex" +_ILns = "InstanceList" +_Rese = "Reservation" +_rIes = "reservationId" +_RLe = "ReservationList" +_DIOesc = "DescribeInstancesOutput" +_cDIRomamazo = "com.amazonaws.ec2#DescribeInstancesResult" +_Reser = "Reservations" +_RSese = "ReservationSet" +_rSese = "reservationSet" +_DIescr = "DescribeInstances" +_DISHSRMRI = "DescribeInstanceSqlHaStatesRequestMaxResultsInteger" +_EOR = "EnclaveOptionsRequest" + +INSTANCE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _IISL, + 0, + (_me,), + ((lambda: schemas.INSTANCE_ID, {_sN: _II}),), +) + +INSTANCE_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _IANn, + 0, + ( + _iT, + _ker, + _ramd, + _uDs, + _dAT, + _iISB, + _rDN, + _bDM, + _pCr, + _sDC, + _gS, + _eO, + _sNS, + _eSna, + _eOn, + _dASi, + ), + ( + (-1, {_sV: _iT}), + (-1, {_sV: _ker}), + (-1, {_sV: _ramd}), + (-1, {_sV: _uDs}), + (-1, {_sV: _dAT}), + (-1, {_sV: _iISB}), + (-1, {_sV: _rDN}), + (-1, {_sV: _bDM}), + (-1, {_sV: _pCr}), + (-1, {_sV: _sDC}), + (-1, {_sV: _gS}), + (-1, {_sV: _eO}), + (-1, {_sV: _sNS}), + (-1, {_sV: _eSna}), + (-1, {_sV: _eOn}), + (-1, {_sV: _dASi}), + ), +) + +INSTANCE_BLOCK_DEVICE_MAPPING: StaticSchema = ( + 18, + n0, + _IBDM, + 0, + (_DNe, _Eb), + ( + (lambda: schemas.STRING, {_aQN: _DNe, _sN: _dNe}), + (lambda: schemas.EBS_INSTANCE_BLOCK_DEVICE, {_aQN: _Eb, _sN: _eb}), + ), +) + +INSTANCE_BLOCK_DEVICE_MAPPING_LIST: StaticSchema = ( + 16, + n0, + _IBDML, + 0, + (_me,), + ((INSTANCE_BLOCK_DEVICE_MAPPING, {_sN: _i}),), +) + +ATTRIBUTE_BOOLEAN_VALUE: StaticSchema = ( + 18, + n0, + _ABV, + 0, + (_Va,), + ((lambda: schemas.BOOLEAN, {_aQN: _Va, _sN: _va}),), +) + +ENCLAVE_OPTIONS: StaticSchema = ( + 18, + n0, + _EOn, + 0, + (_Ena,), + ((lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena}),), +) + +INSTANCE_CONNECT_ENDPOINT_MAX_RESULTS: StaticSchema = (7, n0, _ICEMR, 0) + +DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _DICEIe, + {_sSI: _cDICERom, _sm: None}, + (_DR, _MR, _NTex, _Fil, _ICEIn), + ( + (lambda: schemas.BOOLEAN, 0), + (INSTANCE_CONNECT_ENDPOINT_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _ICEI}), + ), +) + +DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DICEOe, + {_sSI: _cDICERoma, _smit: None}, + (_ICEn, _NTex), + ( + (lambda: INSTANCE_CONNECT_ENDPOINT_SET, {_aQN: _ICES, _sN: _iCES}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_CONNECT_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _DICEe, + 0, + DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_INPUT, + DESCRIBE_INSTANCE_CONNECT_ENDPOINTS_OUTPUT, + (), +) + +INSTANCE_CONNECT_ENDPOINT_SET: StaticSchema = ( + 16, + n0, + _ICES, + 0, + (_me,), + ((lambda: schemas.EC2_INSTANCE_CONNECT_ENDPOINT, {_sN: _i}),), +) + +DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DICSMR, 0) + +DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DICSI, + {_sSI: _cDICSR, _sm: None}, + (_DR, _Fil, _IIn, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (INSTANCE_ID_STRING_LIST, {_sN: _II}), + (DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DICSO, + {_sSI: _cDICSRo, _smit: None}, + (_ICSn, _NTex), + ( + (lambda: INSTANCE_CREDIT_SPECIFICATION_LIST, {_aQN: _ICSS, _sN: _iCSS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS: StaticOperationSchema = ( + 23, + n0, + _DICS, + 0, + DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_INPUT, + DESCRIBE_INSTANCE_CREDIT_SPECIFICATIONS_OUTPUT, + (), +) + +INSTANCE_CREDIT_SPECIFICATION: StaticSchema = ( + 18, + n0, + _ICS, + 0, + (_II, _CCp), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _CCp, _sN: _cCp}), + ), +) + +INSTANCE_CREDIT_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _ICSL, + 0, + (_me,), + ((INSTANCE_CREDIT_SPECIFICATION, {_sN: _i}),), +) + +DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _DIENAIe, + {_sSI: _cDIENARom, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DIENAOe, + {_sSI: _cDIENARoma, _smit: None}, + (_ITA,), + ((lambda: schemas.INSTANCE_TAG_NOTIFICATION_ATTRIBUTE, {_aQN: _ITA, _sN: _iTA}),), +) + +DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _DIENAe, + 0, + DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT, + DESCRIBE_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT, + (), +) + +INSTANCE_EVENT_WINDOW_ID_SET: StaticSchema = ( + 16, + n0, + _IEWIS, + 0, + (_me,), + ((lambda: schemas.INSTANCE_EVENT_WINDOW_ID, {_sN: _IEWI}),), +) + +RESULT_RANGE: StaticSchema = (7, n0, _RRe, 0) + +DESCRIBE_INSTANCE_EVENT_WINDOWS_INPUT: StaticSchema = ( + 18, + n0, + _DIEWIe, + {_sSI: _cDIEWRom, _sm: None}, + (_DR, _IEWIn, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (INSTANCE_EVENT_WINDOW_ID_SET, {_sN: _IEWI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (RESULT_RANGE, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_INSTANCE_EVENT_WINDOWS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIEWOe, + {_sSI: _cDIEWRoma, _smit: None}, + (_IEWn, _NTex), + ( + (lambda: INSTANCE_EVENT_WINDOW_SET, {_aQN: _IEWSn, _sN: _iEWSn}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_EVENT_WINDOWS: StaticOperationSchema = ( + 23, + n0, + _DIEWe, + 0, + DESCRIBE_INSTANCE_EVENT_WINDOWS_INPUT, + DESCRIBE_INSTANCE_EVENT_WINDOWS_OUTPUT, + (), +) + +INSTANCE_EVENT_WINDOW_SET: StaticSchema = ( + 16, + n0, + _IEWSn, + 0, + (_me,), + ((lambda: schemas.INSTANCE_EVENT_WINDOW, {_sN: _i}),), +) + +DESCRIBE_INSTANCE_IMAGE_METADATA_MAX_RESULTS: StaticSchema = (7, n0, _DIIMMR, 0) + +DESCRIBE_INSTANCE_IMAGE_METADATA_INPUT: StaticSchema = ( + 18, + n0, + _DIIMI, + {_sSI: _cDIIMR, _sm: None}, + (_Fil, _IIn, _MR, _NTex, _DR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (INSTANCE_ID_STRING_LIST, {_sN: _II}), + (DESCRIBE_INSTANCE_IMAGE_METADATA_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_INSTANCE_IMAGE_METADATA_OUTPUT: StaticSchema = ( + 18, + n0, + _DIIMO, + {_sSI: _cDIIMRo, _smit: None}, + (_IIM, _NTex), + ( + (lambda: INSTANCE_IMAGE_METADATA_LIST, {_aQN: _IIMS, _sN: _iIMS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_IMAGE_METADATA: StaticOperationSchema = ( + 23, + n0, + _DIIM, + 0, + DESCRIBE_INSTANCE_IMAGE_METADATA_INPUT, + DESCRIBE_INSTANCE_IMAGE_METADATA_OUTPUT, + (), +) + +IMAGE_METADATA: StaticSchema = ( + 18, + n0, + _IM, + 0, + (_IIm, _N, _OIw, _St, _IOA, _CDre, _DTep, _IAm, _IPsu, _IWm), + ( + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + (lambda: schemas.STRING, {_aQN: _IOIm, _sN: _iOIm}), + (lambda: schemas.IMAGE_STATE, {_aQN: _ISma, _sN: _iSma}), + (lambda: schemas.STRING, {_aQN: _IOA, _sN: _iOA}), + (lambda: schemas.STRING, {_aQN: _CDre, _sN: _cDre}), + (lambda: schemas.STRING, {_aQN: _DTep, _sN: _dTep}), + (lambda: schemas.BOOLEAN, {_aQN: _IAm, _sN: _iAm}), + (lambda: schemas.BOOLEAN, {_aQN: _IPsu, _sN: _iPsu}), + (lambda: schemas.IMAGE_WATERMARK_LIST, {_aQN: _IWS, _sN: _iWS}), + ), +) + +INSTANCE_STATE_NAME: StaticSchema = ( + 14, + n0, + _ISN, + 0, + (_p, _ru, _sd__, _termin, _stopp, _stoppe), + ( + (-1, {_sV: _p}), + (-1, {_sV: _ru}), + (-1, {_sV: _sd___}), + (-1, {_sV: _termin}), + (-1, {_sV: _stopp}), + (-1, {_sV: _stoppe}), + ), +) + +INSTANCE_STATE: StaticSchema = ( + 18, + n0, + _ISnsta, + 0, + (_C, _N), + ( + (lambda: schemas.INTEGER, {_aQN: _C, _sN: _co}), + (INSTANCE_STATE_NAME, {_aQN: _N, _sN: _nam}), + ), +) + +INSTANCE_IMAGE_METADATA: StaticSchema = ( + 18, + n0, + _IIM, + 0, + (_II, _IT, _LTa, _AZ, _ZI, _St, _OIw, _Tag, _IM, _Op), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LTa, _sN: _lTa}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _ZI, _sN: _zI}), + (INSTANCE_STATE, {_aQN: _ISnsta, _sN: _iSnst}), + (lambda: schemas.STRING, {_aQN: _IOIn, _sN: _iOIn}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (IMAGE_METADATA, {_aQN: _IM, _sN: _iM}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + ), +) + +INSTANCE_IMAGE_METADATA_LIST: StaticSchema = ( + 16, + n0, + _IIML, + 0, + (_me,), + ((INSTANCE_IMAGE_METADATA, {_sN: _i}),), +) + +DESCRIBE_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DIIesc, + {_sSI: _cDIRomamaz, _sm: None}, + (_IIn, _IMR, _DR, _Fil, _NTex, _MR), + ( + (INSTANCE_ID_STRING_LIST, {_sN: _II}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.INTEGER, {_aQN: _MR, _sN: _mR}), + ), +) + +DESCRIBE_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOesc, + {_sSI: _cDIRomamazo, _smit: None}, + (_NTex, _Reser), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: RESERVATION_LIST, {_aQN: _RSese, _sN: _rSese}), + ), +) + +DESCRIBE_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DIescr, + 0, + DESCRIBE_INSTANCES_INPUT, + DESCRIBE_INSTANCES_OUTPUT, + (), +) + +CAPACITY_RESERVATION_SPECIFICATION_RESPONSE: StaticSchema = ( + 18, + n0, + _CRSR, + 0, + (_CRP, _CRTap), + ( + (lambda: schemas.CAPACITY_RESERVATION_PREFERENCE, {_aQN: _CRP, _sN: _cRP}), + ( + lambda: schemas.CAPACITY_RESERVATION_TARGET_RESPONSE, + {_aQN: _CRTap, _sN: _cRT}, + ), + ), +) + +CPU_OPTIONS: StaticSchema = ( + 18, + n0, + _CO, + 0, + (_CCor, _TPC, _ASS, _NV), + ( + (lambda: schemas.INTEGER, {_aQN: _CCor, _sN: _cCor}), + (lambda: schemas.INTEGER, {_aQN: _TPC, _sN: _tPC}), + (lambda: schemas.AMD_SEV_SNP_SPECIFICATION, {_aQN: _ASS, _sN: _aSS}), + (lambda: schemas.NESTED_VIRTUALIZATION_SPECIFICATION, {_aQN: _NV, _sN: _nV}), + ), +) + +INSTANCE_BOOT_MODE_VALUES: StaticSchema = ( + 14, + n0, + _IBMV, + 0, + (_lb__, _ue), + ((-1, {_sV: _lb___}), (-1, {_sV: _ue})), +) + +ELASTIC_GPU_ASSOCIATION: StaticSchema = ( + 18, + n0, + _EGA, + 0, + (_EGI, _EGAI, _EGAS, _EGAT), + ( + (lambda: schemas.ELASTIC_GPU_ID, {_aQN: _EGI, _sN: _eGI}), + (lambda: schemas.STRING, {_aQN: _EGAI, _sN: _eGAI}), + (lambda: schemas.STRING, {_aQN: _EGAS, _sN: _eGAS}), + (lambda: schemas.STRING, {_aQN: _EGAT, _sN: _eGAT}), + ), +) + +ELASTIC_GPU_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _EGAL, + 0, + (_me,), + ((ELASTIC_GPU_ASSOCIATION, {_sN: _i}),), +) + +ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION: StaticSchema = ( + 18, + n0, + _EIAA, + 0, + (_EIAAl, _EIAAI, _EIAAS, _EIAAT), + ( + (lambda: schemas.STRING, {_aQN: _EIAAl, _sN: _eIAA}), + (lambda: schemas.STRING, {_aQN: _EIAAI, _sN: _eIAAI}), + (lambda: schemas.STRING, {_aQN: _EIAAS, _sN: _eIAAS}), + (lambda: schemas.DATE_TIME, {_aQN: _EIAAT, _sN: _eIAAT}), + ), +) + +ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _EIAAL, + 0, + (_me,), + ((ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION, {_sN: _i}),), +) + +HIBERNATION_OPTIONS: StaticSchema = ( + 18, + n0, + _HO, + 0, + (_Conf,), + ((lambda: schemas.BOOLEAN, {_aQN: _Conf, _sN: _conf}),), +) + +INSTANCE_LIFECYCLE_TYPE: StaticSchema = ( + 14, + n0, + _ILT, + 0, + (_spo, _sch, _cb, _icr_), + ((-1, {_sV: _spo}), (-1, {_sV: _sch}), (-1, {_sV: _cb_}), (-1, {_sV: _icr})), +) + +LICENSE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LC, + 0, + (_LCA,), + ((lambda: schemas.STRING, {_aQN: _LCA, _sN: _lCA}),), +) + +LICENSE_LIST: StaticSchema = ( + 16, + n0, + _LL, + 0, + (_me,), + ((LICENSE_CONFIGURATION, {_sN: _i}),), +) + +INSTANCE_AUTO_RECOVERY_STATE: StaticSchema = ( + 14, + n0, + _IARS, + 0, + (_d, _def), + ((-1, {_sV: _d}), (-1, {_sV: _def})), +) + +INSTANCE_REBOOT_MIGRATION_STATE: StaticSchema = ( + 14, + n0, + _IRMS, + 0, + (_d, _def), + ((-1, {_sV: _d}), (-1, {_sV: _def})), +) + +INSTANCE_MAINTENANCE_OPTIONS: StaticSchema = ( + 18, + n0, + _IMOn, + 0, + (_ARu, _RMeb), + ( + (INSTANCE_AUTO_RECOVERY_STATE, {_aQN: _ARu, _sN: _aRu}), + (INSTANCE_REBOOT_MIGRATION_STATE, {_aQN: _RMeb, _sN: _rMeb}), + ), +) + +INSTANCE_METADATA_ENDPOINT_STATE: StaticSchema = ( + 14, + n0, + _IMES, + 0, + (_d, _ena), + ((-1, {_sV: _d}), (-1, {_sV: _ena})), +) + +INSTANCE_METADATA_PROTOCOL_STATE: StaticSchema = ( + 14, + n0, + _IMPS, + 0, + (_d, _ena), + ((-1, {_sV: _d}), (-1, {_sV: _ena})), +) + +HTTP_TOKENS_STATE: StaticSchema = ( + 14, + n0, + _HTS, + 0, + (_opt, _requ), + ((-1, {_sV: _opt}), (-1, {_sV: _requ})), +) + +INSTANCE_METADATA_TAGS_STATE: StaticSchema = ( + 14, + n0, + _IMTS, + 0, + (_d, _ena), + ((-1, {_sV: _d}), (-1, {_sV: _ena})), +) + +INSTANCE_METADATA_OPTIONS_STATE: StaticSchema = ( + 14, + n0, + _IMOS, + 0, + (_p, _ap), + ((-1, {_sV: _p}), (-1, {_sV: _ap})), +) + +INSTANCE_METADATA_OPTIONS_RESPONSE: StaticSchema = ( + 18, + n0, + _IMOR, + 0, + (_St, _HTt, _HPRHL, _HE, _HPI, _IMT), + ( + (INSTANCE_METADATA_OPTIONS_STATE, {_aQN: _St, _sN: _st}), + (HTTP_TOKENS_STATE, {_aQN: _HTt, _sN: _hTt}), + (lambda: schemas.INTEGER, {_aQN: _HPRHL, _sN: _hPRHL}), + (INSTANCE_METADATA_ENDPOINT_STATE, {_aQN: _HE, _sN: _hE}), + (INSTANCE_METADATA_PROTOCOL_STATE, {_aQN: _HPI, _sN: _hPI}), + (INSTANCE_METADATA_TAGS_STATE, {_aQN: _IMT, _sN: _iMT}), + ), +) + +MONITORING_STATE: StaticSchema = ( + 14, + n0, + _MSon, + 0, + (_d, _disab, _ena, _p), + ((-1, {_sV: _d}), (-1, {_sV: _disab}), (-1, {_sV: _ena}), (-1, {_sV: _p})), +) + +MONITORING: StaticSchema = ( + 18, + n0, + _Mon, + 0, + (_St,), + ((MONITORING_STATE, {_aQN: _St, _sN: _st}),), +) + +INSTANCE_NETWORK_INTERFACE_ASSOCIATION: StaticSchema = ( + 18, + n0, + _INIA, + 0, + (_CI, _COI, _IOI, _PDNu, _PI), + ( + (lambda: schemas.STRING, {_aQN: _CI, _sN: _cI}), + (lambda: schemas.STRING, {_aQN: _COI, _sN: _cOI}), + (lambda: schemas.STRING, {_aQN: _IOI, _sN: _iOI}), + (lambda: schemas.STRING, {_aQN: _PDNu, _sN: _pDNu}), + (lambda: schemas.STRING, {_aQN: _PI, _sN: _pI}), + ), +) + +INSTANCE_ATTACHMENT_ENA_SRD_UDP_SPECIFICATION: StaticSchema = ( + 18, + n0, + _IAESUS, + 0, + (_ESUE,), + ((lambda: schemas.BOOLEAN, {_aQN: _ESUE, _sN: _eSUE}),), +) + +INSTANCE_ATTACHMENT_ENA_SRD_SPECIFICATION: StaticSchema = ( + 18, + n0, + _IAESS, + 0, + (_ESE, _ESUS), + ( + (lambda: schemas.BOOLEAN, {_aQN: _ESE, _sN: _eSE}), + (INSTANCE_ATTACHMENT_ENA_SRD_UDP_SPECIFICATION, {_aQN: _ESUS, _sN: _eSUS}), + ), +) + +INSTANCE_NETWORK_INTERFACE_ATTACHMENT: StaticSchema = ( + 18, + n0, + _INIAn, + 0, + (_ATtt, _AIt, _DOT, _DI, _Sta, _NCI, _ESS, _EQC), + ( + (lambda: schemas.DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), + (lambda: schemas.STRING, {_aQN: _AIt, _sN: _aIt}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.INTEGER, {_aQN: _DI, _sN: _dI}), + (lambda: schemas.ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.INTEGER, {_aQN: _NCI, _sN: _nCI}), + (INSTANCE_ATTACHMENT_ENA_SRD_SPECIFICATION, {_aQN: _ESS, _sN: _eSS}), + (lambda: schemas.INTEGER, {_aQN: _EQC, _sN: _eQC}), + ), +) + +CONNECTION_TRACKING_SPECIFICATION_RESPONSE: StaticSchema = ( + 18, + n0, + _CTSRo, + 0, + (_TET, _UST, _UTd), + ( + (lambda: schemas.INTEGER, {_aQN: _TET, _sN: _tET}), + (lambda: schemas.INTEGER, {_aQN: _UST, _sN: _uST}), + (lambda: schemas.INTEGER, {_aQN: _UTd, _sN: _uTd}), + ), +) + +INSTANCE_IPV4_PREFIX: StaticSchema = ( + 18, + n0, + _IIPn, + 0, + (_IPpvre,), + ((lambda: schemas.STRING, {_aQN: _IPpvre, _sN: _iPp}),), +) + +INSTANCE_IPV4_PREFIX_LIST: StaticSchema = ( + 16, + n0, + _IIPL, + 0, + (_me,), + ((INSTANCE_IPV4_PREFIX, {_sN: _i}),), +) + +INSTANCE_IPV6_PREFIX: StaticSchema = ( + 18, + n0, + _IIPns, + 0, + (_IPpv,), + ((lambda: schemas.STRING, {_aQN: _IPpv, _sN: _iPpvr}),), +) + +INSTANCE_IPV6_PREFIX_LIST: StaticSchema = ( + 16, + n0, + _IIPLn, + 0, + (_me,), + ((INSTANCE_IPV6_PREFIX, {_sN: _i}),), +) + +INSTANCE_PRIVATE_IP_ADDRESS: StaticSchema = ( + 18, + n0, + _IPIA, + 0, + (_Ass, _Prim, _PDNr, _PIAr), + ( + (INSTANCE_NETWORK_INTERFACE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), + (lambda: schemas.BOOLEAN, {_aQN: _Prim, _sN: _prim}), + (lambda: schemas.STRING, {_aQN: _PDNr, _sN: _pDNr}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + ), +) + +INSTANCE_PRIVATE_IP_ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _IPIAL, + 0, + (_me,), + ((INSTANCE_PRIVATE_IP_ADDRESS, {_sN: _i}),), +) + +INSTANCE_NETWORK_INTERFACE: StaticSchema = ( + 18, + n0, + _INI, + 0, + ( + _Ass, + _At, + _Des, + _G, + _IAp, + _MAa, + _NII, + _OIw, + _PDNr, + _PIAr, + _PIAri, + _SDC, + _Sta, + _SIu, + _VI, + _ITnte, + _IPpvr, + _IPp, + _CTC, + _Op, + ), + ( + (INSTANCE_NETWORK_INTERFACE_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), + (INSTANCE_NETWORK_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + (lambda: schemas.INSTANCE_IPV6_ADDRESS_LIST, {_aQN: _IAS, _sN: _iAS}), + (lambda: schemas.STRING, {_aQN: _MAa, _sN: _mAa}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _PDNr, _sN: _pDNr}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + (INSTANCE_PRIVATE_IP_ADDRESS_LIST, {_aQN: _PIASr, _sN: _pIAS}), + (lambda: schemas.BOOLEAN, {_aQN: _SDC, _sN: _sDC}), + (lambda: schemas.NETWORK_INTERFACE_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _ITnte, _sN: _iTnt}), + (INSTANCE_IPV4_PREFIX_LIST, {_aQN: _IPSpv, _sN: _iPS}), + (INSTANCE_IPV6_PREFIX_LIST, {_aQN: _IPSpvr, _sN: _iPSp}), + (CONNECTION_TRACKING_SPECIFICATION_RESPONSE, {_aQN: _CTC, _sN: _cTC}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + ), +) + +INSTANCE_NETWORK_INTERFACE_LIST: StaticSchema = ( + 16, + n0, + _INIL, + 0, + (_me,), + ((INSTANCE_NETWORK_INTERFACE, {_sN: _i}),), +) + +INSTANCE_NETWORK_PERFORMANCE_OPTIONS: StaticSchema = ( + 18, + n0, + _INPO, + 0, + (_BW,), + ((lambda: schemas.INSTANCE_BANDWIDTH_WEIGHTING, {_aQN: _BW, _sN: _bW}),), +) + +PRIVATE_DNS_NAME_OPTIONS_RESPONSE: StaticSchema = ( + 18, + n0, + _PDNOR, + 0, + (_HT, _ERNDAR, _ERNDAAAAR), + ( + (lambda: schemas.HOSTNAME_TYPE, {_aQN: _HT, _sN: _hT}), + (lambda: schemas.BOOLEAN, {_aQN: _ERNDAR, _sN: _eRNDAR}), + (lambda: schemas.BOOLEAN, {_aQN: _ERNDAAAAR, _sN: _eRNDAAAAR}), + ), +) + +INSTANCE_SECONDARY_INTERFACE_ATTACHMENT: StaticSchema = ( + 18, + n0, + _ISIA, + 0, + (_ATtt, _AIt, _DOT, _DI, _Sta, _NCI), + ( + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), + (lambda: schemas.STRING, {_aQN: _AIt, _sN: _aIt}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.INTEGER, {_aQN: _DI, _sN: _dI}), + (lambda: schemas.ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.INTEGER, {_aQN: _NCI, _sN: _nCI}), + ), +) + +INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS: StaticSchema = ( + 18, + n0, + _ISIPIA, + 0, + (_PIAr,), + ((lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}),), +) + +INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _ISIPIAL, + 0, + (_me,), + ((INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS, {_sN: _i}),), +) + +SECONDARY_INTERFACE_ID: StaticSchema = (3, n0, _SIIe, 0) + +SECONDARY_INTERFACE_STATUS: StaticSchema = ( + 14, + n0, + _SISe, + 0, + (_av, _iu), + ((-1, {_sV: _av}), (-1, {_sV: _iu_})), +) + +INSTANCE_SECONDARY_INTERFACE: StaticSchema = ( + 18, + n0, + _ISIn, + 0, + (_At, _MAa, _SIIe, _OIw, _PIAri, _SDC, _Sta, _SSIe, _SNI, _ITnte), + ( + (INSTANCE_SECONDARY_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), + (lambda: schemas.STRING, {_aQN: _MAa, _sN: _mAa}), + (SECONDARY_INTERFACE_ID, {_aQN: _SIIe, _sN: _sIIe}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + ( + INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST, + {_aQN: _PIASri, _sN: _pIASr}, + ), + (lambda: schemas.BOOLEAN, {_aQN: _SDC, _sN: _sDC}), + (SECONDARY_INTERFACE_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.SECONDARY_SUBNET_ID, {_aQN: _SSIe, _sN: _sSIe}), + (lambda: schemas.SECONDARY_NETWORK_ID, {_aQN: _SNI, _sN: _sNI}), + (lambda: schemas.SECONDARY_INTERFACE_TYPE, {_aQN: _ITnte, _sN: _iTnt}), + ), +) + +INSTANCE_SECONDARY_INTERFACE_LIST: StaticSchema = ( + 16, + n0, + _ISIL, + 0, + (_me,), + ((INSTANCE_SECONDARY_INTERFACE, {_sN: _i}),), +) + +INSTANCE: StaticSchema = ( + 18, + n0, + _In, + 0, + ( + _Arc, + _BDMl, + _CTl, + _EO, + _ESna, + _Hy, + _IIP, + _ILn, + _EGAl, + _EIAAla, + _NIe, + _OA, + _RDN, + _RDT, + _SGe, + _SDC, + _SIRI, + _SNSr, + _SRt, + _Tag, + _VTi, + _CO, + _CBI, + _CRI, + _CRSa, + _HO, + _Lic, + _MO, + _EOn, + _BMo, + _PDl, + _UO, + _UOUT, + _PDNO, + _IApv, + _TSp, + _MOa, + _CIBM, + _NPO, + _Op, + _SIec, + _II, + _IIm, + _St, + _PDNr, + _PDNu, + _STR, + _KN, + _ALI, + _PCro, + _IT, + _LTa, + _Pl, + _KI, + _RIa, + _Pla, + _Mon, + _SIu, + _VI, + _PIAr, + _PIAu, + ), + ( + (lambda: schemas.ARCHITECTURE_VALUES, {_aQN: _Arc, _sN: _arch}), + (INSTANCE_BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: schemas.BOOLEAN, {_aQN: _EO, _sN: _eO}), + (lambda: schemas.BOOLEAN, {_aQN: _ESna, _sN: _eSna}), + (lambda: schemas.HYPERVISOR_TYPE, {_aQN: _Hy, _sN: _hy}), + (lambda: schemas.IAM_INSTANCE_PROFILE, {_aQN: _IIP, _sN: _iIP}), + (INSTANCE_LIFECYCLE_TYPE, {_aQN: _ILn, _sN: _iLn}), + (ELASTIC_GPU_ASSOCIATION_LIST, {_aQN: _EGASl, _sN: _eGASl}), + (ELASTIC_INFERENCE_ACCELERATOR_ASSOCIATION_LIST, {_aQN: _EIAASl, _sN: _eIAASl}), + (INSTANCE_NETWORK_INTERFACE_LIST, {_aQN: _NIS, _sN: _nIS}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _RDN, _sN: _rDN}), + (lambda: schemas.DEVICE_TYPE, {_aQN: _RDT, _sN: _rDT}), + (lambda: schemas.GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + (lambda: schemas.BOOLEAN, {_aQN: _SDC, _sN: _sDC}), + (lambda: schemas.STRING, {_aQN: _SIRI, _sN: _sIRI}), + (lambda: schemas.STRING, {_aQN: _SNSr, _sN: _sNS}), + (lambda: schemas.STATE_REASON, {_aQN: _SRt, _sN: _sRt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.VIRTUALIZATION_TYPE, {_aQN: _VTi, _sN: _vTi}), + (CPU_OPTIONS, {_aQN: _CO, _sN: _cOp}), + (lambda: schemas.STRING, {_aQN: _CBI, _sN: _cBI}), + (lambda: schemas.STRING, {_aQN: _CRI, _sN: _cRI}), + (CAPACITY_RESERVATION_SPECIFICATION_RESPONSE, {_aQN: _CRSa, _sN: _cRS}), + (HIBERNATION_OPTIONS, {_aQN: _HO, _sN: _hO}), + (LICENSE_LIST, {_aQN: _LSicen, _sN: _lSi}), + (INSTANCE_METADATA_OPTIONS_RESPONSE, {_aQN: _MO, _sN: _mO}), + (ENCLAVE_OPTIONS, {_aQN: _EOn, _sN: _eOn}), + (lambda: schemas.BOOT_MODE_VALUES, {_aQN: _BMo, _sN: _bMo}), + (lambda: schemas.STRING, {_aQN: _PDl, _sN: _pDl}), + (lambda: schemas.STRING, {_aQN: _UO, _sN: _uO}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _UOUT, _sN: _uOUT}), + (PRIVATE_DNS_NAME_OPTIONS_RESPONSE, {_aQN: _PDNO, _sN: _pDNO}), + (lambda: schemas.STRING, {_aQN: _IApv, _sN: _iApv}), + (lambda: schemas.STRING, {_aQN: _TSp, _sN: _tSp}), + (INSTANCE_MAINTENANCE_OPTIONS, {_aQN: _MOa, _sN: _mOa}), + (INSTANCE_BOOT_MODE_VALUES, {_aQN: _CIBM, _sN: _cIBM}), + (INSTANCE_NETWORK_PERFORMANCE_OPTIONS, {_aQN: _NPO, _sN: _nPO}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + (INSTANCE_SECONDARY_INTERFACE_LIST, {_aQN: _SIS, _sN: _sIS}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (INSTANCE_STATE, {_aQN: _ISnsta, _sN: _iSnst}), + (lambda: schemas.STRING, {_aQN: _PDNr, _sN: _pDNr}), + (lambda: schemas.STRING, {_aQN: _DN, _sN: _dN}), + (lambda: schemas.STRING, {_aQN: _Rea, _sN: _rea}), + (lambda: schemas.STRING, {_aQN: _KN, _sN: _kN}), + (lambda: schemas.INTEGER, {_aQN: _ALI, _sN: _aLI}), + (lambda: schemas.PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.DATE_TIME, {_aQN: _LTa, _sN: _lTa}), + (lambda: schemas.PLACEMENT, {_aQN: _Pl, _sN: _pla}), + (lambda: schemas.STRING, {_aQN: _KI, _sN: _kI}), + (lambda: schemas.STRING, {_aQN: _RIa, _sN: _rIa}), + (lambda: schemas.PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), + (MONITORING, {_aQN: _Mon, _sN: _monit}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + (lambda: schemas.STRING, {_aQN: _IA, _sN: _iApd}), + ), +) + +INSTANCE_LIST: StaticSchema = (16, n0, _ILns, 0, (_me,), ((INSTANCE, {_sN: _i}),)) + +RESERVATION: StaticSchema = ( + 18, + n0, + _Rese, + 0, + (_RI, _OIw, _RIeq, _G, _Ins), + ( + (lambda: schemas.STRING, {_aQN: _RI, _sN: _rIes}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _RIeq, _sN: _rIeq}), + (lambda: schemas.GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + (INSTANCE_LIST, {_aQN: _ISnst, _sN: _iSns}), + ), +) + +RESERVATION_LIST: StaticSchema = (16, n0, _RLe, 0, (_me,), ((RESERVATION, {_sN: _i}),)) + +DESCRIBE_INSTANCE_SQL_HA_STATES_REQUEST_MAX_RESULTS_INTEGER: StaticSchema = ( + 7, + n0, + _DISHSRMRI, + 0, +) + +ENCLAVE_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _EOR, + 0, + (_Ena,), + ((lambda: schemas.BOOLEAN, 0),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_29.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_29.py new file mode 100644 index 000000000..a9c4c61ed --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_29.py @@ -0,0 +1,1487 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_DR = "DryRun" +_smit = "smithy.api#output" +_fa = "failed" +_reg = "region" +_C = "Code" +_co = "code" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_dRr = "dryRun" +_act = "active" +_N = "Name" +_nam = "name" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_IT = "InstanceType" +_iT = "instanceType" +_Des = "Description" +_desc = "description" +_def = "default" +_OA = "OutpostArn" +_IIn = "InstanceIds" +_LUTa = "LastUpdatedTime" +_lUTa = "lastUpdatedTime" +_ECI = "EbsCardIndex" +_eCI = "ebsCardIndex" +_GN = "GroupName" +_gN = "groupName" +_ST = "StartTime" +_oA = "outpostArn" +_Op = "Operator" +_ope = "operator" +_ded = "dedicated" +_Cou = "Count" +_cou = "count" +_CBI = "CapacityBlockId" +_DEFAULT = "DEFAULT" +_uns = "unsupported" +_cBI = "capacityBlockId" +_REQUIRED = "REQUIRED" +_requ = "required" +_hd = "hdd" +_ssd = "ssd" +_Ty = "Type" +_ty = "type" +_Ins = "Instances" +_NA = "NotAfter" +_nA = "notAfter" +_V_ = "VPC_1" +_v_____ = "vpc-1" +_E_ = "EBS_1" +_e_ = "ebs-1" +_Loca = "Location" +_ESnc = "EncryptionSupport" +_eSncr = "encryptionSupport" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_pas = "passed" +_init = "initializing" +_id_ = "insufficient-data" +_na_____ = "not-applicable" +_ok = "ok" +_imp = "impaired" +_ASp = "ApplicationStatus" +_Det = "Details" +_aSp = "applicationStatus" +_ISns = "InstanceSet" +_iSn = "instanceSet" +_ZI = "ZoneId" +_zI = "zoneId" +_id__ = "insufficient_data" +_NNS = "NetworkNodeSet" +_NN = "NetworkNodes" +_nNS = "networkNodeSet" +_ETnd = "EndTime" +_ITnsta = "InstanceTypes" +_UNSUPPORTED = "UNSUPPORTED" +_xen = "xen" +_inv = "invalid" +_ESna = "EnaSupport" +_ISnsta = "InstanceState" +_iSnst = "instanceState" +_IMR = "IncludeManagedResources" +_DISHHSI = "DescribeInstanceSqlHaHistoryStatesInput" +_cDISHHSR = "com.amazonaws.ec2#DescribeInstanceSqlHaHistoryStatesRequest" +_HSa = "HaStatus" +_proc = "processing" +_stand = "standby" +_SSLU = "SqlServerLicenseUsage" +_ful = "full" +_wai = "waived" +_RIeg = "RegisteredInstance" +_sSLU = "sqlServerLicenseUsage" +_hSa = "haStatus" +_PSro = "ProcessingStatus" +_pSro = "processingStatus" +_SSC = "SqlServerCredentials" +_sSC = "sqlServerCredentials" +_RILeg = "RegisteredInstanceList" +_DISHHSO = "DescribeInstanceSqlHaHistoryStatesOutput" +_cDISHHSRo = "com.amazonaws.ec2#DescribeInstanceSqlHaHistoryStatesResult" +_DISHHS = "DescribeInstanceSqlHaHistoryStates" +_DISHSI = "DescribeInstanceSqlHaStatesInput" +_cDISHSR = "com.amazonaws.ec2#DescribeInstanceSqlHaStatesRequest" +_DISHSO = "DescribeInstanceSqlHaStatesOutput" +_cDISHSRo = "com.amazonaws.ec2#DescribeInstanceSqlHaStatesResult" +_DISHS = "DescribeInstanceSqlHaStates" +_DISIe = "DescribeInstanceStatusInput" +_cDISRom = "com.amazonaws.ec2#DescribeInstanceStatusRequest" +_IAI = "IncludeAllInstances" +_iAI = "includeAllInstances" +_SSum = "SummaryStatus" +_na______ = "not_applicable" +_ASSp = "ApplicationStatusSummary" +_ISmp = "ImpairedSince" +_iSmp = "impairedSince" +_SNt = "StatusName" +_reac = "reachability" +_STtat = "StatusType" +_ESD = "EbsStatusDetails" +_ESDL = "EbsStatusDetailsList" +_ESSb = "EbsStatusSummary" +_detai = "details" +_ECv = "EventCode" +_ir__ = "instance_reboot" +_ir___ = "instance-reboot" +_sr = "system_reboot" +_sr_ = "system-reboot" +_sm__ = "system_maintenance" +_sm___ = "system-maintenance" +_ir____ = "instance_retirement" +_ir_____ = "instance-retirement" +_is____ = "instance_stop" +_is_____ = "instance-stop" +_IEI = "InstanceEventId" +_ISEn = "InstanceStatusEvent" +_iEI = "instanceEventId" +_NB = "NotBefore" +_nB = "notBefore" +_NBD = "NotBeforeDeadline" +_nBD = "notBeforeDeadline" +_ISEL = "InstanceStatusEventList" +_ISD = "InstanceStatusDetails" +_ISDL = "InstanceStatusDetailsList" +_ISSn = "InstanceStatusSummary" +_PSSe = "PerformanceStatusSummary" +_Rem = "Remediation" +_rem = "remediation" +_ISnstan = "InstanceStatus" +_Ev = "Events" +_ESv = "EventsSet" +_eSv = "eventsSet" +_iSnsta = "instanceStatus" +_SSy = "SystemStatus" +_sSy = "systemStatus" +_AES = "AttachedEbsStatus" +_aES = "attachedEbsStatus" +_PSerf = "PerformanceStatus" +_pSerf = "performanceStatus" +_ISLn = "InstanceStatusList" +_DISOe = "DescribeInstanceStatusOutput" +_cDISRoma = "com.amazonaws.ec2#DescribeInstanceStatusResult" +_ISnstanc = "InstanceStatuses" +_ISSns = "InstanceStatusSet" +_iSS = "instanceStatusSet" +_DISe = "DescribeInstanceStatus" +_DITGNS = "DescribeInstanceTopologyGroupNameSet" +_DITIIS = "DescribeInstanceTopologyInstanceIdSet" +_DITMR = "DescribeInstanceTopologyMaxResults" +_DITI = "DescribeInstanceTopologyInput" +_cDITR = "com.amazonaws.ec2#DescribeInstanceTopologyRequest" +_GNr = "GroupNames" +_NNL = "NetworkNodesList" +_ITnstan = "InstanceTopology" +_DITO = "DescribeInstanceTopologyOutput" +_cDITRo = "com.amazonaws.ec2#DescribeInstanceTopologyResult" +_DIT = "DescribeInstanceTopology" +_LTo = "LocationType" +_az = "availability_zone" +_az_ = "availability-zone" +_azi = "availability_zone_id" +_azi_ = "availability-zone-id" +_out = "outpost" +_DITOMR = "DITOMaxResults" +_DITOI = "DescribeInstanceTypeOfferingsInput" +_cDITOR = "com.amazonaws.ec2#DescribeInstanceTypeOfferingsRequest" +_ITO = "InstanceTypeOffering" +_lTo = "locationType" +_loca = "location" +_ITOL = "InstanceTypeOfferingsList" +_DITOO = "DescribeInstanceTypeOfferingsOutput" +_cDITORo = "com.amazonaws.ec2#DescribeInstanceTypeOfferingsResult" +_ITOn = "InstanceTypeOfferings" +_ITOS = "InstanceTypeOfferingSet" +_iTOS = "instanceTypeOfferingSet" +_DITOe = "DescribeInstanceTypeOfferings" +_IUIR = "IncludeUnsupportedInRegion" +_RITL = "RequestInstanceTypeList" +_DITMRa = "DITMaxResults" +_DITIe = "DescribeInstanceTypesInput" +_cDITRom = "com.amazonaws.ec2#DescribeInstanceTypesRequest" +_ARF = "AutoRecoveryFlag" +_BMF = "BareMetalFlag" +_BPFu = "BurstablePerformanceFlag" +_CGF = "CurrentGenerationFlag" +_DHF = "DedicatedHostFlag" +_ALT = "AttachmentLimitType" +_SHARED = "SHARED" +_sh = "shared" +_DEDICATED = "DEDICATED" +_BBIM = "BaselineBandwidthInMbps" +_BIa = "BaselineIops" +_BTIMB = "BaselineThroughputInMBps" +_MBIM = "MaximumBandwidthInMbps" +_MI = "MaximumIops" +_MTIMB = "MaximumThroughputInMBps" +_ECIb = "EbsCardInfo" +_bBIM = "baselineBandwidthInMbps" +_bTIMB = "baselineThroughputInMBps" +_bIa = "baselineIops" +_mBIM = "maximumBandwidthInMbps" +_mTIMB = "maximumThroughputInMBps" +_mI = "maximumIops" +_ECIL = "EbsCardInfoList" +_EOI = "EbsOptimizedInfo" +_EOS = "EbsOptimizedSupport" +_supp = "supported" +_EES = "EbsEncryptionSupport" +_MEA = "MaximumEbsAttachments" +_MEC = "MaximumEbsCards" +_ENS = "EbsNvmeSupport" +_SUPPORTED = "SUPPORTED" +_EIb = "EbsInfo" +_eOS = "ebsOptimizedSupport" +_eOI = "ebsOptimizedInfo" +_NSv = "NvmeSupport" +_nSv = "nvmeSupport" +_mEA = "maximumEbsAttachments" +_aLT = "attachmentLimitType" +_mEC = "maximumEbsCards" +_ECb = "EbsCards" +_ECS = "EbsCardSet" +_eCS = "ebsCardSet" +_FDC = "FpgaDeviceCount" +_FDMN = "FpgaDeviceManufacturerName" +_FDMS = "FpgaDeviceMemorySize" +_FDMI = "FpgaDeviceMemoryInfo" +_SIMB = "SizeInMiB" +_sIMB = "sizeInMiB" +_FDNp = "FpgaDeviceName" +_FDI = "FpgaDeviceInfo" +_Manu = "Manufacturer" +_manu = "manufacturer" +_MIe = "MemoryInfo" +_mIe = "memoryInfo" +_FDIL = "FpgaDeviceInfoList" +_tFM = "totalFpgaMemory" +_FIpga = "FpgaInfo" +_Fp = "Fpgas" +_fpg = "fpgas" +_TFMIMB = "TotalFpgaMemoryInMiB" +_tFMIMB = "totalFpgaMemoryInMiB" +_FTEF = "FreeTierEligibleFlag" +_GDC = "GpuDeviceCount" +_GPS = "GpuPartitionSize" +_LGC = "LogicalGpuCount" +_GDMN = "GpuDeviceManufacturerName" +_GDMS = "GpuDeviceMemorySize" +_GDMI = "GpuDeviceMemoryInfo" +_GDN = "GpuDeviceName" +_Wo = "Workload" +_WL = "WorkloadsList" +_GDI = "GpuDeviceInfo" +_lGC = "logicalGpuCount" +_gPS = "gpuPartitionSize" +_Wor = "Workloads" +_WSo = "WorkloadSet" +_wS = "workloadSet" +_GDIL = "GpuDeviceInfoList" +_tGM = "totalGpuMemory" +_GIp = "GpuInfo" +_Gp = "Gpus" +_gpu = "gpus" +_TGMIMB = "TotalGpuMemoryInMiB" +_tGMIMB = "totalGpuMemoryInMiB" +_HF = "HibernationFlag" +_ITH = "InstanceTypeHypervisor" +_NITRO = "NITRO" +_nit = "nitro" +_XEN = "XEN" +_IDC = "InferenceDeviceCount" +_IDMN = "InferenceDeviceManufacturerName" +_IDMS = "InferenceDeviceMemorySize" +_IDMI = "InferenceDeviceMemoryInfo" +_IDN = "InferenceDeviceName" +_IDI = "InferenceDeviceInfo" +_IDIL = "InferenceDeviceInfoList" +_tIM = "totalInferenceMemory" +_IAIn = "InferenceAcceleratorInfo" +_Acce = "Accelerators" +_accel = "accelerators" +_TIMIMB = "TotalInferenceMemoryInMiB" +_tIMIMB = "totalInferenceMemoryInMiB" +_DCisk = "DiskCount" +_DSi = "DiskSize" +_DTisk = "DiskType" +_DIis = "DiskInfo" +_SIGB = "SizeInGB" +_sIGB = "sizeInGB" +_DIL = "DiskInfoList" +_ISES = "InstanceStorageEncryptionSupport" +_ENSp = "EphemeralNvmeSupport" +_ISIns = "InstanceStorageInfo" +_TSIGB = "TotalSizeInGB" +_tSIGB = "totalSizeInGB" +_Disk = "Disks" +_disk = "disks" +_ISF = "InstanceStorageFlag" +_MDC = "MediaDeviceCount" +_MDMN = "MediaDeviceManufacturerName" +_MDMS = "MediaDeviceMemorySize" +_MDMI = "MediaDeviceMemoryInfo" +_MDN = "MediaDeviceName" +_MDI = "MediaDeviceInfo" +_MDIL = "MediaDeviceInfoList" +_TMM = "TotalMediaMemory" +_MAIe = "MediaAcceleratorInfo" +_TMMIMB = "TotalMediaMemoryInMiB" +_tMMIMB = "totalMediaMemoryInMiB" +_MSem = "MemorySize" +_BWT = "BandwidthWeightingType" +_BWTL = "BandwidthWeightingTypeList" +_DTET = "DefaultTcpEstablishedTimeout" +_DUST = "DefaultUdpStreamTimeout" +_DUT = "DefaultUdpTimeout" +_DCTC = "DefaultConnectionTrackingConfiguration" +_dTET = "defaultTcpEstablishedTimeout" +_dUT = "defaultUdpTimeout" +_dUST = "defaultUdpStreamTimeout" +_DNCI = "DefaultNetworkCardIndex" +_MEI = "MaximumEfaInterfaces" +_EIf = "EfaInfo" +_mEI = "maximumEfaInterfaces" +_ESF = "EfaSupportedFlag" +_ESSn = "EnaSrdSupported" +_EITSn = "EncryptionInTransitSupported" +_FEQS = "FlexibleEnaQueuesSupport" +_MIAPI = "MaxIpv4AddrPerInterface" +_IAPSI = "Ipv4AddressesPerSecondaryInterface" +_MIAPIa = "MaxIpv6AddrPerInterface" +_IFp = "Ipv6Flag" +_MNC = "MaximumNetworkCards" +_MNI = "MaxNetworkInterfaces" +_MSNI = "MaximumSecondaryNetworkInterfaces" +_BBIG = "BaselineBandwidthInGbps" +_DEQCPI = "DefaultEnaQueueCountPerInterface" +_DITOes = "DescribeInstanceTypesOutput" +_cDITRoma = "com.amazonaws.ec2#DescribeInstanceTypesResult" +_ITSns = "InstanceTypeSet" +_iTSns = "instanceTypeSet" +_DITe = "DescribeInstanceTypes" + +DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_INPUT: StaticSchema = ( + 18, + n0, + _DISHHSI, + {_sSI: _cDISHHSR, _sm: None}, + (_IIn, _ST, _ETnd, _NTex, _MR, _Fil, _DR), + ( + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II}), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ( + lambda: schemas.DESCRIBE_INSTANCE_SQL_HA_STATES_REQUEST_MAX_RESULTS_INTEGER, + 0, + ), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_OUTPUT: StaticSchema = ( + 18, + n0, + _DISHHSO, + {_sSI: _cDISHHSRo, _smit: None}, + (_Ins, _NTex), + ( + (lambda: REGISTERED_INSTANCE_LIST, {_aQN: _ISns, _sN: _iSn}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES: StaticOperationSchema = ( + 23, + n0, + _DISHHS, + 0, + DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_INPUT, + DESCRIBE_INSTANCE_SQL_HA_HISTORY_STATES_OUTPUT, + (), +) + +HA_STATUS: StaticSchema = ( + 14, + n0, + _HSa, + 0, + (_proc, _act, _stand, _inv), + ((-1, {_sV: _proc}), (-1, {_sV: _act}), (-1, {_sV: _stand}), (-1, {_sV: _inv})), +) + +SQL_SERVER_LICENSE_USAGE: StaticSchema = ( + 14, + n0, + _SSLU, + 0, + (_ful, _wai), + ((-1, {_sV: _ful}), (-1, {_sV: _wai})), +) + +REGISTERED_INSTANCE: StaticSchema = ( + 18, + n0, + _RIeg, + 0, + (_II, _SSLU, _HSa, _PSro, _LUTa, _SSC, _Tag), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (SQL_SERVER_LICENSE_USAGE, {_aQN: _SSLU, _sN: _sSLU}), + (HA_STATUS, {_aQN: _HSa, _sN: _hSa}), + (lambda: schemas.STRING, {_aQN: _PSro, _sN: _pSro}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LUTa, _sN: _lUTa}), + (lambda: schemas.STRING, {_aQN: _SSC, _sN: _sSC}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +REGISTERED_INSTANCE_LIST: StaticSchema = ( + 16, + n0, + _RILeg, + 0, + (_me,), + ((REGISTERED_INSTANCE, {_sN: _i}),), +) + +DESCRIBE_INSTANCE_SQL_HA_STATES_INPUT: StaticSchema = ( + 18, + n0, + _DISHSI, + {_sSI: _cDISHSR, _sm: None}, + (_IIn, _NTex, _MR, _Fil, _DR), + ( + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II}), + (lambda: schemas.NEXT_TOKEN, 0), + ( + lambda: schemas.DESCRIBE_INSTANCE_SQL_HA_STATES_REQUEST_MAX_RESULTS_INTEGER, + 0, + ), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_INSTANCE_SQL_HA_STATES_OUTPUT: StaticSchema = ( + 18, + n0, + _DISHSO, + {_sSI: _cDISHSRo, _smit: None}, + (_Ins, _NTex), + ( + (REGISTERED_INSTANCE_LIST, {_aQN: _ISns, _sN: _iSn}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_SQL_HA_STATES: StaticOperationSchema = ( + 23, + n0, + _DISHS, + 0, + DESCRIBE_INSTANCE_SQL_HA_STATES_INPUT, + DESCRIBE_INSTANCE_SQL_HA_STATES_OUTPUT, + (), +) + +DESCRIBE_INSTANCE_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _DISIe, + {_sSI: _cDISRom, _sm: None}, + (_IIn, _MR, _NTex, _IMR, _DR, _Fil, _IAI), + ( + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, {_aQN: _IAI, _sN: _iAI}), + ), +) + +DESCRIBE_INSTANCE_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _DISOe, + {_sSI: _cDISRoma, _smit: None}, + (_ISnstanc, _NTex), + ( + (lambda: INSTANCE_STATUS_LIST, {_aQN: _ISSns, _sN: _iSS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_STATUS: StaticOperationSchema = ( + 23, + n0, + _DISe, + 0, + DESCRIBE_INSTANCE_STATUS_INPUT, + DESCRIBE_INSTANCE_STATUS_OUTPUT, + (), +) + +SUMMARY_STATUS: StaticSchema = ( + 14, + n0, + _SSum, + 0, + (_ok, _imp, _id__, _na______, _init), + ( + (-1, {_sV: _ok}), + (-1, {_sV: _imp}), + (-1, {_sV: _id_}), + (-1, {_sV: _na_____}), + (-1, {_sV: _init}), + ), +) + +APPLICATION_STATUS_SUMMARY: StaticSchema = ( + 18, + n0, + _ASSp, + 0, + (_Sta, _ISmp), + ( + (SUMMARY_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ISmp, _sN: _iSmp}), + ), +) + +STATUS_NAME: StaticSchema = (14, n0, _SNt, 0, (_reac,), ((-1, {_sV: _reac}),)) + +STATUS_TYPE: StaticSchema = ( + 14, + n0, + _STtat, + 0, + (_pas, _fa, _id__, _init), + ((-1, {_sV: _pas}), (-1, {_sV: _fa}), (-1, {_sV: _id_}), (-1, {_sV: _init})), +) + +EBS_STATUS_DETAILS: StaticSchema = ( + 18, + n0, + _ESD, + 0, + (_ISmp, _N, _Sta), + ( + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ISmp, _sN: _iSmp}), + (STATUS_NAME, {_aQN: _N, _sN: _nam}), + (STATUS_TYPE, {_aQN: _Sta, _sN: _sta}), + ), +) + +EBS_STATUS_DETAILS_LIST: StaticSchema = ( + 16, + n0, + _ESDL, + 0, + (_me,), + ((EBS_STATUS_DETAILS, {_sN: _i}),), +) + +EBS_STATUS_SUMMARY: StaticSchema = ( + 18, + n0, + _ESSb, + 0, + (_Det, _Sta), + ( + (EBS_STATUS_DETAILS_LIST, {_aQN: _Det, _sN: _detai}), + (SUMMARY_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +EVENT_CODE: StaticSchema = ( + 14, + n0, + _ECv, + 0, + (_ir__, _sr, _sm__, _ir____, _is____), + ( + (-1, {_sV: _ir___}), + (-1, {_sV: _sr_}), + (-1, {_sV: _sm___}), + (-1, {_sV: _ir_____}), + (-1, {_sV: _is_____}), + ), +) + +INSTANCE_EVENT_ID: StaticSchema = (3, n0, _IEI, 0) + +INSTANCE_STATUS_EVENT: StaticSchema = ( + 18, + n0, + _ISEn, + 0, + (_IEI, _C, _Des, _NA, _NB, _NBD), + ( + (INSTANCE_EVENT_ID, {_aQN: _IEI, _sN: _iEI}), + (EVENT_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.DATE_TIME, {_aQN: _NA, _sN: _nA}), + (lambda: schemas.DATE_TIME, {_aQN: _NB, _sN: _nB}), + (lambda: schemas.DATE_TIME, {_aQN: _NBD, _sN: _nBD}), + ), +) + +INSTANCE_STATUS_EVENT_LIST: StaticSchema = ( + 16, + n0, + _ISEL, + 0, + (_me,), + ((INSTANCE_STATUS_EVENT, {_sN: _i}),), +) + +INSTANCE_STATUS_DETAILS: StaticSchema = ( + 18, + n0, + _ISD, + 0, + (_ISmp, _N, _Sta), + ( + (lambda: schemas.DATE_TIME, {_aQN: _ISmp, _sN: _iSmp}), + (STATUS_NAME, {_aQN: _N, _sN: _nam}), + (STATUS_TYPE, {_aQN: _Sta, _sN: _sta}), + ), +) + +INSTANCE_STATUS_DETAILS_LIST: StaticSchema = ( + 16, + n0, + _ISDL, + 0, + (_me,), + ((INSTANCE_STATUS_DETAILS, {_sN: _i}),), +) + +INSTANCE_STATUS_SUMMARY: StaticSchema = ( + 18, + n0, + _ISSn, + 0, + (_Det, _Sta), + ( + (INSTANCE_STATUS_DETAILS_LIST, {_aQN: _Det, _sN: _detai}), + (SUMMARY_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +PERFORMANCE_STATUS_SUMMARY: StaticSchema = ( + 18, + n0, + _PSSe, + 0, + (_Sta, _ISmp, _Rem), + ( + (SUMMARY_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ISmp, _sN: _iSmp}), + (lambda: schemas.STRING, {_aQN: _Rem, _sN: _rem}), + ), +) + +INSTANCE_STATUS: StaticSchema = ( + 18, + n0, + _ISnstan, + 0, + (_AZ, _AZI, _OA, _Op, _Ev, _II, _ISnsta, _ISnstan, _SSy, _AES, _ASp, _PSerf), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + (INSTANCE_STATUS_EVENT_LIST, {_aQN: _ESv, _sN: _eSv}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.INSTANCE_STATE, {_aQN: _ISnsta, _sN: _iSnst}), + (INSTANCE_STATUS_SUMMARY, {_aQN: _ISnstan, _sN: _iSnsta}), + (INSTANCE_STATUS_SUMMARY, {_aQN: _SSy, _sN: _sSy}), + (EBS_STATUS_SUMMARY, {_aQN: _AES, _sN: _aES}), + (APPLICATION_STATUS_SUMMARY, {_aQN: _ASp, _sN: _aSp}), + (PERFORMANCE_STATUS_SUMMARY, {_aQN: _PSerf, _sN: _pSerf}), + ), +) + +INSTANCE_STATUS_LIST: StaticSchema = ( + 16, + n0, + _ISLn, + 0, + (_me,), + ((INSTANCE_STATUS, {_sN: _i}),), +) + +DESCRIBE_INSTANCE_TOPOLOGY_GROUP_NAME_SET: StaticSchema = ( + 16, + n0, + _DITGNS, + 0, + (_me,), + ((lambda: schemas.PLACEMENT_GROUP_NAME, 0),), +) + +DESCRIBE_INSTANCE_TOPOLOGY_INSTANCE_ID_SET: StaticSchema = ( + 16, + n0, + _DITIIS, + 0, + (_me,), + ((lambda: schemas.INSTANCE_ID, 0),), +) + +DESCRIBE_INSTANCE_TOPOLOGY_MAX_RESULTS: StaticSchema = (7, n0, _DITMR, 0) + +DESCRIBE_INSTANCE_TOPOLOGY_INPUT: StaticSchema = ( + 18, + n0, + _DITI, + {_sSI: _cDITR, _sm: None}, + (_DR, _NTex, _MR, _IIn, _GNr, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (DESCRIBE_INSTANCE_TOPOLOGY_MAX_RESULTS, 0), + (DESCRIBE_INSTANCE_TOPOLOGY_INSTANCE_ID_SET, {_sN: _II}), + (DESCRIBE_INSTANCE_TOPOLOGY_GROUP_NAME_SET, {_sN: _GN}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_INSTANCE_TOPOLOGY_OUTPUT: StaticSchema = ( + 18, + n0, + _DITO, + {_sSI: _cDITRo, _smit: None}, + (_Ins, _NTex), + ( + (lambda: INSTANCE_SET, {_aQN: _ISns, _sN: _iSn}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_TOPOLOGY: StaticOperationSchema = ( + 23, + n0, + _DIT, + 0, + DESCRIBE_INSTANCE_TOPOLOGY_INPUT, + DESCRIBE_INSTANCE_TOPOLOGY_OUTPUT, + (), +) + +NETWORK_NODES_LIST: StaticSchema = ( + 16, + n0, + _NNL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +INSTANCE_TOPOLOGY: StaticSchema = ( + 18, + n0, + _ITnstan, + 0, + (_II, _IT, _GN, _NN, _AZ, _ZI, _CBI), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (NETWORK_NODES_LIST, {_aQN: _NNS, _sN: _nNS}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _ZI, _sN: _zI}), + (lambda: schemas.STRING, {_aQN: _CBI, _sN: _cBI}), + ), +) + +INSTANCE_SET: StaticSchema = ( + 16, + n0, + _ISns, + 0, + (_me,), + ((INSTANCE_TOPOLOGY, {_sN: _i}),), +) + +LOCATION_TYPE: StaticSchema = ( + 14, + n0, + _LTo, + 0, + (_reg, _az, _azi, _out), + ((-1, {_sV: _reg}), (-1, {_sV: _az_}), (-1, {_sV: _azi_}), (-1, {_sV: _out})), +) + +DITO_MAX_RESULTS: StaticSchema = (7, n0, _DITOMR, 0) + +DESCRIBE_INSTANCE_TYPE_OFFERINGS_INPUT: StaticSchema = ( + 18, + n0, + _DITOI, + {_sSI: _cDITOR, _sm: None}, + (_DR, _LTo, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (LOCATION_TYPE, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DITO_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_INSTANCE_TYPE_OFFERINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DITOO, + {_sSI: _cDITORo, _smit: None}, + (_ITOn, _NTex), + ( + (lambda: INSTANCE_TYPE_OFFERINGS_LIST, {_aQN: _ITOS, _sN: _iTOS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_TYPE_OFFERINGS: StaticOperationSchema = ( + 23, + n0, + _DITOe, + 0, + DESCRIBE_INSTANCE_TYPE_OFFERINGS_INPUT, + DESCRIBE_INSTANCE_TYPE_OFFERINGS_OUTPUT, + (), +) + +LOCATION: StaticSchema = (3, n0, _Loca, 0) + +INSTANCE_TYPE_OFFERING: StaticSchema = ( + 18, + n0, + _ITO, + 0, + (_IT, _LTo, _Loca), + ( + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (LOCATION_TYPE, {_aQN: _LTo, _sN: _lTo}), + (LOCATION, {_aQN: _Loca, _sN: _loca}), + ), +) + +INSTANCE_TYPE_OFFERINGS_LIST: StaticSchema = ( + 16, + n0, + _ITOL, + 0, + (_me,), + ((INSTANCE_TYPE_OFFERING, {_sN: _i}),), +) + +INCLUDE_UNSUPPORTED_IN_REGION: StaticSchema = (2, n0, _IUIR, 0) + +REQUEST_INSTANCE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _RITL, + 0, + (_me,), + ((lambda: schemas.INSTANCE_TYPE, 0),), +) + +DIT_MAX_RESULTS: StaticSchema = (7, n0, _DITMRa, 0) + +DESCRIBE_INSTANCE_TYPES_INPUT: StaticSchema = ( + 18, + n0, + _DITIe, + {_sSI: _cDITRom, _sm: None}, + (_DR, _ITnsta, _Fil, _MR, _NTex, _IUIR), + ( + (lambda: schemas.BOOLEAN, 0), + (REQUEST_INSTANCE_TYPE_LIST, {_sN: _IT}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DIT_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (INCLUDE_UNSUPPORTED_IN_REGION, 0), + ), +) + +DESCRIBE_INSTANCE_TYPES_OUTPUT: StaticSchema = ( + 18, + n0, + _DITOes, + {_sSI: _cDITRoma, _smit: None}, + (_ITnsta, _NTex), + ( + (lambda: schemas.INSTANCE_TYPE_INFO_LIST, {_aQN: _ITSns, _sN: _iTSns}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INSTANCE_TYPES: StaticOperationSchema = ( + 23, + n0, + _DITe, + 0, + DESCRIBE_INSTANCE_TYPES_INPUT, + DESCRIBE_INSTANCE_TYPES_OUTPUT, + (), +) + +AUTO_RECOVERY_FLAG: StaticSchema = (2, n0, _ARF, 0) + +BARE_METAL_FLAG: StaticSchema = (2, n0, _BMF, 0) + +BURSTABLE_PERFORMANCE_FLAG: StaticSchema = (2, n0, _BPFu, 0) + +CURRENT_GENERATION_FLAG: StaticSchema = (2, n0, _CGF, 0) + +DEDICATED_HOST_FLAG: StaticSchema = (2, n0, _DHF, 0) + +ATTACHMENT_LIMIT_TYPE: StaticSchema = ( + 14, + n0, + _ALT, + 0, + (_SHARED, _DEDICATED), + ((-1, {_sV: _sh}), (-1, {_sV: _ded})), +) + +BASELINE_BANDWIDTH_IN_MBPS: StaticSchema = (7, n0, _BBIM, 0) + +BASELINE_IOPS: StaticSchema = (7, n0, _BIa, 0) + +BASELINE_THROUGHPUT_IN_M_BPS: StaticSchema = (10, n0, _BTIMB, 0) + +EBS_CARD_INDEX: StaticSchema = (7, n0, _ECI, 0) + +MAXIMUM_BANDWIDTH_IN_MBPS: StaticSchema = (7, n0, _MBIM, 0) + +MAXIMUM_IOPS: StaticSchema = (7, n0, _MI, 0) + +MAXIMUM_THROUGHPUT_IN_M_BPS: StaticSchema = (10, n0, _MTIMB, 0) + +EBS_CARD_INFO: StaticSchema = ( + 18, + n0, + _ECIb, + 0, + (_ECI, _BBIM, _BTIMB, _BIa, _MBIM, _MTIMB, _MI), + ( + (EBS_CARD_INDEX, {_aQN: _ECI, _sN: _eCI}), + (BASELINE_BANDWIDTH_IN_MBPS, {_aQN: _BBIM, _sN: _bBIM}), + (BASELINE_THROUGHPUT_IN_M_BPS, {_aQN: _BTIMB, _sN: _bTIMB}), + (BASELINE_IOPS, {_aQN: _BIa, _sN: _bIa}), + (MAXIMUM_BANDWIDTH_IN_MBPS, {_aQN: _MBIM, _sN: _mBIM}), + (MAXIMUM_THROUGHPUT_IN_M_BPS, {_aQN: _MTIMB, _sN: _mTIMB}), + (MAXIMUM_IOPS, {_aQN: _MI, _sN: _mI}), + ), +) + +EBS_CARD_INFO_LIST: StaticSchema = ( + 16, + n0, + _ECIL, + 0, + (_me,), + ((EBS_CARD_INFO, {_sN: _i}),), +) + +EBS_OPTIMIZED_INFO: StaticSchema = ( + 18, + n0, + _EOI, + 0, + (_BBIM, _BTIMB, _BIa, _MBIM, _MTIMB, _MI), + ( + (BASELINE_BANDWIDTH_IN_MBPS, {_aQN: _BBIM, _sN: _bBIM}), + (BASELINE_THROUGHPUT_IN_M_BPS, {_aQN: _BTIMB, _sN: _bTIMB}), + (BASELINE_IOPS, {_aQN: _BIa, _sN: _bIa}), + (MAXIMUM_BANDWIDTH_IN_MBPS, {_aQN: _MBIM, _sN: _mBIM}), + (MAXIMUM_THROUGHPUT_IN_M_BPS, {_aQN: _MTIMB, _sN: _mTIMB}), + (MAXIMUM_IOPS, {_aQN: _MI, _sN: _mI}), + ), +) + +EBS_OPTIMIZED_SUPPORT: StaticSchema = ( + 14, + n0, + _EOS, + 0, + (_uns, _supp, _def), + ((-1, {_sV: _uns}), (-1, {_sV: _supp}), (-1, {_sV: _def})), +) + +EBS_ENCRYPTION_SUPPORT: StaticSchema = ( + 14, + n0, + _EES, + 0, + (_uns, _supp), + ((-1, {_sV: _uns}), (-1, {_sV: _supp})), +) + +MAXIMUM_EBS_ATTACHMENTS: StaticSchema = (7, n0, _MEA, 0) + +MAXIMUM_EBS_CARDS: StaticSchema = (7, n0, _MEC, 0) + +EBS_NVME_SUPPORT: StaticSchema = ( + 14, + n0, + _ENS, + 0, + (_UNSUPPORTED, _SUPPORTED, _REQUIRED), + ((-1, {_sV: _uns}), (-1, {_sV: _supp}), (-1, {_sV: _requ})), +) + +EBS_INFO: StaticSchema = ( + 18, + n0, + _EIb, + 0, + (_EOS, _ESnc, _EOI, _NSv, _MEA, _ALT, _MEC, _ECb), + ( + (EBS_OPTIMIZED_SUPPORT, {_aQN: _EOS, _sN: _eOS}), + (EBS_ENCRYPTION_SUPPORT, {_aQN: _ESnc, _sN: _eSncr}), + (EBS_OPTIMIZED_INFO, {_aQN: _EOI, _sN: _eOI}), + (EBS_NVME_SUPPORT, {_aQN: _NSv, _sN: _nSv}), + (MAXIMUM_EBS_ATTACHMENTS, {_aQN: _MEA, _sN: _mEA}), + (ATTACHMENT_LIMIT_TYPE, {_aQN: _ALT, _sN: _aLT}), + (MAXIMUM_EBS_CARDS, {_aQN: _MEC, _sN: _mEC}), + (EBS_CARD_INFO_LIST, {_aQN: _ECS, _sN: _eCS}), + ), +) + +FPGA_DEVICE_COUNT: StaticSchema = (7, n0, _FDC, 0) + +FPGA_DEVICE_MANUFACTURER_NAME: StaticSchema = (3, n0, _FDMN, 0) + +FPGA_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _FDMS, 0) + +FPGA_DEVICE_MEMORY_INFO: StaticSchema = ( + 18, + n0, + _FDMI, + 0, + (_SIMB,), + ((FPGA_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), +) + +FPGA_DEVICE_NAME: StaticSchema = (3, n0, _FDNp, 0) + +FPGA_DEVICE_INFO: StaticSchema = ( + 18, + n0, + _FDI, + 0, + (_N, _Manu, _Cou, _MIe), + ( + (FPGA_DEVICE_NAME, {_aQN: _N, _sN: _nam}), + (FPGA_DEVICE_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), + (FPGA_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), + (FPGA_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), + ), +) + +FPGA_DEVICE_INFO_LIST: StaticSchema = ( + 16, + n0, + _FDIL, + 0, + (_me,), + ((FPGA_DEVICE_INFO, {_sN: _i}),), +) + +TOTAL_FPGA_MEMORY: StaticSchema = (7, n0, _tFM, 0) + +FPGA_INFO: StaticSchema = ( + 18, + n0, + _FIpga, + 0, + (_Fp, _TFMIMB), + ( + (FPGA_DEVICE_INFO_LIST, {_aQN: _Fp, _sN: _fpg}), + (TOTAL_FPGA_MEMORY, {_aQN: _TFMIMB, _sN: _tFMIMB}), + ), +) + +FREE_TIER_ELIGIBLE_FLAG: StaticSchema = (2, n0, _FTEF, 0) + +GPU_DEVICE_COUNT: StaticSchema = (7, n0, _GDC, 0) + +GPU_PARTITION_SIZE: StaticSchema = (10, n0, _GPS, 0) + +LOGICAL_GPU_COUNT: StaticSchema = (7, n0, _LGC, 0) + +GPU_DEVICE_MANUFACTURER_NAME: StaticSchema = (3, n0, _GDMN, 0) + +GPU_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _GDMS, 0) + +GPU_DEVICE_MEMORY_INFO: StaticSchema = ( + 18, + n0, + _GDMI, + 0, + (_SIMB,), + ((GPU_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), +) + +GPU_DEVICE_NAME: StaticSchema = (3, n0, _GDN, 0) + +WORKLOAD: StaticSchema = (3, n0, _Wo, 0) + +WORKLOADS_LIST: StaticSchema = (16, n0, _WL, 0, (_me,), ((WORKLOAD, {_sN: _i}),)) + +GPU_DEVICE_INFO: StaticSchema = ( + 18, + n0, + _GDI, + 0, + (_N, _Manu, _Cou, _LGC, _GPS, _Wor, _MIe), + ( + (GPU_DEVICE_NAME, {_aQN: _N, _sN: _nam}), + (GPU_DEVICE_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), + (GPU_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), + (LOGICAL_GPU_COUNT, {_aQN: _LGC, _sN: _lGC}), + (GPU_PARTITION_SIZE, {_aQN: _GPS, _sN: _gPS}), + (WORKLOADS_LIST, {_aQN: _WSo, _sN: _wS}), + (GPU_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), + ), +) + +GPU_DEVICE_INFO_LIST: StaticSchema = ( + 16, + n0, + _GDIL, + 0, + (_me,), + ((GPU_DEVICE_INFO, {_sN: _i}),), +) + +TOTAL_GPU_MEMORY: StaticSchema = (7, n0, _tGM, 0) + +GPU_INFO: StaticSchema = ( + 18, + n0, + _GIp, + 0, + (_Gp, _TGMIMB), + ( + (GPU_DEVICE_INFO_LIST, {_aQN: _Gp, _sN: _gpu}), + (TOTAL_GPU_MEMORY, {_aQN: _TGMIMB, _sN: _tGMIMB}), + ), +) + +HIBERNATION_FLAG: StaticSchema = (2, n0, _HF, 0) + +INSTANCE_TYPE_HYPERVISOR: StaticSchema = ( + 14, + n0, + _ITH, + 0, + (_NITRO, _XEN), + ((-1, {_sV: _nit}), (-1, {_sV: _xen})), +) + +INFERENCE_DEVICE_COUNT: StaticSchema = (7, n0, _IDC, 0) + +INFERENCE_DEVICE_MANUFACTURER_NAME: StaticSchema = (3, n0, _IDMN, 0) + +INFERENCE_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _IDMS, 0) + +INFERENCE_DEVICE_MEMORY_INFO: StaticSchema = ( + 18, + n0, + _IDMI, + 0, + (_SIMB,), + ((INFERENCE_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), +) + +INFERENCE_DEVICE_NAME: StaticSchema = (3, n0, _IDN, 0) + +INFERENCE_DEVICE_INFO: StaticSchema = ( + 18, + n0, + _IDI, + 0, + (_Cou, _N, _Manu, _MIe), + ( + (INFERENCE_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), + (INFERENCE_DEVICE_NAME, {_aQN: _N, _sN: _nam}), + (INFERENCE_DEVICE_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), + (INFERENCE_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), + ), +) + +INFERENCE_DEVICE_INFO_LIST: StaticSchema = ( + 16, + n0, + _IDIL, + 0, + (_me,), + ((INFERENCE_DEVICE_INFO, 0),), +) + +TOTAL_INFERENCE_MEMORY: StaticSchema = (7, n0, _tIM, 0) + +INFERENCE_ACCELERATOR_INFO: StaticSchema = ( + 18, + n0, + _IAIn, + 0, + (_Acce, _TIMIMB), + ( + (INFERENCE_DEVICE_INFO_LIST, {_aQN: _Acce, _sN: _accel}), + (TOTAL_INFERENCE_MEMORY, {_aQN: _TIMIMB, _sN: _tIMIMB}), + ), +) + +DISK_COUNT: StaticSchema = (7, n0, _DCisk, 0) + +DISK_SIZE: StaticSchema = (8, n0, _DSi, 0) + +DISK_TYPE: StaticSchema = ( + 14, + n0, + _DTisk, + 0, + (_hd, _ssd), + ((-1, {_sV: _hd}), (-1, {_sV: _ssd})), +) + +DISK_INFO: StaticSchema = ( + 18, + n0, + _DIis, + 0, + (_SIGB, _Cou, _Ty), + ( + (DISK_SIZE, {_aQN: _SIGB, _sN: _sIGB}), + (DISK_COUNT, {_aQN: _Cou, _sN: _cou}), + (DISK_TYPE, {_aQN: _Ty, _sN: _ty}), + ), +) + +DISK_INFO_LIST: StaticSchema = (16, n0, _DIL, 0, (_me,), ((DISK_INFO, {_sN: _i}),)) + +INSTANCE_STORAGE_ENCRYPTION_SUPPORT: StaticSchema = ( + 14, + n0, + _ISES, + 0, + (_uns, _requ), + ((-1, {_sV: _uns}), (-1, {_sV: _requ})), +) + +EPHEMERAL_NVME_SUPPORT: StaticSchema = ( + 14, + n0, + _ENSp, + 0, + (_UNSUPPORTED, _SUPPORTED, _REQUIRED), + ((-1, {_sV: _uns}), (-1, {_sV: _supp}), (-1, {_sV: _requ})), +) + +INSTANCE_STORAGE_INFO: StaticSchema = ( + 18, + n0, + _ISIns, + 0, + (_TSIGB, _Disk, _NSv, _ESnc), + ( + (DISK_SIZE, {_aQN: _TSIGB, _sN: _tSIGB}), + (DISK_INFO_LIST, {_aQN: _Disk, _sN: _disk}), + (EPHEMERAL_NVME_SUPPORT, {_aQN: _NSv, _sN: _nSv}), + (INSTANCE_STORAGE_ENCRYPTION_SUPPORT, {_aQN: _ESnc, _sN: _eSncr}), + ), +) + +INSTANCE_STORAGE_FLAG: StaticSchema = (2, n0, _ISF, 0) + +MEDIA_DEVICE_COUNT: StaticSchema = (7, n0, _MDC, 0) + +MEDIA_DEVICE_MANUFACTURER_NAME: StaticSchema = (3, n0, _MDMN, 0) + +MEDIA_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _MDMS, 0) + +MEDIA_DEVICE_MEMORY_INFO: StaticSchema = ( + 18, + n0, + _MDMI, + 0, + (_SIMB,), + ((MEDIA_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), +) + +MEDIA_DEVICE_NAME: StaticSchema = (3, n0, _MDN, 0) + +MEDIA_DEVICE_INFO: StaticSchema = ( + 18, + n0, + _MDI, + 0, + (_Cou, _N, _Manu, _MIe), + ( + (MEDIA_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), + (MEDIA_DEVICE_NAME, {_aQN: _N, _sN: _nam}), + (MEDIA_DEVICE_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), + (MEDIA_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), + ), +) + +MEDIA_DEVICE_INFO_LIST: StaticSchema = ( + 16, + n0, + _MDIL, + 0, + (_me,), + ((MEDIA_DEVICE_INFO, {_sN: _i}),), +) + +TOTAL_MEDIA_MEMORY: StaticSchema = (7, n0, _TMM, 0) + +MEDIA_ACCELERATOR_INFO: StaticSchema = ( + 18, + n0, + _MAIe, + 0, + (_Acce, _TMMIMB), + ( + (MEDIA_DEVICE_INFO_LIST, {_aQN: _Acce, _sN: _accel}), + (TOTAL_MEDIA_MEMORY, {_aQN: _TMMIMB, _sN: _tMMIMB}), + ), +) + +MEMORY_SIZE: StaticSchema = (8, n0, _MSem, 0) + +MEMORY_INFO: StaticSchema = ( + 18, + n0, + _MIe, + 0, + (_SIMB,), + ((MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), +) + +BANDWIDTH_WEIGHTING_TYPE: StaticSchema = ( + 14, + n0, + _BWT, + 0, + (_DEFAULT, _V_, _E_), + ((-1, {_sV: _def}), (-1, {_sV: _v_____}), (-1, {_sV: _e_})), +) + +BANDWIDTH_WEIGHTING_TYPE_LIST: StaticSchema = ( + 16, + n0, + _BWTL, + 0, + (_me,), + ((BANDWIDTH_WEIGHTING_TYPE, {_sN: _i}),), +) + +DEFAULT_TCP_ESTABLISHED_TIMEOUT: StaticSchema = (7, n0, _DTET, 0) + +DEFAULT_UDP_STREAM_TIMEOUT: StaticSchema = (7, n0, _DUST, 0) + +DEFAULT_UDP_TIMEOUT: StaticSchema = (7, n0, _DUT, 0) + +DEFAULT_CONNECTION_TRACKING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DCTC, + 0, + (_DTET, _DUT, _DUST), + ( + (DEFAULT_TCP_ESTABLISHED_TIMEOUT, {_aQN: _DTET, _sN: _dTET}), + (DEFAULT_UDP_TIMEOUT, {_aQN: _DUT, _sN: _dUT}), + (DEFAULT_UDP_STREAM_TIMEOUT, {_aQN: _DUST, _sN: _dUST}), + ), +) + +DEFAULT_NETWORK_CARD_INDEX: StaticSchema = (7, n0, _DNCI, 0) + +MAXIMUM_EFA_INTERFACES: StaticSchema = (7, n0, _MEI, 0) + +EFA_INFO: StaticSchema = ( + 18, + n0, + _EIf, + 0, + (_MEI,), + ((MAXIMUM_EFA_INTERFACES, {_aQN: _MEI, _sN: _mEI}),), +) + +EFA_SUPPORTED_FLAG: StaticSchema = (2, n0, _ESF, 0) + +ENA_SRD_SUPPORTED: StaticSchema = (2, n0, _ESSn, 0) + +ENA_SUPPORT: StaticSchema = ( + 14, + n0, + _ESna, + 0, + (_uns, _supp, _requ), + ((-1, {_sV: _uns}), (-1, {_sV: _supp}), (-1, {_sV: _requ})), +) + +ENCRYPTION_IN_TRANSIT_SUPPORTED: StaticSchema = (2, n0, _EITSn, 0) + +FLEXIBLE_ENA_QUEUES_SUPPORT: StaticSchema = ( + 14, + n0, + _FEQS, + 0, + (_UNSUPPORTED, _SUPPORTED), + ((-1, {_sV: _uns}), (-1, {_sV: _supp})), +) + +MAX_IPV4_ADDR_PER_INTERFACE: StaticSchema = (7, n0, _MIAPI, 0) + +IPV4_ADDRESSES_PER_SECONDARY_INTERFACE: StaticSchema = (7, n0, _IAPSI, 0) + +MAX_IPV6_ADDR_PER_INTERFACE: StaticSchema = (7, n0, _MIAPIa, 0) + +IPV6_FLAG: StaticSchema = (2, n0, _IFp, 0) + +MAXIMUM_NETWORK_CARDS: StaticSchema = (7, n0, _MNC, 0) + +MAX_NETWORK_INTERFACES: StaticSchema = (7, n0, _MNI, 0) + +MAXIMUM_SECONDARY_NETWORK_INTERFACES: StaticSchema = (7, n0, _MSNI, 0) + +BASELINE_BANDWIDTH_IN_GBPS: StaticSchema = (10, n0, _BBIG, 0) + +DEFAULT_ENA_QUEUE_COUNT_PER_INTERFACE: StaticSchema = (7, n0, _DEQCPI, 0) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_3.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_3.py new file mode 100644 index 000000000..7eeb2ad0c --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_3.py @@ -0,0 +1,1513 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_AI = "AllocationId" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_TGAI = "TransitGatewayAttachmentId" +_de = "deleting" +_del = "deleted" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_TGMDI = "TransitGatewayMulticastDomainId" +_SI = "SubnetIds" +_as = "associating" +_ass = "associated" +_di = "disassociating" +_dis = "disassociated" +_fa = "failed" +_SIu = "SubnetId" +_sI = "subnetId" +_As = "Associations" +_asso = "associations" +_OIw = "OwnerId" +_oI = "ownerId" +_fai = "failing" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_dRr = "dryRun" +_CB = "CidrBlock" +_cB = "cidrBlock" +_ICB = "Ipv6CidrBlock" +_iCB = "ipv6CidrBlock" +_act = "active" +_Ci = "Cidr" +_N = "Name" +_nam = "name" +_AZ = "AvailabilityZone" +_AZI = "AvailabilityZoneId" +_GI = "GatewayId" +_II = "InstanceId" +_iI = "instanceId" +_NGI = "NatGatewayId" +_nGI = "natGatewayId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SGI = "SecurityGroupId" +_AIt = "AttachmentId" +_aIt = "attachmentId" +_Des = "Description" +_AIs = "AssociationId" +_aIs = "associationId" +_PIAr = "PrivateIpAddress" +_PIP = "PublicIpv4Pool" +_NBG = "NetworkBorderGroup" +_nBG = "networkBorderGroup" +_Asn = "Asn" +_AAs = "AsnAssociation" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_CTl = "ClientToken" +_cTl = "clientToken" +_NL = "NetmaskLength" +_sT = "smithy.api#idempotencyToken" +_AIl = "AllocationIds" +_PIAri = "PrivateIpAddresses" +_ASSOCIATING = "ASSOCIATING" +_DISASSOCIATING = "DISASSOCIATING" +_NGAa = "NatGatewayAddresses" +_NGASa = "NatGatewayAddressSet" +_nGAS = "natGatewayAddressSet" +_IIn = "InstanceIds" +_sU = "smithy.api#Unit" +_ASSOCIATED = "ASSOCIATED" +_DHIe = "DedicatedHostIds" +_IEWI = "InstanceEventWindowId" +_AIEWI = "AssociateInstanceEventWindowInput" +_cAIEWR = "com.amazonaws.ec2#AssociateInstanceEventWindowRequest" +_ATss = "AssociationTarget" +_IEWAT = "InstanceEventWindowAssociationTarget" +_IIS = "InstanceIdSet" +_iIS = "instanceIdSet" +_DHIS = "DedicatedHostIdSet" +_dHIS = "dedicatedHostIdSet" +_IEWCE = "InstanceEventWindowCronExpression" +_IEWS = "InstanceEventWindowState" +_cre = "creating" +_Ho = "Hour" +_WD = "WeekDay" +_sun = "sunday" +_mon = "monday" +_tu = "tuesday" +_w = "wednesday" +_th = "thursday" +_fri = "friday" +_sa = "saturday" +_IEWTR = "InstanceEventWindowTimeRange" +_SWD = "StartWeekDay" +_sWD = "startWeekDay" +_SH = "StartHour" +_sH = "startHour" +_EWD = "EndWeekDay" +_eWD = "endWeekDay" +_EH = "EndHour" +_eH = "endHour" +_IEWTRL = "InstanceEventWindowTimeRangeList" +_IEW = "InstanceEventWindow" +_iEWI = "instanceEventWindowId" +_TRi = "TimeRanges" +_TRSi = "TimeRangeSet" +_tRSi = "timeRangeSet" +_CE = "CronExpression" +_cE = "cronExpression" +_aTss = "associationTarget" +_AIEWO = "AssociateInstanceEventWindowOutput" +_cAIEWRo = "com.amazonaws.ec2#AssociateInstanceEventWindowResult" +_iEW = "instanceEventWindow" +_AIEW = "AssociateInstanceEventWindow" +_AIBI = "AssociateIpamByoasnInput" +_cAIBR = "com.amazonaws.ec2#AssociateIpamByoasnRequest" +_AIBO = "AssociateIpamByoasnOutput" +_cAIBRo = "com.amazonaws.ec2#AssociateIpamByoasnResult" +_aA = "asnAssociation" +_AIB = "AssociateIpamByoasn" +_IIp = "IpamId" +_IRDI = "IpamResourceDiscoveryId" +_AIRDI = "AssociateIpamResourceDiscoveryInput" +_cAIRDR = "com.amazonaws.ec2#AssociateIpamResourceDiscoveryRequest" +_IRDAI = "IpamResourceDiscoveryAssociationId" +_IARDS = "IpamAssociatedResourceDiscoveryStatus" +_ACTIVE = "ACTIVE" +_NF = "NOT_FOUND" +_nf__ = "not-found" +_IRDAS = "IpamResourceDiscoveryAssociationState" +_AIP_ = "ASSOCIATE_IN_PROGRESS" +_aip = "associate-in-progress" +_AC_ = "ASSOCIATE_COMPLETE" +_ac_ = "associate-complete" +_AF_ = "ASSOCIATE_FAILED" +_af__ = "associate-failed" +_DIP = "DISASSOCIATE_IN_PROGRESS" +_dip = "disassociate-in-progress" +_DC_ = "DISASSOCIATE_COMPLETE" +_dc = "disassociate-complete" +_DF = "DISASSOCIATE_FAILED" +_df = "disassociate-failed" +_IIP_ = "ISOLATE_IN_PROGRESS" +_iip = "isolate-in-progress" +_IC_ = "ISOLATE_COMPLETE" +_ic = "isolate-complete" +_RIP = "RESTORE_IN_PROGRESS" +_rip = "restore-in-progress" +_IRDA = "IpamResourceDiscoveryAssociation" +_iRDAI = "ipamResourceDiscoveryAssociationId" +_IRDAA = "IpamResourceDiscoveryAssociationArn" +_iRDAA = "ipamResourceDiscoveryAssociationArn" +_iRDI = "ipamResourceDiscoveryId" +_iIp = "ipamId" +_IApa = "IpamArn" +_iAp = "ipamArn" +_IR = "IpamRegion" +_iRp = "ipamRegion" +_ID = "IsDefault" +_iD = "isDefault" +_RDS = "ResourceDiscoveryStatus" +_rDS = "resourceDiscoveryStatus" +_AIRDO = "AssociateIpamResourceDiscoveryOutput" +_cAIRDRo = "com.amazonaws.ec2#AssociateIpamResourceDiscoveryResult" +_iRDA = "ipamResourceDiscoveryAssociation" +_AIRD = "AssociateIpamResourceDiscovery" +_ANGAI = "AssociateNatGatewayAddressInput" +_cANGAR = "com.amazonaws.ec2#AssociateNatGatewayAddressRequest" +_ANGAO = "AssociateNatGatewayAddressOutput" +_cANGARo = "com.amazonaws.ec2#AssociateNatGatewayAddressResult" +_ANGA = "AssociateNatGatewayAddress" +_RSI = "RouteServerId" +_ARSI = "AssociateRouteServerInput" +_cARSR = "com.amazonaws.ec2#AssociateRouteServerRequest" +_RSAS = "RouteServerAssociationState" +_RSA = "RouteServerAssociation" +_rSI = "routeServerId" +_ARSO = "AssociateRouteServerOutput" +_cARSRo = "com.amazonaws.ec2#AssociateRouteServerResult" +_rSA = "routeServerAssociation" +_ARS = "AssociateRouteServer" +_RTIo = "RouteTableId" +_ARTI = "AssociateRouteTableInput" +_cARTR = "com.amazonaws.ec2#AssociateRouteTableRequest" +_rTIo = "routeTableId" +_RTASC = "RouteTableAssociationStateCode" +_RTAS = "RouteTableAssociationState" +_ARTO = "AssociateRouteTableOutput" +_cARTRo = "com.amazonaws.ec2#AssociateRouteTableResult" +_ASss = "AssociationState" +_aSs = "associationState" +_ART = "AssociateRouteTable" +_ASGVI = "AssociateSecurityGroupVpcInput" +_cASGVR = "com.amazonaws.ec2#AssociateSecurityGroupVpcRequest" +_GIr = "GroupId" +_ASGVO = "AssociateSecurityGroupVpcOutput" +_cASGVRo = "com.amazonaws.ec2#AssociateSecurityGroupVpcResult" +_ASGV = "AssociateSecurityGroupVpc" +_ASCBI = "AssociateSubnetCidrBlockInput" +_cASCBR = "com.amazonaws.ec2#AssociateSubnetCidrBlockRequest" +_IIPI = "Ipv6IpamPoolId" +_INL = "Ipv6NetmaskLength" +_SCAI = "SubnetCidrAssociationId" +_ISp = "IpSource" +_ama = "amazon" +_b = "byoip" +_no = "none" +_IAA = "Ipv6AddressAttribute" +_pu = "public" +_priv = "private" +_SCBSC = "SubnetCidrBlockStateCode" +_SCBS = "SubnetCidrBlockState" +_SICBA = "SubnetIpv6CidrBlockAssociation" +_ICBSp = "Ipv6CidrBlockState" +_iCBSp = "ipv6CidrBlockState" +_iAA = "ipv6AddressAttribute" +_iSp = "ipSource" +_ASCBO = "AssociateSubnetCidrBlockOutput" +_cASCBRo = "com.amazonaws.ec2#AssociateSubnetCidrBlockResult" +_ICBA = "Ipv6CidrBlockAssociation" +_iCBA = "ipv6CidrBlockAssociation" +_ASCB = "AssociateSubnetCidrBlock" +_ATGMDI = "AssociateTransitGatewayMulticastDomainInput" +_cATGMDR = "com.amazonaws.ec2#AssociateTransitGatewayMulticastDomainRequest" +_ATGMDO = "AssociateTransitGatewayMulticastDomainOutput" +_cATGMDRo = "com.amazonaws.ec2#AssociateTransitGatewayMulticastDomainResult" +_ATGMD = "AssociateTransitGatewayMulticastDomain" +_TGPTI = "TransitGatewayPolicyTableId" +_ATGPTI = "AssociateTransitGatewayPolicyTableInput" +_cATGPTR = "com.amazonaws.ec2#AssociateTransitGatewayPolicyTableRequest" +_ATGPTO = "AssociateTransitGatewayPolicyTableOutput" +_cATGPTRo = "com.amazonaws.ec2#AssociateTransitGatewayPolicyTableResult" +_Ass = "Association" +_assoc = "association" +_ATGPT = "AssociateTransitGatewayPolicyTable" +_TGRTI = "TransitGatewayRouteTableId" +_ATGRTI = "AssociateTransitGatewayRouteTableInput" +_cATGRTR = "com.amazonaws.ec2#AssociateTransitGatewayRouteTableRequest" +_ATGRTO = "AssociateTransitGatewayRouteTableOutput" +_cATGRTRo = "com.amazonaws.ec2#AssociateTransitGatewayRouteTableResult" +_ATGRT = "AssociateTransitGatewayRouteTable" +_ATII = "AssociateTrunkInterfaceInput" +_cATIR = "com.amazonaws.ec2#AssociateTrunkInterfaceRequest" +_BII = "BranchInterfaceId" +_TII = "TrunkInterfaceId" +_VIl = "VlanId" +_GK = "GreKey" +_IPT = "InterfaceProtocolType" +_VLAN = "VLAN" +_GRE = "GRE" +_TIA = "TrunkInterfaceAssociation" +_bII = "branchInterfaceId" +_tII = "trunkInterfaceId" +_IPn = "InterfaceProtocol" +_iPn = "interfaceProtocol" +_vIl = "vlanId" +_gK = "greKey" +_ATIO = "AssociateTrunkInterfaceOutput" +_cATIRo = "com.amazonaws.ec2#AssociateTrunkInterfaceResult" +_IAn = "InterfaceAssociation" +_iAn = "interfaceAssociation" +_ATIs = "AssociateTrunkInterface" +_AVCBI = "AssociateVpcCidrBlockInput" +_cAVCBR = "com.amazonaws.ec2#AssociateVpcCidrBlockRequest" +_ICBNBG = "Ipv6CidrBlockNetworkBorderGroup" +_IPpvo = "Ipv6Pool" +_IIPIp = "Ipv4IpamPoolId" +_INLp = "Ipv4NetmaskLength" +_APICB = "AmazonProvidedIpv6CidrBlock" +_aPICB = "amazonProvidedIpv6CidrBlock" +_VCBSC = "VpcCidrBlockStateCode" +_VCBS = "VpcCidrBlockState" +_VCBA = "VpcCidrBlockAssociation" +_CBSi = "CidrBlockState" +_cBSi = "cidrBlockState" +_VICBA = "VpcIpv6CidrBlockAssociation" +_iPpv = "ipv6Pool" +_AVCBO = "AssociateVpcCidrBlockOutput" +_cAVCBRo = "com.amazonaws.ec2#AssociateVpcCidrBlockResult" +_CBA = "CidrBlockAssociation" +_cBA = "cidrBlockAssociation" +_AVCB = "AssociateVpcCidrBlock" +_ACLVI = "AttachClassicLinkVpcInput" +_cACLVR = "com.amazonaws.ec2#AttachClassicLinkVpcRequest" +_G = "Groups" +_ACLVO = "AttachClassicLinkVpcOutput" +_cACLVRo = "com.amazonaws.ec2#AttachClassicLinkVpcResult" +_ACLV = "AttachClassicLinkVpc" +_IIm = "ImageId" +_IWNR = "ImageWatermarkNameRequest" +_AIWI = "AttachImageWatermarkInput" +_cAIWR = "com.amazonaws.ec2#AttachImageWatermarkRequest" +_WN = "WatermarkName" +_AIWO = "AttachImageWatermarkOutput" +_cAIWRo = "com.amazonaws.ec2#AttachImageWatermarkResult" +_WK = "WatermarkKey" +_wK = "watermarkKey" +_AIW = "AttachImageWatermark" +_IGI = "InternetGatewayId" +_AIGI = "AttachInternetGatewayInput" +_cAIGR = "com.amazonaws.ec2#AttachInternetGatewayRequest" +_iGI = "internetGatewayId" +_AIGO = "AttachInternetGatewayOutput" +_AIG = "AttachInternetGateway" +_ESUS = "EnaSrdUdpSpecification" +_ESUE = "EnaSrdUdpEnabled" +_ESS = "EnaSrdSpecification" +_ESE = "EnaSrdEnabled" +_ANII = "AttachNetworkInterfaceInput" +_cANIR = "com.amazonaws.ec2#AttachNetworkInterfaceRequest" +_NCI = "NetworkCardIndex" +_EQC = "EnaQueueCount" +_DI = "DeviceIndex" +_dI = "deviceIndex" +_ANIO = "AttachNetworkInterfaceOutput" +_cANIRo = "com.amazonaws.ec2#AttachNetworkInterfaceResult" +_nCI = "networkCardIndex" +_ANI = "AttachNetworkInterface" +_VAII = "VerifiedAccessInstanceId" +_VATPI = "VerifiedAccessTrustProviderId" +_AVATPI = "AttachVerifiedAccessTrustProviderInput" +_cAVATPR = "com.amazonaws.ec2#AttachVerifiedAccessTrustProviderRequest" +_VAICSD = "VerifiedAccessInstanceCustomSubDomain" +_SD = "SubDomain" +_sD = "subDomain" +_Na = "Nameservers" +_NS = "NameserverSet" +_nS = "nameserverSet" +_DTPT = "DeviceTrustProviderType" +_j = "jamf" +_cro = "crowdstrike" +_ju = "jumpcloud" +_TPT = "TrustProviderType" +_use = "user" +_dev = "device" +_UTPT = "UserTrustProviderType" +_iic = "iam_identity_center" +_iic_ = "iam-identity-center" +_oi = "oidc" +_VATPC = "VerifiedAccessTrustProviderCondensed" +_vATPI = "verifiedAccessTrustProviderId" +_tPT = "trustProviderType" +_uTPT = "userTrustProviderType" +_dTPT = "deviceTrustProviderType" +_VATPCL = "VerifiedAccessTrustProviderCondensedList" +_VAI = "VerifiedAccessInstance" +_vAII = "verifiedAccessInstanceId" +_VATP = "VerifiedAccessTrustProviders" +_VATPS = "VerifiedAccessTrustProviderSet" +_vATPS = "verifiedAccessTrustProviderSet" +_LUTa = "LastUpdatedTime" +_lUTa = "lastUpdatedTime" +_FE = "FipsEnabled" +_fE = "fipsEnabled" +_CECSD = "CidrEndpointsCustomSubDomain" +_cECSD = "cidrEndpointsCustomSubDomain" +_DO = "DeviceOptions" +_TI = "TenantId" +_tI = "tenantId" +_PSKU = "PublicSigningKeyUrl" +_pSKU = "publicSigningKeyUrl" +_NAOO = "NativeApplicationOidcOptions" +_PSKE = "PublicSigningKeyEndpoint" +_pSKE = "publicSigningKeyEndpoint" +_Is = "Issuer" +_iss = "issuer" +_AE = "AuthorizationEndpoint" +_aE = "authorizationEndpoint" +_TE = "TokenEndpoint" +_tE = "tokenEndpoint" +_UIEs = "UserInfoEndpoint" +_uIE = "userInfoEndpoint" +_CIl = "ClientId" +_cIl = "clientId" +_Sc = "Scope" +_sc = "scope" +_CST = "ClientSecretType" +_smith = "smithy.api#sensitive" +_VATPe = "VerifiedAccessTrustProvider" +_AVATPO = "AttachVerifiedAccessTrustProviderOutput" +_cAVATPRo = "com.amazonaws.ec2#AttachVerifiedAccessTrustProviderResult" +_vATP = "verifiedAccessTrustProvider" +_vAI = "verifiedAccessInstance" +_AVATP = "AttachVerifiedAccessTrustProvider" +_IISLm = "ImageIdStringList" + +INSTANCE_EVENT_WINDOW_ID: StaticSchema = (3, n0, _IEWI, 0) + +ASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( + 18, + n0, + _AIEWI, + {_sSI: _cAIEWR, _sm: None}, + (_DR, _IEWI, _ATss), + ( + (lambda: schemas.BOOLEAN, 0), + (INSTANCE_EVENT_WINDOW_ID, 1), + (lambda: schemas.INSTANCE_EVENT_WINDOW_ASSOCIATION_REQUEST, 1), + ), +) + +ASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( + 18, + n0, + _AIEWO, + {_sSI: _cAIEWRo, _smit: None}, + (_IEW,), + ((lambda: INSTANCE_EVENT_WINDOW, {_aQN: _IEW, _sN: _iEW}),), +) + +ASSOCIATE_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( + 23, + n0, + _AIEW, + 0, + ASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT, + ASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT, + (), +) + +INSTANCE_EVENT_WINDOW_ASSOCIATION_TARGET: StaticSchema = ( + 18, + n0, + _IEWAT, + 0, + (_IIn, _Tag, _DHIe), + ( + (lambda: schemas.INSTANCE_ID_LIST, {_aQN: _IIS, _sN: _iIS}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.DEDICATED_HOST_ID_LIST, {_aQN: _DHIS, _sN: _dHIS}), + ), +) + +INSTANCE_EVENT_WINDOW_CRON_EXPRESSION: StaticSchema = (3, n0, _IEWCE, 0) + +INSTANCE_EVENT_WINDOW_STATE: StaticSchema = ( + 14, + n0, + _IEWS, + 0, + (_cre, _de, _act, _del), + ((-1, {_sV: _cre}), (-1, {_sV: _de}), (-1, {_sV: _act}), (-1, {_sV: _del})), +) + +HOUR: StaticSchema = (7, n0, _Ho, 0) + +WEEK_DAY: StaticSchema = ( + 14, + n0, + _WD, + 0, + (_sun, _mon, _tu, _w, _th, _fri, _sa), + ( + (-1, {_sV: _sun}), + (-1, {_sV: _mon}), + (-1, {_sV: _tu}), + (-1, {_sV: _w}), + (-1, {_sV: _th}), + (-1, {_sV: _fri}), + (-1, {_sV: _sa}), + ), +) + +INSTANCE_EVENT_WINDOW_TIME_RANGE: StaticSchema = ( + 18, + n0, + _IEWTR, + 0, + (_SWD, _SH, _EWD, _EH), + ( + (WEEK_DAY, {_aQN: _SWD, _sN: _sWD}), + (HOUR, {_aQN: _SH, _sN: _sH}), + (WEEK_DAY, {_aQN: _EWD, _sN: _eWD}), + (HOUR, {_aQN: _EH, _sN: _eH}), + ), +) + +INSTANCE_EVENT_WINDOW_TIME_RANGE_LIST: StaticSchema = ( + 16, + n0, + _IEWTRL, + 0, + (_me,), + ((INSTANCE_EVENT_WINDOW_TIME_RANGE, {_sN: _i}),), +) + +INSTANCE_EVENT_WINDOW: StaticSchema = ( + 18, + n0, + _IEW, + 0, + (_IEWI, _TRi, _N, _CE, _ATss, _St, _Tag), + ( + (INSTANCE_EVENT_WINDOW_ID, {_aQN: _IEWI, _sN: _iEWI}), + (INSTANCE_EVENT_WINDOW_TIME_RANGE_LIST, {_aQN: _TRSi, _sN: _tRSi}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + (INSTANCE_EVENT_WINDOW_CRON_EXPRESSION, {_aQN: _CE, _sN: _cE}), + (INSTANCE_EVENT_WINDOW_ASSOCIATION_TARGET, {_aQN: _ATss, _sN: _aTss}), + (INSTANCE_EVENT_WINDOW_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +ASSOCIATE_IPAM_BYOASN_INPUT: StaticSchema = ( + 18, + n0, + _AIBI, + {_sSI: _cAIBR, _sm: None}, + (_DR, _Asn, _Ci), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + ), +) + +ASSOCIATE_IPAM_BYOASN_OUTPUT: StaticSchema = ( + 18, + n0, + _AIBO, + {_sSI: _cAIBRo, _smit: None}, + (_AAs,), + ((lambda: schemas.ASN_ASSOCIATION, {_aQN: _AAs, _sN: _aA}),), +) + +ASSOCIATE_IPAM_BYOASN: StaticOperationSchema = ( + 23, + n0, + _AIB, + 0, + ASSOCIATE_IPAM_BYOASN_INPUT, + ASSOCIATE_IPAM_BYOASN_OUTPUT, + (), +) + +ASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( + 18, + n0, + _AIRDI, + {_sSI: _cAIRDR, _sm: None}, + (_DR, _IIp, _IRDI, _TSa, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + ), +) + +ASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( + 18, + n0, + _AIRDO, + {_sSI: _cAIRDRo, _smit: None}, + (_IRDA,), + ((lambda: IPAM_RESOURCE_DISCOVERY_ASSOCIATION, {_aQN: _IRDA, _sN: _iRDA}),), +) + +ASSOCIATE_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( + 23, + n0, + _AIRD, + 0, + ASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT, + ASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT, + (), +) + +IPAM_ASSOCIATED_RESOURCE_DISCOVERY_STATUS: StaticSchema = ( + 14, + n0, + _IARDS, + 0, + (_ACTIVE, _NF), + ((-1, {_sV: _act}), (-1, {_sV: _nf__})), +) + +IPAM_RESOURCE_DISCOVERY_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _IRDAS, + 0, + (_AIP_, _AC_, _AF_, _DIP, _DC_, _DF, _IIP_, _IC_, _RIP), + ( + (-1, {_sV: _aip}), + (-1, {_sV: _ac_}), + (-1, {_sV: _af__}), + (-1, {_sV: _dip}), + (-1, {_sV: _dc}), + (-1, {_sV: _df}), + (-1, {_sV: _iip}), + (-1, {_sV: _ic}), + (-1, {_sV: _rip}), + ), +) + +IPAM_RESOURCE_DISCOVERY_ASSOCIATION: StaticSchema = ( + 18, + n0, + _IRDA, + 0, + (_OIw, _IRDAI, _IRDAA, _IRDI, _IIp, _IApa, _IR, _ID, _RDS, _St, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + ( + lambda: schemas.IPAM_RESOURCE_DISCOVERY_ASSOCIATION_ID, + {_aQN: _IRDAI, _sN: _iRDAI}, + ), + (lambda: schemas.STRING, {_aQN: _IRDAA, _sN: _iRDAA}), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), + (lambda: schemas.IPAM_ID, {_aQN: _IIp, _sN: _iIp}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _IApa, _sN: _iAp}), + (lambda: schemas.STRING, {_aQN: _IR, _sN: _iRp}), + (lambda: schemas.BOOLEAN, {_aQN: _ID, _sN: _iD}), + (IPAM_ASSOCIATED_RESOURCE_DISCOVERY_STATUS, {_aQN: _RDS, _sN: _rDS}), + (IPAM_RESOURCE_DISCOVERY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +ASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT: StaticSchema = ( + 18, + n0, + _ANGAI, + {_sSI: _cANGAR, _sm: None}, + (_NGI, _AIl, _PIAri, _DR, _AZ, _AZI), + ( + (lambda: schemas.NAT_GATEWAY_ID, 1), + (lambda: schemas.ALLOCATION_ID_LIST, {_sN: _AI, _smi: None}), + (lambda: schemas.IP_LIST, {_sN: _PIAr}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.AVAILABILITY_ZONE_NAME, 0), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + ), +) + +ASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _ANGAO, + {_sSI: _cANGARo, _smit: None}, + (_NGI, _NGAa), + ( + (lambda: schemas.NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), + (lambda: schemas.NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), + ), +) + +ASSOCIATE_NAT_GATEWAY_ADDRESS: StaticOperationSchema = ( + 23, + n0, + _ANGA, + 0, + ASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT, + ASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT, + (), +) + +ASSOCIATE_ROUTE_SERVER_INPUT: StaticSchema = ( + 18, + n0, + _ARSI, + {_sSI: _cARSR, _sm: None}, + (_RSI, _VI, _DR), + ( + (lambda: schemas.ROUTE_SERVER_ID, 1), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ASSOCIATE_ROUTE_SERVER_OUTPUT: StaticSchema = ( + 18, + n0, + _ARSO, + {_sSI: _cARSRo, _smit: None}, + (_RSA,), + ((lambda: ROUTE_SERVER_ASSOCIATION, {_aQN: _RSA, _sN: _rSA}),), +) + +ASSOCIATE_ROUTE_SERVER: StaticOperationSchema = ( + 23, + n0, + _ARS, + 0, + ASSOCIATE_ROUTE_SERVER_INPUT, + ASSOCIATE_ROUTE_SERVER_OUTPUT, + (), +) + +ROUTE_SERVER_ASSOCIATION_STATE: StaticSchema = ( + 14, + n0, + _RSAS, + 0, + (_ASSOCIATING, _ASSOCIATED, _DISASSOCIATING), + ((-1, {_sV: _as}), (-1, {_sV: _ass}), (-1, {_sV: _di})), +) + +ROUTE_SERVER_ASSOCIATION: StaticSchema = ( + 18, + n0, + _RSA, + 0, + (_RSI, _VI, _St), + ( + (lambda: schemas.ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI}), + (ROUTE_SERVER_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +ASSOCIATE_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _ARTI, + {_sSI: _cARTR, _sm: None}, + (_GI, _PIP, _DR, _SIu, _RTIo), + ( + (lambda: schemas.ROUTE_GATEWAY_ID, 0), + (lambda: schemas.IPV4_POOL_EC2_ID, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), + ), +) + +ASSOCIATE_ROUTE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _ARTO, + {_sSI: _cARTRo, _smit: None}, + (_AIs, _ASss), + ( + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (lambda: ROUTE_TABLE_ASSOCIATION_STATE, {_aQN: _ASss, _sN: _aSs}), + ), +) + +ASSOCIATE_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _ART, + 0, + ASSOCIATE_ROUTE_TABLE_INPUT, + ASSOCIATE_ROUTE_TABLE_OUTPUT, + (), +) + +ROUTE_TABLE_ASSOCIATION_STATE_CODE: StaticSchema = ( + 14, + n0, + _RTASC, + 0, + (_as, _ass, _di, _dis, _fa), + ( + (-1, {_sV: _as}), + (-1, {_sV: _ass}), + (-1, {_sV: _di}), + (-1, {_sV: _dis}), + (-1, {_sV: _fa}), + ), +) + +ROUTE_TABLE_ASSOCIATION_STATE: StaticSchema = ( + 18, + n0, + _RTAS, + 0, + (_St, _SMt), + ( + (ROUTE_TABLE_ASSOCIATION_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + ), +) + +ASSOCIATE_SECURITY_GROUP_VPC_INPUT: StaticSchema = ( + 18, + n0, + _ASGVI, + {_sSI: _cASGVR, _sm: None}, + (_GIr, _VI, _DR), + ( + (lambda: schemas.SECURITY_GROUP_ID, 1), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ASSOCIATE_SECURITY_GROUP_VPC_OUTPUT: StaticSchema = ( + 18, + n0, + _ASGVO, + {_sSI: _cASGVRo, _smit: None}, + (_St,), + ((lambda: schemas.SECURITY_GROUP_VPC_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}),), +) + +ASSOCIATE_SECURITY_GROUP_VPC: StaticOperationSchema = ( + 23, + n0, + _ASGV, + 0, + ASSOCIATE_SECURITY_GROUP_VPC_INPUT, + ASSOCIATE_SECURITY_GROUP_VPC_OUTPUT, + (), +) + +NETMASK_LENGTH: StaticSchema = (7, n0, _NL, 0) + +ASSOCIATE_SUBNET_CIDR_BLOCK_INPUT: StaticSchema = ( + 18, + n0, + _ASCBI, + {_sSI: _cASCBR, _sm: None}, + (_IIPI, _INL, _SIu, _ICB), + ( + (lambda: schemas.IPAM_POOL_ID, 0), + (NETMASK_LENGTH, 0), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI, _smi: None}), + (lambda: schemas.STRING, {_aQN: _ICB, _sN: _iCB}), + ), +) + +ASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT: StaticSchema = ( + 18, + n0, + _ASCBO, + {_sSI: _cASCBRo, _smit: None}, + (_ICBA, _SIu), + ( + (lambda: SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION, {_aQN: _ICBA, _sN: _iCBA}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + ), +) + +ASSOCIATE_SUBNET_CIDR_BLOCK: StaticOperationSchema = ( + 23, + n0, + _ASCB, + 0, + ASSOCIATE_SUBNET_CIDR_BLOCK_INPUT, + ASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT, + (), +) + +SUBNET_CIDR_ASSOCIATION_ID: StaticSchema = (3, n0, _SCAI, 0) + +IP_SOURCE: StaticSchema = ( + 14, + n0, + _ISp, + 0, + (_ama, _b, _no), + ((-1, {_sV: _ama}), (-1, {_sV: _b}), (-1, {_sV: _no})), +) + +IPV6_ADDRESS_ATTRIBUTE: StaticSchema = ( + 14, + n0, + _IAA, + 0, + (_pu, _priv), + ((-1, {_sV: _pu}), (-1, {_sV: _priv})), +) + +SUBNET_CIDR_BLOCK_STATE_CODE: StaticSchema = ( + 14, + n0, + _SCBSC, + 0, + (_as, _ass, _di, _dis, _fai, _fa), + ( + (-1, {_sV: _as}), + (-1, {_sV: _ass}), + (-1, {_sV: _di}), + (-1, {_sV: _dis}), + (-1, {_sV: _fai}), + (-1, {_sV: _fa}), + ), +) + +SUBNET_CIDR_BLOCK_STATE: StaticSchema = ( + 18, + n0, + _SCBS, + 0, + (_St, _SMt), + ( + (SUBNET_CIDR_BLOCK_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + ), +) + +SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( + 18, + n0, + _SICBA, + 0, + (_AIs, _ICB, _ICBSp, _IAA, _ISp), + ( + (SUBNET_CIDR_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.STRING, {_aQN: _ICB, _sN: _iCB}), + (SUBNET_CIDR_BLOCK_STATE, {_aQN: _ICBSp, _sN: _iCBSp}), + (IPV6_ADDRESS_ATTRIBUTE, {_aQN: _IAA, _sN: _iAA}), + (IP_SOURCE, {_aQN: _ISp, _sN: _iSp}), + ), +) + +ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT: StaticSchema = ( + 18, + n0, + _ATGMDI, + {_sSI: _cATGMDR, _sm: None}, + (_TGMDI, _TGAI, _SI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_SUBNET_ID_LIST, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT: StaticSchema = ( + 18, + n0, + _ATGMDO, + {_sSI: _cATGMDRo, _smit: None}, + (_As,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS, + {_aQN: _As, _sN: _asso}, + ), + ), +) + +ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticOperationSchema = ( + 23, + n0, + _ATGMD, + 0, + ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT, + ASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT, + (), +) + +ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _ATGPTI, + {_sSI: _cATGPTR, _sm: None}, + (_TGPTI, _TGAI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _ATGPTO, + {_sSI: _cATGPTRo, _smit: None}, + (_Ass,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION, + {_aQN: _Ass, _sN: _assoc}, + ), + ), +) + +ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE: StaticOperationSchema = ( + 23, + n0, + _ATGPT, + 0, + ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT, + ASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT, + (), +) + +ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _ATGRTI, + {_sSI: _cATGRTR, _sm: None}, + (_TGRTI, _TGAI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _ATGRTO, + {_sSI: _cATGRTRo, _smit: None}, + (_Ass,), + ((lambda: schemas.TRANSIT_GATEWAY_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}),), +) + +ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _ATGRT, + 0, + ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT, + ASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT, + (), +) + +ASSOCIATE_TRUNK_INTERFACE_INPUT: StaticSchema = ( + 18, + n0, + _ATII, + {_sSI: _cATIR, _sm: None}, + (_BII, _TII, _VIl, _GK, _CTl, _DR), + ( + (lambda: schemas.NETWORK_INTERFACE_ID, 1), + (lambda: schemas.NETWORK_INTERFACE_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ASSOCIATE_TRUNK_INTERFACE_OUTPUT: StaticSchema = ( + 18, + n0, + _ATIO, + {_sSI: _cATIRo, _smit: None}, + (_IAn, _CTl), + ( + (lambda: TRUNK_INTERFACE_ASSOCIATION, {_aQN: _IAn, _sN: _iAn}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +ASSOCIATE_TRUNK_INTERFACE: StaticOperationSchema = ( + 23, + n0, + _ATIs, + 0, + ASSOCIATE_TRUNK_INTERFACE_INPUT, + ASSOCIATE_TRUNK_INTERFACE_OUTPUT, + (), +) + +INTERFACE_PROTOCOL_TYPE: StaticSchema = ( + 14, + n0, + _IPT, + 0, + (_VLAN, _GRE), + ((-1, {_sV: _VLAN}), (-1, {_sV: _GRE})), +) + +TRUNK_INTERFACE_ASSOCIATION: StaticSchema = ( + 18, + n0, + _TIA, + 0, + (_AIs, _BII, _TII, _IPn, _VIl, _GK, _Tag), + ( + (lambda: schemas.TRUNK_INTERFACE_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.STRING, {_aQN: _BII, _sN: _bII}), + (lambda: schemas.STRING, {_aQN: _TII, _sN: _tII}), + (INTERFACE_PROTOCOL_TYPE, {_aQN: _IPn, _sN: _iPn}), + (lambda: schemas.INTEGER, {_aQN: _VIl, _sN: _vIl}), + (lambda: schemas.INTEGER, {_aQN: _GK, _sN: _gK}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +ASSOCIATE_VPC_CIDR_BLOCK_INPUT: StaticSchema = ( + 18, + n0, + _AVCBI, + {_sSI: _cAVCBR, _sm: None}, + (_CB, _ICBNBG, _IPpvo, _ICB, _IIPIp, _INLp, _IIPI, _INL, _VI, _APICB), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPV6_POOL_EC2_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPAM_POOL_ID, 0), + (NETMASK_LENGTH, 0), + (lambda: schemas.IPAM_POOL_ID, 0), + (NETMASK_LENGTH, 0), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _APICB, _sN: _aPICB}), + ), +) + +ASSOCIATE_VPC_CIDR_BLOCK_OUTPUT: StaticSchema = ( + 18, + n0, + _AVCBO, + {_sSI: _cAVCBRo, _smit: None}, + (_ICBA, _CBA, _VI), + ( + (lambda: VPC_IPV6_CIDR_BLOCK_ASSOCIATION, {_aQN: _ICBA, _sN: _iCBA}), + (lambda: VPC_CIDR_BLOCK_ASSOCIATION, {_aQN: _CBA, _sN: _cBA}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + ), +) + +ASSOCIATE_VPC_CIDR_BLOCK: StaticOperationSchema = ( + 23, + n0, + _AVCB, + 0, + ASSOCIATE_VPC_CIDR_BLOCK_INPUT, + ASSOCIATE_VPC_CIDR_BLOCK_OUTPUT, + (), +) + +VPC_CIDR_BLOCK_STATE_CODE: StaticSchema = ( + 14, + n0, + _VCBSC, + 0, + (_as, _ass, _di, _dis, _fai, _fa), + ( + (-1, {_sV: _as}), + (-1, {_sV: _ass}), + (-1, {_sV: _di}), + (-1, {_sV: _dis}), + (-1, {_sV: _fai}), + (-1, {_sV: _fa}), + ), +) + +VPC_CIDR_BLOCK_STATE: StaticSchema = ( + 18, + n0, + _VCBS, + 0, + (_St, _SMt), + ( + (VPC_CIDR_BLOCK_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + ), +) + +VPC_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( + 18, + n0, + _VCBA, + 0, + (_AIs, _CB, _CBSi), + ( + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.STRING, {_aQN: _CB, _sN: _cB}), + (VPC_CIDR_BLOCK_STATE, {_aQN: _CBSi, _sN: _cBSi}), + ), +) + +VPC_IPV6_CIDR_BLOCK_ASSOCIATION: StaticSchema = ( + 18, + n0, + _VICBA, + 0, + (_AIs, _ICB, _ICBSp, _NBG, _IPpvo, _IAA, _ISp), + ( + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.STRING, {_aQN: _ICB, _sN: _iCB}), + (VPC_CIDR_BLOCK_STATE, {_aQN: _ICBSp, _sN: _iCBSp}), + (lambda: schemas.STRING, {_aQN: _NBG, _sN: _nBG}), + (lambda: schemas.STRING, {_aQN: _IPpvo, _sN: _iPpv}), + (IPV6_ADDRESS_ATTRIBUTE, {_aQN: _IAA, _sN: _iAA}), + (IP_SOURCE, {_aQN: _ISp, _sN: _iSp}), + ), +) + +ATTACH_CLASSIC_LINK_VPC_INPUT: StaticSchema = ( + 18, + n0, + _ACLVI, + {_sSI: _cACLVR, _sm: None}, + (_DR, _II, _VI, _G), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + (lambda: schemas.GROUP_ID_STRING_LIST, {_sN: _SGI, _smi: None}), + ), +) + +ATTACH_CLASSIC_LINK_VPC_OUTPUT: StaticSchema = ( + 18, + n0, + _ACLVO, + {_sSI: _cACLVRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +ATTACH_CLASSIC_LINK_VPC: StaticOperationSchema = ( + 23, + n0, + _ACLV, + 0, + ATTACH_CLASSIC_LINK_VPC_INPUT, + ATTACH_CLASSIC_LINK_VPC_OUTPUT, + (), +) + +IMAGE_ID: StaticSchema = (3, n0, _IIm, 0) + +IMAGE_WATERMARK_NAME_REQUEST: StaticSchema = (3, n0, _IWNR, 0) + +ATTACH_IMAGE_WATERMARK_INPUT: StaticSchema = ( + 18, + n0, + _AIWI, + {_sSI: _cAIWR, _sm: None}, + (_IIm, _WN, _DR), + ((IMAGE_ID, 1), (IMAGE_WATERMARK_NAME_REQUEST, 1), (lambda: schemas.BOOLEAN, 0)), +) + +ATTACH_IMAGE_WATERMARK_OUTPUT: StaticSchema = ( + 18, + n0, + _AIWO, + {_sSI: _cAIWRo, _smit: None}, + (_WK,), + ((lambda: schemas.STRING, {_aQN: _WK, _sN: _wK}),), +) + +ATTACH_IMAGE_WATERMARK: StaticOperationSchema = ( + 23, + n0, + _AIW, + 0, + ATTACH_IMAGE_WATERMARK_INPUT, + ATTACH_IMAGE_WATERMARK_OUTPUT, + (), +) + +ATTACH_INTERNET_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _AIGI, + {_sSI: _cAIGR, _sm: None}, + (_DR, _IGI, _VI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INTERNET_GATEWAY_ID, {_aQN: _IGI, _sN: _iGI, _smi: None}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + ), +) + +ATTACH_INTERNET_GATEWAY_OUTPUT: StaticSchema = (18, n0, _AIGO, {_sSI: _sU, _smit: None}) + +ATTACH_INTERNET_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _AIG, + 0, + ATTACH_INTERNET_GATEWAY_INPUT, + ATTACH_INTERNET_GATEWAY_OUTPUT, + (), +) + +ENA_SRD_UDP_SPECIFICATION: StaticSchema = ( + 18, + n0, + _ESUS, + 0, + (_ESUE,), + ((lambda: schemas.BOOLEAN, 0),), +) + +ENA_SRD_SPECIFICATION: StaticSchema = ( + 18, + n0, + _ESS, + 0, + (_ESE, _ESUS), + ((lambda: schemas.BOOLEAN, 0), (ENA_SRD_UDP_SPECIFICATION, 0)), +) + +ATTACH_NETWORK_INTERFACE_INPUT: StaticSchema = ( + 18, + n0, + _ANII, + {_sSI: _cANIR, _sm: None}, + (_NCI, _ESS, _EQC, _DR, _NII, _II, _DI), + ( + (lambda: schemas.INTEGER, 0), + (ENA_SRD_SPECIFICATION, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), + (lambda: schemas.INTEGER, {_aQN: _DI, _sN: _dI, _smi: None}), + ), +) + +ATTACH_NETWORK_INTERFACE_OUTPUT: StaticSchema = ( + 18, + n0, + _ANIO, + {_sSI: _cANIRo, _smit: None}, + (_AIt, _NCI), + ( + (lambda: schemas.STRING, {_aQN: _AIt, _sN: _aIt}), + (lambda: schemas.INTEGER, {_aQN: _NCI, _sN: _nCI}), + ), +) + +ATTACH_NETWORK_INTERFACE: StaticOperationSchema = ( + 23, + n0, + _ANI, + 0, + ATTACH_NETWORK_INTERFACE_INPUT, + ATTACH_NETWORK_INTERFACE_OUTPUT, + (), +) + +VERIFIED_ACCESS_TRUST_PROVIDER_ID: StaticSchema = (3, n0, _VATPI, 0) + +ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _AVATPI, + {_sSI: _cAVATPR, _sm: None}, + (_VAII, _VATPI, _CTl, _DR), + ( + (lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 1), + (VERIFIED_ACCESS_TRUST_PROVIDER_ID, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _AVATPO, + {_sSI: _cAVATPRo, _smit: None}, + (_VATPe, _VAI), + ( + (lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}), + (lambda: VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}), + ), +) + +ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _AVATP, + 0, + ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, + ATTACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, + (), +) + +VERIFIED_ACCESS_INSTANCE_CUSTOM_SUB_DOMAIN: StaticSchema = ( + 18, + n0, + _VAICSD, + 0, + (_SD, _Na), + ( + (lambda: schemas.STRING, {_aQN: _SD, _sN: _sD}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _NS, _sN: _nS}), + ), +) + +DEVICE_TRUST_PROVIDER_TYPE: StaticSchema = ( + 14, + n0, + _DTPT, + 0, + (_j, _cro, _ju), + ((-1, {_sV: _j}), (-1, {_sV: _cro}), (-1, {_sV: _ju})), +) + +TRUST_PROVIDER_TYPE: StaticSchema = ( + 14, + n0, + _TPT, + 0, + (_use, _dev), + ((-1, {_sV: _use}), (-1, {_sV: _dev})), +) + +USER_TRUST_PROVIDER_TYPE: StaticSchema = ( + 14, + n0, + _UTPT, + 0, + (_iic, _oi), + ((-1, {_sV: _iic_}), (-1, {_sV: _oi})), +) + +VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED: StaticSchema = ( + 18, + n0, + _VATPC, + 0, + (_VATPI, _Des, _TPT, _UTPT, _DTPT), + ( + (lambda: schemas.STRING, {_aQN: _VATPI, _sN: _vATPI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (TRUST_PROVIDER_TYPE, {_aQN: _TPT, _sN: _tPT}), + (USER_TRUST_PROVIDER_TYPE, {_aQN: _UTPT, _sN: _uTPT}), + (DEVICE_TRUST_PROVIDER_TYPE, {_aQN: _DTPT, _sN: _dTPT}), + ), +) + +VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED_LIST: StaticSchema = ( + 16, + n0, + _VATPCL, + 0, + (_me,), + ((VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED, {_sN: _i}),), +) + +VERIFIED_ACCESS_INSTANCE: StaticSchema = ( + 18, + n0, + _VAI, + 0, + (_VAII, _Des, _VATP, _CT, _LUTa, _Tag, _FE, _CECSD), + ( + (lambda: schemas.STRING, {_aQN: _VAII, _sN: _vAII}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (VERIFIED_ACCESS_TRUST_PROVIDER_CONDENSED_LIST, {_aQN: _VATPS, _sN: _vATPS}), + (lambda: schemas.STRING, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.STRING, {_aQN: _LUTa, _sN: _lUTa}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.BOOLEAN, {_aQN: _FE, _sN: _fE}), + (VERIFIED_ACCESS_INSTANCE_CUSTOM_SUB_DOMAIN, {_aQN: _CECSD, _sN: _cECSD}), + ), +) + +DEVICE_OPTIONS: StaticSchema = ( + 18, + n0, + _DO, + 0, + (_TI, _PSKU), + ( + (lambda: schemas.STRING, {_aQN: _TI, _sN: _tI}), + (lambda: schemas.STRING, {_aQN: _PSKU, _sN: _pSKU}), + ), +) + +NATIVE_APPLICATION_OIDC_OPTIONS: StaticSchema = ( + 18, + n0, + _NAOO, + 0, + (_PSKE, _Is, _AE, _TE, _UIEs, _CIl, _Sc), + ( + (lambda: schemas.STRING, {_aQN: _PSKE, _sN: _pSKE}), + (lambda: schemas.STRING, {_aQN: _Is, _sN: _iss}), + (lambda: schemas.STRING, {_aQN: _AE, _sN: _aE}), + (lambda: schemas.STRING, {_aQN: _TE, _sN: _tE}), + (lambda: schemas.STRING, {_aQN: _UIEs, _sN: _uIE}), + (lambda: schemas.STRING, {_aQN: _CIl, _sN: _cIl}), + (lambda: schemas.STRING, {_aQN: _Sc, _sN: _sc}), + ), +) + +CLIENT_SECRET_TYPE: StaticSchema = (3, n0, _CST, 4) + +IMAGE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _IISLm, + 0, + (_me,), + ((IMAGE_ID, {_sN: _IIm}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_30.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_30.py new file mode 100644 index 000000000..ec2f2c693 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_30.py @@ -0,0 +1,1596 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_cb = "capacity_block" +_cb_ = "capacity-block" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_DR = "DryRun" +_smit = "smithy.api#output" +_dRr = "dryRun" +_N = "Name" +_nam = "name" +_IT = "InstanceType" +_iT = "instanceType" +_AFNI = "AdditionalFlexibleNetworkInterfaces" +_IPI = "IpamPoolId" +_PIo = "PoolId" +_IPAI = "IpamPoolAllocationId" +_IIp = "IpamId" +_IRDI = "IpamResourceDiscoveryId" +_IRDAI = "IpamResourceDiscoveryAssociationId" +_IGI = "InternetGatewayId" +_iGI = "internetGatewayId" +_NCI = "NetworkCardIndex" +_nCI = "networkCardIndex" +_IIRAI = "IpamInternetRegistryAssociationId" +_Cou = "Count" +_cou = "count" +_uns = "unsupported" +_BM = "BareMetal" +_VCC = "VCpuCount" +_Ve = "Version" +_od = "on-demand" +_spo = "spot" +_ver = "version" +_eb = "ebs" +_bM = "bareMetal" +_ue = "uefi" +_ISI = "IpamScopeId" +_IERVTI = "IpamExternalResourceVerificationTokenId" +_IPIp = "IpamPolicyId" +_IPLRI = "IpamPrefixListResolverId" +_IPLRTI = "IpamPrefixListResolverTargetId" +_CCor = "CoreCount" +_TPC = "ThreadsPerCore" +_od_ = "on_demand" +_sec = "secondary" +_efa = "efa" +_eo = "efa_only" +_eo_ = "efa-only" +_CTC = "ConnectionTrackingConfiguration" +_inter = "interface" +_cTC = "connectionTrackingConfiguration" +_clu = "cluster" +_spr = "spread" +_part = "partition" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_PIoo = "PoolIds" +_UNSUPPORTED = "UNSUPPORTED" +_i__________________________________________________________________________ = "i386" +_x______________________________________________________ = "x86_64" +_arm = "arm64" +_xm____________ = "x86_64_mac" +_am______ = "arm64_mac" +_lb__ = "legacy_bios" +_lb___ = "legacy-bios" +_is__ = "instance_store" +_is___ = "instance-store" +_VTi = "VirtualizationType" +_hv = "hvm" +_para = "paravirtual" +_ESna = "EnaSupport" +_eSna = "enaSupport" +_Hy = "Hypervisor" +_hy = "hypervisor" +_RDT = "RootDeviceType" +_FTE = "FreeTierEligible" +_fTE = "freeTierEligible" +_supp = "supported" +_SUPPORTED = "SUPPORTED" +_EIb = "EbsInfo" +_SIMB = "SizeInMiB" +_sIMB = "sizeInMiB" +_Manu = "Manufacturer" +_manu = "manufacturer" +_MIe = "MemoryInfo" +_mIe = "memoryInfo" +_FIpga = "FpgaInfo" +_GIp = "GpuInfo" +_IAIn = "InferenceAcceleratorInfo" +_ISIns = "InstanceStorageInfo" +_MAIe = "MediaAcceleratorInfo" +_DNCI = "DefaultNetworkCardIndex" +_EIf = "EfaInfo" +_ESSn = "EnaSrdSupported" +_EITSn = "EncryptionInTransitSupported" +_FEQS = "FlexibleEnaQueuesSupport" +_IAPSI = "Ipv4AddressesPerSecondaryInterface" +_MNC = "MaximumNetworkCards" +_MSNI = "MaximumSecondaryNetworkInterfaces" +_BBIG = "BaselineBandwidthInGbps" +_DEQCPI = "DefaultEnaQueueCountPerInterface" +_NCIT = "NetworkCardInterfaceType" +_NCITL = "NetworkCardInterfaceTypeList" +_MEQC = "MaximumEnaQueueCount" +_MEQCPI = "MaximumEnaQueueCountPerInterface" +_NPe = "NetworkPerformance" +_PBIG = "PeakBandwidthInGbps" +_NCIe = "NetworkCardInfo" +_nPe = "networkPerformance" +_MNIa = "MaximumNetworkInterfaces" +_mNI = "maximumNetworkInterfaces" +_aFNI = "additionalFlexibleNetworkInterfaces" +_bBIG = "baselineBandwidthInGbps" +_pBIG = "peakBandwidthInGbps" +_dEQCPI = "defaultEnaQueueCountPerInterface" +_mEQC = "maximumEnaQueueCount" +_mEQCPI = "maximumEnaQueueCountPerInterface" +_ITnter = "InterfaceTypes" +_ITSnt = "InterfaceTypeSet" +_iTSn = "interfaceTypeSet" +_NCIL = "NetworkCardInfoList" +_SNSF = "SecondaryNetworkSupportedFlag" +_NIetw = "NetworkInfo" +_mNC = "maximumNetworkCards" +_dNCI = "defaultNetworkCardIndex" +_NC = "NetworkCards" +_nC = "networkCards" +_IAPI = "Ipv4AddressesPerInterface" +_iAPI = "ipv4AddressesPerInterface" +_IAPIp = "Ipv6AddressesPerInterface" +_iAPIp = "ipv6AddressesPerInterface" +_ISpv = "Ipv6Supported" +_iSpv = "ipv6Supported" +_ESf = "EfaSupported" +_eSf = "efaSupported" +_eIf = "efaInfo" +_eITSn = "encryptionInTransitSupported" +_eSSn = "enaSrdSupported" +_BWa = "BandwidthWeightings" +_bWa = "bandwidthWeightings" +_fEQS = "flexibleEnaQueuesSupport" +_SNSe = "SecondaryNetworkSupported" +_sNSe = "secondaryNetworkSupported" +_mSNI = "maximumSecondaryNetworkInterfaces" +_iAPSI = "ipv4AddressesPerSecondaryInterface" +_NDCC = "NeuronDeviceCoreCount" +_NDCV = "NeuronDeviceCoreVersion" +_NDCI = "NeuronDeviceCoreInfo" +_NDCe = "NeuronDeviceCount" +_NDMS = "NeuronDeviceMemorySize" +_NDMI = "NeuronDeviceMemoryInfo" +_NDN = "NeuronDeviceName" +_NDI = "NeuronDeviceInfo" +_CIor = "CoreInfo" +_cIor = "coreInfo" +_NDIL = "NeuronDeviceInfoList" +_TNM = "TotalNeuronMemory" +_NIeu = "NeuronInfo" +_NDe = "NeuronDevices" +_nDe = "neuronDevices" +_TNDMIMB = "TotalNeuronDeviceMemoryInMiB" +_tNDMIMB = "totalNeuronDeviceMemoryInMiB" +_NES = "NitroEnclavesSupport" +_NTSVT = "NitroTpmSupportedVersionType" +_NTSVL = "NitroTpmSupportedVersionsList" +_NTI = "NitroTpmInfo" +_SVu = "SupportedVersions" +_sVu = "supportedVersions" +_NTS = "NitroTpmSupport" +_PSh = "PhcSupport" +_PGSl = "PlacementGroupStrategy" +_PGSL = "PlacementGroupStrategyList" +_PGIl = "PlacementGroupInfo" +_SSup = "SupportedStrategies" +_sSup = "supportedStrategies" +_CMN = "CpuManufacturerName" +_ATr = "ArchitectureType" +_ATLr = "ArchitectureTypeList" +_SAPF = "SupportedAdditionalProcessorFeature" +_ASS_ = "AMD_SEV_SNP" +_ass_ = "amd-sev-snp" +_NV_ = "NESTED_VIRTUALIZATION" +_nv = "nested-virtualization" +_SAPFL = "SupportedAdditionalProcessorFeatureList" +_PSCS = "ProcessorSustainedClockSpeed" +_PIro = "ProcessorInfo" +_SAup = "SupportedArchitectures" +_sAu = "supportedArchitectures" +_SCSIG = "SustainedClockSpeedInGhz" +_sCSIG = "sustainedClockSpeedInGhz" +_SF = "SupportedFeatures" +_sF = "supportedFeatures" +_RMS = "RebootMigrationSupport" +_BMT = "BootModeType" +_BMTL = "BootModeTypeList" +_SIRu = "SupportedInRegion" +_RDTL = "RootDeviceTypeList" +_UCT = "UsageClassType" +_UCTL = "UsageClassTypeList" +_VTLi = "VirtualizationTypeList" +_CCL = "CoreCountList" +_TPCL = "ThreadsPerCoreList" +_VCIpu = "VCpuInfo" +_DVCef = "DefaultVCpus" +_dVC = "defaultVCpus" +_DCe = "DefaultCores" +_dCe = "defaultCores" +_DTPC = "DefaultThreadsPerCore" +_dTPC = "defaultThreadsPerCore" +_VCa = "ValidCores" +_vCa = "validCores" +_VTPC = "ValidThreadsPerCore" +_vTPC = "validThreadsPerCore" +_ITIns = "InstanceTypeInfo" +_CGur = "CurrentGeneration" +_cGu = "currentGeneration" +_SUC = "SupportedUsageClasses" +_sUC = "supportedUsageClasses" +_SRDT = "SupportedRootDeviceTypes" +_sRDT = "supportedRootDeviceTypes" +_SVT = "SupportedVirtualizationTypes" +_sVT = "supportedVirtualizationTypes" +_pIro = "processorInfo" +_vCIpu = "vCpuInfo" +_ISSnst = "InstanceStorageSupported" +_iSSn = "instanceStorageSupported" +_iSIn = "instanceStorageInfo" +_eIb = "ebsInfo" +_nIet = "networkInfo" +_gIp = "gpuInfo" +_fIp = "fpgaInfo" +_pGIl = "placementGroupInfo" +_iAIn = "inferenceAcceleratorInfo" +_HSi = "HibernationSupported" +_hSi = "hibernationSupported" +_BPS = "BurstablePerformanceSupported" +_bPS = "burstablePerformanceSupported" +_DHS = "DedicatedHostsSupported" +_dHS = "dedicatedHostsSupported" +_ARSut = "AutoRecoverySupported" +_aRS = "autoRecoverySupported" +_SBM = "SupportedBootModes" +_sBM = "supportedBootModes" +_nES = "nitroEnclavesSupport" +_nTS = "nitroTpmSupport" +_nTI = "nitroTpmInfo" +_mAIe = "mediaAcceleratorInfo" +_nIeu = "neuronInfo" +_pSh = "phcSupport" +_rMS = "rebootMigrationSupport" +_sIRu = "supportedInRegion" +_ITILn = "InstanceTypeInfoList" +_IGIL = "InternetGatewayIdList" +_DIGMR = "DescribeInternetGatewaysMaxResults" +_DIGIe = "DescribeInternetGatewaysInput" +_cDIGRo = "com.amazonaws.ec2#DescribeInternetGatewaysRequest" +_IGIn = "InternetGatewayIds" +_IGL = "InternetGatewayList" +_DIGOe = "DescribeInternetGatewaysOutput" +_cDIGRom = "com.amazonaws.ec2#DescribeInternetGatewaysResult" +_IGnt = "InternetGateways" +_IGSn = "InternetGatewaySet" +_iGSn = "internetGatewaySet" +_DIGe = "DescribeInternetGateways" +_DIBMR = "DescribeIpamByoasnMaxResults" +_DIBIe = "DescribeIpamByoasnInput" +_cDIBRom = "com.amazonaws.ec2#DescribeIpamByoasnRequest" +_BSy = "ByoasnSet" +_DIBOe = "DescribeIpamByoasnOutput" +_cDIBRoma = "com.amazonaws.ec2#DescribeIpamByoasnResult" +_Byo = "Byoasns" +_bSy = "byoasnSet" +_DIBe = "DescribeIpamByoasn" +_DIERVTIe = "DescribeIpamExternalResourceVerificationTokensInput" +_cDIERVTRom = "com.amazonaws.ec2#DescribeIpamExternalResourceVerificationTokensRequest" +_IERVTIp = "IpamExternalResourceVerificationTokenIds" +_IERVTSp = "IpamExternalResourceVerificationTokenSet" +_DIERVTOe = "DescribeIpamExternalResourceVerificationTokensOutput" +_cDIERVTRoma = "com.amazonaws.ec2#DescribeIpamExternalResourceVerificationTokensResult" +_IERVTp = "IpamExternalResourceVerificationTokens" +_iERVTS = "ipamExternalResourceVerificationTokenSet" +_DIERVTe = "DescribeIpamExternalResourceVerificationTokens" +_DIIRAIe = "DescribeIpamInternetRegistryAssociationsInput" +_cDIIRARom = "com.amazonaws.ec2#DescribeIpamInternetRegistryAssociationsRequest" +_IIRAIp = "IpamInternetRegistryAssociationIds" +_IIRASp = "IpamInternetRegistryAssociationSet" +_DIIRAOe = "DescribeIpamInternetRegistryAssociationsOutput" +_cDIIRARoma = "com.amazonaws.ec2#DescribeIpamInternetRegistryAssociationsResult" +_IIRAp = "IpamInternetRegistryAssociations" +_iIRAS = "ipamInternetRegistryAssociationSet" +_DIIRAe = "DescribeIpamInternetRegistryAssociations" +_DIPIes = "DescribeIpamPoliciesInput" +_cDIPRomam = "com.amazonaws.ec2#DescribeIpamPoliciesRequest" +_IPIpa = "IpamPolicyIds" +_IPSpam = "IpamPolicySet" +_DIPOes = "DescribeIpamPoliciesOutput" +_cDIPRomama = "com.amazonaws.ec2#DescribeIpamPoliciesResult" +_IPpamo = "IpamPolicies" +_iPSpa = "ipamPolicySet" +_DIPes = "DescribeIpamPolicies" +_DIPAMR = "DescribeIpamPoolAllocationsMaxResults" +_DIPAI = "DescribeIpamPoolAllocationsInput" +_cDIPAR = "com.amazonaws.ec2#DescribeIpamPoolAllocationsRequest" +_IPAIp = "IpamPoolAllocationIds" +_IPASp = "IpamPoolAllocationSet" +_DIPAO = "DescribeIpamPoolAllocationsOutput" +_cDIPARo = "com.amazonaws.ec2#DescribeIpamPoolAllocationsResult" +_IPApam = "IpamPoolAllocations" +_iPAS = "ipamPoolAllocationSet" +_DIPA = "DescribeIpamPoolAllocations" +_DIPIesc = "DescribeIpamPoolsInput" +_cDIPRomamaz = "com.amazonaws.ec2#DescribeIpamPoolsRequest" +_IPIpam = "IpamPoolIds" +_IPSpamo = "IpamPoolSet" +_DIPOesc = "DescribeIpamPoolsOutput" +_cDIPRomamazo = "com.amazonaws.ec2#DescribeIpamPoolsResult" +_IPpamoo = "IpamPools" +_iPSpam = "ipamPoolSet" +_DIPesc = "DescribeIpamPools" +_DIPLRIe = "DescribeIpamPrefixListResolversInput" +_cDIPLRRom = "com.amazonaws.ec2#DescribeIpamPrefixListResolversRequest" +_IPLRIp = "IpamPrefixListResolverIds" +_IPLRSp = "IpamPrefixListResolverSet" +_DIPLROe = "DescribeIpamPrefixListResolversOutput" +_cDIPLRRoma = "com.amazonaws.ec2#DescribeIpamPrefixListResolversResult" +_IPLRpa = "IpamPrefixListResolvers" +_iPLRS = "ipamPrefixListResolverSet" +_DIPLRe = "DescribeIpamPrefixListResolvers" +_DIPLRTIe = "DescribeIpamPrefixListResolverTargetsInput" +_cDIPLRTRom = "com.amazonaws.ec2#DescribeIpamPrefixListResolverTargetsRequest" +_IPLRTIp = "IpamPrefixListResolverTargetIds" +_IPLRTSp = "IpamPrefixListResolverTargetSet" +_DIPLRTOe = "DescribeIpamPrefixListResolverTargetsOutput" +_cDIPLRTRoma = "com.amazonaws.ec2#DescribeIpamPrefixListResolverTargetsResult" +_IPLRTp = "IpamPrefixListResolverTargets" +_iPLRTS = "ipamPrefixListResolverTargetSet" +_DIPLRTe = "DescribeIpamPrefixListResolverTargets" +_DIRDIe = "DescribeIpamResourceDiscoveriesInput" +_cDIRDRom = "com.amazonaws.ec2#DescribeIpamResourceDiscoveriesRequest" +_IRDIp = "IpamResourceDiscoveryIds" +_IRDSp = "IpamResourceDiscoverySet" +_DIRDOe = "DescribeIpamResourceDiscoveriesOutput" +_cDIRDRoma = "com.amazonaws.ec2#DescribeIpamResourceDiscoveriesResult" +_IRDp = "IpamResourceDiscoveries" +_iRDS = "ipamResourceDiscoverySet" +_DIRDe = "DescribeIpamResourceDiscoveries" +_DIRDAI = "DescribeIpamResourceDiscoveryAssociationsInput" +_cDIRDAR = "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociationsRequest" +_IRDAIp = "IpamResourceDiscoveryAssociationIds" +_IRDASp = "IpamResourceDiscoveryAssociationSet" +_DIRDAO = "DescribeIpamResourceDiscoveryAssociationsOutput" +_cDIRDARo = "com.amazonaws.ec2#DescribeIpamResourceDiscoveryAssociationsResult" +_IRDApa = "IpamResourceDiscoveryAssociations" +_iRDAS = "ipamResourceDiscoveryAssociationSet" +_DIRDA = "DescribeIpamResourceDiscoveryAssociations" +_DIIescr = "DescribeIpamsInput" +_cDIRomamazon = "com.amazonaws.ec2#DescribeIpamsRequest" +_IIpa = "IpamIds" +_ISpame = "IpamSet" +_DIOescr = "DescribeIpamsOutput" +_cDIRomamazona = "com.amazonaws.ec2#DescribeIpamsResult" +_Ipam = "Ipams" +_iSpam = "ipamSet" +_DIescri = "DescribeIpams" +_DISIes = "DescribeIpamScopesInput" +_cDISRomam = "com.amazonaws.ec2#DescribeIpamScopesRequest" +_ISIp = "IpamScopeIds" +_ISSp = "IpamScopeSet" +_DISOes = "DescribeIpamScopesOutput" +_cDISRomama = "com.amazonaws.ec2#DescribeIpamScopesResult" +_ISpamc = "IpamScopes" +_iSSp = "ipamScopeSet" +_DISes = "DescribeIpamScopes" +_IPMR = "Ipv6PoolMaxResults" +_IPIL = "Ipv6PoolIdList" +_DIPIescr = "DescribeIpv6PoolsInput" +_cDIPRomamazon = "com.amazonaws.ec2#DescribeIpv6PoolsRequest" +_IPSpvo = "Ipv6PoolSet" +_DIPOescr = "DescribeIpv6PoolsOutput" +_cDIPRomamazona = "com.amazonaws.ec2#DescribeIpv6PoolsResult" +_IPpvoo = "Ipv6Pools" +_iPSpv = "ipv6PoolSet" +_DIPescr = "DescribeIpv6Pools" + +VIRTUALIZATION_TYPE: StaticSchema = ( + 14, + n0, + _VTi, + 0, + (_hv, _para), + ((-1, {_sV: _hv}), (-1, {_sV: _para})), +) + +NETWORK_CARD_INTERFACE_TYPE: StaticSchema = ( + 14, + n0, + _NCIT, + 0, + (_inter, _efa, _eo, _sec), + ((-1, {_sV: _inter}), (-1, {_sV: _efa}), (-1, {_sV: _eo_}), (-1, {_sV: _sec})), +) + +NETWORK_CARD_INTERFACE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _NCITL, + 0, + (_me,), + ((NETWORK_CARD_INTERFACE_TYPE, {_sN: _i}),), +) + +MAXIMUM_ENA_QUEUE_COUNT: StaticSchema = (7, n0, _MEQC, 0) + +MAXIMUM_ENA_QUEUE_COUNT_PER_INTERFACE: StaticSchema = (7, n0, _MEQCPI, 0) + +NETWORK_CARD_INDEX: StaticSchema = (7, n0, _NCI, 0) + +NETWORK_PERFORMANCE: StaticSchema = (3, n0, _NPe, 0) + +PEAK_BANDWIDTH_IN_GBPS: StaticSchema = (10, n0, _PBIG, 0) + +NETWORK_CARD_INFO: StaticSchema = ( + 18, + n0, + _NCIe, + 0, + (_NCI, _NPe, _MNIa, _AFNI, _BBIG, _PBIG, _DEQCPI, _MEQC, _MEQCPI, _ITnter), + ( + (NETWORK_CARD_INDEX, {_aQN: _NCI, _sN: _nCI}), + (NETWORK_PERFORMANCE, {_aQN: _NPe, _sN: _nPe}), + (lambda: schemas.MAX_NETWORK_INTERFACES, {_aQN: _MNIa, _sN: _mNI}), + ( + lambda: schemas.ADDITIONAL_FLEXIBLE_NETWORK_INTERFACES, + {_aQN: _AFNI, _sN: _aFNI}, + ), + (lambda: schemas.BASELINE_BANDWIDTH_IN_GBPS, {_aQN: _BBIG, _sN: _bBIG}), + (PEAK_BANDWIDTH_IN_GBPS, {_aQN: _PBIG, _sN: _pBIG}), + ( + lambda: schemas.DEFAULT_ENA_QUEUE_COUNT_PER_INTERFACE, + {_aQN: _DEQCPI, _sN: _dEQCPI}, + ), + (MAXIMUM_ENA_QUEUE_COUNT, {_aQN: _MEQC, _sN: _mEQC}), + (MAXIMUM_ENA_QUEUE_COUNT_PER_INTERFACE, {_aQN: _MEQCPI, _sN: _mEQCPI}), + (NETWORK_CARD_INTERFACE_TYPE_LIST, {_aQN: _ITSnt, _sN: _iTSn}), + ), +) + +NETWORK_CARD_INFO_LIST: StaticSchema = ( + 16, + n0, + _NCIL, + 0, + (_me,), + ((NETWORK_CARD_INFO, {_sN: _i}),), +) + +SECONDARY_NETWORK_SUPPORTED_FLAG: StaticSchema = (2, n0, _SNSF, 0) + +NETWORK_INFO: StaticSchema = ( + 18, + n0, + _NIetw, + 0, + ( + _NPe, + _MNIa, + _MNC, + _DNCI, + _NC, + _IAPI, + _IAPIp, + _ISpv, + _ESna, + _ESf, + _EIf, + _EITSn, + _ESSn, + _BWa, + _FEQS, + _CTC, + _SNSe, + _MSNI, + _IAPSI, + ), + ( + (NETWORK_PERFORMANCE, {_aQN: _NPe, _sN: _nPe}), + (lambda: schemas.MAX_NETWORK_INTERFACES, {_aQN: _MNIa, _sN: _mNI}), + (lambda: schemas.MAXIMUM_NETWORK_CARDS, {_aQN: _MNC, _sN: _mNC}), + (lambda: schemas.DEFAULT_NETWORK_CARD_INDEX, {_aQN: _DNCI, _sN: _dNCI}), + (NETWORK_CARD_INFO_LIST, {_aQN: _NC, _sN: _nC}), + (lambda: schemas.MAX_IPV4_ADDR_PER_INTERFACE, {_aQN: _IAPI, _sN: _iAPI}), + (lambda: schemas.MAX_IPV6_ADDR_PER_INTERFACE, {_aQN: _IAPIp, _sN: _iAPIp}), + (lambda: schemas.IPV6_FLAG, {_aQN: _ISpv, _sN: _iSpv}), + (lambda: schemas.ENA_SUPPORT, {_aQN: _ESna, _sN: _eSna}), + (lambda: schemas.EFA_SUPPORTED_FLAG, {_aQN: _ESf, _sN: _eSf}), + (lambda: schemas.EFA_INFO, {_aQN: _EIf, _sN: _eIf}), + (lambda: schemas.ENCRYPTION_IN_TRANSIT_SUPPORTED, {_aQN: _EITSn, _sN: _eITSn}), + (lambda: schemas.ENA_SRD_SUPPORTED, {_aQN: _ESSn, _sN: _eSSn}), + (lambda: schemas.BANDWIDTH_WEIGHTING_TYPE_LIST, {_aQN: _BWa, _sN: _bWa}), + (lambda: schemas.FLEXIBLE_ENA_QUEUES_SUPPORT, {_aQN: _FEQS, _sN: _fEQS}), + ( + lambda: schemas.DEFAULT_CONNECTION_TRACKING_CONFIGURATION, + {_aQN: _CTC, _sN: _cTC}, + ), + (SECONDARY_NETWORK_SUPPORTED_FLAG, {_aQN: _SNSe, _sN: _sNSe}), + ( + lambda: schemas.MAXIMUM_SECONDARY_NETWORK_INTERFACES, + {_aQN: _MSNI, _sN: _mSNI}, + ), + ( + lambda: schemas.IPV4_ADDRESSES_PER_SECONDARY_INTERFACE, + {_aQN: _IAPSI, _sN: _iAPSI}, + ), + ), +) + +NEURON_DEVICE_CORE_COUNT: StaticSchema = (7, n0, _NDCC, 0) + +NEURON_DEVICE_CORE_VERSION: StaticSchema = (7, n0, _NDCV, 0) + +NEURON_DEVICE_CORE_INFO: StaticSchema = ( + 18, + n0, + _NDCI, + 0, + (_Cou, _Ve), + ( + (NEURON_DEVICE_CORE_COUNT, {_aQN: _Cou, _sN: _cou}), + (NEURON_DEVICE_CORE_VERSION, {_aQN: _Ve, _sN: _ver}), + ), +) + +NEURON_DEVICE_COUNT: StaticSchema = (7, n0, _NDCe, 0) + +NEURON_DEVICE_MEMORY_SIZE: StaticSchema = (7, n0, _NDMS, 0) + +NEURON_DEVICE_MEMORY_INFO: StaticSchema = ( + 18, + n0, + _NDMI, + 0, + (_SIMB,), + ((NEURON_DEVICE_MEMORY_SIZE, {_aQN: _SIMB, _sN: _sIMB}),), +) + +NEURON_DEVICE_NAME: StaticSchema = (3, n0, _NDN, 0) + +NEURON_DEVICE_INFO: StaticSchema = ( + 18, + n0, + _NDI, + 0, + (_Cou, _N, _CIor, _MIe), + ( + (NEURON_DEVICE_COUNT, {_aQN: _Cou, _sN: _cou}), + (NEURON_DEVICE_NAME, {_aQN: _N, _sN: _nam}), + (NEURON_DEVICE_CORE_INFO, {_aQN: _CIor, _sN: _cIor}), + (NEURON_DEVICE_MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), + ), +) + +NEURON_DEVICE_INFO_LIST: StaticSchema = ( + 16, + n0, + _NDIL, + 0, + (_me,), + ((NEURON_DEVICE_INFO, {_sN: _i}),), +) + +TOTAL_NEURON_MEMORY: StaticSchema = (7, n0, _TNM, 0) + +NEURON_INFO: StaticSchema = ( + 18, + n0, + _NIeu, + 0, + (_NDe, _TNDMIMB), + ( + (NEURON_DEVICE_INFO_LIST, {_aQN: _NDe, _sN: _nDe}), + (TOTAL_NEURON_MEMORY, {_aQN: _TNDMIMB, _sN: _tNDMIMB}), + ), +) + +NITRO_ENCLAVES_SUPPORT: StaticSchema = ( + 14, + n0, + _NES, + 0, + (_UNSUPPORTED, _SUPPORTED), + ((-1, {_sV: _uns}), (-1, {_sV: _supp})), +) + +NITRO_TPM_SUPPORTED_VERSION_TYPE: StaticSchema = (3, n0, _NTSVT, 0) + +NITRO_TPM_SUPPORTED_VERSIONS_LIST: StaticSchema = ( + 16, + n0, + _NTSVL, + 0, + (_me,), + ((NITRO_TPM_SUPPORTED_VERSION_TYPE, {_sN: _i}),), +) + +NITRO_TPM_INFO: StaticSchema = ( + 18, + n0, + _NTI, + 0, + (_SVu,), + ((NITRO_TPM_SUPPORTED_VERSIONS_LIST, {_aQN: _SVu, _sN: _sVu}),), +) + +NITRO_TPM_SUPPORT: StaticSchema = ( + 14, + n0, + _NTS, + 0, + (_UNSUPPORTED, _SUPPORTED), + ((-1, {_sV: _uns}), (-1, {_sV: _supp})), +) + +PHC_SUPPORT: StaticSchema = ( + 14, + n0, + _PSh, + 0, + (_UNSUPPORTED, _SUPPORTED), + ((-1, {_sV: _uns}), (-1, {_sV: _supp})), +) + +PLACEMENT_GROUP_STRATEGY: StaticSchema = ( + 14, + n0, + _PGSl, + 0, + (_clu, _part, _spr), + ((-1, {_sV: _clu}), (-1, {_sV: _part}), (-1, {_sV: _spr})), +) + +PLACEMENT_GROUP_STRATEGY_LIST: StaticSchema = ( + 16, + n0, + _PGSL, + 0, + (_me,), + ((PLACEMENT_GROUP_STRATEGY, {_sN: _i}),), +) + +PLACEMENT_GROUP_INFO: StaticSchema = ( + 18, + n0, + _PGIl, + 0, + (_SSup,), + ((PLACEMENT_GROUP_STRATEGY_LIST, {_aQN: _SSup, _sN: _sSup}),), +) + +CPU_MANUFACTURER_NAME: StaticSchema = (3, n0, _CMN, 0) + +ARCHITECTURE_TYPE: StaticSchema = ( + 14, + n0, + _ATr, + 0, + ( + _i__________________________________________________________________________, + _x______________________________________________________, + _arm, + _xm____________, + _am______, + ), + ( + ( + -1, + { + _sV: _i__________________________________________________________________________ + }, + ), + (-1, {_sV: _x______________________________________________________}), + (-1, {_sV: _arm}), + (-1, {_sV: _xm____________}), + (-1, {_sV: _am______}), + ), +) + +ARCHITECTURE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _ATLr, + 0, + (_me,), + ((ARCHITECTURE_TYPE, {_sN: _i}),), +) + +SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE: StaticSchema = ( + 14, + n0, + _SAPF, + 0, + (_ASS_, _NV_), + ((-1, {_sV: _ass_}), (-1, {_sV: _nv})), +) + +SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE_LIST: StaticSchema = ( + 16, + n0, + _SAPFL, + 0, + (_me,), + ((SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE, {_sN: _i}),), +) + +PROCESSOR_SUSTAINED_CLOCK_SPEED: StaticSchema = (10, n0, _PSCS, 0) + +PROCESSOR_INFO: StaticSchema = ( + 18, + n0, + _PIro, + 0, + (_SAup, _SCSIG, _SF, _Manu), + ( + (ARCHITECTURE_TYPE_LIST, {_aQN: _SAup, _sN: _sAu}), + (PROCESSOR_SUSTAINED_CLOCK_SPEED, {_aQN: _SCSIG, _sN: _sCSIG}), + (SUPPORTED_ADDITIONAL_PROCESSOR_FEATURE_LIST, {_aQN: _SF, _sN: _sF}), + (CPU_MANUFACTURER_NAME, {_aQN: _Manu, _sN: _manu}), + ), +) + +REBOOT_MIGRATION_SUPPORT: StaticSchema = ( + 14, + n0, + _RMS, + 0, + (_UNSUPPORTED, _SUPPORTED), + ((-1, {_sV: _uns}), (-1, {_sV: _supp})), +) + +BOOT_MODE_TYPE: StaticSchema = ( + 14, + n0, + _BMT, + 0, + (_lb__, _ue), + ((-1, {_sV: _lb___}), (-1, {_sV: _ue})), +) + +BOOT_MODE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _BMTL, + 0, + (_me,), + ((BOOT_MODE_TYPE, {_sN: _i}),), +) + +SUPPORTED_IN_REGION: StaticSchema = (2, n0, _SIRu, 0) + +ROOT_DEVICE_TYPE: StaticSchema = ( + 14, + n0, + _RDT, + 0, + (_eb, _is__), + ((-1, {_sV: _eb}), (-1, {_sV: _is___})), +) + +ROOT_DEVICE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _RDTL, + 0, + (_me,), + ((ROOT_DEVICE_TYPE, {_sN: _i}),), +) + +USAGE_CLASS_TYPE: StaticSchema = ( + 14, + n0, + _UCT, + 0, + (_spo, _od_, _cb), + ((-1, {_sV: _spo}), (-1, {_sV: _od}), (-1, {_sV: _cb_})), +) + +USAGE_CLASS_TYPE_LIST: StaticSchema = ( + 16, + n0, + _UCTL, + 0, + (_me,), + ((USAGE_CLASS_TYPE, {_sN: _i}),), +) + +VIRTUALIZATION_TYPE_LIST: StaticSchema = ( + 16, + n0, + _VTLi, + 0, + (_me,), + ((VIRTUALIZATION_TYPE, {_sN: _i}),), +) + +CORE_COUNT: StaticSchema = (7, n0, _CCor, 0) + +THREADS_PER_CORE: StaticSchema = (7, n0, _TPC, 0) + +V_CPU_COUNT: StaticSchema = (7, n0, _VCC, 0) + +CORE_COUNT_LIST: StaticSchema = (16, n0, _CCL, 0, (_me,), ((CORE_COUNT, {_sN: _i}),)) + +THREADS_PER_CORE_LIST: StaticSchema = ( + 16, + n0, + _TPCL, + 0, + (_me,), + ((THREADS_PER_CORE, {_sN: _i}),), +) + +V_CPU_INFO: StaticSchema = ( + 18, + n0, + _VCIpu, + 0, + (_DVCef, _DCe, _DTPC, _VCa, _VTPC), + ( + (V_CPU_COUNT, {_aQN: _DVCef, _sN: _dVC}), + (CORE_COUNT, {_aQN: _DCe, _sN: _dCe}), + (THREADS_PER_CORE, {_aQN: _DTPC, _sN: _dTPC}), + (CORE_COUNT_LIST, {_aQN: _VCa, _sN: _vCa}), + (THREADS_PER_CORE_LIST, {_aQN: _VTPC, _sN: _vTPC}), + ), +) + +INSTANCE_TYPE_INFO: StaticSchema = ( + 18, + n0, + _ITIns, + 0, + ( + _IT, + _CGur, + _FTE, + _SUC, + _SRDT, + _SVT, + _BM, + _Hy, + _PIro, + _VCIpu, + _MIe, + _ISSnst, + _ISIns, + _EIb, + _NIetw, + _GIp, + _FIpga, + _PGIl, + _IAIn, + _HSi, + _BPS, + _DHS, + _ARSut, + _SBM, + _NES, + _NTS, + _NTI, + _MAIe, + _NIeu, + _PSh, + _RMS, + _SIRu, + ), + ( + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.CURRENT_GENERATION_FLAG, {_aQN: _CGur, _sN: _cGu}), + (lambda: schemas.FREE_TIER_ELIGIBLE_FLAG, {_aQN: _FTE, _sN: _fTE}), + (USAGE_CLASS_TYPE_LIST, {_aQN: _SUC, _sN: _sUC}), + (ROOT_DEVICE_TYPE_LIST, {_aQN: _SRDT, _sN: _sRDT}), + (VIRTUALIZATION_TYPE_LIST, {_aQN: _SVT, _sN: _sVT}), + (lambda: schemas.BARE_METAL_FLAG, {_aQN: _BM, _sN: _bM}), + (lambda: schemas.INSTANCE_TYPE_HYPERVISOR, {_aQN: _Hy, _sN: _hy}), + (PROCESSOR_INFO, {_aQN: _PIro, _sN: _pIro}), + (V_CPU_INFO, {_aQN: _VCIpu, _sN: _vCIpu}), + (lambda: schemas.MEMORY_INFO, {_aQN: _MIe, _sN: _mIe}), + (lambda: schemas.INSTANCE_STORAGE_FLAG, {_aQN: _ISSnst, _sN: _iSSn}), + (lambda: schemas.INSTANCE_STORAGE_INFO, {_aQN: _ISIns, _sN: _iSIn}), + (lambda: schemas.EBS_INFO, {_aQN: _EIb, _sN: _eIb}), + (NETWORK_INFO, {_aQN: _NIetw, _sN: _nIet}), + (lambda: schemas.GPU_INFO, {_aQN: _GIp, _sN: _gIp}), + (lambda: schemas.FPGA_INFO, {_aQN: _FIpga, _sN: _fIp}), + (PLACEMENT_GROUP_INFO, {_aQN: _PGIl, _sN: _pGIl}), + (lambda: schemas.INFERENCE_ACCELERATOR_INFO, {_aQN: _IAIn, _sN: _iAIn}), + (lambda: schemas.HIBERNATION_FLAG, {_aQN: _HSi, _sN: _hSi}), + (lambda: schemas.BURSTABLE_PERFORMANCE_FLAG, {_aQN: _BPS, _sN: _bPS}), + (lambda: schemas.DEDICATED_HOST_FLAG, {_aQN: _DHS, _sN: _dHS}), + (lambda: schemas.AUTO_RECOVERY_FLAG, {_aQN: _ARSut, _sN: _aRS}), + (BOOT_MODE_TYPE_LIST, {_aQN: _SBM, _sN: _sBM}), + (NITRO_ENCLAVES_SUPPORT, {_aQN: _NES, _sN: _nES}), + (NITRO_TPM_SUPPORT, {_aQN: _NTS, _sN: _nTS}), + (NITRO_TPM_INFO, {_aQN: _NTI, _sN: _nTI}), + (lambda: schemas.MEDIA_ACCELERATOR_INFO, {_aQN: _MAIe, _sN: _mAIe}), + (NEURON_INFO, {_aQN: _NIeu, _sN: _nIeu}), + (PHC_SUPPORT, {_aQN: _PSh, _sN: _pSh}), + (REBOOT_MIGRATION_SUPPORT, {_aQN: _RMS, _sN: _rMS}), + (SUPPORTED_IN_REGION, {_aQN: _SIRu, _sN: _sIRu}), + ), +) + +INSTANCE_TYPE_INFO_LIST: StaticSchema = ( + 16, + n0, + _ITILn, + 0, + (_me,), + ((INSTANCE_TYPE_INFO, {_sN: _i}),), +) + +INTERNET_GATEWAY_ID_LIST: StaticSchema = ( + 16, + n0, + _IGIL, + 0, + (_me,), + ((lambda: schemas.INTERNET_GATEWAY_ID, {_sN: _i}),), +) + +DESCRIBE_INTERNET_GATEWAYS_MAX_RESULTS: StaticSchema = (7, n0, _DIGMR, 0) + +DESCRIBE_INTERNET_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _DIGIe, + {_sSI: _cDIGRo, _sm: None}, + (_NTex, _MR, _DR, _IGIn, _Fil), + ( + (lambda: schemas.STRING, 0), + (DESCRIBE_INTERNET_GATEWAYS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (INTERNET_GATEWAY_ID_LIST, {_aQN: _IGI, _sN: _iGI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_INTERNET_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIGOe, + {_sSI: _cDIGRom, _smit: None}, + (_IGnt, _NTex), + ( + (lambda: INTERNET_GATEWAY_LIST, {_aQN: _IGSn, _sN: _iGSn}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_INTERNET_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _DIGe, + 0, + DESCRIBE_INTERNET_GATEWAYS_INPUT, + DESCRIBE_INTERNET_GATEWAYS_OUTPUT, + (), +) + +INTERNET_GATEWAY_LIST: StaticSchema = ( + 16, + n0, + _IGL, + 0, + (_me,), + ((lambda: schemas.INTERNET_GATEWAY, {_sN: _i}),), +) + +DESCRIBE_IPAM_BYOASN_MAX_RESULTS: StaticSchema = (7, n0, _DIBMR, 0) + +DESCRIBE_IPAM_BYOASN_INPUT: StaticSchema = ( + 18, + n0, + _DIBIe, + {_sSI: _cDIBRom, _sm: None}, + (_DR, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (DESCRIBE_IPAM_BYOASN_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_IPAM_BYOASN_OUTPUT: StaticSchema = ( + 18, + n0, + _DIBOe, + {_sSI: _cDIBRoma, _smit: None}, + (_Byo, _NTex), + ( + (lambda: BYOASN_SET, {_aQN: _BSy, _sN: _bSy}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_IPAM_BYOASN: StaticOperationSchema = ( + 23, + n0, + _DIBe, + 0, + DESCRIBE_IPAM_BYOASN_INPUT, + DESCRIBE_IPAM_BYOASN_OUTPUT, + (), +) + +BYOASN_SET: StaticSchema = ( + 16, + n0, + _BSy, + 0, + (_me,), + ((lambda: schemas.BYOASN, {_sN: _i}),), +) + +DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_INPUT: StaticSchema = ( + 18, + n0, + _DIERVTIe, + {_sSI: _cDIERVTRom, _sm: None}, + (_DR, _Fil, _NTex, _MR, _IERVTIp), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IERVTI}), + ), +) + +DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIERVTOe, + {_sSI: _cDIERVTRoma, _smit: None}, + (_NTex, _IERVTp), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ( + lambda: IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_SET, + {_aQN: _IERVTSp, _sN: _iERVTS}, + ), + ), +) + +DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS: StaticOperationSchema = ( + 23, + n0, + _DIERVTe, + 0, + DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_INPUT, + DESCRIBE_IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKENS_OUTPUT, + (), +) + +IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_SET: StaticSchema = ( + 16, + n0, + _IERVTSp, + 0, + (_me,), + ((lambda: schemas.IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN, {_sN: _i}),), +) + +DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DIIRAIe, + {_sSI: _cDIIRARom, _sm: None}, + (_DR, _IIRAIp, _MR, _NTex, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IIRAI}), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIIRAOe, + {_sSI: _cDIIRARoma, _smit: None}, + (_NTex, _IIRAp), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: IPAM_INTERNET_REGISTRY_ASSOCIATION_SET, {_aQN: _IIRASp, _sN: _iIRAS}), + ), +) + +DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _DIIRAe, + 0, + DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_INPUT, + DESCRIBE_IPAM_INTERNET_REGISTRY_ASSOCIATIONS_OUTPUT, + (), +) + +IPAM_INTERNET_REGISTRY_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _IIRASp, + 0, + (_me,), + ((lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION, {_sN: _i}),), +) + +DESCRIBE_IPAM_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _DIPIes, + {_sSI: _cDIPRomam, _sm: None}, + (_DR, _Fil, _MR, _NTex, _IPIpa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IPIp}), + ), +) + +DESCRIBE_IPAM_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPOes, + {_sSI: _cDIPRomama, _smit: None}, + (_NTex, _IPpamo), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: IPAM_POLICY_SET, {_aQN: _IPSpam, _sN: _iPSpa}), + ), +) + +DESCRIBE_IPAM_POLICIES: StaticOperationSchema = ( + 23, + n0, + _DIPes, + 0, + DESCRIBE_IPAM_POLICIES_INPUT, + DESCRIBE_IPAM_POLICIES_OUTPUT, + (), +) + +IPAM_POLICY_SET: StaticSchema = ( + 16, + n0, + _IPSpam, + 0, + (_me,), + ((lambda: schemas.IPAM_POLICY, {_sN: _i}),), +) + +DESCRIBE_IPAM_POOL_ALLOCATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DIPAMR, 0) + +DESCRIBE_IPAM_POOL_ALLOCATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DIPAI, + {_sSI: _cDIPAR, _sm: None}, + (_DR, _IPAIp, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IPAI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_IPAM_POOL_ALLOCATIONS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_IPAM_POOL_ALLOCATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPAO, + {_sSI: _cDIPARo, _smit: None}, + (_IPApam, _NTex), + ( + (lambda: IPAM_POOL_ALLOCATION_SET, {_aQN: _IPASp, _sN: _iPAS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_IPAM_POOL_ALLOCATIONS: StaticOperationSchema = ( + 23, + n0, + _DIPA, + 0, + DESCRIBE_IPAM_POOL_ALLOCATIONS_INPUT, + DESCRIBE_IPAM_POOL_ALLOCATIONS_OUTPUT, + (), +) + +IPAM_POOL_ALLOCATION_SET: StaticSchema = ( + 16, + n0, + _IPASp, + 0, + (_me,), + ((lambda: schemas.IPAM_POOL_ALLOCATION, {_sN: _i}),), +) + +DESCRIBE_IPAM_POOLS_INPUT: StaticSchema = ( + 18, + n0, + _DIPIesc, + {_sSI: _cDIPRomamaz, _sm: None}, + (_DR, _Fil, _MR, _NTex, _IPIpam), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IPI}), + ), +) + +DESCRIBE_IPAM_POOLS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPOesc, + {_sSI: _cDIPRomamazo, _smit: None}, + (_NTex, _IPpamoo), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: IPAM_POOL_SET, {_aQN: _IPSpamo, _sN: _iPSpam}), + ), +) + +DESCRIBE_IPAM_POOLS: StaticOperationSchema = ( + 23, + n0, + _DIPesc, + 0, + DESCRIBE_IPAM_POOLS_INPUT, + DESCRIBE_IPAM_POOLS_OUTPUT, + (), +) + +IPAM_POOL_SET: StaticSchema = ( + 16, + n0, + _IPSpamo, + 0, + (_me,), + ((lambda: schemas.IPAM_POOL, {_sN: _i}),), +) + +DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_INPUT: StaticSchema = ( + 18, + n0, + _DIPLRIe, + {_sSI: _cDIPLRRom, _sm: None}, + (_DR, _Fil, _MR, _NTex, _IPLRIp), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IPLRI}), + ), +) + +DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPLROe, + {_sSI: _cDIPLRRoma, _smit: None}, + (_NTex, _IPLRpa), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: IPAM_PREFIX_LIST_RESOLVER_SET, {_aQN: _IPLRSp, _sN: _iPLRS}), + ), +) + +DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS: StaticOperationSchema = ( + 23, + n0, + _DIPLRe, + 0, + DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_INPUT, + DESCRIBE_IPAM_PREFIX_LIST_RESOLVERS_OUTPUT, + (), +) + +IPAM_PREFIX_LIST_RESOLVER_SET: StaticSchema = ( + 16, + n0, + _IPLRSp, + 0, + (_me,), + ((lambda: schemas.IPAM_PREFIX_LIST_RESOLVER, {_sN: _i}),), +) + +DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _DIPLRTIe, + {_sSI: _cDIPLRTRom, _sm: None}, + (_DR, _Fil, _MR, _NTex, _IPLRTIp, _IPLRI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IPLRTI}), + (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_ID, 0), + ), +) + +DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPLRTOe, + {_sSI: _cDIPLRTRoma, _smit: None}, + (_NTex, _IPLRTp), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: IPAM_PREFIX_LIST_RESOLVER_TARGET_SET, {_aQN: _IPLRTSp, _sN: _iPLRTS}), + ), +) + +DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS: StaticOperationSchema = ( + 23, + n0, + _DIPLRTe, + 0, + DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_INPUT, + DESCRIBE_IPAM_PREFIX_LIST_RESOLVER_TARGETS_OUTPUT, + (), +) + +IPAM_PREFIX_LIST_RESOLVER_TARGET_SET: StaticSchema = ( + 16, + n0, + _IPLRTSp, + 0, + (_me,), + ((lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_TARGET, {_sN: _i}),), +) + +DESCRIBE_IPAM_RESOURCE_DISCOVERIES_INPUT: StaticSchema = ( + 18, + n0, + _DIRDIe, + {_sSI: _cDIRDRom, _sm: None}, + (_DR, _IRDIp, _NTex, _MR, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IRDI}), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_IPAM_RESOURCE_DISCOVERIES_OUTPUT: StaticSchema = ( + 18, + n0, + _DIRDOe, + {_sSI: _cDIRDRoma, _smit: None}, + (_IRDp, _NTex), + ( + (lambda: IPAM_RESOURCE_DISCOVERY_SET, {_aQN: _IRDSp, _sN: _iRDS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_IPAM_RESOURCE_DISCOVERIES: StaticOperationSchema = ( + 23, + n0, + _DIRDe, + 0, + DESCRIBE_IPAM_RESOURCE_DISCOVERIES_INPUT, + DESCRIBE_IPAM_RESOURCE_DISCOVERIES_OUTPUT, + (), +) + +IPAM_RESOURCE_DISCOVERY_SET: StaticSchema = ( + 16, + n0, + _IRDSp, + 0, + (_me,), + ((lambda: schemas.IPAM_RESOURCE_DISCOVERY, {_sN: _i}),), +) + +DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DIRDAI, + {_sSI: _cDIRDAR, _sm: None}, + (_DR, _IRDAIp, _NTex, _MR, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IRDAI}), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIRDAO, + {_sSI: _cDIRDARo, _smit: None}, + (_IRDApa, _NTex), + ( + (lambda: IPAM_RESOURCE_DISCOVERY_ASSOCIATION_SET, {_aQN: _IRDASp, _sN: _iRDAS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _DIRDA, + 0, + DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_INPUT, + DESCRIBE_IPAM_RESOURCE_DISCOVERY_ASSOCIATIONS_OUTPUT, + (), +) + +IPAM_RESOURCE_DISCOVERY_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _IRDASp, + 0, + (_me,), + ((lambda: schemas.IPAM_RESOURCE_DISCOVERY_ASSOCIATION, {_sN: _i}),), +) + +DESCRIBE_IPAMS_INPUT: StaticSchema = ( + 18, + n0, + _DIIescr, + {_sSI: _cDIRomamazon, _sm: None}, + (_DR, _Fil, _MR, _NTex, _IIpa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _IIp}), + ), +) + +DESCRIBE_IPAMS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOescr, + {_sSI: _cDIRomamazona, _smit: None}, + (_NTex, _Ipam), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: IPAM_SET, {_aQN: _ISpame, _sN: _iSpam}), + ), +) + +DESCRIBE_IPAMS: StaticOperationSchema = ( + 23, + n0, + _DIescri, + 0, + DESCRIBE_IPAMS_INPUT, + DESCRIBE_IPAMS_OUTPUT, + (), +) + +IPAM_SET: StaticSchema = ( + 16, + n0, + _ISpame, + 0, + (_me,), + ((lambda: schemas.IPAM, {_sN: _i}),), +) + +DESCRIBE_IPAM_SCOPES_INPUT: StaticSchema = ( + 18, + n0, + _DISIes, + {_sSI: _cDISRomam, _sm: None}, + (_DR, _Fil, _MR, _NTex, _ISIp), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _ISI}), + ), +) + +DESCRIBE_IPAM_SCOPES_OUTPUT: StaticSchema = ( + 18, + n0, + _DISOes, + {_sSI: _cDISRomama, _smit: None}, + (_NTex, _ISpamc), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: IPAM_SCOPE_SET, {_aQN: _ISSp, _sN: _iSSp}), + ), +) + +DESCRIBE_IPAM_SCOPES: StaticOperationSchema = ( + 23, + n0, + _DISes, + 0, + DESCRIBE_IPAM_SCOPES_INPUT, + DESCRIBE_IPAM_SCOPES_OUTPUT, + (), +) + +IPAM_SCOPE_SET: StaticSchema = ( + 16, + n0, + _ISSp, + 0, + (_me,), + ((lambda: schemas.IPAM_SCOPE, {_sN: _i}),), +) + +IPV6_POOL_MAX_RESULTS: StaticSchema = (7, n0, _IPMR, 0) + +IPV6_POOL_ID_LIST: StaticSchema = ( + 16, + n0, + _IPIL, + 0, + (_me,), + ((lambda: schemas.IPV6_POOL_EC2_ID, {_sN: _i}),), +) + +DESCRIBE_IPV6_POOLS_INPUT: StaticSchema = ( + 18, + n0, + _DIPIescr, + {_sSI: _cDIPRomamazon, _sm: None}, + (_PIoo, _NTex, _MR, _DR, _Fil), + ( + (IPV6_POOL_ID_LIST, {_sN: _PIo}), + (lambda: schemas.NEXT_TOKEN, 0), + (IPV6_POOL_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_IPV6_POOLS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPOescr, + {_sSI: _cDIPRomamazona, _smit: None}, + (_IPpvoo, _NTex), + ( + (lambda: schemas.IPV6_POOL_SET, {_aQN: _IPSpvo, _sN: _iPSpv}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_IPV6_POOLS: StaticOperationSchema = ( + 23, + n0, + _DIPescr, + 0, + DESCRIBE_IPV6_POOLS_INPUT, + DESCRIBE_IPV6_POOLS_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_31.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_31.py new file mode 100644 index 000000000..f63238184 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_31.py @@ -0,0 +1,1517 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_DR = "DryRun" +_PI = "PublicIp" +_pI = "publicIp" +_smit = "smithy.api#output" +_St = "State" +_st = "state" +_OIw = "OwnerId" +_oI = "ownerId" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_dRr = "dryRun" +_ex = "expired" +_Ci = "Cidr" +_NGI = "NatGatewayId" +_LGI = "LocalGatewayId" +_lGI = "localGatewayId" +_PLI = "PrefixListId" +_NIASAI = "NetworkInsightsAccessScopeAnalysisId" +_NIASI = "NetworkInsightsAccessScopeId" +_nIASAI = "networkInsightsAccessScopeAnalysisId" +_nIASI = "networkInsightsAccessScopeId" +_Des = "Description" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_PIo = "PoolId" +_pIo = "poolId" +_OA = "OutpostArn" +_HI = "HostIds" +_IPpvo = "Ipv6Pool" +_PLIr = "PrefixListIds" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_oA = "outpostArn" +_CTr = "CreateTime" +_cTr = "createTime" +_ED = "EndDate" +_SDt = "StartDate" +_sDt = "startDate" +_eD = "endDate" +_LGRTI = "LocalGatewayRouteTableId" +_MMTI = "MacModificationTaskId" +_LTI = "LaunchTemplateId" +_LTN = "LaunchTemplateName" +_HIo = "HostId" +_hI = "hostId" +_KN = "KeyName" +_KT = "KeyType" +_KPI = "KeyPairId" +_kPI = "keyPairId" +_kN = "keyName" +_KFe = "KeyFingerprint" +_kF = "keyFingerprint" +_RAes = "ResolveAlias" +_LTV = "LaunchTemplateVersion" +_LGVIGI = "LocalGatewayVirtualInterfaceGroupId" +_LGRTVIGAI = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationId" +_LGRTVAI = "LocalGatewayRouteTableVpcAssociationId" +_LGVII = "LocalGatewayVirtualInterfaceId" +_LGVIIo = "LocalGatewayVirtualInterfaceIds" +_NAI = "NetworkAclId" +_SSna = "SnapshotSet" +_Sn = "Snapshots" +_sSn = "snapshotSet" +_Vers = "Versions" +_Fi = "Filter" +_PIu = "PublicIps" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_mR = "maxResults" +_filt = "filter" +_IMR = "IncludeManagedResources" +_PCB = "PoolCidrBlock" +_pCB = "poolCidrBlock" +_PCBS = "PoolCidrBlocksSet" +_PCBo = "PoolCidrBlocks" +_PCBSo = "PoolCidrBlockSet" +_pCBS = "poolCidrBlockSet" +_IPSpvo = "Ipv6PoolSet" +_KNSL = "KeyNameStringList" +_KPISL = "KeyPairIdStringList" +_DKPIe = "DescribeKeyPairsInput" +_cDKPRom = "com.amazonaws.ec2#DescribeKeyPairsRequest" +_KNe = "KeyNames" +_KPIe = "KeyPairIds" +_IPK = "IncludePublicKey" +_KPIey = "KeyPairInfo" +_kT = "keyType" +_PK = "PublicKey" +_pK = "publicKey" +_KPL = "KeyPairList" +_DKPOe = "DescribeKeyPairsOutput" +_cDKPRoma = "com.amazonaws.ec2#DescribeKeyPairsResult" +_KP = "KeyPairs" +_KSe = "KeySet" +_kSe = "keySet" +_DKPe = "DescribeKeyPairs" +_LTISL = "LaunchTemplateIdStringList" +_LTNSL = "LaunchTemplateNameStringList" +_DLTMR = "DescribeLaunchTemplatesMaxResults" +_DLTIe = "DescribeLaunchTemplatesInput" +_cDLTRom = "com.amazonaws.ec2#DescribeLaunchTemplatesRequest" +_LTIa = "LaunchTemplateIds" +_LTNa = "LaunchTemplateNames" +_LTSa = "LaunchTemplateSet" +_DLTOe = "DescribeLaunchTemplatesOutput" +_cDLTRoma = "com.amazonaws.ec2#DescribeLaunchTemplatesResult" +_LTau = "LaunchTemplates" +_lTau = "launchTemplates" +_DLTe = "DescribeLaunchTemplates" +_DLTVIe = "DescribeLaunchTemplateVersionsInput" +_cDLTVRom = "com.amazonaws.ec2#DescribeLaunchTemplateVersionsRequest" +_MV = "MinVersion" +_MVa = "MaxVersion" +_LTVS = "LaunchTemplateVersionSet" +_DLTVOe = "DescribeLaunchTemplateVersionsOutput" +_cDLTVRoma = "com.amazonaws.ec2#DescribeLaunchTemplateVersionsResult" +_LTVa = "LaunchTemplateVersions" +_lTVS = "launchTemplateVersionSet" +_DLTVe = "DescribeLaunchTemplateVersions" +_LGRTIS = "LocalGatewayRouteTableIdSet" +_LGMR = "LocalGatewayMaxResults" +_DLGRTIe = "DescribeLocalGatewayRouteTablesInput" +_cDLGRTRom = "com.amazonaws.ec2#DescribeLocalGatewayRouteTablesRequest" +_LGRTIo = "LocalGatewayRouteTableIds" +_LGRTS = "LocalGatewayRouteTableSet" +_DLGRTOe = "DescribeLocalGatewayRouteTablesOutput" +_cDLGRTRoma = "com.amazonaws.ec2#DescribeLocalGatewayRouteTablesResult" +_LGRToc = "LocalGatewayRouteTables" +_lGRTS = "localGatewayRouteTableSet" +_DLGRTe = "DescribeLocalGatewayRouteTables" +_LGRTVIGAIS = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet" +_DLGRTVIGAIe = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput" +_cDLGRTVIGARom = "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest" +_LGRTVIGAIo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds" +_LGRTVIGAS = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet" +_DLGRTVIGAOe = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput" +_cDLGRTVIGARoma = "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult" +_LGRTVIGAo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociations" +_lGRTVIGAS = "localGatewayRouteTableVirtualInterfaceGroupAssociationSet" +_DLGRTVIGAe = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations" +_LGRTVAIS = "LocalGatewayRouteTableVpcAssociationIdSet" +_DLGRTVAIe = "DescribeLocalGatewayRouteTableVpcAssociationsInput" +_cDLGRTVARom = "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVpcAssociationsRequest" +_LGRTVAIo = "LocalGatewayRouteTableVpcAssociationIds" +_LGRTVAS = "LocalGatewayRouteTableVpcAssociationSet" +_DLGRTVAOe = "DescribeLocalGatewayRouteTableVpcAssociationsOutput" +_cDLGRTVARoma = "com.amazonaws.ec2#DescribeLocalGatewayRouteTableVpcAssociationsResult" +_LGRTVAo = "LocalGatewayRouteTableVpcAssociations" +_lGRTVAS = "localGatewayRouteTableVpcAssociationSet" +_DLGRTVAe = "DescribeLocalGatewayRouteTableVpcAssociations" +_LGIS = "LocalGatewayIdSet" +_DLGI = "DescribeLocalGatewaysInput" +_cDLGR = "com.amazonaws.ec2#DescribeLocalGatewaysRequest" +_LGIo = "LocalGatewayIds" +_LG = "LocalGateway" +_LGS = "LocalGatewaySet" +_DLGO = "DescribeLocalGatewaysOutput" +_cDLGRo = "com.amazonaws.ec2#DescribeLocalGatewaysResult" +_LGo = "LocalGateways" +_lGS = "localGatewaySet" +_DLG = "DescribeLocalGateways" +_LGVIGIS = "LocalGatewayVirtualInterfaceGroupIdSet" +_DLGVIGIe = "DescribeLocalGatewayVirtualInterfaceGroupsInput" +_cDLGVIGRom = "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfaceGroupsRequest" +_LGVIGIo = "LocalGatewayVirtualInterfaceGroupIds" +_LGVIGS = "LocalGatewayVirtualInterfaceGroupSet" +_DLGVIGOe = "DescribeLocalGatewayVirtualInterfaceGroupsOutput" +_cDLGVIGRoma = "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfaceGroupsResult" +_LGVIGo = "LocalGatewayVirtualInterfaceGroups" +_lGVIGS = "localGatewayVirtualInterfaceGroupSet" +_DLGVIGe = "DescribeLocalGatewayVirtualInterfaceGroups" +_DLGVIIe = "DescribeLocalGatewayVirtualInterfacesInput" +_cDLGVIRom = "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfacesRequest" +_LGVIS = "LocalGatewayVirtualInterfaceSet" +_DLGVIOe = "DescribeLocalGatewayVirtualInterfacesOutput" +_cDLGVIRoma = "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfacesResult" +_LGVIo = "LocalGatewayVirtualInterfaces" +_lGVIS = "localGatewayVirtualInterfaceSet" +_DLGVIe = "DescribeLocalGatewayVirtualInterfaces" +_DLSMR = "DescribeLockedSnapshotsMaxResults" +_DLSI = "DescribeLockedSnapshotsInput" +_cDLSR = "com.amazonaws.ec2#DescribeLockedSnapshotsRequest" +_SInap = "SnapshotIds" +_COPRH = "CoolOffPeriodResponseHours" +_RPRD = "RetentionPeriodResponseDays" +_LSoc = "LockState" +_compli = "compliance" +_go = "governance" +_cc___ = "compliance_cooloff" +_cc____ = "compliance-cooloff" +_LSI = "LockedSnapshotsInfo" +_lSoc = "lockState" +_LDo = "LockDuration" +_lDo = "lockDuration" +_COPo = "CoolOffPeriod" +_cOPo = "coolOffPeriod" +_COPEO = "CoolOffPeriodExpiresOn" +_cOPEO = "coolOffPeriodExpiresOn" +_LCO = "LockCreatedOn" +_lCO = "lockCreatedOn" +_LDST = "LockDurationStartTime" +_lDST = "lockDurationStartTime" +_LEO = "LockExpiresOn" +_lEO = "lockExpiresOn" +_LSIL = "LockedSnapshotsInfoList" +_DLSO = "DescribeLockedSnapshotsOutput" +_cDLSRo = "com.amazonaws.ec2#DescribeLockedSnapshotsResult" +_DLSe = "DescribeLockedSnapshots" +_DMHRMR = "DescribeMacHostsRequestMaxResults" +_DMHI = "DescribeMacHostsInput" +_cDMHR = "com.amazonaws.ec2#DescribeMacHostsRequest" +_MOSVSL = "MacOSVersionStringList" +_MH = "MacHost" +_MOSLSV = "MacOSLatestSupportedVersions" +_MOSLSVS = "MacOSLatestSupportedVersionSet" +_mOSLSVS = "macOSLatestSupportedVersionSet" +_MHL = "MacHostList" +_DMHO = "DescribeMacHostsOutput" +_cDMHRo = "com.amazonaws.ec2#DescribeMacHostsResult" +_MHa = "MacHosts" +_MHS = "MacHostSet" +_mHS = "macHostSet" +_DMH = "DescribeMacHosts" +_MMTIL = "MacModificationTaskIdList" +_DMMTMR = "DescribeMacModificationTasksMaxResults" +_DMMTI = "DescribeMacModificationTasksInput" +_cDMMTR = "com.amazonaws.ec2#DescribeMacModificationTasksRequest" +_MMTIa = "MacModificationTaskIds" +_MMTL = "MacModificationTaskList" +_DMMTO = "DescribeMacModificationTasksOutput" +_cDMMTRo = "com.amazonaws.ec2#DescribeMacModificationTasksResult" +_MMTa = "MacModificationTasks" +_MMTSa = "MacModificationTaskSet" +_mMTS = "macModificationTaskSet" +_DMMT = "DescribeMacModificationTasks" +_PLMR = "PrefixListMaxResults" +_DMPLIe = "DescribeManagedPrefixListsInput" +_cDMPLRom = "com.amazonaws.ec2#DescribeManagedPrefixListsRequest" +_MPLS = "ManagedPrefixListSet" +_DMPLOe = "DescribeManagedPrefixListsOutput" +_cDMPLRoma = "com.amazonaws.ec2#DescribeManagedPrefixListsResult" +_PLre = "PrefixLists" +_PLSr = "PrefixListSet" +_pLSr = "prefixListSet" +_DMPLe = "DescribeManagedPrefixLists" +_DMAMR = "DescribeMovingAddressesMaxResults" +_DMAI = "DescribeMovingAddressesInput" +_cDMAR = "com.amazonaws.ec2#DescribeMovingAddressesRequest" +_MSov = "MoveStatus" +_mTV = "movingToVpc" +_rTC = "restoringToClassic" +_MAS = "MovingAddressStatus" +_mSo = "moveStatus" +_MASS = "MovingAddressStatusSet" +_DMAO = "DescribeMovingAddressesOutput" +_cDMARo = "com.amazonaws.ec2#DescribeMovingAddressesResult" +_MASo = "MovingAddressStatuses" +_mASS = "movingAddressStatusSet" +_DMA = "DescribeMovingAddresses" +_DNGMR = "DescribeNatGatewaysMaxResults" +_NGISL = "NatGatewayIdStringList" +_DNGIe = "DescribeNatGatewaysInput" +_cDNGRom = "com.amazonaws.ec2#DescribeNatGatewaysRequest" +_NGIa = "NatGatewayIds" +_NGL = "NatGatewayList" +_DNGOe = "DescribeNatGatewaysOutput" +_cDNGRoma = "com.amazonaws.ec2#DescribeNatGatewaysResult" +_NGa = "NatGateways" +_NGSa = "NatGatewaySet" +_nGS = "natGatewaySet" +_DNGe = "DescribeNatGateways" +_DNAMR = "DescribeNetworkAclsMaxResults" +_NAISL = "NetworkAclIdStringList" +_DNAIe = "DescribeNetworkAclsInput" +_cDNARo = "com.amazonaws.ec2#DescribeNetworkAclsRequest" +_NAIe = "NetworkAclIds" +_NAL = "NetworkAclList" +_DNAOe = "DescribeNetworkAclsOutput" +_cDNARom = "com.amazonaws.ec2#DescribeNetworkAclsResult" +_NAet = "NetworkAcls" +_NAS = "NetworkAclSet" +_nAS = "networkAclSet" +_DNAe = "DescribeNetworkAcls" +_NIASAIL = "NetworkInsightsAccessScopeAnalysisIdList" +_DNIASAIe = "DescribeNetworkInsightsAccessScopeAnalysesInput" +_cDNIASARom = "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopeAnalysesRequest" +_NIASAIe = "NetworkInsightsAccessScopeAnalysisIds" +_ASTB = "AnalysisStartTimeBegin" +_ASTE = "AnalysisStartTimeEnd" +_FFi = "FindingsFound" +_true = "true" +_fal = "false" +_unk = "unknown" +_NIASAe = "NetworkInsightsAccessScopeAnalysis" +_NIASAA = "NetworkInsightsAccessScopeAnalysisArn" +_nIASAA = "networkInsightsAccessScopeAnalysisArn" +_WM = "WarningMessage" +_wM = "warningMessage" +_fFi = "findingsFound" +_AEC = "AnalyzedEniCount" +_aEC = "analyzedEniCount" +_NIASAL = "NetworkInsightsAccessScopeAnalysisList" +_DNIASAOe = "DescribeNetworkInsightsAccessScopeAnalysesOutput" +_cDNIASARoma = "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopeAnalysesResult" +_NIASAet = "NetworkInsightsAccessScopeAnalyses" +_NIASAS = "NetworkInsightsAccessScopeAnalysisSet" +_nIASAS = "networkInsightsAccessScopeAnalysisSet" +_DNIASAe = "DescribeNetworkInsightsAccessScopeAnalyses" +_NIASIL = "NetworkInsightsAccessScopeIdList" +_DNIASIe = "DescribeNetworkInsightsAccessScopesInput" +_cDNIASRom = "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopesRequest" +_NIASIe = "NetworkInsightsAccessScopeIds" +_NIASL = "NetworkInsightsAccessScopeList" +_DNIASOe = "DescribeNetworkInsightsAccessScopesOutput" +_cDNIASRoma = "com.amazonaws.ec2#DescribeNetworkInsightsAccessScopesResult" +_NIASe = "NetworkInsightsAccessScopes" +_NIASS = "NetworkInsightsAccessScopeSet" +_nIASS = "networkInsightsAccessScopeSet" +_DNIASe = "DescribeNetworkInsightsAccessScopes" +_NIAIL = "NetworkInsightsAnalysisIdList" + +POOL_CIDR_BLOCK: StaticSchema = ( + 18, + n0, + _PCB, + 0, + (_Ci,), + ((lambda: schemas.STRING, {_aQN: _PCB, _sN: _pCB}),), +) + +POOL_CIDR_BLOCKS_SET: StaticSchema = ( + 16, + n0, + _PCBS, + 0, + (_me,), + ((POOL_CIDR_BLOCK, {_sN: _i}),), +) + +IPV6_POOL: StaticSchema = ( + 18, + n0, + _IPpvo, + 0, + (_PIo, _Des, _PCBo, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _PIo, _sN: _pIo}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (POOL_CIDR_BLOCKS_SET, {_aQN: _PCBSo, _sN: _pCBS}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +IPV6_POOL_SET: StaticSchema = (16, n0, _IPSpvo, 0, (_me,), ((IPV6_POOL, {_sN: _i}),)) + +KEY_NAME_STRING_LIST: StaticSchema = ( + 16, + n0, + _KNSL, + 0, + (_me,), + ((lambda: schemas.KEY_PAIR_NAME, {_sN: _KN}),), +) + +KEY_PAIR_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _KPISL, + 0, + (_me,), + ((lambda: schemas.KEY_PAIR_ID, {_sN: _KPI}),), +) + +DESCRIBE_KEY_PAIRS_INPUT: StaticSchema = ( + 18, + n0, + _DKPIe, + {_sSI: _cDKPRom, _sm: None}, + (_KNe, _KPIe, _IPK, _DR, _Fil), + ( + (KEY_NAME_STRING_LIST, {_sN: _KN}), + (KEY_PAIR_ID_STRING_LIST, {_sN: _KPI}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_KEY_PAIRS_OUTPUT: StaticSchema = ( + 18, + n0, + _DKPOe, + {_sSI: _cDKPRoma, _smit: None}, + (_KP,), + ((lambda: KEY_PAIR_LIST, {_aQN: _KSe, _sN: _kSe}),), +) + +DESCRIBE_KEY_PAIRS: StaticOperationSchema = ( + 23, + n0, + _DKPe, + 0, + DESCRIBE_KEY_PAIRS_INPUT, + DESCRIBE_KEY_PAIRS_OUTPUT, + (), +) + +KEY_PAIR_INFO: StaticSchema = ( + 18, + n0, + _KPIey, + 0, + (_KPI, _KT, _Tag, _PK, _CTr, _KN, _KFe), + ( + (lambda: schemas.STRING, {_aQN: _KPI, _sN: _kPI}), + (lambda: schemas.KEY_TYPE, {_aQN: _KT, _sN: _kT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _PK, _sN: _pK}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.STRING, {_aQN: _KN, _sN: _kN}), + (lambda: schemas.STRING, {_aQN: _KFe, _sN: _kF}), + ), +) + +KEY_PAIR_LIST: StaticSchema = (16, n0, _KPL, 0, (_me,), ((KEY_PAIR_INFO, {_sN: _i}),)) + +LAUNCH_TEMPLATE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _LTISL, + 0, + (_me,), + ((lambda: schemas.LAUNCH_TEMPLATE_ID, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_NAME_STRING_LIST: StaticSchema = ( + 16, + n0, + _LTNSL, + 0, + (_me,), + ((lambda: schemas.LAUNCH_TEMPLATE_NAME, {_sN: _i}),), +) + +DESCRIBE_LAUNCH_TEMPLATES_MAX_RESULTS: StaticSchema = (7, n0, _DLTMR, 0) + +DESCRIBE_LAUNCH_TEMPLATES_INPUT: StaticSchema = ( + 18, + n0, + _DLTIe, + {_sSI: _cDLTRom, _sm: None}, + (_DR, _LTIa, _LTNa, _Fil, _NTex, _MR, _IMR), + ( + (lambda: schemas.BOOLEAN, 0), + (LAUNCH_TEMPLATE_ID_STRING_LIST, {_sN: _LTI}), + (LAUNCH_TEMPLATE_NAME_STRING_LIST, {_sN: _LTN}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, 0), + (DESCRIBE_LAUNCH_TEMPLATES_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_LAUNCH_TEMPLATES_OUTPUT: StaticSchema = ( + 18, + n0, + _DLTOe, + {_sSI: _cDLTRoma, _smit: None}, + (_LTau, _NTex), + ( + (lambda: LAUNCH_TEMPLATE_SET, {_aQN: _LTau, _sN: _lTau}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_LAUNCH_TEMPLATES: StaticOperationSchema = ( + 23, + n0, + _DLTe, + 0, + DESCRIBE_LAUNCH_TEMPLATES_INPUT, + DESCRIBE_LAUNCH_TEMPLATES_OUTPUT, + (), +) + +LAUNCH_TEMPLATE_SET: StaticSchema = ( + 16, + n0, + _LTSa, + 0, + (_me,), + ((lambda: schemas.LAUNCH_TEMPLATE, {_sN: _i}),), +) + +DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DLTVIe, + {_sSI: _cDLTVRom, _sm: None}, + (_DR, _LTI, _LTN, _Vers, _MV, _MVa, _NTex, _MR, _Fil, _RAes, _IMR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.LAUNCH_TEMPLATE_ID, 0), + (lambda: schemas.LAUNCH_TEMPLATE_NAME, 0), + (lambda: schemas.VERSION_STRING_LIST, {_sN: _LTV}), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DLTVOe, + {_sSI: _cDLTVRoma, _smit: None}, + (_LTVa, _NTex), + ( + (lambda: LAUNCH_TEMPLATE_VERSION_SET, {_aQN: _LTVS, _sN: _lTVS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_LAUNCH_TEMPLATE_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _DLTVe, + 0, + DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_INPUT, + DESCRIBE_LAUNCH_TEMPLATE_VERSIONS_OUTPUT, + (), +) + +LAUNCH_TEMPLATE_VERSION_SET: StaticSchema = ( + 16, + n0, + _LTVS, + 0, + (_me,), + ((lambda: schemas.LAUNCH_TEMPLATE_VERSION, {_sN: _i}),), +) + +LOCAL_GATEWAY_ROUTE_TABLE_ID_SET: StaticSchema = ( + 16, + n0, + _LGRTIS, + 0, + (_me,), + ((lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, {_sN: _i}),), +) + +LOCAL_GATEWAY_MAX_RESULTS: StaticSchema = (7, n0, _LGMR, 0) + +DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_INPUT: StaticSchema = ( + 18, + n0, + _DLGRTIe, + {_sSI: _cDLGRTRom, _sm: None}, + (_LGRTIo, _Fil, _MR, _NTex, _DR), + ( + (LOCAL_GATEWAY_ROUTE_TABLE_ID_SET, {_sN: _LGRTI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (LOCAL_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGRTOe, + {_sSI: _cDLGRTRoma, _smit: None}, + (_LGRToc, _NTex), + ( + (lambda: LOCAL_GATEWAY_ROUTE_TABLE_SET, {_aQN: _LGRTS, _sN: _lGRTS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES: StaticOperationSchema = ( + 23, + n0, + _DLGRTe, + 0, + DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_INPUT, + DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLES_OUTPUT, + (), +) + +LOCAL_GATEWAY_ROUTE_TABLE_SET: StaticSchema = ( + 16, + n0, + _LGRTS, + 0, + (_me,), + ((lambda: schemas.LOCAL_GATEWAY_ROUTE_TABLE, {_sN: _i}),), +) + +LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID_SET: StaticSchema = ( + 16, + n0, + _LGRTVIGAIS, + 0, + (_me,), + ( + ( + lambda: ( + schemas.LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID + ), + {_sN: _i}, + ), + ), +) + +DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DLGRTVIGAIe, + {_sSI: _cDLGRTVIGARom, _sm: None}, + (_LGRTVIGAIo, _Fil, _MR, _NTex, _DR), + ( + ( + LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_ID_SET, + {_sN: _LGRTVIGAI}, + ), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (LOCAL_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGRTVIGAOe, + {_sSI: _cDLGRTVIGARoma, _smit: None}, + (_LGRTVIGAo, _NTex), + ( + ( + lambda: LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_SET, + {_aQN: _LGRTVIGAS, _sN: _lGRTVIGAS}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _DLGRTVIGAe, + 0, + DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_INPUT, + DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATIONS_OUTPUT, + (), +) + +LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _LGRTVIGAS, + 0, + (_me,), + ( + ( + lambda: ( + schemas.LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION + ), + {_sN: _i}, + ), + ), +) + +LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID_SET: StaticSchema = ( + 16, + n0, + _LGRTVAIS, + 0, + (_me,), + ((lambda: schemas.LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID, {_sN: _i}),), +) + +DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DLGRTVAIe, + {_sSI: _cDLGRTVARom, _sm: None}, + (_LGRTVAIo, _Fil, _MR, _NTex, _DR), + ( + (LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_ID_SET, {_sN: _LGRTVAI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (LOCAL_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGRTVAOe, + {_sSI: _cDLGRTVARoma, _smit: None}, + (_LGRTVAo, _NTex), + ( + ( + lambda: LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_SET, + {_aQN: _LGRTVAS, _sN: _lGRTVAS}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _DLGRTVAe, + 0, + DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_INPUT, + DESCRIBE_LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONS_OUTPUT, + (), +) + +LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _LGRTVAS, + 0, + (_me,), + ((lambda: schemas.LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION, {_sN: _i}),), +) + +LOCAL_GATEWAY_ID_SET: StaticSchema = ( + 16, + n0, + _LGIS, + 0, + (_me,), + ((lambda: schemas.LOCAL_GATEWAY_ID, {_sN: _i}),), +) + +DESCRIBE_LOCAL_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _DLGI, + {_sSI: _cDLGR, _sm: None}, + (_LGIo, _Fil, _MR, _NTex, _DR), + ( + (LOCAL_GATEWAY_ID_SET, {_sN: _LGI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (LOCAL_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_LOCAL_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGO, + {_sSI: _cDLGRo, _smit: None}, + (_LGo, _NTex), + ( + (lambda: LOCAL_GATEWAY_SET, {_aQN: _LGS, _sN: _lGS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_LOCAL_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _DLG, + 0, + DESCRIBE_LOCAL_GATEWAYS_INPUT, + DESCRIBE_LOCAL_GATEWAYS_OUTPUT, + (), +) + +LOCAL_GATEWAY: StaticSchema = ( + 18, + n0, + _LG, + 0, + (_LGI, _OA, _OIw, _St, _Tag), + ( + (lambda: schemas.LOCAL_GATEWAY_ID, {_aQN: _LGI, _sN: _lGI}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +LOCAL_GATEWAY_SET: StaticSchema = ( + 16, + n0, + _LGS, + 0, + (_me,), + ((LOCAL_GATEWAY, {_sN: _i}),), +) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID_SET: StaticSchema = ( + 16, + n0, + _LGVIGIS, + 0, + (_me,), + ((lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, {_sN: _i}),), +) + +DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DLGVIGIe, + {_sSI: _cDLGVIGRom, _sm: None}, + (_LGVIGIo, _Fil, _MR, _NTex, _DR), + ( + (LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID_SET, {_sN: _LGVIGI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (LOCAL_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGVIGOe, + {_sSI: _cDLGVIGRoma, _smit: None}, + (_LGVIGo, _NTex), + ( + ( + lambda: LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_SET, + {_aQN: _LGVIGS, _sN: _lGVIGS}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DLGVIGe, + 0, + DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_INPUT, + DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUPS_OUTPUT, + (), +) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_SET: StaticSchema = ( + 16, + n0, + _LGVIGS, + 0, + (_me,), + ((lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP, {_sN: _i}),), +) + +DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_INPUT: StaticSchema = ( + 18, + n0, + _DLGVIIe, + {_sSI: _cDLGVIRom, _sm: None}, + (_LGVIIo, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID_SET, {_sN: _LGVII}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (LOCAL_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_OUTPUT: StaticSchema = ( + 18, + n0, + _DLGVIOe, + {_sSI: _cDLGVIRoma, _smit: None}, + (_LGVIo, _NTex), + ( + (lambda: LOCAL_GATEWAY_VIRTUAL_INTERFACE_SET, {_aQN: _LGVIS, _sN: _lGVIS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES: StaticOperationSchema = ( + 23, + n0, + _DLGVIe, + 0, + DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_INPUT, + DESCRIBE_LOCAL_GATEWAY_VIRTUAL_INTERFACES_OUTPUT, + (), +) + +LOCAL_GATEWAY_VIRTUAL_INTERFACE_SET: StaticSchema = ( + 16, + n0, + _LGVIS, + 0, + (_me,), + ((lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE, {_sN: _i}),), +) + +DESCRIBE_LOCKED_SNAPSHOTS_MAX_RESULTS: StaticSchema = (7, n0, _DLSMR, 0) + +DESCRIBE_LOCKED_SNAPSHOTS_INPUT: StaticSchema = ( + 18, + n0, + _DLSI, + {_sSI: _cDLSR, _sm: None}, + (_Fil, _MR, _NTex, _SInap, _DR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_LOCKED_SNAPSHOTS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SNAPSHOT_ID_STRING_LIST, {_sN: _SIn}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_LOCKED_SNAPSHOTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DLSO, + {_sSI: _cDLSRo, _smit: None}, + (_Sn, _NTex), + ( + (lambda: LOCKED_SNAPSHOTS_INFO_LIST, {_aQN: _SSna, _sN: _sSn}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_LOCKED_SNAPSHOTS: StaticOperationSchema = ( + 23, + n0, + _DLSe, + 0, + DESCRIBE_LOCKED_SNAPSHOTS_INPUT, + DESCRIBE_LOCKED_SNAPSHOTS_OUTPUT, + (), +) + +COOL_OFF_PERIOD_RESPONSE_HOURS: StaticSchema = (7, n0, _COPRH, 0) + +RETENTION_PERIOD_RESPONSE_DAYS: StaticSchema = (7, n0, _RPRD, 0) + +LOCK_STATE: StaticSchema = ( + 14, + n0, + _LSoc, + 0, + (_compli, _go, _cc___, _ex), + ((-1, {_sV: _compli}), (-1, {_sV: _go}), (-1, {_sV: _cc____}), (-1, {_sV: _ex})), +) + +LOCKED_SNAPSHOTS_INFO: StaticSchema = ( + 18, + n0, + _LSI, + 0, + (_OIw, _SIn, _LSoc, _LDo, _COPo, _COPEO, _LCO, _LDST, _LEO), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (LOCK_STATE, {_aQN: _LSoc, _sN: _lSoc}), + (RETENTION_PERIOD_RESPONSE_DAYS, {_aQN: _LDo, _sN: _lDo}), + (COOL_OFF_PERIOD_RESPONSE_HOURS, {_aQN: _COPo, _sN: _cOPo}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _COPEO, _sN: _cOPEO}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LCO, _sN: _lCO}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LDST, _sN: _lDST}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LEO, _sN: _lEO}), + ), +) + +LOCKED_SNAPSHOTS_INFO_LIST: StaticSchema = ( + 16, + n0, + _LSIL, + 0, + (_me,), + ((LOCKED_SNAPSHOTS_INFO, {_sN: _i}),), +) + +DESCRIBE_MAC_HOSTS_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _DMHRMR, 0) + +DESCRIBE_MAC_HOSTS_INPUT: StaticSchema = ( + 18, + n0, + _DMHI, + {_sSI: _cDMHR, _sm: None}, + (_Fil, _HI, _MR, _NTex), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.REQUEST_HOST_ID_LIST, {_sN: _HIo}), + (DESCRIBE_MAC_HOSTS_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_MAC_HOSTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DMHO, + {_sSI: _cDMHRo, _smit: None}, + (_MHa, _NTex), + ( + (lambda: MAC_HOST_LIST, {_aQN: _MHS, _sN: _mHS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_MAC_HOSTS: StaticOperationSchema = ( + 23, + n0, + _DMH, + 0, + DESCRIBE_MAC_HOSTS_INPUT, + DESCRIBE_MAC_HOSTS_OUTPUT, + (), +) + +MAC_OS_VERSION_STRING_LIST: StaticSchema = ( + 16, + n0, + _MOSVSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +MAC_HOST: StaticSchema = ( + 18, + n0, + _MH, + 0, + (_HIo, _MOSLSV), + ( + (lambda: schemas.DEDICATED_HOST_ID, {_aQN: _HIo, _sN: _hI}), + (MAC_OS_VERSION_STRING_LIST, {_aQN: _MOSLSVS, _sN: _mOSLSVS}), + ), +) + +MAC_HOST_LIST: StaticSchema = (16, n0, _MHL, 0, (_me,), ((MAC_HOST, {_sN: _i}),)) + +MAC_MODIFICATION_TASK_ID_LIST: StaticSchema = ( + 16, + n0, + _MMTIL, + 0, + (_me,), + ((lambda: schemas.MAC_MODIFICATION_TASK_ID, {_sN: _i}),), +) + +DESCRIBE_MAC_MODIFICATION_TASKS_MAX_RESULTS: StaticSchema = (7, n0, _DMMTMR, 0) + +DESCRIBE_MAC_MODIFICATION_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DMMTI, + {_sSI: _cDMMTR, _sm: None}, + (_DR, _Fil, _MMTIa, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (MAC_MODIFICATION_TASK_ID_LIST, {_sN: _MMTI}), + (DESCRIBE_MAC_MODIFICATION_TASKS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_MAC_MODIFICATION_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DMMTO, + {_sSI: _cDMMTRo, _smit: None}, + (_MMTa, _NTex), + ( + (lambda: MAC_MODIFICATION_TASK_LIST, {_aQN: _MMTSa, _sN: _mMTS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_MAC_MODIFICATION_TASKS: StaticOperationSchema = ( + 23, + n0, + _DMMT, + 0, + DESCRIBE_MAC_MODIFICATION_TASKS_INPUT, + DESCRIBE_MAC_MODIFICATION_TASKS_OUTPUT, + (), +) + +MAC_MODIFICATION_TASK_LIST: StaticSchema = ( + 16, + n0, + _MMTL, + 0, + (_me,), + ((lambda: schemas.MAC_MODIFICATION_TASK, {_sN: _i}),), +) + +PREFIX_LIST_MAX_RESULTS: StaticSchema = (7, n0, _PLMR, 0) + +DESCRIBE_MANAGED_PREFIX_LISTS_INPUT: StaticSchema = ( + 18, + n0, + _DMPLIe, + {_sSI: _cDMPLRom, _sm: None}, + (_DR, _Fil, _MR, _NTex, _PLIr), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (PREFIX_LIST_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _PLI}), + ), +) + +DESCRIBE_MANAGED_PREFIX_LISTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DMPLOe, + {_sSI: _cDMPLRoma, _smit: None}, + (_NTex, _PLre), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: MANAGED_PREFIX_LIST_SET, {_aQN: _PLSr, _sN: _pLSr}), + ), +) + +DESCRIBE_MANAGED_PREFIX_LISTS: StaticOperationSchema = ( + 23, + n0, + _DMPLe, + 0, + DESCRIBE_MANAGED_PREFIX_LISTS_INPUT, + DESCRIBE_MANAGED_PREFIX_LISTS_OUTPUT, + (), +) + +MANAGED_PREFIX_LIST_SET: StaticSchema = ( + 16, + n0, + _MPLS, + 0, + (_me,), + ((lambda: schemas.MANAGED_PREFIX_LIST, {_sN: _i}),), +) + +DESCRIBE_MOVING_ADDRESSES_MAX_RESULTS: StaticSchema = (7, n0, _DMAMR, 0) + +DESCRIBE_MOVING_ADDRESSES_INPUT: StaticSchema = ( + 18, + n0, + _DMAI, + {_sSI: _cDMAR, _sm: None}, + (_DR, _PIu, _NTex, _Fil, _MR), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _PI, _sN: _pI}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.FILTER_LIST, {_aQN: _Fi, _sN: _filt}), + (DESCRIBE_MOVING_ADDRESSES_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), + ), +) + +DESCRIBE_MOVING_ADDRESSES_OUTPUT: StaticSchema = ( + 18, + n0, + _DMAO, + {_sSI: _cDMARo, _smit: None}, + (_MASo, _NTex), + ( + (lambda: MOVING_ADDRESS_STATUS_SET, {_aQN: _MASS, _sN: _mASS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_MOVING_ADDRESSES: StaticOperationSchema = ( + 23, + n0, + _DMA, + 0, + DESCRIBE_MOVING_ADDRESSES_INPUT, + DESCRIBE_MOVING_ADDRESSES_OUTPUT, + (), +) + +MOVE_STATUS: StaticSchema = ( + 14, + n0, + _MSov, + 0, + (_mTV, _rTC), + ((-1, {_sV: _mTV}), (-1, {_sV: _rTC})), +) + +MOVING_ADDRESS_STATUS: StaticSchema = ( + 18, + n0, + _MAS, + 0, + (_MSov, _PI), + ( + (MOVE_STATUS, {_aQN: _MSov, _sN: _mSo}), + (lambda: schemas.STRING, {_aQN: _PI, _sN: _pI}), + ), +) + +MOVING_ADDRESS_STATUS_SET: StaticSchema = ( + 16, + n0, + _MASS, + 0, + (_me,), + ((MOVING_ADDRESS_STATUS, {_sN: _i}),), +) + +DESCRIBE_NAT_GATEWAYS_MAX_RESULTS: StaticSchema = (7, n0, _DNGMR, 0) + +NAT_GATEWAY_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _NGISL, + 0, + (_me,), + ((lambda: schemas.NAT_GATEWAY_ID, {_sN: _i}),), +) + +DESCRIBE_NAT_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _DNGIe, + {_sSI: _cDNGRom, _sm: None}, + (_DR, _Fi, _MR, _NGIa, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, 0), + (DESCRIBE_NAT_GATEWAYS_MAX_RESULTS, 0), + (NAT_GATEWAY_ID_STRING_LIST, {_sN: _NGI}), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_NAT_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _DNGOe, + {_sSI: _cDNGRoma, _smit: None}, + (_NGa, _NTex), + ( + (lambda: NAT_GATEWAY_LIST, {_aQN: _NGSa, _sN: _nGS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_NAT_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _DNGe, + 0, + DESCRIBE_NAT_GATEWAYS_INPUT, + DESCRIBE_NAT_GATEWAYS_OUTPUT, + (), +) + +NAT_GATEWAY_LIST: StaticSchema = ( + 16, + n0, + _NGL, + 0, + (_me,), + ((lambda: schemas.NAT_GATEWAY, {_sN: _i}),), +) + +DESCRIBE_NETWORK_ACLS_MAX_RESULTS: StaticSchema = (7, n0, _DNAMR, 0) + +NETWORK_ACL_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _NAISL, + 0, + (_me,), + ((lambda: schemas.NETWORK_ACL_ID, {_sN: _i}),), +) + +DESCRIBE_NETWORK_ACLS_INPUT: StaticSchema = ( + 18, + n0, + _DNAIe, + {_sSI: _cDNARo, _sm: None}, + (_NTex, _MR, _DR, _NAIe, _Fil), + ( + (lambda: schemas.STRING, 0), + (DESCRIBE_NETWORK_ACLS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (NETWORK_ACL_ID_STRING_LIST, {_sN: _NAI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_NETWORK_ACLS_OUTPUT: StaticSchema = ( + 18, + n0, + _DNAOe, + {_sSI: _cDNARom, _smit: None}, + (_NAet, _NTex), + ( + (lambda: NETWORK_ACL_LIST, {_aQN: _NAS, _sN: _nAS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_NETWORK_ACLS: StaticOperationSchema = ( + 23, + n0, + _DNAe, + 0, + DESCRIBE_NETWORK_ACLS_INPUT, + DESCRIBE_NETWORK_ACLS_OUTPUT, + (), +) + +NETWORK_ACL_LIST: StaticSchema = ( + 16, + n0, + _NAL, + 0, + (_me,), + ((lambda: schemas.NETWORK_ACL, {_sN: _i}),), +) + +NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID_LIST: StaticSchema = ( + 16, + n0, + _NIASAIL, + 0, + (_me,), + ((lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, {_sN: _i}),), +) + +DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_INPUT: StaticSchema = ( + 18, + n0, + _DNIASAIe, + {_sSI: _cDNIASARom, _sm: None}, + (_NIASAIe, _NIASI, _ASTB, _ASTE, _Fil, _MR, _DR, _NTex), + ( + (NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID_LIST, {_sN: _NIASAI}), + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NETWORK_INSIGHTS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIASAOe, + {_sSI: _cDNIASARoma, _smit: None}, + (_NIASAet, _NTex), + ( + ( + lambda: NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_LIST, + {_aQN: _NIASAS, _sN: _nIASAS}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES: StaticOperationSchema = ( + 23, + n0, + _DNIASAe, + 0, + DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_INPUT, + DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSES_OUTPUT, + (), +) + +FINDINGS_FOUND: StaticSchema = ( + 14, + n0, + _FFi, + 0, + (_true, _fal, _unk), + ((-1, {_sV: _true}), (-1, {_sV: _fal}), (-1, {_sV: _unk})), +) + +NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS: StaticSchema = ( + 18, + n0, + _NIASAe, + 0, + (_NIASAI, _NIASAA, _NIASI, _Sta, _SMt, _WM, _SDt, _ED, _FFi, _AEC, _Tag), + ( + ( + lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, + {_aQN: _NIASAI, _sN: _nIASAI}, + ), + (lambda: schemas.RESOURCE_ARN, {_aQN: _NIASAA, _sN: _nIASAA}), + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_aQN: _NIASI, _sN: _nIASI}), + (lambda: schemas.ANALYSIS_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.STRING, {_aQN: _WM, _sN: _wM}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), + (FINDINGS_FOUND, {_aQN: _FFi, _sN: _fFi}), + (lambda: schemas.INTEGER, {_aQN: _AEC, _sN: _aEC}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_LIST: StaticSchema = ( + 16, + n0, + _NIASAL, + 0, + (_me,), + ((NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS, {_sN: _i}),), +) + +NETWORK_INSIGHTS_ACCESS_SCOPE_ID_LIST: StaticSchema = ( + 16, + n0, + _NIASIL, + 0, + (_me,), + ((lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, {_sN: _i}),), +) + +DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_INPUT: StaticSchema = ( + 18, + n0, + _DNIASIe, + {_sSI: _cDNIASRom, _sm: None}, + (_NIASIe, _Fil, _MR, _DR, _NTex), + ( + (NETWORK_INSIGHTS_ACCESS_SCOPE_ID_LIST, {_sN: _NIASI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NETWORK_INSIGHTS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIASOe, + {_sSI: _cDNIASRoma, _smit: None}, + (_NIASe, _NTex), + ( + (lambda: NETWORK_INSIGHTS_ACCESS_SCOPE_LIST, {_aQN: _NIASS, _sN: _nIASS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES: StaticOperationSchema = ( + 23, + n0, + _DNIASe, + 0, + DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_INPUT, + DESCRIBE_NETWORK_INSIGHTS_ACCESS_SCOPES_OUTPUT, + (), +) + +NETWORK_INSIGHTS_ACCESS_SCOPE_LIST: StaticSchema = ( + 16, + n0, + _NIASL, + 0, + (_me,), + ((lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE, {_sN: _i}),), +) + +NETWORK_INSIGHTS_ANALYSIS_ID_LIST: StaticSchema = ( + 16, + n0, + _NIAIL, + 0, + (_me,), + ((lambda: schemas.NETWORK_INSIGHTS_ANALYSIS_ID, {_sN: _i}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_32.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_32.py new file mode 100644 index 000000000..0a135ad5f --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_32.py @@ -0,0 +1,1597 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_IC = "InstanceCount" +_TCa = "TargetConfiguration" +_St = "State" +_st = "state" +_OIw = "OwnerId" +_oI = "ownerId" +_Re = "Region" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_dRr = "dryRun" +_act = "active" +_Ar = "Arn" +_ar = "arn" +_N = "Name" +_nam = "name" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_PLI = "PrefixListId" +_pLI = "prefixListId" +_Cid = "Cidrs" +_CS = "CidrSet" +_cS = "cidrSet" +_PL = "PrefixList" +_Exp = "Explanations" +_ES = "ExplanationSet" +_eS = "explanationSet" +_Res = "Resources" +_Reso = "Resource" +_IT = "InstanceType" +_iT = "instanceType" +_RNe = "RegionName" +_Des = "Description" +_stan = "standard" +_PIP = "PublicIpv4Pool" +_NBG = "NetworkBorderGroup" +_nBG = "networkBorderGroup" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_PIo = "PoolId" +_pIo = "poolId" +_OA = "OutpostArn" +_CTl = "ClientToken" +_cTl = "clientToken" +_GIr = "GroupId" +_G = "Groups" +_Sc = "Scope" +_sc = "scope" +_At = "Attachment" +_atta = "attachment" +_GN = "GroupName" +_gN = "groupName" +_PLIr = "PrefixListIds" +_RILI = "ReservedInstancesListingId" +_rILI = "reservedInstancesListingId" +_iC = "instanceCount" +_CC = "CurrencyCode" +_cC = "currencyCode" +_CD = "CreateDate" +_cD = "createDate" +_RIIes = "ReservedInstancesId" +_rII = "reservedInstancesId" +_UD = "UpdateDate" +_uD = "updateDate" +_RILe = "ReservedInstancesListings" +_RILS = "ReservedInstancesListingsSet" +_rILS = "reservedInstancesListingsSet" +_oA = "outpostArn" +_SDt = "StartDate" +_sDt = "startDate" +_pp__ = "payment_pending" +_pp___ = "payment-pending" +_pf____ = "payment_failed" +_pf_____ = "payment-failed" +_ITnst = "InstanceTenancy" +_iTns = "instanceTenancy" +_Pla = "Platform" +_plat = "platform" +_REGIONAL = "REGIONAL" +_NIIe = "NetworkInterfaceIds" +_rNe = "regionName" +_APIAsso = "AssociatePublicIpAddress" +_NIe = "NetworkInterfaces" +_aPIA = "associatePublicIpAddress" +_GS = "GroupSet" +_gS = "groupSet" +_NIS = "NetworkInterfaceSet" +_nIS = "networkInterfaceSet" +_OLI = "OutpostLagId" +_oLI = "outpostLagId" +_LGVIIS = "LocalGatewayVirtualInterfaceIdSet" +_LGVIIo = "LocalGatewayVirtualInterfaceIds" +_lGVIIS = "localGatewayVirtualInterfaceIdSet" +_PLN = "PrefixListName" +_pLN = "prefixListName" +_NIPI = "NetworkInsightsPathId" +_nIPI = "networkInsightsPathId" +_SDC = "SourceDestCheck" +_sDC = "sourceDestCheck" +_NIPIe = "NetworkInterfacePermissionId" +_RRVTI = "ReplaceRootVolumeTaskId" +_NIAI = "NetworkInsightsAnalysisId" +_nIAI = "networkInsightsAnalysisId" +_RIIese = "ReservedInstancesIds" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_Attr = "Attribute" +_MR = "MaxResults" +_nT = "nextToken" +_Statu = "Statuses" +_SSta = "StatusSet" +_sSt = "statusSet" +_OIS = "OptInStatus" +_oIS = "optInStatus" +_Ge = "Geography" +_GSe = "GeographySet" +_gSe = "geographySet" +_PIoo = "PoolIds" +_Dur = "Duration" +_dur = "duration" +_reti = "retired" +_End = "End" +_end = "end" +_Star = "Start" +_star = "start" +_filt = "filter" +_attr = "attribute" +_IMR = "IncludeManagedResources" +_GNr = "GroupNames" +_PLre = "PrefixLists" +_PLSr = "PrefixListSet" +_pLSr = "prefixListSet" +_WM = "WarningMessage" +_wM = "warningMessage" +_DNIAIe = "DescribeNetworkInsightsAnalysesInput" +_cDNIARom = "com.amazonaws.ec2#DescribeNetworkInsightsAnalysesRequest" +_NIAIe = "NetworkInsightsAnalysisIds" +_AST = "AnalysisStartTime" +_AET = "AnalysisEndTime" +_ALr = "ArnList" +_NIAet = "NetworkInsightsAnalysis" +_NIAA = "NetworkInsightsAnalysisArn" +_nIAA = "networkInsightsAnalysisArn" +_AAdd = "AdditionalAccounts" +_AASd = "AdditionalAccountSet" +_aASd = "additionalAccountSet" +_FIAi = "FilterInArns" +_FIAS = "FilterInArnSet" +_fIAS = "filterInArnSet" +_FOA = "FilterOutArns" +_FOAS = "FilterOutArnSet" +_fOAS = "filterOutArnSet" +_NPF = "NetworkPathFound" +_nPF = "networkPathFound" +_FPC = "ForwardPathComponents" +_FPCS = "ForwardPathComponentSet" +_fPCS = "forwardPathComponentSet" +_RPC = "ReturnPathComponents" +_RPCS = "ReturnPathComponentSet" +_rPCS = "returnPathComponentSet" +_APHlt = "AlternatePathHints" +_APHS = "AlternatePathHintSet" +_aPHS = "alternatePathHintSet" +_SAug = "SuggestedAccounts" +_SASu = "SuggestedAccountSet" +_sASu = "suggestedAccountSet" +_NIAL = "NetworkInsightsAnalysisList" +_DNIAOe = "DescribeNetworkInsightsAnalysesOutput" +_cDNIARoma = "com.amazonaws.ec2#DescribeNetworkInsightsAnalysesResult" +_NIAetw = "NetworkInsightsAnalyses" +_NIASet = "NetworkInsightsAnalysisSet" +_nIASe = "networkInsightsAnalysisSet" +_DNIAe = "DescribeNetworkInsightsAnalyses" +_NIPIL = "NetworkInsightsPathIdList" +_DNIPIes = "DescribeNetworkInsightsPathsInput" +_cDNIPRomam = "com.amazonaws.ec2#DescribeNetworkInsightsPathsRequest" +_NIPIet = "NetworkInsightsPathIds" +_NIPL = "NetworkInsightsPathList" +_DNIPOes = "DescribeNetworkInsightsPathsOutput" +_cDNIPRomama = "com.amazonaws.ec2#DescribeNetworkInsightsPathsResult" +_NIPet = "NetworkInsightsPaths" +_NIPSe = "NetworkInsightsPathSet" +_nIPS = "networkInsightsPathSet" +_DNIPes = "DescribeNetworkInsightsPaths" +_NIAetwo = "NetworkInterfaceAttribute" +_DNIAIes = "DescribeNetworkInterfaceAttributeInput" +_cDNIARomam = "com.amazonaws.ec2#DescribeNetworkInterfaceAttributeRequest" +_DNIAOes = "DescribeNetworkInterfaceAttributeOutput" +_cDNIARomama = "com.amazonaws.ec2#DescribeNetworkInterfaceAttributeResult" +_DNIAes = "DescribeNetworkInterfaceAttribute" +_DNIPMR = "DescribeNetworkInterfacePermissionsMaxResults" +_NIPILe = "NetworkInterfacePermissionIdList" +_DNIPIesc = "DescribeNetworkInterfacePermissionsInput" +_cDNIPRomamaz = "com.amazonaws.ec2#DescribeNetworkInterfacePermissionsRequest" +_NIPIetw = "NetworkInterfacePermissionIds" +_NIPLe = "NetworkInterfacePermissionList" +_DNIPOesc = "DescribeNetworkInterfacePermissionsOutput" +_cDNIPRomamazo = "com.amazonaws.ec2#DescribeNetworkInterfacePermissionsResult" +_NIPetw = "NetworkInterfacePermissions" +_nIPe = "networkInterfacePermissions" +_DNIPesc = "DescribeNetworkInterfacePermissions" +_DNIMR = "DescribeNetworkInterfacesMaxResults" +_NIIL = "NetworkInterfaceIdList" +_DNIIes = "DescribeNetworkInterfacesInput" +_cDNIRo = "com.amazonaws.ec2#DescribeNetworkInterfacesRequest" +_NIL = "NetworkInterfaceList" +_DNIOe = "DescribeNetworkInterfacesOutput" +_cDNIRom = "com.amazonaws.ec2#DescribeNetworkInterfacesResult" +_DNIe = "DescribeNetworkInterfaces" +_OLMR = "OutpostLagMaxResults" +_OLIS = "OutpostLagIdSet" +_DOLI = "DescribeOutpostLagsInput" +_cDOLR = "com.amazonaws.ec2#DescribeOutpostLagsRequest" +_OLIu = "OutpostLagIds" +_SLVII = "ServiceLinkVirtualInterfaceId" +_SLVIIS = "ServiceLinkVirtualInterfaceIdSet" +_OL = "OutpostLag" +_SLVIIe = "ServiceLinkVirtualInterfaceIds" +_sLVIIS = "serviceLinkVirtualInterfaceIdSet" +_OLS = "OutpostLagSet" +_DOLO = "DescribeOutpostLagsOutput" +_cDOLRo = "com.amazonaws.ec2#DescribeOutpostLagsResult" +_OLu = "OutpostLags" +_oLS = "outpostLagSet" +_DOLe = "DescribeOutpostLags" +_PGISL = "PlacementGroupIdStringList" +_PGSLl = "PlacementGroupStringList" +_DPGIe = "DescribePlacementGroupsInput" +_cDPGRo = "com.amazonaws.ec2#DescribePlacementGroupsRequest" +_GIrou = "GroupIds" +_PGL = "PlacementGroupList" +_DPGOe = "DescribePlacementGroupsOutput" +_cDPGRom = "com.amazonaws.ec2#DescribePlacementGroupsResult" +_PGl = "PlacementGroups" +_PGSla = "PlacementGroupSet" +_pGS = "placementGroupSet" +_DPGe = "DescribePlacementGroups" +_PLRISL = "PrefixListResourceIdStringList" +_DPLIe = "DescribePrefixListsInput" +_cDPLR = "com.amazonaws.ec2#DescribePrefixListsRequest" +_DPLO = "DescribePrefixListsOutput" +_cDPLRo = "com.amazonaws.ec2#DescribePrefixListsResult" +_DPLes = "DescribePrefixLists" +_DPIFMR = "DescribePrincipalIdFormatMaxResults" +_RLes = "ResourceList" +_DPIFI = "DescribePrincipalIdFormatInput" +_cDPIFR = "com.amazonaws.ec2#DescribePrincipalIdFormatRequest" +_PIF = "PrincipalIdFormat" +_PIFL = "PrincipalIdFormatList" +_DPIFO = "DescribePrincipalIdFormatOutput" +_cDPIFRo = "com.amazonaws.ec2#DescribePrincipalIdFormatResult" +_Prin = "Principals" +_PSrin = "PrincipalSet" +_pSrin = "principalSet" +_DPIF = "DescribePrincipalIdFormat" +_PMR = "PoolMaxResults" +_PIPISL = "PublicIpv4PoolIdStringList" +_DPIPIe = "DescribePublicIpv4PoolsInput" +_cDPIPRom = "com.amazonaws.ec2#DescribePublicIpv4PoolsRequest" +_PIPR = "PublicIpv4PoolRange" +_FAi = "FirstAddress" +_fAi = "firstAddress" +_LAa = "LastAddress" +_lAa = "lastAddress" +_ACd = "AddressCount" +_aCd = "addressCount" +_AAC = "AvailableAddressCount" +_aAC = "availableAddressCount" +_PIPRS = "PublicIpv4PoolRangeSet" +_PAR = "PoolAddressRanges" +_PARS = "PoolAddressRangeSet" +_pARS = "poolAddressRangeSet" +_TACo = "TotalAddressCount" +_tACo = "totalAddressCount" +_TAAC = "TotalAvailableAddressCount" +_tAAC = "totalAvailableAddressCount" +_PIPS = "PublicIpv4PoolSet" +_DPIPOe = "DescribePublicIpv4PoolsOutput" +_cDPIPRoma = "com.amazonaws.ec2#DescribePublicIpv4PoolsResult" +_PIPu = "PublicIpv4Pools" +_pIPS = "publicIpv4PoolSet" +_DPIPe = "DescribePublicIpv4Pools" +_RNSL = "RegionNameStringList" +_DRIe = "DescribeRegionsInput" +_cDRRo = "com.amazonaws.ec2#DescribeRegionsRequest" +_RNeg = "RegionNames" +_ARlle = "AllRegions" +_RG = "RegionGeography" +_RGL = "RegionGeographyList" +_Endp = "Endpoint" +_REeg = "RegionEndpoint" +_rEeg = "regionEndpoint" +_RLeg = "RegionList" +_DROe = "DescribeRegionsOutput" +_cDRRom = "com.amazonaws.ec2#DescribeRegionsResult" +_Reg = "Regions" +_RIegi = "RegionInfo" +_rIeg = "regionInfo" +_DRes = "DescribeRegions" +_DRRVTMR = "DescribeReplaceRootVolumeTasksMaxResults" +_RRVTIe = "ReplaceRootVolumeTaskIds" +_DRRVTI = "DescribeReplaceRootVolumeTasksInput" +_cDRRVTR = "com.amazonaws.ec2#DescribeReplaceRootVolumeTasksRequest" +_RRVTe = "ReplaceRootVolumeTasks" +_DRRVTO = "DescribeReplaceRootVolumeTasksOutput" +_cDRRVTRo = "com.amazonaws.ec2#DescribeReplaceRootVolumeTasksResult" +_RRVTSe = "ReplaceRootVolumeTaskSet" +_rRVTS = "replaceRootVolumeTaskSet" +_DRRVT = "DescribeReplaceRootVolumeTasks" +_OCT = "OfferingClassType" +_STANDARD = "STANDARD" +_CONVERTIBLE = "CONVERTIBLE" +_conv = "convertible" +_OTV = "OfferingTypeValues" +_HU = "Heavy_Utilization" +_HU_ = "Heavy Utilization" +_MU = "Medium_Utilization" +_MU_ = "Medium Utilization" +_LU_ = "Light_Utilization" +_LU__ = "Light Utilization" +_NU_ = "No_Upfront" +_NU__ = "No Upfront" +_PU__ = "Partial_Upfront" +_PU___ = "Partial Upfront" +_AU_ = "All_Upfront" +_AU__ = "All Upfront" +_RIISL = "ReservedInstancesIdStringList" +_DRII = "DescribeReservedInstancesInput" +_cDRIR = "com.amazonaws.ec2#DescribeReservedInstancesRequest" +_OC = "OfferingClass" +_OTf = "OfferingType" +_oTf = "offeringType" +_Flo = "Float" +_RCF = "RecurringChargeFrequency" +_Hou = "Hourly" +_RCec = "RecurringCharge" +_Am = "Amount" +_amo = "amount" +_Fr = "Frequency" +_freq = "frequency" +_RCL = "RecurringChargesList" +_AZ_ = "AVAILABILITY_ZONE" +_AZ__ = "Availability Zone" +_RIS = "ReservedInstanceState" +_que = "queued" +_qd = "queued_deleted" +_qd_ = "queued-deleted" +_RIese = "ReservedInstances" +_oC = "offeringClass" +_RCecu = "RecurringCharges" +_rCe = "recurringCharges" +_UPs = "UsagePrice" +_uPs = "usagePrice" +_FPix = "FixedPrice" +_fPix = "fixedPrice" +_PDr = "ProductDescription" +_pDr = "productDescription" +_RILese = "ReservedInstancesList" +_DRIO = "DescribeReservedInstancesOutput" +_cDRIRo = "com.amazonaws.ec2#DescribeReservedInstancesResult" +_RISe = "ReservedInstancesSet" +_rIS = "reservedInstancesSet" +_DRIes = "DescribeReservedInstances" +_DRILI = "DescribeReservedInstancesListingsInput" +_cDRILR = "com.amazonaws.ec2#DescribeReservedInstancesListingsRequest" +_DRILO = "DescribeReservedInstancesListingsOutput" +_cDRILRo = "com.amazonaws.ec2#DescribeReservedInstancesListingsResult" +_DRIL = "DescribeReservedInstancesListings" +_RIMI = "ReservedInstancesModificationId" +_RIMISL = "ReservedInstancesModificationIdStringList" +_DRIMI = "DescribeReservedInstancesModificationsInput" +_cDRIMR = "com.amazonaws.ec2#DescribeReservedInstancesModificationsRequest" +_RIMIe = "ReservedInstancesModificationIds" +_RIC = "ReservedInstancesConfiguration" +_RIMR = "ReservedInstancesModificationResult" +_tCa = "targetConfiguration" +_RIMRL = "ReservedInstancesModificationResultList" +_RIIeser = "ReservedIntancesIds" +_RIM = "ReservedInstancesModification" +_EDf = "EffectiveDate" +_eDf = "effectiveDate" +_MRo = "ModificationResults" +_MRS = "ModificationResultSet" +_mRS = "modificationResultSet" +_rIMI = "reservedInstancesModificationId" +_RIML = "ReservedInstancesModificationList" +_DRIMO = "DescribeReservedInstancesModificationsOutput" +_cDRIMRo = "com.amazonaws.ec2#DescribeReservedInstancesModificationsResult" +_RIMe = "ReservedInstancesModifications" +_RIMS = "ReservedInstancesModificationsSet" +_rIMS = "reservedInstancesModificationsSet" +_DRIM = "DescribeReservedInstancesModifications" +_RIOISL = "ReservedInstancesOfferingIdStringList" + +DESCRIBE_NETWORK_INSIGHTS_ANALYSES_INPUT: StaticSchema = ( + 18, + n0, + _DNIAIe, + {_sSI: _cDNIARom, _sm: None}, + (_NIAIe, _NIPI, _AST, _AET, _Fil, _MR, _DR, _NTex), + ( + (lambda: schemas.NETWORK_INSIGHTS_ANALYSIS_ID_LIST, {_sN: _NIAI}), + (lambda: schemas.NETWORK_INSIGHTS_PATH_ID, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NETWORK_INSIGHTS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_NETWORK_INSIGHTS_ANALYSES_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIAOe, + {_sSI: _cDNIARoma, _smit: None}, + (_NIAetw, _NTex), + ( + (lambda: NETWORK_INSIGHTS_ANALYSIS_LIST, {_aQN: _NIASet, _sN: _nIASe}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_NETWORK_INSIGHTS_ANALYSES: StaticOperationSchema = ( + 23, + n0, + _DNIAe, + 0, + DESCRIBE_NETWORK_INSIGHTS_ANALYSES_INPUT, + DESCRIBE_NETWORK_INSIGHTS_ANALYSES_OUTPUT, + (), +) + +ARN_LIST: StaticSchema = ( + 16, + n0, + _ALr, + 0, + (_me,), + ((lambda: schemas.RESOURCE_ARN, {_sN: _i}),), +) + +NETWORK_INSIGHTS_ANALYSIS: StaticSchema = ( + 18, + n0, + _NIAet, + 0, + ( + _NIAI, + _NIAA, + _NIPI, + _AAdd, + _FIAi, + _FOA, + _SDt, + _Sta, + _SMt, + _WM, + _NPF, + _FPC, + _RPC, + _Exp, + _APHlt, + _SAug, + _Tag, + ), + ( + (lambda: schemas.NETWORK_INSIGHTS_ANALYSIS_ID, {_aQN: _NIAI, _sN: _nIAI}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _NIAA, _sN: _nIAA}), + (lambda: schemas.NETWORK_INSIGHTS_PATH_ID, {_aQN: _NIPI, _sN: _nIPI}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _AASd, _sN: _aASd}), + (ARN_LIST, {_aQN: _FIAS, _sN: _fIAS}), + (ARN_LIST, {_aQN: _FOAS, _sN: _fOAS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), + (lambda: schemas.ANALYSIS_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.STRING, {_aQN: _WM, _sN: _wM}), + (lambda: schemas.BOOLEAN, {_aQN: _NPF, _sN: _nPF}), + (lambda: schemas.PATH_COMPONENT_LIST, {_aQN: _FPCS, _sN: _fPCS}), + (lambda: schemas.PATH_COMPONENT_LIST, {_aQN: _RPCS, _sN: _rPCS}), + (lambda: schemas.EXPLANATION_LIST, {_aQN: _ES, _sN: _eS}), + (lambda: schemas.ALTERNATE_PATH_HINT_LIST, {_aQN: _APHS, _sN: _aPHS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SASu, _sN: _sASu}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +NETWORK_INSIGHTS_ANALYSIS_LIST: StaticSchema = ( + 16, + n0, + _NIAL, + 0, + (_me,), + ((NETWORK_INSIGHTS_ANALYSIS, {_sN: _i}),), +) + +NETWORK_INSIGHTS_PATH_ID_LIST: StaticSchema = ( + 16, + n0, + _NIPIL, + 0, + (_me,), + ((lambda: schemas.NETWORK_INSIGHTS_PATH_ID, {_sN: _i}),), +) + +DESCRIBE_NETWORK_INSIGHTS_PATHS_INPUT: StaticSchema = ( + 18, + n0, + _DNIPIes, + {_sSI: _cDNIPRomam, _sm: None}, + (_NIPIet, _Fil, _MR, _DR, _NTex), + ( + (NETWORK_INSIGHTS_PATH_ID_LIST, {_sN: _NIPI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NETWORK_INSIGHTS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_NETWORK_INSIGHTS_PATHS_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIPOes, + {_sSI: _cDNIPRomama, _smit: None}, + (_NIPet, _NTex), + ( + (lambda: NETWORK_INSIGHTS_PATH_LIST, {_aQN: _NIPSe, _sN: _nIPS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_NETWORK_INSIGHTS_PATHS: StaticOperationSchema = ( + 23, + n0, + _DNIPes, + 0, + DESCRIBE_NETWORK_INSIGHTS_PATHS_INPUT, + DESCRIBE_NETWORK_INSIGHTS_PATHS_OUTPUT, + (), +) + +NETWORK_INSIGHTS_PATH_LIST: StaticSchema = ( + 16, + n0, + _NIPL, + 0, + (_me,), + ((lambda: schemas.NETWORK_INSIGHTS_PATH, {_sN: _i}),), +) + +NETWORK_INTERFACE_ATTRIBUTE: StaticSchema = ( + 14, + n0, + _NIAetwo, + 0, + (_desc, _gS, _sDC, _atta, _aPIA), + ( + (-1, {_sV: _desc}), + (-1, {_sV: _gS}), + (-1, {_sV: _sDC}), + (-1, {_sV: _atta}), + (-1, {_sV: _aPIA}), + ), +) + +DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _DNIAIes, + {_sSI: _cDNIARomam, _sm: None}, + (_DR, _NII, _Attr), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), + (NETWORK_INTERFACE_ATTRIBUTE, {_aQN: _Attr, _sN: _attr}), + ), +) + +DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIAOes, + {_sSI: _cDNIARomama, _smit: None}, + (_At, _Des, _G, _NII, _SDC, _APIAsso), + ( + (lambda: schemas.NETWORK_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _SDC, _sN: _sDC}), + (lambda: schemas.BOOLEAN, {_aQN: _APIAsso, _sN: _aPIA}), + ), +) + +DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _DNIAes, + 0, + DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_INPUT, + DESCRIBE_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT, + (), +) + +DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_MAX_RESULTS: StaticSchema = (7, n0, _DNIPMR, 0) + +NETWORK_INTERFACE_PERMISSION_ID_LIST: StaticSchema = ( + 16, + n0, + _NIPILe, + 0, + (_me,), + ((lambda: schemas.NETWORK_INTERFACE_PERMISSION_ID, 0),), +) + +DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DNIPIesc, + {_sSI: _cDNIPRomamaz, _sm: None}, + (_NIPIetw, _Fil, _NTex, _MR), + ( + (NETWORK_INTERFACE_PERMISSION_ID_LIST, {_sN: _NIPIe}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, 0), + (DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_MAX_RESULTS, 0), + ), +) + +DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIPOesc, + {_sSI: _cDNIPRomamazo, _smit: None}, + (_NIPetw, _NTex), + ( + (lambda: NETWORK_INTERFACE_PERMISSION_LIST, {_aQN: _NIPetw, _sN: _nIPe}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_NETWORK_INTERFACE_PERMISSIONS: StaticOperationSchema = ( + 23, + n0, + _DNIPesc, + 0, + DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_INPUT, + DESCRIBE_NETWORK_INTERFACE_PERMISSIONS_OUTPUT, + (), +) + +NETWORK_INTERFACE_PERMISSION_LIST: StaticSchema = ( + 16, + n0, + _NIPLe, + 0, + (_me,), + ((lambda: schemas.NETWORK_INTERFACE_PERMISSION, {_sN: _i}),), +) + +DESCRIBE_NETWORK_INTERFACES_MAX_RESULTS: StaticSchema = (7, n0, _DNIMR, 0) + +NETWORK_INTERFACE_ID_LIST: StaticSchema = ( + 16, + n0, + _NIIL, + 0, + (_me,), + ((lambda: schemas.NETWORK_INTERFACE_ID, {_sN: _i}),), +) + +DESCRIBE_NETWORK_INTERFACES_INPUT: StaticSchema = ( + 18, + n0, + _DNIIes, + {_sSI: _cDNIRo, _sm: None}, + (_NTex, _MR, _IMR, _DR, _NIIe, _Fil), + ( + (lambda: schemas.STRING, 0), + (DESCRIBE_NETWORK_INTERFACES_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (NETWORK_INTERFACE_ID_LIST, {_sN: _NII}), + (lambda: schemas.FILTER_LIST, {_aQN: _Fi, _sN: _filt}), + ), +) + +DESCRIBE_NETWORK_INTERFACES_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIOe, + {_sSI: _cDNIRom, _smit: None}, + (_NIe, _NTex), + ( + (lambda: NETWORK_INTERFACE_LIST, {_aQN: _NIS, _sN: _nIS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_NETWORK_INTERFACES: StaticOperationSchema = ( + 23, + n0, + _DNIe, + 0, + DESCRIBE_NETWORK_INTERFACES_INPUT, + DESCRIBE_NETWORK_INTERFACES_OUTPUT, + (), +) + +NETWORK_INTERFACE_LIST: StaticSchema = ( + 16, + n0, + _NIL, + 0, + (_me,), + ((lambda: schemas.NETWORK_INTERFACE, {_sN: _i}),), +) + +OUTPOST_LAG_MAX_RESULTS: StaticSchema = (7, n0, _OLMR, 0) + +OUTPOST_LAG_ID_SET: StaticSchema = ( + 16, + n0, + _OLIS, + 0, + (_me,), + ((lambda: schemas.OUTPOST_LAG_ID, {_sN: _i}),), +) + +DESCRIBE_OUTPOST_LAGS_INPUT: StaticSchema = ( + 18, + n0, + _DOLI, + {_sSI: _cDOLR, _sm: None}, + (_OLIu, _Fil, _MR, _NTex, _DR), + ( + (OUTPOST_LAG_ID_SET, {_sN: _OLI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (OUTPOST_LAG_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_OUTPOST_LAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DOLO, + {_sSI: _cDOLRo, _smit: None}, + (_OLu, _NTex), + ( + (lambda: OUTPOST_LAG_SET, {_aQN: _OLS, _sN: _oLS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_OUTPOST_LAGS: StaticOperationSchema = ( + 23, + n0, + _DOLe, + 0, + DESCRIBE_OUTPOST_LAGS_INPUT, + DESCRIBE_OUTPOST_LAGS_OUTPUT, + (), +) + +SERVICE_LINK_VIRTUAL_INTERFACE_ID: StaticSchema = (3, n0, _SLVII, 0) + +SERVICE_LINK_VIRTUAL_INTERFACE_ID_SET: StaticSchema = ( + 16, + n0, + _SLVIIS, + 0, + (_me,), + ((SERVICE_LINK_VIRTUAL_INTERFACE_ID, {_sN: _i}),), +) + +OUTPOST_LAG: StaticSchema = ( + 18, + n0, + _OL, + 0, + (_OA, _OIw, _St, _OLI, _LGVIIo, _SLVIIe, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: schemas.OUTPOST_LAG_ID, {_aQN: _OLI, _sN: _oLI}), + ( + lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE_ID_SET, + {_aQN: _LGVIIS, _sN: _lGVIIS}, + ), + (SERVICE_LINK_VIRTUAL_INTERFACE_ID_SET, {_aQN: _SLVIIS, _sN: _sLVIIS}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +OUTPOST_LAG_SET: StaticSchema = (16, n0, _OLS, 0, (_me,), ((OUTPOST_LAG, {_sN: _i}),)) + +PLACEMENT_GROUP_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _PGISL, + 0, + (_me,), + ((lambda: schemas.PLACEMENT_GROUP_ID, {_sN: _GIr}),), +) + +PLACEMENT_GROUP_STRING_LIST: StaticSchema = ( + 16, + n0, + _PGSLl, + 0, + (_me,), + ((lambda: schemas.PLACEMENT_GROUP_NAME, 0),), +) + +DESCRIBE_PLACEMENT_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DPGIe, + {_sSI: _cDPGRo, _sm: None}, + (_GIrou, _DR, _GNr, _Fil), + ( + (PLACEMENT_GROUP_ID_STRING_LIST, {_sN: _GIr}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (PLACEMENT_GROUP_STRING_LIST, {_aQN: _GN, _sN: _gN}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_PLACEMENT_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DPGOe, + {_sSI: _cDPGRom, _smit: None}, + (_PGl,), + ((lambda: PLACEMENT_GROUP_LIST, {_aQN: _PGSla, _sN: _pGS}),), +) + +DESCRIBE_PLACEMENT_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DPGe, + 0, + DESCRIBE_PLACEMENT_GROUPS_INPUT, + DESCRIBE_PLACEMENT_GROUPS_OUTPUT, + (), +) + +PLACEMENT_GROUP_LIST: StaticSchema = ( + 16, + n0, + _PGL, + 0, + (_me,), + ((lambda: schemas.PLACEMENT_GROUP, {_sN: _i}),), +) + +PREFIX_LIST_RESOURCE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _PLRISL, + 0, + (_me,), + ((lambda: schemas.PREFIX_LIST_RESOURCE_ID, {_sN: _i}),), +) + +DESCRIBE_PREFIX_LISTS_INPUT: StaticSchema = ( + 18, + n0, + _DPLIe, + {_sSI: _cDPLR, _sm: None}, + (_DR, _Fil, _MR, _NTex, _PLIr), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (PREFIX_LIST_RESOURCE_ID_STRING_LIST, {_sN: _PLI}), + ), +) + +DESCRIBE_PREFIX_LISTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DPLO, + {_sSI: _cDPLRo, _smit: None}, + (_NTex, _PLre), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: PREFIX_LIST_SET, {_aQN: _PLSr, _sN: _pLSr}), + ), +) + +DESCRIBE_PREFIX_LISTS: StaticOperationSchema = ( + 23, + n0, + _DPLes, + 0, + DESCRIBE_PREFIX_LISTS_INPUT, + DESCRIBE_PREFIX_LISTS_OUTPUT, + (), +) + +PREFIX_LIST: StaticSchema = ( + 18, + n0, + _PL, + 0, + (_Cid, _PLI, _PLN), + ( + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _CS, _sN: _cS}), + (lambda: schemas.STRING, {_aQN: _PLI, _sN: _pLI}), + (lambda: schemas.STRING, {_aQN: _PLN, _sN: _pLN}), + ), +) + +PREFIX_LIST_SET: StaticSchema = (16, n0, _PLSr, 0, (_me,), ((PREFIX_LIST, {_sN: _i}),)) + +DESCRIBE_PRINCIPAL_ID_FORMAT_MAX_RESULTS: StaticSchema = (7, n0, _DPIFMR, 0) + +RESOURCE_LIST: StaticSchema = ( + 16, + n0, + _RLes, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +DESCRIBE_PRINCIPAL_ID_FORMAT_INPUT: StaticSchema = ( + 18, + n0, + _DPIFI, + {_sSI: _cDPIFR, _sm: None}, + (_DR, _Res, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (RESOURCE_LIST, {_sN: _Reso}), + (DESCRIBE_PRINCIPAL_ID_FORMAT_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_PRINCIPAL_ID_FORMAT_OUTPUT: StaticSchema = ( + 18, + n0, + _DPIFO, + {_sSI: _cDPIFRo, _smit: None}, + (_Prin, _NTex), + ( + (lambda: PRINCIPAL_ID_FORMAT_LIST, {_aQN: _PSrin, _sN: _pSrin}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_PRINCIPAL_ID_FORMAT: StaticOperationSchema = ( + 23, + n0, + _DPIF, + 0, + DESCRIBE_PRINCIPAL_ID_FORMAT_INPUT, + DESCRIBE_PRINCIPAL_ID_FORMAT_OUTPUT, + (), +) + +PRINCIPAL_ID_FORMAT: StaticSchema = ( + 18, + n0, + _PIF, + 0, + (_Ar, _Statu), + ( + (lambda: schemas.STRING, {_aQN: _Ar, _sN: _ar}), + (lambda: schemas.ID_FORMAT_LIST, {_aQN: _SSta, _sN: _sSt}), + ), +) + +PRINCIPAL_ID_FORMAT_LIST: StaticSchema = ( + 16, + n0, + _PIFL, + 0, + (_me,), + ((PRINCIPAL_ID_FORMAT, {_sN: _i}),), +) + +POOL_MAX_RESULTS: StaticSchema = (7, n0, _PMR, 0) + +PUBLIC_IPV4_POOL_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _PIPISL, + 0, + (_me,), + ((lambda: schemas.IPV4_POOL_EC2_ID, {_sN: _i}),), +) + +DESCRIBE_PUBLIC_IPV4_POOLS_INPUT: StaticSchema = ( + 18, + n0, + _DPIPIe, + {_sSI: _cDPIPRom, _sm: None}, + (_PIoo, _NTex, _MR, _Fil), + ( + (PUBLIC_IPV4_POOL_ID_STRING_LIST, {_sN: _PIo}), + (lambda: schemas.NEXT_TOKEN, 0), + (POOL_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_PUBLIC_IPV4_POOLS_OUTPUT: StaticSchema = ( + 18, + n0, + _DPIPOe, + {_sSI: _cDPIPRoma, _smit: None}, + (_PIPu, _NTex), + ( + (lambda: PUBLIC_IPV4_POOL_SET, {_aQN: _PIPS, _sN: _pIPS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_PUBLIC_IPV4_POOLS: StaticOperationSchema = ( + 23, + n0, + _DPIPe, + 0, + DESCRIBE_PUBLIC_IPV4_POOLS_INPUT, + DESCRIBE_PUBLIC_IPV4_POOLS_OUTPUT, + (), +) + +PUBLIC_IPV4_POOL_RANGE: StaticSchema = ( + 18, + n0, + _PIPR, + 0, + (_FAi, _LAa, _ACd, _AAC), + ( + (lambda: schemas.STRING, {_aQN: _FAi, _sN: _fAi}), + (lambda: schemas.STRING, {_aQN: _LAa, _sN: _lAa}), + (lambda: schemas.INTEGER, {_aQN: _ACd, _sN: _aCd}), + (lambda: schemas.INTEGER, {_aQN: _AAC, _sN: _aAC}), + ), +) + +PUBLIC_IPV4_POOL_RANGE_SET: StaticSchema = ( + 16, + n0, + _PIPRS, + 0, + (_me,), + ((PUBLIC_IPV4_POOL_RANGE, {_sN: _i}),), +) + +PUBLIC_IPV4_POOL: StaticSchema = ( + 18, + n0, + _PIP, + 0, + (_PIo, _Des, _PAR, _TACo, _TAAC, _NBG, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _PIo, _sN: _pIo}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (PUBLIC_IPV4_POOL_RANGE_SET, {_aQN: _PARS, _sN: _pARS}), + (lambda: schemas.INTEGER, {_aQN: _TACo, _sN: _tACo}), + (lambda: schemas.INTEGER, {_aQN: _TAAC, _sN: _tAAC}), + (lambda: schemas.STRING, {_aQN: _NBG, _sN: _nBG}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +PUBLIC_IPV4_POOL_SET: StaticSchema = ( + 16, + n0, + _PIPS, + 0, + (_me,), + ((PUBLIC_IPV4_POOL, {_sN: _i}),), +) + +REGION_NAME_STRING_LIST: StaticSchema = ( + 16, + n0, + _RNSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _RNe}),), +) + +DESCRIBE_REGIONS_INPUT: StaticSchema = ( + 18, + n0, + _DRIe, + {_sSI: _cDRRo, _sm: None}, + (_RNeg, _ARlle, _DR, _Fil), + ( + (REGION_NAME_STRING_LIST, {_sN: _RNe}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_REGIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DROe, + {_sSI: _cDRRom, _smit: None}, + (_Reg,), + ((lambda: REGION_LIST, {_aQN: _RIegi, _sN: _rIeg}),), +) + +DESCRIBE_REGIONS: StaticOperationSchema = ( + 23, + n0, + _DRes, + 0, + DESCRIBE_REGIONS_INPUT, + DESCRIBE_REGIONS_OUTPUT, + (), +) + +REGION_GEOGRAPHY: StaticSchema = ( + 18, + n0, + _RG, + 0, + (_N,), + ((lambda: schemas.STRING, {_aQN: _N, _sN: _nam}),), +) + +REGION_GEOGRAPHY_LIST: StaticSchema = ( + 16, + n0, + _RGL, + 0, + (_me,), + ((REGION_GEOGRAPHY, {_sN: _i}),), +) + +REGION: StaticSchema = ( + 18, + n0, + _Re, + 0, + (_OIS, _Ge, _RNe, _Endp), + ( + (lambda: schemas.STRING, {_aQN: _OIS, _sN: _oIS}), + (REGION_GEOGRAPHY_LIST, {_aQN: _GSe, _sN: _gSe}), + (lambda: schemas.STRING, {_aQN: _RNe, _sN: _rNe}), + (lambda: schemas.STRING, {_aQN: _REeg, _sN: _rEeg}), + ), +) + +REGION_LIST: StaticSchema = (16, n0, _RLeg, 0, (_me,), ((REGION, {_sN: _i}),)) + +DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_MAX_RESULTS: StaticSchema = (7, n0, _DRRVTMR, 0) + +REPLACE_ROOT_VOLUME_TASK_IDS: StaticSchema = ( + 16, + n0, + _RRVTIe, + 0, + (_me,), + ((lambda: schemas.REPLACE_ROOT_VOLUME_TASK_ID, {_sN: _RRVTI}),), +) + +DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DRRVTI, + {_sSI: _cDRRVTR, _sm: None}, + (_RRVTIe, _Fil, _MR, _NTex, _DR), + ( + (REPLACE_ROOT_VOLUME_TASK_IDS, {_sN: _RRVTI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DRRVTO, + {_sSI: _cDRRVTRo, _smit: None}, + (_RRVTe, _NTex), + ( + (lambda: REPLACE_ROOT_VOLUME_TASKS, {_aQN: _RRVTSe, _sN: _rRVTS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_REPLACE_ROOT_VOLUME_TASKS: StaticOperationSchema = ( + 23, + n0, + _DRRVT, + 0, + DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_INPUT, + DESCRIBE_REPLACE_ROOT_VOLUME_TASKS_OUTPUT, + (), +) + +REPLACE_ROOT_VOLUME_TASKS: StaticSchema = ( + 16, + n0, + _RRVTe, + 0, + (_me,), + ((lambda: schemas.REPLACE_ROOT_VOLUME_TASK, {_sN: _i}),), +) + +OFFERING_CLASS_TYPE: StaticSchema = ( + 14, + n0, + _OCT, + 0, + (_STANDARD, _CONVERTIBLE), + ((-1, {_sV: _stan}), (-1, {_sV: _conv})), +) + +OFFERING_TYPE_VALUES: StaticSchema = ( + 14, + n0, + _OTV, + 0, + (_HU, _MU, _LU_, _NU_, _PU__, _AU_), + ( + (-1, {_sV: _HU_}), + (-1, {_sV: _MU_}), + (-1, {_sV: _LU__}), + (-1, {_sV: _NU__}), + (-1, {_sV: _PU___}), + (-1, {_sV: _AU__}), + ), +) + +RESERVED_INSTANCES_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _RIISL, + 0, + (_me,), + ((lambda: schemas.RESERVATION_ID, {_sN: _RIIes}),), +) + +DESCRIBE_RESERVED_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DRII, + {_sSI: _cDRIR, _sm: None}, + (_OC, _RIIese, _DR, _Fil, _OTf), + ( + (OFFERING_CLASS_TYPE, 0), + (RESERVED_INSTANCES_ID_STRING_LIST, {_sN: _RIIes}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (OFFERING_TYPE_VALUES, {_aQN: _OTf, _sN: _oTf}), + ), +) + +DESCRIBE_RESERVED_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DRIO, + {_sSI: _cDRIRo, _smit: None}, + (_RIese,), + ((lambda: RESERVED_INSTANCES_LIST, {_aQN: _RISe, _sN: _rIS}),), +) + +DESCRIBE_RESERVED_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DRIes, + 0, + DESCRIBE_RESERVED_INSTANCES_INPUT, + DESCRIBE_RESERVED_INSTANCES_OUTPUT, + (), +) + +FLOAT: StaticSchema = (9, n0, _Flo, 0) + +RECURRING_CHARGE_FREQUENCY: StaticSchema = ( + 14, + n0, + _RCF, + 0, + (_Hou,), + ((-1, {_sV: _Hou}),), +) + +RECURRING_CHARGE: StaticSchema = ( + 18, + n0, + _RCec, + 0, + (_Am, _Fr), + ( + (lambda: schemas.DOUBLE, {_aQN: _Am, _sN: _amo}), + (RECURRING_CHARGE_FREQUENCY, {_aQN: _Fr, _sN: _freq}), + ), +) + +RECURRING_CHARGES_LIST: StaticSchema = ( + 16, + n0, + _RCL, + 0, + (_me,), + ((RECURRING_CHARGE, {_sN: _i}),), +) + +SCOPE: StaticSchema = ( + 14, + n0, + _sc, + 0, + (_AZ_, _REGIONAL), + ((-1, {_sV: _AZ__}), (-1, {_sV: _Re})), +) + +RESERVED_INSTANCE_STATE: StaticSchema = ( + 14, + n0, + _RIS, + 0, + (_pp__, _act, _pf____, _reti, _que, _qd), + ( + (-1, {_sV: _pp___}), + (-1, {_sV: _act}), + (-1, {_sV: _pf_____}), + (-1, {_sV: _reti}), + (-1, {_sV: _que}), + (-1, {_sV: _qd_}), + ), +) + +RESERVED_INSTANCES: StaticSchema = ( + 18, + n0, + _RIese, + 0, + ( + _CC, + _ITnst, + _OC, + _OTf, + _RCecu, + _Sc, + _Tag, + _AZI, + _RIIes, + _IT, + _AZ, + _Star, + _End, + _Dur, + _UPs, + _FPix, + _IC, + _PDr, + _St, + ), + ( + (lambda: schemas.CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.TENANCY, {_aQN: _ITnst, _sN: _iTns}), + (OFFERING_CLASS_TYPE, {_aQN: _OC, _sN: _oC}), + (OFFERING_TYPE_VALUES, {_aQN: _OTf, _sN: _oTf}), + (RECURRING_CHARGES_LIST, {_aQN: _RCecu, _sN: _rCe}), + (SCOPE, {_aQN: _Sc, _sN: _sc}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _RIIes, _sN: _rII}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.DATE_TIME, {_aQN: _Star, _sN: _star}), + (lambda: schemas.DATE_TIME, {_aQN: _End, _sN: _end}), + (lambda: schemas.LONG, {_aQN: _Dur, _sN: _dur}), + (FLOAT, {_aQN: _UPs, _sN: _uPs}), + (FLOAT, {_aQN: _FPix, _sN: _fPix}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.RI_PRODUCT_DESCRIPTION, {_aQN: _PDr, _sN: _pDr}), + (RESERVED_INSTANCE_STATE, {_aQN: _St, _sN: _st}), + ), +) + +RESERVED_INSTANCES_LIST: StaticSchema = ( + 16, + n0, + _RILese, + 0, + (_me,), + ((RESERVED_INSTANCES, {_sN: _i}),), +) + +DESCRIBE_RESERVED_INSTANCES_LISTINGS_INPUT: StaticSchema = ( + 18, + n0, + _DRILI, + {_sSI: _cDRILR, _sm: None}, + (_RIIes, _RILI, _Fil), + ( + (lambda: schemas.RESERVATION_ID, {_aQN: _RIIes, _sN: _rII}), + (lambda: schemas.RESERVED_INSTANCES_LISTING_ID, {_aQN: _RILI, _sN: _rILI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_RESERVED_INSTANCES_LISTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DRILO, + {_sSI: _cDRILRo, _smit: None}, + (_RILe,), + ((lambda: schemas.RESERVED_INSTANCES_LISTING_LIST, {_aQN: _RILS, _sN: _rILS}),), +) + +DESCRIBE_RESERVED_INSTANCES_LISTINGS: StaticOperationSchema = ( + 23, + n0, + _DRIL, + 0, + DESCRIBE_RESERVED_INSTANCES_LISTINGS_INPUT, + DESCRIBE_RESERVED_INSTANCES_LISTINGS_OUTPUT, + (), +) + +RESERVED_INSTANCES_MODIFICATION_ID: StaticSchema = (3, n0, _RIMI, 0) + +RESERVED_INSTANCES_MODIFICATION_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _RIMISL, + 0, + (_me,), + ((RESERVED_INSTANCES_MODIFICATION_ID, {_sN: _RIMI}),), +) + +DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DRIMI, + {_sSI: _cDRIMR, _sm: None}, + (_RIMIe, _NTex, _Fil), + ( + (RESERVED_INSTANCES_MODIFICATION_ID_STRING_LIST, {_sN: _RIMI}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DRIMO, + {_sSI: _cDRIMRo, _smit: None}, + (_NTex, _RIMe), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: RESERVED_INSTANCES_MODIFICATION_LIST, {_aQN: _RIMS, _sN: _rIMS}), + ), +) + +DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS: StaticOperationSchema = ( + 23, + n0, + _DRIM, + 0, + DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_INPUT, + DESCRIBE_RESERVED_INSTANCES_MODIFICATIONS_OUTPUT, + (), +) + +RESERVED_INSTANCES_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RIC, + 0, + (_AZ, _IC, _IT, _Pla, _Sc, _AZI), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _Pla, _sN: _plat}), + (SCOPE, {_aQN: _Sc, _sN: _sc}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + ), +) + +RESERVED_INSTANCES_MODIFICATION_RESULT: StaticSchema = ( + 18, + n0, + _RIMR, + 0, + (_RIIes, _TCa), + ( + (lambda: schemas.STRING, {_aQN: _RIIes, _sN: _rII}), + (RESERVED_INSTANCES_CONFIGURATION, {_aQN: _TCa, _sN: _tCa}), + ), +) + +RESERVED_INSTANCES_MODIFICATION_RESULT_LIST: StaticSchema = ( + 16, + n0, + _RIMRL, + 0, + (_me,), + ((RESERVED_INSTANCES_MODIFICATION_RESULT, {_sN: _i}),), +) + +RESERVED_INSTANCES_ID: StaticSchema = ( + 18, + n0, + _RIIes, + 0, + (_RIIes,), + ((lambda: schemas.STRING, {_aQN: _RIIes, _sN: _rII}),), +) + +RESERVED_INTANCES_IDS: StaticSchema = ( + 16, + n0, + _RIIeser, + 0, + (_me,), + ((RESERVED_INSTANCES_ID, {_sN: _i}),), +) + +RESERVED_INSTANCES_MODIFICATION: StaticSchema = ( + 18, + n0, + _RIM, + 0, + (_CTl, _CD, _EDf, _MRo, _RIIese, _RIMI, _Sta, _SMt, _UD), + ( + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: schemas.DATE_TIME, {_aQN: _CD, _sN: _cD}), + (lambda: schemas.DATE_TIME, {_aQN: _EDf, _sN: _eDf}), + (RESERVED_INSTANCES_MODIFICATION_RESULT_LIST, {_aQN: _MRS, _sN: _mRS}), + (RESERVED_INTANCES_IDS, {_aQN: _RISe, _sN: _rIS}), + (lambda: schemas.STRING, {_aQN: _RIMI, _sN: _rIMI}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.DATE_TIME, {_aQN: _UD, _sN: _uD}), + ), +) + +RESERVED_INSTANCES_MODIFICATION_LIST: StaticSchema = ( + 16, + n0, + _RIML, + 0, + (_me,), + ((RESERVED_INSTANCES_MODIFICATION, {_sN: _i}),), +) + +RESERVED_INSTANCES_OFFERING_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _RIOISL, + 0, + (_me,), + ((lambda: schemas.RESERVED_INSTANCES_OFFERING_ID, 0),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_33.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_33.py new file mode 100644 index 000000000..8dd770bea --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_33.py @@ -0,0 +1,1582 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_p = "pending" +_smit = "smithy.api#output" +_RIOI = "ReservedInstancesOfferingId" +_IC = "InstanceCount" +_av = "available" +_de = "deleting" +_del = "deleted" +_TGI = "TransitGatewayId" +_tGI = "transitGatewayId" +_St = "State" +_st = "state" +_OIw = "OwnerId" +_oI = "ownerId" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_VOI = "VpcOwnerId" +_vOI = "vpcOwnerId" +_dRr = "dryRun" +_VPCI = "VpcPeeringConnectionId" +_vPCI = "vpcPeeringConnectionId" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_AIt = "AttachmentId" +_aIt = "attachmentId" +_SG = "SecurityGroup" +_SGe = "SecurityGroups" +_IT = "InstanceType" +_iT = "instanceType" +_Des = "Description" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_OA = "OutpostArn" +_RSI = "RouteServerId" +_RTIo = "RouteTableId" +_GIr = "GroupId" +_gIr = "groupId" +_NCI = "NetworkCardIndex" +_DI = "DeviceIndex" +_dI = "deviceIndex" +_nCI = "networkCardIndex" +_Sc = "Scope" +_sc = "scope" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_ATtt = "AttachTime" +_aTtt = "attachTime" +_At = "Attachment" +_atta = "attachment" +_GN = "GroupName" +_gN = "groupName" +_IPper = "IpPermissions" +_iPpe = "ipPermissions" +_SGRI = "SecurityGroupRuleId" +_GOI = "GroupOwnerId" +_gOI = "groupOwnerId" +_SGRe = "SecurityGroupRules" +_SGRSe = "SecurityGroupRuleSet" +_sGRSe = "securityGroupRuleSet" +_iC = "instanceCount" +_CC = "CurrencyCode" +_cC = "currencyCode" +_Pric = "Price" +_pric = "price" +_CD = "CreateDate" +_cD = "createDate" +_oA = "outpostArn" +_Int = "Interval" +_int = "interval" +_Cou = "Count" +_cou = "count" +_AIC = "AvailableInstanceCount" +_aIC = "availableInstanceCount" +_ITnst = "InstanceTenancy" +_iTns = "instanceTenancy" +_Pla = "Platform" +_plat = "platform" +_SITe = "SecondaryInterfaceType" +_SSIe = "SecondarySubnetId" +_SIec = "SecondaryInterfaces" +_SIeco = "SecondaryInterface" +_sSIe = "secondarySubnetId" +_SIS = "SecondaryInterfaceSet" +_sIS = "secondaryInterfaceSet" +_SRt = "StateReason" +_sRt = "stateReason" +_OLI = "OutpostLagId" +_Vl = "Vlan" +_LA = "LocalAddress" +_PAe = "PeerAddress" +_PBA = "PeerBgpAsn" +_oLI = "outpostLagId" +_vl = "vlan" +_lA = "localAddress" +_pAe = "peerAddress" +_pBA = "peerBgpAsn" +_CSon = "ConfigurationState" +_cSo = "configurationState" +_IOIn = "InstanceOwnerId" +_iOIn = "instanceOwnerId" +_MAa = "MacAddress" +_mAa = "macAddress" +_SDC = "SourceDestCheck" +_sDC = "sourceDestCheck" +_RSEI = "RouteServerEndpointId" +_RSPI = "RouteServerPeerId" +_SNT = "SecondaryNetworkType" +_SNI = "SecondaryNetworkId" +_sNI = "secondaryNetworkId" +_sNT = "secondaryNetworkType" +_GD = "GroupDescription" +_SGA = "SecurityGroupArn" +_sGA = "securityGroupArn" +_RTIou = "RouteTableIds" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_mR = "maxResults" +_mar = "marketplace" +_MDa = "MaxDuration" +_MDi = "MinDuration" +_Dur = "Duration" +_dur = "duration" +_HP = "HourlyPrice" +_hP = "hourlyPrice" +_SIIe = "SecondaryInterfaceId" +_sIIe = "secondaryInterfaceId" +_GNr = "GroupNames" +_SLVII = "ServiceLinkVirtualInterfaceId" +_SLVIIe = "ServiceLinkVirtualInterfaceIds" +_GIrou = "GroupIds" +_OC = "OfferingClass" +_OTf = "OfferingType" +_oTf = "offeringType" +_Fr = "Frequency" +_freq = "frequency" +_oC = "offeringClass" +_RCecu = "RecurringCharges" +_rCe = "recurringCharges" +_UPs = "UsagePrice" +_uPs = "usagePrice" +_FPix = "FixedPrice" +_fPix = "fixedPrice" +_PDr = "ProductDescription" +_pDr = "productDescription" +_DRIOI = "DescribeReservedInstancesOfferingsInput" +_cDRIOR = "com.amazonaws.ec2#DescribeReservedInstancesOfferingsRequest" +_IMn = "IncludeMarketplace" +_MIC = "MaxInstanceCount" +_RIOIe = "ReservedInstancesOfferingIds" +_PDri = "PricingDetail" +_PDL = "PricingDetailsList" +_RIO = "ReservedInstancesOffering" +_Mar = "Marketplace" +_PDric = "PricingDetails" +_PDS = "PricingDetailsSet" +_pDS = "pricingDetailsSet" +_rIOI = "reservedInstancesOfferingId" +_RIOL = "ReservedInstancesOfferingList" +_DRIOO = "DescribeReservedInstancesOfferingsOutput" +_cDRIORo = "com.amazonaws.ec2#DescribeReservedInstancesOfferingsResult" +_RIOe = "ReservedInstancesOfferings" +_RIOS = "ReservedInstancesOfferingsSet" +_rIOS = "reservedInstancesOfferingsSet" +_DRIOe = "DescribeReservedInstancesOfferings" +_RSEIL = "RouteServerEndpointIdsList" +_DRSEIe = "DescribeRouteServerEndpointsInput" +_cDRSERom = "com.amazonaws.ec2#DescribeRouteServerEndpointsRequest" +_RSEIo = "RouteServerEndpointIds" +_RSEL = "RouteServerEndpointsList" +_DRSEOe = "DescribeRouteServerEndpointsOutput" +_cDRSERoma = "com.amazonaws.ec2#DescribeRouteServerEndpointsResult" +_RSEo = "RouteServerEndpoints" +_RSESo = "RouteServerEndpointSet" +_rSES = "routeServerEndpointSet" +_DRSEe = "DescribeRouteServerEndpoints" +_RSPIL = "RouteServerPeerIdsList" +_DRSPIe = "DescribeRouteServerPeersInput" +_cDRSPRom = "com.amazonaws.ec2#DescribeRouteServerPeersRequest" +_RSPIo = "RouteServerPeerIds" +_RSPL = "RouteServerPeersList" +_DRSPOe = "DescribeRouteServerPeersOutput" +_cDRSPRoma = "com.amazonaws.ec2#DescribeRouteServerPeersResult" +_RSPo = "RouteServerPeers" +_RSPSo = "RouteServerPeerSet" +_rSPS = "routeServerPeerSet" +_DRSPe = "DescribeRouteServerPeers" +_RSIL = "RouteServerIdsList" +_DRSIe = "DescribeRouteServersInput" +_cDRSRom = "com.amazonaws.ec2#DescribeRouteServersRequest" +_RSIo = "RouteServerIds" +_RSL = "RouteServersList" +_DRSOe = "DescribeRouteServersOutput" +_cDRSRoma = "com.amazonaws.ec2#DescribeRouteServersResult" +_RSoute = "RouteServers" +_RSSo = "RouteServerSet" +_rSS = "routeServerSet" +_DRSe = "DescribeRouteServers" +_DRTMR = "DescribeRouteTablesMaxResults" +_RTISL = "RouteTableIdStringList" +_DRTIe = "DescribeRouteTablesInput" +_cDRTRo = "com.amazonaws.ec2#DescribeRouteTablesRequest" +_RTLo = "RouteTableList" +_DRTOe = "DescribeRouteTablesOutput" +_cDRTRom = "com.amazonaws.ec2#DescribeRouteTablesResult" +_RTou = "RouteTables" +_RTSo = "RouteTableSet" +_rTSo = "routeTableSet" +_DRTe = "DescribeRouteTables" +_SDTRR = "SlotDateTimeRangeRequest" +_ETa = "EarliestTime" +_LTat = "LatestTime" +_DSIAMR = "DescribeScheduledInstanceAvailabilityMaxResults" +_ODRS = "OccurrenceDayRequestSet" +_ODc = "OccurenceDay" +_SIRR = "ScheduledInstanceRecurrenceRequest" +_ODcc = "OccurrenceDays" +_ODccu = "OccurrenceDay" +_ORTE = "OccurrenceRelativeToEnd" +_OUc = "OccurrenceUnit" +_DSIAI = "DescribeScheduledInstanceAvailabilityInput" +_cDSIAR = "com.amazonaws.ec2#DescribeScheduledInstanceAvailabilityRequest" +_FSSTR = "FirstSlotStartTimeRange" +_MSDIH = "MaxSlotDurationInHours" +_MSDIHi = "MinSlotDurationInHours" +_Rec = "Recurrence" +_ODS = "OccurrenceDaySet" +_SIRc = "ScheduledInstanceRecurrence" +_oDS = "occurrenceDaySet" +_oRTE = "occurrenceRelativeToEnd" +_oU = "occurrenceUnit" +_SIA = "ScheduledInstanceAvailability" +_FSST = "FirstSlotStartTime" +_fSST = "firstSlotStartTime" +_MTDID = "MaxTermDurationInDays" +_mTDID = "maxTermDurationInDays" +_MTDIDi = "MinTermDurationInDays" +_mTDIDi = "minTermDurationInDays" +_NPet = "NetworkPlatform" +_nPet = "networkPlatform" +_PTu = "PurchaseToken" +_pTu = "purchaseToken" +_recu = "recurrence" +_SDIH = "SlotDurationInHours" +_sDIH = "slotDurationInHours" +_TSIH = "TotalScheduledInstanceHours" +_tSIH = "totalScheduledInstanceHours" +_SIAS = "ScheduledInstanceAvailabilitySet" +_DSIAO = "DescribeScheduledInstanceAvailabilityOutput" +_cDSIARo = "com.amazonaws.ec2#DescribeScheduledInstanceAvailabilityResult" +_sIAS = "scheduledInstanceAvailabilitySet" +_DSIA = "DescribeScheduledInstanceAvailability" +_SIIc = "ScheduledInstanceId" +_SIIRS = "ScheduledInstanceIdRequestSet" +_SSTRR = "SlotStartTimeRangeRequest" +_DSII = "DescribeScheduledInstancesInput" +_cDSIR = "com.amazonaws.ec2#DescribeScheduledInstancesRequest" +_SIIch = "ScheduledInstanceIds" +_SSTR = "SlotStartTimeRange" +_SIc = "ScheduledInstance" +_NSST = "NextSlotStartTime" +_nSST = "nextSlotStartTime" +_PSET = "PreviousSlotEndTime" +_pSET = "previousSlotEndTime" +_sIIc = "scheduledInstanceId" +_TED = "TermEndDate" +_tED = "termEndDate" +_TSD = "TermStartDate" +_tSD = "termStartDate" +_SISc = "ScheduledInstanceSet" +_DSIO = "DescribeScheduledInstancesOutput" +_cDSIRo = "com.amazonaws.ec2#DescribeScheduledInstancesResult" +_sISc = "scheduledInstanceSet" +_DSIes = "DescribeScheduledInstances" +_DSIMR = "DescribeSecondaryInterfacesMaxResults" +_SIIL = "SecondaryInterfaceIdList" +_DSIIe = "DescribeSecondaryInterfacesInput" +_cDSIRom = "com.amazonaws.ec2#DescribeSecondaryInterfacesRequest" +_SIIec = "SecondaryInterfaceIds" +_SIAe = "SecondaryInterfaceAttachment" +_SIIA = "SecondaryInterfaceIpv4Address" +_SIIAL = "SecondaryInterfaceIpv4AddressList" +_PIAriv = "PrivateIpv4Addresses" +_PIASriv = "PrivateIpv4AddressSet" +_pIASri = "privateIpv4AddressSet" +_SIAec = "SecondaryInterfaceArn" +_sIA = "secondaryInterfaceArn" +_sITe = "secondaryInterfaceType" +_SIL = "SecondaryInterfaceList" +_DSIOe = "DescribeSecondaryInterfacesOutput" +_cDSIRoma = "com.amazonaws.ec2#DescribeSecondaryInterfacesResult" +_DSIesc = "DescribeSecondaryInterfaces" +_DSNMR = "DescribeSecondaryNetworksMaxResults" +_SNIL = "SecondaryNetworkIdList" +_DSNIe = "DescribeSecondaryNetworksInput" +_cDSNRom = "com.amazonaws.ec2#DescribeSecondaryNetworksRequest" +_SNIe = "SecondaryNetworkIds" +_SNL = "SecondaryNetworkList" +_DSNOe = "DescribeSecondaryNetworksOutput" +_cDSNRoma = "com.amazonaws.ec2#DescribeSecondaryNetworksResult" +_SNeco = "SecondaryNetworks" +_SNSec = "SecondaryNetworkSet" +_sNSec = "secondaryNetworkSet" +_DSNe = "DescribeSecondaryNetworks" +_DSSMR = "DescribeSecondarySubnetsMaxResults" +_SSIL = "SecondarySubnetIdList" +_DSSIe = "DescribeSecondarySubnetsInput" +_cDSSRom = "com.amazonaws.ec2#DescribeSecondarySubnetsRequest" +_SSIec = "SecondarySubnetIds" +_SSL = "SecondarySubnetList" +_DSSOe = "DescribeSecondarySubnetsOutput" +_cDSSRoma = "com.amazonaws.ec2#DescribeSecondarySubnetsResult" +_SSec = "SecondarySubnets" +_SSSe = "SecondarySubnetSet" +_sSSe = "secondarySubnetSet" +_DSSes = "DescribeSecondarySubnets" +_DSGRI = "DescribeSecurityGroupReferencesInput" +_cDSGRR = "com.amazonaws.ec2#DescribeSecurityGroupReferencesRequest" +_SGRec = "SecurityGroupReference" +_RVIe = "ReferencingVpcId" +_rVIe = "referencingVpcId" +_SGRecu = "SecurityGroupReferences" +_DSGRO = "DescribeSecurityGroupReferencesOutput" +_cDSGRRo = "com.amazonaws.ec2#DescribeSecurityGroupReferencesResult" +_SGRSec = "SecurityGroupReferenceSet" +_sGRSec = "securityGroupReferenceSet" +_DSGR = "DescribeSecurityGroupReferences" +_DSGRMR = "DescribeSecurityGroupRulesMaxResults" +_DSGRIe = "DescribeSecurityGroupRulesInput" +_cDSGRRom = "com.amazonaws.ec2#DescribeSecurityGroupRulesRequest" +_SGRIe = "SecurityGroupRuleIds" +_DSGROe = "DescribeSecurityGroupRulesOutput" +_cDSGRRoma = "com.amazonaws.ec2#DescribeSecurityGroupRulesResult" +_DSGRe = "DescribeSecurityGroupRules" +_GNSL = "GroupNameStringList" +_DSGMR = "DescribeSecurityGroupsMaxResults" +_DSGIe = "DescribeSecurityGroupsInput" +_cDSGRom = "com.amazonaws.ec2#DescribeSecurityGroupsRequest" +_IPE = "IpPermissionsEgress" +_iPE = "ipPermissionsEgress" +_gD = "groupDescription" +_SGL = "SecurityGroupList" +_DSGOe = "DescribeSecurityGroupsOutput" +_cDSGRoma = "com.amazonaws.ec2#DescribeSecurityGroupsResult" +_SGIecu = "SecurityGroupInfo" +_sGIec = "securityGroupInfo" +_DSGe = "DescribeSecurityGroups" +_DSGVAMR = "DescribeSecurityGroupVpcAssociationsMaxResults" +_DSGVAI = "DescribeSecurityGroupVpcAssociationsInput" +_cDSGVAR = "com.amazonaws.ec2#DescribeSecurityGroupVpcAssociationsRequest" +_SGVA = "SecurityGroupVpcAssociation" +_SGVAL = "SecurityGroupVpcAssociationList" +_DSGVAO = "DescribeSecurityGroupVpcAssociationsOutput" +_cDSGVARo = "com.amazonaws.ec2#DescribeSecurityGroupVpcAssociationsResult" +_SGVAe = "SecurityGroupVpcAssociations" +_SGVASe = "SecurityGroupVpcAssociationSet" +_sGVAS = "securityGroupVpcAssociationSet" +_DSGVA = "DescribeSecurityGroupVpcAssociations" +_SLMR = "ServiceLinkMaxResults" +_DSLVII = "DescribeServiceLinkVirtualInterfacesInput" +_cDSLVIR = "com.amazonaws.ec2#DescribeServiceLinkVirtualInterfacesRequest" +_SLVICS = "ServiceLinkVirtualInterfaceConfigurationState" +_SLVI = "ServiceLinkVirtualInterface" +_sLVII = "serviceLinkVirtualInterfaceId" +_SLVIA = "ServiceLinkVirtualInterfaceArn" +_sLVIA = "serviceLinkVirtualInterfaceArn" +_OIu = "OutpostId" +_oIu = "outpostId" +_SLVIS = "ServiceLinkVirtualInterfaceSet" +_DSLVIO = "DescribeServiceLinkVirtualInterfacesOutput" +_cDSLVIRo = "com.amazonaws.ec2#DescribeServiceLinkVirtualInterfacesResult" +_SLVIe = "ServiceLinkVirtualInterfaces" +_sLVIS = "serviceLinkVirtualInterfaceSet" +_DSLVI = "DescribeServiceLinkVirtualInterfaces" + +DESCRIBE_RESERVED_INSTANCES_OFFERINGS_INPUT: StaticSchema = ( + 18, + n0, + _DRIOI, + {_sSI: _cDRIOR, _sm: None}, + ( + _AZ, + _IMn, + _IT, + _MDa, + _MIC, + _MDi, + _OC, + _PDr, + _RIOIe, + _AZI, + _DR, + _Fil, + _ITnst, + _OTf, + _NTex, + _MR, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_TYPE, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.OFFERING_CLASS_TYPE, 0), + (lambda: schemas.RI_PRODUCT_DESCRIPTION, 0), + (lambda: schemas.RESERVED_INSTANCES_OFFERING_ID_STRING_LIST, {_sN: _RIOI}), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TENANCY, {_aQN: _ITnst, _sN: _iTns}), + (lambda: schemas.OFFERING_TYPE_VALUES, {_aQN: _OTf, _sN: _oTf}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.INTEGER, {_aQN: _MR, _sN: _mR}), + ), +) + +DESCRIBE_RESERVED_INSTANCES_OFFERINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DRIOO, + {_sSI: _cDRIORo, _smit: None}, + (_NTex, _RIOe), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: RESERVED_INSTANCES_OFFERING_LIST, {_aQN: _RIOS, _sN: _rIOS}), + ), +) + +DESCRIBE_RESERVED_INSTANCES_OFFERINGS: StaticOperationSchema = ( + 23, + n0, + _DRIOe, + 0, + DESCRIBE_RESERVED_INSTANCES_OFFERINGS_INPUT, + DESCRIBE_RESERVED_INSTANCES_OFFERINGS_OUTPUT, + (), +) + +PRICING_DETAIL: StaticSchema = ( + 18, + n0, + _PDri, + 0, + (_Cou, _Pric), + ( + (lambda: schemas.INTEGER, {_aQN: _Cou, _sN: _cou}), + (lambda: schemas.DOUBLE, {_aQN: _Pric, _sN: _pric}), + ), +) + +PRICING_DETAILS_LIST: StaticSchema = ( + 16, + n0, + _PDL, + 0, + (_me,), + ((PRICING_DETAIL, {_sN: _i}),), +) + +RESERVED_INSTANCES_OFFERING: StaticSchema = ( + 18, + n0, + _RIO, + 0, + ( + _CC, + _ITnst, + _Mar, + _OC, + _OTf, + _PDric, + _RCecu, + _Sc, + _AZI, + _RIOI, + _IT, + _AZ, + _Dur, + _UPs, + _FPix, + _PDr, + ), + ( + (lambda: schemas.CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.TENANCY, {_aQN: _ITnst, _sN: _iTns}), + (lambda: schemas.BOOLEAN, {_aQN: _Mar, _sN: _mar}), + (lambda: schemas.OFFERING_CLASS_TYPE, {_aQN: _OC, _sN: _oC}), + (lambda: schemas.OFFERING_TYPE_VALUES, {_aQN: _OTf, _sN: _oTf}), + (PRICING_DETAILS_LIST, {_aQN: _PDS, _sN: _pDS}), + (lambda: schemas.RECURRING_CHARGES_LIST, {_aQN: _RCecu, _sN: _rCe}), + (lambda: schemas.SCOPE, {_aQN: _Sc, _sN: _sc}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _RIOI, _sN: _rIOI}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.LONG, {_aQN: _Dur, _sN: _dur}), + (lambda: schemas.FLOAT, {_aQN: _UPs, _sN: _uPs}), + (lambda: schemas.FLOAT, {_aQN: _FPix, _sN: _fPix}), + (lambda: schemas.RI_PRODUCT_DESCRIPTION, {_aQN: _PDr, _sN: _pDr}), + ), +) + +RESERVED_INSTANCES_OFFERING_LIST: StaticSchema = ( + 16, + n0, + _RIOL, + 0, + (_me,), + ((RESERVED_INSTANCES_OFFERING, {_sN: _i}),), +) + +ROUTE_SERVER_ENDPOINT_IDS_LIST: StaticSchema = ( + 16, + n0, + _RSEIL, + 0, + (_me,), + ((lambda: schemas.ROUTE_SERVER_ENDPOINT_ID, 0),), +) + +DESCRIBE_ROUTE_SERVER_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _DRSEIe, + {_sSI: _cDRSERom, _sm: None}, + (_RSEIo, _NTex, _MR, _Fil, _DR), + ( + (ROUTE_SERVER_ENDPOINT_IDS_LIST, {_sN: _RSEI}), + (lambda: schemas.STRING, 0), + (lambda: schemas.ROUTE_SERVER_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_ROUTE_SERVER_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DRSEOe, + {_sSI: _cDRSERoma, _smit: None}, + (_RSEo, _NTex), + ( + (lambda: ROUTE_SERVER_ENDPOINTS_LIST, {_aQN: _RSESo, _sN: _rSES}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_ROUTE_SERVER_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _DRSEe, + 0, + DESCRIBE_ROUTE_SERVER_ENDPOINTS_INPUT, + DESCRIBE_ROUTE_SERVER_ENDPOINTS_OUTPUT, + (), +) + +ROUTE_SERVER_ENDPOINTS_LIST: StaticSchema = ( + 16, + n0, + _RSEL, + 0, + (_me,), + ((lambda: schemas.ROUTE_SERVER_ENDPOINT, {_sN: _i}),), +) + +ROUTE_SERVER_PEER_IDS_LIST: StaticSchema = ( + 16, + n0, + _RSPIL, + 0, + (_me,), + ((lambda: schemas.ROUTE_SERVER_PEER_ID, 0),), +) + +DESCRIBE_ROUTE_SERVER_PEERS_INPUT: StaticSchema = ( + 18, + n0, + _DRSPIe, + {_sSI: _cDRSPRom, _sm: None}, + (_RSPIo, _NTex, _MR, _Fil, _DR), + ( + (ROUTE_SERVER_PEER_IDS_LIST, {_sN: _RSPI}), + (lambda: schemas.STRING, 0), + (lambda: schemas.ROUTE_SERVER_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_ROUTE_SERVER_PEERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DRSPOe, + {_sSI: _cDRSPRoma, _smit: None}, + (_RSPo, _NTex), + ( + (lambda: ROUTE_SERVER_PEERS_LIST, {_aQN: _RSPSo, _sN: _rSPS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_ROUTE_SERVER_PEERS: StaticOperationSchema = ( + 23, + n0, + _DRSPe, + 0, + DESCRIBE_ROUTE_SERVER_PEERS_INPUT, + DESCRIBE_ROUTE_SERVER_PEERS_OUTPUT, + (), +) + +ROUTE_SERVER_PEERS_LIST: StaticSchema = ( + 16, + n0, + _RSPL, + 0, + (_me,), + ((lambda: schemas.ROUTE_SERVER_PEER, {_sN: _i}),), +) + +ROUTE_SERVER_IDS_LIST: StaticSchema = ( + 16, + n0, + _RSIL, + 0, + (_me,), + ((lambda: schemas.ROUTE_SERVER_ID, 0),), +) + +DESCRIBE_ROUTE_SERVERS_INPUT: StaticSchema = ( + 18, + n0, + _DRSIe, + {_sSI: _cDRSRom, _sm: None}, + (_RSIo, _NTex, _MR, _Fil, _DR), + ( + (ROUTE_SERVER_IDS_LIST, {_sN: _RSI}), + (lambda: schemas.STRING, 0), + (lambda: schemas.ROUTE_SERVER_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_ROUTE_SERVERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DRSOe, + {_sSI: _cDRSRoma, _smit: None}, + (_RSoute, _NTex), + ( + (lambda: ROUTE_SERVERS_LIST, {_aQN: _RSSo, _sN: _rSS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_ROUTE_SERVERS: StaticOperationSchema = ( + 23, + n0, + _DRSe, + 0, + DESCRIBE_ROUTE_SERVERS_INPUT, + DESCRIBE_ROUTE_SERVERS_OUTPUT, + (), +) + +ROUTE_SERVERS_LIST: StaticSchema = ( + 16, + n0, + _RSL, + 0, + (_me,), + ((lambda: schemas.ROUTE_SERVER, {_sN: _i}),), +) + +DESCRIBE_ROUTE_TABLES_MAX_RESULTS: StaticSchema = (7, n0, _DRTMR, 0) + +ROUTE_TABLE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _RTISL, + 0, + (_me,), + ((lambda: schemas.ROUTE_TABLE_ID, {_sN: _i}),), +) + +DESCRIBE_ROUTE_TABLES_INPUT: StaticSchema = ( + 18, + n0, + _DRTIe, + {_sSI: _cDRTRo, _sm: None}, + (_NTex, _MR, _DR, _RTIou, _Fil), + ( + (lambda: schemas.STRING, 0), + (DESCRIBE_ROUTE_TABLES_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (ROUTE_TABLE_ID_STRING_LIST, {_sN: _RTIo}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_ROUTE_TABLES_OUTPUT: StaticSchema = ( + 18, + n0, + _DRTOe, + {_sSI: _cDRTRom, _smit: None}, + (_RTou, _NTex), + ( + (lambda: ROUTE_TABLE_LIST, {_aQN: _RTSo, _sN: _rTSo}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_ROUTE_TABLES: StaticOperationSchema = ( + 23, + n0, + _DRTe, + 0, + DESCRIBE_ROUTE_TABLES_INPUT, + DESCRIBE_ROUTE_TABLES_OUTPUT, + (), +) + +ROUTE_TABLE_LIST: StaticSchema = ( + 16, + n0, + _RTLo, + 0, + (_me,), + ((lambda: schemas.ROUTE_TABLE, {_sN: _i}),), +) + +SLOT_DATE_TIME_RANGE_REQUEST: StaticSchema = ( + 18, + n0, + _SDTRR, + 0, + (_ETa, _LTat), + ((lambda: schemas.DATE_TIME, 1), (lambda: schemas.DATE_TIME, 1)), +) + +DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_MAX_RESULTS: StaticSchema = (7, n0, _DSIAMR, 0) + +OCCURRENCE_DAY_REQUEST_SET: StaticSchema = ( + 16, + n0, + _ODRS, + 0, + (_me,), + ((lambda: schemas.INTEGER, {_sN: _ODc}),), +) + +SCHEDULED_INSTANCE_RECURRENCE_REQUEST: StaticSchema = ( + 18, + n0, + _SIRR, + 0, + (_Fr, _Int, _ODcc, _ORTE, _OUc), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (OCCURRENCE_DAY_REQUEST_SET, {_sN: _ODccu}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_INPUT: StaticSchema = ( + 18, + n0, + _DSIAI, + {_sSI: _cDSIAR, _sm: None}, + (_DR, _Fil, _FSSTR, _MR, _MSDIH, _MSDIHi, _NTex, _Rec), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (SLOT_DATE_TIME_RANGE_REQUEST, 1), + (DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_MAX_RESULTS, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (SCHEDULED_INSTANCE_RECURRENCE_REQUEST, 1), + ), +) + +DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_OUTPUT: StaticSchema = ( + 18, + n0, + _DSIAO, + {_sSI: _cDSIARo, _smit: None}, + (_NTex, _SIAS), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: SCHEDULED_INSTANCE_AVAILABILITY_SET, {_aQN: _SIAS, _sN: _sIAS}), + ), +) + +DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY: StaticOperationSchema = ( + 23, + n0, + _DSIA, + 0, + DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_INPUT, + DESCRIBE_SCHEDULED_INSTANCE_AVAILABILITY_OUTPUT, + (), +) + +OCCURRENCE_DAY_SET: StaticSchema = ( + 16, + n0, + _ODS, + 0, + (_me,), + ((lambda: schemas.INTEGER, {_sN: _i}),), +) + +SCHEDULED_INSTANCE_RECURRENCE: StaticSchema = ( + 18, + n0, + _SIRc, + 0, + (_Fr, _Int, _ODS, _ORTE, _OUc), + ( + (lambda: schemas.STRING, {_aQN: _Fr, _sN: _freq}), + (lambda: schemas.INTEGER, {_aQN: _Int, _sN: _int}), + (OCCURRENCE_DAY_SET, {_aQN: _ODS, _sN: _oDS}), + (lambda: schemas.BOOLEAN, {_aQN: _ORTE, _sN: _oRTE}), + (lambda: schemas.STRING, {_aQN: _OUc, _sN: _oU}), + ), +) + +SCHEDULED_INSTANCE_AVAILABILITY: StaticSchema = ( + 18, + n0, + _SIA, + 0, + ( + _AZ, + _AIC, + _FSST, + _HP, + _IT, + _MTDID, + _MTDIDi, + _NPet, + _Pla, + _PTu, + _Rec, + _SDIH, + _TSIH, + ), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.INTEGER, {_aQN: _AIC, _sN: _aIC}), + (lambda: schemas.DATE_TIME, {_aQN: _FSST, _sN: _fSST}), + (lambda: schemas.STRING, {_aQN: _HP, _sN: _hP}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.INTEGER, {_aQN: _MTDID, _sN: _mTDID}), + (lambda: schemas.INTEGER, {_aQN: _MTDIDi, _sN: _mTDIDi}), + (lambda: schemas.STRING, {_aQN: _NPet, _sN: _nPet}), + (lambda: schemas.STRING, {_aQN: _Pla, _sN: _plat}), + (lambda: schemas.STRING, {_aQN: _PTu, _sN: _pTu}), + (SCHEDULED_INSTANCE_RECURRENCE, {_aQN: _Rec, _sN: _recu}), + (lambda: schemas.INTEGER, {_aQN: _SDIH, _sN: _sDIH}), + (lambda: schemas.INTEGER, {_aQN: _TSIH, _sN: _tSIH}), + ), +) + +SCHEDULED_INSTANCE_AVAILABILITY_SET: StaticSchema = ( + 16, + n0, + _SIAS, + 0, + (_me,), + ((SCHEDULED_INSTANCE_AVAILABILITY, {_sN: _i}),), +) + +SCHEDULED_INSTANCE_ID: StaticSchema = (3, n0, _SIIc, 0) + +SCHEDULED_INSTANCE_ID_REQUEST_SET: StaticSchema = ( + 16, + n0, + _SIIRS, + 0, + (_me,), + ((SCHEDULED_INSTANCE_ID, {_sN: _SIIc}),), +) + +SLOT_START_TIME_RANGE_REQUEST: StaticSchema = ( + 18, + n0, + _SSTRR, + 0, + (_ETa, _LTat), + ((lambda: schemas.DATE_TIME, 0), (lambda: schemas.DATE_TIME, 0)), +) + +DESCRIBE_SCHEDULED_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DSII, + {_sSI: _cDSIR, _sm: None}, + (_DR, _Fil, _MR, _NTex, _SIIch, _SSTR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (SCHEDULED_INSTANCE_ID_REQUEST_SET, {_sN: _SIIc}), + (SLOT_START_TIME_RANGE_REQUEST, 0), + ), +) + +DESCRIBE_SCHEDULED_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DSIO, + {_sSI: _cDSIRo, _smit: None}, + (_NTex, _SISc), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: SCHEDULED_INSTANCE_SET, {_aQN: _SISc, _sN: _sISc}), + ), +) + +DESCRIBE_SCHEDULED_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DSIes, + 0, + DESCRIBE_SCHEDULED_INSTANCES_INPUT, + DESCRIBE_SCHEDULED_INSTANCES_OUTPUT, + (), +) + +SCHEDULED_INSTANCE: StaticSchema = ( + 18, + n0, + _SIc, + 0, + ( + _AZ, + _CD, + _HP, + _IC, + _IT, + _NPet, + _NSST, + _Pla, + _PSET, + _Rec, + _SIIc, + _SDIH, + _TED, + _TSD, + _TSIH, + ), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.DATE_TIME, {_aQN: _CD, _sN: _cD}), + (lambda: schemas.STRING, {_aQN: _HP, _sN: _hP}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _NPet, _sN: _nPet}), + (lambda: schemas.DATE_TIME, {_aQN: _NSST, _sN: _nSST}), + (lambda: schemas.STRING, {_aQN: _Pla, _sN: _plat}), + (lambda: schemas.DATE_TIME, {_aQN: _PSET, _sN: _pSET}), + (SCHEDULED_INSTANCE_RECURRENCE, {_aQN: _Rec, _sN: _recu}), + (lambda: schemas.STRING, {_aQN: _SIIc, _sN: _sIIc}), + (lambda: schemas.INTEGER, {_aQN: _SDIH, _sN: _sDIH}), + (lambda: schemas.DATE_TIME, {_aQN: _TED, _sN: _tED}), + (lambda: schemas.DATE_TIME, {_aQN: _TSD, _sN: _tSD}), + (lambda: schemas.INTEGER, {_aQN: _TSIH, _sN: _tSIH}), + ), +) + +SCHEDULED_INSTANCE_SET: StaticSchema = ( + 16, + n0, + _SISc, + 0, + (_me,), + ((SCHEDULED_INSTANCE, {_sN: _i}),), +) + +DESCRIBE_SECONDARY_INTERFACES_MAX_RESULTS: StaticSchema = (7, n0, _DSIMR, 0) + +SECONDARY_INTERFACE_ID_LIST: StaticSchema = ( + 16, + n0, + _SIIL, + 0, + (_me,), + ((lambda: schemas.SECONDARY_INTERFACE_ID, {_sN: _i}),), +) + +DESCRIBE_SECONDARY_INTERFACES_INPUT: StaticSchema = ( + 18, + n0, + _DSIIe, + {_sSI: _cDSIRom, _sm: None}, + (_DR, _Fil, _MR, _NTex, _SIIec), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_SECONDARY_INTERFACES_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (SECONDARY_INTERFACE_ID_LIST, {_sN: _SIIe}), + ), +) + +DESCRIBE_SECONDARY_INTERFACES_OUTPUT: StaticSchema = ( + 18, + n0, + _DSIOe, + {_sSI: _cDSIRoma, _smit: None}, + (_SIec, _NTex), + ( + (lambda: SECONDARY_INTERFACE_LIST, {_aQN: _SIS, _sN: _sIS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_SECONDARY_INTERFACES: StaticOperationSchema = ( + 23, + n0, + _DSIesc, + 0, + DESCRIBE_SECONDARY_INTERFACES_INPUT, + DESCRIBE_SECONDARY_INTERFACES_OUTPUT, + (), +) + +SECONDARY_INTERFACE_ATTACHMENT: StaticSchema = ( + 18, + n0, + _SIAe, + 0, + (_AIt, _ATtt, _DOT, _DI, _II, _IOIn, _NCI, _Sta), + ( + (lambda: schemas.STRING, {_aQN: _AIt, _sN: _aIt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.INTEGER, {_aQN: _DI, _sN: _dI}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _IOIn, _sN: _iOIn}), + (lambda: schemas.INTEGER, {_aQN: _NCI, _sN: _nCI}), + (lambda: schemas.ATTACHMENT_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +SECONDARY_INTERFACE_IPV4_ADDRESS: StaticSchema = ( + 18, + n0, + _SIIA, + 0, + (_PIAr,), + ((lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}),), +) + +SECONDARY_INTERFACE_IPV4_ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _SIIAL, + 0, + (_me,), + ((SECONDARY_INTERFACE_IPV4_ADDRESS, {_sN: _i}),), +) + +SECONDARY_INTERFACE: StaticSchema = ( + 18, + n0, + _SIeco, + 0, + ( + _AZ, + _AZI, + _At, + _MAa, + _OIw, + _PIAriv, + _SIIe, + _SIAec, + _SITe, + _SSIe, + _SNI, + _SNT, + _SDC, + _Sta, + _Tag, + ), + ( + (lambda: schemas.AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (SECONDARY_INTERFACE_ATTACHMENT, {_aQN: _At, _sN: _atta}), + (lambda: schemas.STRING, {_aQN: _MAa, _sN: _mAa}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (SECONDARY_INTERFACE_IPV4_ADDRESS_LIST, {_aQN: _PIASriv, _sN: _pIASri}), + (lambda: schemas.SECONDARY_INTERFACE_ID, {_aQN: _SIIe, _sN: _sIIe}), + (lambda: schemas.STRING, {_aQN: _SIAec, _sN: _sIA}), + (lambda: schemas.SECONDARY_INTERFACE_TYPE, {_aQN: _SITe, _sN: _sITe}), + (lambda: schemas.SECONDARY_SUBNET_ID, {_aQN: _SSIe, _sN: _sSIe}), + (lambda: schemas.SECONDARY_NETWORK_ID, {_aQN: _SNI, _sN: _sNI}), + (lambda: schemas.SECONDARY_NETWORK_TYPE, {_aQN: _SNT, _sN: _sNT}), + (lambda: schemas.BOOLEAN, {_aQN: _SDC, _sN: _sDC}), + (lambda: schemas.SECONDARY_INTERFACE_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +SECONDARY_INTERFACE_LIST: StaticSchema = ( + 16, + n0, + _SIL, + 0, + (_me,), + ((SECONDARY_INTERFACE, {_sN: _i}),), +) + +DESCRIBE_SECONDARY_NETWORKS_MAX_RESULTS: StaticSchema = (7, n0, _DSNMR, 0) + +SECONDARY_NETWORK_ID_LIST: StaticSchema = ( + 16, + n0, + _SNIL, + 0, + (_me,), + ((lambda: schemas.SECONDARY_NETWORK_ID, {_sN: _i}),), +) + +DESCRIBE_SECONDARY_NETWORKS_INPUT: StaticSchema = ( + 18, + n0, + _DSNIe, + {_sSI: _cDSNRom, _sm: None}, + (_DR, _Fil, _MR, _NTex, _SNIe), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_SECONDARY_NETWORKS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (SECONDARY_NETWORK_ID_LIST, {_sN: _SNI}), + ), +) + +DESCRIBE_SECONDARY_NETWORKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSNOe, + {_sSI: _cDSNRoma, _smit: None}, + (_SNeco, _NTex), + ( + (lambda: SECONDARY_NETWORK_LIST, {_aQN: _SNSec, _sN: _sNSec}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_SECONDARY_NETWORKS: StaticOperationSchema = ( + 23, + n0, + _DSNe, + 0, + DESCRIBE_SECONDARY_NETWORKS_INPUT, + DESCRIBE_SECONDARY_NETWORKS_OUTPUT, + (), +) + +SECONDARY_NETWORK_LIST: StaticSchema = ( + 16, + n0, + _SNL, + 0, + (_me,), + ((lambda: schemas.SECONDARY_NETWORK, {_sN: _i}),), +) + +DESCRIBE_SECONDARY_SUBNETS_MAX_RESULTS: StaticSchema = (7, n0, _DSSMR, 0) + +SECONDARY_SUBNET_ID_LIST: StaticSchema = ( + 16, + n0, + _SSIL, + 0, + (_me,), + ((lambda: schemas.SECONDARY_SUBNET_ID, {_sN: _i}),), +) + +DESCRIBE_SECONDARY_SUBNETS_INPUT: StaticSchema = ( + 18, + n0, + _DSSIe, + {_sSI: _cDSSRom, _sm: None}, + (_DR, _Fil, _MR, _NTex, _SSIec), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (DESCRIBE_SECONDARY_SUBNETS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (SECONDARY_SUBNET_ID_LIST, {_sN: _SSIe}), + ), +) + +DESCRIBE_SECONDARY_SUBNETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSSOe, + {_sSI: _cDSSRoma, _smit: None}, + (_SSec, _NTex), + ( + (lambda: SECONDARY_SUBNET_LIST, {_aQN: _SSSe, _sN: _sSSe}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_SECONDARY_SUBNETS: StaticOperationSchema = ( + 23, + n0, + _DSSes, + 0, + DESCRIBE_SECONDARY_SUBNETS_INPUT, + DESCRIBE_SECONDARY_SUBNETS_OUTPUT, + (), +) + +SECONDARY_SUBNET_LIST: StaticSchema = ( + 16, + n0, + _SSL, + 0, + (_me,), + ((lambda: schemas.SECONDARY_SUBNET, {_sN: _i}),), +) + +GROUP_IDS: StaticSchema = ( + 16, + n0, + _GIrou, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_ID, {_sN: _i}),), +) + +DESCRIBE_SECURITY_GROUP_REFERENCES_INPUT: StaticSchema = ( + 18, + n0, + _DSGRI, + {_sSI: _cDSGRR, _sm: None}, + (_DR, _GIr), + ((lambda: schemas.BOOLEAN, 0), (GROUP_IDS, 1)), +) + +DESCRIBE_SECURITY_GROUP_REFERENCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DSGRO, + {_sSI: _cDSGRRo, _smit: None}, + (_SGRSec,), + ((lambda: SECURITY_GROUP_REFERENCES, {_aQN: _SGRSec, _sN: _sGRSec}),), +) + +DESCRIBE_SECURITY_GROUP_REFERENCES: StaticOperationSchema = ( + 23, + n0, + _DSGR, + 0, + DESCRIBE_SECURITY_GROUP_REFERENCES_INPUT, + DESCRIBE_SECURITY_GROUP_REFERENCES_OUTPUT, + (), +) + +SECURITY_GROUP_REFERENCE: StaticSchema = ( + 18, + n0, + _SGRec, + 0, + (_GIr, _RVIe, _VPCI, _TGI), + ( + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.STRING, {_aQN: _RVIe, _sN: _rVIe}), + (lambda: schemas.STRING, {_aQN: _VPCI, _sN: _vPCI}), + (lambda: schemas.STRING, {_aQN: _TGI, _sN: _tGI}), + ), +) + +SECURITY_GROUP_REFERENCES: StaticSchema = ( + 16, + n0, + _SGRecu, + 0, + (_me,), + ((SECURITY_GROUP_REFERENCE, {_sN: _i}),), +) + +DESCRIBE_SECURITY_GROUP_RULES_MAX_RESULTS: StaticSchema = (7, n0, _DSGRMR, 0) + +DESCRIBE_SECURITY_GROUP_RULES_INPUT: StaticSchema = ( + 18, + n0, + _DSGRIe, + {_sSI: _cDSGRRom, _sm: None}, + (_Fil, _SGRIe, _DR, _NTex, _MR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.SECURITY_GROUP_RULE_ID_LIST, {_sN: _SGRI}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (DESCRIBE_SECURITY_GROUP_RULES_MAX_RESULTS, 0), + ), +) + +DESCRIBE_SECURITY_GROUP_RULES_OUTPUT: StaticSchema = ( + 18, + n0, + _DSGROe, + {_sSI: _cDSGRRoma, _smit: None}, + (_SGRe, _NTex), + ( + (lambda: schemas.SECURITY_GROUP_RULE_LIST, {_aQN: _SGRSe, _sN: _sGRSe}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_SECURITY_GROUP_RULES: StaticOperationSchema = ( + 23, + n0, + _DSGRe, + 0, + DESCRIBE_SECURITY_GROUP_RULES_INPUT, + DESCRIBE_SECURITY_GROUP_RULES_OUTPUT, + (), +) + +GROUP_NAME_STRING_LIST: StaticSchema = ( + 16, + n0, + _GNSL, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_NAME, {_sN: _GN}),), +) + +DESCRIBE_SECURITY_GROUPS_MAX_RESULTS: StaticSchema = (7, n0, _DSGMR, 0) + +DESCRIBE_SECURITY_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DSGIe, + {_sSI: _cDSGRom, _sm: None}, + (_GIrou, _GNr, _NTex, _MR, _DR, _Fil), + ( + (lambda: schemas.GROUP_ID_STRING_LIST, {_sN: _GIr}), + (GROUP_NAME_STRING_LIST, {_sN: _GN}), + (lambda: schemas.STRING, 0), + (DESCRIBE_SECURITY_GROUPS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_SECURITY_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSGOe, + {_sSI: _cDSGRoma, _smit: None}, + (_NTex, _SGe), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: SECURITY_GROUP_LIST, {_aQN: _SGIecu, _sN: _sGIec}), + ), +) + +DESCRIBE_SECURITY_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DSGe, + 0, + DESCRIBE_SECURITY_GROUPS_INPUT, + DESCRIBE_SECURITY_GROUPS_OUTPUT, + (), +) + +SECURITY_GROUP: StaticSchema = ( + 18, + n0, + _SG, + 0, + (_GIr, _IPE, _Tag, _VI, _SGA, _OIw, _GN, _Des, _IPper), + ( + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.IP_PERMISSION_LIST, {_aQN: _IPE, _sN: _iPE}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _SGA, _sN: _sGA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (lambda: schemas.STRING, {_aQN: _GD, _sN: _gD}), + (lambda: schemas.IP_PERMISSION_LIST, {_aQN: _IPper, _sN: _iPpe}), + ), +) + +SECURITY_GROUP_LIST: StaticSchema = ( + 16, + n0, + _SGL, + 0, + (_me,), + ((SECURITY_GROUP, {_sN: _i}),), +) + +DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DSGVAMR, + 0, +) + +DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DSGVAI, + {_sSI: _cDSGVAR, _sm: None}, + (_Fil, _NTex, _MR, _DR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, 0), + (DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSGVAO, + {_sSI: _cDSGVARo, _smit: None}, + (_SGVAe, _NTex), + ( + (lambda: SECURITY_GROUP_VPC_ASSOCIATION_LIST, {_aQN: _SGVASe, _sN: _sGVAS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _DSGVA, + 0, + DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_INPUT, + DESCRIBE_SECURITY_GROUP_VPC_ASSOCIATIONS_OUTPUT, + (), +) + +SECURITY_GROUP_VPC_ASSOCIATION: StaticSchema = ( + 18, + n0, + _SGVA, + 0, + (_GIr, _VI, _VOI, _St, _SRt, _GOI), + ( + (lambda: schemas.SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _VOI, _sN: _vOI}), + (lambda: schemas.SECURITY_GROUP_VPC_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SRt, _sN: _sRt}), + (lambda: schemas.STRING, {_aQN: _GOI, _sN: _gOI}), + ), +) + +SECURITY_GROUP_VPC_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _SGVAL, + 0, + (_me,), + ((SECURITY_GROUP_VPC_ASSOCIATION, {_sN: _i}),), +) + +SERVICE_LINK_MAX_RESULTS: StaticSchema = (7, n0, _SLMR, 0) + +DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_INPUT: StaticSchema = ( + 18, + n0, + _DSLVII, + {_sSI: _cDSLVIR, _sm: None}, + (_SLVIIe, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.SERVICE_LINK_VIRTUAL_INTERFACE_ID_SET, {_sN: _SLVII}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (SERVICE_LINK_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_OUTPUT: StaticSchema = ( + 18, + n0, + _DSLVIO, + {_sSI: _cDSLVIRo, _smit: None}, + (_SLVIe, _NTex), + ( + ( + lambda: schemas.SERVICE_LINK_VIRTUAL_INTERFACE_SET, + {_aQN: _SLVIS, _sN: _sLVIS}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES: StaticOperationSchema = ( + 23, + n0, + _DSLVI, + 0, + DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_INPUT, + DESCRIBE_SERVICE_LINK_VIRTUAL_INTERFACES_OUTPUT, + (), +) + +SERVICE_LINK_VIRTUAL_INTERFACE_CONFIGURATION_STATE: StaticSchema = ( + 14, + n0, + _SLVICS, + 0, + (_p, _av, _de, _del), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), +) + +SERVICE_LINK_VIRTUAL_INTERFACE: StaticSchema = ( + 18, + n0, + _SLVI, + 0, + (_SLVII, _SLVIA, _OIu, _OA, _OIw, _LA, _PAe, _PBA, _Vl, _OLI, _Tag, _CSon), + ( + ( + lambda: schemas.SERVICE_LINK_VIRTUAL_INTERFACE_ID, + {_aQN: _SLVII, _sN: _sLVII}, + ), + (lambda: schemas.RESOURCE_ARN, {_aQN: _SLVIA, _sN: _sLVIA}), + (lambda: schemas.STRING, {_aQN: _OIu, _sN: _oIu}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _LA, _sN: _lA}), + (lambda: schemas.STRING, {_aQN: _PAe, _sN: _pAe}), + (lambda: schemas.LONG, {_aQN: _PBA, _sN: _pBA}), + (lambda: schemas.INTEGER, {_aQN: _Vl, _sN: _vl}), + (lambda: schemas.OUTPOST_LAG_ID, {_aQN: _OLI, _sN: _oLI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (SERVICE_LINK_VIRTUAL_INTERFACE_CONFIGURATION_STATE, {_aQN: _CSon, _sN: _cSo}), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_34.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_34.py new file mode 100644 index 000000000..bbed5a97f --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_34.py @@ -0,0 +1,1581 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_Ta = "Tag" +_TS = "TagSpecification" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_d = "disabled" +_smit = "smithy.api#output" +_St = "State" +_st = "state" +_fa = "failed" +_SIu = "SubnetId" +_sI = "subnetId" +_OIw = "OwnerId" +_oI = "ownerId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_er = "error" +_dRr = "dryRun" +_act = "active" +_Ar = "Arn" +_ar = "arn" +_N = "Name" +_nam = "name" +_Pr = "Priority" +_pri = "priority" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SGI = "SecurityGroupId" +_SGe = "SecurityGroups" +_ena = "enabled" +_IT = "InstanceType" +_iT = "instanceType" +_SIRI = "SpotInstanceRequestId" +_sIRI = "spotInstanceRequestId" +_AIS = "ActiveInstanceSet" +_ASc = "ActivityStatus" +_ERROR = "ERROR" +_Des = "Description" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_def = "default" +_OA = "OutpostArn" +_CTl = "ClientToken" +_cTl = "clientToken" +_ASll = "AllocationStrategy" +_LP = "LOWEST_PRICE" +_lP = "lowestPrice" +_IPC = "Ipv6PrefixCount" +_IPp = "Ipv6Prefixes" +_IPpv = "Ipv6Prefix" +_IAp = "Ipv6Addresses" +_IAC = "Ipv6AddressCount" +_iAC = "ipv6AddressCount" +_IPpvr = "Ipv4Prefixes" +_IPpvre = "Ipv4Prefix" +_IPCp = "Ipv4PrefixCount" +_PIAri = "PrivateIpAddresses" +_SPIAC = "SecondaryPrivateIpAddressCount" +_sPIAC = "secondaryPrivateIpAddressCount" +_IIP = "IamInstanceProfile" +_iIP = "iamInstanceProfile" +_Ti = "Timestamp" +_ti = "timestamp" +_G = "Groups" +_IIm = "ImageId" +_ESS = "EnaSrdSpecification" +_NCI = "NetworkCardIndex" +_EQC = "EnaQueueCount" +_DI = "DeviceIndex" +_dI = "deviceIndex" +_VIo = "VolumeId" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_vIo = "volumeId" +_UIs = "UserId" +_uI = "userId" +_GN = "GroupName" +_gN = "groupName" +_SMta = "StateMessage" +_ST = "StartTime" +_sTt = "startTime" +_UT = "UpdateTime" +_uT = "updateTime" +_Prog = "Progress" +_prog = "progress" +_can = "cancelled" +_cl = "closed" +_SFRI = "SpotFleetRequestId" +_SFRIp = "SpotFleetRequestIds" +_sFRI = "spotFleetRequestId" +_SIRIp = "SpotInstanceRequestIds" +_op = "open" +_SIRS = "SpotInstanceRequestSet" +_sIRS = "spotInstanceRequestSet" +_KKI = "KmsKeyId" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_iIm = "imageId" +_CDM = "CompletionDurationMinutes" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_oA = "outpostArn" +_STs = "SseType" +_sTs = "sseType" +_CTr = "CreateTime" +_cTr = "createTime" +_LUNIX = "Linux/UNIX" +_W = "Windows" +_Ten = "Tenancy" +_EO = "EbsOptimized" +_DEFAULT = "DEFAULT" +_ten = "tenancy" +_eO = "ebsOptimized" +_IRn = "InstanceRequirements" +_FCu = "FulfilledCapacity" +_fC = "fulfilledCapacity" +_aSl = "allocationStrategy" +_Ty = "Type" +_Ena = "Enabled" +_ty = "type" +_NT = "NO_TERMINATION" +_VSol = "VolumeSize" +_BDM = "BlockDeviceMapping" +_Pl = "Placement" +_WC = "WeightedCapacity" +_KN = "KeyName" +_BDMl = "BlockDeviceMappings" +_LTS = "LaunchTemplateSpecification" +_Ov = "Overrides" +_PRIORITIZED = "PRIORITIZED" +_prio = "prioritized" +_LAUNCH = "LAUNCH" +_laun = "launch" +_LBT_ = "LAUNCH_BEFORE_TERMINATE" +_lbt = "launch-before-terminate" +_RSep = "ReplacementStrategy" +_TD = "TerminationDelay" +_CRapa = "CapacityRebalance" +_IIB = "InstanceInterruptionBehavior" +_IPTUC = "InstancePoolsToUseCount" +_TCUT = "TargetCapacityUnitType" +_ODTC = "OnDemandTargetCapacity" +_ECTP = "ExcessCapacityTerminationPolicy" +_LTC = "LaunchTemplateConfigs" +_TIWE = "TerminateInstancesWithExpiration" +_VF = "ValidFrom" +_VU = "ValidUntil" +_RUI = "ReplaceUnhealthyInstances" +_Con = "Context" +_vSo = "volumeSize" +_wC = "weightedCapacity" +_pla = "placement" +_iRn = "instanceRequirements" +_lTS = "launchTemplateSpecification" +_ov = "overrides" +_bDM = "blockDeviceMapping" +_kN = "keyName" +_BDMlo = "BlockDurationMinutes" +_KI = "KernelId" +_ACIA = "AssociateCarrierIpAddress" +_APIAsso = "AssociatePublicIpAddress" +_ITnte = "InterfaceType" +_PIrim = "PrimaryIpv6" +_CTSo = "ConnectionTrackingSpecification" +_INIS = "InstanceNetworkInterfaceSpecification" +_RIa = "RamdiskId" +_NIe = "NetworkInterfaces" +_Mon = "Monitoring" +_UDs = "UserData" +_bDMl = "blockDurationMinutes" +_vU = "validUntil" +_iIB = "instanceInterruptionBehavior" +_aPIA = "associatePublicIpAddress" +_GS = "GroupSet" +_gS = "groupSet" +_iAS = "ipv6AddressesSet" +_pIAS = "privateIpAddressesSet" +_kI = "kernelId" +_NIS = "NetworkInterfaceSet" +_nIS = "networkInterfaceSet" +_monit = "monitoring" +_uDs = "userData" +_TSS = "TagSpecificationSet" +_tSS = "tagSpecificationSet" +_STt = "StorageTier" +_TTra = "TransferType" +_OAw = "OwnerAlias" +_oAw = "ownerAlias" +_sTto = "storageTier" +_RET = "RestoreExpiryTime" +_rET = "restoreExpiryTime" +_tTr = "transferType" +_cDM = "completionDurationMinutes" +_CTomp = "CompletionTime" +_cTomp = "completionTime" +_FSSIB = "FullSnapshotSizeInBytes" +_fSSIB = "fullSnapshotSizeInBytes" +_DEKI = "DataEncryptionKeyId" +_dEKI = "dataEncryptionKeyId" +_SSna = "SnapshotSet" +_Sn = "Snapshots" +_sSn = "snapshotSet" +_SISF = "SpotInstanceStateFault" +_SDS = "SpotDatafeedSubscription" +_Fa = "Fault" +_fau = "fault" +_sDS = "spotDatafeedSubscription" +_Ow = "Owner" +_tag = "tag" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_Attr = "Attribute" +_MR = "MaxResults" +_nT = "nextToken" +_infor = "information" +_mR = "maxResults" +_ETnd = "EndTime" +_eTnd = "endTime" +_IC__ = "INSTANCE_CHANGE" +_ETv = "EventType" +_EIv = "EventInformation" +_eIv = "eventInformation" +_eTv = "eventType" +_HRS = "HistoryRecordSet" +_HRi = "HistoryRecords" +_hRS = "historyRecordSet" +_LET = "LastEvaluatedTime" +_lET = "lastEvaluatedTime" +_AIct = "ActiveInstances" +_aIS = "activeInstanceSet" +_rSepl = "replacementStrategy" +_tDe = "terminationDelay" +_cRap = "capacityRebalance" +_iPTUC = "instancePoolsToUseCount" +_oDTC = "onDemandTargetCapacity" +_tCUT = "targetCapacityUnitType" +_aSc = "activityStatus" +_eCTP = "excessCapacityTerminationPolicy" +_lTC = "launchTemplateConfigs" +_tIWE = "terminateInstancesWithExpiration" +_vF = "validFrom" +_rUI = "replaceUnhealthyInstances" +_cont = "context" +_pCr = "productCodes" +_Gr = "Group" +_gro = "group" +_PCro = "ProductCodes" +_ITnsta = "InstanceTypes" +_rIa = "ramdiskId" +_SInap = "SnapshotIds" +_RIPD = "RIProductDescription" +_LU___ = "Linux_UNIX" +_LUAV = "Linux_UNIX_Amazon_VPC_" +_LV = "Linux/UNIX (Amazon VPC)" +_WAV = "Windows_Amazon_VPC_" +_WV = "Windows (Amazon VPC)" +_PDr = "ProductDescription" +_pDr = "productDescription" +_SLVIS = "ServiceLinkVirtualInterfaceSet" +_cVP = "createVolumePermission" +_DSAI = "DescribeSnapshotAttributeInput" +_cDSAR = "com.amazonaws.ec2#DescribeSnapshotAttributeRequest" +_CVP = "CreateVolumePermission" +_CVPL = "CreateVolumePermissionList" +_DSAO = "DescribeSnapshotAttributeOutput" +_cDSARo = "com.amazonaws.ec2#DescribeSnapshotAttributeResult" +_CVPr = "CreateVolumePermissions" +_DSAe = "DescribeSnapshotAttribute" +_RBSL = "RestorableByStringList" +_DSIescr = "DescribeSnapshotsInput" +_cDSRom = "com.amazonaws.ec2#DescribeSnapshotsRequest" +_OIwn = "OwnerIds" +_RBUI = "RestorableByUserIds" +_RBe = "RestorableBy" +_Sna = "Snapshot" +_SLna = "SnapshotList" +_DSOes = "DescribeSnapshotsOutput" +_cDSRoma = "com.amazonaws.ec2#DescribeSnapshotsResult" +_DSes = "DescribeSnapshots" +_DSTSMR = "DescribeSnapshotTierStatusMaxResults" +_DSTSI = "DescribeSnapshotTierStatusInput" +_cDSTSR = "com.amazonaws.ec2#DescribeSnapshotTierStatusRequest" +_TOSi = "TieringOperationStatus" +_aip_ = "archival_in_progress" +_aip__ = "archival-in-progress" +_ac__ = "archival_completed" +_ac___ = "archival-completed" +_af____ = "archival_failed" +_af_____ = "archival-failed" +_trip = "temporary_restore_in_progress" +_trip_ = "temporary-restore-in-progress" +_trc = "temporary_restore_completed" +_trc_ = "temporary-restore-completed" +_trf = "temporary_restore_failed" +_trf_ = "temporary-restore-failed" +_prip = "permanent_restore_in_progress" +_prip_ = "permanent-restore-in-progress" +_prc = "permanent_restore_completed" +_prc_ = "permanent-restore-completed" +_prf = "permanent_restore_failed" +_prf_ = "permanent-restore-failed" +_STSn = "SnapshotTierStatus" +_LTST = "LastTieringStartTime" +_lTST = "lastTieringStartTime" +_LTPa = "LastTieringProgress" +_lTP = "lastTieringProgress" +_LTOS = "LastTieringOperationStatus" +_lTOS = "lastTieringOperationStatus" +_LTOSD = "LastTieringOperationStatusDetail" +_lTOSD = "lastTieringOperationStatusDetail" +_ACT = "ArchivalCompleteTime" +_aCT = "archivalCompleteTime" +_sTSS = "snapshotTierStatusSet" +_DSTSO = "DescribeSnapshotTierStatusOutput" +_cDSTSRo = "com.amazonaws.ec2#DescribeSnapshotTierStatusResult" +_STSna = "SnapshotTierStatuses" +_STSS = "SnapshotTierStatusSet" +_DSTS = "DescribeSnapshotTierStatus" +_DSDSIe = "DescribeSpotDatafeedSubscriptionInput" +_cDSDSRo = "com.amazonaws.ec2#DescribeSpotDatafeedSubscriptionRequest" +_DSDSOe = "DescribeSpotDatafeedSubscriptionOutput" +_cDSDSRom = "com.amazonaws.ec2#DescribeSpotDatafeedSubscriptionResult" +_DSDSe = "DescribeSpotDatafeedSubscription" +_DSFIMR = "DescribeSpotFleetInstancesMaxResults" +_DSFII = "DescribeSpotFleetInstancesInput" +_cDSFIR = "com.amazonaws.ec2#DescribeSpotFleetInstancesRequest" +_DSFIO = "DescribeSpotFleetInstancesOutput" +_cDSFIRo = "com.amazonaws.ec2#DescribeSpotFleetInstancesResponse" +_DSFI = "DescribeSpotFleetInstances" +_iCns = "instanceChange" +_BC_ = "BATCH_CHANGE" +_fRC = "fleetRequestChange" +_INFORMATION = "INFORMATION" +_DSFRHMR = "DescribeSpotFleetRequestHistoryMaxResults" +_DSFRHI = "DescribeSpotFleetRequestHistoryInput" +_cDSFRHR = "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryRequest" +_HRis = "HistoryRecord" +_DSFRHO = "DescribeSpotFleetRequestHistoryOutput" +_cDSFRHRo = "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryResponse" +_DSFRH = "DescribeSpotFleetRequestHistory" +_DSFRI = "DescribeSpotFleetRequestsInput" +_cDSFRR = "com.amazonaws.ec2#DescribeSpotFleetRequestsRequest" +_nTo = "noTermination" +_SFM = "SpotFleetMonitoring" +_INISL = "InstanceNetworkInterfaceSpecificationList" +_SPp = "SpotPlacement" +_SFTS = "SpotFleetTagSpecification" +_SFTSL = "SpotFleetTagSpecificationList" +_SFLS = "SpotFleetLaunchSpecification" +_ATddr = "AddressingType" +_aTdd = "addressingType" +_SPpo = "SpotPrice" +_sPp = "spotPrice" +_LSLa = "LaunchSpecsList" +_LTO = "LaunchTemplateOverrides" +_LTOL = "LaunchTemplateOverridesList" +_LTCa = "LaunchTemplateConfig" +_LTCL = "LaunchTemplateConfigList" +_CLB = "ClassicLoadBalancer" +_CLBl = "ClassicLoadBalancers" +_CLBC = "ClassicLoadBalancersConfig" +_cLB = "classicLoadBalancers" +_TGa = "TargetGroup" +_TGar = "TargetGroups" +_TGCa = "TargetGroupsConfig" +_tGa = "targetGroups" +_LBC = "LoadBalancersConfig" +_cLBC = "classicLoadBalancersConfig" +_tGCa = "targetGroupsConfig" +_ODAS = "OnDemandAllocationStrategy" +_SCRp = "SpotCapacityRebalance" +_SMS = "SpotMaintenanceStrategies" +_SFRCD = "SpotFleetRequestConfigData" +_oDAS = "onDemandAllocationStrategy" +_sMS = "spotMaintenanceStrategies" +_ODFC = "OnDemandFulfilledCapacity" +_oDFC = "onDemandFulfilledCapacity" +_IFRa = "IamFleetRole" +_iFR = "iamFleetRole" +_LSau = "LaunchSpecifications" +_lSa = "launchSpecifications" +_TCar = "TargetCapacity" +_tCar = "targetCapacity" +_ODMTP = "OnDemandMaxTotalPrice" +_oDMTP = "onDemandMaxTotalPrice" +_SMTP = "SpotMaxTotalPrice" +_sMTP = "spotMaxTotalPrice" +_lBC = "loadBalancersConfig" +_SFRC = "SpotFleetRequestConfig" +_sFRC = "spotFleetRequestConfig" +_SFRSp = "SpotFleetRequestState" +_sFRSp = "spotFleetRequestState" +_SFRCS = "SpotFleetRequestConfigSet" +_DSFRO = "DescribeSpotFleetRequestsOutput" +_cDSFRRo = "com.amazonaws.ec2#DescribeSpotFleetRequestsResponse" +_SFRCp = "SpotFleetRequestConfigs" +_sFRCS = "spotFleetRequestConfigSet" +_DSFR = "DescribeSpotFleetRequests" +_DSIRI = "DescribeSpotInstanceRequestsInput" +_cDSIRR = "com.amazonaws.ec2#DescribeSpotInstanceRequestsRequest" +_RIME = "RunInstancesMonitoringEnabled" +_LSaun = "LaunchSpecification" +_SISp = "SpotInstanceState" +_SISpo = "SpotInstanceStatus" +_SIRp = "SpotInstanceRequest" +_ABHP = "ActualBlockHourlyPrice" +_aBHP = "actualBlockHourlyPrice" +_AZGv = "AvailabilityZoneGroup" +_aZG = "availabilityZoneGroup" +_LGa = "LaunchGroup" +_lG = "launchGroup" +_lSau = "launchSpecification" +_LAZ = "LaunchedAvailabilityZone" +_lAZ = "launchedAvailabilityZone" +_LAZI = "LaunchedAvailabilityZoneId" +_lAZI = "launchedAvailabilityZoneId" +_SIRL = "SpotInstanceRequestList" +_DSIRO = "DescribeSpotInstanceRequestsOutput" +_cDSIRRo = "com.amazonaws.ec2#DescribeSpotInstanceRequestsResult" +_SIRpo = "SpotInstanceRequests" +_DSIR = "DescribeSpotInstanceRequests" +_ITLn = "InstanceTypeList" +_PDLr = "ProductDescriptionList" +_DSPHI = "DescribeSpotPriceHistoryInput" +_cDSPHR = "com.amazonaws.ec2#DescribeSpotPriceHistoryRequest" +_PDro = "ProductDescriptions" +_DSPHO = "DescribeSpotPriceHistoryOutput" +_cDSPHRo = "com.amazonaws.ec2#DescribeSpotPriceHistoryResult" +_SPH = "SpotPriceHistory" +_SPHS = "SpotPriceHistorySet" +_sPHS = "spotPriceHistorySet" +_DSPH = "DescribeSpotPriceHistory" + +SPOT_FLEET_REQUEST_ID: StaticSchema = (3, n0, _SFRI, 0) + +SPOT_INSTANCE_STATE_FAULT: StaticSchema = ( + 18, + n0, + _SISF, + 0, + (_C, _Me), + ( + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +RI_PRODUCT_DESCRIPTION: StaticSchema = ( + 14, + n0, + _RIPD, + 0, + (_LU___, _LUAV, _W, _WAV), + ((-1, {_sV: _LUNIX}), (-1, {_sV: _LV}), (-1, {_sV: _W}), (-1, {_sV: _WV})), +) + +SERVICE_LINK_VIRTUAL_INTERFACE_SET: StaticSchema = ( + 16, + n0, + _SLVIS, + 0, + (_me,), + ((lambda: schemas.SERVICE_LINK_VIRTUAL_INTERFACE, {_sN: _i}),), +) + +DESCRIBE_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _DSAI, + {_sSI: _cDSAR, _sm: None}, + (_Attr, _SIn, _DR), + ( + (lambda: schemas.SNAPSHOT_ATTRIBUTE_NAME, 1), + (lambda: schemas.SNAPSHOT_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DESCRIBE_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DSAO, + {_sSI: _cDSARo, _smit: None}, + (_PCro, _SIn, _CVPr), + ( + (lambda: schemas.PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: CREATE_VOLUME_PERMISSION_LIST, {_aQN: _CVP, _sN: _cVP}), + ), +) + +DESCRIBE_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _DSAe, + 0, + DESCRIBE_SNAPSHOT_ATTRIBUTE_INPUT, + DESCRIBE_SNAPSHOT_ATTRIBUTE_OUTPUT, + (), +) + +CREATE_VOLUME_PERMISSION: StaticSchema = ( + 18, + n0, + _CVP, + 0, + (_UIs, _Gr), + ( + (lambda: schemas.STRING, {_aQN: _UIs, _sN: _uI}), + (lambda: schemas.PERMISSION_GROUP, {_aQN: _Gr, _sN: _gro}), + ), +) + +CREATE_VOLUME_PERMISSION_LIST: StaticSchema = ( + 16, + n0, + _CVPL, + 0, + (_me,), + ((CREATE_VOLUME_PERMISSION, {_sN: _i}),), +) + +RESTORABLE_BY_STRING_LIST: StaticSchema = ( + 16, + n0, + _RBSL, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +DESCRIBE_SNAPSHOTS_INPUT: StaticSchema = ( + 18, + n0, + _DSIescr, + {_sSI: _cDSRom, _sm: None}, + (_MR, _NTex, _OIwn, _RBUI, _SInap, _DR, _Fil), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.OWNER_STRING_LIST, {_sN: _Ow}), + (RESTORABLE_BY_STRING_LIST, {_sN: _RBe}), + (lambda: schemas.SNAPSHOT_ID_STRING_LIST, {_sN: _SIn}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_SNAPSHOTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSOes, + {_sSI: _cDSRoma, _smit: None}, + (_NTex, _Sn), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: SNAPSHOT_LIST, {_aQN: _SSna, _sN: _sSn}), + ), +) + +DESCRIBE_SNAPSHOTS: StaticOperationSchema = ( + 23, + n0, + _DSes, + 0, + DESCRIBE_SNAPSHOTS_INPUT, + DESCRIBE_SNAPSHOTS_OUTPUT, + (), +) + +SNAPSHOT: StaticSchema = ( + 18, + n0, + _Sna, + 0, + ( + _OAw, + _OA, + _Tag, + _STt, + _RET, + _STs, + _AZ, + _TTra, + _CDM, + _CTomp, + _FSSIB, + _SIn, + _VIo, + _St, + _SMta, + _ST, + _Prog, + _OIw, + _Des, + _VSol, + _En, + _KKI, + _DEKI, + ), + ( + (lambda: schemas.STRING, {_aQN: _OAw, _sN: _oAw}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STORAGE_TIER, {_aQN: _STt, _sN: _sTto}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RET, _sN: _rET}), + (lambda: schemas.SSE_TYPE, {_aQN: _STs, _sN: _sTs}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.TRANSFER_TYPE, {_aQN: _TTra, _sN: _tTr}), + ( + lambda: schemas.SNAPSHOT_COMPLETION_DURATION_MINUTES_RESPONSE, + {_aQN: _CDM, _sN: _cDM}, + ), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTomp, _sN: _cTomp}), + (lambda: schemas.LONG, {_aQN: _FSSIB, _sN: _fSSIB}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.SNAPSHOT_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.INTEGER, {_aQN: _VSol, _sN: _vSo}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}), + (lambda: schemas.STRING, {_aQN: _DEKI, _sN: _dEKI}), + ), +) + +SNAPSHOT_LIST: StaticSchema = (16, n0, _SLna, 0, (_me,), ((SNAPSHOT, {_sN: _i}),)) + +DESCRIBE_SNAPSHOT_TIER_STATUS_MAX_RESULTS: StaticSchema = (7, n0, _DSTSMR, 0) + +DESCRIBE_SNAPSHOT_TIER_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _DSTSI, + {_sSI: _cDSTSR, _sm: None}, + (_Fil, _DR, _NTex, _MR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (DESCRIBE_SNAPSHOT_TIER_STATUS_MAX_RESULTS, 0), + ), +) + +DESCRIBE_SNAPSHOT_TIER_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSTSO, + {_sSI: _cDSTSRo, _smit: None}, + (_STSna, _NTex), + ( + (lambda: SNAPSHOT_TIER_STATUS_SET, {_aQN: _STSS, _sN: _sTSS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_SNAPSHOT_TIER_STATUS: StaticOperationSchema = ( + 23, + n0, + _DSTS, + 0, + DESCRIBE_SNAPSHOT_TIER_STATUS_INPUT, + DESCRIBE_SNAPSHOT_TIER_STATUS_OUTPUT, + (), +) + +TIERING_OPERATION_STATUS: StaticSchema = ( + 14, + n0, + _TOSi, + 0, + (_aip_, _ac__, _af____, _trip, _trc, _trf, _prip, _prc, _prf), + ( + (-1, {_sV: _aip__}), + (-1, {_sV: _ac___}), + (-1, {_sV: _af_____}), + (-1, {_sV: _trip_}), + (-1, {_sV: _trc_}), + (-1, {_sV: _trf_}), + (-1, {_sV: _prip_}), + (-1, {_sV: _prc_}), + (-1, {_sV: _prf_}), + ), +) + +SNAPSHOT_TIER_STATUS: StaticSchema = ( + 18, + n0, + _STSn, + 0, + (_SIn, _VIo, _Sta, _OIw, _Tag, _STt, _LTST, _LTPa, _LTOS, _LTOSD, _ACT, _RET), + ( + (lambda: schemas.SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.VOLUME_ID, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.SNAPSHOT_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STORAGE_TIER, {_aQN: _STt, _sN: _sTto}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LTST, _sN: _lTST}), + (lambda: schemas.INTEGER, {_aQN: _LTPa, _sN: _lTP}), + (TIERING_OPERATION_STATUS, {_aQN: _LTOS, _sN: _lTOS}), + (lambda: schemas.STRING, {_aQN: _LTOSD, _sN: _lTOSD}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ACT, _sN: _aCT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RET, _sN: _rET}), + ), +) + +SNAPSHOT_TIER_STATUS_SET: StaticSchema = ( + 16, + n0, + _sTSS, + 0, + (_me,), + ((SNAPSHOT_TIER_STATUS, {_sN: _i}),), +) + +DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _DSDSIe, + {_sSI: _cDSDSRo, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}),), +) + +DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DSDSOe, + {_sSI: _cDSDSRom, _smit: None}, + (_SDS,), + ((lambda: schemas.SPOT_DATAFEED_SUBSCRIPTION, {_aQN: _SDS, _sN: _sDS}),), +) + +DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _DSDSe, + 0, + DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_INPUT, + DESCRIBE_SPOT_DATAFEED_SUBSCRIPTION_OUTPUT, + (), +) + +DESCRIBE_SPOT_FLEET_INSTANCES_MAX_RESULTS: StaticSchema = (7, n0, _DSFIMR, 0) + +DESCRIBE_SPOT_FLEET_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DSFII, + {_sSI: _cDSFIR, _sm: None}, + (_DR, _SFRI, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (SPOT_FLEET_REQUEST_ID, {_aQN: _SFRI, _sN: _sFRI, _smi: None}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (DESCRIBE_SPOT_FLEET_INSTANCES_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), + ), +) + +DESCRIBE_SPOT_FLEET_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DSFIO, + {_sSI: _cDSFIRo, _smit: None}, + (_AIct, _NTex, _SFRI), + ( + (lambda: schemas.ACTIVE_INSTANCE_SET, {_aQN: _AIS, _sN: _aIS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.STRING, {_aQN: _SFRI, _sN: _sFRI}), + ), +) + +DESCRIBE_SPOT_FLEET_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DSFI, + 0, + DESCRIBE_SPOT_FLEET_INSTANCES_INPUT, + DESCRIBE_SPOT_FLEET_INSTANCES_OUTPUT, + (), +) + +EVENT_TYPE: StaticSchema = ( + 14, + n0, + _ETv, + 0, + (_IC__, _BC_, _ERROR, _INFORMATION), + ((-1, {_sV: _iCns}), (-1, {_sV: _fRC}), (-1, {_sV: _er}), (-1, {_sV: _infor})), +) + +DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_MAX_RESULTS: StaticSchema = (7, n0, _DSFRHMR, 0) + +DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_INPUT: StaticSchema = ( + 18, + n0, + _DSFRHI, + {_sSI: _cDSFRHR, _sm: None}, + (_DR, _SFRI, _ETv, _ST, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (SPOT_FLEET_REQUEST_ID, {_aQN: _SFRI, _sN: _sFRI, _smi: None}), + (EVENT_TYPE, {_aQN: _ETv, _sN: _eTv}), + (lambda: schemas.DATE_TIME, {_aQN: _ST, _sN: _sTt, _smi: None}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), + ), +) + +DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_OUTPUT: StaticSchema = ( + 18, + n0, + _DSFRHO, + {_sSI: _cDSFRHRo, _smit: None}, + (_HRi, _LET, _NTex, _SFRI, _ST), + ( + (lambda: HISTORY_RECORDS, {_aQN: _HRS, _sN: _hRS}), + (lambda: schemas.DATE_TIME, {_aQN: _LET, _sN: _lET}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.STRING, {_aQN: _SFRI, _sN: _sFRI}), + (lambda: schemas.DATE_TIME, {_aQN: _ST, _sN: _sTt}), + ), +) + +DESCRIBE_SPOT_FLEET_REQUEST_HISTORY: StaticOperationSchema = ( + 23, + n0, + _DSFRH, + 0, + DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_INPUT, + DESCRIBE_SPOT_FLEET_REQUEST_HISTORY_OUTPUT, + (), +) + +HISTORY_RECORD: StaticSchema = ( + 18, + n0, + _HRis, + 0, + (_EIv, _ETv, _Ti), + ( + (lambda: schemas.EVENT_INFORMATION, {_aQN: _EIv, _sN: _eIv}), + (EVENT_TYPE, {_aQN: _ETv, _sN: _eTv}), + (lambda: schemas.DATE_TIME, {_aQN: _Ti, _sN: _ti}), + ), +) + +HISTORY_RECORDS: StaticSchema = ( + 16, + n0, + _HRi, + 0, + (_me,), + ((HISTORY_RECORD, {_sN: _i}),), +) + +DESCRIBE_SPOT_FLEET_REQUESTS_INPUT: StaticSchema = ( + 18, + n0, + _DSFRI, + {_sSI: _cDSFRR, _sm: None}, + (_DR, _SFRIp, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.SPOT_FLEET_REQUEST_ID_LIST, {_aQN: _SFRI, _sN: _sFRI}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.INTEGER, {_aQN: _MR, _sN: _mR}), + ), +) + +DESCRIBE_SPOT_FLEET_REQUESTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSFRO, + {_sSI: _cDSFRRo, _smit: None}, + (_NTex, _SFRCp), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: SPOT_FLEET_REQUEST_CONFIG_SET, {_aQN: _SFRCS, _sN: _sFRCS}), + ), +) + +DESCRIBE_SPOT_FLEET_REQUESTS: StaticOperationSchema = ( + 23, + n0, + _DSFR, + 0, + DESCRIBE_SPOT_FLEET_REQUESTS_INPUT, + DESCRIBE_SPOT_FLEET_REQUESTS_OUTPUT, + (), +) + +EXCESS_CAPACITY_TERMINATION_POLICY: StaticSchema = ( + 14, + n0, + _ECTP, + 0, + (_NT, _DEFAULT), + ((-1, {_sV: _nTo}), (-1, {_sV: _def})), +) + +SPOT_FLEET_MONITORING: StaticSchema = ( + 18, + n0, + _SFM, + 0, + (_Ena,), + ((lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena}),), +) + +INSTANCE_NETWORK_INTERFACE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _INIS, + 0, + ( + _APIAsso, + _DOT, + _Des, + _DI, + _G, + _IAC, + _IAp, + _NII, + _PIAr, + _PIAri, + _SPIAC, + _SIu, + _ACIA, + _ITnte, + _NCI, + _IPpvr, + _IPCp, + _IPp, + _IPC, + _PIrim, + _ESS, + _CTSo, + _EQC, + ), + ( + (lambda: schemas.BOOLEAN, {_aQN: _APIAsso, _sN: _aPIA}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.INTEGER, {_aQN: _DI, _sN: _dI}), + (lambda: schemas.SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), + (lambda: schemas.INTEGER, {_aQN: _IAC, _sN: _iAC}), + (lambda: schemas.INSTANCE_IPV6_ADDRESS_LIST, {_aQN: _IAp, _sN: _iAS}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + ( + lambda: schemas.PRIVATE_IP_ADDRESS_SPECIFICATION_LIST, + {_aQN: _PIAri, _sN: _pIAS}, + ), + (lambda: schemas.INTEGER, {_aQN: _SPIAC, _sN: _sPIAC}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.IPV4_PREFIX_LIST, {_sN: _IPpvre}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.IPV6_PREFIX_LIST, {_sN: _IPpv}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ENA_SRD_SPECIFICATION_REQUEST, 0), + (lambda: schemas.CONNECTION_TRACKING_SPECIFICATION_REQUEST, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _INISL, + 0, + (_me,), + ((INSTANCE_NETWORK_INTERFACE_SPECIFICATION, {_sN: _i}),), +) + +SPOT_PLACEMENT: StaticSchema = ( + 18, + n0, + _SPp, + 0, + (_AZ, _GN, _Ten, _AZI), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.PLACEMENT_GROUP_NAME, {_aQN: _GN, _sN: _gN}), + (lambda: schemas.TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + ), +) + +SPOT_FLEET_TAG_SPECIFICATION: StaticSchema = ( + 18, + n0, + _SFTS, + 0, + (_RT, _Tag), + ( + (lambda: schemas.RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.TAG_LIST, {_aQN: _Ta, _sN: _tag}), + ), +) + +SPOT_FLEET_TAG_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _SFTSL, + 0, + (_me,), + ((SPOT_FLEET_TAG_SPECIFICATION, {_sN: _i}),), +) + +SPOT_FLEET_LAUNCH_SPECIFICATION: StaticSchema = ( + 18, + n0, + _SFLS, + 0, + ( + _ATddr, + _BDMl, + _EO, + _IIP, + _IIm, + _IT, + _KI, + _KN, + _Mon, + _NIe, + _Pl, + _RIa, + _SPpo, + _SIu, + _UDs, + _WC, + _TSa, + _IRn, + _SGe, + ), + ( + (lambda: schemas.STRING, {_aQN: _ATddr, _sN: _aTdd}), + (lambda: schemas.BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), + (lambda: schemas.BOOLEAN, {_aQN: _EO, _sN: _eO}), + (lambda: schemas.IAM_INSTANCE_PROFILE_SPECIFICATION, {_aQN: _IIP, _sN: _iIP}), + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _KI, _sN: _kI}), + (lambda: schemas.KEY_PAIR_NAME, {_aQN: _KN, _sN: _kN}), + (SPOT_FLEET_MONITORING, {_aQN: _Mon, _sN: _monit}), + (INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST, {_aQN: _NIS, _sN: _nIS}), + (SPOT_PLACEMENT, {_aQN: _Pl, _sN: _pla}), + (lambda: schemas.STRING, {_aQN: _RIa, _sN: _rIa}), + (lambda: schemas.STRING, {_aQN: _SPpo, _sN: _sPp}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.SENSITIVE_USER_DATA, {_aQN: _UDs, _sN: _uDs}), + (lambda: schemas.DOUBLE, {_aQN: _WC, _sN: _wC}), + (SPOT_FLEET_TAG_SPECIFICATION_LIST, {_aQN: _TSS, _sN: _tSS}), + (lambda: schemas.INSTANCE_REQUIREMENTS, {_aQN: _IRn, _sN: _iRn}), + (lambda: schemas.GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + ), +) + +LAUNCH_SPECS_LIST: StaticSchema = ( + 16, + n0, + _LSLa, + 0, + (_me,), + ((SPOT_FLEET_LAUNCH_SPECIFICATION, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_OVERRIDES: StaticSchema = ( + 18, + n0, + _LTO, + 0, + (_IT, _SPpo, _SIu, _AZ, _WC, _Pr, _IRn, _AZI), + ( + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _SPpo, _sN: _sPp}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.DOUBLE, {_aQN: _WC, _sN: _wC}), + (lambda: schemas.DOUBLE, {_aQN: _Pr, _sN: _pri}), + (lambda: schemas.INSTANCE_REQUIREMENTS, {_aQN: _IRn, _sN: _iRn}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + ), +) + +LAUNCH_TEMPLATE_OVERRIDES_LIST: StaticSchema = ( + 16, + n0, + _LTOL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_OVERRIDES, {_sN: _i}),), +) + +LAUNCH_TEMPLATE_CONFIG: StaticSchema = ( + 18, + n0, + _LTCa, + 0, + (_LTS, _Ov), + ( + (lambda: schemas.FLEET_LAUNCH_TEMPLATE_SPECIFICATION, {_aQN: _LTS, _sN: _lTS}), + (LAUNCH_TEMPLATE_OVERRIDES_LIST, {_aQN: _Ov, _sN: _ov}), + ), +) + +LAUNCH_TEMPLATE_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _LTCL, + 0, + (_me,), + ((LAUNCH_TEMPLATE_CONFIG, {_sN: _i}),), +) + +CLASSIC_LOAD_BALANCER: StaticSchema = ( + 18, + n0, + _CLB, + 0, + (_N,), + ((lambda: schemas.STRING, {_aQN: _N, _sN: _nam}),), +) + +CLASSIC_LOAD_BALANCERS: StaticSchema = ( + 16, + n0, + _CLBl, + 0, + (_me,), + ((CLASSIC_LOAD_BALANCER, {_sN: _i}),), +) + +CLASSIC_LOAD_BALANCERS_CONFIG: StaticSchema = ( + 18, + n0, + _CLBC, + 0, + (_CLBl,), + ((CLASSIC_LOAD_BALANCERS, {_aQN: _CLBl, _sN: _cLB}),), +) + +TARGET_GROUP: StaticSchema = ( + 18, + n0, + _TGa, + 0, + (_Ar,), + ((lambda: schemas.STRING, {_aQN: _Ar, _sN: _ar}),), +) + +TARGET_GROUPS: StaticSchema = (16, n0, _TGar, 0, (_me,), ((TARGET_GROUP, {_sN: _i}),)) + +TARGET_GROUPS_CONFIG: StaticSchema = ( + 18, + n0, + _TGCa, + 0, + (_TGar,), + ((TARGET_GROUPS, {_aQN: _TGar, _sN: _tGa}),), +) + +LOAD_BALANCERS_CONFIG: StaticSchema = ( + 18, + n0, + _LBC, + 0, + (_CLBC, _TGCa), + ( + (CLASSIC_LOAD_BALANCERS_CONFIG, {_aQN: _CLBC, _sN: _cLBC}), + (TARGET_GROUPS_CONFIG, {_aQN: _TGCa, _sN: _tGCa}), + ), +) + +ON_DEMAND_ALLOCATION_STRATEGY: StaticSchema = ( + 14, + n0, + _ODAS, + 0, + (_LP, _PRIORITIZED), + ((-1, {_sV: _lP}), (-1, {_sV: _prio})), +) + +REPLACEMENT_STRATEGY: StaticSchema = ( + 14, + n0, + _RSep, + 0, + (_LAUNCH, _LBT_), + ((-1, {_sV: _laun}), (-1, {_sV: _lbt})), +) + +SPOT_CAPACITY_REBALANCE: StaticSchema = ( + 18, + n0, + _SCRp, + 0, + (_RSep, _TD), + ( + (REPLACEMENT_STRATEGY, {_aQN: _RSep, _sN: _rSepl}), + (lambda: schemas.INTEGER, {_aQN: _TD, _sN: _tDe}), + ), +) + +SPOT_MAINTENANCE_STRATEGIES: StaticSchema = ( + 18, + n0, + _SMS, + 0, + (_CRapa,), + ((SPOT_CAPACITY_REBALANCE, {_aQN: _CRapa, _sN: _cRap}),), +) + +SPOT_FLEET_REQUEST_CONFIG_DATA: StaticSchema = ( + 18, + n0, + _SFRCD, + 0, + ( + _ASll, + _ODAS, + _SMS, + _CTl, + _ECTP, + _FCu, + _ODFC, + _IFRa, + _LSau, + _LTC, + _SPpo, + _TCar, + _ODTC, + _ODMTP, + _SMTP, + _TIWE, + _Ty, + _VF, + _VU, + _RUI, + _IIB, + _LBC, + _IPTUC, + _Con, + _TCUT, + _TSa, + ), + ( + (lambda: schemas.ALLOCATION_STRATEGY, {_aQN: _ASll, _sN: _aSl}), + (ON_DEMAND_ALLOCATION_STRATEGY, {_aQN: _ODAS, _sN: _oDAS}), + (SPOT_MAINTENANCE_STRATEGIES, {_aQN: _SMS, _sN: _sMS}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (EXCESS_CAPACITY_TERMINATION_POLICY, {_aQN: _ECTP, _sN: _eCTP}), + (lambda: schemas.DOUBLE, {_aQN: _FCu, _sN: _fC}), + (lambda: schemas.DOUBLE, {_aQN: _ODFC, _sN: _oDFC}), + (lambda: schemas.STRING, {_aQN: _IFRa, _sN: _iFR, _smi: None}), + (LAUNCH_SPECS_LIST, {_aQN: _LSau, _sN: _lSa}), + (LAUNCH_TEMPLATE_CONFIG_LIST, {_aQN: _LTC, _sN: _lTC}), + (lambda: schemas.STRING, {_aQN: _SPpo, _sN: _sPp}), + (lambda: schemas.INTEGER, {_aQN: _TCar, _sN: _tCar, _smi: None}), + (lambda: schemas.INTEGER, {_aQN: _ODTC, _sN: _oDTC}), + (lambda: schemas.STRING, {_aQN: _ODMTP, _sN: _oDMTP}), + (lambda: schemas.STRING, {_aQN: _SMTP, _sN: _sMTP}), + (lambda: schemas.BOOLEAN, {_aQN: _TIWE, _sN: _tIWE}), + (lambda: schemas.FLEET_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.DATE_TIME, {_aQN: _VF, _sN: _vF}), + (lambda: schemas.DATE_TIME, {_aQN: _VU, _sN: _vU}), + (lambda: schemas.BOOLEAN, {_aQN: _RUI, _sN: _rUI}), + (lambda: schemas.INSTANCE_INTERRUPTION_BEHAVIOR, {_aQN: _IIB, _sN: _iIB}), + (LOAD_BALANCERS_CONFIG, {_aQN: _LBC, _sN: _lBC}), + (lambda: schemas.INTEGER, {_aQN: _IPTUC, _sN: _iPTUC}), + (lambda: schemas.STRING, {_aQN: _Con, _sN: _cont}), + (lambda: schemas.TARGET_CAPACITY_UNIT_TYPE, {_aQN: _TCUT, _sN: _tCUT}), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +SPOT_FLEET_REQUEST_CONFIG: StaticSchema = ( + 18, + n0, + _SFRC, + 0, + (_ASc, _CTr, _SFRC, _SFRI, _SFRSp, _Tag), + ( + (lambda: schemas.ACTIVITY_STATUS, {_aQN: _ASc, _sN: _aSc}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (SPOT_FLEET_REQUEST_CONFIG_DATA, {_aQN: _SFRC, _sN: _sFRC}), + (lambda: schemas.STRING, {_aQN: _SFRI, _sN: _sFRI}), + (lambda: schemas.BATCH_STATE, {_aQN: _SFRSp, _sN: _sFRSp}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +SPOT_FLEET_REQUEST_CONFIG_SET: StaticSchema = ( + 16, + n0, + _SFRCS, + 0, + (_me,), + ((SPOT_FLEET_REQUEST_CONFIG, {_sN: _i}),), +) + +DESCRIBE_SPOT_INSTANCE_REQUESTS_INPUT: StaticSchema = ( + 18, + n0, + _DSIRI, + {_sSI: _cDSIRR, _sm: None}, + (_NTex, _MR, _DR, _SIRIp, _Fil), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.SPOT_INSTANCE_REQUEST_ID_LIST, {_sN: _SIRI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_SPOT_INSTANCE_REQUESTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSIRO, + {_sSI: _cDSIRRo, _smit: None}, + (_SIRpo, _NTex), + ( + (lambda: SPOT_INSTANCE_REQUEST_LIST, {_aQN: _SIRS, _sN: _sIRS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_SPOT_INSTANCE_REQUESTS: StaticOperationSchema = ( + 23, + n0, + _DSIR, + 0, + DESCRIBE_SPOT_INSTANCE_REQUESTS_INPUT, + DESCRIBE_SPOT_INSTANCE_REQUESTS_OUTPUT, + (), +) + +RUN_INSTANCES_MONITORING_ENABLED: StaticSchema = ( + 18, + n0, + _RIME, + 0, + (_Ena,), + ((lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena, _smi: None}),), +) + +LAUNCH_SPECIFICATION: StaticSchema = ( + 18, + n0, + _LSaun, + 0, + ( + _UDs, + _ATddr, + _BDMl, + _EO, + _IIP, + _IIm, + _IT, + _KI, + _KN, + _NIe, + _Pl, + _RIa, + _SIu, + _SGe, + _Mon, + ), + ( + (lambda: schemas.SENSITIVE_USER_DATA, {_aQN: _UDs, _sN: _uDs}), + (lambda: schemas.STRING, {_aQN: _ATddr, _sN: _aTdd}), + (lambda: schemas.BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), + (lambda: schemas.BOOLEAN, {_aQN: _EO, _sN: _eO}), + (lambda: schemas.IAM_INSTANCE_PROFILE_SPECIFICATION, {_aQN: _IIP, _sN: _iIP}), + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _KI, _sN: _kI}), + (lambda: schemas.STRING, {_aQN: _KN, _sN: _kN}), + (INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST, {_aQN: _NIS, _sN: _nIS}), + (SPOT_PLACEMENT, {_aQN: _Pl, _sN: _pla}), + (lambda: schemas.STRING, {_aQN: _RIa, _sN: _rIa}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + (RUN_INSTANCES_MONITORING_ENABLED, {_aQN: _Mon, _sN: _monit}), + ), +) + +SPOT_INSTANCE_STATE: StaticSchema = ( + 14, + n0, + _SISp, + 0, + (_op, _act, _cl, _can, _fa, _d), + ( + (-1, {_sV: _op}), + (-1, {_sV: _act}), + (-1, {_sV: _cl}), + (-1, {_sV: _can}), + (-1, {_sV: _fa}), + (-1, {_sV: _d}), + ), +) + +SPOT_INSTANCE_STATUS: StaticSchema = ( + 18, + n0, + _SISpo, + 0, + (_C, _Me, _UT), + ( + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + (lambda: schemas.DATE_TIME, {_aQN: _UT, _sN: _uT}), + ), +) + +SPOT_INSTANCE_REQUEST: StaticSchema = ( + 18, + n0, + _SIRp, + 0, + ( + _ABHP, + _AZGv, + _BDMlo, + _CTr, + _Fa, + _II, + _LGa, + _LSaun, + _LAZ, + _LAZI, + _PDr, + _SIRI, + _SPpo, + _St, + _Sta, + _Tag, + _Ty, + _VF, + _VU, + _IIB, + ), + ( + (lambda: schemas.STRING, {_aQN: _ABHP, _sN: _aBHP}), + (lambda: schemas.STRING, {_aQN: _AZGv, _sN: _aZG}), + (lambda: schemas.INTEGER, {_aQN: _BDMlo, _sN: _bDMl}), + (lambda: schemas.DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (SPOT_INSTANCE_STATE_FAULT, {_aQN: _Fa, _sN: _fau}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _LGa, _sN: _lG}), + (LAUNCH_SPECIFICATION, {_aQN: _LSaun, _sN: _lSau}), + (lambda: schemas.STRING, {_aQN: _LAZ, _sN: _lAZ}), + (lambda: schemas.STRING, {_aQN: _LAZI, _sN: _lAZI}), + (RI_PRODUCT_DESCRIPTION, {_aQN: _PDr, _sN: _pDr}), + (lambda: schemas.STRING, {_aQN: _SIRI, _sN: _sIRI}), + (lambda: schemas.STRING, {_aQN: _SPpo, _sN: _sPp}), + (SPOT_INSTANCE_STATE, {_aQN: _St, _sN: _st}), + (SPOT_INSTANCE_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.SPOT_INSTANCE_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.DATE_TIME, {_aQN: _VF, _sN: _vF}), + (lambda: schemas.DATE_TIME, {_aQN: _VU, _sN: _vU}), + (lambda: schemas.INSTANCE_INTERRUPTION_BEHAVIOR, {_aQN: _IIB, _sN: _iIB}), + ), +) + +SPOT_INSTANCE_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _SIRL, + 0, + (_me,), + ((SPOT_INSTANCE_REQUEST, {_sN: _i}),), +) + +INSTANCE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _ITLn, + 0, + (_me,), + ((lambda: schemas.INSTANCE_TYPE, 0),), +) + +PRODUCT_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _PDLr, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +DESCRIBE_SPOT_PRICE_HISTORY_INPUT: StaticSchema = ( + 18, + n0, + _DSPHI, + {_sSI: _cDSPHR, _sm: None}, + (_AZI, _DR, _ST, _ETnd, _ITnsta, _PDro, _Fil, _AZ, _MR, _NTex), + ( + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), + (INSTANCE_TYPE_LIST, {_sN: _IT}), + (PRODUCT_DESCRIPTION_LIST, {_sN: _PDr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.INTEGER, {_aQN: _MR, _sN: _mR}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_SPOT_PRICE_HISTORY_OUTPUT: StaticSchema = ( + 18, + n0, + _DSPHO, + {_sSI: _cDSPHRo, _smit: None}, + (_NTex, _SPH), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.SPOT_PRICE_HISTORY_LIST, {_aQN: _SPHS, _sN: _sPHS}), + ), +) + +DESCRIBE_SPOT_PRICE_HISTORY: StaticOperationSchema = ( + 23, + n0, + _DSPH, + 0, + DESCRIBE_SPOT_PRICE_HISTORY_INPUT, + DESCRIBE_SPOT_PRICE_HISTORY_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_35.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_35.py new file mode 100644 index 000000000..af1cc2aef --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_35.py @@ -0,0 +1,1557 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_me = "member" +_i = "item" +_RT = "ResourceType" +_Ke = "Key" +_ke = "key" +_Va = "Value" +_va = "value" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_TGAI = "TransitGatewayAttachmentId" +_TGI = "TransitGatewayId" +_tGAI = "transitGatewayAttachmentId" +_tGI = "transitGatewayId" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_SI = "SubnetIds" +_SIu = "SubnetId" +_RIe = "ResourceId" +_rI = "resourceId" +_ROI = "ResourceOwnerId" +_rOI = "resourceOwnerId" +_Su = "Subnets" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_dRr = "dryRun" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_TGA = "TransitGatewayAttachment" +_IT = "InstanceType" +_iT = "instanceType" +_Des = "Description" +_AIs = "AssociationId" +_desc = "description" +_Ti = "Timestamp" +_ti = "timestamp" +_GIr = "GroupId" +_TGPTI = "TransitGatewayPolicyTableId" +_tGPTI = "transitGatewayPolicyTableId" +_Ass = "Association" +_assoc = "association" +_TGRTI = "TransitGatewayRouteTableId" +_tGRTI = "transitGatewayRouteTableId" +_gIr = "groupId" +_G = "Groups" +_IIm = "ImageId" +_GN = "GroupName" +_gN = "groupName" +_IPpr = "IpProtocol" +_iPpr = "ipProtocol" +_FP = "FromPort" +_fP = "fromPort" +_TP = "ToPort" +_tP = "toPort" +_UIGPs = "UserIdGroupPairs" +_gr = "groups" +_IRpa = "IpRanges" +_iRpa = "ipRanges" +_PLIr = "PrefixListIds" +_pLIr = "prefixListIds" +_Bu = "Bucket" +_buc = "bucket" +_TMFRI = "TrafficMirrorFilterRuleId" +_TMFI = "TrafficMirrorFilterId" +_TMTI = "TrafficMirrorTargetId" +_TMSI = "TrafficMirrorSessionId" +_TGAISL = "TransitGatewayAttachmentIdStringList" +_TGAransi = "TransitGatewayAttachments" +_tGArans = "transitGatewayAttachments" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_mR = "maxResults" +_AIsso = "AssociationIds" +_IIma = "ImageIds" +_PDr = "ProductDescription" +_pDr = "productDescription" +_SPpo = "SpotPrice" +_sPp = "spotPrice" +_SPHL = "SpotPriceHistoryList" +_DSSGMR = "DescribeStaleSecurityGroupsMaxResults" +_DSSGNT = "DescribeStaleSecurityGroupsNextToken" +_DSSGI = "DescribeStaleSecurityGroupsInput" +_cDSSGR = "com.amazonaws.ec2#DescribeStaleSecurityGroupsRequest" +_PLIS = "PrefixListIdSet" +_UIGPS = "UserIdGroupPairSet" +_SIPt = "StaleIpPermission" +_SIPS = "StaleIpPermissionSet" +_SSG = "StaleSecurityGroup" +_SIPta = "StaleIpPermissions" +_sIP = "staleIpPermissions" +_SIPE = "StaleIpPermissionsEgress" +_sIPE = "staleIpPermissionsEgress" +_SSGS = "StaleSecurityGroupSet" +_DSSGO = "DescribeStaleSecurityGroupsOutput" +_cDSSGRo = "com.amazonaws.ec2#DescribeStaleSecurityGroupsResult" +_sSGS = "staleSecurityGroupSet" +_DSSG = "DescribeStaleSecurityGroups" +_IILm = "ImageIdList" +_DSITRMR = "DescribeStoreImageTasksRequestMaxResults" +_DSITI = "DescribeStoreImageTasksInput" +_cDSITR = "com.amazonaws.ec2#DescribeStoreImageTasksRequest" +_SITR = "StoreImageTaskResult" +_AIm = "AmiId" +_aIm = "amiId" +_TST = "TaskStartTime" +_tST = "taskStartTime" +_SKo = "S3objectKey" +_sKo = "s3objectKey" +_PPr = "ProgressPercentage" +_pP = "progressPercentage" +_STSt = "StoreTaskState" +_sTSt = "storeTaskState" +_STFR = "StoreTaskFailureReason" +_sTFR = "storeTaskFailureReason" +_SITRS = "StoreImageTaskResultSet" +_DSITO = "DescribeStoreImageTasksOutput" +_cDSITRo = "com.amazonaws.ec2#DescribeStoreImageTasksResult" +_SITRt = "StoreImageTaskResults" +_sITRS = "storeImageTaskResultSet" +_DSIT = "DescribeStoreImageTasks" +_DSMR = "DescribeSubnetsMaxResults" +_SISLu = "SubnetIdStringList" +_DSIescri = "DescribeSubnetsInput" +_cDSRomam = "com.amazonaws.ec2#DescribeSubnetsRequest" +_SLub = "SubnetList" +_DSOesc = "DescribeSubnetsOutput" +_cDSRomama = "com.amazonaws.ec2#DescribeSubnetsResult" +_SSubn = "SubnetSet" +_sSub = "subnetSet" +_DSesc = "DescribeSubnets" +_DTIes = "DescribeTagsInput" +_cDTRo = "com.amazonaws.ec2#DescribeTagsRequest" +_TDa = "TagDescription" +_TDL = "TagDescriptionList" +_DTOe = "DescribeTagsOutput" +_cDTRom = "com.amazonaws.ec2#DescribeTagsResult" +_DTes = "DescribeTags" +_TMMR = "TrafficMirroringMaxResults" +_TMFRIL = "TrafficMirrorFilterRuleIdList" +_DTMFRIe = "DescribeTrafficMirrorFilterRulesInput" +_cDTMFRRom = "com.amazonaws.ec2#DescribeTrafficMirrorFilterRulesRequest" +_TMFRIr = "TrafficMirrorFilterRuleIds" +_TMFRS = "TrafficMirrorFilterRuleSet" +_DTMFROe = "DescribeTrafficMirrorFilterRulesOutput" +_cDTMFRRoma = "com.amazonaws.ec2#DescribeTrafficMirrorFilterRulesResult" +_TMFRr = "TrafficMirrorFilterRules" +_tMFRS = "trafficMirrorFilterRuleSet" +_DTMFRe = "DescribeTrafficMirrorFilterRules" +_TMFIL = "TrafficMirrorFilterIdList" +_DTMFIe = "DescribeTrafficMirrorFiltersInput" +_cDTMFRom = "com.amazonaws.ec2#DescribeTrafficMirrorFiltersRequest" +_TMFIr = "TrafficMirrorFilterIds" +_TMFS = "TrafficMirrorFilterSet" +_DTMFOe = "DescribeTrafficMirrorFiltersOutput" +_cDTMFRoma = "com.amazonaws.ec2#DescribeTrafficMirrorFiltersResult" +_TMFr = "TrafficMirrorFilters" +_tMFS = "trafficMirrorFilterSet" +_DTMFe = "DescribeTrafficMirrorFilters" +_TMSIL = "TrafficMirrorSessionIdList" +_DTMSIe = "DescribeTrafficMirrorSessionsInput" +_cDTMSRom = "com.amazonaws.ec2#DescribeTrafficMirrorSessionsRequest" +_TMSIr = "TrafficMirrorSessionIds" +_TMSS = "TrafficMirrorSessionSet" +_DTMSOe = "DescribeTrafficMirrorSessionsOutput" +_cDTMSRoma = "com.amazonaws.ec2#DescribeTrafficMirrorSessionsResult" +_TMSr = "TrafficMirrorSessions" +_tMSS = "trafficMirrorSessionSet" +_DTMSe = "DescribeTrafficMirrorSessions" +_TMTIL = "TrafficMirrorTargetIdList" +_DTMTIe = "DescribeTrafficMirrorTargetsInput" +_cDTMTRom = "com.amazonaws.ec2#DescribeTrafficMirrorTargetsRequest" +_TMTIr = "TrafficMirrorTargetIds" +_TMTS = "TrafficMirrorTargetSet" +_DTMTOe = "DescribeTrafficMirrorTargetsOutput" +_cDTMTRoma = "com.amazonaws.ec2#DescribeTrafficMirrorTargetsResult" +_TMTr = "TrafficMirrorTargets" +_tMTS = "trafficMirrorTargetSet" +_DTMTe = "DescribeTrafficMirrorTargets" +_TGMR = "TransitGatewayMaxResults" +_DTGAIe = "DescribeTransitGatewayAttachmentsInput" +_cDTGAR = "com.amazonaws.ec2#DescribeTransitGatewayAttachmentsRequest" +_TGAIr = "TransitGatewayAttachmentIds" +_TGAA = "TransitGatewayAttachmentAssociation" +_TGOI = "TransitGatewayOwnerId" +_tGOI = "transitGatewayOwnerId" +_NGSat = "NatGatewaySupport" +_nGSa = "natGatewaySupport" +_TGAL = "TransitGatewayAttachmentList" +_DTGAO = "DescribeTransitGatewayAttachmentsOutput" +_cDTGARo = "com.amazonaws.ec2#DescribeTransitGatewayAttachmentsResult" +_DTGA = "DescribeTransitGatewayAttachments" +_TGCPISL = "TransitGatewayConnectPeerIdStringList" +_DTGCPIe = "DescribeTransitGatewayConnectPeersInput" +_cDTGCPRom = "com.amazonaws.ec2#DescribeTransitGatewayConnectPeersRequest" +_TGCPIr = "TransitGatewayConnectPeerIds" +_TGCPL = "TransitGatewayConnectPeerList" +_DTGCPOe = "DescribeTransitGatewayConnectPeersOutput" +_cDTGCPRoma = "com.amazonaws.ec2#DescribeTransitGatewayConnectPeersResult" +_TGCPr = "TransitGatewayConnectPeers" +_TGCPSr = "TransitGatewayConnectPeerSet" +_tGCPS = "transitGatewayConnectPeerSet" +_DTGCPe = "DescribeTransitGatewayConnectPeers" +_DTGCIe = "DescribeTransitGatewayConnectsInput" +_cDTGCRom = "com.amazonaws.ec2#DescribeTransitGatewayConnectsRequest" +_TGCL = "TransitGatewayConnectList" +_DTGCOe = "DescribeTransitGatewayConnectsOutput" +_cDTGCRoma = "com.amazonaws.ec2#DescribeTransitGatewayConnectsResult" +_TGCra = "TransitGatewayConnects" +_TGCS = "TransitGatewayConnectSet" +_tGCS = "transitGatewayConnectSet" +_DTGCe = "DescribeTransitGatewayConnects" +_TGMPISL = "TransitGatewayMeteringPolicyIdStringList" +_DTGMPIe = "DescribeTransitGatewayMeteringPoliciesInput" +_cDTGMPRom = "com.amazonaws.ec2#DescribeTransitGatewayMeteringPoliciesRequest" +_TGMPIr = "TransitGatewayMeteringPolicyIds" +_TGMPL = "TransitGatewayMeteringPolicyList" +_DTGMPOe = "DescribeTransitGatewayMeteringPoliciesOutput" +_cDTGMPRoma = "com.amazonaws.ec2#DescribeTransitGatewayMeteringPoliciesResult" +_TGMPr = "TransitGatewayMeteringPolicies" +_tGMPr = "transitGatewayMeteringPolicies" +_DTGMPe = "DescribeTransitGatewayMeteringPolicies" +_TGMDISL = "TransitGatewayMulticastDomainIdStringList" +_DTGMDIe = "DescribeTransitGatewayMulticastDomainsInput" +_cDTGMDRom = "com.amazonaws.ec2#DescribeTransitGatewayMulticastDomainsRequest" +_TGMDIr = "TransitGatewayMulticastDomainIds" +_TGMDL = "TransitGatewayMulticastDomainList" +_DTGMDOe = "DescribeTransitGatewayMulticastDomainsOutput" +_cDTGMDRoma = "com.amazonaws.ec2#DescribeTransitGatewayMulticastDomainsResult" +_TGMDr = "TransitGatewayMulticastDomains" +_tGMDr = "transitGatewayMulticastDomains" +_DTGMDe = "DescribeTransitGatewayMulticastDomains" +_DTGPAIe = "DescribeTransitGatewayPeeringAttachmentsInput" +_cDTGPARom = "com.amazonaws.ec2#DescribeTransitGatewayPeeringAttachmentsRequest" +_TGPAL = "TransitGatewayPeeringAttachmentList" +_DTGPAOe = "DescribeTransitGatewayPeeringAttachmentsOutput" +_cDTGPARoma = "com.amazonaws.ec2#DescribeTransitGatewayPeeringAttachmentsResult" +_TGPAr = "TransitGatewayPeeringAttachments" +_tGPAr = "transitGatewayPeeringAttachments" +_DTGPAe = "DescribeTransitGatewayPeeringAttachments" +_TGPTISL = "TransitGatewayPolicyTableIdStringList" +_DTGPTIe = "DescribeTransitGatewayPolicyTablesInput" +_cDTGPTRom = "com.amazonaws.ec2#DescribeTransitGatewayPolicyTablesRequest" +_TGPTIr = "TransitGatewayPolicyTableIds" +_TGPTL = "TransitGatewayPolicyTableList" +_DTGPTOe = "DescribeTransitGatewayPolicyTablesOutput" +_cDTGPTRoma = "com.amazonaws.ec2#DescribeTransitGatewayPolicyTablesResult" +_TGPTr = "TransitGatewayPolicyTables" +_tGPTr = "transitGatewayPolicyTables" +_DTGPTe = "DescribeTransitGatewayPolicyTables" +_TGRTAISL = "TransitGatewayRouteTableAnnouncementIdStringList" +_DTGRTAIe = "DescribeTransitGatewayRouteTableAnnouncementsInput" +_cDTGRTARom = "com.amazonaws.ec2#DescribeTransitGatewayRouteTableAnnouncementsRequest" +_TGRTAIr = "TransitGatewayRouteTableAnnouncementIds" +_TGRTAL = "TransitGatewayRouteTableAnnouncementList" +_DTGRTAOe = "DescribeTransitGatewayRouteTableAnnouncementsOutput" +_cDTGRTARoma = "com.amazonaws.ec2#DescribeTransitGatewayRouteTableAnnouncementsResult" +_TGRTAr = "TransitGatewayRouteTableAnnouncements" +_tGRTAr = "transitGatewayRouteTableAnnouncements" +_DTGRTAe = "DescribeTransitGatewayRouteTableAnnouncements" +_TGRTISL = "TransitGatewayRouteTableIdStringList" +_DTGRTIe = "DescribeTransitGatewayRouteTablesInput" +_cDTGRTRom = "com.amazonaws.ec2#DescribeTransitGatewayRouteTablesRequest" +_TGRTIr = "TransitGatewayRouteTableIds" +_TGRTL = "TransitGatewayRouteTableList" +_DTGRTOe = "DescribeTransitGatewayRouteTablesOutput" +_cDTGRTRoma = "com.amazonaws.ec2#DescribeTransitGatewayRouteTablesResult" +_TGRTra = "TransitGatewayRouteTables" +_tGRTr = "transitGatewayRouteTables" +_DTGRTe = "DescribeTransitGatewayRouteTables" +_TGISL = "TransitGatewayIdStringList" +_DTGIe = "DescribeTransitGatewaysInput" +_cDTGRom = "com.amazonaws.ec2#DescribeTransitGatewaysRequest" +_TGIr = "TransitGatewayIds" +_TGL = "TransitGatewayList" +_DTGOe = "DescribeTransitGatewaysOutput" +_cDTGRoma = "com.amazonaws.ec2#DescribeTransitGatewaysResult" +_TGra = "TransitGateways" +_TGSr = "TransitGatewaySet" +_tGS = "transitGatewaySet" +_DTGe = "DescribeTransitGateways" +_DTGVAIe = "DescribeTransitGatewayVpcAttachmentsInput" +_cDTGVARom = "com.amazonaws.ec2#DescribeTransitGatewayVpcAttachmentsRequest" +_TGVAL = "TransitGatewayVpcAttachmentList" +_DTGVAOe = "DescribeTransitGatewayVpcAttachmentsOutput" +_cDTGVARoma = "com.amazonaws.ec2#DescribeTransitGatewayVpcAttachmentsResult" +_TGVAr = "TransitGatewayVpcAttachments" +_tGVAr = "transitGatewayVpcAttachments" +_DTGVAe = "DescribeTransitGatewayVpcAttachments" +_TIAIL = "TrunkInterfaceAssociationIdList" +_DTIAMR = "DescribeTrunkInterfaceAssociationsMaxResults" +_DTIAI = "DescribeTrunkInterfaceAssociationsInput" +_cDTIAR = "com.amazonaws.ec2#DescribeTrunkInterfaceAssociationsRequest" +_TIAL = "TrunkInterfaceAssociationList" +_DTIAO = "DescribeTrunkInterfaceAssociationsOutput" +_cDTIARo = "com.amazonaws.ec2#DescribeTrunkInterfaceAssociationsResult" +_IAnt = "InterfaceAssociations" +_IASnt = "InterfaceAssociationSet" +_iASn = "interfaceAssociationSet" +_DTIA = "DescribeTrunkInterfaceAssociations" + +TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _TGAISL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0),), +) + +SPOT_PRICE: StaticSchema = ( + 18, + n0, + _SPpo, + 0, + (_AZ, _AZI, _IT, _PDr, _SPpo, _Ti), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.RI_PRODUCT_DESCRIPTION, {_aQN: _PDr, _sN: _pDr}), + (lambda: schemas.STRING, {_aQN: _SPpo, _sN: _sPp}), + (lambda: schemas.DATE_TIME, {_aQN: _Ti, _sN: _ti}), + ), +) + +SPOT_PRICE_HISTORY_LIST: StaticSchema = ( + 16, + n0, + _SPHL, + 0, + (_me,), + ((SPOT_PRICE, {_sN: _i}),), +) + +DESCRIBE_STALE_SECURITY_GROUPS_MAX_RESULTS: StaticSchema = (7, n0, _DSSGMR, 0) + +DESCRIBE_STALE_SECURITY_GROUPS_NEXT_TOKEN: StaticSchema = (3, n0, _DSSGNT, 0) + +DESCRIBE_STALE_SECURITY_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DSSGI, + {_sSI: _cDSSGR, _sm: None}, + (_DR, _MR, _NTex, _VI), + ( + (lambda: schemas.BOOLEAN, 0), + (DESCRIBE_STALE_SECURITY_GROUPS_MAX_RESULTS, 0), + (DESCRIBE_STALE_SECURITY_GROUPS_NEXT_TOKEN, 0), + (lambda: schemas.VPC_ID, 1), + ), +) + +DESCRIBE_STALE_SECURITY_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSSGO, + {_sSI: _cDSSGRo, _smit: None}, + (_NTex, _SSGS), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: STALE_SECURITY_GROUP_SET, {_aQN: _SSGS, _sN: _sSGS}), + ), +) + +DESCRIBE_STALE_SECURITY_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DSSG, + 0, + DESCRIBE_STALE_SECURITY_GROUPS_INPUT, + DESCRIBE_STALE_SECURITY_GROUPS_OUTPUT, + (), +) + +IP_RANGES: StaticSchema = ( + 16, + n0, + _IRpa, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +PREFIX_LIST_ID_SET: StaticSchema = ( + 16, + n0, + _PLIS, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +USER_ID_GROUP_PAIR_SET: StaticSchema = ( + 16, + n0, + _UIGPS, + 0, + (_me,), + ((lambda: schemas.USER_ID_GROUP_PAIR, {_sN: _i}),), +) + +STALE_IP_PERMISSION: StaticSchema = ( + 18, + n0, + _SIPt, + 0, + (_FP, _IPpr, _IRpa, _PLIr, _TP, _UIGPs), + ( + (lambda: schemas.INTEGER, {_aQN: _FP, _sN: _fP}), + (lambda: schemas.STRING, {_aQN: _IPpr, _sN: _iPpr}), + (IP_RANGES, {_aQN: _IRpa, _sN: _iRpa}), + (PREFIX_LIST_ID_SET, {_aQN: _PLIr, _sN: _pLIr}), + (lambda: schemas.INTEGER, {_aQN: _TP, _sN: _tP}), + (USER_ID_GROUP_PAIR_SET, {_aQN: _G, _sN: _gr}), + ), +) + +STALE_IP_PERMISSION_SET: StaticSchema = ( + 16, + n0, + _SIPS, + 0, + (_me,), + ((STALE_IP_PERMISSION, {_sN: _i}),), +) + +STALE_SECURITY_GROUP: StaticSchema = ( + 18, + n0, + _SSG, + 0, + (_Des, _GIr, _GN, _SIPta, _SIPE, _VI), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (STALE_IP_PERMISSION_SET, {_aQN: _SIPta, _sN: _sIP}), + (STALE_IP_PERMISSION_SET, {_aQN: _SIPE, _sN: _sIPE}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + ), +) + +STALE_SECURITY_GROUP_SET: StaticSchema = ( + 16, + n0, + _SSGS, + 0, + (_me,), + ((STALE_SECURITY_GROUP, {_sN: _i}),), +) + +IMAGE_ID_LIST: StaticSchema = ( + 16, + n0, + _IILm, + 0, + (_me,), + ((lambda: schemas.IMAGE_ID, {_sN: _i}),), +) + +DESCRIBE_STORE_IMAGE_TASKS_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _DSITRMR, 0) + +DESCRIBE_STORE_IMAGE_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DSITI, + {_sSI: _cDSITR, _sm: None}, + (_IIma, _DR, _Fil, _NTex, _MR), + ( + (IMAGE_ID_LIST, {_sN: _IIm}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, 0), + (DESCRIBE_STORE_IMAGE_TASKS_REQUEST_MAX_RESULTS, 0), + ), +) + +DESCRIBE_STORE_IMAGE_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSITO, + {_sSI: _cDSITRo, _smit: None}, + (_SITRt, _NTex), + ( + (lambda: STORE_IMAGE_TASK_RESULT_SET, {_aQN: _SITRS, _sN: _sITRS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_STORE_IMAGE_TASKS: StaticOperationSchema = ( + 23, + n0, + _DSIT, + 0, + DESCRIBE_STORE_IMAGE_TASKS_INPUT, + DESCRIBE_STORE_IMAGE_TASKS_OUTPUT, + (), +) + +STORE_IMAGE_TASK_RESULT: StaticSchema = ( + 18, + n0, + _SITR, + 0, + (_AIm, _TST, _Bu, _SKo, _PPr, _STSt, _STFR), + ( + (lambda: schemas.STRING, {_aQN: _AIm, _sN: _aIm}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _TST, _sN: _tST}), + (lambda: schemas.STRING, {_aQN: _Bu, _sN: _buc}), + (lambda: schemas.STRING, {_aQN: _SKo, _sN: _sKo}), + (lambda: schemas.INTEGER, {_aQN: _PPr, _sN: _pP}), + (lambda: schemas.STRING, {_aQN: _STSt, _sN: _sTSt}), + (lambda: schemas.STRING, {_aQN: _STFR, _sN: _sTFR}), + ), +) + +STORE_IMAGE_TASK_RESULT_SET: StaticSchema = ( + 16, + n0, + _SITRS, + 0, + (_me,), + ((STORE_IMAGE_TASK_RESULT, {_sN: _i}),), +) + +DESCRIBE_SUBNETS_MAX_RESULTS: StaticSchema = (7, n0, _DSMR, 0) + +SUBNET_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _SISLu, + 0, + (_me,), + ((lambda: schemas.SUBNET_ID, {_sN: _SIu}),), +) + +DESCRIBE_SUBNETS_INPUT: StaticSchema = ( + 18, + n0, + _DSIescri, + {_sSI: _cDSRomam, _sm: None}, + (_Fil, _SI, _NTex, _MR, _DR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (SUBNET_ID_STRING_LIST, {_sN: _SIu}), + (lambda: schemas.STRING, 0), + (DESCRIBE_SUBNETS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DESCRIBE_SUBNETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSOesc, + {_sSI: _cDSRomama, _smit: None}, + (_NTex, _Su), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: SUBNET_LIST, {_aQN: _SSubn, _sN: _sSub}), + ), +) + +DESCRIBE_SUBNETS: StaticOperationSchema = ( + 23, + n0, + _DSesc, + 0, + DESCRIBE_SUBNETS_INPUT, + DESCRIBE_SUBNETS_OUTPUT, + (), +) + +SUBNET_LIST: StaticSchema = ( + 16, + n0, + _SLub, + 0, + (_me,), + ((lambda: schemas.SUBNET, {_sN: _i}),), +) + +DESCRIBE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _DTIes, + {_sSI: _cDTRo, _sm: None}, + (_DR, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.INTEGER, {_aQN: _MR, _sN: _mR}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTOe, + {_sSI: _cDTRom, _smit: None}, + (_NTex, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: TAG_DESCRIPTION_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +DESCRIBE_TAGS: StaticOperationSchema = ( + 23, + n0, + _DTes, + 0, + DESCRIBE_TAGS_INPUT, + DESCRIBE_TAGS_OUTPUT, + (), +) + +TAG_DESCRIPTION: StaticSchema = ( + 18, + n0, + _TDa, + 0, + (_Ke, _RIe, _RT, _Va), + ( + (lambda: schemas.STRING, {_aQN: _Ke, _sN: _ke}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.STRING, {_aQN: _Va, _sN: _va}), + ), +) + +TAG_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _TDL, + 0, + (_me,), + ((TAG_DESCRIPTION, {_sN: _i}),), +) + +TRAFFIC_MIRRORING_MAX_RESULTS: StaticSchema = (7, n0, _TMMR, 0) + +TRAFFIC_MIRROR_FILTER_RULE_ID_LIST: StaticSchema = ( + 16, + n0, + _TMFRIL, + 0, + (_me,), + ((lambda: schemas.TRAFFIC_MIRROR_FILTER_RULE_ID_WITH_RESOLVER, {_sN: _i}),), +) + +DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_INPUT: StaticSchema = ( + 18, + n0, + _DTMFRIe, + {_sSI: _cDTMFRRom, _sm: None}, + (_TMFRIr, _TMFI, _DR, _Fil, _MR, _NTex), + ( + (TRAFFIC_MIRROR_FILTER_RULE_ID_LIST, {_sN: _TMFRI}), + (lambda: schemas.TRAFFIC_MIRROR_FILTER_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRAFFIC_MIRRORING_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_OUTPUT: StaticSchema = ( + 18, + n0, + _DTMFROe, + {_sSI: _cDTMFRRoma, _smit: None}, + (_TMFRr, _NTex), + ( + (lambda: TRAFFIC_MIRROR_FILTER_RULE_SET, {_aQN: _TMFRS, _sN: _tMFRS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES: StaticOperationSchema = ( + 23, + n0, + _DTMFRe, + 0, + DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_INPUT, + DESCRIBE_TRAFFIC_MIRROR_FILTER_RULES_OUTPUT, + (), +) + +TRAFFIC_MIRROR_FILTER_RULE_SET: StaticSchema = ( + 16, + n0, + _TMFRS, + 0, + (_me,), + ((lambda: schemas.TRAFFIC_MIRROR_FILTER_RULE, {_sN: _i}),), +) + +TRAFFIC_MIRROR_FILTER_ID_LIST: StaticSchema = ( + 16, + n0, + _TMFIL, + 0, + (_me,), + ((lambda: schemas.TRAFFIC_MIRROR_FILTER_ID, {_sN: _i}),), +) + +DESCRIBE_TRAFFIC_MIRROR_FILTERS_INPUT: StaticSchema = ( + 18, + n0, + _DTMFIe, + {_sSI: _cDTMFRom, _sm: None}, + (_TMFIr, _DR, _Fil, _MR, _NTex), + ( + (TRAFFIC_MIRROR_FILTER_ID_LIST, {_sN: _TMFI}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRAFFIC_MIRRORING_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_TRAFFIC_MIRROR_FILTERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTMFOe, + {_sSI: _cDTMFRoma, _smit: None}, + (_TMFr, _NTex), + ( + (lambda: TRAFFIC_MIRROR_FILTER_SET, {_aQN: _TMFS, _sN: _tMFS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRAFFIC_MIRROR_FILTERS: StaticOperationSchema = ( + 23, + n0, + _DTMFe, + 0, + DESCRIBE_TRAFFIC_MIRROR_FILTERS_INPUT, + DESCRIBE_TRAFFIC_MIRROR_FILTERS_OUTPUT, + (), +) + +TRAFFIC_MIRROR_FILTER_SET: StaticSchema = ( + 16, + n0, + _TMFS, + 0, + (_me,), + ((lambda: schemas.TRAFFIC_MIRROR_FILTER, {_sN: _i}),), +) + +TRAFFIC_MIRROR_SESSION_ID_LIST: StaticSchema = ( + 16, + n0, + _TMSIL, + 0, + (_me,), + ((lambda: schemas.TRAFFIC_MIRROR_SESSION_ID, {_sN: _i}),), +) + +DESCRIBE_TRAFFIC_MIRROR_SESSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DTMSIe, + {_sSI: _cDTMSRom, _sm: None}, + (_TMSIr, _DR, _Fil, _MR, _NTex), + ( + (TRAFFIC_MIRROR_SESSION_ID_LIST, {_sN: _TMSI}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRAFFIC_MIRRORING_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_TRAFFIC_MIRROR_SESSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTMSOe, + {_sSI: _cDTMSRoma, _smit: None}, + (_TMSr, _NTex), + ( + (lambda: TRAFFIC_MIRROR_SESSION_SET, {_aQN: _TMSS, _sN: _tMSS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRAFFIC_MIRROR_SESSIONS: StaticOperationSchema = ( + 23, + n0, + _DTMSe, + 0, + DESCRIBE_TRAFFIC_MIRROR_SESSIONS_INPUT, + DESCRIBE_TRAFFIC_MIRROR_SESSIONS_OUTPUT, + (), +) + +TRAFFIC_MIRROR_SESSION_SET: StaticSchema = ( + 16, + n0, + _TMSS, + 0, + (_me,), + ((lambda: schemas.TRAFFIC_MIRROR_SESSION, {_sN: _i}),), +) + +TRAFFIC_MIRROR_TARGET_ID_LIST: StaticSchema = ( + 16, + n0, + _TMTIL, + 0, + (_me,), + ((lambda: schemas.TRAFFIC_MIRROR_TARGET_ID, {_sN: _i}),), +) + +DESCRIBE_TRAFFIC_MIRROR_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _DTMTIe, + {_sSI: _cDTMTRom, _sm: None}, + (_TMTIr, _DR, _Fil, _MR, _NTex), + ( + (TRAFFIC_MIRROR_TARGET_ID_LIST, {_sN: _TMTI}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRAFFIC_MIRRORING_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +DESCRIBE_TRAFFIC_MIRROR_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTMTOe, + {_sSI: _cDTMTRoma, _smit: None}, + (_TMTr, _NTex), + ( + (lambda: TRAFFIC_MIRROR_TARGET_SET, {_aQN: _TMTS, _sN: _tMTS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRAFFIC_MIRROR_TARGETS: StaticOperationSchema = ( + 23, + n0, + _DTMTe, + 0, + DESCRIBE_TRAFFIC_MIRROR_TARGETS_INPUT, + DESCRIBE_TRAFFIC_MIRROR_TARGETS_OUTPUT, + (), +) + +TRAFFIC_MIRROR_TARGET_SET: StaticSchema = ( + 16, + n0, + _TMTS, + 0, + (_me,), + ((lambda: schemas.TRAFFIC_MIRROR_TARGET, {_sN: _i}),), +) + +TRANSIT_GATEWAY_MAX_RESULTS: StaticSchema = (7, n0, _TGMR, 0) + +DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_INPUT: StaticSchema = ( + 18, + n0, + _DTGAIe, + {_sSI: _cDTGAR, _sm: None}, + (_TGAIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGAO, + {_sSI: _cDTGARo, _smit: None}, + (_TGAransi, _NTex), + ( + (lambda: TRANSIT_GATEWAY_ATTACHMENT_LIST, {_aQN: _TGAransi, _sN: _tGArans}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS: StaticOperationSchema = ( + 23, + n0, + _DTGA, + 0, + DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_INPUT, + DESCRIBE_TRANSIT_GATEWAY_ATTACHMENTS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ATTACHMENT_ASSOCIATION: StaticSchema = ( + 18, + n0, + _TGAA, + 0, + (_TGRTI, _TGPTI, _St), + ( + (lambda: schemas.STRING, {_aQN: _TGRTI, _sN: _tGRTI}), + (lambda: schemas.STRING, {_aQN: _TGPTI, _sN: _tGPTI}), + (lambda: schemas.TRANSIT_GATEWAY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +TRANSIT_GATEWAY_ATTACHMENT: StaticSchema = ( + 18, + n0, + _TGA, + 0, + (_TGAI, _TGI, _TGOI, _ROI, _RT, _RIe, _St, _Ass, _CT, _Tag, _NGSat), + ( + (lambda: schemas.STRING, {_aQN: _TGAI, _sN: _tGAI}), + (lambda: schemas.STRING, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.STRING, {_aQN: _TGOI, _sN: _tGOI}), + (lambda: schemas.STRING, {_aQN: _ROI, _sN: _rOI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _RT, _sN: _rT}, + ), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_STATE, {_aQN: _St, _sN: _st}), + (TRANSIT_GATEWAY_ATTACHMENT_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}), + (lambda: schemas.DATE_TIME, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_STATE, + {_aQN: _NGSat, _sN: _nGSa}, + ), + ), +) + +TRANSIT_GATEWAY_ATTACHMENT_LIST: StaticSchema = ( + 16, + n0, + _TGAL, + 0, + (_me,), + ((TRANSIT_GATEWAY_ATTACHMENT, {_sN: _i}),), +) + +TRANSIT_GATEWAY_CONNECT_PEER_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _TGCPISL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_CONNECT_PEER_ID, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_INPUT: StaticSchema = ( + 18, + n0, + _DTGCPIe, + {_sSI: _cDTGCPRom, _sm: None}, + (_TGCPIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_CONNECT_PEER_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGCPOe, + {_sSI: _cDTGCPRoma, _smit: None}, + (_TGCPr, _NTex), + ( + (lambda: TRANSIT_GATEWAY_CONNECT_PEER_LIST, {_aQN: _TGCPSr, _sN: _tGCPS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS: StaticOperationSchema = ( + 23, + n0, + _DTGCPe, + 0, + DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_INPUT, + DESCRIBE_TRANSIT_GATEWAY_CONNECT_PEERS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_CONNECT_PEER_LIST: StaticSchema = ( + 16, + n0, + _TGCPL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_CONNECT_PEER, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAY_CONNECTS_INPUT: StaticSchema = ( + 18, + n0, + _DTGCIe, + {_sSI: _cDTGCRom, _sm: None}, + (_TGAIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_CONNECTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGCOe, + {_sSI: _cDTGCRoma, _smit: None}, + (_TGCra, _NTex), + ( + (lambda: TRANSIT_GATEWAY_CONNECT_LIST, {_aQN: _TGCS, _sN: _tGCS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_CONNECTS: StaticOperationSchema = ( + 23, + n0, + _DTGCe, + 0, + DESCRIBE_TRANSIT_GATEWAY_CONNECTS_INPUT, + DESCRIBE_TRANSIT_GATEWAY_CONNECTS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_CONNECT_LIST: StaticSchema = ( + 16, + n0, + _TGCL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_CONNECT, {_sN: _i}),), +) + +TRANSIT_GATEWAY_METERING_POLICY_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _TGMPISL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY_ID, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _DTGMPIe, + {_sSI: _cDTGMPRom, _sm: None}, + (_TGMPIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_METERING_POLICY_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGMPOe, + {_sSI: _cDTGMPRoma, _smit: None}, + (_TGMPr, _NTex), + ( + (lambda: TRANSIT_GATEWAY_METERING_POLICY_LIST, {_aQN: _TGMPr, _sN: _tGMPr}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES: StaticOperationSchema = ( + 23, + n0, + _DTGMPe, + 0, + DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_INPUT, + DESCRIBE_TRANSIT_GATEWAY_METERING_POLICIES_OUTPUT, + (), +) + +TRANSIT_GATEWAY_METERING_POLICY_LIST: StaticSchema = ( + 16, + n0, + _TGMPL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY, {_sN: _i}),), +) + +TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _TGMDISL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_INPUT: StaticSchema = ( + 18, + n0, + _DTGMDIe, + {_sSI: _cDTGMDRom, _sm: None}, + (_TGMDIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGMDOe, + {_sSI: _cDTGMDRoma, _smit: None}, + (_TGMDr, _NTex), + ( + (lambda: TRANSIT_GATEWAY_MULTICAST_DOMAIN_LIST, {_aQN: _TGMDr, _sN: _tGMDr}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS: StaticOperationSchema = ( + 23, + n0, + _DTGMDe, + 0, + DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_INPUT, + DESCRIBE_TRANSIT_GATEWAY_MULTICAST_DOMAINS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_MULTICAST_DOMAIN_LIST: StaticSchema = ( + 16, + n0, + _TGMDL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_INPUT: StaticSchema = ( + 18, + n0, + _DTGPAIe, + {_sSI: _cDTGPARom, _sm: None}, + (_TGAIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGPAOe, + {_sSI: _cDTGPARoma, _smit: None}, + (_TGPAr, _NTex), + ( + (lambda: TRANSIT_GATEWAY_PEERING_ATTACHMENT_LIST, {_aQN: _TGPAr, _sN: _tGPAr}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS: StaticOperationSchema = ( + 23, + n0, + _DTGPAe, + 0, + DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_INPUT, + DESCRIBE_TRANSIT_GATEWAY_PEERING_ATTACHMENTS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_PEERING_ATTACHMENT_LIST: StaticSchema = ( + 16, + n0, + _TGPAL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_sN: _i}),), +) + +TRANSIT_GATEWAY_POLICY_TABLE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _TGPTISL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_INPUT: StaticSchema = ( + 18, + n0, + _DTGPTIe, + {_sSI: _cDTGPTRom, _sm: None}, + (_TGPTIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_POLICY_TABLE_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGPTOe, + {_sSI: _cDTGPTRoma, _smit: None}, + (_TGPTr, _NTex), + ( + (lambda: TRANSIT_GATEWAY_POLICY_TABLE_LIST, {_aQN: _TGPTr, _sN: _tGPTr}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES: StaticOperationSchema = ( + 23, + n0, + _DTGPTe, + 0, + DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_INPUT, + DESCRIBE_TRANSIT_GATEWAY_POLICY_TABLES_OUTPUT, + (), +) + +TRANSIT_GATEWAY_POLICY_TABLE_LIST: StaticSchema = ( + 16, + n0, + _TGPTL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE, {_sN: _i}),), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _TGRTAISL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_INPUT: StaticSchema = ( + 18, + n0, + _DTGRTAIe, + {_sSI: _cDTGRTARom, _sm: None}, + (_TGRTAIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGRTAOe, + {_sSI: _cDTGRTARoma, _smit: None}, + (_TGRTAr, _NTex), + ( + ( + lambda: TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_LIST, + {_aQN: _TGRTAr, _sN: _tGRTAr}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS: StaticOperationSchema = ( + 23, + n0, + _DTGRTAe, + 0, + DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_INPUT, + DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENTS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_LIST: StaticSchema = ( + 16, + n0, + _TGRTAL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT, {_sN: _i}),), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _TGRTISL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_INPUT: StaticSchema = ( + 18, + n0, + _DTGRTIe, + {_sSI: _cDTGRTRom, _sm: None}, + (_TGRTIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_ROUTE_TABLE_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGRTOe, + {_sSI: _cDTGRTRoma, _smit: None}, + (_TGRTra, _NTex), + ( + (lambda: TRANSIT_GATEWAY_ROUTE_TABLE_LIST, {_aQN: _TGRTra, _sN: _tGRTr}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES: StaticOperationSchema = ( + 23, + n0, + _DTGRTe, + 0, + DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_INPUT, + DESCRIBE_TRANSIT_GATEWAY_ROUTE_TABLES_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_LIST: StaticSchema = ( + 16, + n0, + _TGRTL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE, {_sN: _i}),), +) + +TRANSIT_GATEWAY_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _TGISL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_ID, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _DTGIe, + {_sSI: _cDTGRom, _sm: None}, + (_TGIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGOe, + {_sSI: _cDTGRoma, _smit: None}, + (_TGra, _NTex), + ( + (lambda: TRANSIT_GATEWAY_LIST, {_aQN: _TGSr, _sN: _tGS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _DTGe, + 0, + DESCRIBE_TRANSIT_GATEWAYS_INPUT, + DESCRIBE_TRANSIT_GATEWAYS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_LIST: StaticSchema = ( + 16, + n0, + _TGL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY, {_sN: _i}),), +) + +DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_INPUT: StaticSchema = ( + 18, + n0, + _DTGVAIe, + {_sSI: _cDTGVARom, _sm: None}, + (_TGAIr, _Fil, _MR, _NTex, _DR), + ( + (TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGVAOe, + {_sSI: _cDTGVARoma, _smit: None}, + (_TGVAr, _NTex), + ( + (lambda: TRANSIT_GATEWAY_VPC_ATTACHMENT_LIST, {_aQN: _TGVAr, _sN: _tGVAr}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS: StaticOperationSchema = ( + 23, + n0, + _DTGVAe, + 0, + DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_INPUT, + DESCRIBE_TRANSIT_GATEWAY_VPC_ATTACHMENTS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_VPC_ATTACHMENT_LIST: StaticSchema = ( + 16, + n0, + _TGVAL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_VPC_ATTACHMENT, {_sN: _i}),), +) + +TRUNK_INTERFACE_ASSOCIATION_ID_LIST: StaticSchema = ( + 16, + n0, + _TIAIL, + 0, + (_me,), + ((lambda: schemas.TRUNK_INTERFACE_ASSOCIATION_ID, {_sN: _i}),), +) + +DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_MAX_RESULTS: StaticSchema = (7, n0, _DTIAMR, 0) + +DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DTIAI, + {_sSI: _cDTIAR, _sm: None}, + (_AIsso, _DR, _Fil, _NTex, _MR), + ( + (TRUNK_INTERFACE_ASSOCIATION_ID_LIST, {_sN: _AIs}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, 0), + (DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_MAX_RESULTS, 0), + ), +) + +DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTIAO, + {_sSI: _cDTIARo, _smit: None}, + (_IAnt, _NTex), + ( + (lambda: TRUNK_INTERFACE_ASSOCIATION_LIST, {_aQN: _IASnt, _sN: _iASn}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _DTIA, + 0, + DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_INPUT, + DESCRIBE_TRUNK_INTERFACE_ASSOCIATIONS_OUTPUT, + (), +) + +TRUNK_INTERFACE_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _TIAL, + 0, + (_me,), + ((lambda: schemas.TRUNK_INTERFACE_ASSOCIATION, {_sN: _i}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_36.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_36.py new file mode 100644 index 000000000..8a73b67ee --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_36.py @@ -0,0 +1,1581 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_St = "State" +_st = "state" +_fa = "failed" +_mo = "modifying" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_VEI = "VpcEndpointId" +_VEIp = "VpcEndpointIds" +_dRr = "dryRun" +_N = "Name" +_nam = "name" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_ena = "enabled" +_MB = "ManagedBy" +_ds = "default_state" +_ds_ = "default-state" +_mB = "managedBy" +_LUT = "LastUpdateTimestamp" +_lUT = "lastUpdateTimestamp" +_Des = "Description" +_Rea = "Reason" +_rea = "reason" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_def = "default" +_of = "off" +_OA = "OutpostArn" +_FAILED = "FAILED" +_VAII = "VerifiedAccessInstanceId" +_VATPI = "VerifiedAccessTrustProviderId" +_vAII = "verifiedAccessInstanceId" +_VATP = "VerifiedAccessTrustProviders" +_VATPS = "VerifiedAccessTrustProviderSet" +_vATPS = "verifiedAccessTrustProviderSet" +_VIo = "VolumeId" +_vIo = "volumeId" +_Pre = "Prefix" +_pre = "prefix" +_S_ = "S3" +_ST = "StartTime" +_sTt = "startTime" +_Prog = "Progress" +_prog = "progress" +_compl = "completed" +_oA = "outpostArn" +_Op = "Operator" +_ope = "operator" +_Vol = "Volumes" +_VSo = "VolumeSet" +_vS = "volumeSet" +_Ena = "Enabled" +_bb = "block_bidirectional" +_bb_ = "block-bidirectional" +_bi = "block_ingress" +_bi_ = "block-ingress" +_IGBM = "InternetGatewayBlockMode" +_iGBM = "internetGatewayBlockMode" +_VECI = "VpcEncryptionControlId" +_s_ = "s3" +_uip = "update_in_progress" +_uip_ = "update-in-progress" +_uc = "update_complete" +_uc_ = "update-complete" +_NA = "NotAfter" +_nA = "notAfter" +_succe = "success" +_wa = "warning" +_MSo = "ModificationState" +_mS = "modificationState" +_AAIw = "AwsAccountId" +_aAI = "awsAccountId" +_VAGI = "VerifiedAccessGroupId" +_VAEI = "VerifiedAccessEndpointId" +_EIx = "ExclusionId" +_SUCCESS = "SUCCESS" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_Attr = "Attribute" +_MR = "MaxResults" +_nT = "nextToken" +_id_ = "insufficient-data" +_ok = "ok" +_imp = "impaired" +_Det = "Details" +_id__ = "insufficient_data" +_mR = "maxResults" +_ETnd = "EndTime" +_eTnd = "endTime" +_opti = "optimizing" +_ETv = "EventType" +_eTv = "eventType" +_pCr = "productCodes" +_PCro = "ProductCodes" +_IMR = "IncludeManagedResources" +_detai = "details" +_NB = "NotBefore" +_nB = "notBefore" +_Ev = "Events" +_ESv = "EventsSet" +_eSv = "eventsSet" +_DVAEMR = "DescribeVerifiedAccessEndpointsMaxResults" +_VAEIL = "VerifiedAccessEndpointIdList" +_DVAEIe = "DescribeVerifiedAccessEndpointsInput" +_cDVAERom = "com.amazonaws.ec2#DescribeVerifiedAccessEndpointsRequest" +_VAEIe = "VerifiedAccessEndpointIds" +_VAEL = "VerifiedAccessEndpointList" +_DVAEOe = "DescribeVerifiedAccessEndpointsOutput" +_cDVAERoma = "com.amazonaws.ec2#DescribeVerifiedAccessEndpointsResult" +_VAEe = "VerifiedAccessEndpoints" +_VAESe = "VerifiedAccessEndpointSet" +_vAES = "verifiedAccessEndpointSet" +_DVAEe = "DescribeVerifiedAccessEndpoints" +_DVAGMR = "DescribeVerifiedAccessGroupMaxResults" +_VAGIL = "VerifiedAccessGroupIdList" +_DVAGIe = "DescribeVerifiedAccessGroupsInput" +_cDVAGRom = "com.amazonaws.ec2#DescribeVerifiedAccessGroupsRequest" +_VAGIe = "VerifiedAccessGroupIds" +_VAGL = "VerifiedAccessGroupList" +_DVAGOe = "DescribeVerifiedAccessGroupsOutput" +_cDVAGRoma = "com.amazonaws.ec2#DescribeVerifiedAccessGroupsResult" +_VAGe = "VerifiedAccessGroups" +_VAGS = "VerifiedAccessGroupSet" +_vAGS = "verifiedAccessGroupSet" +_DVAGe = "DescribeVerifiedAccessGroups" +_DVAILCMR = "DescribeVerifiedAccessInstanceLoggingConfigurationsMaxResults" +_VAIIL = "VerifiedAccessInstanceIdList" +_DVAILCI = "DescribeVerifiedAccessInstanceLoggingConfigurationsInput" +_cDVAILCR = ( + "com.amazonaws.ec2#DescribeVerifiedAccessInstanceLoggingConfigurationsRequest" +) +_VAIIe = "VerifiedAccessInstanceIds" +_VALDSC = "VerifiedAccessLogDeliveryStatusCode" +_VALDS = "VerifiedAccessLogDeliveryStatus" +_VALCWLD = "VerifiedAccessLogCloudWatchLogsDestination" +_DSeli = "DeliveryStatus" +_dSel = "deliveryStatus" +_LGog = "LogGroup" +_lGo = "logGroup" +_VALKDFD = "VerifiedAccessLogKinesisDataFirehoseDestination" +_DSeliv = "DeliveryStream" +_dSeli = "deliveryStream" +_VALSD = "VerifiedAccessLogS3Destination" +_BN = "BucketName" +_bN = "bucketName" +_BOu = "BucketOwner" +_bOu = "bucketOwner" +_VALe = "VerifiedAccessLogs" +_CWL = "CloudWatchLogs" +_cWL = "cloudWatchLogs" +_KDF = "KinesisDataFirehose" +_kDF = "kinesisDataFirehose" +_LVo = "LogVersion" +_lV = "logVersion" +_ITCn = "IncludeTrustContext" +_iTCn = "includeTrustContext" +_VAILC = "VerifiedAccessInstanceLoggingConfiguration" +_ALc = "AccessLogs" +_aL = "accessLogs" +_VAILCL = "VerifiedAccessInstanceLoggingConfigurationList" +_DVAILCO = "DescribeVerifiedAccessInstanceLoggingConfigurationsOutput" +_cDVAILCRo = ( + "com.amazonaws.ec2#DescribeVerifiedAccessInstanceLoggingConfigurationsResult" +) +_LCo = "LoggingConfigurations" +_LCS = "LoggingConfigurationSet" +_lCS = "loggingConfigurationSet" +_DVAILC = "DescribeVerifiedAccessInstanceLoggingConfigurations" +_DVAIMR = "DescribeVerifiedAccessInstancesMaxResults" +_DVAIIe = "DescribeVerifiedAccessInstancesInput" +_cDVAIRom = "com.amazonaws.ec2#DescribeVerifiedAccessInstancesRequest" +_VAIL = "VerifiedAccessInstanceList" +_DVAIOe = "DescribeVerifiedAccessInstancesOutput" +_cDVAIRoma = "com.amazonaws.ec2#DescribeVerifiedAccessInstancesResult" +_VAIe = "VerifiedAccessInstances" +_VAIS = "VerifiedAccessInstanceSet" +_vAIS = "verifiedAccessInstanceSet" +_DVAIe = "DescribeVerifiedAccessInstances" +_DVATPMR = "DescribeVerifiedAccessTrustProvidersMaxResults" +_VATPIL = "VerifiedAccessTrustProviderIdList" +_DVATPIe = "DescribeVerifiedAccessTrustProvidersInput" +_cDVATPRom = "com.amazonaws.ec2#DescribeVerifiedAccessTrustProvidersRequest" +_VATPIe = "VerifiedAccessTrustProviderIds" +_VATPL = "VerifiedAccessTrustProviderList" +_DVATPOe = "DescribeVerifiedAccessTrustProvidersOutput" +_cDVATPRoma = "com.amazonaws.ec2#DescribeVerifiedAccessTrustProvidersResult" +_DVATPe = "DescribeVerifiedAccessTrustProviders" +_VAN = "VolumeAttributeName" +_aEIO = "autoEnableIO" +_DVAIes = "DescribeVolumeAttributeInput" +_cDVAR = "com.amazonaws.ec2#DescribeVolumeAttributeRequest" +_DVAO = "DescribeVolumeAttributeOutput" +_cDVARo = "com.amazonaws.ec2#DescribeVolumeAttributeResult" +_AEIO = "AutoEnableIO" +_DVA = "DescribeVolumeAttribute" +_DVIes = "DescribeVolumesInput" +_cDVRom = "com.amazonaws.ec2#DescribeVolumesRequest" +_VIol = "VolumeIds" +_DVOes = "DescribeVolumesOutput" +_cDVRoma = "com.amazonaws.ec2#DescribeVolumesResult" +_DVes = "DescribeVolumes" +_DVMI = "DescribeVolumesModificationsInput" +_cDVMR = "com.amazonaws.ec2#DescribeVolumesModificationsRequest" +_VMS = "VolumeModificationState" +_VM = "VolumeModification" +_TSarg = "TargetSize" +_tSarg = "targetSize" +_TIar = "TargetIops" +_tIar = "targetIops" +_TVT = "TargetVolumeType" +_tVT = "targetVolumeType" +_TTa = "TargetThroughput" +_tTa = "targetThroughput" +_TMAE = "TargetMultiAttachEnabled" +_tMAE = "targetMultiAttachEnabled" +_OSr = "OriginalSize" +_oSr = "originalSize" +_OIr = "OriginalIops" +_oIr = "originalIops" +_OVT = "OriginalVolumeType" +_oVT = "originalVolumeType" +_OTr = "OriginalThroughput" +_oTr = "originalThroughput" +_OMAE = "OriginalMultiAttachEnabled" +_oMAE = "originalMultiAttachEnabled" +_VML = "VolumeModificationList" +_DVMO = "DescribeVolumesModificationsOutput" +_cDVMRo = "com.amazonaws.ec2#DescribeVolumesModificationsResult" +_VMo = "VolumesModifications" +_VMSo = "VolumeModificationSet" +_vMS = "volumeModificationSet" +_DVM = "DescribeVolumesModifications" +_DVSI = "DescribeVolumeStatusInput" +_cDVSR = "com.amazonaws.ec2#DescribeVolumeStatusRequest" +_VSA = "VolumeStatusAction" +_EIve = "EventId" +_eIve = "eventId" +_VSAL = "VolumeStatusActionsList" +_VSAS = "VolumeStatusAttachmentStatus" +_IPo = "IoPerformance" +_iPo = "ioPerformance" +_VSASL = "VolumeStatusAttachmentStatusList" +_VSE = "VolumeStatusEvent" +_VSEL = "VolumeStatusEventsList" +_ITni = "InitializationType" +_pr_ = "provisioned_rate" +_pr__ = "provisioned-rate" +_vc____ = "volume_copy" +_vc_____ = "volume-copy" +_ISDn = "InitializationStatusDetails" +_iTni = "initializationType" +_ETTCIS = "EstimatedTimeToCompleteInSeconds" +_eTTCIS = "estimatedTimeToCompleteInSeconds" +_VSN = "VolumeStatusName" +_ie_____ = "io_enabled" +_ie______ = "io-enabled" +_ip_________ = "io_performance" +_ip__________ = "io-performance" +_is______ = "initialization_state" +_is_______ = "initialization-state" +_VSD = "VolumeStatusDetails" +_VSDL = "VolumeStatusDetailsList" +_VSIS = "VolumeStatusInfoStatus" +_VSI = "VolumeStatusInfo" +_VSIo = "VolumeStatusItem" +_Acti = "Actions" +_ASct = "ActionsSet" +_aSct = "actionsSet" +_VSolu = "VolumeStatus" +_vSol = "volumeStatus" +_ASttac = "AttachmentStatuses" +_aStta = "attachmentStatuses" +_iSD = "initializationStatusDetails" +_VSLo = "VolumeStatusList" +_DVSO = "DescribeVolumeStatusOutput" +_cDVSRo = "com.amazonaws.ec2#DescribeVolumeStatusResult" +_VSolum = "VolumeStatuses" +_VSS = "VolumeStatusSet" +_vSS = "volumeStatusSet" +_DVS = "DescribeVolumeStatus" +_VANp = "VpcAttributeName" +_eDS = "enableDnsSupport" +_eDH = "enableDnsHostnames" +_eNAUM = "enableNetworkAddressUsageMetrics" +_DVAIesc = "DescribeVpcAttributeInput" +_cDVARom = "com.amazonaws.ec2#DescribeVpcAttributeRequest" +_DVAOe = "DescribeVpcAttributeOutput" +_cDVARoma = "com.amazonaws.ec2#DescribeVpcAttributeResult" +_EDH = "EnableDnsHostnames" +_EDS = "EnableDnsSupport" +_ENAUM = "EnableNetworkAddressUsageMetrics" +_DVAe = "DescribeVpcAttribute" +_VBPAEIL = "VpcBlockPublicAccessExclusionIdList" +_DVBPAEMR = "DescribeVpcBlockPublicAccessExclusionsMaxResults" +_DVBPAEIe = "DescribeVpcBlockPublicAccessExclusionsInput" +_cDVBPAERom = "com.amazonaws.ec2#DescribeVpcBlockPublicAccessExclusionsRequest" +_EIxc = "ExclusionIds" +_VBPAEL = "VpcBlockPublicAccessExclusionList" +_DVBPAEOe = "DescribeVpcBlockPublicAccessExclusionsOutput" +_cDVBPAERoma = "com.amazonaws.ec2#DescribeVpcBlockPublicAccessExclusionsResult" +_VBPAEp = "VpcBlockPublicAccessExclusions" +_VBPAESp = "VpcBlockPublicAccessExclusionSet" +_vBPAES = "vpcBlockPublicAccessExclusionSet" +_DVBPAEe = "DescribeVpcBlockPublicAccessExclusions" +_DVBPAOI = "DescribeVpcBlockPublicAccessOptionsInput" +_cDVBPAOR = "com.amazonaws.ec2#DescribeVpcBlockPublicAccessOptionsRequest" +_VBPAEA = "VpcBlockPublicAccessExclusionsAllowed" +_allo = "allowed" +_na_______ = "not_allowed" +_na________ = "not-allowed" +_VBPAS = "VpcBlockPublicAccessState" +_VBPAO = "VpcBlockPublicAccessOptions" +_ARw = "AwsRegion" +_aRw = "awsRegion" +_EAx = "ExclusionsAllowed" +_eAx = "exclusionsAllowed" +_DVBPAOO = "DescribeVpcBlockPublicAccessOptionsOutput" +_cDVBPAORo = "com.amazonaws.ec2#DescribeVpcBlockPublicAccessOptionsResult" +_vBPAO = "vpcBlockPublicAccessOptions" +_DVBPAO = "DescribeVpcBlockPublicAccessOptions" +_VCLIL = "VpcClassicLinkIdList" +_DVCLI = "DescribeVpcClassicLinkInput" +_cDVCLR = "com.amazonaws.ec2#DescribeVpcClassicLinkRequest" +_VIp = "VpcIds" +_VCL = "VpcClassicLink" +_CLE = "ClassicLinkEnabled" +_cLE = "classicLinkEnabled" +_VCLL = "VpcClassicLinkList" +_DVCLO = "DescribeVpcClassicLinkOutput" +_cDVCLRo = "com.amazonaws.ec2#DescribeVpcClassicLinkResult" +_Vpc = "Vpcs" +_VSpc = "VpcSet" +_vSp = "vpcSet" +_DVCL = "DescribeVpcClassicLink" +_DVCLDSMR = "DescribeVpcClassicLinkDnsSupportMaxResults" +_DVCLDSNT = "DescribeVpcClassicLinkDnsSupportNextToken" +_DVCLDSI = "DescribeVpcClassicLinkDnsSupportInput" +_cDVCLDSR = "com.amazonaws.ec2#DescribeVpcClassicLinkDnsSupportRequest" +_CLDS = "ClassicLinkDnsSupport" +_CLDSl = "ClassicLinkDnsSupported" +_cLDS = "classicLinkDnsSupported" +_CLDSL = "ClassicLinkDnsSupportList" +_DVCLDSO = "DescribeVpcClassicLinkDnsSupportOutput" +_cDVCLDSRo = "com.amazonaws.ec2#DescribeVpcClassicLinkDnsSupportResult" +_vpcs = "vpcs" +_DVCLDS = "DescribeVpcClassicLinkDnsSupport" +_DVECMR = "DescribeVpcEncryptionControlsMaxResults" +_VECIL = "VpcEncryptionControlIdList" +_DVECIe = "DescribeVpcEncryptionControlsInput" +_cDVECRom = "com.amazonaws.ec2#DescribeVpcEncryptionControlsRequest" +_VECIp = "VpcEncryptionControlIds" +_VECL = "VpcEncryptionControlList" +_DVECOe = "DescribeVpcEncryptionControlsOutput" +_cDVECRoma = "com.amazonaws.ec2#DescribeVpcEncryptionControlsResult" +_VECpc = "VpcEncryptionControls" +_VECSp = "VpcEncryptionControlSet" +_vECS = "vpcEncryptionControlSet" +_DVECe = "DescribeVpcEncryptionControls" +_MRa = "MaxResults2" +_DVEAI = "DescribeVpcEndpointAssociationsInput" +_cDVEAR = "com.amazonaws.ec2#DescribeVpcEndpointAssociationsRequest" +_VEAS = "VpcEndpointAssociationSet" +_DVEAO = "DescribeVpcEndpointAssociationsOutput" +_cDVEARo = "com.amazonaws.ec2#DescribeVpcEndpointAssociationsResult" +_VEApc = "VpcEndpointAssociations" +_vEAS = "vpcEndpointAssociationSet" +_DVEA = "DescribeVpcEndpointAssociations" + +DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_MAX_RESULTS: StaticSchema = (7, n0, _DVAEMR, 0) + +VERIFIED_ACCESS_ENDPOINT_ID_LIST: StaticSchema = ( + 16, + n0, + _VAEIL, + 0, + (_me,), + ((lambda: schemas.VERIFIED_ACCESS_ENDPOINT_ID, {_sN: _i}),), +) + +DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _DVAEIe, + {_sSI: _cDVAERom, _sm: None}, + (_VAEIe, _VAII, _VAGI, _MR, _NTex, _Fil, _DR), + ( + (VERIFIED_ACCESS_ENDPOINT_ID_LIST, {_sN: _VAEI}), + (lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 0), + (lambda: schemas.VERIFIED_ACCESS_GROUP_ID, 0), + (DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVAEOe, + {_sSI: _cDVAERoma, _smit: None}, + (_VAEe, _NTex), + ( + (lambda: VERIFIED_ACCESS_ENDPOINT_LIST, {_aQN: _VAESe, _sN: _vAES}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VERIFIED_ACCESS_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _DVAEe, + 0, + DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_INPUT, + DESCRIBE_VERIFIED_ACCESS_ENDPOINTS_OUTPUT, + (), +) + +VERIFIED_ACCESS_ENDPOINT_LIST: StaticSchema = ( + 16, + n0, + _VAEL, + 0, + (_me,), + ((lambda: schemas.VERIFIED_ACCESS_ENDPOINT, {_sN: _i}),), +) + +DESCRIBE_VERIFIED_ACCESS_GROUP_MAX_RESULTS: StaticSchema = (7, n0, _DVAGMR, 0) + +VERIFIED_ACCESS_GROUP_ID_LIST: StaticSchema = ( + 16, + n0, + _VAGIL, + 0, + (_me,), + ((lambda: schemas.VERIFIED_ACCESS_GROUP_ID, {_sN: _i}),), +) + +DESCRIBE_VERIFIED_ACCESS_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DVAGIe, + {_sSI: _cDVAGRom, _sm: None}, + (_VAGIe, _VAII, _MR, _NTex, _Fil, _DR), + ( + (VERIFIED_ACCESS_GROUP_ID_LIST, {_sN: _VAGI}), + (lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 0), + (DESCRIBE_VERIFIED_ACCESS_GROUP_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_VERIFIED_ACCESS_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVAGOe, + {_sSI: _cDVAGRoma, _smit: None}, + (_VAGe, _NTex), + ( + (lambda: VERIFIED_ACCESS_GROUP_LIST, {_aQN: _VAGS, _sN: _vAGS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VERIFIED_ACCESS_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DVAGe, + 0, + DESCRIBE_VERIFIED_ACCESS_GROUPS_INPUT, + DESCRIBE_VERIFIED_ACCESS_GROUPS_OUTPUT, + (), +) + +VERIFIED_ACCESS_GROUP_LIST: StaticSchema = ( + 16, + n0, + _VAGL, + 0, + (_me,), + ((lambda: schemas.VERIFIED_ACCESS_GROUP, {_sN: _i}),), +) + +DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DVAILCMR, + 0, +) + +VERIFIED_ACCESS_INSTANCE_ID_LIST: StaticSchema = ( + 16, + n0, + _VAIIL, + 0, + (_me,), + ((lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, {_sN: _i}),), +) + +DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVAILCI, + {_sSI: _cDVAILCR, _sm: None}, + (_VAIIe, _MR, _NTex, _Fil, _DR), + ( + (VERIFIED_ACCESS_INSTANCE_ID_LIST, {_sN: _VAII}), + (DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVAILCO, + {_sSI: _cDVAILCRo, _smit: None}, + (_LCo, _NTex), + ( + ( + lambda: VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_LIST, + {_aQN: _LCS, _sN: _lCS}, + ), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _DVAILC, + 0, + DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_INPUT, + DESCRIBE_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATIONS_OUTPUT, + (), +) + +VERIFIED_ACCESS_LOG_DELIVERY_STATUS_CODE: StaticSchema = ( + 14, + n0, + _VALDSC, + 0, + (_SUCCESS, _FAILED), + ((-1, {_sV: _succe}), (-1, {_sV: _fa})), +) + +VERIFIED_ACCESS_LOG_DELIVERY_STATUS: StaticSchema = ( + 18, + n0, + _VALDS, + 0, + (_C, _Me), + ( + (VERIFIED_ACCESS_LOG_DELIVERY_STATUS_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION: StaticSchema = ( + 18, + n0, + _VALCWLD, + 0, + (_Ena, _DSeli, _LGog), + ( + (lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena}), + (VERIFIED_ACCESS_LOG_DELIVERY_STATUS, {_aQN: _DSeli, _sN: _dSel}), + (lambda: schemas.STRING, {_aQN: _LGog, _sN: _lGo}), + ), +) + +VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION: StaticSchema = ( + 18, + n0, + _VALKDFD, + 0, + (_Ena, _DSeli, _DSeliv), + ( + (lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena}), + (VERIFIED_ACCESS_LOG_DELIVERY_STATUS, {_aQN: _DSeli, _sN: _dSel}), + (lambda: schemas.STRING, {_aQN: _DSeliv, _sN: _dSeli}), + ), +) + +VERIFIED_ACCESS_LOG_S3_DESTINATION: StaticSchema = ( + 18, + n0, + _VALSD, + 0, + (_Ena, _DSeli, _BN, _Pre, _BOu), + ( + (lambda: schemas.BOOLEAN, {_aQN: _Ena, _sN: _ena}), + (VERIFIED_ACCESS_LOG_DELIVERY_STATUS, {_aQN: _DSeli, _sN: _dSel}), + (lambda: schemas.STRING, {_aQN: _BN, _sN: _bN}), + (lambda: schemas.STRING, {_aQN: _Pre, _sN: _pre}), + (lambda: schemas.STRING, {_aQN: _BOu, _sN: _bOu}), + ), +) + +VERIFIED_ACCESS_LOGS: StaticSchema = ( + 18, + n0, + _VALe, + 0, + (_S_, _CWL, _KDF, _LVo, _ITCn), + ( + (VERIFIED_ACCESS_LOG_S3_DESTINATION, {_aQN: _S_, _sN: _s_}), + (VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION, {_aQN: _CWL, _sN: _cWL}), + ( + VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION, + {_aQN: _KDF, _sN: _kDF}, + ), + (lambda: schemas.STRING, {_aQN: _LVo, _sN: _lV}), + (lambda: schemas.BOOLEAN, {_aQN: _ITCn, _sN: _iTCn}), + ), +) + +VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VAILC, + 0, + (_VAII, _ALc), + ( + (lambda: schemas.STRING, {_aQN: _VAII, _sN: _vAII}), + (VERIFIED_ACCESS_LOGS, {_aQN: _ALc, _sN: _aL}), + ), +) + +VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _VAILCL, + 0, + (_me,), + ((VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION, {_sN: _i}),), +) + +DESCRIBE_VERIFIED_ACCESS_INSTANCES_MAX_RESULTS: StaticSchema = (7, n0, _DVAIMR, 0) + +DESCRIBE_VERIFIED_ACCESS_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DVAIIe, + {_sSI: _cDVAIRom, _sm: None}, + (_VAIIe, _MR, _NTex, _Fil, _DR), + ( + (VERIFIED_ACCESS_INSTANCE_ID_LIST, {_sN: _VAII}), + (DESCRIBE_VERIFIED_ACCESS_INSTANCES_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_VERIFIED_ACCESS_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DVAIOe, + {_sSI: _cDVAIRoma, _smit: None}, + (_VAIe, _NTex), + ( + (lambda: VERIFIED_ACCESS_INSTANCE_LIST, {_aQN: _VAIS, _sN: _vAIS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VERIFIED_ACCESS_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DVAIe, + 0, + DESCRIBE_VERIFIED_ACCESS_INSTANCES_INPUT, + DESCRIBE_VERIFIED_ACCESS_INSTANCES_OUTPUT, + (), +) + +VERIFIED_ACCESS_INSTANCE_LIST: StaticSchema = ( + 16, + n0, + _VAIL, + 0, + (_me,), + ((lambda: schemas.VERIFIED_ACCESS_INSTANCE, {_sN: _i}),), +) + +DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DVATPMR, + 0, +) + +VERIFIED_ACCESS_TRUST_PROVIDER_ID_LIST: StaticSchema = ( + 16, + n0, + _VATPIL, + 0, + (_me,), + ((lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER_ID, {_sN: _i}),), +) + +DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _DVATPIe, + {_sSI: _cDVATPRom, _sm: None}, + (_VATPIe, _MR, _NTex, _Fil, _DR), + ( + (VERIFIED_ACCESS_TRUST_PROVIDER_ID_LIST, {_sN: _VATPI}), + (DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVATPOe, + {_sSI: _cDVATPRoma, _smit: None}, + (_VATP, _NTex), + ( + (lambda: VERIFIED_ACCESS_TRUST_PROVIDER_LIST, {_aQN: _VATPS, _sN: _vATPS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _DVATPe, + 0, + DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_INPUT, + DESCRIBE_VERIFIED_ACCESS_TRUST_PROVIDERS_OUTPUT, + (), +) + +VERIFIED_ACCESS_TRUST_PROVIDER_LIST: StaticSchema = ( + 16, + n0, + _VATPL, + 0, + (_me,), + ((lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER, {_sN: _i}),), +) + +VOLUME_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _VAN, + 0, + (_aEIO, _pCr), + ((-1, {_sV: _aEIO}), (-1, {_sV: _pCr})), +) + +DESCRIBE_VOLUME_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _DVAIes, + {_sSI: _cDVAR, _sm: None}, + (_Attr, _VIo, _DR), + ( + (VOLUME_ATTRIBUTE_NAME, 1), + (lambda: schemas.VOLUME_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DESCRIBE_VOLUME_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DVAO, + {_sSI: _cDVARo, _smit: None}, + (_AEIO, _PCro, _VIo), + ( + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _AEIO, _sN: _aEIO}), + (lambda: schemas.PRODUCT_CODE_LIST, {_aQN: _PCro, _sN: _pCr}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + ), +) + +DESCRIBE_VOLUME_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _DVA, + 0, + DESCRIBE_VOLUME_ATTRIBUTE_INPUT, + DESCRIBE_VOLUME_ATTRIBUTE_OUTPUT, + (), +) + +DESCRIBE_VOLUMES_INPUT: StaticSchema = ( + 18, + n0, + _DVIes, + {_sSI: _cDVRom, _sm: None}, + (_VIol, _IMR, _DR, _Fil, _NTex, _MR), + ( + (lambda: schemas.VOLUME_ID_STRING_LIST, {_sN: _VIo}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.INTEGER, {_aQN: _MR, _sN: _mR}), + ), +) + +DESCRIBE_VOLUMES_OUTPUT: StaticSchema = ( + 18, + n0, + _DVOes, + {_sSI: _cDVRoma, _smit: None}, + (_NTex, _Vol), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.VOLUME_LIST, {_aQN: _VSo, _sN: _vS}), + ), +) + +DESCRIBE_VOLUMES: StaticOperationSchema = ( + 23, + n0, + _DVes, + 0, + DESCRIBE_VOLUMES_INPUT, + DESCRIBE_VOLUMES_OUTPUT, + (), +) + +DESCRIBE_VOLUMES_MODIFICATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVMI, + {_sSI: _cDVMR, _sm: None}, + (_DR, _VIol, _Fil, _NTex, _MR, _IMR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VOLUME_ID_STRING_LIST, {_sN: _VIo}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_VOLUMES_MODIFICATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVMO, + {_sSI: _cDVMRo, _smit: None}, + (_NTex, _VMo), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: VOLUME_MODIFICATION_LIST, {_aQN: _VMSo, _sN: _vMS}), + ), +) + +DESCRIBE_VOLUMES_MODIFICATIONS: StaticOperationSchema = ( + 23, + n0, + _DVM, + 0, + DESCRIBE_VOLUMES_MODIFICATIONS_INPUT, + DESCRIBE_VOLUMES_MODIFICATIONS_OUTPUT, + (), +) + +VOLUME_MODIFICATION_STATE: StaticSchema = ( + 14, + n0, + _VMS, + 0, + (_mo, _opti, _compl, _fa), + ((-1, {_sV: _mo}), (-1, {_sV: _opti}), (-1, {_sV: _compl}), (-1, {_sV: _fa})), +) + +VOLUME_MODIFICATION: StaticSchema = ( + 18, + n0, + _VM, + 0, + ( + _VIo, + _MSo, + _SMt, + _TSarg, + _TIar, + _TVT, + _TTa, + _TMAE, + _OSr, + _OIr, + _OVT, + _OTr, + _OMAE, + _Prog, + _ST, + _ETnd, + _Op, + ), + ( + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (VOLUME_MODIFICATION_STATE, {_aQN: _MSo, _sN: _mS}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.INTEGER, {_aQN: _TSarg, _sN: _tSarg}), + (lambda: schemas.INTEGER, {_aQN: _TIar, _sN: _tIar}), + (lambda: schemas.VOLUME_TYPE, {_aQN: _TVT, _sN: _tVT}), + (lambda: schemas.INTEGER, {_aQN: _TTa, _sN: _tTa}), + (lambda: schemas.BOOLEAN, {_aQN: _TMAE, _sN: _tMAE}), + (lambda: schemas.INTEGER, {_aQN: _OSr, _sN: _oSr}), + (lambda: schemas.INTEGER, {_aQN: _OIr, _sN: _oIr}), + (lambda: schemas.VOLUME_TYPE, {_aQN: _OVT, _sN: _oVT}), + (lambda: schemas.INTEGER, {_aQN: _OTr, _sN: _oTr}), + (lambda: schemas.BOOLEAN, {_aQN: _OMAE, _sN: _oMAE}), + (lambda: schemas.LONG, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + ), +) + +VOLUME_MODIFICATION_LIST: StaticSchema = ( + 16, + n0, + _VML, + 0, + (_me,), + ((VOLUME_MODIFICATION, {_sN: _i}),), +) + +DESCRIBE_VOLUME_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _DVSI, + {_sSI: _cDVSR, _sm: None}, + (_MR, _NTex, _VIol, _IMR, _DR, _Fil), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VOLUME_ID_STRING_LIST, {_sN: _VIo}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_VOLUME_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVSO, + {_sSI: _cDVSRo, _smit: None}, + (_NTex, _VSolum), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: VOLUME_STATUS_LIST, {_aQN: _VSS, _sN: _vSS}), + ), +) + +DESCRIBE_VOLUME_STATUS: StaticOperationSchema = ( + 23, + n0, + _DVS, + 0, + DESCRIBE_VOLUME_STATUS_INPUT, + DESCRIBE_VOLUME_STATUS_OUTPUT, + (), +) + +VOLUME_STATUS_ACTION: StaticSchema = ( + 18, + n0, + _VSA, + 0, + (_C, _Des, _EIve, _ETv), + ( + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _EIve, _sN: _eIve}), + (lambda: schemas.STRING, {_aQN: _ETv, _sN: _eTv}), + ), +) + +VOLUME_STATUS_ACTIONS_LIST: StaticSchema = ( + 16, + n0, + _VSAL, + 0, + (_me,), + ((VOLUME_STATUS_ACTION, {_sN: _i}),), +) + +VOLUME_STATUS_ATTACHMENT_STATUS: StaticSchema = ( + 18, + n0, + _VSAS, + 0, + (_IPo, _II), + ( + (lambda: schemas.STRING, {_aQN: _IPo, _sN: _iPo}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + ), +) + +VOLUME_STATUS_ATTACHMENT_STATUS_LIST: StaticSchema = ( + 16, + n0, + _VSASL, + 0, + (_me,), + ((VOLUME_STATUS_ATTACHMENT_STATUS, {_sN: _i}),), +) + +VOLUME_STATUS_EVENT: StaticSchema = ( + 18, + n0, + _VSE, + 0, + (_Des, _EIve, _ETv, _NA, _NB, _II), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _EIve, _sN: _eIve}), + (lambda: schemas.STRING, {_aQN: _ETv, _sN: _eTv}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _NA, _sN: _nA}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _NB, _sN: _nB}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + ), +) + +VOLUME_STATUS_EVENTS_LIST: StaticSchema = ( + 16, + n0, + _VSEL, + 0, + (_me,), + ((VOLUME_STATUS_EVENT, {_sN: _i}),), +) + +INITIALIZATION_TYPE: StaticSchema = ( + 14, + n0, + _ITni, + 0, + (_def, _pr_, _vc____), + ((-1, {_sV: _def}), (-1, {_sV: _pr__}), (-1, {_sV: _vc_____})), +) + +INITIALIZATION_STATUS_DETAILS: StaticSchema = ( + 18, + n0, + _ISDn, + 0, + (_ITni, _Prog, _ETTCIS), + ( + (INITIALIZATION_TYPE, {_aQN: _ITni, _sN: _iTni}), + (lambda: schemas.LONG, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.LONG, {_aQN: _ETTCIS, _sN: _eTTCIS}), + ), +) + +VOLUME_STATUS_NAME: StaticSchema = ( + 14, + n0, + _VSN, + 0, + (_ie_____, _ip_________, _is______), + ((-1, {_sV: _ie______}), (-1, {_sV: _ip__________}), (-1, {_sV: _is_______})), +) + +VOLUME_STATUS_DETAILS: StaticSchema = ( + 18, + n0, + _VSD, + 0, + (_N, _Sta), + ( + (VOLUME_STATUS_NAME, {_aQN: _N, _sN: _nam}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + ), +) + +VOLUME_STATUS_DETAILS_LIST: StaticSchema = ( + 16, + n0, + _VSDL, + 0, + (_me,), + ((VOLUME_STATUS_DETAILS, {_sN: _i}),), +) + +VOLUME_STATUS_INFO_STATUS: StaticSchema = ( + 14, + n0, + _VSIS, + 0, + (_ok, _imp, _id__, _wa), + ((-1, {_sV: _ok}), (-1, {_sV: _imp}), (-1, {_sV: _id_}), (-1, {_sV: _wa})), +) + +VOLUME_STATUS_INFO: StaticSchema = ( + 18, + n0, + _VSI, + 0, + (_Det, _Sta), + ( + (VOLUME_STATUS_DETAILS_LIST, {_aQN: _Det, _sN: _detai}), + (VOLUME_STATUS_INFO_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +VOLUME_STATUS_ITEM: StaticSchema = ( + 18, + n0, + _VSIo, + 0, + (_Acti, _AZ, _OA, _Ev, _VIo, _VSolu, _ASttac, _ISDn, _AZI, _Op), + ( + (VOLUME_STATUS_ACTIONS_LIST, {_aQN: _ASct, _sN: _aSct}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (VOLUME_STATUS_EVENTS_LIST, {_aQN: _ESv, _sN: _eSv}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (VOLUME_STATUS_INFO, {_aQN: _VSolu, _sN: _vSol}), + (VOLUME_STATUS_ATTACHMENT_STATUS_LIST, {_aQN: _ASttac, _sN: _aStta}), + (INITIALIZATION_STATUS_DETAILS, {_aQN: _ISDn, _sN: _iSD}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + ), +) + +VOLUME_STATUS_LIST: StaticSchema = ( + 16, + n0, + _VSLo, + 0, + (_me,), + ((VOLUME_STATUS_ITEM, {_sN: _i}),), +) + +VPC_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _VANp, + 0, + (_eDS, _eDH, _eNAUM), + ((-1, {_sV: _eDS}), (-1, {_sV: _eDH}), (-1, {_sV: _eNAUM})), +) + +DESCRIBE_VPC_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _DVAIesc, + {_sSI: _cDVARom, _sm: None}, + (_Attr, _VI, _DR), + ( + (VPC_ATTRIBUTE_NAME, 1), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DESCRIBE_VPC_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DVAOe, + {_sSI: _cDVARoma, _smit: None}, + (_EDH, _EDS, _ENAUM, _VI), + ( + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _EDH, _sN: _eDH}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _EDS, _sN: _eDS}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _ENAUM, _sN: _eNAUM}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + ), +) + +DESCRIBE_VPC_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _DVAe, + 0, + DESCRIBE_VPC_ATTRIBUTE_INPUT, + DESCRIBE_VPC_ATTRIBUTE_OUTPUT, + (), +) + +VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID_LIST: StaticSchema = ( + 16, + n0, + _VBPAEIL, + 0, + (_me,), + ((lambda: schemas.VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID, {_sN: _i}),), +) + +DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _DVBPAEMR, + 0, +) + +DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVBPAEIe, + {_sSI: _cDVBPAERom, _sm: None}, + (_DR, _Fil, _EIxc, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID_LIST, {_sN: _EIx}), + (lambda: schemas.STRING, 0), + (DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_MAX_RESULTS, 0), + ), +) + +DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVBPAEOe, + {_sSI: _cDVBPAERoma, _smit: None}, + (_VBPAEp, _NTex), + ( + ( + lambda: VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_LIST, + {_aQN: _VBPAESp, _sN: _vBPAES}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS: StaticOperationSchema = ( + 23, + n0, + _DVBPAEe, + 0, + DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_INPUT, + DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_OUTPUT, + (), +) + +VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_LIST: StaticSchema = ( + 16, + n0, + _VBPAEL, + 0, + (_me,), + ((lambda: schemas.VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION, {_sN: _i}),), +) + +DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVBPAOI, + {_sSI: _cDVBPAOR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVBPAOO, + {_sSI: _cDVBPAORo, _smit: None}, + (_VBPAO,), + ((lambda: VPC_BLOCK_PUBLIC_ACCESS_OPTIONS, {_aQN: _VBPAO, _sN: _vBPAO}),), +) + +DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _DVBPAO, + 0, + DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT, + DESCRIBE_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT, + (), +) + +VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_ALLOWED: StaticSchema = ( + 14, + n0, + _VBPAEA, + 0, + (_allo, _na_______), + ((-1, {_sV: _allo}), (-1, {_sV: _na________})), +) + +INTERNET_GATEWAY_BLOCK_MODE: StaticSchema = ( + 14, + n0, + _IGBM, + 0, + (_of, _bb, _bi), + ((-1, {_sV: _of}), (-1, {_sV: _bb_}), (-1, {_sV: _bi_})), +) + +VPC_BLOCK_PUBLIC_ACCESS_STATE: StaticSchema = ( + 14, + n0, + _VBPAS, + 0, + (_ds, _uip, _uc), + ((-1, {_sV: _ds_}), (-1, {_sV: _uip_}), (-1, {_sV: _uc_})), +) + +VPC_BLOCK_PUBLIC_ACCESS_OPTIONS: StaticSchema = ( + 18, + n0, + _VBPAO, + 0, + (_AAIw, _ARw, _St, _IGBM, _Rea, _LUT, _MB, _EAx), + ( + (lambda: schemas.STRING, {_aQN: _AAIw, _sN: _aAI}), + (lambda: schemas.STRING, {_aQN: _ARw, _sN: _aRw}), + (VPC_BLOCK_PUBLIC_ACCESS_STATE, {_aQN: _St, _sN: _st}), + (INTERNET_GATEWAY_BLOCK_MODE, {_aQN: _IGBM, _sN: _iGBM}), + (lambda: schemas.STRING, {_aQN: _Rea, _sN: _rea}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LUT, _sN: _lUT}), + (lambda: schemas.MANAGED_BY, {_aQN: _MB, _sN: _mB}), + (VPC_BLOCK_PUBLIC_ACCESS_EXCLUSIONS_ALLOWED, {_aQN: _EAx, _sN: _eAx}), + ), +) + +VPC_CLASSIC_LINK_ID_LIST: StaticSchema = ( + 16, + n0, + _VCLIL, + 0, + (_me,), + ((lambda: schemas.VPC_ID, {_sN: _VI}),), +) + +DESCRIBE_VPC_CLASSIC_LINK_INPUT: StaticSchema = ( + 18, + n0, + _DVCLI, + {_sSI: _cDVCLR, _sm: None}, + (_DR, _VIp, _Fil), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (VPC_CLASSIC_LINK_ID_LIST, {_sN: _VI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_VPC_CLASSIC_LINK_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCLO, + {_sSI: _cDVCLRo, _smit: None}, + (_Vpc,), + ((lambda: VPC_CLASSIC_LINK_LIST, {_aQN: _VSpc, _sN: _vSp}),), +) + +DESCRIBE_VPC_CLASSIC_LINK: StaticOperationSchema = ( + 23, + n0, + _DVCL, + 0, + DESCRIBE_VPC_CLASSIC_LINK_INPUT, + DESCRIBE_VPC_CLASSIC_LINK_OUTPUT, + (), +) + +VPC_CLASSIC_LINK: StaticSchema = ( + 18, + n0, + _VCL, + 0, + (_CLE, _Tag, _VI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _CLE, _sN: _cLE}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + ), +) + +VPC_CLASSIC_LINK_LIST: StaticSchema = ( + 16, + n0, + _VCLL, + 0, + (_me,), + ((VPC_CLASSIC_LINK, {_sN: _i}),), +) + +DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_MAX_RESULTS: StaticSchema = (7, n0, _DVCLDSMR, 0) + +DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_NEXT_TOKEN: StaticSchema = (3, n0, _DVCLDSNT, 0) + +DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT: StaticSchema = ( + 18, + n0, + _DVCLDSI, + {_sSI: _cDVCLDSR, _sm: None}, + (_VIp, _MR, _NTex), + ( + (VPC_CLASSIC_LINK_ID_LIST, {_sN: _VIp}), + (DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_MAX_RESULTS, {_aQN: _MR, _sN: _mR}), + (DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCLDSO, + {_sSI: _cDVCLDSRo, _smit: None}, + (_NTex, _Vpc), + ( + (DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: CLASSIC_LINK_DNS_SUPPORT_LIST, {_aQN: _Vpc, _sN: _vpcs}), + ), +) + +DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT: StaticOperationSchema = ( + 23, + n0, + _DVCLDS, + 0, + DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT, + DESCRIBE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT, + (), +) + +CLASSIC_LINK_DNS_SUPPORT: StaticSchema = ( + 18, + n0, + _CLDS, + 0, + (_CLDSl, _VI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _CLDSl, _sN: _cLDS}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + ), +) + +CLASSIC_LINK_DNS_SUPPORT_LIST: StaticSchema = ( + 16, + n0, + _CLDSL, + 0, + (_me,), + ((CLASSIC_LINK_DNS_SUPPORT, {_sN: _i}),), +) + +DESCRIBE_VPC_ENCRYPTION_CONTROLS_MAX_RESULTS: StaticSchema = (7, n0, _DVECMR, 0) + +VPC_ENCRYPTION_CONTROL_ID_LIST: StaticSchema = ( + 16, + n0, + _VECIL, + 0, + (_me,), + ((lambda: schemas.VPC_ENCRYPTION_CONTROL_ID, {_sN: _i}),), +) + +DESCRIBE_VPC_ENCRYPTION_CONTROLS_INPUT: StaticSchema = ( + 18, + n0, + _DVECIe, + {_sSI: _cDVECRom, _sm: None}, + (_DR, _Fil, _VECIp, _VIp, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (VPC_ENCRYPTION_CONTROL_ID_LIST, {_sN: _VECI}), + (lambda: schemas.VPC_ID_STRING_LIST, {_sN: _VI}), + (lambda: schemas.STRING, 0), + (DESCRIBE_VPC_ENCRYPTION_CONTROLS_MAX_RESULTS, 0), + ), +) + +DESCRIBE_VPC_ENCRYPTION_CONTROLS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVECOe, + {_sSI: _cDVECRoma, _smit: None}, + (_VECpc, _NTex), + ( + (lambda: VPC_ENCRYPTION_CONTROL_LIST, {_aQN: _VECSp, _sN: _vECS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_ENCRYPTION_CONTROLS: StaticOperationSchema = ( + 23, + n0, + _DVECe, + 0, + DESCRIBE_VPC_ENCRYPTION_CONTROLS_INPUT, + DESCRIBE_VPC_ENCRYPTION_CONTROLS_OUTPUT, + (), +) + +VPC_ENCRYPTION_CONTROL_LIST: StaticSchema = ( + 16, + n0, + _VECL, + 0, + (_me,), + ((lambda: schemas.VPC_ENCRYPTION_CONTROL, {_sN: _i}),), +) + +MAX_RESULTS2: StaticSchema = (7, n0, _MRa, 0) + +DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVEAI, + {_sSI: _cDVEAR, _sm: None}, + (_DR, _VEIp, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_ID_LIST, {_sN: _VEI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (MAX_RESULTS2, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVEAO, + {_sSI: _cDVEARo, _smit: None}, + (_VEApc, _NTex), + ( + (lambda: schemas.VPC_ENDPOINT_ASSOCIATION_SET, {_aQN: _VEAS, _sN: _vEAS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _DVEA, + 0, + DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_INPUT, + DESCRIBE_VPC_ENDPOINT_ASSOCIATIONS_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_37.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_37.py new file mode 100644 index 000000000..a0acace5d --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_37.py @@ -0,0 +1,1649 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_d = "disabled" +_ATd = "AddressTransfer" +_AI = "AllocationId" +_smit = "smithy.api#output" +_aT = "addressTransfer" +_R = "Return" +_r = "return" +_St = "State" +_st = "state" +_OIw = "OwnerId" +_oI = "ownerId" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_VEI = "VpcEndpointId" +_SIe = "ServiceId" +_VEIp = "VpcEndpointIds" +_Un = "Unsuccessful" +_un = "unsuccessful" +_dRr = "dryRun" +_VPCI = "VpcPeeringConnectionId" +_Id = "Id" +_id = "id" +_SN = "ServiceName" +_sNe = "serviceName" +_AZ = "AvailabilityZone" +_AZI = "AvailabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_AIt = "AttachmentId" +_aIt = "attachmentId" +_AZv = "AvailabilityZones" +_AZS = "AvailabilityZoneSet" +_aZS = "availabilityZoneSet" +_AZIv = "AvailabilityZoneIds" +_AZIS = "AvailabilityZoneIdSet" +_aZIS = "availabilityZoneIdSet" +_De = "Destination" +_Sou = "Source" +_ena = "enabled" +_sIe = "serviceId" +_Rea = "Reason" +_rea = "reason" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_IIn = "InstanceIds" +_SR = "SuccessfulResults" +_SRS = "SuccessfulResultSet" +_sRS = "successfulResultSet" +_UR = "UnsuccessfulResults" +_URS = "UnsuccessfulResultSet" +_uRS = "unsuccessfulResultSet" +_sU = "smithy.api#Unit" +_IIm = "ImageId" +_WK = "WatermarkKey" +_IGI = "InternetGatewayId" +_iGI = "internetGatewayId" +_VAII = "VerifiedAccessInstanceId" +_VATPI = "VerifiedAccessTrustProviderId" +_dev = "device" +_VAI = "VerifiedAccessInstance" +_VATPe = "VerifiedAccessTrustProvider" +_vATP = "verifiedAccessTrustProvider" +_vAI = "verifiedAccessInstance" +_VIo = "VolumeId" +_Dev = "Device" +_ECI = "EbsCardIndex" +_cVA = "com.amazonaws.ec2#VolumeAttachment" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_ARs = "AssociatedResource" +_aRs = "associatedResource" +_IOS = "InstanceOwningService" +_iOS = "instanceOwningService" +_eCI = "ebsCardIndex" +_vIo = "volumeId" +_ATtt = "AttachTime" +_aTtt = "attachTime" +_VGI = "VpnGatewayId" +_Fo = "Force" +_iIm = "imageId" +_SSI = "SourceSnapshotId" +_succ = "successful" +_DISABLED = "DISABLED" +_ENABLED = "ENABLED" +_IAT = "IpAddressType" +_iAT = "ipAddressType" +_LT = "LaunchTemplate" +_lT = "launchTemplate" +_vEI = "vpcEndpointId" +_FCa = "FailureCode" +_fCa = "failureCode" +_PDNr = "PrivateDnsName" +_pDNr = "privateDnsName" +_FRa = "FailureReason" +_fRa = "failureReason" +_Ow = "Owner" +_ow = "owner" +_CTrea = "CreationTimestamp" +_cTre = "creationTimestamp" +_SNAe = "ServiceNetworkArn" +_SRe = "ServiceRegion" +_DE = "DnsEntry" +_DES = "DnsEntrySet" +_PRSay = "PayerResponsibilitySet" +_DEn = "DnsEntries" +_dES = "dnsEntrySet" +_sNAe = "serviceNetworkArn" +_sRe = "serviceRegion" +_PRa = "PayerResponsibilities" +_pRSa = "payerResponsibilitySet" +_CNIo = "ConnectionNotificationId" +_ARc = "AcceptanceRequired" +_NLBAe = "NetworkLoadBalancerArns" +_GLBA = "GatewayLoadBalancerArns" +_SIAT = "SupportedIpAddressTypes" +_PRay = "PayerResponsibility" +_STe = "ServiceType" +_sTe = "serviceType" +_aRc = "acceptanceRequired" +_MVE = "ManagesVpcEndpoints" +_mVE = "managesVpcEndpoints" +_NLBAS = "NetworkLoadBalancerArnSet" +_nLBAS = "networkLoadBalancerArnSet" +_GLBAS = "GatewayLoadBalancerArnSet" +_gLBAS = "gatewayLoadBalancerArnSet" +_SIATS = "SupportedIpAddressTypeSet" +_sIATS = "supportedIpAddressTypeSet" +_BEDN = "BaseEndpointDnsNames" +_BEDNS = "BaseEndpointDnsNameSet" +_bEDNS = "baseEndpointDnsNameSet" +_pRa = "payerResponsibility" +_VCI = "VpnConcentratorId" +_VCIp = "VpnConnectionId" +_SIer = "ServiceIds" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_RAesu = "ResumeAt" +_rAes = "resumeAt" +_Met = "Metric" +_Stati = "Statistic" +_SCn = "SnapshotConfiguration" +_sCn = "snapshotConfiguration" +_MPLa = "MaxParallelLaunches" +_mPL = "maxParallelLaunches" +_STR = "StateTransitionReason" +_sTR = "stateTransitionReason" +_STT = "StateTransitionTime" +_sTT = "stateTransitionTime" +_VIp = "VpcIds" +_Vpc = "Vpcs" +_VSpc = "VpcSet" +_vSp = "vpcSet" +_VEAp = "VpcEndpointAssociation" +_SNN = "ServiceNetworkName" +_sNN = "serviceNetworkName" +_ARA = "AssociatedResourceAccessibility" +_aRA = "associatedResourceAccessibility" +_dE = "dnsEntry" +_PDEr = "PrivateDnsEntry" +_pDEr = "privateDnsEntry" +_ARAs = "AssociatedResourceArn" +_aRAs = "associatedResourceArn" +_RCGA = "ResourceConfigurationGroupArn" +_rCGA = "resourceConfigurationGroupArn" +_VEAS = "VpcEndpointAssociationSet" +_DVECNIe = "DescribeVpcEndpointConnectionNotificationsInput" +_cDVECNRom = "com.amazonaws.ec2#DescribeVpcEndpointConnectionNotificationsRequest" +_CNSo = "ConnectionNotificationSet" +_DVECNOe = "DescribeVpcEndpointConnectionNotificationsOutput" +_cDVECNRoma = "com.amazonaws.ec2#DescribeVpcEndpointConnectionNotificationsResult" +_cNSo = "connectionNotificationSet" +_DVECNe = "DescribeVpcEndpointConnectionNotifications" +_DVECIes = "DescribeVpcEndpointConnectionsInput" +_cDVECRomam = "com.amazonaws.ec2#DescribeVpcEndpointConnectionsRequest" +_VECpcn = "VpcEndpointConnection" +_VEO = "VpcEndpointOwner" +_vEO = "vpcEndpointOwner" +_VESpc = "VpcEndpointState" +_vESpc = "vpcEndpointState" +_VECIpc = "VpcEndpointConnectionId" +_vECIp = "vpcEndpointConnectionId" +_VER = "VpcEndpointRegion" +_vER = "vpcEndpointRegion" +_VECSpc = "VpcEndpointConnectionSet" +_DVECOes = "DescribeVpcEndpointConnectionsOutput" +_cDVECRomama = "com.amazonaws.ec2#DescribeVpcEndpointConnectionsResult" +_VECpcnd = "VpcEndpointConnections" +_vECSp = "vpcEndpointConnectionSet" +_DVECes = "DescribeVpcEndpointConnections" +_DVEIe = "DescribeVpcEndpointsInput" +_cDVERom = "com.amazonaws.ec2#DescribeVpcEndpointsRequest" +_VESpcn = "VpcEndpointSet" +_DVEOe = "DescribeVpcEndpointsOutput" +_cDVERoma = "com.amazonaws.ec2#DescribeVpcEndpointsResult" +_VEp = "VpcEndpoints" +_vESpcn = "vpcEndpointSet" +_DVEe = "DescribeVpcEndpoints" +_DVESCIe = "DescribeVpcEndpointServiceConfigurationsInput" +_cDVESCRom = "com.amazonaws.ec2#DescribeVpcEndpointServiceConfigurationsRequest" +_SCS = "ServiceConfigurationSet" +_DVESCOe = "DescribeVpcEndpointServiceConfigurationsOutput" +_cDVESCRoma = "com.amazonaws.ec2#DescribeVpcEndpointServiceConfigurationsResult" +_SCer = "ServiceConfigurations" +_sCS = "serviceConfigurationSet" +_DVESCe = "DescribeVpcEndpointServiceConfigurations" +_DVESPI = "DescribeVpcEndpointServicePermissionsInput" +_cDVESPR = "com.amazonaws.ec2#DescribeVpcEndpointServicePermissionsRequest" +_DVESPO = "DescribeVpcEndpointServicePermissionsOutput" +_cDVESPRo = "com.amazonaws.ec2#DescribeVpcEndpointServicePermissionsResult" +_APll = "AllowedPrincipals" +_aPl = "allowedPrincipals" +_DVESP = "DescribeVpcEndpointServicePermissions" +_DVESI = "DescribeVpcEndpointServicesInput" +_cDVESR = "com.amazonaws.ec2#DescribeVpcEndpointServicesRequest" +_SNerv = "ServiceNames" +_SRer = "ServiceRegions" +_PDD = "PrivateDnsDetails" +_PDDS = "PrivateDnsDetailsSet" +_SDe = "ServiceDetail" +_PDNri = "PrivateDnsNames" +_PDNS = "PrivateDnsNameSet" +_pDNS = "privateDnsNameSet" +_VEPS = "VpcEndpointPolicySupported" +_vEPS = "vpcEndpointPolicySupported" +_PDNVS = "PrivateDnsNameVerificationState" +_pDNVS = "privateDnsNameVerificationState" +_SDSe = "ServiceDetailSet" +_DVESO = "DescribeVpcEndpointServicesOutput" +_cDVESRo = "com.amazonaws.ec2#DescribeVpcEndpointServicesResult" +_SNSer = "ServiceNameSet" +_sNSer = "serviceNameSet" +_SDer = "ServiceDetails" +_sDSe = "serviceDetailSet" +_DVES = "DescribeVpcEndpointServices" +_DVPCMR = "DescribeVpcPeeringConnectionsMaxResults" +_VPCIL = "VpcPeeringConnectionIdList" +_DVPCIe = "DescribeVpcPeeringConnectionsInput" +_cDVPCRom = "com.amazonaws.ec2#DescribeVpcPeeringConnectionsRequest" +_VPCIp = "VpcPeeringConnectionIds" +_VPCL = "VpcPeeringConnectionList" +_DVPCOe = "DescribeVpcPeeringConnectionsOutput" +_cDVPCRoma = "com.amazonaws.ec2#DescribeVpcPeeringConnectionsResult" +_VPCp = "VpcPeeringConnections" +_VPCS = "VpcPeeringConnectionSet" +_vPCS = "vpcPeeringConnectionSet" +_DVPCe = "DescribeVpcPeeringConnections" +_DVMR = "DescribeVpcsMaxResults" +_DVIesc = "DescribeVpcsInput" +_cDVRomam = "com.amazonaws.ec2#DescribeVpcsRequest" +_VLp = "VpcList" +_DVOesc = "DescribeVpcsOutput" +_cDVRomama = "com.amazonaws.ec2#DescribeVpcsResult" +_DVesc = "DescribeVpcs" +_GVCDMR = "GVCDMaxResults" +_VCISL = "VpnConcentratorIdStringList" +_DVCIes = "DescribeVpnConcentratorsInput" +_cDVCRoma = "com.amazonaws.ec2#DescribeVpnConcentratorsRequest" +_VCIpn = "VpnConcentratorIds" +_VCLp = "VpnConcentratorList" +_DVCOes = "DescribeVpnConcentratorsOutput" +_cDVCRomam = "com.amazonaws.ec2#DescribeVpnConcentratorsResult" +_VCpn = "VpnConcentrators" +_VCS = "VpnConcentratorSet" +_vCS = "vpnConcentratorSet" +_DVCes = "DescribeVpnConcentrators" +_VCISLp = "VpnConnectionIdStringList" +_DVCIesc = "DescribeVpnConnectionsInput" +_cDVCRomama = "com.amazonaws.ec2#DescribeVpnConnectionsRequest" +_VCIpno = "VpnConnectionIds" +_VCLpn = "VpnConnectionList" +_DVCOesc = "DescribeVpnConnectionsOutput" +_cDVCRomamaz = "com.amazonaws.ec2#DescribeVpnConnectionsResult" +_VCpno = "VpnConnections" +_VCSp = "VpnConnectionSet" +_vCSp = "vpnConnectionSet" +_DVCesc = "DescribeVpnConnections" +_VGISL = "VpnGatewayIdStringList" +_DVGIe = "DescribeVpnGatewaysInput" +_cDVGRo = "com.amazonaws.ec2#DescribeVpnGatewaysRequest" +_VGIp = "VpnGatewayIds" +_VGL = "VpnGatewayList" +_DVGOe = "DescribeVpnGatewaysOutput" +_cDVGRom = "com.amazonaws.ec2#DescribeVpnGatewaysResult" +_VGp = "VpnGateways" +_VGS = "VpnGatewaySet" +_vGS = "vpnGatewaySet" +_DVGe = "DescribeVpnGateways" +_DCLVI = "DetachClassicLinkVpcInput" +_cDCLVR = "com.amazonaws.ec2#DetachClassicLinkVpcRequest" +_DCLVO = "DetachClassicLinkVpcOutput" +_cDCLVRo = "com.amazonaws.ec2#DetachClassicLinkVpcResult" +_DCLV = "DetachClassicLinkVpc" +_DIWI = "DetachImageWatermarkInput" +_cDIWR = "com.amazonaws.ec2#DetachImageWatermarkRequest" +_DIWO = "DetachImageWatermarkOutput" +_cDIWRo = "com.amazonaws.ec2#DetachImageWatermarkResult" +_DIW = "DetachImageWatermark" +_DIGIet = "DetachInternetGatewayInput" +_cDIGRoma = "com.amazonaws.ec2#DetachInternetGatewayRequest" +_DIGOet = "DetachInternetGatewayOutput" +_DIGet = "DetachInternetGateway" +_NIAIet = "NetworkInterfaceAttachmentId" +_DNIIet = "DetachNetworkInterfaceInput" +_cDNIRoma = "com.amazonaws.ec2#DetachNetworkInterfaceRequest" +_for = "force" +_DNIOet = "DetachNetworkInterfaceOutput" +_DNIet = "DetachNetworkInterface" +_DVATPIet = "DetachVerifiedAccessTrustProviderInput" +_cDVATPRomam = "com.amazonaws.ec2#DetachVerifiedAccessTrustProviderRequest" +_DVATPOet = "DetachVerifiedAccessTrustProviderOutput" +_cDVATPRomama = "com.amazonaws.ec2#DetachVerifiedAccessTrustProviderResult" +_DVATPet = "DetachVerifiedAccessTrustProvider" +_IIFR = "InstanceIdForResolver" +_VIWR = "VolumeIdWithResolver" +_DVIet = "DetachVolumeInput" +_cDVRomamaz = "com.amazonaws.ec2#DetachVolumeRequest" +_DVOet = "DetachVolumeOutput" +_DVet = "DetachVolume" +_DVGIet = "DetachVpnGatewayInput" +_cDVGRoma = "com.amazonaws.ec2#DetachVpnGatewayRequest" +_DVGOet = "DetachVpnGatewayOutput" +_DVGet = "DetachVpnGateway" +_DATIi = "DisableAddressTransferInput" +_cDATRom = "com.amazonaws.ec2#DisableAddressTransferRequest" +_DATOi = "DisableAddressTransferOutput" +_cDATRoma = "com.amazonaws.ec2#DisableAddressTransferResult" +_DATi = "DisableAddressTransfer" +_DAISI = "DisableAllowedImagesSettingsInput" +_cDAISR = "com.amazonaws.ec2#DisableAllowedImagesSettingsRequest" +_DAISO = "DisableAllowedImagesSettingsOutput" +_cDAISRo = "com.amazonaws.ec2#DisableAllowedImagesSettingsResult" +_AISS = "AllowedImagesSettingsState" +_aISS = "allowedImagesSettingsState" +_DAIS = "DisableAllowedImagesSettings" +_DASCSI = "DisableApplicationStatusCheckSuppressionInput" +_cDASCSR = "com.amazonaws.ec2#DisableApplicationStatusCheckSuppressionRequest" +_SSRO = "SuccessfulSuppressionResponseObject" +_SAupp = "SuppressAt" +_sAup = "suppressAt" +_SSRS = "SuccessfulSuppressionResponseSet" +_USRO = "UnsuccessfulSuppressionResponseObject" +_USRS = "UnsuccessfulSuppressionResponseSet" +_DASCSO = "DisableApplicationStatusCheckSuppressionOutput" +_cDASCSRo = "com.amazonaws.ec2#DisableApplicationStatusCheckSuppressionResult" +_DASCS = "DisableApplicationStatusCheckSuppression" +_DANPMSIi = "DisableAwsNetworkPerformanceMetricSubscriptionInput" +_cDANPMSRom = "com.amazonaws.ec2#DisableAwsNetworkPerformanceMetricSubscriptionRequest" +_DANPMSOi = "DisableAwsNetworkPerformanceMetricSubscriptionOutput" +_cDANPMSRoma = "com.amazonaws.ec2#DisableAwsNetworkPerformanceMetricSubscriptionResult" +_Ou = "Output" +_outp = "output" +_DANPMSi = "DisableAwsNetworkPerformanceMetricSubscription" +_DCMI = "DisableCapacityManagerInput" +_cDCMR = "com.amazonaws.ec2#DisableCapacityManagerRequest" +_CMSa = "CapacityManagerStatus" +_DCMO = "DisableCapacityManagerOutput" +_cDCMRo = "com.amazonaws.ec2#DisableCapacityManagerResult" +_cMSa = "capacityManagerStatus" +_OArg = "OrganizationsAccess" +_oArg = "organizationsAccess" +_DCM = "DisableCapacityManager" +_DEEBDI = "DisableEbsEncryptionByDefaultInput" +_cDEEBDR = "com.amazonaws.ec2#DisableEbsEncryptionByDefaultRequest" +_DEEBDO = "DisableEbsEncryptionByDefaultOutput" +_cDEEBDRo = "com.amazonaws.ec2#DisableEbsEncryptionByDefaultResult" +_EEBD = "EbsEncryptionByDefault" +_eEBD = "ebsEncryptionByDefault" +_DEEBD = "DisableEbsEncryptionByDefault" +_DFLIi = "DisableFastLaunchInput" +_cDFLRomam = "com.amazonaws.ec2#DisableFastLaunchRequest" +_DFLOi = "DisableFastLaunchOutput" +_cDFLRomama = "com.amazonaws.ec2#DisableFastLaunchResult" +_DFLi = "DisableFastLaunch" +_AZISL = "AvailabilityZoneIdStringList" +_AZSL = "AvailabilityZoneStringList" +_DFSRIi = "DisableFastSnapshotRestoresInput" +_cDFSRRom = "com.amazonaws.ec2#DisableFastSnapshotRestoresRequest" +_SSIo = "SourceSnapshotIds" +_DFSROi = "DisableFastSnapshotRestoresOutput" +_cDFSRRoma = "com.amazonaws.ec2#DisableFastSnapshotRestoresResult" +_Suc = "Successful" +_DFSRi = "DisableFastSnapshotRestores" + +VPC_ENDPOINT_ASSOCIATION: StaticSchema = ( + 18, + n0, + _VEAp, + 0, + (_Id, _VEI, _SNAe, _SNN, _ARA, _FRa, _FCa, _DE, _PDEr, _ARAs, _RCGA, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _Id, _sN: _id}), + (lambda: schemas.VPC_ENDPOINT_ID, {_aQN: _VEI, _sN: _vEI}), + (lambda: schemas.SERVICE_NETWORK_ARN, {_aQN: _SNAe, _sN: _sNAe}), + (lambda: schemas.STRING, {_aQN: _SNN, _sN: _sNN}), + (lambda: schemas.STRING, {_aQN: _ARA, _sN: _aRA}), + (lambda: schemas.STRING, {_aQN: _FRa, _sN: _fRa}), + (lambda: schemas.STRING, {_aQN: _FCa, _sN: _fCa}), + (lambda: schemas.DNS_ENTRY, {_aQN: _DE, _sN: _dE}), + (lambda: schemas.DNS_ENTRY, {_aQN: _PDEr, _sN: _pDEr}), + (lambda: schemas.STRING, {_aQN: _ARAs, _sN: _aRAs}), + (lambda: schemas.STRING, {_aQN: _RCGA, _sN: _rCGA}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +VPC_ENDPOINT_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _VEAS, + 0, + (_me,), + ((VPC_ENDPOINT_ASSOCIATION, {_sN: _i}),), +) + +DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVECNIe, + {_sSI: _cDVECNRom, _sm: None}, + (_DR, _CNIo, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.CONNECTION_NOTIFICATION_ID, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVECNOe, + {_sSI: _cDVECNRoma, _smit: None}, + (_CNSo, _NTex), + ( + (lambda: CONNECTION_NOTIFICATION_SET, {_aQN: _CNSo, _sN: _cNSo}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS: StaticOperationSchema = ( + 23, + n0, + _DVECNe, + 0, + DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_INPUT, + DESCRIBE_VPC_ENDPOINT_CONNECTION_NOTIFICATIONS_OUTPUT, + (), +) + +CONNECTION_NOTIFICATION_SET: StaticSchema = ( + 16, + n0, + _CNSo, + 0, + (_me,), + ((lambda: schemas.CONNECTION_NOTIFICATION, {_sN: _i}),), +) + +DESCRIBE_VPC_ENDPOINT_CONNECTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVECIes, + {_sSI: _cDVECRomam, _sm: None}, + (_DR, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_VPC_ENDPOINT_CONNECTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVECOes, + {_sSI: _cDVECRomama, _smit: None}, + (_VECpcnd, _NTex), + ( + (lambda: VPC_ENDPOINT_CONNECTION_SET, {_aQN: _VECSpc, _sN: _vECSp}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_ENDPOINT_CONNECTIONS: StaticOperationSchema = ( + 23, + n0, + _DVECes, + 0, + DESCRIBE_VPC_ENDPOINT_CONNECTIONS_INPUT, + DESCRIBE_VPC_ENDPOINT_CONNECTIONS_OUTPUT, + (), +) + +VPC_ENDPOINT_CONNECTION: StaticSchema = ( + 18, + n0, + _VECpcn, + 0, + ( + _SIe, + _VEI, + _VEO, + _VESpc, + _CTrea, + _DEn, + _NLBAe, + _GLBA, + _IAT, + _VECIpc, + _Tag, + _VER, + _PRa, + ), + ( + (lambda: schemas.STRING, {_aQN: _SIe, _sN: _sIe}), + (lambda: schemas.STRING, {_aQN: _VEI, _sN: _vEI}), + (lambda: schemas.STRING, {_aQN: _VEO, _sN: _vEO}), + (lambda: schemas.STATE, {_aQN: _VESpc, _sN: _vESpc}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTrea, _sN: _cTre}), + (lambda: schemas.DNS_ENTRY_SET, {_aQN: _DES, _sN: _dES}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _NLBAS, _sN: _nLBAS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _GLBAS, _sN: _gLBAS}), + (lambda: schemas.IP_ADDRESS_TYPE, {_aQN: _IAT, _sN: _iAT}), + (lambda: schemas.STRING, {_aQN: _VECIpc, _sN: _vECIp}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _VER, _sN: _vER}), + (lambda: schemas.PAYER_RESPONSIBILITY_SET, {_aQN: _PRSay, _sN: _pRSa}), + ), +) + +VPC_ENDPOINT_CONNECTION_SET: StaticSchema = ( + 16, + n0, + _VECSpc, + 0, + (_me,), + ((VPC_ENDPOINT_CONNECTION, {_sN: _i}),), +) + +DESCRIBE_VPC_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _DVEIe, + {_sSI: _cDVERom, _sm: None}, + (_DR, _VEIp, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_ID_LIST, {_sN: _VEI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_VPC_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVEOe, + {_sSI: _cDVERoma, _smit: None}, + (_VEp, _NTex), + ( + (lambda: VPC_ENDPOINT_SET, {_aQN: _VESpcn, _sN: _vESpcn}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _DVEe, + 0, + DESCRIBE_VPC_ENDPOINTS_INPUT, + DESCRIBE_VPC_ENDPOINTS_OUTPUT, + (), +) + +VPC_ENDPOINT_SET: StaticSchema = ( + 16, + n0, + _VESpcn, + 0, + (_me,), + ((lambda: schemas.VPC_ENDPOINT, {_sN: _i}),), +) + +DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVESCIe, + {_sSI: _cDVESCRom, _sm: None}, + (_DR, _SIer, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_SERVICE_ID_LIST, {_sN: _SIe}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVESCOe, + {_sSI: _cDVESCRoma, _smit: None}, + (_SCer, _NTex), + ( + (lambda: SERVICE_CONFIGURATION_SET, {_aQN: _SCS, _sN: _sCS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _DVESCe, + 0, + DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_INPUT, + DESCRIBE_VPC_ENDPOINT_SERVICE_CONFIGURATIONS_OUTPUT, + (), +) + +SERVICE_CONFIGURATION_SET: StaticSchema = ( + 16, + n0, + _SCS, + 0, + (_me,), + ((lambda: schemas.SERVICE_CONFIGURATION, {_sN: _i}),), +) + +DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVESPI, + {_sSI: _cDVESPR, _sm: None}, + (_DR, _SIe, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_SERVICE_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVESPO, + {_sSI: _cDVESPRo, _smit: None}, + (_APll, _NTex), + ( + (lambda: schemas.ALLOWED_PRINCIPAL_SET, {_aQN: _APll, _sN: _aPl}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS: StaticOperationSchema = ( + 23, + n0, + _DVESP, + 0, + DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT, + DESCRIBE_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT, + (), +) + +DESCRIBE_VPC_ENDPOINT_SERVICES_INPUT: StaticSchema = ( + 18, + n0, + _DVESI, + {_sSI: _cDVESR, _sm: None}, + (_DR, _SNerv, _Fil, _MR, _NTex, _SRer), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _SN}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _SRe}), + ), +) + +DESCRIBE_VPC_ENDPOINT_SERVICES_OUTPUT: StaticSchema = ( + 18, + n0, + _DVESO, + {_sSI: _cDVESRo, _smit: None}, + (_SNerv, _SDer, _NTex), + ( + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _SNSer, _sN: _sNSer}), + (lambda: SERVICE_DETAIL_SET, {_aQN: _SDSe, _sN: _sDSe}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_ENDPOINT_SERVICES: StaticOperationSchema = ( + 23, + n0, + _DVES, + 0, + DESCRIBE_VPC_ENDPOINT_SERVICES_INPUT, + DESCRIBE_VPC_ENDPOINT_SERVICES_OUTPUT, + (), +) + +PRIVATE_DNS_DETAILS: StaticSchema = ( + 18, + n0, + _PDD, + 0, + (_PDNr,), + ((lambda: schemas.STRING, {_aQN: _PDNr, _sN: _pDNr}),), +) + +PRIVATE_DNS_DETAILS_SET: StaticSchema = ( + 16, + n0, + _PDDS, + 0, + (_me,), + ((PRIVATE_DNS_DETAILS, {_sN: _i}),), +) + +SERVICE_DETAIL: StaticSchema = ( + 18, + n0, + _SDe, + 0, + ( + _SN, + _SIe, + _STe, + _SRe, + _AZIv, + _AZv, + _Ow, + _BEDN, + _PDNr, + _PDNri, + _VEPS, + _ARc, + _MVE, + _PRay, + _Tag, + _PDNVS, + _SIAT, + ), + ( + (lambda: schemas.STRING, {_aQN: _SN, _sN: _sNe}), + (lambda: schemas.STRING, {_aQN: _SIe, _sN: _sIe}), + (lambda: schemas.SERVICE_TYPE_DETAIL_SET, {_aQN: _STe, _sN: _sTe}), + (lambda: schemas.STRING, {_aQN: _SRe, _sN: _sRe}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _AZIS, _sN: _aZIS}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _AZS, _sN: _aZS}), + (lambda: schemas.STRING, {_aQN: _Ow, _sN: _ow}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _BEDNS, _sN: _bEDNS}), + (lambda: schemas.STRING, {_aQN: _PDNr, _sN: _pDNr}), + (PRIVATE_DNS_DETAILS_SET, {_aQN: _PDNS, _sN: _pDNS}), + (lambda: schemas.BOOLEAN, {_aQN: _VEPS, _sN: _vEPS}), + (lambda: schemas.BOOLEAN, {_aQN: _ARc, _sN: _aRc}), + (lambda: schemas.BOOLEAN, {_aQN: _MVE, _sN: _mVE}), + (lambda: schemas.PAYER_RESPONSIBILITY, {_aQN: _PRay, _sN: _pRa}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.DNS_NAME_STATE, {_aQN: _PDNVS, _sN: _pDNVS}), + (lambda: schemas.SUPPORTED_IP_ADDRESS_TYPES, {_aQN: _SIATS, _sN: _sIATS}), + ), +) + +SERVICE_DETAIL_SET: StaticSchema = ( + 16, + n0, + _SDSe, + 0, + (_me,), + ((SERVICE_DETAIL, {_sN: _i}),), +) + +DESCRIBE_VPC_PEERING_CONNECTIONS_MAX_RESULTS: StaticSchema = (7, n0, _DVPCMR, 0) + +VPC_PEERING_CONNECTION_ID_LIST: StaticSchema = ( + 16, + n0, + _VPCIL, + 0, + (_me,), + ((lambda: schemas.VPC_PEERING_CONNECTION_ID, {_sN: _i}),), +) + +DESCRIBE_VPC_PEERING_CONNECTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVPCIe, + {_sSI: _cDVPCRom, _sm: None}, + (_NTex, _MR, _DR, _VPCIp, _Fil), + ( + (lambda: schemas.STRING, 0), + (DESCRIBE_VPC_PEERING_CONNECTIONS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (VPC_PEERING_CONNECTION_ID_LIST, {_sN: _VPCI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +DESCRIBE_VPC_PEERING_CONNECTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVPCOe, + {_sSI: _cDVPCRoma, _smit: None}, + (_VPCp, _NTex), + ( + (lambda: VPC_PEERING_CONNECTION_LIST, {_aQN: _VPCS, _sN: _vPCS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPC_PEERING_CONNECTIONS: StaticOperationSchema = ( + 23, + n0, + _DVPCe, + 0, + DESCRIBE_VPC_PEERING_CONNECTIONS_INPUT, + DESCRIBE_VPC_PEERING_CONNECTIONS_OUTPUT, + (), +) + +VPC_PEERING_CONNECTION_LIST: StaticSchema = ( + 16, + n0, + _VPCL, + 0, + (_me,), + ((lambda: schemas.VPC_PEERING_CONNECTION, {_sN: _i}),), +) + +DESCRIBE_VPCS_MAX_RESULTS: StaticSchema = (7, n0, _DVMR, 0) + +DESCRIBE_VPCS_INPUT: StaticSchema = ( + 18, + n0, + _DVIesc, + {_sSI: _cDVRomam, _sm: None}, + (_Fil, _VIp, _NTex, _MR, _DR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.VPC_ID_STRING_LIST, {_sN: _VI}), + (lambda: schemas.STRING, 0), + (DESCRIBE_VPCS_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DESCRIBE_VPCS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVOesc, + {_sSI: _cDVRomama, _smit: None}, + (_NTex, _Vpc), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: VPC_LIST, {_aQN: _VSpc, _sN: _vSp}), + ), +) + +DESCRIBE_VPCS: StaticOperationSchema = ( + 23, + n0, + _DVesc, + 0, + DESCRIBE_VPCS_INPUT, + DESCRIBE_VPCS_OUTPUT, + (), +) + +VPC_LIST: StaticSchema = (16, n0, _VLp, 0, (_me,), ((lambda: schemas.VPC, {_sN: _i}),)) + +GVCD_MAX_RESULTS: StaticSchema = (7, n0, _GVCDMR, 0) + +VPN_CONCENTRATOR_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _VCISL, + 0, + (_me,), + ((lambda: schemas.VPN_CONCENTRATOR_ID, {_sN: _VCI}),), +) + +DESCRIBE_VPN_CONCENTRATORS_INPUT: StaticSchema = ( + 18, + n0, + _DVCIes, + {_sSI: _cDVCRoma, _sm: None}, + (_VCIpn, _Fil, _MR, _NTex, _DR), + ( + (VPN_CONCENTRATOR_ID_STRING_LIST, {_sN: _VCI}), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (GVCD_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_VPN_CONCENTRATORS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCOes, + {_sSI: _cDVCRomam, _smit: None}, + (_VCpn, _NTex), + ( + (lambda: VPN_CONCENTRATOR_LIST, {_aQN: _VCS, _sN: _vCS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +DESCRIBE_VPN_CONCENTRATORS: StaticOperationSchema = ( + 23, + n0, + _DVCes, + 0, + DESCRIBE_VPN_CONCENTRATORS_INPUT, + DESCRIBE_VPN_CONCENTRATORS_OUTPUT, + (), +) + +VPN_CONCENTRATOR_LIST: StaticSchema = ( + 16, + n0, + _VCLp, + 0, + (_me,), + ((lambda: schemas.VPN_CONCENTRATOR, {_sN: _i}),), +) + +VPN_CONNECTION_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _VCISLp, + 0, + (_me,), + ((lambda: schemas.VPN_CONNECTION_ID, {_sN: _VCIp}),), +) + +DESCRIBE_VPN_CONNECTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVCIesc, + {_sSI: _cDVCRomama, _sm: None}, + (_Fil, _VCIpno, _DR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (VPN_CONNECTION_ID_STRING_LIST, {_sN: _VCIp}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DESCRIBE_VPN_CONNECTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCOesc, + {_sSI: _cDVCRomamaz, _smit: None}, + (_VCpno,), + ((lambda: VPN_CONNECTION_LIST, {_aQN: _VCSp, _sN: _vCSp}),), +) + +DESCRIBE_VPN_CONNECTIONS: StaticOperationSchema = ( + 23, + n0, + _DVCesc, + 0, + DESCRIBE_VPN_CONNECTIONS_INPUT, + DESCRIBE_VPN_CONNECTIONS_OUTPUT, + (), +) + +VPN_CONNECTION_LIST: StaticSchema = ( + 16, + n0, + _VCLpn, + 0, + (_me,), + ((lambda: schemas.VPN_CONNECTION, {_sN: _i}),), +) + +VPN_GATEWAY_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _VGISL, + 0, + (_me,), + ((lambda: schemas.VPN_GATEWAY_ID, {_sN: _VGI}),), +) + +DESCRIBE_VPN_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _DVGIe, + {_sSI: _cDVGRo, _sm: None}, + (_Fil, _VGIp, _DR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (VPN_GATEWAY_ID_STRING_LIST, {_sN: _VGI}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DESCRIBE_VPN_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVGOe, + {_sSI: _cDVGRom, _smit: None}, + (_VGp,), + ((lambda: VPN_GATEWAY_LIST, {_aQN: _VGS, _sN: _vGS}),), +) + +DESCRIBE_VPN_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _DVGe, + 0, + DESCRIBE_VPN_GATEWAYS_INPUT, + DESCRIBE_VPN_GATEWAYS_OUTPUT, + (), +) + +VPN_GATEWAY_LIST: StaticSchema = ( + 16, + n0, + _VGL, + 0, + (_me,), + ((lambda: schemas.VPN_GATEWAY, {_sN: _i}),), +) + +DETACH_CLASSIC_LINK_VPC_INPUT: StaticSchema = ( + 18, + n0, + _DCLVI, + {_sSI: _cDCLVR, _sm: None}, + (_DR, _II, _VI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + ), +) + +DETACH_CLASSIC_LINK_VPC_OUTPUT: StaticSchema = ( + 18, + n0, + _DCLVO, + {_sSI: _cDCLVRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DETACH_CLASSIC_LINK_VPC: StaticOperationSchema = ( + 23, + n0, + _DCLV, + 0, + DETACH_CLASSIC_LINK_VPC_INPUT, + DETACH_CLASSIC_LINK_VPC_OUTPUT, + (), +) + +DETACH_IMAGE_WATERMARK_INPUT: StaticSchema = ( + 18, + n0, + _DIWI, + {_sSI: _cDIWR, _sm: None}, + (_IIm, _WK, _DR), + ( + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DETACH_IMAGE_WATERMARK_OUTPUT: StaticSchema = ( + 18, + n0, + _DIWO, + {_sSI: _cDIWRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DETACH_IMAGE_WATERMARK: StaticOperationSchema = ( + 23, + n0, + _DIW, + 0, + DETACH_IMAGE_WATERMARK_INPUT, + DETACH_IMAGE_WATERMARK_OUTPUT, + (), +) + +DETACH_INTERNET_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DIGIet, + {_sSI: _cDIGRoma, _sm: None}, + (_DR, _IGI, _VI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INTERNET_GATEWAY_ID, {_aQN: _IGI, _sN: _iGI, _smi: None}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + ), +) + +DETACH_INTERNET_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _DIGOet, + {_sSI: _sU, _smit: None}, +) + +DETACH_INTERNET_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DIGet, + 0, + DETACH_INTERNET_GATEWAY_INPUT, + DETACH_INTERNET_GATEWAY_OUTPUT, + (), +) + +NETWORK_INTERFACE_ATTACHMENT_ID: StaticSchema = (3, n0, _NIAIet, 0) + +DETACH_NETWORK_INTERFACE_INPUT: StaticSchema = ( + 18, + n0, + _DNIIet, + {_sSI: _cDNIRoma, _sm: None}, + (_DR, _AIt, _Fo), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (NETWORK_INTERFACE_ATTACHMENT_ID, {_aQN: _AIt, _sN: _aIt, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _Fo, _sN: _for}), + ), +) + +DETACH_NETWORK_INTERFACE_OUTPUT: StaticSchema = ( + 18, + n0, + _DNIOet, + {_sSI: _sU, _smit: None}, +) + +DETACH_NETWORK_INTERFACE: StaticOperationSchema = ( + 23, + n0, + _DNIet, + 0, + DETACH_NETWORK_INTERFACE_INPUT, + DETACH_NETWORK_INTERFACE_OUTPUT, + (), +) + +DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DVATPIet, + {_sSI: _cDVATPRomam, _sm: None}, + (_VAII, _VATPI, _CTl, _DR), + ( + (lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 1), + (lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER_ID, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _DVATPOet, + {_sSI: _cDVATPRomama, _smit: None}, + (_VATPe, _VAI), + ( + (lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}), + (lambda: schemas.VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}), + ), +) + +DETACH_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DVATPet, + 0, + DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, + DETACH_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, + (), +) + +INSTANCE_ID_FOR_RESOLVER: StaticSchema = (3, n0, _IIFR, 0) + +VOLUME_ID_WITH_RESOLVER: StaticSchema = (3, n0, _VIWR, 0) + +DETACH_VOLUME_INPUT: StaticSchema = ( + 18, + n0, + _DVIet, + {_sSI: _cDVRomamaz, _sm: None}, + (_Dev, _Fo, _II, _VIo, _DR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (INSTANCE_ID_FOR_RESOLVER, 0), + (VOLUME_ID_WITH_RESOLVER, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DETACH_VOLUME_OUTPUT: StaticSchema = ( + 18, + n0, + _DVOet, + {_sSI: _cVA, _smit: None}, + (_DOT, _ARs, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.STRING, {_aQN: _ARs, _sN: _aRs}), + (lambda: schemas.STRING, {_aQN: _IOS, _sN: _iOS}), + (lambda: schemas.INTEGER, {_aQN: _ECI, _sN: _eCI}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _Dev, _sN: _dev}), + (lambda: schemas.VOLUME_ATTACHMENT_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), + ), +) + +DETACH_VOLUME: StaticOperationSchema = ( + 23, + n0, + _DVet, + 0, + DETACH_VOLUME_INPUT, + DETACH_VOLUME_OUTPUT, + (), +) + +DETACH_VPN_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DVGIet, + {_sSI: _cDVGRoma, _sm: None}, + (_VI, _VGI, _DR), + ( + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.VPN_GATEWAY_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DETACH_VPN_GATEWAY_OUTPUT: StaticSchema = (18, n0, _DVGOet, {_sSI: _sU, _smit: None}) + +DETACH_VPN_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DVGet, + 0, + DETACH_VPN_GATEWAY_INPUT, + DETACH_VPN_GATEWAY_OUTPUT, + (), +) + +DISABLE_ADDRESS_TRANSFER_INPUT: StaticSchema = ( + 18, + n0, + _DATIi, + {_sSI: _cDATRom, _sm: None}, + (_AI, _DR), + ((lambda: schemas.ALLOCATION_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DISABLE_ADDRESS_TRANSFER_OUTPUT: StaticSchema = ( + 18, + n0, + _DATOi, + {_sSI: _cDATRoma, _smit: None}, + (_ATd,), + ((lambda: schemas.ADDRESS_TRANSFER, {_aQN: _ATd, _sN: _aT}),), +) + +DISABLE_ADDRESS_TRANSFER: StaticOperationSchema = ( + 23, + n0, + _DATi, + 0, + DISABLE_ADDRESS_TRANSFER_INPUT, + DISABLE_ADDRESS_TRANSFER_OUTPUT, + (), +) + +DISABLE_ALLOWED_IMAGES_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _DAISI, + {_sSI: _cDAISR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +DISABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DAISO, + {_sSI: _cDAISRo, _smit: None}, + (_AISS,), + ( + ( + lambda: schemas.ALLOWED_IMAGES_SETTINGS_DISABLED_STATE, + {_aQN: _AISS, _sN: _aISS}, + ), + ), +) + +DISABLE_ALLOWED_IMAGES_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _DAIS, + 0, + DISABLE_ALLOWED_IMAGES_SETTINGS_INPUT, + DISABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT, + (), +) + +DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT: StaticSchema = ( + 18, + n0, + _DASCSI, + {_sSI: _cDASCSR, _sm: None}, + (_IIn, _CTl, _DR), + ( + (lambda: schemas.INSTANCE_ID_LIST, {_sN: _II}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DASCSO, + {_sSI: _cDASCSRo, _smit: None}, + (_SR, _UR), + ( + (lambda: SUCCESSFUL_SUPPRESSION_RESPONSE_SET, {_aQN: _SRS, _sN: _sRS}), + (lambda: UNSUCCESSFUL_SUPPRESSION_RESPONSE_SET, {_aQN: _URS, _sN: _uRS}), + ), +) + +DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION: StaticOperationSchema = ( + 23, + n0, + _DASCS, + 0, + DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT, + DISABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT, + (), +) + +SUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT: StaticSchema = ( + 18, + n0, + _SSRO, + 0, + (_II, _SAupp, _RAesu), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SAupp, _sN: _sAup}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RAesu, _sN: _rAes}), + ), +) + +SUCCESSFUL_SUPPRESSION_RESPONSE_SET: StaticSchema = ( + 16, + n0, + _SSRS, + 0, + (_me,), + ((SUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT, {_sN: _i}),), +) + +UNSUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT: StaticSchema = ( + 18, + n0, + _USRO, + 0, + (_II, _SAupp, _RAesu, _Rea), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SAupp, _sN: _sAup}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RAesu, _sN: _rAes}), + (lambda: schemas.STRING, {_aQN: _Rea, _sN: _rea}), + ), +) + +UNSUCCESSFUL_SUPPRESSION_RESPONSE_SET: StaticSchema = ( + 16, + n0, + _USRS, + 0, + (_me,), + ((UNSUCCESSFUL_SUPPRESSION_RESPONSE_OBJECT, {_sN: _i}),), +) + +DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _DANPMSIi, + {_sSI: _cDANPMSRom, _sm: None}, + (_Sou, _De, _Met, _Stati, _DR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.METRIC_TYPE, 0), + (lambda: schemas.STATISTIC_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DANPMSOi, + {_sSI: _cDANPMSRoma, _smit: None}, + (_Ou,), + ((lambda: schemas.BOOLEAN, {_aQN: _Ou, _sN: _outp}),), +) + +DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _DANPMSi, + 0, + DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT, + DISABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT, + (), +) + +DISABLE_CAPACITY_MANAGER_INPUT: StaticSchema = ( + 18, + n0, + _DCMI, + {_sSI: _cDCMR, _sm: None}, + (_DR, _CTl), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.STRING, 2)), +) + +DISABLE_CAPACITY_MANAGER_OUTPUT: StaticSchema = ( + 18, + n0, + _DCMO, + {_sSI: _cDCMRo, _smit: None}, + (_CMSa, _OArg), + ( + (lambda: CAPACITY_MANAGER_STATUS, {_aQN: _CMSa, _sN: _cMSa}), + (lambda: schemas.BOOLEAN, {_aQN: _OArg, _sN: _oArg}), + ), +) + +DISABLE_CAPACITY_MANAGER: StaticOperationSchema = ( + 23, + n0, + _DCM, + 0, + DISABLE_CAPACITY_MANAGER_INPUT, + DISABLE_CAPACITY_MANAGER_OUTPUT, + (), +) + +CAPACITY_MANAGER_STATUS: StaticSchema = ( + 14, + n0, + _CMSa, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ena}), (-1, {_sV: _d})), +) + +DISABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT: StaticSchema = ( + 18, + n0, + _DEEBDI, + {_sSI: _cDEEBDR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +DISABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT: StaticSchema = ( + 18, + n0, + _DEEBDO, + {_sSI: _cDEEBDRo, _smit: None}, + (_EEBD,), + ((lambda: schemas.BOOLEAN, {_aQN: _EEBD, _sN: _eEBD}),), +) + +DISABLE_EBS_ENCRYPTION_BY_DEFAULT: StaticOperationSchema = ( + 23, + n0, + _DEEBD, + 0, + DISABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT, + DISABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT, + (), +) + +DISABLE_FAST_LAUNCH_INPUT: StaticSchema = ( + 18, + n0, + _DFLIi, + {_sSI: _cDFLRomam, _sm: None}, + (_IIm, _Fo, _DR), + ( + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISABLE_FAST_LAUNCH_OUTPUT: StaticSchema = ( + 18, + n0, + _DFLOi, + {_sSI: _cDFLRomama, _smit: None}, + (_IIm, _RT, _SCn, _LT, _MPLa, _OIw, _St, _STR, _STT), + ( + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.FAST_LAUNCH_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + ( + lambda: schemas.FAST_LAUNCH_SNAPSHOT_CONFIGURATION_RESPONSE, + {_aQN: _SCn, _sN: _sCn}, + ), + ( + lambda: schemas.FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_RESPONSE, + {_aQN: _LT, _sN: _lT}, + ), + (lambda: schemas.INTEGER, {_aQN: _MPLa, _sN: _mPL}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.FAST_LAUNCH_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _STR, _sN: _sTR}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _STT, _sN: _sTT}), + ), +) + +DISABLE_FAST_LAUNCH: StaticOperationSchema = ( + 23, + n0, + _DFLi, + 0, + DISABLE_FAST_LAUNCH_INPUT, + DISABLE_FAST_LAUNCH_OUTPUT, + (), +) + +AVAILABILITY_ZONE_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _AZISL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _AZI}),), +) + +AVAILABILITY_ZONE_STRING_LIST: StaticSchema = ( + 16, + n0, + _AZSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _AZ}),), +) + +DISABLE_FAST_SNAPSHOT_RESTORES_INPUT: StaticSchema = ( + 18, + n0, + _DFSRIi, + {_sSI: _cDFSRRom, _sm: None}, + (_AZv, _AZIv, _SSIo, _DR), + ( + (AVAILABILITY_ZONE_STRING_LIST, {_sN: _AZ}), + (AVAILABILITY_ZONE_ID_STRING_LIST, {_sN: _AZI}), + (lambda: schemas.SNAPSHOT_ID_STRING_LIST, {_sN: _SSI, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISABLE_FAST_SNAPSHOT_RESTORES_OUTPUT: StaticSchema = ( + 18, + n0, + _DFSROi, + {_sSI: _cDFSRRoma, _smit: None}, + (_Suc, _Un), + ( + ( + lambda: schemas.DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET, + {_aQN: _Suc, _sN: _succ}, + ), + ( + lambda: schemas.DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET, + {_aQN: _Un, _sN: _un}, + ), + ), +) + +DISABLE_FAST_SNAPSHOT_RESTORES: StaticOperationSchema = ( + 23, + n0, + _DFSRi, + 0, + DISABLE_FAST_SNAPSHOT_RESTORES_INPUT, + DISABLE_FAST_SNAPSHOT_RESTORES_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_38.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_38.py new file mode 100644 index 000000000..18fa02502 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_38.py @@ -0,0 +1,1543 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_p = "pending" +_PI = "PublicIp" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_R = "Return" +_r = "return" +_TGAI = "TransitGatewayAttachmentId" +_CVEI = "ClientVpnEndpointId" +_av = "available" +_de = "deleting" +_St = "State" +_st = "state" +_TGMDI = "TransitGatewayMulticastDomainId" +_SI = "SubnetIds" +_SIu = "SubnetId" +_sI = "subnetId" +_As = "Associations" +_asso = "associations" +_OIw = "OwnerId" +_oI = "ownerId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_VI = "VpcId" +_vI = "vpcId" +_E = "Error" +_er = "error" +_dRr = "dryRun" +_Ci = "Cidr" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_GI = "GatewayId" +_II = "InstanceId" +_NGI = "NatGatewayId" +_nGI = "natGatewayId" +_AIs = "AssociationId" +_aIs = "associationId" +_Asn = "Asn" +_AAs = "AsnAssociation" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_NGAa = "NatGatewayAddresses" +_NGASa = "NatGatewayAddressSet" +_nGAS = "natGatewayAddressSet" +_ASCI = "ApplicationStatusCheckId" +_TTA = "TargetTagAssociations" +_TTAa = "TargetTagAssociation" +_IIn = "InstanceIds" +_SR = "SuccessfulResults" +_SRS = "SuccessfulResultSet" +_sRS = "successfulResultSet" +_UR = "UnsuccessfulResults" +_URS = "UnsuccessfulResultSet" +_uRS = "unsuccessfulResultSet" +_URBOI = "UnusedReservationBillingOwnerId" +_sU = "smithy.api#Unit" +_CAe = "CertificateArn" +_RAo = "RoleArn" +_IIPA = "IamInstanceProfileAssociation" +_iIPA = "iamInstanceProfileAssociation" +_DHI = "DedicatedHostId" +_ITn = "InstanceTags" +_ITns = "InstanceTag" +_DHIe = "DedicatedHostIds" +_IEWI = "InstanceEventWindowId" +_ATss = "AssociationTarget" +_IEW = "InstanceEventWindow" +_iEW = "instanceEventWindow" +_aA = "asnAssociation" +_IRDAI = "IpamResourceDiscoveryAssociationId" +_IRDA = "IpamResourceDiscoveryAssociation" +_iRDA = "ipamResourceDiscoveryAssociation" +_RSI = "RouteServerId" +_RSA = "RouteServerAssociation" +_rSI = "routeServerId" +_rSA = "routeServerAssociation" +_RTIo = "RouteTableId" +_rTIo = "routeTableId" +_GIr = "GroupId" +_ICBA = "Ipv6CidrBlockAssociation" +_iCBA = "ipv6CidrBlockAssociation" +_TGPTI = "TransitGatewayPolicyTableId" +_Ass = "Association" +_assoc = "association" +_TGRTI = "TransitGatewayRouteTableId" +_CBA = "CidrBlockAssociation" +_cBA = "cidrBlockAssociation" +_IIm = "ImageId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_Ins = "Instances" +_IPIp = "IpamPolicyId" +_succe = "success" +_PENDING = "PENDING" +_AVAILABLE = "AVAILABLE" +_DELETING = "DELETING" +_RTAI = "RouteTableAssociationId" +_OAw = "OwnerAlias" +_oAw = "ownerAlias" +_TGRTAI = "TransitGatewayRouteTableAnnouncementId" +_ISns = "InstanceSet" +_iSn = "instanceSet" +_AIsso = "AssociationIds" +_STR = "StateTransitionReason" +_sTR = "stateTransitionReason" +_ETna = "EnablingTime" +_eTna = "enablingTime" +_OT = "OptimizingTime" +_oT = "optimizingTime" +_ETnab = "EnabledTime" +_eTnab = "enabledTime" +_DTi = "DisablingTime" +_dTi = "disablingTime" +_DTis = "DisabledTime" +_dTis = "disabledTime" +_DFSRSIi = "DisableFastSnapshotRestoreSuccessItem" +_DFSRSSi = "DisableFastSnapshotRestoreSuccessSet" +_DFSRSE = "DisableFastSnapshotRestoreStateError" +_DFSRSEI = "DisableFastSnapshotRestoreStateErrorItem" +_DFSRSES = "DisableFastSnapshotRestoreStateErrorSet" +_DFSREI = "DisableFastSnapshotRestoreErrorItem" +_FSRSE = "FastSnapshotRestoreStateErrors" +_FSRSES = "FastSnapshotRestoreStateErrorSet" +_fSRSES = "fastSnapshotRestoreStateErrorSet" +_DFSRES = "DisableFastSnapshotRestoreErrorSet" +_DIIi = "DisableImageInput" +_cDIRomamazonaw = "com.amazonaws.ec2#DisableImageRequest" +_DIOi = "DisableImageOutput" +_cDIRomamazonaws = "com.amazonaws.ec2#DisableImageResult" +_DIisa = "DisableImage" +_DIBPAI = "DisableImageBlockPublicAccessInput" +_cDIBPAR = "com.amazonaws.ec2#DisableImageBlockPublicAccessRequest" +_IBPADS = "ImageBlockPublicAccessDisabledState" +_unb = "unblocked" +_DIBPAO = "DisableImageBlockPublicAccessOutput" +_cDIBPARo = "com.amazonaws.ec2#DisableImageBlockPublicAccessResult" +_IBPAS = "ImageBlockPublicAccessState" +_iBPAS = "imageBlockPublicAccessState" +_DIBPA = "DisableImageBlockPublicAccess" +_DIDI = "DisableImageDeprecationInput" +_cDIDR = "com.amazonaws.ec2#DisableImageDeprecationRequest" +_DIDO = "DisableImageDeprecationOutput" +_cDIDRo = "com.amazonaws.ec2#DisableImageDeprecationResult" +_DIDi = "DisableImageDeprecation" +_DIDPI = "DisableImageDeregistrationProtectionInput" +_cDIDPR = "com.amazonaws.ec2#DisableImageDeregistrationProtectionRequest" +_DIDPO = "DisableImageDeregistrationProtectionOutput" +_cDIDPRo = "com.amazonaws.ec2#DisableImageDeregistrationProtectionResult" +_DIDP = "DisableImageDeregistrationProtection" +_IIUSL = "InstanceIdUpdateStringList" +_DISHSDI = "DisableInstanceSqlHaStandbyDetectionsInput" +_cDISHSDR = "com.amazonaws.ec2#DisableInstanceSqlHaStandbyDetectionsRequest" +_DISHSDO = "DisableInstanceSqlHaStandbyDetectionsOutput" +_cDISHSDRo = "com.amazonaws.ec2#DisableInstanceSqlHaStandbyDetectionsResult" +_DISHSD = "DisableInstanceSqlHaStandbyDetections" +_DIOAAI = "DisableIpamOrganizationAdminAccountInput" +_cDIOAAR = "com.amazonaws.ec2#DisableIpamOrganizationAdminAccountRequest" +_DAAIel = "DelegatedAdminAccountId" +_DIOAAO = "DisableIpamOrganizationAdminAccountOutput" +_cDIOAARo = "com.amazonaws.ec2#DisableIpamOrganizationAdminAccountResult" +_Succ = "Success" +_DIOAA = "DisableIpamOrganizationAdminAccount" +_DIPIi = "DisableIpamPolicyInput" +_cDIPRomamazonaw = "com.amazonaws.ec2#DisableIpamPolicyRequest" +_OTI = "OrganizationTargetId" +_DIPOi = "DisableIpamPolicyOutput" +_cDIPRomamazonaws = "com.amazonaws.ec2#DisableIpamPolicyResult" +_DIPi = "DisableIpamPolicy" +_DRSPIi = "DisableRouteServerPropagationInput" +_cDRSPRomam = "com.amazonaws.ec2#DisableRouteServerPropagationRequest" +_RSPSou = "RouteServerPropagationState" +_RSPou = "RouteServerPropagation" +_DRSPOi = "DisableRouteServerPropagationOutput" +_cDRSPRomama = "com.amazonaws.ec2#DisableRouteServerPropagationResult" +_rSPo = "routeServerPropagation" +_DRSPi = "DisableRouteServerPropagation" +_DSCAI = "DisableSerialConsoleAccessInput" +_cDSCAR = "com.amazonaws.ec2#DisableSerialConsoleAccessRequest" +_DSCAO = "DisableSerialConsoleAccessOutput" +_cDSCARo = "com.amazonaws.ec2#DisableSerialConsoleAccessResult" +_SCAE = "SerialConsoleAccessEnabled" +_sCAE = "serialConsoleAccessEnabled" +_DSCA = "DisableSerialConsoleAccess" +_DSBPAI = "DisableSnapshotBlockPublicAccessInput" +_cDSBPAR = "com.amazonaws.ec2#DisableSnapshotBlockPublicAccessRequest" +_SBPAS = "SnapshotBlockPublicAccessState" +_bas = "block_all_sharing" +_bas_ = "block-all-sharing" +_bns = "block_new_sharing" +_bns_ = "block-new-sharing" +_DSBPAO = "DisableSnapshotBlockPublicAccessOutput" +_cDSBPARo = "com.amazonaws.ec2#DisableSnapshotBlockPublicAccessResult" +_DSBPA = "DisableSnapshotBlockPublicAccess" +_DTGRTPI = "DisableTransitGatewayRouteTablePropagationInput" +_cDTGRTPR = "com.amazonaws.ec2#DisableTransitGatewayRouteTablePropagationRequest" +_DTGRTPO = "DisableTransitGatewayRouteTablePropagationOutput" +_cDTGRTPRo = "com.amazonaws.ec2#DisableTransitGatewayRouteTablePropagationResult" +_Prop = "Propagation" +_propa = "propagation" +_DTGRTP = "DisableTransitGatewayRouteTablePropagation" +_DVRPI = "DisableVgwRoutePropagationInput" +_cDVRPR = "com.amazonaws.ec2#DisableVgwRoutePropagationRequest" +_DVRPO = "DisableVgwRoutePropagationOutput" +_DVRP = "DisableVgwRoutePropagation" +_DVCLIi = "DisableVpcClassicLinkInput" +_cDVCLRom = "com.amazonaws.ec2#DisableVpcClassicLinkRequest" +_DVCLOi = "DisableVpcClassicLinkOutput" +_cDVCLRoma = "com.amazonaws.ec2#DisableVpcClassicLinkResult" +_DVCLi = "DisableVpcClassicLink" +_DVCLDSIi = "DisableVpcClassicLinkDnsSupportInput" +_cDVCLDSRom = "com.amazonaws.ec2#DisableVpcClassicLinkDnsSupportRequest" +_DVCLDSOi = "DisableVpcClassicLinkDnsSupportOutput" +_cDVCLDSRoma = "com.amazonaws.ec2#DisableVpcClassicLinkDnsSupportResult" +_DVCLDSi = "DisableVpcClassicLinkDnsSupport" +_EIAI = "ElasticIpAssociationId" +_DAIi = "DisassociateAddressInput" +_cDARom = "com.amazonaws.ec2#DisassociateAddressRequest" +_DAOi = "DisassociateAddressOutput" +_DAi = "DisassociateAddress" +_DASCIi = "DisassociateApplicationStatusCheckInput" +_cDASCRomam = "com.amazonaws.ec2#DisassociateApplicationStatusCheckRequest" +_DASCOi = "DisassociateApplicationStatusCheckOutput" +_cDASCRomama = "com.amazonaws.ec2#DisassociateApplicationStatusCheckResult" +_DASCi = "DisassociateApplicationStatusCheck" +_DCRBOI = "DisassociateCapacityReservationBillingOwnerInput" +_cDCRBOR = "com.amazonaws.ec2#DisassociateCapacityReservationBillingOwnerRequest" +_DCRBOO = "DisassociateCapacityReservationBillingOwnerOutput" +_cDCRBORo = "com.amazonaws.ec2#DisassociateCapacityReservationBillingOwnerResult" +_DCRBO = "DisassociateCapacityReservationBillingOwner" +_DCVTNIi = "DisassociateClientVpnTargetNetworkInput" +_cDCVTNRom = "com.amazonaws.ec2#DisassociateClientVpnTargetNetworkRequest" +_DCVTNOi = "DisassociateClientVpnTargetNetworkOutput" +_cDCVTNRoma = "com.amazonaws.ec2#DisassociateClientVpnTargetNetworkResult" +_DCVTNi = "DisassociateClientVpnTargetNetwork" +_DECIRI = "DisassociateEnclaveCertificateIamRoleInput" +_cDECIRR = "com.amazonaws.ec2#DisassociateEnclaveCertificateIamRoleRequest" +_DECIRO = "DisassociateEnclaveCertificateIamRoleOutput" +_cDECIRRo = "com.amazonaws.ec2#DisassociateEnclaveCertificateIamRoleResult" +_DECIR = "DisassociateEnclaveCertificateIamRole" +_DIIPI = "DisassociateIamInstanceProfileInput" +_cDIIPR = "com.amazonaws.ec2#DisassociateIamInstanceProfileRequest" +_DIIPO = "DisassociateIamInstanceProfileOutput" +_cDIIPRo = "com.amazonaws.ec2#DisassociateIamInstanceProfileResult" +_DIIP = "DisassociateIamInstanceProfile" +_IEWDR = "InstanceEventWindowDisassociationRequest" +_DIEWIi = "DisassociateInstanceEventWindowInput" +_cDIEWRomam = "com.amazonaws.ec2#DisassociateInstanceEventWindowRequest" +_DIEWOi = "DisassociateInstanceEventWindowOutput" +_cDIEWRomama = "com.amazonaws.ec2#DisassociateInstanceEventWindowResult" +_DIEWi = "DisassociateInstanceEventWindow" +_DIBIi = "DisassociateIpamByoasnInput" +_cDIBRomam = "com.amazonaws.ec2#DisassociateIpamByoasnRequest" +_DIBOi = "DisassociateIpamByoasnOutput" +_cDIBRomama = "com.amazonaws.ec2#DisassociateIpamByoasnResult" +_DIBi = "DisassociateIpamByoasn" +_DIRDIi = "DisassociateIpamResourceDiscoveryInput" +_cDIRDRomam = "com.amazonaws.ec2#DisassociateIpamResourceDiscoveryRequest" +_DIRDOi = "DisassociateIpamResourceDiscoveryOutput" +_cDIRDRomama = "com.amazonaws.ec2#DisassociateIpamResourceDiscoveryResult" +_DIRDi = "DisassociateIpamResourceDiscovery" +_EAIL = "EipAssociationIdList" +_DSr = "DrainSeconds" +_DNGAI = "DisassociateNatGatewayAddressInput" +_cDNGAR = "com.amazonaws.ec2#DisassociateNatGatewayAddressRequest" +_MDDS = "MaxDrainDurationSeconds" +_DNGAO = "DisassociateNatGatewayAddressOutput" +_cDNGARo = "com.amazonaws.ec2#DisassociateNatGatewayAddressResult" +_DNGA = "DisassociateNatGatewayAddress" +_DRSIi = "DisassociateRouteServerInput" +_cDRSRomam = "com.amazonaws.ec2#DisassociateRouteServerRequest" +_DRSOi = "DisassociateRouteServerOutput" +_cDRSRomama = "com.amazonaws.ec2#DisassociateRouteServerResult" +_DRSi = "DisassociateRouteServer" +_DRTIi = "DisassociateRouteTableInput" +_cDRTRoma = "com.amazonaws.ec2#DisassociateRouteTableRequest" +_DRTOi = "DisassociateRouteTableOutput" +_DRTi = "DisassociateRouteTable" +_DSGVSGI = "DisassociateSecurityGroupVpcSecurityGroupId" +_DSGVI = "DisassociateSecurityGroupVpcInput" +_cDSGVR = "com.amazonaws.ec2#DisassociateSecurityGroupVpcRequest" +_DSGVO = "DisassociateSecurityGroupVpcOutput" +_cDSGVRo = "com.amazonaws.ec2#DisassociateSecurityGroupVpcResult" +_DSGV = "DisassociateSecurityGroupVpc" +_DSCBI = "DisassociateSubnetCidrBlockInput" +_cDSCBR = "com.amazonaws.ec2#DisassociateSubnetCidrBlockRequest" +_DSCBO = "DisassociateSubnetCidrBlockOutput" +_cDSCBRo = "com.amazonaws.ec2#DisassociateSubnetCidrBlockResult" +_DSCB = "DisassociateSubnetCidrBlock" +_DTGMDIi = "DisassociateTransitGatewayMulticastDomainInput" +_cDTGMDRomam = "com.amazonaws.ec2#DisassociateTransitGatewayMulticastDomainRequest" +_DTGMDOi = "DisassociateTransitGatewayMulticastDomainOutput" +_cDTGMDRomama = "com.amazonaws.ec2#DisassociateTransitGatewayMulticastDomainResult" +_DTGMDi = "DisassociateTransitGatewayMulticastDomain" +_DTGPTIi = "DisassociateTransitGatewayPolicyTableInput" +_cDTGPTRomam = "com.amazonaws.ec2#DisassociateTransitGatewayPolicyTableRequest" +_DTGPTOi = "DisassociateTransitGatewayPolicyTableOutput" +_cDTGPTRomama = "com.amazonaws.ec2#DisassociateTransitGatewayPolicyTableResult" +_DTGPTi = "DisassociateTransitGatewayPolicyTable" +_DTGRTIi = "DisassociateTransitGatewayRouteTableInput" +_cDTGRTRomam = "com.amazonaws.ec2#DisassociateTransitGatewayRouteTableRequest" +_DTGRTOi = "DisassociateTransitGatewayRouteTableOutput" +_cDTGRTRomama = "com.amazonaws.ec2#DisassociateTransitGatewayRouteTableResult" +_DTGRTi = "DisassociateTransitGatewayRouteTable" +_DTII = "DisassociateTrunkInterfaceInput" +_cDTIR = "com.amazonaws.ec2#DisassociateTrunkInterfaceRequest" +_DTIO = "DisassociateTrunkInterfaceOutput" +_cDTIRo = "com.amazonaws.ec2#DisassociateTrunkInterfaceResult" +_DTIi = "DisassociateTrunkInterface" +_VCAI = "VpcCidrAssociationId" +_DVCBI = "DisassociateVpcCidrBlockInput" +_cDVCBR = "com.amazonaws.ec2#DisassociateVpcCidrBlockRequest" +_DVCBO = "DisassociateVpcCidrBlockOutput" +_cDVCBRo = "com.amazonaws.ec2#DisassociateVpcCidrBlockResult" +_DVCB = "DisassociateVpcCidrBlock" + +DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM: StaticSchema = ( + 18, + n0, + _DFSRSIi, + 0, + (_SIn, _AZ, _AZI, _St, _STR, _OIw, _OAw, _ETna, _OT, _ETnab, _DTi, _DTis), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.FAST_SNAPSHOT_RESTORE_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _STR, _sN: _sTR}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _OAw, _sN: _oAw}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ETna, _sN: _eTna}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _OT, _sN: _oT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ETnab, _sN: _eTnab}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _DTi, _sN: _dTi}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _DTis, _sN: _dTis}), + ), +) + +DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET: StaticSchema = ( + 16, + n0, + _DFSRSSi, + 0, + (_me,), + ((DISABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM, {_sN: _i}),), +) + +DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR: StaticSchema = ( + 18, + n0, + _DFSRSE, + 0, + (_C, _Me), + ( + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM: StaticSchema = ( + 18, + n0, + _DFSRSEI, + 0, + (_AZ, _AZI, _E), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR, {_aQN: _E, _sN: _er}), + ), +) + +DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET: StaticSchema = ( + 16, + n0, + _DFSRSES, + 0, + (_me,), + ((DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM, {_sN: _i}),), +) + +DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM: StaticSchema = ( + 18, + n0, + _DFSREI, + 0, + (_SIn, _FSRSE), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (DISABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET, {_aQN: _FSRSES, _sN: _fSRSES}), + ), +) + +DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET: StaticSchema = ( + 16, + n0, + _DFSRES, + 0, + (_me,), + ((DISABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM, {_sN: _i}),), +) + +DISABLE_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _DIIi, + {_sSI: _cDIRomamazonaw, _sm: None}, + (_IIm, _DR), + ((lambda: schemas.IMAGE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DISABLE_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOi, + {_sSI: _cDIRomamazonaws, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DISABLE_IMAGE: StaticOperationSchema = ( + 23, + n0, + _DIisa, + 0, + DISABLE_IMAGE_INPUT, + DISABLE_IMAGE_OUTPUT, + (), +) + +DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _DIBPAI, + {_sSI: _cDIBPAR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIBPAO, + {_sSI: _cDIBPARo, _smit: None}, + (_IBPAS,), + ((lambda: IMAGE_BLOCK_PUBLIC_ACCESS_DISABLED_STATE, {_aQN: _IBPAS, _sN: _iBPAS}),), +) + +DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS: StaticOperationSchema = ( + 23, + n0, + _DIBPA, + 0, + DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT, + DISABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT, + (), +) + +IMAGE_BLOCK_PUBLIC_ACCESS_DISABLED_STATE: StaticSchema = ( + 14, + n0, + _IBPADS, + 0, + (_unb,), + ((-1, {_sV: _unb}),), +) + +DISABLE_IMAGE_DEPRECATION_INPUT: StaticSchema = ( + 18, + n0, + _DIDI, + {_sSI: _cDIDR, _sm: None}, + (_IIm, _DR), + ((lambda: schemas.IMAGE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DISABLE_IMAGE_DEPRECATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DIDO, + {_sSI: _cDIDRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DISABLE_IMAGE_DEPRECATION: StaticOperationSchema = ( + 23, + n0, + _DIDi, + 0, + DISABLE_IMAGE_DEPRECATION_INPUT, + DISABLE_IMAGE_DEPRECATION_OUTPUT, + (), +) + +DISABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT: StaticSchema = ( + 18, + n0, + _DIDPI, + {_sSI: _cDIDPR, _sm: None}, + (_IIm, _DR), + ((lambda: schemas.IMAGE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +DISABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DIDPO, + {_sSI: _cDIDPRo, _smit: None}, + (_R,), + ((lambda: schemas.STRING, {_aQN: _R, _sN: _r}),), +) + +DISABLE_IMAGE_DEREGISTRATION_PROTECTION: StaticOperationSchema = ( + 23, + n0, + _DIDP, + 0, + DISABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT, + DISABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT, + (), +) + +INSTANCE_ID_UPDATE_STRING_LIST: StaticSchema = ( + 16, + n0, + _IIUSL, + 0, + (_me,), + ((lambda: schemas.INSTANCE_ID, {_sN: _i}),), +) + +DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DISHSDI, + {_sSI: _cDISHSDR, _sm: None}, + (_IIn, _DR), + ( + (INSTANCE_ID_UPDATE_STRING_LIST, {_sN: _II, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DISHSDO, + {_sSI: _cDISHSDRo, _smit: None}, + (_Ins,), + ((lambda: schemas.REGISTERED_INSTANCE_LIST, {_aQN: _ISns, _sN: _iSn}),), +) + +DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS: StaticOperationSchema = ( + 23, + n0, + _DISHSD, + 0, + DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT, + DISABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT, + (), +) + +DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _DIOAAI, + {_sSI: _cDIOAAR, _sm: None}, + (_DR, _DAAIel), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.STRING, 1)), +) + +DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOAAO, + {_sSI: _cDIOAARo, _smit: None}, + (_Succ,), + ((lambda: schemas.BOOLEAN, {_aQN: _Succ, _sN: _succe}),), +) + +DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _DIOAA, + 0, + DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT, + DISABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT, + (), +) + +DISABLE_IPAM_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DIPIi, + {_sSI: _cDIPRomamazonaw, _sm: None}, + (_DR, _IPIp, _OTI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POLICY_ID, 1), + (lambda: schemas.STRING, 0), + ), +) + +DISABLE_IPAM_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DIPOi, + {_sSI: _cDIPRomamazonaws, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DISABLE_IPAM_POLICY: StaticOperationSchema = ( + 23, + n0, + _DIPi, + 0, + DISABLE_IPAM_POLICY_INPUT, + DISABLE_IPAM_POLICY_OUTPUT, + (), +) + +DISABLE_ROUTE_SERVER_PROPAGATION_INPUT: StaticSchema = ( + 18, + n0, + _DRSPIi, + {_sSI: _cDRSPRomam, _sm: None}, + (_RSI, _RTIo, _DR), + ( + (lambda: schemas.ROUTE_SERVER_ID, 1), + (lambda: schemas.ROUTE_TABLE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISABLE_ROUTE_SERVER_PROPAGATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DRSPOi, + {_sSI: _cDRSPRomama, _smit: None}, + (_RSPou,), + ((lambda: ROUTE_SERVER_PROPAGATION, {_aQN: _RSPou, _sN: _rSPo}),), +) + +DISABLE_ROUTE_SERVER_PROPAGATION: StaticOperationSchema = ( + 23, + n0, + _DRSPi, + 0, + DISABLE_ROUTE_SERVER_PROPAGATION_INPUT, + DISABLE_ROUTE_SERVER_PROPAGATION_OUTPUT, + (), +) + +ROUTE_SERVER_PROPAGATION_STATE: StaticSchema = ( + 14, + n0, + _RSPSou, + 0, + (_PENDING, _AVAILABLE, _DELETING), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de})), +) + +ROUTE_SERVER_PROPAGATION: StaticSchema = ( + 18, + n0, + _RSPou, + 0, + (_RSI, _RTIo, _St), + ( + (lambda: schemas.ROUTE_SERVER_ID, {_aQN: _RSI, _sN: _rSI}), + (lambda: schemas.ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo}), + (ROUTE_SERVER_PROPAGATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +DISABLE_SERIAL_CONSOLE_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _DSCAI, + {_sSI: _cDSCAR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +DISABLE_SERIAL_CONSOLE_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSCAO, + {_sSI: _cDSCARo, _smit: None}, + (_SCAE,), + ((lambda: schemas.BOOLEAN, {_aQN: _SCAE, _sN: _sCAE}),), +) + +DISABLE_SERIAL_CONSOLE_ACCESS: StaticOperationSchema = ( + 23, + n0, + _DSCA, + 0, + DISABLE_SERIAL_CONSOLE_ACCESS_INPUT, + DISABLE_SERIAL_CONSOLE_ACCESS_OUTPUT, + (), +) + +DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _DSBPAI, + {_sSI: _cDSBPAR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSBPAO, + {_sSI: _cDSBPARo, _smit: None}, + (_St,), + ((lambda: SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE, {_aQN: _St, _sN: _st}),), +) + +DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS: StaticOperationSchema = ( + 23, + n0, + _DSBPA, + 0, + DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT, + DISABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT, + (), +) + +SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE: StaticSchema = ( + 14, + n0, + _SBPAS, + 0, + (_bas, _bns, _unb), + ((-1, {_sV: _bas_}), (-1, {_sV: _bns_}), (-1, {_sV: _unb})), +) + +DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT: StaticSchema = ( + 18, + n0, + _DTGRTPI, + {_sSI: _cDTGRTPR, _sm: None}, + (_TGRTI, _TGAI, _DR, _TGRTAI), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, 0), + ), +) + +DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGRTPO, + {_sSI: _cDTGRTPRo, _smit: None}, + (_Prop,), + ((lambda: schemas.TRANSIT_GATEWAY_PROPAGATION, {_aQN: _Prop, _sN: _propa}),), +) + +DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION: StaticOperationSchema = ( + 23, + n0, + _DTGRTP, + 0, + DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT, + DISABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT, + (), +) + +DISABLE_VGW_ROUTE_PROPAGATION_INPUT: StaticSchema = ( + 18, + n0, + _DVRPI, + {_sSI: _cDVRPR, _sm: None}, + (_GI, _RTIo, _DR), + ( + (lambda: schemas.VPN_GATEWAY_ID, 1), + (lambda: schemas.ROUTE_TABLE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISABLE_VGW_ROUTE_PROPAGATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DVRPO, + {_sSI: _sU, _smit: None}, +) + +DISABLE_VGW_ROUTE_PROPAGATION: StaticOperationSchema = ( + 23, + n0, + _DVRP, + 0, + DISABLE_VGW_ROUTE_PROPAGATION_INPUT, + DISABLE_VGW_ROUTE_PROPAGATION_OUTPUT, + (), +) + +DISABLE_VPC_CLASSIC_LINK_INPUT: StaticSchema = ( + 18, + n0, + _DVCLIi, + {_sSI: _cDVCLRom, _sm: None}, + (_DR, _VI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + ), +) + +DISABLE_VPC_CLASSIC_LINK_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCLOi, + {_sSI: _cDVCLRoma, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DISABLE_VPC_CLASSIC_LINK: StaticOperationSchema = ( + 23, + n0, + _DVCLi, + 0, + DISABLE_VPC_CLASSIC_LINK_INPUT, + DISABLE_VPC_CLASSIC_LINK_OUTPUT, + (), +) + +DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT: StaticSchema = ( + 18, + n0, + _DVCLDSIi, + {_sSI: _cDVCLDSRom, _sm: None}, + (_VI,), + ((lambda: schemas.VPC_ID, {_sN: _VI}),), +) + +DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCLDSOi, + {_sSI: _cDVCLDSRoma, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT: StaticOperationSchema = ( + 23, + n0, + _DVCLDSi, + 0, + DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT, + DISABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT, + (), +) + +ELASTIC_IP_ASSOCIATION_ID: StaticSchema = (3, n0, _EIAI, 0) + +DISASSOCIATE_ADDRESS_INPUT: StaticSchema = ( + 18, + n0, + _DAIi, + {_sSI: _cDARom, _sm: None}, + (_AIs, _PI, _DR), + ( + (ELASTIC_IP_ASSOCIATION_ID, 0), + (lambda: schemas.EIP_ALLOCATION_PUBLIC_IP, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +DISASSOCIATE_ADDRESS_OUTPUT: StaticSchema = (18, n0, _DAOi, {_sSI: _sU, _smit: None}) + +DISASSOCIATE_ADDRESS: StaticOperationSchema = ( + 23, + n0, + _DAi, + 0, + DISASSOCIATE_ADDRESS_INPUT, + DISASSOCIATE_ADDRESS_OUTPUT, + (), +) + +DISASSOCIATE_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( + 18, + n0, + _DASCIi, + {_sSI: _cDASCRomam, _sm: None}, + (_ASCI, _TTA, _IIn, _CTl, _DR), + ( + (lambda: schemas.APPLICATION_STATUS_CHECK_ID, 1), + (lambda: schemas.CUSTOM_KEY_VALUE_PAIR_REQUEST_SET, {_sN: _TTAa}), + (lambda: schemas.INSTANCE_ID_LIST, {_sN: _II}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( + 18, + n0, + _DASCOi, + {_sSI: _cDASCRomama, _smit: None}, + (_SR, _UR), + ( + (lambda: schemas.SUCCESSFUL_ASSOCIATION_RESPONSE_SET, {_aQN: _SRS, _sN: _sRS}), + ( + lambda: schemas.UNSUCCESSFUL_ASSOCIATION_RESPONSE_SET, + {_aQN: _URS, _sN: _uRS}, + ), + ), +) + +DISASSOCIATE_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( + 23, + n0, + _DASCi, + 0, + DISASSOCIATE_APPLICATION_STATUS_CHECK_INPUT, + DISASSOCIATE_APPLICATION_STATUS_CHECK_OUTPUT, + (), +) + +DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT: StaticSchema = ( + 18, + n0, + _DCRBOI, + {_sSI: _cDCRBOR, _sm: None}, + (_DR, _CRI, _URBOI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.ACCOUNT_ID, 1), + ), +) + +DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT: StaticSchema = ( + 18, + n0, + _DCRBOO, + {_sSI: _cDCRBORo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER: StaticOperationSchema = ( + 23, + n0, + _DCRBO, + 0, + DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_INPUT, + DISASSOCIATE_CAPACITY_RESERVATION_BILLING_OWNER_OUTPUT, + (), +) + +DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT: StaticSchema = ( + 18, + n0, + _DCVTNIi, + {_sSI: _cDCVTNRom, _sm: None}, + (_CVEI, _AIs, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT: StaticSchema = ( + 18, + n0, + _DCVTNOi, + {_sSI: _cDCVTNRoma, _smit: None}, + (_AIs, _Sta), + ( + (lambda: schemas.STRING, {_aQN: _AIs, _sN: _aIs}), + (lambda: schemas.ASSOCIATION_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK: StaticOperationSchema = ( + 23, + n0, + _DCVTNi, + 0, + DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_INPUT, + DISASSOCIATE_CLIENT_VPN_TARGET_NETWORK_OUTPUT, + (), +) + +DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _DECIRI, + {_sSI: _cDECIRR, _sm: None}, + (_CAe, _RAo, _DR), + ( + (lambda: schemas.CERTIFICATE_ID, 1), + (lambda: schemas.ROLE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DECIRO, + {_sSI: _cDECIRRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE: StaticOperationSchema = ( + 23, + n0, + _DECIR, + 0, + DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_INPUT, + DISASSOCIATE_ENCLAVE_CERTIFICATE_IAM_ROLE_OUTPUT, + (), +) + +DISASSOCIATE_IAM_INSTANCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _DIIPI, + {_sSI: _cDIIPR, _sm: None}, + (_AIs,), + ((lambda: schemas.IAM_INSTANCE_PROFILE_ASSOCIATION_ID, 1),), +) + +DISASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _DIIPO, + {_sSI: _cDIIPRo, _smit: None}, + (_IIPA,), + ((lambda: schemas.IAM_INSTANCE_PROFILE_ASSOCIATION, {_aQN: _IIPA, _sN: _iIPA}),), +) + +DISASSOCIATE_IAM_INSTANCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _DIIP, + 0, + DISASSOCIATE_IAM_INSTANCE_PROFILE_INPUT, + DISASSOCIATE_IAM_INSTANCE_PROFILE_OUTPUT, + (), +) + +INSTANCE_EVENT_WINDOW_DISASSOCIATION_REQUEST: StaticSchema = ( + 18, + n0, + _IEWDR, + 0, + (_IIn, _ITn, _DHIe), + ( + (lambda: schemas.INSTANCE_ID_LIST, {_sN: _II}), + (lambda: schemas.TAG_LIST, {_sN: _ITns}), + (lambda: schemas.DEDICATED_HOST_ID_LIST, {_sN: _DHI}), + ), +) + +DISASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( + 18, + n0, + _DIEWIi, + {_sSI: _cDIEWRomam, _sm: None}, + (_DR, _IEWI, _ATss), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_EVENT_WINDOW_ID, 1), + (INSTANCE_EVENT_WINDOW_DISASSOCIATION_REQUEST, 1), + ), +) + +DISASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( + 18, + n0, + _DIEWOi, + {_sSI: _cDIEWRomama, _smit: None}, + (_IEW,), + ((lambda: schemas.INSTANCE_EVENT_WINDOW, {_aQN: _IEW, _sN: _iEW}),), +) + +DISASSOCIATE_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( + 23, + n0, + _DIEWi, + 0, + DISASSOCIATE_INSTANCE_EVENT_WINDOW_INPUT, + DISASSOCIATE_INSTANCE_EVENT_WINDOW_OUTPUT, + (), +) + +DISASSOCIATE_IPAM_BYOASN_INPUT: StaticSchema = ( + 18, + n0, + _DIBIi, + {_sSI: _cDIBRomam, _sm: None}, + (_DR, _Asn, _Ci), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + ), +) + +DISASSOCIATE_IPAM_BYOASN_OUTPUT: StaticSchema = ( + 18, + n0, + _DIBOi, + {_sSI: _cDIBRomama, _smit: None}, + (_AAs,), + ((lambda: schemas.ASN_ASSOCIATION, {_aQN: _AAs, _sN: _aA}),), +) + +DISASSOCIATE_IPAM_BYOASN: StaticOperationSchema = ( + 23, + n0, + _DIBi, + 0, + DISASSOCIATE_IPAM_BYOASN_INPUT, + DISASSOCIATE_IPAM_BYOASN_OUTPUT, + (), +) + +DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( + 18, + n0, + _DIRDIi, + {_sSI: _cDIRDRomam, _sm: None}, + (_DR, _IRDAI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ASSOCIATION_ID, 1), + ), +) + +DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( + 18, + n0, + _DIRDOi, + {_sSI: _cDIRDRomama, _smit: None}, + (_IRDA,), + ((lambda: schemas.IPAM_RESOURCE_DISCOVERY_ASSOCIATION, {_aQN: _IRDA, _sN: _iRDA}),), +) + +DISASSOCIATE_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( + 23, + n0, + _DIRDi, + 0, + DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_INPUT, + DISASSOCIATE_IPAM_RESOURCE_DISCOVERY_OUTPUT, + (), +) + +EIP_ASSOCIATION_ID_LIST: StaticSchema = ( + 16, + n0, + _EAIL, + 0, + (_me,), + ((ELASTIC_IP_ASSOCIATION_ID, {_sN: _i}),), +) + +DRAIN_SECONDS: StaticSchema = (7, n0, _DSr, 0) + +DISASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT: StaticSchema = ( + 18, + n0, + _DNGAI, + {_sSI: _cDNGAR, _sm: None}, + (_NGI, _AIsso, _MDDS, _DR), + ( + (lambda: schemas.NAT_GATEWAY_ID, 1), + (EIP_ASSOCIATION_ID_LIST, {_sN: _AIs, _smi: None}), + (DRAIN_SECONDS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _DNGAO, + {_sSI: _cDNGARo, _smit: None}, + (_NGI, _NGAa), + ( + (lambda: schemas.NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), + (lambda: schemas.NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), + ), +) + +DISASSOCIATE_NAT_GATEWAY_ADDRESS: StaticOperationSchema = ( + 23, + n0, + _DNGA, + 0, + DISASSOCIATE_NAT_GATEWAY_ADDRESS_INPUT, + DISASSOCIATE_NAT_GATEWAY_ADDRESS_OUTPUT, + (), +) + +DISASSOCIATE_ROUTE_SERVER_INPUT: StaticSchema = ( + 18, + n0, + _DRSIi, + {_sSI: _cDRSRomam, _sm: None}, + (_RSI, _VI, _DR), + ( + (lambda: schemas.ROUTE_SERVER_ID, 1), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_ROUTE_SERVER_OUTPUT: StaticSchema = ( + 18, + n0, + _DRSOi, + {_sSI: _cDRSRomama, _smit: None}, + (_RSA,), + ((lambda: schemas.ROUTE_SERVER_ASSOCIATION, {_aQN: _RSA, _sN: _rSA}),), +) + +DISASSOCIATE_ROUTE_SERVER: StaticOperationSchema = ( + 23, + n0, + _DRSi, + 0, + DISASSOCIATE_ROUTE_SERVER_INPUT, + DISASSOCIATE_ROUTE_SERVER_OUTPUT, + (), +) + +ROUTE_TABLE_ASSOCIATION_ID: StaticSchema = (3, n0, _RTAI, 0) + +DISASSOCIATE_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DRTIi, + {_sSI: _cDRTRoma, _sm: None}, + (_DR, _AIs), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (ROUTE_TABLE_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs, _smi: None}), + ), +) + +DISASSOCIATE_ROUTE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DRTOi, + {_sSI: _sU, _smit: None}, +) + +DISASSOCIATE_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _DRTi, + 0, + DISASSOCIATE_ROUTE_TABLE_INPUT, + DISASSOCIATE_ROUTE_TABLE_OUTPUT, + (), +) + +DISASSOCIATE_SECURITY_GROUP_VPC_SECURITY_GROUP_ID: StaticSchema = (3, n0, _DSGVSGI, 0) + +DISASSOCIATE_SECURITY_GROUP_VPC_INPUT: StaticSchema = ( + 18, + n0, + _DSGVI, + {_sSI: _cDSGVR, _sm: None}, + (_GIr, _VI, _DR), + ( + (DISASSOCIATE_SECURITY_GROUP_VPC_SECURITY_GROUP_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_SECURITY_GROUP_VPC_OUTPUT: StaticSchema = ( + 18, + n0, + _DSGVO, + {_sSI: _cDSGVRo, _smit: None}, + (_St,), + ((lambda: schemas.SECURITY_GROUP_VPC_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}),), +) + +DISASSOCIATE_SECURITY_GROUP_VPC: StaticOperationSchema = ( + 23, + n0, + _DSGV, + 0, + DISASSOCIATE_SECURITY_GROUP_VPC_INPUT, + DISASSOCIATE_SECURITY_GROUP_VPC_OUTPUT, + (), +) + +DISASSOCIATE_SUBNET_CIDR_BLOCK_INPUT: StaticSchema = ( + 18, + n0, + _DSCBI, + {_sSI: _cDSCBR, _sm: None}, + (_AIs,), + ( + ( + lambda: schemas.SUBNET_CIDR_ASSOCIATION_ID, + {_aQN: _AIs, _sN: _aIs, _smi: None}, + ), + ), +) + +DISASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT: StaticSchema = ( + 18, + n0, + _DSCBO, + {_sSI: _cDSCBRo, _smit: None}, + (_ICBA, _SIu), + ( + (lambda: schemas.SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION, {_aQN: _ICBA, _sN: _iCBA}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + ), +) + +DISASSOCIATE_SUBNET_CIDR_BLOCK: StaticOperationSchema = ( + 23, + n0, + _DSCB, + 0, + DISASSOCIATE_SUBNET_CIDR_BLOCK_INPUT, + DISASSOCIATE_SUBNET_CIDR_BLOCK_OUTPUT, + (), +) + +DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT: StaticSchema = ( + 18, + n0, + _DTGMDIi, + {_sSI: _cDTGMDRomam, _sm: None}, + (_TGMDI, _TGAI, _SI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_SUBNET_ID_LIST, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGMDOi, + {_sSI: _cDTGMDRomama, _smit: None}, + (_As,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS, + {_aQN: _As, _sN: _asso}, + ), + ), +) + +DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN: StaticOperationSchema = ( + 23, + n0, + _DTGMDi, + 0, + DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_INPUT, + DISASSOCIATE_TRANSIT_GATEWAY_MULTICAST_DOMAIN_OUTPUT, + (), +) + +DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DTGPTIi, + {_sSI: _cDTGPTRomam, _sm: None}, + (_TGPTI, _TGAI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGPTOi, + {_sSI: _cDTGPTRomama, _smit: None}, + (_Ass,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION, + {_aQN: _Ass, _sN: _assoc}, + ), + ), +) + +DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE: StaticOperationSchema = ( + 23, + n0, + _DTGPTi, + 0, + DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_INPUT, + DISASSOCIATE_TRANSIT_GATEWAY_POLICY_TABLE_OUTPUT, + (), +) + +DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT: StaticSchema = ( + 18, + n0, + _DTGRTIi, + {_sSI: _cDTGRTRomam, _sm: None}, + (_TGRTI, _TGAI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTGRTOi, + {_sSI: _cDTGRTRomama, _smit: None}, + (_Ass,), + ((lambda: schemas.TRANSIT_GATEWAY_ASSOCIATION, {_aQN: _Ass, _sN: _assoc}),), +) + +DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE: StaticOperationSchema = ( + 23, + n0, + _DTGRTi, + 0, + DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_INPUT, + DISASSOCIATE_TRANSIT_GATEWAY_ROUTE_TABLE_OUTPUT, + (), +) + +DISASSOCIATE_TRUNK_INTERFACE_INPUT: StaticSchema = ( + 18, + n0, + _DTII, + {_sSI: _cDTIR, _sm: None}, + (_AIs, _CTl, _DR), + ( + (lambda: schemas.TRUNK_INTERFACE_ASSOCIATION_ID, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DISASSOCIATE_TRUNK_INTERFACE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTIO, + {_sSI: _cDTIRo, _smit: None}, + (_R, _CTl), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + ), +) + +DISASSOCIATE_TRUNK_INTERFACE: StaticOperationSchema = ( + 23, + n0, + _DTIi, + 0, + DISASSOCIATE_TRUNK_INTERFACE_INPUT, + DISASSOCIATE_TRUNK_INTERFACE_OUTPUT, + (), +) + +VPC_CIDR_ASSOCIATION_ID: StaticSchema = (3, n0, _VCAI, 0) + +DISASSOCIATE_VPC_CIDR_BLOCK_INPUT: StaticSchema = ( + 18, + n0, + _DVCBI, + {_sSI: _cDVCBR, _sm: None}, + (_AIs,), + ((VPC_CIDR_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs, _smi: None}),), +) + +DISASSOCIATE_VPC_CIDR_BLOCK_OUTPUT: StaticSchema = ( + 18, + n0, + _DVCBO, + {_sSI: _cDVCBRo, _smit: None}, + (_ICBA, _CBA, _VI), + ( + (lambda: schemas.VPC_IPV6_CIDR_BLOCK_ASSOCIATION, {_aQN: _ICBA, _sN: _iCBA}), + (lambda: schemas.VPC_CIDR_BLOCK_ASSOCIATION, {_aQN: _CBA, _sN: _cBA}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + ), +) + +DISASSOCIATE_VPC_CIDR_BLOCK: StaticOperationSchema = ( + 23, + n0, + _DVCB, + 0, + DISASSOCIATE_VPC_CIDR_BLOCK_INPUT, + DISASSOCIATE_VPC_CIDR_BLOCK_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_39.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_39.py new file mode 100644 index 000000000..139f5548c --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_39.py @@ -0,0 +1,1639 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_TS = "TagSpecification" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_ATd = "AddressTransfer" +_AI = "AllocationId" +_TAI = "TransferAccountId" +_smit = "smithy.api#output" +_aT = "addressTransfer" +_R = "Return" +_r = "return" +_TGAI = "TransitGatewayAttachmentId" +_CVEI = "ClientVpnEndpointId" +_St = "State" +_st = "state" +_OIw = "OwnerId" +_oI = "ownerId" +_Re = "Region" +_reg = "region" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_E = "Error" +_er = "error" +_Un = "Unsuccessful" +_un = "unsuccessful" +_dRr = "dryRun" +_act = "active" +_Ci = "Cidr" +_ci = "cidr" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_GI = "GatewayId" +_II = "InstanceId" +_AZv = "AvailabilityZones" +_AZIv = "AvailabilityZoneIds" +_De = "Destination" +_Sou = "Source" +_AVTS = "ActiveVpnTunnelStatus" +_Des = "Description" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_IIn = "InstanceIds" +_SR = "SuccessfulResults" +_SRS = "SuccessfulResultSet" +_sRS = "successfulResultSet" +_UR = "UnsuccessfulResults" +_URS = "UnsuccessfulResultSet" +_uRS = "unsuccessfulResultSet" +_sU = "smithy.api#Unit" +_RSI = "RouteServerId" +_RTIo = "RouteTableId" +_TGRTI = "TransitGatewayRouteTableId" +_IIm = "ImageId" +_VAII = "VerifiedAccessInstanceId" +_vAII = "verifiedAccessInstanceId" +_PSKE = "PublicSigningKeyEndpoint" +_pSKE = "publicSigningKeyEndpoint" +_Is = "Issuer" +_iss = "issuer" +_AE = "AuthorizationEndpoint" +_aE = "authorizationEndpoint" +_TE = "TokenEndpoint" +_tE = "tokenEndpoint" +_UIEs = "UserInfoEndpoint" +_uIE = "userInfoEndpoint" +_CIl = "ClientId" +_cIl = "clientId" +_CSl = "ClientSecret" +_cSl = "clientSecret" +_VIo = "VolumeId" +_vIo = "volumeId" +_IIRAI = "IpamInternetRegistryAssociationId" +_Prog = "Progress" +_prog = "progress" +_iIm = "imageId" +_SSI = "SourceSnapshotId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_Ty = "Type" +_ty = "type" +_succ = "successful" +_LTI = "LaunchTemplateId" +_LTN = "LaunchTemplateName" +_Ve = "Version" +_ver = "version" +_Ins = "Instances" +_DIF = "DiskImageFormat" +_dIF = "diskImageFormat" +_SBu = "S3Bucket" +_SPr = "S3Prefix" +_IIRA = "IpamInternetRegistryAssociation" +_iIRA = "ipamInternetRegistryAssociation" +_IPIp = "IpamPolicyId" +_iPIp = "ipamPolicyId" +_succe = "success" +_LT = "LaunchTemplate" +_lT = "launchTemplate" +_EVRP = "EnableVgwRoutePropagation" +_Rout = "Routes" +_RSout = "RouteSet" +_rSou = "routeSet" +_OAw = "OwnerAlias" +_oAw = "ownerAlias" +_TGRTAI = "TransitGatewayRouteTableAnnouncementId" +_VCIp = "VpnConnectionId" +_RV = "ReturnValue" +_rV = "returnValue" +_Fi = "Filter" +_Fil = "Filters" +_ISns = "InstanceSet" +_iSn = "instanceSet" +_Met = "Metric" +_Stati = "Statistic" +_EITI = "ExportImageTaskId" +_eITI = "exportImageTaskId" +_SEL = "S3ExportLocation" +_sEL = "s3ExportLocation" +_TRC = "TargetResourceCount" +_SCn = "SnapshotConfiguration" +_sCn = "snapshotConfiguration" +_MPLa = "MaxParallelLaunches" +_mPL = "maxParallelLaunches" +_STR = "StateTransitionReason" +_sTR = "stateTransitionReason" +_STT = "StateTransitionTime" +_sTT = "stateTransitionTime" +_ETna = "EnablingTime" +_eTna = "enablingTime" +_OT = "OptimizingTime" +_oT = "optimizingTime" +_ETnab = "EnabledTime" +_eTnab = "enabledTime" +_DTi = "DisablingTime" +_dTi = "disablingTime" +_DTis = "DisabledTime" +_dTis = "disabledTime" +_SSC = "SqlServerCredentials" +_AISS = "AllowedImagesSettingsState" +_aISS = "allowedImagesSettingsState" +_Ou = "Output" +_outp = "output" +_CMSa = "CapacityManagerStatus" +_cMSa = "capacityManagerStatus" +_OArg = "OrganizationsAccess" +_oArg = "organizationsAccess" +_EEBD = "EbsEncryptionByDefault" +_eEBD = "ebsEncryptionByDefault" +_SSIo = "SourceSnapshotIds" +_FSRSE = "FastSnapshotRestoreStateErrors" +_FSRSES = "FastSnapshotRestoreStateErrorSet" +_fSRSES = "fastSnapshotRestoreStateErrorSet" +_Suc = "Successful" +_IBPAS = "ImageBlockPublicAccessState" +_iBPAS = "imageBlockPublicAccessState" +_DAAIel = "DelegatedAdminAccountId" +_Succ = "Success" +_OTI = "OrganizationTargetId" +_RSPou = "RouteServerPropagation" +_rSPo = "routeServerPropagation" +_SCAE = "SerialConsoleAccessEnabled" +_sCAE = "serialConsoleAccessEnabled" +_bns = "block_new_sharing" +_bns_ = "block-new-sharing" +_Prop = "Propagation" +_propa = "propagation" +_EATI = "EnableAddressTransferInput" +_cEATR = "com.amazonaws.ec2#EnableAddressTransferRequest" +_EATO = "EnableAddressTransferOutput" +_cEATRo = "com.amazonaws.ec2#EnableAddressTransferResult" +_EAT = "EnableAddressTransfer" +_EAISI = "EnableAllowedImagesSettingsInput" +_cEAISR = "com.amazonaws.ec2#EnableAllowedImagesSettingsRequest" +_EAISO = "EnableAllowedImagesSettingsOutput" +_cEAISRo = "com.amazonaws.ec2#EnableAllowedImagesSettingsResult" +_EAIS = "EnableAllowedImagesSettings" +_EASCSI = "EnableApplicationStatusCheckSuppressionInput" +_cEASCSR = "com.amazonaws.ec2#EnableApplicationStatusCheckSuppressionRequest" +_DSu = "DurationSeconds" +_EASCSO = "EnableApplicationStatusCheckSuppressionOutput" +_cEASCSRo = "com.amazonaws.ec2#EnableApplicationStatusCheckSuppressionResult" +_EASCS = "EnableApplicationStatusCheckSuppression" +_EANPMSI = "EnableAwsNetworkPerformanceMetricSubscriptionInput" +_cEANPMSR = "com.amazonaws.ec2#EnableAwsNetworkPerformanceMetricSubscriptionRequest" +_EANPMSO = "EnableAwsNetworkPerformanceMetricSubscriptionOutput" +_cEANPMSRo = "com.amazonaws.ec2#EnableAwsNetworkPerformanceMetricSubscriptionResult" +_EANPMS = "EnableAwsNetworkPerformanceMetricSubscription" +_ECMI = "EnableCapacityManagerInput" +_cECMR = "com.amazonaws.ec2#EnableCapacityManagerRequest" +_ECMO = "EnableCapacityManagerOutput" +_cECMRo = "com.amazonaws.ec2#EnableCapacityManagerResult" +_ECM = "EnableCapacityManager" +_EEEBDI = "EnableEbsEncryptionByDefaultInput" +_cEEEBDR = "com.amazonaws.ec2#EnableEbsEncryptionByDefaultRequest" +_EEEBDO = "EnableEbsEncryptionByDefaultOutput" +_cEEEBDRo = "com.amazonaws.ec2#EnableEbsEncryptionByDefaultResult" +_EEEBD = "EnableEbsEncryptionByDefault" +_FLLTSRa = "FastLaunchLaunchTemplateSpecificationRequest" +_FLSCRa = "FastLaunchSnapshotConfigurationRequest" +_EFLI = "EnableFastLaunchInput" +_cEFLR = "com.amazonaws.ec2#EnableFastLaunchRequest" +_EFLO = "EnableFastLaunchOutput" +_cEFLRo = "com.amazonaws.ec2#EnableFastLaunchResult" +_EFL = "EnableFastLaunch" +_EFSRI = "EnableFastSnapshotRestoresInput" +_cEFSRR = "com.amazonaws.ec2#EnableFastSnapshotRestoresRequest" +_EFSRSI = "EnableFastSnapshotRestoreSuccessItem" +_EFSRSS = "EnableFastSnapshotRestoreSuccessSet" +_EFSRSE = "EnableFastSnapshotRestoreStateError" +_EFSRSEI = "EnableFastSnapshotRestoreStateErrorItem" +_EFSRSES = "EnableFastSnapshotRestoreStateErrorSet" +_EFSREI = "EnableFastSnapshotRestoreErrorItem" +_EFSRES = "EnableFastSnapshotRestoreErrorSet" +_EFSRO = "EnableFastSnapshotRestoresOutput" +_cEFSRRo = "com.amazonaws.ec2#EnableFastSnapshotRestoresResult" +_EFSR = "EnableFastSnapshotRestores" +_EII = "EnableImageInput" +_cEIR = "com.amazonaws.ec2#EnableImageRequest" +_EIO = "EnableImageOutput" +_cEIRo = "com.amazonaws.ec2#EnableImageResult" +_EIna = "EnableImage" +_IBPAES = "ImageBlockPublicAccessEnabledState" +_EIBPAI = "EnableImageBlockPublicAccessInput" +_cEIBPAR = "com.amazonaws.ec2#EnableImageBlockPublicAccessRequest" +_EIBPAO = "EnableImageBlockPublicAccessOutput" +_cEIBPARo = "com.amazonaws.ec2#EnableImageBlockPublicAccessResult" +_EIBPA = "EnableImageBlockPublicAccess" +_EIDI = "EnableImageDeprecationInput" +_cEIDR = "com.amazonaws.ec2#EnableImageDeprecationRequest" +_DAepr = "DeprecateAt" +_EIDO = "EnableImageDeprecationOutput" +_cEIDRo = "com.amazonaws.ec2#EnableImageDeprecationResult" +_EID = "EnableImageDeprecation" +_EIDPI = "EnableImageDeregistrationProtectionInput" +_cEIDPR = "com.amazonaws.ec2#EnableImageDeregistrationProtectionRequest" +_WCi = "WithCooldown" +_EIDPO = "EnableImageDeregistrationProtectionOutput" +_cEIDPRo = "com.amazonaws.ec2#EnableImageDeregistrationProtectionResult" +_EIDP = "EnableImageDeregistrationProtection" +_SAe = "SecretArn" +_EISHSDI = "EnableInstanceSqlHaStandbyDetectionsInput" +_cEISHSDR = "com.amazonaws.ec2#EnableInstanceSqlHaStandbyDetectionsRequest" +_EISHSDO = "EnableInstanceSqlHaStandbyDetectionsOutput" +_cEISHSDRo = "com.amazonaws.ec2#EnableInstanceSqlHaStandbyDetectionsResult" +_EISHSD = "EnableInstanceSqlHaStandbyDetections" +_EIIRAI = "EnableIpamInternetRegistryAssociationInput" +_cEIIRAR = "com.amazonaws.ec2#EnableIpamInternetRegistryAssociationRequest" +_RVp = "RpkiVersion" +_SUe = "ServiceUri" +_CH = "ChildHandle" +_PH = "ParentHandle" +_PBT = "ParentBpkiTa" +_EIIRAO = "EnableIpamInternetRegistryAssociationOutput" +_cEIIRARo = "com.amazonaws.ec2#EnableIpamInternetRegistryAssociationResult" +_EIIRA = "EnableIpamInternetRegistryAssociation" +_EIOAAI = "EnableIpamOrganizationAdminAccountInput" +_cEIOAAR = "com.amazonaws.ec2#EnableIpamOrganizationAdminAccountRequest" +_EIOAAO = "EnableIpamOrganizationAdminAccountOutput" +_cEIOAARo = "com.amazonaws.ec2#EnableIpamOrganizationAdminAccountResult" +_EIOAA = "EnableIpamOrganizationAdminAccount" +_EIPI = "EnableIpamPolicyInput" +_cEIPR = "com.amazonaws.ec2#EnableIpamPolicyRequest" +_EIPO = "EnableIpamPolicyOutput" +_cEIPRo = "com.amazonaws.ec2#EnableIpamPolicyResult" +_EIP = "EnableIpamPolicy" +_ERAOSI = "EnableReachabilityAnalyzerOrganizationSharingInput" +_cERAOSR = "com.amazonaws.ec2#EnableReachabilityAnalyzerOrganizationSharingRequest" +_ERAOSO = "EnableReachabilityAnalyzerOrganizationSharingOutput" +_cERAOSRo = "com.amazonaws.ec2#EnableReachabilityAnalyzerOrganizationSharingResult" +_ERAOS = "EnableReachabilityAnalyzerOrganizationSharing" +_ERSPI = "EnableRouteServerPropagationInput" +_cERSPR = "com.amazonaws.ec2#EnableRouteServerPropagationRequest" +_ERSPO = "EnableRouteServerPropagationOutput" +_cERSPRo = "com.amazonaws.ec2#EnableRouteServerPropagationResult" +_ERSP = "EnableRouteServerPropagation" +_ESCAI = "EnableSerialConsoleAccessInput" +_cESCAR = "com.amazonaws.ec2#EnableSerialConsoleAccessRequest" +_ESCAO = "EnableSerialConsoleAccessOutput" +_cESCARo = "com.amazonaws.ec2#EnableSerialConsoleAccessResult" +_ESCA = "EnableSerialConsoleAccess" +_ESBPAI = "EnableSnapshotBlockPublicAccessInput" +_cESBPAR = "com.amazonaws.ec2#EnableSnapshotBlockPublicAccessRequest" +_ESBPAO = "EnableSnapshotBlockPublicAccessOutput" +_cESBPARo = "com.amazonaws.ec2#EnableSnapshotBlockPublicAccessResult" +_ESBPA = "EnableSnapshotBlockPublicAccess" +_ETGRTPI = "EnableTransitGatewayRouteTablePropagationInput" +_cETGRTPR = "com.amazonaws.ec2#EnableTransitGatewayRouteTablePropagationRequest" +_ETGRTPO = "EnableTransitGatewayRouteTablePropagationOutput" +_cETGRTPRo = "com.amazonaws.ec2#EnableTransitGatewayRouteTablePropagationResult" +_ETGRTP = "EnableTransitGatewayRouteTablePropagation" +_EVRPI = "EnableVgwRoutePropagationInput" +_cEVRPR = "com.amazonaws.ec2#EnableVgwRoutePropagationRequest" +_EVRPO = "EnableVgwRoutePropagationOutput" +_EVIOI = "EnableVolumeIOInput" +_cEVIOR = "com.amazonaws.ec2#EnableVolumeIORequest" +_EVIOO = "EnableVolumeIOOutput" +_EVIO = "EnableVolumeIO" +_EVCLI = "EnableVpcClassicLinkInput" +_cEVCLR = "com.amazonaws.ec2#EnableVpcClassicLinkRequest" +_EVCLO = "EnableVpcClassicLinkOutput" +_cEVCLRo = "com.amazonaws.ec2#EnableVpcClassicLinkResult" +_EVCL = "EnableVpcClassicLink" +_EVCLDSI = "EnableVpcClassicLinkDnsSupportInput" +_cEVCLDSR = "com.amazonaws.ec2#EnableVpcClassicLinkDnsSupportRequest" +_EVCLDSO = "EnableVpcClassicLinkDnsSupportOutput" +_cEVCLDSRo = "com.amazonaws.ec2#EnableVpcClassicLinkDnsSupportResult" +_EVCLDS = "EnableVpcClassicLinkDnsSupport" +_ECVCCRLI = "ExportClientVpnClientCertificateRevocationListInput" +_cECVCCRLR = "com.amazonaws.ec2#ExportClientVpnClientCertificateRevocationListRequest" +_CCRLSC = "ClientCertificateRevocationListStatusCode" +_CCRLS = "ClientCertificateRevocationListStatus" +_ECVCCRLO = "ExportClientVpnClientCertificateRevocationListOutput" +_cECVCCRLRo = "com.amazonaws.ec2#ExportClientVpnClientCertificateRevocationListResult" +_CRL = "CertificateRevocationList" +_cRL = "certificateRevocationList" +_ECVCCRL = "ExportClientVpnClientCertificateRevocationList" +_ECVCCI = "ExportClientVpnClientConfigurationInput" +_cECVCCR = "com.amazonaws.ec2#ExportClientVpnClientConfigurationRequest" +_ECVCCO = "ExportClientVpnClientConfigurationOutput" +_cECVCCRo = "com.amazonaws.ec2#ExportClientVpnClientConfigurationResult" +_CCl = "ClientConfiguration" +_cCl = "clientConfiguration" +_ECVCC = "ExportClientVpnClientConfiguration" +_ETSLR = "ExportTaskS3LocationRequest" +_EIIx = "ExportImageInput" +_cEIRom = "com.amazonaws.ec2#ExportImageRequest" +_RNo = "RoleName" +_EIOx = "ExportImageOutput" +_cEIRoma = "com.amazonaws.ec2#ExportImageResult" +_rNo = "roleName" +_EIxp = "ExportImage" +_ETGRI = "ExportTransitGatewayRoutesInput" +_cETGRR = "com.amazonaws.ec2#ExportTransitGatewayRoutesRequest" +_ETGRO = "ExportTransitGatewayRoutesOutput" +_cETGRRo = "com.amazonaws.ec2#ExportTransitGatewayRoutesResult" +_SLo = "S3Location" +_sLo = "s3Location" +_ETGR = "ExportTransitGatewayRoutes" +_EVAICCI = "ExportVerifiedAccessInstanceClientConfigurationInput" +_cEVAICCR = "com.amazonaws.ec2#ExportVerifiedAccessInstanceClientConfigurationRequest" +_DTPTL = "DeviceTrustProviderTypeList" +_VAIOVCCR = "VerifiedAccessInstanceOpenVpnClientConfigurationRoute" +_VAIOVCCRL = "VerifiedAccessInstanceOpenVpnClientConfigurationRouteList" +_VAIOVCC = "VerifiedAccessInstanceOpenVpnClientConfiguration" +_Confi = "Config" +_confi = "config" +_VAIOVCCL = "VerifiedAccessInstanceOpenVpnClientConfigurationList" +_VAIUTPCC = "VerifiedAccessInstanceUserTrustProviderClientConfiguration" +_Sco = "Scopes" +_sco = "scopes" +_PE = "PkceEnabled" +_pE = "pkceEnabled" +_EVAICCO = "ExportVerifiedAccessInstanceClientConfigurationOutput" +_cEVAICCRo = "com.amazonaws.ec2#ExportVerifiedAccessInstanceClientConfigurationResult" +_DTP = "DeviceTrustProviders" +_DTPS = "DeviceTrustProviderSet" +_dTPS = "deviceTrustProviderSet" +_UTP = "UserTrustProvider" +_uTP = "userTrustProvider" +_OVC = "OpenVpnConfigurations" +_OVCS = "OpenVpnConfigurationSet" +_oVCS = "openVpnConfigurationSet" +_EVAICC = "ExportVerifiedAccessInstanceClientConfiguration" +_GAVTSI = "GetActiveVpnTunnelStatusInput" +_cGAVTSR = "com.amazonaws.ec2#GetActiveVpnTunnelStatusRequest" +_VTOIA = "VpnTunnelOutsideIpAddress" +_GAVTSO = "GetActiveVpnTunnelStatusOutput" +_cGAVTSRo = "com.amazonaws.ec2#GetActiveVpnTunnelStatusResult" +_aVTS = "activeVpnTunnelStatus" +_GAVTS = "GetActiveVpnTunnelStatus" + +ENABLE_ADDRESS_TRANSFER_INPUT: StaticSchema = ( + 18, + n0, + _EATI, + {_sSI: _cEATR, _sm: None}, + (_AI, _TAI, _DR), + ( + (lambda: schemas.ALLOCATION_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_ADDRESS_TRANSFER_OUTPUT: StaticSchema = ( + 18, + n0, + _EATO, + {_sSI: _cEATRo, _smit: None}, + (_ATd,), + ((lambda: schemas.ADDRESS_TRANSFER, {_aQN: _ATd, _sN: _aT}),), +) + +ENABLE_ADDRESS_TRANSFER: StaticOperationSchema = ( + 23, + n0, + _EAT, + 0, + ENABLE_ADDRESS_TRANSFER_INPUT, + ENABLE_ADDRESS_TRANSFER_OUTPUT, + (), +) + +ENABLE_ALLOWED_IMAGES_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _EAISI, + {_sSI: _cEAISR, _sm: None}, + (_AISS, _DR), + ( + (lambda: schemas.ALLOWED_IMAGES_SETTINGS_ENABLED_STATE, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _EAISO, + {_sSI: _cEAISRo, _smit: None}, + (_AISS,), + ( + ( + lambda: schemas.ALLOWED_IMAGES_SETTINGS_ENABLED_STATE, + {_aQN: _AISS, _sN: _aISS}, + ), + ), +) + +ENABLE_ALLOWED_IMAGES_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _EAIS, + 0, + ENABLE_ALLOWED_IMAGES_SETTINGS_INPUT, + ENABLE_ALLOWED_IMAGES_SETTINGS_OUTPUT, + (), +) + +ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT: StaticSchema = ( + 18, + n0, + _EASCSI, + {_sSI: _cEASCSR, _sm: None}, + (_IIn, _DSu, _CTl, _DR), + ( + (lambda: schemas.INSTANCE_ID_LIST, {_sN: _II}), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _EASCSO, + {_sSI: _cEASCSRo, _smit: None}, + (_SR, _UR), + ( + (lambda: schemas.SUCCESSFUL_SUPPRESSION_RESPONSE_SET, {_aQN: _SRS, _sN: _sRS}), + ( + lambda: schemas.UNSUCCESSFUL_SUPPRESSION_RESPONSE_SET, + {_aQN: _URS, _sN: _uRS}, + ), + ), +) + +ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION: StaticOperationSchema = ( + 23, + n0, + _EASCS, + 0, + ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_INPUT, + ENABLE_APPLICATION_STATUS_CHECK_SUPPRESSION_OUTPUT, + (), +) + +ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _EANPMSI, + {_sSI: _cEANPMSR, _sm: None}, + (_Sou, _De, _Met, _Stati, _DR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.METRIC_TYPE, 0), + (lambda: schemas.STATISTIC_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _EANPMSO, + {_sSI: _cEANPMSRo, _smit: None}, + (_Ou,), + ((lambda: schemas.BOOLEAN, {_aQN: _Ou, _sN: _outp}),), +) + +ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _EANPMS, + 0, + ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_INPUT, + ENABLE_AWS_NETWORK_PERFORMANCE_METRIC_SUBSCRIPTION_OUTPUT, + (), +) + +ENABLE_CAPACITY_MANAGER_INPUT: StaticSchema = ( + 18, + n0, + _ECMI, + {_sSI: _cECMR, _sm: None}, + (_OArg, _DR, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +ENABLE_CAPACITY_MANAGER_OUTPUT: StaticSchema = ( + 18, + n0, + _ECMO, + {_sSI: _cECMRo, _smit: None}, + (_CMSa, _OArg), + ( + (lambda: schemas.CAPACITY_MANAGER_STATUS, {_aQN: _CMSa, _sN: _cMSa}), + (lambda: schemas.BOOLEAN, {_aQN: _OArg, _sN: _oArg}), + ), +) + +ENABLE_CAPACITY_MANAGER: StaticOperationSchema = ( + 23, + n0, + _ECM, + 0, + ENABLE_CAPACITY_MANAGER_INPUT, + ENABLE_CAPACITY_MANAGER_OUTPUT, + (), +) + +ENABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT: StaticSchema = ( + 18, + n0, + _EEEBDI, + {_sSI: _cEEEBDR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +ENABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT: StaticSchema = ( + 18, + n0, + _EEEBDO, + {_sSI: _cEEEBDRo, _smit: None}, + (_EEBD,), + ((lambda: schemas.BOOLEAN, {_aQN: _EEBD, _sN: _eEBD}),), +) + +ENABLE_EBS_ENCRYPTION_BY_DEFAULT: StaticOperationSchema = ( + 23, + n0, + _EEEBD, + 0, + ENABLE_EBS_ENCRYPTION_BY_DEFAULT_INPUT, + ENABLE_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT, + (), +) + +FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _FLLTSRa, + 0, + (_LTI, _LTN, _Ve), + ( + (lambda: schemas.LAUNCH_TEMPLATE_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + ), +) + +FAST_LAUNCH_SNAPSHOT_CONFIGURATION_REQUEST: StaticSchema = ( + 18, + n0, + _FLSCRa, + 0, + (_TRC,), + ((lambda: schemas.INTEGER, 0),), +) + +ENABLE_FAST_LAUNCH_INPUT: StaticSchema = ( + 18, + n0, + _EFLI, + {_sSI: _cEFLR, _sm: None}, + (_IIm, _RT, _SCn, _LT, _MPLa, _DR), + ( + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.STRING, 0), + (FAST_LAUNCH_SNAPSHOT_CONFIGURATION_REQUEST, 0), + (FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_FAST_LAUNCH_OUTPUT: StaticSchema = ( + 18, + n0, + _EFLO, + {_sSI: _cEFLRo, _smit: None}, + (_IIm, _RT, _SCn, _LT, _MPLa, _OIw, _St, _STR, _STT), + ( + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.FAST_LAUNCH_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + ( + lambda: schemas.FAST_LAUNCH_SNAPSHOT_CONFIGURATION_RESPONSE, + {_aQN: _SCn, _sN: _sCn}, + ), + ( + lambda: schemas.FAST_LAUNCH_LAUNCH_TEMPLATE_SPECIFICATION_RESPONSE, + {_aQN: _LT, _sN: _lT}, + ), + (lambda: schemas.INTEGER, {_aQN: _MPLa, _sN: _mPL}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.FAST_LAUNCH_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _STR, _sN: _sTR}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _STT, _sN: _sTT}), + ), +) + +ENABLE_FAST_LAUNCH: StaticOperationSchema = ( + 23, + n0, + _EFL, + 0, + ENABLE_FAST_LAUNCH_INPUT, + ENABLE_FAST_LAUNCH_OUTPUT, + (), +) + +ENABLE_FAST_SNAPSHOT_RESTORES_INPUT: StaticSchema = ( + 18, + n0, + _EFSRI, + {_sSI: _cEFSRR, _sm: None}, + (_AZv, _AZIv, _SSIo, _DR), + ( + (lambda: schemas.AVAILABILITY_ZONE_STRING_LIST, {_sN: _AZ}), + (lambda: schemas.AVAILABILITY_ZONE_ID_STRING_LIST, {_sN: _AZI}), + (lambda: schemas.SNAPSHOT_ID_STRING_LIST, {_sN: _SSI, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_FAST_SNAPSHOT_RESTORES_OUTPUT: StaticSchema = ( + 18, + n0, + _EFSRO, + {_sSI: _cEFSRRo, _smit: None}, + (_Suc, _Un), + ( + (lambda: ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET, {_aQN: _Suc, _sN: _succ}), + (lambda: ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET, {_aQN: _Un, _sN: _un}), + ), +) + +ENABLE_FAST_SNAPSHOT_RESTORES: StaticOperationSchema = ( + 23, + n0, + _EFSR, + 0, + ENABLE_FAST_SNAPSHOT_RESTORES_INPUT, + ENABLE_FAST_SNAPSHOT_RESTORES_OUTPUT, + (), +) + +ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM: StaticSchema = ( + 18, + n0, + _EFSRSI, + 0, + (_SIn, _AZ, _AZI, _St, _STR, _OIw, _OAw, _ETna, _OT, _ETnab, _DTi, _DTis), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.FAST_SNAPSHOT_RESTORE_STATE_CODE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _STR, _sN: _sTR}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _OAw, _sN: _oAw}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ETna, _sN: _eTna}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _OT, _sN: _oT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ETnab, _sN: _eTnab}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _DTi, _sN: _dTi}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _DTis, _sN: _dTis}), + ), +) + +ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_SET: StaticSchema = ( + 16, + n0, + _EFSRSS, + 0, + (_me,), + ((ENABLE_FAST_SNAPSHOT_RESTORE_SUCCESS_ITEM, {_sN: _i}),), +) + +ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR: StaticSchema = ( + 18, + n0, + _EFSRSE, + 0, + (_C, _Me), + ( + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM: StaticSchema = ( + 18, + n0, + _EFSRSEI, + 0, + (_AZ, _AZI, _E), + ( + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR, {_aQN: _E, _sN: _er}), + ), +) + +ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET: StaticSchema = ( + 16, + n0, + _EFSRSES, + 0, + (_me,), + ((ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_ITEM, {_sN: _i}),), +) + +ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM: StaticSchema = ( + 18, + n0, + _EFSREI, + 0, + (_SIn, _FSRSE), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (ENABLE_FAST_SNAPSHOT_RESTORE_STATE_ERROR_SET, {_aQN: _FSRSES, _sN: _fSRSES}), + ), +) + +ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_SET: StaticSchema = ( + 16, + n0, + _EFSRES, + 0, + (_me,), + ((ENABLE_FAST_SNAPSHOT_RESTORE_ERROR_ITEM, {_sN: _i}),), +) + +ENABLE_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _EII, + {_sSI: _cEIR, _sm: None}, + (_IIm, _DR), + ((lambda: schemas.IMAGE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +ENABLE_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _EIO, + {_sSI: _cEIRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +ENABLE_IMAGE: StaticOperationSchema = ( + 23, + n0, + _EIna, + 0, + ENABLE_IMAGE_INPUT, + ENABLE_IMAGE_OUTPUT, + (), +) + +IMAGE_BLOCK_PUBLIC_ACCESS_ENABLED_STATE: StaticSchema = ( + 14, + n0, + _IBPAES, + 0, + (_bns,), + ((-1, {_sV: _bns_}),), +) + +ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _EIBPAI, + {_sSI: _cEIBPAR, _sm: None}, + (_IBPAS, _DR), + ((IMAGE_BLOCK_PUBLIC_ACCESS_ENABLED_STATE, 1), (lambda: schemas.BOOLEAN, 0)), +) + +ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _EIBPAO, + {_sSI: _cEIBPARo, _smit: None}, + (_IBPAS,), + ((IMAGE_BLOCK_PUBLIC_ACCESS_ENABLED_STATE, {_aQN: _IBPAS, _sN: _iBPAS}),), +) + +ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS: StaticOperationSchema = ( + 23, + n0, + _EIBPA, + 0, + ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_INPUT, + ENABLE_IMAGE_BLOCK_PUBLIC_ACCESS_OUTPUT, + (), +) + +ENABLE_IMAGE_DEPRECATION_INPUT: StaticSchema = ( + 18, + n0, + _EIDI, + {_sSI: _cEIDR, _sm: None}, + (_IIm, _DAepr, _DR), + ( + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.MILLISECOND_DATE_TIME, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_IMAGE_DEPRECATION_OUTPUT: StaticSchema = ( + 18, + n0, + _EIDO, + {_sSI: _cEIDRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +ENABLE_IMAGE_DEPRECATION: StaticOperationSchema = ( + 23, + n0, + _EID, + 0, + ENABLE_IMAGE_DEPRECATION_INPUT, + ENABLE_IMAGE_DEPRECATION_OUTPUT, + (), +) + +ENABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT: StaticSchema = ( + 18, + n0, + _EIDPI, + {_sSI: _cEIDPR, _sm: None}, + (_IIm, _WCi, _DR), + ( + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _EIDPO, + {_sSI: _cEIDPRo, _smit: None}, + (_R,), + ((lambda: schemas.STRING, {_aQN: _R, _sN: _r}),), +) + +ENABLE_IMAGE_DEREGISTRATION_PROTECTION: StaticOperationSchema = ( + 23, + n0, + _EIDP, + 0, + ENABLE_IMAGE_DEREGISTRATION_PROTECTION_INPUT, + ENABLE_IMAGE_DEREGISTRATION_PROTECTION_OUTPUT, + (), +) + +SECRET_ARN: StaticSchema = (3, n0, _SAe, 0) + +ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT: StaticSchema = ( + 18, + n0, + _EISHSDI, + {_sSI: _cEISHSDR, _sm: None}, + (_IIn, _SSC, _DR), + ( + (lambda: schemas.INSTANCE_ID_UPDATE_STRING_LIST, {_sN: _II, _smi: None}), + (SECRET_ARN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _EISHSDO, + {_sSI: _cEISHSDRo, _smit: None}, + (_Ins,), + ((lambda: schemas.REGISTERED_INSTANCE_LIST, {_aQN: _ISns, _sN: _iSn}),), +) + +ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS: StaticOperationSchema = ( + 23, + n0, + _EISHSD, + 0, + ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_INPUT, + ENABLE_INSTANCE_SQL_HA_STANDBY_DETECTIONS_OUTPUT, + (), +) + +ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _EIIRAI, + {_sSI: _cEIIRAR, _sm: None}, + (_DR, _IIRAI, _RVp, _SUe, _CH, _PH, _PBT, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 2), + ), +) + +ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _EIIRAO, + {_sSI: _cEIIRARo, _smit: None}, + (_IIRA,), + ((lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION, {_aQN: _IIRA, _sN: _iIRA}),), +) + +ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _EIIRA, + 0, + ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_INPUT, + ENABLE_IPAM_INTERNET_REGISTRY_ASSOCIATION_OUTPUT, + (), +) + +ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _EIOAAI, + {_sSI: _cEIOAAR, _sm: None}, + (_DR, _DAAIel), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.STRING, 1)), +) + +ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _EIOAAO, + {_sSI: _cEIOAARo, _smit: None}, + (_Succ,), + ((lambda: schemas.BOOLEAN, {_aQN: _Succ, _sN: _succe}),), +) + +ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _EIOAA, + 0, + ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_INPUT, + ENABLE_IPAM_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT, + (), +) + +ENABLE_IPAM_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _EIPI, + {_sSI: _cEIPR, _sm: None}, + (_DR, _IPIp, _OTI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POLICY_ID, 1), + (lambda: schemas.STRING, 0), + ), +) + +ENABLE_IPAM_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _EIPO, + {_sSI: _cEIPRo, _smit: None}, + (_IPIp,), + ((lambda: schemas.IPAM_POLICY_ID, {_aQN: _IPIp, _sN: _iPIp}),), +) + +ENABLE_IPAM_POLICY: StaticOperationSchema = ( + 23, + n0, + _EIP, + 0, + ENABLE_IPAM_POLICY_INPUT, + ENABLE_IPAM_POLICY_OUTPUT, + (), +) + +ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_INPUT: StaticSchema = ( + 18, + n0, + _ERAOSI, + {_sSI: _cERAOSR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_OUTPUT: StaticSchema = ( + 18, + n0, + _ERAOSO, + {_sSI: _cERAOSRo, _smit: None}, + (_RV,), + ((lambda: schemas.BOOLEAN, {_aQN: _RV, _sN: _rV}),), +) + +ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING: StaticOperationSchema = ( + 23, + n0, + _ERAOS, + 0, + ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_INPUT, + ENABLE_REACHABILITY_ANALYZER_ORGANIZATION_SHARING_OUTPUT, + (), +) + +ENABLE_ROUTE_SERVER_PROPAGATION_INPUT: StaticSchema = ( + 18, + n0, + _ERSPI, + {_sSI: _cERSPR, _sm: None}, + (_RSI, _RTIo, _DR), + ( + (lambda: schemas.ROUTE_SERVER_ID, 1), + (lambda: schemas.ROUTE_TABLE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_ROUTE_SERVER_PROPAGATION_OUTPUT: StaticSchema = ( + 18, + n0, + _ERSPO, + {_sSI: _cERSPRo, _smit: None}, + (_RSPou,), + ((lambda: schemas.ROUTE_SERVER_PROPAGATION, {_aQN: _RSPou, _sN: _rSPo}),), +) + +ENABLE_ROUTE_SERVER_PROPAGATION: StaticOperationSchema = ( + 23, + n0, + _ERSP, + 0, + ENABLE_ROUTE_SERVER_PROPAGATION_INPUT, + ENABLE_ROUTE_SERVER_PROPAGATION_OUTPUT, + (), +) + +ENABLE_SERIAL_CONSOLE_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _ESCAI, + {_sSI: _cESCAR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +ENABLE_SERIAL_CONSOLE_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _ESCAO, + {_sSI: _cESCARo, _smit: None}, + (_SCAE,), + ((lambda: schemas.BOOLEAN, {_aQN: _SCAE, _sN: _sCAE}),), +) + +ENABLE_SERIAL_CONSOLE_ACCESS: StaticOperationSchema = ( + 23, + n0, + _ESCA, + 0, + ENABLE_SERIAL_CONSOLE_ACCESS_INPUT, + ENABLE_SERIAL_CONSOLE_ACCESS_OUTPUT, + (), +) + +ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _ESBPAI, + {_sSI: _cESBPAR, _sm: None}, + (_St, _DR), + ( + (lambda: schemas.SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _ESBPAO, + {_sSI: _cESBPARo, _smit: None}, + (_St,), + ((lambda: schemas.SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE, {_aQN: _St, _sN: _st}),), +) + +ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS: StaticOperationSchema = ( + 23, + n0, + _ESBPA, + 0, + ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_INPUT, + ENABLE_SNAPSHOT_BLOCK_PUBLIC_ACCESS_OUTPUT, + (), +) + +ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT: StaticSchema = ( + 18, + n0, + _ETGRTPI, + {_sSI: _cETGRTPR, _sm: None}, + (_TGRTI, _TGAI, _DR, _TGRTAI), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, 0), + ), +) + +ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT: StaticSchema = ( + 18, + n0, + _ETGRTPO, + {_sSI: _cETGRTPRo, _smit: None}, + (_Prop,), + ((lambda: schemas.TRANSIT_GATEWAY_PROPAGATION, {_aQN: _Prop, _sN: _propa}),), +) + +ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION: StaticOperationSchema = ( + 23, + n0, + _ETGRTP, + 0, + ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_INPUT, + ENABLE_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_OUTPUT, + (), +) + +ENABLE_VGW_ROUTE_PROPAGATION_INPUT: StaticSchema = ( + 18, + n0, + _EVRPI, + {_sSI: _cEVRPR, _sm: None}, + (_GI, _RTIo, _DR), + ( + (lambda: schemas.VPN_GATEWAY_ID, 1), + (lambda: schemas.ROUTE_TABLE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENABLE_VGW_ROUTE_PROPAGATION_OUTPUT: StaticSchema = ( + 18, + n0, + _EVRPO, + {_sSI: _sU, _smit: None}, +) + +ENABLE_VGW_ROUTE_PROPAGATION: StaticOperationSchema = ( + 23, + n0, + _EVRP, + 0, + ENABLE_VGW_ROUTE_PROPAGATION_INPUT, + ENABLE_VGW_ROUTE_PROPAGATION_OUTPUT, + (), +) + +ENABLE_VOLUME_IO_INPUT: StaticSchema = ( + 18, + n0, + _EVIOI, + {_sSI: _cEVIOR, _sm: None}, + (_DR, _VIo), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.VOLUME_ID, {_aQN: _VIo, _sN: _vIo, _smi: None}), + ), +) + +ENABLE_VOLUME_IO_OUTPUT: StaticSchema = (18, n0, _EVIOO, {_sSI: _sU, _smit: None}) + +ENABLE_VOLUME_IO: StaticOperationSchema = ( + 23, + n0, + _EVIO, + 0, + ENABLE_VOLUME_IO_INPUT, + ENABLE_VOLUME_IO_OUTPUT, + (), +) + +ENABLE_VPC_CLASSIC_LINK_INPUT: StaticSchema = ( + 18, + n0, + _EVCLI, + {_sSI: _cEVCLR, _sm: None}, + (_DR, _VI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + ), +) + +ENABLE_VPC_CLASSIC_LINK_OUTPUT: StaticSchema = ( + 18, + n0, + _EVCLO, + {_sSI: _cEVCLRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +ENABLE_VPC_CLASSIC_LINK: StaticOperationSchema = ( + 23, + n0, + _EVCL, + 0, + ENABLE_VPC_CLASSIC_LINK_INPUT, + ENABLE_VPC_CLASSIC_LINK_OUTPUT, + (), +) + +ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT: StaticSchema = ( + 18, + n0, + _EVCLDSI, + {_sSI: _cEVCLDSR, _sm: None}, + (_VI,), + ((lambda: schemas.VPC_ID, {_sN: _VI}),), +) + +ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _EVCLDSO, + {_sSI: _cEVCLDSRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT: StaticOperationSchema = ( + 23, + n0, + _EVCLDS, + 0, + ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_INPUT, + ENABLE_VPC_CLASSIC_LINK_DNS_SUPPORT_OUTPUT, + (), +) + +EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT: StaticSchema = ( + 18, + n0, + _ECVCCRLI, + {_sSI: _cECVCCRLR, _sm: None}, + (_CVEI, _DR), + ((lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT: StaticSchema = ( + 18, + n0, + _ECVCCRLO, + {_sSI: _cECVCCRLRo, _smit: None}, + (_CRL, _Sta), + ( + (lambda: schemas.STRING, {_aQN: _CRL, _sN: _cRL}), + (lambda: CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST: StaticOperationSchema = ( + 23, + n0, + _ECVCCRL, + 0, + EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT, + EXPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT, + (), +) + +CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS_CODE: StaticSchema = ( + 14, + n0, + _CCRLSC, + 0, + (_p, _act), + ((-1, {_sV: _p}), (-1, {_sV: _act})), +) + +CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS: StaticSchema = ( + 18, + n0, + _CCRLS, + 0, + (_C, _Me), + ( + (CLIENT_CERTIFICATE_REVOCATION_LIST_STATUS_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _ECVCCI, + {_sSI: _cECVCCR, _sm: None}, + (_CVEI, _DR), + ((lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _ECVCCO, + {_sSI: _cECVCCRo, _smit: None}, + (_CCl,), + ((lambda: schemas.STRING, {_aQN: _CCl, _sN: _cCl}),), +) + +EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _ECVCC, + 0, + EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_INPUT, + EXPORT_CLIENT_VPN_CLIENT_CONFIGURATION_OUTPUT, + (), +) + +EXPORT_TASK_S3_LOCATION_REQUEST: StaticSchema = ( + 18, + n0, + _ETSLR, + 0, + (_SBu, _SPr), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 0)), +) + +EXPORT_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _EIIx, + {_sSI: _cEIRom, _sm: None}, + (_CTl, _Des, _DIF, _DR, _IIm, _SEL, _RNo, _TSa), + ( + (lambda: schemas.STRING, 2), + (lambda: schemas.STRING, 0), + (lambda: schemas.DISK_IMAGE_FORMAT, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IMAGE_ID, 1), + (EXPORT_TASK_S3_LOCATION_REQUEST, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +EXPORT_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _EIOx, + {_sSI: _cEIRoma, _smit: None}, + (_Des, _DIF, _EITI, _IIm, _RNo, _Prog, _SEL, _Sta, _SMt, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.DISK_IMAGE_FORMAT, {_aQN: _DIF, _sN: _dIF}), + (lambda: schemas.STRING, {_aQN: _EITI, _sN: _eITI}), + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.STRING, {_aQN: _RNo, _sN: _rNo}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.EXPORT_TASK_S3_LOCATION, {_aQN: _SEL, _sN: _sEL}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +EXPORT_IMAGE: StaticOperationSchema = ( + 23, + n0, + _EIxp, + 0, + EXPORT_IMAGE_INPUT, + EXPORT_IMAGE_OUTPUT, + (), +) + +EXPORT_TRANSIT_GATEWAY_ROUTES_INPUT: StaticSchema = ( + 18, + n0, + _ETGRI, + {_sSI: _cETGRR, _sm: None}, + (_TGRTI, _Fil, _SBu, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +EXPORT_TRANSIT_GATEWAY_ROUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _ETGRO, + {_sSI: _cETGRRo, _smit: None}, + (_SLo,), + ((lambda: schemas.STRING, {_aQN: _SLo, _sN: _sLo}),), +) + +EXPORT_TRANSIT_GATEWAY_ROUTES: StaticOperationSchema = ( + 23, + n0, + _ETGR, + 0, + EXPORT_TRANSIT_GATEWAY_ROUTES_INPUT, + EXPORT_TRANSIT_GATEWAY_ROUTES_OUTPUT, + (), +) + +EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _EVAICCI, + {_sSI: _cEVAICCR, _sm: None}, + (_VAII, _DR), + ((lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _EVAICCO, + {_sSI: _cEVAICCRo, _smit: None}, + (_Ve, _VAII, _Re, _DTP, _UTP, _OVC), + ( + (lambda: schemas.STRING, {_aQN: _Ve, _sN: _ver}), + (lambda: schemas.STRING, {_aQN: _VAII, _sN: _vAII}), + (lambda: schemas.STRING, {_aQN: _Re, _sN: _reg}), + (lambda: DEVICE_TRUST_PROVIDER_TYPE_LIST, {_aQN: _DTPS, _sN: _dTPS}), + ( + lambda: VERIFIED_ACCESS_INSTANCE_USER_TRUST_PROVIDER_CLIENT_CONFIGURATION, + {_aQN: _UTP, _sN: _uTP}, + ), + ( + lambda: VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_LIST, + {_aQN: _OVCS, _sN: _oVCS}, + ), + ), +) + +EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _EVAICC, + 0, + EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_INPUT, + EXPORT_VERIFIED_ACCESS_INSTANCE_CLIENT_CONFIGURATION_OUTPUT, + (), +) + +DEVICE_TRUST_PROVIDER_TYPE_LIST: StaticSchema = ( + 16, + n0, + _DTPTL, + 0, + (_me,), + ((lambda: schemas.DEVICE_TRUST_PROVIDER_TYPE, {_sN: _i}),), +) + +VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE: StaticSchema = ( + 18, + n0, + _VAIOVCCR, + 0, + (_Ci,), + ((lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}),), +) + +VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE_LIST: StaticSchema = ( + 16, + n0, + _VAIOVCCRL, + 0, + (_me,), + ((VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE, {_sN: _i}),), +) + +VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VAIOVCC, + 0, + (_Confi, _Rout), + ( + (lambda: schemas.STRING, {_aQN: _Confi, _sN: _confi}), + ( + VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_ROUTE_LIST, + {_aQN: _RSout, _sN: _rSou}, + ), + ), +) + +VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _VAIOVCCL, + 0, + (_me,), + ((VERIFIED_ACCESS_INSTANCE_OPEN_VPN_CLIENT_CONFIGURATION, {_sN: _i}),), +) + +VERIFIED_ACCESS_INSTANCE_USER_TRUST_PROVIDER_CLIENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VAIUTPCC, + 0, + (_Ty, _Sco, _Is, _AE, _PSKE, _TE, _UIEs, _CIl, _CSl, _PE), + ( + (lambda: schemas.USER_TRUST_PROVIDER_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _Sco, _sN: _sco}), + (lambda: schemas.STRING, {_aQN: _Is, _sN: _iss}), + (lambda: schemas.STRING, {_aQN: _AE, _sN: _aE}), + (lambda: schemas.STRING, {_aQN: _PSKE, _sN: _pSKE}), + (lambda: schemas.STRING, {_aQN: _TE, _sN: _tE}), + (lambda: schemas.STRING, {_aQN: _UIEs, _sN: _uIE}), + (lambda: schemas.STRING, {_aQN: _CIl, _sN: _cIl}), + (lambda: schemas.CLIENT_SECRET_TYPE, {_aQN: _CSl, _sN: _cSl}), + (lambda: schemas.BOOLEAN, {_aQN: _PE, _sN: _pE}), + ), +) + +GET_ACTIVE_VPN_TUNNEL_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _GAVTSI, + {_sSI: _cGAVTSR, _sm: None}, + (_VCIp, _VTOIA, _DR), + ( + (lambda: schemas.VPN_CONNECTION_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_ACTIVE_VPN_TUNNEL_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _GAVTSO, + {_sSI: _cGAVTSRo, _smit: None}, + (_AVTS,), + ((lambda: schemas.ACTIVE_VPN_TUNNEL_STATUS, {_aQN: _AVTS, _sN: _aVTS}),), +) + +GET_ACTIVE_VPN_TUNNEL_STATUS: StaticOperationSchema = ( + 23, + n0, + _GAVTS, + 0, + GET_ACTIVE_VPN_TUNNEL_STATUS_INPUT, + GET_ACTIVE_VPN_TUNNEL_STATUS_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_4.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_4.py new file mode 100644 index 000000000..efca51282 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_4.py @@ -0,0 +1,1796 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_R = "Return" +_r = "return" +_IC = "InstanceCount" +_CVEI = "ClientVpnEndpointId" +_av = "available" +_de = "deleting" +_del = "deleted" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_fa = "failed" +_mo = "modifying" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_E = "Error" +_er = "error" +_dRr = "dryRun" +_VPCI = "VpcPeeringConnectionId" +_vPCI = "vpcPeeringConnectionId" +_act = "active" +_ex = "expired" +_II = "InstanceId" +_iI = "instanceId" +_PLI = "PrefixListId" +_pLI = "prefixListId" +_SGR = "SecurityGroupRule" +_Des = "Description" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_ATl = "AllocationType" +_us = "used" +_fut = "future" +_ca = "cancelling" +_FAILED = "FAILED" +_sU = "smithy.api#Unit" +_cre = "creating" +_ACTIVE = "ACTIVE" +_GIr = "GroupId" +_no = "none" +_gIr = "groupId" +_G = "Groups" +_IIm = "ImageId" +_VATPI = "VerifiedAccessTrustProviderId" +_DTPT = "DeviceTrustProviderType" +_TPT = "TrustProviderType" +_dev = "device" +_UTPT = "UserTrustProviderType" +_vATPI = "verifiedAccessTrustProviderId" +_tPT = "trustProviderType" +_uTPT = "userTrustProviderType" +_dTPT = "deviceTrustProviderType" +_LUTa = "LastUpdatedTime" +_lUTa = "lastUpdatedTime" +_DO = "DeviceOptions" +_NAOO = "NativeApplicationOidcOptions" +_Is = "Issuer" +_iss = "issuer" +_AE = "AuthorizationEndpoint" +_aE = "authorizationEndpoint" +_TE = "TokenEndpoint" +_tE = "tokenEndpoint" +_UIEs = "UserInfoEndpoint" +_uIE = "userInfoEndpoint" +_CIl = "ClientId" +_cIl = "clientId" +_Sc = "Scope" +_sc = "scope" +_smith = "smithy.api#sensitive" +_OO = "OidcOptions" +_CSl = "ClientSecret" +_cSl = "clientSecret" +_KKA = "KmsKeyArn" +_VASSR = "VerifiedAccessSseSpecificationResponse" +_CMKE = "CustomerManagedKeyEnabled" +_cMKE = "customerManagedKeyEnabled" +_kKA = "kmsKeyArn" +_VATPe = "VerifiedAccessTrustProvider" +_oO = "oidcOptions" +_dO = "deviceOptions" +_PRN = "PolicyReferenceName" +_pRN = "policyReferenceName" +_SSs = "SseSpecification" +_sSs = "sseSpecification" +_nAOO = "nativeApplicationOidcOptions" +_VIo = "VolumeId" +_AVIt = "AttachVolumeInput" +_cAVR = "com.amazonaws.ec2#AttachVolumeRequest" +_Dev = "Device" +_ECI = "EbsCardIndex" +_VAS = "VolumeAttachmentState" +_at = "attaching" +_att = "attached" +_det = "detaching" +_deta = "detached" +_bu = "busy" +_AVO = "AttachVolumeOutput" +_cVA = "com.amazonaws.ec2#VolumeAttachment" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_ARs = "AssociatedResource" +_aRs = "associatedResource" +_IOS = "InstanceOwningService" +_iOS = "instanceOwningService" +_eCI = "ebsCardIndex" +_vIo = "volumeId" +_ATtt = "AttachTime" +_aTtt = "attachTime" +_AVtt = "AttachVolume" +_VGI = "VpnGatewayId" +_AVGI = "AttachVpnGatewayInput" +_cAVGR = "com.amazonaws.ec2#AttachVpnGatewayRequest" +_VA = "VpcAttachment" +_AVGO = "AttachVpnGatewayOutput" +_cAVGRo = "com.amazonaws.ec2#AttachVpnGatewayResult" +_At = "Attachment" +_atta = "attachment" +_AVG = "AttachVpnGateway" +_ACVII = "AuthorizeClientVpnIngressInput" +_cACVIR = "com.amazonaws.ec2#AuthorizeClientVpnIngressRequest" +_TNC = "TargetNetworkCidr" +_AGI = "AccessGroupId" +_AAG = "AuthorizeAllGroups" +_CVARSC = "ClientVpnAuthorizationRuleStatusCode" +_au = "authorizing" +_rev = "revoking" +_CVARS = "ClientVpnAuthorizationRuleStatus" +_ACVIO = "AuthorizeClientVpnIngressOutput" +_cACVIRo = "com.amazonaws.ec2#AuthorizeClientVpnIngressResult" +_ACVI = "AuthorizeClientVpnIngress" +_IRp = "IpRange" +_CIi = "CidrIp" +_cIi = "cidrIp" +_IRL = "IpRangeList" +_IRpv = "Ipv6Range" +_CIid = "CidrIpv6" +_cIid = "cidrIpv6" +_IRLp = "Ipv6RangeList" +_PLIL = "PrefixListIdList" +_UIs = "UserId" +_uI = "userId" +_GN = "GroupName" +_PSe = "PeeringStatus" +_pSe = "peeringStatus" +_UIGPL = "UserIdGroupPairList" +_IPpe = "IpPermission" +_IPpr = "IpProtocol" +_iPpr = "ipProtocol" +_FP = "FromPort" +_fP = "fromPort" +_TP = "ToPort" +_tP = "toPort" +_UIGPs = "UserIdGroupPairs" +_gr = "groups" +_IRpa = "IpRanges" +_iRpa = "ipRanges" +_IRpva = "Ipv6Ranges" +_iRpv = "ipv6Ranges" +_PLIr = "PrefixListIds" +_pLIr = "prefixListIds" +_IPLpe = "IpPermissionList" +_ASGEI = "AuthorizeSecurityGroupEgressInput" +_cASGER = "com.amazonaws.ec2#AuthorizeSecurityGroupEgressRequest" +_SSGN = "SourceSecurityGroupName" +_sSGN = "sourceSecurityGroupName" +_SSGOI = "SourceSecurityGroupOwnerId" +_sSGOI = "sourceSecurityGroupOwnerId" +_IPper = "IpPermissions" +_iPpe = "ipPermissions" +_PLRI = "PrefixListResourceId" +_RSG = "ReferencedSecurityGroup" +_SGRI = "SecurityGroupRuleId" +_sGRI = "securityGroupRuleId" +_GOI = "GroupOwnerId" +_gOI = "groupOwnerId" +_IE = "IsEgress" +_iE = "isEgress" +_CIidr = "CidrIpv4" +_cIidr = "cidrIpv4" +_RGIe = "ReferencedGroupInfo" +_rGI = "referencedGroupInfo" +_SGRA = "SecurityGroupRuleArn" +_sGRA = "securityGroupRuleArn" +_SGRL = "SecurityGroupRuleList" +_ASGEO = "AuthorizeSecurityGroupEgressOutput" +_cASGERo = "com.amazonaws.ec2#AuthorizeSecurityGroupEgressResult" +_SGRe = "SecurityGroupRules" +_SGRSe = "SecurityGroupRuleSet" +_sGRSe = "securityGroupRuleSet" +_ASGE = "AuthorizeSecurityGroupEgress" +_ASGII = "AuthorizeSecurityGroupIngressInput" +_cASGIR = "com.amazonaws.ec2#AuthorizeSecurityGroupIngressRequest" +_ASGIO = "AuthorizeSecurityGroupIngressOutput" +_cASGIRo = "com.amazonaws.ec2#AuthorizeSecurityGroupIngressResult" +_ASGI = "AuthorizeSecurityGroupIngress" +_BB = "BoxedBoolean" +_IIRAI = "IpamInternetRegistryAssociationId" +_BMIRPRI = "BatchModifyIpamRoutingPolicyRegistrationsInput" +_cBMIRPRR = "com.amazonaws.ec2#BatchModifyIpamRoutingPolicyRegistrationsRequest" +_DJ = "DeltaJson" +_Fo = "Force" +_IRPRDS = "IpamRoutingPolicyRegistrationDeltaState" +_pub = "published" +_IRPRD = "IpamRoutingPolicyRegistrationDelta" +_DIe = "DeltaId" +_dIe = "deltaId" +_dJ = "deltaJson" +_SMta = "StateMessage" +_sMta = "stateMessage" +_BMIRPRO = "BatchModifyIpamRoutingPolicyRegistrationsOutput" +_cBMIRPRRo = "com.amazonaws.ec2#BatchModifyIpamRoutingPolicyRegistrationsResult" +_iRPRD = "ipamRoutingPolicyRegistrationDelta" +_BMIRPR = "BatchModifyIpamRoutingPolicyRegistrations" +_SB = "SecureBlob" +_SSUPS = "S3StorageUploadPolicySignature" +_SSt = "S3Storage" +_AWSAKI = "AWSAccessKeyId" +_Bu = "Bucket" +_buc = "bucket" +_Pre = "Prefix" +_pre = "prefix" +_UP = "UploadPolicy" +_uP = "uploadPolicy" +_UPS = "UploadPolicySignature" +_uPS = "uploadPolicySignature" +_Sto = "Storage" +_S_ = "S3" +_BIIu = "BundleInstanceInput" +_cBIR = "com.amazonaws.ec2#BundleInstanceRequest" +_BTE = "BundleTaskError" +_BTS = "BundleTaskState" +_wfs = "waiting_for_shutdown" +_wfs_ = "waiting-for-shutdown" +_bun = "bundling" +_sto = "storing" +_comp = "complete" +_BT = "BundleTask" +_BIu = "BundleId" +_bI = "bundleId" +_ST = "StartTime" +_sTt = "startTime" +_UT = "UpdateTime" +_uT = "updateTime" +_stor = "storage" +_Prog = "Progress" +_prog = "progress" +_BIO = "BundleInstanceOutput" +_cBIRo = "com.amazonaws.ec2#BundleInstanceResult" +_BIT = "BundleInstanceTask" +_bIT = "bundleInstanceTask" +_BIun = "BundleInstance" +_CBTI = "CancelBundleTaskInput" +_cCBTR = "com.amazonaws.ec2#CancelBundleTaskRequest" +_CBTO = "CancelBundleTaskOutput" +_cCBTRo = "com.amazonaws.ec2#CancelBundleTaskResult" +_CBT = "CancelBundleTask" +_ACC = "ApplyCancellationCharges" +_CWD = "COMMITMENT_WIND_DOWN" +_cwd = "commitment-wind-down" +_CRCQI = "CapacityReservationCancellationQuoteId" +_CCRI = "CancelCapacityReservationInput" +_cCCRR = "com.amazonaws.ec2#CancelCapacityReservationRequest" +_QI = "QuoteId" +_CCRO = "CancelCapacityReservationOutput" +_cCCRRo = "com.amazonaws.ec2#CancelCapacityReservationResult" +_CCR = "CancelCapacityReservation" +_CRFI = "CapacityReservationFleetId" +_CRFIS = "CapacityReservationFleetIdSet" +_CCRFI = "CancelCapacityReservationFleetsInput" +_cCCRFR = "com.amazonaws.ec2#CancelCapacityReservationFleetsRequest" +_CRFIa = "CapacityReservationFleetIds" +_CCRFEC = "CancelCapacityReservationFleetErrorCode" +_CCRFEM = "CancelCapacityReservationFleetErrorMessage" +_CCRFE = "CancelCapacityReservationFleetError" +_FCRFCR = "FailedCapacityReservationFleetCancellationResult" +_cRFI = "capacityReservationFleetId" +_cCRFE = "cancelCapacityReservationFleetError" +_FCRFCRS = "FailedCapacityReservationFleetCancellationResultSet" +_CRFS = "CapacityReservationFleetState" +_SUBMITTED = "SUBMITTED" +_subm = "submitted" +_MODIFYING = "MODIFYING" +_PF__ = "PARTIALLY_FULFILLED" +_pf___ = "partially_fulfilled" +_EXPIRING = "EXPIRING" +_exp = "expiring" +_EXPIRED = "EXPIRED" +_CANCELLING = "CANCELLING" +_CANCELLED = "CANCELLED" +_can = "cancelled" +_CRFCS = "CapacityReservationFleetCancellationState" +_CFS = "CurrentFleetState" +_cFS = "currentFleetState" +_PFS = "PreviousFleetState" +_pFS = "previousFleetState" +_CRFCSS = "CapacityReservationFleetCancellationStateSet" +_CCRFO = "CancelCapacityReservationFleetsOutput" +_cCCRFRo = "com.amazonaws.ec2#CancelCapacityReservationFleetsResult" +_SFC = "SuccessfulFleetCancellations" +_SFCS = "SuccessfulFleetCancellationSet" +_sFCS = "successfulFleetCancellationSet" +_FFC = "FailedFleetCancellations" +_FFCS = "FailedFleetCancellationSet" +_fFCS = "failedFleetCancellationSet" +_CCRF = "CancelCapacityReservationFleets" +_CTI = "ConversionTaskId" +_CCTI = "CancelConversionTaskInput" +_cCCR = "com.amazonaws.ec2#CancelConversionRequest" +_cTI = "conversionTaskId" +_RM = "ReasonMessage" +_rM = "reasonMessage" +_CCTO = "CancelConversionTaskOutput" +_CCT = "CancelConversionTask" +_DPRI = "DeclarativePoliciesReportId" +_CDPRI = "CancelDeclarativePoliciesReportInput" +_cCDPRR = "com.amazonaws.ec2#CancelDeclarativePoliciesReportRequest" +_RIep = "ReportId" +_CDPRO = "CancelDeclarativePoliciesReportOutput" +_cCDPRRo = "com.amazonaws.ec2#CancelDeclarativePoliciesReportResult" +_CDPR = "CancelDeclarativePoliciesReport" +_EVTI = "ExportVmTaskId" +_CETI = "CancelExportTaskInput" +_cCETR = "com.amazonaws.ec2#CancelExportTaskRequest" +_ETI = "ExportTaskId" +_eTI = "exportTaskId" +_CETO = "CancelExportTaskOutput" +_CET = "CancelExportTask" +_CILPI = "CancelImageLaunchPermissionInput" +_cCILPR = "com.amazonaws.ec2#CancelImageLaunchPermissionRequest" +_CILPO = "CancelImageLaunchPermissionOutput" +_cCILPRo = "com.amazonaws.ec2#CancelImageLaunchPermissionResult" +_CILP = "CancelImageLaunchPermission" +_ITI = "ImportTaskId" +_CITI = "CancelImportTaskInput" +_cCITR = "com.amazonaws.ec2#CancelImportTaskRequest" +_CRa = "CancelReason" +_CITO = "CancelImportTaskOutput" +_cCITRo = "com.amazonaws.ec2#CancelImportTaskResult" +_iTI = "importTaskId" +_PSre = "PreviousState" +_pSre = "previousState" +_CIT = "CancelImportTask" +_RILI = "ReservedInstancesListingId" +_CRILI = "CancelReservedInstancesListingInput" +_cCRILR = "com.amazonaws.ec2#CancelReservedInstancesListingRequest" +_rILI = "reservedInstancesListingId" +_LSi = "ListingState" +_sol = "sold" +_iC = "instanceCount" +_ICL = "InstanceCountList" +_CCV = "CurrencyCodeValues" +_USD = "USD" +_Lo = "Long" +_PSri = "PriceSchedule" +_Act = "Active" +_CC = "CurrencyCode" +_cC = "currencyCode" +_Pric = "Price" +_pric = "price" +_Te = "Term" +_te = "term" +_PSL = "PriceScheduleList" +_LSis = "ListingStatus" +_cl = "closed" +_RIL = "ReservedInstancesListing" +_CD = "CreateDate" +_cD = "createDate" +_ICn = "InstanceCounts" +_iCn = "instanceCounts" +_PSric = "PriceSchedules" +_pSri = "priceSchedules" +_RIIes = "ReservedInstancesId" +_rII = "reservedInstancesId" +_UD = "UpdateDate" +_uD = "updateDate" +_RILL = "ReservedInstancesListingList" +_CRILO = "CancelReservedInstancesListingOutput" +_cCRILRo = "com.amazonaws.ec2#CancelReservedInstancesListingResult" +_RILe = "ReservedInstancesListings" +_RILS = "ReservedInstancesListingsSet" +_rILS = "reservedInstancesListingsSet" +_CRIL = "CancelReservedInstancesListing" +_SFRI = "SpotFleetRequestId" +_SFRIL = "SpotFleetRequestIdList" +_CSFRI = "CancelSpotFleetRequestsInput" +_cCSFRR = "com.amazonaws.ec2#CancelSpotFleetRequestsRequest" +_SFRIp = "SpotFleetRequestIds" +_sFRI = "spotFleetRequestId" +_TIe = "TerminateInstances" +_tIe = "terminateInstances" +_BS = "BatchState" +_CR_ = "CANCELLED_RUNNING" +_cr__ = "cancelled_running" +_CTI_ = "CANCELLED_TERMINATING_INSTANCES" +_ct = "cancelled_terminating" +_CSFRSI = "CancelSpotFleetRequestsSuccessItem" +_CSFRS = "CurrentSpotFleetRequestState" +_cSFRS = "currentSpotFleetRequestState" +_PSFRS = "PreviousSpotFleetRequestState" +_pSFRS = "previousSpotFleetRequestState" +_CSFRSS = "CancelSpotFleetRequestsSuccessSet" +_CSFRO = "CancelSpotFleetRequestsOutput" +_cCSFRRo = "com.amazonaws.ec2#CancelSpotFleetRequestsResponse" +_SFR = "SuccessfulFleetRequests" +_SFRS = "SuccessfulFleetRequestSet" +_sFRS = "successfulFleetRequestSet" +_UFR = "UnsuccessfulFleetRequests" +_UFRS = "UnsuccessfulFleetRequestSet" +_uFRS = "unsuccessfulFleetRequestSet" +_CSFR = "CancelSpotFleetRequests" +_compl = "completed" +_SSET = "SSEType" +_se = "sse_ebs" +_se_ = "sse-ebs" +_sk = "sse_kms" +_sk_ = "sse-kms" +_VS = "VolumeState" +_iu = "in_use" +_iu_ = "in-use" +_CRIP = "CapacityReservationInstancePlatform" +_LU = "LINUX_UNIX" +_LUNIX = "Linux/UNIX" +_RHEL = "RED_HAT_ENTERPRISE_LINUX" +_RHEL_ = "Red Hat Enterprise Linux" +_SL_ = "SUSE_LINUX" +_SL__ = "SUSE Linux" +_WINDOWS = "WINDOWS" +_W = "Windows" +_WWSS = "WINDOWS_WITH_SQL_SERVER" +_WwSS = "Windows with SQL Server" +_WWSSE = "WINDOWS_WITH_SQL_SERVER_ENTERPRISE" +_WwSSE = "Windows with SQL Server Enterprise" +_WWSSS = "WINDOWS_WITH_SQL_SERVER_STANDARD" +_WwSSS = "Windows with SQL Server Standard" +_WWSSW = "WINDOWS_WITH_SQL_SERVER_WEB" +_WwSSW = "Windows with SQL Server Web" +_LWSSS = "LINUX_WITH_SQL_SERVER_STANDARD" +_LwSSS = "Linux with SQL Server Standard" +_LWSSW = "LINUX_WITH_SQL_SERVER_WEB" +_LwSSW = "Linux with SQL Server Web" +_LWSSE = "LINUX_WITH_SQL_SERVER_ENTERPRISE" +_LwSSE = "Linux with SQL Server Enterprise" +_RWSSS = "RHEL_WITH_SQL_SERVER_STANDARD" +_RwSSS = "RHEL with SQL Server Standard" +_RWSSE = "RHEL_WITH_SQL_SERVER_ENTERPRISE" +_RwSSE = "RHEL with SQL Server Enterprise" +_RWSSW = "RHEL_WITH_SQL_SERVER_WEB" +_RwSSW = "RHEL with SQL Server Web" +_RWH = "RHEL_WITH_HA" +_RwH = "RHEL with HA" +_RWHASSS = "RHEL_WITH_HA_AND_SQL_SERVER_STANDARD" +_RwHaSSS = "RHEL with HA and SQL Server Standard" +_RWHASSE = "RHEL_WITH_HA_AND_SQL_SERVER_ENTERPRISE" +_RwHaSSE = "RHEL with HA and SQL Server Enterprise" +_UPL = "UBUNTU_PRO_LINUX" +_UP_ = "Ubuntu Pro" +_BL = "BoxedLong" +_SLE = "SnapshotLocationEnum" +_REGIONAL = "REGIONAL" +_regi = "regional" +_LOCAL = "LOCAL" +_lo = "local" +_SSn = "SnapshotState" +_rec = "recoverable" +_reco = "recovering" +_VISL = "VolumeIdStringList" + +ALLOCATION_TYPE: StaticSchema = ( + 14, + n0, + _ATl, + 0, + (_us, _fut, _ca), + ((-1, {_sV: _us}), (-1, {_sV: _fut}), (-1, {_sV: _ca})), +) + +OIDC_OPTIONS: StaticSchema = ( + 18, + n0, + _OO, + 0, + (_Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), + ( + (lambda: schemas.STRING, {_aQN: _Is, _sN: _iss}), + (lambda: schemas.STRING, {_aQN: _AE, _sN: _aE}), + (lambda: schemas.STRING, {_aQN: _TE, _sN: _tE}), + (lambda: schemas.STRING, {_aQN: _UIEs, _sN: _uIE}), + (lambda: schemas.STRING, {_aQN: _CIl, _sN: _cIl}), + (lambda: schemas.CLIENT_SECRET_TYPE, {_aQN: _CSl, _sN: _cSl}), + (lambda: schemas.STRING, {_aQN: _Sc, _sN: _sc}), + ), +) + +KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) + +VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE: StaticSchema = ( + 18, + n0, + _VASSR, + 0, + (_CMKE, _KKA), + ( + (lambda: schemas.BOOLEAN, {_aQN: _CMKE, _sN: _cMKE}), + (KMS_KEY_ARN, {_aQN: _KKA, _sN: _kKA}), + ), +) + +VERIFIED_ACCESS_TRUST_PROVIDER: StaticSchema = ( + 18, + n0, + _VATPe, + 0, + (_VATPI, _Des, _TPT, _UTPT, _DTPT, _OO, _DO, _PRN, _CT, _LUTa, _Tag, _SSs, _NAOO), + ( + (lambda: schemas.STRING, {_aQN: _VATPI, _sN: _vATPI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.TRUST_PROVIDER_TYPE, {_aQN: _TPT, _sN: _tPT}), + (lambda: schemas.USER_TRUST_PROVIDER_TYPE, {_aQN: _UTPT, _sN: _uTPT}), + (lambda: schemas.DEVICE_TRUST_PROVIDER_TYPE, {_aQN: _DTPT, _sN: _dTPT}), + (OIDC_OPTIONS, {_aQN: _OO, _sN: _oO}), + (lambda: schemas.DEVICE_OPTIONS, {_aQN: _DO, _sN: _dO}), + (lambda: schemas.STRING, {_aQN: _PRN, _sN: _pRN}), + (lambda: schemas.STRING, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.STRING, {_aQN: _LUTa, _sN: _lUTa}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, {_aQN: _SSs, _sN: _sSs}), + (lambda: schemas.NATIVE_APPLICATION_OIDC_OPTIONS, {_aQN: _NAOO, _sN: _nAOO}), + ), +) + +VOLUME_ID: StaticSchema = (3, n0, _VIo, 0) + +ATTACH_VOLUME_INPUT: StaticSchema = ( + 18, + n0, + _AVIt, + {_sSI: _cAVR, _sm: None}, + (_Dev, _II, _VIo, _ECI, _DR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.INSTANCE_ID, 1), + (VOLUME_ID, 1), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +ATTACH_VOLUME_OUTPUT: StaticSchema = ( + 18, + n0, + _AVO, + {_sSI: _cVA, _smit: None}, + (_DOT, _ARs, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.STRING, {_aQN: _ARs, _sN: _aRs}), + (lambda: schemas.STRING, {_aQN: _IOS, _sN: _iOS}), + (lambda: schemas.INTEGER, {_aQN: _ECI, _sN: _eCI}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _Dev, _sN: _dev}), + (lambda: VOLUME_ATTACHMENT_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), + ), +) + +ATTACH_VOLUME: StaticOperationSchema = ( + 23, + n0, + _AVtt, + 0, + ATTACH_VOLUME_INPUT, + ATTACH_VOLUME_OUTPUT, + (), +) + +VOLUME_ATTACHMENT_STATE: StaticSchema = ( + 14, + n0, + _VAS, + 0, + (_at, _att, _det, _deta, _bu), + ( + (-1, {_sV: _at}), + (-1, {_sV: _att}), + (-1, {_sV: _det}), + (-1, {_sV: _deta}), + (-1, {_sV: _bu}), + ), +) + +ATTACH_VPN_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _AVGI, + {_sSI: _cAVGR, _sm: None}, + (_VI, _VGI, _DR), + ( + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.VPN_GATEWAY_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +ATTACH_VPN_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _AVGO, + {_sSI: _cAVGRo, _smit: None}, + (_VA,), + ((lambda: VPC_ATTACHMENT, {_aQN: _At, _sN: _atta}),), +) + +ATTACH_VPN_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _AVG, + 0, + ATTACH_VPN_GATEWAY_INPUT, + ATTACH_VPN_GATEWAY_OUTPUT, + (), +) + +VPC_ATTACHMENT: StaticSchema = ( + 18, + n0, + _VA, + 0, + (_VI, _St), + ( + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.ATTACHMENT_STATUS, {_aQN: _St, _sN: _st}), + ), +) + +AUTHORIZE_CLIENT_VPN_INGRESS_INPUT: StaticSchema = ( + 18, + n0, + _ACVII, + {_sSI: _cACVIR, _sm: None}, + (_CVEI, _TNC, _AGI, _AAG, _Des, _CTl, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +AUTHORIZE_CLIENT_VPN_INGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _ACVIO, + {_sSI: _cACVIRo, _smit: None}, + (_Sta,), + ((lambda: CLIENT_VPN_AUTHORIZATION_RULE_STATUS, {_aQN: _Sta, _sN: _sta}),), +) + +AUTHORIZE_CLIENT_VPN_INGRESS: StaticOperationSchema = ( + 23, + n0, + _ACVI, + 0, + AUTHORIZE_CLIENT_VPN_INGRESS_INPUT, + AUTHORIZE_CLIENT_VPN_INGRESS_OUTPUT, + (), +) + +CLIENT_VPN_AUTHORIZATION_RULE_STATUS_CODE: StaticSchema = ( + 14, + n0, + _CVARSC, + 0, + (_au, _act, _fa, _rev), + ((-1, {_sV: _au}), (-1, {_sV: _act}), (-1, {_sV: _fa}), (-1, {_sV: _rev})), +) + +CLIENT_VPN_AUTHORIZATION_RULE_STATUS: StaticSchema = ( + 18, + n0, + _CVARS, + 0, + (_C, _Me), + ( + (CLIENT_VPN_AUTHORIZATION_RULE_STATUS_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +IP_RANGE: StaticSchema = ( + 18, + n0, + _IRp, + 0, + (_Des, _CIi), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _CIi, _sN: _cIi}), + ), +) + +IP_RANGE_LIST: StaticSchema = (16, n0, _IRL, 0, (_me,), ((IP_RANGE, {_sN: _i}),)) + +IPV6_RANGE: StaticSchema = ( + 18, + n0, + _IRpv, + 0, + (_Des, _CIid), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _CIid, _sN: _cIid}), + ), +) + +IPV6_RANGE_LIST: StaticSchema = (16, n0, _IRLp, 0, (_me,), ((IPV6_RANGE, {_sN: _i}),)) + +PREFIX_LIST_ID: StaticSchema = ( + 18, + n0, + _PLI, + 0, + (_Des, _PLI), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _PLI, _sN: _pLI}), + ), +) + +PREFIX_LIST_ID_LIST: StaticSchema = ( + 16, + n0, + _PLIL, + 0, + (_me,), + ((PREFIX_LIST_ID, {_sN: _i}),), +) + +USER_ID_GROUP_PAIR_LIST: StaticSchema = ( + 16, + n0, + _UIGPL, + 0, + (_me,), + ((lambda: schemas.USER_ID_GROUP_PAIR, {_sN: _i}),), +) + +IP_PERMISSION: StaticSchema = ( + 18, + n0, + _IPpe, + 0, + (_IPpr, _FP, _TP, _UIGPs, _IRpa, _IRpva, _PLIr), + ( + (lambda: schemas.STRING, {_aQN: _IPpr, _sN: _iPpr}), + (lambda: schemas.INTEGER, {_aQN: _FP, _sN: _fP}), + (lambda: schemas.INTEGER, {_aQN: _TP, _sN: _tP}), + (USER_ID_GROUP_PAIR_LIST, {_aQN: _G, _sN: _gr}), + (IP_RANGE_LIST, {_aQN: _IRpa, _sN: _iRpa}), + (IPV6_RANGE_LIST, {_aQN: _IRpva, _sN: _iRpv}), + (PREFIX_LIST_ID_LIST, {_aQN: _PLIr, _sN: _pLIr}), + ), +) + +IP_PERMISSION_LIST: StaticSchema = ( + 16, + n0, + _IPLpe, + 0, + (_me,), + ((IP_PERMISSION, {_sN: _i}),), +) + +AUTHORIZE_SECURITY_GROUP_EGRESS_INPUT: StaticSchema = ( + 18, + n0, + _ASGEI, + {_sSI: _cASGER, _sm: None}, + (_TSa, _DR, _GIr, _SSGN, _SSGOI, _IPpr, _FP, _TP, _CIi, _IPper), + ( + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr, _smi: None}), + (lambda: schemas.STRING, {_aQN: _SSGN, _sN: _sSGN}), + (lambda: schemas.STRING, {_aQN: _SSGOI, _sN: _sSGOI}), + (lambda: schemas.STRING, {_aQN: _IPpr, _sN: _iPpr}), + (lambda: schemas.INTEGER, {_aQN: _FP, _sN: _fP}), + (lambda: schemas.INTEGER, {_aQN: _TP, _sN: _tP}), + (lambda: schemas.STRING, {_aQN: _CIi, _sN: _cIi}), + (IP_PERMISSION_LIST, {_aQN: _IPper, _sN: _iPpe}), + ), +) + +AUTHORIZE_SECURITY_GROUP_EGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _ASGEO, + {_sSI: _cASGERo, _smit: None}, + (_R, _SGRe), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + (lambda: SECURITY_GROUP_RULE_LIST, {_aQN: _SGRSe, _sN: _sGRSe}), + ), +) + +AUTHORIZE_SECURITY_GROUP_EGRESS: StaticOperationSchema = ( + 23, + n0, + _ASGE, + 0, + AUTHORIZE_SECURITY_GROUP_EGRESS_INPUT, + AUTHORIZE_SECURITY_GROUP_EGRESS_OUTPUT, + (), +) + +PREFIX_LIST_RESOURCE_ID: StaticSchema = (3, n0, _PLRI, 0) + +REFERENCED_SECURITY_GROUP: StaticSchema = ( + 18, + n0, + _RSG, + 0, + (_GIr, _PSe, _UIs, _VI, _VPCI), + ( + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.STRING, {_aQN: _PSe, _sN: _pSe}), + (lambda: schemas.STRING, {_aQN: _UIs, _sN: _uI}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _VPCI, _sN: _vPCI}), + ), +) + +SECURITY_GROUP_RULE_ID: StaticSchema = (3, n0, _SGRI, 0) + +SECURITY_GROUP_RULE: StaticSchema = ( + 18, + n0, + _SGR, + 0, + ( + _SGRI, + _GIr, + _GOI, + _IE, + _IPpr, + _FP, + _TP, + _CIidr, + _CIid, + _PLI, + _RGIe, + _Des, + _Tag, + _SGRA, + ), + ( + (SECURITY_GROUP_RULE_ID, {_aQN: _SGRI, _sN: _sGRI}), + (lambda: schemas.SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.STRING, {_aQN: _GOI, _sN: _gOI}), + (lambda: schemas.BOOLEAN, {_aQN: _IE, _sN: _iE}), + (lambda: schemas.STRING, {_aQN: _IPpr, _sN: _iPpr}), + (lambda: schemas.INTEGER, {_aQN: _FP, _sN: _fP}), + (lambda: schemas.INTEGER, {_aQN: _TP, _sN: _tP}), + (lambda: schemas.STRING, {_aQN: _CIidr, _sN: _cIidr}), + (lambda: schemas.STRING, {_aQN: _CIid, _sN: _cIid}), + (PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), + (REFERENCED_SECURITY_GROUP, {_aQN: _RGIe, _sN: _rGI}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _SGRA, _sN: _sGRA}), + ), +) + +SECURITY_GROUP_RULE_LIST: StaticSchema = ( + 16, + n0, + _SGRL, + 0, + (_me,), + ((SECURITY_GROUP_RULE, {_sN: _i}),), +) + +AUTHORIZE_SECURITY_GROUP_INGRESS_INPUT: StaticSchema = ( + 18, + n0, + _ASGII, + {_sSI: _cASGIR, _sm: None}, + (_CIi, _FP, _GIr, _GN, _IPper, _IPpr, _SSGN, _SSGOI, _TP, _TSa, _DR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.SECURITY_GROUP_ID, 0), + (lambda: schemas.SECURITY_GROUP_NAME, 0), + (IP_PERMISSION_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +AUTHORIZE_SECURITY_GROUP_INGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _ASGIO, + {_sSI: _cASGIRo, _smit: None}, + (_R, _SGRe), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + (SECURITY_GROUP_RULE_LIST, {_aQN: _SGRSe, _sN: _sGRSe}), + ), +) + +AUTHORIZE_SECURITY_GROUP_INGRESS: StaticOperationSchema = ( + 23, + n0, + _ASGI, + 0, + AUTHORIZE_SECURITY_GROUP_INGRESS_INPUT, + AUTHORIZE_SECURITY_GROUP_INGRESS_OUTPUT, + (), +) + +BOXED_BOOLEAN: StaticSchema = (2, n0, _BB, 0) + +IPAM_INTERNET_REGISTRY_ASSOCIATION_ID: StaticSchema = (3, n0, _IIRAI, 0) + +BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT: StaticSchema = ( + 18, + n0, + _BMIRPRI, + {_sSI: _cBMIRPRR, _sm: None}, + (_DR, _IIRAI, _DJ, _Fo, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (lambda: schemas.STRING, 1), + (BOXED_BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _BMIRPRO, + {_sSI: _cBMIRPRRo, _smit: None}, + (_IRPRD,), + ((lambda: IPAM_ROUTING_POLICY_REGISTRATION_DELTA, {_aQN: _IRPRD, _sN: _iRPRD}),), +) + +BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS: StaticOperationSchema = ( + 23, + n0, + _BMIRPR, + 0, + BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT, + BATCH_MODIFY_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT, + (), +) + +IPAM_ROUTING_POLICY_REGISTRATION_DELTA_STATE: StaticSchema = ( + 14, + n0, + _IRPRDS, + 0, + (_p, _pub, _fa), + ((-1, {_sV: _p}), (-1, {_sV: _pub}), (-1, {_sV: _fa})), +) + +IPAM_ROUTING_POLICY_REGISTRATION_DELTA: StaticSchema = ( + 18, + n0, + _IRPRD, + 0, + (_DIe, _DJ, _St, _SMta), + ( + (lambda: schemas.STRING, {_aQN: _DIe, _sN: _dIe}), + (lambda: schemas.STRING, {_aQN: _DJ, _sN: _dJ}), + (IPAM_ROUTING_POLICY_REGISTRATION_DELTA_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + ), +) + +SECURE_BLOB: StaticSchema = (1, n0, _SB, 4) + +S3_STORAGE_UPLOAD_POLICY_SIGNATURE: StaticSchema = (3, n0, _SSUPS, 4) + +S3_STORAGE: StaticSchema = ( + 18, + n0, + _SSt, + 0, + (_AWSAKI, _Bu, _Pre, _UP, _UPS), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, {_aQN: _Bu, _sN: _buc}), + (lambda: schemas.STRING, {_aQN: _Pre, _sN: _pre}), + (SECURE_BLOB, {_aQN: _UP, _sN: _uP}), + (S3_STORAGE_UPLOAD_POLICY_SIGNATURE, {_aQN: _UPS, _sN: _uPS}), + ), +) + +STORAGE: StaticSchema = (18, n0, _Sto, 0, (_S_,), ((S3_STORAGE, {_sN: _S_}),)) + +BUNDLE_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _BIIu, + {_sSI: _cBIR, _sm: None}, + (_II, _Sto, _DR), + ( + (lambda: schemas.INSTANCE_ID, 1), + (STORAGE, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +BUNDLE_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _BIO, + {_sSI: _cBIRo, _smit: None}, + (_BT,), + ((lambda: BUNDLE_TASK, {_aQN: _BIT, _sN: _bIT}),), +) + +BUNDLE_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _BIun, + 0, + BUNDLE_INSTANCE_INPUT, + BUNDLE_INSTANCE_OUTPUT, + (), +) + +BUNDLE_TASK_ERROR: StaticSchema = ( + 18, + n0, + _BTE, + 0, + (_C, _Me), + ( + (lambda: schemas.STRING, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +BUNDLE_TASK_STATE: StaticSchema = ( + 14, + n0, + _BTS, + 0, + (_p, _wfs, _bun, _sto, _ca, _comp, _fa), + ( + (-1, {_sV: _p}), + (-1, {_sV: _wfs_}), + (-1, {_sV: _bun}), + (-1, {_sV: _sto}), + (-1, {_sV: _ca}), + (-1, {_sV: _comp}), + (-1, {_sV: _fa}), + ), +) + +BUNDLE_TASK: StaticSchema = ( + 18, + n0, + _BT, + 0, + (_II, _BIu, _St, _ST, _UT, _Sto, _Prog, _BTE), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _BIu, _sN: _bI}), + (BUNDLE_TASK_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.DATE_TIME, {_aQN: _UT, _sN: _uT}), + (STORAGE, {_aQN: _Sto, _sN: _stor}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (BUNDLE_TASK_ERROR, {_aQN: _E, _sN: _er}), + ), +) + +BUNDLE_ID: StaticSchema = (3, n0, _BIu, 0) + +CANCEL_BUNDLE_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CBTI, + {_sSI: _cCBTR, _sm: None}, + (_BIu, _DR), + ((BUNDLE_ID, 1), (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr})), +) + +CANCEL_BUNDLE_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CBTO, + {_sSI: _cCBTRo, _smit: None}, + (_BT,), + ((BUNDLE_TASK, {_aQN: _BIT, _sN: _bIT}),), +) + +CANCEL_BUNDLE_TASK: StaticOperationSchema = ( + 23, + n0, + _CBT, + 0, + CANCEL_BUNDLE_TASK_INPUT, + CANCEL_BUNDLE_TASK_OUTPUT, + (), +) + +APPLY_CANCELLATION_CHARGES: StaticSchema = ( + 14, + n0, + _ACC, + 0, + (_CWD,), + ((-1, {_sV: _cwd}),), +) + +CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID: StaticSchema = (3, n0, _CRCQI, 0) + +CANCEL_CAPACITY_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _CCRI, + {_sSI: _cCCRR, _sm: None}, + (_CRI, _DR, _ACC, _QI), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (APPLY_CANCELLATION_CHARGES, 0), + (CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID, 0), + ), +) + +CANCEL_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CCRO, + {_sSI: _cCCRRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +CANCEL_CAPACITY_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _CCR, + 0, + CANCEL_CAPACITY_RESERVATION_INPUT, + CANCEL_CAPACITY_RESERVATION_OUTPUT, + (), +) + +CAPACITY_RESERVATION_FLEET_ID: StaticSchema = (3, n0, _CRFI, 0) + +CAPACITY_RESERVATION_FLEET_ID_SET: StaticSchema = ( + 16, + n0, + _CRFIS, + 0, + (_me,), + ((CAPACITY_RESERVATION_FLEET_ID, {_sN: _i}),), +) + +CANCEL_CAPACITY_RESERVATION_FLEETS_INPUT: StaticSchema = ( + 18, + n0, + _CCRFI, + {_sSI: _cCCRFR, _sm: None}, + (_DR, _CRFIa), + ( + (lambda: schemas.BOOLEAN, 0), + (CAPACITY_RESERVATION_FLEET_ID_SET, {_sN: _CRFI, _smi: None}), + ), +) + +CANCEL_CAPACITY_RESERVATION_FLEETS_OUTPUT: StaticSchema = ( + 18, + n0, + _CCRFO, + {_sSI: _cCCRFRo, _smit: None}, + (_SFC, _FFC), + ( + ( + lambda: CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE_SET, + {_aQN: _SFCS, _sN: _sFCS}, + ), + ( + lambda: FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT_SET, + {_aQN: _FFCS, _sN: _fFCS}, + ), + ), +) + +CANCEL_CAPACITY_RESERVATION_FLEETS: StaticOperationSchema = ( + 23, + n0, + _CCRF, + 0, + CANCEL_CAPACITY_RESERVATION_FLEETS_INPUT, + CANCEL_CAPACITY_RESERVATION_FLEETS_OUTPUT, + (), +) + +CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_CODE: StaticSchema = (3, n0, _CCRFEC, 0) + +CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_MESSAGE: StaticSchema = (3, n0, _CCRFEM, 0) + +CANCEL_CAPACITY_RESERVATION_FLEET_ERROR: StaticSchema = ( + 18, + n0, + _CCRFE, + 0, + (_C, _Me), + ( + (CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_CODE, {_aQN: _C, _sN: _co}), + (CANCEL_CAPACITY_RESERVATION_FLEET_ERROR_MESSAGE, {_aQN: _Me, _sN: _mes}), + ), +) + +FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT: StaticSchema = ( + 18, + n0, + _FCRFCR, + 0, + (_CRFI, _CCRFE), + ( + (CAPACITY_RESERVATION_FLEET_ID, {_aQN: _CRFI, _sN: _cRFI}), + (CANCEL_CAPACITY_RESERVATION_FLEET_ERROR, {_aQN: _CCRFE, _sN: _cCRFE}), + ), +) + +FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT_SET: StaticSchema = ( + 16, + n0, + _FCRFCRS, + 0, + (_me,), + ((FAILED_CAPACITY_RESERVATION_FLEET_CANCELLATION_RESULT, {_sN: _i}),), +) + +CAPACITY_RESERVATION_FLEET_STATE: StaticSchema = ( + 14, + n0, + _CRFS, + 0, + ( + _SUBMITTED, + _MODIFYING, + _ACTIVE, + _PF__, + _EXPIRING, + _EXPIRED, + _CANCELLING, + _CANCELLED, + _FAILED, + ), + ( + (-1, {_sV: _subm}), + (-1, {_sV: _mo}), + (-1, {_sV: _act}), + (-1, {_sV: _pf___}), + (-1, {_sV: _exp}), + (-1, {_sV: _ex}), + (-1, {_sV: _ca}), + (-1, {_sV: _can}), + (-1, {_sV: _fa}), + ), +) + +CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE: StaticSchema = ( + 18, + n0, + _CRFCS, + 0, + (_CFS, _PFS, _CRFI), + ( + (CAPACITY_RESERVATION_FLEET_STATE, {_aQN: _CFS, _sN: _cFS}), + (CAPACITY_RESERVATION_FLEET_STATE, {_aQN: _PFS, _sN: _pFS}), + (CAPACITY_RESERVATION_FLEET_ID, {_aQN: _CRFI, _sN: _cRFI}), + ), +) + +CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE_SET: StaticSchema = ( + 16, + n0, + _CRFCSS, + 0, + (_me,), + ((CAPACITY_RESERVATION_FLEET_CANCELLATION_STATE, {_sN: _i}),), +) + +CONVERSION_TASK_ID: StaticSchema = (3, n0, _CTI, 0) + +CANCEL_CONVERSION_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CCTI, + {_sSI: _cCCR, _sm: None}, + (_DR, _CTI, _RM), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (CONVERSION_TASK_ID, {_aQN: _CTI, _sN: _cTI, _smi: None}), + (lambda: schemas.STRING, {_aQN: _RM, _sN: _rM}), + ), +) + +CANCEL_CONVERSION_TASK_OUTPUT: StaticSchema = (18, n0, _CCTO, {_sSI: _sU, _smit: None}) + +CANCEL_CONVERSION_TASK: StaticOperationSchema = ( + 23, + n0, + _CCT, + 0, + CANCEL_CONVERSION_TASK_INPUT, + CANCEL_CONVERSION_TASK_OUTPUT, + (), +) + +DECLARATIVE_POLICIES_REPORT_ID: StaticSchema = (3, n0, _DPRI, 0) + +CANCEL_DECLARATIVE_POLICIES_REPORT_INPUT: StaticSchema = ( + 18, + n0, + _CDPRI, + {_sSI: _cCDPRR, _sm: None}, + (_DR, _RIep), + ((lambda: schemas.BOOLEAN, 0), (DECLARATIVE_POLICIES_REPORT_ID, 1)), +) + +CANCEL_DECLARATIVE_POLICIES_REPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDPRO, + {_sSI: _cCDPRRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +CANCEL_DECLARATIVE_POLICIES_REPORT: StaticOperationSchema = ( + 23, + n0, + _CDPR, + 0, + CANCEL_DECLARATIVE_POLICIES_REPORT_INPUT, + CANCEL_DECLARATIVE_POLICIES_REPORT_OUTPUT, + (), +) + +EXPORT_VM_TASK_ID: StaticSchema = (3, n0, _EVTI, 0) + +CANCEL_EXPORT_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CETI, + {_sSI: _cCETR, _sm: None}, + (_ETI,), + ((EXPORT_VM_TASK_ID, {_aQN: _ETI, _sN: _eTI, _smi: None}),), +) + +CANCEL_EXPORT_TASK_OUTPUT: StaticSchema = (18, n0, _CETO, {_sSI: _sU, _smit: None}) + +CANCEL_EXPORT_TASK: StaticOperationSchema = ( + 23, + n0, + _CET, + 0, + CANCEL_EXPORT_TASK_INPUT, + CANCEL_EXPORT_TASK_OUTPUT, + (), +) + +CANCEL_IMAGE_LAUNCH_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _CILPI, + {_sSI: _cCILPR, _sm: None}, + (_IIm, _DR), + ((lambda: schemas.IMAGE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +CANCEL_IMAGE_LAUNCH_PERMISSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CILPO, + {_sSI: _cCILPRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +CANCEL_IMAGE_LAUNCH_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _CILP, + 0, + CANCEL_IMAGE_LAUNCH_PERMISSION_INPUT, + CANCEL_IMAGE_LAUNCH_PERMISSION_OUTPUT, + (), +) + +IMPORT_TASK_ID: StaticSchema = (3, n0, _ITI, 0) + +CANCEL_IMPORT_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CITI, + {_sSI: _cCITR, _sm: None}, + (_CRa, _DR, _ITI), + ((lambda: schemas.STRING, 0), (lambda: schemas.BOOLEAN, 0), (IMPORT_TASK_ID, 0)), +) + +CANCEL_IMPORT_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CITO, + {_sSI: _cCITRo, _smit: None}, + (_ITI, _PSre, _St), + ( + (lambda: schemas.STRING, {_aQN: _ITI, _sN: _iTI}), + (lambda: schemas.STRING, {_aQN: _PSre, _sN: _pSre}), + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + ), +) + +CANCEL_IMPORT_TASK: StaticOperationSchema = ( + 23, + n0, + _CIT, + 0, + CANCEL_IMPORT_TASK_INPUT, + CANCEL_IMPORT_TASK_OUTPUT, + (), +) + +RESERVED_INSTANCES_LISTING_ID: StaticSchema = (3, n0, _RILI, 0) + +CANCEL_RESERVED_INSTANCES_LISTING_INPUT: StaticSchema = ( + 18, + n0, + _CRILI, + {_sSI: _cCRILR, _sm: None}, + (_RILI,), + ((RESERVED_INSTANCES_LISTING_ID, {_aQN: _RILI, _sN: _rILI, _smi: None}),), +) + +CANCEL_RESERVED_INSTANCES_LISTING_OUTPUT: StaticSchema = ( + 18, + n0, + _CRILO, + {_sSI: _cCRILRo, _smit: None}, + (_RILe,), + ((lambda: RESERVED_INSTANCES_LISTING_LIST, {_aQN: _RILS, _sN: _rILS}),), +) + +CANCEL_RESERVED_INSTANCES_LISTING: StaticOperationSchema = ( + 23, + n0, + _CRIL, + 0, + CANCEL_RESERVED_INSTANCES_LISTING_INPUT, + CANCEL_RESERVED_INSTANCES_LISTING_OUTPUT, + (), +) + +LISTING_STATE: StaticSchema = ( + 14, + n0, + _LSi, + 0, + (_av, _sol, _can, _p), + ((-1, {_sV: _av}), (-1, {_sV: _sol}), (-1, {_sV: _can}), (-1, {_sV: _p})), +) + +INSTANCE_COUNT: StaticSchema = ( + 18, + n0, + _IC, + 0, + (_IC, _St), + ( + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (LISTING_STATE, {_aQN: _St, _sN: _st}), + ), +) + +INSTANCE_COUNT_LIST: StaticSchema = ( + 16, + n0, + _ICL, + 0, + (_me,), + ((INSTANCE_COUNT, {_sN: _i}),), +) + +CURRENCY_CODE_VALUES: StaticSchema = (14, n0, _CCV, 0, (_USD,), ((-1, {_sV: _USD}),)) + +LONG: StaticSchema = (8, n0, _Lo, 0) + +PRICE_SCHEDULE: StaticSchema = ( + 18, + n0, + _PSri, + 0, + (_Act, _CC, _Pric, _Te), + ( + (lambda: schemas.BOOLEAN, {_aQN: _Act, _sN: _act}), + (CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.DOUBLE, {_aQN: _Pric, _sN: _pric}), + (LONG, {_aQN: _Te, _sN: _te}), + ), +) + +PRICE_SCHEDULE_LIST: StaticSchema = ( + 16, + n0, + _PSL, + 0, + (_me,), + ((PRICE_SCHEDULE, {_sN: _i}),), +) + +LISTING_STATUS: StaticSchema = ( + 14, + n0, + _LSis, + 0, + (_act, _p, _can, _cl), + ((-1, {_sV: _act}), (-1, {_sV: _p}), (-1, {_sV: _can}), (-1, {_sV: _cl})), +) + +RESERVED_INSTANCES_LISTING: StaticSchema = ( + 18, + n0, + _RIL, + 0, + (_CTl, _CD, _ICn, _PSric, _RIIes, _RILI, _Sta, _SMt, _Tag, _UD), + ( + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: schemas.DATE_TIME, {_aQN: _CD, _sN: _cD}), + (INSTANCE_COUNT_LIST, {_aQN: _ICn, _sN: _iCn}), + (PRICE_SCHEDULE_LIST, {_aQN: _PSric, _sN: _pSri}), + (lambda: schemas.STRING, {_aQN: _RIIes, _sN: _rII}), + (lambda: schemas.STRING, {_aQN: _RILI, _sN: _rILI}), + (LISTING_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.DATE_TIME, {_aQN: _UD, _sN: _uD}), + ), +) + +RESERVED_INSTANCES_LISTING_LIST: StaticSchema = ( + 16, + n0, + _RILL, + 0, + (_me,), + ((RESERVED_INSTANCES_LISTING, {_sN: _i}),), +) + +SPOT_FLEET_REQUEST_ID_LIST: StaticSchema = ( + 16, + n0, + _SFRIL, + 0, + (_me,), + ((lambda: schemas.SPOT_FLEET_REQUEST_ID, {_sN: _i}),), +) + +CANCEL_SPOT_FLEET_REQUESTS_INPUT: StaticSchema = ( + 18, + n0, + _CSFRI, + {_sSI: _cCSFRR, _sm: None}, + (_DR, _SFRIp, _TIe), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (SPOT_FLEET_REQUEST_ID_LIST, {_aQN: _SFRI, _sN: _sFRI, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _TIe, _sN: _tIe, _smi: None}), + ), +) + +CANCEL_SPOT_FLEET_REQUESTS_OUTPUT: StaticSchema = ( + 18, + n0, + _CSFRO, + {_sSI: _cCSFRRo, _smit: None}, + (_SFR, _UFR), + ( + (lambda: CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_SET, {_aQN: _SFRS, _sN: _sFRS}), + ( + lambda: schemas.CANCEL_SPOT_FLEET_REQUESTS_ERROR_SET, + {_aQN: _UFRS, _sN: _uFRS}, + ), + ), +) + +CANCEL_SPOT_FLEET_REQUESTS: StaticOperationSchema = ( + 23, + n0, + _CSFR, + 0, + CANCEL_SPOT_FLEET_REQUESTS_INPUT, + CANCEL_SPOT_FLEET_REQUESTS_OUTPUT, + (), +) + +BATCH_STATE: StaticSchema = ( + 14, + n0, + _BS, + 0, + (_SUBMITTED, _ACTIVE, _CANCELLED, _FAILED, _CR_, _CTI_, _MODIFYING), + ( + (-1, {_sV: _subm}), + (-1, {_sV: _act}), + (-1, {_sV: _can}), + (-1, {_sV: _fa}), + (-1, {_sV: _cr__}), + (-1, {_sV: _ct}), + (-1, {_sV: _mo}), + ), +) + +CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_ITEM: StaticSchema = ( + 18, + n0, + _CSFRSI, + 0, + (_CSFRS, _PSFRS, _SFRI), + ( + (BATCH_STATE, {_aQN: _CSFRS, _sN: _cSFRS}), + (BATCH_STATE, {_aQN: _PSFRS, _sN: _pSFRS}), + (lambda: schemas.STRING, {_aQN: _SFRI, _sN: _sFRI}), + ), +) + +CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_SET: StaticSchema = ( + 16, + n0, + _CSFRSS, + 0, + (_me,), + ((CANCEL_SPOT_FLEET_REQUESTS_SUCCESS_ITEM, {_sN: _i}),), +) + +SSE_TYPE: StaticSchema = ( + 14, + n0, + _SSET, + 0, + (_se, _sk, _no), + ((-1, {_sV: _se_}), (-1, {_sV: _sk_}), (-1, {_sV: _no})), +) + +VOLUME_STATE: StaticSchema = ( + 14, + n0, + _VS, + 0, + (_cre, _av, _iu, _de, _del, _er), + ( + (-1, {_sV: _cre}), + (-1, {_sV: _av}), + (-1, {_sV: _iu_}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + (-1, {_sV: _er}), + ), +) + +CAPACITY_RESERVATION_INSTANCE_PLATFORM: StaticSchema = ( + 14, + n0, + _CRIP, + 0, + ( + _LU, + _RHEL, + _SL_, + _WINDOWS, + _WWSS, + _WWSSE, + _WWSSS, + _WWSSW, + _LWSSS, + _LWSSW, + _LWSSE, + _RWSSS, + _RWSSE, + _RWSSW, + _RWH, + _RWHASSS, + _RWHASSE, + _UPL, + ), + ( + (-1, {_sV: _LUNIX}), + (-1, {_sV: _RHEL_}), + (-1, {_sV: _SL__}), + (-1, {_sV: _W}), + (-1, {_sV: _WwSS}), + (-1, {_sV: _WwSSE}), + (-1, {_sV: _WwSSS}), + (-1, {_sV: _WwSSW}), + (-1, {_sV: _LwSSS}), + (-1, {_sV: _LwSSW}), + (-1, {_sV: _LwSSE}), + (-1, {_sV: _RwSSS}), + (-1, {_sV: _RwSSE}), + (-1, {_sV: _RwSSW}), + (-1, {_sV: _RwH}), + (-1, {_sV: _RwHaSSS}), + (-1, {_sV: _RwHaSSE}), + (-1, {_sV: _UP_}), + ), +) + +BOXED_LONG: StaticSchema = (8, n0, _BL, 0) + +SNAPSHOT_LOCATION_ENUM: StaticSchema = ( + 14, + n0, + _SLE, + 0, + (_REGIONAL, _LOCAL), + ((-1, {_sV: _regi}), (-1, {_sV: _lo})), +) + +SNAPSHOT_STATE: StaticSchema = ( + 14, + n0, + _SSn, + 0, + (_p, _compl, _er, _rec, _reco), + ( + (-1, {_sV: _p}), + (-1, {_sV: _compl}), + (-1, {_sV: _er}), + (-1, {_sV: _rec}), + (-1, {_sV: _reco}), + ), +) + +VOLUME_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _VISL, + 0, + (_me,), + ((VOLUME_ID, {_sN: _VIo}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_40.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_40.py new file mode 100644 index 000000000..5adb124d8 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_40.py @@ -0,0 +1,1517 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_cb_ = "capacity-block" +_Ke = "Key" +_ke = "key" +_Va = "Value" +_va = "value" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_p = "pending" +_smit = "smithy.api#output" +_RI = "ReservationId" +_St = "State" +_st = "state" +_fa = "failed" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_act = "active" +_ex = "expired" +_Id = "Id" +_id = "id" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_De = "Destination" +_des = "destination" +_Sou = "Source" +_so = "source" +_MB = "ManagedBy" +_mB = "managedBy" +_IT = "InstanceType" +_iT = "instanceType" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_PIo = "PoolId" +_def = "default" +_IF = "InstanceFamily" +_RR = "ResourceRegion" +_rR = "resourceRegion" +_FAILED = "FAILED" +_CAe = "CertificateArn" +_CSBN = "CertificateS3BucketName" +_cSBN = "certificateS3BucketName" +_CSOK = "CertificateS3ObjectKey" +_cSOK = "certificateS3ObjectKey" +_EKKI = "EncryptionKmsKeyId" +_eKKI = "encryptionKmsKeyId" +_Ti = "Timestamp" +_ti = "timestamp" +_ACTIVE = "ACTIVE" +_WK = "WatermarkKey" +_wK = "watermarkKey" +_ARs = "AssociatedResource" +_aRs = "associatedResource" +_ST = "StartTime" +_EXPIRED = "EXPIRED" +_CANCELLED = "CANCELLED" +_can = "cancelled" +_unl = "unlimited" +_li = "limited" +_ded = "dedicated" +_IPns = "InstancePlatform" +_Ten = "Tenancy" +_ED = "EndDate" +_SDt = "StartDate" +_sDt = "startDate" +_eD = "endDate" +_DEFAULT = "DEFAULT" +_CB_ = "CAPACITY_BLOCK" +_sch = "scheduled" +_pp___ = "payment-pending" +_pf_____ = "payment-failed" +_dela = "delayed" +_uns = "unsupported" +_iPns = "instancePlatform" +_ten = "tenancy" +_RTes = "ReservationType" +_rTe = "reservationType" +_RSes = "ReservationState" +_rSes = "reservationState" +_Val = "Values" +_iF = "instanceFamily" +_TK = "TagKey" +_AIcco = "AccountId" +_eq = "equals" +_PENDING = "PENDING" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_Met = "Metric" +_met = "metric" +_Stati = "Statistic" +_stati = "statistic" +_Per = "Period" +_peri = "period" +_PP = "PAYMENT_PENDING" +_PF___ = "PAYMENT_FAILED" +_ETnd = "EndTime" +_SCHEDULED = "SCHEDULED" +_DELAYED = "DELAYED" +_UNSUPPORTED = "UNSUPPORTED" +_RETIRED = "RETIRED" +_reti = "retired" +_insta = "instances" +_SIR = "SourceImageRegion" +_sIR = "sourceImageRegion" +_IWm = "ImageWatermarks" +_IWS = "ImageWatermarkSet" +_iWS = "imageWatermarkSet" +_aIc = "accountId" +_rIes = "reservationId" +_azi_ = "availability-zone-id" +_DEDICATED = "DEDICATED" +_CMSa = "CapacityManagerStatus" +_cMSa = "capacityManagerStatus" +_OArg = "OrganizationsAccess" +_oArg = "organizationsAccess" +_GAISI = "GetAllowedImagesSettingsInput" +_cGAISR = "com.amazonaws.ec2#GetAllowedImagesSettingsRequest" +_MDSCV = "MaximumDaysSinceCreatedValue" +_CDC = "CreationDateCondition" +_MDSC = "MaximumDaysSinceCreated" +_mDSC = "maximumDaysSinceCreated" +_MDSDV = "MaximumDaysSinceDeprecatedValue" +_DTC = "DeprecationTimeCondition" +_MDSD = "MaximumDaysSinceDeprecated" +_mDSD = "maximumDaysSinceDeprecated" +_INm = "ImageName" +_INLm = "ImageNameList" +_IPm = "ImageProvider" +_IPLm = "ImageProviderList" +_IWFR = "ImageWatermarkFilterResponse" +_MDSSIC = "MaximumDaysSinceSourceImageCreated" +_mDSSIC = "maximumDaysSinceSourceImageCreated" +_MDSWC = "MaximumDaysSinceWatermarkCreated" +_mDSWC = "maximumDaysSinceWatermarkCreated" +_IWFRL = "ImageWatermarkFilterResponseList" +_MPC = "MarketplaceProductCode" +_MPCL = "MarketplaceProductCodeList" +_MDSFAV = "MaxDaysSinceFixAvailableValue" +_MDSLFSV = "MaxDaysSinceLastFindingScanValue" +_SRCc = "ScanResultCondition" +_MDSLFS = "MaxDaysSinceLastFindingScan" +_mDSLFS = "maxDaysSinceLastFindingScan" +_MSL = "MaximumSeverityLabel" +_mSL = "maximumSeverityLabel" +_MDSIFA = "MaxDaysSinceInformationalFixAvailable" +_mDSIFA = "maxDaysSinceInformationalFixAvailable" +_MDSLFA = "MaxDaysSinceLowFixAvailable" +_mDSLFA = "maxDaysSinceLowFixAvailable" +_MDSMFA = "MaxDaysSinceMediumFixAvailable" +_mDSMFA = "maxDaysSinceMediumFixAvailable" +_MDSHFA = "MaxDaysSinceHighFixAvailable" +_mDSHFA = "maxDaysSinceHighFixAvailable" +_MDSCFA = "MaxDaysSinceCriticalFixAvailable" +_mDSCFA = "maxDaysSinceCriticalFixAvailable" +_ICm = "ImageCriterion" +_IPma = "ImageProviders" +_IPSm = "ImageProviderSet" +_iPSm = "imageProviderSet" +_MPCa = "MarketplaceProductCodes" +_MPCS = "MarketplaceProductCodeSet" +_mPCS = "marketplaceProductCodeSet" +_INma = "ImageNames" +_INS = "ImageNameSet" +_iNS = "imageNameSet" +_dTC = "deprecationTimeCondition" +_cDC = "creationDateCondition" +_sRC = "scanResultCondition" +_ICLm = "ImageCriterionList" +_GAISO = "GetAllowedImagesSettingsOutput" +_cGAISRo = "com.amazonaws.ec2#GetAllowedImagesSettingsResult" +_ICma = "ImageCriteria" +_ICSm = "ImageCriterionSet" +_iCS = "imageCriterionSet" +_GAIS = "GetAllowedImagesSettings" +_GAECIRI = "GetAssociatedEnclaveCertificateIamRolesInput" +_cGAECIRR = "com.amazonaws.ec2#GetAssociatedEnclaveCertificateIamRolesRequest" +_ARss = "AssociatedRole" +_ARAss = "AssociatedRoleArn" +_aRAss = "associatedRoleArn" +_ARL = "AssociatedRolesList" +_GAECIRO = "GetAssociatedEnclaveCertificateIamRolesOutput" +_cGAECIRRo = "com.amazonaws.ec2#GetAssociatedEnclaveCertificateIamRolesResult" +_ARsso = "AssociatedRoles" +_ARSs = "AssociatedRoleSet" +_aRSs = "associatedRoleSet" +_GAECIR = "GetAssociatedEnclaveCertificateIamRoles" +_GAIPCI = "GetAssociatedIpv6PoolCidrsInput" +_cGAIPCR = "com.amazonaws.ec2#GetAssociatedIpv6PoolCidrsRequest" +_ICAp = "Ipv6CidrAssociation" +_ICp = "Ipv6Cidr" +_iCp = "ipv6Cidr" +_ICAS = "Ipv6CidrAssociationSet" +_GAIPCO = "GetAssociatedIpv6PoolCidrsOutput" +_cGAIPCRo = "com.amazonaws.ec2#GetAssociatedIpv6PoolCidrsResult" +_ICApv = "Ipv6CidrAssociations" +_iCAS = "ipv6CidrAssociationSet" +_GAIPC = "GetAssociatedIpv6PoolCidrs" +_DQ = "DataQuery" +_DQa = "DataQueries" +_GANPDI = "GetAwsNetworkPerformanceDataInput" +_cGANPDR = "com.amazonaws.ec2#GetAwsNetworkPerformanceDataRequest" +_MPe = "MetricPoint" +_MPet = "MetricPoints" +_DRa = "DataResponse" +_MPSe = "MetricPointSet" +_mPSe = "metricPointSet" +_DRat = "DataResponses" +_GANPDO = "GetAwsNetworkPerformanceDataOutput" +_cGANPDRo = "com.amazonaws.ec2#GetAwsNetworkPerformanceDataResult" +_DRSat = "DataResponseSet" +_dRSa = "dataResponseSet" +_GANPD = "GetAwsNetworkPerformanceData" +_GCMAI = "GetCapacityManagerAttributesInput" +_cGCMAR = "com.amazonaws.ec2#GetCapacityManagerAttributesRequest" +_ISng = "IngestionStatus" +_IIIP = "INITIAL_INGESTION_IN_PROGRESS" +_iiip = "initial-ingestion-in-progress" +_IC___ = "INGESTION_COMPLETE" +_ic___ = "ingestion-complete" +_IF_ = "INGESTION_FAILED" +_if = "ingestion-failed" +_GCMAO = "GetCapacityManagerAttributesOutput" +_cGCMARo = "com.amazonaws.ec2#GetCapacityManagerAttributesResult" +_DEC = "DataExportCount" +_dEC = "dataExportCount" +_iSng = "ingestionStatus" +_ISM = "IngestionStatusMessage" +_iSM = "ingestionStatusMessage" +_EDTa = "EarliestDatapointTimestamp" +_eDTa = "earliestDatapointTimestamp" +_LDTat = "LatestDatapointTimestamp" +_lDTa = "latestDatapointTimestamp" +_GCMA = "GetCapacityManagerAttributes" +_Com = "Comparison" +_EQUALS = "EQUALS" +_IN_ = "IN" +_in___ = "in" +_FBD = "FilterByDimension" +_RR_ = "RESOURCE_REGION" +_rr = "resource-region" +_AZI_ = "AVAILABILITY_ZONE_ID" +_AI_ = "ACCOUNT_ID" +_ai = "account-id" +_AN_ = "ACCOUNT_NAME" +_an = "account-name" +_IF__ = "INSTANCE_FAMILY" +_if_ = "instance-family" +_IT_ = "INSTANCE_TYPE" +_it = "instance-type" +_IP__ = "INSTANCE_PLATFORM" +_ip___________ = "instance-platform" +_RA_ = "RESERVATION_ARN" +_ra_ = "reservation-arn" +_RI_ = "RESERVATION_ID" +_ri__ = "reservation-id" +_RT_ = "RESERVATION_TYPE" +_rt__ = "reservation-type" +_RCT_ = "RESERVATION_CREATE_TIMESTAMP" +_rct = "reservation-create-timestamp" +_RST = "RESERVATION_START_TIMESTAMP" +_rst = "reservation-start-timestamp" +_RET_ = "RESERVATION_END_TIMESTAMP" +_ret_ = "reservation-end-timestamp" +_REDT = "RESERVATION_END_DATE_TYPE" +_redt = "reservation-end-date-type" +_TENANCY = "TENANCY" +_RS_ = "RESERVATION_STATE" +_rs__ = "reservation-state" +_RIMC = "RESERVATION_INSTANCE_MATCH_CRITERIA" +_rimc = "reservation-instance-match-criteria" +_RUFO = "RESERVATION_UNUSED_FINANCIAL_OWNER" +_rufo = "reservation-unused-financial-owner" +_CVo = "ConditionValue" +_CVL = "ConditionValueList" +_DCim = "DimensionCondition" +_Dim = "Dimension" +_CMC = "CapacityManagerCondition" +_CMCS = "CapacityManagerConditionSet" +_GB = "GroupBy" +_GBS = "GroupBySet" +_RTCHV = "RESERVATION_TOTAL_CAPACITY_HRS_VCPU" +_rtchv = "reservation-total-capacity-hrs-vcpu" +_RTCHI = "RESERVATION_TOTAL_CAPACITY_HRS_INST" +_rtchi = "reservation-total-capacity-hrs-inst" +_RMSV = "RESERVATION_MAX_SIZE_VCPU" +_rmsv = "reservation-max-size-vcpu" +_RMSI = "RESERVATION_MAX_SIZE_INST" +_rmsi = "reservation-max-size-inst" +_RMSV_ = "RESERVATION_MIN_SIZE_VCPU" +_rmsv_ = "reservation-min-size-vcpu" +_RMSI_ = "RESERVATION_MIN_SIZE_INST" +_rmsi_ = "reservation-min-size-inst" +_RUTCHV = "RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_VCPU" +_rutchv = "reservation-unused-total-capacity-hrs-vcpu" +_RUTCHI = "RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_INST" +_rutchi = "reservation-unused-total-capacity-hrs-inst" +_RUTEC = "RESERVATION_UNUSED_TOTAL_ESTIMATED_COST" +_rutec = "reservation-unused-total-estimated-cost" +_RMUSV = "RESERVATION_MAX_UNUSED_SIZE_VCPU" +_rmusv = "reservation-max-unused-size-vcpu" +_RMUSI = "RESERVATION_MAX_UNUSED_SIZE_INST" +_rmusi = "reservation-max-unused-size-inst" +_RMUSV_ = "RESERVATION_MIN_UNUSED_SIZE_VCPU" +_rmusv_ = "reservation-min-unused-size-vcpu" +_RMUSI_ = "RESERVATION_MIN_UNUSED_SIZE_INST" +_rmusi_ = "reservation-min-unused-size-inst" +_RMU = "RESERVATION_MAX_UTILIZATION" +_rmu = "reservation-max-utilization" +_RMU_ = "RESERVATION_MIN_UTILIZATION" +_rmu_ = "reservation-min-utilization" +_RAUV = "RESERVATION_AVG_UTILIZATION_VCPU" +_rauv = "reservation-avg-utilization-vcpu" +_RAUI = "RESERVATION_AVG_UTILIZATION_INST" +_raui = "reservation-avg-utilization-inst" +_RTC = "RESERVATION_TOTAL_COUNT" +_rtc = "reservation-total-count" +_RTEC = "RESERVATION_TOTAL_ESTIMATED_COST" +_rtec = "reservation-total-estimated-cost" +_RAFSV = "RESERVATION_AVG_FUTURE_SIZE_VCPU" +_rafsv = "reservation-avg-future-size-vcpu" +_RAFSI = "RESERVATION_AVG_FUTURE_SIZE_INST" +_rafsi = "reservation-avg-future-size-inst" +_RMFSV = "RESERVATION_MIN_FUTURE_SIZE_VCPU" +_rmfsv = "reservation-min-future-size-vcpu" +_RMFSI = "RESERVATION_MIN_FUTURE_SIZE_INST" +_rmfsi = "reservation-min-future-size-inst" +_RMFSV_ = "RESERVATION_MAX_FUTURE_SIZE_VCPU" +_rmfsv_ = "reservation-max-future-size-vcpu" +_RMFSI_ = "RESERVATION_MAX_FUTURE_SIZE_INST" +_rmfsi_ = "reservation-max-future-size-inst" +_RACSV = "RESERVATION_AVG_COMMITTED_SIZE_VCPU" +_racsv = "reservation-avg-committed-size-vcpu" +_RACSI = "RESERVATION_AVG_COMMITTED_SIZE_INST" +_racsi = "reservation-avg-committed-size-inst" +_RMCSV = "RESERVATION_MAX_COMMITTED_SIZE_VCPU" +_rmcsv = "reservation-max-committed-size-vcpu" +_RMCSI = "RESERVATION_MAX_COMMITTED_SIZE_INST" +_rmcsi = "reservation-max-committed-size-inst" +_RMCSV_ = "RESERVATION_MIN_COMMITTED_SIZE_VCPU" +_rmcsv_ = "reservation-min-committed-size-vcpu" +_RMCSI_ = "RESERVATION_MIN_COMMITTED_SIZE_INST" +_rmcsi_ = "reservation-min-committed-size-inst" +_RTUHV = "RESERVED_TOTAL_USAGE_HRS_VCPU" +_rtuhv = "reserved-total-usage-hrs-vcpu" +_RTUHI = "RESERVED_TOTAL_USAGE_HRS_INST" +_rtuhi = "reserved-total-usage-hrs-inst" +_RTEC_ = "RESERVED_TOTAL_ESTIMATED_COST" +_rtec_ = "reserved-total-estimated-cost" +_UTUHV = "UNRESERVED_TOTAL_USAGE_HRS_VCPU" +_utuhv = "unreserved-total-usage-hrs-vcpu" +_UTUHI = "UNRESERVED_TOTAL_USAGE_HRS_INST" +_utuhi = "unreserved-total-usage-hrs-inst" +_UTEC = "UNRESERVED_TOTAL_ESTIMATED_COST" +_utec = "unreserved-total-estimated-cost" +_STUHV = "SPOT_TOTAL_USAGE_HRS_VCPU" +_stuhv = "spot-total-usage-hrs-vcpu" +_STUHI = "SPOT_TOTAL_USAGE_HRS_INST" +_stuhi = "spot-total-usage-hrs-inst" +_STEC = "SPOT_TOTAL_ESTIMATED_COST" +_stec = "spot-total-estimated-cost" +_SARTBII = "SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST" +_sartbii = "spot-avg-run-time-before-interruption-inst" +_SMRTBII = "SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST" +_smrtbii = "spot-max-run-time-before-interruption-inst" +_SMRTBII_ = "SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST" +_smrtbii_ = "spot-min-run-time-before-interruption-inst" +_STII = "SPOT_TOTAL_INTERRUPTIONS_INST" +_stii = "spot-total-interruptions-inst" +_STIV = "SPOT_TOTAL_INTERRUPTIONS_VCPU" +_stiv = "spot-total-interruptions-vcpu" +_STCI = "SPOT_TOTAL_COUNT_INST" +_stci = "spot-total-count-inst" +_STCV = "SPOT_TOTAL_COUNT_VCPU" +_stcv = "spot-total-count-vcpu" +_SIRI_ = "SPOT_INTERRUPTION_RATE_INST" +_siri = "spot-interruption-rate-inst" +_SIRV = "SPOT_INTERRUPTION_RATE_VCPU" +_sirv = "spot-interruption-rate-vcpu" +_CTRV = "CAPACITY_TOTAL_REQUESTED_VCPU" +_ctrv = "capacity-total-requested-vcpu" +_CTFV = "CAPACITY_TOTAL_FULFILLED_VCPU" +_ctfv = "capacity-total-fulfilled-vcpu" +_SCTRV = "SPOT_CAPACITY_TOTAL_REQUESTED_VCPU" +_sctrv = "spot-capacity-total-requested-vcpu" +_SCTFV = "SPOT_CAPACITY_TOTAL_FULFILLED_VCPU" +_sctfv = "spot-capacity-total-fulfilled-vcpu" +_CRFR = "CAPACITY_REQUEST_FULFILLMENT_RATE" +_crfr = "capacity-request-fulfillment-rate" +_AIACPRV = "AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU" +_aiacprv = "avg-inst-az-count-per-requested-vcpu" +_IAFR = "INST_AZ_FULFILLMENT_RATE" +_iafr = "inst-az-fulfillment-rate" +_SCRFR = "SPOT_CAPACITY_REQUEST_FULFILLMENT_RATE" +_scrfr = "spot-capacity-request-fulfillment-rate" +_SAIACPRV = "SPOT_AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU" +_saiacprv = "spot-avg-inst-az-count-per-requested-vcpu" +_SIAFR = "SPOT_INST_AZ_FULFILLMENT_RATE" +_siafr = "spot-inst-az-fulfillment-rate" +_MSet = "MetricSet" +_GCMMDI = "GetCapacityManagerMetricDataInput" +_cGCMMDR = "com.amazonaws.ec2#GetCapacityManagerMetricDataRequest" +_MN = "MetricNames" +_MNe = "MetricName" +_FB = "FilterBy" +_REDTe = "ReservationEndDateType" +_LIMITED = "LIMITED" +_UNLIMITED = "UNLIMITED" +_ODCR_ = "ODCR" +_odc = "odcr" +_CMTD = "CapacityManagerTagDimension" +_CMTDS = "CapacityManagerTagDimensionSet" +_CTap = "CapacityTenancy" +_CMD = "CapacityManagerDimension" +_ANcc = "AccountName" +_aNc = "accountName" +_RAese = "ReservationArn" +_rAese = "reservationArn" +_RCTe = "ReservationCreateTimestamp" +_rCTe = "reservationCreateTimestamp" +_RSTe = "ReservationStartTimestamp" +_rST = "reservationStartTimestamp" +_RETe = "ReservationEndTimestamp" +_rETe = "reservationEndTimestamp" +_rEDT = "reservationEndDateType" +_RIMCe = "ReservationInstanceMatchCriteria" +_rIMC = "reservationInstanceMatchCriteria" +_RUFOe = "ReservationUnusedFinancialOwner" +_rUFO = "reservationUnusedFinancialOwner" +_MVe = "MetricValue" +_MVS = "MetricValueSet" +_MDR = "MetricDataResult" +_dim = "dimension" +_MVet = "MetricValues" +_mVS = "metricValueSet" +_MDRS = "MetricDataResultSet" +_GCMMDO = "GetCapacityManagerMetricDataOutput" +_cGCMMDRo = "com.amazonaws.ec2#GetCapacityManagerMetricDataResult" +_MDRe = "MetricDataResults" +_mDRS = "metricDataResultSet" +_GCMMD = "GetCapacityManagerMetricData" +_GCMMDIe = "GetCapacityManagerMetricDimensionsInput" +_cGCMMDRom = "com.amazonaws.ec2#GetCapacityManagerMetricDimensionsRequest" +_MDRSe = "MetricDimensionResultSet" +_GCMMDOe = "GetCapacityManagerMetricDimensionsOutput" +_cGCMMDRoma = "com.amazonaws.ec2#GetCapacityManagerMetricDimensionsResult" +_MDRet = "MetricDimensionResults" +_mDRSe = "metricDimensionResultSet" +_GCMMDe = "GetCapacityManagerMetricDimensions" +_GCMMTKRMR = "GetCapacityManagerMonitoredTagKeysRequestMaxResults" +_GCMMTKI = "GetCapacityManagerMonitoredTagKeysInput" +_cGCMMTKR = "com.amazonaws.ec2#GetCapacityManagerMonitoredTagKeysRequest" +_CMMTKS = "CapacityManagerMonitoredTagKeyStatus" +_ACTIVATING = "ACTIVATING" +_acti = "activating" +_ACTIVATED = "ACTIVATED" +_activ = "activated" +_DEACTIVATING = "DEACTIVATING" +_deac = "deactivating" +_SUSPENDED = "SUSPENDED" +_sus = "suspended" +_CMMTK = "CapacityManagerMonitoredTagKey" +_tK = "tagKey" +_CMP = "CapacityManagerProvided" +_cMP = "capacityManagerProvided" +_CMMTKL = "CapacityManagerMonitoredTagKeyList" +_GCMMTKO = "GetCapacityManagerMonitoredTagKeysOutput" +_cGCMMTKRo = "com.amazonaws.ec2#GetCapacityManagerMonitoredTagKeysResult" +_CMTK = "CapacityManagerTagKeys" +_CMTKS = "CapacityManagerTagKeySet" +_cMTKS = "capacityManagerTagKeySet" +_GCMMTK = "GetCapacityManagerMonitoredTagKeys" +_CAapa = "CapacityAmount" +_CAZIL = "CapacityAvailabilityZoneIdList" +_CU = "CapacityUnit" +_VCPUS = "VCPUS" +_vcpu = "vcpus" +_INSTANCES = "INSTANCES" + +RESERVATION_STATE: StaticSchema = ( + 14, + n0, + _RSes, + 0, + ( + _ACTIVE, + _EXPIRED, + _CANCELLED, + _SCHEDULED, + _PENDING, + _FAILED, + _DELAYED, + _UNSUPPORTED, + _PP, + _PF___, + _RETIRED, + ), + ( + (-1, {_sV: _act}), + (-1, {_sV: _ex}), + (-1, {_sV: _can}), + (-1, {_sV: _sch}), + (-1, {_sV: _p}), + (-1, {_sV: _fa}), + (-1, {_sV: _dela}), + (-1, {_sV: _uns}), + (-1, {_sV: _pp___}), + (-1, {_sV: _pf_____}), + (-1, {_sV: _reti}), + ), +) + +GET_ALLOWED_IMAGES_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _GAISI, + {_sSI: _cGAISR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_ALLOWED_IMAGES_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _GAISO, + {_sSI: _cGAISRo, _smit: None}, + (_St, _ICma, _MB), + ( + (lambda: schemas.STRING, {_aQN: _St, _sN: _st}), + (lambda: IMAGE_CRITERION_LIST, {_aQN: _ICSm, _sN: _iCS}), + (lambda: schemas.MANAGED_BY, {_aQN: _MB, _sN: _mB}), + ), +) + +GET_ALLOWED_IMAGES_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _GAIS, + 0, + GET_ALLOWED_IMAGES_SETTINGS_INPUT, + GET_ALLOWED_IMAGES_SETTINGS_OUTPUT, + (), +) + +MAXIMUM_DAYS_SINCE_CREATED_VALUE: StaticSchema = (7, n0, _MDSCV, 0) + +CREATION_DATE_CONDITION: StaticSchema = ( + 18, + n0, + _CDC, + 0, + (_MDSC,), + ((MAXIMUM_DAYS_SINCE_CREATED_VALUE, {_aQN: _MDSC, _sN: _mDSC}),), +) + +MAXIMUM_DAYS_SINCE_DEPRECATED_VALUE: StaticSchema = (7, n0, _MDSDV, 0) + +DEPRECATION_TIME_CONDITION: StaticSchema = ( + 18, + n0, + _DTC, + 0, + (_MDSD,), + ((MAXIMUM_DAYS_SINCE_DEPRECATED_VALUE, {_aQN: _MDSD, _sN: _mDSD}),), +) + +IMAGE_NAME: StaticSchema = (3, n0, _INm, 0) + +IMAGE_NAME_LIST: StaticSchema = (16, n0, _INLm, 0, (_me,), ((IMAGE_NAME, {_sN: _i}),)) + +IMAGE_PROVIDER: StaticSchema = (3, n0, _IPm, 0) + +IMAGE_PROVIDER_LIST: StaticSchema = ( + 16, + n0, + _IPLm, + 0, + (_me,), + ((IMAGE_PROVIDER, {_sN: _i}),), +) + +IMAGE_WATERMARK_FILTER_RESPONSE: StaticSchema = ( + 18, + n0, + _IWFR, + 0, + (_WK, _SIR, _MDSSIC, _MDSWC), + ( + (lambda: schemas.STRING, {_aQN: _WK, _sN: _wK}), + (lambda: schemas.STRING, {_aQN: _SIR, _sN: _sIR}), + (lambda: schemas.INTEGER, {_aQN: _MDSSIC, _sN: _mDSSIC}), + (lambda: schemas.INTEGER, {_aQN: _MDSWC, _sN: _mDSWC}), + ), +) + +IMAGE_WATERMARK_FILTER_RESPONSE_LIST: StaticSchema = ( + 16, + n0, + _IWFRL, + 0, + (_me,), + ((IMAGE_WATERMARK_FILTER_RESPONSE, {_sN: _i}),), +) + +MARKETPLACE_PRODUCT_CODE: StaticSchema = (3, n0, _MPC, 0) + +MARKETPLACE_PRODUCT_CODE_LIST: StaticSchema = ( + 16, + n0, + _MPCL, + 0, + (_me,), + ((MARKETPLACE_PRODUCT_CODE, {_sN: _i}),), +) + +MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE: StaticSchema = (7, n0, _MDSFAV, 0) + +MAX_DAYS_SINCE_LAST_FINDING_SCAN_VALUE: StaticSchema = (7, n0, _MDSLFSV, 0) + +SCAN_RESULT_CONDITION: StaticSchema = ( + 18, + n0, + _SRCc, + 0, + (_MDSLFS, _MSL, _MDSIFA, _MDSLFA, _MDSMFA, _MDSHFA, _MDSCFA), + ( + (MAX_DAYS_SINCE_LAST_FINDING_SCAN_VALUE, {_aQN: _MDSLFS, _sN: _mDSLFS}), + (lambda: schemas.SEVERITY_LABEL, {_aQN: _MSL, _sN: _mSL}), + (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSIFA, _sN: _mDSIFA}), + (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSLFA, _sN: _mDSLFA}), + (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSMFA, _sN: _mDSMFA}), + (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSHFA, _sN: _mDSHFA}), + (MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, {_aQN: _MDSCFA, _sN: _mDSCFA}), + ), +) + +IMAGE_CRITERION: StaticSchema = ( + 18, + n0, + _ICm, + 0, + (_IPma, _MPCa, _INma, _DTC, _CDC, _IWm, _SRCc), + ( + (IMAGE_PROVIDER_LIST, {_aQN: _IPSm, _sN: _iPSm}), + (MARKETPLACE_PRODUCT_CODE_LIST, {_aQN: _MPCS, _sN: _mPCS}), + (IMAGE_NAME_LIST, {_aQN: _INS, _sN: _iNS}), + (DEPRECATION_TIME_CONDITION, {_aQN: _DTC, _sN: _dTC}), + (CREATION_DATE_CONDITION, {_aQN: _CDC, _sN: _cDC}), + (IMAGE_WATERMARK_FILTER_RESPONSE_LIST, {_aQN: _IWS, _sN: _iWS}), + (SCAN_RESULT_CONDITION, {_aQN: _SRCc, _sN: _sRC}), + ), +) + +IMAGE_CRITERION_LIST: StaticSchema = ( + 16, + n0, + _ICLm, + 0, + (_me,), + ((IMAGE_CRITERION, {_sN: _i}),), +) + +GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_INPUT: StaticSchema = ( + 18, + n0, + _GAECIRI, + {_sSI: _cGAECIRR, _sm: None}, + (_CAe, _DR), + ((lambda: schemas.CERTIFICATE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_OUTPUT: StaticSchema = ( + 18, + n0, + _GAECIRO, + {_sSI: _cGAECIRRo, _smit: None}, + (_ARsso,), + ((lambda: ASSOCIATED_ROLES_LIST, {_aQN: _ARSs, _sN: _aRSs}),), +) + +GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES: StaticOperationSchema = ( + 23, + n0, + _GAECIR, + 0, + GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_INPUT, + GET_ASSOCIATED_ENCLAVE_CERTIFICATE_IAM_ROLES_OUTPUT, + (), +) + +ASSOCIATED_ROLE: StaticSchema = ( + 18, + n0, + _ARss, + 0, + (_ARAss, _CSBN, _CSOK, _EKKI), + ( + (lambda: schemas.RESOURCE_ARN, {_aQN: _ARAss, _sN: _aRAss}), + (lambda: schemas.STRING, {_aQN: _CSBN, _sN: _cSBN}), + (lambda: schemas.STRING, {_aQN: _CSOK, _sN: _cSOK}), + (lambda: schemas.STRING, {_aQN: _EKKI, _sN: _eKKI}), + ), +) + +ASSOCIATED_ROLES_LIST: StaticSchema = ( + 16, + n0, + _ARL, + 0, + (_me,), + ((ASSOCIATED_ROLE, {_sN: _i}),), +) + +GET_ASSOCIATED_IPV6_POOL_CIDRS_INPUT: StaticSchema = ( + 18, + n0, + _GAIPCI, + {_sSI: _cGAIPCR, _sm: None}, + (_PIo, _NTex, _MR, _DR), + ( + (lambda: schemas.IPV6_POOL_EC2_ID, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.IPV6_POOL_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_ASSOCIATED_IPV6_POOL_CIDRS_OUTPUT: StaticSchema = ( + 18, + n0, + _GAIPCO, + {_sSI: _cGAIPCRo, _smit: None}, + (_ICApv, _NTex), + ( + (lambda: IPV6_CIDR_ASSOCIATION_SET, {_aQN: _ICAS, _sN: _iCAS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_ASSOCIATED_IPV6_POOL_CIDRS: StaticOperationSchema = ( + 23, + n0, + _GAIPC, + 0, + GET_ASSOCIATED_IPV6_POOL_CIDRS_INPUT, + GET_ASSOCIATED_IPV6_POOL_CIDRS_OUTPUT, + (), +) + +IPV6_CIDR_ASSOCIATION: StaticSchema = ( + 18, + n0, + _ICAp, + 0, + (_ICp, _ARs), + ( + (lambda: schemas.STRING, {_aQN: _ICp, _sN: _iCp}), + (lambda: schemas.STRING, {_aQN: _ARs, _sN: _aRs}), + ), +) + +IPV6_CIDR_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _ICAS, + 0, + (_me,), + ((IPV6_CIDR_ASSOCIATION, {_sN: _i}),), +) + +DATA_QUERY: StaticSchema = ( + 18, + n0, + _DQ, + 0, + (_Id, _Sou, _De, _Met, _Stati, _Per), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.METRIC_TYPE, 0), + (lambda: schemas.STATISTIC_TYPE, 0), + (lambda: schemas.PERIOD_TYPE, 0), + ), +) + +DATA_QUERIES: StaticSchema = (16, n0, _DQa, 0, (_me,), ((DATA_QUERY, 0),)) + +GET_AWS_NETWORK_PERFORMANCE_DATA_INPUT: StaticSchema = ( + 18, + n0, + _GANPDI, + {_sSI: _cGANPDR, _sm: None}, + (_DQa, _ST, _ETnd, _MR, _NTex, _DR), + ( + (DATA_QUERIES, {_sN: _DQ}), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_AWS_NETWORK_PERFORMANCE_DATA_OUTPUT: StaticSchema = ( + 18, + n0, + _GANPDO, + {_sSI: _cGANPDRo, _smit: None}, + (_DRat, _NTex), + ( + (lambda: DATA_RESPONSES, {_aQN: _DRSat, _sN: _dRSa}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_AWS_NETWORK_PERFORMANCE_DATA: StaticOperationSchema = ( + 23, + n0, + _GANPD, + 0, + GET_AWS_NETWORK_PERFORMANCE_DATA_INPUT, + GET_AWS_NETWORK_PERFORMANCE_DATA_OUTPUT, + (), +) + +METRIC_POINT: StaticSchema = ( + 18, + n0, + _MPe, + 0, + (_SDt, _ED, _Va, _Sta), + ( + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), + (lambda: schemas.FLOAT, {_aQN: _Va, _sN: _va}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + ), +) + +METRIC_POINTS: StaticSchema = (16, n0, _MPet, 0, (_me,), ((METRIC_POINT, {_sN: _i}),)) + +DATA_RESPONSE: StaticSchema = ( + 18, + n0, + _DRa, + 0, + (_Id, _Sou, _De, _Met, _Stati, _Per, _MPet), + ( + (lambda: schemas.STRING, {_aQN: _Id, _sN: _id}), + (lambda: schemas.STRING, {_aQN: _Sou, _sN: _so}), + (lambda: schemas.STRING, {_aQN: _De, _sN: _des}), + (lambda: schemas.METRIC_TYPE, {_aQN: _Met, _sN: _met}), + (lambda: schemas.STATISTIC_TYPE, {_aQN: _Stati, _sN: _stati}), + (lambda: schemas.PERIOD_TYPE, {_aQN: _Per, _sN: _peri}), + (METRIC_POINTS, {_aQN: _MPSe, _sN: _mPSe}), + ), +) + +DATA_RESPONSES: StaticSchema = (16, n0, _DRat, 0, (_me,), ((DATA_RESPONSE, {_sN: _i}),)) + +GET_CAPACITY_MANAGER_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _GCMAI, + {_sSI: _cGCMAR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_CAPACITY_MANAGER_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _GCMAO, + {_sSI: _cGCMARo, _smit: None}, + (_CMSa, _OArg, _DEC, _ISng, _ISM, _EDTa, _LDTat), + ( + (lambda: schemas.CAPACITY_MANAGER_STATUS, {_aQN: _CMSa, _sN: _cMSa}), + (lambda: schemas.BOOLEAN, {_aQN: _OArg, _sN: _oArg}), + (lambda: schemas.INTEGER, {_aQN: _DEC, _sN: _dEC}), + (lambda: INGESTION_STATUS, {_aQN: _ISng, _sN: _iSng}), + (lambda: schemas.STRING, {_aQN: _ISM, _sN: _iSM}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _EDTa, _sN: _eDTa}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LDTat, _sN: _lDTa}), + ), +) + +GET_CAPACITY_MANAGER_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _GCMA, + 0, + GET_CAPACITY_MANAGER_ATTRIBUTES_INPUT, + GET_CAPACITY_MANAGER_ATTRIBUTES_OUTPUT, + (), +) + +INGESTION_STATUS: StaticSchema = ( + 14, + n0, + _ISng, + 0, + (_IIIP, _IC___, _IF_), + ((-1, {_sV: _iiip}), (-1, {_sV: _ic___}), (-1, {_sV: _if})), +) + +COMPARISON: StaticSchema = ( + 14, + n0, + _Com, + 0, + (_EQUALS, _IN_), + ((-1, {_sV: _eq}), (-1, {_sV: _in___})), +) + +FILTER_BY_DIMENSION: StaticSchema = ( + 14, + n0, + _FBD, + 0, + ( + _RR_, + _AZI_, + _AI_, + _AN_, + _IF__, + _IT_, + _IP__, + _RA_, + _RI_, + _RT_, + _RCT_, + _RST, + _RET_, + _REDT, + _TENANCY, + _RS_, + _RIMC, + _RUFO, + ), + ( + (-1, {_sV: _rr}), + (-1, {_sV: _azi_}), + (-1, {_sV: _ai}), + (-1, {_sV: _an}), + (-1, {_sV: _if_}), + (-1, {_sV: _it}), + (-1, {_sV: _ip___________}), + (-1, {_sV: _ra_}), + (-1, {_sV: _ri__}), + (-1, {_sV: _rt__}), + (-1, {_sV: _rct}), + (-1, {_sV: _rst}), + (-1, {_sV: _ret_}), + (-1, {_sV: _redt}), + (-1, {_sV: _ten}), + (-1, {_sV: _rs__}), + (-1, {_sV: _rimc}), + (-1, {_sV: _rufo}), + ), +) + +CONDITION_VALUE: StaticSchema = (3, n0, _CVo, 0) + +CONDITION_VALUE_LIST: StaticSchema = ( + 16, + n0, + _CVL, + 0, + (_me,), + ((CONDITION_VALUE, {_sN: _i}),), +) + +DIMENSION_CONDITION: StaticSchema = ( + 18, + n0, + _DCim, + 0, + (_Dim, _Com, _Val), + ((FILTER_BY_DIMENSION, 0), (COMPARISON, 0), (CONDITION_VALUE_LIST, {_sN: _Va})), +) + +CAPACITY_MANAGER_CONDITION: StaticSchema = ( + 18, + n0, + _CMC, + 0, + (_DCim,), + ((DIMENSION_CONDITION, 0),), +) + +CAPACITY_MANAGER_CONDITION_SET: StaticSchema = ( + 16, + n0, + _CMCS, + 0, + (_me,), + ((CAPACITY_MANAGER_CONDITION, {_sN: _i}),), +) + +GROUP_BY: StaticSchema = ( + 14, + n0, + _GB, + 0, + ( + _RR_, + _AZI_, + _AI_, + _AN_, + _IF__, + _IT_, + _IP__, + _RA_, + _RI_, + _RT_, + _RCT_, + _RST, + _RET_, + _REDT, + _TENANCY, + _RS_, + _RIMC, + _RUFO, + ), + ( + (-1, {_sV: _rr}), + (-1, {_sV: _azi_}), + (-1, {_sV: _ai}), + (-1, {_sV: _an}), + (-1, {_sV: _if_}), + (-1, {_sV: _it}), + (-1, {_sV: _ip___________}), + (-1, {_sV: _ra_}), + (-1, {_sV: _ri__}), + (-1, {_sV: _rt__}), + (-1, {_sV: _rct}), + (-1, {_sV: _rst}), + (-1, {_sV: _ret_}), + (-1, {_sV: _redt}), + (-1, {_sV: _ten}), + (-1, {_sV: _rs__}), + (-1, {_sV: _rimc}), + (-1, {_sV: _rufo}), + ), +) + +GROUP_BY_SET: StaticSchema = (16, n0, _GBS, 0, (_me,), ((GROUP_BY, {_sN: _i}),)) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +METRIC: StaticSchema = ( + 14, + n0, + _Met, + 0, + ( + _RTCHV, + _RTCHI, + _RMSV, + _RMSI, + _RMSV_, + _RMSI_, + _RUTCHV, + _RUTCHI, + _RUTEC, + _RMUSV, + _RMUSI, + _RMUSV_, + _RMUSI_, + _RMU, + _RMU_, + _RAUV, + _RAUI, + _RTC, + _RTEC, + _RAFSV, + _RAFSI, + _RMFSV, + _RMFSI, + _RMFSV_, + _RMFSI_, + _RACSV, + _RACSI, + _RMCSV, + _RMCSI, + _RMCSV_, + _RMCSI_, + _RTUHV, + _RTUHI, + _RTEC_, + _UTUHV, + _UTUHI, + _UTEC, + _STUHV, + _STUHI, + _STEC, + _SARTBII, + _SMRTBII, + _SMRTBII_, + _STII, + _STIV, + _STCI, + _STCV, + _SIRI_, + _SIRV, + _CTRV, + _CTFV, + _SCTRV, + _SCTFV, + _CRFR, + _AIACPRV, + _IAFR, + _SCRFR, + _SAIACPRV, + _SIAFR, + ), + ( + (-1, {_sV: _rtchv}), + (-1, {_sV: _rtchi}), + (-1, {_sV: _rmsv}), + (-1, {_sV: _rmsi}), + (-1, {_sV: _rmsv_}), + (-1, {_sV: _rmsi_}), + (-1, {_sV: _rutchv}), + (-1, {_sV: _rutchi}), + (-1, {_sV: _rutec}), + (-1, {_sV: _rmusv}), + (-1, {_sV: _rmusi}), + (-1, {_sV: _rmusv_}), + (-1, {_sV: _rmusi_}), + (-1, {_sV: _rmu}), + (-1, {_sV: _rmu_}), + (-1, {_sV: _rauv}), + (-1, {_sV: _raui}), + (-1, {_sV: _rtc}), + (-1, {_sV: _rtec}), + (-1, {_sV: _rafsv}), + (-1, {_sV: _rafsi}), + (-1, {_sV: _rmfsv}), + (-1, {_sV: _rmfsi}), + (-1, {_sV: _rmfsv_}), + (-1, {_sV: _rmfsi_}), + (-1, {_sV: _racsv}), + (-1, {_sV: _racsi}), + (-1, {_sV: _rmcsv}), + (-1, {_sV: _rmcsi}), + (-1, {_sV: _rmcsv_}), + (-1, {_sV: _rmcsi_}), + (-1, {_sV: _rtuhv}), + (-1, {_sV: _rtuhi}), + (-1, {_sV: _rtec_}), + (-1, {_sV: _utuhv}), + (-1, {_sV: _utuhi}), + (-1, {_sV: _utec}), + (-1, {_sV: _stuhv}), + (-1, {_sV: _stuhi}), + (-1, {_sV: _stec}), + (-1, {_sV: _sartbii}), + (-1, {_sV: _smrtbii}), + (-1, {_sV: _smrtbii_}), + (-1, {_sV: _stii}), + (-1, {_sV: _stiv}), + (-1, {_sV: _stci}), + (-1, {_sV: _stcv}), + (-1, {_sV: _siri}), + (-1, {_sV: _sirv}), + (-1, {_sV: _ctrv}), + (-1, {_sV: _ctfv}), + (-1, {_sV: _sctrv}), + (-1, {_sV: _sctfv}), + (-1, {_sV: _crfr}), + (-1, {_sV: _aiacprv}), + (-1, {_sV: _iafr}), + (-1, {_sV: _scrfr}), + (-1, {_sV: _saiacprv}), + (-1, {_sV: _siafr}), + ), +) + +METRIC_SET: StaticSchema = (16, n0, _MSet, 0, (_me,), ((METRIC, {_sN: _i}),)) + +PERIOD: StaticSchema = (7, n0, _Per, 0) + +GET_CAPACITY_MANAGER_METRIC_DATA_INPUT: StaticSchema = ( + 18, + n0, + _GCMMDI, + {_sSI: _cGCMMDR, _sm: None}, + (_MN, _ST, _ETnd, _Per, _GB, _FB, _MR, _NTex, _DR), + ( + (METRIC_SET, {_sN: _MNe, _smi: None}), + (lambda: schemas.MILLISECOND_DATE_TIME, 1), + (lambda: schemas.MILLISECOND_DATE_TIME, 1), + (PERIOD, 1), + (GROUP_BY_SET, {_sN: _GB}), + (CAPACITY_MANAGER_CONDITION_SET, 0), + (MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_CAPACITY_MANAGER_METRIC_DATA_OUTPUT: StaticSchema = ( + 18, + n0, + _GCMMDO, + {_sSI: _cGCMMDRo, _smit: None}, + (_MDRe, _NTex), + ( + (lambda: METRIC_DATA_RESULT_SET, {_aQN: _MDRS, _sN: _mDRS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_CAPACITY_MANAGER_METRIC_DATA: StaticOperationSchema = ( + 23, + n0, + _GCMMD, + 0, + GET_CAPACITY_MANAGER_METRIC_DATA_INPUT, + GET_CAPACITY_MANAGER_METRIC_DATA_OUTPUT, + (), +) + +RESERVATION_END_DATE_TYPE: StaticSchema = ( + 14, + n0, + _REDTe, + 0, + (_LIMITED, _UNLIMITED), + ((-1, {_sV: _li}), (-1, {_sV: _unl})), +) + +RESERVATION_TYPE: StaticSchema = ( + 14, + n0, + _RTes, + 0, + (_CB_, _ODCR_), + ((-1, {_sV: _cb_}), (-1, {_sV: _odc})), +) + +CAPACITY_MANAGER_TAG_DIMENSION: StaticSchema = ( + 18, + n0, + _CMTD, + 0, + (_Ke, _Va), + ( + (lambda: schemas.STRING, {_aQN: _Ke, _sN: _ke}), + (lambda: schemas.STRING, {_aQN: _Va, _sN: _va}), + ), +) + +CAPACITY_MANAGER_TAG_DIMENSION_SET: StaticSchema = ( + 16, + n0, + _CMTDS, + 0, + (_me,), + ((CAPACITY_MANAGER_TAG_DIMENSION, {_sN: _i}),), +) + +CAPACITY_TENANCY: StaticSchema = ( + 14, + n0, + _CTap, + 0, + (_DEFAULT, _DEDICATED), + ((-1, {_sV: _def}), (-1, {_sV: _ded})), +) + +CAPACITY_MANAGER_DIMENSION: StaticSchema = ( + 18, + n0, + _CMD, + 0, + ( + _RR, + _AZI, + _AIcco, + _ANcc, + _IF, + _IT, + _IPns, + _RAese, + _RI, + _RTes, + _RCTe, + _RSTe, + _RETe, + _REDTe, + _Ten, + _RSes, + _RIMCe, + _RUFOe, + _Tag, + ), + ( + (lambda: schemas.STRING, {_aQN: _RR, _sN: _rR}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _AIcco, _sN: _aIc}), + (lambda: schemas.STRING, {_aQN: _ANcc, _sN: _aNc}), + (lambda: schemas.STRING, {_aQN: _IF, _sN: _iF}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _IPns, _sN: _iPns}), + (lambda: schemas.STRING, {_aQN: _RAese, _sN: _rAese}), + (lambda: schemas.STRING, {_aQN: _RI, _sN: _rIes}), + (RESERVATION_TYPE, {_aQN: _RTes, _sN: _rTe}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RCTe, _sN: _rCTe}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RSTe, _sN: _rST}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RETe, _sN: _rETe}), + (RESERVATION_END_DATE_TYPE, {_aQN: _REDTe, _sN: _rEDT}), + (CAPACITY_TENANCY, {_aQN: _Ten, _sN: _ten}), + (RESERVATION_STATE, {_aQN: _RSes, _sN: _rSes}), + (lambda: schemas.STRING, {_aQN: _RIMCe, _sN: _rIMC}), + (lambda: schemas.STRING, {_aQN: _RUFOe, _sN: _rUFO}), + (CAPACITY_MANAGER_TAG_DIMENSION_SET, {_aQN: _TSag, _sN: _tS}), + ), +) + +METRIC_VALUE: StaticSchema = ( + 18, + n0, + _MVe, + 0, + (_Met, _Va), + ( + (METRIC, {_aQN: _Met, _sN: _met}), + (lambda: schemas.DOUBLE, {_aQN: _Va, _sN: _va}), + ), +) + +METRIC_VALUE_SET: StaticSchema = (16, n0, _MVS, 0, (_me,), ((METRIC_VALUE, {_sN: _i}),)) + +METRIC_DATA_RESULT: StaticSchema = ( + 18, + n0, + _MDR, + 0, + (_Dim, _Ti, _MVet), + ( + (CAPACITY_MANAGER_DIMENSION, {_aQN: _Dim, _sN: _dim}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _Ti, _sN: _ti}), + (METRIC_VALUE_SET, {_aQN: _MVS, _sN: _mVS}), + ), +) + +METRIC_DATA_RESULT_SET: StaticSchema = ( + 16, + n0, + _MDRS, + 0, + (_me,), + ((METRIC_DATA_RESULT, {_sN: _i}),), +) + +GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_INPUT: StaticSchema = ( + 18, + n0, + _GCMMDIe, + {_sSI: _cGCMMDRom, _sm: None}, + (_GB, _FB, _ST, _ETnd, _MN, _MR, _NTex, _DR), + ( + (GROUP_BY_SET, {_sN: _GB, _smi: None}), + (CAPACITY_MANAGER_CONDITION_SET, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 1), + (lambda: schemas.MILLISECOND_DATE_TIME, 1), + (METRIC_SET, {_sN: _MNe, _smi: None}), + (MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GCMMDOe, + {_sSI: _cGCMMDRoma, _smit: None}, + (_MDRet, _NTex), + ( + (lambda: METRIC_DIMENSION_RESULT_SET, {_aQN: _MDRSe, _sN: _mDRSe}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_CAPACITY_MANAGER_METRIC_DIMENSIONS: StaticOperationSchema = ( + 23, + n0, + _GCMMDe, + 0, + GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_INPUT, + GET_CAPACITY_MANAGER_METRIC_DIMENSIONS_OUTPUT, + (), +) + +METRIC_DIMENSION_RESULT_SET: StaticSchema = ( + 16, + n0, + _MDRSe, + 0, + (_me,), + ((CAPACITY_MANAGER_DIMENSION, {_sN: _i}),), +) + +GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_REQUEST_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _GCMMTKRMR, + 0, +) + +GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _GCMMTKI, + {_sSI: _cGCMMTKR, _sm: None}, + (_MR, _NTex, _DR), + ( + (GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _GCMMTKO, + {_sSI: _cGCMMTKRo, _smit: None}, + (_CMTK, _NTex), + ( + (lambda: CAPACITY_MANAGER_MONITORED_TAG_KEY_LIST, {_aQN: _CMTKS, _sN: _cMTKS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS: StaticOperationSchema = ( + 23, + n0, + _GCMMTK, + 0, + GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT, + GET_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT, + (), +) + +CAPACITY_MANAGER_MONITORED_TAG_KEY_STATUS: StaticSchema = ( + 14, + n0, + _CMMTKS, + 0, + (_ACTIVATING, _ACTIVATED, _DEACTIVATING, _SUSPENDED), + ((-1, {_sV: _acti}), (-1, {_sV: _activ}), (-1, {_sV: _deac}), (-1, {_sV: _sus})), +) + +CAPACITY_MANAGER_MONITORED_TAG_KEY: StaticSchema = ( + 18, + n0, + _CMMTK, + 0, + (_TK, _Sta, _SMt, _CMP, _EDTa), + ( + (lambda: schemas.STRING, {_aQN: _TK, _sN: _tK}), + (CAPACITY_MANAGER_MONITORED_TAG_KEY_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + (lambda: schemas.BOOLEAN, {_aQN: _CMP, _sN: _cMP}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _EDTa, _sN: _eDTa}), + ), +) + +CAPACITY_MANAGER_MONITORED_TAG_KEY_LIST: StaticSchema = ( + 16, + n0, + _CMMTKL, + 0, + (_me,), + ((CAPACITY_MANAGER_MONITORED_TAG_KEY, {_sN: _i}),), +) + +CAPACITY_AMOUNT: StaticSchema = (7, n0, _CAapa, 0) + +CAPACITY_AVAILABILITY_ZONE_ID_LIST: StaticSchema = ( + 16, + n0, + _CAZIL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +CAPACITY_UNIT: StaticSchema = ( + 14, + n0, + _CU, + 0, + (_VCPUS, _INSTANCES), + ((-1, {_sV: _vcpu}), (-1, {_sV: _insta})), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_41.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_41.py new file mode 100644 index 000000000..b6a268750 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_41.py @@ -0,0 +1,1682 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_tg = "t4g" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_d = "disabled" +_AI = "AllocationId" +_aI = "allocationId" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_OI = "OfferingId" +_CVEI = "ClientVpnEndpointId" +_de = "deleting" +_cVEI = "clientVpnEndpointId" +_St = "State" +_st = "state" +_fa = "failed" +_OIw = "OwnerId" +_oI = "ownerId" +_Sta = "Status" +_sta = "status" +_VI = "VpcId" +_dRr = "dryRun" +_act = "active" +_Ci = "Cidr" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_ANt = "AttributeName" +_aN = "attributeName" +_ena = "enabled" +_MB = "ManagedBy" +_acc = "account" +_mB = "managedBy" +_IT = "InstanceType" +_iT = "instanceType" +_RNe = "RegionName" +_Des = "Description" +_desc = "description" +_PIo = "PoolId" +_IF = "InstanceFamily" +_HIS = "HostIdSet" +_hIS = "hostIdSet" +_Ti = "Timestamp" +_ti = "timestamp" +_cre = "creating" +_no = "none" +_IIm = "ImageId" +_smith = "smithy.api#sensitive" +_ST = "StartTime" +_sTt = "startTime" +_RIep = "ReportId" +_CC = "CurrencyCode" +_cC = "currencyCode" +_KKI = "KmsKeyId" +_kKI = "kmsKeyId" +_SII = "SourceImageId" +_iIm = "imageId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_STs = "SseType" +_sTs = "sseType" +_up = "updating" +_ICA = "InterruptibleCapacityAllocation" +_IInt = "InterruptionInfo" +_uns = "unsupported" +_cRI = "capacityReservationId" +_TICo = "TotalInstanceCount" +_tICo = "totalInstanceCount" +_AIC = "AvailableInstanceCount" +_aIC = "availableInstanceCount" +_Inte = "Interruptible" +_inte = "interruptible" +_iCA = "interruptibleCapacityAllocation" +_iIn = "interruptionInfo" +_IRn = "InstanceRequirements" +_CPIo = "CoipPoolId" +_cPI = "coipPoolId" +_LGRTI = "LocalGatewayRouteTableId" +_lGRTI = "localGatewayRouteTableId" +_HTt = "HttpTokens" +_HPRHL = "HttpPutResponseHopLimit" +_HE = "HttpEndpoint" +_OD = "ON_DEMAND" +_od = "on-demand" +_MTar = "MarketType" +_SPOT = "SPOT" +_spo = "spot" +_Con = "Context" +_iF = "instanceFamily" +_AIcco = "AccountId" +_rIe = "reportId" +_SBu = "S3Bucket" +_sB = "s3Bucket" +_SPr = "S3Prefix" +_sP = "s3Prefix" +_rNe = "regionName" +_ISI = "IpamScopeId" +_IPIp = "IpamPolicyId" +_iPIp = "ipamPolicyId" +_ASw = "AwsService" +_aSw = "awsService" +_KF = "KeyFormat" +_KT = "KeyType" +_CCp = "CpuCredits" +_IMT = "InstanceMetadataTags" +_cCp = "cpuCredits" +_hTt = "httpTokens" +_hPRHL = "httpPutResponseHopLimit" +_hE = "httpEndpoint" +_iMT = "instanceMetadataTags" +_AAIw = "AwsAccountId" +_aAI = "awsAccountId" +_GA = "GroupArn" +_gA = "groupArn" +_UA = "UpdatedAt" +_uA = "updatedAt" +_PDo = "PolicyDocument" +_pDo = "policyDocument" +_CVAPS = "ClientVpnAuthorizationPolicyStatus" +_FLIl = "FlowLogId" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_TIa = "TargetId" +_tIa = "targetId" +_ETnd = "EndTime" +_eTnd = "endTime" +_HRS = "HistoryRecordSet" +_HRi = "HistoryRecords" +_hRS = "historyRecordSet" +_ITnsta = "InstanceTypes" +_POa = "PaymentOption" +_Dur = "Duration" +_dur = "duration" +_HP = "HourlyPrice" +_hP = "hourlyPrice" +_pOa = "paymentOption" +_UPp = "UpfrontPrice" +_uPp = "upfrontPrice" +_HRI = "HostReservationId" +_UNSUPPORTED = "UNSUPPORTED" +_hRI = "hostReservationId" +_uDe = "uefiData" +_UDe = "UefiData" +_SIR = "SourceImageRegion" +_sIR = "sourceImageRegion" +_sII = "sourceImageId" +_SLe = "SeverityLabel" +_low = "low" +_medi = "medium" +_hig = "high" +_VTi = "VirtualizationType" +_IOA = "ImageOwnerAlias" +_iOA = "imageOwnerAlias" +_CDre = "CreationDate" +_cDre = "creationDate" +_aIc = "accountId" +_ATr = "ArchitectureType" +_ITSns = "InstanceTypeSet" +_iTSns = "instanceTypeSet" +_kT = "keyType" +_Ou = "Output" +_outp = "output" +_EEBD = "EbsEncryptionByDefault" +_eEBD = "ebsEncryptionByDefault" +_IBPAS = "ImageBlockPublicAccessState" +_iBPAS = "imageBlockPublicAccessState" +_CAapa = "CapacityAmount" +_CU = "CapacityUnit" +_ATSr = "ArchitectureTypeSet" +_VTS = "VirtualizationTypeSet" +_IRWMR = "InstanceRequirementsWithMetadataRequest" +_ATrc = "ArchitectureTypes" +_VTir = "VirtualizationTypes" +_SITL = "SupportabilityInstanceTypeList" +_SMT = "SupportabilityMarketType" +_GCMSSI = "GetCapacityManagerSupportabilityScoresInput" +_cGCMSSR = "com.amazonaws.ec2#GetCapacityManagerSupportabilityScoresRequest" +_CAZI = "CapacityAvailabilityZoneIds" +_CAZIa = "CapacityAvailabilityZoneId" +_IRWM = "InstanceRequirementsWithMetadata" +_SSupp = "SupportabilityScore" +_HIGH = "HIGH" +_MEDIUM = "MEDIUM" +_LOW = "LOW" +_CMSS = "CapacityManagerSupportabilityScore" +_Scor = "Score" +_scor = "score" +_CMSSS = "CapacityManagerSupportabilityScoreSet" +_GCMSSO = "GetCapacityManagerSupportabilityScoresOutput" +_cGCMSSRo = "com.amazonaws.ec2#GetCapacityManagerSupportabilityScoresResult" +_ASg = "AggregateScore" +_aSg = "aggregateScore" +_CMSSa = "CapacityManagerSupportabilityScores" +_cMSSS = "capacityManagerSupportabilityScoreSet" +_GCMSS = "GetCapacityManagerSupportabilityScores" +_GCRURMR = "GetCapacityReservationUsageRequestMaxResults" +_GCRUI = "GetCapacityReservationUsageInput" +_cGCRUR = "com.amazonaws.ec2#GetCapacityReservationUsageRequest" +_IU = "InstanceUsage" +_UIC = "UsedInstanceCount" +_uIC = "usedInstanceCount" +_IUS = "InstanceUsageSet" +_GCRUO = "GetCapacityReservationUsageOutput" +_cGCRURo = "com.amazonaws.ec2#GetCapacityReservationUsageResult" +_IUn = "InstanceUsages" +_iUS = "instanceUsageSet" +_GCRU = "GetCapacityReservationUsage" +_GCVEAPI = "GetClientVpnEndpointAuthorizationPolicyInput" +_cGCVEAPR = "com.amazonaws.ec2#GetClientVpnEndpointAuthorizationPolicyRequest" +_CVAPSM = "ClientVpnAuthorizationPolicyShadowMode" +_GCVEAPO = "GetClientVpnEndpointAuthorizationPolicyOutput" +_cGCVEAPRo = "com.amazonaws.ec2#GetClientVpnEndpointAuthorizationPolicyResult" +_SMh = "ShadowMode" +_sMh = "shadowMode" +_GCVEAP = "GetClientVpnEndpointAuthorizationPolicy" +_GCPUI = "GetCoipPoolUsageInput" +_cGCPUR = "com.amazonaws.ec2#GetCoipPoolUsageRequest" +_CAU = "CoipAddressUsage" +_CIop_ = "CoIp" +_cIop = "coIp" +_CAUS = "CoipAddressUsageSet" +_GCPUO = "GetCoipPoolUsageOutput" +_cGCPURo = "com.amazonaws.ec2#GetCoipPoolUsageResult" +_CAUo = "CoipAddressUsages" +_cAUS = "coipAddressUsageSet" +_GCPU = "GetCoipPoolUsage" +_GCOI = "GetConsoleOutputInput" +_cGCOR = "com.amazonaws.ec2#GetConsoleOutputRequest" +_Lat = "Latest" +_GCOO = "GetConsoleOutputOutput" +_cGCORo = "com.amazonaws.ec2#GetConsoleOutputResult" +_GCO = "GetConsoleOutput" +_GCSI = "GetConsoleScreenshotInput" +_cGCSR = "com.amazonaws.ec2#GetConsoleScreenshotRequest" +_WU = "WakeUp" +_GCSO = "GetConsoleScreenshotOutput" +_cGCSRo = "com.amazonaws.ec2#GetConsoleScreenshotResult" +_IDm = "ImageData" +_iDm = "imageData" +_GCS = "GetConsoleScreenshot" +_GDPRSI = "GetDeclarativePoliciesReportSummaryInput" +_cGDPRSR = "com.amazonaws.ec2#GetDeclarativePoliciesReportSummaryRequest" +_RSeg = "RegionalSummary" +_NOMA = "NumberOfMatchedAccounts" +_nOMA = "numberOfMatchedAccounts" +_NOUA = "NumberOfUnmatchedAccounts" +_nOUA = "numberOfUnmatchedAccounts" +_RSLe = "RegionalSummaryList" +_ASttr = "AttributeSummary" +_MFV = "MostFrequentValue" +_mFV = "mostFrequentValue" +_RSegi = "RegionalSummaries" +_RSSe = "RegionalSummarySet" +_rSSe = "regionalSummarySet" +_ASLt = "AttributeSummaryList" +_GDPRSO = "GetDeclarativePoliciesReportSummaryOutput" +_cGDPRSRo = "com.amazonaws.ec2#GetDeclarativePoliciesReportSummaryResult" +_NOA = "NumberOfAccounts" +_nOA = "numberOfAccounts" +_NOFA = "NumberOfFailedAccounts" +_nOFA = "numberOfFailedAccounts" +_ASttri = "AttributeSummaries" +_ASSt = "AttributeSummarySet" +_aSSt = "attributeSummarySet" +_GDPRS = "GetDeclarativePoliciesReportSummary" +_USIF = "UnlimitedSupportedInstanceFamily" +_t___________ = "t2" +_t____________ = "t3" +_ta_ = "t3a" +_ti_ = "t8i" +_GDCSI = "GetDefaultCreditSpecificationInput" +_cGDCSR = "com.amazonaws.ec2#GetDefaultCreditSpecificationRequest" +_IFCS = "InstanceFamilyCreditSpecification" +_GDCSO = "GetDefaultCreditSpecificationOutput" +_cGDCSRo = "com.amazonaws.ec2#GetDefaultCreditSpecificationResult" +_iFCS = "instanceFamilyCreditSpecification" +_GDCS = "GetDefaultCreditSpecification" +_GEDKKII = "GetEbsDefaultKmsKeyIdInput" +_cGEDKKIR = "com.amazonaws.ec2#GetEbsDefaultKmsKeyIdRequest" +_GEDKKIO = "GetEbsDefaultKmsKeyIdOutput" +_cGEDKKIRo = "com.amazonaws.ec2#GetEbsDefaultKmsKeyIdResult" +_GEDKKI = "GetEbsDefaultKmsKeyId" +_GEEBDI = "GetEbsEncryptionByDefaultInput" +_cGEEBDR = "com.amazonaws.ec2#GetEbsEncryptionByDefaultRequest" +_GEEBDO = "GetEbsEncryptionByDefaultOutput" +_cGEEBDRo = "com.amazonaws.ec2#GetEbsEncryptionByDefaultResult" +_GEEBD = "GetEbsEncryptionByDefault" +_GEIPI = "GetEnabledIpamPolicyInput" +_cGEIPR = "com.amazonaws.ec2#GetEnabledIpamPolicyRequest" +_IPMB = "IpamPolicyManagedBy" +_dafi = "delegated_administrator_for_ipam" +_dafi_ = "delegated-administrator-for-ipam" +_GEIPO = "GetEnabledIpamPolicyOutput" +_cGEIPRo = "com.amazonaws.ec2#GetEnabledIpamPolicyResult" +_IPEp = "IpamPolicyEnabled" +_iPEp = "ipamPolicyEnabled" +_GEIP = "GetEnabledIpamPolicy" +_PLF = "PartitionLoadFrequency" +_NONE = "NONE" +_DAILY = "DAILY" +_da = "daily" +_WEEKLY = "WEEKLY" +_wee = "weekly" +_MONTHLY = "MONTHLY" +_mont = "monthly" +_AIth = "AthenaIntegration" +_IRSDA = "IntegrationResultS3DestinationArn" +_PSD = "PartitionStartDate" +_PED = "PartitionEndDate" +_AISt = "AthenaIntegrationsSet" +_ISnte = "IntegrateServices" +_AIthe = "AthenaIntegrations" +_GFLITI = "GetFlowLogsIntegrationTemplateInput" +_cGFLITR = "com.amazonaws.ec2#GetFlowLogsIntegrationTemplateRequest" +_CDSDA = "ConfigDeliveryS3DestinationArn" +_ISnteg = "IntegrateService" +_GFLITO = "GetFlowLogsIntegrationTemplateOutput" +_cGFLITRo = "com.amazonaws.ec2#GetFlowLogsIntegrationTemplateResult" +_Resu = "Result" +_resu = "result" +_GFLIT = "GetFlowLogsIntegrationTemplate" +_GGFCRRMR = "GetGroupsForCapacityReservationRequestMaxResults" +_GGFCRI = "GetGroupsForCapacityReservationInput" +_cGGFCRR = "com.amazonaws.ec2#GetGroupsForCapacityReservationRequest" +_CRG = "CapacityReservationGroup" +_CRGS = "CapacityReservationGroupSet" +_GGFCRO = "GetGroupsForCapacityReservationOutput" +_cGGFCRRo = "com.amazonaws.ec2#GetGroupsForCapacityReservationResult" +_CRGa = "CapacityReservationGroups" +_cRGS = "capacityReservationGroupSet" +_GGFCR = "GetGroupsForCapacityReservation" +_RHISe = "RequestHostIdSet" +_GHRPPI = "GetHostReservationPurchasePreviewInput" +_cGHRPPR = "com.amazonaws.ec2#GetHostReservationPurchasePreviewRequest" +_Pur = "Purchase" +_PSu = "PurchaseSet" +_GHRPPO = "GetHostReservationPurchasePreviewOutput" +_cGHRPPRo = "com.amazonaws.ec2#GetHostReservationPurchasePreviewResult" +_pur = "purchase" +_THP = "TotalHourlyPrice" +_tHP = "totalHourlyPrice" +_TUP = "TotalUpfrontPrice" +_tUP = "totalUpfrontPrice" +_GHRPP = "GetHostReservationPurchasePreview" +_GIAI = "GetImageAncestryInput" +_cGIAR = "com.amazonaws.ec2#GetImageAncestryRequest" +_IAE = "ImageAncestryEntry" +_IAEL = "ImageAncestryEntryList" +_GIAO = "GetImageAncestryOutput" +_cGIARo = "com.amazonaws.ec2#GetImageAncestryResult" +_IAEm = "ImageAncestryEntries" +_IAES = "ImageAncestryEntrySet" +_iAES = "imageAncestryEntrySet" +_GIAe = "GetImageAncestry" +_GIBPASI = "GetImageBlockPublicAccessStateInput" +_cGIBPASR = "com.amazonaws.ec2#GetImageBlockPublicAccessStateRequest" +_GIBPASO = "GetImageBlockPublicAccessStateOutput" +_cGIBPASRo = "com.amazonaws.ec2#GetImageBlockPublicAccessStateResult" +_GIBPAS = "GetImageBlockPublicAccessState" +_GIFMR = "GetImageFindingsMaxResults" +_GIFI = "GetImageFindingsInput" +_cGIFR = "com.amazonaws.ec2#GetImageFindingsRequest" +_IFPS = "ImageFindingPathSet" +_IFm = "ImageFinding" +_FAix = "FixAvailable" +_fAix = "fixAvailable" +_FOAi = "FirstObservedAt" +_fOA = "firstObservedAt" +_Tit = "Title" +_tit = "title" +_Pat = "Paths" +_PSat = "PathSet" +_pSa = "pathSet" +_sLe = "severityLabel" +_GIFES = "GetImageFindingsEntrySet" +_GIFO = "GetImageFindingsOutput" +_cGIFRo = "com.amazonaws.ec2#GetImageFindingsResult" +_IFma = "ImageFindings" +_IFS = "ImageFindingSet" +_iFS = "imageFindingSet" +_GIF = "GetImageFindings" +_GIMDI = "GetInstanceMetadataDefaultsInput" +_cGIMDR = "com.amazonaws.ec2#GetInstanceMetadataDefaultsRequest" +_HTES = "HttpTokensEnforcedState" +_IMDR = "InstanceMetadataDefaultsResponse" +_MEM = "ManagedExceptionMessage" +_mEM = "managedExceptionMessage" +_HTE = "HttpTokensEnforced" +_hTE = "httpTokensEnforced" +_GIMDO = "GetInstanceMetadataDefaultsOutput" +_cGIMDRo = "com.amazonaws.ec2#GetInstanceMetadataDefaultsResult" +_ALcc = "AccountLevel" +_aLc = "accountLevel" +_GIMD = "GetInstanceMetadataDefaults" +_EPKF = "EkPubKeyFormat" +_der_ = "der" +_tpm = "tpmt" +_EPKT = "EkPubKeyType" +_R_ = "RSA_2048" +_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "rsa-2048" +_ESP = "ECC_SEC_P384" +_esp = "ecc-sec-p384" +_GITEPI = "GetInstanceTpmEkPubInput" +_cGITEPR = "com.amazonaws.ec2#GetInstanceTpmEkPubRequest" +_EPKV = "EkPubKeyValue" +_GITEPO = "GetInstanceTpmEkPubOutput" +_cGITEPRo = "com.amazonaws.ec2#GetInstanceTpmEkPubResult" +_kFe = "keyFormat" +_KV = "KeyValue" +_kV = "keyValue" +_GITEP = "GetInstanceTpmEkPub" +_GITFIRI = "GetInstanceTypesFromInstanceRequirementsInput" +_cGITFIRR = "com.amazonaws.ec2#GetInstanceTypesFromInstanceRequirementsRequest" +_ITIFIR = "InstanceTypeInfoFromInstanceRequirements" +_ITIFIRS = "InstanceTypeInfoFromInstanceRequirementsSet" +_GITFIRO = "GetInstanceTypesFromInstanceRequirementsOutput" +_cGITFIRRo = "com.amazonaws.ec2#GetInstanceTypesFromInstanceRequirementsResult" +_GITFIR = "GetInstanceTypesFromInstanceRequirements" +_GIUDI = "GetInstanceUefiDataInput" +_cGIUDR = "com.amazonaws.ec2#GetInstanceUefiDataRequest" +_SSen = "SensitiveString" +_GIUDO = "GetInstanceUefiDataOutput" +_cGIUDRo = "com.amazonaws.ec2#GetInstanceUefiDataResult" +_GIUD = "GetInstanceUefiData" +_IAHMR = "IpamAddressHistoryMaxResults" +_GIAHI = "GetIpamAddressHistoryInput" +_cGIAHR = "com.amazonaws.ec2#GetIpamAddressHistoryRequest" +_GIAHO = "GetIpamAddressHistoryOutput" +_cGIAHRo = "com.amazonaws.ec2#GetIpamAddressHistoryResult" +_GIAH = "GetIpamAddressHistory" + +CLIENT_VPN_AUTHORIZATION_POLICY_STATUS: StaticSchema = ( + 14, + n0, + _CVAPS, + 0, + (_cre, _up, _act, _fa, _de), + ( + (-1, {_sV: _cre}), + (-1, {_sV: _up}), + (-1, {_sV: _act}), + (-1, {_sV: _fa}), + (-1, {_sV: _de}), + ), +) + +ARCHITECTURE_TYPE_SET: StaticSchema = ( + 16, + n0, + _ATSr, + 0, + (_me,), + ((lambda: schemas.ARCHITECTURE_TYPE, {_sN: _i}),), +) + +VIRTUALIZATION_TYPE_SET: StaticSchema = ( + 16, + n0, + _VTS, + 0, + (_me,), + ((lambda: schemas.VIRTUALIZATION_TYPE, {_sN: _i}),), +) + +INSTANCE_REQUIREMENTS_WITH_METADATA_REQUEST: StaticSchema = ( + 18, + n0, + _IRWMR, + 0, + (_ATrc, _VTir, _IRn), + ( + (ARCHITECTURE_TYPE_SET, {_sN: _ATr}), + (VIRTUALIZATION_TYPE_SET, {_sN: _VTi}), + (lambda: schemas.INSTANCE_REQUIREMENTS_REQUEST, 0), + ), +) + +SUPPORTABILITY_INSTANCE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _SITL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +SUPPORTABILITY_MARKET_TYPE: StaticSchema = ( + 14, + n0, + _SMT, + 0, + (_OD, _SPOT), + ((-1, {_sV: _od}), (-1, {_sV: _spo})), +) + +GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_INPUT: StaticSchema = ( + 18, + n0, + _GCMSSI, + {_sSI: _cGCMSSR, _sm: None}, + (_MTar, _CAapa, _CU, _CAZI, _ITnsta, _IRWM, _DR), + ( + (SUPPORTABILITY_MARKET_TYPE, 1), + (lambda: schemas.CAPACITY_AMOUNT, 1), + (lambda: schemas.CAPACITY_UNIT, 1), + (lambda: schemas.CAPACITY_AVAILABILITY_ZONE_ID_LIST, {_sN: _CAZIa, _smi: None}), + (SUPPORTABILITY_INSTANCE_TYPE_LIST, {_sN: _IT}), + (INSTANCE_REQUIREMENTS_WITH_METADATA_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_OUTPUT: StaticSchema = ( + 18, + n0, + _GCMSSO, + {_sSI: _cGCMSSRo, _smit: None}, + (_ASg, _CMSSa), + ( + (lambda: SUPPORTABILITY_SCORE, {_aQN: _ASg, _sN: _aSg}), + ( + lambda: CAPACITY_MANAGER_SUPPORTABILITY_SCORE_SET, + {_aQN: _CMSSS, _sN: _cMSSS}, + ), + ), +) + +GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES: StaticOperationSchema = ( + 23, + n0, + _GCMSS, + 0, + GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_INPUT, + GET_CAPACITY_MANAGER_SUPPORTABILITY_SCORES_OUTPUT, + (), +) + +SUPPORTABILITY_SCORE: StaticSchema = ( + 14, + n0, + _SSupp, + 0, + (_HIGH, _MEDIUM, _LOW, _UNSUPPORTED), + ((-1, {_sV: _hig}), (-1, {_sV: _medi}), (-1, {_sV: _low}), (-1, {_sV: _uns})), +) + +CAPACITY_MANAGER_SUPPORTABILITY_SCORE: StaticSchema = ( + 18, + n0, + _CMSS, + 0, + (_IT, _AZI, _Scor), + ( + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (SUPPORTABILITY_SCORE, {_aQN: _Scor, _sN: _scor}), + ), +) + +CAPACITY_MANAGER_SUPPORTABILITY_SCORE_SET: StaticSchema = ( + 16, + n0, + _CMSSS, + 0, + (_me,), + ((CAPACITY_MANAGER_SUPPORTABILITY_SCORE, {_sN: _i}),), +) + +GET_CAPACITY_RESERVATION_USAGE_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _GCRURMR, 0) + +GET_CAPACITY_RESERVATION_USAGE_INPUT: StaticSchema = ( + 18, + n0, + _GCRUI, + {_sSI: _cGCRUR, _sm: None}, + (_CRI, _NTex, _MR, _DR), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.STRING, 0), + (GET_CAPACITY_RESERVATION_USAGE_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_CAPACITY_RESERVATION_USAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _GCRUO, + {_sSI: _cGCRURo, _smit: None}, + (_NTex, _CRI, _IT, _TICo, _AIC, _St, _IUn, _Inte, _ICA, _IInt), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.STRING, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.INTEGER, {_aQN: _TICo, _sN: _tICo}), + (lambda: schemas.INTEGER, {_aQN: _AIC, _sN: _aIC}), + (lambda: schemas.CAPACITY_RESERVATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: INSTANCE_USAGE_SET, {_aQN: _IUS, _sN: _iUS}), + (lambda: schemas.BOXED_BOOLEAN, {_aQN: _Inte, _sN: _inte}), + (lambda: schemas.INTERRUPTIBLE_CAPACITY_ALLOCATION, {_aQN: _ICA, _sN: _iCA}), + (lambda: schemas.INTERRUPTION_INFO, {_aQN: _IInt, _sN: _iIn}), + ), +) + +GET_CAPACITY_RESERVATION_USAGE: StaticOperationSchema = ( + 23, + n0, + _GCRU, + 0, + GET_CAPACITY_RESERVATION_USAGE_INPUT, + GET_CAPACITY_RESERVATION_USAGE_OUTPUT, + (), +) + +INSTANCE_USAGE: StaticSchema = ( + 18, + n0, + _IU, + 0, + (_AIcco, _UIC), + ( + (lambda: schemas.STRING, {_aQN: _AIcco, _sN: _aIc}), + (lambda: schemas.INTEGER, {_aQN: _UIC, _sN: _uIC}), + ), +) + +INSTANCE_USAGE_SET: StaticSchema = ( + 16, + n0, + _IUS, + 0, + (_me,), + ((INSTANCE_USAGE, {_sN: _i}),), +) + +GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GCVEAPI, + {_sSI: _cGCVEAPR, _sm: None}, + (_CVEI, _DR), + ((lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GCVEAPO, + {_sSI: _cGCVEAPRo, _smit: None}, + (_CVEI, _PDo, _Des, _SMh, _Sta), + ( + (lambda: schemas.STRING, {_aQN: _CVEI, _sN: _cVEI}), + (lambda: schemas.STRING, {_aQN: _PDo, _sN: _pDo}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: CLIENT_VPN_AUTHORIZATION_POLICY_SHADOW_MODE, {_aQN: _SMh, _sN: _sMh}), + (CLIENT_VPN_AUTHORIZATION_POLICY_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY: StaticOperationSchema = ( + 23, + n0, + _GCVEAP, + 0, + GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT, + GET_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT, + (), +) + +CLIENT_VPN_AUTHORIZATION_POLICY_SHADOW_MODE: StaticSchema = ( + 14, + n0, + _CVAPSM, + 0, + (_ena, _d), + ((-1, {_sV: _ena}), (-1, {_sV: _d})), +) + +GET_COIP_POOL_USAGE_INPUT: StaticSchema = ( + 18, + n0, + _GCPUI, + {_sSI: _cGCPUR, _sm: None}, + (_PIo, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.IPV4_POOL_COIP_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.COIP_POOL_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_COIP_POOL_USAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _GCPUO, + {_sSI: _cGCPURo, _smit: None}, + (_CPIo, _CAUo, _LGRTI, _NTex), + ( + (lambda: schemas.STRING, {_aQN: _CPIo, _sN: _cPI}), + (lambda: COIP_ADDRESS_USAGE_SET, {_aQN: _CAUS, _sN: _cAUS}), + (lambda: schemas.STRING, {_aQN: _LGRTI, _sN: _lGRTI}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_COIP_POOL_USAGE: StaticOperationSchema = ( + 23, + n0, + _GCPU, + 0, + GET_COIP_POOL_USAGE_INPUT, + GET_COIP_POOL_USAGE_OUTPUT, + (), +) + +COIP_ADDRESS_USAGE: StaticSchema = ( + 18, + n0, + _CAU, + 0, + (_AI, _AAIw, _ASw, _CIop_), + ( + (lambda: schemas.STRING, {_aQN: _AI, _sN: _aI}), + (lambda: schemas.STRING, {_aQN: _AAIw, _sN: _aAI}), + (lambda: schemas.STRING, {_aQN: _ASw, _sN: _aSw}), + (lambda: schemas.STRING, {_aQN: _CIop_, _sN: _cIop}), + ), +) + +COIP_ADDRESS_USAGE_SET: StaticSchema = ( + 16, + n0, + _CAUS, + 0, + (_me,), + ((COIP_ADDRESS_USAGE, {_sN: _i}),), +) + +GET_CONSOLE_OUTPUT_INPUT: StaticSchema = ( + 18, + n0, + _GCOI, + {_sSI: _cGCOR, _sm: None}, + (_II, _Lat, _DR), + ( + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +GET_CONSOLE_OUTPUT_OUTPUT: StaticSchema = ( + 18, + n0, + _GCOO, + {_sSI: _cGCORo, _smit: None}, + (_II, _Ti, _Ou), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.DATE_TIME, {_aQN: _Ti, _sN: _ti}), + (lambda: schemas.STRING, {_aQN: _Ou, _sN: _outp}), + ), +) + +GET_CONSOLE_OUTPUT: StaticOperationSchema = ( + 23, + n0, + _GCO, + 0, + GET_CONSOLE_OUTPUT_INPUT, + GET_CONSOLE_OUTPUT_OUTPUT, + (), +) + +GET_CONSOLE_SCREENSHOT_INPUT: StaticSchema = ( + 18, + n0, + _GCSI, + {_sSI: _cGCSR, _sm: None}, + (_DR, _II, _WU), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_CONSOLE_SCREENSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _GCSO, + {_sSI: _cGCSRo, _smit: None}, + (_IDm, _II), + ( + (lambda: schemas.STRING, {_aQN: _IDm, _sN: _iDm}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + ), +) + +GET_CONSOLE_SCREENSHOT: StaticOperationSchema = ( + 23, + n0, + _GCS, + 0, + GET_CONSOLE_SCREENSHOT_INPUT, + GET_CONSOLE_SCREENSHOT_OUTPUT, + (), +) + +GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_INPUT: StaticSchema = ( + 18, + n0, + _GDPRSI, + {_sSI: _cGDPRSR, _sm: None}, + (_DR, _RIep), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.DECLARATIVE_POLICIES_REPORT_ID, 1)), +) + +GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_OUTPUT: StaticSchema = ( + 18, + n0, + _GDPRSO, + {_sSI: _cGDPRSRo, _smit: None}, + (_RIep, _SBu, _SPr, _TIa, _ST, _ETnd, _NOA, _NOFA, _ASttri), + ( + (lambda: schemas.STRING, {_aQN: _RIep, _sN: _rIe}), + (lambda: schemas.STRING, {_aQN: _SBu, _sN: _sB}), + (lambda: schemas.STRING, {_aQN: _SPr, _sN: _sP}), + (lambda: schemas.STRING, {_aQN: _TIa, _sN: _tIa}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), + (lambda: schemas.INTEGER, {_aQN: _NOA, _sN: _nOA}), + (lambda: schemas.INTEGER, {_aQN: _NOFA, _sN: _nOFA}), + (lambda: ATTRIBUTE_SUMMARY_LIST, {_aQN: _ASSt, _sN: _aSSt}), + ), +) + +GET_DECLARATIVE_POLICIES_REPORT_SUMMARY: StaticOperationSchema = ( + 23, + n0, + _GDPRS, + 0, + GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_INPUT, + GET_DECLARATIVE_POLICIES_REPORT_SUMMARY_OUTPUT, + (), +) + +REGIONAL_SUMMARY: StaticSchema = ( + 18, + n0, + _RSeg, + 0, + (_RNe, _NOMA, _NOUA), + ( + (lambda: schemas.STRING, {_aQN: _RNe, _sN: _rNe}), + (lambda: schemas.INTEGER, {_aQN: _NOMA, _sN: _nOMA}), + (lambda: schemas.INTEGER, {_aQN: _NOUA, _sN: _nOUA}), + ), +) + +REGIONAL_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _RSLe, + 0, + (_me,), + ((REGIONAL_SUMMARY, {_sN: _i}),), +) + +ATTRIBUTE_SUMMARY: StaticSchema = ( + 18, + n0, + _ASttr, + 0, + (_ANt, _MFV, _NOMA, _NOUA, _RSegi), + ( + (lambda: schemas.STRING, {_aQN: _ANt, _sN: _aN}), + (lambda: schemas.STRING, {_aQN: _MFV, _sN: _mFV}), + (lambda: schemas.INTEGER, {_aQN: _NOMA, _sN: _nOMA}), + (lambda: schemas.INTEGER, {_aQN: _NOUA, _sN: _nOUA}), + (REGIONAL_SUMMARY_LIST, {_aQN: _RSSe, _sN: _rSSe}), + ), +) + +ATTRIBUTE_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _ASLt, + 0, + (_me,), + ((ATTRIBUTE_SUMMARY, {_sN: _i}),), +) + +UNLIMITED_SUPPORTED_INSTANCE_FAMILY: StaticSchema = ( + 14, + n0, + _USIF, + 0, + (_t___________, _t____________, _ta_, _tg, _ti_), + ( + (-1, {_sV: _t___________}), + (-1, {_sV: _t____________}), + (-1, {_sV: _ta_}), + (-1, {_sV: _tg}), + (-1, {_sV: _ti_}), + ), +) + +GET_DEFAULT_CREDIT_SPECIFICATION_INPUT: StaticSchema = ( + 18, + n0, + _GDCSI, + {_sSI: _cGDCSR, _sm: None}, + (_DR, _IF), + ((lambda: schemas.BOOLEAN, 0), (UNLIMITED_SUPPORTED_INSTANCE_FAMILY, 1)), +) + +GET_DEFAULT_CREDIT_SPECIFICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GDCSO, + {_sSI: _cGDCSRo, _smit: None}, + (_IFCS,), + ((lambda: INSTANCE_FAMILY_CREDIT_SPECIFICATION, {_aQN: _IFCS, _sN: _iFCS}),), +) + +GET_DEFAULT_CREDIT_SPECIFICATION: StaticOperationSchema = ( + 23, + n0, + _GDCS, + 0, + GET_DEFAULT_CREDIT_SPECIFICATION_INPUT, + GET_DEFAULT_CREDIT_SPECIFICATION_OUTPUT, + (), +) + +INSTANCE_FAMILY_CREDIT_SPECIFICATION: StaticSchema = ( + 18, + n0, + _IFCS, + 0, + (_IF, _CCp), + ( + (UNLIMITED_SUPPORTED_INSTANCE_FAMILY, {_aQN: _IF, _sN: _iF}), + (lambda: schemas.STRING, {_aQN: _CCp, _sN: _cCp}), + ), +) + +GET_EBS_DEFAULT_KMS_KEY_ID_INPUT: StaticSchema = ( + 18, + n0, + _GEDKKII, + {_sSI: _cGEDKKIR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _GEDKKIO, + {_sSI: _cGEDKKIRo, _smit: None}, + (_KKI,), + ((lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}),), +) + +GET_EBS_DEFAULT_KMS_KEY_ID: StaticOperationSchema = ( + 23, + n0, + _GEDKKI, + 0, + GET_EBS_DEFAULT_KMS_KEY_ID_INPUT, + GET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT, + (), +) + +GET_EBS_ENCRYPTION_BY_DEFAULT_INPUT: StaticSchema = ( + 18, + n0, + _GEEBDI, + {_sSI: _cGEEBDR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT: StaticSchema = ( + 18, + n0, + _GEEBDO, + {_sSI: _cGEEBDRo, _smit: None}, + (_EEBD, _STs), + ( + (lambda: schemas.BOOLEAN, {_aQN: _EEBD, _sN: _eEBD}), + (lambda: schemas.SSE_TYPE, {_aQN: _STs, _sN: _sTs}), + ), +) + +GET_EBS_ENCRYPTION_BY_DEFAULT: StaticOperationSchema = ( + 23, + n0, + _GEEBD, + 0, + GET_EBS_ENCRYPTION_BY_DEFAULT_INPUT, + GET_EBS_ENCRYPTION_BY_DEFAULT_OUTPUT, + (), +) + +GET_ENABLED_IPAM_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GEIPI, + {_sSI: _cGEIPR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_ENABLED_IPAM_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GEIPO, + {_sSI: _cGEIPRo, _smit: None}, + (_IPEp, _IPIp, _MB), + ( + (lambda: schemas.BOOLEAN, {_aQN: _IPEp, _sN: _iPEp}), + (lambda: schemas.IPAM_POLICY_ID, {_aQN: _IPIp, _sN: _iPIp}), + (lambda: IPAM_POLICY_MANAGED_BY, {_aQN: _MB, _sN: _mB}), + ), +) + +GET_ENABLED_IPAM_POLICY: StaticOperationSchema = ( + 23, + n0, + _GEIP, + 0, + GET_ENABLED_IPAM_POLICY_INPUT, + GET_ENABLED_IPAM_POLICY_OUTPUT, + (), +) + +IPAM_POLICY_MANAGED_BY: StaticSchema = ( + 14, + n0, + _IPMB, + 0, + (_acc, _dafi), + ((-1, {_sV: _acc}), (-1, {_sV: _dafi_})), +) + +PARTITION_LOAD_FREQUENCY: StaticSchema = ( + 14, + n0, + _PLF, + 0, + (_NONE, _DAILY, _WEEKLY, _MONTHLY), + ((-1, {_sV: _no}), (-1, {_sV: _da}), (-1, {_sV: _wee}), (-1, {_sV: _mont})), +) + +ATHENA_INTEGRATION: StaticSchema = ( + 18, + n0, + _AIth, + 0, + (_IRSDA, _PLF, _PSD, _PED), + ( + (lambda: schemas.STRING, 1), + (PARTITION_LOAD_FREQUENCY, 1), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + ), +) + +ATHENA_INTEGRATIONS_SET: StaticSchema = ( + 16, + n0, + _AISt, + 0, + (_me,), + ((ATHENA_INTEGRATION, {_sN: _i}),), +) + +INTEGRATE_SERVICES: StaticSchema = ( + 18, + n0, + _ISnte, + 0, + (_AIthe,), + ((ATHENA_INTEGRATIONS_SET, {_sN: _AIth}),), +) + +GET_FLOW_LOGS_INTEGRATION_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _GFLITI, + {_sSI: _cGFLITR, _sm: None}, + (_DR, _FLIl, _CDSDA, _ISnte), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_FLOW_LOG_ID, 1), + (lambda: schemas.STRING, 1), + (INTEGRATE_SERVICES, {_sN: _ISnteg, _smi: None}), + ), +) + +GET_FLOW_LOGS_INTEGRATION_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GFLITO, + {_sSI: _cGFLITRo, _smit: None}, + (_Resu,), + ((lambda: schemas.STRING, {_aQN: _Resu, _sN: _resu}),), +) + +GET_FLOW_LOGS_INTEGRATION_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _GFLIT, + 0, + GET_FLOW_LOGS_INTEGRATION_TEMPLATE_INPUT, + GET_FLOW_LOGS_INTEGRATION_TEMPLATE_OUTPUT, + (), +) + +GET_GROUPS_FOR_CAPACITY_RESERVATION_REQUEST_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _GGFCRRMR, + 0, +) + +GET_GROUPS_FOR_CAPACITY_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _GGFCRI, + {_sSI: _cGGFCRR, _sm: None}, + (_CRI, _NTex, _MR, _DR), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.STRING, 0), + (GET_GROUPS_FOR_CAPACITY_RESERVATION_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_GROUPS_FOR_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GGFCRO, + {_sSI: _cGGFCRRo, _smit: None}, + (_NTex, _CRGa), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: CAPACITY_RESERVATION_GROUP_SET, {_aQN: _CRGS, _sN: _cRGS}), + ), +) + +GET_GROUPS_FOR_CAPACITY_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _GGFCR, + 0, + GET_GROUPS_FOR_CAPACITY_RESERVATION_INPUT, + GET_GROUPS_FOR_CAPACITY_RESERVATION_OUTPUT, + (), +) + +CAPACITY_RESERVATION_GROUP: StaticSchema = ( + 18, + n0, + _CRG, + 0, + (_GA, _OIw), + ( + (lambda: schemas.STRING, {_aQN: _GA, _sN: _gA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + ), +) + +CAPACITY_RESERVATION_GROUP_SET: StaticSchema = ( + 16, + n0, + _CRGS, + 0, + (_me,), + ((CAPACITY_RESERVATION_GROUP, {_sN: _i}),), +) + +REQUEST_HOST_ID_SET: StaticSchema = ( + 16, + n0, + _RHISe, + 0, + (_me,), + ((lambda: schemas.DEDICATED_HOST_ID, {_sN: _i}),), +) + +GET_HOST_RESERVATION_PURCHASE_PREVIEW_INPUT: StaticSchema = ( + 18, + n0, + _GHRPPI, + {_sSI: _cGHRPPR, _sm: None}, + (_HIS, _OI), + ((REQUEST_HOST_ID_SET, 1), (lambda: schemas.OFFERING_ID, 1)), +) + +GET_HOST_RESERVATION_PURCHASE_PREVIEW_OUTPUT: StaticSchema = ( + 18, + n0, + _GHRPPO, + {_sSI: _cGHRPPRo, _smit: None}, + (_CC, _Pur, _THP, _TUP), + ( + (lambda: schemas.CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + (lambda: PURCHASE_SET, {_aQN: _Pur, _sN: _pur}), + (lambda: schemas.STRING, {_aQN: _THP, _sN: _tHP}), + (lambda: schemas.STRING, {_aQN: _TUP, _sN: _tUP}), + ), +) + +GET_HOST_RESERVATION_PURCHASE_PREVIEW: StaticOperationSchema = ( + 23, + n0, + _GHRPP, + 0, + GET_HOST_RESERVATION_PURCHASE_PREVIEW_INPUT, + GET_HOST_RESERVATION_PURCHASE_PREVIEW_OUTPUT, + (), +) + +PURCHASE: StaticSchema = ( + 18, + n0, + _Pur, + 0, + (_CC, _Dur, _HIS, _HRI, _HP, _IF, _POa, _UPp), + ( + (lambda: schemas.CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.INTEGER, {_aQN: _Dur, _sN: _dur}), + (lambda: schemas.RESPONSE_HOST_ID_SET, {_aQN: _HIS, _sN: _hIS}), + (lambda: schemas.HOST_RESERVATION_ID, {_aQN: _HRI, _sN: _hRI}), + (lambda: schemas.STRING, {_aQN: _HP, _sN: _hP}), + (lambda: schemas.STRING, {_aQN: _IF, _sN: _iF}), + (lambda: schemas.PAYMENT_OPTION, {_aQN: _POa, _sN: _pOa}), + (lambda: schemas.STRING, {_aQN: _UPp, _sN: _uPp}), + ), +) + +PURCHASE_SET: StaticSchema = (16, n0, _PSu, 0, (_me,), ((PURCHASE, {_sN: _i}),)) + +GET_IMAGE_ANCESTRY_INPUT: StaticSchema = ( + 18, + n0, + _GIAI, + {_sSI: _cGIAR, _sm: None}, + (_IIm, _DR), + ((lambda: schemas.IMAGE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +GET_IMAGE_ANCESTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _GIAO, + {_sSI: _cGIARo, _smit: None}, + (_IAEm,), + ((lambda: IMAGE_ANCESTRY_ENTRY_LIST, {_aQN: _IAES, _sN: _iAES}),), +) + +GET_IMAGE_ANCESTRY: StaticOperationSchema = ( + 23, + n0, + _GIAe, + 0, + GET_IMAGE_ANCESTRY_INPUT, + GET_IMAGE_ANCESTRY_OUTPUT, + (), +) + +IMAGE_ANCESTRY_ENTRY: StaticSchema = ( + 18, + n0, + _IAE, + 0, + (_CDre, _IIm, _IOA, _SII, _SIR), + ( + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CDre, _sN: _cDre}), + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.STRING, {_aQN: _IOA, _sN: _iOA}), + (lambda: schemas.IMAGE_ID, {_aQN: _SII, _sN: _sII}), + (lambda: schemas.STRING, {_aQN: _SIR, _sN: _sIR}), + ), +) + +IMAGE_ANCESTRY_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _IAEL, + 0, + (_me,), + ((IMAGE_ANCESTRY_ENTRY, {_sN: _i}),), +) + +GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_INPUT: StaticSchema = ( + 18, + n0, + _GIBPASI, + {_sSI: _cGIBPASR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GIBPASO, + {_sSI: _cGIBPASRo, _smit: None}, + (_IBPAS, _MB), + ( + (lambda: schemas.STRING, {_aQN: _IBPAS, _sN: _iBPAS}), + (lambda: schemas.MANAGED_BY, {_aQN: _MB, _sN: _mB}), + ), +) + +GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE: StaticOperationSchema = ( + 23, + n0, + _GIBPAS, + 0, + GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_INPUT, + GET_IMAGE_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT, + (), +) + +GET_IMAGE_FINDINGS_MAX_RESULTS: StaticSchema = (7, n0, _GIFMR, 0) + +GET_IMAGE_FINDINGS_INPUT: StaticSchema = ( + 18, + n0, + _GIFI, + {_sSI: _cGIFR, _sm: None}, + (_IIm, _MR, _NTex, _DR), + ( + (lambda: schemas.IMAGE_ID, 1), + (GET_IMAGE_FINDINGS_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_IMAGE_FINDINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIFO, + {_sSI: _cGIFRo, _smit: None}, + (_IFma, _NTex), + ( + (lambda: GET_IMAGE_FINDINGS_ENTRY_SET, {_aQN: _IFS, _sN: _iFS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IMAGE_FINDINGS: StaticOperationSchema = ( + 23, + n0, + _GIF, + 0, + GET_IMAGE_FINDINGS_INPUT, + GET_IMAGE_FINDINGS_OUTPUT, + (), +) + +IMAGE_FINDING_PATH_SET: StaticSchema = ( + 16, + n0, + _IFPS, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +IMAGE_FINDING: StaticSchema = ( + 18, + n0, + _IFm, + 0, + (_FAix, _Scor, _FOAi, _UA, _Tit, _Pat, _SLe, _SIn), + ( + (lambda: schemas.BOOLEAN, {_aQN: _FAix, _sN: _fAix}), + (lambda: schemas.DOUBLE, {_aQN: _Scor, _sN: _scor}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _FOAi, _sN: _fOA}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _UA, _sN: _uA}), + (lambda: schemas.STRING, {_aQN: _Tit, _sN: _tit}), + (IMAGE_FINDING_PATH_SET, {_aQN: _PSat, _sN: _pSa}), + (lambda: schemas.SEVERITY_LABEL, {_aQN: _SLe, _sN: _sLe}), + (lambda: schemas.SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), + ), +) + +GET_IMAGE_FINDINGS_ENTRY_SET: StaticSchema = ( + 16, + n0, + _GIFES, + 0, + (_me,), + ((IMAGE_FINDING, {_sN: _i}),), +) + +GET_INSTANCE_METADATA_DEFAULTS_INPUT: StaticSchema = ( + 18, + n0, + _GIMDI, + {_sSI: _cGIMDR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_INSTANCE_METADATA_DEFAULTS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIMDO, + {_sSI: _cGIMDRo, _smit: None}, + (_ALcc,), + ((lambda: INSTANCE_METADATA_DEFAULTS_RESPONSE, {_aQN: _ALcc, _sN: _aLc}),), +) + +GET_INSTANCE_METADATA_DEFAULTS: StaticOperationSchema = ( + 23, + n0, + _GIMD, + 0, + GET_INSTANCE_METADATA_DEFAULTS_INPUT, + GET_INSTANCE_METADATA_DEFAULTS_OUTPUT, + (), +) + +HTTP_TOKENS_ENFORCED_STATE: StaticSchema = ( + 14, + n0, + _HTES, + 0, + (_d, _ena), + ((-1, {_sV: _d}), (-1, {_sV: _ena})), +) + +INSTANCE_METADATA_DEFAULTS_RESPONSE: StaticSchema = ( + 18, + n0, + _IMDR, + 0, + (_HTt, _HPRHL, _HE, _IMT, _MB, _MEM, _HTE), + ( + (lambda: schemas.HTTP_TOKENS_STATE, {_aQN: _HTt, _sN: _hTt}), + (lambda: schemas.BOXED_INTEGER, {_aQN: _HPRHL, _sN: _hPRHL}), + (lambda: schemas.INSTANCE_METADATA_ENDPOINT_STATE, {_aQN: _HE, _sN: _hE}), + (lambda: schemas.INSTANCE_METADATA_TAGS_STATE, {_aQN: _IMT, _sN: _iMT}), + (lambda: schemas.MANAGED_BY, {_aQN: _MB, _sN: _mB}), + (lambda: schemas.STRING, {_aQN: _MEM, _sN: _mEM}), + (HTTP_TOKENS_ENFORCED_STATE, {_aQN: _HTE, _sN: _hTE}), + ), +) + +EK_PUB_KEY_FORMAT: StaticSchema = ( + 14, + n0, + _EPKF, + 0, + (_der_, _tpm), + ((-1, {_sV: _der_}), (-1, {_sV: _tpm})), +) + +EK_PUB_KEY_TYPE: StaticSchema = ( + 14, + n0, + _EPKT, + 0, + (_R_, _ESP), + ( + ( + -1, + { + _sV: _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _esp}), + ), +) + +GET_INSTANCE_TPM_EK_PUB_INPUT: StaticSchema = ( + 18, + n0, + _GITEPI, + {_sSI: _cGITEPR, _sm: None}, + (_II, _KT, _KF, _DR), + ( + (lambda: schemas.INSTANCE_ID, {_sN: _II, _smi: None}), + (EK_PUB_KEY_TYPE, 1), + (EK_PUB_KEY_FORMAT, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_INSTANCE_TPM_EK_PUB_OUTPUT: StaticSchema = ( + 18, + n0, + _GITEPO, + {_sSI: _cGITEPRo, _smit: None}, + (_II, _KT, _KF, _KV), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (EK_PUB_KEY_TYPE, {_aQN: _KT, _sN: _kT}), + (EK_PUB_KEY_FORMAT, {_aQN: _KF, _sN: _kFe}), + (lambda: EK_PUB_KEY_VALUE, {_aQN: _KV, _sN: _kV}), + ), +) + +GET_INSTANCE_TPM_EK_PUB: StaticOperationSchema = ( + 23, + n0, + _GITEP, + 0, + GET_INSTANCE_TPM_EK_PUB_INPUT, + GET_INSTANCE_TPM_EK_PUB_OUTPUT, + (), +) + +EK_PUB_KEY_VALUE: StaticSchema = (3, n0, _EPKV, 4) + +GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_INPUT: StaticSchema = ( + 18, + n0, + _GITFIRI, + {_sSI: _cGITFIRR, _sm: None}, + (_DR, _ATrc, _VTir, _IRn, _MR, _NTex, _Con), + ( + (lambda: schemas.BOOLEAN, 0), + (ARCHITECTURE_TYPE_SET, {_sN: _ATr, _smi: None}), + (VIRTUALIZATION_TYPE_SET, {_sN: _VTi, _smi: None}), + (lambda: schemas.INSTANCE_REQUIREMENTS_REQUEST, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _GITFIRO, + {_sSI: _cGITFIRRo, _smit: None}, + (_ITnsta, _NTex), + ( + ( + lambda: INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS_SET, + {_aQN: _ITSns, _sN: _iTSns}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS: StaticOperationSchema = ( + 23, + n0, + _GITFIR, + 0, + GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_INPUT, + GET_INSTANCE_TYPES_FROM_INSTANCE_REQUIREMENTS_OUTPUT, + (), +) + +INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS: StaticSchema = ( + 18, + n0, + _ITIFIR, + 0, + (_IT,), + ((lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}),), +) + +INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS_SET: StaticSchema = ( + 16, + n0, + _ITIFIRS, + 0, + (_me,), + ((INSTANCE_TYPE_INFO_FROM_INSTANCE_REQUIREMENTS, {_sN: _i}),), +) + +GET_INSTANCE_UEFI_DATA_INPUT: StaticSchema = ( + 18, + n0, + _GIUDI, + {_sSI: _cGIUDR, _sm: None}, + (_II, _DR), + ( + (lambda: schemas.INSTANCE_ID, {_sN: _II, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_INSTANCE_UEFI_DATA_OUTPUT: StaticSchema = ( + 18, + n0, + _GIUDO, + {_sSI: _cGIUDRo, _smit: None}, + (_II, _UDe), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: SENSITIVE_STRING, {_aQN: _UDe, _sN: _uDe}), + ), +) + +GET_INSTANCE_UEFI_DATA: StaticOperationSchema = ( + 23, + n0, + _GIUD, + 0, + GET_INSTANCE_UEFI_DATA_INPUT, + GET_INSTANCE_UEFI_DATA_OUTPUT, + (), +) + +SENSITIVE_STRING: StaticSchema = (3, n0, _SSen, 4) + +IPAM_ADDRESS_HISTORY_MAX_RESULTS: StaticSchema = (7, n0, _IAHMR, 0) + +GET_IPAM_ADDRESS_HISTORY_INPUT: StaticSchema = ( + 18, + n0, + _GIAHI, + {_sSI: _cGIAHR, _sm: None}, + (_DR, _Ci, _ISI, _VI, _ST, _ETnd, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.IPAM_SCOPE_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (IPAM_ADDRESS_HISTORY_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_ADDRESS_HISTORY_OUTPUT: StaticSchema = ( + 18, + n0, + _GIAHO, + {_sSI: _cGIAHRo, _smit: None}, + (_HRi, _NTex), + ( + (lambda: schemas.IPAM_ADDRESS_HISTORY_RECORD_SET, {_aQN: _HRS, _sN: _hRS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_ADDRESS_HISTORY: StaticOperationSchema = ( + 23, + n0, + _GIAH, + 0, + GET_IPAM_ADDRESS_HISTORY_INPUT, + GET_IPAM_ADDRESS_HISTORY_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_42.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_42.py new file mode 100644 index 000000000..40d49aed4 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_42.py @@ -0,0 +1,1556 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_ins = "instance" +_ni = "network_interface" +_ni_ = "network-interface" +_su = "subnet" +_vp = "vpc" +_Ke = "Key" +_ke = "key" +_Va = "Value" +_va = "value" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_Ad = "Address" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_av = "available" +_St = "State" +_st = "state" +_ass = "associated" +_dis = "disassociated" +_SIu = "SubnetId" +_sI = "subnetId" +_RIe = "ResourceId" +_rI = "resourceId" +_ROI = "ResourceOwnerId" +_rOI = "resourceOwnerId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_VI = "VpcId" +_vI = "vpcId" +_Ci = "Cidr" +_ci = "cidr" +_ad = "address" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SGe = "SecurityGroups" +_SGS = "SecurityGroupSet" +_sGS = "securityGroupSet" +_unm = "unmanaged" +_Ser = "Service" +_al = "alb" +_rn = "rnat" +_rd = "rds" +_NBG = "NetworkBorderGroup" +_nBG = "networkBorderGroup" +_Asn = "Asn" +_asn = "asn" +_IPI = "IpamPoolId" +_adv = "advertised" +_dep = "deprovisioned" +_fd__ = "failed_deprovision" +_fd___ = "failed-deprovision" +_fp = "failed_provision" +_fp_ = "failed-provision" +_pa____ = "pending_advertising" +_pa_____ = "pending-advertising" +_pd__ = "pending_deprovision" +_pd___ = "pending-deprovision" +_pp = "pending_provision" +_pp_ = "pending-provision" +_pw = "pending_withdrawal" +_pw_ = "pending-withdrawal" +_prov = "provisioned" +_pnpa = "provisioned_not_publicly_advertisable" +_pnpa_ = "provisioned-not-publicly-advertisable" +_ATdv = "AdvertisementType" +_aTd = "advertisementType" +_PIo = "PoolId" +_pIo = "poolId" +_iPI = "ipamPoolId" +_IPAI = "IpamPoolAllocationId" +_eip = "eip" +_RR = "ResourceRegion" +_rR = "resourceRegion" +_ROe = "ResourceOwner" +_rOe = "resourceOwner" +_ASs = "AssociationStatus" +_ASSOCIATED = "ASSOCIATED" +_DISASSOCIATED = "DISASSOCIATED" +_IRDI = "IpamResourceDiscoveryId" +_iRDI = "ipamResourceDiscoveryId" +_GIr = "GroupId" +_ISp = "IpSource" +_ama = "amazon" +_b = "byoip" +_no = "none" +_iSp = "ipSource" +_gIr = "groupId" +_GN = "GroupName" +_gN = "groupName" +_IIRAI = "IpamInternetRegistryAssociationId" +_iu = "in_use" +_iu_ = "in-use" +_Ve = "Version" +_ver = "version" +_regi = "regional" +_AIcco = "AccountId" +_ISI = "IpamScopeId" +_IPIp = "IpamPolicyId" +_iPIp = "ipamPolicyId" +_Loc = "Locale" +_SIPI = "SourceIpamPoolId" +_sIPI = "sourceIpamPoolId" +_loc = "locale" +_Ope = "Operation" +_RTeso = "ResourceTag" +_RTu = "RuleType" +_SCt = "StaticCidr" +_Condi = "Conditions" +_Rul = "Rules" +_IPLRI = "IpamPrefixListResolverId" +_iSI = "ipamScopeId" +_Ent = "Entries" +_ESn = "EntrySet" +_eSn = "entrySet" +_FRa = "FailureReason" +_fRa = "failureReason" +_lb_ = "load-balancer" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_tags = "tags" +_aIc = "accountId" +_IMRp = "IpamMaxResults" +_IPASp = "IpamPoolAllocationSet" +_IPApam = "IpamPoolAllocations" +_iPAS = "ipamPoolAllocationSet" +_OTI = "OrganizationTargetId" +_ICSp = "IpamComplianceStatus" +_complia = "compliant" +_non = "noncompliant" +_ign = "ignored" +_IOSp = "IpamOverlapStatus" +_ove = "overlapping" +_nono = "nonoverlapping" +_IAHRT = "IpamAddressHistoryResourceType" +_IAHR = "IpamAddressHistoryRecord" +_RCes = "ResourceCidr" +_rCes = "resourceCidr" +_RNes = "ResourceName" +_rNes = "resourceName" +_RCS = "ResourceComplianceStatus" +_rCS = "resourceComplianceStatus" +_ROSe = "ResourceOverlapStatus" +_rOSe = "resourceOverlapStatus" +_SST = "SampledStartTime" +_sST = "sampledStartTime" +_SET = "SampledEndTime" +_sET = "sampledEndTime" +_IAHRS = "IpamAddressHistoryRecordSet" +_GIDAI = "GetIpamDiscoveredAccountsInput" +_cGIDAR = "com.amazonaws.ec2#GetIpamDiscoveredAccountsRequest" +_DRi = "DiscoveryRegion" +_IDFC = "IpamDiscoveryFailureCode" +_arf = "assume_role_failure" +_arf_ = "assume-role-failure" +_tf__ = "throttling_failure" +_tf___ = "throttling-failure" +_uf__ = "unauthorized_failure" +_uf___ = "unauthorized-failure" +_IDFR = "IpamDiscoveryFailureReason" +_IDA = "IpamDiscoveredAccount" +_dRi = "discoveryRegion" +_LADT = "LastAttemptedDiscoveryTime" +_lADT = "lastAttemptedDiscoveryTime" +_LSDT = "LastSuccessfulDiscoveryTime" +_lSDT = "lastSuccessfulDiscoveryTime" +_OUI = "OrganizationalUnitId" +_oUI = "organizationalUnitId" +_IDAS = "IpamDiscoveredAccountSet" +_GIDAO = "GetIpamDiscoveredAccountsOutput" +_cGIDARo = "com.amazonaws.ec2#GetIpamDiscoveredAccountsResult" +_IDAp = "IpamDiscoveredAccounts" +_iDAS = "ipamDiscoveredAccountSet" +_GIDA = "GetIpamDiscoveredAccounts" +_GIDPAI = "GetIpamDiscoveredPublicAddressesInput" +_cGIDPAR = "com.amazonaws.ec2#GetIpamDiscoveredPublicAddressesRequest" +_ARd = "AddressRegion" +_IPAT = "IpamPublicAddressType" +_SMI = "SERVICE_MANAGED_IP" +_smi_ = "service-managed-ip" +_SMB = "SERVICE_MANAGED_BYOIP" +_smb = "service-managed-byoip" +_AOE = "AMAZON_OWNED_EIP" +_aoe = "amazon-owned-eip" +_AOC = "AMAZON_OWNED_CONTIG" +_aoc = "amazon-owned-contig" +_BYOIP = "BYOIP" +_EPI_ = "EC2_PUBLIC_IP" +_epi = "ec2-public-ip" +_AILI = "ANYCAST_IP_LIST_IP" +_aili = "anycast-ip-list-ip" +_IPAAS = "IpamPublicAddressAssociationStatus" +_IPASG = "IpamPublicAddressSecurityGroup" +_IPASGL = "IpamPublicAddressSecurityGroupList" +_IPAASp = "IpamPublicAddressAwsService" +_NG_ = "NAT_GATEWAY" +_ng = "nat-gateway" +_DMS = "DMS" +_dms = "database-migration-service" +_REDSHIFT = "REDSHIFT" +_red = "redshift" +_ECS_ = "ECS" +_ecs = "elastic-container-service" +_RDS_ = "RDS" +_rds = "relational-database-service" +_SV_ = "S2S_VPN" +_stsv = "site-to-site-vpn" +_EL_ = "EC2_LB" +_AGA = "AGA" +_ga_ = "global-accelerator" +_CLOUDFRONT = "CLOUDFRONT" +_clo = "cloudfront" +_OTHER = "OTHER" +_oth = "other" +_IPATp = "IpamPublicAddressTag" +_IPATL = "IpamPublicAddressTagList" +_IPATpa = "IpamPublicAddressTags" +_ETi = "EipTags" +_ETSi = "EipTagSet" +_eTSi = "eipTagSet" +_IDPA = "IpamDiscoveredPublicAddress" +_aRd = "addressRegion" +_AOI = "AddressOwnerId" +_aOI = "addressOwnerId" +_AAId = "AddressAllocationId" +_aAId = "addressAllocationId" +_aSsso = "associationStatus" +_ATddre = "AddressType" +_aTddr = "addressType" +_ser = "service" +_SRerv = "ServiceResource" +_sRer = "serviceResource" +_PIPI = "PublicIpv4PoolId" +_pIPI = "publicIpv4PoolId" +_NID = "NetworkInterfaceDescription" +_nID = "networkInterfaceDescription" +_STa = "SampleTime" +_sTa = "sampleTime" +_IDPAS = "IpamDiscoveredPublicAddressSet" +_GIDPAO = "GetIpamDiscoveredPublicAddressesOutput" +_cGIDPARo = "com.amazonaws.ec2#GetIpamDiscoveredPublicAddressesResult" +_IDPAp = "IpamDiscoveredPublicAddresses" +_iDPAS = "ipamDiscoveredPublicAddressSet" +_OST = "OldestSampleTime" +_oST = "oldestSampleTime" +_GIDPA = "GetIpamDiscoveredPublicAddresses" +_GIDRCI = "GetIpamDiscoveredResourceCidrsInput" +_cGIDRCR = "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrsRequest" +_IRCIS = "IpamResourceCidrIpSource" +_BD = "BoxedDouble" +_INIAS = "IpamNetworkInterfaceAttachmentStatus" +_IDRC = "IpamDiscoveredResourceCidr" +_RTesou = "ResourceTags" +_RTSes = "ResourceTagSet" +_rTSes = "resourceTagSet" +_IUp = "IpUsage" +_iU = "ipUsage" +_NIASetw = "NetworkInterfaceAttachmentStatus" +_nIASet = "networkInterfaceAttachmentStatus" +_IDRCS = "IpamDiscoveredResourceCidrSet" +_GIDRCO = "GetIpamDiscoveredResourceCidrsOutput" +_cGIDRCRo = "com.amazonaws.ec2#GetIpamDiscoveredResourceCidrsResult" +_IDRCp = "IpamDiscoveredResourceCidrs" +_iDRCS = "ipamDiscoveredResourceCidrSet" +_GIDRC = "GetIpamDiscoveredResourceCidrs" +_GIDRI = "GetIpamDiscoveredRoutesInput" +_cGIDRR = "com.amazonaws.ec2#GetIpamDiscoveredRoutesRequest" +_IBAT = "IpamByoipAdvertisementType" +_glo = "global" +_IBCS = "IpamByoipCidrState" +_IDRp = "IpamDiscoveredRoute" +_IDRS = "IpamDiscoveredRouteSet" +_GIDRO = "GetIpamDiscoveredRoutesOutput" +_cGIDRRo = "com.amazonaws.ec2#GetIpamDiscoveredRoutesResult" +_IDRpa = "IpamDiscoveredRoutes" +_iDRS = "ipamDiscoveredRouteSet" +_GIDR = "GetIpamDiscoveredRoutes" +_GIIRAAI = "GetIpamInternetRegistryAssociationAsnsInput" +_cGIIRAAR = "com.amazonaws.ec2#GetIpamInternetRegistryAssociationAsnsRequest" +_IIRAAp = "IpamInternetRegistryAssociationAsn" +_LOA = "LastObservedAt" +_lOA = "lastObservedAt" +_IIRAAS = "IpamInternetRegistryAssociationAsnSet" +_GIIRAAO = "GetIpamInternetRegistryAssociationAsnsOutput" +_cGIIRAARo = "com.amazonaws.ec2#GetIpamInternetRegistryAssociationAsnsResult" +_IIRAApa = "IpamInternetRegistryAssociationAsns" +_iIRAAS = "ipamInternetRegistryAssociationAsnSet" +_GIIRAA = "GetIpamInternetRegistryAssociationAsns" +_GIIRACI = "GetIpamInternetRegistryAssociationCidrsInput" +_cGIIRACR = "com.amazonaws.ec2#GetIpamInternetRegistryAssociationCidrsRequest" +_IIRAC = "IpamInternetRegistryAssociationCidr" +_IIRACS = "IpamInternetRegistryAssociationCidrSet" +_GIIRACO = "GetIpamInternetRegistryAssociationCidrsOutput" +_cGIIRACRo = "com.amazonaws.ec2#GetIpamInternetRegistryAssociationCidrsResult" +_IIRACp = "IpamInternetRegistryAssociationCidrs" +_iIRACS = "ipamInternetRegistryAssociationCidrSet" +_GIIRAC = "GetIpamInternetRegistryAssociationCidrs" +_IPRT = "IpamPolicyResourceType" +_GIPARI = "GetIpamPolicyAllocationRulesInput" +_cGIPARR = "com.amazonaws.ec2#GetIpamPolicyAllocationRulesRequest" +_IPAR = "IpamPolicyAllocationRule" +_IPARL = "IpamPolicyAllocationRuleList" +_IPD = "IpamPolicyDocument" +_ARllo = "AllocationRules" +_ARSl = "AllocationRuleSet" +_aRSl = "allocationRuleSet" +_IPDS = "IpamPolicyDocumentSet" +_GIPARO = "GetIpamPolicyAllocationRulesOutput" +_cGIPARRo = "com.amazonaws.ec2#GetIpamPolicyAllocationRulesResult" +_IPDp = "IpamPolicyDocuments" +_iPDS = "ipamPolicyDocumentSet" +_GIPAR = "GetIpamPolicyAllocationRules" +_GIPOTI = "GetIpamPolicyOrganizationTargetsInput" +_cGIPOTR = "com.amazonaws.ec2#GetIpamPolicyOrganizationTargetsRequest" +_IPOT = "IpamPolicyOrganizationTarget" +_oTI = "organizationTargetId" +_IPOTS = "IpamPolicyOrganizationTargetSet" +_GIPOTO = "GetIpamPolicyOrganizationTargetsOutput" +_cGIPOTRo = "com.amazonaws.ec2#GetIpamPolicyOrganizationTargetsResult" +_OTrg = "OrganizationTargets" +_OTS = "OrganizationTargetSet" +_oTS = "organizationTargetSet" +_GIPOT = "GetIpamPolicyOrganizationTargets" +_GIPAMR = "GetIpamPoolAllocationsMaxResults" +_GIPAI = "GetIpamPoolAllocationsInput" +_cGIPAR = "com.amazonaws.ec2#GetIpamPoolAllocationsRequest" +_GIPAO = "GetIpamPoolAllocationsOutput" +_cGIPARo = "com.amazonaws.ec2#GetIpamPoolAllocationsResult" +_GIPA = "GetIpamPoolAllocations" +_GIPCI = "GetIpamPoolCidrsInput" +_cGIPCR = "com.amazonaws.ec2#GetIpamPoolCidrsRequest" +_IPCSp = "IpamPoolCidrSet" +_GIPCO = "GetIpamPoolCidrsOutput" +_cGIPCRo = "com.amazonaws.ec2#GetIpamPoolCidrsResult" +_IPCpam = "IpamPoolCidrs" +_iPCS = "ipamPoolCidrSet" +_GIPC = "GetIpamPoolCidrs" +_GIPLRRI = "GetIpamPrefixListResolverRulesInput" +_cGIPLRRR = "com.amazonaws.ec2#GetIpamPrefixListResolverRulesRequest" +_IPLRRC = "IpamPrefixListResolverRuleCondition" +_oper = "operation" +_rTes = "resourceTag" +_IPLRRCS = "IpamPrefixListResolverRuleConditionSet" +_IPLRR = "IpamPrefixListResolverRule" +_rTu = "ruleType" +_sCta = "staticCidr" +_CSond = "ConditionSet" +_cSon = "conditionSet" +_IPLRRS = "IpamPrefixListResolverRuleSet" +_GIPLRRO = "GetIpamPrefixListResolverRulesOutput" +_cGIPLRRRo = "com.amazonaws.ec2#GetIpamPrefixListResolverRulesResult" +_RSu = "RuleSet" +_rSu = "ruleSet" +_GIPLRR = "GetIpamPrefixListResolverRules" +_GIPLRVEI = "GetIpamPrefixListResolverVersionEntriesInput" +_cGIPLRVER = "com.amazonaws.ec2#GetIpamPrefixListResolverVersionEntriesRequest" +_IPLRV = "IpamPrefixListResolverVersion" +_IPLRVE = "IpamPrefixListResolverVersionEntry" +_IPLRVES = "IpamPrefixListResolverVersionEntrySet" +_GIPLRVEO = "GetIpamPrefixListResolverVersionEntriesOutput" +_cGIPLRVERo = "com.amazonaws.ec2#GetIpamPrefixListResolverVersionEntriesResult" +_GIPLRVE = "GetIpamPrefixListResolverVersionEntries" +_IPLRVNS = "IpamPrefixListResolverVersionNumberSet" +_GIPLRVI = "GetIpamPrefixListResolverVersionsInput" +_cGIPLRVR = "com.amazonaws.ec2#GetIpamPrefixListResolverVersionsRequest" +_IPLRVp = "IpamPrefixListResolverVersions" +_IPLRVS = "IpamPrefixListResolverVersionSet" +_GIPLRVO = "GetIpamPrefixListResolverVersionsOutput" +_cGIPLRVRo = "com.amazonaws.ec2#GetIpamPrefixListResolverVersionsResult" +_iPLRVS = "ipamPrefixListResolverVersionSet" +_GIPLRV = "GetIpamPrefixListResolverVersions" +_GIRCI = "GetIpamResourceCidrsInput" +_cGIRCR = "com.amazonaws.ec2#GetIpamResourceCidrsRequest" +_IRCS = "IpamResourceCidrSet" +_GIRCO = "GetIpamResourceCidrsOutput" +_cGIRCRo = "com.amazonaws.ec2#GetIpamResourceCidrsResult" +_IRCp = "IpamResourceCidrs" +_iRCS = "ipamResourceCidrSet" +_GIRC = "GetIpamResourceCidrs" + +IPAM_POLICY_ID: StaticSchema = (3, n0, _IPIp, 0) + +IPAM_MAX_RESULTS: StaticSchema = (7, n0, _IMRp, 0) + +IPAM_COMPLIANCE_STATUS: StaticSchema = ( + 14, + n0, + _ICSp, + 0, + (_complia, _non, _unm, _ign), + ((-1, {_sV: _complia}), (-1, {_sV: _non}), (-1, {_sV: _unm}), (-1, {_sV: _ign})), +) + +IPAM_OVERLAP_STATUS: StaticSchema = ( + 14, + n0, + _IOSp, + 0, + (_ove, _nono, _ign), + ((-1, {_sV: _ove}), (-1, {_sV: _nono}), (-1, {_sV: _ign})), +) + +IPAM_ADDRESS_HISTORY_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _IAHRT, + 0, + (_eip, _vp, _su, _ni, _ins), + ( + (-1, {_sV: _eip}), + (-1, {_sV: _vp}), + (-1, {_sV: _su}), + (-1, {_sV: _ni_}), + (-1, {_sV: _ins}), + ), +) + +IPAM_ADDRESS_HISTORY_RECORD: StaticSchema = ( + 18, + n0, + _IAHR, + 0, + (_ROI, _RR, _RT, _RIe, _RCes, _RNes, _RCS, _ROSe, _VI, _SST, _SET), + ( + (lambda: schemas.STRING, {_aQN: _ROI, _sN: _rOI}), + (lambda: schemas.STRING, {_aQN: _RR, _sN: _rR}), + (IPAM_ADDRESS_HISTORY_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.STRING, {_aQN: _RCes, _sN: _rCes}), + (lambda: schemas.STRING, {_aQN: _RNes, _sN: _rNes}), + (IPAM_COMPLIANCE_STATUS, {_aQN: _RCS, _sN: _rCS}), + (IPAM_OVERLAP_STATUS, {_aQN: _ROSe, _sN: _rOSe}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SST, _sN: _sST}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SET, _sN: _sET}), + ), +) + +IPAM_ADDRESS_HISTORY_RECORD_SET: StaticSchema = ( + 16, + n0, + _IAHRS, + 0, + (_me,), + ((IPAM_ADDRESS_HISTORY_RECORD, {_sN: _i}),), +) + +GET_IPAM_DISCOVERED_ACCOUNTS_INPUT: StaticSchema = ( + 18, + n0, + _GIDAI, + {_sSI: _cGIDAR, _sm: None}, + (_DR, _IRDI, _DRi, _Fil, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NEXT_TOKEN, 0), + (IPAM_MAX_RESULTS, 0), + ), +) + +GET_IPAM_DISCOVERED_ACCOUNTS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIDAO, + {_sSI: _cGIDARo, _smit: None}, + (_IDAp, _NTex), + ( + (lambda: IPAM_DISCOVERED_ACCOUNT_SET, {_aQN: _IDAS, _sN: _iDAS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_DISCOVERED_ACCOUNTS: StaticOperationSchema = ( + 23, + n0, + _GIDA, + 0, + GET_IPAM_DISCOVERED_ACCOUNTS_INPUT, + GET_IPAM_DISCOVERED_ACCOUNTS_OUTPUT, + (), +) + +IPAM_DISCOVERY_FAILURE_CODE: StaticSchema = ( + 14, + n0, + _IDFC, + 0, + (_arf, _tf__, _uf__), + ((-1, {_sV: _arf_}), (-1, {_sV: _tf___}), (-1, {_sV: _uf___})), +) + +IPAM_DISCOVERY_FAILURE_REASON: StaticSchema = ( + 18, + n0, + _IDFR, + 0, + (_C, _Me), + ( + (IPAM_DISCOVERY_FAILURE_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +IPAM_DISCOVERED_ACCOUNT: StaticSchema = ( + 18, + n0, + _IDA, + 0, + (_AIcco, _DRi, _FRa, _LADT, _LSDT, _OUI), + ( + (lambda: schemas.STRING, {_aQN: _AIcco, _sN: _aIc}), + (lambda: schemas.STRING, {_aQN: _DRi, _sN: _dRi}), + (IPAM_DISCOVERY_FAILURE_REASON, {_aQN: _FRa, _sN: _fRa}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LADT, _sN: _lADT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LSDT, _sN: _lSDT}), + (lambda: schemas.STRING, {_aQN: _OUI, _sN: _oUI}), + ), +) + +IPAM_DISCOVERED_ACCOUNT_SET: StaticSchema = ( + 16, + n0, + _IDAS, + 0, + (_me,), + ((IPAM_DISCOVERED_ACCOUNT, {_sN: _i}),), +) + +GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_INPUT: StaticSchema = ( + 18, + n0, + _GIDPAI, + {_sSI: _cGIDPAR, _sm: None}, + (_DR, _IRDI, _ARd, _Fil, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NEXT_TOKEN, 0), + (IPAM_MAX_RESULTS, 0), + ), +) + +GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_OUTPUT: StaticSchema = ( + 18, + n0, + _GIDPAO, + {_sSI: _cGIDPARo, _smit: None}, + (_IDPAp, _OST, _NTex), + ( + (lambda: IPAM_DISCOVERED_PUBLIC_ADDRESS_SET, {_aQN: _IDPAS, _sN: _iDPAS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _OST, _sN: _oST}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES: StaticOperationSchema = ( + 23, + n0, + _GIDPA, + 0, + GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_INPUT, + GET_IPAM_DISCOVERED_PUBLIC_ADDRESSES_OUTPUT, + (), +) + +IPAM_PUBLIC_ADDRESS_TYPE: StaticSchema = ( + 14, + n0, + _IPAT, + 0, + (_SMI, _SMB, _AOE, _AOC, _BYOIP, _EPI_, _AILI), + ( + (-1, {_sV: _smi_}), + (-1, {_sV: _smb}), + (-1, {_sV: _aoe}), + (-1, {_sV: _aoc}), + (-1, {_sV: _b}), + (-1, {_sV: _epi}), + (-1, {_sV: _aili}), + ), +) + +IPAM_PUBLIC_ADDRESS_ASSOCIATION_STATUS: StaticSchema = ( + 14, + n0, + _IPAAS, + 0, + (_ASSOCIATED, _DISASSOCIATED), + ((-1, {_sV: _ass}), (-1, {_sV: _dis})), +) + +IPAM_PUBLIC_ADDRESS_SECURITY_GROUP: StaticSchema = ( + 18, + n0, + _IPASG, + 0, + (_GN, _GIr), + ( + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + ), +) + +IPAM_PUBLIC_ADDRESS_SECURITY_GROUP_LIST: StaticSchema = ( + 16, + n0, + _IPASGL, + 0, + (_me,), + ((IPAM_PUBLIC_ADDRESS_SECURITY_GROUP, {_sN: _i}),), +) + +IPAM_PUBLIC_ADDRESS_AWS_SERVICE: StaticSchema = ( + 14, + n0, + _IPAASp, + 0, + (_NG_, _DMS, _REDSHIFT, _ECS_, _RDS_, _SV_, _EL_, _AGA, _CLOUDFRONT, _OTHER), + ( + (-1, {_sV: _ng}), + (-1, {_sV: _dms}), + (-1, {_sV: _red}), + (-1, {_sV: _ecs}), + (-1, {_sV: _rds}), + (-1, {_sV: _stsv}), + (-1, {_sV: _lb_}), + (-1, {_sV: _ga_}), + (-1, {_sV: _clo}), + (-1, {_sV: _oth}), + ), +) + +IPAM_PUBLIC_ADDRESS_TAG: StaticSchema = ( + 18, + n0, + _IPATp, + 0, + (_Ke, _Va), + ( + (lambda: schemas.STRING, {_aQN: _Ke, _sN: _ke}), + (lambda: schemas.STRING, {_aQN: _Va, _sN: _va}), + ), +) + +IPAM_PUBLIC_ADDRESS_TAG_LIST: StaticSchema = ( + 16, + n0, + _IPATL, + 0, + (_me,), + ((IPAM_PUBLIC_ADDRESS_TAG, {_sN: _i}),), +) + +IPAM_PUBLIC_ADDRESS_TAGS: StaticSchema = ( + 18, + n0, + _IPATpa, + 0, + (_ETi,), + ((IPAM_PUBLIC_ADDRESS_TAG_LIST, {_aQN: _ETSi, _sN: _eTSi}),), +) + +IPAM_DISCOVERED_PUBLIC_ADDRESS: StaticSchema = ( + 18, + n0, + _IDPA, + 0, + ( + _IRDI, + _ARd, + _Ad, + _AOI, + _AAId, + _ASs, + _ATddre, + _Ser, + _SRerv, + _VI, + _SIu, + _PIPI, + _NII, + _NID, + _II, + _Tag, + _NBG, + _SGe, + _STa, + ), + ( + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), + (lambda: schemas.STRING, {_aQN: _ARd, _sN: _aRd}), + (lambda: schemas.STRING, {_aQN: _Ad, _sN: _ad}), + (lambda: schemas.STRING, {_aQN: _AOI, _sN: _aOI}), + (lambda: schemas.STRING, {_aQN: _AAId, _sN: _aAId}), + (IPAM_PUBLIC_ADDRESS_ASSOCIATION_STATUS, {_aQN: _ASs, _sN: _aSsso}), + (IPAM_PUBLIC_ADDRESS_TYPE, {_aQN: _ATddre, _sN: _aTddr}), + (IPAM_PUBLIC_ADDRESS_AWS_SERVICE, {_aQN: _Ser, _sN: _ser}), + (lambda: schemas.STRING, {_aQN: _SRerv, _sN: _sRer}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _PIPI, _sN: _pIPI}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.STRING, {_aQN: _NID, _sN: _nID}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (IPAM_PUBLIC_ADDRESS_TAGS, {_aQN: _Tag, _sN: _tags}), + (lambda: schemas.STRING, {_aQN: _NBG, _sN: _nBG}), + (IPAM_PUBLIC_ADDRESS_SECURITY_GROUP_LIST, {_aQN: _SGS, _sN: _sGS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _STa, _sN: _sTa}), + ), +) + +IPAM_DISCOVERED_PUBLIC_ADDRESS_SET: StaticSchema = ( + 16, + n0, + _IDPAS, + 0, + (_me,), + ((IPAM_DISCOVERED_PUBLIC_ADDRESS, {_sN: _i}),), +) + +GET_IPAM_DISCOVERED_RESOURCE_CIDRS_INPUT: StaticSchema = ( + 18, + n0, + _GIDRCI, + {_sSI: _cGIDRCR, _sm: None}, + (_DR, _IRDI, _RR, _Fil, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NEXT_TOKEN, 0), + (IPAM_MAX_RESULTS, 0), + ), +) + +GET_IPAM_DISCOVERED_RESOURCE_CIDRS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIDRCO, + {_sSI: _cGIDRCRo, _smit: None}, + (_IDRCp, _NTex), + ( + (lambda: IPAM_DISCOVERED_RESOURCE_CIDR_SET, {_aQN: _IDRCS, _sN: _iDRCS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_DISCOVERED_RESOURCE_CIDRS: StaticOperationSchema = ( + 23, + n0, + _GIDRC, + 0, + GET_IPAM_DISCOVERED_RESOURCE_CIDRS_INPUT, + GET_IPAM_DISCOVERED_RESOURCE_CIDRS_OUTPUT, + (), +) + +IPAM_RESOURCE_CIDR_IP_SOURCE: StaticSchema = ( + 14, + n0, + _IRCIS, + 0, + (_ama, _b, _no), + ((-1, {_sV: _ama}), (-1, {_sV: _b}), (-1, {_sV: _no})), +) + +BOXED_DOUBLE: StaticSchema = (10, n0, _BD, 0) + +IPAM_NETWORK_INTERFACE_ATTACHMENT_STATUS: StaticSchema = ( + 14, + n0, + _INIAS, + 0, + (_av, _iu), + ((-1, {_sV: _av}), (-1, {_sV: _iu_})), +) + +IPAM_DISCOVERED_RESOURCE_CIDR: StaticSchema = ( + 18, + n0, + _IDRC, + 0, + ( + _IRDI, + _RR, + _RIe, + _ROI, + _RCes, + _ISp, + _RT, + _RTesou, + _IUp, + _VI, + _SIu, + _NIASetw, + _STa, + _AZI, + ), + ( + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), + (lambda: schemas.STRING, {_aQN: _RR, _sN: _rR}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.STRING, {_aQN: _ROI, _sN: _rOI}), + (lambda: schemas.STRING, {_aQN: _RCes, _sN: _rCes}), + (IPAM_RESOURCE_CIDR_IP_SOURCE, {_aQN: _ISp, _sN: _iSp}), + (lambda: schemas.IPAM_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.IPAM_RESOURCE_TAG_LIST, {_aQN: _RTSes, _sN: _rTSes}), + (BOXED_DOUBLE, {_aQN: _IUp, _sN: _iU}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (IPAM_NETWORK_INTERFACE_ATTACHMENT_STATUS, {_aQN: _NIASetw, _sN: _nIASet}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _STa, _sN: _sTa}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + ), +) + +IPAM_DISCOVERED_RESOURCE_CIDR_SET: StaticSchema = ( + 16, + n0, + _IDRCS, + 0, + (_me,), + ((IPAM_DISCOVERED_RESOURCE_CIDR, {_sN: _i}),), +) + +GET_IPAM_DISCOVERED_ROUTES_INPUT: StaticSchema = ( + 18, + n0, + _GIDRI, + {_sSI: _cGIDRR, _sm: None}, + (_DR, _IRDI, _RR, _Fil, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NEXT_TOKEN, 0), + (IPAM_MAX_RESULTS, 0), + ), +) + +GET_IPAM_DISCOVERED_ROUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _GIDRO, + {_sSI: _cGIDRRo, _smit: None}, + (_IDRpa, _NTex), + ( + (lambda: IPAM_DISCOVERED_ROUTE_SET, {_aQN: _IDRS, _sN: _iDRS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_DISCOVERED_ROUTES: StaticOperationSchema = ( + 23, + n0, + _GIDR, + 0, + GET_IPAM_DISCOVERED_ROUTES_INPUT, + GET_IPAM_DISCOVERED_ROUTES_OUTPUT, + (), +) + +IPAM_BYOIP_ADVERTISEMENT_TYPE: StaticSchema = ( + 14, + n0, + _IBAT, + 0, + (_regi, _glo), + ((-1, {_sV: _regi}), (-1, {_sV: _glo})), +) + +IPAM_BYOIP_CIDR_STATE: StaticSchema = ( + 14, + n0, + _IBCS, + 0, + (_adv, _dep, _fd__, _fp, _pa____, _pd__, _pp, _pw, _prov, _pnpa), + ( + (-1, {_sV: _adv}), + (-1, {_sV: _dep}), + (-1, {_sV: _fd___}), + (-1, {_sV: _fp_}), + (-1, {_sV: _pa_____}), + (-1, {_sV: _pd___}), + (-1, {_sV: _pp_}), + (-1, {_sV: _pw_}), + (-1, {_sV: _prov}), + (-1, {_sV: _pnpa_}), + ), +) + +IPAM_DISCOVERED_ROUTE: StaticSchema = ( + 18, + n0, + _IDRp, + 0, + (_IRDI, _RR, _ROI, _Ci, _Asn, _St, _ATdv, _NBG, _PIo, _IPI, _STa), + ( + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, {_aQN: _IRDI, _sN: _iRDI}), + (lambda: schemas.STRING, {_aQN: _RR, _sN: _rR}), + (lambda: schemas.STRING, {_aQN: _ROI, _sN: _rOI}), + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.STRING, {_aQN: _Asn, _sN: _asn}), + (IPAM_BYOIP_CIDR_STATE, {_aQN: _St, _sN: _st}), + (IPAM_BYOIP_ADVERTISEMENT_TYPE, {_aQN: _ATdv, _sN: _aTd}), + (lambda: schemas.STRING, {_aQN: _NBG, _sN: _nBG}), + (lambda: schemas.STRING, {_aQN: _PIo, _sN: _pIo}), + (lambda: schemas.STRING, {_aQN: _IPI, _sN: _iPI}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _STa, _sN: _sTa}), + ), +) + +IPAM_DISCOVERED_ROUTE_SET: StaticSchema = ( + 16, + n0, + _IDRS, + 0, + (_me,), + ((IPAM_DISCOVERED_ROUTE, {_sN: _i}),), +) + +GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_INPUT: StaticSchema = ( + 18, + n0, + _GIIRAAI, + {_sSI: _cGIIRAAR, _sm: None}, + (_DR, _IIRAI, _MR, _NTex, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIIRAAO, + {_sSI: _cGIIRAARo, _smit: None}, + (_NTex, _IIRAApa), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ( + lambda: IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN_SET, + {_aQN: _IIRAAS, _sN: _iIRAAS}, + ), + ), +) + +GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS: StaticOperationSchema = ( + 23, + n0, + _GIIRAA, + 0, + GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_INPUT, + GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_ASNS_OUTPUT, + (), +) + +IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN: StaticSchema = ( + 18, + n0, + _IIRAAp, + 0, + (_Asn, _LOA), + ( + (lambda: schemas.STRING, {_aQN: _Asn, _sN: _asn}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LOA, _sN: _lOA}), + ), +) + +IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN_SET: StaticSchema = ( + 16, + n0, + _IIRAAS, + 0, + (_me,), + ((IPAM_INTERNET_REGISTRY_ASSOCIATION_ASN, {_sN: _i}),), +) + +GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_INPUT: StaticSchema = ( + 18, + n0, + _GIIRACI, + {_sSI: _cGIIRACR, _sm: None}, + (_DR, _IIRAI, _MR, _NTex, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIIRACO, + {_sSI: _cGIIRACRo, _smit: None}, + (_NTex, _IIRACp), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ( + lambda: IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR_SET, + {_aQN: _IIRACS, _sN: _iIRACS}, + ), + ), +) + +GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS: StaticOperationSchema = ( + 23, + n0, + _GIIRAC, + 0, + GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_INPUT, + GET_IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDRS_OUTPUT, + (), +) + +IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR: StaticSchema = ( + 18, + n0, + _IIRAC, + 0, + (_Ci, _LOA), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LOA, _sN: _lOA}), + ), +) + +IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR_SET: StaticSchema = ( + 16, + n0, + _IIRACS, + 0, + (_me,), + ((IPAM_INTERNET_REGISTRY_ASSOCIATION_CIDR, {_sN: _i}),), +) + +IPAM_POLICY_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _IPRT, + 0, + (_al, _eip, _rd, _rn), + ((-1, {_sV: _al}), (-1, {_sV: _eip}), (-1, {_sV: _rd}), (-1, {_sV: _rn})), +) + +GET_IPAM_POLICY_ALLOCATION_RULES_INPUT: StaticSchema = ( + 18, + n0, + _GIPARI, + {_sSI: _cGIPARR, _sm: None}, + (_DR, _IPIp, _Fil, _Loc, _RT, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (IPAM_POLICY_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.STRING, 0), + (IPAM_POLICY_RESOURCE_TYPE, 0), + (IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_POLICY_ALLOCATION_RULES_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPARO, + {_sSI: _cGIPARRo, _smit: None}, + (_IPDp, _NTex), + ( + (lambda: IPAM_POLICY_DOCUMENT_SET, {_aQN: _IPDS, _sN: _iPDS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_POLICY_ALLOCATION_RULES: StaticOperationSchema = ( + 23, + n0, + _GIPAR, + 0, + GET_IPAM_POLICY_ALLOCATION_RULES_INPUT, + GET_IPAM_POLICY_ALLOCATION_RULES_OUTPUT, + (), +) + +IPAM_POLICY_ALLOCATION_RULE: StaticSchema = ( + 18, + n0, + _IPAR, + 0, + (_SIPI,), + ((lambda: schemas.IPAM_POOL_ID, {_aQN: _SIPI, _sN: _sIPI}),), +) + +IPAM_POLICY_ALLOCATION_RULE_LIST: StaticSchema = ( + 16, + n0, + _IPARL, + 0, + (_me,), + ((IPAM_POLICY_ALLOCATION_RULE, {_sN: _i}),), +) + +IPAM_POLICY_DOCUMENT: StaticSchema = ( + 18, + n0, + _IPD, + 0, + (_IPIp, _Loc, _RT, _ARllo), + ( + (IPAM_POLICY_ID, {_aQN: _IPIp, _sN: _iPIp}), + (lambda: schemas.STRING, {_aQN: _Loc, _sN: _loc}), + (IPAM_POLICY_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (IPAM_POLICY_ALLOCATION_RULE_LIST, {_aQN: _ARSl, _sN: _aRSl}), + ), +) + +IPAM_POLICY_DOCUMENT_SET: StaticSchema = ( + 16, + n0, + _IPDS, + 0, + (_me,), + ((IPAM_POLICY_DOCUMENT, {_sN: _i}),), +) + +GET_IPAM_POLICY_ORGANIZATION_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _GIPOTI, + {_sSI: _cGIPOTR, _sm: None}, + (_DR, _MR, _NTex, _IPIp, _Fil), + ( + (lambda: schemas.BOOLEAN, 0), + (IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (IPAM_POLICY_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +GET_IPAM_POLICY_ORGANIZATION_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPOTO, + {_sSI: _cGIPOTRo, _smit: None}, + (_OTrg, _NTex), + ( + (lambda: IPAM_POLICY_ORGANIZATION_TARGET_SET, {_aQN: _OTS, _sN: _oTS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_POLICY_ORGANIZATION_TARGETS: StaticOperationSchema = ( + 23, + n0, + _GIPOT, + 0, + GET_IPAM_POLICY_ORGANIZATION_TARGETS_INPUT, + GET_IPAM_POLICY_ORGANIZATION_TARGETS_OUTPUT, + (), +) + +IPAM_POLICY_ORGANIZATION_TARGET: StaticSchema = ( + 18, + n0, + _IPOT, + 0, + (_OTI,), + ((lambda: schemas.STRING, {_aQN: _OTI, _sN: _oTI}),), +) + +IPAM_POLICY_ORGANIZATION_TARGET_SET: StaticSchema = ( + 16, + n0, + _IPOTS, + 0, + (_me,), + ((IPAM_POLICY_ORGANIZATION_TARGET, {_sN: _i}),), +) + +GET_IPAM_POOL_ALLOCATIONS_MAX_RESULTS: StaticSchema = (7, n0, _GIPAMR, 0) + +GET_IPAM_POOL_ALLOCATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GIPAI, + {_sSI: _cGIPAR, _sm: None}, + (_DR, _IPI, _IPAI, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.IPAM_POOL_ALLOCATION_ID, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (GET_IPAM_POOL_ALLOCATIONS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_POOL_ALLOCATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPAO, + {_sSI: _cGIPARo, _smit: None}, + (_IPApam, _NTex), + ( + (lambda: schemas.IPAM_POOL_ALLOCATION_SET, {_aQN: _IPASp, _sN: _iPAS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_POOL_ALLOCATIONS: StaticOperationSchema = ( + 23, + n0, + _GIPA, + 0, + GET_IPAM_POOL_ALLOCATIONS_INPUT, + GET_IPAM_POOL_ALLOCATIONS_OUTPUT, + (), +) + +GET_IPAM_POOL_CIDRS_INPUT: StaticSchema = ( + 18, + n0, + _GIPCI, + {_sSI: _cGIPCR, _sm: None}, + (_DR, _IPI, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_POOL_CIDRS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPCO, + {_sSI: _cGIPCRo, _smit: None}, + (_IPCpam, _NTex), + ( + (lambda: IPAM_POOL_CIDR_SET, {_aQN: _IPCSp, _sN: _iPCS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_POOL_CIDRS: StaticOperationSchema = ( + 23, + n0, + _GIPC, + 0, + GET_IPAM_POOL_CIDRS_INPUT, + GET_IPAM_POOL_CIDRS_OUTPUT, + (), +) + +IPAM_POOL_CIDR_SET: StaticSchema = ( + 16, + n0, + _IPCSp, + 0, + (_me,), + ((lambda: schemas.IPAM_POOL_CIDR, {_sN: _i}),), +) + +GET_IPAM_PREFIX_LIST_RESOLVER_RULES_INPUT: StaticSchema = ( + 18, + n0, + _GIPLRRI, + {_sSI: _cGIPLRRR, _sm: None}, + (_DR, _IPLRI, _Fil, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_PREFIX_LIST_RESOLVER_RULES_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPLRRO, + {_sSI: _cGIPLRRRo, _smit: None}, + (_Rul, _NTex), + ( + (lambda: IPAM_PREFIX_LIST_RESOLVER_RULE_SET, {_aQN: _RSu, _sN: _rSu}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_PREFIX_LIST_RESOLVER_RULES: StaticOperationSchema = ( + 23, + n0, + _GIPLRR, + 0, + GET_IPAM_PREFIX_LIST_RESOLVER_RULES_INPUT, + GET_IPAM_PREFIX_LIST_RESOLVER_RULES_OUTPUT, + (), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION: StaticSchema = ( + 18, + n0, + _IPLRRC, + 0, + (_Ope, _IPI, _RIe, _ROe, _RR, _RTeso, _Ci), + ( + ( + lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_OPERATION, + {_aQN: _Ope, _sN: _oper}, + ), + (lambda: schemas.STRING, {_aQN: _IPI, _sN: _iPI}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.STRING, {_aQN: _ROe, _sN: _rOe}), + (lambda: schemas.STRING, {_aQN: _RR, _sN: _rR}), + (lambda: schemas.IPAM_RESOURCE_TAG, {_aQN: _RTeso, _sN: _rTes}), + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + ), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_SET: StaticSchema = ( + 16, + n0, + _IPLRRCS, + 0, + (_me,), + ((IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION, {_sN: _i}),), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE: StaticSchema = ( + 18, + n0, + _IPLRR, + 0, + (_RTu, _SCt, _ISI, _RT, _Condi), + ( + (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_RULE_TYPE, {_aQN: _RTu, _sN: _rTu}), + (lambda: schemas.STRING, {_aQN: _SCt, _sN: _sCta}), + (lambda: schemas.IPAM_SCOPE_ID, {_aQN: _ISI, _sN: _iSI}), + (lambda: schemas.IPAM_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (IPAM_PREFIX_LIST_RESOLVER_RULE_CONDITION_SET, {_aQN: _CSond, _sN: _cSon}), + ), +) + +IPAM_PREFIX_LIST_RESOLVER_RULE_SET: StaticSchema = ( + 16, + n0, + _IPLRRS, + 0, + (_me,), + ((IPAM_PREFIX_LIST_RESOLVER_RULE, {_sN: _i}),), +) + +GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_INPUT: StaticSchema = ( + 18, + n0, + _GIPLRVEI, + {_sSI: _cGIPLRVER, _sm: None}, + (_DR, _IPLRI, _IPLRV, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_ID, 1), + (lambda: schemas.LONG, 1), + (IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPLRVEO, + {_sSI: _cGIPLRVERo, _smit: None}, + (_Ent, _NTex), + ( + (lambda: IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY_SET, {_aQN: _ESn, _sN: _eSn}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES: StaticOperationSchema = ( + 23, + n0, + _GIPLRVE, + 0, + GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_INPUT, + GET_IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRIES_OUTPUT, + (), +) + +IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY: StaticSchema = ( + 18, + n0, + _IPLRVE, + 0, + (_Ci,), + ((lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}),), +) + +IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY_SET: StaticSchema = ( + 16, + n0, + _IPLRVES, + 0, + (_me,), + ((IPAM_PREFIX_LIST_RESOLVER_VERSION_ENTRY, {_sN: _i}),), +) + +IPAM_PREFIX_LIST_RESOLVER_VERSION_NUMBER_SET: StaticSchema = ( + 16, + n0, + _IPLRVNS, + 0, + (_me,), + ((lambda: schemas.LONG, {_sN: _i}),), +) + +GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _GIPLRVI, + {_sSI: _cGIPLRVR, _sm: None}, + (_DR, _IPLRI, _IPLRVp, _MR, _Fil, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_ID, 1), + (IPAM_PREFIX_LIST_RESOLVER_VERSION_NUMBER_SET, {_sN: _IPLRV}), + (IPAM_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPLRVO, + {_sSI: _cGIPLRVRo, _smit: None}, + (_IPLRVp, _NTex), + ( + (lambda: IPAM_PREFIX_LIST_RESOLVER_VERSION_SET, {_aQN: _IPLRVS, _sN: _iPLRVS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _GIPLRV, + 0, + GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_INPUT, + GET_IPAM_PREFIX_LIST_RESOLVER_VERSIONS_OUTPUT, + (), +) + +IPAM_PREFIX_LIST_RESOLVER_VERSION: StaticSchema = ( + 18, + n0, + _IPLRV, + 0, + (_Ve,), + ((lambda: schemas.LONG, {_aQN: _Ve, _sN: _ver}),), +) + +IPAM_PREFIX_LIST_RESOLVER_VERSION_SET: StaticSchema = ( + 16, + n0, + _IPLRVS, + 0, + (_me,), + ((IPAM_PREFIX_LIST_RESOLVER_VERSION, {_sN: _i}),), +) + +GET_IPAM_RESOURCE_CIDRS_INPUT: StaticSchema = ( + 18, + n0, + _GIRCI, + {_sSI: _cGIRCR, _sm: None}, + (_DR, _Fil, _MR, _NTex, _ISI, _IPI, _RIe, _RT, _RTeso, _ROe), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.IPAM_SCOPE_ID, 1), + (lambda: schemas.IPAM_POOL_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPAM_RESOURCE_TYPE, 0), + (lambda: schemas.REQUEST_IPAM_RESOURCE_TAG, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_IPAM_RESOURCE_CIDRS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIRCO, + {_sSI: _cGIRCRo, _smit: None}, + (_NTex, _IRCp), + ( + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + (lambda: schemas.IPAM_RESOURCE_CIDR_SET, {_aQN: _IRCS, _sN: _iRCS}), + ), +) + +GET_IPAM_RESOURCE_CIDRS: StaticOperationSchema = ( + 23, + n0, + _GIRC, + 0, + GET_IPAM_RESOURCE_CIDRS_INPUT, + GET_IPAM_RESOURCE_CIDRS_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_43.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_43.py new file mode 100644 index 000000000..322f2b2d0 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_43.py @@ -0,0 +1,1635 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_RII = "ReservedInstanceId" +_IC = "InstanceCount" +_OI = "OfferingId" +_RIIe = "ReservedInstanceIds" +_TC = "TargetConfigurations" +_TCa = "TargetConfiguration" +_re = "rejected" +_St = "State" +_st = "state" +_RIe = "ResourceId" +_rI = "resourceId" +_ROI = "ResourceOwnerId" +_rOI = "resourceOwnerId" +_OIw = "OwnerId" +_oI = "ownerId" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_dRr = "dryRun" +_Ci = "Cidr" +_ci = "cidr" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_iI = "instanceId" +_PLI = "PrefixListId" +_NIASAI = "NetworkInsightsAccessScopeAnalysisId" +_NIASI = "NetworkInsightsAccessScopeId" +_nIASAI = "networkInsightsAccessScopeAnalysisId" +_MB = "ManagedBy" +_unm = "unmanaged" +_mB = "managedBy" +_IT = "InstanceType" +_RNe = "RegionName" +_Des = "Description" +_NBG = "NetworkBorderGroup" +_nBG = "networkBorderGroup" +_Asn = "Asn" +_asn = "asn" +_IPI = "IpamPoolId" +_desc = "description" +_ATdv = "AdvertisementType" +_aTd = "advertisementType" +_PIo = "PoolId" +_pIo = "poolId" +_iPI = "ipamPoolId" +_RR = "ResourceRegion" +_rR = "resourceRegion" +_ROe = "ResourceOwner" +_rOe = "resourceOwner" +_Ti = "Timestamp" +_ti = "timestamp" +_IIp = "IpamId" +_iIp = "ipamId" +_RSI = "RouteServerId" +_RTIo = "RouteTableId" +_rTIo = "routeTableId" +_GIr = "GroupId" +_gIr = "groupId" +_smith = "smithy.api#sensitive" +_GN = "GroupName" +_gN = "groupName" +_IIRAI = "IpamInternetRegistryAssociationId" +_DIe = "DeltaId" +_Pre = "Prefix" +_pre = "prefix" +_ST = "StartTime" +_iC = "instanceCount" +_CC = "CurrencyCode" +_cC = "currencyCode" +_man = "managed" +_SAZ = "SingleAvailabilityZone" +_TCUT = "TargetCapacityUnitType" +_cip = "create_in_progress" +_cip_ = "create-in-progress" +_cc_ = "create_complete" +_cc__ = "create-complete" +_dip_ = "delete_in_progress" +_dip__ = "delete-in-progress" +_dc_ = "delete_complete" +_dc__ = "delete-complete" +_uip = "update_in_progress" +_uip_ = "update-in-progress" +_uc = "update_complete" +_uc_ = "update-complete" +_ISI = "IpamScopeId" +_val = "valid" +_Asns = "Asns" +_PMSA = "PermitMoreSpecificAnnouncements" +_ML = "MaxLength" +_iSI = "ipamScopeId" +_LTD = "LaunchTemplateData" +_lTD = "launchTemplateData" +_Ent = "Entries" +_ESn = "EntrySet" +_eSn = "entrySet" +_NIASC = "NetworkInsightsAccessScopeContent" +_nIASC = "networkInsightsAccessScopeContent" +_RSEI = "RouteServerEndpointId" +_rSEI = "routeServerEndpointId" +_RSPI = "RouteServerPeerId" +_rSPI = "routeServerPeerId" +_Rout = "Routes" +_RSout = "RouteSet" +_rSou = "routeSet" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_ETnd = "EndTime" +_ITnsta = "InstanceTypes" +_HP = "HourlyPrice" +_hP = "hourlyPrice" +_oIf = "offeringId" +_inv = "invalid" +_unk = "unknown" +_ASn = "AnalysisStatus" +_RNeg = "RegionNames" +_tCa = "targetConfiguration" +_TCar = "TargetCapacity" +_SCAE = "SerialConsoleAccessEnabled" +_sCAE = "serialConsoleAccessEnabled" +_IRWM = "InstanceRequirementsWithMetadata" +_ign = "ignored" +_RCes = "ResourceCidr" +_rCes = "resourceCidr" +_RNes = "ResourceName" +_rNes = "resourceName" +_STa = "SampleTime" +_sTa = "sampleTime" +_RTesou = "ResourceTags" +_RTSes = "ResourceTagSet" +_rTSes = "resourceTagSet" +_IUp = "IpUsage" +_iU = "ipUsage" +_IMS = "IpamManagementState" +_IRC = "IpamResourceCidr" +_CSom = "ComplianceStatus" +_cSomp = "complianceStatus" +_MSa = "ManagementState" +_mSan = "managementState" +_OSv = "OverlapStatus" +_oSv = "overlapStatus" +_IRCS = "IpamResourceCidrSet" +_GIROAI = "GetIpamRouteOriginAuthorizationsInput" +_cGIROAR = "com.amazonaws.ec2#GetIpamRouteOriginAuthorizationsRequest" +_IROAI = "IpamRouteOriginAuthorizationInfo" +_mL = "maxLength" +_IROAIS = "IpamRouteOriginAuthorizationInfoSet" +_GIROAO = "GetIpamRouteOriginAuthorizationsOutput" +_cGIROARo = "com.amazonaws.ec2#GetIpamRouteOriginAuthorizationsResult" +_IROA = "IpamRouteOriginAuthorizations" +_IROAS = "IpamRouteOriginAuthorizationSet" +_iROAS = "ipamRouteOriginAuthorizationSet" +_GIROA = "GetIpamRouteOriginAuthorizations" +_GIRPFI = "GetIpamRouteProtectionFindingsInput" +_cGIRPFR = "com.amazonaws.ec2#GetIpamRouteProtectionFindingsRequest" +_IROAp = "IpamRouteOriginAuthorization" +_Mat = "Match" +_mat = "match" +_Expir = "Expiration" +_expi = "expiration" +_IRO = "IpamRouteOverlap" +_DAet = "DetectedAt" +_dAet = "detectedAt" +_IROS = "IpamRouteOverlapSet" +_IRSp = "IpamRpkiStatus" +_IRSpa = "IpamRpkiStrength" +_stri = "strict" +_permi = "permissive" +_IRPF = "IpamRouteProtectionFinding" +_RSp = "RpkiStatus" +_rSp = "rpkiStatus" +_RSpk = "RpkiStrength" +_rSpk = "rpkiStrength" +_Roa = "Roas" +_RSoa = "RoaSet" +_rSoa = "roaSet" +_ROou = "RouteOverlaps" +_ROSo = "RouteOverlapSet" +_rOSo = "routeOverlapSet" +_RSTo = "RoaSampleTime" +_rSTo = "roaSampleTime" +_IRPFS = "IpamRouteProtectionFindingSet" +_GIRPFO = "GetIpamRouteProtectionFindingsOutput" +_cGIRPFRo = "com.amazonaws.ec2#GetIpamRouteProtectionFindingsResult" +_RPF = "RouteProtectionFindings" +_RPFS = "RouteProtectionFindingSet" +_rPFS = "routeProtectionFindingSet" +_GIRPF = "GetIpamRouteProtectionFindings" +_COh = "ChronologicalOrder" +_forw = "forward" +_reve = "reverse" +_GIRPRDI = "GetIpamRoutingPolicyRegistrationDeltasInput" +_cGIRPRDR = "com.amazonaws.ec2#GetIpamRoutingPolicyRegistrationDeltasRequest" +_IRPRDSp = "IpamRoutingPolicyRegistrationDeltaSet" +_GIRPRDO = "GetIpamRoutingPolicyRegistrationDeltasOutput" +_cGIRPRDRo = "com.amazonaws.ec2#GetIpamRoutingPolicyRegistrationDeltasResult" +_IRPRDp = "IpamRoutingPolicyRegistrationDeltas" +_iRPRDS = "ipamRoutingPolicyRegistrationDeltaSet" +_GIRPRD = "GetIpamRoutingPolicyRegistrationDeltas" +_GIRPRI = "GetIpamRoutingPolicyRegistrationsInput" +_cGIRPRR = "com.amazonaws.ec2#GetIpamRoutingPolicyRegistrationsRequest" +_IRPRS = "IpamRoutingPolicyRegistrationState" +_pa________ = "pending_activate" +_pa_________ = "pending-activate" +_af______ = "activate_failed" +_af_______ = "activate-failed" +_IRPR = "IpamRoutingPolicyRegistration" +_ASsne = "AsnSet" +_aSsn = "asnSet" +_pMSA = "permitMoreSpecificAnnouncements" +_LDI = "LatestDeltaId" +_lDI = "latestDeltaId" +_IRPRSp = "IpamRoutingPolicyRegistrationSet" +_GIRPRO = "GetIpamRoutingPolicyRegistrationsOutput" +_cGIRPRRo = "com.amazonaws.ec2#GetIpamRoutingPolicyRegistrationsResult" +_IRPRp = "IpamRoutingPolicyRegistrations" +_iRPRS = "ipamRoutingPolicyRegistrationSet" +_GIRPR = "GetIpamRoutingPolicyRegistrations" +_GLTDI = "GetLaunchTemplateDataInput" +_cGLTDR = "com.amazonaws.ec2#GetLaunchTemplateDataRequest" +_GLTDO = "GetLaunchTemplateDataOutput" +_cGLTDRo = "com.amazonaws.ec2#GetLaunchTemplateDataResult" +_GLTD = "GetLaunchTemplateData" +_GMPLAMR = "GetManagedPrefixListAssociationsMaxResults" +_GMPLAI = "GetManagedPrefixListAssociationsInput" +_cGMPLAR = "com.amazonaws.ec2#GetManagedPrefixListAssociationsRequest" +_PLAr = "PrefixListAssociation" +_PLAS = "PrefixListAssociationSet" +_GMPLAO = "GetManagedPrefixListAssociationsOutput" +_cGMPLARo = "com.amazonaws.ec2#GetManagedPrefixListAssociationsResult" +_PLAre = "PrefixListAssociations" +_pLAS = "prefixListAssociationSet" +_GMPLA = "GetManagedPrefixListAssociations" +_GMPLEI = "GetManagedPrefixListEntriesInput" +_cGMPLER = "com.amazonaws.ec2#GetManagedPrefixListEntriesRequest" +_TVa = "TargetVersion" +_PLE = "PrefixListEntry" +_PLES = "PrefixListEntrySet" +_GMPLEO = "GetManagedPrefixListEntriesOutput" +_cGMPLERo = "com.amazonaws.ec2#GetManagedPrefixListEntriesResult" +_GMPLE = "GetManagedPrefixListEntries" +_GMRVI = "GetManagedResourceVisibilityInput" +_cGMRVR = "com.amazonaws.ec2#GetManagedResourceVisibilityRequest" +_MRDV = "ManagedResourceDefaultVisibility" +_hid = "hidden" +_vi = "visible" +_MRVS = "ManagedResourceVisibilitySettings" +_DVefa = "DefaultVisibility" +_dVefa = "defaultVisibility" +_GMRVO = "GetManagedResourceVisibilityOutput" +_cGMRVRo = "com.amazonaws.ec2#GetManagedResourceVisibilityResult" +_Vi = "Visibility" +_vis = "visibility" +_GMRV = "GetManagedResourceVisibility" +_GNIASAFMR = "GetNetworkInsightsAccessScopeAnalysisFindingsMaxResults" +_GNIASAFI = "GetNetworkInsightsAccessScopeAnalysisFindingsInput" +_cGNIASAFR = "com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsRequest" +_GNIASAFO = "GetNetworkInsightsAccessScopeAnalysisFindingsOutput" +_cGNIASAFRo = "com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsResult" +_aSn = "analysisStatus" +_AFn = "AnalysisFindings" +_AFS = "AnalysisFindingSet" +_aFS = "analysisFindingSet" +_GNIASAF = "GetNetworkInsightsAccessScopeAnalysisFindings" +_GNIASCI = "GetNetworkInsightsAccessScopeContentInput" +_cGNIASCR = "com.amazonaws.ec2#GetNetworkInsightsAccessScopeContentRequest" +_GNIASCO = "GetNetworkInsightsAccessScopeContentOutput" +_cGNIASCRo = "com.amazonaws.ec2#GetNetworkInsightsAccessScopeContentResult" +_GNIASC = "GetNetworkInsightsAccessScopeContent" +_GPDI = "GetPasswordDataInput" +_cGPDR = "com.amazonaws.ec2#GetPasswordDataRequest" +_PDa = "PasswordData" +_GPDO = "GetPasswordDataOutput" +_cGPDRo = "com.amazonaws.ec2#GetPasswordDataResult" +_pDa = "passwordData" +_GPD = "GetPasswordData" +_GRIEQI = "GetReservedInstancesExchangeQuoteInput" +_cGRIEQR = "com.amazonaws.ec2#GetReservedInstancesExchangeQuoteRequest" +_RVe = "ReservationValue" +_RTV = "RemainingTotalValue" +_rTV = "remainingTotalValue" +_RUV = "RemainingUpfrontValue" +_rUV = "remainingUpfrontValue" +_RIRV = "ReservedInstanceReservationValue" +_rVe = "reservationValue" +_rIIe = "reservedInstanceId" +_RIRVS = "ReservedInstanceReservationValueSet" +_TRV = "TargetReservationValue" +_TRVS = "TargetReservationValueSet" +_GRIEQO = "GetReservedInstancesExchangeQuoteOutput" +_cGRIEQRo = "com.amazonaws.ec2#GetReservedInstancesExchangeQuoteResult" +_IVEs = "IsValidExchange" +_iVE = "isValidExchange" +_ORIWEA = "OutputReservedInstancesWillExpireAt" +_oRIWEA = "outputReservedInstancesWillExpireAt" +_PDay = "PaymentDue" +_pDay = "paymentDue" +_RIVR = "ReservedInstanceValueRollup" +_rIVR = "reservedInstanceValueRollup" +_RIVS = "ReservedInstanceValueSet" +_rIVS = "reservedInstanceValueSet" +_TCVR = "TargetConfigurationValueRollup" +_tCVR = "targetConfigurationValueRollup" +_TCVS = "TargetConfigurationValueSet" +_tCVS = "targetConfigurationValueSet" +_VFR = "ValidationFailureReason" +_vFR = "validationFailureReason" +_GRIEQ = "GetReservedInstancesExchangeQuote" +_GRSAI = "GetRouteServerAssociationsInput" +_cGRSAR = "com.amazonaws.ec2#GetRouteServerAssociationsRequest" +_RSAL = "RouteServerAssociationsList" +_GRSAO = "GetRouteServerAssociationsOutput" +_cGRSARo = "com.amazonaws.ec2#GetRouteServerAssociationsResult" +_RSAo = "RouteServerAssociations" +_RSASo = "RouteServerAssociationSet" +_rSAS = "routeServerAssociationSet" +_GRSA = "GetRouteServerAssociations" +_GRSPI = "GetRouteServerPropagationsInput" +_cGRSPR = "com.amazonaws.ec2#GetRouteServerPropagationsRequest" +_RSPLo = "RouteServerPropagationsList" +_GRSPO = "GetRouteServerPropagationsOutput" +_cGRSPRo = "com.amazonaws.ec2#GetRouteServerPropagationsResult" +_RSPout = "RouteServerPropagations" +_RSPSout = "RouteServerPropagationSet" +_rSPSo = "routeServerPropagationSet" +_GRSP = "GetRouteServerPropagations" +_GRSRDI = "GetRouteServerRoutingDatabaseInput" +_cGRSRDR = "com.amazonaws.ec2#GetRouteServerRoutingDatabaseRequest" +_APs = "AsPath" +_RSRIS = "RouteServerRouteInstallationStatus" +_INSTALLED = "INSTALLED" +_instal = "installed" +_REJECTED = "REJECTED" +_RSRID = "RouteServerRouteInstallationDetail" +_RISo = "RouteInstallationStatus" +_rISo = "routeInstallationStatus" +_RISR = "RouteInstallationStatusReason" +_rISR = "routeInstallationStatusReason" +_RSRIDo = "RouteServerRouteInstallationDetails" +_RSRS = "RouteServerRouteStatus" +_IR_ = "IN_RIB" +_ir______ = "in-rib" +_IF___ = "IN_FIB" +_if__ = "in-fib" +_RSRo = "RouteServerRoute" +_RID = "RouteInstallationDetails" +_RIDS = "RouteInstallationDetailSet" +_rIDS = "routeInstallationDetailSet" +_RSoutet = "RouteStatus" +_rSout = "routeStatus" +_APsa = "AsPaths" +_APSs = "AsPathSet" +_aPS = "asPathSet" +_Med = "Med" +_med_ = "med" +_NHI = "NextHopIp" +_nHI = "nextHopIp" +_RSRL = "RouteServerRouteList" +_GRSRDO = "GetRouteServerRoutingDatabaseOutput" +_cGRSRDRo = "com.amazonaws.ec2#GetRouteServerRoutingDatabaseResult" +_ARP = "AreRoutesPersisted" +_aRP = "areRoutesPersisted" +_GRSRD = "GetRouteServerRoutingDatabase" +_GSGFVRMR = "GetSecurityGroupsForVpcRequestMaxResults" +_GSGFVI = "GetSecurityGroupsForVpcInput" +_cGSGFVR = "com.amazonaws.ec2#GetSecurityGroupsForVpcRequest" +_SGFV = "SecurityGroupForVpc" +_PVIr = "PrimaryVpcId" +_pVIr = "primaryVpcId" +_SGFVL = "SecurityGroupForVpcList" +_GSGFVO = "GetSecurityGroupsForVpcOutput" +_cGSGFVRo = "com.amazonaws.ec2#GetSecurityGroupsForVpcResult" +_SGFVe = "SecurityGroupForVpcs" +_SGFVS = "SecurityGroupForVpcSet" +_sGFVS = "securityGroupForVpcSet" +_GSGFV = "GetSecurityGroupsForVpc" +_GSCASI = "GetSerialConsoleAccessStatusInput" +_cGSCASR = "com.amazonaws.ec2#GetSerialConsoleAccessStatusRequest" +_GSCASO = "GetSerialConsoleAccessStatusOutput" +_cGSCASRo = "com.amazonaws.ec2#GetSerialConsoleAccessStatusResult" +_GSCAS = "GetSerialConsoleAccessStatus" +_GSBPASI = "GetSnapshotBlockPublicAccessStateInput" +_cGSBPASR = "com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateRequest" +_GSBPASO = "GetSnapshotBlockPublicAccessStateOutput" +_cGSBPASRo = "com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateResult" +_GSBPAS = "GetSnapshotBlockPublicAccessState" +_SPSMR = "SpotPlacementScoresMaxResults" +_SPSTC = "SpotPlacementScoresTargetCapacity" +_GSPSI = "GetSpotPlacementScoresInput" +_cGSPSR = "com.amazonaws.ec2#GetSpotPlacementScoresRequest" +_ILZ = "IncludeLocalZones" +_SPSpo = "SpotPlacementScores" +_GSPSO = "GetSpotPlacementScoresOutput" +_cGSPSRo = "com.amazonaws.ec2#GetSpotPlacementScoresResult" +_SPSS = "SpotPlacementScoreSet" +_sPSS = "spotPlacementScoreSet" +_GSPS = "GetSpotPlacementScores" + +IPAM_MANAGEMENT_STATE: StaticSchema = ( + 14, + n0, + _IMS, + 0, + (_man, _unm, _ign), + ((-1, {_sV: _man}), (-1, {_sV: _unm}), (-1, {_sV: _ign})), +) + +IPAM_RESOURCE_CIDR: StaticSchema = ( + 18, + n0, + _IRC, + 0, + ( + _IIp, + _ISI, + _IPI, + _RR, + _ROI, + _RIe, + _RNes, + _RCes, + _RT, + _RTesou, + _IUp, + _CSom, + _MSa, + _OSv, + _VI, + _AZI, + ), + ( + (lambda: schemas.IPAM_ID, {_aQN: _IIp, _sN: _iIp}), + (lambda: schemas.IPAM_SCOPE_ID, {_aQN: _ISI, _sN: _iSI}), + (lambda: schemas.IPAM_POOL_ID, {_aQN: _IPI, _sN: _iPI}), + (lambda: schemas.STRING, {_aQN: _RR, _sN: _rR}), + (lambda: schemas.STRING, {_aQN: _ROI, _sN: _rOI}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.STRING, {_aQN: _RNes, _sN: _rNes}), + (lambda: schemas.STRING, {_aQN: _RCes, _sN: _rCes}), + (lambda: schemas.IPAM_RESOURCE_TYPE, {_aQN: _RT, _sN: _rT}), + (lambda: schemas.IPAM_RESOURCE_TAG_LIST, {_aQN: _RTSes, _sN: _rTSes}), + (lambda: schemas.BOXED_DOUBLE, {_aQN: _IUp, _sN: _iU}), + (lambda: schemas.IPAM_COMPLIANCE_STATUS, {_aQN: _CSom, _sN: _cSomp}), + (IPAM_MANAGEMENT_STATE, {_aQN: _MSa, _sN: _mSan}), + (lambda: schemas.IPAM_OVERLAP_STATUS, {_aQN: _OSv, _sN: _oSv}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + ), +) + +IPAM_RESOURCE_CIDR_SET: StaticSchema = ( + 16, + n0, + _IRCS, + 0, + (_me,), + ((IPAM_RESOURCE_CIDR, {_sN: _i}),), +) + +GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GIROAI, + {_sSI: _cGIROAR, _sm: None}, + (_DR, _IIRAI, _Ci, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIROAO, + {_sSI: _cGIROARo, _smit: None}, + (_IROA, _NTex), + ( + (lambda: IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO_SET, {_aQN: _IROAS, _sN: _iROAS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS: StaticOperationSchema = ( + 23, + n0, + _GIROA, + 0, + GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_INPUT, + GET_IPAM_ROUTE_ORIGIN_AUTHORIZATIONS_OUTPUT, + (), +) + +IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO: StaticSchema = ( + 18, + n0, + _IROAI, + 0, + (_Ci, _Asn, _ML), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.STRING, {_aQN: _Asn, _sN: _asn}), + (lambda: schemas.INTEGER, {_aQN: _ML, _sN: _mL}), + ), +) + +IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO_SET: StaticSchema = ( + 16, + n0, + _IROAIS, + 0, + (_me,), + ((IPAM_ROUTE_ORIGIN_AUTHORIZATION_INFO, {_sN: _i}),), +) + +GET_IPAM_ROUTE_PROTECTION_FINDINGS_INPUT: StaticSchema = ( + 18, + n0, + _GIRPFI, + {_sSI: _cGIRPFR, _sm: None}, + (_DR, _IIp, _Fil, _NTex, _MR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + ), +) + +GET_IPAM_ROUTE_PROTECTION_FINDINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIRPFO, + {_sSI: _cGIRPFRo, _smit: None}, + (_IIp, _RPF, _NTex), + ( + (lambda: schemas.IPAM_ID, {_aQN: _IIp, _sN: _iIp}), + (lambda: IPAM_ROUTE_PROTECTION_FINDING_SET, {_aQN: _RPFS, _sN: _rPFS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_ROUTE_PROTECTION_FINDINGS: StaticOperationSchema = ( + 23, + n0, + _GIRPF, + 0, + GET_IPAM_ROUTE_PROTECTION_FINDINGS_INPUT, + GET_IPAM_ROUTE_PROTECTION_FINDINGS_OUTPUT, + (), +) + +IPAM_ROUTE_ORIGIN_AUTHORIZATION: StaticSchema = ( + 18, + n0, + _IROAp, + 0, + (_Asn, _Pre, _ML, _Mat, _Expir), + ( + (lambda: schemas.STRING, {_aQN: _Asn, _sN: _asn}), + (lambda: schemas.STRING, {_aQN: _Pre, _sN: _pre}), + (lambda: schemas.INTEGER, {_aQN: _ML, _sN: _mL}), + (lambda: schemas.BOOLEAN, {_aQN: _Mat, _sN: _mat}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _Expir, _sN: _expi}), + ), +) + +IPAM_ROUTE_ORIGIN_AUTHORIZATION_SET: StaticSchema = ( + 16, + n0, + _IROAS, + 0, + (_me,), + ((IPAM_ROUTE_ORIGIN_AUTHORIZATION, {_sN: _i}),), +) + +IPAM_ROUTE_OVERLAP: StaticSchema = ( + 18, + n0, + _IRO, + 0, + (_Pre, _Asn, _DAet), + ( + (lambda: schemas.STRING, {_aQN: _Pre, _sN: _pre}), + (lambda: schemas.STRING, {_aQN: _Asn, _sN: _asn}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _DAet, _sN: _dAet}), + ), +) + +IPAM_ROUTE_OVERLAP_SET: StaticSchema = ( + 16, + n0, + _IROS, + 0, + (_me,), + ((IPAM_ROUTE_OVERLAP, {_sN: _i}),), +) + +IPAM_RPKI_STATUS: StaticSchema = ( + 14, + n0, + _IRSp, + 0, + (_val, _inv, _unk), + ((-1, {_sV: _val}), (-1, {_sV: _inv}), (-1, {_sV: _unk})), +) + +IPAM_RPKI_STRENGTH: StaticSchema = ( + 14, + n0, + _IRSpa, + 0, + (_stri, _permi), + ((-1, {_sV: _stri}), (-1, {_sV: _permi})), +) + +IPAM_ROUTE_PROTECTION_FINDING: StaticSchema = ( + 18, + n0, + _IRPF, + 0, + ( + _ROI, + _RR, + _IPI, + _Ci, + _St, + _ATdv, + _NBG, + _PIo, + _Asn, + _RSp, + _RSpk, + _Roa, + _ROou, + _STa, + _RSTo, + ), + ( + (lambda: schemas.STRING, {_aQN: _ROI, _sN: _rOI}), + (lambda: schemas.STRING, {_aQN: _RR, _sN: _rR}), + (lambda: schemas.IPAM_POOL_ID, {_aQN: _IPI, _sN: _iPI}), + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.IPAM_BYOIP_CIDR_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.IPAM_BYOIP_ADVERTISEMENT_TYPE, {_aQN: _ATdv, _sN: _aTd}), + (lambda: schemas.STRING, {_aQN: _NBG, _sN: _nBG}), + (lambda: schemas.STRING, {_aQN: _PIo, _sN: _pIo}), + (lambda: schemas.STRING, {_aQN: _Asn, _sN: _asn}), + (IPAM_RPKI_STATUS, {_aQN: _RSp, _sN: _rSp}), + (IPAM_RPKI_STRENGTH, {_aQN: _RSpk, _sN: _rSpk}), + (IPAM_ROUTE_ORIGIN_AUTHORIZATION_SET, {_aQN: _RSoa, _sN: _rSoa}), + (IPAM_ROUTE_OVERLAP_SET, {_aQN: _ROSo, _sN: _rOSo}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _STa, _sN: _sTa}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RSTo, _sN: _rSTo}), + ), +) + +IPAM_ROUTE_PROTECTION_FINDING_SET: StaticSchema = ( + 16, + n0, + _IRPFS, + 0, + (_me,), + ((IPAM_ROUTE_PROTECTION_FINDING, {_sN: _i}),), +) + +CHRONOLOGICAL_ORDER: StaticSchema = ( + 14, + n0, + _COh, + 0, + (_forw, _reve), + ((-1, {_sV: _forw}), (-1, {_sV: _reve})), +) + +GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_INPUT: StaticSchema = ( + 18, + n0, + _GIRPRDI, + {_sSI: _cGIRPRDR, _sm: None}, + (_DR, _IIRAI, _DIe, _ST, _ETnd, _COh, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (CHRONOLOGICAL_ORDER, 0), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIRPRDO, + {_sSI: _cGIRPRDRo, _smit: None}, + (_IRPRDp, _NTex), + ( + ( + lambda: IPAM_ROUTING_POLICY_REGISTRATION_DELTA_SET, + {_aQN: _IRPRDSp, _sN: _iRPRDS}, + ), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS: StaticOperationSchema = ( + 23, + n0, + _GIRPRD, + 0, + GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_INPUT, + GET_IPAM_ROUTING_POLICY_REGISTRATION_DELTAS_OUTPUT, + (), +) + +IPAM_ROUTING_POLICY_REGISTRATION_DELTA_SET: StaticSchema = ( + 16, + n0, + _IRPRDSp, + 0, + (_me,), + ((lambda: schemas.IPAM_ROUTING_POLICY_REGISTRATION_DELTA, {_sN: _i}),), +) + +GET_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GIRPRI, + {_sSI: _cGIRPRR, _sm: None}, + (_DR, _IIRAI, _Ci, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPAM_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GIRPRO, + {_sSI: _cGIRPRRo, _smit: None}, + (_IRPRp, _NTex), + ( + (lambda: IPAM_ROUTING_POLICY_REGISTRATION_SET, {_aQN: _IRPRSp, _sN: _iRPRS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_IPAM_ROUTING_POLICY_REGISTRATIONS: StaticOperationSchema = ( + 23, + n0, + _GIRPR, + 0, + GET_IPAM_ROUTING_POLICY_REGISTRATIONS_INPUT, + GET_IPAM_ROUTING_POLICY_REGISTRATIONS_OUTPUT, + (), +) + +IPAM_ROUTING_POLICY_REGISTRATION_STATE: StaticSchema = ( + 14, + n0, + _IRPRS, + 0, + (_pa________, _af______, _cip, _cc_, _uip, _uc, _dip_, _dc_), + ( + (-1, {_sV: _pa_________}), + (-1, {_sV: _af_______}), + (-1, {_sV: _cip_}), + (-1, {_sV: _cc__}), + (-1, {_sV: _uip_}), + (-1, {_sV: _uc_}), + (-1, {_sV: _dip__}), + (-1, {_sV: _dc__}), + ), +) + +IPAM_ROUTING_POLICY_REGISTRATION: StaticSchema = ( + 18, + n0, + _IRPR, + 0, + (_Ci, _Asns, _PMSA, _ML, _Des, _LDI, _St), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.ASN_LIST, {_aQN: _ASsne, _sN: _aSsn}), + (lambda: schemas.BOXED_BOOLEAN, {_aQN: _PMSA, _sN: _pMSA}), + ( + lambda: schemas.IPAM_ROUTING_POLICY_REGISTRATION_MAX_LENGTH, + {_aQN: _ML, _sN: _mL}, + ), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _LDI, _sN: _lDI}), + (IPAM_ROUTING_POLICY_REGISTRATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +IPAM_ROUTING_POLICY_REGISTRATION_SET: StaticSchema = ( + 16, + n0, + _IRPRSp, + 0, + (_me,), + ((IPAM_ROUTING_POLICY_REGISTRATION, {_sN: _i}),), +) + +GET_LAUNCH_TEMPLATE_DATA_INPUT: StaticSchema = ( + 18, + n0, + _GLTDI, + {_sSI: _cGLTDR, _sm: None}, + (_DR, _II), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.INSTANCE_ID, 1)), +) + +GET_LAUNCH_TEMPLATE_DATA_OUTPUT: StaticSchema = ( + 18, + n0, + _GLTDO, + {_sSI: _cGLTDRo, _smit: None}, + (_LTD,), + ((lambda: schemas.RESPONSE_LAUNCH_TEMPLATE_DATA, {_aQN: _LTD, _sN: _lTD}),), +) + +GET_LAUNCH_TEMPLATE_DATA: StaticOperationSchema = ( + 23, + n0, + _GLTD, + 0, + GET_LAUNCH_TEMPLATE_DATA_INPUT, + GET_LAUNCH_TEMPLATE_DATA_OUTPUT, + (), +) + +GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_MAX_RESULTS: StaticSchema = (7, n0, _GMPLAMR, 0) + +GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GMPLAI, + {_sSI: _cGMPLAR, _sm: None}, + (_DR, _PLI, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 1), + (GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GMPLAO, + {_sSI: _cGMPLARo, _smit: None}, + (_PLAre, _NTex), + ( + (lambda: PREFIX_LIST_ASSOCIATION_SET, {_aQN: _PLAS, _sN: _pLAS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_MANAGED_PREFIX_LIST_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _GMPLA, + 0, + GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_INPUT, + GET_MANAGED_PREFIX_LIST_ASSOCIATIONS_OUTPUT, + (), +) + +PREFIX_LIST_ASSOCIATION: StaticSchema = ( + 18, + n0, + _PLAr, + 0, + (_RIe, _ROe), + ( + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + (lambda: schemas.STRING, {_aQN: _ROe, _sN: _rOe}), + ), +) + +PREFIX_LIST_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _PLAS, + 0, + (_me,), + ((PREFIX_LIST_ASSOCIATION, {_sN: _i}),), +) + +GET_MANAGED_PREFIX_LIST_ENTRIES_INPUT: StaticSchema = ( + 18, + n0, + _GMPLEI, + {_sSI: _cGMPLER, _sm: None}, + (_DR, _PLI, _TVa, _MR, _NTex), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 1), + (lambda: schemas.LONG, 0), + (lambda: schemas.PREFIX_LIST_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +GET_MANAGED_PREFIX_LIST_ENTRIES_OUTPUT: StaticSchema = ( + 18, + n0, + _GMPLEO, + {_sSI: _cGMPLERo, _smit: None}, + (_Ent, _NTex), + ( + (lambda: PREFIX_LIST_ENTRY_SET, {_aQN: _ESn, _sN: _eSn}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_MANAGED_PREFIX_LIST_ENTRIES: StaticOperationSchema = ( + 23, + n0, + _GMPLE, + 0, + GET_MANAGED_PREFIX_LIST_ENTRIES_INPUT, + GET_MANAGED_PREFIX_LIST_ENTRIES_OUTPUT, + (), +) + +PREFIX_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _PLE, + 0, + (_Ci, _Des), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + ), +) + +PREFIX_LIST_ENTRY_SET: StaticSchema = ( + 16, + n0, + _PLES, + 0, + (_me,), + ((PREFIX_LIST_ENTRY, {_sN: _i}),), +) + +GET_MANAGED_RESOURCE_VISIBILITY_INPUT: StaticSchema = ( + 18, + n0, + _GMRVI, + {_sSI: _cGMRVR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_MANAGED_RESOURCE_VISIBILITY_OUTPUT: StaticSchema = ( + 18, + n0, + _GMRVO, + {_sSI: _cGMRVRo, _smit: None}, + (_Vi,), + ((lambda: MANAGED_RESOURCE_VISIBILITY_SETTINGS, {_aQN: _Vi, _sN: _vis}),), +) + +GET_MANAGED_RESOURCE_VISIBILITY: StaticOperationSchema = ( + 23, + n0, + _GMRV, + 0, + GET_MANAGED_RESOURCE_VISIBILITY_INPUT, + GET_MANAGED_RESOURCE_VISIBILITY_OUTPUT, + (), +) + +MANAGED_RESOURCE_DEFAULT_VISIBILITY: StaticSchema = ( + 14, + n0, + _MRDV, + 0, + (_hid, _vi), + ((-1, {_sV: _hid}), (-1, {_sV: _vi})), +) + +MANAGED_RESOURCE_VISIBILITY_SETTINGS: StaticSchema = ( + 18, + n0, + _MRVS, + 0, + (_DVefa,), + ((MANAGED_RESOURCE_DEFAULT_VISIBILITY, {_aQN: _DVefa, _sN: _dVefa}),), +) + +GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _GNIASAFMR, + 0, +) + +GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_INPUT: StaticSchema = ( + 18, + n0, + _GNIASAFI, + {_sSI: _cGNIASAFR, _sm: None}, + (_NIASAI, _MR, _NTex, _DR), + ( + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, 1), + (GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _GNIASAFO, + {_sSI: _cGNIASAFRo, _smit: None}, + (_NIASAI, _ASn, _AFn, _NTex), + ( + ( + lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_ID, + {_aQN: _NIASAI, _sN: _nIASAI}, + ), + (lambda: schemas.ANALYSIS_STATUS, {_aQN: _ASn, _sN: _aSn}), + (lambda: schemas.ACCESS_SCOPE_ANALYSIS_FINDING_LIST, {_aQN: _AFS, _sN: _aFS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS: StaticOperationSchema = ( + 23, + n0, + _GNIASAF, + 0, + GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_INPUT, + GET_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_FINDINGS_OUTPUT, + (), +) + +GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_INPUT: StaticSchema = ( + 18, + n0, + _GNIASCI, + {_sSI: _cGNIASCR, _sm: None}, + (_NIASI, _DR), + ( + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GNIASCO, + {_sSI: _cGNIASCRo, _smit: None}, + (_NIASC,), + ( + ( + lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT, + {_aQN: _NIASC, _sN: _nIASC}, + ), + ), +) + +GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT: StaticOperationSchema = ( + 23, + n0, + _GNIASC, + 0, + GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_INPUT, + GET_NETWORK_INSIGHTS_ACCESS_SCOPE_CONTENT_OUTPUT, + (), +) + +GET_PASSWORD_DATA_INPUT: StaticSchema = ( + 18, + n0, + _GPDI, + {_sSI: _cGPDR, _sm: None}, + (_II, _DR), + ( + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +GET_PASSWORD_DATA_OUTPUT: StaticSchema = ( + 18, + n0, + _GPDO, + {_sSI: _cGPDRo, _smit: None}, + (_II, _Ti, _PDa), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.DATE_TIME, {_aQN: _Ti, _sN: _ti}), + (lambda: PASSWORD_DATA, {_aQN: _PDa, _sN: _pDa}), + ), +) + +GET_PASSWORD_DATA: StaticOperationSchema = ( + 23, + n0, + _GPD, + 0, + GET_PASSWORD_DATA_INPUT, + GET_PASSWORD_DATA_OUTPUT, + (), +) + +PASSWORD_DATA: StaticSchema = (3, n0, _PDa, 4) + +GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT: StaticSchema = ( + 18, + n0, + _GRIEQI, + {_sSI: _cGRIEQR, _sm: None}, + (_DR, _RIIe, _TC), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.RESERVED_INSTANCE_ID_SET, {_sN: _RII, _smi: None}), + (lambda: schemas.TARGET_CONFIGURATION_REQUEST_SET, {_sN: _TCa}), + ), +) + +GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT: StaticSchema = ( + 18, + n0, + _GRIEQO, + {_sSI: _cGRIEQRo, _smit: None}, + (_CC, _IVEs, _ORIWEA, _PDay, _RIVR, _RIVS, _TCVR, _TCVS, _VFR), + ( + (lambda: schemas.STRING, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.BOOLEAN, {_aQN: _IVEs, _sN: _iVE}), + (lambda: schemas.DATE_TIME, {_aQN: _ORIWEA, _sN: _oRIWEA}), + (lambda: schemas.STRING, {_aQN: _PDay, _sN: _pDay}), + (lambda: RESERVATION_VALUE, {_aQN: _RIVR, _sN: _rIVR}), + (lambda: RESERVED_INSTANCE_RESERVATION_VALUE_SET, {_aQN: _RIVS, _sN: _rIVS}), + (lambda: RESERVATION_VALUE, {_aQN: _TCVR, _sN: _tCVR}), + (lambda: TARGET_RESERVATION_VALUE_SET, {_aQN: _TCVS, _sN: _tCVS}), + (lambda: schemas.STRING, {_aQN: _VFR, _sN: _vFR}), + ), +) + +GET_RESERVED_INSTANCES_EXCHANGE_QUOTE: StaticOperationSchema = ( + 23, + n0, + _GRIEQ, + 0, + GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_INPUT, + GET_RESERVED_INSTANCES_EXCHANGE_QUOTE_OUTPUT, + (), +) + +RESERVATION_VALUE: StaticSchema = ( + 18, + n0, + _RVe, + 0, + (_HP, _RTV, _RUV), + ( + (lambda: schemas.STRING, {_aQN: _HP, _sN: _hP}), + (lambda: schemas.STRING, {_aQN: _RTV, _sN: _rTV}), + (lambda: schemas.STRING, {_aQN: _RUV, _sN: _rUV}), + ), +) + +RESERVED_INSTANCE_RESERVATION_VALUE: StaticSchema = ( + 18, + n0, + _RIRV, + 0, + (_RVe, _RII), + ( + (RESERVATION_VALUE, {_aQN: _RVe, _sN: _rVe}), + (lambda: schemas.STRING, {_aQN: _RII, _sN: _rIIe}), + ), +) + +RESERVED_INSTANCE_RESERVATION_VALUE_SET: StaticSchema = ( + 16, + n0, + _RIRVS, + 0, + (_me,), + ((RESERVED_INSTANCE_RESERVATION_VALUE, {_sN: _i}),), +) + +TARGET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TCa, + 0, + (_IC, _OI), + ( + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.STRING, {_aQN: _OI, _sN: _oIf}), + ), +) + +TARGET_RESERVATION_VALUE: StaticSchema = ( + 18, + n0, + _TRV, + 0, + (_RVe, _TCa), + ( + (RESERVATION_VALUE, {_aQN: _RVe, _sN: _rVe}), + (TARGET_CONFIGURATION, {_aQN: _TCa, _sN: _tCa}), + ), +) + +TARGET_RESERVATION_VALUE_SET: StaticSchema = ( + 16, + n0, + _TRVS, + 0, + (_me,), + ((TARGET_RESERVATION_VALUE, {_sN: _i}),), +) + +GET_ROUTE_SERVER_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GRSAI, + {_sSI: _cGRSAR, _sm: None}, + (_RSI, _DR), + ((lambda: schemas.ROUTE_SERVER_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +GET_ROUTE_SERVER_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GRSAO, + {_sSI: _cGRSARo, _smit: None}, + (_RSAo,), + ((lambda: ROUTE_SERVER_ASSOCIATIONS_LIST, {_aQN: _RSASo, _sN: _rSAS}),), +) + +GET_ROUTE_SERVER_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _GRSA, + 0, + GET_ROUTE_SERVER_ASSOCIATIONS_INPUT, + GET_ROUTE_SERVER_ASSOCIATIONS_OUTPUT, + (), +) + +ROUTE_SERVER_ASSOCIATIONS_LIST: StaticSchema = ( + 16, + n0, + _RSAL, + 0, + (_me,), + ((lambda: schemas.ROUTE_SERVER_ASSOCIATION, {_sN: _i}),), +) + +GET_ROUTE_SERVER_PROPAGATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GRSPI, + {_sSI: _cGRSPR, _sm: None}, + (_RSI, _RTIo, _DR), + ( + (lambda: schemas.ROUTE_SERVER_ID, 1), + (lambda: schemas.ROUTE_TABLE_ID, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_ROUTE_SERVER_PROPAGATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GRSPO, + {_sSI: _cGRSPRo, _smit: None}, + (_RSPout,), + ((lambda: ROUTE_SERVER_PROPAGATIONS_LIST, {_aQN: _RSPSout, _sN: _rSPSo}),), +) + +GET_ROUTE_SERVER_PROPAGATIONS: StaticOperationSchema = ( + 23, + n0, + _GRSP, + 0, + GET_ROUTE_SERVER_PROPAGATIONS_INPUT, + GET_ROUTE_SERVER_PROPAGATIONS_OUTPUT, + (), +) + +ROUTE_SERVER_PROPAGATIONS_LIST: StaticSchema = ( + 16, + n0, + _RSPLo, + 0, + (_me,), + ((lambda: schemas.ROUTE_SERVER_PROPAGATION, {_sN: _i}),), +) + +GET_ROUTE_SERVER_ROUTING_DATABASE_INPUT: StaticSchema = ( + 18, + n0, + _GRSRDI, + {_sSI: _cGRSRDR, _sm: None}, + (_RSI, _NTex, _MR, _DR, _Fil), + ( + (lambda: schemas.ROUTE_SERVER_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.ROUTE_SERVER_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + ), +) + +GET_ROUTE_SERVER_ROUTING_DATABASE_OUTPUT: StaticSchema = ( + 18, + n0, + _GRSRDO, + {_sSI: _cGRSRDRo, _smit: None}, + (_ARP, _Rout, _NTex), + ( + (lambda: schemas.BOOLEAN, {_aQN: _ARP, _sN: _aRP}), + (lambda: ROUTE_SERVER_ROUTE_LIST, {_aQN: _RSout, _sN: _rSou}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_ROUTE_SERVER_ROUTING_DATABASE: StaticOperationSchema = ( + 23, + n0, + _GRSRD, + 0, + GET_ROUTE_SERVER_ROUTING_DATABASE_INPUT, + GET_ROUTE_SERVER_ROUTING_DATABASE_OUTPUT, + (), +) + +AS_PATH: StaticSchema = ( + 16, + n0, + _APs, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +ROUTE_SERVER_ROUTE_INSTALLATION_STATUS: StaticSchema = ( + 14, + n0, + _RSRIS, + 0, + (_INSTALLED, _REJECTED), + ((-1, {_sV: _instal}), (-1, {_sV: _re})), +) + +ROUTE_SERVER_ROUTE_INSTALLATION_DETAIL: StaticSchema = ( + 18, + n0, + _RSRID, + 0, + (_RTIo, _RISo, _RISR), + ( + (lambda: schemas.ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo}), + (ROUTE_SERVER_ROUTE_INSTALLATION_STATUS, {_aQN: _RISo, _sN: _rISo}), + (lambda: schemas.STRING, {_aQN: _RISR, _sN: _rISR}), + ), +) + +ROUTE_SERVER_ROUTE_INSTALLATION_DETAILS: StaticSchema = ( + 16, + n0, + _RSRIDo, + 0, + (_me,), + ((ROUTE_SERVER_ROUTE_INSTALLATION_DETAIL, {_sN: _i}),), +) + +ROUTE_SERVER_ROUTE_STATUS: StaticSchema = ( + 14, + n0, + _RSRS, + 0, + (_IR_, _IF___), + ((-1, {_sV: _ir______}), (-1, {_sV: _if__})), +) + +ROUTE_SERVER_ROUTE: StaticSchema = ( + 18, + n0, + _RSRo, + 0, + (_RSEI, _RSPI, _RID, _RSoutet, _Pre, _APsa, _Med, _NHI), + ( + (lambda: schemas.ROUTE_SERVER_ENDPOINT_ID, {_aQN: _RSEI, _sN: _rSEI}), + (lambda: schemas.ROUTE_SERVER_PEER_ID, {_aQN: _RSPI, _sN: _rSPI}), + (ROUTE_SERVER_ROUTE_INSTALLATION_DETAILS, {_aQN: _RIDS, _sN: _rIDS}), + (ROUTE_SERVER_ROUTE_STATUS, {_aQN: _RSoutet, _sN: _rSout}), + (lambda: schemas.STRING, {_aQN: _Pre, _sN: _pre}), + (AS_PATH, {_aQN: _APSs, _sN: _aPS}), + (lambda: schemas.INTEGER, {_aQN: _Med, _sN: _med_}), + (lambda: schemas.STRING, {_aQN: _NHI, _sN: _nHI}), + ), +) + +ROUTE_SERVER_ROUTE_LIST: StaticSchema = ( + 16, + n0, + _RSRL, + 0, + (_me,), + ((ROUTE_SERVER_ROUTE, {_sN: _i}),), +) + +GET_SECURITY_GROUPS_FOR_VPC_REQUEST_MAX_RESULTS: StaticSchema = (7, n0, _GSGFVRMR, 0) + +GET_SECURITY_GROUPS_FOR_VPC_INPUT: StaticSchema = ( + 18, + n0, + _GSGFVI, + {_sSI: _cGSGFVR, _sm: None}, + (_VI, _NTex, _MR, _Fil, _DR), + ( + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.STRING, 0), + (GET_SECURITY_GROUPS_FOR_VPC_REQUEST_MAX_RESULTS, 0), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_SECURITY_GROUPS_FOR_VPC_OUTPUT: StaticSchema = ( + 18, + n0, + _GSGFVO, + {_sSI: _cGSGFVRo, _smit: None}, + (_NTex, _SGFVe), + ( + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + (lambda: SECURITY_GROUP_FOR_VPC_LIST, {_aQN: _SGFVS, _sN: _sGFVS}), + ), +) + +GET_SECURITY_GROUPS_FOR_VPC: StaticOperationSchema = ( + 23, + n0, + _GSGFV, + 0, + GET_SECURITY_GROUPS_FOR_VPC_INPUT, + GET_SECURITY_GROUPS_FOR_VPC_OUTPUT, + (), +) + +SECURITY_GROUP_FOR_VPC: StaticSchema = ( + 18, + n0, + _SGFV, + 0, + (_Des, _GN, _OIw, _GIr, _Tag, _PVIr), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _GN, _sN: _gN}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _PVIr, _sN: _pVIr}), + ), +) + +SECURITY_GROUP_FOR_VPC_LIST: StaticSchema = ( + 16, + n0, + _SGFVL, + 0, + (_me,), + ((SECURITY_GROUP_FOR_VPC, {_sN: _i}),), +) + +GET_SERIAL_CONSOLE_ACCESS_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _GSCASI, + {_sSI: _cGSCASR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_SERIAL_CONSOLE_ACCESS_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _GSCASO, + {_sSI: _cGSCASRo, _smit: None}, + (_SCAE, _MB), + ( + (lambda: schemas.BOOLEAN, {_aQN: _SCAE, _sN: _sCAE}), + (lambda: schemas.MANAGED_BY, {_aQN: _MB, _sN: _mB}), + ), +) + +GET_SERIAL_CONSOLE_ACCESS_STATUS: StaticOperationSchema = ( + 23, + n0, + _GSCAS, + 0, + GET_SERIAL_CONSOLE_ACCESS_STATUS_INPUT, + GET_SERIAL_CONSOLE_ACCESS_STATUS_OUTPUT, + (), +) + +GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_INPUT: StaticSchema = ( + 18, + n0, + _GSBPASI, + {_sSI: _cGSBPASR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GSBPASO, + {_sSI: _cGSBPASRo, _smit: None}, + (_St, _MB), + ( + (lambda: schemas.SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.MANAGED_BY, {_aQN: _MB, _sN: _mB}), + ), +) + +GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE: StaticOperationSchema = ( + 23, + n0, + _GSBPAS, + 0, + GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_INPUT, + GET_SNAPSHOT_BLOCK_PUBLIC_ACCESS_STATE_OUTPUT, + (), +) + +INSTANCE_TYPES: StaticSchema = ( + 16, + n0, + _ITnsta, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +SPOT_PLACEMENT_SCORES_MAX_RESULTS: StaticSchema = (7, n0, _SPSMR, 0) + +REGION_NAMES: StaticSchema = (16, n0, _RNeg, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +SPOT_PLACEMENT_SCORES_TARGET_CAPACITY: StaticSchema = (7, n0, _SPSTC, 0) + +GET_SPOT_PLACEMENT_SCORES_INPUT: StaticSchema = ( + 18, + n0, + _GSPSI, + {_sSI: _cGSPSR, _sm: None}, + (_ITnsta, _TCar, _TCUT, _SAZ, _RNeg, _IRWM, _DR, _MR, _NTex, _ILZ), + ( + (INSTANCE_TYPES, {_sN: _IT}), + (SPOT_PLACEMENT_SCORES_TARGET_CAPACITY, 1), + (lambda: schemas.TARGET_CAPACITY_UNIT_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + (REGION_NAMES, {_sN: _RNe}), + (lambda: schemas.INSTANCE_REQUIREMENTS_WITH_METADATA_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + (SPOT_PLACEMENT_SCORES_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_SPOT_PLACEMENT_SCORES_OUTPUT: StaticSchema = ( + 18, + n0, + _GSPSO, + {_sSI: _cGSPSRo, _smit: None}, + (_SPSpo, _NTex), + ( + (lambda: schemas.SPOT_PLACEMENT_SCORES, {_aQN: _SPSS, _sN: _sPSS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_SPOT_PLACEMENT_SCORES: StaticOperationSchema = ( + 23, + n0, + _GSPS, + 0, + GET_SPOT_PLACEMENT_SCORES_INPUT, + GET_SPOT_PLACEMENT_SCORES_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_44.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_44.py new file mode 100644 index 000000000..80cd860e0 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_44.py @@ -0,0 +1,1547 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_su = "subnet" +_TS = "TagSpecification" +_rT = "resourceType" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_TGAI = "TransitGatewayAttachmentId" +_CVEI = "ClientVpnEndpointId" +_de = "deleting" +_TGI = "TransitGatewayId" +_tGAI = "transitGatewayAttachmentId" +_tGI = "transitGatewayId" +_St = "State" +_st = "state" +_TGMDI = "TransitGatewayMulticastDomainId" +_SIu = "SubnetId" +_RIe = "ResourceId" +_rI = "resourceId" +_ROI = "ResourceOwnerId" +_rOI = "resourceOwnerId" +_As = "Associations" +_asso = "associations" +_Re = "Region" +_reg = "region" +_e = "enable" +_disa = "disable" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_RN = "RuleNumber" +_rN = "ruleNumber" +_Id = "Id" +_id = "id" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_Sub = "Subnet" +_en = "enabling" +_ena = "enabled" +_disab = "disabling" +_Des = "Description" +_SMt = "StatusMessage" +_sMt = "statusMessage" +_desc = "description" +_CTl = "ClientToken" +_TGPTI = "TransitGatewayPolicyTableId" +_TGRTI = "TransitGatewayRouteTableId" +_tGRTI = "transitGatewayRouteTableId" +_IIm = "ImageId" +_smith = "smithy.api#sensitive" +_VGI = "VpnGatewayId" +_Prog = "Progress" +_prog = "progress" +_ITI = "ImportTaskId" +_iTI = "importTaskId" +_KKI = "KmsKeyId" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_iIm = "imageId" +_SIn = "SnapshotId" +_Si = "Size" +_Vo = "Volume" +_siz = "size" +_Ty = "Type" +_DNe = "DeviceName" +_CGIu = "CustomerGatewayId" +_cGIu = "customerGatewayId" +_ty = "type" +_Pla = "Platform" +_plat = "platform" +_SBu = "S3Bucket" +_SK = "S3Key" +_LCA = "LicenseConfigurationArn" +_UDs = "UserData" +_LSic = "LicenseSpecifications" +_TGMPI = "TransitGatewayMeteringPolicyId" +_TGRTAI = "TransitGatewayRouteTableAnnouncementId" +_tGRTAI = "transitGatewayRouteTableAnnouncementId" +_VAGI = "VerifiedAccessGroupId" +_PDo = "PolicyDocument" +_VAEI = "VerifiedAccessEndpointId" +_vAEI = "verifiedAccessEndpointId" +_pDo = "policyDocument" +_VCIp = "VpnConnectionId" +_vCIp = "vpnConnectionId" +_vGI = "vpnGatewayId" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_IMU = "ImportManifestUrl" +_For = "Format" +_fo = "format" +_iMU = "importManifestUrl" +_Im = "Image" +_BMo = "BootMode" +_UO = "UsageOperation" +_uO = "usageOperation" +_Hy = "Hypervisor" +_hy = "hypervisor" +_Arc = "Architecture" +_arch = "architecture" +_Ur = "Url" +_UB = "UserBucket" +_LTi = "LicenseType" +_lTi = "licenseType" +_SDna = "SnapshotDetails" +_SDSn = "SnapshotDetailSet" +_sDSn = "snapshotDetailSet" +_lSic = "licenseSpecifications" +_TGANGSS = "TransitGatewayAttachmentNatGatewaySupportState" +_NGSat = "NatGatewaySupport" +_nGSa = "natGatewaySupport" +_CRL = "CertificateRevocationList" +_RNo = "RoleName" +_VTOIA = "VpnTunnelOutsideIpAddress" +_activ = "activated" +_Scor = "Score" +_scor = "score" +_SPSp = "SpotPlacementScore" +_SPSpo = "SpotPlacementScores" +_GSCRMR = "GetSubnetCidrReservationsMaxResults" +_GSCRI = "GetSubnetCidrReservationsInput" +_cGSCRR = "com.amazonaws.ec2#GetSubnetCidrReservationsRequest" +_SCRL = "SubnetCidrReservationList" +_GSCRO = "GetSubnetCidrReservationsOutput" +_cGSCRRo = "com.amazonaws.ec2#GetSubnetCidrReservationsResult" +_SICR = "SubnetIpv4CidrReservations" +_SICRS = "SubnetIpv4CidrReservationSet" +_sICRS = "subnetIpv4CidrReservationSet" +_SICRu = "SubnetIpv6CidrReservations" +_SICRSu = "SubnetIpv6CidrReservationSet" +_sICRSu = "subnetIpv6CidrReservationSet" +_GSCR = "GetSubnetCidrReservations" +_GTGANCI = "GetTransitGatewayAttachmentNatConfigurationInput" +_cGTGANCR = "com.amazonaws.ec2#GetTransitGatewayAttachmentNatConfigurationRequest" +_TGNRS = "TransitGatewayNatRuleState" +_deact = "deactivated" +_TGNR = "TransitGatewayNatRule" +_MSC = "MatchSourceCidr" +_mSC = "matchSourceCidr" +_NCa = "NatCidr" +_nCa = "natCidr" +_TGNRL = "TransitGatewayNatRuleList" +_TGANSRSV = "TransitGatewayAttachmentNatSystemRouteSupportValue" +_GTGANCO = "GetTransitGatewayAttachmentNatConfigurationOutput" +_cGTGANCRo = "com.amazonaws.ec2#GetTransitGatewayAttachmentNatConfigurationResult" +_NSRS = "NatSystemRouteSupport" +_nSRS = "natSystemRouteSupport" +_NGR = "NatGatewayRules" +_NGRS = "NatGatewayRuleSet" +_nGRS = "natGatewayRuleSet" +_GTGANC = "GetTransitGatewayAttachmentNatConfiguration" +_GTGAPI = "GetTransitGatewayAttachmentPropagationsInput" +_cGTGAPR = "com.amazonaws.ec2#GetTransitGatewayAttachmentPropagationsRequest" +_TGAP = "TransitGatewayAttachmentPropagation" +_TGAPL = "TransitGatewayAttachmentPropagationList" +_GTGAPO = "GetTransitGatewayAttachmentPropagationsOutput" +_cGTGAPRo = "com.amazonaws.ec2#GetTransitGatewayAttachmentPropagationsResult" +_TGAPr = "TransitGatewayAttachmentPropagations" +_tGAP = "transitGatewayAttachmentPropagations" +_GTGAP = "GetTransitGatewayAttachmentPropagations" +_GTGMPEI = "GetTransitGatewayMeteringPolicyEntriesInput" +_cGTGMPER = "com.amazonaws.ec2#GetTransitGatewayMeteringPolicyEntriesRequest" +_TGMPEL = "TransitGatewayMeteringPolicyEntryList" +_GTGMPEO = "GetTransitGatewayMeteringPolicyEntriesOutput" +_cGTGMPERo = "com.amazonaws.ec2#GetTransitGatewayMeteringPolicyEntriesResult" +_TGMPEr = "TransitGatewayMeteringPolicyEntries" +_tGMPEr = "transitGatewayMeteringPolicyEntries" +_GTGMPE = "GetTransitGatewayMeteringPolicyEntries" +_GTGMDAI = "GetTransitGatewayMulticastDomainAssociationsInput" +_cGTGMDAR = "com.amazonaws.ec2#GetTransitGatewayMulticastDomainAssociationsRequest" +_TGMDAra = "TransitGatewayMulticastDomainAssociation" +_TGMDAL = "TransitGatewayMulticastDomainAssociationList" +_GTGMDAO = "GetTransitGatewayMulticastDomainAssociationsOutput" +_cGTGMDARo = "com.amazonaws.ec2#GetTransitGatewayMulticastDomainAssociationsResult" +_MDA = "MulticastDomainAssociations" +_mDA = "multicastDomainAssociations" +_GTGMDA = "GetTransitGatewayMulticastDomainAssociations" +_GTGPTAI = "GetTransitGatewayPolicyTableAssociationsInput" +_cGTGPTAR = "com.amazonaws.ec2#GetTransitGatewayPolicyTableAssociationsRequest" +_TGPTAL = "TransitGatewayPolicyTableAssociationList" +_GTGPTAO = "GetTransitGatewayPolicyTableAssociationsOutput" +_cGTGPTARo = "com.amazonaws.ec2#GetTransitGatewayPolicyTableAssociationsResult" +_GTGPTA = "GetTransitGatewayPolicyTableAssociations" +_GTGPTEI = "GetTransitGatewayPolicyTableEntriesInput" +_cGTGPTER = "com.amazonaws.ec2#GetTransitGatewayPolicyTableEntriesRequest" +_TGPTEL = "TransitGatewayPolicyTableEntryList" +_GTGPTEO = "GetTransitGatewayPolicyTableEntriesOutput" +_cGTGPTERo = "com.amazonaws.ec2#GetTransitGatewayPolicyTableEntriesResult" +_TGPTEr = "TransitGatewayPolicyTableEntries" +_tGPTEr = "transitGatewayPolicyTableEntries" +_GTGPTE = "GetTransitGatewayPolicyTableEntries" +_GTGPLRI = "GetTransitGatewayPrefixListReferencesInput" +_cGTGPLRR = "com.amazonaws.ec2#GetTransitGatewayPrefixListReferencesRequest" +_TGPLRSr = "TransitGatewayPrefixListReferenceSet" +_GTGPLRO = "GetTransitGatewayPrefixListReferencesOutput" +_cGTGPLRRo = "com.amazonaws.ec2#GetTransitGatewayPrefixListReferencesResult" +_TGPLRr = "TransitGatewayPrefixListReferences" +_tGPLRS = "transitGatewayPrefixListReferenceSet" +_GTGPLR = "GetTransitGatewayPrefixListReferences" +_GTGRTAI = "GetTransitGatewayRouteTableAssociationsInput" +_cGTGRTAR = "com.amazonaws.ec2#GetTransitGatewayRouteTableAssociationsRequest" +_TGRTAra = "TransitGatewayRouteTableAssociation" +_TGRTALr = "TransitGatewayRouteTableAssociationList" +_GTGRTAO = "GetTransitGatewayRouteTableAssociationsOutput" +_cGTGRTARo = "com.amazonaws.ec2#GetTransitGatewayRouteTableAssociationsResult" +_GTGRTA = "GetTransitGatewayRouteTableAssociations" +_GTGRTPI = "GetTransitGatewayRouteTablePropagationsInput" +_cGTGRTPR = "com.amazonaws.ec2#GetTransitGatewayRouteTablePropagationsRequest" +_TGRTP = "TransitGatewayRouteTablePropagation" +_TGRTPL = "TransitGatewayRouteTablePropagationList" +_GTGRTPO = "GetTransitGatewayRouteTablePropagationsOutput" +_cGTGRTPRo = "com.amazonaws.ec2#GetTransitGatewayRouteTablePropagationsResult" +_TGRTPr = "TransitGatewayRouteTablePropagations" +_tGRTP = "transitGatewayRouteTablePropagations" +_GTGRTP = "GetTransitGatewayRouteTablePropagations" +_GVAEPI = "GetVerifiedAccessEndpointPolicyInput" +_cGVAEPR = "com.amazonaws.ec2#GetVerifiedAccessEndpointPolicyRequest" +_GVAEPO = "GetVerifiedAccessEndpointPolicyOutput" +_cGVAEPRo = "com.amazonaws.ec2#GetVerifiedAccessEndpointPolicyResult" +_PEo = "PolicyEnabled" +_pEo = "policyEnabled" +_GVAEP = "GetVerifiedAccessEndpointPolicy" +_GVAETMR = "GetVerifiedAccessEndpointTargetsMaxResults" +_GVAETI = "GetVerifiedAccessEndpointTargetsInput" +_cGVAETR = "com.amazonaws.ec2#GetVerifiedAccessEndpointTargetsRequest" +_VAETe = "VerifiedAccessEndpointTarget" +_VAETIA = "VerifiedAccessEndpointTargetIpAddress" +_vAETIA = "verifiedAccessEndpointTargetIpAddress" +_VAETD = "VerifiedAccessEndpointTargetDns" +_vAETD = "verifiedAccessEndpointTargetDns" +_VAETL = "VerifiedAccessEndpointTargetList" +_GVAETO = "GetVerifiedAccessEndpointTargetsOutput" +_cGVAETRo = "com.amazonaws.ec2#GetVerifiedAccessEndpointTargetsResult" +_VAETer = "VerifiedAccessEndpointTargets" +_VAETS = "VerifiedAccessEndpointTargetSet" +_vAETS = "verifiedAccessEndpointTargetSet" +_GVAET = "GetVerifiedAccessEndpointTargets" +_GVAGPI = "GetVerifiedAccessGroupPolicyInput" +_cGVAGPR = "com.amazonaws.ec2#GetVerifiedAccessGroupPolicyRequest" +_GVAGPO = "GetVerifiedAccessGroupPolicyOutput" +_cGVAGPRo = "com.amazonaws.ec2#GetVerifiedAccessGroupPolicyResult" +_GVAGP = "GetVerifiedAccessGroupPolicy" +_GVRBEEMR = "GetVpcResourcesBlockingEncryptionEnforcementMaxResults" +_GVRBEEI = "GetVpcResourcesBlockingEncryptionEnforcementInput" +_cGVRBEER = "com.amazonaws.ec2#GetVpcResourcesBlockingEncryptionEnforcementRequest" +_VENCR = "VpcEncryptionNonCompliantResource" +_IEs = "IsExcludable" +_iEs = "isExcludable" +_VENCRL = "VpcEncryptionNonCompliantResourceList" +_GVRBEEO = "GetVpcResourcesBlockingEncryptionEnforcementOutput" +_cGVRBEERo = "com.amazonaws.ec2#GetVpcResourcesBlockingEncryptionEnforcementResult" +_NCR = "NonCompliantResources" +_NCRS = "NonCompliantResourceSet" +_nCRS = "nonCompliantResourceSet" +_GVRBEE = "GetVpcResourcesBlockingEncryptionEnforcement" +_VCDTI = "VpnConnectionDeviceTypeId" +_GVCDSCI = "GetVpnConnectionDeviceSampleConfigurationInput" +_cGVCDSCR = "com.amazonaws.ec2#GetVpnConnectionDeviceSampleConfigurationRequest" +_IKEVn = "InternetKeyExchangeVersion" +_STam = "SampleType" +_VCDSC = "VpnConnectionDeviceSampleConfiguration" +_GVCDSCO = "GetVpnConnectionDeviceSampleConfigurationOutput" +_cGVCDSCRo = "com.amazonaws.ec2#GetVpnConnectionDeviceSampleConfigurationResult" +_vCDSC = "vpnConnectionDeviceSampleConfiguration" +_GVCDSC = "GetVpnConnectionDeviceSampleConfiguration" +_GVCDTI = "GetVpnConnectionDeviceTypesInput" +_cGVCDTR = "com.amazonaws.ec2#GetVpnConnectionDeviceTypesRequest" +_VCDT = "VpnConnectionDeviceType" +_vCDTI = "vpnConnectionDeviceTypeId" +_Ven = "Vendor" +_ven = "vendor" +_Sof = "Software" +_sof = "software" +_VCDTL = "VpnConnectionDeviceTypeList" +_GVCDTO = "GetVpnConnectionDeviceTypesOutput" +_cGVCDTRo = "com.amazonaws.ec2#GetVpnConnectionDeviceTypesResult" +_VCDTp = "VpnConnectionDeviceTypes" +_VCDTS = "VpnConnectionDeviceTypeSet" +_vCDTS = "vpnConnectionDeviceTypeSet" +_GVCDT = "GetVpnConnectionDeviceTypes" +_GVTRSI = "GetVpnTunnelReplacementStatusInput" +_cGVTRSR = "com.amazonaws.ec2#GetVpnTunnelReplacementStatusRequest" +_MDai = "MaintenanceDetails" +_PM = "PendingMaintenance" +_pM = "pendingMaintenance" +_MAAA = "MaintenanceAutoAppliedAfter" +_mAAA = "maintenanceAutoAppliedAfter" +_LMA = "LastMaintenanceApplied" +_lMA = "lastMaintenanceApplied" +_GVTRSO = "GetVpnTunnelReplacementStatusOutput" +_cGVTRSRo = "com.amazonaws.ec2#GetVpnTunnelReplacementStatusResult" +_vTOIA = "vpnTunnelOutsideIpAddress" +_mDa = "maintenanceDetails" +_GVTRS = "GetVpnTunnelReplacementStatus" +_ICVCCRLI = "ImportClientVpnClientCertificateRevocationListInput" +_cICVCCRLR = "com.amazonaws.ec2#ImportClientVpnClientCertificateRevocationListRequest" +_ICVCCRLO = "ImportClientVpnClientCertificateRevocationListOutput" +_cICVCCRLRo = "com.amazonaws.ec2#ImportClientVpnClientCertificateRevocationListResult" +_ICVCCRL = "ImportClientVpnClientCertificateRevocationList" +_CDl = "ClientData" +_Comm = "Comment" +_UEp = "UploadEnd" +_USp = "UploadSize" +_USpl = "UploadStart" +_IDCm = "ImageDiskContainer" +_IDCL = "ImageDiskContainerList" +_IILCRm = "ImportImageLicenseConfigurationRequest" +_IILSLRm = "ImportImageLicenseSpecificationListRequest" +_III = "ImportImageInput" +_cIIR = "com.amazonaws.ec2#ImportImageRequest" +_DCisko = "DiskContainers" +_DCiskon = "DiskContainer" +_IIO = "ImportImageOutput" +_cIIRo = "com.amazonaws.ec2#ImportImageResult" +_IImpo = "ImportImage" +_DIDis = "DiskImageDetail" +_Byt = "Bytes" +_byt = "bytes" +_VDo = "VolumeDetail" +_DIisk = "DiskImage" +_DILi = "DiskImageList" +_Da = "Data" +_dat = "data" + +TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_STATE: StaticSchema = ( + 14, + n0, + _TGANGSS, + 0, + (_ena, _d, _en, _disab), + ((-1, {_sV: _ena}), (-1, {_sV: _d}), (-1, {_sV: _en}), (-1, {_sV: _disab})), +) + +SPOT_PLACEMENT_SCORE: StaticSchema = ( + 18, + n0, + _SPSp, + 0, + (_Re, _AZI, _Scor), + ( + (lambda: schemas.STRING, {_aQN: _Re, _sN: _reg}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.INTEGER, {_aQN: _Scor, _sN: _scor}), + ), +) + +SPOT_PLACEMENT_SCORES: StaticSchema = ( + 16, + n0, + _SPSpo, + 0, + (_me,), + ((SPOT_PLACEMENT_SCORE, {_sN: _i}),), +) + +GET_SUBNET_CIDR_RESERVATIONS_MAX_RESULTS: StaticSchema = (7, n0, _GSCRMR, 0) + +GET_SUBNET_CIDR_RESERVATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GSCRI, + {_sSI: _cGSCRR, _sm: None}, + (_Fil, _SIu, _DR, _NTex, _MR), + ( + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.SUBNET_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (GET_SUBNET_CIDR_RESERVATIONS_MAX_RESULTS, 0), + ), +) + +GET_SUBNET_CIDR_RESERVATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GSCRO, + {_sSI: _cGSCRRo, _smit: None}, + (_SICR, _SICRu, _NTex), + ( + (lambda: SUBNET_CIDR_RESERVATION_LIST, {_aQN: _SICRS, _sN: _sICRS}), + (lambda: SUBNET_CIDR_RESERVATION_LIST, {_aQN: _SICRSu, _sN: _sICRSu}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_SUBNET_CIDR_RESERVATIONS: StaticOperationSchema = ( + 23, + n0, + _GSCR, + 0, + GET_SUBNET_CIDR_RESERVATIONS_INPUT, + GET_SUBNET_CIDR_RESERVATIONS_OUTPUT, + (), +) + +SUBNET_CIDR_RESERVATION_LIST: StaticSchema = ( + 16, + n0, + _SCRL, + 0, + (_me,), + ((lambda: schemas.SUBNET_CIDR_RESERVATION, {_sN: _i}),), +) + +GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GTGANCI, + {_sSI: _cGTGANCR, _sm: None}, + (_TGAI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GTGANCO, + {_sSI: _cGTGANCRo, _smit: None}, + (_TGAI, _NGSat, _NSRS, _NGR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + ( + TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_STATE, + {_aQN: _NGSat, _sN: _nGSa}, + ), + ( + lambda: TRANSIT_GATEWAY_ATTACHMENT_NAT_SYSTEM_ROUTE_SUPPORT_VALUE, + {_aQN: _NSRS, _sN: _nSRS}, + ), + (lambda: TRANSIT_GATEWAY_NAT_RULE_LIST, {_aQN: _NGRS, _sN: _nGRS}), + ), +) + +GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GTGANC, + 0, + GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT, + GET_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT, + (), +) + +TRANSIT_GATEWAY_NAT_RULE_STATE: StaticSchema = ( + 14, + n0, + _TGNRS, + 0, + (_p, _activ, _deact, _de), + ((-1, {_sV: _p}), (-1, {_sV: _activ}), (-1, {_sV: _deact}), (-1, {_sV: _de})), +) + +TRANSIT_GATEWAY_NAT_RULE: StaticSchema = ( + 18, + n0, + _TGNR, + 0, + (_RN, _MSC, _NCa, _St), + ( + (lambda: schemas.INTEGER, {_aQN: _RN, _sN: _rN}), + (lambda: schemas.STRING, {_aQN: _MSC, _sN: _mSC}), + (lambda: schemas.STRING, {_aQN: _NCa, _sN: _nCa}), + (TRANSIT_GATEWAY_NAT_RULE_STATE, {_aQN: _St, _sN: _st}), + ), +) + +TRANSIT_GATEWAY_NAT_RULE_LIST: StaticSchema = ( + 16, + n0, + _TGNRL, + 0, + (_me,), + ((TRANSIT_GATEWAY_NAT_RULE, {_sN: _i}),), +) + +TRANSIT_GATEWAY_ATTACHMENT_NAT_SYSTEM_ROUTE_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _TGANSRSV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GTGAPI, + {_sSI: _cGTGAPR, _sm: None}, + (_TGAI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GTGAPO, + {_sSI: _cGTGAPRo, _smit: None}, + (_TGAPr, _NTex), + ( + ( + lambda: TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION_LIST, + {_aQN: _TGAPr, _sN: _tGAP}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS: StaticOperationSchema = ( + 23, + n0, + _GTGAP, + 0, + GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_INPUT, + GET_TRANSIT_GATEWAY_ATTACHMENT_PROPAGATIONS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION: StaticSchema = ( + 18, + n0, + _TGAP, + 0, + (_TGRTI, _St), + ( + (lambda: schemas.STRING, {_aQN: _TGRTI, _sN: _tGRTI}), + (lambda: schemas.TRANSIT_GATEWAY_PROPAGATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION_LIST: StaticSchema = ( + 16, + n0, + _TGAPL, + 0, + (_me,), + ((TRANSIT_GATEWAY_ATTACHMENT_PROPAGATION, {_sN: _i}),), +) + +GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_INPUT: StaticSchema = ( + 18, + n0, + _GTGMPEI, + {_sSI: _cGTGMPER, _sm: None}, + (_TGMPI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_OUTPUT: StaticSchema = ( + 18, + n0, + _GTGMPEO, + {_sSI: _cGTGMPERo, _smit: None}, + (_TGMPEr, _NTex), + ( + ( + lambda: TRANSIT_GATEWAY_METERING_POLICY_ENTRY_LIST, + {_aQN: _TGMPEr, _sN: _tGMPEr}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES: StaticOperationSchema = ( + 23, + n0, + _GTGMPE, + 0, + GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_INPUT, + GET_TRANSIT_GATEWAY_METERING_POLICY_ENTRIES_OUTPUT, + (), +) + +TRANSIT_GATEWAY_METERING_POLICY_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _TGMPEL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY_ENTRY, {_sN: _i}),), +) + +GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GTGMDAI, + {_sSI: _cGTGMDAR, _sm: None}, + (_TGMDI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GTGMDAO, + {_sSI: _cGTGMDARo, _smit: None}, + (_MDA, _NTex), + ( + ( + lambda: TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION_LIST, + {_aQN: _MDA, _sN: _mDA}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _GTGMDA, + 0, + GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT, + GET_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION: StaticSchema = ( + 18, + n0, + _TGMDAra, + 0, + (_TGAI, _RIe, _RT, _ROI, _Sub), + ( + (lambda: schemas.STRING, {_aQN: _TGAI, _sN: _tGAI}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _RT, _sN: _rT}, + ), + (lambda: schemas.STRING, {_aQN: _ROI, _sN: _rOI}), + (lambda: schemas.SUBNET_ASSOCIATION, {_aQN: _Sub, _sN: _su}), + ), +) + +TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _TGMDAL, + 0, + (_me,), + ((TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATION, {_sN: _i}),), +) + +GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GTGPTAI, + {_sSI: _cGTGPTAR, _sm: None}, + (_TGPTI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GTGPTAO, + {_sSI: _cGTGPTARo, _smit: None}, + (_As, _NTex), + ( + ( + lambda: TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION_LIST, + {_aQN: _As, _sN: _asso}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _GTGPTA, + 0, + GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_INPUT, + GET_TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATIONS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _TGPTAL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ASSOCIATION, {_sN: _i}),), +) + +GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_INPUT: StaticSchema = ( + 18, + n0, + _GTGPTEI, + {_sSI: _cGTGPTER, _sm: None}, + (_TGPTI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_OUTPUT: StaticSchema = ( + 18, + n0, + _GTGPTEO, + {_sSI: _cGTGPTERo, _smit: None}, + (_TGPTEr, _NTex), + ( + ( + lambda: TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_LIST, + {_aQN: _TGPTEr, _sN: _tGPTEr}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES: StaticOperationSchema = ( + 23, + n0, + _GTGPTE, + 0, + GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_INPUT, + GET_TRANSIT_GATEWAY_POLICY_TABLE_ENTRIES_OUTPUT, + (), +) + +TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _TGPTEL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, {_sN: _i}),), +) + +GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_INPUT: StaticSchema = ( + 18, + n0, + _GTGPLRI, + {_sSI: _cGTGPLRR, _sm: None}, + (_TGRTI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_OUTPUT: StaticSchema = ( + 18, + n0, + _GTGPLRO, + {_sSI: _cGTGPLRRo, _smit: None}, + (_TGPLRr, _NTex), + ( + ( + lambda: TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_SET, + {_aQN: _TGPLRSr, _sN: _tGPLRS}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES: StaticOperationSchema = ( + 23, + n0, + _GTGPLR, + 0, + GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_INPUT, + GET_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCES_OUTPUT, + (), +) + +TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_SET: StaticSchema = ( + 16, + n0, + _TGPLRSr, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE, {_sN: _i}),), +) + +GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GTGRTAI, + {_sSI: _cGTGRTAR, _sm: None}, + (_TGRTI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GTGRTAO, + {_sSI: _cGTGRTARo, _smit: None}, + (_As, _NTex), + ( + (lambda: TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION_LIST, {_aQN: _As, _sN: _asso}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _GTGRTA, + 0, + GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_INPUT, + GET_TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATIONS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION: StaticSchema = ( + 18, + n0, + _TGRTAra, + 0, + (_TGAI, _RIe, _RT, _St), + ( + (lambda: schemas.STRING, {_aQN: _TGAI, _sN: _tGAI}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _RT, _sN: _rT}, + ), + (lambda: schemas.TRANSIT_GATEWAY_ASSOCIATION_STATE, {_aQN: _St, _sN: _st}), + ), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION_LIST: StaticSchema = ( + 16, + n0, + _TGRTALr, + 0, + (_me,), + ((TRANSIT_GATEWAY_ROUTE_TABLE_ASSOCIATION, {_sN: _i}),), +) + +GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_INPUT: StaticSchema = ( + 18, + n0, + _GTGRTPI, + {_sSI: _cGTGRTPR, _sm: None}, + (_TGRTI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _GTGRTPO, + {_sSI: _cGTGRTPRo, _smit: None}, + (_TGRTPr, _NTex), + ( + ( + lambda: TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_LIST, + {_aQN: _TGRTPr, _sN: _tGRTP}, + ), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS: StaticOperationSchema = ( + 23, + n0, + _GTGRTP, + 0, + GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_INPUT, + GET_TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATIONS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION: StaticSchema = ( + 18, + n0, + _TGRTP, + 0, + (_TGAI, _RIe, _RT, _St, _TGRTAI), + ( + (lambda: schemas.STRING, {_aQN: _TGAI, _sN: _tGAI}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _RT, _sN: _rT}, + ), + (lambda: schemas.TRANSIT_GATEWAY_PROPAGATION_STATE, {_aQN: _St, _sN: _st}), + ( + lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT_ID, + {_aQN: _TGRTAI, _sN: _tGRTAI}, + ), + ), +) + +TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION_LIST: StaticSchema = ( + 16, + n0, + _TGRTPL, + 0, + (_me,), + ((TRANSIT_GATEWAY_ROUTE_TABLE_PROPAGATION, {_sN: _i}),), +) + +GET_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GVAEPI, + {_sSI: _cGVAEPR, _sm: None}, + (_VAEI, _DR), + ((lambda: schemas.VERIFIED_ACCESS_ENDPOINT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +GET_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GVAEPO, + {_sSI: _cGVAEPRo, _smit: None}, + (_PEo, _PDo), + ( + (lambda: schemas.BOOLEAN, {_aQN: _PEo, _sN: _pEo}), + (lambda: schemas.STRING, {_aQN: _PDo, _sN: _pDo}), + ), +) + +GET_VERIFIED_ACCESS_ENDPOINT_POLICY: StaticOperationSchema = ( + 23, + n0, + _GVAEP, + 0, + GET_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT, + GET_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT, + (), +) + +GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_MAX_RESULTS: StaticSchema = (7, n0, _GVAETMR, 0) + +GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _GVAETI, + {_sSI: _cGVAETR, _sm: None}, + (_VAEI, _MR, _NTex, _DR), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_ID, {_sN: _VAEI, _smi: None}), + (GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _GVAETO, + {_sSI: _cGVAETRo, _smit: None}, + (_VAETer, _NTex), + ( + (lambda: VERIFIED_ACCESS_ENDPOINT_TARGET_LIST, {_aQN: _VAETS, _sN: _vAETS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_VERIFIED_ACCESS_ENDPOINT_TARGETS: StaticOperationSchema = ( + 23, + n0, + _GVAET, + 0, + GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_INPUT, + GET_VERIFIED_ACCESS_ENDPOINT_TARGETS_OUTPUT, + (), +) + +VERIFIED_ACCESS_ENDPOINT_TARGET: StaticSchema = ( + 18, + n0, + _VAETe, + 0, + (_VAEI, _VAETIA, _VAETD), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_ID, {_aQN: _VAEI, _sN: _vAEI}), + (lambda: schemas.STRING, {_aQN: _VAETIA, _sN: _vAETIA}), + (lambda: schemas.STRING, {_aQN: _VAETD, _sN: _vAETD}), + ), +) + +VERIFIED_ACCESS_ENDPOINT_TARGET_LIST: StaticSchema = ( + 16, + n0, + _VAETL, + 0, + (_me,), + ((VERIFIED_ACCESS_ENDPOINT_TARGET, {_sN: _i}),), +) + +GET_VERIFIED_ACCESS_GROUP_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GVAGPI, + {_sSI: _cGVAGPR, _sm: None}, + (_VAGI, _DR), + ((lambda: schemas.VERIFIED_ACCESS_GROUP_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +GET_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GVAGPO, + {_sSI: _cGVAGPRo, _smit: None}, + (_PEo, _PDo), + ( + (lambda: schemas.BOOLEAN, {_aQN: _PEo, _sN: _pEo}), + (lambda: schemas.STRING, {_aQN: _PDo, _sN: _pDo}), + ), +) + +GET_VERIFIED_ACCESS_GROUP_POLICY: StaticOperationSchema = ( + 23, + n0, + _GVAGP, + 0, + GET_VERIFIED_ACCESS_GROUP_POLICY_INPUT, + GET_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT, + (), +) + +GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_MAX_RESULTS: StaticSchema = ( + 7, + n0, + _GVRBEEMR, + 0, +) + +GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_INPUT: StaticSchema = ( + 18, + n0, + _GVRBEEI, + {_sSI: _cGVRBEER, _sm: None}, + (_VI, _MR, _NTex, _DR), + ( + (lambda: schemas.VPC_ID, 1), + (GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GVRBEEO, + {_sSI: _cGVRBEERo, _smit: None}, + (_NCR, _NTex), + ( + (lambda: VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE_LIST, {_aQN: _NCRS, _sN: _nCRS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT: StaticOperationSchema = ( + 23, + n0, + _GVRBEE, + 0, + GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_INPUT, + GET_VPC_RESOURCES_BLOCKING_ENCRYPTION_ENFORCEMENT_OUTPUT, + (), +) + +VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE: StaticSchema = ( + 18, + n0, + _VENCR, + 0, + (_Id, _Ty, _Des, _IEs), + ( + (lambda: schemas.STRING, {_aQN: _Id, _sN: _id}), + (lambda: schemas.STRING, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.BOOLEAN, {_aQN: _IEs, _sN: _iEs}), + ), +) + +VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE_LIST: StaticSchema = ( + 16, + n0, + _VENCRL, + 0, + (_me,), + ((VPC_ENCRYPTION_NON_COMPLIANT_RESOURCE, {_sN: _i}),), +) + +VPN_CONNECTION_DEVICE_TYPE_ID: StaticSchema = (3, n0, _VCDTI, 0) + +GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GVCDSCI, + {_sSI: _cGVCDSCR, _sm: None}, + (_VCIp, _VCDTI, _IKEVn, _STam, _DR), + ( + (lambda: schemas.VPN_CONNECTION_ID, 1), + (VPN_CONNECTION_DEVICE_TYPE_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GVCDSCO, + {_sSI: _cGVCDSCRo, _smit: None}, + (_VCDSC,), + ( + ( + lambda: VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION, + {_aQN: _VCDSC, _sN: _vCDSC}, + ), + ), +) + +GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GVCDSC, + 0, + GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_INPUT, + GET_VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION_OUTPUT, + (), +) + +VPN_CONNECTION_DEVICE_SAMPLE_CONFIGURATION: StaticSchema = (3, n0, _VCDSC, 4) + +GET_VPN_CONNECTION_DEVICE_TYPES_INPUT: StaticSchema = ( + 18, + n0, + _GVCDTI, + {_sSI: _cGVCDTR, _sm: None}, + (_MR, _NTex, _DR), + ( + (lambda: schemas.GVCD_MAX_RESULTS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_VPN_CONNECTION_DEVICE_TYPES_OUTPUT: StaticSchema = ( + 18, + n0, + _GVCDTO, + {_sSI: _cGVCDTRo, _smit: None}, + (_VCDTp, _NTex), + ( + (lambda: VPN_CONNECTION_DEVICE_TYPE_LIST, {_aQN: _VCDTS, _sN: _vCDTS}), + (lambda: schemas.NEXT_TOKEN, {_aQN: _NTex, _sN: _nT}), + ), +) + +GET_VPN_CONNECTION_DEVICE_TYPES: StaticOperationSchema = ( + 23, + n0, + _GVCDT, + 0, + GET_VPN_CONNECTION_DEVICE_TYPES_INPUT, + GET_VPN_CONNECTION_DEVICE_TYPES_OUTPUT, + (), +) + +VPN_CONNECTION_DEVICE_TYPE: StaticSchema = ( + 18, + n0, + _VCDT, + 0, + (_VCDTI, _Ven, _Pla, _Sof), + ( + (lambda: schemas.STRING, {_aQN: _VCDTI, _sN: _vCDTI}), + (lambda: schemas.STRING, {_aQN: _Ven, _sN: _ven}), + (lambda: schemas.STRING, {_aQN: _Pla, _sN: _plat}), + (lambda: schemas.STRING, {_aQN: _Sof, _sN: _sof}), + ), +) + +VPN_CONNECTION_DEVICE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _VCDTL, + 0, + (_me,), + ((VPN_CONNECTION_DEVICE_TYPE, {_sN: _i}),), +) + +GET_VPN_TUNNEL_REPLACEMENT_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _GVTRSI, + {_sSI: _cGVTRSR, _sm: None}, + (_VCIp, _VTOIA, _DR), + ( + (lambda: schemas.VPN_CONNECTION_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +GET_VPN_TUNNEL_REPLACEMENT_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _GVTRSO, + {_sSI: _cGVTRSRo, _smit: None}, + (_VCIp, _TGI, _CGIu, _VGI, _VTOIA, _MDai), + ( + (lambda: schemas.VPN_CONNECTION_ID, {_aQN: _VCIp, _sN: _vCIp}), + (lambda: schemas.TRANSIT_GATEWAY_ID, {_aQN: _TGI, _sN: _tGI}), + (lambda: schemas.CUSTOMER_GATEWAY_ID, {_aQN: _CGIu, _sN: _cGIu}), + (lambda: schemas.VPN_GATEWAY_ID, {_aQN: _VGI, _sN: _vGI}), + (lambda: schemas.STRING, {_aQN: _VTOIA, _sN: _vTOIA}), + (lambda: MAINTENANCE_DETAILS, {_aQN: _MDai, _sN: _mDa}), + ), +) + +GET_VPN_TUNNEL_REPLACEMENT_STATUS: StaticOperationSchema = ( + 23, + n0, + _GVTRS, + 0, + GET_VPN_TUNNEL_REPLACEMENT_STATUS_INPUT, + GET_VPN_TUNNEL_REPLACEMENT_STATUS_OUTPUT, + (), +) + +MAINTENANCE_DETAILS: StaticSchema = ( + 18, + n0, + _MDai, + 0, + (_PM, _MAAA, _LMA), + ( + (lambda: schemas.STRING, {_aQN: _PM, _sN: _pM}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _MAAA, _sN: _mAAA}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LMA, _sN: _lMA}), + ), +) + +IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT: StaticSchema = ( + 18, + n0, + _ICVCCRLI, + {_sSI: _cICVCCRLR, _sm: None}, + (_CVEI, _CRL, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT: StaticSchema = ( + 18, + n0, + _ICVCCRLO, + {_sSI: _cICVCCRLRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST: StaticOperationSchema = ( + 23, + n0, + _ICVCCRL, + 0, + IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_INPUT, + IMPORT_CLIENT_VPN_CLIENT_CERTIFICATE_REVOCATION_LIST_OUTPUT, + (), +) + +CLIENT_DATA: StaticSchema = ( + 18, + n0, + _CDl, + 0, + (_Comm, _UEp, _USp, _USpl), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DATE_TIME, 0), + (lambda: schemas.DOUBLE, 0), + (lambda: schemas.DATE_TIME, 0), + ), +) + +USER_BUCKET: StaticSchema = ( + 18, + n0, + _UB, + 0, + (_SBu, _SK), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +IMAGE_DISK_CONTAINER: StaticSchema = ( + 18, + n0, + _IDCm, + 0, + (_Des, _DNe, _For, _SIn, _Ur, _UB), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SNAPSHOT_ID, 0), + (lambda: schemas.SENSITIVE_URL, 0), + (USER_BUCKET, 0), + ), +) + +IMAGE_DISK_CONTAINER_LIST: StaticSchema = ( + 16, + n0, + _IDCL, + 0, + (_me,), + ((IMAGE_DISK_CONTAINER, {_sN: _i}),), +) + +IMPORT_IMAGE_LICENSE_CONFIGURATION_REQUEST: StaticSchema = ( + 18, + n0, + _IILCRm, + 0, + (_LCA,), + ((lambda: schemas.STRING, 0),), +) + +IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _IILSLRm, + 0, + (_me,), + ((IMPORT_IMAGE_LICENSE_CONFIGURATION_REQUEST, {_sN: _i}),), +) + +IMPORT_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _III, + {_sSI: _cIIR, _sm: None}, + ( + _Arc, + _CDl, + _CTl, + _Des, + _DCisko, + _DR, + _En, + _Hy, + _KKI, + _LTi, + _Pla, + _RNo, + _LSic, + _TSa, + _UO, + _BMo, + ), + ( + (lambda: schemas.STRING, 0), + (CLIENT_DATA, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (IMAGE_DISK_CONTAINER_LIST, {_sN: _DCiskon}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_REQUEST, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOT_MODE_VALUES, 0), + ), +) + +IMPORT_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _IIO, + {_sSI: _cIIRo, _smit: None}, + ( + _Arc, + _Des, + _En, + _Hy, + _IIm, + _ITI, + _KKI, + _LTi, + _Pla, + _Prog, + _SDna, + _Sta, + _SMt, + _LSic, + _Tag, + _UO, + ), + ( + (lambda: schemas.STRING, {_aQN: _Arc, _sN: _arch}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.STRING, {_aQN: _Hy, _sN: _hy}), + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.IMPORT_IMAGE_TASK_ID, {_aQN: _ITI, _sN: _iTI}), + (lambda: schemas.KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), + (lambda: schemas.STRING, {_aQN: _LTi, _sN: _lTi}), + (lambda: schemas.STRING, {_aQN: _Pla, _sN: _plat}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.SNAPSHOT_DETAIL_LIST, {_aQN: _SDSn, _sN: _sDSn}), + (lambda: schemas.STRING, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _SMt, _sN: _sMt}), + ( + lambda: schemas.IMPORT_IMAGE_LICENSE_SPECIFICATION_LIST_RESPONSE, + {_aQN: _LSic, _sN: _lSic}, + ), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _UO, _sN: _uO}), + ), +) + +IMPORT_IMAGE: StaticOperationSchema = ( + 23, + n0, + _IImpo, + 0, + IMPORT_IMAGE_INPUT, + IMPORT_IMAGE_OUTPUT, + (), +) + +DISK_IMAGE_DETAIL: StaticSchema = ( + 18, + n0, + _DIDis, + 0, + (_For, _Byt, _IMU), + ( + (lambda: schemas.DISK_IMAGE_FORMAT, {_aQN: _For, _sN: _fo, _smi: None}), + (lambda: schemas.LONG, {_aQN: _Byt, _sN: _byt, _smi: None}), + (lambda: schemas.IMPORT_MANIFEST_URL, {_aQN: _IMU, _sN: _iMU, _smi: None}), + ), +) + +VOLUME_DETAIL: StaticSchema = ( + 18, + n0, + _VDo, + 0, + (_Si,), + ((lambda: schemas.LONG, {_aQN: _Si, _sN: _siz, _smi: None}),), +) + +DISK_IMAGE: StaticSchema = ( + 18, + n0, + _DIisk, + 0, + (_Des, _Im, _Vo), + ((lambda: schemas.STRING, 0), (DISK_IMAGE_DETAIL, 0), (VOLUME_DETAIL, 0)), +) + +DISK_IMAGE_LIST: StaticSchema = (16, n0, _DILi, 0, (_me,), ((DISK_IMAGE, 0),)) + +USER_DATA: StaticSchema = ( + 18, + n0, + _UDs, + 4, + (_Da,), + ((lambda: schemas.STRING, {_aQN: _Da, _sN: _dat}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_45.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_45.py new file mode 100644 index 000000000..381b938e7 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_45.py @@ -0,0 +1,1681 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_im = "image" +_vo = "volume" +_Va = "Value" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_Ad = "Address" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_AI = "AllocationId" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_R = "Return" +_r = "return" +_IC = "InstanceCount" +_CVEI = "ClientVpnEndpointId" +_St = "State" +_st = "state" +_SIu = "SubnetId" +_sI = "subnetId" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_Un = "Unsuccessful" +_un = "unsuccessful" +_dRr = "dryRun" +_P = "Protocol" +_N = "Name" +_nam = "name" +_Po = "Port" +_ad = "address" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_SGI = "SecurityGroupId" +_IG = "InternetGateway" +_NG = "NatGateway" +_Reso = "Resource" +_EOIG = "EgressOnlyInternetGateway" +_VPG = "VirtualPrivateGateway" +_VP = "VpcPeering" +_La = "Lambda" +_VL = "VpcLattice" +_EFS = "ElasticFileSystem" +_AVECc = "AccountVpcEncryptionControl" +_Mo = "Mode" +_IT = "InstanceType" +_iT = "instanceType" +_Des = "Description" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_desc = "description" +_APu = "AutoPlacement" +_HM = "HostMaintenance" +_HR = "HostRecovery" +_IF = "InstanceFamily" +_OA = "OutpostArn" +_aP = "autoPlacement" +_CTl = "ClientToken" +_HI = "HostIds" +_sT = "smithy.api#idempotencyToken" +_SGIe = "SecurityGroupIds" +_ASCI = "ApplicationStatusCheckId" +_sU = "smithy.api#Unit" +_GIr = "GroupId" +_IIm = "ImageId" +_DI = "DeviceIndex" +_VIo = "VolumeId" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_vIo = "volumeId" +_UIs = "UserId" +_GN = "GroupName" +_QI = "QuoteId" +_CRFI = "CapacityReservationFleetId" +_ITI = "ImportTaskId" +_iTI = "importTaskId" +_PCr = "ProductCode" +_FII = "FpgaImageId" +_KKI = "KmsKeyId" +_En = "Encrypted" +_kKI = "kmsKeyId" +_iIm = "imageId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_VT = "VolumeType" +_SVI = "SourceVolumeId" +_Io = "Iops" +_Si = "Size" +_Th = "Throughput" +_Vo = "Volume" +_oA = "outpostArn" +_sVI = "sourceVolumeId" +_iop = "iops" +_vT = "volumeType" +_thr = "throughput" +_Op = "Operator" +_ope = "operator" +_siz = "size" +_CTr = "CreateTime" +_cTr = "createTime" +_Vol = "Volumes" +_VSo = "VolumeSet" +_vS = "volumeSet" +_IGPS = "InitializationGracePeriodSeconds" +_HCP = "HealthCheckPaths" +_HCPe = "HealthCheckPath" +_Ag = "Aggregation" +_Pa = "Path" +_IVp = "IpVersion" +_ISpc = "IpScope" +_Int = "Interval" +_Tim = "Timeout" +_FT = "FailureThreshold" +_STu = "SuccessThreshold" +_SCM = "StatusCodeMatcher" +_ASCp = "ApplicationStatusCheck" +_aSC = "applicationStatusCheck" +_EDT = "EndDateType" +_IMC = "InstanceMatchCriteria" +_ED = "EndDate" +_SDt = "StartDate" +_ASd = "AdjustmentStatus" +_aSd = "adjustmentStatus" +_ADdj = "AdjustmentDetails" +_aD = "adjustmentDetails" +_TTC = "TotalTargetCapacity" +_CCO = "ClientConnectOptions" +_Ena = "Enabled" +_CLBO = "ClientLoginBannerOptions" +_CREO = "ClientRouteEnforcementOptions" +_CLO = "ConnectionLogOptions" +_DPO = "DevicePostureOptions" +_SSP = "SelfServicePortal" +_SCA = "ServerCertificateArn" +_DSn = "DnsServers" +_VPp = "VpnPort" +_STp = "SplitTunnel" +_STH = "SessionTimeoutHours" +_DOST = "DisconnectOnSessionTimeout" +_TGC = "TransitGatewayConfiguration" +_DNe = "DeviceName" +_dNe = "deviceName" +_succ = "successful" +_VN = "VirtualName" +_Eb = "Ebs" +_ND = "NoDevice" +_Pl = "Placement" +_HIo = "HostId" +_hI = "hostId" +_KN = "KeyName" +_ECTP = "ExcessCapacityTerminationPolicy" +_LTC = "LaunchTemplateConfigs" +_TCS = "TargetCapacitySpecification" +_Con = "Context" +_vN = "virtualName" +_eb = "ebs" +_nD = "noDevice" +_pla = "placement" +_FIl = "FleetId" +_Pla = "Platform" +_plat = "platform" +_KPI = "KeyPairId" +_kPI = "keyPairId" +_kN = "keyName" +_KFe = "KeyFingerprint" +_kF = "keyFingerprint" +_CCp = "CpuCredits" +_Mon = "Monitoring" +_IISB = "InstanceInitiatedShutdownBehavior" +_UDs = "UserData" +_monit = "monitoring" +_iISB = "instanceInitiatedShutdownBehavior" +_uDs = "userData" +_SSna = "SnapshotSet" +_Sn = "Snapshots" +_sSn = "snapshotSet" +_PDo = "PolicyDocument" +_aVEC = "accountVpcEncryptionControl" +_NTex = "NextToken" +_Attr = "Attribute" +_MR = "MaxResults" +_nT = "nextToken" +_reso = "resource" +_ULI = "UseLongIds" +_uLI = "useLongIds" +_oi_ = "opted_in" +_oi__ = "opted-in" +_noi = "not_opted_in" +_noi_ = "not-opted-in" +_OIS = "OptInStatus" +_For = "Format" +_Im = "Image" +_CTon = "ConversionTask" +_IImp = "ImportInstance" +_IVm = "ImportVolume" +_IIma = "ImageIds" +_LPo = "LoadPermission" +_Gr = "Group" +_FIA = "FpgaImageAttribute" +_PCro = "ProductCodes" +_fIA = "fpgaImageAttribute" +_RHILe = "RequestHostIdList" +_PAr = "PrincipalArn" +_pAr = "principalArn" +_LPa = "LaunchPermission" +_OAr = "OrganizationArn" +_OUA = "OrganizationalUnitArn" +_ISm = "ImdsSupport" +_Arc = "Architecture" +_arch = "architecture" +_Ima = "Images" +_Ur = "Url" +_UB = "UserBucket" +_STDn = "SnapshotTaskDetail" +_sTD = "snapshotTaskDetail" +_GNr = "GroupNames" +_SInap = "SnapshotIds" +_LSoc = "LockState" +_compli = "compliance" +_go = "governance" +_lSoc = "lockState" +_LDo = "LockDuration" +_lDo = "lockDuration" +_COPo = "CoolOffPeriod" +_cOPo = "coolOffPeriod" +_COPEO = "CoolOffPeriodExpiresOn" +_cOPEO = "coolOffPeriodExpiresOn" +_LCO = "LockCreatedOn" +_lCO = "lockCreatedOn" +_LDST = "LockDurationStartTime" +_lDST = "lockDurationStartTime" +_LEO = "LockExpiresOn" +_lEO = "lockExpiresOn" +_GIrou = "GroupIds" +_LTCa = "LaunchTemplateConfig" +_LSaun = "LaunchSpecification" +_lSau = "launchSpecification" +_VIol = "VolumeIds" +_Suc = "Successful" +_RNo = "RoleName" +_SMh = "ShadowMode" +_IFCS = "InstanceFamilyCreditSpecification" +_iFCS = "instanceFamilyCreditSpecification" +_CDl = "ClientData" +_DCiskon = "DiskContainer" +_DIisk = "DiskImage" +_IILS = "ImportInstanceLaunchSpecification" +_AId = "AdditionalInfo" +_aId = "additionalInfo" +_IIIm = "ImportInstanceInput" +_cIIRom = "com.amazonaws.ec2#ImportInstanceRequest" +_DIiskm = "DiskImages" +_dIis = "diskImage" +_IIOm = "ImportInstanceOutput" +_cIIRoma = "com.amazonaws.ec2#ImportInstanceResult" +_cTonv = "conversionTask" +_Blo = "Blob" +_IKPI = "ImportKeyPairInput" +_cIKPR = "com.amazonaws.ec2#ImportKeyPairRequest" +_PKM = "PublicKeyMaterial" +_pKM = "publicKeyMaterial" +_IKPO = "ImportKeyPairOutput" +_cIKPRo = "com.amazonaws.ec2#ImportKeyPairResult" +_IKP = "ImportKeyPair" +_SDCn = "SnapshotDiskContainer" +_ISIm = "ImportSnapshotInput" +_cISR = "com.amazonaws.ec2#ImportSnapshotRequest" +_ISO = "ImportSnapshotOutput" +_cISRo = "com.amazonaws.ec2#ImportSnapshotResult" +_ISmpo = "ImportSnapshot" +_IVI = "ImportVolumeInput" +_cIVR = "com.amazonaws.ec2#ImportVolumeRequest" +_IVO = "ImportVolumeOutput" +_cIVRo = "com.amazonaws.ec2#ImportVolumeResult" +_LIIRBMR = "ListImagesInRecycleBinMaxResults" +_LIIRBI = "ListImagesInRecycleBinInput" +_cLIIRBR = "com.amazonaws.ec2#ListImagesInRecycleBinRequest" +_IRBI = "ImageRecycleBinInfo" +_RBET = "RecycleBinEnterTime" +_rBET = "recycleBinEnterTime" +_RBETe = "RecycleBinExitTime" +_rBETe = "recycleBinExitTime" +_IRBIL = "ImageRecycleBinInfoList" +_LIIRBO = "ListImagesInRecycleBinOutput" +_cLIIRBRo = "com.amazonaws.ec2#ListImagesInRecycleBinResult" +_ISmage = "ImageSet" +_iSmage = "imageSet" +_LIIRB = "ListImagesInRecycleBin" +_LSIRBMR = "ListSnapshotsInRecycleBinMaxResults" +_LSIRBI = "ListSnapshotsInRecycleBinInput" +_cLSIRBR = "com.amazonaws.ec2#ListSnapshotsInRecycleBinRequest" +_SRBI = "SnapshotRecycleBinInfo" +_SRBIL = "SnapshotRecycleBinInfoList" +_LSIRBO = "ListSnapshotsInRecycleBinOutput" +_cLSIRBRo = "com.amazonaws.ec2#ListSnapshotsInRecycleBinResult" +_LSIRB = "ListSnapshotsInRecycleBin" +_LVIRBI = "ListVolumesInRecycleBinInput" +_cLVIRBR = "com.amazonaws.ec2#ListVolumesInRecycleBinRequest" +_VRBI = "VolumeRecycleBinInfo" +_VRBIL = "VolumeRecycleBinInfoList" +_LVIRBO = "ListVolumesInRecycleBinOutput" +_cLVIRBRo = "com.amazonaws.ec2#ListVolumesInRecycleBinResult" +_LVIRB = "ListVolumesInRecycleBin" +_COPRHo = "CoolOffPeriodRequestHours" +_RPRDe = "RetentionPeriodRequestDays" +_LM = "LockMode" +_LSIo = "LockSnapshotInput" +_cLSR = "com.amazonaws.ec2#LockSnapshotRequest" +_EDx = "ExpirationDate" +_LSO = "LockSnapshotOutput" +_cLSRo = "com.amazonaws.ec2#LockSnapshotResult" +_LSock = "LockSnapshot" +_MAVECI = "ModifyAccountVpcEncryptionControlInput" +_cMAVECR = "com.amazonaws.ec2#ModifyAccountVpcEncryptionControlRequest" +_MAVECO = "ModifyAccountVpcEncryptionControlOutput" +_cMAVECRo = "com.amazonaws.ec2#ModifyAccountVpcEncryptionControlResult" +_MAVEC = "ModifyAccountVpcEncryptionControl" +_MAAI = "ModifyAddressAttributeInput" +_cMAAR = "com.amazonaws.ec2#ModifyAddressAttributeRequest" +_DNo = "DomainName" +_MAAO = "ModifyAddressAttributeOutput" +_cMAARo = "com.amazonaws.ec2#ModifyAddressAttributeResult" +_MAA = "ModifyAddressAttribute" +_MASCI = "ModifyApplicationStatusCheckInput" +_cMASCR = "com.amazonaws.ec2#ModifyApplicationStatusCheckRequest" +_MASCO = "ModifyApplicationStatusCheckOutput" +_cMASCRo = "com.amazonaws.ec2#ModifyApplicationStatusCheckResult" +_MASC = "ModifyApplicationStatusCheck" +_MAZOIS = "ModifyAvailabilityZoneOptInStatus" +_MAZGI = "ModifyAvailabilityZoneGroupInput" +_cMAZGR = "com.amazonaws.ec2#ModifyAvailabilityZoneGroupRequest" +_MAZGO = "ModifyAvailabilityZoneGroupOutput" +_cMAZGRo = "com.amazonaws.ec2#ModifyAvailabilityZoneGroupResult" +_MAZG = "ModifyAvailabilityZoneGroup" +_MCRI = "ModifyCapacityReservationInput" +_cMCRR = "com.amazonaws.ec2#ModifyCapacityReservationRequest" +_Accep = "Accept" +_AMT = "AcceptModificationTerms" +_MCRO = "ModifyCapacityReservationOutput" +_cMCRRo = "com.amazonaws.ec2#ModifyCapacityReservationResult" +_MCR = "ModifyCapacityReservation" +_MCRFI = "ModifyCapacityReservationFleetInput" +_cMCRFR = "com.amazonaws.ec2#ModifyCapacityReservationFleetRequest" +_RED = "RemoveEndDate" +_MCRFO = "ModifyCapacityReservationFleetOutput" +_cMCRFRo = "com.amazonaws.ec2#ModifyCapacityReservationFleetResult" +_MCRF = "ModifyCapacityReservationFleet" +_DSOMS = "DnsServersOptionsModifyStructure" +_CDSu = "CustomDnsServers" +_MCVEI = "ModifyClientVpnEndpointInput" +_cMCVER = "com.amazonaws.ec2#ModifyClientVpnEndpointRequest" +_MCVEO = "ModifyClientVpnEndpointOutput" +_cMCVERo = "com.amazonaws.ec2#ModifyClientVpnEndpointResult" +_MCVE = "ModifyClientVpnEndpoint" +_MCVEAPI = "ModifyClientVpnEndpointAuthorizationPolicyInput" +_cMCVEAPR = "com.amazonaws.ec2#ModifyClientVpnEndpointAuthorizationPolicyRequest" +_MCVEAPO = "ModifyClientVpnEndpointAuthorizationPolicyOutput" +_cMCVEAPRo = "com.amazonaws.ec2#ModifyClientVpnEndpointAuthorizationPolicyResult" +_MCVEAP = "ModifyClientVpnEndpointAuthorizationPolicy" +_MDCSI = "ModifyDefaultCreditSpecificationInput" +_cMDCSR = "com.amazonaws.ec2#ModifyDefaultCreditSpecificationRequest" +_MDCSO = "ModifyDefaultCreditSpecificationOutput" +_cMDCSRo = "com.amazonaws.ec2#ModifyDefaultCreditSpecificationResult" +_MDCS = "ModifyDefaultCreditSpecification" +_MEDKKII = "ModifyEbsDefaultKmsKeyIdInput" +_cMEDKKIR = "com.amazonaws.ec2#ModifyEbsDefaultKmsKeyIdRequest" +_MEDKKIO = "ModifyEbsDefaultKmsKeyIdOutput" +_cMEDKKIRo = "com.amazonaws.ec2#ModifyEbsDefaultKmsKeyIdResult" +_MEDKKI = "ModifyEbsDefaultKmsKeyId" +_MFI = "ModifyFleetInput" +_cMFR = "com.amazonaws.ec2#ModifyFleetRequest" +_MFO = "ModifyFleetOutput" +_cMFRo = "com.amazonaws.ec2#ModifyFleetResult" +_MFo = "ModifyFleet" +_LPR = "LoadPermissionRequest" +_LPLR = "LoadPermissionListRequest" +_LPM = "LoadPermissionModifications" +_Add_ = "Add" +_Remo = "Remove" +_OTp = "OperationType" +_add = "add" +_remo = "remove" +_PCSL = "ProductCodeStringList" +_UGSL = "UserGroupStringList" +_UG = "UserGroup" +_UISL = "UserIdStringList" +_MFIAI = "ModifyFpgaImageAttributeInput" +_cMFIAR = "com.amazonaws.ec2#ModifyFpgaImageAttributeRequest" +_UIse = "UserIds" +_UGs = "UserGroups" +_MFIAO = "ModifyFpgaImageAttributeOutput" +_cMFIARo = "com.amazonaws.ec2#ModifyFpgaImageAttributeResult" +_MFIA = "ModifyFpgaImageAttribute" +_MHI = "ModifyHostsInput" +_cMHR = "com.amazonaws.ec2#ModifyHostsRequest" +_UILn = "UnsuccessfulItemList" +_MHO = "ModifyHostsOutput" +_cMHRo = "com.amazonaws.ec2#ModifyHostsResult" +_MHo = "ModifyHosts" +_MIIFI = "ModifyIdentityIdFormatInput" +_cMIIFR = "com.amazonaws.ec2#ModifyIdentityIdFormatRequest" +_MIIFO = "ModifyIdentityIdFormatOutput" +_MIIF = "ModifyIdentityIdFormat" +_MIFI = "ModifyIdFormatInput" +_cMIFR = "com.amazonaws.ec2#ModifyIdFormatRequest" +_MIFO = "ModifyIdFormatOutput" +_MIF = "ModifyIdFormat" +_LPMa = "LaunchPermissionModifications" +_OUASL = "OrganizationalUnitArnStringList" +_OASL = "OrganizationArnStringList" +_MIAI = "ModifyImageAttributeInput" +_cMIAR = "com.amazonaws.ec2#ModifyImageAttributeRequest" +_OArga = "OrganizationArns" +_OUAr = "OrganizationalUnitArns" +_MIAO = "ModifyImageAttributeOutput" +_MIA = "ModifyImageAttribute" +_EIBDS = "EbsInstanceBlockDeviceSpecification" +_IBDMS = "InstanceBlockDeviceMappingSpecification" +_IBDMSL = "InstanceBlockDeviceMappingSpecificationList" + +REQUEST_HOST_ID_LIST: StaticSchema = ( + 16, + n0, + _RHILe, + 0, + (_me,), + ((lambda: schemas.DEDICATED_HOST_ID, {_sN: _i}),), +) + +IMPORT_INSTANCE_LAUNCH_SPECIFICATION: StaticSchema = ( + 18, + n0, + _IILS, + 0, + (_Arc, _GNr, _GIrou, _AId, _UDs, _IT, _Pl, _Mon, _SIu, _IISB, _PIAr), + ( + (lambda: schemas.ARCHITECTURE_VALUES, {_aQN: _Arc, _sN: _arch}), + (lambda: schemas.SECURITY_GROUP_STRING_LIST, {_sN: _GN}), + (lambda: schemas.SECURITY_GROUP_ID_STRING_LIST, {_sN: _GIr}), + (lambda: schemas.STRING, {_aQN: _AId, _sN: _aId}), + (lambda: schemas.USER_DATA, {_aQN: _UDs, _sN: _uDs}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.PLACEMENT, {_aQN: _Pl, _sN: _pla}), + (lambda: schemas.BOOLEAN, {_aQN: _Mon, _sN: _monit}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.SHUTDOWN_BEHAVIOR, {_aQN: _IISB, _sN: _iISB}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + ), +) + +IMPORT_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _IIIm, + {_sSI: _cIIRom, _sm: None}, + (_DR, _Des, _LSaun, _DIiskm, _Pla), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (IMPORT_INSTANCE_LAUNCH_SPECIFICATION, {_aQN: _LSaun, _sN: _lSau}), + (lambda: schemas.DISK_IMAGE_LIST, {_aQN: _DIisk, _sN: _dIis}), + (lambda: schemas.PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat, _smi: None}), + ), +) + +IMPORT_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _IIOm, + {_sSI: _cIIRoma, _smit: None}, + (_CTon,), + ((lambda: schemas.CONVERSION_TASK, {_aQN: _CTon, _sN: _cTonv}),), +) + +IMPORT_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _IImp, + 0, + IMPORT_INSTANCE_INPUT, + IMPORT_INSTANCE_OUTPUT, + (), +) + +BLOB: StaticSchema = (1, n0, _Blo, 0) + +IMPORT_KEY_PAIR_INPUT: StaticSchema = ( + 18, + n0, + _IKPI, + {_sSI: _cIKPR, _sm: None}, + (_TSa, _DR, _KN, _PKM), + ( + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.STRING, {_aQN: _KN, _sN: _kN, _smi: None}), + (BLOB, {_aQN: _PKM, _sN: _pKM, _smi: None}), + ), +) + +IMPORT_KEY_PAIR_OUTPUT: StaticSchema = ( + 18, + n0, + _IKPO, + {_sSI: _cIKPRo, _smit: None}, + (_KFe, _KN, _KPI, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _KFe, _sN: _kF}), + (lambda: schemas.STRING, {_aQN: _KN, _sN: _kN}), + (lambda: schemas.STRING, {_aQN: _KPI, _sN: _kPI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +IMPORT_KEY_PAIR: StaticOperationSchema = ( + 23, + n0, + _IKP, + 0, + IMPORT_KEY_PAIR_INPUT, + IMPORT_KEY_PAIR_OUTPUT, + (), +) + +SNAPSHOT_DISK_CONTAINER: StaticSchema = ( + 18, + n0, + _SDCn, + 0, + (_Des, _For, _Ur, _UB), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_URL, 0), + (lambda: schemas.USER_BUCKET, 0), + ), +) + +IMPORT_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _ISIm, + {_sSI: _cISR, _sm: None}, + (_CDl, _CTl, _Des, _DCiskon, _DR, _En, _KKI, _RNo, _TSa), + ( + (lambda: schemas.CLIENT_DATA, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (SNAPSHOT_DISK_CONTAINER, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.KMS_KEY_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +IMPORT_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _ISO, + {_sSI: _cISRo, _smit: None}, + (_Des, _ITI, _STDn, _Tag), + ( + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _ITI, _sN: _iTI}), + (lambda: schemas.SNAPSHOT_TASK_DETAIL, {_aQN: _STDn, _sN: _sTD}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +IMPORT_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _ISmpo, + 0, + IMPORT_SNAPSHOT_INPUT, + IMPORT_SNAPSHOT_OUTPUT, + (), +) + +IMPORT_VOLUME_INPUT: StaticSchema = ( + 18, + n0, + _IVI, + {_sSI: _cIVR, _sm: None}, + (_AZI, _DR, _AZ, _Im, _Des, _Vo), + ( + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.DISK_IMAGE_DETAIL, {_aQN: _Im, _sN: _im, _smi: None}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.VOLUME_DETAIL, {_aQN: _Vo, _sN: _vo, _smi: None}), + ), +) + +IMPORT_VOLUME_OUTPUT: StaticSchema = ( + 18, + n0, + _IVO, + {_sSI: _cIVRo, _smit: None}, + (_CTon,), + ((lambda: schemas.CONVERSION_TASK, {_aQN: _CTon, _sN: _cTonv}),), +) + +IMPORT_VOLUME: StaticOperationSchema = ( + 23, + n0, + _IVm, + 0, + IMPORT_VOLUME_INPUT, + IMPORT_VOLUME_OUTPUT, + (), +) + +LIST_IMAGES_IN_RECYCLE_BIN_MAX_RESULTS: StaticSchema = (7, n0, _LIIRBMR, 0) + +LIST_IMAGES_IN_RECYCLE_BIN_INPUT: StaticSchema = ( + 18, + n0, + _LIIRBI, + {_sSI: _cLIIRBR, _sm: None}, + (_IIma, _NTex, _MR, _DR), + ( + (lambda: schemas.IMAGE_ID_STRING_LIST, {_sN: _IIm}), + (lambda: schemas.STRING, 0), + (LIST_IMAGES_IN_RECYCLE_BIN_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +LIST_IMAGES_IN_RECYCLE_BIN_OUTPUT: StaticSchema = ( + 18, + n0, + _LIIRBO, + {_sSI: _cLIIRBRo, _smit: None}, + (_Ima, _NTex), + ( + (lambda: IMAGE_RECYCLE_BIN_INFO_LIST, {_aQN: _ISmage, _sN: _iSmage}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +LIST_IMAGES_IN_RECYCLE_BIN: StaticOperationSchema = ( + 23, + n0, + _LIIRB, + 0, + LIST_IMAGES_IN_RECYCLE_BIN_INPUT, + LIST_IMAGES_IN_RECYCLE_BIN_OUTPUT, + (), +) + +IMAGE_RECYCLE_BIN_INFO: StaticSchema = ( + 18, + n0, + _IRBI, + 0, + (_IIm, _N, _Des, _RBET, _RBETe), + ( + (lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.STRING, {_aQN: _N, _sN: _nam}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RBET, _sN: _rBET}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RBETe, _sN: _rBETe}), + ), +) + +IMAGE_RECYCLE_BIN_INFO_LIST: StaticSchema = ( + 16, + n0, + _IRBIL, + 0, + (_me,), + ((IMAGE_RECYCLE_BIN_INFO, {_sN: _i}),), +) + +LIST_SNAPSHOTS_IN_RECYCLE_BIN_MAX_RESULTS: StaticSchema = (7, n0, _LSIRBMR, 0) + +LIST_SNAPSHOTS_IN_RECYCLE_BIN_INPUT: StaticSchema = ( + 18, + n0, + _LSIRBI, + {_sSI: _cLSIRBR, _sm: None}, + (_MR, _NTex, _SInap, _DR), + ( + (LIST_SNAPSHOTS_IN_RECYCLE_BIN_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SNAPSHOT_ID_STRING_LIST, {_sN: _SIn}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +LIST_SNAPSHOTS_IN_RECYCLE_BIN_OUTPUT: StaticSchema = ( + 18, + n0, + _LSIRBO, + {_sSI: _cLSIRBRo, _smit: None}, + (_Sn, _NTex), + ( + (lambda: SNAPSHOT_RECYCLE_BIN_INFO_LIST, {_aQN: _SSna, _sN: _sSn}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +LIST_SNAPSHOTS_IN_RECYCLE_BIN: StaticOperationSchema = ( + 23, + n0, + _LSIRB, + 0, + LIST_SNAPSHOTS_IN_RECYCLE_BIN_INPUT, + LIST_SNAPSHOTS_IN_RECYCLE_BIN_OUTPUT, + (), +) + +SNAPSHOT_RECYCLE_BIN_INFO: StaticSchema = ( + 18, + n0, + _SRBI, + 0, + (_SIn, _RBET, _RBETe, _Des, _VIo), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RBET, _sN: _rBET}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RBETe, _sN: _rBETe}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + ), +) + +SNAPSHOT_RECYCLE_BIN_INFO_LIST: StaticSchema = ( + 16, + n0, + _SRBIL, + 0, + (_me,), + ((SNAPSHOT_RECYCLE_BIN_INFO, {_sN: _i}),), +) + +LIST_VOLUMES_IN_RECYCLE_BIN_INPUT: StaticSchema = ( + 18, + n0, + _LVIRBI, + {_sSI: _cLVIRBR, _sm: None}, + (_VIol, _DR, _MR, _NTex), + ( + (lambda: schemas.VOLUME_ID_STRING_LIST, {_sN: _VIo}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_VOLUMES_IN_RECYCLE_BIN_OUTPUT: StaticSchema = ( + 18, + n0, + _LVIRBO, + {_sSI: _cLVIRBRo, _smit: None}, + (_Vol, _NTex), + ( + (lambda: VOLUME_RECYCLE_BIN_INFO_LIST, {_aQN: _VSo, _sN: _vS}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +LIST_VOLUMES_IN_RECYCLE_BIN: StaticOperationSchema = ( + 23, + n0, + _LVIRB, + 0, + LIST_VOLUMES_IN_RECYCLE_BIN_INPUT, + LIST_VOLUMES_IN_RECYCLE_BIN_OUTPUT, + (), +) + +VOLUME_RECYCLE_BIN_INFO: StaticSchema = ( + 18, + n0, + _VRBI, + 0, + ( + _VIo, + _VT, + _St, + _Si, + _Io, + _Th, + _OA, + _AZ, + _AZI, + _SVI, + _SIn, + _Op, + _CTr, + _RBET, + _RBETe, + ), + ( + (lambda: schemas.VOLUME_ID, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), + (lambda: schemas.VOLUME_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.INTEGER, {_aQN: _Si, _sN: _siz}), + (lambda: schemas.INTEGER, {_aQN: _Io, _sN: _iop}), + (lambda: schemas.INTEGER, {_aQN: _Th, _sN: _thr}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _SVI, _sN: _sVI}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + (lambda: schemas.DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RBET, _sN: _rBET}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RBETe, _sN: _rBETe}), + ), +) + +VOLUME_RECYCLE_BIN_INFO_LIST: StaticSchema = ( + 16, + n0, + _VRBIL, + 0, + (_me,), + ((VOLUME_RECYCLE_BIN_INFO, {_sN: _i}),), +) + +COOL_OFF_PERIOD_REQUEST_HOURS: StaticSchema = (7, n0, _COPRHo, 0) + +RETENTION_PERIOD_REQUEST_DAYS: StaticSchema = (7, n0, _RPRDe, 0) + +LOCK_MODE: StaticSchema = ( + 14, + n0, + _LM, + 0, + (_compli, _go), + ((-1, {_sV: _compli}), (-1, {_sV: _go})), +) + +LOCK_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _LSIo, + {_sSI: _cLSR, _sm: None}, + (_SIn, _DR, _LM, _COPo, _LDo, _EDx), + ( + (lambda: schemas.SNAPSHOT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (LOCK_MODE, 1), + (COOL_OFF_PERIOD_REQUEST_HOURS, 0), + (RETENTION_PERIOD_REQUEST_DAYS, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + ), +) + +LOCK_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_sSI: _cLSRo, _smit: None}, + (_SIn, _LSoc, _LDo, _COPo, _COPEO, _LCO, _LEO, _LDST), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.LOCK_STATE, {_aQN: _LSoc, _sN: _lSoc}), + (lambda: schemas.RETENTION_PERIOD_RESPONSE_DAYS, {_aQN: _LDo, _sN: _lDo}), + (lambda: schemas.COOL_OFF_PERIOD_RESPONSE_HOURS, {_aQN: _COPo, _sN: _cOPo}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _COPEO, _sN: _cOPEO}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LCO, _sN: _lCO}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LEO, _sN: _lEO}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LDST, _sN: _lDST}), + ), +) + +LOCK_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _LSock, + 0, + LOCK_SNAPSHOT_INPUT, + LOCK_SNAPSHOT_OUTPUT, + (), +) + +MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( + 18, + n0, + _MAVECI, + {_sSI: _cMAVECR, _sm: None}, + (_DR, _Mo, _IG, _EOIG, _NG, _VPG, _VP, _La, _VL, _EFS), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ACCOUNT_VPC_ENCRYPTION_CONTROL_MODE, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + ), +) + +MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( + 18, + n0, + _MAVECO, + {_sSI: _cMAVECRo, _smit: None}, + (_AVECc,), + ((lambda: schemas.ACCOUNT_VPC_ENCRYPTION_CONTROL, {_aQN: _AVECc, _sN: _aVEC}),), +) + +MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( + 23, + n0, + _MAVEC, + 0, + MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_INPUT, + MODIFY_ACCOUNT_VPC_ENCRYPTION_CONTROL_OUTPUT, + (), +) + +MODIFY_ADDRESS_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MAAI, + {_sSI: _cMAAR, _sm: None}, + (_AI, _DNo, _DR), + ( + (lambda: schemas.ALLOCATION_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_ADDRESS_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _MAAO, + {_sSI: _cMAARo, _smit: None}, + (_Ad,), + ((lambda: schemas.ADDRESS_ATTRIBUTE, {_aQN: _Ad, _sN: _ad}),), +) + +MODIFY_ADDRESS_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MAA, + 0, + MODIFY_ADDRESS_ATTRIBUTE_INPUT, + MODIFY_ADDRESS_ATTRIBUTE_OUTPUT, + (), +) + +MODIFY_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( + 18, + n0, + _MASCI, + {_sSI: _cMASCR, _sm: None}, + ( + _ASCI, + _Ag, + _HCP, + _P, + _Po, + _Pa, + _DI, + _IVp, + _ISpc, + _Int, + _Tim, + _FT, + _STu, + _SCM, + _IGPS, + _CTl, + _DR, + ), + ( + (lambda: schemas.APPLICATION_STATUS_CHECK_ID, 1), + (lambda: schemas.AGGREGATION_STATUS_ENUM, 0), + (lambda: schemas.HEALTH_CHECK_PATH_REQUEST_LIST, {_sN: _HCPe}), + (lambda: schemas.NETWORK_PROTOCOL_ENUM, 0), + (lambda: schemas.PORT_NUMBER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.IP_VERSION_ENUM, 0), + (lambda: schemas.IP_SCOPE_ENUM, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INITIALIZATION_GRACE_PERIOD_SECONDS, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( + 18, + n0, + _MASCO, + {_sSI: _cMASCRo, _smit: None}, + (_ASCp,), + ( + ( + lambda: schemas.APPLICATION_STATUS_CHECK_RESPONSE_OBJECT, + {_aQN: _ASCp, _sN: _aSC}, + ), + ), +) + +MODIFY_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( + 23, + n0, + _MASC, + 0, + MODIFY_APPLICATION_STATUS_CHECK_INPUT, + MODIFY_APPLICATION_STATUS_CHECK_OUTPUT, + (), +) + +MODIFY_AVAILABILITY_ZONE_OPT_IN_STATUS: StaticSchema = ( + 14, + n0, + _MAZOIS, + 0, + (_oi_, _noi), + ((-1, {_sV: _oi__}), (-1, {_sV: _noi_})), +) + +MODIFY_AVAILABILITY_ZONE_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _MAZGI, + {_sSI: _cMAZGR, _sm: None}, + (_GN, _OIS, _DR), + ( + (lambda: schemas.STRING, 1), + (MODIFY_AVAILABILITY_ZONE_OPT_IN_STATUS, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_AVAILABILITY_ZONE_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _MAZGO, + {_sSI: _cMAZGRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_AVAILABILITY_ZONE_GROUP: StaticOperationSchema = ( + 23, + n0, + _MAZG, + 0, + MODIFY_AVAILABILITY_ZONE_GROUP_INPUT, + MODIFY_AVAILABILITY_ZONE_GROUP_OUTPUT, + (), +) + +MODIFY_CAPACITY_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _MCRI, + {_sSI: _cMCRR, _sm: None}, + (_CRI, _IC, _ED, _EDT, _Accep, _DR, _AId, _IMC, _AMT, _SDt, _QI), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.DATE_TIME, 0), + (lambda: schemas.END_DATE_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INSTANCE_MATCH_CRITERIA, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID, 0), + ), +) + +MODIFY_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MCRO, + {_sSI: _cMCRRo, _smit: None}, + (_R, _ASd, _ADdj), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + ( + lambda: schemas.CAPACITY_RESERVATION_ADJUSTMENT_STATUS, + {_aQN: _ASd, _sN: _aSd}, + ), + ( + lambda: schemas.CAPACITY_RESERVATION_ADJUSTMENT_DETAILS, + {_aQN: _ADdj, _sN: _aD}, + ), + ), +) + +MODIFY_CAPACITY_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _MCR, + 0, + MODIFY_CAPACITY_RESERVATION_INPUT, + MODIFY_CAPACITY_RESERVATION_OUTPUT, + (), +) + +MODIFY_CAPACITY_RESERVATION_FLEET_INPUT: StaticSchema = ( + 18, + n0, + _MCRFI, + {_sSI: _cMCRFR, _sm: None}, + (_CRFI, _TTC, _ED, _DR, _RED), + ( + (lambda: schemas.CAPACITY_RESERVATION_FLEET_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_CAPACITY_RESERVATION_FLEET_OUTPUT: StaticSchema = ( + 18, + n0, + _MCRFO, + {_sSI: _cMCRFRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_CAPACITY_RESERVATION_FLEET: StaticOperationSchema = ( + 23, + n0, + _MCRF, + 0, + MODIFY_CAPACITY_RESERVATION_FLEET_INPUT, + MODIFY_CAPACITY_RESERVATION_FLEET_OUTPUT, + (), +) + +DNS_SERVERS_OPTIONS_MODIFY_STRUCTURE: StaticSchema = ( + 18, + n0, + _DSOMS, + 0, + (_CDSu, _Ena), + ((lambda: schemas.VALUE_STRING_LIST, 0), (lambda: schemas.BOOLEAN, 0)), +) + +MODIFY_CLIENT_VPN_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _MCVEI, + {_sSI: _cMCVER, _sm: None}, + ( + _CVEI, + _SCA, + _CLO, + _DSn, + _VPp, + _Des, + _STp, + _DR, + _SGIe, + _VI, + _SSP, + _CCO, + _STH, + _CLBO, + _CREO, + _DOST, + _TGC, + _DPO, + ), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONNECTION_LOG_OPTIONS, 0), + (DNS_SERVERS_OPTIONS_MODIFY_STRUCTURE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.CLIENT_VPN_SECURITY_GROUP_ID_SET, {_sN: _SGI}), + (lambda: schemas.VPC_ID, 0), + (lambda: schemas.SELF_SERVICE_PORTAL, 0), + (lambda: schemas.CLIENT_CONNECT_OPTIONS, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.CLIENT_LOGIN_BANNER_OPTIONS, 0), + (lambda: schemas.CLIENT_ROUTE_ENFORCEMENT_OPTIONS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TRANSIT_GATEWAY_CONFIGURATION_INPUT_STRUCTURE, 0), + (lambda: schemas.DEVICE_POSTURE_OPTIONS, 0), + ), +) + +MODIFY_CLIENT_VPN_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _MCVEO, + {_sSI: _cMCVERo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_CLIENT_VPN_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _MCVE, + 0, + MODIFY_CLIENT_VPN_ENDPOINT_INPUT, + MODIFY_CLIENT_VPN_ENDPOINT_OUTPUT, + (), +) + +MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _MCVEAPI, + {_sSI: _cMCVEAPR, _sm: None}, + (_CVEI, _PDo, _Des, _SMh, _CTl, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CLIENT_VPN_AUTHORIZATION_POLICY_SHADOW_MODE, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _MCVEAPO, + {_sSI: _cMCVEAPRo, _smit: None}, + (_Sta,), + ( + ( + lambda: schemas.CLIENT_VPN_AUTHORIZATION_POLICY_STATUS, + {_aQN: _Sta, _sN: _sta}, + ), + ), +) + +MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY: StaticOperationSchema = ( + 23, + n0, + _MCVEAP, + 0, + MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_INPUT, + MODIFY_CLIENT_VPN_ENDPOINT_AUTHORIZATION_POLICY_OUTPUT, + (), +) + +MODIFY_DEFAULT_CREDIT_SPECIFICATION_INPUT: StaticSchema = ( + 18, + n0, + _MDCSI, + {_sSI: _cMDCSR, _sm: None}, + (_DR, _IF, _CCp), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.UNLIMITED_SUPPORTED_INSTANCE_FAMILY, 1), + (lambda: schemas.STRING, 1), + ), +) + +MODIFY_DEFAULT_CREDIT_SPECIFICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MDCSO, + {_sSI: _cMDCSRo, _smit: None}, + (_IFCS,), + ( + ( + lambda: schemas.INSTANCE_FAMILY_CREDIT_SPECIFICATION, + {_aQN: _IFCS, _sN: _iFCS}, + ), + ), +) + +MODIFY_DEFAULT_CREDIT_SPECIFICATION: StaticOperationSchema = ( + 23, + n0, + _MDCS, + 0, + MODIFY_DEFAULT_CREDIT_SPECIFICATION_INPUT, + MODIFY_DEFAULT_CREDIT_SPECIFICATION_OUTPUT, + (), +) + +MODIFY_EBS_DEFAULT_KMS_KEY_ID_INPUT: StaticSchema = ( + 18, + n0, + _MEDKKII, + {_sSI: _cMEDKKIR, _sm: None}, + (_KKI, _DR), + ((lambda: schemas.KMS_KEY_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +MODIFY_EBS_DEFAULT_KMS_KEY_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _MEDKKIO, + {_sSI: _cMEDKKIRo, _smit: None}, + (_KKI,), + ((lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}),), +) + +MODIFY_EBS_DEFAULT_KMS_KEY_ID: StaticOperationSchema = ( + 23, + n0, + _MEDKKI, + 0, + MODIFY_EBS_DEFAULT_KMS_KEY_ID_INPUT, + MODIFY_EBS_DEFAULT_KMS_KEY_ID_OUTPUT, + (), +) + +MODIFY_FLEET_INPUT: StaticSchema = ( + 18, + n0, + _MFI, + {_sSI: _cMFR, _sm: None}, + (_DR, _ECTP, _LTC, _FIl, _TCS, _Con), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FLEET_EXCESS_CAPACITY_TERMINATION_POLICY, 0), + (lambda: schemas.FLEET_LAUNCH_TEMPLATE_CONFIG_LIST_REQUEST, {_sN: _LTCa}), + (lambda: schemas.FLEET_ID, 1), + (lambda: schemas.TARGET_CAPACITY_SPECIFICATION_REQUEST, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_FLEET_OUTPUT: StaticSchema = ( + 18, + n0, + _MFO, + {_sSI: _cMFRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_FLEET: StaticOperationSchema = ( + 23, + n0, + _MFo, + 0, + MODIFY_FLEET_INPUT, + MODIFY_FLEET_OUTPUT, + (), +) + +LOAD_PERMISSION_REQUEST: StaticSchema = ( + 18, + n0, + _LPR, + 0, + (_Gr, _UIs), + ((lambda: schemas.PERMISSION_GROUP, 0), (lambda: schemas.STRING, 0)), +) + +LOAD_PERMISSION_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _LPLR, + 0, + (_me,), + ((LOAD_PERMISSION_REQUEST, {_sN: _i}),), +) + +LOAD_PERMISSION_MODIFICATIONS: StaticSchema = ( + 18, + n0, + _LPM, + 0, + (_Add_, _Remo), + ((LOAD_PERMISSION_LIST_REQUEST, 0), (LOAD_PERMISSION_LIST_REQUEST, 0)), +) + +OPERATION_TYPE: StaticSchema = ( + 14, + n0, + _OTp, + 0, + (_add, _remo), + ((-1, {_sV: _add}), (-1, {_sV: _remo})), +) + +PRODUCT_CODE_STRING_LIST: StaticSchema = ( + 16, + n0, + _PCSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _PCr}),), +) + +USER_GROUP_STRING_LIST: StaticSchema = ( + 16, + n0, + _UGSL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _UG}),), +) + +USER_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _UISL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _UIs}),), +) + +MODIFY_FPGA_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MFIAI, + {_sSI: _cMFIAR, _sm: None}, + (_DR, _FII, _Attr, _OTp, _UIse, _UGs, _PCro, _LPo, _Des, _N), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FPGA_IMAGE_ID, 1), + (lambda: schemas.FPGA_IMAGE_ATTRIBUTE_NAME, 0), + (OPERATION_TYPE, 0), + (USER_ID_STRING_LIST, {_sN: _UIs}), + (USER_GROUP_STRING_LIST, {_sN: _UG}), + (PRODUCT_CODE_STRING_LIST, {_sN: _PCr}), + (LOAD_PERMISSION_MODIFICATIONS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_FPGA_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _MFIAO, + {_sSI: _cMFIARo, _smit: None}, + (_FIA,), + ((lambda: schemas.FPGA_IMAGE_ATTRIBUTE, {_aQN: _FIA, _sN: _fIA}),), +) + +MODIFY_FPGA_IMAGE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MFIA, + 0, + MODIFY_FPGA_IMAGE_ATTRIBUTE_INPUT, + MODIFY_FPGA_IMAGE_ATTRIBUTE_OUTPUT, + (), +) + +MODIFY_HOSTS_INPUT: StaticSchema = ( + 18, + n0, + _MHI, + {_sSI: _cMHR, _sm: None}, + (_HR, _IT, _IF, _HM, _HI, _APu), + ( + (lambda: schemas.HOST_RECOVERY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.HOST_MAINTENANCE, 0), + (REQUEST_HOST_ID_LIST, {_aQN: _HIo, _sN: _hI, _smi: None}), + (lambda: schemas.AUTO_PLACEMENT, {_aQN: _APu, _sN: _aP}), + ), +) + +MODIFY_HOSTS_OUTPUT: StaticSchema = ( + 18, + n0, + _MHO, + {_sSI: _cMHRo, _smit: None}, + (_Suc, _Un), + ( + (lambda: schemas.RESPONSE_HOST_ID_LIST, {_aQN: _Suc, _sN: _succ}), + (lambda: UNSUCCESSFUL_ITEM_LIST, {_aQN: _Un, _sN: _un}), + ), +) + +MODIFY_HOSTS: StaticOperationSchema = ( + 23, + n0, + _MHo, + 0, + MODIFY_HOSTS_INPUT, + MODIFY_HOSTS_OUTPUT, + (), +) + +UNSUCCESSFUL_ITEM_LIST: StaticSchema = ( + 16, + n0, + _UILn, + 0, + (_me,), + ((lambda: schemas.UNSUCCESSFUL_ITEM, {_sN: _i}),), +) + +MODIFY_IDENTITY_ID_FORMAT_INPUT: StaticSchema = ( + 18, + n0, + _MIIFI, + {_sSI: _cMIIFR, _sm: None}, + (_Reso, _ULI, _PAr), + ( + (lambda: schemas.STRING, {_aQN: _Reso, _sN: _reso, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _ULI, _sN: _uLI, _smi: None}), + (lambda: schemas.STRING, {_aQN: _PAr, _sN: _pAr, _smi: None}), + ), +) + +MODIFY_IDENTITY_ID_FORMAT_OUTPUT: StaticSchema = ( + 18, + n0, + _MIIFO, + {_sSI: _sU, _smit: None}, +) + +MODIFY_IDENTITY_ID_FORMAT: StaticOperationSchema = ( + 23, + n0, + _MIIF, + 0, + MODIFY_IDENTITY_ID_FORMAT_INPUT, + MODIFY_IDENTITY_ID_FORMAT_OUTPUT, + (), +) + +MODIFY_ID_FORMAT_INPUT: StaticSchema = ( + 18, + n0, + _MIFI, + {_sSI: _cMIFR, _sm: None}, + (_Reso, _ULI), + ((lambda: schemas.STRING, 1), (lambda: schemas.BOOLEAN, 1)), +) + +MODIFY_ID_FORMAT_OUTPUT: StaticSchema = (18, n0, _MIFO, {_sSI: _sU, _smit: None}) + +MODIFY_ID_FORMAT: StaticOperationSchema = ( + 23, + n0, + _MIF, + 0, + MODIFY_ID_FORMAT_INPUT, + MODIFY_ID_FORMAT_OUTPUT, + (), +) + +LAUNCH_PERMISSION_MODIFICATIONS: StaticSchema = ( + 18, + n0, + _LPMa, + 0, + (_Add_, _Remo), + ( + (lambda: schemas.LAUNCH_PERMISSION_LIST, 0), + (lambda: schemas.LAUNCH_PERMISSION_LIST, 0), + ), +) + +ORGANIZATIONAL_UNIT_ARN_STRING_LIST: StaticSchema = ( + 16, + n0, + _OUASL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _OUA}),), +) + +ORGANIZATION_ARN_STRING_LIST: StaticSchema = ( + 16, + n0, + _OASL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _OAr}),), +) + +MODIFY_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MIAI, + {_sSI: _cMIAR, _sm: None}, + (_Attr, _Des, _IIm, _LPa, _OTp, _PCro, _UGs, _UIse, _Va, _OArga, _OUAr, _ISm, _DR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.ATTRIBUTE_VALUE, 0), + (lambda: schemas.IMAGE_ID, 1), + (LAUNCH_PERMISSION_MODIFICATIONS, 0), + (OPERATION_TYPE, 0), + (PRODUCT_CODE_STRING_LIST, {_sN: _PCr}), + (USER_GROUP_STRING_LIST, {_sN: _UG}), + (USER_ID_STRING_LIST, {_sN: _UIs}), + (lambda: schemas.STRING, 0), + (ORGANIZATION_ARN_STRING_LIST, {_sN: _OAr}), + (ORGANIZATIONAL_UNIT_ARN_STRING_LIST, {_sN: _OUA}), + (lambda: schemas.ATTRIBUTE_VALUE, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +MODIFY_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = (18, n0, _MIAO, {_sSI: _sU, _smit: None}) + +MODIFY_IMAGE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MIA, + 0, + MODIFY_IMAGE_ATTRIBUTE_INPUT, + MODIFY_IMAGE_ATTRIBUTE_OUTPUT, + (), +) + +EBS_INSTANCE_BLOCK_DEVICE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _EIBDS, + 0, + (_VIo, _DOT), + ( + (lambda: schemas.VOLUME_ID, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + ), +) + +INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION: StaticSchema = ( + 18, + n0, + _IBDMS, + 0, + (_DNe, _Eb, _VN, _ND), + ( + (lambda: schemas.STRING, {_aQN: _DNe, _sN: _dNe}), + (EBS_INSTANCE_BLOCK_DEVICE_SPECIFICATION, {_aQN: _Eb, _sN: _eb}), + (lambda: schemas.STRING, {_aQN: _VN, _sN: _vN}), + (lambda: schemas.STRING, {_aQN: _ND, _sN: _nD}), + ), +) + +INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _IBDMSL, + 0, + (_me,), + ((INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION, {_sN: _i}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_46.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_46.py new file mode 100644 index 000000000..79337d673 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_46.py @@ -0,0 +1,1570 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_ip = "ipam" +_Va = "Value" +_va = "value" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_d = "disabled" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_RIe = "ResourceId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_E = "Error" +_er = "error" +_dRr = "dryRun" +_Ci = "Cidr" +_N = "Name" +_DPLI = "DestinationPrefixListId" +_II = "InstanceId" +_iI = "instanceId" +_NII = "NetworkInterfaceId" +_SGI = "SecurityGroupId" +_PLI = "PrefixListId" +_PL = "PrefixList" +_pL = "prefixList" +_ena = "enabled" +_IT = "InstanceType" +_iT = "instanceType" +_RNe = "RegionName" +_OEP = "OrganizationsEntityPath" +_Des = "Description" +_Asn = "Asn" +_IPI = "IpamPoolId" +_Af = "Affinity" +_def = "default" +_ho = "host" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_IPAI = "IpamPoolAllocationId" +_IPA = "IpamPoolAllocation" +_RR = "ResourceRegion" +_iPA = "ipamPoolAllocation" +_SGIe = "SecurityGroupIds" +_sU = "smithy.api#Unit" +_IEWI = "InstanceEventWindowId" +_IEW = "InstanceEventWindow" +_TRi = "TimeRanges" +_CE = "CronExpression" +_iEW = "instanceEventWindow" +_IIp = "IpamId" +_IRDI = "IpamResourceDiscoveryId" +_GIr = "GroupId" +_G = "Groups" +_smith = "smithy.api#sensitive" +_GN = "GroupName" +_IIRAI = "IpamInternetRegistryAssociationId" +_Fo = "Force" +_IRPRD = "IpamRoutingPolicyRegistrationDelta" +_iRPRD = "ipamRoutingPolicyRegistrationDelta" +_ded = "dedicated" +_Ten = "Tenancy" +_EO = "EbsOptimized" +_ten = "tenancy" +_eO = "ebsOptimized" +_requ = "required" +_DCB = "DestinationCidrBlock" +_LGRTI = "LocalGatewayRouteTableId" +_LTI = "LaunchTemplateId" +_LTN = "LaunchTemplateName" +_BDM = "BlockDeviceMapping" +_opt = "optional" +_HTt = "HttpTokens" +_HPRHL = "HttpPutResponseHopLimit" +_HE = "HttpEndpoint" +_aff = "affinity" +_PNa = "PartitionNumber" +_HIo = "HostId" +_hI = "hostId" +_HRGA = "HostResourceGroupArn" +_BDMl = "BlockDeviceMappings" +_bDM = "blockDeviceMapping" +_IAT = "IpAddressType" +_PCI = "PreserveClientIp" +_ICEI = "InstanceConnectEndpointId" +_TRim = "TimeRange" +_Tie = "Tier" +_EPG = "EnablePrivateGua" +_MAe = "MeteredAccount" +_ISI = "IpamScopeId" +_Ipa = "Ipam" +_IPIp = "IpamPolicyId" +_Loc = "Locale" +_SIPI = "SourceIpamPoolId" +_AIu = "AutoImport" +_AMNL = "AllocationMinNetmaskLength" +_AMNLl = "AllocationMaxNetmaskLength" +_ADNL = "AllocationDefaultNetmaskLength" +_IPpam = "IpamPool" +_iPpam = "ipamPool" +_Ru = "Rule" +_Rul = "Rules" +_IPLRI = "IpamPrefixListResolverId" +_IPLR = "IpamPrefixListResolver" +_iPLR = "ipamPrefixListResolver" +_DVe = "DesiredVersion" +_TLV = "TrackLatestVersion" +_IPLRTI = "IpamPrefixListResolverTargetId" +_IPLRT = "IpamPrefixListResolverTarget" +_iPLRT = "ipamPrefixListResolverTarget" +_IRD = "IpamResourceDiscovery" +_iRD = "ipamResourceDiscovery" +_Asns = "Asns" +_PMSA = "PermitMoreSpecificAnnouncements" +_ML = "MaxLength" +_EAC = "ExternalAuthorityConfiguration" +_ISpam = "IpamScope" +_iSpa = "ipamScope" +_CCor = "CoreCount" +_TPC = "ThreadsPerCore" +_NV = "NestedVirtualization" +_CCp = "CpuCredits" +_ARu = "AutoRecovery" +_HPI = "HttpProtocolIpv6" +_IMT = "InstanceMetadataTags" +_BW = "BandwidthWeighting" +_DAT = "DisableApiTermination" +_IISB = "InstanceInitiatedShutdownBehavior" +_UDs = "UserData" +_CRSa = "CapacityReservationSpecification" +_EOn = "EnclaveOptions" +_DASi = "DisableApiStop" +_LT = "LaunchTemplate" +_lT = "launchTemplate" +_cCor = "coreCount" +_tPC = "threadsPerCore" +_nV = "nestedVirtualization" +_aRu = "autoRecovery" +_bW = "bandwidthWeighting" +_dAT = "disableApiTermination" +_iISB = "instanceInitiatedShutdownBehavior" +_uDs = "userData" +_DVef = "DefaultVersion" +_LGVIGI = "LocalGatewayVirtualInterfaceGroupId" +_Rou = "Route" +_rou = "route" +_PLN = "PrefixListName" +_ME = "MaxEntries" +_IPLRSE = "IpamPrefixListResolverSyncEnabled" +_SDC = "SourceDestCheck" +_Attr = "Attribute" +_ker = "kernel" +_ramd = "ramdisk" +_sNS = "sriovNetSupport" +_Ker = "Kernel" +_Ra = "Ramdisk" +_SNSr = "SriovNetSupport" +_ESna = "EnaSupport" +_eSna = "enaSupport" +_attr = "attribute" +_ICS = "InstanceCreditSpecification" +_ICSn = "InstanceCreditSpecifications" +_RMeb = "RebootMigration" +_rMeb = "rebootMigration" +_IEI = "InstanceEventId" +_NB = "NotBefore" +_HTE = "HttpTokensEnforced" +_RCes = "ResourceCidr" +_IPD = "IpamPolicyDocument" +_ARllo = "AllocationRules" +_IRC = "IpamResourceCidr" +_DVefa = "DefaultVisibility" +_Vi = "Visibility" +_vis = "visibility" +_SBAV = "SecureBlobAttributeValue" +_MIAV = "ModifyInstanceAttributeValue" +_MIAIo = "ModifyInstanceAttributeInput" +_cMIARo = "com.amazonaws.ec2#ModifyInstanceAttributeRequest" +_MIAOo = "ModifyInstanceAttributeOutput" +_MIAo = "ModifyInstanceAttribute" +_MICRAI = "ModifyInstanceCapacityReservationAttributesInput" +_cMICRAR = "com.amazonaws.ec2#ModifyInstanceCapacityReservationAttributesRequest" +_MICRAO = "ModifyInstanceCapacityReservationAttributesOutput" +_cMICRARo = "com.amazonaws.ec2#ModifyInstanceCapacityReservationAttributesResult" +_MICRA = "ModifyInstanceCapacityReservationAttributes" +_MICEI = "ModifyInstanceConnectEndpointInput" +_cMICER = "com.amazonaws.ec2#ModifyInstanceConnectEndpointRequest" +_MICEO = "ModifyInstanceConnectEndpointOutput" +_cMICERo = "com.amazonaws.ec2#ModifyInstanceConnectEndpointResult" +_MICE = "ModifyInstanceConnectEndpoint" +_MICOI = "ModifyInstanceCpuOptionsInput" +_cMICOR = "com.amazonaws.ec2#ModifyInstanceCpuOptionsRequest" +_MICOO = "ModifyInstanceCpuOptionsOutput" +_cMICORo = "com.amazonaws.ec2#ModifyInstanceCpuOptionsResult" +_MICO = "ModifyInstanceCpuOptions" +_ICSR = "InstanceCreditSpecificationRequest" +_ICSLR = "InstanceCreditSpecificationListRequest" +_MICSI = "ModifyInstanceCreditSpecificationInput" +_cMICSR = "com.amazonaws.ec2#ModifyInstanceCreditSpecificationRequest" +_SICSI = "SuccessfulInstanceCreditSpecificationItem" +_SICSS = "SuccessfulInstanceCreditSpecificationSet" +_UICSEC = "UnsuccessfulInstanceCreditSpecificationErrorCode" +_III_ = "INVALID_INSTANCE_ID" +_IIIDM = "InvalidInstanceID.Malformed" +_INF = "INSTANCE_NOT_FOUND" +_IIIDNF = "InvalidInstanceID.NotFound" +_IIS_ = "INCORRECT_INSTANCE_STATE" +_IISnc = "IncorrectInstanceState" +_ICSNS = "INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED" +_ICSNSn = "InstanceCreditSpecification.NotSupported" +_UICSIE = "UnsuccessfulInstanceCreditSpecificationItemError" +_UICSI = "UnsuccessfulInstanceCreditSpecificationItem" +_UICSS = "UnsuccessfulInstanceCreditSpecificationSet" +_MICSO = "ModifyInstanceCreditSpecificationOutput" +_cMICSRo = "com.amazonaws.ec2#ModifyInstanceCreditSpecificationResult" +_SICS = "SuccessfulInstanceCreditSpecifications" +_sICSS = "successfulInstanceCreditSpecificationSet" +_UICS = "UnsuccessfulInstanceCreditSpecifications" +_uICSS = "unsuccessfulInstanceCreditSpecificationSet" +_MICS = "ModifyInstanceCreditSpecification" +_MIESTI = "ModifyInstanceEventStartTimeInput" +_cMIESTR = "com.amazonaws.ec2#ModifyInstanceEventStartTimeRequest" +_MIESTO = "ModifyInstanceEventStartTimeOutput" +_cMIESTRo = "com.amazonaws.ec2#ModifyInstanceEventStartTimeResult" +_Eve = "Event" +_ev = "event" +_MIEST = "ModifyInstanceEventStartTime" +_MIEWI = "ModifyInstanceEventWindowInput" +_cMIEWR = "com.amazonaws.ec2#ModifyInstanceEventWindowRequest" +_MIEWO = "ModifyInstanceEventWindowOutput" +_cMIEWRo = "com.amazonaws.ec2#ModifyInstanceEventWindowResult" +_MIEW = "ModifyInstanceEventWindow" +_MIMOI = "ModifyInstanceMaintenanceOptionsInput" +_cMIMOR = "com.amazonaws.ec2#ModifyInstanceMaintenanceOptionsRequest" +_MIMOO = "ModifyInstanceMaintenanceOptionsOutput" +_cMIMORo = "com.amazonaws.ec2#ModifyInstanceMaintenanceOptionsResult" +_MIMO = "ModifyInstanceMaintenanceOptions" +_DIMES = "DefaultInstanceMetadataEndpointState" +_np = "no_preference" +_np_ = "no-preference" +_MDHTS = "MetadataDefaultHttpTokensState" +_DHTES = "DefaultHttpTokensEnforcedState" +_DIMTS = "DefaultInstanceMetadataTagsState" +_MIMDI = "ModifyInstanceMetadataDefaultsInput" +_cMIMDR = "com.amazonaws.ec2#ModifyInstanceMetadataDefaultsRequest" +_MIMDO = "ModifyInstanceMetadataDefaultsOutput" +_cMIMDRo = "com.amazonaws.ec2#ModifyInstanceMetadataDefaultsResult" +_MIMD = "ModifyInstanceMetadataDefaults" +_MIMOIo = "ModifyInstanceMetadataOptionsInput" +_cMIMORom = "com.amazonaws.ec2#ModifyInstanceMetadataOptionsRequest" +_MIMOOo = "ModifyInstanceMetadataOptionsOutput" +_cMIMORoma = "com.amazonaws.ec2#ModifyInstanceMetadataOptionsResult" +_IMOns = "InstanceMetadataOptions" +_iMOn = "instanceMetadataOptions" +_MIMOo = "ModifyInstanceMetadataOptions" +_MINPOI = "ModifyInstanceNetworkPerformanceOptionsInput" +_cMINPR = "com.amazonaws.ec2#ModifyInstanceNetworkPerformanceRequest" +_MINPOO = "ModifyInstanceNetworkPerformanceOptionsOutput" +_cMINPRo = "com.amazonaws.ec2#ModifyInstanceNetworkPerformanceResult" +_MINPO = "ModifyInstanceNetworkPerformanceOptions" +_HTo = "HostTenancy" +_MIPI = "ModifyInstancePlacementInput" +_cMIPR = "com.amazonaws.ec2#ModifyInstancePlacementRequest" +_MIPO = "ModifyInstancePlacementOutput" +_cMIPRo = "com.amazonaws.ec2#ModifyInstancePlacementResult" +_MIPo = "ModifyInstancePlacement" +_RIOR = "RemoveIpamOperatingRegion" +_RIORS = "RemoveIpamOperatingRegionSet" +_MII = "ModifyIpamInput" +_cMIR = "com.amazonaws.ec2#ModifyIpamRequest" +_AOR = "AddOperatingRegions" +_AORd = "AddOperatingRegion" +_ROR = "RemoveOperatingRegions" +_RORe = "RemoveOperatingRegion" +_MIO = "ModifyIpamOutput" +_cMIRo = "com.amazonaws.ec2#ModifyIpamResult" +_MIo = "ModifyIpam" +_IPARR = "IpamPolicyAllocationRuleRequest" +_IPARLR = "IpamPolicyAllocationRuleListRequest" +_MIPARI = "ModifyIpamPolicyAllocationRulesInput" +_cMIPARR = "com.amazonaws.ec2#ModifyIpamPolicyAllocationRulesRequest" +_ARlloc = "AllocationRule" +_MIPARO = "ModifyIpamPolicyAllocationRulesOutput" +_cMIPARRo = "com.amazonaws.ec2#ModifyIpamPolicyAllocationRulesResult" +_iPD = "ipamPolicyDocument" +_MIPAR = "ModifyIpamPolicyAllocationRules" +_MIPIo = "ModifyIpamPoolInput" +_cMIPRom = "com.amazonaws.ec2#ModifyIpamPoolRequest" +_CADNL = "ClearAllocationDefaultNetmaskLength" +_AART = "AddAllocationResourceTags" +_AARTd = "AddAllocationResourceTag" +_RART = "RemoveAllocationResourceTags" +_RARTe = "RemoveAllocationResourceTag" +_MIPOo = "ModifyIpamPoolOutput" +_cMIPRoma = "com.amazonaws.ec2#ModifyIpamPoolResult" +_MIPod = "ModifyIpamPool" +_MIPAI = "ModifyIpamPoolAllocationInput" +_cMIPAR = "com.amazonaws.ec2#ModifyIpamPoolAllocationRequest" +_MIPAO = "ModifyIpamPoolAllocationOutput" +_cMIPARo = "com.amazonaws.ec2#ModifyIpamPoolAllocationResult" +_MIPA = "ModifyIpamPoolAllocation" +_MIPLRI = "ModifyIpamPrefixListResolverInput" +_cMIPLRR = "com.amazonaws.ec2#ModifyIpamPrefixListResolverRequest" +_MIPLRO = "ModifyIpamPrefixListResolverOutput" +_cMIPLRRo = "com.amazonaws.ec2#ModifyIpamPrefixListResolverResult" +_MIPLR = "ModifyIpamPrefixListResolver" +_MIPLRTI = "ModifyIpamPrefixListResolverTargetInput" +_cMIPLRTR = "com.amazonaws.ec2#ModifyIpamPrefixListResolverTargetRequest" +_MIPLRTO = "ModifyIpamPrefixListResolverTargetOutput" +_cMIPLRTRo = "com.amazonaws.ec2#ModifyIpamPrefixListResolverTargetResult" +_MIPLRT = "ModifyIpamPrefixListResolverTarget" +_MIRCI = "ModifyIpamResourceCidrInput" +_cMIRCR = "com.amazonaws.ec2#ModifyIpamResourceCidrRequest" +_CISIu = "CurrentIpamScopeId" +_DISIest = "DestinationIpamScopeId" +_Moni = "Monitored" +_MIRCO = "ModifyIpamResourceCidrOutput" +_cMIRCRo = "com.amazonaws.ec2#ModifyIpamResourceCidrResult" +_iRC = "ipamResourceCidr" +_MIRC = "ModifyIpamResourceCidr" +_RIOUE = "RemoveIpamOrganizationalUnitExclusion" +_RIOUES = "RemoveIpamOrganizationalUnitExclusionSet" +_MIRDI = "ModifyIpamResourceDiscoveryInput" +_cMIRDR = "com.amazonaws.ec2#ModifyIpamResourceDiscoveryRequest" +_AOUE = "AddOrganizationalUnitExclusions" +_AOUEd = "AddOrganizationalUnitExclusion" +_ROUE = "RemoveOrganizationalUnitExclusions" +_ROUEe = "RemoveOrganizationalUnitExclusion" +_MIRDO = "ModifyIpamResourceDiscoveryOutput" +_cMIRDRo = "com.amazonaws.ec2#ModifyIpamResourceDiscoveryResult" +_MIRD = "ModifyIpamResourceDiscovery" +_MIRPRI = "ModifyIpamRoutingPolicyRegistrationInput" +_cMIRPRR = "com.amazonaws.ec2#ModifyIpamRoutingPolicyRegistrationRequest" +_MIRPRO = "ModifyIpamRoutingPolicyRegistrationOutput" +_cMIRPRRo = "com.amazonaws.ec2#ModifyIpamRoutingPolicyRegistrationResult" +_MIRPR = "ModifyIpamRoutingPolicyRegistration" +_MISI = "ModifyIpamScopeInput" +_cMISR = "com.amazonaws.ec2#ModifyIpamScopeRequest" +_REAC = "RemoveExternalAuthorityConfiguration" +_MISO = "ModifyIpamScopeOutput" +_cMISRo = "com.amazonaws.ec2#ModifyIpamScopeResult" +_MIS = "ModifyIpamScope" +_MLTI = "ModifyLaunchTemplateInput" +_cMLTR = "com.amazonaws.ec2#ModifyLaunchTemplateRequest" +_SDV = "SetDefaultVersion" +_MLTO = "ModifyLaunchTemplateOutput" +_cMLTRo = "com.amazonaws.ec2#ModifyLaunchTemplateResult" +_MLT = "ModifyLaunchTemplate" +_MLGRI = "ModifyLocalGatewayRouteInput" +_cMLGRR = "com.amazonaws.ec2#ModifyLocalGatewayRouteRequest" +_MLGRO = "ModifyLocalGatewayRouteOutput" +_cMLGRRo = "com.amazonaws.ec2#ModifyLocalGatewayRouteResult" +_MLGR = "ModifyLocalGatewayRoute" +_RPLE = "RemovePrefixListEntry" +_RPLEe = "RemovePrefixListEntries" +_MMPLI = "ModifyManagedPrefixListInput" +_cMMPLR = "com.amazonaws.ec2#ModifyManagedPrefixListRequest" +_CVu = "CurrentVersion" +_AEd = "AddEntries" +_AEdd = "AddEntry" +_REem = "RemoveEntries" +_REemo = "RemoveEntry" +_MMPLO = "ModifyManagedPrefixListOutput" +_cMMPLRo = "com.amazonaws.ec2#ModifyManagedPrefixListResult" +_MMPL = "ModifyManagedPrefixList" +_MMRVI = "ModifyManagedResourceVisibilityInput" +_cMMRVR = "com.amazonaws.ec2#ModifyManagedResourceVisibilityRequest" +_MMRVO = "ModifyManagedResourceVisibilityOutput" +_cMMRVRo = "com.amazonaws.ec2#ModifyManagedResourceVisibilityResult" +_MMRV = "ModifyManagedResourceVisibility" +_SILu = "SubnetIdList" +_ASIs = "AssociatedSubnetId" + +SECURE_BLOB_ATTRIBUTE_VALUE: StaticSchema = ( + 18, + n0, + _SBAV, + 0, + (_Va,), + ((lambda: schemas.SECURE_BLOB, {_aQN: _Va, _sN: _va}),), +) + +MODIFY_INSTANCE_ATTRIBUTE_VALUE: StaticSchema = (3, n0, _MIAV, 4) + +MODIFY_INSTANCE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MIAIo, + {_sSI: _cMIARo, _sm: None}, + ( + _SDC, + _EOn, + _DASi, + _DR, + _II, + _Attr, + _Va, + _BDMl, + _DAT, + _IT, + _Ker, + _Ra, + _UDs, + _IISB, + _G, + _EO, + _SNSr, + _ESna, + ), + ( + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.ENCLAVE_OPTIONS_REQUEST, 0), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), + (lambda: schemas.INSTANCE_ATTRIBUTE_NAME, {_aQN: _Attr, _sN: _attr}), + (MODIFY_INSTANCE_ATTRIBUTE_VALUE, {_aQN: _Va, _sN: _va}), + ( + lambda: schemas.INSTANCE_BLOCK_DEVICE_MAPPING_SPECIFICATION_LIST, + {_aQN: _BDM, _sN: _bDM}, + ), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _DAT, _sN: _dAT}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _Ker, _sN: _ker}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _Ra, _sN: _ramd}), + (SECURE_BLOB_ATTRIBUTE_VALUE, {_aQN: _UDs, _sN: _uDs}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _IISB, _sN: _iISB}), + (lambda: schemas.GROUP_ID_STRING_LIST, {_sN: _GIr}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _EO, _sN: _eO}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _SNSr, _sN: _sNS}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _ESna, _sN: _eSna}), + ), +) + +MODIFY_INSTANCE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _MIAOo, + {_sSI: _sU, _smit: None}, +) + +MODIFY_INSTANCE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MIAo, + 0, + MODIFY_INSTANCE_ATTRIBUTE_INPUT, + MODIFY_INSTANCE_ATTRIBUTE_OUTPUT, + (), +) + +MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _MICRAI, + {_sSI: _cMICRAR, _sm: None}, + (_II, _CRSa, _DR), + ( + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.CAPACITY_RESERVATION_SPECIFICATION, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _MICRAO, + {_sSI: _cMICRARo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _MICRA, + 0, + MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_INPUT, + MODIFY_INSTANCE_CAPACITY_RESERVATION_ATTRIBUTES_OUTPUT, + (), +) + +MODIFY_INSTANCE_CONNECT_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _MICEI, + {_sSI: _cMICER, _sm: None}, + (_DR, _ICEI, _IAT, _SGIe, _PCI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_CONNECT_ENDPOINT_ID, 1), + (lambda: schemas.IP_ADDRESS_TYPE, 0), + (lambda: schemas.SECURITY_GROUP_ID_STRING_LIST_REQUEST, {_sN: _SGI}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_INSTANCE_CONNECT_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _MICEO, + {_sSI: _cMICERo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_INSTANCE_CONNECT_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _MICE, + 0, + MODIFY_INSTANCE_CONNECT_ENDPOINT_INPUT, + MODIFY_INSTANCE_CONNECT_ENDPOINT_OUTPUT, + (), +) + +MODIFY_INSTANCE_CPU_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MICOI, + {_sSI: _cMICOR, _sm: None}, + (_II, _CCor, _TPC, _NV, _DR), + ( + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.NESTED_VIRTUALIZATION_SPECIFICATION, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_INSTANCE_CPU_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MICOO, + {_sSI: _cMICORo, _smit: None}, + (_II, _CCor, _TPC, _NV), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.INTEGER, {_aQN: _CCor, _sN: _cCor}), + (lambda: schemas.INTEGER, {_aQN: _TPC, _sN: _tPC}), + (lambda: schemas.NESTED_VIRTUALIZATION_SPECIFICATION, {_aQN: _NV, _sN: _nV}), + ), +) + +MODIFY_INSTANCE_CPU_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MICO, + 0, + MODIFY_INSTANCE_CPU_OPTIONS_INPUT, + MODIFY_INSTANCE_CPU_OPTIONS_OUTPUT, + (), +) + +INSTANCE_CREDIT_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _ICSR, + 0, + (_II, _CCp), + ((lambda: schemas.INSTANCE_ID, 1), (lambda: schemas.STRING, 0)), +) + +INSTANCE_CREDIT_SPECIFICATION_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _ICSLR, + 0, + (_me,), + ((INSTANCE_CREDIT_SPECIFICATION_REQUEST, {_sN: _i}),), +) + +MODIFY_INSTANCE_CREDIT_SPECIFICATION_INPUT: StaticSchema = ( + 18, + n0, + _MICSI, + {_sSI: _cMICSR, _sm: None}, + (_DR, _CTl, _ICSn), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (INSTANCE_CREDIT_SPECIFICATION_LIST_REQUEST, {_sN: _ICS, _smi: None}), + ), +) + +MODIFY_INSTANCE_CREDIT_SPECIFICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MICSO, + {_sSI: _cMICSRo, _smit: None}, + (_SICS, _UICS), + ( + ( + lambda: SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET, + {_aQN: _SICSS, _sN: _sICSS}, + ), + ( + lambda: UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET, + {_aQN: _UICSS, _sN: _uICSS}, + ), + ), +) + +MODIFY_INSTANCE_CREDIT_SPECIFICATION: StaticOperationSchema = ( + 23, + n0, + _MICS, + 0, + MODIFY_INSTANCE_CREDIT_SPECIFICATION_INPUT, + MODIFY_INSTANCE_CREDIT_SPECIFICATION_OUTPUT, + (), +) + +SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM: StaticSchema = ( + 18, + n0, + _SICSI, + 0, + (_II,), + ((lambda: schemas.STRING, {_aQN: _II, _sN: _iI}),), +) + +SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET: StaticSchema = ( + 16, + n0, + _SICSS, + 0, + (_me,), + ((SUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM, {_sN: _i}),), +) + +UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ERROR_CODE: StaticSchema = ( + 14, + n0, + _UICSEC, + 0, + (_III_, _INF, _IIS_, _ICSNS), + ( + (-1, {_sV: _IIIDM}), + (-1, {_sV: _IIIDNF}), + (-1, {_sV: _IISnc}), + (-1, {_sV: _ICSNSn}), + ), +) + +UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM_ERROR: StaticSchema = ( + 18, + n0, + _UICSIE, + 0, + (_C, _Me), + ( + (UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ERROR_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM: StaticSchema = ( + 18, + n0, + _UICSI, + 0, + (_II, _E), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM_ERROR, {_aQN: _E, _sN: _er}), + ), +) + +UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_SET: StaticSchema = ( + 16, + n0, + _UICSS, + 0, + (_me,), + ((UNSUCCESSFUL_INSTANCE_CREDIT_SPECIFICATION_ITEM, {_sN: _i}),), +) + +MODIFY_INSTANCE_EVENT_START_TIME_INPUT: StaticSchema = ( + 18, + n0, + _MIESTI, + {_sSI: _cMIESTR, _sm: None}, + (_DR, _II, _IEI, _NB), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.DATE_TIME, 1), + ), +) + +MODIFY_INSTANCE_EVENT_START_TIME_OUTPUT: StaticSchema = ( + 18, + n0, + _MIESTO, + {_sSI: _cMIESTRo, _smit: None}, + (_Eve,), + ((lambda: schemas.INSTANCE_STATUS_EVENT, {_aQN: _Eve, _sN: _ev}),), +) + +MODIFY_INSTANCE_EVENT_START_TIME: StaticOperationSchema = ( + 23, + n0, + _MIEST, + 0, + MODIFY_INSTANCE_EVENT_START_TIME_INPUT, + MODIFY_INSTANCE_EVENT_START_TIME_OUTPUT, + (), +) + +MODIFY_INSTANCE_EVENT_WINDOW_INPUT: StaticSchema = ( + 18, + n0, + _MIEWI, + {_sSI: _cMIEWR, _sm: None}, + (_DR, _N, _IEWI, _TRi, _CE), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INSTANCE_EVENT_WINDOW_ID, 1), + (lambda: schemas.INSTANCE_EVENT_WINDOW_TIME_RANGE_REQUEST_SET, {_sN: _TRim}), + (lambda: schemas.INSTANCE_EVENT_WINDOW_CRON_EXPRESSION, 0), + ), +) + +MODIFY_INSTANCE_EVENT_WINDOW_OUTPUT: StaticSchema = ( + 18, + n0, + _MIEWO, + {_sSI: _cMIEWRo, _smit: None}, + (_IEW,), + ((lambda: schemas.INSTANCE_EVENT_WINDOW, {_aQN: _IEW, _sN: _iEW}),), +) + +MODIFY_INSTANCE_EVENT_WINDOW: StaticOperationSchema = ( + 23, + n0, + _MIEW, + 0, + MODIFY_INSTANCE_EVENT_WINDOW_INPUT, + MODIFY_INSTANCE_EVENT_WINDOW_OUTPUT, + (), +) + +MODIFY_INSTANCE_MAINTENANCE_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MIMOI, + {_sSI: _cMIMOR, _sm: None}, + (_II, _ARu, _RMeb, _DR), + ( + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.INSTANCE_AUTO_RECOVERY_STATE, 0), + (lambda: schemas.INSTANCE_REBOOT_MIGRATION_STATE, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_INSTANCE_MAINTENANCE_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MIMOO, + {_sSI: _cMIMORo, _smit: None}, + (_II, _ARu, _RMeb), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.INSTANCE_AUTO_RECOVERY_STATE, {_aQN: _ARu, _sN: _aRu}), + (lambda: schemas.INSTANCE_REBOOT_MIGRATION_STATE, {_aQN: _RMeb, _sN: _rMeb}), + ), +) + +MODIFY_INSTANCE_MAINTENANCE_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MIMO, + 0, + MODIFY_INSTANCE_MAINTENANCE_OPTIONS_INPUT, + MODIFY_INSTANCE_MAINTENANCE_OPTIONS_OUTPUT, + (), +) + +DEFAULT_INSTANCE_METADATA_ENDPOINT_STATE: StaticSchema = ( + 14, + n0, + _DIMES, + 0, + (_d, _ena, _np), + ((-1, {_sV: _d}), (-1, {_sV: _ena}), (-1, {_sV: _np_})), +) + +METADATA_DEFAULT_HTTP_TOKENS_STATE: StaticSchema = ( + 14, + n0, + _MDHTS, + 0, + (_opt, _requ, _np), + ((-1, {_sV: _opt}), (-1, {_sV: _requ}), (-1, {_sV: _np_})), +) + +DEFAULT_HTTP_TOKENS_ENFORCED_STATE: StaticSchema = ( + 14, + n0, + _DHTES, + 0, + (_d, _ena, _np), + ((-1, {_sV: _d}), (-1, {_sV: _ena}), (-1, {_sV: _np_})), +) + +DEFAULT_INSTANCE_METADATA_TAGS_STATE: StaticSchema = ( + 14, + n0, + _DIMTS, + 0, + (_d, _ena, _np), + ((-1, {_sV: _d}), (-1, {_sV: _ena}), (-1, {_sV: _np_})), +) + +MODIFY_INSTANCE_METADATA_DEFAULTS_INPUT: StaticSchema = ( + 18, + n0, + _MIMDI, + {_sSI: _cMIMDR, _sm: None}, + (_HTt, _HPRHL, _HE, _IMT, _DR, _HTE), + ( + (METADATA_DEFAULT_HTTP_TOKENS_STATE, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (DEFAULT_INSTANCE_METADATA_ENDPOINT_STATE, 0), + (DEFAULT_INSTANCE_METADATA_TAGS_STATE, 0), + (lambda: schemas.BOOLEAN, 0), + (DEFAULT_HTTP_TOKENS_ENFORCED_STATE, 0), + ), +) + +MODIFY_INSTANCE_METADATA_DEFAULTS_OUTPUT: StaticSchema = ( + 18, + n0, + _MIMDO, + {_sSI: _cMIMDRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_INSTANCE_METADATA_DEFAULTS: StaticOperationSchema = ( + 23, + n0, + _MIMD, + 0, + MODIFY_INSTANCE_METADATA_DEFAULTS_INPUT, + MODIFY_INSTANCE_METADATA_DEFAULTS_OUTPUT, + (), +) + +MODIFY_INSTANCE_METADATA_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MIMOIo, + {_sSI: _cMIMORom, _sm: None}, + (_II, _HTt, _HPRHL, _HE, _DR, _HPI, _IMT), + ( + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.HTTP_TOKENS_STATE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INSTANCE_METADATA_ENDPOINT_STATE, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_METADATA_PROTOCOL_STATE, 0), + (lambda: schemas.INSTANCE_METADATA_TAGS_STATE, 0), + ), +) + +MODIFY_INSTANCE_METADATA_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MIMOOo, + {_sSI: _cMIMORoma, _smit: None}, + (_II, _IMOns), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + ( + lambda: schemas.INSTANCE_METADATA_OPTIONS_RESPONSE, + {_aQN: _IMOns, _sN: _iMOn}, + ), + ), +) + +MODIFY_INSTANCE_METADATA_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MIMOo, + 0, + MODIFY_INSTANCE_METADATA_OPTIONS_INPUT, + MODIFY_INSTANCE_METADATA_OPTIONS_OUTPUT, + (), +) + +MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MINPOI, + {_sSI: _cMINPR, _sm: None}, + (_II, _BW, _DR), + ( + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.INSTANCE_BANDWIDTH_WEIGHTING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MINPOO, + {_sSI: _cMINPRo, _smit: None}, + (_II, _BW), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.INSTANCE_BANDWIDTH_WEIGHTING, {_aQN: _BW, _sN: _bW}), + ), +) + +MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MINPO, + 0, + MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_INPUT, + MODIFY_INSTANCE_NETWORK_PERFORMANCE_OPTIONS_OUTPUT, + (), +) + +HOST_TENANCY: StaticSchema = ( + 14, + n0, + _HTo, + 0, + (_def, _ded, _ho), + ((-1, {_sV: _def}), (-1, {_sV: _ded}), (-1, {_sV: _ho})), +) + +MODIFY_INSTANCE_PLACEMENT_INPUT: StaticSchema = ( + 18, + n0, + _MIPI, + {_sSI: _cMIPR, _sm: None}, + (_GN, _PNa, _HRGA, _GIr, _II, _Ten, _Af, _HIo), + ( + (lambda: schemas.PLACEMENT_GROUP_NAME, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.PLACEMENT_GROUP_ID, 0), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), + (HOST_TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: schemas.AFFINITY, {_aQN: _Af, _sN: _aff}), + (lambda: schemas.DEDICATED_HOST_ID, {_aQN: _HIo, _sN: _hI}), + ), +) + +MODIFY_INSTANCE_PLACEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _MIPO, + {_sSI: _cMIPRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_INSTANCE_PLACEMENT: StaticOperationSchema = ( + 23, + n0, + _MIPo, + 0, + MODIFY_INSTANCE_PLACEMENT_INPUT, + MODIFY_INSTANCE_PLACEMENT_OUTPUT, + (), +) + +REMOVE_IPAM_OPERATING_REGION: StaticSchema = ( + 18, + n0, + _RIOR, + 0, + (_RNe,), + ((lambda: schemas.STRING, 0),), +) + +REMOVE_IPAM_OPERATING_REGION_SET: StaticSchema = ( + 16, + n0, + _RIORS, + 0, + (_me,), + ((REMOVE_IPAM_OPERATING_REGION, 0),), +) + +MODIFY_IPAM_INPUT: StaticSchema = ( + 18, + n0, + _MII, + {_sSI: _cMIR, _sm: None}, + (_DR, _IIp, _Des, _AOR, _ROR, _Tie, _EPG, _MAe), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADD_IPAM_OPERATING_REGION_SET, {_sN: _AORd}), + (REMOVE_IPAM_OPERATING_REGION_SET, {_sN: _RORe}), + (lambda: schemas.IPAM_TIER, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_METERED_ACCOUNT, 0), + ), +) + +MODIFY_IPAM_OUTPUT: StaticSchema = ( + 18, + n0, + _MIO, + {_sSI: _cMIRo, _smit: None}, + (_Ipa,), + ((lambda: schemas.IPAM, {_aQN: _Ipa, _sN: _ip}),), +) + +MODIFY_IPAM: StaticOperationSchema = ( + 23, + n0, + _MIo, + 0, + MODIFY_IPAM_INPUT, + MODIFY_IPAM_OUTPUT, + (), +) + +IPAM_POLICY_ALLOCATION_RULE_REQUEST: StaticSchema = ( + 18, + n0, + _IPARR, + 0, + (_SIPI,), + ((lambda: schemas.IPAM_POOL_ID, 0),), +) + +IPAM_POLICY_ALLOCATION_RULE_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _IPARLR, + 0, + (_me,), + ((IPAM_POLICY_ALLOCATION_RULE_REQUEST, {_sN: _i}),), +) + +MODIFY_IPAM_POLICY_ALLOCATION_RULES_INPUT: StaticSchema = ( + 18, + n0, + _MIPARI, + {_sSI: _cMIPARR, _sm: None}, + (_DR, _IPIp, _Loc, _RT, _ARllo), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POLICY_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.IPAM_POLICY_RESOURCE_TYPE, 1), + (IPAM_POLICY_ALLOCATION_RULE_LIST_REQUEST, {_sN: _ARlloc}), + ), +) + +MODIFY_IPAM_POLICY_ALLOCATION_RULES_OUTPUT: StaticSchema = ( + 18, + n0, + _MIPARO, + {_sSI: _cMIPARRo, _smit: None}, + (_IPD,), + ((lambda: schemas.IPAM_POLICY_DOCUMENT, {_aQN: _IPD, _sN: _iPD}),), +) + +MODIFY_IPAM_POLICY_ALLOCATION_RULES: StaticOperationSchema = ( + 23, + n0, + _MIPAR, + 0, + MODIFY_IPAM_POLICY_ALLOCATION_RULES_INPUT, + MODIFY_IPAM_POLICY_ALLOCATION_RULES_OUTPUT, + (), +) + +MODIFY_IPAM_POOL_INPUT: StaticSchema = ( + 18, + n0, + _MIPIo, + {_sSI: _cMIPRom, _sm: None}, + (_DR, _IPI, _Des, _AIu, _AMNL, _AMNLl, _ADNL, _CADNL, _AART, _RART), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_NETMASK_LENGTH, 0), + (lambda: schemas.IPAM_NETMASK_LENGTH, 0), + (lambda: schemas.IPAM_NETMASK_LENGTH, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.REQUEST_IPAM_RESOURCE_TAG_LIST, {_sN: _AARTd}), + (lambda: schemas.REQUEST_IPAM_RESOURCE_TAG_LIST, {_sN: _RARTe}), + ), +) + +MODIFY_IPAM_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _MIPOo, + {_sSI: _cMIPRoma, _smit: None}, + (_IPpam,), + ((lambda: schemas.IPAM_POOL, {_aQN: _IPpam, _sN: _iPpam}),), +) + +MODIFY_IPAM_POOL: StaticOperationSchema = ( + 23, + n0, + _MIPod, + 0, + MODIFY_IPAM_POOL_INPUT, + MODIFY_IPAM_POOL_OUTPUT, + (), +) + +MODIFY_IPAM_POOL_ALLOCATION_INPUT: StaticSchema = ( + 18, + n0, + _MIPAI, + {_sSI: _cMIPAR, _sm: None}, + (_DR, _IPAI, _Des), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ALLOCATION_ID, 1), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_IPAM_POOL_ALLOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MIPAO, + {_sSI: _cMIPARo, _smit: None}, + (_IPA,), + ((lambda: schemas.IPAM_POOL_ALLOCATION, {_aQN: _IPA, _sN: _iPA}),), +) + +MODIFY_IPAM_POOL_ALLOCATION: StaticOperationSchema = ( + 23, + n0, + _MIPA, + 0, + MODIFY_IPAM_POOL_ALLOCATION_INPUT, + MODIFY_IPAM_POOL_ALLOCATION_OUTPUT, + (), +) + +MODIFY_IPAM_PREFIX_LIST_RESOLVER_INPUT: StaticSchema = ( + 18, + n0, + _MIPLRI, + {_sSI: _cMIPLRR, _sm: None}, + (_DR, _IPLRI, _Des, _Rul), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_RULE_REQUEST_SET, {_sN: _Ru}), + ), +) + +MODIFY_IPAM_PREFIX_LIST_RESOLVER_OUTPUT: StaticSchema = ( + 18, + n0, + _MIPLRO, + {_sSI: _cMIPLRRo, _smit: None}, + (_IPLR,), + ((lambda: schemas.IPAM_PREFIX_LIST_RESOLVER, {_aQN: _IPLR, _sN: _iPLR}),), +) + +MODIFY_IPAM_PREFIX_LIST_RESOLVER: StaticOperationSchema = ( + 23, + n0, + _MIPLR, + 0, + MODIFY_IPAM_PREFIX_LIST_RESOLVER_INPUT, + MODIFY_IPAM_PREFIX_LIST_RESOLVER_OUTPUT, + (), +) + +MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT: StaticSchema = ( + 18, + n0, + _MIPLRTI, + {_sSI: _cMIPLRTR, _sm: None}, + (_DR, _IPLRTI, _DVe, _TLV, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_TARGET_ID, 1), + (lambda: schemas.BOXED_LONG, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT: StaticSchema = ( + 18, + n0, + _MIPLRTO, + {_sSI: _cMIPLRTRo, _smit: None}, + (_IPLRT,), + ((lambda: schemas.IPAM_PREFIX_LIST_RESOLVER_TARGET, {_aQN: _IPLRT, _sN: _iPLRT}),), +) + +MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET: StaticOperationSchema = ( + 23, + n0, + _MIPLRT, + 0, + MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_INPUT, + MODIFY_IPAM_PREFIX_LIST_RESOLVER_TARGET_OUTPUT, + (), +) + +MODIFY_IPAM_RESOURCE_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _MIRCI, + {_sSI: _cMIRCR, _sm: None}, + (_DR, _RIe, _RCes, _RR, _CISIu, _DISIest, _Moni), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.IPAM_SCOPE_ID, 1), + (lambda: schemas.IPAM_SCOPE_ID, 0), + (lambda: schemas.BOOLEAN, 1), + ), +) + +MODIFY_IPAM_RESOURCE_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _MIRCO, + {_sSI: _cMIRCRo, _smit: None}, + (_IRC,), + ((lambda: schemas.IPAM_RESOURCE_CIDR, {_aQN: _IRC, _sN: _iRC}),), +) + +MODIFY_IPAM_RESOURCE_CIDR: StaticOperationSchema = ( + 23, + n0, + _MIRC, + 0, + MODIFY_IPAM_RESOURCE_CIDR_INPUT, + MODIFY_IPAM_RESOURCE_CIDR_OUTPUT, + (), +) + +REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION: StaticSchema = ( + 18, + n0, + _RIOUE, + 0, + (_OEP,), + ((lambda: schemas.STRING, 0),), +) + +REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET: StaticSchema = ( + 16, + n0, + _RIOUES, + 0, + (_me,), + ((REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION, 0),), +) + +MODIFY_IPAM_RESOURCE_DISCOVERY_INPUT: StaticSchema = ( + 18, + n0, + _MIRDI, + {_sSI: _cMIRDR, _sm: None}, + (_DR, _IRDI, _Des, _AOR, _ROR, _AOUE, _ROUE), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_RESOURCE_DISCOVERY_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADD_IPAM_OPERATING_REGION_SET, {_sN: _AORd}), + (REMOVE_IPAM_OPERATING_REGION_SET, {_sN: _RORe}), + (lambda: schemas.ADD_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET, {_sN: _AOUEd}), + (REMOVE_IPAM_ORGANIZATIONAL_UNIT_EXCLUSION_SET, {_sN: _ROUEe}), + ), +) + +MODIFY_IPAM_RESOURCE_DISCOVERY_OUTPUT: StaticSchema = ( + 18, + n0, + _MIRDO, + {_sSI: _cMIRDRo, _smit: None}, + (_IRD,), + ((lambda: schemas.IPAM_RESOURCE_DISCOVERY, {_aQN: _IRD, _sN: _iRD}),), +) + +MODIFY_IPAM_RESOURCE_DISCOVERY: StaticOperationSchema = ( + 23, + n0, + _MIRD, + 0, + MODIFY_IPAM_RESOURCE_DISCOVERY_INPUT, + MODIFY_IPAM_RESOURCE_DISCOVERY_OUTPUT, + (), +) + +MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_INPUT: StaticSchema = ( + 18, + n0, + _MIRPRI, + {_sSI: _cMIRPRR, _sm: None}, + (_DR, _IIRAI, _Ci, _Asns, _PMSA, _ML, _Des, _Fo, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_INTERNET_REGISTRY_ASSOCIATION_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.ASN_LIST, {_sN: _Asn, _smi: None}), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.IPAM_ROUTING_POLICY_REGISTRATION_MAX_LENGTH, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MIRPRO, + {_sSI: _cMIRPRRo, _smit: None}, + (_IRPRD,), + ( + ( + lambda: schemas.IPAM_ROUTING_POLICY_REGISTRATION_DELTA, + {_aQN: _IRPRD, _sN: _iRPRD}, + ), + ), +) + +MODIFY_IPAM_ROUTING_POLICY_REGISTRATION: StaticOperationSchema = ( + 23, + n0, + _MIRPR, + 0, + MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_INPUT, + MODIFY_IPAM_ROUTING_POLICY_REGISTRATION_OUTPUT, + (), +) + +MODIFY_IPAM_SCOPE_INPUT: StaticSchema = ( + 18, + n0, + _MISI, + {_sSI: _cMISR, _sm: None}, + (_DR, _ISI, _Des, _EAC, _REAC), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_SCOPE_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXTERNAL_AUTHORITY_CONFIGURATION, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_IPAM_SCOPE_OUTPUT: StaticSchema = ( + 18, + n0, + _MISO, + {_sSI: _cMISRo, _smit: None}, + (_ISpam,), + ((lambda: schemas.IPAM_SCOPE, {_aQN: _ISpam, _sN: _iSpa}),), +) + +MODIFY_IPAM_SCOPE: StaticOperationSchema = ( + 23, + n0, + _MIS, + 0, + MODIFY_IPAM_SCOPE_INPUT, + MODIFY_IPAM_SCOPE_OUTPUT, + (), +) + +MODIFY_LAUNCH_TEMPLATE_INPUT: StaticSchema = ( + 18, + n0, + _MLTI, + {_sSI: _cMLTR, _sm: None}, + (_DR, _CTl, _LTI, _LTN, _DVef), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.LAUNCH_TEMPLATE_ID, 0), + (lambda: schemas.LAUNCH_TEMPLATE_NAME, 0), + (lambda: schemas.STRING, {_sN: _SDV}), + ), +) + +MODIFY_LAUNCH_TEMPLATE_OUTPUT: StaticSchema = ( + 18, + n0, + _MLTO, + {_sSI: _cMLTRo, _smit: None}, + (_LT,), + ((lambda: schemas.LAUNCH_TEMPLATE, {_aQN: _LT, _sN: _lT}),), +) + +MODIFY_LAUNCH_TEMPLATE: StaticOperationSchema = ( + 23, + n0, + _MLT, + 0, + MODIFY_LAUNCH_TEMPLATE_INPUT, + MODIFY_LAUNCH_TEMPLATE_OUTPUT, + (), +) + +MODIFY_LOCAL_GATEWAY_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _MLGRI, + {_sSI: _cMLGRR, _sm: None}, + (_DCB, _LGRTI, _LGVIGI, _NII, _DR, _DPLI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, 1), + (lambda: schemas.LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP_ID, 0), + (lambda: schemas.NETWORK_INTERFACE_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 0), + ), +) + +MODIFY_LOCAL_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _MLGRO, + {_sSI: _cMLGRRo, _smit: None}, + (_Rou,), + ((lambda: schemas.LOCAL_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), +) + +MODIFY_LOCAL_GATEWAY_ROUTE: StaticOperationSchema = ( + 23, + n0, + _MLGR, + 0, + MODIFY_LOCAL_GATEWAY_ROUTE_INPUT, + MODIFY_LOCAL_GATEWAY_ROUTE_OUTPUT, + (), +) + +REMOVE_PREFIX_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _RPLE, + 0, + (_Ci,), + ((lambda: schemas.STRING, 1),), +) + +REMOVE_PREFIX_LIST_ENTRIES: StaticSchema = ( + 16, + n0, + _RPLEe, + 0, + (_me,), + ((REMOVE_PREFIX_LIST_ENTRY, 0),), +) + +MODIFY_MANAGED_PREFIX_LIST_INPUT: StaticSchema = ( + 18, + n0, + _MMPLI, + {_sSI: _cMMPLR, _sm: None}, + (_DR, _PLI, _CVu, _PLN, _AEd, _REem, _ME, _IPLRSE), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 1), + (lambda: schemas.LONG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADD_PREFIX_LIST_ENTRIES, {_sN: _AEdd}), + (REMOVE_PREFIX_LIST_ENTRIES, {_sN: _REemo}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + ), +) + +MODIFY_MANAGED_PREFIX_LIST_OUTPUT: StaticSchema = ( + 18, + n0, + _MMPLO, + {_sSI: _cMMPLRo, _smit: None}, + (_PL,), + ((lambda: schemas.MANAGED_PREFIX_LIST, {_aQN: _PL, _sN: _pL}),), +) + +MODIFY_MANAGED_PREFIX_LIST: StaticOperationSchema = ( + 23, + n0, + _MMPL, + 0, + MODIFY_MANAGED_PREFIX_LIST_INPUT, + MODIFY_MANAGED_PREFIX_LIST_OUTPUT, + (), +) + +MODIFY_MANAGED_RESOURCE_VISIBILITY_INPUT: StaticSchema = ( + 18, + n0, + _MMRVI, + {_sSI: _cMMRVR, _sm: None}, + (_DR, _DVefa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.MANAGED_RESOURCE_DEFAULT_VISIBILITY, 1), + ), +) + +MODIFY_MANAGED_RESOURCE_VISIBILITY_OUTPUT: StaticSchema = ( + 18, + n0, + _MMRVO, + {_sSI: _cMMRVRo, _smit: None}, + (_Vi,), + ((lambda: schemas.MANAGED_RESOURCE_VISIBILITY_SETTINGS, {_aQN: _Vi, _sN: _vis}),), +) + +MODIFY_MANAGED_RESOURCE_VISIBILITY: StaticOperationSchema = ( + 23, + n0, + _MMRV, + 0, + MODIFY_MANAGED_RESOURCE_VISIBILITY_INPUT, + MODIFY_MANAGED_RESOURCE_VISIBILITY_OUTPUT, + (), +) + +SUBNET_ID_LIST: StaticSchema = ( + 16, + n0, + _SILu, + 0, + (_me,), + ((lambda: schemas.SUBNET_ID, {_sN: _ASIs}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_47.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_47.py new file mode 100644 index 000000000..aba3f1462 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_47.py @@ -0,0 +1,1545 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_TC = "TargetConfigurations" +_TGAI = "TransitGatewayAttachmentId" +_TGI = "TransitGatewayId" +_tGAI = "transitGatewayAttachmentId" +_SI = "SubnetIds" +_SIu = "SubnetId" +_sI = "subnetId" +_e = "enable" +_disa = "disable" +_O = "Options" +_DS = "DnsSupport" +_SGRS = "SecurityGroupReferencingSupport" +_IS = "Ipv6Support" +_AMSp = "ApplianceModeSupport" +_TGVA = "TransitGatewayVpcAttachment" +_tGVA = "transitGatewayVpcAttachment" +_dRr = "dryRun" +_PR = "PortRange" +_P = "Protocol" +_pro = "protocol" +_RA = "RuleAction" +_RN = "RuleNumber" +_Po = "Port" +_II = "InstanceId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SGI = "SecurityGroupId" +_PLI = "PrefixListId" +_SPR = "SourcePortRange" +_DPR = "DestinationPortRange" +_TRTI = "TargetRouteTableId" +_AIt = "AttachmentId" +_aIt = "attachmentId" +_PRo = "PortRanges" +_SGR = "SecurityGroupRule" +_TGr = "TransitGateway" +_tG = "transitGateway" +_TGPTE = "TransitGatewayPolicyTableEntry" +_tGPTE = "transitGatewayPolicyTableEntry" +_Des = "Description" +_COIP = "CustomerOwnedIpv4Pool" +_desc = "description" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_sU = "smithy.api#Unit" +_RSI = "RouteServerId" +_GIr = "GroupId" +_TGPTI = "TransitGatewayPolicyTableId" +_TGRTI = "TransitGatewayRouteTableId" +_G = "Groups" +_ESS = "EnaSrdSpecification" +_EQC = "EnaQueueCount" +_VAII = "VerifiedAccessInstanceId" +_VAI = "VerifiedAccessInstance" +_CECSD = "CidrEndpointsCustomSubDomain" +_SSs = "SseSpecification" +_sSs = "sseSpecification" +_vAI = "verifiedAccessInstance" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_At = "Attachment" +_atta = "attachment" +_CIid = "CidrIpv6" +_UIs = "UserId" +_IPpr = "IpProtocol" +_FP = "FromPort" +_TP = "ToPort" +_SGRI = "SecurityGroupRuleId" +_CIidr = "CidrIpv4" +_SGRe = "SecurityGroupRules" +_RIIes = "ReservedInstancesId" +_SFRI = "SpotFleetRequestId" +_sFRI = "spotFleetRequestId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_DCB = "DestinationCidrBlock" +_HT = "HostnameType" +_ERNDAR = "EnableResourceNameDnsARecord" +_ERNDAAAAR = "EnableResourceNameDnsAAAARecord" +_ELADI = "EnableLniAtDeviceIndex" +_MCOIOL = "MapCustomerOwnedIpOnLaunch" +_AIAOC = "AssignIpv6AddressOnCreation" +_EDn = "EnableDns64" +_MPIOL = "MapPublicIpOnLaunch" +_succ = "successful" +_ODTC = "OnDemandTargetCapacity" +_ECTP = "ExcessCapacityTerminationPolicy" +_LTC = "LaunchTemplateConfigs" +_Con = "Context" +_APIAsso = "AssociatePublicIpAddress" +_CTSo = "ConnectionTrackingSpecification" +_EPI = "EnablePrimaryIpv6" +_SDC = "SourceDestCheck" +_sDC = "sourceDestCheck" +_ASA = "AmazonSideAsn" +_PRe = "PersistRoutes" +_PRD = "PersistRoutesDuration" +_SNE = "SnsNotificationsEnabled" +_RSo = "RouteServer" +_rSo = "routeServer" +_STt = "StorageTier" +_arc = "archive" +_TDr = "TrafficDirection" +_TMFR = "TrafficMirrorFilterRule" +_TMFRI = "TrafficMirrorFilterRuleId" +_TMFI = "TrafficMirrorFilterId" +_SCB = "SourceCidrBlock" +_TMF = "TrafficMirrorFilter" +_tMF = "trafficMirrorFilter" +_tMFR = "trafficMirrorFilterRule" +_TMTI = "TrafficMirrorTargetId" +_PLa = "PacketLength" +_SNes = "SessionNumber" +_VNI = "VirtualNetworkId" +_TMS = "TrafficMirrorSession" +_TMSI = "TrafficMirrorSessionId" +_tMS = "trafficMirrorSession" +_AASA = "AutoAcceptSharedAttachments" +_DRTA = "DefaultRouteTableAssociation" +_DRTP = "DefaultRouteTablePropagation" +_VESp = "VpnEcmpSupport" +_ESnc = "EncryptionSupport" +_ADRTI = "AssociationDefaultRouteTableId" +_PDRTI = "PropagationDefaultRouteTableId" +_TGMPI = "TransitGatewayMeteringPolicyId" +_TGMP = "TransitGatewayMeteringPolicy" +_tGMP = "transitGatewayMeteringPolicy" +_PRNo = "PolicyRuleNumber" +_PRol = "PolicyRule" +_Bl = "Blackhole" +_TGPLR = "TransitGatewayPrefixListReference" +_tGPLR = "transitGatewayPrefixListReference" +_REd = "RdsEndpoint" +_VAGI = "VerifiedAccessGroupId" +_LBO = "LoadBalancerOptions" +_NIO = "NetworkInterfaceOptions" +_PDo = "PolicyDocument" +_ROd = "RdsOptions" +_COi = "CidrOptions" +_VAE = "VerifiedAccessEndpoint" +_VAEI = "VerifiedAccessEndpointId" +_vAE = "verifiedAccessEndpoint" +_VAG = "VerifiedAccessGroup" +_vAG = "verifiedAccessGroup" +_pDo = "policyDocument" +_RIIese = "ReservedInstancesIds" +_Attr = "Attribute" +_eCTP = "excessCapacityTerminationPolicy" +_GNr = "GroupNames" +_RIMI = "ReservedInstancesModificationId" +_rIMI = "reservedInstancesModificationId" +_CVP = "CreateVolumePermission" +_LTCa = "LaunchTemplateConfig" +_TCar = "TargetCapacity" +_tCar = "targetCapacity" +_NGSat = "NatGatewaySupport" +_nGSa = "natGatewaySupport" +_Suc = "Successful" +_MSC = "MatchSourceCidr" +_NCa = "NatCidr" +_NSRS = "NatSystemRouteSupport" +_nSRS = "natSystemRouteSupport" +_NGR = "NatGatewayRules" +_NGRS = "NatGatewayRuleSet" +_nGRS = "natGatewayRuleSet" +_PEo = "PolicyEnabled" +_pEo = "policyEnabled" +_Add_ = "Add" +_Remo = "Remove" +_OTp = "OperationType" +_UG = "UserGroup" +_UIse = "UserIds" +_ASIs = "AssociatedSubnetId" +_NIAC = "NetworkInterfaceAttachmentChanges" +_DEQC = "DefaultEnaQueueCount" +_MNIAI = "ModifyNetworkInterfaceAttributeInput" +_cMNIAR = "com.amazonaws.ec2#ModifyNetworkInterfaceAttributeRequest" +_ASIss = "AssociatedSubnetIds" +_MNIAO = "ModifyNetworkInterfaceAttributeOutput" +_MNIA = "ModifyNetworkInterfaceAttribute" +_MPDNOI = "ModifyPrivateDnsNameOptionsInput" +_cMPDNOR = "com.amazonaws.ec2#ModifyPrivateDnsNameOptionsRequest" +_PDHT = "PrivateDnsHostnameType" +_MPDNOO = "ModifyPrivateDnsNameOptionsOutput" +_cMPDNORo = "com.amazonaws.ec2#ModifyPrivateDnsNameOptionsResult" +_MPDNO = "ModifyPrivateDnsNameOptions" +_PIDO = "PublicIpDnsOption" +_pdsdn = "public_dual_stack_dns_name" +_pdsdn_ = "public-dual-stack-dns-name" +_pidn = "public_ipv4_dns_name" +_pidn_ = "public-ipv4-dns-name" +_pidn__ = "public_ipv6_dns_name" +_pidn___ = "public-ipv6-dns-name" +_MPIDNOI = "ModifyPublicIpDnsNameOptionsInput" +_cMPIDNOR = "com.amazonaws.ec2#ModifyPublicIpDnsNameOptionsRequest" +_MPIDNOO = "ModifyPublicIpDnsNameOptionsOutput" +_cMPIDNORo = "com.amazonaws.ec2#ModifyPublicIpDnsNameOptionsResult" +_MPIDNO = "ModifyPublicIpDnsNameOptions" +_RICL = "ReservedInstancesConfigurationList" +_MRII = "ModifyReservedInstancesInput" +_cMRIR = "com.amazonaws.ec2#ModifyReservedInstancesRequest" +_RICSIT = "ReservedInstancesConfigurationSetItemType" +_MRIO = "ModifyReservedInstancesOutput" +_cMRIRo = "com.amazonaws.ec2#ModifyReservedInstancesResult" +_MRI = "ModifyReservedInstances" +_MRSI = "ModifyRouteServerInput" +_cMRSR = "com.amazonaws.ec2#ModifyRouteServerRequest" +_MRSO = "ModifyRouteServerOutput" +_cMRSRo = "com.amazonaws.ec2#ModifyRouteServerResult" +_MRSo = "ModifyRouteServer" +_SGRR = "SecurityGroupRuleRequest" +_RGIef = "ReferencedGroupId" +_SGRU = "SecurityGroupRuleUpdate" +_SGRUL = "SecurityGroupRuleUpdateList" +_MSGRI = "ModifySecurityGroupRulesInput" +_cMSGRR = "com.amazonaws.ec2#ModifySecurityGroupRulesRequest" +_MSGRO = "ModifySecurityGroupRulesOutput" +_cMSGRRo = "com.amazonaws.ec2#ModifySecurityGroupRulesResult" +_MSGR = "ModifySecurityGroupRules" +_CVPM = "CreateVolumePermissionModifications" +_MSAI = "ModifySnapshotAttributeInput" +_cMSAR = "com.amazonaws.ec2#ModifySnapshotAttributeRequest" +_MSAO = "ModifySnapshotAttributeOutput" +_MSA = "ModifySnapshotAttribute" +_TSTa = "TargetStorageTier" +_MSTI = "ModifySnapshotTierInput" +_cMSTR = "com.amazonaws.ec2#ModifySnapshotTierRequest" +_MSTO = "ModifySnapshotTierOutput" +_cMSTRo = "com.amazonaws.ec2#ModifySnapshotTierResult" +_TSTi = "TieringStartTime" +_tSTi = "tieringStartTime" +_MST = "ModifySnapshotTier" +_MSFRI = "ModifySpotFleetRequestInput" +_cMSFRR = "com.amazonaws.ec2#ModifySpotFleetRequestRequest" +_MSFRO = "ModifySpotFleetRequestOutput" +_cMSFRRo = "com.amazonaws.ec2#ModifySpotFleetRequestResponse" +_MSFR = "ModifySpotFleetRequest" +_MSAIo = "ModifySubnetAttributeInput" +_cMSARo = "com.amazonaws.ec2#ModifySubnetAttributeRequest" +_PDHTOL = "PrivateDnsHostnameTypeOnLaunch" +_ERNDAROL = "EnableResourceNameDnsARecordOnLaunch" +_ERNDAAAAROL = "EnableResourceNameDnsAAAARecordOnLaunch" +_DLADI = "DisableLniAtDeviceIndex" +_MSAOo = "ModifySubnetAttributeOutput" +_MSAo = "ModifySubnetAttribute" +_MTMFNSI = "ModifyTrafficMirrorFilterNetworkServicesInput" +_cMTMFNSR = "com.amazonaws.ec2#ModifyTrafficMirrorFilterNetworkServicesRequest" +_ANSd = "AddNetworkServices" +_ANSdd = "AddNetworkService" +_RNS = "RemoveNetworkServices" +_RNSe = "RemoveNetworkService" +_MTMFNSO = "ModifyTrafficMirrorFilterNetworkServicesOutput" +_cMTMFNSRo = "com.amazonaws.ec2#ModifyTrafficMirrorFilterNetworkServicesResult" +_MTMFNS = "ModifyTrafficMirrorFilterNetworkServices" +_TMFRF = "TrafficMirrorFilterRuleField" +_dpr__ = "destination_port_range" +_dpr___ = "destination-port-range" +_spr_ = "source_port_range" +_spr__ = "source-port-range" +_TMFRFL = "TrafficMirrorFilterRuleFieldList" +_MTMFRI = "ModifyTrafficMirrorFilterRuleInput" +_cMTMFRR = "com.amazonaws.ec2#ModifyTrafficMirrorFilterRuleRequest" +_RF = "RemoveFields" +_RFe = "RemoveField" +_MTMFRO = "ModifyTrafficMirrorFilterRuleOutput" +_cMTMFRRo = "com.amazonaws.ec2#ModifyTrafficMirrorFilterRuleResult" +_MTMFR = "ModifyTrafficMirrorFilterRule" +_TMSF = "TrafficMirrorSessionField" +_pl__ = "packet_length" +_pl___ = "packet-length" +_vni = "virtual_network_id" +_vni_ = "virtual-network-id" +_TMSFL = "TrafficMirrorSessionFieldList" +_MTMSI = "ModifyTrafficMirrorSessionInput" +_cMTMSR = "com.amazonaws.ec2#ModifyTrafficMirrorSessionRequest" +_MTMSO = "ModifyTrafficMirrorSessionOutput" +_cMTMSRo = "com.amazonaws.ec2#ModifyTrafficMirrorSessionResult" +_MTMS = "ModifyTrafficMirrorSession" +_ESOV = "EncryptionSupportOptionValue" +_MTGO = "ModifyTransitGatewayOptions" +_ATGCB = "AddTransitGatewayCidrBlocks" +_RTGCB = "RemoveTransitGatewayCidrBlocks" +_MTGI = "ModifyTransitGatewayInput" +_cMTGR = "com.amazonaws.ec2#ModifyTransitGatewayRequest" +_MTGOo = "ModifyTransitGatewayOutput" +_cMTGRo = "com.amazonaws.ec2#ModifyTransitGatewayResult" +_MTG = "ModifyTransitGateway" +_TGNRR = "TransitGatewayNatRuleRequest" +_TGNRRL = "TransitGatewayNatRuleRequestList" +_TGANGSV = "TransitGatewayAttachmentNatGatewaySupportValue" +_MTGANCI = "ModifyTransitGatewayAttachmentNatConfigurationInput" +_cMTGANCR = "com.amazonaws.ec2#ModifyTransitGatewayAttachmentNatConfigurationRequest" +_NGRa = "NatGatewayRule" +_RNGR = "ResetNatGatewayRules" +_MTGANCO = "ModifyTransitGatewayAttachmentNatConfigurationOutput" +_cMTGANCRo = "com.amazonaws.ec2#ModifyTransitGatewayAttachmentNatConfigurationResult" +_MTGANC = "ModifyTransitGatewayAttachmentNatConfiguration" +_MTGMPI = "ModifyTransitGatewayMeteringPolicyInput" +_cMTGMPR = "com.amazonaws.ec2#ModifyTransitGatewayMeteringPolicyRequest" +_AMAI = "AddMiddleboxAttachmentIds" +_AMAId = "AddMiddleboxAttachmentId" +_RMAI = "RemoveMiddleboxAttachmentIds" +_RMAIe = "RemoveMiddleboxAttachmentId" +_MTGMPO = "ModifyTransitGatewayMeteringPolicyOutput" +_cMTGMPRo = "com.amazonaws.ec2#ModifyTransitGatewayMeteringPolicyResult" +_MTGMP = "ModifyTransitGatewayMeteringPolicy" +_MTGPTEI = "ModifyTransitGatewayPolicyTableEntryInput" +_cMTGPTER = "com.amazonaws.ec2#ModifyTransitGatewayPolicyTableEntryRequest" +_MTGPTEO = "ModifyTransitGatewayPolicyTableEntryOutput" +_cMTGPTERo = "com.amazonaws.ec2#ModifyTransitGatewayPolicyTableEntryResult" +_MTGPTE = "ModifyTransitGatewayPolicyTableEntry" +_MTGPLRI = "ModifyTransitGatewayPrefixListReferenceInput" +_cMTGPLRR = "com.amazonaws.ec2#ModifyTransitGatewayPrefixListReferenceRequest" +_MTGPLRO = "ModifyTransitGatewayPrefixListReferenceOutput" +_cMTGPLRRo = "com.amazonaws.ec2#ModifyTransitGatewayPrefixListReferenceResult" +_MTGPLR = "ModifyTransitGatewayPrefixListReference" +_MTGVARO = "ModifyTransitGatewayVpcAttachmentRequestOptions" +_MTGVAI = "ModifyTransitGatewayVpcAttachmentInput" +_cMTGVAR = "com.amazonaws.ec2#ModifyTransitGatewayVpcAttachmentRequest" +_ASId = "AddSubnetIds" +_RSIe = "RemoveSubnetIds" +_MTGVAO = "ModifyTransitGatewayVpcAttachmentOutput" +_cMTGVARo = "com.amazonaws.ec2#ModifyTransitGatewayVpcAttachmentResult" +_MTGVA = "ModifyTransitGatewayVpcAttachment" +_MVAEPR = "ModifyVerifiedAccessEndpointPortRange" +_MVAEPRL = "ModifyVerifiedAccessEndpointPortRangeList" +_MVAECO = "ModifyVerifiedAccessEndpointCidrOptions" +_MVAESIL = "ModifyVerifiedAccessEndpointSubnetIdList" +_MVAELBO = "ModifyVerifiedAccessEndpointLoadBalancerOptions" +_MVAEEO = "ModifyVerifiedAccessEndpointEniOptions" +_MVAERO = "ModifyVerifiedAccessEndpointRdsOptions" +_MVAEI = "ModifyVerifiedAccessEndpointInput" +_cMVAER = "com.amazonaws.ec2#ModifyVerifiedAccessEndpointRequest" +_MVAEO = "ModifyVerifiedAccessEndpointOutput" +_cMVAERo = "com.amazonaws.ec2#ModifyVerifiedAccessEndpointResult" +_MVAE = "ModifyVerifiedAccessEndpoint" +_MVAEPI = "ModifyVerifiedAccessEndpointPolicyInput" +_cMVAEPR = "com.amazonaws.ec2#ModifyVerifiedAccessEndpointPolicyRequest" +_MVAEPO = "ModifyVerifiedAccessEndpointPolicyOutput" +_cMVAEPRo = "com.amazonaws.ec2#ModifyVerifiedAccessEndpointPolicyResult" +_MVAEP = "ModifyVerifiedAccessEndpointPolicy" +_MVAGI = "ModifyVerifiedAccessGroupInput" +_cMVAGR = "com.amazonaws.ec2#ModifyVerifiedAccessGroupRequest" +_MVAGO = "ModifyVerifiedAccessGroupOutput" +_cMVAGRo = "com.amazonaws.ec2#ModifyVerifiedAccessGroupResult" +_MVAG = "ModifyVerifiedAccessGroup" +_MVAGPI = "ModifyVerifiedAccessGroupPolicyInput" +_cMVAGPR = "com.amazonaws.ec2#ModifyVerifiedAccessGroupPolicyRequest" +_MVAGPO = "ModifyVerifiedAccessGroupPolicyOutput" +_cMVAGPRo = "com.amazonaws.ec2#ModifyVerifiedAccessGroupPolicyResult" +_MVAGP = "ModifyVerifiedAccessGroupPolicy" +_MVAII = "ModifyVerifiedAccessInstanceInput" +_cMVAIR = "com.amazonaws.ec2#ModifyVerifiedAccessInstanceRequest" +_MVAIO = "ModifyVerifiedAccessInstanceOutput" +_cMVAIRo = "com.amazonaws.ec2#ModifyVerifiedAccessInstanceResult" +_MVAI = "ModifyVerifiedAccessInstance" + +NETWORK_INTERFACE_ATTACHMENT_CHANGES: StaticSchema = ( + 18, + n0, + _NIAC, + 0, + (_DEQC, _EQC, _AIt, _DOT), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.NETWORK_INTERFACE_ATTACHMENT_ID, {_aQN: _AIt, _sN: _aIt}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + ), +) + +MODIFY_NETWORK_INTERFACE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MNIAI, + {_sSI: _cMNIAR, _sm: None}, + (_ESS, _EPI, _CTSo, _APIAsso, _ASIss, _DR, _NII, _Des, _SDC, _G, _At), + ( + (lambda: schemas.ENA_SRD_SPECIFICATION, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.CONNECTION_TRACKING_SPECIFICATION_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SUBNET_ID_LIST, {_sN: _ASIs}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), + (lambda: schemas.ATTRIBUTE_VALUE, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, {_aQN: _SDC, _sN: _sDC}), + (lambda: schemas.SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), + (NETWORK_INTERFACE_ATTACHMENT_CHANGES, {_aQN: _At, _sN: _atta}), + ), +) + +MODIFY_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _MNIAO, + {_sSI: _sU, _smit: None}, +) + +MODIFY_NETWORK_INTERFACE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MNIA, + 0, + MODIFY_NETWORK_INTERFACE_ATTRIBUTE_INPUT, + MODIFY_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT, + (), +) + +MODIFY_PRIVATE_DNS_NAME_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MPDNOI, + {_sSI: _cMPDNOR, _sm: None}, + (_DR, _II, _PDHT, _ERNDAR, _ERNDAAAAR), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.HOSTNAME_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_PRIVATE_DNS_NAME_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MPDNOO, + {_sSI: _cMPDNORo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_PRIVATE_DNS_NAME_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MPDNO, + 0, + MODIFY_PRIVATE_DNS_NAME_OPTIONS_INPUT, + MODIFY_PRIVATE_DNS_NAME_OPTIONS_OUTPUT, + (), +) + +PUBLIC_IP_DNS_OPTION: StaticSchema = ( + 14, + n0, + _PIDO, + 0, + (_pdsdn, _pidn, _pidn__), + ((-1, {_sV: _pdsdn_}), (-1, {_sV: _pidn_}), (-1, {_sV: _pidn___})), +) + +MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MPIDNOI, + {_sSI: _cMPIDNOR, _sm: None}, + (_NII, _HT, _DR), + ( + (lambda: schemas.NETWORK_INTERFACE_ID, 1), + (PUBLIC_IP_DNS_OPTION, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MPIDNOO, + {_sSI: _cMPIDNORo, _smit: None}, + (_Suc,), + ((lambda: schemas.BOOLEAN, {_aQN: _Suc, _sN: _succ}),), +) + +MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MPIDNO, + 0, + MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_INPUT, + MODIFY_PUBLIC_IP_DNS_NAME_OPTIONS_OUTPUT, + (), +) + +RESERVED_INSTANCES_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _RICL, + 0, + (_me,), + ((lambda: schemas.RESERVED_INSTANCES_CONFIGURATION, {_sN: _i}),), +) + +MODIFY_RESERVED_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _MRII, + {_sSI: _cMRIR, _sm: None}, + (_RIIese, _CTl, _TC), + ( + (lambda: schemas.RESERVED_INSTANCES_ID_STRING_LIST, {_sN: _RIIes, _smi: None}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (RESERVED_INSTANCES_CONFIGURATION_LIST, {_sN: _RICSIT, _smi: None}), + ), +) + +MODIFY_RESERVED_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _MRIO, + {_sSI: _cMRIRo, _smit: None}, + (_RIMI,), + ((lambda: schemas.STRING, {_aQN: _RIMI, _sN: _rIMI}),), +) + +MODIFY_RESERVED_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _MRI, + 0, + MODIFY_RESERVED_INSTANCES_INPUT, + MODIFY_RESERVED_INSTANCES_OUTPUT, + (), +) + +MODIFY_ROUTE_SERVER_INPUT: StaticSchema = ( + 18, + n0, + _MRSI, + {_sSI: _cMRSR, _sm: None}, + (_RSI, _PRe, _PRD, _SNE, _DR), + ( + (lambda: schemas.ROUTE_SERVER_ID, 1), + (lambda: schemas.ROUTE_SERVER_PERSIST_ROUTES_ACTION, 0), + (lambda: schemas.BOXED_LONG, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_ROUTE_SERVER_OUTPUT: StaticSchema = ( + 18, + n0, + _MRSO, + {_sSI: _cMRSRo, _smit: None}, + (_RSo,), + ((lambda: schemas.ROUTE_SERVER, {_aQN: _RSo, _sN: _rSo}),), +) + +MODIFY_ROUTE_SERVER: StaticOperationSchema = ( + 23, + n0, + _MRSo, + 0, + MODIFY_ROUTE_SERVER_INPUT, + MODIFY_ROUTE_SERVER_OUTPUT, + (), +) + +SECURITY_GROUP_RULE_REQUEST: StaticSchema = ( + 18, + n0, + _SGRR, + 0, + (_IPpr, _FP, _TP, _CIidr, _CIid, _PLI, _RGIef, _Des), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 0), + (lambda: schemas.SECURITY_GROUP_ID, 0), + (lambda: schemas.STRING, 0), + ), +) + +SECURITY_GROUP_RULE_UPDATE: StaticSchema = ( + 18, + n0, + _SGRU, + 0, + (_SGRI, _SGR), + ((lambda: schemas.SECURITY_GROUP_RULE_ID, 1), (SECURITY_GROUP_RULE_REQUEST, 0)), +) + +SECURITY_GROUP_RULE_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _SGRUL, + 0, + (_me,), + ((SECURITY_GROUP_RULE_UPDATE, {_sN: _i}),), +) + +MODIFY_SECURITY_GROUP_RULES_INPUT: StaticSchema = ( + 18, + n0, + _MSGRI, + {_sSI: _cMSGRR, _sm: None}, + (_GIr, _SGRe, _DR), + ( + (lambda: schemas.SECURITY_GROUP_ID, 1), + (SECURITY_GROUP_RULE_UPDATE_LIST, {_sN: _SGR, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_SECURITY_GROUP_RULES_OUTPUT: StaticSchema = ( + 18, + n0, + _MSGRO, + {_sSI: _cMSGRRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_SECURITY_GROUP_RULES: StaticOperationSchema = ( + 23, + n0, + _MSGR, + 0, + MODIFY_SECURITY_GROUP_RULES_INPUT, + MODIFY_SECURITY_GROUP_RULES_OUTPUT, + (), +) + +CREATE_VOLUME_PERMISSION_MODIFICATIONS: StaticSchema = ( + 18, + n0, + _CVPM, + 0, + (_Add_, _Remo), + ( + (lambda: schemas.CREATE_VOLUME_PERMISSION_LIST, 0), + (lambda: schemas.CREATE_VOLUME_PERMISSION_LIST, 0), + ), +) + +MODIFY_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MSAI, + {_sSI: _cMSAR, _sm: None}, + (_Attr, _CVP, _GNr, _OTp, _SIn, _UIse, _DR), + ( + (lambda: schemas.SNAPSHOT_ATTRIBUTE_NAME, 0), + (CREATE_VOLUME_PERMISSION_MODIFICATIONS, 0), + (lambda: schemas.GROUP_NAME_STRING_LIST, {_sN: _UG}), + (lambda: schemas.OPERATION_TYPE, 0), + (lambda: schemas.SNAPSHOT_ID, 1), + (lambda: schemas.USER_ID_STRING_LIST, {_sN: _UIs}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +MODIFY_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _MSAO, + {_sSI: _sU, _smit: None}, +) + +MODIFY_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MSA, + 0, + MODIFY_SNAPSHOT_ATTRIBUTE_INPUT, + MODIFY_SNAPSHOT_ATTRIBUTE_OUTPUT, + (), +) + +TARGET_STORAGE_TIER: StaticSchema = (14, n0, _TSTa, 0, (_arc,), ((-1, {_sV: _arc}),)) + +MODIFY_SNAPSHOT_TIER_INPUT: StaticSchema = ( + 18, + n0, + _MSTI, + {_sSI: _cMSTR, _sm: None}, + (_SIn, _STt, _DR), + ( + (lambda: schemas.SNAPSHOT_ID, 1), + (TARGET_STORAGE_TIER, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_SNAPSHOT_TIER_OUTPUT: StaticSchema = ( + 18, + n0, + _MSTO, + {_sSI: _cMSTRo, _smit: None}, + (_SIn, _TSTi), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _TSTi, _sN: _tSTi}), + ), +) + +MODIFY_SNAPSHOT_TIER: StaticOperationSchema = ( + 23, + n0, + _MST, + 0, + MODIFY_SNAPSHOT_TIER_INPUT, + MODIFY_SNAPSHOT_TIER_OUTPUT, + (), +) + +MODIFY_SPOT_FLEET_REQUEST_INPUT: StaticSchema = ( + 18, + n0, + _MSFRI, + {_sSI: _cMSFRR, _sm: None}, + (_LTC, _ODTC, _Con, _SFRI, _TCar, _ECTP), + ( + (lambda: schemas.LAUNCH_TEMPLATE_CONFIG_LIST, {_sN: _LTCa}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SPOT_FLEET_REQUEST_ID, {_aQN: _SFRI, _sN: _sFRI, _smi: None}), + (lambda: schemas.INTEGER, {_aQN: _TCar, _sN: _tCar}), + (lambda: schemas.EXCESS_CAPACITY_TERMINATION_POLICY, {_aQN: _ECTP, _sN: _eCTP}), + ), +) + +MODIFY_SPOT_FLEET_REQUEST_OUTPUT: StaticSchema = ( + 18, + n0, + _MSFRO, + {_sSI: _cMSFRRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_SPOT_FLEET_REQUEST: StaticOperationSchema = ( + 23, + n0, + _MSFR, + 0, + MODIFY_SPOT_FLEET_REQUEST_INPUT, + MODIFY_SPOT_FLEET_REQUEST_OUTPUT, + (), +) + +MODIFY_SUBNET_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MSAIo, + {_sSI: _cMSARo, _sm: None}, + ( + _AIAOC, + _MPIOL, + _SIu, + _MCOIOL, + _COIP, + _EDn, + _PDHTOL, + _ERNDAROL, + _ERNDAAAAROL, + _ELADI, + _DLADI, + ), + ( + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI, _smi: None}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.COIP_POOL_ID, 0), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.HOSTNAME_TYPE, 0), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + ), +) + +MODIFY_SUBNET_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _MSAOo, + {_sSI: _sU, _smit: None}, +) + +MODIFY_SUBNET_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MSAo, + 0, + MODIFY_SUBNET_ATTRIBUTE_INPUT, + MODIFY_SUBNET_ATTRIBUTE_OUTPUT, + (), +) + +MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_INPUT: StaticSchema = ( + 18, + n0, + _MTMFNSI, + {_sSI: _cMTMFNSR, _sm: None}, + (_TMFI, _ANSd, _RNS, _DR), + ( + (lambda: schemas.TRAFFIC_MIRROR_FILTER_ID, 1), + (lambda: schemas.TRAFFIC_MIRROR_NETWORK_SERVICE_LIST, {_sN: _ANSdd}), + (lambda: schemas.TRAFFIC_MIRROR_NETWORK_SERVICE_LIST, {_sN: _RNSe}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_OUTPUT: StaticSchema = ( + 18, + n0, + _MTMFNSO, + {_sSI: _cMTMFNSRo, _smit: None}, + (_TMF,), + ((lambda: schemas.TRAFFIC_MIRROR_FILTER, {_aQN: _TMF, _sN: _tMF}),), +) + +MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES: StaticOperationSchema = ( + 23, + n0, + _MTMFNS, + 0, + MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_INPUT, + MODIFY_TRAFFIC_MIRROR_FILTER_NETWORK_SERVICES_OUTPUT, + (), +) + +TRAFFIC_MIRROR_FILTER_RULE_FIELD: StaticSchema = ( + 14, + n0, + _TMFRF, + 0, + (_dpr__, _spr_, _pro, _desc), + ((-1, {_sV: _dpr___}), (-1, {_sV: _spr__}), (-1, {_sV: _pro}), (-1, {_sV: _desc})), +) + +TRAFFIC_MIRROR_FILTER_RULE_FIELD_LIST: StaticSchema = ( + 16, + n0, + _TMFRFL, + 0, + (_me,), + ((TRAFFIC_MIRROR_FILTER_RULE_FIELD, 0),), +) + +MODIFY_TRAFFIC_MIRROR_FILTER_RULE_INPUT: StaticSchema = ( + 18, + n0, + _MTMFRI, + {_sSI: _cMTMFRR, _sm: None}, + (_TMFRI, _TDr, _RN, _RA, _DPR, _SPR, _P, _DCB, _SCB, _Des, _RF, _DR), + ( + (lambda: schemas.TRAFFIC_MIRROR_FILTER_RULE_ID_WITH_RESOLVER, 1), + (lambda: schemas.TRAFFIC_DIRECTION, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.TRAFFIC_MIRROR_RULE_ACTION, 0), + (lambda: schemas.TRAFFIC_MIRROR_PORT_RANGE_REQUEST, 0), + (lambda: schemas.TRAFFIC_MIRROR_PORT_RANGE_REQUEST, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (TRAFFIC_MIRROR_FILTER_RULE_FIELD_LIST, {_sN: _RFe}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT: StaticSchema = ( + 18, + n0, + _MTMFRO, + {_sSI: _cMTMFRRo, _smit: None}, + (_TMFR,), + ((lambda: schemas.TRAFFIC_MIRROR_FILTER_RULE, {_aQN: _TMFR, _sN: _tMFR}),), +) + +MODIFY_TRAFFIC_MIRROR_FILTER_RULE: StaticOperationSchema = ( + 23, + n0, + _MTMFR, + 0, + MODIFY_TRAFFIC_MIRROR_FILTER_RULE_INPUT, + MODIFY_TRAFFIC_MIRROR_FILTER_RULE_OUTPUT, + (), +) + +TRAFFIC_MIRROR_SESSION_FIELD: StaticSchema = ( + 14, + n0, + _TMSF, + 0, + (_pl__, _desc, _vni), + ((-1, {_sV: _pl___}), (-1, {_sV: _desc}), (-1, {_sV: _vni_})), +) + +TRAFFIC_MIRROR_SESSION_FIELD_LIST: StaticSchema = ( + 16, + n0, + _TMSFL, + 0, + (_me,), + ((TRAFFIC_MIRROR_SESSION_FIELD, 0),), +) + +MODIFY_TRAFFIC_MIRROR_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _MTMSI, + {_sSI: _cMTMSR, _sm: None}, + (_TMSI, _TMTI, _TMFI, _PLa, _SNes, _VNI, _Des, _RF, _DR), + ( + (lambda: schemas.TRAFFIC_MIRROR_SESSION_ID, 1), + (lambda: schemas.TRAFFIC_MIRROR_TARGET_ID, 0), + (lambda: schemas.TRAFFIC_MIRROR_FILTER_ID, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (TRAFFIC_MIRROR_SESSION_FIELD_LIST, {_sN: _RFe}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_TRAFFIC_MIRROR_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _MTMSO, + {_sSI: _cMTMSRo, _smit: None}, + (_TMS,), + ((lambda: schemas.TRAFFIC_MIRROR_SESSION, {_aQN: _TMS, _sN: _tMS}),), +) + +MODIFY_TRAFFIC_MIRROR_SESSION: StaticOperationSchema = ( + 23, + n0, + _MTMS, + 0, + MODIFY_TRAFFIC_MIRROR_SESSION_INPUT, + MODIFY_TRAFFIC_MIRROR_SESSION_OUTPUT, + (), +) + +ENCRYPTION_SUPPORT_OPTION_VALUE: StaticSchema = ( + 14, + n0, + _ESOV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +MODIFY_TRANSIT_GATEWAY_OPTIONS: StaticSchema = ( + 18, + n0, + _MTGO, + 0, + ( + _ATGCB, + _RTGCB, + _VESp, + _DS, + _SGRS, + _AASA, + _DRTA, + _ADRTI, + _DRTP, + _PDRTI, + _ASA, + _ESnc, + ), + ( + (lambda: schemas.TRANSIT_GATEWAY_CIDR_BLOCK_STRING_LIST, 0), + (lambda: schemas.TRANSIT_GATEWAY_CIDR_BLOCK_STRING_LIST, 0), + (lambda: schemas.VPN_ECMP_SUPPORT_VALUE, 0), + (lambda: schemas.DNS_SUPPORT_VALUE, 0), + (lambda: schemas.SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, 0), + (lambda: schemas.AUTO_ACCEPT_SHARED_ATTACHMENTS_VALUE, 0), + (lambda: schemas.DEFAULT_ROUTE_TABLE_ASSOCIATION_VALUE, 0), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 0), + (lambda: schemas.DEFAULT_ROUTE_TABLE_PROPAGATION_VALUE, 0), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 0), + (lambda: schemas.LONG, 0), + (ENCRYPTION_SUPPORT_OPTION_VALUE, 0), + ), +) + +MODIFY_TRANSIT_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _MTGI, + {_sSI: _cMTGR, _sm: None}, + (_TGI, _Des, _O, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ID, 1), + (lambda: schemas.STRING, 0), + (MODIFY_TRANSIT_GATEWAY_OPTIONS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_TRANSIT_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _MTGOo, + {_sSI: _cMTGRo, _smit: None}, + (_TGr,), + ((lambda: schemas.TRANSIT_GATEWAY, {_aQN: _TGr, _sN: _tG}),), +) + +MODIFY_TRANSIT_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _MTG, + 0, + MODIFY_TRANSIT_GATEWAY_INPUT, + MODIFY_TRANSIT_GATEWAY_OUTPUT, + (), +) + +TRANSIT_GATEWAY_NAT_RULE_REQUEST: StaticSchema = ( + 18, + n0, + _TGNRR, + 0, + (_RN, _MSC, _NCa), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +TRANSIT_GATEWAY_NAT_RULE_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _TGNRRL, + 0, + (_me,), + ((TRANSIT_GATEWAY_NAT_RULE_REQUEST, {_sN: _i}),), +) + +TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_VALUE: StaticSchema = ( + 14, + n0, + _TGANGSV, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _MTGANCI, + {_sSI: _cMTGANCR, _sm: None}, + (_TGAI, _NGSat, _NSRS, _NGR, _RNGR, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_VALUE, 0), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_NAT_SYSTEM_ROUTE_SUPPORT_VALUE, 0), + (TRANSIT_GATEWAY_NAT_RULE_REQUEST_LIST, {_sN: _NGRa}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MTGANCO, + {_sSI: _cMTGANCRo, _smit: None}, + (_TGAI, _NGSat, _NSRS, _NGR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, {_aQN: _TGAI, _sN: _tGAI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_NAT_GATEWAY_SUPPORT_STATE, + {_aQN: _NGSat, _sN: _nGSa}, + ), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_NAT_SYSTEM_ROUTE_SUPPORT_VALUE, + {_aQN: _NSRS, _sN: _nSRS}, + ), + (lambda: schemas.TRANSIT_GATEWAY_NAT_RULE_LIST, {_aQN: _NGRS, _sN: _nGRS}), + ), +) + +MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _MTGANC, + 0, + MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_INPUT, + MODIFY_TRANSIT_GATEWAY_ATTACHMENT_NAT_CONFIGURATION_OUTPUT, + (), +) + +MODIFY_TRANSIT_GATEWAY_METERING_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _MTGMPI, + {_sSI: _cMTGMPR, _sm: None}, + (_TGMPI, _AMAI, _RMAI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, {_sN: _AMAId}), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID_STRING_LIST, {_sN: _RMAIe}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _MTGMPO, + {_sSI: _cMTGMPRo, _smit: None}, + (_TGMP,), + ((lambda: schemas.TRANSIT_GATEWAY_METERING_POLICY, {_aQN: _TGMP, _sN: _tGMP}),), +) + +MODIFY_TRANSIT_GATEWAY_METERING_POLICY: StaticOperationSchema = ( + 23, + n0, + _MTGMP, + 0, + MODIFY_TRANSIT_GATEWAY_METERING_POLICY_INPUT, + MODIFY_TRANSIT_GATEWAY_METERING_POLICY_OUTPUT, + (), +) + +MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT: StaticSchema = ( + 18, + n0, + _MTGPTEI, + {_sSI: _cMTGPTER, _sm: None}, + (_TGPTI, _PRNo, _PRol, _TRTI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TRANSIT_GATEWAY_REQUEST_POLICY_RULE, 0), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _MTGPTEO, + {_sSI: _cMTGPTERo, _smit: None}, + (_TGPTE,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_POLICY_TABLE_ENTRY, + {_aQN: _TGPTE, _sN: _tGPTE}, + ), + ), +) + +MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY: StaticOperationSchema = ( + 23, + n0, + _MTGPTE, + 0, + MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_INPUT, + MODIFY_TRANSIT_GATEWAY_POLICY_TABLE_ENTRY_OUTPUT, + (), +) + +MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT: StaticSchema = ( + 18, + n0, + _MTGPLRI, + {_sSI: _cMTGPLRR, _sm: None}, + (_TGRTI, _PLI, _TGAI, _Bl, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT: StaticSchema = ( + 18, + n0, + _MTGPLRO, + {_sSI: _cMTGPLRRo, _smit: None}, + (_TGPLR,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE, + {_aQN: _TGPLR, _sN: _tGPLR}, + ), + ), +) + +MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE: StaticOperationSchema = ( + 23, + n0, + _MTGPLR, + 0, + MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_INPUT, + MODIFY_TRANSIT_GATEWAY_PREFIX_LIST_REFERENCE_OUTPUT, + (), +) + +MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS: StaticSchema = ( + 18, + n0, + _MTGVARO, + 0, + (_DS, _SGRS, _IS, _AMSp), + ( + (lambda: schemas.DNS_SUPPORT_VALUE, 0), + (lambda: schemas.SECURITY_GROUP_REFERENCING_SUPPORT_VALUE, 0), + (lambda: schemas.IPV6_SUPPORT_VALUE, 0), + (lambda: schemas.APPLIANCE_MODE_SUPPORT_VALUE, 0), + ), +) + +MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _MTGVAI, + {_sSI: _cMTGVAR, _sm: None}, + (_TGAI, _ASId, _RSIe, _O, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_SUBNET_ID_LIST, 0), + (lambda: schemas.TRANSIT_GATEWAY_SUBNET_ID_LIST, 0), + (MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_REQUEST_OPTIONS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _MTGVAO, + {_sSI: _cMTGVARo, _smit: None}, + (_TGVA,), + ((lambda: schemas.TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), +) + +MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _MTGVA, + 0, + MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, + MODIFY_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, + (), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE: StaticSchema = ( + 18, + n0, + _MVAEPR, + 0, + (_FP, _TP), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST: StaticSchema = ( + 16, + n0, + _MVAEPRL, + 0, + (_me,), + ((MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE, {_sN: _i}),), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS: StaticSchema = ( + 18, + n0, + _MVAECO, + 0, + (_PRo,), + ((MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}),), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST: StaticSchema = ( + 16, + n0, + _MVAESIL, + 0, + (_me,), + ((lambda: schemas.SUBNET_ID, {_sN: _i}),), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS: StaticSchema = ( + 18, + n0, + _MVAELBO, + 0, + (_SI, _P, _Po, _PRo), + ( + (MODIFY_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + (MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), + ), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS: StaticSchema = ( + 18, + n0, + _MVAEEO, + 0, + (_P, _Po, _PRo), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PROTOCOL, 0), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + (MODIFY_VERIFIED_ACCESS_ENDPOINT_PORT_RANGE_LIST, {_sN: _PR}), + ), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS: StaticSchema = ( + 18, + n0, + _MVAERO, + 0, + (_SI, _Po, _REd), + ( + (MODIFY_VERIFIED_ACCESS_ENDPOINT_SUBNET_ID_LIST, {_sN: _SIu}), + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_PORT_NUMBER, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _MVAEI, + {_sSI: _cMVAER, _sm: None}, + (_VAEI, _VAGI, _LBO, _NIO, _Des, _CTl, _DR, _ROd, _COi), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_ID, 1), + (lambda: schemas.VERIFIED_ACCESS_GROUP_ID, 0), + (MODIFY_VERIFIED_ACCESS_ENDPOINT_LOAD_BALANCER_OPTIONS, 0), + (MODIFY_VERIFIED_ACCESS_ENDPOINT_ENI_OPTIONS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (MODIFY_VERIFIED_ACCESS_ENDPOINT_RDS_OPTIONS, 0), + (MODIFY_VERIFIED_ACCESS_ENDPOINT_CIDR_OPTIONS, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _MVAEO, + {_sSI: _cMVAERo, _smit: None}, + (_VAE,), + ((lambda: schemas.VERIFIED_ACCESS_ENDPOINT, {_aQN: _VAE, _sN: _vAE}),), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _MVAE, + 0, + MODIFY_VERIFIED_ACCESS_ENDPOINT_INPUT, + MODIFY_VERIFIED_ACCESS_ENDPOINT_OUTPUT, + (), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _MVAEPI, + {_sSI: _cMVAEPR, _sm: None}, + (_VAEI, _PEo, _PDo, _CTl, _DR, _SSs), + ( + (lambda: schemas.VERIFIED_ACCESS_ENDPOINT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _MVAEPO, + {_sSI: _cMVAEPRo, _smit: None}, + (_PEo, _PDo, _SSs), + ( + (lambda: schemas.BOOLEAN, {_aQN: _PEo, _sN: _pEo}), + (lambda: schemas.STRING, {_aQN: _PDo, _sN: _pDo}), + ( + lambda: schemas.VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, + {_aQN: _SSs, _sN: _sSs}, + ), + ), +) + +MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY: StaticOperationSchema = ( + 23, + n0, + _MVAEP, + 0, + MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_INPUT, + MODIFY_VERIFIED_ACCESS_ENDPOINT_POLICY_OUTPUT, + (), +) + +MODIFY_VERIFIED_ACCESS_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _MVAGI, + {_sSI: _cMVAGR, _sm: None}, + (_VAGI, _VAII, _Des, _CTl, _DR), + ( + (lambda: schemas.VERIFIED_ACCESS_GROUP_ID, 1), + (lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _MVAGO, + {_sSI: _cMVAGRo, _smit: None}, + (_VAG,), + ((lambda: schemas.VERIFIED_ACCESS_GROUP, {_aQN: _VAG, _sN: _vAG}),), +) + +MODIFY_VERIFIED_ACCESS_GROUP: StaticOperationSchema = ( + 23, + n0, + _MVAG, + 0, + MODIFY_VERIFIED_ACCESS_GROUP_INPUT, + MODIFY_VERIFIED_ACCESS_GROUP_OUTPUT, + (), +) + +MODIFY_VERIFIED_ACCESS_GROUP_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _MVAGPI, + {_sSI: _cMVAGPR, _sm: None}, + (_VAGI, _PEo, _PDo, _CTl, _DR, _SSs), + ( + (lambda: schemas.VERIFIED_ACCESS_GROUP_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _MVAGPO, + {_sSI: _cMVAGPRo, _smit: None}, + (_PEo, _PDo, _SSs), + ( + (lambda: schemas.BOOLEAN, {_aQN: _PEo, _sN: _pEo}), + (lambda: schemas.STRING, {_aQN: _PDo, _sN: _pDo}), + ( + lambda: schemas.VERIFIED_ACCESS_SSE_SPECIFICATION_RESPONSE, + {_aQN: _SSs, _sN: _sSs}, + ), + ), +) + +MODIFY_VERIFIED_ACCESS_GROUP_POLICY: StaticOperationSchema = ( + 23, + n0, + _MVAGP, + 0, + MODIFY_VERIFIED_ACCESS_GROUP_POLICY_INPUT, + MODIFY_VERIFIED_ACCESS_GROUP_POLICY_OUTPUT, + (), +) + +MODIFY_VERIFIED_ACCESS_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _MVAII, + {_sSI: _cMVAIR, _sm: None}, + (_VAII, _Des, _DR, _CTl, _CECSD), + ( + (lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _MVAIO, + {_sSI: _cMVAIRo, _smit: None}, + (_VAI,), + ((lambda: schemas.VERIFIED_ACCESS_INSTANCE, {_aQN: _VAI, _sN: _vAI}),), +) + +MODIFY_VERIFIED_ACCESS_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _MVAI, + 0, + MODIFY_VERIFIED_ACCESS_INSTANCE_INPUT, + MODIFY_VERIFIED_ACCESS_INSTANCE_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_48.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_48.py new file mode 100644 index 000000000..c4933d9ca --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_48.py @@ -0,0 +1,1549 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_DR = "DryRun" +_PI = "PublicIp" +_pI = "publicIp" +_AI = "AllocationId" +_aI = "allocationId" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_IC = "InstanceCount" +_TGI = "TransitGatewayId" +_Me = "Message" +_Sta = "Status" +_sta = "status" +_VI = "VpcId" +_vI = "vpcId" +_VEI = "VpcEndpointId" +_SIe = "ServiceId" +_dRr = "dryRun" +_VPCI = "VpcPeeringConnectionId" +_ADRFRV = "AllowDnsResolutionFromRemoteVpc" +_aDRFRV = "allowDnsResolutionFromRemoteVpc" +_AEFLCLTRV = "AllowEgressFromLocalClassicLinkToRemoteVpc" +_aEFLCLTRV = "allowEgressFromLocalClassicLinkToRemoteVpc" +_AEFLVTRCL = "AllowEgressFromLocalVpcToRemoteClassicLink" +_aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink" +_Ci = "Cidr" +_II = "InstanceId" +_iI = "instanceId" +_VC = "VpnConnection" +_vC = "vpnConnection" +_Mo = "Mode" +_PEA = "Phase1EncryptionAlgorithm" +_PEAh = "Phase2EncryptionAlgorithm" +_PIA = "Phase1IntegrityAlgorithm" +_PIAh = "Phase2IntegrityAlgorithm" +_APS = "AddedPrincipalSet" +_Des = "Description" +_NBG = "NetworkBorderGroup" +_Asn = "Asn" +_IPI = "IpamPoolId" +_BC = "ByoipCidr" +_bC = "byoipCidr" +_def = "default" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_IIn = "InstanceIds" +_sU = "smithy.api#Unit" +_IIp = "IpamId" +_VAII = "VerifiedAccessInstanceId" +_VATPI = "VerifiedAccessTrustProviderId" +_DO = "DeviceOptions" +_PSKU = "PublicSigningKeyUrl" +_NAOO = "NativeApplicationOidcOptions" +_PSKE = "PublicSigningKeyEndpoint" +_Is = "Issuer" +_AE = "AuthorizationEndpoint" +_TE = "TokenEndpoint" +_UIEs = "UserInfoEndpoint" +_CIl = "ClientId" +_Sc = "Scope" +_smith = "smithy.api#sensitive" +_OO = "OidcOptions" +_CSl = "ClientSecret" +_VATPe = "VerifiedAccessTrustProvider" +_SSs = "SseSpecification" +_vATP = "verifiedAccessTrustProvider" +_VIo = "VolumeId" +_VGI = "VpnGatewayId" +_Pre = "Prefix" +_S_ = "S3" +_iC = "instanceCount" +_VT = "VolumeType" +_Io = "Iops" +_Si = "Size" +_MAE = "MultiAttachEnabled" +_Th = "Throughput" +_SCRI = "SourceCapacityReservationId" +_SCR = "SourceCapacityReservation" +_sCR = "sourceCapacityReservation" +_DCR = "DestinationCapacityReservation" +_dCR = "destinationCapacityReservation" +_Ena = "Enabled" +_CGIu = "CustomerGatewayId" +_IGBM = "InternetGatewayBlockMode" +_VECI = "VpcEncryptionControlId" +_VEC = "VpcEncryptionControl" +_ITnst = "InstanceTenancy" +_IAT = "IpAddressType" +_PAu = "PubliclyAdvertisable" +_Mon = "Monitoring" +_monit = "monitoring" +_vEI = "vpcEndpointId" +_PDNr = "PrivateDnsName" +_PDo = "PolicyDocument" +_IGE = "InternetGatewayExclusion" +_EOIGE = "EgressOnlyInternetGatewayExclusion" +_NGE = "NatGatewayExclusion" +_VPGE = "VirtualPrivateGatewayExclusion" +_VPE = "VpcPeeringExclusion" +_LE = "LambdaExclusion" +_VLE = "VpcLatticeExclusion" +_EFSE = "ElasticFileSystemExclusion" +_IGEM = "InternetGatewayExclusionMode" +_VBPAE = "VpcBlockPublicAccessExclusion" +_EIx = "ExclusionId" +_vBPAE = "vpcBlockPublicAccessExclusion" +_vEC = "vpcEncryptionControl" +_SCu = "SubnetConfiguration" +_DOn = "DnsOptions" +_PDE = "PrivateDnsEnabled" +_SCub = "SubnetConfigurations" +_PRSay = "PayerResponsibilitySet" +_PRa = "PayerResponsibilities" +_pRSa = "payerResponsibilitySet" +_CNAon = "ConnectionNotificationArn" +_CEo = "ConnectionEvents" +_CNIo = "ConnectionNotificationId" +_ARc = "AcceptanceRequired" +_PRay = "PayerResponsibility" +_TICu = "TunnelInsideCidr" +_TIIC = "TunnelInsideIpv6Cidr" +_PSK = "PreSharedKey" +_PLSh = "Phase1LifetimeSeconds" +_PLSha = "Phase2LifetimeSeconds" +_RMTS = "RekeyMarginTimeSeconds" +_RFP = "RekeyFuzzPercentage" +_RWS = "ReplayWindowSize" +_DPDTS = "DPDTimeoutSeconds" +_DPDTA = "DPDTimeoutAction" +_PEAha = "Phase1EncryptionAlgorithms" +_PEAhas = "Phase2EncryptionAlgorithms" +_PIAha = "Phase1IntegrityAlgorithms" +_PIAhas = "Phase2IntegrityAlgorithms" +_PDHGN = "Phase1DHGroupNumbers" +_PDHGNh = "Phase1DHGroupNumber" +_PDHGNha = "Phase2DHGroupNumbers" +_PDHGNhas = "Phase2DHGroupNumber" +_IKEV = "IKEVersions" +_IKEVe = "IKEVersion" +_SAt = "StartupAction" +_LO = "LogOptions" +_ETLC = "EnableTunnelLifecycleControl" +_TO = "TunnelOptions" +_LINC = "LocalIpv4NetworkCidr" +_RINC = "RemoteIpv4NetworkCidr" +_LINCo = "LocalIpv6NetworkCidr" +_RINCe = "RemoteIpv6NetworkCidr" +_TB = "TunnelBandwidth" +_PSKS = "PreSharedKeyStorage" +_VCIp = "VpnConnectionId" +_RV = "ReturnValue" +_By = "Byoasn" +_by = "byoasn" +_ISnst = "InstancesSet" +_iSns = "instancesSet" +_LGog = "LogGroup" +_DSeliv = "DeliveryStream" +_BN = "BucketName" +_BOu = "BucketOwner" +_CWL = "CloudWatchLogs" +_KDF = "KinesisDataFirehose" +_LVo = "LogVersion" +_ITCn = "IncludeTrustContext" +_ALc = "AccessLogs" +_AEIO = "AutoEnableIO" +_VM = "VolumeModification" +_EDH = "EnableDnsHostnames" +_EDS = "EnableDnsSupport" +_ENAUM = "EnableNetworkAddressUsageMetrics" +_VBPAO = "VpcBlockPublicAccessOptions" +_vBPAO = "vpcBlockPublicAccessOptions" +_VTOIA = "VpnTunnelOutsideIpAddress" +_ASId = "AddSubnetIds" +_RSIe = "RemoveSubnetIds" +_VALCWLDO = "VerifiedAccessLogCloudWatchLogsDestinationOptions" +_VALKDFDO = "VerifiedAccessLogKinesisDataFirehoseDestinationOptions" +_VALSDO = "VerifiedAccessLogS3DestinationOptions" +_VALO = "VerifiedAccessLogOptions" +_MVAILCI = "ModifyVerifiedAccessInstanceLoggingConfigurationInput" +_cMVAILCR = "com.amazonaws.ec2#ModifyVerifiedAccessInstanceLoggingConfigurationRequest" +_MVAILCO = "ModifyVerifiedAccessInstanceLoggingConfigurationOutput" +_cMVAILCRo = "com.amazonaws.ec2#ModifyVerifiedAccessInstanceLoggingConfigurationResult" +_LCog = "LoggingConfiguration" +_lC = "loggingConfiguration" +_MVAILC = "ModifyVerifiedAccessInstanceLoggingConfiguration" +_MVATPDO = "ModifyVerifiedAccessTrustProviderDeviceOptions" +_MVANAOO = "ModifyVerifiedAccessNativeApplicationOidcOptions" +_MVATPOO = "ModifyVerifiedAccessTrustProviderOidcOptions" +_MVATPI = "ModifyVerifiedAccessTrustProviderInput" +_cMVATPR = "com.amazonaws.ec2#ModifyVerifiedAccessTrustProviderRequest" +_MVATPO = "ModifyVerifiedAccessTrustProviderOutput" +_cMVATPRo = "com.amazonaws.ec2#ModifyVerifiedAccessTrustProviderResult" +_MVATP = "ModifyVerifiedAccessTrustProvider" +_MVI = "ModifyVolumeInput" +_cMVR = "com.amazonaws.ec2#ModifyVolumeRequest" +_MVO = "ModifyVolumeOutput" +_cMVRo = "com.amazonaws.ec2#ModifyVolumeResult" +_vM = "volumeModification" +_MVo = "ModifyVolume" +_MVAIo = "ModifyVolumeAttributeInput" +_cMVAR = "com.amazonaws.ec2#ModifyVolumeAttributeRequest" +_MVAO = "ModifyVolumeAttributeOutput" +_MVA = "ModifyVolumeAttribute" +_MVAIod = "ModifyVpcAttributeInput" +_cMVARo = "com.amazonaws.ec2#ModifyVpcAttributeRequest" +_MVAOo = "ModifyVpcAttributeOutput" +_MVAo = "ModifyVpcAttribute" +_MVBPAEI = "ModifyVpcBlockPublicAccessExclusionInput" +_cMVBPAER = "com.amazonaws.ec2#ModifyVpcBlockPublicAccessExclusionRequest" +_MVBPAEO = "ModifyVpcBlockPublicAccessExclusionOutput" +_cMVBPAERo = "com.amazonaws.ec2#ModifyVpcBlockPublicAccessExclusionResult" +_MVBPAE = "ModifyVpcBlockPublicAccessExclusion" +_MVBPAOI = "ModifyVpcBlockPublicAccessOptionsInput" +_cMVBPAOR = "com.amazonaws.ec2#ModifyVpcBlockPublicAccessOptionsRequest" +_MVBPAOO = "ModifyVpcBlockPublicAccessOptionsOutput" +_cMVBPAORo = "com.amazonaws.ec2#ModifyVpcBlockPublicAccessOptionsResult" +_MVBPAO = "ModifyVpcBlockPublicAccessOptions" +_MVECI = "ModifyVpcEncryptionControlInput" +_cMVECR = "com.amazonaws.ec2#ModifyVpcEncryptionControlRequest" +_MVECO = "ModifyVpcEncryptionControlOutput" +_cMVECRo = "com.amazonaws.ec2#ModifyVpcEncryptionControlResult" +_MVEC = "ModifyVpcEncryptionControl" +_MVEI = "ModifyVpcEndpointInput" +_cMVER = "com.amazonaws.ec2#ModifyVpcEndpointRequest" +_RP = "ResetPolicy" +_ARTId = "AddRouteTableIds" +_ARTIdd = "AddRouteTableId" +_RRTI = "RemoveRouteTableIds" +_RRTIe = "RemoveRouteTableId" +_ASIdd = "AddSubnetId" +_RSIem = "RemoveSubnetId" +_ASGId = "AddSecurityGroupIds" +_ASGIdd = "AddSecurityGroupId" +_RSGI = "RemoveSecurityGroupIds" +_RSGIe = "RemoveSecurityGroupId" +_MVEO = "ModifyVpcEndpointOutput" +_cMVERo = "com.amazonaws.ec2#ModifyVpcEndpointResult" +_MVEo = "ModifyVpcEndpoint" +_MVECNI = "ModifyVpcEndpointConnectionNotificationInput" +_cMVECNR = "com.amazonaws.ec2#ModifyVpcEndpointConnectionNotificationRequest" +_MVECNO = "ModifyVpcEndpointConnectionNotificationOutput" +_cMVECNRo = "com.amazonaws.ec2#ModifyVpcEndpointConnectionNotificationResult" +_MVECN = "ModifyVpcEndpointConnectionNotification" +_MVEPRI = "ModifyVpcEndpointPayerResponsibilityInput" +_cMVEPRR = "com.amazonaws.ec2#ModifyVpcEndpointPayerResponsibilityRequest" +_MVEPRO = "ModifyVpcEndpointPayerResponsibilityOutput" +_cMVEPRRo = "com.amazonaws.ec2#ModifyVpcEndpointPayerResponsibilityResult" +_MVEPR = "ModifyVpcEndpointPayerResponsibility" +_MVESCI = "ModifyVpcEndpointServiceConfigurationInput" +_cMVESCR = "com.amazonaws.ec2#ModifyVpcEndpointServiceConfigurationRequest" +_RPDN = "RemovePrivateDnsName" +_ANLBA = "AddNetworkLoadBalancerArns" +_ANLBAd = "AddNetworkLoadBalancerArn" +_RNLBA = "RemoveNetworkLoadBalancerArns" +_RNLBAe = "RemoveNetworkLoadBalancerArn" +_AGLBA = "AddGatewayLoadBalancerArns" +_AGLBAd = "AddGatewayLoadBalancerArn" +_RGLBA = "RemoveGatewayLoadBalancerArns" +_RGLBAe = "RemoveGatewayLoadBalancerArn" +_ASIAT = "AddSupportedIpAddressTypes" +_ASIATd = "AddSupportedIpAddressType" +_RSIAT = "RemoveSupportedIpAddressTypes" +_RSIATe = "RemoveSupportedIpAddressType" +_ASRd = "AddSupportedRegions" +_ASRdd = "AddSupportedRegion" +_RSRe = "RemoveSupportedRegions" +_RSRem = "RemoveSupportedRegion" +_MVESCO = "ModifyVpcEndpointServiceConfigurationOutput" +_cMVESCRo = "com.amazonaws.ec2#ModifyVpcEndpointServiceConfigurationResult" +_MVESC = "ModifyVpcEndpointServiceConfiguration" +_MVESPRI = "ModifyVpcEndpointServicePayerResponsibilityInput" +_cMVESPRR = "com.amazonaws.ec2#ModifyVpcEndpointServicePayerResponsibilityRequest" +_MVESPRO = "ModifyVpcEndpointServicePayerResponsibilityOutput" +_cMVESPRRo = "com.amazonaws.ec2#ModifyVpcEndpointServicePayerResponsibilityResult" +_MVESPR = "ModifyVpcEndpointServicePayerResponsibility" +_MVESPI = "ModifyVpcEndpointServicePermissionsInput" +_cMVESPR = "com.amazonaws.ec2#ModifyVpcEndpointServicePermissionsRequest" +_AAP = "AddAllowedPrincipals" +_RAP = "RemoveAllowedPrincipals" +_MVESPO = "ModifyVpcEndpointServicePermissionsOutput" +_cMVESPRo = "com.amazonaws.ec2#ModifyVpcEndpointServicePermissionsResult" +_APd = "AddedPrincipals" +_aPSd = "addedPrincipalSet" +_MVESP = "ModifyVpcEndpointServicePermissions" +_PCOR = "PeeringConnectionOptionsRequest" +_MVPCOI = "ModifyVpcPeeringConnectionOptionsInput" +_cMVPCOR = "com.amazonaws.ec2#ModifyVpcPeeringConnectionOptionsRequest" +_APCO = "AccepterPeeringConnectionOptions" +_RPCO = "RequesterPeeringConnectionOptions" +_PCOe = "PeeringConnectionOptions" +_MVPCOO = "ModifyVpcPeeringConnectionOptionsOutput" +_cMVPCORo = "com.amazonaws.ec2#ModifyVpcPeeringConnectionOptionsResult" +_aPCO = "accepterPeeringConnectionOptions" +_rPCO = "requesterPeeringConnectionOptions" +_MVPCO = "ModifyVpcPeeringConnectionOptions" +_VTp = "VpcTenancy" +_MVTI = "ModifyVpcTenancyInput" +_cMVTR = "com.amazonaws.ec2#ModifyVpcTenancyRequest" +_MVTO = "ModifyVpcTenancyOutput" +_cMVTRo = "com.amazonaws.ec2#ModifyVpcTenancyResult" +_MVT = "ModifyVpcTenancy" +_MVCI = "ModifyVpnConnectionInput" +_cMVCR = "com.amazonaws.ec2#ModifyVpnConnectionRequest" +_MVCO = "ModifyVpnConnectionOutput" +_cMVCRo = "com.amazonaws.ec2#ModifyVpnConnectionResult" +_MVC = "ModifyVpnConnection" +_MVCOI = "ModifyVpnConnectionOptionsInput" +_cMVCOR = "com.amazonaws.ec2#ModifyVpnConnectionOptionsRequest" +_MVCOO = "ModifyVpnConnectionOptionsOutput" +_cMVCORo = "com.amazonaws.ec2#ModifyVpnConnectionOptionsResult" +_MVCOo = "ModifyVpnConnectionOptions" +_MVTCI = "ModifyVpnTunnelCertificateInput" +_cMVTCR = "com.amazonaws.ec2#ModifyVpnTunnelCertificateRequest" +_MVTCO = "ModifyVpnTunnelCertificateOutput" +_cMVTCRo = "com.amazonaws.ec2#ModifyVpnTunnelCertificateResult" +_MVTC = "ModifyVpnTunnelCertificate" +_MVTOS = "ModifyVpnTunnelOptionsSpecification" +_MVTOI = "ModifyVpnTunnelOptionsInput" +_cMVTOR = "com.amazonaws.ec2#ModifyVpnTunnelOptionsRequest" +_STRk = "SkipTunnelReplacement" +_MVTOO = "ModifyVpnTunnelOptionsOutput" +_cMVTORo = "com.amazonaws.ec2#ModifyVpnTunnelOptionsResult" +_MVTOo = "ModifyVpnTunnelOptions" +_MIIo = "MonitorInstancesInput" +_cMIRom = "com.amazonaws.ec2#MonitorInstancesRequest" +_IMns = "InstanceMonitoring" +_IML = "InstanceMonitoringList" +_MIOo = "MonitorInstancesOutput" +_cMIRoma = "com.amazonaws.ec2#MonitorInstancesResult" +_IMnst = "InstanceMonitorings" +_MIon = "MonitorInstances" +_MATVI = "MoveAddressToVpcInput" +_cMATVR = "com.amazonaws.ec2#MoveAddressToVpcRequest" +_mIP = "moveInProgress" +_MIPov = "MoveInProgress" +_iVn = "inVpc" +_IVn = "InVpc" +_iCnl = "inClassic" +_ICnl = "InClassic" +_MATVO = "MoveAddressToVpcOutput" +_cMATVRo = "com.amazonaws.ec2#MoveAddressToVpcResult" +_MATV = "MoveAddressToVpc" +_MBCTII = "MoveByoipCidrToIpamInput" +_cMBCTIR = "com.amazonaws.ec2#MoveByoipCidrToIpamRequest" +_IPO = "IpamPoolOwner" +_MBCTIO = "MoveByoipCidrToIpamOutput" +_cMBCTIRo = "com.amazonaws.ec2#MoveByoipCidrToIpamResult" +_MBCTI = "MoveByoipCidrToIpam" +_MCRII = "MoveCapacityReservationInstancesInput" +_cMCRIR = "com.amazonaws.ec2#MoveCapacityReservationInstancesRequest" +_DCRIe = "DestinationCapacityReservationId" +_MCRIO = "MoveCapacityReservationInstancesOutput" +_cMCRIRo = "com.amazonaws.ec2#MoveCapacityReservationInstancesResult" +_MCRIo = "MoveCapacityReservationInstances" +_CAC = "CidrAuthorizationContext" +_Sig = "Signature" +_PBCI = "ProvisionByoipCidrInput" +_cPBCR = "com.amazonaws.ec2#ProvisionByoipCidrRequest" +_PTS = "PoolTagSpecifications" +_PTSo = "PoolTagSpecification" +_MRu = "MultiRegion" +_PBCO = "ProvisionByoipCidrOutput" +_cPBCRo = "com.amazonaws.ec2#ProvisionByoipCidrResult" +_PBC = "ProvisionByoipCidr" +_AACs = "AsnAuthorizationContext" +_PIBI = "ProvisionIpamByoasnInput" +_cPIBR = "com.amazonaws.ec2#ProvisionIpamByoasnRequest" +_PIBO = "ProvisionIpamByoasnOutput" +_cPIBRo = "com.amazonaws.ec2#ProvisionIpamByoasnResult" +_PIB = "ProvisionIpamByoasn" +_ICAC = "IpamCidrAuthorizationContext" +_VMe = "VerificationMethod" +_rx__________________________________ = "remarks_x509" +_rx___________________________________ = "remarks-x509" +_dt_ = "dns_token" +_dt__ = "dns-token" + +VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION_OPTIONS: StaticSchema = ( + 18, + n0, + _VALCWLDO, + 0, + (_Ena, _LGog), + ((lambda: schemas.BOOLEAN, 1), (lambda: schemas.STRING, 0)), +) + +VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION_OPTIONS: StaticSchema = ( + 18, + n0, + _VALKDFDO, + 0, + (_Ena, _DSeliv), + ((lambda: schemas.BOOLEAN, 1), (lambda: schemas.STRING, 0)), +) + +VERIFIED_ACCESS_LOG_S3_DESTINATION_OPTIONS: StaticSchema = ( + 18, + n0, + _VALSDO, + 0, + (_Ena, _BN, _Pre, _BOu), + ( + (lambda: schemas.BOOLEAN, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +VERIFIED_ACCESS_LOG_OPTIONS: StaticSchema = ( + 18, + n0, + _VALO, + 0, + (_S_, _CWL, _KDF, _LVo, _ITCn), + ( + (VERIFIED_ACCESS_LOG_S3_DESTINATION_OPTIONS, 0), + (VERIFIED_ACCESS_LOG_CLOUD_WATCH_LOGS_DESTINATION_OPTIONS, 0), + (VERIFIED_ACCESS_LOG_KINESIS_DATA_FIREHOSE_DESTINATION_OPTIONS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _MVAILCI, + {_sSI: _cMVAILCR, _sm: None}, + (_VAII, _ALc, _DR, _CTl), + ( + (lambda: schemas.VERIFIED_ACCESS_INSTANCE_ID, 1), + (VERIFIED_ACCESS_LOG_OPTIONS, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MVAILCO, + {_sSI: _cMVAILCRo, _smit: None}, + (_LCog,), + ( + ( + lambda: schemas.VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION, + {_aQN: _LCog, _sN: _lC}, + ), + ), +) + +MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _MVAILC, + 0, + MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_INPUT, + MODIFY_VERIFIED_ACCESS_INSTANCE_LOGGING_CONFIGURATION_OUTPUT, + (), +) + +MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS: StaticSchema = ( + 18, + n0, + _MVATPDO, + 0, + (_PSKU,), + ((lambda: schemas.STRING, 0),), +) + +MODIFY_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS: StaticSchema = ( + 18, + n0, + _MVANAOO, + 0, + (_PSKE, _Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CLIENT_SECRET_TYPE, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS: StaticSchema = ( + 18, + n0, + _MVATPOO, + 0, + (_Is, _AE, _TE, _UIEs, _CIl, _CSl, _Sc), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CLIENT_SECRET_TYPE, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _MVATPI, + {_sSI: _cMVATPR, _sm: None}, + (_VATPI, _OO, _DO, _Des, _DR, _CTl, _SSs, _NAOO), + ( + (lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER_ID, 1), + (MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OIDC_OPTIONS, 0), + (MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_DEVICE_OPTIONS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.VERIFIED_ACCESS_SSE_SPECIFICATION_REQUEST, 0), + (MODIFY_VERIFIED_ACCESS_NATIVE_APPLICATION_OIDC_OPTIONS, 0), + ), +) + +MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _MVATPO, + {_sSI: _cMVATPRo, _smit: None}, + (_VATPe,), + ((lambda: schemas.VERIFIED_ACCESS_TRUST_PROVIDER, {_aQN: _VATPe, _sN: _vATP}),), +) + +MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _MVATP, + 0, + MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_INPUT, + MODIFY_VERIFIED_ACCESS_TRUST_PROVIDER_OUTPUT, + (), +) + +MODIFY_VOLUME_INPUT: StaticSchema = ( + 18, + n0, + _MVI, + {_sSI: _cMVR, _sm: None}, + (_DR, _VIo, _Si, _VT, _Io, _Th, _MAE), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VOLUME_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.VOLUME_TYPE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_VOLUME_OUTPUT: StaticSchema = ( + 18, + n0, + _MVO, + {_sSI: _cMVRo, _smit: None}, + (_VM,), + ((lambda: schemas.VOLUME_MODIFICATION, {_aQN: _VM, _sN: _vM}),), +) + +MODIFY_VOLUME: StaticOperationSchema = ( + 23, + n0, + _MVo, + 0, + MODIFY_VOLUME_INPUT, + MODIFY_VOLUME_OUTPUT, + (), +) + +MODIFY_VOLUME_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MVAIo, + {_sSI: _cMVAR, _sm: None}, + (_AEIO, _VIo, _DR), + ( + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.VOLUME_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +MODIFY_VOLUME_ATTRIBUTE_OUTPUT: StaticSchema = (18, n0, _MVAO, {_sSI: _sU, _smit: None}) + +MODIFY_VOLUME_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MVA, + 0, + MODIFY_VOLUME_ATTRIBUTE_INPUT, + MODIFY_VOLUME_ATTRIBUTE_OUTPUT, + (), +) + +MODIFY_VPC_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MVAIod, + {_sSI: _cMVARo, _sm: None}, + (_EDH, _EDS, _VI, _ENAUM), + ( + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI, _smi: None}), + (lambda: schemas.ATTRIBUTE_BOOLEAN_VALUE, 0), + ), +) + +MODIFY_VPC_ATTRIBUTE_OUTPUT: StaticSchema = (18, n0, _MVAOo, {_sSI: _sU, _smit: None}) + +MODIFY_VPC_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MVAo, + 0, + MODIFY_VPC_ATTRIBUTE_INPUT, + MODIFY_VPC_ATTRIBUTE_OUTPUT, + (), +) + +MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT: StaticSchema = ( + 18, + n0, + _MVBPAEI, + {_sSI: _cMVBPAER, _sm: None}, + (_DR, _EIx, _IGEM), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_ID, 1), + (lambda: schemas.INTERNET_GATEWAY_EXCLUSION_MODE, 1), + ), +) + +MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT: StaticSchema = ( + 18, + n0, + _MVBPAEO, + {_sSI: _cMVBPAERo, _smit: None}, + (_VBPAE,), + ((lambda: schemas.VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION, {_aQN: _VBPAE, _sN: _vBPAE}),), +) + +MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION: StaticOperationSchema = ( + 23, + n0, + _MVBPAE, + 0, + MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_INPUT, + MODIFY_VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION_OUTPUT, + (), +) + +MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MVBPAOI, + {_sSI: _cMVBPAOR, _sm: None}, + (_DR, _IGBM), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.INTERNET_GATEWAY_BLOCK_MODE, 1)), +) + +MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MVBPAOO, + {_sSI: _cMVBPAORo, _smit: None}, + (_VBPAO,), + ((lambda: schemas.VPC_BLOCK_PUBLIC_ACCESS_OPTIONS, {_aQN: _VBPAO, _sN: _vBPAO}),), +) + +MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MVBPAO, + 0, + MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_INPUT, + MODIFY_VPC_BLOCK_PUBLIC_ACCESS_OPTIONS_OUTPUT, + (), +) + +MODIFY_VPC_ENCRYPTION_CONTROL_INPUT: StaticSchema = ( + 18, + n0, + _MVECI, + {_sSI: _cMVECR, _sm: None}, + (_DR, _VECI, _Mo, _IGE, _EOIGE, _NGE, _VPGE, _VPE, _LE, _VLE, _EFSE), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_ID, 1), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_MODE, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT, 0), + ), +) + +MODIFY_VPC_ENCRYPTION_CONTROL_OUTPUT: StaticSchema = ( + 18, + n0, + _MVECO, + {_sSI: _cMVECRo, _smit: None}, + (_VEC,), + ((lambda: schemas.VPC_ENCRYPTION_CONTROL, {_aQN: _VEC, _sN: _vEC}),), +) + +MODIFY_VPC_ENCRYPTION_CONTROL: StaticOperationSchema = ( + 23, + n0, + _MVEC, + 0, + MODIFY_VPC_ENCRYPTION_CONTROL_INPUT, + MODIFY_VPC_ENCRYPTION_CONTROL_OUTPUT, + (), +) + +MODIFY_VPC_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _MVEI, + {_sSI: _cMVER, _sm: None}, + ( + _DR, + _VEI, + _RP, + _PDo, + _ARTId, + _RRTI, + _ASId, + _RSIe, + _ASGId, + _RSGI, + _IAT, + _DOn, + _PDE, + _SCub, + ), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VPC_ENDPOINT_ROUTE_TABLE_ID_LIST, {_sN: _ARTIdd}), + (lambda: schemas.VPC_ENDPOINT_ROUTE_TABLE_ID_LIST, {_sN: _RRTIe}), + (lambda: schemas.VPC_ENDPOINT_SUBNET_ID_LIST, {_sN: _ASIdd}), + (lambda: schemas.VPC_ENDPOINT_SUBNET_ID_LIST, {_sN: _RSIem}), + (lambda: schemas.VPC_ENDPOINT_SECURITY_GROUP_ID_LIST, {_sN: _ASGIdd}), + (lambda: schemas.VPC_ENDPOINT_SECURITY_GROUP_ID_LIST, {_sN: _RSGIe}), + (lambda: schemas.IP_ADDRESS_TYPE, 0), + (lambda: schemas.DNS_OPTIONS_SPECIFICATION, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SUBNET_CONFIGURATIONS_LIST, {_sN: _SCu}), + ), +) + +MODIFY_VPC_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _MVEO, + {_sSI: _cMVERo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_VPC_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _MVEo, + 0, + MODIFY_VPC_ENDPOINT_INPUT, + MODIFY_VPC_ENDPOINT_OUTPUT, + (), +) + +MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT: StaticSchema = ( + 18, + n0, + _MVECNI, + {_sSI: _cMVECNR, _sm: None}, + (_DR, _CNIo, _CNAon, _CEo), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.CONNECTION_NOTIFICATION_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.VALUE_STRING_LIST, 0), + ), +) + +MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MVECNO, + {_sSI: _cMVECNRo, _smit: None}, + (_RV,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION: StaticOperationSchema = ( + 23, + n0, + _MVECN, + 0, + MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_INPUT, + MODIFY_VPC_ENDPOINT_CONNECTION_NOTIFICATION_OUTPUT, + (), +) + +MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_INPUT: StaticSchema = ( + 18, + n0, + _MVEPRI, + {_sSI: _cMVEPRR, _sm: None}, + (_DR, _SIe, _VEI, _PRay, _Sc), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_SERVICE_ID, 0), + (lambda: schemas.VPC_ENDPOINT_ID, 1), + (lambda: schemas.PAYER_RESPONSIBILITY_TYPE, 1), + (lambda: schemas.PAYER_RESPONSIBILITY_SCOPE, 1), + ), +) + +MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_OUTPUT: StaticSchema = ( + 18, + n0, + _MVEPRO, + {_sSI: _cMVEPRRo, _smit: None}, + (_VEI, _PRa), + ( + (lambda: schemas.STRING, {_aQN: _VEI, _sN: _vEI}), + (lambda: schemas.PAYER_RESPONSIBILITY_SET, {_aQN: _PRSay, _sN: _pRSa}), + ), +) + +MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY: StaticOperationSchema = ( + 23, + n0, + _MVEPR, + 0, + MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_INPUT, + MODIFY_VPC_ENDPOINT_PAYER_RESPONSIBILITY_OUTPUT, + (), +) + +MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _MVESCI, + {_sSI: _cMVESCR, _sm: None}, + ( + _DR, + _SIe, + _PDNr, + _RPDN, + _ARc, + _ANLBA, + _RNLBA, + _AGLBA, + _RGLBA, + _ASIAT, + _RSIAT, + _ASRd, + _RSRe, + ), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_SERVICE_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _ANLBAd}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _RNLBAe}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _AGLBAd}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _RGLBAe}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _ASIATd}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _RSIATe}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _ASRdd}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _RSRem}), + ), +) + +MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MVESCO, + {_sSI: _cMVESCRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _MVESC, + 0, + MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_INPUT, + MODIFY_VPC_ENDPOINT_SERVICE_CONFIGURATION_OUTPUT, + (), +) + +MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_INPUT: StaticSchema = ( + 18, + n0, + _MVESPRI, + {_sSI: _cMVESPRR, _sm: None}, + (_DR, _SIe, _PRay), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_SERVICE_ID, 1), + (lambda: schemas.PAYER_RESPONSIBILITY, 1), + ), +) + +MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_OUTPUT: StaticSchema = ( + 18, + n0, + _MVESPRO, + {_sSI: _cMVESPRRo, _smit: None}, + (_RV,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY: StaticOperationSchema = ( + 23, + n0, + _MVESPR, + 0, + MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_INPUT, + MODIFY_VPC_ENDPOINT_SERVICE_PAYER_RESPONSIBILITY_OUTPUT, + (), +) + +MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT: StaticSchema = ( + 18, + n0, + _MVESPI, + {_sSI: _cMVESPR, _sm: None}, + (_DR, _SIe, _AAP, _RAP), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_SERVICE_ID, 1), + (lambda: schemas.VALUE_STRING_LIST, 0), + (lambda: schemas.VALUE_STRING_LIST, 0), + ), +) + +MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MVESPO, + {_sSI: _cMVESPRo, _smit: None}, + (_APd, _RV), + ( + (lambda: schemas.ADDED_PRINCIPAL_SET, {_aQN: _APS, _sN: _aPSd}), + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + ), +) + +MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS: StaticOperationSchema = ( + 23, + n0, + _MVESP, + 0, + MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_INPUT, + MODIFY_VPC_ENDPOINT_SERVICE_PERMISSIONS_OUTPUT, + (), +) + +PEERING_CONNECTION_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _PCOR, + 0, + (_ADRFRV, _AEFLCLTRV, _AEFLVTRCL), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_VPC_PEERING_CONNECTION_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MVPCOI, + {_sSI: _cMVPCOR, _sm: None}, + (_APCO, _DR, _RPCO, _VPCI), + ( + (PEERING_CONNECTION_OPTIONS_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + (PEERING_CONNECTION_OPTIONS_REQUEST, 0), + (lambda: schemas.VPC_PEERING_CONNECTION_ID, 1), + ), +) + +MODIFY_VPC_PEERING_CONNECTION_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MVPCOO, + {_sSI: _cMVPCORo, _smit: None}, + (_APCO, _RPCO), + ( + (lambda: PEERING_CONNECTION_OPTIONS, {_aQN: _APCO, _sN: _aPCO}), + (lambda: PEERING_CONNECTION_OPTIONS, {_aQN: _RPCO, _sN: _rPCO}), + ), +) + +MODIFY_VPC_PEERING_CONNECTION_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MVPCO, + 0, + MODIFY_VPC_PEERING_CONNECTION_OPTIONS_INPUT, + MODIFY_VPC_PEERING_CONNECTION_OPTIONS_OUTPUT, + (), +) + +PEERING_CONNECTION_OPTIONS: StaticSchema = ( + 18, + n0, + _PCOe, + 0, + (_ADRFRV, _AEFLCLTRV, _AEFLVTRCL), + ( + (lambda: schemas.BOOLEAN, {_aQN: _ADRFRV, _sN: _aDRFRV}), + (lambda: schemas.BOOLEAN, {_aQN: _AEFLCLTRV, _sN: _aEFLCLTRV}), + (lambda: schemas.BOOLEAN, {_aQN: _AEFLVTRCL, _sN: _aEFLVTRCL}), + ), +) + +VPC_TENANCY: StaticSchema = (14, n0, _VTp, 0, (_def,), ((-1, {_sV: _def}),)) + +MODIFY_VPC_TENANCY_INPUT: StaticSchema = ( + 18, + n0, + _MVTI, + {_sSI: _cMVTR, _sm: None}, + (_VI, _ITnst, _DR), + ((lambda: schemas.VPC_ID, 1), (VPC_TENANCY, 1), (lambda: schemas.BOOLEAN, 0)), +) + +MODIFY_VPC_TENANCY_OUTPUT: StaticSchema = ( + 18, + n0, + _MVTO, + {_sSI: _cMVTRo, _smit: None}, + (_RV,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +MODIFY_VPC_TENANCY: StaticOperationSchema = ( + 23, + n0, + _MVT, + 0, + MODIFY_VPC_TENANCY_INPUT, + MODIFY_VPC_TENANCY_OUTPUT, + (), +) + +MODIFY_VPN_CONNECTION_INPUT: StaticSchema = ( + 18, + n0, + _MVCI, + {_sSI: _cMVCR, _sm: None}, + (_VCIp, _TGI, _CGIu, _VGI, _DR), + ( + (lambda: schemas.VPN_CONNECTION_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ID, 0), + (lambda: schemas.CUSTOMER_GATEWAY_ID, 0), + (lambda: schemas.VPN_GATEWAY_ID, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_VPN_CONNECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _MVCO, + {_sSI: _cMVCRo, _smit: None}, + (_VC,), + ((lambda: schemas.VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), +) + +MODIFY_VPN_CONNECTION: StaticOperationSchema = ( + 23, + n0, + _MVC, + 0, + MODIFY_VPN_CONNECTION_INPUT, + MODIFY_VPN_CONNECTION_OUTPUT, + (), +) + +MODIFY_VPN_CONNECTION_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MVCOI, + {_sSI: _cMVCOR, _sm: None}, + (_VCIp, _LINC, _RINC, _LINCo, _RINCe, _TB, _DR), + ( + (lambda: schemas.VPN_CONNECTION_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VPN_TUNNEL_BANDWIDTH, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_VPN_CONNECTION_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MVCOO, + {_sSI: _cMVCORo, _smit: None}, + (_VC,), + ((lambda: schemas.VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), +) + +MODIFY_VPN_CONNECTION_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MVCOo, + 0, + MODIFY_VPN_CONNECTION_OPTIONS_INPUT, + MODIFY_VPN_CONNECTION_OPTIONS_OUTPUT, + (), +) + +MODIFY_VPN_TUNNEL_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _MVTCI, + {_sSI: _cMVTCR, _sm: None}, + (_VCIp, _VTOIA, _DR), + ( + (lambda: schemas.VPN_CONNECTION_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_VPN_TUNNEL_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _MVTCO, + {_sSI: _cMVTCRo, _smit: None}, + (_VC,), + ((lambda: schemas.VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), +) + +MODIFY_VPN_TUNNEL_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _MVTC, + 0, + MODIFY_VPN_TUNNEL_CERTIFICATE_INPUT, + MODIFY_VPN_TUNNEL_CERTIFICATE_OUTPUT, + (), +) + +MODIFY_VPN_TUNNEL_OPTIONS_SPECIFICATION: StaticSchema = ( + 18, + n0, + _MVTOS, + 4, + ( + _TICu, + _TIIC, + _PSK, + _PLSh, + _PLSha, + _RMTS, + _RFP, + _RWS, + _DPDTS, + _DPDTA, + _PEAha, + _PEAhas, + _PIAha, + _PIAhas, + _PDHGN, + _PDHGNha, + _IKEV, + _SAt, + _LO, + _ETLC, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.PRE_SHARED_KEY, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.PHASE1_ENCRYPTION_ALGORITHMS_REQUEST_LIST, {_sN: _PEA}), + (lambda: schemas.PHASE2_ENCRYPTION_ALGORITHMS_REQUEST_LIST, {_sN: _PEAh}), + (lambda: schemas.PHASE1_INTEGRITY_ALGORITHMS_REQUEST_LIST, {_sN: _PIA}), + (lambda: schemas.PHASE2_INTEGRITY_ALGORITHMS_REQUEST_LIST, {_sN: _PIAh}), + (lambda: schemas.PHASE1_DH_GROUP_NUMBERS_REQUEST_LIST, {_sN: _PDHGNh}), + (lambda: schemas.PHASE2_DH_GROUP_NUMBERS_REQUEST_LIST, {_sN: _PDHGNhas}), + (lambda: schemas.IKE_VERSIONS_REQUEST_LIST, {_sN: _IKEVe}), + (lambda: schemas.STRING, 0), + (lambda: schemas.VPN_TUNNEL_LOG_OPTIONS_SPECIFICATION, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_VPN_TUNNEL_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _MVTOI, + {_sSI: _cMVTOR, _sm: None}, + (_VCIp, _VTOIA, _TO, _DR, _STRk, _PSKS), + ( + (lambda: schemas.VPN_CONNECTION_ID, 1), + (lambda: schemas.STRING, 1), + (MODIFY_VPN_TUNNEL_OPTIONS_SPECIFICATION, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_VPN_TUNNEL_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _MVTOO, + {_sSI: _cMVTORo, _smit: None}, + (_VC,), + ((lambda: schemas.VPN_CONNECTION, {_aQN: _VC, _sN: _vC}),), +) + +MODIFY_VPN_TUNNEL_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _MVTOo, + 0, + MODIFY_VPN_TUNNEL_OPTIONS_INPUT, + MODIFY_VPN_TUNNEL_OPTIONS_OUTPUT, + (), +) + +MONITOR_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _MIIo, + {_sSI: _cMIRom, _sm: None}, + (_IIn, _DR), + ( + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +MONITOR_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _MIOo, + {_sSI: _cMIRoma, _smit: None}, + (_IMnst,), + ((lambda: INSTANCE_MONITORING_LIST, {_aQN: _ISnst, _sN: _iSns}),), +) + +MONITOR_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _MIon, + 0, + MONITOR_INSTANCES_INPUT, + MONITOR_INSTANCES_OUTPUT, + (), +) + +INSTANCE_MONITORING: StaticSchema = ( + 18, + n0, + _IMns, + 0, + (_II, _Mon), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.MONITORING, {_aQN: _Mon, _sN: _monit}), + ), +) + +INSTANCE_MONITORING_LIST: StaticSchema = ( + 16, + n0, + _IML, + 0, + (_me,), + ((INSTANCE_MONITORING, {_sN: _i}),), +) + +MOVE_ADDRESS_TO_VPC_INPUT: StaticSchema = ( + 18, + n0, + _MATVI, + {_sSI: _cMATVR, _sm: None}, + (_DR, _PI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.STRING, {_aQN: _PI, _sN: _pI, _smi: None}), + ), +) + +MOVE_ADDRESS_TO_VPC_OUTPUT: StaticSchema = ( + 18, + n0, + _MATVO, + {_sSI: _cMATVRo, _smit: None}, + (_AI, _Sta), + ( + (lambda: schemas.STRING, {_aQN: _AI, _sN: _aI}), + (lambda: STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +MOVE_ADDRESS_TO_VPC: StaticOperationSchema = ( + 23, + n0, + _MATV, + 0, + MOVE_ADDRESS_TO_VPC_INPUT, + MOVE_ADDRESS_TO_VPC_OUTPUT, + (), +) + +STATUS: StaticSchema = ( + 14, + n0, + _Sta, + 0, + (_mIP, _iVn, _iCnl), + ((-1, {_sV: _MIPov}), (-1, {_sV: _IVn}), (-1, {_sV: _ICnl})), +) + +MOVE_BYOIP_CIDR_TO_IPAM_INPUT: StaticSchema = ( + 18, + n0, + _MBCTII, + {_sSI: _cMBCTIR, _sm: None}, + (_DR, _Ci, _IPI, _IPO), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.STRING, 1), + ), +) + +MOVE_BYOIP_CIDR_TO_IPAM_OUTPUT: StaticSchema = ( + 18, + n0, + _MBCTIO, + {_sSI: _cMBCTIRo, _smit: None}, + (_BC,), + ((lambda: schemas.BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), +) + +MOVE_BYOIP_CIDR_TO_IPAM: StaticOperationSchema = ( + 23, + n0, + _MBCTI, + 0, + MOVE_BYOIP_CIDR_TO_IPAM_INPUT, + MOVE_BYOIP_CIDR_TO_IPAM_OUTPUT, + (), +) + +MOVE_CAPACITY_RESERVATION_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _MCRII, + {_sSI: _cMCRIR, _sm: None}, + (_DR, _CTl, _SCRI, _DCRIe, _IC), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.INTEGER, 1), + ), +) + +MOVE_CAPACITY_RESERVATION_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _MCRIO, + {_sSI: _cMCRIRo, _smit: None}, + (_SCR, _DCR, _IC), + ( + (lambda: schemas.CAPACITY_RESERVATION, {_aQN: _SCR, _sN: _sCR}), + (lambda: schemas.CAPACITY_RESERVATION, {_aQN: _DCR, _sN: _dCR}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + ), +) + +MOVE_CAPACITY_RESERVATION_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _MCRIo, + 0, + MOVE_CAPACITY_RESERVATION_INSTANCES_INPUT, + MOVE_CAPACITY_RESERVATION_INSTANCES_OUTPUT, + (), +) + +CIDR_AUTHORIZATION_CONTEXT: StaticSchema = ( + 18, + n0, + _CAC, + 0, + (_Me, _Sig), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +PROVISION_BYOIP_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _PBCI, + {_sSI: _cPBCR, _sm: None}, + (_Ci, _CAC, _PAu, _Des, _DR, _PTS, _MRu, _NBG), + ( + (lambda: schemas.STRING, 1), + (CIDR_AUTHORIZATION_CONTEXT, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _PTSo}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +PROVISION_BYOIP_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _PBCO, + {_sSI: _cPBCRo, _smit: None}, + (_BC,), + ((lambda: schemas.BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), +) + +PROVISION_BYOIP_CIDR: StaticOperationSchema = ( + 23, + n0, + _PBC, + 0, + PROVISION_BYOIP_CIDR_INPUT, + PROVISION_BYOIP_CIDR_OUTPUT, + (), +) + +ASN_AUTHORIZATION_CONTEXT: StaticSchema = ( + 18, + n0, + _AACs, + 0, + (_Me, _Sig), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +PROVISION_IPAM_BYOASN_INPUT: StaticSchema = ( + 18, + n0, + _PIBI, + {_sSI: _cPIBR, _sm: None}, + (_DR, _IIp, _Asn, _AACs), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_ID, 1), + (lambda: schemas.STRING, 1), + (ASN_AUTHORIZATION_CONTEXT, 1), + ), +) + +PROVISION_IPAM_BYOASN_OUTPUT: StaticSchema = ( + 18, + n0, + _PIBO, + {_sSI: _cPIBRo, _smit: None}, + (_By,), + ((lambda: schemas.BYOASN, {_aQN: _By, _sN: _by}),), +) + +PROVISION_IPAM_BYOASN: StaticOperationSchema = ( + 23, + n0, + _PIB, + 0, + PROVISION_IPAM_BYOASN_INPUT, + PROVISION_IPAM_BYOASN_OUTPUT, + (), +) + +IPAM_CIDR_AUTHORIZATION_CONTEXT: StaticSchema = ( + 18, + n0, + _ICAC, + 0, + (_Me, _Sig), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +VERIFICATION_METHOD: StaticSchema = ( + 14, + n0, + _VMe, + 0, + (_rx__________________________________, _dt_), + ((-1, {_sV: _rx___________________________________}), (-1, {_sV: _dt__})), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_49.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_49.py new file mode 100644 index 000000000..276804e58 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_49.py @@ -0,0 +1,1605 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_me = "member" +_i = "item" +_TS = "TagSpecification" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_PI = "PublicIp" +_AI = "AllocationId" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_R = "Return" +_r = "return" +_RIOI = "ReservedInstancesOfferingId" +_IC = "InstanceCount" +_OI = "OfferingId" +_TGAI = "TransitGatewayAttachmentId" +_TGI = "TransitGatewayId" +_TGCVA = "TransitGatewayClientVpnAttachment" +_tGCVA = "transitGatewayClientVpnAttachment" +_TGMDI = "TransitGatewayMulticastDomainId" +_SI = "SubnetIds" +_tGMDI = "transitGatewayMulticastDomainId" +_As = "Associations" +_asso = "associations" +_TGPA = "TransitGatewayPeeringAttachment" +_tGPA = "transitGatewayPeeringAttachment" +_TGVA = "TransitGatewayVpcAttachment" +_tGVA = "transitGatewayVpcAttachment" +_VEI = "VpcEndpointId" +_SIe = "ServiceId" +_VEIp = "VpcEndpointIds" +_Un = "Unsuccessful" +_un = "unsuccessful" +_dRr = "dryRun" +_VPCI = "VpcPeeringConnectionId" +_vPCI = "vpcPeeringConnectionId" +_CB = "CidrBlock" +_cB = "cidrBlock" +_ICB = "Ipv6CidrBlock" +_iCB = "ipv6CidrBlock" +_PR = "PortRange" +_Ci = "Cidr" +_Eg = "Egress" +_egr = "egress" +_pR = "portRange" +_P = "Protocol" +_pro = "protocol" +_RA = "RuleAction" +_rA = "ruleAction" +_RN = "RuleNumber" +_rN = "ruleNumber" +_N = "Name" +_nam = "name" +_DPLI = "DestinationPrefixListId" +_EOIGI = "EgressOnlyInternetGatewayId" +_eOIGI = "egressOnlyInternetGatewayId" +_GI = "GatewayId" +_gI = "gatewayId" +_II = "InstanceId" +_iI = "instanceId" +_NGI = "NatGatewayId" +_nGI = "natGatewayId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_CGI = "CarrierGatewayId" +_CNA = "CoreNetworkArn" +_LGI = "LocalGatewayId" +_Des = "Description" +_AIs = "AssociationId" +_aIs = "associationId" +_NBG = "NetworkBorderGroup" +_IPI = "IpamPoolId" +_desc = "description" +_PIo = "PoolId" +_pIo = "poolId" +_CTl = "ClientToken" +_cTl = "clientToken" +_HI = "HostIds" +_HIS = "HostIdSet" +_NL = "NetmaskLength" +_sT = "smithy.api#idempotencyToken" +_IPAI = "IpamPoolAllocationId" +_IIn = "InstanceIds" +_sU = "smithy.api#Unit" +_IIP = "IamInstanceProfile" +_IIPA = "IamInstanceProfileAssociation" +_iIPA = "iamInstanceProfileAssociation" +_RTIo = "RouteTableId" +_rTIo = "routeTableId" +_IIm = "ImageId" +_WK = "WatermarkKey" +_smith = "smithy.api#sensitive" +_CC = "CurrencyCode" +_cC = "currencyCode" +_RIIes = "ReservedInstancesId" +_rII = "reservedInstancesId" +_iIm = "imageId" +_IPns = "InstancePlatform" +_CRap = "CapacityReservation" +_cRa = "capacityReservation" +_ITSn = "InstanceTypeSpecification" +_DCB = "DestinationCidrBlock" +_succ = "successful" +_BDM = "BlockDeviceMapping" +_HIo = "HostId" +_hI = "hostId" +_BDMl = "BlockDeviceMappings" +_NIIe = "NetworkInterfaceIds" +_IERVTI = "IpamExternalResourceVerificationTokenId" +_succe = "success" +_KI = "KernelId" +_RIa = "RamdiskId" +_kI = "kernelId" +_dCB = "destinationCidrBlock" +_NAAI = "NetworkAclAssociationId" +_NAI = "NetworkAclId" +_nAI = "networkAclId" +_ITC = "IcmpTypeCode" +_Ic = "Icmp" +_ONA = "OdbNetworkArn" +_DICB = "DestinationIpv6CidrBlock" +_dICB = "destinationIpv6CidrBlock" +_RV = "ReturnValue" +_rV = "returnValue" +_IPCpa = "IpamPoolCidr" +_iPCpa = "ipamPoolCidr" +_IATOI = "IncludeAllTagsOfInstance" +_ITK = "InstanceTagKeys" +_ITKn = "InstanceTagKey" +_ITA = "InstanceTagAttribute" +_iTA = "instanceTagAttribute" +_GIA = "GroupIpAddress" +_gIA = "groupIpAddress" +_CBEOI = "CapacityBlockExtensionOfferingId" +_CBESa = "CapacityBlockExtensionSet" +_CBEa = "CapacityBlockExtensions" +_cBESa = "capacityBlockExtensionSet" +_CBOI = "CapacityBlockOfferingId" +_CBSa = "CapacityBlockSet" +_CBap = "CapacityBlocks" +_cBSa = "capacityBlockSet" +_sNS = "sriovNetSupport" +_SNSr = "SriovNetSupport" +_BMo = "BootMode" +_TSp = "TpmSupport" +_UDe = "UefiData" +_ISm = "ImdsSupport" +_IW = "ImageWatermark" +_SIR = "SourceImageRegion" +_SITu = "SupportedInstanceTypes" +_UIT = "UnsupportedInstanceTypes" +_VTi = "VirtualizationType" +_ESna = "EnaSupport" +_eSna = "enaSupport" +_RDN = "RootDeviceName" +_rDN = "rootDeviceName" +_vTi = "virtualizationType" +_IWm = "ImageWatermarks" +_ILm = "ImageLocation" +_Arc = "Architecture" +_arch = "architecture" +_rIa = "ramdiskId" +_Am = "Amount" +_amo = "amount" +_PTu = "PurchaseToken" +_SISc = "ScheduledInstanceSet" +_sISc = "scheduledInstanceSet" +_Suc = "Successful" +_Succ = "Success" +_CDC = "CreationDateCondition" +_MDSC = "MaximumDaysSinceCreated" +_DTC = "DeprecationTimeCondition" +_MDSD = "MaximumDaysSinceDeprecated" +_INm = "ImageName" +_IPm = "ImageProvider" +_MDSSIC = "MaximumDaysSinceSourceImageCreated" +_MDSWC = "MaximumDaysSinceWatermarkCreated" +_MPC = "MarketplaceProductCode" +_SRCc = "ScanResultCondition" +_MDSLFS = "MaxDaysSinceLastFindingScan" +_MSL = "MaximumSeverityLabel" +_MDSIFA = "MaxDaysSinceInformationalFixAvailable" +_MDSLFA = "MaxDaysSinceLowFixAvailable" +_MDSMFA = "MaxDaysSinceMediumFixAvailable" +_MDSHFA = "MaxDaysSinceHighFixAvailable" +_MDSCFA = "MaxDaysSinceCriticalFixAvailable" +_ICm = "ImageCriterion" +_IPma = "ImageProviders" +_MPCa = "MarketplaceProductCodes" +_INma = "ImageNames" +_ICma = "ImageCriteria" +_Pur = "Purchase" +_pur = "purchase" +_THP = "TotalHourlyPrice" +_tHP = "totalHourlyPrice" +_TUP = "TotalUpfrontPrice" +_tUP = "totalUpfrontPrice" +_CAC = "CidrAuthorizationContext" +_VMe = "VerificationMethod" +_PIPCI = "ProvisionIpamPoolCidrInput" +_cPIPCR = "com.amazonaws.ec2#ProvisionIpamPoolCidrRequest" +_PIPCO = "ProvisionIpamPoolCidrOutput" +_cPIPCRo = "com.amazonaws.ec2#ProvisionIpamPoolCidrResult" +_PIPC = "ProvisionIpamPoolCidr" +_PPIPCI = "ProvisionPublicIpv4PoolCidrInput" +_cPPIPCR = "com.amazonaws.ec2#ProvisionPublicIpv4PoolCidrRequest" +_PPIPCO = "ProvisionPublicIpv4PoolCidrOutput" +_cPPIPCRo = "com.amazonaws.ec2#ProvisionPublicIpv4PoolCidrResult" +_PARo = "PoolAddressRange" +_pAR = "poolAddressRange" +_PPIPC = "ProvisionPublicIpv4PoolCidr" +_PCBI = "PurchaseCapacityBlockInput" +_cPCBR = "com.amazonaws.ec2#PurchaseCapacityBlockRequest" +_PCBO = "PurchaseCapacityBlockOutput" +_cPCBRo = "com.amazonaws.ec2#PurchaseCapacityBlockResult" +_PCBu = "PurchaseCapacityBlock" +_PCBEI = "PurchaseCapacityBlockExtensionInput" +_cPCBER = "com.amazonaws.ec2#PurchaseCapacityBlockExtensionRequest" +_PCBEO = "PurchaseCapacityBlockExtensionOutput" +_cPCBERo = "com.amazonaws.ec2#PurchaseCapacityBlockExtensionResult" +_PCBE = "PurchaseCapacityBlockExtension" +_PHRI = "PurchaseHostReservationInput" +_cPHRR = "com.amazonaws.ec2#PurchaseHostReservationRequest" +_LPi = "LimitPrice" +_PHRO = "PurchaseHostReservationOutput" +_cPHRRo = "com.amazonaws.ec2#PurchaseHostReservationResult" +_PHR = "PurchaseHostReservation" +_RILP = "ReservedInstanceLimitPrice" +_PRIOI = "PurchaseReservedInstancesOfferingInput" +_cPRIOR = "com.amazonaws.ec2#PurchaseReservedInstancesOfferingRequest" +_PTur = "PurchaseTime" +_lPi = "limitPrice" +_PRIOO = "PurchaseReservedInstancesOfferingOutput" +_cPRIORo = "com.amazonaws.ec2#PurchaseReservedInstancesOfferingResult" +_PRIO = "PurchaseReservedInstancesOffering" +_PRu = "PurchaseRequest" +_PRSu = "PurchaseRequestSet" +_PSII = "PurchaseScheduledInstancesInput" +_cPSIR = "com.amazonaws.ec2#PurchaseScheduledInstancesRequest" +_PRur = "PurchaseRequests" +_PSIS = "PurchasedScheduledInstanceSet" +_PSIO = "PurchaseScheduledInstancesOutput" +_cPSIRo = "com.amazonaws.ec2#PurchaseScheduledInstancesResult" +_PSI = "PurchaseScheduledInstances" +_RIIeb = "RebootInstancesInput" +_cRIR = "com.amazonaws.ec2#RebootInstancesRequest" +_RIOeb = "RebootInstancesOutput" +_RIeb = "RebootInstances" +_BPL = "BillingProductList" +_IUDR = "ImageUefiDataRequest" +_RIIeg = "RegisterImageInput" +_cRIRo = "com.amazonaws.ec2#RegisterImageRequest" +_BPi = "BillingProducts" +_BPil = "BillingProduct" +_RIOeg = "RegisterImageOutput" +_cRIRom = "com.amazonaws.ec2#RegisterImageResult" +_RIegis = "RegisterImage" +_RITAR = "RegisterInstanceTagAttributeRequest" +_RIENAI = "RegisterInstanceEventNotificationAttributesInput" +_cRIENAR = "com.amazonaws.ec2#RegisterInstanceEventNotificationAttributesRequest" +_RIENAO = "RegisterInstanceEventNotificationAttributesOutput" +_cRIENARo = "com.amazonaws.ec2#RegisterInstanceEventNotificationAttributesResult" +_RIENA = "RegisterInstanceEventNotificationAttributes" +_RTGMGMI = "RegisterTransitGatewayMulticastGroupMembersInput" +_cRTGMGMR = "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupMembersRequest" +_TGMRGM = "TransitGatewayMulticastRegisteredGroupMembers" +_RNII = "RegisteredNetworkInterfaceIds" +_rNII = "registeredNetworkInterfaceIds" +_RTGMGMO = "RegisterTransitGatewayMulticastGroupMembersOutput" +_cRTGMGMRo = "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupMembersResult" +_RMGM = "RegisteredMulticastGroupMembers" +_rMGM = "registeredMulticastGroupMembers" +_RTGMGM = "RegisterTransitGatewayMulticastGroupMembers" +_RTGMGSI = "RegisterTransitGatewayMulticastGroupSourcesInput" +_cRTGMGSR = "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupSourcesRequest" +_TGMRGS = "TransitGatewayMulticastRegisteredGroupSources" +_RTGMGSO = "RegisterTransitGatewayMulticastGroupSourcesOutput" +_cRTGMGSRo = "com.amazonaws.ec2#RegisterTransitGatewayMulticastGroupSourcesResult" +_RMGS = "RegisteredMulticastGroupSources" +_rMGS = "registeredMulticastGroupSources" +_RTGMGS = "RegisterTransitGatewayMulticastGroupSources" +_RCRBOI = "RejectCapacityReservationBillingOwnershipInput" +_cRCRBOR = "com.amazonaws.ec2#RejectCapacityReservationBillingOwnershipRequest" +_RCRBOO = "RejectCapacityReservationBillingOwnershipOutput" +_cRCRBORo = "com.amazonaws.ec2#RejectCapacityReservationBillingOwnershipResult" +_RCRBO = "RejectCapacityReservationBillingOwnership" +_RTGCVAI = "RejectTransitGatewayClientVpnAttachmentInput" +_cRTGCVAR = "com.amazonaws.ec2#RejectTransitGatewayClientVpnAttachmentRequest" +_RTGCVAO = "RejectTransitGatewayClientVpnAttachmentOutput" +_cRTGCVARo = "com.amazonaws.ec2#RejectTransitGatewayClientVpnAttachmentResult" +_RTGCVA = "RejectTransitGatewayClientVpnAttachment" +_RTGMDAI = "RejectTransitGatewayMulticastDomainAssociationsInput" +_cRTGMDAR = "com.amazonaws.ec2#RejectTransitGatewayMulticastDomainAssociationsRequest" +_RTGMDAO = "RejectTransitGatewayMulticastDomainAssociationsOutput" +_cRTGMDARo = "com.amazonaws.ec2#RejectTransitGatewayMulticastDomainAssociationsResult" +_RTGMDA = "RejectTransitGatewayMulticastDomainAssociations" +_RTGPAI = "RejectTransitGatewayPeeringAttachmentInput" +_cRTGPAR = "com.amazonaws.ec2#RejectTransitGatewayPeeringAttachmentRequest" +_RTGPAO = "RejectTransitGatewayPeeringAttachmentOutput" +_cRTGPARo = "com.amazonaws.ec2#RejectTransitGatewayPeeringAttachmentResult" +_RTGPA = "RejectTransitGatewayPeeringAttachment" +_RTGVAI = "RejectTransitGatewayVpcAttachmentInput" +_cRTGVAR = "com.amazonaws.ec2#RejectTransitGatewayVpcAttachmentRequest" +_RTGVAO = "RejectTransitGatewayVpcAttachmentOutput" +_cRTGVARo = "com.amazonaws.ec2#RejectTransitGatewayVpcAttachmentResult" +_RTGVA = "RejectTransitGatewayVpcAttachment" +_RVECI = "RejectVpcEndpointConnectionsInput" +_cRVECR = "com.amazonaws.ec2#RejectVpcEndpointConnectionsRequest" +_RVECO = "RejectVpcEndpointConnectionsOutput" +_cRVECRo = "com.amazonaws.ec2#RejectVpcEndpointConnectionsResult" +_RVEC = "RejectVpcEndpointConnections" +_RVPCI = "RejectVpcPeeringConnectionInput" +_cRVPCR = "com.amazonaws.ec2#RejectVpcPeeringConnectionRequest" +_RVPCO = "RejectVpcPeeringConnectionOutput" +_cRVPCRo = "com.amazonaws.ec2#RejectVpcPeeringConnectionResult" +_RVPC = "RejectVpcPeeringConnection" +_RAI = "ReleaseAddressInput" +_cRAR = "com.amazonaws.ec2#ReleaseAddressRequest" +_RAO = "ReleaseAddressOutput" +_RAel = "ReleaseAddress" +_RHI = "ReleaseHostsInput" +_cRHR = "com.amazonaws.ec2#ReleaseHostsRequest" +_RHO = "ReleaseHostsOutput" +_cRHRo = "com.amazonaws.ec2#ReleaseHostsResult" +_RH = "ReleaseHosts" +_RIPAI = "ReleaseIpamPoolAllocationInput" +_cRIPAR = "com.amazonaws.ec2#ReleaseIpamPoolAllocationRequest" +_RIPAO = "ReleaseIpamPoolAllocationOutput" +_cRIPARo = "com.amazonaws.ec2#ReleaseIpamPoolAllocationResult" +_RIPA = "ReleaseIpamPoolAllocation" +_RIIPAI = "ReplaceIamInstanceProfileAssociationInput" +_cRIIPAR = "com.amazonaws.ec2#ReplaceIamInstanceProfileAssociationRequest" +_RIIPAO = "ReplaceIamInstanceProfileAssociationOutput" +_cRIIPARo = "com.amazonaws.ec2#ReplaceIamInstanceProfileAssociationResult" +_RIIPA = "ReplaceIamInstanceProfileAssociation" +_CDCR = "CreationDateConditionRequest" +_DTCR = "DeprecationTimeConditionRequest" +_INCR = "ImageNameCriteriaRequest" +_INCRL = "ImageNameCriteriaRequestList" +_IPRm = "ImageProviderRequest" +_IPRL = "ImageProviderRequestList" +_IWFRm = "ImageWatermarkFilterRequest" +_IWFRLm = "ImageWatermarkFilterRequestList" +_MPCR = "MarketplaceProductCodeRequest" +_MPCRL = "MarketplaceProductCodeRequestList" +_SRCR = "ScanResultConditionRequest" +_ICRm = "ImageCriterionRequest" +_ICRL = "ImageCriterionRequestList" +_RICIAISI = "ReplaceImageCriteriaInAllowedImagesSettingsInput" +_cRICIAISR = "com.amazonaws.ec2#ReplaceImageCriteriaInAllowedImagesSettingsRequest" +_RICIAISO = "ReplaceImageCriteriaInAllowedImagesSettingsOutput" +_cRICIAISRo = "com.amazonaws.ec2#ReplaceImageCriteriaInAllowedImagesSettingsResult" +_RICIAIS = "ReplaceImageCriteriaInAllowedImagesSettings" +_ITIR = "InstanceTypeItemRequest" +_SITRSu = "SupportedInstanceTypeRequestSet" +_It = "Item" +_UITRS = "UnsupportedInstanceTypeRequestSet" +_ITSR = "InstanceTypeSpecificationRequest" +_SITup = "SupportedInstanceType" +_UITn = "UnsupportedInstanceType" +_RIITSI = "ReplaceImageInstanceTypeSpecificationInput" +_cRIITSR = "com.amazonaws.ec2#ReplaceImageInstanceTypeSpecificationRequest" +_RIITSO = "ReplaceImageInstanceTypeSpecificationOutput" +_cRIITSRo = "com.amazonaws.ec2#ReplaceImageInstanceTypeSpecificationResult" +_RIITS = "ReplaceImageInstanceTypeSpecification" +_RNAAI = "ReplaceNetworkAclAssociationInput" +_cRNAAR = "com.amazonaws.ec2#ReplaceNetworkAclAssociationRequest" +_RNAAO = "ReplaceNetworkAclAssociationOutput" +_cRNAARo = "com.amazonaws.ec2#ReplaceNetworkAclAssociationResult" +_NAIew = "NewAssociationId" +_nAIe = "newAssociationId" +_RNAA = "ReplaceNetworkAclAssociation" +_RNAEI = "ReplaceNetworkAclEntryInput" +_cRNAER = "com.amazonaws.ec2#ReplaceNetworkAclEntryRequest" +_RNAEO = "ReplaceNetworkAclEntryOutput" +_RNAE = "ReplaceNetworkAclEntry" +_RRI = "ReplaceRouteInput" +_cRRR = "com.amazonaws.ec2#ReplaceRouteRequest" +_LToc = "LocalTarget" +_RRO = "ReplaceRouteOutput" +_RRep = "ReplaceRoute" + +PROVISION_IPAM_POOL_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _PIPCI, + {_sSI: _cPIPCR, _sm: None}, + (_DR, _IPI, _Ci, _CAC, _NL, _CTl, _VMe, _IERVTI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.IPAM_CIDR_AUTHORIZATION_CONTEXT, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.VERIFICATION_METHOD, 0), + (lambda: schemas.IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN_ID, 0), + ), +) + +PROVISION_IPAM_POOL_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _PIPCO, + {_sSI: _cPIPCRo, _smit: None}, + (_IPCpa,), + ((lambda: schemas.IPAM_POOL_CIDR, {_aQN: _IPCpa, _sN: _iPCpa}),), +) + +PROVISION_IPAM_POOL_CIDR: StaticOperationSchema = ( + 23, + n0, + _PIPC, + 0, + PROVISION_IPAM_POOL_CIDR_INPUT, + PROVISION_IPAM_POOL_CIDR_OUTPUT, + (), +) + +PROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _PPIPCI, + {_sSI: _cPPIPCR, _sm: None}, + (_DR, _IPI, _PIo, _NL, _NBG), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.IPV4_POOL_EC2_ID, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.STRING, 0), + ), +) + +PROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _PPIPCO, + {_sSI: _cPPIPCRo, _smit: None}, + (_PIo, _PARo), + ( + (lambda: schemas.IPV4_POOL_EC2_ID, {_aQN: _PIo, _sN: _pIo}), + (lambda: schemas.PUBLIC_IPV4_POOL_RANGE, {_aQN: _PARo, _sN: _pAR}), + ), +) + +PROVISION_PUBLIC_IPV4_POOL_CIDR: StaticOperationSchema = ( + 23, + n0, + _PPIPC, + 0, + PROVISION_PUBLIC_IPV4_POOL_CIDR_INPUT, + PROVISION_PUBLIC_IPV4_POOL_CIDR_OUTPUT, + (), +) + +PURCHASE_CAPACITY_BLOCK_INPUT: StaticSchema = ( + 18, + n0, + _PCBI, + {_sSI: _cPCBR, _sm: None}, + (_DR, _TSa, _CBOI, _IPns), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.OFFERING_ID, 1), + (lambda: schemas.CAPACITY_RESERVATION_INSTANCE_PLATFORM, 1), + ), +) + +PURCHASE_CAPACITY_BLOCK_OUTPUT: StaticSchema = ( + 18, + n0, + _PCBO, + {_sSI: _cPCBRo, _smit: None}, + (_CRap, _CBap), + ( + (lambda: schemas.CAPACITY_RESERVATION, {_aQN: _CRap, _sN: _cRa}), + (lambda: schemas.CAPACITY_BLOCK_SET, {_aQN: _CBSa, _sN: _cBSa}), + ), +) + +PURCHASE_CAPACITY_BLOCK: StaticOperationSchema = ( + 23, + n0, + _PCBu, + 0, + PURCHASE_CAPACITY_BLOCK_INPUT, + PURCHASE_CAPACITY_BLOCK_OUTPUT, + (), +) + +PURCHASE_CAPACITY_BLOCK_EXTENSION_INPUT: StaticSchema = ( + 18, + n0, + _PCBEI, + {_sSI: _cPCBER, _sm: None}, + (_CBEOI, _CRI, _DR), + ( + (lambda: schemas.OFFERING_ID, 1), + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +PURCHASE_CAPACITY_BLOCK_EXTENSION_OUTPUT: StaticSchema = ( + 18, + n0, + _PCBEO, + {_sSI: _cPCBERo, _smit: None}, + (_CBEa,), + ((lambda: schemas.CAPACITY_BLOCK_EXTENSION_SET, {_aQN: _CBESa, _sN: _cBESa}),), +) + +PURCHASE_CAPACITY_BLOCK_EXTENSION: StaticOperationSchema = ( + 23, + n0, + _PCBE, + 0, + PURCHASE_CAPACITY_BLOCK_EXTENSION_INPUT, + PURCHASE_CAPACITY_BLOCK_EXTENSION_OUTPUT, + (), +) + +PURCHASE_HOST_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _PHRI, + {_sSI: _cPHRR, _sm: None}, + (_CTl, _CC, _HIS, _LPi, _OI, _TSa), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.CURRENCY_CODE_VALUES, 0), + (lambda: schemas.REQUEST_HOST_ID_SET, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.OFFERING_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +PURCHASE_HOST_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PHRO, + {_sSI: _cPHRRo, _smit: None}, + (_CTl, _CC, _Pur, _THP, _TUP), + ( + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: schemas.CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + (lambda: schemas.PURCHASE_SET, {_aQN: _Pur, _sN: _pur}), + (lambda: schemas.STRING, {_aQN: _THP, _sN: _tHP}), + (lambda: schemas.STRING, {_aQN: _TUP, _sN: _tUP}), + ), +) + +PURCHASE_HOST_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _PHR, + 0, + PURCHASE_HOST_RESERVATION_INPUT, + PURCHASE_HOST_RESERVATION_OUTPUT, + (), +) + +RESERVED_INSTANCE_LIMIT_PRICE: StaticSchema = ( + 18, + n0, + _RILP, + 0, + (_Am, _CC), + ( + (lambda: schemas.DOUBLE, {_aQN: _Am, _sN: _amo}), + (lambda: schemas.CURRENCY_CODE_VALUES, {_aQN: _CC, _sN: _cC}), + ), +) + +PURCHASE_RESERVED_INSTANCES_OFFERING_INPUT: StaticSchema = ( + 18, + n0, + _PRIOI, + {_sSI: _cPRIOR, _sm: None}, + (_IC, _RIOI, _PTur, _DR, _LPi), + ( + (lambda: schemas.INTEGER, 1), + (lambda: schemas.RESERVED_INSTANCES_OFFERING_ID, 1), + (lambda: schemas.DATE_TIME, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (RESERVED_INSTANCE_LIMIT_PRICE, {_aQN: _LPi, _sN: _lPi}), + ), +) + +PURCHASE_RESERVED_INSTANCES_OFFERING_OUTPUT: StaticSchema = ( + 18, + n0, + _PRIOO, + {_sSI: _cPRIORo, _smit: None}, + (_RIIes,), + ((lambda: schemas.STRING, {_aQN: _RIIes, _sN: _rII}),), +) + +PURCHASE_RESERVED_INSTANCES_OFFERING: StaticOperationSchema = ( + 23, + n0, + _PRIO, + 0, + PURCHASE_RESERVED_INSTANCES_OFFERING_INPUT, + PURCHASE_RESERVED_INSTANCES_OFFERING_OUTPUT, + (), +) + +PURCHASE_REQUEST: StaticSchema = ( + 18, + n0, + _PRu, + 0, + (_IC, _PTu), + ((lambda: schemas.INTEGER, 1), (lambda: schemas.STRING, 1)), +) + +PURCHASE_REQUEST_SET: StaticSchema = ( + 16, + n0, + _PRSu, + 0, + (_me,), + ((PURCHASE_REQUEST, {_sN: _PRu}),), +) + +PURCHASE_SCHEDULED_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _PSII, + {_sSI: _cPSIR, _sm: None}, + (_CTl, _DR, _PRur), + ( + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (PURCHASE_REQUEST_SET, {_sN: _PRu, _smi: None}), + ), +) + +PURCHASE_SCHEDULED_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _PSIO, + {_sSI: _cPSIRo, _smit: None}, + (_SISc,), + ((lambda: PURCHASED_SCHEDULED_INSTANCE_SET, {_aQN: _SISc, _sN: _sISc}),), +) + +PURCHASE_SCHEDULED_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _PSI, + 0, + PURCHASE_SCHEDULED_INSTANCES_INPUT, + PURCHASE_SCHEDULED_INSTANCES_OUTPUT, + (), +) + +PURCHASED_SCHEDULED_INSTANCE_SET: StaticSchema = ( + 16, + n0, + _PSIS, + 0, + (_me,), + ((lambda: schemas.SCHEDULED_INSTANCE, {_sN: _i}),), +) + +REBOOT_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _RIIeb, + {_sSI: _cRIR, _sm: None}, + (_IIn, _DR), + ( + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +REBOOT_INSTANCES_OUTPUT: StaticSchema = (18, n0, _RIOeb, {_sSI: _sU, _smit: None}) + +REBOOT_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _RIeb, + 0, + REBOOT_INSTANCES_INPUT, + REBOOT_INSTANCES_OUTPUT, + (), +) + +BILLING_PRODUCT_LIST: StaticSchema = ( + 16, + n0, + _BPL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +IMAGE_UEFI_DATA_REQUEST: StaticSchema = (3, n0, _IUDR, 4) + +REGISTER_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _RIIeg, + {_sSI: _cRIRo, _sm: None}, + ( + _ILm, + _BPi, + _BMo, + _TSp, + _UDe, + _ISm, + _TSa, + _DR, + _N, + _Des, + _Arc, + _KI, + _RIa, + _RDN, + _BDMl, + _VTi, + _SNSr, + _ESna, + ), + ( + (lambda: schemas.STRING, 0), + (BILLING_PRODUCT_LIST, {_sN: _BPil}), + (lambda: schemas.BOOT_MODE_VALUES, 0), + (lambda: schemas.TPM_SUPPORT_VALUES, 0), + (IMAGE_UEFI_DATA_REQUEST, 0), + (lambda: schemas.IMDS_SUPPORT_VALUES, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.IMAGE_NAME_REQUEST, {_aQN: _N, _sN: _nam, _smi: None}), + (lambda: schemas.IMAGE_DESCRIPTION_REQUEST, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.ARCHITECTURE_VALUES, {_aQN: _Arc, _sN: _arch}), + (lambda: schemas.KERNEL_ID, {_aQN: _KI, _sN: _kI}), + (lambda: schemas.RAMDISK_ID, {_aQN: _RIa, _sN: _rIa}), + (lambda: schemas.STRING, {_aQN: _RDN, _sN: _rDN}), + (lambda: schemas.BLOCK_DEVICE_MAPPING_REQUEST_LIST, {_sN: _BDM}), + (lambda: schemas.STRING, {_aQN: _VTi, _sN: _vTi}), + (lambda: schemas.STRING, {_aQN: _SNSr, _sN: _sNS}), + (lambda: schemas.BOOLEAN, {_aQN: _ESna, _sN: _eSna}), + ), +) + +REGISTER_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _RIOeg, + {_sSI: _cRIRom, _smit: None}, + (_IIm,), + ((lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}),), +) + +REGISTER_IMAGE: StaticOperationSchema = ( + 23, + n0, + _RIegis, + 0, + REGISTER_IMAGE_INPUT, + REGISTER_IMAGE_OUTPUT, + (), +) + +REGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST: StaticSchema = ( + 18, + n0, + _RITAR, + 0, + (_IATOI, _ITK), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_TAG_KEY_SET, {_sN: _ITKn}), + ), +) + +REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _RIENAI, + {_sSI: _cRIENAR, _sm: None}, + (_DR, _ITA), + ((lambda: schemas.BOOLEAN, 0), (REGISTER_INSTANCE_TAG_ATTRIBUTE_REQUEST, 1)), +) + +REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _RIENAO, + {_sSI: _cRIENARo, _smit: None}, + (_ITA,), + ((lambda: schemas.INSTANCE_TAG_NOTIFICATION_ATTRIBUTE, {_aQN: _ITA, _sN: _iTA}),), +) + +REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _RIENA, + 0, + REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_INPUT, + REGISTER_INSTANCE_EVENT_NOTIFICATION_ATTRIBUTES_OUTPUT, + (), +) + +REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _RTGMGMI, + {_sSI: _cRTGMGMR, _sm: None}, + (_TGMDI, _GIA, _NIIe, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _RTGMGMO, + {_sSI: _cRTGMGMRo, _smit: None}, + (_RMGM,), + ( + ( + lambda: TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_MEMBERS, + {_aQN: _RMGM, _sN: _rMGM}, + ), + ), +) + +REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _RTGMGM, + 0, + REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_INPUT, + REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_MEMBERS_OUTPUT, + (), +) + +TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_MEMBERS: StaticSchema = ( + 18, + n0, + _TGMRGM, + 0, + (_TGMDI, _RNII, _GIA), + ( + (lambda: schemas.STRING, {_aQN: _TGMDI, _sN: _tGMDI}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _RNII, _sN: _rNII}), + (lambda: schemas.STRING, {_aQN: _GIA, _sN: _gIA}), + ), +) + +REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT: StaticSchema = ( + 18, + n0, + _RTGMGSI, + {_sSI: _cRTGMGSR, _sm: None}, + (_TGMDI, _GIA, _NIIe, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TRANSIT_GATEWAY_NETWORK_INTERFACE_ID_LIST, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _RTGMGSO, + {_sSI: _cRTGMGSRo, _smit: None}, + (_RMGS,), + ( + ( + lambda: TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_SOURCES, + {_aQN: _RMGS, _sN: _rMGS}, + ), + ), +) + +REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES: StaticOperationSchema = ( + 23, + n0, + _RTGMGS, + 0, + REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_INPUT, + REGISTER_TRANSIT_GATEWAY_MULTICAST_GROUP_SOURCES_OUTPUT, + (), +) + +TRANSIT_GATEWAY_MULTICAST_REGISTERED_GROUP_SOURCES: StaticSchema = ( + 18, + n0, + _TGMRGS, + 0, + (_TGMDI, _RNII, _GIA), + ( + (lambda: schemas.STRING, {_aQN: _TGMDI, _sN: _tGMDI}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _RNII, _sN: _rNII}), + (lambda: schemas.STRING, {_aQN: _GIA, _sN: _gIA}), + ), +) + +REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT: StaticSchema = ( + 18, + n0, + _RCRBOI, + {_sSI: _cRCRBOR, _sm: None}, + (_DR, _CRI), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.CAPACITY_RESERVATION_ID, 1)), +) + +REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT: StaticSchema = ( + 18, + n0, + _RCRBOO, + {_sSI: _cRCRBORo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP: StaticOperationSchema = ( + 23, + n0, + _RCRBO, + 0, + REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_INPUT, + REJECT_CAPACITY_RESERVATION_BILLING_OWNERSHIP_OUTPUT, + (), +) + +REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _RTGCVAI, + {_sSI: _cRTGCVAR, _sm: None}, + (_TGAI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _RTGCVAO, + {_sSI: _cRTGCVARo, _smit: None}, + (_TGCVA,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT, + {_aQN: _TGCVA, _sN: _tGCVA}, + ), + ), +) + +REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _RTGCVA, + 0, + REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_INPUT, + REJECT_TRANSIT_GATEWAY_CLIENT_VPN_ATTACHMENT_OUTPUT, + (), +) + +REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _RTGMDAI, + {_sSI: _cRTGMDAR, _sm: None}, + (_TGMDI, _TGAI, _SI, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 0), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (lambda: schemas.VALUE_STRING_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _RTGMDAO, + {_sSI: _cRTGMDARo, _smit: None}, + (_As,), + ( + ( + lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS, + {_aQN: _As, _sN: _asso}, + ), + ), +) + +REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _RTGMDA, + 0, + REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_INPUT, + REJECT_TRANSIT_GATEWAY_MULTICAST_DOMAIN_ASSOCIATIONS_OUTPUT, + (), +) + +REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _RTGPAI, + {_sSI: _cRTGPAR, _sm: None}, + (_TGAI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _RTGPAO, + {_sSI: _cRTGPARo, _smit: None}, + (_TGPA,), + ((lambda: schemas.TRANSIT_GATEWAY_PEERING_ATTACHMENT, {_aQN: _TGPA, _sN: _tGPA}),), +) + +REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _RTGPA, + 0, + REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_INPUT, + REJECT_TRANSIT_GATEWAY_PEERING_ATTACHMENT_OUTPUT, + (), +) + +REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _RTGVAI, + {_sSI: _cRTGVAR, _sm: None}, + (_TGAI, _DR), + ((lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _RTGVAO, + {_sSI: _cRTGVARo, _smit: None}, + (_TGVA,), + ((lambda: schemas.TRANSIT_GATEWAY_VPC_ATTACHMENT, {_aQN: _TGVA, _sN: _tGVA}),), +) + +REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _RTGVA, + 0, + REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_INPUT, + REJECT_TRANSIT_GATEWAY_VPC_ATTACHMENT_OUTPUT, + (), +) + +REJECT_VPC_ENDPOINT_CONNECTIONS_INPUT: StaticSchema = ( + 18, + n0, + _RVECI, + {_sSI: _cRVECR, _sm: None}, + (_DR, _SIe, _VEIp), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ENDPOINT_SERVICE_ID, 1), + (lambda: schemas.VPC_ENDPOINT_ID_LIST, {_sN: _VEI, _smi: None}), + ), +) + +REJECT_VPC_ENDPOINT_CONNECTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _RVECO, + {_sSI: _cRVECRo, _smit: None}, + (_Un,), + ((lambda: schemas.UNSUCCESSFUL_ITEM_SET, {_aQN: _Un, _sN: _un}),), +) + +REJECT_VPC_ENDPOINT_CONNECTIONS: StaticOperationSchema = ( + 23, + n0, + _RVEC, + 0, + REJECT_VPC_ENDPOINT_CONNECTIONS_INPUT, + REJECT_VPC_ENDPOINT_CONNECTIONS_OUTPUT, + (), +) + +REJECT_VPC_PEERING_CONNECTION_INPUT: StaticSchema = ( + 18, + n0, + _RVPCI, + {_sSI: _cRVPCR, _sm: None}, + (_DR, _VPCI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ( + lambda: schemas.VPC_PEERING_CONNECTION_ID, + {_aQN: _VPCI, _sN: _vPCI, _smi: None}, + ), + ), +) + +REJECT_VPC_PEERING_CONNECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _RVPCO, + {_sSI: _cRVPCRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +REJECT_VPC_PEERING_CONNECTION: StaticOperationSchema = ( + 23, + n0, + _RVPC, + 0, + REJECT_VPC_PEERING_CONNECTION_INPUT, + REJECT_VPC_PEERING_CONNECTION_OUTPUT, + (), +) + +RELEASE_ADDRESS_INPUT: StaticSchema = ( + 18, + n0, + _RAI, + {_sSI: _cRAR, _sm: None}, + (_AI, _PI, _NBG, _DR), + ( + (lambda: schemas.ALLOCATION_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +RELEASE_ADDRESS_OUTPUT: StaticSchema = (18, n0, _RAO, {_sSI: _sU, _smit: None}) + +RELEASE_ADDRESS: StaticOperationSchema = ( + 23, + n0, + _RAel, + 0, + RELEASE_ADDRESS_INPUT, + RELEASE_ADDRESS_OUTPUT, + (), +) + +RELEASE_HOSTS_INPUT: StaticSchema = ( + 18, + n0, + _RHI, + {_sSI: _cRHR, _sm: None}, + (_HI,), + ((lambda: schemas.REQUEST_HOST_ID_LIST, {_aQN: _HIo, _sN: _hI, _smi: None}),), +) + +RELEASE_HOSTS_OUTPUT: StaticSchema = ( + 18, + n0, + _RHO, + {_sSI: _cRHRo, _smit: None}, + (_Suc, _Un), + ( + (lambda: schemas.RESPONSE_HOST_ID_LIST, {_aQN: _Suc, _sN: _succ}), + (lambda: schemas.UNSUCCESSFUL_ITEM_LIST, {_aQN: _Un, _sN: _un}), + ), +) + +RELEASE_HOSTS: StaticOperationSchema = ( + 23, + n0, + _RH, + 0, + RELEASE_HOSTS_INPUT, + RELEASE_HOSTS_OUTPUT, + (), +) + +RELEASE_IPAM_POOL_ALLOCATION_INPUT: StaticSchema = ( + 18, + n0, + _RIPAI, + {_sSI: _cRIPAR, _sm: None}, + (_DR, _IPI, _Ci, _IPAI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.IPAM_POOL_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.IPAM_POOL_ALLOCATION_ID, 1), + ), +) + +RELEASE_IPAM_POOL_ALLOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _RIPAO, + {_sSI: _cRIPARo, _smit: None}, + (_Succ,), + ((lambda: schemas.BOOLEAN, {_aQN: _Succ, _sN: _succe}),), +) + +RELEASE_IPAM_POOL_ALLOCATION: StaticOperationSchema = ( + 23, + n0, + _RIPA, + 0, + RELEASE_IPAM_POOL_ALLOCATION_INPUT, + RELEASE_IPAM_POOL_ALLOCATION_OUTPUT, + (), +) + +REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _RIIPAI, + {_sSI: _cRIIPAR, _sm: None}, + (_IIP, _AIs), + ( + (lambda: schemas.IAM_INSTANCE_PROFILE_SPECIFICATION, 1), + (lambda: schemas.IAM_INSTANCE_PROFILE_ASSOCIATION_ID, 1), + ), +) + +REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _RIIPAO, + {_sSI: _cRIIPARo, _smit: None}, + (_IIPA,), + ((lambda: schemas.IAM_INSTANCE_PROFILE_ASSOCIATION, {_aQN: _IIPA, _sN: _iIPA}),), +) + +REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _RIIPA, + 0, + REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_INPUT, + REPLACE_IAM_INSTANCE_PROFILE_ASSOCIATION_OUTPUT, + (), +) + +CREATION_DATE_CONDITION_REQUEST: StaticSchema = ( + 18, + n0, + _CDCR, + 0, + (_MDSC,), + ((lambda: schemas.MAXIMUM_DAYS_SINCE_CREATED_VALUE, 0),), +) + +DEPRECATION_TIME_CONDITION_REQUEST: StaticSchema = ( + 18, + n0, + _DTCR, + 0, + (_MDSD,), + ((lambda: schemas.MAXIMUM_DAYS_SINCE_DEPRECATED_VALUE, 0),), +) + +IMAGE_NAME_CRITERIA_REQUEST: StaticSchema = (3, n0, _INCR, 0) + +IMAGE_NAME_CRITERIA_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _INCRL, + 0, + (_me,), + ((IMAGE_NAME_CRITERIA_REQUEST, {_sN: _i}),), +) + +IMAGE_PROVIDER_REQUEST: StaticSchema = (3, n0, _IPRm, 0) + +IMAGE_PROVIDER_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _IPRL, + 0, + (_me,), + ((IMAGE_PROVIDER_REQUEST, {_sN: _i}),), +) + +IMAGE_WATERMARK_FILTER_REQUEST: StaticSchema = ( + 18, + n0, + _IWFRm, + 0, + (_WK, _SIR, _MDSSIC, _MDSWC), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +IMAGE_WATERMARK_FILTER_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _IWFRLm, + 0, + (_me,), + ((IMAGE_WATERMARK_FILTER_REQUEST, {_sN: _i}),), +) + +MARKETPLACE_PRODUCT_CODE_REQUEST: StaticSchema = (3, n0, _MPCR, 0) + +MARKETPLACE_PRODUCT_CODE_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _MPCRL, + 0, + (_me,), + ((MARKETPLACE_PRODUCT_CODE_REQUEST, {_sN: _i}),), +) + +SCAN_RESULT_CONDITION_REQUEST: StaticSchema = ( + 18, + n0, + _SRCR, + 0, + (_MDSLFS, _MSL, _MDSIFA, _MDSLFA, _MDSMFA, _MDSHFA, _MDSCFA), + ( + (lambda: schemas.MAX_DAYS_SINCE_LAST_FINDING_SCAN_VALUE, 0), + (lambda: schemas.SEVERITY_LABEL, 0), + (lambda: schemas.MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), + (lambda: schemas.MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), + (lambda: schemas.MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), + (lambda: schemas.MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), + (lambda: schemas.MAX_DAYS_SINCE_FIX_AVAILABLE_VALUE, 0), + ), +) + +IMAGE_CRITERION_REQUEST: StaticSchema = ( + 18, + n0, + _ICRm, + 0, + (_IPma, _MPCa, _INma, _DTC, _CDC, _IWm, _SRCc), + ( + (IMAGE_PROVIDER_REQUEST_LIST, {_sN: _IPm}), + (MARKETPLACE_PRODUCT_CODE_REQUEST_LIST, {_sN: _MPC}), + (IMAGE_NAME_CRITERIA_REQUEST_LIST, {_sN: _INm}), + (DEPRECATION_TIME_CONDITION_REQUEST, 0), + (CREATION_DATE_CONDITION_REQUEST, 0), + (IMAGE_WATERMARK_FILTER_REQUEST_LIST, {_sN: _IW}), + (SCAN_RESULT_CONDITION_REQUEST, 0), + ), +) + +IMAGE_CRITERION_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _ICRL, + 0, + (_me,), + ((IMAGE_CRITERION_REQUEST, {_sN: _ICm}),), +) + +REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _RICIAISI, + {_sSI: _cRICIAISR, _sm: None}, + (_ICma, _DR), + ((IMAGE_CRITERION_REQUEST_LIST, {_sN: _ICm}), (lambda: schemas.BOOLEAN, 0)), +) + +REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _RICIAISO, + {_sSI: _cRICIAISRo, _smit: None}, + (_RV,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _RICIAIS, + 0, + REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_INPUT, + REPLACE_IMAGE_CRITERIA_IN_ALLOWED_IMAGES_SETTINGS_OUTPUT, + (), +) + +INSTANCE_TYPE_ITEM_REQUEST: StaticSchema = (3, n0, _ITIR, 0) + +SUPPORTED_INSTANCE_TYPE_REQUEST_SET: StaticSchema = ( + 16, + n0, + _SITRSu, + 0, + (_me,), + ((INSTANCE_TYPE_ITEM_REQUEST, {_sN: _It}),), +) + +UNSUPPORTED_INSTANCE_TYPE_REQUEST_SET: StaticSchema = ( + 16, + n0, + _UITRS, + 0, + (_me,), + ((INSTANCE_TYPE_ITEM_REQUEST, {_sN: _It}),), +) + +INSTANCE_TYPE_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _ITSR, + 0, + (_SITu, _UIT), + ( + (SUPPORTED_INSTANCE_TYPE_REQUEST_SET, {_sN: _SITup}), + (UNSUPPORTED_INSTANCE_TYPE_REQUEST_SET, {_sN: _UITn}), + ), +) + +REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_INPUT: StaticSchema = ( + 18, + n0, + _RIITSI, + {_sSI: _cRIITSR, _sm: None}, + (_IIm, _ITSn, _DR), + ( + (lambda: schemas.IMAGE_ID, 1), + (INSTANCE_TYPE_SPECIFICATION_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _RIITSO, + {_sSI: _cRIITSRo, _smit: None}, + (_RV,), + ((lambda: schemas.BOOLEAN, {_aQN: _RV, _sN: _rV}),), +) + +REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION: StaticOperationSchema = ( + 23, + n0, + _RIITS, + 0, + REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_INPUT, + REPLACE_IMAGE_INSTANCE_TYPE_SPECIFICATION_OUTPUT, + (), +) + +NETWORK_ACL_ASSOCIATION_ID: StaticSchema = (3, n0, _NAAI, 0) + +REPLACE_NETWORK_ACL_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _RNAAI, + {_sSI: _cRNAAR, _sm: None}, + (_DR, _AIs, _NAI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (NETWORK_ACL_ASSOCIATION_ID, {_aQN: _AIs, _sN: _aIs, _smi: None}), + (lambda: schemas.NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), + ), +) + +REPLACE_NETWORK_ACL_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _RNAAO, + {_sSI: _cRNAARo, _smit: None}, + (_NAIew,), + ((lambda: schemas.STRING, {_aQN: _NAIew, _sN: _nAIe}),), +) + +REPLACE_NETWORK_ACL_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _RNAA, + 0, + REPLACE_NETWORK_ACL_ASSOCIATION_INPUT, + REPLACE_NETWORK_ACL_ASSOCIATION_OUTPUT, + (), +) + +REPLACE_NETWORK_ACL_ENTRY_INPUT: StaticSchema = ( + 18, + n0, + _RNAEI, + {_sSI: _cRNAER, _sm: None}, + (_DR, _NAI, _RN, _P, _RA, _Eg, _CB, _ICB, _ITC, _PR), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.NETWORK_ACL_ID, {_aQN: _NAI, _sN: _nAI, _smi: None}), + (lambda: schemas.INTEGER, {_aQN: _RN, _sN: _rN, _smi: None}), + (lambda: schemas.STRING, {_aQN: _P, _sN: _pro, _smi: None}), + (lambda: schemas.RULE_ACTION, {_aQN: _RA, _sN: _rA, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _Eg, _sN: _egr, _smi: None}), + (lambda: schemas.STRING, {_aQN: _CB, _sN: _cB}), + (lambda: schemas.STRING, {_aQN: _ICB, _sN: _iCB}), + (lambda: schemas.ICMP_TYPE_CODE, {_sN: _Ic}), + (lambda: schemas.PORT_RANGE, {_aQN: _PR, _sN: _pR}), + ), +) + +REPLACE_NETWORK_ACL_ENTRY_OUTPUT: StaticSchema = ( + 18, + n0, + _RNAEO, + {_sSI: _sU, _smit: None}, +) + +REPLACE_NETWORK_ACL_ENTRY: StaticOperationSchema = ( + 23, + n0, + _RNAE, + 0, + REPLACE_NETWORK_ACL_ENTRY_INPUT, + REPLACE_NETWORK_ACL_ENTRY_OUTPUT, + (), +) + +REPLACE_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _RRI, + {_sSI: _cRRR, _sm: None}, + ( + _DPLI, + _VEI, + _LToc, + _TGI, + _LGI, + _CGI, + _CNA, + _ONA, + _DR, + _RTIo, + _DCB, + _GI, + _DICB, + _EOIGI, + _II, + _NII, + _VPCI, + _NGI, + ), + ( + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 0), + (lambda: schemas.VPC_ENDPOINT_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TRANSIT_GATEWAY_ID, 0), + (lambda: schemas.LOCAL_GATEWAY_ID, 0), + (lambda: schemas.CARRIER_GATEWAY_ID, 0), + (lambda: schemas.CORE_NETWORK_ARN, 0), + (lambda: schemas.ODB_NETWORK_ARN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), + (lambda: schemas.STRING, {_aQN: _DCB, _sN: _dCB}), + (lambda: schemas.ROUTE_GATEWAY_ID, {_aQN: _GI, _sN: _gI}), + (lambda: schemas.STRING, {_aQN: _DICB, _sN: _dICB}), + (lambda: schemas.EGRESS_ONLY_INTERNET_GATEWAY_ID, {_aQN: _EOIGI, _sN: _eOIGI}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.VPC_PEERING_CONNECTION_ID, {_aQN: _VPCI, _sN: _vPCI}), + (lambda: schemas.NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), + ), +) + +REPLACE_ROUTE_OUTPUT: StaticSchema = (18, n0, _RRO, {_sSI: _sU, _smit: None}) + +REPLACE_ROUTE: StaticOperationSchema = ( + 23, + n0, + _RRep, + 0, + REPLACE_ROUTE_INPUT, + REPLACE_ROUTE_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_5.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_5.py new file mode 100644 index 000000000..36b57876d --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_5.py @@ -0,0 +1,1577 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_cb_ = "capacity-block" +_Ke = "Key" +_ke = "key" +_Va = "Value" +_va = "value" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_R = "Return" +_r = "return" +_IC = "InstanceCount" +_re = "rejected" +_St = "State" +_st = "state" +_CT = "CreationTime" +_cT = "creationTime" +_fa = "failed" +_SIu = "SubnetId" +_sI = "subnetId" +_OIw = "OwnerId" +_oI = "ownerId" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_E = "Error" +_er = "error" +_dRr = "dryRun" +_act = "active" +_ex = "expired" +_P = "Protocol" +_pro = "protocol" +_N = "Name" +_Po = "Port" +_D = "Destinations" +_DSe = "DestinationSet" +_dSe = "destinationSet" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_po = "port" +_II = "InstanceId" +_iI = "instanceId" +_SGI = "SecurityGroupId" +_sGI = "securityGroupId" +_De = "Destination" +_Sou = "Source" +_so = "source" +_IT = "InstanceType" +_iT = "instanceType" +_SIRI = "SpotInstanceRequestId" +_sIRI = "spotInstanceRequestId" +_Des = "Description" +_ipv = "ipv4" +_ipv_ = "ipv6" +_def = "default" +_ASE = "AggregationStatusEnum" +_INCLUDED = "INCLUDED" +_inc = "included" +_EXCLUDED = "EXCLUDED" +_excl = "excluded" +_OA = "OutpostArn" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_ATl = "AllocationType" +_ca = "cancelling" +_ASCI = "ApplicationStatusCheckId" +_TTA = "TargetTagAssociations" +_aSCI = "applicationStatusCheckId" +_URBOI = "UnusedReservationBillingOwnerId" +_priv = "private" +_IIm = "ImageId" +_DI = "DeviceIndex" +_dI = "deviceIndex" +_dev = "device" +_smith = "smithy.api#sensitive" +_VIo = "VolumeId" +_Dev = "Device" +_ECI = "EbsCardIndex" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_ARs = "AssociatedResource" +_aRs = "associatedResource" +_IOS = "InstanceOwningService" +_iOS = "instanceOwningService" +_eCI = "ebsCardIndex" +_vIo = "volumeId" +_ATtt = "AttachTime" +_aTtt = "attachTime" +_CRFI = "CapacityReservationFleetId" +_cRFI = "capacityReservationFleetId" +_can = "cancelled" +_iC = "instanceCount" +_cl = "closed" +_CD = "CreateDate" +_cD = "createDate" +_SFRI = "SpotFleetRequestId" +_sFRI = "spotFleetRequestId" +_CBEC = "CancelBatchErrorCode" +_FRIDNE = "FLEET_REQUEST_ID_DOES_NOT_EXIST" +_fRIDNE = "fleetRequestIdDoesNotExist" +_FRIM = "FLEET_REQUEST_ID_MALFORMED" +_fRIM = "fleetRequestIdMalformed" +_FRNICS = "FLEET_REQUEST_NOT_IN_CANCELLABLE_STATE" +_fRNICS = "fleetRequestNotInCancellableState" +_UE = "UNEXPECTED_ERROR" +_uE = "unexpectedError" +_CSFRE = "CancelSpotFleetRequestsError" +_CSFREI = "CancelSpotFleetRequestsErrorItem" +_CSFRES = "CancelSpotFleetRequestsErrorSet" +_SIRIL = "SpotInstanceRequestIdList" +_CSIRI = "CancelSpotInstanceRequestsInput" +_cCSIRR = "com.amazonaws.ec2#CancelSpotInstanceRequestsRequest" +_SIRIp = "SpotInstanceRequestIds" +_CSIRS = "CancelSpotInstanceRequestState" +_op = "open" +_compl = "completed" +_CSIR = "CancelledSpotInstanceRequest" +_CSIRL = "CancelledSpotInstanceRequestList" +_CSIRO = "CancelSpotInstanceRequestsOutput" +_cCSIRRo = "com.amazonaws.ec2#CancelSpotInstanceRequestsResult" +_CSIRa = "CancelledSpotInstanceRequests" +_SIRS = "SpotInstanceRequestSet" +_sIRS = "spotInstanceRequestSet" +_CSIRan = "CancelSpotInstanceRequests" +_CPII = "ConfirmProductInstanceInput" +_cCPIR = "com.amazonaws.ec2#ConfirmProductInstanceRequest" +_PCr = "ProductCode" +_CPIO = "ConfirmProductInstanceOutput" +_cCPIRo = "com.amazonaws.ec2#ConfirmProductInstanceResult" +_CPI = "ConfirmProductInstance" +_CFII = "CopyFpgaImageInput" +_cCFIR = "com.amazonaws.ec2#CopyFpgaImageRequest" +_SFII = "SourceFpgaImageId" +_SRo = "SourceRegion" +_CFIO = "CopyFpgaImageOutput" +_cCFIRo = "com.amazonaws.ec2#CopyFpgaImageResult" +_FII = "FpgaImageId" +_fII = "fpgaImageId" +_CFI = "CopyFpgaImage" +_CICT = "CopyImageClientToken" +_IDR = "ImageDescriptionRequest" +_KKI = "KmsKeyId" +_INR = "ImageNameRequest" +_CII = "CopyImageInput" +_cCIR = "com.amazonaws.ec2#CopyImageRequest" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_SII = "SourceImageId" +_DOA = "DestinationOutpostArn" +_CITo = "CopyImageTags" +_SCCDM = "SnapshotCopyCompletionDurationMinutes" +_DAZ = "DestinationAvailabilityZone" +_DAZI = "DestinationAvailabilityZoneId" +_CIO = "CopyImageOutput" +_cCIRo = "com.amazonaws.ec2#CopyImageResult" +_iIm = "imageId" +_CIop = "CopyImage" +_SCDMR = "SnapshotCompletionDurationMinutesRequest" +_CSRPSU = "CopySnapshotRequestPSU" +_CSI = "CopySnapshotInput" +_cCSR = "com.amazonaws.ec2#CopySnapshotRequest" +_DRe = "DestinationRegion" +_dRe = "destinationRegion" +_PU = "PresignedUrl" +_pU = "presignedUrl" +_SSI = "SourceSnapshotId" +_CDM = "CompletionDurationMinutes" +_CSO = "CopySnapshotOutput" +_cCSRo = "com.amazonaws.ec2#CopySnapshotResult" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_CSo = "CopySnapshot" +_VT = "VolumeType" +_CVI = "CopyVolumesInput" +_cCVR = "com.amazonaws.ec2#CopyVolumesRequest" +_SVI = "SourceVolumeId" +_Io = "Iops" +_Si = "Size" +_MAE = "MultiAttachEnabled" +_Th = "Throughput" +_VAo = "VolumeAttachment" +_VAL = "VolumeAttachmentList" +_Vo = "Volume" +_oA = "outpostArn" +_sVI = "sourceVolumeId" +_iop = "iops" +_vT = "volumeType" +_FR = "FastRestored" +_fR = "fastRestored" +_mAE = "multiAttachEnabled" +_thr = "throughput" +_STs = "SseType" +_sTs = "sseType" +_Op = "Operator" +_ope = "operator" +_VIR = "VolumeInitializationRate" +_vIR = "volumeInitializationRate" +_VAol = "VolumeArn" +_vA = "volumeArn" +_siz = "size" +_CTr = "CreateTime" +_cTr = "createTime" +_Att = "Attachments" +_AStt = "AttachmentSet" +_aSt = "attachmentSet" +_VLo = "VolumeList" +_CVO = "CopyVolumesOutput" +_cCVRo = "com.amazonaws.ec2#CopyVolumesResult" +_Vol = "Volumes" +_VSo = "VolumeSet" +_vS = "volumeSet" +_CV = "CopyVolumes" +_HCPDRO = "HealthCheckPathDestinationRequestObject" +_HCPDRS = "HealthCheckPathDestinationRequestSet" +_HCPSRO = "HealthCheckPathSourceRequestObject" +_HCPRO = "HealthCheckPathRequestObject" +_HCPRL = "HealthCheckPathRequestList" +_IGPS = "InitializationGracePeriodSeconds" +_ISE = "IpScopeEnum" +_PRIVATE = "PRIVATE" +_IVE = "IpVersionEnum" +_IPV = "IPV4" +_IPV_ = "IPV6" +_PN = "PortNumber" +_NPE = "NetworkProtocolEnum" +_HTTP = "HTTP" +_ht = "http" +_HTTPS = "HTTPS" +_htt = "https" +_CASCI = "CreateApplicationStatusCheckInput" +_cCASCR = "com.amazonaws.ec2#CreateApplicationStatusCheckRequest" +_HCP = "HealthCheckPaths" +_HCPe = "HealthCheckPath" +_Ag = "Aggregation" +_Pa = "Path" +_IVp = "IpVersion" +_ISpc = "IpScope" +_Int = "Interval" +_Tim = "Timeout" +_FT = "FailureThreshold" +_STu = "SuccessThreshold" +_SCM = "StatusCodeMatcher" +_HCPDROe = "HealthCheckPathDestinationResponseObject" +_HCPDRL = "HealthCheckPathDestinationResponseList" +_HCPSROe = "HealthCheckPathSourceResponseObject" +_HCPROe = "HealthCheckPathResponseObject" +_HCPRLe = "HealthCheckPathResponseList" +_CTKVRPu = "CustomTagKeyValueResponsePair" +_CKVPRSu = "CustomKeyValuePairResponseSet" +_ASCRO = "ApplicationStatusCheckResponseObject" +_agg = "aggregation" +_HCPS = "HealthCheckPathSet" +_hCPS = "healthCheckPathSet" +_pat = "path" +_iVp = "ipVersion" +_iSpc = "ipScope" +_int = "interval" +_tim = "timeout" +_fT = "failureThreshold" +_sTu = "successThreshold" +_sCM = "statusCodeMatcher" +_iGPS = "initializationGracePeriodSeconds" +_LUA = "LastUpdatedAt" +_lUA = "lastUpdatedAt" +_TTAS = "TargetTagAssociationSet" +_tTAS = "targetTagAssociationSet" +_MT = "ModifyTime" +_mT = "modifyTime" +_DTe = "DeletionTime" +_dT = "deletionTime" +_CASCO = "CreateApplicationStatusCheckOutput" +_cCASCRo = "com.amazonaws.ec2#CreateApplicationStatusCheckResult" +_ASCp = "ApplicationStatusCheck" +_aSC = "applicationStatusCheck" +_CASC = "CreateApplicationStatusCheck" +_OF = "OutputFormat" +_CSV = "CSV" +_cs = "csv" +_PARQUET = "PARQUET" +_par = "parquet" +_Sch = "Schedule" +_HOURLY = "HOURLY" +_hou = "hourly" +_CCMDEI = "CreateCapacityManagerDataExportInput" +_cCCMDER = "com.amazonaws.ec2#CreateCapacityManagerDataExportRequest" +_SBN = "S3BucketName" +_SBP = "S3BucketPrefix" +_CMDEI = "CapacityManagerDataExportId" +_CCMDEO = "CreateCapacityManagerDataExportOutput" +_cCCMDERo = "com.amazonaws.ec2#CreateCapacityManagerDataExportResult" +_cMDEI = "capacityManagerDataExportId" +_CCMDE = "CreateCapacityManagerDataExport" +_CRCD = "CapacityReservationCommitmentDuration" +_CRDP = "CapacityReservationDeliveryPreference" +_FIXED = "FIXED" +_fix = "fixed" +_INCREMENTAL = "INCREMENTAL" +_incr = "incremental" +_EDT = "EndDateType" +_unl = "unlimited" +_li = "limited" +_IMC = "InstanceMatchCriteria" +_ta = "targeted" +_PGA = "PlacementGroupArn" +_CRT = "CapacityReservationTenancy" +_ded = "dedicated" +_CCRIr = "CreateCapacityReservationInput" +_cCCRRom = "com.amazonaws.ec2#CreateCapacityReservationRequest" +_IPns = "InstancePlatform" +_Ten = "Tenancy" +_EO = "EbsOptimized" +_ESp = "EphemeralStorage" +_ED = "EndDate" +_SDt = "StartDate" +_CDo = "CommitmentDuration" +_DPel = "DeliveryPreference" +_CRAD = "CapacityReservationAdjustmentDetails" +_sDt = "startDate" +_eD = "endDate" +_CED = "CommitmentEndDate" +_cED = "commitmentEndDate" +_eDT = "endDateType" +_cDo = "commitmentDuration" +_CRAS = "CapacityReservationAdjustmentStatus" +_req = "requested" +_ap = "applied" +_CAME = "CapacityAllocationMetadataEntry" +_CAML = "CapacityAllocationMetadataList" +_CAa = "CapacityAllocation" +_aTl = "allocationType" +_Cou = "Count" +_cou = "count" +_AMl = "AllocationMetadata" +_AML = "AllocationMetadataList" +_aML = "allocationMetadataList" +_CAap = "CapacityAllocations" +_CBI = "CapacityBlockId" +_CRCI = "CapacityReservationCommitmentInfo" +_CIC = "CommittedInstanceCount" +_cIC = "committedInstanceCount" +_ITnt = "InterruptionType" +_adh = "adhoc" +_ICRAS = "InterruptibleCapacityReservationAllocationStatus" +_up = "updating" +_canc = "canceling" +_cance = "canceled" +_ZSP = "ZeroSizePreference" +_ret = "retain" +_ICA = "InterruptibleCapacityAllocation" +_TIC = "TargetInstanceCount" +_tIC = "targetInstanceCount" +_ICRI = "InterruptibleCapacityReservationId" +_iCRI = "interruptibleCapacityReservationId" +_iTn = "interruptionType" +_zSP = "zeroSizePreference" +_IInt = "InterruptionInfo" +_SCRI = "SourceCapacityReservationId" +_sCRI = "sourceCapacityReservationId" +_CRLS = "CapacityReservationLaunchStatus" +_LAUNCHABLE = "LAUNCHABLE" +_lau = "launchable" +_UNLAUNCHABLE = "UNLAUNCHABLE" +_unla = "unlaunchable" +_CRTa = "CapacityReservationType" +_DEFAULT = "DEFAULT" +_CB_ = "CAPACITY_BLOCK" +_CRS = "CapacityReservationState" +_sch = "scheduled" +_pp__ = "payment_pending" +_pp___ = "payment-pending" +_pf____ = "payment_failed" +_pf_____ = "payment-failed" +_asse = "assessing" +_dela = "delayed" +_uns = "unsupported" +_unav = "unavailable" +_CRap = "CapacityReservation" +_cRI = "capacityReservationId" +_CRA = "CapacityReservationArn" +_cRA = "capacityReservationArn" +_iPns = "instancePlatform" +_ten = "tenancy" +_TICo = "TotalInstanceCount" +_tICo = "totalInstanceCount" +_AIC = "AvailableInstanceCount" +_aIC = "availableInstanceCount" +_eO = "ebsOptimized" +_eSp = "ephemeralStorage" +_iMC = "instanceMatchCriteria" +_pGA = "placementGroupArn" +_CAS = "CapacityAllocationSet" +_cAS = "capacityAllocationSet" +_RTes = "ReservationType" +_rTe = "reservationType" +_uRBOI = "unusedReservationBillingOwnerId" +_CIom = "CommitmentInfo" +_cIom = "commitmentInfo" +_dP = "deliveryPreference" +_cBI = "capacityBlockId" +_Inte = "Interruptible" +_inte = "interruptible" +_iCA = "interruptibleCapacityAllocation" +_iIn = "interruptionInfo" +_ASd = "AdjustmentStatus" +_aSd = "adjustmentStatus" +_ADdj = "AdjustmentDetails" +_aD = "adjustmentDetails" +_OSD = "OriginalStartDate" +_oSD = "originalStartDate" +_LSa = "LaunchStatus" +_lS = "launchStatus" +_CCROr = "CreateCapacityReservationOutput" +_cCCRRoma = "com.amazonaws.ec2#CreateCapacityReservationResult" +_cRa = "capacityReservation" +_CCRr = "CreateCapacityReservation" +_CRIS = "CapacityReservationIdSet" + +AGGREGATION_STATUS_ENUM: StaticSchema = ( + 14, + n0, + _ASE, + 0, + (_INCLUDED, _EXCLUDED), + ((-1, {_sV: _inc}), (-1, {_sV: _excl})), +) + +CANCEL_BATCH_ERROR_CODE: StaticSchema = ( + 14, + n0, + _CBEC, + 0, + (_FRIDNE, _FRIM, _FRNICS, _UE), + ((-1, {_sV: _fRIDNE}), (-1, {_sV: _fRIM}), (-1, {_sV: _fRNICS}), (-1, {_sV: _uE})), +) + +CANCEL_SPOT_FLEET_REQUESTS_ERROR: StaticSchema = ( + 18, + n0, + _CSFRE, + 0, + (_C, _Me), + ( + (CANCEL_BATCH_ERROR_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +CANCEL_SPOT_FLEET_REQUESTS_ERROR_ITEM: StaticSchema = ( + 18, + n0, + _CSFREI, + 0, + (_E, _SFRI), + ( + (CANCEL_SPOT_FLEET_REQUESTS_ERROR, {_aQN: _E, _sN: _er}), + (lambda: schemas.STRING, {_aQN: _SFRI, _sN: _sFRI}), + ), +) + +CANCEL_SPOT_FLEET_REQUESTS_ERROR_SET: StaticSchema = ( + 16, + n0, + _CSFRES, + 0, + (_me,), + ((CANCEL_SPOT_FLEET_REQUESTS_ERROR_ITEM, {_sN: _i}),), +) + +SPOT_INSTANCE_REQUEST_ID: StaticSchema = (3, n0, _SIRI, 0) + +SPOT_INSTANCE_REQUEST_ID_LIST: StaticSchema = ( + 16, + n0, + _SIRIL, + 0, + (_me,), + ((SPOT_INSTANCE_REQUEST_ID, {_sN: _SIRI}),), +) + +CANCEL_SPOT_INSTANCE_REQUESTS_INPUT: StaticSchema = ( + 18, + n0, + _CSIRI, + {_sSI: _cCSIRR, _sm: None}, + (_DR, _SIRIp), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (SPOT_INSTANCE_REQUEST_ID_LIST, {_sN: _SIRI, _smi: None}), + ), +) + +CANCEL_SPOT_INSTANCE_REQUESTS_OUTPUT: StaticSchema = ( + 18, + n0, + _CSIRO, + {_sSI: _cCSIRRo, _smit: None}, + (_CSIRa,), + ((lambda: CANCELLED_SPOT_INSTANCE_REQUEST_LIST, {_aQN: _SIRS, _sN: _sIRS}),), +) + +CANCEL_SPOT_INSTANCE_REQUESTS: StaticOperationSchema = ( + 23, + n0, + _CSIRan, + 0, + CANCEL_SPOT_INSTANCE_REQUESTS_INPUT, + CANCEL_SPOT_INSTANCE_REQUESTS_OUTPUT, + (), +) + +CANCEL_SPOT_INSTANCE_REQUEST_STATE: StaticSchema = ( + 14, + n0, + _CSIRS, + 0, + (_act, _op, _cl, _can, _compl), + ( + (-1, {_sV: _act}), + (-1, {_sV: _op}), + (-1, {_sV: _cl}), + (-1, {_sV: _can}), + (-1, {_sV: _compl}), + ), +) + +CANCELLED_SPOT_INSTANCE_REQUEST: StaticSchema = ( + 18, + n0, + _CSIR, + 0, + (_SIRI, _St), + ( + (lambda: schemas.STRING, {_aQN: _SIRI, _sN: _sIRI}), + (CANCEL_SPOT_INSTANCE_REQUEST_STATE, {_aQN: _St, _sN: _st}), + ), +) + +CANCELLED_SPOT_INSTANCE_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _CSIRL, + 0, + (_me,), + ((CANCELLED_SPOT_INSTANCE_REQUEST, {_sN: _i}),), +) + +CONFIRM_PRODUCT_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _CPII, + {_sSI: _cCPIR, _sm: None}, + (_II, _PCr, _DR), + ( + (lambda: schemas.INSTANCE_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CONFIRM_PRODUCT_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _CPIO, + {_sSI: _cCPIRo, _smit: None}, + (_R, _OIw), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + ), +) + +CONFIRM_PRODUCT_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _CPI, + 0, + CONFIRM_PRODUCT_INSTANCE_INPUT, + CONFIRM_PRODUCT_INSTANCE_OUTPUT, + (), +) + +COPY_FPGA_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _CFII, + {_sSI: _cCFIR, _sm: None}, + (_DR, _SFII, _Des, _N, _SRo, _CTl), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + ), +) + +COPY_FPGA_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _CFIO, + {_sSI: _cCFIRo, _smit: None}, + (_FII,), + ((lambda: schemas.STRING, {_aQN: _FII, _sN: _fII}),), +) + +COPY_FPGA_IMAGE: StaticOperationSchema = ( + 23, + n0, + _CFI, + 0, + COPY_FPGA_IMAGE_INPUT, + COPY_FPGA_IMAGE_OUTPUT, + (), +) + +COPY_IMAGE_CLIENT_TOKEN: StaticSchema = (3, n0, _CICT, 0) + +IMAGE_DESCRIPTION_REQUEST: StaticSchema = (3, n0, _IDR, 0) + +IMAGE_NAME_REQUEST: StaticSchema = (3, n0, _INR, 0) + +COPY_IMAGE_INPUT: StaticSchema = ( + 18, + n0, + _CII, + {_sSI: _cCIR, _sm: None}, + ( + _CTl, + _Des, + _En, + _KKI, + _N, + _SII, + _SRo, + _DOA, + _CITo, + _TSa, + _SCCDM, + _DAZ, + _DAZI, + _DR, + ), + ( + (COPY_IMAGE_CLIENT_TOKEN, 2), + (IMAGE_DESCRIPTION_REQUEST, 0), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), + (IMAGE_NAME_REQUEST, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.LONG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +COPY_IMAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _CIO, + {_sSI: _cCIRo, _smit: None}, + (_IIm,), + ((lambda: schemas.STRING, {_aQN: _IIm, _sN: _iIm}),), +) + +COPY_IMAGE: StaticOperationSchema = ( + 23, + n0, + _CIop, + 0, + COPY_IMAGE_INPUT, + COPY_IMAGE_OUTPUT, + (), +) + +SNAPSHOT_COMPLETION_DURATION_MINUTES_REQUEST: StaticSchema = (7, n0, _SCDMR, 0) + +COPY_SNAPSHOT_REQUEST_PSU: StaticSchema = (3, n0, _CSRPSU, 4) + +COPY_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_sSI: _cCSR, _sm: None}, + (_Des, _DOA, _DRe, _En, _KKI, _PU, _SRo, _SSI, _TSa, _CDM, _DAZ, _DR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, {_aQN: _DRe, _sN: _dRe}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), + (COPY_SNAPSHOT_REQUEST_PSU, {_aQN: _PU, _sN: _pU}), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (SNAPSHOT_COMPLETION_DURATION_MINUTES_REQUEST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +COPY_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_sSI: _cCSRo, _smit: None}, + (_Tag, _SIn), + ( + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + ), +) + +COPY_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _CSo, + 0, + COPY_SNAPSHOT_INPUT, + COPY_SNAPSHOT_OUTPUT, + (), +) + +COPY_VOLUMES_INPUT: StaticSchema = ( + 18, + n0, + _CVI, + {_sSI: _cCVR, _sm: None}, + (_SVI, _Io, _Si, _VT, _DR, _TSa, _MAE, _Th, _CTl, _En, _KKI), + ( + (lambda: schemas.VOLUME_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.VOLUME_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.KMS_KEY_ID, 0), + ), +) + +COPY_VOLUMES_OUTPUT: StaticSchema = ( + 18, + n0, + _CVO, + {_sSI: _cCVRo, _smit: None}, + (_Vol,), + ((lambda: VOLUME_LIST, {_aQN: _VSo, _sN: _vS}),), +) + +COPY_VOLUMES: StaticOperationSchema = ( + 23, + n0, + _CV, + 0, + COPY_VOLUMES_INPUT, + COPY_VOLUMES_OUTPUT, + (), +) + +VOLUME_ATTACHMENT: StaticSchema = ( + 18, + n0, + _VAo, + 0, + (_DOT, _ARs, _IOS, _ECI, _VIo, _II, _Dev, _St, _ATtt), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.STRING, {_aQN: _ARs, _sN: _aRs}), + (lambda: schemas.STRING, {_aQN: _IOS, _sN: _iOS}), + (lambda: schemas.INTEGER, {_aQN: _ECI, _sN: _eCI}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.STRING, {_aQN: _Dev, _sN: _dev}), + (lambda: schemas.VOLUME_ATTACHMENT_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.DATE_TIME, {_aQN: _ATtt, _sN: _aTtt}), + ), +) + +VOLUME_ATTACHMENT_LIST: StaticSchema = ( + 16, + n0, + _VAL, + 0, + (_me,), + ((VOLUME_ATTACHMENT, {_sN: _i}),), +) + +VOLUME: StaticSchema = ( + 18, + n0, + _Vo, + 0, + ( + _AZI, + _OA, + _SVI, + _Io, + _Tag, + _VT, + _FR, + _MAE, + _Th, + _STs, + _Op, + _VIR, + _VAol, + _OIw, + _VIo, + _Si, + _SIn, + _AZ, + _St, + _CTr, + _Att, + _En, + _KKI, + ), + ( + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _SVI, _sN: _sVI}), + (lambda: schemas.INTEGER, {_aQN: _Io, _sN: _iop}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), + (lambda: schemas.BOOLEAN, {_aQN: _FR, _sN: _fR}), + (lambda: schemas.BOOLEAN, {_aQN: _MAE, _sN: _mAE}), + (lambda: schemas.INTEGER, {_aQN: _Th, _sN: _thr}), + (lambda: schemas.SSE_TYPE, {_aQN: _STs, _sN: _sTs}), + (lambda: schemas.OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + (lambda: schemas.INTEGER, {_aQN: _VIR, _sN: _vIR}), + (lambda: schemas.STRING, {_aQN: _VAol, _sN: _vA}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.INTEGER, {_aQN: _Si, _sN: _siz}), + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.VOLUME_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (VOLUME_ATTACHMENT_LIST, {_aQN: _AStt, _sN: _aSt}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}), + ), +) + +VOLUME_LIST: StaticSchema = (16, n0, _VLo, 0, (_me,), ((VOLUME, {_sN: _i}),)) + +HEALTH_CHECK_PATH_DESTINATION_REQUEST_OBJECT: StaticSchema = ( + 18, + n0, + _HCPDRO, + 0, + (_SIu, _SGI), + ((lambda: schemas.SUBNET_ID, 0), (lambda: schemas.SECURITY_GROUP_ID, 0)), +) + +HEALTH_CHECK_PATH_DESTINATION_REQUEST_SET: StaticSchema = ( + 16, + n0, + _HCPDRS, + 0, + (_me,), + ((HEALTH_CHECK_PATH_DESTINATION_REQUEST_OBJECT, {_sN: _i}),), +) + +HEALTH_CHECK_PATH_SOURCE_REQUEST_OBJECT: StaticSchema = ( + 18, + n0, + _HCPSRO, + 0, + (_SIu, _SGI), + ((lambda: schemas.SUBNET_ID, 0), (lambda: schemas.SECURITY_GROUP_ID, 0)), +) + +HEALTH_CHECK_PATH_REQUEST_OBJECT: StaticSchema = ( + 18, + n0, + _HCPRO, + 0, + (_Sou, _D), + ( + (HEALTH_CHECK_PATH_SOURCE_REQUEST_OBJECT, 0), + (HEALTH_CHECK_PATH_DESTINATION_REQUEST_SET, {_sN: _De}), + ), +) + +HEALTH_CHECK_PATH_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _HCPRL, + 0, + (_me,), + ((HEALTH_CHECK_PATH_REQUEST_OBJECT, {_sN: _i}),), +) + +INITIALIZATION_GRACE_PERIOD_SECONDS: StaticSchema = (7, n0, _IGPS, 0) + +IP_SCOPE_ENUM: StaticSchema = (14, n0, _ISE, 0, (_PRIVATE,), ((-1, {_sV: _priv}),)) + +IP_VERSION_ENUM: StaticSchema = ( + 14, + n0, + _IVE, + 0, + (_IPV, _IPV_), + ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_})), +) + +PORT_NUMBER: StaticSchema = (7, n0, _PN, 0) + +NETWORK_PROTOCOL_ENUM: StaticSchema = ( + 14, + n0, + _NPE, + 0, + (_HTTP, _HTTPS), + ((-1, {_sV: _ht}), (-1, {_sV: _htt})), +) + +CREATE_APPLICATION_STATUS_CHECK_INPUT: StaticSchema = ( + 18, + n0, + _CASCI, + {_sSI: _cCASCR, _sm: None}, + ( + _HCP, + _Ag, + _P, + _Po, + _Pa, + _DI, + _IVp, + _ISpc, + _Int, + _Tim, + _FT, + _STu, + _SCM, + _IGPS, + _TSa, + _CTl, + _DR, + ), + ( + (HEALTH_CHECK_PATH_REQUEST_LIST, {_sN: _HCPe}), + (AGGREGATION_STATUS_ENUM, 0), + (NETWORK_PROTOCOL_ENUM, 1), + (PORT_NUMBER, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (IP_VERSION_ENUM, 0), + (IP_SCOPE_ENUM, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (INITIALIZATION_GRACE_PERIOD_SECONDS, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_APPLICATION_STATUS_CHECK_OUTPUT: StaticSchema = ( + 18, + n0, + _CASCO, + {_sSI: _cCASCRo, _smit: None}, + (_ASCp,), + ((lambda: APPLICATION_STATUS_CHECK_RESPONSE_OBJECT, {_aQN: _ASCp, _sN: _aSC}),), +) + +CREATE_APPLICATION_STATUS_CHECK: StaticOperationSchema = ( + 23, + n0, + _CASC, + 0, + CREATE_APPLICATION_STATUS_CHECK_INPUT, + CREATE_APPLICATION_STATUS_CHECK_OUTPUT, + (), +) + +HEALTH_CHECK_PATH_DESTINATION_RESPONSE_OBJECT: StaticSchema = ( + 18, + n0, + _HCPDROe, + 0, + (_SIu, _SGI), + ( + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _SGI, _sN: _sGI}), + ), +) + +HEALTH_CHECK_PATH_DESTINATION_RESPONSE_LIST: StaticSchema = ( + 16, + n0, + _HCPDRL, + 0, + (_me,), + ((HEALTH_CHECK_PATH_DESTINATION_RESPONSE_OBJECT, {_sN: _i}),), +) + +HEALTH_CHECK_PATH_SOURCE_RESPONSE_OBJECT: StaticSchema = ( + 18, + n0, + _HCPSROe, + 0, + (_SIu, _SGI), + ( + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _SGI, _sN: _sGI}), + ), +) + +HEALTH_CHECK_PATH_RESPONSE_OBJECT: StaticSchema = ( + 18, + n0, + _HCPROe, + 0, + (_Sou, _D), + ( + (HEALTH_CHECK_PATH_SOURCE_RESPONSE_OBJECT, {_aQN: _Sou, _sN: _so}), + (HEALTH_CHECK_PATH_DESTINATION_RESPONSE_LIST, {_aQN: _DSe, _sN: _dSe}), + ), +) + +HEALTH_CHECK_PATH_RESPONSE_LIST: StaticSchema = ( + 16, + n0, + _HCPRLe, + 0, + (_me,), + ((HEALTH_CHECK_PATH_RESPONSE_OBJECT, {_sN: _i}),), +) + +CUSTOM_TAG_KEY_VALUE_RESPONSE_PAIR: StaticSchema = ( + 18, + n0, + _CTKVRPu, + 0, + (_Ke, _Va), + ( + (lambda: schemas.STRING, {_aQN: _Ke, _sN: _ke}), + (lambda: schemas.STRING, {_aQN: _Va, _sN: _va}), + ), +) + +CUSTOM_KEY_VALUE_PAIR_RESPONSE_SET: StaticSchema = ( + 16, + n0, + _CKVPRSu, + 0, + (_me,), + ((CUSTOM_TAG_KEY_VALUE_RESPONSE_PAIR, {_sN: _i}),), +) + +APPLICATION_STATUS_CHECK_RESPONSE_OBJECT: StaticSchema = ( + 18, + n0, + _ASCRO, + 0, + ( + _ASCI, + _Ag, + _HCP, + _P, + _Po, + _Pa, + _DI, + _IVp, + _ISpc, + _Int, + _Tim, + _FT, + _STu, + _SCM, + _IGPS, + _LUA, + _TTA, + _Tag, + _CT, + _MT, + _DTe, + ), + ( + (lambda: schemas.APPLICATION_STATUS_CHECK_ID, {_aQN: _ASCI, _sN: _aSCI}), + (AGGREGATION_STATUS_ENUM, {_aQN: _Ag, _sN: _agg}), + (HEALTH_CHECK_PATH_RESPONSE_LIST, {_aQN: _HCPS, _sN: _hCPS}), + (NETWORK_PROTOCOL_ENUM, {_aQN: _P, _sN: _pro}), + (lambda: schemas.INTEGER, {_aQN: _Po, _sN: _po}), + (lambda: schemas.STRING, {_aQN: _Pa, _sN: _pat}), + (lambda: schemas.INTEGER, {_aQN: _DI, _sN: _dI}), + (IP_VERSION_ENUM, {_aQN: _IVp, _sN: _iVp}), + (IP_SCOPE_ENUM, {_aQN: _ISpc, _sN: _iSpc}), + (lambda: schemas.INTEGER, {_aQN: _Int, _sN: _int}), + (lambda: schemas.INTEGER, {_aQN: _Tim, _sN: _tim}), + (lambda: schemas.INTEGER, {_aQN: _FT, _sN: _fT}), + (lambda: schemas.INTEGER, {_aQN: _STu, _sN: _sTu}), + (lambda: schemas.STRING, {_aQN: _SCM, _sN: _sCM}), + (INITIALIZATION_GRACE_PERIOD_SECONDS, {_aQN: _IGPS, _sN: _iGPS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _LUA, _sN: _lUA}), + (CUSTOM_KEY_VALUE_PAIR_RESPONSE_SET, {_aQN: _TTAS, _sN: _tTAS}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CT, _sN: _cT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _MT, _sN: _mT}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _DTe, _sN: _dT}), + ), +) + +OUTPUT_FORMAT: StaticSchema = ( + 14, + n0, + _OF, + 0, + (_CSV, _PARQUET), + ((-1, {_sV: _cs}), (-1, {_sV: _par})), +) + +SCHEDULE: StaticSchema = (14, n0, _Sch, 0, (_HOURLY,), ((-1, {_sV: _hou}),)) + +CREATE_CAPACITY_MANAGER_DATA_EXPORT_INPUT: StaticSchema = ( + 18, + n0, + _CCMDEI, + {_sSI: _cCCMDER, _sm: None}, + (_SBN, _SBP, _Sch, _OF, _CTl, _DR, _TSa), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (SCHEDULE, 1), + (OUTPUT_FORMAT, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _CCMDEO, + {_sSI: _cCCMDERo, _smit: None}, + (_CMDEI,), + ((lambda: CAPACITY_MANAGER_DATA_EXPORT_ID, {_aQN: _CMDEI, _sN: _cMDEI}),), +) + +CREATE_CAPACITY_MANAGER_DATA_EXPORT: StaticOperationSchema = ( + 23, + n0, + _CCMDE, + 0, + CREATE_CAPACITY_MANAGER_DATA_EXPORT_INPUT, + CREATE_CAPACITY_MANAGER_DATA_EXPORT_OUTPUT, + (), +) + +CAPACITY_MANAGER_DATA_EXPORT_ID: StaticSchema = (3, n0, _CMDEI, 0) + +CAPACITY_RESERVATION_COMMITMENT_DURATION: StaticSchema = (8, n0, _CRCD, 0) + +CAPACITY_RESERVATION_DELIVERY_PREFERENCE: StaticSchema = ( + 14, + n0, + _CRDP, + 0, + (_FIXED, _INCREMENTAL), + ((-1, {_sV: _fix}), (-1, {_sV: _incr})), +) + +END_DATE_TYPE: StaticSchema = ( + 14, + n0, + _EDT, + 0, + (_unl, _li), + ((-1, {_sV: _unl}), (-1, {_sV: _li})), +) + +INSTANCE_MATCH_CRITERIA: StaticSchema = ( + 14, + n0, + _IMC, + 0, + (_op, _ta), + ((-1, {_sV: _op}), (-1, {_sV: _ta})), +) + +OUTPOST_ARN: StaticSchema = (3, n0, _OA, 0) + +PLACEMENT_GROUP_ARN: StaticSchema = (3, n0, _PGA, 0) + +CAPACITY_RESERVATION_TENANCY: StaticSchema = ( + 14, + n0, + _CRT, + 0, + (_def, _ded), + ((-1, {_sV: _def}), (-1, {_sV: _ded})), +) + +CREATE_CAPACITY_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _CCRIr, + {_sSI: _cCCRRom, _sm: None}, + ( + _CTl, + _IT, + _IPns, + _AZ, + _AZI, + _Ten, + _IC, + _EO, + _ESp, + _ED, + _EDT, + _IMC, + _TSa, + _DR, + _OA, + _PGA, + _SDt, + _CDo, + _DPel, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.CAPACITY_RESERVATION_INSTANCE_PLATFORM, 1), + (lambda: schemas.AVAILABILITY_ZONE_NAME, 0), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + (CAPACITY_RESERVATION_TENANCY, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.DATE_TIME, 0), + (END_DATE_TYPE, 0), + (INSTANCE_MATCH_CRITERIA, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (OUTPOST_ARN, 0), + (PLACEMENT_GROUP_ARN, 0), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (CAPACITY_RESERVATION_COMMITMENT_DURATION, 0), + (CAPACITY_RESERVATION_DELIVERY_PREFERENCE, 0), + ), +) + +CREATE_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CCROr, + {_sSI: _cCCRRoma, _smit: None}, + (_CRap,), + ((lambda: CAPACITY_RESERVATION, {_aQN: _CRap, _sN: _cRa}),), +) + +CREATE_CAPACITY_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _CCRr, + 0, + CREATE_CAPACITY_RESERVATION_INPUT, + CREATE_CAPACITY_RESERVATION_OUTPUT, + (), +) + +CAPACITY_RESERVATION_ADJUSTMENT_DETAILS: StaticSchema = ( + 18, + n0, + _CRAD, + 0, + (_SDt, _ED, _CED, _EDT, _CDo), + ( + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CED, _sN: _cED}), + (lambda: schemas.STRING, {_aQN: _EDT, _sN: _eDT}), + (lambda: schemas.BOXED_LONG, {_aQN: _CDo, _sN: _cDo}), + ), +) + +CAPACITY_RESERVATION_ADJUSTMENT_STATUS: StaticSchema = ( + 14, + n0, + _CRAS, + 0, + (_req, _ap, _re), + ((-1, {_sV: _req}), (-1, {_sV: _ap}), (-1, {_sV: _re})), +) + +CAPACITY_ALLOCATION_METADATA_ENTRY: StaticSchema = ( + 18, + n0, + _CAME, + 0, + (_Ke, _Va), + ( + (lambda: schemas.STRING, {_aQN: _Ke, _sN: _ke}), + (lambda: schemas.STRING, {_aQN: _Va, _sN: _va}), + ), +) + +CAPACITY_ALLOCATION_METADATA_LIST: StaticSchema = ( + 16, + n0, + _CAML, + 0, + (_me,), + ((CAPACITY_ALLOCATION_METADATA_ENTRY, {_sN: _i}),), +) + +CAPACITY_ALLOCATION: StaticSchema = ( + 18, + n0, + _CAa, + 0, + (_ATl, _Cou, _AMl), + ( + (lambda: schemas.ALLOCATION_TYPE, {_aQN: _ATl, _sN: _aTl}), + (lambda: schemas.INTEGER, {_aQN: _Cou, _sN: _cou}), + (CAPACITY_ALLOCATION_METADATA_LIST, {_aQN: _AML, _sN: _aML}), + ), +) + +CAPACITY_ALLOCATIONS: StaticSchema = ( + 16, + n0, + _CAap, + 0, + (_me,), + ((CAPACITY_ALLOCATION, {_sN: _i}),), +) + +CAPACITY_BLOCK_ID: StaticSchema = (3, n0, _CBI, 0) + +CAPACITY_RESERVATION_COMMITMENT_INFO: StaticSchema = ( + 18, + n0, + _CRCI, + 0, + (_CIC, _CED, _CDo), + ( + (lambda: schemas.INTEGER, {_aQN: _CIC, _sN: _cIC}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CED, _sN: _cED}), + (lambda: schemas.BOXED_LONG, {_aQN: _CDo, _sN: _cDo}), + ), +) + +INTERRUPTION_TYPE: StaticSchema = (14, n0, _ITnt, 0, (_adh,), ((-1, {_sV: _adh}),)) + +INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_STATUS: StaticSchema = ( + 14, + n0, + _ICRAS, + 0, + (_p, _act, _up, _canc, _cance, _fa), + ( + (-1, {_sV: _p}), + (-1, {_sV: _act}), + (-1, {_sV: _up}), + (-1, {_sV: _canc}), + (-1, {_sV: _cance}), + (-1, {_sV: _fa}), + ), +) + +ZERO_SIZE_PREFERENCE: StaticSchema = ( + 14, + n0, + _ZSP, + 0, + (_ret, _def), + ((-1, {_sV: _ret}), (-1, {_sV: _def})), +) + +INTERRUPTIBLE_CAPACITY_ALLOCATION: StaticSchema = ( + 18, + n0, + _ICA, + 0, + (_IC, _TIC, _Sta, _ICRI, _ITnt, _ZSP), + ( + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.INTEGER, {_aQN: _TIC, _sN: _tIC}), + (INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _ICRI, _sN: _iCRI}), + (INTERRUPTION_TYPE, {_aQN: _ITnt, _sN: _iTn}), + (ZERO_SIZE_PREFERENCE, {_aQN: _ZSP, _sN: _zSP}), + ), +) + +INTERRUPTION_INFO: StaticSchema = ( + 18, + n0, + _IInt, + 0, + (_SCRI, _ITnt), + ( + (lambda: schemas.STRING, {_aQN: _SCRI, _sN: _sCRI}), + (INTERRUPTION_TYPE, {_aQN: _ITnt, _sN: _iTn}), + ), +) + +CAPACITY_RESERVATION_LAUNCH_STATUS: StaticSchema = ( + 14, + n0, + _CRLS, + 0, + (_LAUNCHABLE, _UNLAUNCHABLE), + ((-1, {_sV: _lau}), (-1, {_sV: _unla})), +) + +CAPACITY_RESERVATION_TYPE: StaticSchema = ( + 14, + n0, + _CRTa, + 0, + (_DEFAULT, _CB_), + ((-1, {_sV: _def}), (-1, {_sV: _cb_})), +) + +CAPACITY_RESERVATION_STATE: StaticSchema = ( + 14, + n0, + _CRS, + 0, + (_act, _ex, _can, _p, _fa, _sch, _pp__, _pf____, _asse, _dela, _uns, _ca, _unav), + ( + (-1, {_sV: _act}), + (-1, {_sV: _ex}), + (-1, {_sV: _can}), + (-1, {_sV: _p}), + (-1, {_sV: _fa}), + (-1, {_sV: _sch}), + (-1, {_sV: _pp___}), + (-1, {_sV: _pf_____}), + (-1, {_sV: _asse}), + (-1, {_sV: _dela}), + (-1, {_sV: _uns}), + (-1, {_sV: _ca}), + (-1, {_sV: _unav}), + ), +) + +CAPACITY_RESERVATION: StaticSchema = ( + 18, + n0, + _CRap, + 0, + ( + _CRI, + _OIw, + _CRA, + _AZI, + _IT, + _IPns, + _AZ, + _Ten, + _TICo, + _AIC, + _EO, + _ESp, + _St, + _SDt, + _ED, + _EDT, + _IMC, + _CD, + _Tag, + _OA, + _CRFI, + _PGA, + _CAap, + _RTes, + _URBOI, + _CIom, + _DPel, + _CBI, + _Inte, + _ICA, + _IInt, + _ASd, + _ADdj, + _OSD, + _ZSP, + _LSa, + ), + ( + (lambda: schemas.STRING, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _CRA, _sN: _cRA}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _IT, _sN: _iT}), + ( + lambda: schemas.CAPACITY_RESERVATION_INSTANCE_PLATFORM, + {_aQN: _IPns, _sN: _iPns}, + ), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: schemas.INTEGER, {_aQN: _TICo, _sN: _tICo}), + (lambda: schemas.INTEGER, {_aQN: _AIC, _sN: _aIC}), + (lambda: schemas.BOOLEAN, {_aQN: _EO, _sN: _eO}), + (lambda: schemas.BOOLEAN, {_aQN: _ESp, _sN: _eSp}), + (CAPACITY_RESERVATION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), + (lambda: schemas.DATE_TIME, {_aQN: _ED, _sN: _eD}), + (END_DATE_TYPE, {_aQN: _EDT, _sN: _eDT}), + (INSTANCE_MATCH_CRITERIA, {_aQN: _IMC, _sN: _iMC}), + (lambda: schemas.DATE_TIME, {_aQN: _CD, _sN: _cD}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (OUTPOST_ARN, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _CRFI, _sN: _cRFI}), + (PLACEMENT_GROUP_ARN, {_aQN: _PGA, _sN: _pGA}), + (CAPACITY_ALLOCATIONS, {_aQN: _CAS, _sN: _cAS}), + (CAPACITY_RESERVATION_TYPE, {_aQN: _RTes, _sN: _rTe}), + (lambda: schemas.ACCOUNT_ID, {_aQN: _URBOI, _sN: _uRBOI}), + (CAPACITY_RESERVATION_COMMITMENT_INFO, {_aQN: _CIom, _sN: _cIom}), + (CAPACITY_RESERVATION_DELIVERY_PREFERENCE, {_aQN: _DPel, _sN: _dP}), + (CAPACITY_BLOCK_ID, {_aQN: _CBI, _sN: _cBI}), + (lambda: schemas.BOXED_BOOLEAN, {_aQN: _Inte, _sN: _inte}), + (INTERRUPTIBLE_CAPACITY_ALLOCATION, {_aQN: _ICA, _sN: _iCA}), + (INTERRUPTION_INFO, {_aQN: _IInt, _sN: _iIn}), + (CAPACITY_RESERVATION_ADJUSTMENT_STATUS, {_aQN: _ASd, _sN: _aSd}), + (CAPACITY_RESERVATION_ADJUSTMENT_DETAILS, {_aQN: _ADdj, _sN: _aD}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _OSD, _sN: _oSD}), + (ZERO_SIZE_PREFERENCE, {_aQN: _ZSP, _sN: _zSP}), + (CAPACITY_RESERVATION_LAUNCH_STATUS, {_aQN: _LSa, _sN: _lS}), + ), +) + +CAPACITY_RESERVATION_ID_SET: StaticSchema = ( + 16, + n0, + _CRIS, + 0, + (_me,), + ((lambda: schemas.CAPACITY_RESERVATION_ID, {_sN: _i}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_50.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_50.py new file mode 100644 index 000000000..29588c203 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_50.py @@ -0,0 +1,1668 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_TS = "TagSpecification" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_Ad = "Address" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_PI = "PublicIp" +_pI = "publicIp" +_AI = "AllocationId" +_smit = "smithy.api#output" +_R = "Return" +_r = "return" +_RI = "ReservationId" +_IC = "InstanceCount" +_TGAI = "TransitGatewayAttachmentId" +_CVEI = "ClientVpnEndpointId" +_St = "State" +_SIu = "SubnetId" +_sI = "subnetId" +_OIw = "OwnerId" +_oI = "ownerId" +_Sta = "Status" +_sta = "status" +_dRr = "dryRun" +_ad = "address" +_II = "InstanceId" +_iI = "instanceId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SGI = "SecurityGroupId" +_PLI = "PrefixListId" +_pLI = "prefixListId" +_NI = "NetworkInterface" +_nI = "networkInterface" +_PL = "PrefixList" +_pL = "prefixList" +_SG = "SecurityGroup" +_SGe = "SecurityGroups" +_IT = "InstanceType" +_iT = "instanceType" +_Des = "Description" +_AIs = "AssociationId" +_aIs = "associationId" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_desc = "description" +_ASS = "AmdSevSnp" +_OA = "OutpostArn" +_CO = "CpuOptions" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_SGIe = "SecurityGroupIds" +_IAp = "Ipv6Addresses" +_IAC = "Ipv6AddressCount" +_PIAri = "PrivateIpAddresses" +_PIAC = "PrivateIpAddressCount" +_sU = "smithy.api#Unit" +_IIP = "IamInstanceProfile" +_iIP = "iamInstanceProfile" +_RTIo = "RouteTableId" +_rTIo = "routeTableId" +_ASss = "AssociationState" +_aSs = "associationState" +_GIr = "GroupId" +_TGRTI = "TransitGatewayRouteTableId" +_gIr = "groupId" +_G = "Groups" +_IIm = "ImageId" +_NCI = "NetworkCardIndex" +_DI = "DeviceIndex" +_smith = "smithy.api#sensitive" +_VIo = "VolumeId" +_DOT = "DeleteOnTermination" +_vIo = "volumeId" +_TNC = "TargetNetworkCidr" +_AGI = "AccessGroupId" +_CIi = "CidrIp" +_cIi = "cidrIp" +_CIid = "CidrIpv6" +_cIid = "cidrIpv6" +_GN = "GroupName" +_IPpr = "IpProtocol" +_iPpr = "ipProtocol" +_FP = "FromPort" +_fP = "fromPort" +_TP = "ToPort" +_tP = "toPort" +_SSGN = "SourceSecurityGroupName" +_sSGN = "sourceSecurityGroupName" +_SSGOI = "SourceSecurityGroupOwnerId" +_sSGOI = "sourceSecurityGroupOwnerId" +_IPper = "IpPermissions" +_iPpe = "ipPermissions" +_SGRI = "SecurityGroupRuleId" +_sGRI = "securityGroupRuleId" +_IE = "IsEgress" +_iE = "isEgress" +_CIidr = "CidrIpv4" +_cIidr = "cidrIpv4" +_ST = "StartTime" +_sTt = "startTime" +_Prog = "Progress" +_prog = "progress" +_iC = "instanceCount" +_SFRI = "SpotFleetRequestId" +_sFRI = "spotFleetRequestId" +_SIRS = "SpotInstanceRequestSet" +_sIRS = "spotInstanceRequestSet" +_FII = "FpgaImageId" +_KKI = "KmsKeyId" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_iIm = "imageId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_oA = "outpostArn" +_STs = "SseType" +_sTs = "sseType" +_Op = "Operator" +_EO = "EbsOptimized" +_Cou = "Count" +_eO = "ebsOptimized" +_Ty = "Type" +_DCB = "DestinationCidrBlock" +_ty = "type" +_HT = "HostnameType" +_ERNDAR = "EnableResourceNameDnsARecord" +_ERNDAAAAR = "EnableResourceNameDnsAAAARecord" +_LTI = "LaunchTemplateId" +_LTN = "LaunchTemplateName" +_Ve = "Version" +_VSol = "VolumeSize" +_BDM = "BlockDeviceMapping" +_HTt = "HttpTokens" +_HPRHL = "HttpPutResponseHopLimit" +_HE = "HttpEndpoint" +_Pl = "Placement" +_MP = "MaxPrice" +_KN = "KeyName" +_BDMl = "BlockDeviceMappings" +_MO = "MetadataOptions" +_LTS = "LaunchTemplateSpecification" +_MTar = "MarketType" +_IIB = "InstanceInterruptionBehavior" +_SO = "SpotOptions" +_VF = "ValidFrom" +_VU = "ValidUntil" +_vSo = "volumeSize" +_pla = "placement" +_Ins = "Instances" +_bDM = "blockDeviceMapping" +_kN = "keyName" +_CCor = "CoreCount" +_TPC = "ThreadsPerCore" +_NV = "NestedVirtualization" +_EGS = "ElasticGpuSpecification" +_Conf = "Configured" +_SITp = "SpotInstanceType" +_BDMlo = "BlockDurationMinutes" +_KI = "KernelId" +_LCA = "LicenseConfigurationArn" +_ARu = "AutoRecovery" +_HPI = "HttpProtocolIpv6" +_IMT = "InstanceMetadataTags" +_IApv = "Ipv6Address" +_ITnte = "InterfaceType" +_BW = "BandwidthWeighting" +_RIa = "RamdiskId" +_SSIe = "SecondarySubnetId" +_NIe = "NetworkInterfaces" +_Mon = "Monitoring" +_DAT = "DisableApiTermination" +_IISB = "InstanceInitiatedShutdownBehavior" +_UDs = "UserData" +_EGSl = "ElasticGpuSpecifications" +_EIA = "ElasticInferenceAccelerators" +_EIAl = "ElasticInferenceAccelerator" +_IMO = "InstanceMarketOptions" +_CSr = "CreditSpecification" +_CRSa = "CapacityReservationSpecification" +_LSic = "LicenseSpecifications" +_LSice = "LicenseSpecification" +_HO = "HibernationOptions" +_EOn = "EnclaveOptions" +_PDNO = "PrivateDnsNameOptions" +_MOa = "MaintenanceOptions" +_DASi = "DisableApiStop" +_NPO = "NetworkPerformanceOptions" +_SIec = "SecondaryInterfaces" +_SIeco = "SecondaryInterface" +_LT = "LaunchTemplate" +_bDMl = "blockDurationMinutes" +_vU = "validUntil" +_GS = "GroupSet" +_gS = "groupSet" +_kI = "kernelId" +_monit = "monitoring" +_dAT = "disableApiTermination" +_iISB = "instanceInitiatedShutdownBehavior" +_uDs = "userData" +_Rou = "Route" +_rou = "route" +_EPI = "EnablePrimaryIpv6" +_RIeq = "RequesterId" +_rIeq = "requesterId" +_SDC = "SourceDestCheck" +_sDC = "sourceDestCheck" +_Bl = "Blackhole" +_VCIp = "VpnConnectionId" +_Attr = "Attribute" +_ok = "ok" +_imp = "impaired" +_ISnst = "InstancesSet" +_iSns = "instancesSet" +_ETnd = "EndTime" +_eTnd = "endTime" +_vF = "validFrom" +_lPo = "loadPermission" +_lPa = "launchPermission" +_rIa = "ramdiskId" +_attr = "attribute" +_rIes = "reservationId" +_SGRIL = "SecurityGroupRuleIdList" +_SGRIe = "SecurityGroupRuleIds" +_ATddr = "AddressingType" +_aTdd = "addressingType" +_SPpo = "SpotPrice" +_sPp = "spotPrice" +_SFRC = "SpotFleetRequestConfig" +_sFRC = "spotFleetRequestConfig" +_LSaun = "LaunchSpecification" +_AZGv = "AvailabilityZoneGroup" +_aZG = "availabilityZoneGroup" +_LGa = "LaunchGroup" +_lG = "launchGroup" +_SIRpo = "SpotInstanceRequests" +_VTOIA = "VpnTunnelOutsideIpAddress" +_oth = "other" +_AId = "AdditionalInfo" +_aId = "additionalInfo" +_CVu = "CurrentVersion" +_RGIef = "ReferencedGroupId" +_NAIew = "NewAssociationId" +_nAIe = "newAssociationId" +_RRTAI = "ReplaceRouteTableAssociationInput" +_cRRTAR = "com.amazonaws.ec2#ReplaceRouteTableAssociationRequest" +_RRTAO = "ReplaceRouteTableAssociationOutput" +_cRRTARo = "com.amazonaws.ec2#ReplaceRouteTableAssociationResult" +_RRTA = "ReplaceRouteTableAssociation" +_RTGRI = "ReplaceTransitGatewayRouteInput" +_cRTGRR = "com.amazonaws.ec2#ReplaceTransitGatewayRouteRequest" +_RTGRO = "ReplaceTransitGatewayRouteOutput" +_cRTGRRo = "com.amazonaws.ec2#ReplaceTransitGatewayRouteResult" +_RTGR = "ReplaceTransitGatewayRoute" +_RVTI = "ReplaceVpnTunnelInput" +_cRVTR = "com.amazonaws.ec2#ReplaceVpnTunnelRequest" +_APM = "ApplyPendingMaintenance" +_RVTO = "ReplaceVpnTunnelOutput" +_cRVTRo = "com.amazonaws.ec2#ReplaceVpnTunnelResult" +_RVT = "ReplaceVpnTunnel" +_RISRD = "ReportInstanceStatusRequestDescription" +_RIRC = "ReportInstanceReasonCodes" +_isis = "instance_stuck_in_state" +_isis_ = "instance-stuck-in-state" +_unr = "unresponsive" +_nac = "not_accepting_credentials" +_nac_ = "not-accepting-credentials" +_pna = "password_not_available" +_pna_ = "password-not-available" +_pn = "performance_network" +_pn_ = "performance-network" +_pis = "performance_instance_store" +_pis_ = "performance-instance-store" +_pev = "performance_ebs_volume" +_pev_ = "performance-ebs-volume" +_po_ = "performance_other" +_po__ = "performance-other" +_RCLe = "ReasonCodesList" +_RSTep = "ReportStatusType" +_RISI = "ReportInstanceStatusInput" +_cRISR = "com.amazonaws.ec2#ReportInstanceStatusRequest" +_RCea = "ReasonCodes" +_RCeas = "ReasonCode" +_rCea = "reasonCode" +_RISO = "ReportInstanceStatusOutput" +_RISep = "ReportInstanceStatus" +_RSFI = "RequestSpotFleetInput" +_cRSFR = "com.amazonaws.ec2#RequestSpotFleetRequest" +_RSFO = "RequestSpotFleetOutput" +_cRSFRo = "com.amazonaws.ec2#RequestSpotFleetResponse" +_RSF = "RequestSpotFleet" +_RSLSSGIL = "RequestSpotLaunchSpecificationSecurityGroupIdList" +_RSLSSGL = "RequestSpotLaunchSpecificationSecurityGroupList" +_RSLS = "RequestSpotLaunchSpecification" +_RSII = "RequestSpotInstancesInput" +_cRSIR = "com.amazonaws.ec2#RequestSpotInstancesRequest" +_RSIO = "RequestSpotInstancesOutput" +_cRSIRo = "com.amazonaws.ec2#RequestSpotInstancesResult" +_RSIeq = "RequestSpotInstances" +_RAAI = "ResetAddressAttributeInput" +_cRAAR = "com.amazonaws.ec2#ResetAddressAttributeRequest" +_RAAO = "ResetAddressAttributeOutput" +_cRAARo = "com.amazonaws.ec2#ResetAddressAttributeResult" +_RAA = "ResetAddressAttribute" +_REDKKII = "ResetEbsDefaultKmsKeyIdInput" +_cREDKKIR = "com.amazonaws.ec2#ResetEbsDefaultKmsKeyIdRequest" +_REDKKIO = "ResetEbsDefaultKmsKeyIdOutput" +_cREDKKIRo = "com.amazonaws.ec2#ResetEbsDefaultKmsKeyIdResult" +_REDKKI = "ResetEbsDefaultKmsKeyId" +_RFIAN = "ResetFpgaImageAttributeName" +_RFIAI = "ResetFpgaImageAttributeInput" +_cRFIAR = "com.amazonaws.ec2#ResetFpgaImageAttributeRequest" +_RFIAO = "ResetFpgaImageAttributeOutput" +_cRFIARo = "com.amazonaws.ec2#ResetFpgaImageAttributeResult" +_RFIA = "ResetFpgaImageAttribute" +_RIAN = "ResetImageAttributeName" +_RIAI = "ResetImageAttributeInput" +_cRIAR = "com.amazonaws.ec2#ResetImageAttributeRequest" +_RIAO = "ResetImageAttributeOutput" +_RIA = "ResetImageAttribute" +_RIAIe = "ResetInstanceAttributeInput" +_cRIARo = "com.amazonaws.ec2#ResetInstanceAttributeRequest" +_RIAOe = "ResetInstanceAttributeOutput" +_RIAe = "ResetInstanceAttribute" +_RNIAI = "ResetNetworkInterfaceAttributeInput" +_cRNIAR = "com.amazonaws.ec2#ResetNetworkInterfaceAttributeRequest" +_RNIAO = "ResetNetworkInterfaceAttributeOutput" +_RNIA = "ResetNetworkInterfaceAttribute" +_RSAI = "ResetSnapshotAttributeInput" +_cRSAR = "com.amazonaws.ec2#ResetSnapshotAttributeRequest" +_RSAO = "ResetSnapshotAttributeOutput" +_RSAe = "ResetSnapshotAttribute" +_RATCI = "RestoreAddressToClassicInput" +_cRATCR = "com.amazonaws.ec2#RestoreAddressToClassicRequest" +_RATCO = "RestoreAddressToClassicOutput" +_cRATCRo = "com.amazonaws.ec2#RestoreAddressToClassicResult" +_RATC = "RestoreAddressToClassic" +_RIFRBI = "RestoreImageFromRecycleBinInput" +_cRIFRBR = "com.amazonaws.ec2#RestoreImageFromRecycleBinRequest" +_RIFRBO = "RestoreImageFromRecycleBinOutput" +_cRIFRBRo = "com.amazonaws.ec2#RestoreImageFromRecycleBinResult" +_RIFRB = "RestoreImageFromRecycleBin" +_RMPLVI = "RestoreManagedPrefixListVersionInput" +_cRMPLVR = "com.amazonaws.ec2#RestoreManagedPrefixListVersionRequest" +_PVre = "PreviousVersion" +_RMPLVO = "RestoreManagedPrefixListVersionOutput" +_cRMPLVRo = "com.amazonaws.ec2#RestoreManagedPrefixListVersionResult" +_RMPLV = "RestoreManagedPrefixListVersion" +_RSFRBI = "RestoreSnapshotFromRecycleBinInput" +_cRSFRBR = "com.amazonaws.ec2#RestoreSnapshotFromRecycleBinRequest" +_RSFRBO = "RestoreSnapshotFromRecycleBinOutput" +_cRSFRBRo = "com.amazonaws.ec2#RestoreSnapshotFromRecycleBinResult" +_RSFRB = "RestoreSnapshotFromRecycleBin" +_RSTRTRD = "RestoreSnapshotTierRequestTemporaryRestoreDays" +_RSTI = "RestoreSnapshotTierInput" +_cRSTR = "com.amazonaws.ec2#RestoreSnapshotTierRequest" +_TRD = "TemporaryRestoreDays" +_PRer = "PermanentRestore" +_RSTO = "RestoreSnapshotTierOutput" +_cRSTRo = "com.amazonaws.ec2#RestoreSnapshotTierResult" +_RSTes = "RestoreStartTime" +_rSTe = "restoreStartTime" +_RD = "RestoreDuration" +_rD = "restoreDuration" +_IPRs = "IsPermanentRestore" +_iPRs = "isPermanentRestore" +_RSTest = "RestoreSnapshotTier" +_RVFRBI = "RestoreVolumeFromRecycleBinInput" +_cRVFRBR = "com.amazonaws.ec2#RestoreVolumeFromRecycleBinRequest" +_RVFRBO = "RestoreVolumeFromRecycleBinOutput" +_cRVFRBRo = "com.amazonaws.ec2#RestoreVolumeFromRecycleBinResult" +_RVFRB = "RestoreVolumeFromRecycleBin" +_RCVII = "RevokeClientVpnIngressInput" +_cRCVIR = "com.amazonaws.ec2#RevokeClientVpnIngressRequest" +_RAG = "RevokeAllGroups" +_RCVIO = "RevokeClientVpnIngressOutput" +_cRCVIRo = "com.amazonaws.ec2#RevokeClientVpnIngressResult" +_RCVI = "RevokeClientVpnIngress" +_RSGEI = "RevokeSecurityGroupEgressInput" +_cRSGER = "com.amazonaws.ec2#RevokeSecurityGroupEgressRequest" +_RSGR = "RevokedSecurityGroupRule" +_rGIe = "referencedGroupId" +_RSGRL = "RevokedSecurityGroupRuleList" +_RSGEO = "RevokeSecurityGroupEgressOutput" +_cRSGERo = "com.amazonaws.ec2#RevokeSecurityGroupEgressResult" +_UIP = "UnknownIpPermissions" +_UIPS = "UnknownIpPermissionSet" +_uIPS = "unknownIpPermissionSet" +_RSGRe = "RevokedSecurityGroupRules" +_RSGRS = "RevokedSecurityGroupRuleSet" +_rSGRS = "revokedSecurityGroupRuleSet" +_RSGE = "RevokeSecurityGroupEgress" +_RSGII = "RevokeSecurityGroupIngressInput" +_cRSGIR = "com.amazonaws.ec2#RevokeSecurityGroupIngressRequest" +_RSGIO = "RevokeSecurityGroupIngressOutput" +_cRSGIRo = "com.amazonaws.ec2#RevokeSecurityGroupIngressResult" +_RSGIev = "RevokeSecurityGroupIngress" +_COR = "CpuOptionsRequest" +_EIAC = "ElasticInferenceAcceleratorCount" +_HOR = "HibernationOptionsRequest" +_SMO = "SpotMarketOptions" +_IMORn = "InstanceMarketOptionsRequest" +_LCR = "LicenseConfigurationRequest" +_LSLR = "LicenseSpecificationListRequest" +_IMORns = "InstanceMaintenanceOptionsRequest" +_IMORnst = "InstanceMetadataOptionsRequest" +_INPOR = "InstanceNetworkPerformanceOptionsRequest" +_PDNORr = "PrivateDnsNameOptionsRequest" +_ISIPIAR = "InstanceSecondaryInterfacePrivateIpAddressRequest" +_ISIPIALR = "InstanceSecondaryInterfacePrivateIpAddressListRequest" +_ISISR = "InstanceSecondaryInterfaceSpecificationRequest" +_ISISLR = "InstanceSecondaryInterfaceSpecificationListRequest" +_RIUD = "RunInstancesUserData" +_RIIu = "RunInstancesInput" +_cRIRoma = "com.amazonaws.ec2#RunInstancesRequest" +_MCax = "MaxCount" +_MCi = "MinCount" +_RIOu = "RunInstancesOutput" +_cRo = "com.amazonaws.ec2#Reservation" +_RIu = "RunInstances" + +SECURITY_GROUP_RULE_ID_LIST: StaticSchema = ( + 16, + n0, + _SGRIL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +REPLACE_ROUTE_TABLE_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _RRTAI, + {_sSI: _cRRTAR, _sm: None}, + (_DR, _AIs, _RTIo), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ( + lambda: schemas.ROUTE_TABLE_ASSOCIATION_ID, + {_aQN: _AIs, _sN: _aIs, _smi: None}, + ), + (lambda: schemas.ROUTE_TABLE_ID, {_aQN: _RTIo, _sN: _rTIo, _smi: None}), + ), +) + +REPLACE_ROUTE_TABLE_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _RRTAO, + {_sSI: _cRRTARo, _smit: None}, + (_NAIew, _ASss), + ( + (lambda: schemas.STRING, {_aQN: _NAIew, _sN: _nAIe}), + (lambda: schemas.ROUTE_TABLE_ASSOCIATION_STATE, {_aQN: _ASss, _sN: _aSs}), + ), +) + +REPLACE_ROUTE_TABLE_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _RRTA, + 0, + REPLACE_ROUTE_TABLE_ASSOCIATION_INPUT, + REPLACE_ROUTE_TABLE_ASSOCIATION_OUTPUT, + (), +) + +REPLACE_TRANSIT_GATEWAY_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _RTGRI, + {_sSI: _cRTGRR, _sm: None}, + (_DCB, _TGRTI, _TGAI, _Bl, _DR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_ID, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +REPLACE_TRANSIT_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _RTGRO, + {_sSI: _cRTGRRo, _smit: None}, + (_Rou,), + ((lambda: schemas.TRANSIT_GATEWAY_ROUTE, {_aQN: _Rou, _sN: _rou}),), +) + +REPLACE_TRANSIT_GATEWAY_ROUTE: StaticOperationSchema = ( + 23, + n0, + _RTGR, + 0, + REPLACE_TRANSIT_GATEWAY_ROUTE_INPUT, + REPLACE_TRANSIT_GATEWAY_ROUTE_OUTPUT, + (), +) + +REPLACE_VPN_TUNNEL_INPUT: StaticSchema = ( + 18, + n0, + _RVTI, + {_sSI: _cRVTR, _sm: None}, + (_VCIp, _VTOIA, _APM, _DR), + ( + (lambda: schemas.VPN_CONNECTION_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +REPLACE_VPN_TUNNEL_OUTPUT: StaticSchema = ( + 18, + n0, + _RVTO, + {_sSI: _cRVTRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +REPLACE_VPN_TUNNEL: StaticOperationSchema = ( + 23, + n0, + _RVT, + 0, + REPLACE_VPN_TUNNEL_INPUT, + REPLACE_VPN_TUNNEL_OUTPUT, + (), +) + +REPORT_INSTANCE_STATUS_REQUEST_DESCRIPTION: StaticSchema = (3, n0, _RISRD, 4) + +REPORT_INSTANCE_REASON_CODES: StaticSchema = ( + 14, + n0, + _RIRC, + 0, + (_isis, _unr, _nac, _pna, _pn, _pis, _pev, _po_, _oth), + ( + (-1, {_sV: _isis_}), + (-1, {_sV: _unr}), + (-1, {_sV: _nac_}), + (-1, {_sV: _pna_}), + (-1, {_sV: _pn_}), + (-1, {_sV: _pis_}), + (-1, {_sV: _pev_}), + (-1, {_sV: _po__}), + (-1, {_sV: _oth}), + ), +) + +REASON_CODES_LIST: StaticSchema = ( + 16, + n0, + _RCLe, + 0, + (_me,), + ((REPORT_INSTANCE_REASON_CODES, {_sN: _i}),), +) + +REPORT_STATUS_TYPE: StaticSchema = ( + 14, + n0, + _RSTep, + 0, + (_ok, _imp), + ((-1, {_sV: _ok}), (-1, {_sV: _imp})), +) + +REPORT_INSTANCE_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _RISI, + {_sSI: _cRISR, _sm: None}, + (_DR, _Ins, _Sta, _ST, _ETnd, _RCea, _Des), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_aQN: _II, _sN: _iI, _smi: None}), + (REPORT_STATUS_TYPE, {_aQN: _Sta, _sN: _sta, _smi: None}), + (lambda: schemas.DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.DATE_TIME, {_aQN: _ETnd, _sN: _eTnd}), + (REASON_CODES_LIST, {_aQN: _RCeas, _sN: _rCea, _smi: None}), + (REPORT_INSTANCE_STATUS_REQUEST_DESCRIPTION, {_aQN: _Des, _sN: _desc}), + ), +) + +REPORT_INSTANCE_STATUS_OUTPUT: StaticSchema = (18, n0, _RISO, {_sSI: _sU, _smit: None}) + +REPORT_INSTANCE_STATUS: StaticOperationSchema = ( + 23, + n0, + _RISep, + 0, + REPORT_INSTANCE_STATUS_INPUT, + REPORT_INSTANCE_STATUS_OUTPUT, + (), +) + +REQUEST_SPOT_FLEET_INPUT: StaticSchema = ( + 18, + n0, + _RSFI, + {_sSI: _cRSFR, _sm: None}, + (_DR, _SFRC), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ( + lambda: schemas.SPOT_FLEET_REQUEST_CONFIG_DATA, + {_aQN: _SFRC, _sN: _sFRC, _smi: None}, + ), + ), +) + +REQUEST_SPOT_FLEET_OUTPUT: StaticSchema = ( + 18, + n0, + _RSFO, + {_sSI: _cRSFRo, _smit: None}, + (_SFRI,), + ((lambda: schemas.STRING, {_aQN: _SFRI, _sN: _sFRI}),), +) + +REQUEST_SPOT_FLEET: StaticOperationSchema = ( + 23, + n0, + _RSF, + 0, + REQUEST_SPOT_FLEET_INPUT, + REQUEST_SPOT_FLEET_OUTPUT, + (), +) + +REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_ID_LIST: StaticSchema = ( + 16, + n0, + _RSLSSGIL, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_ID, {_sN: _i}),), +) + +REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_LIST: StaticSchema = ( + 16, + n0, + _RSLSSGL, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +REQUEST_SPOT_LAUNCH_SPECIFICATION: StaticSchema = ( + 18, + n0, + _RSLS, + 0, + ( + _SGIe, + _SGe, + _ATddr, + _BDMl, + _EO, + _IIP, + _IIm, + _IT, + _KI, + _KN, + _Mon, + _NIe, + _Pl, + _RIa, + _SIu, + _UDs, + ), + ( + (REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_ID_LIST, {_sN: _SGI}), + (REQUEST_SPOT_LAUNCH_SPECIFICATION_SECURITY_GROUP_LIST, {_sN: _SG}), + (lambda: schemas.STRING, {_aQN: _ATddr, _sN: _aTdd}), + (lambda: schemas.BLOCK_DEVICE_MAPPING_LIST, {_aQN: _BDM, _sN: _bDM}), + (lambda: schemas.BOOLEAN, {_aQN: _EO, _sN: _eO}), + (lambda: schemas.IAM_INSTANCE_PROFILE_SPECIFICATION, {_aQN: _IIP, _sN: _iIP}), + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.KERNEL_ID, {_aQN: _KI, _sN: _kI}), + (lambda: schemas.KEY_PAIR_NAME_WITH_RESOLVER, {_aQN: _KN, _sN: _kN}), + (lambda: schemas.RUN_INSTANCES_MONITORING_ENABLED, {_aQN: _Mon, _sN: _monit}), + (lambda: schemas.INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST, {_sN: _NI}), + (lambda: schemas.SPOT_PLACEMENT, {_aQN: _Pl, _sN: _pla}), + (lambda: schemas.RAMDISK_ID, {_aQN: _RIa, _sN: _rIa}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.SENSITIVE_USER_DATA, {_aQN: _UDs, _sN: _uDs}), + ), +) + +REQUEST_SPOT_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _RSII, + {_sSI: _cRSIR, _sm: None}, + (_LSaun, _TSa, _IIB, _DR, _SPpo, _CTl, _IC, _Ty, _VF, _VU, _LGa, _AZGv, _BDMlo), + ( + (REQUEST_SPOT_LAUNCH_SPECIFICATION, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.INSTANCE_INTERRUPTION_BEHAVIOR, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.STRING, {_aQN: _SPpo, _sN: _sPp}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.SPOT_INSTANCE_TYPE, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.DATE_TIME, {_aQN: _VF, _sN: _vF}), + (lambda: schemas.DATE_TIME, {_aQN: _VU, _sN: _vU}), + (lambda: schemas.STRING, {_aQN: _LGa, _sN: _lG}), + (lambda: schemas.STRING, {_aQN: _AZGv, _sN: _aZG}), + (lambda: schemas.INTEGER, {_aQN: _BDMlo, _sN: _bDMl}), + ), +) + +REQUEST_SPOT_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _RSIO, + {_sSI: _cRSIRo, _smit: None}, + (_SIRpo,), + ((lambda: schemas.SPOT_INSTANCE_REQUEST_LIST, {_aQN: _SIRS, _sN: _sIRS}),), +) + +REQUEST_SPOT_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _RSIeq, + 0, + REQUEST_SPOT_INSTANCES_INPUT, + REQUEST_SPOT_INSTANCES_OUTPUT, + (), +) + +RESET_ADDRESS_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _RAAI, + {_sSI: _cRAAR, _sm: None}, + (_AI, _Attr, _DR), + ( + (lambda: schemas.ALLOCATION_ID, 1), + (lambda: schemas.ADDRESS_ATTRIBUTE_NAME, 1), + (lambda: schemas.BOOLEAN, 0), + ), +) + +RESET_ADDRESS_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _RAAO, + {_sSI: _cRAARo, _smit: None}, + (_Ad,), + ((lambda: schemas.ADDRESS_ATTRIBUTE, {_aQN: _Ad, _sN: _ad}),), +) + +RESET_ADDRESS_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _RAA, + 0, + RESET_ADDRESS_ATTRIBUTE_INPUT, + RESET_ADDRESS_ATTRIBUTE_OUTPUT, + (), +) + +RESET_EBS_DEFAULT_KMS_KEY_ID_INPUT: StaticSchema = ( + 18, + n0, + _REDKKII, + {_sSI: _cREDKKIR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +RESET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT: StaticSchema = ( + 18, + n0, + _REDKKIO, + {_sSI: _cREDKKIRo, _smit: None}, + (_KKI,), + ((lambda: schemas.STRING, {_aQN: _KKI, _sN: _kKI}),), +) + +RESET_EBS_DEFAULT_KMS_KEY_ID: StaticOperationSchema = ( + 23, + n0, + _REDKKI, + 0, + RESET_EBS_DEFAULT_KMS_KEY_ID_INPUT, + RESET_EBS_DEFAULT_KMS_KEY_ID_OUTPUT, + (), +) + +RESET_FPGA_IMAGE_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _RFIAN, + 0, + (_lPo,), + ((-1, {_sV: _lPo}),), +) + +RESET_FPGA_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _RFIAI, + {_sSI: _cRFIAR, _sm: None}, + (_DR, _FII, _Attr), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.FPGA_IMAGE_ID, 1), + (RESET_FPGA_IMAGE_ATTRIBUTE_NAME, 0), + ), +) + +RESET_FPGA_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _RFIAO, + {_sSI: _cRFIARo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +RESET_FPGA_IMAGE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _RFIA, + 0, + RESET_FPGA_IMAGE_ATTRIBUTE_INPUT, + RESET_FPGA_IMAGE_ATTRIBUTE_OUTPUT, + (), +) + +RESET_IMAGE_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _RIAN, + 0, + (_lPa,), + ((-1, {_sV: _lPa}),), +) + +RESET_IMAGE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _RIAI, + {_sSI: _cRIAR, _sm: None}, + (_Attr, _IIm, _DR), + ( + (RESET_IMAGE_ATTRIBUTE_NAME, 1), + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +RESET_IMAGE_ATTRIBUTE_OUTPUT: StaticSchema = (18, n0, _RIAO, {_sSI: _sU, _smit: None}) + +RESET_IMAGE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _RIA, + 0, + RESET_IMAGE_ATTRIBUTE_INPUT, + RESET_IMAGE_ATTRIBUTE_OUTPUT, + (), +) + +RESET_INSTANCE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _RIAIe, + {_sSI: _cRIARo, _sm: None}, + (_DR, _II, _Attr), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI, _smi: None}), + ( + lambda: schemas.INSTANCE_ATTRIBUTE_NAME, + {_aQN: _Attr, _sN: _attr, _smi: None}, + ), + ), +) + +RESET_INSTANCE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _RIAOe, + {_sSI: _sU, _smit: None}, +) + +RESET_INSTANCE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _RIAe, + 0, + RESET_INSTANCE_ATTRIBUTE_INPUT, + RESET_INSTANCE_ATTRIBUTE_OUTPUT, + (), +) + +RESET_NETWORK_INTERFACE_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _RNIAI, + {_sSI: _cRNIAR, _sm: None}, + (_DR, _NII, _SDC), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), + (lambda: schemas.STRING, {_aQN: _SDC, _sN: _sDC}), + ), +) + +RESET_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _RNIAO, + {_sSI: _sU, _smit: None}, +) + +RESET_NETWORK_INTERFACE_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _RNIA, + 0, + RESET_NETWORK_INTERFACE_ATTRIBUTE_INPUT, + RESET_NETWORK_INTERFACE_ATTRIBUTE_OUTPUT, + (), +) + +RESET_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _RSAI, + {_sSI: _cRSAR, _sm: None}, + (_Attr, _SIn, _DR), + ( + (lambda: schemas.SNAPSHOT_ATTRIBUTE_NAME, 1), + (lambda: schemas.SNAPSHOT_ID, 1), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +RESET_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _RSAO, + {_sSI: _sU, _smit: None}, +) + +RESET_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _RSAe, + 0, + RESET_SNAPSHOT_ATTRIBUTE_INPUT, + RESET_SNAPSHOT_ATTRIBUTE_OUTPUT, + (), +) + +RESTORE_ADDRESS_TO_CLASSIC_INPUT: StaticSchema = ( + 18, + n0, + _RATCI, + {_sSI: _cRATCR, _sm: None}, + (_DR, _PI), + ( + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.STRING, {_aQN: _PI, _sN: _pI, _smi: None}), + ), +) + +RESTORE_ADDRESS_TO_CLASSIC_OUTPUT: StaticSchema = ( + 18, + n0, + _RATCO, + {_sSI: _cRATCRo, _smit: None}, + (_PI, _Sta), + ( + (lambda: schemas.STRING, {_aQN: _PI, _sN: _pI}), + (lambda: schemas.STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +RESTORE_ADDRESS_TO_CLASSIC: StaticOperationSchema = ( + 23, + n0, + _RATC, + 0, + RESTORE_ADDRESS_TO_CLASSIC_INPUT, + RESTORE_ADDRESS_TO_CLASSIC_OUTPUT, + (), +) + +RESTORE_IMAGE_FROM_RECYCLE_BIN_INPUT: StaticSchema = ( + 18, + n0, + _RIFRBI, + {_sSI: _cRIFRBR, _sm: None}, + (_IIm, _DR), + ((lambda: schemas.IMAGE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +RESTORE_IMAGE_FROM_RECYCLE_BIN_OUTPUT: StaticSchema = ( + 18, + n0, + _RIFRBO, + {_sSI: _cRIFRBRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +RESTORE_IMAGE_FROM_RECYCLE_BIN: StaticOperationSchema = ( + 23, + n0, + _RIFRB, + 0, + RESTORE_IMAGE_FROM_RECYCLE_BIN_INPUT, + RESTORE_IMAGE_FROM_RECYCLE_BIN_OUTPUT, + (), +) + +RESTORE_MANAGED_PREFIX_LIST_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _RMPLVI, + {_sSI: _cRMPLVR, _sm: None}, + (_DR, _PLI, _PVre, _CVu), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, 1), + (lambda: schemas.LONG, 1), + (lambda: schemas.LONG, 1), + ), +) + +RESTORE_MANAGED_PREFIX_LIST_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _RMPLVO, + {_sSI: _cRMPLVRo, _smit: None}, + (_PL,), + ((lambda: schemas.MANAGED_PREFIX_LIST, {_aQN: _PL, _sN: _pL}),), +) + +RESTORE_MANAGED_PREFIX_LIST_VERSION: StaticOperationSchema = ( + 23, + n0, + _RMPLV, + 0, + RESTORE_MANAGED_PREFIX_LIST_VERSION_INPUT, + RESTORE_MANAGED_PREFIX_LIST_VERSION_OUTPUT, + (), +) + +RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_INPUT: StaticSchema = ( + 18, + n0, + _RSFRBI, + {_sSI: _cRSFRBR, _sm: None}, + (_SIn, _DR), + ((lambda: schemas.SNAPSHOT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_OUTPUT: StaticSchema = ( + 18, + n0, + _RSFRBO, + {_sSI: _cRSFRBRo, _smit: None}, + (_SIn, _OA, _Des, _En, _OIw, _Prog, _ST, _St, _VIo, _VSol, _STs), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _Prog, _sN: _prog}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.SNAPSHOT_STATE, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _VIo, _sN: _vIo}), + (lambda: schemas.INTEGER, {_aQN: _VSol, _sN: _vSo}), + (lambda: schemas.SSE_TYPE, {_aQN: _STs, _sN: _sTs}), + ), +) + +RESTORE_SNAPSHOT_FROM_RECYCLE_BIN: StaticOperationSchema = ( + 23, + n0, + _RSFRB, + 0, + RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_INPUT, + RESTORE_SNAPSHOT_FROM_RECYCLE_BIN_OUTPUT, + (), +) + +RESTORE_SNAPSHOT_TIER_REQUEST_TEMPORARY_RESTORE_DAYS: StaticSchema = ( + 7, + n0, + _RSTRTRD, + 0, +) + +RESTORE_SNAPSHOT_TIER_INPUT: StaticSchema = ( + 18, + n0, + _RSTI, + {_sSI: _cRSTR, _sm: None}, + (_SIn, _TRD, _PRer, _DR), + ( + (lambda: schemas.SNAPSHOT_ID, 1), + (RESTORE_SNAPSHOT_TIER_REQUEST_TEMPORARY_RESTORE_DAYS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +RESTORE_SNAPSHOT_TIER_OUTPUT: StaticSchema = ( + 18, + n0, + _RSTO, + {_sSI: _cRSTRo, _smit: None}, + (_SIn, _RSTes, _RD, _IPRs), + ( + (lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _RSTes, _sN: _rSTe}), + (lambda: schemas.INTEGER, {_aQN: _RD, _sN: _rD}), + (lambda: schemas.BOOLEAN, {_aQN: _IPRs, _sN: _iPRs}), + ), +) + +RESTORE_SNAPSHOT_TIER: StaticOperationSchema = ( + 23, + n0, + _RSTest, + 0, + RESTORE_SNAPSHOT_TIER_INPUT, + RESTORE_SNAPSHOT_TIER_OUTPUT, + (), +) + +RESTORE_VOLUME_FROM_RECYCLE_BIN_INPUT: StaticSchema = ( + 18, + n0, + _RVFRBI, + {_sSI: _cRVFRBR, _sm: None}, + (_VIo, _DR), + ((lambda: schemas.VOLUME_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +RESTORE_VOLUME_FROM_RECYCLE_BIN_OUTPUT: StaticSchema = ( + 18, + n0, + _RVFRBO, + {_sSI: _cRVFRBRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +RESTORE_VOLUME_FROM_RECYCLE_BIN: StaticOperationSchema = ( + 23, + n0, + _RVFRB, + 0, + RESTORE_VOLUME_FROM_RECYCLE_BIN_INPUT, + RESTORE_VOLUME_FROM_RECYCLE_BIN_OUTPUT, + (), +) + +REVOKE_CLIENT_VPN_INGRESS_INPUT: StaticSchema = ( + 18, + n0, + _RCVII, + {_sSI: _cRCVIR, _sm: None}, + (_CVEI, _TNC, _AGI, _RAG, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +REVOKE_CLIENT_VPN_INGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _RCVIO, + {_sSI: _cRCVIRo, _smit: None}, + (_Sta,), + ((lambda: schemas.CLIENT_VPN_AUTHORIZATION_RULE_STATUS, {_aQN: _Sta, _sN: _sta}),), +) + +REVOKE_CLIENT_VPN_INGRESS: StaticOperationSchema = ( + 23, + n0, + _RCVI, + 0, + REVOKE_CLIENT_VPN_INGRESS_INPUT, + REVOKE_CLIENT_VPN_INGRESS_OUTPUT, + (), +) + +REVOKE_SECURITY_GROUP_EGRESS_INPUT: StaticSchema = ( + 18, + n0, + _RSGEI, + {_sSI: _cRSGER, _sm: None}, + (_SGRIe, _DR, _GIr, _SSGN, _SSGOI, _IPpr, _FP, _TP, _CIi, _IPper), + ( + (SECURITY_GROUP_RULE_ID_LIST, {_sN: _SGRI}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr, _smi: None}), + (lambda: schemas.STRING, {_aQN: _SSGN, _sN: _sSGN}), + (lambda: schemas.STRING, {_aQN: _SSGOI, _sN: _sSGOI}), + (lambda: schemas.STRING, {_aQN: _IPpr, _sN: _iPpr}), + (lambda: schemas.INTEGER, {_aQN: _FP, _sN: _fP}), + (lambda: schemas.INTEGER, {_aQN: _TP, _sN: _tP}), + (lambda: schemas.STRING, {_aQN: _CIi, _sN: _cIi}), + (lambda: schemas.IP_PERMISSION_LIST, {_aQN: _IPper, _sN: _iPpe}), + ), +) + +REVOKE_SECURITY_GROUP_EGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _RSGEO, + {_sSI: _cRSGERo, _smit: None}, + (_R, _UIP, _RSGRe), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + (lambda: schemas.IP_PERMISSION_LIST, {_aQN: _UIPS, _sN: _uIPS}), + (lambda: REVOKED_SECURITY_GROUP_RULE_LIST, {_aQN: _RSGRS, _sN: _rSGRS}), + ), +) + +REVOKE_SECURITY_GROUP_EGRESS: StaticOperationSchema = ( + 23, + n0, + _RSGE, + 0, + REVOKE_SECURITY_GROUP_EGRESS_INPUT, + REVOKE_SECURITY_GROUP_EGRESS_OUTPUT, + (), +) + +REVOKED_SECURITY_GROUP_RULE: StaticSchema = ( + 18, + n0, + _RSGR, + 0, + (_SGRI, _GIr, _IE, _IPpr, _FP, _TP, _CIidr, _CIid, _PLI, _RGIef, _Des), + ( + (lambda: schemas.SECURITY_GROUP_RULE_ID, {_aQN: _SGRI, _sN: _sGRI}), + (lambda: schemas.SECURITY_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.BOOLEAN, {_aQN: _IE, _sN: _iE}), + (lambda: schemas.STRING, {_aQN: _IPpr, _sN: _iPpr}), + (lambda: schemas.INTEGER, {_aQN: _FP, _sN: _fP}), + (lambda: schemas.INTEGER, {_aQN: _TP, _sN: _tP}), + (lambda: schemas.STRING, {_aQN: _CIidr, _sN: _cIidr}), + (lambda: schemas.STRING, {_aQN: _CIid, _sN: _cIid}), + (lambda: schemas.PREFIX_LIST_RESOURCE_ID, {_aQN: _PLI, _sN: _pLI}), + (lambda: schemas.SECURITY_GROUP_ID, {_aQN: _RGIef, _sN: _rGIe}), + (lambda: schemas.STRING, {_aQN: _Des, _sN: _desc}), + ), +) + +REVOKED_SECURITY_GROUP_RULE_LIST: StaticSchema = ( + 16, + n0, + _RSGRL, + 0, + (_me,), + ((REVOKED_SECURITY_GROUP_RULE, {_sN: _i}),), +) + +REVOKE_SECURITY_GROUP_INGRESS_INPUT: StaticSchema = ( + 18, + n0, + _RSGII, + {_sSI: _cRSGIR, _sm: None}, + (_CIi, _FP, _GIr, _GN, _IPper, _IPpr, _SSGN, _SSGOI, _TP, _SGRIe, _DR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.SECURITY_GROUP_ID, 0), + (lambda: schemas.SECURITY_GROUP_NAME, 0), + (lambda: schemas.IP_PERMISSION_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (SECURITY_GROUP_RULE_ID_LIST, {_sN: _SGRI}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +REVOKE_SECURITY_GROUP_INGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _RSGIO, + {_sSI: _cRSGIRo, _smit: None}, + (_R, _UIP, _RSGRe), + ( + (lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}), + (lambda: schemas.IP_PERMISSION_LIST, {_aQN: _UIPS, _sN: _uIPS}), + (REVOKED_SECURITY_GROUP_RULE_LIST, {_aQN: _RSGRS, _sN: _rSGRS}), + ), +) + +REVOKE_SECURITY_GROUP_INGRESS: StaticOperationSchema = ( + 23, + n0, + _RSGIev, + 0, + REVOKE_SECURITY_GROUP_INGRESS_INPUT, + REVOKE_SECURITY_GROUP_INGRESS_OUTPUT, + (), +) + +CPU_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _COR, + 0, + (_CCor, _TPC, _ASS, _NV), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.AMD_SEV_SNP_SPECIFICATION, 0), + (lambda: schemas.NESTED_VIRTUALIZATION_SPECIFICATION, 0), + ), +) + +ELASTIC_GPU_SPECIFICATIONS: StaticSchema = ( + 16, + n0, + _EGSl, + 0, + (_me,), + ((lambda: schemas.ELASTIC_GPU_SPECIFICATION, {_sN: _i}),), +) + +ELASTIC_INFERENCE_ACCELERATOR_COUNT: StaticSchema = (7, n0, _EIAC, 0) + +ELASTIC_INFERENCE_ACCELERATOR: StaticSchema = ( + 18, + n0, + _EIAl, + 0, + (_Ty, _Cou), + ((lambda: schemas.STRING, 1), (ELASTIC_INFERENCE_ACCELERATOR_COUNT, 0)), +) + +ELASTIC_INFERENCE_ACCELERATORS: StaticSchema = ( + 16, + n0, + _EIA, + 0, + (_me,), + ((ELASTIC_INFERENCE_ACCELERATOR, {_sN: _i}),), +) + +HIBERNATION_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _HOR, + 0, + (_Conf,), + ((lambda: schemas.BOOLEAN, 0),), +) + +SPOT_MARKET_OPTIONS: StaticSchema = ( + 18, + n0, + _SMO, + 0, + (_MP, _SITp, _BDMlo, _VU, _IIB), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.SPOT_INSTANCE_TYPE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.DATE_TIME, 0), + (lambda: schemas.INSTANCE_INTERRUPTION_BEHAVIOR, 0), + ), +) + +INSTANCE_MARKET_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _IMORn, + 0, + (_MTar, _SO), + ((lambda: schemas.MARKET_TYPE, 0), (SPOT_MARKET_OPTIONS, 0)), +) + +LAUNCH_TEMPLATE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _LTS, + 0, + (_LTI, _LTN, _Ve), + ( + (lambda: schemas.LAUNCH_TEMPLATE_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +LICENSE_CONFIGURATION_REQUEST: StaticSchema = ( + 18, + n0, + _LCR, + 0, + (_LCA,), + ((lambda: schemas.STRING, 0),), +) + +LICENSE_SPECIFICATION_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _LSLR, + 0, + (_me,), + ((LICENSE_CONFIGURATION_REQUEST, {_sN: _i}),), +) + +INSTANCE_MAINTENANCE_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _IMORns, + 0, + (_ARu,), + ((lambda: schemas.INSTANCE_AUTO_RECOVERY_STATE, 0),), +) + +INSTANCE_METADATA_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _IMORnst, + 0, + (_HTt, _HPRHL, _HE, _HPI, _IMT), + ( + (lambda: schemas.HTTP_TOKENS_STATE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INSTANCE_METADATA_ENDPOINT_STATE, 0), + (lambda: schemas.INSTANCE_METADATA_PROTOCOL_STATE, 0), + (lambda: schemas.INSTANCE_METADATA_TAGS_STATE, 0), + ), +) + +INSTANCE_NETWORK_PERFORMANCE_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _INPOR, + 0, + (_BW,), + ((lambda: schemas.INSTANCE_BANDWIDTH_WEIGHTING, 0),), +) + +PRIVATE_DNS_NAME_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _PDNORr, + 0, + (_HT, _ERNDAR, _ERNDAAAAR), + ( + (lambda: schemas.HOSTNAME_TYPE, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_REQUEST: StaticSchema = ( + 18, + n0, + _ISIPIAR, + 0, + (_PIAr,), + ((lambda: schemas.STRING, 1),), +) + +INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _ISIPIALR, + 0, + (_me,), + ((INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_REQUEST, {_sN: _i}),), +) + +INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _ISISR, + 0, + (_DOT, _DI, _PIAri, _PIAC, _SSIe, _ITnte, _NCI), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (INSTANCE_SECONDARY_INTERFACE_PRIVATE_IP_ADDRESS_LIST_REQUEST, {_sN: _PIAr}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.SECONDARY_SUBNET_ID, 0), + (lambda: schemas.SECONDARY_INTERFACE_TYPE, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _ISISLR, + 0, + (_me,), + ((INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_REQUEST, {_sN: _i}),), +) + +RUN_INSTANCES_USER_DATA: StaticSchema = (3, n0, _RIUD, 4) + +RUN_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _RIIu, + {_sSI: _cRIRoma, _sm: None}, + ( + _BDMl, + _IIm, + _IT, + _IAC, + _IAp, + _KI, + _KN, + _MCax, + _MCi, + _Mon, + _Pl, + _RIa, + _SGIe, + _SGe, + _SIu, + _UDs, + _EGS, + _EIA, + _TSa, + _LT, + _IMO, + _CSr, + _CO, + _CRSa, + _HO, + _LSic, + _MO, + _EOn, + _PDNO, + _MOa, + _DASi, + _EPI, + _NPO, + _Op, + _SIec, + _DR, + _DAT, + _IISB, + _PIAr, + _CTl, + _AId, + _NIe, + _IIP, + _EO, + ), + ( + (lambda: schemas.BLOCK_DEVICE_MAPPING_REQUEST_LIST, {_sN: _BDM}), + (lambda: schemas.IMAGE_ID, 0), + (lambda: schemas.INSTANCE_TYPE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INSTANCE_IPV6_ADDRESS_LIST, {_sN: _IApv}), + (lambda: schemas.KERNEL_ID, 0), + (lambda: schemas.KEY_PAIR_NAME, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.RUN_INSTANCES_MONITORING_ENABLED, 0), + (lambda: schemas.PLACEMENT, 0), + (lambda: schemas.RAMDISK_ID, 0), + (lambda: schemas.SECURITY_GROUP_ID_STRING_LIST, {_sN: _SGI}), + (lambda: schemas.SECURITY_GROUP_STRING_LIST, {_sN: _SG}), + (lambda: schemas.SUBNET_ID, 0), + (RUN_INSTANCES_USER_DATA, 0), + (ELASTIC_GPU_SPECIFICATIONS, 0), + (ELASTIC_INFERENCE_ACCELERATORS, {_sN: _EIAl}), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (LAUNCH_TEMPLATE_SPECIFICATION, 0), + (INSTANCE_MARKET_OPTIONS_REQUEST, 0), + (lambda: schemas.CREDIT_SPECIFICATION_REQUEST, 0), + (CPU_OPTIONS_REQUEST, 0), + (lambda: schemas.CAPACITY_RESERVATION_SPECIFICATION, 0), + (HIBERNATION_OPTIONS_REQUEST, 0), + (LICENSE_SPECIFICATION_LIST_REQUEST, {_sN: _LSice}), + (INSTANCE_METADATA_OPTIONS_REQUEST, 0), + (lambda: schemas.ENCLAVE_OPTIONS_REQUEST, 0), + (PRIVATE_DNS_NAME_OPTIONS_REQUEST, 0), + (INSTANCE_MAINTENANCE_OPTIONS_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (INSTANCE_NETWORK_PERFORMANCE_OPTIONS_REQUEST, 0), + (lambda: schemas.OPERATOR_REQUEST, 0), + (INSTANCE_SECONDARY_INTERFACE_SPECIFICATION_LIST_REQUEST, {_sN: _SIeco}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.BOOLEAN, {_aQN: _DAT, _sN: _dAT}), + (lambda: schemas.SHUTDOWN_BEHAVIOR, {_aQN: _IISB, _sN: _iISB}), + (lambda: schemas.STRING, {_aQN: _PIAr, _sN: _pIAr}), + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl, _sT: None}), + (lambda: schemas.STRING, {_aQN: _AId, _sN: _aId}), + ( + lambda: schemas.INSTANCE_NETWORK_INTERFACE_SPECIFICATION_LIST, + {_aQN: _NI, _sN: _nI}, + ), + (lambda: schemas.IAM_INSTANCE_PROFILE_SPECIFICATION, {_aQN: _IIP, _sN: _iIP}), + (lambda: schemas.BOOLEAN, {_aQN: _EO, _sN: _eO}), + ), +) + +RUN_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _RIOu, + {_sSI: _cRo, _smit: None}, + (_RI, _OIw, _RIeq, _G, _Ins), + ( + (lambda: schemas.STRING, {_aQN: _RI, _sN: _rIes}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.STRING, {_aQN: _RIeq, _sN: _rIeq}), + (lambda: schemas.GROUP_IDENTIFIER_LIST, {_aQN: _GS, _sN: _gS}), + (lambda: schemas.INSTANCE_LIST, {_aQN: _ISnst, _sN: _iSns}), + ), +) + +RUN_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _RIu, + 0, + RUN_INSTANCES_INPUT, + RUN_INSTANCES_OUTPUT, + (), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_51.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_51.py new file mode 100644 index 000000000..0881fc1e9 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_51.py @@ -0,0 +1,1539 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_RT = "ResourceType" +_TS = "TagSpecification" +_rT = "resourceType" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_R = "Return" +_r = "return" +_IC = "InstanceCount" +_TGAI = "TransitGatewayAttachmentId" +_CVEI = "ClientVpnEndpointId" +_tGAI = "transitGatewayAttachmentId" +_cVEI = "clientVpnEndpointId" +_TGMDI = "TransitGatewayMulticastDomainId" +_SIu = "SubnetId" +_sI = "subnetId" +_RIe = "ResourceId" +_rI = "resourceId" +_ROI = "ResourceOwnerId" +_rOI = "resourceOwnerId" +_Sta = "Status" +_sta = "status" +_SIe = "ServiceId" +_dRr = "dryRun" +_Ci = "Cidr" +_Ar = "Arn" +_N = "Name" +_AZ = "AvailabilityZone" +_II = "InstanceId" +_iI = "instanceId" +_NGI = "NatGatewayId" +_nGI = "natGatewayId" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_SGI = "SecurityGroupId" +_NI = "NetworkInterface" +_NIASI = "NetworkInsightsAccessScopeId" +_IT = "InstanceType" +_Des = "Description" +_PIAr = "PrivateIpAddress" +_pIAr = "privateIpAddress" +_BC = "ByoipCidr" +_bC = "byoipCidr" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_SGIe = "SecurityGroupIds" +_IPp = "Ipv6Prefixes" +_IPpv = "Ipv6Prefix" +_IAp = "Ipv6Addresses" +_iA = "ipv6Addresses" +_IAC = "Ipv6AddressCount" +_IPpvr = "Ipv4Prefixes" +_IPpvre = "Ipv4Prefix" +_PIAri = "PrivateIpAddresses" +_SPIAC = "SecondaryPrivateIpAddressCount" +_NGAa = "NatGatewayAddresses" +_NGASa = "NatGatewayAddressSet" +_nGAS = "natGatewayAddressSet" +_IIn = "InstanceIds" +_sU = "smithy.api#Unit" +_IIP = "IamInstanceProfile" +_IIS = "InstanceIdSet" +_iIS = "instanceIdSet" +_GIr = "GroupId" +_TGRTI = "TransitGatewayRouteTableId" +_G = "Groups" +_IIm = "ImageId" +_DI = "DeviceIndex" +_smith = "smithy.api#sensitive" +_DOT = "DeleteOnTermination" +_GN = "GroupName" +_IPper = "IpPermissions" +_SGRI = "SecurityGroupRuleId" +_Fo = "Force" +_RIep = "ReportId" +_PSre = "PreviousState" +_pSre = "previousState" +_iC = "instanceCount" +_TIe = "TerminateInstances" +_En = "Encrypted" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_VT = "VolumeType" +_Io = "Iops" +_EO = "EbsOptimized" +_ITnt = "InterruptionType" +_ZSP = "ZeroSizePreference" +_TIC = "TargetInstanceCount" +_tIC = "targetInstanceCount" +_ICRI = "InterruptibleCapacityReservationId" +_iCRI = "interruptibleCapacityReservationId" +_iTn = "interruptionType" +_SCRI = "SourceCapacityReservationId" +_sCRI = "sourceCapacityReservationId" +_Ena = "Enabled" +_LGRTI = "LocalGatewayRouteTableId" +_DNe = "DeviceName" +_VSol = "VolumeSize" +_VN = "VirtualName" +_Eb = "Ebs" +_ND = "NoDevice" +_BDM = "BlockDeviceMapping" +_Pl = "Placement" +_KN = "KeyName" +_BDMl = "BlockDeviceMappings" +_rIe = "reportId" +_SBu = "S3Bucket" +_SPr = "S3Prefix" +_val = "valid" +_KI = "KernelId" +_IApv = "Ipv6Address" +_Prim = "Primary" +_APIAsso = "AssociatePublicIpAddress" +_RIa = "RamdiskId" +_NIe = "NetworkInterfaces" +_Mon = "Monitoring" +_UDs = "UserData" +_stat = "static" +_NIPI = "NetworkInsightsPathId" +_Rout = "Routes" +_RSout = "RouteSet" +_rSou = "routeSet" +_RV = "ReturnValue" +_GIA = "GroupIpAddress" +_gIA = "groupIpAddress" +_Fi = "Filter" +_Fil = "Filters" +_NTex = "NextToken" +_MR = "MaxResults" +_nT = "nextToken" +_ISnst = "InstancesSet" +_iSns = "instancesSet" +_CIon = "ConnectionId" +_cIon = "connectionId" +_Use = "Username" +_user = "username" +_TIa = "TargetId" +_Gr = "Group" +_NIASAe = "NetworkInsightsAccessScopeAnalysis" +_NIAet = "NetworkInsightsAnalysis" +_AAdd = "AdditionalAccounts" +_FIAi = "FilterInArns" +_FOA = "FilterOutArns" +_SIIc = "ScheduledInstanceId" +_LSaun = "LaunchSpecification" +_for = "force" +_CMSa = "CapacityManagerStatus" +_cMSa = "capacityManagerStatus" +_OArg = "OrganizationsAccess" +_oArg = "organizationsAccess" +_MDDS = "MaxDrainDurationSeconds" +_CMTK = "CapacityManagerTagKeys" +_CMTKS = "CapacityManagerTagKeySet" +_cMTKS = "capacityManagerTagKeySet" +_AId = "AdditionalInfo" +_aId = "additionalInfo" +_IMnst = "InstanceMonitorings" +_SIE = "ScheduledInstancesEbs" +_SIBDM = "ScheduledInstancesBlockDeviceMapping" +_SIBDMS = "ScheduledInstancesBlockDeviceMappingSet" +_SIIIP = "ScheduledInstancesIamInstanceProfile" +_SIM = "ScheduledInstancesMonitoring" +_SISGIS = "ScheduledInstancesSecurityGroupIdSet" +_SIIAc = "ScheduledInstancesIpv6Address" +_SIIALc = "ScheduledInstancesIpv6AddressList" +_SIPIAC = "ScheduledInstancesPrivateIpAddressConfig" +_PIACS = "PrivateIpAddressConfigSet" +_SINI = "ScheduledInstancesNetworkInterface" +_PIACr = "PrivateIpAddressConfigs" +_PIACri = "PrivateIpAddressConfig" +_SINIS = "ScheduledInstancesNetworkInterfaceSet" +_SIPc = "ScheduledInstancesPlacement" +_SILS = "ScheduledInstancesLaunchSpecification" +_RSIIu = "RunScheduledInstancesInput" +_cRSIRom = "com.amazonaws.ec2#RunScheduledInstancesRequest" +_RSIOu = "RunScheduledInstancesOutput" +_cRSIRoma = "com.amazonaws.ec2#RunScheduledInstancesResult" +_RSIu = "RunScheduledInstances" +_SLGRI = "SearchLocalGatewayRoutesInput" +_cSLGRR = "com.amazonaws.ec2#SearchLocalGatewayRoutesRequest" +_LGRL = "LocalGatewayRouteList" +_SLGRO = "SearchLocalGatewayRoutesOutput" +_cSLGRRo = "com.amazonaws.ec2#SearchLocalGatewayRoutesResult" +_SLGR = "SearchLocalGatewayRoutes" +_STGMGI = "SearchTransitGatewayMulticastGroupsInput" +_cSTGMGR = "com.amazonaws.ec2#SearchTransitGatewayMulticastGroupsRequest" +_MTem = "MembershipType" +_igm = "igmp" +_TGMG = "TransitGatewayMulticastGroup" +_GM = "GroupMember" +_gM = "groupMember" +_GSr = "GroupSource" +_gSr = "groupSource" +_MTemb = "MemberType" +_mTe = "memberType" +_STo = "SourceType" +_sTo = "sourceType" +_TGMGL = "TransitGatewayMulticastGroupList" +_STGMGO = "SearchTransitGatewayMulticastGroupsOutput" +_cSTGMGRo = "com.amazonaws.ec2#SearchTransitGatewayMulticastGroupsResult" +_MG = "MulticastGroups" +_mG = "multicastGroups" +_STGMG = "SearchTransitGatewayMulticastGroups" +_STGRI = "SearchTransitGatewayRoutesInput" +_cSTGRR = "com.amazonaws.ec2#SearchTransitGatewayRoutesRequest" +_TGRL = "TransitGatewayRouteList" +_STGRO = "SearchTransitGatewayRoutesOutput" +_cSTGRRo = "com.amazonaws.ec2#SearchTransitGatewayRoutesResult" +_ARAd = "AdditionalRoutesAvailable" +_aRAd = "additionalRoutesAvailable" +_STGR = "SearchTransitGatewayRoutes" +_SDII = "SendDiagnosticInterruptInput" +_cSDIR = "com.amazonaws.ec2#SendDiagnosticInterruptRequest" +_SDIO = "SendDiagnosticInterruptOutput" +_SDI = "SendDiagnosticInterrupt" +_SDPRI = "StartDeclarativePoliciesReportInput" +_cSDPRR = "com.amazonaws.ec2#StartDeclarativePoliciesReportRequest" +_SDPRO = "StartDeclarativePoliciesReportOutput" +_cSDPRRo = "com.amazonaws.ec2#StartDeclarativePoliciesReportResult" +_SDPR = "StartDeclarativePoliciesReport" +_SIIt = "StartInstancesInput" +_cSIR = "com.amazonaws.ec2#StartInstancesRequest" +_ISC = "InstanceStateChange" +_CSu = "CurrentState" +_cSu = "currentState" +_ISCL = "InstanceStateChangeList" +_SIO = "StartInstancesOutput" +_cSIRo = "com.amazonaws.ec2#StartInstancesResult" +_SIt = "StartingInstances" +_SIta = "StartInstances" +_SNIASAI = "StartNetworkInsightsAccessScopeAnalysisInput" +_cSNIASAR = "com.amazonaws.ec2#StartNetworkInsightsAccessScopeAnalysisRequest" +_SNIASAO = "StartNetworkInsightsAccessScopeAnalysisOutput" +_cSNIASARo = "com.amazonaws.ec2#StartNetworkInsightsAccessScopeAnalysisResult" +_nIASAe = "networkInsightsAccessScopeAnalysis" +_SNIASA = "StartNetworkInsightsAccessScopeAnalysis" +_SNIAI = "StartNetworkInsightsAnalysisInput" +_cSNIAR = "com.amazonaws.ec2#StartNetworkInsightsAnalysisRequest" +_AAddi = "AdditionalAccount" +_FIAil = "FilterInArn" +_FOAil = "FilterOutArn" +_SNIAO = "StartNetworkInsightsAnalysisOutput" +_cSNIARo = "com.amazonaws.ec2#StartNetworkInsightsAnalysisResult" +_nIA = "networkInsightsAnalysis" +_SNIA = "StartNetworkInsightsAnalysis" +_SVESPDVI = "StartVpcEndpointServicePrivateDnsVerificationInput" +_cSVESPDVR = "com.amazonaws.ec2#StartVpcEndpointServicePrivateDnsVerificationRequest" +_SVESPDVO = "StartVpcEndpointServicePrivateDnsVerificationOutput" +_cSVESPDVRo = "com.amazonaws.ec2#StartVpcEndpointServicePrivateDnsVerificationResult" +_SVESPDV = "StartVpcEndpointServicePrivateDnsVerification" +_SIIto = "StopInstancesInput" +_cSIRom = "com.amazonaws.ec2#StopInstancesRequest" +_Hi = "Hibernate" +_SOS = "SkipOsShutdown" +_SIOt = "StopInstancesOutput" +_cSIRoma = "com.amazonaws.ec2#StopInstancesResult" +_SIto = "StoppingInstances" +_SItop = "StopInstances" +_TCVCI = "TerminateClientVpnConnectionsInput" +_cTCVCR = "com.amazonaws.ec2#TerminateClientVpnConnectionsRequest" +_TCSe = "TerminateConnectionStatus" +_PSrev = "PreviousStatus" +_pSrev = "previousStatus" +_CSur = "CurrentStatus" +_cSur = "currentStatus" +_TCSS = "TerminateConnectionStatusSet" +_TCVCO = "TerminateClientVpnConnectionsOutput" +_cTCVCRo = "com.amazonaws.ec2#TerminateClientVpnConnectionsResult" +_CSonn = "ConnectionStatuses" +_cSonn = "connectionStatuses" +_TCVC = "TerminateClientVpnConnections" +_TIIe = "TerminateInstancesInput" +_cTIR = "com.amazonaws.ec2#TerminateInstancesRequest" +_TIO = "TerminateInstancesOutput" +_cTIRo = "com.amazonaws.ec2#TerminateInstancesResult" +_TIer = "TerminatingInstances" +_UIAI = "UnassignIpv6AddressesInput" +_cUIAR = "com.amazonaws.ec2#UnassignIpv6AddressesRequest" +_UIAO = "UnassignIpv6AddressesOutput" +_cUIARo = "com.amazonaws.ec2#UnassignIpv6AddressesResult" +_UIA = "UnassignedIpv6Addresses" +_uIA = "unassignedIpv6Addresses" +_UIPn = "UnassignedIpv6Prefixes" +_UIPSn = "UnassignedIpv6PrefixSet" +_uIPSn = "unassignedIpv6PrefixSet" +_UIAn = "UnassignIpv6Addresses" +_UPIAI = "UnassignPrivateIpAddressesInput" +_cUPIAR = "com.amazonaws.ec2#UnassignPrivateIpAddressesRequest" +_UPIAO = "UnassignPrivateIpAddressesOutput" +_UPIA = "UnassignPrivateIpAddresses" +_UPNGAI = "UnassignPrivateNatGatewayAddressInput" +_cUPNGAR = "com.amazonaws.ec2#UnassignPrivateNatGatewayAddressRequest" +_UPNGAO = "UnassignPrivateNatGatewayAddressOutput" +_cUPNGARo = "com.amazonaws.ec2#UnassignPrivateNatGatewayAddressResult" +_UPNGA = "UnassignPrivateNatGatewayAddress" +_USI = "UnlockSnapshotInput" +_cUSR = "com.amazonaws.ec2#UnlockSnapshotRequest" +_USO = "UnlockSnapshotOutput" +_cUSRo = "com.amazonaws.ec2#UnlockSnapshotResult" +_USn = "UnlockSnapshot" +_UII = "UnmonitorInstancesInput" +_cUIR = "com.amazonaws.ec2#UnmonitorInstancesRequest" +_UIO = "UnmonitorInstancesOutput" +_cUIRo = "com.amazonaws.ec2#UnmonitorInstancesResult" +_UIn = "UnmonitorInstances" +_UCMMTKI = "UpdateCapacityManagerMonitoredTagKeysInput" +_cUCMMTKR = "com.amazonaws.ec2#UpdateCapacityManagerMonitoredTagKeysRequest" +_ATK = "ActivateTagKeys" +_ATKc = "ActivateTagKey" +_DTK = "DeactivateTagKeys" +_DTKe = "DeactivateTagKey" +_UCMMTKO = "UpdateCapacityManagerMonitoredTagKeysOutput" +_cUCMMTKRo = "com.amazonaws.ec2#UpdateCapacityManagerMonitoredTagKeysResult" +_UCMMTK = "UpdateCapacityManagerMonitoredTagKeys" +_UCMOAI = "UpdateCapacityManagerOrganizationsAccessInput" +_cUCMOAR = "com.amazonaws.ec2#UpdateCapacityManagerOrganizationsAccessRequest" +_UCMOAO = "UpdateCapacityManagerOrganizationsAccessOutput" +_cUCMOARo = "com.amazonaws.ec2#UpdateCapacityManagerOrganizationsAccessResult" +_UCMOA = "UpdateCapacityManagerOrganizationsAccess" +_UICRAI = "UpdateInterruptibleCapacityReservationAllocationInput" +_cUICRAR = "com.amazonaws.ec2#UpdateInterruptibleCapacityReservationAllocationRequest" +_UICRAO = "UpdateInterruptibleCapacityReservationAllocationOutput" +_cUICRARo = "com.amazonaws.ec2#UpdateInterruptibleCapacityReservationAllocationResult" +_UICRA = "UpdateInterruptibleCapacityReservationAllocation" +_SGRD = "SecurityGroupRuleDescription" +_SGRDL = "SecurityGroupRuleDescriptionList" +_USGRDEI = "UpdateSecurityGroupRuleDescriptionsEgressInput" +_cUSGRDER = "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsEgressRequest" +_SGRDe = "SecurityGroupRuleDescriptions" +_USGRDEO = "UpdateSecurityGroupRuleDescriptionsEgressOutput" +_cUSGRDERo = "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsEgressResult" +_USGRDE = "UpdateSecurityGroupRuleDescriptionsEgress" +_USGRDII = "UpdateSecurityGroupRuleDescriptionsIngressInput" +_cUSGRDIR = "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsIngressRequest" +_USGRDIO = "UpdateSecurityGroupRuleDescriptionsIngressOutput" +_cUSGRDIRo = "com.amazonaws.ec2#UpdateSecurityGroupRuleDescriptionsIngressResult" +_USGRDI = "UpdateSecurityGroupRuleDescriptionsIngress" +_VSGQFII = "ValidateSecurityGroupQuotasForInterfaceInput" +_cVSGQFIR = "com.amazonaws.ec2#ValidateSecurityGroupQuotasForInterfaceRequest" +_VSGQFIO = "ValidateSecurityGroupQuotasForInterfaceOutput" +_cVSGQFIRo = "com.amazonaws.ec2#ValidateSecurityGroupQuotasForInterfaceResult" +_Vali = "Valid" +_VSGQFI = "ValidateSecurityGroupQuotasForInterface" +_WBCI = "WithdrawByoipCidrInput" +_cWBCR = "com.amazonaws.ec2#WithdrawByoipCidrRequest" +_WBCO = "WithdrawByoipCidrOutput" +_cWBCRo = "com.amazonaws.ec2#WithdrawByoipCidrResult" +_WBC = "WithdrawByoipCidr" +_AECm = "AmazonEC2" +_aw = "aws.auth#sigv4" +_aQ = "aws.protocols#ec2Query" +_awsa = "aws.api#service" +_sNm = "smithy.api#xmlNamespace" + +SCHEDULED_INSTANCES_EBS: StaticSchema = ( + 18, + n0, + _SIE, + 0, + (_DOT, _En, _Io, _SIn, _VSol, _VT), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.SNAPSHOT_ID, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING: StaticSchema = ( + 18, + n0, + _SIBDM, + 0, + (_DNe, _Eb, _ND, _VN), + ( + (lambda: schemas.STRING, 0), + (SCHEDULED_INSTANCES_EBS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING_SET: StaticSchema = ( + 16, + n0, + _SIBDMS, + 0, + (_me,), + ((SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING, {_sN: _BDM}),), +) + +SCHEDULED_INSTANCES_IAM_INSTANCE_PROFILE: StaticSchema = ( + 18, + n0, + _SIIIP, + 0, + (_Ar, _N), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SCHEDULED_INSTANCES_MONITORING: StaticSchema = ( + 18, + n0, + _SIM, + 0, + (_Ena,), + ((lambda: schemas.BOOLEAN, 0),), +) + +SCHEDULED_INSTANCES_SECURITY_GROUP_ID_SET: StaticSchema = ( + 16, + n0, + _SISGIS, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_ID, {_sN: _SGI}),), +) + +IPV6_ADDRESS: StaticSchema = (3, n0, _IApv, 0) + +SCHEDULED_INSTANCES_IPV6_ADDRESS: StaticSchema = ( + 18, + n0, + _SIIAc, + 0, + (_IApv,), + ((IPV6_ADDRESS, 0),), +) + +SCHEDULED_INSTANCES_IPV6_ADDRESS_LIST: StaticSchema = ( + 16, + n0, + _SIIALc, + 0, + (_me,), + ((SCHEDULED_INSTANCES_IPV6_ADDRESS, {_sN: _IApv}),), +) + +SCHEDULED_INSTANCES_PRIVATE_IP_ADDRESS_CONFIG: StaticSchema = ( + 18, + n0, + _SIPIAC, + 0, + (_Prim, _PIAr), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.STRING, 0)), +) + +PRIVATE_IP_ADDRESS_CONFIG_SET: StaticSchema = ( + 16, + n0, + _PIACS, + 0, + (_me,), + ((SCHEDULED_INSTANCES_PRIVATE_IP_ADDRESS_CONFIG, {_sN: _PIACS}),), +) + +SCHEDULED_INSTANCES_NETWORK_INTERFACE: StaticSchema = ( + 18, + n0, + _SINI, + 0, + (_APIAsso, _DOT, _Des, _DI, _G, _IAC, _IAp, _NII, _PIAr, _PIACr, _SPIAC, _SIu), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (SCHEDULED_INSTANCES_SECURITY_GROUP_ID_SET, {_sN: _Gr}), + (lambda: schemas.INTEGER, 0), + (SCHEDULED_INSTANCES_IPV6_ADDRESS_LIST, {_sN: _IApv}), + (lambda: schemas.NETWORK_INTERFACE_ID, 0), + (lambda: schemas.STRING, 0), + (PRIVATE_IP_ADDRESS_CONFIG_SET, {_sN: _PIACri}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.SUBNET_ID, 0), + ), +) + +SCHEDULED_INSTANCES_NETWORK_INTERFACE_SET: StaticSchema = ( + 16, + n0, + _SINIS, + 0, + (_me,), + ((SCHEDULED_INSTANCES_NETWORK_INTERFACE, {_sN: _NI}),), +) + +SCHEDULED_INSTANCES_PLACEMENT: StaticSchema = ( + 18, + n0, + _SIPc, + 0, + (_AZ, _GN), + ((lambda: schemas.STRING, 0), (lambda: schemas.PLACEMENT_GROUP_NAME, 0)), +) + +SCHEDULED_INSTANCES_LAUNCH_SPECIFICATION: StaticSchema = ( + 18, + n0, + _SILS, + 4, + (_BDMl, _EO, _IIP, _IIm, _IT, _KI, _KN, _Mon, _NIe, _Pl, _RIa, _SGIe, _SIu, _UDs), + ( + (SCHEDULED_INSTANCES_BLOCK_DEVICE_MAPPING_SET, {_sN: _BDM}), + (lambda: schemas.BOOLEAN, 0), + (SCHEDULED_INSTANCES_IAM_INSTANCE_PROFILE, 0), + (lambda: schemas.IMAGE_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.KERNEL_ID, 0), + (lambda: schemas.KEY_PAIR_NAME, 0), + (SCHEDULED_INSTANCES_MONITORING, 0), + (SCHEDULED_INSTANCES_NETWORK_INTERFACE_SET, {_sN: _NI}), + (SCHEDULED_INSTANCES_PLACEMENT, 0), + (lambda: schemas.RAMDISK_ID, 0), + (SCHEDULED_INSTANCES_SECURITY_GROUP_ID_SET, {_sN: _SGI}), + (lambda: schemas.SUBNET_ID, 0), + (lambda: schemas.STRING, 0), + ), +) + +RUN_SCHEDULED_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _RSIIu, + {_sSI: _cRSIRom, _sm: None}, + (_CTl, _DR, _IC, _LSaun, _SIIc), + ( + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (SCHEDULED_INSTANCES_LAUNCH_SPECIFICATION, 1), + (lambda: schemas.SCHEDULED_INSTANCE_ID, 1), + ), +) + +RUN_SCHEDULED_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _RSIOu, + {_sSI: _cRSIRoma, _smit: None}, + (_IIS,), + ((lambda: INSTANCE_ID_SET, {_aQN: _IIS, _sN: _iIS}),), +) + +RUN_SCHEDULED_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _RSIu, + 0, + RUN_SCHEDULED_INSTANCES_INPUT, + RUN_SCHEDULED_INSTANCES_OUTPUT, + (), +) + +INSTANCE_ID_SET: StaticSchema = ( + 16, + n0, + _IIS, + 0, + (_me,), + ((lambda: schemas.INSTANCE_ID, {_sN: _i}),), +) + +SEARCH_LOCAL_GATEWAY_ROUTES_INPUT: StaticSchema = ( + 18, + n0, + _SLGRI, + {_sSI: _cSLGRR, _sm: None}, + (_LGRTI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +SEARCH_LOCAL_GATEWAY_ROUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _SLGRO, + {_sSI: _cSLGRRo, _smit: None}, + (_Rout, _NTex), + ( + (lambda: LOCAL_GATEWAY_ROUTE_LIST, {_aQN: _RSout, _sN: _rSou}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +SEARCH_LOCAL_GATEWAY_ROUTES: StaticOperationSchema = ( + 23, + n0, + _SLGR, + 0, + SEARCH_LOCAL_GATEWAY_ROUTES_INPUT, + SEARCH_LOCAL_GATEWAY_ROUTES_OUTPUT, + (), +) + +LOCAL_GATEWAY_ROUTE_LIST: StaticSchema = ( + 16, + n0, + _LGRL, + 0, + (_me,), + ((lambda: schemas.LOCAL_GATEWAY_ROUTE, {_sN: _i}),), +) + +SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _STGMGI, + {_sSI: _cSTGMGR, _sm: None}, + (_TGMDI, _Fil, _MR, _NTex, _DR), + ( + (lambda: schemas.TRANSIT_GATEWAY_MULTICAST_DOMAIN_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _STGMGO, + {_sSI: _cSTGMGRo, _smit: None}, + (_MG, _NTex), + ( + (lambda: TRANSIT_GATEWAY_MULTICAST_GROUP_LIST, {_aQN: _MG, _sN: _mG}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS: StaticOperationSchema = ( + 23, + n0, + _STGMG, + 0, + SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_INPUT, + SEARCH_TRANSIT_GATEWAY_MULTICAST_GROUPS_OUTPUT, + (), +) + +MEMBERSHIP_TYPE: StaticSchema = ( + 14, + n0, + _MTem, + 0, + (_stat, _igm), + ((-1, {_sV: _stat}), (-1, {_sV: _igm})), +) + +TRANSIT_GATEWAY_MULTICAST_GROUP: StaticSchema = ( + 18, + n0, + _TGMG, + 0, + (_GIA, _TGAI, _SIu, _RIe, _RT, _ROI, _NII, _GM, _GSr, _MTemb, _STo), + ( + (lambda: schemas.STRING, {_aQN: _GIA, _sN: _gIA}), + (lambda: schemas.STRING, {_aQN: _TGAI, _sN: _tGAI}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.STRING, {_aQN: _RIe, _sN: _rI}), + ( + lambda: schemas.TRANSIT_GATEWAY_ATTACHMENT_RESOURCE_TYPE, + {_aQN: _RT, _sN: _rT}, + ), + (lambda: schemas.STRING, {_aQN: _ROI, _sN: _rOI}), + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.BOOLEAN, {_aQN: _GM, _sN: _gM}), + (lambda: schemas.BOOLEAN, {_aQN: _GSr, _sN: _gSr}), + (MEMBERSHIP_TYPE, {_aQN: _MTemb, _sN: _mTe}), + (MEMBERSHIP_TYPE, {_aQN: _STo, _sN: _sTo}), + ), +) + +TRANSIT_GATEWAY_MULTICAST_GROUP_LIST: StaticSchema = ( + 16, + n0, + _TGMGL, + 0, + (_me,), + ((TRANSIT_GATEWAY_MULTICAST_GROUP, {_sN: _i}),), +) + +SEARCH_TRANSIT_GATEWAY_ROUTES_INPUT: StaticSchema = ( + 18, + n0, + _STGRI, + {_sSI: _cSTGRR, _sm: None}, + (_TGRTI, _Fil, _MR, _DR, _NTex), + ( + (lambda: schemas.TRANSIT_GATEWAY_ROUTE_TABLE_ID, 1), + (lambda: schemas.FILTER_LIST, {_sN: _Fi, _smi: None}), + (lambda: schemas.TRANSIT_GATEWAY_MAX_RESULTS, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +SEARCH_TRANSIT_GATEWAY_ROUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _STGRO, + {_sSI: _cSTGRRo, _smit: None}, + (_Rout, _ARAd, _NTex), + ( + (lambda: TRANSIT_GATEWAY_ROUTE_LIST, {_aQN: _RSout, _sN: _rSou}), + (lambda: schemas.BOOLEAN, {_aQN: _ARAd, _sN: _aRAd}), + (lambda: schemas.STRING, {_aQN: _NTex, _sN: _nT}), + ), +) + +SEARCH_TRANSIT_GATEWAY_ROUTES: StaticOperationSchema = ( + 23, + n0, + _STGR, + 0, + SEARCH_TRANSIT_GATEWAY_ROUTES_INPUT, + SEARCH_TRANSIT_GATEWAY_ROUTES_OUTPUT, + (), +) + +TRANSIT_GATEWAY_ROUTE_LIST: StaticSchema = ( + 16, + n0, + _TGRL, + 0, + (_me,), + ((lambda: schemas.TRANSIT_GATEWAY_ROUTE, {_sN: _i}),), +) + +SEND_DIAGNOSTIC_INTERRUPT_INPUT: StaticSchema = ( + 18, + n0, + _SDII, + {_sSI: _cSDIR, _sm: None}, + (_II, _DR), + ((lambda: schemas.INSTANCE_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +SEND_DIAGNOSTIC_INTERRUPT_OUTPUT: StaticSchema = ( + 18, + n0, + _SDIO, + {_sSI: _sU, _smit: None}, +) + +SEND_DIAGNOSTIC_INTERRUPT: StaticOperationSchema = ( + 23, + n0, + _SDI, + 0, + SEND_DIAGNOSTIC_INTERRUPT_INPUT, + SEND_DIAGNOSTIC_INTERRUPT_OUTPUT, + (), +) + +START_DECLARATIVE_POLICIES_REPORT_INPUT: StaticSchema = ( + 18, + n0, + _SDPRI, + {_sSI: _cSDPRR, _sm: None}, + (_DR, _SBu, _SPr, _TIa, _TSa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +START_DECLARATIVE_POLICIES_REPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _SDPRO, + {_sSI: _cSDPRRo, _smit: None}, + (_RIep,), + ((lambda: schemas.STRING, {_aQN: _RIep, _sN: _rIe}),), +) + +START_DECLARATIVE_POLICIES_REPORT: StaticOperationSchema = ( + 23, + n0, + _SDPR, + 0, + START_DECLARATIVE_POLICIES_REPORT_INPUT, + START_DECLARATIVE_POLICIES_REPORT_OUTPUT, + (), +) + +START_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _SIIt, + {_sSI: _cSIR, _sm: None}, + (_IIn, _AId, _DR), + ( + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), + (lambda: schemas.STRING, {_aQN: _AId, _sN: _aId}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +START_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _SIO, + {_sSI: _cSIRo, _smit: None}, + (_SIt,), + ((lambda: INSTANCE_STATE_CHANGE_LIST, {_aQN: _ISnst, _sN: _iSns}),), +) + +START_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _SIta, + 0, + START_INSTANCES_INPUT, + START_INSTANCES_OUTPUT, + (), +) + +INSTANCE_STATE_CHANGE: StaticSchema = ( + 18, + n0, + _ISC, + 0, + (_II, _CSu, _PSre), + ( + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.INSTANCE_STATE, {_aQN: _CSu, _sN: _cSu}), + (lambda: schemas.INSTANCE_STATE, {_aQN: _PSre, _sN: _pSre}), + ), +) + +INSTANCE_STATE_CHANGE_LIST: StaticSchema = ( + 16, + n0, + _ISCL, + 0, + (_me,), + ((INSTANCE_STATE_CHANGE, {_sN: _i}),), +) + +START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT: StaticSchema = ( + 18, + n0, + _SNIASAI, + {_sSI: _cSNIASAR, _sm: None}, + (_NIASI, _DR, _TSa, _CTl), + ( + (lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ID, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 3), + ), +) + +START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT: StaticSchema = ( + 18, + n0, + _SNIASAO, + {_sSI: _cSNIASARo, _smit: None}, + (_NIASAe,), + ( + ( + lambda: schemas.NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS, + {_aQN: _NIASAe, _sN: _nIASAe}, + ), + ), +) + +START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS: StaticOperationSchema = ( + 23, + n0, + _SNIASA, + 0, + START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_INPUT, + START_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS_OUTPUT, + (), +) + +START_NETWORK_INSIGHTS_ANALYSIS_INPUT: StaticSchema = ( + 18, + n0, + _SNIAI, + {_sSI: _cSNIAR, _sm: None}, + (_NIPI, _AAdd, _FIAi, _FOA, _DR, _TSa, _CTl), + ( + (lambda: schemas.NETWORK_INSIGHTS_PATH_ID, 1), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _AAddi}), + (lambda: schemas.ARN_LIST, {_sN: _FIAil}), + (lambda: schemas.ARN_LIST, {_sN: _FOAil}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 3), + ), +) + +START_NETWORK_INSIGHTS_ANALYSIS_OUTPUT: StaticSchema = ( + 18, + n0, + _SNIAO, + {_sSI: _cSNIARo, _smit: None}, + (_NIAet,), + ((lambda: schemas.NETWORK_INSIGHTS_ANALYSIS, {_aQN: _NIAet, _sN: _nIA}),), +) + +START_NETWORK_INSIGHTS_ANALYSIS: StaticOperationSchema = ( + 23, + n0, + _SNIA, + 0, + START_NETWORK_INSIGHTS_ANALYSIS_INPUT, + START_NETWORK_INSIGHTS_ANALYSIS_OUTPUT, + (), +) + +START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_INPUT: StaticSchema = ( + 18, + n0, + _SVESPDVI, + {_sSI: _cSVESPDVR, _sm: None}, + (_DR, _SIe), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.VPC_ENDPOINT_SERVICE_ID, 1)), +) + +START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _SVESPDVO, + {_sSI: _cSVESPDVRo, _smit: None}, + (_RV,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION: StaticOperationSchema = ( + 23, + n0, + _SVESPDV, + 0, + START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_INPUT, + START_VPC_ENDPOINT_SERVICE_PRIVATE_DNS_VERIFICATION_OUTPUT, + (), +) + +STOP_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _SIIto, + {_sSI: _cSIRom, _sm: None}, + (_IIn, _Hi, _SOS, _DR, _Fo), + ( + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + (lambda: schemas.BOOLEAN, {_aQN: _Fo, _sN: _for}), + ), +) + +STOP_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _SIOt, + {_sSI: _cSIRoma, _smit: None}, + (_SIto,), + ((INSTANCE_STATE_CHANGE_LIST, {_aQN: _ISnst, _sN: _iSns}),), +) + +STOP_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _SItop, + 0, + STOP_INSTANCES_INPUT, + STOP_INSTANCES_OUTPUT, + (), +) + +TERMINATE_CLIENT_VPN_CONNECTIONS_INPUT: StaticSchema = ( + 18, + n0, + _TCVCI, + {_sSI: _cTCVCR, _sm: None}, + (_CVEI, _CIon, _Use, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +TERMINATE_CLIENT_VPN_CONNECTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _TCVCO, + {_sSI: _cTCVCRo, _smit: None}, + (_CVEI, _Use, _CSonn), + ( + (lambda: schemas.STRING, {_aQN: _CVEI, _sN: _cVEI}), + (lambda: schemas.STRING, {_aQN: _Use, _sN: _user}), + (lambda: TERMINATE_CONNECTION_STATUS_SET, {_aQN: _CSonn, _sN: _cSonn}), + ), +) + +TERMINATE_CLIENT_VPN_CONNECTIONS: StaticOperationSchema = ( + 23, + n0, + _TCVC, + 0, + TERMINATE_CLIENT_VPN_CONNECTIONS_INPUT, + TERMINATE_CLIENT_VPN_CONNECTIONS_OUTPUT, + (), +) + +TERMINATE_CONNECTION_STATUS: StaticSchema = ( + 18, + n0, + _TCSe, + 0, + (_CIon, _PSrev, _CSur), + ( + (lambda: schemas.STRING, {_aQN: _CIon, _sN: _cIon}), + (lambda: schemas.CLIENT_VPN_CONNECTION_STATUS, {_aQN: _PSrev, _sN: _pSrev}), + (lambda: schemas.CLIENT_VPN_CONNECTION_STATUS, {_aQN: _CSur, _sN: _cSur}), + ), +) + +TERMINATE_CONNECTION_STATUS_SET: StaticSchema = ( + 16, + n0, + _TCSS, + 0, + (_me,), + ((TERMINATE_CONNECTION_STATUS, {_sN: _i}),), +) + +TERMINATE_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _TIIe, + {_sSI: _cTIR, _sm: None}, + (_IIn, _Fo, _SOS, _DR), + ( + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +TERMINATE_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _TIO, + {_sSI: _cTIRo, _smit: None}, + (_TIer,), + ((INSTANCE_STATE_CHANGE_LIST, {_aQN: _ISnst, _sN: _iSns}),), +) + +TERMINATE_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _TIe, + 0, + TERMINATE_INSTANCES_INPUT, + TERMINATE_INSTANCES_OUTPUT, + (), +) + +UNASSIGN_IPV6_ADDRESSES_INPUT: StaticSchema = ( + 18, + n0, + _UIAI, + {_sSI: _cUIAR, _sm: None}, + (_IPp, _NII, _IAp), + ( + (lambda: schemas.IP_PREFIX_LIST, {_sN: _IPpv}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), + (lambda: schemas.IPV6_ADDRESS_LIST, {_aQN: _IAp, _sN: _iA}), + ), +) + +UNASSIGN_IPV6_ADDRESSES_OUTPUT: StaticSchema = ( + 18, + n0, + _UIAO, + {_sSI: _cUIARo, _smit: None}, + (_NII, _UIA, _UIPn), + ( + (lambda: schemas.STRING, {_aQN: _NII, _sN: _nII}), + (lambda: schemas.IPV6_ADDRESS_LIST, {_aQN: _UIA, _sN: _uIA}), + (lambda: schemas.IP_PREFIX_LIST, {_aQN: _UIPSn, _sN: _uIPSn}), + ), +) + +UNASSIGN_IPV6_ADDRESSES: StaticOperationSchema = ( + 23, + n0, + _UIAn, + 0, + UNASSIGN_IPV6_ADDRESSES_INPUT, + UNASSIGN_IPV6_ADDRESSES_OUTPUT, + (), +) + +UNASSIGN_PRIVATE_IP_ADDRESSES_INPUT: StaticSchema = ( + 18, + n0, + _UPIAI, + {_sSI: _cUPIAR, _sm: None}, + (_IPpvr, _NII, _PIAri), + ( + (lambda: schemas.IP_PREFIX_LIST, {_sN: _IPpvre}), + (lambda: schemas.NETWORK_INTERFACE_ID, {_aQN: _NII, _sN: _nII, _smi: None}), + (lambda: schemas.PRIVATE_IP_ADDRESS_STRING_LIST, {_aQN: _PIAr, _sN: _pIAr}), + ), +) + +UNASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT: StaticSchema = ( + 18, + n0, + _UPIAO, + {_sSI: _sU, _smit: None}, +) + +UNASSIGN_PRIVATE_IP_ADDRESSES: StaticOperationSchema = ( + 23, + n0, + _UPIA, + 0, + UNASSIGN_PRIVATE_IP_ADDRESSES_INPUT, + UNASSIGN_PRIVATE_IP_ADDRESSES_OUTPUT, + (), +) + +UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT: StaticSchema = ( + 18, + n0, + _UPNGAI, + {_sSI: _cUPNGAR, _sm: None}, + (_NGI, _PIAri, _MDDS, _DR), + ( + (lambda: schemas.NAT_GATEWAY_ID, 1), + (lambda: schemas.IP_LIST, {_sN: _PIAr, _smi: None}), + (lambda: schemas.DRAIN_SECONDS, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _UPNGAO, + {_sSI: _cUPNGARo, _smit: None}, + (_NGI, _NGAa), + ( + (lambda: schemas.NAT_GATEWAY_ID, {_aQN: _NGI, _sN: _nGI}), + (lambda: schemas.NAT_GATEWAY_ADDRESS_LIST, {_aQN: _NGASa, _sN: _nGAS}), + ), +) + +UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS: StaticOperationSchema = ( + 23, + n0, + _UPNGA, + 0, + UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_INPUT, + UNASSIGN_PRIVATE_NAT_GATEWAY_ADDRESS_OUTPUT, + (), +) + +UNLOCK_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _USI, + {_sSI: _cUSR, _sm: None}, + (_SIn, _DR), + ((lambda: schemas.SNAPSHOT_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +UNLOCK_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _USO, + {_sSI: _cUSRo, _smit: None}, + (_SIn,), + ((lambda: schemas.STRING, {_aQN: _SIn, _sN: _sIn}),), +) + +UNLOCK_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _USn, + 0, + UNLOCK_SNAPSHOT_INPUT, + UNLOCK_SNAPSHOT_OUTPUT, + (), +) + +UNMONITOR_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _UII, + {_sSI: _cUIR, _sm: None}, + (_IIn, _DR), + ( + (lambda: schemas.INSTANCE_ID_STRING_LIST, {_sN: _II, _smi: None}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +UNMONITOR_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _UIO, + {_sSI: _cUIRo, _smit: None}, + (_IMnst,), + ((lambda: schemas.INSTANCE_MONITORING_LIST, {_aQN: _ISnst, _sN: _iSns}),), +) + +UNMONITOR_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _UIn, + 0, + UNMONITOR_INSTANCES_INPUT, + UNMONITOR_INSTANCES_OUTPUT, + (), +) + +UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _UCMMTKI, + {_sSI: _cUCMMTKR, _sm: None}, + (_ATK, _DTK, _DR, _CTl), + ( + (lambda: schemas.VALUE_STRING_LIST, {_sN: _ATKc}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _DTKe}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _UCMMTKO, + {_sSI: _cUCMMTKRo, _smit: None}, + (_CMTK,), + ( + ( + lambda: schemas.CAPACITY_MANAGER_MONITORED_TAG_KEY_LIST, + {_aQN: _CMTKS, _sN: _cMTKS}, + ), + ), +) + +UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS: StaticOperationSchema = ( + 23, + n0, + _UCMMTK, + 0, + UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_INPUT, + UPDATE_CAPACITY_MANAGER_MONITORED_TAG_KEYS_OUTPUT, + (), +) + +UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _UCMOAI, + {_sSI: _cUCMOAR, _sm: None}, + (_OArg, _DR, _CTl), + ( + (lambda: schemas.BOXED_BOOLEAN, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _UCMOAO, + {_sSI: _cUCMOARo, _smit: None}, + (_CMSa, _OArg), + ( + (lambda: schemas.CAPACITY_MANAGER_STATUS, {_aQN: _CMSa, _sN: _cMSa}), + (lambda: schemas.BOOLEAN, {_aQN: _OArg, _sN: _oArg}), + ), +) + +UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS: StaticOperationSchema = ( + 23, + n0, + _UCMOA, + 0, + UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_INPUT, + UPDATE_CAPACITY_MANAGER_ORGANIZATIONS_ACCESS_OUTPUT, + (), +) + +UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT: StaticSchema = ( + 18, + n0, + _UICRAI, + {_sSI: _cUICRAR, _sm: None}, + (_CRI, _TIC, _DR, _ZSP), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ZERO_SIZE_PREFERENCE, 0), + ), +) + +UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UICRAO, + {_sSI: _cUICRARo, _smit: None}, + (_ICRI, _SCRI, _IC, _TIC, _Sta, _ITnt), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, {_aQN: _ICRI, _sN: _iCRI}), + (lambda: schemas.CAPACITY_RESERVATION_ID, {_aQN: _SCRI, _sN: _sCRI}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.INTEGER, {_aQN: _TIC, _sN: _tIC}), + ( + lambda: schemas.INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_STATUS, + {_aQN: _Sta, _sN: _sta}, + ), + (lambda: schemas.INTERRUPTION_TYPE, {_aQN: _ITnt, _sN: _iTn}), + ), +) + +UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION: StaticOperationSchema = ( + 23, + n0, + _UICRA, + 0, + UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_INPUT, + UPDATE_INTERRUPTIBLE_CAPACITY_RESERVATION_ALLOCATION_OUTPUT, + (), +) + +SECURITY_GROUP_RULE_DESCRIPTION: StaticSchema = ( + 18, + n0, + _SGRD, + 0, + (_SGRI, _Des), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SECURITY_GROUP_RULE_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _SGRDL, + 0, + (_me,), + ((SECURITY_GROUP_RULE_DESCRIPTION, {_sN: _i}),), +) + +UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_INPUT: StaticSchema = ( + 18, + n0, + _USGRDEI, + {_sSI: _cUSGRDER, _sm: None}, + (_DR, _GIr, _GN, _IPper, _SGRDe), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SECURITY_GROUP_ID, 0), + (lambda: schemas.SECURITY_GROUP_NAME, 0), + (lambda: schemas.IP_PERMISSION_LIST, 0), + (SECURITY_GROUP_RULE_DESCRIPTION_LIST, {_sN: _SGRD}), + ), +) + +UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _USGRDEO, + {_sSI: _cUSGRDERo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS: StaticOperationSchema = ( + 23, + n0, + _USGRDE, + 0, + UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_INPUT, + UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_EGRESS_OUTPUT, + (), +) + +UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_INPUT: StaticSchema = ( + 18, + n0, + _USGRDII, + {_sSI: _cUSGRDIR, _sm: None}, + (_DR, _GIr, _GN, _IPper, _SGRDe), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SECURITY_GROUP_ID, 0), + (lambda: schemas.SECURITY_GROUP_NAME, 0), + (lambda: schemas.IP_PERMISSION_LIST, 0), + (SECURITY_GROUP_RULE_DESCRIPTION_LIST, {_sN: _SGRD}), + ), +) + +UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _USGRDIO, + {_sSI: _cUSGRDIRo, _smit: None}, + (_R,), + ((lambda: schemas.BOOLEAN, {_aQN: _R, _sN: _r}),), +) + +UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS: StaticOperationSchema = ( + 23, + n0, + _USGRDI, + 0, + UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_INPUT, + UPDATE_SECURITY_GROUP_RULE_DESCRIPTIONS_INGRESS_OUTPUT, + (), +) + +VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_INPUT: StaticSchema = ( + 18, + n0, + _VSGQFII, + {_sSI: _cVSGQFIR, _sm: None}, + (_SGIe, _DR), + ( + (lambda: schemas.SECURITY_GROUP_ID_LIST, {_sN: _SGI, _smi: None}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_OUTPUT: StaticSchema = ( + 18, + n0, + _VSGQFIO, + {_sSI: _cVSGQFIRo, _smit: None}, + (_Vali,), + ((lambda: schemas.BOOLEAN, {_aQN: _Vali, _sN: _val}),), +) + +VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE: StaticOperationSchema = ( + 23, + n0, + _VSGQFI, + 0, + VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_INPUT, + VALIDATE_SECURITY_GROUP_QUOTAS_FOR_INTERFACE_OUTPUT, + (), +) + +WITHDRAW_BYOIP_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _WBCI, + {_sSI: _cWBCR, _sm: None}, + (_Ci, _DR), + ((lambda: schemas.STRING, 1), (lambda: schemas.BOOLEAN, 0)), +) + +WITHDRAW_BYOIP_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _WBCO, + {_sSI: _cWBCRo, _smit: None}, + (_BC,), + ((lambda: schemas.BYOIP_CIDR, {_aQN: _BC, _sN: _bC}),), +) + +WITHDRAW_BYOIP_CIDR: StaticOperationSchema = ( + 23, + n0, + _WBC, + 0, + WITHDRAW_BYOIP_CIDR_INPUT, + WITHDRAW_BYOIP_CIDR_OUTPUT, + (), +) + +AMAZON_EC2: StaticSchema = ( + 21, + n0, + _AECm, + { + _aw: MappingProxyType({"name": "ec2"}), + _aQ: None, + _awsa: MappingProxyType( + { + "sdkId": "EC2", + "arnNamespace": "ec2", + "cloudFormationName": "EC2", + "cloudTrailEventSource": "ec2.amazonaws.com", + "endpointPrefix": "ec2", + } + ), + _sNm: MappingProxyType({"uri": "http://ec2.amazonaws.com/doc/2016-11-15"}), + }, +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_6.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_6.py new file mode 100644 index 000000000..4991d84d7 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_6.py @@ -0,0 +1,680 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_AC = "AcceleratorCount" +_M = "Min" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_Ma = "Max" +_AM = "AcceleratorManufacturer" +_AWS = "AMAZON_WEB_SERVICES" +_sV = "smithy.api#enumValue" +_aws = "amazon-web-services" +_AMD = "AMD" +_a = "amd" +_me = "member" +_i = "item" +_AN = "AcceleratorName" +_ATMMB = "AcceleratorTotalMemoryMiB" +_AT = "AcceleratorType" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_IC = "InstanceCount" +_TSag = "TagSet" +_tS = "tagSet" +_act = "active" +_ex = "expired" +_ET = "ExpirationTime" +_eT = "expirationTime" +_INCLUDED = "INCLUDED" +_inc = "included" +_EXCLUDED = "EXCLUDED" +_excl = "excluded" +_IF = "InstanceFamily" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_AIT = "AllowedInstanceType" +_CRCQI = "CapacityReservationCancellationQuoteId" +_iC = "instanceCount" +_op = "open" +_CTr = "CreateTime" +_cTr = "createTime" +_SDt = "StartDate" +_sDt = "startDate" +_CIC = "CommittedInstanceCount" +_cIC = "committedInstanceCount" +_SCRI = "SourceCapacityReservationId" +_cRI = "capacityReservationId" +_OSD = "OriginalStartDate" +_oSD = "originalStartDate" +_CCRBSI = "CreateCapacityReservationBySplittingInput" +_cCCRBSR = "com.amazonaws.ec2#CreateCapacityReservationBySplittingRequest" +_CCRBSO = "CreateCapacityReservationBySplittingOutput" +_cCCRBSRo = "com.amazonaws.ec2#CreateCapacityReservationBySplittingResult" +_SCR = "SourceCapacityReservation" +_sCR = "sourceCapacityReservation" +_DCR = "DestinationCapacityReservation" +_dCR = "destinationCapacityReservation" +_CCRBS = "CreateCapacityReservationBySplitting" +_CCRCQI = "CreateCapacityReservationCancellationQuoteInput" +_cCCRCQR = "com.amazonaws.ec2#CreateCapacityReservationCancellationQuoteRequest" +_CTa = "CancellationTerms" +_CTan = "CancellationType" +_cTa = "cancellationType" +_RSes = "ReservationState" +_rSes = "reservationState" +_CCDH = "ChargeCommitmentDurationHours" +_cCDH = "chargeCommitmentDurationHours" +_CEDh = "ChargeEndDate" +_cEDh = "chargeEndDate" +_CTS = "CancellationTermsSet" +_CRC = "CapacityReservationConfiguration" +_CRCQS = "CapacityReservationCancellationQuoteState" +_CRCQ = "CapacityReservationCancellationQuote" +_cRCQI = "capacityReservationCancellationQuoteId" +_QS = "QuoteState" +_qS = "quoteState" +_CCu = "CurrentConfiguration" +_cCu = "currentConfiguration" +_CTSa = "CancellationTermSet" +_cTS = "cancellationTermSet" +_CCRCQO = "CreateCapacityReservationCancellationQuoteOutput" +_cCCRCQRo = "com.amazonaws.ec2#CreateCapacityReservationCancellationQuoteResult" +_cRCQ = "capacityReservationCancellationQuote" +_CCRCQ = "CreateCapacityReservationCancellationQuote" +_CCRDCQI = "CreateCapacityReservationDateChangeQuoteInput" +_cCCRDCQR = "com.amazonaws.ec2#CreateCapacityReservationDateChangeQuoteRequest" +_NSD = "NewStartDate" +_CRMQI = "CapacityReservationModificationQuoteId" +_MQCC = "ModificationQuoteCurrentConfiguration" +_MRU = "ModificationReservationUpdate" +_NCED = "NewCommitmentEndDate" +_nCED = "newCommitmentEndDate" +_nSD = "newStartDate" +_NCD = "NewCommitmentDuration" +_nCD = "newCommitmentDuration" +_MTo = "ModificationTerms" +_RU = "ReservationUpdate" +_rU = "reservationUpdate" +_CRMQS = "CapacityReservationModificationQuoteState" +_CRMQ = "CapacityReservationModificationQuote" +_cRMQI = "capacityReservationModificationQuoteId" +_mTo = "modificationTerms" +_CCRDCQO = "CreateCapacityReservationDateChangeQuoteOutput" +_cCCRDCQRo = "com.amazonaws.ec2#CreateCapacityReservationDateChangeQuoteResult" +_cRMQ = "capacityReservationModificationQuote" +_CCRDCQ = "CreateCapacityReservationDateChangeQuote" +_FIMC = "FleetInstanceMatchCriteria" +_BM = "BareMetal" +_REQUIRED = "REQUIRED" +_requ = "required" +_BEBMR = "BaselineEbsBandwidthMbpsRequest" +_PFRR = "PerformanceFactorReferenceRequest" +_PFRSR = "PerformanceFactorReferenceSetRequest" +_CPFR = "CpuPerformanceFactorRequest" +_Ref = "References" +_Refe = "Reference" +_BPFR = "BaselinePerformanceFactorsRequest" +_Cp = "Cpu" +_BP = "BurstablePerformance" +_CM = "CpuManufacturer" +_INTEL = "INTEL" +_intel = "intel" +_APPLE = "APPLE" +_app = "apple" +_CMS = "CpuManufacturerSet" +_EIT = "ExcludedInstanceType" +_EITS = "ExcludedInstanceTypeSet" +_IGn = "InstanceGeneration" +_CURRENT = "CURRENT" +_cur = "current" +_PREVIOUS = "PREVIOUS" +_prev = "previous" +_IGS = "InstanceGenerationSet" +_LSo = "LocalStorage" +_LST = "LocalStorageType" +_HDD = "HDD" +_hd = "hdd" +_SSD = "SSD" +_ssd = "ssd" +_LSTS = "LocalStorageTypeSet" +_MGBPVCR = "MemoryGiBPerVCpuRequest" +_MMBR = "MemoryMiBRequest" +_NBGR = "NetworkBandwidthGbpsRequest" +_NICR = "NetworkInterfaceCountRequest" +_TLSGBR = "TotalLocalStorageGBRequest" +_VCCRR = "VCpuCountRangeRequest" +_IRR = "InstanceRequirementsRequest" +_VCC = "VCpuCount" +_MMB = "MemoryMiB" +_CMp = "CpuManufacturers" +_MGBPVC = "MemoryGiBPerVCpu" +_EITx = "ExcludedInstanceTypes" +_IGns = "InstanceGenerations" +_SMPPOLP = "SpotMaxPricePercentageOverLowestPrice" +_ODMPPOLP = "OnDemandMaxPricePercentageOverLowestPrice" +_RHS = "RequireHibernateSupport" +_NIC = "NetworkInterfaceCount" +_LSTo = "LocalStorageTypes" +_TLSGB = "TotalLocalStorageGB" +_BEBM = "BaselineEbsBandwidthMbps" +_ATc = "AcceleratorTypes" +_AMc = "AcceleratorManufacturers" +_ANc = "AcceleratorNames" +_NBGe = "NetworkBandwidthGbps" +_AITl = "AllowedInstanceTypes" +_MSPAPOOODP = "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice" +_BPF = "BaselinePerformanceFactors" +_REIT = "RequireEncryptionInTransit" + +CREATE_CAPACITY_RESERVATION_BY_SPLITTING_INPUT: StaticSchema = ( + 18, + n0, + _CCRBSI, + {_sSI: _cCCRBSR, _sm: None}, + (_DR, _CTl, _SCRI, _IC, _TSa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_CAPACITY_RESERVATION_BY_SPLITTING_OUTPUT: StaticSchema = ( + 18, + n0, + _CCRBSO, + {_sSI: _cCCRBSRo, _smit: None}, + (_SCR, _DCR, _IC), + ( + (lambda: schemas.CAPACITY_RESERVATION, {_aQN: _SCR, _sN: _sCR}), + (lambda: schemas.CAPACITY_RESERVATION, {_aQN: _DCR, _sN: _dCR}), + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + ), +) + +CREATE_CAPACITY_RESERVATION_BY_SPLITTING: StaticOperationSchema = ( + 23, + n0, + _CCRBS, + 0, + CREATE_CAPACITY_RESERVATION_BY_SPLITTING_INPUT, + CREATE_CAPACITY_RESERVATION_BY_SPLITTING_OUTPUT, + (), +) + +CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_INPUT: StaticSchema = ( + 18, + n0, + _CCRCQI, + {_sSI: _cCCRCQR, _sm: None}, + (_CRI, _CTl, _TSa, _DR), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_OUTPUT: StaticSchema = ( + 18, + n0, + _CCRCQO, + {_sSI: _cCCRCQRo, _smit: None}, + (_CRCQ,), + ((lambda: CAPACITY_RESERVATION_CANCELLATION_QUOTE, {_aQN: _CRCQ, _sN: _cRCQ}),), +) + +CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE: StaticOperationSchema = ( + 23, + n0, + _CCRCQ, + 0, + CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_INPUT, + CREATE_CAPACITY_RESERVATION_CANCELLATION_QUOTE_OUTPUT, + (), +) + +CANCELLATION_TERMS: StaticSchema = ( + 18, + n0, + _CTa, + 0, + (_CTan, _RSes, _CIC, _CCDH, _CEDh), + ( + (lambda: schemas.APPLY_CANCELLATION_CHARGES, {_aQN: _CTan, _sN: _cTa}), + (lambda: schemas.STRING, {_aQN: _RSes, _sN: _rSes}), + (lambda: schemas.BOXED_INTEGER, {_aQN: _CIC, _sN: _cIC}), + (lambda: schemas.BOXED_LONG, {_aQN: _CCDH, _sN: _cCDH}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CEDh, _sN: _cEDh}), + ), +) + +CANCELLATION_TERMS_SET: StaticSchema = ( + 16, + n0, + _CTS, + 0, + (_me,), + ((CANCELLATION_TERMS, {_sN: _i}),), +) + +CAPACITY_RESERVATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CRC, + 0, + (_IC, _RSes), + ( + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.STRING, {_aQN: _RSes, _sN: _rSes}), + ), +) + +CAPACITY_RESERVATION_CANCELLATION_QUOTE_STATE: StaticSchema = ( + 14, + n0, + _CRCQS, + 0, + (_p, _act, _ex), + ((-1, {_sV: _p}), (-1, {_sV: _act}), (-1, {_sV: _ex})), +) + +CAPACITY_RESERVATION_CANCELLATION_QUOTE: StaticSchema = ( + 18, + n0, + _CRCQ, + 0, + (_CRCQI, _CRI, _CTr, _ET, _QS, _CCu, _CTa, _Tag), + ( + ( + lambda: schemas.CAPACITY_RESERVATION_CANCELLATION_QUOTE_ID, + {_aQN: _CRCQI, _sN: _cRCQI}, + ), + (lambda: schemas.CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ET, _sN: _eT}), + (CAPACITY_RESERVATION_CANCELLATION_QUOTE_STATE, {_aQN: _QS, _sN: _qS}), + (CAPACITY_RESERVATION_CONFIGURATION, {_aQN: _CCu, _sN: _cCu}), + (CANCELLATION_TERMS_SET, {_aQN: _CTSa, _sN: _cTS}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_INPUT: StaticSchema = ( + 18, + n0, + _CCRDCQI, + {_sSI: _cCCRDCQR, _sm: None}, + (_CRI, _NSD, _CTl, _TSa, _DR), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, 1), + (lambda: schemas.MILLISECOND_DATE_TIME, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_OUTPUT: StaticSchema = ( + 18, + n0, + _CCRDCQO, + {_sSI: _cCCRDCQRo, _smit: None}, + (_CRMQ,), + ((lambda: CAPACITY_RESERVATION_MODIFICATION_QUOTE, {_aQN: _CRMQ, _sN: _cRMQ}),), +) + +CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE: StaticOperationSchema = ( + 23, + n0, + _CCRDCQ, + 0, + CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_INPUT, + CREATE_CAPACITY_RESERVATION_DATE_CHANGE_QUOTE_OUTPUT, + (), +) + +CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID: StaticSchema = (3, n0, _CRMQI, 0) + +MODIFICATION_QUOTE_CURRENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MQCC, + 0, + (_IC, _RSes, _SDt, _OSD), + ( + (lambda: schemas.INTEGER, {_aQN: _IC, _sN: _iC}), + (lambda: schemas.STRING, {_aQN: _RSes, _sN: _rSes}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _SDt, _sN: _sDt}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _OSD, _sN: _oSD}), + ), +) + +MODIFICATION_RESERVATION_UPDATE: StaticSchema = ( + 18, + n0, + _MRU, + 0, + (_NCED, _NSD, _NCD), + ( + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _NCED, _sN: _nCED}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _NSD, _sN: _nSD}), + (lambda: schemas.BOXED_INTEGER, {_aQN: _NCD, _sN: _nCD}), + ), +) + +MODIFICATION_TERMS: StaticSchema = ( + 18, + n0, + _MTo, + 0, + (_RU,), + ((MODIFICATION_RESERVATION_UPDATE, {_aQN: _RU, _sN: _rU}),), +) + +CAPACITY_RESERVATION_MODIFICATION_QUOTE_STATE: StaticSchema = ( + 14, + n0, + _CRMQS, + 0, + (_act, _ex), + ((-1, {_sV: _act}), (-1, {_sV: _ex})), +) + +CAPACITY_RESERVATION_MODIFICATION_QUOTE: StaticSchema = ( + 18, + n0, + _CRMQ, + 0, + (_CRMQI, _CRI, _CTr, _ET, _QS, _CCu, _MTo, _Tag), + ( + (CAPACITY_RESERVATION_MODIFICATION_QUOTE_ID, {_aQN: _CRMQI, _sN: _cRMQI}), + (lambda: schemas.CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ET, _sN: _eT}), + (CAPACITY_RESERVATION_MODIFICATION_QUOTE_STATE, {_aQN: _QS, _sN: _qS}), + (MODIFICATION_QUOTE_CURRENT_CONFIGURATION, {_aQN: _CCu, _sN: _cCu}), + (MODIFICATION_TERMS, {_aQN: _MTo, _sN: _mTo}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +FLEET_INSTANCE_MATCH_CRITERIA: StaticSchema = ( + 14, + n0, + _FIMC, + 0, + (_op,), + ((-1, {_sV: _op}),), +) + +BARE_METAL: StaticSchema = ( + 14, + n0, + _BM, + 0, + (_INCLUDED, _REQUIRED, _EXCLUDED), + ((-1, {_sV: _inc}), (-1, {_sV: _requ}), (-1, {_sV: _excl})), +) + +BASELINE_EBS_BANDWIDTH_MBPS_REQUEST: StaticSchema = ( + 18, + n0, + _BEBMR, + 0, + (_M, _Ma), + ((lambda: schemas.INTEGER, 0), (lambda: schemas.INTEGER, 0)), +) + +PERFORMANCE_FACTOR_REFERENCE_REQUEST: StaticSchema = ( + 18, + n0, + _PFRR, + 0, + (_IF,), + ((lambda: schemas.STRING, 0),), +) + +PERFORMANCE_FACTOR_REFERENCE_SET_REQUEST: StaticSchema = ( + 16, + n0, + _PFRSR, + 0, + (_me,), + ((PERFORMANCE_FACTOR_REFERENCE_REQUEST, {_sN: _i}),), +) + +CPU_PERFORMANCE_FACTOR_REQUEST: StaticSchema = ( + 18, + n0, + _CPFR, + 0, + (_Ref,), + ((PERFORMANCE_FACTOR_REFERENCE_SET_REQUEST, {_sN: _Refe}),), +) + +BASELINE_PERFORMANCE_FACTORS_REQUEST: StaticSchema = ( + 18, + n0, + _BPFR, + 0, + (_Cp,), + ((CPU_PERFORMANCE_FACTOR_REQUEST, 0),), +) + +BURSTABLE_PERFORMANCE: StaticSchema = ( + 14, + n0, + _BP, + 0, + (_INCLUDED, _REQUIRED, _EXCLUDED), + ((-1, {_sV: _inc}), (-1, {_sV: _requ}), (-1, {_sV: _excl})), +) + +CPU_MANUFACTURER: StaticSchema = ( + 14, + n0, + _CM, + 0, + (_INTEL, _AMD, _AWS, _APPLE), + ((-1, {_sV: _intel}), (-1, {_sV: _a}), (-1, {_sV: _aws}), (-1, {_sV: _app})), +) + +CPU_MANUFACTURER_SET: StaticSchema = ( + 16, + n0, + _CMS, + 0, + (_me,), + ((CPU_MANUFACTURER, {_sN: _i}),), +) + +EXCLUDED_INSTANCE_TYPE: StaticSchema = (3, n0, _EIT, 0) + +EXCLUDED_INSTANCE_TYPE_SET: StaticSchema = ( + 16, + n0, + _EITS, + 0, + (_me,), + ((EXCLUDED_INSTANCE_TYPE, {_sN: _i}),), +) + +INSTANCE_GENERATION: StaticSchema = ( + 14, + n0, + _IGn, + 0, + (_CURRENT, _PREVIOUS), + ((-1, {_sV: _cur}), (-1, {_sV: _prev})), +) + +INSTANCE_GENERATION_SET: StaticSchema = ( + 16, + n0, + _IGS, + 0, + (_me,), + ((INSTANCE_GENERATION, {_sN: _i}),), +) + +LOCAL_STORAGE: StaticSchema = ( + 14, + n0, + _LSo, + 0, + (_INCLUDED, _REQUIRED, _EXCLUDED), + ((-1, {_sV: _inc}), (-1, {_sV: _requ}), (-1, {_sV: _excl})), +) + +LOCAL_STORAGE_TYPE: StaticSchema = ( + 14, + n0, + _LST, + 0, + (_HDD, _SSD), + ((-1, {_sV: _hd}), (-1, {_sV: _ssd})), +) + +LOCAL_STORAGE_TYPE_SET: StaticSchema = ( + 16, + n0, + _LSTS, + 0, + (_me,), + ((LOCAL_STORAGE_TYPE, {_sN: _i}),), +) + +MEMORY_GI_B_PER_V_CPU_REQUEST: StaticSchema = ( + 18, + n0, + _MGBPVCR, + 0, + (_M, _Ma), + ((lambda: schemas.DOUBLE, 0), (lambda: schemas.DOUBLE, 0)), +) + +MEMORY_MI_B_REQUEST: StaticSchema = ( + 18, + n0, + _MMBR, + 0, + (_M, _Ma), + ((lambda: schemas.INTEGER, 1), (lambda: schemas.INTEGER, 0)), +) + +NETWORK_BANDWIDTH_GBPS_REQUEST: StaticSchema = ( + 18, + n0, + _NBGR, + 0, + (_M, _Ma), + ((lambda: schemas.DOUBLE, 0), (lambda: schemas.DOUBLE, 0)), +) + +NETWORK_INTERFACE_COUNT_REQUEST: StaticSchema = ( + 18, + n0, + _NICR, + 0, + (_M, _Ma), + ((lambda: schemas.INTEGER, 0), (lambda: schemas.INTEGER, 0)), +) + +TOTAL_LOCAL_STORAGE_GB_REQUEST: StaticSchema = ( + 18, + n0, + _TLSGBR, + 0, + (_M, _Ma), + ((lambda: schemas.DOUBLE, 0), (lambda: schemas.DOUBLE, 0)), +) + +V_CPU_COUNT_RANGE_REQUEST: StaticSchema = ( + 18, + n0, + _VCCRR, + 0, + (_M, _Ma), + ((lambda: schemas.INTEGER, 1), (lambda: schemas.INTEGER, 0)), +) + +INSTANCE_REQUIREMENTS_REQUEST: StaticSchema = ( + 18, + n0, + _IRR, + 0, + ( + _VCC, + _MMB, + _CMp, + _MGBPVC, + _EITx, + _IGns, + _SMPPOLP, + _ODMPPOLP, + _BM, + _BP, + _RHS, + _NIC, + _LSo, + _LSTo, + _TLSGB, + _BEBM, + _ATc, + _AC, + _AMc, + _ANc, + _ATMMB, + _NBGe, + _AITl, + _MSPAPOOODP, + _BPF, + _REIT, + ), + ( + (V_CPU_COUNT_RANGE_REQUEST, 1), + (MEMORY_MI_B_REQUEST, 1), + (CPU_MANUFACTURER_SET, {_sN: _CM}), + (MEMORY_GI_B_PER_V_CPU_REQUEST, 0), + (EXCLUDED_INSTANCE_TYPE_SET, {_sN: _EIT}), + (INSTANCE_GENERATION_SET, {_sN: _IGn}), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (BARE_METAL, 0), + (BURSTABLE_PERFORMANCE, 0), + (lambda: schemas.BOOLEAN, 0), + (NETWORK_INTERFACE_COUNT_REQUEST, 0), + (LOCAL_STORAGE, 0), + (LOCAL_STORAGE_TYPE_SET, {_sN: _LST}), + (TOTAL_LOCAL_STORAGE_GB_REQUEST, 0), + (BASELINE_EBS_BANDWIDTH_MBPS_REQUEST, 0), + (lambda: schemas.ACCELERATOR_TYPE_SET, {_sN: _AT}), + (lambda: schemas.ACCELERATOR_COUNT_REQUEST, 0), + (lambda: schemas.ACCELERATOR_MANUFACTURER_SET, {_sN: _AM}), + (lambda: schemas.ACCELERATOR_NAME_SET, {_sN: _AN}), + (lambda: schemas.ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST, 0), + (NETWORK_BANDWIDTH_GBPS_REQUEST, 0), + (lambda: schemas.ALLOWED_INSTANCE_TYPE_SET, {_sN: _AIT}), + (lambda: schemas.INTEGER, 0), + (BASELINE_PERFORMANCE_FACTORS_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_7.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_7.py new file mode 100644 index 000000000..28c77d553 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_7.py @@ -0,0 +1,6285 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticSchema + + +n0 = "com.amazonaws.ec2" +_sV = "smithy.api#enumValue" +_IT = "InstanceType" +_am____ = "a1_medium" +_ame = "a1.medium" +_al_ = "a1_large" +_ala = "a1.large" +_ax = "a1_xlarge" +_axl = "a1.xlarge" +_a__ = "a1_2xlarge" +_axla = "a1.2xlarge" +_a___ = "a1_4xlarge" +_axlar = "a1.4xlarge" +_am_____ = "a1_metal" +_amet = "a1.metal" +_cm = "c1_medium" +_cme = "c1.medium" +_cx = "c1_xlarge" +_cxl = "c1.xlarge" +_cl_ = "c3_large" +_cla = "c3.large" +_cx_ = "c3_xlarge" +_cxla = "c3.xlarge" +_c_ = "c3_2xlarge" +_cxlar = "c3.2xlarge" +_c__ = "c3_4xlarge" +_cxlarg = "c3.4xlarge" +_c___ = "c3_8xlarge" +_cxlarge = "c3.8xlarge" +_cl__ = "c4_large" +_clar = "c4.large" +_cx__ = "c4_xlarge" +_cxlarge_ = "c4.xlarge" +_c____ = "c4_2xlarge" +_cxlarge__ = "c4.2xlarge" +_c_____ = "c4_4xlarge" +_cxlarge___ = "c4.4xlarge" +_c______ = "c4_8xlarge" +_cxlarge____ = "c4.8xlarge" +_cl___ = "c5_large" +_clarg = "c5.large" +_cx___ = "c5_xlarge" +_cxlarge_____ = "c5.xlarge" +_c_______ = "c5_2xlarge" +_cxlarge______ = "c5.2xlarge" +_c________ = "c5_4xlarge" +_cxlarge_______ = "c5.4xlarge" +_c_________ = "c5_9xlarge" +_cxlarge________ = "c5.9xlarge" +_c__________ = "c5_12xlarge" +_cxlarge_________ = "c5.12xlarge" +_c___________ = "c5_18xlarge" +_cxlarge__________ = "c5.18xlarge" +_c____________ = "c5_24xlarge" +_cxlarge___________ = "c5.24xlarge" +_cm_ = "c5_metal" +_cmet = "c5.metal" +_cl____ = "c5a_large" +_cal = "c5a.large" +_cx____ = "c5a_xlarge" +_cax = "c5a.xlarge" +_c_____________ = "c5a_2xlarge" +_caxl = "c5a.2xlarge" +_c______________ = "c5a_4xlarge" +_caxla = "c5a.4xlarge" +_c_______________ = "c5a_8xlarge" +_caxlar = "c5a.8xlarge" +_c________________ = "c5a_12xlarge" +_caxlarg = "c5a.12xlarge" +_c_________________ = "c5a_16xlarge" +_caxlarge = "c5a.16xlarge" +_c__________________ = "c5a_24xlarge" +_caxlarge_ = "c5a.24xlarge" +_cl_____ = "c5ad_large" +_cad = "c5ad.large" +_cx_____ = "c5ad_xlarge" +_cadx = "c5ad.xlarge" +_c___________________ = "c5ad_2xlarge" +_cadxl = "c5ad.2xlarge" +_c____________________ = "c5ad_4xlarge" +_cadxla = "c5ad.4xlarge" +_c_____________________ = "c5ad_8xlarge" +_cadxlar = "c5ad.8xlarge" +_c______________________ = "c5ad_12xlarge" +_cadxlarg = "c5ad.12xlarge" +_c_______________________ = "c5ad_16xlarge" +_cadxlarge = "c5ad.16xlarge" +_c________________________ = "c5ad_24xlarge" +_cadxlarge_ = "c5ad.24xlarge" +_cl______ = "c5d_large" +_cd = "c5d.large" +_cx______ = "c5d_xlarge" +_cdx = "c5d.xlarge" +_c_________________________ = "c5d_2xlarge" +_cdxl = "c5d.2xlarge" +_c__________________________ = "c5d_4xlarge" +_cdxla = "c5d.4xlarge" +_c___________________________ = "c5d_9xlarge" +_cdxlar = "c5d.9xlarge" +_c____________________________ = "c5d_12xlarge" +_cdxlarg = "c5d.12xlarge" +_c_____________________________ = "c5d_18xlarge" +_cdxlarge = "c5d.18xlarge" +_c______________________________ = "c5d_24xlarge" +_cdxlarge_ = "c5d.24xlarge" +_cm__ = "c5d_metal" +_cdm = "c5d.metal" +_cl_______ = "c5n_large" +_cn = "c5n.large" +_cx_______ = "c5n_xlarge" +_cnx = "c5n.xlarge" +_c_______________________________ = "c5n_2xlarge" +_cnxl = "c5n.2xlarge" +_c________________________________ = "c5n_4xlarge" +_cnxla = "c5n.4xlarge" +_c_________________________________ = "c5n_9xlarge" +_cnxlar = "c5n.9xlarge" +_c__________________________________ = "c5n_18xlarge" +_cnxlarg = "c5n.18xlarge" +_cm___ = "c5n_metal" +_cnm = "c5n.metal" +_cm____ = "c6g_medium" +_cgm = "c6g.medium" +_cl________ = "c6g_large" +_cgl = "c6g.large" +_cx________ = "c6g_xlarge" +_cgx = "c6g.xlarge" +_c___________________________________ = "c6g_2xlarge" +_cgxl = "c6g.2xlarge" +_c____________________________________ = "c6g_4xlarge" +_cgxla = "c6g.4xlarge" +_c_____________________________________ = "c6g_8xlarge" +_cgxlar = "c6g.8xlarge" +_c______________________________________ = "c6g_12xlarge" +_cgxlarg = "c6g.12xlarge" +_c_______________________________________ = "c6g_16xlarge" +_cgxlarge = "c6g.16xlarge" +_cm_____ = "c6g_metal" +_cgme = "c6g.metal" +_cm______ = "c6gd_medium" +_cgd = "c6gd.medium" +_cl_________ = "c6gd_large" +_cgdl = "c6gd.large" +_cx_________ = "c6gd_xlarge" +_cgdx = "c6gd.xlarge" +_c________________________________________ = "c6gd_2xlarge" +_cgdxl = "c6gd.2xlarge" +_c_________________________________________ = "c6gd_4xlarge" +_cgdxla = "c6gd.4xlarge" +_c__________________________________________ = "c6gd_8xlarge" +_cgdxlar = "c6gd.8xlarge" +_c___________________________________________ = "c6gd_12xlarge" +_cgdxlarg = "c6gd.12xlarge" +_c____________________________________________ = "c6gd_16xlarge" +_cgdxlarge = "c6gd.16xlarge" +_cm_______ = "c6gd_metal" +_cgdm = "c6gd.metal" +_cm________ = "c6gn_medium" +_cgn = "c6gn.medium" +_cl__________ = "c6gn_large" +_cgnl = "c6gn.large" +_cx__________ = "c6gn_xlarge" +_cgnx = "c6gn.xlarge" +_c_____________________________________________ = "c6gn_2xlarge" +_cgnxl = "c6gn.2xlarge" +_c______________________________________________ = "c6gn_4xlarge" +_cgnxla = "c6gn.4xlarge" +_c_______________________________________________ = "c6gn_8xlarge" +_cgnxlar = "c6gn.8xlarge" +_c________________________________________________ = "c6gn_12xlarge" +_cgnxlarg = "c6gn.12xlarge" +_c_________________________________________________ = "c6gn_16xlarge" +_cgnxlarge = "c6gn.16xlarge" +_cl___________ = "c6i_large" +_cil = "c6i.large" +_cx___________ = "c6i_xlarge" +_cix = "c6i.xlarge" +_c__________________________________________________ = "c6i_2xlarge" +_cixl = "c6i.2xlarge" +_c___________________________________________________ = "c6i_4xlarge" +_cixla = "c6i.4xlarge" +_c____________________________________________________ = "c6i_8xlarge" +_cixlar = "c6i.8xlarge" +_c_____________________________________________________ = "c6i_12xlarge" +_cixlarg = "c6i.12xlarge" +_c______________________________________________________ = "c6i_16xlarge" +_cixlarge = "c6i.16xlarge" +_c_______________________________________________________ = "c6i_24xlarge" +_cixlarge_ = "c6i.24xlarge" +_c________________________________________________________ = "c6i_32xlarge" +_cixlarge__ = "c6i.32xlarge" +_cm_________ = "c6i_metal" +_cim = "c6i.metal" +_c_________________________________________________________ = "cc1_4xlarge" +_cc = "cc1.4xlarge" +_c__________________________________________________________ = "cc2_8xlarge" +_ccx = "cc2.8xlarge" +_c___________________________________________________________ = "cg1_4xlarge" +_cgxlarge_ = "cg1.4xlarge" +_c____________________________________________________________ = "cr1_8xlarge" +_crx = "cr1.8xlarge" +_dx = "d2_xlarge" +_dxl = "d2.xlarge" +_d_ = "d2_2xlarge" +_dxla = "d2.2xlarge" +_d__ = "d2_4xlarge" +_dxlar = "d2.4xlarge" +_d___ = "d2_8xlarge" +_dxlarg = "d2.8xlarge" +_dx_ = "d3_xlarge" +_dxlarge = "d3.xlarge" +_d____ = "d3_2xlarge" +_dxlarge_ = "d3.2xlarge" +_d_____ = "d3_4xlarge" +_dxlarge__ = "d3.4xlarge" +_d______ = "d3_8xlarge" +_dxlarge___ = "d3.8xlarge" +_dx__ = "d3en_xlarge" +_den = "d3en.xlarge" +_d_______ = "d3en_2xlarge" +_denx = "d3en.2xlarge" +_d________ = "d3en_4xlarge" +_denxl = "d3en.4xlarge" +_d_________ = "d3en_6xlarge" +_denxla = "d3en.6xlarge" +_d__________ = "d3en_8xlarge" +_denxlar = "d3en.8xlarge" +_d___________ = "d3en_12xlarge" +_denxlarg = "d3en.12xlarge" +_d____________ = "dl1_24xlarge" +_dl = "dl1.24xlarge" +_f_ = "f1_2xlarge" +_fx = "f1.2xlarge" +_f__ = "f1_4xlarge" +_fxl = "f1.4xlarge" +_f___ = "f1_16xlarge" +_fxla = "f1.16xlarge" +_g_ = "g2_2xlarge" +_gx = "g2.2xlarge" +_g__ = "g2_8xlarge" +_gxl = "g2.8xlarge" +_g___ = "g3_4xlarge" +_gxla = "g3.4xlarge" +_g____ = "g3_8xlarge" +_gxlar = "g3.8xlarge" +_g_____ = "g3_16xlarge" +_gxlarg = "g3.16xlarge" +_gx_ = "g3s_xlarge" +_gs = "g3s.xlarge" +_gx__ = "g4ad_xlarge" +_ga = "g4ad.xlarge" +_g______ = "g4ad_2xlarge" +_gad = "g4ad.2xlarge" +_g_______ = "g4ad_4xlarge" +_gadx = "g4ad.4xlarge" +_g________ = "g4ad_8xlarge" +_gadxl = "g4ad.8xlarge" +_g_________ = "g4ad_16xlarge" +_gadxla = "g4ad.16xlarge" +_gx___ = "g4dn_xlarge" +_gd = "g4dn.xlarge" +_g__________ = "g4dn_2xlarge" +_gdn = "g4dn.2xlarge" +_g___________ = "g4dn_4xlarge" +_gdnx = "g4dn.4xlarge" +_g____________ = "g4dn_8xlarge" +_gdnxl = "g4dn.8xlarge" +_g_____________ = "g4dn_12xlarge" +_gdnxla = "g4dn.12xlarge" +_g______________ = "g4dn_16xlarge" +_gdnxlar = "g4dn.16xlarge" +_gm = "g4dn_metal" +_gdnm = "g4dn.metal" +_gx____ = "g5_xlarge" +_gxlarge = "g5.xlarge" +_g_______________ = "g5_2xlarge" +_gxlarge_ = "g5.2xlarge" +_g________________ = "g5_4xlarge" +_gxlarge__ = "g5.4xlarge" +_g_________________ = "g5_8xlarge" +_gxlarge___ = "g5.8xlarge" +_g__________________ = "g5_12xlarge" +_gxlarge____ = "g5.12xlarge" +_g___________________ = "g5_16xlarge" +_gxlarge_____ = "g5.16xlarge" +_g____________________ = "g5_24xlarge" +_gxlarge______ = "g5.24xlarge" +_g_____________________ = "g5_48xlarge" +_gxlarge_______ = "g5.48xlarge" +_gx_____ = "g5g_xlarge" +_gg = "g5g.xlarge" +_g______________________ = "g5g_2xlarge" +_ggx = "g5g.2xlarge" +_g_______________________ = "g5g_4xlarge" +_ggxl = "g5g.4xlarge" +_g________________________ = "g5g_8xlarge" +_ggxla = "g5g.8xlarge" +_g_________________________ = "g5g_16xlarge" +_ggxlar = "g5g.16xlarge" +_gm_ = "g5g_metal" +_ggm = "g5g.metal" +_h__ = "hi1_4xlarge" +_hi = "hi1.4xlarge" +_h___ = "hpc6a_48xlarge" +_hp = "hpc6a.48xlarge" +_h____ = "hs1_8xlarge" +_hs = "hs1.8xlarge" +_h_____ = "h1_2xlarge" +_hx = "h1.2xlarge" +_h______ = "h1_4xlarge" +_hxl = "h1.4xlarge" +_h_______ = "h1_8xlarge" +_hxla = "h1.8xlarge" +_h________ = "h1_16xlarge" +_hxlar = "h1.16xlarge" +_ix = "i2_xlarge" +_ixl = "i2.xlarge" +_i_ = "i2_2xlarge" +_ixla = "i2.2xlarge" +_i__ = "i2_4xlarge" +_ixlar = "i2.4xlarge" +_i___ = "i2_8xlarge" +_ixlarg = "i2.8xlarge" +_il = "i3_large" +_ila = "i3.large" +_ix_ = "i3_xlarge" +_ixlarge = "i3.xlarge" +_i____ = "i3_2xlarge" +_ixlarge_ = "i3.2xlarge" +_i_____ = "i3_4xlarge" +_ixlarge__ = "i3.4xlarge" +_i______ = "i3_8xlarge" +_ixlarge___ = "i3.8xlarge" +_i_______ = "i3_16xlarge" +_ixlarge____ = "i3.16xlarge" +_im_ = "i3_metal" +_ime = "i3.metal" +_il_ = "i3en_large" +_ien = "i3en.large" +_ix__ = "i3en_xlarge" +_ienx = "i3en.xlarge" +_i________ = "i3en_2xlarge" +_ienxl = "i3en.2xlarge" +_i_________ = "i3en_3xlarge" +_ienxla = "i3en.3xlarge" +_i__________ = "i3en_6xlarge" +_ienxlar = "i3en.6xlarge" +_i___________ = "i3en_12xlarge" +_ienxlarg = "i3en.12xlarge" +_i____________ = "i3en_24xlarge" +_ienxlarge = "i3en.24xlarge" +_im__ = "i3en_metal" +_ienm = "i3en.metal" +_il__ = "im4gn_large" +_img = "im4gn.large" +_ix___ = "im4gn_xlarge" +_imgn = "im4gn.xlarge" +_i_____________ = "im4gn_2xlarge" +_imgnx = "im4gn.2xlarge" +_i______________ = "im4gn_4xlarge" +_imgnxl = "im4gn.4xlarge" +_i_______________ = "im4gn_8xlarge" +_imgnxla = "im4gn.8xlarge" +_i________________ = "im4gn_16xlarge" +_imgnxlar = "im4gn.16xlarge" +_ix____ = "inf1_xlarge" +_infx = "inf1.xlarge" +_i_________________ = "inf1_2xlarge" +_infxl = "inf1.2xlarge" +_i__________________ = "inf1_6xlarge" +_infxla = "inf1.6xlarge" +_i___________________ = "inf1_24xlarge" +_infxlar = "inf1.24xlarge" +_im___ = "is4gen_medium" +_isg = "is4gen.medium" +_il___ = "is4gen_large" +_isge = "is4gen.large" +_ix_____ = "is4gen_xlarge" +_isgen = "is4gen.xlarge" +_i____________________ = "is4gen_2xlarge" +_isgenx = "is4gen.2xlarge" +_i_____________________ = "is4gen_4xlarge" +_isgenxl = "is4gen.4xlarge" +_i______________________ = "is4gen_8xlarge" +_isgenxla = "is4gen.8xlarge" +_ms = "m1_small" +_msm = "m1.small" +_mm = "m1_medium" +_mme = "m1.medium" +_ml = "m1_large" +_mla = "m1.large" +_mx = "m1_xlarge" +_mxl = "m1.xlarge" +_mx_ = "m2_xlarge" +_mxla = "m2.xlarge" +_m__ = "m2_2xlarge" +_mxlar = "m2.2xlarge" +_m___ = "m2_4xlarge" +_mxlarg = "m2.4xlarge" +_mm_ = "m3_medium" +_mmed = "m3.medium" +_ml_ = "m3_large" +_mlar = "m3.large" +_mx__ = "m3_xlarge" +_mxlarge = "m3.xlarge" +_m____ = "m3_2xlarge" +_mxlarge_ = "m3.2xlarge" +_ml__ = "m4_large" +_mlarg = "m4.large" +_mx___ = "m4_xlarge" +_mxlarge__ = "m4.xlarge" +_m_____ = "m4_2xlarge" +_mxlarge___ = "m4.2xlarge" +_m______ = "m4_4xlarge" +_mxlarge____ = "m4.4xlarge" +_m_______ = "m4_10xlarge" +_mxlarge_____ = "m4.10xlarge" +_m________ = "m4_16xlarge" +_mxlarge______ = "m4.16xlarge" +_ml___ = "m5_large" +_mlarge = "m5.large" +_mx____ = "m5_xlarge" +_mxlarge_______ = "m5.xlarge" +_m_________ = "m5_2xlarge" +_mxlarge________ = "m5.2xlarge" +_m__________ = "m5_4xlarge" +_mxlarge_________ = "m5.4xlarge" +_m___________ = "m5_8xlarge" +_mxlarge__________ = "m5.8xlarge" +_m____________ = "m5_12xlarge" +_mxlarge___________ = "m5.12xlarge" +_m_____________ = "m5_16xlarge" +_mxlarge____________ = "m5.16xlarge" +_m______________ = "m5_24xlarge" +_mxlarge_____________ = "m5.24xlarge" +_mm__ = "m5_metal" +_mmet = "m5.metal" +_ml____ = "m5a_large" +_mal = "m5a.large" +_mx_____ = "m5a_xlarge" +_max = "m5a.xlarge" +_m_______________ = "m5a_2xlarge" +_maxl = "m5a.2xlarge" +_m________________ = "m5a_4xlarge" +_maxla = "m5a.4xlarge" +_m_________________ = "m5a_8xlarge" +_maxlar = "m5a.8xlarge" +_m__________________ = "m5a_12xlarge" +_maxlarg = "m5a.12xlarge" +_m___________________ = "m5a_16xlarge" +_maxlarge = "m5a.16xlarge" +_m____________________ = "m5a_24xlarge" +_maxlarge_ = "m5a.24xlarge" +_ml_____ = "m5ad_large" +_mad = "m5ad.large" +_mx______ = "m5ad_xlarge" +_madx = "m5ad.xlarge" +_m_____________________ = "m5ad_2xlarge" +_madxl = "m5ad.2xlarge" +_m______________________ = "m5ad_4xlarge" +_madxla = "m5ad.4xlarge" +_m_______________________ = "m5ad_8xlarge" +_madxlar = "m5ad.8xlarge" +_m________________________ = "m5ad_12xlarge" +_madxlarg = "m5ad.12xlarge" +_m_________________________ = "m5ad_16xlarge" +_madxlarge = "m5ad.16xlarge" +_m__________________________ = "m5ad_24xlarge" +_madxlarge_ = "m5ad.24xlarge" +_ml______ = "m5d_large" +_md = "m5d.large" +_mx_______ = "m5d_xlarge" +_mdx = "m5d.xlarge" +_m___________________________ = "m5d_2xlarge" +_mdxl = "m5d.2xlarge" +_m____________________________ = "m5d_4xlarge" +_mdxla = "m5d.4xlarge" +_m_____________________________ = "m5d_8xlarge" +_mdxlar = "m5d.8xlarge" +_m______________________________ = "m5d_12xlarge" +_mdxlarg = "m5d.12xlarge" +_m_______________________________ = "m5d_16xlarge" +_mdxlarge = "m5d.16xlarge" +_m________________________________ = "m5d_24xlarge" +_mdxlarge_ = "m5d.24xlarge" +_mm___ = "m5d_metal" +_mdm = "m5d.metal" +_ml_______ = "m5dn_large" +_mdn = "m5dn.large" +_mx________ = "m5dn_xlarge" +_mdnx = "m5dn.xlarge" +_m_________________________________ = "m5dn_2xlarge" +_mdnxl = "m5dn.2xlarge" +_m__________________________________ = "m5dn_4xlarge" +_mdnxla = "m5dn.4xlarge" +_m___________________________________ = "m5dn_8xlarge" +_mdnxlar = "m5dn.8xlarge" +_m____________________________________ = "m5dn_12xlarge" +_mdnxlarg = "m5dn.12xlarge" +_m_____________________________________ = "m5dn_16xlarge" +_mdnxlarge = "m5dn.16xlarge" +_m______________________________________ = "m5dn_24xlarge" +_mdnxlarge_ = "m5dn.24xlarge" +_mm____ = "m5dn_metal" +_mdnm = "m5dn.metal" +_ml________ = "m5n_large" +_mn = "m5n.large" +_mx_________ = "m5n_xlarge" +_mnx = "m5n.xlarge" +_m_______________________________________ = "m5n_2xlarge" +_mnxl = "m5n.2xlarge" +_m________________________________________ = "m5n_4xlarge" +_mnxla = "m5n.4xlarge" +_m_________________________________________ = "m5n_8xlarge" +_mnxlar = "m5n.8xlarge" +_m__________________________________________ = "m5n_12xlarge" +_mnxlarg = "m5n.12xlarge" +_m___________________________________________ = "m5n_16xlarge" +_mnxlarge = "m5n.16xlarge" +_m____________________________________________ = "m5n_24xlarge" +_mnxlarge_ = "m5n.24xlarge" +_mm_____ = "m5n_metal" +_mnm = "m5n.metal" +_ml_________ = "m5zn_large" +_mz = "m5zn.large" +_mx__________ = "m5zn_xlarge" +_mzn = "m5zn.xlarge" +_m_____________________________________________ = "m5zn_2xlarge" +_mznx = "m5zn.2xlarge" +_m______________________________________________ = "m5zn_3xlarge" +_mznxl = "m5zn.3xlarge" +_m_______________________________________________ = "m5zn_6xlarge" +_mznxla = "m5zn.6xlarge" +_m________________________________________________ = "m5zn_12xlarge" +_mznxlar = "m5zn.12xlarge" +_mm______ = "m5zn_metal" +_mznm = "m5zn.metal" +_ml__________ = "m6a_large" +_mala = "m6a.large" +_mx___________ = "m6a_xlarge" +_maxlarge__ = "m6a.xlarge" +_m_________________________________________________ = "m6a_2xlarge" +_maxlarge___ = "m6a.2xlarge" +_m__________________________________________________ = "m6a_4xlarge" +_maxlarge____ = "m6a.4xlarge" +_m___________________________________________________ = "m6a_8xlarge" +_maxlarge_____ = "m6a.8xlarge" +_m____________________________________________________ = "m6a_12xlarge" +_maxlarge______ = "m6a.12xlarge" +_m_____________________________________________________ = "m6a_16xlarge" +_maxlarge_______ = "m6a.16xlarge" +_m______________________________________________________ = "m6a_24xlarge" +_maxlarge________ = "m6a.24xlarge" +_m_______________________________________________________ = "m6a_32xlarge" +_maxlarge_________ = "m6a.32xlarge" +_m________________________________________________________ = "m6a_48xlarge" +_maxlarge__________ = "m6a.48xlarge" +_mm_______ = "m6g_metal" +_mg = "m6g.metal" +_mm________ = "m6g_medium" +_mgm = "m6g.medium" +_ml___________ = "m6g_large" +_mgl = "m6g.large" +_mx____________ = "m6g_xlarge" +_mgx = "m6g.xlarge" +_m_________________________________________________________ = "m6g_2xlarge" +_mgxl = "m6g.2xlarge" +_m__________________________________________________________ = "m6g_4xlarge" +_mgxla = "m6g.4xlarge" +_m___________________________________________________________ = "m6g_8xlarge" +_mgxlar = "m6g.8xlarge" +_m____________________________________________________________ = "m6g_12xlarge" +_mgxlarg = "m6g.12xlarge" +_m_____________________________________________________________ = "m6g_16xlarge" +_mgxlarge = "m6g.16xlarge" +_mm_________ = "m6gd_metal" +_mgd = "m6gd.metal" +_mm__________ = "m6gd_medium" +_mgdm = "m6gd.medium" +_ml____________ = "m6gd_large" +_mgdl = "m6gd.large" +_mx_____________ = "m6gd_xlarge" +_mgdx = "m6gd.xlarge" +_m______________________________________________________________ = "m6gd_2xlarge" +_mgdxl = "m6gd.2xlarge" +_m_______________________________________________________________ = "m6gd_4xlarge" +_mgdxla = "m6gd.4xlarge" +_m________________________________________________________________ = "m6gd_8xlarge" +_mgdxlar = "m6gd.8xlarge" +_m_________________________________________________________________ = "m6gd_12xlarge" +_mgdxlarg = "m6gd.12xlarge" +_m__________________________________________________________________ = "m6gd_16xlarge" +_mgdxlarge = "m6gd.16xlarge" +_ml_____________ = "m6i_large" +_mi = "m6i.large" +_mx______________ = "m6i_xlarge" +_mix = "m6i.xlarge" +_m___________________________________________________________________ = "m6i_2xlarge" +_mixl = "m6i.2xlarge" +_m____________________________________________________________________ = "m6i_4xlarge" +_mixla = "m6i.4xlarge" +_m_____________________________________________________________________ = "m6i_8xlarge" +_mixlar = "m6i.8xlarge" +_m______________________________________________________________________ = ( + "m6i_12xlarge" +) +_mixlarg = "m6i.12xlarge" +_m_______________________________________________________________________ = ( + "m6i_16xlarge" +) +_mixlarge = "m6i.16xlarge" +_m________________________________________________________________________ = ( + "m6i_24xlarge" +) +_mixlarge_ = "m6i.24xlarge" +_m_________________________________________________________________________ = ( + "m6i_32xlarge" +) +_mixlarge__ = "m6i.32xlarge" +_mm___________ = "m6i_metal" +_mim = "m6i.metal" +_mm____________ = "mac1_metal" +_mac = "mac1.metal" +_px = "p2_xlarge" +_pxl = "p2.xlarge" +_p_ = "p2_8xlarge" +_pxla = "p2.8xlarge" +_p__ = "p2_16xlarge" +_pxlar = "p2.16xlarge" +_p___ = "p3_2xlarge" +_pxlarg = "p3.2xlarge" +_p____ = "p3_8xlarge" +_pxlarge = "p3.8xlarge" +_p_____ = "p3_16xlarge" +_pxlarge_ = "p3.16xlarge" +_p______ = "p3dn_24xlarge" +_pdn = "p3dn.24xlarge" +_p_______ = "p4d_24xlarge" +_pdx = "p4d.24xlarge" +_rl = "r3_large" +_rla = "r3.large" +_rx = "r3_xlarge" +_rxl = "r3.xlarge" +_r_ = "r3_2xlarge" +_rxla = "r3.2xlarge" +_r__ = "r3_4xlarge" +_rxlar = "r3.4xlarge" +_r___ = "r3_8xlarge" +_rxlarg = "r3.8xlarge" +_rl_ = "r4_large" +_rlar = "r4.large" +_rx_ = "r4_xlarge" +_rxlarge = "r4.xlarge" +_r____ = "r4_2xlarge" +_rxlarge_ = "r4.2xlarge" +_r_____ = "r4_4xlarge" +_rxlarge__ = "r4.4xlarge" +_r______ = "r4_8xlarge" +_rxlarge___ = "r4.8xlarge" +_r_______ = "r4_16xlarge" +_rxlarge____ = "r4.16xlarge" +_rl__ = "r5_large" +_rlarg = "r5.large" +_rx__ = "r5_xlarge" +_rxlarge_____ = "r5.xlarge" +_r________ = "r5_2xlarge" +_rxlarge______ = "r5.2xlarge" +_r_________ = "r5_4xlarge" +_rxlarge_______ = "r5.4xlarge" +_r__________ = "r5_8xlarge" +_rxlarge________ = "r5.8xlarge" +_r___________ = "r5_12xlarge" +_rxlarge_________ = "r5.12xlarge" +_r____________ = "r5_16xlarge" +_rxlarge__________ = "r5.16xlarge" +_r_____________ = "r5_24xlarge" +_rxlarge___________ = "r5.24xlarge" +_rm = "r5_metal" +_rme = "r5.metal" +_rl___ = "r5a_large" +_ra = "r5a.large" +_rx___ = "r5a_xlarge" +_rax = "r5a.xlarge" +_r______________ = "r5a_2xlarge" +_raxl = "r5a.2xlarge" +_r_______________ = "r5a_4xlarge" +_raxla = "r5a.4xlarge" +_r________________ = "r5a_8xlarge" +_raxlar = "r5a.8xlarge" +_r_________________ = "r5a_12xlarge" +_raxlarg = "r5a.12xlarge" +_r__________________ = "r5a_16xlarge" +_raxlarge = "r5a.16xlarge" +_r___________________ = "r5a_24xlarge" +_raxlarge_ = "r5a.24xlarge" +_rl____ = "r5ad_large" +_rad = "r5ad.large" +_rx____ = "r5ad_xlarge" +_radx = "r5ad.xlarge" +_r____________________ = "r5ad_2xlarge" +_radxl = "r5ad.2xlarge" +_r_____________________ = "r5ad_4xlarge" +_radxla = "r5ad.4xlarge" +_r______________________ = "r5ad_8xlarge" +_radxlar = "r5ad.8xlarge" +_r_______________________ = "r5ad_12xlarge" +_radxlarg = "r5ad.12xlarge" +_r________________________ = "r5ad_16xlarge" +_radxlarge = "r5ad.16xlarge" +_r_________________________ = "r5ad_24xlarge" +_radxlarge_ = "r5ad.24xlarge" +_rl_____ = "r5b_large" +_rb = "r5b.large" +_rx_____ = "r5b_xlarge" +_rbx = "r5b.xlarge" +_r__________________________ = "r5b_2xlarge" +_rbxl = "r5b.2xlarge" +_r___________________________ = "r5b_4xlarge" +_rbxla = "r5b.4xlarge" +_r____________________________ = "r5b_8xlarge" +_rbxlar = "r5b.8xlarge" +_r_____________________________ = "r5b_12xlarge" +_rbxlarg = "r5b.12xlarge" +_r______________________________ = "r5b_16xlarge" +_rbxlarge = "r5b.16xlarge" +_r_______________________________ = "r5b_24xlarge" +_rbxlarge_ = "r5b.24xlarge" +_rm_ = "r5b_metal" +_rbm = "r5b.metal" +_rl______ = "r5d_large" +_rdl = "r5d.large" +_rx______ = "r5d_xlarge" +_rdx = "r5d.xlarge" +_r________________________________ = "r5d_2xlarge" +_rdxl = "r5d.2xlarge" +_r_________________________________ = "r5d_4xlarge" +_rdxla = "r5d.4xlarge" +_r__________________________________ = "r5d_8xlarge" +_rdxlar = "r5d.8xlarge" +_r___________________________________ = "r5d_12xlarge" +_rdxlarg = "r5d.12xlarge" +_r____________________________________ = "r5d_16xlarge" +_rdxlarge = "r5d.16xlarge" +_r_____________________________________ = "r5d_24xlarge" +_rdxlarge_ = "r5d.24xlarge" +_rm__ = "r5d_metal" +_rdm = "r5d.metal" +_rl_______ = "r5dn_large" +_rdn = "r5dn.large" +_rx_______ = "r5dn_xlarge" +_rdnx = "r5dn.xlarge" +_r______________________________________ = "r5dn_2xlarge" +_rdnxl = "r5dn.2xlarge" +_r_______________________________________ = "r5dn_4xlarge" +_rdnxla = "r5dn.4xlarge" +_r________________________________________ = "r5dn_8xlarge" +_rdnxlar = "r5dn.8xlarge" +_r_________________________________________ = "r5dn_12xlarge" +_rdnxlarg = "r5dn.12xlarge" +_r__________________________________________ = "r5dn_16xlarge" +_rdnxlarge = "r5dn.16xlarge" +_r___________________________________________ = "r5dn_24xlarge" +_rdnxlarge_ = "r5dn.24xlarge" +_rm___ = "r5dn_metal" +_rdnm = "r5dn.metal" +_rl________ = "r5n_large" +_rnl = "r5n.large" +_rx________ = "r5n_xlarge" +_rnx = "r5n.xlarge" +_r____________________________________________ = "r5n_2xlarge" +_rnxl = "r5n.2xlarge" +_r_____________________________________________ = "r5n_4xlarge" +_rnxla = "r5n.4xlarge" +_r______________________________________________ = "r5n_8xlarge" +_rnxlar = "r5n.8xlarge" +_r_______________________________________________ = "r5n_12xlarge" +_rnxlarg = "r5n.12xlarge" +_r________________________________________________ = "r5n_16xlarge" +_rnxlarge = "r5n.16xlarge" +_r_________________________________________________ = "r5n_24xlarge" +_rnxlarge_ = "r5n.24xlarge" +_rm____ = "r5n_metal" +_rnm = "r5n.metal" +_rm_____ = "r6g_medium" +_rg = "r6g.medium" +_rl_________ = "r6g_large" +_rgl = "r6g.large" +_rx_________ = "r6g_xlarge" +_rgx = "r6g.xlarge" +_r__________________________________________________ = "r6g_2xlarge" +_rgxl = "r6g.2xlarge" +_r___________________________________________________ = "r6g_4xlarge" +_rgxla = "r6g.4xlarge" +_r____________________________________________________ = "r6g_8xlarge" +_rgxlar = "r6g.8xlarge" +_r_____________________________________________________ = "r6g_12xlarge" +_rgxlarg = "r6g.12xlarge" +_r______________________________________________________ = "r6g_16xlarge" +_rgxlarge = "r6g.16xlarge" +_rm______ = "r6g_metal" +_rgm = "r6g.metal" +_rm_______ = "r6gd_medium" +_rgd = "r6gd.medium" +_rl__________ = "r6gd_large" +_rgdl = "r6gd.large" +_rx__________ = "r6gd_xlarge" +_rgdx = "r6gd.xlarge" +_r_______________________________________________________ = "r6gd_2xlarge" +_rgdxl = "r6gd.2xlarge" +_r________________________________________________________ = "r6gd_4xlarge" +_rgdxla = "r6gd.4xlarge" +_r_________________________________________________________ = "r6gd_8xlarge" +_rgdxlar = "r6gd.8xlarge" +_r__________________________________________________________ = "r6gd_12xlarge" +_rgdxlarg = "r6gd.12xlarge" +_r___________________________________________________________ = "r6gd_16xlarge" +_rgdxlarge = "r6gd.16xlarge" +_rm________ = "r6gd_metal" +_rgdm = "r6gd.metal" +_rl___________ = "r6i_large" +_ril = "r6i.large" +_rx___________ = "r6i_xlarge" +_rix = "r6i.xlarge" +_r____________________________________________________________ = "r6i_2xlarge" +_rixl = "r6i.2xlarge" +_r_____________________________________________________________ = "r6i_4xlarge" +_rixla = "r6i.4xlarge" +_r______________________________________________________________ = "r6i_8xlarge" +_rixlar = "r6i.8xlarge" +_r_______________________________________________________________ = "r6i_12xlarge" +_rixlarg = "r6i.12xlarge" +_r________________________________________________________________ = "r6i_16xlarge" +_rixlarge = "r6i.16xlarge" +_r_________________________________________________________________ = "r6i_24xlarge" +_rixlarge_ = "r6i.24xlarge" +_r__________________________________________________________________ = "r6i_32xlarge" +_rixlarge__ = "r6i.32xlarge" +_rm_________ = "r6i_metal" +_rim = "r6i.metal" +_tm = "t1_micro" +_tmi = "t1.micro" +_tn = "t2_nano" +_tna = "t2.nano" +_tm_ = "t2_micro" +_tmic = "t2.micro" +_ts__ = "t2_small" +_tsm = "t2.small" +_tm__ = "t2_medium" +_tme = "t2.medium" +_tl = "t2_large" +_tla = "t2.large" +_tx = "t2_xlarge" +_txl = "t2.xlarge" +_t_ = "t2_2xlarge" +_txla = "t2.2xlarge" +_tn_ = "t3_nano" +_tnan = "t3.nano" +_tm___ = "t3_micro" +_tmicr = "t3.micro" +_ts___ = "t3_small" +_tsma = "t3.small" +_tm____ = "t3_medium" +_tmed = "t3.medium" +_tl_ = "t3_large" +_tlar = "t3.large" +_tx_ = "t3_xlarge" +_txlar = "t3.xlarge" +_t__ = "t3_2xlarge" +_txlarg = "t3.2xlarge" +_tn__ = "t3a_nano" +_tan = "t3a.nano" +_tm_____ = "t3a_micro" +_tam = "t3a.micro" +_ts____ = "t3a_small" +_tas = "t3a.small" +_tm______ = "t3a_medium" +_tame = "t3a.medium" +_tl__ = "t3a_large" +_tal = "t3a.large" +_tx__ = "t3a_xlarge" +_tax = "t3a.xlarge" +_t___ = "t3a_2xlarge" +_taxl = "t3a.2xlarge" +_tn___ = "t4g_nano" +_tgn = "t4g.nano" +_tm_______ = "t4g_micro" +_tgm = "t4g.micro" +_ts_____ = "t4g_small" +_tgs = "t4g.small" +_tm________ = "t4g_medium" +_tgme = "t4g.medium" +_tl___ = "t4g_large" +_tgl = "t4g.large" +_tx___ = "t4g_xlarge" +_tgx = "t4g.xlarge" +_t____ = "t4g_2xlarge" +_tgxl = "t4g.2xlarge" +_u_ = "u_6tb1_56xlarge" +_u__ = "u-6tb1.56xlarge" +_u___ = "u_6tb1_112xlarge" +_u____ = "u-6tb1.112xlarge" +_u_____ = "u_9tb1_112xlarge" +_u______ = "u-9tb1.112xlarge" +_u_______ = "u_12tb1_112xlarge" +_u________ = "u-12tb1.112xlarge" +_um = "u_6tb1_metal" +_u_________ = "u-6tb1.metal" +_um_ = "u_9tb1_metal" +_u__________ = "u-9tb1.metal" +_um__ = "u_12tb1_metal" +_u___________ = "u-12tb1.metal" +_um___ = "u_18tb1_metal" +_u____________ = "u-18tb1.metal" +_um____ = "u_24tb1_metal" +_u_____________ = "u-24tb1.metal" +_v__ = "vt1_3xlarge" +_vt = "vt1.3xlarge" +_v___ = "vt1_6xlarge" +_vtx = "vt1.6xlarge" +_v____ = "vt1_24xlarge" +_vtxl = "vt1.24xlarge" +_x_ = "x1_16xlarge" +_xx = "x1.16xlarge" +_x__ = "x1_32xlarge" +_xxl = "x1.32xlarge" +_xx_ = "x1e_xlarge" +_xe = "x1e.xlarge" +_x___ = "x1e_2xlarge" +_xex = "x1e.2xlarge" +_x____ = "x1e_4xlarge" +_xexl = "x1e.4xlarge" +_x_____ = "x1e_8xlarge" +_xexla = "x1e.8xlarge" +_x______ = "x1e_16xlarge" +_xexlar = "x1e.16xlarge" +_x_______ = "x1e_32xlarge" +_xexlarg = "x1e.32xlarge" +_x________ = "x2iezn_2xlarge" +_xi = "x2iezn.2xlarge" +_x_________ = "x2iezn_4xlarge" +_xie = "x2iezn.4xlarge" +_x__________ = "x2iezn_6xlarge" +_xiez = "x2iezn.6xlarge" +_x___________ = "x2iezn_8xlarge" +_xiezn = "x2iezn.8xlarge" +_x____________ = "x2iezn_12xlarge" +_xieznx = "x2iezn.12xlarge" +_xm = "x2iezn_metal" +_xieznm = "x2iezn.metal" +_xm_ = "x2gd_medium" +_xg = "x2gd.medium" +_xl = "x2gd_large" +_xgd = "x2gd.large" +_xx__ = "x2gd_xlarge" +_xgdx = "x2gd.xlarge" +_x_____________ = "x2gd_2xlarge" +_xgdxl = "x2gd.2xlarge" +_x______________ = "x2gd_4xlarge" +_xgdxla = "x2gd.4xlarge" +_x_______________ = "x2gd_8xlarge" +_xgdxlar = "x2gd.8xlarge" +_x________________ = "x2gd_12xlarge" +_xgdxlarg = "x2gd.12xlarge" +_x_________________ = "x2gd_16xlarge" +_xgdxlarge = "x2gd.16xlarge" +_xm__ = "x2gd_metal" +_xgdm = "x2gd.metal" +_zl = "z1d_large" +_z = "z1d.large" +_zx = "z1d_xlarge" +_zd = "z1d.xlarge" +_z_ = "z1d_2xlarge" +_zdx = "z1d.2xlarge" +_z__ = "z1d_3xlarge" +_zdxl = "z1d.3xlarge" +_z___ = "z1d_6xlarge" +_zdxla = "z1d.6xlarge" +_z____ = "z1d_12xlarge" +_zdxlar = "z1d.12xlarge" +_zm = "z1d_metal" +_zdm = "z1d.metal" +_x__________________ = "x2idn_16xlarge" +_xid = "x2idn.16xlarge" +_x___________________ = "x2idn_24xlarge" +_xidn = "x2idn.24xlarge" +_x____________________ = "x2idn_32xlarge" +_xidnx = "x2idn.32xlarge" +_xx___ = "x2iedn_xlarge" +_xied = "x2iedn.xlarge" +_x_____________________ = "x2iedn_2xlarge" +_xiedn = "x2iedn.2xlarge" +_x______________________ = "x2iedn_4xlarge" +_xiednx = "x2iedn.4xlarge" +_x_______________________ = "x2iedn_8xlarge" +_xiednxl = "x2iedn.8xlarge" +_x________________________ = "x2iedn_16xlarge" +_xiednxla = "x2iedn.16xlarge" +_x_________________________ = "x2iedn_24xlarge" +_xiednxlar = "x2iedn.24xlarge" +_x__________________________ = "x2iedn_32xlarge" +_xiednxlarg = "x2iedn.32xlarge" +_cl____________ = "c6a_large" +_cala = "c6a.large" +_cx____________ = "c6a_xlarge" +_caxlarge__ = "c6a.xlarge" +_c_____________________________________________________________ = "c6a_2xlarge" +_caxlarge___ = "c6a.2xlarge" +_c______________________________________________________________ = "c6a_4xlarge" +_caxlarge____ = "c6a.4xlarge" +_c_______________________________________________________________ = "c6a_8xlarge" +_caxlarge_____ = "c6a.8xlarge" +_c________________________________________________________________ = "c6a_12xlarge" +_caxlarge______ = "c6a.12xlarge" +_c_________________________________________________________________ = "c6a_16xlarge" +_caxlarge_______ = "c6a.16xlarge" +_c__________________________________________________________________ = "c6a_24xlarge" +_caxlarge________ = "c6a.24xlarge" +_c___________________________________________________________________ = "c6a_32xlarge" +_caxlarge_________ = "c6a.32xlarge" +_c____________________________________________________________________ = "c6a_48xlarge" +_caxlarge__________ = "c6a.48xlarge" +_cm__________ = "c6a_metal" +_cam = "c6a.metal" +_mm_____________ = "m6a_metal" +_mam = "m6a.metal" +_il____ = "i4i_large" +_ii = "i4i.large" +_ix______ = "i4i_xlarge" +_iix = "i4i.xlarge" +_i_______________________ = "i4i_2xlarge" +_iixl = "i4i.2xlarge" +_i________________________ = "i4i_4xlarge" +_iixla = "i4i.4xlarge" +_i_________________________ = "i4i_8xlarge" +_iixlar = "i4i.8xlarge" +_i__________________________ = "i4i_16xlarge" +_iixlarg = "i4i.16xlarge" +_i___________________________ = "i4i_32xlarge" +_iixlarge = "i4i.32xlarge" +_im____ = "i4i_metal" +_iim = "i4i.metal" +_xm___ = "x2idn_metal" +_xidnm = "x2idn.metal" +_xm____ = "x2iedn_metal" +_xiednm = "x2iedn.metal" +_cm___________ = "c7g_medium" +_cgmed = "c7g.medium" +_cl_____________ = "c7g_large" +_cgla = "c7g.large" +_cx_____________ = "c7g_xlarge" +_cgxlarge__ = "c7g.xlarge" +_c_____________________________________________________________________ = "c7g_2xlarge" +_cgxlarge___ = "c7g.2xlarge" +_c______________________________________________________________________ = "c7g_4xlarge" +_cgxlarge____ = "c7g.4xlarge" +_c_______________________________________________________________________ = ( + "c7g_8xlarge" +) +_cgxlarge_____ = "c7g.8xlarge" +_c________________________________________________________________________ = ( + "c7g_12xlarge" +) +_cgxlarge______ = "c7g.12xlarge" +_c_________________________________________________________________________ = ( + "c7g_16xlarge" +) +_cgxlarge_______ = "c7g.16xlarge" +_mm______________ = "mac2_metal" +_macm = "mac2.metal" +_cl______________ = "c6id_large" +_cid = "c6id.large" +_cx______________ = "c6id_xlarge" +_cidx = "c6id.xlarge" +_c__________________________________________________________________________ = ( + "c6id_2xlarge" +) +_cidxl = "c6id.2xlarge" +_c___________________________________________________________________________ = ( + "c6id_4xlarge" +) +_cidxla = "c6id.4xlarge" +_c____________________________________________________________________________ = ( + "c6id_8xlarge" +) +_cidxlar = "c6id.8xlarge" +_c_____________________________________________________________________________ = ( + "c6id_12xlarge" +) +_cidxlarg = "c6id.12xlarge" +_c______________________________________________________________________________ = ( + "c6id_16xlarge" +) +_cidxlarge = "c6id.16xlarge" +_c_______________________________________________________________________________ = ( + "c6id_24xlarge" +) +_cidxlarge_ = "c6id.24xlarge" +_c________________________________________________________________________________ = ( + "c6id_32xlarge" +) +_cidxlarge__ = "c6id.32xlarge" +_cm____________ = "c6id_metal" +_cidm = "c6id.metal" +_ml______________ = "m6id_large" +_mid = "m6id.large" +_mx_______________ = "m6id_xlarge" +_midx = "m6id.xlarge" +_m__________________________________________________________________________ = ( + "m6id_2xlarge" +) +_midxl = "m6id.2xlarge" +_m___________________________________________________________________________ = ( + "m6id_4xlarge" +) +_midxla = "m6id.4xlarge" +_m____________________________________________________________________________ = ( + "m6id_8xlarge" +) +_midxlar = "m6id.8xlarge" +_m_____________________________________________________________________________ = ( + "m6id_12xlarge" +) +_midxlarg = "m6id.12xlarge" +_m______________________________________________________________________________ = ( + "m6id_16xlarge" +) +_midxlarge = "m6id.16xlarge" +_m_______________________________________________________________________________ = ( + "m6id_24xlarge" +) +_midxlarge_ = "m6id.24xlarge" +_m________________________________________________________________________________ = ( + "m6id_32xlarge" +) +_midxlarge__ = "m6id.32xlarge" +_mm_______________ = "m6id_metal" +_midm = "m6id.metal" +_rl____________ = "r6id_large" +_rid = "r6id.large" +_rx____________ = "r6id_xlarge" +_ridx = "r6id.xlarge" +_r___________________________________________________________________ = "r6id_2xlarge" +_ridxl = "r6id.2xlarge" +_r____________________________________________________________________ = "r6id_4xlarge" +_ridxla = "r6id.4xlarge" +_r_____________________________________________________________________ = "r6id_8xlarge" +_ridxlar = "r6id.8xlarge" +_r______________________________________________________________________ = ( + "r6id_12xlarge" +) +_ridxlarg = "r6id.12xlarge" +_r_______________________________________________________________________ = ( + "r6id_16xlarge" +) +_ridxlarge = "r6id.16xlarge" +_r________________________________________________________________________ = ( + "r6id_24xlarge" +) +_ridxlarge_ = "r6id.24xlarge" +_r_________________________________________________________________________ = ( + "r6id_32xlarge" +) +_ridxlarge__ = "r6id.32xlarge" +_rm__________ = "r6id_metal" +_ridm = "r6id.metal" +_rl_____________ = "r6a_large" +_ral = "r6a.large" +_rx_____________ = "r6a_xlarge" +_raxlarge__ = "r6a.xlarge" +_r__________________________________________________________________________ = ( + "r6a_2xlarge" +) +_raxlarge___ = "r6a.2xlarge" +_r___________________________________________________________________________ = ( + "r6a_4xlarge" +) +_raxlarge____ = "r6a.4xlarge" +_r____________________________________________________________________________ = ( + "r6a_8xlarge" +) +_raxlarge_____ = "r6a.8xlarge" +_r_____________________________________________________________________________ = ( + "r6a_12xlarge" +) +_raxlarge______ = "r6a.12xlarge" +_r______________________________________________________________________________ = ( + "r6a_16xlarge" +) +_raxlarge_______ = "r6a.16xlarge" +_r_______________________________________________________________________________ = ( + "r6a_24xlarge" +) +_raxlarge________ = "r6a.24xlarge" +_r________________________________________________________________________________ = ( + "r6a_32xlarge" +) +_raxlarge_________ = "r6a.32xlarge" +_r_________________________________________________________________________________ = ( + "r6a_48xlarge" +) +_raxlarge__________ = "r6a.48xlarge" +_rm___________ = "r6a_metal" +_ram = "r6a.metal" +_p________ = "p4de_24xlarge" +_pde = "p4de.24xlarge" +_u______________ = "u_3tb1_56xlarge" +_u_______________ = "u-3tb1.56xlarge" +_u________________ = "u_18tb1_112xlarge" +_u_________________ = "u-18tb1.112xlarge" +_u__________________ = "u_24tb1_112xlarge" +_u___________________ = "u-24tb1.112xlarge" +_t_____ = "trn1_2xlarge" +_trn = "trn1.2xlarge" +_t______ = "trn1_32xlarge" +_trnx = "trn1.32xlarge" +_h_________ = "hpc6id_32xlarge" +_hpc = "hpc6id.32xlarge" +_cl_______________ = "c6in_large" +_cin = "c6in.large" +_cx_______________ = "c6in_xlarge" +_cinx = "c6in.xlarge" +_c_________________________________________________________________________________ = ( + "c6in_2xlarge" +) +_cinxl = "c6in.2xlarge" +_c__________________________________________________________________________________ = ( + "c6in_4xlarge" +) +_cinxla = "c6in.4xlarge" +_c___________________________________________________________________________________ = "c6in_8xlarge" +_cinxlar = "c6in.8xlarge" +_c____________________________________________________________________________________ = "c6in_12xlarge" +_cinxlarg = "c6in.12xlarge" +_c_____________________________________________________________________________________ = "c6in_16xlarge" +_cinxlarge = "c6in.16xlarge" +_c______________________________________________________________________________________ = "c6in_24xlarge" +_cinxlarge_ = "c6in.24xlarge" +_c_______________________________________________________________________________________ = "c6in_32xlarge" +_cinxlarge__ = "c6in.32xlarge" +_ml_______________ = "m6in_large" +_min = "m6in.large" +_mx________________ = "m6in_xlarge" +_minx = "m6in.xlarge" +_m_________________________________________________________________________________ = ( + "m6in_2xlarge" +) +_minxl = "m6in.2xlarge" +_m__________________________________________________________________________________ = ( + "m6in_4xlarge" +) +_minxla = "m6in.4xlarge" +_m___________________________________________________________________________________ = "m6in_8xlarge" +_minxlar = "m6in.8xlarge" +_m____________________________________________________________________________________ = "m6in_12xlarge" +_minxlarg = "m6in.12xlarge" +_m_____________________________________________________________________________________ = "m6in_16xlarge" +_minxlarge = "m6in.16xlarge" +_m______________________________________________________________________________________ = "m6in_24xlarge" +_minxlarge_ = "m6in.24xlarge" +_m_______________________________________________________________________________________ = "m6in_32xlarge" +_minxlarge__ = "m6in.32xlarge" +_ml________________ = "m6idn_large" +_midn = "m6idn.large" +_mx_________________ = "m6idn_xlarge" +_midnx = "m6idn.xlarge" +_m________________________________________________________________________________________ = "m6idn_2xlarge" +_midnxl = "m6idn.2xlarge" +_m_________________________________________________________________________________________ = "m6idn_4xlarge" +_midnxla = "m6idn.4xlarge" +_m__________________________________________________________________________________________ = "m6idn_8xlarge" +_midnxlar = "m6idn.8xlarge" +_m___________________________________________________________________________________________ = "m6idn_12xlarge" +_midnxlarg = "m6idn.12xlarge" +_m____________________________________________________________________________________________ = "m6idn_16xlarge" +_midnxlarge = "m6idn.16xlarge" +_m_____________________________________________________________________________________________ = "m6idn_24xlarge" +_midnxlarge_ = "m6idn.24xlarge" +_m______________________________________________________________________________________________ = "m6idn_32xlarge" +_midnxlarge__ = "m6idn.32xlarge" +_rl______________ = "r6in_large" +_rin = "r6in.large" +_rx______________ = "r6in_xlarge" +_rinx = "r6in.xlarge" +_r__________________________________________________________________________________ = ( + "r6in_2xlarge" +) +_rinxl = "r6in.2xlarge" +_r___________________________________________________________________________________ = "r6in_4xlarge" +_rinxla = "r6in.4xlarge" +_r____________________________________________________________________________________ = "r6in_8xlarge" +_rinxlar = "r6in.8xlarge" +_r_____________________________________________________________________________________ = "r6in_12xlarge" +_rinxlarg = "r6in.12xlarge" +_r______________________________________________________________________________________ = "r6in_16xlarge" +_rinxlarge = "r6in.16xlarge" +_r_______________________________________________________________________________________ = "r6in_24xlarge" +_rinxlarge_ = "r6in.24xlarge" +_r________________________________________________________________________________________ = "r6in_32xlarge" +_rinxlarge__ = "r6in.32xlarge" +_rl_______________ = "r6idn_large" +_ridn = "r6idn.large" +_rx_______________ = "r6idn_xlarge" +_ridnx = "r6idn.xlarge" +_r_________________________________________________________________________________________ = "r6idn_2xlarge" +_ridnxl = "r6idn.2xlarge" +_r__________________________________________________________________________________________ = "r6idn_4xlarge" +_ridnxla = "r6idn.4xlarge" +_r___________________________________________________________________________________________ = "r6idn_8xlarge" +_ridnxlar = "r6idn.8xlarge" +_r____________________________________________________________________________________________ = "r6idn_12xlarge" +_ridnxlarg = "r6idn.12xlarge" +_r_____________________________________________________________________________________________ = "r6idn_16xlarge" +_ridnxlarge = "r6idn.16xlarge" +_r______________________________________________________________________________________________ = "r6idn_24xlarge" +_ridnxlarge_ = "r6idn.24xlarge" +_r_______________________________________________________________________________________________ = "r6idn_32xlarge" +_ridnxlarge__ = "r6idn.32xlarge" +_cm_____________ = "c7g_metal" +_cgmet = "c7g.metal" +_mm________________ = "m7g_medium" +_mgme = "m7g.medium" +_ml_________________ = "m7g_large" +_mgla = "m7g.large" +_mx__________________ = "m7g_xlarge" +_mgxlarge_ = "m7g.xlarge" +_m_______________________________________________________________________________________________ = "m7g_2xlarge" +_mgxlarge__ = "m7g.2xlarge" +_m________________________________________________________________________________________________ = "m7g_4xlarge" +_mgxlarge___ = "m7g.4xlarge" +_m_________________________________________________________________________________________________ = "m7g_8xlarge" +_mgxlarge____ = "m7g.8xlarge" +_m__________________________________________________________________________________________________ = "m7g_12xlarge" +_mgxlarge_____ = "m7g.12xlarge" +_m___________________________________________________________________________________________________ = "m7g_16xlarge" +_mgxlarge______ = "m7g.16xlarge" +_mm_________________ = "m7g_metal" +_mgmet = "m7g.metal" +_rm____________ = "r7g_medium" +_rgme = "r7g.medium" +_rl________________ = "r7g_large" +_rgla = "r7g.large" +_rx________________ = "r7g_xlarge" +_rgxlarge_ = "r7g.xlarge" +_r________________________________________________________________________________________________ = "r7g_2xlarge" +_rgxlarge__ = "r7g.2xlarge" +_r_________________________________________________________________________________________________ = "r7g_4xlarge" +_rgxlarge___ = "r7g.4xlarge" +_r__________________________________________________________________________________________________ = "r7g_8xlarge" +_rgxlarge____ = "r7g.8xlarge" +_r___________________________________________________________________________________________________ = "r7g_12xlarge" +_rgxlarge_____ = "r7g.12xlarge" +_r____________________________________________________________________________________________________ = "r7g_16xlarge" +_rgxlarge______ = "r7g.16xlarge" +_rm_____________ = "r7g_metal" +_rgmet = "r7g.metal" +_cm______________ = "c6in_metal" +_cinm = "c6in.metal" +_mm__________________ = "m6in_metal" +_minm = "m6in.metal" +_mm___________________ = "m6idn_metal" +_midnm = "m6idn.metal" +_rm______________ = "r6in_metal" +_rinm = "r6in.metal" +_rm_______________ = "r6idn_metal" +_ridnm = "r6idn.metal" +_ix_______ = "inf2_xlarge" +_infxlarg = "inf2.xlarge" +_i____________________________ = "inf2_8xlarge" +_infxlarge = "inf2.8xlarge" +_i_____________________________ = "inf2_24xlarge" +_infxlarge_ = "inf2.24xlarge" +_i______________________________ = "inf2_48xlarge" +_infxlarge__ = "inf2.48xlarge" +_t_______ = "trn1n_32xlarge" +_trnn = "trn1n.32xlarge" +_il_____ = "i4g_large" +_igl = "i4g.large" +_ix________ = "i4g_xlarge" +_igx = "i4g.xlarge" +_i_______________________________ = "i4g_2xlarge" +_igxl = "i4g.2xlarge" +_i________________________________ = "i4g_4xlarge" +_igxla = "i4g.4xlarge" +_i_________________________________ = "i4g_8xlarge" +_igxlar = "i4g.8xlarge" +_i__________________________________ = "i4g_16xlarge" +_igxlarg = "i4g.16xlarge" +_h__________ = "hpc7g_4xlarge" +_hpcg = "hpc7g.4xlarge" +_h___________ = "hpc7g_8xlarge" +_hpcgx = "hpc7g.8xlarge" +_h____________ = "hpc7g_16xlarge" +_hpcgxl = "hpc7g.16xlarge" +_cm_______________ = "c7gn_medium" +_cgnm = "c7gn.medium" +_cl________________ = "c7gn_large" +_cgnla = "c7gn.large" +_cx________________ = "c7gn_xlarge" +_cgnxlarge_ = "c7gn.xlarge" +_c________________________________________________________________________________________ = "c7gn_2xlarge" +_cgnxlarge__ = "c7gn.2xlarge" +_c_________________________________________________________________________________________ = "c7gn_4xlarge" +_cgnxlarge___ = "c7gn.4xlarge" +_c__________________________________________________________________________________________ = "c7gn_8xlarge" +_cgnxlarge____ = "c7gn.8xlarge" +_c___________________________________________________________________________________________ = "c7gn_12xlarge" +_cgnxlarge_____ = "c7gn.12xlarge" +_c____________________________________________________________________________________________ = "c7gn_16xlarge" +_cgnxlarge______ = "c7gn.16xlarge" +_p_________ = "p5_48xlarge" +_pxlarge__ = "p5.48xlarge" +_ml__________________ = "m7i_large" +_mil = "m7i.large" +_mx___________________ = "m7i_xlarge" +_mixlarge___ = "m7i.xlarge" +_m____________________________________________________________________________________________________ = "m7i_2xlarge" +_mixlarge____ = "m7i.2xlarge" +_m_____________________________________________________________________________________________________ = "m7i_4xlarge" +_mixlarge_____ = "m7i.4xlarge" +_m______________________________________________________________________________________________________ = "m7i_8xlarge" +_mixlarge______ = "m7i.8xlarge" +_m_______________________________________________________________________________________________________ = "m7i_12xlarge" +_mixlarge_______ = "m7i.12xlarge" +_m________________________________________________________________________________________________________ = "m7i_16xlarge" +_mixlarge________ = "m7i.16xlarge" +_m_________________________________________________________________________________________________________ = "m7i_24xlarge" +_mixlarge_________ = "m7i.24xlarge" +_m__________________________________________________________________________________________________________ = "m7i_48xlarge" +_mixlarge__________ = "m7i.48xlarge" +_mfl = "m7i_flex_large" +_mf = "m7i-flex.large" +_mfx = "m7i_flex_xlarge" +_mf_ = "m7i-flex.xlarge" +_mf__ = "m7i_flex_2xlarge" +_mf___ = "m7i-flex.2xlarge" +_mf____ = "m7i_flex_4xlarge" +_mf_____ = "m7i-flex.4xlarge" +_mf______ = "m7i_flex_8xlarge" +_mf_______ = "m7i-flex.8xlarge" +_mm____________________ = "m7a_medium" +_mame = "m7a.medium" +_ml___________________ = "m7a_large" +_malar = "m7a.large" +_mx____________________ = "m7a_xlarge" +_maxlarge___________ = "m7a.xlarge" +_m___________________________________________________________________________________________________________ = "m7a_2xlarge" +_maxlarge____________ = "m7a.2xlarge" +_m____________________________________________________________________________________________________________ = "m7a_4xlarge" +_maxlarge_____________ = "m7a.4xlarge" +_m_____________________________________________________________________________________________________________ = "m7a_8xlarge" +_maxlarge______________ = "m7a.8xlarge" +_m______________________________________________________________________________________________________________ = "m7a_12xlarge" +_maxlarge_______________ = "m7a.12xlarge" +_m_______________________________________________________________________________________________________________ = "m7a_16xlarge" +_maxlarge________________ = "m7a.16xlarge" +_m________________________________________________________________________________________________________________ = "m7a_24xlarge" +_maxlarge_________________ = "m7a.24xlarge" +_m_________________________________________________________________________________________________________________ = "m7a_32xlarge" +_maxlarge__________________ = "m7a.32xlarge" +_m__________________________________________________________________________________________________________________ = "m7a_48xlarge" +_maxlarge___________________ = "m7a.48xlarge" +_mm_____________________ = "m7a_metal_48xl" +_m___________________________________________________________________________________________________________________ = "m7a.metal-48xl" +_h_____________ = "hpc7a_12xlarge" +_hpca = "hpc7a.12xlarge" +_h______________ = "hpc7a_24xlarge" +_hpcax = "hpc7a.24xlarge" +_h_______________ = "hpc7a_48xlarge" +_hpcaxl = "hpc7a.48xlarge" +_h________________ = "hpc7a_96xlarge" +_hpcaxla = "hpc7a.96xlarge" +_cm________________ = "c7gd_medium" +_cgdme = "c7gd.medium" +_cl_________________ = "c7gd_large" +_cgdla = "c7gd.large" +_cx_________________ = "c7gd_xlarge" +_cgdxlarge_ = "c7gd.xlarge" +_c_____________________________________________________________________________________________ = "c7gd_2xlarge" +_cgdxlarge__ = "c7gd.2xlarge" +_c______________________________________________________________________________________________ = "c7gd_4xlarge" +_cgdxlarge___ = "c7gd.4xlarge" +_c_______________________________________________________________________________________________ = "c7gd_8xlarge" +_cgdxlarge____ = "c7gd.8xlarge" +_c________________________________________________________________________________________________ = "c7gd_12xlarge" +_cgdxlarge_____ = "c7gd.12xlarge" +_c_________________________________________________________________________________________________ = "c7gd_16xlarge" +_cgdxlarge______ = "c7gd.16xlarge" +_mm______________________ = "m7gd_medium" +_mgdme = "m7gd.medium" +_ml____________________ = "m7gd_large" +_mgdla = "m7gd.large" +_mx_____________________ = "m7gd_xlarge" +_mgdxlarge_ = "m7gd.xlarge" +_m____________________________________________________________________________________________________________________ = "m7gd_2xlarge" +_mgdxlarge__ = "m7gd.2xlarge" +_m_____________________________________________________________________________________________________________________ = "m7gd_4xlarge" +_mgdxlarge___ = "m7gd.4xlarge" +_m______________________________________________________________________________________________________________________ = "m7gd_8xlarge" +_mgdxlarge____ = "m7gd.8xlarge" +_m_______________________________________________________________________________________________________________________ = "m7gd_12xlarge" +_mgdxlarge_____ = "m7gd.12xlarge" +_m________________________________________________________________________________________________________________________ = "m7gd_16xlarge" +_mgdxlarge______ = "m7gd.16xlarge" +_rm________________ = "r7gd_medium" +_rgdme = "r7gd.medium" +_rl_________________ = "r7gd_large" +_rgdla = "r7gd.large" +_rx_________________ = "r7gd_xlarge" +_rgdxlarge_ = "r7gd.xlarge" +_r_____________________________________________________________________________________________________ = "r7gd_2xlarge" +_rgdxlarge__ = "r7gd.2xlarge" +_r______________________________________________________________________________________________________ = "r7gd_4xlarge" +_rgdxlarge___ = "r7gd.4xlarge" +_r_______________________________________________________________________________________________________ = "r7gd_8xlarge" +_rgdxlarge____ = "r7gd.8xlarge" +_r________________________________________________________________________________________________________ = "r7gd_12xlarge" +_rgdxlarge_____ = "r7gd.12xlarge" +_r_________________________________________________________________________________________________________ = "r7gd_16xlarge" +_rgdxlarge______ = "r7gd.16xlarge" +_rm_________________ = "r7a_medium" +_rame = "r7a.medium" +_rl__________________ = "r7a_large" +_rala = "r7a.large" +_rx__________________ = "r7a_xlarge" +_raxlarge___________ = "r7a.xlarge" +_r__________________________________________________________________________________________________________ = "r7a_2xlarge" +_raxlarge____________ = "r7a.2xlarge" +_r___________________________________________________________________________________________________________ = "r7a_4xlarge" +_raxlarge_____________ = "r7a.4xlarge" +_r____________________________________________________________________________________________________________ = "r7a_8xlarge" +_raxlarge______________ = "r7a.8xlarge" +_r_____________________________________________________________________________________________________________ = "r7a_12xlarge" +_raxlarge_______________ = "r7a.12xlarge" +_r______________________________________________________________________________________________________________ = "r7a_16xlarge" +_raxlarge________________ = "r7a.16xlarge" +_r_______________________________________________________________________________________________________________ = "r7a_24xlarge" +_raxlarge_________________ = "r7a.24xlarge" +_r________________________________________________________________________________________________________________ = "r7a_32xlarge" +_raxlarge__________________ = "r7a.32xlarge" +_r_________________________________________________________________________________________________________________ = "r7a_48xlarge" +_raxlarge___________________ = "r7a.48xlarge" +_cl__________________ = "c7i_large" +_cila = "c7i.large" +_cx__________________ = "c7i_xlarge" +_cixlarge___ = "c7i.xlarge" +_c__________________________________________________________________________________________________ = "c7i_2xlarge" +_cixlarge____ = "c7i.2xlarge" +_c___________________________________________________________________________________________________ = "c7i_4xlarge" +_cixlarge_____ = "c7i.4xlarge" +_c____________________________________________________________________________________________________ = "c7i_8xlarge" +_cixlarge______ = "c7i.8xlarge" +_c_____________________________________________________________________________________________________ = "c7i_12xlarge" +_cixlarge_______ = "c7i.12xlarge" +_c______________________________________________________________________________________________________ = "c7i_16xlarge" +_cixlarge________ = "c7i.16xlarge" +_c_______________________________________________________________________________________________________ = "c7i_24xlarge" +_cixlarge_________ = "c7i.24xlarge" +_c________________________________________________________________________________________________________ = "c7i_48xlarge" +_cixlarge__________ = "c7i.48xlarge" +_mmm = "mac2_m2pro_metal" +_mm_______________________ = "mac2-m2pro.metal" +_rl___________________ = "r7iz_large" +_riz = "r7iz.large" +_rx___________________ = "r7iz_xlarge" +_rizx = "r7iz.xlarge" +_r__________________________________________________________________________________________________________________ = "r7iz_2xlarge" +_rizxl = "r7iz.2xlarge" +_r___________________________________________________________________________________________________________________ = "r7iz_4xlarge" +_rizxla = "r7iz.4xlarge" +_r____________________________________________________________________________________________________________________ = "r7iz_8xlarge" +_rizxlar = "r7iz.8xlarge" +_r_____________________________________________________________________________________________________________________ = "r7iz_12xlarge" +_rizxlarg = "r7iz.12xlarge" +_r______________________________________________________________________________________________________________________ = "r7iz_16xlarge" +_rizxlarge = "r7iz.16xlarge" +_r_______________________________________________________________________________________________________________________ = "r7iz_32xlarge" +_rizxlarge_ = "r7iz.32xlarge" +_cm_________________ = "c7a_medium" +_came = "c7a.medium" +_cl___________________ = "c7a_large" +_calar = "c7a.large" +_cx___________________ = "c7a_xlarge" +_caxlarge___________ = "c7a.xlarge" +_c_________________________________________________________________________________________________________ = "c7a_2xlarge" +_caxlarge____________ = "c7a.2xlarge" +_c__________________________________________________________________________________________________________ = "c7a_4xlarge" +_caxlarge_____________ = "c7a.4xlarge" +_c___________________________________________________________________________________________________________ = "c7a_8xlarge" +_caxlarge______________ = "c7a.8xlarge" +_c____________________________________________________________________________________________________________ = "c7a_12xlarge" +_caxlarge_______________ = "c7a.12xlarge" +_c_____________________________________________________________________________________________________________ = "c7a_16xlarge" +_caxlarge________________ = "c7a.16xlarge" +_c______________________________________________________________________________________________________________ = "c7a_24xlarge" +_caxlarge_________________ = "c7a.24xlarge" +_c_______________________________________________________________________________________________________________ = "c7a_32xlarge" +_caxlarge__________________ = "c7a.32xlarge" +_c________________________________________________________________________________________________________________ = "c7a_48xlarge" +_caxlarge___________________ = "c7a.48xlarge" +_cm__________________ = "c7a_metal_48xl" +_c_________________________________________________________________________________________________________________ = "c7a.metal-48xl" +_rm__________________ = "r7a_metal_48xl" +_r________________________________________________________________________________________________________________________ = "r7a.metal-48xl" +_rl____________________ = "r7i_large" +_rila = "r7i.large" +_rx____________________ = "r7i_xlarge" +_rixlarge___ = "r7i.xlarge" +_r_________________________________________________________________________________________________________________________ = "r7i_2xlarge" +_rixlarge____ = "r7i.2xlarge" +_r__________________________________________________________________________________________________________________________ = "r7i_4xlarge" +_rixlarge_____ = "r7i.4xlarge" +_r___________________________________________________________________________________________________________________________ = "r7i_8xlarge" +_rixlarge______ = "r7i.8xlarge" +_r____________________________________________________________________________________________________________________________ = "r7i_12xlarge" +_rixlarge_______ = "r7i.12xlarge" +_r_____________________________________________________________________________________________________________________________ = "r7i_16xlarge" +_rixlarge________ = "r7i.16xlarge" +_r______________________________________________________________________________________________________________________________ = "r7i_24xlarge" +_rixlarge_________ = "r7i.24xlarge" +_r_______________________________________________________________________________________________________________________________ = "r7i_48xlarge" +_rixlarge__________ = "r7i.48xlarge" +_d_____________ = "dl2q_24xlarge" +_dlq = "dl2q.24xlarge" +_mmm_ = "mac2_m2_metal" +_mm________________________ = "mac2-m2.metal" +_i___________________________________ = "i4i_12xlarge" +_iixlarge_ = "i4i.12xlarge" +_i____________________________________ = "i4i_24xlarge" +_iixlarge__ = "i4i.24xlarge" +_cm___________________ = "c7i_metal_24xl" +_c__________________________________________________________________________________________________________________ = "c7i.metal-24xl" +_cm____________________ = "c7i_metal_48xl" +_c___________________________________________________________________________________________________________________ = "c7i.metal-48xl" +_mm_________________________ = "m7i_metal_24xl" +_m_________________________________________________________________________________________________________________________ = "m7i.metal-24xl" +_mm__________________________ = "m7i_metal_48xl" +_m__________________________________________________________________________________________________________________________ = "m7i.metal-48xl" +_rm___________________ = "r7i_metal_24xl" +_r________________________________________________________________________________________________________________________________ = "r7i.metal-24xl" +_rm____________________ = "r7i_metal_48xl" +_r_________________________________________________________________________________________________________________________________ = "r7i.metal-48xl" +_rm_____________________ = "r7iz_metal_16xl" +_r__________________________________________________________________________________________________________________________________ = "r7iz.metal-16xl" +_rm______________________ = "r7iz_metal_32xl" +_r___________________________________________________________________________________________________________________________________ = "r7iz.metal-32xl" +_cm_____________________ = "c7gd_metal" +_cgdmet = "c7gd.metal" +_mm___________________________ = "m7gd_metal" +_mgdmet = "m7gd.metal" +_rm_______________________ = "r7gd_metal" +_rgdmet = "r7gd.metal" +_gx______ = "g6_xlarge" +_gxlarge________ = "g6.xlarge" +_g__________________________ = "g6_2xlarge" +_gxlarge_________ = "g6.2xlarge" +_g___________________________ = "g6_4xlarge" +_gxlarge__________ = "g6.4xlarge" +_g____________________________ = "g6_8xlarge" +_gxlarge___________ = "g6.8xlarge" +_g_____________________________ = "g6_12xlarge" +_gxlarge____________ = "g6.12xlarge" +_g______________________________ = "g6_16xlarge" +_gxlarge_____________ = "g6.16xlarge" +_g_______________________________ = "g6_24xlarge" +_gxlarge______________ = "g6.24xlarge" +_g________________________________ = "g6_48xlarge" +_gxlarge_______________ = "g6.48xlarge" +_g_________________________________ = "gr6_4xlarge" +_grx = "gr6.4xlarge" +_g__________________________________ = "gr6_8xlarge" +_grxl = "gr6.8xlarge" +_cfl = "c7i_flex_large" +_cf = "c7i-flex.large" +_cfx = "c7i_flex_xlarge" +_cf_ = "c7i-flex.xlarge" +_cf__ = "c7i_flex_2xlarge" +_cf___ = "c7i-flex.2xlarge" +_cf____ = "c7i_flex_4xlarge" +_cf_____ = "c7i-flex.4xlarge" +_cf______ = "c7i_flex_8xlarge" +_cf_______ = "c7i-flex.8xlarge" +_u____________________ = "u7i_12tb_224xlarge" +_u_____________________ = "u7i-12tb.224xlarge" +_u______________________ = "u7in_16tb_224xlarge" +_u_______________________ = "u7in-16tb.224xlarge" +_u________________________ = "u7in_24tb_224xlarge" +_u_________________________ = "u7in-24tb.224xlarge" +_u__________________________ = "u7in_32tb_224xlarge" +_u___________________________ = "u7in-32tb.224xlarge" +_u____________________________ = "u7ib_12tb_224xlarge" +_u_____________________________ = "u7ib-12tb.224xlarge" +_cm______________________ = "c7gn_metal" +_cgnme = "c7gn.metal" +_rm________________________ = "r8g_medium" +_rgmed = "r8g.medium" +_rl_____________________ = "r8g_large" +_rglar = "r8g.large" +_rx_____________________ = "r8g_xlarge" +_rgxlarge_______ = "r8g.xlarge" +_r____________________________________________________________________________________________________________________________________ = "r8g_2xlarge" +_rgxlarge________ = "r8g.2xlarge" +_r_____________________________________________________________________________________________________________________________________ = "r8g_4xlarge" +_rgxlarge_________ = "r8g.4xlarge" +_r______________________________________________________________________________________________________________________________________ = "r8g_8xlarge" +_rgxlarge__________ = "r8g.8xlarge" +_r_______________________________________________________________________________________________________________________________________ = "r8g_12xlarge" +_rgxlarge___________ = "r8g.12xlarge" +_r________________________________________________________________________________________________________________________________________ = "r8g_16xlarge" +_rgxlarge____________ = "r8g.16xlarge" +_r_________________________________________________________________________________________________________________________________________ = "r8g_24xlarge" +_rgxlarge_____________ = "r8g.24xlarge" +_r__________________________________________________________________________________________________________________________________________ = "r8g_48xlarge" +_rgxlarge______________ = "r8g.48xlarge" +_rm_________________________ = "r8g_metal_24xl" +_r___________________________________________________________________________________________________________________________________________ = "r8g.metal-24xl" +_rm__________________________ = "r8g_metal_48xl" +_r____________________________________________________________________________________________________________________________________________ = "r8g.metal-48xl" +_mmm__ = "mac2_m1ultra_metal" +_mm____________________________ = "mac2-m1ultra.metal" +_gx_______ = "g6e_xlarge" +_ge = "g6e.xlarge" +_g___________________________________ = "g6e_2xlarge" +_gex = "g6e.2xlarge" +_g____________________________________ = "g6e_4xlarge" +_gexl = "g6e.4xlarge" +_g_____________________________________ = "g6e_8xlarge" +_gexla = "g6e.8xlarge" +_g______________________________________ = "g6e_12xlarge" +_gexlar = "g6e.12xlarge" +_g_______________________________________ = "g6e_16xlarge" +_gexlarg = "g6e.16xlarge" +_g________________________________________ = "g6e_24xlarge" +_gexlarge = "g6e.24xlarge" +_g_________________________________________ = "g6e_48xlarge" +_gexlarge_ = "g6e.48xlarge" +_cm_______________________ = "c8g_medium" +_cgmedi = "c8g.medium" +_cl____________________ = "c8g_large" +_cglar = "c8g.large" +_cx____________________ = "c8g_xlarge" +_cgxlarge________ = "c8g.xlarge" +_c____________________________________________________________________________________________________________________ = "c8g_2xlarge" +_cgxlarge_________ = "c8g.2xlarge" +_c_____________________________________________________________________________________________________________________ = "c8g_4xlarge" +_cgxlarge__________ = "c8g.4xlarge" +_c______________________________________________________________________________________________________________________ = "c8g_8xlarge" +_cgxlarge___________ = "c8g.8xlarge" +_c_______________________________________________________________________________________________________________________ = "c8g_12xlarge" +_cgxlarge____________ = "c8g.12xlarge" +_c________________________________________________________________________________________________________________________ = "c8g_16xlarge" +_cgxlarge_____________ = "c8g.16xlarge" +_c_________________________________________________________________________________________________________________________ = "c8g_24xlarge" +_cgxlarge______________ = "c8g.24xlarge" +_c__________________________________________________________________________________________________________________________ = "c8g_48xlarge" +_cgxlarge_______________ = "c8g.48xlarge" +_cm________________________ = "c8g_metal_24xl" +_c___________________________________________________________________________________________________________________________ = "c8g.metal-24xl" +_cm_________________________ = "c8g_metal_48xl" +_c____________________________________________________________________________________________________________________________ = "c8g.metal-48xl" +_mm_____________________________ = "m8g_medium" +_mgmed = "m8g.medium" +_ml_____________________ = "m8g_large" +_mglar = "m8g.large" +_mx______________________ = "m8g_xlarge" +_mgxlarge_______ = "m8g.xlarge" +_m___________________________________________________________________________________________________________________________ = "m8g_2xlarge" +_mgxlarge________ = "m8g.2xlarge" +_m____________________________________________________________________________________________________________________________ = "m8g_4xlarge" +_mgxlarge_________ = "m8g.4xlarge" +_m_____________________________________________________________________________________________________________________________ = "m8g_8xlarge" +_mgxlarge__________ = "m8g.8xlarge" +_m______________________________________________________________________________________________________________________________ = "m8g_12xlarge" +_mgxlarge___________ = "m8g.12xlarge" +_m_______________________________________________________________________________________________________________________________ = "m8g_16xlarge" +_mgxlarge____________ = "m8g.16xlarge" +_m________________________________________________________________________________________________________________________________ = "m8g_24xlarge" +_mgxlarge_____________ = "m8g.24xlarge" +_m_________________________________________________________________________________________________________________________________ = "m8g_48xlarge" +_mgxlarge______________ = "m8g.48xlarge" +_mm______________________________ = "m8g_metal_24xl" +_m__________________________________________________________________________________________________________________________________ = "m8g.metal-24xl" +_mm_______________________________ = "m8g_metal_48xl" +_m___________________________________________________________________________________________________________________________________ = "m8g.metal-48xl" +_xm_____ = "x8g_medium" +_xgm = "x8g.medium" +_xl_ = "x8g_large" +_xgl = "x8g.large" +_xx____ = "x8g_xlarge" +_xgx = "x8g.xlarge" +_x___________________________ = "x8g_2xlarge" +_xgxl = "x8g.2xlarge" +_x____________________________ = "x8g_4xlarge" +_xgxla = "x8g.4xlarge" +_x_____________________________ = "x8g_8xlarge" +_xgxlar = "x8g.8xlarge" +_x______________________________ = "x8g_12xlarge" +_xgxlarg = "x8g.12xlarge" +_x_______________________________ = "x8g_16xlarge" +_xgxlarge = "x8g.16xlarge" +_x________________________________ = "x8g_24xlarge" +_xgxlarge_ = "x8g.24xlarge" +_x_________________________________ = "x8g_48xlarge" +_xgxlarge__ = "x8g.48xlarge" +_xm______ = "x8g_metal_24xl" +_x__________________________________ = "x8g.metal-24xl" +_xm_______ = "x8g_metal_48xl" +_x___________________________________ = "x8g.metal-48xl" +_il______ = "i7ie_large" +_iie = "i7ie.large" +_ix_________ = "i7ie_xlarge" +_iiex = "i7ie.xlarge" +_i_____________________________________ = "i7ie_2xlarge" +_iiexl = "i7ie.2xlarge" +_i______________________________________ = "i7ie_3xlarge" +_iiexla = "i7ie.3xlarge" +_i_______________________________________ = "i7ie_6xlarge" +_iiexlar = "i7ie.6xlarge" +_i________________________________________ = "i7ie_12xlarge" +_iiexlarg = "i7ie.12xlarge" +_i_________________________________________ = "i7ie_18xlarge" +_iiexlarge = "i7ie.18xlarge" +_i__________________________________________ = "i7ie_24xlarge" +_iiexlarge_ = "i7ie.24xlarge" +_i___________________________________________ = "i7ie_48xlarge" +_iiexlarge__ = "i7ie.48xlarge" +_il_______ = "i8g_large" +_igla = "i8g.large" +_ix__________ = "i8g_xlarge" +_igxlarge = "i8g.xlarge" +_i____________________________________________ = "i8g_2xlarge" +_igxlarge_ = "i8g.2xlarge" +_i_____________________________________________ = "i8g_4xlarge" +_igxlarge__ = "i8g.4xlarge" +_i______________________________________________ = "i8g_8xlarge" +_igxlarge___ = "i8g.8xlarge" +_i_______________________________________________ = "i8g_12xlarge" +_igxlarge____ = "i8g.12xlarge" +_i________________________________________________ = "i8g_16xlarge" +_igxlarge_____ = "i8g.16xlarge" +_i_________________________________________________ = "i8g_24xlarge" +_igxlarge______ = "i8g.24xlarge" +_im_____ = "i8g_metal_24xl" +_i__________________________________________________ = "i8g.metal-24xl" +_u______________________________ = "u7i_6tb_112xlarge" +_u_______________________________ = "u7i-6tb.112xlarge" +_u________________________________ = "u7i_8tb_112xlarge" +_u_________________________________ = "u7i-8tb.112xlarge" +_u__________________________________ = "u7inh_32tb_480xlarge" +_u___________________________________ = "u7inh-32tb.480xlarge" +_p__________ = "p5e_48xlarge" +_pex = "p5e.48xlarge" +_p___________ = "p5en_48xlarge" +_pen = "p5en.48xlarge" +_f____ = "f2_12xlarge" +_fxlar = "f2.12xlarge" +_f_____ = "f2_48xlarge" +_fxlarg = "f2.48xlarge" +_t________ = "trn2_48xlarge" +_trnxl = "trn2.48xlarge" +_cf________ = "c7i_flex_12xlarge" +_cf_________ = "c7i-flex.12xlarge" +_cf__________ = "c7i_flex_16xlarge" +_cf___________ = "c7i-flex.16xlarge" +_mf________ = "m7i_flex_12xlarge" +_mf_________ = "m7i-flex.12xlarge" +_mf__________ = "m7i_flex_16xlarge" +_mf___________ = "m7i-flex.16xlarge" +_im______ = "i7ie_metal_24xl" +_i___________________________________________________ = "i7ie.metal-24xl" +_im_______ = "i7ie_metal_48xl" +_i____________________________________________________ = "i7ie.metal-48xl" +_i_____________________________________________________ = "i8g_48xlarge" +_igxlarge_______ = "i8g.48xlarge" +_cm__________________________ = "c8gd_medium" +_cgdmed = "c8gd.medium" +_cl_____________________ = "c8gd_large" +_cgdlar = "c8gd.large" +_cx_____________________ = "c8gd_xlarge" +_cgdxlarge_______ = "c8gd.xlarge" +_c_____________________________________________________________________________________________________________________________ = "c8gd_2xlarge" +_cgdxlarge________ = "c8gd.2xlarge" +_c______________________________________________________________________________________________________________________________ = "c8gd_4xlarge" +_cgdxlarge_________ = "c8gd.4xlarge" +_c_______________________________________________________________________________________________________________________________ = "c8gd_8xlarge" +_cgdxlarge__________ = "c8gd.8xlarge" +_c________________________________________________________________________________________________________________________________ = "c8gd_12xlarge" +_cgdxlarge___________ = "c8gd.12xlarge" +_c_________________________________________________________________________________________________________________________________ = "c8gd_16xlarge" +_cgdxlarge____________ = "c8gd.16xlarge" +_c__________________________________________________________________________________________________________________________________ = "c8gd_24xlarge" +_cgdxlarge_____________ = "c8gd.24xlarge" +_c___________________________________________________________________________________________________________________________________ = "c8gd_48xlarge" +_cgdxlarge______________ = "c8gd.48xlarge" +_cm___________________________ = "c8gd_metal_24xl" +_c____________________________________________________________________________________________________________________________________ = "c8gd.metal-24xl" +_cm____________________________ = "c8gd_metal_48xl" +_c_____________________________________________________________________________________________________________________________________ = "c8gd.metal-48xl" +_il________ = "i7i_large" +_iil = "i7i.large" +_ix___________ = "i7i_xlarge" +_iixlarge___ = "i7i.xlarge" +_i______________________________________________________ = "i7i_2xlarge" +_iixlarge____ = "i7i.2xlarge" +_i_______________________________________________________ = "i7i_4xlarge" +_iixlarge_____ = "i7i.4xlarge" +_i________________________________________________________ = "i7i_8xlarge" +_iixlarge______ = "i7i.8xlarge" +_i_________________________________________________________ = "i7i_12xlarge" +_iixlarge_______ = "i7i.12xlarge" +_i__________________________________________________________ = "i7i_16xlarge" +_iixlarge________ = "i7i.16xlarge" +_i___________________________________________________________ = "i7i_24xlarge" +_iixlarge_________ = "i7i.24xlarge" +_i____________________________________________________________ = "i7i_48xlarge" +_iixlarge__________ = "i7i.48xlarge" +_im________ = "i7i_metal_24xl" +_i_____________________________________________________________ = "i7i.metal-24xl" +_im_________ = "i7i_metal_48xl" +_i______________________________________________________________ = "i7i.metal-48xl" +_pb = "p6_b200_48xlarge" +_pb_ = "p6-b200.48xlarge" +_mm________________________________ = "m8gd_medium" +_mgdmed = "m8gd.medium" +_ml______________________ = "m8gd_large" +_mgdlar = "m8gd.large" +_mx_______________________ = "m8gd_xlarge" +_mgdxlarge_______ = "m8gd.xlarge" +_m____________________________________________________________________________________________________________________________________ = "m8gd_2xlarge" +_mgdxlarge________ = "m8gd.2xlarge" +_m_____________________________________________________________________________________________________________________________________ = "m8gd_4xlarge" +_mgdxlarge_________ = "m8gd.4xlarge" +_m______________________________________________________________________________________________________________________________________ = "m8gd_8xlarge" +_mgdxlarge__________ = "m8gd.8xlarge" +_m_______________________________________________________________________________________________________________________________________ = "m8gd_12xlarge" +_mgdxlarge___________ = "m8gd.12xlarge" +_m________________________________________________________________________________________________________________________________________ = "m8gd_16xlarge" +_mgdxlarge____________ = "m8gd.16xlarge" +_m_________________________________________________________________________________________________________________________________________ = "m8gd_24xlarge" +_mgdxlarge_____________ = "m8gd.24xlarge" +_m__________________________________________________________________________________________________________________________________________ = "m8gd_48xlarge" +_mgdxlarge______________ = "m8gd.48xlarge" +_mm_________________________________ = "m8gd_metal_24xl" +_m___________________________________________________________________________________________________________________________________________ = "m8gd.metal-24xl" +_mm__________________________________ = "m8gd_metal_48xl" +_m____________________________________________________________________________________________________________________________________________ = "m8gd.metal-48xl" +_rm___________________________ = "r8gd_medium" +_rgdmed = "r8gd.medium" +_rl______________________ = "r8gd_large" +_rgdlar = "r8gd.large" +_rx______________________ = "r8gd_xlarge" +_rgdxlarge_______ = "r8gd.xlarge" +_r_____________________________________________________________________________________________________________________________________________ = "r8gd_2xlarge" +_rgdxlarge________ = "r8gd.2xlarge" +_r______________________________________________________________________________________________________________________________________________ = "r8gd_4xlarge" +_rgdxlarge_________ = "r8gd.4xlarge" +_r_______________________________________________________________________________________________________________________________________________ = "r8gd_8xlarge" +_rgdxlarge__________ = "r8gd.8xlarge" +_r________________________________________________________________________________________________________________________________________________ = "r8gd_12xlarge" +_rgdxlarge___________ = "r8gd.12xlarge" +_r_________________________________________________________________________________________________________________________________________________ = "r8gd_16xlarge" +_rgdxlarge____________ = "r8gd.16xlarge" +_r__________________________________________________________________________________________________________________________________________________ = "r8gd_24xlarge" +_rgdxlarge_____________ = "r8gd.24xlarge" +_r___________________________________________________________________________________________________________________________________________________ = "r8gd_48xlarge" +_rgdxlarge______________ = "r8gd.48xlarge" +_rm____________________________ = "r8gd_metal_24xl" +_r____________________________________________________________________________________________________________________________________________________ = "r8gd.metal-24xl" +_rm_____________________________ = "r8gd_metal_48xl" +_r_____________________________________________________________________________________________________________________________________________________ = "r8gd.metal-48xl" +_cm_____________________________ = "c8gn_medium" +_cgnmed = "c8gn.medium" +_cl______________________ = "c8gn_large" +_cgnlar = "c8gn.large" +_cx______________________ = "c8gn_xlarge" +_cgnxlarge_______ = "c8gn.xlarge" +_c______________________________________________________________________________________________________________________________________ = "c8gn_2xlarge" +_cgnxlarge________ = "c8gn.2xlarge" +_c_______________________________________________________________________________________________________________________________________ = "c8gn_4xlarge" +_cgnxlarge_________ = "c8gn.4xlarge" +_c________________________________________________________________________________________________________________________________________ = "c8gn_8xlarge" +_cgnxlarge__________ = "c8gn.8xlarge" +_c_________________________________________________________________________________________________________________________________________ = "c8gn_12xlarge" +_cgnxlarge___________ = "c8gn.12xlarge" +_c__________________________________________________________________________________________________________________________________________ = "c8gn_16xlarge" +_cgnxlarge____________ = "c8gn.16xlarge" +_c___________________________________________________________________________________________________________________________________________ = "c8gn_24xlarge" +_cgnxlarge_____________ = "c8gn.24xlarge" +_c____________________________________________________________________________________________________________________________________________ = "c8gn_48xlarge" +_cgnxlarge______________ = "c8gn.48xlarge" +_cm______________________________ = "c8gn_metal_24xl" +_c_____________________________________________________________________________________________________________________________________________ = "c8gn.metal-24xl" +_cm_______________________________ = "c8gn_metal_48xl" +_c______________________________________________________________________________________________________________________________________________ = "c8gn.metal-48xl" +_f______ = "f2_6xlarge" +_fxlarge = "f2.6xlarge" +_pg__ = "p6e_gb200_36xlarge" +_pg___ = "p6e-gb200.36xlarge" +_gl = "g6f_large" +_gf = "g6f.large" +_gx________ = "g6f_xlarge" +_gfx = "g6f.xlarge" +_g__________________________________________ = "g6f_2xlarge" +_gfxl = "g6f.2xlarge" +_g___________________________________________ = "g6f_4xlarge" +_gfxla = "g6f.4xlarge" +_g____________________________________________ = "gr6f_4xlarge" +_grf = "gr6f.4xlarge" +_p____________ = "p5_4xlarge" +_pxlarge___ = "p5.4xlarge" +_rl_______________________ = "r8i_large" +_rilar = "r8i.large" +_rx_______________________ = "r8i_xlarge" +_rixlarge___________ = "r8i.xlarge" +_r______________________________________________________________________________________________________________________________________________________ = "r8i_2xlarge" +_rixlarge____________ = "r8i.2xlarge" +_r_______________________________________________________________________________________________________________________________________________________ = "r8i_4xlarge" +_rixlarge_____________ = "r8i.4xlarge" +_r________________________________________________________________________________________________________________________________________________________ = "r8i_8xlarge" +_rixlarge______________ = "r8i.8xlarge" +_r_________________________________________________________________________________________________________________________________________________________ = "r8i_12xlarge" +_rixlarge_______________ = "r8i.12xlarge" +_r__________________________________________________________________________________________________________________________________________________________ = "r8i_16xlarge" +_rixlarge________________ = "r8i.16xlarge" +_r___________________________________________________________________________________________________________________________________________________________ = "r8i_24xlarge" +_rixlarge_________________ = "r8i.24xlarge" +_r____________________________________________________________________________________________________________________________________________________________ = "r8i_32xlarge" +_rixlarge__________________ = "r8i.32xlarge" +_r_____________________________________________________________________________________________________________________________________________________________ = "r8i_48xlarge" +_rixlarge___________________ = "r8i.48xlarge" +_r______________________________________________________________________________________________________________________________________________________________ = "r8i_96xlarge" +_rixlarge____________________ = "r8i.96xlarge" +_rm______________________________ = "r8i_metal_48xl" +_r_______________________________________________________________________________________________________________________________________________________________ = "r8i.metal-48xl" +_rm_______________________________ = "r8i_metal_96xl" +_r________________________________________________________________________________________________________________________________________________________________ = "r8i.metal-96xl" +_rfl = "r8i_flex_large" +_rf = "r8i-flex.large" +_rfx = "r8i_flex_xlarge" +_rf_ = "r8i-flex.xlarge" +_rf__ = "r8i_flex_2xlarge" +_rf___ = "r8i-flex.2xlarge" +_rf____ = "r8i_flex_4xlarge" +_rf_____ = "r8i-flex.4xlarge" +_rf______ = "r8i_flex_8xlarge" +_rf_______ = "r8i-flex.8xlarge" +_rf________ = "r8i_flex_12xlarge" +_rf_________ = "r8i-flex.12xlarge" +_rf__________ = "r8i_flex_16xlarge" +_rf___________ = "r8i-flex.16xlarge" +_ml_______________________ = "m8i_large" +_mila = "m8i.large" +_mx________________________ = "m8i_xlarge" +_mixlarge___________ = "m8i.xlarge" +_m_____________________________________________________________________________________________________________________________________________ = "m8i_2xlarge" +_mixlarge____________ = "m8i.2xlarge" +_m______________________________________________________________________________________________________________________________________________ = "m8i_4xlarge" +_mixlarge_____________ = "m8i.4xlarge" +_m_______________________________________________________________________________________________________________________________________________ = "m8i_8xlarge" +_mixlarge______________ = "m8i.8xlarge" +_m________________________________________________________________________________________________________________________________________________ = "m8i_12xlarge" +_mixlarge_______________ = "m8i.12xlarge" +_m_________________________________________________________________________________________________________________________________________________ = "m8i_16xlarge" +_mixlarge________________ = "m8i.16xlarge" +_m__________________________________________________________________________________________________________________________________________________ = "m8i_24xlarge" +_mixlarge_________________ = "m8i.24xlarge" +_m___________________________________________________________________________________________________________________________________________________ = "m8i_32xlarge" +_mixlarge__________________ = "m8i.32xlarge" +_m____________________________________________________________________________________________________________________________________________________ = "m8i_48xlarge" +_mixlarge___________________ = "m8i.48xlarge" +_m_____________________________________________________________________________________________________________________________________________________ = "m8i_96xlarge" +_mixlarge____________________ = "m8i.96xlarge" +_mm___________________________________ = "m8i_metal_48xl" +_m______________________________________________________________________________________________________________________________________________________ = "m8i.metal-48xl" +_mm____________________________________ = "m8i_metal_96xl" +_m_______________________________________________________________________________________________________________________________________________________ = "m8i.metal-96xl" +_mfl_ = "m8i_flex_large" +_mf____________ = "m8i-flex.large" +_mfx_ = "m8i_flex_xlarge" +_mf_____________ = "m8i-flex.xlarge" +_mf______________ = "m8i_flex_2xlarge" +_mf_______________ = "m8i-flex.2xlarge" +_mf________________ = "m8i_flex_4xlarge" +_mf_________________ = "m8i-flex.4xlarge" +_mf__________________ = "m8i_flex_8xlarge" +_mf___________________ = "m8i-flex.8xlarge" +_mf____________________ = "m8i_flex_12xlarge" +_mf_____________________ = "m8i-flex.12xlarge" +_mf______________________ = "m8i_flex_16xlarge" +_mf_______________________ = "m8i-flex.16xlarge" +_il_________ = "i8ge_large" +_ige = "i8ge.large" +_ix____________ = "i8ge_xlarge" +_igex = "i8ge.xlarge" +_i_______________________________________________________________ = "i8ge_2xlarge" +_igexl = "i8ge.2xlarge" +_i________________________________________________________________ = "i8ge_3xlarge" +_igexla = "i8ge.3xlarge" +_i_________________________________________________________________ = "i8ge_6xlarge" +_igexlar = "i8ge.6xlarge" +_i__________________________________________________________________ = "i8ge_12xlarge" +_igexlarg = "i8ge.12xlarge" +_i___________________________________________________________________ = "i8ge_18xlarge" +_igexlarge = "i8ge.18xlarge" +_i____________________________________________________________________ = "i8ge_24xlarge" +_igexlarge_ = "i8ge.24xlarge" +_i_____________________________________________________________________ = ( + "i8ge_48xlarge" +) +_igexlarge__ = "i8ge.48xlarge" +_im__________ = "i8ge_metal_24xl" +_i______________________________________________________________________ = ( + "i8ge.metal-24xl" +) +_im___________ = "i8ge_metal_48xl" +_i_______________________________________________________________________ = ( + "i8ge.metal-48xl" +) +_mmm___ = "mac_m4_metal" +_mm_____________________________________ = "mac-m4.metal" +_mmm____ = "mac_m4pro_metal" +_mm______________________________________ = "mac-m4pro.metal" +_rm________________________________ = "r8gn_medium" +_rgn = "r8gn.medium" +_rl________________________ = "r8gn_large" +_rgnl = "r8gn.large" +_rx________________________ = "r8gn_xlarge" +_rgnx = "r8gn.xlarge" +_r_________________________________________________________________________________________________________________________________________________________________ = "r8gn_2xlarge" +_rgnxl = "r8gn.2xlarge" +_r__________________________________________________________________________________________________________________________________________________________________ = "r8gn_4xlarge" +_rgnxla = "r8gn.4xlarge" +_r___________________________________________________________________________________________________________________________________________________________________ = "r8gn_8xlarge" +_rgnxlar = "r8gn.8xlarge" +_r____________________________________________________________________________________________________________________________________________________________________ = "r8gn_12xlarge" +_rgnxlarg = "r8gn.12xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________ = "r8gn_16xlarge" +_rgnxlarge = "r8gn.16xlarge" +_r______________________________________________________________________________________________________________________________________________________________________ = "r8gn_24xlarge" +_rgnxlarge_ = "r8gn.24xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________ = "r8gn_48xlarge" +_rgnxlarge__ = "r8gn.48xlarge" +_rm_________________________________ = "r8gn_metal_24xl" +_r________________________________________________________________________________________________________________________________________________________________________ = "r8gn.metal-24xl" +_rm__________________________________ = "r8gn_metal_48xl" +_r_________________________________________________________________________________________________________________________________________________________________________ = "r8gn.metal-48xl" +_cl_______________________ = "c8i_large" +_cilar = "c8i.large" +_cx_______________________ = "c8i_xlarge" +_cixlarge___________ = "c8i.xlarge" +_c_______________________________________________________________________________________________________________________________________________ = "c8i_2xlarge" +_cixlarge____________ = "c8i.2xlarge" +_c________________________________________________________________________________________________________________________________________________ = "c8i_4xlarge" +_cixlarge_____________ = "c8i.4xlarge" +_c_________________________________________________________________________________________________________________________________________________ = "c8i_8xlarge" +_cixlarge______________ = "c8i.8xlarge" +_c__________________________________________________________________________________________________________________________________________________ = "c8i_12xlarge" +_cixlarge_______________ = "c8i.12xlarge" +_c___________________________________________________________________________________________________________________________________________________ = "c8i_16xlarge" +_cixlarge________________ = "c8i.16xlarge" +_c____________________________________________________________________________________________________________________________________________________ = "c8i_24xlarge" +_cixlarge_________________ = "c8i.24xlarge" +_c_____________________________________________________________________________________________________________________________________________________ = "c8i_32xlarge" +_cixlarge__________________ = "c8i.32xlarge" +_c______________________________________________________________________________________________________________________________________________________ = "c8i_48xlarge" +_cixlarge___________________ = "c8i.48xlarge" +_c_______________________________________________________________________________________________________________________________________________________ = "c8i_96xlarge" +_cixlarge____________________ = "c8i.96xlarge" +_cm________________________________ = "c8i_metal_48xl" +_c________________________________________________________________________________________________________________________________________________________ = "c8i.metal-48xl" +_cm_________________________________ = "c8i_metal_96xl" +_c_________________________________________________________________________________________________________________________________________________________ = "c8i.metal-96xl" +_cfl_ = "c8i_flex_large" +_cf____________ = "c8i-flex.large" +_cfx_ = "c8i_flex_xlarge" +_cf_____________ = "c8i-flex.xlarge" +_cf______________ = "c8i_flex_2xlarge" +_cf_______________ = "c8i-flex.2xlarge" +_cf________________ = "c8i_flex_4xlarge" +_cf_________________ = "c8i-flex.4xlarge" +_cf__________________ = "c8i_flex_8xlarge" +_cf___________________ = "c8i-flex.8xlarge" +_cf____________________ = "c8i_flex_12xlarge" +_cf_____________________ = "c8i-flex.12xlarge" +_cf______________________ = "c8i_flex_16xlarge" +_cf_______________________ = "c8i-flex.16xlarge" +_rm___________________________________ = "r8gb_medium" +_rgb = "r8gb.medium" +_rl_________________________ = "r8gb_large" +_rgbl = "r8gb.large" +_rx_________________________ = "r8gb_xlarge" +_rgbx = "r8gb.xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________ = "r8gb_2xlarge" +_rgbxl = "r8gb.2xlarge" +_r___________________________________________________________________________________________________________________________________________________________________________ = "r8gb_4xlarge" +_rgbxla = "r8gb.4xlarge" +_r____________________________________________________________________________________________________________________________________________________________________________ = "r8gb_8xlarge" +_rgbxlar = "r8gb.8xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________ = "r8gb_12xlarge" +_rgbxlarg = "r8gb.12xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________ = "r8gb_16xlarge" +_rgbxlarge = "r8gb.16xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________ = "r8gb_24xlarge" +_rgbxlarge_ = "r8gb.24xlarge" +_rm____________________________________ = "r8gb_metal_24xl" +_r________________________________________________________________________________________________________________________________________________________________________________ = "r8gb.metal-24xl" +_mm_______________________________________ = "m8a_medium" +_mamed = "m8a.medium" +_ml________________________ = "m8a_large" +_malarg = "m8a.large" +_mx_________________________ = "m8a_xlarge" +_maxlarge____________________ = "m8a.xlarge" +_m________________________________________________________________________________________________________________________________________________________ = "m8a_2xlarge" +_maxlarge_____________________ = "m8a.2xlarge" +_m_________________________________________________________________________________________________________________________________________________________ = "m8a_4xlarge" +_maxlarge______________________ = "m8a.4xlarge" +_m__________________________________________________________________________________________________________________________________________________________ = "m8a_8xlarge" +_maxlarge_______________________ = "m8a.8xlarge" +_m___________________________________________________________________________________________________________________________________________________________ = "m8a_12xlarge" +_maxlarge________________________ = "m8a.12xlarge" +_m____________________________________________________________________________________________________________________________________________________________ = "m8a_16xlarge" +_maxlarge_________________________ = "m8a.16xlarge" +_m_____________________________________________________________________________________________________________________________________________________________ = "m8a_24xlarge" +_maxlarge__________________________ = "m8a.24xlarge" +_m______________________________________________________________________________________________________________________________________________________________ = "m8a_48xlarge" +_maxlarge___________________________ = "m8a.48xlarge" +_mm________________________________________ = "m8a_metal_24xl" +_m_______________________________________________________________________________________________________________________________________________________________ = "m8a.metal-24xl" +_mm_________________________________________ = "m8a_metal_48xl" +_m________________________________________________________________________________________________________________________________________________________________ = "m8a.metal-48xl" +_t_________ = "trn2_3xlarge" +_trnxla = "trn2.3xlarge" +_rm_____________________________________ = "r8a_medium" +_ramed = "r8a.medium" +_rl__________________________ = "r8a_large" +_ralar = "r8a.large" +_rx__________________________ = "r8a_xlarge" +_raxlarge____________________ = "r8a.xlarge" +_r_________________________________________________________________________________________________________________________________________________________________________________ = "r8a_2xlarge" +_raxlarge_____________________ = "r8a.2xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________________ = "r8a_4xlarge" +_raxlarge______________________ = "r8a.4xlarge" +_r___________________________________________________________________________________________________________________________________________________________________________________ = "r8a_8xlarge" +_raxlarge_______________________ = "r8a.8xlarge" +_r____________________________________________________________________________________________________________________________________________________________________________________ = "r8a_12xlarge" +_raxlarge________________________ = "r8a.12xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________________ = "r8a_16xlarge" +_raxlarge_________________________ = "r8a.16xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________________ = "r8a_24xlarge" +_raxlarge__________________________ = "r8a.24xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________________ = "r8a_48xlarge" +_raxlarge___________________________ = "r8a.48xlarge" +_rm______________________________________ = "r8a_metal_24xl" +_r________________________________________________________________________________________________________________________________________________________________________________________ = "r8a.metal-24xl" +_rm_______________________________________ = "r8a_metal_48xl" +_r_________________________________________________________________________________________________________________________________________________________________________________________ = "r8a.metal-48xl" +_pb__ = "p6_b300_48xlarge" +_pb___ = "p6-b300.48xlarge" +_cm__________________________________ = "c8a_medium" +_camed = "c8a.medium" +_cl________________________ = "c8a_large" +_calarg = "c8a.large" +_cx________________________ = "c8a_xlarge" +_caxlarge____________________ = "c8a.xlarge" +_c__________________________________________________________________________________________________________________________________________________________ = "c8a_2xlarge" +_caxlarge_____________________ = "c8a.2xlarge" +_c___________________________________________________________________________________________________________________________________________________________ = "c8a_4xlarge" +_caxlarge______________________ = "c8a.4xlarge" +_c____________________________________________________________________________________________________________________________________________________________ = "c8a_8xlarge" +_caxlarge_______________________ = "c8a.8xlarge" +_c_____________________________________________________________________________________________________________________________________________________________ = "c8a_12xlarge" +_caxlarge________________________ = "c8a.12xlarge" +_c______________________________________________________________________________________________________________________________________________________________ = "c8a_16xlarge" +_caxlarge_________________________ = "c8a.16xlarge" +_c_______________________________________________________________________________________________________________________________________________________________ = "c8a_24xlarge" +_caxlarge__________________________ = "c8a.24xlarge" +_c________________________________________________________________________________________________________________________________________________________________ = "c8a_48xlarge" +_caxlarge___________________________ = "c8a.48xlarge" +_cm___________________________________ = "c8a_metal_24xl" +_c_________________________________________________________________________________________________________________________________________________________________ = "c8a.metal-24xl" +_cm____________________________________ = "c8a_metal_48xl" +_c__________________________________________________________________________________________________________________________________________________________________ = "c8a.metal-48xl" +_c___________________________________________________________________________________________________________________________________________________________________ = "c8gb_12xlarge" +_cgb = "c8gb.12xlarge" +_c____________________________________________________________________________________________________________________________________________________________________ = "c8gb_16xlarge" +_cgbx = "c8gb.16xlarge" +_c_____________________________________________________________________________________________________________________________________________________________________ = "c8gb_24xlarge" +_cgbxl = "c8gb.24xlarge" +_c______________________________________________________________________________________________________________________________________________________________________ = "c8gb_2xlarge" +_cgbxla = "c8gb.2xlarge" +_c_______________________________________________________________________________________________________________________________________________________________________ = "c8gb_4xlarge" +_cgbxlar = "c8gb.4xlarge" +_c________________________________________________________________________________________________________________________________________________________________________ = "c8gb_8xlarge" +_cgbxlarg = "c8gb.8xlarge" +_cl_________________________ = "c8gb_large" +_cgbl = "c8gb.large" +_cm_____________________________________ = "c8gb_medium" +_cgbm = "c8gb.medium" +_cm______________________________________ = "c8gb_metal_24xl" +_c_________________________________________________________________________________________________________________________________________________________________________ = "c8gb.metal-24xl" +_cx_________________________ = "c8gb_xlarge" +_cgbxlarge = "c8gb.xlarge" +_c__________________________________________________________________________________________________________________________________________________________________________ = "c8gb_48xlarge" +_cgbxlarge_ = "c8gb.48xlarge" +_cm_______________________________________ = "c8gb_metal_48xl" +_c___________________________________________________________________________________________________________________________________________________________________________ = "c8gb.metal-48xl" +_m_________________________________________________________________________________________________________________________________________________________________ = "m8gb_12xlarge" +_mgb = "m8gb.12xlarge" +_m__________________________________________________________________________________________________________________________________________________________________ = "m8gb_16xlarge" +_mgbx = "m8gb.16xlarge" +_m___________________________________________________________________________________________________________________________________________________________________ = "m8gb_24xlarge" +_mgbxl = "m8gb.24xlarge" +_m____________________________________________________________________________________________________________________________________________________________________ = "m8gb_2xlarge" +_mgbxla = "m8gb.2xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________ = "m8gb_4xlarge" +_mgbxlar = "m8gb.4xlarge" +_m______________________________________________________________________________________________________________________________________________________________________ = "m8gb_8xlarge" +_mgbxlarg = "m8gb.8xlarge" +_ml_________________________ = "m8gb_large" +_mgbl = "m8gb.large" +_mm__________________________________________ = "m8gb_medium" +_mgbm = "m8gb.medium" +_mx__________________________ = "m8gb_xlarge" +_mgbxlarge = "m8gb.xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________ = "m8gb_48xlarge" +_mgbxlarge_ = "m8gb.48xlarge" +_mm___________________________________________ = "m8gb_metal_24xl" +_m________________________________________________________________________________________________________________________________________________________________________ = "m8gb.metal-24xl" +_mm____________________________________________ = "m8gb_metal_48xl" +_m_________________________________________________________________________________________________________________________________________________________________________ = "m8gb.metal-48xl" +_m__________________________________________________________________________________________________________________________________________________________________________ = "m8gn_12xlarge" +_mgn = "m8gn.12xlarge" +_m___________________________________________________________________________________________________________________________________________________________________________ = "m8gn_16xlarge" +_mgnx = "m8gn.16xlarge" +_m____________________________________________________________________________________________________________________________________________________________________________ = "m8gn_24xlarge" +_mgnxl = "m8gn.24xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________ = "m8gn_2xlarge" +_mgnxla = "m8gn.2xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________ = "m8gn_48xlarge" +_mgnxlar = "m8gn.48xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________________ = "m8gn_4xlarge" +_mgnxlarg = "m8gn.4xlarge" +_m________________________________________________________________________________________________________________________________________________________________________________ = "m8gn_8xlarge" +_mgnxlarge = "m8gn.8xlarge" +_ml__________________________ = "m8gn_large" +_mgnl = "m8gn.large" +_mm_____________________________________________ = "m8gn_medium" +_mgnm = "m8gn.medium" +_mx___________________________ = "m8gn_xlarge" +_mgnxlarge_ = "m8gn.xlarge" +_mm______________________________________________ = "m8gn_metal_24xl" +_m_________________________________________________________________________________________________________________________________________________________________________________ = "m8gn.metal-24xl" +_mm_______________________________________________ = "m8gn_metal_48xl" +_m__________________________________________________________________________________________________________________________________________________________________________________ = "m8gn.metal-48xl" +_x____________________________________ = "x8aedz_12xlarge" +_xa = "x8aedz.12xlarge" +_x_____________________________________ = "x8aedz_24xlarge" +_xae = "x8aedz.24xlarge" +_x______________________________________ = "x8aedz_3xlarge" +_xaed = "x8aedz.3xlarge" +_x_______________________________________ = "x8aedz_6xlarge" +_xaedz = "x8aedz.6xlarge" +_xl__ = "x8aedz_large" +_xaedzl = "x8aedz.large" +_xm________ = "x8aedz_metal_12xl" +_x________________________________________ = "x8aedz.metal-12xl" +_xm_________ = "x8aedz_metal_24xl" +_x_________________________________________ = "x8aedz.metal-24xl" +_xx_____ = "x8aedz_xlarge" +_xaedzx = "x8aedz.xlarge" +_mm________________________________________________ = "m8azn_medium" +_maz = "m8azn.medium" +_ml___________________________ = "m8azn_large" +_mazn = "m8azn.large" +_mx____________________________ = "m8azn_xlarge" +_maznx = "m8azn.xlarge" +_m___________________________________________________________________________________________________________________________________________________________________________________ = "m8azn_3xlarge" +_maznxl = "m8azn.3xlarge" +_m____________________________________________________________________________________________________________________________________________________________________________________ = "m8azn_6xlarge" +_maznxla = "m8azn.6xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________________ = "m8azn_12xlarge" +_maznxlar = "m8azn.12xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________________ = "m8azn_24xlarge" +_maznxlarg = "m8azn.24xlarge" +_mm_________________________________________________ = "m8azn_metal_12xl" +_m_______________________________________________________________________________________________________________________________________________________________________________________ = "m8azn.metal-12xl" +_mm__________________________________________________ = "m8azn_metal_24xl" +_m________________________________________________________________________________________________________________________________________________________________________________________ = "m8azn.metal-24xl" +_xl___ = "x8i_large" +_xil = "x8i.large" +_xx______ = "x8i_xlarge" +_xix = "x8i.xlarge" +_x__________________________________________ = "x8i_2xlarge" +_xixl = "x8i.2xlarge" +_x___________________________________________ = "x8i_4xlarge" +_xixla = "x8i.4xlarge" +_x____________________________________________ = "x8i_8xlarge" +_xixlar = "x8i.8xlarge" +_x_____________________________________________ = "x8i_12xlarge" +_xixlarg = "x8i.12xlarge" +_x______________________________________________ = "x8i_16xlarge" +_xixlarge = "x8i.16xlarge" +_x_______________________________________________ = "x8i_24xlarge" +_xixlarge_ = "x8i.24xlarge" +_x________________________________________________ = "x8i_32xlarge" +_xixlarge__ = "x8i.32xlarge" +_x_________________________________________________ = "x8i_48xlarge" +_xixlarge___ = "x8i.48xlarge" +_x__________________________________________________ = "x8i_64xlarge" +_xixlarge____ = "x8i.64xlarge" +_x___________________________________________________ = "x8i_96xlarge" +_xixlarge_____ = "x8i.96xlarge" +_xm__________ = "x8i_metal_48xl" +_x____________________________________________________ = "x8i.metal-48xl" +_xm___________ = "x8i_metal_96xl" +_x_____________________________________________________ = "x8i.metal-96xl" +_mmm_____ = "mac_m4max_metal" +_mm___________________________________________________ = "mac-m4max.metal" +_g_____________________________________________ = "g7e_2xlarge" +_gexlarge__ = "g7e.2xlarge" +_g______________________________________________ = "g7e_4xlarge" +_gexlarge___ = "g7e.4xlarge" +_g_______________________________________________ = "g7e_8xlarge" +_gexlarge____ = "g7e.8xlarge" +_g________________________________________________ = "g7e_12xlarge" +_gexlarge_____ = "g7e.12xlarge" +_g_________________________________________________ = "g7e_24xlarge" +_gexlarge______ = "g7e.24xlarge" +_g__________________________________________________ = "g7e_48xlarge" +_gexlarge_______ = "g7e.48xlarge" +_rl___________________________ = "r8id_large" +_ridl = "r8id.large" +_rx___________________________ = "r8id_xlarge" +_ridxlarge___ = "r8id.xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_2xlarge" +_ridxlarge____ = "r8id.2xlarge" +_r___________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_4xlarge" +_ridxlarge_____ = "r8id.4xlarge" +_r____________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_8xlarge" +_ridxlarge______ = "r8id.8xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_12xlarge" +_ridxlarge_______ = "r8id.12xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_16xlarge" +_ridxlarge________ = "r8id.16xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_24xlarge" +_ridxlarge_________ = "r8id.24xlarge" +_r________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_32xlarge" +_ridxlarge__________ = "r8id.32xlarge" +_r_________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_48xlarge" +_ridxlarge___________ = "r8id.48xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id_96xlarge" +_ridxlarge____________ = "r8id.96xlarge" +_rm________________________________________ = "r8id_metal_48xl" +_r___________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id.metal-48xl" +_rm_________________________________________ = "r8id_metal_96xl" +_r____________________________________________________________________________________________________________________________________________________________________________________________________ = "r8id.metal-96xl" +_cl__________________________ = "c8id_large" +_cidl = "c8id.large" +_cx__________________________ = "c8id_xlarge" +_cidxlarge___ = "c8id.xlarge" +_c____________________________________________________________________________________________________________________________________________________________________________ = "c8id_2xlarge" +_cidxlarge____ = "c8id.2xlarge" +_c_____________________________________________________________________________________________________________________________________________________________________________ = "c8id_4xlarge" +_cidxlarge_____ = "c8id.4xlarge" +_c______________________________________________________________________________________________________________________________________________________________________________ = "c8id_8xlarge" +_cidxlarge______ = "c8id.8xlarge" +_c_______________________________________________________________________________________________________________________________________________________________________________ = "c8id_12xlarge" +_cidxlarge_______ = "c8id.12xlarge" +_c________________________________________________________________________________________________________________________________________________________________________________ = "c8id_16xlarge" +_cidxlarge________ = "c8id.16xlarge" +_c_________________________________________________________________________________________________________________________________________________________________________________ = "c8id_24xlarge" +_cidxlarge_________ = "c8id.24xlarge" +_c__________________________________________________________________________________________________________________________________________________________________________________ = "c8id_32xlarge" +_cidxlarge__________ = "c8id.32xlarge" +_c___________________________________________________________________________________________________________________________________________________________________________________ = "c8id_48xlarge" +_cidxlarge___________ = "c8id.48xlarge" +_c____________________________________________________________________________________________________________________________________________________________________________________ = "c8id_96xlarge" +_cidxlarge____________ = "c8id.96xlarge" +_cm________________________________________ = "c8id_metal_48xl" +_c_____________________________________________________________________________________________________________________________________________________________________________________ = "c8id.metal-48xl" +_cm_________________________________________ = "c8id_metal_96xl" +_c______________________________________________________________________________________________________________________________________________________________________________________ = "c8id.metal-96xl" +_ml____________________________ = "m8id_large" +_midl = "m8id.large" +_mx_____________________________ = "m8id_xlarge" +_midxlarge___ = "m8id.xlarge" +_m_________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_2xlarge" +_midxlarge____ = "m8id.2xlarge" +_m__________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_4xlarge" +_midxlarge_____ = "m8id.4xlarge" +_m___________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_8xlarge" +_midxlarge______ = "m8id.8xlarge" +_m____________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_12xlarge" +_midxlarge_______ = "m8id.12xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_16xlarge" +_midxlarge________ = "m8id.16xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_24xlarge" +_midxlarge_________ = "m8id.24xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_32xlarge" +_midxlarge__________ = "m8id.32xlarge" +_m________________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_48xlarge" +_midxlarge___________ = "m8id.48xlarge" +_m_________________________________________________________________________________________________________________________________________________________________________________________________ = "m8id_96xlarge" +_midxlarge____________ = "m8id.96xlarge" +_mm____________________________________________________ = "m8id_metal_48xl" +_m__________________________________________________________________________________________________________________________________________________________________________________________________ = "m8id.metal-48xl" +_mm_____________________________________________________ = "m8id_metal_96xl" +_m___________________________________________________________________________________________________________________________________________________________________________________________________ = "m8id.metal-96xl" +_h_________________ = "hpc8a_96xlarge" +_hpcaxlar = "hpc8a.96xlarge" +_cl___________________________ = "c8in_large" +_cinl = "c8in.large" +_cx___________________________ = "c8in_xlarge" +_cinxlarge___ = "c8in.xlarge" +_c_______________________________________________________________________________________________________________________________________________________________________________________ = "c8in_2xlarge" +_cinxlarge____ = "c8in.2xlarge" +_c________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_4xlarge" +_cinxlarge_____ = "c8in.4xlarge" +_c_________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_8xlarge" +_cinxlarge______ = "c8in.8xlarge" +_c__________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_12xlarge" +_cinxlarge_______ = "c8in.12xlarge" +_c___________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_16xlarge" +_cinxlarge________ = "c8in.16xlarge" +_c____________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_24xlarge" +_cinxlarge_________ = "c8in.24xlarge" +_c_____________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_32xlarge" +_cinxlarge__________ = "c8in.32xlarge" +_c______________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_48xlarge" +_cinxlarge___________ = "c8in.48xlarge" +_c_______________________________________________________________________________________________________________________________________________________________________________________________ = "c8in_96xlarge" +_cinxlarge____________ = "c8in.96xlarge" +_cm__________________________________________ = "c8in_metal_48xl" +_c________________________________________________________________________________________________________________________________________________________________________________________________ = "c8in.metal-48xl" +_cm___________________________________________ = "c8in_metal_96xl" +_c_________________________________________________________________________________________________________________________________________________________________________________________________ = "c8in.metal-96xl" +_cl____________________________ = "c8ib_large" +_cib = "c8ib.large" +_cx____________________________ = "c8ib_xlarge" +_cibx = "c8ib.xlarge" +_c__________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_2xlarge" +_cibxl = "c8ib.2xlarge" +_c___________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_4xlarge" +_cibxla = "c8ib.4xlarge" +_c____________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_8xlarge" +_cibxlar = "c8ib.8xlarge" +_c_____________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_12xlarge" +_cibxlarg = "c8ib.12xlarge" +_c______________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_16xlarge" +_cibxlarge = "c8ib.16xlarge" +_c_______________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_24xlarge" +_cibxlarge_ = "c8ib.24xlarge" +_c________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_32xlarge" +_cibxlarge__ = "c8ib.32xlarge" +_c_________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_48xlarge" +_cibxlarge___ = "c8ib.48xlarge" +_c__________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib_96xlarge" +_cibxlarge____ = "c8ib.96xlarge" +_cm____________________________________________ = "c8ib_metal_48xl" +_c___________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib.metal-48xl" +_cm_____________________________________________ = "c8ib_metal_96xl" +_c____________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ib.metal-96xl" +_rl____________________________ = "r8in_large" +_rinl = "r8in.large" +_rx____________________________ = "r8in_xlarge" +_rinxlarge___ = "r8in.xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_2xlarge" +_rinxlarge____ = "r8in.2xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_4xlarge" +_rinxlarge_____ = "r8in.4xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_8xlarge" +_rinxlarge______ = "r8in.8xlarge" +_r________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_12xlarge" +_rinxlarge_______ = "r8in.12xlarge" +_r_________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_16xlarge" +_rinxlarge________ = "r8in.16xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_24xlarge" +_rinxlarge_________ = "r8in.24xlarge" +_r___________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_32xlarge" +_rinxlarge__________ = "r8in.32xlarge" +_r____________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_48xlarge" +_rinxlarge___________ = "r8in.48xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in_96xlarge" +_rinxlarge____________ = "r8in.96xlarge" +_rl_____________________________ = "r8ib_large" +_rib = "r8ib.large" +_rx_____________________________ = "r8ib_xlarge" +_ribx = "r8ib.xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_2xlarge" +_ribxl = "r8ib.2xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_4xlarge" +_ribxla = "r8ib.4xlarge" +_r________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_8xlarge" +_ribxlar = "r8ib.8xlarge" +_r_________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_12xlarge" +_ribxlarg = "r8ib.12xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_16xlarge" +_ribxlarge = "r8ib.16xlarge" +_r___________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_24xlarge" +_ribxlarge_ = "r8ib.24xlarge" +_r____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_32xlarge" +_ribxlarge__ = "r8ib.32xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_48xlarge" +_ribxlarge___ = "r8ib.48xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib_96xlarge" +_ribxlarge____ = "r8ib.96xlarge" +_ml_____________________________ = "m8in_large" +_minl = "m8in.large" +_mx______________________________ = "m8in_xlarge" +_minxlarge___ = "m8in.xlarge" +_m____________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_2xlarge" +_minxlarge____ = "m8in.2xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_4xlarge" +_minxlarge_____ = "m8in.4xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_8xlarge" +_minxlarge______ = "m8in.8xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_12xlarge" +_minxlarge_______ = "m8in.12xlarge" +_m________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_16xlarge" +_minxlarge________ = "m8in.16xlarge" +_m_________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_24xlarge" +_minxlarge_________ = "m8in.24xlarge" +_m__________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_32xlarge" +_minxlarge__________ = "m8in.32xlarge" +_m___________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_48xlarge" +_minxlarge___________ = "m8in.48xlarge" +_m____________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in_96xlarge" +_minxlarge____________ = "m8in.96xlarge" +_ml______________________________ = "m8ib_large" +_mib = "m8ib.large" +_mx_______________________________ = "m8ib_xlarge" +_mibx = "m8ib.xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_2xlarge" +_mibxl = "m8ib.2xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_4xlarge" +_mibxla = "m8ib.4xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_8xlarge" +_mibxlar = "m8ib.8xlarge" +_m________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_12xlarge" +_mibxlarg = "m8ib.12xlarge" +_m_________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_16xlarge" +_mibxlarge = "m8ib.16xlarge" +_m__________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_24xlarge" +_mibxlarge_ = "m8ib.24xlarge" +_m___________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_32xlarge" +_mibxlarge__ = "m8ib.32xlarge" +_m____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_48xlarge" +_mibxlarge___ = "m8ib.48xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib_96xlarge" +_mibxlarge____ = "m8ib.96xlarge" +_ml_______________________________ = "m8ine_large" +_mine = "m8ine.large" +_mx________________________________ = "m8ine_xlarge" +_minex = "m8ine.xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ine_2xlarge" +_minexl = "m8ine.2xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ine_4xlarge" +_minexla = "m8ine.4xlarge" +_m________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ine_8xlarge" +_minexlar = "m8ine.8xlarge" +_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ine_12xlarge" +_minexlarg = "m8ine.12xlarge" +_cl_____________________________ = "c8ine_large" +_cine = "c8ine.large" +_cx_____________________________ = "c8ine_xlarge" +_cinex = "c8ine.xlarge" +_c_____________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ine_2xlarge" +_cinexl = "c8ine.2xlarge" +_c______________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ine_4xlarge" +_cinexla = "c8ine.4xlarge" +_c_______________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ine_8xlarge" +_cinexlar = "c8ine.8xlarge" +_c________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c8ine_12xlarge" +_cinexlarg = "c8ine.12xlarge" +_ml________________________________ = "m8idn_large" +_midnl = "m8idn.large" +_mx_________________________________ = "m8idn_xlarge" +_midnxlarge___ = "m8idn.xlarge" +_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_2xlarge" +_midnxlarge____ = "m8idn.2xlarge" +_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_4xlarge" +_midnxlarge_____ = "m8idn.4xlarge" +_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_8xlarge" +_midnxlarge______ = "m8idn.8xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_12xlarge" +_midnxlarge_______ = "m8idn.12xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_16xlarge" +_midnxlarge________ = "m8idn.16xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_24xlarge" +_midnxlarge_________ = "m8idn.24xlarge" +_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_32xlarge" +_midnxlarge__________ = "m8idn.32xlarge" +_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_48xlarge" +_midnxlarge___________ = "m8idn.48xlarge" +_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn_96xlarge" +_midnxlarge____________ = "m8idn.96xlarge" +_rl______________________________ = "r8idn_large" +_ridnl = "r8idn.large" +_rx______________________________ = "r8idn_xlarge" +_ridnxlarge___ = "r8idn.xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_2xlarge" +_ridnxlarge____ = "r8idn.2xlarge" +_r________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_4xlarge" +_ridnxlarge_____ = "r8idn.4xlarge" +_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_8xlarge" +_ridnxlarge______ = "r8idn.8xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_12xlarge" +_ridnxlarge_______ = "r8idn.12xlarge" +_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_16xlarge" +_ridnxlarge________ = "r8idn.16xlarge" +_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_24xlarge" +_ridnxlarge_________ = "r8idn.24xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_32xlarge" +_ridnxlarge__________ = "r8idn.32xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_48xlarge" +_ridnxlarge___________ = "r8idn.48xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn_96xlarge" +_ridnxlarge____________ = "r8idn.96xlarge" +_ml_________________________________ = "m8idb_large" +_midb = "m8idb.large" +_mx__________________________________ = "m8idb_xlarge" +_midbx = "m8idb.xlarge" +_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_2xlarge" +_midbxl = "m8idb.2xlarge" +_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_4xlarge" +_midbxla = "m8idb.4xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_8xlarge" +_midbxlar = "m8idb.8xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_12xlarge" +_midbxlarg = "m8idb.12xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_16xlarge" +_midbxlarge = "m8idb.16xlarge" +_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_24xlarge" +_midbxlarge_ = "m8idb.24xlarge" +_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_32xlarge" +_midbxlarge__ = "m8idb.32xlarge" +_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_48xlarge" +_midbxlarge___ = "m8idb.48xlarge" +_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb_96xlarge" +_midbxlarge____ = "m8idb.96xlarge" +_rl_______________________________ = "r8idb_large" +_ridb = "r8idb.large" +_rx_______________________________ = "r8idb_xlarge" +_ridbx = "r8idb.xlarge" +_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_2xlarge" +_ridbxl = "r8idb.2xlarge" +_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_4xlarge" +_ridbxla = "r8idb.4xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_8xlarge" +_ridbxlar = "r8idb.8xlarge" +_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_12xlarge" +_ridbxlarg = "r8idb.12xlarge" +_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_16xlarge" +_ridbxlarge = "r8idb.16xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_24xlarge" +_ridbxlarge_ = "r8idb.24xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_32xlarge" +_ridbxlarge__ = "r8idb.32xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_48xlarge" +_ridbxlarge___ = "r8idb.48xlarge" +_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb_96xlarge" +_ridbxlarge____ = "r8idb.96xlarge" +_mmm______ = "mac_m3ultra_metal" +_mm______________________________________________________ = "mac-m3ultra.metal" +_ml__________________________________ = "m9g_large" +_mglarg = "m9g.large" +_mx___________________________________ = "m9g_xlarge" +_mgxlarge_______________ = "m9g.xlarge" +_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_2xlarge" +_mgxlarge________________ = "m9g.2xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_4xlarge" +_mgxlarge_________________ = "m9g.4xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_8xlarge" +_mgxlarge__________________ = "m9g.8xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_12xlarge" +_mgxlarge___________________ = "m9g.12xlarge" +_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_16xlarge" +_mgxlarge____________________ = "m9g.16xlarge" +_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_24xlarge" +_mgxlarge_____________________ = "m9g.24xlarge" +_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g_48xlarge" +_mgxlarge______________________ = "m9g.48xlarge" +_mm_______________________________________________________ = "m9g_metal_24xl" +_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g.metal-24xl" +_mm________________________________________________________ = "m9g_metal_48xl" +_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9g.metal-48xl" +_ml___________________________________ = "m9gd_large" +_mgdlarg = "m9gd.large" +_mx____________________________________ = "m9gd_xlarge" +_mgdxlarge_______________ = "m9gd.xlarge" +_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_2xlarge" +_mgdxlarge________________ = "m9gd.2xlarge" +_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_4xlarge" +_mgdxlarge_________________ = "m9gd.4xlarge" +_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_8xlarge" +_mgdxlarge__________________ = "m9gd.8xlarge" +_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_12xlarge" +_mgdxlarge___________________ = "m9gd.12xlarge" +_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_16xlarge" +_mgdxlarge____________________ = "m9gd.16xlarge" +_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_24xlarge" +_mgdxlarge_____________________ = "m9gd.24xlarge" +_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd_48xlarge" +_mgdxlarge______________________ = "m9gd.48xlarge" +_mm_________________________________________________________ = "m9gd_metal_24xl" +_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd.metal-24xl" +_mm__________________________________________________________ = "m9gd_metal_48xl" +_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m9gd.metal-48xl" +_rm__________________________________________ = "r8in_metal_48xl" +_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in.metal-48xl" +_rm___________________________________________ = "r8in_metal_96xl" +_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8in.metal-96xl" +_rm____________________________________________ = "r8ib_metal_48xl" +_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib.metal-48xl" +_rm_____________________________________________ = "r8ib_metal_96xl" +_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8ib.metal-96xl" +_rm______________________________________________ = "r8idn_metal_48xl" +_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn.metal-48xl" +_rm_______________________________________________ = "r8idn_metal_96xl" +_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idn.metal-96xl" +_rm________________________________________________ = "r8idb_metal_48xl" +_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb.metal-48xl" +_rm_________________________________________________ = "r8idb_metal_96xl" +_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8idb.metal-96xl" +_mm___________________________________________________________ = "m8in_metal_48xl" +_m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in.metal-48xl" +_mm____________________________________________________________ = "m8in_metal_96xl" +_m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8in.metal-96xl" +_mm_____________________________________________________________ = "m8ib_metal_48xl" +_m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib.metal-48xl" +_mm______________________________________________________________ = "m8ib_metal_96xl" +_m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8ib.metal-96xl" +_mm_______________________________________________________________ = "m8idn_metal_48xl" +_m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn.metal-48xl" +_mm________________________________________________________________ = "m8idn_metal_96xl" +_m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idn.metal-96xl" +_mm_________________________________________________________________ = ( + "m8idb_metal_48xl" +) +_m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb.metal-48xl" +_mm__________________________________________________________________ = ( + "m8idb_metal_96xl" +) +_m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "m8idb.metal-96xl" +_g___________________________________________________ = "g7_2xlarge" +_gxlarge________________ = "g7.2xlarge" +_g____________________________________________________ = "g7_4xlarge" +_gxlarge_________________ = "g7.4xlarge" +_g_____________________________________________________ = "g7_8xlarge" +_gxlarge__________________ = "g7.8xlarge" +_g______________________________________________________ = "g7_12xlarge" +_gxlarge___________________ = "g7.12xlarge" +_g_______________________________________________________ = "g7_24xlarge" +_gxlarge____________________ = "g7.24xlarge" +_g________________________________________________________ = "g7_48xlarge" +_gxlarge_____________________ = "g7.48xlarge" +_cm______________________________________________ = "c9g_medium" +_cgmediu = "c9g.medium" +_cl______________________________ = "c9g_large" +_cglarg = "c9g.large" +_cx______________________________ = "c9g_xlarge" +_cgxlarge________________ = "c9g.xlarge" +_c_________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_2xlarge" +_cgxlarge_________________ = "c9g.2xlarge" +_c__________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_4xlarge" +_cgxlarge__________________ = "c9g.4xlarge" +_c___________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_8xlarge" +_cgxlarge___________________ = "c9g.8xlarge" +_c____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_12xlarge" +_cgxlarge____________________ = "c9g.12xlarge" +_c_____________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_16xlarge" +_cgxlarge_____________________ = "c9g.16xlarge" +_c______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_24xlarge" +_cgxlarge______________________ = "c9g.24xlarge" +_c_______________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g_48xlarge" +_cgxlarge_______________________ = "c9g.48xlarge" +_cm_______________________________________________ = "c9g_metal_48xl" +_c________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9g.metal-48xl" +_cm________________________________________________ = "c9gd_medium" +_cgdmedi = "c9gd.medium" +_cl_______________________________ = "c9gd_large" +_cgdlarg = "c9gd.large" +_cx_______________________________ = "c9gd_xlarge" +_cgdxlarge_______________ = "c9gd.xlarge" +_c_________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_2xlarge" +_cgdxlarge________________ = "c9gd.2xlarge" +_c__________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_4xlarge" +_cgdxlarge_________________ = "c9gd.4xlarge" +_c___________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_8xlarge" +_cgdxlarge__________________ = "c9gd.8xlarge" +_c____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_12xlarge" +_cgdxlarge___________________ = "c9gd.12xlarge" +_c_____________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_16xlarge" +_cgdxlarge____________________ = "c9gd.16xlarge" +_c______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_24xlarge" +_cgdxlarge_____________________ = "c9gd.24xlarge" +_c_______________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd_48xlarge" +_cgdxlarge______________________ = "c9gd.48xlarge" +_cm_________________________________________________ = "c9gd_metal_48xl" +_c________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "c9gd.metal-48xl" +_rm__________________________________________________ = "r9g_medium" +_rgmedi = "r9g.medium" +_rl________________________________ = "r9g_large" +_rglarg = "r9g.large" +_rx________________________________ = "r9g_xlarge" +_rgxlarge_______________ = "r9g.xlarge" +_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_2xlarge" +_rgxlarge________________ = "r9g.2xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_4xlarge" +_rgxlarge_________________ = "r9g.4xlarge" +_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_8xlarge" +_rgxlarge__________________ = "r9g.8xlarge" +_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_12xlarge" +_rgxlarge___________________ = "r9g.12xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_16xlarge" +_rgxlarge____________________ = "r9g.16xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_24xlarge" +_rgxlarge_____________________ = "r9g.24xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g_48xlarge" +_rgxlarge______________________ = "r9g.48xlarge" +_rm___________________________________________________ = "r9g_metal_48xl" +_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9g.metal-48xl" +_rm____________________________________________________ = "r9gd_medium" +_rgdmedi = "r9gd.medium" +_rl_________________________________ = "r9gd_large" +_rgdlarg = "r9gd.large" +_rx_________________________________ = "r9gd_xlarge" +_rgdxlarge_______________ = "r9gd.xlarge" +_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_2xlarge" +_rgdxlarge________________ = "r9gd.2xlarge" +_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_4xlarge" +_rgdxlarge_________________ = "r9gd.4xlarge" +_r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_8xlarge" +_rgdxlarge__________________ = "r9gd.8xlarge" +_r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_12xlarge" +_rgdxlarge___________________ = "r9gd.12xlarge" +_r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_16xlarge" +_rgdxlarge____________________ = "r9gd.16xlarge" +_r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_24xlarge" +_rgdxlarge_____________________ = "r9gd.24xlarge" +_r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd_48xlarge" +_rgdxlarge______________________ = "r9gd.48xlarge" +_rm_____________________________________________________ = "r9gd_metal_48xl" +_r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r9gd.metal-48xl" +_mm___________________________________________________________________ = "m9g_medium" +_mgmedi = "m9g.medium" +_tn____ = "t8i_nano" +_tin = "t8i.nano" +_tm_________ = "t8i_micro" +_timi = "t8i.micro" +_ts______ = "t8i_small" +_tis = "t8i.small" +_tm__________ = "t8i_medium" +_time = "t8i.medium" +_im____________ = "i8g_metal_48xl" +_i________________________________________________________________________ = ( + "i8g.metal-48xl" +) +_r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8gb_48xlarge" +_rgbxlarge__ = "r8gb.48xlarge" +_rm______________________________________________________ = "r8gb_metal_48xl" +_r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ = "r8gb.metal-48xl" +_mm____________________________________________________________________ = "m9gd_medium" +_mgdmedi = "m9gd.medium" +_t__________ = "trn2u_48xlarge" +_trnu = "trn2u.48xlarge" + +INSTANCE_TYPE: StaticSchema = ( + 14, + n0, + _IT, + 0, + ( + _am____, + _al_, + _ax, + _a__, + _a___, + _am_____, + _cm, + _cx, + _cl_, + _cx_, + _c_, + _c__, + _c___, + _cl__, + _cx__, + _c____, + _c_____, + _c______, + _cl___, + _cx___, + _c_______, + _c________, + _c_________, + _c__________, + _c___________, + _c____________, + _cm_, + _cl____, + _cx____, + _c_____________, + _c______________, + _c_______________, + _c________________, + _c_________________, + _c__________________, + _cl_____, + _cx_____, + _c___________________, + _c____________________, + _c_____________________, + _c______________________, + _c_______________________, + _c________________________, + _cl______, + _cx______, + _c_________________________, + _c__________________________, + _c___________________________, + _c____________________________, + _c_____________________________, + _c______________________________, + _cm__, + _cl_______, + _cx_______, + _c_______________________________, + _c________________________________, + _c_________________________________, + _c__________________________________, + _cm___, + _cm____, + _cl________, + _cx________, + _c___________________________________, + _c____________________________________, + _c_____________________________________, + _c______________________________________, + _c_______________________________________, + _cm_____, + _cm______, + _cl_________, + _cx_________, + _c________________________________________, + _c_________________________________________, + _c__________________________________________, + _c___________________________________________, + _c____________________________________________, + _cm_______, + _cm________, + _cl__________, + _cx__________, + _c_____________________________________________, + _c______________________________________________, + _c_______________________________________________, + _c________________________________________________, + _c_________________________________________________, + _cl___________, + _cx___________, + _c__________________________________________________, + _c___________________________________________________, + _c____________________________________________________, + _c_____________________________________________________, + _c______________________________________________________, + _c_______________________________________________________, + _c________________________________________________________, + _cm_________, + _c_________________________________________________________, + _c__________________________________________________________, + _c___________________________________________________________, + _c____________________________________________________________, + _dx, + _d_, + _d__, + _d___, + _dx_, + _d____, + _d_____, + _d______, + _dx__, + _d_______, + _d________, + _d_________, + _d__________, + _d___________, + _d____________, + _f_, + _f__, + _f___, + _g_, + _g__, + _g___, + _g____, + _g_____, + _gx_, + _gx__, + _g______, + _g_______, + _g________, + _g_________, + _gx___, + _g__________, + _g___________, + _g____________, + _g_____________, + _g______________, + _gm, + _gx____, + _g_______________, + _g________________, + _g_________________, + _g__________________, + _g___________________, + _g____________________, + _g_____________________, + _gx_____, + _g______________________, + _g_______________________, + _g________________________, + _g_________________________, + _gm_, + _h__, + _h___, + _h____, + _h_____, + _h______, + _h_______, + _h________, + _ix, + _i_, + _i__, + _i___, + _il, + _ix_, + _i____, + _i_____, + _i______, + _i_______, + _im_, + _il_, + _ix__, + _i________, + _i_________, + _i__________, + _i___________, + _i____________, + _im__, + _il__, + _ix___, + _i_____________, + _i______________, + _i_______________, + _i________________, + _ix____, + _i_________________, + _i__________________, + _i___________________, + _im___, + _il___, + _ix_____, + _i____________________, + _i_____________________, + _i______________________, + _ms, + _mm, + _ml, + _mx, + _mx_, + _m__, + _m___, + _mm_, + _ml_, + _mx__, + _m____, + _ml__, + _mx___, + _m_____, + _m______, + _m_______, + _m________, + _ml___, + _mx____, + _m_________, + _m__________, + _m___________, + _m____________, + _m_____________, + _m______________, + _mm__, + _ml____, + _mx_____, + _m_______________, + _m________________, + _m_________________, + _m__________________, + _m___________________, + _m____________________, + _ml_____, + _mx______, + _m_____________________, + _m______________________, + _m_______________________, + _m________________________, + _m_________________________, + _m__________________________, + _ml______, + _mx_______, + _m___________________________, + _m____________________________, + _m_____________________________, + _m______________________________, + _m_______________________________, + _m________________________________, + _mm___, + _ml_______, + _mx________, + _m_________________________________, + _m__________________________________, + _m___________________________________, + _m____________________________________, + _m_____________________________________, + _m______________________________________, + _mm____, + _ml________, + _mx_________, + _m_______________________________________, + _m________________________________________, + _m_________________________________________, + _m__________________________________________, + _m___________________________________________, + _m____________________________________________, + _mm_____, + _ml_________, + _mx__________, + _m_____________________________________________, + _m______________________________________________, + _m_______________________________________________, + _m________________________________________________, + _mm______, + _ml__________, + _mx___________, + _m_________________________________________________, + _m__________________________________________________, + _m___________________________________________________, + _m____________________________________________________, + _m_____________________________________________________, + _m______________________________________________________, + _m_______________________________________________________, + _m________________________________________________________, + _mm_______, + _mm________, + _ml___________, + _mx____________, + _m_________________________________________________________, + _m__________________________________________________________, + _m___________________________________________________________, + _m____________________________________________________________, + _m_____________________________________________________________, + _mm_________, + _mm__________, + _ml____________, + _mx_____________, + _m______________________________________________________________, + _m_______________________________________________________________, + _m________________________________________________________________, + _m_________________________________________________________________, + _m__________________________________________________________________, + _ml_____________, + _mx______________, + _m___________________________________________________________________, + _m____________________________________________________________________, + _m_____________________________________________________________________, + _m______________________________________________________________________, + _m_______________________________________________________________________, + _m________________________________________________________________________, + _m_________________________________________________________________________, + _mm___________, + _mm____________, + _px, + _p_, + _p__, + _p___, + _p____, + _p_____, + _p______, + _p_______, + _rl, + _rx, + _r_, + _r__, + _r___, + _rl_, + _rx_, + _r____, + _r_____, + _r______, + _r_______, + _rl__, + _rx__, + _r________, + _r_________, + _r__________, + _r___________, + _r____________, + _r_____________, + _rm, + _rl___, + _rx___, + _r______________, + _r_______________, + _r________________, + _r_________________, + _r__________________, + _r___________________, + _rl____, + _rx____, + _r____________________, + _r_____________________, + _r______________________, + _r_______________________, + _r________________________, + _r_________________________, + _rl_____, + _rx_____, + _r__________________________, + _r___________________________, + _r____________________________, + _r_____________________________, + _r______________________________, + _r_______________________________, + _rm_, + _rl______, + _rx______, + _r________________________________, + _r_________________________________, + _r__________________________________, + _r___________________________________, + _r____________________________________, + _r_____________________________________, + _rm__, + _rl_______, + _rx_______, + _r______________________________________, + _r_______________________________________, + _r________________________________________, + _r_________________________________________, + _r__________________________________________, + _r___________________________________________, + _rm___, + _rl________, + _rx________, + _r____________________________________________, + _r_____________________________________________, + _r______________________________________________, + _r_______________________________________________, + _r________________________________________________, + _r_________________________________________________, + _rm____, + _rm_____, + _rl_________, + _rx_________, + _r__________________________________________________, + _r___________________________________________________, + _r____________________________________________________, + _r_____________________________________________________, + _r______________________________________________________, + _rm______, + _rm_______, + _rl__________, + _rx__________, + _r_______________________________________________________, + _r________________________________________________________, + _r_________________________________________________________, + _r__________________________________________________________, + _r___________________________________________________________, + _rm________, + _rl___________, + _rx___________, + _r____________________________________________________________, + _r_____________________________________________________________, + _r______________________________________________________________, + _r_______________________________________________________________, + _r________________________________________________________________, + _r_________________________________________________________________, + _r__________________________________________________________________, + _rm_________, + _tm, + _tn, + _tm_, + _ts__, + _tm__, + _tl, + _tx, + _t_, + _tn_, + _tm___, + _ts___, + _tm____, + _tl_, + _tx_, + _t__, + _tn__, + _tm_____, + _ts____, + _tm______, + _tl__, + _tx__, + _t___, + _tn___, + _tm_______, + _ts_____, + _tm________, + _tl___, + _tx___, + _t____, + _u_, + _u___, + _u_____, + _u_______, + _um, + _um_, + _um__, + _um___, + _um____, + _v__, + _v___, + _v____, + _x_, + _x__, + _xx_, + _x___, + _x____, + _x_____, + _x______, + _x_______, + _x________, + _x_________, + _x__________, + _x___________, + _x____________, + _xm, + _xm_, + _xl, + _xx__, + _x_____________, + _x______________, + _x_______________, + _x________________, + _x_________________, + _xm__, + _zl, + _zx, + _z_, + _z__, + _z___, + _z____, + _zm, + _x__________________, + _x___________________, + _x____________________, + _xx___, + _x_____________________, + _x______________________, + _x_______________________, + _x________________________, + _x_________________________, + _x__________________________, + _cl____________, + _cx____________, + _c_____________________________________________________________, + _c______________________________________________________________, + _c_______________________________________________________________, + _c________________________________________________________________, + _c_________________________________________________________________, + _c__________________________________________________________________, + _c___________________________________________________________________, + _c____________________________________________________________________, + _cm__________, + _mm_____________, + _il____, + _ix______, + _i_______________________, + _i________________________, + _i_________________________, + _i__________________________, + _i___________________________, + _im____, + _xm___, + _xm____, + _cm___________, + _cl_____________, + _cx_____________, + _c_____________________________________________________________________, + _c______________________________________________________________________, + _c_______________________________________________________________________, + _c________________________________________________________________________, + _c_________________________________________________________________________, + _mm______________, + _cl______________, + _cx______________, + _c__________________________________________________________________________, + _c___________________________________________________________________________, + _c____________________________________________________________________________, + _c_____________________________________________________________________________, + _c______________________________________________________________________________, + _c_______________________________________________________________________________, + _c________________________________________________________________________________, + _cm____________, + _ml______________, + _mx_______________, + _m__________________________________________________________________________, + _m___________________________________________________________________________, + _m____________________________________________________________________________, + _m_____________________________________________________________________________, + _m______________________________________________________________________________, + _m_______________________________________________________________________________, + _m________________________________________________________________________________, + _mm_______________, + _rl____________, + _rx____________, + _r___________________________________________________________________, + _r____________________________________________________________________, + _r_____________________________________________________________________, + _r______________________________________________________________________, + _r_______________________________________________________________________, + _r________________________________________________________________________, + _r_________________________________________________________________________, + _rm__________, + _rl_____________, + _rx_____________, + _r__________________________________________________________________________, + _r___________________________________________________________________________, + _r____________________________________________________________________________, + _r_____________________________________________________________________________, + _r______________________________________________________________________________, + _r_______________________________________________________________________________, + _r________________________________________________________________________________, + _r_________________________________________________________________________________, + _rm___________, + _p________, + _u______________, + _u________________, + _u__________________, + _t_____, + _t______, + _h_________, + _cl_______________, + _cx_______________, + _c_________________________________________________________________________________, + _c__________________________________________________________________________________, + _c___________________________________________________________________________________, + _c____________________________________________________________________________________, + _c_____________________________________________________________________________________, + _c______________________________________________________________________________________, + _c_______________________________________________________________________________________, + _ml_______________, + _mx________________, + _m_________________________________________________________________________________, + _m__________________________________________________________________________________, + _m___________________________________________________________________________________, + _m____________________________________________________________________________________, + _m_____________________________________________________________________________________, + _m______________________________________________________________________________________, + _m_______________________________________________________________________________________, + _ml________________, + _mx_________________, + _m________________________________________________________________________________________, + _m_________________________________________________________________________________________, + _m__________________________________________________________________________________________, + _m___________________________________________________________________________________________, + _m____________________________________________________________________________________________, + _m_____________________________________________________________________________________________, + _m______________________________________________________________________________________________, + _rl______________, + _rx______________, + _r__________________________________________________________________________________, + _r___________________________________________________________________________________, + _r____________________________________________________________________________________, + _r_____________________________________________________________________________________, + _r______________________________________________________________________________________, + _r_______________________________________________________________________________________, + _r________________________________________________________________________________________, + _rl_______________, + _rx_______________, + _r_________________________________________________________________________________________, + _r__________________________________________________________________________________________, + _r___________________________________________________________________________________________, + _r____________________________________________________________________________________________, + _r_____________________________________________________________________________________________, + _r______________________________________________________________________________________________, + _r_______________________________________________________________________________________________, + _cm_____________, + _mm________________, + _ml_________________, + _mx__________________, + _m_______________________________________________________________________________________________, + _m________________________________________________________________________________________________, + _m_________________________________________________________________________________________________, + _m__________________________________________________________________________________________________, + _m___________________________________________________________________________________________________, + _mm_________________, + _rm____________, + _rl________________, + _rx________________, + _r________________________________________________________________________________________________, + _r_________________________________________________________________________________________________, + _r__________________________________________________________________________________________________, + _r___________________________________________________________________________________________________, + _r____________________________________________________________________________________________________, + _rm_____________, + _cm______________, + _mm__________________, + _mm___________________, + _rm______________, + _rm_______________, + _ix_______, + _i____________________________, + _i_____________________________, + _i______________________________, + _t_______, + _il_____, + _ix________, + _i_______________________________, + _i________________________________, + _i_________________________________, + _i__________________________________, + _h__________, + _h___________, + _h____________, + _cm_______________, + _cl________________, + _cx________________, + _c________________________________________________________________________________________, + _c_________________________________________________________________________________________, + _c__________________________________________________________________________________________, + _c___________________________________________________________________________________________, + _c____________________________________________________________________________________________, + _p_________, + _ml__________________, + _mx___________________, + _m____________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________, + _m______________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________, + _m________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________, + _mfl, + _mfx, + _mf__, + _mf____, + _mf______, + _mm____________________, + _ml___________________, + _mx____________________, + _m___________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________, + _mm_____________________, + _h_____________, + _h______________, + _h_______________, + _h________________, + _cm________________, + _cl_________________, + _cx_________________, + _c_____________________________________________________________________________________________, + _c______________________________________________________________________________________________, + _c_______________________________________________________________________________________________, + _c________________________________________________________________________________________________, + _c_________________________________________________________________________________________________, + _mm______________________, + _ml____________________, + _mx_____________________, + _m____________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________, + _rm________________, + _rl_________________, + _rx_________________, + _r_____________________________________________________________________________________________________, + _r______________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________, + _r________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________, + _rm_________________, + _rl__________________, + _rx__________________, + _r__________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________, + _r________________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________________, + _cl__________________, + _cx__________________, + _c__________________________________________________________________________________________________, + _c___________________________________________________________________________________________________, + _c____________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________, + _c______________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________, + _c________________________________________________________________________________________________________, + _mmm, + _rl___________________, + _rx___________________, + _r__________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________, + _cm_________________, + _cl___________________, + _cx___________________, + _c_________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________, + _cm__________________, + _rm__________________, + _rl____________________, + _rx____________________, + _r_________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________, + _d_____________, + _mmm_, + _i___________________________________, + _i____________________________________, + _cm___________________, + _cm____________________, + _mm_________________________, + _mm__________________________, + _rm___________________, + _rm____________________, + _rm_____________________, + _rm______________________, + _cm_____________________, + _mm___________________________, + _rm_______________________, + _gx______, + _g__________________________, + _g___________________________, + _g____________________________, + _g_____________________________, + _g______________________________, + _g_______________________________, + _g________________________________, + _g_________________________________, + _g__________________________________, + _cfl, + _cfx, + _cf__, + _cf____, + _cf______, + _u____________________, + _u______________________, + _u________________________, + _u__________________________, + _u____________________________, + _cm______________________, + _rm________________________, + _rl_____________________, + _rx_____________________, + _r____________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________, + _r________________________________________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________, + _rm_________________________, + _rm__________________________, + _mmm__, + _gx_______, + _g___________________________________, + _g____________________________________, + _g_____________________________________, + _g______________________________________, + _g_______________________________________, + _g________________________________________, + _g_________________________________________, + _cm_______________________, + _cl____________________, + _cx____________________, + _c____________________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________, + _c_________________________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________________________, + _cm________________________, + _cm_________________________, + _mm_____________________________, + _ml_____________________, + _mx______________________, + _m___________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________, + _mm______________________________, + _mm_______________________________, + _xm_____, + _xl_, + _xx____, + _x___________________________, + _x____________________________, + _x_____________________________, + _x______________________________, + _x_______________________________, + _x________________________________, + _x_________________________________, + _xm______, + _xm_______, + _il______, + _ix_________, + _i_____________________________________, + _i______________________________________, + _i_______________________________________, + _i________________________________________, + _i_________________________________________, + _i__________________________________________, + _i___________________________________________, + _il_______, + _ix__________, + _i____________________________________________, + _i_____________________________________________, + _i______________________________________________, + _i_______________________________________________, + _i________________________________________________, + _i_________________________________________________, + _im_____, + _u______________________________, + _u________________________________, + _u__________________________________, + _p__________, + _p___________, + _f____, + _f_____, + _t________, + _cf________, + _cf__________, + _mf________, + _mf__________, + _im______, + _im_______, + _i_____________________________________________________, + _cm__________________________, + _cl_____________________, + _cx_____________________, + _c_____________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________________, + _c_________________________________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________________________________, + _cm___________________________, + _cm____________________________, + _il________, + _ix___________, + _i______________________________________________________, + _i_______________________________________________________, + _i________________________________________________________, + _i_________________________________________________________, + _i__________________________________________________________, + _i___________________________________________________________, + _i____________________________________________________________, + _im________, + _im_________, + _pb, + _mm________________________________, + _ml______________________, + _mx_______________________, + _m____________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________, + _mm_________________________________, + _mm__________________________________, + _rm___________________________, + _rl______________________, + _rx______________________, + _r_____________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________, + _r________________________________________________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________, + _rm____________________________, + _rm_____________________________, + _cm_____________________________, + _cl______________________, + _cx______________________, + _c______________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________________________, + _c_________________________________________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________________________________________, + _cm______________________________, + _cm_______________________________, + _f______, + _pg__, + _gl, + _gx________, + _g__________________________________________, + _g___________________________________________, + _g____________________________________________, + _p____________, + _rl_______________________, + _rx_______________________, + _r______________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________, + _r________________________________________________________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________, + _rm______________________________, + _rm_______________________________, + _rfl, + _rfx, + _rf__, + _rf____, + _rf______, + _rf________, + _rf__________, + _ml_______________________, + _mx________________________, + _m_____________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________, + _mm___________________________________, + _mm____________________________________, + _mfl_, + _mfx_, + _mf______________, + _mf________________, + _mf__________________, + _mf____________________, + _mf______________________, + _il_________, + _ix____________, + _i_______________________________________________________________, + _i________________________________________________________________, + _i_________________________________________________________________, + _i__________________________________________________________________, + _i___________________________________________________________________, + _i____________________________________________________________________, + _i_____________________________________________________________________, + _im__________, + _im___________, + _mmm___, + _mmm____, + _rm________________________________, + _rl________________________, + _rx________________________, + _r_________________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________, + _rm_________________________________, + _rm__________________________________, + _cl_______________________, + _cx_______________________, + _c_______________________________________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________________________________, + _c_________________________________________________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________________________, + _cm________________________________, + _cm_________________________________, + _cfl_, + _cfx_, + _cf______________, + _cf________________, + _cf__________________, + _cf____________________, + _cf______________________, + _rm___________________________________, + _rl_________________________, + _rx_________________________, + _r__________________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________, + _rm____________________________________, + _mm_______________________________________, + _ml________________________, + _mx_________________________, + _m________________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________, + _mm________________________________________, + _mm_________________________________________, + _t_________, + _rm_____________________________________, + _rl__________________________, + _rx__________________________, + _r_________________________________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________________, + _rm______________________________________, + _rm_______________________________________, + _pb__, + _cm__________________________________, + _cl________________________, + _cx________________________, + _c__________________________________________________________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________________________________________________, + _cm___________________________________, + _cm____________________________________, + _c___________________________________________________________________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________________________________________________________, + _cl_________________________, + _cm_____________________________________, + _cm______________________________________, + _cx_________________________, + _c__________________________________________________________________________________________________________________________________________________________________________, + _cm_______________________________________, + _m_________________________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________, + _ml_________________________, + _mm__________________________________________, + _mx__________________________, + _m_______________________________________________________________________________________________________________________________________________________________________, + _mm___________________________________________, + _mm____________________________________________, + _m__________________________________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________________________________________, + _ml__________________________, + _mm_____________________________________________, + _mx___________________________, + _mm______________________________________________, + _mm_______________________________________________, + _x____________________________________, + _x_____________________________________, + _x______________________________________, + _x_______________________________________, + _xl__, + _xm________, + _xm_________, + _xx_____, + _mm________________________________________________, + _ml___________________________, + _mx____________________________, + _m___________________________________________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________________, + _mm_________________________________________________, + _mm__________________________________________________, + _xl___, + _xx______, + _x__________________________________________, + _x___________________________________________, + _x____________________________________________, + _x_____________________________________________, + _x______________________________________________, + _x_______________________________________________, + _x________________________________________________, + _x_________________________________________________, + _x__________________________________________________, + _x___________________________________________________, + _xm__________, + _xm___________, + _mmm_____, + _g_____________________________________________, + _g______________________________________________, + _g_______________________________________________, + _g________________________________________________, + _g_________________________________________________, + _g__________________________________________________, + _rl___________________________, + _rx___________________________, + _r__________________________________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________________________, + _r________________________________________________________________________________________________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________________________________________________, + _rm________________________________________, + _rm_________________________________________, + _cl__________________________, + _cx__________________________, + _c____________________________________________________________________________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________________________________________________________________, + _c_________________________________________________________________________________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________________________________________________________________________________, + _cm________________________________________, + _cm_________________________________________, + _ml____________________________, + _mx_____________________________, + _m_________________________________________________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________________________________________________________, + _mm____________________________________________________, + _mm_____________________________________________________, + _h_________________, + _cl___________________________, + _cx___________________________, + _c_______________________________________________________________________________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________________________________________________________________________, + _c_________________________________________________________________________________________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________________________________________________________________, + _cm__________________________________________, + _cm___________________________________________, + _cl____________________________, + _cx____________________________, + _c__________________________________________________________________________________________________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________________________________________________________________________________________, + _c_________________________________________________________________________________________________________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________________________________________________________________________________________________________, + _cm____________________________________________, + _cm_____________________________________________, + _rl____________________________, + _rx____________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________________________________, + _r________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________________________________________, + _rl_____________________________, + _rx_____________________________, + _r______________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________________________________________, + _r________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________________________________________________________, + _ml_____________________________, + _mx______________________________, + _m____________________________________________________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________________________________________________________________, + _ml______________________________, + _mx_______________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________, + _ml_______________________________, + _mx________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _cl_____________________________, + _cx_____________________________, + _c_____________________________________________________________________________________________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________________________________________________________________________________, + _c________________________________________________________________________________________________________________________________________________________________________________________________________________, + _ml________________________________, + _mx_________________________________, + _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _rl______________________________, + _rx______________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _ml_________________________________, + _mx__________________________________, + _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _rl_______________________________, + _rx_______________________________, + _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _mmm______, + _ml__________________________________, + _mx___________________________________, + _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _mm_______________________________________________________, + _mm________________________________________________________, + _ml___________________________________, + _mx____________________________________, + _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _mm_________________________________________________________, + _mm__________________________________________________________, + _rm__________________________________________, + _rm___________________________________________, + _rm____________________________________________, + _rm_____________________________________________, + _rm______________________________________________, + _rm_______________________________________________, + _rm________________________________________________, + _rm_________________________________________________, + _mm___________________________________________________________, + _mm____________________________________________________________, + _mm_____________________________________________________________, + _mm______________________________________________________________, + _mm_______________________________________________________________, + _mm________________________________________________________________, + _mm_________________________________________________________________, + _mm__________________________________________________________________, + _g___________________________________________________, + _g____________________________________________________, + _g_____________________________________________________, + _g______________________________________________________, + _g_______________________________________________________, + _g________________________________________________________, + _cm______________________________________________, + _cl______________________________, + _cx______________________________, + _c_________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________________________________________________________________________________________, + _cm_______________________________________________, + _cm________________________________________________, + _cl_______________________________, + _cx_______________________________, + _c_________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c__________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c___________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c____________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c_____________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c______________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _c_______________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _cm_________________________________________________, + _rm__________________________________________________, + _rl________________________________, + _rx________________________________, + _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _rm___________________________________________________, + _rm____________________________________________________, + _rl_________________________________, + _rx_________________________________, + _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _rm_____________________________________________________, + _mm___________________________________________________________________, + _tn____, + _tm_________, + _ts______, + _tm__________, + _im____________, + _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________, + _rm______________________________________________________, + _mm____________________________________________________________________, + _t__________, + ), + ( + (-1, {_sV: _ame}), + (-1, {_sV: _ala}), + (-1, {_sV: _axl}), + (-1, {_sV: _axla}), + (-1, {_sV: _axlar}), + (-1, {_sV: _amet}), + (-1, {_sV: _cme}), + (-1, {_sV: _cxl}), + (-1, {_sV: _cla}), + (-1, {_sV: _cxla}), + (-1, {_sV: _cxlar}), + (-1, {_sV: _cxlarg}), + (-1, {_sV: _cxlarge}), + (-1, {_sV: _clar}), + (-1, {_sV: _cxlarge_}), + (-1, {_sV: _cxlarge__}), + (-1, {_sV: _cxlarge___}), + (-1, {_sV: _cxlarge____}), + (-1, {_sV: _clarg}), + (-1, {_sV: _cxlarge_____}), + (-1, {_sV: _cxlarge______}), + (-1, {_sV: _cxlarge_______}), + (-1, {_sV: _cxlarge________}), + (-1, {_sV: _cxlarge_________}), + (-1, {_sV: _cxlarge__________}), + (-1, {_sV: _cxlarge___________}), + (-1, {_sV: _cmet}), + (-1, {_sV: _cal}), + (-1, {_sV: _cax}), + (-1, {_sV: _caxl}), + (-1, {_sV: _caxla}), + (-1, {_sV: _caxlar}), + (-1, {_sV: _caxlarg}), + (-1, {_sV: _caxlarge}), + (-1, {_sV: _caxlarge_}), + (-1, {_sV: _cad}), + (-1, {_sV: _cadx}), + (-1, {_sV: _cadxl}), + (-1, {_sV: _cadxla}), + (-1, {_sV: _cadxlar}), + (-1, {_sV: _cadxlarg}), + (-1, {_sV: _cadxlarge}), + (-1, {_sV: _cadxlarge_}), + (-1, {_sV: _cd}), + (-1, {_sV: _cdx}), + (-1, {_sV: _cdxl}), + (-1, {_sV: _cdxla}), + (-1, {_sV: _cdxlar}), + (-1, {_sV: _cdxlarg}), + (-1, {_sV: _cdxlarge}), + (-1, {_sV: _cdxlarge_}), + (-1, {_sV: _cdm}), + (-1, {_sV: _cn}), + (-1, {_sV: _cnx}), + (-1, {_sV: _cnxl}), + (-1, {_sV: _cnxla}), + (-1, {_sV: _cnxlar}), + (-1, {_sV: _cnxlarg}), + (-1, {_sV: _cnm}), + (-1, {_sV: _cgm}), + (-1, {_sV: _cgl}), + (-1, {_sV: _cgx}), + (-1, {_sV: _cgxl}), + (-1, {_sV: _cgxla}), + (-1, {_sV: _cgxlar}), + (-1, {_sV: _cgxlarg}), + (-1, {_sV: _cgxlarge}), + (-1, {_sV: _cgme}), + (-1, {_sV: _cgd}), + (-1, {_sV: _cgdl}), + (-1, {_sV: _cgdx}), + (-1, {_sV: _cgdxl}), + (-1, {_sV: _cgdxla}), + (-1, {_sV: _cgdxlar}), + (-1, {_sV: _cgdxlarg}), + (-1, {_sV: _cgdxlarge}), + (-1, {_sV: _cgdm}), + (-1, {_sV: _cgn}), + (-1, {_sV: _cgnl}), + (-1, {_sV: _cgnx}), + (-1, {_sV: _cgnxl}), + (-1, {_sV: _cgnxla}), + (-1, {_sV: _cgnxlar}), + (-1, {_sV: _cgnxlarg}), + (-1, {_sV: _cgnxlarge}), + (-1, {_sV: _cil}), + (-1, {_sV: _cix}), + (-1, {_sV: _cixl}), + (-1, {_sV: _cixla}), + (-1, {_sV: _cixlar}), + (-1, {_sV: _cixlarg}), + (-1, {_sV: _cixlarge}), + (-1, {_sV: _cixlarge_}), + (-1, {_sV: _cixlarge__}), + (-1, {_sV: _cim}), + (-1, {_sV: _cc}), + (-1, {_sV: _ccx}), + (-1, {_sV: _cgxlarge_}), + (-1, {_sV: _crx}), + (-1, {_sV: _dxl}), + (-1, {_sV: _dxla}), + (-1, {_sV: _dxlar}), + (-1, {_sV: _dxlarg}), + (-1, {_sV: _dxlarge}), + (-1, {_sV: _dxlarge_}), + (-1, {_sV: _dxlarge__}), + (-1, {_sV: _dxlarge___}), + (-1, {_sV: _den}), + (-1, {_sV: _denx}), + (-1, {_sV: _denxl}), + (-1, {_sV: _denxla}), + (-1, {_sV: _denxlar}), + (-1, {_sV: _denxlarg}), + (-1, {_sV: _dl}), + (-1, {_sV: _fx}), + (-1, {_sV: _fxl}), + (-1, {_sV: _fxla}), + (-1, {_sV: _gx}), + (-1, {_sV: _gxl}), + (-1, {_sV: _gxla}), + (-1, {_sV: _gxlar}), + (-1, {_sV: _gxlarg}), + (-1, {_sV: _gs}), + (-1, {_sV: _ga}), + (-1, {_sV: _gad}), + (-1, {_sV: _gadx}), + (-1, {_sV: _gadxl}), + (-1, {_sV: _gadxla}), + (-1, {_sV: _gd}), + (-1, {_sV: _gdn}), + (-1, {_sV: _gdnx}), + (-1, {_sV: _gdnxl}), + (-1, {_sV: _gdnxla}), + (-1, {_sV: _gdnxlar}), + (-1, {_sV: _gdnm}), + (-1, {_sV: _gxlarge}), + (-1, {_sV: _gxlarge_}), + (-1, {_sV: _gxlarge__}), + (-1, {_sV: _gxlarge___}), + (-1, {_sV: _gxlarge____}), + (-1, {_sV: _gxlarge_____}), + (-1, {_sV: _gxlarge______}), + (-1, {_sV: _gxlarge_______}), + (-1, {_sV: _gg}), + (-1, {_sV: _ggx}), + (-1, {_sV: _ggxl}), + (-1, {_sV: _ggxla}), + (-1, {_sV: _ggxlar}), + (-1, {_sV: _ggm}), + (-1, {_sV: _hi}), + (-1, {_sV: _hp}), + (-1, {_sV: _hs}), + (-1, {_sV: _hx}), + (-1, {_sV: _hxl}), + (-1, {_sV: _hxla}), + (-1, {_sV: _hxlar}), + (-1, {_sV: _ixl}), + (-1, {_sV: _ixla}), + (-1, {_sV: _ixlar}), + (-1, {_sV: _ixlarg}), + (-1, {_sV: _ila}), + (-1, {_sV: _ixlarge}), + (-1, {_sV: _ixlarge_}), + (-1, {_sV: _ixlarge__}), + (-1, {_sV: _ixlarge___}), + (-1, {_sV: _ixlarge____}), + (-1, {_sV: _ime}), + (-1, {_sV: _ien}), + (-1, {_sV: _ienx}), + (-1, {_sV: _ienxl}), + (-1, {_sV: _ienxla}), + (-1, {_sV: _ienxlar}), + (-1, {_sV: _ienxlarg}), + (-1, {_sV: _ienxlarge}), + (-1, {_sV: _ienm}), + (-1, {_sV: _img}), + (-1, {_sV: _imgn}), + (-1, {_sV: _imgnx}), + (-1, {_sV: _imgnxl}), + (-1, {_sV: _imgnxla}), + (-1, {_sV: _imgnxlar}), + (-1, {_sV: _infx}), + (-1, {_sV: _infxl}), + (-1, {_sV: _infxla}), + (-1, {_sV: _infxlar}), + (-1, {_sV: _isg}), + (-1, {_sV: _isge}), + (-1, {_sV: _isgen}), + (-1, {_sV: _isgenx}), + (-1, {_sV: _isgenxl}), + (-1, {_sV: _isgenxla}), + (-1, {_sV: _msm}), + (-1, {_sV: _mme}), + (-1, {_sV: _mla}), + (-1, {_sV: _mxl}), + (-1, {_sV: _mxla}), + (-1, {_sV: _mxlar}), + (-1, {_sV: _mxlarg}), + (-1, {_sV: _mmed}), + (-1, {_sV: _mlar}), + (-1, {_sV: _mxlarge}), + (-1, {_sV: _mxlarge_}), + (-1, {_sV: _mlarg}), + (-1, {_sV: _mxlarge__}), + (-1, {_sV: _mxlarge___}), + (-1, {_sV: _mxlarge____}), + (-1, {_sV: _mxlarge_____}), + (-1, {_sV: _mxlarge______}), + (-1, {_sV: _mlarge}), + (-1, {_sV: _mxlarge_______}), + (-1, {_sV: _mxlarge________}), + (-1, {_sV: _mxlarge_________}), + (-1, {_sV: _mxlarge__________}), + (-1, {_sV: _mxlarge___________}), + (-1, {_sV: _mxlarge____________}), + (-1, {_sV: _mxlarge_____________}), + (-1, {_sV: _mmet}), + (-1, {_sV: _mal}), + (-1, {_sV: _max}), + (-1, {_sV: _maxl}), + (-1, {_sV: _maxla}), + (-1, {_sV: _maxlar}), + (-1, {_sV: _maxlarg}), + (-1, {_sV: _maxlarge}), + (-1, {_sV: _maxlarge_}), + (-1, {_sV: _mad}), + (-1, {_sV: _madx}), + (-1, {_sV: _madxl}), + (-1, {_sV: _madxla}), + (-1, {_sV: _madxlar}), + (-1, {_sV: _madxlarg}), + (-1, {_sV: _madxlarge}), + (-1, {_sV: _madxlarge_}), + (-1, {_sV: _md}), + (-1, {_sV: _mdx}), + (-1, {_sV: _mdxl}), + (-1, {_sV: _mdxla}), + (-1, {_sV: _mdxlar}), + (-1, {_sV: _mdxlarg}), + (-1, {_sV: _mdxlarge}), + (-1, {_sV: _mdxlarge_}), + (-1, {_sV: _mdm}), + (-1, {_sV: _mdn}), + (-1, {_sV: _mdnx}), + (-1, {_sV: _mdnxl}), + (-1, {_sV: _mdnxla}), + (-1, {_sV: _mdnxlar}), + (-1, {_sV: _mdnxlarg}), + (-1, {_sV: _mdnxlarge}), + (-1, {_sV: _mdnxlarge_}), + (-1, {_sV: _mdnm}), + (-1, {_sV: _mn}), + (-1, {_sV: _mnx}), + (-1, {_sV: _mnxl}), + (-1, {_sV: _mnxla}), + (-1, {_sV: _mnxlar}), + (-1, {_sV: _mnxlarg}), + (-1, {_sV: _mnxlarge}), + (-1, {_sV: _mnxlarge_}), + (-1, {_sV: _mnm}), + (-1, {_sV: _mz}), + (-1, {_sV: _mzn}), + (-1, {_sV: _mznx}), + (-1, {_sV: _mznxl}), + (-1, {_sV: _mznxla}), + (-1, {_sV: _mznxlar}), + (-1, {_sV: _mznm}), + (-1, {_sV: _mala}), + (-1, {_sV: _maxlarge__}), + (-1, {_sV: _maxlarge___}), + (-1, {_sV: _maxlarge____}), + (-1, {_sV: _maxlarge_____}), + (-1, {_sV: _maxlarge______}), + (-1, {_sV: _maxlarge_______}), + (-1, {_sV: _maxlarge________}), + (-1, {_sV: _maxlarge_________}), + (-1, {_sV: _maxlarge__________}), + (-1, {_sV: _mg}), + (-1, {_sV: _mgm}), + (-1, {_sV: _mgl}), + (-1, {_sV: _mgx}), + (-1, {_sV: _mgxl}), + (-1, {_sV: _mgxla}), + (-1, {_sV: _mgxlar}), + (-1, {_sV: _mgxlarg}), + (-1, {_sV: _mgxlarge}), + (-1, {_sV: _mgd}), + (-1, {_sV: _mgdm}), + (-1, {_sV: _mgdl}), + (-1, {_sV: _mgdx}), + (-1, {_sV: _mgdxl}), + (-1, {_sV: _mgdxla}), + (-1, {_sV: _mgdxlar}), + (-1, {_sV: _mgdxlarg}), + (-1, {_sV: _mgdxlarge}), + (-1, {_sV: _mi}), + (-1, {_sV: _mix}), + (-1, {_sV: _mixl}), + (-1, {_sV: _mixla}), + (-1, {_sV: _mixlar}), + (-1, {_sV: _mixlarg}), + (-1, {_sV: _mixlarge}), + (-1, {_sV: _mixlarge_}), + (-1, {_sV: _mixlarge__}), + (-1, {_sV: _mim}), + (-1, {_sV: _mac}), + (-1, {_sV: _pxl}), + (-1, {_sV: _pxla}), + (-1, {_sV: _pxlar}), + (-1, {_sV: _pxlarg}), + (-1, {_sV: _pxlarge}), + (-1, {_sV: _pxlarge_}), + (-1, {_sV: _pdn}), + (-1, {_sV: _pdx}), + (-1, {_sV: _rla}), + (-1, {_sV: _rxl}), + (-1, {_sV: _rxla}), + (-1, {_sV: _rxlar}), + (-1, {_sV: _rxlarg}), + (-1, {_sV: _rlar}), + (-1, {_sV: _rxlarge}), + (-1, {_sV: _rxlarge_}), + (-1, {_sV: _rxlarge__}), + (-1, {_sV: _rxlarge___}), + (-1, {_sV: _rxlarge____}), + (-1, {_sV: _rlarg}), + (-1, {_sV: _rxlarge_____}), + (-1, {_sV: _rxlarge______}), + (-1, {_sV: _rxlarge_______}), + (-1, {_sV: _rxlarge________}), + (-1, {_sV: _rxlarge_________}), + (-1, {_sV: _rxlarge__________}), + (-1, {_sV: _rxlarge___________}), + (-1, {_sV: _rme}), + (-1, {_sV: _ra}), + (-1, {_sV: _rax}), + (-1, {_sV: _raxl}), + (-1, {_sV: _raxla}), + (-1, {_sV: _raxlar}), + (-1, {_sV: _raxlarg}), + (-1, {_sV: _raxlarge}), + (-1, {_sV: _raxlarge_}), + (-1, {_sV: _rad}), + (-1, {_sV: _radx}), + (-1, {_sV: _radxl}), + (-1, {_sV: _radxla}), + (-1, {_sV: _radxlar}), + (-1, {_sV: _radxlarg}), + (-1, {_sV: _radxlarge}), + (-1, {_sV: _radxlarge_}), + (-1, {_sV: _rb}), + (-1, {_sV: _rbx}), + (-1, {_sV: _rbxl}), + (-1, {_sV: _rbxla}), + (-1, {_sV: _rbxlar}), + (-1, {_sV: _rbxlarg}), + (-1, {_sV: _rbxlarge}), + (-1, {_sV: _rbxlarge_}), + (-1, {_sV: _rbm}), + (-1, {_sV: _rdl}), + (-1, {_sV: _rdx}), + (-1, {_sV: _rdxl}), + (-1, {_sV: _rdxla}), + (-1, {_sV: _rdxlar}), + (-1, {_sV: _rdxlarg}), + (-1, {_sV: _rdxlarge}), + (-1, {_sV: _rdxlarge_}), + (-1, {_sV: _rdm}), + (-1, {_sV: _rdn}), + (-1, {_sV: _rdnx}), + (-1, {_sV: _rdnxl}), + (-1, {_sV: _rdnxla}), + (-1, {_sV: _rdnxlar}), + (-1, {_sV: _rdnxlarg}), + (-1, {_sV: _rdnxlarge}), + (-1, {_sV: _rdnxlarge_}), + (-1, {_sV: _rdnm}), + (-1, {_sV: _rnl}), + (-1, {_sV: _rnx}), + (-1, {_sV: _rnxl}), + (-1, {_sV: _rnxla}), + (-1, {_sV: _rnxlar}), + (-1, {_sV: _rnxlarg}), + (-1, {_sV: _rnxlarge}), + (-1, {_sV: _rnxlarge_}), + (-1, {_sV: _rnm}), + (-1, {_sV: _rg}), + (-1, {_sV: _rgl}), + (-1, {_sV: _rgx}), + (-1, {_sV: _rgxl}), + (-1, {_sV: _rgxla}), + (-1, {_sV: _rgxlar}), + (-1, {_sV: _rgxlarg}), + (-1, {_sV: _rgxlarge}), + (-1, {_sV: _rgm}), + (-1, {_sV: _rgd}), + (-1, {_sV: _rgdl}), + (-1, {_sV: _rgdx}), + (-1, {_sV: _rgdxl}), + (-1, {_sV: _rgdxla}), + (-1, {_sV: _rgdxlar}), + (-1, {_sV: _rgdxlarg}), + (-1, {_sV: _rgdxlarge}), + (-1, {_sV: _rgdm}), + (-1, {_sV: _ril}), + (-1, {_sV: _rix}), + (-1, {_sV: _rixl}), + (-1, {_sV: _rixla}), + (-1, {_sV: _rixlar}), + (-1, {_sV: _rixlarg}), + (-1, {_sV: _rixlarge}), + (-1, {_sV: _rixlarge_}), + (-1, {_sV: _rixlarge__}), + (-1, {_sV: _rim}), + (-1, {_sV: _tmi}), + (-1, {_sV: _tna}), + (-1, {_sV: _tmic}), + (-1, {_sV: _tsm}), + (-1, {_sV: _tme}), + (-1, {_sV: _tla}), + (-1, {_sV: _txl}), + (-1, {_sV: _txla}), + (-1, {_sV: _tnan}), + (-1, {_sV: _tmicr}), + (-1, {_sV: _tsma}), + (-1, {_sV: _tmed}), + (-1, {_sV: _tlar}), + (-1, {_sV: _txlar}), + (-1, {_sV: _txlarg}), + (-1, {_sV: _tan}), + (-1, {_sV: _tam}), + (-1, {_sV: _tas}), + (-1, {_sV: _tame}), + (-1, {_sV: _tal}), + (-1, {_sV: _tax}), + (-1, {_sV: _taxl}), + (-1, {_sV: _tgn}), + (-1, {_sV: _tgm}), + (-1, {_sV: _tgs}), + (-1, {_sV: _tgme}), + (-1, {_sV: _tgl}), + (-1, {_sV: _tgx}), + (-1, {_sV: _tgxl}), + (-1, {_sV: _u__}), + (-1, {_sV: _u____}), + (-1, {_sV: _u______}), + (-1, {_sV: _u________}), + (-1, {_sV: _u_________}), + (-1, {_sV: _u__________}), + (-1, {_sV: _u___________}), + (-1, {_sV: _u____________}), + (-1, {_sV: _u_____________}), + (-1, {_sV: _vt}), + (-1, {_sV: _vtx}), + (-1, {_sV: _vtxl}), + (-1, {_sV: _xx}), + (-1, {_sV: _xxl}), + (-1, {_sV: _xe}), + (-1, {_sV: _xex}), + (-1, {_sV: _xexl}), + (-1, {_sV: _xexla}), + (-1, {_sV: _xexlar}), + (-1, {_sV: _xexlarg}), + (-1, {_sV: _xi}), + (-1, {_sV: _xie}), + (-1, {_sV: _xiez}), + (-1, {_sV: _xiezn}), + (-1, {_sV: _xieznx}), + (-1, {_sV: _xieznm}), + (-1, {_sV: _xg}), + (-1, {_sV: _xgd}), + (-1, {_sV: _xgdx}), + (-1, {_sV: _xgdxl}), + (-1, {_sV: _xgdxla}), + (-1, {_sV: _xgdxlar}), + (-1, {_sV: _xgdxlarg}), + (-1, {_sV: _xgdxlarge}), + (-1, {_sV: _xgdm}), + (-1, {_sV: _z}), + (-1, {_sV: _zd}), + (-1, {_sV: _zdx}), + (-1, {_sV: _zdxl}), + (-1, {_sV: _zdxla}), + (-1, {_sV: _zdxlar}), + (-1, {_sV: _zdm}), + (-1, {_sV: _xid}), + (-1, {_sV: _xidn}), + (-1, {_sV: _xidnx}), + (-1, {_sV: _xied}), + (-1, {_sV: _xiedn}), + (-1, {_sV: _xiednx}), + (-1, {_sV: _xiednxl}), + (-1, {_sV: _xiednxla}), + (-1, {_sV: _xiednxlar}), + (-1, {_sV: _xiednxlarg}), + (-1, {_sV: _cala}), + (-1, {_sV: _caxlarge__}), + (-1, {_sV: _caxlarge___}), + (-1, {_sV: _caxlarge____}), + (-1, {_sV: _caxlarge_____}), + (-1, {_sV: _caxlarge______}), + (-1, {_sV: _caxlarge_______}), + (-1, {_sV: _caxlarge________}), + (-1, {_sV: _caxlarge_________}), + (-1, {_sV: _caxlarge__________}), + (-1, {_sV: _cam}), + (-1, {_sV: _mam}), + (-1, {_sV: _ii}), + (-1, {_sV: _iix}), + (-1, {_sV: _iixl}), + (-1, {_sV: _iixla}), + (-1, {_sV: _iixlar}), + (-1, {_sV: _iixlarg}), + (-1, {_sV: _iixlarge}), + (-1, {_sV: _iim}), + (-1, {_sV: _xidnm}), + (-1, {_sV: _xiednm}), + (-1, {_sV: _cgmed}), + (-1, {_sV: _cgla}), + (-1, {_sV: _cgxlarge__}), + (-1, {_sV: _cgxlarge___}), + (-1, {_sV: _cgxlarge____}), + (-1, {_sV: _cgxlarge_____}), + (-1, {_sV: _cgxlarge______}), + (-1, {_sV: _cgxlarge_______}), + (-1, {_sV: _macm}), + (-1, {_sV: _cid}), + (-1, {_sV: _cidx}), + (-1, {_sV: _cidxl}), + (-1, {_sV: _cidxla}), + (-1, {_sV: _cidxlar}), + (-1, {_sV: _cidxlarg}), + (-1, {_sV: _cidxlarge}), + (-1, {_sV: _cidxlarge_}), + (-1, {_sV: _cidxlarge__}), + (-1, {_sV: _cidm}), + (-1, {_sV: _mid}), + (-1, {_sV: _midx}), + (-1, {_sV: _midxl}), + (-1, {_sV: _midxla}), + (-1, {_sV: _midxlar}), + (-1, {_sV: _midxlarg}), + (-1, {_sV: _midxlarge}), + (-1, {_sV: _midxlarge_}), + (-1, {_sV: _midxlarge__}), + (-1, {_sV: _midm}), + (-1, {_sV: _rid}), + (-1, {_sV: _ridx}), + (-1, {_sV: _ridxl}), + (-1, {_sV: _ridxla}), + (-1, {_sV: _ridxlar}), + (-1, {_sV: _ridxlarg}), + (-1, {_sV: _ridxlarge}), + (-1, {_sV: _ridxlarge_}), + (-1, {_sV: _ridxlarge__}), + (-1, {_sV: _ridm}), + (-1, {_sV: _ral}), + (-1, {_sV: _raxlarge__}), + (-1, {_sV: _raxlarge___}), + (-1, {_sV: _raxlarge____}), + (-1, {_sV: _raxlarge_____}), + (-1, {_sV: _raxlarge______}), + (-1, {_sV: _raxlarge_______}), + (-1, {_sV: _raxlarge________}), + (-1, {_sV: _raxlarge_________}), + (-1, {_sV: _raxlarge__________}), + (-1, {_sV: _ram}), + (-1, {_sV: _pde}), + (-1, {_sV: _u_______________}), + (-1, {_sV: _u_________________}), + (-1, {_sV: _u___________________}), + (-1, {_sV: _trn}), + (-1, {_sV: _trnx}), + (-1, {_sV: _hpc}), + (-1, {_sV: _cin}), + (-1, {_sV: _cinx}), + (-1, {_sV: _cinxl}), + (-1, {_sV: _cinxla}), + (-1, {_sV: _cinxlar}), + (-1, {_sV: _cinxlarg}), + (-1, {_sV: _cinxlarge}), + (-1, {_sV: _cinxlarge_}), + (-1, {_sV: _cinxlarge__}), + (-1, {_sV: _min}), + (-1, {_sV: _minx}), + (-1, {_sV: _minxl}), + (-1, {_sV: _minxla}), + (-1, {_sV: _minxlar}), + (-1, {_sV: _minxlarg}), + (-1, {_sV: _minxlarge}), + (-1, {_sV: _minxlarge_}), + (-1, {_sV: _minxlarge__}), + (-1, {_sV: _midn}), + (-1, {_sV: _midnx}), + (-1, {_sV: _midnxl}), + (-1, {_sV: _midnxla}), + (-1, {_sV: _midnxlar}), + (-1, {_sV: _midnxlarg}), + (-1, {_sV: _midnxlarge}), + (-1, {_sV: _midnxlarge_}), + (-1, {_sV: _midnxlarge__}), + (-1, {_sV: _rin}), + (-1, {_sV: _rinx}), + (-1, {_sV: _rinxl}), + (-1, {_sV: _rinxla}), + (-1, {_sV: _rinxlar}), + (-1, {_sV: _rinxlarg}), + (-1, {_sV: _rinxlarge}), + (-1, {_sV: _rinxlarge_}), + (-1, {_sV: _rinxlarge__}), + (-1, {_sV: _ridn}), + (-1, {_sV: _ridnx}), + (-1, {_sV: _ridnxl}), + (-1, {_sV: _ridnxla}), + (-1, {_sV: _ridnxlar}), + (-1, {_sV: _ridnxlarg}), + (-1, {_sV: _ridnxlarge}), + (-1, {_sV: _ridnxlarge_}), + (-1, {_sV: _ridnxlarge__}), + (-1, {_sV: _cgmet}), + (-1, {_sV: _mgme}), + (-1, {_sV: _mgla}), + (-1, {_sV: _mgxlarge_}), + (-1, {_sV: _mgxlarge__}), + (-1, {_sV: _mgxlarge___}), + (-1, {_sV: _mgxlarge____}), + (-1, {_sV: _mgxlarge_____}), + (-1, {_sV: _mgxlarge______}), + (-1, {_sV: _mgmet}), + (-1, {_sV: _rgme}), + (-1, {_sV: _rgla}), + (-1, {_sV: _rgxlarge_}), + (-1, {_sV: _rgxlarge__}), + (-1, {_sV: _rgxlarge___}), + (-1, {_sV: _rgxlarge____}), + (-1, {_sV: _rgxlarge_____}), + (-1, {_sV: _rgxlarge______}), + (-1, {_sV: _rgmet}), + (-1, {_sV: _cinm}), + (-1, {_sV: _minm}), + (-1, {_sV: _midnm}), + (-1, {_sV: _rinm}), + (-1, {_sV: _ridnm}), + (-1, {_sV: _infxlarg}), + (-1, {_sV: _infxlarge}), + (-1, {_sV: _infxlarge_}), + (-1, {_sV: _infxlarge__}), + (-1, {_sV: _trnn}), + (-1, {_sV: _igl}), + (-1, {_sV: _igx}), + (-1, {_sV: _igxl}), + (-1, {_sV: _igxla}), + (-1, {_sV: _igxlar}), + (-1, {_sV: _igxlarg}), + (-1, {_sV: _hpcg}), + (-1, {_sV: _hpcgx}), + (-1, {_sV: _hpcgxl}), + (-1, {_sV: _cgnm}), + (-1, {_sV: _cgnla}), + (-1, {_sV: _cgnxlarge_}), + (-1, {_sV: _cgnxlarge__}), + (-1, {_sV: _cgnxlarge___}), + (-1, {_sV: _cgnxlarge____}), + (-1, {_sV: _cgnxlarge_____}), + (-1, {_sV: _cgnxlarge______}), + (-1, {_sV: _pxlarge__}), + (-1, {_sV: _mil}), + (-1, {_sV: _mixlarge___}), + (-1, {_sV: _mixlarge____}), + (-1, {_sV: _mixlarge_____}), + (-1, {_sV: _mixlarge______}), + (-1, {_sV: _mixlarge_______}), + (-1, {_sV: _mixlarge________}), + (-1, {_sV: _mixlarge_________}), + (-1, {_sV: _mixlarge__________}), + (-1, {_sV: _mf}), + (-1, {_sV: _mf_}), + (-1, {_sV: _mf___}), + (-1, {_sV: _mf_____}), + (-1, {_sV: _mf_______}), + (-1, {_sV: _mame}), + (-1, {_sV: _malar}), + (-1, {_sV: _maxlarge___________}), + (-1, {_sV: _maxlarge____________}), + (-1, {_sV: _maxlarge_____________}), + (-1, {_sV: _maxlarge______________}), + (-1, {_sV: _maxlarge_______________}), + (-1, {_sV: _maxlarge________________}), + (-1, {_sV: _maxlarge_________________}), + (-1, {_sV: _maxlarge__________________}), + (-1, {_sV: _maxlarge___________________}), + ( + -1, + { + _sV: _m___________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _hpca}), + (-1, {_sV: _hpcax}), + (-1, {_sV: _hpcaxl}), + (-1, {_sV: _hpcaxla}), + (-1, {_sV: _cgdme}), + (-1, {_sV: _cgdla}), + (-1, {_sV: _cgdxlarge_}), + (-1, {_sV: _cgdxlarge__}), + (-1, {_sV: _cgdxlarge___}), + (-1, {_sV: _cgdxlarge____}), + (-1, {_sV: _cgdxlarge_____}), + (-1, {_sV: _cgdxlarge______}), + (-1, {_sV: _mgdme}), + (-1, {_sV: _mgdla}), + (-1, {_sV: _mgdxlarge_}), + (-1, {_sV: _mgdxlarge__}), + (-1, {_sV: _mgdxlarge___}), + (-1, {_sV: _mgdxlarge____}), + (-1, {_sV: _mgdxlarge_____}), + (-1, {_sV: _mgdxlarge______}), + (-1, {_sV: _rgdme}), + (-1, {_sV: _rgdla}), + (-1, {_sV: _rgdxlarge_}), + (-1, {_sV: _rgdxlarge__}), + (-1, {_sV: _rgdxlarge___}), + (-1, {_sV: _rgdxlarge____}), + (-1, {_sV: _rgdxlarge_____}), + (-1, {_sV: _rgdxlarge______}), + (-1, {_sV: _rame}), + (-1, {_sV: _rala}), + (-1, {_sV: _raxlarge___________}), + (-1, {_sV: _raxlarge____________}), + (-1, {_sV: _raxlarge_____________}), + (-1, {_sV: _raxlarge______________}), + (-1, {_sV: _raxlarge_______________}), + (-1, {_sV: _raxlarge________________}), + (-1, {_sV: _raxlarge_________________}), + (-1, {_sV: _raxlarge__________________}), + (-1, {_sV: _raxlarge___________________}), + (-1, {_sV: _cila}), + (-1, {_sV: _cixlarge___}), + (-1, {_sV: _cixlarge____}), + (-1, {_sV: _cixlarge_____}), + (-1, {_sV: _cixlarge______}), + (-1, {_sV: _cixlarge_______}), + (-1, {_sV: _cixlarge________}), + (-1, {_sV: _cixlarge_________}), + (-1, {_sV: _cixlarge__________}), + (-1, {_sV: _mm_______________________}), + (-1, {_sV: _riz}), + (-1, {_sV: _rizx}), + (-1, {_sV: _rizxl}), + (-1, {_sV: _rizxla}), + (-1, {_sV: _rizxlar}), + (-1, {_sV: _rizxlarg}), + (-1, {_sV: _rizxlarge}), + (-1, {_sV: _rizxlarge_}), + (-1, {_sV: _came}), + (-1, {_sV: _calar}), + (-1, {_sV: _caxlarge___________}), + (-1, {_sV: _caxlarge____________}), + (-1, {_sV: _caxlarge_____________}), + (-1, {_sV: _caxlarge______________}), + (-1, {_sV: _caxlarge_______________}), + (-1, {_sV: _caxlarge________________}), + (-1, {_sV: _caxlarge_________________}), + (-1, {_sV: _caxlarge__________________}), + (-1, {_sV: _caxlarge___________________}), + ( + -1, + { + _sV: _c_________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _rila}), + (-1, {_sV: _rixlarge___}), + (-1, {_sV: _rixlarge____}), + (-1, {_sV: _rixlarge_____}), + (-1, {_sV: _rixlarge______}), + (-1, {_sV: _rixlarge_______}), + (-1, {_sV: _rixlarge________}), + (-1, {_sV: _rixlarge_________}), + (-1, {_sV: _rixlarge__________}), + (-1, {_sV: _dlq}), + (-1, {_sV: _mm________________________}), + (-1, {_sV: _iixlarge_}), + (-1, {_sV: _iixlarge__}), + ( + -1, + { + _sV: _c__________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _c___________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m_________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m__________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r_________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r__________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r___________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _cgdmet}), + (-1, {_sV: _mgdmet}), + (-1, {_sV: _rgdmet}), + (-1, {_sV: _gxlarge________}), + (-1, {_sV: _gxlarge_________}), + (-1, {_sV: _gxlarge__________}), + (-1, {_sV: _gxlarge___________}), + (-1, {_sV: _gxlarge____________}), + (-1, {_sV: _gxlarge_____________}), + (-1, {_sV: _gxlarge______________}), + (-1, {_sV: _gxlarge_______________}), + (-1, {_sV: _grx}), + (-1, {_sV: _grxl}), + (-1, {_sV: _cf}), + (-1, {_sV: _cf_}), + (-1, {_sV: _cf___}), + (-1, {_sV: _cf_____}), + (-1, {_sV: _cf_______}), + (-1, {_sV: _u_____________________}), + (-1, {_sV: _u_______________________}), + (-1, {_sV: _u_________________________}), + (-1, {_sV: _u___________________________}), + (-1, {_sV: _u_____________________________}), + (-1, {_sV: _cgnme}), + (-1, {_sV: _rgmed}), + (-1, {_sV: _rglar}), + (-1, {_sV: _rgxlarge_______}), + (-1, {_sV: _rgxlarge________}), + (-1, {_sV: _rgxlarge_________}), + (-1, {_sV: _rgxlarge__________}), + (-1, {_sV: _rgxlarge___________}), + (-1, {_sV: _rgxlarge____________}), + (-1, {_sV: _rgxlarge_____________}), + (-1, {_sV: _rgxlarge______________}), + ( + -1, + { + _sV: _r___________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r____________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _mm____________________________}), + (-1, {_sV: _ge}), + (-1, {_sV: _gex}), + (-1, {_sV: _gexl}), + (-1, {_sV: _gexla}), + (-1, {_sV: _gexlar}), + (-1, {_sV: _gexlarg}), + (-1, {_sV: _gexlarge}), + (-1, {_sV: _gexlarge_}), + (-1, {_sV: _cgmedi}), + (-1, {_sV: _cglar}), + (-1, {_sV: _cgxlarge________}), + (-1, {_sV: _cgxlarge_________}), + (-1, {_sV: _cgxlarge__________}), + (-1, {_sV: _cgxlarge___________}), + (-1, {_sV: _cgxlarge____________}), + (-1, {_sV: _cgxlarge_____________}), + (-1, {_sV: _cgxlarge______________}), + (-1, {_sV: _cgxlarge_______________}), + ( + -1, + { + _sV: _c___________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _c____________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _mgmed}), + (-1, {_sV: _mglar}), + (-1, {_sV: _mgxlarge_______}), + (-1, {_sV: _mgxlarge________}), + (-1, {_sV: _mgxlarge_________}), + (-1, {_sV: _mgxlarge__________}), + (-1, {_sV: _mgxlarge___________}), + (-1, {_sV: _mgxlarge____________}), + (-1, {_sV: _mgxlarge_____________}), + (-1, {_sV: _mgxlarge______________}), + ( + -1, + { + _sV: _m__________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m___________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _xgm}), + (-1, {_sV: _xgl}), + (-1, {_sV: _xgx}), + (-1, {_sV: _xgxl}), + (-1, {_sV: _xgxla}), + (-1, {_sV: _xgxlar}), + (-1, {_sV: _xgxlarg}), + (-1, {_sV: _xgxlarge}), + (-1, {_sV: _xgxlarge_}), + (-1, {_sV: _xgxlarge__}), + (-1, {_sV: _x__________________________________}), + (-1, {_sV: _x___________________________________}), + (-1, {_sV: _iie}), + (-1, {_sV: _iiex}), + (-1, {_sV: _iiexl}), + (-1, {_sV: _iiexla}), + (-1, {_sV: _iiexlar}), + (-1, {_sV: _iiexlarg}), + (-1, {_sV: _iiexlarge}), + (-1, {_sV: _iiexlarge_}), + (-1, {_sV: _iiexlarge__}), + (-1, {_sV: _igla}), + (-1, {_sV: _igxlarge}), + (-1, {_sV: _igxlarge_}), + (-1, {_sV: _igxlarge__}), + (-1, {_sV: _igxlarge___}), + (-1, {_sV: _igxlarge____}), + (-1, {_sV: _igxlarge_____}), + (-1, {_sV: _igxlarge______}), + (-1, {_sV: _i__________________________________________________}), + (-1, {_sV: _u_______________________________}), + (-1, {_sV: _u_________________________________}), + (-1, {_sV: _u___________________________________}), + (-1, {_sV: _pex}), + (-1, {_sV: _pen}), + (-1, {_sV: _fxlar}), + (-1, {_sV: _fxlarg}), + (-1, {_sV: _trnxl}), + (-1, {_sV: _cf_________}), + (-1, {_sV: _cf___________}), + (-1, {_sV: _mf_________}), + (-1, {_sV: _mf___________}), + (-1, {_sV: _i___________________________________________________}), + (-1, {_sV: _i____________________________________________________}), + (-1, {_sV: _igxlarge_______}), + (-1, {_sV: _cgdmed}), + (-1, {_sV: _cgdlar}), + (-1, {_sV: _cgdxlarge_______}), + (-1, {_sV: _cgdxlarge________}), + (-1, {_sV: _cgdxlarge_________}), + (-1, {_sV: _cgdxlarge__________}), + (-1, {_sV: _cgdxlarge___________}), + (-1, {_sV: _cgdxlarge____________}), + (-1, {_sV: _cgdxlarge_____________}), + (-1, {_sV: _cgdxlarge______________}), + ( + -1, + { + _sV: _c____________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _c_____________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _iil}), + (-1, {_sV: _iixlarge___}), + (-1, {_sV: _iixlarge____}), + (-1, {_sV: _iixlarge_____}), + (-1, {_sV: _iixlarge______}), + (-1, {_sV: _iixlarge_______}), + (-1, {_sV: _iixlarge________}), + (-1, {_sV: _iixlarge_________}), + (-1, {_sV: _iixlarge__________}), + (-1, {_sV: _i_____________________________________________________________}), + (-1, {_sV: _i______________________________________________________________}), + (-1, {_sV: _pb_}), + (-1, {_sV: _mgdmed}), + (-1, {_sV: _mgdlar}), + (-1, {_sV: _mgdxlarge_______}), + (-1, {_sV: _mgdxlarge________}), + (-1, {_sV: _mgdxlarge_________}), + (-1, {_sV: _mgdxlarge__________}), + (-1, {_sV: _mgdxlarge___________}), + (-1, {_sV: _mgdxlarge____________}), + (-1, {_sV: _mgdxlarge_____________}), + (-1, {_sV: _mgdxlarge______________}), + ( + -1, + { + _sV: _m___________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m____________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _rgdmed}), + (-1, {_sV: _rgdlar}), + (-1, {_sV: _rgdxlarge_______}), + (-1, {_sV: _rgdxlarge________}), + (-1, {_sV: _rgdxlarge_________}), + (-1, {_sV: _rgdxlarge__________}), + (-1, {_sV: _rgdxlarge___________}), + (-1, {_sV: _rgdxlarge____________}), + (-1, {_sV: _rgdxlarge_____________}), + (-1, {_sV: _rgdxlarge______________}), + ( + -1, + { + _sV: _r____________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r_____________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _cgnmed}), + (-1, {_sV: _cgnlar}), + (-1, {_sV: _cgnxlarge_______}), + (-1, {_sV: _cgnxlarge________}), + (-1, {_sV: _cgnxlarge_________}), + (-1, {_sV: _cgnxlarge__________}), + (-1, {_sV: _cgnxlarge___________}), + (-1, {_sV: _cgnxlarge____________}), + (-1, {_sV: _cgnxlarge_____________}), + (-1, {_sV: _cgnxlarge______________}), + ( + -1, + { + _sV: _c_____________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _c______________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _fxlarge}), + (-1, {_sV: _pg___}), + (-1, {_sV: _gf}), + (-1, {_sV: _gfx}), + (-1, {_sV: _gfxl}), + (-1, {_sV: _gfxla}), + (-1, {_sV: _grf}), + (-1, {_sV: _pxlarge___}), + (-1, {_sV: _rilar}), + (-1, {_sV: _rixlarge___________}), + (-1, {_sV: _rixlarge____________}), + (-1, {_sV: _rixlarge_____________}), + (-1, {_sV: _rixlarge______________}), + (-1, {_sV: _rixlarge_______________}), + (-1, {_sV: _rixlarge________________}), + (-1, {_sV: _rixlarge_________________}), + (-1, {_sV: _rixlarge__________________}), + (-1, {_sV: _rixlarge___________________}), + (-1, {_sV: _rixlarge____________________}), + ( + -1, + { + _sV: _r_______________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _rf}), + (-1, {_sV: _rf_}), + (-1, {_sV: _rf___}), + (-1, {_sV: _rf_____}), + (-1, {_sV: _rf_______}), + (-1, {_sV: _rf_________}), + (-1, {_sV: _rf___________}), + (-1, {_sV: _mila}), + (-1, {_sV: _mixlarge___________}), + (-1, {_sV: _mixlarge____________}), + (-1, {_sV: _mixlarge_____________}), + (-1, {_sV: _mixlarge______________}), + (-1, {_sV: _mixlarge_______________}), + (-1, {_sV: _mixlarge________________}), + (-1, {_sV: _mixlarge_________________}), + (-1, {_sV: _mixlarge__________________}), + (-1, {_sV: _mixlarge___________________}), + (-1, {_sV: _mixlarge____________________}), + ( + -1, + { + _sV: _m______________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m_______________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _mf____________}), + (-1, {_sV: _mf_____________}), + (-1, {_sV: _mf_______________}), + (-1, {_sV: _mf_________________}), + (-1, {_sV: _mf___________________}), + (-1, {_sV: _mf_____________________}), + (-1, {_sV: _mf_______________________}), + (-1, {_sV: _ige}), + (-1, {_sV: _igex}), + (-1, {_sV: _igexl}), + (-1, {_sV: _igexla}), + (-1, {_sV: _igexlar}), + (-1, {_sV: _igexlarg}), + (-1, {_sV: _igexlarge}), + (-1, {_sV: _igexlarge_}), + (-1, {_sV: _igexlarge__}), + ( + -1, + { + _sV: _i______________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _i_______________________________________________________________________ + }, + ), + (-1, {_sV: _mm_____________________________________}), + (-1, {_sV: _mm______________________________________}), + (-1, {_sV: _rgn}), + (-1, {_sV: _rgnl}), + (-1, {_sV: _rgnx}), + (-1, {_sV: _rgnxl}), + (-1, {_sV: _rgnxla}), + (-1, {_sV: _rgnxlar}), + (-1, {_sV: _rgnxlarg}), + (-1, {_sV: _rgnxlarge}), + (-1, {_sV: _rgnxlarge_}), + (-1, {_sV: _rgnxlarge__}), + ( + -1, + { + _sV: _r________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r_________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _cilar}), + (-1, {_sV: _cixlarge___________}), + (-1, {_sV: _cixlarge____________}), + (-1, {_sV: _cixlarge_____________}), + (-1, {_sV: _cixlarge______________}), + (-1, {_sV: _cixlarge_______________}), + (-1, {_sV: _cixlarge________________}), + (-1, {_sV: _cixlarge_________________}), + (-1, {_sV: _cixlarge__________________}), + (-1, {_sV: _cixlarge___________________}), + (-1, {_sV: _cixlarge____________________}), + ( + -1, + { + _sV: _c________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _c_________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _cf____________}), + (-1, {_sV: _cf_____________}), + (-1, {_sV: _cf_______________}), + (-1, {_sV: _cf_________________}), + (-1, {_sV: _cf___________________}), + (-1, {_sV: _cf_____________________}), + (-1, {_sV: _cf_______________________}), + (-1, {_sV: _rgb}), + (-1, {_sV: _rgbl}), + (-1, {_sV: _rgbx}), + (-1, {_sV: _rgbxl}), + (-1, {_sV: _rgbxla}), + (-1, {_sV: _rgbxlar}), + (-1, {_sV: _rgbxlarg}), + (-1, {_sV: _rgbxlarge}), + (-1, {_sV: _rgbxlarge_}), + ( + -1, + { + _sV: _r________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _mamed}), + (-1, {_sV: _malarg}), + (-1, {_sV: _maxlarge____________________}), + (-1, {_sV: _maxlarge_____________________}), + (-1, {_sV: _maxlarge______________________}), + (-1, {_sV: _maxlarge_______________________}), + (-1, {_sV: _maxlarge________________________}), + (-1, {_sV: _maxlarge_________________________}), + (-1, {_sV: _maxlarge__________________________}), + (-1, {_sV: _maxlarge___________________________}), + ( + -1, + { + _sV: _m_______________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _trnxla}), + (-1, {_sV: _ramed}), + (-1, {_sV: _ralar}), + (-1, {_sV: _raxlarge____________________}), + (-1, {_sV: _raxlarge_____________________}), + (-1, {_sV: _raxlarge______________________}), + (-1, {_sV: _raxlarge_______________________}), + (-1, {_sV: _raxlarge________________________}), + (-1, {_sV: _raxlarge_________________________}), + (-1, {_sV: _raxlarge__________________________}), + (-1, {_sV: _raxlarge___________________________}), + ( + -1, + { + _sV: _r________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r_________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _pb___}), + (-1, {_sV: _camed}), + (-1, {_sV: _calarg}), + (-1, {_sV: _caxlarge____________________}), + (-1, {_sV: _caxlarge_____________________}), + (-1, {_sV: _caxlarge______________________}), + (-1, {_sV: _caxlarge_______________________}), + (-1, {_sV: _caxlarge________________________}), + (-1, {_sV: _caxlarge_________________________}), + (-1, {_sV: _caxlarge__________________________}), + (-1, {_sV: _caxlarge___________________________}), + ( + -1, + { + _sV: _c_________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _c__________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _cgb}), + (-1, {_sV: _cgbx}), + (-1, {_sV: _cgbxl}), + (-1, {_sV: _cgbxla}), + (-1, {_sV: _cgbxlar}), + (-1, {_sV: _cgbxlarg}), + (-1, {_sV: _cgbl}), + (-1, {_sV: _cgbm}), + ( + -1, + { + _sV: _c_________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _cgbxlarge}), + (-1, {_sV: _cgbxlarge_}), + ( + -1, + { + _sV: _c___________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _mgb}), + (-1, {_sV: _mgbx}), + (-1, {_sV: _mgbxl}), + (-1, {_sV: _mgbxla}), + (-1, {_sV: _mgbxlar}), + (-1, {_sV: _mgbxlarg}), + (-1, {_sV: _mgbl}), + (-1, {_sV: _mgbm}), + (-1, {_sV: _mgbxlarge}), + (-1, {_sV: _mgbxlarge_}), + ( + -1, + { + _sV: _m________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m_________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _mgn}), + (-1, {_sV: _mgnx}), + (-1, {_sV: _mgnxl}), + (-1, {_sV: _mgnxla}), + (-1, {_sV: _mgnxlar}), + (-1, {_sV: _mgnxlarg}), + (-1, {_sV: _mgnxlarge}), + (-1, {_sV: _mgnl}), + (-1, {_sV: _mgnm}), + (-1, {_sV: _mgnxlarge_}), + ( + -1, + { + _sV: _m_________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m__________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _xa}), + (-1, {_sV: _xae}), + (-1, {_sV: _xaed}), + (-1, {_sV: _xaedz}), + (-1, {_sV: _xaedzl}), + (-1, {_sV: _x________________________________________}), + (-1, {_sV: _x_________________________________________}), + (-1, {_sV: _xaedzx}), + (-1, {_sV: _maz}), + (-1, {_sV: _mazn}), + (-1, {_sV: _maznx}), + (-1, {_sV: _maznxl}), + (-1, {_sV: _maznxla}), + (-1, {_sV: _maznxlar}), + (-1, {_sV: _maznxlarg}), + ( + -1, + { + _sV: _m_______________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _xil}), + (-1, {_sV: _xix}), + (-1, {_sV: _xixl}), + (-1, {_sV: _xixla}), + (-1, {_sV: _xixlar}), + (-1, {_sV: _xixlarg}), + (-1, {_sV: _xixlarge}), + (-1, {_sV: _xixlarge_}), + (-1, {_sV: _xixlarge__}), + (-1, {_sV: _xixlarge___}), + (-1, {_sV: _xixlarge____}), + (-1, {_sV: _xixlarge_____}), + (-1, {_sV: _x____________________________________________________}), + (-1, {_sV: _x_____________________________________________________}), + (-1, {_sV: _mm___________________________________________________}), + (-1, {_sV: _gexlarge__}), + (-1, {_sV: _gexlarge___}), + (-1, {_sV: _gexlarge____}), + (-1, {_sV: _gexlarge_____}), + (-1, {_sV: _gexlarge______}), + (-1, {_sV: _gexlarge_______}), + (-1, {_sV: _ridl}), + (-1, {_sV: _ridxlarge___}), + (-1, {_sV: _ridxlarge____}), + (-1, {_sV: _ridxlarge_____}), + (-1, {_sV: _ridxlarge______}), + (-1, {_sV: _ridxlarge_______}), + (-1, {_sV: _ridxlarge________}), + (-1, {_sV: _ridxlarge_________}), + (-1, {_sV: _ridxlarge__________}), + (-1, {_sV: _ridxlarge___________}), + (-1, {_sV: _ridxlarge____________}), + ( + -1, + { + _sV: _r___________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r____________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _cidl}), + (-1, {_sV: _cidxlarge___}), + (-1, {_sV: _cidxlarge____}), + (-1, {_sV: _cidxlarge_____}), + (-1, {_sV: _cidxlarge______}), + (-1, {_sV: _cidxlarge_______}), + (-1, {_sV: _cidxlarge________}), + (-1, {_sV: _cidxlarge_________}), + (-1, {_sV: _cidxlarge__________}), + (-1, {_sV: _cidxlarge___________}), + (-1, {_sV: _cidxlarge____________}), + ( + -1, + { + _sV: _c_____________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _c______________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _midl}), + (-1, {_sV: _midxlarge___}), + (-1, {_sV: _midxlarge____}), + (-1, {_sV: _midxlarge_____}), + (-1, {_sV: _midxlarge______}), + (-1, {_sV: _midxlarge_______}), + (-1, {_sV: _midxlarge________}), + (-1, {_sV: _midxlarge_________}), + (-1, {_sV: _midxlarge__________}), + (-1, {_sV: _midxlarge___________}), + (-1, {_sV: _midxlarge____________}), + ( + -1, + { + _sV: _m__________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m___________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _hpcaxlar}), + (-1, {_sV: _cinl}), + (-1, {_sV: _cinxlarge___}), + (-1, {_sV: _cinxlarge____}), + (-1, {_sV: _cinxlarge_____}), + (-1, {_sV: _cinxlarge______}), + (-1, {_sV: _cinxlarge_______}), + (-1, {_sV: _cinxlarge________}), + (-1, {_sV: _cinxlarge_________}), + (-1, {_sV: _cinxlarge__________}), + (-1, {_sV: _cinxlarge___________}), + (-1, {_sV: _cinxlarge____________}), + ( + -1, + { + _sV: _c________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _c_________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _cib}), + (-1, {_sV: _cibx}), + (-1, {_sV: _cibxl}), + (-1, {_sV: _cibxla}), + (-1, {_sV: _cibxlar}), + (-1, {_sV: _cibxlarg}), + (-1, {_sV: _cibxlarge}), + (-1, {_sV: _cibxlarge_}), + (-1, {_sV: _cibxlarge__}), + (-1, {_sV: _cibxlarge___}), + (-1, {_sV: _cibxlarge____}), + ( + -1, + { + _sV: _c___________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _c____________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _rinl}), + (-1, {_sV: _rinxlarge___}), + (-1, {_sV: _rinxlarge____}), + (-1, {_sV: _rinxlarge_____}), + (-1, {_sV: _rinxlarge______}), + (-1, {_sV: _rinxlarge_______}), + (-1, {_sV: _rinxlarge________}), + (-1, {_sV: _rinxlarge_________}), + (-1, {_sV: _rinxlarge__________}), + (-1, {_sV: _rinxlarge___________}), + (-1, {_sV: _rinxlarge____________}), + (-1, {_sV: _rib}), + (-1, {_sV: _ribx}), + (-1, {_sV: _ribxl}), + (-1, {_sV: _ribxla}), + (-1, {_sV: _ribxlar}), + (-1, {_sV: _ribxlarg}), + (-1, {_sV: _ribxlarge}), + (-1, {_sV: _ribxlarge_}), + (-1, {_sV: _ribxlarge__}), + (-1, {_sV: _ribxlarge___}), + (-1, {_sV: _ribxlarge____}), + (-1, {_sV: _minl}), + (-1, {_sV: _minxlarge___}), + (-1, {_sV: _minxlarge____}), + (-1, {_sV: _minxlarge_____}), + (-1, {_sV: _minxlarge______}), + (-1, {_sV: _minxlarge_______}), + (-1, {_sV: _minxlarge________}), + (-1, {_sV: _minxlarge_________}), + (-1, {_sV: _minxlarge__________}), + (-1, {_sV: _minxlarge___________}), + (-1, {_sV: _minxlarge____________}), + (-1, {_sV: _mib}), + (-1, {_sV: _mibx}), + (-1, {_sV: _mibxl}), + (-1, {_sV: _mibxla}), + (-1, {_sV: _mibxlar}), + (-1, {_sV: _mibxlarg}), + (-1, {_sV: _mibxlarge}), + (-1, {_sV: _mibxlarge_}), + (-1, {_sV: _mibxlarge__}), + (-1, {_sV: _mibxlarge___}), + (-1, {_sV: _mibxlarge____}), + (-1, {_sV: _mine}), + (-1, {_sV: _minex}), + (-1, {_sV: _minexl}), + (-1, {_sV: _minexla}), + (-1, {_sV: _minexlar}), + (-1, {_sV: _minexlarg}), + (-1, {_sV: _cine}), + (-1, {_sV: _cinex}), + (-1, {_sV: _cinexl}), + (-1, {_sV: _cinexla}), + (-1, {_sV: _cinexlar}), + (-1, {_sV: _cinexlarg}), + (-1, {_sV: _midnl}), + (-1, {_sV: _midnxlarge___}), + (-1, {_sV: _midnxlarge____}), + (-1, {_sV: _midnxlarge_____}), + (-1, {_sV: _midnxlarge______}), + (-1, {_sV: _midnxlarge_______}), + (-1, {_sV: _midnxlarge________}), + (-1, {_sV: _midnxlarge_________}), + (-1, {_sV: _midnxlarge__________}), + (-1, {_sV: _midnxlarge___________}), + (-1, {_sV: _midnxlarge____________}), + (-1, {_sV: _ridnl}), + (-1, {_sV: _ridnxlarge___}), + (-1, {_sV: _ridnxlarge____}), + (-1, {_sV: _ridnxlarge_____}), + (-1, {_sV: _ridnxlarge______}), + (-1, {_sV: _ridnxlarge_______}), + (-1, {_sV: _ridnxlarge________}), + (-1, {_sV: _ridnxlarge_________}), + (-1, {_sV: _ridnxlarge__________}), + (-1, {_sV: _ridnxlarge___________}), + (-1, {_sV: _ridnxlarge____________}), + (-1, {_sV: _midb}), + (-1, {_sV: _midbx}), + (-1, {_sV: _midbxl}), + (-1, {_sV: _midbxla}), + (-1, {_sV: _midbxlar}), + (-1, {_sV: _midbxlarg}), + (-1, {_sV: _midbxlarge}), + (-1, {_sV: _midbxlarge_}), + (-1, {_sV: _midbxlarge__}), + (-1, {_sV: _midbxlarge___}), + (-1, {_sV: _midbxlarge____}), + (-1, {_sV: _ridb}), + (-1, {_sV: _ridbx}), + (-1, {_sV: _ridbxl}), + (-1, {_sV: _ridbxla}), + (-1, {_sV: _ridbxlar}), + (-1, {_sV: _ridbxlarg}), + (-1, {_sV: _ridbxlarge}), + (-1, {_sV: _ridbxlarge_}), + (-1, {_sV: _ridbxlarge__}), + (-1, {_sV: _ridbxlarge___}), + (-1, {_sV: _ridbxlarge____}), + (-1, {_sV: _mm______________________________________________________}), + (-1, {_sV: _mglarg}), + (-1, {_sV: _mgxlarge_______________}), + (-1, {_sV: _mgxlarge________________}), + (-1, {_sV: _mgxlarge_________________}), + (-1, {_sV: _mgxlarge__________________}), + (-1, {_sV: _mgxlarge___________________}), + (-1, {_sV: _mgxlarge____________________}), + (-1, {_sV: _mgxlarge_____________________}), + (-1, {_sV: _mgxlarge______________________}), + ( + -1, + { + _sV: _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _mgdlarg}), + (-1, {_sV: _mgdxlarge_______________}), + (-1, {_sV: _mgdxlarge________________}), + (-1, {_sV: _mgdxlarge_________________}), + (-1, {_sV: _mgdxlarge__________________}), + (-1, {_sV: _mgdxlarge___________________}), + (-1, {_sV: _mgdxlarge____________________}), + (-1, {_sV: _mgdxlarge_____________________}), + (-1, {_sV: _mgdxlarge______________________}), + ( + -1, + { + _sV: _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + ( + -1, + { + _sV: _m_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _gxlarge________________}), + (-1, {_sV: _gxlarge_________________}), + (-1, {_sV: _gxlarge__________________}), + (-1, {_sV: _gxlarge___________________}), + (-1, {_sV: _gxlarge____________________}), + (-1, {_sV: _gxlarge_____________________}), + (-1, {_sV: _cgmediu}), + (-1, {_sV: _cglarg}), + (-1, {_sV: _cgxlarge________________}), + (-1, {_sV: _cgxlarge_________________}), + (-1, {_sV: _cgxlarge__________________}), + (-1, {_sV: _cgxlarge___________________}), + (-1, {_sV: _cgxlarge____________________}), + (-1, {_sV: _cgxlarge_____________________}), + (-1, {_sV: _cgxlarge______________________}), + (-1, {_sV: _cgxlarge_______________________}), + ( + -1, + { + _sV: _c________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _cgdmedi}), + (-1, {_sV: _cgdlarg}), + (-1, {_sV: _cgdxlarge_______________}), + (-1, {_sV: _cgdxlarge________________}), + (-1, {_sV: _cgdxlarge_________________}), + (-1, {_sV: _cgdxlarge__________________}), + (-1, {_sV: _cgdxlarge___________________}), + (-1, {_sV: _cgdxlarge____________________}), + (-1, {_sV: _cgdxlarge_____________________}), + (-1, {_sV: _cgdxlarge______________________}), + ( + -1, + { + _sV: _c________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _rgmedi}), + (-1, {_sV: _rglarg}), + (-1, {_sV: _rgxlarge_______________}), + (-1, {_sV: _rgxlarge________________}), + (-1, {_sV: _rgxlarge_________________}), + (-1, {_sV: _rgxlarge__________________}), + (-1, {_sV: _rgxlarge___________________}), + (-1, {_sV: _rgxlarge____________________}), + (-1, {_sV: _rgxlarge_____________________}), + (-1, {_sV: _rgxlarge______________________}), + ( + -1, + { + _sV: _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _rgdmedi}), + (-1, {_sV: _rgdlarg}), + (-1, {_sV: _rgdxlarge_______________}), + (-1, {_sV: _rgdxlarge________________}), + (-1, {_sV: _rgdxlarge_________________}), + (-1, {_sV: _rgdxlarge__________________}), + (-1, {_sV: _rgdxlarge___________________}), + (-1, {_sV: _rgdxlarge____________________}), + (-1, {_sV: _rgdxlarge_____________________}), + (-1, {_sV: _rgdxlarge______________________}), + ( + -1, + { + _sV: _r________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _mgmedi}), + (-1, {_sV: _tin}), + (-1, {_sV: _timi}), + (-1, {_sV: _tis}), + (-1, {_sV: _time}), + ( + -1, + { + _sV: _i________________________________________________________________________ + }, + ), + (-1, {_sV: _rgbxlarge__}), + ( + -1, + { + _sV: _r__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ + }, + ), + (-1, {_sV: _mgdmedi}), + (-1, {_sV: _trnu}), + ), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_8.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_8.py new file mode 100644 index 000000000..03f2dd47a --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_8.py @@ -0,0 +1,1480 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_me = "member" +_i = "item" +_su = "subnet" +_vp = "vpc" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_p = "pending" +_d = "disabled" +_PI = "PublicIp" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_CVEI = "ClientVpnEndpointId" +_av = "available" +_de = "deleting" +_del = "deleted" +_TGI = "TransitGatewayId" +_cVEI = "clientVpnEndpointId" +_St = "State" +_st = "state" +_fa = "failed" +_SIu = "SubnetId" +_sI = "subnetId" +_OIw = "OwnerId" +_oI = "ownerId" +_e = "enable" +_disa = "disable" +_C = "Code" +_co = "code" +_Me = "Message" +_mes = "message" +_Sta = "Status" +_sta = "status" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_dRr = "dryRun" +_CB = "CidrBlock" +_cB = "cidrBlock" +_act = "active" +_Ci = "Cidr" +_ci = "cidr" +_IA = "IpAddress" +_Pr = "Priority" +_pri = "priority" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_II = "InstanceId" +_CGI = "CarrierGatewayId" +_cGI = "carrierGatewayId" +_SGI = "SecurityGroupId" +_AZv = "AvailabilityZones" +_AZIv = "AvailabilityZoneIds" +_CG = "CustomerGateway" +_cG = "customerGateway" +_IG = "InternetGateway" +_iG = "internetGateway" +_NG = "NatGateway" +_nG = "natGateway" +_Sub = "Subnet" +_Vp = "Vpc" +_tc = "tcp" +_ud = "udp" +_ena = "enabled" +_EOIG = "EgressOnlyInternetGateway" +_eOIG = "egressOnlyInternetGateway" +_VPG = "VirtualPrivateGateway" +_vPG = "virtualPrivateGateway" +_VP = "VpcPeering" +_vP = "vpcPeering" +_La = "Lambda" +_la = "lambda" +_VL = "VpcLattice" +_vL = "vpcLattice" +_EFS = "ElasticFileSystem" +_eFS = "elasticFileSystem" +_Mo = "Mode" +_mod = "mode" +_IT = "InstanceType" +_iT = "instanceType" +_Des = "Description" +_COIP = "CustomerOwnedIpv4Pool" +_cOIP = "customerOwnedIpv4Pool" +_ipv = "ipv4" +_ipv_ = "ipv6" +_PIo = "PoolId" +_pIo = "poolId" +_def = "default" +_of = "off" +_OA = "OutpostArn" +_CTl = "ClientToken" +_sT = "smithy.api#idempotencyToken" +_ASll = "AllocationStrategy" +_SGIe = "SecurityGroupIds" +_DOI = "DhcpOptionsId" +_CAe = "CertificateArn" +_cre = "creating" +_ID = "IsDefault" +_iD = "isDefault" +_j = "jamf" +_cro = "crowdstrike" +_ju = "jumpcloud" +_TPT = "TrustProviderType" +_TI = "TenantId" +_PSKU = "PublicSigningKeyUrl" +_smith = "smithy.api#sensitive" +_SMta = "StateMessage" +_sMta = "stateMessage" +_CRFI = "CapacityReservationFleetId" +_cRFI = "capacityReservationFleetId" +_CD = "CreateDate" +_cD = "createDate" +_oA = "outpostArn" +_CTr = "CreateTime" +_cTr = "createTime" +_IMC = "InstanceMatchCriteria" +_IPns = "InstancePlatform" +_Ten = "Tenancy" +_EO = "EbsOptimized" +_ED = "EndDate" +_eD = "endDate" +_unav = "unavailable" +_cRI = "capacityReservationId" +_iPns = "instancePlatform" +_ten = "tenancy" +_TICo = "TotalInstanceCount" +_tICo = "totalInstanceCount" +_eO = "ebsOptimized" +_iMC = "instanceMatchCriteria" +_IWC = "IntegerWithConstraints" +_DWC = "DoubleWithConstraints" +_RFIS = "ReservationFleetInstanceSpecification" +_We = "Weight" +_RFISL = "ReservationFleetInstanceSpecificationList" +_FCRT = "FleetCapacityReservationTenancy" +_CCRFIr = "CreateCapacityReservationFleetInput" +_cCCRFRom = "com.amazonaws.ec2#CreateCapacityReservationFleetRequest" +_ITS = "InstanceTypeSpecifications" +_ITSn = "InstanceTypeSpecification" +_IRn = "InstanceRequirements" +_TTC = "TotalTargetCapacity" +_FCR = "FleetCapacityReservation" +_FCu = "FulfilledCapacity" +_fC = "fulfilledCapacity" +_we = "weight" +_FCRS = "FleetCapacityReservationSet" +_CCRFOr = "CreateCapacityReservationFleetOutput" +_cCCRFRoma = "com.amazonaws.ec2#CreateCapacityReservationFleetResult" +_tTC = "totalTargetCapacity" +_TFC = "TotalFulfilledCapacity" +_tFC = "totalFulfilledCapacity" +_aSl = "allocationStrategy" +_FCRl = "FleetCapacityReservations" +_fCRS = "fleetCapacityReservationSet" +_CCRFr = "CreateCapacityReservationFleet" +_CCGI = "CreateCarrierGatewayInput" +_cCCGR = "com.amazonaws.ec2#CreateCarrierGatewayRequest" +_CGS = "CarrierGatewayState" +_CGa = "CarrierGateway" +_CCGO = "CreateCarrierGatewayOutput" +_cCCGRo = "com.amazonaws.ec2#CreateCarrierGatewayResult" +_cGa = "carrierGateway" +_CCG = "CreateCarrierGateway" +_DSAR = "DirectoryServiceAuthenticationRequest" +_DIi = "DirectoryId" +_FAR = "FederatedAuthenticationRequest" +_SAMLPA = "SAMLProviderArn" +_SSSAMLPA = "SelfServiceSAMLProviderArn" +_CAR = "CertificateAuthenticationRequest" +_CRCCA = "ClientRootCertificateChainArn" +_CVAT = "ClientVpnAuthenticationType" +_ca_ = "certificate_authentication" +_ca__ = "certificate-authentication" +_dsa = "directory_service_authentication" +_dsa_ = "directory-service-authentication" +_fa___ = "federated_authentication" +_fa____ = "federated-authentication" +_CVAR = "ClientVpnAuthenticationRequest" +_Ty = "Type" +_ADc = "ActiveDirectory" +_MA = "MutualAuthentication" +_FA = "FederatedAuthentication" +_CVARL = "ClientVpnAuthenticationRequestList" +_CCO = "ClientConnectOptions" +_Ena = "Enabled" +_LFA = "LambdaFunctionArn" +_CLBO = "ClientLoginBannerOptions" +_BTa = "BannerText" +_CREO = "ClientRouteEnforcementOptions" +_Enf = "Enforced" +_CLO = "ConnectionLogOptions" +_CLG = "CloudwatchLogGroup" +_CLS = "CloudwatchLogStream" +_IAPC = "IncludeAuthorizationPolicyContext" +_CVDTPT = "ClientVpnDeviceTrustProviderType" +_CVTPR = "ClientVpnTrustProviderRequest" +_CVTPRL = "ClientVpnTrustProviderRequestList" +_DPO = "DevicePostureOptions" +_TPr = "TrustProviders" +_TPru = "TrustProvider" +_EIAT = "EndpointIpAddressType" +_ds__ = "dual_stack" +_ds___ = "dual-stack" +_SSP = "SelfServicePortal" +_TIAT = "TrafficIpAddressType" +_CVAZIS = "ClientVpnAvailabilityZoneIdSet" +_CVAZS = "ClientVpnAvailabilityZoneSet" +_TGCIS = "TransitGatewayConfigurationInputStructure" +_TPra = "TransportProtocol" +_CCVEI = "CreateClientVpnEndpointInput" +_cCCVER = "com.amazonaws.ec2#CreateClientVpnEndpointRequest" +_CCB = "ClientCidrBlock" +_SCA = "ServerCertificateArn" +_AO = "AuthenticationOptions" +_Au = "Authentication" +_DSn = "DnsServers" +_VPp = "VpnPort" +_STp = "SplitTunnel" +_STH = "SessionTimeoutHours" +_DOST = "DisconnectOnSessionTimeout" +_TGC = "TransitGatewayConfiguration" +_CVESC = "ClientVpnEndpointStatusCode" +_pa______ = "pending_associate" +_pa_______ = "pending-associate" +_CVES = "ClientVpnEndpointStatus" +_CCVEO = "CreateClientVpnEndpointOutput" +_cCCVERo = "com.amazonaws.ec2#CreateClientVpnEndpointResult" +_DN = "DnsName" +_dN = "dnsName" +_CCVE = "CreateClientVpnEndpoint" +_CCVRI = "CreateClientVpnRouteInput" +_cCCVRR = "com.amazonaws.ec2#CreateClientVpnRouteRequest" +_DCB = "DestinationCidrBlock" +_TVSI = "TargetVpcSubnetId" +_CVRSC = "ClientVpnRouteStatusCode" +_CVRS = "ClientVpnRouteStatus" +_CCVRO = "CreateClientVpnRouteOutput" +_cCCVRRo = "com.amazonaws.ec2#CreateClientVpnRouteResult" +_CCVR = "CreateClientVpnRoute" +_IPCI = "Ipv4PoolCoipId" +_CCCI = "CreateCoipCidrInput" +_cCCCR = "com.amazonaws.ec2#CreateCoipCidrRequest" +_CPIo = "CoipPoolId" +_CCo = "CoipCidr" +_cPI = "coipPoolId" +_LGRTI = "LocalGatewayRouteTableId" +_lGRTI = "localGatewayRouteTableId" +_CCCO = "CreateCoipCidrOutput" +_cCCCRo = "com.amazonaws.ec2#CreateCoipCidrResult" +_cCo = "coipCidr" +_CCC = "CreateCoipCidr" +_CCPI = "CreateCoipPoolInput" +_cCCPR = "com.amazonaws.ec2#CreateCoipPoolRequest" +_CP = "CoipPool" +_PCo = "PoolCidrs" +_PCS = "PoolCidrSet" +_pCS = "poolCidrSet" +_PA = "PoolArn" +_pAo = "poolArn" +_CCPO = "CreateCoipPoolOutput" +_cCCPRo = "com.amazonaws.ec2#CreateCoipPoolResult" +_cP = "coipPool" +_CCP = "CreateCoipPool" +_CCGIr = "CreateCustomerGatewayInput" +_cCCGRom = "com.amazonaws.ec2#CreateCustomerGatewayRequest" +_BA = "BgpAsn" +_DNe = "DeviceName" +_BAE = "BgpAsnExtended" +_ty = "type" +_CCGOr = "CreateCustomerGatewayOutput" +_cCCGRoma = "com.amazonaws.ec2#CreateCustomerGatewayResult" +_CCGr = "CreateCustomerGateway" +_CDSI = "CreateDefaultSubnetInput" +_cCDSR = "com.amazonaws.ec2#CreateDefaultSubnetRequest" +_IN = "Ipv6Native" +_BPAM = "BlockPublicAccessMode" +_bb = "block_bidirectional" +_bb_ = "block-bidirectional" +_bi = "block_ingress" +_bi_ = "block-ingress" +_BPAS = "BlockPublicAccessStates" +_IGBM = "InternetGatewayBlockMode" +_iGBM = "internetGatewayBlockMode" +_SICBAS = "SubnetIpv6CidrBlockAssociationSet" +_HT = "HostnameType" +_PDNOOL = "PrivateDnsNameOptionsOnLaunch" +_hT = "hostnameType" +_ERNDAR = "EnableResourceNameDnsARecord" +_eRNDAR = "enableResourceNameDnsARecord" +_ERNDAAAAR = "EnableResourceNameDnsAAAARecord" +_eRNDAAAAR = "enableResourceNameDnsAAAARecord" +_SSu = "SubnetState" +_fic = "failed_insufficient_capacity" +_fic_ = "failed-insufficient-capacity" +_ELADI = "EnableLniAtDeviceIndex" +_eLADI = "enableLniAtDeviceIndex" +_MCOIOL = "MapCustomerOwnedIpOnLaunch" +_mCOIOL = "mapCustomerOwnedIpOnLaunch" +_AIAOC = "AssignIpv6AddressOnCreation" +_aIAOC = "assignIpv6AddressOnCreation" +_ICBAS = "Ipv6CidrBlockAssociationSet" +_iCBAS = "ipv6CidrBlockAssociationSet" +_SAu = "SubnetArn" +_sA = "subnetArn" +_EDn = "EnableDns64" +_eDn = "enableDns64" +_iN = "ipv6Native" +_pDNOOL = "privateDnsNameOptionsOnLaunch" +_bPAS = "blockPublicAccessStates" +_AIAC = "AvailableIpAddressCount" +_aIAC = "availableIpAddressCount" +_DFA = "DefaultForAz" +_dFA = "defaultForAz" +_MPIOL = "MapPublicIpOnLaunch" +_mPIOL = "mapPublicIpOnLaunch" +_CDSO = "CreateDefaultSubnetOutput" +_cCDSRo = "com.amazonaws.ec2#CreateDefaultSubnetResult" +_CDS = "CreateDefaultSubnet" +_CDVI = "CreateDefaultVpcInput" +_cCDVR = "com.amazonaws.ec2#CreateDefaultVpcRequest" +_VCBAS = "VpcCidrBlockAssociationSet" +_VECM = "VpcEncryptionControlMode" +_moni = "monitor" +_enf = "enforce" +_VECE = "VpcEncryptionControlExclusion" +_VECEp = "VpcEncryptionControlExclusions" +_VECS = "VpcEncryptionControlState" +_eip_ = "enforce_in_progress" +_eip__ = "enforce-in-progress" +_mip = "monitor_in_progress" +_mip_ = "monitor-in-progress" +_ef = "enforce_failed" +_ef_ = "enforce-failed" +_mf________________________ = "monitor_failed" +_mf_________________________ = "monitor-failed" +_df___ = "delete_failed" +_df____ = "delete-failed" +_VECI = "VpcEncryptionControlId" +_VEC = "VpcEncryptionControl" +_vECI = "vpcEncryptionControlId" +_RE = "ResourceExclusions" +_rE = "resourceExclusions" +_VICBAS = "VpcIpv6CidrBlockAssociationSet" +_VSp = "VpcState" +_ITnst = "InstanceTenancy" +_iTns = "instanceTenancy" +_CBAS = "CidrBlockAssociationSet" +_cBAS = "cidrBlockAssociationSet" +_ECn = "EncryptionControl" +_eCn = "encryptionControl" +_dOI = "dhcpOptionsId" +_CDVO = "CreateDefaultVpcOutput" +_cCDVRo = "com.amazonaws.ec2#CreateDefaultVpcResult" +_CDV = "CreateDefaultVpc" +_SMC = "SensitiveMacCredentials" +_CDMVOTI = "CreateDelegateMacVolumeOwnershipTaskInput" +_cCDMVOTR = "com.amazonaws.ec2#CreateDelegateMacVolumeOwnershipTaskRequest" +_MCa = "MacCredentials" +_MMTI = "MacModificationTaskId" +_MSIPSS = "MacSystemIntegrityProtectionSettingStatus" +_MSIPC = "MacSystemIntegrityProtectionConfiguration" +_AIp = "AppleInternal" +_aIp = "appleInternal" +_BSa = "BaseSystem" +_bS = "baseSystem" +_DReb = "DebuggingRestrictions" +_dReb = "debuggingRestrictions" +_DTR = "DTraceRestrictions" +_dTR = "dTraceRestrictions" +_FPi = "FilesystemProtections" +_fPi = "filesystemProtections" +_KS = "KextSigning" +_kS = "kextSigning" +_NP = "NvramProtections" +_nP = "nvramProtections" +_MMTS = "MacModificationTaskState" +_succ = "successful" +_inp = "inprogress" +_ip_____ = "in-progress" +_MMT = "MacModificationTask" +_CDMVOTO = "CreateDelegateMacVolumeOwnershipTaskOutput" +_cCDMVOTRo = "com.amazonaws.ec2#CreateDelegateMacVolumeOwnershipTaskResult" +_mMT = "macModificationTask" +_CDMVOT = "CreateDelegateMacVolumeOwnershipTask" +_VECESI = "VpcEncryptionControlExclusionStateInput" +_VISLp = "VpcIdStringList" + +INTEGER_WITH_CONSTRAINTS: StaticSchema = (7, n0, _IWC, 0) + +DOUBLE_WITH_CONSTRAINTS: StaticSchema = (10, n0, _DWC, 0) + +RESERVATION_FLEET_INSTANCE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _RFIS, + 0, + (_IT, _IPns, _We, _AZ, _AZI, _EO, _Pr), + ( + (lambda: schemas.INSTANCE_TYPE, 0), + (lambda: schemas.CAPACITY_RESERVATION_INSTANCE_PLATFORM, 0), + (DOUBLE_WITH_CONSTRAINTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (INTEGER_WITH_CONSTRAINTS, 0), + ), +) + +RESERVATION_FLEET_INSTANCE_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _RFISL, + 0, + (_me,), + ((RESERVATION_FLEET_INSTANCE_SPECIFICATION, 0),), +) + +FLEET_CAPACITY_RESERVATION_TENANCY: StaticSchema = ( + 14, + n0, + _FCRT, + 0, + (_def,), + ((-1, {_sV: _def}),), +) + +CREATE_CAPACITY_RESERVATION_FLEET_INPUT: StaticSchema = ( + 18, + n0, + _CCRFIr, + {_sSI: _cCCRFRom, _sm: None}, + (_ASll, _CTl, _ITS, _IRn, _AZ, _AZI, _Ten, _TTC, _ED, _IMC, _TSa, _DR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 2), + (RESERVATION_FLEET_INSTANCE_SPECIFICATION_LIST, {_sN: _ITSn}), + (lambda: schemas.INSTANCE_REQUIREMENTS_REQUEST, 0), + (lambda: schemas.AVAILABILITY_ZONE_NAME, 0), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + (FLEET_CAPACITY_RESERVATION_TENANCY, 0), + (lambda: schemas.INTEGER, 1), + (lambda: schemas.MILLISECOND_DATE_TIME, 0), + (lambda: schemas.FLEET_INSTANCE_MATCH_CRITERIA, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_CAPACITY_RESERVATION_FLEET_OUTPUT: StaticSchema = ( + 18, + n0, + _CCRFOr, + {_sSI: _cCCRFRoma, _smit: None}, + (_CRFI, _St, _TTC, _TFC, _IMC, _ASll, _CTr, _ED, _Ten, _FCRl, _Tag), + ( + (lambda: schemas.CAPACITY_RESERVATION_FLEET_ID, {_aQN: _CRFI, _sN: _cRFI}), + (lambda: schemas.CAPACITY_RESERVATION_FLEET_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.INTEGER, {_aQN: _TTC, _sN: _tTC}), + (lambda: schemas.DOUBLE, {_aQN: _TFC, _sN: _tFC}), + (lambda: schemas.FLEET_INSTANCE_MATCH_CRITERIA, {_aQN: _IMC, _sN: _iMC}), + (lambda: schemas.STRING, {_aQN: _ASll, _sN: _aSl}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ED, _sN: _eD}), + (FLEET_CAPACITY_RESERVATION_TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: FLEET_CAPACITY_RESERVATION_SET, {_aQN: _FCRS, _sN: _fCRS}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +CREATE_CAPACITY_RESERVATION_FLEET: StaticOperationSchema = ( + 23, + n0, + _CCRFr, + 0, + CREATE_CAPACITY_RESERVATION_FLEET_INPUT, + CREATE_CAPACITY_RESERVATION_FLEET_OUTPUT, + (), +) + +FLEET_CAPACITY_RESERVATION: StaticSchema = ( + 18, + n0, + _FCR, + 0, + (_CRI, _AZI, _IT, _IPns, _AZ, _TICo, _FCu, _EO, _CD, _We, _Pr), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID, {_aQN: _CRI, _sN: _cRI}), + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + ( + lambda: schemas.CAPACITY_RESERVATION_INSTANCE_PLATFORM, + {_aQN: _IPns, _sN: _iPns}, + ), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.INTEGER, {_aQN: _TICo, _sN: _tICo}), + (lambda: schemas.DOUBLE, {_aQN: _FCu, _sN: _fC}), + (lambda: schemas.BOOLEAN, {_aQN: _EO, _sN: _eO}), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _CD, _sN: _cD}), + (DOUBLE_WITH_CONSTRAINTS, {_aQN: _We, _sN: _we}), + (INTEGER_WITH_CONSTRAINTS, {_aQN: _Pr, _sN: _pri}), + ), +) + +FLEET_CAPACITY_RESERVATION_SET: StaticSchema = ( + 16, + n0, + _FCRS, + 0, + (_me,), + ((FLEET_CAPACITY_RESERVATION, {_sN: _i}),), +) + +CREATE_CARRIER_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _CCGI, + {_sSI: _cCCGR, _sm: None}, + (_VI, _TSa, _DR, _CTl), + ( + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + ), +) + +CREATE_CARRIER_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _CCGO, + {_sSI: _cCCGRo, _smit: None}, + (_CGa,), + ((lambda: CARRIER_GATEWAY, {_aQN: _CGa, _sN: _cGa}),), +) + +CREATE_CARRIER_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _CCG, + 0, + CREATE_CARRIER_GATEWAY_INPUT, + CREATE_CARRIER_GATEWAY_OUTPUT, + (), +) + +CARRIER_GATEWAY_STATE: StaticSchema = ( + 14, + n0, + _CGS, + 0, + (_p, _av, _de, _del), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de}), (-1, {_sV: _del})), +) + +CARRIER_GATEWAY: StaticSchema = ( + 18, + n0, + _CGa, + 0, + (_CGI, _VI, _St, _OIw, _Tag), + ( + (lambda: schemas.CARRIER_GATEWAY_ID, {_aQN: _CGI, _sN: _cGI}), + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI}), + (CARRIER_GATEWAY_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +DIRECTORY_SERVICE_AUTHENTICATION_REQUEST: StaticSchema = ( + 18, + n0, + _DSAR, + 0, + (_DIi,), + ((lambda: schemas.STRING, 0),), +) + +FEDERATED_AUTHENTICATION_REQUEST: StaticSchema = ( + 18, + n0, + _FAR, + 0, + (_SAMLPA, _SSSAMLPA), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CERTIFICATE_AUTHENTICATION_REQUEST: StaticSchema = ( + 18, + n0, + _CAR, + 0, + (_CRCCA,), + ((lambda: schemas.STRING, 0),), +) + +CLIENT_VPN_AUTHENTICATION_TYPE: StaticSchema = ( + 14, + n0, + _CVAT, + 0, + (_ca_, _dsa, _fa___), + ((-1, {_sV: _ca__}), (-1, {_sV: _dsa_}), (-1, {_sV: _fa____})), +) + +CLIENT_VPN_AUTHENTICATION_REQUEST: StaticSchema = ( + 18, + n0, + _CVAR, + 0, + (_Ty, _ADc, _MA, _FA), + ( + (CLIENT_VPN_AUTHENTICATION_TYPE, 0), + (DIRECTORY_SERVICE_AUTHENTICATION_REQUEST, 0), + (CERTIFICATE_AUTHENTICATION_REQUEST, 0), + (FEDERATED_AUTHENTICATION_REQUEST, 0), + ), +) + +CLIENT_VPN_AUTHENTICATION_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _CVARL, + 0, + (_me,), + ((CLIENT_VPN_AUTHENTICATION_REQUEST, 0),), +) + +CLIENT_CONNECT_OPTIONS: StaticSchema = ( + 18, + n0, + _CCO, + 0, + (_Ena, _LFA), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.STRING, 0)), +) + +CLIENT_LOGIN_BANNER_OPTIONS: StaticSchema = ( + 18, + n0, + _CLBO, + 0, + (_Ena, _BTa), + ((lambda: schemas.BOOLEAN, 0), (lambda: schemas.STRING, 0)), +) + +CLIENT_ROUTE_ENFORCEMENT_OPTIONS: StaticSchema = ( + 18, + n0, + _CREO, + 0, + (_Enf,), + ((lambda: schemas.BOOLEAN, 0),), +) + +CONNECTION_LOG_OPTIONS: StaticSchema = ( + 18, + n0, + _CLO, + 0, + (_Ena, _CLG, _CLS, _IAPC), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CLIENT_VPN_DEVICE_TRUST_PROVIDER_TYPE: StaticSchema = ( + 14, + n0, + _CVDTPT, + 0, + (_cro, _j, _ju), + ((-1, {_sV: _cro}), (-1, {_sV: _j}), (-1, {_sV: _ju})), +) + +CLIENT_VPN_TRUST_PROVIDER_REQUEST: StaticSchema = ( + 18, + n0, + _CVTPR, + 0, + (_TPT, _TI, _PSKU), + ( + (CLIENT_VPN_DEVICE_TRUST_PROVIDER_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +CLIENT_VPN_TRUST_PROVIDER_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _CVTPRL, + 0, + (_me,), + ((CLIENT_VPN_TRUST_PROVIDER_REQUEST, {_sN: _i}),), +) + +DEVICE_POSTURE_OPTIONS: StaticSchema = ( + 18, + n0, + _DPO, + 0, + (_TPr, _Ena), + ( + (CLIENT_VPN_TRUST_PROVIDER_REQUEST_LIST, {_sN: _TPru}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +ENDPOINT_IP_ADDRESS_TYPE: StaticSchema = ( + 14, + n0, + _EIAT, + 0, + (_ipv, _ipv_, _ds__), + ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_}), (-1, {_sV: _ds___})), +) + +SELF_SERVICE_PORTAL: StaticSchema = ( + 14, + n0, + _SSP, + 0, + (_ena, _d), + ((-1, {_sV: _ena}), (-1, {_sV: _d})), +) + +TRAFFIC_IP_ADDRESS_TYPE: StaticSchema = ( + 14, + n0, + _TIAT, + 0, + (_ipv, _ipv_, _ds__), + ((-1, {_sV: _ipv}), (-1, {_sV: _ipv_}), (-1, {_sV: _ds___})), +) + +CLIENT_VPN_AVAILABILITY_ZONE_ID_SET: StaticSchema = ( + 16, + n0, + _CVAZIS, + 0, + (_me,), + ((lambda: schemas.AVAILABILITY_ZONE_ID, {_sN: _i}),), +) + +CLIENT_VPN_AVAILABILITY_ZONE_SET: StaticSchema = ( + 16, + n0, + _CVAZS, + 0, + (_me,), + ((lambda: schemas.AVAILABILITY_ZONE_NAME, {_sN: _i}),), +) + +TRANSIT_GATEWAY_CONFIGURATION_INPUT_STRUCTURE: StaticSchema = ( + 18, + n0, + _TGCIS, + 0, + (_TGI, _AZv, _AZIv), + ( + (lambda: schemas.TRANSIT_GATEWAY_ID, 0), + (CLIENT_VPN_AVAILABILITY_ZONE_SET, {_sN: _AZ}), + (CLIENT_VPN_AVAILABILITY_ZONE_ID_SET, {_sN: _AZI}), + ), +) + +TRANSPORT_PROTOCOL: StaticSchema = ( + 14, + n0, + _TPra, + 0, + (_tc, _ud), + ((-1, {_sV: _tc}), (-1, {_sV: _ud})), +) + +CREATE_CLIENT_VPN_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CCVEI, + {_sSI: _cCCVER, _sm: None}, + ( + _CCB, + _SCA, + _AO, + _CLO, + _DSn, + _TPra, + _VPp, + _Des, + _STp, + _DR, + _CTl, + _TSa, + _SGIe, + _VI, + _SSP, + _CCO, + _STH, + _CLBO, + _CREO, + _DOST, + _EIAT, + _TIAT, + _TGC, + _DPO, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (CLIENT_VPN_AUTHENTICATION_REQUEST_LIST, {_sN: _Au, _smi: None}), + (CONNECTION_LOG_OPTIONS, 1), + (lambda: schemas.VALUE_STRING_LIST, 0), + (TRANSPORT_PROTOCOL, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.CLIENT_VPN_SECURITY_GROUP_ID_SET, {_sN: _SGI}), + (lambda: schemas.VPC_ID, 0), + (SELF_SERVICE_PORTAL, 0), + (CLIENT_CONNECT_OPTIONS, 0), + (lambda: schemas.INTEGER, 0), + (CLIENT_LOGIN_BANNER_OPTIONS, 0), + (CLIENT_ROUTE_ENFORCEMENT_OPTIONS, 0), + (lambda: schemas.BOOLEAN, 0), + (ENDPOINT_IP_ADDRESS_TYPE, 0), + (TRAFFIC_IP_ADDRESS_TYPE, 0), + (TRANSIT_GATEWAY_CONFIGURATION_INPUT_STRUCTURE, 0), + (DEVICE_POSTURE_OPTIONS, 0), + ), +) + +CREATE_CLIENT_VPN_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CCVEO, + {_sSI: _cCCVERo, _smit: None}, + (_CVEI, _Sta, _DN), + ( + (lambda: schemas.STRING, {_aQN: _CVEI, _sN: _cVEI}), + (lambda: CLIENT_VPN_ENDPOINT_STATUS, {_aQN: _Sta, _sN: _sta}), + (lambda: schemas.STRING, {_aQN: _DN, _sN: _dN}), + ), +) + +CREATE_CLIENT_VPN_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CCVE, + 0, + CREATE_CLIENT_VPN_ENDPOINT_INPUT, + CREATE_CLIENT_VPN_ENDPOINT_OUTPUT, + (), +) + +CLIENT_VPN_ENDPOINT_STATUS_CODE: StaticSchema = ( + 14, + n0, + _CVESC, + 0, + (_pa______, _av, _de, _del, _p), + ( + (-1, {_sV: _pa_______}), + (-1, {_sV: _av}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + (-1, {_sV: _p}), + ), +) + +CLIENT_VPN_ENDPOINT_STATUS: StaticSchema = ( + 18, + n0, + _CVES, + 0, + (_C, _Me), + ( + (CLIENT_VPN_ENDPOINT_STATUS_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +CREATE_CLIENT_VPN_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _CCVRI, + {_sSI: _cCCVRR, _sm: None}, + (_CVEI, _DCB, _TVSI, _Des, _CTl, _DR), + ( + (lambda: schemas.CLIENT_VPN_ENDPOINT_ID, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.SUBNET_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_CLIENT_VPN_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _CCVRO, + {_sSI: _cCCVRRo, _smit: None}, + (_Sta,), + ((lambda: CLIENT_VPN_ROUTE_STATUS, {_aQN: _Sta, _sN: _sta}),), +) + +CREATE_CLIENT_VPN_ROUTE: StaticOperationSchema = ( + 23, + n0, + _CCVR, + 0, + CREATE_CLIENT_VPN_ROUTE_INPUT, + CREATE_CLIENT_VPN_ROUTE_OUTPUT, + (), +) + +CLIENT_VPN_ROUTE_STATUS_CODE: StaticSchema = ( + 14, + n0, + _CVRSC, + 0, + (_cre, _act, _fa, _de), + ((-1, {_sV: _cre}), (-1, {_sV: _act}), (-1, {_sV: _fa}), (-1, {_sV: _de})), +) + +CLIENT_VPN_ROUTE_STATUS: StaticSchema = ( + 18, + n0, + _CVRS, + 0, + (_C, _Me), + ( + (CLIENT_VPN_ROUTE_STATUS_CODE, {_aQN: _C, _sN: _co}), + (lambda: schemas.STRING, {_aQN: _Me, _sN: _mes}), + ), +) + +IPV4_POOL_COIP_ID: StaticSchema = (3, n0, _IPCI, 0) + +CREATE_COIP_CIDR_INPUT: StaticSchema = ( + 18, + n0, + _CCCI, + {_sSI: _cCCCR, _sm: None}, + (_Ci, _CPIo, _DR), + ((lambda: schemas.STRING, 1), (IPV4_POOL_COIP_ID, 1), (lambda: schemas.BOOLEAN, 0)), +) + +CREATE_COIP_CIDR_OUTPUT: StaticSchema = ( + 18, + n0, + _CCCO, + {_sSI: _cCCCRo, _smit: None}, + (_CCo,), + ((lambda: COIP_CIDR, {_aQN: _CCo, _sN: _cCo}),), +) + +CREATE_COIP_CIDR: StaticOperationSchema = ( + 23, + n0, + _CCC, + 0, + CREATE_COIP_CIDR_INPUT, + CREATE_COIP_CIDR_OUTPUT, + (), +) + +COIP_CIDR: StaticSchema = ( + 18, + n0, + _CCo, + 0, + (_Ci, _CPIo, _LGRTI), + ( + (lambda: schemas.STRING, {_aQN: _Ci, _sN: _ci}), + (IPV4_POOL_COIP_ID, {_aQN: _CPIo, _sN: _cPI}), + (lambda: schemas.STRING, {_aQN: _LGRTI, _sN: _lGRTI}), + ), +) + +CREATE_COIP_POOL_INPUT: StaticSchema = ( + 18, + n0, + _CCPI, + {_sSI: _cCCPR, _sm: None}, + (_LGRTI, _TSa, _DR), + ( + (lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, 0), + ), +) + +CREATE_COIP_POOL_OUTPUT: StaticSchema = ( + 18, + n0, + _CCPO, + {_sSI: _cCCPRo, _smit: None}, + (_CP,), + ((lambda: COIP_POOL, {_aQN: _CP, _sN: _cP}),), +) + +CREATE_COIP_POOL: StaticOperationSchema = ( + 23, + n0, + _CCP, + 0, + CREATE_COIP_POOL_INPUT, + CREATE_COIP_POOL_OUTPUT, + (), +) + +COIP_POOL: StaticSchema = ( + 18, + n0, + _CP, + 0, + (_PIo, _PCo, _LGRTI, _Tag, _PA), + ( + (IPV4_POOL_COIP_ID, {_aQN: _PIo, _sN: _pIo}), + (lambda: schemas.VALUE_STRING_LIST, {_aQN: _PCS, _sN: _pCS}), + (lambda: schemas.LOCAL_GATEWAY_ROUTETABLE_ID, {_aQN: _LGRTI, _sN: _lGRTI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.RESOURCE_ARN, {_aQN: _PA, _sN: _pAo}), + ), +) + +CREATE_CUSTOMER_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _CCGIr, + {_sSI: _cCCGRom, _sm: None}, + (_BA, _PI, _CAe, _Ty, _TSa, _DNe, _IA, _BAE, _DR), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.GATEWAY_TYPE, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_CUSTOMER_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _CCGOr, + {_sSI: _cCCGRoma, _smit: None}, + (_CG,), + ((lambda: schemas.CUSTOMER_GATEWAY, {_aQN: _CG, _sN: _cG}),), +) + +CREATE_CUSTOMER_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _CCGr, + 0, + CREATE_CUSTOMER_GATEWAY_INPUT, + CREATE_CUSTOMER_GATEWAY_OUTPUT, + (), +) + +CREATE_DEFAULT_SUBNET_INPUT: StaticSchema = ( + 18, + n0, + _CDSI, + {_sSI: _cCDSR, _sm: None}, + (_AZ, _DR, _IN, _AZI), + ( + (lambda: schemas.AVAILABILITY_ZONE_NAME, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + ), +) + +CREATE_DEFAULT_SUBNET_OUTPUT: StaticSchema = ( + 18, + n0, + _CDSO, + {_sSI: _cCDSRo, _smit: None}, + (_Sub,), + ((lambda: SUBNET, {_aQN: _Sub, _sN: _su}),), +) + +CREATE_DEFAULT_SUBNET: StaticOperationSchema = ( + 23, + n0, + _CDS, + 0, + CREATE_DEFAULT_SUBNET_INPUT, + CREATE_DEFAULT_SUBNET_OUTPUT, + (), +) + +BLOCK_PUBLIC_ACCESS_MODE: StaticSchema = ( + 14, + n0, + _BPAM, + 0, + (_of, _bb, _bi), + ((-1, {_sV: _of}), (-1, {_sV: _bb_}), (-1, {_sV: _bi_})), +) + +BLOCK_PUBLIC_ACCESS_STATES: StaticSchema = ( + 18, + n0, + _BPAS, + 0, + (_IGBM,), + ((BLOCK_PUBLIC_ACCESS_MODE, {_aQN: _IGBM, _sN: _iGBM}),), +) + +SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _SICBAS, + 0, + (_me,), + ((lambda: schemas.SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), +) + +PRIVATE_DNS_NAME_OPTIONS_ON_LAUNCH: StaticSchema = ( + 18, + n0, + _PDNOOL, + 0, + (_HT, _ERNDAR, _ERNDAAAAR), + ( + (lambda: schemas.HOSTNAME_TYPE, {_aQN: _HT, _sN: _hT}), + (lambda: schemas.BOOLEAN, {_aQN: _ERNDAR, _sN: _eRNDAR}), + (lambda: schemas.BOOLEAN, {_aQN: _ERNDAAAAR, _sN: _eRNDAAAAR}), + ), +) + +SUBNET_STATE: StaticSchema = ( + 14, + n0, + _SSu, + 0, + (_p, _av, _unav, _fa, _fic), + ( + (-1, {_sV: _p}), + (-1, {_sV: _av}), + (-1, {_sV: _unav}), + (-1, {_sV: _fa}), + (-1, {_sV: _fic_}), + ), +) + +SUBNET: StaticSchema = ( + 18, + n0, + _Sub, + 0, + ( + _AZI, + _ELADI, + _MCOIOL, + _COIP, + _OIw, + _AIAOC, + _ICBAS, + _Tag, + _SAu, + _OA, + _EDn, + _IN, + _PDNOOL, + _BPAS, + _Ty, + _SIu, + _St, + _VI, + _CB, + _AIAC, + _AZ, + _DFA, + _MPIOL, + ), + ( + (lambda: schemas.STRING, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.INTEGER, {_aQN: _ELADI, _sN: _eLADI}), + (lambda: schemas.BOOLEAN, {_aQN: _MCOIOL, _sN: _mCOIOL}), + (lambda: schemas.COIP_POOL_ID, {_aQN: _COIP, _sN: _cOIP}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.BOOLEAN, {_aQN: _AIAOC, _sN: _aIAOC}), + (SUBNET_IPV6_CIDR_BLOCK_ASSOCIATION_SET, {_aQN: _ICBAS, _sN: _iCBAS}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _SAu, _sN: _sA}), + (lambda: schemas.STRING, {_aQN: _OA, _sN: _oA}), + (lambda: schemas.BOOLEAN, {_aQN: _EDn, _sN: _eDn}), + (lambda: schemas.BOOLEAN, {_aQN: _IN, _sN: _iN}), + (PRIVATE_DNS_NAME_OPTIONS_ON_LAUNCH, {_aQN: _PDNOOL, _sN: _pDNOOL}), + (BLOCK_PUBLIC_ACCESS_STATES, {_aQN: _BPAS, _sN: _bPAS}), + (lambda: schemas.STRING, {_aQN: _Ty, _sN: _ty}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (SUBNET_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (lambda: schemas.STRING, {_aQN: _CB, _sN: _cB}), + (lambda: schemas.INTEGER, {_aQN: _AIAC, _sN: _aIAC}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.BOOLEAN, {_aQN: _DFA, _sN: _dFA}), + (lambda: schemas.BOOLEAN, {_aQN: _MPIOL, _sN: _mPIOL}), + ), +) + +CREATE_DEFAULT_VPC_INPUT: StaticSchema = ( + 18, + n0, + _CDVI, + {_sSI: _cCDVR, _sm: None}, + (_DR,), + ((lambda: schemas.BOOLEAN, 0),), +) + +CREATE_DEFAULT_VPC_OUTPUT: StaticSchema = ( + 18, + n0, + _CDVO, + {_sSI: _cCDVRo, _smit: None}, + (_Vp,), + ((lambda: VPC, {_aQN: _Vp, _sN: _vp}),), +) + +CREATE_DEFAULT_VPC: StaticOperationSchema = ( + 23, + n0, + _CDV, + 0, + CREATE_DEFAULT_VPC_INPUT, + CREATE_DEFAULT_VPC_OUTPUT, + (), +) + +VPC_CIDR_BLOCK_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _VCBAS, + 0, + (_me,), + ((lambda: schemas.VPC_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), +) + +VPC_ENCRYPTION_CONTROL_MODE: StaticSchema = ( + 14, + n0, + _VECM, + 0, + (_moni, _enf), + ((-1, {_sV: _moni}), (-1, {_sV: _enf})), +) + +VPC_ENCRYPTION_CONTROL_EXCLUSION: StaticSchema = ( + 18, + n0, + _VECE, + 0, + (_St, _SMta), + ( + (lambda: schemas.VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + ), +) + +VPC_ENCRYPTION_CONTROL_EXCLUSIONS: StaticSchema = ( + 18, + n0, + _VECEp, + 0, + (_IG, _EOIG, _NG, _VPG, _VP, _La, _VL, _EFS), + ( + (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _IG, _sN: _iG}), + (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _EOIG, _sN: _eOIG}), + (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _NG, _sN: _nG}), + (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _VPG, _sN: _vPG}), + (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _VP, _sN: _vP}), + (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _La, _sN: _la}), + (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _VL, _sN: _vL}), + (VPC_ENCRYPTION_CONTROL_EXCLUSION, {_aQN: _EFS, _sN: _eFS}), + ), +) + +VPC_ENCRYPTION_CONTROL_STATE: StaticSchema = ( + 14, + n0, + _VECS, + 0, + (_eip_, _mip, _ef, _mf________________________, _de, _del, _av, _cre, _df___), + ( + (-1, {_sV: _eip__}), + (-1, {_sV: _mip_}), + (-1, {_sV: _ef_}), + (-1, {_sV: _mf_________________________}), + (-1, {_sV: _de}), + (-1, {_sV: _del}), + (-1, {_sV: _av}), + (-1, {_sV: _cre}), + (-1, {_sV: _df____}), + ), +) + +VPC_ENCRYPTION_CONTROL_ID: StaticSchema = (3, n0, _VECI, 0) + +VPC_ENCRYPTION_CONTROL: StaticSchema = ( + 18, + n0, + _VEC, + 0, + (_VI, _VECI, _Mo, _St, _SMta, _RE, _Tag), + ( + (lambda: schemas.VPC_ID, {_aQN: _VI, _sN: _vI}), + (VPC_ENCRYPTION_CONTROL_ID, {_aQN: _VECI, _sN: _vECI}), + (VPC_ENCRYPTION_CONTROL_MODE, {_aQN: _Mo, _sN: _mod}), + (VPC_ENCRYPTION_CONTROL_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _SMta, _sN: _sMta}), + (VPC_ENCRYPTION_CONTROL_EXCLUSIONS, {_aQN: _RE, _sN: _rE}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +VPC_IPV6_CIDR_BLOCK_ASSOCIATION_SET: StaticSchema = ( + 16, + n0, + _VICBAS, + 0, + (_me,), + ((lambda: schemas.VPC_IPV6_CIDR_BLOCK_ASSOCIATION, {_sN: _i}),), +) + +VPC_STATE: StaticSchema = ( + 14, + n0, + _VSp, + 0, + (_p, _av, _de), + ((-1, {_sV: _p}), (-1, {_sV: _av}), (-1, {_sV: _de})), +) + +VPC: StaticSchema = ( + 18, + n0, + _Vp, + 0, + (_OIw, _ITnst, _ICBAS, _CBAS, _ID, _ECn, _Tag, _BPAS, _VI, _St, _CB, _DOI), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.TENANCY, {_aQN: _ITnst, _sN: _iTns}), + (VPC_IPV6_CIDR_BLOCK_ASSOCIATION_SET, {_aQN: _ICBAS, _sN: _iCBAS}), + (VPC_CIDR_BLOCK_ASSOCIATION_SET, {_aQN: _CBAS, _sN: _cBAS}), + (lambda: schemas.BOOLEAN, {_aQN: _ID, _sN: _iD}), + (VPC_ENCRYPTION_CONTROL, {_aQN: _ECn, _sN: _eCn}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (BLOCK_PUBLIC_ACCESS_STATES, {_aQN: _BPAS, _sN: _bPAS}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + (VPC_STATE, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _CB, _sN: _cB}), + (lambda: schemas.STRING, {_aQN: _DOI, _sN: _dOI}), + ), +) + +SENSITIVE_MAC_CREDENTIALS: StaticSchema = (3, n0, _SMC, 4) + +CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CDMVOTI, + {_sSI: _cCDMVOTR, _sm: None}, + (_CTl, _DR, _II, _MCa, _TSa), + ( + (lambda: schemas.STRING, 2), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INSTANCE_ID, 1), + (SENSITIVE_MAC_CREDENTIALS, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CDMVOTO, + {_sSI: _cCDMVOTRo, _smit: None}, + (_MMT,), + ((lambda: schemas.MAC_MODIFICATION_TASK, {_aQN: _MMT, _sN: _mMT}),), +) + +CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK: StaticOperationSchema = ( + 23, + n0, + _CDMVOT, + 0, + CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_INPUT, + CREATE_DELEGATE_MAC_VOLUME_OWNERSHIP_TASK_OUTPUT, + (), +) + +MAC_MODIFICATION_TASK_ID: StaticSchema = (3, n0, _MMTI, 0) + +MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS: StaticSchema = ( + 14, + n0, + _MSIPSS, + 0, + (_ena, _d), + ((-1, {_sV: _ena}), (-1, {_sV: _d})), +) + +MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MSIPC, + 0, + (_AIp, _BSa, _DReb, _DTR, _FPi, _KS, _NP, _Sta), + ( + (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _AIp, _sN: _aIp}), + (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _BSa, _sN: _bS}), + (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _DReb, _sN: _dReb}), + (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _DTR, _sN: _dTR}), + (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _FPi, _sN: _fPi}), + (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _KS, _sN: _kS}), + (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _NP, _sN: _nP}), + (MAC_SYSTEM_INTEGRITY_PROTECTION_SETTING_STATUS, {_aQN: _Sta, _sN: _sta}), + ), +) + +MAC_MODIFICATION_TASK_STATE: StaticSchema = ( + 14, + n0, + _MMTS, + 0, + (_succ, _fa, _inp, _p), + ((-1, {_sV: _succ}), (-1, {_sV: _fa}), (-1, {_sV: _ip_____}), (-1, {_sV: _p})), +) + +VPC_ENCRYPTION_CONTROL_EXCLUSION_STATE_INPUT: StaticSchema = ( + 14, + n0, + _VECESI, + 0, + (_e, _disa), + ((-1, {_sV: _e}), (-1, {_sV: _disa})), +) + +VPC_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _VISLp, + 0, + (_me,), + ((lambda: schemas.VPC_ID, {_sN: _VI}),), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_9.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_9.py new file mode 100644 index 000000000..14e12c242 --- /dev/null +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/_private/schemas_9.py @@ -0,0 +1,1801 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ec2" +_AC = "AcceleratorCount" +_M = "Min" +_aQN = "aws.protocols#ec2QueryName" +_sN = "smithy.api#xmlName" +_m = "min" +_Ma = "Max" +_ma = "max" +_sV = "smithy.api#enumValue" +_AMS = "AcceleratorManufacturerSet" +_me = "member" +_i = "item" +_ANS = "AcceleratorNameSet" +_ATMMB = "AcceleratorTotalMemoryMiB" +_ATS = "AcceleratorTypeSet" +_ins = "instance" +_ni = "network_interface" +_ni_ = "network-interface" +_cb_ = "capacity-block" +_Ke = "Key" +_ke = "key" +_Va = "Value" +_TS = "TagSpecification" +_Tag = "Tags" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_TSa = "TagSpecifications" +_DR = "DryRun" +_d = "disabled" +_smit = "smithy.api#output" +_CRI = "CapacityReservationId" +_St = "State" +_st = "state" +_SIu = "SubnetId" +_sI = "subnetId" +_OIw = "OwnerId" +_oI = "ownerId" +_TSag = "TagSet" +_tS = "tagSet" +_VI = "VpcId" +_vI = "vpcId" +_dRr = "dryRun" +_Ar = "Arn" +_N = "Name" +_Pr = "Priority" +_pri = "priority" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_AZI = "AvailabilityZoneId" +_aZI = "availabilityZoneId" +_EOIGI = "EgressOnlyInternetGatewayId" +_eOIGI = "egressOnlyInternetGatewayId" +_II = "InstanceId" +_iI = "instanceId" +_IG = "InternetGateway" +_NI = "NetworkInterface" +_Sub = "Subnet" +_TGr = "TransitGateway" +_TGA = "TransitGatewayAttachment" +_en = "enabling" +_ena = "enabled" +_disab = "disabling" +_EOIG = "EgressOnlyInternetGateway" +_eOIG = "egressOnlyInternetGateway" +_IT = "InstanceType" +_iT = "instanceType" +_Pri = "Principal" +_prin = "principal" +_stan = "standard" +_Af = "Affinity" +_IF = "InstanceFamily" +_CTl = "ClientToken" +_cTl = "clientToken" +_sT = "smithy.api#idempotencyToken" +_ASll = "AllocationStrategy" +_LP = "LOWEST_PRICE" +_DIVERSIFIED = "DIVERSIFIED" +_div = "diversified" +_CO_ = "CAPACITY_OPTIMIZED" +_COP = "CAPACITY_OPTIMIZED_PRIORITIZED" +_PCO = "PRICE_CAPACITY_OPTIMIZED" +_AITS = "AllowedInstanceTypeSet" +_IIn = "InstanceIds" +_DOI = "DhcpOptionsId" +_IIP = "IamInstanceProfile" +_GIr = "GroupId" +_gIr = "groupId" +_IIm = "ImageId" +_IGI = "InternetGatewayId" +_iGI = "internetGatewayId" +_smith = "smithy.api#sensitive" +_DOT = "DeleteOnTermination" +_dOT = "deleteOnTermination" +_GN = "GroupName" +_gN = "groupName" +_ST = "StartTime" +_sTt = "startTime" +_KKI = "KmsKeyId" +_En = "Encrypted" +_enc = "encrypted" +_kKI = "kmsKeyId" +_iIm = "imageId" +_SIn = "SnapshotId" +_sIn = "snapshotId" +_VT = "VolumeType" +_io = "io1" +_io_ = "io2" +_gp = "gp2" +_sc_ = "sc1" +_st_ = "st1" +_gp_ = "gp3" +_Io = "Iops" +_Th = "Throughput" +_OR = "OperatorResponse" +_Man = "Managed" +_man = "managed" +_HBD = "HiddenByDefault" +_hBD = "hiddenByDefault" +_iop = "iops" +_vT = "volumeType" +_thr = "throughput" +_Op = "Operator" +_ope = "operator" +_CTr = "CreateTime" +_cTr = "createTime" +_Att = "Attachments" +_AStt = "AttachmentSet" +_aSt = "attachmentSet" +_par = "parquet" +_W = "Windows" +_Ten = "Tenancy" +_CB_ = "CAPACITY_BLOCK" +_ten = "tenancy" +_RTes = "ReservationType" +_BM = "BareMetal" +_REQUIRED = "REQUIRED" +_requ = "required" +_Ref = "References" +_Cp = "Cpu" +_BP = "BurstablePerformance" +_CMS = "CpuManufacturerSet" +_EITS = "ExcludedInstanceTypeSet" +_IGS = "InstanceGenerationSet" +_LSo = "LocalStorage" +_LSTS = "LocalStorageTypeSet" +_VCC = "VCpuCount" +_MMB = "MemoryMiB" +_CMp = "CpuManufacturers" +_MGBPVC = "MemoryGiBPerVCpu" +_EITx = "ExcludedInstanceTypes" +_IGns = "InstanceGenerations" +_SMPPOLP = "SpotMaxPricePercentageOverLowestPrice" +_ODMPPOLP = "OnDemandMaxPricePercentageOverLowestPrice" +_RHS = "RequireHibernateSupport" +_NIC = "NetworkInterfaceCount" +_LSTo = "LocalStorageTypes" +_TLSGB = "TotalLocalStorageGB" +_BEBM = "BaselineEbsBandwidthMbps" +_ATc = "AcceleratorTypes" +_AMc = "AcceleratorManufacturers" +_ANc = "AcceleratorNames" +_NBGe = "NetworkBandwidthGbps" +_AITl = "AllowedInstanceTypes" +_MSPAPOOODP = "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice" +_BPF = "BaselinePerformanceFactors" +_REIT = "RequireEncryptionInTransit" +_IRn = "InstanceRequirements" +_TTC = "TotalTargetCapacity" +_Ty = "Type" +_DNe = "DeviceName" +_dNe = "deviceName" +_dOI = "dhcpOptionsId" +_MMTI = "MacModificationTaskId" +_MMTT = "MacModificationTaskType" +_SIPM = "SIPModification" +_sm_ = "sip-modification" +_VOD = "VolumeOwnershipDelegation" +_vod = "volume-ownership-delegation" +_MMT = "MacModificationTask" +_mMTI = "macModificationTaskId" +_MSIPCa = "MacSystemIntegrityProtectionConfig" +_mSIPC = "macSystemIntegrityProtectionConfig" +_TSas = "TaskState" +_tSa = "taskState" +_TT = "TaskType" +_tT = "taskType" +_NDC = "NewDhcpConfiguration" +_Val = "Values" +_NDCL = "NewDhcpConfigurationList" +_CDOI = "CreateDhcpOptionsInput" +_cCDOR = "com.amazonaws.ec2#CreateDhcpOptionsRequest" +_DCh = "DhcpConfigurations" +_DChc = "DhcpConfiguration" +_dCh = "dhcpConfiguration" +_DCVL = "DhcpConfigurationValueList" +_VSa = "ValueSet" +_vSa = "valueSet" +_DCL = "DhcpConfigurationList" +_DOh = "DhcpOptions" +_DCS = "DhcpConfigurationSet" +_dCS = "dhcpConfigurationSet" +_CDOO = "CreateDhcpOptionsOutput" +_cCDORo = "com.amazonaws.ec2#CreateDhcpOptionsResult" +_dOh = "dhcpOptions" +_CDO = "CreateDhcpOptions" +_CEOIGI = "CreateEgressOnlyInternetGatewayInput" +_cCEOIGR = "com.amazonaws.ec2#CreateEgressOnlyInternetGatewayRequest" +_IGA = "InternetGatewayAttachment" +_IGAL = "InternetGatewayAttachmentList" +_CEOIGO = "CreateEgressOnlyInternetGatewayOutput" +_cCEOIGRo = "com.amazonaws.ec2#CreateEgressOnlyInternetGatewayResult" +_CEOIG = "CreateEgressOnlyInternetGateway" +_FECTP = "FleetExcessCapacityTerminationPolicy" +_NT = "NO_TERMINATION" +_nt = "no-termination" +_TERMINATION = "TERMINATION" +_ter = "termination" +_LTI = "LaunchTemplateId" +_LTN = "LaunchTemplateName" +_SUD = "SensitiveUserData" +_FLTSR = "FleetLaunchTemplateSpecificationRequest" +_Ve = "Version" +_LTSUD = "LaunchTemplateSpecificationUserData" +_FEBDR = "FleetEbsBlockDeviceRequest" +_VSol = "VolumeSize" +_FBDMR = "FleetBlockDeviceMappingRequest" +_VN = "VirtualName" +_Eb = "Ebs" +_ND = "NoDevice" +_FBDMRL = "FleetBlockDeviceMappingRequestList" +_BDM = "BlockDeviceMapping" +_FIIPSR = "FleetIamInstanceProfileSpecificationRequest" +_FIMES = "FleetInstanceMetadataEndpointState" +_DISABLED = "DISABLED" +_ENABLED = "ENABLED" +_FHTS = "FleetHttpTokensState" +_OPTIONAL = "OPTIONAL" +_opt = "optional" +_FIMOR = "FleetInstanceMetadataOptionsRequest" +_HTt = "HttpTokens" +_HPRHL = "HttpPutResponseHopLimit" +_HE = "HttpEndpoint" +_PGI = "PlacementGroupId" +_PGN = "PlacementGroupName" +_Pl = "Placement" +_aff = "affinity" +_PNa = "PartitionNumber" +_pN = "partitionNumber" +_HIo = "HostId" +_hI = "hostId" +_SDp = "SpreadDomain" +_sDp = "spreadDomain" +_HRGA = "HostResourceGroupArn" +_hRGA = "hostResourceGroupArn" +_FLTOR = "FleetLaunchTemplateOverridesRequest" +_MP = "MaxPrice" +_WC = "WeightedCapacity" +_KN = "KeyName" +_BDMl = "BlockDeviceMappings" +_MO = "MetadataOptions" +_FLTOLR = "FleetLaunchTemplateOverridesListRequest" +_FLTCR = "FleetLaunchTemplateConfigRequest" +_LTS = "LaunchTemplateSpecification" +_Ov = "Overrides" +_FLTCLR = "FleetLaunchTemplateConfigListRequest" +_FODAS = "FleetOnDemandAllocationStrategy" +_lp = "lowest-price" +_PRIORITIZED = "PRIORITIZED" +_prio = "prioritized" +_FCRUS = "FleetCapacityReservationUsageStrategy" +_UCRF = "USE_CAPACITY_RESERVATIONS_FIRST" +_ucrf = "use-capacity-reservations-first" +_CROR = "CapacityReservationOptionsRequest" +_USs = "UsageStrategy" +_ODOR = "OnDemandOptionsRequest" +_CRO = "CapacityReservationOptions" +_SIT = "SingleInstanceType" +_SAZ = "SingleAvailabilityZone" +_MTC = "MinTargetCapacity" +_MTP = "MaxTotalPrice" +_RCAS = "ReservedCapacityAllocationStrategy" +_RGN = "ResourceGroupName" +_CRRGAS = "CapacityReservationResourceGroupArnSet" +_FCRTR = "FleetCapacityReservationTargetRequest" +_CRIa = "CapacityReservationIds" +_CRRGA = "CapacityReservationResourceGroupArns" +_CRRGAa = "CapacityReservationResourceGroupArn" +_FRT = "FleetReservationType" +_ODCR = "ON_DEMAND_CAPACITY_RESERVATION" +_odcr = "on-demand-capacity-reservation" +_ICR = "INTERRUPTIBLE_CAPACITY_RESERVATION" +_icr = "interruptible-capacity-reservation" +_RTLR = "ReservationTypeListRequest" +_RCFMT = "ReservedCapacityFallbackMarketType" +_OD = "ON_DEMAND" +_od = "on-demand" +_RCFMTL = "ReservedCapacityFallbackMarketTypeList" +_RCFOR = "ReservedCapacityFallbackOptionsRequest" +_MTa = "MarketTypes" +_MTar = "MarketType" +_RCOR = "ReservedCapacityOptionsRequest" +_RTese = "ReservationTypes" +_CRTap = "CapacityReservationTarget" +_RCFO = "ReservedCapacityFallbackOptions" +_SASp = "SpotAllocationStrategy" +_co_ = "capacity-optimized" +_cop = "capacity-optimized-prioritized" +_pco = "price-capacity-optimized" +_SIIB = "SpotInstanceInterruptionBehavior" +_hib = "hibernate" +_stop = "stop" +_term = "terminate" +_FRS = "FleetReplacementStrategy" +_LAUNCH = "LAUNCH" +_laun = "launch" +_LBT_ = "LAUNCH_BEFORE_TERMINATE" +_lbt = "launch-before-terminate" +_FSCRR = "FleetSpotCapacityRebalanceRequest" +_RSep = "ReplacementStrategy" +_TD = "TerminationDelay" +_FSMSR = "FleetSpotMaintenanceStrategiesRequest" +_CRapa = "CapacityRebalance" +_SOR = "SpotOptionsRequest" +_MS = "MaintenanceStrategies" +_IIB = "InstanceInterruptionBehavior" +_IPTUC = "InstancePoolsToUseCount" +_DTCT = "DefaultTargetCapacityType" +_SPOT = "SPOT" +_spo = "spot" +_RC = "RESERVED_CAPACITY" +_rc = "reserved-capacity" +_TCUT = "TargetCapacityUnitType" +_TCSR = "TargetCapacitySpecificationRequest" +_ODTC = "OnDemandTargetCapacity" +_STC = "SpotTargetCapacity" +_FTl = "FleetType" +_REQUEST = "REQUEST" +_reque = "request" +_MAINTAIN = "MAINTAIN" +_mai = "maintain" +_INSTANT = "INSTANT" +_inst = "instant" +_CFIr = "CreateFleetInput" +_cCFR = "com.amazonaws.ec2#CreateFleetRequest" +_SO = "SpotOptions" +_ODO = "OnDemandOptions" +_RCO = "ReservedCapacityOptions" +_ECTP = "ExcessCapacityTerminationPolicy" +_LTC = "LaunchTemplateConfigs" +_TCS = "TargetCapacitySpecification" +_TIWE = "TerminateInstancesWithExpiration" +_VF = "ValidFrom" +_VU = "ValidUntil" +_RUI = "ReplaceUnhealthyInstances" +_Con = "Context" +_FLTS = "FleetLaunchTemplateSpecification" +_lTI = "launchTemplateId" +_lTN = "launchTemplateName" +_ver = "version" +_EBDR = "EbsBlockDeviceResponse" +_vSo = "volumeSize" +_BDMR = "BlockDeviceMappingResponse" +_vN = "virtualName" +_eb = "ebs" +_nD = "noDevice" +_BDMRL = "BlockDeviceMappingResponseList" +_PFR = "PerformanceFactorReference" +_iF = "instanceFamily" +_PFRS = "PerformanceFactorReferenceSet" +_CPF = "CpuPerformanceFactor" +_RSef = "ReferenceSet" +_rSef = "referenceSet" +_cpu = "cpu" +_VCCR = "VCpuCountRange" +_vCC = "vCpuCount" +_mMB = "memoryMiB" +_cMS = "cpuManufacturerSet" +_mGBPVC = "memoryGiBPerVCpu" +_eITS = "excludedInstanceTypeSet" +_iGS = "instanceGenerationSet" +_sMPPOLP = "spotMaxPricePercentageOverLowestPrice" +_oDMPPOLP = "onDemandMaxPricePercentageOverLowestPrice" +_bM = "bareMetal" +_bP = "burstablePerformance" +_rHS = "requireHibernateSupport" +_nIC = "networkInterfaceCount" +_lSo = "localStorage" +_lSTS = "localStorageTypeSet" +_tLSGB = "totalLocalStorageGB" +_bEBM = "baselineEbsBandwidthMbps" +_aTSc = "acceleratorTypeSet" +_aC = "acceleratorCount" +_aMSc = "acceleratorManufacturerSet" +_aNS = "acceleratorNameSet" +_aTMMB = "acceleratorTotalMemoryMiB" +_nBGe = "networkBandwidthGbps" +_aITS = "allowedInstanceTypeSet" +_mSPAPOOODP = "maxSpotPriceAsPercentageOfOptimalOnDemandPrice" +_bPF = "baselinePerformanceFactors" +_rEIT = "requireEncryptionInTransit" +_PRl = "PlacementResponse" +_FLTO = "FleetLaunchTemplateOverrides" +_mP = "maxPrice" +_wC = "weightedCapacity" +_pla = "placement" +_iRn = "instanceRequirements" +_BDMS = "BlockDeviceMappingSet" +_bDMS = "blockDeviceMappingSet" +_LTAOR = "LaunchTemplateAndOverridesResponse" +_lTS = "launchTemplateSpecification" +_ov = "overrides" +_ILn = "InstanceLifecycle" +_CFE = "CreateFleetError" +_LTAO = "LaunchTemplateAndOverrides" +_lTAO = "launchTemplateAndOverrides" +_Li = "Lifecycle" +_lif = "lifecycle" +_ECr = "ErrorCode" +_eCr = "errorCode" +_EM = "ErrorMessage" +_eM = "errorMessage" +_CFES = "CreateFleetErrorsSet" +_FIl = "FleetId" +_IISn = "InstanceIdsSet" +_PV = "PlatformValues" +_CFIre = "CreateFleetInstance" +_iIns = "instanceIds" +_Pla = "Platform" +_plat = "platform" +_CFIS = "CreateFleetInstancesSet" +_CFO = "CreateFleetOutput" +_cCFRo = "com.amazonaws.ec2#CreateFleetResult" +_fIl = "fleetId" +_Er = "Errors" +_ESr = "ErrorSet" +_eSr = "errorSet" +_Ins = "Instances" +_FIS = "FleetInstanceSet" +_fIS = "fleetInstanceSet" +_CF = "CreateFleet" +_DFF = "DestinationFileFormat" +_pt_ = "plain_text" +_pt__ = "plain-text" +_DOR = "DestinationOptionsRequest" +_FF = "FileFormat" +_HCPi = "HiveCompatiblePartitions" +_PHP = "PerHourPartition" +_LDT = "LogDestinationType" +_cwl = "cloud_watch_logs" +_cwl_ = "cloud-watch-logs" +_s_ = "s3" +_kdf = "kinesis_data_firehose" +_kdf_ = "kinesis-data-firehose" +_FLRI = "FlowLogResourceId" +_FLRIl = "FlowLogResourceIds" +_FLRT = "FlowLogsResourceType" +_VPC_ = "VPC" +_RNG = "RegionalNatGateway" +_CN = "CoreNetwork" +_CNE = "CoreNetworkEdge" +_CNAo = "CoreNetworkAttachment" +_TRT = "TaggableResourceType" +_asg = "auto_scaling_group" +_asg_ = "auto-scaling-group" +_ORper = "OperatorRequest" +_LT = "LaunchTemplate" +_CBr = "CreatedBy" +_cBr = "createdBy" +_DVN = "DefaultVersionNumber" +_dVN = "defaultVersionNumber" +_LVN = "LatestVersionNumber" +_lVN = "latestVersionNumber" +_DRRV = "DeleteReplacedRootVolume" +_RRVTI = "ReplaceRootVolumeTaskId" +_RRVT = "ReplaceRootVolumeTask" +_rRVTI = "replaceRootVolumeTaskId" +_CTom = "CompleteTime" +_cTom = "completeTime" +_dRRV = "deleteReplacedRootVolume" +_VSLe = "VersionStringList" +_EGI = "ElasticGpuId" +_FSRSC = "FastSnapshotRestoreStateCode" +_opti = "optimizing" +_pCr = "productCodes" +_BDML = "BlockDeviceMappingList" +_AVr = "ArchitectureValues" +_i__________________________________________________________________________ = "i386" +_x______________________________________________________ = "x86_64" +_arm = "arm64" +_xm____________ = "x86_64_mac" +_am______ = "arm64_mac" +_SLe = "SeverityLabel" +_inform = "informational" +_low = "low" +_medi = "medium" +_hig = "high" +_cri = "critical" +_SISL = "SnapshotIdStringList" +_SAN = "SnapshotAttributeName" +_cVP = "createVolumePermission" + +KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 0) + +VOLUME_TYPE: StaticSchema = ( + 14, + n0, + _VT, + 0, + (_stan, _io, _io_, _gp, _sc_, _st_, _gp_), + ( + (-1, {_sV: _stan}), + (-1, {_sV: _io}), + (-1, {_sV: _io_}), + (-1, {_sV: _gp}), + (-1, {_sV: _sc_}), + (-1, {_sV: _st_}), + (-1, {_sV: _gp_}), + ), +) + +OPERATOR_RESPONSE: StaticSchema = ( + 18, + n0, + _OR, + 0, + (_Man, _Pri, _HBD), + ( + (lambda: schemas.BOOLEAN, {_aQN: _Man, _sN: _man}), + (lambda: schemas.STRING, {_aQN: _Pri, _sN: _prin}), + (lambda: schemas.BOOLEAN, {_aQN: _HBD, _sN: _hBD}), + ), +) + +MAC_MODIFICATION_TASK_TYPE: StaticSchema = ( + 14, + n0, + _MMTT, + 0, + (_SIPM, _VOD), + ((-1, {_sV: _sm_}), (-1, {_sV: _vod})), +) + +MAC_MODIFICATION_TASK: StaticSchema = ( + 18, + n0, + _MMT, + 0, + (_II, _MMTI, _MSIPCa, _ST, _Tag, _TSas, _TT), + ( + (lambda: schemas.INSTANCE_ID, {_aQN: _II, _sN: _iI}), + (lambda: schemas.MAC_MODIFICATION_TASK_ID, {_aQN: _MMTI, _sN: _mMTI}), + ( + lambda: schemas.MAC_SYSTEM_INTEGRITY_PROTECTION_CONFIGURATION, + {_aQN: _MSIPCa, _sN: _mSIPC}, + ), + (lambda: schemas.MILLISECOND_DATE_TIME, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.MAC_MODIFICATION_TASK_STATE, {_aQN: _TSas, _sN: _tSa}), + (MAC_MODIFICATION_TASK_TYPE, {_aQN: _TT, _sN: _tT}), + ), +) + +NEW_DHCP_CONFIGURATION: StaticSchema = ( + 18, + n0, + _NDC, + 0, + (_Ke, _Val), + ( + (lambda: schemas.STRING, {_aQN: _Ke, _sN: _ke}), + (lambda: schemas.VALUE_STRING_LIST, {_sN: _Va}), + ), +) + +NEW_DHCP_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _NDCL, + 0, + (_me,), + ((NEW_DHCP_CONFIGURATION, {_sN: _i}),), +) + +CREATE_DHCP_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _CDOI, + {_sSI: _cCDOR, _sm: None}, + (_DCh, _TSa, _DR), + ( + (NEW_DHCP_CONFIGURATION_LIST, {_aQN: _DChc, _sN: _dCh, _smi: None}), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.BOOLEAN, {_aQN: _DR, _sN: _dRr}), + ), +) + +CREATE_DHCP_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _CDOO, + {_sSI: _cCDORo, _smit: None}, + (_DOh,), + ((lambda: DHCP_OPTIONS, {_aQN: _DOh, _sN: _dOh}),), +) + +CREATE_DHCP_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _CDO, + 0, + CREATE_DHCP_OPTIONS_INPUT, + CREATE_DHCP_OPTIONS_OUTPUT, + (), +) + +DHCP_CONFIGURATION_VALUE_LIST: StaticSchema = ( + 16, + n0, + _DCVL, + 0, + (_me,), + ((lambda: schemas.ATTRIBUTE_VALUE, {_sN: _i}),), +) + +DHCP_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DChc, + 0, + (_Ke, _Val), + ( + (lambda: schemas.STRING, {_aQN: _Ke, _sN: _ke}), + (DHCP_CONFIGURATION_VALUE_LIST, {_aQN: _VSa, _sN: _vSa}), + ), +) + +DHCP_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _DCL, + 0, + (_me,), + ((DHCP_CONFIGURATION, {_sN: _i}),), +) + +DHCP_OPTIONS: StaticSchema = ( + 18, + n0, + _DOh, + 0, + (_OIw, _Tag, _DOI, _DCh), + ( + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.STRING, {_aQN: _DOI, _sN: _dOI}), + (DHCP_CONFIGURATION_LIST, {_aQN: _DCS, _sN: _dCS}), + ), +) + +CREATE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _CEOIGI, + {_sSI: _cCEOIGR, _sm: None}, + (_CTl, _DR, _VI, _TSa), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.VPC_ID, 1), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + ), +) + +CREATE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _CEOIGO, + {_sSI: _cCEOIGRo, _smit: None}, + (_CTl, _EOIG), + ( + (lambda: schemas.STRING, {_aQN: _CTl, _sN: _cTl}), + (lambda: EGRESS_ONLY_INTERNET_GATEWAY, {_aQN: _EOIG, _sN: _eOIG}), + ), +) + +CREATE_EGRESS_ONLY_INTERNET_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _CEOIG, + 0, + CREATE_EGRESS_ONLY_INTERNET_GATEWAY_INPUT, + CREATE_EGRESS_ONLY_INTERNET_GATEWAY_OUTPUT, + (), +) + +INTERNET_GATEWAY_ATTACHMENT: StaticSchema = ( + 18, + n0, + _IGA, + 0, + (_St, _VI), + ( + (lambda: schemas.ATTACHMENT_STATUS, {_aQN: _St, _sN: _st}), + (lambda: schemas.STRING, {_aQN: _VI, _sN: _vI}), + ), +) + +INTERNET_GATEWAY_ATTACHMENT_LIST: StaticSchema = ( + 16, + n0, + _IGAL, + 0, + (_me,), + ((INTERNET_GATEWAY_ATTACHMENT, {_sN: _i}),), +) + +EGRESS_ONLY_INTERNET_GATEWAY: StaticSchema = ( + 18, + n0, + _EOIG, + 0, + (_Att, _EOIGI, _Tag), + ( + (INTERNET_GATEWAY_ATTACHMENT_LIST, {_aQN: _AStt, _sN: _aSt}), + (lambda: schemas.EGRESS_ONLY_INTERNET_GATEWAY_ID, {_aQN: _EOIGI, _sN: _eOIGI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +FLEET_EXCESS_CAPACITY_TERMINATION_POLICY: StaticSchema = ( + 14, + n0, + _FECTP, + 0, + (_NT, _TERMINATION), + ((-1, {_sV: _nt}), (-1, {_sV: _ter})), +) + +LAUNCH_TEMPLATE_ID: StaticSchema = (3, n0, _LTI, 0) + +LAUNCH_TEMPLATE_NAME: StaticSchema = (3, n0, _LTN, 0) + +SENSITIVE_USER_DATA: StaticSchema = (3, n0, _SUD, 4) + +FLEET_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _FLTSR, + 0, + (_LTI, _LTN, _Ve, _LTSUD), + ( + (LAUNCH_TEMPLATE_ID, 0), + (LAUNCH_TEMPLATE_NAME, 0), + (lambda: schemas.STRING, 0), + (SENSITIVE_USER_DATA, 0), + ), +) + +SNAPSHOT_ID: StaticSchema = (3, n0, _SIn, 0) + +FLEET_EBS_BLOCK_DEVICE_REQUEST: StaticSchema = ( + 18, + n0, + _FEBDR, + 0, + (_En, _DOT, _Io, _Th, _KKI, _SIn, _VSol, _VT), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (KMS_KEY_ID, 0), + (SNAPSHOT_ID, 0), + (lambda: schemas.INTEGER, 0), + (VOLUME_TYPE, 0), + ), +) + +FLEET_BLOCK_DEVICE_MAPPING_REQUEST: StaticSchema = ( + 18, + n0, + _FBDMR, + 0, + (_DNe, _VN, _Eb, _ND), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (FLEET_EBS_BLOCK_DEVICE_REQUEST, 0), + (lambda: schemas.STRING, 0), + ), +) + +FLEET_BLOCK_DEVICE_MAPPING_REQUEST_LIST: StaticSchema = ( + 16, + n0, + _FBDMRL, + 0, + (_me,), + ((FLEET_BLOCK_DEVICE_MAPPING_REQUEST, {_sN: _BDM}),), +) + +FLEET_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _FIIPSR, + 0, + (_Ar, _N), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +FLEET_INSTANCE_METADATA_ENDPOINT_STATE: StaticSchema = ( + 14, + n0, + _FIMES, + 0, + (_DISABLED, _ENABLED), + ((-1, {_sV: _d}), (-1, {_sV: _ena})), +) + +FLEET_HTTP_TOKENS_STATE: StaticSchema = ( + 14, + n0, + _FHTS, + 0, + (_OPTIONAL, _REQUIRED), + ((-1, {_sV: _opt}), (-1, {_sV: _requ})), +) + +FLEET_INSTANCE_METADATA_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _FIMOR, + 0, + (_HTt, _HPRHL, _HE), + ( + (FLEET_HTTP_TOKENS_STATE, 0), + (lambda: schemas.INTEGER, 0), + (FLEET_INSTANCE_METADATA_ENDPOINT_STATE, 0), + ), +) + +PLACEMENT_GROUP_ID: StaticSchema = (3, n0, _PGI, 0) + +PLACEMENT_GROUP_NAME: StaticSchema = (3, n0, _PGN, 0) + +PLACEMENT: StaticSchema = ( + 18, + n0, + _Pl, + 0, + (_AZI, _Af, _GN, _PNa, _HIo, _Ten, _SDp, _HRGA, _GIr, _AZ), + ( + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.STRING, {_aQN: _Af, _sN: _aff}), + (PLACEMENT_GROUP_NAME, {_aQN: _GN, _sN: _gN}), + (lambda: schemas.INTEGER, {_aQN: _PNa, _sN: _pN}), + (lambda: schemas.STRING, {_aQN: _HIo, _sN: _hI}), + (lambda: schemas.TENANCY, {_aQN: _Ten, _sN: _ten}), + (lambda: schemas.STRING, {_aQN: _SDp, _sN: _sDp}), + (lambda: schemas.STRING, {_aQN: _HRGA, _sN: _hRGA}), + (PLACEMENT_GROUP_ID, {_aQN: _GIr, _sN: _gIr}), + (lambda: schemas.STRING, {_aQN: _AZ, _sN: _aZ}), + ), +) + +FLEET_LAUNCH_TEMPLATE_OVERRIDES_REQUEST: StaticSchema = ( + 18, + n0, + _FLTOR, + 0, + (_IT, _MP, _SIu, _AZ, _WC, _Pr, _Pl, _KN, _BDMl, _IIP, _MO, _IRn, _IIm, _AZI), + ( + (lambda: schemas.INSTANCE_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SUBNET_ID, 0), + (lambda: schemas.AVAILABILITY_ZONE_NAME, 0), + (lambda: schemas.DOUBLE, 0), + (lambda: schemas.DOUBLE, 0), + (PLACEMENT, 0), + (lambda: schemas.STRING, 0), + (FLEET_BLOCK_DEVICE_MAPPING_REQUEST_LIST, {_sN: _BDM}), + (FLEET_IAM_INSTANCE_PROFILE_SPECIFICATION_REQUEST, 0), + (FLEET_INSTANCE_METADATA_OPTIONS_REQUEST, 0), + (lambda: schemas.INSTANCE_REQUIREMENTS_REQUEST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.AVAILABILITY_ZONE_ID, 0), + ), +) + +FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _FLTOLR, + 0, + (_me,), + ((FLEET_LAUNCH_TEMPLATE_OVERRIDES_REQUEST, {_sN: _i}),), +) + +FLEET_LAUNCH_TEMPLATE_CONFIG_REQUEST: StaticSchema = ( + 18, + n0, + _FLTCR, + 0, + (_LTS, _Ov), + ( + (FLEET_LAUNCH_TEMPLATE_SPECIFICATION_REQUEST, 0), + (FLEET_LAUNCH_TEMPLATE_OVERRIDES_LIST_REQUEST, 0), + ), +) + +FLEET_LAUNCH_TEMPLATE_CONFIG_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _FLTCLR, + 0, + (_me,), + ((FLEET_LAUNCH_TEMPLATE_CONFIG_REQUEST, {_sN: _i}),), +) + +FLEET_ON_DEMAND_ALLOCATION_STRATEGY: StaticSchema = ( + 14, + n0, + _FODAS, + 0, + (_LP, _PRIORITIZED), + ((-1, {_sV: _lp}), (-1, {_sV: _prio})), +) + +FLEET_CAPACITY_RESERVATION_USAGE_STRATEGY: StaticSchema = ( + 14, + n0, + _FCRUS, + 0, + (_UCRF,), + ((-1, {_sV: _ucrf}),), +) + +CAPACITY_RESERVATION_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _CROR, + 0, + (_USs,), + ((FLEET_CAPACITY_RESERVATION_USAGE_STRATEGY, 0),), +) + +ON_DEMAND_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _ODOR, + 0, + (_ASll, _CRO, _SIT, _SAZ, _MTC, _MTP), + ( + (FLEET_ON_DEMAND_ALLOCATION_STRATEGY, 0), + (CAPACITY_RESERVATION_OPTIONS_REQUEST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +RESERVED_CAPACITY_ALLOCATION_STRATEGY: StaticSchema = ( + 14, + n0, + _RCAS, + 0, + (_PRIORITIZED,), + ((-1, {_sV: _prio}),), +) + +RESOURCE_GROUP_NAME: StaticSchema = (3, n0, _RGN, 0) + +CAPACITY_RESERVATION_RESOURCE_GROUP_ARN_SET: StaticSchema = ( + 16, + n0, + _CRRGAS, + 0, + (_me,), + ((RESOURCE_GROUP_NAME, {_sN: _i}),), +) + +FLEET_CAPACITY_RESERVATION_TARGET_REQUEST: StaticSchema = ( + 18, + n0, + _FCRTR, + 0, + (_CRIa, _CRRGA), + ( + (lambda: schemas.CAPACITY_RESERVATION_ID_SET, {_sN: _CRI}), + (CAPACITY_RESERVATION_RESOURCE_GROUP_ARN_SET, {_sN: _CRRGAa}), + ), +) + +FLEET_RESERVATION_TYPE: StaticSchema = ( + 14, + n0, + _FRT, + 0, + (_ODCR, _CB_, _ICR), + ((-1, {_sV: _odcr}), (-1, {_sV: _cb_}), (-1, {_sV: _icr})), +) + +RESERVATION_TYPE_LIST_REQUEST: StaticSchema = ( + 16, + n0, + _RTLR, + 0, + (_me,), + ((FLEET_RESERVATION_TYPE, {_sN: _RTes}),), +) + +RESERVED_CAPACITY_FALLBACK_MARKET_TYPE: StaticSchema = ( + 14, + n0, + _RCFMT, + 0, + (_OD,), + ((-1, {_sV: _od}),), +) + +RESERVED_CAPACITY_FALLBACK_MARKET_TYPE_LIST: StaticSchema = ( + 16, + n0, + _RCFMTL, + 0, + (_me,), + ((RESERVED_CAPACITY_FALLBACK_MARKET_TYPE, {_sN: _i}),), +) + +RESERVED_CAPACITY_FALLBACK_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _RCFOR, + 0, + (_MTa,), + ((RESERVED_CAPACITY_FALLBACK_MARKET_TYPE_LIST, {_sN: _MTar}),), +) + +RESERVED_CAPACITY_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _RCOR, + 0, + (_ASll, _RTese, _CRTap, _RCFO), + ( + (RESERVED_CAPACITY_ALLOCATION_STRATEGY, 0), + (RESERVATION_TYPE_LIST_REQUEST, {_sN: _RTes}), + (FLEET_CAPACITY_RESERVATION_TARGET_REQUEST, 0), + (RESERVED_CAPACITY_FALLBACK_OPTIONS_REQUEST, 0), + ), +) + +SPOT_ALLOCATION_STRATEGY: StaticSchema = ( + 14, + n0, + _SASp, + 0, + (_LP, _DIVERSIFIED, _CO_, _COP, _PCO), + ( + (-1, {_sV: _lp}), + (-1, {_sV: _div}), + (-1, {_sV: _co_}), + (-1, {_sV: _cop}), + (-1, {_sV: _pco}), + ), +) + +SPOT_INSTANCE_INTERRUPTION_BEHAVIOR: StaticSchema = ( + 14, + n0, + _SIIB, + 0, + (_hib, _stop, _term), + ((-1, {_sV: _hib}), (-1, {_sV: _stop}), (-1, {_sV: _term})), +) + +FLEET_REPLACEMENT_STRATEGY: StaticSchema = ( + 14, + n0, + _FRS, + 0, + (_LAUNCH, _LBT_), + ((-1, {_sV: _laun}), (-1, {_sV: _lbt})), +) + +FLEET_SPOT_CAPACITY_REBALANCE_REQUEST: StaticSchema = ( + 18, + n0, + _FSCRR, + 0, + (_RSep, _TD), + ((FLEET_REPLACEMENT_STRATEGY, 0), (lambda: schemas.INTEGER, 0)), +) + +FLEET_SPOT_MAINTENANCE_STRATEGIES_REQUEST: StaticSchema = ( + 18, + n0, + _FSMSR, + 0, + (_CRapa,), + ((FLEET_SPOT_CAPACITY_REBALANCE_REQUEST, 0),), +) + +SPOT_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _SOR, + 0, + (_ASll, _MS, _IIB, _IPTUC, _SIT, _SAZ, _MTC, _MTP), + ( + (SPOT_ALLOCATION_STRATEGY, 0), + (FLEET_SPOT_MAINTENANCE_STRATEGIES_REQUEST, 0), + (SPOT_INSTANCE_INTERRUPTION_BEHAVIOR, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DEFAULT_TARGET_CAPACITY_TYPE: StaticSchema = ( + 14, + n0, + _DTCT, + 0, + (_SPOT, _OD, _CB_, _RC), + ((-1, {_sV: _spo}), (-1, {_sV: _od}), (-1, {_sV: _cb_}), (-1, {_sV: _rc})), +) + +TARGET_CAPACITY_SPECIFICATION_REQUEST: StaticSchema = ( + 18, + n0, + _TCSR, + 0, + (_TTC, _ODTC, _STC, _DTCT, _TCUT), + ( + (lambda: schemas.INTEGER, 1), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (DEFAULT_TARGET_CAPACITY_TYPE, 0), + (lambda: schemas.TARGET_CAPACITY_UNIT_TYPE, 0), + ), +) + +FLEET_TYPE: StaticSchema = ( + 14, + n0, + _FTl, + 0, + (_REQUEST, _MAINTAIN, _INSTANT), + ((-1, {_sV: _reque}), (-1, {_sV: _mai}), (-1, {_sV: _inst})), +) + +CREATE_FLEET_INPUT: StaticSchema = ( + 18, + n0, + _CFIr, + {_sSI: _cCFR, _sm: None}, + ( + _DR, + _CTl, + _SO, + _ODO, + _RCO, + _ECTP, + _LTC, + _TCS, + _TIWE, + _Ty, + _VF, + _VU, + _RUI, + _TSa, + _Con, + ), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 2), + (SPOT_OPTIONS_REQUEST, 0), + (ON_DEMAND_OPTIONS_REQUEST, 0), + (RESERVED_CAPACITY_OPTIONS_REQUEST, 0), + (FLEET_EXCESS_CAPACITY_TERMINATION_POLICY, 0), + (FLEET_LAUNCH_TEMPLATE_CONFIG_LIST_REQUEST, 1), + (TARGET_CAPACITY_SPECIFICATION_REQUEST, 1), + (lambda: schemas.BOOLEAN, 0), + (FLEET_TYPE, 0), + (lambda: schemas.DATE_TIME, 0), + (lambda: schemas.DATE_TIME, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, {_sN: _TS}), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_FLEET_OUTPUT: StaticSchema = ( + 18, + n0, + _CFO, + {_sSI: _cCFRo, _smit: None}, + (_FIl, _Er, _Ins), + ( + (lambda: FLEET_ID, {_aQN: _FIl, _sN: _fIl}), + (lambda: CREATE_FLEET_ERRORS_SET, {_aQN: _ESr, _sN: _eSr}), + (lambda: CREATE_FLEET_INSTANCES_SET, {_aQN: _FIS, _sN: _fIS}), + ), +) + +CREATE_FLEET: StaticOperationSchema = ( + 23, + n0, + _CF, + 0, + CREATE_FLEET_INPUT, + CREATE_FLEET_OUTPUT, + (), +) + +FLEET_LAUNCH_TEMPLATE_SPECIFICATION: StaticSchema = ( + 18, + n0, + _FLTS, + 0, + (_LTI, _LTN, _Ve), + ( + (lambda: schemas.STRING, {_aQN: _LTI, _sN: _lTI}), + (LAUNCH_TEMPLATE_NAME, {_aQN: _LTN, _sN: _lTN}), + (lambda: schemas.STRING, {_aQN: _Ve, _sN: _ver}), + ), +) + +EBS_BLOCK_DEVICE_RESPONSE: StaticSchema = ( + 18, + n0, + _EBDR, + 0, + (_En, _DOT, _Io, _Th, _KKI, _SIn, _VSol, _VT), + ( + (lambda: schemas.BOOLEAN, {_aQN: _En, _sN: _enc}), + (lambda: schemas.BOOLEAN, {_aQN: _DOT, _sN: _dOT}), + (lambda: schemas.INTEGER, {_aQN: _Io, _sN: _iop}), + (lambda: schemas.INTEGER, {_aQN: _Th, _sN: _thr}), + (KMS_KEY_ID, {_aQN: _KKI, _sN: _kKI}), + (SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.INTEGER, {_aQN: _VSol, _sN: _vSo}), + (VOLUME_TYPE, {_aQN: _VT, _sN: _vT}), + ), +) + +BLOCK_DEVICE_MAPPING_RESPONSE: StaticSchema = ( + 18, + n0, + _BDMR, + 0, + (_DNe, _VN, _Eb, _ND), + ( + (lambda: schemas.STRING, {_aQN: _DNe, _sN: _dNe}), + (lambda: schemas.STRING, {_aQN: _VN, _sN: _vN}), + (EBS_BLOCK_DEVICE_RESPONSE, {_aQN: _Eb, _sN: _eb}), + (lambda: schemas.STRING, {_aQN: _ND, _sN: _nD}), + ), +) + +BLOCK_DEVICE_MAPPING_RESPONSE_LIST: StaticSchema = ( + 16, + n0, + _BDMRL, + 0, + (_me,), + ((BLOCK_DEVICE_MAPPING_RESPONSE, {_sN: _i}),), +) + +BASELINE_EBS_BANDWIDTH_MBPS: StaticSchema = ( + 18, + n0, + _BEBM, + 0, + (_M, _Ma), + ( + (lambda: schemas.INTEGER, {_aQN: _M, _sN: _m}), + (lambda: schemas.INTEGER, {_aQN: _Ma, _sN: _ma}), + ), +) + +PERFORMANCE_FACTOR_REFERENCE: StaticSchema = ( + 18, + n0, + _PFR, + 0, + (_IF,), + ((lambda: schemas.STRING, {_aQN: _IF, _sN: _iF}),), +) + +PERFORMANCE_FACTOR_REFERENCE_SET: StaticSchema = ( + 16, + n0, + _PFRS, + 0, + (_me,), + ((PERFORMANCE_FACTOR_REFERENCE, {_sN: _i}),), +) + +CPU_PERFORMANCE_FACTOR: StaticSchema = ( + 18, + n0, + _CPF, + 0, + (_Ref,), + ((PERFORMANCE_FACTOR_REFERENCE_SET, {_aQN: _RSef, _sN: _rSef}),), +) + +BASELINE_PERFORMANCE_FACTORS: StaticSchema = ( + 18, + n0, + _BPF, + 0, + (_Cp,), + ((CPU_PERFORMANCE_FACTOR, {_aQN: _Cp, _sN: _cpu}),), +) + +MEMORY_GI_B_PER_V_CPU: StaticSchema = ( + 18, + n0, + _MGBPVC, + 0, + (_M, _Ma), + ( + (lambda: schemas.DOUBLE, {_aQN: _M, _sN: _m}), + (lambda: schemas.DOUBLE, {_aQN: _Ma, _sN: _ma}), + ), +) + +MEMORY_MI_B: StaticSchema = ( + 18, + n0, + _MMB, + 0, + (_M, _Ma), + ( + (lambda: schemas.INTEGER, {_aQN: _M, _sN: _m}), + (lambda: schemas.INTEGER, {_aQN: _Ma, _sN: _ma}), + ), +) + +NETWORK_BANDWIDTH_GBPS: StaticSchema = ( + 18, + n0, + _NBGe, + 0, + (_M, _Ma), + ( + (lambda: schemas.DOUBLE, {_aQN: _M, _sN: _m}), + (lambda: schemas.DOUBLE, {_aQN: _Ma, _sN: _ma}), + ), +) + +NETWORK_INTERFACE_COUNT: StaticSchema = ( + 18, + n0, + _NIC, + 0, + (_M, _Ma), + ( + (lambda: schemas.INTEGER, {_aQN: _M, _sN: _m}), + (lambda: schemas.INTEGER, {_aQN: _Ma, _sN: _ma}), + ), +) + +TOTAL_LOCAL_STORAGE_GB: StaticSchema = ( + 18, + n0, + _TLSGB, + 0, + (_M, _Ma), + ( + (lambda: schemas.DOUBLE, {_aQN: _M, _sN: _m}), + (lambda: schemas.DOUBLE, {_aQN: _Ma, _sN: _ma}), + ), +) + +V_CPU_COUNT_RANGE: StaticSchema = ( + 18, + n0, + _VCCR, + 0, + (_M, _Ma), + ( + (lambda: schemas.INTEGER, {_aQN: _M, _sN: _m}), + (lambda: schemas.INTEGER, {_aQN: _Ma, _sN: _ma}), + ), +) + +INSTANCE_REQUIREMENTS: StaticSchema = ( + 18, + n0, + _IRn, + 0, + ( + _VCC, + _MMB, + _CMp, + _MGBPVC, + _EITx, + _IGns, + _SMPPOLP, + _ODMPPOLP, + _BM, + _BP, + _RHS, + _NIC, + _LSo, + _LSTo, + _TLSGB, + _BEBM, + _ATc, + _AC, + _AMc, + _ANc, + _ATMMB, + _NBGe, + _AITl, + _MSPAPOOODP, + _BPF, + _REIT, + ), + ( + (V_CPU_COUNT_RANGE, {_aQN: _VCC, _sN: _vCC}), + (MEMORY_MI_B, {_aQN: _MMB, _sN: _mMB}), + (lambda: schemas.CPU_MANUFACTURER_SET, {_aQN: _CMS, _sN: _cMS}), + (MEMORY_GI_B_PER_V_CPU, {_aQN: _MGBPVC, _sN: _mGBPVC}), + (lambda: schemas.EXCLUDED_INSTANCE_TYPE_SET, {_aQN: _EITS, _sN: _eITS}), + (lambda: schemas.INSTANCE_GENERATION_SET, {_aQN: _IGS, _sN: _iGS}), + (lambda: schemas.INTEGER, {_aQN: _SMPPOLP, _sN: _sMPPOLP}), + (lambda: schemas.INTEGER, {_aQN: _ODMPPOLP, _sN: _oDMPPOLP}), + (lambda: schemas.BARE_METAL, {_aQN: _BM, _sN: _bM}), + (lambda: schemas.BURSTABLE_PERFORMANCE, {_aQN: _BP, _sN: _bP}), + (lambda: schemas.BOOLEAN, {_aQN: _RHS, _sN: _rHS}), + (NETWORK_INTERFACE_COUNT, {_aQN: _NIC, _sN: _nIC}), + (lambda: schemas.LOCAL_STORAGE, {_aQN: _LSo, _sN: _lSo}), + (lambda: schemas.LOCAL_STORAGE_TYPE_SET, {_aQN: _LSTS, _sN: _lSTS}), + (TOTAL_LOCAL_STORAGE_GB, {_aQN: _TLSGB, _sN: _tLSGB}), + (BASELINE_EBS_BANDWIDTH_MBPS, {_aQN: _BEBM, _sN: _bEBM}), + (lambda: schemas.ACCELERATOR_TYPE_SET, {_aQN: _ATS, _sN: _aTSc}), + (lambda: schemas.ACCELERATOR_COUNT, {_aQN: _AC, _sN: _aC}), + (lambda: schemas.ACCELERATOR_MANUFACTURER_SET, {_aQN: _AMS, _sN: _aMSc}), + (lambda: schemas.ACCELERATOR_NAME_SET, {_aQN: _ANS, _sN: _aNS}), + (lambda: schemas.ACCELERATOR_TOTAL_MEMORY_MI_B, {_aQN: _ATMMB, _sN: _aTMMB}), + (NETWORK_BANDWIDTH_GBPS, {_aQN: _NBGe, _sN: _nBGe}), + (lambda: schemas.ALLOWED_INSTANCE_TYPE_SET, {_aQN: _AITS, _sN: _aITS}), + (lambda: schemas.INTEGER, {_aQN: _MSPAPOOODP, _sN: _mSPAPOOODP}), + (BASELINE_PERFORMANCE_FACTORS, {_aQN: _BPF, _sN: _bPF}), + (lambda: schemas.BOOLEAN, {_aQN: _REIT, _sN: _rEIT}), + ), +) + +PLACEMENT_RESPONSE: StaticSchema = ( + 18, + n0, + _PRl, + 0, + (_GN,), + ((PLACEMENT_GROUP_NAME, {_aQN: _GN, _sN: _gN}),), +) + +FLEET_LAUNCH_TEMPLATE_OVERRIDES: StaticSchema = ( + 18, + n0, + _FLTO, + 0, + (_IT, _MP, _SIu, _AZ, _WC, _Pr, _Pl, _IRn, _IIm, _BDMl, _AZI), + ( + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (lambda: schemas.STRING, {_aQN: _MP, _sN: _mP}), + (lambda: schemas.STRING, {_aQN: _SIu, _sN: _sI}), + (lambda: schemas.AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.DOUBLE, {_aQN: _WC, _sN: _wC}), + (lambda: schemas.DOUBLE, {_aQN: _Pr, _sN: _pri}), + (PLACEMENT_RESPONSE, {_aQN: _Pl, _sN: _pla}), + (INSTANCE_REQUIREMENTS, {_aQN: _IRn, _sN: _iRn}), + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (BLOCK_DEVICE_MAPPING_RESPONSE_LIST, {_aQN: _BDMS, _sN: _bDMS}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + ), +) + +LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE: StaticSchema = ( + 18, + n0, + _LTAOR, + 0, + (_LTS, _Ov), + ( + (FLEET_LAUNCH_TEMPLATE_SPECIFICATION, {_aQN: _LTS, _sN: _lTS}), + (FLEET_LAUNCH_TEMPLATE_OVERRIDES, {_aQN: _Ov, _sN: _ov}), + ), +) + +INSTANCE_LIFECYCLE: StaticSchema = ( + 14, + n0, + _ILn, + 0, + (_SPOT, _OD, _ICR, _CB_), + ((-1, {_sV: _spo}), (-1, {_sV: _od}), (-1, {_sV: _icr}), (-1, {_sV: _cb_})), +) + +CREATE_FLEET_ERROR: StaticSchema = ( + 18, + n0, + _CFE, + 0, + (_LTAO, _Li, _ECr, _EM), + ( + (LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE, {_aQN: _LTAO, _sN: _lTAO}), + (INSTANCE_LIFECYCLE, {_aQN: _Li, _sN: _lif}), + (lambda: schemas.STRING, {_aQN: _ECr, _sN: _eCr}), + (lambda: schemas.STRING, {_aQN: _EM, _sN: _eM}), + ), +) + +CREATE_FLEET_ERRORS_SET: StaticSchema = ( + 16, + n0, + _CFES, + 0, + (_me,), + ((CREATE_FLEET_ERROR, {_sN: _i}),), +) + +FLEET_ID: StaticSchema = (3, n0, _FIl, 0) + +INSTANCE_IDS_SET: StaticSchema = ( + 16, + n0, + _IISn, + 0, + (_me,), + ((lambda: schemas.INSTANCE_ID, {_sN: _i}),), +) + +PLATFORM_VALUES: StaticSchema = (14, n0, _PV, 0, (_W,), ((-1, {_sV: _W}),)) + +CREATE_FLEET_INSTANCE: StaticSchema = ( + 18, + n0, + _CFIre, + 0, + (_LTAO, _Li, _IIn, _IT, _Pla, _AZI, _AZ, _SIu), + ( + (LAUNCH_TEMPLATE_AND_OVERRIDES_RESPONSE, {_aQN: _LTAO, _sN: _lTAO}), + (INSTANCE_LIFECYCLE, {_aQN: _Li, _sN: _lif}), + (INSTANCE_IDS_SET, {_aQN: _IIn, _sN: _iIns}), + (lambda: schemas.INSTANCE_TYPE, {_aQN: _IT, _sN: _iT}), + (PLATFORM_VALUES, {_aQN: _Pla, _sN: _plat}), + (lambda: schemas.AVAILABILITY_ZONE_ID, {_aQN: _AZI, _sN: _aZI}), + (lambda: schemas.AVAILABILITY_ZONE_NAME, {_aQN: _AZ, _sN: _aZ}), + (lambda: schemas.SUBNET_ID, {_aQN: _SIu, _sN: _sI}), + ), +) + +CREATE_FLEET_INSTANCES_SET: StaticSchema = ( + 16, + n0, + _CFIS, + 0, + (_me,), + ((CREATE_FLEET_INSTANCE, {_sN: _i}),), +) + +DESTINATION_FILE_FORMAT: StaticSchema = ( + 14, + n0, + _DFF, + 0, + (_pt_, _par), + ((-1, {_sV: _pt__}), (-1, {_sV: _par})), +) + +DESTINATION_OPTIONS_REQUEST: StaticSchema = ( + 18, + n0, + _DOR, + 0, + (_FF, _HCPi, _PHP), + ( + (DESTINATION_FILE_FORMAT, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +LOG_DESTINATION_TYPE: StaticSchema = ( + 14, + n0, + _LDT, + 0, + (_cwl, _s_, _kdf), + ((-1, {_sV: _cwl_}), (-1, {_sV: _s_}), (-1, {_sV: _kdf_})), +) + +FLOW_LOG_RESOURCE_ID: StaticSchema = (3, n0, _FLRI, 0) + +FLOW_LOG_RESOURCE_IDS: StaticSchema = ( + 16, + n0, + _FLRIl, + 0, + (_me,), + ((FLOW_LOG_RESOURCE_ID, {_sN: _i}),), +) + +FLOW_LOGS_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _FLRT, + 0, + (_VPC_, _Sub, _NI, _TGr, _TGA, _RNG, _CN, _CNE, _CNAo), + ( + (-1, {_sV: _VPC_}), + (-1, {_sV: _Sub}), + (-1, {_sV: _NI}), + (-1, {_sV: _TGr}), + (-1, {_sV: _TGA}), + (-1, {_sV: _RNG}), + (-1, {_sV: _CN}), + (-1, {_sV: _CNE}), + (-1, {_sV: _CNAo}), + ), +) + +TAGGABLE_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _TRT, + 0, + (_ni, _ins, _asg), + ((-1, {_sV: _ni_}), (-1, {_sV: _ins}), (-1, {_sV: _asg_})), +) + +INTERNET_GATEWAY: StaticSchema = ( + 18, + n0, + _IG, + 0, + (_Att, _IGI, _OIw, _Tag), + ( + (INTERNET_GATEWAY_ATTACHMENT_LIST, {_aQN: _AStt, _sN: _aSt}), + (lambda: schemas.STRING, {_aQN: _IGI, _sN: _iGI}), + (lambda: schemas.STRING, {_aQN: _OIw, _sN: _oI}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + ), +) + +OPERATOR_REQUEST: StaticSchema = ( + 18, + n0, + _ORper, + 0, + (_Pri,), + ((lambda: schemas.STRING, 0),), +) + +LAUNCH_TEMPLATE: StaticSchema = ( + 18, + n0, + _LT, + 0, + (_LTI, _LTN, _CTr, _CBr, _DVN, _LVN, _Tag, _Op), + ( + (lambda: schemas.STRING, {_aQN: _LTI, _sN: _lTI}), + (LAUNCH_TEMPLATE_NAME, {_aQN: _LTN, _sN: _lTN}), + (lambda: schemas.DATE_TIME, {_aQN: _CTr, _sN: _cTr}), + (lambda: schemas.STRING, {_aQN: _CBr, _sN: _cBr}), + (lambda: schemas.LONG, {_aQN: _DVN, _sN: _dVN}), + (lambda: schemas.LONG, {_aQN: _LVN, _sN: _lVN}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (OPERATOR_RESPONSE, {_aQN: _Op, _sN: _ope}), + ), +) + +REPLACE_ROOT_VOLUME_TASK: StaticSchema = ( + 18, + n0, + _RRVT, + 0, + (_RRVTI, _II, _TSas, _ST, _CTom, _Tag, _IIm, _SIn, _DRRV), + ( + (lambda: schemas.REPLACE_ROOT_VOLUME_TASK_ID, {_aQN: _RRVTI, _sN: _rRVTI}), + (lambda: schemas.STRING, {_aQN: _II, _sN: _iI}), + (lambda: schemas.REPLACE_ROOT_VOLUME_TASK_STATE, {_aQN: _TSas, _sN: _tSa}), + (lambda: schemas.STRING, {_aQN: _ST, _sN: _sTt}), + (lambda: schemas.STRING, {_aQN: _CTom, _sN: _cTom}), + (lambda: schemas.TAG_LIST, {_aQN: _TSag, _sN: _tS}), + (lambda: schemas.IMAGE_ID, {_aQN: _IIm, _sN: _iIm}), + (SNAPSHOT_ID, {_aQN: _SIn, _sN: _sIn}), + (lambda: schemas.BOOLEAN, {_aQN: _DRRV, _sN: _dRRV}), + ), +) + +VERSION_STRING_LIST: StaticSchema = ( + 16, + n0, + _VSLe, + 0, + (_me,), + ((lambda: schemas.STRING, {_sN: _i}),), +) + +ELASTIC_GPU_ID: StaticSchema = (3, n0, _EGI, 0) + +FAST_SNAPSHOT_RESTORE_STATE_CODE: StaticSchema = ( + 14, + n0, + _FSRSC, + 0, + (_en, _opti, _ena, _disab, _d), + ( + (-1, {_sV: _en}), + (-1, {_sV: _opti}), + (-1, {_sV: _ena}), + (-1, {_sV: _disab}), + (-1, {_sV: _d}), + ), +) + +BLOCK_DEVICE_MAPPING_LIST: StaticSchema = ( + 16, + n0, + _BDML, + 0, + (_me,), + ((lambda: schemas.BLOCK_DEVICE_MAPPING, {_sN: _i}),), +) + +ARCHITECTURE_VALUES: StaticSchema = ( + 14, + n0, + _AVr, + 0, + ( + _i__________________________________________________________________________, + _x______________________________________________________, + _arm, + _xm____________, + _am______, + ), + ( + ( + -1, + { + _sV: _i__________________________________________________________________________ + }, + ), + (-1, {_sV: _x______________________________________________________}), + (-1, {_sV: _arm}), + (-1, {_sV: _xm____________}), + (-1, {_sV: _am______}), + ), +) + +SEVERITY_LABEL: StaticSchema = ( + 14, + n0, + _SLe, + 0, + (_inform, _low, _medi, _hig, _cri), + ( + (-1, {_sV: _inform}), + (-1, {_sV: _low}), + (-1, {_sV: _medi}), + (-1, {_sV: _hig}), + (-1, {_sV: _cri}), + ), +) + +SNAPSHOT_ID_STRING_LIST: StaticSchema = ( + 16, + n0, + _SISL, + 0, + (_me,), + ((SNAPSHOT_ID, {_sN: _SIn}),), +) + +SNAPSHOT_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _SAN, + 0, + (_pCr, _cVP), + ((-1, {_sV: _pCr}), (-1, {_sV: _cVP})), +) diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/aio/client.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/aio/client.py index 0b856dcdd..dca1fc829 100644 --- a/clients/aws-sdk-ec2/src/aws_sdk_ec2/aio/client.py +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/aio/config.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/aio/config.py index d1621b124..e773c0c9b 100644 --- a/clients/aws-sdk-ec2/src/aws_sdk_ec2/aio/config.py +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -25,7 +25,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import Ec2QueryClientProtocol from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/client.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/client.py index 06b132042..1462375f5 100644 --- a/clients/aws-sdk-ec2/src/aws_sdk_ec2/client.py +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/config.py b/clients/aws-sdk-ec2/src/aws_sdk_ec2/config.py index f6b38869b..ea44b17be 100644 --- a/clients/aws-sdk-ec2/src/aws_sdk_ec2/config.py +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import Ec2QueryClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-ec2/src/aws_sdk_ec2/models.pyi b/clients/aws-sdk-ec2/src/aws_sdk_ec2/models.pyi index cf68efe9b..8bac31cac 100644 --- a/clients/aws-sdk-ec2/src/aws_sdk_ec2/models.pyi +++ b/clients/aws-sdk-ec2/src/aws_sdk_ec2/models.pyi @@ -1,16 +1,3146 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum from typing import Self from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AcceleratorCount as AcceleratorCount, + AcceleratorCountRequest as AcceleratorCountRequest, + AcceleratorManufacturer as AcceleratorManufacturer, + AcceleratorName as AcceleratorName, + AcceleratorTotalMemoryMiB as AcceleratorTotalMemoryMiB, + AcceleratorTotalMemoryMiBRequest as AcceleratorTotalMemoryMiBRequest, + AcceleratorType as AcceleratorType, + AcceptAddressTransferInput as AcceptAddressTransferInput, + AcceptAddressTransferOutput as AcceptAddressTransferOutput, + AcceptCapacityReservationBillingOwnershipInput as AcceptCapacityReservationBillingOwnershipInput, + AcceptCapacityReservationBillingOwnershipOutput as AcceptCapacityReservationBillingOwnershipOutput, + AcceptReservedInstancesExchangeQuoteInput as AcceptReservedInstancesExchangeQuoteInput, + AcceptReservedInstancesExchangeQuoteOutput as AcceptReservedInstancesExchangeQuoteOutput, + AcceptTransitGatewayClientVpnAttachmentInput as AcceptTransitGatewayClientVpnAttachmentInput, + AcceptTransitGatewayClientVpnAttachmentOutput as AcceptTransitGatewayClientVpnAttachmentOutput, + AcceptTransitGatewayMulticastDomainAssociationsInput as AcceptTransitGatewayMulticastDomainAssociationsInput, + AcceptTransitGatewayMulticastDomainAssociationsOutput as AcceptTransitGatewayMulticastDomainAssociationsOutput, + AcceptTransitGatewayPeeringAttachmentInput as AcceptTransitGatewayPeeringAttachmentInput, + AcceptTransitGatewayPeeringAttachmentOutput as AcceptTransitGatewayPeeringAttachmentOutput, + AcceptTransitGatewayVpcAttachmentInput as AcceptTransitGatewayVpcAttachmentInput, + AcceptTransitGatewayVpcAttachmentOutput as AcceptTransitGatewayVpcAttachmentOutput, + AcceptVpcEndpointConnectionsInput as AcceptVpcEndpointConnectionsInput, + AcceptVpcEndpointConnectionsOutput as AcceptVpcEndpointConnectionsOutput, + AcceptVpcPeeringConnectionInput as AcceptVpcPeeringConnectionInput, + AcceptVpcPeeringConnectionOutput as AcceptVpcPeeringConnectionOutput, + AccessScopeAnalysisFinding as AccessScopeAnalysisFinding, + AccessScopePath as AccessScopePath, + AccessScopePathRequest as AccessScopePathRequest, + AccountAttribute as AccountAttribute, + AccountAttributeName as AccountAttributeName, + AccountAttributeValue as AccountAttributeValue, + AccountVpcEncryptionControl as AccountVpcEncryptionControl, + AccountVpcEncryptionControlExclusions as AccountVpcEncryptionControlExclusions, + AccountVpcEncryptionControlMode as AccountVpcEncryptionControlMode, + AccountVpcEncryptionControlState as AccountVpcEncryptionControlState, + ActiveInstance as ActiveInstance, + ActiveVpnTunnelStatus as ActiveVpnTunnelStatus, + ActivityStatus as ActivityStatus, + AddedPrincipal as AddedPrincipal, + AddIpamOperatingRegion as AddIpamOperatingRegion, + AddIpamOrganizationalUnitExclusion as AddIpamOrganizationalUnitExclusion, + AdditionalDetail as AdditionalDetail, + AddPrefixListEntry as AddPrefixListEntry, + Address as Address, + AddressAttribute as AddressAttribute, + AddressAttributeName as AddressAttributeName, + AddressFamily as AddressFamily, + AddressTransfer as AddressTransfer, + AddressTransferStatus as AddressTransferStatus, + AdvertiseByoipCidrInput as AdvertiseByoipCidrInput, + AdvertiseByoipCidrOutput as AdvertiseByoipCidrOutput, + Affinity as Affinity, + AggregationStatusEnum as AggregationStatusEnum, + AllocateAddressInput as AllocateAddressInput, + AllocateAddressOutput as AllocateAddressOutput, + AllocateHostsInput as AllocateHostsInput, + AllocateHostsOutput as AllocateHostsOutput, + AllocateIpamPoolCidrInput as AllocateIpamPoolCidrInput, + AllocateIpamPoolCidrOutput as AllocateIpamPoolCidrOutput, + AllocationState as AllocationState, + AllocationStrategy as AllocationStrategy, + AllocationType as AllocationType, + AllowedImagesSettingsDisabledState as AllowedImagesSettingsDisabledState, + AllowedImagesSettingsEnabledState as AllowedImagesSettingsEnabledState, + AllowedPrincipal as AllowedPrincipal, + AllowsMultipleInstanceTypes as AllowsMultipleInstanceTypes, + AlternatePathHint as AlternatePathHint, + AmdSevSnp as AmdSevSnp, + AmdSevSnpSpecification as AmdSevSnpSpecification, + AnalysisAclRule as AnalysisAclRule, + AnalysisComponent as AnalysisComponent, + AnalysisLoadBalancerListener as AnalysisLoadBalancerListener, + AnalysisLoadBalancerTarget as AnalysisLoadBalancerTarget, + AnalysisPacketHeader as AnalysisPacketHeader, + AnalysisRouteTableRoute as AnalysisRouteTableRoute, + AnalysisSecurityGroupRule as AnalysisSecurityGroupRule, + AnalysisStatus as AnalysisStatus, + AnalysisTransitGatewayPolicyTableEntry as AnalysisTransitGatewayPolicyTableEntry, + ApplianceModeSupportValue as ApplianceModeSupportValue, + ApplicationStatus as ApplicationStatus, + ApplicationStatusCheckAssociationObject as ApplicationStatusCheckAssociationObject, + ApplicationStatusCheckEnum as ApplicationStatusCheckEnum, + ApplicationStatusCheckResponseObject as ApplicationStatusCheckResponseObject, + ApplicationStatusDetail as ApplicationStatusDetail, + ApplicationStatusEnum as ApplicationStatusEnum, + ApplicationStatusesResponseType as ApplicationStatusesResponseType, + ApplicationStatusReason as ApplicationStatusReason, + ApplicationStatusSummary as ApplicationStatusSummary, + ApplyCancellationCharges as ApplyCancellationCharges, + ApplySecurityGroupsToClientVpnTargetNetworkInput as ApplySecurityGroupsToClientVpnTargetNetworkInput, + ApplySecurityGroupsToClientVpnTargetNetworkOutput as ApplySecurityGroupsToClientVpnTargetNetworkOutput, + ArchitectureType as ArchitectureType, + ArchitectureValues as ArchitectureValues, + AsnAssociation as AsnAssociation, + AsnAssociationState as AsnAssociationState, + AsnAuthorizationContext as AsnAuthorizationContext, + AsnState as AsnState, + AssignedPrivateIpAddress as AssignedPrivateIpAddress, + AssignIpv6AddressesInput as AssignIpv6AddressesInput, + AssignIpv6AddressesOutput as AssignIpv6AddressesOutput, + AssignPrivateIpAddressesInput as AssignPrivateIpAddressesInput, + AssignPrivateIpAddressesOutput as AssignPrivateIpAddressesOutput, + AssignPrivateNatGatewayAddressInput as AssignPrivateNatGatewayAddressInput, + AssignPrivateNatGatewayAddressOutput as AssignPrivateNatGatewayAddressOutput, + AssociateAddressInput as AssociateAddressInput, + AssociateAddressOutput as AssociateAddressOutput, + AssociateApplicationStatusCheckInput as AssociateApplicationStatusCheckInput, + AssociateApplicationStatusCheckOutput as AssociateApplicationStatusCheckOutput, + AssociateCapacityReservationBillingOwnerInput as AssociateCapacityReservationBillingOwnerInput, + AssociateCapacityReservationBillingOwnerOutput as AssociateCapacityReservationBillingOwnerOutput, + AssociateClientVpnTargetNetworkInput as AssociateClientVpnTargetNetworkInput, + AssociateClientVpnTargetNetworkOutput as AssociateClientVpnTargetNetworkOutput, + AssociateDhcpOptionsInput as AssociateDhcpOptionsInput, + AssociateDhcpOptionsOutput as AssociateDhcpOptionsOutput, + AssociatedNetworkType as AssociatedNetworkType, + AssociatedRole as AssociatedRole, + AssociatedTargetNetwork as AssociatedTargetNetwork, + AssociateEnclaveCertificateIamRoleInput as AssociateEnclaveCertificateIamRoleInput, + AssociateEnclaveCertificateIamRoleOutput as AssociateEnclaveCertificateIamRoleOutput, + AssociateIamInstanceProfileInput as AssociateIamInstanceProfileInput, + AssociateIamInstanceProfileOutput as AssociateIamInstanceProfileOutput, + AssociateInstanceEventWindowInput as AssociateInstanceEventWindowInput, + AssociateInstanceEventWindowOutput as AssociateInstanceEventWindowOutput, + AssociateIpamByoasnInput as AssociateIpamByoasnInput, + AssociateIpamByoasnOutput as AssociateIpamByoasnOutput, + AssociateIpamResourceDiscoveryInput as AssociateIpamResourceDiscoveryInput, + AssociateIpamResourceDiscoveryOutput as AssociateIpamResourceDiscoveryOutput, + AssociateNatGatewayAddressInput as AssociateNatGatewayAddressInput, + AssociateNatGatewayAddressOutput as AssociateNatGatewayAddressOutput, + AssociateRouteServerInput as AssociateRouteServerInput, + AssociateRouteServerOutput as AssociateRouteServerOutput, + AssociateRouteTableInput as AssociateRouteTableInput, + AssociateRouteTableOutput as AssociateRouteTableOutput, + AssociateSecurityGroupVpcInput as AssociateSecurityGroupVpcInput, + AssociateSecurityGroupVpcOutput as AssociateSecurityGroupVpcOutput, + AssociateSubnetCidrBlockInput as AssociateSubnetCidrBlockInput, + AssociateSubnetCidrBlockOutput as AssociateSubnetCidrBlockOutput, + AssociateTransitGatewayMulticastDomainInput as AssociateTransitGatewayMulticastDomainInput, + AssociateTransitGatewayMulticastDomainOutput as AssociateTransitGatewayMulticastDomainOutput, + AssociateTransitGatewayPolicyTableInput as AssociateTransitGatewayPolicyTableInput, + AssociateTransitGatewayPolicyTableOutput as AssociateTransitGatewayPolicyTableOutput, + AssociateTransitGatewayRouteTableInput as AssociateTransitGatewayRouteTableInput, + AssociateTransitGatewayRouteTableOutput as AssociateTransitGatewayRouteTableOutput, + AssociateTrunkInterfaceInput as AssociateTrunkInterfaceInput, + AssociateTrunkInterfaceOutput as AssociateTrunkInterfaceOutput, + AssociateVpcCidrBlockInput as AssociateVpcCidrBlockInput, + AssociateVpcCidrBlockOutput as AssociateVpcCidrBlockOutput, + AssociationStatus as AssociationStatus, + AssociationStatusCode as AssociationStatusCode, + AssociationTypeEnum as AssociationTypeEnum, + AthenaIntegration as AthenaIntegration, + AttachClassicLinkVpcInput as AttachClassicLinkVpcInput, + AttachClassicLinkVpcOutput as AttachClassicLinkVpcOutput, + AttachImageWatermarkInput as AttachImageWatermarkInput, + AttachImageWatermarkOutput as AttachImageWatermarkOutput, + AttachInternetGatewayInput as AttachInternetGatewayInput, + AttachInternetGatewayOutput as AttachInternetGatewayOutput, + AttachmentEnaSrdSpecification as AttachmentEnaSrdSpecification, + AttachmentEnaSrdUdpSpecification as AttachmentEnaSrdUdpSpecification, + AttachmentLimitType as AttachmentLimitType, + AttachmentStatus as AttachmentStatus, + AttachNetworkInterfaceInput as AttachNetworkInterfaceInput, + AttachNetworkInterfaceOutput as AttachNetworkInterfaceOutput, + AttachVerifiedAccessTrustProviderInput as AttachVerifiedAccessTrustProviderInput, + AttachVerifiedAccessTrustProviderOutput as AttachVerifiedAccessTrustProviderOutput, + AttachVolumeInput as AttachVolumeInput, + AttachVolumeOutput as AttachVolumeOutput, + AttachVpnGatewayInput as AttachVpnGatewayInput, + AttachVpnGatewayOutput as AttachVpnGatewayOutput, + AttributeBooleanValue as AttributeBooleanValue, + AttributeSummary as AttributeSummary, + AttributeValue as AttributeValue, + AuthorizationRule as AuthorizationRule, + AuthorizeClientVpnIngressInput as AuthorizeClientVpnIngressInput, + AuthorizeClientVpnIngressOutput as AuthorizeClientVpnIngressOutput, + AuthorizeSecurityGroupEgressInput as AuthorizeSecurityGroupEgressInput, + AuthorizeSecurityGroupEgressOutput as AuthorizeSecurityGroupEgressOutput, + AuthorizeSecurityGroupIngressInput as AuthorizeSecurityGroupIngressInput, + AuthorizeSecurityGroupIngressOutput as AuthorizeSecurityGroupIngressOutput, + AutoAcceptSharedAssociationsValue as AutoAcceptSharedAssociationsValue, + AutoAcceptSharedAttachmentsValue as AutoAcceptSharedAttachmentsValue, + AutoPlacement as AutoPlacement, + AutoProvisionZonesState as AutoProvisionZonesState, + AutoScalingIpsState as AutoScalingIpsState, + AvailabilityMode as AvailabilityMode, + AvailabilityZone as AvailabilityZone, + AvailabilityZoneAddress as AvailabilityZoneAddress, + AvailabilityZoneGeography as AvailabilityZoneGeography, + AvailabilityZoneMessage as AvailabilityZoneMessage, + AvailabilityZoneOptInStatus as AvailabilityZoneOptInStatus, + AvailabilityZoneState as AvailabilityZoneState, + AvailabilityZoneSubGeography as AvailabilityZoneSubGeography, + AvailableCapacity as AvailableCapacity, + BandwidthWeightingType as BandwidthWeightingType, + BareMetal as BareMetal, + BaselineEbsBandwidthMbps as BaselineEbsBandwidthMbps, + BaselineEbsBandwidthMbpsRequest as BaselineEbsBandwidthMbpsRequest, + BaselinePerformanceFactors as BaselinePerformanceFactors, + BaselinePerformanceFactorsRequest as BaselinePerformanceFactorsRequest, + BatchModifyIpamRoutingPolicyRegistrationsInput as BatchModifyIpamRoutingPolicyRegistrationsInput, + BatchModifyIpamRoutingPolicyRegistrationsOutput as BatchModifyIpamRoutingPolicyRegistrationsOutput, + BatchState as BatchState, + BgpStatus as BgpStatus, + BlockDeviceMapping as BlockDeviceMapping, + BlockDeviceMappingResponse as BlockDeviceMappingResponse, + BlockPublicAccessMode as BlockPublicAccessMode, + BlockPublicAccessStates as BlockPublicAccessStates, + BootModeOverrideValues as BootModeOverrideValues, + BootModeType as BootModeType, + BootModeValues as BootModeValues, + BundleInstanceInput as BundleInstanceInput, + BundleInstanceOutput as BundleInstanceOutput, + BundleTask as BundleTask, + BundleTaskError as BundleTaskError, + BundleTaskState as BundleTaskState, + BurstablePerformance as BurstablePerformance, + Byoasn as Byoasn, + ByoipCidr as ByoipCidr, + ByoipCidrState as ByoipCidrState, + CallerRole as CallerRole, + CancelBatchErrorCode as CancelBatchErrorCode, + CancelBundleTaskInput as CancelBundleTaskInput, + CancelBundleTaskOutput as CancelBundleTaskOutput, + CancelCapacityReservationFleetError as CancelCapacityReservationFleetError, + CancelCapacityReservationFleetsInput as CancelCapacityReservationFleetsInput, + CancelCapacityReservationFleetsOutput as CancelCapacityReservationFleetsOutput, + CancelCapacityReservationInput as CancelCapacityReservationInput, + CancelCapacityReservationOutput as CancelCapacityReservationOutput, + CancelConversionTaskInput as CancelConversionTaskInput, + CancelConversionTaskOutput as CancelConversionTaskOutput, + CancelDeclarativePoliciesReportInput as CancelDeclarativePoliciesReportInput, + CancelDeclarativePoliciesReportOutput as CancelDeclarativePoliciesReportOutput, + CancelExportTaskInput as CancelExportTaskInput, + CancelExportTaskOutput as CancelExportTaskOutput, + CancelImageLaunchPermissionInput as CancelImageLaunchPermissionInput, + CancelImageLaunchPermissionOutput as CancelImageLaunchPermissionOutput, + CancelImportTaskInput as CancelImportTaskInput, + CancelImportTaskOutput as CancelImportTaskOutput, + CancellationTerms as CancellationTerms, + CancelledSpotInstanceRequest as CancelledSpotInstanceRequest, + CancelReservedInstancesListingInput as CancelReservedInstancesListingInput, + CancelReservedInstancesListingOutput as CancelReservedInstancesListingOutput, + CancelSpotFleetRequestsError as CancelSpotFleetRequestsError, + CancelSpotFleetRequestsErrorItem as CancelSpotFleetRequestsErrorItem, + CancelSpotFleetRequestsInput as CancelSpotFleetRequestsInput, + CancelSpotFleetRequestsOutput as CancelSpotFleetRequestsOutput, + CancelSpotFleetRequestsSuccessItem as CancelSpotFleetRequestsSuccessItem, + CancelSpotInstanceRequestsInput as CancelSpotInstanceRequestsInput, + CancelSpotInstanceRequestsOutput as CancelSpotInstanceRequestsOutput, + CancelSpotInstanceRequestState as CancelSpotInstanceRequestState, +) + +from ._private.models_1 import ( + CapacityAllocation as CapacityAllocation, + CapacityAllocationMetadataEntry as CapacityAllocationMetadataEntry, + CapacityBlock as CapacityBlock, + CapacityBlockExtension as CapacityBlockExtension, + CapacityBlockExtensionOffering as CapacityBlockExtensionOffering, + CapacityBlockExtensionStatus as CapacityBlockExtensionStatus, + CapacityBlockInterconnectStatus as CapacityBlockInterconnectStatus, + CapacityBlockOffering as CapacityBlockOffering, + CapacityBlockResourceState as CapacityBlockResourceState, + CapacityBlockStatus as CapacityBlockStatus, + CapacityManagerCondition as CapacityManagerCondition, + CapacityManagerDataExportResponse as CapacityManagerDataExportResponse, + CapacityManagerDataExportStatus as CapacityManagerDataExportStatus, + CapacityManagerDimension as CapacityManagerDimension, + CapacityManagerMonitoredTagKey as CapacityManagerMonitoredTagKey, + CapacityManagerMonitoredTagKeyStatus as CapacityManagerMonitoredTagKeyStatus, + CapacityManagerStatus as CapacityManagerStatus, + CapacityManagerSupportabilityScore as CapacityManagerSupportabilityScore, + CapacityManagerTagDimension as CapacityManagerTagDimension, + CapacityReservation as CapacityReservation, + CapacityReservationAdjustmentDetails as CapacityReservationAdjustmentDetails, + CapacityReservationAdjustmentStatus as CapacityReservationAdjustmentStatus, + CapacityReservationBillingRequest as CapacityReservationBillingRequest, + CapacityReservationBillingRequestStatus as CapacityReservationBillingRequestStatus, + CapacityReservationCancellationQuote as CapacityReservationCancellationQuote, + CapacityReservationCancellationQuoteState as CapacityReservationCancellationQuoteState, + CapacityReservationCommitmentInfo as CapacityReservationCommitmentInfo, + CapacityReservationConfiguration as CapacityReservationConfiguration, + CapacityReservationDeliveryPreference as CapacityReservationDeliveryPreference, + CapacityReservationFleet as CapacityReservationFleet, + CapacityReservationFleetCancellationState as CapacityReservationFleetCancellationState, + CapacityReservationFleetState as CapacityReservationFleetState, + CapacityReservationGroup as CapacityReservationGroup, + CapacityReservationInfo as CapacityReservationInfo, + CapacityReservationInstancePlatform as CapacityReservationInstancePlatform, + CapacityReservationLaunchStatus as CapacityReservationLaunchStatus, + CapacityReservationModificationQuote as CapacityReservationModificationQuote, + CapacityReservationModificationQuoteState as CapacityReservationModificationQuoteState, + CapacityReservationOptions as CapacityReservationOptions, + CapacityReservationOptionsRequest as CapacityReservationOptionsRequest, + CapacityReservationPreference as CapacityReservationPreference, + CapacityReservationSpecification as CapacityReservationSpecification, + CapacityReservationSpecificationResponse as CapacityReservationSpecificationResponse, + CapacityReservationState as CapacityReservationState, + CapacityReservationStatus as CapacityReservationStatus, + CapacityReservationTarget as CapacityReservationTarget, + CapacityReservationTargetResponse as CapacityReservationTargetResponse, + CapacityReservationTenancy as CapacityReservationTenancy, + CapacityReservationTopology as CapacityReservationTopology, + CapacityReservationType as CapacityReservationType, + CapacityTenancy as CapacityTenancy, + CapacityUnit as CapacityUnit, + CarrierGateway as CarrierGateway, + CarrierGatewayState as CarrierGatewayState, + CertificateAuthentication as CertificateAuthentication, + CertificateAuthenticationRequest as CertificateAuthenticationRequest, + ChronologicalOrder as ChronologicalOrder, + CidrAuthorizationContext as CidrAuthorizationContext, + CidrBlock as CidrBlock, + ClassicLinkDnsSupport as ClassicLinkDnsSupport, + ClassicLinkInstance as ClassicLinkInstance, + ClassicLoadBalancer as ClassicLoadBalancer, + ClassicLoadBalancersConfig as ClassicLoadBalancersConfig, + ClientCertificateRevocationListStatus as ClientCertificateRevocationListStatus, + ClientCertificateRevocationListStatusCode as ClientCertificateRevocationListStatusCode, + ClientConnectOptions as ClientConnectOptions, + ClientConnectResponseOptions as ClientConnectResponseOptions, + ClientData as ClientData, + ClientLoginBannerOptions as ClientLoginBannerOptions, + ClientLoginBannerResponseOptions as ClientLoginBannerResponseOptions, + ClientRouteEnforcementOptions as ClientRouteEnforcementOptions, + ClientRouteEnforcementResponseOptions as ClientRouteEnforcementResponseOptions, + ClientVpnAuthentication as ClientVpnAuthentication, + ClientVpnAuthenticationRequest as ClientVpnAuthenticationRequest, + ClientVpnAuthenticationType as ClientVpnAuthenticationType, + ClientVpnAuthorizationPolicyShadowMode as ClientVpnAuthorizationPolicyShadowMode, + ClientVpnAuthorizationPolicyStatus as ClientVpnAuthorizationPolicyStatus, + ClientVpnAuthorizationRuleStatus as ClientVpnAuthorizationRuleStatus, + ClientVpnAuthorizationRuleStatusCode as ClientVpnAuthorizationRuleStatusCode, + ClientVpnConnection as ClientVpnConnection, + ClientVpnConnectionStatus as ClientVpnConnectionStatus, + ClientVpnConnectionStatusCode as ClientVpnConnectionStatusCode, + ClientVpnDeviceTrustProviderType as ClientVpnDeviceTrustProviderType, + ClientVpnEndpoint as ClientVpnEndpoint, + ClientVpnEndpointAttributeStatus as ClientVpnEndpointAttributeStatus, + ClientVpnEndpointAttributeStatusCode as ClientVpnEndpointAttributeStatusCode, + ClientVpnEndpointStatus as ClientVpnEndpointStatus, + ClientVpnEndpointStatusCode as ClientVpnEndpointStatusCode, + ClientVpnRoute as ClientVpnRoute, + ClientVpnRouteStatus as ClientVpnRouteStatus, + ClientVpnRouteStatusCode as ClientVpnRouteStatusCode, + ClientVpnTrustProvider as ClientVpnTrustProvider, + ClientVpnTrustProviderRequest as ClientVpnTrustProviderRequest, + CloudWatchLogOptions as CloudWatchLogOptions, + CloudWatchLogOptionsSpecification as CloudWatchLogOptionsSpecification, + CoipAddressUsage as CoipAddressUsage, + CoipCidr as CoipCidr, + CoipPool as CoipPool, + Comparison as Comparison, + ConfirmProductInstanceInput as ConfirmProductInstanceInput, + ConfirmProductInstanceOutput as ConfirmProductInstanceOutput, + ConnectionLogOptions as ConnectionLogOptions, + ConnectionLogResponseOptions as ConnectionLogResponseOptions, + ConnectionNotification as ConnectionNotification, + ConnectionNotificationState as ConnectionNotificationState, + ConnectionNotificationType as ConnectionNotificationType, + ConnectionTrackingConfiguration as ConnectionTrackingConfiguration, + ConnectionTrackingSpecification as ConnectionTrackingSpecification, + ConnectionTrackingSpecificationRequest as ConnectionTrackingSpecificationRequest, + ConnectionTrackingSpecificationResponse as ConnectionTrackingSpecificationResponse, + ConnectivityType as ConnectivityType, + ContainerFormat as ContainerFormat, + ConversionTask as ConversionTask, + ConversionTaskState as ConversionTaskState, + CopyFpgaImageInput as CopyFpgaImageInput, + CopyFpgaImageOutput as CopyFpgaImageOutput, + CopyImageInput as CopyImageInput, + CopyImageOutput as CopyImageOutput, + CopySnapshotInput as CopySnapshotInput, + CopySnapshotOutput as CopySnapshotOutput, + CopyTagsFromSource as CopyTagsFromSource, + CopyVolumesInput as CopyVolumesInput, + CopyVolumesOutput as CopyVolumesOutput, + CpuManufacturer as CpuManufacturer, + CpuOptions as CpuOptions, + CpuOptionsRequest as CpuOptionsRequest, + CpuPerformanceFactor as CpuPerformanceFactor, + CpuPerformanceFactorRequest as CpuPerformanceFactorRequest, + CreateApplicationStatusCheckInput as CreateApplicationStatusCheckInput, + CreateApplicationStatusCheckOutput as CreateApplicationStatusCheckOutput, + CreateCapacityManagerDataExportInput as CreateCapacityManagerDataExportInput, + CreateCapacityManagerDataExportOutput as CreateCapacityManagerDataExportOutput, + CreateCapacityReservationBySplittingInput as CreateCapacityReservationBySplittingInput, + CreateCapacityReservationBySplittingOutput as CreateCapacityReservationBySplittingOutput, + CreateCapacityReservationCancellationQuoteInput as CreateCapacityReservationCancellationQuoteInput, + CreateCapacityReservationCancellationQuoteOutput as CreateCapacityReservationCancellationQuoteOutput, + CreateCapacityReservationDateChangeQuoteInput as CreateCapacityReservationDateChangeQuoteInput, + CreateCapacityReservationDateChangeQuoteOutput as CreateCapacityReservationDateChangeQuoteOutput, + CreateCapacityReservationFleetInput as CreateCapacityReservationFleetInput, + CreateCapacityReservationFleetOutput as CreateCapacityReservationFleetOutput, + CreateCapacityReservationInput as CreateCapacityReservationInput, + CreateCapacityReservationOutput as CreateCapacityReservationOutput, + CreateCarrierGatewayInput as CreateCarrierGatewayInput, + CreateCarrierGatewayOutput as CreateCarrierGatewayOutput, + CreateClientVpnEndpointInput as CreateClientVpnEndpointInput, + CreateClientVpnEndpointOutput as CreateClientVpnEndpointOutput, + CreateClientVpnRouteInput as CreateClientVpnRouteInput, + CreateClientVpnRouteOutput as CreateClientVpnRouteOutput, + CreateCoipCidrInput as CreateCoipCidrInput, + CreateCoipCidrOutput as CreateCoipCidrOutput, + CreateCoipPoolInput as CreateCoipPoolInput, + CreateCoipPoolOutput as CreateCoipPoolOutput, + CreateCustomerGatewayInput as CreateCustomerGatewayInput, + CreateCustomerGatewayOutput as CreateCustomerGatewayOutput, + CreateDefaultSubnetInput as CreateDefaultSubnetInput, + CreateDefaultSubnetOutput as CreateDefaultSubnetOutput, + CreateDefaultVpcInput as CreateDefaultVpcInput, + CreateDefaultVpcOutput as CreateDefaultVpcOutput, + CreateDelegateMacVolumeOwnershipTaskInput as CreateDelegateMacVolumeOwnershipTaskInput, + CreateDelegateMacVolumeOwnershipTaskOutput as CreateDelegateMacVolumeOwnershipTaskOutput, + CreateDhcpOptionsInput as CreateDhcpOptionsInput, + CreateDhcpOptionsOutput as CreateDhcpOptionsOutput, + CreateEgressOnlyInternetGatewayInput as CreateEgressOnlyInternetGatewayInput, + CreateEgressOnlyInternetGatewayOutput as CreateEgressOnlyInternetGatewayOutput, + CreateFleetError as CreateFleetError, + CreateFleetInput as CreateFleetInput, + CreateFleetInstance as CreateFleetInstance, + CreateFleetOutput as CreateFleetOutput, + CreateFlowLogsInput as CreateFlowLogsInput, + CreateFlowLogsOutput as CreateFlowLogsOutput, + CreateFpgaImageInput as CreateFpgaImageInput, + CreateFpgaImageOutput as CreateFpgaImageOutput, + CreateImageInput as CreateImageInput, + CreateImageOutput as CreateImageOutput, + CreateImageUsageReportInput as CreateImageUsageReportInput, + CreateImageUsageReportOutput as CreateImageUsageReportOutput, + CreateInstanceConnectEndpointInput as CreateInstanceConnectEndpointInput, + CreateInstanceConnectEndpointOutput as CreateInstanceConnectEndpointOutput, + CreateInstanceEventWindowInput as CreateInstanceEventWindowInput, + CreateInstanceEventWindowOutput as CreateInstanceEventWindowOutput, + CreateInstanceExportTaskInput as CreateInstanceExportTaskInput, + CreateInstanceExportTaskOutput as CreateInstanceExportTaskOutput, + CreateInternetGatewayInput as CreateInternetGatewayInput, + CreateInternetGatewayOutput as CreateInternetGatewayOutput, + CreateInterruptibleCapacityReservationAllocationInput as CreateInterruptibleCapacityReservationAllocationInput, + CreateInterruptibleCapacityReservationAllocationOutput as CreateInterruptibleCapacityReservationAllocationOutput, + CreateIpamExternalResourceVerificationTokenInput as CreateIpamExternalResourceVerificationTokenInput, + CreateIpamExternalResourceVerificationTokenOutput as CreateIpamExternalResourceVerificationTokenOutput, + CreateIpamInput as CreateIpamInput, + CreateIpamInternetRegistryAssociationInput as CreateIpamInternetRegistryAssociationInput, + CreateIpamInternetRegistryAssociationOutput as CreateIpamInternetRegistryAssociationOutput, + CreateIpamOutput as CreateIpamOutput, + CreateIpamPolicyInput as CreateIpamPolicyInput, + CreateIpamPolicyOutput as CreateIpamPolicyOutput, + CreateIpamPoolInput as CreateIpamPoolInput, + CreateIpamPoolOutput as CreateIpamPoolOutput, + CreateIpamPrefixListResolverInput as CreateIpamPrefixListResolverInput, + CreateIpamPrefixListResolverOutput as CreateIpamPrefixListResolverOutput, + CreateIpamPrefixListResolverTargetInput as CreateIpamPrefixListResolverTargetInput, + CreateIpamPrefixListResolverTargetOutput as CreateIpamPrefixListResolverTargetOutput, + CreateIpamResourceDiscoveryInput as CreateIpamResourceDiscoveryInput, + CreateIpamResourceDiscoveryOutput as CreateIpamResourceDiscoveryOutput, + CreateIpamRoutingPolicyRegistrationInput as CreateIpamRoutingPolicyRegistrationInput, + CreateIpamRoutingPolicyRegistrationOutput as CreateIpamRoutingPolicyRegistrationOutput, + CreateIpamScopeInput as CreateIpamScopeInput, + CreateIpamScopeOutput as CreateIpamScopeOutput, + CreateKeyPairInput as CreateKeyPairInput, + CreateKeyPairOutput as CreateKeyPairOutput, + CreateLaunchTemplateInput as CreateLaunchTemplateInput, + CreateLaunchTemplateOutput as CreateLaunchTemplateOutput, + CreateLaunchTemplateVersionInput as CreateLaunchTemplateVersionInput, + CreateLaunchTemplateVersionOutput as CreateLaunchTemplateVersionOutput, + CreateLocalGatewayRouteInput as CreateLocalGatewayRouteInput, + CreateLocalGatewayRouteOutput as CreateLocalGatewayRouteOutput, + CreateLocalGatewayRouteTableInput as CreateLocalGatewayRouteTableInput, + CreateLocalGatewayRouteTableOutput as CreateLocalGatewayRouteTableOutput, + CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput as CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, + CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput as CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, + CreateLocalGatewayRouteTableVpcAssociationInput as CreateLocalGatewayRouteTableVpcAssociationInput, + CreateLocalGatewayRouteTableVpcAssociationOutput as CreateLocalGatewayRouteTableVpcAssociationOutput, + CreateLocalGatewayVirtualInterfaceGroupInput as CreateLocalGatewayVirtualInterfaceGroupInput, + CreateLocalGatewayVirtualInterfaceGroupOutput as CreateLocalGatewayVirtualInterfaceGroupOutput, + CreateLocalGatewayVirtualInterfaceInput as CreateLocalGatewayVirtualInterfaceInput, + CreateLocalGatewayVirtualInterfaceOutput as CreateLocalGatewayVirtualInterfaceOutput, + CreateMacSystemIntegrityProtectionModificationTaskInput as CreateMacSystemIntegrityProtectionModificationTaskInput, + CreateMacSystemIntegrityProtectionModificationTaskOutput as CreateMacSystemIntegrityProtectionModificationTaskOutput, + CreateManagedPrefixListInput as CreateManagedPrefixListInput, + CreateManagedPrefixListOutput as CreateManagedPrefixListOutput, + CreateNatGatewayInput as CreateNatGatewayInput, + CreateNatGatewayOutput as CreateNatGatewayOutput, + CreateNetworkAclEntryInput as CreateNetworkAclEntryInput, + CreateNetworkAclEntryOutput as CreateNetworkAclEntryOutput, + CreateNetworkAclInput as CreateNetworkAclInput, + CreateNetworkAclOutput as CreateNetworkAclOutput, + CreateNetworkInsightsAccessScopeInput as CreateNetworkInsightsAccessScopeInput, + CreateNetworkInsightsAccessScopeOutput as CreateNetworkInsightsAccessScopeOutput, + CreateNetworkInsightsPathInput as CreateNetworkInsightsPathInput, + CreateNetworkInsightsPathOutput as CreateNetworkInsightsPathOutput, + CreateNetworkInterfaceInput as CreateNetworkInterfaceInput, + CreateNetworkInterfaceOutput as CreateNetworkInterfaceOutput, + CreateNetworkInterfacePermissionInput as CreateNetworkInterfacePermissionInput, + CreateNetworkInterfacePermissionOutput as CreateNetworkInterfacePermissionOutput, + CreatePlacementGroupInput as CreatePlacementGroupInput, + CreatePlacementGroupOutput as CreatePlacementGroupOutput, + CreatePublicIpv4PoolInput as CreatePublicIpv4PoolInput, + CreatePublicIpv4PoolOutput as CreatePublicIpv4PoolOutput, + CreateReplaceRootVolumeTaskInput as CreateReplaceRootVolumeTaskInput, + CreateReplaceRootVolumeTaskOutput as CreateReplaceRootVolumeTaskOutput, + CreateReservedInstancesListingInput as CreateReservedInstancesListingInput, + CreateReservedInstancesListingOutput as CreateReservedInstancesListingOutput, +) + +from ._private.models_2 import ( + CreateRestoreImageTaskInput as CreateRestoreImageTaskInput, + CreateRestoreImageTaskOutput as CreateRestoreImageTaskOutput, + CreateRouteInput as CreateRouteInput, + CreateRouteOutput as CreateRouteOutput, + CreateRouteServerEndpointInput as CreateRouteServerEndpointInput, + CreateRouteServerEndpointOutput as CreateRouteServerEndpointOutput, + CreateRouteServerInput as CreateRouteServerInput, + CreateRouteServerOutput as CreateRouteServerOutput, + CreateRouteServerPeerInput as CreateRouteServerPeerInput, + CreateRouteServerPeerOutput as CreateRouteServerPeerOutput, + CreateRouteTableInput as CreateRouteTableInput, + CreateRouteTableOutput as CreateRouteTableOutput, + CreateSecondaryNetworkInput as CreateSecondaryNetworkInput, + CreateSecondaryNetworkOutput as CreateSecondaryNetworkOutput, + CreateSecondarySubnetInput as CreateSecondarySubnetInput, + CreateSecondarySubnetOutput as CreateSecondarySubnetOutput, + CreateSecurityGroupInput as CreateSecurityGroupInput, + CreateSecurityGroupOutput as CreateSecurityGroupOutput, + CreateSnapshotInput as CreateSnapshotInput, + CreateSnapshotOutput as CreateSnapshotOutput, + CreateSnapshotsInput as CreateSnapshotsInput, + CreateSnapshotsOutput as CreateSnapshotsOutput, + CreateSpotDatafeedSubscriptionInput as CreateSpotDatafeedSubscriptionInput, + CreateSpotDatafeedSubscriptionOutput as CreateSpotDatafeedSubscriptionOutput, + CreateStoreImageTaskInput as CreateStoreImageTaskInput, + CreateStoreImageTaskOutput as CreateStoreImageTaskOutput, + CreateSubnetCidrReservationInput as CreateSubnetCidrReservationInput, + CreateSubnetCidrReservationOutput as CreateSubnetCidrReservationOutput, + CreateSubnetInput as CreateSubnetInput, + CreateSubnetOutput as CreateSubnetOutput, + CreateTagsInput as CreateTagsInput, + CreateTagsOutput as CreateTagsOutput, + CreateTrafficMirrorFilterInput as CreateTrafficMirrorFilterInput, + CreateTrafficMirrorFilterOutput as CreateTrafficMirrorFilterOutput, + CreateTrafficMirrorFilterRuleInput as CreateTrafficMirrorFilterRuleInput, + CreateTrafficMirrorFilterRuleOutput as CreateTrafficMirrorFilterRuleOutput, + CreateTrafficMirrorSessionInput as CreateTrafficMirrorSessionInput, + CreateTrafficMirrorSessionOutput as CreateTrafficMirrorSessionOutput, + CreateTrafficMirrorTargetInput as CreateTrafficMirrorTargetInput, + CreateTrafficMirrorTargetOutput as CreateTrafficMirrorTargetOutput, + CreateTransitGatewayConnectInput as CreateTransitGatewayConnectInput, + CreateTransitGatewayConnectOutput as CreateTransitGatewayConnectOutput, + CreateTransitGatewayConnectPeerInput as CreateTransitGatewayConnectPeerInput, + CreateTransitGatewayConnectPeerOutput as CreateTransitGatewayConnectPeerOutput, + CreateTransitGatewayConnectRequestOptions as CreateTransitGatewayConnectRequestOptions, + CreateTransitGatewayInput as CreateTransitGatewayInput, + CreateTransitGatewayMeteringPolicyEntryInput as CreateTransitGatewayMeteringPolicyEntryInput, + CreateTransitGatewayMeteringPolicyEntryOutput as CreateTransitGatewayMeteringPolicyEntryOutput, + CreateTransitGatewayMeteringPolicyInput as CreateTransitGatewayMeteringPolicyInput, + CreateTransitGatewayMeteringPolicyOutput as CreateTransitGatewayMeteringPolicyOutput, + CreateTransitGatewayMulticastDomainInput as CreateTransitGatewayMulticastDomainInput, + CreateTransitGatewayMulticastDomainOutput as CreateTransitGatewayMulticastDomainOutput, + CreateTransitGatewayMulticastDomainRequestOptions as CreateTransitGatewayMulticastDomainRequestOptions, + CreateTransitGatewayOutput as CreateTransitGatewayOutput, + CreateTransitGatewayPeeringAttachmentInput as CreateTransitGatewayPeeringAttachmentInput, + CreateTransitGatewayPeeringAttachmentOutput as CreateTransitGatewayPeeringAttachmentOutput, + CreateTransitGatewayPeeringAttachmentRequestOptions as CreateTransitGatewayPeeringAttachmentRequestOptions, + CreateTransitGatewayPolicyTableEntryInput as CreateTransitGatewayPolicyTableEntryInput, + CreateTransitGatewayPolicyTableEntryOutput as CreateTransitGatewayPolicyTableEntryOutput, + CreateTransitGatewayPolicyTableInput as CreateTransitGatewayPolicyTableInput, + CreateTransitGatewayPolicyTableOutput as CreateTransitGatewayPolicyTableOutput, + CreateTransitGatewayPrefixListReferenceInput as CreateTransitGatewayPrefixListReferenceInput, + CreateTransitGatewayPrefixListReferenceOutput as CreateTransitGatewayPrefixListReferenceOutput, + CreateTransitGatewayRouteInput as CreateTransitGatewayRouteInput, + CreateTransitGatewayRouteOutput as CreateTransitGatewayRouteOutput, + CreateTransitGatewayRouteTableAnnouncementInput as CreateTransitGatewayRouteTableAnnouncementInput, + CreateTransitGatewayRouteTableAnnouncementOutput as CreateTransitGatewayRouteTableAnnouncementOutput, + CreateTransitGatewayRouteTableInput as CreateTransitGatewayRouteTableInput, + CreateTransitGatewayRouteTableOutput as CreateTransitGatewayRouteTableOutput, + CreateTransitGatewayVpcAttachmentInput as CreateTransitGatewayVpcAttachmentInput, + CreateTransitGatewayVpcAttachmentOutput as CreateTransitGatewayVpcAttachmentOutput, + CreateTransitGatewayVpcAttachmentRequestOptions as CreateTransitGatewayVpcAttachmentRequestOptions, + CreateVerifiedAccessEndpointCidrOptions as CreateVerifiedAccessEndpointCidrOptions, + CreateVerifiedAccessEndpointEniOptions as CreateVerifiedAccessEndpointEniOptions, + CreateVerifiedAccessEndpointInput as CreateVerifiedAccessEndpointInput, + CreateVerifiedAccessEndpointLoadBalancerOptions as CreateVerifiedAccessEndpointLoadBalancerOptions, + CreateVerifiedAccessEndpointOutput as CreateVerifiedAccessEndpointOutput, + CreateVerifiedAccessEndpointPortRange as CreateVerifiedAccessEndpointPortRange, + CreateVerifiedAccessEndpointRdsOptions as CreateVerifiedAccessEndpointRdsOptions, + CreateVerifiedAccessGroupInput as CreateVerifiedAccessGroupInput, + CreateVerifiedAccessGroupOutput as CreateVerifiedAccessGroupOutput, + CreateVerifiedAccessInstanceInput as CreateVerifiedAccessInstanceInput, + CreateVerifiedAccessInstanceOutput as CreateVerifiedAccessInstanceOutput, + CreateVerifiedAccessNativeApplicationOidcOptions as CreateVerifiedAccessNativeApplicationOidcOptions, + CreateVerifiedAccessTrustProviderDeviceOptions as CreateVerifiedAccessTrustProviderDeviceOptions, + CreateVerifiedAccessTrustProviderInput as CreateVerifiedAccessTrustProviderInput, + CreateVerifiedAccessTrustProviderOidcOptions as CreateVerifiedAccessTrustProviderOidcOptions, + CreateVerifiedAccessTrustProviderOutput as CreateVerifiedAccessTrustProviderOutput, + CreateVolumeInput as CreateVolumeInput, + CreateVolumeOutput as CreateVolumeOutput, + CreateVolumePermission as CreateVolumePermission, + CreateVolumePermissionModifications as CreateVolumePermissionModifications, + CreateVpcBlockPublicAccessExclusionInput as CreateVpcBlockPublicAccessExclusionInput, + CreateVpcBlockPublicAccessExclusionOutput as CreateVpcBlockPublicAccessExclusionOutput, + CreateVpcEncryptionControlInput as CreateVpcEncryptionControlInput, + CreateVpcEncryptionControlOutput as CreateVpcEncryptionControlOutput, + CreateVpcEndpointConnectionNotificationInput as CreateVpcEndpointConnectionNotificationInput, + CreateVpcEndpointConnectionNotificationOutput as CreateVpcEndpointConnectionNotificationOutput, + CreateVpcEndpointInput as CreateVpcEndpointInput, + CreateVpcEndpointOutput as CreateVpcEndpointOutput, + CreateVpcEndpointServiceConfigurationInput as CreateVpcEndpointServiceConfigurationInput, + CreateVpcEndpointServiceConfigurationOutput as CreateVpcEndpointServiceConfigurationOutput, + CreateVpcInput as CreateVpcInput, + CreateVpcOutput as CreateVpcOutput, + CreateVpcPeeringConnectionInput as CreateVpcPeeringConnectionInput, + CreateVpcPeeringConnectionOutput as CreateVpcPeeringConnectionOutput, + CreateVpnConcentratorInput as CreateVpnConcentratorInput, + CreateVpnConcentratorOutput as CreateVpnConcentratorOutput, + CreateVpnConnectionInput as CreateVpnConnectionInput, + CreateVpnConnectionOutput as CreateVpnConnectionOutput, + CreateVpnConnectionRouteInput as CreateVpnConnectionRouteInput, + CreateVpnConnectionRouteOutput as CreateVpnConnectionRouteOutput, + CreateVpnGatewayInput as CreateVpnGatewayInput, + CreateVpnGatewayOutput as CreateVpnGatewayOutput, + CreationDateCondition as CreationDateCondition, + CreationDateConditionRequest as CreationDateConditionRequest, + CreditSpecification as CreditSpecification, + CreditSpecificationRequest as CreditSpecificationRequest, + CurrencyCodeValues as CurrencyCodeValues, + CustomerGateway as CustomerGateway, + CustomTagKeyValueRequestPair as CustomTagKeyValueRequestPair, + CustomTagKeyValueResponsePair as CustomTagKeyValueResponsePair, + DatafeedSubscriptionState as DatafeedSubscriptionState, + DataQuery as DataQuery, + DataResponse as DataResponse, + DeclarativePoliciesReport as DeclarativePoliciesReport, + DefaultConnectionTrackingConfiguration as DefaultConnectionTrackingConfiguration, + DefaultHttpTokensEnforcedState as DefaultHttpTokensEnforcedState, + DefaultInstanceMetadataEndpointState as DefaultInstanceMetadataEndpointState, + DefaultInstanceMetadataTagsState as DefaultInstanceMetadataTagsState, + DefaultRouteTableAssociationValue as DefaultRouteTableAssociationValue, + DefaultRouteTablePropagationValue as DefaultRouteTablePropagationValue, + DefaultTargetCapacityType as DefaultTargetCapacityType, + DeleteApplicationStatusCheckInput as DeleteApplicationStatusCheckInput, + DeleteApplicationStatusCheckOutput as DeleteApplicationStatusCheckOutput, + DeleteCapacityManagerDataExportInput as DeleteCapacityManagerDataExportInput, + DeleteCapacityManagerDataExportOutput as DeleteCapacityManagerDataExportOutput, + DeleteCarrierGatewayInput as DeleteCarrierGatewayInput, + DeleteCarrierGatewayOutput as DeleteCarrierGatewayOutput, + DeleteClientVpnEndpointAuthorizationPolicyInput as DeleteClientVpnEndpointAuthorizationPolicyInput, + DeleteClientVpnEndpointAuthorizationPolicyOutput as DeleteClientVpnEndpointAuthorizationPolicyOutput, + DeleteClientVpnEndpointInput as DeleteClientVpnEndpointInput, + DeleteClientVpnEndpointOutput as DeleteClientVpnEndpointOutput, + DeleteClientVpnRouteInput as DeleteClientVpnRouteInput, + DeleteClientVpnRouteOutput as DeleteClientVpnRouteOutput, + DeleteCoipCidrInput as DeleteCoipCidrInput, + DeleteCoipCidrOutput as DeleteCoipCidrOutput, + DeleteCoipPoolInput as DeleteCoipPoolInput, + DeleteCoipPoolOutput as DeleteCoipPoolOutput, + DeleteCustomerGatewayInput as DeleteCustomerGatewayInput, + DeleteCustomerGatewayOutput as DeleteCustomerGatewayOutput, + DeleteDhcpOptionsInput as DeleteDhcpOptionsInput, + DeleteDhcpOptionsOutput as DeleteDhcpOptionsOutput, + DeleteEgressOnlyInternetGatewayInput as DeleteEgressOnlyInternetGatewayInput, + DeleteEgressOnlyInternetGatewayOutput as DeleteEgressOnlyInternetGatewayOutput, + DeleteFleetError as DeleteFleetError, + DeleteFleetErrorCode as DeleteFleetErrorCode, + DeleteFleetErrorItem as DeleteFleetErrorItem, + DeleteFleetsInput as DeleteFleetsInput, + DeleteFleetsOutput as DeleteFleetsOutput, + DeleteFleetSuccessItem as DeleteFleetSuccessItem, + DeleteFlowLogsInput as DeleteFlowLogsInput, + DeleteFlowLogsOutput as DeleteFlowLogsOutput, + DeleteFpgaImageInput as DeleteFpgaImageInput, + DeleteFpgaImageOutput as DeleteFpgaImageOutput, + DeleteImageUsageReportInput as DeleteImageUsageReportInput, + DeleteImageUsageReportOutput as DeleteImageUsageReportOutput, + DeleteInstanceConnectEndpointInput as DeleteInstanceConnectEndpointInput, + DeleteInstanceConnectEndpointOutput as DeleteInstanceConnectEndpointOutput, + DeleteInstanceEventWindowInput as DeleteInstanceEventWindowInput, + DeleteInstanceEventWindowOutput as DeleteInstanceEventWindowOutput, + DeleteInternetGatewayInput as DeleteInternetGatewayInput, + DeleteInternetGatewayOutput as DeleteInternetGatewayOutput, + DeleteIpamExternalResourceVerificationTokenInput as DeleteIpamExternalResourceVerificationTokenInput, + DeleteIpamExternalResourceVerificationTokenOutput as DeleteIpamExternalResourceVerificationTokenOutput, + DeleteIpamInput as DeleteIpamInput, + DeleteIpamInternetRegistryAssociationInput as DeleteIpamInternetRegistryAssociationInput, + DeleteIpamInternetRegistryAssociationOutput as DeleteIpamInternetRegistryAssociationOutput, + DeleteIpamOutput as DeleteIpamOutput, + DeleteIpamPolicyInput as DeleteIpamPolicyInput, + DeleteIpamPolicyOutput as DeleteIpamPolicyOutput, + DeleteIpamPoolInput as DeleteIpamPoolInput, + DeleteIpamPoolOutput as DeleteIpamPoolOutput, + DeleteIpamPrefixListResolverInput as DeleteIpamPrefixListResolverInput, + DeleteIpamPrefixListResolverOutput as DeleteIpamPrefixListResolverOutput, + DeleteIpamPrefixListResolverTargetInput as DeleteIpamPrefixListResolverTargetInput, + DeleteIpamPrefixListResolverTargetOutput as DeleteIpamPrefixListResolverTargetOutput, + DeleteIpamResourceDiscoveryInput as DeleteIpamResourceDiscoveryInput, + DeleteIpamResourceDiscoveryOutput as DeleteIpamResourceDiscoveryOutput, + DeleteIpamRoutingPolicyRegistrationInput as DeleteIpamRoutingPolicyRegistrationInput, + DeleteIpamRoutingPolicyRegistrationOutput as DeleteIpamRoutingPolicyRegistrationOutput, + DeleteIpamScopeInput as DeleteIpamScopeInput, + DeleteIpamScopeOutput as DeleteIpamScopeOutput, + DeleteKeyPairInput as DeleteKeyPairInput, + DeleteKeyPairOutput as DeleteKeyPairOutput, + DeleteLaunchTemplateInput as DeleteLaunchTemplateInput, + DeleteLaunchTemplateOutput as DeleteLaunchTemplateOutput, + DeleteLaunchTemplateVersionsInput as DeleteLaunchTemplateVersionsInput, + DeleteLaunchTemplateVersionsOutput as DeleteLaunchTemplateVersionsOutput, + DeleteLaunchTemplateVersionsResponseErrorItem as DeleteLaunchTemplateVersionsResponseErrorItem, + DeleteLaunchTemplateVersionsResponseSuccessItem as DeleteLaunchTemplateVersionsResponseSuccessItem, + DeleteLocalGatewayRouteInput as DeleteLocalGatewayRouteInput, + DeleteLocalGatewayRouteOutput as DeleteLocalGatewayRouteOutput, + DeleteLocalGatewayRouteTableInput as DeleteLocalGatewayRouteTableInput, + DeleteLocalGatewayRouteTableOutput as DeleteLocalGatewayRouteTableOutput, + DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput as DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, + DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput as DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, + DeleteLocalGatewayRouteTableVpcAssociationInput as DeleteLocalGatewayRouteTableVpcAssociationInput, + DeleteLocalGatewayRouteTableVpcAssociationOutput as DeleteLocalGatewayRouteTableVpcAssociationOutput, + DeleteLocalGatewayVirtualInterfaceGroupInput as DeleteLocalGatewayVirtualInterfaceGroupInput, + DeleteLocalGatewayVirtualInterfaceGroupOutput as DeleteLocalGatewayVirtualInterfaceGroupOutput, + DeleteLocalGatewayVirtualInterfaceInput as DeleteLocalGatewayVirtualInterfaceInput, + DeleteLocalGatewayVirtualInterfaceOutput as DeleteLocalGatewayVirtualInterfaceOutput, + DeleteManagedPrefixListInput as DeleteManagedPrefixListInput, + DeleteManagedPrefixListOutput as DeleteManagedPrefixListOutput, + DeleteNatGatewayInput as DeleteNatGatewayInput, + DeleteNatGatewayOutput as DeleteNatGatewayOutput, + DeleteNetworkAclEntryInput as DeleteNetworkAclEntryInput, + DeleteNetworkAclEntryOutput as DeleteNetworkAclEntryOutput, + DeleteNetworkAclInput as DeleteNetworkAclInput, + DeleteNetworkAclOutput as DeleteNetworkAclOutput, + DeleteNetworkInsightsAccessScopeAnalysisInput as DeleteNetworkInsightsAccessScopeAnalysisInput, + DeleteNetworkInsightsAccessScopeAnalysisOutput as DeleteNetworkInsightsAccessScopeAnalysisOutput, + DeleteNetworkInsightsAccessScopeInput as DeleteNetworkInsightsAccessScopeInput, + DeleteNetworkInsightsAccessScopeOutput as DeleteNetworkInsightsAccessScopeOutput, + DeleteNetworkInsightsAnalysisInput as DeleteNetworkInsightsAnalysisInput, + DeleteNetworkInsightsAnalysisOutput as DeleteNetworkInsightsAnalysisOutput, + DeleteNetworkInsightsPathInput as DeleteNetworkInsightsPathInput, + DeleteNetworkInsightsPathOutput as DeleteNetworkInsightsPathOutput, + DeleteNetworkInterfaceInput as DeleteNetworkInterfaceInput, + DeleteNetworkInterfaceOutput as DeleteNetworkInterfaceOutput, + DeleteNetworkInterfacePermissionInput as DeleteNetworkInterfacePermissionInput, + DeleteNetworkInterfacePermissionOutput as DeleteNetworkInterfacePermissionOutput, + DeletePlacementGroupInput as DeletePlacementGroupInput, + DeletePlacementGroupOutput as DeletePlacementGroupOutput, + DeletePublicIpv4PoolInput as DeletePublicIpv4PoolInput, + DeletePublicIpv4PoolOutput as DeletePublicIpv4PoolOutput, + DeleteQueuedReservedInstancesError as DeleteQueuedReservedInstancesError, + DeleteQueuedReservedInstancesErrorCode as DeleteQueuedReservedInstancesErrorCode, + DeleteQueuedReservedInstancesInput as DeleteQueuedReservedInstancesInput, + DeleteQueuedReservedInstancesOutput as DeleteQueuedReservedInstancesOutput, + DeleteRouteInput as DeleteRouteInput, + DeleteRouteOutput as DeleteRouteOutput, + DeleteRouteServerEndpointInput as DeleteRouteServerEndpointInput, + DeleteRouteServerEndpointOutput as DeleteRouteServerEndpointOutput, + DeleteRouteServerInput as DeleteRouteServerInput, + DeleteRouteServerOutput as DeleteRouteServerOutput, + DeleteRouteServerPeerInput as DeleteRouteServerPeerInput, + DeleteRouteServerPeerOutput as DeleteRouteServerPeerOutput, + DeleteRouteTableInput as DeleteRouteTableInput, +) + +from ._private.models_3 import ( + DeleteRouteTableOutput as DeleteRouteTableOutput, + DeleteSecondaryNetworkInput as DeleteSecondaryNetworkInput, + DeleteSecondaryNetworkOutput as DeleteSecondaryNetworkOutput, + DeleteSecondarySubnetInput as DeleteSecondarySubnetInput, + DeleteSecondarySubnetOutput as DeleteSecondarySubnetOutput, + DeleteSecurityGroupInput as DeleteSecurityGroupInput, + DeleteSecurityGroupOutput as DeleteSecurityGroupOutput, + DeleteSnapshotInput as DeleteSnapshotInput, + DeleteSnapshotOutput as DeleteSnapshotOutput, + DeleteSnapshotReturnCode as DeleteSnapshotReturnCode, + DeleteSpotDatafeedSubscriptionInput as DeleteSpotDatafeedSubscriptionInput, + DeleteSpotDatafeedSubscriptionOutput as DeleteSpotDatafeedSubscriptionOutput, + DeleteSubnetCidrReservationInput as DeleteSubnetCidrReservationInput, + DeleteSubnetCidrReservationOutput as DeleteSubnetCidrReservationOutput, + DeleteSubnetInput as DeleteSubnetInput, + DeleteSubnetOutput as DeleteSubnetOutput, + DeleteTagsInput as DeleteTagsInput, + DeleteTagsOutput as DeleteTagsOutput, + DeleteTrafficMirrorFilterInput as DeleteTrafficMirrorFilterInput, + DeleteTrafficMirrorFilterOutput as DeleteTrafficMirrorFilterOutput, + DeleteTrafficMirrorFilterRuleInput as DeleteTrafficMirrorFilterRuleInput, + DeleteTrafficMirrorFilterRuleOutput as DeleteTrafficMirrorFilterRuleOutput, + DeleteTrafficMirrorSessionInput as DeleteTrafficMirrorSessionInput, + DeleteTrafficMirrorSessionOutput as DeleteTrafficMirrorSessionOutput, + DeleteTrafficMirrorTargetInput as DeleteTrafficMirrorTargetInput, + DeleteTrafficMirrorTargetOutput as DeleteTrafficMirrorTargetOutput, + DeleteTransitGatewayClientVpnAttachmentInput as DeleteTransitGatewayClientVpnAttachmentInput, + DeleteTransitGatewayClientVpnAttachmentOutput as DeleteTransitGatewayClientVpnAttachmentOutput, + DeleteTransitGatewayConnectInput as DeleteTransitGatewayConnectInput, + DeleteTransitGatewayConnectOutput as DeleteTransitGatewayConnectOutput, + DeleteTransitGatewayConnectPeerInput as DeleteTransitGatewayConnectPeerInput, + DeleteTransitGatewayConnectPeerOutput as DeleteTransitGatewayConnectPeerOutput, + DeleteTransitGatewayInput as DeleteTransitGatewayInput, + DeleteTransitGatewayMeteringPolicyEntryInput as DeleteTransitGatewayMeteringPolicyEntryInput, + DeleteTransitGatewayMeteringPolicyEntryOutput as DeleteTransitGatewayMeteringPolicyEntryOutput, + DeleteTransitGatewayMeteringPolicyInput as DeleteTransitGatewayMeteringPolicyInput, + DeleteTransitGatewayMeteringPolicyOutput as DeleteTransitGatewayMeteringPolicyOutput, + DeleteTransitGatewayMulticastDomainInput as DeleteTransitGatewayMulticastDomainInput, + DeleteTransitGatewayMulticastDomainOutput as DeleteTransitGatewayMulticastDomainOutput, + DeleteTransitGatewayOutput as DeleteTransitGatewayOutput, + DeleteTransitGatewayPeeringAttachmentInput as DeleteTransitGatewayPeeringAttachmentInput, + DeleteTransitGatewayPeeringAttachmentOutput as DeleteTransitGatewayPeeringAttachmentOutput, + DeleteTransitGatewayPolicyTableEntryInput as DeleteTransitGatewayPolicyTableEntryInput, + DeleteTransitGatewayPolicyTableEntryOutput as DeleteTransitGatewayPolicyTableEntryOutput, + DeleteTransitGatewayPolicyTableInput as DeleteTransitGatewayPolicyTableInput, + DeleteTransitGatewayPolicyTableOutput as DeleteTransitGatewayPolicyTableOutput, + DeleteTransitGatewayPrefixListReferenceInput as DeleteTransitGatewayPrefixListReferenceInput, + DeleteTransitGatewayPrefixListReferenceOutput as DeleteTransitGatewayPrefixListReferenceOutput, + DeleteTransitGatewayRouteInput as DeleteTransitGatewayRouteInput, + DeleteTransitGatewayRouteOutput as DeleteTransitGatewayRouteOutput, + DeleteTransitGatewayRouteTableAnnouncementInput as DeleteTransitGatewayRouteTableAnnouncementInput, + DeleteTransitGatewayRouteTableAnnouncementOutput as DeleteTransitGatewayRouteTableAnnouncementOutput, + DeleteTransitGatewayRouteTableInput as DeleteTransitGatewayRouteTableInput, + DeleteTransitGatewayRouteTableOutput as DeleteTransitGatewayRouteTableOutput, + DeleteTransitGatewayVpcAttachmentInput as DeleteTransitGatewayVpcAttachmentInput, + DeleteTransitGatewayVpcAttachmentOutput as DeleteTransitGatewayVpcAttachmentOutput, + DeleteVerifiedAccessEndpointInput as DeleteVerifiedAccessEndpointInput, + DeleteVerifiedAccessEndpointOutput as DeleteVerifiedAccessEndpointOutput, + DeleteVerifiedAccessGroupInput as DeleteVerifiedAccessGroupInput, + DeleteVerifiedAccessGroupOutput as DeleteVerifiedAccessGroupOutput, + DeleteVerifiedAccessInstanceInput as DeleteVerifiedAccessInstanceInput, + DeleteVerifiedAccessInstanceOutput as DeleteVerifiedAccessInstanceOutput, + DeleteVerifiedAccessTrustProviderInput as DeleteVerifiedAccessTrustProviderInput, + DeleteVerifiedAccessTrustProviderOutput as DeleteVerifiedAccessTrustProviderOutput, + DeleteVolumeInput as DeleteVolumeInput, + DeleteVolumeOutput as DeleteVolumeOutput, + DeleteVpcBlockPublicAccessExclusionInput as DeleteVpcBlockPublicAccessExclusionInput, + DeleteVpcBlockPublicAccessExclusionOutput as DeleteVpcBlockPublicAccessExclusionOutput, + DeleteVpcEncryptionControlInput as DeleteVpcEncryptionControlInput, + DeleteVpcEncryptionControlOutput as DeleteVpcEncryptionControlOutput, + DeleteVpcEndpointConnectionNotificationsInput as DeleteVpcEndpointConnectionNotificationsInput, + DeleteVpcEndpointConnectionNotificationsOutput as DeleteVpcEndpointConnectionNotificationsOutput, + DeleteVpcEndpointServiceConfigurationsInput as DeleteVpcEndpointServiceConfigurationsInput, + DeleteVpcEndpointServiceConfigurationsOutput as DeleteVpcEndpointServiceConfigurationsOutput, + DeleteVpcEndpointsInput as DeleteVpcEndpointsInput, + DeleteVpcEndpointsOutput as DeleteVpcEndpointsOutput, + DeleteVpcInput as DeleteVpcInput, + DeleteVpcOutput as DeleteVpcOutput, + DeleteVpcPeeringConnectionInput as DeleteVpcPeeringConnectionInput, + DeleteVpcPeeringConnectionOutput as DeleteVpcPeeringConnectionOutput, + DeleteVpnConcentratorInput as DeleteVpnConcentratorInput, + DeleteVpnConcentratorOutput as DeleteVpnConcentratorOutput, + DeleteVpnConnectionInput as DeleteVpnConnectionInput, + DeleteVpnConnectionOutput as DeleteVpnConnectionOutput, + DeleteVpnConnectionRouteInput as DeleteVpnConnectionRouteInput, + DeleteVpnConnectionRouteOutput as DeleteVpnConnectionRouteOutput, + DeleteVpnGatewayInput as DeleteVpnGatewayInput, + DeleteVpnGatewayOutput as DeleteVpnGatewayOutput, + DeprecationTimeCondition as DeprecationTimeCondition, + DeprecationTimeConditionRequest as DeprecationTimeConditionRequest, + DeprovisionByoipCidrInput as DeprovisionByoipCidrInput, + DeprovisionByoipCidrOutput as DeprovisionByoipCidrOutput, + DeprovisionIpamByoasnInput as DeprovisionIpamByoasnInput, + DeprovisionIpamByoasnOutput as DeprovisionIpamByoasnOutput, + DeprovisionIpamPoolCidrInput as DeprovisionIpamPoolCidrInput, + DeprovisionIpamPoolCidrOutput as DeprovisionIpamPoolCidrOutput, + DeprovisionPublicIpv4PoolCidrInput as DeprovisionPublicIpv4PoolCidrInput, + DeprovisionPublicIpv4PoolCidrOutput as DeprovisionPublicIpv4PoolCidrOutput, + DeregisterImageInput as DeregisterImageInput, + DeregisterImageOutput as DeregisterImageOutput, + DeregisterInstanceEventNotificationAttributesInput as DeregisterInstanceEventNotificationAttributesInput, + DeregisterInstanceEventNotificationAttributesOutput as DeregisterInstanceEventNotificationAttributesOutput, + DeregisterInstanceTagAttributeRequest as DeregisterInstanceTagAttributeRequest, + DeregisterTransitGatewayMulticastGroupMembersInput as DeregisterTransitGatewayMulticastGroupMembersInput, + DeregisterTransitGatewayMulticastGroupMembersOutput as DeregisterTransitGatewayMulticastGroupMembersOutput, + DeregisterTransitGatewayMulticastGroupSourcesInput as DeregisterTransitGatewayMulticastGroupSourcesInput, + DeregisterTransitGatewayMulticastGroupSourcesOutput as DeregisterTransitGatewayMulticastGroupSourcesOutput, + DescribeAccountAttributesInput as DescribeAccountAttributesInput, + DescribeAccountAttributesOutput as DescribeAccountAttributesOutput, + DescribeAccountVpcEncryptionControlInput as DescribeAccountVpcEncryptionControlInput, + DescribeAccountVpcEncryptionControlOutput as DescribeAccountVpcEncryptionControlOutput, + DescribeAddressesAttributeInput as DescribeAddressesAttributeInput, + DescribeAddressesAttributeOutput as DescribeAddressesAttributeOutput, + DescribeAddressesInput as DescribeAddressesInput, + DescribeAddressesOutput as DescribeAddressesOutput, + DescribeAddressTransfersInput as DescribeAddressTransfersInput, + DescribeAddressTransfersOutput as DescribeAddressTransfersOutput, + DescribeAggregateIdFormatInput as DescribeAggregateIdFormatInput, + DescribeAggregateIdFormatOutput as DescribeAggregateIdFormatOutput, + DescribeApplicationStatusCheckAssociationsInput as DescribeApplicationStatusCheckAssociationsInput, + DescribeApplicationStatusCheckAssociationsOutput as DescribeApplicationStatusCheckAssociationsOutput, + DescribeApplicationStatusChecksInput as DescribeApplicationStatusChecksInput, + DescribeApplicationStatusChecksOutput as DescribeApplicationStatusChecksOutput, + DescribeApplicationStatusInput as DescribeApplicationStatusInput, + DescribeApplicationStatusOutput as DescribeApplicationStatusOutput, + DescribeAvailabilityZonesInput as DescribeAvailabilityZonesInput, + DescribeAvailabilityZonesOutput as DescribeAvailabilityZonesOutput, + DescribeAwsNetworkPerformanceMetricSubscriptionsInput as DescribeAwsNetworkPerformanceMetricSubscriptionsInput, + DescribeAwsNetworkPerformanceMetricSubscriptionsOutput as DescribeAwsNetworkPerformanceMetricSubscriptionsOutput, + DescribeBundleTasksInput as DescribeBundleTasksInput, + DescribeBundleTasksOutput as DescribeBundleTasksOutput, + DescribeByoipCidrsInput as DescribeByoipCidrsInput, + DescribeByoipCidrsOutput as DescribeByoipCidrsOutput, + DescribeCapacityBlockExtensionHistoryInput as DescribeCapacityBlockExtensionHistoryInput, + DescribeCapacityBlockExtensionHistoryOutput as DescribeCapacityBlockExtensionHistoryOutput, + DescribeCapacityBlockExtensionOfferingsInput as DescribeCapacityBlockExtensionOfferingsInput, + DescribeCapacityBlockExtensionOfferingsOutput as DescribeCapacityBlockExtensionOfferingsOutput, + DescribeCapacityBlockOfferingsInput as DescribeCapacityBlockOfferingsInput, + DescribeCapacityBlockOfferingsOutput as DescribeCapacityBlockOfferingsOutput, + DescribeCapacityBlocksInput as DescribeCapacityBlocksInput, + DescribeCapacityBlocksOutput as DescribeCapacityBlocksOutput, + DescribeCapacityBlockStatusInput as DescribeCapacityBlockStatusInput, + DescribeCapacityBlockStatusOutput as DescribeCapacityBlockStatusOutput, + DescribeCapacityManagerDataExportsInput as DescribeCapacityManagerDataExportsInput, + DescribeCapacityManagerDataExportsOutput as DescribeCapacityManagerDataExportsOutput, + DescribeCapacityReservationBillingRequestsInput as DescribeCapacityReservationBillingRequestsInput, + DescribeCapacityReservationBillingRequestsOutput as DescribeCapacityReservationBillingRequestsOutput, + DescribeCapacityReservationCancellationQuotesInput as DescribeCapacityReservationCancellationQuotesInput, + DescribeCapacityReservationCancellationQuotesOutput as DescribeCapacityReservationCancellationQuotesOutput, + DescribeCapacityReservationDateChangeQuotesInput as DescribeCapacityReservationDateChangeQuotesInput, + DescribeCapacityReservationDateChangeQuotesOutput as DescribeCapacityReservationDateChangeQuotesOutput, + DescribeCapacityReservationFleetsInput as DescribeCapacityReservationFleetsInput, + DescribeCapacityReservationFleetsOutput as DescribeCapacityReservationFleetsOutput, + DescribeCapacityReservationsInput as DescribeCapacityReservationsInput, + DescribeCapacityReservationsOutput as DescribeCapacityReservationsOutput, + DescribeCapacityReservationTopologyInput as DescribeCapacityReservationTopologyInput, + DescribeCapacityReservationTopologyOutput as DescribeCapacityReservationTopologyOutput, + DescribeCarrierGatewaysInput as DescribeCarrierGatewaysInput, + DescribeCarrierGatewaysOutput as DescribeCarrierGatewaysOutput, + DescribeClassicLinkInstancesInput as DescribeClassicLinkInstancesInput, + DescribeClassicLinkInstancesOutput as DescribeClassicLinkInstancesOutput, + DescribeClientVpnAuthorizationRulesInput as DescribeClientVpnAuthorizationRulesInput, + DescribeClientVpnAuthorizationRulesOutput as DescribeClientVpnAuthorizationRulesOutput, + DescribeClientVpnConnectionsInput as DescribeClientVpnConnectionsInput, + DescribeClientVpnConnectionsOutput as DescribeClientVpnConnectionsOutput, + DescribeClientVpnEndpointsInput as DescribeClientVpnEndpointsInput, + DescribeClientVpnEndpointsOutput as DescribeClientVpnEndpointsOutput, + DescribeClientVpnRoutesInput as DescribeClientVpnRoutesInput, + DescribeClientVpnRoutesOutput as DescribeClientVpnRoutesOutput, + DescribeClientVpnTargetNetworksInput as DescribeClientVpnTargetNetworksInput, + DescribeClientVpnTargetNetworksOutput as DescribeClientVpnTargetNetworksOutput, + DescribeCoipPoolsInput as DescribeCoipPoolsInput, + DescribeCoipPoolsOutput as DescribeCoipPoolsOutput, + DescribeConversionTasksInput as DescribeConversionTasksInput, + DescribeConversionTasksOutput as DescribeConversionTasksOutput, + DescribeCustomerGatewaysInput as DescribeCustomerGatewaysInput, + DescribeCustomerGatewaysOutput as DescribeCustomerGatewaysOutput, + DescribeDeclarativePoliciesReportsInput as DescribeDeclarativePoliciesReportsInput, + DescribeDeclarativePoliciesReportsOutput as DescribeDeclarativePoliciesReportsOutput, + DescribeDhcpOptionsInput as DescribeDhcpOptionsInput, + DescribeDhcpOptionsOutput as DescribeDhcpOptionsOutput, + DescribeEgressOnlyInternetGatewaysInput as DescribeEgressOnlyInternetGatewaysInput, + DescribeEgressOnlyInternetGatewaysOutput as DescribeEgressOnlyInternetGatewaysOutput, + DescribeElasticGpusInput as DescribeElasticGpusInput, + DescribeElasticGpusOutput as DescribeElasticGpusOutput, + DescribeExportImageTasksInput as DescribeExportImageTasksInput, + DescribeExportImageTasksOutput as DescribeExportImageTasksOutput, + DescribeExportTasksInput as DescribeExportTasksInput, + DescribeExportTasksOutput as DescribeExportTasksOutput, + DescribeFastLaunchImagesInput as DescribeFastLaunchImagesInput, + DescribeFastLaunchImagesOutput as DescribeFastLaunchImagesOutput, + DescribeFastLaunchImagesSuccessItem as DescribeFastLaunchImagesSuccessItem, + DescribeFastSnapshotRestoresInput as DescribeFastSnapshotRestoresInput, + DescribeFastSnapshotRestoresOutput as DescribeFastSnapshotRestoresOutput, + DescribeFastSnapshotRestoreSuccessItem as DescribeFastSnapshotRestoreSuccessItem, + DescribeFleetError as DescribeFleetError, + DescribeFleetHistoryInput as DescribeFleetHistoryInput, + DescribeFleetHistoryOutput as DescribeFleetHistoryOutput, + DescribeFleetInstancesInput as DescribeFleetInstancesInput, + DescribeFleetInstancesOutput as DescribeFleetInstancesOutput, + DescribeFleetsInput as DescribeFleetsInput, + DescribeFleetsInstances as DescribeFleetsInstances, + DescribeFleetsOutput as DescribeFleetsOutput, + DescribeFlowLogsInput as DescribeFlowLogsInput, + DescribeFlowLogsOutput as DescribeFlowLogsOutput, + DescribeFpgaImageAttributeInput as DescribeFpgaImageAttributeInput, + DescribeFpgaImageAttributeOutput as DescribeFpgaImageAttributeOutput, + DescribeFpgaImagesInput as DescribeFpgaImagesInput, + DescribeFpgaImagesOutput as DescribeFpgaImagesOutput, + DescribeHostReservationOfferingsInput as DescribeHostReservationOfferingsInput, + DescribeHostReservationOfferingsOutput as DescribeHostReservationOfferingsOutput, + DescribeHostReservationsInput as DescribeHostReservationsInput, + DescribeHostReservationsOutput as DescribeHostReservationsOutput, + DescribeHostsInput as DescribeHostsInput, + DescribeHostsOutput as DescribeHostsOutput, + DescribeIamInstanceProfileAssociationsInput as DescribeIamInstanceProfileAssociationsInput, + DescribeIamInstanceProfileAssociationsOutput as DescribeIamInstanceProfileAssociationsOutput, + DescribeIdentityIdFormatInput as DescribeIdentityIdFormatInput, + DescribeIdentityIdFormatOutput as DescribeIdentityIdFormatOutput, + DescribeIdFormatInput as DescribeIdFormatInput, + DescribeIdFormatOutput as DescribeIdFormatOutput, + DescribeImageAttributeInput as DescribeImageAttributeInput, + DescribeImageAttributeOutput as DescribeImageAttributeOutput, + DescribeImageReferencesInput as DescribeImageReferencesInput, + DescribeImageReferencesOutput as DescribeImageReferencesOutput, + DescribeImagesInput as DescribeImagesInput, + DescribeImagesOutput as DescribeImagesOutput, + DescribeImageUsageReportEntriesInput as DescribeImageUsageReportEntriesInput, + DescribeImageUsageReportEntriesOutput as DescribeImageUsageReportEntriesOutput, + DescribeImageUsageReportsInput as DescribeImageUsageReportsInput, + DescribeImageUsageReportsOutput as DescribeImageUsageReportsOutput, + DescribeImportImageTasksInput as DescribeImportImageTasksInput, + DescribeImportImageTasksOutput as DescribeImportImageTasksOutput, + DescribeImportSnapshotTasksInput as DescribeImportSnapshotTasksInput, + DescribeImportSnapshotTasksOutput as DescribeImportSnapshotTasksOutput, + DescribeInstanceAttributeInput as DescribeInstanceAttributeInput, + DescribeInstanceAttributeOutput as DescribeInstanceAttributeOutput, + DescribeInstanceConnectEndpointsInput as DescribeInstanceConnectEndpointsInput, + DescribeInstanceConnectEndpointsOutput as DescribeInstanceConnectEndpointsOutput, + DescribeInstanceCreditSpecificationsInput as DescribeInstanceCreditSpecificationsInput, + DescribeInstanceCreditSpecificationsOutput as DescribeInstanceCreditSpecificationsOutput, + DescribeInstanceEventNotificationAttributesInput as DescribeInstanceEventNotificationAttributesInput, + DescribeInstanceEventNotificationAttributesOutput as DescribeInstanceEventNotificationAttributesOutput, + DescribeInstanceEventWindowsInput as DescribeInstanceEventWindowsInput, + DescribeInstanceEventWindowsOutput as DescribeInstanceEventWindowsOutput, + DescribeInstanceImageMetadataInput as DescribeInstanceImageMetadataInput, + DescribeInstanceImageMetadataOutput as DescribeInstanceImageMetadataOutput, + DescribeInstancesInput as DescribeInstancesInput, + DescribeInstancesOutput as DescribeInstancesOutput, + DescribeInstanceSqlHaHistoryStatesInput as DescribeInstanceSqlHaHistoryStatesInput, +) + +from ._private.models_4 import ( + DescribeInstanceSqlHaHistoryStatesOutput as DescribeInstanceSqlHaHistoryStatesOutput, + DescribeInstanceSqlHaStatesInput as DescribeInstanceSqlHaStatesInput, + DescribeInstanceSqlHaStatesOutput as DescribeInstanceSqlHaStatesOutput, + DescribeInstanceStatusInput as DescribeInstanceStatusInput, + DescribeInstanceStatusOutput as DescribeInstanceStatusOutput, + DescribeInstanceTopologyInput as DescribeInstanceTopologyInput, + DescribeInstanceTopologyOutput as DescribeInstanceTopologyOutput, + DescribeInstanceTypeOfferingsInput as DescribeInstanceTypeOfferingsInput, + DescribeInstanceTypeOfferingsOutput as DescribeInstanceTypeOfferingsOutput, + DescribeInstanceTypesInput as DescribeInstanceTypesInput, + DescribeInstanceTypesOutput as DescribeInstanceTypesOutput, + DescribeInternetGatewaysInput as DescribeInternetGatewaysInput, + DescribeInternetGatewaysOutput as DescribeInternetGatewaysOutput, + DescribeIpamByoasnInput as DescribeIpamByoasnInput, + DescribeIpamByoasnOutput as DescribeIpamByoasnOutput, + DescribeIpamExternalResourceVerificationTokensInput as DescribeIpamExternalResourceVerificationTokensInput, + DescribeIpamExternalResourceVerificationTokensOutput as DescribeIpamExternalResourceVerificationTokensOutput, + DescribeIpamInternetRegistryAssociationsInput as DescribeIpamInternetRegistryAssociationsInput, + DescribeIpamInternetRegistryAssociationsOutput as DescribeIpamInternetRegistryAssociationsOutput, + DescribeIpamPoliciesInput as DescribeIpamPoliciesInput, + DescribeIpamPoliciesOutput as DescribeIpamPoliciesOutput, + DescribeIpamPoolAllocationsInput as DescribeIpamPoolAllocationsInput, + DescribeIpamPoolAllocationsOutput as DescribeIpamPoolAllocationsOutput, + DescribeIpamPoolsInput as DescribeIpamPoolsInput, + DescribeIpamPoolsOutput as DescribeIpamPoolsOutput, + DescribeIpamPrefixListResolversInput as DescribeIpamPrefixListResolversInput, + DescribeIpamPrefixListResolversOutput as DescribeIpamPrefixListResolversOutput, + DescribeIpamPrefixListResolverTargetsInput as DescribeIpamPrefixListResolverTargetsInput, + DescribeIpamPrefixListResolverTargetsOutput as DescribeIpamPrefixListResolverTargetsOutput, + DescribeIpamResourceDiscoveriesInput as DescribeIpamResourceDiscoveriesInput, + DescribeIpamResourceDiscoveriesOutput as DescribeIpamResourceDiscoveriesOutput, + DescribeIpamResourceDiscoveryAssociationsInput as DescribeIpamResourceDiscoveryAssociationsInput, + DescribeIpamResourceDiscoveryAssociationsOutput as DescribeIpamResourceDiscoveryAssociationsOutput, + DescribeIpamScopesInput as DescribeIpamScopesInput, + DescribeIpamScopesOutput as DescribeIpamScopesOutput, + DescribeIpamsInput as DescribeIpamsInput, + DescribeIpamsOutput as DescribeIpamsOutput, + DescribeIpv6PoolsInput as DescribeIpv6PoolsInput, + DescribeIpv6PoolsOutput as DescribeIpv6PoolsOutput, + DescribeKeyPairsInput as DescribeKeyPairsInput, + DescribeKeyPairsOutput as DescribeKeyPairsOutput, + DescribeLaunchTemplatesInput as DescribeLaunchTemplatesInput, + DescribeLaunchTemplatesOutput as DescribeLaunchTemplatesOutput, + DescribeLaunchTemplateVersionsInput as DescribeLaunchTemplateVersionsInput, + DescribeLaunchTemplateVersionsOutput as DescribeLaunchTemplateVersionsOutput, + DescribeLocalGatewayRouteTablesInput as DescribeLocalGatewayRouteTablesInput, + DescribeLocalGatewayRouteTablesOutput as DescribeLocalGatewayRouteTablesOutput, + DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput as DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput, + DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput as DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput, + DescribeLocalGatewayRouteTableVpcAssociationsInput as DescribeLocalGatewayRouteTableVpcAssociationsInput, + DescribeLocalGatewayRouteTableVpcAssociationsOutput as DescribeLocalGatewayRouteTableVpcAssociationsOutput, + DescribeLocalGatewaysInput as DescribeLocalGatewaysInput, + DescribeLocalGatewaysOutput as DescribeLocalGatewaysOutput, + DescribeLocalGatewayVirtualInterfaceGroupsInput as DescribeLocalGatewayVirtualInterfaceGroupsInput, + DescribeLocalGatewayVirtualInterfaceGroupsOutput as DescribeLocalGatewayVirtualInterfaceGroupsOutput, + DescribeLocalGatewayVirtualInterfacesInput as DescribeLocalGatewayVirtualInterfacesInput, + DescribeLocalGatewayVirtualInterfacesOutput as DescribeLocalGatewayVirtualInterfacesOutput, + DescribeLockedSnapshotsInput as DescribeLockedSnapshotsInput, + DescribeLockedSnapshotsOutput as DescribeLockedSnapshotsOutput, + DescribeMacHostsInput as DescribeMacHostsInput, + DescribeMacHostsOutput as DescribeMacHostsOutput, + DescribeMacModificationTasksInput as DescribeMacModificationTasksInput, + DescribeMacModificationTasksOutput as DescribeMacModificationTasksOutput, + DescribeManagedPrefixListsInput as DescribeManagedPrefixListsInput, + DescribeManagedPrefixListsOutput as DescribeManagedPrefixListsOutput, + DescribeMovingAddressesInput as DescribeMovingAddressesInput, + DescribeMovingAddressesOutput as DescribeMovingAddressesOutput, + DescribeNatGatewaysInput as DescribeNatGatewaysInput, + DescribeNatGatewaysOutput as DescribeNatGatewaysOutput, + DescribeNetworkAclsInput as DescribeNetworkAclsInput, + DescribeNetworkAclsOutput as DescribeNetworkAclsOutput, + DescribeNetworkInsightsAccessScopeAnalysesInput as DescribeNetworkInsightsAccessScopeAnalysesInput, + DescribeNetworkInsightsAccessScopeAnalysesOutput as DescribeNetworkInsightsAccessScopeAnalysesOutput, + DescribeNetworkInsightsAccessScopesInput as DescribeNetworkInsightsAccessScopesInput, + DescribeNetworkInsightsAccessScopesOutput as DescribeNetworkInsightsAccessScopesOutput, + DescribeNetworkInsightsAnalysesInput as DescribeNetworkInsightsAnalysesInput, + DescribeNetworkInsightsAnalysesOutput as DescribeNetworkInsightsAnalysesOutput, + DescribeNetworkInsightsPathsInput as DescribeNetworkInsightsPathsInput, + DescribeNetworkInsightsPathsOutput as DescribeNetworkInsightsPathsOutput, + DescribeNetworkInterfaceAttributeInput as DescribeNetworkInterfaceAttributeInput, + DescribeNetworkInterfaceAttributeOutput as DescribeNetworkInterfaceAttributeOutput, + DescribeNetworkInterfacePermissionsInput as DescribeNetworkInterfacePermissionsInput, + DescribeNetworkInterfacePermissionsOutput as DescribeNetworkInterfacePermissionsOutput, + DescribeNetworkInterfacesInput as DescribeNetworkInterfacesInput, + DescribeNetworkInterfacesOutput as DescribeNetworkInterfacesOutput, + DescribeOutpostLagsInput as DescribeOutpostLagsInput, + DescribeOutpostLagsOutput as DescribeOutpostLagsOutput, + DescribePlacementGroupsInput as DescribePlacementGroupsInput, + DescribePlacementGroupsOutput as DescribePlacementGroupsOutput, + DescribePrefixListsInput as DescribePrefixListsInput, + DescribePrefixListsOutput as DescribePrefixListsOutput, + DescribePrincipalIdFormatInput as DescribePrincipalIdFormatInput, + DescribePrincipalIdFormatOutput as DescribePrincipalIdFormatOutput, + DescribePublicIpv4PoolsInput as DescribePublicIpv4PoolsInput, + DescribePublicIpv4PoolsOutput as DescribePublicIpv4PoolsOutput, + DescribeRegionsInput as DescribeRegionsInput, + DescribeRegionsOutput as DescribeRegionsOutput, + DescribeReplaceRootVolumeTasksInput as DescribeReplaceRootVolumeTasksInput, + DescribeReplaceRootVolumeTasksOutput as DescribeReplaceRootVolumeTasksOutput, + DescribeReservedInstancesInput as DescribeReservedInstancesInput, + DescribeReservedInstancesListingsInput as DescribeReservedInstancesListingsInput, + DescribeReservedInstancesListingsOutput as DescribeReservedInstancesListingsOutput, + DescribeReservedInstancesModificationsInput as DescribeReservedInstancesModificationsInput, + DescribeReservedInstancesModificationsOutput as DescribeReservedInstancesModificationsOutput, + DescribeReservedInstancesOfferingsInput as DescribeReservedInstancesOfferingsInput, + DescribeReservedInstancesOfferingsOutput as DescribeReservedInstancesOfferingsOutput, + DescribeReservedInstancesOutput as DescribeReservedInstancesOutput, + DescribeRouteServerEndpointsInput as DescribeRouteServerEndpointsInput, + DescribeRouteServerEndpointsOutput as DescribeRouteServerEndpointsOutput, + DescribeRouteServerPeersInput as DescribeRouteServerPeersInput, + DescribeRouteServerPeersOutput as DescribeRouteServerPeersOutput, + DescribeRouteServersInput as DescribeRouteServersInput, + DescribeRouteServersOutput as DescribeRouteServersOutput, + DescribeRouteTablesInput as DescribeRouteTablesInput, + DescribeRouteTablesOutput as DescribeRouteTablesOutput, + DescribeScheduledInstanceAvailabilityInput as DescribeScheduledInstanceAvailabilityInput, + DescribeScheduledInstanceAvailabilityOutput as DescribeScheduledInstanceAvailabilityOutput, + DescribeScheduledInstancesInput as DescribeScheduledInstancesInput, + DescribeScheduledInstancesOutput as DescribeScheduledInstancesOutput, + DescribeSecondaryInterfacesInput as DescribeSecondaryInterfacesInput, + DescribeSecondaryInterfacesOutput as DescribeSecondaryInterfacesOutput, + DescribeSecondaryNetworksInput as DescribeSecondaryNetworksInput, + DescribeSecondaryNetworksOutput as DescribeSecondaryNetworksOutput, + DescribeSecondarySubnetsInput as DescribeSecondarySubnetsInput, + DescribeSecondarySubnetsOutput as DescribeSecondarySubnetsOutput, + DescribeSecurityGroupReferencesInput as DescribeSecurityGroupReferencesInput, + DescribeSecurityGroupReferencesOutput as DescribeSecurityGroupReferencesOutput, + DescribeSecurityGroupRulesInput as DescribeSecurityGroupRulesInput, + DescribeSecurityGroupRulesOutput as DescribeSecurityGroupRulesOutput, + DescribeSecurityGroupsInput as DescribeSecurityGroupsInput, + DescribeSecurityGroupsOutput as DescribeSecurityGroupsOutput, + DescribeSecurityGroupVpcAssociationsInput as DescribeSecurityGroupVpcAssociationsInput, + DescribeSecurityGroupVpcAssociationsOutput as DescribeSecurityGroupVpcAssociationsOutput, + DescribeServiceLinkVirtualInterfacesInput as DescribeServiceLinkVirtualInterfacesInput, + DescribeServiceLinkVirtualInterfacesOutput as DescribeServiceLinkVirtualInterfacesOutput, + DescribeSnapshotAttributeInput as DescribeSnapshotAttributeInput, + DescribeSnapshotAttributeOutput as DescribeSnapshotAttributeOutput, + DescribeSnapshotsInput as DescribeSnapshotsInput, + DescribeSnapshotsOutput as DescribeSnapshotsOutput, + DescribeSnapshotTierStatusInput as DescribeSnapshotTierStatusInput, + DescribeSnapshotTierStatusOutput as DescribeSnapshotTierStatusOutput, + DescribeSpotDatafeedSubscriptionInput as DescribeSpotDatafeedSubscriptionInput, + DescribeSpotDatafeedSubscriptionOutput as DescribeSpotDatafeedSubscriptionOutput, + DescribeSpotFleetInstancesInput as DescribeSpotFleetInstancesInput, + DescribeSpotFleetInstancesOutput as DescribeSpotFleetInstancesOutput, + DescribeSpotFleetRequestHistoryInput as DescribeSpotFleetRequestHistoryInput, + DescribeSpotFleetRequestHistoryOutput as DescribeSpotFleetRequestHistoryOutput, + DescribeSpotFleetRequestsInput as DescribeSpotFleetRequestsInput, + DescribeSpotFleetRequestsOutput as DescribeSpotFleetRequestsOutput, + DescribeSpotInstanceRequestsInput as DescribeSpotInstanceRequestsInput, + DescribeSpotInstanceRequestsOutput as DescribeSpotInstanceRequestsOutput, + DescribeSpotPriceHistoryInput as DescribeSpotPriceHistoryInput, + DescribeSpotPriceHistoryOutput as DescribeSpotPriceHistoryOutput, + DescribeStaleSecurityGroupsInput as DescribeStaleSecurityGroupsInput, + DescribeStaleSecurityGroupsOutput as DescribeStaleSecurityGroupsOutput, + DescribeStoreImageTasksInput as DescribeStoreImageTasksInput, + DescribeStoreImageTasksOutput as DescribeStoreImageTasksOutput, + DescribeSubnetsInput as DescribeSubnetsInput, + DescribeSubnetsOutput as DescribeSubnetsOutput, + DescribeTagsInput as DescribeTagsInput, + DescribeTagsOutput as DescribeTagsOutput, + DescribeTrafficMirrorFilterRulesInput as DescribeTrafficMirrorFilterRulesInput, + DescribeTrafficMirrorFilterRulesOutput as DescribeTrafficMirrorFilterRulesOutput, + DescribeTrafficMirrorFiltersInput as DescribeTrafficMirrorFiltersInput, + DescribeTrafficMirrorFiltersOutput as DescribeTrafficMirrorFiltersOutput, + DescribeTrafficMirrorSessionsInput as DescribeTrafficMirrorSessionsInput, + DescribeTrafficMirrorSessionsOutput as DescribeTrafficMirrorSessionsOutput, + DescribeTrafficMirrorTargetsInput as DescribeTrafficMirrorTargetsInput, + DescribeTrafficMirrorTargetsOutput as DescribeTrafficMirrorTargetsOutput, + DescribeTransitGatewayAttachmentsInput as DescribeTransitGatewayAttachmentsInput, + DescribeTransitGatewayAttachmentsOutput as DescribeTransitGatewayAttachmentsOutput, + DescribeTransitGatewayConnectPeersInput as DescribeTransitGatewayConnectPeersInput, + DescribeTransitGatewayConnectPeersOutput as DescribeTransitGatewayConnectPeersOutput, + DescribeTransitGatewayConnectsInput as DescribeTransitGatewayConnectsInput, + DescribeTransitGatewayConnectsOutput as DescribeTransitGatewayConnectsOutput, + DescribeTransitGatewayMeteringPoliciesInput as DescribeTransitGatewayMeteringPoliciesInput, + DescribeTransitGatewayMeteringPoliciesOutput as DescribeTransitGatewayMeteringPoliciesOutput, + DescribeTransitGatewayMulticastDomainsInput as DescribeTransitGatewayMulticastDomainsInput, + DescribeTransitGatewayMulticastDomainsOutput as DescribeTransitGatewayMulticastDomainsOutput, + DescribeTransitGatewayPeeringAttachmentsInput as DescribeTransitGatewayPeeringAttachmentsInput, + DescribeTransitGatewayPeeringAttachmentsOutput as DescribeTransitGatewayPeeringAttachmentsOutput, + DescribeTransitGatewayPolicyTablesInput as DescribeTransitGatewayPolicyTablesInput, + DescribeTransitGatewayPolicyTablesOutput as DescribeTransitGatewayPolicyTablesOutput, + DescribeTransitGatewayRouteTableAnnouncementsInput as DescribeTransitGatewayRouteTableAnnouncementsInput, + DescribeTransitGatewayRouteTableAnnouncementsOutput as DescribeTransitGatewayRouteTableAnnouncementsOutput, + DescribeTransitGatewayRouteTablesInput as DescribeTransitGatewayRouteTablesInput, + DescribeTransitGatewayRouteTablesOutput as DescribeTransitGatewayRouteTablesOutput, + DescribeTransitGatewaysInput as DescribeTransitGatewaysInput, + DescribeTransitGatewaysOutput as DescribeTransitGatewaysOutput, + DescribeTransitGatewayVpcAttachmentsInput as DescribeTransitGatewayVpcAttachmentsInput, + DescribeTransitGatewayVpcAttachmentsOutput as DescribeTransitGatewayVpcAttachmentsOutput, + DescribeTrunkInterfaceAssociationsInput as DescribeTrunkInterfaceAssociationsInput, + DescribeTrunkInterfaceAssociationsOutput as DescribeTrunkInterfaceAssociationsOutput, + DescribeVerifiedAccessEndpointsInput as DescribeVerifiedAccessEndpointsInput, + DescribeVerifiedAccessEndpointsOutput as DescribeVerifiedAccessEndpointsOutput, + DescribeVerifiedAccessGroupsInput as DescribeVerifiedAccessGroupsInput, + DescribeVerifiedAccessGroupsOutput as DescribeVerifiedAccessGroupsOutput, + DescribeVerifiedAccessInstanceLoggingConfigurationsInput as DescribeVerifiedAccessInstanceLoggingConfigurationsInput, + DescribeVerifiedAccessInstanceLoggingConfigurationsOutput as DescribeVerifiedAccessInstanceLoggingConfigurationsOutput, + DescribeVerifiedAccessInstancesInput as DescribeVerifiedAccessInstancesInput, + DescribeVerifiedAccessInstancesOutput as DescribeVerifiedAccessInstancesOutput, + DescribeVerifiedAccessTrustProvidersInput as DescribeVerifiedAccessTrustProvidersInput, + DescribeVerifiedAccessTrustProvidersOutput as DescribeVerifiedAccessTrustProvidersOutput, + DescribeVolumeAttributeInput as DescribeVolumeAttributeInput, + DescribeVolumeAttributeOutput as DescribeVolumeAttributeOutput, + DescribeVolumesInput as DescribeVolumesInput, + DescribeVolumesModificationsInput as DescribeVolumesModificationsInput, + DescribeVolumesModificationsOutput as DescribeVolumesModificationsOutput, + DescribeVolumesOutput as DescribeVolumesOutput, + DescribeVolumeStatusInput as DescribeVolumeStatusInput, + DescribeVolumeStatusOutput as DescribeVolumeStatusOutput, + DescribeVpcAttributeInput as DescribeVpcAttributeInput, + DescribeVpcAttributeOutput as DescribeVpcAttributeOutput, + DescribeVpcBlockPublicAccessExclusionsInput as DescribeVpcBlockPublicAccessExclusionsInput, + DescribeVpcBlockPublicAccessExclusionsOutput as DescribeVpcBlockPublicAccessExclusionsOutput, + DescribeVpcBlockPublicAccessOptionsInput as DescribeVpcBlockPublicAccessOptionsInput, + DescribeVpcBlockPublicAccessOptionsOutput as DescribeVpcBlockPublicAccessOptionsOutput, + DescribeVpcClassicLinkDnsSupportInput as DescribeVpcClassicLinkDnsSupportInput, + DescribeVpcClassicLinkDnsSupportOutput as DescribeVpcClassicLinkDnsSupportOutput, + DescribeVpcClassicLinkInput as DescribeVpcClassicLinkInput, + DescribeVpcClassicLinkOutput as DescribeVpcClassicLinkOutput, + DescribeVpcEncryptionControlsInput as DescribeVpcEncryptionControlsInput, + DescribeVpcEncryptionControlsOutput as DescribeVpcEncryptionControlsOutput, + DescribeVpcEndpointAssociationsInput as DescribeVpcEndpointAssociationsInput, + DescribeVpcEndpointAssociationsOutput as DescribeVpcEndpointAssociationsOutput, + DescribeVpcEndpointConnectionNotificationsInput as DescribeVpcEndpointConnectionNotificationsInput, + DescribeVpcEndpointConnectionNotificationsOutput as DescribeVpcEndpointConnectionNotificationsOutput, + DescribeVpcEndpointConnectionsInput as DescribeVpcEndpointConnectionsInput, + DescribeVpcEndpointConnectionsOutput as DescribeVpcEndpointConnectionsOutput, + DescribeVpcEndpointServiceConfigurationsInput as DescribeVpcEndpointServiceConfigurationsInput, + DescribeVpcEndpointServiceConfigurationsOutput as DescribeVpcEndpointServiceConfigurationsOutput, + DescribeVpcEndpointServicePermissionsInput as DescribeVpcEndpointServicePermissionsInput, + DescribeVpcEndpointServicePermissionsOutput as DescribeVpcEndpointServicePermissionsOutput, + DescribeVpcEndpointServicesInput as DescribeVpcEndpointServicesInput, + DescribeVpcEndpointServicesOutput as DescribeVpcEndpointServicesOutput, + DescribeVpcEndpointsInput as DescribeVpcEndpointsInput, + DescribeVpcEndpointsOutput as DescribeVpcEndpointsOutput, + DescribeVpcPeeringConnectionsInput as DescribeVpcPeeringConnectionsInput, + DescribeVpcPeeringConnectionsOutput as DescribeVpcPeeringConnectionsOutput, + DescribeVpcsInput as DescribeVpcsInput, + DescribeVpcsOutput as DescribeVpcsOutput, + DescribeVpnConcentratorsInput as DescribeVpnConcentratorsInput, + DescribeVpnConcentratorsOutput as DescribeVpnConcentratorsOutput, + DescribeVpnConnectionsInput as DescribeVpnConnectionsInput, + DescribeVpnConnectionsOutput as DescribeVpnConnectionsOutput, + DescribeVpnGatewaysInput as DescribeVpnGatewaysInput, + DescribeVpnGatewaysOutput as DescribeVpnGatewaysOutput, + DestinationFileFormat as DestinationFileFormat, + DestinationOptionsRequest as DestinationOptionsRequest, + DestinationOptionsResponse as DestinationOptionsResponse, +) + +from ._private.models_5 import ( + DetachClassicLinkVpcInput as DetachClassicLinkVpcInput, + DetachClassicLinkVpcOutput as DetachClassicLinkVpcOutput, + DetachImageWatermarkInput as DetachImageWatermarkInput, + DetachImageWatermarkOutput as DetachImageWatermarkOutput, + DetachInternetGatewayInput as DetachInternetGatewayInput, + DetachInternetGatewayOutput as DetachInternetGatewayOutput, + DetachNetworkInterfaceInput as DetachNetworkInterfaceInput, + DetachNetworkInterfaceOutput as DetachNetworkInterfaceOutput, + DetachVerifiedAccessTrustProviderInput as DetachVerifiedAccessTrustProviderInput, + DetachVerifiedAccessTrustProviderOutput as DetachVerifiedAccessTrustProviderOutput, + DetachVolumeInput as DetachVolumeInput, + DetachVolumeOutput as DetachVolumeOutput, + DetachVpnGatewayInput as DetachVpnGatewayInput, + DetachVpnGatewayOutput as DetachVpnGatewayOutput, + DeviceOptions as DeviceOptions, + DevicePostureOptions as DevicePostureOptions, + DevicePostureResponseOptions as DevicePostureResponseOptions, + DeviceTrustProviderType as DeviceTrustProviderType, + DeviceType as DeviceType, + DhcpConfiguration as DhcpConfiguration, + DhcpOptions as DhcpOptions, + DimensionCondition as DimensionCondition, + DirectoryServiceAuthentication as DirectoryServiceAuthentication, + DirectoryServiceAuthenticationRequest as DirectoryServiceAuthenticationRequest, + DisableAddressTransferInput as DisableAddressTransferInput, + DisableAddressTransferOutput as DisableAddressTransferOutput, + DisableAllowedImagesSettingsInput as DisableAllowedImagesSettingsInput, + DisableAllowedImagesSettingsOutput as DisableAllowedImagesSettingsOutput, + DisableApplicationStatusCheckSuppressionInput as DisableApplicationStatusCheckSuppressionInput, + DisableApplicationStatusCheckSuppressionOutput as DisableApplicationStatusCheckSuppressionOutput, + DisableAwsNetworkPerformanceMetricSubscriptionInput as DisableAwsNetworkPerformanceMetricSubscriptionInput, + DisableAwsNetworkPerformanceMetricSubscriptionOutput as DisableAwsNetworkPerformanceMetricSubscriptionOutput, + DisableCapacityManagerInput as DisableCapacityManagerInput, + DisableCapacityManagerOutput as DisableCapacityManagerOutput, + DisableEbsEncryptionByDefaultInput as DisableEbsEncryptionByDefaultInput, + DisableEbsEncryptionByDefaultOutput as DisableEbsEncryptionByDefaultOutput, + DisableFastLaunchInput as DisableFastLaunchInput, + DisableFastLaunchOutput as DisableFastLaunchOutput, + DisableFastSnapshotRestoreErrorItem as DisableFastSnapshotRestoreErrorItem, + DisableFastSnapshotRestoresInput as DisableFastSnapshotRestoresInput, + DisableFastSnapshotRestoresOutput as DisableFastSnapshotRestoresOutput, + DisableFastSnapshotRestoreStateError as DisableFastSnapshotRestoreStateError, + DisableFastSnapshotRestoreStateErrorItem as DisableFastSnapshotRestoreStateErrorItem, + DisableFastSnapshotRestoreSuccessItem as DisableFastSnapshotRestoreSuccessItem, + DisableImageBlockPublicAccessInput as DisableImageBlockPublicAccessInput, + DisableImageBlockPublicAccessOutput as DisableImageBlockPublicAccessOutput, + DisableImageDeprecationInput as DisableImageDeprecationInput, + DisableImageDeprecationOutput as DisableImageDeprecationOutput, + DisableImageDeregistrationProtectionInput as DisableImageDeregistrationProtectionInput, + DisableImageDeregistrationProtectionOutput as DisableImageDeregistrationProtectionOutput, + DisableImageInput as DisableImageInput, + DisableImageOutput as DisableImageOutput, + DisableInstanceSqlHaStandbyDetectionsInput as DisableInstanceSqlHaStandbyDetectionsInput, + DisableInstanceSqlHaStandbyDetectionsOutput as DisableInstanceSqlHaStandbyDetectionsOutput, + DisableIpamOrganizationAdminAccountInput as DisableIpamOrganizationAdminAccountInput, + DisableIpamOrganizationAdminAccountOutput as DisableIpamOrganizationAdminAccountOutput, + DisableIpamPolicyInput as DisableIpamPolicyInput, + DisableIpamPolicyOutput as DisableIpamPolicyOutput, + DisableRouteServerPropagationInput as DisableRouteServerPropagationInput, + DisableRouteServerPropagationOutput as DisableRouteServerPropagationOutput, + DisableSerialConsoleAccessInput as DisableSerialConsoleAccessInput, + DisableSerialConsoleAccessOutput as DisableSerialConsoleAccessOutput, + DisableSnapshotBlockPublicAccessInput as DisableSnapshotBlockPublicAccessInput, + DisableSnapshotBlockPublicAccessOutput as DisableSnapshotBlockPublicAccessOutput, + DisableTransitGatewayRouteTablePropagationInput as DisableTransitGatewayRouteTablePropagationInput, + DisableTransitGatewayRouteTablePropagationOutput as DisableTransitGatewayRouteTablePropagationOutput, + DisableVgwRoutePropagationInput as DisableVgwRoutePropagationInput, + DisableVgwRoutePropagationOutput as DisableVgwRoutePropagationOutput, + DisableVpcClassicLinkDnsSupportInput as DisableVpcClassicLinkDnsSupportInput, + DisableVpcClassicLinkDnsSupportOutput as DisableVpcClassicLinkDnsSupportOutput, + DisableVpcClassicLinkInput as DisableVpcClassicLinkInput, + DisableVpcClassicLinkOutput as DisableVpcClassicLinkOutput, + DisassociateAddressInput as DisassociateAddressInput, + DisassociateAddressOutput as DisassociateAddressOutput, + DisassociateApplicationStatusCheckInput as DisassociateApplicationStatusCheckInput, + DisassociateApplicationStatusCheckOutput as DisassociateApplicationStatusCheckOutput, + DisassociateCapacityReservationBillingOwnerInput as DisassociateCapacityReservationBillingOwnerInput, + DisassociateCapacityReservationBillingOwnerOutput as DisassociateCapacityReservationBillingOwnerOutput, + DisassociateClientVpnTargetNetworkInput as DisassociateClientVpnTargetNetworkInput, + DisassociateClientVpnTargetNetworkOutput as DisassociateClientVpnTargetNetworkOutput, + DisassociateEnclaveCertificateIamRoleInput as DisassociateEnclaveCertificateIamRoleInput, + DisassociateEnclaveCertificateIamRoleOutput as DisassociateEnclaveCertificateIamRoleOutput, + DisassociateIamInstanceProfileInput as DisassociateIamInstanceProfileInput, + DisassociateIamInstanceProfileOutput as DisassociateIamInstanceProfileOutput, + DisassociateInstanceEventWindowInput as DisassociateInstanceEventWindowInput, + DisassociateInstanceEventWindowOutput as DisassociateInstanceEventWindowOutput, + DisassociateIpamByoasnInput as DisassociateIpamByoasnInput, + DisassociateIpamByoasnOutput as DisassociateIpamByoasnOutput, + DisassociateIpamResourceDiscoveryInput as DisassociateIpamResourceDiscoveryInput, + DisassociateIpamResourceDiscoveryOutput as DisassociateIpamResourceDiscoveryOutput, + DisassociateNatGatewayAddressInput as DisassociateNatGatewayAddressInput, + DisassociateNatGatewayAddressOutput as DisassociateNatGatewayAddressOutput, + DisassociateRouteServerInput as DisassociateRouteServerInput, + DisassociateRouteServerOutput as DisassociateRouteServerOutput, + DisassociateRouteTableInput as DisassociateRouteTableInput, + DisassociateRouteTableOutput as DisassociateRouteTableOutput, + DisassociateSecurityGroupVpcInput as DisassociateSecurityGroupVpcInput, + DisassociateSecurityGroupVpcOutput as DisassociateSecurityGroupVpcOutput, + DisassociateSubnetCidrBlockInput as DisassociateSubnetCidrBlockInput, + DisassociateSubnetCidrBlockOutput as DisassociateSubnetCidrBlockOutput, + DisassociateTransitGatewayMulticastDomainInput as DisassociateTransitGatewayMulticastDomainInput, + DisassociateTransitGatewayMulticastDomainOutput as DisassociateTransitGatewayMulticastDomainOutput, + DisassociateTransitGatewayPolicyTableInput as DisassociateTransitGatewayPolicyTableInput, + DisassociateTransitGatewayPolicyTableOutput as DisassociateTransitGatewayPolicyTableOutput, + DisassociateTransitGatewayRouteTableInput as DisassociateTransitGatewayRouteTableInput, + DisassociateTransitGatewayRouteTableOutput as DisassociateTransitGatewayRouteTableOutput, + DisassociateTrunkInterfaceInput as DisassociateTrunkInterfaceInput, + DisassociateTrunkInterfaceOutput as DisassociateTrunkInterfaceOutput, + DisassociateVpcCidrBlockInput as DisassociateVpcCidrBlockInput, + DisassociateVpcCidrBlockOutput as DisassociateVpcCidrBlockOutput, + DiskImage as DiskImage, + DiskImageDescription as DiskImageDescription, + DiskImageDetail as DiskImageDetail, + DiskImageFormat as DiskImageFormat, + DiskImageVolumeDescription as DiskImageVolumeDescription, + DiskInfo as DiskInfo, + DiskType as DiskType, + DnsEntry as DnsEntry, + DnsNameState as DnsNameState, + DnsOptions as DnsOptions, + DnsOptionsSpecification as DnsOptionsSpecification, + DnsRecordIpType as DnsRecordIpType, + DnsServersOptionsModifyStructure as DnsServersOptionsModifyStructure, + DnsSupportValue as DnsSupportValue, + DomainType as DomainType, + DynamicRoutingValue as DynamicRoutingValue, + EbsBlockDevice as EbsBlockDevice, + EbsBlockDeviceResponse as EbsBlockDeviceResponse, + EbsCardInfo as EbsCardInfo, + EbsEncryptionSupport as EbsEncryptionSupport, + EbsInfo as EbsInfo, + EbsInstanceBlockDevice as EbsInstanceBlockDevice, + EbsInstanceBlockDeviceSpecification as EbsInstanceBlockDeviceSpecification, + EbsNvmeSupport as EbsNvmeSupport, + EbsOptimizedInfo as EbsOptimizedInfo, + EbsOptimizedSupport as EbsOptimizedSupport, + EbsStatusDetails as EbsStatusDetails, + EbsStatusSummary as EbsStatusSummary, + Ec2InstanceConnectEndpoint as Ec2InstanceConnectEndpoint, + Ec2InstanceConnectEndpointState as Ec2InstanceConnectEndpointState, + EfaInfo as EfaInfo, + EgressOnlyInternetGateway as EgressOnlyInternetGateway, + EkPubKeyFormat as EkPubKeyFormat, + EkPubKeyType as EkPubKeyType, + ElasticGpuAssociation as ElasticGpuAssociation, + ElasticGpuHealth as ElasticGpuHealth, + ElasticGpus as ElasticGpus, + ElasticGpuSpecification as ElasticGpuSpecification, + ElasticGpuSpecificationResponse as ElasticGpuSpecificationResponse, + ElasticGpuState as ElasticGpuState, + ElasticGpuStatus as ElasticGpuStatus, + ElasticInferenceAccelerator as ElasticInferenceAccelerator, + ElasticInferenceAcceleratorAssociation as ElasticInferenceAcceleratorAssociation, + EnableAddressTransferInput as EnableAddressTransferInput, + EnableAddressTransferOutput as EnableAddressTransferOutput, + EnableAllowedImagesSettingsInput as EnableAllowedImagesSettingsInput, + EnableAllowedImagesSettingsOutput as EnableAllowedImagesSettingsOutput, + EnableApplicationStatusCheckSuppressionInput as EnableApplicationStatusCheckSuppressionInput, + EnableApplicationStatusCheckSuppressionOutput as EnableApplicationStatusCheckSuppressionOutput, + EnableAwsNetworkPerformanceMetricSubscriptionInput as EnableAwsNetworkPerformanceMetricSubscriptionInput, + EnableAwsNetworkPerformanceMetricSubscriptionOutput as EnableAwsNetworkPerformanceMetricSubscriptionOutput, + EnableCapacityManagerInput as EnableCapacityManagerInput, + EnableCapacityManagerOutput as EnableCapacityManagerOutput, + EnableEbsEncryptionByDefaultInput as EnableEbsEncryptionByDefaultInput, + EnableEbsEncryptionByDefaultOutput as EnableEbsEncryptionByDefaultOutput, + EnableFastLaunchInput as EnableFastLaunchInput, + EnableFastLaunchOutput as EnableFastLaunchOutput, + EnableFastSnapshotRestoreErrorItem as EnableFastSnapshotRestoreErrorItem, + EnableFastSnapshotRestoresInput as EnableFastSnapshotRestoresInput, + EnableFastSnapshotRestoresOutput as EnableFastSnapshotRestoresOutput, + EnableFastSnapshotRestoreStateError as EnableFastSnapshotRestoreStateError, + EnableFastSnapshotRestoreStateErrorItem as EnableFastSnapshotRestoreStateErrorItem, + EnableFastSnapshotRestoreSuccessItem as EnableFastSnapshotRestoreSuccessItem, + EnableImageBlockPublicAccessInput as EnableImageBlockPublicAccessInput, + EnableImageBlockPublicAccessOutput as EnableImageBlockPublicAccessOutput, + EnableImageDeprecationInput as EnableImageDeprecationInput, + EnableImageDeprecationOutput as EnableImageDeprecationOutput, + EnableImageDeregistrationProtectionInput as EnableImageDeregistrationProtectionInput, + EnableImageDeregistrationProtectionOutput as EnableImageDeregistrationProtectionOutput, + EnableImageInput as EnableImageInput, + EnableImageOutput as EnableImageOutput, + EnableInstanceSqlHaStandbyDetectionsInput as EnableInstanceSqlHaStandbyDetectionsInput, + EnableInstanceSqlHaStandbyDetectionsOutput as EnableInstanceSqlHaStandbyDetectionsOutput, + EnableIpamInternetRegistryAssociationInput as EnableIpamInternetRegistryAssociationInput, + EnableIpamInternetRegistryAssociationOutput as EnableIpamInternetRegistryAssociationOutput, + EnableIpamOrganizationAdminAccountInput as EnableIpamOrganizationAdminAccountInput, + EnableIpamOrganizationAdminAccountOutput as EnableIpamOrganizationAdminAccountOutput, + EnableIpamPolicyInput as EnableIpamPolicyInput, + EnableIpamPolicyOutput as EnableIpamPolicyOutput, + EnableReachabilityAnalyzerOrganizationSharingInput as EnableReachabilityAnalyzerOrganizationSharingInput, + EnableReachabilityAnalyzerOrganizationSharingOutput as EnableReachabilityAnalyzerOrganizationSharingOutput, + EnableRouteServerPropagationInput as EnableRouteServerPropagationInput, + EnableRouteServerPropagationOutput as EnableRouteServerPropagationOutput, + EnableSerialConsoleAccessInput as EnableSerialConsoleAccessInput, + EnableSerialConsoleAccessOutput as EnableSerialConsoleAccessOutput, + EnableSnapshotBlockPublicAccessInput as EnableSnapshotBlockPublicAccessInput, + EnableSnapshotBlockPublicAccessOutput as EnableSnapshotBlockPublicAccessOutput, + EnableTransitGatewayRouteTablePropagationInput as EnableTransitGatewayRouteTablePropagationInput, + EnableTransitGatewayRouteTablePropagationOutput as EnableTransitGatewayRouteTablePropagationOutput, + EnableVgwRoutePropagationInput as EnableVgwRoutePropagationInput, + EnableVgwRoutePropagationOutput as EnableVgwRoutePropagationOutput, + EnableVolumeIOInput as EnableVolumeIOInput, + EnableVolumeIOOutput as EnableVolumeIOOutput, + EnableVpcClassicLinkDnsSupportInput as EnableVpcClassicLinkDnsSupportInput, + EnableVpcClassicLinkDnsSupportOutput as EnableVpcClassicLinkDnsSupportOutput, + EnableVpcClassicLinkInput as EnableVpcClassicLinkInput, + EnableVpcClassicLinkOutput as EnableVpcClassicLinkOutput, + EnaSrdSpecification as EnaSrdSpecification, + EnaSrdSpecificationRequest as EnaSrdSpecificationRequest, + EnaSrdUdpSpecification as EnaSrdUdpSpecification, + EnaSrdUdpSpecificationRequest as EnaSrdUdpSpecificationRequest, + EnaSupport as EnaSupport, + EnclaveOptions as EnclaveOptions, + EnclaveOptionsRequest as EnclaveOptionsRequest, + EncryptionStateValue as EncryptionStateValue, + EncryptionSupport as EncryptionSupport, + EncryptionSupportOptionValue as EncryptionSupportOptionValue, + EndDateType as EndDateType, + EndpointIpAddressType as EndpointIpAddressType, + EphemeralNvmeSupport as EphemeralNvmeSupport, + EventCode as EventCode, + EventInformation as EventInformation, + EventType as EventType, + ExcessCapacityTerminationPolicy as ExcessCapacityTerminationPolicy, + Explanation as Explanation, + ExportClientVpnClientCertificateRevocationListInput as ExportClientVpnClientCertificateRevocationListInput, + ExportClientVpnClientCertificateRevocationListOutput as ExportClientVpnClientCertificateRevocationListOutput, + ExportClientVpnClientConfigurationInput as ExportClientVpnClientConfigurationInput, + ExportClientVpnClientConfigurationOutput as ExportClientVpnClientConfigurationOutput, + ExportEnvironment as ExportEnvironment, + ExportImageInput as ExportImageInput, + ExportImageOutput as ExportImageOutput, + ExportImageTask as ExportImageTask, + ExportTask as ExportTask, + ExportTaskS3Location as ExportTaskS3Location, + ExportTaskS3LocationRequest as ExportTaskS3LocationRequest, + ExportTaskState as ExportTaskState, + ExportToS3Task as ExportToS3Task, + ExportToS3TaskSpecification as ExportToS3TaskSpecification, + ExportTransitGatewayRoutesInput as ExportTransitGatewayRoutesInput, + ExportTransitGatewayRoutesOutput as ExportTransitGatewayRoutesOutput, + ExportVerifiedAccessInstanceClientConfigurationInput as ExportVerifiedAccessInstanceClientConfigurationInput, + ExportVerifiedAccessInstanceClientConfigurationOutput as ExportVerifiedAccessInstanceClientConfigurationOutput, + ExternalAuthorityConfiguration as ExternalAuthorityConfiguration, + FailedCapacityReservationFleetCancellationResult as FailedCapacityReservationFleetCancellationResult, + FailedQueuedPurchaseDeletion as FailedQueuedPurchaseDeletion, + FastLaunchLaunchTemplateSpecificationRequest as FastLaunchLaunchTemplateSpecificationRequest, + FastLaunchLaunchTemplateSpecificationResponse as FastLaunchLaunchTemplateSpecificationResponse, + FastLaunchResourceType as FastLaunchResourceType, + FastLaunchSnapshotConfigurationRequest as FastLaunchSnapshotConfigurationRequest, +) + +from ._private.models_6 import ( + FastLaunchSnapshotConfigurationResponse as FastLaunchSnapshotConfigurationResponse, + FastLaunchStateCode as FastLaunchStateCode, + FastSnapshotRestoreStateCode as FastSnapshotRestoreStateCode, + FederatedAuthentication as FederatedAuthentication, + FederatedAuthenticationRequest as FederatedAuthenticationRequest, + Filter as Filter, + FilterByDimension as FilterByDimension, + FilterPortRange as FilterPortRange, + FindingsFound as FindingsFound, + FirewallStatefulRule as FirewallStatefulRule, + FirewallStatelessRule as FirewallStatelessRule, + FleetActivityStatus as FleetActivityStatus, + FleetBlockDeviceMappingRequest as FleetBlockDeviceMappingRequest, + FleetCapacityReservation as FleetCapacityReservation, + FleetCapacityReservationTargetRequest as FleetCapacityReservationTargetRequest, + FleetCapacityReservationTenancy as FleetCapacityReservationTenancy, + FleetCapacityReservationUsageStrategy as FleetCapacityReservationUsageStrategy, + FleetData as FleetData, + FleetEbsBlockDeviceRequest as FleetEbsBlockDeviceRequest, + FleetEventType as FleetEventType, + FleetExcessCapacityTerminationPolicy as FleetExcessCapacityTerminationPolicy, + FleetHttpTokensState as FleetHttpTokensState, + FleetIamInstanceProfileSpecificationRequest as FleetIamInstanceProfileSpecificationRequest, + FleetInstanceMatchCriteria as FleetInstanceMatchCriteria, + FleetInstanceMetadataEndpointState as FleetInstanceMetadataEndpointState, + FleetInstanceMetadataOptionsRequest as FleetInstanceMetadataOptionsRequest, + FleetLaunchTemplateConfig as FleetLaunchTemplateConfig, + FleetLaunchTemplateConfigRequest as FleetLaunchTemplateConfigRequest, + FleetLaunchTemplateOverrides as FleetLaunchTemplateOverrides, + FleetLaunchTemplateOverridesRequest as FleetLaunchTemplateOverridesRequest, + FleetLaunchTemplateSpecification as FleetLaunchTemplateSpecification, + FleetLaunchTemplateSpecificationRequest as FleetLaunchTemplateSpecificationRequest, + FleetOnDemandAllocationStrategy as FleetOnDemandAllocationStrategy, + FleetReplacementStrategy as FleetReplacementStrategy, + FleetReservationType as FleetReservationType, + FleetSpotCapacityRebalance as FleetSpotCapacityRebalance, + FleetSpotCapacityRebalanceRequest as FleetSpotCapacityRebalanceRequest, + FleetSpotMaintenanceStrategies as FleetSpotMaintenanceStrategies, + FleetSpotMaintenanceStrategiesRequest as FleetSpotMaintenanceStrategiesRequest, + FleetStateCode as FleetStateCode, + FleetType as FleetType, + FlexibleEnaQueuesSupport as FlexibleEnaQueuesSupport, + FlowLog as FlowLog, + FlowLogsResourceType as FlowLogsResourceType, + FpgaDeviceInfo as FpgaDeviceInfo, + FpgaDeviceMemoryInfo as FpgaDeviceMemoryInfo, + FpgaImage as FpgaImage, + FpgaImageAttribute as FpgaImageAttribute, + FpgaImageAttributeName as FpgaImageAttributeName, + FpgaImageState as FpgaImageState, + FpgaImageStateCode as FpgaImageStateCode, + FpgaInfo as FpgaInfo, + GatewayAssociationState as GatewayAssociationState, + GatewayType as GatewayType, + GetActiveVpnTunnelStatusInput as GetActiveVpnTunnelStatusInput, + GetActiveVpnTunnelStatusOutput as GetActiveVpnTunnelStatusOutput, + GetAllowedImagesSettingsInput as GetAllowedImagesSettingsInput, + GetAllowedImagesSettingsOutput as GetAllowedImagesSettingsOutput, + GetAssociatedEnclaveCertificateIamRolesInput as GetAssociatedEnclaveCertificateIamRolesInput, + GetAssociatedEnclaveCertificateIamRolesOutput as GetAssociatedEnclaveCertificateIamRolesOutput, + GetAssociatedIpv6PoolCidrsInput as GetAssociatedIpv6PoolCidrsInput, + GetAssociatedIpv6PoolCidrsOutput as GetAssociatedIpv6PoolCidrsOutput, + GetAwsNetworkPerformanceDataInput as GetAwsNetworkPerformanceDataInput, + GetAwsNetworkPerformanceDataOutput as GetAwsNetworkPerformanceDataOutput, + GetCapacityManagerAttributesInput as GetCapacityManagerAttributesInput, + GetCapacityManagerAttributesOutput as GetCapacityManagerAttributesOutput, + GetCapacityManagerMetricDataInput as GetCapacityManagerMetricDataInput, + GetCapacityManagerMetricDataOutput as GetCapacityManagerMetricDataOutput, + GetCapacityManagerMetricDimensionsInput as GetCapacityManagerMetricDimensionsInput, + GetCapacityManagerMetricDimensionsOutput as GetCapacityManagerMetricDimensionsOutput, + GetCapacityManagerMonitoredTagKeysInput as GetCapacityManagerMonitoredTagKeysInput, + GetCapacityManagerMonitoredTagKeysOutput as GetCapacityManagerMonitoredTagKeysOutput, + GetCapacityManagerSupportabilityScoresInput as GetCapacityManagerSupportabilityScoresInput, + GetCapacityManagerSupportabilityScoresOutput as GetCapacityManagerSupportabilityScoresOutput, + GetCapacityReservationUsageInput as GetCapacityReservationUsageInput, + GetCapacityReservationUsageOutput as GetCapacityReservationUsageOutput, + GetClientVpnEndpointAuthorizationPolicyInput as GetClientVpnEndpointAuthorizationPolicyInput, + GetClientVpnEndpointAuthorizationPolicyOutput as GetClientVpnEndpointAuthorizationPolicyOutput, + GetCoipPoolUsageInput as GetCoipPoolUsageInput, + GetCoipPoolUsageOutput as GetCoipPoolUsageOutput, + GetConsoleOutputInput as GetConsoleOutputInput, + GetConsoleOutputOutput as GetConsoleOutputOutput, + GetConsoleScreenshotInput as GetConsoleScreenshotInput, + GetConsoleScreenshotOutput as GetConsoleScreenshotOutput, + GetDeclarativePoliciesReportSummaryInput as GetDeclarativePoliciesReportSummaryInput, + GetDeclarativePoliciesReportSummaryOutput as GetDeclarativePoliciesReportSummaryOutput, + GetDefaultCreditSpecificationInput as GetDefaultCreditSpecificationInput, + GetDefaultCreditSpecificationOutput as GetDefaultCreditSpecificationOutput, + GetEbsDefaultKmsKeyIdInput as GetEbsDefaultKmsKeyIdInput, + GetEbsDefaultKmsKeyIdOutput as GetEbsDefaultKmsKeyIdOutput, + GetEbsEncryptionByDefaultInput as GetEbsEncryptionByDefaultInput, + GetEbsEncryptionByDefaultOutput as GetEbsEncryptionByDefaultOutput, + GetEnabledIpamPolicyInput as GetEnabledIpamPolicyInput, + GetEnabledIpamPolicyOutput as GetEnabledIpamPolicyOutput, + GetFlowLogsIntegrationTemplateInput as GetFlowLogsIntegrationTemplateInput, + GetFlowLogsIntegrationTemplateOutput as GetFlowLogsIntegrationTemplateOutput, + GetGroupsForCapacityReservationInput as GetGroupsForCapacityReservationInput, + GetGroupsForCapacityReservationOutput as GetGroupsForCapacityReservationOutput, + GetHostReservationPurchasePreviewInput as GetHostReservationPurchasePreviewInput, + GetHostReservationPurchasePreviewOutput as GetHostReservationPurchasePreviewOutput, + GetImageAncestryInput as GetImageAncestryInput, + GetImageAncestryOutput as GetImageAncestryOutput, + GetImageBlockPublicAccessStateInput as GetImageBlockPublicAccessStateInput, + GetImageBlockPublicAccessStateOutput as GetImageBlockPublicAccessStateOutput, + GetImageFindingsInput as GetImageFindingsInput, + GetImageFindingsOutput as GetImageFindingsOutput, + GetInstanceMetadataDefaultsInput as GetInstanceMetadataDefaultsInput, + GetInstanceMetadataDefaultsOutput as GetInstanceMetadataDefaultsOutput, + GetInstanceTpmEkPubInput as GetInstanceTpmEkPubInput, + GetInstanceTpmEkPubOutput as GetInstanceTpmEkPubOutput, + GetInstanceTypesFromInstanceRequirementsInput as GetInstanceTypesFromInstanceRequirementsInput, + GetInstanceTypesFromInstanceRequirementsOutput as GetInstanceTypesFromInstanceRequirementsOutput, + GetInstanceUefiDataInput as GetInstanceUefiDataInput, + GetInstanceUefiDataOutput as GetInstanceUefiDataOutput, + GetIpamAddressHistoryInput as GetIpamAddressHistoryInput, + GetIpamAddressHistoryOutput as GetIpamAddressHistoryOutput, + GetIpamDiscoveredAccountsInput as GetIpamDiscoveredAccountsInput, + GetIpamDiscoveredAccountsOutput as GetIpamDiscoveredAccountsOutput, + GetIpamDiscoveredPublicAddressesInput as GetIpamDiscoveredPublicAddressesInput, + GetIpamDiscoveredPublicAddressesOutput as GetIpamDiscoveredPublicAddressesOutput, + GetIpamDiscoveredResourceCidrsInput as GetIpamDiscoveredResourceCidrsInput, + GetIpamDiscoveredResourceCidrsOutput as GetIpamDiscoveredResourceCidrsOutput, + GetIpamDiscoveredRoutesInput as GetIpamDiscoveredRoutesInput, + GetIpamDiscoveredRoutesOutput as GetIpamDiscoveredRoutesOutput, + GetIpamInternetRegistryAssociationAsnsInput as GetIpamInternetRegistryAssociationAsnsInput, + GetIpamInternetRegistryAssociationAsnsOutput as GetIpamInternetRegistryAssociationAsnsOutput, + GetIpamInternetRegistryAssociationCidrsInput as GetIpamInternetRegistryAssociationCidrsInput, + GetIpamInternetRegistryAssociationCidrsOutput as GetIpamInternetRegistryAssociationCidrsOutput, + GetIpamPolicyAllocationRulesInput as GetIpamPolicyAllocationRulesInput, + GetIpamPolicyAllocationRulesOutput as GetIpamPolicyAllocationRulesOutput, + GetIpamPolicyOrganizationTargetsInput as GetIpamPolicyOrganizationTargetsInput, + GetIpamPolicyOrganizationTargetsOutput as GetIpamPolicyOrganizationTargetsOutput, + GetIpamPoolAllocationsInput as GetIpamPoolAllocationsInput, + GetIpamPoolAllocationsOutput as GetIpamPoolAllocationsOutput, + GetIpamPoolCidrsInput as GetIpamPoolCidrsInput, + GetIpamPoolCidrsOutput as GetIpamPoolCidrsOutput, + GetIpamPrefixListResolverRulesInput as GetIpamPrefixListResolverRulesInput, + GetIpamPrefixListResolverRulesOutput as GetIpamPrefixListResolverRulesOutput, + GetIpamPrefixListResolverVersionEntriesInput as GetIpamPrefixListResolverVersionEntriesInput, + GetIpamPrefixListResolverVersionEntriesOutput as GetIpamPrefixListResolverVersionEntriesOutput, + GetIpamPrefixListResolverVersionsInput as GetIpamPrefixListResolverVersionsInput, + GetIpamPrefixListResolverVersionsOutput as GetIpamPrefixListResolverVersionsOutput, + GetIpamResourceCidrsInput as GetIpamResourceCidrsInput, + GetIpamResourceCidrsOutput as GetIpamResourceCidrsOutput, + GetIpamRouteOriginAuthorizationsInput as GetIpamRouteOriginAuthorizationsInput, + GetIpamRouteOriginAuthorizationsOutput as GetIpamRouteOriginAuthorizationsOutput, + GetIpamRouteProtectionFindingsInput as GetIpamRouteProtectionFindingsInput, + GetIpamRouteProtectionFindingsOutput as GetIpamRouteProtectionFindingsOutput, + GetIpamRoutingPolicyRegistrationDeltasInput as GetIpamRoutingPolicyRegistrationDeltasInput, + GetIpamRoutingPolicyRegistrationDeltasOutput as GetIpamRoutingPolicyRegistrationDeltasOutput, + GetIpamRoutingPolicyRegistrationsInput as GetIpamRoutingPolicyRegistrationsInput, + GetIpamRoutingPolicyRegistrationsOutput as GetIpamRoutingPolicyRegistrationsOutput, + GetLaunchTemplateDataInput as GetLaunchTemplateDataInput, + GetLaunchTemplateDataOutput as GetLaunchTemplateDataOutput, + GetManagedPrefixListAssociationsInput as GetManagedPrefixListAssociationsInput, + GetManagedPrefixListAssociationsOutput as GetManagedPrefixListAssociationsOutput, + GetManagedPrefixListEntriesInput as GetManagedPrefixListEntriesInput, + GetManagedPrefixListEntriesOutput as GetManagedPrefixListEntriesOutput, + GetManagedResourceVisibilityInput as GetManagedResourceVisibilityInput, + GetManagedResourceVisibilityOutput as GetManagedResourceVisibilityOutput, + GetNetworkInsightsAccessScopeAnalysisFindingsInput as GetNetworkInsightsAccessScopeAnalysisFindingsInput, + GetNetworkInsightsAccessScopeAnalysisFindingsOutput as GetNetworkInsightsAccessScopeAnalysisFindingsOutput, + GetNetworkInsightsAccessScopeContentInput as GetNetworkInsightsAccessScopeContentInput, + GetNetworkInsightsAccessScopeContentOutput as GetNetworkInsightsAccessScopeContentOutput, + GetPasswordDataInput as GetPasswordDataInput, + GetPasswordDataOutput as GetPasswordDataOutput, + GetReservedInstancesExchangeQuoteInput as GetReservedInstancesExchangeQuoteInput, + GetReservedInstancesExchangeQuoteOutput as GetReservedInstancesExchangeQuoteOutput, + GetRouteServerAssociationsInput as GetRouteServerAssociationsInput, + GetRouteServerAssociationsOutput as GetRouteServerAssociationsOutput, + GetRouteServerPropagationsInput as GetRouteServerPropagationsInput, + GetRouteServerPropagationsOutput as GetRouteServerPropagationsOutput, + GetRouteServerRoutingDatabaseInput as GetRouteServerRoutingDatabaseInput, + GetRouteServerRoutingDatabaseOutput as GetRouteServerRoutingDatabaseOutput, + GetSecurityGroupsForVpcInput as GetSecurityGroupsForVpcInput, + GetSecurityGroupsForVpcOutput as GetSecurityGroupsForVpcOutput, + GetSerialConsoleAccessStatusInput as GetSerialConsoleAccessStatusInput, + GetSerialConsoleAccessStatusOutput as GetSerialConsoleAccessStatusOutput, + GetSnapshotBlockPublicAccessStateInput as GetSnapshotBlockPublicAccessStateInput, + GetSnapshotBlockPublicAccessStateOutput as GetSnapshotBlockPublicAccessStateOutput, + GetSpotPlacementScoresInput as GetSpotPlacementScoresInput, + GetSpotPlacementScoresOutput as GetSpotPlacementScoresOutput, + GetSubnetCidrReservationsInput as GetSubnetCidrReservationsInput, + GetSubnetCidrReservationsOutput as GetSubnetCidrReservationsOutput, + GetTransitGatewayAttachmentNatConfigurationInput as GetTransitGatewayAttachmentNatConfigurationInput, + GetTransitGatewayAttachmentNatConfigurationOutput as GetTransitGatewayAttachmentNatConfigurationOutput, + GetTransitGatewayAttachmentPropagationsInput as GetTransitGatewayAttachmentPropagationsInput, + GetTransitGatewayAttachmentPropagationsOutput as GetTransitGatewayAttachmentPropagationsOutput, + GetTransitGatewayMeteringPolicyEntriesInput as GetTransitGatewayMeteringPolicyEntriesInput, + GetTransitGatewayMeteringPolicyEntriesOutput as GetTransitGatewayMeteringPolicyEntriesOutput, + GetTransitGatewayMulticastDomainAssociationsInput as GetTransitGatewayMulticastDomainAssociationsInput, + GetTransitGatewayMulticastDomainAssociationsOutput as GetTransitGatewayMulticastDomainAssociationsOutput, + GetTransitGatewayPolicyTableAssociationsInput as GetTransitGatewayPolicyTableAssociationsInput, + GetTransitGatewayPolicyTableAssociationsOutput as GetTransitGatewayPolicyTableAssociationsOutput, + GetTransitGatewayPolicyTableEntriesInput as GetTransitGatewayPolicyTableEntriesInput, + GetTransitGatewayPolicyTableEntriesOutput as GetTransitGatewayPolicyTableEntriesOutput, + GetTransitGatewayPrefixListReferencesInput as GetTransitGatewayPrefixListReferencesInput, + GetTransitGatewayPrefixListReferencesOutput as GetTransitGatewayPrefixListReferencesOutput, + GetTransitGatewayRouteTableAssociationsInput as GetTransitGatewayRouteTableAssociationsInput, + GetTransitGatewayRouteTableAssociationsOutput as GetTransitGatewayRouteTableAssociationsOutput, + GetTransitGatewayRouteTablePropagationsInput as GetTransitGatewayRouteTablePropagationsInput, + GetTransitGatewayRouteTablePropagationsOutput as GetTransitGatewayRouteTablePropagationsOutput, + GetVerifiedAccessEndpointPolicyInput as GetVerifiedAccessEndpointPolicyInput, + GetVerifiedAccessEndpointPolicyOutput as GetVerifiedAccessEndpointPolicyOutput, + GetVerifiedAccessEndpointTargetsInput as GetVerifiedAccessEndpointTargetsInput, + GetVerifiedAccessEndpointTargetsOutput as GetVerifiedAccessEndpointTargetsOutput, + GetVerifiedAccessGroupPolicyInput as GetVerifiedAccessGroupPolicyInput, + GetVerifiedAccessGroupPolicyOutput as GetVerifiedAccessGroupPolicyOutput, + GetVpcResourcesBlockingEncryptionEnforcementInput as GetVpcResourcesBlockingEncryptionEnforcementInput, + GetVpcResourcesBlockingEncryptionEnforcementOutput as GetVpcResourcesBlockingEncryptionEnforcementOutput, + GetVpnConnectionDeviceSampleConfigurationInput as GetVpnConnectionDeviceSampleConfigurationInput, + GetVpnConnectionDeviceSampleConfigurationOutput as GetVpnConnectionDeviceSampleConfigurationOutput, + GetVpnConnectionDeviceTypesInput as GetVpnConnectionDeviceTypesInput, + GetVpnConnectionDeviceTypesOutput as GetVpnConnectionDeviceTypesOutput, + GetVpnTunnelReplacementStatusInput as GetVpnTunnelReplacementStatusInput, + GetVpnTunnelReplacementStatusOutput as GetVpnTunnelReplacementStatusOutput, + GpuDeviceInfo as GpuDeviceInfo, + GpuDeviceMemoryInfo as GpuDeviceMemoryInfo, + GpuInfo as GpuInfo, + GroupBy as GroupBy, + GroupIdentifier as GroupIdentifier, + HaStatus as HaStatus, + HealthCheckPathDestinationRequestObject as HealthCheckPathDestinationRequestObject, + HealthCheckPathDestinationResponseObject as HealthCheckPathDestinationResponseObject, + HealthCheckPathRequestObject as HealthCheckPathRequestObject, + HealthCheckPathResponseObject as HealthCheckPathResponseObject, + HealthCheckPathSourceRequestObject as HealthCheckPathSourceRequestObject, + HealthCheckPathSourceResponseObject as HealthCheckPathSourceResponseObject, + HibernationOptions as HibernationOptions, + HibernationOptionsRequest as HibernationOptionsRequest, + HistoryRecord as HistoryRecord, + HistoryRecordEntry as HistoryRecordEntry, + Host as Host, + HostCpuOptions as HostCpuOptions, + HostCpuOptionsRequest as HostCpuOptionsRequest, + HostInstance as HostInstance, + HostMaintenance as HostMaintenance, + HostnameType as HostnameType, + HostOffering as HostOffering, + HostProperties as HostProperties, + HostRecovery as HostRecovery, + HostReservation as HostReservation, + HostTenancy as HostTenancy, + HttpTokensEnforcedState as HttpTokensEnforcedState, + HttpTokensState as HttpTokensState, + HypervisorType as HypervisorType, + IamInstanceProfile as IamInstanceProfile, + IamInstanceProfileAssociation as IamInstanceProfileAssociation, + IamInstanceProfileAssociationState as IamInstanceProfileAssociationState, + IamInstanceProfileSpecification as IamInstanceProfileSpecification, +) + +from ._private.models_7 import ( + IcmpTypeCode as IcmpTypeCode, + IdFormat as IdFormat, + Igmpv2SupportValue as Igmpv2SupportValue, + IKEVersionsListValue as IKEVersionsListValue, + IKEVersionsRequestListValue as IKEVersionsRequestListValue, + Image as Image, + ImageAncestryEntry as ImageAncestryEntry, + ImageAttributeName as ImageAttributeName, + ImageBlockPublicAccessDisabledState as ImageBlockPublicAccessDisabledState, + ImageBlockPublicAccessEnabledState as ImageBlockPublicAccessEnabledState, + ImageCriterion as ImageCriterion, + ImageCriterionRequest as ImageCriterionRequest, + ImageDiskContainer as ImageDiskContainer, + ImageFinding as ImageFinding, + ImageMetadata as ImageMetadata, + ImageRecycleBinInfo as ImageRecycleBinInfo, + ImageReference as ImageReference, + ImageReferenceOptionName as ImageReferenceOptionName, + ImageReferenceResourceType as ImageReferenceResourceType, + ImageState as ImageState, + ImageTypeValues as ImageTypeValues, + ImageUsageReport as ImageUsageReport, + ImageUsageReportEntry as ImageUsageReportEntry, + ImageUsageResourceType as ImageUsageResourceType, + ImageUsageResourceTypeOption as ImageUsageResourceTypeOption, + ImageUsageResourceTypeOptionRequest as ImageUsageResourceTypeOptionRequest, + ImageUsageResourceTypeRequest as ImageUsageResourceTypeRequest, + ImageWatermark as ImageWatermark, + ImageWatermarkFilterRequest as ImageWatermarkFilterRequest, + ImageWatermarkFilterResponse as ImageWatermarkFilterResponse, + ImdsSupportValues as ImdsSupportValues, + ImportClientVpnClientCertificateRevocationListInput as ImportClientVpnClientCertificateRevocationListInput, + ImportClientVpnClientCertificateRevocationListOutput as ImportClientVpnClientCertificateRevocationListOutput, + ImportImageInput as ImportImageInput, + ImportImageLicenseConfigurationRequest as ImportImageLicenseConfigurationRequest, + ImportImageLicenseConfigurationResponse as ImportImageLicenseConfigurationResponse, + ImportImageOutput as ImportImageOutput, + ImportImageTask as ImportImageTask, + ImportInstanceInput as ImportInstanceInput, + ImportInstanceLaunchSpecification as ImportInstanceLaunchSpecification, + ImportInstanceOutput as ImportInstanceOutput, + ImportInstanceTaskDetails as ImportInstanceTaskDetails, + ImportInstanceVolumeDetailItem as ImportInstanceVolumeDetailItem, + ImportKeyPairInput as ImportKeyPairInput, + ImportKeyPairOutput as ImportKeyPairOutput, + ImportSnapshotInput as ImportSnapshotInput, + ImportSnapshotOutput as ImportSnapshotOutput, + ImportSnapshotTask as ImportSnapshotTask, + ImportVolumeInput as ImportVolumeInput, + ImportVolumeOutput as ImportVolumeOutput, + ImportVolumeTaskDetails as ImportVolumeTaskDetails, + InferenceAcceleratorInfo as InferenceAcceleratorInfo, + InferenceDeviceInfo as InferenceDeviceInfo, + InferenceDeviceMemoryInfo as InferenceDeviceMemoryInfo, + IngestionStatus as IngestionStatus, + InitializationStatusDetails as InitializationStatusDetails, + InitializationType as InitializationType, + Instance as Instance, + InstanceApplicationStatus as InstanceApplicationStatus, + InstanceAttachmentEnaSrdSpecification as InstanceAttachmentEnaSrdSpecification, + InstanceAttachmentEnaSrdUdpSpecification as InstanceAttachmentEnaSrdUdpSpecification, + InstanceAttributeName as InstanceAttributeName, + InstanceAutoRecoveryState as InstanceAutoRecoveryState, + InstanceBandwidthWeighting as InstanceBandwidthWeighting, + InstanceBlockDeviceMapping as InstanceBlockDeviceMapping, + InstanceBlockDeviceMappingSpecification as InstanceBlockDeviceMappingSpecification, + InstanceBootModeValues as InstanceBootModeValues, + InstanceCapacity as InstanceCapacity, + InstanceConnectEndpointDnsNames as InstanceConnectEndpointDnsNames, + InstanceConnectEndpointPublicDnsNames as InstanceConnectEndpointPublicDnsNames, + InstanceCount as InstanceCount, + InstanceCreditSpecification as InstanceCreditSpecification, + InstanceCreditSpecificationRequest as InstanceCreditSpecificationRequest, + InstanceEventWindow as InstanceEventWindow, + InstanceEventWindowAssociationRequest as InstanceEventWindowAssociationRequest, + InstanceEventWindowAssociationTarget as InstanceEventWindowAssociationTarget, + InstanceEventWindowDisassociationRequest as InstanceEventWindowDisassociationRequest, + InstanceEventWindowState as InstanceEventWindowState, + InstanceEventWindowStateChange as InstanceEventWindowStateChange, + InstanceEventWindowTimeRange as InstanceEventWindowTimeRange, + InstanceEventWindowTimeRangeRequest as InstanceEventWindowTimeRangeRequest, + InstanceExportDetails as InstanceExportDetails, + InstanceFamilyCreditSpecification as InstanceFamilyCreditSpecification, + InstanceGeneration as InstanceGeneration, + InstanceHealthStatus as InstanceHealthStatus, + InstanceImageMetadata as InstanceImageMetadata, + InstanceInterruptionBehavior as InstanceInterruptionBehavior, + InstanceIpv4Prefix as InstanceIpv4Prefix, + InstanceIpv6Address as InstanceIpv6Address, + InstanceIpv6AddressRequest as InstanceIpv6AddressRequest, + InstanceIpv6Prefix as InstanceIpv6Prefix, + InstanceLifecycle as InstanceLifecycle, + InstanceLifecycleType as InstanceLifecycleType, + InstanceMaintenanceOptions as InstanceMaintenanceOptions, + InstanceMaintenanceOptionsRequest as InstanceMaintenanceOptionsRequest, + InstanceMarketOptionsRequest as InstanceMarketOptionsRequest, + InstanceMatchCriteria as InstanceMatchCriteria, + InstanceMetadataDefaultsResponse as InstanceMetadataDefaultsResponse, + InstanceMetadataEndpointState as InstanceMetadataEndpointState, + InstanceMetadataOptionsRequest as InstanceMetadataOptionsRequest, + InstanceMetadataOptionsResponse as InstanceMetadataOptionsResponse, + InstanceMetadataOptionsState as InstanceMetadataOptionsState, + InstanceMetadataProtocolState as InstanceMetadataProtocolState, + InstanceMetadataTagsState as InstanceMetadataTagsState, + InstanceMonitoring as InstanceMonitoring, + InstanceNetworkInterface as InstanceNetworkInterface, + InstanceNetworkInterfaceAssociation as InstanceNetworkInterfaceAssociation, + InstanceNetworkInterfaceAttachment as InstanceNetworkInterfaceAttachment, + InstanceNetworkInterfaceSpecification as InstanceNetworkInterfaceSpecification, + InstanceNetworkPerformanceOptions as InstanceNetworkPerformanceOptions, + InstanceNetworkPerformanceOptionsRequest as InstanceNetworkPerformanceOptionsRequest, + InstancePrivateIpAddress as InstancePrivateIpAddress, + InstanceRebootMigrationState as InstanceRebootMigrationState, + InstanceRequirements as InstanceRequirements, + InstanceRequirementsRequest as InstanceRequirementsRequest, + InstanceRequirementsWithMetadataRequest as InstanceRequirementsWithMetadataRequest, + InstanceSecondaryInterface as InstanceSecondaryInterface, + InstanceSecondaryInterfaceAttachment as InstanceSecondaryInterfaceAttachment, + InstanceSecondaryInterfacePrivateIpAddress as InstanceSecondaryInterfacePrivateIpAddress, + InstanceSecondaryInterfacePrivateIpAddressRequest as InstanceSecondaryInterfacePrivateIpAddressRequest, + InstanceSecondaryInterfaceSpecificationRequest as InstanceSecondaryInterfaceSpecificationRequest, + InstanceSpecification as InstanceSpecification, + InstanceState as InstanceState, + InstanceStateChange as InstanceStateChange, + InstanceStateName as InstanceStateName, + InstanceStatus as InstanceStatus, + InstanceStatusDetails as InstanceStatusDetails, + InstanceStatusEvent as InstanceStatusEvent, + InstanceStatusSummary as InstanceStatusSummary, + InstanceStorageEncryptionSupport as InstanceStorageEncryptionSupport, + InstanceStorageInfo as InstanceStorageInfo, + InstanceTagNotificationAttribute as InstanceTagNotificationAttribute, + InstanceTopology as InstanceTopology, + InstanceType as InstanceType, + InstanceTypeHypervisor as InstanceTypeHypervisor, + InstanceTypeInfo as InstanceTypeInfo, + InstanceTypeInfoFromInstanceRequirements as InstanceTypeInfoFromInstanceRequirements, + InstanceTypeItem as InstanceTypeItem, + InstanceTypeOffering as InstanceTypeOffering, + InstanceTypeSpecification as InstanceTypeSpecification, + InstanceTypeSpecificationRequest as InstanceTypeSpecificationRequest, + InstanceUsage as InstanceUsage, + IntegrateServices as IntegrateServices, + InterfacePermissionType as InterfacePermissionType, + InterfaceProtocolType as InterfaceProtocolType, + InternetGateway as InternetGateway, + InternetGatewayAttachment as InternetGatewayAttachment, + InternetGatewayBlockMode as InternetGatewayBlockMode, + InternetGatewayExclusionMode as InternetGatewayExclusionMode, + InterruptibleCapacityAllocation as InterruptibleCapacityAllocation, + InterruptibleCapacityReservationAllocationStatus as InterruptibleCapacityReservationAllocationStatus, + InterruptionInfo as InterruptionInfo, + InterruptionType as InterruptionType, + IpAddressType as IpAddressType, + Ipam as Ipam, + IpamAddressHistoryRecord as IpamAddressHistoryRecord, + IpamAddressHistoryResourceType as IpamAddressHistoryResourceType, + IpamAssociatedResourceDiscoveryStatus as IpamAssociatedResourceDiscoveryStatus, + IpamByoipAdvertisementType as IpamByoipAdvertisementType, + IpamByoipCidrState as IpamByoipCidrState, + IpamCidrAuthorizationContext as IpamCidrAuthorizationContext, + IpamComplianceStatus as IpamComplianceStatus, + IpamDiscoveredAccount as IpamDiscoveredAccount, + IpamDiscoveredPublicAddress as IpamDiscoveredPublicAddress, + IpamDiscoveredResourceCidr as IpamDiscoveredResourceCidr, + IpamDiscoveredRoute as IpamDiscoveredRoute, + IpamDiscoveryFailureCode as IpamDiscoveryFailureCode, + IpamDiscoveryFailureReason as IpamDiscoveryFailureReason, + IpamExternalResourceVerificationToken as IpamExternalResourceVerificationToken, + IpamExternalResourceVerificationTokenState as IpamExternalResourceVerificationTokenState, + IpamInternetRegistryAssociation as IpamInternetRegistryAssociation, + IpamInternetRegistryAssociationAsn as IpamInternetRegistryAssociationAsn, + IpamInternetRegistryAssociationCidr as IpamInternetRegistryAssociationCidr, + IpamInternetRegistryAssociationState as IpamInternetRegistryAssociationState, + IpamManagementState as IpamManagementState, + IpamMeteredAccount as IpamMeteredAccount, + IpamNetworkInterfaceAttachmentStatus as IpamNetworkInterfaceAttachmentStatus, + IpamOperatingRegion as IpamOperatingRegion, + IpamOrganizationalUnitExclusion as IpamOrganizationalUnitExclusion, + IpamOverlapStatus as IpamOverlapStatus, + IpamPolicy as IpamPolicy, + IpamPolicyAllocationRule as IpamPolicyAllocationRule, + IpamPolicyAllocationRuleRequest as IpamPolicyAllocationRuleRequest, + IpamPolicyDocument as IpamPolicyDocument, + IpamPolicyManagedBy as IpamPolicyManagedBy, + IpamPolicyOrganizationTarget as IpamPolicyOrganizationTarget, + IpamPolicyResourceType as IpamPolicyResourceType, + IpamPolicyState as IpamPolicyState, + IpamPool as IpamPool, + IpamPoolAllocation as IpamPoolAllocation, + IpamPoolAllocationResourceType as IpamPoolAllocationResourceType, + IpamPoolAwsService as IpamPoolAwsService, + IpamPoolCidr as IpamPoolCidr, + IpamPoolCidrFailureCode as IpamPoolCidrFailureCode, + IpamPoolCidrFailureReason as IpamPoolCidrFailureReason, + IpamPoolCidrState as IpamPoolCidrState, + IpamPoolPublicIpSource as IpamPoolPublicIpSource, + IpamPoolSourceResource as IpamPoolSourceResource, + IpamPoolSourceResourceRequest as IpamPoolSourceResourceRequest, + IpamPoolSourceResourceType as IpamPoolSourceResourceType, + IpamPoolState as IpamPoolState, + IpamPrefixListResolver as IpamPrefixListResolver, + IpamPrefixListResolverRule as IpamPrefixListResolverRule, + IpamPrefixListResolverRuleCondition as IpamPrefixListResolverRuleCondition, + IpamPrefixListResolverRuleConditionOperation as IpamPrefixListResolverRuleConditionOperation, + IpamPrefixListResolverRuleConditionRequest as IpamPrefixListResolverRuleConditionRequest, + IpamPrefixListResolverRuleRequest as IpamPrefixListResolverRuleRequest, + IpamPrefixListResolverRuleType as IpamPrefixListResolverRuleType, + IpamPrefixListResolverState as IpamPrefixListResolverState, + IpamPrefixListResolverTarget as IpamPrefixListResolverTarget, + IpamPrefixListResolverTargetState as IpamPrefixListResolverTargetState, + IpamPrefixListResolverVersion as IpamPrefixListResolverVersion, + IpamPrefixListResolverVersionCreationStatus as IpamPrefixListResolverVersionCreationStatus, + IpamPrefixListResolverVersionEntry as IpamPrefixListResolverVersionEntry, + IpamPublicAddressAssociationStatus as IpamPublicAddressAssociationStatus, + IpamPublicAddressAwsService as IpamPublicAddressAwsService, + IpamPublicAddressSecurityGroup as IpamPublicAddressSecurityGroup, + IpamPublicAddressTag as IpamPublicAddressTag, + IpamPublicAddressTags as IpamPublicAddressTags, + IpamPublicAddressType as IpamPublicAddressType, + IpamResourceCidr as IpamResourceCidr, + IpamResourceCidrIpSource as IpamResourceCidrIpSource, + IpamResourceDiscovery as IpamResourceDiscovery, + IpamResourceDiscoveryAssociation as IpamResourceDiscoveryAssociation, + IpamResourceDiscoveryAssociationState as IpamResourceDiscoveryAssociationState, + IpamResourceDiscoveryState as IpamResourceDiscoveryState, + IpamResourceTag as IpamResourceTag, + IpamResourceType as IpamResourceType, + IpamRouteOriginAuthorization as IpamRouteOriginAuthorization, + IpamRouteOriginAuthorizationInfo as IpamRouteOriginAuthorizationInfo, + IpamRouteOverlap as IpamRouteOverlap, + IpamRouteProtectionFinding as IpamRouteProtectionFinding, + IpamRoutingPolicyRegistration as IpamRoutingPolicyRegistration, + IpamRoutingPolicyRegistrationDelta as IpamRoutingPolicyRegistrationDelta, + IpamRoutingPolicyRegistrationDeltaState as IpamRoutingPolicyRegistrationDeltaState, + IpamRoutingPolicyRegistrationState as IpamRoutingPolicyRegistrationState, + IpamRpkiStatus as IpamRpkiStatus, + IpamRpkiStrength as IpamRpkiStrength, + IpamScope as IpamScope, + IpamScopeExternalAuthorityConfiguration as IpamScopeExternalAuthorityConfiguration, + IpamScopeExternalAuthorityType as IpamScopeExternalAuthorityType, + IpamScopeState as IpamScopeState, + IpamScopeType as IpamScopeType, + IpamState as IpamState, + IpamTier as IpamTier, + IpPermission as IpPermission, + IpRange as IpRange, + IpScopeEnum as IpScopeEnum, + IpSource as IpSource, + Ipv4PrefixSpecification as Ipv4PrefixSpecification, +) + +from ._private.models_8 import ( + Ipv4PrefixSpecificationRequest as Ipv4PrefixSpecificationRequest, + Ipv4PrefixSpecificationResponse as Ipv4PrefixSpecificationResponse, + Ipv6AddressAttribute as Ipv6AddressAttribute, + Ipv6CidrAssociation as Ipv6CidrAssociation, + Ipv6CidrBlock as Ipv6CidrBlock, + Ipv6Pool as Ipv6Pool, + Ipv6PrefixSpecification as Ipv6PrefixSpecification, + Ipv6PrefixSpecificationRequest as Ipv6PrefixSpecificationRequest, + Ipv6PrefixSpecificationResponse as Ipv6PrefixSpecificationResponse, + Ipv6Range as Ipv6Range, + Ipv6SupportValue as Ipv6SupportValue, + IpVersionEnum as IpVersionEnum, + KeyFormat as KeyFormat, + KeyPairInfo as KeyPairInfo, + KeyType as KeyType, + LastError as LastError, + LaunchPermission as LaunchPermission, + LaunchPermissionModifications as LaunchPermissionModifications, + LaunchSpecification as LaunchSpecification, + LaunchTemplate as LaunchTemplate, + LaunchTemplateAndOverridesResponse as LaunchTemplateAndOverridesResponse, + LaunchTemplateAutoRecoveryState as LaunchTemplateAutoRecoveryState, + LaunchTemplateBlockDeviceMapping as LaunchTemplateBlockDeviceMapping, + LaunchTemplateBlockDeviceMappingRequest as LaunchTemplateBlockDeviceMappingRequest, + LaunchTemplateCapacityReservationSpecificationRequest as LaunchTemplateCapacityReservationSpecificationRequest, + LaunchTemplateCapacityReservationSpecificationResponse as LaunchTemplateCapacityReservationSpecificationResponse, + LaunchTemplateConfig as LaunchTemplateConfig, + LaunchTemplateCpuOptions as LaunchTemplateCpuOptions, + LaunchTemplateCpuOptionsRequest as LaunchTemplateCpuOptionsRequest, + LaunchTemplateEbsBlockDevice as LaunchTemplateEbsBlockDevice, + LaunchTemplateEbsBlockDeviceRequest as LaunchTemplateEbsBlockDeviceRequest, + LaunchTemplateElasticInferenceAccelerator as LaunchTemplateElasticInferenceAccelerator, + LaunchTemplateElasticInferenceAcceleratorResponse as LaunchTemplateElasticInferenceAcceleratorResponse, + LaunchTemplateEnaSrdSpecification as LaunchTemplateEnaSrdSpecification, + LaunchTemplateEnaSrdUdpSpecification as LaunchTemplateEnaSrdUdpSpecification, + LaunchTemplateEnclaveOptions as LaunchTemplateEnclaveOptions, + LaunchTemplateEnclaveOptionsRequest as LaunchTemplateEnclaveOptionsRequest, + LaunchTemplateErrorCode as LaunchTemplateErrorCode, + LaunchTemplateHibernationOptions as LaunchTemplateHibernationOptions, + LaunchTemplateHibernationOptionsRequest as LaunchTemplateHibernationOptionsRequest, + LaunchTemplateHttpTokensState as LaunchTemplateHttpTokensState, + LaunchTemplateIamInstanceProfileSpecification as LaunchTemplateIamInstanceProfileSpecification, + LaunchTemplateIamInstanceProfileSpecificationRequest as LaunchTemplateIamInstanceProfileSpecificationRequest, + LaunchTemplateInstanceMaintenanceOptions as LaunchTemplateInstanceMaintenanceOptions, + LaunchTemplateInstanceMaintenanceOptionsRequest as LaunchTemplateInstanceMaintenanceOptionsRequest, + LaunchTemplateInstanceMarketOptions as LaunchTemplateInstanceMarketOptions, + LaunchTemplateInstanceMarketOptionsRequest as LaunchTemplateInstanceMarketOptionsRequest, + LaunchTemplateInstanceMetadataEndpointState as LaunchTemplateInstanceMetadataEndpointState, + LaunchTemplateInstanceMetadataOptions as LaunchTemplateInstanceMetadataOptions, + LaunchTemplateInstanceMetadataOptionsRequest as LaunchTemplateInstanceMetadataOptionsRequest, + LaunchTemplateInstanceMetadataOptionsState as LaunchTemplateInstanceMetadataOptionsState, + LaunchTemplateInstanceMetadataProtocolIpv6 as LaunchTemplateInstanceMetadataProtocolIpv6, + LaunchTemplateInstanceMetadataTagsState as LaunchTemplateInstanceMetadataTagsState, + LaunchTemplateInstanceNetworkInterfaceSpecification as LaunchTemplateInstanceNetworkInterfaceSpecification, + LaunchTemplateInstanceNetworkInterfaceSpecificationRequest as LaunchTemplateInstanceNetworkInterfaceSpecificationRequest, + LaunchTemplateInstanceSecondaryInterfaceSpecification as LaunchTemplateInstanceSecondaryInterfaceSpecification, + LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest as LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest, + LaunchTemplateLicenseConfiguration as LaunchTemplateLicenseConfiguration, + LaunchTemplateLicenseConfigurationRequest as LaunchTemplateLicenseConfigurationRequest, + LaunchTemplateNetworkPerformanceOptions as LaunchTemplateNetworkPerformanceOptions, + LaunchTemplateNetworkPerformanceOptionsRequest as LaunchTemplateNetworkPerformanceOptionsRequest, + LaunchTemplateOverrides as LaunchTemplateOverrides, + LaunchTemplatePlacement as LaunchTemplatePlacement, + LaunchTemplatePlacementRequest as LaunchTemplatePlacementRequest, + LaunchTemplatePrivateDnsNameOptions as LaunchTemplatePrivateDnsNameOptions, + LaunchTemplatePrivateDnsNameOptionsRequest as LaunchTemplatePrivateDnsNameOptionsRequest, + LaunchTemplatesMonitoring as LaunchTemplatesMonitoring, + LaunchTemplatesMonitoringRequest as LaunchTemplatesMonitoringRequest, + LaunchTemplateSpecification as LaunchTemplateSpecification, + LaunchTemplateSpotMarketOptions as LaunchTemplateSpotMarketOptions, + LaunchTemplateSpotMarketOptionsRequest as LaunchTemplateSpotMarketOptionsRequest, + LaunchTemplateTagSpecification as LaunchTemplateTagSpecification, + LaunchTemplateTagSpecificationRequest as LaunchTemplateTagSpecificationRequest, + LaunchTemplateVersion as LaunchTemplateVersion, + LicenseConfiguration as LicenseConfiguration, + LicenseConfigurationRequest as LicenseConfigurationRequest, + ListImagesInRecycleBinInput as ListImagesInRecycleBinInput, + ListImagesInRecycleBinOutput as ListImagesInRecycleBinOutput, + ListingState as ListingState, + ListingStatus as ListingStatus, + ListSnapshotsInRecycleBinInput as ListSnapshotsInRecycleBinInput, + ListSnapshotsInRecycleBinOutput as ListSnapshotsInRecycleBinOutput, + ListVolumesInRecycleBinInput as ListVolumesInRecycleBinInput, + ListVolumesInRecycleBinOutput as ListVolumesInRecycleBinOutput, + LoadBalancersConfig as LoadBalancersConfig, + LoadPermission as LoadPermission, + LoadPermissionModifications as LoadPermissionModifications, + LoadPermissionRequest as LoadPermissionRequest, + LocalGateway as LocalGateway, + LocalGatewayRoute as LocalGatewayRoute, + LocalGatewayRouteState as LocalGatewayRouteState, + LocalGatewayRouteTable as LocalGatewayRouteTable, + LocalGatewayRouteTableMode as LocalGatewayRouteTableMode, + LocalGatewayRouteTableVirtualInterfaceGroupAssociation as LocalGatewayRouteTableVirtualInterfaceGroupAssociation, + LocalGatewayRouteTableVpcAssociation as LocalGatewayRouteTableVpcAssociation, + LocalGatewayRouteType as LocalGatewayRouteType, + LocalGatewayVirtualInterface as LocalGatewayVirtualInterface, + LocalGatewayVirtualInterfaceConfigurationState as LocalGatewayVirtualInterfaceConfigurationState, + LocalGatewayVirtualInterfaceGroup as LocalGatewayVirtualInterfaceGroup, + LocalGatewayVirtualInterfaceGroupConfigurationState as LocalGatewayVirtualInterfaceGroupConfigurationState, + LocalStorage as LocalStorage, + LocalStorageType as LocalStorageType, + LocationType as LocationType, + LockedSnapshotsInfo as LockedSnapshotsInfo, + LockMode as LockMode, + LockSnapshotInput as LockSnapshotInput, + LockSnapshotOutput as LockSnapshotOutput, + LockState as LockState, + LogDestinationType as LogDestinationType, + MacHost as MacHost, + MacModificationTask as MacModificationTask, + MacModificationTaskState as MacModificationTaskState, + MacModificationTaskType as MacModificationTaskType, + MacSystemIntegrityProtectionConfiguration as MacSystemIntegrityProtectionConfiguration, + MacSystemIntegrityProtectionConfigurationRequest as MacSystemIntegrityProtectionConfigurationRequest, + MacSystemIntegrityProtectionSettingStatus as MacSystemIntegrityProtectionSettingStatus, + MaintenanceDetails as MaintenanceDetails, + ManagedBy as ManagedBy, + ManagedPrefixList as ManagedPrefixList, + ManagedResourceDefaultVisibility as ManagedResourceDefaultVisibility, + ManagedResourceVisibilitySettings as ManagedResourceVisibilitySettings, + MarketType as MarketType, + MediaAcceleratorInfo as MediaAcceleratorInfo, + MediaDeviceInfo as MediaDeviceInfo, + MediaDeviceMemoryInfo as MediaDeviceMemoryInfo, + MembershipType as MembershipType, + MemoryGiBPerVCpu as MemoryGiBPerVCpu, + MemoryGiBPerVCpuRequest as MemoryGiBPerVCpuRequest, + MemoryInfo as MemoryInfo, + MemoryMiB as MemoryMiB, + MemoryMiBRequest as MemoryMiBRequest, + MetadataDefaultHttpTokensState as MetadataDefaultHttpTokensState, + Metric as Metric, + MetricDataResult as MetricDataResult, + MetricPoint as MetricPoint, + MetricType as MetricType, + MetricValue as MetricValue, + ModificationQuoteCurrentConfiguration as ModificationQuoteCurrentConfiguration, + ModificationReservationUpdate as ModificationReservationUpdate, + ModificationTerms as ModificationTerms, + ModifyAccountVpcEncryptionControlInput as ModifyAccountVpcEncryptionControlInput, + ModifyAccountVpcEncryptionControlOutput as ModifyAccountVpcEncryptionControlOutput, + ModifyAddressAttributeInput as ModifyAddressAttributeInput, + ModifyAddressAttributeOutput as ModifyAddressAttributeOutput, + ModifyApplicationStatusCheckInput as ModifyApplicationStatusCheckInput, + ModifyApplicationStatusCheckOutput as ModifyApplicationStatusCheckOutput, + ModifyAvailabilityZoneGroupInput as ModifyAvailabilityZoneGroupInput, + ModifyAvailabilityZoneGroupOutput as ModifyAvailabilityZoneGroupOutput, + ModifyAvailabilityZoneOptInStatus as ModifyAvailabilityZoneOptInStatus, + ModifyCapacityReservationFleetInput as ModifyCapacityReservationFleetInput, + ModifyCapacityReservationFleetOutput as ModifyCapacityReservationFleetOutput, + ModifyCapacityReservationInput as ModifyCapacityReservationInput, + ModifyCapacityReservationOutput as ModifyCapacityReservationOutput, + ModifyClientVpnEndpointAuthorizationPolicyInput as ModifyClientVpnEndpointAuthorizationPolicyInput, + ModifyClientVpnEndpointAuthorizationPolicyOutput as ModifyClientVpnEndpointAuthorizationPolicyOutput, + ModifyClientVpnEndpointInput as ModifyClientVpnEndpointInput, + ModifyClientVpnEndpointOutput as ModifyClientVpnEndpointOutput, + ModifyDefaultCreditSpecificationInput as ModifyDefaultCreditSpecificationInput, + ModifyDefaultCreditSpecificationOutput as ModifyDefaultCreditSpecificationOutput, + ModifyEbsDefaultKmsKeyIdInput as ModifyEbsDefaultKmsKeyIdInput, + ModifyEbsDefaultKmsKeyIdOutput as ModifyEbsDefaultKmsKeyIdOutput, + ModifyFleetInput as ModifyFleetInput, + ModifyFleetOutput as ModifyFleetOutput, + ModifyFpgaImageAttributeInput as ModifyFpgaImageAttributeInput, + ModifyFpgaImageAttributeOutput as ModifyFpgaImageAttributeOutput, + ModifyHostsInput as ModifyHostsInput, + ModifyHostsOutput as ModifyHostsOutput, + ModifyIdentityIdFormatInput as ModifyIdentityIdFormatInput, + ModifyIdentityIdFormatOutput as ModifyIdentityIdFormatOutput, + ModifyIdFormatInput as ModifyIdFormatInput, + ModifyIdFormatOutput as ModifyIdFormatOutput, + ModifyImageAttributeInput as ModifyImageAttributeInput, + ModifyImageAttributeOutput as ModifyImageAttributeOutput, + ModifyInstanceAttributeInput as ModifyInstanceAttributeInput, + ModifyInstanceAttributeOutput as ModifyInstanceAttributeOutput, + ModifyInstanceCapacityReservationAttributesInput as ModifyInstanceCapacityReservationAttributesInput, + ModifyInstanceCapacityReservationAttributesOutput as ModifyInstanceCapacityReservationAttributesOutput, + ModifyInstanceConnectEndpointInput as ModifyInstanceConnectEndpointInput, + ModifyInstanceConnectEndpointOutput as ModifyInstanceConnectEndpointOutput, + ModifyInstanceCpuOptionsInput as ModifyInstanceCpuOptionsInput, + ModifyInstanceCpuOptionsOutput as ModifyInstanceCpuOptionsOutput, + ModifyInstanceCreditSpecificationInput as ModifyInstanceCreditSpecificationInput, + ModifyInstanceCreditSpecificationOutput as ModifyInstanceCreditSpecificationOutput, + ModifyInstanceEventStartTimeInput as ModifyInstanceEventStartTimeInput, + ModifyInstanceEventStartTimeOutput as ModifyInstanceEventStartTimeOutput, + ModifyInstanceEventWindowInput as ModifyInstanceEventWindowInput, + ModifyInstanceEventWindowOutput as ModifyInstanceEventWindowOutput, + ModifyInstanceMaintenanceOptionsInput as ModifyInstanceMaintenanceOptionsInput, + ModifyInstanceMaintenanceOptionsOutput as ModifyInstanceMaintenanceOptionsOutput, + ModifyInstanceMetadataDefaultsInput as ModifyInstanceMetadataDefaultsInput, + ModifyInstanceMetadataDefaultsOutput as ModifyInstanceMetadataDefaultsOutput, + ModifyInstanceMetadataOptionsInput as ModifyInstanceMetadataOptionsInput, + ModifyInstanceMetadataOptionsOutput as ModifyInstanceMetadataOptionsOutput, + ModifyInstanceNetworkPerformanceOptionsInput as ModifyInstanceNetworkPerformanceOptionsInput, + ModifyInstanceNetworkPerformanceOptionsOutput as ModifyInstanceNetworkPerformanceOptionsOutput, + ModifyInstancePlacementInput as ModifyInstancePlacementInput, + ModifyInstancePlacementOutput as ModifyInstancePlacementOutput, + ModifyIpamInput as ModifyIpamInput, + ModifyIpamOutput as ModifyIpamOutput, + ModifyIpamPolicyAllocationRulesInput as ModifyIpamPolicyAllocationRulesInput, + ModifyIpamPolicyAllocationRulesOutput as ModifyIpamPolicyAllocationRulesOutput, + ModifyIpamPoolAllocationInput as ModifyIpamPoolAllocationInput, + ModifyIpamPoolAllocationOutput as ModifyIpamPoolAllocationOutput, + ModifyIpamPoolInput as ModifyIpamPoolInput, + ModifyIpamPoolOutput as ModifyIpamPoolOutput, + ModifyIpamPrefixListResolverInput as ModifyIpamPrefixListResolverInput, + ModifyIpamPrefixListResolverOutput as ModifyIpamPrefixListResolverOutput, + ModifyIpamPrefixListResolverTargetInput as ModifyIpamPrefixListResolverTargetInput, + ModifyIpamPrefixListResolverTargetOutput as ModifyIpamPrefixListResolverTargetOutput, + ModifyIpamResourceCidrInput as ModifyIpamResourceCidrInput, + ModifyIpamResourceCidrOutput as ModifyIpamResourceCidrOutput, + ModifyIpamResourceDiscoveryInput as ModifyIpamResourceDiscoveryInput, + ModifyIpamResourceDiscoveryOutput as ModifyIpamResourceDiscoveryOutput, + ModifyIpamRoutingPolicyRegistrationInput as ModifyIpamRoutingPolicyRegistrationInput, + ModifyIpamRoutingPolicyRegistrationOutput as ModifyIpamRoutingPolicyRegistrationOutput, + ModifyIpamScopeInput as ModifyIpamScopeInput, + ModifyIpamScopeOutput as ModifyIpamScopeOutput, + ModifyLaunchTemplateInput as ModifyLaunchTemplateInput, + ModifyLaunchTemplateOutput as ModifyLaunchTemplateOutput, + ModifyLocalGatewayRouteInput as ModifyLocalGatewayRouteInput, + ModifyLocalGatewayRouteOutput as ModifyLocalGatewayRouteOutput, + ModifyManagedPrefixListInput as ModifyManagedPrefixListInput, + ModifyManagedPrefixListOutput as ModifyManagedPrefixListOutput, + ModifyManagedResourceVisibilityInput as ModifyManagedResourceVisibilityInput, + ModifyManagedResourceVisibilityOutput as ModifyManagedResourceVisibilityOutput, + ModifyNetworkInterfaceAttributeInput as ModifyNetworkInterfaceAttributeInput, + ModifyNetworkInterfaceAttributeOutput as ModifyNetworkInterfaceAttributeOutput, + ModifyPrivateDnsNameOptionsInput as ModifyPrivateDnsNameOptionsInput, + ModifyPrivateDnsNameOptionsOutput as ModifyPrivateDnsNameOptionsOutput, + ModifyPublicIpDnsNameOptionsInput as ModifyPublicIpDnsNameOptionsInput, + ModifyPublicIpDnsNameOptionsOutput as ModifyPublicIpDnsNameOptionsOutput, + ModifyReservedInstancesInput as ModifyReservedInstancesInput, + ModifyReservedInstancesOutput as ModifyReservedInstancesOutput, + ModifyRouteServerInput as ModifyRouteServerInput, + ModifyRouteServerOutput as ModifyRouteServerOutput, + ModifySecurityGroupRulesInput as ModifySecurityGroupRulesInput, + ModifySecurityGroupRulesOutput as ModifySecurityGroupRulesOutput, + ModifySnapshotAttributeInput as ModifySnapshotAttributeInput, + ModifySnapshotAttributeOutput as ModifySnapshotAttributeOutput, + ModifySnapshotTierInput as ModifySnapshotTierInput, + ModifySnapshotTierOutput as ModifySnapshotTierOutput, + ModifySpotFleetRequestInput as ModifySpotFleetRequestInput, + ModifySpotFleetRequestOutput as ModifySpotFleetRequestOutput, + ModifySubnetAttributeInput as ModifySubnetAttributeInput, + ModifySubnetAttributeOutput as ModifySubnetAttributeOutput, + ModifyTrafficMirrorFilterNetworkServicesInput as ModifyTrafficMirrorFilterNetworkServicesInput, + ModifyTrafficMirrorFilterNetworkServicesOutput as ModifyTrafficMirrorFilterNetworkServicesOutput, + ModifyTrafficMirrorFilterRuleInput as ModifyTrafficMirrorFilterRuleInput, + ModifyTrafficMirrorFilterRuleOutput as ModifyTrafficMirrorFilterRuleOutput, + ModifyTrafficMirrorSessionInput as ModifyTrafficMirrorSessionInput, +) + +from ._private.models_9 import ( + ModifyTrafficMirrorSessionOutput as ModifyTrafficMirrorSessionOutput, + ModifyTransitGatewayAttachmentNatConfigurationInput as ModifyTransitGatewayAttachmentNatConfigurationInput, + ModifyTransitGatewayAttachmentNatConfigurationOutput as ModifyTransitGatewayAttachmentNatConfigurationOutput, + ModifyTransitGatewayInput as ModifyTransitGatewayInput, + ModifyTransitGatewayMeteringPolicyInput as ModifyTransitGatewayMeteringPolicyInput, + ModifyTransitGatewayMeteringPolicyOutput as ModifyTransitGatewayMeteringPolicyOutput, + ModifyTransitGatewayOptions as ModifyTransitGatewayOptions, + ModifyTransitGatewayOutput as ModifyTransitGatewayOutput, + ModifyTransitGatewayPolicyTableEntryInput as ModifyTransitGatewayPolicyTableEntryInput, + ModifyTransitGatewayPolicyTableEntryOutput as ModifyTransitGatewayPolicyTableEntryOutput, + ModifyTransitGatewayPrefixListReferenceInput as ModifyTransitGatewayPrefixListReferenceInput, + ModifyTransitGatewayPrefixListReferenceOutput as ModifyTransitGatewayPrefixListReferenceOutput, + ModifyTransitGatewayVpcAttachmentInput as ModifyTransitGatewayVpcAttachmentInput, + ModifyTransitGatewayVpcAttachmentOutput as ModifyTransitGatewayVpcAttachmentOutput, + ModifyTransitGatewayVpcAttachmentRequestOptions as ModifyTransitGatewayVpcAttachmentRequestOptions, + ModifyVerifiedAccessEndpointCidrOptions as ModifyVerifiedAccessEndpointCidrOptions, + ModifyVerifiedAccessEndpointEniOptions as ModifyVerifiedAccessEndpointEniOptions, + ModifyVerifiedAccessEndpointInput as ModifyVerifiedAccessEndpointInput, + ModifyVerifiedAccessEndpointLoadBalancerOptions as ModifyVerifiedAccessEndpointLoadBalancerOptions, + ModifyVerifiedAccessEndpointOutput as ModifyVerifiedAccessEndpointOutput, + ModifyVerifiedAccessEndpointPolicyInput as ModifyVerifiedAccessEndpointPolicyInput, + ModifyVerifiedAccessEndpointPolicyOutput as ModifyVerifiedAccessEndpointPolicyOutput, + ModifyVerifiedAccessEndpointPortRange as ModifyVerifiedAccessEndpointPortRange, + ModifyVerifiedAccessEndpointRdsOptions as ModifyVerifiedAccessEndpointRdsOptions, + ModifyVerifiedAccessGroupInput as ModifyVerifiedAccessGroupInput, + ModifyVerifiedAccessGroupOutput as ModifyVerifiedAccessGroupOutput, + ModifyVerifiedAccessGroupPolicyInput as ModifyVerifiedAccessGroupPolicyInput, + ModifyVerifiedAccessGroupPolicyOutput as ModifyVerifiedAccessGroupPolicyOutput, + ModifyVerifiedAccessInstanceInput as ModifyVerifiedAccessInstanceInput, + ModifyVerifiedAccessInstanceLoggingConfigurationInput as ModifyVerifiedAccessInstanceLoggingConfigurationInput, + ModifyVerifiedAccessInstanceLoggingConfigurationOutput as ModifyVerifiedAccessInstanceLoggingConfigurationOutput, + ModifyVerifiedAccessInstanceOutput as ModifyVerifiedAccessInstanceOutput, + ModifyVerifiedAccessNativeApplicationOidcOptions as ModifyVerifiedAccessNativeApplicationOidcOptions, + ModifyVerifiedAccessTrustProviderDeviceOptions as ModifyVerifiedAccessTrustProviderDeviceOptions, + ModifyVerifiedAccessTrustProviderInput as ModifyVerifiedAccessTrustProviderInput, + ModifyVerifiedAccessTrustProviderOidcOptions as ModifyVerifiedAccessTrustProviderOidcOptions, + ModifyVerifiedAccessTrustProviderOutput as ModifyVerifiedAccessTrustProviderOutput, + ModifyVolumeAttributeInput as ModifyVolumeAttributeInput, + ModifyVolumeAttributeOutput as ModifyVolumeAttributeOutput, + ModifyVolumeInput as ModifyVolumeInput, + ModifyVolumeOutput as ModifyVolumeOutput, + ModifyVpcAttributeInput as ModifyVpcAttributeInput, + ModifyVpcAttributeOutput as ModifyVpcAttributeOutput, + ModifyVpcBlockPublicAccessExclusionInput as ModifyVpcBlockPublicAccessExclusionInput, + ModifyVpcBlockPublicAccessExclusionOutput as ModifyVpcBlockPublicAccessExclusionOutput, + ModifyVpcBlockPublicAccessOptionsInput as ModifyVpcBlockPublicAccessOptionsInput, + ModifyVpcBlockPublicAccessOptionsOutput as ModifyVpcBlockPublicAccessOptionsOutput, + ModifyVpcEncryptionControlInput as ModifyVpcEncryptionControlInput, + ModifyVpcEncryptionControlOutput as ModifyVpcEncryptionControlOutput, + ModifyVpcEndpointConnectionNotificationInput as ModifyVpcEndpointConnectionNotificationInput, + ModifyVpcEndpointConnectionNotificationOutput as ModifyVpcEndpointConnectionNotificationOutput, + ModifyVpcEndpointInput as ModifyVpcEndpointInput, + ModifyVpcEndpointOutput as ModifyVpcEndpointOutput, + ModifyVpcEndpointPayerResponsibilityInput as ModifyVpcEndpointPayerResponsibilityInput, + ModifyVpcEndpointPayerResponsibilityOutput as ModifyVpcEndpointPayerResponsibilityOutput, + ModifyVpcEndpointServiceConfigurationInput as ModifyVpcEndpointServiceConfigurationInput, + ModifyVpcEndpointServiceConfigurationOutput as ModifyVpcEndpointServiceConfigurationOutput, + ModifyVpcEndpointServicePayerResponsibilityInput as ModifyVpcEndpointServicePayerResponsibilityInput, + ModifyVpcEndpointServicePayerResponsibilityOutput as ModifyVpcEndpointServicePayerResponsibilityOutput, + ModifyVpcEndpointServicePermissionsInput as ModifyVpcEndpointServicePermissionsInput, + ModifyVpcEndpointServicePermissionsOutput as ModifyVpcEndpointServicePermissionsOutput, + ModifyVpcPeeringConnectionOptionsInput as ModifyVpcPeeringConnectionOptionsInput, + ModifyVpcPeeringConnectionOptionsOutput as ModifyVpcPeeringConnectionOptionsOutput, + ModifyVpcTenancyInput as ModifyVpcTenancyInput, + ModifyVpcTenancyOutput as ModifyVpcTenancyOutput, + ModifyVpnConnectionInput as ModifyVpnConnectionInput, + ModifyVpnConnectionOptionsInput as ModifyVpnConnectionOptionsInput, + ModifyVpnConnectionOptionsOutput as ModifyVpnConnectionOptionsOutput, + ModifyVpnConnectionOutput as ModifyVpnConnectionOutput, + ModifyVpnTunnelCertificateInput as ModifyVpnTunnelCertificateInput, + ModifyVpnTunnelCertificateOutput as ModifyVpnTunnelCertificateOutput, + ModifyVpnTunnelOptionsInput as ModifyVpnTunnelOptionsInput, + ModifyVpnTunnelOptionsOutput as ModifyVpnTunnelOptionsOutput, + ModifyVpnTunnelOptionsSpecification as ModifyVpnTunnelOptionsSpecification, + Monitoring as Monitoring, + MonitoringState as MonitoringState, + MonitorInstancesInput as MonitorInstancesInput, + MonitorInstancesOutput as MonitorInstancesOutput, + MoveAddressToVpcInput as MoveAddressToVpcInput, + MoveAddressToVpcOutput as MoveAddressToVpcOutput, + MoveByoipCidrToIpamInput as MoveByoipCidrToIpamInput, + MoveByoipCidrToIpamOutput as MoveByoipCidrToIpamOutput, + MoveCapacityReservationInstancesInput as MoveCapacityReservationInstancesInput, + MoveCapacityReservationInstancesOutput as MoveCapacityReservationInstancesOutput, + MoveStatus as MoveStatus, + MovingAddressStatus as MovingAddressStatus, + MulticastSupportValue as MulticastSupportValue, + NatGateway as NatGateway, + NatGatewayAddress as NatGatewayAddress, + NatGatewayAddressStatus as NatGatewayAddressStatus, + NatGatewayApplianceModifyState as NatGatewayApplianceModifyState, + NatGatewayApplianceState as NatGatewayApplianceState, + NatGatewayApplianceType as NatGatewayApplianceType, + NatGatewayAttachedAppliance as NatGatewayAttachedAppliance, + NatGatewayState as NatGatewayState, + NativeApplicationOidcOptions as NativeApplicationOidcOptions, + NestedVirtualizationSpecification as NestedVirtualizationSpecification, + NetworkAcl as NetworkAcl, + NetworkAclAssociation as NetworkAclAssociation, + NetworkAclEntry as NetworkAclEntry, + NetworkBandwidthGbps as NetworkBandwidthGbps, + NetworkBandwidthGbpsRequest as NetworkBandwidthGbpsRequest, + NetworkCardInfo as NetworkCardInfo, + NetworkCardInterfaceType as NetworkCardInterfaceType, + NetworkInfo as NetworkInfo, + NetworkInsightsAccessScope as NetworkInsightsAccessScope, + NetworkInsightsAccessScopeAnalysis as NetworkInsightsAccessScopeAnalysis, + NetworkInsightsAccessScopeContent as NetworkInsightsAccessScopeContent, + NetworkInsightsAnalysis as NetworkInsightsAnalysis, + NetworkInsightsPath as NetworkInsightsPath, + NetworkInterface as NetworkInterface, + NetworkInterfaceAssociation as NetworkInterfaceAssociation, + NetworkInterfaceAttachment as NetworkInterfaceAttachment, + NetworkInterfaceAttachmentChanges as NetworkInterfaceAttachmentChanges, + NetworkInterfaceAttribute as NetworkInterfaceAttribute, + NetworkInterfaceCount as NetworkInterfaceCount, + NetworkInterfaceCountRequest as NetworkInterfaceCountRequest, + NetworkInterfaceCreationType as NetworkInterfaceCreationType, + NetworkInterfaceIpv6Address as NetworkInterfaceIpv6Address, + NetworkInterfacePermission as NetworkInterfacePermission, + NetworkInterfacePermissionState as NetworkInterfacePermissionState, + NetworkInterfacePermissionStateCode as NetworkInterfacePermissionStateCode, + NetworkInterfacePrivateIpAddress as NetworkInterfacePrivateIpAddress, + NetworkInterfaceStatus as NetworkInterfaceStatus, + NetworkInterfaceType as NetworkInterfaceType, + NetworkProtocolEnum as NetworkProtocolEnum, + NeuronDeviceCoreInfo as NeuronDeviceCoreInfo, + NeuronDeviceInfo as NeuronDeviceInfo, + NeuronDeviceMemoryInfo as NeuronDeviceMemoryInfo, + NeuronInfo as NeuronInfo, + NewDhcpConfiguration as NewDhcpConfiguration, + NitroEnclavesSupport as NitroEnclavesSupport, + NitroTpmInfo as NitroTpmInfo, + NitroTpmSupport as NitroTpmSupport, + OfferingClassType as OfferingClassType, + OfferingTypeValues as OfferingTypeValues, + OidcOptions as OidcOptions, + OnDemandAllocationStrategy as OnDemandAllocationStrategy, + OnDemandOptions as OnDemandOptions, + OnDemandOptionsRequest as OnDemandOptionsRequest, + OperationType as OperationType, + OperatorRequest as OperatorRequest, + OperatorResponse as OperatorResponse, + OutpostLag as OutpostLag, + OutputFormat as OutputFormat, + PacketHeaderStatement as PacketHeaderStatement, + PacketHeaderStatementRequest as PacketHeaderStatementRequest, + PartitionLoadFrequency as PartitionLoadFrequency, + PathComponent as PathComponent, + PathFilter as PathFilter, + PathRequestFilter as PathRequestFilter, + PathStatement as PathStatement, + PathStatementRequest as PathStatementRequest, + PayerResponsibility as PayerResponsibility, + PayerResponsibilityEntry as PayerResponsibilityEntry, + PayerResponsibilityScope as PayerResponsibilityScope, + PayerResponsibilityType as PayerResponsibilityType, + PaymentOption as PaymentOption, + PciId as PciId, + PeeringAttachmentStatus as PeeringAttachmentStatus, + PeeringConnectionOptions as PeeringConnectionOptions, + PeeringConnectionOptionsRequest as PeeringConnectionOptionsRequest, + PeeringTgwInfo as PeeringTgwInfo, + PerformanceFactorReference as PerformanceFactorReference, + PerformanceFactorReferenceRequest as PerformanceFactorReferenceRequest, + PerformanceStatusSummary as PerformanceStatusSummary, + PeriodType as PeriodType, + PermissionGroup as PermissionGroup, + Phase1DHGroupNumbersListValue as Phase1DHGroupNumbersListValue, + Phase1DHGroupNumbersRequestListValue as Phase1DHGroupNumbersRequestListValue, + Phase1EncryptionAlgorithmsListValue as Phase1EncryptionAlgorithmsListValue, + Phase1EncryptionAlgorithmsRequestListValue as Phase1EncryptionAlgorithmsRequestListValue, + Phase1IntegrityAlgorithmsListValue as Phase1IntegrityAlgorithmsListValue, + Phase1IntegrityAlgorithmsRequestListValue as Phase1IntegrityAlgorithmsRequestListValue, + Phase2DHGroupNumbersListValue as Phase2DHGroupNumbersListValue, + Phase2DHGroupNumbersRequestListValue as Phase2DHGroupNumbersRequestListValue, + Phase2EncryptionAlgorithmsListValue as Phase2EncryptionAlgorithmsListValue, + Phase2EncryptionAlgorithmsRequestListValue as Phase2EncryptionAlgorithmsRequestListValue, + Phase2IntegrityAlgorithmsListValue as Phase2IntegrityAlgorithmsListValue, + Phase2IntegrityAlgorithmsRequestListValue as Phase2IntegrityAlgorithmsRequestListValue, + PhcSupport as PhcSupport, + Placement as Placement, + PlacementGroup as PlacementGroup, + PlacementGroupInfo as PlacementGroupInfo, + PlacementGroupState as PlacementGroupState, + PlacementGroupStrategy as PlacementGroupStrategy, + PlacementResponse as PlacementResponse, + PlacementStrategy as PlacementStrategy, + PlatformValues as PlatformValues, + PoolCidrBlock as PoolCidrBlock, + PortRange as PortRange, + PrefixList as PrefixList, + PrefixListAssociation as PrefixListAssociation, + PrefixListEntry as PrefixListEntry, + PrefixListId as PrefixListId, + PrefixListState as PrefixListState, + PriceSchedule as PriceSchedule, + PriceScheduleSpecification as PriceScheduleSpecification, + PricingDetail as PricingDetail, + PrincipalIdFormat as PrincipalIdFormat, + PrincipalType as PrincipalType, + PrivateDnsDetails as PrivateDnsDetails, + PrivateDnsNameConfiguration as PrivateDnsNameConfiguration, + PrivateDnsNameOptionsOnLaunch as PrivateDnsNameOptionsOnLaunch, + PrivateDnsNameOptionsRequest as PrivateDnsNameOptionsRequest, + PrivateDnsNameOptionsResponse as PrivateDnsNameOptionsResponse, + PrivateIpAddressSpecification as PrivateIpAddressSpecification, + ProcessorInfo as ProcessorInfo, + ProductCode as ProductCode, + ProductCodeValues as ProductCodeValues, + PropagatingVgw as PropagatingVgw, + Protocol as Protocol, + ProtocolValue as ProtocolValue, + ProvisionByoipCidrInput as ProvisionByoipCidrInput, + ProvisionByoipCidrOutput as ProvisionByoipCidrOutput, + ProvisionedBandwidth as ProvisionedBandwidth, + ProvisionIpamByoasnInput as ProvisionIpamByoasnInput, + ProvisionIpamByoasnOutput as ProvisionIpamByoasnOutput, + ProvisionIpamPoolCidrInput as ProvisionIpamPoolCidrInput, + ProvisionIpamPoolCidrOutput as ProvisionIpamPoolCidrOutput, + ProvisionPublicIpv4PoolCidrInput as ProvisionPublicIpv4PoolCidrInput, + ProvisionPublicIpv4PoolCidrOutput as ProvisionPublicIpv4PoolCidrOutput, + PtrUpdateStatus as PtrUpdateStatus, + PublicIpDnsNameOptions as PublicIpDnsNameOptions, + PublicIpDnsOption as PublicIpDnsOption, + PublicIpv4Pool as PublicIpv4Pool, + PublicIpv4PoolRange as PublicIpv4PoolRange, + Purchase as Purchase, + PurchaseCapacityBlockExtensionInput as PurchaseCapacityBlockExtensionInput, + PurchaseCapacityBlockExtensionOutput as PurchaseCapacityBlockExtensionOutput, + PurchaseCapacityBlockInput as PurchaseCapacityBlockInput, + PurchaseCapacityBlockOutput as PurchaseCapacityBlockOutput, + PurchaseHostReservationInput as PurchaseHostReservationInput, + PurchaseHostReservationOutput as PurchaseHostReservationOutput, + PurchaseRequest as PurchaseRequest, + PurchaseReservedInstancesOfferingInput as PurchaseReservedInstancesOfferingInput, + PurchaseReservedInstancesOfferingOutput as PurchaseReservedInstancesOfferingOutput, + PurchaseScheduledInstancesInput as PurchaseScheduledInstancesInput, + PurchaseScheduledInstancesOutput as PurchaseScheduledInstancesOutput, + RebootInstancesInput as RebootInstancesInput, + RebootInstancesOutput as RebootInstancesOutput, + RebootMigrationSupport as RebootMigrationSupport, + RecurringCharge as RecurringCharge, + RecurringChargeFrequency as RecurringChargeFrequency, + ReferencedSecurityGroup as ReferencedSecurityGroup, + Region as Region, + RegionalSummary as RegionalSummary, + RegionGeography as RegionGeography, + RegisteredInstance as RegisteredInstance, + RegisterImageInput as RegisterImageInput, +) + +from ._private.models_10 import ( + RegisterImageOutput as RegisterImageOutput, + RegisterInstanceEventNotificationAttributesInput as RegisterInstanceEventNotificationAttributesInput, + RegisterInstanceEventNotificationAttributesOutput as RegisterInstanceEventNotificationAttributesOutput, + RegisterInstanceTagAttributeRequest as RegisterInstanceTagAttributeRequest, + RegisterTransitGatewayMulticastGroupMembersInput as RegisterTransitGatewayMulticastGroupMembersInput, + RegisterTransitGatewayMulticastGroupMembersOutput as RegisterTransitGatewayMulticastGroupMembersOutput, + RegisterTransitGatewayMulticastGroupSourcesInput as RegisterTransitGatewayMulticastGroupSourcesInput, + RegisterTransitGatewayMulticastGroupSourcesOutput as RegisterTransitGatewayMulticastGroupSourcesOutput, + RejectCapacityReservationBillingOwnershipInput as RejectCapacityReservationBillingOwnershipInput, + RejectCapacityReservationBillingOwnershipOutput as RejectCapacityReservationBillingOwnershipOutput, + RejectTransitGatewayClientVpnAttachmentInput as RejectTransitGatewayClientVpnAttachmentInput, + RejectTransitGatewayClientVpnAttachmentOutput as RejectTransitGatewayClientVpnAttachmentOutput, + RejectTransitGatewayMulticastDomainAssociationsInput as RejectTransitGatewayMulticastDomainAssociationsInput, + RejectTransitGatewayMulticastDomainAssociationsOutput as RejectTransitGatewayMulticastDomainAssociationsOutput, + RejectTransitGatewayPeeringAttachmentInput as RejectTransitGatewayPeeringAttachmentInput, + RejectTransitGatewayPeeringAttachmentOutput as RejectTransitGatewayPeeringAttachmentOutput, + RejectTransitGatewayVpcAttachmentInput as RejectTransitGatewayVpcAttachmentInput, + RejectTransitGatewayVpcAttachmentOutput as RejectTransitGatewayVpcAttachmentOutput, + RejectVpcEndpointConnectionsInput as RejectVpcEndpointConnectionsInput, + RejectVpcEndpointConnectionsOutput as RejectVpcEndpointConnectionsOutput, + RejectVpcPeeringConnectionInput as RejectVpcPeeringConnectionInput, + RejectVpcPeeringConnectionOutput as RejectVpcPeeringConnectionOutput, + ReleaseAddressInput as ReleaseAddressInput, + ReleaseAddressOutput as ReleaseAddressOutput, + ReleaseHostsInput as ReleaseHostsInput, + ReleaseHostsOutput as ReleaseHostsOutput, + ReleaseIpamPoolAllocationInput as ReleaseIpamPoolAllocationInput, + ReleaseIpamPoolAllocationOutput as ReleaseIpamPoolAllocationOutput, + RemoveIpamOperatingRegion as RemoveIpamOperatingRegion, + RemoveIpamOrganizationalUnitExclusion as RemoveIpamOrganizationalUnitExclusion, + RemovePrefixListEntry as RemovePrefixListEntry, + ReplaceIamInstanceProfileAssociationInput as ReplaceIamInstanceProfileAssociationInput, + ReplaceIamInstanceProfileAssociationOutput as ReplaceIamInstanceProfileAssociationOutput, + ReplaceImageCriteriaInAllowedImagesSettingsInput as ReplaceImageCriteriaInAllowedImagesSettingsInput, + ReplaceImageCriteriaInAllowedImagesSettingsOutput as ReplaceImageCriteriaInAllowedImagesSettingsOutput, + ReplaceImageInstanceTypeSpecificationInput as ReplaceImageInstanceTypeSpecificationInput, + ReplaceImageInstanceTypeSpecificationOutput as ReplaceImageInstanceTypeSpecificationOutput, + ReplacementStrategy as ReplacementStrategy, + ReplaceNetworkAclAssociationInput as ReplaceNetworkAclAssociationInput, + ReplaceNetworkAclAssociationOutput as ReplaceNetworkAclAssociationOutput, + ReplaceNetworkAclEntryInput as ReplaceNetworkAclEntryInput, + ReplaceNetworkAclEntryOutput as ReplaceNetworkAclEntryOutput, + ReplaceRootVolumeTask as ReplaceRootVolumeTask, + ReplaceRootVolumeTaskState as ReplaceRootVolumeTaskState, + ReplaceRouteInput as ReplaceRouteInput, + ReplaceRouteOutput as ReplaceRouteOutput, + ReplaceRouteTableAssociationInput as ReplaceRouteTableAssociationInput, + ReplaceRouteTableAssociationOutput as ReplaceRouteTableAssociationOutput, + ReplaceTransitGatewayRouteInput as ReplaceTransitGatewayRouteInput, + ReplaceTransitGatewayRouteOutput as ReplaceTransitGatewayRouteOutput, + ReplaceVpnTunnelInput as ReplaceVpnTunnelInput, + ReplaceVpnTunnelOutput as ReplaceVpnTunnelOutput, + ReportInstanceReasonCodes as ReportInstanceReasonCodes, + ReportInstanceStatusInput as ReportInstanceStatusInput, + ReportInstanceStatusOutput as ReportInstanceStatusOutput, + ReportState as ReportState, + ReportStatusType as ReportStatusType, + RequestFilterPortRange as RequestFilterPortRange, + RequestIpamResourceTag as RequestIpamResourceTag, + RequestLaunchTemplateData as RequestLaunchTemplateData, + RequestSpotFleetInput as RequestSpotFleetInput, + RequestSpotFleetOutput as RequestSpotFleetOutput, + RequestSpotInstancesInput as RequestSpotInstancesInput, + RequestSpotInstancesOutput as RequestSpotInstancesOutput, + RequestSpotLaunchSpecification as RequestSpotLaunchSpecification, + Reservation as Reservation, + ReservationEndDateType as ReservationEndDateType, + ReservationFleetInstanceSpecification as ReservationFleetInstanceSpecification, + ReservationState as ReservationState, + ReservationType as ReservationType, + ReservationValue as ReservationValue, + ReservedCapacityAllocationStrategy as ReservedCapacityAllocationStrategy, + ReservedCapacityFallbackMarketType as ReservedCapacityFallbackMarketType, + ReservedCapacityFallbackOptions as ReservedCapacityFallbackOptions, + ReservedCapacityFallbackOptionsRequest as ReservedCapacityFallbackOptionsRequest, + ReservedCapacityOptions as ReservedCapacityOptions, + ReservedCapacityOptionsRequest as ReservedCapacityOptionsRequest, + ReservedInstanceLimitPrice as ReservedInstanceLimitPrice, + ReservedInstanceReservationValue as ReservedInstanceReservationValue, + ReservedInstances as ReservedInstances, + ReservedInstancesConfiguration as ReservedInstancesConfiguration, + ReservedInstancesId as ReservedInstancesId, + ReservedInstancesListing as ReservedInstancesListing, + ReservedInstancesModification as ReservedInstancesModification, + ReservedInstancesModificationResult as ReservedInstancesModificationResult, + ReservedInstancesOffering as ReservedInstancesOffering, + ReservedInstanceState as ReservedInstanceState, + ResetAddressAttributeInput as ResetAddressAttributeInput, + ResetAddressAttributeOutput as ResetAddressAttributeOutput, + ResetEbsDefaultKmsKeyIdInput as ResetEbsDefaultKmsKeyIdInput, + ResetEbsDefaultKmsKeyIdOutput as ResetEbsDefaultKmsKeyIdOutput, + ResetFpgaImageAttributeInput as ResetFpgaImageAttributeInput, + ResetFpgaImageAttributeName as ResetFpgaImageAttributeName, + ResetFpgaImageAttributeOutput as ResetFpgaImageAttributeOutput, + ResetImageAttributeInput as ResetImageAttributeInput, + ResetImageAttributeName as ResetImageAttributeName, + ResetImageAttributeOutput as ResetImageAttributeOutput, + ResetInstanceAttributeInput as ResetInstanceAttributeInput, + ResetInstanceAttributeOutput as ResetInstanceAttributeOutput, + ResetNetworkInterfaceAttributeInput as ResetNetworkInterfaceAttributeInput, + ResetNetworkInterfaceAttributeOutput as ResetNetworkInterfaceAttributeOutput, + ResetSnapshotAttributeInput as ResetSnapshotAttributeInput, + ResetSnapshotAttributeOutput as ResetSnapshotAttributeOutput, + ResourceStatement as ResourceStatement, + ResourceStatementRequest as ResourceStatementRequest, + ResourceType as ResourceType, + ResourceTypeOption as ResourceTypeOption, + ResourceTypeRequest as ResourceTypeRequest, + ResponseError as ResponseError, + ResponseLaunchTemplateData as ResponseLaunchTemplateData, + RestoreAddressToClassicInput as RestoreAddressToClassicInput, + RestoreAddressToClassicOutput as RestoreAddressToClassicOutput, + RestoreImageFromRecycleBinInput as RestoreImageFromRecycleBinInput, + RestoreImageFromRecycleBinOutput as RestoreImageFromRecycleBinOutput, + RestoreManagedPrefixListVersionInput as RestoreManagedPrefixListVersionInput, + RestoreManagedPrefixListVersionOutput as RestoreManagedPrefixListVersionOutput, + RestoreSnapshotFromRecycleBinInput as RestoreSnapshotFromRecycleBinInput, + RestoreSnapshotFromRecycleBinOutput as RestoreSnapshotFromRecycleBinOutput, + RestoreSnapshotTierInput as RestoreSnapshotTierInput, + RestoreSnapshotTierOutput as RestoreSnapshotTierOutput, + RestoreVolumeFromRecycleBinInput as RestoreVolumeFromRecycleBinInput, + RestoreVolumeFromRecycleBinOutput as RestoreVolumeFromRecycleBinOutput, + RevokeClientVpnIngressInput as RevokeClientVpnIngressInput, + RevokeClientVpnIngressOutput as RevokeClientVpnIngressOutput, + RevokedSecurityGroupRule as RevokedSecurityGroupRule, + RevokeSecurityGroupEgressInput as RevokeSecurityGroupEgressInput, + RevokeSecurityGroupEgressOutput as RevokeSecurityGroupEgressOutput, + RevokeSecurityGroupIngressInput as RevokeSecurityGroupIngressInput, + RevokeSecurityGroupIngressOutput as RevokeSecurityGroupIngressOutput, + RIProductDescription as RIProductDescription, + Rir as Rir, + RootDeviceType as RootDeviceType, + Route as Route, + RouteOrigin as RouteOrigin, + RouteServer as RouteServer, + RouteServerAssociation as RouteServerAssociation, + RouteServerAssociationState as RouteServerAssociationState, + RouteServerBfdState as RouteServerBfdState, + RouteServerBfdStatus as RouteServerBfdStatus, + RouteServerBgpOptions as RouteServerBgpOptions, + RouteServerBgpOptionsRequest as RouteServerBgpOptionsRequest, + RouteServerBgpState as RouteServerBgpState, + RouteServerBgpStatus as RouteServerBgpStatus, + RouteServerEndpoint as RouteServerEndpoint, + RouteServerEndpointState as RouteServerEndpointState, + RouteServerPeer as RouteServerPeer, + RouteServerPeerLivenessMode as RouteServerPeerLivenessMode, + RouteServerPeerState as RouteServerPeerState, + RouteServerPersistRoutesAction as RouteServerPersistRoutesAction, + RouteServerPersistRoutesState as RouteServerPersistRoutesState, + RouteServerPropagation as RouteServerPropagation, + RouteServerPropagationState as RouteServerPropagationState, + RouteServerRoute as RouteServerRoute, + RouteServerRouteInstallationDetail as RouteServerRouteInstallationDetail, + RouteServerRouteInstallationStatus as RouteServerRouteInstallationStatus, + RouteServerRouteStatus as RouteServerRouteStatus, + RouteServerState as RouteServerState, + RouteState as RouteState, + RouteTable as RouteTable, + RouteTableAssociation as RouteTableAssociation, + RouteTableAssociationState as RouteTableAssociationState, + RouteTableAssociationStateCode as RouteTableAssociationStateCode, + RuleAction as RuleAction, + RuleGroupRuleOptionsPair as RuleGroupRuleOptionsPair, + RuleGroupTypePair as RuleGroupTypePair, + RuleOption as RuleOption, + RunInstancesInput as RunInstancesInput, + RunInstancesMonitoringEnabled as RunInstancesMonitoringEnabled, + RunInstancesOutput as RunInstancesOutput, + RunScheduledInstancesInput as RunScheduledInstancesInput, + RunScheduledInstancesOutput as RunScheduledInstancesOutput, + S3ObjectTag as S3ObjectTag, + S3Storage as S3Storage, + ScanResultCondition as ScanResultCondition, + ScanResultConditionRequest as ScanResultConditionRequest, + ScanResults as ScanResults, + Schedule as Schedule, + ScheduledInstance as ScheduledInstance, + ScheduledInstanceAvailability as ScheduledInstanceAvailability, + ScheduledInstanceRecurrence as ScheduledInstanceRecurrence, + ScheduledInstanceRecurrenceRequest as ScheduledInstanceRecurrenceRequest, + ScheduledInstancesBlockDeviceMapping as ScheduledInstancesBlockDeviceMapping, + ScheduledInstancesEbs as ScheduledInstancesEbs, + ScheduledInstancesIamInstanceProfile as ScheduledInstancesIamInstanceProfile, + ScheduledInstancesIpv6Address as ScheduledInstancesIpv6Address, + ScheduledInstancesLaunchSpecification as ScheduledInstancesLaunchSpecification, + ScheduledInstancesMonitoring as ScheduledInstancesMonitoring, + ScheduledInstancesNetworkInterface as ScheduledInstancesNetworkInterface, + ScheduledInstancesPlacement as ScheduledInstancesPlacement, + ScheduledInstancesPrivateIpAddressConfig as ScheduledInstancesPrivateIpAddressConfig, + Scope as Scope, + SearchLocalGatewayRoutesInput as SearchLocalGatewayRoutesInput, + SearchLocalGatewayRoutesOutput as SearchLocalGatewayRoutesOutput, + SearchTransitGatewayMulticastGroupsInput as SearchTransitGatewayMulticastGroupsInput, + SearchTransitGatewayMulticastGroupsOutput as SearchTransitGatewayMulticastGroupsOutput, + SearchTransitGatewayRoutesInput as SearchTransitGatewayRoutesInput, + SearchTransitGatewayRoutesOutput as SearchTransitGatewayRoutesOutput, + SecondaryInterface as SecondaryInterface, + SecondaryInterfaceAttachment as SecondaryInterfaceAttachment, + SecondaryInterfaceIpv4Address as SecondaryInterfaceIpv4Address, + SecondaryInterfacePrivateIpAddressSpecification as SecondaryInterfacePrivateIpAddressSpecification, + SecondaryInterfacePrivateIpAddressSpecificationRequest as SecondaryInterfacePrivateIpAddressSpecificationRequest, + SecondaryInterfaceStatus as SecondaryInterfaceStatus, + SecondaryInterfaceType as SecondaryInterfaceType, + SecondaryNetwork as SecondaryNetwork, + SecondaryNetworkCidrBlockAssociationState as SecondaryNetworkCidrBlockAssociationState, + SecondaryNetworkIpv4CidrBlockAssociation as SecondaryNetworkIpv4CidrBlockAssociation, + SecondaryNetworkState as SecondaryNetworkState, + SecondaryNetworkType as SecondaryNetworkType, + SecondarySubnet as SecondarySubnet, + SecondarySubnetCidrBlockAssociationState as SecondarySubnetCidrBlockAssociationState, + SecondarySubnetIpv4CidrBlockAssociation as SecondarySubnetIpv4CidrBlockAssociation, + SecondarySubnetState as SecondarySubnetState, + SecureBlobAttributeValue as SecureBlobAttributeValue, + SecurityGroup as SecurityGroup, + SecurityGroupForVpc as SecurityGroupForVpc, + SecurityGroupIdentifier as SecurityGroupIdentifier, + SecurityGroupReference as SecurityGroupReference, + SecurityGroupReferencingSupportValue as SecurityGroupReferencingSupportValue, + SecurityGroupRule as SecurityGroupRule, + SecurityGroupRuleDescription as SecurityGroupRuleDescription, + SecurityGroupRuleRequest as SecurityGroupRuleRequest, + SecurityGroupRuleUpdate as SecurityGroupRuleUpdate, + SecurityGroupVpcAssociation as SecurityGroupVpcAssociation, + SecurityGroupVpcAssociationState as SecurityGroupVpcAssociationState, + SelfServicePortal as SelfServicePortal, + SendDiagnosticInterruptInput as SendDiagnosticInterruptInput, + SendDiagnosticInterruptOutput as SendDiagnosticInterruptOutput, + ServiceConfiguration as ServiceConfiguration, + ServiceConnectivityType as ServiceConnectivityType, + ServiceDetail as ServiceDetail, + ServiceLinkVirtualInterface as ServiceLinkVirtualInterface, + ServiceLinkVirtualInterfaceConfigurationState as ServiceLinkVirtualInterfaceConfigurationState, + ServiceManaged as ServiceManaged, + ServiceState as ServiceState, + ServiceType as ServiceType, + ServiceTypeDetail as ServiceTypeDetail, + SeverityLabel as SeverityLabel, + ShutdownBehavior as ShutdownBehavior, + SlotDateTimeRangeRequest as SlotDateTimeRangeRequest, + SlotStartTimeRangeRequest as SlotStartTimeRangeRequest, + Snapshot as Snapshot, + SnapshotAttributeName as SnapshotAttributeName, + SnapshotBlockPublicAccessState as SnapshotBlockPublicAccessState, + SnapshotDetail as SnapshotDetail, + SnapshotDiskContainer as SnapshotDiskContainer, + SnapshotInfo as SnapshotInfo, + SnapshotLocationEnum as SnapshotLocationEnum, + SnapshotRecycleBinInfo as SnapshotRecycleBinInfo, + SnapshotReturnCodes as SnapshotReturnCodes, +) + +from ._private.models_11 import ( + SnapshotState as SnapshotState, + SnapshotTaskDetail as SnapshotTaskDetail, + SnapshotTierStatus as SnapshotTierStatus, + SpotAllocationStrategy as SpotAllocationStrategy, + SpotCapacityRebalance as SpotCapacityRebalance, + SpotDatafeedSubscription as SpotDatafeedSubscription, + SpotFleetLaunchSpecification as SpotFleetLaunchSpecification, + SpotFleetMonitoring as SpotFleetMonitoring, + SpotFleetRequestConfig as SpotFleetRequestConfig, + SpotFleetRequestConfigData as SpotFleetRequestConfigData, + SpotFleetTagSpecification as SpotFleetTagSpecification, + SpotInstanceInterruptionBehavior as SpotInstanceInterruptionBehavior, + SpotInstanceRequest as SpotInstanceRequest, + SpotInstanceState as SpotInstanceState, + SpotInstanceStateFault as SpotInstanceStateFault, + SpotInstanceStatus as SpotInstanceStatus, + SpotInstanceType as SpotInstanceType, + SpotMaintenanceStrategies as SpotMaintenanceStrategies, + SpotMarketOptions as SpotMarketOptions, + SpotOptions as SpotOptions, + SpotOptionsRequest as SpotOptionsRequest, + SpotPlacement as SpotPlacement, + SpotPlacementScore as SpotPlacementScore, + SpotPrice as SpotPrice, + SpreadLevel as SpreadLevel, + SqlServerLicenseUsage as SqlServerLicenseUsage, + SSEType as SSEType, + StaleIpPermission as StaleIpPermission, + StaleSecurityGroup as StaleSecurityGroup, + StartDeclarativePoliciesReportInput as StartDeclarativePoliciesReportInput, + StartDeclarativePoliciesReportOutput as StartDeclarativePoliciesReportOutput, + StartInstancesInput as StartInstancesInput, + StartInstancesOutput as StartInstancesOutput, + StartNetworkInsightsAccessScopeAnalysisInput as StartNetworkInsightsAccessScopeAnalysisInput, + StartNetworkInsightsAccessScopeAnalysisOutput as StartNetworkInsightsAccessScopeAnalysisOutput, + StartNetworkInsightsAnalysisInput as StartNetworkInsightsAnalysisInput, + StartNetworkInsightsAnalysisOutput as StartNetworkInsightsAnalysisOutput, + StartVpcEndpointServicePrivateDnsVerificationInput as StartVpcEndpointServicePrivateDnsVerificationInput, + StartVpcEndpointServicePrivateDnsVerificationOutput as StartVpcEndpointServicePrivateDnsVerificationOutput, + State as State, + StateReason as StateReason, + StaticSourcesSupportValue as StaticSourcesSupportValue, + StatisticType as StatisticType, + Status as Status, + StatusName as StatusName, + StatusType as StatusType, + StopInstancesInput as StopInstancesInput, + StopInstancesOutput as StopInstancesOutput, + Storage as Storage, + StorageLocation as StorageLocation, + StorageTier as StorageTier, + StoreImageTaskResult as StoreImageTaskResult, + Subnet as Subnet, + SubnetAssociation as SubnetAssociation, + SubnetCidrBlockState as SubnetCidrBlockState, + SubnetCidrBlockStateCode as SubnetCidrBlockStateCode, + SubnetCidrReservation as SubnetCidrReservation, + SubnetCidrReservationType as SubnetCidrReservationType, + SubnetConfiguration as SubnetConfiguration, + SubnetIpPrefixes as SubnetIpPrefixes, + SubnetIpv6CidrBlockAssociation as SubnetIpv6CidrBlockAssociation, + SubnetState as SubnetState, + Subscription as Subscription, + SuccessfulAssociationResponseObject as SuccessfulAssociationResponseObject, + SuccessfulInstanceCreditSpecificationItem as SuccessfulInstanceCreditSpecificationItem, + SuccessfulQueuedPurchaseDeletion as SuccessfulQueuedPurchaseDeletion, + SuccessfulSuppressionResponseObject as SuccessfulSuppressionResponseObject, + SummaryStatus as SummaryStatus, + SupportabilityMarketType as SupportabilityMarketType, + SupportabilityScore as SupportabilityScore, + SupportedAdditionalProcessorFeature as SupportedAdditionalProcessorFeature, + SupportedRegionDetail as SupportedRegionDetail, + Tag as Tag, + TagDescription as TagDescription, + TagFieldSpecificationRequest as TagFieldSpecificationRequest, + TagFieldSpecificationResponse as TagFieldSpecificationResponse, + TaggableResourceType as TaggableResourceType, + TagSpecification as TagSpecification, + TargetCapacitySpecification as TargetCapacitySpecification, + TargetCapacitySpecificationRequest as TargetCapacitySpecificationRequest, + TargetCapacityUnitType as TargetCapacityUnitType, + TargetConfiguration as TargetConfiguration, + TargetConfigurationRequest as TargetConfigurationRequest, + TargetGroup as TargetGroup, + TargetGroupsConfig as TargetGroupsConfig, + TargetNetwork as TargetNetwork, + TargetReservationValue as TargetReservationValue, + TargetStorageTier as TargetStorageTier, + TelemetryStatus as TelemetryStatus, + Tenancy as Tenancy, + TerminateClientVpnConnectionsInput as TerminateClientVpnConnectionsInput, + TerminateClientVpnConnectionsOutput as TerminateClientVpnConnectionsOutput, + TerminateConnectionStatus as TerminateConnectionStatus, + TerminateInstancesInput as TerminateInstancesInput, + TerminateInstancesOutput as TerminateInstancesOutput, + ThroughResourcesStatement as ThroughResourcesStatement, + ThroughResourcesStatementRequest as ThroughResourcesStatementRequest, + TieringOperationStatus as TieringOperationStatus, + TokenState as TokenState, + TotalLocalStorageGB as TotalLocalStorageGB, + TotalLocalStorageGBRequest as TotalLocalStorageGBRequest, + TpmSupportValues as TpmSupportValues, + TrafficDirection as TrafficDirection, + TrafficIpAddressType as TrafficIpAddressType, + TrafficMirrorFilter as TrafficMirrorFilter, + TrafficMirrorFilterRule as TrafficMirrorFilterRule, + TrafficMirrorFilterRuleField as TrafficMirrorFilterRuleField, + TrafficMirrorNetworkService as TrafficMirrorNetworkService, + TrafficMirrorPortRange as TrafficMirrorPortRange, + TrafficMirrorPortRangeRequest as TrafficMirrorPortRangeRequest, + TrafficMirrorRuleAction as TrafficMirrorRuleAction, + TrafficMirrorSession as TrafficMirrorSession, + TrafficMirrorSessionField as TrafficMirrorSessionField, + TrafficMirrorTarget as TrafficMirrorTarget, + TrafficMirrorTargetType as TrafficMirrorTargetType, + TrafficType as TrafficType, + TransferType as TransferType, + TransitGateway as TransitGateway, + TransitGatewayAssociation as TransitGatewayAssociation, + TransitGatewayAssociationState as TransitGatewayAssociationState, + TransitGatewayAttachment as TransitGatewayAttachment, + TransitGatewayAttachmentAssociation as TransitGatewayAttachmentAssociation, + TransitGatewayAttachmentBgpConfiguration as TransitGatewayAttachmentBgpConfiguration, + TransitGatewayAttachmentNatGatewaySupportState as TransitGatewayAttachmentNatGatewaySupportState, + TransitGatewayAttachmentNatGatewaySupportValue as TransitGatewayAttachmentNatGatewaySupportValue, + TransitGatewayAttachmentNatSystemRouteSupportValue as TransitGatewayAttachmentNatSystemRouteSupportValue, + TransitGatewayAttachmentPropagation as TransitGatewayAttachmentPropagation, + TransitGatewayAttachmentResourceType as TransitGatewayAttachmentResourceType, + TransitGatewayAttachmentState as TransitGatewayAttachmentState, + TransitGatewayAttachmentStatusType as TransitGatewayAttachmentStatusType, + TransitGatewayClientVpnAttachment as TransitGatewayClientVpnAttachment, + TransitGatewayConfigurationDescribeEndpointStructure as TransitGatewayConfigurationDescribeEndpointStructure, + TransitGatewayConfigurationInputStructure as TransitGatewayConfigurationInputStructure, + TransitGatewayConnect as TransitGatewayConnect, + TransitGatewayConnectOptions as TransitGatewayConnectOptions, + TransitGatewayConnectPeer as TransitGatewayConnectPeer, + TransitGatewayConnectPeerConfiguration as TransitGatewayConnectPeerConfiguration, + TransitGatewayConnectPeerState as TransitGatewayConnectPeerState, + TransitGatewayConnectRequestBgpOptions as TransitGatewayConnectRequestBgpOptions, + TransitGatewayMeteringPayerType as TransitGatewayMeteringPayerType, + TransitGatewayMeteringPolicy as TransitGatewayMeteringPolicy, + TransitGatewayMeteringPolicyEntry as TransitGatewayMeteringPolicyEntry, + TransitGatewayMeteringPolicyEntryState as TransitGatewayMeteringPolicyEntryState, + TransitGatewayMeteringPolicyRule as TransitGatewayMeteringPolicyRule, + TransitGatewayMeteringPolicyState as TransitGatewayMeteringPolicyState, + TransitGatewayMulitcastDomainAssociationState as TransitGatewayMulitcastDomainAssociationState, + TransitGatewayMulticastDeregisteredGroupMembers as TransitGatewayMulticastDeregisteredGroupMembers, + TransitGatewayMulticastDeregisteredGroupSources as TransitGatewayMulticastDeregisteredGroupSources, + TransitGatewayMulticastDomain as TransitGatewayMulticastDomain, + TransitGatewayMulticastDomainAssociation as TransitGatewayMulticastDomainAssociation, + TransitGatewayMulticastDomainAssociations as TransitGatewayMulticastDomainAssociations, + TransitGatewayMulticastDomainOptions as TransitGatewayMulticastDomainOptions, + TransitGatewayMulticastDomainState as TransitGatewayMulticastDomainState, + TransitGatewayMulticastGroup as TransitGatewayMulticastGroup, + TransitGatewayMulticastRegisteredGroupMembers as TransitGatewayMulticastRegisteredGroupMembers, + TransitGatewayMulticastRegisteredGroupSources as TransitGatewayMulticastRegisteredGroupSources, + TransitGatewayNatRule as TransitGatewayNatRule, + TransitGatewayNatRuleRequest as TransitGatewayNatRuleRequest, + TransitGatewayNatRuleState as TransitGatewayNatRuleState, + TransitGatewayOptions as TransitGatewayOptions, + TransitGatewayPeeringAttachment as TransitGatewayPeeringAttachment, + TransitGatewayPeeringAttachmentOptions as TransitGatewayPeeringAttachmentOptions, + TransitGatewayPolicyRule as TransitGatewayPolicyRule, + TransitGatewayPolicyRuleMetaData as TransitGatewayPolicyRuleMetaData, + TransitGatewayPolicyTable as TransitGatewayPolicyTable, + TransitGatewayPolicyTableAssociation as TransitGatewayPolicyTableAssociation, + TransitGatewayPolicyTableEntry as TransitGatewayPolicyTableEntry, + TransitGatewayPolicyTableEntryState as TransitGatewayPolicyTableEntryState, + TransitGatewayPolicyTableState as TransitGatewayPolicyTableState, + TransitGatewayPrefixListAttachment as TransitGatewayPrefixListAttachment, + TransitGatewayPrefixListReference as TransitGatewayPrefixListReference, + TransitGatewayPrefixListReferenceState as TransitGatewayPrefixListReferenceState, + TransitGatewayPropagation as TransitGatewayPropagation, + TransitGatewayPropagationState as TransitGatewayPropagationState, + TransitGatewayRequestOptions as TransitGatewayRequestOptions, + TransitGatewayRequestPolicyRule as TransitGatewayRequestPolicyRule, + TransitGatewayRequestPolicyRuleMetaData as TransitGatewayRequestPolicyRuleMetaData, + TransitGatewayRoute as TransitGatewayRoute, + TransitGatewayRouteAttachment as TransitGatewayRouteAttachment, + TransitGatewayRouteState as TransitGatewayRouteState, + TransitGatewayRouteTable as TransitGatewayRouteTable, + TransitGatewayRouteTableAnnouncement as TransitGatewayRouteTableAnnouncement, + TransitGatewayRouteTableAnnouncementDirection as TransitGatewayRouteTableAnnouncementDirection, + TransitGatewayRouteTableAnnouncementState as TransitGatewayRouteTableAnnouncementState, + TransitGatewayRouteTableAssociation as TransitGatewayRouteTableAssociation, + TransitGatewayRouteTablePropagation as TransitGatewayRouteTablePropagation, + TransitGatewayRouteTableRoute as TransitGatewayRouteTableRoute, + TransitGatewayRouteTableState as TransitGatewayRouteTableState, + TransitGatewayRouteType as TransitGatewayRouteType, + TransitGatewayState as TransitGatewayState, + TransitGatewayVpcAttachment as TransitGatewayVpcAttachment, + TransitGatewayVpcAttachmentOptions as TransitGatewayVpcAttachmentOptions, + TransportProtocol as TransportProtocol, + TrunkInterfaceAssociation as TrunkInterfaceAssociation, + TrustProviderType as TrustProviderType, + TunnelInsideIpVersion as TunnelInsideIpVersion, + TunnelOption as TunnelOption, + UnassignIpv6AddressesInput as UnassignIpv6AddressesInput, + UnassignIpv6AddressesOutput as UnassignIpv6AddressesOutput, + UnassignPrivateIpAddressesInput as UnassignPrivateIpAddressesInput, + UnassignPrivateIpAddressesOutput as UnassignPrivateIpAddressesOutput, + UnassignPrivateNatGatewayAddressInput as UnassignPrivateNatGatewayAddressInput, + UnassignPrivateNatGatewayAddressOutput as UnassignPrivateNatGatewayAddressOutput, + UnlimitedSupportedInstanceFamily as UnlimitedSupportedInstanceFamily, + UnlockSnapshotInput as UnlockSnapshotInput, + UnlockSnapshotOutput as UnlockSnapshotOutput, + UnmonitorInstancesInput as UnmonitorInstancesInput, + UnmonitorInstancesOutput as UnmonitorInstancesOutput, + UnsuccessfulAssociationResponseObject as UnsuccessfulAssociationResponseObject, + UnsuccessfulInstanceCreditSpecificationErrorCode as UnsuccessfulInstanceCreditSpecificationErrorCode, + UnsuccessfulInstanceCreditSpecificationItem as UnsuccessfulInstanceCreditSpecificationItem, + UnsuccessfulInstanceCreditSpecificationItemError as UnsuccessfulInstanceCreditSpecificationItemError, + UnsuccessfulItem as UnsuccessfulItem, + UnsuccessfulItemError as UnsuccessfulItemError, + UnsuccessfulSuppressionResponseObject as UnsuccessfulSuppressionResponseObject, + UpdateCapacityManagerMonitoredTagKeysInput as UpdateCapacityManagerMonitoredTagKeysInput, + UpdateCapacityManagerMonitoredTagKeysOutput as UpdateCapacityManagerMonitoredTagKeysOutput, + UpdateCapacityManagerOrganizationsAccessInput as UpdateCapacityManagerOrganizationsAccessInput, + UpdateCapacityManagerOrganizationsAccessOutput as UpdateCapacityManagerOrganizationsAccessOutput, + UpdateInterruptibleCapacityReservationAllocationInput as UpdateInterruptibleCapacityReservationAllocationInput, + UpdateInterruptibleCapacityReservationAllocationOutput as UpdateInterruptibleCapacityReservationAllocationOutput, + UpdateSecurityGroupRuleDescriptionsEgressInput as UpdateSecurityGroupRuleDescriptionsEgressInput, + UpdateSecurityGroupRuleDescriptionsEgressOutput as UpdateSecurityGroupRuleDescriptionsEgressOutput, + UpdateSecurityGroupRuleDescriptionsIngressInput as UpdateSecurityGroupRuleDescriptionsIngressInput, + UpdateSecurityGroupRuleDescriptionsIngressOutput as UpdateSecurityGroupRuleDescriptionsIngressOutput, + UsageClassType as UsageClassType, + UserBucket as UserBucket, + UserBucketDetails as UserBucketDetails, + UserData as UserData, + UserIdGroupPair as UserIdGroupPair, + UserTrustProviderType as UserTrustProviderType, + ValidateSecurityGroupQuotasForInterfaceInput as ValidateSecurityGroupQuotasForInterfaceInput, + ValidateSecurityGroupQuotasForInterfaceOutput as ValidateSecurityGroupQuotasForInterfaceOutput, + ValidationError as ValidationError, + ValidationWarning as ValidationWarning, + VCpuCountRange as VCpuCountRange, + VCpuCountRangeRequest as VCpuCountRangeRequest, + VCpuInfo as VCpuInfo, + VerificationMethod as VerificationMethod, + VerifiedAccessEndpoint as VerifiedAccessEndpoint, + VerifiedAccessEndpointAttachmentType as VerifiedAccessEndpointAttachmentType, + VerifiedAccessEndpointCidrOptions as VerifiedAccessEndpointCidrOptions, + VerifiedAccessEndpointEniOptions as VerifiedAccessEndpointEniOptions, + VerifiedAccessEndpointLoadBalancerOptions as VerifiedAccessEndpointLoadBalancerOptions, + VerifiedAccessEndpointPortRange as VerifiedAccessEndpointPortRange, + VerifiedAccessEndpointProtocol as VerifiedAccessEndpointProtocol, + VerifiedAccessEndpointRdsOptions as VerifiedAccessEndpointRdsOptions, + VerifiedAccessEndpointStatus as VerifiedAccessEndpointStatus, + VerifiedAccessEndpointStatusCode as VerifiedAccessEndpointStatusCode, + VerifiedAccessEndpointTarget as VerifiedAccessEndpointTarget, +) + +from ._private.models_12 import ( + VerifiedAccessEndpointType as VerifiedAccessEndpointType, + VerifiedAccessGroup as VerifiedAccessGroup, + VerifiedAccessInstance as VerifiedAccessInstance, + VerifiedAccessInstanceCustomSubDomain as VerifiedAccessInstanceCustomSubDomain, + VerifiedAccessInstanceLoggingConfiguration as VerifiedAccessInstanceLoggingConfiguration, + VerifiedAccessInstanceOpenVpnClientConfiguration as VerifiedAccessInstanceOpenVpnClientConfiguration, + VerifiedAccessInstanceOpenVpnClientConfigurationRoute as VerifiedAccessInstanceOpenVpnClientConfigurationRoute, + VerifiedAccessInstanceUserTrustProviderClientConfiguration as VerifiedAccessInstanceUserTrustProviderClientConfiguration, + VerifiedAccessLogCloudWatchLogsDestination as VerifiedAccessLogCloudWatchLogsDestination, + VerifiedAccessLogCloudWatchLogsDestinationOptions as VerifiedAccessLogCloudWatchLogsDestinationOptions, + VerifiedAccessLogDeliveryStatus as VerifiedAccessLogDeliveryStatus, + VerifiedAccessLogDeliveryStatusCode as VerifiedAccessLogDeliveryStatusCode, + VerifiedAccessLogKinesisDataFirehoseDestination as VerifiedAccessLogKinesisDataFirehoseDestination, + VerifiedAccessLogKinesisDataFirehoseDestinationOptions as VerifiedAccessLogKinesisDataFirehoseDestinationOptions, + VerifiedAccessLogOptions as VerifiedAccessLogOptions, + VerifiedAccessLogs as VerifiedAccessLogs, + VerifiedAccessLogS3Destination as VerifiedAccessLogS3Destination, + VerifiedAccessLogS3DestinationOptions as VerifiedAccessLogS3DestinationOptions, + VerifiedAccessSseSpecificationRequest as VerifiedAccessSseSpecificationRequest, + VerifiedAccessSseSpecificationResponse as VerifiedAccessSseSpecificationResponse, + VerifiedAccessTrustProvider as VerifiedAccessTrustProvider, + VerifiedAccessTrustProviderCondensed as VerifiedAccessTrustProviderCondensed, + VgwTelemetry as VgwTelemetry, + VirtualizationType as VirtualizationType, + Volume as Volume, + VolumeAttachment as VolumeAttachment, + VolumeAttachmentState as VolumeAttachmentState, + VolumeAttributeName as VolumeAttributeName, + VolumeDetail as VolumeDetail, + VolumeModification as VolumeModification, + VolumeModificationState as VolumeModificationState, + VolumeRecycleBinInfo as VolumeRecycleBinInfo, + VolumeState as VolumeState, + VolumeStatusAction as VolumeStatusAction, + VolumeStatusAttachmentStatus as VolumeStatusAttachmentStatus, + VolumeStatusDetails as VolumeStatusDetails, + VolumeStatusEvent as VolumeStatusEvent, + VolumeStatusInfo as VolumeStatusInfo, + VolumeStatusInfoStatus as VolumeStatusInfoStatus, + VolumeStatusItem as VolumeStatusItem, + VolumeStatusName as VolumeStatusName, + VolumeType as VolumeType, + Vpc as Vpc, + VpcAttachment as VpcAttachment, + VpcAttributeName as VpcAttributeName, + VpcBlockPublicAccessExclusion as VpcBlockPublicAccessExclusion, + VpcBlockPublicAccessExclusionsAllowed as VpcBlockPublicAccessExclusionsAllowed, + VpcBlockPublicAccessExclusionState as VpcBlockPublicAccessExclusionState, + VpcBlockPublicAccessOptions as VpcBlockPublicAccessOptions, + VpcBlockPublicAccessState as VpcBlockPublicAccessState, + VpcCidrBlockAssociation as VpcCidrBlockAssociation, + VpcCidrBlockState as VpcCidrBlockState, + VpcCidrBlockStateCode as VpcCidrBlockStateCode, + VpcClassicLink as VpcClassicLink, + VpcEncryptionControl as VpcEncryptionControl, + VpcEncryptionControlConfiguration as VpcEncryptionControlConfiguration, + VpcEncryptionControlExclusion as VpcEncryptionControlExclusion, + VpcEncryptionControlExclusions as VpcEncryptionControlExclusions, + VpcEncryptionControlExclusionState as VpcEncryptionControlExclusionState, + VpcEncryptionControlExclusionStateInput as VpcEncryptionControlExclusionStateInput, + VpcEncryptionControlMode as VpcEncryptionControlMode, + VpcEncryptionControlState as VpcEncryptionControlState, + VpcEncryptionNonCompliantResource as VpcEncryptionNonCompliantResource, + VpcEndpoint as VpcEndpoint, + VpcEndpointAssociation as VpcEndpointAssociation, + VpcEndpointConnection as VpcEndpointConnection, + VpcEndpointType as VpcEndpointType, + VpcIpv6CidrBlockAssociation as VpcIpv6CidrBlockAssociation, + VpcPeeringConnection as VpcPeeringConnection, + VpcPeeringConnectionOptionsDescription as VpcPeeringConnectionOptionsDescription, + VpcPeeringConnectionStateReason as VpcPeeringConnectionStateReason, + VpcPeeringConnectionStateReasonCode as VpcPeeringConnectionStateReasonCode, + VpcPeeringConnectionVpcInfo as VpcPeeringConnectionVpcInfo, + VpcState as VpcState, + VpcTenancy as VpcTenancy, + VpnConcentrator as VpnConcentrator, + VpnConcentratorType as VpnConcentratorType, + VpnConnection as VpnConnection, + VpnConnectionDeviceType as VpnConnectionDeviceType, + VpnConnectionOptions as VpnConnectionOptions, + VpnConnectionOptionsSpecification as VpnConnectionOptionsSpecification, + VpnEcmpSupportValue as VpnEcmpSupportValue, + VpnGateway as VpnGateway, + VpnProtocol as VpnProtocol, + VpnState as VpnState, + VpnStaticRoute as VpnStaticRoute, + VpnStaticRouteSource as VpnStaticRouteSource, + VpnTunnelBandwidth as VpnTunnelBandwidth, + VpnTunnelLogOptions as VpnTunnelLogOptions, + VpnTunnelLogOptionsSpecification as VpnTunnelLogOptionsSpecification, + VpnTunnelOptionsSpecification as VpnTunnelOptionsSpecification, + VpnTunnelProvisioningStatus as VpnTunnelProvisioningStatus, + WeekDay as WeekDay, + WithdrawByoipCidrInput as WithdrawByoipCidrInput, + WithdrawByoipCidrOutput as WithdrawByoipCidrOutput, + ZeroSizePreference as ZeroSizePreference, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -26,74334 +3156,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AcceleratorCount(_SerdeShape): - """ - The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon - Web Services Inferentia chips) on an instance. - """ - - min: int | None = ... - """ - The minimum number of accelerators. If this parameter is not specified, - there is no minimum limit. - """ - max: int | None = ... - """ - The maximum number of accelerators. If this parameter is not specified, - there is no maximum limit. - """ - -@dataclass(kw_only=True) -class AcceleratorCountRequest(_SerdeShape): - """ - The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon - Web Services Inferentia chips) on an instance. To exclude - accelerator-enabled instance types, set `Max` to `0`. - """ - - min: int | None = ... - """ - The minimum number of accelerators. To specify no minimum limit, omit - this parameter. - """ - max: int | None = ... - """ - The maximum number of accelerators. To specify no maximum limit, omit - this parameter. To exclude accelerator-enabled instance types, set `Max` - to `0`. - """ - -class AcceleratorManufacturer(UnknownEnumMixin, StrEnum): - AMAZON_WEB_SERVICES = "amazon-web-services" - AMD = "amd" - NVIDIA = "nvidia" - XILINX = "xilinx" - HABANA = "habana" - -class AcceleratorName(UnknownEnumMixin, StrEnum): - A100 = "a100" - INFERENTIA = "inferentia" - K520 = "k520" - K80 = "k80" - M60 = "m60" - RADEON_PRO_V520 = "radeon-pro-v520" - T4 = "t4" - VU9_P = "vu9p" - V100 = "v100" - A10_G = "a10g" - H100 = "h100" - T4_G = "t4g" - L40_S = "l40s" - L4 = "l4" - GAUDI_HL_205 = "gaudi-hl-205" - INFERENTIA2 = "inferentia2" - TRAINIUM = "trainium" - TRAINIUM2 = "trainium2" - U30 = "u30" - -@dataclass(kw_only=True) -class AcceleratorTotalMemoryMiB(_SerdeShape): - """The minimum and maximum amount of total accelerator memory, in MiB.""" - - min: int | None = ... - """ - The minimum amount of accelerator memory, in MiB. If this parameter is - not specified, there is no minimum limit. - """ - max: int | None = ... - """ - The maximum amount of accelerator memory, in MiB. If this parameter is - not specified, there is no maximum limit. - """ - -@dataclass(kw_only=True) -class AcceleratorTotalMemoryMiBRequest(_SerdeShape): - """The minimum and maximum amount of total accelerator memory, in MiB.""" - - min: int | None = ... - """ - The minimum amount of accelerator memory, in MiB. To specify no minimum - limit, omit this parameter. - """ - max: int | None = ... - """ - The maximum amount of accelerator memory, in MiB. To specify no maximum - limit, omit this parameter. - """ - -class AcceleratorType(UnknownEnumMixin, StrEnum): - GPU = "gpu" - FPGA = "fpga" - INFERENCE = "inference" - MEDIA = "media" - -@dataclass(kw_only=True) -class AcceptAddressTransferInput(_SerdeShape): - """Dataclass for AcceptAddressTransferInput structure.""" - - address: str | None = ... - """The Elastic IP address you are accepting for transfer.""" - tag_specifications: list[TagSpecification] | None = ... - """ - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for the - filter name and `TeamA` for the filter value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AcceptAddressTransferOutput(_SerdeShape): - """Dataclass for AcceptAddressTransferOutput structure.""" - - address_transfer: AddressTransfer | None = ... - """An Elastic IP address transfer.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcceptCapacityReservationBillingOwnershipInput(_SerdeShape): - """Dataclass for AcceptCapacityReservationBillingOwnershipInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation for which to accept the request.""" - -@dataclass(kw_only=True) -class AcceptCapacityReservationBillingOwnershipOutput(_SerdeShape): - """Dataclass for AcceptCapacityReservationBillingOwnershipOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcceptReservedInstancesExchangeQuoteInput(_SerdeShape): - """Contains the parameters for accepting the quote.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - reserved_instance_ids: list[str] | None = ... - """ - The IDs of the Convertible Reserved Instances to exchange for another - Convertible Reserved Instance of the same or higher value. - """ - target_configurations: list[TargetConfigurationRequest] | None = ... - """ - The configuration of the target Convertible Reserved Instance to - exchange for your current Convertible Reserved Instances. - """ - -@dataclass(kw_only=True) -class AcceptReservedInstancesExchangeQuoteOutput(_SerdeShape): - """The result of the exchange and whether it was `successful`.""" - - exchange_id: str | None = ... - """The ID of the successful exchange.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcceptTransitGatewayClientVpnAttachmentInput(_SerdeShape): - """Dataclass for AcceptTransitGatewayClientVpnAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the Transit Gateway attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AcceptTransitGatewayClientVpnAttachmentOutput(_SerdeShape): - """Dataclass for AcceptTransitGatewayClientVpnAttachmentOutput structure.""" - - transit_gateway_client_vpn_attachment: ( - TransitGatewayClientVpnAttachment | None - ) = ... - """Information about the Transit Gateway Client VPN attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcceptTransitGatewayMulticastDomainAssociationsInput(_SerdeShape): - """ - Dataclass for AcceptTransitGatewayMulticastDomainAssociationsInput - structure. - """ - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - subnet_ids: list[str] | None = ... - """ - The IDs of the subnets to associate with the transit gateway multicast - domain. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AcceptTransitGatewayMulticastDomainAssociationsOutput(_SerdeShape): - """ - Dataclass for AcceptTransitGatewayMulticastDomainAssociationsOutput - structure. - """ - - associations: TransitGatewayMulticastDomainAssociations | None = ... - """Information about the multicast domain associations.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcceptTransitGatewayPeeringAttachmentInput(_SerdeShape): - """Dataclass for AcceptTransitGatewayPeeringAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AcceptTransitGatewayPeeringAttachmentOutput(_SerdeShape): - """Dataclass for AcceptTransitGatewayPeeringAttachmentOutput structure.""" - - transit_gateway_peering_attachment: TransitGatewayPeeringAttachment | None = ... - """The transit gateway peering attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcceptTransitGatewayVpcAttachmentInput(_SerdeShape): - """Dataclass for AcceptTransitGatewayVpcAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AcceptTransitGatewayVpcAttachmentOutput(_SerdeShape): - """Dataclass for AcceptTransitGatewayVpcAttachmentOutput structure.""" - - transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... - """The VPC attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcceptVpcEndpointConnectionsInput(_SerdeShape): - """Dataclass for AcceptVpcEndpointConnectionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_id: str | None = ... - """The ID of the VPC endpoint service.""" - vpc_endpoint_ids: list[str] | None = ... - """The IDs of the interface VPC endpoints.""" - -@dataclass(kw_only=True) -class AcceptVpcEndpointConnectionsOutput(_SerdeShape): - """Dataclass for AcceptVpcEndpointConnectionsOutput structure.""" - - unsuccessful: list[UnsuccessfulItem] | None = ... - """ - Information about the interface endpoints that were not accepted, if - applicable. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcceptVpcPeeringConnectionInput(_SerdeShape): - """Dataclass for AcceptVpcPeeringConnectionInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_peering_connection_id: str | None = ... - """ - The ID of the VPC peering connection. You must specify this parameter in - the request. - """ - -@dataclass(kw_only=True) -class AcceptVpcPeeringConnectionOutput(_SerdeShape): - """Dataclass for AcceptVpcPeeringConnectionOutput structure.""" - - vpc_peering_connection: VpcPeeringConnection | None = ... - """Information about the VPC peering connection.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AccessScopeAnalysisFinding(_SerdeShape): - """Describes a finding for a Network Access Scope.""" - - network_insights_access_scope_analysis_id: str | None = ... - """The ID of the Network Access Scope analysis.""" - network_insights_access_scope_id: str | None = ... - """The ID of the Network Access Scope.""" - finding_id: str | None = ... - """The ID of the finding.""" - finding_components: list[PathComponent] | None = ... - """The finding components.""" - -@dataclass(kw_only=True) -class AccessScopePath(_SerdeShape): - """Describes a path.""" - - source: PathStatement | None = ... - """The source.""" - destination: PathStatement | None = ... - """The destination.""" - through_resources: list[ThroughResourcesStatement] | None = ... - """The through resources.""" - -@dataclass(kw_only=True) -class AccessScopePathRequest(_SerdeShape): - """Describes a path.""" - - source: PathStatementRequest | None = ... - """The source.""" - destination: PathStatementRequest | None = ... - """The destination.""" - through_resources: list[ThroughResourcesStatementRequest] | None = ... - """The through resources.""" - -@dataclass(kw_only=True) -class AccountAttribute(_SerdeShape): - """Describes an account attribute.""" - - attribute_name: str | None = ... - """The name of the account attribute.""" - attribute_values: list[AccountAttributeValue] | None = ... - """The values for the account attribute.""" - -class AccountAttributeName(UnknownEnumMixin, StrEnum): - SUPPORTED_PLATFORMS = "supported-platforms" - DEFAULT_VPC = "default-vpc" - -@dataclass(kw_only=True) -class AccountAttributeValue(_SerdeShape): - """Describes a value of an account attribute.""" - - attribute_value: str | None = ... - """The value of the attribute.""" - -@dataclass(kw_only=True) -class AccountVpcEncryptionControl(_SerdeShape): - """ - Describes the account-level VPC Encryption Control configuration, - including its mode, state, and exclusions. - - For more information, see [Enforce VPC encryption in - transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) - in the *Amazon VPC User Guide*. - """ - - state: str | None = ... - """ - The current state of the account-level VPC Encryption Control - configuration. - """ - mode: str | None = ... - """ - The encryption mode for the account-level VPC Encryption Control - configuration. - """ - exclusions: AccountVpcEncryptionControlExclusions | None = ... - """ - Information about the traffic exclusions for the account-level VPC - Encryption Control configuration. - """ - managed_by: str | None = ... - """ - The entity that manages the account-level VPC Encryption Control - configuration. - """ - last_update_timestamp: datetime | None = ... - """ - The date and time when the account-level VPC Encryption Control - configuration was last updated. - """ - -@dataclass(kw_only=True) -class AccountVpcEncryptionControlExclusions(_SerdeShape): - """ - Describes the exclusion configurations for the various resource types in - the account-level VPC Encryption Control configuration. - - For more information, see [Enforce VPC encryption in - transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) - in the *Amazon VPC User Guide*. - """ - - internet_gateway: str | None = ... - """The exclusion configuration for internet gateway resource.""" - egress_only_internet_gateway: str | None = ... - """The exclusion configuration for egress-only internet gateway resource.""" - nat_gateway: str | None = ... - """The exclusion configuration for NAT gateway resource.""" - virtual_private_gateway: str | None = ... - """The exclusion configuration for virtual private gateway resource.""" - vpc_peering: str | None = ... - """The exclusion configuration for VPC peering connection resource.""" - lambda_: str | None = ... - """The exclusion configuration for Lambda service.""" - vpc_lattice: str | None = ... - """The exclusion configuration for VPC Lattice service.""" - elastic_file_system: str | None = ... - """The exclusion configuration for Elastic File System service.""" - -class AccountVpcEncryptionControlMode(UnknownEnumMixin, StrEnum): - UNMANAGED = "unmanaged" - ATTEMPT_MONITOR = "attempt-monitor" - ATTEMPT_ENFORCE = "attempt-enforce" - -class AccountVpcEncryptionControlState(UnknownEnumMixin, StrEnum): - DEFAULT_STATE = "default-state" - TRANSITIONS_IN_PROGRESS = "transitions-in-progress" - TRANSITIONS_PARTIALLY_SUCCESSFUL = "transitions-partially-successful" - TRANSITIONS_SUCCESSFUL = "transitions-successful" - TRANSITIONS_FAILED = "transitions-failed" - -@dataclass(kw_only=True) -class ActiveInstance(_SerdeShape): - """Describes a running instance in a Spot Fleet.""" - - instance_id: str | None = ... - """The ID of the instance.""" - instance_type: str | None = ... - """The instance type.""" - spot_instance_request_id: str | None = ... - """The ID of the Spot Instance request.""" - instance_health: str | None = ... - """ - The health status of the instance. If the status of either the instance - status check or the system status check is `impaired`, the health status - of the instance is `unhealthy`. Otherwise, the health status is - `healthy`. - """ - -@dataclass(kw_only=True) -class ActiveVpnTunnelStatus(_SerdeShape): - """ - Contains information about the current security configuration of an - active VPN tunnel. - """ - - phase1_encryption_algorithm: str | None = ... - """The encryption algorithm negotiated in Phase 1 IKE negotiations.""" - phase2_encryption_algorithm: str | None = ... - """The encryption algorithm negotiated in Phase 2 IKE negotiations.""" - phase1_integrity_algorithm: str | None = ... - """The integrity algorithm negotiated in Phase 1 IKE negotiations.""" - phase2_integrity_algorithm: str | None = ... - """The integrity algorithm negotiated in Phase 2 IKE negotiations.""" - phase1_dh_group: int | None = ... - """The Diffie-Hellman group number being used in Phase 1 IKE negotiations.""" - phase2_dh_group: int | None = ... - """The Diffie-Hellman group number being used in Phase 2 IKE negotiations.""" - ike_version: str | None = ... - """The version of the Internet Key Exchange (IKE) protocol being used.""" - provisioning_status: str | None = ... - """The current provisioning status of the VPN tunnel.""" - provisioning_status_reason: str | None = ... - """The reason for the current provisioning status.""" - -class ActivityStatus(UnknownEnumMixin, StrEnum): - ERROR = "error" - PENDING_FULFILLMENT = "pending_fulfillment" - PENDING_TERMINATION = "pending_termination" - FULFILLED = "fulfilled" - -@dataclass(kw_only=True) -class AddedPrincipal(_SerdeShape): - """Describes a principal.""" - - principal_type: str | None = ... - """The type of principal.""" - principal: str | None = ... - """The Amazon Resource Name (ARN) of the principal.""" - service_permission_id: str | None = ... - """The ID of the service permission.""" - service_id: str | None = ... - """The ID of the service.""" - -@dataclass(kw_only=True) -class AddIpamOperatingRegion(_SerdeShape): - """ - Add an operating Region to an IPAM. Operating Regions are Amazon Web - Services Regions where the IPAM is allowed to manage IP address CIDRs. - IPAM only discovers and monitors resources in the Amazon Web Services - Regions you select as operating Regions. - - For more information about operating Regions, see [Create an - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - - region_name: str | None = ... - """The name of the operating Region.""" - -@dataclass(kw_only=True) -class AddIpamOrganizationalUnitExclusion(_SerdeShape): - """ - Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is - integrated with Amazon Web Services Organizations and you add an - organizational unit (OU) exclusion, IPAM will not manage the IP - addresses in accounts in that OU exclusion. There is a limit on the - number of exclusions you can create. For more information, see [Quotas - for your - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - - organizations_entity_path: str | None = ... - """ - An Amazon Web Services Organizations entity path. Build the path for the - OU(s) using Amazon Web Services Organizations IDs separated by a `/`. - Include all child OUs by ending the path with `/*`. - - - Example 1 - - - Path to a child OU: - `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/` - - - In this example, `o-a1b2c3d4e5` is the organization ID, - `r-f6g7h8i9j0example` is the root ID , `ou-ghi0-awsccccc` is an OU - ID, and `ou-jkl0-awsddddd` is a child OU ID. - - - IPAM will not manage the IP addresses in accounts in the child OU. - - - Example 2 - - - Path where all child OUs will be part of the exclusion: - `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/*` - - - In this example, IPAM will not manage the IP addresses in accounts - in the OU (`ou-ghi0-awsccccc`) or in accounts in any OUs that are - children of the OU. - - For more information on how to construct an entity path, see [Understand - the Amazon Web Services Organizations entity - path](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path) - in the *Amazon Web Services Identity and Access Management User Guide*. - """ - -@dataclass(kw_only=True) -class AdditionalDetail(_SerdeShape): - """ - Describes an additional detail for a path analysis. For more - information, see [Reachability Analyzer additional detail - codes](https://docs.aws.amazon.com/vpc/latest/reachability/additional-detail-codes.html). - """ - - additional_detail_type: str | None = ... - """The additional detail code.""" - component: AnalysisComponent | None = ... - """The path component.""" - vpc_endpoint_service: AnalysisComponent | None = ... - """The VPC endpoint service.""" - rule_options: list[RuleOption] | None = ... - """The rule options.""" - rule_group_type_pairs: list[RuleGroupTypePair] | None = ... - """The rule group type.""" - rule_group_rule_options_pairs: list[RuleGroupRuleOptionsPair] | None = ... - """The rule options.""" - service_name: str | None = ... - """The name of the VPC endpoint service.""" - load_balancers: list[AnalysisComponent] | None = ... - """The load balancers.""" - -@dataclass(kw_only=True) -class AddPrefixListEntry(_SerdeShape): - """An entry for a prefix list.""" - - cidr: str | None = ... - """The CIDR block.""" - description: str | None = ... - """ - A description for the entry. - - Constraints: Up to 255 characters in length. - """ - -@dataclass(kw_only=True) -class Address(_SerdeShape): - """Describes an Elastic IP address, or a carrier IP address.""" - - allocation_id: str | None = ... - """The ID representing the allocation of the address.""" - association_id: str | None = ... - """The ID representing the association of the address with an instance.""" - domain: str | None = ... - """The network (`vpc`).""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - network_interface_owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the network - interface. - """ - private_ip_address: str | None = ... - """The private IP address associated with the Elastic IP address.""" - tags: list[Tag] | None = ... - """Any tags assigned to the Elastic IP address.""" - public_ipv4_pool: str | None = ... - """The ID of an address pool.""" - network_border_group: str | None = ... - """ - The name of the unique set of Availability Zones, Local Zones, or - Wavelength Zones from which Amazon Web Services advertises IP addresses. - """ - customer_owned_ip: str | None = ... - """The customer-owned IP address.""" - customer_owned_ipv4_pool: str | None = ... - """The ID of the customer-owned address pool.""" - carrier_ip: str | None = ... - """ - The carrier IP address associated. This option is only available for - network interfaces which reside in a subnet in a Wavelength Zone (for - example an EC2 instance). - """ - subnet_id: str | None = ... - """The ID of the subnet where the IP address is allocated.""" - service_managed: str | None = ... - """ - The service that manages the elastic IP address. - - Note: - The only option supported today is `alb`. - """ - instance_id: str | None = ... - """The ID of the instance that the address is associated with (if any).""" - public_ip: str | None = ... - """The Elastic IP address.""" - -@dataclass(kw_only=True) -class AddressAttribute(_SerdeShape): - """The attributes associated with an Elastic IP address.""" - - public_ip: str | None = ... - """The public IP address.""" - allocation_id: str | None = ... - """[EC2-VPC] The allocation ID.""" - ptr_record: str | None = ... - """The pointer (PTR) record for the IP address.""" - ptr_record_update: PtrUpdateStatus | None = ... - """The updated PTR record for the IP address.""" - -class AddressAttributeName(UnknownEnumMixin, StrEnum): - DOMAIN_NAME = "domain-name" - -class AddressFamily(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - IPV6 = "ipv6" - -@dataclass(kw_only=True) -class AddressTransfer(_SerdeShape): - """ - Details on the Elastic IP address transfer. For more information, see - [Transfer Elastic IP - addresses](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro) - in the *Amazon VPC User Guide*. - """ - - public_ip: str | None = ... - """The Elastic IP address being transferred.""" - allocation_id: str | None = ... - """The allocation ID of an Elastic IP address.""" - transfer_account_id: str | None = ... - """ - The ID of the account that you want to transfer the Elastic IP address - to. - """ - transfer_offer_expiration_timestamp: datetime | None = ... - """ - The timestamp when the Elastic IP address transfer expired. When the - source account starts the transfer, the transfer account has seven hours - to allocate the Elastic IP address to complete the transfer, or the - Elastic IP address will return to its original owner. - """ - transfer_offer_accepted_timestamp: datetime | None = ... - """The timestamp when the Elastic IP address transfer was accepted.""" - address_transfer_status: str | None = ... - """The Elastic IP address transfer status.""" - -class AddressTransferStatus(UnknownEnumMixin, StrEnum): - PENDING = "pending" - DISABLED = "disabled" - ACCEPTED = "accepted" - -@dataclass(kw_only=True) -class AdvertiseByoipCidrInput(_SerdeShape): - """Dataclass for AdvertiseByoipCidrInput structure.""" - - cidr: str | None = ... - """ - The address range, in CIDR notation. This must be the exact range that - you provisioned. You can't advertise only a portion of the provisioned - range. - """ - asn: str | None = ... - """The public 2-byte or 4-byte ASN that you want to advertise.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_border_group: str | None = ... - """ - If you have [Local - Zones](https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html) - enabled, you can choose a network border group for Local Zones when you - provision and advertise a BYOIPv4 CIDR. Choose the network border group - carefully as the EIP and the Amazon Web Services resource it is - associated with must reside in the same network border group. - - You can provision BYOIP address ranges to and advertise them in the - following Local Zone network border groups: - - - us-east-1-dfw-2 - - - us-west-2-lax-1 - - - us-west-2-phx-2 - - Note: - You cannot provision or advertise BYOIPv6 address ranges in Local Zones - at this time. - """ - -@dataclass(kw_only=True) -class AdvertiseByoipCidrOutput(_SerdeShape): - """Dataclass for AdvertiseByoipCidrOutput structure.""" - - byoip_cidr: ByoipCidr | None = ... - """Information about the address range.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class Affinity(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - HOST = "host" - -class AggregationStatusEnum(UnknownEnumMixin, StrEnum): - INCLUDED = "included" - EXCLUDED = "excluded" - -@dataclass(kw_only=True) -class AllocateAddressInput(_SerdeShape): - """Dataclass for AllocateAddressInput structure.""" - - domain: str | None = ... - """The network (`vpc`).""" - address: str | None = ... - """ - The Elastic IP address to recover or an IPv4 address from an address - pool. - """ - public_ipv4_pool: str | None = ... - """ - The ID of an address pool that you own. Use this parameter to let Amazon - EC2 select an address from the address pool. To specify a specific - address from the address pool, use the `Address` parameter instead. - """ - network_border_group: str | None = ... - """ - A unique set of Availability Zones, Local Zones, or Wavelength Zones - from which Amazon Web Services advertises IP addresses. Use this - parameter to limit the IP address to this location. IP addresses cannot - move between network border groups. - """ - customer_owned_ipv4_pool: str | None = ... - """ - The ID of a customer-owned address pool. Use this parameter to let - Amazon EC2 select an address from the address pool. Alternatively, - specify a specific address from the address pool. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the Elastic IP address.""" - ipam_pool_id: str | None = ... - """ - The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 - CIDR provisioned to it. For more information, see [Allocate sequential - Elastic IP addresses from an IPAM - pool](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-eip-pool.html) - in the *Amazon VPC IPAM User Guide*. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AllocateAddressOutput(_SerdeShape): - """Dataclass for AllocateAddressOutput structure.""" - - allocation_id: str | None = ... - """The ID that represents the allocation of the Elastic IP address.""" - public_ipv4_pool: str | None = ... - """The ID of an address pool that you own.""" - network_border_group: str | None = ... - """ - The set of Availability Zones, Local Zones, or Wavelength Zones from - which Amazon Web Services advertises IP addresses. - """ - domain: str | None = ... - """The network (`vpc`).""" - customer_owned_ip: str | None = ... - """The customer-owned IP address.""" - customer_owned_ipv4_pool: str | None = ... - """The ID of the customer-owned address pool.""" - carrier_ip: str | None = ... - """ - The carrier IP address. Available only for network interfaces that - reside in a subnet in a Wavelength Zone. - """ - public_ip: str | None = ... - """ - The Amazon-owned IP address. Not available when using an address pool - that you own. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AllocateHostsInput(_SerdeShape): - """Dataclass for AllocateHostsInput structure.""" - - instance_family: str | None = ... - """ - Specifies the instance family to be supported by the Dedicated Hosts. If - you specify an instance family, the Dedicated Hosts support multiple - instance types within that instance family. - - If you want the Dedicated Hosts to support a specific instance type - only, omit this parameter and specify **InstanceType** instead. You - cannot specify **InstanceFamily** and **InstanceType** in the same - request. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the Dedicated Host during creation.""" - host_recovery: str | None = ... - """ - Indicates whether to enable or disable host recovery for the Dedicated - Host. Host recovery is disabled by default. For more information, see - [Host - recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html) - in the *Amazon EC2 User Guide*. - - Default: `off` - """ - outpost_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on - which to allocate the Dedicated Host. If you specify **OutpostArn**, you - can optionally specify **AssetIds**. - - If you are allocating the Dedicated Host in a Region, omit this - parameter. - """ - host_maintenance: str | None = ... - """ - Indicates whether to enable or disable host maintenance for the - Dedicated Host. For more information, see [Host - maintenance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html) - in the *Amazon EC2 User Guide*. - """ - asset_ids: list[str] | None = ... - """ - The IDs of the Outpost hardware assets on which to allocate the - Dedicated Hosts. Targeting specific hardware assets on an Outpost can - help to minimize latency between your workloads. This parameter is - supported only if you specify **OutpostArn**. If you are allocating the - Dedicated Hosts in a Region, omit this parameter. - - - If you specify this parameter, you can omit **Quantity**. In this - case, Amazon EC2 allocates a Dedicated Host on each specified hardware - asset. - - - If you specify both **AssetIds** and **Quantity**, then the value for - **Quantity** must be equal to the number of asset IDs specified. - """ - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - cpu_options: HostCpuOptionsRequest | None = ... - """The CPU configuration options to apply to the Dedicated Host.""" - auto_placement: str | None = ... - """ - Indicates whether the host accepts any untargeted instance launches that - match its instance type configuration, or if it only accepts Host - tenancy instance launches that specify its unique host ID. For more - information, see [Understanding auto-placement and - affinity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-understanding) - in the *Amazon EC2 User Guide*. - - Default: `off` - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - instance_type: str | None = ... - """ - Specifies the instance type to be supported by the Dedicated Hosts. If - you specify an instance type, the Dedicated Hosts support instances of - the specified instance type only. - - If you want the Dedicated Hosts to support multiple instance types in a - specific instance family, omit this parameter and specify - **InstanceFamily** instead. You cannot specify **InstanceType** and - **InstanceFamily** in the same request. - """ - quantity: int | None = ... - """ - The number of Dedicated Hosts to allocate to your account with these - parameters. If you are allocating the Dedicated Hosts on an Outpost, and - you specify **AssetIds**, you can omit this parameter. In this case, - Amazon EC2 allocates a Dedicated Host on each specified hardware asset. - If you specify both **AssetIds** and **Quantity**, then the value that - you specify for **Quantity** must be equal to the number of asset IDs - specified. - """ - availability_zone: str | None = ... - """The Availability Zone in which to allocate the Dedicated Host.""" - -@dataclass(kw_only=True) -class AllocateHostsOutput(_SerdeShape): - """Contains the output of AllocateHosts.""" - - host_ids: list[str] | None = ... - """ - The ID of the allocated Dedicated Host. This is used to launch an - instance onto a specific host. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AllocateIpamPoolCidrInput(_SerdeShape): - """Dataclass for AllocateIpamPoolCidrInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_id: str | None = ... - """The ID of the IPAM pool from which you would like to allocate a CIDR.""" - cidr: str | None = ... - """ - The CIDR you would like to allocate from the IPAM pool. Note the - following: - - - If there is no DefaultNetmaskLength allocation rule set on the pool, - you must specify either the NetmaskLength or the CIDR. - - - If the DefaultNetmaskLength allocation rule is set on the pool, you - can specify either the NetmaskLength or the CIDR and the - DefaultNetmaskLength allocation rule will be ignored. - - Possible values: Any available IPv4 or IPv6 CIDR. - """ - netmask_length: int | None = ... - """ - The netmask length of the CIDR you would like to allocate from the IPAM - pool. Note the following: - - - If there is no DefaultNetmaskLength allocation rule set on the pool, - you must specify either the NetmaskLength or the CIDR. - - - If the DefaultNetmaskLength allocation rule is set on the pool, you - can specify either the NetmaskLength or the CIDR and the - DefaultNetmaskLength allocation rule will be ignored. - - Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask - lengths for IPv6 addresses are 0 - 128. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - description: str | None = ... - """A description for the allocation.""" - preview_next_cidr: bool | None = ... - """A preview of the next available CIDR in a pool.""" - allowed_cidrs: list[str] | None = ... - """ - Include a particular CIDR range that can be returned by the pool. - Allowed CIDRs are only allowed if using netmask length for allocation. - """ - disallowed_cidrs: list[str] | None = ... - """ - Exclude a particular CIDR range from being returned by the pool. - Disallowed CIDRs are only allowed if using netmask length for - allocation. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - 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 `Owner` and - the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` - for the filter value. - - If you specify tags, the request is authorized against the allocation - resource in addition to the pool resource. - """ - -@dataclass(kw_only=True) -class AllocateIpamPoolCidrOutput(_SerdeShape): - """Dataclass for AllocateIpamPoolCidrOutput structure.""" - - ipam_pool_allocation: IpamPoolAllocation | None = ... - """Information about the allocation created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AllocationState(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - UNDER_ASSESSMENT = "under-assessment" - PERMANENT_FAILURE = "permanent-failure" - RELEASED = "released" - RELEASED_PERMANENT_FAILURE = "released-permanent-failure" - PENDING = "pending" - CONFIGURING = "configuring" - -class AllocationStrategy(UnknownEnumMixin, StrEnum): - LOWEST_PRICE = "lowestPrice" - DIVERSIFIED = "diversified" - CAPACITY_OPTIMIZED = "capacityOptimized" - CAPACITY_OPTIMIZED_PRIORITIZED = "capacityOptimizedPrioritized" - PRICE_CAPACITY_OPTIMIZED = "priceCapacityOptimized" - -class AllocationType(UnknownEnumMixin, StrEnum): - USED = "used" - FUTURE = "future" - CANCELLING = "cancelling" - -class AllowedImagesSettingsDisabledState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - -class AllowedImagesSettingsEnabledState(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - AUDIT_MODE = "audit-mode" - -@dataclass(kw_only=True) -class AllowedPrincipal(_SerdeShape): - """Describes a principal.""" - - principal_type: str | None = ... - """The type of principal.""" - principal: str | None = ... - """The Amazon Resource Name (ARN) of the principal.""" - service_permission_id: str | None = ... - """The ID of the service permission.""" - tags: list[Tag] | None = ... - """The tags.""" - service_id: str | None = ... - """The ID of the service.""" - -class AllowsMultipleInstanceTypes(UnknownEnumMixin, StrEnum): - ON = "on" - OFF = "off" - -@dataclass(kw_only=True) -class AlternatePathHint(_SerdeShape): - """Describes an potential intermediate component of a feasible path.""" - - component_id: str | None = ... - """The ID of the component.""" - component_arn: str | None = ... - """The Amazon Resource Name (ARN) of the component.""" - -class AmdSevSnp(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -class AmdSevSnpSpecification(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class AnalysisAclRule(_SerdeShape): - """Describes a network access control (ACL) rule.""" - - cidr: str | None = ... - """The IPv4 address range, in CIDR notation.""" - egress: bool | None = ... - """Indicates whether the rule is an outbound rule.""" - port_range: PortRange | None = ... - """The range of ports.""" - protocol: str | None = ... - """The protocol.""" - rule_action: str | None = ... - """Indicates whether to allow or deny traffic that matches the rule.""" - rule_number: int | None = ... - """The rule number.""" - -@dataclass(kw_only=True) -class AnalysisComponent(_SerdeShape): - """Describes a path component.""" - - id: str | None = ... - """The ID of the component.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) of the component.""" - name: str | None = ... - """The name of the analysis component.""" - -@dataclass(kw_only=True) -class AnalysisLoadBalancerListener(_SerdeShape): - """Describes a load balancer listener.""" - - load_balancer_port: int | None = ... - """The port on which the load balancer is listening.""" - instance_port: int | None = ... - """[Classic Load Balancers] The back-end port for the listener.""" - -@dataclass(kw_only=True) -class AnalysisLoadBalancerTarget(_SerdeShape): - """Describes a load balancer target.""" - - address: str | None = ... - """The IP address.""" - availability_zone: str | None = ... - """The Availability Zone.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - instance: AnalysisComponent | None = ... - """Information about the instance.""" - port: int | None = ... - """The port on which the target is listening.""" - -@dataclass(kw_only=True) -class AnalysisPacketHeader(_SerdeShape): - """ - Describes a header. Reflects any changes made by a component as traffic - passes through. The fields of an inbound header are null except for the - first component of a path. - """ - - destination_addresses: list[str] | None = ... - """The destination addresses.""" - destination_port_ranges: list[PortRange] | None = ... - """The destination port ranges.""" - protocol: str | None = ... - """The protocol.""" - source_addresses: list[str] | None = ... - """The source addresses.""" - source_port_ranges: list[PortRange] | None = ... - """The source port ranges.""" - -@dataclass(kw_only=True) -class AnalysisRouteTableRoute(_SerdeShape): - """Describes a route table route.""" - - destination_cidr: str | None = ... - """The destination IPv4 address, in CIDR notation.""" - destination_prefix_list_id: str | None = ... - """The prefix of the Amazon Web Services service.""" - egress_only_internet_gateway_id: str | None = ... - """The ID of an egress-only internet gateway.""" - gateway_id: str | None = ... - """ - The ID of the gateway, such as an internet gateway or virtual private - gateway. - """ - instance_id: str | None = ... - """The ID of the instance, such as a NAT instance.""" - nat_gateway_id: str | None = ... - """The ID of a NAT gateway.""" - network_interface_id: str | None = ... - """The ID of a network interface.""" - origin: str | None = ... - """ - Describes how the route was created. The following are the possible - values: - - - CreateRouteTable - The route was automatically created when the route - table was created. - - - CreateRoute - The route was manually added to the route table. - - - EnableVgwRoutePropagation - The route was propagated by route - propagation. - """ - transit_gateway_id: str | None = ... - """The ID of a transit gateway.""" - vpc_peering_connection_id: str | None = ... - """The ID of a VPC peering connection.""" - state: str | None = ... - """ - The state. The following are the possible values: - - - active - - - blackhole - """ - carrier_gateway_id: str | None = ... - """The ID of a carrier gateway.""" - core_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of a core network.""" - local_gateway_id: str | None = ... - """The ID of a local gateway.""" - -@dataclass(kw_only=True) -class AnalysisSecurityGroupRule(_SerdeShape): - """Describes a security group rule.""" - - cidr: str | None = ... - """The IPv4 address range, in CIDR notation.""" - direction: str | None = ... - """ - The direction. The following are the possible values: - - - egress - - - ingress - """ - security_group_id: str | None = ... - """The security group ID.""" - port_range: PortRange | None = ... - """The port range.""" - prefix_list_id: str | None = ... - """The prefix list ID.""" - protocol: str | None = ... - """The protocol name.""" - -class AnalysisStatus(UnknownEnumMixin, StrEnum): - RUNNING = "running" - SUCCEEDED = "succeeded" - FAILED = "failed" - -@dataclass(kw_only=True) -class AnalysisTransitGatewayPolicyTableEntry(_SerdeShape): - """Describes an entry in a transit gateway policy table.""" - - rule_number: int | None = ... - """ - The rule number for the policy table entry. Entries are evaluated in - ascending order of rule number. - """ - protocol: str | None = ... - """ - The protocol number. A value of `-1` means that the entry matches all - protocols. - """ - source_cidr: str | None = ... - """ - The source CIDR block. If this value is not present, the entry matches - any source address. - """ - destination_cidr: str | None = ... - """ - The destination CIDR block. If this value is not present, the entry - matches any destination address. - """ - source_port_range: PortRange | None = ... - """ - The source port range. If this value is not present, the entry matches - any source port. - """ - destination_port_range: PortRange | None = ... - """ - The destination port range. If this value is not present, the entry - matches any destination port. - """ - target_route_table_id: str | None = ... - """ - The ID of the transit gateway route table to which the entry routes - matching traffic. - """ - -class ApplianceModeSupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -@dataclass(kw_only=True) -class ApplicationStatus(_SerdeShape): - """Describes the application-level health status for an instance.""" - - status: str | None = ... - """ - The current instance-level application status. This status is derived - from application status checks with `Aggregation` set to `included`. - Possible values: - - - `ok` -- All included checks passed. - - - `impaired` -- At least one included check failed. - - - `initializing` -- At least one included check is initializing, and no - included check is impaired. - - - `insufficient-data` -- At least one included check has insufficient - data, and no included check is impaired or initializing. - - - `not-applicable` -- No checks with `Aggregation` set to `included` - apply to the instance. - - - `suppressed` -- Application status reporting is suppressed for the - instance. - - Checks with `Aggregation` set to `excluded` do not affect this value. - """ - status_time_stamp: datetime | None = ... - """The date and time of the last status update.""" - status_since: datetime | None = ... - """The date and time when the current status started.""" - resume_at: datetime | None = ... - """ - The date and time when application status reporting resumes after - suppression. - """ - details: list[ApplicationStatusDetail] | None = ... - """Details about the application status checks for the instance.""" - -@dataclass(kw_only=True) -class ApplicationStatusCheckAssociationObject(_SerdeShape): - """ - Information about an application status check association. Each item in - the `associationSet` of a `DescribeApplicationStatusCheckAssociations` - response is of this type. - """ - - application_status_check_id: str | None = ... - """The ID of the application status check.""" - association_type: str | None = ... - """ - The type of target that the application status check is associated with. - Possible values: - - - `tag` -- The check applies to current and future instances with a - matching tag key-value pair. - - - `instance-id` -- The check applies to a specific instance. - """ - key: str | None = ... - """ - The key for the association. This value is present only for tag-based - associations, where it contains the tag key. For instance-based - associations, this value is absent. - """ - value: str | None = ... - """ - The value for the association target. For tag-based associations, this - is the tag value. For instance-based associations, this is the instance - ID (for example, `i-0123456789abcdef0`). - """ - -class ApplicationStatusCheckEnum(UnknownEnumMixin, StrEnum): - PASSED = "passed" - FAILED = "failed" - INITIALIZING = "initializing" - INSUFFICIENT_DATA = "insufficient-data" - NOT_APPLICABLE = "not-applicable" - -@dataclass(kw_only=True) -class ApplicationStatusCheckResponseObject(_SerdeShape): - """Describes an application status check.""" - - application_status_check_id: str | None = ... - """The ID of the application status check.""" - aggregation: str | None = ... - """ - The aggregation setting for the application status check. When set to - `included`, the result of this check contributes to the instance-level - application status. When set to `excluded`, the check runs independently - and does not affect the instance-level status. - """ - health_check_paths: list[HealthCheckPathResponseObject] | None = ... - """The health check paths for the application status check.""" - protocol: str | None = ... - """The protocol used for the health check.""" - port: int | None = ... - """The port used for the health check.""" - path: str | None = ... - """The URL path used for the health check HTTP request.""" - device_index: int | None = ... - """ - The index of the network device used for the health check. The value is - greater than or equal to 0. - """ - ip_version: str | None = ... - """The IP version used for the health check.""" - ip_scope: str | None = ... - """The IP scope used for the health check.""" - interval: int | None = ... - """The interval, in seconds, between health checks. Valid value: 60.""" - timeout: int | None = ... - """ - The amount of time, in seconds, to wait for a health check response. - Valid values: 1 to 30. - """ - failure_threshold: int | None = ... - """ - The number of consecutive failed health checks before the application - status is considered impaired. The value must be greater than 0. - """ - success_threshold: int | None = ... - """ - The number of consecutive successful health checks before the - application status is considered healthy. The value must be greater than - 0. - """ - status_code_matcher: str | None = ... - """ - The comma-separated list of individual HTTP status codes or ranges that - indicate a successful health check response. - """ - initialization_grace_period_seconds: int | None = ... - """ - The number of seconds to wait before starting health checks after an - instance is launched. Valid values: 1 to 600. - """ - last_updated_at: datetime | None = ... - """The date and time when the application status check was last updated.""" - target_tag_associations: list[CustomTagKeyValueResponsePair] | None = ... - """ - The - [tags](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) - associated with the application status check. Instances with these tags - are automatically monitored by this check. - """ - tags: list[Tag] | None = ... - """The tags assigned to the application status check.""" - creation_time: datetime | None = ... - """The date and time when the application status check was created.""" - modify_time: datetime | None = ... - """The date and time when the application status check was last modified.""" - deletion_time: datetime | None = ... - """The date and time when the application status check was deleted.""" - -@dataclass(kw_only=True) -class ApplicationStatusDetail(_SerdeShape): - """Describes the details of an application status check for an instance.""" - - application_status_check_id: str | None = ... - """The ID of the application status check.""" - check_update_time: datetime | None = ... - """The date and time when the check was last updated.""" - aggregation: str | None = ... - """ - The aggregation setting for the application status check. When set to - `included`, the result of this check contributes to the instance-level - application status. When set to `excluded`, the check runs independently - and does not affect the instance-level status. - """ - status: str | None = ... - """ - The status of the individual application status check. Possible values: - - - `passed` -- The check reached its success threshold. - - - `failed` -- The check reached its failure threshold. - - - `initializing` -- The check is initializing or has not reached a - success or failure threshold. - - - `insufficient-data` -- The check does not have enough data to - determine a result. - - - `not-applicable` -- The check does not apply to the instance. - - This value reflects the check result and is not affected by aggregation - or suppression. - """ - status_time_stamp: datetime | None = ... - """The date and time of the last status update for this check.""" - status_since: datetime | None = ... - """The date and time when the current status started for this check.""" - reason: ApplicationStatusReason | None = ... - """The reason for the current status.""" - -class ApplicationStatusEnum(UnknownEnumMixin, StrEnum): - OK = "ok" - IMPAIRED = "impaired" - INITIALIZING = "initializing" - INSUFFICIENT_DATA = "insufficient-data" - NOT_APPLICABLE = "not-applicable" - SUPPRESSED = "suppressed" - -@dataclass(kw_only=True) -class ApplicationStatusesResponseType(_SerdeShape): - """Describes the application statuses for instances.""" - - instances: list[InstanceApplicationStatus] | None = ... - """The application status information for the instances.""" - -@dataclass(kw_only=True) -class ApplicationStatusReason(_SerdeShape): - """Describes the reason for an application status check result.""" - - code: str | None = ... - """ - The reason code for the application status check result. Possible - values: - - - `ResponseCodeMatched` -- The HTTP status code returned by the health - check matched the configured `StatusCodeMatcher`. - - - `ResponseCodeMismatch` -- The HTTP status code returned by the health - check did not match the configured `StatusCodeMatcher`. - - - `ConnectionTimeout` -- The connection to the target timed out. - - - `ResponseTimeout` -- The health check timed out while waiting for a - response from the target. - - - `ConnectionRefused` -- The target refused the health check connection. - - - `ConnectionReset` -- The target reset the health check connection - before returning a response. - - Current health check results use the values in the preceding list. - Legacy results that do not contain structured reason metadata can - instead contain a producer error type, such as `Http Status Code` or - `HttpConnectTimeoutException`. - - For `ResponseCodeMatched` and `ResponseCodeMismatch`, the `statusCode` - field contains the returned HTTP status code. The `protocol` field - contains the protocol used for the health check. - """ - status_code: int | None = ... - """The HTTP status code returned by the health check.""" - protocol: str | None = ... - """ - The protocol used for the health check. Possible values: `HTTP` and - `HTTPS`. - """ - -@dataclass(kw_only=True) -class ApplicationStatusSummary(_SerdeShape): - """ - Provides a summary of the application-level health status for an - instance. - """ - - status: str | None = ... - """The current status.""" - impaired_since: datetime | None = ... - """The date and time when the application status became impaired.""" - -class ApplyCancellationCharges(UnknownEnumMixin, StrEnum): - COMMITMENT_WIND_DOWN = "commitment-wind-down" - -@dataclass(kw_only=True) -class ApplySecurityGroupsToClientVpnTargetNetworkInput(_SerdeShape): - """ - Dataclass for ApplySecurityGroupsToClientVpnTargetNetworkInput - structure. - """ - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - vpc_id: str | None = ... - """The ID of the VPC in which the associated target network is located.""" - security_group_ids: list[str] | None = ... - """ - The IDs of the security groups to apply to the associated target - network. Up to 5 security groups can be applied to an associated target - network. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ApplySecurityGroupsToClientVpnTargetNetworkOutput(_SerdeShape): - """ - Dataclass for ApplySecurityGroupsToClientVpnTargetNetworkOutput - structure. - """ - - security_group_ids: list[str] | None = ... - """The IDs of the applied security groups.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ArchitectureType(UnknownEnumMixin, StrEnum): - I386 = "i386" - X86_64 = "x86_64" - ARM64 = "arm64" - X86_64_MAC = "x86_64_mac" - ARM64_MAC = "arm64_mac" - -class ArchitectureValues(UnknownEnumMixin, StrEnum): - I386 = "i386" - X86_64 = "x86_64" - ARM64 = "arm64" - X86_64_MAC = "x86_64_mac" - ARM64_MAC = "arm64_mac" - -@dataclass(kw_only=True) -class AsnAssociation(_SerdeShape): - """An Autonomous System Number (ASN) and BYOIP CIDR association.""" - - asn: str | None = ... - """The association's ASN.""" - cidr: str | None = ... - """The association's CIDR.""" - status_message: str | None = ... - """The association's status message.""" - state: str | None = ... - """The association's state.""" - -class AsnAssociationState(UnknownEnumMixin, StrEnum): - DISASSOCIATED = "disassociated" - FAILED_DISASSOCIATION = "failed-disassociation" - FAILED_ASSOCIATION = "failed-association" - PENDING_DISASSOCIATION = "pending-disassociation" - PENDING_ASSOCIATION = "pending-association" - ASSOCIATED = "associated" - -@dataclass(kw_only=True) -class AsnAuthorizationContext(_SerdeShape): - """ - Provides authorization for Amazon to bring an Autonomous System Number - (ASN) to a specific Amazon Web Services account using bring your own ASN - (BYOASN). For details on the format of the message and signature, see - [Tutorial: Bring your ASN to - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoasn.html) - in the *Amazon VPC IPAM guide*. - """ - - message: str | None = ... - """The authorization context's message.""" - signature: str | None = ... - """The authorization context's signature.""" - -class AsnState(UnknownEnumMixin, StrEnum): - DEPROVISIONED = "deprovisioned" - FAILED_DEPROVISION = "failed-deprovision" - FAILED_PROVISION = "failed-provision" - PENDING_DEPROVISION = "pending-deprovision" - PENDING_PROVISION = "pending-provision" - PROVISIONED = "provisioned" - -@dataclass(kw_only=True) -class AssignedPrivateIpAddress(_SerdeShape): - """Describes the private IP addresses assigned to a network interface.""" - - private_ip_address: str | None = ... - """The private IP address assigned to the network interface.""" - -@dataclass(kw_only=True) -class AssignIpv6AddressesInput(_SerdeShape): - """Dataclass for AssignIpv6AddressesInput structure.""" - - ipv6_prefix_count: int | None = ... - """ - The number of IPv6 prefixes that Amazon Web Services automatically - assigns to the network interface. You cannot use this option if you use - the `Ipv6Prefixes` option. - """ - ipv6_prefixes: list[str] | None = ... - """ - One or more IPv6 prefixes assigned to the network interface. You can't - use this option if you use the `Ipv6PrefixCount` option. - """ - network_interface_id: str | None = ... - """The ID of the network interface.""" - ipv6_addresses: list[str] | None = ... - """ - The IPv6 addresses to be assigned to the network interface. You can't - use this option if you're specifying a number of IPv6 addresses. - """ - ipv6_address_count: int | None = ... - """ - The number of additional IPv6 addresses to assign to the network - interface. The specified number of IPv6 addresses are assigned in - addition to the existing IPv6 addresses that are already assigned to the - network interface. Amazon EC2 automatically selects the IPv6 addresses - from the subnet range. You can't use this option if specifying specific - IPv6 addresses. - """ - -@dataclass(kw_only=True) -class AssignIpv6AddressesOutput(_SerdeShape): - """Dataclass for AssignIpv6AddressesOutput structure.""" - - assigned_ipv6_addresses: list[str] | None = ... - """ - The new IPv6 addresses assigned to the network interface. Existing IPv6 - addresses that were assigned to the network interface before the request - are not included. - """ - assigned_ipv6_prefixes: list[str] | None = ... - """The IPv6 prefixes that are assigned to the network interface.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssignPrivateIpAddressesInput(_SerdeShape): - """Contains the parameters for AssignPrivateIpAddresses.""" - - ipv4_prefixes: list[str] | None = ... - """ - One or more IPv4 prefixes assigned to the network interface. You can't - use this option if you use the `Ipv4PrefixCount` option. - """ - ipv4_prefix_count: int | None = ... - """ - The number of IPv4 prefixes that Amazon Web Services automatically - assigns to the network interface. You can't use this option if you use - the `Ipv4 Prefixes` option. - """ - network_interface_id: str | None = ... - """The ID of the network interface.""" - private_ip_addresses: list[str] | None = ... - """ - The IP addresses to be assigned as a secondary private IP address to the - network interface. You can't specify this parameter when also - specifying a number of secondary IP addresses. - - If you don't specify an IP address, Amazon EC2 automatically selects an - IP address within the subnet range. - """ - secondary_private_ip_address_count: int | None = ... - """ - The number of secondary IP addresses to assign to the network interface. - You can't specify this parameter when also specifying private IP - addresses. - """ - allow_reassignment: bool | None = ... - """ - Indicates whether to allow an IP address that is already assigned to - another network interface or instance to be reassigned to the specified - network interface. - """ - -@dataclass(kw_only=True) -class AssignPrivateIpAddressesOutput(_SerdeShape): - """Dataclass for AssignPrivateIpAddressesOutput structure.""" - - network_interface_id: str | None = ... - """The ID of the network interface.""" - assigned_private_ip_addresses: list[AssignedPrivateIpAddress] | None = ... - """The private IP addresses assigned to the network interface.""" - assigned_ipv4_prefixes: list[Ipv4PrefixSpecification] | None = ... - """The IPv4 prefixes that are assigned to the network interface.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssignPrivateNatGatewayAddressInput(_SerdeShape): - """Dataclass for AssignPrivateNatGatewayAddressInput structure.""" - - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - private_ip_addresses: list[str] | None = ... - """ - The private IPv4 addresses you want to assign to the private NAT - gateway. - """ - private_ip_address_count: int | None = ... - """ - The number of private IP addresses to assign to the NAT gateway. You - can't specify this parameter when also specifying private IP addresses. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssignPrivateNatGatewayAddressOutput(_SerdeShape): - """Dataclass for AssignPrivateNatGatewayAddressOutput structure.""" - - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - nat_gateway_addresses: list[NatGatewayAddress] | None = ... - """NAT gateway IP addresses.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateAddressInput(_SerdeShape): - """Dataclass for AssociateAddressInput structure.""" - - allocation_id: str | None = ... - """The allocation ID. This is required.""" - instance_id: str | None = ... - """ - The ID of the instance. The instance must have exactly one attached - network interface. You can specify either the instance ID or the network - interface ID, but not both. - """ - public_ip: str | None = ... - """Deprecated.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_interface_id: str | None = ... - """ - The ID of the network interface. If the instance has more than one - network interface, you must specify a network interface ID. - - You can specify either the instance ID or the network interface ID, but - not both. - """ - private_ip_address: str | None = ... - """ - The primary or secondary private IP address to associate with the - Elastic IP address. If no private IP address is specified, the Elastic - IP address is associated with the primary private IP address. - """ - allow_reassociation: bool | None = ... - """ - Reassociation is automatic, but you can specify false to ensure the - operation fails if the Elastic IP address is already associated with - another resource. - """ - -@dataclass(kw_only=True) -class AssociateAddressOutput(_SerdeShape): - """Dataclass for AssociateAddressOutput structure.""" - - association_id: str | None = ... - """ - The ID that represents the association of the Elastic IP address with an - instance. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateApplicationStatusCheckInput(_SerdeShape): - """Dataclass for AssociateApplicationStatusCheckInput structure.""" - - application_status_check_id: str | None = ... - """The ID of the application status check to associate.""" - target_tag_associations: list[CustomTagKeyValueRequestPair] | None = ... - """ - The - [tags](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) - to associate the application status check with. Each tag is a key-value - pair. When you associate tags, the application status check - automatically monitors all instances that have the specified tags. - """ - instance_ids: list[str] | None = ... - """The IDs of the instances to associate with the application status check.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure that the - operation completes no more than one time. If you retry a request with - the same token, the service ignores the request but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssociateApplicationStatusCheckOutput(_SerdeShape): - """Dataclass for AssociateApplicationStatusCheckOutput structure.""" - - successful_results: list[SuccessfulAssociationResponseObject] | None = ... - """The associations that were successfully created.""" - unsuccessful_results: list[UnsuccessfulAssociationResponseObject] | None = ... - """The associations that failed to be created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateCapacityReservationBillingOwnerInput(_SerdeShape): - """Dataclass for AssociateCapacityReservationBillingOwnerInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - unused_reservation_billing_owner_id: str | None = ... - """The ID of the consumer account to which to assign billing.""" - -@dataclass(kw_only=True) -class AssociateCapacityReservationBillingOwnerOutput(_SerdeShape): - """Dataclass for AssociateCapacityReservationBillingOwnerOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateClientVpnTargetNetworkInput(_SerdeShape): - """Dataclass for AssociateClientVpnTargetNetworkInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - subnet_id: str | None = ... - """ - The ID of the subnet to associate with the Client VPN endpoint. Required - for VPC-based endpoints. For Transit Gateway-based endpoints, use - `AvailabilityZone` or `AvailabilityZoneId` instead. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - availability_zone: str | None = ... - """ - The Availability Zone name for the Transit Gateway association. Required - if when associating an Availability Zone with a Client VPN endpoint that - uses a Transit Gateway. You cannot specify both `SubnetId` and - `AvailabilityZone`. - """ - availability_zone_id: str | None = ... - """ - The Availability Zone ID for the Transit Gateway association. Required - if when associating an Availability Zone with a Client VPN endpoint that - uses a Transit Gateway. You cannot specify both `AvailabilityZone` and - `AvailabilityZoneId`. - """ - -@dataclass(kw_only=True) -class AssociateClientVpnTargetNetworkOutput(_SerdeShape): - """Dataclass for AssociateClientVpnTargetNetworkOutput structure.""" - - association_id: str | None = ... - """The unique ID of the target network association.""" - status: AssociationStatus | None = ... - """The current state of the target network association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateDhcpOptionsInput(_SerdeShape): - """Dataclass for AssociateDhcpOptionsInput structure.""" - - dhcp_options_id: str | None = ... - """ - The ID of the DHCP options set, or `default` to associate no DHCP - options with the VPC. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssociateDhcpOptionsOutput(_SerdeShape): - """Dataclass for AssociateDhcpOptionsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AssociatedNetworkType(UnknownEnumMixin, StrEnum): - VPC = "vpc" - -@dataclass(kw_only=True) -class AssociatedRole(_SerdeShape): - """Information about the associated IAM roles.""" - - associated_role_arn: str | None = ... - """The ARN of the associated IAM role.""" - certificate_s3_bucket_name: str | None = ... - """ - The name of the Amazon S3 bucket in which the Amazon S3 object is - stored. - """ - certificate_s3_object_key: str | None = ... - """ - The key of the Amazon S3 object where the certificate, certificate - chain, and encrypted private key bundle are stored. The object key is - formatted as follows: `role_arn`/`certificate_arn`. - """ - encryption_kms_key_id: str | None = ... - """The ID of the KMS key used to encrypt the private key.""" - -@dataclass(kw_only=True) -class AssociatedTargetNetwork(_SerdeShape): - """ - Describes a target network that is associated with a Client VPN - endpoint. A target network is a subnet in a VPC. - """ - - network_id: str | None = ... - """The ID of the subnet.""" - network_type: str | None = ... - """The target network type.""" - -@dataclass(kw_only=True) -class AssociateEnclaveCertificateIamRoleInput(_SerdeShape): - """Dataclass for AssociateEnclaveCertificateIamRoleInput structure.""" - - certificate_arn: str | None = ... - """The ARN of the ACM certificate with which to associate the IAM role.""" - role_arn: str | None = ... - """ - The ARN of the IAM role to associate with the ACM certificate. You can - associate up to 16 IAM roles with an ACM certificate. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssociateEnclaveCertificateIamRoleOutput(_SerdeShape): - """Dataclass for AssociateEnclaveCertificateIamRoleOutput structure.""" - - certificate_s3_bucket_name: str | None = ... - """The name of the Amazon S3 bucket to which the certificate was uploaded.""" - certificate_s3_object_key: str | None = ... - """ - The Amazon S3 object key where the certificate, certificate chain, and - encrypted private key bundle are stored. The object key is formatted as - follows: `role_arn`/`certificate_arn`. - """ - encryption_kms_key_id: str | None = ... - """ - The ID of the KMS key used to encrypt the private key of the - certificate. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateIamInstanceProfileInput(_SerdeShape): - """Dataclass for AssociateIamInstanceProfileInput structure.""" - - iam_instance_profile: IamInstanceProfileSpecification | None = ... - """The IAM instance profile.""" - instance_id: str | None = ... - """The ID of the instance.""" - -@dataclass(kw_only=True) -class AssociateIamInstanceProfileOutput(_SerdeShape): - """Dataclass for AssociateIamInstanceProfileOutput structure.""" - - iam_instance_profile_association: IamInstanceProfileAssociation | None = ... - """Information about the IAM instance profile association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateInstanceEventWindowInput(_SerdeShape): - """Dataclass for AssociateInstanceEventWindowInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_event_window_id: str | None = ... - """The ID of the event window.""" - association_target: InstanceEventWindowAssociationRequest | None = ... - """One or more targets associated with the specified event window.""" - -@dataclass(kw_only=True) -class AssociateInstanceEventWindowOutput(_SerdeShape): - """Dataclass for AssociateInstanceEventWindowOutput structure.""" - - instance_event_window: InstanceEventWindow | None = ... - """Information about the event window.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateIpamByoasnInput(_SerdeShape): - """Dataclass for AssociateIpamByoasnInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - asn: str | None = ... - """A public 2-byte or 4-byte ASN.""" - cidr: str | None = ... - """The BYOIP CIDR you want to associate with an ASN.""" - -@dataclass(kw_only=True) -class AssociateIpamByoasnOutput(_SerdeShape): - """Dataclass for AssociateIpamByoasnOutput structure.""" - - asn_association: AsnAssociation | None = ... - """The ASN and BYOIP CIDR association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateIpamResourceDiscoveryInput(_SerdeShape): - """Dataclass for AssociateIpamResourceDiscoveryInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """An IPAM ID.""" - ipam_resource_discovery_id: str | None = ... - """A resource discovery ID.""" - tag_specifications: list[TagSpecification] | None = ... - """Tag specifications.""" - client_token: str | None = ... - """A client token.""" - -@dataclass(kw_only=True) -class AssociateIpamResourceDiscoveryOutput(_SerdeShape): - """Dataclass for AssociateIpamResourceDiscoveryOutput structure.""" - - ipam_resource_discovery_association: IpamResourceDiscoveryAssociation | None = ... - """ - A resource discovery association. An associated resource discovery is a - resource discovery that has been associated with an IPAM. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateNatGatewayAddressInput(_SerdeShape): - """Dataclass for AssociateNatGatewayAddressInput structure.""" - - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - allocation_ids: list[str] | None = ... - """ - The allocation IDs of EIPs that you want to associate with your NAT - gateway. - """ - private_ip_addresses: list[str] | None = ... - """The private IPv4 addresses that you want to assign to the NAT gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - availability_zone: str | None = ... - """ - For regional NAT gateways only: The Availability Zone where you want to - associate an Elastic IP address (EIP). The regional NAT gateway uses a - separate EIP in each AZ to handle outbound NAT traffic from that AZ. - - A regional NAT gateway is a single NAT Gateway that works across - multiple availability zones (AZs) in your VPC, providing redundancy, - scalability and availability across all the AZs in a Region. - """ - availability_zone_id: str | None = ... - """ - For regional NAT gateways only: The ID of the Availability Zone where - you want to associate an Elastic IP address (EIP). The regional NAT - gateway uses a separate EIP in each AZ to handle outbound NAT traffic - from that AZ. Use this instead of AvailabilityZone for consistent - identification of AZs across Amazon Web Services Regions. - - A regional NAT gateway is a single NAT Gateway that works across - multiple availability zones (AZs) in your VPC, providing redundancy, - scalability and availability across all the AZs in a Region. - """ - -@dataclass(kw_only=True) -class AssociateNatGatewayAddressOutput(_SerdeShape): - """Dataclass for AssociateNatGatewayAddressOutput structure.""" - - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - nat_gateway_addresses: list[NatGatewayAddress] | None = ... - """The IP addresses.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateRouteServerInput(_SerdeShape): - """Dataclass for AssociateRouteServerInput structure.""" - - route_server_id: str | None = ... - """The unique identifier for the route server to be associated.""" - vpc_id: str | None = ... - """The ID of the VPC to associate with the route server.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssociateRouteServerOutput(_SerdeShape): - """Dataclass for AssociateRouteServerOutput structure.""" - - route_server_association: RouteServerAssociation | None = ... - """Information about the association between the route server and the VPC.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateRouteTableInput(_SerdeShape): - """Dataclass for AssociateRouteTableInput structure.""" - - gateway_id: str | None = ... - """The ID of the internet gateway or virtual private gateway.""" - public_ipv4_pool: str | None = ... - """ - The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 - addresses that you've brought to Amazon Web Services with BYOIP. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - subnet_id: str | None = ... - """The ID of the subnet.""" - route_table_id: str | None = ... - """The ID of the route table.""" - -@dataclass(kw_only=True) -class AssociateRouteTableOutput(_SerdeShape): - """Dataclass for AssociateRouteTableOutput structure.""" - - association_id: str | None = ... - """ - The route table association ID. This ID is required for disassociating - the route table. - """ - association_state: RouteTableAssociationState | None = ... - """The state of the association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateSecurityGroupVpcInput(_SerdeShape): - """Dataclass for AssociateSecurityGroupVpcInput structure.""" - - group_id: str | None = ... - """A security group ID.""" - vpc_id: str | None = ... - """A VPC ID.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssociateSecurityGroupVpcOutput(_SerdeShape): - """Dataclass for AssociateSecurityGroupVpcOutput structure.""" - - state: str | None = ... - """The state of the association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateSubnetCidrBlockInput(_SerdeShape): - """Dataclass for AssociateSubnetCidrBlockInput structure.""" - - ipv6_ipam_pool_id: str | None = ... - """An IPv6 IPAM pool ID.""" - ipv6_netmask_length: int | None = ... - """An IPv6 netmask length.""" - subnet_id: str | None = ... - """The ID of your subnet.""" - ipv6_cidr_block: str | None = ... - """The IPv6 CIDR block for your subnet.""" - -@dataclass(kw_only=True) -class AssociateSubnetCidrBlockOutput(_SerdeShape): - """Dataclass for AssociateSubnetCidrBlockOutput structure.""" - - ipv6_cidr_block_association: SubnetIpv6CidrBlockAssociation | None = ... - """Information about the IPv6 association.""" - subnet_id: str | None = ... - """The ID of the subnet.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateTransitGatewayMulticastDomainInput(_SerdeShape): - """Dataclass for AssociateTransitGatewayMulticastDomainInput structure.""" - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - transit_gateway_attachment_id: str | None = ... - """ - The ID of the transit gateway attachment to associate with the transit - gateway multicast domain. - """ - subnet_ids: list[str] | None = ... - """ - The IDs of the subnets to associate with the transit gateway multicast - domain. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssociateTransitGatewayMulticastDomainOutput(_SerdeShape): - """Dataclass for AssociateTransitGatewayMulticastDomainOutput structure.""" - - associations: TransitGatewayMulticastDomainAssociations | None = ... - """Information about the transit gateway multicast domain associations.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateTransitGatewayPolicyTableInput(_SerdeShape): - """Dataclass for AssociateTransitGatewayPolicyTableInput structure.""" - - transit_gateway_policy_table_id: str | None = ... - """ - The ID of the transit gateway policy table to associate with the transit - gateway attachment. - """ - transit_gateway_attachment_id: str | None = ... - """ - The ID of the transit gateway attachment to associate with the policy - table. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssociateTransitGatewayPolicyTableOutput(_SerdeShape): - """Dataclass for AssociateTransitGatewayPolicyTableOutput structure.""" - - association: TransitGatewayPolicyTableAssociation | None = ... - """ - Describes the association of a transit gateway and a transit gateway - policy table. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateTransitGatewayRouteTableInput(_SerdeShape): - """Dataclass for AssociateTransitGatewayRouteTableInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssociateTransitGatewayRouteTableOutput(_SerdeShape): - """Dataclass for AssociateTransitGatewayRouteTableOutput structure.""" - - association: TransitGatewayAssociation | None = ... - """The ID of the association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateTrunkInterfaceInput(_SerdeShape): - """Dataclass for AssociateTrunkInterfaceInput structure.""" - - branch_interface_id: str | None = ... - """The ID of the branch network interface.""" - trunk_interface_id: str | None = ... - """The ID of the trunk network interface.""" - vlan_id: int | None = ... - """The ID of the VLAN. This applies to the VLAN protocol.""" - gre_key: int | None = ... - """The application key. This applies to the GRE protocol.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AssociateTrunkInterfaceOutput(_SerdeShape): - """Dataclass for AssociateTrunkInterfaceOutput structure.""" - - interface_association: TrunkInterfaceAssociation | None = ... - """ - Information about the association between the trunk network interface - and branch network interface. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociateVpcCidrBlockInput(_SerdeShape): - """Dataclass for AssociateVpcCidrBlockInput structure.""" - - cidr_block: str | None = ... - """An IPv4 CIDR block to associate with the VPC.""" - ipv6_cidr_block_network_border_group: str | None = ... - """ - The name of the location from which we advertise the IPV6 CIDR block. - Use this parameter to limit the CIDR block to this location. - - You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this - parameter. - - You can have one IPv6 CIDR block association per network border group. - """ - ipv6_pool: str | None = ... - """ - The ID of an IPv6 address pool from which to allocate the IPv6 CIDR - block. - """ - ipv6_cidr_block: str | None = ... - """ - An IPv6 CIDR block from the IPv6 address pool. You must also specify - `Ipv6Pool` in the request. - - To let Amazon choose the IPv6 CIDR block for you, omit this parameter. - """ - ipv4_ipam_pool_id: str | None = ... - """ - Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more - information about Amazon VPC IP Address Manager (IPAM), see [What is - IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - ipv4_netmask_length: int | None = ... - """ - The netmask length of the IPv4 CIDR you would like to associate from an - Amazon VPC IP Address Manager (IPAM) pool. For more information about - IPAM, see [What is - IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - ipv6_ipam_pool_id: str | None = ... - """ - Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more - information about Amazon VPC IP Address Manager (IPAM), see [What is - IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - ipv6_netmask_length: int | None = ... - """ - The netmask length of the IPv6 CIDR you would like to associate from an - Amazon VPC IP Address Manager (IPAM) pool. For more information about - IPAM, see [What is - IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - amazon_provided_ipv6_cidr_block: bool | None = ... - """ - Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for - the VPC. You cannot specify the range of IPv6 addresses or the size of - the CIDR block. - """ - -@dataclass(kw_only=True) -class AssociateVpcCidrBlockOutput(_SerdeShape): - """Dataclass for AssociateVpcCidrBlockOutput structure.""" - - ipv6_cidr_block_association: VpcIpv6CidrBlockAssociation | None = ... - """Information about the IPv6 CIDR block association.""" - cidr_block_association: VpcCidrBlockAssociation | None = ... - """Information about the IPv4 CIDR block association.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociationStatus(_SerdeShape): - """Describes the state of a target network association.""" - - code: str | None = ... - """The state of the target network association.""" - message: str | None = ... - """ - A message about the status of the target network association, if - applicable. - """ - -class AssociationStatusCode(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - ASSOCIATION_FAILED = "association-failed" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - -class AssociationTypeEnum(UnknownEnumMixin, StrEnum): - TAG = "tag" - INSTANCE_ID = "instance-id" - -@dataclass(kw_only=True) -class AthenaIntegration(_SerdeShape): - """Describes integration options for Amazon Athena.""" - - integration_result_s3_destination_arn: str | None = ... - """ - The location in Amazon S3 to store the generated CloudFormation - template. - """ - partition_load_frequency: str | None = ... - """The schedule for adding new partitions to the table.""" - partition_start_date: datetime | None = ... - """The start date for the partition.""" - partition_end_date: datetime | None = ... - """The end date for the partition.""" - -@dataclass(kw_only=True) -class AttachClassicLinkVpcInput(_SerdeShape): - """Dataclass for AttachClassicLinkVpcInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the EC2-Classic instance.""" - vpc_id: str | None = ... - """The ID of the ClassicLink-enabled VPC.""" - groups: list[str] | None = ... - """ - The IDs of the security groups. You cannot specify security groups from - a different VPC. - """ - -@dataclass(kw_only=True) -class AttachClassicLinkVpcOutput(_SerdeShape): - """Dataclass for AttachClassicLinkVpcOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AttachImageWatermarkInput(_SerdeShape): - """Dataclass for AttachImageWatermarkInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - watermark_name: str | None = ... - """ - The name for the watermark. Combined with the caller's account ID to - form the `WatermarkKey` (`accountId:watermarkName`). - - Constraints: 3-128 alphanumeric characters, parentheses (()), square - brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), - single quotes ('), at-signs (@), or underscores(_) - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AttachImageWatermarkOutput(_SerdeShape): - """Dataclass for AttachImageWatermarkOutput structure.""" - - watermark_key: str | None = ... - """ - The watermark identifier, in `accountId:watermarkName` format (for - example, `123456789012:approvedAmi`). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AttachInternetGatewayInput(_SerdeShape): - """Dataclass for AttachInternetGatewayInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - internet_gateway_id: str | None = ... - """The ID of the internet gateway.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class AttachInternetGatewayOutput(_SerdeShape): - """Dataclass for AttachInternetGatewayOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AttachmentEnaSrdSpecification(_SerdeShape): - """ - ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) - technology to increase the maximum bandwidth used per stream and - minimize tail latency of network traffic between EC2 instances. With ENA - Express, you can communicate between two EC2 instances in the same - subnet within the same account, or in different accounts. Both sending - and receiving instances must have ENA Express enabled. - - To improve the reliability of network packet delivery, ENA Express - reorders network packets on the receiving end by default. However, some - UDP-based applications are designed to handle network packets that are - out of order to reduce the overhead for packet delivery at the network - layer. When ENA Express is enabled, you can specify whether UDP network - traffic uses it. - """ - - ena_srd_enabled: bool | None = ... - """Indicates whether ENA Express is enabled for the network interface.""" - ena_srd_udp_specification: AttachmentEnaSrdUdpSpecification | None = ... - """Configures ENA Express for UDP network traffic.""" - -@dataclass(kw_only=True) -class AttachmentEnaSrdUdpSpecification(_SerdeShape): - """ - ENA Express is compatible with both TCP and UDP transport protocols. - When it's enabled, TCP traffic automatically uses it. However, some - UDP-based applications are designed to handle network packets that are - out of order, without a need for retransmission, such as live video - broadcasting or other near-real-time applications. For UDP traffic, you - can specify whether to use ENA Express, based on your application - environment needs. - """ - - ena_srd_udp_enabled: bool | None = ... - """ - Indicates whether UDP traffic to and from the instance uses ENA Express. - To specify this setting, you must first enable ENA Express. - """ - -class AttachmentLimitType(UnknownEnumMixin, StrEnum): - SHARED = "shared" - DEDICATED = "dedicated" - -class AttachmentStatus(UnknownEnumMixin, StrEnum): - ATTACHING = "attaching" - ATTACHED = "attached" - DETACHING = "detaching" - DETACHED = "detached" - -@dataclass(kw_only=True) -class AttachNetworkInterfaceInput(_SerdeShape): - """Contains the parameters for AttachNetworkInterface.""" - - network_card_index: int | None = ... - """ - The index of the network card. Some instance types support multiple - network cards. The primary network interface must be assigned to network - card index 0. The default is network card index 0. - """ - ena_srd_specification: EnaSrdSpecification | None = ... - """ - Configures ENA Express for the network interface that this action - attaches to the instance. - """ - ena_queue_count: int | None = ... - """The number of ENA queues to be created with the instance.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_interface_id: str | None = ... - """The ID of the network interface.""" - instance_id: str | None = ... - """The ID of the instance.""" - device_index: int | None = ... - """The index of the device for the network interface attachment.""" - -@dataclass(kw_only=True) -class AttachNetworkInterfaceOutput(_SerdeShape): - """Contains the output of AttachNetworkInterface.""" - - attachment_id: str | None = ... - """The ID of the network interface attachment.""" - network_card_index: int | None = ... - """The index of the network card.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AttachVerifiedAccessTrustProviderInput(_SerdeShape): - """Dataclass for AttachVerifiedAccessTrustProviderInput structure.""" - - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - verified_access_trust_provider_id: str | None = ... - """The ID of the Verified Access trust provider.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AttachVerifiedAccessTrustProviderOutput(_SerdeShape): - """Dataclass for AttachVerifiedAccessTrustProviderOutput structure.""" - - verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... - """Details about the Verified Access trust provider.""" - verified_access_instance: VerifiedAccessInstance | None = ... - """Details about the Verified Access instance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AttachVolumeInput(_SerdeShape): - """Dataclass for AttachVolumeInput structure.""" - - device: str | None = ... - """The device name (for example, `/dev/sdh` or `xvdh`).""" - instance_id: str | None = ... - """The ID of the instance.""" - volume_id: str | None = ... - """ - The ID of the EBS volume. The volume and instance must be within the - same Availability Zone. - """ - ebs_card_index: int | None = ... - """ - The index of the EBS card. Some instance types support multiple EBS - cards. The default EBS card index is 0. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AttachVolumeOutput(_SerdeShape): - """Describes volume attachment details.""" - - delete_on_termination: bool | None = ... - """Indicates whether the EBS volume is deleted on instance termination.""" - associated_resource: str | None = ... - """ - The ARN of the Amazon Web Services-managed resource to which the volume - is attached. - """ - instance_owning_service: str | None = ... - """ - The service principal of the Amazon Web Services service that owns the - underlying resource to which the volume is attached. - - This parameter is returned only for volumes that are attached to Amazon - Web Services-managed resources. - """ - ebs_card_index: int | None = ... - """ - The index of the EBS card. Some instance types support multiple EBS - cards. The default EBS card index is 0. - """ - volume_id: str | None = ... - """The ID of the volume.""" - instance_id: str | None = ... - """ - The ID of the instance. - - If the volume is attached to an Amazon Web Services-managed resource, - this parameter returns `null`. - """ - device: str | None = ... - """ - The device name. - - If the volume is attached to an Amazon Web Services-managed resource, - this parameter returns `null`. - """ - state: str | None = ... - """The attachment state of the volume.""" - attach_time: datetime | None = ... - """The time stamp when the attachment initiated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AttachVpnGatewayInput(_SerdeShape): - """Contains the parameters for AttachVpnGateway.""" - - vpc_id: str | None = ... - """The ID of the VPC.""" - vpn_gateway_id: str | None = ... - """The ID of the virtual private gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AttachVpnGatewayOutput(_SerdeShape): - """Contains the output of AttachVpnGateway.""" - - vpc_attachment: VpcAttachment | None = ... - """Information about the attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AttributeBooleanValue(_SerdeShape): - """Describes a value for a resource attribute that is a Boolean value.""" - - value: bool | None = ... - """The attribute value. The valid values are `true` or `false`.""" - -@dataclass(kw_only=True) -class AttributeSummary(_SerdeShape): - """A summary report for the attribute across all Regions.""" - - attribute_name: str | None = ... - """The name of the attribute.""" - most_frequent_value: str | None = ... - """ - The configuration value that is most frequently observed for the - attribute. - """ - number_of_matched_accounts: int | None = ... - """ - The number of accounts with the same configuration value for the - attribute that is most frequently observed. - """ - number_of_unmatched_accounts: int | None = ... - """ - The number of accounts with a configuration value different from the - most frequently observed value for the attribute. - """ - regional_summaries: list[RegionalSummary] | None = ... - """The summary report for each Region for the attribute.""" - -@dataclass(kw_only=True) -class AttributeValue(_SerdeShape): - """Describes a value for a resource attribute that is a String.""" - - value: str | None = ... - """The attribute value. The value is case-sensitive.""" - -@dataclass(kw_only=True) -class AuthorizationRule(_SerdeShape): - """Information about an authorization rule.""" - - client_vpn_endpoint_id: str | None = ... - """ - The ID of the Client VPN endpoint with which the authorization rule is - associated. - """ - description: str | None = ... - """A brief description of the authorization rule.""" - group_id: str | None = ... - """ - The ID of the Active Directory group to which the authorization rule - grants access. - """ - access_all: bool | None = ... - """Indicates whether the authorization rule grants access to all clients.""" - destination_cidr: str | None = ... - """ - The IPv4 address range, in CIDR notation, of the network to which the - authorization rule applies. - """ - status: ClientVpnAuthorizationRuleStatus | None = ... - """The current state of the authorization rule.""" - -@dataclass(kw_only=True) -class AuthorizeClientVpnIngressInput(_SerdeShape): - """Dataclass for AuthorizeClientVpnIngressInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - target_network_cidr: str | None = ... - """ - The IPv4 address range, in CIDR notation, of the network for which - access is being authorized. - """ - access_group_id: str | None = ... - """ - The ID of the group to grant access to, for example, the Active - Directory group or identity provider (IdP) group. Required if - `AuthorizeAllGroups` is `false` or not specified. - """ - authorize_all_groups: bool | None = ... - """ - Indicates whether to grant access to all clients. Specify `true` to - grant all clients who successfully establish a VPN connection access to - the network. Must be set to `true` if `AccessGroupId` is not specified. - """ - description: str | None = ... - """A brief description of the authorization rule.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AuthorizeClientVpnIngressOutput(_SerdeShape): - """Dataclass for AuthorizeClientVpnIngressOutput structure.""" - - status: ClientVpnAuthorizationRuleStatus | None = ... - """The current state of the authorization rule.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AuthorizeSecurityGroupEgressInput(_SerdeShape): - """Dataclass for AuthorizeSecurityGroupEgressInput structure.""" - - tag_specifications: list[TagSpecification] | None = ... - """The tags applied to the security group rule.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - group_id: str | None = ... - """The ID of the security group.""" - source_security_group_name: str | None = ... - """Not supported. Use IP permissions instead.""" - source_security_group_owner_id: str | None = ... - """Not supported. Use IP permissions instead.""" - ip_protocol: str | None = ... - """Not supported. Use IP permissions instead.""" - from_port: int | None = ... - """Not supported. Use IP permissions instead.""" - to_port: int | None = ... - """Not supported. Use IP permissions instead.""" - cidr_ip: str | None = ... - """Not supported. Use IP permissions instead.""" - ip_permissions: list[IpPermission] | None = ... - """The permissions for the security group rules.""" - -@dataclass(kw_only=True) -class AuthorizeSecurityGroupEgressOutput(_SerdeShape): - """Dataclass for AuthorizeSecurityGroupEgressOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - security_group_rules: list[SecurityGroupRule] | None = ... - """ - Information about the outbound (egress) security group rules that were - added. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AuthorizeSecurityGroupIngressInput(_SerdeShape): - """Dataclass for AuthorizeSecurityGroupIngressInput structure.""" - - cidr_ip: str | None = ... - """ - The IPv4 address range, in CIDR format. - - Note: - Amazon Web Services - [canonicalizes](https://en.wikipedia.org/wiki/Canonicalization) IPv4 and - IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR - block, Amazon Web Services canonicalizes the CIDR block to - 100.68.0.0/18. Any subsequent DescribeSecurityGroups and - DescribeSecurityGroupRules calls will return the canonicalized form of - the CIDR block. Additionally, if you attempt to add another rule with - the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is - already a rule for the canonicalized form of the CIDR block (such as - 100.68.0.0/18), the API throws an duplicate rule error. - - To specify an IPv6 address range, use IP permissions instead. - - To specify multiple rules and descriptions for the rules, use IP - permissions instead. - """ - from_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the start of the port range. If - the protocol is ICMP, this is the ICMP type or -1 (all ICMP types). - - To specify multiple rules and descriptions for the rules, use IP - permissions instead. - """ - group_id: str | None = ... - """The ID of the security group.""" - group_name: str | None = ... - """ - [Default VPC] The name of the security group. For security groups for - a default VPC you can specify either the ID or the name of the security - group. For security groups for a nondefault VPC, you must specify the ID - of the security group. - """ - ip_permissions: list[IpPermission] | None = ... - """The permissions for the security group rules.""" - ip_protocol: str | None = ... - """ - The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol - Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). - To specify all protocols, use `-1`. - - To specify `icmpv6`, use IP permissions instead. - - If you specify a protocol other than one of the supported values, - traffic is allowed on all ports, regardless of any ports that you - specify. - - To specify multiple rules and descriptions for the rules, use IP - permissions instead. - """ - source_security_group_name: str | None = ... - """ - [Default VPC] The name of the source security group. - - The rule grants full ICMP, UDP, and TCP access. To create a rule with a - specific protocol and port range, specify a set of IP permissions - instead. - """ - source_security_group_owner_id: str | None = ... - """ - The Amazon Web Services account ID for the source security group, if the - source security group is in a different account. - - The rule grants full ICMP, UDP, and TCP access. To create a rule with a - specific protocol and port range, use IP permissions instead. - """ - to_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the end of the port range. If the - protocol is ICMP, this is the ICMP code or -1 (all ICMP codes). If the - start port is -1 (all ICMP types), then the end port must be -1 (all - ICMP codes). - - To specify multiple rules and descriptions for the rules, use IP - permissions instead. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags applied to the security group rule.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class AuthorizeSecurityGroupIngressOutput(_SerdeShape): - """Dataclass for AuthorizeSecurityGroupIngressOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - security_group_rules: list[SecurityGroupRule] | None = ... - """ - Information about the inbound (ingress) security group rules that were - added. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AutoAcceptSharedAssociationsValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class AutoAcceptSharedAttachmentsValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class AutoPlacement(UnknownEnumMixin, StrEnum): - ON = "on" - OFF = "off" - -class AutoProvisionZonesState(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -class AutoScalingIpsState(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -class AvailabilityMode(UnknownEnumMixin, StrEnum): - ZONAL = "zonal" - REGIONAL = "regional" - -@dataclass(kw_only=True) -class AvailabilityZone(_SerdeShape): - """Describes Availability Zones, Local Zones, and Wavelength Zones.""" - - opt_in_status: str | None = ... - """ - For Availability Zones, this parameter always has the value of - `opt-in-not-required`. - - For Local Zones and Wavelength Zones, this parameter is the opt-in - status. The possible values are `opted-in` and `not-opted-in`. - """ - messages: list[AvailabilityZoneMessage] | None = ... - """ - Any messages about the Availability Zone, Local Zone, or Wavelength - Zone. - """ - region_name: str | None = ... - """The name of the Region.""" - zone_name: str | None = ... - """The name of the Availability Zone, Local Zone, or Wavelength Zone.""" - zone_id: str | None = ... - """The ID of the Availability Zone, Local Zone, or Wavelength Zone.""" - group_name: str | None = ... - """ - The name of the zone group. For example: - - - Availability Zones - `us-east-1-zg-1` - - - Local Zones - `us-west-2-lax-1` - - - Wavelength Zones - `us-east-1-wl1-bos-wlz-1` - """ - network_border_group: str | None = ... - """The name of the network border group.""" - zone_type: str | None = ... - """ - The type of zone. - - Valid values: `availability-zone` | `local-zone` | `wavelength-zone` - """ - parent_zone_name: str | None = ... - """ - The name of the zone that handles some of the Local Zone or Wavelength - Zone control plane operations, such as API calls. - """ - parent_zone_id: str | None = ... - """ - The ID of the zone that handles some of the Local Zone or Wavelength - Zone control plane operations, such as API calls. - """ - group_long_name: str | None = ... - """ - The long name of the Availability Zone group, Local Zone group, or - Wavelength Zone group. - """ - geography: list[AvailabilityZoneGeography] | None = ... - """ - The geography information for the Availability Zone or Local Zone. The - geography is returned as a list. - """ - sub_geography: list[AvailabilityZoneSubGeography] | None = ... - """ - The sub-geography information for the Availability Zone or Local Zone. - The sub-geography is returned as a list. - """ - state: str | None = ... - """ - The state of the Availability Zone, Local Zone, or Wavelength Zone. The - possible values are `available`, `unavailable`, and `constrained`. - """ - -@dataclass(kw_only=True) -class AvailabilityZoneAddress(_SerdeShape): - """ - For regional NAT gateways only: The configuration specifying which - Elastic IP address (EIP) to use for handling outbound NAT traffic from a - specific Availability Zone. - - A regional NAT gateway is a single NAT Gateway that works across - multiple availability zones (AZs) in your VPC, providing redundancy, - scalability and availability across all the AZs in a Region. - - For more information, see [Regional NAT gateways for automatic multi-AZ - expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) - in the *Amazon VPC User Guide*. - """ - - availability_zone: str | None = ... - """ - For regional NAT gateways only: The Availability Zone where this - specific NAT gateway configuration will be active. Each AZ in a regional - NAT gateway has its own configuration to handle outbound NAT traffic - from that AZ. - - A regional NAT gateway is a single NAT Gateway that works across - multiple availability zones (AZs) in your VPC, providing redundancy, - scalability and availability across all the AZs in a Region. - """ - availability_zone_id: str | None = ... - """ - For regional NAT gateways only: The ID of the Availability Zone where - this specific NAT gateway configuration will be active. Each AZ in a - regional NAT gateway has its own configuration to handle outbound NAT - traffic from that AZ. Use this instead of AvailabilityZone for - consistent identification of AZs across Amazon Web Services Regions. - - A regional NAT gateway is a single NAT Gateway that works across - multiple availability zones (AZs) in your VPC, providing redundancy, - scalability and availability across all the AZs in a Region. - """ - allocation_ids: list[str] | None = ... - """ - The allocation IDs of the Elastic IP addresses (EIPs) to be used for - handling outbound NAT traffic in this specific Availability Zone. - """ - -@dataclass(kw_only=True) -class AvailabilityZoneGeography(_SerdeShape): - """ - Describes the geography information for an Availability Zone or Local - Zone. - """ - - name: str | None = ... - """The name of the geography, for example, `United States of America`.""" - -@dataclass(kw_only=True) -class AvailabilityZoneMessage(_SerdeShape): - """ - Describes a message about an Availability Zone, Local Zone, or - Wavelength Zone. - """ - - message: str | None = ... - """The message about the Availability Zone, Local Zone, or Wavelength Zone.""" - -class AvailabilityZoneOptInStatus(UnknownEnumMixin, StrEnum): - OPT_IN_NOT_REQUIRED = "opt-in-not-required" - OPTED_IN = "opted-in" - NOT_OPTED_IN = "not-opted-in" - -class AvailabilityZoneState(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - INFORMATION = "information" - IMPAIRED = "impaired" - UNAVAILABLE = "unavailable" - CONSTRAINED = "constrained" - -@dataclass(kw_only=True) -class AvailabilityZoneSubGeography(_SerdeShape): - """ - Describes the sub-geography information for an Availability Zone or - Local Zone. - """ - - name: str | None = ... - """The name of the sub-geography, for example, `Oregon.`""" - -@dataclass(kw_only=True) -class AvailableCapacity(_SerdeShape): - """ - The capacity information for instances that can be launched onto the - Dedicated Host. - """ - - available_instance_capacity: list[InstanceCapacity] | None = ... - """ - The number of instances that can be launched onto the Dedicated Host - depending on the host's available capacity. For Dedicated Hosts that - support multiple instance types, this parameter represents the number of - instances for each instance size that is supported on the host. - """ - available_v_cpus: int | None = ... - """ - The number of vCPUs available for launching instances onto the Dedicated - Host. - """ - -class BandwidthWeightingType(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - VPC_1 = "vpc-1" - EBS_1 = "ebs-1" - -class BareMetal(UnknownEnumMixin, StrEnum): - INCLUDED = "included" - REQUIRED = "required" - EXCLUDED = "excluded" - -@dataclass(kw_only=True) -class BaselineEbsBandwidthMbps(_SerdeShape): - """ - The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For - more information, see [Amazon EBS--optimized - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) - in the *Amazon EC2 User Guide*. - """ - - min: int | None = ... - """ - The minimum baseline bandwidth, in Mbps. If this parameter is not - specified, there is no minimum limit. - """ - max: int | None = ... - """ - The maximum baseline bandwidth, in Mbps. If this parameter is not - specified, there is no maximum limit. - """ - -@dataclass(kw_only=True) -class BaselineEbsBandwidthMbpsRequest(_SerdeShape): - """ - The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For - more information, see [Amazon EBS--optimized - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) - in the *Amazon EC2 User Guide*. - """ - - min: int | None = ... - """ - The minimum baseline bandwidth, in Mbps. To specify no minimum limit, - omit this parameter. - """ - max: int | None = ... - """ - The maximum baseline bandwidth, in Mbps. To specify no maximum limit, - omit this parameter. - """ - -@dataclass(kw_only=True) -class BaselinePerformanceFactors(_SerdeShape): - """ - The baseline performance to consider, using an instance family as a - baseline reference. The instance family establishes the lowest - acceptable level of performance. Amazon EC2 uses this baseline to guide - instance type selection, but there is no guarantee that the selected - instance types will always exceed the baseline for every application. - - Currently, this parameter only supports CPU performance as a baseline - performance factor. For example, specifying `c6i` would use the CPU - performance of the `c6i` family as the baseline reference. - """ - - cpu: CpuPerformanceFactor | None = ... - """ - The CPU performance to consider, using an instance family as the - baseline reference. - """ - -@dataclass(kw_only=True) -class BaselinePerformanceFactorsRequest(_SerdeShape): - """ - The baseline performance to consider, using an instance family as a - baseline reference. The instance family establishes the lowest - acceptable level of performance. Amazon EC2 uses this baseline to guide - instance type selection, but there is no guarantee that the selected - instance types will always exceed the baseline for every application. - - Currently, this parameter only supports CPU performance as a baseline - performance factor. For example, specifying `c6i` would use the CPU - performance of the `c6i` family as the baseline reference. - """ - - cpu: CpuPerformanceFactorRequest | None = ... - """ - The CPU performance to consider, using an instance family as the - baseline reference. - """ - -@dataclass(kw_only=True) -class BatchModifyIpamRoutingPolicyRegistrationsInput(_SerdeShape): - """Dataclass for BatchModifyIpamRoutingPolicyRegistrationsInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association.""" - delta_json: str | None = ... - """The batch modifications to apply, in JSON format.""" - force: bool | None = ... - """ - Forces the batch modification even if individual changes conflict with - announced routes. Default: `false`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, the operation ignores the request, but does not return an - error. - """ - -@dataclass(kw_only=True) -class BatchModifyIpamRoutingPolicyRegistrationsOutput(_SerdeShape): - """Dataclass for BatchModifyIpamRoutingPolicyRegistrationsOutput structure.""" - - ipam_routing_policy_registration_delta: ( - IpamRoutingPolicyRegistrationDelta | None - ) = ... - """ - Information about the routing policy registration delta created by this - batch operation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class BatchState(UnknownEnumMixin, StrEnum): - SUBMITTED = "submitted" - ACTIVE = "active" - CANCELLED = "cancelled" - FAILED = "failed" - CANCELLED_RUNNING = "cancelled_running" - CANCELLED_TERMINATING_INSTANCES = "cancelled_terminating" - MODIFYING = "modifying" - -class BgpStatus(UnknownEnumMixin, StrEnum): - UP = "up" - DOWN = "down" - -@dataclass(kw_only=True) -class BlockDeviceMapping(_SerdeShape): - """ - Describes a block device mapping, which defines the EBS volumes and - instance store volumes to attach to an instance at launch. - """ - - ebs: EbsBlockDevice | None = ... - """ - Parameters used to automatically set up EBS volumes when the instance is - launched. - """ - no_device: str | None = ... - """ - To omit the device from the block device mapping, specify an empty - string. When this property is specified, the device is removed from the - block device mapping regardless of the assigned value. - """ - device_name: str | None = ... - """ - The device name. For available device names, see [Device names for - volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html). - """ - virtual_name: str | None = ... - """ - The virtual device name (`ephemeral`N). Instance store volumes are - numbered starting from 0. An instance type with 2 available instance - store volumes can specify mappings for `ephemeral0` and `ephemeral1`. - The number of available instance store volumes depends on the instance - type. After you connect to the instance, you must mount the volume. - - NVMe instance store volumes are automatically enumerated and assigned a - device name. Including them in your block device mapping has no effect. - - Constraints: For M3 instances, you must specify instance store volumes - in the block device mapping for the instance. When you launch an M3 - instance, we ignore any instance store volumes specified in the block - device mapping for the AMI. - """ - -@dataclass(kw_only=True) -class BlockDeviceMappingResponse(_SerdeShape): - """ - Describes a block device mapping, which defines the EBS volumes and - instance store volumes to attach to an instance at launch. - """ - - device_name: str | None = ... - """The device name (for example, `/dev/sdh` or `xvdh`).""" - virtual_name: str | None = ... - """The virtual device name.""" - ebs: EbsBlockDeviceResponse | None = ... - """ - Parameters used to automatically set up EBS volumes when the instance is - launched. - """ - no_device: str | None = ... - """Suppresses the specified device included in the block device mapping.""" - -class BlockPublicAccessMode(UnknownEnumMixin, StrEnum): - OFF = "off" - BLOCK_BIDIRECTIONAL = "block-bidirectional" - BLOCK_INGRESS = "block-ingress" - -@dataclass(kw_only=True) -class BlockPublicAccessStates(_SerdeShape): - """The state of VPC Block Public Access (BPA).""" - - internet_gateway_block_mode: str | None = ... - """ - The mode of VPC BPA. - - - `off`: VPC BPA is not enabled and traffic is allowed to and from - internet gateways and egress-only internet gateways in this Region. - - - `block-bidirectional`: Block all traffic to and from internet gateways - and egress-only internet gateways in this Region (except for excluded - VPCs and subnets). - - - `block-ingress`: Block all internet traffic to the VPCs in this Region - (except for VPCs or subnets which are excluded). Only traffic to and - from NAT gateways and egress-only internet gateways is allowed because - these gateways only allow outbound connections to be established. - """ - -class BootModeOverrideValues(UnknownEnumMixin, StrEnum): - UEFI = "uefi" - -class BootModeType(UnknownEnumMixin, StrEnum): - LEGACY_BIOS = "legacy-bios" - UEFI = "uefi" - -class BootModeValues(UnknownEnumMixin, StrEnum): - LEGACY_BIOS = "legacy-bios" - UEFI = "uefi" - UEFI_PREFERRED = "uefi-preferred" - -@dataclass(kw_only=True) -class BundleInstanceInput(_SerdeShape): - """Contains the parameters for BundleInstance.""" - - instance_id: str | None = ... - """ - The ID of the instance to bundle. - - Default: None - """ - storage: Storage | None = ... - """ - The bucket in which to store the AMI. You can specify a bucket that you - already own or a new bucket that Amazon EC2 creates on your behalf. If - you specify a bucket that belongs to someone else, Amazon EC2 returns an - error. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class BundleInstanceOutput(_SerdeShape): - """Contains the output of BundleInstance.""" - - bundle_task: BundleTask | None = ... - """Information about the bundle task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BundleTask(_SerdeShape): - """Describes a bundle task.""" - - instance_id: str | None = ... - """The ID of the instance associated with this bundle task.""" - bundle_id: str | None = ... - """The ID of the bundle task.""" - state: str | None = ... - """The state of the task.""" - start_time: datetime | None = ... - """The time this task started.""" - update_time: datetime | None = ... - """The time of the most recent update for the task.""" - storage: Storage | None = ... - """The Amazon S3 storage locations.""" - progress: str | None = ... - """The level of task completion, as a percent (for example, 20%).""" - bundle_task_error: BundleTaskError | None = ... - """If the task fails, a description of the error.""" - -@dataclass(kw_only=True) -class BundleTaskError(_SerdeShape): - """Describes an error for BundleInstance.""" - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The error message.""" - -class BundleTaskState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - WAITING_FOR_SHUTDOWN = "waiting-for-shutdown" - BUNDLING = "bundling" - STORING = "storing" - CANCELLING = "cancelling" - COMPLETE = "complete" - FAILED = "failed" - -class BurstablePerformance(UnknownEnumMixin, StrEnum): - INCLUDED = "included" - REQUIRED = "required" - EXCLUDED = "excluded" - -@dataclass(kw_only=True) -class Byoasn(_SerdeShape): - """The Autonomous System Number (ASN) and BYOIP CIDR association.""" - - asn: str | None = ... - """A public 2-byte or 4-byte ASN.""" - ipam_id: str | None = ... - """An IPAM ID.""" - status_message: str | None = ... - """The status message.""" - state: str | None = ... - """The provisioning state of the BYOASN.""" - -@dataclass(kw_only=True) -class ByoipCidr(_SerdeShape): - """ - Information about an address range that is provisioned for use with your - Amazon Web Services resources through bring your own IP addresses - (BYOIP). - """ - - cidr: str | None = ... - """The address range, in CIDR notation.""" - description: str | None = ... - """The description of the address range.""" - asn_associations: list[AsnAssociation] | None = ... - """The BYOIP CIDR associations with ASNs.""" - status_message: str | None = ... - """ - Upon success, contains the ID of the address pool. Otherwise, contains - an error message. - """ - state: str | None = ... - """ - The state of the address range. - - - `advertised`: The address range is being advertised to the internet by - Amazon Web Services. - - - `deprovisioned`: The address range is deprovisioned. - - - `failed-deprovision`: The request to deprovision the address range was - unsuccessful. Ensure that all EIPs from the range have been - deallocated and try again. - - - `failed-provision`: The request to provision the address range was - unsuccessful. - - - `pending-deprovision`: You've submitted a request to deprovision an - address range and it's pending. - - - `pending-provision`: You've submitted a request to provision an - address range and it's pending. - - - `provisioned`: The address range is provisioned and can be advertised. - The range is not currently advertised. - - - `provisioned-not-publicly-advertisable`: The address range is - provisioned and cannot be advertised. - """ - network_border_group: str | None = ... - """ - If you have [Local - Zones](https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html) - enabled, you can choose a network border group for Local Zones when you - provision and advertise a BYOIPv4 CIDR. Choose the network border group - carefully as the EIP and the Amazon Web Services resource it is - associated with must reside in the same network border group. - - You can provision BYOIP address ranges to and advertise them in the - following Local Zone network border groups: - - - us-east-1-dfw-2 - - - us-west-2-lax-1 - - - us-west-2-phx-2 - - Note: - You cannot provision or advertise BYOIPv6 address ranges in Local Zones - at this time. - """ - advertisement_type: str | None = ... - """ - Specifies the advertisement method for the BYOIP CIDR. Valid values are: - - - `unicast`: IP is advertised from a single location (regional services - like EC2) - - - `anycast`: IP is advertised from multiple global locations - simultaneously (global services like CloudFront) - - For more information, see [Bring your own IP to CloudFront using - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/tutorials-byoip-cloudfront.html) - in the *Amazon VPC IPAM User Guide*. - """ - pool_id: str | None = ... - """The ID of the address pool associated with the CIDR.""" - ipam_pool_id: str | None = ... - """The ID of the IPAM pool associated with the CIDR.""" - -class ByoipCidrState(UnknownEnumMixin, StrEnum): - ADVERTISED = "advertised" - DEPROVISIONED = "deprovisioned" - FAILED_DEPROVISION = "failed-deprovision" - FAILED_PROVISION = "failed-provision" - PENDING_ADVERTISING = "pending-advertising" - PENDING_DEPROVISION = "pending-deprovision" - PENDING_PROVISION = "pending-provision" - PENDING_WITHDRAWAL = "pending-withdrawal" - PROVISIONED = "provisioned" - PROVISIONED_NOT_PUBLICLY_ADVERTISABLE = "provisioned-not-publicly-advertisable" - -class CallerRole(UnknownEnumMixin, StrEnum): - ODCR_OWNER = "odcr-owner" - UNUSED_RESERVATION_BILLING_OWNER = "unused-reservation-billing-owner" - -class CancelBatchErrorCode(UnknownEnumMixin, StrEnum): - FLEET_REQUEST_ID_DOES_NOT_EXIST = "fleetRequestIdDoesNotExist" - FLEET_REQUEST_ID_MALFORMED = "fleetRequestIdMalformed" - FLEET_REQUEST_NOT_IN_CANCELLABLE_STATE = "fleetRequestNotInCancellableState" - UNEXPECTED_ERROR = "unexpectedError" - -@dataclass(kw_only=True) -class CancelBundleTaskInput(_SerdeShape): - """Contains the parameters for CancelBundleTask.""" - - bundle_id: str | None = ... - """The ID of the bundle task.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CancelBundleTaskOutput(_SerdeShape): - """Contains the output of CancelBundleTask.""" - - bundle_task: BundleTask | None = ... - """Information about the bundle task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelCapacityReservationFleetError(_SerdeShape): - """Describes a Capacity Reservation Fleet cancellation error.""" - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The error message.""" - -@dataclass(kw_only=True) -class CancelCapacityReservationFleetsInput(_SerdeShape): - """Dataclass for CancelCapacityReservationFleetsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - capacity_reservation_fleet_ids: list[str] | None = ... - """The IDs of the Capacity Reservation Fleets to cancel.""" - -@dataclass(kw_only=True) -class CancelCapacityReservationFleetsOutput(_SerdeShape): - """Dataclass for CancelCapacityReservationFleetsOutput structure.""" - - successful_fleet_cancellations: ( - list[CapacityReservationFleetCancellationState] | None - ) = ... - """ - Information about the Capacity Reservation Fleets that were successfully - cancelled. - """ - failed_fleet_cancellations: ( - list[FailedCapacityReservationFleetCancellationResult] | None - ) = ... - """ - Information about the Capacity Reservation Fleets that could not be - cancelled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelCapacityReservationInput(_SerdeShape): - """Dataclass for CancelCapacityReservationInput structure.""" - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation to be cancelled.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - apply_cancellation_charges: str | None = ... - """ - Specifies the cancellation charge type to apply when cancelling a - future-dated Capacity Reservation during its commitment duration. - Possible values include `commitment-wind-down`, which continues billing - for the remaining commitment duration without delivering capacity. - """ - quote_id: str | None = ... - """ - The ID of the cancellation quote to use for the cancellation. You can - generate a cancellation quote by using the - `CreateCapacityReservationCancellationQuote` action. The cancellation - quote must be in an `active` state. - """ - -@dataclass(kw_only=True) -class CancelCapacityReservationOutput(_SerdeShape): - """Dataclass for CancelCapacityReservationOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelConversionTaskInput(_SerdeShape): - """Dataclass for CancelConversionTaskInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - conversion_task_id: str | None = ... - """The ID of the conversion task.""" - reason_message: str | None = ... - """The reason for canceling the conversion task.""" - -@dataclass(kw_only=True) -class CancelConversionTaskOutput(_SerdeShape): - """Dataclass for CancelConversionTaskOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelDeclarativePoliciesReportInput(_SerdeShape): - """Dataclass for CancelDeclarativePoliciesReportInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - report_id: str | None = ... - """The ID of the report.""" - -@dataclass(kw_only=True) -class CancelDeclarativePoliciesReportOutput(_SerdeShape): - """Dataclass for CancelDeclarativePoliciesReportOutput structure.""" - - return_: bool | None = ... - """Is `true` if the request succeeds, and an error otherwise.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelExportTaskInput(_SerdeShape): - """Dataclass for CancelExportTaskInput structure.""" - - export_task_id: str | None = ... - """ - The ID of the export task. This is the ID returned by the - `CreateInstanceExportTask` and `ExportImage` operations. - """ - -@dataclass(kw_only=True) -class CancelExportTaskOutput(_SerdeShape): - """Dataclass for CancelExportTaskOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelImageLaunchPermissionInput(_SerdeShape): - """Dataclass for CancelImageLaunchPermissionInput structure.""" - - image_id: str | None = ... - """The ID of the AMI that was shared with your Amazon Web Services account.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CancelImageLaunchPermissionOutput(_SerdeShape): - """Dataclass for CancelImageLaunchPermissionOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelImportTaskInput(_SerdeShape): - """Dataclass for CancelImportTaskInput structure.""" - - cancel_reason: str | None = ... - """The reason for canceling the task.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - import_task_id: str | None = ... - """The ID of the import image or import snapshot task to be canceled.""" - -@dataclass(kw_only=True) -class CancelImportTaskOutput(_SerdeShape): - """Dataclass for CancelImportTaskOutput structure.""" - - import_task_id: str | None = ... - """The ID of the task being canceled.""" - previous_state: str | None = ... - """The current state of the task being canceled.""" - state: str | None = ... - """The current state of the task being canceled.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancellationTerms(_SerdeShape): - """ - Describes the cancellation terms for cancelling a future-dated Capacity - Reservation during its commitment duration. - """ - - cancellation_type: str | None = ... - """ - The type of cancellation charge. Possible values include - `commitment-wind-down`. - """ - reservation_state: str | None = ... - """ - The state that the Capacity Reservation will transition to after - cancellation. - """ - committed_instance_count: int | None = ... - """The number of instances under commitment after cancellation.""" - charge_commitment_duration_hours: int | None = ... - """The number of hours for which cancellation charges will apply.""" - charge_end_date: datetime | None = ... - """The date and time at which cancellation charges will stop.""" - -@dataclass(kw_only=True) -class CancelledSpotInstanceRequest(_SerdeShape): - """Describes a request to cancel a Spot Instance.""" - - spot_instance_request_id: str | None = ... - """The ID of the Spot Instance request.""" - state: str | None = ... - """The state of the Spot Instance request.""" - -@dataclass(kw_only=True) -class CancelReservedInstancesListingInput(_SerdeShape): - """Contains the parameters for CancelReservedInstancesListing.""" - - reserved_instances_listing_id: str | None = ... - """The ID of the Reserved Instance listing.""" - -@dataclass(kw_only=True) -class CancelReservedInstancesListingOutput(_SerdeShape): - """Contains the output of CancelReservedInstancesListing.""" - - reserved_instances_listings: list[ReservedInstancesListing] | None = ... - """The Reserved Instance listing.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelSpotFleetRequestsError(_SerdeShape): - """Describes a Spot Fleet error.""" - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The description for the error code.""" - -@dataclass(kw_only=True) -class CancelSpotFleetRequestsErrorItem(_SerdeShape): - """Describes a Spot Fleet request that was not successfully canceled.""" - - error: CancelSpotFleetRequestsError | None = ... - """The error.""" - spot_fleet_request_id: str | None = ... - """The ID of the Spot Fleet request.""" - -@dataclass(kw_only=True) -class CancelSpotFleetRequestsInput(_SerdeShape): - """Contains the parameters for CancelSpotFleetRequests.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - spot_fleet_request_ids: list[str] | None = ... - """ - The IDs of the Spot Fleet requests. - - Constraint: You can specify up to 100 IDs in a single request. - """ - terminate_instances: bool | None = ... - """ - Indicates whether to terminate the associated instances when the Spot - Fleet request is canceled. The default is to terminate the instances. - - To let the instances continue to run after the Spot Fleet request is - canceled, specify `no-terminate-instances`. - """ - -@dataclass(kw_only=True) -class CancelSpotFleetRequestsOutput(_SerdeShape): - """Contains the output of CancelSpotFleetRequests.""" - - successful_fleet_requests: list[CancelSpotFleetRequestsSuccessItem] | None = ... - """ - Information about the Spot Fleet requests that are successfully - canceled. - """ - unsuccessful_fleet_requests: list[CancelSpotFleetRequestsErrorItem] | None = ... - """ - Information about the Spot Fleet requests that are not successfully - canceled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelSpotFleetRequestsSuccessItem(_SerdeShape): - """Describes a Spot Fleet request that was successfully canceled.""" - - current_spot_fleet_request_state: str | None = ... - """The current state of the Spot Fleet request.""" - previous_spot_fleet_request_state: str | None = ... - """The previous state of the Spot Fleet request.""" - spot_fleet_request_id: str | None = ... - """The ID of the Spot Fleet request.""" - -@dataclass(kw_only=True) -class CancelSpotInstanceRequestsInput(_SerdeShape): - """Contains the parameters for CancelSpotInstanceRequests.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - spot_instance_request_ids: list[str] | None = ... - """The IDs of the Spot Instance requests.""" - -@dataclass(kw_only=True) -class CancelSpotInstanceRequestsOutput(_SerdeShape): - """Contains the output of CancelSpotInstanceRequests.""" - - cancelled_spot_instance_requests: list[CancelledSpotInstanceRequest] | None = ... - """The Spot Instance requests.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CancelSpotInstanceRequestState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - OPEN = "open" - CLOSED = "closed" - CANCELLED = "cancelled" - COMPLETED = "completed" - -@dataclass(kw_only=True) -class CapacityAllocation(_SerdeShape): - """Information about instance capacity usage for a Capacity Reservation.""" - - allocation_type: str | None = ... - """ - The usage type. `used` indicates that the instance capacity is in use by - instances that are running in the Capacity Reservation. - """ - count: int | None = ... - """ - The amount of instance capacity associated with the usage. For example a - value of `4` indicates that instance capacity for 4 instances is - currently in use. - """ - allocation_metadata: list[CapacityAllocationMetadataEntry] | None = ... - """ - Additional metadata associated with the capacity allocation. Each entry - contains a key-value pair providing context about the allocation. - """ - -@dataclass(kw_only=True) -class CapacityAllocationMetadataEntry(_SerdeShape): - """ - A key-value pair that provides additional metadata about a capacity - allocation. - """ - - key: str | None = ... - """The key of the metadata entry.""" - value: str | None = ... - """The value of the metadata entry.""" - -@dataclass(kw_only=True) -class CapacityBlock(_SerdeShape): - """ - Reserve powerful GPU instances on a future date to support your short - duration machine learning (ML) workloads. Instances that run inside a - Capacity Block are automatically placed close together inside [Amazon - EC2 UltraClusters](http://aws.amazon.com/ec2/ultraclusters/), for - low-latency, petabit-scale, non-blocking networking. - - You can also reserve Amazon EC2 UltraServers. UltraServers connect - multiple EC2 instances using a low-latency, high-bandwidth accelerator - interconnect (NeuronLink). They are built to tackle very large-scale - AI/ML workloads that require significant processing power. For more - information, see Amazon EC2 UltraServers. - """ - - capacity_block_id: str | None = ... - """The ID of the Capacity Block.""" - ultraserver_type: str | None = ... - """The EC2 UltraServer type of the Capacity Block.""" - availability_zone: str | None = ... - """The Availability Zone of the Capacity Block.""" - availability_zone_id: str | None = ... - """The Availability Zone ID of the Capacity Block.""" - capacity_reservation_ids: list[str] | None = ... - """The ID of the Capacity Reservation.""" - start_date: datetime | None = ... - """The date and time at which the Capacity Block was started.""" - end_date: datetime | None = ... - """ - The date and time at which the Capacity Block expires. When a Capacity - Block expires, all instances in the Capacity Block are terminated. - """ - create_date: datetime | None = ... - """The date and time at which the Capacity Block was created.""" - state: str | None = ... - """The state of the Capacity Block.""" - tags: list[Tag] | None = ... - """The tags assigned to the Capacity Block.""" - -@dataclass(kw_only=True) -class CapacityBlockExtension(_SerdeShape): - """ - Describes a Capacity Block extension. With an extension, you can extend - the duration of time for an existing Capacity Block. - """ - - capacity_reservation_id: str | None = ... - """The reservation ID of the Capacity Block extension.""" - instance_type: str | None = ... - """The instance type of the Capacity Block extension.""" - instance_count: int | None = ... - """The number of instances in the Capacity Block extension.""" - availability_zone: str | None = ... - """The Availability Zone of the Capacity Block extension.""" - availability_zone_id: str | None = ... - """The Availability Zone ID of the Capacity Block extension.""" - capacity_block_extension_offering_id: str | None = ... - """The ID of the Capacity Block extension offering.""" - capacity_block_extension_duration_hours: int | None = ... - """The duration of the Capacity Block extension in hours.""" - capacity_block_extension_status: str | None = ... - """ - The status of the Capacity Block extension. A Capacity Block extension - can have one of the following statuses: - - - `payment-pending` - The Capacity Block extension payment is - processing. If your payment can't be processed within 12 hours, the - Capacity Block extension is failed. - - - `payment-failed` - Payment for the Capacity Block extension request - was not successful. - - - `payment-succeeded` - Payment for the Capacity Block extension request - was successful. You receive an invoice that reflects the one-time - upfront payment. In the invoice, you can associate the paid amount - with the Capacity Block reservation ID. - """ - capacity_block_extension_purchase_date: datetime | None = ... - """The date when the Capacity Block extension was purchased.""" - capacity_block_extension_start_date: datetime | None = ... - """The start date of the Capacity Block extension.""" - capacity_block_extension_end_date: datetime | None = ... - """The end date of the Capacity Block extension.""" - upfront_fee: str | None = ... - """The total price to be paid up front.""" - currency_code: str | None = ... - """The currency of the payment for the Capacity Block extension.""" - zone_type: str | None = ... - """The type of zone where the Capacity Block extension is located.""" - -@dataclass(kw_only=True) -class CapacityBlockExtensionOffering(_SerdeShape): - """ - The recommended Capacity Block extension that fits your search - requirements. - """ - - capacity_block_extension_offering_id: str | None = ... - """The ID of the Capacity Block extension offering.""" - instance_type: str | None = ... - """The instance type of the Capacity Block that will be extended.""" - instance_count: int | None = ... - """The number of instances in the Capacity Block extension offering.""" - availability_zone: str | None = ... - """The Availability Zone of the Capacity Block that will be extended.""" - availability_zone_id: str | None = ... - """The Availability Zone ID of the Capacity Block that will be extended.""" - start_date: datetime | None = ... - """The start date of the Capacity Block that will be extended.""" - capacity_block_extension_start_date: datetime | None = ... - """ - The date and time at which the Capacity Block extension will start. This - date is also the same as the end date of the Capacity Block that will be - extended. - """ - capacity_block_extension_end_date: datetime | None = ... - """ - The date and time at which the Capacity Block extension expires. When a - Capacity Block expires, the reserved capacity is released and you can no - longer launch instances into it. The Capacity Block's state changes to - `expired` when it reaches its end date - """ - capacity_block_extension_duration_hours: int | None = ... - """The amount of time of the Capacity Block extension offering in hours.""" - upfront_fee: str | None = ... - """ - The total price of the Capacity Block extension offering, to be paid up - front. - """ - currency_code: str | None = ... - """The currency of the payment for the Capacity Block extension offering.""" - tenancy: str | None = ... - """ - Indicates the tenancy of the Capacity Block extension offering. A - Capacity Block can have one of the following tenancy settings: - - - `default` - The Capacity Block is created on hardware that is shared - with other Amazon Web Services accounts. - - - `dedicated` - The Capacity Block is created on single-tenant hardware - that is dedicated to a single Amazon Web Services account. - """ - zone_type: str | None = ... - """ - The type of zone where the Capacity Block extension offering is - available. - """ - -class CapacityBlockExtensionStatus(UnknownEnumMixin, StrEnum): - PAYMENT_PENDING = "payment-pending" - PAYMENT_FAILED = "payment-failed" - PAYMENT_SUCCEEDED = "payment-succeeded" - -class CapacityBlockInterconnectStatus(UnknownEnumMixin, StrEnum): - OK = "ok" - IMPAIRED = "impaired" - INSUFFICIENT_DATA = "insufficient-data" - -@dataclass(kw_only=True) -class CapacityBlockOffering(_SerdeShape): - """The recommended Capacity Block that fits your search requirements.""" - - capacity_block_offering_id: str | None = ... - """The ID of the Capacity Block offering.""" - instance_type: str | None = ... - """The instance type of the Capacity Block offering.""" - availability_zone: str | None = ... - """The Availability Zone of the Capacity Block offering.""" - instance_count: int | None = ... - """The number of instances in the Capacity Block offering.""" - start_date: datetime | None = ... - """The start date of the Capacity Block offering.""" - end_date: datetime | None = ... - """The end date of the Capacity Block offering.""" - capacity_block_duration_hours: int | None = ... - """ - The number of hours (in addition to `capacityBlockDurationMinutes`) for - the duration of the Capacity Block reservation. For example, if a - Capacity Block starts at **04:55** and ends at **11:30**, the hours - field would be **6**. - """ - upfront_fee: str | None = ... - """The total price to be paid up front.""" - currency_code: str | None = ... - """The currency of the payment for the Capacity Block.""" - tenancy: str | None = ... - """The tenancy of the Capacity Block.""" - ultraserver_type: str | None = ... - """The EC2 UltraServer type of the Capacity Block offering.""" - ultraserver_count: int | None = ... - """The number of EC2 UltraServers in the offering.""" - capacity_block_duration_minutes: int | None = ... - """ - The number of minutes (in addition to `capacityBlockDurationHours`) for - the duration of the Capacity Block reservation. For example, if a - Capacity Block starts at **08:55** and ends at **11:30**, the minutes - field would be **35**. - """ - zone_type: str | None = ... - """The type of zone where the Capacity Block offering is available.""" - -class CapacityBlockResourceState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - EXPIRED = "expired" - UNAVAILABLE = "unavailable" - CANCELLED = "cancelled" - FAILED = "failed" - SCHEDULED = "scheduled" - PAYMENT_PENDING = "payment-pending" - PAYMENT_FAILED = "payment-failed" - -@dataclass(kw_only=True) -class CapacityBlockStatus(_SerdeShape): - """Describes the availability of capacity for a Capacity Block.""" - - capacity_block_id: str | None = ... - """The ID of the Capacity Block.""" - interconnect_status: str | None = ... - """ - The status of the high-bandwidth accelerator interconnect. Possible - states include: - - - `ok` the accelerator interconnect is healthy. - - - `impaired` - accelerator interconnect communication is impaired. - - - `insufficient-data` - insufficient data to determine accelerator - interconnect status. - """ - total_capacity: int | None = ... - """ - The combined amount of `Available` and `Unavailable` capacity in the - Capacity Block. - """ - total_available_capacity: int | None = ... - """ - The remaining capacity. Indicates the number of resources that can be - launched into the Capacity Block. - """ - total_unavailable_capacity: int | None = ... - """ - The unavailable capacity. Indicates the instance capacity that is - unavailable for use due to a system status check failure. - """ - capacity_reservation_statuses: list[CapacityReservationStatus] | None = ... - """The availability of capacity for the Capacity Block reservations.""" - -@dataclass(kw_only=True) -class CapacityManagerCondition(_SerdeShape): - """ - Represents a filter condition for Capacity Manager queries. Contains - dimension-based filtering criteria used to narrow down metric data and - dimension results. - """ - - dimension_condition: DimensionCondition | None = ... - """ - The dimension-based condition that specifies how to filter the data - based on dimension values. - """ - -@dataclass(kw_only=True) -class CapacityManagerDataExportResponse(_SerdeShape): - """ - Contains information about a Capacity Manager data export configuration, - including export settings, delivery status, and recent export activity. - """ - - capacity_manager_data_export_id: str | None = ... - """The unique identifier for the data export configuration.""" - s3_bucket_name: str | None = ... - """The name of the S3 bucket where export files are delivered.""" - s3_bucket_prefix: str | None = ... - """The S3 key prefix used for organizing export files within the bucket.""" - schedule: str | None = ... - """The frequency at which data exports are generated.""" - output_format: str | None = ... - """The file format of the exported data.""" - create_time: datetime | None = ... - """The timestamp when the data export configuration was created.""" - latest_delivery_status: str | None = ... - """The status of the most recent export delivery.""" - latest_delivery_status_message: str | None = ... - """ - A message describing the status of the most recent export delivery, - including any error details if the delivery failed. - """ - latest_delivery_s3_location_uri: str | None = ... - """The S3 URI of the most recently delivered export file.""" - latest_delivery_time: datetime | None = ... - """The timestamp when the most recent export was delivered to S3.""" - tags: list[Tag] | None = ... - """The tags associated with the data export configuration.""" - -class CapacityManagerDataExportStatus(UnknownEnumMixin, StrEnum): - PENDING = "pending" - IN_PROGRESS = "in-progress" - DELIVERED = "delivered" - FAILED = "failed" - -@dataclass(kw_only=True) -class CapacityManagerDimension(_SerdeShape): - """ - Represents dimension values for capacity metrics, including resource - identifiers, geographic information, and reservation details used for - grouping and filtering capacity data. - """ - - resource_region: str | None = ... - """The Amazon Web Services Region where the capacity resource is located.""" - availability_zone_id: str | None = ... - """ - The unique identifier of the Availability Zone where the capacity - resource is located. - """ - account_id: str | None = ... - """The Amazon Web Services account ID that owns the capacity resource.""" - account_name: str | None = ... - """ - The name of the Amazon Web Services account that owns the capacity - resource. This dimension is only available when Organizations access is - enabled for Capacity Manager. - """ - instance_family: str | None = ... - """The EC2 instance family of the capacity resource.""" - instance_type: str | None = ... - """The specific EC2 instance type of the capacity resource.""" - instance_platform: str | None = ... - """The platform or operating system of the instance.""" - reservation_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the capacity reservation. This - provides a unique identifier that can be used across Amazon Web Services - services to reference the specific reservation. - """ - reservation_id: str | None = ... - """The unique identifier of the capacity reservation.""" - reservation_type: str | None = ... - """The type of capacity reservation.""" - reservation_create_timestamp: datetime | None = ... - """ - The timestamp when the capacity reservation was originally created, in - milliseconds since epoch. This differs from the start timestamp as - reservations can be created before they become active. - """ - reservation_start_timestamp: datetime | None = ... - """ - The timestamp when the capacity reservation becomes active and available - for use, in milliseconds since epoch. This is when the reservation - begins providing capacity. - """ - reservation_end_timestamp: datetime | None = ... - """ - The timestamp when the capacity reservation expires and is no longer - available, in milliseconds since epoch. After this time, the reservation - will not provide any capacity. - """ - reservation_end_date_type: str | None = ... - """ - The type of end date for the capacity reservation. This indicates - whether the reservation has a fixed end date, is open-ended, or follows - a specific termination pattern. - """ - tenancy: str | None = ... - """ - The tenancy of the EC2 instances associated with this capacity - dimension. Valid values are 'default' for shared tenancy, - 'dedicated' for dedicated instances, or 'host' for dedicated hosts. - """ - reservation_state: str | None = ... - """The current state of the capacity reservation.""" - reservation_instance_match_criteria: str | None = ... - """ - The instance matching criteria for the capacity reservation, determining - how instances are matched to the reservation. - """ - reservation_unused_financial_owner: str | None = ... - """ - The Amazon Web Services account ID that is financially responsible for - unused capacity reservation costs. - """ - tags: list[CapacityManagerTagDimension] | None = ... - """ - The tags associated with the capacity resource, represented as key-value - pairs. Only tags that have been activated for monitoring via - `UpdateCapacityManagerMonitoredTagKeys` are included. - """ - -@dataclass(kw_only=True) -class CapacityManagerMonitoredTagKey(_SerdeShape): - """ - Describes a tag key that is being monitored by Capacity Manager, - including its activation status and the earliest available data point. - """ - - tag_key: str | None = ... - """The tag key being monitored.""" - status: str | None = ... - """ - The current status of the monitored tag key. Valid values are - `activating`, `activated`, `deactivating`, and `suspended`. - """ - status_message: str | None = ... - """ - A message providing additional details about the current status of the - monitored tag key. - """ - capacity_manager_provided: bool | None = ... - """ - Indicates whether this tag key is provided by Capacity Manager by - default, rather than being user-activated. - """ - earliest_datapoint_timestamp: datetime | None = ... - """ - The earliest timestamp from which tag data is available for queries, in - UTC ISO 8601 format. - """ - -class CapacityManagerMonitoredTagKeyStatus(UnknownEnumMixin, StrEnum): - ACTIVATING = "activating" - ACTIVATED = "activated" - DEACTIVATING = "deactivating" - SUSPENDED = "suspended" - -class CapacityManagerStatus(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class CapacityManagerSupportabilityScore(_SerdeShape): - """ - The supportability score for a single instance type and Availability - Zone combination. - """ - - instance_type: str | None = ... - """The instance type.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - score: str | None = ... - """ - How well the combination can support the requested capacity right now. - `high` means that the combination holds several times the requested - amount. `medium` means that it can cover the request with little to - spare. `low` means that it holds less than the requested amount. - """ - -@dataclass(kw_only=True) -class CapacityManagerTagDimension(_SerdeShape): - """ - A key-value pair representing a tag associated with a capacity resource - in Capacity Manager. - """ - - key: str | None = ... - """The tag key.""" - value: str | None = ... - """The tag value.""" - -@dataclass(kw_only=True) -class CapacityReservation(_SerdeShape): - """Describes a Capacity Reservation.""" - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the Capacity - Reservation. - """ - capacity_reservation_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Capacity Reservation.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone in which the capacity is reserved.""" - instance_type: str | None = ... - """ - The type of instance for which the Capacity Reservation reserves - capacity. - """ - instance_platform: str | None = ... - """ - The type of operating system for which the Capacity Reservation reserves - capacity. - """ - availability_zone: str | None = ... - """The Availability Zone in which the capacity is reserved.""" - tenancy: str | None = ... - """ - Indicates the tenancy of the Capacity Reservation. A Capacity - Reservation can have one of the following tenancy settings: - - - `default` - The Capacity Reservation is created on hardware that is - shared with other Amazon Web Services accounts. - - - `dedicated` - The Capacity Reservation is created on single-tenant - hardware that is dedicated to a single Amazon Web Services account. - """ - total_instance_count: int | None = ... - """ - The total number of instances for which the Capacity Reservation - reserves capacity. - """ - available_instance_count: int | None = ... - """ - The remaining capacity. Indicates the number of instances that can be - launched in the Capacity Reservation. - """ - ebs_optimized: bool | None = ... - """ - Indicates whether the Capacity Reservation supports EBS-optimized - instances. This optimization provides dedicated throughput to Amazon EBS - and an optimized configuration stack to provide optimal I/O performance. - This optimization isn't available with all instance types. Additional - usage charges apply when using an EBS- optimized instance. - """ - ephemeral_storage: bool | None = ... - """*Deprecated.*""" - state: str | None = ... - """ - The current state of the Capacity Reservation. A Capacity Reservation - can be in one of the following states: - - - `active` - The capacity is available for use. - - - `expired` - The Capacity Reservation expired automatically at the date - and time specified in your reservation request. The reserved capacity - is no longer available for your use. - - - `cancelled` - The Capacity Reservation was canceled. The reserved - capacity is no longer available for your use. - - - `pending` - The Capacity Reservation request was successful but the - capacity provisioning is still pending. - - - `failed` - The Capacity Reservation request has failed. A request can - fail due to request parameters that are not valid, capacity - constraints, or instance limit constraints. You can view a failed - request for 60 minutes. - - - `scheduled` - (*Future-dated Capacity Reservations*) The future-dated - Capacity Reservation request was approved and the Capacity Reservation - is scheduled for delivery on the requested start date. - - - `payment-pending` - (*Capacity Blocks*) The upfront payment has not - been processed yet. - - - `payment-failed` - (*Capacity Blocks*) The upfront payment was not - processed in the 12-hour time frame. Your Capacity Block was released. - - - `assessing` - (*Future-dated Capacity Reservations*) Amazon EC2 is - assessing your request for a future-dated Capacity Reservation. - - - `delayed` - (*Future-dated Capacity Reservations*) Amazon EC2 - encountered a delay in provisioning the requested future-dated - Capacity Reservation. Amazon EC2 is unable to deliver the requested - capacity by the requested start date and time. - - - `unsupported` - (*Future-dated Capacity Reservations*) Amazon EC2 - can't support the future-dated Capacity Reservation request due to - capacity constraints. You can view unsupported requests for 30 days. - The Capacity Reservation will not be delivered. - - - `cancelling` - (*Future-dated Capacity Reservations*) The Capacity - Reservation is being cancelled. Capacity has been released but charges - continue for the commitment wind-down period. The reservation - transitions to `cancelled` when the wind-down completes. - """ - start_date: datetime | None = ... - """The date and time the Capacity Reservation was started.""" - end_date: datetime | None = ... - """ - The date and time the Capacity Reservation expires. When a Capacity - Reservation expires, the reserved capacity is released and you can no - longer launch instances into it. The Capacity Reservation's state - changes to `expired` when it reaches its end date and time. - """ - end_date_type: str | None = ... - """ - Indicates the way in which the Capacity Reservation ends. A Capacity - Reservation can have one of the following end types: - - - `unlimited` - The Capacity Reservation remains active until you - explicitly cancel it. - - - `limited` - The Capacity Reservation expires automatically at a - specified date and time. - """ - instance_match_criteria: str | None = ... - """ - Indicates the type of instance launches that the Capacity Reservation - accepts. The options include: - - - `open` - The Capacity Reservation accepts all instances that have - matching attributes (instance type, platform, and Availability Zone). - Instances that have matching attributes launch into the Capacity - Reservation automatically without specifying any additional - parameters. - - - `targeted` - The Capacity Reservation only accepts instances that have - matching attributes (instance type, platform, and Availability Zone), - and explicitly target the Capacity Reservation. This ensures that only - permitted instances can use the reserved capacity. - """ - create_date: datetime | None = ... - """The date and time the Capacity Reservation was created.""" - tags: list[Tag] | None = ... - """Any tags assigned to the Capacity Reservation.""" - outpost_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Outpost on which the Capacity - Reservation was created. - """ - capacity_reservation_fleet_id: str | None = ... - """ - The ID of the Capacity Reservation Fleet to which the Capacity - Reservation belongs. Only valid for Capacity Reservations that were - created by a Capacity Reservation Fleet. - """ - placement_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the cluster placement group in which - the Capacity Reservation was created. For more information, see - [Capacity Reservations for cluster placement - groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html) - in the *Amazon EC2 User Guide*. - """ - capacity_allocations: list[CapacityAllocation] | None = ... - """Information about instance capacity usage.""" - reservation_type: str | None = ... - """The type of Capacity Reservation.""" - unused_reservation_billing_owner_id: str | None = ... - """ - The ID of the Amazon Web Services account to which billing of the unused - capacity of the Capacity Reservation is assigned. - """ - commitment_info: CapacityReservationCommitmentInfo | None = ... - """ - Information about your commitment for a future-dated Capacity - Reservation. - """ - delivery_preference: str | None = ... - """ - The delivery method for a future-dated Capacity Reservation. - `incremental` indicates that the requested capacity is delivered in - addition to any running instances and reserved capacity that you have in - your account at the requested date and time. - """ - capacity_block_id: str | None = ... - """The ID of the Capacity Block.""" - interruptible: bool | None = ... - """ - Indicates whether this Capacity Reservation is interruptible, meaning - instances may be terminated when the owner reclaims capacity. - """ - interruptible_capacity_allocation: InterruptibleCapacityAllocation | None = ... - """ - Contains allocation details for interruptible reservations, including - current allocated instances and target instance counts within the - interruptibleCapacityAllocation object. - """ - interruption_info: InterruptionInfo | None = ... - """ - Information about the interruption configuration and association with - the source reservation for interruptible Capacity Reservations. - """ - adjustment_status: str | None = ... - """ - The status of the most recent modification to the Capacity Reservation. - A Capacity Reservation can have one of the following adjustment - statuses: - - - `requested` - The modification was requested and is being processed. - - - `applied` - The modification was applied to the Capacity Reservation. - - - `rejected` - The modification was not applied and the Capacity - Reservation keeps its existing configuration. - - This field is not returned if the Capacity Reservation has never been - modified. - """ - adjustment_details: CapacityReservationAdjustmentDetails | None = ... - """ - The configuration that the Capacity Reservation will have after the - requested adjustment is applied. - """ - original_start_date: datetime | None = ... - """ - The start date that you originally requested for the Capacity - Reservation, in the ISO8601 format in the UTC time zone - (`YYYY-MM-DDThh:mm:ss.sssZ`). This value doesn't change when you push - out the start date. - """ - zero_size_preference: str | None = ... - """ - The zero-size preference configured for the interruptible Capacity - Reservation. A value of `retain` keeps the interruptible Capacity - Reservation active at zero capacity when you reduce its allocation to - zero. A value of `default` cancels the interruptible Capacity - Reservation when you reduce its allocation to zero. - """ - launch_status: str | None = ... - """ - Note: - Only supported for UltraServers. - - Indicates whether you can launch instances into the Capacity - Reservation. A Capacity Reservation can have the following launch - statuses: - - - `launchable` - You can launch instances into the Capacity Reservation. - - - `unlaunchable` - You can't launch instances into the Capacity - Reservation. For example, the Capacity Reservation is not active. - """ - -@dataclass(kw_only=True) -class CapacityReservationAdjustmentDetails(_SerdeShape): - """ - Describes the configuration that a Capacity Reservation will have after - a pending adjustment is applied. - """ - - start_date: datetime | None = ... - """ - The start date that the Capacity Reservation will have after the - adjustment. - """ - end_date: datetime | None = ... - """ - The end date that the Capacity Reservation will have after the - adjustment. - """ - commitment_end_date: datetime | None = ... - """ - The date and time at which the commitment duration will expire after the - adjustment. - """ - end_date_type: str | None = ... - """ - Indicates the way in which the Capacity Reservation will end after the - adjustment. Possible values are: - - - `unlimited` - The Capacity Reservation remains active until you - explicitly cancel it. - - - `limited` - The Capacity Reservation expires automatically at the date - and time given by `endDate`. - """ - commitment_duration: int | None = ... - """ - The commitment duration, in seconds, that the Capacity Reservation will - have after the adjustment. - """ - -class CapacityReservationAdjustmentStatus(UnknownEnumMixin, StrEnum): - REQUESTED = "requested" - APPLIED = "applied" - REJECTED = "rejected" - -@dataclass(kw_only=True) -class CapacityReservationBillingRequest(_SerdeShape): - """ - Information about a request to assign billing of the unused capacity of - a Capacity Reservation. - """ - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - requested_by: str | None = ... - """The ID of the Amazon Web Services account that initiated the request.""" - unused_reservation_billing_owner_id: str | None = ... - """The ID of the Amazon Web Services account to which the request was sent.""" - last_update_time: datetime | None = ... - """ - The date and time, in UTC time format, at which the request was - initiated. - """ - status: str | None = ... - """ - The status of the request. For more information, see [View billing - assignment requests for a shared Amazon EC2 Capacity - Reservation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/view-billing-transfers.html). - """ - status_message: str | None = ... - """Information about the status.""" - capacity_reservation_info: CapacityReservationInfo | None = ... - """Information about the Capacity Reservation.""" - -class CapacityReservationBillingRequestStatus(UnknownEnumMixin, StrEnum): - PENDING = "pending" - ACCEPTED = "accepted" - REJECTED = "rejected" - CANCELLED = "cancelled" - REVOKED = "revoked" - EXPIRED = "expired" - -@dataclass(kw_only=True) -class CapacityReservationCancellationQuote(_SerdeShape): - """ - Describes a Capacity Reservation cancellation quote, which provides the - cancellation terms for cancelling a future-dated Capacity Reservation - during its commitment duration. - """ - - capacity_reservation_cancellation_quote_id: str | None = ... - """The ID of the cancellation quote.""" - capacity_reservation_id: str | None = ... - """ - The ID of the Capacity Reservation associated with the cancellation - quote. - """ - create_time: datetime | None = ... - """The date and time at which the cancellation quote was created.""" - expiration_time: datetime | None = ... - """The date and time at which the cancellation quote expires.""" - quote_state: str | None = ... - """ - The state of the cancellation quote. Possible values include `pending`, - `active`, and `expired`. - """ - current_configuration: CapacityReservationConfiguration | None = ... - """The current configuration of the Capacity Reservation.""" - cancellation_terms: list[CancellationTerms] | None = ... - """ - The cancellation terms associated with the quote, including the fee type - and charge details. - """ - tags: list[Tag] | None = ... - """The tags assigned to the cancellation quote.""" - -class CapacityReservationCancellationQuoteState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - ACTIVE = "active" - EXPIRED = "expired" - -@dataclass(kw_only=True) -class CapacityReservationCommitmentInfo(_SerdeShape): - """ - Information about your commitment for a future-dated Capacity - Reservation. - """ - - committed_instance_count: int | None = ... - """ - The instance capacity that you committed to when you requested the - future-dated Capacity Reservation. - """ - commitment_end_date: datetime | None = ... - """ - The date and time at which the commitment duration expires, in the - ISO8601 format in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). You - can't decrease the instance count or cancel the Capacity Reservation - before this date and time. - """ - commitment_duration: int | None = ... - """ - The commitment duration, in seconds, for the future-dated Capacity - Reservation. This is the minimum duration for which you commit to having - the Capacity Reservation in the `active` state in your account after it - has been delivered. - """ - -@dataclass(kw_only=True) -class CapacityReservationConfiguration(_SerdeShape): - """Describes the configuration of a Capacity Reservation.""" - - instance_count: int | None = ... - """The number of instances in the Capacity Reservation.""" - reservation_state: str | None = ... - """The current state of the Capacity Reservation.""" - -class CapacityReservationDeliveryPreference(UnknownEnumMixin, StrEnum): - FIXED = "fixed" - INCREMENTAL = "incremental" - -@dataclass(kw_only=True) -class CapacityReservationFleet(_SerdeShape): - """Information about a Capacity Reservation Fleet.""" - - capacity_reservation_fleet_id: str | None = ... - """The ID of the Capacity Reservation Fleet.""" - capacity_reservation_fleet_arn: str | None = ... - """The ARN of the Capacity Reservation Fleet.""" - state: str | None = ... - """ - The state of the Capacity Reservation Fleet. Possible states include: - - - `submitted` - The Capacity Reservation Fleet request has been - submitted and Amazon Elastic Compute Cloud is preparing to create the - Capacity Reservations. - - - `modifying` - The Capacity Reservation Fleet is being modified. The - Fleet remains in this state until the modification is complete. - - - `active` - The Capacity Reservation Fleet has fulfilled its total - target capacity and it is attempting to maintain this capacity. The - Fleet remains in this state until it is modified or deleted. - - - `partially_fulfilled` - The Capacity Reservation Fleet has partially - fulfilled its total target capacity. There is insufficient Amazon EC2 - to fulfill the total target capacity. The Fleet is attempting to - asynchronously fulfill its total target capacity. - - - `expiring` - The Capacity Reservation Fleet has reach its end date and - it is in the process of expiring. One or more of its Capacity - reservations might still be active. - - - `expired` - The Capacity Reservation Fleet has reach its end date. The - Fleet and its Capacity Reservations are expired. The Fleet can't - create new Capacity Reservations. - - - `cancelling` - The Capacity Reservation Fleet is in the process of - being cancelled. One or more of its Capacity reservations might still - be active. - - - `cancelled` - The Capacity Reservation Fleet has been manually - cancelled. The Fleet and its Capacity Reservations are cancelled and - the Fleet can't create new Capacity Reservations. - - - `failed` - The Capacity Reservation Fleet failed to reserve capacity - for the specified instance types. - """ - total_target_capacity: int | None = ... - """ - The total number of capacity units for which the Capacity Reservation - Fleet reserves capacity. For more information, see [Total target - capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) - in the *Amazon EC2 User Guide*. - """ - total_fulfilled_capacity: float | None = ... - """The capacity units that have been fulfilled.""" - tenancy: str | None = ... - """ - The tenancy of the Capacity Reservation Fleet. Tenancies include: - - - `default` - The Capacity Reservation Fleet is created on hardware that - is shared with other Amazon Web Services accounts. - - - `dedicated` - The Capacity Reservation Fleet is created on - single-tenant hardware that is dedicated to a single Amazon Web - Services account. - """ - end_date: datetime | None = ... - """The date and time at which the Capacity Reservation Fleet expires.""" - create_time: datetime | None = ... - """The date and time at which the Capacity Reservation Fleet was created.""" - instance_match_criteria: str | None = ... - """ - Indicates the type of instance launches that the Capacity Reservation - Fleet accepts. All Capacity Reservations in the Fleet inherit this - instance matching criteria. - - Currently, Capacity Reservation Fleets support `open` instance matching - criteria only. This means that instances that have matching attributes - (instance type, platform, and Availability Zone) run in the Capacity - Reservations automatically. Instances do not need to explicitly target a - Capacity Reservation Fleet to use its reserved capacity. - """ - allocation_strategy: str | None = ... - """ - The strategy used by the Capacity Reservation Fleet to determine which - of the specified instance types to use. For more information, see For - more information, see [Allocation - strategy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy) - in the *Amazon EC2 User Guide*. - """ - instance_type_specifications: list[FleetCapacityReservation] | None = ... - """Information about the instance types for which to reserve the capacity.""" - instance_requirements: InstanceRequirementsRequest | None = ... - """Reserved for internal use.""" - availability_zone: str | None = ... - """Reserved for internal use.""" - availability_zone_id: str | None = ... - """Reserved for internal use.""" - tags: list[Tag] | None = ... - """The tags assigned to the Capacity Reservation Fleet.""" - -@dataclass(kw_only=True) -class CapacityReservationFleetCancellationState(_SerdeShape): - """Describes a Capacity Reservation Fleet that was successfully cancelled.""" - - current_fleet_state: str | None = ... - """The current state of the Capacity Reservation Fleet.""" - previous_fleet_state: str | None = ... - """The previous state of the Capacity Reservation Fleet.""" - capacity_reservation_fleet_id: str | None = ... - """ - The ID of the Capacity Reservation Fleet that was successfully - cancelled. - """ - -class CapacityReservationFleetState(UnknownEnumMixin, StrEnum): - SUBMITTED = "submitted" - MODIFYING = "modifying" - ACTIVE = "active" - PARTIALLY_FULFILLED = "partially_fulfilled" - EXPIRING = "expiring" - EXPIRED = "expired" - CANCELLING = "cancelling" - CANCELLED = "cancelled" - FAILED = "failed" - -@dataclass(kw_only=True) -class CapacityReservationGroup(_SerdeShape): - """ - Describes a resource group to which a Capacity Reservation has been - added. - """ - - group_arn: str | None = ... - """The ARN of the resource group.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the resource group.""" - -@dataclass(kw_only=True) -class CapacityReservationInfo(_SerdeShape): - """Information about a Capacity Reservation.""" - - instance_type: str | None = ... - """The instance type for the Capacity Reservation.""" - availability_zone: str | None = ... - """The Availability Zone for the Capacity Reservation.""" - tenancy: str | None = ... - """The tenancy of the Capacity Reservation.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - -class CapacityReservationInstancePlatform(UnknownEnumMixin, StrEnum): - LINUX_UNIX = "Linux/UNIX" - RED_HAT_ENTERPRISE_LINUX = "Red Hat Enterprise Linux" - SUSE_LINUX = "SUSE Linux" - WINDOWS = "Windows" - WINDOWS_WITH_SQL_SERVER = "Windows with SQL Server" - WINDOWS_WITH_SQL_SERVER_ENTERPRISE = "Windows with SQL Server Enterprise" - WINDOWS_WITH_SQL_SERVER_STANDARD = "Windows with SQL Server Standard" - WINDOWS_WITH_SQL_SERVER_WEB = "Windows with SQL Server Web" - LINUX_WITH_SQL_SERVER_STANDARD = "Linux with SQL Server Standard" - LINUX_WITH_SQL_SERVER_WEB = "Linux with SQL Server Web" - LINUX_WITH_SQL_SERVER_ENTERPRISE = "Linux with SQL Server Enterprise" - RHEL_WITH_SQL_SERVER_STANDARD = "RHEL with SQL Server Standard" - RHEL_WITH_SQL_SERVER_ENTERPRISE = "RHEL with SQL Server Enterprise" - RHEL_WITH_SQL_SERVER_WEB = "RHEL with SQL Server Web" - RHEL_WITH_HA = "RHEL with HA" - RHEL_WITH_HA_AND_SQL_SERVER_STANDARD = "RHEL with HA and SQL Server Standard" - RHEL_WITH_HA_AND_SQL_SERVER_ENTERPRISE = "RHEL with HA and SQL Server Enterprise" - UBUNTU_PRO_LINUX = "Ubuntu Pro" - -class CapacityReservationLaunchStatus(UnknownEnumMixin, StrEnum): - LAUNCHABLE = "launchable" - UNLAUNCHABLE = "unlaunchable" - -@dataclass(kw_only=True) -class CapacityReservationModificationQuote(_SerdeShape): - """ - Describes a Capacity Reservation modification quote, which provides the - terms for changing the start date or the commitment of a future-dated - Capacity Reservation. - """ - - capacity_reservation_modification_quote_id: str | None = ... - """The ID of the modification quote.""" - capacity_reservation_id: str | None = ... - """ - The ID of the Capacity Reservation associated with the modification - quote. - """ - create_time: datetime | None = ... - """The date and time at which the modification quote was created.""" - expiration_time: datetime | None = ... - """The date and time at which the modification quote expires.""" - quote_state: str | None = ... - """ - The state of the modification quote itself. Possible values are: - - - `active` - The quote can still be used. - - - `expired` - The quote can no longer be used. A quote becomes `expired` - at its `expirationTime`. - """ - current_configuration: ModificationQuoteCurrentConfiguration | None = ... - """ - The configuration that the Capacity Reservation has at the time the - quote was generated. - """ - modification_terms: ModificationTerms | None = ... - """ - The terms of the modification, including the configuration that the - Capacity Reservation will have if you accept them by using - `ModifyCapacityReservation`. - """ - tags: list[Tag] | None = ... - """The tags assigned to the modification quote.""" - -class CapacityReservationModificationQuoteState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - EXPIRED = "expired" - -@dataclass(kw_only=True) -class CapacityReservationOptions(_SerdeShape): - """ - Describes the strategy for using unused Capacity Reservations for - fulfilling On-Demand capacity. - - Note: - This strategy can only be used if the EC2 Fleet is of type `instant`. - - For more information about Capacity Reservations, see [On-Demand - Capacity - Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html) - in the *Amazon EC2 User Guide*. For examples of using Capacity - Reservations in an EC2 Fleet, see [EC2 Fleet example - configurations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html) - in the *Amazon EC2 User Guide*. - """ - - usage_strategy: str | None = ... - """ - Indicates whether to use unused Capacity Reservations for fulfilling - On-Demand capacity. - - If you specify `use-capacity-reservations-first`, the fleet uses unused - Capacity Reservations to fulfill On-Demand capacity up to the target - On-Demand capacity. If multiple instance pools have unused Capacity - Reservations, the On-Demand allocation strategy (`lowest-price` or - `prioritized`) is applied. If the number of unused Capacity Reservations - is less than the On-Demand target capacity, the remaining On-Demand - target capacity is launched according to the On-Demand allocation - strategy (`lowest-price` or `prioritized`). - - If you do not specify a value, the fleet fulfils the On-Demand capacity - according to the chosen On-Demand allocation strategy. - """ - -@dataclass(kw_only=True) -class CapacityReservationOptionsRequest(_SerdeShape): - """ - Describes the strategy for using unused Capacity Reservations for - fulfilling On-Demand capacity. - - Note: - This strategy can only be used if the EC2 Fleet is of type `instant`. - - For more information about Capacity Reservations, see [On-Demand - Capacity - Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html) - in the *Amazon EC2 User Guide*. For examples of using Capacity - Reservations in an EC2 Fleet, see [EC2 Fleet example - configurations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html) - in the *Amazon EC2 User Guide*. - """ - - usage_strategy: str | None = ... - """ - Indicates whether to use unused Capacity Reservations for fulfilling - On-Demand capacity. - - If you specify `use-capacity-reservations-first`, the fleet uses unused - Capacity Reservations to fulfill On-Demand capacity up to the target - On-Demand capacity. If multiple instance pools have unused Capacity - Reservations, the On-Demand allocation strategy (`lowest-price` or - `prioritized`) is applied. If the number of unused Capacity Reservations - is less than the On-Demand target capacity, the remaining On-Demand - target capacity is launched according to the On-Demand allocation - strategy (`lowest-price` or `prioritized`). - - If you do not specify a value, the fleet fulfils the On-Demand capacity - according to the chosen On-Demand allocation strategy. - """ - -class CapacityReservationPreference(UnknownEnumMixin, StrEnum): - CAPACITY_RESERVATIONS_ONLY = "capacity-reservations-only" - OPEN = "open" - NONE = "none" - -@dataclass(kw_only=True) -class CapacityReservationSpecification(_SerdeShape): - """ - Describes an instance's Capacity Reservation targeting option. - - Use the `CapacityReservationPreference` parameter to configure the - instance to run as an On-Demand Instance, to run in any `open` Capacity - Reservation that has matching attributes, or to run only in a Capacity - Reservation or Capacity Reservation group. Use the - `CapacityReservationTarget` parameter to explicitly target a specific - Capacity Reservation or a Capacity Reservation group. - - You can only specify `CapacityReservationPreference` and - `CapacityReservationTarget` if the `CapacityReservationPreference` is - `capacity-reservations-only`. - """ - - capacity_reservation_preference: str | None = ... - """ - Indicates the instance's Capacity Reservation preferences. Possible - preferences include: - - - `capacity-reservations-only` - The instance will only run in a - Capacity Reservation or Capacity Reservation group. If capacity isn't - available, the instance will fail to launch. - - - `open` - The instance can run in any `open` Capacity Reservation that - has matching attributes (instance type, platform, Availability Zone, - and tenancy). If capacity isn't available, the instance runs as an - On-Demand Instance. - - - `none` - The instance doesn't run in a Capacity Reservation even if - one is available. The instance runs as an On-Demand Instance. - """ - capacity_reservation_target: CapacityReservationTarget | None = ... - """ - Information about the target Capacity Reservation or Capacity - Reservation group. - """ - -@dataclass(kw_only=True) -class CapacityReservationSpecificationResponse(_SerdeShape): - """ - Describes the instance's Capacity Reservation targeting preferences. - The action returns the `capacityReservationPreference` response element - if the instance is configured to run in On-Demand capacity, or if it is - configured in run in any `open` Capacity Reservation that has matching - attributes (instance type, platform, Availability Zone). The action - returns the `capacityReservationTarget` response element if the instance - explicily targets a specific Capacity Reservation or Capacity - Reservation group. - """ - - capacity_reservation_preference: str | None = ... - """ - Describes the instance's Capacity Reservation preferences. Possible - preferences include: - - - `open` - The instance can run in any `open` Capacity Reservation that - has matching attributes (instance type, platform, Availability Zone). - - - `none` - The instance avoids running in a Capacity Reservation even if - one is available. The instance runs in On-Demand capacity. - """ - capacity_reservation_target: CapacityReservationTargetResponse | None = ... - """ - Information about the targeted Capacity Reservation or Capacity - Reservation group. - """ - -class CapacityReservationState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - EXPIRED = "expired" - CANCELLED = "cancelled" - PENDING = "pending" - FAILED = "failed" - SCHEDULED = "scheduled" - PAYMENT_PENDING = "payment-pending" - PAYMENT_FAILED = "payment-failed" - ASSESSING = "assessing" - DELAYED = "delayed" - UNSUPPORTED = "unsupported" - CANCELLING = "cancelling" - UNAVAILABLE = "unavailable" - -@dataclass(kw_only=True) -class CapacityReservationStatus(_SerdeShape): - """Describes the availability of capacity for a Capacity Reservation.""" - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - total_capacity: int | None = ... - """ - The combined amount of `Available` and `Unavailable` capacity in the - Capacity Reservation. - """ - total_available_capacity: int | None = ... - """ - The remaining capacity. Indicates the amount of resources that can be - launched into the Capacity Reservation. - """ - total_unavailable_capacity: int | None = ... - """ - The used capacity. Indicates that the capacity is in use by resources - that are running in the Capacity Reservation. - """ - -@dataclass(kw_only=True) -class CapacityReservationTarget(_SerdeShape): - """Describes a target Capacity Reservation or Capacity Reservation group.""" - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation in which to run the instance.""" - capacity_reservation_resource_group_arn: str | None = ... - """ - The ARN of the Capacity Reservation resource group in which to run the - instance. - """ - -@dataclass(kw_only=True) -class CapacityReservationTargetResponse(_SerdeShape): - """Describes a target Capacity Reservation or Capacity Reservation group.""" - - capacity_reservation_id: str | None = ... - """The ID of the targeted Capacity Reservation.""" - capacity_reservation_resource_group_arn: str | None = ... - """The ARN of the targeted Capacity Reservation group.""" - -class CapacityReservationTenancy(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - DEDICATED = "dedicated" - -@dataclass(kw_only=True) -class CapacityReservationTopology(_SerdeShape): - """Information about the Capacity Reservation topology.""" - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - capacity_block_id: str | None = ... - """ - The ID of the Capacity Block. This parameter is only supported for - UltraServer instances and identifies instances within the UltraServer - domain. - """ - state: str | None = ... - """ - The current state of the Capacity Reservation. For the list of possible - states, see - [DescribeCapacityReservations](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCapacityReservations.html). - """ - instance_type: str | None = ... - """The instance type.""" - group_name: str | None = ... - """The name of the placement group that the Capacity Reservation is in.""" - network_nodes: list[str] | None = ... - """ - The network nodes. The nodes are hashed based on your account. Capacity - Reservations from different accounts running under the same server will - return a different hashed list of strings. - - The value is `null` or empty if: - - - The instance type is not supported. - - - The Capacity Reservation is in a state other than `active` or - `pending`. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone or Local Zone that the Capacity - Reservation is in. - """ - availability_zone: str | None = ... - """ - The name of the Availability Zone or Local Zone that the Capacity - Reservation is in. - """ - -class CapacityReservationType(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - CAPACITY_BLOCK = "capacity-block" - -class CapacityTenancy(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - DEDICATED = "dedicated" - -class CapacityUnit(UnknownEnumMixin, StrEnum): - VCPUS = "vcpus" - INSTANCES = "instances" - -@dataclass(kw_only=True) -class CarrierGateway(_SerdeShape): - """Describes a carrier gateway.""" - - carrier_gateway_id: str | None = ... - """The ID of the carrier gateway.""" - vpc_id: str | None = ... - """The ID of the VPC associated with the carrier gateway.""" - state: str | None = ... - """The state of the carrier gateway.""" - owner_id: str | None = ... - """The Amazon Web Services account ID of the owner of the carrier gateway.""" - tags: list[Tag] | None = ... - """The tags assigned to the carrier gateway.""" - -class CarrierGatewayState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class CertificateAuthentication(_SerdeShape): - """Information about the client certificate used for authentication.""" - - client_root_certificate_chain: str | None = ... - """The ARN of the client certificate.""" - -@dataclass(kw_only=True) -class CertificateAuthenticationRequest(_SerdeShape): - """Information about the client certificate to be used for authentication.""" - - client_root_certificate_chain_arn: str | None = ... - """ - The ARN of the client certificate. The certificate must be signed by a - certificate authority (CA) and it must be provisioned in Certificate - Manager (ACM). - """ - -class ChronologicalOrder(UnknownEnumMixin, StrEnum): - """The chronological order for returning results.""" - - FORWARD = "forward" - REVERSE = "reverse" - -@dataclass(kw_only=True) -class CidrAuthorizationContext(_SerdeShape): - """ - Provides authorization for Amazon to bring a specific IP address range - to a specific Amazon Web Services account using bring your own IP - addresses (BYOIP). For more information, see [Configuring your BYOIP - address - range](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#prepare-for-byoip) - in the *Amazon EC2 User Guide*. - """ - - message: str | None = ... - """The plain-text authorization message for the prefix and account.""" - signature: str | None = ... - """The signed authorization message for the prefix and account.""" - -@dataclass(kw_only=True) -class CidrBlock(_SerdeShape): - """Describes an IPv4 CIDR block.""" - - cidr_block: str | None = ... - """The IPv4 CIDR block.""" - -@dataclass(kw_only=True) -class ClassicLinkDnsSupport(_SerdeShape): - """ - Note: - Deprecated. - - Describes the ClassicLink DNS support status of a VPC. - """ - - classic_link_dns_supported: bool | None = ... - """Indicates whether ClassicLink DNS support is enabled for the VPC.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class ClassicLinkInstance(_SerdeShape): - """ - Note: - Deprecated. - - Describes a linked EC2-Classic instance. - """ - - groups: list[GroupIdentifier] | None = ... - """The security groups.""" - instance_id: str | None = ... - """The ID of the instance.""" - tags: list[Tag] | None = ... - """Any tags assigned to the instance.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class ClassicLoadBalancer(_SerdeShape): - """Describes a Classic Load Balancer.""" - - name: str | None = ... - """The name of the load balancer.""" - -@dataclass(kw_only=True) -class ClassicLoadBalancersConfig(_SerdeShape): - """ - Describes the Classic Load Balancers to attach to a Spot Fleet. Spot - Fleet registers the running Spot Instances with these Classic Load - Balancers. - """ - - classic_load_balancers: list[ClassicLoadBalancer] | None = ... - """One or more Classic Load Balancers.""" - -@dataclass(kw_only=True) -class ClientCertificateRevocationListStatus(_SerdeShape): - """Describes the state of a client certificate revocation list.""" - - code: str | None = ... - """The state of the client certificate revocation list.""" - message: str | None = ... - """ - A message about the status of the client certificate revocation list, if - applicable. - """ - -class ClientCertificateRevocationListStatusCode(UnknownEnumMixin, StrEnum): - PENDING = "pending" - ACTIVE = "active" - -@dataclass(kw_only=True) -class ClientConnectOptions(_SerdeShape): - """ - The options for managing connection authorization for new client - connections. - """ - - enabled: bool | None = ... - """ - Indicates whether client connect options are enabled. The default is - `false` (not enabled). - """ - lambda_function_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda function used for - connection authorization. - """ - -@dataclass(kw_only=True) -class ClientConnectResponseOptions(_SerdeShape): - """ - The options for managing connection authorization for new client - connections. - """ - - enabled: bool | None = ... - """Indicates whether client connect options are enabled.""" - lambda_function_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda function used for - connection authorization. - """ - status: ClientVpnEndpointAttributeStatus | None = ... - """The status of any updates to the client connect options.""" - -@dataclass(kw_only=True) -class ClientData(_SerdeShape): - """Describes the client-specific data.""" - - comment: str | None = ... - """A user-defined comment about the disk upload.""" - upload_end: datetime | None = ... - """The time that the disk upload ends.""" - upload_size: float | None = ... - """The size of the uploaded disk image, in GiB.""" - upload_start: datetime | None = ... - """The time that the disk upload starts.""" - -@dataclass(kw_only=True) -class ClientLoginBannerOptions(_SerdeShape): - """ - Options for enabling a customizable text banner that will be displayed - on Amazon Web Services provided clients when a VPN session is - established. - """ - - enabled: bool | None = ... - """ - Enable or disable a customizable text banner that will be displayed on - Amazon Web Services provided clients when a VPN session is established. - - Valid values: `true | false` - - Default value: `false` - """ - banner_text: str | None = ... - """ - Customizable text that will be displayed in a banner on Amazon Web - Services provided clients when a VPN session is established. UTF-8 - encoded characters only. Maximum of 1400 characters. - """ - -@dataclass(kw_only=True) -class ClientLoginBannerResponseOptions(_SerdeShape): - """ - Current state of options for customizable text banner that will be - displayed on Amazon Web Services provided clients when a VPN session is - established. - """ - - enabled: bool | None = ... - """ - Current state of text banner feature. - - Valid values: `true | false` - """ - banner_text: str | None = ... - """ - Customizable text that will be displayed in a banner on Amazon Web - Services provided clients when a VPN session is established. UTF-8 - encoded characters only. Maximum of 1400 characters. - """ - -@dataclass(kw_only=True) -class ClientRouteEnforcementOptions(_SerdeShape): - """ - Client Route Enforcement is a feature of Client VPN that helps enforce - administrator defined routes on devices connected through the VPN. This - feature helps improve your security posture by ensuring that network - traffic originating from a connected client is not inadvertently sent - outside the VPN tunnel. - - Client Route Enforcement works by monitoring the route table of a - connected device for routing policy changes to the VPN connection. If - the feature detects any VPN routing policy modifications, it will - automatically force an update to the route table, reverting it back to - the expected route configurations. - """ - - enforced: bool | None = ... - """ - Enable or disable Client Route Enforcement. The state can either be - `true` (enabled) or `false` (disabled). The default is `false`. - - Valid values: `true | false` - - Default value: `false` - """ - -@dataclass(kw_only=True) -class ClientRouteEnforcementResponseOptions(_SerdeShape): - """The current status of Client Route Enforcement.""" - - enforced: bool | None = ... - """ - Status of the client route enforcement feature, indicating whether - Client Route Enforcement is `true` (enabled) or `false` (disabled). - - Valid values: `true | false` - - Default value: `false` - """ - -@dataclass(kw_only=True) -class ClientVpnAuthentication(_SerdeShape): - """ - Describes the authentication methods used by a Client VPN endpoint. For - more information, see - [Authentication](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/client-authentication.html) - in the *Client VPN Administrator Guide*. - """ - - type: str | None = ... - """The authentication type used.""" - active_directory: DirectoryServiceAuthentication | None = ... - """Information about the Active Directory, if applicable.""" - mutual_authentication: CertificateAuthentication | None = ... - """Information about the authentication certificates, if applicable.""" - federated_authentication: FederatedAuthentication | None = ... - """Information about the IAM SAML identity provider, if applicable.""" - -@dataclass(kw_only=True) -class ClientVpnAuthenticationRequest(_SerdeShape): - """ - Describes the authentication method to be used by a Client VPN endpoint. - For more information, see - [Authentication](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/authentication-authrization.html#client-authentication) - in the *Client VPN Administrator Guide*. - """ - - type: str | None = ... - """The type of client authentication to be used.""" - active_directory: DirectoryServiceAuthenticationRequest | None = ... - """ - Information about the Active Directory to be used, if applicable. You - must provide this information if **Type** is - `directory-service-authentication`. - """ - mutual_authentication: CertificateAuthenticationRequest | None = ... - """ - Information about the authentication certificates to be used, if - applicable. You must provide this information if **Type** is - `certificate-authentication`. - """ - federated_authentication: FederatedAuthenticationRequest | None = ... - """ - Information about the IAM SAML identity provider to be used, if - applicable. You must provide this information if **Type** is - `federated-authentication`. - """ - -class ClientVpnAuthenticationType(UnknownEnumMixin, StrEnum): - CERTIFICATE_AUTHENTICATION = "certificate-authentication" - DIRECTORY_SERVICE_AUTHENTICATION = "directory-service-authentication" - FEDERATED_AUTHENTICATION = "federated-authentication" - -class ClientVpnAuthorizationPolicyShadowMode(UnknownEnumMixin, StrEnum): - """ - Indicates whether the authorization policy for a Client VPN endpoint is - evaluated in shadow mode. Possible values include: - - - `enabled` - The authorization policy is evaluated and the results are - logged, but access is not enforced. - - - `disabled` - The authorization policy is enforced. - """ - - ENABLED = "enabled" - DISABLED = "disabled" - -class ClientVpnAuthorizationPolicyStatus(UnknownEnumMixin, StrEnum): - """ - Describes the state of an authorization policy for a Client VPN - endpoint. Possible states include: - - - `creating` - The authorization policy is being created. - - - `updating` - The authorization policy is being updated. - - - `active` - The authorization policy has been applied to the Client VPN - endpoint. - - - `failed` - The authorization policy could not be applied to the Client - VPN endpoint. - - - `deleting` - The authorization policy is being deleted. - """ - - CREATING = "creating" - UPDATING = "updating" - ACTIVE = "active" - FAILED = "failed" - DELETING = "deleting" - -@dataclass(kw_only=True) -class ClientVpnAuthorizationRuleStatus(_SerdeShape): - """Describes the state of an authorization rule.""" - - code: str | None = ... - """The state of the authorization rule.""" - message: str | None = ... - """A message about the status of the authorization rule, if applicable.""" - -class ClientVpnAuthorizationRuleStatusCode(UnknownEnumMixin, StrEnum): - AUTHORIZING = "authorizing" - ACTIVE = "active" - FAILED = "failed" - REVOKING = "revoking" - -@dataclass(kw_only=True) -class ClientVpnConnection(_SerdeShape): - """Describes a client connection.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint to which the client is connected.""" - timestamp: str | None = ... - """The current date and time.""" - connection_id: str | None = ... - """The ID of the client connection.""" - username: str | None = ... - """ - The username of the client who established the client connection. This - information is only provided if Active Directory client authentication - is used. - """ - connection_established_time: str | None = ... - """The date and time the client connection was established.""" - ingress_bytes: str | None = ... - """The number of bytes sent by the client.""" - egress_bytes: str | None = ... - """The number of bytes received by the client.""" - ingress_packets: str | None = ... - """The number of packets sent by the client.""" - egress_packets: str | None = ... - """The number of packets received by the client.""" - client_ip: str | None = ... - """The IP address of the client.""" - client_ipv6_address: str | None = ... - """ - The IPv6 address assigned to the client connection when using a - dual-stack Client VPN endpoint. This field is only populated when the - endpoint is configured for dual-stack addressing, and the client is - using IPv6 for connectivity. - """ - common_name: str | None = ... - """ - The common name associated with the client. This is either the name of - the client certificate, or the Active Directory user name. - """ - status: ClientVpnConnectionStatus | None = ... - """The current state of the client connection.""" - connection_end_time: str | None = ... - """The date and time the client connection was terminated.""" - posture_compliance_statuses: list[str] | None = ... - """ - The statuses returned by the client connect handler for posture - compliance, if applicable. - """ - authorization_policy_last_evaluated_time: str | None = ... - """ - The date and time the authorization policy was last evaluated for the - client connection, if applicable. - """ - -@dataclass(kw_only=True) -class ClientVpnConnectionStatus(_SerdeShape): - """Describes the status of a client connection.""" - - code: str | None = ... - """The state of the client connection.""" - message: str | None = ... - """A message about the status of the client connection, if applicable.""" - -class ClientVpnConnectionStatusCode(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - FAILED_TO_TERMINATE = "failed-to-terminate" - TERMINATING = "terminating" - TERMINATED = "terminated" - -class ClientVpnDeviceTrustProviderType(UnknownEnumMixin, StrEnum): - CROWDSTRIKE = "crowdstrike" - JAMF = "jamf" - JUMPCLOUD = "jumpcloud" - -@dataclass(kw_only=True) -class ClientVpnEndpoint(_SerdeShape): - """Describes a Client VPN endpoint.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - description: str | None = ... - """A brief description of the endpoint.""" - status: ClientVpnEndpointStatus | None = ... - """The current state of the Client VPN endpoint.""" - creation_time: str | None = ... - """The date and time the Client VPN endpoint was created.""" - deletion_time: str | None = ... - """The date and time the Client VPN endpoint was deleted, if applicable.""" - dns_name: str | None = ... - """ - The DNS name to be used by clients when connecting to the Client VPN - endpoint. - """ - client_cidr_block: str | None = ... - """ - The IPv4 address range, in CIDR notation, from which client IP addresses - are assigned. - """ - dns_servers: list[str] | None = ... - """Information about the DNS servers to be used for DNS resolution.""" - split_tunnel: bool | None = ... - """ - Indicates whether split-tunnel is enabled in the Client VPN endpoint. - - For information about split-tunnel VPN endpoints, see [Split-Tunnel - Client VPN - endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) - in the *Client VPN Administrator Guide*. - """ - vpn_protocol: str | None = ... - """The protocol used by the VPN session.""" - transport_protocol: str | None = ... - """The transport protocol used by the Client VPN endpoint.""" - vpn_port: int | None = ... - """The port number for the Client VPN endpoint.""" - associated_target_networks: list[AssociatedTargetNetwork] | None = ... - """ - Information about the associated target networks. A target network is a - subnet in a VPC. - """ - server_certificate_arn: str | None = ... - """The ARN of the server certificate.""" - authentication_options: list[ClientVpnAuthentication] | None = ... - """ - Information about the authentication method used by the Client VPN - endpoint. - """ - connection_log_options: ConnectionLogResponseOptions | None = ... - """ - Information about the client connection logging options for the Client - VPN endpoint. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the Client VPN endpoint.""" - security_group_ids: list[str] | None = ... - """The IDs of the security groups for the target network.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - self_service_portal_url: str | None = ... - """The URL of the self-service portal.""" - client_connect_options: ClientConnectResponseOptions | None = ... - """ - The options for managing connection authorization for new client - connections. - """ - session_timeout_hours: int | None = ... - """ - The maximum VPN session duration time in hours. - - Valid values: `8 | 10 | 12 | 24` - - Default value: `24` - """ - client_login_banner_options: ClientLoginBannerResponseOptions | None = ... - """ - Options for enabling a customizable text banner that will be displayed - on Amazon Web Services provided clients when a VPN session is - established. - """ - client_route_enforcement_options: ClientRouteEnforcementResponseOptions | None = ... - """ - Client route enforcement is a feature of the Client VPN service that - helps enforce administrator defined routes on devices connected through - the VPN. T his feature helps improve your security posture by ensuring - that network traffic originating from a connected client is not - inadvertently sent outside the VPN tunnel. - - Client route enforcement works by monitoring the route table of a - connected device for routing policy changes to the VPN connection. If - the feature detects any VPN routing policy modifications, it will - automatically force an update to the route table, reverting it back to - the expected route configurations. - """ - disconnect_on_session_timeout: bool | None = ... - """ - Indicates whether the client VPN session is disconnected after the - maximum `sessionTimeoutHours` is reached. If `true`, users are prompted - to reconnect client VPN. If `false`, client VPN attempts to reconnect - automatically. The default value is `true`. - """ - endpoint_ip_address_type: str | None = ... - """ - The IP address type of the Client VPN endpoint. Possible values are - `ipv4` for IPv4 addressing only, `ipv6` for IPv6 addressing only, or - `dual-stack `for both IPv4 and IPv6 addressing. - """ - traffic_ip_address_type: str | None = ... - """ - The IP address type of the Client VPN endpoint. Possible values are - either `ipv4` for IPv4 addressing only, `ipv6` for IPv6 addressing only, - or `dual-stack` for both IPv4 and IPv6 addressing. - """ - transit_gateway_configuration: ( - TransitGatewayConfigurationDescribeEndpointStructure | None - ) = ... - """The Transit Gateway configuration for the Client VPN endpoint.""" - device_posture_options: DevicePostureResponseOptions | None = ... - """ - The device trust providers configured for the Client VPN endpoint, if - applicable. - """ - -@dataclass(kw_only=True) -class ClientVpnEndpointAttributeStatus(_SerdeShape): - """Describes the status of the Client VPN endpoint attribute.""" - - code: str | None = ... - """The status code.""" - message: str | None = ... - """The status message.""" - -class ClientVpnEndpointAttributeStatusCode(UnknownEnumMixin, StrEnum): - APPLYING = "applying" - APPLIED = "applied" - -@dataclass(kw_only=True) -class ClientVpnEndpointStatus(_SerdeShape): - """Describes the state of a Client VPN endpoint.""" - - code: str | None = ... - """ - The state of the Client VPN endpoint. Possible states include: - - - `pending-associate` - The Client VPN endpoint has been created but no - target networks have been associated. The Client VPN endpoint cannot - accept connections. - - - `available` - The Client VPN endpoint has been created and a target - network has been associated. The Client VPN endpoint can accept - connections. - - - `deleting` - The Client VPN endpoint is being deleted. The Client VPN - endpoint cannot accept connections. - - - `deleted` - The Client VPN endpoint has been deleted. The Client VPN - endpoint cannot accept connections. - - - `pending` - The Client VPN endpoint has been created with a Transit - Gateway configuration and is waiting for the Transit Gateway - attachment to be accepted. The Client VPN endpoint cannot accept - connections. - """ - message: str | None = ... - """A message about the status of the Client VPN endpoint.""" - -class ClientVpnEndpointStatusCode(UnknownEnumMixin, StrEnum): - PENDING_ASSOCIATE = "pending-associate" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - PENDING = "pending" - -@dataclass(kw_only=True) -class ClientVpnRoute(_SerdeShape): - """Information about a Client VPN endpoint route.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint with which the route is associated.""" - destination_cidr: str | None = ... - """The IPv4 address range, in CIDR notation, of the route destination.""" - target_subnet: str | None = ... - """The ID of the subnet through which traffic is routed.""" - type: str | None = ... - """The route type.""" - origin: str | None = ... - """ - Indicates how the route was associated with the Client VPN endpoint. - `associate` indicates that the route was automatically added when the - target network was associated with the Client VPN endpoint. `add-route` - indicates that the route was manually added using the - **CreateClientVpnRoute** action. - """ - status: ClientVpnRouteStatus | None = ... - """The current state of the route.""" - description: str | None = ... - """A brief description of the route.""" - transit_gateway_attachment_id: str | None = ... - """ - The ID of the Transit Gateway attachment, if the route targets a Transit - Gateway. - """ - -@dataclass(kw_only=True) -class ClientVpnRouteStatus(_SerdeShape): - """Describes the state of a Client VPN endpoint route.""" - - code: str | None = ... - """The state of the Client VPN endpoint route.""" - message: str | None = ... - """ - A message about the status of the Client VPN endpoint route, if - applicable. - """ - -class ClientVpnRouteStatusCode(UnknownEnumMixin, StrEnum): - CREATING = "creating" - ACTIVE = "active" - FAILED = "failed" - DELETING = "deleting" - -@dataclass(kw_only=True) -class ClientVpnTrustProvider(_SerdeShape): - """ - Information about a device trust provider configured for a Client VPN - endpoint. - """ - - trust_provider_type: str | None = ... - """ - The type of the device trust provider. Possible values include: - - - `crowdstrike` - CrowdStrike device trust provider. - - - `jamf` - Jamf device trust provider. - - - `jumpcloud` - JumpCloud device trust provider. - """ - tenant_id: str | None = ... - """The tenant ID associated with your device trust provider account.""" - public_signing_key_url: str | None = ... - """ - The URL of the public signing key that is used to verify the identity - token issued by the device trust provider. - """ - -@dataclass(kw_only=True) -class ClientVpnTrustProviderRequest(_SerdeShape): - """ - Describes a device trust provider to configure for a Client VPN - endpoint. - """ - - trust_provider_type: str | None = ... - """ - The type of the device trust provider. Possible values include: - - - `crowdstrike` - CrowdStrike device trust provider. - - - `jamf` - Jamf device trust provider. - - - `jumpcloud` - JumpCloud device trust provider. - """ - tenant_id: str | None = ... - """The tenant ID associated with your device trust provider account.""" - public_signing_key_url: str | None = ... - """ - The URL of the public signing key that is used to verify the identity - token issued by the device trust provider. - """ - -@dataclass(kw_only=True) -class CloudWatchLogOptions(_SerdeShape): - """Options for sending VPN tunnel logs to CloudWatch.""" - - log_enabled: bool | None = ... - """ - Status of VPN tunnel logging feature. Default value is `False`. - - Valid values: `True` | `False` - """ - log_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudWatch log group to send logs - to. - """ - log_output_format: str | None = ... - """ - Configured log format. Default format is `json`. - - Valid values: `json` | `text` - """ - bgp_log_enabled: bool | None = ... - """ - Indicates whether Border Gateway Protocol (BGP) logging is enabled for - the VPN connection. Default value is `False`. - - Valid values: `True` | `False` - """ - bgp_log_group_arn: str | None = ... - """The Amazon Resource Name (ARN) of the CloudWatch log group for BGP logs.""" - bgp_log_output_format: str | None = ... - """ - The output format for BGP logs sent to CloudWatch. Default format is - `json`. - - Valid values: `json` | `text` - """ - -@dataclass(kw_only=True) -class CloudWatchLogOptionsSpecification(_SerdeShape): - """Options for sending VPN tunnel logs to CloudWatch.""" - - log_enabled: bool | None = ... - """ - Enable or disable VPN tunnel logging feature. Default value is `False`. - - Valid values: `True` | `False` - """ - log_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudWatch log group to send logs - to. - """ - log_output_format: str | None = ... - """ - Set log format. Default format is `json`. - - Valid values: `json` | `text` - """ - bgp_log_enabled: bool | None = ... - """ - Specifies whether to enable BGP logging for the VPN connection. Default - value is `False`. - - Valid values: `True` | `False` - """ - bgp_log_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the CloudWatch log group where BGP - logs will be sent. - """ - bgp_log_output_format: str | None = ... - """ - The desired output format for BGP logs to be sent to CloudWatch. Default - format is `json`. - - Valid values: `json` | `text` - """ - -@dataclass(kw_only=True) -class CoipAddressUsage(_SerdeShape): - """Describes address usage for a customer-owned address pool.""" - - allocation_id: str | None = ... - """The allocation ID of the address.""" - aws_account_id: str | None = ... - """The Amazon Web Services account ID.""" - aws_service: str | None = ... - """The Amazon Web Services service.""" - co_ip: str | None = ... - """The customer-owned IP address.""" - -@dataclass(kw_only=True) -class CoipCidr(_SerdeShape): - """Information about a customer-owned IP address range.""" - - cidr: str | None = ... - """An address range in a customer-owned IP address space.""" - coip_pool_id: str | None = ... - """The ID of the address pool.""" - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - -@dataclass(kw_only=True) -class CoipPool(_SerdeShape): - """Describes a customer-owned address pool.""" - - pool_id: str | None = ... - """The ID of the address pool.""" - pool_cidrs: list[str] | None = ... - """The address ranges of the address pool.""" - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - tags: list[Tag] | None = ... - """The tags.""" - pool_arn: str | None = ... - """The ARN of the address pool.""" - -class Comparison(UnknownEnumMixin, StrEnum): - EQUALS = "equals" - IN_ = "in" - -@dataclass(kw_only=True) -class ConfirmProductInstanceInput(_SerdeShape): - """Dataclass for ConfirmProductInstanceInput structure.""" - - instance_id: str | None = ... - """The ID of the instance.""" - product_code: str | None = ... - """The product code. This must be a product code that you own.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ConfirmProductInstanceOutput(_SerdeShape): - """Dataclass for ConfirmProductInstanceOutput structure.""" - - return_: bool | None = ... - """ - The return value of the request. Returns `true` if the specified product - code is owned by the requester and associated with the specified - instance. - """ - owner_id: str | None = ... - """ - The Amazon Web Services account ID of the instance owner. This is only - present if the product code is attached to the instance. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ConnectionLogOptions(_SerdeShape): - """ - Describes the client connection logging options for the Client VPN - endpoint. - """ - - enabled: bool | None = ... - """Indicates whether connection logging is enabled.""" - cloudwatch_log_group: str | None = ... - """ - The name of the CloudWatch Logs log group. Required if connection - logging is enabled. - """ - cloudwatch_log_stream: str | None = ... - """ - The name of the CloudWatch Logs log stream to which the connection data - is published. - """ - include_authorization_policy_context: bool | None = ... - """ - Specifies whether to include the authorization policy evaluation context - in the connection logs for the Client VPN endpoint. - """ - -@dataclass(kw_only=True) -class ConnectionLogResponseOptions(_SerdeShape): - """ - Information about the client connection logging options for a Client VPN - endpoint. - """ - - enabled: bool | None = ... - """ - Indicates whether client connection logging is enabled for the Client - VPN endpoint. - """ - cloudwatch_log_group: str | None = ... - """ - The name of the Amazon CloudWatch Logs log group to which connection - logging data is published. - """ - cloudwatch_log_stream: str | None = ... - """ - The name of the Amazon CloudWatch Logs log stream to which connection - logging data is published. - """ - include_authorization_policy_context: bool | None = ... - """ - Specifies whether the authorization policy evaluation context is - included in the connection logs for the Client VPN endpoint. - """ - -@dataclass(kw_only=True) -class ConnectionNotification(_SerdeShape): - """ - Describes a connection notification for a VPC endpoint or VPC endpoint - service. - """ - - connection_notification_id: str | None = ... - """The ID of the notification.""" - service_id: str | None = ... - """The ID of the endpoint service.""" - vpc_endpoint_id: str | None = ... - """The ID of the VPC endpoint.""" - connection_notification_type: str | None = ... - """The type of notification.""" - connection_notification_arn: str | None = ... - """The ARN of the SNS topic for the notification.""" - connection_events: list[str] | None = ... - """ - The events for the notification. Valid values are `Accept`, `Connect`, - `Delete`, and `Reject`. - """ - connection_notification_state: str | None = ... - """The state of the notification.""" - service_region: str | None = ... - """The Region for the endpoint service.""" - -class ConnectionNotificationState(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -class ConnectionNotificationType(UnknownEnumMixin, StrEnum): - TOPIC = "Topic" - -@dataclass(kw_only=True) -class ConnectionTrackingConfiguration(_SerdeShape): - """ - A security group connection tracking configuration that enables you to - set the idle timeout for connection tracking on an Elastic network - interface. For more information, see [Connection tracking - timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the *Amazon EC2 User Guide*. - """ - - tcp_established_timeout: int | None = ... - """ - Timeout (in seconds) for idle TCP connections in an established state. - Min: 60 seconds. Max: 432000 seconds (5 days). Default: 350 seconds for - Nitro v6 instance types (excluding P6e-GB200); 432000 seconds for all - other instance types (including P6e-GB200). Recommended: Less than - 432000 seconds. - """ - udp_stream_timeout: int | None = ... - """ - Timeout (in seconds) for idle UDP flows classified as streams which have - seen more than one request-response transaction. Min: 60 seconds. Max: - 180 seconds (3 minutes). Default: 180 seconds. - """ - udp_timeout: int | None = ... - """ - Timeout (in seconds) for idle UDP flows that have seen traffic only in a - single direction or a single request-response transaction. Min: 30 - seconds. Max: 60 seconds. Default: 30 seconds. - """ - -@dataclass(kw_only=True) -class ConnectionTrackingSpecification(_SerdeShape): - """ - A security group connection tracking specification that enables you to - set the idle timeout for connection tracking on an Elastic network - interface. For more information, see [Connection tracking - timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the *Amazon EC2 User Guide*. - """ - - tcp_established_timeout: int | None = ... - """ - Timeout (in seconds) for idle TCP connections in an established state. - Min: 60 seconds. Max: 432000 seconds (5 days). Default: 350 seconds for - Nitro v6 instance types (excluding P6e-GB200); 432000 seconds for all - other instance types (including P6e-GB200). Recommended: Less than - 432000 seconds. - """ - udp_timeout: int | None = ... - """ - Timeout (in seconds) for idle UDP flows that have seen traffic only in a - single direction or a single request-response transaction. Min: 30 - seconds. Max: 60 seconds. Default: 30 seconds. - """ - udp_stream_timeout: int | None = ... - """ - Timeout (in seconds) for idle UDP flows classified as streams which have - seen more than one request-response transaction. Min: 60 seconds. Max: - 180 seconds (3 minutes). Default: 180 seconds. - """ - -@dataclass(kw_only=True) -class ConnectionTrackingSpecificationRequest(_SerdeShape): - """ - A security group connection tracking specification request that enables - you to set the idle timeout for connection tracking on an Elastic - network interface. For more information, see [Connection tracking - timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the *Amazon EC2 User Guide*. - """ - - tcp_established_timeout: int | None = ... - """ - Timeout (in seconds) for idle TCP connections in an established state. - Min: 60 seconds. Max: 432000 seconds (5 days). Default: 350 seconds for - Nitro v6 instance types (excluding P6e-GB200); 432000 seconds for all - other instance types (including P6e-GB200). Recommended: Less than - 432000 seconds. - """ - udp_stream_timeout: int | None = ... - """ - Timeout (in seconds) for idle UDP flows classified as streams which have - seen more than one request-response transaction. Min: 60 seconds. Max: - 180 seconds (3 minutes). Default: 180 seconds. - """ - udp_timeout: int | None = ... - """ - Timeout (in seconds) for idle UDP flows that have seen traffic only in a - single direction or a single request-response transaction. Min: 30 - seconds. Max: 60 seconds. Default: 30 seconds. - """ - -@dataclass(kw_only=True) -class ConnectionTrackingSpecificationResponse(_SerdeShape): - """ - A security group connection tracking specification response that enables - you to set the idle timeout for connection tracking on an Elastic - network interface. For more information, see [Connection tracking - timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the *Amazon EC2 User Guide*. - """ - - tcp_established_timeout: int | None = ... - """ - Timeout (in seconds) for idle TCP connections in an established state. - Min: 60 seconds. Max: 432000 seconds (5 days). Default: 350 seconds for - Nitro v6 instance types (excluding P6e-GB200); 432000 seconds for all - other instance types (including P6e-GB200). Recommended: Less than - 432000 seconds. - """ - udp_stream_timeout: int | None = ... - """ - Timeout (in seconds) for idle UDP flows classified as streams which have - seen more than one request-response transaction. Min: 60 seconds. Max: - 180 seconds (3 minutes). Default: 180 seconds. - """ - udp_timeout: int | None = ... - """ - Timeout (in seconds) for idle UDP flows that have seen traffic only in a - single direction or a single request-response transaction. Min: 30 - seconds. Max: 60 seconds. Default: 30 seconds. - """ - -class ConnectivityType(UnknownEnumMixin, StrEnum): - PRIVATE = "private" - PUBLIC = "public" - -class ContainerFormat(UnknownEnumMixin, StrEnum): - OVA = "ova" - -@dataclass(kw_only=True) -class ConversionTask(_SerdeShape): - """Describes a conversion task.""" - - conversion_task_id: str | None = ... - """The ID of the conversion task.""" - expiration_time: str | None = ... - """ - The time when the task expires. If the upload isn't complete before the - expiration time, we automatically cancel the task. - """ - import_instance: ImportInstanceTaskDetails | None = ... - """ - If the task is for importing an instance, this contains information - about the import instance task. - """ - import_volume: ImportVolumeTaskDetails | None = ... - """ - If the task is for importing a volume, this contains information about - the import volume task. - """ - state: str | None = ... - """The state of the conversion task.""" - status_message: str | None = ... - """The status message related to the conversion task.""" - tags: list[Tag] | None = ... - """Any tags assigned to the task.""" - -class ConversionTaskState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - CANCELLING = "cancelling" - CANCELLED = "cancelled" - COMPLETED = "completed" - -@dataclass(kw_only=True) -class CopyFpgaImageInput(_SerdeShape): - """Dataclass for CopyFpgaImageInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - source_fpga_image_id: str | None = ... - """The ID of the source AFI.""" - description: str | None = ... - """The description for the new AFI.""" - name: str | None = ... - """The name for the new AFI. The default is the name of the source AFI.""" - source_region: str | None = ... - """The Region that contains the source AFI.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class CopyFpgaImageOutput(_SerdeShape): - """Dataclass for CopyFpgaImageOutput structure.""" - - fpga_image_id: str | None = ... - """The ID of the new AFI.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CopyImageInput(_SerdeShape): - """Contains the parameters for CopyImage.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier you provide to ensure idempotency of - the request. For more information, see [Ensuring idempotency in Amazon - EC2 API - requests](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) - in the *Amazon EC2 API Reference*. - """ - description: str | None = ... - """A description for the new AMI.""" - encrypted: bool | None = ... - """ - Specifies whether to encrypt the snapshots of the copied image. - - You can encrypt a copy of an unencrypted snapshot, but you cannot create - an unencrypted copy of an encrypted snapshot. The default KMS key for - Amazon EBS is used unless you specify a non-default Key Management - Service (KMS) KMS key using `KmsKeyId`. For more information, see [Use - encryption with EBS-backed - AMIs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html) - in the *Amazon EC2 User Guide*. - """ - kms_key_id: str | None = ... - """ - The identifier of the symmetric Key Management Service (KMS) KMS key to - use when creating encrypted volumes. If this parameter is not specified, - your Amazon Web Services managed KMS key for Amazon EBS is used. If you - specify a KMS key, you must also set the encrypted state to `true`. - - You can specify a KMS key using any of the following: - - - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. - - - Key alias. For example, alias/ExampleAlias. - - - Key ARN. For example, - arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. - - - Alias ARN. For example, - arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. - - Amazon Web Services authenticates the KMS key asynchronously. Therefore, - if you specify an identifier that is not valid, the action can appear to - complete, but eventually fails. - - The specified KMS key must exist in the destination Region. - - Amazon EBS does not support asymmetric KMS keys. - """ - name: str | None = ... - """The name of the new AMI.""" - source_image_id: str | None = ... - """The ID of the AMI to copy.""" - source_region: str | None = ... - """The name of the Region that contains the AMI to copy.""" - destination_outpost_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Outpost for the new AMI. - - Only specify this parameter when copying an AMI from an Amazon Web - Services Region to an Outpost. The AMI must be in the Region of the - destination Outpost. You can't copy an AMI from an Outpost to a Region, - from one Outpost to another, or within the same Outpost. - - For more information, see [Copy AMIs from an Amazon Web Services Region - to an - Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis) - in the *Amazon EBS User Guide*. - - Only one of `DestinationAvailabilityZone`, - `DestinationAvailabilityZoneId`, or `DestinationOutpostArn` can be - specified. - """ - copy_image_tags: bool | None = ... - """ - Specifies whether to copy your user-defined AMI tags to the new AMI. - - The following tags are not be copied: - - - System tags (prefixed with `aws:`) - - - For public and shared AMIs, user-defined tags that are attached by - other Amazon Web Services accounts, except tags with the - `ec2:SharedTag/` prefix. For more information about tag sharing, see - [Sharing - tags](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#sharing-tags) - in the *Amazon EC2 User Guide*. - - Default: Your user-defined AMI tags are not copied. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the new AMI and new snapshots. You can tag the AMI, - the snapshots, or both. - - - To tag the new AMI, the value for `ResourceType` must be `image`. - - - To tag the new snapshots, the value for `ResourceType` must be - `snapshot`. The same tag is applied to all the new snapshots. - - If you specify other values for `ResourceType`, the request fails. - - To tag an AMI or snapshot after it has been created, see - [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). - """ - snapshot_copy_completion_duration_minutes: int | None = ... - """ - Specify a completion duration, in 15 minute increments, to initiate a - time-based AMI copy. The specified completion duration applies to each - of the snapshots associated with the AMI. Each snapshot associated with - the AMI will be completed within the specified completion duration, with - copy throughput automatically adjusted for each snapshot based on its - size to meet the timing target. - - If you do not specify a value, the AMI copy operation is completed on a - best-effort basis. - - Note: - This parameter is not supported when copying an AMI to or from a Local - Zone, or to an Outpost. - - For more information, see [Time-based copies for Amazon EBS snapshots - and EBS-backed - AMIs](https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html). - """ - destination_availability_zone: str | None = ... - """ - The Local Zone for the new AMI (for example, `cn-north-1-pkx-1a`). - - Only one of `DestinationAvailabilityZone`, - `DestinationAvailabilityZoneId`, or `DestinationOutpostArn` can be - specified. - """ - destination_availability_zone_id: str | None = ... - """ - The ID of the Local Zone for the new AMI (for example, `cnn1-pkx1-az1`). - - Only one of `DestinationAvailabilityZone`, - `DestinationAvailabilityZoneId`, or `DestinationOutpostArn` can be - specified. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CopyImageOutput(_SerdeShape): - """Contains the output of CopyImage.""" - - image_id: str | None = ... - """The ID of the new AMI.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CopySnapshotInput(_SerdeShape): - """Dataclass for CopySnapshotInput structure.""" - - description: str | None = ... - """A description for the EBS snapshot.""" - destination_outpost_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Outpost to which to copy the - snapshot. - - Note: - Only supported when copying a snapshot to an Outpost. - - For more information, see [Copy snapshots from an Amazon Web Services - Region to an - Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-snapshots) - in the *Amazon EBS User Guide*. - """ - destination_region: str | None = ... - """ - The destination Region to use in the `PresignedUrl` parameter of a - snapshot copy operation. This parameter is only valid for specifying the - destination Region in a `PresignedUrl` parameter, where it is required. - - The snapshot copy is sent to the regional endpoint that you sent the - HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the - CLI, this is specified using the `--region` parameter or the default - Region in your Amazon Web Services configuration file. - """ - encrypted: bool | None = ... - """ - To encrypt a copy of an unencrypted snapshot if encryption by default is - not enabled, enable encryption using this parameter. Otherwise, omit - this parameter. Copies of encrypted snapshots are encrypted, even if you - omit this parameter and encryption by default is not enabled. You cannot - set this parameter to false. For more information, see [Amazon EBS - encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html) - in the *Amazon EBS User Guide*. - """ - kms_key_id: str | None = ... - """ - The identifier of the KMS key to use for Amazon EBS encryption. If this - parameter is not specified, your KMS key for Amazon EBS is used. If - `KmsKeyId` is specified, the encrypted state must be `true`. - - You can specify the KMS key using any of the following: - - - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. - - - Key alias. For example, alias/ExampleAlias. - - - Key ARN. For example, - arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. - - - Alias ARN. For example, - arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. - - Amazon Web Services authenticates the KMS key asynchronously. Therefore, - if you specify an ID, alias, or ARN that is not valid, the action can - appear to complete, but eventually fails. - """ - presigned_url: str | None = ... - """ - When you copy an encrypted source snapshot using the Amazon EC2 Query - API, you must supply a pre-signed URL. This parameter is optional for - unencrypted snapshots. For more information, see [Query - requests](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html). - - The `PresignedUrl` should use the snapshot source endpoint, the - `CopySnapshot` action, and include the `SourceRegion`, - `SourceSnapshotId`, and `DestinationRegion` parameters. The - `PresignedUrl` must be signed using Amazon Web Services Signature - Version 4. Because EBS snapshots are stored in Amazon S3, the signing - algorithm for this parameter uses the same logic that is described in - [Authenticating Requests: Using Query Parameters (Amazon Web Services - Signature Version - 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) - in the *Amazon S3 API Reference*. An invalid or improperly signed - `PresignedUrl` will cause the copy operation to fail asynchronously, and - the snapshot will move to an `error` state. - """ - source_region: str | None = ... - """The ID of the Region that contains the snapshot to be copied.""" - source_snapshot_id: str | None = ... - """The ID of the EBS snapshot to copy.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the new snapshot.""" - completion_duration_minutes: int | None = ... - """ - Note: - Not supported when copying snapshots to or from Local Zones or Outposts. - - Specify a completion duration, in 15 minute increments, to initiate a - time-based snapshot copy. Time-based snapshot copy operations complete - within the specified duration. For more information, see [Time-based - copies](https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html). - - If you do not specify a value, the snapshot copy operation is completed - on a best-effort basis. - """ - destination_availability_zone: str | None = ... - """ - The Local Zone, for example, `cn-north-1-pkx-1a` to which to copy the - snapshot. - - Note: - Only supported when copying a snapshot to a Local Zone. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CopySnapshotOutput(_SerdeShape): - """Dataclass for CopySnapshotOutput structure.""" - - tags: list[Tag] | None = ... - """Any tags applied to the new snapshot.""" - snapshot_id: str | None = ... - """The ID of the new snapshot.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CopyTagsFromSource(UnknownEnumMixin, StrEnum): - VOLUME = "volume" - -@dataclass(kw_only=True) -class CopyVolumesInput(_SerdeShape): - """Dataclass for CopyVolumesInput structure.""" - - source_volume_id: str | None = ... - """The ID of the source EBS volume to copy.""" - iops: int | None = ... - """ - The number of I/O operations per second (IOPS) to provision for the - volume copy. Required for `io1` and `io2` volumes. Optional for `gp3` - volumes. Omit for all other volume types. Full provisioned IOPS - performance can be achieved only once the volume copy is fully - initialized. - - Valid ranges: - - - gp3: `3,000 `(*default*)` - 80,000` IOPS - - - io1: `100 - 64,000` IOPS - - - io2: `100 - 256,000` IOPS - - Note: - [Instances built on the Nitro - System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) - can support up to 256,000 IOPS. Other instances can support up to 32,000 - IOPS. - """ - size: int | None = ... - """ - The size of the volume copy, in GiBs. The size must be equal to or - greater than the size of the source volume. If not specified, the size - defaults to the size of the source volume. - - Maximum supported sizes: - - - gp2: `16,384` GiB - - - gp3: `65,536` GiB - - - io1: `16,384` GiB - - - io2: `65,536` GiB - - - st1 and sc1: `16,384` GiB - - - standard: `1024` GiB - """ - volume_type: str | None = ... - """ - The volume type for the volume copy. If not specified, the volume type - defaults to `gp2`. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the volume copy during creation.""" - multi_attach_enabled: bool | None = ... - """ - Indicates whether to enable Amazon EBS Multi-Attach for the volume copy. - If you enable Multi-Attach, you can attach the volume to up to 16 Nitro - instances in the same Availability Zone simultaneously. Supported with - `io1` and `io2` volumes only. For more information, see [Amazon EBS - Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html). - """ - throughput: int | None = ... - """ - The throughput to provision for the volume copy, in MiB/s. Supported for - `gp3` volumes only. Omit for all other volume types. Full provisioned - throughput performance can be achieved only once the volume copy is - fully initialized. - - Valid Range: `125 - 2000` MiB/s - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - encrypted: bool | None = ... - """ - Indicates whether to encrypt the volume copy. If the source volume is - encrypted, the service always encrypts the copy regardless of this - value. Set to `true` to encrypt a copy of an unencrypted source volume - during the copy operation. If you set `Encrypted` to `true` but do not - specify `KmsKeyId`, the service uses the default KMS key for EBS - encryption in your account. - """ - kms_key_id: str | None = ... - """ - The identifier of the KMS key to use for encryption of the volume copy. - Specify a symmetric encryption KMS key. You can specify a KMS key using - the key ID, key ARN, alias name, or alias ARN. If you set `Encrypted` to - `true` but do not specify this parameter, the service uses the default - KMS key for EBS encryption in your account. For cross-account volume - copies, this must be a KMS key in the calling account. - """ - -@dataclass(kw_only=True) -class CopyVolumesOutput(_SerdeShape): - """Dataclass for CopyVolumesOutput structure.""" - - volumes: list[Volume] | None = ... - """Information about the volume copy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CpuManufacturer(UnknownEnumMixin, StrEnum): - INTEL = "intel" - AMD = "amd" - AMAZON_WEB_SERVICES = "amazon-web-services" - APPLE = "apple" - -@dataclass(kw_only=True) -class CpuOptions(_SerdeShape): - """The CPU options for the instance.""" - - core_count: int | None = ... - """The number of CPU cores for the instance.""" - threads_per_core: int | None = ... - """The number of threads per CPU core.""" - amd_sev_snp: str | None = ... - """ - Indicates whether the instance is enabled for AMD SEV-SNP. For more - information, see [AMD - SEV-SNP](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). - """ - nested_virtualization: str | None = ... - """Indicates whether the instance is enabled for nested virtualization.""" - -@dataclass(kw_only=True) -class CpuOptionsRequest(_SerdeShape): - """ - The CPU options for the instance. Both the core count and threads per - core must be specified in the request. - """ - - core_count: int | None = ... - """The number of CPU cores for the instance.""" - threads_per_core: int | None = ... - """ - The number of threads per CPU core. To disable multithreading for the - instance, specify a value of `1`. Otherwise, specify the default value - of `2`. - """ - amd_sev_snp: str | None = ... - """ - Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is - supported with M6a, R6a, and C6a instance types only. For more - information, see [AMD - SEV-SNP](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). - """ - nested_virtualization: str | None = ... - """ - Indicates whether to enable the instance for nested virtualization. - Nested virtualization is supported only on 8th generation Intel-based - instance types (c8i, m8i, r8i, and their flex variants). When nested - virtualization is enabled, Virtual Secure Mode (VSM) is automatically - disabled for the instance. - """ - -@dataclass(kw_only=True) -class CpuPerformanceFactor(_SerdeShape): - """ - The CPU performance to consider, using an instance family as the - baseline reference. - """ - - references: list[PerformanceFactorReference] | None = ... - """ - Specify an instance family to use as the baseline reference for CPU - performance. All instance types that match your specified attributes - will be compared against the CPU performance of the referenced instance - family, regardless of CPU manufacturer or architecture differences. - - Note: - Currently, only one instance family can be specified in the list. - """ - -@dataclass(kw_only=True) -class CpuPerformanceFactorRequest(_SerdeShape): - """ - The CPU performance to consider, using an instance family as the - baseline reference. - """ - - references: list[PerformanceFactorReferenceRequest] | None = ... - """ - Specify an instance family to use as the baseline reference for CPU - performance. All instance types that match your specified attributes - will be compared against the CPU performance of the referenced instance - family, regardless of CPU manufacturer or architecture differences. - - Note: - Currently, only one instance family can be specified in the list. - """ - -@dataclass(kw_only=True) -class CreateApplicationStatusCheckInput(_SerdeShape): - """Dataclass for CreateApplicationStatusCheckInput structure.""" - - health_check_paths: list[HealthCheckPathRequestObject] | None = ... - """ - The health check paths to use for the application status check. Health - check paths define the network path from a source subnet to one or more - destination subnets for cross-Availability Zone or Availability Zone to - Local Zone health checking. If omitted, health checks are performed in - the same subnet as the instance. - """ - aggregation: str | None = ... - """ - The aggregation setting for the application status check. When set to - `included`, the result of this check contributes to the instance-level - application status reported by `DescribeApplicationStatus`. When set to - `excluded`, the check runs independently and does not affect the - instance-level status. Valid values: `included` | `excluded`. - """ - protocol: str | None = ... - """ - The protocol to use for the health check. Valid values: `http` | - `https`. - """ - port: int | None = ... - """The port to use for the health check. Valid values: 1 to 65535.""" - path: str | None = ... - """ - The URL path to use for the health check HTTP request (for example, - `/health` or `/status`). - """ - device_index: int | None = ... - """ - The index of the network device to use for the health check. The value - must be greater than or equal to 0. - """ - ip_version: str | None = ... - """ - The IP version to use for the health check. Valid values: `ipv4` and - `ipv6`. - """ - ip_scope: str | None = ... - """The IP scope to use for the health check. Valid value: `private`.""" - interval: int | None = ... - """The interval, in seconds, between health checks. Valid value: 60.""" - timeout: int | None = ... - """ - The amount of time, in seconds, to wait for a health check response - before considering it failed. Valid values: 1 to 30. The value must be - less than `Interval`. - """ - failure_threshold: int | None = ... - """ - The number of consecutive failed health checks before the application - status is considered impaired. The value must be greater than 0. - """ - success_threshold: int | None = ... - """ - The number of consecutive successful health checks before the - application status is considered healthy. The value must be greater than - 0. - """ - status_code_matcher: str | None = ... - """ - The HTTP status codes that indicate a successful health check response. - Specify a comma-separated list of individual status codes or ranges, for - example, `200,202,300-399`. For a range, the first value must be less - than the second value. Maximum length: 64 characters. Default: `200`. - """ - initialization_grace_period_seconds: int | None = ... - """ - The number of seconds to wait before starting health checks after an - instance is launched. Valid values: 1 to 600. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the application status check.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure that the - operation completes no more than one time. If you retry a request with - the same token, the service ignores the request but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateApplicationStatusCheckOutput(_SerdeShape): - """Dataclass for CreateApplicationStatusCheckOutput structure.""" - - application_status_check: ApplicationStatusCheckResponseObject | None = ... - """Information about the application status check.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCapacityManagerDataExportInput(_SerdeShape): - """Dataclass for CreateCapacityManagerDataExportInput structure.""" - - s3_bucket_name: str | None = ... - """ - The name of the S3 bucket where the capacity data export files will be - delivered. The bucket must exist and you must have write permissions to - it. - """ - s3_bucket_prefix: str | None = ... - """ - The S3 key prefix for the exported data files. This allows you to - organize exports in a specific folder structure within your bucket. If - not specified, files are placed at the bucket root. - """ - schedule: str | None = ... - """The frequency at which data exports are generated.""" - output_format: str | None = ... - """ - The file format for the exported data. Parquet format is recommended for - large datasets and better compression. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see Ensure - Idempotency. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the data export configuration. You can tag the - export for organization and cost tracking purposes. - """ - -@dataclass(kw_only=True) -class CreateCapacityManagerDataExportOutput(_SerdeShape): - """Dataclass for CreateCapacityManagerDataExportOutput structure.""" - - capacity_manager_data_export_id: str | None = ... - """ - The unique identifier for the created data export configuration. Use - this ID to reference the export in other API calls. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCapacityReservationBySplittingInput(_SerdeShape): - """Dataclass for CreateCapacityReservationBySplittingInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - source_capacity_reservation_id: str | None = ... - """ - The ID of the Capacity Reservation from which you want to split the - capacity. - """ - instance_count: int | None = ... - """The number of instances to split from the source Capacity Reservation.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the new Capacity Reservation.""" - -@dataclass(kw_only=True) -class CreateCapacityReservationBySplittingOutput(_SerdeShape): - """Dataclass for CreateCapacityReservationBySplittingOutput structure.""" - - source_capacity_reservation: CapacityReservation | None = ... - """Information about the source Capacity Reservation.""" - destination_capacity_reservation: CapacityReservation | None = ... - """Information about the destination Capacity Reservation.""" - instance_count: int | None = ... - """ - The number of instances in the new Capacity Reservation. The number of - instances in the source Capacity Reservation was reduced by this amount. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCapacityReservationCancellationQuoteInput(_SerdeShape): - """Dataclass for CreateCapacityReservationCancellationQuoteInput structure.""" - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the cancellation quote.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateCapacityReservationCancellationQuoteOutput(_SerdeShape): - """ - Dataclass for CreateCapacityReservationCancellationQuoteOutput - structure. - """ - - capacity_reservation_cancellation_quote: ( - CapacityReservationCancellationQuote | None - ) = ... - """Information about the Capacity Reservation cancellation quote.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCapacityReservationDateChangeQuoteInput(_SerdeShape): - """Dataclass for CreateCapacityReservationDateChangeQuoteInput structure.""" - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - new_start_date: datetime | None = ... - """ - The requested new start date for the Capacity Reservation, in the - ISO8601 format in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). The - new start date must be later than the current start date and within the - cumulative 30-day pushout limit. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the date change quote.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateCapacityReservationDateChangeQuoteOutput(_SerdeShape): - """Dataclass for CreateCapacityReservationDateChangeQuoteOutput structure.""" - - capacity_reservation_modification_quote: ( - CapacityReservationModificationQuote | None - ) = ... - """Information about the Capacity Reservation date change quote.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCapacityReservationFleetInput(_SerdeShape): - """Dataclass for CreateCapacityReservationFleetInput structure.""" - - allocation_strategy: str | None = ... - """ - The strategy used by the Capacity Reservation Fleet to determine which - of the specified instance types to use. Currently, only the - `prioritized` allocation strategy is supported. For more information, - see [Allocation - strategy](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy) - in the *Amazon EC2 User Guide*. - - Valid values: `prioritized` - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - instance_type_specifications: ( - list[ReservationFleetInstanceSpecification] | None - ) = ... - """Information about the instance types for which to reserve the capacity.""" - instance_requirements: InstanceRequirementsRequest | None = ... - """Reserved for internal use.""" - availability_zone: str | None = ... - """Reserved for internal use.""" - availability_zone_id: str | None = ... - """Reserved for internal use.""" - tenancy: str | None = ... - """ - Indicates the tenancy of the Capacity Reservation Fleet. All Capacity - Reservations in the Fleet inherit this tenancy. The Capacity Reservation - Fleet can have one of the following tenancy settings: - - - `default` - The Capacity Reservation Fleet is created on hardware that - is shared with other Amazon Web Services accounts. - - - `dedicated` - The Capacity Reservations are created on single-tenant - hardware that is dedicated to a single Amazon Web Services account. - """ - total_target_capacity: int | None = ... - """ - The total number of capacity units to be reserved by the Capacity - Reservation Fleet. This value, together with the instance type weights - that you assign to each instance type used by the Fleet determine the - number of instances for which the Fleet reserves capacity. Both values - are based on units that make sense for your workload. For more - information, see [Total target - capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) - in the *Amazon EC2 User Guide*. - """ - end_date: datetime | None = ... - """ - The date and time at which the Capacity Reservation Fleet expires. When - the Capacity Reservation Fleet expires, its state changes to `expired` - and all of the Capacity Reservations in the Fleet expire. - - The Capacity Reservation Fleet expires within an hour after the - specified time. For example, if you specify `5/31/2019`, `13:30:55`, the - Capacity Reservation Fleet is guaranteed to expire between `13:30:55` - and `14:30:55` on `5/31/2019`. - """ - instance_match_criteria: str | None = ... - """ - Indicates the type of instance launches that the Capacity Reservation - Fleet accepts. All Capacity Reservations in the Fleet inherit this - instance matching criteria. - - Currently, Capacity Reservation Fleets support `open` instance matching - criteria only. This means that instances that have matching attributes - (instance type, platform, and Availability Zone) run in the Capacity - Reservations automatically. Instances do not need to explicitly target a - Capacity Reservation Fleet to use its reserved capacity. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to assign to the Capacity Reservation Fleet. The tags are - automatically assigned to the Capacity Reservations in the Fleet. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateCapacityReservationFleetOutput(_SerdeShape): - """Dataclass for CreateCapacityReservationFleetOutput structure.""" - - capacity_reservation_fleet_id: str | None = ... - """The ID of the Capacity Reservation Fleet.""" - state: str | None = ... - """The status of the Capacity Reservation Fleet.""" - total_target_capacity: int | None = ... - """ - The total number of capacity units for which the Capacity Reservation - Fleet reserves capacity. - """ - total_fulfilled_capacity: float | None = ... - """The requested capacity units that have been successfully reserved.""" - instance_match_criteria: str | None = ... - """The instance matching criteria for the Capacity Reservation Fleet.""" - allocation_strategy: str | None = ... - """The allocation strategy used by the Capacity Reservation Fleet.""" - create_time: datetime | None = ... - """The date and time at which the Capacity Reservation Fleet was created.""" - end_date: datetime | None = ... - """The date and time at which the Capacity Reservation Fleet expires.""" - tenancy: str | None = ... - """Indicates the tenancy of Capacity Reservation Fleet.""" - fleet_capacity_reservations: list[FleetCapacityReservation] | None = ... - """ - Information about the individual Capacity Reservations in the Capacity - Reservation Fleet. - """ - tags: list[Tag] | None = ... - """The tags assigned to the Capacity Reservation Fleet.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCapacityReservationInput(_SerdeShape): - """Dataclass for CreateCapacityReservationInput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - instance_type: str | None = ... - """ - The instance type for which to reserve capacity. - - Note: - You can request future-dated Capacity Reservations for instance types in - the C, M, R, I, T, and G instance families only. - - For more information, see [Instance - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) - in the *Amazon EC2 User Guide*. - """ - instance_platform: str | None = ... - """The type of operating system for which to reserve capacity.""" - availability_zone: str | None = ... - """The Availability Zone in which to create the Capacity Reservation.""" - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which to create the Capacity - Reservation. - """ - tenancy: str | None = ... - """ - Indicates the tenancy of the Capacity Reservation. A Capacity - Reservation can have one of the following tenancy settings: - - - `default` - The Capacity Reservation is created on hardware that is - shared with other Amazon Web Services accounts. - - - `dedicated` - The Capacity Reservation is created on single-tenant - hardware that is dedicated to a single Amazon Web Services account. - """ - instance_count: int | None = ... - """ - The number of instances for which to reserve capacity. - - Note: - You can request future-dated Capacity Reservations for an instance count - with a minimum of 32 vCPUs. For example, if you request a future-dated - Capacity Reservation for `m5.xlarge` instances, you must request at - least 8 instances (*8 * m5.xlarge = 32 vCPUs*). - - Valid range: 1 - 1000 - """ - ebs_optimized: bool | None = ... - """ - Indicates whether the Capacity Reservation supports EBS-optimized - instances. This optimization provides dedicated throughput to Amazon EBS - and an optimized configuration stack to provide optimal I/O performance. - This optimization isn't available with all instance types. Additional - usage charges apply when using an EBS- optimized instance. - """ - ephemeral_storage: bool | None = ... - """*Deprecated.*""" - end_date: datetime | None = ... - """ - The date and time at which the Capacity Reservation expires. When a - Capacity Reservation expires, the reserved capacity is released and you - can no longer launch instances into it. The Capacity Reservation's - state changes to `expired` when it reaches its end date and time. - - You must provide an `EndDate` value if `EndDateType` is `limited`. Omit - `EndDate` if `EndDateType` is `unlimited`. - - If the `EndDateType` is `limited`, the Capacity Reservation is cancelled - within an hour from the specified time. For example, if you specify - 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end - between 13:30:55 and 14:30:55 on 5/31/2019. - - If you are requesting a future-dated Capacity Reservation, you can't - specify an end date and time that is within the commitment duration. - """ - end_date_type: str | None = ... - """ - Indicates the way in which the Capacity Reservation ends. A Capacity - Reservation can have one of the following end types: - - - `unlimited` - The Capacity Reservation remains active until you - explicitly cancel it. Do not provide an `EndDate` if the `EndDateType` - is `unlimited`. - - - `limited` - The Capacity Reservation expires automatically at a - specified date and time. You must provide an `EndDate` value if the - `EndDateType` value is `limited`. - """ - instance_match_criteria: str | None = ... - """ - Indicates the type of instance launches that the Capacity Reservation - accepts. The options include: - - - `open` - The Capacity Reservation automatically matches all instances - that have matching attributes (instance type, platform, and - Availability Zone). Instances that have matching attributes run in the - Capacity Reservation automatically without specifying any additional - parameters. - - - `targeted` - The Capacity Reservation only accepts instances that have - matching attributes (instance type, platform, and Availability Zone), - and explicitly target the Capacity Reservation. This ensures that only - permitted instances can use the reserved capacity. - - Note: - If you are requesting a future-dated Capacity Reservation, you must - specify `targeted`. - - Default: `open` - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the Capacity Reservation during launch.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - outpost_arn: str | None = ... - """ - Note: - Not supported for future-dated Capacity Reservations. - - The Amazon Resource Name (ARN) of the Outpost on which to create the - Capacity Reservation. - """ - placement_group_arn: str | None = ... - """ - Note: - Not supported for future-dated Capacity Reservations. - - The Amazon Resource Name (ARN) of the cluster placement group in which - to create the Capacity Reservation. For more information, see [Capacity - Reservations for cluster placement - groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html) - in the *Amazon EC2 User Guide*. - """ - start_date: datetime | None = ... - """ - Note: - Required for future-dated Capacity Reservations only. To create a - Capacity Reservation for immediate use, omit this parameter. - - The date and time at which the future-dated Capacity Reservation should - become available for use, in the ISO8601 format in the UTC time zone - (`YYYY-MM-DDThh:mm:ss.sssZ`). - - You can request a future-dated Capacity Reservation between 5 and 120 - days in advance. - """ - commitment_duration: int | None = ... - """ - Note: - Required for future-dated Capacity Reservations only. To create a - Capacity Reservation for immediate use, omit this parameter. - - Specify a commitment duration, in seconds, for the future-dated Capacity - Reservation. - - The commitment duration is a minimum duration for which you commit to - having the future-dated Capacity Reservation in the `active` state in - your account after it has been delivered. - - For more information, see [Commitment - duration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-concepts.html#cr-commitment-duration). - """ - delivery_preference: str | None = ... - """ - Note: - Required for future-dated Capacity Reservations only. To create a - Capacity Reservation for immediate use, omit this parameter. - - Indicates that the requested capacity will be delivered in addition to - any running instances or reserved capacity that you have in your account - at the requested date and time. - - The only supported value is `incremental`. - """ - -@dataclass(kw_only=True) -class CreateCapacityReservationOutput(_SerdeShape): - """Dataclass for CreateCapacityReservationOutput structure.""" - - capacity_reservation: CapacityReservation | None = ... - """Information about the Capacity Reservation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCarrierGatewayInput(_SerdeShape): - """Dataclass for CreateCarrierGatewayInput structure.""" - - vpc_id: str | None = ... - """The ID of the VPC to associate with the carrier gateway.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to associate with the carrier gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateCarrierGatewayOutput(_SerdeShape): - """Dataclass for CreateCarrierGatewayOutput structure.""" - - carrier_gateway: CarrierGateway | None = ... - """Information about the carrier gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateClientVpnEndpointInput(_SerdeShape): - """Dataclass for CreateClientVpnEndpointInput structure.""" - - client_cidr_block: str | None = ... - """ - The IPv4 address range, in CIDR notation, from which to assign client IP - addresses. The address range cannot overlap with the local CIDR of the - VPC in which the associated subnet is located, or the routes that you - add manually. The address range cannot be changed after the Client VPN - endpoint has been created. Client CIDR range must have a size of at - least /22 and must not be greater than /12. - """ - server_certificate_arn: str | None = ... - """ - The ARN of the server certificate. For more information, see the - [Certificate Manager User - Guide](https://docs.aws.amazon.com/acm/latest/userguide/). - """ - authentication_options: list[ClientVpnAuthenticationRequest] | None = ... - """ - Information about the authentication method to be used to authenticate - clients. - """ - connection_log_options: ConnectionLogOptions | None = ... - """ - Information about the client connection logging options. - - If you enable client connection logging, data about client connections - is sent to a Cloudwatch Logs log stream. The following information is - logged: - - - Client connection requests - - - Client connection results (successful and unsuccessful) - - - Reasons for unsuccessful client connection requests - - - Client connection termination time - """ - dns_servers: list[str] | None = ... - """ - Information about the DNS servers to be used for DNS resolution. A - Client VPN endpoint can have up to two DNS servers. If no DNS server is - specified, the DNS address configured on the device is used for the DNS - server. - """ - transport_protocol: str | None = ... - """ - The transport protocol to be used by the VPN session. - - Default value: `udp` - """ - vpn_port: int | None = ... - """ - The port number to assign to the Client VPN endpoint for TCP and UDP - traffic. - - Valid Values: `443` | `1194` - - Default Value: `443` - """ - description: str | None = ... - """A brief description of the Client VPN endpoint.""" - split_tunnel: bool | None = ... - """ - Indicates whether split-tunnel is enabled on the Client VPN endpoint. - - By default, split-tunnel on a VPN endpoint is disabled. - - For information about split-tunnel VPN endpoints, see [Split-tunnel - Client VPN - endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) - in the *Client VPN Administrator Guide*. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the Client VPN endpoint during creation.""" - security_group_ids: list[str] | None = ... - """ - The IDs of one or more security groups to apply to the target network. - You must also specify the ID of the VPC that contains the security - groups. - """ - vpc_id: str | None = ... - """ - The ID of the VPC to associate with the Client VPN endpoint. If no - security group IDs are specified in the request, the default security - group for the VPC is applied. - """ - self_service_portal: str | None = ... - """ - Specify whether to enable the self-service portal for the Client VPN - endpoint. - - Default Value: `enabled` - """ - client_connect_options: ClientConnectOptions | None = ... - """ - The options for managing connection authorization for new client - connections. - """ - session_timeout_hours: int | None = ... - """ - The maximum VPN session duration time in hours. - - Valid values: `8 | 10 | 12 | 24` - - Default value: `24` - """ - client_login_banner_options: ClientLoginBannerOptions | None = ... - """ - Options for enabling a customizable text banner that will be displayed - on Amazon Web Services provided clients when a VPN session is - established. - """ - client_route_enforcement_options: ClientRouteEnforcementOptions | None = ... - """ - Client route enforcement is a feature of the Client VPN service that - helps enforce administrator defined routes on devices connected through - the VPN. T his feature helps improve your security posture by ensuring - that network traffic originating from a connected client is not - inadvertently sent outside the VPN tunnel. - - Client route enforcement works by monitoring the route table of a - connected device for routing policy changes to the VPN connection. If - the feature detects any VPN routing policy modifications, it will - automatically force an update to the route table, reverting it back to - the expected route configurations. - """ - disconnect_on_session_timeout: bool | None = ... - """ - Indicates whether the client VPN session is disconnected after the - maximum timeout specified in `SessionTimeoutHours` is reached. If - `true`, users are prompted to reconnect client VPN. If `false`, client - VPN attempts to reconnect automatically. The default value is `true`. - """ - endpoint_ip_address_type: str | None = ... - """ - The IP address type for the Client VPN endpoint. Valid values are `ipv4` - (default) for IPv4 addressing only, `ipv6` for IPv6 addressing only, or - `dual-stack` for both IPv4 and IPv6 addressing. When set to - `dual-stack,` clients can connect to the endpoint using either IPv4 or - IPv6 addresses.. - """ - traffic_ip_address_type: str | None = ... - """ - The IP address type for traffic within the Client VPN tunnel. Valid - values are `ipv4` (default) for IPv4 traffic only, `ipv6` for IPv6 - addressing only, or `dual-stack` for both IPv4 and IPv6 traffic. When - set to `dual-stack`, clients can access both IPv4 and IPv6 resources - through the VPN . - """ - transit_gateway_configuration: ( - TransitGatewayConfigurationInputStructure | None - ) = ... - """ - The Transit Gateway configuration for the Client VPN endpoint. Use this - parameter to associate the endpoint with a Transit Gateway instead of a - VPC. You cannot specify both `TransitGatewayConfiguration` and - `VpcId`/`SecurityGroupIds`. - """ - device_posture_options: DevicePostureOptions | None = ... - """ - The device posture options for the Client VPN endpoint. Use this - parameter to specify the device trust providers that the endpoint uses - to evaluate the security posture of connecting devices. - """ - -@dataclass(kw_only=True) -class CreateClientVpnEndpointOutput(_SerdeShape): - """Dataclass for CreateClientVpnEndpointOutput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - status: ClientVpnEndpointStatus | None = ... - """The current state of the Client VPN endpoint.""" - dns_name: str | None = ... - """The DNS name to be used by clients when establishing their VPN session.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateClientVpnRouteInput(_SerdeShape): - """Dataclass for CreateClientVpnRouteInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint to which to add the route.""" - destination_cidr_block: str | None = ... - """ - The IPv4 address range, in CIDR notation, of the route destination. For - example: - - - To add a route for Internet access, enter `0.0.0.0/0` - - - To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR - range - - - To add a route for an on-premises network, enter the Amazon Web - Services Site-to-Site VPN connection's IPv4 CIDR range - - - To add a route for the local network, enter the client CIDR range - """ - target_vpc_subnet_id: str | None = ... - """ - The ID of the subnet through which you want to route traffic. The - specified subnet must be an existing target network of the Client VPN - endpoint. - - Alternatively, if you're adding a route for the local network, specify - `local`. - - This parameter is required for VPC-based Client VPN endpoints. For - Transit Gateway-based endpoints, this parameter is not required. - """ - description: str | None = ... - """A brief description of the route.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateClientVpnRouteOutput(_SerdeShape): - """Dataclass for CreateClientVpnRouteOutput structure.""" - - status: ClientVpnRouteStatus | None = ... - """The current state of the route.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCoipCidrInput(_SerdeShape): - """Dataclass for CreateCoipCidrInput structure.""" - - cidr: str | None = ... - """A customer-owned IP address range to create.""" - coip_pool_id: str | None = ... - """The ID of the address pool.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateCoipCidrOutput(_SerdeShape): - """Dataclass for CreateCoipCidrOutput structure.""" - - coip_cidr: CoipCidr | None = ... - """Information about a range of customer-owned IP addresses.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCoipPoolInput(_SerdeShape): - """Dataclass for CreateCoipPoolInput structure.""" - - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the CoIP address pool.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateCoipPoolOutput(_SerdeShape): - """Dataclass for CreateCoipPoolOutput structure.""" - - coip_pool: CoipPool | None = ... - """Information about the CoIP address pool.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCustomerGatewayInput(_SerdeShape): - """Contains the parameters for CreateCustomerGateway.""" - - bgp_asn: int | None = ... - """ - For customer gateway devices that support BGP, specify the device's - ASN. You must specify either `BgpAsn` or `BgpAsnExtended` when creating - the customer gateway. If the ASN is larger than `2,147,483,647`, you - must use `BgpAsnExtended`. - - Default: 65000 - - Valid values: `1` to `2,147,483,647` - """ - public_ip: str | None = ... - """ - *This member has been deprecated.* The Internet-routable IP address for - the customer gateway's outside interface. The address must be static. - """ - certificate_arn: str | None = ... - """The Amazon Resource Name (ARN) for the customer gateway certificate.""" - type: str | None = ... - """ - The type of VPN connection that this customer gateway supports - (`ipsec.1`). - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the customer gateway.""" - device_name: str | None = ... - """ - A name for the customer gateway device. - - Length Constraints: Up to 255 characters. - """ - ip_address: str | None = ... - """ - The IP address for the customer gateway device's outside interface. The - address must be static. If `OutsideIpAddressType` in your VPN connection - options is set to `PrivateIpv4`, you can use an RFC6598 or RFC1918 - private IPv4 address. If `OutsideIpAddressType` is set to `Ipv6`, you - can use an IPv6 address. - """ - bgp_asn_extended: int | None = ... - """ - For customer gateway devices that support BGP, specify the device's - ASN. You must specify either `BgpAsn` or `BgpAsnExtended` when creating - the customer gateway. If the ASN is larger than `2,147,483,647`, you - must use `BgpAsnExtended`. - - Valid values: `2,147,483,648` to `4,294,967,295` - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateCustomerGatewayOutput(_SerdeShape): - """Contains the output of CreateCustomerGateway.""" - - customer_gateway: CustomerGateway | None = ... - """Information about the customer gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDefaultSubnetInput(_SerdeShape): - """Dataclass for CreateDefaultSubnetInput structure.""" - - availability_zone: str | None = ... - """ - The Availability Zone in which to create the default subnet. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but - not both. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - ipv6_native: bool | None = ... - """ - Indicates whether to create an IPv6 only subnet. If you already have a - default subnet for this Availability Zone, you must delete it before you - can create an IPv6 only subnet. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but - not both. - """ - -@dataclass(kw_only=True) -class CreateDefaultSubnetOutput(_SerdeShape): - """Dataclass for CreateDefaultSubnetOutput structure.""" - - subnet: Subnet | None = ... - """Information about the subnet.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDefaultVpcInput(_SerdeShape): - """Dataclass for CreateDefaultVpcInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateDefaultVpcOutput(_SerdeShape): - """Dataclass for CreateDefaultVpcOutput structure.""" - - vpc: Vpc | None = ... - """Information about the VPC.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDelegateMacVolumeOwnershipTaskInput(_SerdeShape): - """Dataclass for CreateDelegateMacVolumeOwnershipTaskInput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the Amazon EC2 Mac instance.""" - mac_credentials: str | None = ... - """ - Specifies the following credentials: - - - **Internal disk administrative user** - - - **Username** - Only the default administrative user - (`aws-managed-user`) is supported and it is used by default. You - can't specify a different administrative user. - - - **Password** - If you did not change the default password for - `aws-managed-user`, specify the default password, which is *blank*. - Otherwise, specify your password. - - - **Amazon EBS root volume administrative user** - - - **Username** - If you did not change the default administrative - user, specify `ec2-user`. Otherwise, specify the username for your - administrative user. - - - **Password** - Specify the password for the administrative user. - - The credentials must be specified in the following JSON format: - - `{ "internalDiskPassword":"`*`internal-disk-admin_password`*`", "rootVolumeUsername":"`*`root-volume-admin_username`*`", "rootVolumepassword":"`*`root-volume-admin_password`*`" }` - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the volume ownership delegation task.""" - -@dataclass(kw_only=True) -class CreateDelegateMacVolumeOwnershipTaskOutput(_SerdeShape): - """Dataclass for CreateDelegateMacVolumeOwnershipTaskOutput structure.""" - - mac_modification_task: MacModificationTask | None = ... - """Information about the volume ownership delegation task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDhcpOptionsInput(_SerdeShape): - """Dataclass for CreateDhcpOptionsInput structure.""" - - dhcp_configurations: list[NewDhcpConfiguration] | None = ... - """A DHCP configuration option.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the DHCP option.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateDhcpOptionsOutput(_SerdeShape): - """Dataclass for CreateDhcpOptionsOutput structure.""" - - dhcp_options: DhcpOptions | None = ... - """A set of DHCP options.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateEgressOnlyInternetGatewayInput(_SerdeShape): - """Dataclass for CreateEgressOnlyInternetGatewayInput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_id: str | None = ... - """The ID of the VPC for which to create the egress-only internet gateway.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the egress-only internet gateway.""" - -@dataclass(kw_only=True) -class CreateEgressOnlyInternetGatewayOutput(_SerdeShape): - """Dataclass for CreateEgressOnlyInternetGatewayOutput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - egress_only_internet_gateway: EgressOnlyInternetGateway | None = ... - """Information about the egress-only internet gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFleetError(_SerdeShape): - """Describes the instances that could not be launched by the fleet.""" - - launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ... - """ - The launch templates and overrides that were used for launching the - instances. The values that you specify in the Overrides replace the - values in the launch template. - """ - lifecycle: str | None = ... - """ - Indicates if the instance that could not be launched was a Spot, - On-Demand, Capacity Block for ML, or interruptible Capacity Reservation - instance. If you are using `ReservedCapacityOptions` with - `on-demand-capacity-reservation` in the `ReservationTypes` list, the - value can also be `on-demand-capacity-reservation`. - """ - error_code: str | None = ... - """ - The error code that indicates why the instance could not be launched. - For more information about error codes, see [Error - codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). - """ - error_message: str | None = ... - """ - The error message that describes why the instance could not be launched. - For more information about error messages, see [Error - codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). - """ - -@dataclass(kw_only=True) -class CreateFleetInput(_SerdeShape): - """Dataclass for CreateFleetInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. If you do not specify a client token, a - randomly generated token is used for the request to ensure idempotency. - - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - spot_options: SpotOptionsRequest | None = ... - """Describes the configuration of Spot Instances in an EC2 Fleet.""" - on_demand_options: OnDemandOptionsRequest | None = ... - """Describes the configuration of On-Demand Instances in an EC2 Fleet.""" - reserved_capacity_options: ReservedCapacityOptionsRequest | None = ... - """ - Defines EC2 Fleet preferences for utilizing reserved capacity when - DefaultTargetCapacityType is set to `reserved-capacity`. - - Supported only for fleets of type `instant`. - """ - excess_capacity_termination_policy: str | None = ... - """ - Indicates whether running instances should be terminated if the total - target capacity of the EC2 Fleet is decreased below the current size of - the EC2 Fleet. - - Supported only for fleets of type `maintain`. - """ - launch_template_configs: list[FleetLaunchTemplateConfigRequest] | None = ... - """The configuration for the EC2 Fleet.""" - target_capacity_specification: TargetCapacitySpecificationRequest | None = ... - """The number of units to request.""" - terminate_instances_with_expiration: bool | None = ... - """ - Indicates whether running instances should be terminated when the EC2 - Fleet expires. - """ - type: str | None = ... - """ - The fleet type. The default value is `maintain`. - - - `maintain` - The EC2 Fleet places an asynchronous request for your - desired capacity, and continues to maintain your desired Spot capacity - by replenishing interrupted Spot Instances. - - - `request` - The EC2 Fleet places an asynchronous one-time request for - your desired capacity, but does submit Spot requests in alternative - capacity pools if Spot capacity is unavailable, and does not maintain - Spot capacity if Spot Instances are interrupted. - - - `instant` - The EC2 Fleet places a synchronous one-time request for - your desired capacity, and returns errors for any instances that could - not be launched. - - For more information, see [EC2 Fleet request - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-request-type.html) - in the *Amazon EC2 User Guide*. - """ - valid_from: datetime | None = ... - """ - The start date and time of the request, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). The default is to start fulfilling - the request immediately. - """ - valid_until: datetime | None = ... - """ - The end date and time of the request, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). At this point, no new EC2 Fleet - requests are placed or able to fulfill the request. If no value is - specified, the request remains until you cancel it. - """ - replace_unhealthy_instances: bool | None = ... - """ - Indicates whether EC2 Fleet should replace unhealthy Spot Instances. - Supported only for fleets of type `maintain`. For more information, see - [EC2 Fleet health - checks](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks) - in the *Amazon EC2 User Guide*. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The key-value pair for tagging the EC2 Fleet request on creation. For - more information, see [Tag your - resources](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources). - - If the fleet type is `instant`, specify a resource type of `fleet` to - tag the fleet, `instance` to tag the instances at launch, `volume` to - tag the volumes at launch, or `network-interface` to tag the network - interfaces at launch. - - If the fleet type is `maintain` or `request`, specify a resource type of - `fleet` to tag the fleet. You cannot specify a resource type of - `instance`, `volume`, or `network-interface`. To tag instances at - launch, specify the tags in a [launch - template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template). - """ - context: str | None = ... - """Reserved.""" - -@dataclass(kw_only=True) -class CreateFleetInstance(_SerdeShape): - """Describes the instances that were launched by the fleet.""" - - launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ... - """ - The launch templates and overrides that were used for launching the - instances. The values that you specify in the Overrides replace the - values in the launch template. - """ - lifecycle: str | None = ... - """ - Indicates if the instance that was launched is a Spot, On-Demand, - Capacity Block for ML, or interruptible Capacity Reservation instance. - """ - instance_ids: list[str] | None = ... - """The IDs of the instances.""" - instance_type: str | None = ... - """The instance type.""" - platform: str | None = ... - """ - The value is `windows` for Windows instances in an EC2 Fleet. Otherwise, - the value is blank. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which the instance was launched. For - example, `use2-az1`. - - Supported only for fleets of type `instant`. - """ - availability_zone: str | None = ... - """ - The name of the Availability Zone in which the instance was launched. - For example, `us-east-2a`. - - Supported only for fleets of type `instant`. - """ - subnet_id: str | None = ... - """ - The ID of the subnet in which the instance was launched. - - Supported only for fleets of type `instant`. - """ - -@dataclass(kw_only=True) -class CreateFleetOutput(_SerdeShape): - """Dataclass for CreateFleetOutput structure.""" - - fleet_id: str | None = ... - """The ID of the EC2 Fleet.""" - errors: list[CreateFleetError] | None = ... - """ - Information about the instances that could not be launched by the fleet. - Supported only for fleets of type `instant`. - """ - instances: list[CreateFleetInstance] | None = ... - """ - Information about the instances that were launched by the fleet. - Supported only for fleets of type `instant`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFlowLogsInput(_SerdeShape): - """Dataclass for CreateFlowLogsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - deliver_logs_permission_arn: str | None = ... - """ - The ARN of the IAM role that allows Amazon EC2 to publish flow logs to - the log destination. - - This parameter is required if the destination type is - `cloud-watch-logs`, or if the destination type is - `kinesis-data-firehose` and the delivery stream and the resources to - monitor are in different accounts. - """ - deliver_cross_account_role: str | None = ... - """ - The ARN of the IAM role that allows Amazon EC2 to publish flow logs - across accounts. - """ - log_group_name: str | None = ... - """ - The name of a new or existing CloudWatch Logs log group where Amazon EC2 - publishes your flow logs. - - This parameter is valid only if the destination type is - `cloud-watch-logs`. - """ - resource_ids: list[str] | None = ... - """ - The IDs of the resources to monitor. For example, if the resource type - is `VPC`, specify the IDs of the VPCs. - - Constraints: Maximum of 25 for transit gateway resource types. Maximum - of 300 for the other resource types. - """ - resource_type: str | None = ... - """The type of resource to monitor.""" - traffic_type: str | None = ... - """ - The type of traffic to monitor (accepted traffic, rejected traffic, or - all traffic). This parameter is not supported for transit gateway or - Cloud WAN resource types. It is required for the other resource types. - """ - log_destination_type: str | None = ... - """ - The type of destination for the flow log data. - - Default: `cloud-watch-logs` - """ - log_destination: str | None = ... - """ - The destination for the flow log data. The meaning of this parameter - depends on the destination type. - - - If the destination type is `cloud-watch-logs`, specify the ARN of a - CloudWatch Logs log group. For example: - - arn:aws:logs:*region*:*account_id*:log-group:*my_group* - - Alternatively, use the `LogGroupName` parameter. - - - If the destination type is `s3`, specify the ARN of an S3 bucket. For - example: - - arn:aws:s3\\:::*my_bucket*/*my_subfolder*/ - - The subfolder is optional. Note that you can't use `AWSLogs` as a - subfolder name. - - - If the destination type is `kinesis-data-firehose`, specify the ARN of - a Kinesis Data Firehose delivery stream. For example: - - arn:aws:firehose:*region*:*account_id*:deliverystream:*my_stream* - """ - log_format: str | None = ... - """ - The fields to include in the flow log record. List the fields in the - order in which they should appear. If you omit this parameter, the flow - log is created using the default format. If you specify this parameter, - you must include at least one field. For more information about the - available fields, see [Flow log - records](https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html) - in the *Amazon VPC User Guide*, [Transit Gateway Flow Log - records](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records) - in the *Amazon Web Services Transit Gateway Guide*, or [Cloud WAN Flow - Log - records](https://docs.aws.amazon.com/network-manager/latest/cloudwan/cwan-flow-logs.html) - in the *Amazon Web Services Cloud WAN User Guide*. - - Specify the fields using the `${field-id}` format, separated by spaces. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the flow logs.""" - max_aggregation_interval: int | None = ... - """ - The maximum interval of time during which a flow of packets is captured - and aggregated into a flow log record. The possible values are 60 - seconds (1 minute) or 600 seconds (10 minutes). This parameter must be - 60 seconds for transit gateway and Cloud WAN resource types. - - When a network interface is attached to a [Nitro-based - instance](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html), - the aggregation interval is always 60 seconds or less, regardless of the - value that you specify. - - Default: 600 - """ - destination_options: DestinationOptionsRequest | None = ... - """The destination options.""" - tag_field_specifications: list[TagFieldSpecificationRequest] | None = ... - """ - The tag configuration associated with the Flow Logs Amazon EC2 Tags - feature fields in your custom log format. - """ - -@dataclass(kw_only=True) -class CreateFlowLogsOutput(_SerdeShape): - """Dataclass for CreateFlowLogsOutput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - flow_log_ids: list[str] | None = ... - """The IDs of the flow logs.""" - unsuccessful: list[UnsuccessfulItem] | None = ... - """Information about the flow logs that could not be created successfully.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFpgaImageInput(_SerdeShape): - """Dataclass for CreateFpgaImageInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - input_storage_location: StorageLocation | None = ... - """ - The location of the encrypted design checkpoint in Amazon S3. The input - must be a tarball. - """ - logs_storage_location: StorageLocation | None = ... - """The location in Amazon S3 for the output logs.""" - description: str | None = ... - """A description for the AFI.""" - name: str | None = ... - """A name for the AFI.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the FPGA image during creation.""" - -@dataclass(kw_only=True) -class CreateFpgaImageOutput(_SerdeShape): - """Dataclass for CreateFpgaImageOutput structure.""" - - fpga_image_id: str | None = ... - """The FPGA image identifier (AFI ID).""" - fpga_image_global_id: str | None = ... - """The global FPGA image identifier (AGFI ID).""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateImageInput(_SerdeShape): - """Dataclass for CreateImageInput structure.""" - - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the AMI and snapshots on creation. You can tag the - AMI, the snapshots, or both. - - - To tag the AMI, the value for `ResourceType` must be `image`. - - - To tag the snapshots that are created of the root volume and of other - Amazon EBS volumes that are attached to the instance, the value for - `ResourceType` must be `snapshot`. The same tag is applied to all of - the snapshots that are created. - - If you specify other values for `ResourceType`, the request fails. - - To tag an AMI or snapshot after it has been created, see - [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). - """ - snapshot_location: str | None = ... - """ - Note: - Only supported for instances in Local Zones and for instances on - Outposts that support local snapshots. If the source instance is not in - one of these locations, omit this parameter. - - The Amazon S3 location where the snapshots will be stored. - - - To create local snapshots in the same Local Zone or on the same - Outpost as the source instance, specify `local`. - - - To create regional snapshots in the parent Region of the Local Zone or - Outpost, specify `regional`. - - If the source instance is in a Local Zone and you omit this parameter, - regional snapshots are created in the parent Region of the Local Zone. - - If the source instance is on an Outpost that supports local snapshots, - this parameter is required. If you omit it, the request fails with an - `InvalidParameterValue` error. - - Default: `regional` (for instances in Local Zones only) - """ - boot_mode_override: str | None = ... - """ - The boot mode of the new image, which overrides the default boot mode. - By default, if you do not specify this parameter, the new image inherits - the `boot-mode` from the source instance. - - A value of `uefi` indicates that the image only supports UEFI boot mode. - You can specify this parameter only if the `current-instance-boot-mode` - of the source instance is `uefi`. To find the `boot-mode` or - `current-instance-boot-mode` of an instance, see - [DescribeInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html). - - Note: - The operating system contained in the AMI must be configured to support - the specified boot mode. - - For more information, see [Instance launch behavior with Amazon EC2 boot - modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) - in the *Amazon EC2 User Guide*. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the instance.""" - name: str | None = ... - """ - A name for the new image. - - Constraints: 3-128 alphanumeric characters, parentheses (()), square - brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), - single quotes ('), at-signs (@), or underscores(_) - """ - description: str | None = ... - """A description for the new image.""" - no_reboot: bool | None = ... - """ - Indicates whether or not the instance should be automatically rebooted - before creating the image. Specify one of the following values: - - - `true` - The instance is not rebooted before creating the image. This - creates crash-consistent snapshots that include only the data that has - been written to the volumes at the time the snapshots are created. - Buffered data and data in memory that has not yet been written to the - volumes is not included in the snapshots. - - - `false` - The instance is rebooted before creating the image. This - ensures that all buffered data and data in memory is written to the - volumes before the snapshots are created. - - Default: `false` - """ - block_device_mappings: list[BlockDeviceMapping] | None = ... - """ - The block device mappings. - - When using the CreateImage action: - - - You can't change the volume size using the VolumeSize parameter. If - you want a different volume size, you must first change the volume - size of the source instance. - - - You can't modify the encryption status of existing volumes or - snapshots. To create an AMI with volumes or snapshots that have a - different encryption status (for example, where the source volume and - snapshots are unencrypted, and you want to create an AMI with - encrypted volumes or snapshots), copy the image instead. - - - The only option that can be changed for existing mappings or snapshots - is `DeleteOnTermination`. - """ - -@dataclass(kw_only=True) -class CreateImageOutput(_SerdeShape): - """Dataclass for CreateImageOutput structure.""" - - image_id: str | None = ... - """The ID of the new AMI.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateImageUsageReportInput(_SerdeShape): - """Dataclass for CreateImageUsageReportInput structure.""" - - image_id: str | None = ... - """The ID of the image to report on.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - resource_types: list[ImageUsageResourceTypeRequest] | None = ... - """The resource types to include in the report.""" - account_ids: list[str] | None = ... - """ - The Amazon Web Services account IDs to include in the report. To include - all accounts, omit this parameter. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure - idempotency of the request. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the report on creation. The `ResourceType` must be - set to `image-usage-report`; any other value will cause the report - creation to fail. - - To tag a report after it has been created, see - [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). - """ - -@dataclass(kw_only=True) -class CreateImageUsageReportOutput(_SerdeShape): - """Dataclass for CreateImageUsageReportOutput structure.""" - - report_id: str | None = ... - """The ID of the report.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInstanceConnectEndpointInput(_SerdeShape): - """Dataclass for CreateInstanceConnectEndpointInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - subnet_id: str | None = ... - """ - The ID of the subnet in which to create the EC2 Instance Connect - Endpoint. - """ - security_group_ids: list[str] | None = ... - """ - One or more security groups to associate with the endpoint. If you - don't specify a security group, the default security group for your VPC - will be associated with the endpoint. - """ - preserve_client_ip: bool | None = ... - """ - Indicates whether the client IP address is preserved as the source. The - following are the possible values. - - - `true` - Use the client IP address as the source. - - - `false` - Use the network interface IP address as the source. - - Note: - `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect - Endpoints. To use `PreserveClientIp`, the value for `IpAddressType` must - be `ipv4`. - - Default: `false` - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the EC2 Instance Connect Endpoint during creation.""" - ip_address_type: str | None = ... - """ - The IP address type of the endpoint. - - If no value is specified, the default value is determined by the IP - address type of the subnet: - - - `dualstack` - If the subnet has both IPv4 and IPv6 CIDRs - - - `ipv4` - If the subnet has only IPv4 CIDRs - - - `ipv6` - If the subnet has only IPv6 CIDRs - - Note: - `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect - Endpoints. To use `PreserveClientIp`, the value for `IpAddressType` must - be `ipv4`. - """ - -@dataclass(kw_only=True) -class CreateInstanceConnectEndpointOutput(_SerdeShape): - """Dataclass for CreateInstanceConnectEndpointOutput structure.""" - - instance_connect_endpoint: Ec2InstanceConnectEndpoint | None = ... - """Information about the EC2 Instance Connect Endpoint.""" - client_token: str | None = ... - """ - Unique, case-sensitive idempotency token provided by the client in the - the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInstanceEventWindowInput(_SerdeShape): - """Dataclass for CreateInstanceEventWindowInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - name: str | None = ... - """The name of the event window.""" - time_ranges: list[InstanceEventWindowTimeRangeRequest] | None = ... - """ - The time range for the event window. If you specify a time range, you - can't specify a cron expression. - """ - cron_expression: str | None = ... - """ - The cron expression for the event window, for example, - `* 0-4,20-23 * * 1,5`. If you specify a cron expression, you can't - specify a time range. - - Constraints: - - - Only hour and day of the week values are supported. - - - For day of the week values, you can specify either integers `0` - through `6`, or alternative single values `SUN` through `SAT`. - - - The minute, month, and year must be specified by `*`. - - - The hour value must be one or a multiple range, for example, `0-4` or - `0-4,20-23`. - - - Each hour range must be >= 2 hours, for example, `0-2` or `20-23`. - - - The event window must be >= 4 hours. The combined total time ranges - in the event window must be >= 4 hours. - - For more information about cron expressions, see - [cron](https://en.wikipedia.org/wiki/Cron) on the *Wikipedia website*. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the event window.""" - -@dataclass(kw_only=True) -class CreateInstanceEventWindowOutput(_SerdeShape): - """Dataclass for CreateInstanceEventWindowOutput structure.""" - - instance_event_window: InstanceEventWindow | None = ... - """Information about the event window.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInstanceExportTaskInput(_SerdeShape): - """Dataclass for CreateInstanceExportTaskInput structure.""" - - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the export instance task during creation.""" - description: str | None = ... - """ - A description for the conversion task or the resource being exported. - The maximum length is 255 characters. - """ - instance_id: str | None = ... - """The ID of the instance.""" - target_environment: str | None = ... - """The target virtualization environment.""" - export_to_s3_task: ExportToS3TaskSpecification | None = ... - """The format and location for an export instance task.""" - -@dataclass(kw_only=True) -class CreateInstanceExportTaskOutput(_SerdeShape): - """Dataclass for CreateInstanceExportTaskOutput structure.""" - - export_task: ExportTask | None = ... - """Information about the export instance task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInternetGatewayInput(_SerdeShape): - """Dataclass for CreateInternetGatewayInput structure.""" - - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the internet gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateInternetGatewayOutput(_SerdeShape): - """Dataclass for CreateInternetGatewayOutput structure.""" - - internet_gateway: InternetGateway | None = ... - """Information about the internet gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInterruptibleCapacityReservationAllocationInput(_SerdeShape): - """ - Dataclass for CreateInterruptibleCapacityReservationAllocationInput - structure. - """ - - capacity_reservation_id: str | None = ... - """ - The ID of the source Capacity Reservation from which to create the - interruptible Capacity Reservation. Your Capacity Reservation must be in - active state with no end date set and have available capacity for - allocation. - """ - instance_count: int | None = ... - """ - The number of instances to allocate from your source reservation. You - can only allocate available instances (also called unused capacity). - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the action, without - actually making the request, and provides an error response. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the interruptible Capacity Reservation during - creation. - """ - zero_size_preference: str | None = ... - """ - Specifies the behavior for the interruptible Capacity Reservation when - you reduce its allocation to zero instances. Specify `retain` to keep - the interruptible Capacity Reservation active at zero capacity so that - you can allocate instances to it again later. Specify `default` to - cancel the interruptible Capacity Reservation and return the capacity to - your source Capacity Reservation. The default value is `default`. - """ - -@dataclass(kw_only=True) -class CreateInterruptibleCapacityReservationAllocationOutput(_SerdeShape): - """ - Dataclass for CreateInterruptibleCapacityReservationAllocationOutput - structure. - """ - - source_capacity_reservation_id: str | None = ... - """ - The ID of the source Capacity Reservation from which the interruptible - Capacity Reservation was created. - """ - target_instance_count: int | None = ... - """The number of instances allocated to the interruptible reservation.""" - status: str | None = ... - """ - The current status of the allocation request (creating, active, - updating). - """ - interruption_type: str | None = ... - """The type of interruption applied to the interruptible reservation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamExternalResourceVerificationTokenInput(_SerdeShape): - """ - Dataclass for CreateIpamExternalResourceVerificationTokenInput - structure. - """ - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """The ID of the IPAM that will create the token.""" - tag_specifications: list[TagSpecification] | None = ... - """Token tags.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateIpamExternalResourceVerificationTokenOutput(_SerdeShape): - """ - Dataclass for CreateIpamExternalResourceVerificationTokenOutput - structure. - """ - - ipam_external_resource_verification_token: ( - IpamExternalResourceVerificationToken | None - ) = ... - """The verification token.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamInput(_SerdeShape): - """Dataclass for CreateIpamInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - description: str | None = ... - """A description for the IPAM.""" - operating_regions: list[AddIpamOperatingRegion] | None = ... - """ - The operating Regions for the IPAM. Operating Regions are Amazon Web - Services Regions where the IPAM is allowed to manage IP address CIDRs. - IPAM only discovers and monitors resources in the Amazon Web Services - Regions you select as operating Regions. - - For more information about operating Regions, see [Create an - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - 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 `Owner` and - the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` - for the filter value. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - tier: str | None = ... - """ - IPAM is offered in a Free Tier and an Advanced Tier. For more - information about the features available in each tier and the costs - associated with the tiers, see [Amazon VPC pricing > IPAM - tab](http://aws.amazon.com/vpc/pricing/). - """ - enable_private_gua: bool | None = ... - """ - Enable this option to use your own GUA ranges as private IPv6 addresses. - This option is disabled by default. - """ - metered_account: str | None = ... - """ - A metered account is an Amazon Web Services account that is charged for - active IP addresses managed in IPAM. For more information, see [Enable - cost - distribution](https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html) - in the *Amazon VPC IPAM User Guide*. - - Possible values: - - - `ipam-owner` (default): The Amazon Web Services account which owns the - IPAM is charged for all active IP addresses managed in IPAM. - - - `resource-owner`: The Amazon Web Services account that owns the IP - address is charged for the active IP address. - """ - -@dataclass(kw_only=True) -class CreateIpamInternetRegistryAssociationInput(_SerdeShape): - """Dataclass for CreateIpamInternetRegistryAssociationInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """The ID of the IPAM to associate with the internet registry.""" - rir: str | None = ... - """ - The Regional Internet Registry to associate with. Possible values: - - - `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia). - - - `apnic` - APNIC (Asia Pacific). - - - `arin` - ARIN (North America). - - - `lacnic` - LACNIC (Latin America and the Caribbean). - """ - organization_handle: str | None = ... - """ - The organization handle at the internet registry (for example, a RIPE - NCC organization ID or ARIN Org ID). - """ - description: str | None = ... - """A description for the internet registry association.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the internet registry association.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, the operation ignores the request, but does not return an - error. - """ - -@dataclass(kw_only=True) -class CreateIpamInternetRegistryAssociationOutput(_SerdeShape): - """Dataclass for CreateIpamInternetRegistryAssociationOutput structure.""" - - ipam_internet_registry_association: IpamInternetRegistryAssociation | None = ... - """Information about the internet registry association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamOutput(_SerdeShape): - """Dataclass for CreateIpamOutput structure.""" - - ipam: Ipam | None = ... - """Information about the IPAM created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamPolicyInput(_SerdeShape): - """Dataclass for CreateIpamPolicyInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the IPAM policy.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure the idempotency of the - request. - """ - ipam_id: str | None = ... - """The ID of the IPAM for which you're creating the policy.""" - -@dataclass(kw_only=True) -class CreateIpamPolicyOutput(_SerdeShape): - """Dataclass for CreateIpamPolicyOutput structure.""" - - ipam_policy: IpamPolicy | None = ... - """ - Information about the created IPAM policy. - - An IPAM policy is a set of rules that define how public IPv4 addresses - from IPAM pools are allocated to Amazon Web Services resources. Each - rule maps an Amazon Web Services service to IPAM pools that the service - will use to get IP addresses. A single policy can have multiple rules - and be applied to multiple Amazon Web Services Regions. If the IPAM pool - run out of addresses then the services fallback to Amazon-provided IP - addresses. A policy can be applied to an individual Amazon Web Services - account or an entity within Amazon Web Services Organizations. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamPoolInput(_SerdeShape): - """Dataclass for CreateIpamPoolInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_scope_id: str | None = ... - """The ID of the scope in which you would like to create the IPAM pool.""" - locale: str | None = ... - """ - The locale for the pool should be one of the following: - - - An Amazon Web Services Region where you want this IPAM pool to be - available for allocations. - - - The network border group for an Amazon Web Services Local Zone where - you want this IPAM pool to be available for allocations ([supported - Local - Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)). - This option is only available for IPAM IPv4 pools in the public scope. - - Possible values: Any Amazon Web Services Region or supported Amazon Web - Services Local Zone. Default is `none` and means any locale. - """ - source_ipam_pool_id: str | None = ... - """ - The ID of the source IPAM pool. Use this option to create a pool within - an existing pool. Note that the CIDR you provision for the pool within - the source pool must be available in the source pool's CIDR range. - """ - description: str | None = ... - """A description for the IPAM pool.""" - address_family: str | None = ... - """ - The IP protocol assigned to this IPAM pool. You must choose either IPv4 - or IPv6 protocol for a pool. - """ - auto_import: bool | None = ... - """ - If selected, IPAM will continuously look for resources within the CIDR - range of this pool and automatically import them as allocations into - your IPAM. The CIDRs that will be allocated for these resources must not - already be allocated to other resources in order for the import to - succeed. IPAM will import a CIDR regardless of its compliance with the - pool's allocation rules, so a resource might be imported and - subsequently marked as noncompliant. If IPAM discovers multiple CIDRs - that overlap, IPAM will import the largest CIDR only. If IPAM discovers - multiple CIDRs with matching CIDRs, IPAM will randomly import one of - them only. - - A locale must be set on the pool for this feature to work. - """ - publicly_advertisable: bool | None = ... - """ - Determines if the pool is publicly advertisable. The request can only - contain `PubliclyAdvertisable` if `AddressFamily` is `ipv6` and - `PublicIpSource` is `byoip`. - """ - allocation_min_netmask_length: int | None = ... - """ - The minimum netmask length required for CIDR allocations in this IPAM - pool to be compliant. The minimum netmask length must be less than the - maximum netmask length. Possible netmask lengths for IPv4 addresses are - 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. - """ - allocation_max_netmask_length: int | None = ... - """ - The maximum netmask length possible for CIDR allocations in this IPAM - pool to be compliant. The maximum netmask length must be greater than - the minimum netmask length. Possible netmask lengths for IPv4 addresses - are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. - """ - allocation_default_netmask_length: int | None = ... - """ - The default netmask length for allocations added to this pool. If, for - example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 - here, new allocations will default to 10.0.0.0/16. - """ - allocation_resource_tags: list[RequestIpamResourceTag] | None = ... - """ - Tags that are required for resources that use CIDRs from this IPAM pool. - Resources that do not have these tags will not be allowed to allocate - space from the pool. If the resources have their tags changed after they - have allocated space or if the allocation tagging requirements are - changed on the pool, the resource may be marked as noncompliant. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - 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 `Owner` and - the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` - for the filter value. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - aws_service: str | None = ... - """ - Limits which service in Amazon Web Services that the pool can be used - in. \"ec2\", for example, allows users to use space for Elastic IP - addresses and VPCs. - """ - public_ip_source: str | None = ... - """ - The IP address source for pools in the public scope. Only used for - provisioning IP address CIDRs to pools in the public scope. Default is - `byoip`. For more information, see [Create IPv6 - pools](https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html) - in the *Amazon VPC IPAM User Guide*. By default, you can add only one - Amazon-provided IPv6 CIDR block to a top-level IPv6 pool if - PublicIpSource is `amazon`. For information on increasing the default - limit, see [Quotas for your - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - source_resource: IpamPoolSourceResourceRequest | None = ... - """The resource used to provision CIDRs to a resource planning pool.""" - -@dataclass(kw_only=True) -class CreateIpamPoolOutput(_SerdeShape): - """Dataclass for CreateIpamPoolOutput structure.""" - - ipam_pool: IpamPool | None = ... - """Information about the IPAM pool created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamPrefixListResolverInput(_SerdeShape): - """Dataclass for CreateIpamPrefixListResolverInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """ - The ID of the IPAM that will serve as the source of the IP address - database for CIDR selection. The IPAM must be in the Advanced tier to - use this feature. - """ - description: str | None = ... - """ - A description for the IPAM prefix list resolver to help you identify its - purpose and configuration. - """ - address_family: str | None = ... - """ - The address family for the IPAM prefix list resolver. Valid values are - `ipv4` and `ipv6`. You must create separate resolvers for IPv4 and IPv6 - CIDRs as they cannot be mixed in the same resolver. - """ - rules: list[IpamPrefixListResolverRuleRequest] | None = ... - """ - The CIDR selection rules for the resolver. - - CIDR selection rules define the business logic for selecting CIDRs from - IPAM. If a CIDR matches any of the rules, it will be included. If a rule - has multiple conditions, the CIDR has to match every condition of that - rule. You can create a prefix list resolver without any CIDR selection - rules, but it will generate empty versions (containing no CIDRs) until - you add rules. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the IPAM prefix list resolver during creation. Tags - help you organize and manage your Amazon Web Services resources. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateIpamPrefixListResolverOutput(_SerdeShape): - """Dataclass for CreateIpamPrefixListResolverOutput structure.""" - - ipam_prefix_list_resolver: IpamPrefixListResolver | None = ... - """Information about the IPAM prefix list resolver that was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamPrefixListResolverTargetInput(_SerdeShape): - """Dataclass for CreateIpamPrefixListResolverTargetInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_prefix_list_resolver_id: str | None = ... - """ - The ID of the IPAM prefix list resolver that will manage the - synchronization of CIDRs to the target prefix list. - """ - prefix_list_id: str | None = ... - """ - The ID of the managed prefix list that will be synchronized with CIDRs - selected by the IPAM prefix list resolver. This prefix list becomes an - IPAM managed prefix list. - - An IPAM-managed prefix list is a customer-managed prefix list that has - been associated with an IPAM prefix list resolver target. When a prefix - list becomes IPAM managed, its CIDRs are automatically synchronized - based on the IPAM prefix list resolver's CIDR selection rules, and - direct CIDR modifications are restricted. - """ - prefix_list_region: str | None = ... - """ - The Amazon Web Services Region where the prefix list is located. This is - required when referencing a prefix list in a different Region. - """ - desired_version: int | None = ... - """ - The specific version of the prefix list to target. If not specified, the - resolver will target the latest version. - """ - track_latest_version: bool | None = ... - """ - Indicates whether the resolver target should automatically track the - latest version of the prefix list. When enabled, the target will always - synchronize with the most current version of the prefix list. - - Choose this for automatic updates when you want your prefix lists to - stay current with infrastructure changes without manual intervention. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the IPAM prefix list resolver target during - creation. Tags help you organize and manage your Amazon Web Services - resources. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateIpamPrefixListResolverTargetOutput(_SerdeShape): - """Dataclass for CreateIpamPrefixListResolverTargetOutput structure.""" - - ipam_prefix_list_resolver_target: IpamPrefixListResolverTarget | None = ... - """Information about the IPAM prefix list resolver target that was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamResourceDiscoveryInput(_SerdeShape): - """Dataclass for CreateIpamResourceDiscoveryInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - description: str | None = ... - """A description for the IPAM resource discovery.""" - operating_regions: list[AddIpamOperatingRegion] | None = ... - """ - Operating Regions for the IPAM resource discovery. Operating Regions are - Amazon Web Services Regions where the IPAM is allowed to manage IP - address CIDRs. IPAM only discovers and monitors resources in the Amazon - Web Services Regions you select as operating Regions. - """ - tag_specifications: list[TagSpecification] | None = ... - """Tag specifications for the IPAM resource discovery.""" - client_token: str | None = ... - """A client token for the IPAM resource discovery.""" - -@dataclass(kw_only=True) -class CreateIpamResourceDiscoveryOutput(_SerdeShape): - """Dataclass for CreateIpamResourceDiscoveryOutput structure.""" - - ipam_resource_discovery: IpamResourceDiscovery | None = ... - """An IPAM resource discovery.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamRoutingPolicyRegistrationInput(_SerdeShape): - """Dataclass for CreateIpamRoutingPolicyRegistrationInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association.""" - cidr: str | None = ... - """The IP address prefix in CIDR notation to authorize in the ROA.""" - asns: list[str] | None = ... - """The Autonomous System Numbers (ASNs) authorized to originate the prefix.""" - permit_more_specific_announcements: bool | None = ... - """ - Specifies whether to permit more specific route announcements than the - CIDR prefix. When enabled, ASNs can announce sub-prefixes of the - authorized CIDR up to the specified maximum length. Default: `false`. - """ - max_length: int | None = ... - """ - The maximum prefix length that the ASNs are authorized to announce. Must - be greater than or equal to the prefix length of the CIDR. If not - specified, defaults to the prefix length of the CIDR (exact match only). - """ - description: str | None = ... - """A description for the routing policy registration.""" - force: bool | None = ... - """ - Forces the creation of the routing policy registration even if it - conflicts with an announced route. Default: `false`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, the operation ignores the request, but does not return an - error. - """ - -@dataclass(kw_only=True) -class CreateIpamRoutingPolicyRegistrationOutput(_SerdeShape): - """Dataclass for CreateIpamRoutingPolicyRegistrationOutput structure.""" - - ipam_routing_policy_registration_delta: ( - IpamRoutingPolicyRegistrationDelta | None - ) = ... - """ - Information about the routing policy registration delta created by this - operation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIpamScopeInput(_SerdeShape): - """Dataclass for CreateIpamScopeInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """The ID of the IPAM for which you're creating this scope.""" - description: str | None = ... - """A description for the scope you're creating.""" - tag_specifications: list[TagSpecification] | None = ... - """ - 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 `Owner` and - the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` - for the filter value. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - external_authority_configuration: ExternalAuthorityConfiguration | None = ... - """ - The configuration that links an Amazon VPC IPAM scope to an external - authority system. It specifies the type of external system and the - external resource identifier that identifies your account or instance in - that system. - - In IPAM, an external authority is a third-party IP address management - system that provides CIDR blocks when you provision address space for - top-level IPAM pools. This allows you to use your existing IP management - system to control which address ranges are allocated to Amazon Web - Services while using Amazon VPC IPAM to manage subnets within those - ranges. - """ - -@dataclass(kw_only=True) -class CreateIpamScopeOutput(_SerdeShape): - """Dataclass for CreateIpamScopeOutput structure.""" - - ipam_scope: IpamScope | None = ... - """Information about the created scope.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateKeyPairInput(_SerdeShape): - """Dataclass for CreateKeyPairInput structure.""" - - key_name: str | None = ... - """ - A unique name for the key pair. - - Constraints: Up to 255 ASCII characters - """ - key_type: str | None = ... - """ - The type of key pair. Note that ED25519 keys are not supported for - Windows instances. - - Default: `rsa` - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the new key pair.""" - key_format: str | None = ... - """ - The format of the key pair. - - Default: `pem` - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateKeyPairOutput(_SerdeShape): - """Describes a key pair.""" - - key_pair_id: str | None = ... - """The ID of the key pair.""" - tags: list[Tag] | None = ... - """Any tags applied to the key pair.""" - key_name: str | None = ... - """The name of the key pair.""" - key_fingerprint: str | None = ... - """ - - For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER - encoded private key. - - - For ED25519 key pairs, the key fingerprint is the base64-encoded - SHA-256 digest, which is the default for OpenSSH, starting with - OpenSSH 6.8. - """ - key_material: str | None = ... - """An unencrypted PEM encoded RSA or ED25519 private key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateLaunchTemplateInput(_SerdeShape): - """Dataclass for CreateLaunchTemplateInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier you provide to ensure the idempotency - of the request. If a client token isn't specified, a randomly generated - token is used in the request to ensure idempotency. - - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - - Constraint: Maximum 128 ASCII characters. - """ - launch_template_name: str | None = ... - """A name for the launch template.""" - version_description: str | None = ... - """A description for the first version of the launch template.""" - launch_template_data: RequestLaunchTemplateData | None = ... - """The information for the launch template.""" - operator: OperatorRequest | None = ... - """Reserved for internal use.""" - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the launch template on creation. To tag the launch - template, the resource type must be `launch-template`. - - To specify the tags for the resources that are created when an instance - is launched, you must use the `TagSpecifications` parameter in the - [launch template - data](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html) - structure. - """ - -@dataclass(kw_only=True) -class CreateLaunchTemplateOutput(_SerdeShape): - """Dataclass for CreateLaunchTemplateOutput structure.""" - - launch_template: LaunchTemplate | None = ... - """Information about the launch template.""" - warning: ValidationWarning | None = ... - """ - If the launch template contains parameters or parameter combinations - that are not valid, an error code and an error message are returned for - each issue that's found. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateLaunchTemplateVersionInput(_SerdeShape): - """Dataclass for CreateLaunchTemplateVersionInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier you provide to ensure the idempotency - of the request. If a client token isn't specified, a randomly generated - token is used in the request to ensure idempotency. - - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - - Constraint: Maximum 128 ASCII characters. - """ - launch_template_id: str | None = ... - """ - The ID of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - launch_template_name: str | None = ... - """ - The name of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - source_version: str | None = ... - """ - The version of the launch template on which to base the new version. - Snapshots applied to the block device mapping are ignored when creating - a new version unless they are explicitly included. - - If you specify this parameter, the new version inherits the launch - parameters from the source version. If you specify additional launch - parameters for the new version, they overwrite any corresponding launch - parameters inherited from the source version. - - If you omit this parameter, the new version contains only the launch - parameters that you specify for the new version. - """ - version_description: str | None = ... - """A description for the version of the launch template.""" - launch_template_data: RequestLaunchTemplateData | None = ... - """The information for the launch template.""" - resolve_alias: bool | None = ... - """ - If `true`, and if a Systems Manager parameter is specified for - `ImageId`, the AMI ID is displayed in the response for `imageID`. For - more information, see [Use a Systems Manager parameter instead of an AMI - ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) - in the *Amazon EC2 User Guide*. - - Default: `false` - """ - -@dataclass(kw_only=True) -class CreateLaunchTemplateVersionOutput(_SerdeShape): - """Dataclass for CreateLaunchTemplateVersionOutput structure.""" - - launch_template_version: LaunchTemplateVersion | None = ... - """Information about the launch template version.""" - warning: ValidationWarning | None = ... - """ - If the new version of the launch template contains parameters or - parameter combinations that are not valid, an error code and an error - message are returned for each issue that's found. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayRouteInput(_SerdeShape): - """Dataclass for CreateLocalGatewayRouteInput structure.""" - - destination_cidr_block: str | None = ... - """ - The CIDR range used for destination matches. Routing decisions are based - on the most specific match. - """ - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - local_gateway_virtual_interface_group_id: str | None = ... - """The ID of the virtual interface group.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_interface_id: str | None = ... - """The ID of the network interface.""" - destination_prefix_list_id: str | None = ... - """ - The ID of the prefix list. Use a prefix list in place of - `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and - `DestinationCidrBlock` in the same request. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayRouteOutput(_SerdeShape): - """Dataclass for CreateLocalGatewayRouteOutput structure.""" - - route: LocalGatewayRoute | None = ... - """Information about the route.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayRouteTableInput(_SerdeShape): - """Dataclass for CreateLocalGatewayRouteTableInput structure.""" - - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - mode: str | None = ... - """The mode of the local gateway route table.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags assigned to the local gateway route table.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayRouteTableOutput(_SerdeShape): - """Dataclass for CreateLocalGatewayRouteTableOutput structure.""" - - local_gateway_route_table: LocalGatewayRouteTable | None = ... - """Information about the local gateway route table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput(_SerdeShape): - """ - Dataclass for - CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput - structure. - """ - - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - local_gateway_virtual_interface_group_id: str | None = ... - """ - The ID of the local gateway route table virtual interface group - association. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags assigned to the local gateway route table virtual interface - group association. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput(_SerdeShape): - """ - Dataclass for - CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput - structure. - """ - - local_gateway_route_table_virtual_interface_group_association: ( - LocalGatewayRouteTableVirtualInterfaceGroupAssociation | None - ) = ... - """ - Information about the local gateway route table virtual interface group - association. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayRouteTableVpcAssociationInput(_SerdeShape): - """Dataclass for CreateLocalGatewayRouteTableVpcAssociationInput structure.""" - - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the local gateway route table VPC association.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayRouteTableVpcAssociationOutput(_SerdeShape): - """ - Dataclass for CreateLocalGatewayRouteTableVpcAssociationOutput - structure. - """ - - local_gateway_route_table_vpc_association: ( - LocalGatewayRouteTableVpcAssociation | None - ) = ... - """Information about the association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayVirtualInterfaceGroupInput(_SerdeShape): - """Dataclass for CreateLocalGatewayVirtualInterfaceGroupInput structure.""" - - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - local_bgp_asn: int | None = ... - """ - The Autonomous System Number(ASN) for the local Border Gateway Protocol - (BGP). - """ - local_bgp_asn_extended: int | None = ... - """The extended 32-bit ASN for the local BGP configuration.""" - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the local gateway virtual interface group when the - resource is being created. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayVirtualInterfaceGroupOutput(_SerdeShape): - """Dataclass for CreateLocalGatewayVirtualInterfaceGroupOutput structure.""" - - local_gateway_virtual_interface_group: ( - LocalGatewayVirtualInterfaceGroup | None - ) = ... - """Information about the created local gateway virtual interface group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateLocalGatewayVirtualInterfaceInput(_SerdeShape): - """Dataclass for CreateLocalGatewayVirtualInterfaceInput structure.""" - - local_gateway_virtual_interface_group_id: str | None = ... - """The ID of the local gateway virtual interface group.""" - outpost_lag_id: str | None = ... - """ - References the Link Aggregation Group (LAG) that connects the Outpost to - on-premises network devices. - """ - vlan: int | None = ... - """ - The virtual local area network (VLAN) used for the local gateway virtual - interface. - """ - local_address: str | None = ... - """ - The IP address assigned to the local gateway virtual interface on the - Outpost side. Only IPv4 is supported. - """ - peer_address: str | None = ... - """ - The peer IP address for the local gateway virtual interface. Only IPv4 - is supported. - """ - peer_bgp_asn: int | None = ... - """ - The Autonomous System Number (ASN) of the Border Gateway Protocol (BGP) - peer. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to a resource when the local gateway virtual interface - is being created. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - peer_bgp_asn_extended: int | None = ... - """The extended 32-bit ASN of the BGP peer for use with larger ASN values.""" - -@dataclass(kw_only=True) -class CreateLocalGatewayVirtualInterfaceOutput(_SerdeShape): - """Dataclass for CreateLocalGatewayVirtualInterfaceOutput structure.""" - - local_gateway_virtual_interface: LocalGatewayVirtualInterface | None = ... - """Information about the local gateway virtual interface.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateMacSystemIntegrityProtectionModificationTaskInput(_SerdeShape): - """ - Dataclass for CreateMacSystemIntegrityProtectionModificationTaskInput - structure. - """ - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the Amazon EC2 Mac instance.""" - mac_credentials: str | None = ... - """ - **[Apple silicon Mac instances only]** Specifies the following - credentials: - - - **Internal disk administrative user** - - - **Username** - Only the default administrative user - (`aws-managed-user`) is supported and it is used by default. You - can't specify a different administrative user. - - - **Password** - If you did not change the default password for - `aws-managed-user`, specify the default password, which is *blank*. - Otherwise, specify your password. - - - **Amazon EBS root volume administrative user** - - - **Username** - If you did not change the default administrative - user, specify `ec2-user`. Otherwise, specify the username for your - administrative user. - - - **Password** - Specify the password for the administrative user. - - The credentials must be specified in the following JSON format: - - `{ "internalDiskPassword":"`*`internal-disk-admin_password`*`", "rootVolumeUsername":"`*`root-volume-admin_username`*`", "rootVolumepassword":"`*`root-volume-admin_password`*`" }` - """ - mac_system_integrity_protection_configuration: ( - MacSystemIntegrityProtectionConfigurationRequest | None - ) = ... - """ - Specifies the overrides to selectively enable or disable individual SIP - settings. The individual settings you specify here override the overall - SIP status you specify for **MacSystemIntegrityProtectionStatus**. - """ - mac_system_integrity_protection_status: str | None = ... - """ - Specifies the overall SIP status for the instance. To enable all SIP - settings, specify `enabled`. To disable all SIP settings, specify - `disabled`. - """ - tag_specifications: list[TagSpecification] | None = ... - """Specifies tags to apply to the SIP modification task.""" - -@dataclass(kw_only=True) -class CreateMacSystemIntegrityProtectionModificationTaskOutput(_SerdeShape): - """ - Dataclass for CreateMacSystemIntegrityProtectionModificationTaskOutput - structure. - """ - - mac_modification_task: MacModificationTask | None = ... - """Information about the SIP modification task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateManagedPrefixListInput(_SerdeShape): - """Dataclass for CreateManagedPrefixListInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - prefix_list_name: str | None = ... - """ - A name for the prefix list. - - Constraints: Up to 255 characters in length. The name cannot start with - `com.amazonaws`. - """ - entries: list[AddPrefixListEntry] | None = ... - """One or more entries for the prefix list.""" - max_entries: int | None = ... - """The maximum number of entries for the prefix list.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the prefix list during creation.""" - address_family: str | None = ... - """ - The IP address type. - - Valid Values: `IPv4` | `IPv6` - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier you provide to ensure the idempotency - of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - - Constraints: Up to 255 UTF-8 characters in length. - """ - -@dataclass(kw_only=True) -class CreateManagedPrefixListOutput(_SerdeShape): - """Dataclass for CreateManagedPrefixListOutput structure.""" - - prefix_list: ManagedPrefixList | None = ... - """Information about the prefix list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateNatGatewayInput(_SerdeShape): - """Dataclass for CreateNatGatewayInput structure.""" - - availability_mode: str | None = ... - """ - Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) - NAT gateway. Defaults to `zonal`. - - A zonal NAT gateway is a NAT Gateway that provides redundancy and - scalability within a single availability zone. A regional NAT gateway is - a single NAT Gateway that works across multiple availability zones (AZs) - in your VPC, providing redundancy, scalability and availability across - all the AZs in a Region. - - For more information, see [Regional NAT gateways for automatic multi-AZ - expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) - in the *Amazon VPC User Guide*. - """ - allocation_id: str | None = ... - """ - [Public NAT gateways only] The allocation ID of an Elastic IP address - to associate with the NAT gateway. You cannot specify an Elastic IP - address with a private NAT gateway. If the Elastic IP address is - associated with another resource, you must first disassociate it. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - - Constraint: Maximum 64 ASCII characters. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - subnet_id: str | None = ... - """The ID of the subnet in which to create the NAT gateway.""" - vpc_id: str | None = ... - """The ID of the VPC where you want to create a regional NAT gateway.""" - availability_zone_addresses: list[AvailabilityZoneAddress] | None = ... - """ - For regional NAT gateways only: Specifies which Availability Zones you - want the NAT gateway to support and the Elastic IP addresses (EIPs) to - use in each AZ. The regional NAT gateway uses these EIPs to handle - outbound NAT traffic from their respective AZs. If not specified, the - NAT gateway will automatically expand to new AZs and associate EIPs upon - detection of an elastic network interface. If you specify this - parameter, auto-expansion is disabled and you must manually manage AZ - coverage. - - A regional NAT gateway is a single NAT Gateway that works across - multiple availability zones (AZs) in your VPC, providing redundancy, - scalability and availability across all the AZs in a Region. - - For more information, see [Regional NAT gateways for automatic multi-AZ - expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) - in the *Amazon VPC User Guide*. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the NAT gateway.""" - connectivity_type: str | None = ... - """ - Indicates whether the NAT gateway supports public or private - connectivity. The default is public connectivity. - """ - private_ip_address: str | None = ... - """ - The private IPv4 address to assign to the NAT gateway. If you don't - provide an address, a private IPv4 address will be automatically - assigned. - """ - secondary_allocation_ids: list[str] | None = ... - """ - Secondary EIP allocation IDs. For more information, see [Create a NAT - gateway](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html) - in the *Amazon VPC User Guide*. - """ - secondary_private_ip_addresses: list[str] | None = ... - """ - Secondary private IPv4 addresses. For more information about secondary - addresses, see [Create a NAT - gateway](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html) - in the *Amazon VPC User Guide*. - """ - secondary_private_ip_address_count: int | None = ... - """ - [Private NAT gateway only] The number of secondary private IPv4 - addresses you want to assign to the NAT gateway. For more information - about secondary addresses, see [Create a NAT - gateway](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html) - in the *Amazon VPC User Guide*. - """ - -@dataclass(kw_only=True) -class CreateNatGatewayOutput(_SerdeShape): - """Dataclass for CreateNatGatewayOutput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier to ensure the idempotency of the - request. Only returned if a client token was provided in the request. - """ - nat_gateway: NatGateway | None = ... - """Information about the NAT gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateNetworkAclEntryInput(_SerdeShape): - """Dataclass for CreateNetworkAclEntryInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_acl_id: str | None = ... - """The ID of the network ACL.""" - rule_number: int | None = ... - """ - The rule number for the entry (for example, 100). ACL entries are - processed in ascending order by rule number. - - Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 - is reserved for internal use. - """ - protocol: str | None = ... - """ - The protocol number. A value of \"-1\" means all protocols. If you - specify \"-1\" or a protocol number other than \"6\" (TCP), \"17\" - (UDP), or \"1\" (ICMP), traffic on all ports is allowed, regardless of - any ports or ICMP types or codes that you specify. If you specify - protocol \"58\" (ICMPv6) and specify an IPv4 CIDR block, traffic for all - ICMP types and codes allowed, regardless of any that you specify. If you - specify protocol \"58\" (ICMPv6) and specify an IPv6 CIDR block, you - must specify an ICMP type and code. - """ - rule_action: str | None = ... - """Indicates whether to allow or deny the traffic that matches the rule.""" - egress: bool | None = ... - """ - Indicates whether this is an egress rule (rule is applied to traffic - leaving the subnet). - """ - cidr_block: str | None = ... - """ - The IPv4 network range to allow or deny, in CIDR notation (for example - `172.16.0.0/24`). We modify the specified CIDR block to its canonical - form; for example, if you specify `100.68.0.18/18`, we modify it to - `100.68.0.0/18`. - """ - ipv6_cidr_block: str | None = ... - """ - The IPv6 network range to allow or deny, in CIDR notation (for example - `2001:db8:1234:1a00::/64`). - """ - icmp_type_code: IcmpTypeCode | None = ... - """ - ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying - protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block. - """ - port_range: PortRange | None = ... - """ - TCP or UDP protocols: The range of ports the rule applies to. Required - if specifying protocol 6 (TCP) or 17 (UDP). - """ - -@dataclass(kw_only=True) -class CreateNetworkAclEntryOutput(_SerdeShape): - """Dataclass for CreateNetworkAclEntryOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateNetworkAclInput(_SerdeShape): - """Dataclass for CreateNetworkAclInput structure.""" - - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the network ACL.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class CreateNetworkAclOutput(_SerdeShape): - """Dataclass for CreateNetworkAclOutput structure.""" - - network_acl: NetworkAcl | None = ... - """Information about the network ACL.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier to ensure the idempotency of the - request. Only returned if a client token was provided in the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateNetworkInsightsAccessScopeInput(_SerdeShape): - """Dataclass for CreateNetworkInsightsAccessScopeInput structure.""" - - match_paths: list[AccessScopePathRequest] | None = ... - """The paths to match.""" - exclude_paths: list[AccessScopePathRequest] | None = ... - """The paths to exclude.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateNetworkInsightsAccessScopeOutput(_SerdeShape): - """Dataclass for CreateNetworkInsightsAccessScopeOutput structure.""" - - network_insights_access_scope: NetworkInsightsAccessScope | None = ... - """The Network Access Scope.""" - network_insights_access_scope_content: ( - NetworkInsightsAccessScopeContent | None - ) = ... - """The Network Access Scope content.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateNetworkInsightsPathInput(_SerdeShape): - """Dataclass for CreateNetworkInsightsPathInput structure.""" - - source_ip: str | None = ... - """The IP address of the source.""" - destination_ip: str | None = ... - """The IP address of the destination.""" - source: str | None = ... - """ - The ID or ARN of the source. If the resource is in another account, you - must specify an ARN. - """ - destination: str | None = ... - """ - The ID or ARN of the destination. If the resource is in another account, - you must specify an ARN. - """ - protocol: str | None = ... - """The protocol.""" - destination_port: int | None = ... - """The destination port.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to add to the path.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - filter_at_source: PathRequestFilter | None = ... - """ - Scopes the analysis to network paths that match specific filters at the - source. If you specify this parameter, you can't specify the parameters - for the source IP address or the destination port. - """ - filter_at_destination: PathRequestFilter | None = ... - """ - Scopes the analysis to network paths that match specific filters at the - destination. If you specify this parameter, you can't specify the - parameter for the destination IP address. - """ - -@dataclass(kw_only=True) -class CreateNetworkInsightsPathOutput(_SerdeShape): - """Dataclass for CreateNetworkInsightsPathOutput structure.""" - - network_insights_path: NetworkInsightsPath | None = ... - """Information about the path.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateNetworkInterfaceInput(_SerdeShape): - """Dataclass for CreateNetworkInterfaceInput structure.""" - - ipv4_prefixes: list[Ipv4PrefixSpecificationRequest] | None = ... - """ - The IPv4 prefixes assigned to the network interface. - - You can't specify IPv4 prefixes if you've specified one of the - following: a count of IPv4 prefixes, specific private IPv4 addresses, or - a count of private IPv4 addresses. - """ - ipv4_prefix_count: int | None = ... - """ - The number of IPv4 prefixes that Amazon Web Services automatically - assigns to the network interface. - - You can't specify a count of IPv4 prefixes if you've specified one of - the following: specific IPv4 prefixes, specific private IPv4 addresses, - or a count of private IPv4 addresses. - """ - ipv6_prefixes: list[Ipv6PrefixSpecificationRequest] | None = ... - """ - The IPv6 prefixes assigned to the network interface. - - You can't specify IPv6 prefixes if you've specified one of the - following: a count of IPv6 prefixes, specific IPv6 addresses, or a count - of IPv6 addresses. - """ - ipv6_prefix_count: int | None = ... - """ - The number of IPv6 prefixes that Amazon Web Services automatically - assigns to the network interface. - - You can't specify a count of IPv6 prefixes if you've specified one of - the following: specific IPv6 prefixes, specific IPv6 addresses, or a - count of IPv6 addresses. - """ - interface_type: str | None = ... - """ - The type of network interface. The default is `interface`. - - If you specify `efa-only`, do not assign any IP addresses to the network - interface. EFA-only network interfaces do not support IP addresses. - - The only supported values are `interface`, `efa`, `efa-only`, and - `trunk`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the new network interface.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - enable_primary_ipv6: bool | None = ... - """ - If you're creating a network interface in a dual-stack or IPv6-only - subnet, you have the option to assign a primary IPv6 IP address. A - primary IPv6 address is an IPv6 GUA address associated with an ENI that - you have enabled to use a primary IPv6 address. Use this option if the - instance that this ENI will be attached to relies on its IPv6 address - not changing. Amazon Web Services will automatically assign an IPv6 - address associated with the ENI attached to your instance to be the - primary IPv6 address. Once you enable an IPv6 GUA address to be a - primary IPv6, you cannot disable it. When you enable an IPv6 GUA address - to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 - address until the instance is terminated or the network interface is - detached. If you have multiple IPv6 addresses associated with an ENI - attached to your instance and you enable a primary IPv6 address, the - first IPv6 GUA address associated with the ENI becomes the primary IPv6 - address. - """ - connection_tracking_specification: ( - ConnectionTrackingSpecificationRequest | None - ) = ... - """A connection tracking specification for the network interface.""" - operator: OperatorRequest | None = ... - """Reserved for internal use.""" - subnet_id: str | None = ... - """The ID of the subnet to associate with the network interface.""" - description: str | None = ... - """A description for the network interface.""" - private_ip_address: str | None = ... - """ - The primary private IPv4 address of the network interface. If you don't - specify an IPv4 address, Amazon EC2 selects one for you from the - subnet's IPv4 CIDR range. If you specify an IP address, you cannot - indicate any IP addresses specified in `privateIpAddresses` as primary - (only one IP address can be designated as primary). - """ - groups: list[str] | None = ... - """The IDs of the security groups.""" - private_ip_addresses: list[PrivateIpAddressSpecification] | None = ... - """ - The private IPv4 addresses. - - You can't specify private IPv4 addresses if you've specified one of - the following: a count of private IPv4 addresses, specific IPv4 - prefixes, or a count of IPv4 prefixes. - """ - secondary_private_ip_address_count: int | None = ... - """ - The number of secondary private IPv4 addresses to assign to a network - interface. When you specify a number of secondary IPv4 addresses, Amazon - EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You - can't specify this option and specify more than one private IP address - using `privateIpAddresses`. - - You can't specify a count of private IPv4 addresses if you've - specified one of the following: specific private IPv4 addresses, - specific IPv4 prefixes, or a count of IPv4 prefixes. - """ - ipv6_addresses: list[InstanceIpv6Address] | None = ... - """ - The IPv6 addresses from the IPv6 CIDR block range of your subnet. - - You can't specify IPv6 addresses using this parameter if you've - specified one of the following: a count of IPv6 addresses, specific IPv6 - prefixes, or a count of IPv6 prefixes. - """ - ipv6_address_count: int | None = ... - """ - The number of IPv6 addresses to assign to a network interface. Amazon - EC2 automatically selects the IPv6 addresses from the subnet range. - - You can't specify a count of IPv6 addresses using this parameter if - you've specified one of the following: specific IPv6 addresses, - specific IPv6 prefixes, or a count of IPv6 prefixes. - - If your subnet has the `AssignIpv6AddressOnCreation` attribute set, you - can override that setting by specifying 0 as the IPv6 address count. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateNetworkInterfaceOutput(_SerdeShape): - """Dataclass for CreateNetworkInterfaceOutput structure.""" - - network_interface: NetworkInterface | None = ... - """Information about the network interface.""" - client_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateNetworkInterfacePermissionInput(_SerdeShape): - """Contains the parameters for CreateNetworkInterfacePermission.""" - - network_interface_id: str | None = ... - """The ID of the network interface.""" - aws_account_id: str | None = ... - """The Amazon Web Services account ID.""" - aws_service: str | None = ... - """The Amazon Web Services service. Currently not supported.""" - permission: str | None = ... - """The type of permission to grant.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateNetworkInterfacePermissionOutput(_SerdeShape): - """Contains the output of CreateNetworkInterfacePermission.""" - - interface_permission: NetworkInterfacePermission | None = ... - """Information about the permission for the network interface.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePlacementGroupInput(_SerdeShape): - """Dataclass for CreatePlacementGroupInput structure.""" - - partition_count: int | None = ... - """ - The number of partitions. Valid only when **Strategy** is set to - `partition`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the new placement group.""" - spread_level: str | None = ... - """ - Determines how placement groups spread instances. - - - Host -- You can use `host` only with Outpost placement groups. - - - Rack -- No usage restrictions. - """ - linked_group_id: str | None = ... - """Reserved for future use.""" - operator: OperatorRequest | None = ... - """Reserved for internal use.""" - parent_group_id: str | None = ... - """ - The ID of a parent placement group. Valid only when **Strategy** is set - to `cluster`. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - group_name: str | None = ... - """ - A name for the placement group. Must be unique within the scope of your - account for the Region. - - Constraints: Up to 255 ASCII characters - """ - strategy: str | None = ... - """The placement strategy.""" - -@dataclass(kw_only=True) -class CreatePlacementGroupOutput(_SerdeShape): - """Dataclass for CreatePlacementGroupOutput structure.""" - - placement_group: PlacementGroup | None = ... - """Information about the placement group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePublicIpv4PoolInput(_SerdeShape): - """Dataclass for CreatePublicIpv4PoolInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - 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 `Owner` and - the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` - for the filter value. - """ - network_border_group: str | None = ... - """ - The Availability Zone (AZ) or Local Zone (LZ) network border group that - the resource that the IP address is assigned to is in. Defaults to an AZ - network border group. For more information on available Local Zones, see - [Local Zone - availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class CreatePublicIpv4PoolOutput(_SerdeShape): - """Dataclass for CreatePublicIpv4PoolOutput structure.""" - - pool_id: str | None = ... - """The ID of the public IPv4 pool.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateReplaceRootVolumeTaskInput(_SerdeShape): - """Dataclass for CreateReplaceRootVolumeTaskInput structure.""" - - instance_id: str | None = ... - """The ID of the instance for which to replace the root volume.""" - snapshot_id: str | None = ... - """ - The ID of the snapshot from which to restore the replacement root - volume. The specified snapshot must be a snapshot that you previously - created from the original root volume. - - If you want to restore the replacement root volume to the initial launch - state, if you want to restore the replacement root volume from an AMI, - or if you want to replace the root volume with a specified volume, omit - this parameter. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier you provide to ensure the idempotency - of the request. If you do not specify a client token, a randomly - generated token is used for the request to ensure idempotency. For more - information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the root volume replacement task.""" - image_id: str | None = ... - """ - The ID of the AMI to use to restore the root volume. The specified AMI - must have the same product code, billing information, architecture type, - and virtualization type as that of the instance. - - If you want to restore the replacement volume from a specific snapshot, - if you want to restore it to its launch state, or if you want to replace - the root volume with a specified volume, omit this parameter. - """ - delete_replaced_root_volume: bool | None = ... - """ - Indicates whether to automatically delete the original root volume after - the root volume replacement task completes. To delete the original root - volume, specify `true`. If you choose to keep the original root volume - after the replacement task completes, you must manually delete it when - you no longer need it. - """ - volume_initialization_rate: int | None = ... - """ - Specifies the Amazon EBS Provisioned Rate for Volume Initialization - (volume initialization rate), in MiB/s, at which to download the - snapshot blocks from Amazon S3 to the replacement root volume. This is - also known as *volume initialization*. Specifying a volume - initialization rate ensures that the volume is initialized at a - predictable and consistent rate after creation. - - Omit this parameter if: - - - You want to create the volume using fast snapshot restore. You must - specify a snapshot that is enabled for fast snapshot restore. In this - case, the volume is fully initialized at creation. - - Note: - If you specify a snapshot that is enabled for fast snapshot restore - and a volume initialization rate, the volume will be initialized at - the specified rate instead of fast snapshot restore. - - - You want to create a volume that is initialized at the default rate. - - For more information, see [Initialize Amazon EBS - volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) - in the *Amazon EC2 User Guide*. - - Valid range: 100 - 300 MiB/s - """ - volume_id: str | None = ... - """ - The ID of the volume to use as the replacement root volume. The - specified volume must be in the same Availability Zone as the instance, - must be in the `available` state, and must not be attached to an - instance. If the original root volume is encrypted, the specified volume - must also be encrypted. - - If you want to restore the replacement root volume from a specific - snapshot, an AMI, or to its launch state, omit this parameter. - """ - -@dataclass(kw_only=True) -class CreateReplaceRootVolumeTaskOutput(_SerdeShape): - """Dataclass for CreateReplaceRootVolumeTaskOutput structure.""" - - replace_root_volume_task: ReplaceRootVolumeTask | None = ... - """Information about the root volume replacement task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateReservedInstancesListingInput(_SerdeShape): - """Contains the parameters for CreateReservedInstancesListing.""" - - reserved_instances_id: str | None = ... - """The ID of the active Standard Reserved Instance.""" - instance_count: int | None = ... - """ - The number of instances that are a part of a Reserved Instance account - to be listed in the Reserved Instance Marketplace. This number should be - less than or equal to the instance count associated with the Reserved - Instance ID specified in this call. - """ - price_schedules: list[PriceScheduleSpecification] | None = ... - """ - A list specifying the price of the Standard Reserved Instance for each - month remaining in the Reserved Instance term. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier you provide to ensure idempotency of - your listings. This helps avoid duplicate listings. For more - information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateReservedInstancesListingOutput(_SerdeShape): - """Contains the output of CreateReservedInstancesListing.""" - - reserved_instances_listings: list[ReservedInstancesListing] | None = ... - """Information about the Standard Reserved Instance listing.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRestoreImageTaskInput(_SerdeShape): - """Dataclass for CreateRestoreImageTaskInput structure.""" - - bucket: str | None = ... - """The name of the Amazon S3 bucket that contains the stored AMI object.""" - object_key: str | None = ... - """The name of the stored AMI object in the bucket.""" - name: str | None = ... - """ - The name for the restored AMI. The name must be unique for AMIs in the - Region for this account. If you do not provide a name, the new AMI gets - the same name as the original AMI. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the AMI and snapshots on restoration. You can tag - the AMI, the snapshots, or both. - - - To tag the AMI, the value for `ResourceType` must be `image`. - - - To tag the snapshots, the value for `ResourceType` must be `snapshot`. - The same tag is applied to all of the snapshots that are created. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateRestoreImageTaskOutput(_SerdeShape): - """Dataclass for CreateRestoreImageTaskOutput structure.""" - - image_id: str | None = ... - """The AMI ID.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRouteInput(_SerdeShape): - """Dataclass for CreateRouteInput structure.""" - - destination_prefix_list_id: str | None = ... - """The ID of a prefix list used for the destination match.""" - vpc_endpoint_id: str | None = ... - """ - The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints - only. - """ - transit_gateway_id: str | None = ... - """The ID of a transit gateway.""" - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - carrier_gateway_id: str | None = ... - """ - The ID of the carrier gateway. - - You can only use this option when the VPC contains a subnet which is - associated with a Wavelength Zone. - """ - core_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of the core network.""" - odb_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of the ODB network.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - route_table_id: str | None = ... - """The ID of the route table for the route.""" - destination_cidr_block: str | None = ... - """ - The IPv4 CIDR address block used for the destination match. Routing - decisions are based on the most specific match. We modify the specified - CIDR block to its canonical form; for example, if you specify - `100.68.0.18/18`, we modify it to `100.68.0.0/18`. - """ - gateway_id: str | None = ... - """ - The ID of an internet gateway or virtual private gateway attached to - your VPC. - """ - destination_ipv6_cidr_block: str | None = ... - """ - The IPv6 CIDR block used for the destination match. Routing decisions - are based on the most specific match. - """ - egress_only_internet_gateway_id: str | None = ... - """[IPv6 traffic only] The ID of an egress-only internet gateway.""" - instance_id: str | None = ... - """ - The ID of a NAT instance in your VPC. The operation fails if you specify - an instance ID unless exactly one network interface is attached. - """ - network_interface_id: str | None = ... - """The ID of a network interface.""" - vpc_peering_connection_id: str | None = ... - """The ID of a VPC peering connection.""" - nat_gateway_id: str | None = ... - """[IPv4 traffic only] The ID of a NAT gateway.""" - -@dataclass(kw_only=True) -class CreateRouteOutput(_SerdeShape): - """Dataclass for CreateRouteOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRouteServerEndpointInput(_SerdeShape): - """Dataclass for CreateRouteServerEndpointInput structure.""" - - route_server_id: str | None = ... - """The ID of the route server for which to create an endpoint.""" - subnet_id: str | None = ... - """The ID of the subnet in which to create the route server endpoint.""" - client_token: str | None = ... - """Unique, case-sensitive identifier to ensure idempotency of the request.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the route server endpoint during creation.""" - -@dataclass(kw_only=True) -class CreateRouteServerEndpointOutput(_SerdeShape): - """Dataclass for CreateRouteServerEndpointOutput structure.""" - - route_server_endpoint: RouteServerEndpoint | None = ... - """Information about the created route server endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRouteServerInput(_SerdeShape): - """Dataclass for CreateRouteServerInput structure.""" - - amazon_side_asn: int | None = ... - """ - The private Autonomous System Number (ASN) for the Amazon side of the - BGP session. Valid values are from 1 to 4294967295. We recommend using a - private ASN in the 64512--65534 (16-bit ASN) or 4200000000--4294967294 - (32-bit ASN) range. - """ - client_token: str | None = ... - """Unique, case-sensitive identifier to ensure idempotency of the request.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - persist_routes: str | None = ... - """ - Indicates whether routes should be persisted after all BGP sessions are - terminated. - """ - persist_routes_duration: int | None = ... - """ - The number of minutes a route server will wait after BGP is - re-established to unpersist the routes in the FIB and RIB. Value must be - in the range of 1-5. Required if PersistRoutes is `enabled`. - - If you set the duration to 1 minute, then when your network appliance - re-establishes BGP with route server, it has 1 minute to relearn it's - adjacent network and advertise those routes to route server before route - server resumes normal functionality. In most cases, 1 minute is probably - sufficient. If, however, you have concerns that your BGP network may not - be capable of fully re-establishing and re-learning everything in 1 - minute, you can increase the duration up to 5 minutes. - """ - sns_notifications_enabled: bool | None = ... - """ - Indicates whether SNS notifications should be enabled for route server - events. Enabling SNS notifications persists BGP status changes to an SNS - topic provisioned by Amazon Web Services. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the route server during creation.""" - -@dataclass(kw_only=True) -class CreateRouteServerOutput(_SerdeShape): - """Dataclass for CreateRouteServerOutput structure.""" - - route_server: RouteServer | None = ... - """Information about the created route server.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRouteServerPeerInput(_SerdeShape): - """Dataclass for CreateRouteServerPeerInput structure.""" - - route_server_endpoint_id: str | None = ... - """The ID of the route server endpoint for which to create a peer.""" - peer_address: str | None = ... - """The IPv4 address of the peer device.""" - bgp_options: RouteServerBgpOptionsRequest | None = ... - """ - The BGP options for the peer, including ASN (Autonomous System Number) - and BFD (Bidrectional Forwarding Detection) settings. - """ - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the route server peer during creation.""" - -@dataclass(kw_only=True) -class CreateRouteServerPeerOutput(_SerdeShape): - """Dataclass for CreateRouteServerPeerOutput structure.""" - - route_server_peer: RouteServerPeer | None = ... - """Information about the created route server peer.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRouteTableInput(_SerdeShape): - """Dataclass for CreateRouteTableInput structure.""" - - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the route table.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class CreateRouteTableOutput(_SerdeShape): - """Dataclass for CreateRouteTableOutput structure.""" - - route_table: RouteTable | None = ... - """Information about the route table.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier to ensure the idempotency of the - request. Only returned if a client token was provided in the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSecondaryNetworkInput(_SerdeShape): - """Dataclass for CreateSecondaryNetworkInput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - ipv4_cidr_block: str | None = ... - """ - The IPv4 CIDR block for the secondary network. The CIDR block size must - be between /12 and /28. - """ - network_type: str | None = ... - """The type of secondary network.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the secondary network.""" - -@dataclass(kw_only=True) -class CreateSecondaryNetworkOutput(_SerdeShape): - """Dataclass for CreateSecondaryNetworkOutput structure.""" - - secondary_network: SecondaryNetwork | None = ... - """Information about the secondary network.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier to ensure the idempotency of the - request. Only returned if a client token was provided in the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSecondarySubnetInput(_SerdeShape): - """Dataclass for CreateSecondarySubnetInput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - availability_zone: str | None = ... - """ - The Availability Zone for the secondary subnet. You cannot specify both - `AvailabilityZone` and `AvailabilityZoneId` in the same request. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone for the secondary subnet. This option is - preferred over `AvailabilityZone` as it provides a consistent identifier - across Amazon Web Services accounts. You cannot specify both - `AvailabilityZone` and `AvailabilityZoneId` in the same request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - ipv4_cidr_block: str | None = ... - """ - The IPv4 CIDR block for the secondary subnet. The CIDR block size must - be between /12 and /28. - """ - secondary_network_id: str | None = ... - """The ID of the secondary network in which to create the secondary subnet.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the secondary subnet.""" - -@dataclass(kw_only=True) -class CreateSecondarySubnetOutput(_SerdeShape): - """Dataclass for CreateSecondarySubnetOutput structure.""" - - secondary_subnet: SecondarySubnet | None = ... - """Information about the secondary subnet.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier to ensure the idempotency of the - request. Only returned if a client token was provided in the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSecurityGroupInput(_SerdeShape): - """Dataclass for CreateSecurityGroupInput structure.""" - - description: str | None = ... - """ - A description for the security group. - - Constraints: Up to 255 characters in length - - Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* - """ - group_name: str | None = ... - """ - The name of the security group. Names are case-insensitive and must be - unique within the VPC. - - Constraints: Up to 255 characters in length. Can't start with `sg-`. - - Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* - """ - vpc_id: str | None = ... - """The ID of the VPC. Required for a nondefault VPC.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the security group.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateSecurityGroupOutput(_SerdeShape): - """Dataclass for CreateSecurityGroupOutput structure.""" - - group_id: str | None = ... - """The ID of the security group.""" - tags: list[Tag] | None = ... - """The tags assigned to the security group.""" - security_group_arn: str | None = ... - """The security group ARN.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSnapshotInput(_SerdeShape): - """Dataclass for CreateSnapshotInput structure.""" - - description: str | None = ... - """A description for the snapshot.""" - outpost_arn: str | None = ... - """ - Note: - Only supported for volumes on Outposts. If the source volume is not on - an Outpost, omit this parameter. - - - To create the snapshot on the same Outpost as the source volume, - specify the ARN of that Outpost. The snapshot must be created on the - same Outpost as the volume. - - - To create the snapshot in the parent Region of the Outpost, omit this - parameter. - - For more information, see [Create local snapshots from volumes on an - Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot) - in the *Amazon EBS User Guide*. - """ - volume_id: str | None = ... - """The ID of the Amazon EBS volume.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the snapshot during creation.""" - location: str | None = ... - """ - Note: - Only supported for volumes in Local Zones. If the source volume is not - in a Local Zone, omit this parameter. - - - To create a local snapshot in the same Local Zone as the source - volume, specify `local`. - - - To create a regional snapshot in the parent Region of the Local Zone, - specify `regional` or omit this parameter. - - Default value: `regional` - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateSnapshotOutput(_SerdeShape): - """Describes a snapshot.""" - - owner_alias: str | None = ... - """ - The Amazon Web Services owner alias, from an Amazon-maintained list - (`amazon`). This is not the user-configured Amazon Web Services account - alias set using the IAM console. - """ - outpost_arn: str | None = ... - """ - The ARN of the Outpost on which the snapshot is stored. For more - information, see [Amazon EBS local snapshots on - Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html) - in the *Amazon EBS User Guide*. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the snapshot.""" - storage_tier: str | None = ... - """ - The storage tier in which the snapshot is stored. `standard` indicates - that the snapshot is stored in the standard snapshot storage tier and - that it is ready for use. `archive` indicates that the snapshot is - currently archived and that it must be restored before it can be used. - """ - restore_expiry_time: datetime | None = ... - """ - Only for archived snapshots that are temporarily restored. Indicates the - date and time when a temporarily restored snapshot will be automatically - re-archived. - """ - sse_type: str | None = ... - """Reserved for future use.""" - availability_zone: str | None = ... - """ - The Availability Zone or Local Zone of the snapshot. For example, - `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone). - """ - transfer_type: str | None = ... - """ - Note: - Only for snapshot copies. - - Indicates whether the snapshot copy was created with a standard or - time-based snapshot copy operation. Time-based snapshot copy operations - complete within the completion duration specified in the request. - Standard snapshot copy operations are completed on a best-effort basis. - - - `standard` - The snapshot copy was created with a standard snapshot - copy operation. - - - `time-based` - The snapshot copy was created with a time-based - snapshot copy operation. - """ - completion_duration_minutes: int | None = ... - """ - Note: - Only for snapshot copies created with time-based snapshot copy - operations. - - The completion duration requested for the time-based snapshot copy - operation. - """ - completion_time: datetime | None = ... - """The time stamp when the snapshot was completed.""" - full_snapshot_size_in_bytes: int | None = ... - """ - The full size of the snapshot, in bytes. - - Warning: - This is **not** the incremental size of the snapshot. This is the full - snapshot size and represents the size of all the blocks that were - written to the source volume at the time the snapshot was created. - """ - snapshot_id: str | None = ... - """ - The ID of the snapshot. Each snapshot receives a unique identifier when - it is created. - """ - volume_id: str | None = ... - """ - The ID of the volume that was used to create the snapshot. Snapshots - created by a copy snapshot operation have an arbitrary volume ID that - you should not use for any purpose. - """ - state: str | None = ... - """The snapshot state.""" - state_message: str | None = ... - """ - Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot - copy operation fails (for example, if the proper KMS permissions are not - obtained) this field displays error state details to help you diagnose - why the error occurred. This parameter is only returned by - DescribeSnapshots. - """ - start_time: datetime | None = ... - """The time stamp when the snapshot was initiated.""" - progress: str | None = ... - """The progress of the snapshot, as a percentage.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the EBS snapshot.""" - description: str | None = ... - """The description for the snapshot.""" - volume_size: int | None = ... - """The size of the volume, in GiB.""" - encrypted: bool | None = ... - """Indicates whether the snapshot is encrypted.""" - kms_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that was used to protect - the volume encryption key for the parent volume. - """ - data_encryption_key_id: str | None = ... - """ - The data encryption key identifier for the snapshot. This value is a - unique identifier that corresponds to the data encryption key that was - used to encrypt the original volume or snapshot copy. Because data - encryption keys are inherited by volumes created from snapshots, and - vice versa, if snapshots share the same data encryption key identifier, - then they belong to the same volume/snapshot lineage. This parameter is - only returned by DescribeSnapshots. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSnapshotsInput(_SerdeShape): - """Dataclass for CreateSnapshotsInput structure.""" - - description: str | None = ... - """A description propagated to every snapshot specified by the instance.""" - instance_specification: InstanceSpecification | None = ... - """ - The instance to specify which volumes should be included in the - snapshots. - """ - outpost_arn: str | None = ... - """ - Note: - Only supported for instances on Outposts. If the source instance is not - on an Outpost, omit this parameter. - - - To create the snapshots on the same Outpost as the source instance, - specify the ARN of that Outpost. The snapshots must be created on the - same Outpost as the instance. - - - To create the snapshots in the parent Region of the Outpost, omit this - parameter. - - For more information, see [Create local snapshots from volumes on an - Outpost](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot) - in the *Amazon EBS User Guide*. - """ - tag_specifications: list[TagSpecification] | None = ... - """Tags to apply to every snapshot specified by the instance.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - copy_tags_from_source: str | None = ... - """Copies the tags from the specified volume to corresponding snapshot.""" - location: str | None = ... - """ - Note: - Only supported for instances in Local Zones. If the source instance is - not in a Local Zone, omit this parameter. - - - To create local snapshots in the same Local Zone as the source - instance, specify `local`. - - - To create regional snapshots in the parent Region of the Local Zone, - specify `regional` or omit this parameter. - - Default value: `regional` - """ - -@dataclass(kw_only=True) -class CreateSnapshotsOutput(_SerdeShape): - """Dataclass for CreateSnapshotsOutput structure.""" - - snapshots: list[SnapshotInfo] | None = ... - """List of snapshots.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSpotDatafeedSubscriptionInput(_SerdeShape): - """Contains the parameters for CreateSpotDatafeedSubscription.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - bucket: str | None = ... - """ - The name of the Amazon S3 bucket in which to store the Spot Instance - data feed. For more information about bucket names, see [Bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) - in the *Amazon S3 User Guide*. - """ - prefix: str | None = ... - """The prefix for the data feed file names.""" - -@dataclass(kw_only=True) -class CreateSpotDatafeedSubscriptionOutput(_SerdeShape): - """Contains the output of CreateSpotDatafeedSubscription.""" - - spot_datafeed_subscription: SpotDatafeedSubscription | None = ... - """The Spot Instance data feed subscription.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateStoreImageTaskInput(_SerdeShape): - """Dataclass for CreateStoreImageTaskInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - bucket: str | None = ... - """ - The name of the Amazon S3 bucket in which the AMI object will be stored. - The bucket must be in the Region in which the request is being made. The - AMI object appears in the bucket only after the upload task has - completed. - """ - s3_object_tags: list[S3ObjectTag] | None = ... - """ - The tags to apply to the AMI object that will be stored in the Amazon S3 - bucket. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateStoreImageTaskOutput(_SerdeShape): - """Dataclass for CreateStoreImageTaskOutput structure.""" - - object_key: str | None = ... - """The name of the stored AMI object in the S3 bucket.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSubnetCidrReservationInput(_SerdeShape): - """Dataclass for CreateSubnetCidrReservationInput structure.""" - - subnet_id: str | None = ... - """The ID of the subnet.""" - cidr: str | None = ... - """The IPv4 or IPV6 CIDR range to reserve.""" - reservation_type: str | None = ... - """ - The type of reservation. The reservation type determines how the - reserved IP addresses are assigned to resources. - - - `prefix` - Amazon Web Services assigns the reserved IP addresses to - network interfaces. - - - `explicit` - You assign the reserved IP addresses to network - interfaces. - """ - description: str | None = ... - """The description to assign to the subnet CIDR reservation.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the subnet CIDR reservation.""" - -@dataclass(kw_only=True) -class CreateSubnetCidrReservationOutput(_SerdeShape): - """Dataclass for CreateSubnetCidrReservationOutput structure.""" - - subnet_cidr_reservation: SubnetCidrReservation | None = ... - """Information about the created subnet CIDR reservation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSubnetInput(_SerdeShape): - """Dataclass for CreateSubnetInput structure.""" - - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the subnet.""" - availability_zone: str | None = ... - """ - The Availability Zone or Local Zone for the subnet. - - Default: Amazon Web Services selects one for you. If you create more - than one subnet in your VPC, we do not necessarily select a different - zone for each subnet. - - To create a subnet in a Local Zone, set this value to the Local Zone ID, - for example `us-west-2-lax-1a`. For information about the Regions that - support Local Zones, see [Available Local - Zones](https://docs.aws.amazon.com/local-zones/latest/ug/available-local-zones.html). - - To create a subnet in an Outpost, set this value to the Availability - Zone for the Outpost and specify the Outpost ARN. - """ - availability_zone_id: str | None = ... - """The AZ ID or the Local Zone ID of the subnet.""" - cidr_block: str | None = ... - """ - The IPv4 network range for the subnet, in CIDR notation. For example, - `10.0.0.0/24`. We modify the specified CIDR block to its canonical form; - for example, if you specify `100.68.0.18/18`, we modify it to - `100.68.0.0/18`. - - This parameter is not supported for an IPv6 only subnet. - """ - ipv6_cidr_block: str | None = ... - """ - The IPv6 network range for the subnet, in CIDR notation. This parameter - is required for an IPv6 only subnet. - """ - outpost_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost - ARN, you must also specify the Availability Zone of the Outpost subnet. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - ipv6_native: bool | None = ... - """Indicates whether to create an IPv6 only subnet.""" - ipv4_ipam_pool_id: str | None = ... - """An IPv4 IPAM pool ID for the subnet.""" - ipv4_netmask_length: int | None = ... - """An IPv4 netmask length for the subnet.""" - ipv6_ipam_pool_id: str | None = ... - """An IPv6 IPAM pool ID for the subnet.""" - ipv6_netmask_length: int | None = ... - """An IPv6 netmask length for the subnet.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateSubnetOutput(_SerdeShape): - """Dataclass for CreateSubnetOutput structure.""" - - subnet: Subnet | None = ... - """Information about the subnet.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTagsInput(_SerdeShape): - """Dataclass for CreateTagsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - resources: list[str] | None = ... - """ - The IDs of the resources, separated by spaces. - - Constraints: Up to 1000 resource IDs. We recommend breaking up this - request into smaller batches. - """ - tags: list[Tag] | None = ... - """ - The tags. The `value` parameter is required, but if you don't want the - tag to have a value, specify the parameter with no value, and we set the - value to an empty string. - """ - -@dataclass(kw_only=True) -class CreateTagsOutput(_SerdeShape): - """Dataclass for CreateTagsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTrafficMirrorFilterInput(_SerdeShape): - """Dataclass for CreateTrafficMirrorFilterInput structure.""" - - description: str | None = ... - """The description of the Traffic Mirror filter.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to a Traffic Mirror filter.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateTrafficMirrorFilterOutput(_SerdeShape): - """Dataclass for CreateTrafficMirrorFilterOutput structure.""" - - traffic_mirror_filter: TrafficMirrorFilter | None = ... - """Information about the Traffic Mirror filter.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTrafficMirrorFilterRuleInput(_SerdeShape): - """Dataclass for CreateTrafficMirrorFilterRuleInput structure.""" - - traffic_mirror_filter_id: str | None = ... - """The ID of the filter that this rule is associated with.""" - traffic_direction: str | None = ... - """The type of traffic.""" - rule_number: int | None = ... - """ - The number of the Traffic Mirror rule. This number must be unique for - each Traffic Mirror rule in a given direction. The rules are processed - in ascending order by rule number. - """ - rule_action: str | None = ... - """The action to take on the filtered traffic.""" - destination_port_range: TrafficMirrorPortRangeRequest | None = ... - """The destination port range.""" - source_port_range: TrafficMirrorPortRangeRequest | None = ... - """The source port range.""" - protocol: int | None = ... - """ - The protocol, for example UDP, to assign to the Traffic Mirror rule. - - For information about the protocol value, see [Protocol - Numbers](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) - on the Internet Assigned Numbers Authority (IANA) website. - """ - destination_cidr_block: str | None = ... - """The destination CIDR block to assign to the Traffic Mirror rule.""" - source_cidr_block: str | None = ... - """The source CIDR block to assign to the Traffic Mirror rule.""" - description: str | None = ... - """The description of the Traffic Mirror rule.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - tag_specifications: list[TagSpecification] | None = ... - """Traffic Mirroring tags specifications.""" - -@dataclass(kw_only=True) -class CreateTrafficMirrorFilterRuleOutput(_SerdeShape): - """Dataclass for CreateTrafficMirrorFilterRuleOutput structure.""" - - traffic_mirror_filter_rule: TrafficMirrorFilterRule | None = ... - """The Traffic Mirror rule.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTrafficMirrorSessionInput(_SerdeShape): - """Dataclass for CreateTrafficMirrorSessionInput structure.""" - - network_interface_id: str | None = ... - """The ID of the source network interface.""" - traffic_mirror_target_id: str | None = ... - """The ID of the Traffic Mirror target.""" - traffic_mirror_filter_id: str | None = ... - """The ID of the Traffic Mirror filter.""" - packet_length: int | None = ... - """ - The number of bytes in each packet to mirror. These are bytes after the - VXLAN header. Do not specify this parameter when you want to mirror the - entire packet. To mirror a subset of the packet, set this to the length - (in bytes) that you want to mirror. For example, if you set this value - to 100, then the first 100 bytes that meet the filter criteria are - copied to the target. - - If you do not want to mirror the entire packet, use the `PacketLength` - parameter to specify the number of bytes in each packet to mirror. - - For sessions with Network Load Balancer (NLB) Traffic Mirror targets the - default `PacketLength` will be set to 8500. Valid values are 1-8500. - Setting a `PacketLength` greater than 8500 will result in an error - response. - """ - session_number: int | None = ... - """ - The session number determines the order in which sessions are evaluated - when an interface is used by multiple sessions. The first session with a - matching filter is the one that mirrors the packets. - - Valid values are 1-32766. - """ - virtual_network_id: int | None = ... - """ - The VXLAN ID for the Traffic Mirror session. For more information about - the VXLAN protocol, see [RFC - 7348](https://datatracker.ietf.org/doc/html/rfc7348). If you do not - specify a `VirtualNetworkId`, an account-wide unique ID is chosen at - random. - """ - description: str | None = ... - """The description of the Traffic Mirror session.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to a Traffic Mirror session.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateTrafficMirrorSessionOutput(_SerdeShape): - """Dataclass for CreateTrafficMirrorSessionOutput structure.""" - - traffic_mirror_session: TrafficMirrorSession | None = ... - """Information about the Traffic Mirror session.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTrafficMirrorTargetInput(_SerdeShape): - """Dataclass for CreateTrafficMirrorTargetInput structure.""" - - network_interface_id: str | None = ... - """The network interface ID that is associated with the target.""" - network_load_balancer_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Network Load Balancer that is - associated with the target. - """ - description: str | None = ... - """The description of the Traffic Mirror target.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the Traffic Mirror target.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - gateway_load_balancer_endpoint_id: str | None = ... - """The ID of the Gateway Load Balancer endpoint.""" - -@dataclass(kw_only=True) -class CreateTrafficMirrorTargetOutput(_SerdeShape): - """Dataclass for CreateTrafficMirrorTargetOutput structure.""" - - traffic_mirror_target: TrafficMirrorTarget | None = ... - """Information about the Traffic Mirror target.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayConnectInput(_SerdeShape): - """Dataclass for CreateTransitGatewayConnectInput structure.""" - - transport_transit_gateway_attachment_id: str | None = ... - """ - The ID of the transit gateway attachment. You can specify a VPC - attachment or Amazon Web Services Direct Connect attachment. - """ - options: CreateTransitGatewayConnectRequestOptions | None = ... - """The Connect attachment options.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the Connect attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayConnectOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayConnectOutput structure.""" - - transit_gateway_connect: TransitGatewayConnect | None = ... - """Information about the Connect attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayConnectPeerInput(_SerdeShape): - """Dataclass for CreateTransitGatewayConnectPeerInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the Connect attachment.""" - transit_gateway_address: str | None = ... - """ - The peer IP address (GRE outer IP address) on the transit gateway side - of the Connect peer, which must be specified from a transit gateway CIDR - block. If not specified, Amazon automatically assigns the first - available IP address from the transit gateway CIDR block. - """ - peer_address: str | None = ... - """ - The peer IP address (GRE outer IP address) on the appliance side of the - Connect peer. - """ - bgp_options: TransitGatewayConnectRequestBgpOptions | None = ... - """The BGP options for the Connect peer.""" - inside_cidr_blocks: list[str] | None = ... - """ - The range of inside IP addresses that are used for BGP peering. You must - specify a size /29 IPv4 CIDR block from the `169.254.0.0/16` range. The - first address from the range must be configured on the appliance as the - BGP IP address. You can also optionally specify a size /125 IPv6 CIDR - block from the `fd00::/8` range. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the Connect peer.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayConnectPeerOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayConnectPeerOutput structure.""" - - transit_gateway_connect_peer: TransitGatewayConnectPeer | None = ... - """Information about the Connect peer.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayConnectRequestOptions(_SerdeShape): - """The options for a Connect attachment.""" - - protocol: str | None = ... - """The tunnel protocol.""" - -@dataclass(kw_only=True) -class CreateTransitGatewayInput(_SerdeShape): - """Dataclass for CreateTransitGatewayInput structure.""" - - description: str | None = ... - """A description of the transit gateway.""" - options: TransitGatewayRequestOptions | None = ... - """The transit gateway options.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the transit gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayMeteringPolicyEntryInput(_SerdeShape): - """Dataclass for CreateTransitGatewayMeteringPolicyEntryInput structure.""" - - transit_gateway_metering_policy_id: str | None = ... - """The ID of the transit gateway metering policy to add the entry to.""" - policy_rule_number: int | None = ... - """ - The rule number for the metering policy entry. Rules are processed in - order from lowest to highest number. - """ - source_transit_gateway_attachment_id: str | None = ... - """The ID of the source transit gateway attachment for traffic matching.""" - source_transit_gateway_attachment_type: str | None = ... - """ - The type of the source transit gateway attachment for traffic matching. - Note that the `tgw-peering` resource type has been deprecated. To - configure metering policies for Connect, use the transport attachment - type. - """ - source_cidr_block: str | None = ... - """The source CIDR block for traffic matching.""" - source_port_range: str | None = ... - """The source port range for traffic matching.""" - destination_transit_gateway_attachment_id: str | None = ... - """ - The ID of the destination transit gateway attachment for traffic - matching. - """ - destination_transit_gateway_attachment_type: str | None = ... - """ - The type of the destination transit gateway attachment for traffic - matching. Note that the `tgw-peering` resource type has been deprecated. - To configure metering policies for Connect, use the transport attachment - type. - """ - destination_cidr_block: str | None = ... - """The destination CIDR block for traffic matching.""" - destination_port_range: str | None = ... - """The destination port range for traffic matching.""" - protocol: str | None = ... - """The protocol for traffic matching (1, 6, 17, etc.).""" - metered_account: str | None = ... - """ - The Amazon Web Services account ID to which the metered traffic should - be attributed. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayMeteringPolicyEntryOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayMeteringPolicyEntryOutput structure.""" - - transit_gateway_metering_policy_entry: ( - TransitGatewayMeteringPolicyEntry | None - ) = ... - """Information about the created transit gateway metering policy entry.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayMeteringPolicyInput(_SerdeShape): - """Dataclass for CreateTransitGatewayMeteringPolicyInput structure.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway for which to create the metering policy.""" - middlebox_attachment_ids: list[str] | None = ... - """The IDs of the middlebox attachments to include in the metering policy.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the metering policy.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayMeteringPolicyOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayMeteringPolicyOutput structure.""" - - transit_gateway_metering_policy: TransitGatewayMeteringPolicy | None = ... - """Information about the created transit gateway metering policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayMulticastDomainInput(_SerdeShape): - """Dataclass for CreateTransitGatewayMulticastDomainInput structure.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - options: CreateTransitGatewayMulticastDomainRequestOptions | None = ... - """The options for the transit gateway multicast domain.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags for the transit gateway multicast domain.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayMulticastDomainOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayMulticastDomainOutput structure.""" - - transit_gateway_multicast_domain: TransitGatewayMulticastDomain | None = ... - """Information about the transit gateway multicast domain.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayMulticastDomainRequestOptions(_SerdeShape): - """The options for the transit gateway multicast domain.""" - - igmpv2_support: str | None = ... - """ - Specify whether to enable Internet Group Management Protocol (IGMP) - version 2 for the transit gateway multicast domain. - """ - static_sources_support: str | None = ... - """ - Specify whether to enable support for statically configuring multicast - group sources for a domain. - """ - auto_accept_shared_associations: str | None = ... - """ - Indicates whether to automatically accept cross-account subnet - associations that are associated with the transit gateway multicast - domain. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayOutput structure.""" - - transit_gateway: TransitGateway | None = ... - """Information about the transit gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayPeeringAttachmentInput(_SerdeShape): - """Dataclass for CreateTransitGatewayPeeringAttachmentInput structure.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - peer_transit_gateway_id: str | None = ... - """ - The ID of the peer transit gateway with which to create the peering - attachment. - """ - peer_account_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the peer transit - gateway. - """ - peer_region: str | None = ... - """The Region where the peer transit gateway is located.""" - options: CreateTransitGatewayPeeringAttachmentRequestOptions | None = ... - """Requests a transit gateway peering attachment.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the transit gateway peering attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayPeeringAttachmentOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayPeeringAttachmentOutput structure.""" - - transit_gateway_peering_attachment: TransitGatewayPeeringAttachment | None = ... - """The transit gateway peering attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayPeeringAttachmentRequestOptions(_SerdeShape): - """ - Describes whether dynamic routing is enabled or disabled for the transit - gateway peering request. - """ - - dynamic_routing: str | None = ... - """Indicates whether dynamic routing is enabled or disabled.""" - -@dataclass(kw_only=True) -class CreateTransitGatewayPolicyTableEntryInput(_SerdeShape): - """Dataclass for CreateTransitGatewayPolicyTableEntryInput structure.""" - - transit_gateway_policy_table_id: str | None = ... - """The ID of the transit gateway policy table.""" - policy_rule_number: str | None = ... - """ - The rule number for the policy table entry. Lower rule numbers are - evaluated first and take precedence. - """ - policy_rule: TransitGatewayRequestPolicyRule | None = ... - """The matching criteria for the policy table entry.""" - target_route_table_id: str | None = ... - """ - The ID of the transit gateway route table to use for traffic matching - this rule. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayPolicyTableEntryOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayPolicyTableEntryOutput structure.""" - - transit_gateway_policy_table_entry: TransitGatewayPolicyTableEntry | None = ... - """Describes a transit gateway policy table entry""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayPolicyTableInput(_SerdeShape): - """Dataclass for CreateTransitGatewayPolicyTableInput structure.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway used for the policy table.""" - tag_specifications: list[TagSpecification] | None = ... - """ - The tags specification for the transit gateway policy table created - during the request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayPolicyTableOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayPolicyTableOutput structure.""" - - transit_gateway_policy_table: TransitGatewayPolicyTable | None = ... - """Describes the created transit gateway policy table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayPrefixListReferenceInput(_SerdeShape): - """Dataclass for CreateTransitGatewayPrefixListReferenceInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - prefix_list_id: str | None = ... - """The ID of the prefix list that is used for destination matches.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment to which traffic is routed.""" - blackhole: bool | None = ... - """Indicates whether to drop traffic that matches this route.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayPrefixListReferenceOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayPrefixListReferenceOutput structure.""" - - transit_gateway_prefix_list_reference: ( - TransitGatewayPrefixListReference | None - ) = ... - """Information about the prefix list reference.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayRouteInput(_SerdeShape): - """Dataclass for CreateTransitGatewayRouteInput structure.""" - - destination_cidr_block: str | None = ... - """ - The CIDR range used for destination matches. Routing decisions are based - on the most specific match. - """ - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - blackhole: bool | None = ... - """Indicates whether to drop traffic that matches this route.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayRouteOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayRouteOutput structure.""" - - route: TransitGatewayRoute | None = ... - """Information about the route.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayRouteTableAnnouncementInput(_SerdeShape): - """Dataclass for CreateTransitGatewayRouteTableAnnouncementInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - peering_attachment_id: str | None = ... - """The ID of the peering attachment.""" - tag_specifications: list[TagSpecification] | None = ... - """ - The tags specifications applied to the transit gateway route table - announcement. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayRouteTableAnnouncementOutput(_SerdeShape): - """ - Dataclass for CreateTransitGatewayRouteTableAnnouncementOutput - structure. - """ - - transit_gateway_route_table_announcement: ( - TransitGatewayRouteTableAnnouncement | None - ) = ... - """Provides details about the transit gateway route table announcement.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayRouteTableInput(_SerdeShape): - """Dataclass for CreateTransitGatewayRouteTableInput structure.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the transit gateway route table.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayRouteTableOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayRouteTableOutput structure.""" - - transit_gateway_route_table: TransitGatewayRouteTable | None = ... - """Information about the transit gateway route table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayVpcAttachmentInput(_SerdeShape): - """Dataclass for CreateTransitGatewayVpcAttachmentInput structure.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - subnet_ids: list[str] | None = ... - """ - The IDs of one or more subnets. You can specify only one subnet per - Availability Zone. You must specify at least one subnet, but we - recommend that you specify two subnets for better availability. The - transit gateway uses one IP address from each specified subnet. - """ - options: CreateTransitGatewayVpcAttachmentRequestOptions | None = ... - """The VPC attachment options.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the VPC attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayVpcAttachmentOutput(_SerdeShape): - """Dataclass for CreateTransitGatewayVpcAttachmentOutput structure.""" - - transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... - """Information about the VPC attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTransitGatewayVpcAttachmentRequestOptions(_SerdeShape): - """Describes the options for a VPC attachment.""" - - dns_support: str | None = ... - """Enable or disable DNS support. The default is `enable`.""" - security_group_referencing_support: str | None = ... - """ - Enables you to reference a security group across VPCs attached to a - transit gateway to simplify security group management. - - This option is set to `enable` by default. However, at the transit - gateway level the default is set to `disable`. - - For more information about security group referencing, see [Security - group - referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) - in the *Amazon Web Services Transit Gateways Guide*. - """ - ipv6_support: str | None = ... - """ - Specifies whether IPv6 support is enabled for the attachment. When - enabled, the transit gateway network interface receives an IPv6 address. - When you enable route propagation, IPv6 VPC CIDRs propagate to the - transit gateway route tables. When disabled, the network interface does - not receive an IPv6 address, and IPv6 routes do not propagate. The - setting does not filter IPv6 traffic. The default is `disable`. - """ - appliance_mode_support: str | None = ... - """ - Enable or disable support for appliance mode. If enabled, a traffic flow - between a source and destination uses the same Availability Zone for the - VPC attachment for the lifetime of that flow. The default is `disable`. - """ - -@dataclass(kw_only=True) -class CreateVerifiedAccessEndpointCidrOptions(_SerdeShape): - """Describes the CIDR options for a Verified Access endpoint.""" - - protocol: str | None = ... - """The protocol.""" - subnet_ids: list[str] | None = ... - """The IDs of the subnets.""" - cidr: str | None = ... - """The CIDR.""" - port_ranges: list[CreateVerifiedAccessEndpointPortRange] | None = ... - """The port ranges.""" - -@dataclass(kw_only=True) -class CreateVerifiedAccessEndpointEniOptions(_SerdeShape): - """ - Describes the network interface options when creating an Amazon Web - Services Verified Access endpoint using the `network-interface` type. - """ - - network_interface_id: str | None = ... - """The ID of the network interface.""" - protocol: str | None = ... - """The IP protocol.""" - port: int | None = ... - """The IP port number.""" - port_ranges: list[CreateVerifiedAccessEndpointPortRange] | None = ... - """The port ranges.""" - -@dataclass(kw_only=True) -class CreateVerifiedAccessEndpointInput(_SerdeShape): - """Dataclass for CreateVerifiedAccessEndpointInput structure.""" - - verified_access_group_id: str | None = ... - """The ID of the Verified Access group to associate the endpoint with.""" - endpoint_type: str | None = ... - """The type of Verified Access endpoint to create.""" - attachment_type: str | None = ... - """The type of attachment.""" - domain_certificate_arn: str | None = ... - """ - The ARN of the public TLS/SSL certificate in Amazon Web Services - Certificate Manager to associate with the endpoint. The CN in the - certificate must match the DNS name your end users will use to reach - your application. - """ - application_domain: str | None = ... - """The DNS name for users to reach your application.""" - endpoint_domain_prefix: str | None = ... - """ - A custom identifier that is prepended to the DNS name that is generated - for the endpoint. - """ - security_group_ids: list[str] | None = ... - """ - The IDs of the security groups to associate with the Verified Access - endpoint. Required if `AttachmentType` is set to `vpc`. - """ - load_balancer_options: CreateVerifiedAccessEndpointLoadBalancerOptions | None = ... - """ - The load balancer details. This parameter is required if the endpoint - type is `load-balancer`. - """ - network_interface_options: CreateVerifiedAccessEndpointEniOptions | None = ... - """ - The network interface details. This parameter is required if the - endpoint type is `network-interface`. - """ - description: str | None = ... - """A description for the Verified Access endpoint.""" - policy_document: str | None = ... - """The Verified Access policy document.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the Verified Access endpoint.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - sse_specification: VerifiedAccessSseSpecificationRequest | None = ... - """The options for server side encryption.""" - rds_options: CreateVerifiedAccessEndpointRdsOptions | None = ... - """ - The RDS details. This parameter is required if the endpoint type is - `rds`. - """ - cidr_options: CreateVerifiedAccessEndpointCidrOptions | None = ... - """ - The CIDR options. This parameter is required if the endpoint type is - `cidr`. - """ - -@dataclass(kw_only=True) -class CreateVerifiedAccessEndpointLoadBalancerOptions(_SerdeShape): - """ - Describes the load balancer options when creating an Amazon Web Services - Verified Access endpoint using the `load-balancer` type. - """ - - protocol: str | None = ... - """The IP protocol.""" - port: int | None = ... - """The IP port number.""" - load_balancer_arn: str | None = ... - """The ARN of the load balancer.""" - subnet_ids: list[str] | None = ... - """ - The IDs of the subnets. You can specify only one subnet per Availability - Zone. - """ - port_ranges: list[CreateVerifiedAccessEndpointPortRange] | None = ... - """The port ranges.""" - -@dataclass(kw_only=True) -class CreateVerifiedAccessEndpointOutput(_SerdeShape): - """Dataclass for CreateVerifiedAccessEndpointOutput structure.""" - - verified_access_endpoint: VerifiedAccessEndpoint | None = ... - """Details about the Verified Access endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVerifiedAccessEndpointPortRange(_SerdeShape): - """Describes the port range for a Verified Access endpoint.""" - - from_port: int | None = ... - """The start of the port range.""" - to_port: int | None = ... - """The end of the port range.""" - -@dataclass(kw_only=True) -class CreateVerifiedAccessEndpointRdsOptions(_SerdeShape): - """Describes the RDS options for a Verified Access endpoint.""" - - protocol: str | None = ... - """The protocol.""" - port: int | None = ... - """The port.""" - rds_db_instance_arn: str | None = ... - """The ARN of the RDS instance.""" - rds_db_cluster_arn: str | None = ... - """The ARN of the DB cluster.""" - rds_db_proxy_arn: str | None = ... - """The ARN of the RDS proxy.""" - rds_endpoint: str | None = ... - """The RDS endpoint.""" - subnet_ids: list[str] | None = ... - """ - The IDs of the subnets. You can specify only one subnet per Availability - Zone. - """ - -@dataclass(kw_only=True) -class CreateVerifiedAccessGroupInput(_SerdeShape): - """Dataclass for CreateVerifiedAccessGroupInput structure.""" - - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - description: str | None = ... - """A description for the Verified Access group.""" - policy_document: str | None = ... - """The Verified Access policy document.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the Verified Access group.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - sse_specification: VerifiedAccessSseSpecificationRequest | None = ... - """The options for server side encryption.""" - -@dataclass(kw_only=True) -class CreateVerifiedAccessGroupOutput(_SerdeShape): - """Dataclass for CreateVerifiedAccessGroupOutput structure.""" - - verified_access_group: VerifiedAccessGroup | None = ... - """Details about the Verified Access group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVerifiedAccessInstanceInput(_SerdeShape): - """Dataclass for CreateVerifiedAccessInstanceInput structure.""" - - description: str | None = ... - """A description for the Verified Access instance.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the Verified Access instance.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - fips_enabled: bool | None = ... - """ - Enable or disable support for Federal Information Processing Standards - (FIPS) on the instance. - """ - cidr_endpoints_custom_sub_domain: str | None = ... - """The custom subdomain.""" - -@dataclass(kw_only=True) -class CreateVerifiedAccessInstanceOutput(_SerdeShape): - """Dataclass for CreateVerifiedAccessInstanceOutput structure.""" - - verified_access_instance: VerifiedAccessInstance | None = ... - """Details about the Verified Access instance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVerifiedAccessNativeApplicationOidcOptions(_SerdeShape): - """Describes the OpenID Connect (OIDC) options.""" - - public_signing_key_endpoint: str | None = ... - """The public signing key endpoint.""" - issuer: str | None = ... - """The OIDC issuer identifier of the IdP.""" - authorization_endpoint: str | None = ... - """The authorization endpoint of the IdP.""" - token_endpoint: str | None = ... - """The token endpoint of the IdP.""" - user_info_endpoint: str | None = ... - """The user info endpoint of the IdP.""" - client_id: str | None = ... - """The OAuth 2.0 client identifier.""" - client_secret: str | None = ... - """The OAuth 2.0 client secret.""" - scope: str | None = ... - """The set of user claims to be requested from the IdP.""" - -@dataclass(kw_only=True) -class CreateVerifiedAccessTrustProviderDeviceOptions(_SerdeShape): - """ - Describes the options when creating an Amazon Web Services Verified - Access trust provider using the `device` type. - """ - - tenant_id: str | None = ... - """The ID of the tenant application with the device-identity provider.""" - public_signing_key_url: str | None = ... - """ - The URL Amazon Web Services Verified Access will use to verify the - authenticity of the device tokens. - """ - -@dataclass(kw_only=True) -class CreateVerifiedAccessTrustProviderInput(_SerdeShape): - """Dataclass for CreateVerifiedAccessTrustProviderInput structure.""" - - trust_provider_type: str | None = ... - """The type of trust provider.""" - user_trust_provider_type: str | None = ... - """ - The type of user-based trust provider. This parameter is required when - the provider type is `user`. - """ - device_trust_provider_type: str | None = ... - """ - The type of device-based trust provider. This parameter is required when - the provider type is `device`. - """ - oidc_options: CreateVerifiedAccessTrustProviderOidcOptions | None = ... - """ - The options for a OpenID Connect-compatible user-identity trust - provider. This parameter is required when the provider type is `user`. - """ - device_options: CreateVerifiedAccessTrustProviderDeviceOptions | None = ... - """ - The options for a device-based trust provider. This parameter is - required when the provider type is `device`. - """ - policy_reference_name: str | None = ... - """The identifier to be used when working with policy rules.""" - description: str | None = ... - """A description for the Verified Access trust provider.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the Verified Access trust provider.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - sse_specification: VerifiedAccessSseSpecificationRequest | None = ... - """The options for server side encryption.""" - native_application_oidc_options: ( - CreateVerifiedAccessNativeApplicationOidcOptions | None - ) = ... - """The OpenID Connect (OIDC) options.""" - -@dataclass(kw_only=True) -class CreateVerifiedAccessTrustProviderOidcOptions(_SerdeShape): - """ - Describes the options when creating an Amazon Web Services Verified - Access trust provider using the `user` type. - """ - - issuer: str | None = ... - """The OIDC issuer.""" - authorization_endpoint: str | None = ... - """The OIDC authorization endpoint.""" - token_endpoint: str | None = ... - """The OIDC token endpoint.""" - user_info_endpoint: str | None = ... - """The OIDC user info endpoint.""" - client_id: str | None = ... - """The client identifier.""" - client_secret: str | None = ... - """The client secret.""" - scope: str | None = ... - """ - OpenID Connect (OIDC) scopes are used by an application during - authentication to authorize access to a user's details. Each scope - returns a specific set of user attributes. - """ - -@dataclass(kw_only=True) -class CreateVerifiedAccessTrustProviderOutput(_SerdeShape): - """Dataclass for CreateVerifiedAccessTrustProviderOutput structure.""" - - verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... - """Details about the Verified Access trust provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVolumeInput(_SerdeShape): - """Dataclass for CreateVolumeInput structure.""" - - availability_zone: str | None = ... - """ - The ID of the Availability Zone in which to create the volume. For - example, `us-east-1a`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but - not both. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which to create the volume. For - example, `use1-az1`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but - not both. - """ - encrypted: bool | None = ... - """ - Indicates whether the volume should be encrypted. The effect of setting - the encryption state to `true` depends on the volume origin (new or from - a snapshot), starting encryption state, ownership, and whether - encryption by default is enabled. For more information, see [Encryption - by - default](https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default) - in the *Amazon EBS User Guide*. - - Encrypted Amazon EBS volumes must be attached to instances that support - Amazon EBS encryption. For more information, see [Supported instance - types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances). - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS) to provision for the - volume. Required for `io1` and `io2` volumes. Optional for `gp3` - volumes. Omit for all other volume types. - - Valid ranges: - - - gp3: `3,000 `(*default*)` - 80,000` IOPS - - - io1: `100 - 64,000` IOPS - - - io2: `100 - 256,000` IOPS - - Note: - [Instances built on the Nitro - System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) - can support up to 256,000 IOPS. Other instances can support up to 32,000 - IOPS. - """ - kms_key_id: str | None = ... - """ - The identifier of the KMS key to use for Amazon EBS encryption. If this - parameter is not specified, your KMS key for Amazon EBS is used. If - `KmsKeyId` is specified, the encrypted state must be `true`. - - You can specify the KMS key using any of the following: - - - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. - - - Key alias. For example, alias/ExampleAlias. - - - Key ARN. For example, - arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. - - - Alias ARN. For example, - arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. - - Amazon Web Services authenticates the KMS key asynchronously. Therefore, - if you specify an ID, alias, or ARN that is not valid, the action can - appear to complete, but eventually fails. - """ - outpost_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Outpost on which to create the - volume. - - If you intend to use a volume with an instance running on an outpost, - then you must create the volume on the same outpost as the instance. You - can't use a volume created in an Amazon Web Services Region with an - instance on an Amazon Web Services outpost, or the other way around. - """ - size: int | None = ... - """ - The size of the volume, in GiBs. You must specify either a snapshot ID - or a volume size. If you specify a snapshot, the default is the snapshot - size, and you can specify a volume size that is equal to or larger than - the snapshot size. - - Valid sizes: - - - gp2: `1 - 16,384` GiB - - - gp3: `1 - 65,536` GiB - - - io1: `4 - 16,384` GiB - - - io2: `4 - 65,536` GiB - - - st1 and sc1: `125 - 16,384` GiB - - - standard: `1 - 1024` GiB - """ - snapshot_id: str | None = ... - """ - The snapshot from which to create the volume. You must specify either a - snapshot ID or a volume size. - """ - volume_type: str | None = ... - """ - The volume type. This parameter can be one of the following values: - - - General Purpose SSD: `gp2` | `gp3` - - - Provisioned IOPS SSD: `io1` | `io2` - - - Throughput Optimized HDD: `st1` - - - Cold HDD: `sc1` - - - Magnetic: `standard` - - Warning: - Throughput Optimized HDD (`st1`) and Cold HDD (`sc1`) volumes can't be - used as boot volumes. - - For more information, see [Amazon EBS volume - types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) - in the *Amazon EBS User Guide*. - - Default: `gp2` - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the volume during creation.""" - multi_attach_enabled: bool | None = ... - """ - Indicates whether to enable Amazon EBS Multi-Attach. If you enable - Multi-Attach, you can attach the volume to up to 16 [Instances built on - the Nitro - System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) - in the same Availability Zone. This parameter is supported with `io1` - and `io2` volumes only. For more information, see [Amazon EBS - Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html) - in the *Amazon EBS User Guide*. - """ - throughput: int | None = ... - """ - The throughput to provision for the volume, in MiB/s. Supported for - `gp3` volumes only. Omit for all other volume types. - - Valid Range: `125 - 2000` MiB/s - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - volume_initialization_rate: int | None = ... - """ - Specifies the Amazon EBS Provisioned Rate for Volume Initialization - (volume initialization rate), in MiB/s, at which to download the - snapshot blocks from Amazon S3 to the volume. This is also known as - *volume initialization*. Specifying a volume initialization rate ensures - that the volume is initialized at a predictable and consistent rate - after creation. - - This parameter is supported only for volumes created from snapshots. - Omit this parameter if: - - - You want to create the volume using fast snapshot restore. You must - specify a snapshot that is enabled for fast snapshot restore. In this - case, the volume is fully initialized at creation. - - Note: - If you specify a snapshot that is enabled for fast snapshot restore - and a volume initialization rate, the volume will be initialized at - the specified rate instead of fast snapshot restore. - - - You want to create a volume that is initialized at the default rate. - - For more information, see [Initialize Amazon EBS - volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) - in the *Amazon EC2 User Guide*. - - Valid range: 100 - 300 MiB/s - """ - operator: OperatorRequest | None = ... - """Reserved for internal use.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateVolumeOutput(_SerdeShape): - """Describes a volume.""" - - availability_zone_id: str | None = ... - """The ID of the Availability Zone for the volume.""" - outpost_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - source_volume_id: str | None = ... - """ - The ID of the source volume from which the volume copy was created. Only - for volume copies. - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS). For `gp3`, `io1`, and - `io2` volumes, this represents the number of IOPS that are provisioned - for the volume. For `gp2` volumes, this represents the baseline - performance of the volume and the rate at which the volume accumulates - I/O credits for bursting. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the volume.""" - volume_type: str | None = ... - """The volume type.""" - fast_restored: bool | None = ... - """ - Note: - This parameter is not returned by CreateVolume. - - Indicates whether the volume was created using fast snapshot restore. - """ - multi_attach_enabled: bool | None = ... - """Indicates whether Amazon EBS Multi-Attach is enabled.""" - throughput: int | None = ... - """The throughput that the volume supports, in MiB/s.""" - sse_type: str | None = ... - """ - Note: - This parameter is not returned by CreateVolume. - - Reserved for future use. - """ - operator: OperatorResponse | None = ... - """The service provider that manages the volume.""" - volume_initialization_rate: int | None = ... - """ - The Amazon EBS Provisioned Rate for Volume Initialization (volume - initialization rate) specified for the volume during creation, in MiB/s. - If no volume initialization rate was specified, the value is `null`. - """ - volume_arn: str | None = ... - """The Amazon Resource Name (ARN) of the volume.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the volume.""" - volume_id: str | None = ... - """The ID of the volume.""" - size: int | None = ... - """The size of the volume, in GiBs.""" - snapshot_id: str | None = ... - """The snapshot from which the volume was created, if applicable.""" - availability_zone: str | None = ... - """The Availability Zone for the volume.""" - state: str | None = ... - """The volume state.""" - create_time: datetime | None = ... - """The time stamp when volume creation was initiated.""" - attachments: list[VolumeAttachment] | None = ... - """ - Note: - This parameter is not returned by CreateVolume. - - Information about the volume attachments. - """ - encrypted: bool | None = ... - """Indicates whether the volume is encrypted.""" - kms_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that was used to protect - the volume encryption key for the volume. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVolumePermission(_SerdeShape): - """ - Describes the user or group to be added or removed from the list of - create volume permissions for a volume. - """ - - user_id: str | None = ... - """The ID of the Amazon Web Services account to be added or removed.""" - group: str | None = ... - """The group to be added or removed. The possible value is `all`.""" - -@dataclass(kw_only=True) -class CreateVolumePermissionModifications(_SerdeShape): - """ - Describes modifications to the list of create volume permissions for a - volume. - """ - - add: list[CreateVolumePermission] | None = ... - """Adds the specified Amazon Web Services account ID or group to the list.""" - remove: list[CreateVolumePermission] | None = ... - """ - Removes the specified Amazon Web Services account ID or group from the - list. - """ - -@dataclass(kw_only=True) -class CreateVpcBlockPublicAccessExclusionInput(_SerdeShape): - """Dataclass for CreateVpcBlockPublicAccessExclusionInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - subnet_id: str | None = ... - """A subnet ID.""" - vpc_id: str | None = ... - """A VPC ID.""" - internet_gateway_exclusion_mode: str | None = ... - """ - The exclusion mode for internet gateway traffic. - - - `allow-bidirectional`: Allow all internet traffic to and from the - excluded VPCs and subnets. - - - `allow-egress`: Allow outbound internet traffic from the excluded VPCs - and subnets. Block inbound internet traffic to the excluded VPCs and - subnets. Only applies when VPC Block Public Access is set to - Bidirectional. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - `tag` - 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 `Owner` - and the value `TeamA`, specify `tag:Owner` for the filter name and - `TeamA` for the filter value. - """ - -@dataclass(kw_only=True) -class CreateVpcBlockPublicAccessExclusionOutput(_SerdeShape): - """Dataclass for CreateVpcBlockPublicAccessExclusionOutput structure.""" - - vpc_block_public_access_exclusion: VpcBlockPublicAccessExclusion | None = ... - """Details about an exclusion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpcEncryptionControlInput(_SerdeShape): - """Dataclass for CreateVpcEncryptionControlInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_id: str | None = ... - """ - The ID of the VPC for which to create the encryption control - configuration. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the VPC Encryption Control resource.""" - -@dataclass(kw_only=True) -class CreateVpcEncryptionControlOutput(_SerdeShape): - """Dataclass for CreateVpcEncryptionControlOutput structure.""" - - vpc_encryption_control: VpcEncryptionControl | None = ... - """Information about the VPC Encryption Control configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpcEndpointConnectionNotificationInput(_SerdeShape): - """Dataclass for CreateVpcEndpointConnectionNotificationInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_id: str | None = ... - """The ID of the endpoint service.""" - vpc_endpoint_id: str | None = ... - """The ID of the endpoint.""" - connection_notification_arn: str | None = ... - """The ARN of the SNS topic for the notifications.""" - connection_events: list[str] | None = ... - """ - The endpoint events for which to receive notifications. Valid values are - `Accept`, `Connect`, `Delete`, and `Reject`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class CreateVpcEndpointConnectionNotificationOutput(_SerdeShape): - """Dataclass for CreateVpcEndpointConnectionNotificationOutput structure.""" - - connection_notification: ConnectionNotification | None = ... - """Information about the notification.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpcEndpointInput(_SerdeShape): - """Dataclass for CreateVpcEndpointInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_endpoint_type: str | None = ... - """ - The type of endpoint. - - For more information about the types of VPC endpoints, see [VPC - endpoints](https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html#concepts-vpc-endpoints) - in the *Amazon Web Services PrivateLink User Guide*. - - Default: Gateway - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - service_name: str | None = ... - """The name of the endpoint service.""" - policy_document: str | None = ... - """ - (Interface and gateway endpoints) A policy to attach to the endpoint - that controls access to the service. The policy must be in valid JSON - format. If this parameter is not specified, we attach a default policy - that allows full access to the service. - """ - route_table_ids: list[str] | None = ... - """(Gateway endpoint) The route table IDs.""" - subnet_ids: list[str] | None = ... - """ - (Interface, Gateway Load Balancer endpoints, Resource, ServiceNetwork, - and Tunnel endpoints only) The IDs of the subnets in which to create - endpoint network interfaces. For a Gateway Load Balancer endpoint, you - can specify only one subnet. For a `Tunnel` endpoint, the subnets must - be in the Availability Zones of the resource gateway associated with the - shared resource configuration. An endpoint network interface is created - only in an Availability Zone that the resource gateway is also in. - """ - security_group_ids: list[str] | None = ... - """ - (Interface, Resource, ServiceNetwork, and Tunnel endpoints only) The IDs - of the security groups to associate with the endpoint network - interfaces. If this parameter is not specified, we use the default - security group for the VPC. - """ - ip_address_type: str | None = ... - """The IP address type for the endpoint.""" - dns_options: DnsOptionsSpecification | None = ... - """The DNS options for the endpoint.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - private_dns_enabled: bool | None = ... - """ - (Interface endpoint) Indicates whether to associate a private hosted - zone with the specified VPC. The private hosted zone contains a record - set for the default public DNS name for the service for the Region (for - example, `kinesis.us-east-1.amazonaws.com`), which resolves to the - private IP addresses of the endpoint network interfaces in the VPC. This - enables you to make requests to the default public DNS name for the - service instead of the public DNS names that are automatically generated - by the VPC endpoint service. - - To use a private hosted zone, you must set the following VPC attributes - to `true`: `enableDnsHostnames` and `enableDnsSupport`. Use - ModifyVpcAttribute to set the VPC attributes. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to associate with the endpoint.""" - subnet_configurations: list[SubnetConfiguration] | None = ... - """The subnet configurations for the endpoint.""" - service_network_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a service network that will be - associated with the VPC endpoint of type service-network. - """ - resource_configuration_arn: str | None = ... - """ - (Resource and Tunnel endpoints only) The Amazon Resource Name (ARN) of a - resource configuration associated with the VPC endpoint. The type of - resource configuration depends on the endpoint type: - - - For a Resource endpoint, you can specify a resource configuration that - is of type `SINGLE`, `GROUP`, or `ARN`. To reach a resource that - belongs to a group, specify the parent `GROUP` resource configuration. - - - For a Tunnel endpoint, you can specify a resource configuration that - is of type `CIDR`. - - For more information about the types of resource configurations, see - [Types of resource - configurations](https://docs.aws.amazon.com/vpc/latest/privatelink/resource-configuration.html) - in the *Amazon Web Services PrivateLink User Guide*. - - This request fails if a VPC endpoint owned by a different Amazon Web - Services account already exists on a resource gateway that is enabled - for `ResourceGatewayCharges` payer responsibility. - """ - service_region: str | None = ... - """ - The Region where the service is hosted. The default is the current - Region. - """ - -@dataclass(kw_only=True) -class CreateVpcEndpointOutput(_SerdeShape): - """Dataclass for CreateVpcEndpointOutput structure.""" - - vpc_endpoint: VpcEndpoint | None = ... - """Information about the endpoint.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpcEndpointServiceConfigurationInput(_SerdeShape): - """Dataclass for CreateVpcEndpointServiceConfigurationInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - acceptance_required: bool | None = ... - """ - Indicates whether requests from service consumers to create an endpoint - to your service must be accepted manually. - """ - private_dns_name: str | None = ... - """ - (Interface endpoint configuration) The private DNS name to assign to the - VPC endpoint service. - """ - network_load_balancer_arns: list[str] | None = ... - """The Amazon Resource Names (ARNs) of the Network Load Balancers.""" - gateway_load_balancer_arns: list[str] | None = ... - """The Amazon Resource Names (ARNs) of the Gateway Load Balancers.""" - supported_ip_address_types: list[str] | None = ... - """ - The supported IP address types. The possible values are `ipv4` and - `ipv6`. - """ - supported_regions: list[str] | None = ... - """The Regions from which service consumers can access the service.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to associate with the service.""" - -@dataclass(kw_only=True) -class CreateVpcEndpointServiceConfigurationOutput(_SerdeShape): - """Dataclass for CreateVpcEndpointServiceConfigurationOutput structure.""" - - service_configuration: ServiceConfiguration | None = ... - """Information about the service configuration.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpcInput(_SerdeShape): - """Dataclass for CreateVpcInput structure.""" - - cidr_block: str | None = ... - """ - The IPv4 network range for the VPC, in CIDR notation. For example, - `10.0.0.0/16`. We modify the specified CIDR block to its canonical form; - for example, if you specify `100.68.0.18/18`, we modify it to - `100.68.0.0/18`. - """ - ipv6_pool: str | None = ... - """ - The ID of an IPv6 address pool from which to allocate the IPv6 CIDR - block. - """ - ipv6_cidr_block: str | None = ... - """ - The IPv6 CIDR block from the IPv6 address pool. You must also specify - `Ipv6Pool` in the request. - - To let Amazon choose the IPv6 CIDR block for you, omit this parameter. - """ - ipv4_ipam_pool_id: str | None = ... - """ - The ID of an IPv4 IPAM pool you want to use for allocating this VPC's - CIDR. For more information, see [What is - IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - ipv4_netmask_length: int | None = ... - """ - The netmask length of the IPv4 CIDR you want to allocate to this VPC - from an Amazon VPC IP Address Manager (IPAM) pool. For more information - about IPAM, see [What is - IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - ipv6_ipam_pool_id: str | None = ... - """ - The ID of an IPv6 IPAM pool which will be used to allocate this VPC an - IPv6 CIDR. IPAM is a VPC feature that you can use to automate your IP - address management workflows including assigning, tracking, - troubleshooting, and auditing IP addresses across Amazon Web Services - Regions and accounts throughout your Amazon Web Services Organization. - For more information, see [What is - IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - ipv6_netmask_length: int | None = ... - """ - The netmask length of the IPv6 CIDR you want to allocate to this VPC - from an Amazon VPC IP Address Manager (IPAM) pool. For more information - about IPAM, see [What is - IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - ipv6_cidr_block_network_border_group: str | None = ... - """ - The name of the location from which we advertise the IPV6 CIDR block. - Use this parameter to limit the address to this location. - - You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this - parameter. - """ - vpc_encryption_control: VpcEncryptionControlConfiguration | None = ... - """ - Specifies the encryption control configuration to apply to the VPC - during creation. VPC Encryption Control enables you to enforce - encryption for all data in transit within and between VPCs to meet - compliance requirements. - - For more information, see [Enforce VPC encryption in - transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) - in the *Amazon VPC User Guide*. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the VPC.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_tenancy: str | None = ... - """ - The tenancy options for instances launched into the VPC. For `default`, - instances are launched with shared tenancy by default. You can launch - instances with any tenancy into a shared tenancy VPC. For `dedicated`, - instances are launched as dedicated tenancy instances by default. You - can only launch instances with a tenancy of `dedicated` or `host` into a - dedicated tenancy VPC. - - **Important:** The `host` value cannot be used with this parameter. Use - the `default` or `dedicated` values only. - - Default: `default` - """ - amazon_provided_ipv6_cidr_block: bool | None = ... - """ - Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for - the VPC. You cannot specify the range of IP addresses, or the size of - the CIDR block. - """ - -@dataclass(kw_only=True) -class CreateVpcOutput(_SerdeShape): - """Dataclass for CreateVpcOutput structure.""" - - vpc: Vpc | None = ... - """Information about the VPC.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpcPeeringConnectionInput(_SerdeShape): - """Dataclass for CreateVpcPeeringConnectionInput structure.""" - - peer_region: str | None = ... - """ - The Region code for the accepter VPC, if the accepter VPC is located in - a Region other than the Region in which you make the request. - - Default: The Region in which you make the request. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to assign to the peering connection.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_id: str | None = ... - """ - The ID of the requester VPC. You must specify this parameter in the - request. - """ - peer_vpc_id: str | None = ... - """ - The ID of the VPC with which you are creating the VPC peering - connection. You must specify this parameter in the request. - """ - peer_owner_id: str | None = ... - """ - The Amazon Web Services account ID of the owner of the accepter VPC. - - Default: Your Amazon Web Services account ID - """ - -@dataclass(kw_only=True) -class CreateVpcPeeringConnectionOutput(_SerdeShape): - """Dataclass for CreateVpcPeeringConnectionOutput structure.""" - - vpc_peering_connection: VpcPeeringConnection | None = ... - """Information about the VPC peering connection.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpnConcentratorInput(_SerdeShape): - """Dataclass for CreateVpnConcentratorInput structure.""" - - type: str | None = ... - """The type of VPN concentrator to create.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway to attach the VPN concentrator to.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the VPN concentrator during creation.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateVpnConcentratorOutput(_SerdeShape): - """Dataclass for CreateVpnConcentratorOutput structure.""" - - vpn_concentrator: VpnConcentrator | None = ... - """Information about the VPN concentrator.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpnConnectionInput(_SerdeShape): - """Contains the parameters for CreateVpnConnection.""" - - customer_gateway_id: str | None = ... - """The ID of the customer gateway.""" - type: str | None = ... - """The type of VPN connection (`ipsec.1`).""" - vpn_gateway_id: str | None = ... - """ - The ID of the virtual private gateway. If you specify a virtual private - gateway, you cannot specify a transit gateway. - """ - transit_gateway_id: str | None = ... - """ - The ID of the transit gateway. If you specify a transit gateway, you - cannot specify a virtual private gateway. - """ - vpn_concentrator_id: str | None = ... - """The ID of the VPN concentrator to associate with the VPN connection.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the VPN connection.""" - pre_shared_key_storage: str | None = ... - """ - Specifies the storage mode for the pre-shared key (PSK). Valid values - are `Standard`\" (stored in the Site-to-Site VPN service) or - `SecretsManager` (stored in Amazon Web Services Secrets Manager). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - options: VpnConnectionOptionsSpecification | None = ... - """The options for the VPN connection.""" - -@dataclass(kw_only=True) -class CreateVpnConnectionOutput(_SerdeShape): - """Contains the output of CreateVpnConnection.""" - - vpn_connection: VpnConnection | None = ... - """Information about the VPN connection.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpnConnectionRouteInput(_SerdeShape): - """Contains the parameters for CreateVpnConnectionRoute.""" - - destination_cidr_block: str | None = ... - """The CIDR block associated with the local subnet of the customer network.""" - vpn_connection_id: str | None = ... - """The ID of the VPN connection.""" - -@dataclass(kw_only=True) -class CreateVpnConnectionRouteOutput(_SerdeShape): - """Dataclass for CreateVpnConnectionRouteOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVpnGatewayInput(_SerdeShape): - """Contains the parameters for CreateVpnGateway.""" - - availability_zone: str | None = ... - """The Availability Zone for the virtual private gateway.""" - type: str | None = ... - """The type of VPN connection this virtual private gateway supports.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the virtual private gateway.""" - amazon_side_asn: int | None = ... - """ - A private Autonomous System Number (ASN) for the Amazon side of a BGP - session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 - range. If you're using a 32-bit ASN, it must be in the 4200000000 to - 4294967294 range. - - Default: 64512 - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class CreateVpnGatewayOutput(_SerdeShape): - """Contains the output of CreateVpnGateway.""" - - vpn_gateway: VpnGateway | None = ... - """Information about the virtual private gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreationDateCondition(_SerdeShape): - """The maximum age for allowed images.""" - - maximum_days_since_created: int | None = ... - """ - The maximum number of days that have elapsed since the image was - created. For example, a value of `300` allows images that were created - within the last 300 days. - """ - -@dataclass(kw_only=True) -class CreationDateConditionRequest(_SerdeShape): - """The maximum age for allowed images.""" - - maximum_days_since_created: int | None = ... - """ - The maximum number of days that have elapsed since the image was - created. For example, a value of `300` allows images that were created - within the last 300 days. - """ - -@dataclass(kw_only=True) -class CreditSpecification(_SerdeShape): - """Describes the credit option for CPU usage of a T instance.""" - - cpu_credits: str | None = ... - """ - The credit option for CPU usage of a T instance. - - Valid values: `standard` | `unlimited` - """ - -@dataclass(kw_only=True) -class CreditSpecificationRequest(_SerdeShape): - """The credit option for CPU usage of a T instance.""" - - cpu_credits: str | None = ... - """ - The credit option for CPU usage of a T instance. - - Valid values: `standard` | `unlimited` - """ - -class CurrencyCodeValues(UnknownEnumMixin, StrEnum): - USD = "USD" - -@dataclass(kw_only=True) -class CustomerGateway(_SerdeShape): - """Describes a customer gateway.""" - - certificate_arn: str | None = ... - """The Amazon Resource Name (ARN) for the customer gateway certificate.""" - device_name: str | None = ... - """The name of customer gateway device.""" - tags: list[Tag] | None = ... - """Any tags assigned to the customer gateway.""" - bgp_asn_extended: str | None = ... - """ - The customer gateway device's Border Gateway Protocol (BGP) Autonomous - System Number (ASN). - - Valid values: `2,147,483,648` to `4,294,967,295` - """ - customer_gateway_id: str | None = ... - """The ID of the customer gateway.""" - state: str | None = ... - """ - The current state of the customer gateway - (`pending | available | deleting | deleted`). - """ - type: str | None = ... - """The type of VPN connection the customer gateway supports (`ipsec.1`).""" - ip_address: str | None = ... - """ - The IP address for the customer gateway device's outside interface. The - address must be static. If `OutsideIpAddressType` in your VPN connection - options is set to `PrivateIpv4`, you can use an RFC6598 or RFC1918 - private IPv4 address. If `OutsideIpAddressType` is set to `PublicIpv4`, - you can use a public IPv4 address. If `OutsideIpAddressType` is set to - `Ipv6`, you can use a public IPv6 address. - """ - bgp_asn: str | None = ... - """ - The customer gateway device's Border Gateway Protocol (BGP) Autonomous - System Number (ASN). - - Valid values: `1` to `2,147,483,647` - """ - -@dataclass(kw_only=True) -class CustomTagKeyValueRequestPair(_SerdeShape): - """ - Describes a tag key-value pair for an application status check - association request. - """ - - key: str | None = ... - """The key of the tag.""" - value: str | None = ... - """The value of the tag.""" - -@dataclass(kw_only=True) -class CustomTagKeyValueResponsePair(_SerdeShape): - """ - Describes a tag key-value pair for an application status check - association. - """ - - key: str | None = ... - """The key of the tag.""" - value: str | None = ... - """The value of the tag.""" - -class DatafeedSubscriptionState(UnknownEnumMixin, StrEnum): - ACTIVE = "Active" - INACTIVE = "Inactive" - -@dataclass(kw_only=True) -class DataQuery(_SerdeShape): - """A query used for retrieving network health data.""" - - id: str | None = ... - """ - A user-defined ID associated with a data query that's returned in the - `dataResponse` identifying the query. For example, if you set the Id to - `MyQuery01`in the query, the `dataResponse` identifies the query as - `MyQuery01`. - """ - source: str | None = ... - """ - The Region or Availability Zone that's the source for the data query. - For example, `us-east-1`. - """ - destination: str | None = ... - """ - The Region or Availability Zone that's the target for the data query. - For example, `eu-north-1`. - """ - metric: str | None = ... - """The metric used for the network performance request.""" - statistic: str | None = ... - """ - The metric data aggregation period, `p50`, between the specified - `startDate` and `endDate`. For example, a metric of `five_minutes` is - the median of all the data points gathered within those five minutes. - `p50` is the only supported metric. - """ - period: str | None = ... - """The aggregation period used for the data query.""" - -@dataclass(kw_only=True) -class DataResponse(_SerdeShape): - """The response to a `DataQuery`.""" - - id: str | None = ... - """The ID passed in the `DataQuery`.""" - source: str | None = ... - """ - The Region or Availability Zone that's the source for the data query. - For example, `us-east-1`. - """ - destination: str | None = ... - """ - The Region or Availability Zone that's the destination for the data - query. For example, `eu-west-1`. - """ - metric: str | None = ... - """The metric used for the network performance request.""" - statistic: str | None = ... - """The statistic used for the network performance request.""" - period: str | None = ... - """The period used for the network performance request.""" - metric_points: list[MetricPoint] | None = ... - """A list of `MetricPoint` objects.""" - -@dataclass(kw_only=True) -class DeclarativePoliciesReport(_SerdeShape): - """Describes the metadata of the account status report.""" - - report_id: str | None = ... - """The ID of the report.""" - s3_bucket: str | None = ... - """The name of the Amazon S3 bucket where the report is located.""" - s3_prefix: str | None = ... - """The prefix for your S3 object.""" - target_id: str | None = ... - """ - The root ID, organizational unit ID, or account ID. - - Format: - - - For root: `r-ab12` - - - For OU: `ou-ab12-cdef1234` - - - For account: `123456789012` - """ - start_time: datetime | None = ... - """The time when the report generation started.""" - end_time: datetime | None = ... - """The time when the report generation ended.""" - status: str | None = ... - """The current status of the report.""" - tags: list[Tag] | None = ... - """Any tags assigned to the report.""" - -@dataclass(kw_only=True) -class DefaultConnectionTrackingConfiguration(_SerdeShape): - """ - Indicates default conntrack information for the instance type. For more - information, see [Connection tracking - timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the Amazon EC2 User Guide. - """ - - default_tcp_established_timeout: int | None = ... - """ - Default timeout (in seconds) for idle TCP connections in an established - state. - """ - default_udp_timeout: int | None = ... - """ - Default timeout (in seconds) for idle UDP flows that have seen traffic - only in a single direction or a single request-response transaction. - """ - default_udp_stream_timeout: int | None = ... - """ - Default timeout (in seconds) for idle UDP flows classified as streams - which have seen more than one request-response transaction. - """ - -class DefaultHttpTokensEnforcedState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - NO_PREFERENCE = "no-preference" - -class DefaultInstanceMetadataEndpointState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - NO_PREFERENCE = "no-preference" - -class DefaultInstanceMetadataTagsState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - NO_PREFERENCE = "no-preference" - -class DefaultRouteTableAssociationValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class DefaultRouteTablePropagationValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class DefaultTargetCapacityType(UnknownEnumMixin, StrEnum): - SPOT = "spot" - ON_DEMAND = "on-demand" - CAPACITY_BLOCK = "capacity-block" - RESERVED_CAPACITY = "reserved-capacity" - -@dataclass(kw_only=True) -class DeleteApplicationStatusCheckInput(_SerdeShape): - """Dataclass for DeleteApplicationStatusCheckInput structure.""" - - application_status_check_id: str | None = ... - """The ID of the application status check to delete.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure that the - operation completes no more than one time. If you retry a request with - the same token, the service ignores the request but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteApplicationStatusCheckOutput(_SerdeShape): - """Dataclass for DeleteApplicationStatusCheckOutput structure.""" - - application_status_check: ApplicationStatusCheckResponseObject | None = ... - """Information about the deleted application status check.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCapacityManagerDataExportInput(_SerdeShape): - """Dataclass for DeleteCapacityManagerDataExportInput structure.""" - - capacity_manager_data_export_id: str | None = ... - """The unique identifier of the data export configuration to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteCapacityManagerDataExportOutput(_SerdeShape): - """Dataclass for DeleteCapacityManagerDataExportOutput structure.""" - - capacity_manager_data_export_id: str | None = ... - """The unique identifier of the deleted data export configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCarrierGatewayInput(_SerdeShape): - """Dataclass for DeleteCarrierGatewayInput structure.""" - - carrier_gateway_id: str | None = ... - """The ID of the carrier gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteCarrierGatewayOutput(_SerdeShape): - """Dataclass for DeleteCarrierGatewayOutput structure.""" - - carrier_gateway: CarrierGateway | None = ... - """Information about the carrier gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteClientVpnEndpointAuthorizationPolicyInput(_SerdeShape): - """Dataclass for DeleteClientVpnEndpointAuthorizationPolicyInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteClientVpnEndpointAuthorizationPolicyOutput(_SerdeShape): - """ - Dataclass for DeleteClientVpnEndpointAuthorizationPolicyOutput - structure. - """ - - status: str | None = ... - """The current state of the authorization policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteClientVpnEndpointInput(_SerdeShape): - """Dataclass for DeleteClientVpnEndpointInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN to be deleted.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteClientVpnEndpointOutput(_SerdeShape): - """Dataclass for DeleteClientVpnEndpointOutput structure.""" - - status: ClientVpnEndpointStatus | None = ... - """The current state of the Client VPN endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteClientVpnRouteInput(_SerdeShape): - """Dataclass for DeleteClientVpnRouteInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint from which the route is to be deleted.""" - target_vpc_subnet_id: str | None = ... - """The ID of the target subnet used by the route.""" - destination_cidr_block: str | None = ... - """The IPv4 address range, in CIDR notation, of the route to be deleted.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteClientVpnRouteOutput(_SerdeShape): - """Dataclass for DeleteClientVpnRouteOutput structure.""" - - status: ClientVpnRouteStatus | None = ... - """The current state of the route.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCoipCidrInput(_SerdeShape): - """Dataclass for DeleteCoipCidrInput structure.""" - - cidr: str | None = ... - """A customer-owned IP address range that you want to delete.""" - coip_pool_id: str | None = ... - """The ID of the customer-owned address pool.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteCoipCidrOutput(_SerdeShape): - """Dataclass for DeleteCoipCidrOutput structure.""" - - coip_cidr: CoipCidr | None = ... - """Information about a range of customer-owned IP addresses.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCoipPoolInput(_SerdeShape): - """Dataclass for DeleteCoipPoolInput structure.""" - - coip_pool_id: str | None = ... - """The ID of the CoIP pool that you want to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteCoipPoolOutput(_SerdeShape): - """Dataclass for DeleteCoipPoolOutput structure.""" - - coip_pool: CoipPool | None = ... - """Information about the CoIP address pool.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCustomerGatewayInput(_SerdeShape): - """Contains the parameters for DeleteCustomerGateway.""" - - customer_gateway_id: str | None = ... - """The ID of the customer gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteCustomerGatewayOutput(_SerdeShape): - """Dataclass for DeleteCustomerGatewayOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDhcpOptionsInput(_SerdeShape): - """Dataclass for DeleteDhcpOptionsInput structure.""" - - dhcp_options_id: str | None = ... - """The ID of the DHCP options set.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteDhcpOptionsOutput(_SerdeShape): - """Dataclass for DeleteDhcpOptionsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteEgressOnlyInternetGatewayInput(_SerdeShape): - """Dataclass for DeleteEgressOnlyInternetGatewayInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - egress_only_internet_gateway_id: str | None = ... - """The ID of the egress-only internet gateway.""" - -@dataclass(kw_only=True) -class DeleteEgressOnlyInternetGatewayOutput(_SerdeShape): - """Dataclass for DeleteEgressOnlyInternetGatewayOutput structure.""" - - return_code: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFleetError(_SerdeShape): - """Describes an EC2 Fleet error.""" - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The description for the error code.""" - -class DeleteFleetErrorCode(UnknownEnumMixin, StrEnum): - FLEET_ID_DOES_NOT_EXIST = "fleetIdDoesNotExist" - FLEET_ID_MALFORMED = "fleetIdMalformed" - FLEET_NOT_IN_DELETABLE_STATE = "fleetNotInDeletableState" - UNEXPECTED_ERROR = "unexpectedError" - -@dataclass(kw_only=True) -class DeleteFleetErrorItem(_SerdeShape): - """Describes an EC2 Fleet that was not successfully deleted.""" - - error: DeleteFleetError | None = ... - """The error.""" - fleet_id: str | None = ... - """The ID of the EC2 Fleet.""" - -@dataclass(kw_only=True) -class DeleteFleetsInput(_SerdeShape): - """Dataclass for DeleteFleetsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - fleet_ids: list[str] | None = ... - """ - The IDs of the EC2 Fleets. - - Constraints: In a single request, you can specify up to 25 `instant` - fleet IDs and up to 100 `maintain` or `request` fleet IDs. - """ - terminate_instances: bool | None = ... - """ - Indicates whether to terminate the associated instances when the EC2 - Fleet is deleted. The default is to terminate the instances. - - To let the instances continue to run after the EC2 Fleet is deleted, - specify `no-terminate-instances`. Supported only for fleets of type - `maintain` and `request`. - - For `instant` fleets, you cannot specify `NoTerminateInstances`. A - deleted `instant` fleet with running instances is not supported. - """ - -@dataclass(kw_only=True) -class DeleteFleetsOutput(_SerdeShape): - """Dataclass for DeleteFleetsOutput structure.""" - - successful_fleet_deletions: list[DeleteFleetSuccessItem] | None = ... - """Information about the EC2 Fleets that are successfully deleted.""" - unsuccessful_fleet_deletions: list[DeleteFleetErrorItem] | None = ... - """Information about the EC2 Fleets that are not successfully deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFleetSuccessItem(_SerdeShape): - """Describes an EC2 Fleet that was successfully deleted.""" - - current_fleet_state: str | None = ... - """The current state of the EC2 Fleet.""" - previous_fleet_state: str | None = ... - """The previous state of the EC2 Fleet.""" - fleet_id: str | None = ... - """The ID of the EC2 Fleet.""" - -@dataclass(kw_only=True) -class DeleteFlowLogsInput(_SerdeShape): - """Dataclass for DeleteFlowLogsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - flow_log_ids: list[str] | None = ... - """ - One or more flow log IDs. - - Constraint: Maximum of 1000 flow log IDs. - """ - -@dataclass(kw_only=True) -class DeleteFlowLogsOutput(_SerdeShape): - """Dataclass for DeleteFlowLogsOutput structure.""" - - unsuccessful: list[UnsuccessfulItem] | None = ... - """Information about the flow logs that could not be deleted successfully.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFpgaImageInput(_SerdeShape): - """Dataclass for DeleteFpgaImageInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - fpga_image_id: str | None = ... - """The ID of the AFI.""" - -@dataclass(kw_only=True) -class DeleteFpgaImageOutput(_SerdeShape): - """Dataclass for DeleteFpgaImageOutput structure.""" - - return_: bool | None = ... - """Is `true` if the request succeeds, and an error otherwise.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteImageUsageReportInput(_SerdeShape): - """Dataclass for DeleteImageUsageReportInput structure.""" - - report_id: str | None = ... - """The ID of the report to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteImageUsageReportOutput(_SerdeShape): - """Dataclass for DeleteImageUsageReportOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteInstanceConnectEndpointInput(_SerdeShape): - """Dataclass for DeleteInstanceConnectEndpointInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_connect_endpoint_id: str | None = ... - """The ID of the EC2 Instance Connect Endpoint to delete.""" - -@dataclass(kw_only=True) -class DeleteInstanceConnectEndpointOutput(_SerdeShape): - """Dataclass for DeleteInstanceConnectEndpointOutput structure.""" - - instance_connect_endpoint: Ec2InstanceConnectEndpoint | None = ... - """Information about the EC2 Instance Connect Endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteInstanceEventWindowInput(_SerdeShape): - """Dataclass for DeleteInstanceEventWindowInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - force_delete: bool | None = ... - """ - Specify `true` to force delete the event window. Use the force delete - parameter if the event window is currently associated with targets. - """ - instance_event_window_id: str | None = ... - """The ID of the event window.""" - -@dataclass(kw_only=True) -class DeleteInstanceEventWindowOutput(_SerdeShape): - """Dataclass for DeleteInstanceEventWindowOutput structure.""" - - instance_event_window_state: InstanceEventWindowStateChange | None = ... - """The state of the event window.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteInternetGatewayInput(_SerdeShape): - """Dataclass for DeleteInternetGatewayInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - internet_gateway_id: str | None = ... - """The ID of the internet gateway.""" - -@dataclass(kw_only=True) -class DeleteInternetGatewayOutput(_SerdeShape): - """Dataclass for DeleteInternetGatewayOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamExternalResourceVerificationTokenInput(_SerdeShape): - """ - Dataclass for DeleteIpamExternalResourceVerificationTokenInput - structure. - """ - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_external_resource_verification_token_id: str | None = ... - """The token ID.""" - -@dataclass(kw_only=True) -class DeleteIpamExternalResourceVerificationTokenOutput(_SerdeShape): - """ - Dataclass for DeleteIpamExternalResourceVerificationTokenOutput - structure. - """ - - ipam_external_resource_verification_token: ( - IpamExternalResourceVerificationToken | None - ) = ... - """The verification token.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamInput(_SerdeShape): - """Dataclass for DeleteIpamInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """The ID of the IPAM to delete.""" - cascade: bool | None = ... - """ - Enables you to quickly delete an IPAM, private scopes, pools in private - scopes, and any allocations in the pools in private scopes. You cannot - delete the IPAM with this option if there is a pool in your public - scope. If you use this option, IPAM does the following: - - - Deallocates any CIDRs allocated to VPC resources (such as VPCs) in - pools in private scopes. - - Note: - No VPC resources are deleted as a result of enabling this option. The - CIDR associated with the resource will no longer be allocated from an - IPAM pool, but the CIDR itself will remain unchanged. - - - Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private - scopes. - - - Deletes all IPAM pools in private scopes. - - - Deletes all non-default private scopes in the IPAM. - - - Deletes the default public and private scopes and the IPAM. - """ - -@dataclass(kw_only=True) -class DeleteIpamInternetRegistryAssociationInput(_SerdeShape): - """Dataclass for DeleteIpamInternetRegistryAssociationInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association to delete.""" - -@dataclass(kw_only=True) -class DeleteIpamInternetRegistryAssociationOutput(_SerdeShape): - """Dataclass for DeleteIpamInternetRegistryAssociationOutput structure.""" - - ipam_internet_registry_association: IpamInternetRegistryAssociation | None = ... - """Information about the deleted internet registry association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamOutput(_SerdeShape): - """Dataclass for DeleteIpamOutput structure.""" - - ipam: Ipam | None = ... - """Information about the results of the deletion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamPolicyInput(_SerdeShape): - """Dataclass for DeleteIpamPolicyInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_policy_id: str | None = ... - """The ID of the IPAM policy to delete.""" - -@dataclass(kw_only=True) -class DeleteIpamPolicyOutput(_SerdeShape): - """Dataclass for DeleteIpamPolicyOutput structure.""" - - ipam_policy: IpamPolicy | None = ... - """ - Information about the deleted IPAM policy. - - An IPAM policy is a set of rules that define how public IPv4 addresses - from IPAM pools are allocated to Amazon Web Services resources. Each - rule maps an Amazon Web Services service to IPAM pools that the service - will use to get IP addresses. A single policy can have multiple rules - and be applied to multiple Amazon Web Services Regions. If the IPAM pool - run out of addresses then the services fallback to Amazon-provided IP - addresses. A policy can be applied to an individual Amazon Web Services - account or an entity within Amazon Web Services Organizations. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamPoolInput(_SerdeShape): - """Dataclass for DeleteIpamPoolInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_id: str | None = ... - """The ID of the pool to delete.""" - cascade: bool | None = ... - """ - Enables you to quickly delete an IPAM pool and all resources within that - pool, including provisioned CIDRs, allocations, and other pools. - - Warning: - You can only use this option to delete pools in the private scope or - pools in the public scope with a source resource. A source resource is a - resource used to provision CIDRs to a resource planning pool. - """ - -@dataclass(kw_only=True) -class DeleteIpamPoolOutput(_SerdeShape): - """Dataclass for DeleteIpamPoolOutput structure.""" - - ipam_pool: IpamPool | None = ... - """Information about the results of the deletion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamPrefixListResolverInput(_SerdeShape): - """Dataclass for DeleteIpamPrefixListResolverInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_prefix_list_resolver_id: str | None = ... - """The ID of the IPAM prefix list resolver to delete.""" - -@dataclass(kw_only=True) -class DeleteIpamPrefixListResolverOutput(_SerdeShape): - """Dataclass for DeleteIpamPrefixListResolverOutput structure.""" - - ipam_prefix_list_resolver: IpamPrefixListResolver | None = ... - """Information about the IPAM prefix list resolver that was deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamPrefixListResolverTargetInput(_SerdeShape): - """Dataclass for DeleteIpamPrefixListResolverTargetInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_prefix_list_resolver_target_id: str | None = ... - """The ID of the IPAM prefix list resolver target to delete.""" - -@dataclass(kw_only=True) -class DeleteIpamPrefixListResolverTargetOutput(_SerdeShape): - """Dataclass for DeleteIpamPrefixListResolverTargetOutput structure.""" - - ipam_prefix_list_resolver_target: IpamPrefixListResolverTarget | None = ... - """Information about the IPAM prefix list resolver target that was deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamResourceDiscoveryInput(_SerdeShape): - """Dataclass for DeleteIpamResourceDiscoveryInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_resource_discovery_id: str | None = ... - """The IPAM resource discovery ID.""" - -@dataclass(kw_only=True) -class DeleteIpamResourceDiscoveryOutput(_SerdeShape): - """Dataclass for DeleteIpamResourceDiscoveryOutput structure.""" - - ipam_resource_discovery: IpamResourceDiscovery | None = ... - """The IPAM resource discovery.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamRoutingPolicyRegistrationInput(_SerdeShape): - """Dataclass for DeleteIpamRoutingPolicyRegistrationInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association.""" - cidr: str | None = ... - """ - The IP address prefix in CIDR notation identifying the routing policy - registration to delete. - """ - force: bool | None = ... - """ - Forces the deletion even if it conflicts with an announced route. - Default: `false`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, the operation ignores the request, but does not return an - error. - """ - -@dataclass(kw_only=True) -class DeleteIpamRoutingPolicyRegistrationOutput(_SerdeShape): - """Dataclass for DeleteIpamRoutingPolicyRegistrationOutput structure.""" - - ipam_routing_policy_registration_delta: ( - IpamRoutingPolicyRegistrationDelta | None - ) = ... - """ - Information about the routing policy registration delta created by this - deletion. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIpamScopeInput(_SerdeShape): - """Dataclass for DeleteIpamScopeInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_scope_id: str | None = ... - """The ID of the scope to delete.""" - -@dataclass(kw_only=True) -class DeleteIpamScopeOutput(_SerdeShape): - """Dataclass for DeleteIpamScopeOutput structure.""" - - ipam_scope: IpamScope | None = ... - """Information about the results of the deletion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteKeyPairInput(_SerdeShape): - """Dataclass for DeleteKeyPairInput structure.""" - - key_name: str | None = ... - """The name of the key pair.""" - key_pair_id: str | None = ... - """The ID of the key pair.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteKeyPairOutput(_SerdeShape): - """Dataclass for DeleteKeyPairOutput structure.""" - - return_: bool | None = ... - """Is `true` if the request succeeds, and an error otherwise.""" - key_pair_id: str | None = ... - """The ID of the key pair.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLaunchTemplateInput(_SerdeShape): - """Dataclass for DeleteLaunchTemplateInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - launch_template_id: str | None = ... - """ - The ID of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - launch_template_name: str | None = ... - """ - The name of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - -@dataclass(kw_only=True) -class DeleteLaunchTemplateOutput(_SerdeShape): - """Dataclass for DeleteLaunchTemplateOutput structure.""" - - launch_template: LaunchTemplate | None = ... - """Information about the launch template.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLaunchTemplateVersionsInput(_SerdeShape): - """Dataclass for DeleteLaunchTemplateVersionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - launch_template_id: str | None = ... - """ - The ID of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - launch_template_name: str | None = ... - """ - The name of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - versions: list[str] | None = ... - """ - The version numbers of one or more launch template versions to delete. - You can specify up to 200 launch template version numbers. - """ - -@dataclass(kw_only=True) -class DeleteLaunchTemplateVersionsOutput(_SerdeShape): - """Dataclass for DeleteLaunchTemplateVersionsOutput structure.""" - - successfully_deleted_launch_template_versions: ( - list[DeleteLaunchTemplateVersionsResponseSuccessItem] | None - ) = ... - """ - Information about the launch template versions that were successfully - deleted. - """ - unsuccessfully_deleted_launch_template_versions: ( - list[DeleteLaunchTemplateVersionsResponseErrorItem] | None - ) = ... - """ - Information about the launch template versions that could not be - deleted. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLaunchTemplateVersionsResponseErrorItem(_SerdeShape): - """Describes a launch template version that could not be deleted.""" - - launch_template_id: str | None = ... - """The ID of the launch template.""" - launch_template_name: str | None = ... - """The name of the launch template.""" - version_number: int | None = ... - """The version number of the launch template.""" - response_error: ResponseError | None = ... - """Information about the error.""" - -@dataclass(kw_only=True) -class DeleteLaunchTemplateVersionsResponseSuccessItem(_SerdeShape): - """Describes a launch template version that was successfully deleted.""" - - launch_template_id: str | None = ... - """The ID of the launch template.""" - launch_template_name: str | None = ... - """The name of the launch template.""" - version_number: int | None = ... - """The version number of the launch template.""" - -@dataclass(kw_only=True) -class DeleteLocalGatewayRouteInput(_SerdeShape): - """Dataclass for DeleteLocalGatewayRouteInput structure.""" - - destination_cidr_block: str | None = ... - """ - The CIDR range for the route. This must match the CIDR for the route - exactly. - """ - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - destination_prefix_list_id: str | None = ... - """ - Use a prefix list in place of `DestinationCidrBlock`. You cannot use - `DestinationPrefixListId` and `DestinationCidrBlock` in the same - request. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayRouteOutput(_SerdeShape): - """Dataclass for DeleteLocalGatewayRouteOutput structure.""" - - route: LocalGatewayRoute | None = ... - """Information about the route.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayRouteTableInput(_SerdeShape): - """Dataclass for DeleteLocalGatewayRouteTableInput structure.""" - - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayRouteTableOutput(_SerdeShape): - """Dataclass for DeleteLocalGatewayRouteTableOutput structure.""" - - local_gateway_route_table: LocalGatewayRouteTable | None = ... - """Information about the local gateway route table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput(_SerdeShape): - """ - Dataclass for - DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput - structure. - """ - - local_gateway_route_table_virtual_interface_group_association_id: str | None = ... - """ - The ID of the local gateway route table virtual interface group - association. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput(_SerdeShape): - """ - Dataclass for - DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput - structure. - """ - - local_gateway_route_table_virtual_interface_group_association: ( - LocalGatewayRouteTableVirtualInterfaceGroupAssociation | None - ) = ... - """Information about the association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayRouteTableVpcAssociationInput(_SerdeShape): - """Dataclass for DeleteLocalGatewayRouteTableVpcAssociationInput structure.""" - - local_gateway_route_table_vpc_association_id: str | None = ... - """The ID of the association.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayRouteTableVpcAssociationOutput(_SerdeShape): - """ - Dataclass for DeleteLocalGatewayRouteTableVpcAssociationOutput - structure. - """ - - local_gateway_route_table_vpc_association: ( - LocalGatewayRouteTableVpcAssociation | None - ) = ... - """Information about the association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayVirtualInterfaceGroupInput(_SerdeShape): - """Dataclass for DeleteLocalGatewayVirtualInterfaceGroupInput structure.""" - - local_gateway_virtual_interface_group_id: str | None = ... - """The ID of the local gateway virtual interface group to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayVirtualInterfaceGroupOutput(_SerdeShape): - """Dataclass for DeleteLocalGatewayVirtualInterfaceGroupOutput structure.""" - - local_gateway_virtual_interface_group: ( - LocalGatewayVirtualInterfaceGroup | None - ) = ... - """Information about the deleted local gateway virtual interface group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayVirtualInterfaceInput(_SerdeShape): - """Dataclass for DeleteLocalGatewayVirtualInterfaceInput structure.""" - - local_gateway_virtual_interface_id: str | None = ... - """The ID of the local virtual interface to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteLocalGatewayVirtualInterfaceOutput(_SerdeShape): - """Dataclass for DeleteLocalGatewayVirtualInterfaceOutput structure.""" - - local_gateway_virtual_interface: LocalGatewayVirtualInterface | None = ... - """Information about the deleted local gateway virtual interface.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteManagedPrefixListInput(_SerdeShape): - """Dataclass for DeleteManagedPrefixListInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - -@dataclass(kw_only=True) -class DeleteManagedPrefixListOutput(_SerdeShape): - """Dataclass for DeleteManagedPrefixListOutput structure.""" - - prefix_list: ManagedPrefixList | None = ... - """Information about the prefix list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteNatGatewayInput(_SerdeShape): - """Dataclass for DeleteNatGatewayInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - -@dataclass(kw_only=True) -class DeleteNatGatewayOutput(_SerdeShape): - """Dataclass for DeleteNatGatewayOutput structure.""" - - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteNetworkAclEntryInput(_SerdeShape): - """Dataclass for DeleteNetworkAclEntryInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_acl_id: str | None = ... - """The ID of the network ACL.""" - rule_number: int | None = ... - """The rule number of the entry to delete.""" - egress: bool | None = ... - """Indicates whether the rule is an egress rule.""" - -@dataclass(kw_only=True) -class DeleteNetworkAclEntryOutput(_SerdeShape): - """Dataclass for DeleteNetworkAclEntryOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteNetworkAclInput(_SerdeShape): - """Dataclass for DeleteNetworkAclInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_acl_id: str | None = ... - """The ID of the network ACL.""" - -@dataclass(kw_only=True) -class DeleteNetworkAclOutput(_SerdeShape): - """Dataclass for DeleteNetworkAclOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteNetworkInsightsAccessScopeAnalysisInput(_SerdeShape): - """Dataclass for DeleteNetworkInsightsAccessScopeAnalysisInput structure.""" - - network_insights_access_scope_analysis_id: str | None = ... - """The ID of the Network Access Scope analysis.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteNetworkInsightsAccessScopeAnalysisOutput(_SerdeShape): - """Dataclass for DeleteNetworkInsightsAccessScopeAnalysisOutput structure.""" - - network_insights_access_scope_analysis_id: str | None = ... - """The ID of the Network Access Scope analysis.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteNetworkInsightsAccessScopeInput(_SerdeShape): - """Dataclass for DeleteNetworkInsightsAccessScopeInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_insights_access_scope_id: str | None = ... - """The ID of the Network Access Scope.""" - -@dataclass(kw_only=True) -class DeleteNetworkInsightsAccessScopeOutput(_SerdeShape): - """Dataclass for DeleteNetworkInsightsAccessScopeOutput structure.""" - - network_insights_access_scope_id: str | None = ... - """The ID of the Network Access Scope.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteNetworkInsightsAnalysisInput(_SerdeShape): - """Dataclass for DeleteNetworkInsightsAnalysisInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_insights_analysis_id: str | None = ... - """The ID of the network insights analysis.""" - -@dataclass(kw_only=True) -class DeleteNetworkInsightsAnalysisOutput(_SerdeShape): - """Dataclass for DeleteNetworkInsightsAnalysisOutput structure.""" - - network_insights_analysis_id: str | None = ... - """The ID of the network insights analysis.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteNetworkInsightsPathInput(_SerdeShape): - """Dataclass for DeleteNetworkInsightsPathInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_insights_path_id: str | None = ... - """The ID of the path.""" - -@dataclass(kw_only=True) -class DeleteNetworkInsightsPathOutput(_SerdeShape): - """Dataclass for DeleteNetworkInsightsPathOutput structure.""" - - network_insights_path_id: str | None = ... - """The ID of the path.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteNetworkInterfaceInput(_SerdeShape): - """Contains the parameters for DeleteNetworkInterface.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_interface_id: str | None = ... - """The ID of the network interface.""" - -@dataclass(kw_only=True) -class DeleteNetworkInterfaceOutput(_SerdeShape): - """Dataclass for DeleteNetworkInterfaceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteNetworkInterfacePermissionInput(_SerdeShape): - """Contains the parameters for DeleteNetworkInterfacePermission.""" - - network_interface_permission_id: str | None = ... - """The ID of the network interface permission.""" - force: bool | None = ... - """ - Specify `true` to remove the permission even if the network interface is - attached to an instance. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteNetworkInterfacePermissionOutput(_SerdeShape): - """Contains the output for DeleteNetworkInterfacePermission.""" - - return_: bool | None = ... - """Is `true` if the request succeeds and an error otherwise.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePlacementGroupInput(_SerdeShape): - """Dataclass for DeletePlacementGroupInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - group_name: str | None = ... - """The name of the placement group.""" - -@dataclass(kw_only=True) -class DeletePlacementGroupOutput(_SerdeShape): - """Dataclass for DeletePlacementGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePublicIpv4PoolInput(_SerdeShape): - """Dataclass for DeletePublicIpv4PoolInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - pool_id: str | None = ... - """The ID of the public IPv4 pool you want to delete.""" - network_border_group: str | None = ... - """ - The Availability Zone (AZ) or Local Zone (LZ) network border group that - the resource that the IP address is assigned to is in. Defaults to an AZ - network border group. For more information on available Local Zones, see - [Local Zone - availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class DeletePublicIpv4PoolOutput(_SerdeShape): - """Dataclass for DeletePublicIpv4PoolOutput structure.""" - - return_value: bool | None = ... - """Information about the result of deleting the public IPv4 pool.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteQueuedReservedInstancesError(_SerdeShape): - """ - Describes the error for a Reserved Instance whose queued purchase could - not be deleted. - """ - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The error message.""" - -class DeleteQueuedReservedInstancesErrorCode(UnknownEnumMixin, StrEnum): - RESERVED_INSTANCES_ID_INVALID = "reserved-instances-id-invalid" - RESERVED_INSTANCES_NOT_IN_QUEUED_STATE = "reserved-instances-not-in-queued-state" - UNEXPECTED_ERROR = "unexpected-error" - -@dataclass(kw_only=True) -class DeleteQueuedReservedInstancesInput(_SerdeShape): - """Dataclass for DeleteQueuedReservedInstancesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - reserved_instances_ids: list[str] | None = ... - """The IDs of the Reserved Instances.""" - -@dataclass(kw_only=True) -class DeleteQueuedReservedInstancesOutput(_SerdeShape): - """Dataclass for DeleteQueuedReservedInstancesOutput structure.""" - - successful_queued_purchase_deletions: ( - list[SuccessfulQueuedPurchaseDeletion] | None - ) = ... - """Information about the queued purchases that were successfully deleted.""" - failed_queued_purchase_deletions: list[FailedQueuedPurchaseDeletion] | None = ... - """Information about the queued purchases that could not be deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRouteInput(_SerdeShape): - """Dataclass for DeleteRouteInput structure.""" - - destination_prefix_list_id: str | None = ... - """The ID of the prefix list for the route.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - route_table_id: str | None = ... - """The ID of the route table.""" - destination_cidr_block: str | None = ... - """ - The IPv4 CIDR range for the route. The value you specify must match the - CIDR for the route exactly. - """ - destination_ipv6_cidr_block: str | None = ... - """ - The IPv6 CIDR range for the route. The value you specify must match the - CIDR for the route exactly. - """ - -@dataclass(kw_only=True) -class DeleteRouteOutput(_SerdeShape): - """Dataclass for DeleteRouteOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRouteServerEndpointInput(_SerdeShape): - """Dataclass for DeleteRouteServerEndpointInput structure.""" - - route_server_endpoint_id: str | None = ... - """The ID of the route server endpoint to delete.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteRouteServerEndpointOutput(_SerdeShape): - """Dataclass for DeleteRouteServerEndpointOutput structure.""" - - route_server_endpoint: RouteServerEndpoint | None = ... - """Information about the deleted route server endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRouteServerInput(_SerdeShape): - """Dataclass for DeleteRouteServerInput structure.""" - - route_server_id: str | None = ... - """The ID of the route server to delete.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteRouteServerOutput(_SerdeShape): - """Dataclass for DeleteRouteServerOutput structure.""" - - route_server: RouteServer | None = ... - """Information about the deleted route server.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRouteServerPeerInput(_SerdeShape): - """Dataclass for DeleteRouteServerPeerInput structure.""" - - route_server_peer_id: str | None = ... - """The ID of the route server peer to delete.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteRouteServerPeerOutput(_SerdeShape): - """Dataclass for DeleteRouteServerPeerOutput structure.""" - - route_server_peer: RouteServerPeer | None = ... - """Information about the deleted route server peer.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRouteTableInput(_SerdeShape): - """Dataclass for DeleteRouteTableInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - route_table_id: str | None = ... - """The ID of the route table.""" - -@dataclass(kw_only=True) -class DeleteRouteTableOutput(_SerdeShape): - """Dataclass for DeleteRouteTableOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSecondaryNetworkInput(_SerdeShape): - """Dataclass for DeleteSecondaryNetworkInput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - secondary_network_id: str | None = ... - """The ID of the secondary network.""" - -@dataclass(kw_only=True) -class DeleteSecondaryNetworkOutput(_SerdeShape): - """Dataclass for DeleteSecondaryNetworkOutput structure.""" - - secondary_network: SecondaryNetwork | None = ... - """Information about the secondary network.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier to ensure the idempotency of the - request. Only returned if a client token was provided in the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSecondarySubnetInput(_SerdeShape): - """Dataclass for DeleteSecondarySubnetInput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - secondary_subnet_id: str | None = ... - """The ID of the secondary subnet to delete.""" - -@dataclass(kw_only=True) -class DeleteSecondarySubnetOutput(_SerdeShape): - """Dataclass for DeleteSecondarySubnetOutput structure.""" - - secondary_subnet: SecondarySubnet | None = ... - """Information about the secondary subnet being deleted.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier to ensure the idempotency of the - request. Only returned if a client token was provided in the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSecurityGroupInput(_SerdeShape): - """Dataclass for DeleteSecurityGroupInput structure.""" - - group_id: str | None = ... - """The ID of the security group.""" - group_name: str | None = ... - """ - [Default VPC] The name of the security group. You can specify either - the security group name or the security group ID. For security groups in - a nondefault VPC, you must specify the security group ID. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteSecurityGroupOutput(_SerdeShape): - """Dataclass for DeleteSecurityGroupOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - group_id: str | None = ... - """The ID of the deleted security group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSnapshotInput(_SerdeShape): - """Dataclass for DeleteSnapshotInput structure.""" - - snapshot_id: str | None = ... - """The ID of the EBS snapshot.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteSnapshotOutput(_SerdeShape): - """Dataclass for DeleteSnapshotOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSnapshotReturnCode(_SerdeShape): - """The snapshot ID and its deletion result code.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - return_code: str | None = ... - """ - The result code from the snapshot deletion attempt. Possible values: - - - `success` - The snapshot was successfully deleted. - - - `skipped` - The snapshot was not deleted because it's associated with - other AMIs. - - - `missing-permissions` - The snapshot was not deleted because the role - lacks `DeleteSnapshot` permissions. For more information, see [How - Amazon EBS works with - IAM](https://docs.aws.amazon.com/ebs/latest/userguide/security_iam_service-with-iam.html). - - - `internal-error` - The snapshot was not deleted due to a server error. - - - `client-error` - The snapshot was not deleted due to a client - configuration error. - - For details about an error, check the `DeleteSnapshot` event in the - CloudTrail event history. For more information, see [View event - history](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/tutorial-event-history.html) - in the *Amazon Web Services CloudTrail User Guide*. - """ - -@dataclass(kw_only=True) -class DeleteSpotDatafeedSubscriptionInput(_SerdeShape): - """Contains the parameters for DeleteSpotDatafeedSubscription.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteSpotDatafeedSubscriptionOutput(_SerdeShape): - """Dataclass for DeleteSpotDatafeedSubscriptionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSubnetCidrReservationInput(_SerdeShape): - """Dataclass for DeleteSubnetCidrReservationInput structure.""" - - subnet_cidr_reservation_id: str | None = ... - """The ID of the subnet CIDR reservation.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteSubnetCidrReservationOutput(_SerdeShape): - """Dataclass for DeleteSubnetCidrReservationOutput structure.""" - - deleted_subnet_cidr_reservation: SubnetCidrReservation | None = ... - """Information about the deleted subnet CIDR reservation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSubnetInput(_SerdeShape): - """Dataclass for DeleteSubnetInput structure.""" - - subnet_id: str | None = ... - """The ID of the subnet.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteSubnetOutput(_SerdeShape): - """Dataclass for DeleteSubnetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTagsInput(_SerdeShape): - """Dataclass for DeleteTagsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - resources: list[str] | None = ... - """ - The IDs of the resources, separated by spaces. - - Constraints: Up to 1000 resource IDs. We recommend breaking up this - request into smaller batches. - """ - tags: list[Tag] | None = ... - """ - The tags to delete. Specify a tag key and an optional tag value to - delete specific tags. If you specify a tag key without a tag value, we - delete any tag with this key regardless of its value. If you specify a - tag key with an empty string as the tag value, we delete the tag only if - its value is an empty string. - - If you omit this parameter, we delete all user-defined tags for the - specified resources. We do not delete Amazon Web Services-generated tags - (tags that have the `aws:` prefix). - - Constraints: Up to 1000 tags. - """ - -@dataclass(kw_only=True) -class DeleteTagsOutput(_SerdeShape): - """Dataclass for DeleteTagsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTrafficMirrorFilterInput(_SerdeShape): - """Dataclass for DeleteTrafficMirrorFilterInput structure.""" - - traffic_mirror_filter_id: str | None = ... - """The ID of the Traffic Mirror filter.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTrafficMirrorFilterOutput(_SerdeShape): - """Dataclass for DeleteTrafficMirrorFilterOutput structure.""" - - traffic_mirror_filter_id: str | None = ... - """The ID of the Traffic Mirror filter.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTrafficMirrorFilterRuleInput(_SerdeShape): - """Dataclass for DeleteTrafficMirrorFilterRuleInput structure.""" - - traffic_mirror_filter_rule_id: str | None = ... - """The ID of the Traffic Mirror rule.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTrafficMirrorFilterRuleOutput(_SerdeShape): - """Dataclass for DeleteTrafficMirrorFilterRuleOutput structure.""" - - traffic_mirror_filter_rule_id: str | None = ... - """The ID of the deleted Traffic Mirror rule.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTrafficMirrorSessionInput(_SerdeShape): - """Dataclass for DeleteTrafficMirrorSessionInput structure.""" - - traffic_mirror_session_id: str | None = ... - """The ID of the Traffic Mirror session.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTrafficMirrorSessionOutput(_SerdeShape): - """Dataclass for DeleteTrafficMirrorSessionOutput structure.""" - - traffic_mirror_session_id: str | None = ... - """The ID of the deleted Traffic Mirror session.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTrafficMirrorTargetInput(_SerdeShape): - """Dataclass for DeleteTrafficMirrorTargetInput structure.""" - - traffic_mirror_target_id: str | None = ... - """The ID of the Traffic Mirror target.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTrafficMirrorTargetOutput(_SerdeShape): - """Dataclass for DeleteTrafficMirrorTargetOutput structure.""" - - traffic_mirror_target_id: str | None = ... - """The ID of the deleted Traffic Mirror target.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayClientVpnAttachmentInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayClientVpnAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the Transit Gateway attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayClientVpnAttachmentOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayClientVpnAttachmentOutput structure.""" - - transit_gateway_client_vpn_attachment: ( - TransitGatewayClientVpnAttachment | None - ) = ... - """Information about the Transit Gateway Client VPN attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayConnectInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayConnectInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the Connect attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayConnectOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayConnectOutput structure.""" - - transit_gateway_connect: TransitGatewayConnect | None = ... - """Information about the deleted Connect attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayConnectPeerInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayConnectPeerInput structure.""" - - transit_gateway_connect_peer_id: str | None = ... - """The ID of the Connect peer.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayConnectPeerOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayConnectPeerOutput structure.""" - - transit_gateway_connect_peer: TransitGatewayConnectPeer | None = ... - """Information about the deleted Connect peer.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayInput structure.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayMeteringPolicyEntryInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayMeteringPolicyEntryInput structure.""" - - transit_gateway_metering_policy_id: str | None = ... - """ - The ID of the transit gateway metering policy containing the entry to - delete. - """ - policy_rule_number: int | None = ... - """The rule number of the metering policy entry to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayMeteringPolicyEntryOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayMeteringPolicyEntryOutput structure.""" - - transit_gateway_metering_policy_entry: ( - TransitGatewayMeteringPolicyEntry | None - ) = ... - """Information about the deleted transit gateway metering policy entry.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayMeteringPolicyInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayMeteringPolicyInput structure.""" - - transit_gateway_metering_policy_id: str | None = ... - """The ID of the transit gateway metering policy to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayMeteringPolicyOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayMeteringPolicyOutput structure.""" - - transit_gateway_metering_policy: TransitGatewayMeteringPolicy | None = ... - """Information about the deleted transit gateway metering policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayMulticastDomainInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayMulticastDomainInput structure.""" - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayMulticastDomainOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayMulticastDomainOutput structure.""" - - transit_gateway_multicast_domain: TransitGatewayMulticastDomain | None = ... - """Information about the deleted transit gateway multicast domain.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayOutput structure.""" - - transit_gateway: TransitGateway | None = ... - """Information about the deleted transit gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayPeeringAttachmentInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayPeeringAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway peering attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayPeeringAttachmentOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayPeeringAttachmentOutput structure.""" - - transit_gateway_peering_attachment: TransitGatewayPeeringAttachment | None = ... - """The transit gateway peering attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayPolicyTableEntryInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayPolicyTableEntryInput structure.""" - - transit_gateway_policy_table_id: str | None = ... - """The ID of the transit gateway policy table.""" - policy_rule_number: str | None = ... - """The rule number of the policy table entry to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayPolicyTableEntryOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayPolicyTableEntryOutput structure.""" - - transit_gateway_policy_table_entry: TransitGatewayPolicyTableEntry | None = ... - """Describes a transit gateway policy table entry""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayPolicyTableInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayPolicyTableInput structure.""" - - transit_gateway_policy_table_id: str | None = ... - """The transit gateway policy table to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayPolicyTableOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayPolicyTableOutput structure.""" - - transit_gateway_policy_table: TransitGatewayPolicyTable | None = ... - """Provides details about the deleted transit gateway policy table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayPrefixListReferenceInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayPrefixListReferenceInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the route table.""" - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayPrefixListReferenceOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayPrefixListReferenceOutput structure.""" - - transit_gateway_prefix_list_reference: ( - TransitGatewayPrefixListReference | None - ) = ... - """Information about the deleted prefix list reference.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayRouteInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayRouteInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - destination_cidr_block: str | None = ... - """ - The CIDR range for the route. This must match the CIDR for the route - exactly. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayRouteOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayRouteOutput structure.""" - - route: TransitGatewayRoute | None = ... - """Information about the route.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayRouteTableAnnouncementInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayRouteTableAnnouncementInput structure.""" - - transit_gateway_route_table_announcement_id: str | None = ... - """The transit gateway route table ID that's being deleted.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayRouteTableAnnouncementOutput(_SerdeShape): - """ - Dataclass for DeleteTransitGatewayRouteTableAnnouncementOutput - structure. - """ - - transit_gateway_route_table_announcement: ( - TransitGatewayRouteTableAnnouncement | None - ) = ... - """Provides details about a deleted transit gateway route table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayRouteTableInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayRouteTableInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayRouteTableOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayRouteTableOutput structure.""" - - transit_gateway_route_table: TransitGatewayRouteTable | None = ... - """Information about the deleted transit gateway route table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayVpcAttachmentInput(_SerdeShape): - """Dataclass for DeleteTransitGatewayVpcAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteTransitGatewayVpcAttachmentOutput(_SerdeShape): - """Dataclass for DeleteTransitGatewayVpcAttachmentOutput structure.""" - - transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... - """Information about the deleted VPC attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVerifiedAccessEndpointInput(_SerdeShape): - """Dataclass for DeleteVerifiedAccessEndpointInput structure.""" - - verified_access_endpoint_id: str | None = ... - """The ID of the Verified Access endpoint.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteVerifiedAccessEndpointOutput(_SerdeShape): - """Dataclass for DeleteVerifiedAccessEndpointOutput structure.""" - - verified_access_endpoint: VerifiedAccessEndpoint | None = ... - """Details about the Verified Access endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVerifiedAccessGroupInput(_SerdeShape): - """Dataclass for DeleteVerifiedAccessGroupInput structure.""" - - verified_access_group_id: str | None = ... - """The ID of the Verified Access group.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteVerifiedAccessGroupOutput(_SerdeShape): - """Dataclass for DeleteVerifiedAccessGroupOutput structure.""" - - verified_access_group: VerifiedAccessGroup | None = ... - """Details about the Verified Access group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVerifiedAccessInstanceInput(_SerdeShape): - """Dataclass for DeleteVerifiedAccessInstanceInput structure.""" - - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class DeleteVerifiedAccessInstanceOutput(_SerdeShape): - """Dataclass for DeleteVerifiedAccessInstanceOutput structure.""" - - verified_access_instance: VerifiedAccessInstance | None = ... - """Details about the Verified Access instance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVerifiedAccessTrustProviderInput(_SerdeShape): - """Dataclass for DeleteVerifiedAccessTrustProviderInput structure.""" - - verified_access_trust_provider_id: str | None = ... - """The ID of the Verified Access trust provider.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class DeleteVerifiedAccessTrustProviderOutput(_SerdeShape): - """Dataclass for DeleteVerifiedAccessTrustProviderOutput structure.""" - - verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... - """Details about the Verified Access trust provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVolumeInput(_SerdeShape): - """Dataclass for DeleteVolumeInput structure.""" - - volume_id: str | None = ... - """The ID of the volume.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteVolumeOutput(_SerdeShape): - """Dataclass for DeleteVolumeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcBlockPublicAccessExclusionInput(_SerdeShape): - """Dataclass for DeleteVpcBlockPublicAccessExclusionInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - exclusion_id: str | None = ... - """The ID of the exclusion.""" - -@dataclass(kw_only=True) -class DeleteVpcBlockPublicAccessExclusionOutput(_SerdeShape): - """Dataclass for DeleteVpcBlockPublicAccessExclusionOutput structure.""" - - vpc_block_public_access_exclusion: VpcBlockPublicAccessExclusion | None = ... - """Details about an exclusion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcEncryptionControlInput(_SerdeShape): - """Dataclass for DeleteVpcEncryptionControlInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_encryption_control_id: str | None = ... - """The ID of the VPC Encryption Control resource to delete.""" - -@dataclass(kw_only=True) -class DeleteVpcEncryptionControlOutput(_SerdeShape): - """Dataclass for DeleteVpcEncryptionControlOutput structure.""" - - vpc_encryption_control: VpcEncryptionControl | None = ... - """Information about the deleted VPC Encryption Control configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcEndpointConnectionNotificationsInput(_SerdeShape): - """Dataclass for DeleteVpcEndpointConnectionNotificationsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - connection_notification_ids: list[str] | None = ... - """The IDs of the notifications.""" - -@dataclass(kw_only=True) -class DeleteVpcEndpointConnectionNotificationsOutput(_SerdeShape): - """Dataclass for DeleteVpcEndpointConnectionNotificationsOutput structure.""" - - unsuccessful: list[UnsuccessfulItem] | None = ... - """ - Information about the notifications that could not be deleted - successfully. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcEndpointServiceConfigurationsInput(_SerdeShape): - """Dataclass for DeleteVpcEndpointServiceConfigurationsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_ids: list[str] | None = ... - """The IDs of the services.""" - -@dataclass(kw_only=True) -class DeleteVpcEndpointServiceConfigurationsOutput(_SerdeShape): - """Dataclass for DeleteVpcEndpointServiceConfigurationsOutput structure.""" - - unsuccessful: list[UnsuccessfulItem] | None = ... - """ - Information about the service configurations that were not deleted, if - applicable. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcEndpointsInput(_SerdeShape): - """Dataclass for DeleteVpcEndpointsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_endpoint_ids: list[str] | None = ... - """The IDs of the VPC endpoints.""" - -@dataclass(kw_only=True) -class DeleteVpcEndpointsOutput(_SerdeShape): - """Dataclass for DeleteVpcEndpointsOutput structure.""" - - unsuccessful: list[UnsuccessfulItem] | None = ... - """Information about the VPC endpoints that were not successfully deleted.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcInput(_SerdeShape): - """Dataclass for DeleteVpcInput structure.""" - - vpc_id: str | None = ... - """The ID of the VPC.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteVpcOutput(_SerdeShape): - """Dataclass for DeleteVpcOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpcPeeringConnectionInput(_SerdeShape): - """Dataclass for DeleteVpcPeeringConnectionInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_peering_connection_id: str | None = ... - """The ID of the VPC peering connection.""" - -@dataclass(kw_only=True) -class DeleteVpcPeeringConnectionOutput(_SerdeShape): - """Dataclass for DeleteVpcPeeringConnectionOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpnConcentratorInput(_SerdeShape): - """Dataclass for DeleteVpnConcentratorInput structure.""" - - vpn_concentrator_id: str | None = ... - """The ID of the VPN concentrator to delete.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteVpnConcentratorOutput(_SerdeShape): - """Dataclass for DeleteVpnConcentratorOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpnConnectionInput(_SerdeShape): - """Contains the parameters for DeleteVpnConnection.""" - - vpn_connection_id: str | None = ... - """The ID of the VPN connection.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteVpnConnectionOutput(_SerdeShape): - """Dataclass for DeleteVpnConnectionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpnConnectionRouteInput(_SerdeShape): - """Contains the parameters for DeleteVpnConnectionRoute.""" - - destination_cidr_block: str | None = ... - """The CIDR block associated with the local subnet of the customer network.""" - vpn_connection_id: str | None = ... - """The ID of the VPN connection.""" - -@dataclass(kw_only=True) -class DeleteVpnConnectionRouteOutput(_SerdeShape): - """Dataclass for DeleteVpnConnectionRouteOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVpnGatewayInput(_SerdeShape): - """Contains the parameters for DeleteVpnGateway.""" - - vpn_gateway_id: str | None = ... - """The ID of the virtual private gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeleteVpnGatewayOutput(_SerdeShape): - """Dataclass for DeleteVpnGatewayOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeprecationTimeCondition(_SerdeShape): - """The maximum period since deprecation for allowed images.""" - - maximum_days_since_deprecated: int | None = ... - """ - The maximum number of days that have elapsed since the image was - deprecated. When set to `0`, no deprecated images are allowed. - """ - -@dataclass(kw_only=True) -class DeprecationTimeConditionRequest(_SerdeShape): - """The maximum period since deprecation for allowed images.""" - - maximum_days_since_deprecated: int | None = ... - """ - The maximum number of days that have elapsed since the image was - deprecated. Set to `0` to exclude all deprecated images. - """ - -@dataclass(kw_only=True) -class DeprovisionByoipCidrInput(_SerdeShape): - """Dataclass for DeprovisionByoipCidrInput structure.""" - - cidr: str | None = ... - """ - The address range, in CIDR notation. The prefix must be the same prefix - that you specified when you provisioned the address range. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeprovisionByoipCidrOutput(_SerdeShape): - """Dataclass for DeprovisionByoipCidrOutput structure.""" - - byoip_cidr: ByoipCidr | None = ... - """Information about the address range.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeprovisionIpamByoasnInput(_SerdeShape): - """Dataclass for DeprovisionIpamByoasnInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """The IPAM ID.""" - asn: str | None = ... - """An ASN.""" - -@dataclass(kw_only=True) -class DeprovisionIpamByoasnOutput(_SerdeShape): - """Dataclass for DeprovisionIpamByoasnOutput structure.""" - - byoasn: Byoasn | None = ... - """An ASN and BYOIP CIDR association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeprovisionIpamPoolCidrInput(_SerdeShape): - """Dataclass for DeprovisionIpamPoolCidrInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_id: str | None = ... - """The ID of the pool that has the CIDR you want to deprovision.""" - cidr: str | None = ... - """The CIDR which you want to deprovision from the pool.""" - -@dataclass(kw_only=True) -class DeprovisionIpamPoolCidrOutput(_SerdeShape): - """Dataclass for DeprovisionIpamPoolCidrOutput structure.""" - - ipam_pool_cidr: IpamPoolCidr | None = ... - """The deprovisioned pool CIDR.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeprovisionPublicIpv4PoolCidrInput(_SerdeShape): - """Dataclass for DeprovisionPublicIpv4PoolCidrInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - pool_id: str | None = ... - """The ID of the pool that you want to deprovision the CIDR from.""" - cidr: str | None = ... - """The CIDR you want to deprovision from the pool.""" - -@dataclass(kw_only=True) -class DeprovisionPublicIpv4PoolCidrOutput(_SerdeShape): - """Dataclass for DeprovisionPublicIpv4PoolCidrOutput structure.""" - - pool_id: str | None = ... - """The ID of the pool that you deprovisioned the CIDR from.""" - deprovisioned_addresses: list[str] | None = ... - """The deprovisioned CIDRs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeregisterImageInput(_SerdeShape): - """Contains the parameters for DeregisterImage.""" - - image_id: str | None = ... - """The ID of the AMI.""" - delete_associated_snapshots: bool | None = ... - """ - Specifies whether to delete the snapshots associated with the AMI during - deregistration. - - Note: - If a snapshot is associated with multiple AMIs, it is not deleted, - regardless of this setting. - - Default: The snapshots are not deleted. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeregisterImageOutput(_SerdeShape): - """Dataclass for DeregisterImageOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - delete_snapshot_results: list[DeleteSnapshotReturnCode] | None = ... - """ - The deletion result for each snapshot associated with the AMI, including - the snapshot ID and its success or error code. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeregisterInstanceEventNotificationAttributesInput(_SerdeShape): - """ - Dataclass for DeregisterInstanceEventNotificationAttributesInput - structure. - """ - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_tag_attribute: DeregisterInstanceTagAttributeRequest | None = ... - """Information about the tag keys to deregister.""" - -@dataclass(kw_only=True) -class DeregisterInstanceEventNotificationAttributesOutput(_SerdeShape): - """ - Dataclass for DeregisterInstanceEventNotificationAttributesOutput - structure. - """ - - instance_tag_attribute: InstanceTagNotificationAttribute | None = ... - """The resulting set of tag keys.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeregisterInstanceTagAttributeRequest(_SerdeShape): - """ - Information about the tag keys to deregister for the current Region. You - can either specify individual tag keys or deregister all tag keys in the - current Region. You must specify either `IncludeAllTagsOfInstance` or - `InstanceTagKeys` in the request - """ - - include_all_tags_of_instance: bool | None = ... - """ - Indicates whether to deregister all tag keys in the current Region. - Specify `false` to deregister all tag keys. - """ - instance_tag_keys: list[str] | None = ... - """Information about the tag keys to deregister.""" - -@dataclass(kw_only=True) -class DeregisterTransitGatewayMulticastGroupMembersInput(_SerdeShape): - """ - Dataclass for DeregisterTransitGatewayMulticastGroupMembersInput - structure. - """ - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - group_ip_address: str | None = ... - """The IP address assigned to the transit gateway multicast group.""" - network_interface_ids: list[str] | None = ... - """The IDs of the group members' network interfaces.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeregisterTransitGatewayMulticastGroupMembersOutput(_SerdeShape): - """ - Dataclass for DeregisterTransitGatewayMulticastGroupMembersOutput - structure. - """ - - deregistered_multicast_group_members: ( - TransitGatewayMulticastDeregisteredGroupMembers | None - ) = ... - """Information about the deregistered members.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeregisterTransitGatewayMulticastGroupSourcesInput(_SerdeShape): - """ - Dataclass for DeregisterTransitGatewayMulticastGroupSourcesInput - structure. - """ - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - group_ip_address: str | None = ... - """The IP address assigned to the transit gateway multicast group.""" - network_interface_ids: list[str] | None = ... - """The IDs of the group sources' network interfaces.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DeregisterTransitGatewayMulticastGroupSourcesOutput(_SerdeShape): - """ - Dataclass for DeregisterTransitGatewayMulticastGroupSourcesOutput - structure. - """ - - deregistered_multicast_group_sources: ( - TransitGatewayMulticastDeregisteredGroupSources | None - ) = ... - """Information about the deregistered group sources.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAccountAttributesInput(_SerdeShape): - """Dataclass for DescribeAccountAttributesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - attribute_names: list[str] | None = ... - """The account attribute names.""" - -@dataclass(kw_only=True) -class DescribeAccountAttributesOutput(_SerdeShape): - """Dataclass for DescribeAccountAttributesOutput structure.""" - - account_attributes: list[AccountAttribute] | None = ... - """Information about the account attributes.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAccountVpcEncryptionControlInput(_SerdeShape): - """Dataclass for DescribeAccountVpcEncryptionControlInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeAccountVpcEncryptionControlOutput(_SerdeShape): - """Dataclass for DescribeAccountVpcEncryptionControlOutput structure.""" - - account_vpc_encryption_control: AccountVpcEncryptionControl | None = ... - """ - Information about the account-level VPC Encryption Control - configuration. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAddressesAttributeInput(_SerdeShape): - """Dataclass for DescribeAddressesAttributeInput structure.""" - - allocation_ids: list[str] | None = ... - """[EC2-VPC] The allocation IDs.""" - attribute: str | None = ... - """The attribute of the IP address.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeAddressesAttributeOutput(_SerdeShape): - """Dataclass for DescribeAddressesAttributeOutput structure.""" - - addresses: list[AddressAttribute] | None = ... - """Information about the IP addresses.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAddressesInput(_SerdeShape): - """Dataclass for DescribeAddressesInput structure.""" - - public_ips: list[str] | None = ... - """ - One or more Elastic IP addresses. - - Default: Describes all your Elastic IP addresses. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. Filter names and values are case-sensitive. - - - `allocation-id` - The allocation ID for the address. - - - `association-id` - The association ID for the address. - - - `instance-id` - The ID of the instance the address is associated with, - if any. - - - `network-border-group` - A unique set of Availability Zones, Local - Zones, or Wavelength Zones from where Amazon Web Services advertises - IP addresses. - - - `network-interface-id` - The ID of the network interface that the - address is associated with, if any. - - - `network-interface-owner-id` - The Amazon Web Services account ID of - the owner. - - - `private-ip-address` - The private IP address associated with the - Elastic IP address. - - - `public-ip` - The Elastic IP address, or the carrier IP address. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - allocation_ids: list[str] | None = ... - """Information about the allocation IDs.""" - -@dataclass(kw_only=True) -class DescribeAddressesOutput(_SerdeShape): - """Dataclass for DescribeAddressesOutput structure.""" - - addresses: list[Address] | None = ... - """Information about the Elastic IP addresses.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAddressTransfersInput(_SerdeShape): - """Dataclass for DescribeAddressTransfersInput structure.""" - - allocation_ids: list[str] | None = ... - """The allocation IDs of Elastic IP addresses.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - max_results: int | None = ... - """ - The maximum number of address transfers to return in one page of - results. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeAddressTransfersOutput(_SerdeShape): - """Dataclass for DescribeAddressTransfersOutput structure.""" - - address_transfers: list[AddressTransfer] | None = ... - """The Elastic IP address transfer.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAggregateIdFormatInput(_SerdeShape): - """Dataclass for DescribeAggregateIdFormatInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeAggregateIdFormatOutput(_SerdeShape): - """Dataclass for DescribeAggregateIdFormatOutput structure.""" - - use_long_ids_aggregated: bool | None = ... - """ - Indicates whether all resource types in the Region are configured to use - longer IDs. This value is only `true` if all users are configured to use - longer IDs for all resources types in the Region. - """ - statuses: list[IdFormat] | None = ... - """Information about each resource's ID format.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeApplicationStatusCheckAssociationsInput(_SerdeShape): - """Dataclass for DescribeApplicationStatusCheckAssociationsInput structure.""" - - application_status_check_ids: list[str] | None = ... - """ - The IDs of the application status checks for which to describe - associations. - """ - filters: list[Filter] | None = ... - """ - The filters to use to limit the results. - - - `association-type` -- The type of association. Valid values: `tag` and - `instance-id`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeApplicationStatusCheckAssociationsOutput(_SerdeShape): - """ - Dataclass for DescribeApplicationStatusCheckAssociationsOutput - structure. - """ - - associations: list[ApplicationStatusCheckAssociationObject] | None = ... - """The associations for the specified application status checks.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - tags: list[Tag] | None = ... - """The tags associated with the application status checks.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeApplicationStatusChecksInput(_SerdeShape): - """Dataclass for DescribeApplicationStatusChecksInput structure.""" - - application_status_check_ids: list[str] | None = ... - """The IDs of the application status checks to describe.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `aggregation` -- The aggregation setting. Valid values: `included` and - `excluded`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - include_all: bool | None = ... - """ - Specifies whether to include recently deleted application status checks - that remain available during the deletion grace period. If you omit this - parameter or set it to `false`, the response includes only active - checks. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeApplicationStatusChecksOutput(_SerdeShape): - """Dataclass for DescribeApplicationStatusChecksOutput structure.""" - - application_status_checks: list[ApplicationStatusCheckResponseObject] | None = ... - """Information about the application status checks.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeApplicationStatusInput(_SerdeShape): - """Dataclass for DescribeApplicationStatusInput structure.""" - - instance_ids: list[str] | None = ... - """The IDs of the instances for which to describe application status.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone-id` -- The ID of the Availability Zone. - - - `status` -- The instance-level application status. For valid values - and their meanings, see `ApplicationStatus`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeApplicationStatusOutput(_SerdeShape): - """Dataclass for DescribeApplicationStatusOutput structure.""" - - application_statuses: ApplicationStatusesResponseType | None = ... - """The application statuses for the specified instances.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAvailabilityZonesInput(_SerdeShape): - """Dataclass for DescribeAvailabilityZonesInput structure.""" - - zone_names: list[str] | None = ... - """The names of the Availability Zones, Local Zones, and Wavelength Zones.""" - zone_ids: list[str] | None = ... - """The IDs of the Availability Zones, Local Zones, and Wavelength Zones.""" - all_availability_zones: bool | None = ... - """ - Include all Availability Zones, Local Zones, and Wavelength Zones - regardless of your opt-in status. - - If you do not use this parameter, the results include only the zones for - the Regions where you have chosen the option to opt in. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `group-long-name` - The long name of the zone group for the - Availability Zone (for example, `US West (Oregon) 1`), the Local Zone - (for example, for Zone group `us-west-2-lax-1`, it is - `US West (Los Angeles)`, or the Wavelength Zone (for example, for Zone - group `us-east-1-wl1`, it is `US East (Verizon)`. - - - `group-name` - The name of the zone group for the Availability Zone - (for example, `us-east-1-zg-1`), the Local Zone (for example, - `us-west-2-lax-1`), or the Wavelength Zone (for example, - `us-east-1-wl1`). - - - `message` - The Zone message. - - - `opt-in-status` - The opt-in status (`opted-in` | `not-opted-in` | - `opt-in-not-required`). - - - `parent-zone-id` - The ID of the zone that handles some of the Local - Zone and Wavelength Zone control plane operations, such as API calls. - - - `parent-zone-name` - The ID of the zone that handles some of the Local - Zone and Wavelength Zone control plane operations, such as API calls. - - - `region-name` - The name of the Region for the Zone (for example, - `us-east-1`). - - - `state` - The state of the Availability Zone, the Local Zone, or the - Wavelength Zone (`available` | `unavailable` | `constrained`). - - - `zone-id` - The ID of the Availability Zone (for example, `use1-az1`), - the Local Zone (for example, `usw2-lax1-az1`), or the Wavelength Zone - (for example, `us-east-1-wl1-bos-wlz-1`). - - - `zone-name` - The name of the Availability Zone (for example, - `us-east-1a`), the Local Zone (for example, `us-west-2-lax-1a`), or - the Wavelength Zone (for example, `us-east-1-wl1-bos-wlz-1`). - - - `zone-type` - The type of zone (`availability-zone` | `local-zone` | - `wavelength-zone`). - """ - -@dataclass(kw_only=True) -class DescribeAvailabilityZonesOutput(_SerdeShape): - """Dataclass for DescribeAvailabilityZonesOutput structure.""" - - availability_zones: list[AvailabilityZone] | None = ... - """ - Information about the Availability Zones, Local Zones, and Wavelength - Zones. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAwsNetworkPerformanceMetricSubscriptionsInput(_SerdeShape): - """ - Dataclass for DescribeAwsNetworkPerformanceMetricSubscriptionsInput - structure. - """ - - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """One or more filters.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeAwsNetworkPerformanceMetricSubscriptionsOutput(_SerdeShape): - """ - Dataclass for DescribeAwsNetworkPerformanceMetricSubscriptionsOutput - structure. - """ - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - subscriptions: list[Subscription] | None = ... - """Describes the current Infrastructure Performance subscriptions.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeBundleTasksInput(_SerdeShape): - """Dataclass for DescribeBundleTasksInput structure.""" - - bundle_ids: list[str] | None = ... - """ - The bundle task IDs. - - Default: Describes all your bundle tasks. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `bundle-id` - The ID of the bundle task. - - - `error-code` - If the task failed, the error code returned. - - - `error-message` - If the task failed, the error message returned. - - - `instance-id` - The ID of the instance. - - - `progress` - The level of task completion, as a percentage (for - example, 20%). - - - `s3-bucket` - The Amazon S3 bucket to store the AMI. - - - `s3-prefix` - The beginning of the AMI name. - - - `start-time` - The time the task started (for example, - 2013-09-15T17:15:20.000Z). - - - `state` - The state of the task (`pending` | `waiting-for-shutdown` - | `bundling` | `storing` | `cancelling` | `complete` | `failed`). - - - `update-time` - The time of the most recent update for the task. - """ - -@dataclass(kw_only=True) -class DescribeBundleTasksOutput(_SerdeShape): - """Dataclass for DescribeBundleTasksOutput structure.""" - - bundle_tasks: list[BundleTask] | None = ... - """Information about the bundle tasks.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeByoipCidrsInput(_SerdeShape): - """Dataclass for DescribeByoipCidrsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeByoipCidrsOutput(_SerdeShape): - """Dataclass for DescribeByoipCidrsOutput structure.""" - - byoip_cidrs: list[ByoipCidr] | None = ... - """Information about your address ranges.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlockExtensionHistoryInput(_SerdeShape): - """Dataclass for DescribeCapacityBlockExtensionHistoryInput structure.""" - - capacity_reservation_ids: list[str] | None = ... - """ - The IDs of Capacity Block reservations that you want to display the - history for. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - filters: list[Filter] | None = ... - """ - One or more filters - - - `availability-zone` - The Availability Zone of the extension. - - - `availability-zone-id` - The Availability Zone ID of the extension. - - - `capacity-block-extension-offering-id` - The ID of the extension - offering. - - - `capacity-block-extension-status` - The status of the extension - (`payment-pending` | `payment-failed` | `payment-succeeded`). - - - `capacity-reservation-id` - The reservation ID of the extension. - - - `instance-type` - The instance type of the extension. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlockExtensionHistoryOutput(_SerdeShape): - """Dataclass for DescribeCapacityBlockExtensionHistoryOutput structure.""" - - capacity_block_extensions: list[CapacityBlockExtension] | None = ... - """ - Describes one or more of your Capacity Block extensions. The results - describe only the Capacity Block extensions in the Amazon Web Services - Region that you're currently using. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlockExtensionOfferingsInput(_SerdeShape): - """Dataclass for DescribeCapacityBlockExtensionOfferingsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - capacity_block_extension_duration_hours: int | None = ... - """The duration of the Capacity Block extension offering in hours.""" - capacity_reservation_id: str | None = ... - """The ID of the Capacity reservation to be extended.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlockExtensionOfferingsOutput(_SerdeShape): - """Dataclass for DescribeCapacityBlockExtensionOfferingsOutput structure.""" - - capacity_block_extension_offerings: ( - list[CapacityBlockExtensionOffering] | None - ) = ... - """ - The recommended Capacity Block extension offerings for the dates - specified. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlockOfferingsInput(_SerdeShape): - """Dataclass for DescribeCapacityBlockOfferingsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_type: str | None = ... - """ - The type of instance for which the Capacity Block offering reserves - capacity. - """ - instance_count: int | None = ... - """ - The number of instances for which to reserve capacity. Each Capacity - Block can have up to 64 instances, and you can have up to 256 instances - across Capacity Blocks. - """ - start_date_range: datetime | None = ... - """The earliest start date for the Capacity Block offering.""" - end_date_range: datetime | None = ... - """The latest end date for the Capacity Block offering.""" - capacity_duration_hours: int | None = ... - """ - The reservation duration for the Capacity Block, in hours. You must - specify the duration in 1-day increments up 14 days, and in 7-day - increments up to 182 days. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - ultraserver_type: str | None = ... - """The EC2 UltraServer type of the Capacity Block offerings.""" - ultraserver_count: int | None = ... - """The number of EC2 UltraServers in the offerings.""" - all_availability_zones: bool | None = ... - """ - Include all Availability Zones and Local Zones, regardless of your - opt-in status. If you do not use this parameter, the results include - available offerings from all Availability Zones in the Amazon Web - Services Region and Local Zones you are opted into. - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlockOfferingsOutput(_SerdeShape): - """Dataclass for DescribeCapacityBlockOfferingsOutput structure.""" - - capacity_block_offerings: list[CapacityBlockOffering] | None = ... - """The recommended Capacity Block offering for the dates specified.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlocksInput(_SerdeShape): - """Dataclass for DescribeCapacityBlocksInput structure.""" - - capacity_block_ids: list[str] | None = ... - """The IDs of the Capacity Blocks.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `capacity-block-id` - The ID of the Capacity Block. - - - `ultraserver-type` - The Capacity Block type. The type can be - `instances` or `ultraservers`. - - - `availability-zone` - The Availability Zone of the Capacity Block. - - - `start-date` - The date and time at which the Capacity Block was - started. - - - `end-date` - The date and time at which the Capacity Block expires. - When a Capacity Block expires, all instances in the Capacity Block are - terminated. - - - `create-date` - The date and time at which the Capacity Block was - created. - - - `state` - The state of the Capacity Block (`active` | `expired` | - `unavailable` | `cancelled` | `failed` | `scheduled` | - `payment-pending` | `payment-failed`). - - - `tags` - The tags assigned to the Capacity Block. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlocksOutput(_SerdeShape): - """Dataclass for DescribeCapacityBlocksOutput structure.""" - - capacity_blocks: list[CapacityBlock] | None = ... - """The Capacity Blocks.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlockStatusInput(_SerdeShape): - """Dataclass for DescribeCapacityBlockStatusInput structure.""" - - capacity_block_ids: list[str] | None = ... - """The ID of the Capacity Block.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `interconnect-status` - The status of the interconnect for the - Capacity Block (`ok` | `impaired` | `insufficient-data`). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeCapacityBlockStatusOutput(_SerdeShape): - """Dataclass for DescribeCapacityBlockStatusOutput structure.""" - - capacity_block_statuses: list[CapacityBlockStatus] | None = ... - """The availability of capacity for a Capacity Block.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityManagerDataExportsInput(_SerdeShape): - """Dataclass for DescribeCapacityManagerDataExportsInput structure.""" - - capacity_manager_data_export_ids: list[str] | None = ... - """ - The IDs of the data export configurations to describe. If not specified, - all export configurations are returned. - """ - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If not - specified, up to 1000 results are returned. - """ - next_token: str | None = ... - """ - The token for the next page of results. Use this value in a subsequent - call to retrieve additional results. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters to narrow the results. Supported filters include - export status, creation date, and S3 bucket name. - """ - -@dataclass(kw_only=True) -class DescribeCapacityManagerDataExportsOutput(_SerdeShape): - """Dataclass for DescribeCapacityManagerDataExportsOutput structure.""" - - capacity_manager_data_exports: list[CapacityManagerDataExportResponse] | None = ... - """ - Information about the data export configurations, including export - settings, delivery status, and recent activity. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationBillingRequestsInput(_SerdeShape): - """Dataclass for DescribeCapacityReservationBillingRequestsInput structure.""" - - capacity_reservation_ids: list[str] | None = ... - """The ID of the Capacity Reservation.""" - role: str | None = ... - """ - Specify one of the following: - - - `odcr-owner` - If you are the Capacity Reservation owner, specify this - value to view requests that you have initiated. Not supported with the - `requested-by` filter. - - - `unused-reservation-billing-owner` - If you are the consumer account, - specify this value to view requests that have been sent to you. Not - supported with the `unused-reservation-billing-owner` filter. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `status` - The state of the request (`pending` | `accepted` | - `rejected` | `cancelled` | `revoked` | `expired`). - - - `requested-by` - The account ID of the Capacity Reservation owner that - initiated the request. Not supported if you specify `requested-by` for - **Role**. - - - `unused-reservation-billing-owner` - The ID of the consumer account to - which the request was sent. Not supported if you specify - `unused-reservation-billing-owner` for **Role**. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationBillingRequestsOutput(_SerdeShape): - """ - Dataclass for DescribeCapacityReservationBillingRequestsOutput - structure. - """ - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - capacity_reservation_billing_requests: ( - list[CapacityReservationBillingRequest] | None - ) = ... - """Information about the request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationCancellationQuotesInput(_SerdeShape): - """ - Dataclass for DescribeCapacityReservationCancellationQuotesInput - structure. - """ - - capacity_reservation_cancellation_quote_ids: list[str] | None = ... - """The IDs of the cancellation quotes to describe.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """One or more filters. Filter names and values are case-sensitive.""" - -@dataclass(kw_only=True) -class DescribeCapacityReservationCancellationQuotesOutput(_SerdeShape): - """ - Dataclass for DescribeCapacityReservationCancellationQuotesOutput - structure. - """ - - capacity_reservation_cancellation_quotes: ( - list[CapacityReservationCancellationQuote] | None - ) = ... - """Information about the Capacity Reservation cancellation quotes.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationDateChangeQuotesInput(_SerdeShape): - """ - Dataclass for DescribeCapacityReservationDateChangeQuotesInput - structure. - """ - - capacity_reservation_modification_quote_ids: list[str] | None = ... - """The IDs of the date change quotes to describe.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """One or more filters. Filter names and values are case-sensitive.""" - -@dataclass(kw_only=True) -class DescribeCapacityReservationDateChangeQuotesOutput(_SerdeShape): - """ - Dataclass for DescribeCapacityReservationDateChangeQuotesOutput - structure. - """ - - capacity_reservation_modification_quotes: ( - list[CapacityReservationModificationQuote] | None - ) = ... - """Information about the Capacity Reservation date change quotes.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationFleetsInput(_SerdeShape): - """Dataclass for DescribeCapacityReservationFleetsInput structure.""" - - capacity_reservation_fleet_ids: list[str] | None = ... - """The IDs of the Capacity Reservation Fleets to describe.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `state` - The state of the Fleet (`submitted` | `modifying` | - `active` | `partially_fulfilled` | `expiring` | `expired` | - `cancelling` | `cancelled` | `failed`). - - - `instance-match-criteria` - The instance matching criteria for the - Fleet. Only `open` is supported. - - - `tenancy` - The tenancy of the Fleet (`default` | `dedicated`). - - - `allocation-strategy` - The allocation strategy used by the Fleet. - Only `prioritized` is supported. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationFleetsOutput(_SerdeShape): - """Dataclass for DescribeCapacityReservationFleetsOutput structure.""" - - capacity_reservation_fleets: list[CapacityReservationFleet] | None = ... - """Information about the Capacity Reservation Fleets.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationsInput(_SerdeShape): - """Dataclass for DescribeCapacityReservationsInput structure.""" - - capacity_reservation_ids: list[str] | None = ... - """The ID of the Capacity Reservation.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `instance-type` - The type of instance for which the Capacity - Reservation reserves capacity. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - Capacity Reservation. - - - `instance-platform` - The type of operating system for which the - Capacity Reservation reserves capacity. - - - `availability-zone` - The Availability Zone of the Capacity - Reservation. - - - `tenancy` - Indicates the tenancy of the Capacity Reservation. A - Capacity Reservation can have one of the following tenancy settings: - - - `default` - The Capacity Reservation is created on hardware that is - shared with other Amazon Web Services accounts. - - - `dedicated` - The Capacity Reservation is created on single-tenant - hardware that is dedicated to a single Amazon Web Services account. - - - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost on which - the Capacity Reservation was created. - - - `state` - The current state of the Capacity Reservation. A Capacity - Reservation can be in one of the following states: - - - `active`- The Capacity Reservation is active and the capacity is - available for your use. - - - `expired` - The Capacity Reservation expired automatically at the - date and time specified in your request. The reserved capacity is no - longer available for your use. - - - `cancelled` - The Capacity Reservation was cancelled. The reserved - capacity is no longer available for your use. - - - `pending` - The Capacity Reservation request was successful but the - capacity provisioning is still pending. - - - `failed` - The Capacity Reservation request has failed. A request - might fail due to invalid request parameters, capacity constraints, - or instance limit constraints. Failed requests are retained for 60 - minutes. - - - `start-date` - The date and time at which the Capacity Reservation was - started. - - - `end-date` - The date and time at which the Capacity Reservation - expires. When a Capacity Reservation expires, the reserved capacity is - released and you can no longer launch instances into it. The Capacity - Reservation's state changes to expired when it reaches its end date - and time. - - - `end-date-type` - Indicates the way in which the Capacity Reservation - ends. A Capacity Reservation can have one of the following end types: - - - `unlimited` - The Capacity Reservation remains active until you - explicitly cancel it. - - - `limited` - The Capacity Reservation expires automatically at a - specified date and time. - - - `instance-match-criteria` - Indicates the type of instance launches - that the Capacity Reservation accepts. The options include: - - - `open` - The Capacity Reservation accepts all instances that have - matching attributes (instance type, platform, and Availability - Zone). Instances that have matching attributes launch into the - Capacity Reservation automatically without specifying any additional - parameters. - - - `targeted` - The Capacity Reservation only accepts instances that - have matching attributes (instance type, platform, and Availability - Zone), and explicitly target the Capacity Reservation. This ensures - that only permitted instances can use the reserved capacity. - - - `placement-group-arn` - The ARN of the cluster placement group in - which the Capacity Reservation was created. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationsOutput(_SerdeShape): - """Dataclass for DescribeCapacityReservationsOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - capacity_reservations: list[CapacityReservation] | None = ... - """Information about the Capacity Reservations.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationTopologyInput(_SerdeShape): - """Dataclass for DescribeCapacityReservationTopologyInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - - You can't specify this parameter and the Capacity Reservation IDs - parameter in the same request. - - Default: `10` - """ - capacity_reservation_ids: list[str] | None = ... - """ - The Capacity Reservation IDs. - - Default: Describes all your Capacity Reservations. - - Constraints: Maximum 10 explicitly specified Capacity Reservation IDs. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The name of the Availability Zone (for example, - `us-west-2a`) or Local Zone (for example, `us-west-2-lax-1b`) that the - Capacity Reservation is in. - - - `instance-type` - The instance type (for example, `p4d.24xlarge`) or - instance family (for example, `p4d*`). You can use the `*` wildcard to - match zero or more characters, or the `?` wildcard to match zero or - one character. - """ - -@dataclass(kw_only=True) -class DescribeCapacityReservationTopologyOutput(_SerdeShape): - """Dataclass for DescribeCapacityReservationTopologyOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - capacity_reservations: list[CapacityReservationTopology] | None = ... - """Information about the topology of each Capacity Reservation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCarrierGatewaysInput(_SerdeShape): - """Dataclass for DescribeCarrierGatewaysInput structure.""" - - carrier_gateway_ids: list[str] | None = ... - """One or more carrier gateway IDs.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `carrier-gateway-id` - The ID of the carrier gateway. - - - `state` - The state of the carrier gateway (`pending` | `failed` | - `available` | `deleting` | `deleted`). - - - `owner-id` - The Amazon Web Services account ID of the owner of the - carrier gateway. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC associated with the carrier gateway. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeCarrierGatewaysOutput(_SerdeShape): - """Dataclass for DescribeCarrierGatewaysOutput structure.""" - - carrier_gateways: list[CarrierGateway] | None = ... - """Information about the carrier gateway.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeClassicLinkInstancesInput(_SerdeShape): - """Dataclass for DescribeClassicLinkInstancesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_ids: list[str] | None = ... - """The instance IDs. Must be instances linked to a VPC through ClassicLink.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `group-id` - The ID of a VPC security group that's associated with - the instance. - - - `instance-id` - The ID of the instance. - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC to which the instance is linked. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - - Constraint: If the value is greater than 1000, we return only 1000 - items. - """ - -@dataclass(kw_only=True) -class DescribeClassicLinkInstancesOutput(_SerdeShape): - """Dataclass for DescribeClassicLinkInstancesOutput structure.""" - - instances: list[ClassicLinkInstance] | None = ... - """Information about one or more linked EC2-Classic instances.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnAuthorizationRulesInput(_SerdeShape): - """Dataclass for DescribeClientVpnAuthorizationRulesInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - filters: list[Filter] | None = ... - """ - One or more filters. Filter names and values are case-sensitive. - - - `description` - The description of the authorization rule. - - - `destination-cidr` - The CIDR of the network to which the - authorization rule applies. - - - `group-id` - The ID of the Active Directory group to which the - authorization rule grants access. - """ - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the nextToken value. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnAuthorizationRulesOutput(_SerdeShape): - """Dataclass for DescribeClientVpnAuthorizationRulesOutput structure.""" - - authorization_rules: list[AuthorizationRule] | None = ... - """Information about the authorization rules.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnConnectionsInput(_SerdeShape): - """Dataclass for DescribeClientVpnConnectionsInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - filters: list[Filter] | None = ... - """ - One or more filters. Filter names and values are case-sensitive. - - - `connection-id` - The ID of the connection. - - - `username` - For Active Directory client authentication, the user name - of the client who established the client connection. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the nextToken value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnConnectionsOutput(_SerdeShape): - """Dataclass for DescribeClientVpnConnectionsOutput structure.""" - - connections: list[ClientVpnConnection] | None = ... - """Information about the active and terminated client connections.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnEndpointsInput(_SerdeShape): - """Dataclass for DescribeClientVpnEndpointsInput structure.""" - - client_vpn_endpoint_ids: list[str] | None = ... - """The ID of the Client VPN endpoint.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the nextToken value. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - filters: list[Filter] | None = ... - """ - One or more filters. Filter names and values are case-sensitive. - - - `endpoint-id` - The ID of the Client VPN endpoint. - - - `transport-protocol` - The transport protocol (`tcp` | `udp`). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnEndpointsOutput(_SerdeShape): - """Dataclass for DescribeClientVpnEndpointsOutput structure.""" - - client_vpn_endpoints: list[ClientVpnEndpoint] | None = ... - """Information about the Client VPN endpoints.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnRoutesInput(_SerdeShape): - """Dataclass for DescribeClientVpnRoutesInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - filters: list[Filter] | None = ... - """ - One or more filters. Filter names and values are case-sensitive. - - - `destination-cidr` - The CIDR of the route destination. - - - `origin` - How the route was associated with the Client VPN endpoint - (`associate` | `add-route`). - - - `target-subnet` - The ID of the subnet through which traffic is - routed. - """ - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the nextToken value. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnRoutesOutput(_SerdeShape): - """Dataclass for DescribeClientVpnRoutesOutput structure.""" - - routes: list[ClientVpnRoute] | None = ... - """Information about the Client VPN endpoint routes.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnTargetNetworksInput(_SerdeShape): - """Dataclass for DescribeClientVpnTargetNetworksInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - association_ids: list[str] | None = ... - """The IDs of the target network associations.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the nextToken value. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - filters: list[Filter] | None = ... - """ - One or more filters. Filter names and values are case-sensitive. - - - `association-id` - The ID of the association. - - - `target-network-id` - The ID of the subnet specified as the target - network. - - - `vpc-id` - The ID of the VPC in which the target network is located. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeClientVpnTargetNetworksOutput(_SerdeShape): - """Dataclass for DescribeClientVpnTargetNetworksOutput structure.""" - - client_vpn_target_networks: list[TargetNetwork] | None = ... - """Information about the associated target networks.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCoipPoolsInput(_SerdeShape): - """Dataclass for DescribeCoipPoolsInput structure.""" - - pool_ids: list[str] | None = ... - """The IDs of the address pools.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `coip-pool.local-gateway-route-table-id` - The ID of the local gateway - route table. - - - `coip-pool.pool-id` - The ID of the address pool. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeCoipPoolsOutput(_SerdeShape): - """Dataclass for DescribeCoipPoolsOutput structure.""" - - coip_pools: list[CoipPool] | None = ... - """Information about the address pools.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeConversionTasksInput(_SerdeShape): - """Dataclass for DescribeConversionTasksInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - conversion_task_ids: list[str] | None = ... - """The conversion task IDs.""" - -@dataclass(kw_only=True) -class DescribeConversionTasksOutput(_SerdeShape): - """Dataclass for DescribeConversionTasksOutput structure.""" - - conversion_tasks: list[ConversionTask] | None = ... - """Information about the conversion tasks.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCustomerGatewaysInput(_SerdeShape): - """Contains the parameters for DescribeCustomerGateways.""" - - customer_gateway_ids: list[str] | None = ... - """ - One or more customer gateway IDs. - - Default: Describes all your customer gateways. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `bgp-asn` - The customer gateway's Border Gateway Protocol (BGP) - Autonomous System Number (ASN). - - - `customer-gateway-id` - The ID of the customer gateway. - - - `ip-address` - The IP address of the customer gateway device's - external interface. - - - `state` - The state of the customer gateway (`pending` | `available` - | `deleting` | `deleted`). - - - `type` - The type of customer gateway. Currently, the only supported - type is `ipsec.1`. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeCustomerGatewaysOutput(_SerdeShape): - """Contains the output of DescribeCustomerGateways.""" - - customer_gateways: list[CustomerGateway] | None = ... - """Information about one or more customer gateways.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDeclarativePoliciesReportsInput(_SerdeShape): - """Dataclass for DescribeDeclarativePoliciesReportsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - report_ids: list[str] | None = ... - """One or more report IDs.""" - -@dataclass(kw_only=True) -class DescribeDeclarativePoliciesReportsOutput(_SerdeShape): - """Dataclass for DescribeDeclarativePoliciesReportsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - reports: list[DeclarativePoliciesReport] | None = ... - """The report metadata.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDhcpOptionsInput(_SerdeShape): - """Dataclass for DescribeDhcpOptionsInput structure.""" - - dhcp_options_ids: list[str] | None = ... - """The IDs of DHCP option sets.""" - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `dhcp-options-id` - The ID of a DHCP options set. - - - `key` - The key for one of the options (for example, `domain-name`). - - - `value` - The value for one of the options. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - DHCP options set. - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - -@dataclass(kw_only=True) -class DescribeDhcpOptionsOutput(_SerdeShape): - """Dataclass for DescribeDhcpOptionsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - dhcp_options: list[DhcpOptions] | None = ... - """Information about the DHCP options sets.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeEgressOnlyInternetGatewaysInput(_SerdeShape): - """Dataclass for DescribeEgressOnlyInternetGatewaysInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - egress_only_internet_gateway_ids: list[str] | None = ... - """The IDs of the egress-only internet gateways.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - -@dataclass(kw_only=True) -class DescribeEgressOnlyInternetGatewaysOutput(_SerdeShape): - """Dataclass for DescribeEgressOnlyInternetGatewaysOutput structure.""" - - egress_only_internet_gateways: list[EgressOnlyInternetGateway] | None = ... - """Information about the egress-only internet gateways.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeElasticGpusInput(_SerdeShape): - """Dataclass for DescribeElasticGpusInput structure.""" - - elastic_gpu_ids: list[str] | None = ... - """The Elastic Graphics accelerator IDs.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The Availability Zone in which the Elastic - Graphics accelerator resides. - - - `elastic-gpu-health` - The status of the Elastic Graphics accelerator - (`OK` | `IMPAIRED`). - - - `elastic-gpu-state` - The state of the Elastic Graphics accelerator - (`ATTACHED`). - - - `elastic-gpu-type` - The type of Elastic Graphics accelerator; for - example, `eg1.medium`. - - - `instance-id` - The ID of the instance to which the Elastic Graphics - accelerator is associated. - """ - max_results: int | None = ... - """ - The maximum number of results to return in a single call. To retrieve - the remaining results, make another call with the returned `NextToken` - value. This value can be between 5 and 1000. - """ - next_token: str | None = ... - """The token to request the next page of results.""" - -@dataclass(kw_only=True) -class DescribeElasticGpusOutput(_SerdeShape): - """Dataclass for DescribeElasticGpusOutput structure.""" - - elastic_gpu_set: list[ElasticGpus] | None = ... - """Information about the Elastic Graphics accelerators.""" - max_results: int | None = ... - """ - The total number of items to return. If the total number of items - available is more than the value specified in max-items then a - Next-Token will be provided in the output that you can use to resume - pagination. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeExportImageTasksInput(_SerdeShape): - """Dataclass for DescribeExportImageTasksInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - Filter tasks using the `task-state` filter and one of the following - values: `active`, `completed`, `deleting`, or `deleted`. - """ - export_image_task_ids: list[str] | None = ... - """The IDs of the export image tasks.""" - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - next_token: str | None = ... - """A token that indicates the next page of results.""" - -@dataclass(kw_only=True) -class DescribeExportImageTasksOutput(_SerdeShape): - """Dataclass for DescribeExportImageTasksOutput structure.""" - - export_image_tasks: list[ExportImageTask] | None = ... - """Information about the export image tasks.""" - next_token: str | None = ... - """ - The token to use to get the next page of results. This value is `null` - when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeExportTasksInput(_SerdeShape): - """Dataclass for DescribeExportTasksInput structure.""" - - filters: list[Filter] | None = ... - """the filters for the export tasks.""" - export_task_ids: list[str] | None = ... - """The export task IDs.""" - -@dataclass(kw_only=True) -class DescribeExportTasksOutput(_SerdeShape): - """Dataclass for DescribeExportTasksOutput structure.""" - - export_tasks: list[ExportTask] | None = ... - """Information about the export tasks.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeFastLaunchImagesInput(_SerdeShape): - """Dataclass for DescribeFastLaunchImagesInput structure.""" - - image_ids: list[str] | None = ... - """Specify one or more Windows AMI image IDs for the request.""" - filters: list[Filter] | None = ... - """ - Use the following filters to streamline results. - - - `resource-type` - The resource type for pre-provisioning. - - - `owner-id` - The owner ID for the pre-provisioning resource. - - - `state` - The current state of fast launching for the Windows AMI. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeFastLaunchImagesOutput(_SerdeShape): - """Dataclass for DescribeFastLaunchImagesOutput structure.""" - - fast_launch_images: list[DescribeFastLaunchImagesSuccessItem] | None = ... - """ - A collection of details about the fast-launch enabled Windows images - that meet the requested criteria. - """ - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeFastLaunchImagesSuccessItem(_SerdeShape): - """ - Describe details about a Windows image with Windows fast launch enabled - that meets the requested criteria. Criteria are defined by the - `DescribeFastLaunchImages` action filters. - """ - - image_id: str | None = ... - """The image ID that identifies the Windows fast launch enabled image.""" - resource_type: str | None = ... - """ - The resource type that Amazon EC2 uses for pre-provisioning the Windows - AMI. Supported values include: `snapshot`. - """ - snapshot_configuration: FastLaunchSnapshotConfigurationResponse | None = ... - """ - A group of parameters that are used for pre-provisioning the associated - Windows AMI using snapshots. - """ - launch_template: FastLaunchLaunchTemplateSpecificationResponse | None = ... - """ - The launch template that the Windows fast launch enabled AMI uses when - it launches Windows instances from pre-provisioned snapshots. - """ - max_parallel_launches: int | None = ... - """ - The maximum number of instances that Amazon EC2 can launch at the same - time to create pre-provisioned snapshots for Windows fast launch. - """ - owner_id: str | None = ... - """The owner ID for the Windows fast launch enabled AMI.""" - state: str | None = ... - """The current state of Windows fast launch for the specified Windows AMI.""" - state_transition_reason: str | None = ... - """ - The reason that Windows fast launch for the AMI changed to the current - state. - """ - state_transition_time: datetime | None = ... - """ - The time that Windows fast launch for the AMI changed to the current - state. - """ - -@dataclass(kw_only=True) -class DescribeFastSnapshotRestoresInput(_SerdeShape): - """Dataclass for DescribeFastSnapshotRestoresInput structure.""" - - filters: list[Filter] | None = ... - """ - The filters. The possible values are: - - - `availability-zone`: The Availability Zone of the snapshot. For - example, `us-east-2a`. - - - `availability-zone-id`: The ID of the Availability Zone of the - snapshot. For example, `use2-az1`. - - - `owner-id`: The ID of the Amazon Web Services account that enabled - fast snapshot restore on the snapshot. - - - `snapshot-id`: The ID of the snapshot. - - - `state`: The state of fast snapshot restores for the snapshot - (`enabling` | `optimizing` | `enabled` | `disabling` | - `disabled`). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeFastSnapshotRestoresOutput(_SerdeShape): - """Dataclass for DescribeFastSnapshotRestoresOutput structure.""" - - fast_snapshot_restores: list[DescribeFastSnapshotRestoreSuccessItem] | None = ... - """Information about the state of fast snapshot restores.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeFastSnapshotRestoreSuccessItem(_SerdeShape): - """Describes fast snapshot restores for a snapshot.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - availability_zone: str | None = ... - """The Availability Zone.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - state: str | None = ... - """The state of fast snapshot restores.""" - state_transition_reason: str | None = ... - """ - The reason for the state transition. The possible values are as follows: - - - `Client.UserInitiated` - The state successfully transitioned to - `enabling` or `disabling`. - - - `Client.UserInitiated - Lifecycle state transition` - The state - successfully transitioned to `optimizing`, `enabled`, or `disabled`. - """ - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that enabled fast snapshot - restores on the snapshot. - """ - owner_alias: str | None = ... - """ - The Amazon Web Services owner alias that enabled fast snapshot restores - on the snapshot. This is intended for future use. - """ - enabling_time: datetime | None = ... - """The time at which fast snapshot restores entered the `enabling` state.""" - optimizing_time: datetime | None = ... - """The time at which fast snapshot restores entered the `optimizing` state.""" - enabled_time: datetime | None = ... - """The time at which fast snapshot restores entered the `enabled` state.""" - disabling_time: datetime | None = ... - """The time at which fast snapshot restores entered the `disabling` state.""" - disabled_time: datetime | None = ... - """The time at which fast snapshot restores entered the `disabled` state.""" - -@dataclass(kw_only=True) -class DescribeFleetError(_SerdeShape): - """Describes the instances that could not be launched by the fleet.""" - - launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ... - """ - The launch templates and overrides that were used for launching the - instances. The values that you specify in the Overrides replace the - values in the launch template. - """ - lifecycle: str | None = ... - """ - Indicates if the instance that could not be launched was a Spot, - On-Demand, Capacity Block for ML, or interruptible Capacity Reservation - instance. If you are using `ReservedCapacityOptions` with - `on-demand-capacity-reservation` in the `ReservationTypes` list, the - value can also be `on-demand-capacity-reservation`. - """ - error_code: str | None = ... - """ - The error code that indicates why the instance could not be launched. - For more information about error codes, see [Error - codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). - """ - error_message: str | None = ... - """ - The error message that describes why the instance could not be launched. - For more information about error messages, see [Error - codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). - """ - -@dataclass(kw_only=True) -class DescribeFleetHistoryInput(_SerdeShape): - """Dataclass for DescribeFleetHistoryInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - event_type: str | None = ... - """The type of events to describe. By default, all events are described.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - fleet_id: str | None = ... - """The ID of the EC2 Fleet.""" - start_time: datetime | None = ... - """ - The start date and time for the events, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - -@dataclass(kw_only=True) -class DescribeFleetHistoryOutput(_SerdeShape): - """Dataclass for DescribeFleetHistoryOutput structure.""" - - history_records: list[HistoryRecordEntry] | None = ... - """Information about the events in the history of the EC2 Fleet.""" - last_evaluated_time: datetime | None = ... - """ - The last date and time for the events, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). All records up to this time were - retrieved. - - If `nextToken` indicates that there are more items, this value is not - present. - """ - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - fleet_id: str | None = ... - """The ID of the EC Fleet.""" - start_time: datetime | None = ... - """ - The start date and time for the events, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeFleetInstancesInput(_SerdeShape): - """Dataclass for DescribeFleetInstancesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - fleet_id: str | None = ... - """The ID of the EC2 Fleet.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `instance-type` - The instance type. - """ - -@dataclass(kw_only=True) -class DescribeFleetInstancesOutput(_SerdeShape): - """Dataclass for DescribeFleetInstancesOutput structure.""" - - active_instances: list[ActiveInstance] | None = ... - """ - The running instances. This list is refreshed periodically and might be - out of date. - """ - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - fleet_id: str | None = ... - """The ID of the EC2 Fleet.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeFleetsInput(_SerdeShape): - """Dataclass for DescribeFleetsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - fleet_ids: list[str] | None = ... - """ - The IDs of the EC2 Fleets. - - Note: - If a fleet is of type `instant`, you must specify the fleet ID, - otherwise it does not appear in the response. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `activity-status` - The progress of the EC2 Fleet ( `error` | - `pending-fulfillment` | `pending-termination` | `fulfilled`). - - - `excess-capacity-termination-policy` - Indicates whether to terminate - running instances if the target capacity is decreased below the - current EC2 Fleet size (`true` | `false`). - - - `fleet-state` - The state of the EC2 Fleet (`submitted` | `active` | - `deleted` | `failed` | `deleted-running` | `deleted-terminating` | - `modifying`). - - - `replace-unhealthy-instances` - Indicates whether EC2 Fleet should - replace unhealthy instances (`true` | `false`). - - - `type` - The type of request (`instant` | `request` | `maintain`). - """ - -@dataclass(kw_only=True) -class DescribeFleetsInstances(_SerdeShape): - """Describes the instances that were launched by the fleet.""" - - launch_template_and_overrides: LaunchTemplateAndOverridesResponse | None = ... - """ - The launch templates and overrides that were used for launching the - instances. The values that you specify in the Overrides replace the - values in the launch template. - """ - lifecycle: str | None = ... - """ - Indicates if the instance that was launched is a Spot, On-Demand, - Capacity Block for ML, or interruptible Capacity Reservation instance. - """ - instance_ids: list[str] | None = ... - """The IDs of the instances.""" - instance_type: str | None = ... - """The instance type.""" - platform: str | None = ... - """ - The value is `windows` for Windows instances in an EC2 Fleet. Otherwise, - the value is blank. - """ - -@dataclass(kw_only=True) -class DescribeFleetsOutput(_SerdeShape): - """Dataclass for DescribeFleetsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - fleets: list[FleetData] | None = ... - """Information about the EC2 Fleets.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeFlowLogsInput(_SerdeShape): - """Dataclass for DescribeFlowLogsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filter: list[Filter] | None = ... - """ - One or more filters. - - - `deliver-log-status` - The status of the logs delivery (`SUCCESS` | - `FAILED`). - - - `log-destination-type` - The type of destination for the flow log data - (`cloud-watch-logs` | `s3` | `kinesis-data-firehose`). - - - `flow-log-id` - The ID of the flow log. - - - `log-group-name` - The name of the log group. - - - `resource-id` - The ID of the VPC, subnet, or network interface. - - - `traffic-type` - The type of traffic (`ACCEPT` | `REJECT` | `ALL`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - flow_log_ids: list[str] | None = ... - """ - One or more flow log IDs. - - Constraint: Maximum of 1000 flow log IDs. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token to request the next page of items. Pagination continues from - the end of the items returned by the previous request. - """ - -@dataclass(kw_only=True) -class DescribeFlowLogsOutput(_SerdeShape): - """Dataclass for DescribeFlowLogsOutput structure.""" - - flow_logs: list[FlowLog] | None = ... - """Information about the flow logs.""" - next_token: str | None = ... - """ - The token to request the next page of items. This value is `null` when - there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeFpgaImageAttributeInput(_SerdeShape): - """Dataclass for DescribeFpgaImageAttributeInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - fpga_image_id: str | None = ... - """The ID of the AFI.""" - attribute: str | None = ... - """The AFI attribute.""" - -@dataclass(kw_only=True) -class DescribeFpgaImageAttributeOutput(_SerdeShape): - """Dataclass for DescribeFpgaImageAttributeOutput structure.""" - - fpga_image_attribute: FpgaImageAttribute | None = ... - """Information about the attribute.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeFpgaImagesInput(_SerdeShape): - """Dataclass for DescribeFpgaImagesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - fpga_image_ids: list[str] | None = ... - """The AFI IDs.""" - owners: list[str] | None = ... - """ - Filters the AFI by owner. Specify an Amazon Web Services account ID, - `self` (owner is the sender of the request), or an Amazon Web Services - owner alias (valid values are `amazon` | `aws-marketplace`). - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `create-time` - The creation time of the AFI. - - - `fpga-image-id` - The FPGA image identifier (AFI ID). - - - `fpga-image-global-id` - The global FPGA image identifier (AGFI ID). - - - `name` - The name of the AFI. - - - `owner-id` - The Amazon Web Services account ID of the AFI owner. - - - `product-code` - The product code. - - - `shell-version` - The version of the Amazon Web Services Shell that - was used to create the bitstream. - - - `state` - The state of the AFI (`pending` | `failed` | `available` - | `unavailable`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `update-time` - The time of the most recent update. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - -@dataclass(kw_only=True) -class DescribeFpgaImagesOutput(_SerdeShape): - """Dataclass for DescribeFpgaImagesOutput structure.""" - - fpga_images: list[FpgaImage] | None = ... - """Information about the FPGA images.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeHostReservationOfferingsInput(_SerdeShape): - """Dataclass for DescribeHostReservationOfferingsInput structure.""" - - filter: list[Filter] | None = ... - """ - The filters. - - - `instance-family` - The instance family of the offering (for example, - `m4`). - - - `payment-option` - The payment option (`NoUpfront` | `PartialUpfront` - | `AllUpfront`). - """ - max_duration: int | None = ... - """ - This is the maximum duration of the reservation to purchase, specified - in seconds. Reservations are available in one-year and three-year terms. - The number of seconds specified must be the number of seconds in a year - (365x24x60x60) times one of the supported durations (1 or 3). For - example, specify 94608000 for three years. - """ - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the returned `nextToken` value. This value can be between 5 and 500. If - `maxResults` is given a larger value than 500, you receive an error. - """ - min_duration: int | None = ... - """ - This is the minimum duration of the reservation you'd like to purchase, - specified in seconds. Reservations are available in one-year and - three-year terms. The number of seconds specified must be the number of - seconds in a year (365x24x60x60) times one of the supported durations (1 - or 3). For example, specify 31536000 for one year. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - offering_id: str | None = ... - """The ID of the reservation offering.""" - -@dataclass(kw_only=True) -class DescribeHostReservationOfferingsOutput(_SerdeShape): - """Dataclass for DescribeHostReservationOfferingsOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - offering_set: list[HostOffering] | None = ... - """Information about the offerings.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeHostReservationsInput(_SerdeShape): - """Dataclass for DescribeHostReservationsInput structure.""" - - filter: list[Filter] | None = ... - """ - The filters. - - - `instance-family` - The instance family (for example, `m4`). - - - `payment-option` - The payment option (`NoUpfront` | `PartialUpfront` - | `AllUpfront`). - - - `state` - The state of the reservation (`payment-pending` | - `payment-failed` | `active` | `retired`). - - - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - host_reservation_id_set: list[str] | None = ... - """The host reservation IDs.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the returned `nextToken` value. This value can be between 5 and 500. If - `maxResults` is given a larger value than 500, you receive an error. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - -@dataclass(kw_only=True) -class DescribeHostReservationsOutput(_SerdeShape): - """Dataclass for DescribeHostReservationsOutput structure.""" - - host_reservation_set: list[HostReservation] | None = ... - """Details about the reservation's configuration.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeHostsInput(_SerdeShape): - """Dataclass for DescribeHostsInput structure.""" - - host_ids: list[str] | None = ... - """ - The IDs of the Dedicated Hosts. The IDs are used for targeted instance - launches. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the returned `nextToken` value. This value can be between 5 and 500. If - `maxResults` is given a larger value than 500, you receive an error. - - You cannot specify this parameter and the host IDs parameter in the same - request. - """ - filter: list[Filter] | None = ... - """ - The filters. - - - `auto-placement` - Whether auto-placement is enabled or disabled (`on` - | `off`). - - - `availability-zone` - The Availability Zone of the host. - - - `client-token` - The idempotency token that you provided when you - allocated the host. - - - `host-reservation-id` - The ID of the reservation assigned to this - host. - - - `instance-type` - The instance type size that the Dedicated Host is - configured to support. - - - `state` - The allocation state of the Dedicated Host (`available` | - `under-assessment` | `permanent-failure` | `released` | - `released-permanent-failure`). - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - -@dataclass(kw_only=True) -class DescribeHostsOutput(_SerdeShape): - """Dataclass for DescribeHostsOutput structure.""" - - hosts: list[Host] | None = ... - """Information about the Dedicated Hosts.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIamInstanceProfileAssociationsInput(_SerdeShape): - """Dataclass for DescribeIamInstanceProfileAssociationsInput structure.""" - - association_ids: list[str] | None = ... - """The IAM instance profile associations.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `instance-id` - The ID of the instance. - - - `state` - The state of the association (`associating` | `associated` - | `disassociating`). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - -@dataclass(kw_only=True) -class DescribeIamInstanceProfileAssociationsOutput(_SerdeShape): - """Dataclass for DescribeIamInstanceProfileAssociationsOutput structure.""" - - iam_instance_profile_associations: list[IamInstanceProfileAssociation] | None = ... - """Information about the IAM instance profile associations.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIdentityIdFormatInput(_SerdeShape): - """Dataclass for DescribeIdentityIdFormatInput structure.""" - - resource: str | None = ... - """ - The type of resource: `bundle` | `conversion-task` | - `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | - `elastic-ip-association` | `export-task` | `flow-log` | `image` | - `import-task` | `instance` | `internet-gateway` | `network-acl` | - `network-acl-association` | `network-interface` | - `network-interface-attachment` | `prefix-list` | `reservation` | - `route-table` | `route-table-association` | `security-group` | - `snapshot` | `subnet` | `subnet-cidr-block-association` | `volume` | - `vpc` | `vpc-cidr-block-association` | `vpc-endpoint` | - `vpc-peering-connection` | `vpn-connection` | `vpn-gateway` - """ - principal_arn: str | None = ... - """ - The ARN of the principal, which can be an IAM role, IAM user, or the - root user. - """ - -@dataclass(kw_only=True) -class DescribeIdentityIdFormatOutput(_SerdeShape): - """Dataclass for DescribeIdentityIdFormatOutput structure.""" - - statuses: list[IdFormat] | None = ... - """Information about the ID format for the resources.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIdFormatInput(_SerdeShape): - """Dataclass for DescribeIdFormatInput structure.""" - - resource: str | None = ... - """ - The type of resource: `bundle` | `conversion-task` | - `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | - `elastic-ip-association` | `export-task` | `flow-log` | `image` | - `import-task` | `instance` | `internet-gateway` | `network-acl` | - `network-acl-association` | `network-interface` | - `network-interface-attachment` | `prefix-list` | `reservation` | - `route-table` | `route-table-association` | `security-group` | - `snapshot` | `subnet` | `subnet-cidr-block-association` | `volume` | - `vpc` | `vpc-cidr-block-association` | `vpc-endpoint` | - `vpc-peering-connection` | `vpn-connection` | `vpn-gateway` - """ - -@dataclass(kw_only=True) -class DescribeIdFormatOutput(_SerdeShape): - """Dataclass for DescribeIdFormatOutput structure.""" - - statuses: list[IdFormat] | None = ... - """Information about the ID format for the resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeImageAttributeInput(_SerdeShape): - """Contains the parameters for DescribeImageAttribute.""" - - attribute: str | None = ... - """ - The AMI attribute. - - **Note**: The `blockDeviceMapping` attribute is deprecated. Using this - attribute returns the `Client.AuthFailure` error. To get information - about the block device mappings for an AMI, describe the image instead. - """ - image_id: str | None = ... - """The ID of the AMI.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeImageAttributeOutput(_SerdeShape): - """Describes an image attribute.""" - - description: AttributeValue | None = ... - """A description for the AMI.""" - kernel_id: AttributeValue | None = ... - """The kernel ID.""" - ramdisk_id: AttributeValue | None = ... - """The RAM disk ID.""" - sriov_net_support: AttributeValue | None = ... - """ - Indicates whether enhanced networking with the Intel 82599 Virtual - Function interface is enabled. - """ - boot_mode: AttributeValue | None = ... - """The boot mode.""" - tpm_support: AttributeValue | None = ... - """If the image is configured for NitroTPM support, the value is `v2.0`.""" - uefi_data: AttributeValue | None = ... - """ - Base64 representation of the non-volatile UEFI variable store. To - retrieve the UEFI data, use the - [GetInstanceUefiData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData) - command. You can inspect and modify the UEFI data by using the - [python-uefivars tool](https://github.com/awslabs/python-uefivars) on - GitHub. For more information, see [UEFI Secure Boot for Amazon EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html) - in the *Amazon EC2 User Guide*. - """ - last_launched_time: AttributeValue | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the AMI was last used to - launch an EC2 instance. When the AMI is used to launch an instance, - there is a 24-hour delay before that usage is reported. - - Note: - `lastLaunchedTime` data is available starting April 2017. - """ - imds_support: AttributeValue | None = ... - """ - If `v2.0`, it indicates that IMDSv2 is specified in the AMI. Instances - launched from this AMI will have `HttpTokens` automatically set to - `required` so that, by default, the instance requires that IMDSv2 is - used when requesting instance metadata. In addition, - `HttpPutResponseHopLimit` is set to `2`. For more information, see - [Configure the - AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration) - in the *Amazon EC2 User Guide*. - """ - deregistration_protection: AttributeValue | None = ... - """Indicates whether deregistration protection is enabled for the AMI.""" - image_id: str | None = ... - """The ID of the AMI.""" - launch_permissions: list[LaunchPermission] | None = ... - """The launch permissions.""" - product_codes: list[ProductCode] | None = ... - """The product codes.""" - block_device_mappings: list[BlockDeviceMapping] | None = ... - """The block device mapping entries.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeImageReferencesInput(_SerdeShape): - """Dataclass for DescribeImageReferencesInput structure.""" - - image_ids: list[str] | None = ... - """The IDs of the images to check for resource references.""" - include_all_resource_types: bool | None = ... - """ - Specifies whether to check all supported Amazon Web Services resource - types for image references. When specified, default values are applied - for `ResourceTypeOptions`. For the default values, see [How AMI - reference checks - work](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ami-references.html#how-ami-references-works) - in the *Amazon EC2 User Guide*. If you also specify `ResourceTypes` with - `ResourceTypeOptions`, your specified values override the default - values. - - Supported resource types: `ec2:Instance` | `ec2:LaunchTemplate` | - `ssm:Parameter` | `imagebuilder:ImageRecipe` | - `imagebuilder:ContainerRecipe` - - Either `IncludeAllResourceTypes` or `ResourceTypes` must be specified. - """ - resource_types: list[ResourceTypeRequest] | None = ... - """ - The Amazon Web Services resource types to check for image references. - - Either `IncludeAllResourceTypes` or `ResourceTypes` must be specified. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeImageReferencesOutput(_SerdeShape): - """Dataclass for DescribeImageReferencesOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - image_references: list[ImageReference] | None = ... - """The resources that are referencing the specified images.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeImagesInput(_SerdeShape): - """Dataclass for DescribeImagesInput structure.""" - - executable_users: list[str] | None = ... - """ - Scopes the images by users with explicit launch permissions. Specify an - Amazon Web Services account ID, `self` (the sender of the request), or - `all` (public AMIs). - - - If you specify an Amazon Web Services account ID that is not your own, - only AMIs shared with that specific Amazon Web Services account ID are - returned. However, AMIs that are shared with the account's - organization or organizational unit (OU) are not returned. - - - If you specify `self` or your own Amazon Web Services account ID, AMIs - shared with your account are returned. In addition, AMIs that are - shared with the organization or OU of which you are member are also - returned. - - - If you specify `all`, all public AMIs are returned. - """ - image_ids: list[str] | None = ... - """ - The image IDs. - - Default: Describes all images available to you. - """ - owners: list[str] | None = ... - """ - Scopes the results to images with the specified owners. You can specify - a combination of Amazon Web Services account IDs, `self`, `amazon`, - `aws-backup-vault`, and `aws-marketplace`. If you omit this parameter, - the results include all images for which you have launch permissions, - regardless of ownership. - """ - include_deprecated: bool | None = ... - """ - Specifies whether to include deprecated AMIs. - - Default: No deprecated AMIs are included in the response. - - Note: - If you are the AMI owner, all deprecated AMIs appear in the response - regardless of what you specify for this parameter. - """ - include_disabled: bool | None = ... - """ - Specifies whether to include disabled AMIs. - - Default: No disabled AMIs are included in the response. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `architecture` - The image architecture (`i386` | `x86_64` | `arm64` - | `x86_64_mac` | `arm64_mac`). - - - `block-device-mapping.delete-on-termination` - A Boolean value that - indicates whether the Amazon EBS volume is deleted on instance - termination. - - - `block-device-mapping.device-name` - The device name specified in the - block device mapping (for example, `/dev/sdh` or `xvdh`). - - - `block-device-mapping.snapshot-id` - The ID of the snapshot used for - the Amazon EBS volume. - - - `block-device-mapping.volume-size` - The volume size of the Amazon EBS - volume, in GiB. - - - `block-device-mapping.volume-type` - The volume type of the Amazon EBS - volume (`io1` | `io2` | `gp2` | `gp3` | `sc1 `| `st1` | - `standard`). - - - `block-device-mapping.encrypted` - A Boolean that indicates whether - the Amazon EBS volume is encrypted. - - - `boot-mode` -- The boot mode of the image (`legacy-bios` | `uefi` | - `uefi-preferred`). - - - `creation-date` - The time when the image was created, in the ISO 8601 - format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, - `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`), for example, - `2021-09-29T*`, which matches an entire day. - - - `description` - The description of the image (provided during image - creation). - - - `ena-support` - A Boolean that indicates whether enhanced networking - with ENA is enabled. - - - `free-tier-eligible` - A Boolean that indicates whether this image can - be used under the Amazon Web Services Free Tier (`true` | `false`). - - - `hypervisor` - The hypervisor type (`ovm` | `xen`). - - - `image-allowed` - A Boolean that indicates whether the image meets the - criteria specified for Allowed AMIs. - - - `image-id` - The ID of the image. - - - `image-watermark.source-image-creation-time` - The creation date of - the source AMI, in the ISO 8601 format in the UTC time zone - (` `*`YYYY`*`-`*`MM`*`-`*`DD`*`T`*`HH`*`:`*`MM`*`:`*`SS`*`.`*`ssssss`*`+`*`HH`*`:`*`MM`*` `). - You can use a wildcard (`*`), for example, `2021-09-29T*`, which - matches an entire day. - - - `image-watermark.source-image-id` - The ID of the AMI to which the - watermark was originally attached. - - - `image-watermark.source-image-region` - The Region where the watermark - was originally attached. - - - `image-watermark.watermark-creation-time` - The date and time the - watermark was attached to the AMI, in the ISO 8601 format in the UTC - time zone - (` `*`YYYY`*`-`*`MM`*`-`*`DD`*`T`*`HH`*`:`*`MM`*`:`*`SS`*`.`*`ssssss`*`+`*`HH`*`:`*`MM`*` `). - You can use a wildcard (`*`), for example, `2021-09-29T*`, which - matches an entire day. - - - `image-watermark.watermark-key` - The watermark identifier, in - `accountId:watermarkName` format (for example, - `123456789012:approvedAmi`). - - - `image-type` - The image type (`machine` | `kernel` | `ramdisk`). - - - `instance-type-specification.supported-instance-type` -- The instance - types that are compatible with the AMI, as specified by the AMI owner. - Values can be individual instance types (for example, `t3.micro`) or - wildcard patterns that match multiple instance types (for example, - `t3.*`). - - - `instance-type-specification.unsupported-instance-type` -- The - instance types that are not compatible with the AMI, as specified by - the AMI owner. Values can be individual instance types (for example, - `t3.micro`) or wildcard patterns that match multiple instance types - (for example, `t3.*`). - - - `is-public` - A Boolean that indicates whether the image is public. - - - `kernel-id` - The kernel ID. - - - `manifest-location` - The location of the image manifest. - - - `name` - The name of the AMI (provided during image creation). - - - `owner-alias` - The owner alias (`amazon` | `aws-backup-vault` | - `aws-marketplace`). The valid aliases are defined in an - Amazon-maintained list. This is not the Amazon Web Services account - alias that can be set using the IAM console. We recommend that you use - the **Owner** request parameter instead of this filter. - - - `owner-id` - The Amazon Web Services account ID of the owner. We - recommend that you use the **Owner** request parameter instead of this - filter. - - - `platform` - The platform. The only supported value is `windows`. - - - `product-code` - The product code. - - - `product-code.type` - The type of the product code (`marketplace`). - - - `public-ssm-parameter-name` - The name of a public Systems Manager - parameter associated with the AMI. The parameter must be in a trusted - Amazon Web Services namespace under `aws/service/`. Returns all AMIs - that have ever been associated with the parameter, including previous - versions. - - - `ramdisk-id` - The RAM disk ID. - - - `root-device-name` - The device name of the root device volume (for - example, `/dev/sda1`). - - - `root-device-type` - The type of the root device volume (`ebs` | - `instance-store`). - - - `scan-result.critical-fix-available-since` - The earliest date and - time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix - as available for a `critical` severity finding on the AMI. - - - `scan-result.finding-scan-date` - The date and time, in the ISO 8601 - format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), of the most - recent Amazon Inspector scan of the AMI. - - - `scan-result.high-fix-available-since` - The earliest date and time, - in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix - as available for a `high` severity finding on the AMI. - - - `scan-result.highest-finding-severity-label` - The highest severity - among the AMI's Amazon Inspector findings, whether or not a fix is - available. The valid values are the following Amazon Inspector - severity levels: - - - `informational` - CVSS score of 0. - - - `low` - CVSS score of 0.1 to 3.9. - - - `medium` - CVSS score of 4.0 to 6.9. - - - `high` - CVSS score of 7.0 to 8.9. - - - `critical` - CVSS score of 9.0 to 10.0. - - - `scan-result.informational-fix-available-since` - The earliest date - and time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix - as available for an `informational` severity finding on the AMI. - - - `scan-result.low-fix-available-since` - The earliest date and time, in - the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), - at which Amazon Inspector reported a fix as available for a `low` - severity finding on the AMI. - - - `scan-result.medium-fix-available-since` - The earliest date and time, - in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix - as available for a `medium` severity finding on the AMI. - - - `source-image-id` - The ID of the source AMI from which the AMI was - created. - - - `source-image-region` - The Region of the source AMI. - - - `source-instance-id` - The ID of the instance that the AMI was created - from if the AMI was created using CreateImage. This filter is - applicable only if the AMI was created using - [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html). - - - `state` - The state of the image (`available` | `pending` | - `failed`). - - - `state-reason-code` - The reason code for the state change. - - - `state-reason-message` - The message for the state change. - - - `sriov-net-support` - A value of `simple` indicates that enhanced - networking with the Intel 82599 VF interface is enabled. - - - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `virtualization-type` - The virtualization type (`paravirtual` | - `hvm`). - """ - -@dataclass(kw_only=True) -class DescribeImagesOutput(_SerdeShape): - """Dataclass for DescribeImagesOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - images: list[Image] | None = ... - """Information about the images.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeImageUsageReportEntriesInput(_SerdeShape): - """Dataclass for DescribeImageUsageReportEntriesInput structure.""" - - image_ids: list[str] | None = ... - """ - The IDs of the images for filtering the report entries. If specified, - only report entries containing these images are returned. - """ - report_ids: list[str] | None = ... - """The IDs of the usage reports.""" - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `account-id` - A 12-digit Amazon Web Services account ID. - - - `creation-time` - The time when the report was created, in the ISO - 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for - example, `2025-11-29T11:04:43.305Z`. You can use a wildcard (`*`), for - example, `2025-11-29T*`, which matches an entire day. - - - `resource-type` - The resource type (`ec2:Instance` | - `ec2:LaunchTemplate`). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeImageUsageReportEntriesOutput(_SerdeShape): - """Dataclass for DescribeImageUsageReportEntriesOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - image_usage_report_entries: list[ImageUsageReportEntry] | None = ... - """The content of the usage reports.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeImageUsageReportsInput(_SerdeShape): - """Dataclass for DescribeImageUsageReportsInput structure.""" - - image_ids: list[str] | None = ... - """ - The IDs of the images for filtering the reports. If specified, only - reports containing these images are returned. - """ - report_ids: list[str] | None = ... - """The IDs of the image usage reports.""" - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `creation-time` - The time when the report was created, in the ISO - 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for - example, `2025-11-29T11:04:43.305Z`. You can use a wildcard (`*`), for - example, `2025-11-29T*`, which matches an entire day. - - - `state` - The state of the report (`available` | `pending` | - `error`). - - - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeImageUsageReportsOutput(_SerdeShape): - """Dataclass for DescribeImageUsageReportsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - image_usage_reports: list[ImageUsageReport] | None = ... - """The image usage reports.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeImportImageTasksInput(_SerdeShape): - """Dataclass for DescribeImportImageTasksInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - Filter tasks using the `task-state` filter and one of the following - values: `active`, `completed`, `deleting`, or `deleted`. - """ - import_task_ids: list[str] | None = ... - """The IDs of the import image tasks.""" - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - next_token: str | None = ... - """A token that indicates the next page of results.""" - -@dataclass(kw_only=True) -class DescribeImportImageTasksOutput(_SerdeShape): - """Dataclass for DescribeImportImageTasksOutput structure.""" - - import_image_tasks: list[ImportImageTask] | None = ... - """ - A list of zero or more import image tasks that are currently active or - were completed or canceled in the previous 7 days. - """ - next_token: str | None = ... - """ - The token to use to get the next page of results. This value is `null` - when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeImportSnapshotTasksInput(_SerdeShape): - """Dataclass for DescribeImportSnapshotTasksInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """The filters.""" - import_task_ids: list[str] | None = ... - """A list of import snapshot task IDs.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. To retrieve - the remaining results, make another call with the returned `NextToken` - value. - """ - next_token: str | None = ... - """A token that indicates the next page of results.""" - -@dataclass(kw_only=True) -class DescribeImportSnapshotTasksOutput(_SerdeShape): - """Dataclass for DescribeImportSnapshotTasksOutput structure.""" - - import_snapshot_tasks: list[ImportSnapshotTask] | None = ... - """ - A list of zero or more import snapshot tasks that are currently active - or were completed or canceled in the previous 7 days. - """ - next_token: str | None = ... - """ - The token to use to get the next page of results. This value is `null` - when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceAttributeInput(_SerdeShape): - """Dataclass for DescribeInstanceAttributeInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the instance.""" - attribute: str | None = ... - """ - The instance attribute. - - Note that the `enaSupport` attribute is not supported. - """ - -@dataclass(kw_only=True) -class DescribeInstanceAttributeOutput(_SerdeShape): - """Describes an instance attribute.""" - - block_device_mappings: list[InstanceBlockDeviceMapping] | None = ... - """The block device mapping of the instance.""" - disable_api_termination: AttributeBooleanValue | None = ... - """ - Indicates whether termination protection is enabled. If the value is - `true`, you can't terminate the instance using the Amazon EC2 console, - command line tools, or API. - """ - ena_support: AttributeBooleanValue | None = ... - """Indicates whether enhanced networking with ENA is enabled.""" - enclave_options: EnclaveOptions | None = ... - """ - Indicates whether the instance is enabled for Amazon Web Services Nitro - Enclaves. - """ - ebs_optimized: AttributeBooleanValue | None = ... - """Indicates whether the instance is optimized for Amazon EBS I/O.""" - instance_id: str | None = ... - """The ID of the instance.""" - instance_initiated_shutdown_behavior: AttributeValue | None = ... - """ - Indicates whether an instance stops or terminates when you initiate - shutdown from the instance (using the operating system command for - system shutdown). - """ - instance_type: AttributeValue | None = ... - """The instance type.""" - kernel_id: AttributeValue | None = ... - """The kernel ID.""" - product_codes: list[ProductCode] | None = ... - """The product codes.""" - ramdisk_id: AttributeValue | None = ... - """The RAM disk ID.""" - root_device_name: AttributeValue | None = ... - """The device name of the root device volume (for example, `/dev/sda1`).""" - source_dest_check: AttributeBooleanValue | None = ... - """Indicates whether source/destination checks are enabled.""" - sriov_net_support: AttributeValue | None = ... - """ - Indicates whether enhanced networking with the Intel 82599 Virtual - Function interface is enabled. - """ - user_data: AttributeValue | None = ... - """The user data.""" - disable_api_stop: AttributeBooleanValue | None = ... - """Indicates whether stop protection is enabled for the instance.""" - groups: list[GroupIdentifier] | None = ... - """The security groups associated with the instance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceConnectEndpointsInput(_SerdeShape): - """Dataclass for DescribeInstanceConnectEndpointsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `instance-connect-endpoint-id` - The ID of the EC2 Instance Connect - Endpoint. - - - `state` - The state of the EC2 Instance Connect Endpoint - (`create-in-progress` | `create-complete` | `create-failed` | - `delete-in-progress` | `delete-complete` | `delete-failed`). - - - `subnet-id` - The ID of the subnet in which the EC2 Instance Connect - Endpoint was created. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `tag-value` - The value of a tag assigned to the resource. Use this - filter to find all resources that have a tag with a specific value, - regardless of tag key. - - - `vpc-id` - The ID of the VPC in which the EC2 Instance Connect - Endpoint was created. - """ - instance_connect_endpoint_ids: list[str] | None = ... - """One or more EC2 Instance Connect Endpoint IDs.""" - -@dataclass(kw_only=True) -class DescribeInstanceConnectEndpointsOutput(_SerdeShape): - """Dataclass for DescribeInstanceConnectEndpointsOutput structure.""" - - instance_connect_endpoints: list[Ec2InstanceConnectEndpoint] | None = ... - """Information about the EC2 Instance Connect Endpoints.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceCreditSpecificationsInput(_SerdeShape): - """Dataclass for DescribeInstanceCreditSpecificationsInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `instance-id` - The ID of the instance. - """ - instance_ids: list[str] | None = ... - """ - The instance IDs. - - Default: Describes all your instances. - - Constraints: Maximum 1000 explicitly specified instance IDs. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - - You cannot specify this parameter and the instance IDs parameter in the - same call. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - -@dataclass(kw_only=True) -class DescribeInstanceCreditSpecificationsOutput(_SerdeShape): - """Dataclass for DescribeInstanceCreditSpecificationsOutput structure.""" - - instance_credit_specifications: list[InstanceCreditSpecification] | None = ... - """Information about the credit option for CPU usage of an instance.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceEventNotificationAttributesInput(_SerdeShape): - """ - Dataclass for DescribeInstanceEventNotificationAttributesInput - structure. - """ - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeInstanceEventNotificationAttributesOutput(_SerdeShape): - """ - Dataclass for DescribeInstanceEventNotificationAttributesOutput - structure. - """ - - instance_tag_attribute: InstanceTagNotificationAttribute | None = ... - """Information about the registered tag keys.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceEventWindowsInput(_SerdeShape): - """Describe instance event windows by InstanceEventWindow.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_event_window_ids: list[str] | None = ... - """The IDs of the event windows.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `dedicated-host-id` - The event windows associated with the specified - Dedicated Host ID. - - - `event-window-name` - The event windows associated with the specified - names. - - - `instance-id` - The event windows associated with the specified - instance ID. - - - `instance-tag` - The event windows associated with the specified tag - and value. - - - `instance-tag-key` - The event windows associated with the specified - tag key, regardless of the value. - - - `instance-tag-value` - The event windows associated with the specified - tag value, regardless of the key. - - - `tag:```{=html} - The key/value combination of a tag assigned to - the event window. 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 `Owner` and the value `CMX`, specify `tag:Owner` for - the filter name and `CMX` for the filter value. - - - `tag-key` - The key of a tag assigned to the event window. Use this - filter to find all event windows that have a tag with a specific key, - regardless of the tag value. - - - `tag-value` - The value of a tag assigned to the event window. Use - this filter to find all event windows that have a tag with a specific - value, regardless of the tag key. - """ - max_results: int | None = ... - """ - The maximum number of results to return in a single call. To retrieve - the remaining results, make another call with the returned `NextToken` - value. This value can be between 20 and 500. You cannot specify this - parameter and the event window IDs parameter in the same call. - """ - next_token: str | None = ... - """The token to request the next page of results.""" - -@dataclass(kw_only=True) -class DescribeInstanceEventWindowsOutput(_SerdeShape): - """Dataclass for DescribeInstanceEventWindowsOutput structure.""" - - instance_event_windows: list[InstanceEventWindow] | None = ... - """Information about the event windows.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceImageMetadataInput(_SerdeShape): - """Dataclass for DescribeInstanceImageMetadataInput structure.""" - - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The name of the Availability Zone (for example, - `us-west-2a`) or Local Zone (for example, `us-west-2-lax-1b`) of the - instance. - - - `instance-id` - The ID of the instance. - - - `image-allowed` - A Boolean that indicates whether the image meets the - criteria specified for Allowed AMIs. - - - `instance-state-name` - The state of the instance (`pending` | - `running` | `shutting-down` | `terminated` | `stopping` | - `stopped`). - - - `instance-type` - The type of instance (for example, `t3.micro`). - - - `launch-time` - 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, `2023-09-29T11:04:43.305Z`. You can use a wildcard (`*`), for - example, `2023-09-29T*`, which matches an entire day. - - - `owner-alias` - The owner alias (`amazon` | `aws-marketplace` | - `aws-backup-vault`). The valid aliases are defined in an - Amazon-maintained list. This is not the Amazon Web Services account - alias that can be set using the IAM console. We recommend that you use - the `Owner` request parameter instead of this filter. - - - `owner-id` - The Amazon Web Services account ID of the owner. We - recommend that you use the `Owner` request parameter instead of this - filter. - - - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `zone-id` - The ID of the Availability Zone (for example, `usw2-az2`) - or Local Zone (for example, `usw2-lax1-az1`) of the instance. - """ - instance_ids: list[str] | None = ... - """ - The instance IDs. - - If you don't specify an instance ID or filters, the output includes - information for all instances. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - - Default: 1000 - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeInstanceImageMetadataOutput(_SerdeShape): - """Dataclass for DescribeInstanceImageMetadataOutput structure.""" - - instance_image_metadata: list[InstanceImageMetadata] | None = ... - """Information about the instance and the AMI used to launch the instance.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstancesInput(_SerdeShape): - """Dataclass for DescribeInstancesInput structure.""" - - instance_ids: list[str] | None = ... - """ - The instance IDs. - - Default: Describes all your instances. - """ - include_managed_resources: bool | None = ... - """ - Indicates whether to include managed resources in the output. If this - parameter is set to `true`, the output includes resources that are - managed by Amazon Web Services services, even if managed resource - visibility is set to hidden. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `affinity` - The affinity setting for an instance running on a - Dedicated Host (`default` | `host`). - - - `architecture` - The instance architecture (`i386` | `x86_64` | - `arm64`). - - - `availability-zone` - The Availability Zone of the instance. - - - `availability-zone-id` - The ID of the Availability Zone of the - instance. - - - `block-device-mapping.attach-time` - The attach time for an EBS volume - mapped to the instance, for example, `2022-09-15T17:15:20.000Z`. - - - `block-device-mapping.delete-on-termination` - A Boolean that - indicates whether the EBS volume is deleted on instance termination. - - - `block-device-mapping.device-name` - The device name specified in the - block device mapping (for example, `/dev/sdh` or `xvdh`). - - - `block-device-mapping.status` - The status for the EBS volume - (`attaching` | `attached` | `detaching` | `detached`). - - - `block-device-mapping.volume-id` - The volume ID of the EBS volume. - - - `boot-mode` - The boot mode that was specified by the AMI - (`legacy-bios` | `uefi` | `uefi-preferred`). - - - `capacity-reservation-id` - The ID of the Capacity Reservation into - which the instance was launched. - - - `capacity-reservation-specification.capacity-reservation-preference` - - The instance's Capacity Reservation preference (`open` | `none`). - - - `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id` - - The ID of the targeted Capacity Reservation. - - - `capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn` - - The ARN of the targeted Capacity Reservation group. - - - `client-token` - The idempotency token you provided when you launched - the instance. - - - `current-instance-boot-mode` - The boot mode that is used to launch - the instance at launch or start (`legacy-bios` | `uefi`). - - - `dns-name` - The public DNS name of the instance. - - - `ebs-optimized` - A Boolean that indicates whether the instance is - optimized for Amazon EBS I/O. - - - `ena-support` - A Boolean that indicates whether the instance is - enabled for enhanced networking with ENA. - - - `enclave-options.enabled` - A Boolean that indicates whether the - instance is enabled for Amazon Web Services Nitro Enclaves. - - - `hibernation-options.configured` - A Boolean that indicates whether - the instance is enabled for hibernation. A value of `true` means that - the instance is enabled for hibernation. - - - `host-id` - The ID of the Dedicated Host on which the instance is - running, if applicable. - - - `hypervisor` - The hypervisor type of the instance (`ovm` | `xen`). - The value `xen` is used for both Xen and Nitro hypervisors. - - - `iam-instance-profile.arn` - The instance profile associated with the - instance. Specified as an ARN. - - - `iam-instance-profile.id` - The instance profile associated with the - instance. Specified as an ID. - - - `image-id` - The ID of the image used to launch the instance. - - - `instance-id` - The ID of the instance. - - - `instance-lifecycle` - Indicates whether this is a Spot Instance, a - Scheduled Instance, or a Capacity Block (`spot` | `scheduled` | - `capacity-block`). - - - `instance-state-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). - - - `instance-state-name` - The state of the instance (`pending` | - `running` | `shutting-down` | `terminated` | `stopping` | - `stopped`). - - - `instance-type` - The type of instance (for example, `t2.micro`). - - - `instance.group-id` - The ID of the security group for the instance. - - - `instance.group-name` - The name of the security group for the - instance. - - - `ip-address` - The public IPv4 address of the instance. - - - `ipv6-address` - The IPv6 address of the instance. - - - `kernel-id` - The kernel ID. - - - `key-name` - The name of the key pair used when the instance was - launched. - - - `launch-index` - When launching multiple instances, this is the index - for the instance in the launch group (for example, 0, 1, 2, and so - on). - - - `launch-time` - 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, `2021-09-29T11:04:43.305Z`. You can use a wildcard (`*`), for - example, `2021-09-29T*`, which matches an entire day. - - - `maintenance-options.auto-recovery` - The current automatic recovery - behavior of the instance (`disabled` | `default`). - - - `metadata-options.http-endpoint` - The status of access to the HTTP - metadata endpoint on your instance (`enabled` | `disabled`) - - - `metadata-options.http-protocol-ipv4` - Indicates whether the IPv4 - endpoint is enabled (`disabled` | `enabled`). - - - `metadata-options.http-protocol-ipv6` - Indicates whether the IPv6 - endpoint is enabled (`disabled` | `enabled`). - - - `metadata-options.http-put-response-hop-limit` - The HTTP metadata - request put response hop limit (integer, possible values `1` to `64`) - - - `metadata-options.http-tokens` - The metadata request authorization - state (`optional` | `required`) - - - `metadata-options.instance-metadata-tags` - The status of access to - instance tags from the instance metadata (`enabled` | `disabled`) - - - `metadata-options.state` - The state of the metadata option changes - (`pending` | `applied`). - - - `monitoring-state` - Indicates whether detailed monitoring is enabled - (`disabled` | `enabled`). - - - `network-interface.addresses.association.allocation-id` - The - allocation ID. - - - `network-interface.addresses.association.association-id` - The - association ID. - - - `network-interface.addresses.association.carrier-ip` - The carrier IP - address. - - - `network-interface.addresses.association.customer-owned-ip` - The - customer-owned IP address. - - - `network-interface.addresses.association.ip-owner-id` - The owner ID - of the private IPv4 address associated with the network interface. - - - `network-interface.addresses.association.public-dns-name` - The public - DNS name. - - - `network-interface.addresses.association.public-ip` - The ID of the - association of an Elastic IP address (IPv4) with a network interface. - - - `network-interface.addresses.primary` - Specifies whether the IPv4 - address of the network interface is the primary private IPv4 address. - - - `network-interface.addresses.private-dns-name` - The private DNS name. - - - `network-interface.addresses.private-ip-address` - The private IPv4 - address associated with the network interface. - - - `network-interface.association.allocation-id` - The allocation ID - returned when you allocated the Elastic IP address (IPv4) for your - network interface. - - - `network-interface.association.association-id` - The association ID - returned when the network interface was associated with an IPv4 - address. - - - `network-interface.association.carrier-ip` - The customer-owned IP - address. - - - `network-interface.association.customer-owned-ip` - The customer-owned - IP address. - - - `network-interface.association.ip-owner-id` - The owner of the Elastic - IP address (IPv4) associated with the network interface. - - - `network-interface.association.public-dns-name` - The public DNS name. - - - `network-interface.association.public-ip` - The address of the Elastic - IP address (IPv4) bound to the network interface. - - - `network-interface.attachment.attach-time` - The time that the network - interface was attached to an instance. - - - `network-interface.attachment.attachment-id` - The ID of the interface - attachment. - - - `network-interface.attachment.delete-on-termination` - Specifies - whether the attachment is deleted when an instance is terminated. - - - `network-interface.attachment.device-index` - The device index to - which the network interface is attached. - - - `network-interface.attachment.instance-id` - The ID of the instance to - which the network interface is attached. - - - `network-interface.attachment.instance-owner-id` - The owner ID of the - instance to which the network interface is attached. - - - `network-interface.attachment.network-card-index` - The index of the - network card. - - - `network-interface.attachment.status` - The status of the attachment - (`attaching` | `attached` | `detaching` | `detached`). - - - `network-interface.availability-zone` - The Availability Zone for the - network interface. - - - `network-interface.deny-all-igw-traffic` - A Boolean that indicates - whether a network interface with an IPv6 address is unreachable from - the public internet. - - - `network-interface.description` - The description of the network - interface. - - - `network-interface.group-id` - The ID of a security group associated - with the network interface. - - - `network-interface.group-name` - The name of a security group - associated with the network interface. - - - `network-interface.ipv4-prefixes.ipv4-prefix` - The IPv4 prefixes that - are assigned to the network interface. - - - `network-interface.ipv6-address` - The IPv6 address associated with - the network interface. - - - `network-interface.ipv6-addresses.ipv6-address` - The IPv6 address - associated with the network interface. - - - `network-interface.ipv6-addresses.is-primary-ipv6` - A Boolean that - indicates whether this is the primary IPv6 address. - - - `network-interface.ipv6-native` - A Boolean that indicates whether - this is an IPv6 only network interface. - - - `network-interface.ipv6-prefixes.ipv6-prefix` - The IPv6 prefix - assigned to the network interface. - - - `network-interface.mac-address` - The MAC address of the network - interface. - - - `network-interface.network-interface-id` - The ID of the network - interface. - - - `network-interface.operator.managed` - A Boolean that indicates - whether the instance has a managed network interface. - - - `network-interface.operator.principal` - The principal that manages - the network interface. Only valid for instances with managed network - interfaces, where `managed` is `true`. - - - `network-interface.outpost-arn` - The ARN of the Outpost. - - - `network-interface.owner-id` - The ID of the owner of the network - interface. - - - `network-interface.private-dns-name` - The private DNS name of the - network interface. - - - `network-interface.private-ip-address` - The private IPv4 address. - - - `network-interface.public-dns-name` - The public DNS name. - - - `network-interface.requester-id` - The requester ID for the network - interface. - - - `network-interface.requester-managed` - Indicates whether the network - interface is being managed by Amazon Web Services. - - - `network-interface.status` - The status of the network interface - (`available`) | `in-use`). - - - `network-interface.source-dest-check` - Whether the network interface - performs source/destination checking. A value of `true` means that - checking is enabled, and `false` means that checking is disabled. The - value must be `false` for the network interface to perform network - address translation (NAT) in your VPC. - - - `network-interface.subnet-id` - The ID of the subnet for the network - interface. - - - `network-interface.tag-key` - The key of a tag assigned to the network - interface. - - - `network-interface.tag-value` - The value of a tag assigned to the - network interface. - - - `network-interface.vpc-id` - The ID of the VPC for the network - interface. - - - `network-performance-options.bandwidth-weighting` - Where the - performance boost is applied, if applicable. Valid values: `default`, - `vpc-1`, `ebs-1`. - - - `operator.managed` - A Boolean that indicates whether this is a - managed instance. - - - `operator.principal` - The principal that manages the instance. Only - valid for managed instances, where `managed` is `true`. - - - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost. - - - `owner-id` - The Amazon Web Services account ID of the instance owner. - - - `placement-group-name` - The name of the placement group for the - instance. - - - `placement-partition-number` - The partition in which the instance is - located. - - - `platform` - The platform. To list only Windows instances, use - `windows`. - - - `platform-details` - The platform (`Linux/UNIX` | - `Red Hat BYOL Linux` | ` Red Hat Enterprise Linux` | - `Red Hat Enterprise Linux with HA` | - `Red Hat Enterprise Linux with High Availability` | - `Red Hat Enterprise Linux with SQL Server Standard and HA` | - `Red Hat Enterprise Linux with SQL Server Enterprise and HA` | - `Red Hat Enterprise Linux with SQL Server Standard` | - `Red Hat Enterprise Linux with SQL Server Web` | - `Red Hat Enterprise Linux with SQL Server Enterprise` | - `SQL Server Enterprise` | `SQL Server Standard` | `SQL Server Web` - | `SUSE Linux` | `Ubuntu Pro` | `Windows` | `Windows BYOL` | - `Windows with SQL Server Enterprise` | - `Windows with SQL Server Standard` | `Windows with SQL Server Web`). - - - `private-dns-name` - The private IPv4 DNS name of the instance. - - - `private-dns-name-options.enable-resource-name-dns-a-record` - A - Boolean that indicates whether to respond to DNS queries for instance - hostnames with DNS A records. - - - `private-dns-name-options.enable-resource-name-dns-aaaa-record` - A - Boolean that indicates whether to respond to DNS queries for instance - hostnames with DNS AAAA records. - - - `private-dns-name-options.hostname-type` - The type of hostname - (`ip-name` | `resource-name`). - - - `private-ip-address` - The private IPv4 address of the instance. This - can only be used to filter by the primary IP address of the network - interface attached to the instance. To filter by additional IP - addresses assigned to the network interface, use the filter - `network-interface.addresses.private-ip-address`. - - - `product-code` - The product code associated with the AMI used to - launch the instance. - - - `product-code.type` - The type of product code (`devpay` | - `marketplace`). - - - `ramdisk-id` - The RAM disk ID. - - - `reason` - 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. - - - `requester-id` - The ID of the entity that launched the instance on - your behalf (for example, Amazon Web Services Management Console, Auto - Scaling, and so on). - - - `reservation-id` - 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. - - - `root-device-name` - The device name of the root device volume (for - example, `/dev/sda1`). - - - `root-device-type` - The type of the root device volume (`ebs` | - `instance-store`). - - - `source-dest-check` - Indicates whether the instance performs - source/destination checking. A value of `true` means that checking is - enabled, and `false` means that checking is disabled. The value must - be `false` for the instance to perform network address translation - (NAT) in your VPC. - - - `spot-instance-request-id` - The ID of the Spot Instance request. - - - `state-reason-code` - The reason code for the state change. - - - `state-reason-message` - A message that describes the state change. - - - `subnet-id` - The ID of the subnet for the instance. - - - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - 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. - - - `tenancy` - The tenancy of an instance (`dedicated` | `default` | - `host`). - - - `tpm-support` - Indicates if the instance is configured for NitroTPM - support (`v2.0`). - - - `usage-operation` - The usage operation value for the instance - (`RunInstances` | `RunInstances:00g0` | `RunInstances:0010` | - `RunInstances:1010` | `RunInstances:1014` | `RunInstances:1110` | - `RunInstances:0014` | `RunInstances:0210` | `RunInstances:0110` | - `RunInstances:0100` | `RunInstances:0004` | `RunInstances:0200` | - `RunInstances:000g` | `RunInstances:0g00` | `RunInstances:0002` | - `RunInstances:0800` | `RunInstances:0102` | `RunInstances:0006` | - `RunInstances:0202`). - - - `usage-operation-update-time` - The time that the usage operation was - last updated, for example, `2022-09-15T17:15:20.000Z`. - - - `virtualization-type` - The virtualization type of the instance - (`paravirtual` | `hvm`). - - - `vpc-id` - The ID of the VPC that the instance is running in. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - - You cannot specify this parameter and the instance IDs parameter in the - same request. - """ - -@dataclass(kw_only=True) -class DescribeInstancesOutput(_SerdeShape): - """Dataclass for DescribeInstancesOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - reservations: list[Reservation] | None = ... - """Information about the reservations.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceSqlHaHistoryStatesInput(_SerdeShape): - """Dataclass for DescribeInstanceSqlHaHistoryStatesInput structure.""" - - instance_ids: list[str] | None = ... - """ - The IDs of the SQL Server High Availability instances to describe. If - omitted, the API returns historical states for all SQL Server High - Availability instances. - """ - start_time: datetime | None = ... - """ - The start data and time of the period for which to get the historical - SQL Server High Availability states. If omitted, the API returns all - available historical states. - - Timezone: UTC - - Format: `YYYY-MM-DDThh:mm:ss.sssZ` - """ - end_time: datetime | None = ... - """ - The end data and time of the period for which to get historical SQL - Server High Availability states. If omitted, the API returns historical - states up to the current date and time. - - Timezone: UTC - - Format: `YYYY-MM-DDThh:mm:ss.sssZ` - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the returned `nextToken` value. - """ - filters: list[Filter] | None = ... - """ - One or more filters to apply to the results. Supported filters include: - - - `tag:```{=html} - The tag key and value pair assigned to the - instance. For example, to find all instances tagged with - `Owner:TeamA`, specify `tag:Owner` for the filter name and `TeamA` for - the filter value. - - - `tag-key` - The tag key assigned to the instance. - - - `haStatus` - The SQL Server High Availability status of the SQL Server - High Availability instance (`processing` | `active` | `standby` | - `invalid`). - - - `sqlServerLicenseUsage` - The license type for the SQL Server license - (`full` | `waived`). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeInstanceSqlHaHistoryStatesOutput(_SerdeShape): - """Dataclass for DescribeInstanceSqlHaHistoryStatesOutput structure.""" - - instances: list[RegisteredInstance] | None = ... - """ - Information about the historical SQL Server High Availability states of - the SQL Server High Availability instances. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceSqlHaStatesInput(_SerdeShape): - """Dataclass for DescribeInstanceSqlHaStatesInput structure.""" - - instance_ids: list[str] | None = ... - """ - The IDs of the SQL Server High Availability instances to describe. If - omitted, the API returns SQL Server High Availability states for all SQL - Server High Availability instances. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the returned `nextToken` value. - """ - filters: list[Filter] | None = ... - """ - One or more filters to apply to the results. Supported filters include: - - - `tag:```{=html} - The tag key and value pair assigned to the - instance. For example, to find all instances tagged with - `Owner:TeamA`, specify `tag:Owner` for the filter name and `TeamA` for - the filter value. - - - `tag-key` - The tag key assigned to the instance. - - - `haStatus` - The SQL Server High Availability status of the SQL Server - High Availability instance (`processing` | `active` | `standby` | - `invalid`). - - - `sqlServerLicenseUsage` - The license type for the SQL Server license - (`full` | `waived`). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeInstanceSqlHaStatesOutput(_SerdeShape): - """Dataclass for DescribeInstanceSqlHaStatesOutput structure.""" - - instances: list[RegisteredInstance] | None = ... - """Information about the SQL Server High Availability instances.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceStatusInput(_SerdeShape): - """Dataclass for DescribeInstanceStatusInput structure.""" - - instance_ids: list[str] | None = ... - """ - The instance IDs. - - Default: Describes all your instances. - - Constraints: Maximum 100 explicitly specified instance IDs. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - - You cannot specify this parameter and the instance IDs parameter in the - same request. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - include_managed_resources: bool | None = ... - """ - Indicates whether to include managed resources in the output. If this - parameter is set to `true`, the output includes resources that are - managed by Amazon Web Services services, even if managed resource - visibility is set to hidden. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The Availability Zone of the instance. - - - `availability-zone-id` - The ID of the Availability Zone of the - instance. - - - `event.code` - The code for the scheduled event (`instance-reboot` | - `system-reboot` | `system-maintenance` | `instance-retirement` | - `instance-stop`). - - - `event.description` - A description of the event. - - - `event.instance-event-id` - The ID of the event whose date and time - you are modifying. - - - `event.not-after` - The latest end time for the scheduled event (for - example, `2014-09-15T17:15:20.000Z`). - - - `event.not-before` - The earliest start time for the scheduled event - (for example, `2014-09-15T17:15:20.000Z`). - - - `event.not-before-deadline` - The deadline for starting the event (for - example, `2014-09-15T17:15:20.000Z`). - - - `instance-state-code` - The code for the instance state, 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). - - - `instance-state-name` - The state of the instance (`pending` | - `running` | `shutting-down` | `terminated` | `stopping` | - `stopped`). - - - `instance-status.reachability` - Filters on instance status where the - name is `reachability` (`passed` | `failed` | `initializing` | - `insufficient-data`). - - - `instance-status.status` - The status of the instance (`ok` | - `impaired` | `initializing` | `insufficient-data` | - `not-applicable`). - - - `operator.managed` - A Boolean that indicates whether this is a - managed instance. - - - `operator.principal` - The principal that manages the instance. Only - valid for managed instances, where `managed` is `true`. - - - `system-status.reachability` - Filters on system status where the name - is `reachability` (`passed` | `failed` | `initializing` | - `insufficient-data`). - - - `system-status.status` - The system status of the instance (`ok` | - `impaired` | `initializing` | `insufficient-data` | - `not-applicable`). - - - `attached-ebs-status.status` - The status of the attached EBS volume - for the instance (`ok` | `impaired` | `initializing` | - `insufficient-data` | `not-applicable`). - - - `application-status.status` - The application status of the instance - (`ok` | `impaired` | `initializing` | `insufficient-data` | - `not-applicable`). - """ - include_all_instances: bool | None = ... - """ - When `true`, includes the health status for all instances. When `false`, - includes the health status for running instances only. - - Default: `false` - """ - -@dataclass(kw_only=True) -class DescribeInstanceStatusOutput(_SerdeShape): - """Dataclass for DescribeInstanceStatusOutput structure.""" - - instance_statuses: list[InstanceStatus] | None = ... - """Information about the status of the instances.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceTopologyInput(_SerdeShape): - """Dataclass for DescribeInstanceTopologyInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - - You can't specify this parameter and the instance IDs parameter in the - same request. - - Default: `20` - """ - instance_ids: list[str] | None = ... - """ - The instance IDs. - - Default: Describes all your instances. - - Constraints: Maximum 100 explicitly specified instance IDs. - """ - group_names: list[str] | None = ... - """ - The name of the placement group that each instance is in. - - Constraints: Maximum 100 explicitly specified placement group names. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The name of the Availability Zone (for example, - `us-west-2a`) or Local Zone (for example, `us-west-2-lax-1b`) that the - instance is in. - - - `instance-type` - The instance type (for example, `p4d.24xlarge`) or - instance family (for example, `p4d*`). You can use the `*` wildcard to - match zero or more characters, or the `?` wildcard to match zero or - one character. - - - `zone-id` - The ID of the Availability Zone (for example, `usw2-az2`) - or Local Zone (for example, `usw2-lax1-az1`) that the instance is in. - """ - -@dataclass(kw_only=True) -class DescribeInstanceTopologyOutput(_SerdeShape): - """Dataclass for DescribeInstanceTopologyOutput structure.""" - - instances: list[InstanceTopology] | None = ... - """Information about the topology of each instance.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceTypeOfferingsInput(_SerdeShape): - """Dataclass for DescribeInstanceTypeOfferingsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - location_type: str | None = ... - """ - The location type. - - - `availability-zone` - The Availability Zone. When you specify a - location filter, it must be an Availability Zone for the current - Region. - - - `availability-zone-id` - The AZ ID. When you specify a location - filter, it must be an AZ ID for the current Region. - - - `outpost` - The Outpost ARN. When you specify a location filter, it - must be an Outpost ARN for the current Region. - - - `region` - The current Region. If you specify a location filter, it - must match the current Region. - """ - filters: list[Filter] | None = ... - """ - One or more filters. Filter names and values are case-sensitive. - - - `instance-type` - The instance type. For a list of possible values, - see - [Instance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html). - - - `location` - The location. For a list of possible identifiers, see - [Regions and - Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - -@dataclass(kw_only=True) -class DescribeInstanceTypeOfferingsOutput(_SerdeShape): - """Dataclass for DescribeInstanceTypeOfferingsOutput structure.""" - - instance_type_offerings: list[InstanceTypeOffering] | None = ... - """The instance types offered in the location.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInstanceTypesInput(_SerdeShape): - """Dataclass for DescribeInstanceTypesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_types: list[str] | None = ... - """The instance types.""" - filters: list[Filter] | None = ... - """ - One or more filters. Filter names and values are case-sensitive. - - - `auto-recovery-supported` - Indicates whether Amazon CloudWatch action - based recovery is supported (`true` | `false`). - - - `bare-metal` - Indicates whether it is a bare metal instance type - (`true` | `false`). - - - `burstable-performance-supported` - Indicates whether the instance - type is a burstable performance T instance type (`true` | `false`). - - - `current-generation` - Indicates whether this instance type is the - latest generation instance type of an instance family (`true` | - `false`). - - - `dedicated-hosts-supported` - Indicates whether the instance type - supports Dedicated Hosts. (`true` | `false`) - - - `ebs-info.attachment-limit-type` - The type of Amazon EBS volume - attachment limit (`shared` | `dedicated`). - - - `ebs-info.maximum-ebs-attachments` - The maximum number of Amazon EBS - volumes that can be attached to the instance type. - - - `ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps` - The - baseline bandwidth performance for an EBS-optimized instance type, in - Mbps. - - - `ebs-info.ebs-optimized-info.baseline-iops` - The baseline - input/output storage operations per second for an EBS-optimized - instance type. - - - `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The - baseline throughput performance for an EBS-optimized instance type, in - MB/s. - - - `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The maximum - bandwidth performance for an EBS-optimized instance type, in Mbps. - - - `ebs-info.ebs-optimized-info.maximum-iops` - The maximum input/output - storage operations per second for an EBS-optimized instance type. - - - `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The maximum - throughput performance for an EBS-optimized instance type, in MB/s. - - - `ebs-info.ebs-optimized-support` - Indicates whether the instance type - is EBS-optimized (`supported` | `unsupported` | `default`). - - - `ebs-info.encryption-support` - Indicates whether EBS encryption is - supported (`supported` | `unsupported`). - - - `ebs-info.nvme-support` - Indicates whether non-volatile memory - express (NVMe) is supported for EBS volumes (`required` | `supported` - | `unsupported`). - - - `free-tier-eligible` - A Boolean that indicates whether this instance - type can be used under the Amazon Web Services Free Tier (`true` | - `false`). - - - `hibernation-supported` - Indicates whether On-Demand hibernation is - supported (`true` | `false`). - - - `hypervisor` - The hypervisor (`nitro` | `xen`). - - - `instance-storage-info.disk.count` - The number of local disks. - - - `instance-storage-info.disk.size-in-gb` - The storage size of each - instance storage disk, in GB. - - - `instance-storage-info.disk.type` - The storage technology for the - local instance storage disks (`hdd` | `ssd`). - - - `instance-storage-info.encryption-support` - Indicates whether data is - encrypted at rest (`required` | `supported` | `unsupported`). - - - `instance-storage-info.nvme-support` - Indicates whether non-volatile - memory express (NVMe) is supported for instance store (`required` | - `supported` | `unsupported`). - - - `instance-storage-info.total-size-in-gb` - The total amount of storage - available from all local instance storage, in GB. - - - `instance-storage-supported` - Indicates whether the instance type has - local instance storage (`true` | `false`). - - - `instance-type` - The instance type (for example `c5.2xlarge` or - c5*). - - - `memory-info.size-in-mib` - The memory size. - - - `network-info.bandwidth-weightings` - For instances that support - bandwidth weighting to boost performance (`default`, `vpc-1`, - `ebs-1`). - - - `network-info.efa-info.maximum-efa-interfaces` - The maximum number of - Elastic Fabric Adapters (EFAs) per instance. - - - `network-info.efa-supported` - Indicates whether the instance type - supports Elastic Fabric Adapter (EFA) (`true` | `false`). - - - `network-info.ena-support` - Indicates whether Elastic Network Adapter - (ENA) is supported or required (`required` | `supported` | - `unsupported`). - - - `network-info.flexible-ena-queues-support` - Indicates whether an - instance supports flexible ENA queues (`supported` | `unsupported`). - - - `network-info.encryption-in-transit-supported` - Indicates whether the - instance type automatically encrypts in-transit traffic between - instances (`true` | `false`). - - - `network-info.ipv4-addresses-per-interface` - The maximum number of - private IPv4 addresses per network interface. - - - `network-info.ipv6-addresses-per-interface` - The maximum number of - private IPv6 addresses per network interface. - - - `network-info.ipv6-supported` - Indicates whether the instance type - supports IPv6 (`true` | `false`). - - - `network-info.maximum-network-cards` - The maximum number of network - cards per instance. - - - `network-info.maximum-network-interfaces` - The maximum number of - network interfaces per instance. - - - `network-info.network-performance` - The network performance (for - example, \"25 Gigabit\"). - - - `nitro-enclaves-support` - Indicates whether Nitro Enclaves is - supported (`supported` | `unsupported`). - - - `nitro-tpm-support` - Indicates whether NitroTPM is supported - (`supported` | `unsupported`). - - - `nitro-tpm-info.supported-versions` - The supported NitroTPM version - (`2.0`). - - - `processor-info.supported-architecture` - The CPU architecture - (`arm64` | `i386` | `x86_64`). - - - `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed, - in GHz. - - - `processor-info.supported-features` - The supported CPU features - (`amd-sev-snp`). - - - `reboot-migration-support` - Indicates whether enabling reboot - migration is supported (`supported` | `unsupported`). - - - `supported-boot-mode` - The boot mode (`legacy-bios` | `uefi`). - - - `supported-root-device-type` - The root device type (`ebs` | - `instance-store`). - - - `supported-usage-class` - The usage class (`on-demand` | `spot` | - `capacity-block`). - - - `supported-virtualization-type` - The virtualization type (`hvm` | - `paravirtual`). - - - `vcpu-info.default-cores` - The default number of cores for the - instance type. - - - `vcpu-info.default-threads-per-core` - The default number of threads - per core for the instance type. - - - `vcpu-info.default-vcpus` - The default number of vCPUs for the - instance type. - - - `vcpu-info.valid-cores` - The number of cores that can be configured - for the instance type. - - - `vcpu-info.valid-threads-per-core` - The number of threads per core - that can be configured for the instance type. For example, \"1\" or - \"1,2\". - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - include_unsupported_in_region: bool | None = ... - """ - If `true`, the response includes instance types that are not supported - in the current Region, in addition to the supported types. Default: - `false`. - """ - -@dataclass(kw_only=True) -class DescribeInstanceTypesOutput(_SerdeShape): - """Dataclass for DescribeInstanceTypesOutput structure.""" - - instance_types: list[InstanceTypeInfo] | None = ... - """The instance type.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeInternetGatewaysInput(_SerdeShape): - """Dataclass for DescribeInternetGatewaysInput structure.""" - - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - internet_gateway_ids: list[str] | None = ... - """ - The IDs of the internet gateways. - - Default: Describes all your internet gateways. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `attachment.state` - The current state of the attachment between the - gateway and the VPC (`available`). Present only if a VPC is attached. - - - `attachment.vpc-id` - The ID of an attached VPC. - - - `internet-gateway-id` - The ID of the Internet gateway. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - internet gateway. - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - -@dataclass(kw_only=True) -class DescribeInternetGatewaysOutput(_SerdeShape): - """Dataclass for DescribeInternetGatewaysOutput structure.""" - - internet_gateways: list[InternetGateway] | None = ... - """Information about the internet gateways.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamByoasnInput(_SerdeShape): - """Dataclass for DescribeIpamByoasnInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeIpamByoasnOutput(_SerdeShape): - """Dataclass for DescribeIpamByoasnOutput structure.""" - - byoasns: list[Byoasn] | None = ... - """ASN and BYOIP CIDR associations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamExternalResourceVerificationTokensInput(_SerdeShape): - """ - Dataclass for DescribeIpamExternalResourceVerificationTokensInput - structure. - """ - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters for the request. For more information about - filtering, see [Filtering CLI - output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). - - Available filters: - - - `ipam-arn` - - - `ipam-external-resource-verification-token-arn` - - - `ipam-external-resource-verification-token-id` - - - `ipam-id` - - - `ipam-region` - - - `state` - - - `status` - - - `token-name` - - - `token-value` - """ - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """The maximum number of tokens to return in one page of results.""" - ipam_external_resource_verification_token_ids: list[str] | None = ... - """Verification token IDs.""" - -@dataclass(kw_only=True) -class DescribeIpamExternalResourceVerificationTokensOutput(_SerdeShape): - """ - Dataclass for DescribeIpamExternalResourceVerificationTokensOutput - structure. - """ - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - ipam_external_resource_verification_tokens: ( - list[IpamExternalResourceVerificationToken] | None - ) = ... - """Verification tokens.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamInternetRegistryAssociationsInput(_SerdeShape): - """Dataclass for DescribeIpamInternetRegistryAssociationsInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_ids: list[str] | None = ... - """The IDs of the internet registry associations to describe.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If not - specified, all available results are returned. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """One or more filters to apply to the results.""" - -@dataclass(kw_only=True) -class DescribeIpamInternetRegistryAssociationsOutput(_SerdeShape): - """Dataclass for DescribeIpamInternetRegistryAssociationsOutput structure.""" - - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - ipam_internet_registry_associations: ( - list[IpamInternetRegistryAssociation] | None - ) = ... - """The internet registry associations.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamPoliciesInput(_SerdeShape): - """Dataclass for DescribeIpamPoliciesInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """One or more filters for the IPAM policy description.""" - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - next_token: str | None = ... - """The token for the next page of results.""" - ipam_policy_ids: list[str] | None = ... - """The IDs of the IPAM policies to describe.""" - -@dataclass(kw_only=True) -class DescribeIpamPoliciesOutput(_SerdeShape): - """Dataclass for DescribeIpamPoliciesOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - ipam_policies: list[IpamPolicy] | None = ... - """ - Information about the IPAM policies. - - An IPAM policy is a set of rules that define how public IPv4 addresses - from IPAM pools are allocated to Amazon Web Services resources. Each - rule maps an Amazon Web Services service to IPAM pools that the service - will use to get IP addresses. A single policy can have multiple rules - and be applied to multiple Amazon Web Services Regions. If the IPAM pool - run out of addresses then the services fallback to Amazon-provided IP - addresses. A policy can be applied to an individual Amazon Web Services - account or an entity within Amazon Web Services Organizations. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamPoolAllocationsInput(_SerdeShape): - """Dataclass for DescribeIpamPoolAllocationsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_allocation_ids: list[str] | None = ... - """The IDs of the IPAM pool allocations you want to describe.""" - filters: list[Filter] | None = ... - """ - One or more filters for the request. For more information about - filtering, see [Filtering CLI - output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeIpamPoolAllocationsOutput(_SerdeShape): - """Dataclass for DescribeIpamPoolAllocationsOutput structure.""" - - ipam_pool_allocations: list[IpamPoolAllocation] | None = ... - """Information about the IPAM pool allocations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamPoolsInput(_SerdeShape): - """Dataclass for DescribeIpamPoolsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters for the request. For more information about - filtering, see [Filtering CLI - output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - ipam_pool_ids: list[str] | None = ... - """The IDs of the IPAM pools you would like information on.""" - -@dataclass(kw_only=True) -class DescribeIpamPoolsOutput(_SerdeShape): - """Dataclass for DescribeIpamPoolsOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - ipam_pools: list[IpamPool] | None = ... - """Information about the IPAM pools.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamPrefixListResolversInput(_SerdeShape): - """Dataclass for DescribeIpamPrefixListResolversInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """One or more filters to limit the results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - ipam_prefix_list_resolver_ids: list[str] | None = ... - """ - The IDs of the IPAM prefix list resolvers to describe. If not specified, - all resolvers in your account are described. - """ - -@dataclass(kw_only=True) -class DescribeIpamPrefixListResolversOutput(_SerdeShape): - """Dataclass for DescribeIpamPrefixListResolversOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - ipam_prefix_list_resolvers: list[IpamPrefixListResolver] | None = ... - """Information about the IPAM prefix list resolvers.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamPrefixListResolverTargetsInput(_SerdeShape): - """Dataclass for DescribeIpamPrefixListResolverTargetsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """One or more filters to limit the results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - ipam_prefix_list_resolver_target_ids: list[str] | None = ... - """ - The IDs of the IPAM prefix list resolver Targets to describe. If not - specified, all targets in your account are described. - """ - ipam_prefix_list_resolver_id: str | None = ... - """ - The ID of the IPAM prefix list resolver to filter targets by. Only - targets associated with this resolver will be returned. - """ - -@dataclass(kw_only=True) -class DescribeIpamPrefixListResolverTargetsOutput(_SerdeShape): - """Dataclass for DescribeIpamPrefixListResolverTargetsOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - ipam_prefix_list_resolver_targets: list[IpamPrefixListResolverTarget] | None = ... - """Information about the IPAM prefix list resolver Targets.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamResourceDiscoveriesInput(_SerdeShape): - """Dataclass for DescribeIpamResourceDiscoveriesInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_resource_discovery_ids: list[str] | None = ... - """The IPAM resource discovery IDs.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of resource discoveries to return in one page of - results. - """ - filters: list[Filter] | None = ... - """The resource discovery filters.""" - -@dataclass(kw_only=True) -class DescribeIpamResourceDiscoveriesOutput(_SerdeShape): - """Dataclass for DescribeIpamResourceDiscoveriesOutput structure.""" - - ipam_resource_discoveries: list[IpamResourceDiscovery] | None = ... - """The resource discoveries.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamResourceDiscoveryAssociationsInput(_SerdeShape): - """Dataclass for DescribeIpamResourceDiscoveryAssociationsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_resource_discovery_association_ids: list[str] | None = ... - """The resource discovery association IDs.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - max_results: int | None = ... - """ - The maximum number of resource discovery associations to return in one - page of results. - """ - filters: list[Filter] | None = ... - """The resource discovery association filters.""" - -@dataclass(kw_only=True) -class DescribeIpamResourceDiscoveryAssociationsOutput(_SerdeShape): - """Dataclass for DescribeIpamResourceDiscoveryAssociationsOutput structure.""" - - ipam_resource_discovery_associations: ( - list[IpamResourceDiscoveryAssociation] | None - ) = ... - """The resource discovery associations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamScopesInput(_SerdeShape): - """Dataclass for DescribeIpamScopesInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters for the request. For more information about - filtering, see [Filtering CLI - output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - ipam_scope_ids: list[str] | None = ... - """The IDs of the scopes you want information on.""" - -@dataclass(kw_only=True) -class DescribeIpamScopesOutput(_SerdeShape): - """Dataclass for DescribeIpamScopesOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - ipam_scopes: list[IpamScope] | None = ... - """The scopes you want information on.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpamsInput(_SerdeShape): - """Dataclass for DescribeIpamsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters for the request. For more information about - filtering, see [Filtering CLI - output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - ipam_ids: list[str] | None = ... - """The IDs of the IPAMs you want information on.""" - -@dataclass(kw_only=True) -class DescribeIpamsOutput(_SerdeShape): - """Dataclass for DescribeIpamsOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - ipams: list[Ipam] | None = ... - """Information about the IPAMs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIpv6PoolsInput(_SerdeShape): - """Dataclass for DescribeIpv6PoolsInput structure.""" - - pool_ids: list[str] | None = ... - """The IDs of the IPv6 address pools.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - -@dataclass(kw_only=True) -class DescribeIpv6PoolsOutput(_SerdeShape): - """Dataclass for DescribeIpv6PoolsOutput structure.""" - - ipv6_pools: list[Ipv6Pool] | None = ... - """Information about the IPv6 address pools.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeKeyPairsInput(_SerdeShape): - """Dataclass for DescribeKeyPairsInput structure.""" - - key_names: list[str] | None = ... - """ - The key pair names. - - Default: Describes all of your key pairs. - """ - key_pair_ids: list[str] | None = ... - """The IDs of the key pairs.""" - include_public_key: bool | None = ... - """ - If `true`, the public key material is included in the response. - - Default: `false` - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `key-pair-id` - The ID of the key pair. - - - `fingerprint` - The fingerprint of the key pair. - - - `key-name` - The name of the key pair. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - """ - -@dataclass(kw_only=True) -class DescribeKeyPairsOutput(_SerdeShape): - """Dataclass for DescribeKeyPairsOutput structure.""" - - key_pairs: list[KeyPairInfo] | None = ... - """Information about the key pairs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLaunchTemplatesInput(_SerdeShape): - """Dataclass for DescribeLaunchTemplatesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - launch_template_ids: list[str] | None = ... - """One or more launch template IDs.""" - launch_template_names: list[str] | None = ... - """One or more launch template names.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `create-time` - The time the launch template was created. - - - `launch-template-name` - The name of the launch template. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - next_token: str | None = ... - """The token to request the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. To retrieve - the remaining results, make another call with the returned `NextToken` - value. This value can be between 1 and 200. - """ - include_managed_resources: bool | None = ... - """ - Indicates whether to include managed resources in the output. If this - parameter is set to `true`, the output includes resources that are - managed by Amazon Web Services services, even if managed resource - visibility is set to hidden. - """ - -@dataclass(kw_only=True) -class DescribeLaunchTemplatesOutput(_SerdeShape): - """Dataclass for DescribeLaunchTemplatesOutput structure.""" - - launch_templates: list[LaunchTemplate] | None = ... - """Information about the launch templates.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLaunchTemplateVersionsInput(_SerdeShape): - """Dataclass for DescribeLaunchTemplateVersionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - launch_template_id: str | None = ... - """ - The ID of the launch template. - - To describe one or more versions of a specified launch template, you - must specify either the launch template ID or the launch template name, - but not both. - - To describe all the latest or default launch template versions in your - account, you must omit this parameter. - """ - launch_template_name: str | None = ... - """ - The name of the launch template. - - To describe one or more versions of a specified launch template, you - must specify either the launch template name or the launch template ID, - but not both. - - To describe all the latest or default launch template versions in your - account, you must omit this parameter. - """ - versions: list[str] | None = ... - """ - One or more versions of the launch template. Valid values depend on - whether you are describing a specified launch template (by ID or name) - or all launch templates in your account. - - To describe one or more versions of a specified launch template, valid - values are `$Latest`, `$Default`, and numbers. - - To describe all launch templates in your account that are defined as the - latest version, the valid value is `$Latest`. To describe all launch - templates in your account that are defined as the default version, the - valid value is `$Default`. You can specify `$Latest` and `$Default` in - the same request. You cannot specify numbers. - """ - min_version: str | None = ... - """The version number after which to describe launch template versions.""" - max_version: str | None = ... - """The version number up to which to describe launch template versions.""" - next_token: str | None = ... - """The token to request the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. To retrieve - the remaining results, make another call with the returned `NextToken` - value. This value can be between 1 and 200. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `create-time` - The time the launch template version was created. - - - `ebs-optimized` - A boolean that indicates whether the instance is - optimized for Amazon EBS I/O. - - - `http-endpoint` - Indicates whether the HTTP metadata endpoint on your - instances is enabled (`enabled` | `disabled`). - - - `http-protocol-ipv4` - Indicates whether the IPv4 endpoint for the - instance metadata service is enabled (`enabled` | `disabled`). - - - `host-resource-group-arn` - The ARN of the host resource group in - which to launch the instances. - - - `http-tokens` - The state of token usage for your instance metadata - requests (`optional` | `required`). - - - `iam-instance-profile` - The ARN of the IAM instance profile. - - - `image-id` - The ID of the AMI. - - - `instance-type` - The instance type. - - - `is-default-version` - A boolean that indicates whether the launch - template version is the default version. - - - `kernel-id` - The kernel ID. - - - `license-configuration-arn` - The ARN of the license configuration. - - - `network-card-index` - The index of the network card. - - - `ram-disk-id` - The RAM disk ID. - """ - resolve_alias: bool | None = ... - """ - If `true`, and if a Systems Manager parameter is specified for - `ImageId`, the AMI ID is displayed in the response for `imageId`. - - If `false`, and if a Systems Manager parameter is specified for - `ImageId`, the parameter is displayed in the response for `imageId`. - - For more information, see [Use a Systems Manager parameter instead of an - AMI - ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) - in the *Amazon EC2 User Guide*. - - Default: `false` - """ - include_managed_resources: bool | None = ... - """ - Indicates whether to include managed resources in the output. If this - parameter is set to `true`, the output includes resources that are - managed by Amazon Web Services services, even if managed resource - visibility is set to hidden. - """ - -@dataclass(kw_only=True) -class DescribeLaunchTemplateVersionsOutput(_SerdeShape): - """Dataclass for DescribeLaunchTemplateVersionsOutput structure.""" - - launch_template_versions: list[LaunchTemplateVersion] | None = ... - """Information about the launch template versions.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayRouteTablesInput(_SerdeShape): - """Dataclass for DescribeLocalGatewayRouteTablesInput structure.""" - - local_gateway_route_table_ids: list[str] | None = ... - """The IDs of the local gateway route tables.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `local-gateway-id` - The ID of a local gateway. - - - `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of - the local gateway route table. - - - `local-gateway-route-table-id` - The ID of a local gateway route - table. - - - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - local gateway route table. - - - `state` - The state of the local gateway route table. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayRouteTablesOutput(_SerdeShape): - """Dataclass for DescribeLocalGatewayRouteTablesOutput structure.""" - - local_gateway_route_tables: list[LocalGatewayRouteTable] | None = ... - """Information about the local gateway route tables.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput(_SerdeShape): - """ - Dataclass for - DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput - structure. - """ - - local_gateway_route_table_virtual_interface_group_association_ids: ( - list[str] | None - ) = ... - """The IDs of the associations.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `local-gateway-id` - The ID of a local gateway. - - - `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of - the local gateway route table for the virtual interface group. - - - `local-gateway-route-table-id` - The ID of the local gateway route - table. - - - `local-gateway-route-table-virtual-interface-group-association-id` - - The ID of the association. - - - `local-gateway-route-table-virtual-interface-group-id` - The ID of the - virtual interface group. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - local gateway virtual interface group association. - - - `state` - The state of the association. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput( - _SerdeShape -): - """ - Dataclass for - DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput - structure. - """ - - local_gateway_route_table_virtual_interface_group_associations: ( - list[LocalGatewayRouteTableVirtualInterfaceGroupAssociation] | None - ) = ... - """Information about the associations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayRouteTableVpcAssociationsInput(_SerdeShape): - """ - Dataclass for DescribeLocalGatewayRouteTableVpcAssociationsInput - structure. - """ - - local_gateway_route_table_vpc_association_ids: list[str] | None = ... - """The IDs of the associations.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `local-gateway-id` - The ID of a local gateway. - - - `local-gateway-route-table-arn` - The Amazon Resource Name (ARN) of - the local gateway route table for the association. - - - `local-gateway-route-table-id` - The ID of the local gateway route - table. - - - `local-gateway-route-table-vpc-association-id` - The ID of the - association. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - local gateway route table for the association. - - - `state` - The state of the association. - - - `vpc-id` - The ID of the VPC. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayRouteTableVpcAssociationsOutput(_SerdeShape): - """ - Dataclass for DescribeLocalGatewayRouteTableVpcAssociationsOutput - structure. - """ - - local_gateway_route_table_vpc_associations: ( - list[LocalGatewayRouteTableVpcAssociation] | None - ) = ... - """Information about the associations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewaysInput(_SerdeShape): - """Dataclass for DescribeLocalGatewaysInput structure.""" - - local_gateway_ids: list[str] | None = ... - """The IDs of the local gateways.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `local-gateway-id` - The ID of a local gateway. - - - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - local gateway. - - - `state` - The state of the association. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewaysOutput(_SerdeShape): - """Dataclass for DescribeLocalGatewaysOutput structure.""" - - local_gateways: list[LocalGateway] | None = ... - """Information about the local gateways.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayVirtualInterfaceGroupsInput(_SerdeShape): - """Dataclass for DescribeLocalGatewayVirtualInterfaceGroupsInput structure.""" - - local_gateway_virtual_interface_group_ids: list[str] | None = ... - """The IDs of the virtual interface groups.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `local-gateway-id` - The ID of a local gateway. - - - `local-gateway-virtual-interface-group-id` - The ID of the virtual - interface group. - - - `local-gateway-virtual-interface-id` - The ID of the virtual - interface. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - local gateway virtual interface group. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayVirtualInterfaceGroupsOutput(_SerdeShape): - """ - Dataclass for DescribeLocalGatewayVirtualInterfaceGroupsOutput - structure. - """ - - local_gateway_virtual_interface_groups: ( - list[LocalGatewayVirtualInterfaceGroup] | None - ) = ... - """The virtual interface groups.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayVirtualInterfacesInput(_SerdeShape): - """Dataclass for DescribeLocalGatewayVirtualInterfacesInput structure.""" - - local_gateway_virtual_interface_ids: list[str] | None = ... - """The IDs of the virtual interfaces.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `local-address` - The local address. - - - `local-bgp-asn` - The Border Gateway Protocol (BGP) Autonomous System - Number (ASN) of the local gateway. - - - `local-gateway-id` - The ID of the local gateway. - - - `local-gateway-virtual-interface-id` - The ID of the virtual - interface. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - local gateway virtual interface. - - - `peer-address` - The peer address. - - - `peer-bgp-asn` - The peer BGP ASN. - - - `vlan` - The ID of the VLAN. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeLocalGatewayVirtualInterfacesOutput(_SerdeShape): - """Dataclass for DescribeLocalGatewayVirtualInterfacesOutput structure.""" - - local_gateway_virtual_interfaces: list[LocalGatewayVirtualInterface] | None = ... - """Information about the virtual interfaces.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeLockedSnapshotsInput(_SerdeShape): - """Dataclass for DescribeLockedSnapshotsInput structure.""" - - filters: list[Filter] | None = ... - """ - The filters. - - - `lock-state` - The state of the snapshot lock (`compliance-cooloff` | - `governance` | `compliance` | `expired`). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - snapshot_ids: list[str] | None = ... - """The IDs of the snapshots for which to view the lock status.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeLockedSnapshotsOutput(_SerdeShape): - """Dataclass for DescribeLockedSnapshotsOutput structure.""" - - snapshots: list[LockedSnapshotsInfo] | None = ... - """Information about the snapshots.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeMacHostsInput(_SerdeShape): - """Dataclass for DescribeMacHostsInput structure.""" - - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The Availability Zone of the EC2 Mac Dedicated - Host. - - - `instance-type` - The instance type size that the EC2 Mac Dedicated - Host is configured to support. - """ - host_ids: list[str] | None = ... - """The IDs of the EC2 Mac Dedicated Hosts.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the returned `nextToken` value. This value can be between 5 and 500. If - `maxResults` is given a larger value than 500, you receive an error. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - -@dataclass(kw_only=True) -class DescribeMacHostsOutput(_SerdeShape): - """Dataclass for DescribeMacHostsOutput structure.""" - - mac_hosts: list[MacHost] | None = ... - """Information about the EC2 Mac Dedicated Hosts.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeMacModificationTasksInput(_SerdeShape): - """Dataclass for DescribeMacModificationTasksInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - Specifies one or more filters for the request: - - - `instance-id` - The ID of the instance for which the task was created. - - - `task-state` - The state of the task (`successful` | `failed` | - `in-progress` | `pending`). - - - `mac-system-integrity-protection-configuration.sip-status` - The - overall SIP state requested in the task (`enabled` | `disabled`). - - - `start-time` - The date and time the task was created. - - - `task-type` - The type of task (`sip-modification` | - `volume-ownership-delegation`). - """ - mac_modification_task_ids: list[str] | None = ... - """The ID of task.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results can be seen by sending another request with - the returned `nextToken` value. This value can be between 5 and 500. If - `maxResults` is given a larger value than 500, you receive an error. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - -@dataclass(kw_only=True) -class DescribeMacModificationTasksOutput(_SerdeShape): - """Dataclass for DescribeMacModificationTasksOutput structure.""" - - mac_modification_tasks: list[MacModificationTask] | None = ... - """Information about the tasks.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeManagedPrefixListsInput(_SerdeShape): - """Dataclass for DescribeManagedPrefixListsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `owner-id` - The ID of the prefix list owner. - - - `prefix-list-id` - The ID of the prefix list. - - - `prefix-list-name` - The name of the prefix list. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - prefix_list_ids: list[str] | None = ... - """One or more prefix list IDs.""" - -@dataclass(kw_only=True) -class DescribeManagedPrefixListsOutput(_SerdeShape): - """Dataclass for DescribeManagedPrefixListsOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - prefix_lists: list[ManagedPrefixList] | None = ... - """Information about the prefix lists.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeMovingAddressesInput(_SerdeShape): - """Dataclass for DescribeMovingAddressesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - public_ips: list[str] | None = ... - """One or more Elastic IP addresses.""" - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `moving-status` - The status of the Elastic IP address (`MovingToVpc` - | `RestoringToClassic`). - """ - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results of the initial request can be seen by - sending another request with the returned `NextToken` value. This value - can be between 5 and 1000; if `MaxResults` is given a value outside of - this range, an error is returned. - - Default: If no value is provided, the default is 1000. - """ - -@dataclass(kw_only=True) -class DescribeMovingAddressesOutput(_SerdeShape): - """Dataclass for DescribeMovingAddressesOutput structure.""" - - moving_address_statuses: list[MovingAddressStatus] | None = ... - """The status for each Elastic IP address.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeNatGatewaysInput(_SerdeShape): - """Dataclass for DescribeNatGatewaysInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filter: list[Filter] | None = ... - """ - The filters. - - - `nat-gateway-id` - The ID of the NAT gateway. - - - `state` - The state of the NAT gateway (`pending` | `failed` | - `available` | `deleting` | `deleted`). - - - `subnet-id` - The ID of the subnet in which the NAT gateway resides. - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC in which the NAT gateway resides. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - nat_gateway_ids: list[str] | None = ... - """The IDs of the NAT gateways.""" - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - -@dataclass(kw_only=True) -class DescribeNatGatewaysOutput(_SerdeShape): - """Dataclass for DescribeNatGatewaysOutput structure.""" - - nat_gateways: list[NatGateway] | None = ... - """Information about the NAT gateways.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeNetworkAclsInput(_SerdeShape): - """Dataclass for DescribeNetworkAclsInput structure.""" - - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_acl_ids: list[str] | None = ... - """The IDs of the network ACLs.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `association.association-id` - The ID of an association ID for the - ACL. - - - `association.network-acl-id` - The ID of the network ACL involved in - the association. - - - `association.subnet-id` - The ID of the subnet involved in the - association. - - - `default` - Indicates whether the ACL is the default network ACL for - the VPC. - - - `entry.cidr` - The IPv4 CIDR range specified in the entry. - - - `entry.icmp.code` - The ICMP code specified in the entry, if any. - - - `entry.icmp.type` - The ICMP type specified in the entry, if any. - - - `entry.ipv6-cidr` - The IPv6 CIDR range specified in the entry. - - - `entry.port-range.from` - The start of the port range specified in the - entry. - - - `entry.port-range.to` - The end of the port range specified in the - entry. - - - `entry.protocol` - The protocol specified in the entry (`tcp` | `udp` - | `icmp` or a protocol number). - - - `entry.rule-action` - Allows or denies the matching traffic (`allow` - | `deny`). - - - `entry.egress` - A Boolean that indicates the type of rule. Specify - `true` for egress rules, or `false` for ingress rules. - - - `entry.rule-number` - The number of an entry (in other words, rule) in - the set of ACL entries. - - - `network-acl-id` - The ID of the network ACL. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - network ACL. - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC for the network ACL. - """ - -@dataclass(kw_only=True) -class DescribeNetworkAclsOutput(_SerdeShape): - """Dataclass for DescribeNetworkAclsOutput structure.""" - - network_acls: list[NetworkAcl] | None = ... - """Information about the network ACLs.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeNetworkInsightsAccessScopeAnalysesInput(_SerdeShape): - """Dataclass for DescribeNetworkInsightsAccessScopeAnalysesInput structure.""" - - network_insights_access_scope_analysis_ids: list[str] | None = ... - """The IDs of the Network Access Scope analyses.""" - network_insights_access_scope_id: str | None = ... - """The ID of the Network Access Scope.""" - analysis_start_time_begin: datetime | None = ... - """ - Filters the results based on the start time. The analysis must have - started on or after this time. - """ - analysis_start_time_end: datetime | None = ... - """ - Filters the results based on the start time. The analysis must have - started on or before this time. - """ - filters: list[Filter] | None = ... - """There are no supported filters.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeNetworkInsightsAccessScopeAnalysesOutput(_SerdeShape): - """ - Dataclass for DescribeNetworkInsightsAccessScopeAnalysesOutput - structure. - """ - - network_insights_access_scope_analyses: ( - list[NetworkInsightsAccessScopeAnalysis] | None - ) = ... - """The Network Access Scope analyses.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeNetworkInsightsAccessScopesInput(_SerdeShape): - """Dataclass for DescribeNetworkInsightsAccessScopesInput structure.""" - - network_insights_access_scope_ids: list[str] | None = ... - """The IDs of the Network Access Scopes.""" - filters: list[Filter] | None = ... - """There are no supported filters.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeNetworkInsightsAccessScopesOutput(_SerdeShape): - """Dataclass for DescribeNetworkInsightsAccessScopesOutput structure.""" - - network_insights_access_scopes: list[NetworkInsightsAccessScope] | None = ... - """The Network Access Scopes.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeNetworkInsightsAnalysesInput(_SerdeShape): - """Dataclass for DescribeNetworkInsightsAnalysesInput structure.""" - - network_insights_analysis_ids: list[str] | None = ... - """ - The ID of the network insights analyses. You must specify either - analysis IDs or a path ID. - """ - network_insights_path_id: str | None = ... - """The ID of the path. You must specify either a path ID or analysis IDs.""" - analysis_start_time: datetime | None = ... - """The time when the network insights analyses started.""" - analysis_end_time: datetime | None = ... - """The time when the network insights analyses ended.""" - filters: list[Filter] | None = ... - """ - The filters. The following are the possible values: - - - path-found - A Boolean value that indicates whether a feasible path is - found. - - - status - The status of the analysis (running | succeeded | failed). - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeNetworkInsightsAnalysesOutput(_SerdeShape): - """Dataclass for DescribeNetworkInsightsAnalysesOutput structure.""" - - network_insights_analyses: list[NetworkInsightsAnalysis] | None = ... - """Information about the network insights analyses.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeNetworkInsightsPathsInput(_SerdeShape): - """Dataclass for DescribeNetworkInsightsPathsInput structure.""" - - network_insights_path_ids: list[str] | None = ... - """The IDs of the paths.""" - filters: list[Filter] | None = ... - """ - The filters. The following are the possible values: - - - destination - The ID of the resource. - - - filter-at-source.source-address - The source IPv4 address at the - source. - - - filter-at-source.source-port-range - The source port range at the - source. - - - filter-at-source.destination-address - The destination IPv4 address at - the source. - - - filter-at-source.destination-port-range - The destination port range - at the source. - - - filter-at-destination.source-address - The source IPv4 address at the - destination. - - - filter-at-destination.source-port-range - The source port range at the - destination. - - - filter-at-destination.destination-address - The destination IPv4 - address at the destination. - - - filter-at-destination.destination-port-range - The destination port - range at the destination. - - - protocol - The protocol. - - - source - The ID of the resource. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeNetworkInsightsPathsOutput(_SerdeShape): - """Dataclass for DescribeNetworkInsightsPathsOutput structure.""" - - network_insights_paths: list[NetworkInsightsPath] | None = ... - """Information about the paths.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeNetworkInterfaceAttributeInput(_SerdeShape): - """Contains the parameters for DescribeNetworkInterfaceAttribute.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_interface_id: str | None = ... - """The ID of the network interface.""" - attribute: str | None = ... - """The attribute of the network interface. This parameter is required.""" - -@dataclass(kw_only=True) -class DescribeNetworkInterfaceAttributeOutput(_SerdeShape): - """Contains the output of DescribeNetworkInterfaceAttribute.""" - - attachment: NetworkInterfaceAttachment | None = ... - """The attachment (if any) of the network interface.""" - description: AttributeValue | None = ... - """The description of the network interface.""" - groups: list[GroupIdentifier] | None = ... - """The security groups associated with the network interface.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - source_dest_check: AttributeBooleanValue | None = ... - """Indicates whether source/destination checking is enabled.""" - associate_public_ip_address: bool | None = ... - """ - Indicates whether to assign a public IPv4 address to a network - interface. This option can be enabled for any network interface but will - only apply to the primary network interface (eth0). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeNetworkInterfacePermissionsInput(_SerdeShape): - """Contains the parameters for DescribeNetworkInterfacePermissions.""" - - network_interface_permission_ids: list[str] | None = ... - """The network interface permission IDs.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `network-interface-permission.network-interface-permission-id` - The - ID of the permission. - - - `network-interface-permission.network-interface-id` - The ID of the - network interface. - - - `network-interface-permission.aws-account-id` - The Amazon Web - Services account ID. - - - `network-interface-permission.aws-service` - The Amazon Web Services - service. - - - `network-interface-permission.permission` - The type of permission - (`INSTANCE-ATTACH` | `EIP-ASSOCIATE`). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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. If this parameter is not specified, up to 50 results are - returned by default. For more information, see - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeNetworkInterfacePermissionsOutput(_SerdeShape): - """Contains the output for DescribeNetworkInterfacePermissions.""" - - network_interface_permissions: list[NetworkInterfacePermission] | None = ... - """The network interface permissions.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeNetworkInterfacesInput(_SerdeShape): - """Contains the parameters for DescribeNetworkInterfaces.""" - - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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. You cannot specify this parameter and the network interface IDs - parameter in the same request. For more information, see - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - include_managed_resources: bool | None = ... - """ - Indicates whether to include managed resources in the output. If this - parameter is set to `true`, the output includes resources that are - managed by Amazon Web Services services, even if managed resource - visibility is set to hidden. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_interface_ids: list[str] | None = ... - """ - The network interface IDs. - - Default: Describes all your network interfaces. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `association.allocation-id` - The allocation ID returned when you - allocated the Elastic IP address (IPv4) for your network interface. - - - `association.association-id` - The association ID returned when the - network interface was associated with an IPv4 address. - - - `addresses.association.owner-id` - The owner ID of the addresses - associated with the network interface. - - - `addresses.association.public-ip` - The association ID returned when - the network interface was associated with the Elastic IP address - (IPv4). - - - `addresses.primary` - Whether the private IPv4 address is the primary - IP address associated with the network interface. - - - `addresses.private-ip-address` - The private IPv4 addresses associated - with the network interface. - - - `association.ip-owner-id` - The owner of the Elastic IP address (IPv4) - associated with the network interface. - - - `association.public-ip` - The address of the Elastic IP address (IPv4) - bound to the network interface. - - - `association.public-dns-name` - The public DNS name for the network - interface (IPv4). - - - `attachment.attach-time` - The time that the network interface was - attached to an instance. - - - `attachment.attachment-id` - The ID of the interface attachment. - - - `attachment.delete-on-termination` - Indicates whether the attachment - is deleted when an instance is terminated. - - - `attachment.device-index` - The device index to which the network - interface is attached. - - - `attachment.instance-id` - The ID of the instance to which the network - interface is attached. - - - `attachment.instance-owner-id` - The owner ID of the instance to which - the network interface is attached. - - - `attachment.status` - The status of the attachment (`attaching` | - `attached` | `detaching` | `detached`). - - - `availability-zone` - The Availability Zone of the network interface. - - - `availability-zone-id` - The ID of the Availability Zone of the - network interface. - - - `description` - The description of the network interface. - - - `group-id` - The ID of a security group associated with the network - interface. - - - `ipv6-addresses.ipv6-address` - An IPv6 address associated with the - network interface. - - - `interface-type` - The type of network interface - (`api_gateway_managed` | `aws_codestar_connections_managed` | - `branch` | `ec2_instance_connect_endpoint` | `efa` | `efa-only` | - `efs` | `evs` | `gateway_load_balancer` | - `gateway_load_balancer_endpoint` | `global_accelerator_managed` | - `interface` | `iot_rules_managed` | `lambda` | `load_balancer` | - `nat_gateway` | `network_load_balancer` | `quicksight` | - `transit_gateway` | `trunk` | `vpc_endpoint`). - - - `mac-address` - The MAC address of the network interface. - - - `network-interface-id` - The ID of the network interface. - - - `operator.managed` - A Boolean that indicates whether this is a - managed network interface. - - - `operator.principal` - The principal that manages the network - interface. Only valid for managed network interfaces, where `managed` - is `true`. - - - `owner-id` - The Amazon Web Services account ID of the network - interface owner. - - - `private-dns-name` - The private DNS name of the network interface - (IPv4). - - - `private-ip-address` - The private IPv4 address or addresses of the - network interface. - - - `requester-id` - The alias or Amazon Web Services account ID of the - principal or service that created the network interface. - - - `requester-managed` - Indicates whether the network interface is being - managed by an Amazon Web Services service (for example, Amazon Web - Services Management Console, Auto Scaling, and so on). - - - `source-dest-check` - Indicates whether the network interface performs - source/destination checking. A value of `true` means checking is - enabled, and `false` means checking is disabled. The value must be - `false` for the network interface to perform network address - translation (NAT) in your VPC. - - - `status` - The status of the network interface. If the network - interface is not attached to an instance, the status is `available`; - if a network interface is attached to an instance the status is - `in-use`. - - - `subnet-id` - The ID of the subnet for the network interface. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC for the network interface. - """ - -@dataclass(kw_only=True) -class DescribeNetworkInterfacesOutput(_SerdeShape): - """Dataclass for DescribeNetworkInterfacesOutput structure.""" - - network_interfaces: list[NetworkInterface] | None = ... - """Information about the network interfaces.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeOutpostLagsInput(_SerdeShape): - """Dataclass for DescribeOutpostLagsInput structure.""" - - outpost_lag_ids: list[str] | None = ... - """The IDs of the Outpost LAGs.""" - filters: list[Filter] | None = ... - """ - The filters to use for narrowing down the request. The following filters - are supported: - - - `service-link-virtual-interface-id` - The ID of the service link - virtual interface. - - - `service-link-virtual-interface-arn` - The ARN of the service link - virtual interface. - - - `outpost-id` - The Outpost ID. - - - `outpost-arn` - The Outpost ARN. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - service link virtual interface. - - - `vlan` - The ID of the address pool. - - - `local-address` - The local address. - - - `peer-address` - The peer address. - - - `peer-bgp-asn` - The peer BGP ASN. - - - `outpost-lag-id` - The Outpost LAG ID. - - - `configuration-state` - The configuration state of the service link - virtual interface. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeOutpostLagsOutput(_SerdeShape): - """Dataclass for DescribeOutpostLagsOutput structure.""" - - outpost_lags: list[OutpostLag] | None = ... - """The Outpost LAGs.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribePlacementGroupsInput(_SerdeShape): - """Dataclass for DescribePlacementGroupsInput structure.""" - - group_ids: list[str] | None = ... - """The IDs of the placement groups.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - group_names: list[str] | None = ... - """ - The names of the placement groups. - - Constraints: - - - You can specify a name only if the placement group is owned by your - account. - - - If a placement group is *shared* with your account, specifying the - name results in an error. You must use the `GroupId` parameter - instead. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `group-name` - The name of the placement group. - - - `group-arn` - The Amazon Resource Name (ARN) of the placement group. - - - `spread-level` - The spread level for the placement group (`host` | - `rack`). - - - `state` - The state of the placement group (`pending` | `available` - | `deleting` | `deleted`). - - - `strategy` - The strategy of the placement group (`cluster` | - `spread` | `partition` | `precision-time`). - - - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - 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. - """ - -@dataclass(kw_only=True) -class DescribePlacementGroupsOutput(_SerdeShape): - """Dataclass for DescribePlacementGroupsOutput structure.""" - - placement_groups: list[PlacementGroup] | None = ... - """Information about the placement groups.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribePrefixListsInput(_SerdeShape): - """Dataclass for DescribePrefixListsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `prefix-list-id`: The ID of a prefix list. - - - `prefix-list-name`: The name of a prefix list. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - prefix_list_ids: list[str] | None = ... - """One or more prefix list IDs.""" - -@dataclass(kw_only=True) -class DescribePrefixListsOutput(_SerdeShape): - """Dataclass for DescribePrefixListsOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - prefix_lists: list[PrefixList] | None = ... - """All available prefix lists.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribePrincipalIdFormatInput(_SerdeShape): - """Dataclass for DescribePrincipalIdFormatInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - resources: list[str] | None = ... - """ - The type of resource: `bundle` | `conversion-task` | - `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | - `elastic-ip-association` | `export-task` | `flow-log` | `image` | - `import-task` | `instance` | `internet-gateway` | `network-acl` | - `network-acl-association` | `network-interface` | - `network-interface-attachment` | `prefix-list` | `reservation` | - `route-table` | `route-table-association` | `security-group` | - `snapshot` | `subnet` | `subnet-cidr-block-association` | `volume` | - `vpc` | `vpc-cidr-block-association` | `vpc-endpoint` | - `vpc-peering-connection` | `vpn-connection` | `vpn-gateway` - """ - max_results: int | None = ... - """ - The maximum number of results to return in a single call. To retrieve - the remaining results, make another call with the returned NextToken - value. - """ - next_token: str | None = ... - """The token to request the next page of results.""" - -@dataclass(kw_only=True) -class DescribePrincipalIdFormatOutput(_SerdeShape): - """Dataclass for DescribePrincipalIdFormatOutput structure.""" - - principals: list[PrincipalIdFormat] | None = ... - """Information about the ID format settings for the ARN.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribePublicIpv4PoolsInput(_SerdeShape): - """Dataclass for DescribePublicIpv4PoolsInput structure.""" - - pool_ids: list[str] | None = ... - """The IDs of the address pools.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - -@dataclass(kw_only=True) -class DescribePublicIpv4PoolsOutput(_SerdeShape): - """Dataclass for DescribePublicIpv4PoolsOutput structure.""" - - public_ipv4_pools: list[PublicIpv4Pool] | None = ... - """Information about the address pools.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeRegionsInput(_SerdeShape): - """Dataclass for DescribeRegionsInput structure.""" - - region_names: list[str] | None = ... - """ - The names of the Regions. You can specify any Regions, whether they are - enabled and disabled for your account. - """ - all_regions: bool | None = ... - """ - Indicates whether to display all Regions, including Regions that are - disabled for your account. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `endpoint` - The endpoint of the Region (for example, - `ec2.us-east-1.amazonaws.com`). - - - `opt-in-status` - The opt-in status of the Region - (`opt-in-not-required` | `opted-in` | `not-opted-in`). - - - `region-name` - The name of the Region (for example, `us-east-1`). - """ - -@dataclass(kw_only=True) -class DescribeRegionsOutput(_SerdeShape): - """Dataclass for DescribeRegionsOutput structure.""" - - regions: list[Region] | None = ... - """Information about the Regions.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeReplaceRootVolumeTasksInput(_SerdeShape): - """Dataclass for DescribeReplaceRootVolumeTasksInput structure.""" - - replace_root_volume_task_ids: list[str] | None = ... - """The ID of the root volume replacement task to view.""" - filters: list[Filter] | None = ... - """ - Filter to use: - - - `instance-id` - The ID of the instance for which the root volume - replacement task was created. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeReplaceRootVolumeTasksOutput(_SerdeShape): - """Dataclass for DescribeReplaceRootVolumeTasksOutput structure.""" - - replace_root_volume_tasks: list[ReplaceRootVolumeTask] | None = ... - """Information about the root volume replacement task.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeReservedInstancesInput(_SerdeShape): - """Contains the parameters for DescribeReservedInstances.""" - - offering_class: str | None = ... - """Describes whether the Reserved Instance is Standard or Convertible.""" - reserved_instances_ids: list[str] | None = ... - """ - One or more Reserved Instance IDs. - - Default: Describes all your Reserved Instances, or only those otherwise - specified. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `availability-zone` - The Availability Zone where the Reserved - Instance can be used. - - - `availability-zone-id` - The ID of the Availability Zone where the - Reserved Instance can be used. - - - `duration` - The duration of the Reserved Instance (one year or three - years), in seconds (`31536000` | `94608000`). - - - `end` - The time when the Reserved Instance expires (for example, - 2015-08-07T11:54:42.000Z). - - - `fixed-price` - The purchase price of the Reserved Instance (for - example, 9800.0). - - - `instance-type` - The instance type that is covered by the - reservation. - - - `scope` - The scope of the Reserved Instance (`Region` or - `Availability Zone`). - - - `product-description` - The Reserved Instance product platform - description (`Linux/UNIX` | `Linux with SQL Server Standard` | - `Linux with SQL Server Web` | `Linux with SQL Server Enterprise` | - `SUSE Linux` | `Red Hat Enterprise Linux` | - `Red Hat Enterprise Linux with HA` | `Windows` | - `Windows with SQL Server Standard` | `Windows with SQL Server Web` | - `Windows with SQL Server Enterprise`). - - - `reserved-instances-id` - The ID of the Reserved Instance. - - - `start` - The time at which the Reserved Instance purchase request was - placed (for example, 2014-08-07T11:54:42.000Z). - - - `state` - The state of the Reserved Instance (`payment-pending` | - `active` | `payment-failed` | `retired`). - - - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `usage-price` - The usage price of the Reserved Instance, per hour - (for example, 0.84). - """ - offering_type: str | None = ... - """ - The Reserved Instance offering type. If you are using tools that predate - the 2011-11-01 API version, you only have access to the - `Medium Utilization` Reserved Instance offering type. - """ - -@dataclass(kw_only=True) -class DescribeReservedInstancesListingsInput(_SerdeShape): - """Contains the parameters for DescribeReservedInstancesListings.""" - - reserved_instances_id: str | None = ... - """One or more Reserved Instance IDs.""" - reserved_instances_listing_id: str | None = ... - """One or more Reserved Instance listing IDs.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `reserved-instances-id` - The ID of the Reserved Instances. - - - `reserved-instances-listing-id` - The ID of the Reserved Instances - listing. - - - `status` - The status of the Reserved Instance listing (`pending` | - `active` | `cancelled` | `closed`). - - - `status-message` - The reason for the status. - """ - -@dataclass(kw_only=True) -class DescribeReservedInstancesListingsOutput(_SerdeShape): - """Contains the output of DescribeReservedInstancesListings.""" - - reserved_instances_listings: list[ReservedInstancesListing] | None = ... - """Information about the Reserved Instance listing.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeReservedInstancesModificationsInput(_SerdeShape): - """Contains the parameters for DescribeReservedInstancesModifications.""" - - reserved_instances_modification_ids: list[str] | None = ... - """IDs for the submitted modification request.""" - next_token: str | None = ... - """The token to retrieve the next page of results.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `client-token` - The idempotency token for the modification request. - - - `create-date` - The time when the modification request was created. - - - `effective-date` - The time when the modification becomes effective. - - - `modification-result.reserved-instances-id` - The ID for the Reserved - Instances created as part of the modification request. This ID is only - available when the status of the modification is `fulfilled`. - - - `modification-result.target-configuration.availability-zone` - The - Availability Zone for the new Reserved Instances. - - - `modification-result.target-configuration.availability-zone-id` - The - ID of the Availability Zone for the new Reserved Instances. - - - `modification-result.target-configuration.instance-count ` - The - number of new Reserved Instances. - - - `modification-result.target-configuration.instance-type` - The - instance type of the new Reserved Instances. - - - `reserved-instances-id` - The ID of the Reserved Instances modified. - - - `reserved-instances-modification-id` - The ID of the modification - request. - - - `status` - The status of the Reserved Instances modification request - (`processing` | `fulfilled` | `failed`). - - - `status-message` - The reason for the status. - - - `update-date` - The time when the modification request was last - updated. - """ - -@dataclass(kw_only=True) -class DescribeReservedInstancesModificationsOutput(_SerdeShape): - """Contains the output of DescribeReservedInstancesModifications.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - reserved_instances_modifications: list[ReservedInstancesModification] | None = ... - """The Reserved Instance modification information.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeReservedInstancesOfferingsInput(_SerdeShape): - """Contains the parameters for DescribeReservedInstancesOfferings.""" - - availability_zone: str | None = ... - """ - The Availability Zone in which the Reserved Instance can be used. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both. - """ - include_marketplace: bool | None = ... - """Include Reserved Instance Marketplace offerings in the response.""" - instance_type: str | None = ... - """ - The instance type that the reservation will cover (for example, - `m1.small`). For more information, see [Amazon EC2 instance - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) - in the *Amazon EC2 User Guide*. - """ - max_duration: int | None = ... - """ - The maximum duration (in seconds) to filter when searching for - offerings. - - Default: 94608000 (3 years) - """ - max_instance_count: int | None = ... - """ - The maximum number of instances to filter when searching for offerings. - - Default: 20 - """ - min_duration: int | None = ... - """ - The minimum duration (in seconds) to filter when searching for - offerings. - - Default: 2592000 (1 month) - """ - offering_class: str | None = ... - """ - The offering class of the Reserved Instance. Can be `standard` or - `convertible`. - """ - product_description: str | None = ... - """ - The Reserved Instance product platform description. Instances that - include `(Amazon VPC)` in the description are for use with Amazon VPC. - """ - reserved_instances_offering_ids: list[str] | None = ... - """One or more Reserved Instances offering IDs.""" - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `availability-zone` - The Availability Zone where the Reserved - Instance can be used. - - - `availability-zone-id` - The ID of the Availability Zone where the - Reserved Instance can be used. - - - `duration` - The duration of the Reserved Instance (for example, one - year or three years), in seconds (`31536000` | `94608000`). - - - `fixed-price` - The purchase price of the Reserved Instance (for - example, 9800.0). - - - `instance-type` - The instance type that is covered by the - reservation. - - - `marketplace` - Set to `true` to show only Reserved Instance - Marketplace offerings. When this filter is not used, which is the - default behavior, all offerings from both Amazon Web Services and the - Reserved Instance Marketplace are listed. - - - `product-description` - The Reserved Instance product platform - description (`Linux/UNIX` | `Linux with SQL Server Standard` | - `Linux with SQL Server Web` | `Linux with SQL Server Enterprise` | - `SUSE Linux` | `Red Hat Enterprise Linux` | - `Red Hat Enterprise Linux with HA` | `Windows` | - `Windows with SQL Server Standard` | `Windows with SQL Server Web` | - `Windows with SQL Server Enterprise`). - - - `reserved-instances-offering-id` - The Reserved Instances offering ID. - - - `scope` - The scope of the Reserved Instance (`Availability Zone` or - `Region`). - - - `usage-price` - The usage price of the Reserved Instance, per hour - (for example, 0.84). - """ - instance_tenancy: str | None = ... - """ - The tenancy of the instances covered by the reservation. A Reserved - Instance with a tenancy of `dedicated` is applied to instances that run - in a VPC on single-tenant hardware (i.e., Dedicated Instances). - - **Important:** The `host` value cannot be used with this parameter. Use - the `default` or `dedicated` values only. - - Default: `default` - """ - offering_type: str | None = ... - """ - The Reserved Instance offering type. If you are using tools that predate - the 2011-11-01 API version, you only have access to the - `Medium Utilization` Reserved Instance offering type. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results of the initial request can be seen by - sending another request with the returned `NextToken` value. The maximum - is 100. - - Default: 100 - """ - -@dataclass(kw_only=True) -class DescribeReservedInstancesOfferingsOutput(_SerdeShape): - """Contains the output of DescribeReservedInstancesOfferings.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - reserved_instances_offerings: list[ReservedInstancesOffering] | None = ... - """A list of Reserved Instances offerings.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeReservedInstancesOutput(_SerdeShape): - """Contains the output for DescribeReservedInstances.""" - - reserved_instances: list[ReservedInstances] | None = ... - """A list of Reserved Instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeRouteServerEndpointsInput(_SerdeShape): - """Dataclass for DescribeRouteServerEndpointsInput structure.""" - - route_server_endpoint_ids: list[str] | None = ... - """The IDs of the route server endpoints to describe.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """The maximum number of results to return with a single call.""" - filters: list[Filter] | None = ... - """One or more filters to apply to the describe request.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeRouteServerEndpointsOutput(_SerdeShape): - """Dataclass for DescribeRouteServerEndpointsOutput structure.""" - - route_server_endpoints: list[RouteServerEndpoint] | None = ... - """Information about the described route server endpoints.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeRouteServerPeersInput(_SerdeShape): - """Dataclass for DescribeRouteServerPeersInput structure.""" - - route_server_peer_ids: list[str] | None = ... - """The IDs of the route server peers to describe.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """The maximum number of results to return with a single call.""" - filters: list[Filter] | None = ... - """One or more filters to apply to the describe request.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeRouteServerPeersOutput(_SerdeShape): - """Dataclass for DescribeRouteServerPeersOutput structure.""" - - route_server_peers: list[RouteServerPeer] | None = ... - """Information about the described route server peers.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeRouteServersInput(_SerdeShape): - """Dataclass for DescribeRouteServersInput structure.""" - - route_server_ids: list[str] | None = ... - """The IDs of the route servers to describe.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """The maximum number of results to return with a single call.""" - filters: list[Filter] | None = ... - """One or more filters to apply to the describe request.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeRouteServersOutput(_SerdeShape): - """Dataclass for DescribeRouteServersOutput structure.""" - - route_servers: list[RouteServer] | None = ... - """Information about the described route servers.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeRouteTablesInput(_SerdeShape): - """Dataclass for DescribeRouteTablesInput structure.""" - - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - route_table_ids: list[str] | None = ... - """The IDs of the route tables.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `association.gateway-id` - The ID of the gateway involved in the - association. - - - `association.route-table-association-id` - The ID of an association ID - for the route table. - - - `association.route-table-id` - The ID of the route table involved in - the association. - - - `association.subnet-id` - The ID of the subnet involved in the - association. - - - `association.main` - Indicates whether the route table is the main - route table for the VPC (`true` | `false`). Route tables that do not - have an association ID are not returned in the response. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - route table. - - - `route-table-id` - The ID of the route table. - - - `route.destination-cidr-block` - The IPv4 CIDR range specified in a - route in the table. - - - `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified in - a route in the route table. - - - `route.destination-prefix-list-id` - The ID (prefix) of the Amazon Web - Services service specified in a route in the table. - - - `route.egress-only-internet-gateway-id` - The ID of an egress-only - Internet gateway specified in a route in the route table. - - - `route.gateway-id` - The ID of a gateway specified in a route in the - table. - - - `route.instance-id` - The ID of an instance specified in a route in - the table. - - - `route.nat-gateway-id` - The ID of a NAT gateway. - - - `route.transit-gateway-id` - The ID of a transit gateway. - - - `route.origin` - Describes how the route was created. - `CreateRouteTable` indicates that the route was automatically created - when the route table was created; `CreateRoute` indicates that the - route was manually added to the route table; - `EnableVgwRoutePropagation` indicates that the route was propagated by - route propagation. - - - `route.state` - The state of a route in the route table (`active` | - `blackhole`). The blackhole state indicates that the route's target - isn't available (for example, the specified gateway isn't attached - to the VPC, the specified NAT instance has been terminated, and so - on). - - - `route.vpc-peering-connection-id` - The ID of a VPC peering connection - specified in a route in the table. - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC for the route table. - """ - -@dataclass(kw_only=True) -class DescribeRouteTablesOutput(_SerdeShape): - """Contains the output of DescribeRouteTables.""" - - route_tables: list[RouteTable] | None = ... - """Information about the route tables.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeScheduledInstanceAvailabilityInput(_SerdeShape): - """Contains the parameters for DescribeScheduledInstanceAvailability.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The Availability Zone (for example, - `us-west-2a`). - - - `instance-type` - The instance type (for example, `c4.large`). - - - `platform` - The platform (`Linux/UNIX` or `Windows`). - """ - first_slot_start_time_range: SlotDateTimeRangeRequest | None = ... - """The time period for the first schedule to start.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. This value can - be between 5 and 300. The default value is 300. To retrieve the - remaining results, make another call with the returned `NextToken` - value. - """ - max_slot_duration_in_hours: int | None = ... - """ - The maximum available duration, in hours. This value must be greater - than `MinSlotDurationInHours` and less than 1,720. - """ - min_slot_duration_in_hours: int | None = ... - """ - The minimum available duration, in hours. The minimum required duration - is 1,200 hours per year. For example, the minimum daily schedule is 4 - hours, the minimum weekly schedule is 24 hours, and the minimum monthly - schedule is 100 hours. - """ - next_token: str | None = ... - """The token for the next set of results.""" - recurrence: ScheduledInstanceRecurrenceRequest | None = ... - """The schedule recurrence.""" - -@dataclass(kw_only=True) -class DescribeScheduledInstanceAvailabilityOutput(_SerdeShape): - """Contains the output of DescribeScheduledInstanceAvailability.""" - - next_token: str | None = ... - """ - The token required to retrieve the next set of results. This value is - `null` when there are no more results to return. - """ - scheduled_instance_availability_set: ( - list[ScheduledInstanceAvailability] | None - ) = ... - """Information about the available Scheduled Instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeScheduledInstancesInput(_SerdeShape): - """Contains the parameters for DescribeScheduledInstances.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The Availability Zone (for example, - `us-west-2a`). - - - `instance-type` - The instance type (for example, `c4.large`). - - - `platform` - The platform (`Linux/UNIX` or `Windows`). - """ - max_results: int | None = ... - """ - The maximum number of results to return in a single call. This value can - be between 5 and 300. The default value is 100. To retrieve the - remaining results, make another call with the returned `NextToken` - value. - """ - next_token: str | None = ... - """The token for the next set of results.""" - scheduled_instance_ids: list[str] | None = ... - """The Scheduled Instance IDs.""" - slot_start_time_range: SlotStartTimeRangeRequest | None = ... - """The time period for the first schedule to start.""" - -@dataclass(kw_only=True) -class DescribeScheduledInstancesOutput(_SerdeShape): - """Contains the output of DescribeScheduledInstances.""" - - next_token: str | None = ... - """ - The token required to retrieve the next set of results. This value is - `null` when there are no more results to return. - """ - scheduled_instance_set: list[ScheduledInstance] | None = ... - """Information about the Scheduled Instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSecondaryInterfacesInput(_SerdeShape): - """Dataclass for DescribeSecondaryInterfacesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `attachment.attachment-id` - The ID of the secondary interface - attachment. - - - `attachment.instance-id` - The ID of the instance to which the - secondary interface is attached. - - - `attachment.instance-owner-id` - The ID of the Amazon Web Services - account that owns the instance to which the secondary interface is - attached. - - - `attachment.status` - The attachment status (`attaching` | `attached` - | `detaching` | `detached`). - - - `private-ipv4-addresses.private-ip-address` - The private IPv4 address - associated with the secondary interface. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - secondary interface. - - - `secondary-interface-arn` - The ARN of the secondary interface. - - - `secondary-interface-id` - The ID of the secondary interface. - - - `secondary-interface-type` - The type of secondary interface - (`secondary`). - - - `secondary-network-id` - The ID of the secondary network. - - - `secondary-network-type` - The type of the secondary network (`rdma`). - - - `secondary-subnet-id` - The ID of the secondary subnet. - - - `status` - The status of the secondary interface (`available` | - `in-use`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - secondary_interface_ids: list[str] | None = ... - """The IDs of the secondary interfaces.""" - -@dataclass(kw_only=True) -class DescribeSecondaryInterfacesOutput(_SerdeShape): - """Dataclass for DescribeSecondaryInterfacesOutput structure.""" - - secondary_interfaces: list[SecondaryInterface] | None = ... - """Information about the secondary interfaces.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSecondaryNetworksInput(_SerdeShape): - """Dataclass for DescribeSecondaryNetworksInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. The following are the possible values: - - - `ipv4-cidr-block-association.association-id` - The association ID for - an IPv4 CIDR block associated with the secondary network. - - - `ipv4-cidr-block-association.cidr-block` - An IPv4 CIDR block - associated with the secondary network. - - - `ipv4-cidr-block-association.state` - The state of an IPv4 CIDR block - associated with the secondary network. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - secondary network. - - - `secondary-network-id` - The ID of the secondary network. - - - `secondary-network-arn` - The ARN of the secondary network. - - - `state` - The state of the secondary network (`create-in-progress` | - `create-complete` | `create-failed` | `delete-in-progress` | - `delete-complete` | `delete-failed`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `type` - The type of the secondary network (`rdma`). - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - secondary_network_ids: list[str] | None = ... - """The IDs of the secondary networks.""" - -@dataclass(kw_only=True) -class DescribeSecondaryNetworksOutput(_SerdeShape): - """Dataclass for DescribeSecondaryNetworksOutput structure.""" - - secondary_networks: list[SecondaryNetwork] | None = ... - """Information about the secondary networks.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSecondarySubnetsInput(_SerdeShape): - """Dataclass for DescribeSecondarySubnetsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `ipv4-cidr-block-association.association-id` - The association ID for - an IPv4 CIDR block associated with the secondary subnet. - - - `ipv4-cidr-block-association.cidr-block` - An IPv4 CIDR block - associated with the secondary subnet. - - - `ipv4-cidr-block-association.state` - The state of an IPv4 CIDR block - associated with the secondary subnet. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - secondary subnet. - - - `secondary-network-id` - The ID of the secondary network. - - - `secondary-network-type` - The type of the secondary network (`rdma`). - - - `secondary-subnet-id` - The ID of the secondary subnet. - - - `secondary-subnet-arn` - The ARN of the secondary subnet. - - - `state` - The state of the secondary subnet (`create-in-progress` | - `create-complete` | `create-failed` | `delete-in-progress` | - `delete-complete` | `delete-failed`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - secondary_subnet_ids: list[str] | None = ... - """The IDs of the secondary subnets.""" - -@dataclass(kw_only=True) -class DescribeSecondarySubnetsOutput(_SerdeShape): - """Dataclass for DescribeSecondarySubnetsOutput structure.""" - - secondary_subnets: list[SecondarySubnet] | None = ... - """Information about the secondary subnets.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSecurityGroupReferencesInput(_SerdeShape): - """Dataclass for DescribeSecurityGroupReferencesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - group_id: list[str] | None = ... - """The IDs of the security groups in your account.""" - -@dataclass(kw_only=True) -class DescribeSecurityGroupReferencesOutput(_SerdeShape): - """Dataclass for DescribeSecurityGroupReferencesOutput structure.""" - - security_group_reference_set: list[SecurityGroupReference] | None = ... - """Information about the VPCs with the referencing security groups.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSecurityGroupRulesInput(_SerdeShape): - """Dataclass for DescribeSecurityGroupRulesInput structure.""" - - filters: list[Filter] | None = ... - """ - One or more filters. - - - `group-id` - The ID of the security group. - - - `security-group-rule-id` - The ID of the security group rule. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - """ - security_group_rule_ids: list[str] | None = ... - """The IDs of the security group rules.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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. This value can be between 5 and 1000. If this parameter is not - specified, then all items are returned. For more information, see - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeSecurityGroupRulesOutput(_SerdeShape): - """Dataclass for DescribeSecurityGroupRulesOutput structure.""" - - security_group_rules: list[SecurityGroupRule] | None = ... - """Information about security group rules.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSecurityGroupsInput(_SerdeShape): - """Dataclass for DescribeSecurityGroupsInput structure.""" - - group_ids: list[str] | None = ... - """ - The IDs of the security groups. Required for security groups in a - nondefault VPC. - - Default: Describes all of your security groups. - """ - group_names: list[str] | None = ... - """ - [Default VPC] The names of the security groups. You can specify either - the security group name or the security group ID. - - Default: Describes all of your security groups. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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. This value can be between 5 and 1000. If this parameter is not - specified, then all items are returned. For more information, see - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. If using multiple filters for rules, the results include - security groups for which any combination of rules - not necessarily a - single rule - match all filters. - - - `description` - The description of the security group. - - - `egress.ip-permission.cidr` - An IPv4 CIDR block for an outbound - security group rule. - - - `egress.ip-permission.from-port` - For an outbound rule, the start of - port range for the TCP and UDP protocols, or an ICMP type number. - - - `egress.ip-permission.group-id` - The ID of a security group that has - been referenced in an outbound security group rule. - - - `egress.ip-permission.group-name` - The name of a security group that - is referenced in an outbound security group rule. - - - `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an outbound - security group rule. - - - `egress.ip-permission.prefix-list-id` - The ID of a prefix list to - which a security group rule allows outbound access. - - - `egress.ip-permission.protocol` - The IP protocol for an outbound - security group rule (`tcp` | `udp` | `icmp`, a protocol number, or - -1 for all protocols). - - - `egress.ip-permission.to-port` - For an outbound rule, the end of port - range for the TCP and UDP protocols, or an ICMP code. - - - `egress.ip-permission.user-id` - The ID of an Amazon Web Services - account that has been referenced in an outbound security group rule. - - - `group-id` - The ID of the security group. - - - `group-name` - The name of the security group. - - - `ip-permission.cidr` - An IPv4 CIDR block for an inbound security - group rule. - - - `ip-permission.from-port` - For an inbound rule, the start of port - range for the TCP and UDP protocols, or an ICMP type number. - - - `ip-permission.group-id` - The ID of a security group that has been - referenced in an inbound security group rule. - - - `ip-permission.group-name` - The name of a security group that is - referenced in an inbound security group rule. - - - `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound security - group rule. - - - `ip-permission.prefix-list-id` - The ID of a prefix list from which a - security group rule allows inbound access. - - - `ip-permission.protocol` - The IP protocol for an inbound security - group rule (`tcp` | `udp` | `icmp`, a protocol number, or -1 for all - protocols). - - - `ip-permission.to-port` - For an inbound rule, the end of port range - for the TCP and UDP protocols, or an ICMP code. - - - `ip-permission.user-id` - The ID of an Amazon Web Services account - that has been referenced in an inbound security group rule. - - - `owner-id` - The Amazon Web Services account ID of the owner of the - security group. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC specified when the security group was - created. - """ - -@dataclass(kw_only=True) -class DescribeSecurityGroupsOutput(_SerdeShape): - """Dataclass for DescribeSecurityGroupsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - security_groups: list[SecurityGroup] | None = ... - """Information about the security groups.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSecurityGroupVpcAssociationsInput(_SerdeShape): - """Dataclass for DescribeSecurityGroupVpcAssociationsInput structure.""" - - filters: list[Filter] | None = ... - """ - Security group VPC association filters. - - - `group-id`: The security group ID. - - - `group-owner-id`: The group owner ID. - - - `state`: The state of the association. - - - `vpc-id`: The ID of the associated VPC. - - - `vpc-owner-id`: The account ID of the VPC owner. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeSecurityGroupVpcAssociationsOutput(_SerdeShape): - """Dataclass for DescribeSecurityGroupVpcAssociationsOutput structure.""" - - security_group_vpc_associations: list[SecurityGroupVpcAssociation] | None = ... - """The security group VPC associations.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeServiceLinkVirtualInterfacesInput(_SerdeShape): - """Dataclass for DescribeServiceLinkVirtualInterfacesInput structure.""" - - service_link_virtual_interface_ids: list[str] | None = ... - """The IDs of the service link virtual interfaces.""" - filters: list[Filter] | None = ... - """ - The filters to use for narrowing down the request. The following filters - are supported: - - - `outpost-lag-id` - The ID of the Outpost LAG. - - - `outpost-arn` - The Outpost ARN. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - service link virtual interface. - - - `state` - The state of the Outpost LAG. - - - `vlan` - The ID of the address pool. - - - `service-link-virtual-interface-id` - The ID of the service link - virtual interface. - - - `local-gateway-virtual-interface-id` - The ID of the local gateway - virtual interface. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeServiceLinkVirtualInterfacesOutput(_SerdeShape): - """Dataclass for DescribeServiceLinkVirtualInterfacesOutput structure.""" - - service_link_virtual_interfaces: list[ServiceLinkVirtualInterface] | None = ... - """Describes the service link virtual interfaces.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSnapshotAttributeInput(_SerdeShape): - """Dataclass for DescribeSnapshotAttributeInput structure.""" - - attribute: str | None = ... - """The snapshot attribute you would like to view.""" - snapshot_id: str | None = ... - """The ID of the EBS snapshot.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeSnapshotAttributeOutput(_SerdeShape): - """Dataclass for DescribeSnapshotAttributeOutput structure.""" - - product_codes: list[ProductCode] | None = ... - """The product codes.""" - snapshot_id: str | None = ... - """The ID of the EBS snapshot.""" - create_volume_permissions: list[CreateVolumePermission] | None = ... - """ - The users and groups that have the permissions for creating volumes from - the snapshot. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSnapshotsInput(_SerdeShape): - """Dataclass for DescribeSnapshotsInput structure.""" - - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - owner_ids: list[str] | None = ... - """ - Scopes the results to snapshots with the specified owners. You can - specify a combination of Amazon Web Services account IDs, `self`, and - `amazon`. - """ - restorable_by_user_ids: list[str] | None = ... - """ - The IDs of the Amazon Web Services accounts that can create volumes from - the snapshot. - """ - snapshot_ids: list[str] | None = ... - """ - The snapshot IDs. - - Default: Describes the snapshots for which you have create volume - permissions. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `description` - A description of the snapshot. - - - `encrypted` - Indicates whether the snapshot is encrypted (`true` | - `false`) - - - `owner-alias` - The owner alias, from an Amazon-maintained list - (`amazon`). This is not the user-configured Amazon Web Services - account alias set using the IAM console. We recommend that you use the - related parameter instead of this filter. - - - `owner-id` - The Amazon Web Services account ID of the owner. We - recommend that you use the related parameter instead of this filter. - - - `progress` - The progress of the snapshot, as a percentage (for - example, 80%). - - - `snapshot-id` - The snapshot ID. - - - `start-time` - The time stamp when the snapshot was initiated. - - - `status` - The status of the snapshot (`pending` | `completed` | - `error`). - - - `storage-tier` - The storage tier of the snapshot (`archive` | - `standard`). - - - `transfer-type` - The type of operation used to create the snapshot - (`time-based` | `standard`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `volume-id` - The ID of the volume the snapshot is for. - - - `volume-size` - The size of the volume, in GiB. - """ - -@dataclass(kw_only=True) -class DescribeSnapshotsOutput(_SerdeShape): - """Dataclass for DescribeSnapshotsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - snapshots: list[Snapshot] | None = ... - """Information about the snapshots.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSnapshotTierStatusInput(_SerdeShape): - """Dataclass for DescribeSnapshotTierStatusInput structure.""" - - filters: list[Filter] | None = ... - """ - The filters. - - - `snapshot-id` - The snapshot ID. - - - `volume-id` - The ID of the volume the snapshot is for. - - - `last-tiering-operation` - The state of the last archive or restore - action. (`archival-in-progress` | `archival-completed` | - `archival-failed` | `permanent-restore-in-progress` | - `permanent-restore-completed` | `permanent-restore-failed` | - `temporary-restore-in-progress` | `temporary-restore-completed` | - `temporary-restore-failed`) - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeSnapshotTierStatusOutput(_SerdeShape): - """Dataclass for DescribeSnapshotTierStatusOutput structure.""" - - snapshot_tier_statuses: list[SnapshotTierStatus] | None = ... - """Information about the snapshot's storage tier.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSpotDatafeedSubscriptionInput(_SerdeShape): - """Contains the parameters for DescribeSpotDatafeedSubscription.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeSpotDatafeedSubscriptionOutput(_SerdeShape): - """Contains the output of DescribeSpotDatafeedSubscription.""" - - spot_datafeed_subscription: SpotDatafeedSubscription | None = ... - """The Spot Instance data feed subscription.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSpotFleetInstancesInput(_SerdeShape): - """Contains the parameters for DescribeSpotFleetInstances.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - spot_fleet_request_id: str | None = ... - """The ID of the Spot Fleet request.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeSpotFleetInstancesOutput(_SerdeShape): - """Contains the output of DescribeSpotFleetInstances.""" - - active_instances: list[ActiveInstance] | None = ... - """ - The running instances. This list is refreshed periodically and might be - out of date. - """ - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - spot_fleet_request_id: str | None = ... - """The ID of the Spot Fleet request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSpotFleetRequestHistoryInput(_SerdeShape): - """Contains the parameters for DescribeSpotFleetRequestHistory.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - spot_fleet_request_id: str | None = ... - """The ID of the Spot Fleet request.""" - event_type: str | None = ... - """The type of events to describe. By default, all events are described.""" - start_time: datetime | None = ... - """ - The starting date and time for the events, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeSpotFleetRequestHistoryOutput(_SerdeShape): - """Contains the output of DescribeSpotFleetRequestHistory.""" - - history_records: list[HistoryRecord] | None = ... - """Information about the events in the history of the Spot Fleet request.""" - last_evaluated_time: datetime | None = ... - """ - The last date and time for the events, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). All records up to this time were - retrieved. - - If `nextToken` indicates that there are more items, this value is not - present. - """ - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - spot_fleet_request_id: str | None = ... - """The ID of the Spot Fleet request.""" - start_time: datetime | None = ... - """ - The starting date and time for the events, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSpotFleetRequestsInput(_SerdeShape): - """Contains the parameters for DescribeSpotFleetRequests.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - spot_fleet_request_ids: list[str] | None = ... - """The IDs of the Spot Fleet requests.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeSpotFleetRequestsOutput(_SerdeShape): - """Contains the output of DescribeSpotFleetRequests.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - spot_fleet_request_configs: list[SpotFleetRequestConfig] | None = ... - """Information about the configuration of your Spot Fleet.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSpotInstanceRequestsInput(_SerdeShape): - """Contains the parameters for DescribeSpotInstanceRequests.""" - - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - spot_instance_request_ids: list[str] | None = ... - """The IDs of the Spot Instance requests.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone-group` - The Availability Zone group. - - - `create-time` - The time stamp when the Spot Instance request was - created. - - - `fault-code` - The fault code related to the request. - - - `fault-message` - The fault message related to the request. - - - `instance-id` - The ID of the instance that fulfilled the request. - - - `launch-group` - The Spot Instance launch group. - - - `launch.block-device-mapping.delete-on-termination` - Indicates - whether the EBS volume is deleted on instance termination. - - - `launch.block-device-mapping.device-name` - The device name for the - volume in the block device mapping (for example, `/dev/sdh` or - `xvdh`). - - - `launch.block-device-mapping.snapshot-id` - The ID of the snapshot for - the EBS volume. - - - `launch.block-device-mapping.volume-size` - The size of the EBS - volume, in GiB. - - - `launch.block-device-mapping.volume-type` - The type of EBS volume: - `gp2` or `gp3` for General Purpose SSD, `io1` or `io2` for Provisioned - IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for Cold HDD, or - `standard` for Magnetic. - - - `launch.group-id` - The ID of the security group for the instance. - - - `launch.group-name` - The name of the security group for the instance. - - - `launch.image-id` - The ID of the AMI. - - - `launch.instance-type` - The type of instance (for example, - `m3.medium`). - - - `launch.kernel-id` - The kernel ID. - - - `launch.key-name` - The name of the key pair the instance launched - with. - - - `launch.monitoring-enabled` - Whether detailed monitoring is enabled - for the Spot Instance. - - - `launch.ramdisk-id` - The RAM disk ID. - - - `launched-availability-zone` - The Availability Zone in which the - request is launched. - - - `launched-availability-zone-id` - The ID of the Availability Zone in - which the request is launched. - - - `network-interface.addresses.primary` - Indicates whether the IP - address is the primary private IP address. - - - `network-interface.delete-on-termination` - Indicates whether the - network interface is deleted when the instance is terminated. - - - `network-interface.description` - A description of the network - interface. - - - `network-interface.device-index` - The index of the device for the - network interface attachment on the instance. - - - `network-interface.group-id` - The ID of the security group associated - with the network interface. - - - `network-interface.network-interface-id` - The ID of the network - interface. - - - `network-interface.private-ip-address` - The primary private IP - address of the network interface. - - - `network-interface.subnet-id` - The ID of the subnet for the instance. - - - `product-description` - The product description associated with the - instance (`Linux/UNIX` | `Windows`). - - - `spot-instance-request-id` - The Spot Instance request ID. - - - `spot-price` - The maximum hourly price for any Spot Instance launched - to fulfill the request. - - - `state` - The state of the Spot Instance request (`open` | `active` - | `closed` | `cancelled` | `failed`). Spot request status - information can help you track your Amazon EC2 Spot Instance requests. - For more information, see [Spot request - status](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html) - in the *Amazon EC2 User Guide*. - - - `status-code` - The short code describing the most recent evaluation - of your Spot Instance request. - - - `status-message` - The message explaining the status of the Spot - Instance request. - - - `tag:```{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `type` - The type of Spot Instance request (`one-time` | - `persistent`). - - - `valid-from` - The start date of the request. - - - `valid-until` - The end date of the request. - """ - -@dataclass(kw_only=True) -class DescribeSpotInstanceRequestsOutput(_SerdeShape): - """Contains the output of DescribeSpotInstanceRequests.""" - - spot_instance_requests: list[SpotInstanceRequest] | None = ... - """The Spot Instance requests.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSpotPriceHistoryInput(_SerdeShape): - """Contains the parameters for DescribeSpotPriceHistory.""" - - availability_zone_id: str | None = ... - """ - Filters the results by the specified ID of the Availability Zone. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - start_time: datetime | None = ... - """ - The date and time, up to the past 90 days, from which to start - retrieving the price history data, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - end_time: datetime | None = ... - """ - The date and time, up to the current date, from which to stop retrieving - the price history data, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - instance_types: list[str] | None = ... - """Filters the results by the specified instance types.""" - product_descriptions: list[str] | None = ... - """Filters the results by the specified basic product descriptions.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The Availability Zone for which prices should be - returned. - - - `availability-zone-id` - The ID of the Availability Zone for which - prices should be returned. - - - `instance-type` - The type of instance (for example, `m3.medium`). - - - `product-description` - The product description for the Spot price - (`Linux/UNIX` | `Red Hat Enterprise Linux` | `SUSE Linux` | - `Windows` | `Linux/UNIX (Amazon VPC)` | - `Red Hat Enterprise Linux (Amazon VPC)` | `SUSE Linux (Amazon VPC)` - | `Windows (Amazon VPC)`). - - - `spot-price` - The Spot price. The value must match exactly (or use - wildcards; greater than or less than comparison is not supported). - - - `timestamp` - The time stamp of the Spot price history, in UTC format - (for example, *ddd MMM dd HH*:*mm*:*ss* UTC *YYYY*). You can use - wildcards (`*` and `?`). Greater than or less than comparison is not - supported. - """ - availability_zone: str | None = ... - """ - Filters the results by the specified Availability Zone. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - -@dataclass(kw_only=True) -class DescribeSpotPriceHistoryOutput(_SerdeShape): - """Contains the output of DescribeSpotPriceHistory.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is an empty string (`""`) or `null` when there are no more - items to return. - """ - spot_price_history: list[SpotPrice] | None = ... - """The historical Spot prices.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStaleSecurityGroupsInput(_SerdeShape): - """Dataclass for DescribeStaleSecurityGroupsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class DescribeStaleSecurityGroupsOutput(_SerdeShape): - """Dataclass for DescribeStaleSecurityGroupsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - stale_security_group_set: list[StaleSecurityGroup] | None = ... - """Information about the stale security groups.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeStoreImageTasksInput(_SerdeShape): - """Dataclass for DescribeStoreImageTasksInput structure.""" - - image_ids: list[str] | None = ... - """ - The AMI IDs for which to show progress. Up to 20 AMI IDs can be included - in a request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `task-state` - Returns tasks in a certain state (`InProgress` | - `Completed` | `Failed`) - - - `bucket` - Returns task information for tasks that targeted a specific - bucket. For the filter value, specify the bucket name. - - Note: - When you specify the `ImageIds` parameter, any filters that you specify - are ignored. To use the filters, you must remove the `ImageIds` - parameter. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - - You cannot specify this parameter and the `ImageIds` parameter in the - same call. - """ - -@dataclass(kw_only=True) -class DescribeStoreImageTasksOutput(_SerdeShape): - """Dataclass for DescribeStoreImageTasksOutput structure.""" - - store_image_task_results: list[StoreImageTaskResult] | None = ... - """The information about the AMI store tasks.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSubnetsInput(_SerdeShape): - """Dataclass for DescribeSubnetsInput structure.""" - - filters: list[Filter] | None = ... - """ - The filters. - - - `availability-zone` - The Availability Zone for the subnet. You can - also use `availabilityZone` as the filter name. - - - `availability-zone-id` - The ID of the Availability Zone for the - subnet. You can also use `availabilityZoneId` as the filter name. - - - `available-ip-address-count` - The number of IPv4 addresses in the - subnet that are available. - - - `cidr-block` - The IPv4 CIDR block of the subnet. The CIDR block you - specify must exactly match the subnet's CIDR block for information to - be returned for the subnet. You can also use `cidr` or `cidrBlock` as - the filter names. - - - `customer-owned-ipv4-pool` - The customer-owned IPv4 address pool - associated with the subnet. - - - `default-for-az` - Indicates whether this is the default subnet for - the Availability Zone (`true` | `false`). You can also use - `defaultForAz` as the filter name. - - - `enable-dns64` - Indicates whether DNS queries made to the - Amazon-provided DNS Resolver in this subnet should return synthetic - IPv6 addresses for IPv4-only destinations. - - - `enable-lni-at-device-index` - Indicates the device position for local - network interfaces in this subnet. For example, `1` indicates local - network interfaces in this subnet are the secondary network interface - (eth1). - - - `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block - associated with the subnet. - - - `ipv6-cidr-block-association.association-id` - An association ID for - an IPv6 CIDR block associated with the subnet. - - - `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR block - associated with the subnet. - - - `ipv6-native` - Indicates whether this is an IPv6 only subnet (`true` - | `false`). - - - `map-customer-owned-ip-on-launch` - Indicates whether a network - interface created in this subnet (including a network interface - created by RunInstances) receives a customer-owned IPv4 address. - - - `map-public-ip-on-launch` - Indicates whether instances launched in - this subnet receive a public IPv4 address. - - - `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - subnet. - - - `private-dns-name-options-on-launch.hostname-type` - The type of - hostname to assign to instances in the subnet at launch. For IPv4-only - and dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be - based on the instance IPv4 address (ip-name) or the instance ID - (resource-name). For IPv6 only subnets, an instance DNS name must be - based on the instance ID (resource-name). - - - `private-dns-name-options-on-launch.enable-resource-name-dns-a-record` - - Indicates whether to respond to DNS queries for instance hostnames - with DNS A records. - - - `private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record` - - Indicates whether to respond to DNS queries for instance hostnames - with DNS AAAA records. - - - `state` - The state of the subnet (`pending` | `available`). - - - `subnet-arn` - The Amazon Resource Name (ARN) of the subnet. - - - `subnet-id` - The ID of the subnet. - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC for the subnet. - """ - subnet_ids: list[str] | None = ... - """ - The IDs of the subnets. - - Default: Describes all your subnets. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeSubnetsOutput(_SerdeShape): - """Dataclass for DescribeSubnetsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - subnets: list[Subnet] | None = ... - """Information about the subnets.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTagsInput(_SerdeShape): - """Dataclass for DescribeTagsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `key` - The tag key. - - - `resource-id` - The ID of the resource. - - - `resource-type` - The resource type. For a list of possible values, - see - [TagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TagSpecification.html). - - - `tag`:``{=html} - The key/value combination of the tag. For - example, specify \"tag:Owner\" for the filter name and \"TeamA\" for - the filter value to find resources with the tag \"Owner=TeamA\". - - - `value` - The tag value. - """ - max_results: int | None = ... - """ - The maximum number of items to return for this request. This value can - be between 5 and 1000. To get the next page of items, make another - request with the token returned in the output. For more information, see - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - -@dataclass(kw_only=True) -class DescribeTagsOutput(_SerdeShape): - """Dataclass for DescribeTagsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - tags: list[TagDescription] | None = ... - """The tags.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTrafficMirrorFilterRulesInput(_SerdeShape): - """Dataclass for DescribeTrafficMirrorFilterRulesInput structure.""" - - traffic_mirror_filter_rule_ids: list[str] | None = ... - """Traffic filter rule IDs.""" - traffic_mirror_filter_id: str | None = ... - """Traffic filter ID.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - Traffic mirror filters. - - - `traffic-mirror-filter-rule-id`: The ID of the Traffic Mirror rule. - - - `traffic-mirror-filter-id`: The ID of the filter that this rule is - associated with. - - - `rule-number`: The number of the Traffic Mirror rule. - - - `rule-action`: The action taken on the filtered traffic. Possible - actions are `accept` and `reject`. - - - `traffic-direction`: The traffic direction. Possible directions are - `ingress` and `egress`. - - - `protocol`: The protocol, for example UDP, assigned to the Traffic - Mirror rule. - - - `source-cidr-block`: The source CIDR block assigned to the Traffic - Mirror rule. - - - `destination-cidr-block`: The destination CIDR block assigned to the - Traffic Mirror rule. - - - `description`: The description of the Traffic Mirror rule. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeTrafficMirrorFilterRulesOutput(_SerdeShape): - """Dataclass for DescribeTrafficMirrorFilterRulesOutput structure.""" - - traffic_mirror_filter_rules: list[TrafficMirrorFilterRule] | None = ... - """Traffic mirror rules.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. The value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTrafficMirrorFiltersInput(_SerdeShape): - """Dataclass for DescribeTrafficMirrorFiltersInput structure.""" - - traffic_mirror_filter_ids: list[str] | None = ... - """The ID of the Traffic Mirror filter.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `description`: The Traffic Mirror filter description. - - - `traffic-mirror-filter-id`: The ID of the Traffic Mirror filter. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeTrafficMirrorFiltersOutput(_SerdeShape): - """Dataclass for DescribeTrafficMirrorFiltersOutput structure.""" - - traffic_mirror_filters: list[TrafficMirrorFilter] | None = ... - """Information about one or more Traffic Mirror filters.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. The value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTrafficMirrorSessionsInput(_SerdeShape): - """Dataclass for DescribeTrafficMirrorSessionsInput structure.""" - - traffic_mirror_session_ids: list[str] | None = ... - """The ID of the Traffic Mirror session.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `description`: The Traffic Mirror session description. - - - `network-interface-id`: The ID of the Traffic Mirror session network - interface. - - - `owner-id`: The ID of the account that owns the Traffic Mirror - session. - - - `packet-length`: The assigned number of packets to mirror. - - - `session-number`: The assigned session number. - - - `traffic-mirror-filter-id`: The ID of the Traffic Mirror filter. - - - `traffic-mirror-session-id`: The ID of the Traffic Mirror session. - - - `traffic-mirror-target-id`: The ID of the Traffic Mirror target. - - - `virtual-network-id`: The virtual network ID of the Traffic Mirror - session. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeTrafficMirrorSessionsOutput(_SerdeShape): - """Dataclass for DescribeTrafficMirrorSessionsOutput structure.""" - - traffic_mirror_sessions: list[TrafficMirrorSession] | None = ... - """ - Describes one or more Traffic Mirror sessions. By default, all Traffic - Mirror sessions are described. Alternatively, you can filter the - results. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. The value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTrafficMirrorTargetsInput(_SerdeShape): - """Dataclass for DescribeTrafficMirrorTargetsInput structure.""" - - traffic_mirror_target_ids: list[str] | None = ... - """The ID of the Traffic Mirror targets.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `description`: The Traffic Mirror target description. - - - `network-interface-id`: The ID of the Traffic Mirror session network - interface. - - - `network-load-balancer-arn`: The Amazon Resource Name (ARN) of the - Network Load Balancer that is associated with the session. - - - `owner-id`: The ID of the account that owns the Traffic Mirror - session. - - - `traffic-mirror-target-id`: The ID of the Traffic Mirror target. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class DescribeTrafficMirrorTargetsOutput(_SerdeShape): - """Dataclass for DescribeTrafficMirrorTargetsOutput structure.""" - - traffic_mirror_targets: list[TrafficMirrorTarget] | None = ... - """Information about one or more Traffic Mirror targets.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. The value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayAttachmentsInput(_SerdeShape): - """Dataclass for DescribeTransitGatewayAttachmentsInput structure.""" - - transit_gateway_attachment_ids: list[str] | None = ... - """The IDs of the attachments.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `association.state` - The state of the association (`associating` | - `associated` | `disassociating`). - - - `association.transit-gateway-route-table-id` - The ID of the route - table for the transit gateway. - - - `resource-id` - The ID of the resource. - - - `resource-owner-id` - The ID of the Amazon Web Services account that - owns the resource. - - - `resource-type` - The resource type. Valid values are `vpc` | `vpn` - | `direct-connect-gateway` | `peering` | `connect`. - - - `state` - The state of the attachment. Valid values are `available` | - `deleted` | `deleting` | `failed` | `failing` | - `initiatingRequest` | `modifying` | `pendingAcceptance` | `pending` - | `rollingBack` | `rejected` | `rejecting`. - - - `transit-gateway-attachment-id` - The ID of the attachment. - - - `transit-gateway-id` - The ID of the transit gateway. - - - `transit-gateway-owner-id` - The ID of the Amazon Web Services account - that owns the transit gateway. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayAttachmentsOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewayAttachmentsOutput structure.""" - - transit_gateway_attachments: list[TransitGatewayAttachment] | None = ... - """Information about the attachments.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayConnectPeersInput(_SerdeShape): - """Dataclass for DescribeTransitGatewayConnectPeersInput structure.""" - - transit_gateway_connect_peer_ids: list[str] | None = ... - """The IDs of the Connect peers.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `state` - The state of the Connect peer (`pending` | `available` | - `deleting` | `deleted`). - - - `transit-gateway-attachment-id` - The ID of the attachment. - - - `transit-gateway-connect-peer-id` - The ID of the Connect peer. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayConnectPeersOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewayConnectPeersOutput structure.""" - - transit_gateway_connect_peers: list[TransitGatewayConnectPeer] | None = ... - """Information about the Connect peers.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayConnectsInput(_SerdeShape): - """Dataclass for DescribeTransitGatewayConnectsInput structure.""" - - transit_gateway_attachment_ids: list[str] | None = ... - """The IDs of the attachments.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `options.protocol` - The tunnel protocol (`gre`). - - - `state` - The state of the attachment (`initiating` | - `initiatingRequest` | `pendingAcceptance` | `rollingBack` | - `pending` | `available` | `modifying` | `deleting` | `deleted` | - `failed` | `rejected` | `rejecting` | `failing`). - - - `transit-gateway-attachment-id` - The ID of the Connect attachment. - - - `transit-gateway-id` - The ID of the transit gateway. - - - `transport-transit-gateway-attachment-id` - The ID of the transit - gateway attachment from which the Connect attachment was created. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayConnectsOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewayConnectsOutput structure.""" - - transit_gateway_connects: list[TransitGatewayConnect] | None = ... - """Information about the Connect attachments.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayMeteringPoliciesInput(_SerdeShape): - """Dataclass for DescribeTransitGatewayMeteringPoliciesInput structure.""" - - transit_gateway_metering_policy_ids: list[str] | None = ... - """The IDs of the transit gateway metering policies to describe.""" - filters: list[Filter] | None = ... - """ - One or more filters to apply when describing transit gateway metering - policies. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayMeteringPoliciesOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewayMeteringPoliciesOutput structure.""" - - transit_gateway_metering_policies: list[TransitGatewayMeteringPolicy] | None = ... - """Information about the transit gateway metering policies.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayMulticastDomainsInput(_SerdeShape): - """Dataclass for DescribeTransitGatewayMulticastDomainsInput structure.""" - - transit_gateway_multicast_domain_ids: list[str] | None = ... - """The ID of the transit gateway multicast domain.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `state` - The state of the transit gateway multicast domain. Valid - values are `pending` | `available` | `deleting` | `deleted`. - - - `transit-gateway-id` - The ID of the transit gateway. - - - `transit-gateway-multicast-domain-id` - The ID of the transit gateway - multicast domain. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayMulticastDomainsOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewayMulticastDomainsOutput structure.""" - - transit_gateway_multicast_domains: list[TransitGatewayMulticastDomain] | None = ... - """Information about the transit gateway multicast domains.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayPeeringAttachmentsInput(_SerdeShape): - """Dataclass for DescribeTransitGatewayPeeringAttachmentsInput structure.""" - - transit_gateway_attachment_ids: list[str] | None = ... - """One or more IDs of the transit gateway peering attachments.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `transit-gateway-attachment-id` - The ID of the transit gateway - attachment. - - - `local-owner-id` - The ID of your Amazon Web Services account. - - - `remote-owner-id` - The ID of the Amazon Web Services account in the - remote Region that owns the transit gateway. - - - `state` - The state of the peering attachment. Valid values are - `available` | `deleted` | `deleting` | `failed` | `failing` | - `initiatingRequest` | `modifying` | `pendingAcceptance` | `pending` - | `rollingBack` | `rejected` | `rejecting`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - 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. - - - `transit-gateway-id` - The ID of the transit gateway. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayPeeringAttachmentsOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewayPeeringAttachmentsOutput structure.""" - - transit_gateway_peering_attachments: ( - list[TransitGatewayPeeringAttachment] | None - ) = ... - """The transit gateway peering attachments.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayPolicyTablesInput(_SerdeShape): - """Dataclass for DescribeTransitGatewayPolicyTablesInput structure.""" - - transit_gateway_policy_table_ids: list[str] | None = ... - """The IDs of the transit gateway policy tables.""" - filters: list[Filter] | None = ... - """The filters associated with the transit gateway policy table.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayPolicyTablesOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewayPolicyTablesOutput structure.""" - - transit_gateway_policy_tables: list[TransitGatewayPolicyTable] | None = ... - """Describes the transit gateway policy tables.""" - next_token: str | None = ... - """The token for the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayRouteTableAnnouncementsInput(_SerdeShape): - """ - Dataclass for DescribeTransitGatewayRouteTableAnnouncementsInput - structure. - """ - - transit_gateway_route_table_announcement_ids: list[str] | None = ... - """The IDs of the transit gateway route tables that are being advertised.""" - filters: list[Filter] | None = ... - """The filters associated with the transit gateway policy table.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayRouteTableAnnouncementsOutput(_SerdeShape): - """ - Dataclass for DescribeTransitGatewayRouteTableAnnouncementsOutput - structure. - """ - - transit_gateway_route_table_announcements: ( - list[TransitGatewayRouteTableAnnouncement] | None - ) = ... - """Describes the transit gateway route table announcement.""" - next_token: str | None = ... - """The token for the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayRouteTablesInput(_SerdeShape): - """Dataclass for DescribeTransitGatewayRouteTablesInput structure.""" - - transit_gateway_route_table_ids: list[str] | None = ... - """The IDs of the transit gateway route tables.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `default-association-route-table` - Indicates whether this is the - default association route table for the transit gateway (`true` | - `false`). - - - `default-propagation-route-table` - Indicates whether this is the - default propagation route table for the transit gateway (`true` | - `false`). - - - `state` - The state of the route table (`available` | `deleting` | - `deleted` | `pending`). - - - `transit-gateway-id` - The ID of the transit gateway. - - - `transit-gateway-route-table-id` - The ID of the transit gateway route - table. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayRouteTablesOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewayRouteTablesOutput structure.""" - - transit_gateway_route_tables: list[TransitGatewayRouteTable] | None = ... - """Information about the transit gateway route tables.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewaysInput(_SerdeShape): - """Dataclass for DescribeTransitGatewaysInput structure.""" - - transit_gateway_ids: list[str] | None = ... - """The IDs of the transit gateways.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `options.propagation-default-route-table-id` - The ID of the default - propagation route table. - - - `options.amazon-side-asn` - The private ASN for the Amazon side of a - BGP session. - - - `options.association-default-route-table-id` - The ID of the default - association route table. - - - `options.auto-accept-shared-attachments` - Indicates whether there is - automatic acceptance of attachment requests (`enable` | `disable`). - - - `options.default-route-table-association` - Indicates whether resource - attachments are automatically associated with the default association - route table (`enable` | `disable`). - - - `options.default-route-table-propagation` - Indicates whether resource - attachments automatically propagate routes to the default propagation - route table (`enable` | `disable`). - - - `options.dns-support` - Indicates whether DNS support is enabled - (`enable` | `disable`). - - - `options.vpn-ecmp-support` - Indicates whether Equal Cost Multipath - Protocol support is enabled (`enable` | `disable`). - - - `owner-id` - The ID of the Amazon Web Services account that owns the - transit gateway. - - - `state` - The state of the transit gateway (`available` | `deleted` - | `deleting` | `modifying` | `pending`). - - - `transit-gateway-id` - The ID of the transit gateway. - - - `tag-key `- The key/value combination of a tag assigned to the - resource. Use the tag key in the filter name and the tag value as the - filter value. For example, to find all resources that have a tag with - the key `Owner` and the value `TeamA`, specify `tag:Owner` for the - filter name and `TeamA` for the filter value. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewaysOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewaysOutput structure.""" - - transit_gateways: list[TransitGateway] | None = ... - """Information about the transit gateways.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayVpcAttachmentsInput(_SerdeShape): - """Dataclass for DescribeTransitGatewayVpcAttachmentsInput structure.""" - - transit_gateway_attachment_ids: list[str] | None = ... - """The IDs of the attachments.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `state` - The state of the attachment. Valid values are `available` | - `deleted` | `deleting` | `failed` | `failing` | - `initiatingRequest` | `modifying` | `pendingAcceptance` | `pending` - | `rollingBack` | `rejected` | `rejecting`. - - - `transit-gateway-attachment-id` - The ID of the attachment. - - - `transit-gateway-id` - The ID of the transit gateway. - - - `vpc-id` - The ID of the VPC. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeTransitGatewayVpcAttachmentsOutput(_SerdeShape): - """Dataclass for DescribeTransitGatewayVpcAttachmentsOutput structure.""" - - transit_gateway_vpc_attachments: list[TransitGatewayVpcAttachment] | None = ... - """Information about the VPC attachments.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTrunkInterfaceAssociationsInput(_SerdeShape): - """Dataclass for DescribeTrunkInterfaceAssociationsInput structure.""" - - association_ids: list[str] | None = ... - """The IDs of the associations.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters. - - - `gre-key` - The ID of a trunk interface association. - - - `interface-protocol` - The interface protocol. Valid values are `VLAN` - and `GRE`. - """ - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - -@dataclass(kw_only=True) -class DescribeTrunkInterfaceAssociationsOutput(_SerdeShape): - """Dataclass for DescribeTrunkInterfaceAssociationsOutput structure.""" - - interface_associations: list[TrunkInterfaceAssociation] | None = ... - """Information about the trunk associations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessEndpointsInput(_SerdeShape): - """Dataclass for DescribeVerifiedAccessEndpointsInput structure.""" - - verified_access_endpoint_ids: list[str] | None = ... - """The ID of the Verified Access endpoint.""" - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - verified_access_group_id: str | None = ... - """The ID of the Verified Access group.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """One or more filters. Filter names and values are case-sensitive.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessEndpointsOutput(_SerdeShape): - """Dataclass for DescribeVerifiedAccessEndpointsOutput structure.""" - - verified_access_endpoints: list[VerifiedAccessEndpoint] | None = ... - """Details about the Verified Access endpoints.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessGroupsInput(_SerdeShape): - """Dataclass for DescribeVerifiedAccessGroupsInput structure.""" - - verified_access_group_ids: list[str] | None = ... - """The ID of the Verified Access groups.""" - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """One or more filters. Filter names and values are case-sensitive.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessGroupsOutput(_SerdeShape): - """Dataclass for DescribeVerifiedAccessGroupsOutput structure.""" - - verified_access_groups: list[VerifiedAccessGroup] | None = ... - """Details about the Verified Access groups.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessInstanceLoggingConfigurationsInput(_SerdeShape): - """ - Dataclass for DescribeVerifiedAccessInstanceLoggingConfigurationsInput - structure. - """ - - verified_access_instance_ids: list[str] | None = ... - """The IDs of the Verified Access instances.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """One or more filters. Filter names and values are case-sensitive.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessInstanceLoggingConfigurationsOutput(_SerdeShape): - """ - Dataclass for DescribeVerifiedAccessInstanceLoggingConfigurationsOutput - structure. - """ - - logging_configurations: ( - list[VerifiedAccessInstanceLoggingConfiguration] | None - ) = ... - """The logging configuration for the Verified Access instances.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessInstancesInput(_SerdeShape): - """Dataclass for DescribeVerifiedAccessInstancesInput structure.""" - - verified_access_instance_ids: list[str] | None = ... - """The IDs of the Verified Access instances.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """One or more filters. Filter names and values are case-sensitive.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessInstancesOutput(_SerdeShape): - """Dataclass for DescribeVerifiedAccessInstancesOutput structure.""" - - verified_access_instances: list[VerifiedAccessInstance] | None = ... - """Details about the Verified Access instances.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessTrustProvidersInput(_SerdeShape): - """Dataclass for DescribeVerifiedAccessTrustProvidersInput structure.""" - - verified_access_trust_provider_ids: list[str] | None = ... - """The IDs of the Verified Access trust providers.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """One or more filters. Filter names and values are case-sensitive.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVerifiedAccessTrustProvidersOutput(_SerdeShape): - """Dataclass for DescribeVerifiedAccessTrustProvidersOutput structure.""" - - verified_access_trust_providers: list[VerifiedAccessTrustProvider] | None = ... - """Details about the Verified Access trust providers.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVolumeAttributeInput(_SerdeShape): - """Dataclass for DescribeVolumeAttributeInput structure.""" - - attribute: str | None = ... - """The attribute of the volume. This parameter is required.""" - volume_id: str | None = ... - """The ID of the volume.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVolumeAttributeOutput(_SerdeShape): - """Dataclass for DescribeVolumeAttributeOutput structure.""" - - auto_enable_io: AttributeBooleanValue | None = ... - """The state of `autoEnableIO` attribute.""" - product_codes: list[ProductCode] | None = ... - """A list of product codes.""" - volume_id: str | None = ... - """The ID of the volume.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVolumesInput(_SerdeShape): - """Dataclass for DescribeVolumesInput structure.""" - - volume_ids: list[str] | None = ... - """ - The volume IDs. If not specified, then all volumes are included in the - response. - """ - include_managed_resources: bool | None = ... - """ - Indicates whether to include managed resources in the output. If this - parameter is set to `true`, the output includes resources that are - managed by Amazon Web Services services, even if managed resource - visibility is set to hidden. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `attachment.attach-time` - The time stamp when the attachment - initiated. - - - `attachment.delete-on-termination` - Whether the volume is deleted on - instance termination. - - - `attachment.device` - The device name specified in the block device - mapping (for example, `/dev/sda1`). - - - `attachment.instance-id` - The ID of the instance the volume is - attached to. - - - `attachment.status` - The attachment state (`attaching` | `attached` - | `detaching`). - - - `availability-zone` - The Availability Zone in which the volume was - created. - - - `availability-zone-id` - The ID of the Availability Zone in which the - volume was created. - - - `create-time` - The time stamp when the volume was created. - - - `encrypted` - Indicates whether the volume is encrypted (`true` | - `false`) - - - `fast-restored` - Indicates whether the volume was created from a - snapshot that is enabled for fast snapshot restore (`true` | - `false`). - - - `multi-attach-enabled` - Indicates whether the volume is enabled for - Multi-Attach (`true` | `false`) - - - `operator.managed` - A Boolean that indicates whether this is a - managed volume. - - - `operator.principal` - The principal that manages the volume. Only - valid for managed volumes, where `managed` is `true`. - - - `size` - The size of the volume, in GiB. - - - `snapshot-id` - The snapshot from which the volume was created. - - - `status` - The state of the volume (`creating` | `available` | - `in-use` | `deleting` | `deleted` | `error`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `volume-id` - The volume ID. - - - `volume-type` - The Amazon EBS volume type (`gp2` | `gp3` | `io1` | - `io2` | `st1` | `sc1`| `standard`) - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeVolumesModificationsInput(_SerdeShape): - """Dataclass for DescribeVolumesModificationsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - volume_ids: list[str] | None = ... - """The IDs of the volumes.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `modification-state` - The current modification state (modifying | - optimizing | completed | failed). - - - `original-iops` - The original IOPS rate of the volume. - - - `original-size` - The original size of the volume, in GiB. - - - `original-volume-type` - The original volume type of the volume - (standard | io1 | io2 | gp2 | sc1 | st1). - - - `originalMultiAttachEnabled` - Indicates whether Multi-Attach support - was enabled (true | false). - - - `start-time` - The modification start time. - - - `target-iops` - The target IOPS rate of the volume. - - - `target-size` - The target size of the volume, in GiB. - - - `target-volume-type` - The target volume type of the volume (standard - | io1 | io2 | gp2 | sc1 | st1). - - - `targetMultiAttachEnabled` - Indicates whether Multi-Attach support is - to be enabled (true | false). - - - `volume-id` - The ID of the volume. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - The maximum number of results (up to a limit of 500) to be returned in a - paginated request. For more information, see - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - include_managed_resources: bool | None = ... - """ - Indicates whether to include managed resources in the output. If this - parameter is set to `true`, the output includes resources that are - managed by Amazon Web Services services, even if managed resource - visibility is set to hidden. - """ - -@dataclass(kw_only=True) -class DescribeVolumesModificationsOutput(_SerdeShape): - """Dataclass for DescribeVolumesModificationsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - volumes_modifications: list[VolumeModification] | None = ... - """Information about the volume modifications.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVolumesOutput(_SerdeShape): - """Dataclass for DescribeVolumesOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - volumes: list[Volume] | None = ... - """Information about the volumes.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVolumeStatusInput(_SerdeShape): - """Dataclass for DescribeVolumeStatusInput structure.""" - - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - volume_ids: list[str] | None = ... - """ - The IDs of the volumes. - - Default: Describes all your volumes. - """ - include_managed_resources: bool | None = ... - """ - Indicates whether to include managed resources in the output. If this - parameter is set to `true`, the output includes resources that are - managed by Amazon Web Services services, even if managed resource - visibility is set to hidden. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `action.code` - The action code for the event (for example, - `enable-volume-io`). - - - `action.description` - A description of the action. - - - `action.event-id` - The event ID associated with the action. - - - `availability-zone` - The Availability Zone of the instance. - - - `event.description` - A description of the event. - - - `event.event-id` - The event ID. - - - `event.event-type` - The event type (for `io-enabled`: `passed` | - `failed`; for `io-performance`: `io-performance:degraded` | - `io-performance:severely-degraded` | `io-performance:stalled`). - - - `event.not-after` - The latest end time for the event. - - - `event.not-before` - The earliest start time for the event. - - - `volume-status.details-name` - The cause for `volume-status.status` - (`io-enabled` | `io-performance`). - - - `volume-status.details-status` - The status of - `volume-status.details-name` (for `io-enabled`: `passed` | `failed`; - for `io-performance`: `normal` | `degraded` | `severely-degraded` | - `stalled`). - - - `volume-status.status` - The status of the volume (`ok` | `impaired` - | `warning` | `insufficient-data`). - """ - -@dataclass(kw_only=True) -class DescribeVolumeStatusOutput(_SerdeShape): - """Dataclass for DescribeVolumeStatusOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - volume_statuses: list[VolumeStatusItem] | None = ... - """Information about the status of the volumes.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcAttributeInput(_SerdeShape): - """Dataclass for DescribeVpcAttributeInput structure.""" - - attribute: str | None = ... - """The VPC attribute.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVpcAttributeOutput(_SerdeShape): - """Dataclass for DescribeVpcAttributeOutput structure.""" - - enable_dns_hostnames: AttributeBooleanValue | None = ... - """ - Indicates whether the instances launched in the VPC get DNS hostnames. - If this attribute is `true`, instances in the VPC get DNS hostnames; - otherwise, they do not. - """ - enable_dns_support: AttributeBooleanValue | None = ... - """ - Indicates whether DNS resolution is enabled for the VPC. If this - attribute is `true`, the Amazon DNS server resolves DNS hostnames for - your instances to their corresponding IP addresses; otherwise, it does - not. - """ - enable_network_address_usage_metrics: AttributeBooleanValue | None = ... - """ - Indicates whether Network Address Usage metrics are enabled for your - VPC. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcBlockPublicAccessExclusionsInput(_SerdeShape): - """Dataclass for DescribeVpcBlockPublicAccessExclusionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - Filters for the request: - - - `resource-arn` - The Amazon Resource Name (ARN) of a exclusion. - - - `internet-gateway-exclusion-mode` - The mode of a VPC BPA exclusion. - Possible values: `allow-bidirectional | allow-egress`. - - - `state` - The state of VPC BPA. Possible values: - `create-in-progress | create-complete | update-in-progress | update-complete | delete-in-progress | deleted-complete | disable-in-progress | disable-complete` - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `tag-value`: The value of a tag assigned to the resource. Use this - filter to find all resources assigned a tag with a specific value, - regardless of the tag key. - """ - exclusion_ids: list[str] | None = ... - """IDs of exclusions.""" - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeVpcBlockPublicAccessExclusionsOutput(_SerdeShape): - """Dataclass for DescribeVpcBlockPublicAccessExclusionsOutput structure.""" - - vpc_block_public_access_exclusions: list[VpcBlockPublicAccessExclusion] | None = ... - """Details related to the exclusions.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcBlockPublicAccessOptionsInput(_SerdeShape): - """Dataclass for DescribeVpcBlockPublicAccessOptionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVpcBlockPublicAccessOptionsOutput(_SerdeShape): - """Dataclass for DescribeVpcBlockPublicAccessOptionsOutput structure.""" - - vpc_block_public_access_options: VpcBlockPublicAccessOptions | None = ... - """Details related to the options.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcClassicLinkDnsSupportInput(_SerdeShape): - """Dataclass for DescribeVpcClassicLinkDnsSupportInput structure.""" - - vpc_ids: list[str] | None = ... - """The IDs of the VPCs.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - -@dataclass(kw_only=True) -class DescribeVpcClassicLinkDnsSupportOutput(_SerdeShape): - """Dataclass for DescribeVpcClassicLinkDnsSupportOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - vpcs: list[ClassicLinkDnsSupport] | None = ... - """Information about the ClassicLink DNS support status of the VPCs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcClassicLinkInput(_SerdeShape): - """Dataclass for DescribeVpcClassicLinkInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_ids: list[str] | None = ... - """The VPCs for which you want to describe the ClassicLink status.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `is-classic-link-enabled` - Whether the VPC is enabled for ClassicLink - (`true` | `false`). - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - -@dataclass(kw_only=True) -class DescribeVpcClassicLinkOutput(_SerdeShape): - """Dataclass for DescribeVpcClassicLinkOutput structure.""" - - vpcs: list[VpcClassicLink] | None = ... - """The ClassicLink status of the VPCs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcEncryptionControlsInput(_SerdeShape): - """Dataclass for DescribeVpcEncryptionControlsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """The filters to apply to the request.""" - vpc_encryption_control_ids: list[str] | None = ... - """The IDs of the VPC Encryption Control configurations to describe.""" - vpc_ids: list[str] | None = ... - """The IDs of the VPCs to describe encryption control configurations for.""" - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - -@dataclass(kw_only=True) -class DescribeVpcEncryptionControlsOutput(_SerdeShape): - """Dataclass for DescribeVpcEncryptionControlsOutput structure.""" - - vpc_encryption_controls: list[VpcEncryptionControl] | None = ... - """Information about the VPC Encryption Control configurations.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcEndpointAssociationsInput(_SerdeShape): - """Dataclass for DescribeVpcEndpointAssociationsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_endpoint_ids: list[str] | None = ... - """The IDs of the VPC endpoints.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `vpc-endpoint-id` - The ID of the VPC endpoint. - - - `associated-resource-accessibility` - The association state. When the - state is `accessible`, it returns `AVAILABLE`. When the state is - `inaccessible`, it returns `PENDING` or `FAILED`. - - - `association-id` - The ID of the VPC endpoint association. - - - `associated-resource-id` - The ID of the associated resource - configuration. - - - `service-network-arn` - The Amazon Resource Name (ARN) of the - associated service network. Only VPC endpoints of type service network - will be returned. - - - `resource-configuration-group-arn` - The Amazon Resource Name (ARN) of - the resource configuration of type GROUP. - """ - max_results: int | None = ... - """The maximum page size.""" - next_token: str | None = ... - """The pagination token.""" - -@dataclass(kw_only=True) -class DescribeVpcEndpointAssociationsOutput(_SerdeShape): - """Dataclass for DescribeVpcEndpointAssociationsOutput structure.""" - - vpc_endpoint_associations: list[VpcEndpointAssociation] | None = ... - """Details of the endpoint associations.""" - next_token: str | None = ... - """The pagination token.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcEndpointConnectionNotificationsInput(_SerdeShape): - """Dataclass for DescribeVpcEndpointConnectionNotificationsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - connection_notification_id: str | None = ... - """The ID of the notification.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `connection-notification-arn` - The ARN of the SNS topic for the - notification. - - - `connection-notification-id` - The ID of the notification. - - - `connection-notification-state` - The state of the notification - (`Enabled` | `Disabled`). - - - `connection-notification-type` - The type of notification (`Topic`). - - - `service-id` - The ID of the endpoint service. - - - `vpc-endpoint-id` - The ID of the VPC endpoint. - """ - max_results: int | None = ... - """ - The maximum number of results to return in a single call. To retrieve - the remaining results, make another request with the returned - `NextToken` value. - """ - next_token: str | None = ... - """The token to request the next page of results.""" - -@dataclass(kw_only=True) -class DescribeVpcEndpointConnectionNotificationsOutput(_SerdeShape): - """ - Dataclass for DescribeVpcEndpointConnectionNotificationsOutput - structure. - """ - - connection_notification_set: list[ConnectionNotification] | None = ... - """The notifications.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcEndpointConnectionsInput(_SerdeShape): - """Dataclass for DescribeVpcEndpointConnectionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `ip-address-type` - The IP address type (`ipv4` | `ipv6`). - - - `service-id` - The ID of the service. - - - `vpc-endpoint-owner` - The ID of the Amazon Web Services account ID - that owns the endpoint. - - - `vpc-endpoint-region` - The Region of the endpoint or `cross-region` - to find endpoints for other Regions. - - - `vpc-endpoint-state` - The state of the endpoint (`pendingAcceptance` - | `pending` | `available` | `deleting` | `deleted` | `rejected` - | `failed`). - - - `vpc-endpoint-id` - The ID of the endpoint. - """ - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results of the initial request can be seen by - sending another request with the returned `NextToken` value. This value - can be between 5 and 1,000; if `MaxResults` is given a value larger than - 1,000, only 1,000 results are returned. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - -@dataclass(kw_only=True) -class DescribeVpcEndpointConnectionsOutput(_SerdeShape): - """Dataclass for DescribeVpcEndpointConnectionsOutput structure.""" - - vpc_endpoint_connections: list[VpcEndpointConnection] | None = ... - """Information about the VPC endpoint connections.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcEndpointServiceConfigurationsInput(_SerdeShape): - """Dataclass for DescribeVpcEndpointServiceConfigurationsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_ids: list[str] | None = ... - """The IDs of the endpoint services.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `service-name` - The name of the service. - - - `service-id` - The ID of the service. - - - `service-state` - The state of the service (`Pending` | `Available` - | `Deleting` | `Deleted` | `Failed`). - - - `supported-ip-address-types` - The IP address type (`ipv4` | `ipv6`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results of the initial request can be seen by - sending another request with the returned `NextToken` value. This value - can be between 5 and 1,000; if `MaxResults` is given a value larger than - 1,000, only 1,000 results are returned. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - -@dataclass(kw_only=True) -class DescribeVpcEndpointServiceConfigurationsOutput(_SerdeShape): - """Dataclass for DescribeVpcEndpointServiceConfigurationsOutput structure.""" - - service_configurations: list[ServiceConfiguration] | None = ... - """Information about the services.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcEndpointServicePermissionsInput(_SerdeShape): - """Dataclass for DescribeVpcEndpointServicePermissionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_id: str | None = ... - """The ID of the service.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `principal` - The ARN of the principal. - - - `principal-type` - The principal type (`All` | `Service` | - `OrganizationUnit` | `Account` | `User` | `Role`). - """ - max_results: int | None = ... - """ - The maximum number of results to return for the request in a single - page. The remaining results of the initial request can be seen by - sending another request with the returned `NextToken` value. This value - can be between 5 and 1,000; if `MaxResults` is given a value larger than - 1,000, only 1,000 results are returned. - """ - next_token: str | None = ... - """The token to retrieve the next page of results.""" - -@dataclass(kw_only=True) -class DescribeVpcEndpointServicePermissionsOutput(_SerdeShape): - """Dataclass for DescribeVpcEndpointServicePermissionsOutput structure.""" - - allowed_principals: list[AllowedPrincipal] | None = ... - """Information about the allowed principals.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcEndpointServicesInput(_SerdeShape): - """Dataclass for DescribeVpcEndpointServicesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_names: list[str] | None = ... - """The service names.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `owner` - The ID or alias of the Amazon Web Services account that owns - the service. - - - `service-name` - The name of the service. - - - `service-region` - The Region of the service. - - - `service-type` - The type of service (`Interface` | `Gateway` | - `GatewayLoadBalancer`). - - - `supported-ip-address-types` - The IP address type (`ipv4` | `ipv6`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - max_results: int | None = ... - """ - The maximum number of items to return for this request. The request - returns a token that you can specify in a subsequent call to get the - next set of results. - - Constraint: If the value is greater than 1,000, we return only 1,000 - items. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a prior call.) - """ - service_regions: list[str] | None = ... - """The service Regions.""" - -@dataclass(kw_only=True) -class DescribeVpcEndpointServicesOutput(_SerdeShape): - """Dataclass for DescribeVpcEndpointServicesOutput structure.""" - - service_names: list[str] | None = ... - """The supported services.""" - service_details: list[ServiceDetail] | None = ... - """Information about the service.""" - next_token: str | None = ... - """ - The token to use when requesting the next set of items. If there are no - additional items to return, the string is empty. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcEndpointsInput(_SerdeShape): - """Dataclass for DescribeVpcEndpointsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_endpoint_ids: list[str] | None = ... - """The IDs of the VPC endpoints.""" - filters: list[Filter] | None = ... - """ - The filters. - - - `ip-address-type` - The IP address type (`ipv4` | `ipv6`). - - - `service-name` - The name of the service. - - - `service-region` - The Region of the service. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC in which the endpoint resides. - - - `vpc-endpoint-id` - The ID of the endpoint. - - - `vpc-endpoint-state` - The state of the endpoint (`pendingAcceptance` - | `pending` | `available` | `deleting` | `deleted` | `rejected` - | `failed`). - - - `vpc-endpoint-type` - The type of VPC endpoint (`Interface` | - `Gateway` | `GatewayLoadBalancer` | `Resource` | `ServiceNetwork` - | `Tunnel`). - """ - max_results: int | None = ... - """ - The maximum number of items to return for this request. The request - returns a token that you can specify in a subsequent call to get the - next set of results. - - Constraint: If the value is greater than 1,000, we return only 1,000 - items. - """ - next_token: str | None = ... - """ - The token for the next set of items to return. (You received this token - from a prior call.) - """ - -@dataclass(kw_only=True) -class DescribeVpcEndpointsOutput(_SerdeShape): - """Dataclass for DescribeVpcEndpointsOutput structure.""" - - vpc_endpoints: list[VpcEndpoint] | None = ... - """Information about the VPC endpoints.""" - next_token: str | None = ... - """ - The token to use when requesting the next set of items. If there are no - additional items to return, the string is empty. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcPeeringConnectionsInput(_SerdeShape): - """Dataclass for DescribeVpcPeeringConnectionsInput structure.""" - - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_peering_connection_ids: list[str] | None = ... - """ - The IDs of the VPC peering connections. - - Default: Describes all your VPC peering connections. - """ - filters: list[Filter] | None = ... - """ - The filters. - - - `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter - VPC. - - - `accepter-vpc-info.owner-id` - The ID of the Amazon Web Services - account that owns the accepter VPC. - - - `accepter-vpc-info.vpc-id` - The ID of the accepter VPC. - - - `expiration-time` - The expiration date and time for the VPC peering - connection. - - - `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the - requester's VPC. - - - `requester-vpc-info.owner-id` - The ID of the Amazon Web Services - account that owns the requester VPC. - - - `requester-vpc-info.vpc-id` - The ID of the requester VPC. - - - `status-code` - The status of the VPC peering connection - (`pending-acceptance` | `failed` | `expired` | `provisioning` | - `active` | `deleting` | `deleted` | `rejected`). - - - `status-message` - A message that provides more information about the - status of the VPC peering connection, if applicable. - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-peering-connection-id` - The ID of the VPC peering connection. - """ - -@dataclass(kw_only=True) -class DescribeVpcPeeringConnectionsOutput(_SerdeShape): - """Dataclass for DescribeVpcPeeringConnectionsOutput structure.""" - - vpc_peering_connections: list[VpcPeeringConnection] | None = ... - """Information about the VPC peering connections.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpcsInput(_SerdeShape): - """Dataclass for DescribeVpcsInput structure.""" - - filters: list[Filter] | None = ... - """ - The filters. - - - `cidr` - The primary IPv4 CIDR block of the VPC. The CIDR block you - specify must exactly match the VPC's CIDR block for information to be - returned for the VPC. Must contain the slash followed by one or two - digits (for example, `/28`). - - - `cidr-block-association.cidr-block` - An IPv4 CIDR block associated - with the VPC. - - - `cidr-block-association.association-id` - The association ID for an - IPv4 CIDR block associated with the VPC. - - - `cidr-block-association.state` - The state of an IPv4 CIDR block - associated with the VPC. - - - `dhcp-options-id` - The ID of a set of DHCP options. - - - `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block - associated with the VPC. - - - `ipv6-cidr-block-association.ipv6-pool` - The ID of the IPv6 address - pool from which the IPv6 CIDR block is allocated. - - - `ipv6-cidr-block-association.association-id` - The association ID for - an IPv6 CIDR block associated with the VPC. - - - `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR block - associated with the VPC. - - - `is-default` - Indicates whether the VPC is the default VPC. - - - `owner-id` - The ID of the Amazon Web Services account that owns the - VPC. - - - `state` - The state of the VPC (`pending` | `available`). - - - `tag` - 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 - `Owner` and the value `TeamA`, specify `tag:Owner` for the filter name - and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `vpc-id` - The ID of the VPC. - """ - vpc_ids: list[str] | None = ... - """The IDs of the VPCs.""" - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVpcsOutput(_SerdeShape): - """Dataclass for DescribeVpcsOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - vpcs: list[Vpc] | None = ... - """Information about the VPCs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpnConcentratorsInput(_SerdeShape): - """Dataclass for DescribeVpnConcentratorsInput structure.""" - - vpn_concentrator_ids: list[str] | None = ... - """One or more VPN concentrator IDs.""" - filters: list[Filter] | None = ... - """One or more filters to limit the results.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVpnConcentratorsOutput(_SerdeShape): - """Dataclass for DescribeVpnConcentratorsOutput structure.""" - - vpn_concentrators: list[VpnConcentrator] | None = ... - """Information about the VPN concentrators.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpnConnectionsInput(_SerdeShape): - """Contains the parameters for DescribeVpnConnections.""" - - filters: list[Filter] | None = ... - """ - One or more filters. - - - `customer-gateway-configuration` - The configuration information for - the customer gateway. - - - `customer-gateway-id` - The ID of a customer gateway associated with - the VPN connection. - - - `state` - The state of the VPN connection (`pending` | `available` | - `deleting` | `deleted`). - - - `option.static-routes-only` - Indicates whether the connection has - static routes only. Used for devices that do not support Border - Gateway Protocol (BGP). - - - `route.destination-cidr-block` - The destination CIDR block. This - corresponds to the subnet used in a customer data center. - - - `bgp-asn` - The BGP Autonomous System Number (ASN) associated with a - BGP device. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `type` - The type of VPN connection. Currently the only supported type - is `ipsec.1`. - - - `vpn-connection-id` - The ID of the VPN connection. - - - `vpn-gateway-id` - The ID of a virtual private gateway associated with - the VPN connection. - - - `transit-gateway-id` - The ID of a transit gateway associated with the - VPN connection. - """ - vpn_connection_ids: list[str] | None = ... - """ - One or more VPN connection IDs. - - Default: Describes your VPN connections. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVpnConnectionsOutput(_SerdeShape): - """Contains the output of DescribeVpnConnections.""" - - vpn_connections: list[VpnConnection] | None = ... - """Information about one or more VPN connections.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeVpnGatewaysInput(_SerdeShape): - """Contains the parameters for DescribeVpnGateways.""" - - filters: list[Filter] | None = ... - """ - One or more filters. - - - `amazon-side-asn` - The Autonomous System Number (ASN) for the Amazon - side of the gateway. - - - `attachment.state` - The current state of the attachment between the - gateway and the VPC (`attaching` | `attached` | `detaching` | - `detached`). - - - `attachment.vpc-id` - The ID of an attached VPC. - - - `availability-zone` - The Availability Zone for the virtual private - gateway (if applicable). - - - `state` - The state of the virtual private gateway (`pending` | - `available` | `deleting` | `deleted`). - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - - - `type` - The type of virtual private gateway. Currently the only - supported type is `ipsec.1`. - - - `vpn-gateway-id` - The ID of the virtual private gateway. - """ - vpn_gateway_ids: list[str] | None = ... - """ - One or more virtual private gateway IDs. - - Default: Describes all your virtual private gateways. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DescribeVpnGatewaysOutput(_SerdeShape): - """Contains the output of DescribeVpnGateways.""" - - vpn_gateways: list[VpnGateway] | None = ... - """Information about one or more virtual private gateways.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DestinationFileFormat(UnknownEnumMixin, StrEnum): - PLAIN_TEXT = "plain-text" - PARQUET = "parquet" - -@dataclass(kw_only=True) -class DestinationOptionsRequest(_SerdeShape): - """Describes the destination options for a flow log.""" - - file_format: str | None = ... - """The format for the flow log. The default is `plain-text`.""" - hive_compatible_partitions: bool | None = ... - """ - Indicates whether to use Hive-compatible prefixes for flow logs stored - in Amazon S3. The default is `false`. - """ - per_hour_partition: bool | None = ... - """ - Indicates whether to partition the flow log per hour. This reduces the - cost and response time for queries. The default is `false`. - """ - -@dataclass(kw_only=True) -class DestinationOptionsResponse(_SerdeShape): - """Describes the destination options for a flow log.""" - - file_format: str | None = ... - """The format for the flow log.""" - hive_compatible_partitions: bool | None = ... - """ - Indicates whether to use Hive-compatible prefixes for flow logs stored - in Amazon S3. - """ - per_hour_partition: bool | None = ... - """Indicates whether to partition the flow log per hour.""" - -@dataclass(kw_only=True) -class DetachClassicLinkVpcInput(_SerdeShape): - """Dataclass for DetachClassicLinkVpcInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the instance to unlink from the VPC.""" - vpc_id: str | None = ... - """The ID of the VPC to which the instance is linked.""" - -@dataclass(kw_only=True) -class DetachClassicLinkVpcOutput(_SerdeShape): - """Dataclass for DetachClassicLinkVpcOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetachImageWatermarkInput(_SerdeShape): - """Dataclass for DetachImageWatermarkInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - watermark_key: str | None = ... - """ - The watermark key to remove, in `accountId:watermarkName` format (for - example, `123456789012:approvedAmi`). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DetachImageWatermarkOutput(_SerdeShape): - """Dataclass for DetachImageWatermarkOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetachInternetGatewayInput(_SerdeShape): - """Dataclass for DetachInternetGatewayInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - internet_gateway_id: str | None = ... - """The ID of the internet gateway.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class DetachInternetGatewayOutput(_SerdeShape): - """Dataclass for DetachInternetGatewayOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetachNetworkInterfaceInput(_SerdeShape): - """Contains the parameters for DetachNetworkInterface.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - attachment_id: str | None = ... - """The ID of the attachment.""" - force: bool | None = ... - """ - Specifies whether to force a detachment. - - Note: - - Use the `Force` parameter only as a last resort to detach a network - interface from a failed instance. - - - If you use the `Force` parameter to detach a network interface, you - might not be able to attach a different network interface to the same - index on the instance without first stopping and starting the - instance. - - - If you force the detachment of a network interface, the [instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) - might not get updated. This means that the attributes associated with - the detached network interface might still be visible. The instance - metadata will get updated when you stop and start the instance. - """ - -@dataclass(kw_only=True) -class DetachNetworkInterfaceOutput(_SerdeShape): - """Dataclass for DetachNetworkInterfaceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetachVerifiedAccessTrustProviderInput(_SerdeShape): - """Dataclass for DetachVerifiedAccessTrustProviderInput structure.""" - - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - verified_access_trust_provider_id: str | None = ... - """The ID of the Verified Access trust provider.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DetachVerifiedAccessTrustProviderOutput(_SerdeShape): - """Dataclass for DetachVerifiedAccessTrustProviderOutput structure.""" - - verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... - """Details about the Verified Access trust provider.""" - verified_access_instance: VerifiedAccessInstance | None = ... - """Details about the Verified Access instance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetachVolumeInput(_SerdeShape): - """Dataclass for DetachVolumeInput structure.""" - - device: str | None = ... - """The device name.""" - force: bool | None = ... - """ - Forces detachment if the previous detachment attempt did not occur - cleanly (for example, logging into an instance, unmounting the volume, - and detaching normally). This option can lead to data loss or a - corrupted file system. Use this option only as a last resort to detach a - volume from a failed instance. The instance won't have an opportunity - to flush file system caches or file system metadata. If you use this - option, you must perform file system check and repair procedures. - """ - instance_id: str | None = ... - """ - The ID of the instance. If you are detaching a Multi-Attach enabled - volume, you must specify an instance ID. - """ - volume_id: str | None = ... - """The ID of the volume.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DetachVolumeOutput(_SerdeShape): - """Describes volume attachment details.""" - - delete_on_termination: bool | None = ... - """Indicates whether the EBS volume is deleted on instance termination.""" - associated_resource: str | None = ... - """ - The ARN of the Amazon Web Services-managed resource to which the volume - is attached. - """ - instance_owning_service: str | None = ... - """ - The service principal of the Amazon Web Services service that owns the - underlying resource to which the volume is attached. - - This parameter is returned only for volumes that are attached to Amazon - Web Services-managed resources. - """ - ebs_card_index: int | None = ... - """ - The index of the EBS card. Some instance types support multiple EBS - cards. The default EBS card index is 0. - """ - volume_id: str | None = ... - """The ID of the volume.""" - instance_id: str | None = ... - """ - The ID of the instance. - - If the volume is attached to an Amazon Web Services-managed resource, - this parameter returns `null`. - """ - device: str | None = ... - """ - The device name. - - If the volume is attached to an Amazon Web Services-managed resource, - this parameter returns `null`. - """ - state: str | None = ... - """The attachment state of the volume.""" - attach_time: datetime | None = ... - """The time stamp when the attachment initiated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetachVpnGatewayInput(_SerdeShape): - """Contains the parameters for DetachVpnGateway.""" - - vpc_id: str | None = ... - """The ID of the VPC.""" - vpn_gateway_id: str | None = ... - """The ID of the virtual private gateway.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DetachVpnGatewayOutput(_SerdeShape): - """Dataclass for DetachVpnGatewayOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeviceOptions(_SerdeShape): - """ - Describes the options for an Amazon Web Services Verified Access - device-identity based trust provider. - """ - - tenant_id: str | None = ... - """The ID of the tenant application with the device-identity provider.""" - public_signing_key_url: str | None = ... - """ - The URL Amazon Web Services Verified Access will use to verify the - authenticity of the device tokens. - """ - -@dataclass(kw_only=True) -class DevicePostureOptions(_SerdeShape): - """ - Describes the device posture options for a Client VPN endpoint. Device - posture options specify the device trust providers that the endpoint - uses to evaluate the security posture of connecting devices. - """ - - trust_providers: list[ClientVpnTrustProviderRequest] | None = ... - """The device trust providers to configure for the Client VPN endpoint.""" - enabled: bool | None = ... - """ - Indicates whether device posture evaluation is enabled for the Client - VPN endpoint. Specify `false` to disable device posture, which clears - the configured device trust providers. - """ - -@dataclass(kw_only=True) -class DevicePostureResponseOptions(_SerdeShape): - """Information about the device posture options for a Client VPN endpoint.""" - - trust_providers: list[ClientVpnTrustProvider] | None = ... - """The device trust providers configured for the Client VPN endpoint.""" - -class DeviceTrustProviderType(UnknownEnumMixin, StrEnum): - JAMF = "jamf" - CROWDSTRIKE = "crowdstrike" - JUMPCLOUD = "jumpcloud" - -class DeviceType(UnknownEnumMixin, StrEnum): - EBS = "ebs" - INSTANCE_STORE = "instance-store" - -@dataclass(kw_only=True) -class DhcpConfiguration(_SerdeShape): - """Describes a DHCP configuration option.""" - - key: str | None = ... - """The name of a DHCP option.""" - values: list[AttributeValue] | None = ... - """The values for the DHCP option.""" - -@dataclass(kw_only=True) -class DhcpOptions(_SerdeShape): - """The set of DHCP options.""" - - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the DHCP options - set. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the DHCP options set.""" - dhcp_options_id: str | None = ... - """The ID of the set of DHCP options.""" - dhcp_configurations: list[DhcpConfiguration] | None = ... - """The DHCP options in the set.""" - -@dataclass(kw_only=True) -class DimensionCondition(_SerdeShape): - """ - Specifies a condition for filtering capacity data based on dimension - values. Used to create precise filters for metric queries and dimension - lookups. - """ - - dimension: str | None = ... - """The name of the dimension to filter by.""" - comparison: str | None = ... - """The comparison operator to use for the filter.""" - values: list[str] | None = ... - """ - The list of values to match against the specified dimension. For - 'equals' comparison, only the first value is used. For 'in' - comparison, any matching value will satisfy the condition. - """ - -@dataclass(kw_only=True) -class DirectoryServiceAuthentication(_SerdeShape): - """Describes an Active Directory.""" - - directory_id: str | None = ... - """The ID of the Active Directory used for authentication.""" - -@dataclass(kw_only=True) -class DirectoryServiceAuthenticationRequest(_SerdeShape): - """Describes the Active Directory to be used for client authentication.""" - - directory_id: str | None = ... - """The ID of the Active Directory to be used for authentication.""" - -@dataclass(kw_only=True) -class DisableAddressTransferInput(_SerdeShape): - """Dataclass for DisableAddressTransferInput structure.""" - - allocation_id: str | None = ... - """The allocation ID of an Elastic IP address.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableAddressTransferOutput(_SerdeShape): - """Dataclass for DisableAddressTransferOutput structure.""" - - address_transfer: AddressTransfer | None = ... - """An Elastic IP address transfer.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableAllowedImagesSettingsInput(_SerdeShape): - """Dataclass for DisableAllowedImagesSettingsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableAllowedImagesSettingsOutput(_SerdeShape): - """Dataclass for DisableAllowedImagesSettingsOutput structure.""" - - allowed_images_settings_state: str | None = ... - """ - Returns `disabled` if the request succeeds; otherwise, it returns an - error. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableApplicationStatusCheckSuppressionInput(_SerdeShape): - """Dataclass for DisableApplicationStatusCheckSuppressionInput structure.""" - - instance_ids: list[str] | None = ... - """ - The IDs of the instances for which to disable application status check - suppression. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure that the - operation completes no more than one time. If you retry a request with - the same token, the service ignores the request but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableApplicationStatusCheckSuppressionOutput(_SerdeShape): - """Dataclass for DisableApplicationStatusCheckSuppressionOutput structure.""" - - successful_results: list[SuccessfulSuppressionResponseObject] | None = ... - """The instances for which suppression was successfully disabled.""" - unsuccessful_results: list[UnsuccessfulSuppressionResponseObject] | None = ... - """The instances for which suppression failed to be disabled.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableAwsNetworkPerformanceMetricSubscriptionInput(_SerdeShape): - """ - Dataclass for DisableAwsNetworkPerformanceMetricSubscriptionInput - structure. - """ - - source: str | None = ... - """ - The source Region or Availability Zone that the metric subscription is - disabled for. For example, `us-east-1`. - """ - destination: str | None = ... - """ - The target Region or Availability Zone that the metric subscription is - disabled for. For example, `eu-north-1`. - """ - metric: str | None = ... - """The metric used for the disabled subscription.""" - statistic: str | None = ... - """The statistic used for the disabled subscription.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableAwsNetworkPerformanceMetricSubscriptionOutput(_SerdeShape): - """ - Dataclass for DisableAwsNetworkPerformanceMetricSubscriptionOutput - structure. - """ - - output: bool | None = ... - """Indicates whether the unsubscribe action was successful.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableCapacityManagerInput(_SerdeShape): - """Dataclass for DisableCapacityManagerInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - -@dataclass(kw_only=True) -class DisableCapacityManagerOutput(_SerdeShape): - """Dataclass for DisableCapacityManagerOutput structure.""" - - capacity_manager_status: str | None = ... - """The current status of Capacity Manager after the disable operation.""" - organizations_access: bool | None = ... - """ - Indicates whether Organizations access is enabled. This will be `false` - after disabling Capacity Manager. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableEbsEncryptionByDefaultInput(_SerdeShape): - """Dataclass for DisableEbsEncryptionByDefaultInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableEbsEncryptionByDefaultOutput(_SerdeShape): - """Dataclass for DisableEbsEncryptionByDefaultOutput structure.""" - - ebs_encryption_by_default: bool | None = ... - """The updated status of encryption by default.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableFastLaunchInput(_SerdeShape): - """Dataclass for DisableFastLaunchInput structure.""" - - image_id: str | None = ... - """Specify the ID of the image for which to disable Windows fast launch.""" - force: bool | None = ... - """ - Forces the image settings to turn off Windows fast launch for your - Windows AMI. This parameter overrides any errors that are encountered - while cleaning up resources in your account. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableFastLaunchOutput(_SerdeShape): - """Dataclass for DisableFastLaunchOutput structure.""" - - image_id: str | None = ... - """The ID of the image for which Windows fast launch was disabled.""" - resource_type: str | None = ... - """ - The pre-provisioning resource type that must be cleaned after turning - off Windows fast launch for the Windows AMI. Supported values include: - `snapshot`. - """ - snapshot_configuration: FastLaunchSnapshotConfigurationResponse | None = ... - """ - Parameters that were used for Windows fast launch for the Windows AMI - before Windows fast launch was disabled. This informs the clean-up - process. - """ - launch_template: FastLaunchLaunchTemplateSpecificationResponse | None = ... - """ - The launch template that was used to launch Windows instances from - pre-provisioned snapshots. - """ - max_parallel_launches: int | None = ... - """ - The maximum number of instances that Amazon EC2 can launch at the same - time to create pre-provisioned snapshots for Windows fast launch. - """ - owner_id: str | None = ... - """The owner of the Windows AMI for which Windows fast launch was disabled.""" - state: str | None = ... - """The current state of Windows fast launch for the specified Windows AMI.""" - state_transition_reason: str | None = ... - """ - The reason that the state changed for Windows fast launch for the - Windows AMI. - """ - state_transition_time: datetime | None = ... - """ - The time that the state changed for Windows fast launch for the Windows - AMI. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableFastSnapshotRestoreErrorItem(_SerdeShape): - """ - Contains information about the errors that occurred when disabling fast - snapshot restores. - """ - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - fast_snapshot_restore_state_errors: ( - list[DisableFastSnapshotRestoreStateErrorItem] | None - ) = ... - """The errors.""" - -@dataclass(kw_only=True) -class DisableFastSnapshotRestoresInput(_SerdeShape): - """Dataclass for DisableFastSnapshotRestoresInput structure.""" - - availability_zones: list[str] | None = ... - """ - One or more Availability Zones. For example, `us-east-2a`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - availability_zone_ids: list[str] | None = ... - """ - One or more Availability Zone IDs. For example, `use2-az1`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - source_snapshot_ids: list[str] | None = ... - """The IDs of one or more snapshots. For example, `snap-1234567890abcdef0`.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableFastSnapshotRestoresOutput(_SerdeShape): - """Dataclass for DisableFastSnapshotRestoresOutput structure.""" - - successful: list[DisableFastSnapshotRestoreSuccessItem] | None = ... - """ - Information about the snapshots for which fast snapshot restores were - successfully disabled. - """ - unsuccessful: list[DisableFastSnapshotRestoreErrorItem] | None = ... - """ - Information about the snapshots for which fast snapshot restores could - not be disabled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableFastSnapshotRestoreStateError(_SerdeShape): - """Describes an error that occurred when disabling fast snapshot restores.""" - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The error message.""" - -@dataclass(kw_only=True) -class DisableFastSnapshotRestoreStateErrorItem(_SerdeShape): - """ - Contains information about an error that occurred when disabling fast - snapshot restores. - """ - - availability_zone: str | None = ... - """The Availability Zone.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - error: DisableFastSnapshotRestoreStateError | None = ... - """The error.""" - -@dataclass(kw_only=True) -class DisableFastSnapshotRestoreSuccessItem(_SerdeShape): - """Describes fast snapshot restores that were successfully disabled.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - availability_zone: str | None = ... - """The Availability Zone.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - state: str | None = ... - """The state of fast snapshot restores for the snapshot.""" - state_transition_reason: str | None = ... - """ - The reason for the state transition. The possible values are as follows: - - - `Client.UserInitiated` - The state successfully transitioned to - `enabling` or `disabling`. - - - `Client.UserInitiated - Lifecycle state transition` - The state - successfully transitioned to `optimizing`, `enabled`, or `disabled`. - """ - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that enabled fast snapshot - restores on the snapshot. - """ - owner_alias: str | None = ... - """ - The Amazon Web Services owner alias that enabled fast snapshot restores - on the snapshot. This is intended for future use. - """ - enabling_time: datetime | None = ... - """The time at which fast snapshot restores entered the `enabling` state.""" - optimizing_time: datetime | None = ... - """The time at which fast snapshot restores entered the `optimizing` state.""" - enabled_time: datetime | None = ... - """The time at which fast snapshot restores entered the `enabled` state.""" - disabling_time: datetime | None = ... - """The time at which fast snapshot restores entered the `disabling` state.""" - disabled_time: datetime | None = ... - """The time at which fast snapshot restores entered the `disabled` state.""" - -@dataclass(kw_only=True) -class DisableImageBlockPublicAccessInput(_SerdeShape): - """Dataclass for DisableImageBlockPublicAccessInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableImageBlockPublicAccessOutput(_SerdeShape): - """Dataclass for DisableImageBlockPublicAccessOutput structure.""" - - image_block_public_access_state: str | None = ... - """ - Returns `unblocked` if the request succeeds; otherwise, it returns an - error. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableImageDeprecationInput(_SerdeShape): - """Dataclass for DisableImageDeprecationInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableImageDeprecationOutput(_SerdeShape): - """Dataclass for DisableImageDeprecationOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableImageDeregistrationProtectionInput(_SerdeShape): - """Dataclass for DisableImageDeregistrationProtectionInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableImageDeregistrationProtectionOutput(_SerdeShape): - """Dataclass for DisableImageDeregistrationProtectionOutput structure.""" - - return_: str | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableImageInput(_SerdeShape): - """Dataclass for DisableImageInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableImageOutput(_SerdeShape): - """Dataclass for DisableImageOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableInstanceSqlHaStandbyDetectionsInput(_SerdeShape): - """Dataclass for DisableInstanceSqlHaStandbyDetectionsInput structure.""" - - instance_ids: list[str] | None = ... - """ - The IDs of the instances to disable from SQL Server High Availability - standby detection monitoring. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableInstanceSqlHaStandbyDetectionsOutput(_SerdeShape): - """Dataclass for DisableInstanceSqlHaStandbyDetectionsOutput structure.""" - - instances: list[RegisteredInstance] | None = ... - """ - Information about the instances that were disabled from SQL Server High - Availability standby detection monitoring. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableIpamOrganizationAdminAccountInput(_SerdeShape): - """Dataclass for DisableIpamOrganizationAdminAccountInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - delegated_admin_account_id: str | None = ... - """ - The Organizations member account ID that you want to disable as IPAM - account. - """ - -@dataclass(kw_only=True) -class DisableIpamOrganizationAdminAccountOutput(_SerdeShape): - """Dataclass for DisableIpamOrganizationAdminAccountOutput structure.""" - - success: bool | None = ... - """The result of disabling the IPAM account.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableIpamPolicyInput(_SerdeShape): - """Dataclass for DisableIpamPolicyInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_policy_id: str | None = ... - """The ID of the IPAM policy to disable.""" - organization_target_id: str | None = ... - """ - The ID of the Amazon Web Services Organizations target for which to - disable the IPAM policy. This parameter is required only when IPAM is - integrated with Amazon Web Services Organizations. When IPAM is not - integrated with Amazon Web Services Organizations, omit this parameter - and the policy will be disabled for the current account. - - A target can be an individual Amazon Web Services account or an entity - within an Amazon Web Services Organization to which an IPAM policy can - be applied. - """ - -@dataclass(kw_only=True) -class DisableIpamPolicyOutput(_SerdeShape): - """Dataclass for DisableIpamPolicyOutput structure.""" - - return_: bool | None = ... - """Returns true if the IPAM policy was successfully disabled.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableRouteServerPropagationInput(_SerdeShape): - """Dataclass for DisableRouteServerPropagationInput structure.""" - - route_server_id: str | None = ... - """The ID of the route server for which to disable propagation.""" - route_table_id: str | None = ... - """The ID of the route table for which to disable route server propagation.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableRouteServerPropagationOutput(_SerdeShape): - """Dataclass for DisableRouteServerPropagationOutput structure.""" - - route_server_propagation: RouteServerPropagation | None = ... - """Information about the disabled route server propagation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableSerialConsoleAccessInput(_SerdeShape): - """Dataclass for DisableSerialConsoleAccessInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableSerialConsoleAccessOutput(_SerdeShape): - """Dataclass for DisableSerialConsoleAccessOutput structure.""" - - serial_console_access_enabled: bool | None = ... - """ - If `true`, access to the EC2 serial console of all instances is enabled - for your account. If `false`, access to the EC2 serial console of all - instances is disabled for your account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableSnapshotBlockPublicAccessInput(_SerdeShape): - """Dataclass for DisableSnapshotBlockPublicAccessInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableSnapshotBlockPublicAccessOutput(_SerdeShape): - """Dataclass for DisableSnapshotBlockPublicAccessOutput structure.""" - - state: str | None = ... - """Returns `unblocked` if the request succeeds.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableTransitGatewayRouteTablePropagationInput(_SerdeShape): - """Dataclass for DisableTransitGatewayRouteTablePropagationInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the propagation route table.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - transit_gateway_route_table_announcement_id: str | None = ... - """The ID of the route table announcement.""" - -@dataclass(kw_only=True) -class DisableTransitGatewayRouteTablePropagationOutput(_SerdeShape): - """ - Dataclass for DisableTransitGatewayRouteTablePropagationOutput - structure. - """ - - propagation: TransitGatewayPropagation | None = ... - """Information about route propagation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableVgwRoutePropagationInput(_SerdeShape): - """Contains the parameters for DisableVgwRoutePropagation.""" - - gateway_id: str | None = ... - """The ID of the virtual private gateway.""" - route_table_id: str | None = ... - """The ID of the route table.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisableVgwRoutePropagationOutput(_SerdeShape): - """Dataclass for DisableVgwRoutePropagationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableVpcClassicLinkDnsSupportInput(_SerdeShape): - """Dataclass for DisableVpcClassicLinkDnsSupportInput structure.""" - - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class DisableVpcClassicLinkDnsSupportOutput(_SerdeShape): - """Dataclass for DisableVpcClassicLinkDnsSupportOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableVpcClassicLinkInput(_SerdeShape): - """Dataclass for DisableVpcClassicLinkInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class DisableVpcClassicLinkOutput(_SerdeShape): - """Dataclass for DisableVpcClassicLinkOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateAddressInput(_SerdeShape): - """Dataclass for DisassociateAddressInput structure.""" - - association_id: str | None = ... - """The association ID. This parameter is required.""" - public_ip: str | None = ... - """Deprecated.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateAddressOutput(_SerdeShape): - """Dataclass for DisassociateAddressOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateApplicationStatusCheckInput(_SerdeShape): - """Dataclass for DisassociateApplicationStatusCheckInput structure.""" - - application_status_check_id: str | None = ... - """The ID of the application status check to disassociate.""" - target_tag_associations: list[CustomTagKeyValueRequestPair] | None = ... - """ - The - [tags](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html) - to disassociate from the application status check. Specify the same - key-value pairs that were used during association. - """ - instance_ids: list[str] | None = ... - """ - The IDs of the instances to disassociate from the application status - check. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure that the - operation completes no more than one time. If you retry a request with - the same token, the service ignores the request but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateApplicationStatusCheckOutput(_SerdeShape): - """Dataclass for DisassociateApplicationStatusCheckOutput structure.""" - - successful_results: list[SuccessfulAssociationResponseObject] | None = ... - """The associations that were successfully removed.""" - unsuccessful_results: list[UnsuccessfulAssociationResponseObject] | None = ... - """The associations that failed to be removed.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateCapacityReservationBillingOwnerInput(_SerdeShape): - """ - Dataclass for DisassociateCapacityReservationBillingOwnerInput - structure. - """ - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - unused_reservation_billing_owner_id: str | None = ... - """The ID of the consumer account to which the request was sent.""" - -@dataclass(kw_only=True) -class DisassociateCapacityReservationBillingOwnerOutput(_SerdeShape): - """ - Dataclass for DisassociateCapacityReservationBillingOwnerOutput - structure. - """ - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateClientVpnTargetNetworkInput(_SerdeShape): - """Dataclass for DisassociateClientVpnTargetNetworkInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """ - The ID of the Client VPN endpoint from which to disassociate the target - network. - """ - association_id: str | None = ... - """The ID of the target network association.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateClientVpnTargetNetworkOutput(_SerdeShape): - """Dataclass for DisassociateClientVpnTargetNetworkOutput structure.""" - - association_id: str | None = ... - """The ID of the target network association.""" - status: AssociationStatus | None = ... - """The current state of the target network association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateEnclaveCertificateIamRoleInput(_SerdeShape): - """Dataclass for DisassociateEnclaveCertificateIamRoleInput structure.""" - - certificate_arn: str | None = ... - """The ARN of the ACM certificate from which to disassociate the IAM role.""" - role_arn: str | None = ... - """The ARN of the IAM role to disassociate.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateEnclaveCertificateIamRoleOutput(_SerdeShape): - """Dataclass for DisassociateEnclaveCertificateIamRoleOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateIamInstanceProfileInput(_SerdeShape): - """Dataclass for DisassociateIamInstanceProfileInput structure.""" - - association_id: str | None = ... - """The ID of the IAM instance profile association.""" - -@dataclass(kw_only=True) -class DisassociateIamInstanceProfileOutput(_SerdeShape): - """Dataclass for DisassociateIamInstanceProfileOutput structure.""" - - iam_instance_profile_association: IamInstanceProfileAssociation | None = ... - """Information about the IAM instance profile association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateInstanceEventWindowInput(_SerdeShape): - """Dataclass for DisassociateInstanceEventWindowInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_event_window_id: str | None = ... - """The ID of the event window.""" - association_target: InstanceEventWindowDisassociationRequest | None = ... - """One or more targets to disassociate from the specified event window.""" - -@dataclass(kw_only=True) -class DisassociateInstanceEventWindowOutput(_SerdeShape): - """Dataclass for DisassociateInstanceEventWindowOutput structure.""" - - instance_event_window: InstanceEventWindow | None = ... - """Information about the event window.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateIpamByoasnInput(_SerdeShape): - """Dataclass for DisassociateIpamByoasnInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - asn: str | None = ... - """A public 2-byte or 4-byte ASN.""" - cidr: str | None = ... - """A BYOIP CIDR.""" - -@dataclass(kw_only=True) -class DisassociateIpamByoasnOutput(_SerdeShape): - """Dataclass for DisassociateIpamByoasnOutput structure.""" - - asn_association: AsnAssociation | None = ... - """An ASN and BYOIP CIDR association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateIpamResourceDiscoveryInput(_SerdeShape): - """Dataclass for DisassociateIpamResourceDiscoveryInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_resource_discovery_association_id: str | None = ... - """A resource discovery association ID.""" - -@dataclass(kw_only=True) -class DisassociateIpamResourceDiscoveryOutput(_SerdeShape): - """Dataclass for DisassociateIpamResourceDiscoveryOutput structure.""" - - ipam_resource_discovery_association: IpamResourceDiscoveryAssociation | None = ... - """A resource discovery association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateNatGatewayAddressInput(_SerdeShape): - """Dataclass for DisassociateNatGatewayAddressInput structure.""" - - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - association_ids: list[str] | None = ... - """ - The association IDs of EIPs that have been associated with the NAT - gateway. - """ - max_drain_duration_seconds: int | None = ... - """ - The maximum amount of time to wait (in seconds) before forcibly - releasing the IP addresses if connections are still in progress. Default - value is 350 seconds. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateNatGatewayAddressOutput(_SerdeShape): - """Dataclass for DisassociateNatGatewayAddressOutput structure.""" - - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - nat_gateway_addresses: list[NatGatewayAddress] | None = ... - """Information about the NAT gateway IP addresses.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateRouteServerInput(_SerdeShape): - """Dataclass for DisassociateRouteServerInput structure.""" - - route_server_id: str | None = ... - """The ID of the route server to disassociate.""" - vpc_id: str | None = ... - """The ID of the VPC to disassociate from the route server.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateRouteServerOutput(_SerdeShape): - """Dataclass for DisassociateRouteServerOutput structure.""" - - route_server_association: RouteServerAssociation | None = ... - """Information about the disassociated route server.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateRouteTableInput(_SerdeShape): - """Dataclass for DisassociateRouteTableInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - association_id: str | None = ... - """ - The association ID representing the current association between the - route table and subnet or gateway. - """ - -@dataclass(kw_only=True) -class DisassociateRouteTableOutput(_SerdeShape): - """Dataclass for DisassociateRouteTableOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateSecurityGroupVpcInput(_SerdeShape): - """Dataclass for DisassociateSecurityGroupVpcInput structure.""" - - group_id: str | None = ... - """A security group ID.""" - vpc_id: str | None = ... - """A VPC ID.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateSecurityGroupVpcOutput(_SerdeShape): - """Dataclass for DisassociateSecurityGroupVpcOutput structure.""" - - state: str | None = ... - """The state of the disassociation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateSubnetCidrBlockInput(_SerdeShape): - """Dataclass for DisassociateSubnetCidrBlockInput structure.""" - - association_id: str | None = ... - """The association ID for the CIDR block.""" - -@dataclass(kw_only=True) -class DisassociateSubnetCidrBlockOutput(_SerdeShape): - """Dataclass for DisassociateSubnetCidrBlockOutput structure.""" - - ipv6_cidr_block_association: SubnetIpv6CidrBlockAssociation | None = ... - """Information about the IPv6 CIDR block association.""" - subnet_id: str | None = ... - """The ID of the subnet.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateTransitGatewayMulticastDomainInput(_SerdeShape): - """Dataclass for DisassociateTransitGatewayMulticastDomainInput structure.""" - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - subnet_ids: list[str] | None = ... - """The IDs of the subnets;""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateTransitGatewayMulticastDomainOutput(_SerdeShape): - """Dataclass for DisassociateTransitGatewayMulticastDomainOutput structure.""" - - associations: TransitGatewayMulticastDomainAssociations | None = ... - """Information about the association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateTransitGatewayPolicyTableInput(_SerdeShape): - """Dataclass for DisassociateTransitGatewayPolicyTableInput structure.""" - - transit_gateway_policy_table_id: str | None = ... - """The ID of the disassociated policy table.""" - transit_gateway_attachment_id: str | None = ... - """ - The ID of the transit gateway attachment to disassociate from the policy - table. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateTransitGatewayPolicyTableOutput(_SerdeShape): - """Dataclass for DisassociateTransitGatewayPolicyTableOutput structure.""" - - association: TransitGatewayPolicyTableAssociation | None = ... - """Returns details about the transit gateway policy table disassociation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateTransitGatewayRouteTableInput(_SerdeShape): - """Dataclass for DisassociateTransitGatewayRouteTableInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateTransitGatewayRouteTableOutput(_SerdeShape): - """Dataclass for DisassociateTransitGatewayRouteTableOutput structure.""" - - association: TransitGatewayAssociation | None = ... - """Information about the association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateTrunkInterfaceInput(_SerdeShape): - """Dataclass for DisassociateTrunkInterfaceInput structure.""" - - association_id: str | None = ... - """The ID of the association""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class DisassociateTrunkInterfaceOutput(_SerdeShape): - """Dataclass for DisassociateTrunkInterfaceOutput structure.""" - - return_: bool | None = ... - """Is `true` if the request succeeds and an error otherwise.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateVpcCidrBlockInput(_SerdeShape): - """Dataclass for DisassociateVpcCidrBlockInput structure.""" - - association_id: str | None = ... - """The association ID for the CIDR block.""" - -@dataclass(kw_only=True) -class DisassociateVpcCidrBlockOutput(_SerdeShape): - """Dataclass for DisassociateVpcCidrBlockOutput structure.""" - - ipv6_cidr_block_association: VpcIpv6CidrBlockAssociation | None = ... - """Information about the IPv6 CIDR block association.""" - cidr_block_association: VpcCidrBlockAssociation | None = ... - """Information about the IPv4 CIDR block association.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DiskImage(_SerdeShape): - """Describes a disk image.""" - - description: str | None = ... - """A description of the disk image.""" - image: DiskImageDetail | None = ... - """Information about the disk image.""" - volume: VolumeDetail | None = ... - """Information about the volume.""" - -@dataclass(kw_only=True) -class DiskImageDescription(_SerdeShape): - """Describes a disk image.""" - - checksum: str | None = ... - """The checksum computed for the disk image.""" - format: str | None = ... - """The disk image format.""" - import_manifest_url: str | None = ... - """ - A presigned URL for the import manifest stored in Amazon S3. For - information about creating a presigned URL for an Amazon S3 object, read - the \"Query String Request Authentication Alternative\" section of the - [Authenticating REST - Requests](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html) - topic in the *Amazon Simple Storage Service Developer Guide*. - - For information about the import manifest referenced by this API action, - see [VM Import - Manifest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). - """ - size: int | None = ... - """The size of the disk image, in GiB.""" - -@dataclass(kw_only=True) -class DiskImageDetail(_SerdeShape): - """Describes a disk image.""" - - format: str | None = ... - """The disk image format.""" - bytes_: int | None = ... - """The size of the disk image, in GiB.""" - import_manifest_url: str | None = ... - """ - A presigned URL for the import manifest stored in Amazon S3 and - presented here as an Amazon S3 presigned URL. For information about - creating a presigned URL for an Amazon S3 object, read the \"Query - String Request Authentication Alternative\" section of the - [Authenticating REST - Requests](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html) - topic in the *Amazon Simple Storage Service Developer Guide*. - - For information about the import manifest referenced by this API action, - see [VM Import - Manifest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). - """ - -class DiskImageFormat(UnknownEnumMixin, StrEnum): - VMDK = "VMDK" - RAW = "RAW" - VHD = "VHD" - -@dataclass(kw_only=True) -class DiskImageVolumeDescription(_SerdeShape): - """Describes a disk image volume.""" - - id: str | None = ... - """The volume identifier.""" - size: int | None = ... - """The size of the volume, in GiB.""" - -@dataclass(kw_only=True) -class DiskInfo(_SerdeShape): - """Describes a disk.""" - - size_in_gb: int | None = ... - """The size of the disk in GB.""" - count: int | None = ... - """The number of disks with this configuration.""" - type: str | None = ... - """The type of disk.""" - -class DiskType(UnknownEnumMixin, StrEnum): - HDD = "hdd" - SSD = "ssd" - -@dataclass(kw_only=True) -class DnsEntry(_SerdeShape): - """Describes a DNS entry.""" - - dns_name: str | None = ... - """The DNS name.""" - hosted_zone_id: str | None = ... - """The ID of the private hosted zone.""" - -class DnsNameState(UnknownEnumMixin, StrEnum): - PENDING_VERIFICATION = "pendingVerification" - VERIFIED = "verified" - FAILED = "failed" - -@dataclass(kw_only=True) -class DnsOptions(_SerdeShape): - """Describes the DNS options for an endpoint.""" - - dns_record_ip_type: str | None = ... - """The DNS records created for the endpoint.""" - private_dns_only_for_inbound_resolver_endpoint: bool | None = ... - """Indicates whether to enable private DNS only for inbound endpoints.""" - private_dns_preference: str | None = ... - """ - The preference for which private domains have a private hosted zone - created for and associated with the specified VPC. Only supported when - private DNS is enabled and when the VPC endpoint type is ServiceNetwork - or Resource. - - - `ALL_DOMAINS` - VPC Lattice provisions private hosted zones for all - custom domain names. - - - `VERIFIED_DOMAINS_ONLY` - VPC Lattice provisions a private hosted zone - only if custom domain name has been verified by the provider. - - - `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS` - VPC Lattice provisions - private hosted zones for all verified custom domain names and other - domain names that the resource consumer specifies. The resource - consumer specifies the domain names in the PrivateDnsSpecifiedDomains - parameter. - - - `SPECIFIED_DOMAINS_ONLY` - VPC Lattice provisions a private hosted - zone for domain names specified by the resource consumer. The resource - consumer specifies the domain names in the PrivateDnsSpecifiedDomains - parameter. - """ - private_dns_specified_domains: list[str] | None = ... - """ - Indicates which of the private domains to create private hosted zones - for and associate with the specified VPC. Only supported when private - DNS is enabled and the private DNS preference is - `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS` or `SPECIFIED_DOMAINS_ONLY`. - """ - -@dataclass(kw_only=True) -class DnsOptionsSpecification(_SerdeShape): - """Describes the DNS options for an endpoint.""" - - dns_record_ip_type: str | None = ... - """The DNS records created for the endpoint.""" - private_dns_only_for_inbound_resolver_endpoint: bool | None = ... - """ - Indicates whether to enable private DNS only for inbound endpoints. This - option is available only for services that support both gateway and - interface endpoints. It routes traffic that originates from the VPC to - the gateway endpoint and traffic that originates from on-premises to the - interface endpoint. - """ - private_dns_preference: str | None = ... - """ - The preference for which private domains have a private hosted zone - created for and associated with the specified VPC. Only supported when - private DNS is enabled and when the VPC endpoint type is ServiceNetwork - or Resource. - - - `ALL_DOMAINS` - VPC Lattice provisions private hosted zones for all - custom domain names. - - - `VERIFIED_DOMAINS_ONLY` - VPC Lattice provisions a private hosted zone - only if custom domain name has been verified by the provider. - - - `VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS` - VPC Lattice provisions - private hosted zones for all verified custom domain names and other - domain names that the resource consumer specifies. The resource - consumer specifies the domain names in the PrivateDnsSpecifiedDomains - parameter. - - - `SPECIFIED_DOMAINS_ONLY` - VPC Lattice provisions a private hosted - zone for domain names specified by the resource consumer. The resource - consumer specifies the domain names in the PrivateDnsSpecifiedDomains - parameter. - """ - private_dns_specified_domains: list[str] | None = ... - """ - Indicates which of the private domains to create private hosted zones - for and associate with the specified VPC. Only supported when private - DNS is enabled and the private DNS preference is - verified-domains-and-specified-domains or specified-domains-only. - """ - -class DnsRecordIpType(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - DUALSTACK = "dualstack" - IPV6 = "ipv6" - SERVICE_DEFINED = "service-defined" - -@dataclass(kw_only=True) -class DnsServersOptionsModifyStructure(_SerdeShape): - """Information about the DNS server to be used.""" - - custom_dns_servers: list[str] | None = ... - """ - The IPv4 address range, in CIDR notation, of the DNS servers to be used. - You can specify up to two DNS servers. Ensure that the DNS servers can - be reached by the clients. The specified values overwrite the existing - values. - """ - enabled: bool | None = ... - """ - Indicates whether DNS servers should be used. Specify `False` to delete - the existing DNS servers. - """ - -class DnsSupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class DomainType(UnknownEnumMixin, StrEnum): - VPC = "vpc" - STANDARD = "standard" - -class DynamicRoutingValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -@dataclass(kw_only=True) -class EbsBlockDevice(_SerdeShape): - """Describes a block device for an EBS volume.""" - - delete_on_termination: bool | None = ... - """ - Indicates whether the EBS volume is deleted on instance termination. For - more information, see [Preserving Amazon EBS volumes on instance - termination](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination) - in the *Amazon EC2 User Guide*. - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS). For `gp3`, `io1`, and - `io2` volumes, this represents the number of IOPS that are provisioned - for the volume. For `gp2` volumes, this represents the baseline - performance of the volume and the rate at which the volume accumulates - I/O credits for bursting. - - The following are the supported values for each volume type: - - - `gp3`: 3,000 - 80,000 IOPS - - - `io1`: 100 - 64,000 IOPS - - - `io2`: 100 - 256,000 IOPS - - For `io2` volumes, you can achieve up to 256,000 IOPS on [instances - built on the Nitro - System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). - On other instances, you can achieve performance up to 32,000 IOPS. - - This parameter is required for `io1` and `io2` volumes. The default for - `gp3` volumes is 3,000 IOPS. - """ - snapshot_id: str | None = ... - """The ID of the snapshot.""" - volume_size: int | None = ... - """ - The size of the volume, in GiBs. You must specify either a snapshot ID - or a volume size. If you specify a snapshot, the default is the snapshot - size. You can specify a volume size that is equal to or larger than the - snapshot size. - - The following are the supported sizes for each volume type: - - - `gp2`: 1 - 16,384 GiB - - - `gp3`: 1 - 65,536 GiB - - - `io1`: 4 - 16,384 GiB - - - `io2`: 4 - 65,536 GiB - - - `st1` and `sc1`: 125 - 16,384 GiB - - - `standard`: 1 - 1024 GiB - """ - volume_type: str | None = ... - """ - The volume type. For more information, see [Amazon EBS volume - types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) - in the *Amazon EBS User Guide*. - """ - kms_key_id: str | None = ... - """ - Identifier (key ID, key alias, key ARN, or alias ARN) of the customer - managed KMS key to use for EBS encryption. - - This parameter is only supported on `BlockDeviceMapping` objects called - by - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), - [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html), - and - [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html). - """ - throughput: int | None = ... - """ - The throughput that the volume supports, in MiB/s. - - This parameter is valid only for `gp3` volumes. - - Valid Range: Minimum value of 125. Maximum value of 2,000. - """ - outpost_arn: str | None = ... - """ - The ARN of the Outpost on which the snapshot is stored. - - This parameter is not supported when using - [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html). - """ - availability_zone: str | None = ... - """ - The Availability Zone where the EBS volume will be created (for example, - `us-east-1a`). - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both. If neither is specified, Amazon EC2 automatically selects an - Availability Zone within the Region. - - This parameter is not supported when using - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html), - [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html), - [DescribeImages](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html), - [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html), - [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html), - and - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). - """ - encrypted: bool | None = ... - """ - Indicates whether the encryption state of an EBS volume is changed while - being restored from a backing snapshot. The effect of setting the - encryption state to `true` depends on the volume origin (new or from a - snapshot), starting encryption state, ownership, and whether encryption - by default is enabled. For more information, see [Amazon EBS - encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html#encryption-parameters) - in the *Amazon EBS User Guide*. - - In no case can you remove encryption from an encrypted volume. - - Encrypted volumes can only be attached to instances that support Amazon - EBS encryption. For more information, see [Supported instance - types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances). - - This parameter is not returned by DescribeImageAttribute. - - For CreateImage and RegisterImage, whether you can include this - parameter, and the allowed values differ depending on the type of block - device mapping you are creating. - - - If you are creating a block device mapping for a **new (empty) - volume**, you can include this parameter, and specify either `true` - for an encrypted volume, or `false` for an unencrypted volume. If you - omit this parameter, it defaults to `false` (unencrypted). - - - If you are creating a block device mapping from an **existing - encrypted or unencrypted snapshot**, you must omit this parameter. If - you include this parameter, the request will fail, regardless of the - value that you specify. - - - If you are creating a block device mapping from an **existing - unencrypted volume**, you can include this parameter, but you must - specify `false`. If you specify `true`, the request will fail. In this - case, we recommend that you omit the parameter. - - - If you are creating a block device mapping from an **existing - encrypted volume**, you can include this parameter, and specify either - `true` or `false`. However, if you specify `false`, the parameter is - ignored and the block device mapping is always encrypted. In this - case, we recommend that you omit the parameter. - """ - volume_initialization_rate: int | None = ... - """ - Specifies the Amazon EBS Provisioned Rate for Volume Initialization - (volume initialization rate), in MiB/s, at which to download the - snapshot blocks from Amazon S3 to the volume. This is also known as - *volume initialization*. Specifying a volume initialization rate ensures - that the volume is initialized at a predictable and consistent rate - after creation. For more information, see [Initialize Amazon EBS - volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) - in the *Amazon EC2 User Guide*. - - This parameter is supported only for volumes created from snapshots. - Omit this parameter if: - - - You want to create the volume using fast snapshot restore. You must - specify a snapshot that is enabled for fast snapshot restore. In this - case, the volume is fully initialized at creation. - - Note: - If you specify a snapshot that is enabled for fast snapshot restore - and a volume initialization rate, the volume will be initialized at - the specified rate instead of fast snapshot restore. - - - You want to create a volume that is initialized at the default rate. - - This parameter is not supported when using - [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html) - and - [DescribeImages](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html). - - Valid range: 100 - 300 MiB/s - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone where the EBS volume will be created - (for example, `use1-az1`). - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both. If neither is specified, Amazon EC2 automatically selects an - Availability Zone within the Region. - - This parameter is not supported when using - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html), - [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html), - [DescribeImages](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html), - [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html), - [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html), - and - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). - """ - ebs_card_index: int | None = ... - """ - The index of the EBS card. Some instance types support multiple EBS - cards. The default EBS card index is 0. - """ - -@dataclass(kw_only=True) -class EbsBlockDeviceResponse(_SerdeShape): - """Describes a block device for an EBS volume.""" - - encrypted: bool | None = ... - """Indicates whether the volume is encrypted.""" - delete_on_termination: bool | None = ... - """Indicates whether the volume is deleted on instance termination.""" - iops: int | None = ... - """ - The number of I/O operations per second (IOPS). For `gp3`, `io1`, and - `io2` volumes, this represents the number of IOPS that are provisioned - for the volume. For `gp2` volumes, this represents the baseline - performance of the volume and the rate at which the volume accumulates - I/O credits for bursting. - """ - throughput: int | None = ... - """The throughput that the volume supports, in MiB/s.""" - kms_key_id: str | None = ... - """ - Identifier (key ID, key alias, key ARN, or alias ARN) of the customer - managed KMS key to use for EBS encryption. - """ - snapshot_id: str | None = ... - """The ID of the snapshot.""" - volume_size: int | None = ... - """The size of the volume, in GiBs.""" - volume_type: str | None = ... - """ - The volume type. For more information, see [Amazon EBS volume - types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) - in the *Amazon EBS User Guide*. - """ - -@dataclass(kw_only=True) -class EbsCardInfo(_SerdeShape): - """ - Describes the performance characteristics of an EBS card on the instance - type. - """ - - ebs_card_index: int | None = ... - """The index of the EBS card.""" - baseline_bandwidth_in_mbps: int | None = ... - """The baseline bandwidth performance for the EBS card, in Mbps.""" - baseline_throughput_in_m_bps: float | None = ... - """The baseline throughput performance for the EBS card, in MBps.""" - baseline_iops: int | None = ... - """The baseline IOPS performance for the EBS card.""" - maximum_bandwidth_in_mbps: int | None = ... - """The maximum bandwidth performance for the EBS card, in Mbps.""" - maximum_throughput_in_m_bps: float | None = ... - """The maximum throughput performance for the EBS card, in MBps.""" - maximum_iops: int | None = ... - """The maximum IOPS performance for the EBS card.""" - -class EbsEncryptionSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - -@dataclass(kw_only=True) -class EbsInfo(_SerdeShape): - """Describes the Amazon EBS features supported by the instance type.""" - - ebs_optimized_support: str | None = ... - """ - Indicates whether the instance type is Amazon EBS-optimized. For more - information, see [Amazon EBS-optimized - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) - in *Amazon EC2 User Guide*. - """ - encryption_support: str | None = ... - """Indicates whether Amazon EBS encryption is supported.""" - ebs_optimized_info: EbsOptimizedInfo | None = ... - """Describes the optimized EBS performance for the instance type.""" - nvme_support: str | None = ... - """Indicates whether non-volatile memory express (NVMe) is supported.""" - maximum_ebs_attachments: int | None = ... - """ - Indicates the maximum number of Amazon EBS volumes that can be attached - to the instance type. For more information, see [Amazon EBS volume - limits for Amazon EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html) - in the *Amazon EC2 User Guide*. - """ - attachment_limit_type: str | None = ... - """ - Indicates whether the instance type features a shared or dedicated - Amazon EBS volume attachment limit. For more information, see [Amazon - EBS volume limits for Amazon EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html) - in the *Amazon EC2 User Guide*. - """ - maximum_ebs_cards: int | None = ... - """Indicates the number of EBS cards supported by the instance type.""" - ebs_cards: list[EbsCardInfo] | None = ... - """Describes the EBS cards available for the instance type.""" - -@dataclass(kw_only=True) -class EbsInstanceBlockDevice(_SerdeShape): - """ - Describes a parameter used to set up an EBS volume in a block device - mapping. - """ - - attach_time: datetime | None = ... - """The time stamp when the attachment initiated.""" - delete_on_termination: bool | None = ... - """Indicates whether the volume is deleted on instance termination.""" - status: str | None = ... - """The attachment state.""" - volume_id: str | None = ... - """The ID of the EBS volume.""" - associated_resource: str | None = ... - """ - The ARN of the Amazon Web Services-managed resource to which the volume - is attached. - """ - volume_owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the volume. - - This parameter is returned only for volumes that are attached to Amazon - Web Services-managed resources. - """ - operator: OperatorResponse | None = ... - """The service provider that manages the EBS volume.""" - ebs_card_index: int | None = ... - """ - The index of the EBS card. Some instance types support multiple EBS - cards. The default EBS card index is 0. - """ - -@dataclass(kw_only=True) -class EbsInstanceBlockDeviceSpecification(_SerdeShape): - """ - Describes information used to set up an EBS volume specified in a block - device mapping. - """ - - volume_id: str | None = ... - """The ID of the EBS volume.""" - delete_on_termination: bool | None = ... - """Indicates whether the volume is deleted on instance termination.""" - -class EbsNvmeSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - REQUIRED = "required" - -@dataclass(kw_only=True) -class EbsOptimizedInfo(_SerdeShape): - """Describes the optimized EBS performance for supported instance types.""" - - baseline_bandwidth_in_mbps: int | None = ... - """ - The baseline bandwidth performance for an EBS-optimized instance type, - in Mbps. - """ - baseline_throughput_in_m_bps: float | None = ... - """ - The baseline throughput performance for an EBS-optimized instance type, - in MB/s. - """ - baseline_iops: int | None = ... - """ - The baseline input/output storage operations per seconds for an - EBS-optimized instance type. - """ - maximum_bandwidth_in_mbps: int | None = ... - """ - The maximum bandwidth performance for an EBS-optimized instance type, in - Mbps. - """ - maximum_throughput_in_m_bps: float | None = ... - """ - The maximum throughput performance for an EBS-optimized instance type, - in MB/s. - """ - maximum_iops: int | None = ... - """ - The maximum input/output storage operations per second for an - EBS-optimized instance type. - """ - -class EbsOptimizedSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - DEFAULT = "default" - -@dataclass(kw_only=True) -class EbsStatusDetails(_SerdeShape): - """Describes the attached EBS status check for an instance.""" - - impaired_since: datetime | None = ... - """The date and time when the attached EBS status check failed.""" - name: str | None = ... - """The name of the attached EBS status check.""" - status: str | None = ... - """The result of the attached EBS status check.""" - -@dataclass(kw_only=True) -class EbsStatusSummary(_SerdeShape): - """Provides a summary of the attached EBS volume status for an instance.""" - - details: list[EbsStatusDetails] | None = ... - """Details about the attached EBS status check for an instance.""" - status: str | None = ... - """The current status.""" - -@dataclass(kw_only=True) -class Ec2InstanceConnectEndpoint(_SerdeShape): - """Describes an EC2 Instance Connect Endpoint.""" - - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that created the EC2 Instance - Connect Endpoint. - """ - instance_connect_endpoint_id: str | None = ... - """The ID of the EC2 Instance Connect Endpoint.""" - instance_connect_endpoint_arn: str | None = ... - """The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.""" - state: str | None = ... - """The current state of the EC2 Instance Connect Endpoint.""" - state_message: str | None = ... - """ - The message for the current state of the EC2 Instance Connect Endpoint. - Can include a failure message. - """ - dns_name: str | None = ... - """The DNS name of the EC2 Instance Connect Endpoint.""" - fips_dns_name: str | None = ... - """ - The Federal Information Processing Standards (FIPS) compliant DNS name - of the EC2 Instance Connect Endpoint. - """ - network_interface_ids: list[str] | None = ... - """ - The ID of the elastic network interface that Amazon EC2 automatically - created when creating the EC2 Instance Connect Endpoint. - """ - vpc_id: str | None = ... - """ - The ID of the VPC in which the EC2 Instance Connect Endpoint was - created. - """ - availability_zone: str | None = ... - """The Availability Zone of the EC2 Instance Connect Endpoint.""" - created_at: datetime | None = ... - """The date and time that the EC2 Instance Connect Endpoint was created.""" - subnet_id: str | None = ... - """ - The ID of the subnet in which the EC2 Instance Connect Endpoint was - created. - """ - preserve_client_ip: bool | None = ... - """ - Indicates whether your client's IP address is preserved as the source - when you connect to a resource. The following are the possible values. - - - `true` - Use the IP address of the client. Your instance must have an - IPv4 address. - - - `false` - Use the IP address of the network interface. - - Default: `false` - """ - security_group_ids: list[str] | None = ... - """ - The security groups associated with the endpoint. If you didn't specify - a security group, the default security group for your VPC is associated - with the endpoint. - """ - tags: list[Tag] | None = ... - """The tags assigned to the EC2 Instance Connect Endpoint.""" - ip_address_type: str | None = ... - """The IP address type of the endpoint.""" - public_dns_names: InstanceConnectEndpointPublicDnsNames | None = ... - """The public DNS names of the endpoint.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone of the EC2 Instance Connect Endpoint.""" - -class Ec2InstanceConnectEndpointState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - UPDATE_IN_PROGRESS = "update-in-progress" - UPDATE_COMPLETE = "update-complete" - UPDATE_FAILED = "update-failed" - -@dataclass(kw_only=True) -class EfaInfo(_SerdeShape): - """Describes the Elastic Fabric Adapters for the instance type.""" - - maximum_efa_interfaces: int | None = ... - """The maximum number of Elastic Fabric Adapters for the instance type.""" - -@dataclass(kw_only=True) -class EgressOnlyInternetGateway(_SerdeShape): - """Describes an egress-only internet gateway.""" - - attachments: list[InternetGatewayAttachment] | None = ... - """Information about the attachment of the egress-only internet gateway.""" - egress_only_internet_gateway_id: str | None = ... - """The ID of the egress-only internet gateway.""" - tags: list[Tag] | None = ... - """The tags assigned to the egress-only internet gateway.""" - -class EkPubKeyFormat(UnknownEnumMixin, StrEnum): - DER = "der" - TPMT = "tpmt" - -class EkPubKeyType(UnknownEnumMixin, StrEnum): - RSA_2048 = "rsa-2048" - ECC_SEC_P384 = "ecc-sec-p384" - -@dataclass(kw_only=True) -class ElasticGpuAssociation(_SerdeShape): - """ - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - - Describes the association between an instance and an Elastic Graphics - accelerator. - """ - - elastic_gpu_id: str | None = ... - """The ID of the Elastic Graphics accelerator.""" - elastic_gpu_association_id: str | None = ... - """The ID of the association.""" - elastic_gpu_association_state: str | None = ... - """ - The state of the association between the instance and the Elastic - Graphics accelerator. - """ - elastic_gpu_association_time: str | None = ... - """ - The time the Elastic Graphics accelerator was associated with the - instance. - """ - -@dataclass(kw_only=True) -class ElasticGpuHealth(_SerdeShape): - """ - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - - Describes the status of an Elastic Graphics accelerator. - """ - - status: str | None = ... - """The health status.""" - -@dataclass(kw_only=True) -class ElasticGpus(_SerdeShape): - """ - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - - Describes an Elastic Graphics accelerator. - """ - - elastic_gpu_id: str | None = ... - """The ID of the Elastic Graphics accelerator.""" - availability_zone: str | None = ... - """ - The Availability Zone in the which the Elastic Graphics accelerator - resides. - """ - elastic_gpu_type: str | None = ... - """The type of Elastic Graphics accelerator.""" - elastic_gpu_health: ElasticGpuHealth | None = ... - """The status of the Elastic Graphics accelerator.""" - elastic_gpu_state: str | None = ... - """The state of the Elastic Graphics accelerator.""" - instance_id: str | None = ... - """ - The ID of the instance to which the Elastic Graphics accelerator is - attached. - """ - tags: list[Tag] | None = ... - """The tags assigned to the Elastic Graphics accelerator.""" - -@dataclass(kw_only=True) -class ElasticGpuSpecification(_SerdeShape): - """ - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - - A specification for an Elastic Graphics accelerator. - """ - - type: str | None = ... - """The type of Elastic Graphics accelerator.""" - -@dataclass(kw_only=True) -class ElasticGpuSpecificationResponse(_SerdeShape): - """ - Deprecated. - - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - """ - - type: str | None = ... - """ - Deprecated. - - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - """ - -class ElasticGpuState(UnknownEnumMixin, StrEnum): - ATTACHED = "ATTACHED" - -class ElasticGpuStatus(UnknownEnumMixin, StrEnum): - OK = "OK" - IMPAIRED = "IMPAIRED" - -@dataclass(kw_only=True) -class ElasticInferenceAccelerator(_SerdeShape): - """ - Note: - Amazon Elastic Inference is no longer available. - - Describes an elastic inference accelerator. - """ - - type: str | None = ... - """ - The type of elastic inference accelerator. The possible values are - `eia1.medium`, `eia1.large`, `eia1.xlarge`, `eia2.medium`, `eia2.large`, - and `eia2.xlarge`. - """ - count: int | None = ... - """ - The number of elastic inference accelerators to attach to the instance. - - Default: 1 - """ - -@dataclass(kw_only=True) -class ElasticInferenceAcceleratorAssociation(_SerdeShape): - """ - Note: - Amazon Elastic Inference is no longer available. - - Describes the association between an instance and an elastic inference - accelerator. - """ - - elastic_inference_accelerator_arn: str | None = ... - """The Amazon Resource Name (ARN) of the elastic inference accelerator.""" - elastic_inference_accelerator_association_id: str | None = ... - """The ID of the association.""" - elastic_inference_accelerator_association_state: str | None = ... - """The state of the elastic inference accelerator.""" - elastic_inference_accelerator_association_time: datetime | None = ... - """ - The time at which the elastic inference accelerator is associated with - an instance. - """ - -@dataclass(kw_only=True) -class EnableAddressTransferInput(_SerdeShape): - """Dataclass for EnableAddressTransferInput structure.""" - - allocation_id: str | None = ... - """The allocation ID of an Elastic IP address.""" - transfer_account_id: str | None = ... - """ - The ID of the account that you want to transfer the Elastic IP address - to. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableAddressTransferOutput(_SerdeShape): - """Dataclass for EnableAddressTransferOutput structure.""" - - address_transfer: AddressTransfer | None = ... - """An Elastic IP address transfer.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableAllowedImagesSettingsInput(_SerdeShape): - """Dataclass for EnableAllowedImagesSettingsInput structure.""" - - allowed_images_settings_state: str | None = ... - """ - Specify `enabled` to apply the image criteria specified by the Allowed - AMIs settings. Specify `audit-mode` so that you can check which AMIs - will be allowed or not allowed by the image criteria. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableAllowedImagesSettingsOutput(_SerdeShape): - """Dataclass for EnableAllowedImagesSettingsOutput structure.""" - - allowed_images_settings_state: str | None = ... - """ - Returns `enabled` or `audit-mode` if the request succeeds; otherwise, it - returns an error. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableApplicationStatusCheckSuppressionInput(_SerdeShape): - """Dataclass for EnableApplicationStatusCheckSuppressionInput structure.""" - - instance_ids: list[str] | None = ... - """ - The IDs of the instances for which to suppress application status - checks. - """ - duration_seconds: int | None = ... - """ - The duration, in seconds, for which to suppress application status - checks. If omitted, the application status check is suppressed - indefinitely until you call `DisableApplicationStatusCheckSuppression`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure that the - operation completes no more than one time. If you retry a request with - the same token, the service ignores the request but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableApplicationStatusCheckSuppressionOutput(_SerdeShape): - """Dataclass for EnableApplicationStatusCheckSuppressionOutput structure.""" - - successful_results: list[SuccessfulSuppressionResponseObject] | None = ... - """The instances for which suppression was successfully enabled.""" - unsuccessful_results: list[UnsuccessfulSuppressionResponseObject] | None = ... - """The instances for which suppression failed to be enabled.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableAwsNetworkPerformanceMetricSubscriptionInput(_SerdeShape): - """ - Dataclass for EnableAwsNetworkPerformanceMetricSubscriptionInput - structure. - """ - - source: str | None = ... - """ - The source Region (like `us-east-1`) or Availability Zone ID (like - `use1-az1`) that the metric subscription is enabled for. If you use - Availability Zone IDs, the Source and Destination Availability Zones - must be in the same Region. - """ - destination: str | None = ... - """ - The target Region (like `us-east-2`) or Availability Zone ID (like - `use2-az2`) that the metric subscription is enabled for. If you use - Availability Zone IDs, the Source and Destination Availability Zones - must be in the same Region. - """ - metric: str | None = ... - """The metric used for the enabled subscription.""" - statistic: str | None = ... - """The statistic used for the enabled subscription.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableAwsNetworkPerformanceMetricSubscriptionOutput(_SerdeShape): - """ - Dataclass for EnableAwsNetworkPerformanceMetricSubscriptionOutput - structure. - """ - - output: bool | None = ... - """Indicates whether the subscribe action was successful.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableCapacityManagerInput(_SerdeShape): - """Dataclass for EnableCapacityManagerInput structure.""" - - organizations_access: bool | None = ... - """ - Specifies whether to enable cross-account access for Amazon Web Services - Organizations. When enabled, Capacity Manager can aggregate data from - all accounts in your organization. Default is false. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - -@dataclass(kw_only=True) -class EnableCapacityManagerOutput(_SerdeShape): - """Dataclass for EnableCapacityManagerOutput structure.""" - - capacity_manager_status: str | None = ... - """The current status of Capacity Manager after the enable operation.""" - organizations_access: bool | None = ... - """ - Indicates whether Organizations access is enabled for cross-account data - aggregation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableEbsEncryptionByDefaultInput(_SerdeShape): - """Dataclass for EnableEbsEncryptionByDefaultInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableEbsEncryptionByDefaultOutput(_SerdeShape): - """Dataclass for EnableEbsEncryptionByDefaultOutput structure.""" - - ebs_encryption_by_default: bool | None = ... - """The updated status of encryption by default.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableFastLaunchInput(_SerdeShape): - """Dataclass for EnableFastLaunchInput structure.""" - - image_id: str | None = ... - """Specify the ID of the image for which to enable Windows fast launch.""" - resource_type: str | None = ... - """ - The type of resource to use for pre-provisioning the AMI for Windows - fast launch. Supported values include: `snapshot`, which is the default - value. - """ - snapshot_configuration: FastLaunchSnapshotConfigurationRequest | None = ... - """ - Configuration settings for creating and managing the snapshots that are - used for pre-provisioning the AMI for Windows fast launch. The - associated `ResourceType` must be `snapshot`. - """ - launch_template: FastLaunchLaunchTemplateSpecificationRequest | None = ... - """ - The launch template to use when launching Windows instances from - pre-provisioned snapshots. Launch template parameters can include either - the name or ID of the launch template, but not both. - """ - max_parallel_launches: int | None = ... - """ - The maximum number of instances that Amazon EC2 can launch at the same - time to create pre-provisioned snapshots for Windows fast launch. Value - must be `6` or greater. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableFastLaunchOutput(_SerdeShape): - """Dataclass for EnableFastLaunchOutput structure.""" - - image_id: str | None = ... - """ - The image ID that identifies the AMI for which Windows fast launch was - enabled. - """ - resource_type: str | None = ... - """ - The type of resource that was defined for pre-provisioning the AMI for - Windows fast launch. - """ - snapshot_configuration: FastLaunchSnapshotConfigurationResponse | None = ... - """ - Settings to create and manage the pre-provisioned snapshots that Amazon - EC2 uses for faster launches from the Windows AMI. This property is - returned when the associated `resourceType` is `snapshot`. - """ - launch_template: FastLaunchLaunchTemplateSpecificationResponse | None = ... - """ - The launch template that is used when launching Windows instances from - pre-provisioned snapshots. - """ - max_parallel_launches: int | None = ... - """ - The maximum number of instances that Amazon EC2 can launch at the same - time to create pre-provisioned snapshots for Windows fast launch. - """ - owner_id: str | None = ... - """The owner ID for the AMI for which Windows fast launch was enabled.""" - state: str | None = ... - """The current state of Windows fast launch for the specified AMI.""" - state_transition_reason: str | None = ... - """The reason that the state changed for Windows fast launch for the AMI.""" - state_transition_time: datetime | None = ... - """The time that the state changed for Windows fast launch for the AMI.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableFastSnapshotRestoreErrorItem(_SerdeShape): - """ - Contains information about the errors that occurred when enabling fast - snapshot restores. - """ - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - fast_snapshot_restore_state_errors: ( - list[EnableFastSnapshotRestoreStateErrorItem] | None - ) = ... - """The errors.""" - -@dataclass(kw_only=True) -class EnableFastSnapshotRestoresInput(_SerdeShape): - """Dataclass for EnableFastSnapshotRestoresInput structure.""" - - availability_zones: list[str] | None = ... - """ - One or more Availability Zones. For example, `us-east-2a`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - availability_zone_ids: list[str] | None = ... - """ - One or more Availability Zone IDs. For example, `use2-az1`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - source_snapshot_ids: list[str] | None = ... - """ - The IDs of one or more snapshots. For example, `snap-1234567890abcdef0`. - You can specify a snapshot that was shared with you from another Amazon - Web Services account. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableFastSnapshotRestoresOutput(_SerdeShape): - """Dataclass for EnableFastSnapshotRestoresOutput structure.""" - - successful: list[EnableFastSnapshotRestoreSuccessItem] | None = ... - """ - Information about the snapshots for which fast snapshot restores were - successfully enabled. - """ - unsuccessful: list[EnableFastSnapshotRestoreErrorItem] | None = ... - """ - Information about the snapshots for which fast snapshot restores could - not be enabled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableFastSnapshotRestoreStateError(_SerdeShape): - """Describes an error that occurred when enabling fast snapshot restores.""" - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The error message.""" - -@dataclass(kw_only=True) -class EnableFastSnapshotRestoreStateErrorItem(_SerdeShape): - """ - Contains information about an error that occurred when enabling fast - snapshot restores. - """ - - availability_zone: str | None = ... - """The Availability Zone.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - error: EnableFastSnapshotRestoreStateError | None = ... - """The error.""" - -@dataclass(kw_only=True) -class EnableFastSnapshotRestoreSuccessItem(_SerdeShape): - """Describes fast snapshot restores that were successfully enabled.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - availability_zone: str | None = ... - """The Availability Zone.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - state: str | None = ... - """The state of fast snapshot restores.""" - state_transition_reason: str | None = ... - """ - The reason for the state transition. The possible values are as follows: - - - `Client.UserInitiated` - The state successfully transitioned to - `enabling` or `disabling`. - - - `Client.UserInitiated - Lifecycle state transition` - The state - successfully transitioned to `optimizing`, `enabled`, or `disabled`. - """ - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that enabled fast snapshot - restores on the snapshot. - """ - owner_alias: str | None = ... - """ - The Amazon Web Services owner alias that enabled fast snapshot restores - on the snapshot. This is intended for future use. - """ - enabling_time: datetime | None = ... - """The time at which fast snapshot restores entered the `enabling` state.""" - optimizing_time: datetime | None = ... - """The time at which fast snapshot restores entered the `optimizing` state.""" - enabled_time: datetime | None = ... - """The time at which fast snapshot restores entered the `enabled` state.""" - disabling_time: datetime | None = ... - """The time at which fast snapshot restores entered the `disabling` state.""" - disabled_time: datetime | None = ... - """The time at which fast snapshot restores entered the `disabled` state.""" - -@dataclass(kw_only=True) -class EnableImageBlockPublicAccessInput(_SerdeShape): - """Dataclass for EnableImageBlockPublicAccessInput structure.""" - - image_block_public_access_state: str | None = ... - """ - Specify `block-new-sharing` to enable block public access for AMIs at - the account level in the specified Region. This will block any attempt - to publicly share your AMIs in the specified Region. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableImageBlockPublicAccessOutput(_SerdeShape): - """Dataclass for EnableImageBlockPublicAccessOutput structure.""" - - image_block_public_access_state: str | None = ... - """ - Returns `block-new-sharing` if the request succeeds; otherwise, it - returns an error. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableImageDeprecationInput(_SerdeShape): - """Dataclass for EnableImageDeprecationInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - deprecate_at: datetime | None = ... - """ - The date and time to deprecate the AMI, in UTC, in the following format: - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z. If you specify a value for seconds, - Amazon EC2 rounds the seconds to the nearest minute. - - You can't specify a date in the past. The upper limit for `DeprecateAt` - is 10 years from now, except for public AMIs, where the upper limit is 2 - years from the creation date. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableImageDeprecationOutput(_SerdeShape): - """Dataclass for EnableImageDeprecationOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableImageDeregistrationProtectionInput(_SerdeShape): - """Dataclass for EnableImageDeregistrationProtectionInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - with_cooldown: bool | None = ... - """ - If `true`, enforces deregistration protection for 24 hours after - deregistration protection is disabled. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableImageDeregistrationProtectionOutput(_SerdeShape): - """Dataclass for EnableImageDeregistrationProtectionOutput structure.""" - - return_: str | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableImageInput(_SerdeShape): - """Dataclass for EnableImageInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableImageOutput(_SerdeShape): - """Dataclass for EnableImageOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableInstanceSqlHaStandbyDetectionsInput(_SerdeShape): - """Dataclass for EnableInstanceSqlHaStandbyDetectionsInput structure.""" - - instance_ids: list[str] | None = ... - """ - The IDs of the instances to enable for SQL Server High Availability - standby detection monitoring. - """ - sql_server_credentials: str | None = ... - """ - The ARN of the Secrets Manager secret containing the SQL Server access - credentials. The specified secret must contain valid SQL Server - credentials for the specified instances. If not specified, deafult local - user credentials will be used by the Amazon Web Services Systems Manager - agent. To enable instances with different credentials, you must make - separate requests. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableInstanceSqlHaStandbyDetectionsOutput(_SerdeShape): - """Dataclass for EnableInstanceSqlHaStandbyDetectionsOutput structure.""" - - instances: list[RegisteredInstance] | None = ... - """ - Information about the instances that were enabled for SQL Server High - Availability standby detection monitoring. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableIpamInternetRegistryAssociationInput(_SerdeShape): - """Dataclass for EnableIpamInternetRegistryAssociationInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association to enable.""" - rpki_version: str | None = ... - """The RPKI version to use from the Parent Response XML.""" - service_uri: str | None = ... - """ - The RPKI service URI for the publication point from the Parent Response - XML. - """ - child_handle: str | None = ... - """ - The child handle for the BPKI certificate hierarchy from the Parent - Response XML. - """ - parent_handle: str | None = ... - """ - The parent handle for the BPKI certificate hierarchy from the Parent - Response XML. - """ - parent_bpki_ta: str | None = ... - """ - The parent BPKI Trust Anchor certificate in PEM format from the Parent - Response XML. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, the operation ignores the request, but does not return an - error. - """ - -@dataclass(kw_only=True) -class EnableIpamInternetRegistryAssociationOutput(_SerdeShape): - """Dataclass for EnableIpamInternetRegistryAssociationOutput structure.""" - - ipam_internet_registry_association: IpamInternetRegistryAssociation | None = ... - """Information about the enabled internet registry association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableIpamOrganizationAdminAccountInput(_SerdeShape): - """Dataclass for EnableIpamOrganizationAdminAccountInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - delegated_admin_account_id: str | None = ... - """ - The Organizations member account ID that you want to enable as the IPAM - account. - """ - -@dataclass(kw_only=True) -class EnableIpamOrganizationAdminAccountOutput(_SerdeShape): - """Dataclass for EnableIpamOrganizationAdminAccountOutput structure.""" - - success: bool | None = ... - """The result of enabling the IPAM account.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableIpamPolicyInput(_SerdeShape): - """Dataclass for EnableIpamPolicyInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_policy_id: str | None = ... - """The ID of the IPAM policy to enable.""" - organization_target_id: str | None = ... - """ - A target can be an individual Amazon Web Services account or an entity - within an Amazon Web Services Organization to which an IPAM policy can - be applied. - - The ID of the Amazon Web Services Organizations target for which to - enable the IPAM policy. This parameter is required only when IPAM is - integrated with Amazon Web Services Organizations. When IPAM is not - integrated with Amazon Web Services Organizations, omit this parameter - and the policy will apply to the current account. - """ - -@dataclass(kw_only=True) -class EnableIpamPolicyOutput(_SerdeShape): - """Dataclass for EnableIpamPolicyOutput structure.""" - - ipam_policy_id: str | None = ... - """The ID of the IPAM policy that was enabled.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableReachabilityAnalyzerOrganizationSharingInput(_SerdeShape): - """ - Dataclass for EnableReachabilityAnalyzerOrganizationSharingInput - structure. - """ - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableReachabilityAnalyzerOrganizationSharingOutput(_SerdeShape): - """ - Dataclass for EnableReachabilityAnalyzerOrganizationSharingOutput - structure. - """ - - return_value: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableRouteServerPropagationInput(_SerdeShape): - """Dataclass for EnableRouteServerPropagationInput structure.""" - - route_server_id: str | None = ... - """The ID of the route server for which to enable propagation.""" - route_table_id: str | None = ... - """The ID of the route table to which route server will propagate routes.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableRouteServerPropagationOutput(_SerdeShape): - """Dataclass for EnableRouteServerPropagationOutput structure.""" - - route_server_propagation: RouteServerPropagation | None = ... - """Information about the enabled route server propagation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableSerialConsoleAccessInput(_SerdeShape): - """Dataclass for EnableSerialConsoleAccessInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableSerialConsoleAccessOutput(_SerdeShape): - """Dataclass for EnableSerialConsoleAccessOutput structure.""" - - serial_console_access_enabled: bool | None = ... - """ - If `true`, access to the EC2 serial console of all instances is enabled - for your account. If `false`, access to the EC2 serial console of all - instances is disabled for your account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableSnapshotBlockPublicAccessInput(_SerdeShape): - """Dataclass for EnableSnapshotBlockPublicAccessInput structure.""" - - state: str | None = ... - """ - The mode in which to enable block public access for snapshots for the - Region. Specify one of the following values: - - - `block-all-sharing` - Prevents all public sharing of snapshots in the - Region. Users in the account will no longer be able to request new - public sharing. Additionally, snapshots that are already publicly - shared are treated as private and they are no longer publicly - available. - - - `block-new-sharing` - Prevents only new public sharing of snapshots in - the Region. Users in the account will no longer be able to request new - public sharing. However, snapshots that are already publicly shared, - remain publicly available. - - `unblocked` is not a valid value for - **EnableSnapshotBlockPublicAccess**. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableSnapshotBlockPublicAccessOutput(_SerdeShape): - """Dataclass for EnableSnapshotBlockPublicAccessOutput structure.""" - - state: str | None = ... - """ - The state of block public access for snapshots for the account and - Region. Returns either `block-all-sharing` or `block-new-sharing` if the - request succeeds. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableTransitGatewayRouteTablePropagationInput(_SerdeShape): - """Dataclass for EnableTransitGatewayRouteTablePropagationInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the propagation route table.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - transit_gateway_route_table_announcement_id: str | None = ... - """The ID of the transit gateway route table announcement.""" - -@dataclass(kw_only=True) -class EnableTransitGatewayRouteTablePropagationOutput(_SerdeShape): - """Dataclass for EnableTransitGatewayRouteTablePropagationOutput structure.""" - - propagation: TransitGatewayPropagation | None = ... - """Information about route propagation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableVgwRoutePropagationInput(_SerdeShape): - """Contains the parameters for EnableVgwRoutePropagation.""" - - gateway_id: str | None = ... - """ - The ID of the virtual private gateway that is attached to a VPC. The - virtual private gateway must be attached to the same VPC that the - routing tables are associated with. - """ - route_table_id: str | None = ... - """ - The ID of the route table. The routing table must be associated with the - same VPC that the virtual private gateway is attached to. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class EnableVgwRoutePropagationOutput(_SerdeShape): - """Dataclass for EnableVgwRoutePropagationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableVolumeIOInput(_SerdeShape): - """Dataclass for EnableVolumeIOInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - volume_id: str | None = ... - """The ID of the volume.""" - -@dataclass(kw_only=True) -class EnableVolumeIOOutput(_SerdeShape): - """Dataclass for EnableVolumeIOOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableVpcClassicLinkDnsSupportInput(_SerdeShape): - """Dataclass for EnableVpcClassicLinkDnsSupportInput structure.""" - - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class EnableVpcClassicLinkDnsSupportOutput(_SerdeShape): - """Dataclass for EnableVpcClassicLinkDnsSupportOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableVpcClassicLinkInput(_SerdeShape): - """Dataclass for EnableVpcClassicLinkInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class EnableVpcClassicLinkOutput(_SerdeShape): - """Dataclass for EnableVpcClassicLinkOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnaSrdSpecification(_SerdeShape): - """ - ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) - technology to increase the maximum bandwidth used per stream and - minimize tail latency of network traffic between EC2 instances. With ENA - Express, you can communicate between two EC2 instances in the same - subnet within the same account, or in different accounts. Both sending - and receiving instances must have ENA Express enabled. - - To improve the reliability of network packet delivery, ENA Express - reorders network packets on the receiving end by default. However, some - UDP-based applications are designed to handle network packets that are - out of order to reduce the overhead for packet delivery at the network - layer. When ENA Express is enabled, you can specify whether UDP network - traffic uses it. - """ - - ena_srd_enabled: bool | None = ... - """Indicates whether ENA Express is enabled for the network interface.""" - ena_srd_udp_specification: EnaSrdUdpSpecification | None = ... - """Configures ENA Express for UDP network traffic.""" - -@dataclass(kw_only=True) -class EnaSrdSpecificationRequest(_SerdeShape): - """ - Launch instances with ENA Express settings configured from your launch - template. - """ - - ena_srd_enabled: bool | None = ... - """ - Specifies whether ENA Express is enabled for the network interface when - you launch an instance. - """ - ena_srd_udp_specification: EnaSrdUdpSpecificationRequest | None = ... - """ - Contains ENA Express settings for UDP network traffic for the network - interface attached to the instance. - """ - -@dataclass(kw_only=True) -class EnaSrdUdpSpecification(_SerdeShape): - """ - ENA Express is compatible with both TCP and UDP transport protocols. - When it's enabled, TCP traffic automatically uses it. However, some - UDP-based applications are designed to handle network packets that are - out of order, without a need for retransmission, such as live video - broadcasting or other near-real-time applications. For UDP traffic, you - can specify whether to use ENA Express, based on your application - environment needs. - """ - - ena_srd_udp_enabled: bool | None = ... - """ - Indicates whether UDP traffic to and from the instance uses ENA Express. - To specify this setting, you must first enable ENA Express. - """ - -@dataclass(kw_only=True) -class EnaSrdUdpSpecificationRequest(_SerdeShape): - """ - Configures ENA Express for UDP network traffic from your launch - template. - """ - - ena_srd_udp_enabled: bool | None = ... - """ - Indicates whether UDP traffic uses ENA Express for your instance. To - ensure that UDP traffic can use ENA Express when you launch an instance, - you must also set **EnaSrdEnabled** in the - **EnaSrdSpecificationRequest** to `true`. - """ - -class EnaSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - REQUIRED = "required" - -@dataclass(kw_only=True) -class EnclaveOptions(_SerdeShape): - """ - Indicates whether the instance is enabled for Amazon Web Services Nitro - Enclaves. - """ - - enabled: bool | None = ... - """ - If this parameter is set to `true`, the instance is enabled for Amazon - Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web - Services Nitro Enclaves. - """ - -@dataclass(kw_only=True) -class EnclaveOptionsRequest(_SerdeShape): - """ - Indicates whether the instance is enabled for Amazon Web Services Nitro - Enclaves. For more information, see [What is Amazon Web Services Nitro - Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) - in the *Amazon Web Services Nitro Enclaves User Guide*. - """ - - enabled: bool | None = ... - """ - To enable the instance for Amazon Web Services Nitro Enclaves, set this - parameter to `true`. - """ - -class EncryptionStateValue(UnknownEnumMixin, StrEnum): - ENABLING = "enabling" - ENABLED = "enabled" - DISABLING = "disabling" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class EncryptionSupport(_SerdeShape): - """Describes the encryption support status for a transit gateway.""" - - encryption_state: str | None = ... - """The current encryption state of the resource.""" - state_message: str | None = ... - """A message describing the encryption state.""" - -class EncryptionSupportOptionValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class EndDateType(UnknownEnumMixin, StrEnum): - UNLIMITED = "unlimited" - LIMITED = "limited" - -class EndpointIpAddressType(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - IPV6 = "ipv6" - DUAL_STACK = "dual-stack" - -class EphemeralNvmeSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - REQUIRED = "required" - -class EventCode(UnknownEnumMixin, StrEnum): - INSTANCE_REBOOT = "instance-reboot" - SYSTEM_REBOOT = "system-reboot" - SYSTEM_MAINTENANCE = "system-maintenance" - INSTANCE_RETIREMENT = "instance-retirement" - INSTANCE_STOP = "instance-stop" - -@dataclass(kw_only=True) -class EventInformation(_SerdeShape): - """Describes an EC2 Fleet or Spot Fleet event.""" - - event_description: str | None = ... - """The description of the event.""" - event_sub_type: str | None = ... - """ - The event. - - `error` events: - - - `iamFleetRoleInvalid` - The EC2 Fleet or Spot Fleet does not have the - required permissions either to launch or terminate an instance. - - - `allLaunchSpecsTemporarilyBlacklisted` - None of the configurations - are valid, and several attempts to launch instances have failed. For - more information, see the description of the event. - - - `spotInstanceCountLimitExceeded` - You've reached the limit on the - number of Spot Instances that you can launch. - - - `spotFleetRequestConfigurationInvalid` - The configuration is not - valid. For more information, see the description of the event. - - `fleetRequestChange` events: - - - `active` - The EC2 Fleet or Spot Fleet request has been validated and - Amazon EC2 is attempting to maintain the target number of running - instances. - - - `deleted` (EC2 Fleet) / `cancelled` (Spot Fleet) - The EC2 Fleet is - deleted or the Spot Fleet request is canceled and has no running - instances. The EC2 Fleet or Spot Fleet will be deleted two days after - its instances are terminated. - - - `deleted_running` (EC2 Fleet) / `cancelled_running` (Spot Fleet) - The - EC2 Fleet is deleted or the Spot Fleet request is canceled and does - not launch additional instances. Its existing instances continue to - run until they are interrupted or terminated. The request remains in - this state until all instances are interrupted or terminated. - - - `deleted_terminating` (EC2 Fleet) / `cancelled_terminating` (Spot - Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is - canceled and its instances are terminating. The request remains in - this state until all instances are terminated. - - - `expired` - The EC2 Fleet or Spot Fleet request has expired. If the - request was created with `TerminateInstancesWithExpiration` set, a - subsequent `terminated` event indicates that the instances are - terminated. - - - `modify_in_progress` - The EC2 Fleet or Spot Fleet request is being - modified. The request remains in this state until the modification is - fully processed. - - - `modify_succeeded` - The EC2 Fleet or Spot Fleet request was modified. - - - `submitted` - The EC2 Fleet or Spot Fleet request is being evaluated - and Amazon EC2 is preparing to launch the target number of instances. - - - `progress` - The EC2 Fleet or Spot Fleet request is in the process of - being fulfilled. - - `instanceChange` events: - - - `launched` - A new instance was launched. - - - `terminated` - An instance was terminated by the user. - - - `termination_notified` - An instance termination notification was sent - when a Spot Instance was terminated by Amazon EC2 during scale-down, - when the target capacity of the fleet was modified down, for example, - from a target capacity of 4 to a target capacity of 3. - - `Information` events: - - - `fleetProgressHalted` - The price in every launch specification is not - valid because it is below the Spot price (all the launch - specifications have produced `launchSpecUnusable` events). A launch - specification might become valid if the Spot price changes. - - - `launchSpecTemporarilyBlacklisted` - The configuration is not valid - and several attempts to launch instances have failed. For more - information, see the description of the event. - - - `launchSpecUnusable` - The price specified in a launch specification - is not valid because it is below the Spot price for the requested Spot - pools. - - Note: Even if a fleet with the `maintain` request type is in the - process of being canceled, it may still publish a `launchSpecUnusable` - event. This does not mean that the canceled fleet is attempting to - launch a new instance. - - - `registerWithLoadBalancersFailed` - An attempt to register instances - with load balancers failed. For more information, see the description - of the event. - """ - instance_id: str | None = ... - """ - The ID of the instance. This information is available only for - `instanceChange` events. - """ - -class EventType(UnknownEnumMixin, StrEnum): - INSTANCE_CHANGE = "instanceChange" - BATCH_CHANGE = "fleetRequestChange" - ERROR = "error" - INFORMATION = "information" - -class ExcessCapacityTerminationPolicy(UnknownEnumMixin, StrEnum): - NO_TERMINATION = "noTermination" - DEFAULT = "default" - -@dataclass(kw_only=True) -class Explanation(_SerdeShape): - """ - Describes an explanation code for an unreachable path. For more - information, see [Reachability Analyzer explanation - codes](https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html). - """ - - acl: AnalysisComponent | None = ... - """The network ACL.""" - acl_rule: AnalysisAclRule | None = ... - """The network ACL rule.""" - address: str | None = ... - """The IPv4 address, in CIDR notation.""" - addresses: list[str] | None = ... - """The IPv4 addresses, in CIDR notation.""" - attached_to: AnalysisComponent | None = ... - """The resource to which the component is attached.""" - availability_zones: list[str] | None = ... - """The Availability Zones.""" - availability_zone_ids: list[str] | None = ... - """The IDs of the Availability Zones.""" - cidrs: list[str] | None = ... - """The CIDR ranges.""" - component: AnalysisComponent | None = ... - """The component.""" - customer_gateway: AnalysisComponent | None = ... - """The customer gateway.""" - destination: AnalysisComponent | None = ... - """The destination.""" - destination_vpc: AnalysisComponent | None = ... - """The destination VPC.""" - direction: str | None = ... - """ - The direction. The following are the possible values: - - - egress - - - ingress - """ - explanation_code: str | None = ... - """The explanation code.""" - ingress_route_table: AnalysisComponent | None = ... - """The route table.""" - internet_gateway: AnalysisComponent | None = ... - """The internet gateway.""" - load_balancer_arn: str | None = ... - """The Amazon Resource Name (ARN) of the load balancer.""" - classic_load_balancer_listener: AnalysisLoadBalancerListener | None = ... - """The listener for a Classic Load Balancer.""" - load_balancer_listener_port: int | None = ... - """The listener port of the load balancer.""" - load_balancer_target: AnalysisLoadBalancerTarget | None = ... - """The target.""" - load_balancer_target_group: AnalysisComponent | None = ... - """The target group.""" - load_balancer_target_groups: list[AnalysisComponent] | None = ... - """The target groups.""" - load_balancer_target_port: int | None = ... - """The target port.""" - elastic_load_balancer_listener: AnalysisComponent | None = ... - """The load balancer listener.""" - missing_component: str | None = ... - """The missing component.""" - nat_gateway: AnalysisComponent | None = ... - """The NAT gateway.""" - network_interface: AnalysisComponent | None = ... - """The network interface.""" - packet_field: str | None = ... - """The packet field.""" - vpc_peering_connection: AnalysisComponent | None = ... - """The VPC peering connection.""" - port: int | None = ... - """The port.""" - port_ranges: list[PortRange] | None = ... - """The port ranges.""" - prefix_list: AnalysisComponent | None = ... - """The prefix list.""" - protocols: list[str] | None = ... - """The protocols.""" - route_table_route: AnalysisRouteTableRoute | None = ... - """The route table route.""" - route_table: AnalysisComponent | None = ... - """The route table.""" - security_group: AnalysisComponent | None = ... - """The security group.""" - security_group_rule: AnalysisSecurityGroupRule | None = ... - """The security group rule.""" - security_groups: list[AnalysisComponent] | None = ... - """The security groups.""" - source_vpc: AnalysisComponent | None = ... - """The source VPC.""" - state: str | None = ... - """The state.""" - subnet: AnalysisComponent | None = ... - """The subnet.""" - subnet_route_table: AnalysisComponent | None = ... - """The route table for the subnet.""" - vpc: AnalysisComponent | None = ... - """The component VPC.""" - vpc_endpoint: AnalysisComponent | None = ... - """The VPC endpoint.""" - vpn_connection: AnalysisComponent | None = ... - """The VPN connection.""" - vpn_gateway: AnalysisComponent | None = ... - """The VPN gateway.""" - transit_gateway: AnalysisComponent | None = ... - """The transit gateway.""" - transit_gateway_route_table: AnalysisComponent | None = ... - """The transit gateway route table.""" - transit_gateway_route_table_route: TransitGatewayRouteTableRoute | None = ... - """The transit gateway route table route.""" - transit_gateway_policy_table: AnalysisComponent | None = ... - """The transit gateway policy table.""" - transit_gateway_policy_table_entry: ( - AnalysisTransitGatewayPolicyTableEntry | None - ) = ... - """The transit gateway policy table entry.""" - transit_gateway_attachment: AnalysisComponent | None = ... - """The transit gateway attachment.""" - component_account: str | None = ... - """The Amazon Web Services account for the component.""" - component_region: str | None = ... - """The Region for the component.""" - firewall_stateless_rule: FirewallStatelessRule | None = ... - """The Network Firewall stateless rule.""" - firewall_stateful_rule: FirewallStatefulRule | None = ... - """The Network Firewall stateful rule.""" - -@dataclass(kw_only=True) -class ExportClientVpnClientCertificateRevocationListInput(_SerdeShape): - """ - Dataclass for ExportClientVpnClientCertificateRevocationListInput - structure. - """ - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ExportClientVpnClientCertificateRevocationListOutput(_SerdeShape): - """ - Dataclass for ExportClientVpnClientCertificateRevocationListOutput - structure. - """ - - certificate_revocation_list: str | None = ... - """Information about the client certificate revocation list.""" - status: ClientCertificateRevocationListStatus | None = ... - """The current state of the client certificate revocation list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExportClientVpnClientConfigurationInput(_SerdeShape): - """Dataclass for ExportClientVpnClientConfigurationInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ExportClientVpnClientConfigurationOutput(_SerdeShape): - """Dataclass for ExportClientVpnClientConfigurationOutput structure.""" - - client_configuration: str | None = ... - """The contents of the Client VPN endpoint configuration file.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ExportEnvironment(UnknownEnumMixin, StrEnum): - CITRIX = "citrix" - VMWARE = "vmware" - MICROSOFT = "microsoft" - -@dataclass(kw_only=True) -class ExportImageInput(_SerdeShape): - """Dataclass for ExportImageInput structure.""" - - client_token: str | None = ... - """Token to enable idempotency for export image requests.""" - description: str | None = ... - """ - A description of the image being exported. The maximum length is 255 - characters. - """ - disk_image_format: str | None = ... - """The disk image format.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - image_id: str | None = ... - """The ID of the image.""" - s3_export_location: ExportTaskS3LocationRequest | None = ... - """ - The Amazon S3 bucket for the destination image. The destination bucket - must exist. - """ - role_name: str | None = ... - """ - The name of the role that grants VM Import/Export permission to export - images to your Amazon S3 bucket. If this parameter is not specified, the - default role is named 'vmimport'. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the export image task during creation.""" - -@dataclass(kw_only=True) -class ExportImageOutput(_SerdeShape): - """Dataclass for ExportImageOutput structure.""" - - description: str | None = ... - """A description of the image being exported.""" - disk_image_format: str | None = ... - """The disk image format for the exported image.""" - export_image_task_id: str | None = ... - """The ID of the export image task.""" - image_id: str | None = ... - """The ID of the image.""" - role_name: str | None = ... - """ - The name of the role that grants VM Import/Export permission to export - images to your Amazon S3 bucket. - """ - progress: str | None = ... - """The percent complete of the export image task.""" - s3_export_location: ExportTaskS3Location | None = ... - """Information about the destination Amazon S3 bucket.""" - status: str | None = ... - """ - The status of the export image task. The possible values are `active`, - `completed`, `deleting`, and `deleted`. - """ - status_message: str | None = ... - """The status message for the export image task.""" - tags: list[Tag] | None = ... - """Any tags assigned to the export image task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExportImageTask(_SerdeShape): - """Describes an export image task.""" - - description: str | None = ... - """A description of the image being exported.""" - export_image_task_id: str | None = ... - """The ID of the export image task.""" - image_id: str | None = ... - """The ID of the image.""" - progress: str | None = ... - """The percent complete of the export image task.""" - s3_export_location: ExportTaskS3Location | None = ... - """Information about the destination Amazon S3 bucket.""" - status: str | None = ... - """ - The status of the export image task. The possible values are `active`, - `completed`, `deleting`, and `deleted`. - """ - status_message: str | None = ... - """The status message for the export image task.""" - tags: list[Tag] | None = ... - """Any tags assigned to the export image task.""" - -@dataclass(kw_only=True) -class ExportTask(_SerdeShape): - """Describes an export instance task.""" - - description: str | None = ... - """A description of the resource being exported.""" - export_task_id: str | None = ... - """The ID of the export task.""" - export_to_s3_task: ExportToS3Task | None = ... - """Information about the export task.""" - instance_export_details: InstanceExportDetails | None = ... - """Information about the instance to export.""" - state: str | None = ... - """The state of the export task.""" - status_message: str | None = ... - """The status message related to the export task.""" - tags: list[Tag] | None = ... - """The tags for the export task.""" - -@dataclass(kw_only=True) -class ExportTaskS3Location(_SerdeShape): - """Describes the destination for an export image task.""" - - s3_bucket: str | None = ... - """The destination Amazon S3 bucket.""" - s3_prefix: str | None = ... - """The prefix (logical hierarchy) in the bucket.""" - -@dataclass(kw_only=True) -class ExportTaskS3LocationRequest(_SerdeShape): - """Describes the destination for an export image task.""" - - s3_bucket: str | None = ... - """The destination Amazon S3 bucket.""" - s3_prefix: str | None = ... - """The prefix (logical hierarchy) in the bucket.""" - -class ExportTaskState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - CANCELLING = "cancelling" - CANCELLED = "cancelled" - COMPLETED = "completed" - -@dataclass(kw_only=True) -class ExportToS3Task(_SerdeShape): - """Describes the format and location for the export task.""" - - container_format: str | None = ... - """ - The container format used to combine disk images with metadata (such as - OVF). If absent, only the disk image is exported. - """ - disk_image_format: str | None = ... - """The format for the exported image.""" - s3_bucket: str | None = ... - """ - The Amazon S3 bucket for the destination image. The destination bucket - must exist and have an access control list (ACL) attached that specifies - the Region-specific canonical account ID for the `Grantee`. For more - information about the ACL to your S3 bucket, see - [Prerequisites](https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#vmexport-prerequisites) - in the VM Import/Export User Guide. - """ - s3_key: str | None = ... - """The encryption key for your S3 bucket.""" - -@dataclass(kw_only=True) -class ExportToS3TaskSpecification(_SerdeShape): - """Describes an export instance task.""" - - disk_image_format: str | None = ... - """The format for the exported image.""" - container_format: str | None = ... - """ - The container format used to combine disk images with metadata (such as - OVF). If absent, only the disk image is exported. - """ - s3_bucket: str | None = ... - """ - The Amazon S3 bucket for the destination image. The destination bucket - must exist and have an access control list (ACL) attached that specifies - the Region-specific canonical account ID for the `Grantee`. For more - information about the ACL to your S3 bucket, see - [Prerequisites](https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#vmexport-prerequisites) - in the VM Import/Export User Guide. - """ - s3_prefix: str | None = ... - """ - The image is written to a single object in the Amazon S3 bucket at the - S3 key s3prefix + exportTaskId + '.' + diskImageFormat. - """ - -@dataclass(kw_only=True) -class ExportTransitGatewayRoutesInput(_SerdeShape): - """Dataclass for ExportTransitGatewayRoutesInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the route table.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `attachment.transit-gateway-attachment-id` - The id of the transit - gateway attachment. - - - `attachment.resource-id` - The resource id of the transit gateway - attachment. - - - `route-search.exact-match` - The exact match of the specified filter. - - - `route-search.longest-prefix-match` - The longest prefix that matches - the route. - - - `route-search.subnet-of-match` - The routes with a subnet that match - the specified CIDR filter. - - - `route-search.supernet-of-match` - The routes with a CIDR that - encompass the CIDR filter. For example, if you have 10.0.1.0/29 and - 10.0.1.0/31 routes in your route table and you specify - supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. - - - `state` - The state of the route (`active` | `blackhole`). - - - `transit-gateway-route-destination-cidr-block` - The CIDR range. - - - `type` - The type of route (`propagated` | `static`). - """ - s3_bucket: str | None = ... - """The name of the S3 bucket.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ExportTransitGatewayRoutesOutput(_SerdeShape): - """Dataclass for ExportTransitGatewayRoutesOutput structure.""" - - s3_location: str | None = ... - """ - The URL of the exported file in Amazon S3. For example, - s3://*bucket_name*/VPCTransitGateway/TransitGatewayRouteTables/*file_name*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExportVerifiedAccessInstanceClientConfigurationInput(_SerdeShape): - """ - Dataclass for ExportVerifiedAccessInstanceClientConfigurationInput - structure. - """ - - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ExportVerifiedAccessInstanceClientConfigurationOutput(_SerdeShape): - """ - Dataclass for ExportVerifiedAccessInstanceClientConfigurationOutput - structure. - """ - - version: str | None = ... - """The version.""" - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - region: str | None = ... - """The Region.""" - device_trust_providers: list[str] | None = ... - """The device trust providers.""" - user_trust_provider: ( - VerifiedAccessInstanceUserTrustProviderClientConfiguration | None - ) = ... - """The user identity trust provider.""" - open_vpn_configurations: ( - list[VerifiedAccessInstanceOpenVpnClientConfiguration] | None - ) = ... - """The Open VPN configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExternalAuthorityConfiguration(_SerdeShape): - """ - The configuration that links an Amazon VPC IPAM scope to an external - authority system. It specifies the type of external system and the - external resource identifier that identifies your account or instance in - that system. - - For more information, see [Integrate VPC IPAM with Infoblox - infrastructure](https://docs.aws.amazon.com/vpc/latest/ipam/integrate-infoblox-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - - type: str | None = ... - """The type of external authority.""" - external_resource_identifier: str | None = ... - """ - The identifier for the external resource managing this scope. For - Infoblox integrations, this is the Infoblox resource identifier in the - format - ``{=html}`.identity.account.```{=html}`.```{=html}. - """ - -@dataclass(kw_only=True) -class FailedCapacityReservationFleetCancellationResult(_SerdeShape): - """Describes a Capacity Reservation Fleet that could not be cancelled.""" - - capacity_reservation_fleet_id: str | None = ... - """The ID of the Capacity Reservation Fleet that could not be cancelled.""" - cancel_capacity_reservation_fleet_error: ( - CancelCapacityReservationFleetError | None - ) = ... - """Information about the Capacity Reservation Fleet cancellation error.""" - -@dataclass(kw_only=True) -class FailedQueuedPurchaseDeletion(_SerdeShape): - """Describes a Reserved Instance whose queued purchase was not deleted.""" - - error: DeleteQueuedReservedInstancesError | None = ... - """The error.""" - reserved_instances_id: str | None = ... - """The ID of the Reserved Instance.""" - -@dataclass(kw_only=True) -class FastLaunchLaunchTemplateSpecificationRequest(_SerdeShape): - """ - Request to create a launch template for a Windows fast launch enabled - AMI. - - Note: - Note - You can specify either the `LaunchTemplateName` or the - `LaunchTemplateId`, but not both. - """ - - launch_template_id: str | None = ... - """ - Specify the ID of the launch template that the AMI should use for - Windows fast launch. - """ - launch_template_name: str | None = ... - """ - Specify the name of the launch template that the AMI should use for - Windows fast launch. - """ - version: str | None = ... - """ - Specify the version of the launch template that the AMI should use for - Windows fast launch. - """ - -@dataclass(kw_only=True) -class FastLaunchLaunchTemplateSpecificationResponse(_SerdeShape): - """ - Identifies the launch template that the AMI uses for Windows fast - launch. - """ - - launch_template_id: str | None = ... - """The ID of the launch template that the AMI uses for Windows fast launch.""" - launch_template_name: str | None = ... - """ - The name of the launch template that the AMI uses for Windows fast - launch. - """ - version: str | None = ... - """ - The version of the launch template that the AMI uses for Windows fast - launch. - """ - -class FastLaunchResourceType(UnknownEnumMixin, StrEnum): - SNAPSHOT = "snapshot" - -@dataclass(kw_only=True) -class FastLaunchSnapshotConfigurationRequest(_SerdeShape): - """ - Configuration settings for creating and managing pre-provisioned - snapshots for a Windows fast launch enabled AMI. - """ - - target_resource_count: int | None = ... - """ - The number of pre-provisioned snapshots to keep on hand for a Windows - fast launch enabled AMI. - """ - -@dataclass(kw_only=True) -class FastLaunchSnapshotConfigurationResponse(_SerdeShape): - """ - Configuration settings for creating and managing pre-provisioned - snapshots for a Windows fast launch enabled Windows AMI. - """ - - target_resource_count: int | None = ... - """ - The number of pre-provisioned snapshots requested to keep on hand for a - Windows fast launch enabled AMI. - """ - -class FastLaunchStateCode(UnknownEnumMixin, StrEnum): - ENABLING = "enabling" - ENABLING_FAILED = "enabling-failed" - ENABLED = "enabled" - ENABLED_FAILED = "enabled-failed" - DISABLING = "disabling" - DISABLING_FAILED = "disabling-failed" - -class FastSnapshotRestoreStateCode(UnknownEnumMixin, StrEnum): - ENABLING = "enabling" - OPTIMIZING = "optimizing" - ENABLED = "enabled" - DISABLING = "disabling" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class FederatedAuthentication(_SerdeShape): - """ - Describes the IAM SAML identity providers used for federated - authentication. - """ - - saml_provider_arn: str | None = ... - """The Amazon Resource Name (ARN) of the IAM SAML identity provider.""" - self_service_saml_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM SAML identity provider for the - self-service portal. - """ - -@dataclass(kw_only=True) -class FederatedAuthenticationRequest(_SerdeShape): - """The IAM SAML identity provider used for federated authentication.""" - - saml_provider_arn: str | None = ... - """The Amazon Resource Name (ARN) of the IAM SAML identity provider.""" - self_service_saml_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM SAML identity provider for the - self-service portal. - """ - -@dataclass(kw_only=True) -class Filter(_SerdeShape): - """ - A filter name and value pair that is used to return a more specific list - of results from a describe operation. Filters can be used to match a set - of resources by specific criteria, such as tags, attributes, or IDs. - - If you specify multiple filters, the filters are joined with an `AND`, - and the request returns only results that match all of the specified - filters. - - For more information, see [List and filter using the CLI and - API](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Filtering.html#Filtering_Resources_CLI) - in the *Amazon EC2 User Guide*. - """ - - name: str | None = ... - """The name of the filter. Filter names are case-sensitive.""" - values: list[str] | None = ... - """ - The filter values. Filter values are case-sensitive. If you specify - multiple values for a filter, the values are joined with an `OR`, and - the request returns all results that match any of the specified values. - """ - -class FilterByDimension(UnknownEnumMixin, StrEnum): - RESOURCE_REGION = "resource-region" - AVAILABILITY_ZONE_ID = "availability-zone-id" - ACCOUNT_ID = "account-id" - ACCOUNT_NAME = "account-name" - INSTANCE_FAMILY = "instance-family" - INSTANCE_TYPE = "instance-type" - INSTANCE_PLATFORM = "instance-platform" - RESERVATION_ARN = "reservation-arn" - RESERVATION_ID = "reservation-id" - RESERVATION_TYPE = "reservation-type" - RESERVATION_CREATE_TIMESTAMP = "reservation-create-timestamp" - RESERVATION_START_TIMESTAMP = "reservation-start-timestamp" - RESERVATION_END_TIMESTAMP = "reservation-end-timestamp" - RESERVATION_END_DATE_TYPE = "reservation-end-date-type" - TENANCY = "tenancy" - RESERVATION_STATE = "reservation-state" - RESERVATION_INSTANCE_MATCH_CRITERIA = "reservation-instance-match-criteria" - RESERVATION_UNUSED_FINANCIAL_OWNER = "reservation-unused-financial-owner" - -@dataclass(kw_only=True) -class FilterPortRange(_SerdeShape): - """Describes a port range.""" - - from_port: int | None = ... - """The first port in the range.""" - to_port: int | None = ... - """The last port in the range.""" - -class FindingsFound(UnknownEnumMixin, StrEnum): - TRUE = "true" - FALSE = "false" - UNKNOWN = "unknown" - -@dataclass(kw_only=True) -class FirewallStatefulRule(_SerdeShape): - """Describes a stateful rule.""" - - rule_group_arn: str | None = ... - """The ARN of the stateful rule group.""" - sources: list[str] | None = ... - """The source IP addresses, in CIDR notation.""" - destinations: list[str] | None = ... - """The destination IP addresses, in CIDR notation.""" - source_ports: list[PortRange] | None = ... - """The source ports.""" - destination_ports: list[PortRange] | None = ... - """The destination ports.""" - protocol: str | None = ... - """The protocol.""" - rule_action: str | None = ... - """The rule action. The possible values are `pass`, `drop`, and `alert`.""" - direction: str | None = ... - """The direction. The possible values are `FORWARD` and `ANY`.""" - -@dataclass(kw_only=True) -class FirewallStatelessRule(_SerdeShape): - """Describes a stateless rule.""" - - rule_group_arn: str | None = ... - """The ARN of the stateless rule group.""" - sources: list[str] | None = ... - """The source IP addresses, in CIDR notation.""" - destinations: list[str] | None = ... - """The destination IP addresses, in CIDR notation.""" - source_ports: list[PortRange] | None = ... - """The source ports.""" - destination_ports: list[PortRange] | None = ... - """The destination ports.""" - protocols: list[int] | None = ... - """The protocols.""" - rule_action: str | None = ... - """ - The rule action. The possible values are `pass`, `drop`, and - `forward_to_site`. - """ - priority: int | None = ... - """The rule priority.""" - -class FleetActivityStatus(UnknownEnumMixin, StrEnum): - ERROR = "error" - PENDING_FULFILLMENT = "pending_fulfillment" - PENDING_TERMINATION = "pending_termination" - FULFILLED = "fulfilled" - -@dataclass(kw_only=True) -class FleetBlockDeviceMappingRequest(_SerdeShape): - """ - Describes a block device mapping, which defines the EBS volumes and - instance store volumes to attach to an instance at launch. - - To override a block device mapping specified in the launch template: - - - Specify the exact same `DeviceName` here as specified in the launch - template. - - - Only specify the parameters you want to change. - - - Any parameters you don't specify here will keep their original launch - template values. - - To add a new block device mapping: - - - Specify a `DeviceName` that doesn't exist in the launch template. - - - Specify all desired parameters here. - """ - - device_name: str | None = ... - """The device name (for example, `/dev/sdh` or `xvdh`).""" - virtual_name: str | None = ... - """ - The virtual device name (`ephemeralN`). Instance store volumes are - numbered starting from 0. An instance type with 2 available instance - store volumes can specify mappings for `ephemeral0` and `ephemeral1`. - The number of available instance store volumes depends on the instance - type. After you connect to the instance, you must mount the volume. - - NVMe instance store volumes are automatically enumerated and assigned a - device name. Including them in your block device mapping has no effect. - - Constraints: For M3 instances, you must specify instance store volumes - in the block device mapping for the instance. When you launch an M3 - instance, we ignore any instance store volumes specified in the block - device mapping for the AMI. - """ - ebs: FleetEbsBlockDeviceRequest | None = ... - """ - Parameters used to automatically set up EBS volumes when the instance is - launched. - """ - no_device: str | None = ... - """ - To omit the device from the block device mapping, specify an empty - string. When this property is specified, the device is removed from the - block device mapping regardless of the assigned value. - """ - -@dataclass(kw_only=True) -class FleetCapacityReservation(_SerdeShape): - """ - Information about a Capacity Reservation in a Capacity Reservation - Fleet. - """ - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which the Capacity Reservation - reserves capacity. - """ - instance_type: str | None = ... - """The instance type for which the Capacity Reservation reserves capacity.""" - instance_platform: str | None = ... - """ - The type of operating system for which the Capacity Reservation reserves - capacity. - """ - availability_zone: str | None = ... - """ - The Availability Zone in which the Capacity Reservation reserves - capacity. - """ - total_instance_count: int | None = ... - """ - The total number of instances for which the Capacity Reservation - reserves capacity. - """ - fulfilled_capacity: float | None = ... - """ - The number of capacity units fulfilled by the Capacity Reservation. For - more information, see [Total target - capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) - in the *Amazon EC2 User Guide*. - """ - ebs_optimized: bool | None = ... - """ - Indicates whether the Capacity Reservation reserves capacity for - EBS-optimized instance types. - """ - create_date: datetime | None = ... - """The date and time at which the Capacity Reservation was created.""" - weight: float | None = ... - """ - The weight of the instance type in the Capacity Reservation Fleet. For - more information, see [Instance type - weight](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight) - in the *Amazon EC2 User Guide*. - """ - priority: int | None = ... - """ - The priority of the instance type in the Capacity Reservation Fleet. For - more information, see [Instance type - priority](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class FleetCapacityReservationTargetRequest(_SerdeShape): - """ - Describes the target Capacity Reservations or Capacity Reservation - Resource Groups for an EC2 Fleet that launches into reserved capacity. - You can specify Capacity Reservation IDs or a Capacity Reservation - Resource Group ARN, but not both. - """ - - capacity_reservation_ids: list[str] | None = ... - """The IDs of the Capacity Reservations in which to launch the instances.""" - capacity_reservation_resource_group_arns: list[str] | None = ... - """ - The ARNs of the Capacity Reservation Resource Groups in which to launch - the instances. - """ - -class FleetCapacityReservationTenancy(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - -class FleetCapacityReservationUsageStrategy(UnknownEnumMixin, StrEnum): - USE_CAPACITY_RESERVATIONS_FIRST = "use-capacity-reservations-first" - -@dataclass(kw_only=True) -class FleetData(_SerdeShape): - """Describes an EC2 Fleet.""" - - activity_status: str | None = ... - """ - The progress of the EC2 Fleet. - - For fleets of type `instant`, the status is `fulfilled` after all - requests are placed, regardless of whether target capacity is met (this - is the only possible status for `instant` fleets). - - For fleets of type `request` or `maintain`, the status is - `pending_fulfillment` after all requests are placed, `fulfilled` when - the fleet size meets or exceeds target capacity, `pending_termination` - while instances are terminating when fleet size is decreased, and - `error` if there's an error. - """ - create_time: datetime | None = ... - """The creation date and time of the EC2 Fleet.""" - fleet_id: str | None = ... - """The ID of the EC2 Fleet.""" - fleet_state: str | None = ... - """The state of the EC2 Fleet.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - - Constraints: Maximum 64 ASCII characters - """ - excess_capacity_termination_policy: str | None = ... - """ - Indicates whether running instances should be terminated if the target - capacity of the EC2 Fleet is decreased below the current size of the EC2 - Fleet. - - Supported only for fleets of type `maintain`. - """ - fulfilled_capacity: float | None = ... - """ - The number of units fulfilled by this request compared to the set target - capacity. - """ - fulfilled_on_demand_capacity: float | None = ... - """ - The number of units fulfilled by this request compared to the set target - On-Demand capacity. - """ - launch_template_configs: list[FleetLaunchTemplateConfig] | None = ... - """The launch template and overrides.""" - target_capacity_specification: TargetCapacitySpecification | None = ... - """ - The number of units to request. You can choose to set the target - capacity in terms of instances or a performance characteristic that is - important to your application workload, such as vCPUs, memory, or I/O. - If the request type is `maintain`, you can specify a target capacity of - 0 and add capacity later. - """ - terminate_instances_with_expiration: bool | None = ... - """ - Indicates whether running instances should be terminated when the EC2 - Fleet expires. - """ - type: str | None = ... - """ - The type of request. Indicates whether the EC2 Fleet only `requests` the - target capacity, or also attempts to `maintain` it. If you request a - certain target capacity, EC2 Fleet only places the required requests; it - does not attempt to replenish instances if capacity is diminished, and - it does not submit requests in alternative capacity pools if capacity is - unavailable. To maintain a certain target capacity, EC2 Fleet places the - required requests to meet this target capacity. It also automatically - replenishes any interrupted Spot Instances. Default: `maintain`. - """ - valid_from: datetime | None = ... - """ - The start date and time of the request, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). The default is to start fulfilling - the request immediately. - """ - valid_until: datetime | None = ... - """ - The end date and time of the request, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). At this point, no new instance - requests are placed or able to fulfill the request. The default end date - is 7 days from the current date. - """ - replace_unhealthy_instances: bool | None = ... - """ - Indicates whether EC2 Fleet should replace unhealthy Spot Instances. - Supported only for fleets of type `maintain`. For more information, see - [EC2 Fleet health - checks](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks) - in the *Amazon EC2 User Guide*. - """ - spot_options: SpotOptions | None = ... - """The configuration of Spot Instances in an EC2 Fleet.""" - on_demand_options: OnDemandOptions | None = ... - """The allocation strategy of On-Demand Instances in an EC2 Fleet.""" - reserved_capacity_options: ReservedCapacityOptions | None = ... - """ - Defines EC2 Fleet preferences for utilizing reserved capacity when - DefaultTargetCapacityType is set to `reserved-capacity`. - """ - tags: list[Tag] | None = ... - """The tags for an EC2 Fleet resource.""" - errors: list[DescribeFleetError] | None = ... - """ - Information about the instances that could not be launched by the fleet. - Valid only when **Type** is set to `instant`. - """ - instances: list[DescribeFleetsInstances] | None = ... - """ - Information about the instances that were launched by the fleet. Valid - only when **Type** is set to `instant`. - """ - context: str | None = ... - """Reserved.""" - -@dataclass(kw_only=True) -class FleetEbsBlockDeviceRequest(_SerdeShape): - """Describes a block device for an EBS volume.""" - - encrypted: bool | None = ... - """ - Indicates whether the encryption state of an EBS volume is changed while - being restored from a backing snapshot. The effect of setting the - encryption state to `true` depends on the volume origin (new or from a - snapshot), starting encryption state, ownership, and whether encryption - by default is enabled. For more information, see [Amazon EBS - encryption](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html) - in the *Amazon EBS User Guide*. - - In no case can you remove encryption from an encrypted volume. - - Encrypted volumes can only be attached to instances that support Amazon - EBS encryption. For more information, see [Supported instance - types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances). - - This parameter is not returned by - [DescribeImageAttribute](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute). - - For - [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage) - and - [RegisterImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RegisterImage), - whether you can include this parameter, and the allowed values differ - depending on the type of block device mapping you are creating. - - - If you are creating a block device mapping for a **new (empty) - volume**, you can include this parameter, and specify either `true` - for an encrypted volume, or `false` for an unencrypted volume. If you - omit this parameter, it defaults to `false` (unencrypted). - - - If you are creating a block device mapping from an **existing - encrypted or unencrypted snapshot**, you must omit this parameter. If - you include this parameter, the request will fail, regardless of the - value that you specify. - - - If you are creating a block device mapping from an **existing - unencrypted volume**, you can include this parameter, but you must - specify `false`. If you specify `true`, the request will fail. In this - case, we recommend that you omit the parameter. - - - If you are creating a block device mapping from an **existing - encrypted volume**, you can include this parameter, and specify either - `true` or `false`. However, if you specify `false`, the parameter is - ignored and the block device mapping is always encrypted. In this - case, we recommend that you omit the parameter. - """ - delete_on_termination: bool | None = ... - """ - Indicates whether the EBS volume is deleted on instance termination. For - more information, see [Preserve data when an instance is - terminated](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html) - in the *Amazon EC2 User Guide*. - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS). For `gp3`, `io1`, and - `io2` volumes, this represents the number of IOPS that are provisioned - for the volume. For `gp2` volumes, this represents the baseline - performance of the volume and the rate at which the volume accumulates - I/O credits for bursting. - - The following are the supported values for each volume type: - - - `gp3`: 3,000 - 80,000 IOPS - - - `io1`: 100 - 64,000 IOPS - - - `io2`: 100 - 256,000 IOPS - - For `io2` volumes, you can achieve up to 256,000 IOPS on [instances - built on the Nitro - System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). - On other instances, you can achieve performance up to 32,000 IOPS. - - This parameter is required for `io1` and `io2` volumes. The default for - `gp3` volumes is 3,000 IOPS. - """ - throughput: int | None = ... - """ - The throughput that the volume supports, in MiB/s. - - This parameter is valid only for `gp3` volumes. - - Valid Range: Minimum value of 125. Maximum value of 2,000. - """ - kms_key_id: str | None = ... - """ - Identifier (key ID, key alias, key ARN, or alias ARN) of the customer - managed KMS key to use for EBS encryption. - - This parameter is only supported on `BlockDeviceMapping` objects called - by - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html), - [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html), - and - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). - """ - snapshot_id: str | None = ... - """The ID of the snapshot.""" - volume_size: int | None = ... - """ - The size of the volume, in GiBs. You must specify either a snapshot ID - or a volume size. If you specify a snapshot, the default is the snapshot - size. You can specify a volume size that is equal to or larger than the - snapshot size. - - The following are the supported sizes for each volume type: - - - `gp2`: 1 - 16,384 GiB - - - `gp3`: 1 - 65,536 GiB - - - `io1`: 4 - 16,384 GiB - - - `io2`: 4 - 65,536 GiB - - - `st1` and `sc1`: 125 - 16,384 GiB - - - `standard`: 1 - 1024 GiB - """ - volume_type: str | None = ... - """ - The volume type. For more information, see [Amazon EBS volume - types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) - in the *Amazon EBS User Guide*. - """ - -class FleetEventType(UnknownEnumMixin, StrEnum): - INSTANCE_CHANGE = "instance-change" - FLEET_CHANGE = "fleet-change" - SERVICE_ERROR = "service-error" - -class FleetExcessCapacityTerminationPolicy(UnknownEnumMixin, StrEnum): - NO_TERMINATION = "no-termination" - TERMINATION = "termination" - -class FleetHttpTokensState(UnknownEnumMixin, StrEnum): - OPTIONAL = "optional" - REQUIRED = "required" - -@dataclass(kw_only=True) -class FleetIamInstanceProfileSpecificationRequest(_SerdeShape): - """ - Describes an IAM instance profile. Supported only for fleets of type - `instant`. - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the instance profile.""" - name: str | None = ... - """The name of the instance profile.""" - -class FleetInstanceMatchCriteria(UnknownEnumMixin, StrEnum): - OPEN = "open" - -class FleetInstanceMetadataEndpointState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - -@dataclass(kw_only=True) -class FleetInstanceMetadataOptionsRequest(_SerdeShape): - """ - Describes the metadata options for the instances. Supported only for - fleets of type `instant`. - """ - - http_tokens: str | None = ... - """ - Indicates whether IMDSv2 is required. - - - `optional` - IMDSv2 is optional, which means that you can use either - IMDSv2 or IMDSv1. - - - `required` - IMDSv2 is required, which means that IMDSv1 is disabled, - and you must use IMDSv2. - """ - http_put_response_hop_limit: int | None = ... - """ - The desired HTTP PUT response hop limit for instance metadata requests. - The larger the number, the further instance metadata requests can - travel. - - Default: `1` - - Possible values: Integers from 1 to 64 - """ - http_endpoint: str | None = ... - """ - Enables or disables the HTTP metadata endpoint on your instances. - - - `enabled` - The HTTP metadata endpoint is enabled. - - - `disabled` - The HTTP metadata endpoint is disabled. - """ - -@dataclass(kw_only=True) -class FleetLaunchTemplateConfig(_SerdeShape): - """Describes a launch template and overrides.""" - - launch_template_specification: FleetLaunchTemplateSpecification | None = ... - """The launch template.""" - overrides: list[FleetLaunchTemplateOverrides] | None = ... - """ - Any parameters that you specify override the same parameters in the - launch template. - """ - -@dataclass(kw_only=True) -class FleetLaunchTemplateConfigRequest(_SerdeShape): - """Describes a launch template and overrides.""" - - launch_template_specification: FleetLaunchTemplateSpecificationRequest | None = ... - """ - The launch template to use. You must specify either the launch template - ID or launch template name in the request. - """ - overrides: list[FleetLaunchTemplateOverridesRequest] | None = ... - """ - Any parameters that you specify override the same parameters in the - launch template. - - For fleets of type `request` and `maintain`, a maximum of 300 items is - allowed across all launch templates. - """ - -@dataclass(kw_only=True) -class FleetLaunchTemplateOverrides(_SerdeShape): - """Describes overrides for a launch template.""" - - instance_type: str | None = ... - """ - The instance type. - - `mac1.metal` is not supported as a launch template override. - - Note: - If you specify `InstanceType`, you can't specify - `InstanceRequirements`. - """ - max_price: str | None = ... - """ - The maximum price per unit hour that you are willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your instances will be interrupted more - frequently than if you do not specify this parameter. - - If you specify a maximum price, it must be more than USD $0.001. - Specifying a value below USD $0.001 will result in an - `InvalidParameterValue` error message. - """ - subnet_id: str | None = ... - """The ID of the subnet in which to launch the instances.""" - availability_zone: str | None = ... - """ - The Availability Zone in which to launch the instances. For example, - `us-east-2a`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - weighted_capacity: float | None = ... - """ - The number of units provided by the specified instance type. These are - the same units that you chose to set the target capacity in terms of - instances, or a performance characteristic such as vCPUs, memory, or - I/O. - - If the target capacity divided by this value is not a whole number, - Amazon EC2 rounds the number of instances to the next whole number. If - this value is not specified, the default is 1. - - Note: - When specifying weights, the price used in the `lowest-price` and - `price-capacity-optimized` allocation strategies is per *unit* hour - (where the instance price is divided by the specified weight). However, - if all the specified weights are above the requested `TargetCapacity`, - resulting in only 1 instance being launched, the price used is per - *instance* hour. - """ - priority: float | None = ... - """ - The priority for the launch template override. The highest priority is - launched first. - - If the On-Demand `AllocationStrategy` is set to `prioritized`, EC2 Fleet - uses priority to determine which launch template override to use first - in fulfilling On-Demand capacity. - - If the Spot `AllocationStrategy` is set to - `capacity-optimized-prioritized`, EC2 Fleet uses priority on a - best-effort basis to determine which launch template override to use in - fulfilling Spot capacity, but optimizes for capacity first. - - Valid values are whole numbers starting at `0`. The lower the number, - the higher the priority. If no number is set, the override has the - lowest priority. You can set the same priority for different launch - template overrides. - """ - placement: PlacementResponse | None = ... - """The location where the instance launched, if applicable.""" - instance_requirements: InstanceRequirements | None = ... - """ - The attributes for the instance types. When you specify instance - attributes, Amazon EC2 will identify instance types with those - attributes. - - Note: - If you specify `InstanceRequirements`, you can't specify - `InstanceType`. - """ - image_id: str | None = ... - """ - The ID of the AMI in the format `ami-17characters00000`. - - Alternatively, you can specify a Systems Manager parameter, using one of - the following formats. The Systems Manager parameter will resolve to an - AMI ID on launch. - - To reference a public parameter: - - - `resolve:ssm:`*`public-parameter`*` ` - - To reference a parameter stored in the same account: - - - `resolve:ssm:`*`parameter-name`*` ` - - - `resolve:ssm:`*`parameter-name:version-number`*` ` - - - `resolve:ssm:`*`parameter-name:label`*` ` - - To reference a parameter shared from another Amazon Web Services - account: - - - `resolve:ssm:`*`parameter-ARN`*` ` - - - `resolve:ssm:`*`parameter-ARN:version-number`*` ` - - - `resolve:ssm:`*`parameter-ARN:label`*` ` - - For more information, see [Use a Systems Manager parameter instead of an - AMI - ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) - in the *Amazon EC2 User Guide*. - - Note: - This parameter is only available for fleets of type `instant`. For - fleets of type `maintain` and `request`, you must specify the AMI ID in - the launch template. - """ - block_device_mappings: list[BlockDeviceMappingResponse] | None = ... - """ - The block device mappings, which define the EBS volumes and instance - store volumes to attach to the instance at launch. - - Supported only for fleets of type `instant`. - - For more information, see [Block device mappings for volumes on Amazon - EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) - in the *Amazon EC2 User Guide*. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which to launch the instances. For - example, `use2-az1`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - -@dataclass(kw_only=True) -class FleetLaunchTemplateOverridesRequest(_SerdeShape): - """Describes overrides for a launch template.""" - - instance_type: str | None = ... - """ - The instance type. - - `mac1.metal` is not supported as a launch template override. - - Note: - If you specify `InstanceType`, you can't specify - `InstanceRequirements`. - """ - max_price: str | None = ... - """ - The maximum price per unit hour that you are willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your instances will be interrupted more - frequently than if you do not specify this parameter. - - If you specify a maximum price, it must be more than USD $0.001. - Specifying a value below USD $0.001 will result in an - `InvalidParameterValue` error message. - """ - subnet_id: str | None = ... - """ - The IDs of the subnets in which to launch the instances. Separate - multiple subnet IDs using commas (for example, - `subnet-1234abcdeexample1, subnet-0987cdef6example2`). A request of type - `instant` can have only one subnet ID. - """ - availability_zone: str | None = ... - """ - The Availability Zone in which to launch the instances. For example, - `us-east-2a`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - weighted_capacity: float | None = ... - """ - The number of units provided by the specified instance type. These are - the same units that you chose to set the target capacity in terms of - instances, or a performance characteristic such as vCPUs, memory, or - I/O. - - If the target capacity divided by this value is not a whole number, - Amazon EC2 rounds the number of instances to the next whole number. If - this value is not specified, the default is 1. - - Note: - When specifying weights, the price used in the `lowest-price` and - `price-capacity-optimized` allocation strategies is per *unit* hour - (where the instance price is divided by the specified weight). However, - if all the specified weights are above the requested `TargetCapacity`, - resulting in only 1 instance being launched, the price used is per - *instance* hour. - """ - priority: float | None = ... - """ - The priority for the launch template override. The highest priority is - launched first. - - If the On-Demand `AllocationStrategy` is set to `prioritized`, EC2 Fleet - uses priority to determine which launch template override to use first - in fulfilling On-Demand capacity. - - If the Spot `AllocationStrategy` is set to - `capacity-optimized-prioritized`, EC2 Fleet uses priority on a - best-effort basis to determine which launch template override to use in - fulfilling Spot capacity, but optimizes for capacity first. - - Valid values are whole numbers starting at `0`. The lower the number, - the higher the priority. If no number is set, the launch template - override has the lowest priority. You can set the same priority for - different launch template overrides. - """ - placement: Placement | None = ... - """The location where the instance launched, if applicable.""" - key_name: str | None = ... - """ - The name of the key pair to use for the instances. - - Supported only for fleets of type `instant`. - - For more information, see [Amazon EC2 key - pairs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) - in the *Amazon EC2 User Guide*. - """ - block_device_mappings: list[FleetBlockDeviceMappingRequest] | None = ... - """ - The block device mappings, which define the EBS volumes and instance - store volumes to attach to the instance at launch. - - Supported only for fleets of type `instant`. - - For more information, see [Block device mappings for volumes on Amazon - EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) - in the *Amazon EC2 User Guide*. - """ - iam_instance_profile: FleetIamInstanceProfileSpecificationRequest | None = ... - """ - The IAM instance profile to associate with the instances. - - Supported only for fleets of type `instant`. - - For more information, see [IAM roles for Amazon - EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) - in the *Amazon EC2 User Guide*. - """ - metadata_options: FleetInstanceMetadataOptionsRequest | None = ... - """ - The metadata options for the instances. - - Supported only for fleets of type `instant`. - - For more information, see [Configure the instance metadata - service](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html) - in the *Amazon EC2 User Guide*. - """ - instance_requirements: InstanceRequirementsRequest | None = ... - """ - The attributes for the instance types. When you specify instance - attributes, Amazon EC2 will identify instance types with those - attributes. - - Note: - If you specify `InstanceRequirements`, you can't specify - `InstanceType`. - """ - image_id: str | None = ... - """ - The ID of the AMI in the format `ami-17characters00000`. - - Alternatively, you can specify a Systems Manager parameter, using one of - the following formats. The Systems Manager parameter will resolve to an - AMI ID on launch. - - To reference a public parameter: - - - `resolve:ssm:`*`public-parameter`*` ` - - To reference a parameter stored in the same account: - - - `resolve:ssm:`*`parameter-name`*` ` - - - `resolve:ssm:`*`parameter-name:version-number`*` ` - - - `resolve:ssm:`*`parameter-name:label`*` ` - - To reference a parameter shared from another Amazon Web Services - account: - - - `resolve:ssm:`*`parameter-ARN`*` ` - - - `resolve:ssm:`*`parameter-ARN:version-number`*` ` - - - `resolve:ssm:`*`parameter-ARN:label`*` ` - - For more information, see [Use a Systems Manager parameter instead of an - AMI - ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) - in the *Amazon EC2 User Guide*. - - Note: - This parameter is only available for fleets of type `instant`. For - fleets of type `maintain` and `request`, you must specify the AMI ID in - the launch template. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which to launch the instances. For - example, `use2-az1`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - -@dataclass(kw_only=True) -class FleetLaunchTemplateSpecification(_SerdeShape): - """ - The Amazon EC2 launch template that can be used by a Spot Fleet to - configure Amazon EC2 instances. You must specify either the ID or name - of the launch template in the request, but not both. - - For information about launch templates, see [Launch an instance from a - launch - template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) - in the *Amazon EC2 User Guide*. - """ - - launch_template_id: str | None = ... - """ - The ID of the launch template. - - You must specify the `LaunchTemplateId` or the `LaunchTemplateName`, but - not both. - """ - launch_template_name: str | None = ... - """ - The name of the launch template. - - You must specify the `LaunchTemplateName` or the `LaunchTemplateId`, but - not both. - """ - version: str | None = ... - """ - The launch template version number, `$Latest`, or `$Default`. You must - specify a value, otherwise the request fails. - - If the value is `$Latest`, Amazon EC2 uses the latest version of the - launch template. - - If the value is `$Default`, Amazon EC2 uses the default version of the - launch template. - """ - -@dataclass(kw_only=True) -class FleetLaunchTemplateSpecificationRequest(_SerdeShape): - """ - The Amazon EC2 launch template that can be used by an EC2 Fleet to - configure Amazon EC2 instances. You must specify either the ID or name - of the launch template in the request, but not both. - - For information about launch templates, see [Launch an instance from a - launch - template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) - in the *Amazon EC2 User Guide*. - """ - - launch_template_id: str | None = ... - """ - The ID of the launch template. - - You must specify the `LaunchTemplateId` or the `LaunchTemplateName`, but - not both. - """ - launch_template_name: str | None = ... - """ - The name of the launch template. - - You must specify the `LaunchTemplateName` or the `LaunchTemplateId`, but - not both. - """ - version: str | None = ... - """ - The launch template version number, `$Latest`, or `$Default`. You must - specify a value, otherwise the request fails. - - If the value is `$Latest`, Amazon EC2 uses the latest version of the - launch template. - - If the value is `$Default`, Amazon EC2 uses the default version of the - launch template. - """ - launch_template_specification_user_data: str | None = ... - """ - The base64-encoded user data for instances launched by the fleet. User - data is limited to 16 KB, in raw form, before it is base64-encoded. - - Supported only for fleets of type `instant`. - """ - -class FleetOnDemandAllocationStrategy(UnknownEnumMixin, StrEnum): - LOWEST_PRICE = "lowest-price" - PRIORITIZED = "prioritized" - -class FleetReplacementStrategy(UnknownEnumMixin, StrEnum): - LAUNCH = "launch" - LAUNCH_BEFORE_TERMINATE = "launch-before-terminate" - -class FleetReservationType(UnknownEnumMixin, StrEnum): - ON_DEMAND_CAPACITY_RESERVATION = "on-demand-capacity-reservation" - CAPACITY_BLOCK = "capacity-block" - INTERRUPTIBLE_CAPACITY_RESERVATION = "interruptible-capacity-reservation" - -@dataclass(kw_only=True) -class FleetSpotCapacityRebalance(_SerdeShape): - """ - The strategy to use when Amazon EC2 emits a signal that your Spot - Instance is at an elevated risk of being interrupted. - """ - - replacement_strategy: str | None = ... - """ - The replacement strategy to use. Only available for fleets of type - `maintain`. - - `launch` - EC2 Fleet launches a new replacement Spot Instance when a - rebalance notification is emitted for an existing Spot Instance in the - fleet. EC2 Fleet does not terminate the instances that receive a - rebalance notification. You can terminate the old instances, or you can - leave them running. You are charged for all instances while they are - running. - - `launch-before-terminate` - EC2 Fleet launches a new replacement Spot - Instance when a rebalance notification is emitted for an existing Spot - Instance in the fleet, and then, after a delay that you specify (in - `TerminationDelay`), terminates the instances that received a rebalance - notification. - """ - termination_delay: int | None = ... - """ - The amount of time (in seconds) that Amazon EC2 waits before terminating - the old Spot Instance after launching a new replacement Spot Instance. - - Required when `ReplacementStrategy` is set to `launch-before-terminate`. - - Not valid when `ReplacementStrategy` is set to `launch`. - - Valid values: Minimum value of `120` seconds. Maximum value of `7200` - seconds. - """ - -@dataclass(kw_only=True) -class FleetSpotCapacityRebalanceRequest(_SerdeShape): - """ - The Spot Instance replacement strategy to use when Amazon EC2 emits a - rebalance notification signal that your Spot Instance is at an elevated - risk of being interrupted. For more information, see [Capacity - rebalancing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-capacity-rebalance.html) - in the *Amazon EC2 User Guide*. - """ - - replacement_strategy: str | None = ... - """ - The replacement strategy to use. Only available for fleets of type - `maintain`. - - `launch` - EC2 Fleet launches a replacement Spot Instance when a - rebalance notification is emitted for an existing Spot Instance in the - fleet. EC2 Fleet does not terminate the instances that receive a - rebalance notification. You can terminate the old instances, or you can - leave them running. You are charged for all instances while they are - running. - - `launch-before-terminate` - EC2 Fleet launches a replacement Spot - Instance when a rebalance notification is emitted for an existing Spot - Instance in the fleet, and then, after a delay that you specify (in - `TerminationDelay`), terminates the instances that received a rebalance - notification. - """ - termination_delay: int | None = ... - """ - The amount of time (in seconds) that Amazon EC2 waits before terminating - the old Spot Instance after launching a new replacement Spot Instance. - - Required when `ReplacementStrategy` is set to `launch-before-terminate`. - - Not valid when `ReplacementStrategy` is set to `launch`. - - Valid values: Minimum value of `120` seconds. Maximum value of `7200` - seconds. - """ - -@dataclass(kw_only=True) -class FleetSpotMaintenanceStrategies(_SerdeShape): - """ - The strategies for managing your Spot Instances that are at an elevated - risk of being interrupted. - """ - - capacity_rebalance: FleetSpotCapacityRebalance | None = ... - """ - The strategy to use when Amazon EC2 emits a signal that your Spot - Instance is at an elevated risk of being interrupted. - """ - -@dataclass(kw_only=True) -class FleetSpotMaintenanceStrategiesRequest(_SerdeShape): - """ - The strategies for managing your Spot Instances that are at an elevated - risk of being interrupted. - """ - - capacity_rebalance: FleetSpotCapacityRebalanceRequest | None = ... - """ - The strategy to use when Amazon EC2 emits a signal that your Spot - Instance is at an elevated risk of being interrupted. - """ - -class FleetStateCode(UnknownEnumMixin, StrEnum): - SUBMITTED = "submitted" - ACTIVE = "active" - DELETED = "deleted" - FAILED = "failed" - DELETED_RUNNING = "deleted_running" - DELETED_TERMINATING_INSTANCES = "deleted_terminating" - MODIFYING = "modifying" - -class FleetType(UnknownEnumMixin, StrEnum): - REQUEST = "request" - MAINTAIN = "maintain" - INSTANT = "instant" - -class FlexibleEnaQueuesSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - -@dataclass(kw_only=True) -class FlowLog(_SerdeShape): - """Describes a flow log.""" - - creation_time: datetime | None = ... - """The date and time the flow log was created.""" - deliver_logs_error_message: str | None = ... - """ - Information about the error that occurred. `Rate limited` indicates that - CloudWatch Logs throttling has been applied for one or more network - interfaces, or that you've reached the limit on the number of log - groups that you can create. `Access error` indicates that the IAM role - associated with the flow log does not have sufficient permissions to - publish to CloudWatch Logs. `Unknown error` indicates an internal error. - """ - deliver_logs_permission_arn: str | None = ... - """ - The ARN of the IAM role allows the service to publish logs to CloudWatch - Logs. - """ - deliver_cross_account_role: str | None = ... - """ - The ARN of the IAM role that allows the service to publish flow logs - across accounts. - """ - deliver_logs_status: str | None = ... - """The status of the logs delivery (`SUCCESS` | `FAILED`).""" - flow_log_id: str | None = ... - """The ID of the flow log.""" - flow_log_status: str | None = ... - """The status of the flow log (`ACTIVE`).""" - log_group_name: str | None = ... - """The name of the flow log group.""" - resource_id: str | None = ... - """The ID of the resource being monitored.""" - traffic_type: str | None = ... - """The type of traffic captured for the flow log.""" - log_destination_type: str | None = ... - """The type of destination for the flow log data.""" - log_destination: str | None = ... - """The Amazon Resource Name (ARN) of the destination for the flow log data.""" - log_format: str | None = ... - """The format of the flow log record.""" - tags: list[Tag] | None = ... - """The tags for the flow log.""" - max_aggregation_interval: int | None = ... - """ - The maximum interval of time, in seconds, during which a flow of packets - is captured and aggregated into a flow log record. - - When a network interface is attached to a [Nitro-based - instance](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html), - the aggregation interval is always 60 seconds (1 minute) or less, - regardless of the specified value. - - Valid Values: `60` | `600` - """ - destination_options: DestinationOptionsResponse | None = ... - """The destination options.""" - tag_field_specifications: list[TagFieldSpecificationResponse] | None = ... - """ - The tag configuration associated with the Flow Logs Amazon EC2 Tags - feature fields in your custom log format. - """ - -class FlowLogsResourceType(UnknownEnumMixin, StrEnum): - VPC = "VPC" - SUBNET = "Subnet" - NETWORK_INTERFACE = "NetworkInterface" - TRANSIT_GATEWAY = "TransitGateway" - TRANSIT_GATEWAY_ATTACHMENT = "TransitGatewayAttachment" - REGIONAL_NAT_GATEWAY = "RegionalNatGateway" - CORE_NETWORK = "CoreNetwork" - CORE_NETWORK_EDGE = "CoreNetworkEdge" - CORE_NETWORK_ATTACHMENT = "CoreNetworkAttachment" - -@dataclass(kw_only=True) -class FpgaDeviceInfo(_SerdeShape): - """Describes the FPGA accelerator for the instance type.""" - - name: str | None = ... - """The name of the FPGA accelerator.""" - manufacturer: str | None = ... - """The manufacturer of the FPGA accelerator.""" - count: int | None = ... - """The count of FPGA accelerators for the instance type.""" - memory_info: FpgaDeviceMemoryInfo | None = ... - """Describes the memory for the FPGA accelerator for the instance type.""" - -@dataclass(kw_only=True) -class FpgaDeviceMemoryInfo(_SerdeShape): - """Describes the memory for the FPGA accelerator for the instance type.""" - - size_in_mi_b: int | None = ... - """The size of the memory available to the FPGA accelerator, in MiB.""" - -@dataclass(kw_only=True) -class FpgaImage(_SerdeShape): - """Describes an Amazon FPGA image (AFI).""" - - fpga_image_id: str | None = ... - """The FPGA image identifier (AFI ID).""" - fpga_image_global_id: str | None = ... - """The global FPGA image identifier (AGFI ID).""" - name: str | None = ... - """The name of the AFI.""" - description: str | None = ... - """The description of the AFI.""" - shell_version: str | None = ... - """ - The version of the Amazon Web Services Shell that was used to create the - bitstream. - """ - pci_id: PciId | None = ... - """Information about the PCI bus.""" - state: FpgaImageState | None = ... - """Information about the state of the AFI.""" - create_time: datetime | None = ... - """The date and time the AFI was created.""" - update_time: datetime | None = ... - """The time of the most recent update to the AFI.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the AFI.""" - owner_alias: str | None = ... - """ - The alias of the AFI owner. Possible values include `self`, `amazon`, - and `aws-marketplace`. - """ - product_codes: list[ProductCode] | None = ... - """The product codes for the AFI.""" - tags: list[Tag] | None = ... - """Any tags assigned to the AFI.""" - public: bool | None = ... - """Indicates whether the AFI is public.""" - data_retention_support: bool | None = ... - """Indicates whether data retention support is enabled for the AFI.""" - instance_types: list[str] | None = ... - """The instance types supported by the AFI.""" - -@dataclass(kw_only=True) -class FpgaImageAttribute(_SerdeShape): - """Describes an Amazon FPGA image (AFI) attribute.""" - - fpga_image_id: str | None = ... - """The ID of the AFI.""" - name: str | None = ... - """The name of the AFI.""" - description: str | None = ... - """The description of the AFI.""" - load_permissions: list[LoadPermission] | None = ... - """The load permissions.""" - product_codes: list[ProductCode] | None = ... - """The product codes.""" - -class FpgaImageAttributeName(UnknownEnumMixin, StrEnum): - DESCRIPTION = "description" - NAME = "name" - LOAD_PERMISSION = "loadPermission" - PRODUCT_CODES = "productCodes" - -@dataclass(kw_only=True) -class FpgaImageState(_SerdeShape): - """ - Describes the state of the bitstream generation process for an Amazon - FPGA image (AFI). - """ - - code: str | None = ... - """ - The state. The following are the possible values: - - - `pending` - AFI bitstream generation is in progress. - - - `available` - The AFI is available for use. - - - `failed` - AFI bitstream generation failed. - - - `unavailable` - The AFI is no longer available for use. - """ - message: str | None = ... - """If the state is `failed`, this is the error message.""" - -class FpgaImageStateCode(UnknownEnumMixin, StrEnum): - PENDING = "pending" - FAILED = "failed" - AVAILABLE = "available" - UNAVAILABLE = "unavailable" - -@dataclass(kw_only=True) -class FpgaInfo(_SerdeShape): - """Describes the FPGAs for the instance type.""" - - fpgas: list[FpgaDeviceInfo] | None = ... - """Describes the FPGAs for the instance type.""" - total_fpga_memory_in_mi_b: int | None = ... - """The total memory of all FPGA accelerators for the instance type.""" - -class GatewayAssociationState(UnknownEnumMixin, StrEnum): - ASSOCIATED = "associated" - NOT_ASSOCIATED = "not-associated" - ASSOCIATING = "associating" - DISASSOCIATING = "disassociating" - -class GatewayType(UnknownEnumMixin, StrEnum): - IPSEC_1 = "ipsec.1" - -@dataclass(kw_only=True) -class GetActiveVpnTunnelStatusInput(_SerdeShape): - """Dataclass for GetActiveVpnTunnelStatusInput structure.""" - - vpn_connection_id: str | None = ... - """ - The ID of the VPN connection for which to retrieve the active tunnel - status. - """ - vpn_tunnel_outside_ip_address: str | None = ... - """ - The external IP address of the VPN tunnel for which to retrieve the - active status. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the action, without - actually making the request. - """ - -@dataclass(kw_only=True) -class GetActiveVpnTunnelStatusOutput(_SerdeShape): - """Dataclass for GetActiveVpnTunnelStatusOutput structure.""" - - active_vpn_tunnel_status: ActiveVpnTunnelStatus | None = ... - """Information about the current security configuration of the VPN tunnel.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAllowedImagesSettingsInput(_SerdeShape): - """Dataclass for GetAllowedImagesSettingsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetAllowedImagesSettingsOutput(_SerdeShape): - """Dataclass for GetAllowedImagesSettingsOutput structure.""" - - state: str | None = ... - """ - The current state of the Allowed AMIs setting at the account level in - the specified Amazon Web Services Region. - - Possible values: - - - `disabled`: All AMIs are allowed. - - - `audit-mode`: All AMIs are allowed, but the `ImageAllowed` field is - set to `true` if the AMI would be allowed with the current list of - criteria if allowed AMIs was enabled. - - - `enabled`: Only AMIs matching the image criteria are discoverable and - available for use. - """ - image_criteria: list[ImageCriterion] | None = ... - """ - The list of criteria for images that are discoverable and usable in the - account in the specified Amazon Web Services Region. - """ - managed_by: str | None = ... - """ - The entity that manages the Allowed AMIs settings. Possible values - include: - - - `account` - The Allowed AMIs settings is managed by the account. - - - `declarative-policy` - The Allowed AMIs settings is managed by a - declarative policy and can't be modified by the account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAssociatedEnclaveCertificateIamRolesInput(_SerdeShape): - """Dataclass for GetAssociatedEnclaveCertificateIamRolesInput structure.""" - - certificate_arn: str | None = ... - """ - The ARN of the ACM certificate for which to view the associated IAM - roles, encryption keys, and Amazon S3 object information. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetAssociatedEnclaveCertificateIamRolesOutput(_SerdeShape): - """Dataclass for GetAssociatedEnclaveCertificateIamRolesOutput structure.""" - - associated_roles: list[AssociatedRole] | None = ... - """Information about the associated IAM roles.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAssociatedIpv6PoolCidrsInput(_SerdeShape): - """Dataclass for GetAssociatedIpv6PoolCidrsInput structure.""" - - pool_id: str | None = ... - """The ID of the IPv6 address pool.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetAssociatedIpv6PoolCidrsOutput(_SerdeShape): - """Dataclass for GetAssociatedIpv6PoolCidrsOutput structure.""" - - ipv6_cidr_associations: list[Ipv6CidrAssociation] | None = ... - """Information about the IPv6 CIDR block associations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAwsNetworkPerformanceDataInput(_SerdeShape): - """Dataclass for GetAwsNetworkPerformanceDataInput structure.""" - - data_queries: list[DataQuery] | None = ... - """A list of network performance data queries.""" - start_time: datetime | None = ... - """ - The starting time for the performance data request. The starting time - must be formatted as `yyyy-mm-ddThh:mm:ss`. For example, - `2022-06-10T12:00:00.000Z`. - """ - end_time: datetime | None = ... - """ - The ending time for the performance data request. The end time must be - formatted as `yyyy-mm-ddThh:mm:ss`. For example, - `2022-06-12T12:00:00.000Z`. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetAwsNetworkPerformanceDataOutput(_SerdeShape): - """Dataclass for GetAwsNetworkPerformanceDataOutput structure.""" - - data_responses: list[DataResponse] | None = ... - """The list of data responses.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerAttributesInput(_SerdeShape): - """Dataclass for GetCapacityManagerAttributesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerAttributesOutput(_SerdeShape): - """Dataclass for GetCapacityManagerAttributesOutput structure.""" - - capacity_manager_status: str | None = ... - """The current status of Capacity Manager.""" - organizations_access: bool | None = ... - """ - Indicates whether Organizations access is enabled for cross-account data - aggregation. - """ - data_export_count: int | None = ... - """ - The number of active data export configurations for this account. This - count includes all data exports regardless of their current delivery - status. - """ - ingestion_status: str | None = ... - """ - The current data ingestion status. Initial ingestion may take several - hours after enabling Capacity Manager. - """ - ingestion_status_message: str | None = ... - """ - A descriptive message providing additional details about the current - ingestion status. This may include error information if ingestion has - failed or progress details during initial setup. - """ - earliest_datapoint_timestamp: datetime | None = ... - """ - The timestamp of the earliest data point available in Capacity Manager, - in milliseconds since epoch. This indicates how far back historical data - is available for queries. - """ - latest_datapoint_timestamp: datetime | None = ... - """ - The timestamp of the most recent data point ingested by Capacity - Manager, in milliseconds since epoch. This indicates how current your - capacity data is. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerMetricDataInput(_SerdeShape): - """Dataclass for GetCapacityManagerMetricDataInput structure.""" - - metric_names: list[str] | None = ... - """The names of the metrics to retrieve. Maximum of 10 metrics per request.""" - start_time: datetime | None = ... - """ - The start time for the metric data query, in ISO 8601 format. The time - range (end time - start time) must be a multiple of the specified - period. - """ - end_time: datetime | None = ... - """ - The end time for the metric data query, in ISO 8601 format. If the end - time is beyond the latest ingested data, it will be automatically - adjusted to the latest available data point. - """ - period: int | None = ... - """The granularity, in seconds, of the returned data points.""" - group_by: list[str] | None = ... - """ - The dimensions by which to group the metric data. This determines how - the data is aggregated and returned. - """ - filter_by: list[CapacityManagerCondition] | None = ... - """ - Conditions to filter the metric data. Each filter specifies a dimension, - comparison operator ('equals', 'in'), and values to match against. - """ - max_results: int | None = ... - """ - The maximum number of data points to return. Valid range is 1 to - 100,000. Use with NextToken for pagination of large result sets. - """ - next_token: str | None = ... - """ - The token for the next page of results. Use this value in a subsequent - call to retrieve additional data points. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerMetricDataOutput(_SerdeShape): - """Dataclass for GetCapacityManagerMetricDataOutput structure.""" - - metric_data_results: list[MetricDataResult] | None = ... - """ - The metric data points returned by the query. Each result contains - dimension values, timestamp, and metric values with their associated - statistics. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerMetricDimensionsInput(_SerdeShape): - """Dataclass for GetCapacityManagerMetricDimensionsInput structure.""" - - group_by: list[str] | None = ... - """ - The dimensions to group by when retrieving available dimension values. - This determines which dimension combinations are returned. Required - parameter. - """ - filter_by: list[CapacityManagerCondition] | None = ... - """ - Conditions to filter which dimension values are returned. Each filter - specifies a dimension, comparison operator, and values to match against. - """ - start_time: datetime | None = ... - """ - The start time for the dimension query, in ISO 8601 format. Only - dimensions with data in this time range will be returned. - """ - end_time: datetime | None = ... - """ - The end time for the dimension query, in ISO 8601 format. Only - dimensions with data in this time range will be returned. - """ - metric_names: list[str] | None = ... - """ - The metric names to use as an additional filter when retrieving - dimensions. Only dimensions that have data for these metrics will be - returned. Required parameter with maximum size of 1 for v1. - """ - max_results: int | None = ... - """ - The maximum number of dimension combinations to return. Valid range is 1 - to 1000. Use with NextToken for pagination. - """ - next_token: str | None = ... - """ - The token for the next page of results. Use this value in a subsequent - call to retrieve additional dimension values. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerMetricDimensionsOutput(_SerdeShape): - """Dataclass for GetCapacityManagerMetricDimensionsOutput structure.""" - - metric_dimension_results: list[CapacityManagerDimension] | None = ... - """ - The available dimension combinations that have data within the specified - time range and filters. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerMonitoredTagKeysInput(_SerdeShape): - """Dataclass for GetCapacityManagerMonitoredTagKeysInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in a single call. To retrieve - the remaining results, make another call with the returned `NextToken` - value. If not specified, up to 1000 results are returned. - """ - next_token: str | None = ... - """ - The token for the next page of results. Use the value returned from a - previous call to retrieve additional results. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerMonitoredTagKeysOutput(_SerdeShape): - """Dataclass for GetCapacityManagerMonitoredTagKeysOutput structure.""" - - capacity_manager_tag_keys: list[CapacityManagerMonitoredTagKey] | None = ... - """ - The list of tag keys being monitored by Capacity Manager, including - their current status and metadata. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerSupportabilityScoresInput(_SerdeShape): - """Dataclass for GetCapacityManagerSupportabilityScoresInput structure.""" - - market_type: str | None = ... - """The capacity market to score.""" - capacity_amount: int | None = ... - """ - The amount of capacity that you need, in the unit that you specify for - `CapacityUnit`. Each score is relative to this amount. - """ - capacity_unit: str | None = ... - """The unit for `CapacityAmount`.""" - capacity_availability_zone_ids: list[str] | None = ... - """ - The IDs of the Availability Zones to score, such as `use1-az1`. You can - specify Availability Zones in different Regions. You can specify up to - 10 Availability Zones. - """ - instance_types: list[str] | None = ... - """ - The instance types to score. You can specify up to 50 instance types. - - Specify either `InstanceTypes` or `InstanceRequirementsWithMetadata`, - but not both. - """ - instance_requirements_with_metadata: ( - InstanceRequirementsWithMetadataRequest | None - ) = ... - """ - The attributes that the instance types must have, such as vCPU and - memory ranges. Capacity Manager resolves the attributes into matching - instance types and scores each one. - - Specify either `InstanceTypes` or `InstanceRequirementsWithMetadata`, - but not both. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetCapacityManagerSupportabilityScoresOutput(_SerdeShape): - """Dataclass for GetCapacityManagerSupportabilityScoresOutput structure.""" - - aggregate_score: str | None = ... - """ - The score for all instance type and Availability Zone combinations in - the request together. A `high` aggregate score with lower individual - scores means that no single combination can support the full request, - but the combinations together can. - """ - capacity_manager_supportability_scores: ( - list[CapacityManagerSupportabilityScore] | None - ) = ... - """ - The score for each instance type and Availability Zone combination in - the request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCapacityReservationUsageInput(_SerdeShape): - """Dataclass for GetCapacityReservationUsageInput structure.""" - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetCapacityReservationUsageOutput(_SerdeShape): - """Dataclass for GetCapacityReservationUsageOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - instance_type: str | None = ... - """ - The type of instance for which the Capacity Reservation reserves - capacity. - """ - total_instance_count: int | None = ... - """ - The number of instances for which the Capacity Reservation reserves - capacity. - """ - available_instance_count: int | None = ... - """ - The remaining capacity. Indicates the number of instances that can be - launched in the Capacity Reservation. - """ - state: str | None = ... - """ - The current state of the Capacity Reservation. A Capacity Reservation - can be in one of the following states: - - - `active` - The capacity is available for use. - - - `expired` - The Capacity Reservation expired automatically at the date - and time specified in your reservation request. The reserved capacity - is no longer available for your use. - - - `cancelled` - The Capacity Reservation was canceled. The reserved - capacity is no longer available for your use. - - - `pending` - The Capacity Reservation request was successful but the - capacity provisioning is still pending. - - - `failed` - The Capacity Reservation request has failed. A request can - fail due to request parameters that are not valid, capacity - constraints, or instance limit constraints. You can view a failed - request for 60 minutes. - - - `scheduled` - (*Future-dated Capacity Reservations*) The future-dated - Capacity Reservation request was approved and the Capacity Reservation - is scheduled for delivery on the requested start date. - - - `payment-pending` - (*Capacity Blocks*) The upfront payment has not - been processed yet. - - - `payment-failed` - (*Capacity Blocks*) The upfront payment was not - processed in the 12-hour time frame. Your Capacity Block was released. - - - `assessing` - (*Future-dated Capacity Reservations*) Amazon EC2 is - assessing your request for a future-dated Capacity Reservation. - - - `delayed` - (*Future-dated Capacity Reservations*) Amazon EC2 - encountered a delay in provisioning the requested future-dated - Capacity Reservation. Amazon EC2 is unable to deliver the requested - capacity by the requested start date and time. - - - `unsupported` - (*Future-dated Capacity Reservations*) Amazon EC2 - can't support the future-dated Capacity Reservation request due to - capacity constraints. You can view unsupported requests for 30 days. - The Capacity Reservation will not be delivered. - - - `cancelling` - (*Future-dated Capacity Reservations*) The Capacity - Reservation is being cancelled. Capacity has been released but charges - continue for the commitment wind-down period. The reservation - transitions to `cancelled` when the wind-down completes. - """ - instance_usages: list[InstanceUsage] | None = ... - """Information about the Capacity Reservation usage.""" - interruptible: bool | None = ... - """ - Indicates whether the Capacity Reservation is interruptible, meaning - instances may be terminated when the owner reclaims capacity. - """ - interruptible_capacity_allocation: InterruptibleCapacityAllocation | None = ... - """ - Information about the capacity allocated to the interruptible Capacity - Reservation, including instance counts and allocation status. - """ - interruption_info: InterruptionInfo | None = ... - """ - Details about the interruption configuration and source reservation for - interruptible Capacity Reservations. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetClientVpnEndpointAuthorizationPolicyInput(_SerdeShape): - """Dataclass for GetClientVpnEndpointAuthorizationPolicyInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetClientVpnEndpointAuthorizationPolicyOutput(_SerdeShape): - """Dataclass for GetClientVpnEndpointAuthorizationPolicyOutput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - policy_document: str | None = ... - """The authorization policy document, written in the Cedar policy language.""" - description: str | None = ... - """A brief description of the authorization policy.""" - shadow_mode: str | None = ... - """ - Specifies whether the authorization policy is evaluated in shadow mode. - Possible values include: - - - `enabled` - The authorization policy is evaluated and the results are - logged, but access is not enforced. - - - `disabled` - The authorization policy is enforced. - """ - status: str | None = ... - """The current state of the authorization policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCoipPoolUsageInput(_SerdeShape): - """Dataclass for GetCoipPoolUsageInput structure.""" - - pool_id: str | None = ... - """The ID of the address pool.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `coip-address-usage.allocation-id` - The allocation ID of the address. - - - `coip-address-usage.aws-account-id` - The ID of the Amazon Web - Services account that is using the customer-owned IP address. - - - `coip-address-usage.aws-service` - The Amazon Web Services service - that is using the customer-owned IP address. - - - `coip-address-usage.co-ip` - The customer-owned IP address. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetCoipPoolUsageOutput(_SerdeShape): - """Dataclass for GetCoipPoolUsageOutput structure.""" - - coip_pool_id: str | None = ... - """The ID of the customer-owned address pool.""" - coip_address_usages: list[CoipAddressUsage] | None = ... - """Information about the address usage.""" - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetConsoleOutputInput(_SerdeShape): - """Dataclass for GetConsoleOutputInput structure.""" - - instance_id: str | None = ... - """The ID of the instance.""" - latest: bool | None = ... - """ - When enabled, retrieves the latest console output for the instance. - - Default: disabled (`false`) - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetConsoleOutputOutput(_SerdeShape): - """Dataclass for GetConsoleOutputOutput structure.""" - - instance_id: str | None = ... - """The ID of the instance.""" - timestamp: datetime | None = ... - """The time at which the output was last updated.""" - output: str | None = ... - """ - The console output, base64-encoded. If you are using a command line - tool, the tool decodes the output for you. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetConsoleScreenshotInput(_SerdeShape): - """Dataclass for GetConsoleScreenshotInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the instance.""" - wake_up: bool | None = ... - """ - When set to `true`, acts as keystroke input and wakes up an instance - that's in standby or \"sleep\" mode. - """ - -@dataclass(kw_only=True) -class GetConsoleScreenshotOutput(_SerdeShape): - """Dataclass for GetConsoleScreenshotOutput structure.""" - - image_data: str | None = ... - """The data that comprises the image.""" - instance_id: str | None = ... - """The ID of the instance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDeclarativePoliciesReportSummaryInput(_SerdeShape): - """Dataclass for GetDeclarativePoliciesReportSummaryInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - report_id: str | None = ... - """The ID of the report.""" - -@dataclass(kw_only=True) -class GetDeclarativePoliciesReportSummaryOutput(_SerdeShape): - """Dataclass for GetDeclarativePoliciesReportSummaryOutput structure.""" - - report_id: str | None = ... - """The ID of the report.""" - s3_bucket: str | None = ... - """The name of the Amazon S3 bucket where the report is located.""" - s3_prefix: str | None = ... - """The prefix for your S3 object.""" - target_id: str | None = ... - """ - The root ID, organizational unit ID, or account ID. - - Format: - - - For root: `r-ab12` - - - For OU: `ou-ab12-cdef1234` - - - For account: `123456789012` - """ - start_time: datetime | None = ... - """The time when the report generation started.""" - end_time: datetime | None = ... - """The time when the report generation ended.""" - number_of_accounts: int | None = ... - """The total number of accounts associated with the specified `targetId`.""" - number_of_failed_accounts: int | None = ... - """ - The number of accounts where attributes could not be retrieved in any - Region. - """ - attribute_summaries: list[AttributeSummary] | None = ... - """The attributes described in the report.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDefaultCreditSpecificationInput(_SerdeShape): - """Dataclass for GetDefaultCreditSpecificationInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - instance_family: str | None = ... - """The instance family.""" - -@dataclass(kw_only=True) -class GetDefaultCreditSpecificationOutput(_SerdeShape): - """Dataclass for GetDefaultCreditSpecificationOutput structure.""" - - instance_family_credit_specification: InstanceFamilyCreditSpecification | None = ... - """The default credit option for CPU usage of the instance family.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEbsDefaultKmsKeyIdInput(_SerdeShape): - """Dataclass for GetEbsDefaultKmsKeyIdInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetEbsDefaultKmsKeyIdOutput(_SerdeShape): - """Dataclass for GetEbsDefaultKmsKeyIdOutput structure.""" - - kms_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the default KMS key for encryption by - default. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEbsEncryptionByDefaultInput(_SerdeShape): - """Dataclass for GetEbsEncryptionByDefaultInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetEbsEncryptionByDefaultOutput(_SerdeShape): - """Dataclass for GetEbsEncryptionByDefaultOutput structure.""" - - ebs_encryption_by_default: bool | None = ... - """Indicates whether encryption by default is enabled.""" - sse_type: str | None = ... - """Reserved for future use.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEnabledIpamPolicyInput(_SerdeShape): - """Dataclass for GetEnabledIpamPolicyInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetEnabledIpamPolicyOutput(_SerdeShape): - """Dataclass for GetEnabledIpamPolicyOutput structure.""" - - ipam_policy_enabled: bool | None = ... - """Indicates whether the IPAM policy is enabled.""" - ipam_policy_id: str | None = ... - """The ID of the enabled IPAM policy.""" - managed_by: str | None = ... - """The entity that manages the IPAM policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFlowLogsIntegrationTemplateInput(_SerdeShape): - """Dataclass for GetFlowLogsIntegrationTemplateInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - flow_log_id: str | None = ... - """The ID of the flow log.""" - config_delivery_s3_destination_arn: str | None = ... - """ - To store the CloudFormation template in Amazon S3, specify the location - in Amazon S3. - """ - integrate_services: IntegrateServices | None = ... - """Information about the service integration.""" - -@dataclass(kw_only=True) -class GetFlowLogsIntegrationTemplateOutput(_SerdeShape): - """Dataclass for GetFlowLogsIntegrationTemplateOutput structure.""" - - result: str | None = ... - """The generated CloudFormation template.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGroupsForCapacityReservationInput(_SerdeShape): - """Dataclass for GetGroupsForCapacityReservationInput structure.""" - - capacity_reservation_id: str | None = ... - """ - The ID of the Capacity Reservation. If you specify a Capacity - Reservation that is shared with you, the operation returns only Capacity - Reservation groups that you own. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetGroupsForCapacityReservationOutput(_SerdeShape): - """Dataclass for GetGroupsForCapacityReservationOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - capacity_reservation_groups: list[CapacityReservationGroup] | None = ... - """ - Information about the resource groups to which the Capacity Reservation - has been added. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetHostReservationPurchasePreviewInput(_SerdeShape): - """Dataclass for GetHostReservationPurchasePreviewInput structure.""" - - host_id_set: list[str] | None = ... - """The IDs of the Dedicated Hosts with which the reservation is associated.""" - offering_id: str | None = ... - """The offering ID of the reservation.""" - -@dataclass(kw_only=True) -class GetHostReservationPurchasePreviewOutput(_SerdeShape): - """Dataclass for GetHostReservationPurchasePreviewOutput structure.""" - - currency_code: str | None = ... - """ - The currency in which the `totalUpfrontPrice` and `totalHourlyPrice` - amounts are specified. At this time, the only supported currency is - `USD`. - """ - purchase: list[Purchase] | None = ... - """ - The purchase information of the Dedicated Host reservation and the - Dedicated Hosts associated with it. - """ - total_hourly_price: str | None = ... - """The potential total hourly price of the reservation per hour.""" - total_upfront_price: str | None = ... - """The potential total upfront price. This is billed immediately.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetImageAncestryInput(_SerdeShape): - """Dataclass for GetImageAncestryInput structure.""" - - image_id: str | None = ... - """The ID of the AMI whose ancestry you want to trace.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetImageAncestryOutput(_SerdeShape): - """Dataclass for GetImageAncestryOutput structure.""" - - image_ancestry_entries: list[ImageAncestryEntry] | None = ... - """ - A list of entries in the AMI ancestry chain, from the specified AMI to - the root AMI. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetImageBlockPublicAccessStateInput(_SerdeShape): - """Dataclass for GetImageBlockPublicAccessStateInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetImageBlockPublicAccessStateOutput(_SerdeShape): - """Dataclass for GetImageBlockPublicAccessStateOutput structure.""" - - image_block_public_access_state: str | None = ... - """ - The current state of block public access for AMIs at the account level - in the specified Amazon Web Services Region. - - Possible values: - - - `block-new-sharing` - Any attempt to publicly share your AMIs in the - specified Region is blocked. - - - `unblocked` - Your AMIs in the specified Region can be publicly - shared. - """ - managed_by: str | None = ... - """ - The entity that manages the state for block public access for AMIs. - Possible values include: - - - `account` - The state is managed by the account. - - - `declarative-policy` - The state is managed by a declarative policy - and can't be modified by the account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetImageFindingsInput(_SerdeShape): - """Dataclass for GetImageFindingsInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetImageFindingsOutput(_SerdeShape): - """Dataclass for GetImageFindingsOutput structure.""" - - image_findings: list[ImageFinding] | None = ... - """The Amazon Inspector findings for the AMI.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInstanceMetadataDefaultsInput(_SerdeShape): - """Dataclass for GetInstanceMetadataDefaultsInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetInstanceMetadataDefaultsOutput(_SerdeShape): - """Dataclass for GetInstanceMetadataDefaultsOutput structure.""" - - account_level: InstanceMetadataDefaultsResponse | None = ... - """The account-level default IMDS settings.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInstanceTpmEkPubInput(_SerdeShape): - """Dataclass for GetInstanceTpmEkPubInput structure.""" - - instance_id: str | None = ... - """The ID of the instance for which to get the public endorsement key.""" - key_type: str | None = ... - """The required public endorsement key type.""" - key_format: str | None = ... - """ - The required public endorsement key format. Specify `der` for a - DER-encoded public key that is compatible with OpenSSL. Specify `tpmt` - for a TPM 2.0 format that is compatible with tpm2-tools. The returned - key is base64 encoded. - """ - dry_run: bool | None = ... - """ - Specify this parameter to verify whether the request will succeed, - without actually making the request. If the request will succeed, the - response is `DryRunOperation`. Otherwise, the response is - `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetInstanceTpmEkPubOutput(_SerdeShape): - """Dataclass for GetInstanceTpmEkPubOutput structure.""" - - instance_id: str | None = ... - """The ID of the instance.""" - key_type: str | None = ... - """The public endorsement key type.""" - key_format: str | None = ... - """The public endorsement key format.""" - key_value: str | None = ... - """The public endorsement key material.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInstanceTypesFromInstanceRequirementsInput(_SerdeShape): - """Dataclass for GetInstanceTypesFromInstanceRequirementsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - architecture_types: list[str] | None = ... - """The processor architecture type.""" - virtualization_types: list[str] | None = ... - """The virtualization type.""" - instance_requirements: InstanceRequirementsRequest | None = ... - """The attributes required for the instance types.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - context: str | None = ... - """Reserved.""" - -@dataclass(kw_only=True) -class GetInstanceTypesFromInstanceRequirementsOutput(_SerdeShape): - """Dataclass for GetInstanceTypesFromInstanceRequirementsOutput structure.""" - - instance_types: list[InstanceTypeInfoFromInstanceRequirements] | None = ... - """The instance types with the specified instance attributes.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInstanceUefiDataInput(_SerdeShape): - """Dataclass for GetInstanceUefiDataInput structure.""" - - instance_id: str | None = ... - """The ID of the instance from which to retrieve the UEFI data.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetInstanceUefiDataOutput(_SerdeShape): - """Dataclass for GetInstanceUefiDataOutput structure.""" - - instance_id: str | None = ... - """The ID of the instance from which to retrieve the UEFI data.""" - uefi_data: str | None = ... - """Base64 representation of the non-volatile UEFI variable store.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamAddressHistoryInput(_SerdeShape): - """Dataclass for GetIpamAddressHistoryInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - cidr: str | None = ... - """ - The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP - address range. If you enter a /16 IPv4 CIDR, you will get records that - match it exactly. You will not get records for any subnets within the - /16 CIDR. - """ - ipam_scope_id: str | None = ... - """The ID of the IPAM scope that the CIDR is in.""" - vpc_id: str | None = ... - """The ID of the VPC you want your history records filtered by.""" - start_time: datetime | None = ... - """ - The start of the time period for which you are looking for history. If - you omit this option, it will default to the value of EndTime. - """ - end_time: datetime | None = ... - """ - The end of the time period for which you are looking for history. If you - omit this option, it will default to the current time. - """ - max_results: int | None = ... - """ - The maximum number of historical results you would like returned per - page. Defaults to 100. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamAddressHistoryOutput(_SerdeShape): - """Dataclass for GetIpamAddressHistoryOutput structure.""" - - history_records: list[IpamAddressHistoryRecord] | None = ... - """ - A historical record for a CIDR within an IPAM scope. If the CIDR is - associated with an EC2 instance, you will see an object in the response - for the instance and one for the network interface. - """ - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamDiscoveredAccountsInput(_SerdeShape): - """Dataclass for GetIpamDiscoveredAccountsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_resource_discovery_id: str | None = ... - """A resource discovery ID.""" - discovery_region: str | None = ... - """ - The Amazon Web Services Region that the account information is returned - from. - """ - filters: list[Filter] | None = ... - """Discovered account filters.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - max_results: int | None = ... - """ - The maximum number of discovered accounts to return in one page of - results. - """ - -@dataclass(kw_only=True) -class GetIpamDiscoveredAccountsOutput(_SerdeShape): - """Dataclass for GetIpamDiscoveredAccountsOutput structure.""" - - ipam_discovered_accounts: list[IpamDiscoveredAccount] | None = ... - """Discovered accounts.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamDiscoveredPublicAddressesInput(_SerdeShape): - """Dataclass for GetIpamDiscoveredPublicAddressesInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_resource_discovery_id: str | None = ... - """An IPAM resource discovery ID.""" - address_region: str | None = ... - """The Amazon Web Services Region for the IP address.""" - filters: list[Filter] | None = ... - """Filters.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of IPAM discovered public addresses to return in one - page of results. - """ - -@dataclass(kw_only=True) -class GetIpamDiscoveredPublicAddressesOutput(_SerdeShape): - """Dataclass for GetIpamDiscoveredPublicAddressesOutput structure.""" - - ipam_discovered_public_addresses: list[IpamDiscoveredPublicAddress] | None = ... - """IPAM discovered public addresses.""" - oldest_sample_time: datetime | None = ... - """The oldest successful resource discovery time.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamDiscoveredResourceCidrsInput(_SerdeShape): - """Dataclass for GetIpamDiscoveredResourceCidrsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_resource_discovery_id: str | None = ... - """A resource discovery ID.""" - resource_region: str | None = ... - """A resource Region.""" - filters: list[Filter] | None = ... - """Filters.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - max_results: int | None = ... - """ - The maximum number of discovered resource CIDRs to return in one page of - results. - """ - -@dataclass(kw_only=True) -class GetIpamDiscoveredResourceCidrsOutput(_SerdeShape): - """Dataclass for GetIpamDiscoveredResourceCidrsOutput structure.""" - - ipam_discovered_resource_cidrs: list[IpamDiscoveredResourceCidr] | None = ... - """Discovered resource CIDRs.""" - next_token: str | None = ... - """ - Specify the pagination token from a previous request to retrieve the - next page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamDiscoveredRoutesInput(_SerdeShape): - """Dataclass for GetIpamDiscoveredRoutesInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_resource_discovery_id: str | None = ... - """The ID of the IPAM resource discovery.""" - resource_region: str | None = ... - """The Amazon Web Services Region to retrieve discovered routes for.""" - filters: list[Filter] | None = ... - """One or more filters to apply to the results.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If not - specified, all available results are returned. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - -@dataclass(kw_only=True) -class GetIpamDiscoveredRoutesOutput(_SerdeShape): - """Dataclass for GetIpamDiscoveredRoutesOutput structure.""" - - ipam_discovered_routes: list[IpamDiscoveredRoute] | None = ... - """The discovered BGP routes.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamInternetRegistryAssociationAsnsInput(_SerdeShape): - """Dataclass for GetIpamInternetRegistryAssociationAsnsInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If not - specified, all available results are returned. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """One or more filters to apply to the results.""" - -@dataclass(kw_only=True) -class GetIpamInternetRegistryAssociationAsnsOutput(_SerdeShape): - """Dataclass for GetIpamInternetRegistryAssociationAsnsOutput structure.""" - - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - ipam_internet_registry_association_asns: ( - list[IpamInternetRegistryAssociationAsn] | None - ) = ... - """The ASNs registered with the internet registry.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamInternetRegistryAssociationCidrsInput(_SerdeShape): - """Dataclass for GetIpamInternetRegistryAssociationCidrsInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If not - specified, all available results are returned. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - filters: list[Filter] | None = ... - """One or more filters to apply to the results.""" - -@dataclass(kw_only=True) -class GetIpamInternetRegistryAssociationCidrsOutput(_SerdeShape): - """Dataclass for GetIpamInternetRegistryAssociationCidrsOutput structure.""" - - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - ipam_internet_registry_association_cidrs: ( - list[IpamInternetRegistryAssociationCidr] | None - ) = ... - """The CIDRs registered with the internet registry.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamPolicyAllocationRulesInput(_SerdeShape): - """Dataclass for GetIpamPolicyAllocationRulesInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_policy_id: str | None = ... - """The ID of the IPAM policy for which to get allocation rules.""" - filters: list[Filter] | None = ... - """One or more filters for the allocation rules.""" - locale: str | None = ... - """The locale for which to get the allocation rules.""" - resource_type: str | None = ... - """ - The resource type for which to get the allocation rules. - - The Amazon Web Services service or resource type that can use IP - addresses through IPAM policies. Supported services and resource types - include: - - - Elastic IP addresses - """ - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamPolicyAllocationRulesOutput(_SerdeShape): - """Dataclass for GetIpamPolicyAllocationRulesOutput structure.""" - - ipam_policy_documents: list[IpamPolicyDocument] | None = ... - """ - The IPAM policy documents containing the allocation rules. - - Allocation rules are optional configurations within an IPAM policy that - map Amazon Web Services resource types to specific IPAM pools. If no - rules are defined, the resource types default to using Amazon-provided - IP addresses. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamPolicyOrganizationTargetsInput(_SerdeShape): - """Dataclass for GetIpamPolicyOrganizationTargetsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - next_token: str | None = ... - """The token for the next page of results.""" - ipam_policy_id: str | None = ... - """ - The ID of the IPAM policy for which to get Amazon Web Services - Organizations targets. - """ - filters: list[Filter] | None = ... - """One or more filters for the Amazon Web Services Organizations targets.""" - -@dataclass(kw_only=True) -class GetIpamPolicyOrganizationTargetsOutput(_SerdeShape): - """Dataclass for GetIpamPolicyOrganizationTargetsOutput structure.""" - - organization_targets: list[IpamPolicyOrganizationTarget] | None = ... - """ - The IDs of the Amazon Web Services Organizations targets. - - A target can be an individual Amazon Web Services account or an entity - within an Amazon Web Services Organization to which an IPAM policy can - be applied. - """ - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamPoolAllocationsInput(_SerdeShape): - """Dataclass for GetIpamPoolAllocationsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_id: str | None = ... - """The ID of the IPAM pool you want to see the allocations for.""" - ipam_pool_allocation_id: str | None = ... - """The ID of the allocation.""" - filters: list[Filter] | None = ... - """ - One or more filters for the request. For more information about - filtering, see [Filtering CLI - output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). - """ - max_results: int | None = ... - """The maximum number of results you would like returned per page.""" - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamPoolAllocationsOutput(_SerdeShape): - """Dataclass for GetIpamPoolAllocationsOutput structure.""" - - ipam_pool_allocations: list[IpamPoolAllocation] | None = ... - """The IPAM pool allocations you want information on.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamPoolCidrsInput(_SerdeShape): - """Dataclass for GetIpamPoolCidrsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_id: str | None = ... - """The ID of the IPAM pool you want the CIDR for.""" - filters: list[Filter] | None = ... - """ - One or more filters for the request. For more information about - filtering, see [Filtering CLI - output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamPoolCidrsOutput(_SerdeShape): - """Dataclass for GetIpamPoolCidrsOutput structure.""" - - ipam_pool_cidrs: list[IpamPoolCidr] | None = ... - """Information about the CIDRs provisioned to an IPAM pool.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamPrefixListResolverRulesInput(_SerdeShape): - """Dataclass for GetIpamPrefixListResolverRulesInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_prefix_list_resolver_id: str | None = ... - """ - The ID of the IPAM prefix list resolver whose rules you want to - retrieve. - """ - filters: list[Filter] | None = ... - """One or more filters to limit the results.""" - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamPrefixListResolverRulesOutput(_SerdeShape): - """Dataclass for GetIpamPrefixListResolverRulesOutput structure.""" - - rules: list[IpamPrefixListResolverRule] | None = ... - """The CIDR selection rules for the IPAM prefix list resolver.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamPrefixListResolverVersionEntriesInput(_SerdeShape): - """Dataclass for GetIpamPrefixListResolverVersionEntriesInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_prefix_list_resolver_id: str | None = ... - """ - The ID of the IPAM prefix list resolver whose version entries you want - to retrieve. - """ - ipam_prefix_list_resolver_version: int | None = ... - """ - The version number of the resolver for which to retrieve CIDR entries. - If not specified, the latest version is used. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamPrefixListResolverVersionEntriesOutput(_SerdeShape): - """Dataclass for GetIpamPrefixListResolverVersionEntriesOutput structure.""" - - entries: list[IpamPrefixListResolverVersionEntry] | None = ... - """The CIDR entries for the specified resolver version.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamPrefixListResolverVersionsInput(_SerdeShape): - """Dataclass for GetIpamPrefixListResolverVersionsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_prefix_list_resolver_id: str | None = ... - """ - The ID of the IPAM prefix list resolver whose versions you want to - retrieve. - """ - ipam_prefix_list_resolver_versions: list[int] | None = ... - """ - Specific version numbers to retrieve. If not specified, all versions are - returned. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - filters: list[Filter] | None = ... - """One or more filters to limit the results.""" - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamPrefixListResolverVersionsOutput(_SerdeShape): - """Dataclass for GetIpamPrefixListResolverVersionsOutput structure.""" - - ipam_prefix_list_resolver_versions: list[IpamPrefixListResolverVersion] | None = ... - """Information about the IPAM prefix list resolver versions.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamResourceCidrsInput(_SerdeShape): - """Dataclass for GetIpamResourceCidrsInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """ - One or more filters for the request. For more information about - filtering, see [Filtering CLI - output](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html). - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """The token for the next page of results.""" - ipam_scope_id: str | None = ... - """The ID of the scope that the resource is in.""" - ipam_pool_id: str | None = ... - """The ID of the IPAM pool that the resource is in.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """The resource type.""" - resource_tag: RequestIpamResourceTag | None = ... - """The resource tag.""" - resource_owner: str | None = ... - """The ID of the Amazon Web Services account that owns the resource.""" - -@dataclass(kw_only=True) -class GetIpamResourceCidrsOutput(_SerdeShape): - """Dataclass for GetIpamResourceCidrsOutput structure.""" - - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - ipam_resource_cidrs: list[IpamResourceCidr] | None = ... - """The resource CIDRs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamRouteOriginAuthorizationsInput(_SerdeShape): - """Dataclass for GetIpamRouteOriginAuthorizationsInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association.""" - cidr: str | None = ... - """Filter results to a specific CIDR prefix.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If not - specified, all available results are returned. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamRouteOriginAuthorizationsOutput(_SerdeShape): - """Dataclass for GetIpamRouteOriginAuthorizationsOutput structure.""" - - ipam_route_origin_authorizations: ( - list[IpamRouteOriginAuthorizationInfo] | None - ) = ... - """The Route Origin Authorizations published to the RPKI.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamRouteProtectionFindingsInput(_SerdeShape): - """Dataclass for GetIpamRouteProtectionFindingsInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """The ID of the IPAM to retrieve route protection findings for.""" - filters: list[Filter] | None = ... - """One or more filters to apply to the results.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If not - specified, all available results are returned. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - -@dataclass(kw_only=True) -class GetIpamRouteProtectionFindingsOutput(_SerdeShape): - """Dataclass for GetIpamRouteProtectionFindingsOutput structure.""" - - ipam_id: str | None = ... - """The ID of the IPAM.""" - route_protection_findings: list[IpamRouteProtectionFinding] | None = ... - """The route protection findings.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamRoutingPolicyRegistrationDeltasInput(_SerdeShape): - """Dataclass for GetIpamRoutingPolicyRegistrationDeltasInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association.""" - delta_id: str | None = ... - """Filter results to a specific delta ID.""" - start_time: datetime | None = ... - """The start of the time range to filter deltas by.""" - end_time: datetime | None = ... - """The end of the time range to filter deltas by.""" - chronological_order: str | None = ... - """ - The chronological order to return results in. Valid values: `forward` | - `reverse`. - """ - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If not - specified, all available results are returned. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamRoutingPolicyRegistrationDeltasOutput(_SerdeShape): - """Dataclass for GetIpamRoutingPolicyRegistrationDeltasOutput structure.""" - - ipam_routing_policy_registration_deltas: ( - list[IpamRoutingPolicyRegistrationDelta] | None - ) = ... - """The routing policy registration deltas.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIpamRoutingPolicyRegistrationsInput(_SerdeShape): - """Dataclass for GetIpamRoutingPolicyRegistrationsInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association.""" - cidr: str | None = ... - """Filter results to a specific CIDR prefix.""" - max_results: int | None = ... - """ - The maximum number of results to return in a single call. If not - specified, all available results are returned. To retrieve the remaining - results, make another call with the returned `nextToken` value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetIpamRoutingPolicyRegistrationsOutput(_SerdeShape): - """Dataclass for GetIpamRoutingPolicyRegistrationsOutput structure.""" - - ipam_routing_policy_registrations: list[IpamRoutingPolicyRegistration] | None = ... - """The routing policy registrations.""" - next_token: str | None = ... - """The token to use to retrieve the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetLaunchTemplateDataInput(_SerdeShape): - """Dataclass for GetLaunchTemplateDataInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the instance.""" - -@dataclass(kw_only=True) -class GetLaunchTemplateDataOutput(_SerdeShape): - """Dataclass for GetLaunchTemplateDataOutput structure.""" - - launch_template_data: ResponseLaunchTemplateData | None = ... - """The instance data.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetManagedPrefixListAssociationsInput(_SerdeShape): - """Dataclass for GetManagedPrefixListAssociationsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetManagedPrefixListAssociationsOutput(_SerdeShape): - """Dataclass for GetManagedPrefixListAssociationsOutput structure.""" - - prefix_list_associations: list[PrefixListAssociation] | None = ... - """Information about the associations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetManagedPrefixListEntriesInput(_SerdeShape): - """Dataclass for GetManagedPrefixListEntriesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - target_version: int | None = ... - """ - The version of the prefix list for which to return the entries. The - default is the current version. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class GetManagedPrefixListEntriesOutput(_SerdeShape): - """Dataclass for GetManagedPrefixListEntriesOutput structure.""" - - entries: list[PrefixListEntry] | None = ... - """Information about the prefix list entries.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetManagedResourceVisibilityInput(_SerdeShape): - """Dataclass for GetManagedResourceVisibilityInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetManagedResourceVisibilityOutput(_SerdeShape): - """Dataclass for GetManagedResourceVisibilityOutput structure.""" - - visibility: ManagedResourceVisibilitySettings | None = ... - """The managed resource visibility settings for the account.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetNetworkInsightsAccessScopeAnalysisFindingsInput(_SerdeShape): - """ - Dataclass for GetNetworkInsightsAccessScopeAnalysisFindingsInput - structure. - """ - - network_insights_access_scope_analysis_id: str | None = ... - """The ID of the Network Access Scope analysis.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetNetworkInsightsAccessScopeAnalysisFindingsOutput(_SerdeShape): - """ - Dataclass for GetNetworkInsightsAccessScopeAnalysisFindingsOutput - structure. - """ - - network_insights_access_scope_analysis_id: str | None = ... - """The ID of the Network Access Scope analysis.""" - analysis_status: str | None = ... - """The status of Network Access Scope Analysis.""" - analysis_findings: list[AccessScopeAnalysisFinding] | None = ... - """The findings associated with Network Access Scope Analysis.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetNetworkInsightsAccessScopeContentInput(_SerdeShape): - """Dataclass for GetNetworkInsightsAccessScopeContentInput structure.""" - - network_insights_access_scope_id: str | None = ... - """The ID of the Network Access Scope.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetNetworkInsightsAccessScopeContentOutput(_SerdeShape): - """Dataclass for GetNetworkInsightsAccessScopeContentOutput structure.""" - - network_insights_access_scope_content: ( - NetworkInsightsAccessScopeContent | None - ) = ... - """The Network Access Scope content.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPasswordDataInput(_SerdeShape): - """Dataclass for GetPasswordDataInput structure.""" - - instance_id: str | None = ... - """The ID of the Windows instance.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetPasswordDataOutput(_SerdeShape): - """Dataclass for GetPasswordDataOutput structure.""" - - instance_id: str | None = ... - """The ID of the Windows instance.""" - timestamp: datetime | None = ... - """The time the data was last updated.""" - password_data: str | None = ... - """ - The password of the instance. Returns an empty string if the password is - not available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetReservedInstancesExchangeQuoteInput(_SerdeShape): - """Contains the parameters for GetReservedInstanceExchangeQuote.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - reserved_instance_ids: list[str] | None = ... - """The IDs of the Convertible Reserved Instances to exchange.""" - target_configurations: list[TargetConfigurationRequest] | None = ... - """ - The configuration of the target Convertible Reserved Instance to - exchange for your current Convertible Reserved Instances. - """ - -@dataclass(kw_only=True) -class GetReservedInstancesExchangeQuoteOutput(_SerdeShape): - """Contains the output of GetReservedInstancesExchangeQuote.""" - - currency_code: str | None = ... - """The currency of the transaction.""" - is_valid_exchange: bool | None = ... - """ - If `true`, the exchange is valid. If `false`, the exchange cannot be - completed. - """ - output_reserved_instances_will_expire_at: datetime | None = ... - """The new end date of the reservation term.""" - payment_due: str | None = ... - """The total true upfront charge for the exchange.""" - reserved_instance_value_rollup: ReservationValue | None = ... - """The cost associated with the Reserved Instance.""" - reserved_instance_value_set: list[ReservedInstanceReservationValue] | None = ... - """The configuration of your Convertible Reserved Instances.""" - target_configuration_value_rollup: ReservationValue | None = ... - """The cost associated with the Reserved Instance.""" - target_configuration_value_set: list[TargetReservationValue] | None = ... - """The values of the target Convertible Reserved Instances.""" - validation_failure_reason: str | None = ... - """Describes the reason why the exchange cannot be completed.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRouteServerAssociationsInput(_SerdeShape): - """Dataclass for GetRouteServerAssociationsInput structure.""" - - route_server_id: str | None = ... - """The ID of the route server for which to get association information.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetRouteServerAssociationsOutput(_SerdeShape): - """Dataclass for GetRouteServerAssociationsOutput structure.""" - - route_server_associations: list[RouteServerAssociation] | None = ... - """Information about the associations for the specified route server.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRouteServerPropagationsInput(_SerdeShape): - """Dataclass for GetRouteServerPropagationsInput structure.""" - - route_server_id: str | None = ... - """The ID of the route server for which to get propagation information.""" - route_table_id: str | None = ... - """The ID of the route table for which to get propagation information.""" - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetRouteServerPropagationsOutput(_SerdeShape): - """Dataclass for GetRouteServerPropagationsOutput structure.""" - - route_server_propagations: list[RouteServerPropagation] | None = ... - """Information about the route propagations for the specified route server.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRouteServerRoutingDatabaseInput(_SerdeShape): - """Dataclass for GetRouteServerRoutingDatabaseInput structure.""" - - route_server_id: str | None = ... - """The ID of the route server for which to get the routing database.""" - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of routing database entries to return in a single - response. - """ - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - filters: list[Filter] | None = ... - """Filters to apply to the routing database query.""" - -@dataclass(kw_only=True) -class GetRouteServerRoutingDatabaseOutput(_SerdeShape): - """Dataclass for GetRouteServerRoutingDatabaseOutput structure.""" - - are_routes_persisted: bool | None = ... - """Indicates whether routes are being persisted in the routing database.""" - routes: list[RouteServerRoute] | None = ... - """The collection of routes in the route server's routing database.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSecurityGroupsForVpcInput(_SerdeShape): - """Dataclass for GetSecurityGroupsForVpcInput structure.""" - - vpc_id: str | None = ... - """The VPC ID where the security group can be used.""" - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - filters: list[Filter] | None = ... - """ - The filters. If using multiple filters, the results include security - groups which match all filters. - - - `group-id`: The security group ID. - - - `description`: The security group's description. - - - `group-name`: The security group name. - - - `owner-id`: The security group owner ID. - - - `primary-vpc-id`: The VPC ID in which the security group was created. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetSecurityGroupsForVpcOutput(_SerdeShape): - """Dataclass for GetSecurityGroupsForVpcOutput structure.""" - - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - security_group_for_vpcs: list[SecurityGroupForVpc] | None = ... - """The security group that can be used by interfaces in the VPC.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSerialConsoleAccessStatusInput(_SerdeShape): - """Dataclass for GetSerialConsoleAccessStatusInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetSerialConsoleAccessStatusOutput(_SerdeShape): - """Dataclass for GetSerialConsoleAccessStatusOutput structure.""" - - serial_console_access_enabled: bool | None = ... - """ - If `true`, access to the EC2 serial console of all instances is enabled - for your account. If `false`, access to the EC2 serial console of all - instances is disabled for your account. - """ - managed_by: str | None = ... - """ - The entity that manages access to the serial console. Possible values - include: - - - `account` - Access is managed by the account. - - - `declarative-policy` - Access is managed by a declarative policy and - can't be modified by the account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSnapshotBlockPublicAccessStateInput(_SerdeShape): - """Dataclass for GetSnapshotBlockPublicAccessStateInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetSnapshotBlockPublicAccessStateOutput(_SerdeShape): - """Dataclass for GetSnapshotBlockPublicAccessStateOutput structure.""" - - state: str | None = ... - """ - The current state of block public access for snapshots. Possible values - include: - - - `block-all-sharing` - All public sharing of snapshots is blocked. - Users in the account can't request new public sharing. Additionally, - snapshots that were already publicly shared are treated as private and - are not publicly available. - - - `block-new-sharing` - Only new public sharing of snapshots is blocked. - Users in the account can't request new public sharing. However, - snapshots that were already publicly shared, remain publicly - available. - - - `unblocked` - Public sharing is not blocked. Users can publicly share - snapshots. - """ - managed_by: str | None = ... - """ - The entity that manages the state for block public access for snapshots. - Possible values include: - - - `account` - The state is managed by the account. - - - `declarative-policy` - The state is managed by a declarative policy - and can't be modified by the account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSpotPlacementScoresInput(_SerdeShape): - """Dataclass for GetSpotPlacementScoresInput structure.""" - - instance_types: list[str] | None = ... - """ - The instance types. We recommend that you specify at least three - instance types. If you specify one or two instance types, or specify - variations of a single instance type (for example, an `m3.xlarge` with - and without instance storage), the returned placement score will always - be low. - - If you specify `InstanceTypes`, you can't specify - `InstanceRequirementsWithMetadata`. - """ - target_capacity: int | None = ... - """The target capacity.""" - target_capacity_unit_type: str | None = ... - """The unit for the target capacity.""" - single_availability_zone: bool | None = ... - """ - Specify `true` so that the response returns a list of scored - Availability Zones. Otherwise, the response returns a list of scored - Regions. - - A list of scored Availability Zones is useful if you want to launch all - of your Spot capacity into a single Availability Zone. - """ - region_names: list[str] | None = ... - """ - The Regions used to narrow down the list of Regions to be scored. Enter - the Region code, for example, `us-east-1`. - """ - instance_requirements_with_metadata: ( - InstanceRequirementsWithMetadataRequest | None - ) = ... - """ - The attributes for the instance types. When you specify instance - attributes, Amazon EC2 will identify instance types with those - attributes. - - If you specify `InstanceRequirementsWithMetadata`, you can't specify - `InstanceTypes`. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - include_local_zones: bool | None = ... - """ - Specify `true` so that the response returns scores that include Local - Zones. Otherwise, the response ignores Local Zones. - - When you request regional scores, Local Zone capacity counts toward its - parent Region. - """ - -@dataclass(kw_only=True) -class GetSpotPlacementScoresOutput(_SerdeShape): - """Dataclass for GetSpotPlacementScoresOutput structure.""" - - spot_placement_scores: list[SpotPlacementScore] | None = ... - """ - The Spot placement score for the top 10 Regions or Availability Zones, - scored on a scale from 1 to 10. Each score
 reflects how likely it is - that each Region or Availability Zone will succeed at fulfilling the - specified target capacity
 *at the time of the Spot placement score - request*. A score of `10` means that your Spot capacity request is - highly likely to succeed in that Region or Availability Zone. - - If you request a Spot placement score for Regions, a high score assumes - that your fleet request will be configured to use all Availability Zones - and the `capacity-optimized` allocation strategy. If you request a Spot - placement score for Availability Zones, a high score assumes that your - fleet request will be configured to use a single Availability Zone and - the `capacity-optimized` allocation strategy. - - Different
 Regions or Availability Zones might return the same score. - - Note: - The Spot placement score serves as a recommendation only. No score - guarantees that your Spot request will be fully or partially fulfilled. - """ - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSubnetCidrReservationsInput(_SerdeShape): - """Dataclass for GetSubnetCidrReservationsInput structure.""" - - filters: list[Filter] | None = ... - """ - One or more filters. - - - `reservationType` - The type of reservation (`prefix` | `explicit`). - - - `subnet-id` - The ID of the subnet. - - - `tag`:``{=html} - 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 `Owner` and the value `TeamA`, specify `tag:Owner` for - the filter name and `TeamA` for the filter value. - - - `tag-key` - The key of a tag assigned to the resource. Use this filter - to find all resources assigned a tag with a specific key, regardless - of the tag value. - """ - subnet_id: str | None = ... - """The ID of the subnet.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """The token for the next page of results.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - -@dataclass(kw_only=True) -class GetSubnetCidrReservationsOutput(_SerdeShape): - """Dataclass for GetSubnetCidrReservationsOutput structure.""" - - subnet_ipv4_cidr_reservations: list[SubnetCidrReservation] | None = ... - """Information about the IPv4 subnet CIDR reservations.""" - subnet_ipv6_cidr_reservations: list[SubnetCidrReservation] | None = ... - """Information about the IPv6 subnet CIDR reservations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayAttachmentNatConfigurationInput(_SerdeShape): - """ - Dataclass for GetTransitGatewayAttachmentNatConfigurationInput - structure. - """ - - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayAttachmentNatConfigurationOutput(_SerdeShape): - """ - Dataclass for GetTransitGatewayAttachmentNatConfigurationOutput - structure. - """ - - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - nat_gateway_support: str | None = ... - """The state of NAT gateway support for the attachment.""" - nat_system_route_support: str | None = ... - """ - Specifies whether the transit gateway installs routes for the NAT CIDRs - in the route tables to which the attachment propagates. - """ - nat_gateway_rules: list[TransitGatewayNatRule] | None = ... - """The NAT gateway rules for the attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayAttachmentPropagationsInput(_SerdeShape): - """Dataclass for GetTransitGatewayAttachmentPropagationsInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `transit-gateway-route-table-id` - The ID of the transit gateway route - table. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayAttachmentPropagationsOutput(_SerdeShape): - """Dataclass for GetTransitGatewayAttachmentPropagationsOutput structure.""" - - transit_gateway_attachment_propagations: ( - list[TransitGatewayAttachmentPropagation] | None - ) = ... - """Information about the propagation route tables.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayMeteringPolicyEntriesInput(_SerdeShape): - """Dataclass for GetTransitGatewayMeteringPolicyEntriesInput structure.""" - - transit_gateway_metering_policy_id: str | None = ... - """The ID of the transit gateway metering policy to retrieve entries for.""" - filters: list[Filter] | None = ... - """One or more filters to apply when retrieving metering policy entries.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayMeteringPolicyEntriesOutput(_SerdeShape): - """Dataclass for GetTransitGatewayMeteringPolicyEntriesOutput structure.""" - - transit_gateway_metering_policy_entries: ( - list[TransitGatewayMeteringPolicyEntry] | None - ) = ... - """Information about the transit gateway metering policy entries.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayMulticastDomainAssociationsInput(_SerdeShape): - """ - Dataclass for GetTransitGatewayMulticastDomainAssociationsInput - structure. - """ - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `resource-id` - The ID of the resource. - - - `resource-type` - The type of resource. The valid value is: `vpc`. - - - `state` - The state of the subnet association. Valid values are - `associated` | `associating` | `disassociated` | `disassociating`. - - - `subnet-id` - The ID of the subnet. - - - `transit-gateway-attachment-id` - The id of the transit gateway - attachment. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayMulticastDomainAssociationsOutput(_SerdeShape): - """ - Dataclass for GetTransitGatewayMulticastDomainAssociationsOutput - structure. - """ - - multicast_domain_associations: ( - list[TransitGatewayMulticastDomainAssociation] | None - ) = ... - """Information about the multicast domain associations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayPolicyTableAssociationsInput(_SerdeShape): - """Dataclass for GetTransitGatewayPolicyTableAssociationsInput structure.""" - - transit_gateway_policy_table_id: str | None = ... - """The ID of the transit gateway policy table.""" - filters: list[Filter] | None = ... - """The filters associated with the transit gateway policy table.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayPolicyTableAssociationsOutput(_SerdeShape): - """Dataclass for GetTransitGatewayPolicyTableAssociationsOutput structure.""" - - associations: list[TransitGatewayPolicyTableAssociation] | None = ... - """Returns details about the transit gateway policy table association.""" - next_token: str | None = ... - """The token for the next page of results.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayPolicyTableEntriesInput(_SerdeShape): - """Dataclass for GetTransitGatewayPolicyTableEntriesInput structure.""" - - transit_gateway_policy_table_id: str | None = ... - """The ID of the transit gateway policy table.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `policy-rule-number` - The rule number for the transit gateway policy - table entry. - - - `target-route-table-id` - The ID of the target route table. - - - `policy-rule.source-ip` - The source CIDR block for the policy rule. - - - `policy-rule.destination-ip` - The destination CIDR block for the - policy rule. - - - `policy-rule.source-port` - The source port or port range for the - policy rule. - - - `policy-rule.destination-port` - The destination port or port range - for the policy rule. - - - `policy-rule.protocol` - The protocol for the policy rule. - - - `policy-rule.meta-data.key` - The metadata key for the policy rule. - - - `policy-rule.meta-data.value` - The metadata value for the policy - rule. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayPolicyTableEntriesOutput(_SerdeShape): - """Dataclass for GetTransitGatewayPolicyTableEntriesOutput structure.""" - - transit_gateway_policy_table_entries: ( - list[TransitGatewayPolicyTableEntry] | None - ) = ... - """The entries for the transit gateway policy table.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayPrefixListReferencesInput(_SerdeShape): - """Dataclass for GetTransitGatewayPrefixListReferencesInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `attachment.resource-id` - The ID of the resource for the attachment. - - - `attachment.resource-type` - The type of resource for the attachment. - Valid values are `vpc` | `vpn` | `direct-connect-gateway` | - `peering`. - - - `attachment.transit-gateway-attachment-id` - The ID of the attachment. - - - `is-blackhole` - Whether traffic matching the route is blocked (`true` - | `false`). - - - `prefix-list-id` - The ID of the prefix list. - - - `prefix-list-owner-id` - The ID of the owner of the prefix list. - - - `state` - The state of the prefix list reference (`pending` | - `available` | `modifying` | `deleting`). - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayPrefixListReferencesOutput(_SerdeShape): - """Dataclass for GetTransitGatewayPrefixListReferencesOutput structure.""" - - transit_gateway_prefix_list_references: ( - list[TransitGatewayPrefixListReference] | None - ) = ... - """Information about the prefix list references.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayRouteTableAssociationsInput(_SerdeShape): - """Dataclass for GetTransitGatewayRouteTableAssociationsInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `resource-id` - The ID of the resource. - - - `resource-type` - The resource type. Valid values are `vpc` | `vpn` - | `direct-connect-gateway` | `peering` | `connect`. - - - `transit-gateway-attachment-id` - The ID of the attachment. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayRouteTableAssociationsOutput(_SerdeShape): - """Dataclass for GetTransitGatewayRouteTableAssociationsOutput structure.""" - - associations: list[TransitGatewayRouteTableAssociation] | None = ... - """Information about the associations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayRouteTablePropagationsInput(_SerdeShape): - """Dataclass for GetTransitGatewayRouteTablePropagationsInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `resource-id` - The ID of the resource. - - - `resource-type` - The resource type. Valid values are `vpc` | `vpn` - | `direct-connect-gateway` | `peering` | `connect`. - - - `transit-gateway-attachment-id` - The ID of the attachment. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetTransitGatewayRouteTablePropagationsOutput(_SerdeShape): - """Dataclass for GetTransitGatewayRouteTablePropagationsOutput structure.""" - - transit_gateway_route_table_propagations: ( - list[TransitGatewayRouteTablePropagation] | None - ) = ... - """Information about the route table propagations.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVerifiedAccessEndpointPolicyInput(_SerdeShape): - """Dataclass for GetVerifiedAccessEndpointPolicyInput structure.""" - - verified_access_endpoint_id: str | None = ... - """The ID of the Verified Access endpoint.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetVerifiedAccessEndpointPolicyOutput(_SerdeShape): - """Dataclass for GetVerifiedAccessEndpointPolicyOutput structure.""" - - policy_enabled: bool | None = ... - """The status of the Verified Access policy.""" - policy_document: str | None = ... - """The Verified Access policy document.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVerifiedAccessEndpointTargetsInput(_SerdeShape): - """Dataclass for GetVerifiedAccessEndpointTargetsInput structure.""" - - verified_access_endpoint_id: str | None = ... - """The ID of the network CIDR endpoint.""" - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetVerifiedAccessEndpointTargetsOutput(_SerdeShape): - """Dataclass for GetVerifiedAccessEndpointTargetsOutput structure.""" - - verified_access_endpoint_targets: list[VerifiedAccessEndpointTarget] | None = ... - """The Verified Access targets.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVerifiedAccessGroupPolicyInput(_SerdeShape): - """Dataclass for GetVerifiedAccessGroupPolicyInput structure.""" - - verified_access_group_id: str | None = ... - """The ID of the Verified Access group.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetVerifiedAccessGroupPolicyOutput(_SerdeShape): - """Dataclass for GetVerifiedAccessGroupPolicyOutput structure.""" - - policy_enabled: bool | None = ... - """The status of the Verified Access policy.""" - policy_document: str | None = ... - """The Verified Access policy document.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVpcResourcesBlockingEncryptionEnforcementInput(_SerdeShape): - """ - Dataclass for GetVpcResourcesBlockingEncryptionEnforcementInput - structure. - """ - - vpc_id: str | None = ... - """ - The ID of the VPC to check for resources blocking encryption - enforcement. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetVpcResourcesBlockingEncryptionEnforcementOutput(_SerdeShape): - """ - Dataclass for GetVpcResourcesBlockingEncryptionEnforcementOutput - structure. - """ - - non_compliant_resources: list[VpcEncryptionNonCompliantResource] | None = ... - """Information about resources that are blocking encryption enforcement.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVpnConnectionDeviceSampleConfigurationInput(_SerdeShape): - """Dataclass for GetVpnConnectionDeviceSampleConfigurationInput structure.""" - - vpn_connection_id: str | None = ... - """ - The `VpnConnectionId` specifies the Site-to-Site VPN connection used for - the sample configuration. - """ - vpn_connection_device_type_id: str | None = ... - """Device identifier provided by the `GetVpnConnectionDeviceTypes` API.""" - internet_key_exchange_version: str | None = ... - """ - The IKE version to be used in the sample configuration file for your - customer gateway device. You can specify one of the following versions: - `ikev1` or `ikev2`. - """ - sample_type: str | None = ... - """ - The type of sample configuration to generate. Valid values are - \"compatibility\" (includes IKEv1) or \"recommended\" (throws - UnsupportedOperationException for IKEv1). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetVpnConnectionDeviceSampleConfigurationOutput(_SerdeShape): - """Dataclass for GetVpnConnectionDeviceSampleConfigurationOutput structure.""" - - vpn_connection_device_sample_configuration: str | None = ... - """Sample configuration file for the specified customer gateway device.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVpnConnectionDeviceTypesInput(_SerdeShape): - """Dataclass for GetVpnConnectionDeviceTypesInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results returned by `GetVpnConnectionDeviceTypes` - in paginated output. When this parameter is used, - `GetVpnConnectionDeviceTypes` only returns `MaxResults` results in a - single page along with a `NextToken` response element. The remaining - results of the initial request can be seen by sending another - `GetVpnConnectionDeviceTypes` request with the returned `NextToken` - value. This value can be between 200 and 1000. If this parameter is not - used, then `GetVpnConnectionDeviceTypes` returns all results. - """ - next_token: str | None = ... - """ - The `NextToken` value returned from a previous paginated - `GetVpnConnectionDeviceTypes` request where `MaxResults` was used and - the results exceeded the value of that parameter. Pagination continues - from the end of the previous results that returned the `NextToken` - value. This value is null when there are no more results to return. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetVpnConnectionDeviceTypesOutput(_SerdeShape): - """Dataclass for GetVpnConnectionDeviceTypesOutput structure.""" - - vpn_connection_device_types: list[VpnConnectionDeviceType] | None = ... - """ - List of customer gateway devices that have a sample configuration file - available for use. - """ - next_token: str | None = ... - """ - The `NextToken` value to include in a future - `GetVpnConnectionDeviceTypes` request. When the results of a - `GetVpnConnectionDeviceTypes` request exceed `MaxResults`, this value - can be used to retrieve the next page of results. This value is null - when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetVpnTunnelReplacementStatusInput(_SerdeShape): - """Dataclass for GetVpnTunnelReplacementStatusInput structure.""" - - vpn_connection_id: str | None = ... - """The ID of the Site-to-Site VPN connection.""" - vpn_tunnel_outside_ip_address: str | None = ... - """The external IP address of the VPN tunnel.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class GetVpnTunnelReplacementStatusOutput(_SerdeShape): - """Dataclass for GetVpnTunnelReplacementStatusOutput structure.""" - - vpn_connection_id: str | None = ... - """The ID of the Site-to-Site VPN connection.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway associated with the VPN connection.""" - customer_gateway_id: str | None = ... - """The ID of the customer gateway.""" - vpn_gateway_id: str | None = ... - """The ID of the virtual private gateway.""" - vpn_tunnel_outside_ip_address: str | None = ... - """The external IP address of the VPN tunnel.""" - maintenance_details: MaintenanceDetails | None = ... - """Get details of pending tunnel endpoint maintenance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GpuDeviceInfo(_SerdeShape): - """Describes the GPU accelerators for the instance type.""" - - name: str | None = ... - """The name of the GPU accelerator.""" - manufacturer: str | None = ... - """The manufacturer of the GPU accelerator.""" - count: int | None = ... - """The number of GPUs for the instance type.""" - logical_gpu_count: int | None = ... - """Total number of GPU devices of this type.""" - gpu_partition_size: float | None = ... - """ - The size of each GPU as a fraction of a full GPU, between 0 (excluded) - and 1 (included). - """ - workloads: list[str] | None = ... - """A list of workload types this GPU supports.""" - memory_info: GpuDeviceMemoryInfo | None = ... - """Describes the memory available to the GPU accelerator.""" - -@dataclass(kw_only=True) -class GpuDeviceMemoryInfo(_SerdeShape): - """Describes the memory available to the GPU accelerator.""" - - size_in_mi_b: int | None = ... - """The size of the memory available to the GPU accelerator, in MiB.""" - -@dataclass(kw_only=True) -class GpuInfo(_SerdeShape): - """Describes the GPU accelerators for the instance type.""" - - gpus: list[GpuDeviceInfo] | None = ... - """Describes the GPU accelerators for the instance type.""" - total_gpu_memory_in_mi_b: int | None = ... - """ - The total size of the memory for the GPU accelerators for the instance - type, in MiB. - """ - -class GroupBy(UnknownEnumMixin, StrEnum): - RESOURCE_REGION = "resource-region" - AVAILABILITY_ZONE_ID = "availability-zone-id" - ACCOUNT_ID = "account-id" - ACCOUNT_NAME = "account-name" - INSTANCE_FAMILY = "instance-family" - INSTANCE_TYPE = "instance-type" - INSTANCE_PLATFORM = "instance-platform" - RESERVATION_ARN = "reservation-arn" - RESERVATION_ID = "reservation-id" - RESERVATION_TYPE = "reservation-type" - RESERVATION_CREATE_TIMESTAMP = "reservation-create-timestamp" - RESERVATION_START_TIMESTAMP = "reservation-start-timestamp" - RESERVATION_END_TIMESTAMP = "reservation-end-timestamp" - RESERVATION_END_DATE_TYPE = "reservation-end-date-type" - TENANCY = "tenancy" - RESERVATION_STATE = "reservation-state" - RESERVATION_INSTANCE_MATCH_CRITERIA = "reservation-instance-match-criteria" - RESERVATION_UNUSED_FINANCIAL_OWNER = "reservation-unused-financial-owner" - -@dataclass(kw_only=True) -class GroupIdentifier(_SerdeShape): - """Describes a security group.""" - - group_id: str | None = ... - """The ID of the security group.""" - group_name: str | None = ... - """The name of the security group.""" - -class HaStatus(UnknownEnumMixin, StrEnum): - PROCESSING = "processing" - ACTIVE = "active" - STANDBY = "standby" - INVALID = "invalid" - -@dataclass(kw_only=True) -class HealthCheckPathDestinationRequestObject(_SerdeShape): - """ - Describes a destination for a health check path in a request. - Destinations can be in a different Availability Zone than the source - (cross-AZ) or in a Local Zone (AZ to Local Zone), enabling remote health - validation of your application. - """ - - subnet_id: str | None = ... - """The ID of the subnet for the destination.""" - security_group_id: str | None = ... - """The ID of the security group for the destination.""" - -@dataclass(kw_only=True) -class HealthCheckPathDestinationResponseObject(_SerdeShape): - """Describes a destination for a health check path.""" - - subnet_id: str | None = ... - """The ID of the subnet for the destination.""" - security_group_id: str | None = ... - """The ID of the security group for the destination.""" - -@dataclass(kw_only=True) -class HealthCheckPathRequestObject(_SerdeShape): - """Describes a health check path for an application status check request.""" - - source: HealthCheckPathSourceRequestObject | None = ... - """The source for the health check path.""" - destinations: list[HealthCheckPathDestinationRequestObject] | None = ... - """The destinations for the health check path.""" - -@dataclass(kw_only=True) -class HealthCheckPathResponseObject(_SerdeShape): - """Describes a health check path for an application status check.""" - - source: HealthCheckPathSourceResponseObject | None = ... - """The source for the health check path.""" - destinations: list[HealthCheckPathDestinationResponseObject] | None = ... - """The destinations for the health check path.""" - -@dataclass(kw_only=True) -class HealthCheckPathSourceRequestObject(_SerdeShape): - """ - Describes the source for a health check path in a request. The source - defines the subnet and security group where a health check elastic - network interface (ENI) is created to originate health check traffic. - """ - - subnet_id: str | None = ... - """The ID of the subnet for the source.""" - security_group_id: str | None = ... - """The ID of the security group for the source.""" - -@dataclass(kw_only=True) -class HealthCheckPathSourceResponseObject(_SerdeShape): - """Describes the source for a health check path.""" - - subnet_id: str | None = ... - """The ID of the subnet for the source.""" - security_group_id: str | None = ... - """The ID of the security group for the source.""" - -@dataclass(kw_only=True) -class HibernationOptions(_SerdeShape): - """ - Indicates whether your instance is configured for hibernation. This - parameter is valid only if the instance meets the [hibernation - prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). - For more information, see [Hibernate your Amazon EC2 - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) - in the *Amazon EC2 User Guide*. - """ - - configured: bool | None = ... - """ - If `true`, your instance is enabled for hibernation; otherwise, it is - not enabled for hibernation. - """ - -@dataclass(kw_only=True) -class HibernationOptionsRequest(_SerdeShape): - """ - Indicates whether your instance is configured for hibernation. This - parameter is valid only if the instance meets the [hibernation - prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). - For more information, see [Hibernate your Amazon EC2 - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) - in the *Amazon EC2 User Guide*. - """ - - configured: bool | None = ... - """ - Set to `true` to enable your instance for hibernation. - - For Spot Instances, if you set `Configured` to `true`, either omit the - `InstanceInterruptionBehavior` parameter (for - [`SpotMarketOptions`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotMarketOptions.html) - ), or set it to `hibernate`. When `Configured` is true: - - - If you omit `InstanceInterruptionBehavior`, it defaults to - `hibernate`. - - - If you set `InstanceInterruptionBehavior` to a value other than - `hibernate`, you'll get an error. - - Default: `false` - """ - -@dataclass(kw_only=True) -class HistoryRecord(_SerdeShape): - """Describes an event in the history of the Spot Fleet request.""" - - event_information: EventInformation | None = ... - """Information about the event.""" - event_type: str | None = ... - """ - The event type. - - - `error` - An error with the Spot Fleet request. - - - `fleetRequestChange` - A change in the status or configuration of the - Spot Fleet request. - - - `instanceChange` - An instance was launched or terminated. - - - `Information` - An informational event. - """ - timestamp: datetime | None = ... - """ - The date and time of the event, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - -@dataclass(kw_only=True) -class HistoryRecordEntry(_SerdeShape): - """Describes an event in the history of an EC2 Fleet.""" - - event_information: EventInformation | None = ... - """Information about the event.""" - event_type: str | None = ... - """The event type.""" - timestamp: datetime | None = ... - """ - The date and time of the event, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - -@dataclass(kw_only=True) -class Host(_SerdeShape): - """Describes the properties of the Dedicated Host.""" - - auto_placement: str | None = ... - """Whether auto-placement is on or off.""" - availability_zone: str | None = ... - """The Availability Zone of the Dedicated Host.""" - available_capacity: AvailableCapacity | None = ... - """Information about the instances running on the Dedicated Host.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - host_id: str | None = ... - """The ID of the Dedicated Host.""" - host_properties: HostProperties | None = ... - """The hardware specifications of the Dedicated Host.""" - host_reservation_id: str | None = ... - """ - The reservation ID of the Dedicated Host. This returns a `null` response - if the Dedicated Host doesn't have an associated reservation. - """ - instances: list[HostInstance] | None = ... - """ - The IDs and instance type that are currently running on the Dedicated - Host. - """ - state: str | None = ... - """The Dedicated Host's state.""" - allocation_time: datetime | None = ... - """The time that the Dedicated Host was allocated.""" - release_time: datetime | None = ... - """The time that the Dedicated Host was released.""" - tags: list[Tag] | None = ... - """Any tags assigned to the Dedicated Host.""" - host_recovery: str | None = ... - """ - Indicates whether host recovery is enabled or disabled for the Dedicated - Host. - """ - allows_multiple_instance_types: str | None = ... - """ - Indicates whether the Dedicated Host supports multiple instance types of - the same instance family. If the value is `on`, the Dedicated Host - supports multiple instance types in the instance family. If the value is - `off`, the Dedicated Host supports a single instance type only. - """ - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the Dedicated Host.""" - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which the Dedicated Host is - allocated. - """ - member_of_service_linked_resource_group: bool | None = ... - """ - Indicates whether the Dedicated Host is in a host resource group. If - **memberOfServiceLinkedResourceGroup** is `true`, the host is in a host - resource group; otherwise, it is not. - """ - outpost_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on - which the Dedicated Host is allocated. - """ - host_maintenance: str | None = ... - """ - Indicates whether host maintenance is enabled or disabled for the - Dedicated Host. - """ - asset_id: str | None = ... - """ - The ID of the Outpost hardware asset on which the Dedicated Host is - allocated. - """ - cpu_options: HostCpuOptions | None = ... - """ - The CPU options for the Dedicated Host, including AMD Secure Encrypted - Virtualization-Secure Nested Paging (AMD SEV-SNP) settings. - """ - -@dataclass(kw_only=True) -class HostCpuOptions(_SerdeShape): - """ - Contains the CPU options for a Dedicated Host, including AMD Secure - Encrypted Virtualization-Secure Nested Paging (AMD SEV-SNP) settings. - """ - - amd_sev_snp: str | None = ... - """ - Specifies whether AMD Secure Encrypted Virtualization-Secure Nested - Paging (AMD SEV-SNP) is enabled or disabled for the Dedicated Host. If - you don't specify a value, AMD SEV-SNP is `disabled`. - """ - -@dataclass(kw_only=True) -class HostCpuOptionsRequest(_SerdeShape): - """ - Contains the CPU configuration options for a Dedicated Host allocation - request. Options include AMD Secure Encrypted Virtualization-Secure - Nested Paging (AMD SEV-SNP) settings. - """ - - amd_sev_snp: str | None = ... - """ - Specifies whether AMD Secure Encrypted Virtualization-Secure Nested - Paging (AMD SEV-SNP) is enabled or disabled for the Dedicated Host. If - you don't specify a value, AMD SEV-SNP is `disabled`. - """ - -@dataclass(kw_only=True) -class HostInstance(_SerdeShape): - """Describes an instance running on a Dedicated Host.""" - - instance_id: str | None = ... - """The ID of instance that is running on the Dedicated Host.""" - instance_type: str | None = ... - """The instance type (for example, `m3.medium`) of the running instance.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the instance.""" - -class HostMaintenance(UnknownEnumMixin, StrEnum): - ON = "on" - OFF = "off" - -class HostnameType(UnknownEnumMixin, StrEnum): - IP_NAME = "ip-name" - RESOURCE_NAME = "resource-name" - -@dataclass(kw_only=True) -class HostOffering(_SerdeShape): - """Details about the Dedicated Host Reservation offering.""" - - currency_code: str | None = ... - """The currency of the offering.""" - duration: int | None = ... - """The duration of the offering (in seconds).""" - hourly_price: str | None = ... - """The hourly price of the offering.""" - instance_family: str | None = ... - """The instance family of the offering.""" - offering_id: str | None = ... - """The ID of the offering.""" - payment_option: str | None = ... - """The available payment option.""" - upfront_price: str | None = ... - """ - The upfront price of the offering. Does not apply to No Upfront - offerings. - """ - -@dataclass(kw_only=True) -class HostProperties(_SerdeShape): - """Describes the properties of a Dedicated Host.""" - - cores: int | None = ... - """The number of cores on the Dedicated Host.""" - instance_type: str | None = ... - """ - The instance type supported by the Dedicated Host. For example, - `m5.large`. If the host supports multiple instance types, no - **instanceType** is returned. - """ - instance_family: str | None = ... - """The instance family supported by the Dedicated Host. For example, `m5`.""" - sockets: int | None = ... - """The number of sockets on the Dedicated Host.""" - total_v_cpus: int | None = ... - """The total number of vCPUs on the Dedicated Host.""" - -class HostRecovery(UnknownEnumMixin, StrEnum): - ON = "on" - OFF = "off" - -@dataclass(kw_only=True) -class HostReservation(_SerdeShape): - """ - Details about the Dedicated Host Reservation and associated Dedicated - Hosts. - """ - - count: int | None = ... - """The number of Dedicated Hosts the reservation is associated with.""" - currency_code: str | None = ... - """ - The currency in which the `upfrontPrice` and `hourlyPrice` amounts are - specified. At this time, the only supported currency is `USD`. - """ - duration: int | None = ... - """ - The length of the reservation's term, specified in seconds. Can be - `31536000 (1 year)` | `94608000 (3 years)`. - """ - end: datetime | None = ... - """The date and time that the reservation ends.""" - host_id_set: list[str] | None = ... - """The IDs of the Dedicated Hosts associated with the reservation.""" - host_reservation_id: str | None = ... - """The ID of the reservation that specifies the associated Dedicated Hosts.""" - hourly_price: str | None = ... - """The hourly price of the reservation.""" - instance_family: str | None = ... - """ - The instance family of the Dedicated Host Reservation. The instance - family on the Dedicated Host must be the same in order for it to benefit - from the reservation. - """ - offering_id: str | None = ... - """ - The ID of the reservation. This remains the same regardless of which - Dedicated Hosts are associated with it. - """ - payment_option: str | None = ... - """The payment option selected for this reservation.""" - start: datetime | None = ... - """The date and time that the reservation started.""" - state: str | None = ... - """The state of the reservation.""" - upfront_price: str | None = ... - """The upfront price of the reservation.""" - tags: list[Tag] | None = ... - """Any tags assigned to the Dedicated Host Reservation.""" - -class HostTenancy(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - DEDICATED = "dedicated" - HOST = "host" - -class HttpTokensEnforcedState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - -class HttpTokensState(UnknownEnumMixin, StrEnum): - OPTIONAL = "optional" - REQUIRED = "required" - -class HypervisorType(UnknownEnumMixin, StrEnum): - OVM = "ovm" - XEN = "xen" - -@dataclass(kw_only=True) -class IamInstanceProfile(_SerdeShape): - """Describes an IAM instance profile.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the instance profile.""" - id: str | None = ... - """The ID of the instance profile.""" - -@dataclass(kw_only=True) -class IamInstanceProfileAssociation(_SerdeShape): - """ - Describes an association between an IAM instance profile and an - instance. - """ - - association_id: str | None = ... - """The ID of the association.""" - instance_id: str | None = ... - """The ID of the instance.""" - iam_instance_profile: IamInstanceProfile | None = ... - """The IAM instance profile.""" - state: str | None = ... - """The state of the association.""" - timestamp: datetime | None = ... - """The time the IAM instance profile was associated with the instance.""" - -class IamInstanceProfileAssociationState(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - -@dataclass(kw_only=True) -class IamInstanceProfileSpecification(_SerdeShape): - """Describes an IAM instance profile.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the instance profile.""" - name: str | None = ... - """The name of the instance profile.""" - -@dataclass(kw_only=True) -class IcmpTypeCode(_SerdeShape): - """Describes the ICMP type and code.""" - - code: int | None = ... - """ - The ICMP code. A value of -1 means all codes for the specified ICMP - type. - """ - type: int | None = ... - """The ICMP type. A value of -1 means all types.""" - -@dataclass(kw_only=True) -class IdFormat(_SerdeShape): - """Describes the ID format for a resource.""" - - deadline: datetime | None = ... - """ - The date in UTC at which you are permanently switched over to using - longer IDs. If a deadline is not yet available for this resource type, - this field is not returned. - """ - resource: str | None = ... - """The type of resource.""" - use_long_ids: bool | None = ... - """ - Indicates whether longer IDs (17-character IDs) are enabled for the - resource. - """ - -class Igmpv2SupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -@dataclass(kw_only=True) -class IKEVersionsListValue(_SerdeShape): - """The internet key exchange (IKE) version permitted for the VPN tunnel.""" - - value: str | None = ... - """The IKE version.""" - -@dataclass(kw_only=True) -class IKEVersionsRequestListValue(_SerdeShape): - """The IKE version that is permitted for the VPN tunnel.""" - - value: str | None = ... - """The IKE version.""" - -@dataclass(kw_only=True) -class Image(_SerdeShape): - """Describes an image.""" - - platform_details: str | None = ... - """ - The platform details associated with the billing code of the AMI. For - more information, see [Understand AMI billing - information](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html) - in the *Amazon EC2 User Guide*. - """ - usage_operation: str | None = ... - """ - The operation of the Amazon EC2 instance and the billing code that is - associated with the AMI. `usageOperation` corresponds to the - [lineitem/Operation](https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation) - column on your Amazon Web Services Cost and Usage Report and in the - [Amazon Web Services Price List - API](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html). - You can view these fields on the **Instances** or **AMIs** pages in the - Amazon EC2 console, or in the responses that are returned by the - [DescribeImages](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html) - command in the Amazon EC2 API, or the - [describe-images](https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html) - command in the CLI. - """ - block_device_mappings: list[BlockDeviceMapping] | None = ... - """Any block device mapping entries.""" - description: str | None = ... - """The description of the AMI that was provided during image creation.""" - ena_support: bool | None = ... - """Specifies whether enhanced networking with ENA is enabled.""" - hypervisor: str | None = ... - """ - The hypervisor type of the image. Only `xen` is supported. `ovm` is not - supported. - """ - image_owner_alias: str | None = ... - """The owner alias (`amazon` | `aws-backup-vault` | `aws-marketplace`).""" - name: str | None = ... - """The name of the AMI that was provided during image creation.""" - root_device_name: str | None = ... - """The device name of the root device volume (for example, `/dev/sda1`).""" - root_device_type: str | None = ... - """ - The type of root device used by the AMI. The AMI can use an Amazon EBS - volume or an instance store volume. - """ - sriov_net_support: str | None = ... - """ - Specifies whether enhanced networking with the Intel 82599 Virtual - Function interface is enabled. - """ - state_reason: StateReason | None = ... - """The reason for the state change.""" - tags: list[Tag] | None = ... - """Any tags assigned to the image.""" - virtualization_type: str | None = ... - """The type of virtualization of the AMI.""" - boot_mode: str | None = ... - """ - The boot mode of the image. For more information, see [Instance launch - behavior with Amazon EC2 boot - modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) - in the *Amazon EC2 User Guide*. - """ - tpm_support: str | None = ... - """ - If the image is configured for NitroTPM support, the value is `v2.0`. - For more information, see - [NitroTPM](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) - in the *Amazon EC2 User Guide*. - """ - deprecation_time: str | None = ... - """ - The date and time to deprecate the AMI, in UTC, in the following format: - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z. If you specified a value for seconds, - Amazon EC2 rounds the seconds to the nearest minute. - """ - imds_support: str | None = ... - """ - If `v2.0`, it indicates that IMDSv2 is specified in the AMI. Instances - launched from this AMI will have `HttpTokens` automatically set to - `required` so that, by default, the instance requires that IMDSv2 is - used when requesting instance metadata. In addition, - `HttpPutResponseHopLimit` is set to `2`. For more information, see - [Configure the - AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration) - in the *Amazon EC2 User Guide*. - """ - source_instance_id: str | None = ... - """ - The ID of the instance that the AMI was created from if the AMI was - created using - [CreateImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html). - This field only appears if the AMI was created using CreateImage. - """ - deregistration_protection: str | None = ... - """Indicates whether deregistration protection is enabled for the AMI.""" - last_launched_time: str | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the AMI was last used to - launch an EC2 instance. When the AMI is used to launch an instance, - there is a 24-hour delay before that usage is reported. - - Note: - `lastLaunchedTime` data is available starting April 2017. - """ - image_allowed: bool | None = ... - """ - If `true`, the AMI satisfies the criteria for Allowed AMIs and can be - discovered and used in the account. If `false` and Allowed AMIs is set - to `enabled`, the AMI can't be discovered or used in the account. If - `false` and Allowed AMIs is set to `audit-mode`, the AMI can be - discovered and used in the account. - - For more information, see [Control the discovery and use of AMIs in - Amazon EC2 with Allowed - AMIs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html) - in *Amazon EC2 User Guide*. - """ - source_image_id: str | None = ... - """The ID of the source AMI from which the AMI was created.""" - source_image_region: str | None = ... - """The Region of the source AMI.""" - free_tier_eligible: bool | None = ... - """ - Indicates whether the image is eligible for Amazon Web Services Free - Tier. - - - If `true`, the AMI is eligible for Free Tier and can be used to launch - instances under the Free Tier limits. - - - If `false`, the AMI is not eligible for Free Tier. - """ - public_ssm_parameter_name: str | None = ... - """ - The name of the public Systems Manager parameter that resolves to this - AMI, under the `aws/service/` namespace. - """ - image_watermarks: list[ImageWatermark] | None = ... - """The watermarks attached to the AMI.""" - scan_results: ScanResults | None = ... - """ - The Amazon Inspector scan results for the AMI. This information is - present only for AMIs that Amazon Inspector has scanned. - - When you share an AMI with other accounts, organizations, or - organizational units (OUs), or make it public, its scan results are - available to the accounts that can use the AMI. - """ - instance_type_specification: InstanceTypeSpecification | None = ... - """ - The instance type specification for the AMI, which defines which - instance types are compatible with this image. - """ - image_id: str | None = ... - """The ID of the AMI.""" - image_location: str | None = ... - """The location of the AMI.""" - state: str | None = ... - """ - The current state of the AMI. If the state is `available`, the image is - successfully registered and can be used to launch an instance. - """ - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the image.""" - creation_date: str | None = ... - """The date and time the image was created.""" - public: bool | None = ... - """ - Indicates whether the image has public launch permissions. The value is - `true` if this image has public launch permissions or `false` if it has - only implicit and explicit launch permissions. - """ - product_codes: list[ProductCode] | None = ... - """Any product codes associated with the AMI.""" - architecture: str | None = ... - """The architecture of the image.""" - image_type: str | None = ... - """The type of image.""" - kernel_id: str | None = ... - """ - The kernel associated with the image, if any. Only applicable for - machine images. - """ - ramdisk_id: str | None = ... - """ - The RAM disk associated with the image, if any. Only applicable for - machine images. - """ - platform: str | None = ... - """This value is set to `windows` for Windows AMIs; otherwise, it is blank.""" - -@dataclass(kw_only=True) -class ImageAncestryEntry(_SerdeShape): - """ - Information about a single AMI in the ancestry chain and its source - (parent) AMI. - """ - - creation_date: datetime | None = ... - """The date and time when this AMI was created.""" - image_id: str | None = ... - """The ID of this AMI.""" - image_owner_alias: str | None = ... - """ - The owner alias (`amazon` | `aws-backup-vault` | `aws-marketplace` ) - of this AMI, if one is assigned. Otherwise, the value is `null`. - """ - source_image_id: str | None = ... - """The ID of the parent AMI.""" - source_image_region: str | None = ... - """The Amazon Web Services Region of the parent AMI.""" - -class ImageAttributeName(UnknownEnumMixin, StrEnum): - DESCRIPTION = "description" - KERNEL = "kernel" - RAMDISK = "ramdisk" - LAUNCH_PERMISSION = "launchPermission" - PRODUCT_CODES = "productCodes" - BLOCK_DEVICE_MAPPING = "blockDeviceMapping" - SRIOV_NET_SUPPORT = "sriovNetSupport" - BOOT_MODE = "bootMode" - TPM_SUPPORT = "tpmSupport" - UEFI_DATA = "uefiData" - LAST_LAUNCHED_TIME = "lastLaunchedTime" - IMDS_SUPPORT = "imdsSupport" - DEREGISTRATION_PROTECTION = "deregistrationProtection" - -class ImageBlockPublicAccessDisabledState(UnknownEnumMixin, StrEnum): - UNBLOCKED = "unblocked" - -class ImageBlockPublicAccessEnabledState(UnknownEnumMixin, StrEnum): - BLOCK_NEW_SHARING = "block-new-sharing" - -@dataclass(kw_only=True) -class ImageCriterion(_SerdeShape): - """ - The criteria that are evaluated to determine which AMIs are discoverable - and usable in your account for the specified Amazon Web Services Region. - - For more information, see [How Allowed AMIs - works](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#how-allowed-amis-works) - in the *Amazon EC2 User Guide*. - """ - - image_providers: list[str] | None = ... - """ - The image providers whose images are allowed. - - Possible values: - - - `amazon`: Allow AMIs created by Amazon or verified providers. - - - `aws-marketplace`: Allow AMIs created by verified providers in the - Amazon Web Services Marketplace. - - - `aws-backup-vault`: Allow AMIs created by Amazon Web Services Backup. - - - 12-digit account ID: Allow AMIs created by this account. One or more - account IDs can be specified. - - - `none`: Allow AMIs created by your own account only. - - Maximum: 200 values - """ - marketplace_product_codes: list[str] | None = ... - """ - The Amazon Web Services Marketplace product codes for allowed images. - - Length: 1-25 characters - - Valid characters: Letters (`A–Z, a–z`) and numbers (`0–9`) - - Maximum: 50 values - """ - image_names: list[str] | None = ... - """ - The names of allowed images. Names can include wildcards (`?` and `*`). - - Length: 1--128 characters. With `?`, the minimum is 3 characters. - - Valid characters: - - - Letters: `A–Z, a–z` - - - Numbers: `0–9` - - - Special characters: `( ) [ ] . / - ' @ _ * ?` - - - Spaces - - Maximum: 50 values - """ - deprecation_time_condition: DeprecationTimeCondition | None = ... - """The maximum period since deprecation for allowed images.""" - creation_date_condition: CreationDateCondition | None = ... - """The maximum age for allowed images.""" - image_watermarks: list[ImageWatermarkFilterResponse] | None = ... - """ - The watermark criteria that an AMI must match to be allowed. An AMI is - allowed if it carries at least one watermark that satisfies an - ImageWatermarkFilter. A watermark satisfies a filter when all specified - fields in the ImageWatermarkFilter match the corresponding values on the - watermark of the AMI. - - Maximum: 50 values - """ - scan_result_condition: ScanResultCondition | None = ... - """ - The Amazon Inspector scan-result criteria that an AMI must meet to be - allowed. The criteria can limit the highest finding severity, the number - of days since Amazon Inspector last scanned the AMI, and the number of - days since Amazon Inspector reported a fix as available. - """ - -@dataclass(kw_only=True) -class ImageCriterionRequest(_SerdeShape): - """ - The criteria that are evaluated to determine which AMIs are discoverable - and usable in your account for the specified Amazon Web Services Region. - - The `ImageCriteria` can include up to: - - - 10 `ImageCriterion` - - Each `ImageCriterion` can include up to: - - - 200 values for `ImageProviders` - - - 50 values for `ImageNames` - - - 50 values for `MarketplaceProductCodes` - - - 50 values for `ImageWatermarks` - - For more information, see [How Allowed AMIs - works](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#how-allowed-amis-works) - in the *Amazon EC2 User Guide*. - """ - - image_providers: list[str] | None = ... - """ - The image providers whose images are allowed. - - Possible values: - - - `amazon`: Allow AMIs created by Amazon or verified providers. - - - `aws-marketplace`: Allow AMIs created by verified providers in the - Amazon Web Services Marketplace. - - - `aws-backup-vault`: Allow AMIs created by Amazon Web Services Backup. - - - 12-digit account ID: Allow AMIs created by the specified accounts. One - or more account IDs can be specified. - - - `none`: Allow AMIs created by your own account only. When `none` is - specified, no other values can be specified. - - Maximum: 200 values - """ - marketplace_product_codes: list[str] | None = ... - """ - The Amazon Web Services Marketplace product codes for allowed images. - - Length: 1-25 characters - - Valid characters: Letters (`A–Z, a–z`) and numbers (`0–9`) - - Maximum: 50 values - """ - image_names: list[str] | None = ... - """ - The names of allowed images. Names can include wildcards (`?` and `*`). - - Length: 1--128 characters. With `?`, the minimum is 3 characters. - - Valid characters: - - - Letters: `A–Z, a–z` - - - Numbers: `0–9` - - - Special characters: `( ) [ ] . / - ' @ _ * ?` - - - Spaces - - Maximum: 50 values - """ - deprecation_time_condition: DeprecationTimeConditionRequest | None = ... - """The maximum period since deprecation for allowed images.""" - creation_date_condition: CreationDateConditionRequest | None = ... - """The maximum age for allowed images.""" - image_watermarks: list[ImageWatermarkFilterRequest] | None = ... - """ - The watermark criteria that an AMI must match to be allowed. An AMI is - allowed if it carries at least one watermark that satisfies an - ImageWatermarkFilter. A watermark satisfies a filter when all specified - fields in the ImageWatermarkFilter match the corresponding values on the - watermark of the AMI. - - Maximum: 50 values - """ - scan_result_condition: ScanResultConditionRequest | None = ... - """ - The Amazon Inspector scan-result criteria that an AMI must meet to be - allowed. The criteria can limit the highest finding severity, the number - of days since Amazon Inspector last scanned the AMI, and the number of - days since Amazon Inspector reported a fix as available. - """ - -@dataclass(kw_only=True) -class ImageDiskContainer(_SerdeShape): - """Describes the disk container object for an import image task.""" - - description: str | None = ... - """The description of the disk image.""" - device_name: str | None = ... - """The block device mapping for the disk.""" - format: str | None = ... - """ - The format of the disk image being imported. - - Valid values: `OVA` | `VHD` | `VHDX` | `VMDK` | `RAW` - """ - snapshot_id: str | None = ... - """The ID of the EBS snapshot to be used for importing the snapshot.""" - url: str | None = ... - """ - The URL to the Amazon S3-based disk image being imported. The URL can - either be a https URL (https://..) or an Amazon S3 URL (s3://..) - """ - user_bucket: UserBucket | None = ... - """The S3 bucket for the disk image.""" - -@dataclass(kw_only=True) -class ImageFinding(_SerdeShape): - """Describes an Amazon Inspector vulnerability finding for an AMI.""" - - fix_available: bool | None = ... - """ - Specifies whether a fix is available for the finding. This value is - `true` when Amazon Inspector reports a full or partial fix for the - finding. - """ - score: float | None = ... - """The Amazon Inspector score for the finding.""" - first_observed_at: datetime | None = ... - """ - The date and time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the - finding. - """ - updated_at: datetime | None = ... - """ - The date and time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the - finding. - """ - title: str | None = ... - """The title of the finding.""" - paths: list[str] | None = ... - """ - The file paths in the AMI that are affected by the finding. Amazon EC2 - returns up to 10 file paths for each finding. - """ - severity_label: str | None = ... - """ - The severity of the finding. - - The valid values are the following Amazon Inspector severity levels, - which correspond to CVSS score ranges: - - - `informational` - CVSS score of 0. - - - `low` - CVSS score of 0.1 to 3.9. - - - `medium` - CVSS score of 4.0 to 6.9. - - - `high` - CVSS score of 7.0 to 8.9. - - - `critical` - CVSS score of 9.0 to 10.0. - - For more information, see [Software package vulnerability - severity](https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score) - in the *Amazon Inspector User Guide*. - """ - snapshot_id: str | None = ... - """ - The ID of the Amazon EBS snapshot of the AMI in which the finding was - detected. - """ - -@dataclass(kw_only=True) -class ImageMetadata(_SerdeShape): - """Information about the AMI.""" - - image_id: str | None = ... - """The ID of the AMI.""" - name: str | None = ... - """The name of the AMI.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the AMI.""" - state: str | None = ... - """ - The current state of the AMI. If the state is `available`, the AMI is - successfully registered and can be used to launch an instance. - """ - image_owner_alias: str | None = ... - """ - The alias of the AMI owner. - - Valid values: `amazon` | `aws-backup-vault` | `aws-marketplace` - """ - creation_date: str | None = ... - """The date and time the AMI was created.""" - deprecation_time: str | None = ... - """ - The deprecation date and time of the AMI, in UTC, in the following - format: *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z. - """ - image_allowed: bool | None = ... - """ - If `true`, the AMI satisfies the criteria for Allowed AMIs and can be - discovered and used in the account. If `false`, the AMI can't be - discovered or used in the account. - - For more information, see [Control the discovery and use of AMIs in - Amazon EC2 with Allowed - AMIs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html) - in *Amazon EC2 User Guide*. - """ - is_public: bool | None = ... - """ - Indicates whether the AMI has public launch permissions. A value of - `true` means this AMI has public launch permissions, while `false` means - it has only implicit (AMI owner) or explicit (shared with your account) - launch permissions. - """ - image_watermarks: list[ImageWatermark] | None = ... - """The watermarks attached to the AMI.""" - -@dataclass(kw_only=True) -class ImageRecycleBinInfo(_SerdeShape): - """Information about an AMI that is currently in the Recycle Bin.""" - - image_id: str | None = ... - """The ID of the AMI.""" - name: str | None = ... - """The name of the AMI.""" - description: str | None = ... - """The description of the AMI.""" - recycle_bin_enter_time: datetime | None = ... - """The date and time when the AMI entered the Recycle Bin.""" - recycle_bin_exit_time: datetime | None = ... - """ - The date and time when the AMI is to be permanently deleted from the - Recycle Bin. - """ - -@dataclass(kw_only=True) -class ImageReference(_SerdeShape): - """A resource that is referencing an image.""" - - image_id: str | None = ... - """The ID of the referenced image.""" - resource_type: str | None = ... - """The type of resource referencing the image.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource referencing the image.""" - -class ImageReferenceOptionName(UnknownEnumMixin, StrEnum): - STATE_NAME = "state-name" - VERSION_DEPTH = "version-depth" - -class ImageReferenceResourceType(UnknownEnumMixin, StrEnum): - EC2_INSTANCE = "ec2:Instance" - EC2_LAUNCH_TEMPLATE = "ec2:LaunchTemplate" - SSM_PARAMETER = "ssm:Parameter" - IMAGE_BUILDER_IMAGE_RECIPE = "imagebuilder:ImageRecipe" - IMAGE_BUILDER_CONTAINER_RECIPE = "imagebuilder:ContainerRecipe" - -class ImageState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - INVALID = "invalid" - DEREGISTERED = "deregistered" - TRANSIENT = "transient" - FAILED = "failed" - ERROR = "error" - DISABLED = "disabled" - -class ImageTypeValues(UnknownEnumMixin, StrEnum): - MACHINE = "machine" - KERNEL = "kernel" - RAMDISK = "ramdisk" - -@dataclass(kw_only=True) -class ImageUsageReport(_SerdeShape): - """The configuration and status of an image usage report.""" - - image_id: str | None = ... - """The ID of the image that was specified when the report was created.""" - report_id: str | None = ... - """The ID of the report.""" - resource_types: list[ImageUsageResourceType] | None = ... - """The resource types that were specified when the report was created.""" - account_ids: list[str] | None = ... - """ - The IDs of the Amazon Web Services accounts that were specified when the - report was created. - """ - state: str | None = ... - """ - The current state of the report. Possible values: - - - `available` - The report is available to view. - - - `pending` - The report is being created and not available to view. - - - `error` - The report could not be created. - """ - state_reason: str | None = ... - """Provides additional details when the report is in an `error` state.""" - creation_time: datetime | None = ... - """The date and time when the report was created.""" - expiration_time: datetime | None = ... - """ - The date and time when Amazon EC2 will delete the report (30 days after - the report was created). - """ - tags: list[Tag] | None = ... - """Any tags assigned to the report.""" - -@dataclass(kw_only=True) -class ImageUsageReportEntry(_SerdeShape): - """ - A single entry in an image usage report, detailing how an image is being - used by a specific Amazon Web Services account and resource type. - """ - - resource_type: str | None = ... - """The type of resource (`ec2:Instance` or `ec2:LaunchTemplate`).""" - report_id: str | None = ... - """The ID of the report.""" - usage_count: int | None = ... - """ - The number of times resources of this type reference this image in the - account. - """ - account_id: str | None = ... - """The ID of the account that uses the image.""" - image_id: str | None = ... - """The ID of the image.""" - report_creation_time: datetime | None = ... - """The date and time the report creation was initiated.""" - -@dataclass(kw_only=True) -class ImageUsageResourceType(_SerdeShape): - """ - A resource type to include in the report. Associated options can also be - specified if the resource type is a launch template. - """ - - resource_type: str | None = ... - """ - The resource type. - - Valid values: `ec2:Instance` | `ec2:LaunchTemplate` - """ - resource_type_options: list[ImageUsageResourceTypeOption] | None = ... - """ - The options that affect the scope of the report. Valid only when - `ResourceType` is `ec2:LaunchTemplate`. - """ - -@dataclass(kw_only=True) -class ImageUsageResourceTypeOption(_SerdeShape): - """The options that affect the scope of the report.""" - - option_name: str | None = ... - """The name of the option.""" - option_values: list[str] | None = ... - """The number of launch template versions to check.""" - -@dataclass(kw_only=True) -class ImageUsageResourceTypeOptionRequest(_SerdeShape): - """The options that affect the scope of the report.""" - - option_name: str | None = ... - """ - The name of the option. - - Valid value: `version-depth` - The number of launch template versions to - check. - """ - option_values: list[str] | None = ... - """ - A value for the specified option. - - Valid values: Integers between `1` and `10000` - - Default: `20` - """ - -@dataclass(kw_only=True) -class ImageUsageResourceTypeRequest(_SerdeShape): - """ - A resource type to include in the report. Associated options can also be - specified if the resource type is a launch template. - """ - - resource_type: str | None = ... - """ - The resource type. - - Valid values: `ec2:Instance` | `ec2:LaunchTemplate` - """ - resource_type_options: list[ImageUsageResourceTypeOptionRequest] | None = ... - """ - The options that affect the scope of the report. Valid only when - `ResourceType` is `ec2:LaunchTemplate`. - """ - -@dataclass(kw_only=True) -class ImageWatermark(_SerdeShape): - """Describes a watermark attached to an AMI.""" - - watermark_key: str | None = ... - """ - The watermark identifier, in `accountId:watermarkName` format (for - example, `123456789012:approvedAmi`). The `accountId` portion is the - Amazon Web Services account ID of the watermark creator. The - `watermarkName` portion is customer-provided. - """ - source_image_region: str | None = ... - """The Region where the watermark was originally attached.""" - source_image_id: str | None = ... - """The ID of the AMI to which the watermark was originally attached.""" - source_image_creation_time: datetime | None = ... - """ - The creation date of the source AMI, in the following format: - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*.*ssssss*+*HH*:*MM*. - """ - watermark_creation_time: datetime | None = ... - """ - The date and time the watermark was attached to the AMI, in the - following format: *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*.*ssssss*+*HH*:*MM*. - """ - -@dataclass(kw_only=True) -class ImageWatermarkFilterRequest(_SerdeShape): - """ - The watermark filter criteria for an allowed image. Each entry can - specify one or more fields. All specified fields must match the same - watermark on the image. - """ - - watermark_key: str | None = ... - """The `accountId:name` of the watermark. Supports wildcards (`*`, `?`).""" - source_image_region: str | None = ... - """ - The Region where the watermark was originally created. Supports - wildcards (`*`, `?`). - """ - maximum_days_since_source_image_created: int | None = ... - """ - The maximum number of days that have elapsed since the source image was - created. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - maximum_days_since_watermark_created: int | None = ... - """ - The maximum number of days that have elapsed since the watermark was - attached to the image. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - -@dataclass(kw_only=True) -class ImageWatermarkFilterResponse(_SerdeShape): - """ - The watermark filter criteria for an allowed image. Each entry can - specify one or more fields. All specified fields must match the same - watermark on the image. - """ - - watermark_key: str | None = ... - """The `accountId:name` of the watermark. Supports wildcards (`*`, `?`).""" - source_image_region: str | None = ... - """ - The Region where the watermark was originally created. Supports - wildcards (`*`, `?`). - """ - maximum_days_since_source_image_created: int | None = ... - """ - The maximum number of days that have elapsed since the source image was - created. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - maximum_days_since_watermark_created: int | None = ... - """ - The maximum number of days that have elapsed since the watermark was - attached to the image. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - -class ImdsSupportValues(UnknownEnumMixin, StrEnum): - V2_0 = "v2.0" - -@dataclass(kw_only=True) -class ImportClientVpnClientCertificateRevocationListInput(_SerdeShape): - """ - Dataclass for ImportClientVpnClientCertificateRevocationListInput - structure. - """ - - client_vpn_endpoint_id: str | None = ... - """ - The ID of the Client VPN endpoint to which the client certificate - revocation list applies. - """ - certificate_revocation_list: str | None = ... - """ - The client certificate revocation list file. For more information, see - [Generate a Client Certificate Revocation - List](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-certificates.html#cvpn-working-certificates-generate) - in the *Client VPN Administrator Guide*. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ImportClientVpnClientCertificateRevocationListOutput(_SerdeShape): - """ - Dataclass for ImportClientVpnClientCertificateRevocationListOutput - structure. - """ - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportImageInput(_SerdeShape): - """Dataclass for ImportImageInput structure.""" - - architecture: str | None = ... - """ - The architecture of the virtual machine. - - Valid values: `i386` | `x86_64` - """ - client_data: ClientData | None = ... - """The client-specific data.""" - client_token: str | None = ... - """The token to enable idempotency for VM import requests.""" - description: str | None = ... - """A description string for the import image task.""" - disk_containers: list[ImageDiskContainer] | None = ... - """Information about the disk containers.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - encrypted: bool | None = ... - """ - Specifies whether the destination AMI of the imported image should be - encrypted. The default KMS key for EBS is used unless you specify a - non-default KMS key using `KmsKeyId`. For more information, see [Amazon - EBS - Encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) - in the *Amazon Elastic Compute Cloud User Guide*. - """ - hypervisor: str | None = ... - """ - The target hypervisor platform. - - Valid values: `xen` - """ - kms_key_id: str | None = ... - """ - An identifier for the symmetric KMS key to use when creating the - encrypted AMI. This parameter is only required if you want to use a - non-default KMS key; if this parameter is not specified, the default KMS - key for EBS is used. If a `KmsKeyId` is specified, the `Encrypted` flag - must also be set. - - The KMS key identifier may be provided in any of the following formats: - - - Key ID - - - Key alias - - - ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace, - followed by the Region of the key, the Amazon Web Services account ID - of the key owner, the `key` namespace, and then the key ID. For - example, - arn:aws:kms:*us-east-1*:*012345678910*:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*. - - - ARN using key alias. The alias ARN contains the `arn:aws:kms` - namespace, followed by the Region of the key, the Amazon Web Services - account ID of the key owner, the `alias` namespace, and then the key - alias. For example, - arn:aws:kms:*us-east-1*:*012345678910*:alias/*ExampleAlias*. - - Amazon Web Services parses `KmsKeyId` asynchronously, meaning that the - action you call may appear to complete even though you provided an - invalid identifier. This action will eventually report failure. - - The specified KMS key must exist in the Region that the AMI is being - copied to. - - Amazon EBS does not support asymmetric KMS keys. - """ - license_type: str | None = ... - """ - The license type to be used for the Amazon Machine Image (AMI) after - importing. - - Specify `AWS` to replace the source-system license with an Amazon Web - Services license or `BYOL` to retain the source-system license. Leaving - this parameter undefined is the same as choosing `AWS` when importing a - Windows Server operating system, and the same as choosing `BYOL` when - importing a Windows client operating system (such as Windows 10) or a - Linux operating system. - - To use `BYOL`, you must have existing licenses with rights to use these - licenses in a third party cloud, such as Amazon Web Services. For more - information, see - [Prerequisites](https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image) - in the VM Import/Export User Guide. - """ - platform: str | None = ... - """ - The operating system of the virtual machine. If you import a VM that is - compatible with Unified Extensible Firmware Interface (UEFI) using an - EBS snapshot, you must specify a value for the platform. - - Valid values: `Windows` | `Linux` - """ - role_name: str | None = ... - """ - The name of the role to use when not using the default role, - 'vmimport'. - """ - license_specifications: list[ImportImageLicenseConfigurationRequest] | None = ... - """The ARNs of the license configurations.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the import image task during creation.""" - usage_operation: str | None = ... - """ - The usage operation value. For more information, see [Licensing - options](https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#prerequisites) - in the *VM Import/Export User Guide*. - """ - boot_mode: str | None = ... - """ - The boot mode of the virtual machine. - - Note: - The `uefi-preferred` boot mode isn't supported for importing images. - For more information, see [Boot - modes](https://docs.aws.amazon.com/vm-import/latest/userguide/prerequisites.html#vmimport-boot-modes) - in the *VM Import/Export User Guide*. - """ - -@dataclass(kw_only=True) -class ImportImageLicenseConfigurationRequest(_SerdeShape): - """The request information of license configurations.""" - - license_configuration_arn: str | None = ... - """The ARN of a license configuration.""" - -@dataclass(kw_only=True) -class ImportImageLicenseConfigurationResponse(_SerdeShape): - """The response information for license configurations.""" - - license_configuration_arn: str | None = ... - """The ARN of a license configuration.""" - -@dataclass(kw_only=True) -class ImportImageOutput(_SerdeShape): - """Dataclass for ImportImageOutput structure.""" - - architecture: str | None = ... - """The architecture of the virtual machine.""" - description: str | None = ... - """A description of the import task.""" - encrypted: bool | None = ... - """Indicates whether the AMI is encrypted.""" - hypervisor: str | None = ... - """The target hypervisor of the import task.""" - image_id: str | None = ... - """The ID of the Amazon Machine Image (AMI) created by the import task.""" - import_task_id: str | None = ... - """The task ID of the import image task.""" - kms_key_id: str | None = ... - """ - The identifier for the symmetric KMS key that was used to create the - encrypted AMI. - """ - license_type: str | None = ... - """The license type of the virtual machine.""" - platform: str | None = ... - """The operating system of the virtual machine.""" - progress: str | None = ... - """The progress of the task.""" - snapshot_details: list[SnapshotDetail] | None = ... - """Information about the snapshots.""" - status: str | None = ... - """A brief status of the task.""" - status_message: str | None = ... - """A detailed status message of the import task.""" - license_specifications: list[ImportImageLicenseConfigurationResponse] | None = ... - """The ARNs of the license configurations.""" - tags: list[Tag] | None = ... - """Any tags assigned to the import image task.""" - usage_operation: str | None = ... - """The usage operation value.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportImageTask(_SerdeShape): - """Describes an import image task.""" - - architecture: str | None = ... - """ - The architecture of the virtual machine. - - Valid values: `i386` | `x86_64` | `arm64` - """ - description: str | None = ... - """A description of the import task.""" - encrypted: bool | None = ... - """Indicates whether the image is encrypted.""" - hypervisor: str | None = ... - """ - The target hypervisor for the import task. - - Valid values: `xen` - """ - image_id: str | None = ... - """ - The ID of the Amazon Machine Image (AMI) of the imported virtual - machine. - """ - import_task_id: str | None = ... - """The ID of the import image task.""" - kms_key_id: str | None = ... - """ - The identifier for the KMS key that was used to create the encrypted - image. - """ - license_type: str | None = ... - """The license type of the virtual machine.""" - platform: str | None = ... - """The description string for the import image task.""" - progress: str | None = ... - """The percentage of progress of the import image task.""" - snapshot_details: list[SnapshotDetail] | None = ... - """Information about the snapshots.""" - status: str | None = ... - """A brief status for the import image task.""" - status_message: str | None = ... - """A descriptive status message for the import image task.""" - tags: list[Tag] | None = ... - """The tags for the import image task.""" - license_specifications: list[ImportImageLicenseConfigurationResponse] | None = ... - """ - The ARNs of the license configurations that are associated with the - import image task. - """ - usage_operation: str | None = ... - """The usage operation value.""" - boot_mode: str | None = ... - """The boot mode of the virtual machine.""" - -@dataclass(kw_only=True) -class ImportInstanceInput(_SerdeShape): - """Dataclass for ImportInstanceInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - description: str | None = ... - """A description for the instance being imported.""" - launch_specification: ImportInstanceLaunchSpecification | None = ... - """The launch specification.""" - disk_images: list[DiskImage] | None = ... - """The disk image.""" - platform: str | None = ... - """The instance operating system.""" - -@dataclass(kw_only=True) -class ImportInstanceLaunchSpecification(_SerdeShape): - """Describes the launch specification for VM import.""" - - architecture: str | None = ... - """The architecture of the instance.""" - group_names: list[str] | None = ... - """The security group names.""" - group_ids: list[str] | None = ... - """The security group IDs.""" - additional_info: str | None = ... - """Reserved.""" - user_data: UserData | None = ... - """The Base64-encoded user data to make available to the instance.""" - instance_type: str | None = ... - """ - The instance type. For more information about the instance types that - you can import, see [Instance - Types](https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-instance-types) - in the VM Import/Export User Guide. - """ - placement: Placement | None = ... - """The placement information for the instance.""" - monitoring: bool | None = ... - """Indicates whether monitoring is enabled.""" - subnet_id: str | None = ... - """[EC2-VPC] The ID of the subnet in which to launch the instance.""" - instance_initiated_shutdown_behavior: str | None = ... - """ - Indicates whether an instance stops or terminates when you initiate - shutdown from the instance (using the operating system command for - system shutdown). - """ - private_ip_address: str | None = ... - """ - [EC2-VPC] An available IP address from the IP address range of the - subnet. - """ - -@dataclass(kw_only=True) -class ImportInstanceOutput(_SerdeShape): - """Dataclass for ImportInstanceOutput structure.""" - - conversion_task: ConversionTask | None = ... - """Information about the conversion task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportInstanceTaskDetails(_SerdeShape): - """Describes an import instance task.""" - - description: str | None = ... - """A description of the task.""" - instance_id: str | None = ... - """The ID of the instance.""" - platform: str | None = ... - """The instance operating system.""" - volumes: list[ImportInstanceVolumeDetailItem] | None = ... - """The volumes.""" - -@dataclass(kw_only=True) -class ImportInstanceVolumeDetailItem(_SerdeShape): - """Describes an import volume task.""" - - availability_zone: str | None = ... - """The Availability Zone where the resulting instance will reside.""" - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone where the resulting instance will - reside. - """ - bytes_converted: int | None = ... - """The number of bytes converted so far.""" - description: str | None = ... - """A description of the task.""" - image: DiskImageDescription | None = ... - """The image.""" - status: str | None = ... - """The status of the import of this particular disk image.""" - status_message: str | None = ... - """The status information or errors related to the disk image.""" - volume: DiskImageVolumeDescription | None = ... - """The volume.""" - -@dataclass(kw_only=True) -class ImportKeyPairInput(_SerdeShape): - """Dataclass for ImportKeyPairInput structure.""" - - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the imported key pair.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - key_name: str | None = ... - """A unique name for the key pair.""" - public_key_material: bytes | None = ... - """The public key.""" - -@dataclass(kw_only=True) -class ImportKeyPairOutput(_SerdeShape): - """Dataclass for ImportKeyPairOutput structure.""" - - key_fingerprint: str | None = ... - """ - - For RSA key pairs, the key fingerprint is the MD5 public key - fingerprint as specified in section 4 of RFC 4716. - - - For ED25519 key pairs, the key fingerprint is the base64-encoded - SHA-256 digest, which is the default for OpenSSH, starting with - [OpenSSH 6.8](http://www.openssh.com/txt/release-6.8). - """ - key_name: str | None = ... - """The key pair name that you provided.""" - key_pair_id: str | None = ... - """The ID of the resulting key pair.""" - tags: list[Tag] | None = ... - """The tags applied to the imported key pair.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportSnapshotInput(_SerdeShape): - """Dataclass for ImportSnapshotInput structure.""" - - client_data: ClientData | None = ... - """The client-specific data.""" - client_token: str | None = ... - """Token to enable idempotency for VM import requests.""" - description: str | None = ... - """The description string for the import snapshot task.""" - disk_container: SnapshotDiskContainer | None = ... - """Information about the disk container.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - encrypted: bool | None = ... - """ - Specifies whether the destination snapshot of the imported image should - be encrypted. The default KMS key for EBS is used unless you specify a - non-default KMS key using `KmsKeyId`. For more information, see [Amazon - EBS - Encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) - in the *Amazon Elastic Compute Cloud User Guide*. - """ - kms_key_id: str | None = ... - """ - An identifier for the symmetric KMS key to use when creating the - encrypted snapshot. This parameter is only required if you want to use a - non-default KMS key; if this parameter is not specified, the default KMS - key for EBS is used. If a `KmsKeyId` is specified, the `Encrypted` flag - must also be set. - - The KMS key identifier may be provided in any of the following formats: - - - Key ID - - - Key alias - - - ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace, - followed by the Region of the key, the Amazon Web Services account ID - of the key owner, the `key` namespace, and then the key ID. For - example, - arn:aws:kms:*us-east-1*:*012345678910*:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*. - - - ARN using key alias. The alias ARN contains the `arn:aws:kms` - namespace, followed by the Region of the key, the Amazon Web Services - account ID of the key owner, the `alias` namespace, and then the key - alias. For example, - arn:aws:kms:*us-east-1*:*012345678910*:alias/*ExampleAlias*. - - Amazon Web Services parses `KmsKeyId` asynchronously, meaning that the - action you call may appear to complete even though you provided an - invalid identifier. This action will eventually report failure. - - The specified KMS key must exist in the Region that the snapshot is - being copied to. - - Amazon EBS does not support asymmetric KMS keys. - """ - role_name: str | None = ... - """ - The name of the role to use when not using the default role, - 'vmimport'. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the import snapshot task during creation.""" - -@dataclass(kw_only=True) -class ImportSnapshotOutput(_SerdeShape): - """Dataclass for ImportSnapshotOutput structure.""" - - description: str | None = ... - """A description of the import snapshot task.""" - import_task_id: str | None = ... - """The ID of the import snapshot task.""" - snapshot_task_detail: SnapshotTaskDetail | None = ... - """Information about the import snapshot task.""" - tags: list[Tag] | None = ... - """Any tags assigned to the import snapshot task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportSnapshotTask(_SerdeShape): - """Describes an import snapshot task.""" - - description: str | None = ... - """A description of the import snapshot task.""" - import_task_id: str | None = ... - """The ID of the import snapshot task.""" - snapshot_task_detail: SnapshotTaskDetail | None = ... - """Describes an import snapshot task.""" - tags: list[Tag] | None = ... - """The tags for the import snapshot task.""" - -@dataclass(kw_only=True) -class ImportVolumeInput(_SerdeShape): - """Dataclass for ImportVolumeInput structure.""" - - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone for the resulting EBS volume. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but - not both. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - availability_zone: str | None = ... - """ - The Availability Zone for the resulting EBS volume. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified, but - not both. - """ - image: DiskImageDetail | None = ... - """The disk image.""" - description: str | None = ... - """A description of the volume.""" - volume: VolumeDetail | None = ... - """The volume size.""" - -@dataclass(kw_only=True) -class ImportVolumeOutput(_SerdeShape): - """Dataclass for ImportVolumeOutput structure.""" - - conversion_task: ConversionTask | None = ... - """Information about the conversion task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImportVolumeTaskDetails(_SerdeShape): - """Describes an import volume task.""" - - availability_zone: str | None = ... - """The Availability Zone where the resulting volume will reside.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone where the resulting volume will reside.""" - bytes_converted: int | None = ... - """The number of bytes converted so far.""" - description: str | None = ... - """The description you provided when starting the import volume task.""" - image: DiskImageDescription | None = ... - """The image.""" - volume: DiskImageVolumeDescription | None = ... - """The volume.""" - -@dataclass(kw_only=True) -class InferenceAcceleratorInfo(_SerdeShape): - """ - Note: - Amazon Elastic Inference is no longer available. - - Describes the Inference accelerators for the instance type. - """ - - accelerators: list[InferenceDeviceInfo] | None = ... - """Describes the Inference accelerators for the instance type.""" - total_inference_memory_in_mi_b: int | None = ... - """ - The total size of the memory for the inference accelerators for the - instance type, in MiB. - """ - -@dataclass(kw_only=True) -class InferenceDeviceInfo(_SerdeShape): - """ - Note: - Amazon Elastic Inference is no longer available. - - Describes the Inference accelerators for the instance type. - """ - - count: int | None = ... - """The number of Inference accelerators for the instance type.""" - name: str | None = ... - """The name of the Inference accelerator.""" - manufacturer: str | None = ... - """The manufacturer of the Inference accelerator.""" - memory_info: InferenceDeviceMemoryInfo | None = ... - """Describes the memory available to the inference accelerator.""" - -@dataclass(kw_only=True) -class InferenceDeviceMemoryInfo(_SerdeShape): - """ - Note: - Amazon Elastic Inference is no longer available. - - Describes the memory available to the inference accelerator. - """ - - size_in_mi_b: int | None = ... - """The size of the memory available to the inference accelerator, in MiB.""" - -class IngestionStatus(UnknownEnumMixin, StrEnum): - INITIAL_INGESTION_IN_PROGRESS = "initial-ingestion-in-progress" - INGESTION_COMPLETE = "ingestion-complete" - INGESTION_FAILED = "ingestion-failed" - -@dataclass(kw_only=True) -class InitializationStatusDetails(_SerdeShape): - """ - Information about the volume initialization. For more information, see - [Initialize Amazon EBS - volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html). - """ - - initialization_type: str | None = ... - """ - The method used for volume initialization. Possible values include: - - - `default` - Volume initialized using the default volume initialization - rate or fast snapshot restore. - - - `provisioned-rate` - Volume initialized using an Amazon EBS - Provisioned Rate for Volume Initialization. - - - `volume-copy` - Volume copy initialized at the rate for volume copies. - """ - progress: int | None = ... - """ - The current volume initialization progress as a percentage (0-100). - Returns `100` when volume initialization has completed. - """ - estimated_time_to_complete_in_seconds: int | None = ... - """ - The estimated remaining time, in seconds, for volume initialization to - complete. Returns `0` when volume initialization has completed. - - Only available for volumes created with Amazon EBS Provisioned Rate for - Volume Initialization. - """ - -class InitializationType(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - PROVISIONED_RATE = "provisioned-rate" - VOLUME_COPY = "volume-copy" - -@dataclass(kw_only=True) -class Instance(_SerdeShape): - """Describes an instance.""" - - architecture: str | None = ... - """The architecture of the image.""" - block_device_mappings: list[InstanceBlockDeviceMapping] | None = ... - """Any block device mapping entries for the instance.""" - client_token: str | None = ... - """ - The idempotency token you provided when you launched the instance, if - applicable. - """ - ebs_optimized: bool | None = ... - """ - Indicates whether the instance is optimized for Amazon EBS I/O. This - optimization provides dedicated throughput to Amazon EBS and an - optimized configuration stack to provide optimal I/O performance. This - optimization isn't available with all instance types. Additional usage - charges apply when using an EBS Optimized instance. - """ - ena_support: bool | None = ... - """Specifies whether enhanced networking with ENA is enabled.""" - hypervisor: str | None = ... - """ - The hypervisor type of the instance. The value `xen` is used for both - Xen and Nitro hypervisors. - """ - iam_instance_profile: IamInstanceProfile | None = ... - """The IAM instance profile associated with the instance, if applicable.""" - instance_lifecycle: str | None = ... - """Indicates whether this is a Spot Instance or a Scheduled Instance.""" - elastic_gpu_associations: list[ElasticGpuAssociation] | None = ... - """ - Deprecated. - - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - """ - elastic_inference_accelerator_associations: ( - list[ElasticInferenceAcceleratorAssociation] | None - ) = ... - """ - Deprecated - - Note: - Amazon Elastic Inference is no longer available. - """ - network_interfaces: list[InstanceNetworkInterface] | None = ... - """The network interfaces for the instance.""" - outpost_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - root_device_name: str | None = ... - """The device name of the root device volume (for example, `/dev/sda1`).""" - root_device_type: str | None = ... - """ - The root device type used by the AMI. The AMI can use an EBS volume or - an instance store volume. - """ - security_groups: list[GroupIdentifier] | None = ... - """The security groups for the instance.""" - source_dest_check: bool | None = ... - """Indicates whether source/destination checking is enabled.""" - spot_instance_request_id: str | None = ... - """If the request is a Spot Instance request, the ID of the request.""" - sriov_net_support: str | None = ... - """ - Specifies whether enhanced networking with the Intel 82599 Virtual - Function interface is enabled. - """ - state_reason: StateReason | None = ... - """The reason for the most recent state transition.""" - tags: list[Tag] | None = ... - """Any tags assigned to the instance.""" - virtualization_type: str | None = ... - """The virtualization type of the instance.""" - cpu_options: CpuOptions | None = ... - """The CPU options for the instance.""" - capacity_block_id: str | None = ... - """ - The ID of the Capacity Block. - - Note: - For P5 instances, a Capacity Block ID refers to a group of instances. - For Trn2u instances, a capacity block ID refers to an EC2 UltraServer. - """ - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - capacity_reservation_specification: ( - CapacityReservationSpecificationResponse | None - ) = ... - """Information about the Capacity Reservation targeting option.""" - hibernation_options: HibernationOptions | None = ... - """Indicates whether the instance is enabled for hibernation.""" - licenses: list[LicenseConfiguration] | None = ... - """The license configurations for the instance.""" - metadata_options: InstanceMetadataOptionsResponse | None = ... - """The metadata options for the instance.""" - enclave_options: EnclaveOptions | None = ... - """ - Indicates whether the instance is enabled for Amazon Web Services Nitro - Enclaves. - """ - boot_mode: str | None = ... - """ - The boot mode that was specified by the AMI. If the value is - `uefi-preferred`, the AMI supports both UEFI and Legacy BIOS. The - `currentInstanceBootMode` parameter is the boot mode that is used to - boot the instance at launch or start. - - Note: - The operating system contained in the AMI must be configured to support - the specified boot mode. - - For more information, see [Boot - modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) - in the *Amazon EC2 User Guide*. - """ - platform_details: str | None = ... - """ - The platform details value for the instance. For more information, see - [AMI billing information - fields](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html) - in the *Amazon EC2 User Guide*. - """ - usage_operation: str | None = ... - """ - The usage operation value for the instance. For more information, see - [AMI billing information - fields](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html) - in the *Amazon EC2 User Guide*. - """ - usage_operation_update_time: datetime | None = ... - """The time that the usage operation was last updated.""" - private_dns_name_options: PrivateDnsNameOptionsResponse | None = ... - """The options for the instance hostname.""" - ipv6_address: str | None = ... - """The IPv6 address assigned to the instance.""" - tpm_support: str | None = ... - """ - If the instance is configured for NitroTPM support, the value is `v2.0`. - For more information, see - [NitroTPM](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) - in the *Amazon EC2 User Guide*. - """ - maintenance_options: InstanceMaintenanceOptions | None = ... - """ - Provides information on the recovery and maintenance options of your - instance. - """ - current_instance_boot_mode: str | None = ... - """ - The boot mode that is used to boot the instance at launch or start. For - more information, see [Boot - modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) - in the *Amazon EC2 User Guide*. - """ - network_performance_options: InstanceNetworkPerformanceOptions | None = ... - """Contains settings for the network performance options for your instance.""" - operator: OperatorResponse | None = ... - """The service provider that manages the instance.""" - secondary_interfaces: list[InstanceSecondaryInterface] | None = ... - """The secondary interfaces for the instance.""" - instance_id: str | None = ... - """The ID of the instance.""" - image_id: str | None = ... - """The ID of the AMI used to launch the instance.""" - state: InstanceState | None = ... - """The current state of the instance.""" - private_dns_name: str | None = ... - """ - [IPv4 only] The private DNS hostname name assigned to the instance. - This DNS hostname can only be used inside the Amazon EC2 network. This - name is not available until the instance enters the `running` state. - - The Amazon-provided DNS server resolves Amazon-provided private DNS - hostnames if you've enabled DNS resolution and DNS hostnames in your - VPC. If you are not using the Amazon-provided DNS server in your VPC, - your custom domain name servers must resolve the hostname as - appropriate. - """ - public_dns_name: str | None = ... - """ - The public DNS name assigned to the instance. This name is not available - until the instance enters the `running` state. This name is only - available if you've enabled DNS hostnames for your VPC. The format of - this name depends on the [public hostname - type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html#public-hostnames). - """ - state_transition_reason: str | None = ... - """ - The reason for the most recent state transition. This might be an empty - string. - """ - key_name: str | None = ... - """ - The name of the key pair, if this instance was launched with an - associated key pair. - """ - ami_launch_index: int | None = ... - """ - The AMI launch index, which can be used to find this instance in the - launch group. - """ - product_codes: list[ProductCode] | None = ... - """The product codes attached to this instance, if applicable.""" - instance_type: str | None = ... - """The instance type.""" - launch_time: datetime | None = ... - """ - The time that the instance was last launched. To determine the time that - instance was first launched, see the attachment time for the primary - network interface. - """ - placement: Placement | None = ... - """The location where the instance launched, if applicable.""" - kernel_id: str | None = ... - """The kernel associated with this instance, if applicable.""" - ramdisk_id: str | None = ... - """The RAM disk associated with this instance, if applicable.""" - platform: str | None = ... - """ - The platform. This value is `windows` for Windows instances; otherwise, - it is empty. - """ - monitoring: Monitoring | None = ... - """The monitoring for the instance.""" - subnet_id: str | None = ... - """The ID of the subnet in which the instance is running.""" - vpc_id: str | None = ... - """The ID of the VPC in which the instance is running.""" - private_ip_address: str | None = ... - """The private IPv4 address assigned to the instance.""" - public_ip_address: str | None = ... - """ - The public IPv4 address, or the Carrier IP address assigned to the - instance, if applicable. - - A Carrier IP address only applies to an instance launched in a subnet - associated with a Wavelength Zone. - """ - -@dataclass(kw_only=True) -class InstanceApplicationStatus(_SerdeShape): - """Describes the application status for an instance.""" - - instance_id: str | None = ... - """The ID of the instance.""" - availability_zone: str | None = ... - """The Availability Zone of the instance.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone of the instance.""" - application_status: ApplicationStatus | None = ... - """The application status for the instance.""" - tags: list[Tag] | None = ... - """The tags assigned to the instance.""" - -@dataclass(kw_only=True) -class InstanceAttachmentEnaSrdSpecification(_SerdeShape): - """ - ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) - technology to increase the maximum bandwidth used per stream and - minimize tail latency of network traffic between EC2 instances. With ENA - Express, you can communicate between two EC2 instances in the same - subnet within the same account, or in different accounts. Both sending - and receiving instances must have ENA Express enabled. - - To improve the reliability of network packet delivery, ENA Express - reorders network packets on the receiving end by default. However, some - UDP-based applications are designed to handle network packets that are - out of order to reduce the overhead for packet delivery at the network - layer. When ENA Express is enabled, you can specify whether UDP network - traffic uses it. - """ - - ena_srd_enabled: bool | None = ... - """Indicates whether ENA Express is enabled for the network interface.""" - ena_srd_udp_specification: InstanceAttachmentEnaSrdUdpSpecification | None = ... - """Configures ENA Express for UDP network traffic.""" - -@dataclass(kw_only=True) -class InstanceAttachmentEnaSrdUdpSpecification(_SerdeShape): - """ - ENA Express is compatible with both TCP and UDP transport protocols. - When it's enabled, TCP traffic automatically uses it. However, some - UDP-based applications are designed to handle network packets that are - out of order, without a need for retransmission, such as live video - broadcasting or other near-real-time applications. For UDP traffic, you - can specify whether to use ENA Express, based on your application - environment needs. - """ - - ena_srd_udp_enabled: bool | None = ... - """ - Indicates whether UDP traffic to and from the instance uses ENA Express. - To specify this setting, you must first enable ENA Express. - """ - -class InstanceAttributeName(UnknownEnumMixin, StrEnum): - INSTANCE_TYPE = "instanceType" - KERNEL = "kernel" - RAMDISK = "ramdisk" - USER_DATA = "userData" - DISABLE_API_TERMINATION = "disableApiTermination" - INSTANCE_INITIATED_SHUTDOWN_BEHAVIOR = "instanceInitiatedShutdownBehavior" - ROOT_DEVICE_NAME = "rootDeviceName" - BLOCK_DEVICE_MAPPING = "blockDeviceMapping" - PRODUCT_CODES = "productCodes" - SOURCE_DEST_CHECK = "sourceDestCheck" - GROUP_SET = "groupSet" - EBS_OPTIMIZED = "ebsOptimized" - SRIOV_NET_SUPPORT = "sriovNetSupport" - ENA_SUPPORT = "enaSupport" - ENCLAVE_OPTIONS = "enclaveOptions" - DISABLE_API_STOP = "disableApiStop" - -class InstanceAutoRecoveryState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - DEFAULT = "default" - -class InstanceBandwidthWeighting(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - VPC_1 = "vpc-1" - EBS_1 = "ebs-1" - -@dataclass(kw_only=True) -class InstanceBlockDeviceMapping(_SerdeShape): - """Describes a block device mapping.""" - - device_name: str | None = ... - """The device name.""" - ebs: EbsInstanceBlockDevice | None = ... - """ - Parameters used to automatically set up EBS volumes when the instance is - launched. - """ - -@dataclass(kw_only=True) -class InstanceBlockDeviceMappingSpecification(_SerdeShape): - """Describes a block device mapping entry.""" - - device_name: str | None = ... - """ - The device name. For available device names, see [Device names for - volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html). - """ - ebs: EbsInstanceBlockDeviceSpecification | None = ... - """ - Parameters used to automatically set up EBS volumes when the instance is - launched. - """ - virtual_name: str | None = ... - """The virtual device name.""" - no_device: str | None = ... - """Suppresses the specified device included in the block device mapping.""" - -class InstanceBootModeValues(UnknownEnumMixin, StrEnum): - LEGACY_BIOS = "legacy-bios" - UEFI = "uefi" - -@dataclass(kw_only=True) -class InstanceCapacity(_SerdeShape): - """ - Information about the number of instances that can be launched onto the - Dedicated Host. - """ - - available_capacity: int | None = ... - """ - The number of instances that can be launched onto the Dedicated Host - based on the host's available capacity. - """ - instance_type: str | None = ... - """The instance type supported by the Dedicated Host.""" - total_capacity: int | None = ... - """ - The total number of instances that can be launched onto the Dedicated - Host if there are no instances running on it. - """ - -@dataclass(kw_only=True) -class InstanceConnectEndpointDnsNames(_SerdeShape): - """The DNS names of the endpoint.""" - - dns_name: str | None = ... - """The DNS name of the EC2 Instance Connect Endpoint.""" - fips_dns_name: str | None = ... - """ - The Federal Information Processing Standards (FIPS) compliant DNS name - of the EC2 Instance Connect Endpoint. - """ - -@dataclass(kw_only=True) -class InstanceConnectEndpointPublicDnsNames(_SerdeShape): - """ - The public DNS names of the endpoint, including IPv4-only and dualstack - DNS names. - """ - - ipv4: InstanceConnectEndpointDnsNames | None = ... - """The IPv4-only DNS name of the EC2 Instance Connect Endpoint.""" - dualstack: InstanceConnectEndpointDnsNames | None = ... - """ - The dualstack DNS name of the EC2 Instance Connect Endpoint. A dualstack - DNS name supports connections from both IPv4 and IPv6 clients. - """ - -@dataclass(kw_only=True) -class InstanceCount(_SerdeShape): - """Describes a Reserved Instance listing state.""" - - instance_count: int | None = ... - """ - The number of listed Reserved Instances in the state specified by the - `state`. - """ - state: str | None = ... - """The states of the listed Reserved Instances.""" - -@dataclass(kw_only=True) -class InstanceCreditSpecification(_SerdeShape): - """ - Describes the credit option for CPU usage of a burstable performance - instance. - """ - - instance_id: str | None = ... - """The ID of the instance.""" - cpu_credits: str | None = ... - """ - The credit option for CPU usage of the instance. - - Valid values: `standard` | `unlimited` - """ - -@dataclass(kw_only=True) -class InstanceCreditSpecificationRequest(_SerdeShape): - """ - Describes the credit option for CPU usage of a burstable performance - instance. - """ - - instance_id: str | None = ... - """The ID of the instance.""" - cpu_credits: str | None = ... - """ - The credit option for CPU usage of the instance. - - Valid values: `standard` | `unlimited` - - T3 instances with `host` tenancy do not support the `unlimited` CPU - credit option. - """ - -@dataclass(kw_only=True) -class InstanceEventWindow(_SerdeShape): - """The event window.""" - - instance_event_window_id: str | None = ... - """The ID of the event window.""" - time_ranges: list[InstanceEventWindowTimeRange] | None = ... - """One or more time ranges defined for the event window.""" - name: str | None = ... - """The name of the event window.""" - cron_expression: str | None = ... - """The cron expression defined for the event window.""" - association_target: InstanceEventWindowAssociationTarget | None = ... - """One or more targets associated with the event window.""" - state: str | None = ... - """The current state of the event window.""" - tags: list[Tag] | None = ... - """The instance tags associated with the event window.""" - -@dataclass(kw_only=True) -class InstanceEventWindowAssociationRequest(_SerdeShape): - """ - One or more targets associated with the specified event window. Only one - *type* of target (instance ID, instance tag, or Dedicated Host ID) can - be associated with an event window. - """ - - instance_ids: list[str] | None = ... - """ - The IDs of the instances to associate with the event window. If the - instance is on a Dedicated Host, you can't specify the Instance ID - parameter; you must use the Dedicated Host ID parameter. - """ - instance_tags: list[Tag] | None = ... - """ - The instance tags to associate with the event window. Any instances - associated with the tags will be associated with the event window. - - Note that while you can't create tag keys beginning with `aws:`, you - can specify existing Amazon Web Services managed tag keys (with the - `aws:` prefix) when specifying them as targets to associate with the - event window. - """ - dedicated_host_ids: list[str] | None = ... - """The IDs of the Dedicated Hosts to associate with the event window.""" - -@dataclass(kw_only=True) -class InstanceEventWindowAssociationTarget(_SerdeShape): - """One or more targets associated with the event window.""" - - instance_ids: list[str] | None = ... - """The IDs of the instances associated with the event window.""" - tags: list[Tag] | None = ... - """ - The instance tags associated with the event window. Any instances - associated with the tags will be associated with the event window. - - Note that while you can't create tag keys beginning with `aws:`, you - can specify existing Amazon Web Services managed tag keys (with the - `aws:` prefix) when specifying them as targets to associate with the - event window. - """ - dedicated_host_ids: list[str] | None = ... - """The IDs of the Dedicated Hosts associated with the event window.""" - -@dataclass(kw_only=True) -class InstanceEventWindowDisassociationRequest(_SerdeShape): - """The targets to disassociate from the specified event window.""" - - instance_ids: list[str] | None = ... - """The IDs of the instances to disassociate from the event window.""" - instance_tags: list[Tag] | None = ... - """ - The instance tags to disassociate from the event window. Any instances - associated with the tags will be disassociated from the event window. - """ - dedicated_host_ids: list[str] | None = ... - """The IDs of the Dedicated Hosts to disassociate from the event window.""" - -class InstanceEventWindowState(UnknownEnumMixin, StrEnum): - CREATING = "creating" - DELETING = "deleting" - ACTIVE = "active" - DELETED = "deleted" - -@dataclass(kw_only=True) -class InstanceEventWindowStateChange(_SerdeShape): - """The state of the event window.""" - - instance_event_window_id: str | None = ... - """The ID of the event window.""" - state: str | None = ... - """The current state of the event window.""" - -@dataclass(kw_only=True) -class InstanceEventWindowTimeRange(_SerdeShape): - """ - The start day and time and the end day and time of the time range, in - UTC. - """ - - start_week_day: str | None = ... - """The day on which the time range begins.""" - start_hour: int | None = ... - """The hour when the time range begins.""" - end_week_day: str | None = ... - """The day on which the time range ends.""" - end_hour: int | None = ... - """The hour when the time range ends.""" - -@dataclass(kw_only=True) -class InstanceEventWindowTimeRangeRequest(_SerdeShape): - """ - The start day and time and the end day and time of the time range, in - UTC. - """ - - start_week_day: str | None = ... - """The day on which the time range begins.""" - start_hour: int | None = ... - """The hour when the time range begins.""" - end_week_day: str | None = ... - """The day on which the time range ends.""" - end_hour: int | None = ... - """The hour when the time range ends.""" - -@dataclass(kw_only=True) -class InstanceExportDetails(_SerdeShape): - """Describes an instance to export.""" - - instance_id: str | None = ... - """The ID of the resource being exported.""" - target_environment: str | None = ... - """The target virtualization environment.""" - -@dataclass(kw_only=True) -class InstanceFamilyCreditSpecification(_SerdeShape): - """ - Describes the default credit option for CPU usage of a burstable - performance instance family. - """ - - instance_family: str | None = ... - """The instance family.""" - cpu_credits: str | None = ... - """ - The default credit option for CPU usage of the instance family. Valid - values are `standard` and `unlimited`. - """ - -class InstanceGeneration(UnknownEnumMixin, StrEnum): - CURRENT = "current" - PREVIOUS = "previous" - -class InstanceHealthStatus(UnknownEnumMixin, StrEnum): - HEALTHY_STATUS = "healthy" - UNHEALTHY_STATUS = "unhealthy" - -@dataclass(kw_only=True) -class InstanceImageMetadata(_SerdeShape): - """Information about the instance and the AMI used to launch the instance.""" - - instance_id: str | None = ... - """The ID of the instance.""" - instance_type: str | None = ... - """The instance type.""" - launch_time: datetime | None = ... - """The time the instance was launched.""" - availability_zone: str | None = ... - """The Availability Zone or Local Zone of the instance.""" - zone_id: str | None = ... - """The ID of the Availability Zone or Local Zone of the instance.""" - state: InstanceState | None = ... - """The current state of the instance.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the instance.""" - tags: list[Tag] | None = ... - """Any tags assigned to the instance.""" - image_metadata: ImageMetadata | None = ... - """Information about the AMI used to launch the instance.""" - operator: OperatorResponse | None = ... - """The entity that manages the instance.""" - -class InstanceInterruptionBehavior(UnknownEnumMixin, StrEnum): - HIBERNATE = "hibernate" - STOP = "stop" - TERMINATE = "terminate" - -@dataclass(kw_only=True) -class InstanceIpv4Prefix(_SerdeShape): - """Information about an IPv4 prefix.""" - - ipv4_prefix: str | None = ... - """One or more IPv4 prefixes assigned to the network interface.""" - -@dataclass(kw_only=True) -class InstanceIpv6Address(_SerdeShape): - """Describes an IPv6 address.""" - - ipv6_address: str | None = ... - """The IPv6 address.""" - is_primary_ipv6: bool | None = ... - """ - Determines if an IPv6 address associated with a network interface is the - primary IPv6 address. When you enable an IPv6 GUA address to be a - primary IPv6, the first IPv6 GUA will be made the primary IPv6 address - until the instance is terminated or the network interface is detached. - For more information, see - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). - """ - -@dataclass(kw_only=True) -class InstanceIpv6AddressRequest(_SerdeShape): - """Describes an IPv6 address.""" - - ipv6_address: str | None = ... - """The IPv6 address.""" - -@dataclass(kw_only=True) -class InstanceIpv6Prefix(_SerdeShape): - """Information about an IPv6 prefix.""" - - ipv6_prefix: str | None = ... - """One or more IPv6 prefixes assigned to the network interface.""" - -class InstanceLifecycle(UnknownEnumMixin, StrEnum): - SPOT = "spot" - ON_DEMAND = "on-demand" - INTERRUPTIBLE_CAPACITY_RESERVATION = "interruptible-capacity-reservation" - CAPACITY_BLOCK = "capacity-block" - -class InstanceLifecycleType(UnknownEnumMixin, StrEnum): - SPOT = "spot" - SCHEDULED = "scheduled" - CAPACITY_BLOCK = "capacity-block" - INTERRUPTIBLE_CAPACITY_RESERVATION = "interruptible-capacity-reservation" - -@dataclass(kw_only=True) -class InstanceMaintenanceOptions(_SerdeShape): - """The maintenance options for the instance.""" - - auto_recovery: str | None = ... - """ - Provides information on the current automatic recovery behavior of your - instance. - """ - reboot_migration: str | None = ... - """ - Specifies whether to attempt reboot migration during a user-initiated - reboot of an instance that has a scheduled `system-reboot` event: - - - `default` - Amazon EC2 attempts to migrate the instance to new - hardware (reboot migration). If successful, the `system-reboot` event - is cleared. If unsuccessful, an in-place reboot occurs and the event - remains scheduled. - - - `disabled` - Amazon EC2 keeps the instance on the same hardware - (in-place reboot). The `system-reboot` event remains scheduled. - - This setting only applies to supported instances that have a scheduled - reboot event. For more information, see [Enable or disable reboot - migration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class InstanceMaintenanceOptionsRequest(_SerdeShape): - """The maintenance options for the instance.""" - - auto_recovery: str | None = ... - """ - Disables the automatic recovery behavior of your instance or sets it to - default. For more information, see [Simplified automatic - recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery). - """ - -@dataclass(kw_only=True) -class InstanceMarketOptionsRequest(_SerdeShape): - """Describes the market (purchasing) option for the instances.""" - - market_type: str | None = ... - """The market type.""" - spot_options: SpotMarketOptions | None = ... - """The options for Spot Instances.""" - -class InstanceMatchCriteria(UnknownEnumMixin, StrEnum): - OPEN = "open" - TARGETED = "targeted" - -@dataclass(kw_only=True) -class InstanceMetadataDefaultsResponse(_SerdeShape): - """ - The default instance metadata service (IMDS) settings that were set at - the account level in the specified Amazon Web Services
 Region. - """ - - http_tokens: str | None = ... - """ - Indicates whether IMDSv2 is required. - - - `optional` -- IMDSv2 is optional, which means that you can use either - IMDSv2 or IMDSv1. - - - `required` -- IMDSv2 is required, which means that IMDSv1 is disabled, - and you must use IMDSv2. - """ - http_put_response_hop_limit: int | None = ... - """The maximum number of hops that the metadata token can travel.""" - http_endpoint: str | None = ... - """ - Indicates whether the IMDS endpoint for an instance is enabled or - disabled. When disabled, the instance metadata can't be accessed. - """ - instance_metadata_tags: str | None = ... - """ - Indicates whether access to instance tags from the instance metadata is - enabled or disabled. For more information, see [View tags for your EC2 - instances using instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html) - in the *Amazon EC2 User Guide*. - """ - managed_by: str | None = ... - """ - The entity that manages the IMDS default settings. Possible values - include: - - - `account` - The IMDS default settings are managed by the account. - - - `declarative-policy` - The IMDS default settings are managed by a - declarative policy and can't be modified by the account. - """ - managed_exception_message: str | None = ... - """ - The customized exception message that is specified in the declarative - policy. - """ - http_tokens_enforced: str | None = ... - """ - Indicates whether to enforce the requirement of IMDSv2 on an instance at - the time of launch. When enforcement is enabled, the instance can't - launch unless IMDSv2 (`HttpTokens`) is set to `required`. - """ - -class InstanceMetadataEndpointState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - -@dataclass(kw_only=True) -class InstanceMetadataOptionsRequest(_SerdeShape): - """The metadata options for the instance.""" - - http_tokens: str | None = ... - """ - Indicates whether IMDSv2 is required. - - - `optional` - IMDSv2 is optional, which means that you can use either - IMDSv2 or IMDSv1. - - - `required` - IMDSv2 is required, which means that IMDSv1 is disabled, - and you must use IMDSv2. - - Default: - - - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for - your instance is `v2.0` and the account level default is set to - `no-preference`, the default is `required`. - - - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for - your instance is `v2.0`, but the account level default is set to - `V1 or V2`, the default is `optional`. - - The default value can also be affected by other combinations of - parameters. For more information, see [Order of precedence for instance - metadata - options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence) - in the *Amazon EC2 User Guide*. - """ - http_put_response_hop_limit: int | None = ... - """ - The maximum number of hops that the metadata token can travel. - - Possible values: Integers from 1 to 64 - """ - http_endpoint: str | None = ... - """ - Enables or disables the HTTP metadata endpoint on your instances. - - If you specify a value of `disabled`, you cannot access your instance - metadata. - - Default: `enabled` - """ - http_protocol_ipv6: str | None = ... - """ - Enables or disables the IPv6 endpoint for the instance metadata service. - - Default: `disabled` - """ - instance_metadata_tags: str | None = ... - """ - Set to `enabled` to allow access to instance tags from the instance - metadata. Set to `disabled` to turn off access to instance tags from the - instance metadata. For more information, see [View tags for your EC2 - instances using instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). - - Default: `disabled` - """ - -@dataclass(kw_only=True) -class InstanceMetadataOptionsResponse(_SerdeShape): - """The metadata options for the instance.""" - - state: str | None = ... - """ - The state of the metadata option changes. - - `pending` - The metadata options are being updated and the instance is - not ready to process metadata traffic with the new selection. - - `applied` - The metadata options have been successfully applied on the - instance. - """ - http_tokens: str | None = ... - """ - Indicates whether IMDSv2 is required. - - - `optional` - IMDSv2 is optional, which means that you can use either - IMDSv2 or IMDSv1. - - - `required` - IMDSv2 is required, which means that IMDSv1 is disabled, - and you must use IMDSv2. - """ - http_put_response_hop_limit: int | None = ... - """ - The maximum number of hops that the metadata token can travel. - - Possible values: Integers from `1` to `64` - """ - http_endpoint: str | None = ... - """ - Indicates whether the HTTP metadata endpoint on your instances is - enabled or disabled. - - If the value is `disabled`, you cannot access your instance metadata. - """ - http_protocol_ipv6: str | None = ... - """ - Indicates whether the IPv6 endpoint for the instance metadata service is - enabled or disabled. - - Default: `disabled` - """ - instance_metadata_tags: str | None = ... - """ - Indicates whether access to instance tags from the instance metadata is - enabled or disabled. For more information, see [View tags for your EC2 - instances using instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). - """ - -class InstanceMetadataOptionsState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - APPLIED = "applied" - -class InstanceMetadataProtocolState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - -class InstanceMetadataTagsState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - -@dataclass(kw_only=True) -class InstanceMonitoring(_SerdeShape): - """Describes the monitoring of an instance.""" - - instance_id: str | None = ... - """The ID of the instance.""" - monitoring: Monitoring | None = ... - """The monitoring for the instance.""" - -@dataclass(kw_only=True) -class InstanceNetworkInterface(_SerdeShape): - """Describes a network interface.""" - - association: InstanceNetworkInterfaceAssociation | None = ... - """ - The association information for an Elastic IPv4 associated with the - network interface. - """ - attachment: InstanceNetworkInterfaceAttachment | None = ... - """The network interface attachment.""" - description: str | None = ... - """The description.""" - groups: list[GroupIdentifier] | None = ... - """The security groups.""" - ipv6_addresses: list[InstanceIpv6Address] | None = ... - """The IPv6 addresses associated with the network interface.""" - mac_address: str | None = ... - """The MAC address.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that created the network - interface. - """ - private_dns_name: str | None = ... - """The private DNS name.""" - private_ip_address: str | None = ... - """The IPv4 address of the network interface within the subnet.""" - private_ip_addresses: list[InstancePrivateIpAddress] | None = ... - """The private IPv4 addresses associated with the network interface.""" - source_dest_check: bool | None = ... - """Indicates whether source/destination checking is enabled.""" - status: str | None = ... - """The status of the network interface.""" - subnet_id: str | None = ... - """The ID of the subnet.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - interface_type: str | None = ... - """ - The type of network interface. - - Valid values: `interface` | `efa` | `efa-only` | `evs` | `trunk` - """ - ipv4_prefixes: list[InstanceIpv4Prefix] | None = ... - """The IPv4 delegated prefixes that are assigned to the network interface.""" - ipv6_prefixes: list[InstanceIpv6Prefix] | None = ... - """The IPv6 delegated prefixes that are assigned to the network interface.""" - connection_tracking_configuration: ( - ConnectionTrackingSpecificationResponse | None - ) = ... - """ - A security group connection tracking configuration that enables you to - set the timeout for connection tracking on an Elastic network interface. - For more information, see [Connection tracking - timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the *Amazon EC2 User Guide*. - """ - operator: OperatorResponse | None = ... - """The service provider that manages the network interface.""" - -@dataclass(kw_only=True) -class InstanceNetworkInterfaceAssociation(_SerdeShape): - """Describes association information for an Elastic IP address (IPv4).""" - - carrier_ip: str | None = ... - """The carrier IP address associated with the network interface.""" - customer_owned_ip: str | None = ... - """The customer-owned IP address associated with the network interface.""" - ip_owner_id: str | None = ... - """The ID of the owner of the Elastic IP address.""" - public_dns_name: str | None = ... - """The public DNS name.""" - public_ip: str | None = ... - """ - The public IP address or Elastic IP address bound to the network - interface. - """ - -@dataclass(kw_only=True) -class InstanceNetworkInterfaceAttachment(_SerdeShape): - """Describes a network interface attachment.""" - - attach_time: datetime | None = ... - """The time stamp when the attachment initiated.""" - attachment_id: str | None = ... - """The ID of the network interface attachment.""" - delete_on_termination: bool | None = ... - """ - Indicates whether the network interface is deleted when the instance is - terminated. - """ - device_index: int | None = ... - """ - The index of the device on the instance for the network interface - attachment. - """ - status: str | None = ... - """The attachment state.""" - network_card_index: int | None = ... - """The index of the network card.""" - ena_srd_specification: InstanceAttachmentEnaSrdSpecification | None = ... - """ - Contains the ENA Express settings for the network interface that's - attached to the instance. - """ - ena_queue_count: int | None = ... - """The number of ENA queues created with the instance.""" - -@dataclass(kw_only=True) -class InstanceNetworkInterfaceSpecification(_SerdeShape): - """Describes a network interface.""" - - associate_public_ip_address: bool | None = ... - """ - Indicates whether to assign a public IPv4 address to an instance you - launch in a VPC. The public IP address can only be assigned to a network - interface for eth0, and can only be assigned to a new network interface, - not an existing one. You cannot specify more than one network interface - in the request. If launching into a default subnet, the default value is - `true`. - - Amazon Web Services charges for all public IPv4 addresses, including - public IPv4 addresses associated with running instances and Elastic IP - addresses. For more information, see the *Public IPv4 Address* tab on - the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). - """ - delete_on_termination: bool | None = ... - """ - If set to `true`, the interface is deleted when the instance is - terminated. You can specify `true` only if creating a new network - interface when launching an instance. - """ - description: str | None = ... - """ - The description of the network interface. Applies only if creating a - network interface when launching an instance. - """ - device_index: int | None = ... - """ - The position of the network interface in the attachment order. A primary - network interface has a device index of 0. - - If you specify a network interface when launching an instance, you must - specify the device index. - """ - groups: list[str] | None = ... - """ - The IDs of the security groups for the network interface. Applies only - if creating a network interface when launching an instance. - """ - ipv6_address_count: int | None = ... - """ - A number of IPv6 addresses to assign to the network interface. Amazon - EC2 chooses the IPv6 addresses from the range of the subnet. You cannot - specify this option and the option to assign specific IPv6 addresses in - the same request. You can specify this option if you've specified a - minimum number of instances to launch. - """ - ipv6_addresses: list[InstanceIpv6Address] | None = ... - """ - The IPv6 addresses to assign to the network interface. You cannot - specify this option and the option to assign a number of IPv6 addresses - in the same request. You cannot specify this option if you've specified - a minimum number of instances to launch. - """ - network_interface_id: str | None = ... - """ - The ID of the network interface. - - If you are creating a Spot Fleet, omit this parameter because you can't - specify a network interface ID in a launch specification. - """ - private_ip_address: str | None = ... - """ - The private IPv4 address of the network interface. Applies only if - creating a network interface when launching an instance. You cannot - specify this option if you're launching more than one instance in a - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) - request. - """ - private_ip_addresses: list[PrivateIpAddressSpecification] | None = ... - """ - The private IPv4 addresses to assign to the network interface. Only one - private IPv4 address can be designated as primary. You cannot specify - this option if you're launching more than one instance in a - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) - request. - """ - secondary_private_ip_address_count: int | None = ... - """ - The number of secondary private IPv4 addresses. You can't specify this - parameter and also specify a secondary private IP address using the - `PrivateIpAddress` parameter. - """ - subnet_id: str | None = ... - """ - The ID of the subnet associated with the network interface. Applies only - if creating a network interface when launching an instance. - """ - associate_carrier_ip_address: bool | None = ... - """ - Indicates whether to assign a carrier IP address to the network - interface. - - You can only assign a carrier IP address to a network interface that is - in a subnet in a Wavelength Zone. For more information about carrier IP - addresses, see [Carrier IP - address](https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) - in the *Amazon Web Services Wavelength Developer Guide*. - """ - interface_type: str | None = ... - """ - The type of network interface. - - If you specify `efa-only`, do not assign any IP addresses to the network - interface. EFA-only network interfaces do not support IP addresses. - - Valid values: `interface` | `efa` | `efa-only` - """ - network_card_index: int | None = ... - """ - The index of the network card. Some instance types support multiple - network cards. The primary network interface must be assigned to network - card index 0. The default is network card index 0. - - If you are using - [RequestSpotInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html) - to create Spot Instances, omit this parameter because you can't specify - the network card index when using this API. To specify the network card - index, use - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). - """ - ipv4_prefixes: list[Ipv4PrefixSpecificationRequest] | None = ... - """ - The IPv4 delegated prefixes to be assigned to the network interface. You - cannot use this option if you use the `Ipv4PrefixCount` option. - """ - ipv4_prefix_count: int | None = ... - """ - The number of IPv4 delegated prefixes to be automatically assigned to - the network interface. You cannot use this option if you use the - `Ipv4Prefix` option. - """ - ipv6_prefixes: list[Ipv6PrefixSpecificationRequest] | None = ... - """ - The IPv6 delegated prefixes to be assigned to the network interface. You - cannot use this option if you use the `Ipv6PrefixCount` option. - """ - ipv6_prefix_count: int | None = ... - """ - The number of IPv6 delegated prefixes to be automatically assigned to - the network interface. You cannot use this option if you use the - `Ipv6Prefix` option. - """ - primary_ipv6: bool | None = ... - """ - The primary IPv6 address of the network interface. When you enable an - IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made - the primary IPv6 address until the instance is terminated or the network - interface is detached. For more information about primary IPv6 - addresses, see - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). - """ - ena_srd_specification: EnaSrdSpecificationRequest | None = ... - """ - Specifies the ENA Express settings for the network interface that's - attached to the instance. - """ - connection_tracking_specification: ( - ConnectionTrackingSpecificationRequest | None - ) = ... - """ - A security group connection tracking specification that enables you to - set the timeout for connection tracking on an Elastic network interface. - For more information, see [Connection tracking - timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the *Amazon EC2 User Guide*. - """ - ena_queue_count: int | None = ... - """The number of ENA queues to be created with the instance.""" - -@dataclass(kw_only=True) -class InstanceNetworkPerformanceOptions(_SerdeShape): - """ - With network performance options, you can adjust your bandwidth - preferences to meet the needs of the workload that runs on your - instance. - """ - - bandwidth_weighting: str | None = ... - """ - When you configure network bandwidth weighting, you can boost your - baseline bandwidth for either networking or EBS by up to 25%. The total - available baseline bandwidth for your instance remains the same. The - default option uses the standard bandwidth configuration for your - instance type. - """ - -@dataclass(kw_only=True) -class InstanceNetworkPerformanceOptionsRequest(_SerdeShape): - """ - Configure network performance options for your instance that are geared - towards performance improvements based on the workload that it runs. - """ - - bandwidth_weighting: str | None = ... - """ - Specify the bandwidth weighting option to boost the associated type of - baseline bandwidth, as follows: - - default - - : This option uses the standard bandwidth configuration for your - instance type. - - vpc-1 - - : This option boosts your networking baseline bandwidth and reduces your - EBS baseline bandwidth. - - ebs-1 - - : This option boosts your EBS baseline bandwidth and reduces your - networking baseline bandwidth. - """ - -@dataclass(kw_only=True) -class InstancePrivateIpAddress(_SerdeShape): - """Describes a private IPv4 address.""" - - association: InstanceNetworkInterfaceAssociation | None = ... - """ - The association information for an Elastic IP address for the network - interface. - """ - primary: bool | None = ... - """ - Indicates whether this IPv4 address is the primary private IP address of - the network interface. - """ - private_dns_name: str | None = ... - """The private IPv4 DNS name.""" - private_ip_address: str | None = ... - """The private IPv4 address of the network interface.""" - -class InstanceRebootMigrationState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - DEFAULT = "default" - -@dataclass(kw_only=True) -class InstanceRequirements(_SerdeShape): - """ - The attributes for the instance types. When you specify instance - attributes, Amazon EC2 will identify instance types with these - attributes. - - You must specify `VCpuCount` and `MemoryMiB`. All other attributes are - optional. Any unspecified optional attribute is set to its default. - - When you specify multiple attributes, you get instance types that - satisfy all of the specified attributes. If you specify multiple values - for an attribute, you get instance types that satisfy any of the - specified values. - - To limit the list of instance types from which Amazon EC2 can identify - matching instance types, you can use one of the following parameters, - but not both in the same request: - - - `AllowedInstanceTypes` - The instance types to include in the list. - All other instance types are ignored, even if they match your - specified attributes. - - - `ExcludedInstanceTypes` - The instance types to exclude from the list, - even if they match your specified attributes. - - Note: - If you specify `InstanceRequirements`, you can't specify - `InstanceType`. - - Attribute-based instance type selection is only supported when using - Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If - you plan to use the launch template in the [launch instance - wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html) - or with the [RunInstances - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html), - you can't specify `InstanceRequirements`. - - For more information, see [Create mixed instances group using - attribute-based instance type - selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html) - in the *Amazon EC2 Auto Scaling User Guide*, and also [Specify - attributes for instance type selection for EC2 Fleet or Spot - Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html) - and [Spot placement - score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) - in the *Amazon EC2 User Guide*. - """ - - v_cpu_count: VCpuCountRange | None = ... - """The minimum and maximum number of vCPUs.""" - memory_mi_b: MemoryMiB | None = ... - """The minimum and maximum amount of memory, in MiB.""" - cpu_manufacturers: list[str] | None = ... - """ - The CPU manufacturers to include. - - - For instance types with Intel CPUs, specify `intel`. - - - For instance types with AMD CPUs, specify `amd`. - - - For instance types with Amazon Web Services CPUs, specify - `amazon-web-services`. - - - For instance types with Apple CPUs, specify `apple`. - - Note: - Don't confuse the CPU manufacturer with the CPU architecture. Instances - will be launched with a compatible CPU architecture based on the Amazon - Machine Image (AMI) that you specify in your launch template. - - Default: Any manufacturer - """ - memory_gi_b_per_v_cpu: MemoryGiBPerVCpu | None = ... - """ - The minimum and maximum amount of memory per vCPU, in GiB. - - Default: No minimum or maximum limits - """ - excluded_instance_types: list[str] | None = ... - """ - The instance types to exclude. - - You can use strings with one or more wild cards, represented by an - asterisk (`*`), to exclude an instance type, size, or generation. The - following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. - - For example, if you specify `c5*`,Amazon EC2 will exclude the entire C5 - instance family, which includes all C5a and C5n instance types. If you - specify `m5a.*`, Amazon EC2 will exclude all the M5a instance types, but - not the M5n instance types. - - Note: - If you specify `ExcludedInstanceTypes`, you can't specify - `AllowedInstanceTypes`. - - Default: No excluded instance types - """ - instance_generations: list[str] | None = ... - """ - Indicates whether current or previous generation instance types are - included. The current generation instance types are recommended for use. - Current generation instance types are typically the latest two to three - generations in each instance family. For more information, see [Instance - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) - in the *Amazon EC2 User Guide*. - - For current generation instance types, specify `current`. - - For previous generation instance types, specify `previous`. - - Default: Current and previous generation instance types - """ - spot_max_price_percentage_over_lowest_price: int | None = ... - """ - [Price protection] The price protection threshold for Spot Instances, - as a percentage higher than an identified Spot price. The identified - Spot price is the Spot price of the lowest priced current generation C, - M, or R instance type with your specified attributes. If no current - generation C, M, or R instance type matches your attributes, then the - identified Spot price is from the lowest priced current generation - instance types, and failing that, from the lowest priced previous - generation instance types that match your attributes. When Amazon EC2 - selects instance types with your attributes, it will exclude instance - types whose Spot price exceeds your specified threshold. - - The parameter accepts an integer, which Amazon EC2 interprets as a - percentage. - - If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price - protection threshold is applied based on the per-vCPU or per-memory - price instead of the per-instance price. - - This parameter is not supported for - [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) - and - [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). - - Note: - Only one of `SpotMaxPricePercentageOverLowestPrice` or - `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If - you don't specify either, Amazon EC2 will automatically apply optimal - price protection to consistently select from a wide range of instance - types. To indicate no price protection threshold for Spot Instances, - meaning you want to consider all instance types that match your - attributes, include one of these parameters and specify a high value, - such as `999999`. - - Default: `100` - """ - on_demand_max_price_percentage_over_lowest_price: int | None = ... - """ - [Price protection] The price protection threshold for On-Demand - Instances, as a percentage higher than an identified On-Demand price. - The identified On-Demand price is the price of the lowest priced current - generation C, M, or R instance type with your specified attributes. When - Amazon EC2 selects instance types with your attributes, it will exclude - instance types whose price exceeds your specified threshold. - - The parameter accepts an integer, which Amazon EC2 interprets as a - percentage. - - To turn off price protection, specify a high value, such as `999999`. - - This parameter is not supported for - [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) - and - [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). - - Note: - If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price - protection threshold is applied based on the per-vCPU or per-memory - price instead of the per-instance price. - - Default: `20` - """ - bare_metal: str | None = ... - """ - Indicates whether bare metal instance types must be included, excluded, - or required. - - - To include bare metal instance types, specify `included`. - - - To require only bare metal instance types, specify `required`. - - - To exclude bare metal instance types, specify `excluded`. - - Default: `excluded` - """ - burstable_performance: str | None = ... - """ - Indicates whether burstable performance T instance types are included, - excluded, or required. For more information, see [Burstable performance - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). - - - To include burstable performance instance types, specify `included`. - - - To require only burstable performance instance types, specify - `required`. - - - To exclude burstable performance instance types, specify `excluded`. - - Default: `excluded` - """ - require_hibernate_support: bool | None = ... - """ - Indicates whether instance types must support hibernation for On-Demand - Instances. - - This parameter is not supported for - [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html). - - Default: `false` - """ - network_interface_count: NetworkInterfaceCount | None = ... - """ - The minimum and maximum number of network interfaces. - - Default: No minimum or maximum limits - """ - local_storage: str | None = ... - """ - Indicates whether instance types with instance store volumes are - included, excluded, or required. For more information, [Amazon EC2 - instance - store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) - in the *Amazon EC2 User Guide*. - - - To include instance types with instance store volumes, specify - `included`. - - - To require only instance types with instance store volumes, specify - `required`. - - - To exclude instance types with instance store volumes, specify - `excluded`. - - Default: `included` - """ - local_storage_types: list[str] | None = ... - """ - The type of local storage that is required. - - - For instance types with hard disk drive (HDD) storage, specify `hdd`. - - - For instance types with solid state drive (SSD) storage, specify - `ssd`. - - Default: `hdd` and `ssd` - """ - total_local_storage_gb: TotalLocalStorageGB | None = ... - """ - The minimum and maximum amount of total local storage, in GB. - - Default: No minimum or maximum limits - """ - baseline_ebs_bandwidth_mbps: BaselineEbsBandwidthMbps | None = ... - """ - The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For - more information, see [Amazon EBS--optimized - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) - in the *Amazon EC2 User Guide*. - - Default: No minimum or maximum limits - """ - accelerator_types: list[str] | None = ... - """ - The accelerator types that must be on the instance type. - - - For instance types with FPGA accelerators, specify `fpga`. - - - For instance types with GPU accelerators, specify `gpu`. - - - For instance types with Inference accelerators, specify `inference`. - - - For instance types with Media accelerators, specify `media`. - - Default: Any accelerator type - """ - accelerator_count: AcceleratorCount | None = ... - """ - The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon - Web Services Inferentia chips) on an instance. - - To exclude accelerator-enabled instance types, set `Max` to `0`. - - Default: No minimum or maximum limits - """ - accelerator_manufacturers: list[str] | None = ... - """ - Indicates whether instance types must have accelerators by specific - manufacturers. - - - For instance types with Amazon Web Services devices, specify - `amazon-web-services`. - - - For instance types with AMD devices, specify `amd`. - - - For instance types with Habana devices, specify `habana`. - - - For instance types with NVIDIA devices, specify `nvidia`. - - - For instance types with Xilinx devices, specify `xilinx`. - - Default: Any manufacturer - """ - accelerator_names: list[str] | None = ... - """ - The accelerators that must be on the instance type. - - - For instance types with NVIDIA A10G GPUs, specify `a10g`. - - - For instance types with NVIDIA A100 GPUs, specify `a100`. - - - For instance types with NVIDIA H100 GPUs, specify `h100`. - - - For instance types with Amazon Web Services Inferentia chips, specify - `inferentia`. - - - For instance types with Amazon Web Services Inferentia2 chips, specify - `inferentia2`. - - - For instance types with Habana Gaudi HL-205 GPUs, specify - `gaudi-hl-205`. - - - For instance types with NVIDIA GRID K520 GPUs, specify `k520`. - - - For instance types with NVIDIA K80 GPUs, specify `k80`. - - - For instance types with NVIDIA L4 GPUs, specify `l4`. - - - For instance types with NVIDIA L40S GPUs, specify `l40s`. - - - For instance types with NVIDIA M60 GPUs, specify `m60`. - - - For instance types with AMD Radeon Pro V520 GPUs, specify - `radeon-pro-v520`. - - - For instance types with Amazon Web Services Trainium chips, specify - `trainium`. - - - For instance types with Amazon Web Services Trainium2 chips, specify - `trainium2`. - - - For instance types with NVIDIA T4 GPUs, specify `t4`. - - - For instance types with NVIDIA T4G GPUs, specify `t4g`. - - - For instance types with Xilinx U30 cards, specify `u30`. - - - For instance types with Xilinx VU9P FPGAs, specify `vu9p`. - - - For instance types with NVIDIA V100 GPUs, specify `v100`. - - Default: Any accelerator - """ - accelerator_total_memory_mi_b: AcceleratorTotalMemoryMiB | None = ... - """ - The minimum and maximum amount of total accelerator memory, in MiB. - - Default: No minimum or maximum limits - """ - network_bandwidth_gbps: NetworkBandwidthGbps | None = ... - """ - The minimum and maximum amount of network bandwidth, in gigabits per - second (Gbps). - - Default: No minimum or maximum limits - """ - allowed_instance_types: list[str] | None = ... - """ - The instance types to apply your specified attributes against. All other - instance types are ignored, even if they match your specified - attributes. - - You can use strings with one or more wild cards, represented by an - asterisk (`*`), to allow an instance type, size, or generation. The - following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. - - For example, if you specify `c5*`,Amazon EC2 will allow the entire C5 - instance family, which includes all C5a and C5n instance types. If you - specify `m5a.*`, Amazon EC2 will allow all the M5a instance types, but - not the M5n instance types. - - Note: - If you specify `AllowedInstanceTypes`, you can't specify - `ExcludedInstanceTypes`. - - Default: All instance types - """ - max_spot_price_as_percentage_of_optimal_on_demand_price: int | None = ... - """ - [Price protection] The price protection threshold for Spot Instances, - as a percentage of an identified On-Demand price. The identified - On-Demand price is the price of the lowest priced current generation C, - M, or R instance type with your specified attributes. If no current - generation C, M, or R instance type matches your attributes, then the - identified price is from the lowest priced current generation instance - types, and failing that, from the lowest priced previous generation - instance types that match your attributes. When Amazon EC2 selects - instance types with your attributes, it will exclude instance types - whose price exceeds your specified threshold. - - The parameter accepts an integer, which Amazon EC2 interprets as a - percentage. - - If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price - protection threshold is based on the per vCPU or per memory price - instead of the per instance price. - - Note: - Only one of `SpotMaxPricePercentageOverLowestPrice` or - `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If - you don't specify either, Amazon EC2 will automatically apply optimal - price protection to consistently select from a wide range of instance - types. To indicate no price protection threshold for Spot Instances, - meaning you want to consider all instance types that match your - attributes, include one of these parameters and specify a high value, - such as `999999`. - """ - baseline_performance_factors: BaselinePerformanceFactors | None = ... - """ - The baseline performance to consider, using an instance family as a - baseline reference. The instance family establishes the lowest - acceptable level of performance. Amazon EC2 uses this baseline to guide - instance type selection, but there is no guarantee that the selected - instance types will always exceed the baseline for every application. - Currently, this parameter only supports CPU performance as a baseline - performance factor. For more information, see [Performance - protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection) - in the *Amazon EC2 User Guide*. - """ - require_encryption_in_transit: bool | None = ... - """ - Specifies whether instance types must support encrypting in-transit - traffic between instances. For more information, including the supported - instance types, see [Encryption in - transit](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit) - in the *Amazon EC2 User Guide*. - - Default: `false` - """ - -@dataclass(kw_only=True) -class InstanceRequirementsRequest(_SerdeShape): - """ - The attributes for the instance types. When you specify instance - attributes, Amazon EC2 will identify instance types with these - attributes. - - You must specify `VCpuCount` and `MemoryMiB`. All other attributes are - optional. Any unspecified optional attribute is set to its default. - - When you specify multiple attributes, you get instance types that - satisfy all of the specified attributes. If you specify multiple values - for an attribute, you get instance types that satisfy any of the - specified values. - - To limit the list of instance types from which Amazon EC2 can identify - matching instance types, you can use one of the following parameters, - but not both in the same request: - - - `AllowedInstanceTypes` - The instance types to include in the list. - All other instance types are ignored, even if they match your - specified attributes. - - - `ExcludedInstanceTypes` - The instance types to exclude from the list, - even if they match your specified attributes. - - Note: - If you specify `InstanceRequirements`, you can't specify - `InstanceType`. - - Attribute-based instance type selection is only supported when using - Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If - you plan to use the launch template in the [launch instance - wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), - or with the - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) - API or - [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) - Amazon Web Services CloudFormation resource, you can't specify - `InstanceRequirements`. - - For more information, see [Specify attributes for instance type - selection for EC2 Fleet or Spot - Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html) - and [Spot placement - score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) - in the *Amazon EC2 User Guide*. - """ - - v_cpu_count: VCpuCountRangeRequest | None = ... - """The minimum and maximum number of vCPUs.""" - memory_mi_b: MemoryMiBRequest | None = ... - """The minimum and maximum amount of memory, in MiB.""" - cpu_manufacturers: list[str] | None = ... - """ - The CPU manufacturers to include. - - - For instance types with Intel CPUs, specify `intel`. - - - For instance types with AMD CPUs, specify `amd`. - - - For instance types with Amazon Web Services CPUs, specify - `amazon-web-services`. - - - For instance types with Apple CPUs, specify `apple`. - - Note: - Don't confuse the CPU manufacturer with the CPU architecture. Instances - will be launched with a compatible CPU architecture based on the Amazon - Machine Image (AMI) that you specify in your launch template. - - Default: Any manufacturer - """ - memory_gi_b_per_v_cpu: MemoryGiBPerVCpuRequest | None = ... - """ - The minimum and maximum amount of memory per vCPU, in GiB. - - Default: No minimum or maximum limits - """ - excluded_instance_types: list[str] | None = ... - """ - The instance types to exclude. - - You can use strings with one or more wild cards, represented by an - asterisk (`*`), to exclude an instance family, type, size, or - generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, - `r*`, `*3*`. - - For example, if you specify `c5*`,Amazon EC2 will exclude the entire C5 - instance family, which includes all C5a and C5n instance types. If you - specify `m5a.*`, Amazon EC2 will exclude all the M5a instance types, but - not the M5n instance types. - - Note: - If you specify `ExcludedInstanceTypes`, you can't specify - `AllowedInstanceTypes`. - - Default: No excluded instance types - """ - instance_generations: list[str] | None = ... - """ - Indicates whether current or previous generation instance types are - included. The current generation instance types are recommended for use. - Current generation instance types are typically the latest two to three - generations in each instance family. For more information, see [Instance - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) - in the *Amazon EC2 User Guide*. - - For current generation instance types, specify `current`. - - For previous generation instance types, specify `previous`. - - Default: Current and previous generation instance types - """ - spot_max_price_percentage_over_lowest_price: int | None = ... - """ - [Price protection] The price protection threshold for Spot Instances, - as a percentage higher than an identified Spot price. The identified - Spot price is the Spot price of the lowest priced current generation C, - M, or R instance type with your specified attributes. If no current - generation C, M, or R instance type matches your attributes, then the - identified Spot price is from the lowest priced current generation - instance types, and failing that, from the lowest priced previous - generation instance types that match your attributes. When Amazon EC2 - selects instance types with your attributes, it will exclude instance - types whose Spot price exceeds your specified threshold. - - The parameter accepts an integer, which Amazon EC2 interprets as a - percentage. - - If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price - protection threshold is applied based on the per-vCPU or per-memory - price instead of the per-instance price. - - This parameter is not supported for - [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) - and - [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). - - Note: - Only one of `SpotMaxPricePercentageOverLowestPrice` or - `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If - you don't specify either, Amazon EC2 will automatically apply optimal - price protection to consistently select from a wide range of instance - types. To indicate no price protection threshold for Spot Instances, - meaning you want to consider all instance types that match your - attributes, include one of these parameters and specify a high value, - such as `999999`. - - Default: `100` - """ - on_demand_max_price_percentage_over_lowest_price: int | None = ... - """ - [Price protection] The price protection threshold for On-Demand - Instances, as a percentage higher than an identified On-Demand price. - The identified On-Demand price is the price of the lowest priced current - generation C, M, or R instance type with your specified attributes. When - Amazon EC2 selects instance types with your attributes, it will exclude - instance types whose price exceeds your specified threshold. - - The parameter accepts an integer, which Amazon EC2 interprets as a - percentage. - - To indicate no price protection threshold, specify a high value, such as - `999999`. - - This parameter is not supported for - [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) - and - [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). - - Note: - If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price - protection threshold is applied based on the per-vCPU or per-memory - price instead of the per-instance price. - - Default: `20` - """ - bare_metal: str | None = ... - """ - Indicates whether bare metal instance types must be included, excluded, - or required. - - - To include bare metal instance types, specify `included`. - - - To require only bare metal instance types, specify `required`. - - - To exclude bare metal instance types, specify `excluded`. - - Default: `excluded` - """ - burstable_performance: str | None = ... - """ - Indicates whether burstable performance T instance types are included, - excluded, or required. For more information, see [Burstable performance - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). - - - To include burstable performance instance types, specify `included`. - - - To require only burstable performance instance types, specify - `required`. - - - To exclude burstable performance instance types, specify `excluded`. - - Default: `excluded` - """ - require_hibernate_support: bool | None = ... - """ - Indicates whether instance types must support hibernation for On-Demand - Instances. - - This parameter is not supported for - [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html). - - Default: `false` - """ - network_interface_count: NetworkInterfaceCountRequest | None = ... - """ - The minimum and maximum number of network interfaces. - - Default: No minimum or maximum limits - """ - local_storage: str | None = ... - """ - Indicates whether instance types with instance store volumes are - included, excluded, or required. For more information, [Amazon EC2 - instance - store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) - in the *Amazon EC2 User Guide*. - - - To include instance types with instance store volumes, specify - `included`. - - - To require only instance types with instance store volumes, specify - `required`. - - - To exclude instance types with instance store volumes, specify - `excluded`. - - Default: `included` - """ - local_storage_types: list[str] | None = ... - """ - The type of local storage that is required. - - - For instance types with hard disk drive (HDD) storage, specify `hdd`. - - - For instance types with solid state drive (SSD) storage, specify - `ssd`. - - Default: `hdd` and `ssd` - """ - total_local_storage_gb: TotalLocalStorageGBRequest | None = ... - """ - The minimum and maximum amount of total local storage, in GB. - - Default: No minimum or maximum limits - """ - baseline_ebs_bandwidth_mbps: BaselineEbsBandwidthMbpsRequest | None = ... - """ - The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For - more information, see [Amazon EBS--optimized - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) - in the *Amazon EC2 User Guide*. - - Default: No minimum or maximum limits - """ - accelerator_types: list[str] | None = ... - """ - The accelerator types that must be on the instance type. - - - For instance types with FPGA accelerators, specify `fpga`. - - - For instance types with GPU accelerators, specify `gpu`. - - - For instance types with Inference accelerators, specify `inference`. - - - For instance types with Media accelerators, specify `media`. - - Default: Any accelerator type - """ - accelerator_count: AcceleratorCountRequest | None = ... - """ - The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon - Web Services Inferentia chips) on an instance. - - To exclude accelerator-enabled instance types, set `Max` to `0`. - - Default: No minimum or maximum limits - """ - accelerator_manufacturers: list[str] | None = ... - """ - Indicates whether instance types must have accelerators by specific - manufacturers. - - - For instance types with Amazon Web Services devices, specify - `amazon-web-services`. - - - For instance types with AMD devices, specify `amd`. - - - For instance types with Habana devices, specify `habana`. - - - For instance types with NVIDIA devices, specify `nvidia`. - - - For instance types with Xilinx devices, specify `xilinx`. - - Default: Any manufacturer - """ - accelerator_names: list[str] | None = ... - """ - The accelerators that must be on the instance type. - - - For instance types with NVIDIA A10G GPUs, specify `a10g`. - - - For instance types with NVIDIA A100 GPUs, specify `a100`. - - - For instance types with NVIDIA H100 GPUs, specify `h100`. - - - For instance types with Amazon Web Services Inferentia chips, specify - `inferentia`. - - - For instance types with Amazon Web Services Inferentia2 chips, specify - `inferentia2`. - - - For instance types with Habana Gaudi HL-205 GPUs, specify - `gaudi-hl-205`. - - - For instance types with NVIDIA GRID K520 GPUs, specify `k520`. - - - For instance types with NVIDIA K80 GPUs, specify `k80`. - - - For instance types with NVIDIA L4 GPUs, specify `l4`. - - - For instance types with NVIDIA L40S GPUs, specify `l40s`. - - - For instance types with NVIDIA M60 GPUs, specify `m60`. - - - For instance types with AMD Radeon Pro V520 GPUs, specify - `radeon-pro-v520`. - - - For instance types with Amazon Web Services Trainium chips, specify - `trainium`. - - - For instance types with Amazon Web Services Trainium2 chips, specify - `trainium2`. - - - For instance types with NVIDIA T4 GPUs, specify `t4`. - - - For instance types with NVIDIA T4G GPUs, specify `t4g`. - - - For instance types with Xilinx U30 cards, specify `u30`. - - - For instance types with Xilinx VU9P FPGAs, specify `vu9p`. - - - For instance types with NVIDIA V100 GPUs, specify `v100`. - - Default: Any accelerator - """ - accelerator_total_memory_mi_b: AcceleratorTotalMemoryMiBRequest | None = ... - """ - The minimum and maximum amount of total accelerator memory, in MiB. - - Default: No minimum or maximum limits - """ - network_bandwidth_gbps: NetworkBandwidthGbpsRequest | None = ... - """ - The minimum and maximum amount of baseline network bandwidth, in - gigabits per second (Gbps). For more information, see [Amazon EC2 - instance network - bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html) - in the *Amazon EC2 User Guide*. - - Default: No minimum or maximum limits - """ - allowed_instance_types: list[str] | None = ... - """ - The instance types to apply your specified attributes against. All other - instance types are ignored, even if they match your specified - attributes. - - You can use strings with one or more wild cards, represented by an - asterisk (`*`), to allow an instance type, size, or generation. The - following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. - - For example, if you specify `c5*`,Amazon EC2 will allow the entire C5 - instance family, which includes all C5a and C5n instance types. If you - specify `m5a.*`, Amazon EC2 will allow all the M5a instance types, but - not the M5n instance types. - - Note: - If you specify `AllowedInstanceTypes`, you can't specify - `ExcludedInstanceTypes`. - - Default: All instance types - """ - max_spot_price_as_percentage_of_optimal_on_demand_price: int | None = ... - """ - [Price protection] The price protection threshold for Spot Instances, - as a percentage of an identified On-Demand price. The identified - On-Demand price is the price of the lowest priced current generation C, - M, or R instance type with your specified attributes. If no current - generation C, M, or R instance type matches your attributes, then the - identified price is from the lowest priced current generation instance - types, and failing that, from the lowest priced previous generation - instance types that match your attributes. When Amazon EC2 selects - instance types with your attributes, it will exclude instance types - whose price exceeds your specified threshold. - - The parameter accepts an integer, which Amazon EC2 interprets as a - percentage. - - If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the price - protection threshold is based on the per vCPU or per memory price - instead of the per instance price. - - Note: - Only one of `SpotMaxPricePercentageOverLowestPrice` or - `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If - you don't specify either, Amazon EC2 will automatically apply optimal - price protection to consistently select from a wide range of instance - types. To indicate no price protection threshold for Spot Instances, - meaning you want to consider all instance types that match your - attributes, include one of these parameters and specify a high value, - such as `999999`. - """ - baseline_performance_factors: BaselinePerformanceFactorsRequest | None = ... - """ - The baseline performance to consider, using an instance family as a - baseline reference. The instance family establishes the lowest - acceptable level of performance. Amazon EC2 uses this baseline to guide - instance type selection, but there is no guarantee that the selected - instance types will always exceed the baseline for every application. - Currently, this parameter only supports CPU performance as a baseline - performance factor. For more information, see [Performance - protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection) - in the *Amazon EC2 User Guide*. - """ - require_encryption_in_transit: bool | None = ... - """ - Specifies whether instance types must support encrypting in-transit - traffic between instances. For more information, including the supported - instance types, see [Encryption in - transit](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/data-protection.html#encryption-transit) - in the *Amazon EC2 User Guide*. - - Default: `false` - """ - -@dataclass(kw_only=True) -class InstanceRequirementsWithMetadataRequest(_SerdeShape): - """ - The architecture type, virtualization type, and other attributes for the - instance types. When you specify instance attributes, Amazon EC2 will - identify instance types with those attributes. - - If you specify `InstanceRequirementsWithMetadataRequest`, you can't - specify `InstanceTypes`. - """ - - architecture_types: list[str] | None = ... - """The architecture type.""" - virtualization_types: list[str] | None = ... - """The virtualization type.""" - instance_requirements: InstanceRequirementsRequest | None = ... - """ - The attributes for the instance types. When you specify instance - attributes, Amazon EC2 will identify instance types with those - attributes. - """ - -@dataclass(kw_only=True) -class InstanceSecondaryInterface(_SerdeShape): - """Describes a secondary interface attached to an instance.""" - - attachment: InstanceSecondaryInterfaceAttachment | None = ... - """The attachment information for the secondary interface.""" - mac_address: str | None = ... - """The MAC address of the secondary interface.""" - secondary_interface_id: str | None = ... - """The ID of the secondary interface.""" - owner_id: str | None = ... - """ - The Amazon Web Services account ID of the owner of the secondary - interface. - """ - private_ip_addresses: list[InstanceSecondaryInterfacePrivateIpAddress] | None = ... - """The private IPv4 addresses associated with the secondary interface.""" - source_dest_check: bool | None = ... - """Indicates whether source/destination checking is enabled.""" - status: str | None = ... - """The status of the secondary interface.""" - secondary_subnet_id: str | None = ... - """The ID of the secondary subnet.""" - secondary_network_id: str | None = ... - """The ID of the secondary network.""" - interface_type: str | None = ... - """The type of secondary interface.""" - -@dataclass(kw_only=True) -class InstanceSecondaryInterfaceAttachment(_SerdeShape): - """Describes the attachment of a secondary interface to an instance.""" - - attach_time: datetime | None = ... - """The timestamp when the attachment was created.""" - attachment_id: str | None = ... - """The ID of the attachment.""" - delete_on_termination: bool | None = ... - """ - Indicates whether the secondary interface is deleted when the instance - is terminated. - - The only supported value for this field is `true`. - """ - device_index: int | None = ... - """The device index of the secondary interface.""" - status: str | None = ... - """The attachment state.""" - network_card_index: int | None = ... - """The index of the network card.""" - -@dataclass(kw_only=True) -class InstanceSecondaryInterfacePrivateIpAddress(_SerdeShape): - """Describes a private IPv4 address for a secondary interface.""" - - private_ip_address: str | None = ... - """The private IPv4 address.""" - -@dataclass(kw_only=True) -class InstanceSecondaryInterfacePrivateIpAddressRequest(_SerdeShape): - """Describes a private IPv4 address for a secondary interface request.""" - - private_ip_address: str | None = ... - """The private IPv4 address.""" - -@dataclass(kw_only=True) -class InstanceSecondaryInterfaceSpecificationRequest(_SerdeShape): - """Describes a secondary interface specification for launching an instance.""" - - delete_on_termination: bool | None = ... - """ - Indicates whether the secondary interface is deleted when the instance - is terminated. - - The only supported value for this field is `true`. - """ - device_index: int | None = ... - """The device index for the secondary interface attachment.""" - private_ip_addresses: ( - list[InstanceSecondaryInterfacePrivateIpAddressRequest] | None - ) = ... - """The private IPv4 addresses to assign to the secondary interface.""" - private_ip_address_count: int | None = ... - """ - The number of private IPv4 addresses to assign to the secondary - interface. - """ - secondary_subnet_id: str | None = ... - """The ID of the secondary subnet.""" - interface_type: str | None = ... - """The type of secondary interface.""" - network_card_index: int | None = ... - """ - The index of the network card. The network card must support secondary - interfaces. - """ - -@dataclass(kw_only=True) -class InstanceSpecification(_SerdeShape): - """The instance details to specify which volumes should be snapshotted.""" - - instance_id: str | None = ... - """The instance to specify which volumes should be snapshotted.""" - exclude_boot_volume: bool | None = ... - """Excludes the root volume from being snapshotted.""" - exclude_data_volume_ids: list[str] | None = ... - """ - The IDs of the data (non-root) volumes to exclude from the multi-volume - snapshot set. If you specify the ID of the root volume, the request - fails. To exclude the root volume, use **ExcludeBootVolume**. - - You can specify up to 40 volume IDs per request. - """ - -@dataclass(kw_only=True) -class InstanceState(_SerdeShape): - """Describes the current state of an instance.""" - - code: int | None = ... - """ - The state of the instance as a 16-bit unsigned integer. - - The high byte is all of the bits between 2^8 and (2^16)-1, which - equals decimal values between 256 and 65,535. These numerical values are - used for internal purposes and should be ignored. - - The low byte is all of the bits between 2^0 and (2^8)-1, which equals - decimal values between 0 and 255. - - The valid values for instance-state-code will all be in the range of the - low byte and they are: - - - `0` : `pending` - - - `16` : `running` - - - `32` : `shutting-down` - - - `48` : `terminated` - - - `64` : `stopping` - - - `80` : `stopped` - - You can ignore the high byte value by zeroing out all of the bits above - 2^8 or 256 in decimal. - """ - name: str | None = ... - """The current state of the instance.""" - -@dataclass(kw_only=True) -class InstanceStateChange(_SerdeShape): - """Describes an instance state change.""" - - instance_id: str | None = ... - """The ID of the instance.""" - current_state: InstanceState | None = ... - """The current state of the instance.""" - previous_state: InstanceState | None = ... - """The previous state of the instance.""" - -class InstanceStateName(UnknownEnumMixin, StrEnum): - PENDING = "pending" - RUNNING = "running" - SHUTTING_DOWN = "shutting-down" - TERMINATED = "terminated" - STOPPING = "stopping" - STOPPED = "stopped" - -@dataclass(kw_only=True) -class InstanceStatus(_SerdeShape): - """ - Describes the status of an instance, including system status, instance - status, attached EBS status, application status, and performance status. - """ - - availability_zone: str | None = ... - """The Availability Zone of the instance.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone of the instance.""" - outpost_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - operator: OperatorResponse | None = ... - """The service provider that manages the instance.""" - events: list[InstanceStatusEvent] | None = ... - """Any scheduled events associated with the instance.""" - instance_id: str | None = ... - """The ID of the instance.""" - instance_state: InstanceState | None = ... - """ - The intended state of the instance. DescribeInstanceStatus requires that - an instance be in the `running` state. - """ - instance_status: InstanceStatusSummary | None = ... - """ - Reports impaired functionality that stems from issues internal to the - instance, such as impaired reachability. - """ - system_status: InstanceStatusSummary | None = ... - """ - Reports impaired functionality that stems from issues related to the - systems that support an instance, such as hardware failures and network - connectivity problems. - """ - attached_ebs_status: EbsStatusSummary | None = ... - """ - Reports impaired functionality that stems from an attached Amazon EBS - volume that is unreachable and unable to complete I/O operations. - """ - application_status: ApplicationStatusSummary | None = ... - """Reports the application-level health status for the instance.""" - performance_status: PerformanceStatusSummary | None = ... - """ - Reports the performance-related health status for the instance. This - information is returned only when performance status checks are enabled - for the instance. - """ - -@dataclass(kw_only=True) -class InstanceStatusDetails(_SerdeShape): - """Describes the instance status.""" - - impaired_since: datetime | None = ... - """ - The time when a status check failed. For an instance that was launched - and impaired, this is the time when the instance was launched. - """ - name: str | None = ... - """The type of instance status.""" - status: str | None = ... - """The status.""" - -@dataclass(kw_only=True) -class InstanceStatusEvent(_SerdeShape): - """Describes a scheduled event for an instance.""" - - instance_event_id: str | None = ... - """The ID of the event.""" - code: str | None = ... - """The event code.""" - description: str | None = ... - """ - A description of the event. - - After a scheduled event is completed, it can still be described for up - to a week. If the event has been completed, this description starts with - the following text: [Completed]. - """ - not_after: datetime | None = ... - """The latest scheduled end time for the event.""" - not_before: datetime | None = ... - """The earliest scheduled start time for the event.""" - not_before_deadline: datetime | None = ... - """The deadline for starting the event.""" - -@dataclass(kw_only=True) -class InstanceStatusSummary(_SerdeShape): - """Describes the status of an instance.""" - - details: list[InstanceStatusDetails] | None = ... - """The system instance health or application instance health.""" - status: str | None = ... - """The status.""" - -class InstanceStorageEncryptionSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - REQUIRED = "required" - -@dataclass(kw_only=True) -class InstanceStorageInfo(_SerdeShape): - """ - Describes the instance store features that are supported by the instance - type. - """ - - total_size_in_gb: int | None = ... - """The total size of the disks, in GB.""" - disks: list[DiskInfo] | None = ... - """Describes the disks that are available for the instance type.""" - nvme_support: str | None = ... - """Indicates whether non-volatile memory express (NVMe) is supported.""" - encryption_support: str | None = ... - """Indicates whether data is encrypted at rest.""" - -@dataclass(kw_only=True) -class InstanceTagNotificationAttribute(_SerdeShape): - """Describes the registered tag keys for the current Region.""" - - instance_tag_keys: list[str] | None = ... - """The registered tag keys.""" - include_all_tags_of_instance: bool | None = ... - """ - Indicates wheter all tag keys in the current Region are registered to - appear in scheduled event notifications. `true` indicates that all tag - keys in the current Region are registered. - """ - -@dataclass(kw_only=True) -class InstanceTopology(_SerdeShape): - """Information about the instance topology.""" - - instance_id: str | None = ... - """The instance ID.""" - instance_type: str | None = ... - """The instance type.""" - group_name: str | None = ... - """The name of the placement group that the instance is in.""" - network_nodes: list[str] | None = ... - """ - The network nodes. The nodes are hashed based on your account. Instances - from different accounts running under the same server will return a - different hashed list of strings. - - The value is `null` or empty if: - - - The instance type is not supported. - - - The instance is in a state other than `running`. - """ - availability_zone: str | None = ... - """The name of the Availability Zone or Local Zone that the instance is in.""" - zone_id: str | None = ... - """The ID of the Availability Zone or Local Zone that the instance is in.""" - capacity_block_id: str | None = ... - """ - The ID of the Capacity Block. This parameter is only supported for - UltraServer instances and identifies instances within the UltraServer - domain. - """ - -class InstanceType(UnknownEnumMixin, StrEnum): - A1_MEDIUM = "a1.medium" - A1_LARGE = "a1.large" - A1_XLARGE = "a1.xlarge" - A1_2XLARGE = "a1.2xlarge" - A1_4XLARGE = "a1.4xlarge" - A1_METAL = "a1.metal" - C1_MEDIUM = "c1.medium" - C1_XLARGE = "c1.xlarge" - C3_LARGE = "c3.large" - C3_XLARGE = "c3.xlarge" - C3_2XLARGE = "c3.2xlarge" - C3_4XLARGE = "c3.4xlarge" - C3_8XLARGE = "c3.8xlarge" - C4_LARGE = "c4.large" - C4_XLARGE = "c4.xlarge" - C4_2XLARGE = "c4.2xlarge" - C4_4XLARGE = "c4.4xlarge" - C4_8XLARGE = "c4.8xlarge" - C5_LARGE = "c5.large" - C5_XLARGE = "c5.xlarge" - C5_2XLARGE = "c5.2xlarge" - C5_4XLARGE = "c5.4xlarge" - C5_9XLARGE = "c5.9xlarge" - C5_12XLARGE = "c5.12xlarge" - C5_18XLARGE = "c5.18xlarge" - C5_24XLARGE = "c5.24xlarge" - C5_METAL = "c5.metal" - C5A_LARGE = "c5a.large" - C5A_XLARGE = "c5a.xlarge" - C5A_2XLARGE = "c5a.2xlarge" - C5A_4XLARGE = "c5a.4xlarge" - C5A_8XLARGE = "c5a.8xlarge" - C5A_12XLARGE = "c5a.12xlarge" - C5A_16XLARGE = "c5a.16xlarge" - C5A_24XLARGE = "c5a.24xlarge" - C5AD_LARGE = "c5ad.large" - C5AD_XLARGE = "c5ad.xlarge" - C5AD_2XLARGE = "c5ad.2xlarge" - C5AD_4XLARGE = "c5ad.4xlarge" - C5AD_8XLARGE = "c5ad.8xlarge" - C5AD_12XLARGE = "c5ad.12xlarge" - C5AD_16XLARGE = "c5ad.16xlarge" - C5AD_24XLARGE = "c5ad.24xlarge" - C5D_LARGE = "c5d.large" - C5D_XLARGE = "c5d.xlarge" - C5D_2XLARGE = "c5d.2xlarge" - C5D_4XLARGE = "c5d.4xlarge" - C5D_9XLARGE = "c5d.9xlarge" - C5D_12XLARGE = "c5d.12xlarge" - C5D_18XLARGE = "c5d.18xlarge" - C5D_24XLARGE = "c5d.24xlarge" - C5D_METAL = "c5d.metal" - C5N_LARGE = "c5n.large" - C5N_XLARGE = "c5n.xlarge" - C5N_2XLARGE = "c5n.2xlarge" - C5N_4XLARGE = "c5n.4xlarge" - C5N_9XLARGE = "c5n.9xlarge" - C5N_18XLARGE = "c5n.18xlarge" - C5N_METAL = "c5n.metal" - C6G_MEDIUM = "c6g.medium" - C6G_LARGE = "c6g.large" - C6G_XLARGE = "c6g.xlarge" - C6G_2XLARGE = "c6g.2xlarge" - C6G_4XLARGE = "c6g.4xlarge" - C6G_8XLARGE = "c6g.8xlarge" - C6G_12XLARGE = "c6g.12xlarge" - C6G_16XLARGE = "c6g.16xlarge" - C6G_METAL = "c6g.metal" - C6GD_MEDIUM = "c6gd.medium" - C6GD_LARGE = "c6gd.large" - C6GD_XLARGE = "c6gd.xlarge" - C6GD_2XLARGE = "c6gd.2xlarge" - C6GD_4XLARGE = "c6gd.4xlarge" - C6GD_8XLARGE = "c6gd.8xlarge" - C6GD_12XLARGE = "c6gd.12xlarge" - C6GD_16XLARGE = "c6gd.16xlarge" - C6GD_METAL = "c6gd.metal" - C6GN_MEDIUM = "c6gn.medium" - C6GN_LARGE = "c6gn.large" - C6GN_XLARGE = "c6gn.xlarge" - C6GN_2XLARGE = "c6gn.2xlarge" - C6GN_4XLARGE = "c6gn.4xlarge" - C6GN_8XLARGE = "c6gn.8xlarge" - C6GN_12XLARGE = "c6gn.12xlarge" - C6GN_16XLARGE = "c6gn.16xlarge" - C6I_LARGE = "c6i.large" - C6I_XLARGE = "c6i.xlarge" - C6I_2XLARGE = "c6i.2xlarge" - C6I_4XLARGE = "c6i.4xlarge" - C6I_8XLARGE = "c6i.8xlarge" - C6I_12XLARGE = "c6i.12xlarge" - C6I_16XLARGE = "c6i.16xlarge" - C6I_24XLARGE = "c6i.24xlarge" - C6I_32XLARGE = "c6i.32xlarge" - C6I_METAL = "c6i.metal" - CC1_4XLARGE = "cc1.4xlarge" - CC2_8XLARGE = "cc2.8xlarge" - CG1_4XLARGE = "cg1.4xlarge" - CR1_8XLARGE = "cr1.8xlarge" - D2_XLARGE = "d2.xlarge" - D2_2XLARGE = "d2.2xlarge" - D2_4XLARGE = "d2.4xlarge" - D2_8XLARGE = "d2.8xlarge" - D3_XLARGE = "d3.xlarge" - D3_2XLARGE = "d3.2xlarge" - D3_4XLARGE = "d3.4xlarge" - D3_8XLARGE = "d3.8xlarge" - D3EN_XLARGE = "d3en.xlarge" - D3EN_2XLARGE = "d3en.2xlarge" - D3EN_4XLARGE = "d3en.4xlarge" - D3EN_6XLARGE = "d3en.6xlarge" - D3EN_8XLARGE = "d3en.8xlarge" - D3EN_12XLARGE = "d3en.12xlarge" - DL1_24XLARGE = "dl1.24xlarge" - F1_2XLARGE = "f1.2xlarge" - F1_4XLARGE = "f1.4xlarge" - F1_16XLARGE = "f1.16xlarge" - G2_2XLARGE = "g2.2xlarge" - G2_8XLARGE = "g2.8xlarge" - G3_4XLARGE = "g3.4xlarge" - G3_8XLARGE = "g3.8xlarge" - G3_16XLARGE = "g3.16xlarge" - G3S_XLARGE = "g3s.xlarge" - G4AD_XLARGE = "g4ad.xlarge" - G4AD_2XLARGE = "g4ad.2xlarge" - G4AD_4XLARGE = "g4ad.4xlarge" - G4AD_8XLARGE = "g4ad.8xlarge" - G4AD_16XLARGE = "g4ad.16xlarge" - G4DN_XLARGE = "g4dn.xlarge" - G4DN_2XLARGE = "g4dn.2xlarge" - G4DN_4XLARGE = "g4dn.4xlarge" - G4DN_8XLARGE = "g4dn.8xlarge" - G4DN_12XLARGE = "g4dn.12xlarge" - G4DN_16XLARGE = "g4dn.16xlarge" - G4DN_METAL = "g4dn.metal" - G5_XLARGE = "g5.xlarge" - G5_2XLARGE = "g5.2xlarge" - G5_4XLARGE = "g5.4xlarge" - G5_8XLARGE = "g5.8xlarge" - G5_12XLARGE = "g5.12xlarge" - G5_16XLARGE = "g5.16xlarge" - G5_24XLARGE = "g5.24xlarge" - G5_48XLARGE = "g5.48xlarge" - G5G_XLARGE = "g5g.xlarge" - G5G_2XLARGE = "g5g.2xlarge" - G5G_4XLARGE = "g5g.4xlarge" - G5G_8XLARGE = "g5g.8xlarge" - G5G_16XLARGE = "g5g.16xlarge" - G5G_METAL = "g5g.metal" - HI1_4XLARGE = "hi1.4xlarge" - HPC6A_48XLARGE = "hpc6a.48xlarge" - HS1_8XLARGE = "hs1.8xlarge" - H1_2XLARGE = "h1.2xlarge" - H1_4XLARGE = "h1.4xlarge" - H1_8XLARGE = "h1.8xlarge" - H1_16XLARGE = "h1.16xlarge" - I2_XLARGE = "i2.xlarge" - I2_2XLARGE = "i2.2xlarge" - I2_4XLARGE = "i2.4xlarge" - I2_8XLARGE = "i2.8xlarge" - I3_LARGE = "i3.large" - I3_XLARGE = "i3.xlarge" - I3_2XLARGE = "i3.2xlarge" - I3_4XLARGE = "i3.4xlarge" - I3_8XLARGE = "i3.8xlarge" - I3_16XLARGE = "i3.16xlarge" - I3_METAL = "i3.metal" - I3EN_LARGE = "i3en.large" - I3EN_XLARGE = "i3en.xlarge" - I3EN_2XLARGE = "i3en.2xlarge" - I3EN_3XLARGE = "i3en.3xlarge" - I3EN_6XLARGE = "i3en.6xlarge" - I3EN_12XLARGE = "i3en.12xlarge" - I3EN_24XLARGE = "i3en.24xlarge" - I3EN_METAL = "i3en.metal" - IM4GN_LARGE = "im4gn.large" - IM4GN_XLARGE = "im4gn.xlarge" - IM4GN_2XLARGE = "im4gn.2xlarge" - IM4GN_4XLARGE = "im4gn.4xlarge" - IM4GN_8XLARGE = "im4gn.8xlarge" - IM4GN_16XLARGE = "im4gn.16xlarge" - INF1_XLARGE = "inf1.xlarge" - INF1_2XLARGE = "inf1.2xlarge" - INF1_6XLARGE = "inf1.6xlarge" - INF1_24XLARGE = "inf1.24xlarge" - IS4GEN_MEDIUM = "is4gen.medium" - IS4GEN_LARGE = "is4gen.large" - IS4GEN_XLARGE = "is4gen.xlarge" - IS4GEN_2XLARGE = "is4gen.2xlarge" - IS4GEN_4XLARGE = "is4gen.4xlarge" - IS4GEN_8XLARGE = "is4gen.8xlarge" - M1_SMALL = "m1.small" - M1_MEDIUM = "m1.medium" - M1_LARGE = "m1.large" - M1_XLARGE = "m1.xlarge" - M2_XLARGE = "m2.xlarge" - M2_2XLARGE = "m2.2xlarge" - M2_4XLARGE = "m2.4xlarge" - M3_MEDIUM = "m3.medium" - M3_LARGE = "m3.large" - M3_XLARGE = "m3.xlarge" - M3_2XLARGE = "m3.2xlarge" - M4_LARGE = "m4.large" - M4_XLARGE = "m4.xlarge" - M4_2XLARGE = "m4.2xlarge" - M4_4XLARGE = "m4.4xlarge" - M4_10XLARGE = "m4.10xlarge" - M4_16XLARGE = "m4.16xlarge" - M5_LARGE = "m5.large" - M5_XLARGE = "m5.xlarge" - M5_2XLARGE = "m5.2xlarge" - M5_4XLARGE = "m5.4xlarge" - M5_8XLARGE = "m5.8xlarge" - M5_12XLARGE = "m5.12xlarge" - M5_16XLARGE = "m5.16xlarge" - M5_24XLARGE = "m5.24xlarge" - M5_METAL = "m5.metal" - M5A_LARGE = "m5a.large" - M5A_XLARGE = "m5a.xlarge" - M5A_2XLARGE = "m5a.2xlarge" - M5A_4XLARGE = "m5a.4xlarge" - M5A_8XLARGE = "m5a.8xlarge" - M5A_12XLARGE = "m5a.12xlarge" - M5A_16XLARGE = "m5a.16xlarge" - M5A_24XLARGE = "m5a.24xlarge" - M5AD_LARGE = "m5ad.large" - M5AD_XLARGE = "m5ad.xlarge" - M5AD_2XLARGE = "m5ad.2xlarge" - M5AD_4XLARGE = "m5ad.4xlarge" - M5AD_8XLARGE = "m5ad.8xlarge" - M5AD_12XLARGE = "m5ad.12xlarge" - M5AD_16XLARGE = "m5ad.16xlarge" - M5AD_24XLARGE = "m5ad.24xlarge" - M5D_LARGE = "m5d.large" - M5D_XLARGE = "m5d.xlarge" - M5D_2XLARGE = "m5d.2xlarge" - M5D_4XLARGE = "m5d.4xlarge" - M5D_8XLARGE = "m5d.8xlarge" - M5D_12XLARGE = "m5d.12xlarge" - M5D_16XLARGE = "m5d.16xlarge" - M5D_24XLARGE = "m5d.24xlarge" - M5D_METAL = "m5d.metal" - M5DN_LARGE = "m5dn.large" - M5DN_XLARGE = "m5dn.xlarge" - M5DN_2XLARGE = "m5dn.2xlarge" - M5DN_4XLARGE = "m5dn.4xlarge" - M5DN_8XLARGE = "m5dn.8xlarge" - M5DN_12XLARGE = "m5dn.12xlarge" - M5DN_16XLARGE = "m5dn.16xlarge" - M5DN_24XLARGE = "m5dn.24xlarge" - M5DN_METAL = "m5dn.metal" - M5N_LARGE = "m5n.large" - M5N_XLARGE = "m5n.xlarge" - M5N_2XLARGE = "m5n.2xlarge" - M5N_4XLARGE = "m5n.4xlarge" - M5N_8XLARGE = "m5n.8xlarge" - M5N_12XLARGE = "m5n.12xlarge" - M5N_16XLARGE = "m5n.16xlarge" - M5N_24XLARGE = "m5n.24xlarge" - M5N_METAL = "m5n.metal" - M5ZN_LARGE = "m5zn.large" - M5ZN_XLARGE = "m5zn.xlarge" - M5ZN_2XLARGE = "m5zn.2xlarge" - M5ZN_3XLARGE = "m5zn.3xlarge" - M5ZN_6XLARGE = "m5zn.6xlarge" - M5ZN_12XLARGE = "m5zn.12xlarge" - M5ZN_METAL = "m5zn.metal" - M6A_LARGE = "m6a.large" - M6A_XLARGE = "m6a.xlarge" - M6A_2XLARGE = "m6a.2xlarge" - M6A_4XLARGE = "m6a.4xlarge" - M6A_8XLARGE = "m6a.8xlarge" - M6A_12XLARGE = "m6a.12xlarge" - M6A_16XLARGE = "m6a.16xlarge" - M6A_24XLARGE = "m6a.24xlarge" - M6A_32XLARGE = "m6a.32xlarge" - M6A_48XLARGE = "m6a.48xlarge" - M6G_METAL = "m6g.metal" - M6G_MEDIUM = "m6g.medium" - M6G_LARGE = "m6g.large" - M6G_XLARGE = "m6g.xlarge" - M6G_2XLARGE = "m6g.2xlarge" - M6G_4XLARGE = "m6g.4xlarge" - M6G_8XLARGE = "m6g.8xlarge" - M6G_12XLARGE = "m6g.12xlarge" - M6G_16XLARGE = "m6g.16xlarge" - M6GD_METAL = "m6gd.metal" - M6GD_MEDIUM = "m6gd.medium" - M6GD_LARGE = "m6gd.large" - M6GD_XLARGE = "m6gd.xlarge" - M6GD_2XLARGE = "m6gd.2xlarge" - M6GD_4XLARGE = "m6gd.4xlarge" - M6GD_8XLARGE = "m6gd.8xlarge" - M6GD_12XLARGE = "m6gd.12xlarge" - M6GD_16XLARGE = "m6gd.16xlarge" - M6I_LARGE = "m6i.large" - M6I_XLARGE = "m6i.xlarge" - M6I_2XLARGE = "m6i.2xlarge" - M6I_4XLARGE = "m6i.4xlarge" - M6I_8XLARGE = "m6i.8xlarge" - M6I_12XLARGE = "m6i.12xlarge" - M6I_16XLARGE = "m6i.16xlarge" - M6I_24XLARGE = "m6i.24xlarge" - M6I_32XLARGE = "m6i.32xlarge" - M6I_METAL = "m6i.metal" - MAC1_METAL = "mac1.metal" - P2_XLARGE = "p2.xlarge" - P2_8XLARGE = "p2.8xlarge" - P2_16XLARGE = "p2.16xlarge" - P3_2XLARGE = "p3.2xlarge" - P3_8XLARGE = "p3.8xlarge" - P3_16XLARGE = "p3.16xlarge" - P3DN_24XLARGE = "p3dn.24xlarge" - P4D_24XLARGE = "p4d.24xlarge" - R3_LARGE = "r3.large" - R3_XLARGE = "r3.xlarge" - R3_2XLARGE = "r3.2xlarge" - R3_4XLARGE = "r3.4xlarge" - R3_8XLARGE = "r3.8xlarge" - R4_LARGE = "r4.large" - R4_XLARGE = "r4.xlarge" - R4_2XLARGE = "r4.2xlarge" - R4_4XLARGE = "r4.4xlarge" - R4_8XLARGE = "r4.8xlarge" - R4_16XLARGE = "r4.16xlarge" - R5_LARGE = "r5.large" - R5_XLARGE = "r5.xlarge" - R5_2XLARGE = "r5.2xlarge" - R5_4XLARGE = "r5.4xlarge" - R5_8XLARGE = "r5.8xlarge" - R5_12XLARGE = "r5.12xlarge" - R5_16XLARGE = "r5.16xlarge" - R5_24XLARGE = "r5.24xlarge" - R5_METAL = "r5.metal" - R5A_LARGE = "r5a.large" - R5A_XLARGE = "r5a.xlarge" - R5A_2XLARGE = "r5a.2xlarge" - R5A_4XLARGE = "r5a.4xlarge" - R5A_8XLARGE = "r5a.8xlarge" - R5A_12XLARGE = "r5a.12xlarge" - R5A_16XLARGE = "r5a.16xlarge" - R5A_24XLARGE = "r5a.24xlarge" - R5AD_LARGE = "r5ad.large" - R5AD_XLARGE = "r5ad.xlarge" - R5AD_2XLARGE = "r5ad.2xlarge" - R5AD_4XLARGE = "r5ad.4xlarge" - R5AD_8XLARGE = "r5ad.8xlarge" - R5AD_12XLARGE = "r5ad.12xlarge" - R5AD_16XLARGE = "r5ad.16xlarge" - R5AD_24XLARGE = "r5ad.24xlarge" - R5B_LARGE = "r5b.large" - R5B_XLARGE = "r5b.xlarge" - R5B_2XLARGE = "r5b.2xlarge" - R5B_4XLARGE = "r5b.4xlarge" - R5B_8XLARGE = "r5b.8xlarge" - R5B_12XLARGE = "r5b.12xlarge" - R5B_16XLARGE = "r5b.16xlarge" - R5B_24XLARGE = "r5b.24xlarge" - R5B_METAL = "r5b.metal" - R5D_LARGE = "r5d.large" - R5D_XLARGE = "r5d.xlarge" - R5D_2XLARGE = "r5d.2xlarge" - R5D_4XLARGE = "r5d.4xlarge" - R5D_8XLARGE = "r5d.8xlarge" - R5D_12XLARGE = "r5d.12xlarge" - R5D_16XLARGE = "r5d.16xlarge" - R5D_24XLARGE = "r5d.24xlarge" - R5D_METAL = "r5d.metal" - R5DN_LARGE = "r5dn.large" - R5DN_XLARGE = "r5dn.xlarge" - R5DN_2XLARGE = "r5dn.2xlarge" - R5DN_4XLARGE = "r5dn.4xlarge" - R5DN_8XLARGE = "r5dn.8xlarge" - R5DN_12XLARGE = "r5dn.12xlarge" - R5DN_16XLARGE = "r5dn.16xlarge" - R5DN_24XLARGE = "r5dn.24xlarge" - R5DN_METAL = "r5dn.metal" - R5N_LARGE = "r5n.large" - R5N_XLARGE = "r5n.xlarge" - R5N_2XLARGE = "r5n.2xlarge" - R5N_4XLARGE = "r5n.4xlarge" - R5N_8XLARGE = "r5n.8xlarge" - R5N_12XLARGE = "r5n.12xlarge" - R5N_16XLARGE = "r5n.16xlarge" - R5N_24XLARGE = "r5n.24xlarge" - R5N_METAL = "r5n.metal" - R6G_MEDIUM = "r6g.medium" - R6G_LARGE = "r6g.large" - R6G_XLARGE = "r6g.xlarge" - R6G_2XLARGE = "r6g.2xlarge" - R6G_4XLARGE = "r6g.4xlarge" - R6G_8XLARGE = "r6g.8xlarge" - R6G_12XLARGE = "r6g.12xlarge" - R6G_16XLARGE = "r6g.16xlarge" - R6G_METAL = "r6g.metal" - R6GD_MEDIUM = "r6gd.medium" - R6GD_LARGE = "r6gd.large" - R6GD_XLARGE = "r6gd.xlarge" - R6GD_2XLARGE = "r6gd.2xlarge" - R6GD_4XLARGE = "r6gd.4xlarge" - R6GD_8XLARGE = "r6gd.8xlarge" - R6GD_12XLARGE = "r6gd.12xlarge" - R6GD_16XLARGE = "r6gd.16xlarge" - R6GD_METAL = "r6gd.metal" - R6I_LARGE = "r6i.large" - R6I_XLARGE = "r6i.xlarge" - R6I_2XLARGE = "r6i.2xlarge" - R6I_4XLARGE = "r6i.4xlarge" - R6I_8XLARGE = "r6i.8xlarge" - R6I_12XLARGE = "r6i.12xlarge" - R6I_16XLARGE = "r6i.16xlarge" - R6I_24XLARGE = "r6i.24xlarge" - R6I_32XLARGE = "r6i.32xlarge" - R6I_METAL = "r6i.metal" - T1_MICRO = "t1.micro" - T2_NANO = "t2.nano" - T2_MICRO = "t2.micro" - T2_SMALL = "t2.small" - T2_MEDIUM = "t2.medium" - T2_LARGE = "t2.large" - T2_XLARGE = "t2.xlarge" - T2_2XLARGE = "t2.2xlarge" - T3_NANO = "t3.nano" - T3_MICRO = "t3.micro" - T3_SMALL = "t3.small" - T3_MEDIUM = "t3.medium" - T3_LARGE = "t3.large" - T3_XLARGE = "t3.xlarge" - T3_2XLARGE = "t3.2xlarge" - T3A_NANO = "t3a.nano" - T3A_MICRO = "t3a.micro" - T3A_SMALL = "t3a.small" - T3A_MEDIUM = "t3a.medium" - T3A_LARGE = "t3a.large" - T3A_XLARGE = "t3a.xlarge" - T3A_2XLARGE = "t3a.2xlarge" - T4G_NANO = "t4g.nano" - T4G_MICRO = "t4g.micro" - T4G_SMALL = "t4g.small" - T4G_MEDIUM = "t4g.medium" - T4G_LARGE = "t4g.large" - T4G_XLARGE = "t4g.xlarge" - T4G_2XLARGE = "t4g.2xlarge" - U_6TB1_56XLARGE = "u-6tb1.56xlarge" - U_6TB1_112XLARGE = "u-6tb1.112xlarge" - U_9TB1_112XLARGE = "u-9tb1.112xlarge" - U_12TB1_112XLARGE = "u-12tb1.112xlarge" - U_6TB1_METAL = "u-6tb1.metal" - U_9TB1_METAL = "u-9tb1.metal" - U_12TB1_METAL = "u-12tb1.metal" - U_18TB1_METAL = "u-18tb1.metal" - U_24TB1_METAL = "u-24tb1.metal" - VT1_3XLARGE = "vt1.3xlarge" - VT1_6XLARGE = "vt1.6xlarge" - VT1_24XLARGE = "vt1.24xlarge" - X1_16XLARGE = "x1.16xlarge" - X1_32XLARGE = "x1.32xlarge" - X1E_XLARGE = "x1e.xlarge" - X1E_2XLARGE = "x1e.2xlarge" - X1E_4XLARGE = "x1e.4xlarge" - X1E_8XLARGE = "x1e.8xlarge" - X1E_16XLARGE = "x1e.16xlarge" - X1E_32XLARGE = "x1e.32xlarge" - X2IEZN_2XLARGE = "x2iezn.2xlarge" - X2IEZN_4XLARGE = "x2iezn.4xlarge" - X2IEZN_6XLARGE = "x2iezn.6xlarge" - X2IEZN_8XLARGE = "x2iezn.8xlarge" - X2IEZN_12XLARGE = "x2iezn.12xlarge" - X2IEZN_METAL = "x2iezn.metal" - X2GD_MEDIUM = "x2gd.medium" - X2GD_LARGE = "x2gd.large" - X2GD_XLARGE = "x2gd.xlarge" - X2GD_2XLARGE = "x2gd.2xlarge" - X2GD_4XLARGE = "x2gd.4xlarge" - X2GD_8XLARGE = "x2gd.8xlarge" - X2GD_12XLARGE = "x2gd.12xlarge" - X2GD_16XLARGE = "x2gd.16xlarge" - X2GD_METAL = "x2gd.metal" - Z1D_LARGE = "z1d.large" - Z1D_XLARGE = "z1d.xlarge" - Z1D_2XLARGE = "z1d.2xlarge" - Z1D_3XLARGE = "z1d.3xlarge" - Z1D_6XLARGE = "z1d.6xlarge" - Z1D_12XLARGE = "z1d.12xlarge" - Z1D_METAL = "z1d.metal" - X2IDN_16XLARGE = "x2idn.16xlarge" - X2IDN_24XLARGE = "x2idn.24xlarge" - X2IDN_32XLARGE = "x2idn.32xlarge" - X2IEDN_XLARGE = "x2iedn.xlarge" - X2IEDN_2XLARGE = "x2iedn.2xlarge" - X2IEDN_4XLARGE = "x2iedn.4xlarge" - X2IEDN_8XLARGE = "x2iedn.8xlarge" - X2IEDN_16XLARGE = "x2iedn.16xlarge" - X2IEDN_24XLARGE = "x2iedn.24xlarge" - X2IEDN_32XLARGE = "x2iedn.32xlarge" - C6A_LARGE = "c6a.large" - C6A_XLARGE = "c6a.xlarge" - C6A_2XLARGE = "c6a.2xlarge" - C6A_4XLARGE = "c6a.4xlarge" - C6A_8XLARGE = "c6a.8xlarge" - C6A_12XLARGE = "c6a.12xlarge" - C6A_16XLARGE = "c6a.16xlarge" - C6A_24XLARGE = "c6a.24xlarge" - C6A_32XLARGE = "c6a.32xlarge" - C6A_48XLARGE = "c6a.48xlarge" - C6A_METAL = "c6a.metal" - M6A_METAL = "m6a.metal" - I4I_LARGE = "i4i.large" - I4I_XLARGE = "i4i.xlarge" - I4I_2XLARGE = "i4i.2xlarge" - I4I_4XLARGE = "i4i.4xlarge" - I4I_8XLARGE = "i4i.8xlarge" - I4I_16XLARGE = "i4i.16xlarge" - I4I_32XLARGE = "i4i.32xlarge" - I4I_METAL = "i4i.metal" - X2IDN_METAL = "x2idn.metal" - X2IEDN_METAL = "x2iedn.metal" - C7G_MEDIUM = "c7g.medium" - C7G_LARGE = "c7g.large" - C7G_XLARGE = "c7g.xlarge" - C7G_2XLARGE = "c7g.2xlarge" - C7G_4XLARGE = "c7g.4xlarge" - C7G_8XLARGE = "c7g.8xlarge" - C7G_12XLARGE = "c7g.12xlarge" - C7G_16XLARGE = "c7g.16xlarge" - MAC2_METAL = "mac2.metal" - C6ID_LARGE = "c6id.large" - C6ID_XLARGE = "c6id.xlarge" - C6ID_2XLARGE = "c6id.2xlarge" - C6ID_4XLARGE = "c6id.4xlarge" - C6ID_8XLARGE = "c6id.8xlarge" - C6ID_12XLARGE = "c6id.12xlarge" - C6ID_16XLARGE = "c6id.16xlarge" - C6ID_24XLARGE = "c6id.24xlarge" - C6ID_32XLARGE = "c6id.32xlarge" - C6ID_METAL = "c6id.metal" - M6ID_LARGE = "m6id.large" - M6ID_XLARGE = "m6id.xlarge" - M6ID_2XLARGE = "m6id.2xlarge" - M6ID_4XLARGE = "m6id.4xlarge" - M6ID_8XLARGE = "m6id.8xlarge" - M6ID_12XLARGE = "m6id.12xlarge" - M6ID_16XLARGE = "m6id.16xlarge" - M6ID_24XLARGE = "m6id.24xlarge" - M6ID_32XLARGE = "m6id.32xlarge" - M6ID_METAL = "m6id.metal" - R6ID_LARGE = "r6id.large" - R6ID_XLARGE = "r6id.xlarge" - R6ID_2XLARGE = "r6id.2xlarge" - R6ID_4XLARGE = "r6id.4xlarge" - R6ID_8XLARGE = "r6id.8xlarge" - R6ID_12XLARGE = "r6id.12xlarge" - R6ID_16XLARGE = "r6id.16xlarge" - R6ID_24XLARGE = "r6id.24xlarge" - R6ID_32XLARGE = "r6id.32xlarge" - R6ID_METAL = "r6id.metal" - R6A_LARGE = "r6a.large" - R6A_XLARGE = "r6a.xlarge" - R6A_2XLARGE = "r6a.2xlarge" - R6A_4XLARGE = "r6a.4xlarge" - R6A_8XLARGE = "r6a.8xlarge" - R6A_12XLARGE = "r6a.12xlarge" - R6A_16XLARGE = "r6a.16xlarge" - R6A_24XLARGE = "r6a.24xlarge" - R6A_32XLARGE = "r6a.32xlarge" - R6A_48XLARGE = "r6a.48xlarge" - R6A_METAL = "r6a.metal" - P4DE_24XLARGE = "p4de.24xlarge" - U_3TB1_56XLARGE = "u-3tb1.56xlarge" - U_18TB1_112XLARGE = "u-18tb1.112xlarge" - U_24TB1_112XLARGE = "u-24tb1.112xlarge" - TRN1_2XLARGE = "trn1.2xlarge" - TRN1_32XLARGE = "trn1.32xlarge" - HPC6ID_32XLARGE = "hpc6id.32xlarge" - C6IN_LARGE = "c6in.large" - C6IN_XLARGE = "c6in.xlarge" - C6IN_2XLARGE = "c6in.2xlarge" - C6IN_4XLARGE = "c6in.4xlarge" - C6IN_8XLARGE = "c6in.8xlarge" - C6IN_12XLARGE = "c6in.12xlarge" - C6IN_16XLARGE = "c6in.16xlarge" - C6IN_24XLARGE = "c6in.24xlarge" - C6IN_32XLARGE = "c6in.32xlarge" - M6IN_LARGE = "m6in.large" - M6IN_XLARGE = "m6in.xlarge" - M6IN_2XLARGE = "m6in.2xlarge" - M6IN_4XLARGE = "m6in.4xlarge" - M6IN_8XLARGE = "m6in.8xlarge" - M6IN_12XLARGE = "m6in.12xlarge" - M6IN_16XLARGE = "m6in.16xlarge" - M6IN_24XLARGE = "m6in.24xlarge" - M6IN_32XLARGE = "m6in.32xlarge" - M6IDN_LARGE = "m6idn.large" - M6IDN_XLARGE = "m6idn.xlarge" - M6IDN_2XLARGE = "m6idn.2xlarge" - M6IDN_4XLARGE = "m6idn.4xlarge" - M6IDN_8XLARGE = "m6idn.8xlarge" - M6IDN_12XLARGE = "m6idn.12xlarge" - M6IDN_16XLARGE = "m6idn.16xlarge" - M6IDN_24XLARGE = "m6idn.24xlarge" - M6IDN_32XLARGE = "m6idn.32xlarge" - R6IN_LARGE = "r6in.large" - R6IN_XLARGE = "r6in.xlarge" - R6IN_2XLARGE = "r6in.2xlarge" - R6IN_4XLARGE = "r6in.4xlarge" - R6IN_8XLARGE = "r6in.8xlarge" - R6IN_12XLARGE = "r6in.12xlarge" - R6IN_16XLARGE = "r6in.16xlarge" - R6IN_24XLARGE = "r6in.24xlarge" - R6IN_32XLARGE = "r6in.32xlarge" - R6IDN_LARGE = "r6idn.large" - R6IDN_XLARGE = "r6idn.xlarge" - R6IDN_2XLARGE = "r6idn.2xlarge" - R6IDN_4XLARGE = "r6idn.4xlarge" - R6IDN_8XLARGE = "r6idn.8xlarge" - R6IDN_12XLARGE = "r6idn.12xlarge" - R6IDN_16XLARGE = "r6idn.16xlarge" - R6IDN_24XLARGE = "r6idn.24xlarge" - R6IDN_32XLARGE = "r6idn.32xlarge" - C7G_METAL = "c7g.metal" - M7G_MEDIUM = "m7g.medium" - M7G_LARGE = "m7g.large" - M7G_XLARGE = "m7g.xlarge" - M7G_2XLARGE = "m7g.2xlarge" - M7G_4XLARGE = "m7g.4xlarge" - M7G_8XLARGE = "m7g.8xlarge" - M7G_12XLARGE = "m7g.12xlarge" - M7G_16XLARGE = "m7g.16xlarge" - M7G_METAL = "m7g.metal" - R7G_MEDIUM = "r7g.medium" - R7G_LARGE = "r7g.large" - R7G_XLARGE = "r7g.xlarge" - R7G_2XLARGE = "r7g.2xlarge" - R7G_4XLARGE = "r7g.4xlarge" - R7G_8XLARGE = "r7g.8xlarge" - R7G_12XLARGE = "r7g.12xlarge" - R7G_16XLARGE = "r7g.16xlarge" - R7G_METAL = "r7g.metal" - C6IN_METAL = "c6in.metal" - M6IN_METAL = "m6in.metal" - M6IDN_METAL = "m6idn.metal" - R6IN_METAL = "r6in.metal" - R6IDN_METAL = "r6idn.metal" - INF2_XLARGE = "inf2.xlarge" - INF2_8XLARGE = "inf2.8xlarge" - INF2_24XLARGE = "inf2.24xlarge" - INF2_48XLARGE = "inf2.48xlarge" - TRN1N_32XLARGE = "trn1n.32xlarge" - I4G_LARGE = "i4g.large" - I4G_XLARGE = "i4g.xlarge" - I4G_2XLARGE = "i4g.2xlarge" - I4G_4XLARGE = "i4g.4xlarge" - I4G_8XLARGE = "i4g.8xlarge" - I4G_16XLARGE = "i4g.16xlarge" - HPC7G_4XLARGE = "hpc7g.4xlarge" - HPC7G_8XLARGE = "hpc7g.8xlarge" - HPC7G_16XLARGE = "hpc7g.16xlarge" - C7GN_MEDIUM = "c7gn.medium" - C7GN_LARGE = "c7gn.large" - C7GN_XLARGE = "c7gn.xlarge" - C7GN_2XLARGE = "c7gn.2xlarge" - C7GN_4XLARGE = "c7gn.4xlarge" - C7GN_8XLARGE = "c7gn.8xlarge" - C7GN_12XLARGE = "c7gn.12xlarge" - C7GN_16XLARGE = "c7gn.16xlarge" - P5_48XLARGE = "p5.48xlarge" - M7I_LARGE = "m7i.large" - M7I_XLARGE = "m7i.xlarge" - M7I_2XLARGE = "m7i.2xlarge" - M7I_4XLARGE = "m7i.4xlarge" - M7I_8XLARGE = "m7i.8xlarge" - M7I_12XLARGE = "m7i.12xlarge" - M7I_16XLARGE = "m7i.16xlarge" - M7I_24XLARGE = "m7i.24xlarge" - M7I_48XLARGE = "m7i.48xlarge" - M7I_FLEX_LARGE = "m7i-flex.large" - M7I_FLEX_XLARGE = "m7i-flex.xlarge" - M7I_FLEX_2XLARGE = "m7i-flex.2xlarge" - M7I_FLEX_4XLARGE = "m7i-flex.4xlarge" - M7I_FLEX_8XLARGE = "m7i-flex.8xlarge" - M7A_MEDIUM = "m7a.medium" - M7A_LARGE = "m7a.large" - M7A_XLARGE = "m7a.xlarge" - M7A_2XLARGE = "m7a.2xlarge" - M7A_4XLARGE = "m7a.4xlarge" - M7A_8XLARGE = "m7a.8xlarge" - M7A_12XLARGE = "m7a.12xlarge" - M7A_16XLARGE = "m7a.16xlarge" - M7A_24XLARGE = "m7a.24xlarge" - M7A_32XLARGE = "m7a.32xlarge" - M7A_48XLARGE = "m7a.48xlarge" - M7A_METAL_48XL = "m7a.metal-48xl" - HPC7A_12XLARGE = "hpc7a.12xlarge" - HPC7A_24XLARGE = "hpc7a.24xlarge" - HPC7A_48XLARGE = "hpc7a.48xlarge" - HPC7A_96XLARGE = "hpc7a.96xlarge" - C7GD_MEDIUM = "c7gd.medium" - C7GD_LARGE = "c7gd.large" - C7GD_XLARGE = "c7gd.xlarge" - C7GD_2XLARGE = "c7gd.2xlarge" - C7GD_4XLARGE = "c7gd.4xlarge" - C7GD_8XLARGE = "c7gd.8xlarge" - C7GD_12XLARGE = "c7gd.12xlarge" - C7GD_16XLARGE = "c7gd.16xlarge" - M7GD_MEDIUM = "m7gd.medium" - M7GD_LARGE = "m7gd.large" - M7GD_XLARGE = "m7gd.xlarge" - M7GD_2XLARGE = "m7gd.2xlarge" - M7GD_4XLARGE = "m7gd.4xlarge" - M7GD_8XLARGE = "m7gd.8xlarge" - M7GD_12XLARGE = "m7gd.12xlarge" - M7GD_16XLARGE = "m7gd.16xlarge" - R7GD_MEDIUM = "r7gd.medium" - R7GD_LARGE = "r7gd.large" - R7GD_XLARGE = "r7gd.xlarge" - R7GD_2XLARGE = "r7gd.2xlarge" - R7GD_4XLARGE = "r7gd.4xlarge" - R7GD_8XLARGE = "r7gd.8xlarge" - R7GD_12XLARGE = "r7gd.12xlarge" - R7GD_16XLARGE = "r7gd.16xlarge" - R7A_MEDIUM = "r7a.medium" - R7A_LARGE = "r7a.large" - R7A_XLARGE = "r7a.xlarge" - R7A_2XLARGE = "r7a.2xlarge" - R7A_4XLARGE = "r7a.4xlarge" - R7A_8XLARGE = "r7a.8xlarge" - R7A_12XLARGE = "r7a.12xlarge" - R7A_16XLARGE = "r7a.16xlarge" - R7A_24XLARGE = "r7a.24xlarge" - R7A_32XLARGE = "r7a.32xlarge" - R7A_48XLARGE = "r7a.48xlarge" - C7I_LARGE = "c7i.large" - C7I_XLARGE = "c7i.xlarge" - C7I_2XLARGE = "c7i.2xlarge" - C7I_4XLARGE = "c7i.4xlarge" - C7I_8XLARGE = "c7i.8xlarge" - C7I_12XLARGE = "c7i.12xlarge" - C7I_16XLARGE = "c7i.16xlarge" - C7I_24XLARGE = "c7i.24xlarge" - C7I_48XLARGE = "c7i.48xlarge" - MAC2_M2PRO_METAL = "mac2-m2pro.metal" - R7IZ_LARGE = "r7iz.large" - R7IZ_XLARGE = "r7iz.xlarge" - R7IZ_2XLARGE = "r7iz.2xlarge" - R7IZ_4XLARGE = "r7iz.4xlarge" - R7IZ_8XLARGE = "r7iz.8xlarge" - R7IZ_12XLARGE = "r7iz.12xlarge" - R7IZ_16XLARGE = "r7iz.16xlarge" - R7IZ_32XLARGE = "r7iz.32xlarge" - C7A_MEDIUM = "c7a.medium" - C7A_LARGE = "c7a.large" - C7A_XLARGE = "c7a.xlarge" - C7A_2XLARGE = "c7a.2xlarge" - C7A_4XLARGE = "c7a.4xlarge" - C7A_8XLARGE = "c7a.8xlarge" - C7A_12XLARGE = "c7a.12xlarge" - C7A_16XLARGE = "c7a.16xlarge" - C7A_24XLARGE = "c7a.24xlarge" - C7A_32XLARGE = "c7a.32xlarge" - C7A_48XLARGE = "c7a.48xlarge" - C7A_METAL_48XL = "c7a.metal-48xl" - R7A_METAL_48XL = "r7a.metal-48xl" - R7I_LARGE = "r7i.large" - R7I_XLARGE = "r7i.xlarge" - R7I_2XLARGE = "r7i.2xlarge" - R7I_4XLARGE = "r7i.4xlarge" - R7I_8XLARGE = "r7i.8xlarge" - R7I_12XLARGE = "r7i.12xlarge" - R7I_16XLARGE = "r7i.16xlarge" - R7I_24XLARGE = "r7i.24xlarge" - R7I_48XLARGE = "r7i.48xlarge" - DL2Q_24XLARGE = "dl2q.24xlarge" - MAC2_M2_METAL = "mac2-m2.metal" - I4I_12XLARGE = "i4i.12xlarge" - I4I_24XLARGE = "i4i.24xlarge" - C7I_METAL_24XL = "c7i.metal-24xl" - C7I_METAL_48XL = "c7i.metal-48xl" - M7I_METAL_24XL = "m7i.metal-24xl" - M7I_METAL_48XL = "m7i.metal-48xl" - R7I_METAL_24XL = "r7i.metal-24xl" - R7I_METAL_48XL = "r7i.metal-48xl" - R7IZ_METAL_16XL = "r7iz.metal-16xl" - R7IZ_METAL_32XL = "r7iz.metal-32xl" - C7GD_METAL = "c7gd.metal" - M7GD_METAL = "m7gd.metal" - R7GD_METAL = "r7gd.metal" - G6_XLARGE = "g6.xlarge" - G6_2XLARGE = "g6.2xlarge" - G6_4XLARGE = "g6.4xlarge" - G6_8XLARGE = "g6.8xlarge" - G6_12XLARGE = "g6.12xlarge" - G6_16XLARGE = "g6.16xlarge" - G6_24XLARGE = "g6.24xlarge" - G6_48XLARGE = "g6.48xlarge" - GR6_4XLARGE = "gr6.4xlarge" - GR6_8XLARGE = "gr6.8xlarge" - C7I_FLEX_LARGE = "c7i-flex.large" - C7I_FLEX_XLARGE = "c7i-flex.xlarge" - C7I_FLEX_2XLARGE = "c7i-flex.2xlarge" - C7I_FLEX_4XLARGE = "c7i-flex.4xlarge" - C7I_FLEX_8XLARGE = "c7i-flex.8xlarge" - U7I_12TB_224XLARGE = "u7i-12tb.224xlarge" - U7IN_16TB_224XLARGE = "u7in-16tb.224xlarge" - U7IN_24TB_224XLARGE = "u7in-24tb.224xlarge" - U7IN_32TB_224XLARGE = "u7in-32tb.224xlarge" - U7IB_12TB_224XLARGE = "u7ib-12tb.224xlarge" - C7GN_METAL = "c7gn.metal" - R8G_MEDIUM = "r8g.medium" - R8G_LARGE = "r8g.large" - R8G_XLARGE = "r8g.xlarge" - R8G_2XLARGE = "r8g.2xlarge" - R8G_4XLARGE = "r8g.4xlarge" - R8G_8XLARGE = "r8g.8xlarge" - R8G_12XLARGE = "r8g.12xlarge" - R8G_16XLARGE = "r8g.16xlarge" - R8G_24XLARGE = "r8g.24xlarge" - R8G_48XLARGE = "r8g.48xlarge" - R8G_METAL_24XL = "r8g.metal-24xl" - R8G_METAL_48XL = "r8g.metal-48xl" - MAC2_M1ULTRA_METAL = "mac2-m1ultra.metal" - G6E_XLARGE = "g6e.xlarge" - G6E_2XLARGE = "g6e.2xlarge" - G6E_4XLARGE = "g6e.4xlarge" - G6E_8XLARGE = "g6e.8xlarge" - G6E_12XLARGE = "g6e.12xlarge" - G6E_16XLARGE = "g6e.16xlarge" - G6E_24XLARGE = "g6e.24xlarge" - G6E_48XLARGE = "g6e.48xlarge" - C8G_MEDIUM = "c8g.medium" - C8G_LARGE = "c8g.large" - C8G_XLARGE = "c8g.xlarge" - C8G_2XLARGE = "c8g.2xlarge" - C8G_4XLARGE = "c8g.4xlarge" - C8G_8XLARGE = "c8g.8xlarge" - C8G_12XLARGE = "c8g.12xlarge" - C8G_16XLARGE = "c8g.16xlarge" - C8G_24XLARGE = "c8g.24xlarge" - C8G_48XLARGE = "c8g.48xlarge" - C8G_METAL_24XL = "c8g.metal-24xl" - C8G_METAL_48XL = "c8g.metal-48xl" - M8G_MEDIUM = "m8g.medium" - M8G_LARGE = "m8g.large" - M8G_XLARGE = "m8g.xlarge" - M8G_2XLARGE = "m8g.2xlarge" - M8G_4XLARGE = "m8g.4xlarge" - M8G_8XLARGE = "m8g.8xlarge" - M8G_12XLARGE = "m8g.12xlarge" - M8G_16XLARGE = "m8g.16xlarge" - M8G_24XLARGE = "m8g.24xlarge" - M8G_48XLARGE = "m8g.48xlarge" - M8G_METAL_24XL = "m8g.metal-24xl" - M8G_METAL_48XL = "m8g.metal-48xl" - X8G_MEDIUM = "x8g.medium" - X8G_LARGE = "x8g.large" - X8G_XLARGE = "x8g.xlarge" - X8G_2XLARGE = "x8g.2xlarge" - X8G_4XLARGE = "x8g.4xlarge" - X8G_8XLARGE = "x8g.8xlarge" - X8G_12XLARGE = "x8g.12xlarge" - X8G_16XLARGE = "x8g.16xlarge" - X8G_24XLARGE = "x8g.24xlarge" - X8G_48XLARGE = "x8g.48xlarge" - X8G_METAL_24XL = "x8g.metal-24xl" - X8G_METAL_48XL = "x8g.metal-48xl" - I7IE_LARGE = "i7ie.large" - I7IE_XLARGE = "i7ie.xlarge" - I7IE_2XLARGE = "i7ie.2xlarge" - I7IE_3XLARGE = "i7ie.3xlarge" - I7IE_6XLARGE = "i7ie.6xlarge" - I7IE_12XLARGE = "i7ie.12xlarge" - I7IE_18XLARGE = "i7ie.18xlarge" - I7IE_24XLARGE = "i7ie.24xlarge" - I7IE_48XLARGE = "i7ie.48xlarge" - I8G_LARGE = "i8g.large" - I8G_XLARGE = "i8g.xlarge" - I8G_2XLARGE = "i8g.2xlarge" - I8G_4XLARGE = "i8g.4xlarge" - I8G_8XLARGE = "i8g.8xlarge" - I8G_12XLARGE = "i8g.12xlarge" - I8G_16XLARGE = "i8g.16xlarge" - I8G_24XLARGE = "i8g.24xlarge" - I8G_METAL_24XL = "i8g.metal-24xl" - U7I_6TB_112XLARGE = "u7i-6tb.112xlarge" - U7I_8TB_112XLARGE = "u7i-8tb.112xlarge" - U7INH_32TB_480XLARGE = "u7inh-32tb.480xlarge" - P5E_48XLARGE = "p5e.48xlarge" - P5EN_48XLARGE = "p5en.48xlarge" - F2_12XLARGE = "f2.12xlarge" - F2_48XLARGE = "f2.48xlarge" - TRN2_48XLARGE = "trn2.48xlarge" - C7I_FLEX_12XLARGE = "c7i-flex.12xlarge" - C7I_FLEX_16XLARGE = "c7i-flex.16xlarge" - M7I_FLEX_12XLARGE = "m7i-flex.12xlarge" - M7I_FLEX_16XLARGE = "m7i-flex.16xlarge" - I7IE_METAL_24XL = "i7ie.metal-24xl" - I7IE_METAL_48XL = "i7ie.metal-48xl" - I8G_48XLARGE = "i8g.48xlarge" - C8GD_MEDIUM = "c8gd.medium" - C8GD_LARGE = "c8gd.large" - C8GD_XLARGE = "c8gd.xlarge" - C8GD_2XLARGE = "c8gd.2xlarge" - C8GD_4XLARGE = "c8gd.4xlarge" - C8GD_8XLARGE = "c8gd.8xlarge" - C8GD_12XLARGE = "c8gd.12xlarge" - C8GD_16XLARGE = "c8gd.16xlarge" - C8GD_24XLARGE = "c8gd.24xlarge" - C8GD_48XLARGE = "c8gd.48xlarge" - C8GD_METAL_24XL = "c8gd.metal-24xl" - C8GD_METAL_48XL = "c8gd.metal-48xl" - I7I_LARGE = "i7i.large" - I7I_XLARGE = "i7i.xlarge" - I7I_2XLARGE = "i7i.2xlarge" - I7I_4XLARGE = "i7i.4xlarge" - I7I_8XLARGE = "i7i.8xlarge" - I7I_12XLARGE = "i7i.12xlarge" - I7I_16XLARGE = "i7i.16xlarge" - I7I_24XLARGE = "i7i.24xlarge" - I7I_48XLARGE = "i7i.48xlarge" - I7I_METAL_24XL = "i7i.metal-24xl" - I7I_METAL_48XL = "i7i.metal-48xl" - P6_B200_48XLARGE = "p6-b200.48xlarge" - M8GD_MEDIUM = "m8gd.medium" - M8GD_LARGE = "m8gd.large" - M8GD_XLARGE = "m8gd.xlarge" - M8GD_2XLARGE = "m8gd.2xlarge" - M8GD_4XLARGE = "m8gd.4xlarge" - M8GD_8XLARGE = "m8gd.8xlarge" - M8GD_12XLARGE = "m8gd.12xlarge" - M8GD_16XLARGE = "m8gd.16xlarge" - M8GD_24XLARGE = "m8gd.24xlarge" - M8GD_48XLARGE = "m8gd.48xlarge" - M8GD_METAL_24XL = "m8gd.metal-24xl" - M8GD_METAL_48XL = "m8gd.metal-48xl" - R8GD_MEDIUM = "r8gd.medium" - R8GD_LARGE = "r8gd.large" - R8GD_XLARGE = "r8gd.xlarge" - R8GD_2XLARGE = "r8gd.2xlarge" - R8GD_4XLARGE = "r8gd.4xlarge" - R8GD_8XLARGE = "r8gd.8xlarge" - R8GD_12XLARGE = "r8gd.12xlarge" - R8GD_16XLARGE = "r8gd.16xlarge" - R8GD_24XLARGE = "r8gd.24xlarge" - R8GD_48XLARGE = "r8gd.48xlarge" - R8GD_METAL_24XL = "r8gd.metal-24xl" - R8GD_METAL_48XL = "r8gd.metal-48xl" - C8GN_MEDIUM = "c8gn.medium" - C8GN_LARGE = "c8gn.large" - C8GN_XLARGE = "c8gn.xlarge" - C8GN_2XLARGE = "c8gn.2xlarge" - C8GN_4XLARGE = "c8gn.4xlarge" - C8GN_8XLARGE = "c8gn.8xlarge" - C8GN_12XLARGE = "c8gn.12xlarge" - C8GN_16XLARGE = "c8gn.16xlarge" - C8GN_24XLARGE = "c8gn.24xlarge" - C8GN_48XLARGE = "c8gn.48xlarge" - C8GN_METAL_24XL = "c8gn.metal-24xl" - C8GN_METAL_48XL = "c8gn.metal-48xl" - F2_6XLARGE = "f2.6xlarge" - P6E_GB200_36XLARGE = "p6e-gb200.36xlarge" - G6F_LARGE = "g6f.large" - G6F_XLARGE = "g6f.xlarge" - G6F_2XLARGE = "g6f.2xlarge" - G6F_4XLARGE = "g6f.4xlarge" - GR6F_4XLARGE = "gr6f.4xlarge" - P5_4XLARGE = "p5.4xlarge" - R8I_LARGE = "r8i.large" - R8I_XLARGE = "r8i.xlarge" - R8I_2XLARGE = "r8i.2xlarge" - R8I_4XLARGE = "r8i.4xlarge" - R8I_8XLARGE = "r8i.8xlarge" - R8I_12XLARGE = "r8i.12xlarge" - R8I_16XLARGE = "r8i.16xlarge" - R8I_24XLARGE = "r8i.24xlarge" - R8I_32XLARGE = "r8i.32xlarge" - R8I_48XLARGE = "r8i.48xlarge" - R8I_96XLARGE = "r8i.96xlarge" - R8I_METAL_48XL = "r8i.metal-48xl" - R8I_METAL_96XL = "r8i.metal-96xl" - R8I_FLEX_LARGE = "r8i-flex.large" - R8I_FLEX_XLARGE = "r8i-flex.xlarge" - R8I_FLEX_2XLARGE = "r8i-flex.2xlarge" - R8I_FLEX_4XLARGE = "r8i-flex.4xlarge" - R8I_FLEX_8XLARGE = "r8i-flex.8xlarge" - R8I_FLEX_12XLARGE = "r8i-flex.12xlarge" - R8I_FLEX_16XLARGE = "r8i-flex.16xlarge" - M8I_LARGE = "m8i.large" - M8I_XLARGE = "m8i.xlarge" - M8I_2XLARGE = "m8i.2xlarge" - M8I_4XLARGE = "m8i.4xlarge" - M8I_8XLARGE = "m8i.8xlarge" - M8I_12XLARGE = "m8i.12xlarge" - M8I_16XLARGE = "m8i.16xlarge" - M8I_24XLARGE = "m8i.24xlarge" - M8I_32XLARGE = "m8i.32xlarge" - M8I_48XLARGE = "m8i.48xlarge" - M8I_96XLARGE = "m8i.96xlarge" - M8I_METAL_48XL = "m8i.metal-48xl" - M8I_METAL_96XL = "m8i.metal-96xl" - M8I_FLEX_LARGE = "m8i-flex.large" - M8I_FLEX_XLARGE = "m8i-flex.xlarge" - M8I_FLEX_2XLARGE = "m8i-flex.2xlarge" - M8I_FLEX_4XLARGE = "m8i-flex.4xlarge" - M8I_FLEX_8XLARGE = "m8i-flex.8xlarge" - M8I_FLEX_12XLARGE = "m8i-flex.12xlarge" - M8I_FLEX_16XLARGE = "m8i-flex.16xlarge" - I8GE_LARGE = "i8ge.large" - I8GE_XLARGE = "i8ge.xlarge" - I8GE_2XLARGE = "i8ge.2xlarge" - I8GE_3XLARGE = "i8ge.3xlarge" - I8GE_6XLARGE = "i8ge.6xlarge" - I8GE_12XLARGE = "i8ge.12xlarge" - I8GE_18XLARGE = "i8ge.18xlarge" - I8GE_24XLARGE = "i8ge.24xlarge" - I8GE_48XLARGE = "i8ge.48xlarge" - I8GE_METAL_24XL = "i8ge.metal-24xl" - I8GE_METAL_48XL = "i8ge.metal-48xl" - MAC_M4_METAL = "mac-m4.metal" - MAC_M4PRO_METAL = "mac-m4pro.metal" - R8GN_MEDIUM = "r8gn.medium" - R8GN_LARGE = "r8gn.large" - R8GN_XLARGE = "r8gn.xlarge" - R8GN_2XLARGE = "r8gn.2xlarge" - R8GN_4XLARGE = "r8gn.4xlarge" - R8GN_8XLARGE = "r8gn.8xlarge" - R8GN_12XLARGE = "r8gn.12xlarge" - R8GN_16XLARGE = "r8gn.16xlarge" - R8GN_24XLARGE = "r8gn.24xlarge" - R8GN_48XLARGE = "r8gn.48xlarge" - R8GN_METAL_24XL = "r8gn.metal-24xl" - R8GN_METAL_48XL = "r8gn.metal-48xl" - C8I_LARGE = "c8i.large" - C8I_XLARGE = "c8i.xlarge" - C8I_2XLARGE = "c8i.2xlarge" - C8I_4XLARGE = "c8i.4xlarge" - C8I_8XLARGE = "c8i.8xlarge" - C8I_12XLARGE = "c8i.12xlarge" - C8I_16XLARGE = "c8i.16xlarge" - C8I_24XLARGE = "c8i.24xlarge" - C8I_32XLARGE = "c8i.32xlarge" - C8I_48XLARGE = "c8i.48xlarge" - C8I_96XLARGE = "c8i.96xlarge" - C8I_METAL_48XL = "c8i.metal-48xl" - C8I_METAL_96XL = "c8i.metal-96xl" - C8I_FLEX_LARGE = "c8i-flex.large" - C8I_FLEX_XLARGE = "c8i-flex.xlarge" - C8I_FLEX_2XLARGE = "c8i-flex.2xlarge" - C8I_FLEX_4XLARGE = "c8i-flex.4xlarge" - C8I_FLEX_8XLARGE = "c8i-flex.8xlarge" - C8I_FLEX_12XLARGE = "c8i-flex.12xlarge" - C8I_FLEX_16XLARGE = "c8i-flex.16xlarge" - R8GB_MEDIUM = "r8gb.medium" - R8GB_LARGE = "r8gb.large" - R8GB_XLARGE = "r8gb.xlarge" - R8GB_2XLARGE = "r8gb.2xlarge" - R8GB_4XLARGE = "r8gb.4xlarge" - R8GB_8XLARGE = "r8gb.8xlarge" - R8GB_12XLARGE = "r8gb.12xlarge" - R8GB_16XLARGE = "r8gb.16xlarge" - R8GB_24XLARGE = "r8gb.24xlarge" - R8GB_METAL_24XL = "r8gb.metal-24xl" - M8A_MEDIUM = "m8a.medium" - M8A_LARGE = "m8a.large" - M8A_XLARGE = "m8a.xlarge" - M8A_2XLARGE = "m8a.2xlarge" - M8A_4XLARGE = "m8a.4xlarge" - M8A_8XLARGE = "m8a.8xlarge" - M8A_12XLARGE = "m8a.12xlarge" - M8A_16XLARGE = "m8a.16xlarge" - M8A_24XLARGE = "m8a.24xlarge" - M8A_48XLARGE = "m8a.48xlarge" - M8A_METAL_24XL = "m8a.metal-24xl" - M8A_METAL_48XL = "m8a.metal-48xl" - TRN2_3XLARGE = "trn2.3xlarge" - R8A_MEDIUM = "r8a.medium" - R8A_LARGE = "r8a.large" - R8A_XLARGE = "r8a.xlarge" - R8A_2XLARGE = "r8a.2xlarge" - R8A_4XLARGE = "r8a.4xlarge" - R8A_8XLARGE = "r8a.8xlarge" - R8A_12XLARGE = "r8a.12xlarge" - R8A_16XLARGE = "r8a.16xlarge" - R8A_24XLARGE = "r8a.24xlarge" - R8A_48XLARGE = "r8a.48xlarge" - R8A_METAL_24XL = "r8a.metal-24xl" - R8A_METAL_48XL = "r8a.metal-48xl" - P6_B300_48XLARGE = "p6-b300.48xlarge" - C8A_MEDIUM = "c8a.medium" - C8A_LARGE = "c8a.large" - C8A_XLARGE = "c8a.xlarge" - C8A_2XLARGE = "c8a.2xlarge" - C8A_4XLARGE = "c8a.4xlarge" - C8A_8XLARGE = "c8a.8xlarge" - C8A_12XLARGE = "c8a.12xlarge" - C8A_16XLARGE = "c8a.16xlarge" - C8A_24XLARGE = "c8a.24xlarge" - C8A_48XLARGE = "c8a.48xlarge" - C8A_METAL_24XL = "c8a.metal-24xl" - C8A_METAL_48XL = "c8a.metal-48xl" - C8GB_12XLARGE = "c8gb.12xlarge" - C8GB_16XLARGE = "c8gb.16xlarge" - C8GB_24XLARGE = "c8gb.24xlarge" - C8GB_2XLARGE = "c8gb.2xlarge" - C8GB_4XLARGE = "c8gb.4xlarge" - C8GB_8XLARGE = "c8gb.8xlarge" - C8GB_LARGE = "c8gb.large" - C8GB_MEDIUM = "c8gb.medium" - C8GB_METAL_24XL = "c8gb.metal-24xl" - C8GB_XLARGE = "c8gb.xlarge" - C8GB_48XLARGE = "c8gb.48xlarge" - C8GB_METAL_48XL = "c8gb.metal-48xl" - M8GB_12XLARGE = "m8gb.12xlarge" - M8GB_16XLARGE = "m8gb.16xlarge" - M8GB_24XLARGE = "m8gb.24xlarge" - M8GB_2XLARGE = "m8gb.2xlarge" - M8GB_4XLARGE = "m8gb.4xlarge" - M8GB_8XLARGE = "m8gb.8xlarge" - M8GB_LARGE = "m8gb.large" - M8GB_MEDIUM = "m8gb.medium" - M8GB_XLARGE = "m8gb.xlarge" - M8GB_48XLARGE = "m8gb.48xlarge" - M8GB_METAL_24XL = "m8gb.metal-24xl" - M8GB_METAL_48XL = "m8gb.metal-48xl" - M8GN_12XLARGE = "m8gn.12xlarge" - M8GN_16XLARGE = "m8gn.16xlarge" - M8GN_24XLARGE = "m8gn.24xlarge" - M8GN_2XLARGE = "m8gn.2xlarge" - M8GN_48XLARGE = "m8gn.48xlarge" - M8GN_4XLARGE = "m8gn.4xlarge" - M8GN_8XLARGE = "m8gn.8xlarge" - M8GN_LARGE = "m8gn.large" - M8GN_MEDIUM = "m8gn.medium" - M8GN_XLARGE = "m8gn.xlarge" - M8GN_METAL_24XL = "m8gn.metal-24xl" - M8GN_METAL_48XL = "m8gn.metal-48xl" - X8AEDZ_12XLARGE = "x8aedz.12xlarge" - X8AEDZ_24XLARGE = "x8aedz.24xlarge" - X8AEDZ_3XLARGE = "x8aedz.3xlarge" - X8AEDZ_6XLARGE = "x8aedz.6xlarge" - X8AEDZ_LARGE = "x8aedz.large" - X8AEDZ_METAL_12XL = "x8aedz.metal-12xl" - X8AEDZ_METAL_24XL = "x8aedz.metal-24xl" - X8AEDZ_XLARGE = "x8aedz.xlarge" - M8AZN_MEDIUM = "m8azn.medium" - M8AZN_LARGE = "m8azn.large" - M8AZN_XLARGE = "m8azn.xlarge" - M8AZN_3XLARGE = "m8azn.3xlarge" - M8AZN_6XLARGE = "m8azn.6xlarge" - M8AZN_12XLARGE = "m8azn.12xlarge" - M8AZN_24XLARGE = "m8azn.24xlarge" - M8AZN_METAL_12XL = "m8azn.metal-12xl" - M8AZN_METAL_24XL = "m8azn.metal-24xl" - X8I_LARGE = "x8i.large" - X8I_XLARGE = "x8i.xlarge" - X8I_2XLARGE = "x8i.2xlarge" - X8I_4XLARGE = "x8i.4xlarge" - X8I_8XLARGE = "x8i.8xlarge" - X8I_12XLARGE = "x8i.12xlarge" - X8I_16XLARGE = "x8i.16xlarge" - X8I_24XLARGE = "x8i.24xlarge" - X8I_32XLARGE = "x8i.32xlarge" - X8I_48XLARGE = "x8i.48xlarge" - X8I_64XLARGE = "x8i.64xlarge" - X8I_96XLARGE = "x8i.96xlarge" - X8I_METAL_48XL = "x8i.metal-48xl" - X8I_METAL_96XL = "x8i.metal-96xl" - MAC_M4MAX_METAL = "mac-m4max.metal" - G7E_2XLARGE = "g7e.2xlarge" - G7E_4XLARGE = "g7e.4xlarge" - G7E_8XLARGE = "g7e.8xlarge" - G7E_12XLARGE = "g7e.12xlarge" - G7E_24XLARGE = "g7e.24xlarge" - G7E_48XLARGE = "g7e.48xlarge" - R8ID_LARGE = "r8id.large" - R8ID_XLARGE = "r8id.xlarge" - R8ID_2XLARGE = "r8id.2xlarge" - R8ID_4XLARGE = "r8id.4xlarge" - R8ID_8XLARGE = "r8id.8xlarge" - R8ID_12XLARGE = "r8id.12xlarge" - R8ID_16XLARGE = "r8id.16xlarge" - R8ID_24XLARGE = "r8id.24xlarge" - R8ID_32XLARGE = "r8id.32xlarge" - R8ID_48XLARGE = "r8id.48xlarge" - R8ID_96XLARGE = "r8id.96xlarge" - R8ID_METAL_48XL = "r8id.metal-48xl" - R8ID_METAL_96XL = "r8id.metal-96xl" - C8ID_LARGE = "c8id.large" - C8ID_XLARGE = "c8id.xlarge" - C8ID_2XLARGE = "c8id.2xlarge" - C8ID_4XLARGE = "c8id.4xlarge" - C8ID_8XLARGE = "c8id.8xlarge" - C8ID_12XLARGE = "c8id.12xlarge" - C8ID_16XLARGE = "c8id.16xlarge" - C8ID_24XLARGE = "c8id.24xlarge" - C8ID_32XLARGE = "c8id.32xlarge" - C8ID_48XLARGE = "c8id.48xlarge" - C8ID_96XLARGE = "c8id.96xlarge" - C8ID_METAL_48XL = "c8id.metal-48xl" - C8ID_METAL_96XL = "c8id.metal-96xl" - M8ID_LARGE = "m8id.large" - M8ID_XLARGE = "m8id.xlarge" - M8ID_2XLARGE = "m8id.2xlarge" - M8ID_4XLARGE = "m8id.4xlarge" - M8ID_8XLARGE = "m8id.8xlarge" - M8ID_12XLARGE = "m8id.12xlarge" - M8ID_16XLARGE = "m8id.16xlarge" - M8ID_24XLARGE = "m8id.24xlarge" - M8ID_32XLARGE = "m8id.32xlarge" - M8ID_48XLARGE = "m8id.48xlarge" - M8ID_96XLARGE = "m8id.96xlarge" - M8ID_METAL_48XL = "m8id.metal-48xl" - M8ID_METAL_96XL = "m8id.metal-96xl" - HPC8A_96XLARGE = "hpc8a.96xlarge" - C8IN_LARGE = "c8in.large" - C8IN_XLARGE = "c8in.xlarge" - C8IN_2XLARGE = "c8in.2xlarge" - C8IN_4XLARGE = "c8in.4xlarge" - C8IN_8XLARGE = "c8in.8xlarge" - C8IN_12XLARGE = "c8in.12xlarge" - C8IN_16XLARGE = "c8in.16xlarge" - C8IN_24XLARGE = "c8in.24xlarge" - C8IN_32XLARGE = "c8in.32xlarge" - C8IN_48XLARGE = "c8in.48xlarge" - C8IN_96XLARGE = "c8in.96xlarge" - C8IN_METAL_48XL = "c8in.metal-48xl" - C8IN_METAL_96XL = "c8in.metal-96xl" - C8IB_LARGE = "c8ib.large" - C8IB_XLARGE = "c8ib.xlarge" - C8IB_2XLARGE = "c8ib.2xlarge" - C8IB_4XLARGE = "c8ib.4xlarge" - C8IB_8XLARGE = "c8ib.8xlarge" - C8IB_12XLARGE = "c8ib.12xlarge" - C8IB_16XLARGE = "c8ib.16xlarge" - C8IB_24XLARGE = "c8ib.24xlarge" - C8IB_32XLARGE = "c8ib.32xlarge" - C8IB_48XLARGE = "c8ib.48xlarge" - C8IB_96XLARGE = "c8ib.96xlarge" - C8IB_METAL_48XL = "c8ib.metal-48xl" - C8IB_METAL_96XL = "c8ib.metal-96xl" - R8IN_LARGE = "r8in.large" - R8IN_XLARGE = "r8in.xlarge" - R8IN_2XLARGE = "r8in.2xlarge" - R8IN_4XLARGE = "r8in.4xlarge" - R8IN_8XLARGE = "r8in.8xlarge" - R8IN_12XLARGE = "r8in.12xlarge" - R8IN_16XLARGE = "r8in.16xlarge" - R8IN_24XLARGE = "r8in.24xlarge" - R8IN_32XLARGE = "r8in.32xlarge" - R8IN_48XLARGE = "r8in.48xlarge" - R8IN_96XLARGE = "r8in.96xlarge" - R8IB_LARGE = "r8ib.large" - R8IB_XLARGE = "r8ib.xlarge" - R8IB_2XLARGE = "r8ib.2xlarge" - R8IB_4XLARGE = "r8ib.4xlarge" - R8IB_8XLARGE = "r8ib.8xlarge" - R8IB_12XLARGE = "r8ib.12xlarge" - R8IB_16XLARGE = "r8ib.16xlarge" - R8IB_24XLARGE = "r8ib.24xlarge" - R8IB_32XLARGE = "r8ib.32xlarge" - R8IB_48XLARGE = "r8ib.48xlarge" - R8IB_96XLARGE = "r8ib.96xlarge" - M8IN_LARGE = "m8in.large" - M8IN_XLARGE = "m8in.xlarge" - M8IN_2XLARGE = "m8in.2xlarge" - M8IN_4XLARGE = "m8in.4xlarge" - M8IN_8XLARGE = "m8in.8xlarge" - M8IN_12XLARGE = "m8in.12xlarge" - M8IN_16XLARGE = "m8in.16xlarge" - M8IN_24XLARGE = "m8in.24xlarge" - M8IN_32XLARGE = "m8in.32xlarge" - M8IN_48XLARGE = "m8in.48xlarge" - M8IN_96XLARGE = "m8in.96xlarge" - M8IB_LARGE = "m8ib.large" - M8IB_XLARGE = "m8ib.xlarge" - M8IB_2XLARGE = "m8ib.2xlarge" - M8IB_4XLARGE = "m8ib.4xlarge" - M8IB_8XLARGE = "m8ib.8xlarge" - M8IB_12XLARGE = "m8ib.12xlarge" - M8IB_16XLARGE = "m8ib.16xlarge" - M8IB_24XLARGE = "m8ib.24xlarge" - M8IB_32XLARGE = "m8ib.32xlarge" - M8IB_48XLARGE = "m8ib.48xlarge" - M8IB_96XLARGE = "m8ib.96xlarge" - M8INE_LARGE = "m8ine.large" - M8INE_XLARGE = "m8ine.xlarge" - M8INE_2XLARGE = "m8ine.2xlarge" - M8INE_4XLARGE = "m8ine.4xlarge" - M8INE_8XLARGE = "m8ine.8xlarge" - M8INE_12XLARGE = "m8ine.12xlarge" - C8INE_LARGE = "c8ine.large" - C8INE_XLARGE = "c8ine.xlarge" - C8INE_2XLARGE = "c8ine.2xlarge" - C8INE_4XLARGE = "c8ine.4xlarge" - C8INE_8XLARGE = "c8ine.8xlarge" - C8INE_12XLARGE = "c8ine.12xlarge" - M8IDN_LARGE = "m8idn.large" - M8IDN_XLARGE = "m8idn.xlarge" - M8IDN_2XLARGE = "m8idn.2xlarge" - M8IDN_4XLARGE = "m8idn.4xlarge" - M8IDN_8XLARGE = "m8idn.8xlarge" - M8IDN_12XLARGE = "m8idn.12xlarge" - M8IDN_16XLARGE = "m8idn.16xlarge" - M8IDN_24XLARGE = "m8idn.24xlarge" - M8IDN_32XLARGE = "m8idn.32xlarge" - M8IDN_48XLARGE = "m8idn.48xlarge" - M8IDN_96XLARGE = "m8idn.96xlarge" - R8IDN_LARGE = "r8idn.large" - R8IDN_XLARGE = "r8idn.xlarge" - R8IDN_2XLARGE = "r8idn.2xlarge" - R8IDN_4XLARGE = "r8idn.4xlarge" - R8IDN_8XLARGE = "r8idn.8xlarge" - R8IDN_12XLARGE = "r8idn.12xlarge" - R8IDN_16XLARGE = "r8idn.16xlarge" - R8IDN_24XLARGE = "r8idn.24xlarge" - R8IDN_32XLARGE = "r8idn.32xlarge" - R8IDN_48XLARGE = "r8idn.48xlarge" - R8IDN_96XLARGE = "r8idn.96xlarge" - M8IDB_LARGE = "m8idb.large" - M8IDB_XLARGE = "m8idb.xlarge" - M8IDB_2XLARGE = "m8idb.2xlarge" - M8IDB_4XLARGE = "m8idb.4xlarge" - M8IDB_8XLARGE = "m8idb.8xlarge" - M8IDB_12XLARGE = "m8idb.12xlarge" - M8IDB_16XLARGE = "m8idb.16xlarge" - M8IDB_24XLARGE = "m8idb.24xlarge" - M8IDB_32XLARGE = "m8idb.32xlarge" - M8IDB_48XLARGE = "m8idb.48xlarge" - M8IDB_96XLARGE = "m8idb.96xlarge" - R8IDB_LARGE = "r8idb.large" - R8IDB_XLARGE = "r8idb.xlarge" - R8IDB_2XLARGE = "r8idb.2xlarge" - R8IDB_4XLARGE = "r8idb.4xlarge" - R8IDB_8XLARGE = "r8idb.8xlarge" - R8IDB_12XLARGE = "r8idb.12xlarge" - R8IDB_16XLARGE = "r8idb.16xlarge" - R8IDB_24XLARGE = "r8idb.24xlarge" - R8IDB_32XLARGE = "r8idb.32xlarge" - R8IDB_48XLARGE = "r8idb.48xlarge" - R8IDB_96XLARGE = "r8idb.96xlarge" - MAC_M3ULTRA_METAL = "mac-m3ultra.metal" - M9G_LARGE = "m9g.large" - M9G_XLARGE = "m9g.xlarge" - M9G_2XLARGE = "m9g.2xlarge" - M9G_4XLARGE = "m9g.4xlarge" - M9G_8XLARGE = "m9g.8xlarge" - M9G_12XLARGE = "m9g.12xlarge" - M9G_16XLARGE = "m9g.16xlarge" - M9G_24XLARGE = "m9g.24xlarge" - M9G_48XLARGE = "m9g.48xlarge" - M9G_METAL_24XL = "m9g.metal-24xl" - M9G_METAL_48XL = "m9g.metal-48xl" - M9GD_LARGE = "m9gd.large" - M9GD_XLARGE = "m9gd.xlarge" - M9GD_2XLARGE = "m9gd.2xlarge" - M9GD_4XLARGE = "m9gd.4xlarge" - M9GD_8XLARGE = "m9gd.8xlarge" - M9GD_12XLARGE = "m9gd.12xlarge" - M9GD_16XLARGE = "m9gd.16xlarge" - M9GD_24XLARGE = "m9gd.24xlarge" - M9GD_48XLARGE = "m9gd.48xlarge" - M9GD_METAL_24XL = "m9gd.metal-24xl" - M9GD_METAL_48XL = "m9gd.metal-48xl" - R8IN_METAL_48XL = "r8in.metal-48xl" - R8IN_METAL_96XL = "r8in.metal-96xl" - R8IB_METAL_48XL = "r8ib.metal-48xl" - R8IB_METAL_96XL = "r8ib.metal-96xl" - R8IDN_METAL_48XL = "r8idn.metal-48xl" - R8IDN_METAL_96XL = "r8idn.metal-96xl" - R8IDB_METAL_48XL = "r8idb.metal-48xl" - R8IDB_METAL_96XL = "r8idb.metal-96xl" - M8IN_METAL_48XL = "m8in.metal-48xl" - M8IN_METAL_96XL = "m8in.metal-96xl" - M8IB_METAL_48XL = "m8ib.metal-48xl" - M8IB_METAL_96XL = "m8ib.metal-96xl" - M8IDN_METAL_48XL = "m8idn.metal-48xl" - M8IDN_METAL_96XL = "m8idn.metal-96xl" - M8IDB_METAL_48XL = "m8idb.metal-48xl" - M8IDB_METAL_96XL = "m8idb.metal-96xl" - G7_2XLARGE = "g7.2xlarge" - G7_4XLARGE = "g7.4xlarge" - G7_8XLARGE = "g7.8xlarge" - G7_12XLARGE = "g7.12xlarge" - G7_24XLARGE = "g7.24xlarge" - G7_48XLARGE = "g7.48xlarge" - C9G_MEDIUM = "c9g.medium" - C9G_LARGE = "c9g.large" - C9G_XLARGE = "c9g.xlarge" - C9G_2XLARGE = "c9g.2xlarge" - C9G_4XLARGE = "c9g.4xlarge" - C9G_8XLARGE = "c9g.8xlarge" - C9G_12XLARGE = "c9g.12xlarge" - C9G_16XLARGE = "c9g.16xlarge" - C9G_24XLARGE = "c9g.24xlarge" - C9G_48XLARGE = "c9g.48xlarge" - C9G_METAL_48XL = "c9g.metal-48xl" - C9GD_MEDIUM = "c9gd.medium" - C9GD_LARGE = "c9gd.large" - C9GD_XLARGE = "c9gd.xlarge" - C9GD_2XLARGE = "c9gd.2xlarge" - C9GD_4XLARGE = "c9gd.4xlarge" - C9GD_8XLARGE = "c9gd.8xlarge" - C9GD_12XLARGE = "c9gd.12xlarge" - C9GD_16XLARGE = "c9gd.16xlarge" - C9GD_24XLARGE = "c9gd.24xlarge" - C9GD_48XLARGE = "c9gd.48xlarge" - C9GD_METAL_48XL = "c9gd.metal-48xl" - R9G_MEDIUM = "r9g.medium" - R9G_LARGE = "r9g.large" - R9G_XLARGE = "r9g.xlarge" - R9G_2XLARGE = "r9g.2xlarge" - R9G_4XLARGE = "r9g.4xlarge" - R9G_8XLARGE = "r9g.8xlarge" - R9G_12XLARGE = "r9g.12xlarge" - R9G_16XLARGE = "r9g.16xlarge" - R9G_24XLARGE = "r9g.24xlarge" - R9G_48XLARGE = "r9g.48xlarge" - R9G_METAL_48XL = "r9g.metal-48xl" - R9GD_MEDIUM = "r9gd.medium" - R9GD_LARGE = "r9gd.large" - R9GD_XLARGE = "r9gd.xlarge" - R9GD_2XLARGE = "r9gd.2xlarge" - R9GD_4XLARGE = "r9gd.4xlarge" - R9GD_8XLARGE = "r9gd.8xlarge" - R9GD_12XLARGE = "r9gd.12xlarge" - R9GD_16XLARGE = "r9gd.16xlarge" - R9GD_24XLARGE = "r9gd.24xlarge" - R9GD_48XLARGE = "r9gd.48xlarge" - R9GD_METAL_48XL = "r9gd.metal-48xl" - M9G_MEDIUM = "m9g.medium" - T8I_NANO = "t8i.nano" - T8I_MICRO = "t8i.micro" - T8I_SMALL = "t8i.small" - T8I_MEDIUM = "t8i.medium" - I8G_METAL_48XL = "i8g.metal-48xl" - R8GB_48XLARGE = "r8gb.48xlarge" - R8GB_METAL_48XL = "r8gb.metal-48xl" - M9GD_MEDIUM = "m9gd.medium" - TRN2U_48XLARGE = "trn2u.48xlarge" - -class InstanceTypeHypervisor(UnknownEnumMixin, StrEnum): - NITRO = "nitro" - XEN = "xen" - -@dataclass(kw_only=True) -class InstanceTypeInfo(_SerdeShape): - """Describes the instance type.""" - - instance_type: str | None = ... - """ - The instance type. For more information, see [Instance - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) - in the *Amazon EC2 User Guide*. - """ - current_generation: bool | None = ... - """Indicates whether the instance type is current generation.""" - free_tier_eligible: bool | None = ... - """Indicates whether the instance type is eligible for the free tier.""" - supported_usage_classes: list[str] | None = ... - """ - Indicates whether the instance type is offered for spot, On-Demand, or - Capacity Blocks. - """ - supported_root_device_types: list[str] | None = ... - """The supported root device types.""" - supported_virtualization_types: list[str] | None = ... - """The supported virtualization types.""" - bare_metal: bool | None = ... - """Indicates whether the instance is a bare metal instance type.""" - hypervisor: str | None = ... - """The hypervisor for the instance type.""" - processor_info: ProcessorInfo | None = ... - """Describes the processor.""" - v_cpu_info: VCpuInfo | None = ... - """Describes the vCPU configurations for the instance type.""" - memory_info: MemoryInfo | None = ... - """Describes the memory for the instance type.""" - instance_storage_supported: bool | None = ... - """Indicates whether instance storage is supported.""" - instance_storage_info: InstanceStorageInfo | None = ... - """Describes the instance storage for the instance type.""" - ebs_info: EbsInfo | None = ... - """Describes the Amazon EBS settings for the instance type.""" - network_info: NetworkInfo | None = ... - """Describes the network settings for the instance type.""" - gpu_info: GpuInfo | None = ... - """Describes the GPU accelerator settings for the instance type.""" - fpga_info: FpgaInfo | None = ... - """Describes the FPGA accelerator settings for the instance type.""" - placement_group_info: PlacementGroupInfo | None = ... - """Describes the placement group settings for the instance type.""" - inference_accelerator_info: InferenceAcceleratorInfo | None = ... - """Describes the Inference accelerator settings for the instance type.""" - hibernation_supported: bool | None = ... - """Indicates whether On-Demand hibernation is supported.""" - burstable_performance_supported: bool | None = ... - """ - Indicates whether the instance type is a burstable performance T - instance type. For more information, see [Burstable performance - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). - """ - dedicated_hosts_supported: bool | None = ... - """Indicates whether Dedicated Hosts are supported on the instance type.""" - auto_recovery_supported: bool | None = ... - """Indicates whether Amazon CloudWatch action based recovery is supported.""" - supported_boot_modes: list[str] | None = ... - """ - The supported boot modes. For more information, see [Boot - modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) - in the *Amazon EC2 User Guide*. - """ - nitro_enclaves_support: str | None = ... - """Indicates whether Nitro Enclaves is supported.""" - nitro_tpm_support: str | None = ... - """Indicates whether NitroTPM is supported.""" - nitro_tpm_info: NitroTpmInfo | None = ... - """Describes the supported NitroTPM versions for the instance type.""" - media_accelerator_info: MediaAcceleratorInfo | None = ... - """Describes the media accelerator settings for the instance type.""" - neuron_info: NeuronInfo | None = ... - """Describes the Neuron accelerator settings for the instance type.""" - phc_support: str | None = ... - """ - Indicates whether a local Precision Time Protocol (PTP) hardware clock - (PHC) is supported. - """ - reboot_migration_support: str | None = ... - """ - Indicates whether reboot migration during a user-initiated reboot is - supported for instances that have a scheduled `system-reboot` event. For - more information, see [Enable or disable reboot - migration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration) - in the *Amazon EC2 User Guide*. - """ - supported_in_region: bool | None = ... - """Indicates whether the instance type is supported in the current Region.""" - -@dataclass(kw_only=True) -class InstanceTypeInfoFromInstanceRequirements(_SerdeShape): - """The list of instance types with the specified instance attributes.""" - - instance_type: str | None = ... - """The matching instance type.""" - -@dataclass(kw_only=True) -class InstanceTypeItem(_SerdeShape): - """ - An instance type name or wildcard pattern in an instance type - specification. - """ - - instance_type: str | None = ... - """ - The instance type or wildcard pattern (for example, `t3.*` or - `m5.large`). - """ - -@dataclass(kw_only=True) -class InstanceTypeOffering(_SerdeShape): - """The instance types offered.""" - - instance_type: str | None = ... - """ - The instance type. For more information, see [Instance - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) - in the *Amazon EC2 User Guide*. - """ - location_type: str | None = ... - """The location type.""" - location: str | None = ... - """ - The identifier for the location. This depends on the location type. For - example, if the location type is `region`, the location is the Region - code (for example, `us-east-2`.) - """ - -@dataclass(kw_only=True) -class InstanceTypeSpecification(_SerdeShape): - """ - Describes the instance type compatibility rules for an AMI, including - lists of supported and unsupported instance type patterns. - """ - - supported_instance_types: list[InstanceTypeItem] | None = ... - """The instance types that the AMI supports.""" - unsupported_instance_types: list[InstanceTypeItem] | None = ... - """The instance types that the AMI does not support.""" - -@dataclass(kw_only=True) -class InstanceTypeSpecificationRequest(_SerdeShape): - """ - The instance type specification for an AMI, which contains lists of - supported and unsupported instance types that define which instance - types are compatible with the AMI. - """ - - supported_instance_types: list[str] | None = ... - """ - The instance types that the AMI supports. You can specify instance type - names or use wildcard patterns (for example, `t3.*`). - - Constraints: Maximum 100 entries. Each entry must be 1-24 characters and - match the pattern `^[A-Za-z0-9_.*-]+$`. Consecutive wildcard characters - (`**`) are not allowed. Entries must be unique within each list and - across both lists; duplicate entries cause the request to fail. - """ - unsupported_instance_types: list[str] | None = ... - """ - The instance types that the AMI does not support. You can specify - instance type names or use wildcard patterns (for example, `t3.*`). - - Constraints: Maximum 100 entries. Each entry must be 1-24 characters and - match the pattern `^[A-Za-z0-9_.*-]+$`. Consecutive wildcard characters - (`**`) are not allowed. Entries must be unique within each list and - across both lists; duplicate entries cause the request to fail. - """ - -@dataclass(kw_only=True) -class InstanceUsage(_SerdeShape): - """Information about the Capacity Reservation usage.""" - - account_id: str | None = ... - """ - The ID of the Amazon Web Services account that is making use of the - Capacity Reservation. - """ - used_instance_count: int | None = ... - """ - The number of instances the Amazon Web Services account currently has in - the Capacity Reservation. - """ - -@dataclass(kw_only=True) -class IntegrateServices(_SerdeShape): - """Describes service integrations with VPC Flow logs.""" - - athena_integrations: list[AthenaIntegration] | None = ... - """Information about the integration with Amazon Athena.""" - -class InterfacePermissionType(UnknownEnumMixin, StrEnum): - INSTANCE_ATTACH = "INSTANCE-ATTACH" - EIP_ASSOCIATE = "EIP-ASSOCIATE" - -class InterfaceProtocolType(UnknownEnumMixin, StrEnum): - VLAN = "VLAN" - GRE = "GRE" - -@dataclass(kw_only=True) -class InternetGateway(_SerdeShape): - """Describes an internet gateway.""" - - attachments: list[InternetGatewayAttachment] | None = ... - """Any VPCs attached to the internet gateway.""" - internet_gateway_id: str | None = ... - """The ID of the internet gateway.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the internet - gateway. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the internet gateway.""" - -@dataclass(kw_only=True) -class InternetGatewayAttachment(_SerdeShape): - """ - Describes the attachment of a VPC to an internet gateway or an - egress-only internet gateway. - """ - - state: str | None = ... - """ - The current state of the attachment. For an internet gateway, the state - is `available` when attached to a VPC; otherwise, this value is not - returned. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - -class InternetGatewayBlockMode(UnknownEnumMixin, StrEnum): - OFF = "off" - BLOCK_BIDIRECTIONAL = "block-bidirectional" - BLOCK_INGRESS = "block-ingress" - -class InternetGatewayExclusionMode(UnknownEnumMixin, StrEnum): - ALLOW_BIDIRECTIONAL = "allow-bidirectional" - ALLOW_EGRESS = "allow-egress" - -@dataclass(kw_only=True) -class InterruptibleCapacityAllocation(_SerdeShape): - """ - Represents the allocation of capacity from a source reservation to an - interruptible reservation, tracking current and target instance counts - for allocation management. - """ - - instance_count: int | None = ... - """ - The current number of instances allocated to the interruptible - reservation. - """ - target_instance_count: int | None = ... - """ - After your modify request, the requested number of instances allocated - to interruptible reservation. - """ - status: str | None = ... - """ - The current status of the allocation (updating during reclamation, - active when complete). - """ - interruptible_capacity_reservation_id: str | None = ... - """ - The ID of the interruptible Capacity Reservation created from the - allocation. - """ - interruption_type: str | None = ... - """ - The type of interruption policy applied to the interruptible - reservation. - """ - zero_size_preference: str | None = ... - """ - Specifies how Amazon EC2 handles the interruptible Capacity Reservation - when you reduce its allocation to zero instances. A value of `retain` - keeps the interruptible Capacity Reservation active at zero capacity so - that you can allocate instances to it again later. A value of `default` - cancels the interruptible Capacity Reservation and returns the capacity - to your source Capacity Reservation. - """ - -class InterruptibleCapacityReservationAllocationStatus(UnknownEnumMixin, StrEnum): - PENDING = "pending" - ACTIVE = "active" - UPDATING = "updating" - CANCELING = "canceling" - CANCELED = "canceled" - FAILED = "failed" - -@dataclass(kw_only=True) -class InterruptionInfo(_SerdeShape): - """ - Contains information about how and when instances in an interruptible - reservation can be terminated when capacity is reclaimed. - """ - - source_capacity_reservation_id: str | None = ... - """ - The ID of the source Capacity Reservation from which the interruptible - reservation was created. - """ - interruption_type: str | None = ... - """ - The interruption type that determines how instances are terminated when - capacity is reclaimed. - """ - -class InterruptionType(UnknownEnumMixin, StrEnum): - ADHOC = "adhoc" - -class IpAddressType(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - DUALSTACK = "dualstack" - IPV6 = "ipv6" - -@dataclass(kw_only=True) -class Ipam(_SerdeShape): - """ - IPAM is a VPC feature that you can use to automate your IP address - management workflows including assigning, tracking, troubleshooting, and - auditing IP addresses across Amazon Web Services Regions and accounts - throughout your Amazon Web Services Organization. For more information, - see [What is - IPAM?](https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - - owner_id: str | None = ... - """The Amazon Web Services account ID of the owner of the IPAM.""" - ipam_id: str | None = ... - """The ID of the IPAM.""" - ipam_arn: str | None = ... - """The Amazon Resource Name (ARN) of the IPAM.""" - ipam_region: str | None = ... - """The Amazon Web Services Region of the IPAM.""" - public_default_scope_id: str | None = ... - """The ID of the IPAM's default public scope.""" - private_default_scope_id: str | None = ... - """The ID of the IPAM's default private scope.""" - scope_count: int | None = ... - """ - The number of scopes in the IPAM. The scope quota is 5. For more - information on quotas, see [Quotas in - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - description: str | None = ... - """The description for the IPAM.""" - operating_regions: list[IpamOperatingRegion] | None = ... - """ - The operating Regions for an IPAM. Operating Regions are Amazon Web - Services Regions where the IPAM is allowed to manage IP address CIDRs. - IPAM only discovers and monitors resources in the Amazon Web Services - Regions you select as operating Regions. - - For more information about operating Regions, see [Create an - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - state: str | None = ... - """The state of the IPAM.""" - tags: list[Tag] | None = ... - """ - 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 `Owner` and - the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` - for the filter value. - """ - default_resource_discovery_id: str | None = ... - """The IPAM's default resource discovery ID.""" - default_resource_discovery_association_id: str | None = ... - """The IPAM's default resource discovery association ID.""" - resource_discovery_association_count: int | None = ... - """The IPAM's resource discovery association count.""" - state_message: str | None = ... - """The state message.""" - tier: str | None = ... - """ - IPAM is offered in a Free Tier and an Advanced Tier. For more - information about the features available in each tier and the costs - associated with the tiers, see [Amazon VPC pricing > IPAM - tab](http://aws.amazon.com/vpc/pricing/). - """ - enable_private_gua: bool | None = ... - """ - Enable this option to use your own GUA ranges as private IPv6 addresses. - This option is disabled by default. - """ - metered_account: str | None = ... - """ - A metered account is an Amazon Web Services account that is charged for - active IP addresses managed in IPAM. For more information, see [Enable - cost - distribution](https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html) - in the *Amazon VPC IPAM User Guide*. - - Possible values: - - - `ipam-owner` (default): The Amazon Web Services account which owns the - IPAM is charged for all active IP addresses managed in IPAM. - - - `resource-owner`: The Amazon Web Services account that owns the IP - address is charged for the active IP address. - """ - -@dataclass(kw_only=True) -class IpamAddressHistoryRecord(_SerdeShape): - """ - The historical record of a CIDR within an IPAM scope. For more - information, see [View the history of IP - addresses](https://docs.aws.amazon.com/vpc/latest/ipam/view-history-cidr-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - - resource_owner_id: str | None = ... - """The ID of the resource owner.""" - resource_region: str | None = ... - """The Amazon Web Services Region of the resource.""" - resource_type: str | None = ... - """The type of the resource.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_cidr: str | None = ... - """The CIDR of the resource.""" - resource_name: str | None = ... - """The name of the resource.""" - resource_compliance_status: str | None = ... - """ - The compliance status of a resource. For more information on compliance - statuses, see [Monitor CIDR usage by - resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - resource_overlap_status: str | None = ... - """ - The overlap status of an IPAM resource. The overlap status tells you if - the CIDR for a resource overlaps with another CIDR in the scope. For - more information on overlap statuses, see [Monitor CIDR usage by - resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - vpc_id: str | None = ... - """The VPC ID of the resource.""" - sampled_start_time: datetime | None = ... - """ - Sampled start time of the resource-to-CIDR association within the IPAM - scope. Changes are picked up in periodic snapshots, so the start time - may have occurred before this specific time. - """ - sampled_end_time: datetime | None = ... - """ - Sampled end time of the resource-to-CIDR association within the IPAM - scope. Changes are picked up in periodic snapshots, so the end time may - have occurred before this specific time. - """ - -class IpamAddressHistoryResourceType(UnknownEnumMixin, StrEnum): - EIP = "eip" - VPC = "vpc" - SUBNET = "subnet" - NETWORK_INTERFACE = "network-interface" - INSTANCE = "instance" - -class IpamAssociatedResourceDiscoveryStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - NOT_FOUND = "not-found" - -class IpamByoipAdvertisementType(UnknownEnumMixin, StrEnum): - """The advertisement type of a BYOIP route.""" - - REGIONAL = "regional" - GLOBAL_ = "global" - -class IpamByoipCidrState(UnknownEnumMixin, StrEnum): - """The state of a BYOIP CIDR.""" - - ADVERTISED = "advertised" - DEPROVISIONED = "deprovisioned" - FAILED_DEPROVISION = "failed-deprovision" - FAILED_PROVISION = "failed-provision" - PENDING_ADVERTISING = "pending-advertising" - PENDING_DEPROVISION = "pending-deprovision" - PENDING_PROVISION = "pending-provision" - PENDING_WITHDRAWAL = "pending-withdrawal" - PROVISIONED = "provisioned" - PROVISIONED_NOT_PUBLICLY_ADVERTISABLE = "provisioned-not-publicly-advertisable" - -@dataclass(kw_only=True) -class IpamCidrAuthorizationContext(_SerdeShape): - """ - A signed document that proves that you are authorized to bring the - specified IP address range to Amazon using BYOIP. - """ - - message: str | None = ... - """The plain-text authorization message for the prefix and account.""" - signature: str | None = ... - """The signed authorization message for the prefix and account.""" - -class IpamComplianceStatus(UnknownEnumMixin, StrEnum): - COMPLIANT = "compliant" - NONCOMPLIANT = "noncompliant" - UNMANAGED = "unmanaged" - IGNORED = "ignored" - -@dataclass(kw_only=True) -class IpamDiscoveredAccount(_SerdeShape): - """ - An IPAM discovered account. A discovered account is an Amazon Web - Services account that is monitored under a resource discovery. If you - have integrated IPAM with Amazon Web Services Organizations, all - accounts in the organization are discovered accounts. - """ - - account_id: str | None = ... - """The account ID.""" - discovery_region: str | None = ... - """ - The Amazon Web Services Region that the account information is returned - from. An account can be discovered in multiple regions and will have a - separate discovered account for each Region. - """ - failure_reason: IpamDiscoveryFailureReason | None = ... - """The resource discovery failure reason.""" - last_attempted_discovery_time: datetime | None = ... - """The last attempted resource discovery time.""" - last_successful_discovery_time: datetime | None = ... - """The last successful resource discovery time.""" - organizational_unit_id: str | None = ... - """The ID of an Organizational Unit in Amazon Web Services Organizations.""" - -@dataclass(kw_only=True) -class IpamDiscoveredPublicAddress(_SerdeShape): - """A public IP Address discovered by IPAM.""" - - ipam_resource_discovery_id: str | None = ... - """The resource discovery ID.""" - address_region: str | None = ... - """The Region of the resource the IP address is assigned to.""" - address: str | None = ... - """The IP address.""" - address_owner_id: str | None = ... - """The ID of the owner of the resource the IP address is assigned to.""" - address_allocation_id: str | None = ... - """The allocation ID of the resource the IP address is assigned to.""" - association_status: str | None = ... - """The association status.""" - address_type: str | None = ... - """The IP address type.""" - service: str | None = ... - """The Amazon Web Services service associated with the IP address.""" - service_resource: str | None = ... - """The resource ARN or ID.""" - vpc_id: str | None = ... - """The ID of the VPC that the resource with the assigned IP address is in.""" - subnet_id: str | None = ... - """ - The ID of the subnet that the resource with the assigned IP address is - in. - """ - public_ipv4_pool_id: str | None = ... - """ - The ID of the public IPv4 pool that the resource with the assigned IP - address is from. - """ - network_interface_id: str | None = ... - """The network interface ID of the resource with the assigned IP address.""" - network_interface_description: str | None = ... - """The description of the network interface that IP address is assigned to.""" - instance_id: str | None = ... - """The instance ID of the instance the assigned IP address is assigned to.""" - tags: IpamPublicAddressTags | None = ... - """Tags associated with the IP address.""" - network_border_group: str | None = ... - """ - The Availability Zone (AZ) or Local Zone (LZ) network border group that - the resource that the IP address is assigned to is in. Defaults to an AZ - network border group. For more information on available Local Zones, see - [Local Zone - availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) - in the *Amazon EC2 User Guide*. - """ - security_groups: list[IpamPublicAddressSecurityGroup] | None = ... - """ - Security groups associated with the resource that the IP address is - assigned to. - """ - sample_time: datetime | None = ... - """The last successful resource discovery time.""" - -@dataclass(kw_only=True) -class IpamDiscoveredResourceCidr(_SerdeShape): - """ - An IPAM discovered resource CIDR. A discovered resource is a resource - CIDR monitored under a resource discovery. The following resources can - be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP - addresses. The discovered resource CIDR is the IP address range in CIDR - notation that is associated with the resource. - """ - - ipam_resource_discovery_id: str | None = ... - """The resource discovery ID.""" - resource_region: str | None = ... - """The resource Region.""" - resource_id: str | None = ... - """The resource ID.""" - resource_owner_id: str | None = ... - """The resource owner ID.""" - resource_cidr: str | None = ... - """The resource CIDR.""" - ip_source: str | None = ... - """ - The source that allocated the IP address space. `byoip` or `amazon` - indicates public IP address space allocated by Amazon or space that you - have allocated with Bring your own IP (BYOIP). `none` indicates private - space. - """ - resource_type: str | None = ... - """The resource type.""" - resource_tags: list[IpamResourceTag] | None = ... - """The resource tags.""" - ip_usage: float | None = ... - """ - The percentage of IP address space in use. To convert the decimal to a - percentage, multiply the decimal by 100. Note the following: - - - For resources that are VPCs, this is the percentage of IP address - space in the VPC that's taken up by subnet CIDRs. - - - For resources that are subnets, if the subnet has an IPv4 CIDR - provisioned to it, this is the percentage of IPv4 address space in the - subnet that's in use. If the subnet has an IPv6 CIDR provisioned to - it, the percentage of IPv6 address space in use is not represented. - The percentage of IPv6 address space in use cannot currently be - calculated. - - - For resources that are public IPv4 pools, this is the percentage of IP - address space in the pool that's been allocated to Elastic IP - addresses (EIPs). - """ - vpc_id: str | None = ... - """The VPC ID.""" - subnet_id: str | None = ... - """The subnet ID.""" - network_interface_attachment_status: str | None = ... - """ - For elastic network interfaces, this is the status of whether or not the - elastic network interface is attached. - """ - sample_time: datetime | None = ... - """The last successful resource discovery time.""" - availability_zone_id: str | None = ... - """The Availability Zone ID.""" - -@dataclass(kw_only=True) -class IpamDiscoveredRoute(_SerdeShape): - """ - Contains information about a BGP route discovered by IPAM resource - discovery. - """ - - ipam_resource_discovery_id: str | None = ... - """The ID of the IPAM resource discovery that discovered the route.""" - resource_region: str | None = ... - """The Amazon Web Services Region where the route was discovered.""" - resource_owner_id: str | None = ... - """The ID of the resource owner.""" - cidr: str | None = ... - """The IP address prefix of the discovered route in CIDR notation.""" - asn: str | None = ... - """The Autonomous System Number (ASN) that originates the route.""" - state: str | None = ... - """ - The state of the BYOIP CIDR. Possible values: - - - `advertised` - The CIDR is being advertised. - - - `deprovisioned` - The CIDR has been deprovisioned. - - - `failed-deprovision` - Deprovisioning failed. - - - `failed-provision` - Provisioning failed. - - - `pending-deprovision` - Deprovisioning is in progress. - - - `pending-provision` - Provisioning is in progress. - - - `provisioned` - The CIDR is provisioned. - - - `provisioned-not-publicly-advertisable` - The CIDR is provisioned but - not publicly advertisable. - """ - advertisement_type: str | None = ... - """ - The advertisement type of the route. Possible values: - - - `regional` - The IP address is advertised from a single location - (regional services such as Amazon EC2). - - - `global` - The IP address is advertised from multiple global locations - simultaneously (global services such as Amazon CloudFront). - """ - network_border_group: str | None = ... - """The network border group for the route.""" - pool_id: str | None = ... - """The ID of the BYOIP pool associated with the route.""" - ipam_pool_id: str | None = ... - """The ID of the IPAM pool associated with the route.""" - sample_time: datetime | None = ... - """The time when the route was last sampled.""" - -class IpamDiscoveryFailureCode(UnknownEnumMixin, StrEnum): - ASSUME_ROLE_FAILURE = "assume-role-failure" - THROTTLING_FAILURE = "throttling-failure" - UNAUTHORIZED_FAILURE = "unauthorized-failure" - -@dataclass(kw_only=True) -class IpamDiscoveryFailureReason(_SerdeShape): - """The discovery failure reason.""" - - code: str | None = ... - """ - The discovery failure code. - - - `assume-role-failure` - IPAM could not assume the Amazon Web Services - IAM service-linked role. This could be because of any of the - following: - - - SLR has not been created yet and IPAM is still creating it. - - - You have opted-out of the IPAM home Region. - - - Account you are using as your IPAM account has been suspended. - - - `throttling-failure` - IPAM account is already using the allotted - transactions per second and IPAM is receiving a throttling error when - assuming the Amazon Web Services IAM SLR. - - - `unauthorized-failure` - Amazon Web Services account making the - request is not authorized. For more information, see - [AuthFailure](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html) - in the *Amazon Elastic Compute Cloud API Reference*. - """ - message: str | None = ... - """The discovery failure message.""" - -@dataclass(kw_only=True) -class IpamExternalResourceVerificationToken(_SerdeShape): - """ - A verification token is an Amazon Web Services-generated random value - that you can use to prove ownership of an external resource. For - example, you can use a verification token to validate that you control a - public IP address range when you bring an IP address range to Amazon Web - Services (BYOIP). - """ - - ipam_external_resource_verification_token_id: str | None = ... - """The ID of the token.""" - ipam_external_resource_verification_token_arn: str | None = ... - """Token ARN.""" - ipam_id: str | None = ... - """The ID of the IPAM that created the token.""" - ipam_arn: str | None = ... - """ARN of the IPAM that created the token.""" - ipam_region: str | None = ... - """Region of the IPAM that created the token.""" - token_value: str | None = ... - """Token value.""" - token_name: str | None = ... - """Token name.""" - not_after: datetime | None = ... - """Token expiration.""" - status: str | None = ... - """Token status.""" - tags: list[Tag] | None = ... - """Token tags.""" - state: str | None = ... - """Token state.""" - -class IpamExternalResourceVerificationTokenState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - -@dataclass(kw_only=True) -class IpamInternetRegistryAssociation(_SerdeShape): - """ - Contains information about an association between an IPAM and a Regional - Internet Registry (RIR) for delegated RPKI management. - """ - - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the internet - registry association. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the internet registry association.""" - ipam_internet_registry_association_arn: str | None = ... - """The Amazon Resource Name (ARN) of the internet registry association.""" - ipam_id: str | None = ... - """The ID of the associated IPAM.""" - ipam_region: str | None = ... - """The Amazon Web Services Region of the IPAM.""" - rir: str | None = ... - """ - The Regional Internet Registry. Possible values: - - - `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia). - - - `apnic` - APNIC (Asia Pacific). - - - `arin` - ARIN (North America). - - - `lacnic` - LACNIC (Latin America and the Caribbean). - """ - organization_handle: str | None = ... - """The organization handle at the internet registry.""" - description: str | None = ... - """The description of the internet registry association.""" - state: str | None = ... - """ - The state of the internet registry association. Valid values: - `pending-activation` | `pending-enable` | `create-in-progress` | - `create-failed` | `enable-in-progress` | `enable-complete` | - `enable-failed` | `delete-in-progress` | `delete-complete` | - `delete-failed`. - """ - state_message: str | None = ... - """ - A message describing the current state of the internet registry - association, including additional details such as the reason for a - failure. - """ - child_request_xml: str | None = ... - """ - The XML content for the child request to be submitted to the internet - registry to complete the BPKI setup. - """ - tags: list[Tag] | None = ... - """The tags assigned to the internet registry association.""" - -@dataclass(kw_only=True) -class IpamInternetRegistryAssociationAsn(_SerdeShape): - """ - Contains information about an Autonomous System Number (ASN) registered - at an internet registry and associated with an IPAM. - """ - - asn: str | None = ... - """The Autonomous System Number.""" - last_observed_at: datetime | None = ... - """The time when the ASN was last observed at the internet registry.""" - -@dataclass(kw_only=True) -class IpamInternetRegistryAssociationCidr(_SerdeShape): - """ - Contains information about an IP address CIDR registered at an internet - registry and associated with an IPAM. - """ - - cidr: str | None = ... - """The IP address prefix in CIDR notation.""" - last_observed_at: datetime | None = ... - """The time when the CIDR was last observed at the internet registry.""" - -class IpamInternetRegistryAssociationState(UnknownEnumMixin, StrEnum): - """The state of an IPAM internet registry association.""" - - PENDING_ENABLE = "pending-enable" - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_FAILED = "create-failed" - ENABLE_IN_PROGRESS = "enable-in-progress" - ENABLE_COMPLETE = "enable-complete" - ENABLE_FAILED = "enable-failed" - DISABLE_IN_PROGRESS = "disable-in-progress" - DISABLE_COMPLETE = "disable-complete" - DISABLE_FAILED = "disable-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - -class IpamManagementState(UnknownEnumMixin, StrEnum): - MANAGED = "managed" - UNMANAGED = "unmanaged" - IGNORED = "ignored" - -class IpamMeteredAccount(UnknownEnumMixin, StrEnum): - IPAM_OWNER = "ipam-owner" - RESOURCE_OWNER = "resource-owner" - -class IpamNetworkInterfaceAttachmentStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - IN_USE = "in-use" - -@dataclass(kw_only=True) -class IpamOperatingRegion(_SerdeShape): - """ - The operating Regions for an IPAM. Operating Regions are Amazon Web - Services Regions where the IPAM is allowed to manage IP address CIDRs. - IPAM only discovers and monitors resources in the Amazon Web Services - Regions you select as operating Regions. - - For more information about operating Regions, see [Create an - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - - region_name: str | None = ... - """The name of the operating Region.""" - -@dataclass(kw_only=True) -class IpamOrganizationalUnitExclusion(_SerdeShape): - """ - If your IPAM is integrated with Amazon Web Services Organizations and - you add an organizational unit (OU) exclusion, IPAM will not manage the - IP addresses in accounts in that OU exclusion. - """ - - organizations_entity_path: str | None = ... - """ - An Amazon Web Services Organizations entity path. For more information - on the entity path, see [Understand the Amazon Web Services - Organizations entity - path](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path) - in the *Amazon Web Services Identity and Access Management User Guide*. - """ - -class IpamOverlapStatus(UnknownEnumMixin, StrEnum): - OVERLAPPING = "overlapping" - NONOVERLAPPING = "nonoverlapping" - IGNORED = "ignored" - -@dataclass(kw_only=True) -class IpamPolicy(_SerdeShape): - """ - Information about an IPAM policy. - - An IPAM policy is a set of rules that define how public IPv4 addresses - from IPAM pools are allocated to Amazon Web Services resources. Each - rule maps an Amazon Web Services service to IPAM pools that the service - will use to get IP addresses. A single policy can have multiple rules - and be applied to multiple Amazon Web Services Regions. If the IPAM pool - run out of addresses then the services fallback to Amazon-provided IP - addresses. A policy can be applied to an individual Amazon Web Services - account or an entity within Amazon Web Services Organizations. - """ - - owner_id: str | None = ... - """The account ID that owns the IPAM policy.""" - ipam_policy_id: str | None = ... - """The ID of the IPAM policy.""" - ipam_policy_arn: str | None = ... - """The Amazon Resource Name (ARN) of the IPAM policy.""" - ipam_policy_region: str | None = ... - """The Region of the IPAM policy.""" - state: str | None = ... - """The state of the IPAM policy.""" - state_message: str | None = ... - """A message about the state of the IPAM policy.""" - tags: list[Tag] | None = ... - """The tags assigned to the IPAM policy.""" - ipam_id: str | None = ... - """The ID of the IPAM this policy belongs to.""" - -@dataclass(kw_only=True) -class IpamPolicyAllocationRule(_SerdeShape): - """ - Information about an IPAM policy allocation rule. - - Allocation rules are optional configurations within an IPAM policy that - map Amazon Web Services resource types to specific IPAM pools. If no - rules are defined, the resource types default to using Amazon-provided - IP addresses. - """ - - source_ipam_pool_id: str | None = ... - """ - The ID of the source IPAM pool for the allocation rule. - - An IPAM pool is a collection of IP addresses in IPAM that can be - allocated to Amazon Web Services resources. - """ - -@dataclass(kw_only=True) -class IpamPolicyAllocationRuleRequest(_SerdeShape): - """ - Information about a requested IPAM policy allocation rule. - - Allocation rules are optional configurations within an IPAM policy that - map Amazon Web Services resource types to specific IPAM pools. If no - rules are defined, the resource types default to using Amazon-provided - IP addresses. - """ - - source_ipam_pool_id: str | None = ... - """ - The ID of the source IPAM pool for the requested allocation rule. - - An IPAM pool is a collection of IP addresses in IPAM that can be - allocated to Amazon Web Services resources. - """ - -@dataclass(kw_only=True) -class IpamPolicyDocument(_SerdeShape): - """Information about an IPAM policy.""" - - ipam_policy_id: str | None = ... - """The ID of the IPAM policy.""" - locale: str | None = ... - """The locale of the IPAM policy document.""" - resource_type: str | None = ... - """ - The resource type of the IPAM policy document. - - The Amazon Web Services service or resource type that can use IP - addresses through IPAM policies. Supported services and resource types - include: - - - Elastic IP addresses - """ - allocation_rules: list[IpamPolicyAllocationRule] | None = ... - """ - The allocation rules in the IPAM policy document. - - Allocation rules are optional configurations within an IPAM policy that - map Amazon Web Services resource types to specific IPAM pools. If no - rules are defined, the resource types default to using Amazon-provided - IP addresses. - """ - -class IpamPolicyManagedBy(UnknownEnumMixin, StrEnum): - ACCOUNT = "account" - DELEGATED_ADMINISTRATOR_FOR_IPAM = "delegated-administrator-for-ipam" - -@dataclass(kw_only=True) -class IpamPolicyOrganizationTarget(_SerdeShape): - """The Amazon Web Services Organizations target for an IPAM policy.""" - - organization_target_id: str | None = ... - """ - The ID of the Amazon Web Services Organizations target. - - A target can be an individual Amazon Web Services account or an entity - within an Amazon Web Services Organization to which an IPAM policy can - be applied. - """ - -class IpamPolicyResourceType(UnknownEnumMixin, StrEnum): - ALB = "alb" - EIP = "eip" - RDS = "rds" - RNAT = "rnat" - -class IpamPolicyState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - MODIFY_IN_PROGRESS = "modify-in-progress" - MODIFY_COMPLETE = "modify-complete" - MODIFY_FAILED = "modify-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - ISOLATE_IN_PROGRESS = "isolate-in-progress" - ISOLATE_COMPLETE = "isolate-complete" - RESTORE_IN_PROGRESS = "restore-in-progress" - -@dataclass(kw_only=True) -class IpamPool(_SerdeShape): - """ - In IPAM, a pool is a collection of contiguous IP addresses CIDRs. Pools - enable you to organize your IP addresses according to your routing and - security needs. For example, if you have separate routing and security - needs for development and production applications, you can create a pool - for each. - """ - - owner_id: str | None = ... - """The Amazon Web Services account ID of the owner of the IPAM pool.""" - ipam_pool_id: str | None = ... - """The ID of the IPAM pool.""" - source_ipam_pool_id: str | None = ... - """ - The ID of the source IPAM pool. You can use this option to create an - IPAM pool within an existing source pool. - """ - ipam_pool_arn: str | None = ... - """The Amazon Resource Name (ARN) of the IPAM pool.""" - ipam_scope_arn: str | None = ... - """The ARN of the scope of the IPAM pool.""" - ipam_scope_type: str | None = ... - """ - In IPAM, a scope is the highest-level container within IPAM. An IPAM - contains two default scopes. Each scope represents the IP space for a - single network. The private scope is intended for all private IP address - space. The public scope is intended for all public IP address space. - Scopes enable you to reuse IP addresses across multiple unconnected - networks without causing IP address overlap or conflict. - """ - ipam_arn: str | None = ... - """The ARN of the IPAM.""" - ipam_region: str | None = ... - """The Amazon Web Services Region of the IPAM pool.""" - locale: str | None = ... - """ - The locale of the IPAM pool. - - The locale for the pool should be one of the following: - - - An Amazon Web Services Region where you want this IPAM pool to be - available for allocations. - - - The network border group for an Amazon Web Services Local Zone where - you want this IPAM pool to be available for allocations ([supported - Local - Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail)). - This option is only available for IPAM IPv4 pools in the public scope. - - If you choose an Amazon Web Services Region for locale that has not been - configured as an operating Region for the IPAM, you'll get an error. - """ - pool_depth: int | None = ... - """ - The depth of pools in your IPAM pool. The pool depth quota is 10. For - more information, see [Quotas in - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - state: str | None = ... - """The state of the IPAM pool.""" - state_message: str | None = ... - """The state message.""" - description: str | None = ... - """The description of the IPAM pool.""" - auto_import: bool | None = ... - """ - If selected, IPAM will continuously look for resources within the CIDR - range of this pool and automatically import them as allocations into - your IPAM. The CIDRs that will be allocated for these resources must not - already be allocated to other resources in order for the import to - succeed. IPAM will import a CIDR regardless of its compliance with the - pool's allocation rules, so a resource might be imported and - subsequently marked as noncompliant. If IPAM discovers multiple CIDRs - that overlap, IPAM will import the largest CIDR only. If IPAM discovers - multiple CIDRs with matching CIDRs, IPAM will randomly import one of - them only. - - A locale must be set on the pool for this feature to work. - """ - publicly_advertisable: bool | None = ... - """ - Determines if a pool is publicly advertisable. This option is not - available for pools with AddressFamily set to `ipv4`. - """ - address_family: str | None = ... - """The address family of the pool.""" - allocation_min_netmask_length: int | None = ... - """ - The minimum netmask length required for CIDR allocations in this IPAM - pool to be compliant. The minimum netmask length must be less than the - maximum netmask length. Possible netmask lengths for IPv4 addresses are - 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. - """ - allocation_max_netmask_length: int | None = ... - """ - The maximum netmask length possible for CIDR allocations in this IPAM - pool to be compliant. The maximum netmask length must be greater than - the minimum netmask length. Possible netmask lengths for IPv4 addresses - are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. - """ - allocation_default_netmask_length: int | None = ... - """ - The default netmask length for allocations added to this pool. If, for - example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 - here, new allocations will default to 10.0.0.0/16. - """ - allocation_resource_tags: list[IpamResourceTag] | None = ... - """ - Tags that are required for resources that use CIDRs from this IPAM pool. - Resources that do not have these tags will not be allowed to allocate - space from the pool. If the resources have their tags changed after they - have allocated space or if the allocation tagging requirements are - changed on the pool, the resource may be marked as noncompliant. - """ - tags: list[Tag] | None = ... - """ - 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 `Owner` and - the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` - for the filter value. - """ - aws_service: str | None = ... - """ - Limits which service in Amazon Web Services that the pool can be used - in. \"ec2\", for example, allows users to use space for Elastic IP - addresses and VPCs. - """ - public_ip_source: str | None = ... - """ - The IP address source for pools in the public scope. Only used for - provisioning IP address CIDRs to pools in the public scope. Default is - `BYOIP`. For more information, see [Create IPv6 - pools](https://docs.aws.amazon.com/vpc/latest/ipam/intro-create-ipv6-pools.html) - in the *Amazon VPC IPAM User Guide*. By default, you can add only one - Amazon-provided IPv6 CIDR block to a top-level IPv6 pool. For - information on increasing the default limit, see [Quotas for your - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - source_resource: IpamPoolSourceResource | None = ... - """The resource used to provision CIDRs to a resource planning pool.""" - -@dataclass(kw_only=True) -class IpamPoolAllocation(_SerdeShape): - """ - In IPAM, an allocation is a CIDR assignment from an IPAM pool to another - IPAM pool or to a resource. - """ - - cidr: str | None = ... - """ - The CIDR for the allocation. A CIDR is a representation of an IP address - and its associated network mask (or netmask) and refers to a range of IP - addresses. An IPv4 CIDR example is `10.24.34.0/23`. An IPv6 CIDR example - is `2001:DB8::/32`. - """ - ipam_pool_allocation_id: str | None = ... - """The ID of an allocation.""" - description: str | None = ... - """A description of the pool allocation.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """The type of the resource.""" - resource_region: str | None = ... - """The Amazon Web Services Region of the resource.""" - resource_owner: str | None = ... - """The owner of the resource.""" - tags: list[Tag] | None = ... - """The tags for the IPAM pool allocation.""" - -class IpamPoolAllocationResourceType(UnknownEnumMixin, StrEnum): - IPAM_POOL = "ipam-pool" - VPC = "vpc" - EC2_PUBLIC_IPV4_POOL = "ec2-public-ipv4-pool" - CUSTOM = "custom" - SUBNET = "subnet" - EIP = "eip" - ANYCAST_IP_LIST = "anycast-ip-list" - -class IpamPoolAwsService(UnknownEnumMixin, StrEnum): - EC2 = "ec2" - GLOBAL_SERVICES = "global-services" - -@dataclass(kw_only=True) -class IpamPoolCidr(_SerdeShape): - """A CIDR provisioned to an IPAM pool.""" - - cidr: str | None = ... - """ - The CIDR provisioned to the IPAM pool. A CIDR is a representation of an - IP address and its associated network mask (or netmask) and refers to a - range of IP addresses. An IPv4 CIDR example is `10.24.34.0/23`. An IPv6 - CIDR example is `2001:DB8::/32`. - """ - state: str | None = ... - """The state of the CIDR.""" - failure_reason: IpamPoolCidrFailureReason | None = ... - """Details related to why an IPAM pool CIDR failed to be provisioned.""" - ipam_pool_cidr_id: str | None = ... - """The IPAM pool CIDR ID.""" - netmask_length: int | None = ... - """ - The netmask length of the CIDR you'd like to provision to a pool. Can - be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools - and for provisioning CIDRs to pools with source pools. Cannot be used to - provision BYOIP CIDRs to top-level pools. \"NetmaskLength\" or \"Cidr\" - is required. - """ - -class IpamPoolCidrFailureCode(UnknownEnumMixin, StrEnum): - CIDR_NOT_AVAILABLE = "cidr-not-available" - LIMIT_EXCEEDED = "limit-exceeded" - -@dataclass(kw_only=True) -class IpamPoolCidrFailureReason(_SerdeShape): - """Details related to why an IPAM pool CIDR failed to be provisioned.""" - - code: str | None = ... - """An error code related to why an IPAM pool CIDR failed to be provisioned.""" - message: str | None = ... - """A message related to why an IPAM pool CIDR failed to be provisioned.""" - -class IpamPoolCidrState(UnknownEnumMixin, StrEnum): - PENDING_PROVISION = "pending-provision" - PROVISIONED = "provisioned" - FAILED_PROVISION = "failed-provision" - PENDING_DEPROVISION = "pending-deprovision" - DEPROVISIONED = "deprovisioned" - FAILED_DEPROVISION = "failed-deprovision" - PENDING_IMPORT = "pending-import" - FAILED_IMPORT = "failed-import" - -class IpamPoolPublicIpSource(UnknownEnumMixin, StrEnum): - AMAZON = "amazon" - BYOIP = "byoip" - -@dataclass(kw_only=True) -class IpamPoolSourceResource(_SerdeShape): - """The resource used to provision CIDRs to a resource planning pool.""" - - resource_id: str | None = ... - """The source resource ID.""" - resource_type: str | None = ... - """The source resource type.""" - resource_region: str | None = ... - """The source resource Region.""" - resource_owner: str | None = ... - """The source resource owner.""" - -@dataclass(kw_only=True) -class IpamPoolSourceResourceRequest(_SerdeShape): - """The resource used to provision CIDRs to a resource planning pool.""" - - resource_id: str | None = ... - """The source resource ID.""" - resource_type: str | None = ... - """The source resource type.""" - resource_region: str | None = ... - """The source resource Region.""" - resource_owner: str | None = ... - """The source resource owner.""" - -class IpamPoolSourceResourceType(UnknownEnumMixin, StrEnum): - VPC = "vpc" - -class IpamPoolState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - MODIFY_IN_PROGRESS = "modify-in-progress" - MODIFY_COMPLETE = "modify-complete" - MODIFY_FAILED = "modify-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - ISOLATE_IN_PROGRESS = "isolate-in-progress" - ISOLATE_COMPLETE = "isolate-complete" - RESTORE_IN_PROGRESS = "restore-in-progress" - -@dataclass(kw_only=True) -class IpamPrefixListResolver(_SerdeShape): - """ - Describes an IPAM prefix list resolver. - - An IPAM prefix list resolver is a component that manages the - synchronization between IPAM's CIDR selection rules and - customer-managed prefix lists. It automates connectivity configurations - by selecting CIDRs from IPAM's database based on your business logic - and synchronizing them with prefix lists used in resources such as VPC - route tables and security groups. - """ - - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the IPAM prefix list - resolver. - """ - ipam_prefix_list_resolver_id: str | None = ... - """The ID of the IPAM prefix list resolver.""" - ipam_prefix_list_resolver_arn: str | None = ... - """The Amazon Resource Name (ARN) of the IPAM prefix list resolver.""" - ipam_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IPAM associated with this - resolver. - """ - ipam_region: str | None = ... - """The Amazon Web Services Region where the associated IPAM is located.""" - description: str | None = ... - """The description of the IPAM prefix list resolver.""" - address_family: str | None = ... - """The address family (IPv4 or IPv6) for the IPAM prefix list resolver.""" - state: str | None = ... - """ - The current state of the IPAM prefix list resolver. Valid values include - `create-in-progress`, `create-complete`, `create-failed`, - `modify-in-progress`, `modify-complete`, `modify-failed`, - `delete-in-progress`, `delete-complete`, and `delete-failed`. - """ - tags: list[Tag] | None = ... - """The tags assigned to the IPAM prefix list resolver.""" - last_version_creation_status: str | None = ... - """ - The status for the last time a version was created. - - Each version is a snapshot of what CIDRs matched your rules at that - moment in time. The version number increments every time the CIDR list - changes due to infrastructure changes. - """ - last_version_creation_status_message: str | None = ... - """ - The status message for the last time a version was created. - - Each version is a snapshot of what CIDRs matched your rules at that - moment in time. The version number increments every time the CIDR list - changes due to infrastructure changes. - """ - -@dataclass(kw_only=True) -class IpamPrefixListResolverRule(_SerdeShape): - """ - Describes a CIDR selection rule. - - CIDR selection rules define the business logic for selecting CIDRs from - IPAM. If a CIDR matches any of the rules, it will be included. If a rule - has multiple conditions, the CIDR has to match every condition of that - rule. You can create a prefix list resolver without any CIDR selection - rules, but it will generate empty versions (containing no CIDRs) until - you add rules. - """ - - rule_type: str | None = ... - """ - The type of CIDR selection rule. Valid values include `include` for - selecting CIDRs that match the conditions, and `exclude` for excluding - CIDRs that match the conditions. - """ - static_cidr: str | None = ... - """ - A fixed list of CIDRs that do not change (like a manual list replicated - across Regions). - """ - ipam_scope_id: str | None = ... - """ - The ID of the IPAM scope from which to select CIDRs. This determines - whether to select from public or private IP address space. - """ - resource_type: str | None = ... - """For rules of type `ipam-resource-cidr`, this is the resource type.""" - conditions: list[IpamPrefixListResolverRuleCondition] | None = ... - """ - The conditions that determine which CIDRs are selected by this rule. - Conditions specify criteria such as resource type, tags, account IDs, - and Regions. - """ - -@dataclass(kw_only=True) -class IpamPrefixListResolverRuleCondition(_SerdeShape): - """ - Describes a condition within a CIDR selection rule. Conditions define - the criteria for selecting CIDRs from IPAM's database based on resource - attributes. - - CIDR selection rules define the business logic for selecting CIDRs from - IPAM. If a CIDR matches any of the rules, it will be included. If a rule - has multiple conditions, the CIDR has to match every condition of that - rule. You can create a prefix list resolver without any CIDR selection - rules, but it will generate empty versions (containing no CIDRs) until - you add rules. - - There are three rule types. Only 2 of the 3 rule types support - conditions - **IPAM pool CIDR** and **Scope resource CIDR**. **Static - CIDR** rules cannot have conditions. - - - **Static CIDR**: A fixed list of CIDRs that do not change (like a - manual list replicated across Regions) - - - **IPAM pool CIDR**: CIDRs from specific IPAM pools (like all CIDRs - from your IPAM production pool) - - If you choose this option, choose the following: - - - **IPAM scope**: Select the IPAM scope to search for resources - - - **Conditions:** - - - **Property** - - - **IPAM pool ID**: Select an IPAM pool that contains the - resources - - - **CIDR** (like 10.24.34.0/23) - - - **Operation**: Equals/Not equals - - - **Value**: The value on which to match the condition - - - **Scope resource CIDR**: CIDRs from Amazon Web Services resources like - VPCs, subnets, EIPs within an IPAM scope - - If you choose this option, choose the following: - - - **IPAM scope**: Select the IPAM scope to search for resources - - - **Resource type**: Select a resource, like a VPC or subnet. - - - **Conditions**: - - - **Property**: - - - Resource ID: The unique ID of a resource (like - vpc-1234567890abcdef0) - - - Resource owner (like 111122223333) - - - Resource region (like us-east-1) - - - Resource tag (like key: name, value: dev-vpc-1) - - - CIDR (like 10.24.34.0/23) - - - **Operation**: Equals/Not equals - - - **Value**: The value on which to match the condition - """ - - operation: str | None = ... - """ - The operation to perform when evaluating this condition. Valid values - include `equals`, `not-equals`, `contains`, and `not-contains`. - """ - ipam_pool_id: str | None = ... - """ - The ID of the IPAM pool to match against. This condition selects CIDRs - that belong to the specified IPAM pool. - """ - resource_id: str | None = ... - """ - The ID of the Amazon Web Services resource to match against. This - condition selects CIDRs associated with the specified resource. - """ - resource_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the resources to match - against. This condition selects CIDRs from resources owned by the - specified account. - """ - resource_region: str | None = ... - """ - The Amazon Web Services Region where the resources are located. This - condition selects CIDRs from resources in the specified Region. - """ - resource_tag: IpamResourceTag | None = ... - """ - A tag key-value pair to match against. This condition selects CIDRs from - resources that have the specified tag. - """ - cidr: str | None = ... - """ - A CIDR block to match against. This condition selects CIDRs that fall - within or match the specified CIDR range. - """ - -class IpamPrefixListResolverRuleConditionOperation(UnknownEnumMixin, StrEnum): - EQUALS = "equals" - NOT_EQUALS = "not-equals" - SUBNET_OF = "subnet-of" - -@dataclass(kw_only=True) -class IpamPrefixListResolverRuleConditionRequest(_SerdeShape): - """ - Describes a condition used when creating or modifying resolver rules. - - CIDR selection rules define the business logic for selecting CIDRs from - IPAM. If a CIDR matches any of the rules, it will be included. If a rule - has multiple conditions, the CIDR has to match every condition of that - rule. You can create a prefix list resolver without any CIDR selection - rules, but it will generate empty versions (containing no CIDRs) until - you add rules. - - There are three rule types. Only 2 of the 3 rule types support - conditions - **IPAM pool CIDR** and **Scope resource CIDR**. **Static - CIDR** rules cannot have conditions. - - - **Static CIDR**: A fixed list of CIDRs that do not change (like a - manual list replicated across Regions) - - - **IPAM pool CIDR**: CIDRs from specific IPAM pools (like all CIDRs - from your IPAM production pool) - - If you choose this option, choose the following: - - - **IPAM scope**: Select the IPAM scope to search for resources - - - **Conditions:** - - - **Property** - - - **IPAM pool ID**: Select an IPAM pool that contains the - resources - - - **CIDR** (like 10.24.34.0/23) - - - **Operation**: Equals/Not equals - - - **Value**: The value on which to match the condition - - - **Scope resource CIDR**: CIDRs from Amazon Web Services resources like - VPCs, subnets, EIPs within an IPAM scope - - If you choose this option, choose the following: - - - **IPAM scope**: Select the IPAM scope to search for resources - - - **Resource type**: Select a resource, like a VPC or subnet. - - - **Conditions**: - - - **Property**: - - - Resource ID: The unique ID of a resource (like - vpc-1234567890abcdef0) - - - Resource owner (like 111122223333) - - - Resource region (like us-east-1) - - - Resource tag (like key: name, value: dev-vpc-1) - - - CIDR (like 10.24.34.0/23) - - - **Operation**: Equals/Not equals - - - **Value**: The value on which to match the condition - """ - - operation: str | None = ... - """The operation to perform when evaluating this condition.""" - ipam_pool_id: str | None = ... - """ - The ID of the IPAM pool to match against. This condition selects CIDRs - that belong to the specified IPAM pool. - """ - resource_id: str | None = ... - """ - The ID of the Amazon Web Services resource to match against. This - condition selects CIDRs associated with the specified resource. - """ - resource_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the resources to match - against. This condition selects CIDRs from resources owned by the - specified account. - """ - resource_region: str | None = ... - """ - The Amazon Web Services Region where the resources are located. This - condition selects CIDRs from resources in the specified Region. - """ - resource_tag: RequestIpamResourceTag | None = ... - """ - A tag key-value pair to match against. This condition selects CIDRs from - resources that have the specified tag. - """ - cidr: str | None = ... - """ - A CIDR block to match against. This condition selects CIDRs that fall - within or match the specified CIDR range. - """ - -@dataclass(kw_only=True) -class IpamPrefixListResolverRuleRequest(_SerdeShape): - """ - Describes a CIDR selection rule to include in a request. This is used - when creating or modifying resolver rules. - - CIDR selection rules define the business logic for selecting CIDRs from - IPAM. If a CIDR matches any of the rules, it will be included. If a rule - has multiple conditions, the CIDR has to match every condition of that - rule. You can create a prefix list resolver without any CIDR selection - rules, but it will generate empty versions (containing no CIDRs) until - you add rules. - - There are three rule types. Only 2 of the 3 rule types support - conditions - **IPAM pool CIDR** and **Scope resource CIDR**. **Static - CIDR** rules cannot have conditions. - - - **Static CIDR**: A fixed list of CIDRs that do not change (like a - manual list replicated across Regions) - - - **IPAM pool CIDR**: CIDRs from specific IPAM pools (like all CIDRs - from your IPAM production pool) - - If you choose this option, choose the following: - - - **IPAM scope**: Select the IPAM scope to search for resources - - - **Conditions:** - - - **Property** - - - **IPAM pool ID**: Select an IPAM pool that contains the - resources - - - **CIDR** (like 10.24.34.0/23) - - - **Operation**: Equals/Not equals - - - **Value**: The value on which to match the condition - - - **Scope resource CIDR**: CIDRs from Amazon Web Services resources like - VPCs, subnets, EIPs within an IPAM scope - - If you choose this option, choose the following: - - - **IPAM scope**: Select the IPAM scope to search for resources - - - **Resource type**: Select a resource, like a VPC or subnet. - - - **Conditions**: - - - **Property**: - - - Resource ID: The unique ID of a resource (like - vpc-1234567890abcdef0) - - - Resource owner (like 111122223333) - - - Resource region (like us-east-1) - - - Resource tag (like key: name, value: dev-vpc-1) - - - CIDR (like 10.24.34.0/23) - - - **Operation**: Equals/Not equals - - - **Value**: The value on which to match the condition - """ - - rule_type: str | None = ... - """ - The type of CIDR selection rule. Valid values include `include` for - selecting CIDRs that match the conditions, and `exclude` for excluding - CIDRs that match the conditions. - """ - static_cidr: str | None = ... - """ - A fixed list of CIDRs that do not change (like a manual list replicated - across Regions). - """ - ipam_scope_id: str | None = ... - """ - The ID of the IPAM scope from which to select CIDRs. This determines - whether to select from public or private IP address space. - """ - resource_type: str | None = ... - """For rules of type `ipam-resource-cidr`, this is the resource type.""" - conditions: list[IpamPrefixListResolverRuleConditionRequest] | None = ... - """ - The conditions that determine which CIDRs are selected by this rule. - Conditions specify criteria such as resource type, tags, account IDs, - and Regions. - """ - -class IpamPrefixListResolverRuleType(UnknownEnumMixin, StrEnum): - STATIC_CIDR = "static-cidr" - IPAM_RESOURCE_CIDR = "ipam-resource-cidr" - IPAM_POOL_CIDR = "ipam-pool-cidr" - -class IpamPrefixListResolverState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - MODIFY_IN_PROGRESS = "modify-in-progress" - MODIFY_COMPLETE = "modify-complete" - MODIFY_FAILED = "modify-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - ISOLATE_IN_PROGRESS = "isolate-in-progress" - ISOLATE_COMPLETE = "isolate-complete" - RESTORE_IN_PROGRESS = "restore-in-progress" - -@dataclass(kw_only=True) -class IpamPrefixListResolverTarget(_SerdeShape): - """ - Describes an IPAM prefix list resolver target. - - An IPAM prefix list resolver target is an association between a specific - customer-managed prefix list and an IPAM prefix list resolver. The - target enables the resolver to synchronize CIDRs selected by its rules - into the specified prefix list, which can then be referenced in Amazon - Web Services resources. - """ - - ipam_prefix_list_resolver_target_id: str | None = ... - """The ID of the IPAM prefix list resolver target.""" - ipam_prefix_list_resolver_target_arn: str | None = ... - """The Amazon Resource Name (ARN) of the IPAM prefix list resolver target.""" - ipam_prefix_list_resolver_id: str | None = ... - """The ID of the IPAM prefix list resolver associated with this target.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the IPAM prefix list - resolver target. - """ - prefix_list_id: str | None = ... - """The ID of the managed prefix list associated with this target.""" - prefix_list_region: str | None = ... - """ - The Amazon Web Services Region where the prefix list associated with - this target is located. - """ - desired_version: int | None = ... - """ - The desired version of the prefix list that this target should - synchronize with. - """ - last_synced_version: int | None = ... - """ - The version of the prefix list that was last successfully synchronized - by this target. - """ - track_latest_version: bool | None = ... - """ - Indicates whether this target automatically tracks the latest version of - the prefix list. - """ - state_message: str | None = ... - """ - A message describing the current state of the IPAM prefix list resolver - target, including any error information. - """ - state: str | None = ... - """ - The current state of the IPAM prefix list resolver target. Valid values - include `create-in-progress`, `create-complete`, `create-failed`, - `modify-in-progress`, `modify-complete`, `modify-failed`, - `delete-in-progress`, `delete-complete`, and `delete-failed`. - """ - tags: list[Tag] | None = ... - """The tags assigned to the IPAM prefix list resolver target.""" - -class IpamPrefixListResolverTargetState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - MODIFY_IN_PROGRESS = "modify-in-progress" - MODIFY_COMPLETE = "modify-complete" - MODIFY_FAILED = "modify-failed" - SYNC_IN_PROGRESS = "sync-in-progress" - SYNC_COMPLETE = "sync-complete" - SYNC_FAILED = "sync-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - ISOLATE_IN_PROGRESS = "isolate-in-progress" - ISOLATE_COMPLETE = "isolate-complete" - RESTORE_IN_PROGRESS = "restore-in-progress" - -@dataclass(kw_only=True) -class IpamPrefixListResolverVersion(_SerdeShape): - """ - Describes a version of an IPAM prefix list resolver. - - Each version is a snapshot of what CIDRs matched your rules at that - moment in time. The version number increments every time the CIDR list - changes due to infrastructure changes. - - **Version example:** - - **Initial State (Version 1)** - - Production environment: - - - vpc-prod-web (10.1.0.0/16) - tagged env=prod - - - vpc-prod-db (10.2.0.0/16) - tagged env=prod - - Resolver rule: Include all VPCs tagged env=prod - - **Version 1 CIDRs:** 10.1.0.0/16, 10.2.0.0/16 - - **Infrastructure Change (Version 2)** - - New VPC added: - - - vpc-prod-api (10.3.0.0/16) - tagged env=prod - - IPAM automatically detects the change and creates a new version. - - **Version 2 CIDRs:** 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16 - """ - - version: int | None = ... - """ - The version number of the IPAM prefix list resolver. - - Each version is a snapshot of what CIDRs matched your rules at that - moment in time. The version number increments every time the CIDR list - changes due to infrastructure changes. - """ - -class IpamPrefixListResolverVersionCreationStatus(UnknownEnumMixin, StrEnum): - PENDING = "pending" - SUCCESS = "success" - FAILURE = "failure" - -@dataclass(kw_only=True) -class IpamPrefixListResolverVersionEntry(_SerdeShape): - """ - Describes a CIDR entry in a specific version of an IPAM prefix list - resolver. This represents a CIDR that was selected and synchronized at a - particular point in time. - """ - - cidr: str | None = ... - """ - The CIDR block that was selected and synchronized in this resolver - version. - """ - -class IpamPublicAddressAssociationStatus(UnknownEnumMixin, StrEnum): - ASSOCIATED = "associated" - DISASSOCIATED = "disassociated" - -class IpamPublicAddressAwsService(UnknownEnumMixin, StrEnum): - NAT_GATEWAY = "nat-gateway" - DMS = "database-migration-service" - REDSHIFT = "redshift" - ECS = "elastic-container-service" - RDS = "relational-database-service" - S2_S_VPN = "site-to-site-vpn" - EC2_LB = "load-balancer" - AGA = "global-accelerator" - CLOUDFRONT = "cloudfront" - OTHER = "other" - -@dataclass(kw_only=True) -class IpamPublicAddressSecurityGroup(_SerdeShape): - """The security group that the resource with the public IP address is in.""" - - group_name: str | None = ... - """The security group's name.""" - group_id: str | None = ... - """The security group's ID.""" - -@dataclass(kw_only=True) -class IpamPublicAddressTag(_SerdeShape): - """A tag for a public IP address discovered by IPAM.""" - - key: str | None = ... - """The tag's key.""" - value: str | None = ... - """The tag's value.""" - -@dataclass(kw_only=True) -class IpamPublicAddressTags(_SerdeShape): - """Tags for a public IP address discovered by IPAM.""" - - eip_tags: list[IpamPublicAddressTag] | None = ... - """Tags for an Elastic IP address.""" - -class IpamPublicAddressType(UnknownEnumMixin, StrEnum): - SERVICE_MANAGED_IP = "service-managed-ip" - SERVICE_MANAGED_BYOIP = "service-managed-byoip" - AMAZON_OWNED_EIP = "amazon-owned-eip" - AMAZON_OWNED_CONTIG = "amazon-owned-contig" - BYOIP = "byoip" - EC2_PUBLIC_IP = "ec2-public-ip" - ANYCAST_IP_LIST_IP = "anycast-ip-list-ip" - -@dataclass(kw_only=True) -class IpamResourceCidr(_SerdeShape): - """The CIDR for an IPAM resource.""" - - ipam_id: str | None = ... - """The IPAM ID for an IPAM resource.""" - ipam_scope_id: str | None = ... - """The scope ID for an IPAM resource.""" - ipam_pool_id: str | None = ... - """The pool ID for an IPAM resource.""" - resource_region: str | None = ... - """The Amazon Web Services Region for an IPAM resource.""" - resource_owner_id: str | None = ... - """The Amazon Web Services account number of the owner of an IPAM resource.""" - resource_id: str | None = ... - """The ID of an IPAM resource.""" - resource_name: str | None = ... - """The name of an IPAM resource.""" - resource_cidr: str | None = ... - """The CIDR for an IPAM resource.""" - resource_type: str | None = ... - """The type of IPAM resource.""" - resource_tags: list[IpamResourceTag] | None = ... - """The tags for an IPAM resource.""" - ip_usage: float | None = ... - """ - The percentage of IP address space in use. To convert the decimal to a - percentage, multiply the decimal by 100. Note the following: - - - For resources that are VPCs, this is the percentage of IP address - space in the VPC that's taken up by subnet CIDRs. - - - For resources that are subnets, if the subnet has an IPv4 CIDR - provisioned to it, this is the percentage of IPv4 address space in the - subnet that's in use. If the subnet has an IPv6 CIDR provisioned to - it, the percentage of IPv6 address space in use is not represented. - The percentage of IPv6 address space in use cannot currently be - calculated. - - - For resources that are public IPv4 pools, this is the percentage of IP - address space in the pool that's been allocated to Elastic IP - addresses (EIPs). - """ - compliance_status: str | None = ... - """ - The compliance status of the IPAM resource. For more information on - compliance statuses, see [Monitor CIDR usage by - resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - management_state: str | None = ... - """ - The management state of the resource. For more information about - management states, see [Monitor CIDR usage by - resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - overlap_status: str | None = ... - """ - The overlap status of an IPAM resource. The overlap status tells you if - the CIDR for a resource overlaps with another CIDR in the scope. For - more information on overlap statuses, see [Monitor CIDR usage by - resource](https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - vpc_id: str | None = ... - """The ID of a VPC.""" - availability_zone_id: str | None = ... - """The Availability Zone ID.""" - -class IpamResourceCidrIpSource(UnknownEnumMixin, StrEnum): - AMAZON = "amazon" - BYOIP = "byoip" - NONE = "none" - -@dataclass(kw_only=True) -class IpamResourceDiscovery(_SerdeShape): - """ - A resource discovery is an IPAM component that enables IPAM to manage - and monitor resources that belong to the owning account. - """ - - owner_id: str | None = ... - """The ID of the owner.""" - ipam_resource_discovery_id: str | None = ... - """The resource discovery ID.""" - ipam_resource_discovery_arn: str | None = ... - """The resource discovery Amazon Resource Name (ARN).""" - ipam_resource_discovery_region: str | None = ... - """The resource discovery Region.""" - description: str | None = ... - """The resource discovery description.""" - operating_regions: list[IpamOperatingRegion] | None = ... - """ - The operating Regions for the resource discovery. Operating Regions are - Amazon Web Services Regions where the IPAM is allowed to manage IP - address CIDRs. IPAM only discovers and monitors resources in the Amazon - Web Services Regions you select as operating Regions. - """ - is_default: bool | None = ... - """ - Defines if the resource discovery is the default. The default resource - discovery is the resource discovery automatically created when you - create an IPAM. - """ - state: str | None = ... - """ - The lifecycle state of the resource discovery. - - - `create-in-progress` - Resource discovery is being created. - - - `create-complete` - Resource discovery creation is complete. - - - `create-failed` - Resource discovery creation has failed. - - - `modify-in-progress` - Resource discovery is being modified. - - - `modify-complete` - Resource discovery modification is complete. - - - `modify-failed` - Resource discovery modification has failed. - - - `delete-in-progress` - Resource discovery is being deleted. - - - `delete-complete` - Resource discovery deletion is complete. - - - `delete-failed` - Resource discovery deletion has failed. - - - `isolate-in-progress` - Amazon Web Services account that created the - resource discovery has been removed and the resource discovery is - being isolated. - - - `isolate-complete` - Resource discovery isolation is complete. - - - `restore-in-progress` - Amazon Web Services account that created the - resource discovery and was isolated has been restored. - """ - tags: list[Tag] | None = ... - """ - A tag is a label that you assign to an Amazon Web Services resource. - Each tag consists of a key and an optional value. You can use tags to - search and filter your resources or track your Amazon Web Services - costs. - """ - organizational_unit_exclusions: list[IpamOrganizationalUnitExclusion] | None = ... - """ - If your IPAM is integrated with Amazon Web Services Organizations and - you add an organizational unit (OU) exclusion, IPAM will not manage the - IP addresses in accounts in that OU exclusion. - """ - -@dataclass(kw_only=True) -class IpamResourceDiscoveryAssociation(_SerdeShape): - """ - An IPAM resource discovery association. An associated resource discovery - is a resource discovery that has been associated with an IPAM. IPAM - aggregates the resource CIDRs discovered by the associated resource - discovery. - """ - - owner_id: str | None = ... - """The Amazon Web Services account ID of the resource discovery owner.""" - ipam_resource_discovery_association_id: str | None = ... - """The resource discovery association ID.""" - ipam_resource_discovery_association_arn: str | None = ... - """The resource discovery association Amazon Resource Name (ARN).""" - ipam_resource_discovery_id: str | None = ... - """The resource discovery ID.""" - ipam_id: str | None = ... - """The IPAM ID.""" - ipam_arn: str | None = ... - """The IPAM ARN.""" - ipam_region: str | None = ... - """The IPAM home Region.""" - is_default: bool | None = ... - """ - Defines if the resource discovery is the default. When you create an - IPAM, a default resource discovery is created for your IPAM and it's - associated with your IPAM. - """ - resource_discovery_status: str | None = ... - """ - The resource discovery status. - - - `active` - Connection or permissions required to read the results of - the resource discovery are intact. - - - `not-found` - Connection or permissions required to read the results - of the resource discovery are broken. This may happen if the owner of - the resource discovery stopped sharing it or deleted the resource - discovery. Verify the resource discovery still exists and the Amazon - Web Services RAM resource share is still intact. - """ - state: str | None = ... - """ - The lifecycle state of the association when you associate or - disassociate a resource discovery. - - - `associate-in-progress` - Resource discovery is being associated. - - - `associate-complete` - Resource discovery association is complete. - - - `associate-failed` - Resource discovery association has failed. - - - `disassociate-in-progress` - Resource discovery is being - disassociated. - - - `disassociate-complete` - Resource discovery disassociation is - complete. - - - `disassociate-failed ` - Resource discovery disassociation has failed. - - - `isolate-in-progress` - Amazon Web Services account that created the - resource discovery association has been removed and the resource - discovery association is being isolated. - - - `isolate-complete` - Resource discovery isolation is complete. - - - `restore-in-progress` - Resource discovery is being restored. - """ - tags: list[Tag] | None = ... - """ - A tag is a label that you assign to an Amazon Web Services resource. - Each tag consists of a key and an optional value. You can use tags to - search and filter your resources or track your Amazon Web Services - costs. - """ - -class IpamResourceDiscoveryAssociationState(UnknownEnumMixin, StrEnum): - ASSOCIATE_IN_PROGRESS = "associate-in-progress" - ASSOCIATE_COMPLETE = "associate-complete" - ASSOCIATE_FAILED = "associate-failed" - DISASSOCIATE_IN_PROGRESS = "disassociate-in-progress" - DISASSOCIATE_COMPLETE = "disassociate-complete" - DISASSOCIATE_FAILED = "disassociate-failed" - ISOLATE_IN_PROGRESS = "isolate-in-progress" - ISOLATE_COMPLETE = "isolate-complete" - RESTORE_IN_PROGRESS = "restore-in-progress" - -class IpamResourceDiscoveryState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - MODIFY_IN_PROGRESS = "modify-in-progress" - MODIFY_COMPLETE = "modify-complete" - MODIFY_FAILED = "modify-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - ISOLATE_IN_PROGRESS = "isolate-in-progress" - ISOLATE_COMPLETE = "isolate-complete" - RESTORE_IN_PROGRESS = "restore-in-progress" - -@dataclass(kw_only=True) -class IpamResourceTag(_SerdeShape): - """ - 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 `Owner` and - the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` - for the filter value. - """ - - key: str | None = ... - """ - The key of a tag assigned to the resource. Use this filter to find all - resources assigned a tag with a specific key, regardless of the tag - value. - """ - value: str | None = ... - """The value of the tag.""" - -class IpamResourceType(UnknownEnumMixin, StrEnum): - VPC = "vpc" - SUBNET = "subnet" - EIP = "eip" - PUBLIC_IPV4_POOL = "public-ipv4-pool" - IPV6_POOL = "ipv6-pool" - ENI = "eni" - ANYCAST_IP_LIST = "anycast-ip-list" - -@dataclass(kw_only=True) -class IpamRouteOriginAuthorization(_SerdeShape): - """ - Contains information about a Route Origin Authorization (ROA) published - in the RPKI. A ROA cryptographically attests that a specific ASN is - authorized to originate a specific IP address prefix. - """ - - asn: str | None = ... - """The Autonomous System Number (ASN) authorized by the ROA.""" - prefix: str | None = ... - """The IP address prefix authorized by the ROA in CIDR notation.""" - max_length: int | None = ... - """The maximum prefix length that the ASN is authorized to announce.""" - match: bool | None = ... - """Specifies whether the ROA matches the route announcement.""" - expiration: datetime | None = ... - """The expiration date of the ROA.""" - -@dataclass(kw_only=True) -class IpamRouteOriginAuthorizationInfo(_SerdeShape): - """ - Contains information about a Route Origin Authorization (ROA) currently - published in the RPKI. - """ - - cidr: str | None = ... - """The IP address prefix in CIDR notation authorized by the ROA.""" - asn: str | None = ... - """The Autonomous System Number (ASN) authorized to originate the prefix.""" - max_length: int | None = ... - """The maximum prefix length that the ASN is authorized to announce.""" - -@dataclass(kw_only=True) -class IpamRouteOverlap(_SerdeShape): - """ - Contains information about an overlapping route detected for a BYOIP - prefix. - """ - - prefix: str | None = ... - """The overlapping IP address prefix in CIDR notation.""" - asn: str | None = ... - """The ASN originating the overlapping route.""" - detected_at: datetime | None = ... - """The time when the overlap was detected.""" - -@dataclass(kw_only=True) -class IpamRouteProtectionFinding(_SerdeShape): - """ - Contains information about a route protection finding, including the - RPKI validation status of a BYOIP route announcement. - """ - - resource_owner_id: str | None = ... - """The ID of the resource owner.""" - resource_region: str | None = ... - """The Amazon Web Services Region of the resource.""" - ipam_pool_id: str | None = ... - """The ID of the IPAM pool associated with the finding.""" - cidr: str | None = ... - """The IP address prefix in CIDR notation.""" - state: str | None = ... - """ - The state of the BYOIP CIDR. Possible values: - - - `advertised` - The CIDR is being advertised. - - - `deprovisioned` - The CIDR has been deprovisioned. - - - `failed-deprovision` - Deprovisioning failed. - - - `failed-provision` - Provisioning failed. - - - `pending-deprovision` - Deprovisioning is in progress. - - - `pending-provision` - Provisioning is in progress. - - - `provisioned` - The CIDR is provisioned. - - - `provisioned-not-publicly-advertisable` - The CIDR is provisioned but - not publicly advertisable. - """ - advertisement_type: str | None = ... - """ - The advertisement type. Possible values: - - - `regional` - The IP address is advertised from a single location - (regional services such as Amazon EC2). - - - `global` - The IP address is advertised from multiple global locations - simultaneously (global services such as Amazon CloudFront). - """ - network_border_group: str | None = ... - """The network border group.""" - pool_id: str | None = ... - """The ID of the BYOIP pool.""" - asn: str | None = ... - """The Autonomous System Number (ASN) that originates the route.""" - rpki_status: str | None = ... - """ - The RPKI validation status of the route. Possible values: - - - `valid` - The route has a matching ROA that covers the prefix and - origin ASN. - - - `invalid` - The route has a ROA for the prefix, but the origin ASN or - prefix length does not match. - - - `unknown` - No ROA exists for the prefix, so RPKI validation cannot be - performed. - """ - rpki_strength: str | None = ... - """ - The RPKI enforcement strength for the route. Possible values: - - - `strict` - Invalid routes are rejected. - - - `permissive` - Invalid routes are accepted but flagged. - """ - roas: list[IpamRouteOriginAuthorization] | None = ... - """The Route Origin Authorizations (ROAs) that cover the prefix.""" - route_overlaps: list[IpamRouteOverlap] | None = ... - """The overlapping routes detected for this prefix.""" - sample_time: datetime | None = ... - """The time when the route was last sampled.""" - roa_sample_time: datetime | None = ... - """The time when the ROA data was last sampled.""" - -@dataclass(kw_only=True) -class IpamRoutingPolicyRegistration(_SerdeShape): - """ - Contains information about a routing policy registration that represents - a Route Origin Authorization (ROA) managed through IPAM. - """ - - cidr: str | None = ... - """The IP address prefix in CIDR notation authorized by the ROA.""" - asns: list[str] | None = ... - """The Autonomous System Numbers (ASNs) authorized to originate the prefix.""" - permit_more_specific_announcements: bool | None = ... - """ - Specifies whether to permit more specific route announcements than the - CIDR prefix. When enabled, ASNs can announce sub-prefixes of the - authorized CIDR up to the specified maximum length. Default: `false`. - """ - max_length: int | None = ... - """The maximum prefix length that the ASNs are authorized to announce.""" - description: str | None = ... - """The description of the routing policy registration.""" - latest_delta_id: str | None = ... - """The ID of the most recent delta that modified this registration.""" - state: str | None = ... - """ - The state of the routing policy registration. Valid values: - `pending-activate` | `activate-failed` | `create-in-progress` | - `create-complete` | `update-in-progress` | `update-complete` | - `delete-in-progress` | `delete-complete`. - """ - -@dataclass(kw_only=True) -class IpamRoutingPolicyRegistrationDelta(_SerdeShape): - """ - Contains information about a routing policy registration change, - including the changes applied and their publication state. - """ - - delta_id: str | None = ... - """The unique identifier of the delta.""" - delta_json: str | None = ... - """The JSON specification describing the changes applied in this delta.""" - state: str | None = ... - """ - The state of the delta. Valid values: `pending` | `published` | - `failed`. - """ - state_message: str | None = ... - """ - A message describing the current state, including error information if - the delta failed. - """ - -class IpamRoutingPolicyRegistrationDeltaState(UnknownEnumMixin, StrEnum): - """The state of a routing policy registration delta.""" - - PENDING = "pending" - PUBLISHED = "published" - FAILED = "failed" - -class IpamRoutingPolicyRegistrationState(UnknownEnumMixin, StrEnum): - """The state of a routing policy registration.""" - - PENDING_ACTIVATE = "pending-activate" - ACTIVATE_FAILED = "activate-failed" - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - UPDATE_IN_PROGRESS = "update-in-progress" - UPDATE_COMPLETE = "update-complete" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - -class IpamRpkiStatus(UnknownEnumMixin, StrEnum): - """The RPKI validation status of a BGP route.""" - - VALID = "valid" - INVALID = "invalid" - UNKNOWN = "unknown" - -class IpamRpkiStrength(UnknownEnumMixin, StrEnum): - """The RPKI enforcement strength for route protection.""" - - STRICT = "strict" - PERMISSIVE = "permissive" - -@dataclass(kw_only=True) -class IpamScope(_SerdeShape): - """ - In IPAM, a scope is the highest-level container within IPAM. An IPAM - contains two default scopes. Each scope represents the IP space for a - single network. The private scope is intended for all private IP address - space. The public scope is intended for all public IP address space. - Scopes enable you to reuse IP addresses across multiple unconnected - networks without causing IP address overlap or conflict. - - For more information, see [How IPAM - works](https://docs.aws.amazon.com/vpc/latest/ipam/how-it-works-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - - owner_id: str | None = ... - """The Amazon Web Services account ID of the owner of the scope.""" - ipam_scope_id: str | None = ... - """The ID of the scope.""" - ipam_scope_arn: str | None = ... - """The Amazon Resource Name (ARN) of the scope.""" - ipam_arn: str | None = ... - """The ARN of the IPAM.""" - ipam_region: str | None = ... - """The Amazon Web Services Region of the IPAM scope.""" - ipam_scope_type: str | None = ... - """The type of the scope.""" - is_default: bool | None = ... - """Defines if the scope is the default scope or not.""" - description: str | None = ... - """The description of the scope.""" - pool_count: int | None = ... - """The number of pools in the scope.""" - state: str | None = ... - """The state of the IPAM scope.""" - tags: list[Tag] | None = ... - """ - 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 `Owner` and - the value `TeamA`, specify `tag:Owner` for the filter name and `TeamA` - for the filter value. - """ - external_authority_configuration: ( - IpamScopeExternalAuthorityConfiguration | None - ) = ... - """ - The external authority configuration for this IPAM scope, if configured. - - The configuration that links an Amazon VPC IPAM scope to an external - authority system. It specifies the type of external system and the - external resource identifier that identifies your account or instance in - that system. - - In IPAM, an external authority is a third-party IP address management - system that provides CIDR blocks when you provision address space for - top-level IPAM pools. This allows you to use your existing IP management - system to control which address ranges are allocated to Amazon Web - Services while using Amazon VPC IPAM to manage subnets within those - ranges. - """ - -@dataclass(kw_only=True) -class IpamScopeExternalAuthorityConfiguration(_SerdeShape): - """ - The configuration that links an Amazon VPC IPAM scope to an external - authority system. It specifies the type of external system and the - external resource identifier that identifies your account or instance in - that system. - - In IPAM, an external authority is a third-party IP address management - system that provides CIDR blocks when you provision address space for - top-level IPAM pools. This allows you to use your existing IP management - system to control which address ranges are allocated to Amazon Web - Services while using Amazon VPC IPAM to manage subnets within those - ranges. - """ - - type: str | None = ... - """ - The type of external authority managing this scope. Currently supports - `Infoblox` for integration with Infoblox Universal DDI. - """ - external_resource_identifier: str | None = ... - """ - The identifier for the external resource managing this scope. For - Infoblox integrations, this is the Infoblox resource identifier in the - format - ``{=html}`.identity.account.```{=html}`.```{=html}. - """ - -class IpamScopeExternalAuthorityType(UnknownEnumMixin, StrEnum): - INFOBLOX = "infoblox" - -class IpamScopeState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - MODIFY_IN_PROGRESS = "modify-in-progress" - MODIFY_COMPLETE = "modify-complete" - MODIFY_FAILED = "modify-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - ISOLATE_IN_PROGRESS = "isolate-in-progress" - ISOLATE_COMPLETE = "isolate-complete" - RESTORE_IN_PROGRESS = "restore-in-progress" - -class IpamScopeType(UnknownEnumMixin, StrEnum): - PUBLIC = "public" - PRIVATE = "private" - -class IpamState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - MODIFY_IN_PROGRESS = "modify-in-progress" - MODIFY_COMPLETE = "modify-complete" - MODIFY_FAILED = "modify-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - ISOLATE_IN_PROGRESS = "isolate-in-progress" - ISOLATE_COMPLETE = "isolate-complete" - RESTORE_IN_PROGRESS = "restore-in-progress" - -class IpamTier(UnknownEnumMixin, StrEnum): - FREE = "free" - ADVANCED = "advanced" - -@dataclass(kw_only=True) -class IpPermission(_SerdeShape): - """Describes the permissions for a security group rule.""" - - ip_protocol: str | None = ... - """ - The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see - [Protocol - Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). - - Use `-1` to specify all protocols. When authorizing security group - rules, specifying `-1` or a protocol number other than `tcp`, `udp`, - `icmp`, or `icmpv6` allows traffic on all ports, regardless of any port - range you specify. For `tcp`, `udp`, and `icmp`, you must specify a port - range. For `icmpv6`, the port range is optional; if you omit the port - range, traffic for all types and codes is allowed. - """ - from_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the start of the port range. If - the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP - types). - """ - to_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the end of the port range. If the - protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP - codes). If the start port is -1 (all ICMP types), then the end port must - be -1 (all ICMP codes). - """ - user_id_group_pairs: list[UserIdGroupPair] | None = ... - """The security group and Amazon Web Services account ID pairs.""" - ip_ranges: list[IpRange] | None = ... - """The IPv4 address ranges.""" - ipv6_ranges: list[Ipv6Range] | None = ... - """The IPv6 address ranges.""" - prefix_list_ids: list[PrefixListId] | None = ... - """The prefix list IDs.""" - -@dataclass(kw_only=True) -class IpRange(_SerdeShape): - """Describes an IPv4 address range.""" - - description: str | None = ... - """ - A description for the security group rule that references this IPv4 - address range. - - Constraints: Up to 255 characters in length. Allowed characters are a-z, - A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* - """ - cidr_ip: str | None = ... - """ - The IPv4 address range. You can either specify a CIDR block or a source - security group, not both. To specify a single IPv4 address, use the /32 - prefix length. - - Note: - Amazon Web Services - [canonicalizes](https://en.wikipedia.org/wiki/Canonicalization) IPv4 and - IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR - block, Amazon Web Services canonicalizes the CIDR block to - 100.68.0.0/18. Any subsequent DescribeSecurityGroups and - DescribeSecurityGroupRules calls will return the canonicalized form of - the CIDR block. Additionally, if you attempt to add another rule with - the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is - already a rule for the canonicalized form of the CIDR block (such as - 100.68.0.0/18), the API throws an duplicate rule error. - """ - -class IpScopeEnum(UnknownEnumMixin, StrEnum): - PRIVATE = "private" - -class IpSource(UnknownEnumMixin, StrEnum): - AMAZON = "amazon" - BYOIP = "byoip" - NONE = "none" - -@dataclass(kw_only=True) -class Ipv4PrefixSpecification(_SerdeShape): - """Describes an IPv4 prefix.""" - - ipv4_prefix: str | None = ... - """ - The IPv4 prefix. For information, see [Assigning prefixes to network - interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class Ipv4PrefixSpecificationRequest(_SerdeShape): - """Describes the IPv4 prefix option for a network interface.""" - - ipv4_prefix: str | None = ... - """ - The IPv4 prefix. For information, see [Assigning prefixes to network - interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class Ipv4PrefixSpecificationResponse(_SerdeShape): - """ - Information about the IPv4 delegated prefixes assigned to a network - interface. - """ - - ipv4_prefix: str | None = ... - """The IPv4 delegated prefixes assigned to the network interface.""" - -class Ipv6AddressAttribute(UnknownEnumMixin, StrEnum): - PUBLIC = "public" - PRIVATE = "private" - -@dataclass(kw_only=True) -class Ipv6CidrAssociation(_SerdeShape): - """Describes an IPv6 CIDR block association.""" - - ipv6_cidr: str | None = ... - """The IPv6 CIDR block.""" - associated_resource: str | None = ... - """The resource that's associated with the IPv6 CIDR block.""" - -@dataclass(kw_only=True) -class Ipv6CidrBlock(_SerdeShape): - """Describes an IPv6 CIDR block.""" - - ipv6_cidr_block: str | None = ... - """The IPv6 CIDR block.""" - -@dataclass(kw_only=True) -class Ipv6Pool(_SerdeShape): - """Describes an IPv6 address pool.""" - - pool_id: str | None = ... - """The ID of the address pool.""" - description: str | None = ... - """The description for the address pool.""" - pool_cidr_blocks: list[PoolCidrBlock] | None = ... - """The CIDR blocks for the address pool.""" - tags: list[Tag] | None = ... - """Any tags for the address pool.""" - -@dataclass(kw_only=True) -class Ipv6PrefixSpecification(_SerdeShape): - """Describes the IPv6 prefix.""" - - ipv6_prefix: str | None = ... - """The IPv6 prefix.""" - -@dataclass(kw_only=True) -class Ipv6PrefixSpecificationRequest(_SerdeShape): - """Describes the IPv6 prefix option for a network interface.""" - - ipv6_prefix: str | None = ... - """The IPv6 prefix.""" - -@dataclass(kw_only=True) -class Ipv6PrefixSpecificationResponse(_SerdeShape): - """ - Information about the IPv6 delegated prefixes assigned to a network - interface. - """ - - ipv6_prefix: str | None = ... - """The IPv6 delegated prefixes assigned to the network interface.""" - -@dataclass(kw_only=True) -class Ipv6Range(_SerdeShape): - """Describes an IPv6 address range.""" - - description: str | None = ... - """ - A description for the security group rule that references this IPv6 - address range. - - Constraints: Up to 255 characters in length. Allowed characters are a-z, - A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* - """ - cidr_ipv6: str | None = ... - """ - The IPv6 address range. You can either specify a CIDR block or a source - security group, not both. To specify a single IPv6 address, use the /128 - prefix length. - - Note: - Amazon Web Services - [canonicalizes](https://en.wikipedia.org/wiki/Canonicalization) IPv4 and - IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR - block, Amazon Web Services canonicalizes the CIDR block to - 100.68.0.0/18. Any subsequent DescribeSecurityGroups and - DescribeSecurityGroupRules calls will return the canonicalized form of - the CIDR block. Additionally, if you attempt to add another rule with - the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is - already a rule for the canonicalized form of the CIDR block (such as - 100.68.0.0/18), the API throws an duplicate rule error. - """ - -class Ipv6SupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class IpVersionEnum(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - IPV6 = "ipv6" - -class KeyFormat(UnknownEnumMixin, StrEnum): - PEM = "pem" - PPK = "ppk" - -@dataclass(kw_only=True) -class KeyPairInfo(_SerdeShape): - """Describes a key pair.""" - - key_pair_id: str | None = ... - """The ID of the key pair.""" - key_type: str | None = ... - """The type of key pair.""" - tags: list[Tag] | None = ... - """Any tags applied to the key pair.""" - public_key: str | None = ... - """The public key material.""" - create_time: datetime | None = ... - """ - If you used Amazon EC2 to create the key pair, this is the date and time - when the key was created, in [ISO 8601 date-time - format](https://www.iso.org/iso-8601-date-and-time-format.html), in the - UTC time zone. - - If you imported an existing key pair to Amazon EC2, this is the date and - time the key was imported, in [ISO 8601 date-time - format](https://www.iso.org/iso-8601-date-and-time-format.html), in the - UTC time zone. - """ - key_name: str | None = ... - """The name of the key pair.""" - key_fingerprint: str | None = ... - """ - If you used CreateKeyPair to create the key pair: - - - For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER - encoded private key. - - - For ED25519 key pairs, the key fingerprint is the base64-encoded - SHA-256 digest, which is the default for OpenSSH, starting with - [OpenSSH 6.8](http://www.openssh.com/txt/release-6.8). - - If you used ImportKeyPair to provide Amazon Web Services the public key: - - - For RSA key pairs, the key fingerprint is the MD5 public key - fingerprint as specified in section 4 of RFC4716. - - - For ED25519 key pairs, the key fingerprint is the base64-encoded - SHA-256 digest, which is the default for OpenSSH, starting with - [OpenSSH 6.8](http://www.openssh.com/txt/release-6.8). - """ - -class KeyType(UnknownEnumMixin, StrEnum): - RSA = "rsa" - ED25519 = "ed25519" - -@dataclass(kw_only=True) -class LastError(_SerdeShape): - """The last error that occurred for a VPC endpoint.""" - - message: str | None = ... - """The error message for the VPC endpoint error.""" - code: str | None = ... - """The error code for the VPC endpoint error.""" - -@dataclass(kw_only=True) -class LaunchPermission(_SerdeShape): - """Describes a launch permission.""" - - organization_arn: str | None = ... - """The Amazon Resource Name (ARN) of an organization.""" - organizational_unit_arn: str | None = ... - """The Amazon Resource Name (ARN) of an organizational unit (OU).""" - user_id: str | None = ... - """ - The Amazon Web Services account ID. - - Constraints: Up to 10 000 account IDs can be specified in a single - request. - """ - group: str | None = ... - """The name of the group.""" - -@dataclass(kw_only=True) -class LaunchPermissionModifications(_SerdeShape): - """Describes a launch permission modification.""" - - add: list[LaunchPermission] | None = ... - """ - The Amazon Web Services account ID, organization ARN, or OU ARN to add - to the list of launch permissions for the AMI. - """ - remove: list[LaunchPermission] | None = ... - """ - The Amazon Web Services account ID, organization ARN, or OU ARN to - remove from the list of launch permissions for the AMI. - """ - -@dataclass(kw_only=True) -class LaunchSpecification(_SerdeShape): - """Describes the launch specification for an instance.""" - - user_data: str | None = ... - """ - The base64-encoded user data that instances use when starting up. User - data is limited to 16 KB. - """ - addressing_type: str | None = ... - """Deprecated.""" - block_device_mappings: list[BlockDeviceMapping] | None = ... - """The block device mapping entries.""" - ebs_optimized: bool | None = ... - """ - Indicates whether the instance is optimized for EBS I/O. This - optimization provides dedicated throughput to Amazon EBS and an - optimized configuration stack to provide optimal EBS I/O performance. - This optimization isn't available with all instance types. Additional - usage charges apply when using an EBS Optimized instance. - - Default: `false` - """ - iam_instance_profile: IamInstanceProfileSpecification | None = ... - """The IAM instance profile.""" - image_id: str | None = ... - """The ID of the AMI.""" - instance_type: str | None = ... - """The instance type. Only one instance type can be specified.""" - kernel_id: str | None = ... - """The ID of the kernel.""" - key_name: str | None = ... - """The name of the key pair.""" - network_interfaces: list[InstanceNetworkInterfaceSpecification] | None = ... - """ - The network interfaces. If you specify a network interface, you must - specify subnet IDs and security group IDs using the network interface. - """ - placement: SpotPlacement | None = ... - """The placement information for the instance.""" - ramdisk_id: str | None = ... - """The ID of the RAM disk.""" - subnet_id: str | None = ... - """The ID of the subnet in which to launch the instance.""" - security_groups: list[GroupIdentifier] | None = ... - """The IDs of the security groups.""" - monitoring: RunInstancesMonitoringEnabled | None = ... - """Describes the monitoring of an instance.""" - -@dataclass(kw_only=True) -class LaunchTemplate(_SerdeShape): - """Describes a launch template.""" - - launch_template_id: str | None = ... - """The ID of the launch template.""" - launch_template_name: str | None = ... - """The name of the launch template.""" - create_time: datetime | None = ... - """The time launch template was created.""" - created_by: str | None = ... - """The principal that created the launch template.""" - default_version_number: int | None = ... - """The version number of the default version of the launch template.""" - latest_version_number: int | None = ... - """The version number of the latest version of the launch template.""" - tags: list[Tag] | None = ... - """The tags for the launch template.""" - operator: OperatorResponse | None = ... - """The entity that manages the launch template.""" - -@dataclass(kw_only=True) -class LaunchTemplateAndOverridesResponse(_SerdeShape): - """Describes a launch template and overrides.""" - - launch_template_specification: FleetLaunchTemplateSpecification | None = ... - """The launch template.""" - overrides: FleetLaunchTemplateOverrides | None = ... - """ - Any parameters that you specify override the same parameters in the - launch template. - """ - -class LaunchTemplateAutoRecoveryState(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class LaunchTemplateBlockDeviceMapping(_SerdeShape): - """Describes a block device mapping.""" - - device_name: str | None = ... - """The device name.""" - virtual_name: str | None = ... - """The virtual device name (ephemeralN).""" - ebs: LaunchTemplateEbsBlockDevice | None = ... - """Information about the block device for an EBS volume.""" - no_device: str | None = ... - """ - To omit the device from the block device mapping, specify an empty - string. - """ - -@dataclass(kw_only=True) -class LaunchTemplateBlockDeviceMappingRequest(_SerdeShape): - """Describes a block device mapping.""" - - device_name: str | None = ... - """The device name (for example, /dev/sdh or xvdh).""" - virtual_name: str | None = ... - """ - The virtual device name (ephemeralN). Instance store volumes are - numbered starting from 0. An instance type with 2 available instance - store volumes can specify mappings for ephemeral0 and ephemeral1. The - number of available instance store volumes depends on the instance type. - After you connect to the instance, you must mount the volume. - """ - ebs: LaunchTemplateEbsBlockDeviceRequest | None = ... - """ - Parameters used to automatically set up EBS volumes when the instance is - launched. - """ - no_device: str | None = ... - """ - To omit the device from the block device mapping, specify an empty - string. - """ - -@dataclass(kw_only=True) -class LaunchTemplateCapacityReservationSpecificationRequest(_SerdeShape): - """ - Describes an instance's Capacity Reservation targeting option. You can - specify only one option at a time. Use the - `CapacityReservationPreference` parameter to configure the instance to - run in On-Demand capacity or to run in any `open` Capacity Reservation - that has matching attributes (instance type, platform, Availability - Zone). Use the `CapacityReservationTarget` parameter to explicitly - target a specific Capacity Reservation or a Capacity Reservation group. - """ - - capacity_reservation_preference: str | None = ... - """ - Indicates the instance's Capacity Reservation preferences. Possible - preferences include: - - - `capacity-reservations-only` - The instance will only run in a - Capacity Reservation or Capacity Reservation group. If capacity isn't - available, the instance will fail to launch. - - - `open` - The instance can run in any `open` Capacity Reservation that - has matching attributes (instance type, platform, Availability Zone, - tenancy). - - - `none` - The instance avoids running in a Capacity Reservation even if - one is available. The instance runs in On-Demand capacity. - """ - capacity_reservation_target: CapacityReservationTarget | None = ... - """ - Information about the target Capacity Reservation or Capacity - Reservation group. - """ - -@dataclass(kw_only=True) -class LaunchTemplateCapacityReservationSpecificationResponse(_SerdeShape): - """Information about the Capacity Reservation targeting option.""" - - capacity_reservation_preference: str | None = ... - """ - Indicates the instance's Capacity Reservation preferences. Possible - preferences include: - - - `open` - The instance can run in any `open` Capacity Reservation that - has matching attributes (instance type, platform, Availability Zone). - - - `none` - The instance avoids running in a Capacity Reservation even if - one is available. The instance runs in On-Demand capacity. - """ - capacity_reservation_target: CapacityReservationTargetResponse | None = ... - """ - Information about the target Capacity Reservation or Capacity - Reservation group. - """ - -@dataclass(kw_only=True) -class LaunchTemplateConfig(_SerdeShape): - """Describes a launch template and overrides.""" - - launch_template_specification: FleetLaunchTemplateSpecification | None = ... - """ - The launch template to use. Make sure that the launch template does not - contain the `NetworkInterfaceId` parameter because you can't specify a - network interface ID in a Spot Fleet. - """ - overrides: list[LaunchTemplateOverrides] | None = ... - """ - Any parameters that you specify override the same parameters in the - launch template. - """ - -@dataclass(kw_only=True) -class LaunchTemplateCpuOptions(_SerdeShape): - """The CPU options for the instance.""" - - core_count: int | None = ... - """The number of CPU cores for the instance.""" - threads_per_core: int | None = ... - """The number of threads per CPU core.""" - amd_sev_snp: str | None = ... - """ - Indicates whether the instance is enabled for AMD SEV-SNP. For more - information, see [AMD SEV-SNP for Amazon EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). - """ - nested_virtualization: str | None = ... - """Indicates whether the instance is enabled for nested virtualization.""" - -@dataclass(kw_only=True) -class LaunchTemplateCpuOptionsRequest(_SerdeShape): - """ - The CPU options for the instance. Both the core count and threads per - core must be specified in the request. - """ - - core_count: int | None = ... - """The number of CPU cores for the instance.""" - threads_per_core: int | None = ... - """ - The number of threads per CPU core. To disable multithreading for the - instance, specify a value of `1`. Otherwise, specify the default value - of `2`. - """ - amd_sev_snp: str | None = ... - """ - Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is - supported with M6a, R6a, and C6a instance types only. For more - information, see [AMD SEV-SNP for Amazon EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). - """ - nested_virtualization: str | None = ... - """ - Indicates whether to enable the instance for nested virtualization. - Nested virtualization is supported only on 8th generation Intel-based - instance types (c8i, m8i, r8i, and their flex variants). When nested - virtualization is enabled, Virtual Secure Mode (VSM) is automatically - disabled for the instance. - """ - -@dataclass(kw_only=True) -class LaunchTemplateEbsBlockDevice(_SerdeShape): - """Describes a block device for an EBS volume.""" - - encrypted: bool | None = ... - """Indicates whether the EBS volume is encrypted.""" - delete_on_termination: bool | None = ... - """Indicates whether the EBS volume is deleted on instance termination.""" - iops: int | None = ... - """The number of I/O operations per second (IOPS) that the volume supports.""" - kms_key_id: str | None = ... - """ - Identifier (key ID, key alias, key ARN, or alias ARN) of the customer - managed KMS key to use for EBS encryption. - """ - snapshot_id: str | None = ... - """The ID of the snapshot.""" - volume_size: int | None = ... - """The size of the volume, in GiB.""" - volume_type: str | None = ... - """The volume type.""" - throughput: int | None = ... - """The throughput that the volume supports, in MiB/s.""" - volume_initialization_rate: int | None = ... - """ - The Amazon EBS Provisioned Rate for Volume Initialization (volume - initialization rate) specified for the volume, in MiB/s. If no volume - initialization rate was specified, the value is `null`. - """ - ebs_card_index: int | None = ... - """ - The index of the EBS card. Some instance types support multiple EBS - cards. The default EBS card index is 0. - """ - -@dataclass(kw_only=True) -class LaunchTemplateEbsBlockDeviceRequest(_SerdeShape): - """The parameters for a block device for an EBS volume.""" - - encrypted: bool | None = ... - """ - Indicates whether the EBS volume is encrypted. Encrypted volumes can - only be attached to instances that support Amazon EBS encryption. If you - are creating a volume from a snapshot, you can't specify an encryption - value. - """ - delete_on_termination: bool | None = ... - """Indicates whether the EBS volume is deleted on instance termination.""" - iops: int | None = ... - """ - The number of I/O operations per second (IOPS). For `gp3`, `io1`, and - `io2` volumes, this represents the number of IOPS that are provisioned - for the volume. For `gp2` volumes, this represents the baseline - performance of the volume and the rate at which the volume accumulates - I/O credits for bursting. - - The following are the supported values for each volume type: - - - `gp3`: 3,000 - 80,000 IOPS - - - `io1`: 100 - 64,000 IOPS - - - `io2`: 100 - 256,000 IOPS - - For `io2` volumes, you can achieve up to 256,000 IOPS on [instances - built on the Nitro - System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html). - On other instances, you can achieve performance up to 32,000 IOPS. - - This parameter is supported for `io1`, `io2`, and `gp3` volumes only. - """ - kms_key_id: str | None = ... - """ - Identifier (key ID, key alias, key ARN, or alias ARN) of the customer - managed KMS key to use for EBS encryption. - """ - snapshot_id: str | None = ... - """The ID of the snapshot.""" - volume_size: int | None = ... - """ - The size of the volume, in GiBs. You must specify either a snapshot ID - or a volume size. The following are the supported volumes sizes for each - volume type: - - - `gp2`: 1 - 16,384 GiB - - - `gp3`: 1 - 65,536 GiB - - - `io1`: 4 - 16,384 GiB - - - `io2`: 4 - 65,536 GiB - - - `st1` and `sc1`: 125 - 16,384 GiB - - - `standard`: 1 - 1024 GiB - """ - volume_type: str | None = ... - """ - The volume type. For more information, see [Amazon EBS volume - types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) - in the *Amazon EBS User Guide*. - """ - throughput: int | None = ... - """ - The throughput to provision for a `gp3` volume, with a maximum of 2,000 - MiB/s. - - Valid Range: Minimum value of 125. Maximum value of 2,000. - """ - volume_initialization_rate: int | None = ... - """ - Specifies the Amazon EBS Provisioned Rate for Volume Initialization - (volume initialization rate), in MiB/s, at which to download the - snapshot blocks from Amazon S3 to the volume. This is also known as - *volume initialization*. Specifying a volume initialization rate ensures - that the volume is initialized at a predictable and consistent rate - after creation. - - This parameter is supported only for volumes created from snapshots. - Omit this parameter if: - - - You want to create the volume using fast snapshot restore. You must - specify a snapshot that is enabled for fast snapshot restore. In this - case, the volume is fully initialized at creation. - - Note: - If you specify a snapshot that is enabled for fast snapshot restore - and a volume initialization rate, the volume will be initialized at - the specified rate instead of fast snapshot restore. - - - You want to create a volume that is initialized at the default rate. - - For more information, see [Initialize Amazon EBS - volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) - in the *Amazon EC2 User Guide*. - - Valid range: 100 - 300 MiB/s - """ - ebs_card_index: int | None = ... - """ - The index of the EBS card. Some instance types support multiple EBS - cards. The default EBS card index is 0. - """ - -@dataclass(kw_only=True) -class LaunchTemplateElasticInferenceAccelerator(_SerdeShape): - """ - Note: - Amazon Elastic Inference is no longer available. - - Describes an elastic inference accelerator. - """ - - type: str | None = ... - """ - The type of elastic inference accelerator. The possible values are - eia1.medium, eia1.large, and eia1.xlarge. - """ - count: int | None = ... - """The number of elastic inference accelerators to attach to the instance.""" - -@dataclass(kw_only=True) -class LaunchTemplateElasticInferenceAcceleratorResponse(_SerdeShape): - """ - Note: - Amazon Elastic Inference is no longer available. - - Describes an elastic inference accelerator. - """ - - type: str | None = ... - """ - The type of elastic inference accelerator. The possible values are - eia1.medium, eia1.large, and eia1.xlarge. - """ - count: int | None = ... - """The number of elastic inference accelerators to attach to the instance.""" - -@dataclass(kw_only=True) -class LaunchTemplateEnaSrdSpecification(_SerdeShape): - """ - ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) - technology to increase the maximum bandwidth used per stream and - minimize tail latency of network traffic between EC2 instances. With ENA - Express, you can communicate between two EC2 instances in the same - subnet within the same account, or in different accounts. Both sending - and receiving instances must have ENA Express enabled. - - To improve the reliability of network packet delivery, ENA Express - reorders network packets on the receiving end by default. However, some - UDP-based applications are designed to handle network packets that are - out of order to reduce the overhead for packet delivery at the network - layer. When ENA Express is enabled, you can specify whether UDP network - traffic uses it. - """ - - ena_srd_enabled: bool | None = ... - """Indicates whether ENA Express is enabled for the network interface.""" - ena_srd_udp_specification: LaunchTemplateEnaSrdUdpSpecification | None = ... - """Configures ENA Express for UDP network traffic.""" - -@dataclass(kw_only=True) -class LaunchTemplateEnaSrdUdpSpecification(_SerdeShape): - """ - ENA Express is compatible with both TCP and UDP transport protocols. - When it's enabled, TCP traffic automatically uses it. However, some - UDP-based applications are designed to handle network packets that are - out of order, without a need for retransmission, such as live video - broadcasting or other near-real-time applications. For UDP traffic, you - can specify whether to use ENA Express, based on your application - environment needs. - """ - - ena_srd_udp_enabled: bool | None = ... - """ - Indicates whether UDP traffic to and from the instance uses ENA Express. - To specify this setting, you must first enable ENA Express. - """ - -@dataclass(kw_only=True) -class LaunchTemplateEnclaveOptions(_SerdeShape): - """ - Indicates whether the instance is enabled for Amazon Web Services Nitro - Enclaves. - """ - - enabled: bool | None = ... - """ - If this parameter is set to `true`, the instance is enabled for Amazon - Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web - Services Nitro Enclaves. - """ - -@dataclass(kw_only=True) -class LaunchTemplateEnclaveOptionsRequest(_SerdeShape): - """ - Indicates whether the instance is enabled for Amazon Web Services Nitro - Enclaves. For more information, see [What is Nitro - Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) - in the *Amazon Web Services Nitro Enclaves User Guide*. - """ - - enabled: bool | None = ... - """ - To enable the instance for Amazon Web Services Nitro Enclaves, set this - parameter to `true`. - """ - -class LaunchTemplateErrorCode(UnknownEnumMixin, StrEnum): - LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST = "launchTemplateIdDoesNotExist" - LAUNCH_TEMPLATE_ID_MALFORMED = "launchTemplateIdMalformed" - LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST = "launchTemplateNameDoesNotExist" - LAUNCH_TEMPLATE_NAME_MALFORMED = "launchTemplateNameMalformed" - LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST = "launchTemplateVersionDoesNotExist" - UNEXPECTED_ERROR = "unexpectedError" - -@dataclass(kw_only=True) -class LaunchTemplateHibernationOptions(_SerdeShape): - """Indicates whether an instance is configured for hibernation.""" - - configured: bool | None = ... - """ - If this parameter is set to `true`, the instance is enabled for - hibernation; otherwise, it is not enabled for hibernation. - """ - -@dataclass(kw_only=True) -class LaunchTemplateHibernationOptionsRequest(_SerdeShape): - """ - Indicates whether the instance is configured for hibernation. This - parameter is valid only if the instance meets the [hibernation - prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). - """ - - configured: bool | None = ... - """ - If you set this parameter to `true`, the instance is enabled for - hibernation. - - Default: `false` - """ - -class LaunchTemplateHttpTokensState(UnknownEnumMixin, StrEnum): - OPTIONAL = "optional" - REQUIRED = "required" - -@dataclass(kw_only=True) -class LaunchTemplateIamInstanceProfileSpecification(_SerdeShape): - """Describes an IAM instance profile.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the instance profile.""" - name: str | None = ... - """The name of the instance profile.""" - -@dataclass(kw_only=True) -class LaunchTemplateIamInstanceProfileSpecificationRequest(_SerdeShape): - """An IAM instance profile.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the instance profile.""" - name: str | None = ... - """The name of the instance profile.""" - -@dataclass(kw_only=True) -class LaunchTemplateInstanceMaintenanceOptions(_SerdeShape): - """The maintenance options of your instance.""" - - auto_recovery: str | None = ... - """ - Disables the automatic recovery behavior of your instance or sets it to - default. - """ - -@dataclass(kw_only=True) -class LaunchTemplateInstanceMaintenanceOptionsRequest(_SerdeShape): - """The maintenance options of your instance.""" - - auto_recovery: str | None = ... - """ - Disables the automatic recovery behavior of your instance or sets it to - default. For more information, see [Simplified automatic - recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery). - """ - -@dataclass(kw_only=True) -class LaunchTemplateInstanceMarketOptions(_SerdeShape): - """The market (purchasing) option for the instances.""" - - market_type: str | None = ... - """The market type.""" - spot_options: LaunchTemplateSpotMarketOptions | None = ... - """The options for Spot Instances.""" - -@dataclass(kw_only=True) -class LaunchTemplateInstanceMarketOptionsRequest(_SerdeShape): - """The market (purchasing) option for the instances.""" - - market_type: str | None = ... - """The market type.""" - spot_options: LaunchTemplateSpotMarketOptionsRequest | None = ... - """The options for Spot Instances.""" - -class LaunchTemplateInstanceMetadataEndpointState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - -@dataclass(kw_only=True) -class LaunchTemplateInstanceMetadataOptions(_SerdeShape): - """ - The metadata options for the instance. For more information, see [Use - instance metadata to manage your EC2 - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) - in the *Amazon EC2 User Guide*. - """ - - state: str | None = ... - """ - The state of the metadata option changes. - - `pending` - The metadata options are being updated and the instance is - not ready to process metadata traffic with the new selection. - - `applied` - The metadata options have been successfully applied on the - instance. - """ - http_tokens: str | None = ... - """ - Indicates whether IMDSv2 is required. - - - `optional` - IMDSv2 is optional. You can choose whether to send a - session token in your instance metadata retrieval requests. If you - retrieve IAM role credentials without a session token, you receive the - IMDSv1 role credentials. If you retrieve IAM role credentials using a - valid session token, you receive the IMDSv2 role credentials. - - - `required` - IMDSv2 is required. You must send a session token in your - instance metadata retrieval requests. With this option, retrieving the - IAM role credentials always returns IMDSv2 credentials; IMDSv1 - credentials are not available. - """ - http_put_response_hop_limit: int | None = ... - """ - The desired HTTP PUT response hop limit for instance metadata requests. - The larger the number, the further instance metadata requests can - travel. - - Possible values: Integers from 1 to 64 - """ - http_endpoint: str | None = ... - """ - Enables or disables the HTTP metadata endpoint on your instances. If the - parameter is not specified, the default state is `enabled`. - - Note: - If you specify a value of `disabled`, you will not be able to access - your instance metadata. - """ - http_protocol_ipv6: str | None = ... - """ - Enables or disables the IPv6 endpoint for the instance metadata service. - - Default: `disabled` - """ - instance_metadata_tags: str | None = ... - """ - Set to `enabled` to allow access to instance tags from the instance - metadata. Set to `disabled` to turn off access to instance tags from the - instance metadata. For more information, see [View tags for your EC2 - instances using instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). - - Default: `disabled` - """ - -@dataclass(kw_only=True) -class LaunchTemplateInstanceMetadataOptionsRequest(_SerdeShape): - """ - The metadata options for the instance. For more information, see [Use - instance metadata to manage your EC2 - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) - in the *Amazon EC2 User Guide*. - """ - - http_tokens: str | None = ... - """ - Indicates whether IMDSv2 is required. - - - `optional` - IMDSv2 is optional. You can choose whether to send a - session token in your instance metadata retrieval requests. If you - retrieve IAM role credentials without a session token, you receive the - IMDSv1 role credentials. If you retrieve IAM role credentials using a - valid session token, you receive the IMDSv2 role credentials. - - - `required` - IMDSv2 is required. You must send a session token in your - instance metadata retrieval requests. With this option, retrieving the - IAM role credentials always returns IMDSv2 credentials; IMDSv1 - credentials are not available. - - Default: If the value of `ImdsSupport` for the Amazon Machine Image - (AMI) for your instance is `v2.0`, the default is `required`. - """ - http_put_response_hop_limit: int | None = ... - """ - The desired HTTP PUT response hop limit for instance metadata requests. - The larger the number, the further instance metadata requests can - travel. - - Default: `1` - - Possible values: Integers from 1 to 64 - """ - http_endpoint: str | None = ... - """ - Enables or disables the HTTP metadata endpoint on your instances. If the - parameter is not specified, the default state is `enabled`. - - Note: - If you specify a value of `disabled`, you will not be able to access - your instance metadata. - """ - http_protocol_ipv6: str | None = ... - """ - Enables or disables the IPv6 endpoint for the instance metadata service. - - Default: `disabled` - """ - instance_metadata_tags: str | None = ... - """ - Set to `enabled` to allow access to instance tags from the instance - metadata. Set to `disabled` to turn off access to instance tags from the - instance metadata. For more information, see [View tags for your EC2 - instances using instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). - - Default: `disabled` - """ - -class LaunchTemplateInstanceMetadataOptionsState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - APPLIED = "applied" - -class LaunchTemplateInstanceMetadataProtocolIpv6(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - -class LaunchTemplateInstanceMetadataTagsState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - ENABLED = "enabled" - -@dataclass(kw_only=True) -class LaunchTemplateInstanceNetworkInterfaceSpecification(_SerdeShape): - """Describes a network interface.""" - - associate_carrier_ip_address: bool | None = ... - """ - Indicates whether to associate a Carrier IP address with eth0 for a new - network interface. - - Use this option when you launch an instance in a Wavelength Zone and - want to associate a Carrier IP address with the network interface. For - more information about Carrier IP addresses, see [Carrier IP - address](https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) - in the *Wavelength Developer Guide*. - """ - associate_public_ip_address: bool | None = ... - """ - Indicates whether to associate a public IPv4 address with eth0 for a new - network interface. - - Amazon Web Services charges for all public IPv4 addresses, including - public IPv4 addresses associated with running instances and Elastic IP - addresses. For more information, see the *Public IPv4 Address* tab on - the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). - """ - delete_on_termination: bool | None = ... - """ - Indicates whether the network interface is deleted when the instance is - terminated. - """ - description: str | None = ... - """A description for the network interface.""" - device_index: int | None = ... - """The device index for the network interface attachment.""" - groups: list[str] | None = ... - """The IDs of one or more security groups.""" - interface_type: str | None = ... - """The type of network interface.""" - ipv6_address_count: int | None = ... - """The number of IPv6 addresses for the network interface.""" - ipv6_addresses: list[InstanceIpv6Address] | None = ... - """The IPv6 addresses for the network interface.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - private_ip_address: str | None = ... - """The primary private IPv4 address of the network interface.""" - private_ip_addresses: list[PrivateIpAddressSpecification] | None = ... - """One or more private IPv4 addresses.""" - secondary_private_ip_address_count: int | None = ... - """ - The number of secondary private IPv4 addresses for the network - interface. - """ - subnet_id: str | None = ... - """The ID of the subnet for the network interface.""" - network_card_index: int | None = ... - """The index of the network card.""" - ipv4_prefixes: list[Ipv4PrefixSpecificationResponse] | None = ... - """One or more IPv4 prefixes assigned to the network interface.""" - ipv4_prefix_count: int | None = ... - """ - The number of IPv4 prefixes that Amazon Web Services automatically - assigned to the network interface. - """ - ipv6_prefixes: list[Ipv6PrefixSpecificationResponse] | None = ... - """One or more IPv6 prefixes assigned to the network interface.""" - ipv6_prefix_count: int | None = ... - """ - The number of IPv6 prefixes that Amazon Web Services automatically - assigned to the network interface. - """ - primary_ipv6: bool | None = ... - """ - The primary IPv6 address of the network interface. When you enable an - IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made - the primary IPv6 address until the instance is terminated or the network - interface is detached. For more information about primary IPv6 - addresses, see - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). - """ - ena_srd_specification: LaunchTemplateEnaSrdSpecification | None = ... - """ - Contains the ENA Express settings for instances launched from your - launch template. - """ - connection_tracking_specification: ConnectionTrackingSpecification | None = ... - """ - A security group connection tracking specification that enables you to - set the timeout for connection tracking on an Elastic network interface. - For more information, see [Idle connection tracking - timeout](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the *Amazon EC2 User Guide*. - """ - ena_queue_count: int | None = ... - """The number of ENA queues created with the instance.""" - -@dataclass(kw_only=True) -class LaunchTemplateInstanceNetworkInterfaceSpecificationRequest(_SerdeShape): - """The parameters for a network interface.""" - - associate_carrier_ip_address: bool | None = ... - """ - Associates a Carrier IP address with eth0 for a new network interface. - - Use this option when you launch an instance in a Wavelength Zone and - want to associate a Carrier IP address with the network interface. For - more information about Carrier IP addresses, see [Carrier IP - addresses](https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) - in the *Wavelength Developer Guide*. - """ - associate_public_ip_address: bool | None = ... - """ - Associates a public IPv4 address with eth0 for a new network interface. - - Amazon Web Services charges for all public IPv4 addresses, including - public IPv4 addresses associated with running instances and Elastic IP - addresses. For more information, see the *Public IPv4 Address* tab on - the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). - """ - delete_on_termination: bool | None = ... - """ - Indicates whether the network interface is deleted when the instance is - terminated. - """ - description: str | None = ... - """A description for the network interface.""" - device_index: int | None = ... - """ - The device index for the network interface attachment. The primary - network interface has a device index of 0. Each network interface is of - type `interface`, you must specify a device index. If you create a - launch template that includes secondary network interfaces but not a - primary network interface, then you must add a primary network interface - as a launch parameter when you launch an instance from the template. - """ - groups: list[str] | None = ... - """The IDs of one or more security groups.""" - interface_type: str | None = ... - """ - The type of network interface. To create an Elastic Fabric Adapter - (EFA), specify `efa` or `efa`. For more information, see [Elastic Fabric - Adapter for AI/ML and HPC workloads on Amazon - EC2](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) in - the *Amazon EC2 User Guide*. - - If you are not creating an EFA, specify `interface` or omit this - parameter. - - If you specify `efa-only`, do not assign any IP addresses to the network - interface. EFA-only network interfaces do not support IP addresses. - - Valid values: `interface` | `efa` | `efa-only` - """ - ipv6_address_count: int | None = ... - """ - The number of IPv6 addresses to assign to a network interface. Amazon - EC2 automatically selects the IPv6 addresses from the subnet range. You - can't use this option if specifying specific IPv6 addresses. - """ - ipv6_addresses: list[InstanceIpv6AddressRequest] | None = ... - """ - One or more specific IPv6 addresses from the IPv6 CIDR block range of - your subnet. You can't use this option if you're specifying a number - of IPv6 addresses. - """ - network_interface_id: str | None = ... - """The ID of the network interface.""" - private_ip_address: str | None = ... - """The primary private IPv4 address of the network interface.""" - private_ip_addresses: list[PrivateIpAddressSpecification] | None = ... - """One or more private IPv4 addresses.""" - secondary_private_ip_address_count: int | None = ... - """ - The number of secondary private IPv4 addresses to assign to a network - interface. - """ - subnet_id: str | None = ... - """The ID of the subnet for the network interface.""" - network_card_index: int | None = ... - """ - The index of the network card. Some instance types support multiple - network cards. The primary network interface must be assigned to network - card index 0. The default is network card index 0. - """ - ipv4_prefixes: list[Ipv4PrefixSpecificationRequest] | None = ... - """ - One or more IPv4 prefixes to be assigned to the network interface. You - cannot use this option if you use the `Ipv4PrefixCount` option. - """ - ipv4_prefix_count: int | None = ... - """ - The number of IPv4 prefixes to be automatically assigned to the network - interface. You cannot use this option if you use the `Ipv4Prefix` - option. - """ - ipv6_prefixes: list[Ipv6PrefixSpecificationRequest] | None = ... - """ - One or more IPv6 prefixes to be assigned to the network interface. You - cannot use this option if you use the `Ipv6PrefixCount` option. - """ - ipv6_prefix_count: int | None = ... - """ - The number of IPv6 prefixes to be automatically assigned to the network - interface. You cannot use this option if you use the `Ipv6Prefix` - option. - """ - primary_ipv6: bool | None = ... - """ - The primary IPv6 address of the network interface. When you enable an - IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made - the primary IPv6 address until the instance is terminated or the network - interface is detached. For more information about primary IPv6 - addresses, see - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). - """ - ena_srd_specification: EnaSrdSpecificationRequest | None = ... - """Configure ENA Express settings for your launch template.""" - connection_tracking_specification: ( - ConnectionTrackingSpecificationRequest | None - ) = ... - """ - A security group connection tracking specification that enables you to - set the timeout for connection tracking on an Elastic network interface. - For more information, see [Idle connection tracking - timeout](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the *Amazon EC2 User Guide*. - """ - ena_queue_count: int | None = ... - """The number of ENA queues to be created with the instance.""" - -@dataclass(kw_only=True) -class LaunchTemplateInstanceSecondaryInterfaceSpecification(_SerdeShape): - """Describes a secondary interface specification in a launch template.""" - - delete_on_termination: bool | None = ... - """ - Indicates whether the secondary interface is deleted when the instance - is terminated. - - The only supported value for this field is `true`. - """ - device_index: int | None = ... - """The device index for the secondary interface attachment.""" - private_ip_addresses: ( - list[SecondaryInterfacePrivateIpAddressSpecification] | None - ) = ... - """ - The private IPv4 addresses to assign to the secondary interface. - - If you specify `privateIpAddresses` you cannot specify - `privateIpAddressCount` - """ - private_ip_address_count: int | None = ... - """ - The number of private IPv4 addresses to assign to the secondary - interface. - - If you specify `privateIpAddressCount` you cannot specify - `privateIpAddresses` - """ - secondary_subnet_id: str | None = ... - """The ID of the secondary subnet.""" - interface_type: str | None = ... - """The type of secondary interface.""" - network_card_index: int | None = ... - """The index of the network card.""" - -@dataclass(kw_only=True) -class LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest(_SerdeShape): - """ - Describes a secondary interface specification for a launch template - request. - """ - - delete_on_termination: bool | None = ... - """ - Indicates whether the secondary interface is deleted when the instance - is terminated. - - The only supported value for this field is `true`. - """ - device_index: int | None = ... - """The device index for the secondary interface attachment.""" - private_ip_addresses: ( - list[SecondaryInterfacePrivateIpAddressSpecificationRequest] | None - ) = ... - """The private IPv4 addresses to assign to the secondary interface.""" - private_ip_address_count: int | None = ... - """ - The number of private IPv4 addresses to assign to the secondary - interface. - """ - secondary_subnet_id: str | None = ... - """The ID of the secondary subnet.""" - interface_type: str | None = ... - """The type of secondary interface.""" - network_card_index: int | None = ... - """The index of the network card.""" - -@dataclass(kw_only=True) -class LaunchTemplateLicenseConfiguration(_SerdeShape): - """Describes a license configuration.""" - - license_configuration_arn: str | None = ... - """The Amazon Resource Name (ARN) of the license configuration.""" - -@dataclass(kw_only=True) -class LaunchTemplateLicenseConfigurationRequest(_SerdeShape): - """Describes a license configuration.""" - - license_configuration_arn: str | None = ... - """The Amazon Resource Name (ARN) of the license configuration.""" - -@dataclass(kw_only=True) -class LaunchTemplateNetworkPerformanceOptions(_SerdeShape): - """ - With network performance options, you can adjust your bandwidth - preferences to meet the needs of the workload that runs on your instance - at launch. - """ - - bandwidth_weighting: str | None = ... - """ - When you configure network bandwidth weighting, you can boost baseline - bandwidth for either networking or EBS by up to 25%. The total available - baseline bandwidth for your instance remains the same. The default - option uses the standard bandwidth configuration for your instance type. - """ - -@dataclass(kw_only=True) -class LaunchTemplateNetworkPerformanceOptionsRequest(_SerdeShape): - """ - When you configure network performance options in your launch template, - your instance is geared for performance improvements based on the - workload that it runs as soon as it's available. - """ - - bandwidth_weighting: str | None = ... - """ - Specify the bandwidth weighting option to boost the associated type of - baseline bandwidth, as follows: - - default - - : This option uses the standard bandwidth configuration for your - instance type. - - vpc-1 - - : This option boosts your networking baseline bandwidth and reduces your - EBS baseline bandwidth. - - ebs-1 - - : This option boosts your EBS baseline bandwidth and reduces your - networking baseline bandwidth. - """ - -@dataclass(kw_only=True) -class LaunchTemplateOverrides(_SerdeShape): - """Describes overrides for a launch template.""" - - instance_type: str | None = ... - """The instance type.""" - spot_price: str | None = ... - """ - The maximum price per unit hour that you are willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your instances will be interrupted more - frequently than if you do not specify this parameter. - """ - subnet_id: str | None = ... - """The ID of the subnet in which to launch the instances.""" - availability_zone: str | None = ... - """ - The Availability Zone in which to launch the instances. For example, - `us-east-2a`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - weighted_capacity: float | None = ... - """ - The number of units provided by the specified instance type. These are - the same units that you chose to set the target capacity in terms of - instances, or a performance characteristic such as vCPUs, memory, or - I/O. - - If the target capacity divided by this value is not a whole number, - Amazon EC2 rounds the number of instances to the next whole number. If - this value is not specified, the default is 1. - - Note: - When specifying weights, the price used in the `lowestPrice` and - `priceCapacityOptimized` allocation strategies is per *unit* hour (where - the instance price is divided by the specified weight). However, if all - the specified weights are above the requested `TargetCapacity`, - resulting in only 1 instance being launched, the price used is per - *instance* hour. - """ - priority: float | None = ... - """ - The priority for the launch template override. The highest priority is - launched first. - - If `OnDemandAllocationStrategy` is set to `prioritized`, Spot Fleet uses - priority to determine which launch template override to use first in - fulfilling On-Demand capacity. - - If the Spot `AllocationStrategy` is set to - `capacityOptimizedPrioritized`, Spot Fleet uses priority on a - best-effort basis to determine which launch template override to use in - fulfilling Spot capacity, but optimizes for capacity first. - - Valid values are whole numbers starting at `0`. The lower the number, - the higher the priority. If no number is set, the launch template - override has the lowest priority. You can set the same priority for - different launch template overrides. - """ - instance_requirements: InstanceRequirements | None = ... - """ - The instance requirements. When you specify instance requirements, - Amazon EC2 will identify instance types with the provided requirements, - and then use your On-Demand and Spot allocation strategies to launch - instances from these instance types, in the same way as when you specify - a list of instance types. - - Note: - If you specify `InstanceRequirements`, you can't specify - `InstanceType`. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which to launch the instances. For - example, `use2-az1`. - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - -@dataclass(kw_only=True) -class LaunchTemplatePlacement(_SerdeShape): - """Describes the placement of an instance.""" - - availability_zone: str | None = ... - """The Availability Zone of the instance.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone of the instance.""" - affinity: str | None = ... - """The affinity setting for the instance on the Dedicated Host.""" - group_name: str | None = ... - """The name of the placement group for the instance.""" - host_id: str | None = ... - """The ID of the Dedicated Host for the instance.""" - tenancy: str | None = ... - """ - The tenancy of the instance. An instance with a tenancy of `dedicated` - runs on single-tenant hardware. - """ - spread_domain: str | None = ... - """Reserved for future use.""" - host_resource_group_arn: str | None = ... - """The ARN of the host resource group in which to launch the instances.""" - partition_number: int | None = ... - """ - The number of the partition the instance should launch in. Valid only if - the placement group strategy is set to `partition`. - """ - group_id: str | None = ... - """ - The Group ID of the placement group. You must specify the Placement - Group **Group ID** to launch an instance in a shared placement group. - """ - -@dataclass(kw_only=True) -class LaunchTemplatePlacementRequest(_SerdeShape): - """Describes the placement of an instance.""" - - availability_zone: str | None = ... - """ - The Availability Zone for the instance. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone for the instance. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both - """ - affinity: str | None = ... - """The affinity setting for an instance on a Dedicated Host.""" - group_name: str | None = ... - """The name of the placement group for the instance.""" - host_id: str | None = ... - """The ID of the Dedicated Host for the instance.""" - tenancy: str | None = ... - """ - The tenancy of the instance. An instance with a tenancy of dedicated - runs on single-tenant hardware. - """ - spread_domain: str | None = ... - """Reserved for future use.""" - host_resource_group_arn: str | None = ... - """ - The ARN of the host resource group in which to launch the instances. If - you specify a host resource group ARN, omit the **Tenancy** parameter or - set it to `host`. - """ - partition_number: int | None = ... - """ - The number of the partition the instance should launch in. Valid only if - the placement group strategy is set to `partition`. - """ - group_id: str | None = ... - """ - The Group Id of a placement group. You must specify the Placement Group - **Group Id** to launch an instance in a shared placement group. - """ - -@dataclass(kw_only=True) -class LaunchTemplatePrivateDnsNameOptions(_SerdeShape): - """Describes the options for instance hostnames.""" - - hostname_type: str | None = ... - """The type of hostname to assign to an instance.""" - enable_resource_name_dns_a_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS A records. - """ - enable_resource_name_dns_aaaa_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS AAAA records. - """ - -@dataclass(kw_only=True) -class LaunchTemplatePrivateDnsNameOptionsRequest(_SerdeShape): - """Describes the options for instance hostnames.""" - - hostname_type: str | None = ... - """ - The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an - instance DNS name must be based on the instance IPv4 address. For IPv6 - native subnets, an instance DNS name must be based on the instance ID. - For dual-stack subnets, you can specify whether DNS names use the - instance IPv4 address or the instance ID. - """ - enable_resource_name_dns_a_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS A records. - """ - enable_resource_name_dns_aaaa_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS AAAA records. - """ - -@dataclass(kw_only=True) -class LaunchTemplatesMonitoring(_SerdeShape): - """Describes the monitoring for the instance.""" - - enabled: bool | None = ... - """ - Indicates whether detailed monitoring is enabled. Otherwise, basic - monitoring is enabled. - """ - -@dataclass(kw_only=True) -class LaunchTemplatesMonitoringRequest(_SerdeShape): - """Describes the monitoring for the instance.""" - - enabled: bool | None = ... - """ - Specify `true` to enable detailed monitoring. Otherwise, basic - monitoring is enabled. - """ - -@dataclass(kw_only=True) -class LaunchTemplateSpecification(_SerdeShape): - """Describes the launch template to use.""" - - launch_template_id: str | None = ... - """ - The ID of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - launch_template_name: str | None = ... - """ - The name of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - version: str | None = ... - """ - The launch template version number, `$Latest`, or `$Default`. - - A value of `$Latest` uses the latest version of the launch template. - - A value of `$Default` uses the default version of the launch template. - - Default: The default version of the launch template. - """ - -@dataclass(kw_only=True) -class LaunchTemplateSpotMarketOptions(_SerdeShape): - """The options for Spot Instances.""" - - max_price: str | None = ... - """ - The maximum hourly price you're willing to pay for a Spot Instance. We - do not recommend using this parameter because it can lead to increased - interruptions. If you do not specify this parameter, you will pay the - current Spot price. If you do specify this parameter, it must be more - than USD $0.001. Specifying a value below USD $0.001 will result in an - `InvalidParameterValue` error message when the launch template is used - to launch an instance. - """ - spot_instance_type: str | None = ... - """The Spot Instance request type.""" - block_duration_minutes: int | None = ... - """ - The required duration for the Spot Instances (also known as Spot - blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, - 240, 300, or 360). - """ - valid_until: datetime | None = ... - """ - The end date of the request. For a one-time request, the request remains - active until all instances launch, the request is canceled, or this date - is reached. If the request is persistent, it remains active until it is - canceled or this date and time is reached. - """ - instance_interruption_behavior: str | None = ... - """The behavior when a Spot Instance is interrupted.""" - -@dataclass(kw_only=True) -class LaunchTemplateSpotMarketOptionsRequest(_SerdeShape): - """The options for Spot Instances.""" - - max_price: str | None = ... - """ - The maximum hourly price you're willing to pay for a Spot Instance. We - do not recommend using this parameter because it can lead to increased - interruptions. If you do not specify this parameter, you will pay the - current Spot price. If you do specify this parameter, it must be more - than USD $0.001. Specifying a value below USD $0.001 will result in an - `InvalidParameterValue` error message when the launch template is used - to launch an instance. - - Warning: - If you specify a maximum price, your Spot Instances will be interrupted - more frequently than if you do not specify this parameter. - """ - spot_instance_type: str | None = ... - """The Spot Instance request type.""" - block_duration_minutes: int | None = ... - """Deprecated.""" - valid_until: datetime | None = ... - """ - The end date of the request, in UTC format (*YYYY-MM-DD*T*HH:MM:SS*Z). - Supported only for persistent requests. - - - For a persistent request, the request remains active until the - `ValidUntil` date and time is reached. Otherwise, the request remains - active until you cancel it. - - - For a one-time request, `ValidUntil` is not supported. The request - remains active until all instances launch or you cancel the request. - - Default: 7 days from the current date - """ - instance_interruption_behavior: str | None = ... - """ - The behavior when a Spot Instance is interrupted. The default is - `terminate`. - """ - -@dataclass(kw_only=True) -class LaunchTemplateTagSpecification(_SerdeShape): - """The tags specification for the launch template.""" - - resource_type: str | None = ... - """The type of resource to tag.""" - tags: list[Tag] | None = ... - """The tags for the resource.""" - -@dataclass(kw_only=True) -class LaunchTemplateTagSpecificationRequest(_SerdeShape): - """ - The tags specification for the resources that are created during - instance launch. - """ - - resource_type: str | None = ... - """ - The type of resource to tag. - - Valid Values lists all resource types for Amazon EC2 that can be tagged. - When you create a launch template, you can specify tags for the - following resource types only: `instance` | `volume` | - `network-interface` | `spot-instances-request`. If the instance does - not include the resource type that you specify, the instance launch - fails. For example, not all instance types include a volume. - - To tag a resource after it has been created, see - [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). - """ - tags: list[Tag] | None = ... - """The tags to apply to the resource.""" - -@dataclass(kw_only=True) -class LaunchTemplateVersion(_SerdeShape): - """Describes a launch template version.""" - - launch_template_id: str | None = ... - """The ID of the launch template.""" - launch_template_name: str | None = ... - """The name of the launch template.""" - version_number: int | None = ... - """The version number.""" - version_description: str | None = ... - """The description for the version.""" - create_time: datetime | None = ... - """The time the version was created.""" - created_by: str | None = ... - """The principal that created the version.""" - default_version: bool | None = ... - """Indicates whether the version is the default version.""" - launch_template_data: ResponseLaunchTemplateData | None = ... - """Information about the launch template.""" - operator: OperatorResponse | None = ... - """The entity that manages the launch template.""" - -@dataclass(kw_only=True) -class LicenseConfiguration(_SerdeShape): - """Describes a license configuration.""" - - license_configuration_arn: str | None = ... - """The Amazon Resource Name (ARN) of the license configuration.""" - -@dataclass(kw_only=True) -class LicenseConfigurationRequest(_SerdeShape): - """Describes a license configuration.""" - - license_configuration_arn: str | None = ... - """The Amazon Resource Name (ARN) of the license configuration.""" - -@dataclass(kw_only=True) -class ListImagesInRecycleBinInput(_SerdeShape): - """Dataclass for ListImagesInRecycleBinInput structure.""" - - image_ids: list[str] | None = ... - """ - The IDs of the AMIs to list. Omit this parameter to list all of the AMIs - that are in the Recycle Bin. You can specify up to 20 IDs in a single - request. - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ListImagesInRecycleBinOutput(_SerdeShape): - """Dataclass for ListImagesInRecycleBinOutput structure.""" - - images: list[ImageRecycleBinInfo] | None = ... - """Information about the AMIs.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ListingState(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - SOLD = "sold" - CANCELLED = "cancelled" - PENDING = "pending" - -class ListingStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - PENDING = "pending" - CANCELLED = "cancelled" - CLOSED = "closed" - -@dataclass(kw_only=True) -class ListSnapshotsInRecycleBinInput(_SerdeShape): - """Dataclass for ListSnapshotsInRecycleBinInput structure.""" - - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - snapshot_ids: list[str] | None = ... - """ - The IDs of the snapshots to list. Omit this parameter to list all of the - snapshots that are in the Recycle Bin. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ListSnapshotsInRecycleBinOutput(_SerdeShape): - """Dataclass for ListSnapshotsInRecycleBinOutput structure.""" - - snapshots: list[SnapshotRecycleBinInfo] | None = ... - """Information about the snapshots.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListVolumesInRecycleBinInput(_SerdeShape): - """Dataclass for ListVolumesInRecycleBinInput structure.""" - - volume_ids: list[str] | None = ... - """ - The IDs of the volumes to list. Omit this parameter to list all of the - volumes that are in the Recycle Bin. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - max_results: int | None = ... - """ - 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 - [Pagination](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination). - - Valid range: 5 - 500 - """ - next_token: str | None = ... - """ - The token returned from a previous paginated request. Pagination - continues from the end of the items returned by the previous request. - """ - -@dataclass(kw_only=True) -class ListVolumesInRecycleBinOutput(_SerdeShape): - """Dataclass for ListVolumesInRecycleBinOutput structure.""" - - volumes: list[VolumeRecycleBinInfo] | None = ... - """Information about the volumes.""" - next_token: str | None = ... - """ - The token to include in another request to get the next page of items. - This value is `null` when there are no more items to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LoadBalancersConfig(_SerdeShape): - """ - Describes the Classic Load Balancers and target groups to attach to a - Spot Fleet request. - """ - - classic_load_balancers_config: ClassicLoadBalancersConfig | None = ... - """The Classic Load Balancers.""" - target_groups_config: TargetGroupsConfig | None = ... - """The target groups.""" - -@dataclass(kw_only=True) -class LoadPermission(_SerdeShape): - """Describes a load permission.""" - - user_id: str | None = ... - """The Amazon Web Services account ID.""" - group: str | None = ... - """The name of the group.""" - -@dataclass(kw_only=True) -class LoadPermissionModifications(_SerdeShape): - """ - Describes modifications to the load permissions of an Amazon FPGA image - (AFI). - """ - - add: list[LoadPermissionRequest] | None = ... - """The load permissions to add.""" - remove: list[LoadPermissionRequest] | None = ... - """The load permissions to remove.""" - -@dataclass(kw_only=True) -class LoadPermissionRequest(_SerdeShape): - """Describes a load permission.""" - - group: str | None = ... - """The name of the group.""" - user_id: str | None = ... - """The Amazon Web Services account ID.""" - -@dataclass(kw_only=True) -class LocalGateway(_SerdeShape): - """Describes a local gateway.""" - - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - outpost_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the local gateway.""" - state: str | None = ... - """The state of the local gateway.""" - tags: list[Tag] | None = ... - """The tags assigned to the local gateway.""" - -@dataclass(kw_only=True) -class LocalGatewayRoute(_SerdeShape): - """Describes a route for a local gateway route table.""" - - destination_cidr_block: str | None = ... - """The CIDR block used for destination matches.""" - local_gateway_virtual_interface_group_id: str | None = ... - """The ID of the virtual interface group.""" - type: str | None = ... - """The route type.""" - state: str | None = ... - """The state of the route.""" - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - local_gateway_route_table_arn: str | None = ... - """The Amazon Resource Name (ARN) of the local gateway route table.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the local gateway - route. - """ - subnet_id: str | None = ... - """The ID of the subnet.""" - coip_pool_id: str | None = ... - """The ID of the customer-owned address pool.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - destination_prefix_list_id: str | None = ... - """The ID of the prefix list.""" - -class LocalGatewayRouteState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - ACTIVE = "active" - BLACKHOLE = "blackhole" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class LocalGatewayRouteTable(_SerdeShape): - """Describes a local gateway route table.""" - - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - local_gateway_route_table_arn: str | None = ... - """The Amazon Resource Name (ARN) of the local gateway route table.""" - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - outpost_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the local gateway - route table. - """ - state: str | None = ... - """The state of the local gateway route table.""" - tags: list[Tag] | None = ... - """The tags assigned to the local gateway route table.""" - mode: str | None = ... - """The mode of the local gateway route table.""" - state_reason: StateReason | None = ... - """Information about the state change.""" - -class LocalGatewayRouteTableMode(UnknownEnumMixin, StrEnum): - DIRECT_VPC_ROUTING = "direct-vpc-routing" - COIP = "coip" - -@dataclass(kw_only=True) -class LocalGatewayRouteTableVirtualInterfaceGroupAssociation(_SerdeShape): - """ - Describes an association between a local gateway route table and a - virtual interface group. - """ - - local_gateway_route_table_virtual_interface_group_association_id: str | None = ... - """The ID of the association.""" - local_gateway_virtual_interface_group_id: str | None = ... - """The ID of the virtual interface group.""" - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - local_gateway_route_table_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the local gateway route table for the - virtual interface group. - """ - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the local gateway - virtual interface group association. - """ - state: str | None = ... - """The state of the association.""" - tags: list[Tag] | None = ... - """The tags assigned to the association.""" - -@dataclass(kw_only=True) -class LocalGatewayRouteTableVpcAssociation(_SerdeShape): - """Describes an association between a local gateway route table and a VPC.""" - - local_gateway_route_table_vpc_association_id: str | None = ... - """The ID of the association.""" - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - local_gateway_route_table_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the local gateway route table for the - association. - """ - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the local gateway - route table for the association. - """ - state: str | None = ... - """The state of the association.""" - tags: list[Tag] | None = ... - """The tags assigned to the association.""" - -class LocalGatewayRouteType(UnknownEnumMixin, StrEnum): - STATIC = "static" - PROPAGATED = "propagated" - -@dataclass(kw_only=True) -class LocalGatewayVirtualInterface(_SerdeShape): - """Describes a local gateway virtual interface.""" - - local_gateway_virtual_interface_id: str | None = ... - """The ID of the virtual interface.""" - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - local_gateway_virtual_interface_group_id: str | None = ... - """The ID of the local gateway virtual interface group.""" - local_gateway_virtual_interface_arn: str | None = ... - """The Amazon Resource Number (ARN) of the local gateway virtual interface.""" - outpost_lag_id: str | None = ... - """The Outpost LAG ID.""" - vlan: int | None = ... - """The ID of the VLAN.""" - local_address: str | None = ... - """The local address.""" - peer_address: str | None = ... - """The peer address.""" - local_bgp_asn: int | None = ... - """ - The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the - local gateway. - """ - peer_bgp_asn: int | None = ... - """The peer BGP ASN.""" - peer_bgp_asn_extended: int | None = ... - """The extended 32-bit ASN of the BGP peer for use with larger ASN values.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the local gateway - virtual interface. - """ - tags: list[Tag] | None = ... - """The tags assigned to the virtual interface.""" - configuration_state: str | None = ... - """The current state of the local gateway virtual interface.""" - -class LocalGatewayVirtualInterfaceConfigurationState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class LocalGatewayVirtualInterfaceGroup(_SerdeShape): - """Describes a local gateway virtual interface group.""" - - local_gateway_virtual_interface_group_id: str | None = ... - """The ID of the virtual interface group.""" - local_gateway_virtual_interface_ids: list[str] | None = ... - """The IDs of the virtual interfaces.""" - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the local gateway - virtual interface group. - """ - local_bgp_asn: int | None = ... - """ - The Autonomous System Number(ASN) for the local Border Gateway Protocol - (BGP). - """ - local_bgp_asn_extended: int | None = ... - """The extended 32-bit ASN for the local BGP configuration.""" - local_gateway_virtual_interface_group_arn: str | None = ... - """ - The Amazon Resource Number (ARN) of the local gateway virtual interface - group. - """ - tags: list[Tag] | None = ... - """The tags assigned to the virtual interface group.""" - configuration_state: str | None = ... - """The current state of the local gateway virtual interface group.""" - -class LocalGatewayVirtualInterfaceGroupConfigurationState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - INCOMPLETE = "incomplete" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -class LocalStorage(UnknownEnumMixin, StrEnum): - INCLUDED = "included" - REQUIRED = "required" - EXCLUDED = "excluded" - -class LocalStorageType(UnknownEnumMixin, StrEnum): - HDD = "hdd" - SSD = "ssd" - -class LocationType(UnknownEnumMixin, StrEnum): - REGION = "region" - AVAILABILITY_ZONE = "availability-zone" - AVAILABILITY_ZONE_ID = "availability-zone-id" - OUTPOST = "outpost" - -@dataclass(kw_only=True) -class LockedSnapshotsInfo(_SerdeShape): - """Information about a locked snapshot.""" - - owner_id: str | None = ... - """ - The account ID of the Amazon Web Services account that owns the - snapshot. - """ - snapshot_id: str | None = ... - """The ID of the snapshot.""" - lock_state: str | None = ... - """ - The state of the snapshot lock. Valid states include: - - - `compliance-cooloff` - The snapshot has been locked in compliance mode - but it is still within the cooling-off period. The snapshot can't be - deleted, but it can be unlocked and the lock settings can be modified - by users with appropriate permissions. - - - `governance` - The snapshot is locked in governance mode. The snapshot - can't be deleted, but it can be unlocked and the lock settings can be - modified by users with appropriate permissions. - - - `compliance` - The snapshot is locked in compliance mode and the - cooling-off period has expired. The snapshot can't be unlocked or - deleted. The lock duration can only be increased by users with - appropriate permissions. - - - `expired` - The snapshot was locked in compliance or governance mode - but the lock duration has expired. The snapshot is not locked and can - be deleted. - """ - lock_duration: int | None = ... - """The period of time for which the snapshot is locked, in days.""" - cool_off_period: int | None = ... - """The compliance mode cooling-off period, in hours.""" - cool_off_period_expires_on: datetime | None = ... - """ - The date and time at which the compliance mode cooling-off period - expires, in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - lock_created_on: datetime | None = ... - """ - The date and time at which the snapshot was locked, in the UTC time zone - (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - lock_duration_start_time: datetime | None = ... - """ - The date and time at which the lock duration started, in the UTC time - zone (`YYYY-MM-DDThh:mm:ss.sssZ`). - - If you lock a snapshot that is in the `pending` state, the lock duration - starts only once the snapshot enters the `completed` state. - """ - lock_expires_on: datetime | None = ... - """ - The date and time at which the lock will expire, in the UTC time zone - (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - -class LockMode(UnknownEnumMixin, StrEnum): - COMPLIANCE = "compliance" - GOVERNANCE = "governance" - -@dataclass(kw_only=True) -class LockSnapshotInput(_SerdeShape): - """Dataclass for LockSnapshotInput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot to lock.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - lock_mode: str | None = ... - """ - The mode in which to lock the snapshot. Specify one of the following: - - - `governance` - Locks the snapshot in governance mode. Snapshots locked - in governance mode can't be deleted until one of the following - conditions are met: - - - The lock duration expires. - - - The snapshot is unlocked by a user with the appropriate permissions. - - Users with the appropriate IAM permissions can unlock the snapshot, - increase or decrease the lock duration, and change the lock mode to - `compliance` at any time. - - If you lock a snapshot in `governance` mode, omit **CoolOffPeriod**. - - - `compliance` - Locks the snapshot in compliance mode. Snapshots locked - in compliance mode can't be unlocked by any user. They can be deleted - only after the lock duration expires. Users can't decrease the lock - duration or change the lock mode to `governance`. However, users with - appropriate IAM permissions can increase the lock duration at any - time. - - If you lock a snapshot in `compliance` mode, you can optionally - specify **CoolOffPeriod**. - """ - cool_off_period: int | None = ... - """ - The cooling-off period during which you can unlock the snapshot or - modify the lock settings after locking the snapshot in compliance mode, - in hours. After the cooling-off period expires, you can't unlock or - delete the snapshot, decrease the lock duration, or change the lock - mode. You can increase the lock duration after the cooling-off period - expires. - - The cooling-off period is optional when locking a snapshot in compliance - mode. If you are locking the snapshot in governance mode, omit this - parameter. - - To lock the snapshot in compliance mode immediately without a - cooling-off period, omit this parameter. - - If you are extending the lock duration for a snapshot that is locked in - compliance mode after the cooling-off period has expired, omit this - parameter. If you specify a cooling-period in a such a request, the - request fails. - - Allowed values: Min 1, max 72. - """ - lock_duration: int | None = ... - """ - The period of time for which to lock the snapshot, in days. The snapshot - lock will automatically expire after this period lapses. - - You must specify either this parameter or **ExpirationDate**, but not - both. - - Allowed values: Min: 1, max 36500 - """ - expiration_date: datetime | None = ... - """ - The date and time at which the snapshot lock is to automatically expire, - in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). - - You must specify either this parameter or **LockDuration**, but not - both. - """ - -@dataclass(kw_only=True) -class LockSnapshotOutput(_SerdeShape): - """Dataclass for LockSnapshotOutput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot""" - lock_state: str | None = ... - """ - The state of the snapshot lock. Valid states include: - - - `compliance-cooloff` - The snapshot has been locked in compliance mode - but it is still within the cooling-off period. The snapshot can't be - deleted, but it can be unlocked and the lock settings can be modified - by users with appropriate permissions. - - - `governance` - The snapshot is locked in governance mode. The snapshot - can't be deleted, but it can be unlocked and the lock settings can be - modified by users with appropriate permissions. - - - `compliance` - The snapshot is locked in compliance mode and the - cooling-off period has expired. The snapshot can't be unlocked or - deleted. The lock duration can only be increased by users with - appropriate permissions. - - - `expired` - The snapshot was locked in compliance or governance mode - but the lock duration has expired. The snapshot is not locked and can - be deleted. - """ - lock_duration: int | None = ... - """The period of time for which the snapshot is locked, in days.""" - cool_off_period: int | None = ... - """The compliance mode cooling-off period, in hours.""" - cool_off_period_expires_on: datetime | None = ... - """ - The date and time at which the compliance mode cooling-off period - expires, in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - lock_created_on: datetime | None = ... - """ - The date and time at which the snapshot was locked, in the UTC time zone - (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - lock_expires_on: datetime | None = ... - """ - The date and time at which the lock will expire, in the UTC time zone - (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - lock_duration_start_time: datetime | None = ... - """ - The date and time at which the lock duration started, in the UTC time - zone (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class LockState(UnknownEnumMixin, StrEnum): - COMPLIANCE = "compliance" - GOVERNANCE = "governance" - COMPLIANCE_COOLOFF = "compliance-cooloff" - EXPIRED = "expired" - -class LogDestinationType(UnknownEnumMixin, StrEnum): - CLOUD_WATCH_LOGS = "cloud-watch-logs" - S3 = "s3" - KINESIS_DATA_FIREHOSE = "kinesis-data-firehose" - -@dataclass(kw_only=True) -class MacHost(_SerdeShape): - """Information about the EC2 Mac Dedicated Host.""" - - host_id: str | None = ... - """The EC2 Mac Dedicated Host ID.""" - mac_os_latest_supported_versions: list[str] | None = ... - """ - The latest macOS versions that the EC2 Mac Dedicated Host can launch - without being upgraded. - """ - -@dataclass(kw_only=True) -class MacModificationTask(_SerdeShape): - """ - Information about a System Integrity Protection (SIP) modification task - or volume ownership delegation task for an Amazon EC2 Mac instance. - """ - - instance_id: str | None = ... - """The ID of the Amazon EC2 Mac instance.""" - mac_modification_task_id: str | None = ... - """The ID of task.""" - mac_system_integrity_protection_config: ( - MacSystemIntegrityProtectionConfiguration | None - ) = ... - """[SIP modification tasks only] Information about the SIP configuration.""" - start_time: datetime | None = ... - """ - The date and time the task was created, in the UTC timezone - (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - tags: list[Tag] | None = ... - """The tags assigned to the task.""" - task_state: str | None = ... - """The state of the task.""" - task_type: str | None = ... - """The type of task.""" - -class MacModificationTaskState(UnknownEnumMixin, StrEnum): - SUCCESSFUL = "successful" - FAILED = "failed" - INPROGRESS = "in-progress" - PENDING = "pending" - -class MacModificationTaskType(UnknownEnumMixin, StrEnum): - SIP_MODIFICATION = "sip-modification" - VOLUME_OWNERSHIP_DELEGATION = "volume-ownership-delegation" - -@dataclass(kw_only=True) -class MacSystemIntegrityProtectionConfiguration(_SerdeShape): - """ - Describes the configuration for a System Integrity Protection (SIP) - modification task. - """ - - apple_internal: str | None = ... - """Indicates whether Apple Internal was enabled or disabled by the task.""" - base_system: str | None = ... - """Indicates whether Base System was enabled or disabled by the task.""" - debugging_restrictions: str | None = ... - """ - Indicates whether Debugging Restrictions was enabled or disabled by the - task. - """ - d_trace_restrictions: str | None = ... - """ - Indicates whether Dtrace Restrictions was enabled or disabled by the - task. - """ - filesystem_protections: str | None = ... - """ - Indicates whether Filesystem Protections was enabled or disabled by the - task. - """ - kext_signing: str | None = ... - """Indicates whether Kext Signing was enabled or disabled by the task.""" - nvram_protections: str | None = ... - """Indicates whether NVRAM Protections was enabled or disabled by the task.""" - status: str | None = ... - """Indicates SIP was enabled or disabled by the task.""" - -@dataclass(kw_only=True) -class MacSystemIntegrityProtectionConfigurationRequest(_SerdeShape): - """ - Describes a custom configuration for a System Integrity Protection (SIP) - modification task. - """ - - apple_internal: str | None = ... - """Enables or disables Apple Internal.""" - base_system: str | None = ... - """Enables or disables Base System.""" - debugging_restrictions: str | None = ... - """Enables or disables Debugging Restrictions.""" - d_trace_restrictions: str | None = ... - """Enables or disables Dtrace Restrictions.""" - filesystem_protections: str | None = ... - """Enables or disables Filesystem Protections.""" - kext_signing: str | None = ... - """Enables or disables Kext Signing.""" - nvram_protections: str | None = ... - """Enables or disables Nvram Protections.""" - -class MacSystemIntegrityProtectionSettingStatus(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class MaintenanceDetails(_SerdeShape): - """Details for Site-to-Site VPN tunnel endpoint maintenance events.""" - - pending_maintenance: str | None = ... - """Verify existence of a pending maintenance.""" - maintenance_auto_applied_after: datetime | None = ... - """ - The timestamp after which Amazon Web Services will automatically apply - maintenance. - """ - last_maintenance_applied: datetime | None = ... - """Timestamp of last applied maintenance.""" - -class ManagedBy(UnknownEnumMixin, StrEnum): - ACCOUNT = "account" - DECLARATIVE_POLICY = "declarative-policy" - -@dataclass(kw_only=True) -class ManagedPrefixList(_SerdeShape): - """Describes a managed prefix list.""" - - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - address_family: str | None = ... - """The IP address version.""" - state: str | None = ... - """The current state of the prefix list.""" - state_message: str | None = ... - """The state message.""" - prefix_list_arn: str | None = ... - """The Amazon Resource Name (ARN) for the prefix list.""" - prefix_list_name: str | None = ... - """The name of the prefix list.""" - max_entries: int | None = ... - """The maximum number of entries for the prefix list.""" - version: int | None = ... - """The version of the prefix list.""" - tags: list[Tag] | None = ... - """The tags for the prefix list.""" - owner_id: str | None = ... - """The ID of the owner of the prefix list.""" - ipam_prefix_list_resolver_target_id: str | None = ... - """ - The ID of the IPAM prefix list resolver target associated with this - managed prefix list. When set, this prefix list becomes an IPAM managed - prefix list. - - An IPAM-managed prefix list is a customer-managed prefix list that has - been associated with an IPAM prefix list resolver target. When a prefix - list becomes IPAM managed, its CIDRs are automatically synchronized - based on the IPAM prefix list resolver's CIDR selection rules, and - direct CIDR modifications are restricted. - """ - ipam_prefix_list_resolver_sync_enabled: bool | None = ... - """ - Indicates whether synchronization with an IPAM prefix list resolver is - enabled for this managed prefix list. When enabled, the prefix list - CIDRs are automatically updated based on the resolver's CIDR selection - rules. - """ - -class ManagedResourceDefaultVisibility(UnknownEnumMixin, StrEnum): - HIDDEN = "hidden" - VISIBLE = "visible" - -@dataclass(kw_only=True) -class ManagedResourceVisibilitySettings(_SerdeShape): - """Describes the managed resource visibility settings for the account.""" - - default_visibility: str | None = ... - """ - The default visibility setting for managed resources. A value of - `hidden` indicates that managed resources are not included in Describe - operation responses by default. A value of `visible` indicates that - managed resources are included by default. - """ - -class MarketType(UnknownEnumMixin, StrEnum): - SPOT = "spot" - CAPACITY_BLOCK = "capacity-block" - INTERRUPTIBLE_CAPACITY_RESERVATION = "interruptible-capacity-reservation" - ON_DEMAND = "on-demand" - -@dataclass(kw_only=True) -class MediaAcceleratorInfo(_SerdeShape): - """Describes the media accelerators for the instance type.""" - - accelerators: list[MediaDeviceInfo] | None = ... - """Describes the media accelerators for the instance type.""" - total_media_memory_in_mi_b: int | None = ... - """ - The total size of the memory for the media accelerators for the instance - type, in MiB. - """ - -@dataclass(kw_only=True) -class MediaDeviceInfo(_SerdeShape): - """Describes the media accelerators for the instance type.""" - - count: int | None = ... - """The number of media accelerators for the instance type.""" - name: str | None = ... - """The name of the media accelerator.""" - manufacturer: str | None = ... - """The manufacturer of the media accelerator.""" - memory_info: MediaDeviceMemoryInfo | None = ... - """Describes the memory available to the media accelerator.""" - -@dataclass(kw_only=True) -class MediaDeviceMemoryInfo(_SerdeShape): - """Describes the memory available to the media accelerator.""" - - size_in_mi_b: int | None = ... - """The size of the memory available to each media accelerator, in MiB.""" - -class MembershipType(UnknownEnumMixin, StrEnum): - STATIC = "static" - IGMP = "igmp" - -@dataclass(kw_only=True) -class MemoryGiBPerVCpu(_SerdeShape): - """The minimum and maximum amount of memory per vCPU, in GiB.""" - - min: float | None = ... - """ - The minimum amount of memory per vCPU, in GiB. If this parameter is not - specified, there is no minimum limit. - """ - max: float | None = ... - """ - The maximum amount of memory per vCPU, in GiB. If this parameter is not - specified, there is no maximum limit. - """ - -@dataclass(kw_only=True) -class MemoryGiBPerVCpuRequest(_SerdeShape): - """The minimum and maximum amount of memory per vCPU, in GiB.""" - - min: float | None = ... - """ - The minimum amount of memory per vCPU, in GiB. To specify no minimum - limit, omit this parameter. - """ - max: float | None = ... - """ - The maximum amount of memory per vCPU, in GiB. To specify no maximum - limit, omit this parameter. - """ - -@dataclass(kw_only=True) -class MemoryInfo(_SerdeShape): - """Describes the memory for the instance type.""" - - size_in_mi_b: int | None = ... - """The size of the memory, in MiB.""" - -@dataclass(kw_only=True) -class MemoryMiB(_SerdeShape): - """The minimum and maximum amount of memory, in MiB.""" - - min: int | None = ... - """ - The minimum amount of memory, in MiB. If this parameter is not - specified, there is no minimum limit. - """ - max: int | None = ... - """ - The maximum amount of memory, in MiB. If this parameter is not - specified, there is no maximum limit. - """ - -@dataclass(kw_only=True) -class MemoryMiBRequest(_SerdeShape): - """The minimum and maximum amount of memory, in MiB.""" - - min: int | None = ... - """ - The minimum amount of memory, in MiB. To specify no minimum limit, - specify `0`. - """ - max: int | None = ... - """ - The maximum amount of memory, in MiB. To specify no maximum limit, omit - this parameter. - """ - -class MetadataDefaultHttpTokensState(UnknownEnumMixin, StrEnum): - OPTIONAL = "optional" - REQUIRED = "required" - NO_PREFERENCE = "no-preference" - -class Metric(UnknownEnumMixin, StrEnum): - RESERVATION_TOTAL_CAPACITY_HRS_VCPU = "reservation-total-capacity-hrs-vcpu" - RESERVATION_TOTAL_CAPACITY_HRS_INST = "reservation-total-capacity-hrs-inst" - RESERVATION_MAX_SIZE_VCPU = "reservation-max-size-vcpu" - RESERVATION_MAX_SIZE_INST = "reservation-max-size-inst" - RESERVATION_MIN_SIZE_VCPU = "reservation-min-size-vcpu" - RESERVATION_MIN_SIZE_INST = "reservation-min-size-inst" - RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_VCPU = ( - "reservation-unused-total-capacity-hrs-vcpu" - ) - RESERVATION_UNUSED_TOTAL_CAPACITY_HRS_INST = ( - "reservation-unused-total-capacity-hrs-inst" - ) - RESERVATION_UNUSED_TOTAL_ESTIMATED_COST = "reservation-unused-total-estimated-cost" - RESERVATION_MAX_UNUSED_SIZE_VCPU = "reservation-max-unused-size-vcpu" - RESERVATION_MAX_UNUSED_SIZE_INST = "reservation-max-unused-size-inst" - RESERVATION_MIN_UNUSED_SIZE_VCPU = "reservation-min-unused-size-vcpu" - RESERVATION_MIN_UNUSED_SIZE_INST = "reservation-min-unused-size-inst" - RESERVATION_MAX_UTILIZATION = "reservation-max-utilization" - RESERVATION_MIN_UTILIZATION = "reservation-min-utilization" - RESERVATION_AVG_UTILIZATION_VCPU = "reservation-avg-utilization-vcpu" - RESERVATION_AVG_UTILIZATION_INST = "reservation-avg-utilization-inst" - RESERVATION_TOTAL_COUNT = "reservation-total-count" - RESERVATION_TOTAL_ESTIMATED_COST = "reservation-total-estimated-cost" - RESERVATION_AVG_FUTURE_SIZE_VCPU = "reservation-avg-future-size-vcpu" - RESERVATION_AVG_FUTURE_SIZE_INST = "reservation-avg-future-size-inst" - RESERVATION_MIN_FUTURE_SIZE_VCPU = "reservation-min-future-size-vcpu" - RESERVATION_MIN_FUTURE_SIZE_INST = "reservation-min-future-size-inst" - RESERVATION_MAX_FUTURE_SIZE_VCPU = "reservation-max-future-size-vcpu" - RESERVATION_MAX_FUTURE_SIZE_INST = "reservation-max-future-size-inst" - RESERVATION_AVG_COMMITTED_SIZE_VCPU = "reservation-avg-committed-size-vcpu" - RESERVATION_AVG_COMMITTED_SIZE_INST = "reservation-avg-committed-size-inst" - RESERVATION_MAX_COMMITTED_SIZE_VCPU = "reservation-max-committed-size-vcpu" - RESERVATION_MAX_COMMITTED_SIZE_INST = "reservation-max-committed-size-inst" - RESERVATION_MIN_COMMITTED_SIZE_VCPU = "reservation-min-committed-size-vcpu" - RESERVATION_MIN_COMMITTED_SIZE_INST = "reservation-min-committed-size-inst" - RESERVED_TOTAL_USAGE_HRS_VCPU = "reserved-total-usage-hrs-vcpu" - RESERVED_TOTAL_USAGE_HRS_INST = "reserved-total-usage-hrs-inst" - RESERVED_TOTAL_ESTIMATED_COST = "reserved-total-estimated-cost" - UNRESERVED_TOTAL_USAGE_HRS_VCPU = "unreserved-total-usage-hrs-vcpu" - UNRESERVED_TOTAL_USAGE_HRS_INST = "unreserved-total-usage-hrs-inst" - UNRESERVED_TOTAL_ESTIMATED_COST = "unreserved-total-estimated-cost" - SPOT_TOTAL_USAGE_HRS_VCPU = "spot-total-usage-hrs-vcpu" - SPOT_TOTAL_USAGE_HRS_INST = "spot-total-usage-hrs-inst" - SPOT_TOTAL_ESTIMATED_COST = "spot-total-estimated-cost" - SPOT_AVG_RUN_TIME_BEFORE_INTERRUPTION_INST = ( - "spot-avg-run-time-before-interruption-inst" - ) - SPOT_MAX_RUN_TIME_BEFORE_INTERRUPTION_INST = ( - "spot-max-run-time-before-interruption-inst" - ) - SPOT_MIN_RUN_TIME_BEFORE_INTERRUPTION_INST = ( - "spot-min-run-time-before-interruption-inst" - ) - SPOT_TOTAL_INTERRUPTIONS_INST = "spot-total-interruptions-inst" - SPOT_TOTAL_INTERRUPTIONS_VCPU = "spot-total-interruptions-vcpu" - SPOT_TOTAL_COUNT_INST = "spot-total-count-inst" - SPOT_TOTAL_COUNT_VCPU = "spot-total-count-vcpu" - SPOT_INTERRUPTION_RATE_INST = "spot-interruption-rate-inst" - SPOT_INTERRUPTION_RATE_VCPU = "spot-interruption-rate-vcpu" - CAPACITY_TOTAL_REQUESTED_VCPU = "capacity-total-requested-vcpu" - CAPACITY_TOTAL_FULFILLED_VCPU = "capacity-total-fulfilled-vcpu" - SPOT_CAPACITY_TOTAL_REQUESTED_VCPU = "spot-capacity-total-requested-vcpu" - SPOT_CAPACITY_TOTAL_FULFILLED_VCPU = "spot-capacity-total-fulfilled-vcpu" - CAPACITY_REQUEST_FULFILLMENT_RATE = "capacity-request-fulfillment-rate" - AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU = "avg-inst-az-count-per-requested-vcpu" - INST_AZ_FULFILLMENT_RATE = "inst-az-fulfillment-rate" - SPOT_CAPACITY_REQUEST_FULFILLMENT_RATE = "spot-capacity-request-fulfillment-rate" - SPOT_AVG_INST_AZ_COUNT_PER_REQUESTED_VCPU = ( - "spot-avg-inst-az-count-per-requested-vcpu" - ) - SPOT_INST_AZ_FULFILLMENT_RATE = "spot-inst-az-fulfillment-rate" - -@dataclass(kw_only=True) -class MetricDataResult(_SerdeShape): - """ - Contains a single data point from a capacity metrics query, including - the dimension values, timestamp, and metric values for that specific - combination. - """ - - dimension: CapacityManagerDimension | None = ... - """ - The dimension values that identify this specific data point, such as - account ID, region, and instance family. - """ - timestamp: datetime | None = ... - """ - The timestamp for this data point, indicating when the capacity usage - occurred. - """ - metric_values: list[MetricValue] | None = ... - """ - The metric values and statistics for this data point, containing the - actual capacity usage numbers. - """ - -@dataclass(kw_only=True) -class MetricPoint(_SerdeShape): - """ - Indicates whether the network was healthy or degraded at a particular - point. The value is aggregated from the `startDate` to the `endDate`. - Currently only `five_minutes` is supported. - """ - - start_date: datetime | None = ... - """ - The start date for the metric point. The starting date for the metric - point. The starting time must be formatted as `yyyy-mm-ddThh:mm:ss`. For - example, `2022-06-10T12:00:00.000Z`. - """ - end_date: datetime | None = ... - """ - The end date for the metric point. The ending time must be formatted as - `yyyy-mm-ddThh:mm:ss`. For example, `2022-06-12T12:00:00.000Z`. - """ - value: float | None = ... - status: str | None = ... - """The status of the metric point.""" - -class MetricType(UnknownEnumMixin, StrEnum): - AGGREGATE_LATENCY = "aggregate-latency" - -@dataclass(kw_only=True) -class MetricValue(_SerdeShape): - """ - Represents a single metric value with its associated statistic, such as - the sum or average of unused capacity hours. - """ - - metric: str | None = ... - """The name of the metric.""" - value: float | None = ... - """ - The numerical value of the metric for the specified statistic and time - period. - """ - -@dataclass(kw_only=True) -class ModificationQuoteCurrentConfiguration(_SerdeShape): - """ - Describes the configuration that a Capacity Reservation has at the time - a modification quote is generated. - """ - - instance_count: int | None = ... - """The number of instances in the Capacity Reservation.""" - reservation_state: str | None = ... - """The current state of the Capacity Reservation.""" - start_date: datetime | None = ... - """ - The start date that the Capacity Reservation has before the quoted - modification is applied. - """ - original_start_date: datetime | None = ... - """ - The start date that the Capacity Reservation was originally requested - with. This value does not change when you push out the start date. - """ - -@dataclass(kw_only=True) -class ModificationReservationUpdate(_SerdeShape): - """ - Describes the changes that a Capacity Reservation modification quote - will apply to a Capacity Reservation. - """ - - new_commitment_end_date: datetime | None = ... - """ - The date and time at which the commitment duration will expire after the - modification, in the ISO8601 format in the UTC time zone - (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - new_start_date: datetime | None = ... - """ - The start date that the Capacity Reservation will have after the - modification, in the ISO8601 format in the UTC time zone - (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - new_commitment_duration: int | None = ... - """ - The commitment duration, in seconds, that the Capacity Reservation will - have after the modification. - """ - -@dataclass(kw_only=True) -class ModificationTerms(_SerdeShape): - """Describes the terms of a Capacity Reservation modification quote.""" - - reservation_update: ModificationReservationUpdate | None = ... - """ - The changes that will be applied to the Capacity Reservation if you - accept the modification terms. - """ - -@dataclass(kw_only=True) -class ModifyAccountVpcEncryptionControlInput(_SerdeShape): - """Dataclass for ModifyAccountVpcEncryptionControlInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - mode: str | None = ... - """The encryption mode for the account encryption control configuration.""" - internet_gateway: str | None = ... - """ - Specifies whether to exclude internet gateway resource from - account-level encryption enforcement. - """ - egress_only_internet_gateway: str | None = ... - """ - Specifies whether to exclude egress-only internet gateway resource from - account-level encryption enforcement. - """ - nat_gateway: str | None = ... - """ - Specifies whether to exclude NAT gateway resource from account-level - encryption enforcement. - """ - virtual_private_gateway: str | None = ... - """ - Specifies whether to exclude virtual private gateway resource from - account-level encryption enforcement. - """ - vpc_peering: str | None = ... - """ - Specifies whether to exclude VPC peering connection resource from - account-level encryption enforcement. - """ - lambda_: str | None = ... - """ - Specifies whether to exclude Lambda service from account-level - encryption enforcement. - """ - vpc_lattice: str | None = ... - """ - Specifies whether to exclude VPC Lattice service from account-level - encryption enforcement. - """ - elastic_file_system: str | None = ... - """ - Specifies whether to exclude Elastic File System service from - account-level encryption enforcement. - """ - -@dataclass(kw_only=True) -class ModifyAccountVpcEncryptionControlOutput(_SerdeShape): - """Dataclass for ModifyAccountVpcEncryptionControlOutput structure.""" - - account_vpc_encryption_control: AccountVpcEncryptionControl | None = ... - """ - Information about the account-level VPC Encryption Control - configuration. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyAddressAttributeInput(_SerdeShape): - """Dataclass for ModifyAddressAttributeInput structure.""" - - allocation_id: str | None = ... - """[EC2-VPC] The allocation ID.""" - domain_name: str | None = ... - """The domain name to modify for the IP address.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyAddressAttributeOutput(_SerdeShape): - """Dataclass for ModifyAddressAttributeOutput structure.""" - - address: AddressAttribute | None = ... - """Information about the Elastic IP address.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyApplicationStatusCheckInput(_SerdeShape): - """Dataclass for ModifyApplicationStatusCheckInput structure.""" - - application_status_check_id: str | None = ... - """The ID of the application status check to modify.""" - aggregation: str | None = ... - """ - The aggregation setting for the application status check. When set to - `included`, the result of this check contributes to the instance-level - application status reported by `DescribeApplicationStatus`. When set to - `excluded`, the check runs independently and does not affect the - instance-level status. Valid values: `included` | `excluded`. - """ - health_check_paths: list[HealthCheckPathRequestObject] | None = ... - """The health check paths to use for the application status check.""" - protocol: str | None = ... - """ - The protocol to use for the health check. Valid values: `http` | - `https`. - """ - port: int | None = ... - """The port to use for the health check. Valid values: 1 to 65535.""" - path: str | None = ... - """ - The URL path to use for the health check HTTP request (for example, - `/health` or `/status`). - """ - device_index: int | None = ... - """ - The index of the network device to use for the health check. The value - must be greater than or equal to 0. - """ - ip_version: str | None = ... - """ - The IP version to use for the health check. Valid values: `ipv4` and - `ipv6`. - """ - ip_scope: str | None = ... - """The IP scope to use for the health check. Valid value: `private`.""" - interval: int | None = ... - """The interval, in seconds, between health checks. Valid value: 60.""" - timeout: int | None = ... - """ - The amount of time, in seconds, to wait for a health check response - before considering it failed. Valid values: 1 to 30. The value must be - less than `Interval`. - """ - failure_threshold: int | None = ... - """ - The number of consecutive failed health checks before the application - status is considered impaired. The value must be greater than 0. - """ - success_threshold: int | None = ... - """ - The number of consecutive successful health checks before the - application status is considered healthy. The value must be greater than - 0. - """ - status_code_matcher: str | None = ... - """ - The HTTP status codes that indicate a successful health check response. - Specify a comma-separated list of individual status codes or ranges, for - example, `200,202,300-399`. For a range, the first value must be less - than the second value. Maximum length: 64 characters. - """ - initialization_grace_period_seconds: int | None = ... - """ - The number of seconds to wait before starting health checks after an - instance is launched. Valid values: 1 to 600. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure that the - operation completes no more than one time. If you retry a request with - the same token, the service ignores the request but does not return an - error. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyApplicationStatusCheckOutput(_SerdeShape): - """Dataclass for ModifyApplicationStatusCheckOutput structure.""" - - application_status_check: ApplicationStatusCheckResponseObject | None = ... - """Information about the modified application status check.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyAvailabilityZoneGroupInput(_SerdeShape): - """Dataclass for ModifyAvailabilityZoneGroupInput structure.""" - - group_name: str | None = ... - """ - The name of the Availability Zone group, Local Zone group, or Wavelength - Zone group. - """ - opt_in_status: str | None = ... - """ - Indicates whether to opt in to the zone group. The only valid value is - `opted-in`. You must contact Amazon Web Services Support to opt out of a - Local Zone or Wavelength Zone group. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyAvailabilityZoneGroupOutput(_SerdeShape): - """Dataclass for ModifyAvailabilityZoneGroupOutput structure.""" - - return_: bool | None = ... - """Is `true` if the request succeeds, and an error otherwise.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ModifyAvailabilityZoneOptInStatus(UnknownEnumMixin, StrEnum): - OPTED_IN = "opted-in" - NOT_OPTED_IN = "not-opted-in" - -@dataclass(kw_only=True) -class ModifyCapacityReservationFleetInput(_SerdeShape): - """Dataclass for ModifyCapacityReservationFleetInput structure.""" - - capacity_reservation_fleet_id: str | None = ... - """The ID of the Capacity Reservation Fleet to modify.""" - total_target_capacity: int | None = ... - """ - The total number of capacity units to be reserved by the Capacity - Reservation Fleet. This value, together with the instance type weights - that you assign to each instance type used by the Fleet determine the - number of instances for which the Fleet reserves capacity. Both values - are based on units that make sense for your workload. For more - information, see [Total target - capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) - in the *Amazon EC2 User Guide*. - """ - end_date: datetime | None = ... - """ - The date and time at which the Capacity Reservation Fleet expires. When - the Capacity Reservation Fleet expires, its state changes to `expired` - and all of the Capacity Reservations in the Fleet expire. - - The Capacity Reservation Fleet expires within an hour after the - specified time. For example, if you specify `5/31/2019`, `13:30:55`, the - Capacity Reservation Fleet is guaranteed to expire between `13:30:55` - and `14:30:55` on `5/31/2019`. - - You can't specify **EndDate** and **RemoveEndDate** in the same - request. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - remove_end_date: bool | None = ... - """ - Indicates whether to remove the end date from the Capacity Reservation - Fleet. If you remove the end date, the Capacity Reservation Fleet does - not expire and it remains active until you explicitly cancel it using - the **CancelCapacityReservationFleet** action. - - You can't specify **RemoveEndDate** and **EndDate** in the same - request. - """ - -@dataclass(kw_only=True) -class ModifyCapacityReservationFleetOutput(_SerdeShape): - """Dataclass for ModifyCapacityReservationFleetOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyCapacityReservationInput(_SerdeShape): - """Dataclass for ModifyCapacityReservationInput structure.""" - - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation.""" - instance_count: int | None = ... - """ - The number of instances for which to reserve capacity. The number of - instances can't be increased or decreased by more than `1000` in a - single request. - """ - end_date: datetime | None = ... - """ - The date and time at which the Capacity Reservation expires. When a - Capacity Reservation expires, the reserved capacity is released and you - can no longer launch instances into it. The Capacity Reservation's - state changes to `expired` when it reaches its end date and time. - - The Capacity Reservation is cancelled within an hour from the specified - time. For example, if you specify 5/31/2019, 13:30:55, the Capacity - Reservation is guaranteed to end between 13:30:55 and 14:30:55 on - 5/31/2019. - - You must provide an `EndDate` value if `EndDateType` is `limited`. Omit - `EndDate` if `EndDateType` is `unlimited`. - """ - end_date_type: str | None = ... - """ - Indicates the way in which the Capacity Reservation ends. A Capacity - Reservation can have one of the following end types: - - - `unlimited` - The Capacity Reservation remains active until you - explicitly cancel it. Do not provide an `EndDate` value if - `EndDateType` is `unlimited`. - - - `limited` - The Capacity Reservation expires automatically at a - specified date and time. You must provide an `EndDate` value if - `EndDateType` is `limited`. - """ - accept: bool | None = ... - """ - Reserved. Capacity Reservations you have created are accepted by - default. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - additional_info: str | None = ... - """Reserved for future use.""" - instance_match_criteria: str | None = ... - """ - The matching criteria (instance eligibility) that you want to use in the - modified Capacity Reservation. If you change the instance eligibility of - an existing Capacity Reservation from `targeted` to `open`, any running - instances that match the attributes of the Capacity Reservation, have - the `CapacityReservationPreference` set to `open`, and are not yet - running in the Capacity Reservation, will automatically use the modified - Capacity Reservation. - - To modify the instance eligibility, the Capacity Reservation must be - completely idle (zero usage). - """ - accept_modification_terms: bool | None = ... - """ - Indicates that you accept the modification terms of the quote identified - by `QuoteId`. To apply a quoted modification, set this parameter to - `true`. - """ - start_date: datetime | None = ... - """ - The new start date for the Capacity Reservation, in the ISO8601 format - in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). Applies to - future-dated Capacity Reservations only. Requires a quote from - `CreateCapacityReservationDateChangeQuote`; pass the quote ID in - `QuoteId` with `AcceptModificationTerms` set to `true`. - """ - quote_id: str | None = ... - """ - The ID of the quote that describes the modification you want to apply. - Generate a quote by using `CreateCapacityReservationDateChangeQuote`. - The quote must be in the `active` state, and each quote can be used only - once. - """ - -@dataclass(kw_only=True) -class ModifyCapacityReservationOutput(_SerdeShape): - """Dataclass for ModifyCapacityReservationOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - adjustment_status: str | None = ... - """ - The status of the requested modification. For a description of each - possible value, see the `adjustmentStatus` field of the - `CapacityReservation` data type. - """ - adjustment_details: CapacityReservationAdjustmentDetails | None = ... - """ - The configuration that the Capacity Reservation will have after the - adjustment is applied. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyClientVpnEndpointAuthorizationPolicyInput(_SerdeShape): - """Dataclass for ModifyClientVpnEndpointAuthorizationPolicyInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - policy_document: str | None = ... - """ - The authorization policy document, written in the Cedar policy language. - This parameter is required when you create the authorization policy for - a Client VPN endpoint that does not already have one. - """ - description: str | None = ... - """A brief description of the authorization policy.""" - shadow_mode: str | None = ... - """ - Specifies whether the authorization policy is evaluated in shadow mode. - Possible values include: - - - `enabled` - The authorization policy is evaluated and the results are - logged, but access is not enforced. - - - `disabled` - The authorization policy is enforced. - - The default value is `disabled`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyClientVpnEndpointAuthorizationPolicyOutput(_SerdeShape): - """ - Dataclass for ModifyClientVpnEndpointAuthorizationPolicyOutput - structure. - """ - - status: str | None = ... - """The current state of the authorization policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyClientVpnEndpointInput(_SerdeShape): - """Dataclass for ModifyClientVpnEndpointInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint to modify.""" - server_certificate_arn: str | None = ... - """ - The ARN of the server certificate to be used. The server certificate - must be provisioned in Certificate Manager (ACM). - """ - connection_log_options: ConnectionLogOptions | None = ... - """ - Information about the client connection logging options. - - If you enable client connection logging, data about client connections - is sent to a Cloudwatch Logs log stream. The following information is - logged: - - - Client connection requests - - - Client connection results (successful and unsuccessful) - - - Reasons for unsuccessful client connection requests - - - Client connection termination time - """ - dns_servers: DnsServersOptionsModifyStructure | None = ... - """ - Information about the DNS servers to be used by Client VPN connections. - A Client VPN endpoint can have up to two DNS servers. - """ - vpn_port: int | None = ... - """ - The port number to assign to the Client VPN endpoint for TCP and UDP - traffic. - - Valid Values: `443` | `1194` - - Default Value: `443` - """ - description: str | None = ... - """A brief description of the Client VPN endpoint.""" - split_tunnel: bool | None = ... - """ - Indicates whether the VPN is split-tunnel. - - For information about split-tunnel VPN endpoints, see [Split-tunnel - Client VPN - endpoint](https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) - in the *Client VPN Administrator Guide*. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - security_group_ids: list[str] | None = ... - """The IDs of one or more security groups to apply to the target network.""" - vpc_id: str | None = ... - """The ID of the VPC to associate with the Client VPN endpoint.""" - self_service_portal: str | None = ... - """ - Specify whether to enable the self-service portal for the Client VPN - endpoint. - """ - client_connect_options: ClientConnectOptions | None = ... - """ - The options for managing connection authorization for new client - connections. - """ - session_timeout_hours: int | None = ... - """ - The maximum VPN session duration time in hours. - - Valid values: `8 | 10 | 12 | 24` - - Default value: `24` - """ - client_login_banner_options: ClientLoginBannerOptions | None = ... - """ - Options for enabling a customizable text banner that will be displayed - on Amazon Web Services provided clients when a VPN session is - established. - """ - client_route_enforcement_options: ClientRouteEnforcementOptions | None = ... - """ - Client route enforcement is a feature of the Client VPN service that - helps enforce administrator defined routes on devices connected through - the VPN. T his feature helps improve your security posture by ensuring - that network traffic originating from a connected client is not - inadvertently sent outside the VPN tunnel. - - Client route enforcement works by monitoring the route table of a - connected device for routing policy changes to the VPN connection. If - the feature detects any VPN routing policy modifications, it will - automatically force an update to the route table, reverting it back to - the expected route configurations. - """ - disconnect_on_session_timeout: bool | None = ... - """ - Indicates whether the client VPN session is disconnected after the - maximum timeout specified in `sessionTimeoutHours` is reached. If - `true`, users are prompted to reconnect client VPN. If `false`, client - VPN attempts to reconnect automatically. The default value is `true`. - """ - transit_gateway_configuration: ( - TransitGatewayConfigurationInputStructure | None - ) = ... - """ - The Transit Gateway configuration for the Client VPN endpoint. This - option is currently not supported. - """ - device_posture_options: DevicePostureOptions | None = ... - """ - The device posture options for the Client VPN endpoint. Specifying this - parameter replaces the entire device posture configuration for the - endpoint. To disable device posture and remove all device trust - providers, specify `false` for `Enabled`. - """ - -@dataclass(kw_only=True) -class ModifyClientVpnEndpointOutput(_SerdeShape): - """Dataclass for ModifyClientVpnEndpointOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDefaultCreditSpecificationInput(_SerdeShape): - """Dataclass for ModifyDefaultCreditSpecificationInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - instance_family: str | None = ... - """The instance family.""" - cpu_credits: str | None = ... - """ - The credit option for CPU usage of the instance family. - - Valid Values: `standard` | `unlimited` - """ - -@dataclass(kw_only=True) -class ModifyDefaultCreditSpecificationOutput(_SerdeShape): - """Dataclass for ModifyDefaultCreditSpecificationOutput structure.""" - - instance_family_credit_specification: InstanceFamilyCreditSpecification | None = ... - """The default credit option for CPU usage of the instance family.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyEbsDefaultKmsKeyIdInput(_SerdeShape): - """Dataclass for ModifyEbsDefaultKmsKeyIdInput structure.""" - - kms_key_id: str | None = ... - """ - The identifier of the KMS key to use for Amazon EBS encryption. If this - parameter is not specified, your KMS key for Amazon EBS is used. If - `KmsKeyId` is specified, the encrypted state must be `true`. - - You can specify the KMS key using any of the following: - - - Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab. - - - Key alias. For example, alias/ExampleAlias. - - - Key ARN. For example, - arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab. - - - Alias ARN. For example, - arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. - - Amazon Web Services authenticates the KMS key asynchronously. Therefore, - if you specify an ID, alias, or ARN that is not valid, the action can - appear to complete, but eventually fails. - - Amazon EBS does not support asymmetric KMS keys. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyEbsDefaultKmsKeyIdOutput(_SerdeShape): - """Dataclass for ModifyEbsDefaultKmsKeyIdOutput structure.""" - - kms_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the default KMS key for encryption by - default. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyFleetInput(_SerdeShape): - """Dataclass for ModifyFleetInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - excess_capacity_termination_policy: str | None = ... - """ - Indicates whether running instances should be terminated if the total - target capacity of the EC2 Fleet is decreased below the current size of - the EC2 Fleet. - - Supported only for fleets of type `maintain`. - """ - launch_template_configs: list[FleetLaunchTemplateConfigRequest] | None = ... - """The launch template and overrides.""" - fleet_id: str | None = ... - """The ID of the EC2 Fleet.""" - target_capacity_specification: TargetCapacitySpecificationRequest | None = ... - """The size of the EC2 Fleet.""" - context: str | None = ... - """Reserved.""" - -@dataclass(kw_only=True) -class ModifyFleetOutput(_SerdeShape): - """Dataclass for ModifyFleetOutput structure.""" - - return_: bool | None = ... - """ - If the request succeeds, the response returns `true`. If the request - fails, no response is returned, and instead an error message is - returned. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyFpgaImageAttributeInput(_SerdeShape): - """Dataclass for ModifyFpgaImageAttributeInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - fpga_image_id: str | None = ... - """The ID of the AFI.""" - attribute: str | None = ... - """The name of the attribute.""" - operation_type: str | None = ... - """The operation type.""" - user_ids: list[str] | None = ... - """ - The Amazon Web Services account IDs. This parameter is valid only when - modifying the `loadPermission` attribute. - """ - user_groups: list[str] | None = ... - """ - The user groups. This parameter is valid only when modifying the - `loadPermission` attribute. - """ - product_codes: list[str] | None = ... - """ - The product codes. After you add a product code to an AFI, it can't be - removed. This parameter is valid only when modifying the `productCodes` - attribute. - """ - load_permission: LoadPermissionModifications | None = ... - """The load permission for the AFI.""" - description: str | None = ... - """A description for the AFI.""" - name: str | None = ... - """A name for the AFI.""" - -@dataclass(kw_only=True) -class ModifyFpgaImageAttributeOutput(_SerdeShape): - """Dataclass for ModifyFpgaImageAttributeOutput structure.""" - - fpga_image_attribute: FpgaImageAttribute | None = ... - """Information about the attribute.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyHostsInput(_SerdeShape): - """Dataclass for ModifyHostsInput structure.""" - - host_recovery: str | None = ... - """ - Indicates whether to enable or disable host recovery for the Dedicated - Host. For more information, see [Host - recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html) - in the *Amazon EC2 User Guide*. - """ - instance_type: str | None = ... - """ - Specifies the instance type to be supported by the Dedicated Host. - Specify this parameter to modify a Dedicated Host to support only a - specific instance type. - - If you want to modify a Dedicated Host to support multiple instance - types in its current instance family, omit this parameter and specify - **InstanceFamily** instead. You cannot specify **InstanceType** and - **InstanceFamily** in the same request. - """ - instance_family: str | None = ... - """ - Specifies the instance family to be supported by the Dedicated Host. - Specify this parameter to modify a Dedicated Host to support multiple - instance types within its current instance family. - - If you want to modify a Dedicated Host to support a specific instance - type only, omit this parameter and specify **InstanceType** instead. You - cannot specify **InstanceFamily** and **InstanceType** in the same - request. - """ - host_maintenance: str | None = ... - """ - Indicates whether to enable or disable host maintenance for the - Dedicated Host. For more information, see [Host - maintenance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html) - in the *Amazon EC2 User Guide*. - """ - host_ids: list[str] | None = ... - """The IDs of the Dedicated Hosts to modify.""" - auto_placement: str | None = ... - """Specify whether to enable or disable auto-placement.""" - -@dataclass(kw_only=True) -class ModifyHostsOutput(_SerdeShape): - """Dataclass for ModifyHostsOutput structure.""" - - successful: list[str] | None = ... - """The IDs of the Dedicated Hosts that were successfully modified.""" - unsuccessful: list[UnsuccessfulItem] | None = ... - """ - The IDs of the Dedicated Hosts that could not be modified. Check whether - the setting you requested can be used. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIdentityIdFormatInput(_SerdeShape): - """Dataclass for ModifyIdentityIdFormatInput structure.""" - - resource: str | None = ... - """ - The type of resource: `bundle` | `conversion-task` | - `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | - `elastic-ip-association` | `export-task` | `flow-log` | `image` | - `import-task` | `internet-gateway` | `network-acl` | - `network-acl-association` | `network-interface` | - `network-interface-attachment` | `prefix-list` | `route-table` | - `route-table-association` | `security-group` | `subnet` | - `subnet-cidr-block-association` | `vpc` | `vpc-cidr-block-association` - | `vpc-endpoint` | `vpc-peering-connection` | `vpn-connection` | - `vpn-gateway`. - - Alternatively, use the `all-current` option to include all resource - types that are currently within their opt-in period for longer IDs. - """ - use_long_ids: bool | None = ... - """Indicates whether the resource should use longer IDs (17-character IDs)""" - principal_arn: str | None = ... - """ - The ARN of the principal, which can be an IAM user, IAM role, or the - root user. Specify `all` to modify the ID format for all IAM users, IAM - roles, and the root user of the account. - """ - -@dataclass(kw_only=True) -class ModifyIdentityIdFormatOutput(_SerdeShape): - """Dataclass for ModifyIdentityIdFormatOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIdFormatInput(_SerdeShape): - """Dataclass for ModifyIdFormatInput structure.""" - - resource: str | None = ... - """ - The type of resource: `bundle` | `conversion-task` | - `customer-gateway` | `dhcp-options` | `elastic-ip-allocation` | - `elastic-ip-association` | `export-task` | `flow-log` | `image` | - `import-task` | `internet-gateway` | `network-acl` | - `network-acl-association` | `network-interface` | - `network-interface-attachment` | `prefix-list` | `route-table` | - `route-table-association` | `security-group` | `subnet` | - `subnet-cidr-block-association` | `vpc` | `vpc-cidr-block-association` - | `vpc-endpoint` | `vpc-peering-connection` | `vpn-connection` | - `vpn-gateway`. - - Alternatively, use the `all-current` option to include all resource - types that are currently within their opt-in period for longer IDs. - """ - use_long_ids: bool | None = ... - """Indicate whether the resource should use longer IDs (17-character IDs).""" - -@dataclass(kw_only=True) -class ModifyIdFormatOutput(_SerdeShape): - """Dataclass for ModifyIdFormatOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyImageAttributeInput(_SerdeShape): - """Contains the parameters for ModifyImageAttribute.""" - - attribute: str | None = ... - """ - The name of the attribute to modify. - - Valid values: `description` | `imdsSupport` | `launchPermission` - """ - description: AttributeValue | None = ... - """A new description for the AMI.""" - image_id: str | None = ... - """The ID of the AMI.""" - launch_permission: LaunchPermissionModifications | None = ... - """A new launch permission for the AMI.""" - operation_type: str | None = ... - """ - The operation type. This parameter can be used only when the `Attribute` - parameter is `launchPermission`. - """ - product_codes: list[str] | None = ... - """Not supported.""" - user_groups: list[str] | None = ... - """ - The user groups. This parameter can be used only when the `Attribute` - parameter is `launchPermission`. - """ - user_ids: list[str] | None = ... - """ - The Amazon Web Services account IDs. This parameter can be used only - when the `Attribute` parameter is `launchPermission`. - """ - value: str | None = ... - """ - The value of the attribute being modified. This parameter can be used - only when the `Attribute` parameter is `description` or `imdsSupport`. - """ - organization_arns: list[str] | None = ... - """ - The Amazon Resource Name (ARN) of an organization. This parameter can be - used only when the `Attribute` parameter is `launchPermission`. - """ - organizational_unit_arns: list[str] | None = ... - """ - The Amazon Resource Name (ARN) of an organizational unit (OU). This - parameter can be used only when the `Attribute` parameter is - `launchPermission`. - """ - imds_support: AttributeValue | None = ... - """ - Set to `v2.0` to indicate that IMDSv2 is specified in the AMI. Instances - launched from this AMI will have `HttpTokens` automatically set to - `required` so that, by default, the instance requires that IMDSv2 is - used when requesting instance metadata. In addition, - `HttpPutResponseHopLimit` is set to `2`. For more information, see - [Configure the - AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration) - in the *Amazon EC2 User Guide*. - - Warning: - Do not use this parameter unless your AMI software supports IMDSv2. - After you set the value to `v2.0`, you can't undo it. The only way to - "reset" your AMI is to create a new AMI from the underlying snapshot. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyImageAttributeOutput(_SerdeShape): - """Dataclass for ModifyImageAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceAttributeInput(_SerdeShape): - """Dataclass for ModifyInstanceAttributeInput structure.""" - - source_dest_check: AttributeBooleanValue | None = ... - """ - Enable or disable source/destination checks, which ensure that the - instance is either the source or the destination of any traffic that it - receives. If the value is `true`, source/destination checks are enabled; - otherwise, they are disabled. The default value is `true`. You must - disable source/destination checks if the instance runs services such as - network address translation, routing, or firewalls. - """ - enclave_options: EnclaveOptionsRequest | None = ... - """ - Enables or disables the instance for Amazon Web Services Nitro Enclaves. - For more information, see the [Amazon Web Services Nitro Enclaves User - Guide](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html). - """ - disable_api_stop: AttributeBooleanValue | None = ... - """ - Indicates whether an instance is enabled for stop protection. For more - information, see [Enable stop protection for your - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the instance.""" - attribute: str | None = ... - """ - The name of the attribute to modify. - - Note: - When changing the instance type: If the original instance type is - configured for configurable bandwidth, and the desired instance type - doesn't support configurable bandwidth, first set the existing - bandwidth configuration to `default` using the - ModifyInstanceNetworkPerformanceOptions operation. - Warning: - You can modify the following attributes only: `disableApiTermination` | - `instanceType` | `kernel` | `ramdisk` | - `instanceInitiatedShutdownBehavior` | `blockDeviceMapping` | - `userData` | `sourceDestCheck` | `groupSet` | `ebsOptimized` | - `sriovNetSupport` | `enaSupport` | `nvmeSupport` | `disableApiStop` - | `enclaveOptions` - """ - value: str | None = ... - """ - A new value for the attribute. Use only with the `kernel`, `ramdisk`, - `userData`, `disableApiTermination`, or - `instanceInitiatedShutdownBehavior` attribute. - """ - block_device_mappings: list[InstanceBlockDeviceMappingSpecification] | None = ... - """ - Modifies the `DeleteOnTermination` attribute for volumes that are - currently attached. The volume must be owned by the caller. If no value - is specified for `DeleteOnTermination`, the default is `true` and the - volume is deleted when the instance is terminated. You can't modify the - `DeleteOnTermination` attribute for volumes that are attached to Amazon - Web Services-managed resources. - - To add instance store volumes to an Amazon EBS-backed instance, you must - add them when you launch the instance. For more information, see [Update - the block device mapping when launching an - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM) - in the *Amazon EC2 User Guide*. - """ - disable_api_termination: AttributeBooleanValue | None = ... - """ - Enable or disable termination protection for the instance. If the value - is `true`, you can't terminate the instance using the Amazon EC2 - console, command line interface, or API. You can't enable termination - protection for Spot Instances. - """ - instance_type: AttributeValue | None = ... - """ - Changes the instance type to the specified value. For more information, - see [Instance - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) - in the *Amazon EC2 User Guide*. If the instance type is not valid, the - error returned is `InvalidInstanceAttributeValue`. - """ - kernel: AttributeValue | None = ... - """ - Changes the instance's kernel to the specified value. We recommend that - you use PV-GRUB instead of kernels and RAM disks. For more information, - see - [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html). - """ - ramdisk: AttributeValue | None = ... - """ - Changes the instance's RAM disk to the specified value. We recommend - that you use PV-GRUB instead of kernels and RAM disks. For more - information, see - [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html). - """ - user_data: SecureBlobAttributeValue | None = ... - """ - Changes the instance's user data to the specified value. User data must - be base64-encoded. Depending on the tool or SDK that you're using, the - base64-encoding might be performed for you. For more information, see - [Work with instance user - data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html). - """ - instance_initiated_shutdown_behavior: AttributeValue | None = ... - """ - Specifies whether an instance stops or terminates when you initiate - shutdown from the instance (using the operating system command for - system shutdown). - """ - groups: list[str] | None = ... - """ - Replaces the security groups of the instance with the specified security - groups. You must specify the ID of at least one security group, even if - it's just the default security group for the VPC. - """ - ebs_optimized: AttributeBooleanValue | None = ... - """ - Specifies whether the instance is optimized for Amazon EBS I/O. This - optimization provides dedicated throughput to Amazon EBS and an - optimized configuration stack to provide optimal EBS I/O performance. - This optimization isn't available with all instance types. Additional - usage charges apply when using an EBS Optimized instance. - """ - sriov_net_support: AttributeValue | None = ... - """ - Set to `simple` to enable enhanced networking with the Intel 82599 - Virtual Function interface for the instance. - - There is no way to disable enhanced networking with the Intel 82599 - Virtual Function interface at this time. - - This option is supported only for HVM instances. Specifying this option - with a PV instance can make it unreachable. - """ - ena_support: AttributeBooleanValue | None = ... - """ - Set to `true` to enable enhanced networking with ENA for the instance. - - This option is supported only for HVM instances. Specifying this option - with a PV instance can make it unreachable. - """ - -@dataclass(kw_only=True) -class ModifyInstanceAttributeOutput(_SerdeShape): - """Dataclass for ModifyInstanceAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceCapacityReservationAttributesInput(_SerdeShape): - """ - Dataclass for ModifyInstanceCapacityReservationAttributesInput - structure. - """ - - instance_id: str | None = ... - """The ID of the instance to be modified.""" - capacity_reservation_specification: CapacityReservationSpecification | None = ... - """Information about the Capacity Reservation targeting option.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyInstanceCapacityReservationAttributesOutput(_SerdeShape): - """ - Dataclass for ModifyInstanceCapacityReservationAttributesOutput - structure. - """ - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceConnectEndpointInput(_SerdeShape): - """Dataclass for ModifyInstanceConnectEndpointInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - instance_connect_endpoint_id: str | None = ... - """The ID of the EC2 Instance Connect Endpoint to modify.""" - ip_address_type: str | None = ... - """ - The new IP address type for the EC2 Instance Connect Endpoint. - - Note: - `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect - Endpoints. To use `PreserveClientIp`, the value for `IpAddressType` must - be `ipv4`. - """ - security_group_ids: list[str] | None = ... - """ - Changes the security groups for the EC2 Instance Connect Endpoint. The - new set of groups you specify replaces the current set. You must specify - at least one group, even if it's just the default security group in the - VPC. You must specify the ID of the security group, not the name. - """ - preserve_client_ip: bool | None = ... - """ - Indicates whether the client IP address is preserved as the source when - you connect to a resource. The following are the possible values. - - - `true` - Use the IP address of the client. Your instance must have an - IPv4 address. - - - `false` - Use the IP address of the network interface. - """ - -@dataclass(kw_only=True) -class ModifyInstanceConnectEndpointOutput(_SerdeShape): - """Dataclass for ModifyInstanceConnectEndpointOutput structure.""" - - return_: bool | None = ... - """Is `true` if the request succeeds and an error otherwise.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceCpuOptionsInput(_SerdeShape): - """Dataclass for ModifyInstanceCpuOptionsInput structure.""" - - instance_id: str | None = ... - """The ID of the instance to update.""" - core_count: int | None = ... - """The number of CPU cores to activate for the specified instance.""" - threads_per_core: int | None = ... - """The number of threads to run for each CPU core.""" - nested_virtualization: str | None = ... - """ - Indicates whether to enable or disable nested virtualization for the - instance. When nested virtualization is enabled, Virtual Secure Mode - (VSM) is automatically disabled for the instance. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyInstanceCpuOptionsOutput(_SerdeShape): - """Dataclass for ModifyInstanceCpuOptionsOutput structure.""" - - instance_id: str | None = ... - """The ID of the instance that was updated.""" - core_count: int | None = ... - """ - The number of CPU cores that are running for the specified instance - after the update. - """ - threads_per_core: int | None = ... - """ - The number of threads that are running per CPU core for the specified - instance after the update. - """ - nested_virtualization: str | None = ... - """Indicates whether nested virtualization has been enabled or disabled.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceCreditSpecificationInput(_SerdeShape): - """Dataclass for ModifyInstanceCreditSpecificationInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - instance_credit_specifications: ( - list[InstanceCreditSpecificationRequest] | None - ) = ... - """Information about the credit option for CPU usage.""" - -@dataclass(kw_only=True) -class ModifyInstanceCreditSpecificationOutput(_SerdeShape): - """Dataclass for ModifyInstanceCreditSpecificationOutput structure.""" - - successful_instance_credit_specifications: ( - list[SuccessfulInstanceCreditSpecificationItem] | None - ) = ... - """ - Information about the instances whose credit option for CPU usage was - successfully modified. - """ - unsuccessful_instance_credit_specifications: ( - list[UnsuccessfulInstanceCreditSpecificationItem] | None - ) = ... - """ - Information about the instances whose credit option for CPU usage was - not modified. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceEventStartTimeInput(_SerdeShape): - """Dataclass for ModifyInstanceEventStartTimeInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the instance with the scheduled event.""" - instance_event_id: str | None = ... - """The ID of the event whose date and time you are modifying.""" - not_before: datetime | None = ... - """The new date and time when the event will take place.""" - -@dataclass(kw_only=True) -class ModifyInstanceEventStartTimeOutput(_SerdeShape): - """Dataclass for ModifyInstanceEventStartTimeOutput structure.""" - - event: InstanceStatusEvent | None = ... - """Information about the event.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceEventWindowInput(_SerdeShape): - """Dataclass for ModifyInstanceEventWindowInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - name: str | None = ... - """The name of the event window.""" - instance_event_window_id: str | None = ... - """The ID of the event window.""" - time_ranges: list[InstanceEventWindowTimeRangeRequest] | None = ... - """The time ranges of the event window.""" - cron_expression: str | None = ... - """ - The cron expression of the event window, for example, - `* 0-4,20-23 * * 1,5`. - - Constraints: - - - Only hour and day of the week values are supported. - - - For day of the week values, you can specify either integers `0` - through `6`, or alternative single values `SUN` through `SAT`. - - - The minute, month, and year must be specified by `*`. - - - The hour value must be one or a multiple range, for example, `0-4` or - `0-4,20-23`. - - - Each hour range must be >= 2 hours, for example, `0-2` or `20-23`. - - - The event window must be >= 4 hours. The combined total time ranges - in the event window must be >= 4 hours. - - For more information about cron expressions, see - [cron](https://en.wikipedia.org/wiki/Cron) on the *Wikipedia website*. - """ - -@dataclass(kw_only=True) -class ModifyInstanceEventWindowOutput(_SerdeShape): - """Dataclass for ModifyInstanceEventWindowOutput structure.""" - - instance_event_window: InstanceEventWindow | None = ... - """Information about the event window.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceMaintenanceOptionsInput(_SerdeShape): - """Dataclass for ModifyInstanceMaintenanceOptionsInput structure.""" - - instance_id: str | None = ... - """The ID of the instance.""" - auto_recovery: str | None = ... - """ - Disables the automatic recovery behavior of your instance or sets it to - default. - """ - reboot_migration: str | None = ... - """ - Specifies whether to attempt reboot migration during a user-initiated - reboot of an instance that has a scheduled `system-reboot` event: - - - `default` - Amazon EC2 attempts to migrate the instance to new - hardware (reboot migration). If successful, the `system-reboot` event - is cleared. If unsuccessful, an in-place reboot occurs and the event - remains scheduled. - - - `disabled` - Amazon EC2 keeps the instance on the same hardware - (in-place reboot). The `system-reboot` event remains scheduled. - - This setting only applies to supported instances that have a scheduled - reboot event. For more information, see [Enable or disable reboot - migration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration) - in the *Amazon EC2 User Guide*. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyInstanceMaintenanceOptionsOutput(_SerdeShape): - """Dataclass for ModifyInstanceMaintenanceOptionsOutput structure.""" - - instance_id: str | None = ... - """The ID of the instance.""" - auto_recovery: str | None = ... - """ - Provides information on the current automatic recovery behavior of your - instance. - """ - reboot_migration: str | None = ... - """ - Specifies whether to attempt reboot migration during a user-initiated - reboot of an instance that has a scheduled `system-reboot` event: - - - `default` - Amazon EC2 attempts to migrate the instance to new - hardware (reboot migration). If successful, the `system-reboot` event - is cleared. If unsuccessful, an in-place reboot occurs and the event - remains scheduled. - - - `disabled` - Amazon EC2 keeps the instance on the same hardware - (in-place reboot). The `system-reboot` event remains scheduled. - - This setting only applies to supported instances that have a scheduled - reboot event. For more information, see [Enable or disable reboot - migration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration) - in the *Amazon EC2 User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceMetadataDefaultsInput(_SerdeShape): - """Dataclass for ModifyInstanceMetadataDefaultsInput structure.""" - - http_tokens: str | None = ... - """ - Indicates whether IMDSv2 is required. - - - `optional` -- IMDSv2 is optional, which means that you can use either - IMDSv2 or IMDSv1. - - - `required` -- IMDSv2 is required, which means that IMDSv1 is disabled, - and you must use IMDSv2. - """ - http_put_response_hop_limit: int | None = ... - """ - The maximum number of hops that the metadata token can travel. To - indicate no preference, specify `-1`. - - Possible values: Integers from `1` to `64`, and `-1` to indicate no - preference - """ - http_endpoint: str | None = ... - """ - Enables or disables the IMDS endpoint on an instance. When disabled, the - instance metadata can't be accessed. - """ - instance_metadata_tags: str | None = ... - """ - Enables or disables access to an instance's tags from the instance - metadata. For more information, see [View tags for your EC2 instances - using instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html) - in the *Amazon EC2 User Guide*. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - http_tokens_enforced: str | None = ... - """ - Specifies whether to enforce the requirement of IMDSv2 on an instance at - the time of launch. When enforcement is enabled, the instance can't - launch unless IMDSv2 (`HttpTokens`) is set to `required`. For more - information, see [Enforce IMDSv2 at the account - level](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#enforce-imdsv2-at-the-account-level) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class ModifyInstanceMetadataDefaultsOutput(_SerdeShape): - """Dataclass for ModifyInstanceMetadataDefaultsOutput structure.""" - - return_: bool | None = ... - """ - If the request succeeds, the response returns `true`. If the request - fails, no response is returned, and instead an error message is - returned. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceMetadataOptionsInput(_SerdeShape): - """Dataclass for ModifyInstanceMetadataOptionsInput structure.""" - - instance_id: str | None = ... - """The ID of the instance.""" - http_tokens: str | None = ... - """ - Indicates whether IMDSv2 is required. - - - `optional` - IMDSv2 is optional. You can choose whether to send a - session token in your instance metadata retrieval requests. If you - retrieve IAM role credentials without a session token, you receive the - IMDSv1 role credentials. If you retrieve IAM role credentials using a - valid session token, you receive the IMDSv2 role credentials. - - - `required` - IMDSv2 is required. You must send a session token in your - instance metadata retrieval requests. With this option, retrieving the - IAM role credentials always returns IMDSv2 credentials; IMDSv1 - credentials are not available. - - Default: - - - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for - your instance is `v2.0` and the account level default is set to - `no-preference`, the default is `required`. - - - If the value of `ImdsSupport` for the Amazon Machine Image (AMI) for - your instance is `v2.0`, but the account level default is set to - `V1 or V2`, the default is `optional`. - - The default value can also be affected by other combinations of - parameters. For more information, see [Order of precedence for instance - metadata - options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence) - in the *Amazon EC2 User Guide*. - """ - http_put_response_hop_limit: int | None = ... - """ - The desired HTTP PUT response hop limit for instance metadata requests. - The larger the number, the further instance metadata requests can - travel. If no parameter is specified, the existing state is maintained. - - Possible values: Integers from 1 to 64 - """ - http_endpoint: str | None = ... - """ - Enables or disables the HTTP metadata endpoint on your instances. If - this parameter is not specified, the existing state is maintained. - - If you specify a value of `disabled`, you cannot access your instance - metadata. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - http_protocol_ipv6: str | None = ... - """ - Enables or disables the IPv6 endpoint for the instance metadata service. - Applies only if you enabled the HTTP metadata endpoint. - """ - instance_metadata_tags: str | None = ... - """ - Set to `enabled` to allow access to instance tags from the instance - metadata. Set to `disabled` to turn off access to instance tags from the - instance metadata. For more information, see [View tags for your EC2 - instances using instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html). - """ - -@dataclass(kw_only=True) -class ModifyInstanceMetadataOptionsOutput(_SerdeShape): - """Dataclass for ModifyInstanceMetadataOptionsOutput structure.""" - - instance_id: str | None = ... - """The ID of the instance.""" - instance_metadata_options: InstanceMetadataOptionsResponse | None = ... - """The metadata options for the instance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstanceNetworkPerformanceOptionsInput(_SerdeShape): - """Dataclass for ModifyInstanceNetworkPerformanceOptionsInput structure.""" - - instance_id: str | None = ... - """The ID of the instance to update.""" - bandwidth_weighting: str | None = ... - """ - Specify the bandwidth weighting option to boost the associated type of - baseline bandwidth, as follows: - - default - - : This option uses the standard bandwidth configuration for your - instance type. - - vpc-1 - - : This option boosts your networking baseline bandwidth and reduces your - EBS baseline bandwidth. - - ebs-1 - - : This option boosts your EBS baseline bandwidth and reduces your - networking baseline bandwidth. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyInstanceNetworkPerformanceOptionsOutput(_SerdeShape): - """Dataclass for ModifyInstanceNetworkPerformanceOptionsOutput structure.""" - - instance_id: str | None = ... - """The instance ID that was updated.""" - bandwidth_weighting: str | None = ... - """ - Contains the updated configuration for bandwidth weighting on the - specified instance. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyInstancePlacementInput(_SerdeShape): - """Dataclass for ModifyInstancePlacementInput structure.""" - - group_name: str | None = ... - """ - The name of the placement group in which to place the instance. For - spread placement groups, the instance must have a tenancy of `default`. - For cluster and partition placement groups, the instance must have a - tenancy of `default` or `dedicated`. - - To remove an instance from a placement group, specify an empty string - (\"\"). - """ - partition_number: int | None = ... - """ - The number of the partition in which to place the instance. Valid only - if the placement group strategy is set to `partition`. - """ - host_resource_group_arn: str | None = ... - """ - The ARN of the host resource group in which to place the instance. The - instance must have a tenancy of `host` to specify this parameter. - """ - group_id: str | None = ... - """ - The Group Id of a placement group. You must specify the Placement Group - **Group Id** to launch an instance in a shared placement group. - """ - instance_id: str | None = ... - """The ID of the instance that you are modifying.""" - tenancy: str | None = ... - """ - The tenancy for the instance. - - Note: - For T3 instances, you must launch the instance on a Dedicated Host to - use a tenancy of `host`. You can't change the tenancy from `host` to - `dedicated` or `default`. Attempting to make one of these unsupported - tenancy changes results in an `InvalidRequest` error code. - """ - affinity: str | None = ... - """ - The affinity setting for the instance. For more information, see [Host - affinity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-affinity) - in the *Amazon EC2 User Guide*. - """ - host_id: str | None = ... - """The ID of the Dedicated Host with which to associate the instance.""" - -@dataclass(kw_only=True) -class ModifyInstancePlacementOutput(_SerdeShape): - """Dataclass for ModifyInstancePlacementOutput structure.""" - - return_: bool | None = ... - """Is `true` if the request succeeds, and an error otherwise.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamInput(_SerdeShape): - """Dataclass for ModifyIpamInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """The ID of the IPAM you want to modify.""" - description: str | None = ... - """The description of the IPAM you want to modify.""" - add_operating_regions: list[AddIpamOperatingRegion] | None = ... - """ - Choose the operating Regions for the IPAM. Operating Regions are Amazon - Web Services Regions where the IPAM is allowed to manage IP address - CIDRs. IPAM only discovers and monitors resources in the Amazon Web - Services Regions you select as operating Regions. - - For more information about operating Regions, see [Create an - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - remove_operating_regions: list[RemoveIpamOperatingRegion] | None = ... - """The operating Regions to remove.""" - tier: str | None = ... - """ - IPAM is offered in a Free Tier and an Advanced Tier. For more - information about the features available in each tier and the costs - associated with the tiers, see [Amazon VPC pricing > IPAM - tab](http://aws.amazon.com/vpc/pricing/). - """ - enable_private_gua: bool | None = ... - """ - Enable this option to use your own GUA ranges as private IPv6 addresses. - This option is disabled by default. - """ - metered_account: str | None = ... - """ - A metered account is an Amazon Web Services account that is charged for - active IP addresses managed in IPAM. For more information, see [Enable - cost - distribution](https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html) - in the *Amazon VPC IPAM User Guide*. - - Possible values: - - - `ipam-owner` (default): The Amazon Web Services account which owns the - IPAM is charged for all active IP addresses managed in IPAM. - - - `resource-owner`: The Amazon Web Services account that owns the IP - address is charged for the active IP address. - """ - -@dataclass(kw_only=True) -class ModifyIpamOutput(_SerdeShape): - """Dataclass for ModifyIpamOutput structure.""" - - ipam: Ipam | None = ... - """The results of the modification.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamPolicyAllocationRulesInput(_SerdeShape): - """Dataclass for ModifyIpamPolicyAllocationRulesInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_policy_id: str | None = ... - """The ID of the IPAM policy whose allocation rules you want to modify.""" - locale: str | None = ... - """The locale for which to modify the allocation rules.""" - resource_type: str | None = ... - """ - The resource type for which to modify the allocation rules. - - The Amazon Web Services service or resource type that can use IP - addresses through IPAM policies. Supported services and resource types - include: - - - Elastic IP addresses - """ - allocation_rules: list[IpamPolicyAllocationRuleRequest] | None = ... - """ - The new allocation rules to apply to the IPAM policy. - - Allocation rules are optional configurations within an IPAM policy that - map Amazon Web Services resource types to specific IPAM pools. If no - rules are defined, the resource types default to using Amazon-provided - IP addresses. - """ - -@dataclass(kw_only=True) -class ModifyIpamPolicyAllocationRulesOutput(_SerdeShape): - """Dataclass for ModifyIpamPolicyAllocationRulesOutput structure.""" - - ipam_policy_document: IpamPolicyDocument | None = ... - """The modified IPAM policy containing the updated allocation rules.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamPoolAllocationInput(_SerdeShape): - """Dataclass for ModifyIpamPoolAllocationInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_allocation_id: str | None = ... - """The ID of the IPAM pool allocation you want to modify.""" - description: str | None = ... - """ - The new description for the IPAM pool allocation. If you submit a `null` - value, the description is removed from the allocation. - """ - -@dataclass(kw_only=True) -class ModifyIpamPoolAllocationOutput(_SerdeShape): - """Dataclass for ModifyIpamPoolAllocationOutput structure.""" - - ipam_pool_allocation: IpamPoolAllocation | None = ... - """The modified IPAM pool allocation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamPoolInput(_SerdeShape): - """Dataclass for ModifyIpamPoolInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_id: str | None = ... - """The ID of the IPAM pool you want to modify.""" - description: str | None = ... - """The description of the IPAM pool you want to modify.""" - auto_import: bool | None = ... - """ - If true, IPAM will continuously look for resources within the CIDR range - of this pool and automatically import them as allocations into your - IPAM. The CIDRs that will be allocated for these resources must not - already be allocated to other resources in order for the import to - succeed. IPAM will import a CIDR regardless of its compliance with the - pool's allocation rules, so a resource might be imported and - subsequently marked as noncompliant. If IPAM discovers multiple CIDRs - that overlap, IPAM will import the largest CIDR only. If IPAM discovers - multiple CIDRs with matching CIDRs, IPAM will randomly import one of - them only. - - A locale must be set on the pool for this feature to work. - """ - allocation_min_netmask_length: int | None = ... - """ - The minimum netmask length required for CIDR allocations in this IPAM - pool to be compliant. Possible netmask lengths for IPv4 addresses are - 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. The - minimum netmask length must be less than the maximum netmask length. - """ - allocation_max_netmask_length: int | None = ... - """ - The maximum netmask length possible for CIDR allocations in this IPAM - pool to be compliant. Possible netmask lengths for IPv4 addresses are - 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.The - maximum netmask length must be greater than the minimum netmask length. - """ - allocation_default_netmask_length: int | None = ... - """ - The default netmask length for allocations added to this pool. If, for - example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 - here, new allocations will default to 10.0.0.0/16. - """ - clear_allocation_default_netmask_length: bool | None = ... - """Clear the default netmask length allocation rule for this pool.""" - add_allocation_resource_tags: list[RequestIpamResourceTag] | None = ... - """ - Add tag allocation rules to a pool. For more information about - allocation rules, see [Create a top-level - pool](https://docs.aws.amazon.com/vpc/latest/ipam/create-top-ipam.html) - in the *Amazon VPC IPAM User Guide*. - """ - remove_allocation_resource_tags: list[RequestIpamResourceTag] | None = ... - """Remove tag allocation rules from a pool.""" - -@dataclass(kw_only=True) -class ModifyIpamPoolOutput(_SerdeShape): - """Dataclass for ModifyIpamPoolOutput structure.""" - - ipam_pool: IpamPool | None = ... - """The results of the modification.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamPrefixListResolverInput(_SerdeShape): - """Dataclass for ModifyIpamPrefixListResolverInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_prefix_list_resolver_id: str | None = ... - """The ID of the IPAM prefix list resolver to modify.""" - description: str | None = ... - """A new description for the IPAM prefix list resolver.""" - rules: list[IpamPrefixListResolverRuleRequest] | None = ... - """ - The updated CIDR selection rules for the resolver. These rules replace - the existing rules entirely. - """ - -@dataclass(kw_only=True) -class ModifyIpamPrefixListResolverOutput(_SerdeShape): - """Dataclass for ModifyIpamPrefixListResolverOutput structure.""" - - ipam_prefix_list_resolver: IpamPrefixListResolver | None = ... - """Information about the modified IPAM prefix list resolver.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamPrefixListResolverTargetInput(_SerdeShape): - """Dataclass for ModifyIpamPrefixListResolverTargetInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_prefix_list_resolver_target_id: str | None = ... - """The ID of the IPAM prefix list resolver target to modify.""" - desired_version: int | None = ... - """ - The desired version of the prefix list to target. This allows you to pin - the target to a specific version. - """ - track_latest_version: bool | None = ... - """ - Indicates whether the resolver target should automatically track the - latest version of the prefix list. When enabled, the target will always - synchronize with the most current version. - - Choose this for automatic updates when you want your prefix lists to - stay current with infrastructure changes without manual intervention. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class ModifyIpamPrefixListResolverTargetOutput(_SerdeShape): - """Dataclass for ModifyIpamPrefixListResolverTargetOutput structure.""" - - ipam_prefix_list_resolver_target: IpamPrefixListResolverTarget | None = ... - """Information about the modified IPAM prefix list resolver target.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamResourceCidrInput(_SerdeShape): - """Dataclass for ModifyIpamResourceCidrInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - resource_id: str | None = ... - """The ID of the resource you want to modify.""" - resource_cidr: str | None = ... - """The CIDR of the resource you want to modify.""" - resource_region: str | None = ... - """The Amazon Web Services Region of the resource you want to modify.""" - current_ipam_scope_id: str | None = ... - """The ID of the current scope that the resource CIDR is in.""" - destination_ipam_scope_id: str | None = ... - """The ID of the scope you want to transfer the resource CIDR to.""" - monitored: bool | None = ... - """ - Determines if the resource is monitored by IPAM. If a resource is - monitored, the resource is discovered by IPAM and you can view details - about the resource's CIDR. - """ - -@dataclass(kw_only=True) -class ModifyIpamResourceCidrOutput(_SerdeShape): - """Dataclass for ModifyIpamResourceCidrOutput structure.""" - - ipam_resource_cidr: IpamResourceCidr | None = ... - """The CIDR of the resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamResourceDiscoveryInput(_SerdeShape): - """Dataclass for ModifyIpamResourceDiscoveryInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_resource_discovery_id: str | None = ... - """A resource discovery ID.""" - description: str | None = ... - """A resource discovery description.""" - add_operating_regions: list[AddIpamOperatingRegion] | None = ... - """ - Add operating Regions to the resource discovery. Operating Regions are - Amazon Web Services Regions where the IPAM is allowed to manage IP - address CIDRs. IPAM only discovers and monitors resources in the Amazon - Web Services Regions you select as operating Regions. - """ - remove_operating_regions: list[RemoveIpamOperatingRegion] | None = ... - """Remove operating Regions.""" - add_organizational_unit_exclusions: ( - list[AddIpamOrganizationalUnitExclusion] | None - ) = ... - """ - Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is - integrated with Amazon Web Services Organizations and you add an - organizational unit (OU) exclusion, IPAM will not manage the IP - addresses in accounts in that OU exclusion. There is a limit on the - number of exclusions you can create. For more information, see [Quotas - for your - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in - the *Amazon VPC IPAM User Guide*. - - Note: - The resulting set of exclusions must not result in \"overlap\", meaning - two or more OU exclusions must not exclude the same OU. For more - information and examples, see the Amazon Web Services CLI request - process in [Add or remove OU - exclusions](https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete) - in the *Amazon VPC User Guide*. - """ - remove_organizational_unit_exclusions: ( - list[RemoveIpamOrganizationalUnitExclusion] | None - ) = ... - """ - Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM - is integrated with Amazon Web Services Organizations and you add an - organizational unit (OU) exclusion, IPAM will not manage the IP - addresses in accounts in that OU exclusion. There is a limit on the - number of exclusions you can create. For more information, see [Quotas - for your - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in - the *Amazon VPC IPAM User Guide*. - - Note: - The resulting set of exclusions must not result in \"overlap\", meaning - two or more OU exclusions must not exclude the same OU. For more - information and examples, see the Amazon Web Services CLI request - process in [Add or remove OU - exclusions](https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete) - in the *Amazon VPC User Guide*. - """ - -@dataclass(kw_only=True) -class ModifyIpamResourceDiscoveryOutput(_SerdeShape): - """Dataclass for ModifyIpamResourceDiscoveryOutput structure.""" - - ipam_resource_discovery: IpamResourceDiscovery | None = ... - """A resource discovery.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamRoutingPolicyRegistrationInput(_SerdeShape): - """Dataclass for ModifyIpamRoutingPolicyRegistrationInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_internet_registry_association_id: str | None = ... - """The ID of the IPAM internet registry association.""" - cidr: str | None = ... - """ - The IP address prefix in CIDR notation identifying the routing policy - registration to modify. - """ - asns: list[str] | None = ... - """ - The updated list of Autonomous System Numbers (ASNs) authorized to - originate the prefix. - """ - permit_more_specific_announcements: bool | None = ... - """ - Specifies whether to permit more specific route announcements than the - CIDR prefix. Default: `false`. - """ - max_length: int | None = ... - """ - The new maximum prefix length that the ASNs are authorized to announce. - Must be greater than or equal to the prefix length of the CIDR. - """ - description: str | None = ... - """A new description for the routing policy registration.""" - force: bool | None = ... - """ - Forces the modification even if it conflicts with an announced route. - Default: `false`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. If this token matches a previous - request, the operation ignores the request, but does not return an - error. - """ - -@dataclass(kw_only=True) -class ModifyIpamRoutingPolicyRegistrationOutput(_SerdeShape): - """Dataclass for ModifyIpamRoutingPolicyRegistrationOutput structure.""" - - ipam_routing_policy_registration_delta: ( - IpamRoutingPolicyRegistrationDelta | None - ) = ... - """ - Information about the routing policy registration delta created by this - modification. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIpamScopeInput(_SerdeShape): - """Dataclass for ModifyIpamScopeInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_scope_id: str | None = ... - """The ID of the scope you want to modify.""" - description: str | None = ... - """The description of the scope you want to modify.""" - external_authority_configuration: ExternalAuthorityConfiguration | None = ... - """ - The configuration that links an Amazon VPC IPAM scope to an external - authority system. It specifies the type of external system and the - external resource identifier that identifies your account or instance in - that system. - - In IPAM, an external authority is a third-party IP address management - system that provides CIDR blocks when you provision address space for - top-level IPAM pools. This allows you to use your existing IP management - system to control which address ranges are allocated to Amazon Web - Services while using Amazon VPC IPAM to manage subnets within those - ranges. - """ - remove_external_authority_configuration: bool | None = ... - """Remove the external authority configuration. `true` to remove.""" - -@dataclass(kw_only=True) -class ModifyIpamScopeOutput(_SerdeShape): - """Dataclass for ModifyIpamScopeOutput structure.""" - - ipam_scope: IpamScope | None = ... - """The results of the modification.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyLaunchTemplateInput(_SerdeShape): - """Dataclass for ModifyLaunchTemplateInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier you provide to ensure the idempotency - of the request. If a client token isn't specified, a randomly generated - token is used in the request to ensure idempotency. - - For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - - Constraint: Maximum 128 ASCII characters. - """ - launch_template_id: str | None = ... - """ - The ID of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - launch_template_name: str | None = ... - """ - The name of the launch template. - - You must specify either the launch template ID or the launch template - name, but not both. - """ - default_version: str | None = ... - """The version number of the launch template to set as the default version.""" - -@dataclass(kw_only=True) -class ModifyLaunchTemplateOutput(_SerdeShape): - """Dataclass for ModifyLaunchTemplateOutput structure.""" - - launch_template: LaunchTemplate | None = ... - """Information about the launch template.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyLocalGatewayRouteInput(_SerdeShape): - """Dataclass for ModifyLocalGatewayRouteInput structure.""" - - destination_cidr_block: str | None = ... - """ - The CIDR block used for destination matches. The value that you provide - must match the CIDR of an existing route in the table. - """ - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - local_gateway_virtual_interface_group_id: str | None = ... - """The ID of the virtual interface group.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - destination_prefix_list_id: str | None = ... - """ - The ID of the prefix list. Use a prefix list in place of - `DestinationCidrBlock`. You cannot use `DestinationPrefixListId` and - `DestinationCidrBlock` in the same request. - """ - -@dataclass(kw_only=True) -class ModifyLocalGatewayRouteOutput(_SerdeShape): - """Dataclass for ModifyLocalGatewayRouteOutput structure.""" - - route: LocalGatewayRoute | None = ... - """Information about the local gateway route table.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyManagedPrefixListInput(_SerdeShape): - """Dataclass for ModifyManagedPrefixListInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - current_version: int | None = ... - """The current version of the prefix list.""" - prefix_list_name: str | None = ... - """A name for the prefix list.""" - add_entries: list[AddPrefixListEntry] | None = ... - """One or more entries to add to the prefix list.""" - remove_entries: list[RemovePrefixListEntry] | None = ... - """One or more entries to remove from the prefix list.""" - max_entries: int | None = ... - """ - The maximum number of entries for the prefix list. You cannot modify the - entries of a prefix list and modify the size of a prefix list at the - same time. - - If any of the resources that reference the prefix list cannot support - the new maximum size, the modify operation fails. Check the state - message for the IDs of the first ten resources that do not support the - new maximum size. - """ - ipam_prefix_list_resolver_sync_enabled: bool | None = ... - """ - Indicates whether synchronization with an IPAM prefix list resolver - should be enabled for this managed prefix list. When enabled, the prefix - list CIDRs are automatically updated based on the associated resolver's - CIDR selection rules. - """ - -@dataclass(kw_only=True) -class ModifyManagedPrefixListOutput(_SerdeShape): - """Dataclass for ModifyManagedPrefixListOutput structure.""" - - prefix_list: ManagedPrefixList | None = ... - """Information about the prefix list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyManagedResourceVisibilityInput(_SerdeShape): - """Dataclass for ModifyManagedResourceVisibilityInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - default_visibility: str | None = ... - """ - The default visibility setting for managed resources. Valid values: - `hidden` | `visible`. - """ - -@dataclass(kw_only=True) -class ModifyManagedResourceVisibilityOutput(_SerdeShape): - """Dataclass for ModifyManagedResourceVisibilityOutput structure.""" - - visibility: ManagedResourceVisibilitySettings | None = ... - """The updated managed resource visibility settings for the account.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyNetworkInterfaceAttributeInput(_SerdeShape): - """Contains the parameters for ModifyNetworkInterfaceAttribute.""" - - ena_srd_specification: EnaSrdSpecification | None = ... - """ - Updates the ENA Express configuration for the network interface that's - attached to the instance. - """ - enable_primary_ipv6: bool | None = ... - """ - If you're modifying a network interface in a dual-stack or IPv6-only - subnet, you have the option to assign a primary IPv6 IP address. A - primary IPv6 address is an IPv6 GUA address associated with an ENI that - you have enabled to use a primary IPv6 address. Use this option if the - instance that this ENI will be attached to relies on its IPv6 address - not changing. Amazon Web Services will automatically assign an IPv6 - address associated with the ENI attached to your instance to be the - primary IPv6 address. Once you enable an IPv6 GUA address to be a - primary IPv6, you cannot disable it. When you enable an IPv6 GUA address - to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 - address until the instance is terminated or the network interface is - detached. If you have multiple IPv6 addresses associated with an ENI - attached to your instance and you enable a primary IPv6 address, the - first IPv6 GUA address associated with the ENI becomes the primary IPv6 - address. - """ - connection_tracking_specification: ( - ConnectionTrackingSpecificationRequest | None - ) = ... - """A connection tracking specification.""" - associate_public_ip_address: bool | None = ... - """ - Indicates whether to assign a public IPv4 address to a network - interface. This option can be enabled for any network interface but will - only apply to the primary network interface (eth0). - """ - associated_subnet_ids: list[str] | None = ... - """A list of subnet IDs to associate with the network interface.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_interface_id: str | None = ... - """The ID of the network interface.""" - description: AttributeValue | None = ... - """A description for the network interface.""" - source_dest_check: AttributeBooleanValue | None = ... - """ - Enable or disable source/destination checks, which ensure that the - instance is either the source or the destination of any traffic that it - receives. If the value is `true`, source/destination checks are enabled; - otherwise, they are disabled. The default value is `true`. You must - disable source/destination checks if the instance runs services such as - network address translation, routing, or firewalls. - """ - groups: list[str] | None = ... - """ - Changes the security groups for the network interface. The new set of - groups you specify replaces the current set. You must specify at least - one group, even if it's just the default security group in the VPC. You - must specify the ID of the security group, not the name. - """ - attachment: NetworkInterfaceAttachmentChanges | None = ... - """ - Information about the interface attachment. If modifying the - `delete on termination` attribute, you must specify the ID of the - interface attachment. - """ - -@dataclass(kw_only=True) -class ModifyNetworkInterfaceAttributeOutput(_SerdeShape): - """Dataclass for ModifyNetworkInterfaceAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyPrivateDnsNameOptionsInput(_SerdeShape): - """Dataclass for ModifyPrivateDnsNameOptionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the instance.""" - private_dns_hostname_type: str | None = ... - """ - The type of hostname for EC2 instances. For IPv4 only subnets, an - instance DNS name must be based on the instance IPv4 address. For IPv6 - only subnets, an instance DNS name must be based on the instance ID. For - dual-stack subnets, you can specify whether DNS names use the instance - IPv4 address or the instance ID. - """ - enable_resource_name_dns_a_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS A records. - """ - enable_resource_name_dns_aaaa_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS AAAA records. - """ - -@dataclass(kw_only=True) -class ModifyPrivateDnsNameOptionsOutput(_SerdeShape): - """Dataclass for ModifyPrivateDnsNameOptionsOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyPublicIpDnsNameOptionsInput(_SerdeShape): - """Dataclass for ModifyPublicIpDnsNameOptionsInput structure.""" - - network_interface_id: str | None = ... - """A network interface ID.""" - hostname_type: str | None = ... - """ - The public hostname type. For more information, see [EC2 instance - hostnames, DNS names, and - domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) - in the *Amazon EC2 User Guide*. - - - `public-dual-stack-dns-name`: A dual-stack public hostname for a - network interface. Requests from within the VPC resolve to both the - private IPv4 address and the IPv6 Global Unicast Address of the - network interface. Requests from the internet resolve to both the - public IPv4 and the IPv6 GUA address of the network interface. - - - `public-ipv4-dns-name`: An IPv4-enabled public hostname for a network - interface. Requests from within the VPC resolve to the private primary - IPv4 address of the network interface. Requests from the internet - resolve to the public IPv4 address of the network interface. - - - `public-ipv6-dns-name`: An IPv6-enabled public hostname for a network - interface. Requests from within the VPC or from the internet resolve - to the IPv6 GUA of the network interface. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyPublicIpDnsNameOptionsOutput(_SerdeShape): - """Dataclass for ModifyPublicIpDnsNameOptionsOutput structure.""" - - successful: bool | None = ... - """Whether or not the request was successful.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyReservedInstancesInput(_SerdeShape): - """Contains the parameters for ModifyReservedInstances.""" - - reserved_instances_ids: list[str] | None = ... - """The IDs of the Reserved Instances to modify.""" - client_token: str | None = ... - """ - A unique, case-sensitive token you provide to ensure idempotency of your - modification request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - target_configurations: list[ReservedInstancesConfiguration] | None = ... - """The configuration settings for the Reserved Instances to modify.""" - -@dataclass(kw_only=True) -class ModifyReservedInstancesOutput(_SerdeShape): - """Contains the output of ModifyReservedInstances.""" - - reserved_instances_modification_id: str | None = ... - """The ID for the modification.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyRouteServerInput(_SerdeShape): - """Dataclass for ModifyRouteServerInput structure.""" - - route_server_id: str | None = ... - """The ID of the route server to modify.""" - persist_routes: str | None = ... - """ - Specifies whether to persist routes after all BGP sessions are - terminated. - - - enable: Routes will be persisted in FIB and RIB after all BGP sessions - are terminated. - - - disable: Routes will not be persisted in FIB and RIB after all BGP - sessions are terminated. - - - reset: If a route server has persisted routes due to all BGP sessions - having ended, reset will withdraw all routes and reset route server to - an empty FIB and RIB. - """ - persist_routes_duration: int | None = ... - """ - The number of minutes a route server will wait after BGP is - re-established to unpersist the routes in the FIB and RIB. Value must be - in the range of 1-5. Required if PersistRoutes is `enabled`. - - If you set the duration to 1 minute, then when your network appliance - re-establishes BGP with route server, it has 1 minute to relearn it's - adjacent network and advertise those routes to route server before route - server resumes normal functionality. In most cases, 1 minute is probably - sufficient. If, however, you have concerns that your BGP network may not - be capable of fully re-establishing and re-learning everything in 1 - minute, you can increase the duration up to 5 minutes. - """ - sns_notifications_enabled: bool | None = ... - """ - Specifies whether to enable SNS notifications for route server events. - Enabling SNS notifications persists BGP status changes to an SNS topic - provisioned by Amazon Web Services. - """ - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyRouteServerOutput(_SerdeShape): - """Dataclass for ModifyRouteServerOutput structure.""" - - route_server: RouteServer | None = ... - """Information about the modified route server.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifySecurityGroupRulesInput(_SerdeShape): - """Dataclass for ModifySecurityGroupRulesInput structure.""" - - group_id: str | None = ... - """The ID of the security group.""" - security_group_rules: list[SecurityGroupRuleUpdate] | None = ... - """Information about the security group properties to update.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifySecurityGroupRulesOutput(_SerdeShape): - """Dataclass for ModifySecurityGroupRulesOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifySnapshotAttributeInput(_SerdeShape): - """Dataclass for ModifySnapshotAttributeInput structure.""" - - attribute: str | None = ... - """ - The snapshot attribute to modify. Only volume creation permissions can - be modified. - """ - create_volume_permission: CreateVolumePermissionModifications | None = ... - """A JSON representation of the snapshot attribute modification.""" - group_names: list[str] | None = ... - """The group to modify for the snapshot.""" - operation_type: str | None = ... - """The type of operation to perform to the attribute.""" - snapshot_id: str | None = ... - """The ID of the snapshot.""" - user_ids: list[str] | None = ... - """The account ID to modify for the snapshot.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifySnapshotAttributeOutput(_SerdeShape): - """Dataclass for ModifySnapshotAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifySnapshotTierInput(_SerdeShape): - """Dataclass for ModifySnapshotTierInput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - storage_tier: str | None = ... - """The name of the storage tier. You must specify `archive`.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifySnapshotTierOutput(_SerdeShape): - """Dataclass for ModifySnapshotTierOutput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - tiering_start_time: datetime | None = ... - """The date and time when the archive process was started.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifySpotFleetRequestInput(_SerdeShape): - """Contains the parameters for ModifySpotFleetRequest.""" - - launch_template_configs: list[LaunchTemplateConfig] | None = ... - """ - The launch template and overrides. You can only use this parameter if - you specified a launch template (`LaunchTemplateConfigs`) in your Spot - Fleet request. If you specified `LaunchSpecifications` in your Spot - Fleet request, then omit this parameter. - """ - on_demand_target_capacity: int | None = ... - """The number of On-Demand Instances in the fleet.""" - context: str | None = ... - """Reserved.""" - spot_fleet_request_id: str | None = ... - """The ID of the Spot Fleet request.""" - target_capacity: int | None = ... - """The size of the fleet.""" - excess_capacity_termination_policy: str | None = ... - """ - Indicates whether running instances should be terminated if the target - capacity of the Spot Fleet request is decreased below the current size - of the Spot Fleet. - - Supported only for fleets of type `maintain`. - """ - -@dataclass(kw_only=True) -class ModifySpotFleetRequestOutput(_SerdeShape): - """Contains the output of ModifySpotFleetRequest.""" - - return_: bool | None = ... - """ - If the request succeeds, the response returns `true`. If the request - fails, no response is returned, and instead an error message is - returned. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifySubnetAttributeInput(_SerdeShape): - """Dataclass for ModifySubnetAttributeInput structure.""" - - assign_ipv6_address_on_creation: AttributeBooleanValue | None = ... - """ - Specify `true` to indicate that network interfaces created in the - specified subnet should be assigned an IPv6 address. This includes a - network interface that's created when launching an instance into the - subnet (the instance therefore receives an IPv6 address). - - If you enable the IPv6 addressing feature for your subnet, your network - interface or instance only receives an IPv6 address if it's created - using version `2016-11-15` or later of the Amazon EC2 API. - """ - map_public_ip_on_launch: AttributeBooleanValue | None = ... - """ - Specify `true` to indicate that network interfaces attached to instances - created in the specified subnet should be assigned a public IPv4 - address. - - Amazon Web Services charges for all public IPv4 addresses, including - public IPv4 addresses associated with running instances and Elastic IP - addresses. For more information, see the *Public IPv4 Address* tab on - the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). - """ - subnet_id: str | None = ... - """The ID of the subnet.""" - map_customer_owned_ip_on_launch: AttributeBooleanValue | None = ... - """ - Specify `true` to indicate that network interfaces attached to instances - created in the specified subnet should be assigned a customer-owned IPv4 - address. - - When this value is `true`, you must specify the customer-owned IP pool - using `CustomerOwnedIpv4Pool`. - """ - customer_owned_ipv4_pool: str | None = ... - """ - The customer-owned IPv4 address pool associated with the subnet. - - You must set this value when you specify `true` for - `MapCustomerOwnedIpOnLaunch`. - """ - enable_dns64: AttributeBooleanValue | None = ... - """ - Indicates whether DNS queries made to the Amazon-provided DNS Resolver - in this subnet should return synthetic IPv6 addresses for IPv4-only - destinations. - - You must first configure a NAT gateway in a public subnet (separate from - the subnet containing the IPv6-only workloads). For example, the subnet - containing the NAT gateway should have a `0.0.0.0/0` route pointing to - the internet gateway. For more information, see [Configure DNS64 and - NAT64](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html#nat-gateway-nat64-dns64-walkthrough) - in the *Amazon VPC User Guide*. - """ - private_dns_hostname_type_on_launch: str | None = ... - """ - The type of hostname to assign to instances in the subnet at launch. For - IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS name - can be based on the instance IPv4 address (ip-name) or the instance ID - (resource-name). For IPv6 only subnets, an instance DNS name must be - based on the instance ID (resource-name). - """ - enable_resource_name_dns_a_record_on_launch: AttributeBooleanValue | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS A records. - """ - enable_resource_name_dns_aaaa_record_on_launch: AttributeBooleanValue | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS AAAA records. - """ - enable_lni_at_device_index: int | None = ... - """ - Indicates the device position for local network interfaces in this - subnet. For example, `1` indicates local network interfaces in this - subnet are the secondary network interface (eth1). A local network - interface cannot be the primary network interface (eth0). - """ - disable_lni_at_device_index: AttributeBooleanValue | None = ... - """ - Specify `true` to indicate that local network interfaces at the current - position should be disabled. - """ - -@dataclass(kw_only=True) -class ModifySubnetAttributeOutput(_SerdeShape): - """Dataclass for ModifySubnetAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTrafficMirrorFilterNetworkServicesInput(_SerdeShape): - """Dataclass for ModifyTrafficMirrorFilterNetworkServicesInput structure.""" - - traffic_mirror_filter_id: str | None = ... - """The ID of the Traffic Mirror filter.""" - add_network_services: list[str] | None = ... - """The network service, for example Amazon DNS, that you want to mirror.""" - remove_network_services: list[str] | None = ... - """ - The network service, for example Amazon DNS, that you no longer want to - mirror. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyTrafficMirrorFilterNetworkServicesOutput(_SerdeShape): - """Dataclass for ModifyTrafficMirrorFilterNetworkServicesOutput structure.""" - - traffic_mirror_filter: TrafficMirrorFilter | None = ... - """The Traffic Mirror filter that the network service is associated with.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTrafficMirrorFilterRuleInput(_SerdeShape): - """Dataclass for ModifyTrafficMirrorFilterRuleInput structure.""" - - traffic_mirror_filter_rule_id: str | None = ... - """The ID of the Traffic Mirror rule.""" - traffic_direction: str | None = ... - """The type of traffic to assign to the rule.""" - rule_number: int | None = ... - """ - The number of the Traffic Mirror rule. This number must be unique for - each Traffic Mirror rule in a given direction. The rules are processed - in ascending order by rule number. - """ - rule_action: str | None = ... - """The action to assign to the rule.""" - destination_port_range: TrafficMirrorPortRangeRequest | None = ... - """The destination ports that are associated with the Traffic Mirror rule.""" - source_port_range: TrafficMirrorPortRangeRequest | None = ... - """The port range to assign to the Traffic Mirror rule.""" - protocol: int | None = ... - """The protocol, for example TCP, to assign to the Traffic Mirror rule.""" - destination_cidr_block: str | None = ... - """The destination CIDR block to assign to the Traffic Mirror rule.""" - source_cidr_block: str | None = ... - """The source CIDR block to assign to the Traffic Mirror rule.""" - description: str | None = ... - """The description to assign to the Traffic Mirror rule.""" - remove_fields: list[str] | None = ... - """ - The properties that you want to remove from the Traffic Mirror filter - rule. - - When you remove a property from a Traffic Mirror filter rule, the - property is set to the default. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyTrafficMirrorFilterRuleOutput(_SerdeShape): - """Dataclass for ModifyTrafficMirrorFilterRuleOutput structure.""" - - traffic_mirror_filter_rule: TrafficMirrorFilterRule | None = ... - """ - Note: - Tags are not returned for ModifyTrafficMirrorFilterRule. - - A Traffic Mirror rule. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTrafficMirrorSessionInput(_SerdeShape): - """Dataclass for ModifyTrafficMirrorSessionInput structure.""" - - traffic_mirror_session_id: str | None = ... - """The ID of the Traffic Mirror session.""" - traffic_mirror_target_id: str | None = ... - """ - The Traffic Mirror target. The target must be in the same VPC as the - source, or have a VPC peering connection with the source. - """ - traffic_mirror_filter_id: str | None = ... - """The ID of the Traffic Mirror filter.""" - packet_length: int | None = ... - """ - The number of bytes in each packet to mirror. These are bytes after the - VXLAN header. To mirror a subset, set this to the length (in bytes) to - mirror. For example, if you set this value to 100, then the first 100 - bytes that meet the filter criteria are copied to the target. Do not - specify this parameter when you want to mirror the entire packet. - - For sessions with Network Load Balancer (NLB) traffic mirror targets, - the default `PacketLength` will be set to 8500. Valid values are 1-8500. - Setting a `PacketLength` greater than 8500 will result in an error - response. - """ - session_number: int | None = ... - """ - The session number determines the order in which sessions are evaluated - when an interface is used by multiple sessions. The first session with a - matching filter is the one that mirrors the packets. - - Valid values are 1-32766. - """ - virtual_network_id: int | None = ... - """The virtual network ID of the Traffic Mirror session.""" - description: str | None = ... - """The description to assign to the Traffic Mirror session.""" - remove_fields: list[str] | None = ... - """ - The properties that you want to remove from the Traffic Mirror session. - - When you remove a property from a Traffic Mirror session, the property - is set to the default. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyTrafficMirrorSessionOutput(_SerdeShape): - """Dataclass for ModifyTrafficMirrorSessionOutput structure.""" - - traffic_mirror_session: TrafficMirrorSession | None = ... - """Information about the Traffic Mirror session.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayAttachmentNatConfigurationInput(_SerdeShape): - """ - Dataclass for ModifyTransitGatewayAttachmentNatConfigurationInput - structure. - """ - - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - nat_gateway_support: str | None = ... - """ - Specifies whether to enable or disable NAT gateway support for the - attachment. To enable NAT gateway support, the attachment must have at - least one NAT gateway rule. You can't modify the NAT configuration - while NAT gateway support is `enabling` or `disabling`. If you omit this - parameter, the current value doesn't change. - """ - nat_system_route_support: str | None = ... - """ - Specifies whether the transit gateway installs routes for the NAT CIDRs - in the route tables to which the attachment propagates. For VPC - attachments, the transit gateway always installs these routes. You can - enable or disable this option only for Amazon Web Services Direct - Connect gateway attachments and Site-to-Site VPN attachments that use - dynamic routing. For these attachments, the default is `enable`. If you - omit this parameter, the current value doesn't change. - """ - nat_gateway_rules: list[TransitGatewayNatRuleRequest] | None = ... - """ - The NAT gateway rules for the attachment. The rules that you specify - replace all existing NAT gateway rules for the attachment. You can - specify up to 50 rules for an attachment. If you omit this parameter, - the existing rules don't change. To remove all rules, use - `ResetNatGatewayRules`. - """ - reset_nat_gateway_rules: bool | None = ... - """ - Specifies whether to remove all NAT gateway rules from the attachment. - If you omit this parameter, the transit gateway doesn't remove any - rules. You can't specify this parameter together with - `NatGatewayRules`. Because you can't enable NAT gateway support without - rules, also set `NatGatewaySupport` to `disable` in the same request if - NAT gateway support is currently enabled. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayAttachmentNatConfigurationOutput(_SerdeShape): - """ - Dataclass for ModifyTransitGatewayAttachmentNatConfigurationOutput - structure. - """ - - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - nat_gateway_support: str | None = ... - """The state of NAT gateway support for the attachment.""" - nat_system_route_support: str | None = ... - """ - Specifies whether the transit gateway installs routes for the NAT CIDRs - in the route tables to which the attachment propagates. - """ - nat_gateway_rules: list[TransitGatewayNatRule] | None = ... - """The NAT gateway rules for the attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayInput(_SerdeShape): - """Dataclass for ModifyTransitGatewayInput structure.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - description: str | None = ... - """The description for the transit gateway.""" - options: ModifyTransitGatewayOptions | None = ... - """The options to modify.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayMeteringPolicyInput(_SerdeShape): - """Dataclass for ModifyTransitGatewayMeteringPolicyInput structure.""" - - transit_gateway_metering_policy_id: str | None = ... - """The ID of the transit gateway metering policy to modify.""" - add_middlebox_attachment_ids: list[str] | None = ... - """The IDs of middlebox attachments to add to the metering policy.""" - remove_middlebox_attachment_ids: list[str] | None = ... - """The IDs of middlebox attachments to remove from the metering policy.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayMeteringPolicyOutput(_SerdeShape): - """Dataclass for ModifyTransitGatewayMeteringPolicyOutput structure.""" - - transit_gateway_metering_policy: TransitGatewayMeteringPolicy | None = ... - """Information about the modified transit gateway metering policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayOptions(_SerdeShape): - """The transit gateway options.""" - - add_transit_gateway_cidr_blocks: list[str] | None = ... - """ - Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size - /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger - for IPv6. - """ - remove_transit_gateway_cidr_blocks: list[str] | None = ... - """Removes CIDR blocks for the transit gateway.""" - vpn_ecmp_support: str | None = ... - """Enable or disable Equal Cost Multipath Protocol support.""" - dns_support: str | None = ... - """Enable or disable DNS support.""" - security_group_referencing_support: str | None = ... - """ - Enables you to reference a security group across VPCs attached to a - transit gateway to simplify security group management. - - This option is disabled by default. - - For more information about security group referencing, see [Security - group - referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) - in the *Amazon Web Services Transit Gateways Guide*. - """ - auto_accept_shared_attachments: str | None = ... - """Enable or disable automatic acceptance of attachment requests.""" - default_route_table_association: str | None = ... - """ - Enable or disable automatic association with the default association - route table. - """ - association_default_route_table_id: str | None = ... - """The ID of the default association route table.""" - default_route_table_propagation: str | None = ... - """ - Indicates whether resource attachments automatically propagate routes to - the default propagation route table. Enabled by default. If - `defaultRouteTablePropagation` is set to `enable`, Amazon Web Services - Transit Gateway will create the default transit gateway route table. - """ - propagation_default_route_table_id: str | None = ... - """The ID of the default propagation route table.""" - amazon_side_asn: int | None = ... - """ - A private Autonomous System Number (ASN) for the Amazon side of a BGP - session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to - 4294967294 for 32-bit ASNs. - - The modify ASN operation is not allowed on a transit gateway if it has - the following attachments: - - - Dynamic VPN - - - Static VPN - - - Direct Connect Gateway - - - Connect - - - VPN Concentrator - - - Client VPN - - You must first delete all transit gateway attachments configured prior - to modifying the ASN on the transit gateway. - """ - encryption_support: str | None = ... - """Enable or disable encryption support for VPC Encryption Control.""" - -@dataclass(kw_only=True) -class ModifyTransitGatewayOutput(_SerdeShape): - """Dataclass for ModifyTransitGatewayOutput structure.""" - - transit_gateway: TransitGateway | None = ... - """Information about the transit gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayPolicyTableEntryInput(_SerdeShape): - """Dataclass for ModifyTransitGatewayPolicyTableEntryInput structure.""" - - transit_gateway_policy_table_id: str | None = ... - """The ID of the transit gateway policy table.""" - policy_rule_number: str | None = ... - """The rule number of the policy table entry to modify.""" - policy_rule: TransitGatewayRequestPolicyRule | None = ... - """ - The updated matching criteria for the policy table entry. Unspecified - fields retain their current values. - """ - target_route_table_id: str | None = ... - """ - The ID of the transit gateway route table to use for traffic matching - this rule. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayPolicyTableEntryOutput(_SerdeShape): - """Dataclass for ModifyTransitGatewayPolicyTableEntryOutput structure.""" - - transit_gateway_policy_table_entry: TransitGatewayPolicyTableEntry | None = ... - """Describes a transit gateway policy table entry""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayPrefixListReferenceInput(_SerdeShape): - """Dataclass for ModifyTransitGatewayPrefixListReferenceInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment to which traffic is routed.""" - blackhole: bool | None = ... - """Indicates whether to drop traffic that matches this route.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayPrefixListReferenceOutput(_SerdeShape): - """Dataclass for ModifyTransitGatewayPrefixListReferenceOutput structure.""" - - transit_gateway_prefix_list_reference: ( - TransitGatewayPrefixListReference | None - ) = ... - """Information about the prefix list reference.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayVpcAttachmentInput(_SerdeShape): - """Dataclass for ModifyTransitGatewayVpcAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - add_subnet_ids: list[str] | None = ... - """ - The IDs of one or more subnets to add. You can specify at most one - subnet per Availability Zone. - """ - remove_subnet_ids: list[str] | None = ... - """The IDs of one or more subnets to remove.""" - options: ModifyTransitGatewayVpcAttachmentRequestOptions | None = ... - """The new VPC attachment options.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayVpcAttachmentOutput(_SerdeShape): - """Dataclass for ModifyTransitGatewayVpcAttachmentOutput structure.""" - - transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... - """Information about the modified attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTransitGatewayVpcAttachmentRequestOptions(_SerdeShape): - """Describes the options for a VPC attachment.""" - - dns_support: str | None = ... - """Enable or disable DNS support. The default is `enable`.""" - security_group_referencing_support: str | None = ... - """ - Enables you to reference a security group across VPCs attached to a - transit gateway to simplify security group management. - - This option is disabled by default. - - For more information about security group referencing, see [Security - group - referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) - in the *Amazon Web Services Transit Gateways Guide*. - """ - ipv6_support: str | None = ... - """ - Specifies whether IPv6 support is enabled for the attachment. When - enabled, the transit gateway network interface receives an IPv6 address. - When you enable route propagation, IPv6 VPC CIDRs propagate to the - transit gateway route tables. When disabled, the network interface does - not receive an IPv6 address, and IPv6 routes do not propagate. The - setting does not filter IPv6 traffic. - """ - appliance_mode_support: str | None = ... - """ - Enable or disable support for appliance mode. If enabled, a traffic flow - between a source and destination uses the same Availability Zone for the - VPC attachment for the lifetime of that flow. The default is `disable`. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessEndpointCidrOptions(_SerdeShape): - """The CIDR options for a Verified Access endpoint.""" - - port_ranges: list[ModifyVerifiedAccessEndpointPortRange] | None = ... - """The port ranges.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessEndpointEniOptions(_SerdeShape): - """ - Describes the options when modifying a Verified Access endpoint with the - `network-interface` type. - """ - - protocol: str | None = ... - """The IP protocol.""" - port: int | None = ... - """The IP port number.""" - port_ranges: list[ModifyVerifiedAccessEndpointPortRange] | None = ... - """The port ranges.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessEndpointInput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessEndpointInput structure.""" - - verified_access_endpoint_id: str | None = ... - """The ID of the Verified Access endpoint.""" - verified_access_group_id: str | None = ... - """The ID of the Verified Access group.""" - load_balancer_options: ModifyVerifiedAccessEndpointLoadBalancerOptions | None = ... - """ - The load balancer details if creating the Verified Access endpoint as - `load-balancer`type. - """ - network_interface_options: ModifyVerifiedAccessEndpointEniOptions | None = ... - """The network interface options.""" - description: str | None = ... - """A description for the Verified Access endpoint.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - rds_options: ModifyVerifiedAccessEndpointRdsOptions | None = ... - """The RDS options.""" - cidr_options: ModifyVerifiedAccessEndpointCidrOptions | None = ... - """The CIDR options.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessEndpointLoadBalancerOptions(_SerdeShape): - """ - Describes a load balancer when creating an Amazon Web Services Verified - Access endpoint using the `load-balancer` type. - """ - - subnet_ids: list[str] | None = ... - """The IDs of the subnets.""" - protocol: str | None = ... - """The IP protocol.""" - port: int | None = ... - """The IP port number.""" - port_ranges: list[ModifyVerifiedAccessEndpointPortRange] | None = ... - """The port ranges.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessEndpointOutput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessEndpointOutput structure.""" - - verified_access_endpoint: VerifiedAccessEndpoint | None = ... - """Details about the Verified Access endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessEndpointPolicyInput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessEndpointPolicyInput structure.""" - - verified_access_endpoint_id: str | None = ... - """The ID of the Verified Access endpoint.""" - policy_enabled: bool | None = ... - """The status of the Verified Access policy.""" - policy_document: str | None = ... - """The Verified Access policy document.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - sse_specification: VerifiedAccessSseSpecificationRequest | None = ... - """The options for server side encryption.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessEndpointPolicyOutput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessEndpointPolicyOutput structure.""" - - policy_enabled: bool | None = ... - """The status of the Verified Access policy.""" - policy_document: str | None = ... - """The Verified Access policy document.""" - sse_specification: VerifiedAccessSseSpecificationResponse | None = ... - """The options in use for server side encryption.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessEndpointPortRange(_SerdeShape): - """Describes the port range for a Verified Access endpoint.""" - - from_port: int | None = ... - """The start of the port range.""" - to_port: int | None = ... - """The end of the port range.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessEndpointRdsOptions(_SerdeShape): - """The RDS options for a Verified Access endpoint.""" - - subnet_ids: list[str] | None = ... - """The IDs of the subnets.""" - port: int | None = ... - """The port.""" - rds_endpoint: str | None = ... - """The RDS endpoint.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessGroupInput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessGroupInput structure.""" - - verified_access_group_id: str | None = ... - """The ID of the Verified Access group.""" - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - description: str | None = ... - """A description for the Verified Access group.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessGroupOutput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessGroupOutput structure.""" - - verified_access_group: VerifiedAccessGroup | None = ... - """Details about the Verified Access group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessGroupPolicyInput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessGroupPolicyInput structure.""" - - verified_access_group_id: str | None = ... - """The ID of the Verified Access group.""" - policy_enabled: bool | None = ... - """The status of the Verified Access policy.""" - policy_document: str | None = ... - """The Verified Access policy document.""" - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - sse_specification: VerifiedAccessSseSpecificationRequest | None = ... - """The options for server side encryption.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessGroupPolicyOutput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessGroupPolicyOutput structure.""" - - policy_enabled: bool | None = ... - """The status of the Verified Access policy.""" - policy_document: str | None = ... - """The Verified Access policy document.""" - sse_specification: VerifiedAccessSseSpecificationResponse | None = ... - """The options in use for server side encryption.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessInstanceInput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessInstanceInput structure.""" - - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - description: str | None = ... - """A description for the Verified Access instance.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - cidr_endpoints_custom_sub_domain: str | None = ... - """The custom subdomain.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessInstanceLoggingConfigurationInput(_SerdeShape): - """ - Dataclass for ModifyVerifiedAccessInstanceLoggingConfigurationInput - structure. - """ - - verified_access_instance_id: str | None = ... - """The ID of the Verified Access instance.""" - access_logs: VerifiedAccessLogOptions | None = ... - """The configuration options for Verified Access instances.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessInstanceLoggingConfigurationOutput(_SerdeShape): - """ - Dataclass for ModifyVerifiedAccessInstanceLoggingConfigurationOutput - structure. - """ - - logging_configuration: VerifiedAccessInstanceLoggingConfiguration | None = ... - """The logging configuration for the Verified Access instance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessInstanceOutput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessInstanceOutput structure.""" - - verified_access_instance: VerifiedAccessInstance | None = ... - """Details about the Verified Access instance.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessNativeApplicationOidcOptions(_SerdeShape): - """Describes the OpenID Connect (OIDC) options.""" - - public_signing_key_endpoint: str | None = ... - """The public signing key endpoint.""" - issuer: str | None = ... - """The OIDC issuer identifier of the IdP.""" - authorization_endpoint: str | None = ... - """The authorization endpoint of the IdP.""" - token_endpoint: str | None = ... - """The token endpoint of the IdP.""" - user_info_endpoint: str | None = ... - """The user info endpoint of the IdP.""" - client_id: str | None = ... - """The OAuth 2.0 client identifier.""" - client_secret: str | None = ... - """The OAuth 2.0 client secret.""" - scope: str | None = ... - """The set of user claims to be requested from the IdP.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessTrustProviderDeviceOptions(_SerdeShape): - """ - Modifies the configuration of the specified device-based Amazon Web - Services Verified Access trust provider. - """ - - public_signing_key_url: str | None = ... - """ - The URL Amazon Web Services Verified Access will use to verify the - authenticity of the device tokens. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessTrustProviderInput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessTrustProviderInput structure.""" - - verified_access_trust_provider_id: str | None = ... - """The ID of the Verified Access trust provider.""" - oidc_options: ModifyVerifiedAccessTrustProviderOidcOptions | None = ... - """ - The options for an OpenID Connect-compatible user-identity trust - provider. - """ - device_options: ModifyVerifiedAccessTrustProviderDeviceOptions | None = ... - """ - The options for a device-based trust provider. This parameter is - required when the provider type is `device`. - """ - description: str | None = ... - """A description for the Verified Access trust provider.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive token that you provide to ensure idempotency of - your modification request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - sse_specification: VerifiedAccessSseSpecificationRequest | None = ... - """The options for server side encryption.""" - native_application_oidc_options: ( - ModifyVerifiedAccessNativeApplicationOidcOptions | None - ) = ... - """The OpenID Connect (OIDC) options.""" - -@dataclass(kw_only=True) -class ModifyVerifiedAccessTrustProviderOidcOptions(_SerdeShape): - """Options for an OpenID Connect-compatible user-identity trust provider.""" - - issuer: str | None = ... - """The OIDC issuer.""" - authorization_endpoint: str | None = ... - """The OIDC authorization endpoint.""" - token_endpoint: str | None = ... - """The OIDC token endpoint.""" - user_info_endpoint: str | None = ... - """The OIDC user info endpoint.""" - client_id: str | None = ... - """The client identifier.""" - client_secret: str | None = ... - """The client secret.""" - scope: str | None = ... - """ - OpenID Connect (OIDC) scopes are used by an application during - authentication to authorize access to a user's details. Each scope - returns a specific set of user attributes. - """ - -@dataclass(kw_only=True) -class ModifyVerifiedAccessTrustProviderOutput(_SerdeShape): - """Dataclass for ModifyVerifiedAccessTrustProviderOutput structure.""" - - verified_access_trust_provider: VerifiedAccessTrustProvider | None = ... - """Details about the Verified Access trust provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVolumeAttributeInput(_SerdeShape): - """Dataclass for ModifyVolumeAttributeInput structure.""" - - auto_enable_io: AttributeBooleanValue | None = ... - """Indicates whether the volume should be auto-enabled for I/O operations.""" - volume_id: str | None = ... - """The ID of the volume.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyVolumeAttributeOutput(_SerdeShape): - """Dataclass for ModifyVolumeAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVolumeInput(_SerdeShape): - """Dataclass for ModifyVolumeInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - volume_id: str | None = ... - """The ID of the volume.""" - size: int | None = ... - """ - The target size of the volume, in GiB. The target volume size must be - greater than or equal to the existing size of the volume. - - The following are the supported volumes sizes for each volume type: - - - `gp2`: 1 - 16,384 GiB - - - `gp3`: 1 - 65,536 GiB - - - `io1`: 4 - 16,384 GiB - - - `io2`: 4 - 65,536 GiB - - - `st1` and `sc1`: 125 - 16,384 GiB - - - `standard`: 1 - 1024 GiB - - Default: The existing size is retained. - """ - volume_type: str | None = ... - """ - The target EBS volume type of the volume. For more information, see - [Amazon EBS volume - types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) - in the *Amazon EBS User Guide*. - - Default: The existing type is retained. - """ - iops: int | None = ... - """ - The target IOPS rate of the volume. This parameter is valid only for - `gp3`, `io1`, and `io2` volumes. - - The following are the supported values for each volume type: - - - `gp3`: 3,000 - 80,000 IOPS - - - `io1`: 100 - 64,000 IOPS - - - `io2`: 100 - 256,000 IOPS - - Note: - [Instances built on the Nitro - System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) - can support up to 256,000 IOPS. Other instances can support up to 32,000 - IOPS. - - Default: The existing value is retained if you keep the same volume - type. If you change the volume type to `io1`, `io2`, or `gp3`, the - default is 3,000. - """ - throughput: int | None = ... - """ - The target throughput of the volume, in MiB/s. This parameter is valid - only for `gp3` volumes. The maximum value is 2,000. - - Default: The existing value is retained if the source and target volume - type is `gp3`. Otherwise, the default value is 125. - - Valid Range: Minimum value of 125. Maximum value of 2,000. - """ - multi_attach_enabled: bool | None = ... - """ - Specifies whether to enable Amazon EBS Multi-Attach. If you enable - Multi-Attach, you can attach the volume to up to 16 [Nitro-based - instances](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html) - in the same Availability Zone. This parameter is supported with `io1` - and `io2` volumes only. For more information, see [Amazon EBS - Multi-Attach](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html) - in the *Amazon EBS User Guide*. - """ - -@dataclass(kw_only=True) -class ModifyVolumeOutput(_SerdeShape): - """Dataclass for ModifyVolumeOutput structure.""" - - volume_modification: VolumeModification | None = ... - """Information about the volume modification.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcAttributeInput(_SerdeShape): - """Dataclass for ModifyVpcAttributeInput structure.""" - - enable_dns_hostnames: AttributeBooleanValue | None = ... - """ - Indicates whether the instances launched in the VPC get DNS hostnames. - If enabled, instances in the VPC get DNS hostnames; otherwise, they do - not. - - You cannot modify the DNS resolution and DNS hostnames attributes in the - same request. Use separate requests for each attribute. You can only - enable DNS hostnames if you've enabled DNS support. - """ - enable_dns_support: AttributeBooleanValue | None = ... - """ - Indicates whether the DNS resolution is supported for the VPC. If - enabled, queries to the Amazon provided DNS server at the - 169.254.169.253 IP address, or the reserved IP address at the base of - the VPC network range \"plus two\" succeed. If disabled, the Amazon - provided DNS service in the VPC that resolves public DNS hostnames to IP - addresses is not enabled. - - You cannot modify the DNS resolution and DNS hostnames attributes in the - same request. Use separate requests for each attribute. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - enable_network_address_usage_metrics: AttributeBooleanValue | None = ... - """ - Indicates whether Network Address Usage metrics are enabled for your - VPC. - """ - -@dataclass(kw_only=True) -class ModifyVpcAttributeOutput(_SerdeShape): - """Dataclass for ModifyVpcAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcBlockPublicAccessExclusionInput(_SerdeShape): - """Dataclass for ModifyVpcBlockPublicAccessExclusionInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - exclusion_id: str | None = ... - """The ID of an exclusion.""" - internet_gateway_exclusion_mode: str | None = ... - """ - The exclusion mode for internet gateway traffic. - - - `allow-bidirectional`: Allow all internet traffic to and from the - excluded VPCs and subnets. - - - `allow-egress`: Allow outbound internet traffic from the excluded VPCs - and subnets. Block inbound internet traffic to the excluded VPCs and - subnets. Only applies when VPC Block Public Access is set to - Bidirectional. - """ - -@dataclass(kw_only=True) -class ModifyVpcBlockPublicAccessExclusionOutput(_SerdeShape): - """Dataclass for ModifyVpcBlockPublicAccessExclusionOutput structure.""" - - vpc_block_public_access_exclusion: VpcBlockPublicAccessExclusion | None = ... - """Details related to the exclusion.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcBlockPublicAccessOptionsInput(_SerdeShape): - """Dataclass for ModifyVpcBlockPublicAccessOptionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - internet_gateway_block_mode: str | None = ... - """ - The mode of VPC BPA. - - - `off`: VPC BPA is not enabled and traffic is allowed to and from - internet gateways and egress-only internet gateways in this Region. - - - `block-bidirectional`: Block all traffic to and from internet gateways - and egress-only internet gateways in this Region (except for excluded - VPCs and subnets). - - - `block-ingress`: Block all internet traffic to the VPCs in this Region - (except for VPCs or subnets which are excluded). Only traffic to and - from NAT gateways and egress-only internet gateways is allowed because - these gateways only allow outbound connections to be established. - """ - -@dataclass(kw_only=True) -class ModifyVpcBlockPublicAccessOptionsOutput(_SerdeShape): - """Dataclass for ModifyVpcBlockPublicAccessOptionsOutput structure.""" - - vpc_block_public_access_options: VpcBlockPublicAccessOptions | None = ... - """Details related to the VPC Block Public Access (BPA) options.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcEncryptionControlInput(_SerdeShape): - """Dataclass for ModifyVpcEncryptionControlInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_encryption_control_id: str | None = ... - """The ID of the VPC Encryption Control resource to modify.""" - mode: str | None = ... - """The encryption mode for the VPC Encryption Control configuration.""" - internet_gateway_exclusion: str | None = ... - """ - Specifies whether to exclude internet gateway traffic from encryption - enforcement. - """ - egress_only_internet_gateway_exclusion: str | None = ... - """ - Specifies whether to exclude egress-only internet gateway traffic from - encryption enforcement. - """ - nat_gateway_exclusion: str | None = ... - """ - Specifies whether to exclude NAT gateway traffic from encryption - enforcement. - """ - virtual_private_gateway_exclusion: str | None = ... - """ - Specifies whether to exclude virtual private gateway traffic from - encryption enforcement. - """ - vpc_peering_exclusion: str | None = ... - """ - Specifies whether to exclude VPC peering connection traffic from - encryption enforcement. - """ - lambda_exclusion: str | None = ... - """ - Specifies whether to exclude Lambda function traffic from encryption - enforcement. - """ - vpc_lattice_exclusion: str | None = ... - """ - Specifies whether to exclude VPC Lattice traffic from encryption - enforcement. - """ - elastic_file_system_exclusion: str | None = ... - """ - Specifies whether to exclude Elastic File System traffic from encryption - enforcement. - """ - -@dataclass(kw_only=True) -class ModifyVpcEncryptionControlOutput(_SerdeShape): - """Dataclass for ModifyVpcEncryptionControlOutput structure.""" - - vpc_encryption_control: VpcEncryptionControl | None = ... - """Information about the VPC Encryption Control configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointConnectionNotificationInput(_SerdeShape): - """Dataclass for ModifyVpcEndpointConnectionNotificationInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - connection_notification_id: str | None = ... - """The ID of the notification.""" - connection_notification_arn: str | None = ... - """The ARN for the SNS topic for the notification.""" - connection_events: list[str] | None = ... - """ - The events for the endpoint. Valid values are `Accept`, `Connect`, - `Delete`, and `Reject`. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointConnectionNotificationOutput(_SerdeShape): - """Dataclass for ModifyVpcEndpointConnectionNotificationOutput structure.""" - - return_value: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointInput(_SerdeShape): - """Dataclass for ModifyVpcEndpointInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_endpoint_id: str | None = ... - """The ID of the endpoint.""" - reset_policy: bool | None = ... - """ - (Gateway endpoint) Specify `true` to reset the policy document to the - default policy. The default policy allows full access to the service. - """ - policy_document: str | None = ... - """ - (Interface and gateway endpoints) A policy to attach to the endpoint - that controls access to the service. The policy must be in valid JSON - format. - """ - add_route_table_ids: list[str] | None = ... - """ - (Gateway endpoint) The IDs of the route tables to associate with the - endpoint. - """ - remove_route_table_ids: list[str] | None = ... - """ - (Gateway endpoint) The IDs of the route tables to disassociate from the - endpoint. - """ - add_subnet_ids: list[str] | None = ... - """ - (Interface and Gateway Load Balancer endpoints) The IDs of the subnets - in which to serve the endpoint. For a Gateway Load Balancer endpoint, - you can specify only one subnet. - """ - remove_subnet_ids: list[str] | None = ... - """ - (Interface endpoint) The IDs of the subnets from which to remove the - endpoint. - """ - add_security_group_ids: list[str] | None = ... - """ - (Interface endpoint) The IDs of the security groups to associate with - the endpoint network interfaces. - """ - remove_security_group_ids: list[str] | None = ... - """ - (Interface endpoint) The IDs of the security groups to disassociate from - the endpoint network interfaces. - """ - ip_address_type: str | None = ... - """The IP address type for the endpoint.""" - dns_options: DnsOptionsSpecification | None = ... - """The DNS options for the endpoint.""" - private_dns_enabled: bool | None = ... - """ - (Interface endpoint) Indicates whether a private hosted zone is - associated with the VPC. - """ - subnet_configurations: list[SubnetConfiguration] | None = ... - """The subnet configurations for the endpoint.""" - -@dataclass(kw_only=True) -class ModifyVpcEndpointOutput(_SerdeShape): - """Dataclass for ModifyVpcEndpointOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointPayerResponsibilityInput(_SerdeShape): - """Dataclass for ModifyVpcEndpointPayerResponsibilityInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_id: str | None = ... - """The ID of the VPC endpoint service.""" - vpc_endpoint_id: str | None = ... - """The ID of the VPC endpoint.""" - payer_responsibility: str | None = ... - """ - The Amazon Web Services account to which the usage of VPC endpoint is - charged. - """ - scope: str | None = ... - """ - The scope of usage/charges for which the billing account is being - modified. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointPayerResponsibilityOutput(_SerdeShape): - """Dataclass for ModifyVpcEndpointPayerResponsibilityOutput structure.""" - - vpc_endpoint_id: str | None = ... - """The ID of the VPC endpoint.""" - payer_responsibilities: list[PayerResponsibilityEntry] | None = ... - """The payer responsibility settings for the VPC endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointServiceConfigurationInput(_SerdeShape): - """Dataclass for ModifyVpcEndpointServiceConfigurationInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_id: str | None = ... - """The ID of the service.""" - private_dns_name: str | None = ... - """ - (Interface endpoint configuration) The private DNS name to assign to the - endpoint service. - """ - remove_private_dns_name: bool | None = ... - """ - (Interface endpoint configuration) Removes the private DNS name of the - endpoint service. - """ - acceptance_required: bool | None = ... - """ - Indicates whether requests to create an endpoint to the service must be - accepted. - """ - add_network_load_balancer_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of Network Load Balancers to add to the - service configuration. - """ - remove_network_load_balancer_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of Network Load Balancers to remove - from the service configuration. - """ - add_gateway_load_balancer_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to the - service configuration. - """ - remove_gateway_load_balancer_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove - from the service configuration. - """ - add_supported_ip_address_types: list[str] | None = ... - """The IP address types to add to the service configuration.""" - remove_supported_ip_address_types: list[str] | None = ... - """The IP address types to remove from the service configuration.""" - add_supported_regions: list[str] | None = ... - """The supported Regions to add to the service configuration.""" - remove_supported_regions: list[str] | None = ... - """The supported Regions to remove from the service configuration.""" - -@dataclass(kw_only=True) -class ModifyVpcEndpointServiceConfigurationOutput(_SerdeShape): - """Dataclass for ModifyVpcEndpointServiceConfigurationOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointServicePayerResponsibilityInput(_SerdeShape): - """ - Dataclass for ModifyVpcEndpointServicePayerResponsibilityInput - structure. - """ - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_id: str | None = ... - """The ID of the service.""" - payer_responsibility: str | None = ... - """ - The entity that is responsible for the endpoint costs. The default is - the endpoint owner. If you set the payer responsibility to the service - owner, you cannot set it back to the endpoint owner. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointServicePayerResponsibilityOutput(_SerdeShape): - """ - Dataclass for ModifyVpcEndpointServicePayerResponsibilityOutput - structure. - """ - - return_value: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointServicePermissionsInput(_SerdeShape): - """Dataclass for ModifyVpcEndpointServicePermissionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_id: str | None = ... - """The ID of the service.""" - add_allowed_principals: list[str] | None = ... - """ - The Amazon Resource Names (ARN) of the principals. Permissions are - granted to the principals in this list. To grant permissions to all - principals, specify an asterisk (*). - """ - remove_allowed_principals: list[str] | None = ... - """ - The Amazon Resource Names (ARN) of the principals. Permissions are - revoked for principals in this list. - """ - -@dataclass(kw_only=True) -class ModifyVpcEndpointServicePermissionsOutput(_SerdeShape): - """Dataclass for ModifyVpcEndpointServicePermissionsOutput structure.""" - - added_principals: list[AddedPrincipal] | None = ... - """Information about the added principals.""" - return_value: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcPeeringConnectionOptionsInput(_SerdeShape): - """Dataclass for ModifyVpcPeeringConnectionOptionsInput structure.""" - - accepter_peering_connection_options: PeeringConnectionOptionsRequest | None = ... - """The VPC peering connection options for the accepter VPC.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - requester_peering_connection_options: PeeringConnectionOptionsRequest | None = ... - """The VPC peering connection options for the requester VPC.""" - vpc_peering_connection_id: str | None = ... - """The ID of the VPC peering connection.""" - -@dataclass(kw_only=True) -class ModifyVpcPeeringConnectionOptionsOutput(_SerdeShape): - """Dataclass for ModifyVpcPeeringConnectionOptionsOutput structure.""" - - accepter_peering_connection_options: PeeringConnectionOptions | None = ... - """ - Information about the VPC peering connection options for the accepter - VPC. - """ - requester_peering_connection_options: PeeringConnectionOptions | None = ... - """ - Information about the VPC peering connection options for the requester - VPC. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpcTenancyInput(_SerdeShape): - """Dataclass for ModifyVpcTenancyInput structure.""" - - vpc_id: str | None = ... - """The ID of the VPC.""" - instance_tenancy: str | None = ... - """The instance tenancy attribute for the VPC.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyVpcTenancyOutput(_SerdeShape): - """Dataclass for ModifyVpcTenancyOutput structure.""" - - return_value: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpnConnectionInput(_SerdeShape): - """Dataclass for ModifyVpnConnectionInput structure.""" - - vpn_connection_id: str | None = ... - """The ID of the VPN connection.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - customer_gateway_id: str | None = ... - """The ID of the customer gateway at your end of the VPN connection.""" - vpn_gateway_id: str | None = ... - """ - The ID of the virtual private gateway at the Amazon Web Services side of - the VPN connection. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyVpnConnectionOptionsInput(_SerdeShape): - """Dataclass for ModifyVpnConnectionOptionsInput structure.""" - - vpn_connection_id: str | None = ... - """The ID of the Site-to-Site VPN connection.""" - local_ipv4_network_cidr: str | None = ... - """ - The IPv4 CIDR on the customer gateway (on-premises) side of the VPN - connection. - - Default: `0.0.0.0/0` - """ - remote_ipv4_network_cidr: str | None = ... - """ - The IPv4 CIDR on the Amazon Web Services side of the VPN connection. - - Default: `0.0.0.0/0` - """ - local_ipv6_network_cidr: str | None = ... - """ - The IPv6 CIDR on the customer gateway (on-premises) side of the VPN - connection. - - Default: `::/0` - """ - remote_ipv6_network_cidr: str | None = ... - """ - The IPv6 CIDR on the Amazon Web Services side of the VPN connection. - - Default: `::/0` - """ - tunnel_bandwidth: str | None = ... - """ - The desired bandwidth specification for the VPN connection. `standard` - supports up to 1.25 Gbps per tunnel, while `large` supports up to 5 Gbps - per tunnel. Large bandwidth is only available for VPN connections - attached to a transit gateway or to Cloud WAN. The default value is - `standard`. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyVpnConnectionOptionsOutput(_SerdeShape): - """Dataclass for ModifyVpnConnectionOptionsOutput structure.""" - - vpn_connection: VpnConnection | None = ... - """Information about the VPN connection.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpnConnectionOutput(_SerdeShape): - """Dataclass for ModifyVpnConnectionOutput structure.""" - - vpn_connection: VpnConnection | None = ... - """Information about the VPN connection.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpnTunnelCertificateInput(_SerdeShape): - """Dataclass for ModifyVpnTunnelCertificateInput structure.""" - - vpn_connection_id: str | None = ... - """The ID of the Amazon Web Services Site-to-Site VPN connection.""" - vpn_tunnel_outside_ip_address: str | None = ... - """The external IP address of the VPN tunnel.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ModifyVpnTunnelCertificateOutput(_SerdeShape): - """Dataclass for ModifyVpnTunnelCertificateOutput structure.""" - - vpn_connection: VpnConnection | None = ... - """Information about the VPN connection.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpnTunnelOptionsInput(_SerdeShape): - """Dataclass for ModifyVpnTunnelOptionsInput structure.""" - - vpn_connection_id: str | None = ... - """The ID of the Amazon Web Services Site-to-Site VPN connection.""" - vpn_tunnel_outside_ip_address: str | None = ... - """The external IP address of the VPN tunnel.""" - tunnel_options: ModifyVpnTunnelOptionsSpecification | None = ... - """The tunnel options to modify.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - skip_tunnel_replacement: bool | None = ... - """ - Choose whether or not to trigger immediate tunnel replacement. This is - only applicable when turning on or off `EnableTunnelLifecycleControl`. - - Valid values: `True` | `False` - """ - pre_shared_key_storage: str | None = ... - """ - Specifies the storage mode for the pre-shared key (PSK). Valid values - are `Standard` (stored in Site-to-Site VPN service) or `SecretsManager` - (stored in Amazon Web Services Secrets Manager). - """ - -@dataclass(kw_only=True) -class ModifyVpnTunnelOptionsOutput(_SerdeShape): - """Dataclass for ModifyVpnTunnelOptionsOutput structure.""" - - vpn_connection: VpnConnection | None = ... - """Information about the VPN connection.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyVpnTunnelOptionsSpecification(_SerdeShape): - """The Amazon Web Services Site-to-Site VPN tunnel options to modify.""" - - tunnel_inside_cidr: str | None = ... - """ - The range of inside IPv4 addresses for the tunnel. Any specified CIDR - blocks must be unique across all VPN connections that use the same - virtual private gateway. - - Constraints: A size /30 CIDR block from the `169.254.0.0/16` range. The - following CIDR blocks are reserved and cannot be used: - - - `169.254.0.0/30` - - - `169.254.1.0/30` - - - `169.254.2.0/30` - - - `169.254.3.0/30` - - - `169.254.4.0/30` - - - `169.254.5.0/30` - - - `169.254.169.252/30` - """ - tunnel_inside_ipv6_cidr: str | None = ... - """ - The range of inside IPv6 addresses for the tunnel. Any specified CIDR - blocks must be unique across all VPN connections that use the same - transit gateway. - - Constraints: A size /126 CIDR block from the local `fd00::/8` range. - """ - pre_shared_key: str | None = ... - """ - The pre-shared key (PSK) to establish initial authentication between the - virtual private gateway and the customer gateway. - - Constraints: Allowed characters are alphanumeric characters, periods - (.), and underscores (_). Must be between 8 and 64 characters in length - and cannot start with zero (0). - """ - phase1_lifetime_seconds: int | None = ... - """ - The lifetime for phase 1 of the IKE negotiation, in seconds. - - Constraints: A value between 900 and 28,800. - - Default: `28800` - """ - phase2_lifetime_seconds: int | None = ... - """ - The lifetime for phase 2 of the IKE negotiation, in seconds. - - Constraints: A value between 900 and 3,600. The value must be less than - the value for `Phase1LifetimeSeconds`. - - Default: `3600` - """ - rekey_margin_time_seconds: int | None = ... - """ - The margin time, in seconds, before the phase 2 lifetime expires, during - which the Amazon Web Services side of the VPN connection performs an IKE - rekey. The exact time of the rekey is randomly selected based on the - value for `RekeyFuzzPercentage`. - - Constraints: A value between 60 and half of `Phase2LifetimeSeconds`. - - Default: `270` - """ - rekey_fuzz_percentage: int | None = ... - """ - The percentage of the rekey window (determined by - `RekeyMarginTimeSeconds`) during which the rekey time is randomly - selected. - - Constraints: A value between 0 and 100. - - Default: `100` - """ - replay_window_size: int | None = ... - """ - The number of packets in an IKE replay window. - - Constraints: A value between 64 and 2048. - - Default: `1024` - """ - dpd_timeout_seconds: int | None = ... - """ - The number of seconds after which a DPD timeout occurs. A DPD timeout of - 40 seconds means that the VPN endpoint will consider the peer dead 30 - seconds after the first failed keep-alive. - - Constraints: A value greater than or equal to 30. - - Default: `40` - """ - dpd_timeout_action: str | None = ... - """ - The action to take after DPD timeout occurs. Specify `restart` to - restart the IKE initiation. Specify `clear` to end the IKE session. - - Valid Values: `clear` | `none` | `restart` - - Default: `clear` - """ - phase1_encryption_algorithms: ( - list[Phase1EncryptionAlgorithmsRequestListValue] | None - ) = ... - """ - One or more encryption algorithms that are permitted for the VPN tunnel - for phase 1 IKE negotiations. - - Valid values: `AES128` | `AES256` | `AES128-GCM-16` | `AES256-GCM-16` - """ - phase2_encryption_algorithms: ( - list[Phase2EncryptionAlgorithmsRequestListValue] | None - ) = ... - """ - One or more encryption algorithms that are permitted for the VPN tunnel - for phase 2 IKE negotiations. - - Valid values: `AES128` | `AES256` | `AES128-GCM-16` | `AES256-GCM-16` - """ - phase1_integrity_algorithms: ( - list[Phase1IntegrityAlgorithmsRequestListValue] | None - ) = ... - """ - One or more integrity algorithms that are permitted for the VPN tunnel - for phase 1 IKE negotiations. - - Valid values: `SHA1` | `SHA2-256` | `SHA2-384` | `SHA2-512` - """ - phase2_integrity_algorithms: ( - list[Phase2IntegrityAlgorithmsRequestListValue] | None - ) = ... - """ - One or more integrity algorithms that are permitted for the VPN tunnel - for phase 2 IKE negotiations. - - Valid values: `SHA1` | `SHA2-256` | `SHA2-384` | `SHA2-512` - """ - phase1_dh_group_numbers: list[Phase1DHGroupNumbersRequestListValue] | None = ... - """ - One or more Diffie-Hellman group numbers that are permitted for the VPN - tunnel for phase 1 IKE negotiations. - - Valid values: `2` | `14` | `15` | `16` | `17` | `18` | `19` | - `20` | `21` | `22` | `23` | `24` - """ - phase2_dh_group_numbers: list[Phase2DHGroupNumbersRequestListValue] | None = ... - """ - One or more Diffie-Hellman group numbers that are permitted for the VPN - tunnel for phase 2 IKE negotiations. - - Valid values: `2` | `5` | `14` | `15` | `16` | `17` | `18` | `19` - | `20` | `21` | `22` | `23` | `24` - """ - ike_versions: list[IKEVersionsRequestListValue] | None = ... - """ - The IKE versions that are permitted for the VPN tunnel. - - Valid values: `ikev1` | `ikev2` - """ - startup_action: str | None = ... - """ - The action to take when the establishing the tunnel for the VPN - connection. By default, your customer gateway device must initiate the - IKE negotiation and bring up the tunnel. Specify `start` for Amazon Web - Services to initiate the IKE negotiation. - - Valid Values: `add` | `start` - - Default: `add` - """ - log_options: VpnTunnelLogOptionsSpecification | None = ... - """Options for logging VPN tunnel activity.""" - enable_tunnel_lifecycle_control: bool | None = ... - """Turn on or off tunnel endpoint lifecycle control feature.""" - -@dataclass(kw_only=True) -class Monitoring(_SerdeShape): - """Describes the monitoring of an instance.""" - - state: str | None = ... - """ - Indicates whether detailed monitoring is enabled. Otherwise, basic - monitoring is enabled. - """ - -class MonitoringState(UnknownEnumMixin, StrEnum): - DISABLED = "disabled" - DISABLING = "disabling" - ENABLED = "enabled" - PENDING = "pending" - -@dataclass(kw_only=True) -class MonitorInstancesInput(_SerdeShape): - """Dataclass for MonitorInstancesInput structure.""" - - instance_ids: list[str] | None = ... - """The IDs of the instances.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class MonitorInstancesOutput(_SerdeShape): - """Dataclass for MonitorInstancesOutput structure.""" - - instance_monitorings: list[InstanceMonitoring] | None = ... - """The monitoring information.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class MoveAddressToVpcInput(_SerdeShape): - """Dataclass for MoveAddressToVpcInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - public_ip: str | None = ... - """The Elastic IP address.""" - -@dataclass(kw_only=True) -class MoveAddressToVpcOutput(_SerdeShape): - """Dataclass for MoveAddressToVpcOutput structure.""" - - allocation_id: str | None = ... - """The allocation ID for the Elastic IP address.""" - status: str | None = ... - """The status of the move of the IP address.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class MoveByoipCidrToIpamInput(_SerdeShape): - """Dataclass for MoveByoipCidrToIpamInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - cidr: str | None = ... - """The BYOIP CIDR.""" - ipam_pool_id: str | None = ... - """The IPAM pool ID.""" - ipam_pool_owner: str | None = ... - """The Amazon Web Services account ID of the owner of the IPAM pool.""" - -@dataclass(kw_only=True) -class MoveByoipCidrToIpamOutput(_SerdeShape): - """Dataclass for MoveByoipCidrToIpamOutput structure.""" - - byoip_cidr: ByoipCidr | None = ... - """The BYOIP CIDR.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class MoveCapacityReservationInstancesInput(_SerdeShape): - """Dataclass for MoveCapacityReservationInstancesInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensure - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - source_capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation from which you want to move capacity.""" - destination_capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation that you want to move capacity into.""" - instance_count: int | None = ... - """ - The number of instances that you want to move from the source Capacity - Reservation. - """ - -@dataclass(kw_only=True) -class MoveCapacityReservationInstancesOutput(_SerdeShape): - """Dataclass for MoveCapacityReservationInstancesOutput structure.""" - - source_capacity_reservation: CapacityReservation | None = ... - """Information about the source Capacity Reservation.""" - destination_capacity_reservation: CapacityReservation | None = ... - """Information about the destination Capacity Reservation.""" - instance_count: int | None = ... - """ - The number of instances that were moved from the source Capacity - Reservation to the destination Capacity Reservation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class MoveStatus(UnknownEnumMixin, StrEnum): - MOVING_TO_VPC = "movingToVpc" - RESTORING_TO_CLASSIC = "restoringToClassic" - -@dataclass(kw_only=True) -class MovingAddressStatus(_SerdeShape): - """ - Note: - This action is deprecated. - - Describes the status of a moving Elastic IP address. - """ - - move_status: str | None = ... - """The status of the Elastic IP address that's being moved or restored.""" - public_ip: str | None = ... - """The Elastic IP address.""" - -class MulticastSupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -@dataclass(kw_only=True) -class NatGateway(_SerdeShape): - """Describes a NAT gateway.""" - - create_time: datetime | None = ... - """The date and time the NAT gateway was created.""" - delete_time: datetime | None = ... - """The date and time the NAT gateway was deleted, if applicable.""" - failure_code: str | None = ... - """ - If the NAT gateway could not be created, specifies the error code for - the failure. (`InsufficientFreeAddressesInSubnet` | - `Gateway.NotAttached` | `InvalidAllocationID.NotFound` | - `Resource.AlreadyAssociated` | `InternalError` | - `InvalidSubnetID.NotFound`) - """ - failure_message: str | None = ... - """ - If the NAT gateway could not be created, specifies the error message for - the failure, that corresponds to the error code. - - - For InsufficientFreeAddressesInSubnet: \"Subnet has insufficient free - addresses to create this NAT gateway\" - - - For Gateway.NotAttached: \"Network vpc-xxxxxxxx has no Internet - gateway attached\" - - - For InvalidAllocationID.NotFound: \"Elastic IP address - eipalloc-xxxxxxxx could not be associated with this NAT gateway\" - - - For Resource.AlreadyAssociated: \"Elastic IP address eipalloc-xxxxxxxx - is already associated\" - - - For InternalError: \"Network interface eni-xxxxxxxx, created and used - internally by this NAT gateway is in an invalid state. Please try - again.\" - - - For InvalidSubnetID.NotFound: \"The specified subnet subnet-xxxxxxxx - does not exist or could not be found.\" - """ - nat_gateway_addresses: list[NatGatewayAddress] | None = ... - """ - Information about the IP addresses and network interface associated with - the NAT gateway. - """ - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - provisioned_bandwidth: ProvisionedBandwidth | None = ... - """ - Reserved. If you need to sustain traffic greater than the [documented - limits](https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways), - contact Amazon Web Services Support. - """ - state: str | None = ... - """ - The state of the NAT gateway. - - - `pending`: The NAT gateway is being created and is not ready to - process traffic. - - - `failed`: The NAT gateway could not be created. Check the - `failureCode` and `failureMessage` fields for the reason. - - - `available`: The NAT gateway is able to process traffic. This status - remains until you delete the NAT gateway, and does not indicate the - health of the NAT gateway. - - - `deleting`: The NAT gateway is in the process of being terminated and - may still be processing traffic. - - - `deleted`: The NAT gateway has been terminated and is no longer - processing traffic. - """ - subnet_id: str | None = ... - """The ID of the subnet in which the NAT gateway is located.""" - vpc_id: str | None = ... - """The ID of the VPC in which the NAT gateway is located.""" - tags: list[Tag] | None = ... - """The tags for the NAT gateway.""" - connectivity_type: str | None = ... - """ - Indicates whether the NAT gateway supports public or private - connectivity. - """ - availability_mode: str | None = ... - """ - Indicates whether this is a zonal (single-AZ) or regional (multi-AZ) NAT - gateway. - - A zonal NAT gateway is a NAT Gateway that provides redundancy and - scalability within a single availability zone. A regional NAT gateway is - a single NAT Gateway that works across multiple availability zones (AZs) - in your VPC, providing redundancy, scalability and availability across - all the AZs in a Region. - - For more information, see [Regional NAT gateways for automatic multi-AZ - expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) - in the *Amazon VPC User Guide*. - """ - auto_scaling_ips: str | None = ... - """ - For regional NAT gateways only: Indicates whether Amazon Web Services - automatically allocates additional Elastic IP addresses (EIPs) in an AZ - when the NAT gateway needs more ports due to increased concurrent - connections to a single destination from that AZ. - - For more information, see [Regional NAT gateways for automatic multi-AZ - expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) - in the *Amazon VPC User Guide*. - """ - auto_provision_zones: str | None = ... - """ - For regional NAT gateways only: Indicates whether Amazon Web Services - automatically manages AZ coverage. When enabled, the NAT gateway - associates EIPs in all AZs where your VPC has subnets to handle outbound - NAT traffic, expands to new AZs when you create subnets there, and - retracts from AZs where you've removed all subnets. When disabled, you - must manually manage which AZs the NAT gateway supports and their - corresponding EIPs. - - A regional NAT gateway is a single NAT Gateway that works across - multiple availability zones (AZs) in your VPC, providing redundancy, - scalability and availability across all the AZs in a Region. - - For more information, see [Regional NAT gateways for automatic multi-AZ - expansion](https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateways-regional.html) - in the *Amazon VPC User Guide*. - """ - attached_appliances: list[NatGatewayAttachedAppliance] | None = ... - """ - The proxy appliances attached to the NAT Gateway for filtering and - inspecting traffic to prevent data exfiltration. - """ - route_table_id: str | None = ... - """For regional NAT gateways only, this is the ID of the NAT gateway.""" - -@dataclass(kw_only=True) -class NatGatewayAddress(_SerdeShape): - """ - Describes the IP addresses and network interface associated with a NAT - gateway. - """ - - allocation_id: str | None = ... - """ - [Public NAT gateway only] The allocation ID of the Elastic IP address - that's associated with the NAT gateway. - """ - network_interface_id: str | None = ... - """The ID of the network interface associated with the NAT gateway.""" - private_ip: str | None = ... - """The private IP address associated with the NAT gateway.""" - public_ip: str | None = ... - """ - [Public NAT gateway only] The Elastic IP address associated with the - NAT gateway. - """ - association_id: str | None = ... - """ - [Public NAT gateway only] The association ID of the Elastic IP address - that's associated with the NAT gateway. - """ - is_primary: bool | None = ... - """Defines if the IP address is the primary address.""" - failure_message: str | None = ... - """The address failure message.""" - status: str | None = ... - """The address status.""" - availability_zone: str | None = ... - """ - The Availability Zone where this Elastic IP address (EIP) is being used - to handle outbound NAT traffic. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone where this Elastic IP address (EIP) is - being used to handle outbound NAT traffic. Use this instead of - AvailabilityZone for consistent identification of AZs across Amazon Web - Services Regions. - """ - -class NatGatewayAddressStatus(UnknownEnumMixin, StrEnum): - ASSIGNING = "assigning" - UNASSIGNING = "unassigning" - ASSOCIATING = "associating" - DISASSOCIATING = "disassociating" - SUCCEEDED = "succeeded" - FAILED = "failed" - -class NatGatewayApplianceModifyState(UnknownEnumMixin, StrEnum): - MODIFYING = "modifying" - COMPLETED = "completed" - FAILED = "failed" - -class NatGatewayApplianceState(UnknownEnumMixin, StrEnum): - ATTACHING = "attaching" - ATTACHED = "attached" - DETACHING = "detaching" - DETACHED = "detached" - ATTACH_FAILED = "attach-failed" - DETACH_FAILED = "detach-failed" - -class NatGatewayApplianceType(UnknownEnumMixin, StrEnum): - NETWORK_FIREWALL_PROXY = "network-firewall-proxy" - -@dataclass(kw_only=True) -class NatGatewayAttachedAppliance(_SerdeShape): - """ - Information about an appliance attached to a NAT Gateway, providing - managed security solutions for traffic filtering and inspection. - """ - - type: str | None = ... - """ - The type of appliance attached to the NAT Gateway. For network firewall - proxy functionality, this will be \"network-firewall-proxy\". - """ - appliance_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the attached appliance, identifying - the specific proxy or security appliance resource. - """ - vpc_endpoint_id: str | None = ... - """ - The VPC endpoint ID used to route traffic from application VPCs to the - proxy for inspection and filtering. - """ - attachment_state: str | None = ... - """The current attachment state of the appliance.""" - modification_state: str | None = ... - """The current modification state of the appliance.""" - failure_code: str | None = ... - """ - The failure code if the appliance attachment or modification operation - failed. - """ - failure_message: str | None = ... - """ - A descriptive message explaining the failure if the appliance attachment - or modification operation failed. - """ - -class NatGatewayState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - FAILED = "failed" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class NativeApplicationOidcOptions(_SerdeShape): - """Describes the OpenID Connect (OIDC) options.""" - - public_signing_key_endpoint: str | None = ... - """The public signing key endpoint.""" - issuer: str | None = ... - """The OIDC issuer identifier of the IdP.""" - authorization_endpoint: str | None = ... - """The authorization endpoint of the IdP.""" - token_endpoint: str | None = ... - """The token endpoint of the IdP.""" - user_info_endpoint: str | None = ... - """The user info endpoint of the IdP.""" - client_id: str | None = ... - """The OAuth 2.0 client identifier.""" - scope: str | None = ... - """The set of user claims to be requested from the IdP.""" - -class NestedVirtualizationSpecification(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class NetworkAcl(_SerdeShape): - """Describes a network ACL.""" - - associations: list[NetworkAclAssociation] | None = ... - """Any associations between the network ACL and your subnets""" - entries: list[NetworkAclEntry] | None = ... - """The entries (rules) in the network ACL.""" - is_default: bool | None = ... - """Indicates whether this is the default network ACL for the VPC.""" - network_acl_id: str | None = ... - """The ID of the network ACL.""" - tags: list[Tag] | None = ... - """Any tags assigned to the network ACL.""" - vpc_id: str | None = ... - """The ID of the VPC for the network ACL.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the network ACL.""" - -@dataclass(kw_only=True) -class NetworkAclAssociation(_SerdeShape): - """Describes an association between a network ACL and a subnet.""" - - network_acl_association_id: str | None = ... - """The ID of the association between a network ACL and a subnet.""" - network_acl_id: str | None = ... - """The ID of the network ACL.""" - subnet_id: str | None = ... - """The ID of the subnet.""" - -@dataclass(kw_only=True) -class NetworkAclEntry(_SerdeShape): - """Describes an entry in a network ACL.""" - - cidr_block: str | None = ... - """The IPv4 network range to allow or deny, in CIDR notation.""" - egress: bool | None = ... - """ - Indicates whether the rule is an egress rule (applied to traffic leaving - the subnet). - """ - icmp_type_code: IcmpTypeCode | None = ... - """ICMP protocol: The ICMP type and code.""" - ipv6_cidr_block: str | None = ... - """The IPv6 network range to allow or deny, in CIDR notation.""" - port_range: PortRange | None = ... - """TCP or UDP protocols: The range of ports the rule applies to.""" - protocol: str | None = ... - """The protocol number. A value of \"-1\" means all protocols.""" - rule_action: str | None = ... - """Indicates whether to allow or deny the traffic that matches the rule.""" - rule_number: int | None = ... - """ - The rule number for the entry. ACL entries are processed in ascending - order by rule number. - """ - -@dataclass(kw_only=True) -class NetworkBandwidthGbps(_SerdeShape): - """ - The minimum and maximum amount of network bandwidth, in gigabits per - second (Gbps). - - Note: - Setting the minimum bandwidth does not guarantee that your instance will - achieve the minimum bandwidth. Amazon EC2 will identify instance types - that support the specified minimum bandwidth, but the actual bandwidth - of your instance might go below the specified minimum at times. For more - information, see [Available instance - bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth) - in the *Amazon EC2 User Guide*. - """ - - min: float | None = ... - """ - The minimum amount of network bandwidth, in Gbps. If this parameter is - not specified, there is no minimum limit. - """ - max: float | None = ... - """ - The maximum amount of network bandwidth, in Gbps. If this parameter is - not specified, there is no maximum limit. - """ - -@dataclass(kw_only=True) -class NetworkBandwidthGbpsRequest(_SerdeShape): - """ - The minimum and maximum amount of network bandwidth, in gigabits per - second (Gbps). - - Note: - Setting the minimum bandwidth does not guarantee that your instance will - achieve the minimum bandwidth. Amazon EC2 will identify instance types - that support the specified minimum bandwidth, but the actual bandwidth - of your instance might go below the specified minimum at times. For more - information, see [Available instance - bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth) - in the *Amazon EC2 User Guide*. - """ - - min: float | None = ... - """ - The minimum amount of network bandwidth, in Gbps. To specify no minimum - limit, omit this parameter. - """ - max: float | None = ... - """ - The maximum amount of network bandwidth, in Gbps. To specify no maximum - limit, omit this parameter. - """ - -@dataclass(kw_only=True) -class NetworkCardInfo(_SerdeShape): - """Describes the network card support of the instance type.""" - - network_card_index: int | None = ... - """The index of the network card.""" - network_performance: str | None = ... - """The network performance of the network card.""" - maximum_network_interfaces: int | None = ... - """The maximum number of network interfaces for the network card.""" - additional_flexible_network_interfaces: int | None = ... - """ - The number of additional network interfaces that can be attached to an - instance when using flexible Elastic Network Adapter (ENA) queues. This - number is in addition to the base number specified by - `maximumNetworkInterfaces`. - """ - baseline_bandwidth_in_gbps: float | None = ... - """The baseline network performance of the network card, in Gbps.""" - peak_bandwidth_in_gbps: float | None = ... - """The peak (burst) network performance of the network card, in Gbps.""" - default_ena_queue_count_per_interface: int | None = ... - """The default number of the ENA queues for each interface.""" - maximum_ena_queue_count: int | None = ... - """The maximum number of the ENA queues.""" - maximum_ena_queue_count_per_interface: int | None = ... - """The maximum number of the ENA queues for each interface.""" - interface_types: list[str] | None = ... - """The supported interface types for the network card.""" - -class NetworkCardInterfaceType(UnknownEnumMixin, StrEnum): - INTERFACE = "interface" - EFA = "efa" - EFA_ONLY = "efa-only" - SECONDARY = "secondary" - -@dataclass(kw_only=True) -class NetworkInfo(_SerdeShape): - """Describes the networking features of the instance type.""" - - network_performance: str | None = ... - """The network performance.""" - maximum_network_interfaces: int | None = ... - """The maximum number of network interfaces for the instance type.""" - maximum_network_cards: int | None = ... - """ - The maximum number of physical network cards that can be allocated to - the instance. - """ - default_network_card_index: int | None = ... - """The index of the default network card, starting at 0.""" - network_cards: list[NetworkCardInfo] | None = ... - """Describes the network cards for the instance type.""" - ipv4_addresses_per_interface: int | None = ... - """The maximum number of IPv4 addresses per network interface.""" - ipv6_addresses_per_interface: int | None = ... - """The maximum number of IPv6 addresses per network interface.""" - ipv6_supported: bool | None = ... - """Indicates whether IPv6 is supported.""" - ena_support: str | None = ... - """Indicates whether Elastic Network Adapter (ENA) is supported.""" - efa_supported: bool | None = ... - """Indicates whether Elastic Fabric Adapter (EFA) is supported.""" - efa_info: EfaInfo | None = ... - """Describes the Elastic Fabric Adapters for the instance type.""" - encryption_in_transit_supported: bool | None = ... - """ - Indicates whether the instance type automatically encrypts in-transit - traffic between instances. - """ - ena_srd_supported: bool | None = ... - """ - Indicates whether the instance type supports ENA Express. ENA Express - uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to - increase the maximum bandwidth used per stream and minimize tail latency - of network traffic between EC2 instances. - """ - bandwidth_weightings: list[str] | None = ... - """ - A list of valid settings for configurable bandwidth weighting for the - instance type, if supported. - """ - flexible_ena_queues_support: str | None = ... - """Indicates whether changing the number of ENA queues is supported.""" - connection_tracking_configuration: ( - DefaultConnectionTrackingConfiguration | None - ) = ... - """Indicates conntrack information for the instance type""" - secondary_network_supported: bool | None = ... - """ - Indicates whether secondary interface attachments from secondary network - are supported. - """ - maximum_secondary_network_interfaces: int | None = ... - """The maximum number of secondary interfaces for the instance type.""" - ipv4_addresses_per_secondary_interface: int | None = ... - """The maximum number of IPv4 addresses per secondary interface.""" - -@dataclass(kw_only=True) -class NetworkInsightsAccessScope(_SerdeShape): - """Describes a Network Access Scope.""" - - network_insights_access_scope_id: str | None = ... - """The ID of the Network Access Scope.""" - network_insights_access_scope_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Network Access Scope.""" - created_date: datetime | None = ... - """The creation date.""" - updated_date: datetime | None = ... - """The last updated date.""" - tags: list[Tag] | None = ... - """The tags.""" - -@dataclass(kw_only=True) -class NetworkInsightsAccessScopeAnalysis(_SerdeShape): - """Describes a Network Access Scope analysis.""" - - network_insights_access_scope_analysis_id: str | None = ... - """The ID of the Network Access Scope analysis.""" - network_insights_access_scope_analysis_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Network Access Scope analysis.""" - network_insights_access_scope_id: str | None = ... - """The ID of the Network Access Scope.""" - status: str | None = ... - """The status.""" - status_message: str | None = ... - """The status message.""" - warning_message: str | None = ... - """The warning message.""" - start_date: datetime | None = ... - """The analysis start date.""" - end_date: datetime | None = ... - """The analysis end date.""" - findings_found: str | None = ... - """Indicates whether there are findings.""" - analyzed_eni_count: int | None = ... - """The number of network interfaces analyzed.""" - tags: list[Tag] | None = ... - """The tags.""" - -@dataclass(kw_only=True) -class NetworkInsightsAccessScopeContent(_SerdeShape): - """Describes the Network Access Scope content.""" - - network_insights_access_scope_id: str | None = ... - """The ID of the Network Access Scope.""" - match_paths: list[AccessScopePath] | None = ... - """The paths to match.""" - exclude_paths: list[AccessScopePath] | None = ... - """The paths to exclude.""" - -@dataclass(kw_only=True) -class NetworkInsightsAnalysis(_SerdeShape): - """Describes a network insights analysis.""" - - network_insights_analysis_id: str | None = ... - """The ID of the network insights analysis.""" - network_insights_analysis_arn: str | None = ... - """The Amazon Resource Name (ARN) of the network insights analysis.""" - network_insights_path_id: str | None = ... - """The ID of the path.""" - additional_accounts: list[str] | None = ... - """The member accounts that contain resources that the path can traverse.""" - filter_in_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARN) of the resources that the path must - traverse. - """ - filter_out_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARN) of the resources that the path must - ignore. - """ - start_date: datetime | None = ... - """The time the analysis started.""" - status: str | None = ... - """The status of the network insights analysis.""" - status_message: str | None = ... - """The status message, if the status is `failed`.""" - warning_message: str | None = ... - """The warning message.""" - network_path_found: bool | None = ... - """Indicates whether the destination is reachable from the source.""" - forward_path_components: list[PathComponent] | None = ... - """The components in the path from source to destination.""" - return_path_components: list[PathComponent] | None = ... - """The components in the path from destination to source.""" - explanations: list[Explanation] | None = ... - """ - The explanations. For more information, see [Reachability Analyzer - explanation - codes](https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html). - """ - alternate_path_hints: list[AlternatePathHint] | None = ... - """Potential intermediate components.""" - suggested_accounts: list[str] | None = ... - """Potential intermediate accounts.""" - tags: list[Tag] | None = ... - """The tags.""" - -@dataclass(kw_only=True) -class NetworkInsightsPath(_SerdeShape): - """Describes a path.""" - - network_insights_path_id: str | None = ... - """The ID of the path.""" - network_insights_path_arn: str | None = ... - """The Amazon Resource Name (ARN) of the path.""" - created_date: datetime | None = ... - """The time stamp when the path was created.""" - source: str | None = ... - """The ID of the source.""" - destination: str | None = ... - """The ID of the destination.""" - source_arn: str | None = ... - """The Amazon Resource Name (ARN) of the source.""" - destination_arn: str | None = ... - """The Amazon Resource Name (ARN) of the destination.""" - source_ip: str | None = ... - """The IP address of the source.""" - destination_ip: str | None = ... - """The IP address of the destination.""" - protocol: str | None = ... - """The protocol.""" - destination_port: int | None = ... - """The destination port.""" - tags: list[Tag] | None = ... - """The tags associated with the path.""" - filter_at_source: PathFilter | None = ... - """ - Scopes the analysis to network paths that match specific filters at the - source. - """ - filter_at_destination: PathFilter | None = ... - """ - Scopes the analysis to network paths that match specific filters at the - destination. - """ - -@dataclass(kw_only=True) -class NetworkInterface(_SerdeShape): - """Describes a network interface.""" - - association: NetworkInterfaceAssociation | None = ... - """ - The association information for an Elastic IP address (IPv4) associated - with the network interface. - """ - attachment: NetworkInterfaceAttachment | None = ... - """The network interface attachment.""" - availability_zone: str | None = ... - """The Availability Zone.""" - connection_tracking_configuration: ConnectionTrackingConfiguration | None = ... - """ - A security group connection tracking configuration that enables you to - set the timeout for connection tracking on an Elastic network interface. - For more information, see [Connection tracking - timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) - in the *Amazon EC2 User Guide*. - """ - description: str | None = ... - """A description.""" - groups: list[GroupIdentifier] | None = ... - """Any security groups for the network interface.""" - interface_type: str | None = ... - """The type of network interface.""" - ipv6_addresses: list[NetworkInterfaceIpv6Address] | None = ... - """The IPv6 addresses associated with the network interface.""" - mac_address: str | None = ... - """The MAC address.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - outpost_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - owner_id: str | None = ... - """ - The Amazon Web Services account ID of the owner of the network - interface. - """ - private_dns_name: str | None = ... - """ - The private hostname. For more information, see [EC2 instance hostnames, - DNS names, and - domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) - in the *Amazon EC2 User Guide*. - """ - public_dns_name: str | None = ... - """ - A public hostname. For more information, see [EC2 instance hostnames, - DNS names, and - domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) - in the *Amazon EC2 User Guide*. - """ - public_ip_dns_name_options: PublicIpDnsNameOptions | None = ... - """ - Public hostname type options. For more information, see [EC2 instance - hostnames, DNS names, and - domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) - in the *Amazon EC2 User Guide*. - """ - private_ip_address: str | None = ... - """The IPv4 address of the network interface within the subnet.""" - private_ip_addresses: list[NetworkInterfacePrivateIpAddress] | None = ... - """The private IPv4 addresses associated with the network interface.""" - ipv4_prefixes: list[Ipv4PrefixSpecification] | None = ... - """The IPv4 prefixes that are assigned to the network interface.""" - ipv6_prefixes: list[Ipv6PrefixSpecification] | None = ... - """The IPv6 prefixes that are assigned to the network interface.""" - requester_id: str | None = ... - """ - The alias or Amazon Web Services account ID of the principal or service - that created the network interface. - """ - requester_managed: bool | None = ... - """ - Indicates whether the network interface is being managed by Amazon Web - Services. - """ - source_dest_check: bool | None = ... - """Indicates whether source/destination checking is enabled.""" - status: str | None = ... - """The status of the network interface.""" - subnet_id: str | None = ... - """The ID of the subnet.""" - tag_set: list[Tag] | None = ... - """Any tags assigned to the network interface.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - deny_all_igw_traffic: bool | None = ... - """ - Indicates whether a network interface with an IPv6 address is - unreachable from the public internet. If the value is `true`, inbound - traffic from the internet is dropped and you cannot assign an elastic IP - address to the network interface. The network interface is reachable - from peered VPCs and resources connected through a transit gateway, - including on-premises networks. - """ - ipv6_native: bool | None = ... - """Indicates whether this is an IPv6 only network interface.""" - ipv6_address: str | None = ... - """The IPv6 globally unique address associated with the network interface.""" - operator: OperatorResponse | None = ... - """The service provider that manages the network interface.""" - associated_subnets: list[str] | None = ... - """The subnets associated with this network interface.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - -@dataclass(kw_only=True) -class NetworkInterfaceAssociation(_SerdeShape): - """ - Describes association information for an Elastic IP address (IPv4 only), - or a Carrier IP address (for a network interface which resides in a - subnet in a Wavelength Zone). - """ - - allocation_id: str | None = ... - """The allocation ID.""" - association_id: str | None = ... - """The association ID.""" - ip_owner_id: str | None = ... - """The ID of the Elastic IP address owner.""" - public_dns_name: str | None = ... - """The public DNS name.""" - public_ip: str | None = ... - """The address of the Elastic IP address bound to the network interface.""" - customer_owned_ip: str | None = ... - """The customer-owned IP address associated with the network interface.""" - carrier_ip: str | None = ... - """ - The carrier IP address associated with the network interface. - - This option is only available when the network interface is in a subnet - which is associated with a Wavelength Zone. - """ - -@dataclass(kw_only=True) -class NetworkInterfaceAttachment(_SerdeShape): - """Describes a network interface attachment.""" - - attach_time: datetime | None = ... - """The timestamp indicating when the attachment initiated.""" - attachment_id: str | None = ... - """The ID of the network interface attachment.""" - delete_on_termination: bool | None = ... - """ - Indicates whether the network interface is deleted when the instance is - terminated. - """ - device_index: int | None = ... - """The device index of the network interface attachment on the instance.""" - network_card_index: int | None = ... - """The index of the network card.""" - instance_id: str | None = ... - """The ID of the instance.""" - instance_owner_id: str | None = ... - """The Amazon Web Services account ID of the owner of the instance.""" - status: str | None = ... - """The attachment state.""" - ena_srd_specification: AttachmentEnaSrdSpecification | None = ... - """ - Configures ENA Express for the network interface that this action - attaches to the instance. - """ - ena_queue_count: int | None = ... - """The number of ENA queues created with the instance.""" - -@dataclass(kw_only=True) -class NetworkInterfaceAttachmentChanges(_SerdeShape): - """Describes an attachment change.""" - - default_ena_queue_count: bool | None = ... - """The default number of the ENA queues.""" - ena_queue_count: int | None = ... - """The number of ENA queues to be created with the instance.""" - attachment_id: str | None = ... - """The ID of the network interface attachment.""" - delete_on_termination: bool | None = ... - """ - Indicates whether the network interface is deleted when the instance is - terminated. - """ - -class NetworkInterfaceAttribute(UnknownEnumMixin, StrEnum): - DESCRIPTION = "description" - GROUP_SET = "groupSet" - SOURCE_DEST_CHECK = "sourceDestCheck" - ATTACHMENT = "attachment" - ASSOCIATE_PUBLIC_IP_ADDRESS = "associatePublicIpAddress" - -@dataclass(kw_only=True) -class NetworkInterfaceCount(_SerdeShape): - """The minimum and maximum number of network interfaces.""" - - min: int | None = ... - """ - The minimum number of network interfaces. If this parameter is not - specified, there is no minimum limit. - """ - max: int | None = ... - """ - The maximum number of network interfaces. If this parameter is not - specified, there is no maximum limit. - """ - -@dataclass(kw_only=True) -class NetworkInterfaceCountRequest(_SerdeShape): - """The minimum and maximum number of network interfaces.""" - - min: int | None = ... - """ - The minimum number of network interfaces. To specify no minimum limit, - omit this parameter. - """ - max: int | None = ... - """ - The maximum number of network interfaces. To specify no maximum limit, - omit this parameter. - """ - -class NetworkInterfaceCreationType(UnknownEnumMixin, StrEnum): - EFA = "efa" - EFA_ONLY = "efa-only" - BRANCH = "branch" - TRUNK = "trunk" - -@dataclass(kw_only=True) -class NetworkInterfaceIpv6Address(_SerdeShape): - """Describes an IPv6 address associated with a network interface.""" - - ipv6_address: str | None = ... - """The IPv6 address.""" - public_ipv6_dns_name: str | None = ... - """ - An IPv6-enabled public hostname for a network interface. Requests from - within the VPC or from the internet resolve to the IPv6 GUA of the - network interface. For more information, see [EC2 instance hostnames, - DNS names, and - domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) - in the *Amazon EC2 User Guide*. - """ - is_primary_ipv6: bool | None = ... - """ - Determines if an IPv6 address associated with a network interface is the - primary IPv6 address. When you enable an IPv6 GUA address to be a - primary IPv6, the first IPv6 GUA will be made the primary IPv6 address - until the instance is terminated or the network interface is detached. - For more information, see - [ModifyNetworkInterfaceAttribute](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyNetworkInterfaceAttribute.html). - """ - -@dataclass(kw_only=True) -class NetworkInterfacePermission(_SerdeShape): - """Describes a permission for a network interface.""" - - network_interface_permission_id: str | None = ... - """The ID of the network interface permission.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - aws_account_id: str | None = ... - """The Amazon Web Services account ID.""" - aws_service: str | None = ... - """The Amazon Web Services service.""" - permission: str | None = ... - """The type of permission.""" - permission_state: NetworkInterfacePermissionState | None = ... - """Information about the state of the permission.""" - -@dataclass(kw_only=True) -class NetworkInterfacePermissionState(_SerdeShape): - """Describes the state of a network interface permission.""" - - state: str | None = ... - """The state of the permission.""" - status_message: str | None = ... - """A status message, if applicable.""" - -class NetworkInterfacePermissionStateCode(UnknownEnumMixin, StrEnum): - PENDING = "pending" - GRANTED = "granted" - REVOKING = "revoking" - REVOKED = "revoked" - -@dataclass(kw_only=True) -class NetworkInterfacePrivateIpAddress(_SerdeShape): - """Describes the private IPv4 address of a network interface.""" - - association: NetworkInterfaceAssociation | None = ... - """ - The association information for an Elastic IP address (IPv4) associated - with the network interface. - """ - primary: bool | None = ... - """ - Indicates whether this IPv4 address is the primary private IPv4 address - of the network interface. - """ - private_dns_name: str | None = ... - """The private DNS name.""" - private_ip_address: str | None = ... - """The private IPv4 address.""" - -class NetworkInterfaceStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - ASSOCIATED = "associated" - ATTACHING = "attaching" - IN_USE = "in-use" - DETACHING = "detaching" - -class NetworkInterfaceType(UnknownEnumMixin, StrEnum): - INTERFACE = "interface" - NAT_GATEWAY = "natGateway" - EFA = "efa" - EFA_ONLY = "efa-only" - TRUNK = "trunk" - LOAD_BALANCER = "load_balancer" - NETWORK_LOAD_BALANCER = "network_load_balancer" - VPC_ENDPOINT = "vpc_endpoint" - BRANCH = "branch" - TRANSIT_GATEWAY = "transit_gateway" - LAMBDA_ = "lambda" - QUICKSIGHT = "quicksight" - GLOBAL_ACCELERATOR_MANAGED = "global_accelerator_managed" - API_GATEWAY_MANAGED = "api_gateway_managed" - GATEWAY_LOAD_BALANCER = "gateway_load_balancer" - GATEWAY_LOAD_BALANCER_ENDPOINT = "gateway_load_balancer_endpoint" - IOT_RULES_MANAGED = "iot_rules_managed" - AWS_CODESTAR_CONNECTIONS_MANAGED = "aws_codestar_connections_managed" - -class NetworkProtocolEnum(UnknownEnumMixin, StrEnum): - HTTP = "http" - HTTPS = "https" - -@dataclass(kw_only=True) -class NeuronDeviceCoreInfo(_SerdeShape): - """Describes the cores available to the neuron accelerator.""" - - count: int | None = ... - """The number of cores available to the neuron accelerator.""" - version: int | None = ... - """The version of the neuron accelerator.""" - -@dataclass(kw_only=True) -class NeuronDeviceInfo(_SerdeShape): - """Describes the neuron accelerators for the instance type.""" - - count: int | None = ... - """The number of neuron accelerators for the instance type.""" - name: str | None = ... - """The name of the neuron accelerator.""" - core_info: NeuronDeviceCoreInfo | None = ... - """Describes the cores available to each neuron accelerator.""" - memory_info: NeuronDeviceMemoryInfo | None = ... - """Describes the memory available to each neuron accelerator.""" - -@dataclass(kw_only=True) -class NeuronDeviceMemoryInfo(_SerdeShape): - """Describes the memory available to the neuron accelerator.""" - - size_in_mi_b: int | None = ... - """The size of the memory available to the neuron accelerator, in MiB.""" - -@dataclass(kw_only=True) -class NeuronInfo(_SerdeShape): - """Describes the neuron accelerators for the instance type.""" - - neuron_devices: list[NeuronDeviceInfo] | None = ... - """Describes the neuron accelerators for the instance type.""" - total_neuron_device_memory_in_mi_b: int | None = ... - """ - The total size of the memory for the neuron accelerators for the - instance type, in MiB. - """ - -@dataclass(kw_only=True) -class NewDhcpConfiguration(_SerdeShape): - """Describes a DHCP configuration option.""" - - key: str | None = ... - """The name of a DHCP option.""" - values: list[str] | None = ... - """The values for the DHCP option.""" - -class NitroEnclavesSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - -@dataclass(kw_only=True) -class NitroTpmInfo(_SerdeShape): - """Describes the supported NitroTPM versions for the instance type.""" - - supported_versions: list[str] | None = ... - """Indicates the supported NitroTPM versions.""" - -class NitroTpmSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - -class OfferingClassType(UnknownEnumMixin, StrEnum): - STANDARD = "standard" - CONVERTIBLE = "convertible" - -class OfferingTypeValues(UnknownEnumMixin, StrEnum): - HEAVY_UTILIZATION = "Heavy Utilization" - MEDIUM_UTILIZATION = "Medium Utilization" - LIGHT_UTILIZATION = "Light Utilization" - NO_UPFRONT = "No Upfront" - PARTIAL_UPFRONT = "Partial Upfront" - ALL_UPFRONT = "All Upfront" - -@dataclass(kw_only=True) -class OidcOptions(_SerdeShape): - """ - Describes the options for an OpenID Connect-compatible user-identity - trust provider. - """ - - issuer: str | None = ... - """The OIDC issuer.""" - authorization_endpoint: str | None = ... - """The OIDC authorization endpoint.""" - token_endpoint: str | None = ... - """The OIDC token endpoint.""" - user_info_endpoint: str | None = ... - """The OIDC user info endpoint.""" - client_id: str | None = ... - """The client identifier.""" - client_secret: str | None = ... - """The client secret.""" - scope: str | None = ... - """The OpenID Connect (OIDC) scope specified.""" - -class OnDemandAllocationStrategy(UnknownEnumMixin, StrEnum): - LOWEST_PRICE = "lowestPrice" - PRIORITIZED = "prioritized" - -@dataclass(kw_only=True) -class OnDemandOptions(_SerdeShape): - """Describes the configuration of On-Demand Instances in an EC2 Fleet.""" - - allocation_strategy: str | None = ... - """ - The strategy that determines the order of the launch template overrides - to use in fulfilling On-Demand capacity. - - `lowest-price` - EC2 Fleet uses price to determine the order, launching - the lowest price first. - - `prioritized` - EC2 Fleet uses the priority that you assigned to each - launch template override, launching the highest priority first. - - Default: `lowest-price` - """ - capacity_reservation_options: CapacityReservationOptions | None = ... - """ - The strategy for using unused Capacity Reservations for fulfilling - On-Demand capacity. - - Supported only for fleets of type `instant`. - """ - single_instance_type: bool | None = ... - """ - Indicates that the fleet uses a single instance type to launch all - On-Demand Instances in the fleet. - - Supported only for fleets of type `instant`. - """ - single_availability_zone: bool | None = ... - """ - Indicates that the fleet launches all On-Demand Instances into a single - Availability Zone. - - Supported only for fleets of type `instant`. - """ - min_target_capacity: int | None = ... - """ - The minimum target capacity for On-Demand Instances in the fleet. If - this minimum capacity isn't reached, no instances are launched. - - Constraints: Maximum value of `1000`. Supported only for fleets of type - `instant`. - - At least one of the following must be specified: - `SingleAvailabilityZone` | `SingleInstanceType` - """ - max_total_price: str | None = ... - """ - The maximum amount per hour for On-Demand Instances that you're willing - to pay. - - Note: - If your fleet includes T instances that are configured as `unlimited`, - and if their average CPU usage exceeds the baseline utilization, you - will incur a charge for surplus credits. The `maxTotalPrice` does not - account for surplus credits, and, if you use surplus credits, your final - cost might be higher than what you specified for `maxTotalPrice`. For - more information, see [Surplus credits can incur - charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class OnDemandOptionsRequest(_SerdeShape): - """Describes the configuration of On-Demand Instances in an EC2 Fleet.""" - - allocation_strategy: str | None = ... - """ - The strategy that determines the order of the launch template overrides - to use in fulfilling On-Demand capacity. - - `lowest-price` - EC2 Fleet uses price to determine the order, launching - the lowest price first. - - `prioritized` - EC2 Fleet uses the priority that you assigned to each - launch template override, launching the highest priority first. - - Default: `lowest-price` - """ - capacity_reservation_options: CapacityReservationOptionsRequest | None = ... - """ - The strategy for using unused Capacity Reservations for fulfilling - On-Demand capacity. - - Supported only for fleets of type `instant`. - """ - single_instance_type: bool | None = ... - """ - Indicates that the fleet uses a single instance type to launch all - On-Demand Instances in the fleet. - - Supported only for fleets of type `instant`. - """ - single_availability_zone: bool | None = ... - """ - Indicates that the fleet launches all On-Demand Instances into a single - Availability Zone. - - Supported only for fleets of type `instant`. - """ - min_target_capacity: int | None = ... - """ - The minimum target capacity for On-Demand Instances in the fleet. If - this minimum capacity isn't reached, no instances are launched. - - Constraints: Maximum value of `1000`. Supported only for fleets of type - `instant`. - - At least one of the following must be specified: - `SingleAvailabilityZone` | `SingleInstanceType` - """ - max_total_price: str | None = ... - """ - The maximum amount per hour for On-Demand Instances that you're willing - to pay. - - Note: - If your fleet includes T instances that are configured as `unlimited`, - and if their average CPU usage exceeds the baseline utilization, you - will incur a charge for surplus credits. The `MaxTotalPrice` does not - account for surplus credits, and, if you use surplus credits, your final - cost might be higher than what you specified for `MaxTotalPrice`. For - more information, see [Surplus credits can incur - charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) - in the *Amazon EC2 User Guide*. - """ - -class OperationType(UnknownEnumMixin, StrEnum): - ADD = "add" - REMOVE = "remove" - -@dataclass(kw_only=True) -class OperatorRequest(_SerdeShape): - """The service provider that manages the resource.""" - - principal: str | None = ... - """The service provider that manages the resource.""" - -@dataclass(kw_only=True) -class OperatorResponse(_SerdeShape): - """ - Describes whether the resource is managed by a service provider and, if - so, describes the service provider that manages it. - """ - - managed: bool | None = ... - """If `true`, the resource is managed by a service provider.""" - principal: str | None = ... - """ - If `managed` is `true`, then the principal is returned. The principal is - the service provider that manages the resource. - """ - hidden_by_default: bool | None = ... - """ - If `true`, the resource is hidden by default based on the managed - resource visibility settings for the account. - """ - -@dataclass(kw_only=True) -class OutpostLag(_SerdeShape): - """Describes an Outpost link aggregation group (LAG).""" - - outpost_arn: str | None = ... - """The Amazon Resource Number (ARN) of the Outpost LAG.""" - owner_id: str | None = ... - """The ID of the Outpost LAG owner.""" - state: str | None = ... - """The current state of the Outpost LAG.""" - outpost_lag_id: str | None = ... - """The ID of the Outpost LAG.""" - local_gateway_virtual_interface_ids: list[str] | None = ... - """ - The IDs of the local gateway virtual interfaces associated with the - Outpost LAG. - """ - service_link_virtual_interface_ids: list[str] | None = ... - """The service link virtual interface IDs associated with the Outpost LAG.""" - tags: list[Tag] | None = ... - """The tags associated with the Outpost LAG.""" - -class OutputFormat(UnknownEnumMixin, StrEnum): - CSV = "csv" - PARQUET = "parquet" - -@dataclass(kw_only=True) -class PacketHeaderStatement(_SerdeShape): - """Describes a packet header statement.""" - - source_addresses: list[str] | None = ... - """The source addresses.""" - destination_addresses: list[str] | None = ... - """The destination addresses.""" - source_ports: list[str] | None = ... - """The source ports.""" - destination_ports: list[str] | None = ... - """The destination ports.""" - source_prefix_lists: list[str] | None = ... - """The source prefix lists.""" - destination_prefix_lists: list[str] | None = ... - """The destination prefix lists.""" - protocols: list[str] | None = ... - """The protocols.""" - -@dataclass(kw_only=True) -class PacketHeaderStatementRequest(_SerdeShape): - """Describes a packet header statement.""" - - source_addresses: list[str] | None = ... - """The source addresses.""" - destination_addresses: list[str] | None = ... - """The destination addresses.""" - source_ports: list[str] | None = ... - """The source ports.""" - destination_ports: list[str] | None = ... - """The destination ports.""" - source_prefix_lists: list[str] | None = ... - """The source prefix lists.""" - destination_prefix_lists: list[str] | None = ... - """The destination prefix lists.""" - protocols: list[str] | None = ... - """The protocols.""" - -class PartitionLoadFrequency(UnknownEnumMixin, StrEnum): - NONE = "none" - DAILY = "daily" - WEEKLY = "weekly" - MONTHLY = "monthly" - -@dataclass(kw_only=True) -class PathComponent(_SerdeShape): - """Describes a path component.""" - - sequence_number: int | None = ... - """The sequence number.""" - acl_rule: AnalysisAclRule | None = ... - """The network ACL rule.""" - attached_to: AnalysisComponent | None = ... - """The resource to which the path component is attached.""" - component: AnalysisComponent | None = ... - """The component.""" - destination_vpc: AnalysisComponent | None = ... - """The destination VPC.""" - outbound_header: AnalysisPacketHeader | None = ... - """The outbound header.""" - inbound_header: AnalysisPacketHeader | None = ... - """The inbound header.""" - route_table_route: AnalysisRouteTableRoute | None = ... - """The route table route.""" - security_group_rule: AnalysisSecurityGroupRule | None = ... - """The security group rule.""" - source_vpc: AnalysisComponent | None = ... - """The source VPC.""" - subnet: AnalysisComponent | None = ... - """The subnet.""" - vpc: AnalysisComponent | None = ... - """The component VPC.""" - additional_details: list[AdditionalDetail] | None = ... - """The additional details.""" - transit_gateway: AnalysisComponent | None = ... - """The transit gateway.""" - transit_gateway_route_table_route: TransitGatewayRouteTableRoute | None = ... - """The route in a transit gateway route table.""" - transit_gateway_policy_table_entry: ( - AnalysisTransitGatewayPolicyTableEntry | None - ) = ... - """The entry in a transit gateway policy table.""" - explanations: list[Explanation] | None = ... - """The explanation codes.""" - elastic_load_balancer_listener: AnalysisComponent | None = ... - """The load balancer listener.""" - firewall_stateless_rule: FirewallStatelessRule | None = ... - """The Network Firewall stateless rule.""" - firewall_stateful_rule: FirewallStatefulRule | None = ... - """The Network Firewall stateful rule.""" - service_name: str | None = ... - """The name of the VPC endpoint service.""" - -@dataclass(kw_only=True) -class PathFilter(_SerdeShape): - """ - Describes a set of filters for a path analysis. Use path filters to - scope the analysis when there can be multiple resulting paths. - """ - - source_address: str | None = ... - """The source IPv4 address.""" - source_port_range: FilterPortRange | None = ... - """The source port range.""" - destination_address: str | None = ... - """The destination IPv4 address.""" - destination_port_range: FilterPortRange | None = ... - """The destination port range.""" - -@dataclass(kw_only=True) -class PathRequestFilter(_SerdeShape): - """ - Describes a set of filters for a path analysis. Use path filters to - scope the analysis when there can be multiple resulting paths. - """ - - source_address: str | None = ... - """The source IPv4 address.""" - source_port_range: RequestFilterPortRange | None = ... - """The source port range.""" - destination_address: str | None = ... - """The destination IPv4 address.""" - destination_port_range: RequestFilterPortRange | None = ... - """The destination port range.""" - -@dataclass(kw_only=True) -class PathStatement(_SerdeShape): - """Describes a path statement.""" - - packet_header_statement: PacketHeaderStatement | None = ... - """The packet header statement.""" - resource_statement: ResourceStatement | None = ... - """The resource statement.""" - -@dataclass(kw_only=True) -class PathStatementRequest(_SerdeShape): - """Describes a path statement.""" - - packet_header_statement: PacketHeaderStatementRequest | None = ... - """The packet header statement.""" - resource_statement: ResourceStatementRequest | None = ... - """The resource statement.""" - -class PayerResponsibility(UnknownEnumMixin, StrEnum): - SERVICE_OWNER = "ServiceOwner" - -@dataclass(kw_only=True) -class PayerResponsibilityEntry(_SerdeShape): - """Describes a payer responsibility setting for a VPC endpoint.""" - - scope: str | None = ... - """The scope of usage/charges.""" - payer_responsibility_type: str | None = ... - """The Amazon Web Services account to which the usage is charged.""" - -class PayerResponsibilityScope(UnknownEnumMixin, StrEnum): - VPC_ENDPOINT_CHARGES = "vpc-endpoint-charges" - RESOURCE_GATEWAY_CHARGES = "resource-gateway-charges" - -class PayerResponsibilityType(UnknownEnumMixin, StrEnum): - VPC_ENDPOINT_ACCOUNT = "vpc-endpoint-account" - RESOURCE_GATEWAY_ACCOUNT = "resource-gateway-account" - VPC_ENDPOINT_SERVICE_ACCOUNT = "vpc-endpoint-service-account" - -class PaymentOption(UnknownEnumMixin, StrEnum): - ALL_UPFRONT = "AllUpfront" - PARTIAL_UPFRONT = "PartialUpfront" - NO_UPFRONT = "NoUpfront" - -@dataclass(kw_only=True) -class PciId(_SerdeShape): - """ - Describes the data that identifies an Amazon FPGA image (AFI) on the PCI - bus. - """ - - device_id: str | None = ... - """The ID of the device.""" - vendor_id: str | None = ... - """The ID of the vendor.""" - subsystem_id: str | None = ... - """The ID of the subsystem.""" - subsystem_vendor_id: str | None = ... - """The ID of the vendor for the subsystem.""" - -@dataclass(kw_only=True) -class PeeringAttachmentStatus(_SerdeShape): - """The status of the transit gateway peering attachment.""" - - code: str | None = ... - """The status code.""" - message: str | None = ... - """The status message, if applicable.""" - -@dataclass(kw_only=True) -class PeeringConnectionOptions(_SerdeShape): - """Describes the VPC peering connection options.""" - - allow_dns_resolution_from_remote_vpc: bool | None = ... - """ - If true, the public DNS hostnames of instances in the specified VPC - resolve to private IP addresses when queried from instances in the peer - VPC. - """ - allow_egress_from_local_classic_link_to_remote_vpc: bool | None = ... - """Deprecated.""" - allow_egress_from_local_vpc_to_remote_classic_link: bool | None = ... - """Deprecated.""" - -@dataclass(kw_only=True) -class PeeringConnectionOptionsRequest(_SerdeShape): - """The VPC peering connection options.""" - - allow_dns_resolution_from_remote_vpc: bool | None = ... - """ - If true, enables a local VPC to resolve public DNS hostnames to private - IP addresses when queried from instances in the peer VPC. - """ - allow_egress_from_local_classic_link_to_remote_vpc: bool | None = ... - """Deprecated.""" - allow_egress_from_local_vpc_to_remote_classic_link: bool | None = ... - """Deprecated.""" - -@dataclass(kw_only=True) -class PeeringTgwInfo(_SerdeShape): - """Information about the transit gateway in the peering attachment.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - core_network_id: str | None = ... - """The ID of the core network where the transit gateway peer is located.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the transit gateway.""" - region: str | None = ... - """The Region of the transit gateway.""" - -@dataclass(kw_only=True) -class PerformanceFactorReference(_SerdeShape): - """ - Specify an instance family to use as the baseline reference for CPU - performance. All instance types that match your specified attributes - will be compared against the CPU performance of the referenced instance - family, regardless of CPU manufacturer or architecture. - - Note: - Currently, only one instance family can be specified in the list. - """ - - instance_family: str | None = ... - """ - The instance family to use as a baseline reference. - - Note: - Ensure that you specify the correct value for the instance family. The - instance family is everything before the period (`.`) in the instance - type name. For example, in the instance type `c6i.large`, the instance - family is `c6i`, not `c6`. For more information, see [Amazon EC2 - instance type naming - conventions](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html) - in *Amazon EC2 Instance Types*. - - The following instance families are *not supported* for performance - protection: - - - `c1` - - - `g3` | `g3s` - - - `hpc7g` - - - `m1` | `m2` - - - `mac1` | `mac2` | `mac2-m1ultra` | `mac2-m2` | `mac2-m2pro` - - - `p3dn` | `p4d` | `p5` - - - `t1` - - - `u-12tb1` | `u-18tb1` | `u-24tb1` | `u-3tb1` | `u-6tb1` | - `u-9tb1` | `u7i-12tb` | `u7in-16tb` | `u7in-24tb` | `u7in-32tb` - - If you enable performance protection by specifying a supported instance - family, the returned instance types will exclude the above unsupported - instance families. - - If you specify an unsupported instance family as a value for baseline - performance, the API returns an empty response for - [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements) - and an exception for - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet), - [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet), - [ModifyFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyFleet), - and - [ModifySpotFleetRequest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySpotFleetRequest). - """ - -@dataclass(kw_only=True) -class PerformanceFactorReferenceRequest(_SerdeShape): - """ - Specify an instance family to use as the baseline reference for CPU - performance. All instance types that match your specified attributes - will be compared against the CPU performance of the referenced instance - family, regardless of CPU manufacturer or architecture. - - Note: - Currently, only one instance family can be specified in the list. - """ - - instance_family: str | None = ... - """ - The instance family to use as a baseline reference. - - Note: - Ensure that you specify the correct value for the instance family. The - instance family is everything before the period (`.`) in the instance - type name. For example, in the instance type `c6i.large`, the instance - family is `c6i`, not `c6`. For more information, see [Amazon EC2 - instance type naming - conventions](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html) - in *Amazon EC2 Instance Types*. - - The following instance families are *not supported* for performance - protection: - - - `c1` - - - `g3` | `g3s` - - - `hpc7g` - - - `m1` | `m2` - - - `mac1` | `mac2` | `mac2-m1ultra` | `mac2-m2` | `mac2-m2pro` - - - `p3dn` | `p4d` | `p5` - - - `t1` - - - `u-12tb1` | `u-18tb1` | `u-24tb1` | `u-3tb1` | `u-6tb1` | - `u-9tb1` | `u7i-12tb` | `u7in-16tb` | `u7in-24tb` | `u7in-32tb` - - If you enable performance protection by specifying a supported instance - family, the returned instance types will exclude the above unsupported - instance families. - - If you specify an unsupported instance family as a value for baseline - performance, the API returns an empty response for - [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements) - and an exception for - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet), - [RequestSpotFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet), - [ModifyFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyFleet), - and - [ModifySpotFleetRequest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySpotFleetRequest). - """ - -@dataclass(kw_only=True) -class PerformanceStatusSummary(_SerdeShape): - """ - Provides a summary of the performance status check results for an - instance. - """ - - status: str | None = ... - """The current status.""" - impaired_since: datetime | None = ... - """The date and time when the performance status became impaired.""" - remediation: str | None = ... - """ - The recommended action to remediate the impaired instance, if one is - available. This value is returned only when the instance is impaired. - """ - -class PeriodType(UnknownEnumMixin, StrEnum): - FIVE_MINUTES = "five-minutes" - FIFTEEN_MINUTES = "fifteen-minutes" - ONE_HOUR = "one-hour" - THREE_HOURS = "three-hours" - ONE_DAY = "one-day" - ONE_WEEK = "one-week" - -class PermissionGroup(UnknownEnumMixin, StrEnum): - ALL = "all" - -@dataclass(kw_only=True) -class Phase1DHGroupNumbersListValue(_SerdeShape): - """The Diffie-Hellmann group number for phase 1 IKE negotiations.""" - - value: int | None = ... - """The Diffie-Hellmann group number.""" - -@dataclass(kw_only=True) -class Phase1DHGroupNumbersRequestListValue(_SerdeShape): - """ - Specifies a Diffie-Hellman group number for the VPN tunnel for phase 1 - IKE negotiations. - """ - - value: int | None = ... - """The Diffie-Hellmann group number.""" - -@dataclass(kw_only=True) -class Phase1EncryptionAlgorithmsListValue(_SerdeShape): - """The encryption algorithm for phase 1 IKE negotiations.""" - - value: str | None = ... - """The value for the encryption algorithm.""" - -@dataclass(kw_only=True) -class Phase1EncryptionAlgorithmsRequestListValue(_SerdeShape): - """ - Specifies the encryption algorithm for the VPN tunnel for phase 1 IKE - negotiations. - """ - - value: str | None = ... - """The value for the encryption algorithm.""" - -@dataclass(kw_only=True) -class Phase1IntegrityAlgorithmsListValue(_SerdeShape): - """The integrity algorithm for phase 1 IKE negotiations.""" - - value: str | None = ... - """The value for the integrity algorithm.""" - -@dataclass(kw_only=True) -class Phase1IntegrityAlgorithmsRequestListValue(_SerdeShape): - """ - Specifies the integrity algorithm for the VPN tunnel for phase 1 IKE - negotiations. - """ - - value: str | None = ... - """The value for the integrity algorithm.""" - -@dataclass(kw_only=True) -class Phase2DHGroupNumbersListValue(_SerdeShape): - """The Diffie-Hellmann group number for phase 2 IKE negotiations.""" - - value: int | None = ... - """The Diffie-Hellmann group number.""" - -@dataclass(kw_only=True) -class Phase2DHGroupNumbersRequestListValue(_SerdeShape): - """ - Specifies a Diffie-Hellman group number for the VPN tunnel for phase 2 - IKE negotiations. - """ - - value: int | None = ... - """The Diffie-Hellmann group number.""" - -@dataclass(kw_only=True) -class Phase2EncryptionAlgorithmsListValue(_SerdeShape): - """The encryption algorithm for phase 2 IKE negotiations.""" - - value: str | None = ... - """The encryption algorithm.""" - -@dataclass(kw_only=True) -class Phase2EncryptionAlgorithmsRequestListValue(_SerdeShape): - """ - Specifies the encryption algorithm for the VPN tunnel for phase 2 IKE - negotiations. - """ - - value: str | None = ... - """The encryption algorithm.""" - -@dataclass(kw_only=True) -class Phase2IntegrityAlgorithmsListValue(_SerdeShape): - """The integrity algorithm for phase 2 IKE negotiations.""" - - value: str | None = ... - """The integrity algorithm.""" - -@dataclass(kw_only=True) -class Phase2IntegrityAlgorithmsRequestListValue(_SerdeShape): - """ - Specifies the integrity algorithm for the VPN tunnel for phase 2 IKE - negotiations. - """ - - value: str | None = ... - """The integrity algorithm.""" - -class PhcSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - -@dataclass(kw_only=True) -class Placement(_SerdeShape): - """Describes the placement of an instance.""" - - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone of the instance. - - On input, you can specify `AvailabilityZone` or `AvailabilityZoneId`, - but not both. If you specify neither one, Amazon EC2 automatically - selects an Availability Zone for you. - - This parameter is not supported for - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). - """ - affinity: str | None = ... - """ - The affinity setting for the instance on the Dedicated Host. - - This parameter is not supported for - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) - or - [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html). - """ - group_name: str | None = ... - """ - The name of the placement group that the instance is in. - - On input, you can specify `GroupId` or `GroupName`, but not both. - """ - partition_number: int | None = ... - """ - The number of the partition that the instance is in. Valid only if the - placement group strategy is set to `partition`. - - This parameter is not supported for - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). - """ - host_id: str | None = ... - """ - The ID of the Dedicated Host on which the instance resides. - - This parameter is not supported for - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) - or - [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html). - """ - tenancy: str | None = ... - """ - The tenancy of the instance. An instance with a tenancy of `dedicated` - runs on single-tenant hardware. - - This parameter is not supported for - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). - The `host` tenancy is not supported for - [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) - or for T3 instances that are configured for the `unlimited` CPU credit - option. - """ - spread_domain: str | None = ... - """Reserved for future use.""" - host_resource_group_arn: str | None = ... - """ - The ARN of the host resource group in which to launch the instances. - - On input, if you specify this parameter, either omit the **Tenancy** - parameter or set it to `host`. - - This parameter is not supported for - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). - """ - group_id: str | None = ... - """ - The ID of the placement group that the instance is in. - - On input, you can specify `GroupId` or `GroupName`, but not both. - """ - availability_zone: str | None = ... - """ - The Availability Zone of the instance. - - On input, you can specify `AvailabilityZone` or `AvailabilityZoneId`, - but not both. If you specify neither one, Amazon EC2 automatically - selects an Availability Zone for you. - - This parameter is not supported for - [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet). - """ - -@dataclass(kw_only=True) -class PlacementGroup(_SerdeShape): - """Describes a placement group.""" - - group_name: str | None = ... - """The name of the placement group.""" - state: str | None = ... - """The state of the placement group.""" - strategy: str | None = ... - """The placement strategy.""" - partition_count: int | None = ... - """ - The number of partitions. Valid only if **strategy** is set to - `partition`. - """ - group_id: str | None = ... - """The ID of the placement group.""" - tags: list[Tag] | None = ... - """Any tags applied to the placement group.""" - group_arn: str | None = ... - """The Amazon Resource Name (ARN) of the placement group.""" - spread_level: str | None = ... - """ - The spread level for the placement group. *Only* Outpost placement - groups can be spread across hosts. - """ - linked_group_id: str | None = ... - """Reserved for future use.""" - operator: OperatorResponse | None = ... - """The service provider that manages the Placement Group.""" - parent_group_id: str | None = ... - """The ID of the parent placement group.""" - -@dataclass(kw_only=True) -class PlacementGroupInfo(_SerdeShape): - """Describes the placement group support of the instance type.""" - - supported_strategies: list[str] | None = ... - """The supported placement group types.""" - -class PlacementGroupState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -class PlacementGroupStrategy(UnknownEnumMixin, StrEnum): - CLUSTER = "cluster" - PARTITION = "partition" - SPREAD = "spread" - -@dataclass(kw_only=True) -class PlacementResponse(_SerdeShape): - """Describes the placement of an instance.""" - - group_name: str | None = ... - """The name of the placement group that the instance is in.""" - -class PlacementStrategy(UnknownEnumMixin, StrEnum): - CLUSTER = "cluster" - SPREAD = "spread" - PARTITION = "partition" - PRECISION_TIME = "precision-time" - -class PlatformValues(UnknownEnumMixin, StrEnum): - WINDOWS = "Windows" - -@dataclass(kw_only=True) -class PoolCidrBlock(_SerdeShape): - """Describes a CIDR block for an address pool.""" - - cidr: str | None = ... - """The CIDR block.""" - -@dataclass(kw_only=True) -class PortRange(_SerdeShape): - """Describes a range of ports.""" - - from_: int | None = ... - """The first port in the range.""" - to: int | None = ... - """The last port in the range.""" - -@dataclass(kw_only=True) -class PrefixList(_SerdeShape): - """Describes prefixes for Amazon Web Services services.""" - - cidrs: list[str] | None = ... - """The IP address range of the Amazon Web Services service.""" - prefix_list_id: str | None = ... - """The ID of the prefix.""" - prefix_list_name: str | None = ... - """The name of the prefix.""" - -@dataclass(kw_only=True) -class PrefixListAssociation(_SerdeShape): - """Describes the resource with which a prefix list is associated.""" - - resource_id: str | None = ... - """The ID of the resource.""" - resource_owner: str | None = ... - """The owner of the resource.""" - -@dataclass(kw_only=True) -class PrefixListEntry(_SerdeShape): - """Describes a prefix list entry.""" - - cidr: str | None = ... - """The CIDR block.""" - description: str | None = ... - """The description.""" - -@dataclass(kw_only=True) -class PrefixListId(_SerdeShape): - """Describes a prefix list ID.""" - - description: str | None = ... - """ - A description for the security group rule that references this prefix - list ID. - - Constraints: Up to 255 characters in length. Allowed characters are a-z, - A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* - """ - prefix_list_id: str | None = ... - """The ID of the prefix.""" - -class PrefixListState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - MODIFY_IN_PROGRESS = "modify-in-progress" - MODIFY_COMPLETE = "modify-complete" - MODIFY_FAILED = "modify-failed" - RESTORE_IN_PROGRESS = "restore-in-progress" - RESTORE_COMPLETE = "restore-complete" - RESTORE_FAILED = "restore-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - -@dataclass(kw_only=True) -class PriceSchedule(_SerdeShape): - """Describes the price for a Reserved Instance.""" - - active: bool | None = ... - """ - The current price schedule, as determined by the term remaining for the - Reserved Instance in the listing. - - A specific price schedule is always in effect, but only one price - schedule can be active at any time. Take, for example, a Reserved - Instance listing that has five months remaining in its term. When you - specify price schedules for five months and two months, this means that - schedule 1, covering the first three months of the remaining term, will - be active during months 5, 4, and 3. Then schedule 2, covering the last - two months of the term, will be active for months 2 and 1. - """ - currency_code: str | None = ... - """ - The currency for transacting the Reserved Instance resale. At this time, - the only supported currency is `USD`. - """ - price: float | None = ... - """The fixed price for the term.""" - term: int | None = ... - """ - The number of months remaining in the reservation. For example, 2 is the - second to the last month before the capacity reservation expires. - """ - -@dataclass(kw_only=True) -class PriceScheduleSpecification(_SerdeShape): - """Describes the price for a Reserved Instance.""" - - term: int | None = ... - """ - The number of months remaining in the reservation. For example, 2 is the - second to the last month before the capacity reservation expires. - """ - price: float | None = ... - """The fixed price for the term.""" - currency_code: str | None = ... - """ - The currency for transacting the Reserved Instance resale. At this time, - the only supported currency is `USD`. - """ - -@dataclass(kw_only=True) -class PricingDetail(_SerdeShape): - """Describes a Reserved Instance offering.""" - - count: int | None = ... - """The number of reservations available for the price.""" - price: float | None = ... - """The price per instance.""" - -@dataclass(kw_only=True) -class PrincipalIdFormat(_SerdeShape): - """PrincipalIdFormat description""" - - arn: str | None = ... - """PrincipalIdFormatARN description""" - statuses: list[IdFormat] | None = ... - """PrincipalIdFormatStatuses description""" - -class PrincipalType(UnknownEnumMixin, StrEnum): - ALL = "All" - SERVICE = "Service" - ORGANIZATION_UNIT = "OrganizationUnit" - ACCOUNT = "Account" - USER = "User" - ROLE = "Role" - -@dataclass(kw_only=True) -class PrivateDnsDetails(_SerdeShape): - """Information about the Private DNS name for interface endpoints.""" - - private_dns_name: str | None = ... - """The private DNS name assigned to the VPC endpoint service.""" - -@dataclass(kw_only=True) -class PrivateDnsNameConfiguration(_SerdeShape): - """Information about the private DNS name for the service endpoint.""" - - state: str | None = ... - """ - The verification state of the VPC endpoint service. - - Consumers of the endpoint service can use the private name only when the - state is `verified`. - """ - type: str | None = ... - """The endpoint service verification type, for example TXT.""" - value: str | None = ... - """ - The value the service provider adds to the private DNS name domain - record before verification. - """ - name: str | None = ... - """ - The name of the record subdomain the service provider needs to create. - The service provider adds the `value` text to the `name`. - """ - -@dataclass(kw_only=True) -class PrivateDnsNameOptionsOnLaunch(_SerdeShape): - """Describes the options for instance hostnames.""" - - hostname_type: str | None = ... - """ - The type of hostname for EC2 instances. For IPv4 only subnets, an - instance DNS name must be based on the instance IPv4 address. For IPv6 - only subnets, an instance DNS name must be based on the instance ID. For - dual-stack subnets, you can specify whether DNS names use the instance - IPv4 address or the instance ID. - """ - enable_resource_name_dns_a_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS A records. - """ - enable_resource_name_dns_aaaa_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostname with - DNS AAAA records. - """ - -@dataclass(kw_only=True) -class PrivateDnsNameOptionsRequest(_SerdeShape): - """Describes the options for instance hostnames.""" - - hostname_type: str | None = ... - """ - The type of hostname for EC2 instances. For IPv4 only subnets, an - instance DNS name must be based on the instance IPv4 address. For IPv6 - only subnets, an instance DNS name must be based on the instance ID. For - dual-stack subnets, you can specify whether DNS names use the instance - IPv4 address or the instance ID. - """ - enable_resource_name_dns_a_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS A records. - """ - enable_resource_name_dns_aaaa_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS AAAA records. - """ - -@dataclass(kw_only=True) -class PrivateDnsNameOptionsResponse(_SerdeShape): - """Describes the options for instance hostnames.""" - - hostname_type: str | None = ... - """The type of hostname to assign to an instance.""" - enable_resource_name_dns_a_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS A records. - """ - enable_resource_name_dns_aaaa_record: bool | None = ... - """ - Indicates whether to respond to DNS queries for instance hostnames with - DNS AAAA records. - """ - -@dataclass(kw_only=True) -class PrivateIpAddressSpecification(_SerdeShape): - """Describes a secondary private IPv4 address for a network interface.""" - - primary: bool | None = ... - """ - Indicates whether the private IPv4 address is the primary private IPv4 - address. Only one IPv4 address can be designated as primary. - """ - private_ip_address: str | None = ... - """The private IPv4 address.""" - -@dataclass(kw_only=True) -class ProcessorInfo(_SerdeShape): - """Describes the processor used by the instance type.""" - - supported_architectures: list[str] | None = ... - """The architectures supported by the instance type.""" - sustained_clock_speed_in_ghz: float | None = ... - """The speed of the processor, in GHz.""" - supported_features: list[str] | None = ... - """ - Indicates whether the instance type supports AMD SEV-SNP. If the request - returns `amd-sev-snp`, AMD SEV-SNP is supported. Otherwise, it is not - supported. For more information, see [AMD - SEV-SNP](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). - """ - manufacturer: str | None = ... - """The manufacturer of the processor.""" - -@dataclass(kw_only=True) -class ProductCode(_SerdeShape): - """Describes a product code.""" - - product_code_id: str | None = ... - """The product code.""" - product_code_type: str | None = ... - """The type of product code.""" - -class ProductCodeValues(UnknownEnumMixin, StrEnum): - DEVPAY = "devpay" - MARKETPLACE = "marketplace" - -@dataclass(kw_only=True) -class PropagatingVgw(_SerdeShape): - """Describes a virtual private gateway propagating route.""" - - gateway_id: str | None = ... - """The ID of the virtual private gateway.""" - -class Protocol(UnknownEnumMixin, StrEnum): - TCP = "tcp" - UDP = "udp" - -class ProtocolValue(UnknownEnumMixin, StrEnum): - GRE = "gre" - -@dataclass(kw_only=True) -class ProvisionByoipCidrInput(_SerdeShape): - """Dataclass for ProvisionByoipCidrInput structure.""" - - cidr: str | None = ... - """ - The public IPv4 or IPv6 address range, in CIDR notation. The most - specific IPv4 prefix that you can specify is /24. The most specific IPv6 - address range that you can bring is /48 for CIDRs that are publicly - advertisable and /56 for CIDRs that are not publicly advertisable. The - address range cannot overlap with another address range that you've - brought to this or another Region. - """ - cidr_authorization_context: CidrAuthorizationContext | None = ... - """ - A signed document that proves that you are authorized to bring the - specified IP address range to Amazon using BYOIP. - """ - publicly_advertisable: bool | None = ... - """ - (IPv6 only) Indicate whether the address range will be publicly - advertised to the internet. - - Default: true - """ - description: str | None = ... - """A description for the address range and the address pool.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - pool_tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the address pool.""" - multi_region: bool | None = ... - """Reserved.""" - network_border_group: str | None = ... - """ - If you have [Local - Zones](https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html) - enabled, you can choose a network border group for Local Zones when you - provision and advertise a BYOIPv4 CIDR. Choose the network border group - carefully as the EIP and the Amazon Web Services resource it is - associated with must reside in the same network border group. - - You can provision BYOIP address ranges to and advertise them in the - following Local Zone network border groups: - - - us-east-1-dfw-2 - - - us-west-2-lax-1 - - - us-west-2-phx-2 - - Note: - You cannot provision or advertise BYOIPv6 address ranges in Local Zones - at this time. - """ - -@dataclass(kw_only=True) -class ProvisionByoipCidrOutput(_SerdeShape): - """Dataclass for ProvisionByoipCidrOutput structure.""" - - byoip_cidr: ByoipCidr | None = ... - """Information about the address range.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ProvisionedBandwidth(_SerdeShape): - """ - Reserved. If you need to sustain traffic greater than the [documented - limits](https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways), - contact Amazon Web Services Support. - """ - - provision_time: datetime | None = ... - """Reserved.""" - provisioned: str | None = ... - """Reserved.""" - request_time: datetime | None = ... - """Reserved.""" - requested: str | None = ... - """Reserved.""" - status: str | None = ... - """Reserved.""" - -@dataclass(kw_only=True) -class ProvisionIpamByoasnInput(_SerdeShape): - """Dataclass for ProvisionIpamByoasnInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - ipam_id: str | None = ... - """An IPAM ID.""" - asn: str | None = ... - """A public 2-byte or 4-byte ASN.""" - asn_authorization_context: AsnAuthorizationContext | None = ... - """An ASN authorization context.""" - -@dataclass(kw_only=True) -class ProvisionIpamByoasnOutput(_SerdeShape): - """Dataclass for ProvisionIpamByoasnOutput structure.""" - - byoasn: Byoasn | None = ... - """An ASN and BYOIP CIDR association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ProvisionIpamPoolCidrInput(_SerdeShape): - """Dataclass for ProvisionIpamPoolCidrInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_id: str | None = ... - """The ID of the IPAM pool to which you want to assign a CIDR.""" - cidr: str | None = ... - """ - The CIDR you want to assign to the IPAM pool. Either \"NetmaskLength\" - or \"Cidr\" is required. This value will be null if you specify - \"NetmaskLength\" and will be filled in during the provisioning process. - """ - cidr_authorization_context: IpamCidrAuthorizationContext | None = ... - """ - A signed document that proves that you are authorized to bring a - specified IP address range to Amazon using BYOIP. This option only - applies to IPv4 and IPv6 pools in the public scope. - """ - netmask_length: int | None = ... - """ - The netmask length of the CIDR you'd like to provision to a pool. Can - be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools - and for provisioning CIDRs to pools with source pools. Cannot be used to - provision BYOIP CIDRs to top-level pools. Either \"NetmaskLength\" or - \"Cidr\" is required. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - verification_method: str | None = ... - """ - The method for verifying control of a public IP address range. Defaults - to `remarks-x509` if not specified. This option only applies to IPv4 and - IPv6 pools in the public scope. - """ - ipam_external_resource_verification_token_id: str | None = ... - """ - Verification token ID. This option only applies to IPv4 and IPv6 pools - in the public scope. - """ - -@dataclass(kw_only=True) -class ProvisionIpamPoolCidrOutput(_SerdeShape): - """Dataclass for ProvisionIpamPoolCidrOutput structure.""" - - ipam_pool_cidr: IpamPoolCidr | None = ... - """Information about the provisioned CIDR.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ProvisionPublicIpv4PoolCidrInput(_SerdeShape): - """Dataclass for ProvisionPublicIpv4PoolCidrInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_id: str | None = ... - """The ID of the IPAM pool you would like to use to allocate this CIDR.""" - pool_id: str | None = ... - """The ID of the public IPv4 pool you would like to use for this CIDR.""" - netmask_length: int | None = ... - """ - The netmask length of the CIDR you would like to allocate to the public - IPv4 pool. The least specific netmask length you can define is 24. - """ - network_border_group: str | None = ... - """ - The Availability Zone (AZ) or Local Zone (LZ) network border group that - the resource that the IP address is assigned to is in. Defaults to an AZ - network border group. For more information on available Local Zones, see - [Local Zone - availability](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class ProvisionPublicIpv4PoolCidrOutput(_SerdeShape): - """Dataclass for ProvisionPublicIpv4PoolCidrOutput structure.""" - - pool_id: str | None = ... - """The ID of the pool that you want to provision the CIDR to.""" - pool_address_range: PublicIpv4PoolRange | None = ... - """Information about the address range of the public IPv4 pool.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PtrUpdateStatus(_SerdeShape): - """The status of an updated pointer (PTR) record for an Elastic IP address.""" - - value: str | None = ... - """The value for the PTR record update.""" - status: str | None = ... - """The status of the PTR record update.""" - reason: str | None = ... - """The reason for the PTR record update.""" - -@dataclass(kw_only=True) -class PublicIpDnsNameOptions(_SerdeShape): - """ - Public hostname type options. For more information, see [EC2 instance - hostnames, DNS names, and - domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) - in the *Amazon EC2 User Guide*. - """ - - dns_hostname_type: str | None = ... - """ - The public hostname type. For more information, see [EC2 instance - hostnames, DNS names, and - domains](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) - in the *Amazon EC2 User Guide*. - """ - public_ipv4_dns_name: str | None = ... - """ - An IPv4-enabled public hostname for a network interface. Requests from - within the VPC resolve to the private primary IPv4 address of the - network interface. Requests from the internet resolve to the public IPv4 - address of the network interface. - """ - public_ipv6_dns_name: str | None = ... - """ - An IPv6-enabled public hostname for a network interface. Requests from - within the VPC or from the internet resolve to the IPv6 GUA of the - network interface. - """ - public_dual_stack_dns_name: str | None = ... - """ - A dual-stack public hostname for a network interface. Requests from - within the VPC resolve to both the private IPv4 address and the IPv6 - Global Unicast Address of the network interface. Requests from the - internet resolve to both the public IPv4 and the IPv6 GUA address of the - network interface. - """ - -class PublicIpDnsOption(UnknownEnumMixin, StrEnum): - PUBLIC_DUAL_STACK_DNS_NAME = "public-dual-stack-dns-name" - PUBLIC_IPV4_DNS_NAME = "public-ipv4-dns-name" - PUBLIC_IPV6_DNS_NAME = "public-ipv6-dns-name" - -@dataclass(kw_only=True) -class PublicIpv4Pool(_SerdeShape): - """Describes an IPv4 address pool.""" - - pool_id: str | None = ... - """The ID of the address pool.""" - description: str | None = ... - """A description of the address pool.""" - pool_address_ranges: list[PublicIpv4PoolRange] | None = ... - """The address ranges.""" - total_address_count: int | None = ... - """The total number of addresses.""" - total_available_address_count: int | None = ... - """The total number of available addresses.""" - network_border_group: str | None = ... - """ - The name of the location from which the address pool is advertised. A - network border group is a unique set of Availability Zones or Local - Zones from where Amazon Web Services advertises public IP addresses. - """ - tags: list[Tag] | None = ... - """Any tags for the address pool.""" - -@dataclass(kw_only=True) -class PublicIpv4PoolRange(_SerdeShape): - """Describes an address range of an IPv4 address pool.""" - - first_address: str | None = ... - """The first IP address in the range.""" - last_address: str | None = ... - """The last IP address in the range.""" - address_count: int | None = ... - """The number of addresses in the range.""" - available_address_count: int | None = ... - """The number of available addresses in the range.""" - -@dataclass(kw_only=True) -class Purchase(_SerdeShape): - """Describes the result of the purchase.""" - - currency_code: str | None = ... - """ - The currency in which the `UpfrontPrice` and `HourlyPrice` amounts are - specified. At this time, the only supported currency is `USD`. - """ - duration: int | None = ... - """The duration of the reservation's term in seconds.""" - host_id_set: list[str] | None = ... - """The IDs of the Dedicated Hosts associated with the reservation.""" - host_reservation_id: str | None = ... - """The ID of the reservation.""" - hourly_price: str | None = ... - """The hourly price of the reservation per hour.""" - instance_family: str | None = ... - """ - The instance family on the Dedicated Host that the reservation can be - associated with. - """ - payment_option: str | None = ... - """The payment option for the reservation.""" - upfront_price: str | None = ... - """The upfront price of the reservation.""" - -@dataclass(kw_only=True) -class PurchaseCapacityBlockExtensionInput(_SerdeShape): - """Dataclass for PurchaseCapacityBlockExtensionInput structure.""" - - capacity_block_extension_offering_id: str | None = ... - """The ID of the Capacity Block extension offering to purchase.""" - capacity_reservation_id: str | None = ... - """The ID of the Capacity reservation to be extended.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class PurchaseCapacityBlockExtensionOutput(_SerdeShape): - """Dataclass for PurchaseCapacityBlockExtensionOutput structure.""" - - capacity_block_extensions: list[CapacityBlockExtension] | None = ... - """The purchased Capacity Block extensions.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PurchaseCapacityBlockInput(_SerdeShape): - """Dataclass for PurchaseCapacityBlockInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the Capacity Block during launch.""" - capacity_block_offering_id: str | None = ... - """The ID of the Capacity Block offering.""" - instance_platform: str | None = ... - """The type of operating system for which to reserve capacity.""" - -@dataclass(kw_only=True) -class PurchaseCapacityBlockOutput(_SerdeShape): - """Dataclass for PurchaseCapacityBlockOutput structure.""" - - capacity_reservation: CapacityReservation | None = ... - """The Capacity Reservation.""" - capacity_blocks: list[CapacityBlock] | None = ... - """The Capacity Block.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PurchaseHostReservationInput(_SerdeShape): - """Dataclass for PurchaseHostReservationInput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - currency_code: str | None = ... - """ - The currency in which the `totalUpfrontPrice`, `LimitPrice`, and - `totalHourlyPrice` amounts are specified. At this time, the only - supported currency is `USD`. - """ - host_id_set: list[str] | None = ... - """ - The IDs of the Dedicated Hosts with which the reservation will be - associated. - """ - limit_price: str | None = ... - """ - The specified limit is checked against the total upfront cost of the - reservation (calculated as the offering's upfront cost multiplied by - the host count). If the total upfront cost is greater than the specified - price limit, the request fails. This is used to ensure that the purchase - does not exceed the expected upfront cost of the purchase. At this time, - the only supported currency is `USD`. For example, to indicate a limit - price of USD 100, specify 100.00. - """ - offering_id: str | None = ... - """The ID of the offering.""" - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply to the Dedicated Host Reservation during purchase.""" - -@dataclass(kw_only=True) -class PurchaseHostReservationOutput(_SerdeShape): - """Dataclass for PurchaseHostReservationOutput structure.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - currency_code: str | None = ... - """ - The currency in which the `totalUpfrontPrice` and `totalHourlyPrice` - amounts are specified. At this time, the only supported currency is - `USD`. - """ - purchase: list[Purchase] | None = ... - """Describes the details of the purchase.""" - total_hourly_price: str | None = ... - """The total hourly price of the reservation calculated per hour.""" - total_upfront_price: str | None = ... - """ - The total amount charged to your account when you purchase the - reservation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PurchaseRequest(_SerdeShape): - """Describes a request to purchase Scheduled Instances.""" - - instance_count: int | None = ... - """The number of instances.""" - purchase_token: str | None = ... - """The purchase token.""" - -@dataclass(kw_only=True) -class PurchaseReservedInstancesOfferingInput(_SerdeShape): - """Contains the parameters for PurchaseReservedInstancesOffering.""" - - instance_count: int | None = ... - """The number of Reserved Instances to purchase.""" - reserved_instances_offering_id: str | None = ... - """The ID of the Reserved Instance offering to purchase.""" - purchase_time: datetime | None = ... - """ - The time at which to purchase the Reserved Instance, in UTC format (for - example, *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - limit_price: ReservedInstanceLimitPrice | None = ... - """ - Specified for Reserved Instance Marketplace offerings to limit the total - order and ensure that the Reserved Instances are not purchased at - unexpected prices. - """ - -@dataclass(kw_only=True) -class PurchaseReservedInstancesOfferingOutput(_SerdeShape): - """Contains the output of PurchaseReservedInstancesOffering.""" - - reserved_instances_id: str | None = ... - """ - The IDs of the purchased Reserved Instances. If your purchase crosses - into a discounted pricing tier, the final Reserved Instances IDs might - change. For more information, see [Crossing pricing - tiers](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-reserved-instances-application.html#crossing-pricing-tiers) - in the *Amazon EC2 User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PurchaseScheduledInstancesInput(_SerdeShape): - """Contains the parameters for PurchaseScheduledInstances.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that ensures the idempotency of the - request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - purchase_requests: list[PurchaseRequest] | None = ... - """The purchase requests.""" - -@dataclass(kw_only=True) -class PurchaseScheduledInstancesOutput(_SerdeShape): - """Contains the output of PurchaseScheduledInstances.""" - - scheduled_instance_set: list[ScheduledInstance] | None = ... - """Information about the Scheduled Instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RebootInstancesInput(_SerdeShape): - """Dataclass for RebootInstancesInput structure.""" - - instance_ids: list[str] | None = ... - """The instance IDs.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RebootInstancesOutput(_SerdeShape): - """Dataclass for RebootInstancesOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class RebootMigrationSupport(UnknownEnumMixin, StrEnum): - UNSUPPORTED = "unsupported" - SUPPORTED = "supported" - -@dataclass(kw_only=True) -class RecurringCharge(_SerdeShape): - """Describes a recurring charge.""" - - amount: float | None = ... - """The amount of the recurring charge.""" - frequency: str | None = ... - """The frequency of the recurring charge.""" - -class RecurringChargeFrequency(UnknownEnumMixin, StrEnum): - HOURLY = "Hourly" - -@dataclass(kw_only=True) -class ReferencedSecurityGroup(_SerdeShape): - """ - Describes the security group that is referenced in the security group - rule. - """ - - group_id: str | None = ... - """The ID of the security group.""" - peering_status: str | None = ... - """The status of a VPC peering connection, if applicable.""" - user_id: str | None = ... - """The Amazon Web Services account ID.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - vpc_peering_connection_id: str | None = ... - """The ID of the VPC peering connection (if applicable).""" - -@dataclass(kw_only=True) -class Region(_SerdeShape): - """Describes a Region.""" - - opt_in_status: str | None = ... - """ - The Region opt-in status. The possible values are `opt-in-not-required`, - `opted-in`, and `not-opted-in`. - """ - geography: list[RegionGeography] | None = ... - """ - The geography information for the Region. The geography is returned as a - list. - """ - region_name: str | None = ... - """The name of the Region.""" - endpoint: str | None = ... - """The Region service endpoint.""" - -@dataclass(kw_only=True) -class RegionalSummary(_SerdeShape): - """A summary report for the attribute for a Region.""" - - region_name: str | None = ... - """The Amazon Web Services Region.""" - number_of_matched_accounts: int | None = ... - """ - The number of accounts in the Region with the same configuration value - for the attribute that is most frequently observed. - """ - number_of_unmatched_accounts: int | None = ... - """ - The number of accounts in the Region with a configuration value - different from the most frequently observed value for the attribute. - """ - -@dataclass(kw_only=True) -class RegionGeography(_SerdeShape): - """Describes the geography information for a Region.""" - - name: str | None = ... - """The name of the geography, for example, `United States of America`.""" - -@dataclass(kw_only=True) -class RegisteredInstance(_SerdeShape): - """ - Describes an Amazon EC2 instance that is enabled for SQL Server High - Availability standby detection monitoring. - """ - - instance_id: str | None = ... - """The ID of the SQL Server High Availability instance.""" - sql_server_license_usage: str | None = ... - """ - The license type for the SQL Server license. Valid values include: - - - `full` - The SQL Server High Availability instance is using a full SQL - Server license. - - - `waived` - The SQL Server High Availability instance is waived from - the SQL Server license. - """ - ha_status: str | None = ... - """ - The SQL Server High Availability status of the instance. Valid values - are: - - - `processing` - The SQL Server High Availability status for the SQL - Server High Availability instance is being updated. - - - `active` - The SQL Server High Availability instance is an active node - in an SQL Server High Availability cluster. - - - `standby` - The SQL Server High Availability instance is a standby - failover node in an SQL Server High Availability cluster. - - - `invalid` - An error occurred due to misconfigured permissions, or - unable to dertemine SQL Server High Availability status for the SQL - Server High Availability instance. - """ - processing_status: str | None = ... - """ - A brief description of the SQL Server High Availability status. If the - instance is in the `invalid` High Availability status, this parameter - includes the error message. - """ - last_updated_time: datetime | None = ... - """ - The date and time when the instance's SQL Server High Availability - status was last updated, in the ISO 8601 format in the UTC time zone - (`YYYY-MM-DDThh:mm:ss.sssZ`). - """ - sql_server_credentials: str | None = ... - """ - The ARN of the Secrets Manager secret containing the SQL Server access - credentials for the SQL Server High Availability instance. If not - specified, deafult local user credentials will be used by the Amazon Web - Services Systems Manager agent. - """ - tags: list[Tag] | None = ... - """The tags assigned to the SQL Server High Availability instance.""" - -@dataclass(kw_only=True) -class RegisterImageInput(_SerdeShape): - """Contains the parameters for RegisterImage.""" - - image_location: str | None = ... - """ - The full path to your AMI manifest in Amazon S3 storage. The specified - bucket must have the `aws-exec-read` canned access control list (ACL) to - ensure that it can be accessed by Amazon EC2. For more information, see - [Canned - ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) - in the *Amazon S3 Service Developer Guide*. - """ - billing_products: list[str] | None = ... - """ - The billing product codes. Your account must be authorized to specify - billing product codes. - - If your account is not authorized to specify billing product codes, you - can publish AMIs that include billable software and list them on the - Amazon Web Services Marketplace. You must first register as a seller on - the Amazon Web Services Marketplace. For more information, see [Getting - started as an Amazon Web Services Marketplace - seller](https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html) - and [AMI-based products in Amazon Web Services - Marketplace](https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html) - in the *Amazon Web Services Marketplace Seller Guide*. - """ - boot_mode: str | None = ... - """ - The boot mode of the AMI. A value of `uefi-preferred` indicates that the - AMI supports both UEFI and Legacy BIOS. - - Note: - The operating system contained in the AMI must be configured to support - the specified boot mode. - - For more information, see [Instance launch behavior with Amazon EC2 boot - modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) - in the *Amazon EC2 User Guide*. - """ - tpm_support: str | None = ... - """ - Set to `v2.0` to enable Trusted Platform Module (TPM) support. For more - information, see - [NitroTPM](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) - in the *Amazon EC2 User Guide*. - """ - uefi_data: str | None = ... - """ - Base64 representation of the non-volatile UEFI variable store. To - retrieve the UEFI data, use the - [GetInstanceUefiData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData) - command. You can inspect and modify the UEFI data by using the - [python-uefivars tool](https://github.com/awslabs/python-uefivars) on - GitHub. For more information, see [UEFI Secure Boot for Amazon EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html) - in the *Amazon EC2 User Guide*. - """ - imds_support: str | None = ... - """ - Set to `v2.0` to indicate that IMDSv2 is specified in the AMI. Instances - launched from this AMI will have `HttpTokens` automatically set to - `required` so that, by default, the instance requires that IMDSv2 is - used when requesting instance metadata. In addition, - `HttpPutResponseHopLimit` is set to `2`. For more information, see - [Configure the - AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration) - in the *Amazon EC2 User Guide*. - - Note: - If you set the value to `v2.0`, make sure that your AMI software can - support IMDSv2. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the AMI. - - To tag the AMI, the value for `ResourceType` must be `image`. If you - specify another value for `ResourceType`, the request fails. - - To tag an AMI after it has been registered, see - [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - name: str | None = ... - """ - A name for your AMI. - - Constraints: 3-128 alphanumeric characters, parentheses (()), square - brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), - single quotes ('), at-signs (@), or underscores(_) - """ - description: str | None = ... - """A description for your AMI.""" - architecture: str | None = ... - """ - The architecture of the AMI. - - Default: For Amazon EBS-backed AMIs, `i386`. For instance store-backed - AMIs, the architecture specified in the manifest file. - """ - kernel_id: str | None = ... - """The ID of the kernel.""" - ramdisk_id: str | None = ... - """The ID of the RAM disk.""" - root_device_name: str | None = ... - """The device name of the root device volume (for example, `/dev/sda1`).""" - block_device_mappings: list[BlockDeviceMapping] | None = ... - """ - The block device mapping entries. - - If you specify an Amazon EBS volume using the ID of an Amazon EBS - snapshot, you can't specify the encryption state of the volume. - - If you create an AMI on an Outpost, then all backing snapshots must be - on the same Outpost or in the Region of that Outpost. AMIs on an Outpost - that include local snapshots can be used to launch instances on the same - Outpost only. For more information, [Create AMIs from local - snapshots](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami) - in the *Amazon EBS User Guide*. - """ - virtualization_type: str | None = ... - """ - The type of virtualization (`hvm` | `paravirtual`). - - Default: `paravirtual` - """ - sriov_net_support: str | None = ... - """ - Set to `simple` to enable enhanced networking with the Intel 82599 - Virtual Function interface for the AMI and any instances that you launch - from the AMI. - - There is no way to disable `sriovNetSupport` at this time. - - This option is supported only for HVM AMIs. Specifying this option with - a PV AMI can make instances launched from the AMI unreachable. - """ - ena_support: bool | None = ... - """ - Set to `true` to enable enhanced networking with ENA for the AMI and any - instances that you launch from the AMI. - - This option is supported only for HVM AMIs. Specifying this option with - a PV AMI can make instances launched from the AMI unreachable. - """ - -@dataclass(kw_only=True) -class RegisterImageOutput(_SerdeShape): - """Contains the output of RegisterImage.""" - - image_id: str | None = ... - """The ID of the newly registered AMI.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RegisterInstanceEventNotificationAttributesInput(_SerdeShape): - """ - Dataclass for RegisterInstanceEventNotificationAttributesInput - structure. - """ - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_tag_attribute: RegisterInstanceTagAttributeRequest | None = ... - """Information about the tag keys to register.""" - -@dataclass(kw_only=True) -class RegisterInstanceEventNotificationAttributesOutput(_SerdeShape): - """ - Dataclass for RegisterInstanceEventNotificationAttributesOutput - structure. - """ - - instance_tag_attribute: InstanceTagNotificationAttribute | None = ... - """The resulting set of tag keys.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RegisterInstanceTagAttributeRequest(_SerdeShape): - """ - Information about the tag keys to register for the current Region. You - can either specify individual tag keys or register all tag keys in the - current Region. You must specify either `IncludeAllTagsOfInstance` or - `InstanceTagKeys` in the request - """ - - include_all_tags_of_instance: bool | None = ... - """ - Indicates whether to register all tag keys in the current Region. - Specify `true` to register all tag keys. - """ - instance_tag_keys: list[str] | None = ... - """The tag keys to register.""" - -@dataclass(kw_only=True) -class RegisterTransitGatewayMulticastGroupMembersInput(_SerdeShape): - """ - Dataclass for RegisterTransitGatewayMulticastGroupMembersInput - structure. - """ - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - group_ip_address: str | None = ... - """The IP address assigned to the transit gateway multicast group.""" - network_interface_ids: list[str] | None = ... - """ - The group members' network interface IDs to register with the transit - gateway multicast group. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RegisterTransitGatewayMulticastGroupMembersOutput(_SerdeShape): - """ - Dataclass for RegisterTransitGatewayMulticastGroupMembersOutput - structure. - """ - - registered_multicast_group_members: ( - TransitGatewayMulticastRegisteredGroupMembers | None - ) = ... - """ - Information about the registered transit gateway multicast group - members. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RegisterTransitGatewayMulticastGroupSourcesInput(_SerdeShape): - """ - Dataclass for RegisterTransitGatewayMulticastGroupSourcesInput - structure. - """ - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - group_ip_address: str | None = ... - """The IP address assigned to the transit gateway multicast group.""" - network_interface_ids: list[str] | None = ... - """ - The group sources' network interface IDs to register with the transit - gateway multicast group. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RegisterTransitGatewayMulticastGroupSourcesOutput(_SerdeShape): - """ - Dataclass for RegisterTransitGatewayMulticastGroupSourcesOutput - structure. - """ - - registered_multicast_group_sources: ( - TransitGatewayMulticastRegisteredGroupSources | None - ) = ... - """Information about the transit gateway multicast group sources.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RejectCapacityReservationBillingOwnershipInput(_SerdeShape): - """Dataclass for RejectCapacityReservationBillingOwnershipInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - capacity_reservation_id: str | None = ... - """The ID of the Capacity Reservation for which to reject the request.""" - -@dataclass(kw_only=True) -class RejectCapacityReservationBillingOwnershipOutput(_SerdeShape): - """Dataclass for RejectCapacityReservationBillingOwnershipOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RejectTransitGatewayClientVpnAttachmentInput(_SerdeShape): - """Dataclass for RejectTransitGatewayClientVpnAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the Transit Gateway attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RejectTransitGatewayClientVpnAttachmentOutput(_SerdeShape): - """Dataclass for RejectTransitGatewayClientVpnAttachmentOutput structure.""" - - transit_gateway_client_vpn_attachment: ( - TransitGatewayClientVpnAttachment | None - ) = ... - """Information about the Transit Gateway Client VPN attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RejectTransitGatewayMulticastDomainAssociationsInput(_SerdeShape): - """ - Dataclass for RejectTransitGatewayMulticastDomainAssociationsInput - structure. - """ - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - subnet_ids: list[str] | None = ... - """ - The IDs of the subnets to associate with the transit gateway multicast - domain. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RejectTransitGatewayMulticastDomainAssociationsOutput(_SerdeShape): - """ - Dataclass for RejectTransitGatewayMulticastDomainAssociationsOutput - structure. - """ - - associations: TransitGatewayMulticastDomainAssociations | None = ... - """Information about the multicast domain associations.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RejectTransitGatewayPeeringAttachmentInput(_SerdeShape): - """Dataclass for RejectTransitGatewayPeeringAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway peering attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RejectTransitGatewayPeeringAttachmentOutput(_SerdeShape): - """Dataclass for RejectTransitGatewayPeeringAttachmentOutput structure.""" - - transit_gateway_peering_attachment: TransitGatewayPeeringAttachment | None = ... - """The transit gateway peering attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RejectTransitGatewayVpcAttachmentInput(_SerdeShape): - """Dataclass for RejectTransitGatewayVpcAttachmentInput structure.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RejectTransitGatewayVpcAttachmentOutput(_SerdeShape): - """Dataclass for RejectTransitGatewayVpcAttachmentOutput structure.""" - - transit_gateway_vpc_attachment: TransitGatewayVpcAttachment | None = ... - """Information about the attachment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RejectVpcEndpointConnectionsInput(_SerdeShape): - """Dataclass for RejectVpcEndpointConnectionsInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_id: str | None = ... - """The ID of the service.""" - vpc_endpoint_ids: list[str] | None = ... - """The IDs of the VPC endpoints.""" - -@dataclass(kw_only=True) -class RejectVpcEndpointConnectionsOutput(_SerdeShape): - """Dataclass for RejectVpcEndpointConnectionsOutput structure.""" - - unsuccessful: list[UnsuccessfulItem] | None = ... - """Information about the endpoints that were not rejected, if applicable.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RejectVpcPeeringConnectionInput(_SerdeShape): - """Dataclass for RejectVpcPeeringConnectionInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - vpc_peering_connection_id: str | None = ... - """The ID of the VPC peering connection.""" - -@dataclass(kw_only=True) -class RejectVpcPeeringConnectionOutput(_SerdeShape): - """Dataclass for RejectVpcPeeringConnectionOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReleaseAddressInput(_SerdeShape): - """Dataclass for ReleaseAddressInput structure.""" - - allocation_id: str | None = ... - """The allocation ID. This parameter is required.""" - public_ip: str | None = ... - """Deprecated.""" - network_border_group: str | None = ... - """ - The set of Availability Zones, Local Zones, or Wavelength Zones from - which Amazon Web Services advertises IP addresses. - - If you provide an incorrect network border group, you receive an - `InvalidAddress.NotFound` error. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ReleaseAddressOutput(_SerdeShape): - """Dataclass for ReleaseAddressOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReleaseHostsInput(_SerdeShape): - """Dataclass for ReleaseHostsInput structure.""" - - host_ids: list[str] | None = ... - """The IDs of the Dedicated Hosts to release.""" - -@dataclass(kw_only=True) -class ReleaseHostsOutput(_SerdeShape): - """Dataclass for ReleaseHostsOutput structure.""" - - successful: list[str] | None = ... - """The IDs of the Dedicated Hosts that were successfully released.""" - unsuccessful: list[UnsuccessfulItem] | None = ... - """ - The IDs of the Dedicated Hosts that could not be released, including an - error message. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReleaseIpamPoolAllocationInput(_SerdeShape): - """Dataclass for ReleaseIpamPoolAllocationInput structure.""" - - dry_run: bool | None = ... - """ - A check for 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 - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - ipam_pool_id: str | None = ... - """ - The ID of the IPAM pool which contains the allocation you want to - release. - """ - cidr: str | None = ... - """The CIDR of the allocation you want to release.""" - ipam_pool_allocation_id: str | None = ... - """The ID of the allocation.""" - -@dataclass(kw_only=True) -class ReleaseIpamPoolAllocationOutput(_SerdeShape): - """Dataclass for ReleaseIpamPoolAllocationOutput structure.""" - - success: bool | None = ... - """Indicates if the release was successful.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveIpamOperatingRegion(_SerdeShape): - """ - Remove an operating Region from an IPAM. Operating Regions are Amazon - Web Services Regions where the IPAM is allowed to manage IP address - CIDRs. IPAM only discovers and monitors resources in the Amazon Web - Services Regions you select as operating Regions. - - For more information about operating Regions, see [Create an - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/create-ipam.html) in - the *Amazon VPC IPAM User Guide* - """ - - region_name: str | None = ... - """The name of the operating Region you want to remove.""" - -@dataclass(kw_only=True) -class RemoveIpamOrganizationalUnitExclusion(_SerdeShape): - """ - Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM - is integrated with Amazon Web Services Organizations and you add an - organizational unit (OU) exclusion, IPAM will not manage the IP - addresses in accounts in that OU exclusion. There is a limit on the - number of exclusions you can create. For more information, see [Quotas - for your - IPAM](https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html) in - the *Amazon VPC IPAM User Guide*. - """ - - organizations_entity_path: str | None = ... - """ - An Amazon Web Services Organizations entity path. Build the path for the - OU(s) using Amazon Web Services Organizations IDs separated by a `/`. - Include all child OUs by ending the path with `/*`. - - - Example 1 - - - Path to a child OU: - `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/ou-jkl0-awsddddd/` - - - In this example, `o-a1b2c3d4e5` is the organization ID, - `r-f6g7h8i9j0example` is the root ID , `ou-ghi0-awsccccc` is an OU - ID, and `ou-jkl0-awsddddd` is a child OU ID. - - - IPAM will not manage the IP addresses in accounts in the child OU. - - - Example 2 - - - Path where all child OUs will be part of the exclusion: - `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-ghi0-awsccccc/*` - - - In this example, IPAM will not manage the IP addresses in accounts - in the OU (`ou-ghi0-awsccccc`) or in accounts in any OUs that are - children of the OU. - - For more information on how to construct an entity path, see [Understand - the Amazon Web Services Organizations entity - path](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path) - in the *Amazon Web Services Identity and Access Management User Guide*. - """ - -@dataclass(kw_only=True) -class RemovePrefixListEntry(_SerdeShape): - """An entry for a prefix list.""" - - cidr: str | None = ... - """The CIDR block.""" - -@dataclass(kw_only=True) -class ReplaceIamInstanceProfileAssociationInput(_SerdeShape): - """Dataclass for ReplaceIamInstanceProfileAssociationInput structure.""" - - iam_instance_profile: IamInstanceProfileSpecification | None = ... - """The IAM instance profile.""" - association_id: str | None = ... - """The ID of the existing IAM instance profile association.""" - -@dataclass(kw_only=True) -class ReplaceIamInstanceProfileAssociationOutput(_SerdeShape): - """Dataclass for ReplaceIamInstanceProfileAssociationOutput structure.""" - - iam_instance_profile_association: IamInstanceProfileAssociation | None = ... - """Information about the IAM instance profile association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplaceImageCriteriaInAllowedImagesSettingsInput(_SerdeShape): - """ - Dataclass for ReplaceImageCriteriaInAllowedImagesSettingsInput - structure. - """ - - image_criteria: list[ImageCriterionRequest] | None = ... - """ - The list of criteria that are evaluated to determine whether AMIs are - discoverable and usable in the account in the specified Amazon Web - Services Region. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ReplaceImageCriteriaInAllowedImagesSettingsOutput(_SerdeShape): - """ - Dataclass for ReplaceImageCriteriaInAllowedImagesSettingsOutput - structure. - """ - - return_value: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplaceImageInstanceTypeSpecificationInput(_SerdeShape): - """Dataclass for ReplaceImageInstanceTypeSpecificationInput structure.""" - - image_id: str | None = ... - """The ID of the AMI.""" - instance_type_specification: InstanceTypeSpecificationRequest | None = ... - """ - The instance type specification to set on the AMI. Omit this parameter - to remove the existing instance type specification. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ReplaceImageInstanceTypeSpecificationOutput(_SerdeShape): - """Dataclass for ReplaceImageInstanceTypeSpecificationOutput structure.""" - - return_value: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ReplacementStrategy(UnknownEnumMixin, StrEnum): - LAUNCH = "launch" - LAUNCH_BEFORE_TERMINATE = "launch-before-terminate" - -@dataclass(kw_only=True) -class ReplaceNetworkAclAssociationInput(_SerdeShape): - """Dataclass for ReplaceNetworkAclAssociationInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - association_id: str | None = ... - """ - The ID of the current association between the original network ACL and - the subnet. - """ - network_acl_id: str | None = ... - """The ID of the new network ACL to associate with the subnet.""" - -@dataclass(kw_only=True) -class ReplaceNetworkAclAssociationOutput(_SerdeShape): - """Dataclass for ReplaceNetworkAclAssociationOutput structure.""" - - new_association_id: str | None = ... - """The ID of the new association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplaceNetworkAclEntryInput(_SerdeShape): - """Dataclass for ReplaceNetworkAclEntryInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_acl_id: str | None = ... - """The ID of the ACL.""" - rule_number: int | None = ... - """The rule number of the entry to replace.""" - protocol: str | None = ... - """ - The protocol number. A value of \"-1\" means all protocols. If you - specify \"-1\" or a protocol number other than \"6\" (TCP), \"17\" - (UDP), or \"1\" (ICMP), traffic on all ports is allowed, regardless of - any ports or ICMP types or codes that you specify. If you specify - protocol \"58\" (ICMPv6) and specify an IPv4 CIDR block, traffic for all - ICMP types and codes allowed, regardless of any that you specify. If you - specify protocol \"58\" (ICMPv6) and specify an IPv6 CIDR block, you - must specify an ICMP type and code. - """ - rule_action: str | None = ... - """Indicates whether to allow or deny the traffic that matches the rule.""" - egress: bool | None = ... - """ - Indicates whether to replace the egress rule. - - Default: If no value is specified, we replace the ingress rule. - """ - cidr_block: str | None = ... - """ - The IPv4 network range to allow or deny, in CIDR notation (for example - `172.16.0.0/24`). - """ - ipv6_cidr_block: str | None = ... - """ - The IPv6 network range to allow or deny, in CIDR notation (for example - `2001:bd8:1234:1a00::/64`). - """ - icmp_type_code: IcmpTypeCode | None = ... - """ - ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying - protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block. - """ - port_range: PortRange | None = ... - """ - TCP or UDP protocols: The range of ports the rule applies to. Required - if specifying protocol 6 (TCP) or 17 (UDP). - """ - -@dataclass(kw_only=True) -class ReplaceNetworkAclEntryOutput(_SerdeShape): - """Dataclass for ReplaceNetworkAclEntryOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplaceRootVolumeTask(_SerdeShape): - """Information about a root volume replacement task.""" - - replace_root_volume_task_id: str | None = ... - """The ID of the root volume replacement task.""" - instance_id: str | None = ... - """ - The ID of the instance for which the root volume replacement task was - created. - """ - task_state: str | None = ... - """ - The state of the task. The task can be in one of the following states: - - - `pending` - the replacement volume is being created. - - - `in-progress` - the original volume is being detached and the - replacement volume is being attached. - - - `succeeded` - the replacement volume has been successfully attached to - the instance and the instance is available. - - - `failing` - the replacement task is in the process of failing. - - - `failed` - the replacement task has failed but the original root - volume is still attached. - - - `failing-detached` - the replacement task is in the process of - failing. The instance might have no root volume attached. - - - `failed-detached` - the replacement task has failed and the instance - has no root volume attached. - """ - start_time: str | None = ... - """The time the task was started.""" - complete_time: str | None = ... - """The time the task completed.""" - tags: list[Tag] | None = ... - """The tags assigned to the task.""" - image_id: str | None = ... - """The ID of the AMI used to create the replacement root volume.""" - snapshot_id: str | None = ... - """The ID of the snapshot used to create the replacement root volume.""" - delete_replaced_root_volume: bool | None = ... - """ - Indicates whether the original root volume is to be deleted after the - root volume replacement task completes. - """ - -class ReplaceRootVolumeTaskState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - IN_PROGRESS = "in-progress" - FAILING = "failing" - SUCCEEDED = "succeeded" - FAILED = "failed" - FAILED_DETACHED = "failed-detached" - -@dataclass(kw_only=True) -class ReplaceRouteInput(_SerdeShape): - """Dataclass for ReplaceRouteInput structure.""" - - destination_prefix_list_id: str | None = ... - """The ID of the prefix list for the route.""" - vpc_endpoint_id: str | None = ... - """ - The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints - only. - """ - local_target: bool | None = ... - """ - Specifies whether to reset the local route to its default target - (`local`). - """ - transit_gateway_id: str | None = ... - """The ID of a transit gateway.""" - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - carrier_gateway_id: str | None = ... - """[IPv4 traffic only] The ID of a carrier gateway.""" - core_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of the core network.""" - odb_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of the ODB network.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - route_table_id: str | None = ... - """The ID of the route table.""" - destination_cidr_block: str | None = ... - """ - The IPv4 CIDR address block used for the destination match. The value - that you provide must match the CIDR of an existing route in the table. - """ - gateway_id: str | None = ... - """The ID of an internet gateway or virtual private gateway.""" - destination_ipv6_cidr_block: str | None = ... - """ - The IPv6 CIDR address block used for the destination match. The value - that you provide must match the CIDR of an existing route in the table. - """ - egress_only_internet_gateway_id: str | None = ... - """[IPv6 traffic only] The ID of an egress-only internet gateway.""" - instance_id: str | None = ... - """The ID of a NAT instance in your VPC.""" - network_interface_id: str | None = ... - """The ID of a network interface.""" - vpc_peering_connection_id: str | None = ... - """The ID of a VPC peering connection.""" - nat_gateway_id: str | None = ... - """[IPv4 traffic only] The ID of a NAT gateway.""" - -@dataclass(kw_only=True) -class ReplaceRouteOutput(_SerdeShape): - """Dataclass for ReplaceRouteOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplaceRouteTableAssociationInput(_SerdeShape): - """Dataclass for ReplaceRouteTableAssociationInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - association_id: str | None = ... - """The association ID.""" - route_table_id: str | None = ... - """The ID of the new route table to associate with the subnet.""" - -@dataclass(kw_only=True) -class ReplaceRouteTableAssociationOutput(_SerdeShape): - """Dataclass for ReplaceRouteTableAssociationOutput structure.""" - - new_association_id: str | None = ... - """The ID of the new association.""" - association_state: RouteTableAssociationState | None = ... - """The state of the association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplaceTransitGatewayRouteInput(_SerdeShape): - """Dataclass for ReplaceTransitGatewayRouteInput structure.""" - - destination_cidr_block: str | None = ... - """ - The CIDR range used for the destination match. Routing decisions are - based on the most specific match. - """ - transit_gateway_route_table_id: str | None = ... - """The ID of the route table.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - blackhole: bool | None = ... - """Indicates whether traffic matching this route is to be dropped.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ReplaceTransitGatewayRouteOutput(_SerdeShape): - """Dataclass for ReplaceTransitGatewayRouteOutput structure.""" - - route: TransitGatewayRoute | None = ... - """Information about the modified route.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplaceVpnTunnelInput(_SerdeShape): - """Dataclass for ReplaceVpnTunnelInput structure.""" - - vpn_connection_id: str | None = ... - """The ID of the Site-to-Site VPN connection.""" - vpn_tunnel_outside_ip_address: str | None = ... - """The external IP address of the VPN tunnel.""" - apply_pending_maintenance: bool | None = ... - """Trigger pending tunnel endpoint maintenance.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ReplaceVpnTunnelOutput(_SerdeShape): - """Dataclass for ReplaceVpnTunnelOutput structure.""" - - return_: bool | None = ... - """Confirmation of replace tunnel operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ReportInstanceReasonCodes(UnknownEnumMixin, StrEnum): - INSTANCE_STUCK_IN_STATE = "instance-stuck-in-state" - UNRESPONSIVE = "unresponsive" - NOT_ACCEPTING_CREDENTIALS = "not-accepting-credentials" - PASSWORD_NOT_AVAILABLE = "password-not-available" - PERFORMANCE_NETWORK = "performance-network" - PERFORMANCE_INSTANCE_STORE = "performance-instance-store" - PERFORMANCE_EBS_VOLUME = "performance-ebs-volume" - PERFORMANCE_OTHER = "performance-other" - OTHER = "other" - -@dataclass(kw_only=True) -class ReportInstanceStatusInput(_SerdeShape): - """Dataclass for ReportInstanceStatusInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - instances: list[str] | None = ... - """The instances.""" - status: str | None = ... - """The status of all instances listed.""" - start_time: datetime | None = ... - """The time at which the reported instance health state began.""" - end_time: datetime | None = ... - """The time at which the reported instance health state ended.""" - reason_codes: list[str] | None = ... - """ - The reason codes that describe the health state of your instance. - - - `instance-stuck-in-state`: My instance is stuck in a state. - - - `unresponsive`: My instance is unresponsive. - - - `not-accepting-credentials`: My instance is not accepting my - credentials. - - - `password-not-available`: A password is not available for my instance. - - - `performance-network`: My instance is experiencing performance - problems that I believe are network related. - - - `performance-instance-store`: My instance is experiencing performance - problems that I believe are related to the instance stores. - - - `performance-ebs-volume`: My instance is experiencing performance - problems that I believe are related to an EBS volume. - - - `performance-other`: My instance is experiencing performance problems. - - - `other`: [explain using the description parameter] - """ - description: str | None = ... - """Descriptive text about the health state of your instance.""" - -@dataclass(kw_only=True) -class ReportInstanceStatusOutput(_SerdeShape): - """Dataclass for ReportInstanceStatusOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ReportState(UnknownEnumMixin, StrEnum): - RUNNING = "running" - CANCELLED = "cancelled" - COMPLETE = "complete" - ERROR = "error" - -class ReportStatusType(UnknownEnumMixin, StrEnum): - OK = "ok" - IMPAIRED = "impaired" - -@dataclass(kw_only=True) -class RequestFilterPortRange(_SerdeShape): - """Describes a port range.""" - - from_port: int | None = ... - """The first port in the range.""" - to_port: int | None = ... - """The last port in the range.""" - -@dataclass(kw_only=True) -class RequestIpamResourceTag(_SerdeShape): - """A tag on an IPAM resource.""" - - key: str | None = ... - """ - The key of a tag assigned to the resource. Use this filter to find all - resources assigned a tag with a specific key, regardless of the tag - value. - """ - value: str | None = ... - """The value for the tag.""" - -@dataclass(kw_only=True) -class RequestLaunchTemplateData(_SerdeShape): - """ - The information to include in the launch template. - - Note: - You must specify at least one parameter for the launch template data. - """ - - kernel_id: str | None = ... - """ - The ID of the kernel. - - Warning: - We recommend that you use PV-GRUB instead of kernels and RAM disks. For - more information, see [User provided - kernels](https://docs.aws.amazon.com/linux/al2/ug/UserProvidedKernels.html) - in the *Amazon Linux 2 User Guide*. - """ - ebs_optimized: bool | None = ... - """ - Indicates whether the instance is optimized for Amazon EBS I/O. This - optimization provides dedicated throughput to Amazon EBS and an - optimized configuration stack to provide optimal Amazon EBS I/O - performance. This optimization isn't available with all instance types. - Additional usage charges apply when using an EBS-optimized instance. - """ - iam_instance_profile: ( - LaunchTemplateIamInstanceProfileSpecificationRequest | None - ) = ... - """The name or Amazon Resource Name (ARN) of an IAM instance profile.""" - block_device_mappings: list[LaunchTemplateBlockDeviceMappingRequest] | None = ... - """The block device mapping.""" - network_interfaces: ( - list[LaunchTemplateInstanceNetworkInterfaceSpecificationRequest] | None - ) = ... - """The network interfaces for the instance.""" - image_id: str | None = ... - """ - The ID of the AMI in the format `ami-0ac394d6a3example`. - - Alternatively, you can specify a Systems Manager parameter, using one of - the following formats. The Systems Manager parameter will resolve to an - AMI ID on launch. - - To reference a public parameter: - - - `resolve:ssm:`*`public-parameter`*` ` - - To reference a parameter stored in the same account: - - - `resolve:ssm:`*`parameter-name`*` ` - - - `resolve:ssm:`*`parameter-name:version-number`*` ` - - - `resolve:ssm:`*`parameter-name:label`*` ` - - To reference a parameter shared from another Amazon Web Services - account: - - - `resolve:ssm:`*`parameter-ARN`*` ` - - - `resolve:ssm:`*`parameter-ARN:version-number`*` ` - - - `resolve:ssm:`*`parameter-ARN:label`*` ` - - For more information, see [Use a Systems Manager parameter instead of an - AMI - ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) - in the *Amazon EC2 User Guide*. - - Note: - If the launch template will be used for an EC2 Fleet or Spot Fleet, note - the following: - - - Only EC2 Fleets of type `instant` support specifying a Systems Manager - parameter. - - - For EC2 Fleets of type `maintain` or `request`, or for Spot Fleets, - you must specify the AMI ID. - """ - instance_type: str | None = ... - """ - The instance type. For more information, see [Amazon EC2 instance - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) - in the *Amazon EC2 User Guide*. - - If you specify `InstanceType`, you can't specify - `InstanceRequirements`. - """ - key_name: str | None = ... - """ - The name of the key pair. You can create a key pair using - [CreateKeyPair](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html) - or - [ImportKeyPair](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html). - - Warning: - If you do not specify a key pair, you can't connect to the instance - unless you choose an AMI that is configured to allow users another way - to log in. - """ - monitoring: LaunchTemplatesMonitoringRequest | None = ... - """The monitoring for the instance.""" - placement: LaunchTemplatePlacementRequest | None = ... - """The placement for the instance.""" - ram_disk_id: str | None = ... - """ - The ID of the RAM disk. - - Warning: - We recommend that you use PV-GRUB instead of kernels and RAM disks. For - more information, see [User provided - kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) - in the *Amazon EC2 User Guide*. - """ - disable_api_termination: bool | None = ... - """ - Indicates whether termination protection is enabled for the instance. - The default is `false`, which means that you can terminate the instance - using the Amazon EC2 console, command line tools, or API. You can enable - termination protection when you launch an instance, while the instance - is running, or while the instance is stopped. - """ - instance_initiated_shutdown_behavior: str | None = ... - """ - Indicates whether an instance stops or terminates when you initiate - shutdown from the instance (using the operating system command for - system shutdown). - - Default: `stop` - """ - user_data: str | None = ... - """ - The user data to make available to the instance. You must provide - base64-encoded text. User data is limited to 16 KB. For more - information, see [Run commands when you launch an EC2 instance with user - data - input](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) - in the *Amazon EC2 User Guide*. - - If you are creating the launch template for use with Batch, the user - data must be provided in the [MIME multi-part archive - format](https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive). - For more information, see [Amazon EC2 user data in launch - templates](https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html#lt-user-data) - in the *Batch User Guide*. - """ - tag_specifications: list[LaunchTemplateTagSpecificationRequest] | None = ... - """ - The tags to apply to the resources that are created during instance - launch. These tags are not applied to the launch template. - """ - elastic_gpu_specifications: list[ElasticGpuSpecification] | None = ... - """ - Deprecated. - - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - """ - elastic_inference_accelerators: ( - list[LaunchTemplateElasticInferenceAccelerator] | None - ) = ... - """ - Note: - Amazon Elastic Inference is no longer available. - - An elastic inference accelerator to associate with the instance. Elastic - inference accelerators are a resource you can attach to your Amazon EC2 - instances to accelerate your Deep Learning (DL) inference workloads. - - You cannot specify accelerators from different generations in the same - request. - """ - security_group_ids: list[str] | None = ... - """ - The IDs of the security groups. - - If you specify a network interface, you must specify any security groups - as part of the network interface instead of using this parameter. - """ - security_groups: list[str] | None = ... - """ - The names of the security groups. For a nondefault VPC, you must use - security group IDs instead. - - If you specify a network interface, you must specify any security groups - as part of the network interface instead of using this parameter. - """ - instance_market_options: LaunchTemplateInstanceMarketOptionsRequest | None = ... - """The market (purchasing) option for the instances.""" - credit_specification: CreditSpecificationRequest | None = ... - """ - The credit option for CPU usage of the instance. Valid only for T - instances. - """ - cpu_options: LaunchTemplateCpuOptionsRequest | None = ... - """ - The CPU options for the instance. For more information, see [CPU options - for Amazon EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) - in the *Amazon EC2 User Guide*. - """ - capacity_reservation_specification: ( - LaunchTemplateCapacityReservationSpecificationRequest | None - ) = ... - """ - The Capacity Reservation targeting option. If you do not specify this - parameter, the instance's Capacity Reservation preference defaults to - `open`, which enables it to run in any open Capacity Reservation that - has matching attributes (instance type, platform, Availability Zone). - """ - license_specifications: list[LaunchTemplateLicenseConfigurationRequest] | None = ... - """The license configurations.""" - hibernation_options: LaunchTemplateHibernationOptionsRequest | None = ... - """ - Indicates whether an instance is enabled for hibernation. This parameter - is valid only if the instance meets the [hibernation - prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). - For more information, see [Hibernate your Amazon EC2 - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) - in the *Amazon EC2 User Guide*. - """ - metadata_options: LaunchTemplateInstanceMetadataOptionsRequest | None = ... - """ - The metadata options for the instance. For more information, see - [Configure the Instance Metadata Service - options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html) - in the *Amazon EC2 User Guide*. - """ - enclave_options: LaunchTemplateEnclaveOptionsRequest | None = ... - """ - Indicates whether the instance is enabled for Amazon Web Services Nitro - Enclaves. For more information, see [What is Nitro - Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) - in the *Amazon Web Services Nitro Enclaves User Guide*. - - You can't enable Amazon Web Services Nitro Enclaves and hibernation on - the same instance. - """ - instance_requirements: InstanceRequirementsRequest | None = ... - """ - The attributes for the instance types. When you specify instance - attributes, Amazon EC2 will identify instance types with these - attributes. - - You must specify `VCpuCount` and `MemoryMiB`. All other attributes are - optional. Any unspecified optional attribute is set to its default. - - When you specify multiple attributes, you get instance types that - satisfy all of the specified attributes. If you specify multiple values - for an attribute, you get instance types that satisfy any of the - specified values. - - To limit the list of instance types from which Amazon EC2 can identify - matching instance types, you can use one of the following parameters, - but not both in the same request: - - - `AllowedInstanceTypes` - The instance types to include in the list. - All other instance types are ignored, even if they match your - specified attributes. - - - `ExcludedInstanceTypes` - The instance types to exclude from the list, - even if they match your specified attributes. - - Note: - If you specify `InstanceRequirements`, you can't specify - `InstanceType`. - - Attribute-based instance type selection is only supported when using - Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If - you plan to use the launch template in the [launch instance - wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), - or with the - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) - API or - [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) - Amazon Web Services CloudFormation resource, you can't specify - `InstanceRequirements`. - - For more information, see [Specify attributes for instance type - selection for EC2 Fleet or Spot - Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html) - and [Spot placement - score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) - in the *Amazon EC2 User Guide*. - """ - private_dns_name_options: LaunchTemplatePrivateDnsNameOptionsRequest | None = ... - """ - The options for the instance hostname. The default values are inherited - from the subnet. - """ - maintenance_options: LaunchTemplateInstanceMaintenanceOptionsRequest | None = ... - """The maintenance options for the instance.""" - disable_api_stop: bool | None = ... - """ - Indicates whether to enable the instance for stop protection. For more - information, see [Enable stop protection for your EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html) - in the *Amazon EC2 User Guide*. - """ - operator: OperatorRequest | None = ... - """The entity that manages the launch template.""" - network_performance_options: ( - LaunchTemplateNetworkPerformanceOptionsRequest | None - ) = ... - """ - Contains launch template settings to boost network performance for the - type of workload that runs on your instance. - """ - secondary_interfaces: ( - list[LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest] | None - ) = ... - """ - The secondary interfaces to associate with instances launched from the - template. - """ - -@dataclass(kw_only=True) -class RequestSpotFleetInput(_SerdeShape): - """Contains the parameters for RequestSpotFleet.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - spot_fleet_request_config: SpotFleetRequestConfigData | None = ... - """The configuration for the Spot Fleet request.""" - -@dataclass(kw_only=True) -class RequestSpotFleetOutput(_SerdeShape): - """Contains the output of RequestSpotFleet.""" - - spot_fleet_request_id: str | None = ... - """The ID of the Spot Fleet request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RequestSpotInstancesInput(_SerdeShape): - """Contains the parameters for RequestSpotInstances.""" - - launch_specification: RequestSpotLaunchSpecification | None = ... - """The launch specification.""" - tag_specifications: list[TagSpecification] | None = ... - """ - The key-value pair for tagging the Spot Instance request on creation. - The value for `ResourceType` must be `spot-instances-request`, otherwise - the Spot Instance request fails. To tag the Spot Instance request after - it has been created, see - [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). - """ - instance_interruption_behavior: str | None = ... - """ - The behavior when a Spot Instance is interrupted. The default is - `terminate`. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - spot_price: str | None = ... - """ - The maximum price per unit hour that you are willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your instances will be interrupted more - frequently than if you do not specify this parameter. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [Ensuring - idempotency in Amazon EC2 API - requests](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html) - in the *Amazon EC2 User Guide*. - """ - instance_count: int | None = ... - """ - The maximum number of Spot Instances to launch. - - Default: 1 - """ - type: str | None = ... - """ - The Spot Instance request type. - - Default: `one-time` - """ - valid_from: datetime | None = ... - """ - The start date of the request. If this is a one-time request, the - request becomes active at this date and time and remains active until - all instances launch, the request expires, or the request is canceled. - If the request is persistent, the request becomes active at this date - and time and remains active until it expires or is canceled. - - The specified start date and time cannot be equal to the current date - and time. You must specify a start date and time that occurs after the - current date and time. - """ - valid_until: datetime | None = ... - """ - The end date of the request, in UTC format - (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - - - For a persistent request, the request remains active until the - `ValidUntil` date and time is reached. Otherwise, the request remains - active until you cancel it. - - - For a one-time request, the request remains active until all instances - launch, the request is canceled, or the `ValidUntil` date and time is - reached. By default, the request is valid for 7 days from the date the - request was created. - """ - launch_group: str | None = ... - """ - The instance launch group. Launch groups are Spot Instances that launch - together and terminate together. - - Default: Instances are launched and terminated individually - """ - availability_zone_group: str | None = ... - """ - The user-specified name for a logical grouping of requests. - - When you specify an Availability Zone group in a Spot Instance request, - all Spot Instances in the request are launched in the same Availability - Zone. Instance proximity is maintained with this parameter, but the - choice of Availability Zone is not. The group applies only to requests - for Spot Instances of the same instance type. Any additional Spot - Instance requests that are specified with the same Availability Zone - group name are launched in that same Availability Zone, as long as at - least one instance from the group is still active. - - If there is no active instance running in the Availability Zone group - that you specify for a new Spot Instance request (all instances are - terminated, the request is expired, or the maximum price you specified - falls below current Spot price), then Amazon EC2 launches the instance - in any Availability Zone where the constraint can be met. Consequently, - the subsequent set of Spot Instances could be placed in a different zone - from the original request, even if you specified the same Availability - Zone group. - - Default: Instances are launched in any available Availability Zone. - """ - block_duration_minutes: int | None = ... - """Deprecated.""" - -@dataclass(kw_only=True) -class RequestSpotInstancesOutput(_SerdeShape): - """Contains the output of RequestSpotInstances.""" - - spot_instance_requests: list[SpotInstanceRequest] | None = ... - """The Spot Instance requests.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RequestSpotLaunchSpecification(_SerdeShape): - """Describes the launch specification for an instance.""" - - security_group_ids: list[str] | None = ... - """The IDs of the security groups.""" - security_groups: list[str] | None = ... - """Not supported.""" - addressing_type: str | None = ... - """Deprecated.""" - block_device_mappings: list[BlockDeviceMapping] | None = ... - """ - The block device mapping entries. You can't specify both a snapshot ID - and an encryption value. This is because only blank volumes can be - encrypted on creation. If a snapshot is the basis for a volume, it is - not blank and its encryption status is used for the volume encryption - status. - """ - ebs_optimized: bool | None = ... - """ - Indicates whether the instance is optimized for EBS I/O. This - optimization provides dedicated throughput to Amazon EBS and an - optimized configuration stack to provide optimal EBS I/O performance. - This optimization isn't available with all instance types. Additional - usage charges apply when using an EBS Optimized instance. - - Default: `false` - """ - iam_instance_profile: IamInstanceProfileSpecification | None = ... - """The IAM instance profile.""" - image_id: str | None = ... - """The ID of the AMI.""" - instance_type: str | None = ... - """The instance type. Only one instance type can be specified.""" - kernel_id: str | None = ... - """The ID of the kernel.""" - key_name: str | None = ... - """The name of the key pair.""" - monitoring: RunInstancesMonitoringEnabled | None = ... - """ - Indicates whether basic or detailed monitoring is enabled for the - instance. - - Default: Disabled - """ - network_interfaces: list[InstanceNetworkInterfaceSpecification] | None = ... - """ - The network interfaces. If you specify a network interface, you must - specify subnet IDs and security group IDs using the network interface. - """ - placement: SpotPlacement | None = ... - """The placement information for the instance.""" - ramdisk_id: str | None = ... - """The ID of the RAM disk.""" - subnet_id: str | None = ... - """The ID of the subnet in which to launch the instance.""" - user_data: str | None = ... - """ - The base64-encoded user data that instances use when starting up. User - data is limited to 16 KB. - """ - -@dataclass(kw_only=True) -class Reservation(_SerdeShape): - """ - Describes a launch request for one or more instances, and includes - owner, requester, and security group information that applies to all - instances in the launch request. - """ - - reservation_id: str | None = ... - """The ID of the reservation.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the reservation.""" - requester_id: str | None = ... - """ - The ID of the requester that launched the instances on your behalf (for - example, Amazon Web Services Management Console or Auto Scaling). - """ - groups: list[GroupIdentifier] | None = ... - """Not supported.""" - instances: list[Instance] | None = ... - """The instances.""" - -class ReservationEndDateType(UnknownEnumMixin, StrEnum): - LIMITED = "limited" - UNLIMITED = "unlimited" - -@dataclass(kw_only=True) -class ReservationFleetInstanceSpecification(_SerdeShape): - """ - Information about an instance type to use in a Capacity Reservation - Fleet. - """ - - instance_type: str | None = ... - """ - The instance type for which the Capacity Reservation Fleet reserves - capacity. - """ - instance_platform: str | None = ... - """ - The type of operating system for which the Capacity Reservation Fleet - reserves capacity. - """ - weight: float | None = ... - """ - The number of capacity units provided by the specified instance type. - This value, together with the total target capacity that you specify for - the Fleet determine the number of instances for which the Fleet reserves - capacity. Both values are based on units that make sense for your - workload. For more information, see [Total target - capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) - in the *Amazon EC2 User Guide*. - """ - availability_zone: str | None = ... - """ - The Availability Zone in which the Capacity Reservation Fleet reserves - the capacity. A Capacity Reservation Fleet can't span Availability - Zones. All instance type specifications that you specify for the Fleet - must use the same Availability Zone. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which the Capacity Reservation Fleet - reserves the capacity. A Capacity Reservation Fleet can't span - Availability Zones. All instance type specifications that you specify - for the Fleet must use the same Availability Zone. - """ - ebs_optimized: bool | None = ... - """ - Indicates whether the Capacity Reservation Fleet supports EBS-optimized - instances types. This optimization provides dedicated throughput to - Amazon EBS and an optimized configuration stack to provide optimal I/O - performance. This optimization isn't available with all instance types. - Additional usage charges apply when using EBS-optimized instance types. - """ - priority: int | None = ... - """ - The priority to assign to the instance type. This value is used to - determine which of the instance types specified for the Fleet should be - prioritized for use. A lower value indicates a high priority. For more - information, see [Instance type - priority](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority) - in the *Amazon EC2 User Guide*. - """ - -class ReservationState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - EXPIRED = "expired" - CANCELLED = "cancelled" - SCHEDULED = "scheduled" - PENDING = "pending" - FAILED = "failed" - DELAYED = "delayed" - UNSUPPORTED = "unsupported" - PAYMENT_PENDING = "payment-pending" - PAYMENT_FAILED = "payment-failed" - RETIRED = "retired" - -class ReservationType(UnknownEnumMixin, StrEnum): - CAPACITY_BLOCK = "capacity-block" - ODCR = "odcr" - -@dataclass(kw_only=True) -class ReservationValue(_SerdeShape): - """The cost associated with the Reserved Instance.""" - - hourly_price: str | None = ... - """The hourly rate of the reservation.""" - remaining_total_value: str | None = ... - """ - The balance of the total value (the sum of remainingUpfrontValue + - hourlyPrice * number of hours remaining). - """ - remaining_upfront_value: str | None = ... - """The remaining upfront cost of the reservation.""" - -class ReservedCapacityAllocationStrategy(UnknownEnumMixin, StrEnum): - PRIORITIZED = "prioritized" - -class ReservedCapacityFallbackMarketType(UnknownEnumMixin, StrEnum): - ON_DEMAND = "on-demand" - -@dataclass(kw_only=True) -class ReservedCapacityFallbackOptions(_SerdeShape): - """ - Describes the fallback behavior for an EC2 Fleet that uses reserved - capacity when the reserved capacity is not enough to meet the target - capacity. If you don't specify fallback options, EC2 Fleet does not - fall back to any other market type after the specified reservation types - are exhausted. - """ - - market_types: list[str] | None = ... - """ - The instance purchasing options to fall back to when the reserved - capacity is not enough to meet the target capacity. The only supported - value is `on-demand`, which launches On-Demand Instances to fulfill the - remaining target capacity. - """ - -@dataclass(kw_only=True) -class ReservedCapacityFallbackOptionsRequest(_SerdeShape): - """ - Describes the fallback behavior for an EC2 Fleet that uses reserved - capacity when the reserved capacity is not enough to meet the target - capacity. If you don't specify fallback options, EC2 Fleet does not - fall back to any other market type after the specified reservation types - are exhausted. - """ - - market_types: list[str] | None = ... - """ - The instance purchasing options to fall back to when the reserved - capacity is not enough to meet the target capacity. The only supported - value is `on-demand`, which launches On-Demand Instances to fulfill the - remaining target capacity. - """ - -@dataclass(kw_only=True) -class ReservedCapacityOptions(_SerdeShape): - """ - Defines EC2 Fleet preferences for utilizing reserved capacity when - `DefaultTargetCapacityType` is set to `reserved-capacity`. EC2 Fleet can - fulfill reserved capacity using On-Demand Capacity Reservations, - Capacity Blocks for ML, and interruptible Capacity Reservations. - """ - - allocation_strategy: str | None = ... - """ - The strategy that determines the order in which EC2 Fleet launches - instances across the reservation types that you specify. The only - supported value is `prioritized`, which launches instances in the - priority order that you specify in your launch template overrides. If - you don't specify an allocation strategy, instances are launched in a - random order. - """ - reservation_types: list[str] | None = ... - """ - The types of Capacity Reservations used for fulfilling the EC2 Fleet - request. - """ - reserved_capacity_fallback_options: ReservedCapacityFallbackOptions | None = ... - """ - The fallback behavior for the EC2 Fleet when there is not enough - reserved capacity available to meet the target capacity. - """ - -@dataclass(kw_only=True) -class ReservedCapacityOptionsRequest(_SerdeShape): - """ - Defines EC2 Fleet preferences for utilizing reserved capacity when - `DefaultTargetCapacityType` is set to `reserved-capacity`. EC2 Fleet can - fulfill reserved capacity using On-Demand Capacity Reservations, - Capacity Blocks for ML, and interruptible Capacity Reservations. - - Note: - This configuration can only be used if the EC2 Fleet is of type - `instant`. - - When you specify `ReservedCapacityOptions`, you must also set - `DefaultTargetCapacityType` to `reserved-capacity` in the - `TargetCapacitySpecification`. - - For more information about interruptible Capacity Reservations, see - [Launch instances into an interruptible Capacity - Reservation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-launch-instances-interruptible-cr-walkthrough.html) - in the *Amazon EC2 User Guide*. - """ - - allocation_strategy: str | None = ... - """ - The strategy that determines the order in which EC2 Fleet launches - instances across the reservation types that you specify. The only - supported value is `prioritized`, which launches instances in the - priority order that you specify in your launch template overrides. If - you don't specify an allocation strategy, instances are launched in a - random order. - """ - reservation_types: list[str] | None = ... - """ - The types of Capacity Reservations to use for fulfilling the EC2 Fleet - request. This is an ordered list: EC2 Fleet attempts to launch instances - into each Capacity Reservation type in the order that you specify them - before moving on to the next type. - """ - capacity_reservation_target: FleetCapacityReservationTargetRequest | None = ... - """ - The Capacity Reservations or Capacity Reservation Resource Groups to use - for fulfilling the EC2 Fleet request. You can specify Capacity - Reservation IDs or a Capacity Reservation Resource Group ARN, but not - both. - """ - reserved_capacity_fallback_options: ( - ReservedCapacityFallbackOptionsRequest | None - ) = ... - """ - The fallback behavior for the EC2 Fleet when there is not enough - reserved capacity available to meet the target capacity. This member - takes a `ReservedCapacityFallbackOptionsRequest` structure, in which you - set `MarketTypes` to the instance purchasing options to fall back to. - """ - -@dataclass(kw_only=True) -class ReservedInstanceLimitPrice(_SerdeShape): - """Describes the limit price of a Reserved Instance offering.""" - - amount: float | None = ... - """ - Used for Reserved Instance Marketplace offerings. Specifies the limit - price on the total order (instanceCount * price). - """ - currency_code: str | None = ... - """ - The currency in which the `limitPrice` amount is specified. At this - time, the only supported currency is `USD`. - """ - -@dataclass(kw_only=True) -class ReservedInstanceReservationValue(_SerdeShape): - """The total value of the Convertible Reserved Instance.""" - - reservation_value: ReservationValue | None = ... - """ - The total value of the Convertible Reserved Instance that you are - exchanging. - """ - reserved_instance_id: str | None = ... - """The ID of the Convertible Reserved Instance that you are exchanging.""" - -@dataclass(kw_only=True) -class ReservedInstances(_SerdeShape): - """Describes a Reserved Instance.""" - - currency_code: str | None = ... - """ - The currency of the Reserved Instance. It's specified using ISO 4217 - standard currency codes. At this time, the only supported currency is - `USD`. - """ - instance_tenancy: str | None = ... - """The tenancy of the instance.""" - offering_class: str | None = ... - """The offering class of the Reserved Instance.""" - offering_type: str | None = ... - """The Reserved Instance offering type.""" - recurring_charges: list[RecurringCharge] | None = ... - """The recurring charge tag assigned to the resource.""" - scope: str | None = ... - """The scope of the Reserved Instance.""" - tags: list[Tag] | None = ... - """Any tags assigned to the resource.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - reserved_instances_id: str | None = ... - """The ID of the Reserved Instance.""" - instance_type: str | None = ... - """The instance type on which the Reserved Instance can be used.""" - availability_zone: str | None = ... - """The Availability Zone in which the Reserved Instance can be used.""" - start: datetime | None = ... - """The date and time the Reserved Instance started.""" - end: datetime | None = ... - """The time when the Reserved Instance expires.""" - duration: int | None = ... - """The duration of the Reserved Instance, in seconds.""" - usage_price: float | None = ... - """The usage price of the Reserved Instance, per hour.""" - fixed_price: float | None = ... - """The purchase price of the Reserved Instance.""" - instance_count: int | None = ... - """The number of reservations purchased.""" - product_description: str | None = ... - """The Reserved Instance product platform description.""" - state: str | None = ... - """The state of the Reserved Instance purchase.""" - -@dataclass(kw_only=True) -class ReservedInstancesConfiguration(_SerdeShape): - """ - Describes the configuration settings for the modified Reserved - Instances. - """ - - availability_zone: str | None = ... - """The Availability Zone for the modified Reserved Instances.""" - instance_count: int | None = ... - """ - The number of modified Reserved Instances. - - Note: - This is a required field for a request. - """ - instance_type: str | None = ... - """The instance type for the modified Reserved Instances.""" - platform: str | None = ... - """The network platform of the modified Reserved Instances.""" - scope: str | None = ... - """ - Whether the Reserved Instance is applied to instances in a Region or - instances in a specific Availability Zone. - """ - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - -@dataclass(kw_only=True) -class ReservedInstancesId(_SerdeShape): - """Describes the ID of a Reserved Instance.""" - - reserved_instances_id: str | None = ... - """The ID of the Reserved Instance.""" - -@dataclass(kw_only=True) -class ReservedInstancesListing(_SerdeShape): - """Describes a Reserved Instance listing.""" - - client_token: str | None = ... - """ - A unique, case-sensitive key supplied by the client to ensure that the - request is idempotent. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - create_date: datetime | None = ... - """The time the listing was created.""" - instance_counts: list[InstanceCount] | None = ... - """The number of instances in this state.""" - price_schedules: list[PriceSchedule] | None = ... - """The price of the Reserved Instance listing.""" - reserved_instances_id: str | None = ... - """The ID of the Reserved Instance.""" - reserved_instances_listing_id: str | None = ... - """The ID of the Reserved Instance listing.""" - status: str | None = ... - """The status of the Reserved Instance listing.""" - status_message: str | None = ... - """ - The reason for the current status of the Reserved Instance listing. The - response can be blank. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the resource.""" - update_date: datetime | None = ... - """The last modified timestamp of the listing.""" - -@dataclass(kw_only=True) -class ReservedInstancesModification(_SerdeShape): - """Describes a Reserved Instance modification.""" - - client_token: str | None = ... - """ - A unique, case-sensitive key supplied by the client to ensure that the - request is idempotent. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - create_date: datetime | None = ... - """The time when the modification request was created.""" - effective_date: datetime | None = ... - """The time for the modification to become effective.""" - modification_results: list[ReservedInstancesModificationResult] | None = ... - """ - Contains target configurations along with their corresponding new - Reserved Instance IDs. - """ - reserved_instances_ids: list[ReservedInstancesId] | None = ... - """The IDs of one or more Reserved Instances.""" - reserved_instances_modification_id: str | None = ... - """A unique ID for the Reserved Instance modification.""" - status: str | None = ... - """The status of the Reserved Instances modification request.""" - status_message: str | None = ... - """The reason for the status.""" - update_date: datetime | None = ... - """The time when the modification request was last updated.""" - -@dataclass(kw_only=True) -class ReservedInstancesModificationResult(_SerdeShape): - """Describes the modification request/s.""" - - reserved_instances_id: str | None = ... - """ - The ID for the Reserved Instances that were created as part of the - modification request. This field is only available when the modification - is fulfilled. - """ - target_configuration: ReservedInstancesConfiguration | None = ... - """ - The target Reserved Instances configurations supplied as part of the - modification request. - """ - -@dataclass(kw_only=True) -class ReservedInstancesOffering(_SerdeShape): - """Describes a Reserved Instance offering.""" - - currency_code: str | None = ... - """ - The currency of the Reserved Instance offering you are purchasing. It's - specified using ISO 4217 standard currency codes. At this time, the only - supported currency is `USD`. - """ - instance_tenancy: str | None = ... - """The tenancy of the instance.""" - marketplace: bool | None = ... - """ - Indicates whether the offering is available through the Reserved - Instance Marketplace (resale) or Amazon Web Services. If it's a - Reserved Instance Marketplace offering, this is `true`. - """ - offering_class: str | None = ... - """ - If `convertible` it can be exchanged for Reserved Instances of the same - or higher monetary value, with different configurations. If `standard`, - it is not possible to perform an exchange. - """ - offering_type: str | None = ... - """The Reserved Instance offering type.""" - pricing_details: list[PricingDetail] | None = ... - """The pricing details of the Reserved Instance offering.""" - recurring_charges: list[RecurringCharge] | None = ... - """The recurring charge tag assigned to the resource.""" - scope: str | None = ... - """ - Whether the Reserved Instance is applied to instances in a Region or an - Availability Zone. - """ - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - reserved_instances_offering_id: str | None = ... - """ - The ID of the Reserved Instance offering. This is the offering ID used - in GetReservedInstancesExchangeQuote to confirm that an exchange can be - made. - """ - instance_type: str | None = ... - """The instance type on which the Reserved Instance can be used.""" - availability_zone: str | None = ... - """The Availability Zone in which the Reserved Instance can be used.""" - duration: int | None = ... - """The duration of the Reserved Instance, in seconds.""" - usage_price: float | None = ... - """The usage price of the Reserved Instance, per hour.""" - fixed_price: float | None = ... - """The purchase price of the Reserved Instance.""" - product_description: str | None = ... - """The Reserved Instance product platform description.""" - -class ReservedInstanceState(UnknownEnumMixin, StrEnum): - PAYMENT_PENDING = "payment-pending" - ACTIVE = "active" - PAYMENT_FAILED = "payment-failed" - RETIRED = "retired" - QUEUED = "queued" - QUEUED_DELETED = "queued-deleted" - -@dataclass(kw_only=True) -class ResetAddressAttributeInput(_SerdeShape): - """Dataclass for ResetAddressAttributeInput structure.""" - - allocation_id: str | None = ... - """[EC2-VPC] The allocation ID.""" - attribute: str | None = ... - """The attribute of the IP address.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ResetAddressAttributeOutput(_SerdeShape): - """Dataclass for ResetAddressAttributeOutput structure.""" - - address: AddressAttribute | None = ... - """Information about the IP address.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResetEbsDefaultKmsKeyIdInput(_SerdeShape): - """Dataclass for ResetEbsDefaultKmsKeyIdInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ResetEbsDefaultKmsKeyIdOutput(_SerdeShape): - """Dataclass for ResetEbsDefaultKmsKeyIdOutput structure.""" - - kms_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the default KMS key for EBS encryption - by default. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResetFpgaImageAttributeInput(_SerdeShape): - """Dataclass for ResetFpgaImageAttributeInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - fpga_image_id: str | None = ... - """The ID of the AFI.""" - attribute: str | None = ... - """The attribute.""" - -class ResetFpgaImageAttributeName(UnknownEnumMixin, StrEnum): - LOAD_PERMISSION = "loadPermission" - -@dataclass(kw_only=True) -class ResetFpgaImageAttributeOutput(_SerdeShape): - """Dataclass for ResetFpgaImageAttributeOutput structure.""" - - return_: bool | None = ... - """Is `true` if the request succeeds, and an error otherwise.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResetImageAttributeInput(_SerdeShape): - """Contains the parameters for ResetImageAttribute.""" - - attribute: str | None = ... - """ - The attribute to reset (currently you can only reset the launch - permission attribute). - """ - image_id: str | None = ... - """The ID of the AMI.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -class ResetImageAttributeName(UnknownEnumMixin, StrEnum): - LAUNCH_PERMISSION = "launchPermission" - -@dataclass(kw_only=True) -class ResetImageAttributeOutput(_SerdeShape): - """Dataclass for ResetImageAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResetInstanceAttributeInput(_SerdeShape): - """Dataclass for ResetInstanceAttributeInput structure.""" - - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - instance_id: str | None = ... - """The ID of the instance.""" - attribute: str | None = ... - """ - The attribute to reset. - - Warning: - You can only reset the following attributes: `kernel` | `ramdisk` | - `sourceDestCheck`. - """ - -@dataclass(kw_only=True) -class ResetInstanceAttributeOutput(_SerdeShape): - """Dataclass for ResetInstanceAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResetNetworkInterfaceAttributeInput(_SerdeShape): - """Contains the parameters for ResetNetworkInterfaceAttribute.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - network_interface_id: str | None = ... - """The ID of the network interface.""" - source_dest_check: str | None = ... - """The source/destination checking attribute. Resets the value to `true`.""" - -@dataclass(kw_only=True) -class ResetNetworkInterfaceAttributeOutput(_SerdeShape): - """Dataclass for ResetNetworkInterfaceAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResetSnapshotAttributeInput(_SerdeShape): - """Dataclass for ResetSnapshotAttributeInput structure.""" - - attribute: str | None = ... - """ - The attribute to reset. Currently, only the attribute for permission to - create volumes can be reset. - """ - snapshot_id: str | None = ... - """The ID of the snapshot.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ResetSnapshotAttributeOutput(_SerdeShape): - """Dataclass for ResetSnapshotAttributeOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceStatement(_SerdeShape): - """Describes a resource statement.""" - - resources: list[str] | None = ... - """The resources.""" - resource_types: list[str] | None = ... - """The resource types.""" - -@dataclass(kw_only=True) -class ResourceStatementRequest(_SerdeShape): - """Describes a resource statement.""" - - resources: list[str] | None = ... - """The resources.""" - resource_types: list[str] | None = ... - """The resource types.""" - -class ResourceType(UnknownEnumMixin, StrEnum): - CAPACITY_RESERVATION = "capacity-reservation" - CLIENT_VPN_ENDPOINT = "client-vpn-endpoint" - CUSTOMER_GATEWAY = "customer-gateway" - CARRIER_GATEWAY = "carrier-gateway" - COIP_POOL = "coip-pool" - DECLARATIVE_POLICIES_REPORT = "declarative-policies-report" - DEDICATED_HOST = "dedicated-host" - DHCP_OPTIONS = "dhcp-options" - EGRESS_ONLY_INTERNET_GATEWAY = "egress-only-internet-gateway" - ELASTIC_IP = "elastic-ip" - ELASTIC_GPU = "elastic-gpu" - EXPORT_IMAGE_TASK = "export-image-task" - EXPORT_INSTANCE_TASK = "export-instance-task" - FLEET = "fleet" - FPGA_IMAGE = "fpga-image" - HOST_RESERVATION = "host-reservation" - IMAGE = "image" - IMAGE_USAGE_REPORT = "image-usage-report" - IMPORT_IMAGE_TASK = "import-image-task" - IMPORT_SNAPSHOT_TASK = "import-snapshot-task" - INSTANCE = "instance" - INSTANCE_EVENT_WINDOW = "instance-event-window" - INTERNET_GATEWAY = "internet-gateway" - IPAM = "ipam" - IPAM_POOL = "ipam-pool" - IPAM_SCOPE = "ipam-scope" - IPV4POOL_EC2 = "ipv4pool-ec2" - IPV6POOL_EC2 = "ipv6pool-ec2" - KEY_PAIR = "key-pair" - LAUNCH_TEMPLATE = "launch-template" - LOCAL_GATEWAY = "local-gateway" - LOCAL_GATEWAY_ROUTE_TABLE = "local-gateway-route-table" - LOCAL_GATEWAY_VIRTUAL_INTERFACE = "local-gateway-virtual-interface" - LOCAL_GATEWAY_VIRTUAL_INTERFACE_GROUP = "local-gateway-virtual-interface-group" - LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION = ( - "local-gateway-route-table-vpc-association" - ) - LOCAL_GATEWAY_ROUTE_TABLE_VIRTUAL_INTERFACE_GROUP_ASSOCIATION = ( - "local-gateway-route-table-virtual-interface-group-association" - ) - NATGATEWAY = "natgateway" - NETWORK_ACL = "network-acl" - NETWORK_INTERFACE = "network-interface" - NETWORK_INSIGHTS_ANALYSIS = "network-insights-analysis" - NETWORK_INSIGHTS_PATH = "network-insights-path" - NETWORK_INSIGHTS_ACCESS_SCOPE = "network-insights-access-scope" - NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS = "network-insights-access-scope-analysis" - OUTPOST_LAG = "outpost-lag" - PLACEMENT_GROUP = "placement-group" - PREFIX_LIST = "prefix-list" - REPLACE_ROOT_VOLUME_TASK = "replace-root-volume-task" - RESERVED_INSTANCES = "reserved-instances" - ROUTE_TABLE = "route-table" - SECURITY_GROUP = "security-group" - SECURITY_GROUP_RULE = "security-group-rule" - SERVICE_LINK_VIRTUAL_INTERFACE = "service-link-virtual-interface" - SNAPSHOT = "snapshot" - SPOT_FLEET_REQUEST = "spot-fleet-request" - SPOT_INSTANCES_REQUEST = "spot-instances-request" - SUBNET = "subnet" - SUBNET_CIDR_RESERVATION = "subnet-cidr-reservation" - TRAFFIC_MIRROR_FILTER = "traffic-mirror-filter" - TRAFFIC_MIRROR_SESSION = "traffic-mirror-session" - TRAFFIC_MIRROR_TARGET = "traffic-mirror-target" - TRANSIT_GATEWAY = "transit-gateway" - TRANSIT_GATEWAY_ATTACHMENT = "transit-gateway-attachment" - TRANSIT_GATEWAY_CONNECT_PEER = "transit-gateway-connect-peer" - TRANSIT_GATEWAY_MULTICAST_DOMAIN = "transit-gateway-multicast-domain" - TRANSIT_GATEWAY_POLICY_TABLE = "transit-gateway-policy-table" - TRANSIT_GATEWAY_METERING_POLICY = "transit-gateway-metering-policy" - TRANSIT_GATEWAY_ROUTE_TABLE = "transit-gateway-route-table" - TRANSIT_GATEWAY_ROUTE_TABLE_ANNOUNCEMENT = ( - "transit-gateway-route-table-announcement" - ) - VOLUME = "volume" - VPC = "vpc" - VPC_ENDPOINT = "vpc-endpoint" - VPC_ENDPOINT_CONNECTION = "vpc-endpoint-connection" - VPC_ENDPOINT_SERVICE = "vpc-endpoint-service" - VPC_ENDPOINT_SERVICE_PERMISSION = "vpc-endpoint-service-permission" - VPC_PEERING_CONNECTION = "vpc-peering-connection" - VPN_CONNECTION = "vpn-connection" - VPN_GATEWAY = "vpn-gateway" - VPC_FLOW_LOG = "vpc-flow-log" - CAPACITY_RESERVATION_FLEET = "capacity-reservation-fleet" - TRAFFIC_MIRROR_FILTER_RULE = "traffic-mirror-filter-rule" - VPC_ENDPOINT_CONNECTION_DEVICE_TYPE = "vpc-endpoint-connection-device-type" - VERIFIED_ACCESS_INSTANCE = "verified-access-instance" - VERIFIED_ACCESS_GROUP = "verified-access-group" - VERIFIED_ACCESS_ENDPOINT = "verified-access-endpoint" - VERIFIED_ACCESS_POLICY = "verified-access-policy" - VERIFIED_ACCESS_TRUST_PROVIDER = "verified-access-trust-provider" - VPN_CONNECTION_DEVICE_TYPE = "vpn-connection-device-type" - VPC_BLOCK_PUBLIC_ACCESS_EXCLUSION = "vpc-block-public-access-exclusion" - VPC_ENCRYPTION_CONTROL = "vpc-encryption-control" - ROUTE_SERVER = "route-server" - ROUTE_SERVER_ENDPOINT = "route-server-endpoint" - ROUTE_SERVER_PEER = "route-server-peer" - IPAM_RESOURCE_DISCOVERY = "ipam-resource-discovery" - IPAM_RESOURCE_DISCOVERY_ASSOCIATION = "ipam-resource-discovery-association" - INSTANCE_CONNECT_ENDPOINT = "instance-connect-endpoint" - VERIFIED_ACCESS_ENDPOINT_TARGET = "verified-access-endpoint-target" - IPAM_EXTERNAL_RESOURCE_VERIFICATION_TOKEN = ( - "ipam-external-resource-verification-token" - ) - CAPACITY_BLOCK = "capacity-block" - MAC_MODIFICATION_TASK = "mac-modification-task" - IPAM_PREFIX_LIST_RESOLVER = "ipam-prefix-list-resolver" - IPAM_POLICY = "ipam-policy" - IPAM_PREFIX_LIST_RESOLVER_TARGET = "ipam-prefix-list-resolver-target" - IPAM_INTERNET_REGISTRY_ASSOCIATION = "ipam-internet-registry-association" - SECONDARY_INTERFACE = "secondary-interface" - SECONDARY_NETWORK = "secondary-network" - SECONDARY_SUBNET = "secondary-subnet" - CAPACITY_MANAGER_DATA_EXPORT = "capacity-manager-data-export" - VPN_CONCENTRATOR = "vpn-concentrator" - IPAM_POOL_ALLOCATION = "ipam-pool-allocation" - CAPACITY_RESERVATION_CANCELLATION_QUOTE = "capacity-reservation-cancellation-quote" - APPLICATION_STATUS_CHECK = "application-status-check" - CAPACITY_RESERVATION_MODIFICATION_QUOTE = "capacity-reservation-modification-quote" - -@dataclass(kw_only=True) -class ResourceTypeOption(_SerdeShape): - """The options that affect the scope of the response.""" - - option_name: str | None = ... - """ - The name of the option. - - - For `ec2:Instance`: - - Specify `state-name` - The current state of the EC2 instance. - - - For `ec2:LaunchTemplate`: - - Specify `version-depth` - The number of launch template versions to - check, starting from the most recent version. - """ - option_values: list[str] | None = ... - """ - A value for the specified option. - - - For `state-name`: - - - Valid values: `pending` | `running` | `shutting-down` | - `terminated` | `stopping` | `stopped` - - - Default: All states - - - For `version-depth`: - - - Valid values: Integers between `1` and `10000` - - - Default: `10` - """ - -@dataclass(kw_only=True) -class ResourceTypeRequest(_SerdeShape): - """ - A resource type to check for image references. Associated options can - also be specified if the resource type is an EC2 instance or launch - template. - """ - - resource_type: str | None = ... - """The resource type.""" - resource_type_options: list[ResourceTypeOption] | None = ... - """ - The options that affect the scope of the response. Valid only when - `ResourceType` is `ec2:Instance` or `ec2:LaunchTemplate`. - """ - -@dataclass(kw_only=True) -class ResponseError(_SerdeShape): - """ - Describes the error that's returned when you cannot delete a launch - template version. - """ - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The error message, if applicable.""" - -@dataclass(kw_only=True) -class ResponseLaunchTemplateData(_SerdeShape): - """The information for a launch template.""" - - kernel_id: str | None = ... - """The ID of the kernel, if applicable.""" - ebs_optimized: bool | None = ... - """Indicates whether the instance is optimized for Amazon EBS I/O.""" - iam_instance_profile: LaunchTemplateIamInstanceProfileSpecification | None = ... - """The IAM instance profile.""" - block_device_mappings: list[LaunchTemplateBlockDeviceMapping] | None = ... - """The block device mappings.""" - network_interfaces: ( - list[LaunchTemplateInstanceNetworkInterfaceSpecification] | None - ) = ... - """The network interfaces.""" - image_id: str | None = ... - """ - The ID of the AMI or a Systems Manager parameter. The Systems Manager - parameter will resolve to the ID of the AMI at instance launch. - - The value depends on what you specified in the request. The possible - values are: - - - If an AMI ID was specified in the request, then this is the AMI ID. - - - If a Systems Manager parameter was specified in the request, and - `ResolveAlias` was configured as `true`, then this is the AMI ID that - the parameter is mapped to in the Parameter Store. - - - If a Systems Manager parameter was specified in the request, and - `ResolveAlias` was configured as `false`, then this is the parameter - value. - - For more information, see [Use a Systems Manager parameter instead of an - AMI - ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) - in the *Amazon EC2 User Guide*. - """ - instance_type: str | None = ... - """The instance type.""" - key_name: str | None = ... - """The name of the key pair.""" - monitoring: LaunchTemplatesMonitoring | None = ... - """The monitoring for the instance.""" - placement: LaunchTemplatePlacement | None = ... - """The placement of the instance.""" - ram_disk_id: str | None = ... - """The ID of the RAM disk, if applicable.""" - disable_api_termination: bool | None = ... - """ - If set to `true`, indicates that the instance cannot be terminated using - the Amazon EC2 console, command line tool, or API. - """ - instance_initiated_shutdown_behavior: str | None = ... - """ - Indicates whether an instance stops or terminates when you initiate - shutdown from the instance (using the operating system command for - system shutdown). - """ - user_data: str | None = ... - """The user data for the instance.""" - tag_specifications: list[LaunchTemplateTagSpecification] | None = ... - """ - The tags that are applied to the resources that are created during - instance launch. - """ - elastic_gpu_specifications: list[ElasticGpuSpecificationResponse] | None = ... - """ - Deprecated. - - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - """ - elastic_inference_accelerators: ( - list[LaunchTemplateElasticInferenceAcceleratorResponse] | None - ) = ... - """ - Note: - Amazon Elastic Inference is no longer available. - - An elastic inference accelerator to associate with the instance. Elastic - inference accelerators are a resource you can attach to your Amazon EC2 - instances to accelerate your Deep Learning (DL) inference workloads. - - You cannot specify accelerators from different generations in the same - request. - """ - security_group_ids: list[str] | None = ... - """The security group IDs.""" - security_groups: list[str] | None = ... - """The security group names.""" - instance_market_options: LaunchTemplateInstanceMarketOptions | None = ... - """The market (purchasing) option for the instances.""" - credit_specification: CreditSpecification | None = ... - """The credit option for CPU usage of the instance.""" - cpu_options: LaunchTemplateCpuOptions | None = ... - """ - The CPU options for the instance. For more information, see [CPU options - for Amazon EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) - in the *Amazon EC2 User Guide*. - """ - capacity_reservation_specification: ( - LaunchTemplateCapacityReservationSpecificationResponse | None - ) = ... - """Information about the Capacity Reservation targeting option.""" - license_specifications: list[LaunchTemplateLicenseConfiguration] | None = ... - """The license configurations.""" - hibernation_options: LaunchTemplateHibernationOptions | None = ... - """ - Indicates whether an instance is configured for hibernation. For more - information, see [Hibernate your Amazon EC2 - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) - in the *Amazon EC2 User Guide*. - """ - metadata_options: LaunchTemplateInstanceMetadataOptions | None = ... - """ - The metadata options for the instance. For more information, see - [Configure the Instance Metadata Service - options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html) - in the *Amazon EC2 User Guide*. - """ - enclave_options: LaunchTemplateEnclaveOptions | None = ... - """ - Indicates whether the instance is enabled for Amazon Web Services Nitro - Enclaves. - """ - instance_requirements: InstanceRequirements | None = ... - """ - The attributes for the instance types. When you specify instance - attributes, Amazon EC2 will identify instance types with these - attributes. - - If you specify `InstanceRequirements`, you can't specify - `InstanceTypes`. - """ - private_dns_name_options: LaunchTemplatePrivateDnsNameOptions | None = ... - """The options for the instance hostname.""" - maintenance_options: LaunchTemplateInstanceMaintenanceOptions | None = ... - """The maintenance options for your instance.""" - disable_api_stop: bool | None = ... - """ - Indicates whether the instance is enabled for stop protection. For more - information, see [Enable stop protection for your EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html) - in the *Amazon EC2 User Guide*. - """ - operator: OperatorResponse | None = ... - """The entity that manages the launch template.""" - network_performance_options: LaunchTemplateNetworkPerformanceOptions | None = ... - """ - Contains the launch template settings for network performance options - for your instance. - """ - secondary_interfaces: ( - list[LaunchTemplateInstanceSecondaryInterfaceSpecification] | None - ) = ... - """The secondary interfaces associated with the launch template.""" - -@dataclass(kw_only=True) -class RestoreAddressToClassicInput(_SerdeShape): - """Dataclass for RestoreAddressToClassicInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - public_ip: str | None = ... - """The Elastic IP address.""" - -@dataclass(kw_only=True) -class RestoreAddressToClassicOutput(_SerdeShape): - """Dataclass for RestoreAddressToClassicOutput structure.""" - - public_ip: str | None = ... - """The Elastic IP address.""" - status: str | None = ... - """The move status for the IP address.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreImageFromRecycleBinInput(_SerdeShape): - """Dataclass for RestoreImageFromRecycleBinInput structure.""" - - image_id: str | None = ... - """The ID of the AMI to restore.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RestoreImageFromRecycleBinOutput(_SerdeShape): - """Dataclass for RestoreImageFromRecycleBinOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreManagedPrefixListVersionInput(_SerdeShape): - """Dataclass for RestoreManagedPrefixListVersionInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - previous_version: int | None = ... - """The version to restore.""" - current_version: int | None = ... - """The current version number for the prefix list.""" - -@dataclass(kw_only=True) -class RestoreManagedPrefixListVersionOutput(_SerdeShape): - """Dataclass for RestoreManagedPrefixListVersionOutput structure.""" - - prefix_list: ManagedPrefixList | None = ... - """Information about the prefix list.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreSnapshotFromRecycleBinInput(_SerdeShape): - """Dataclass for RestoreSnapshotFromRecycleBinInput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot to restore.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RestoreSnapshotFromRecycleBinOutput(_SerdeShape): - """Dataclass for RestoreSnapshotFromRecycleBinOutput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - outpost_arn: str | None = ... - """ - The ARN of the Outpost on which the snapshot is stored. For more - information, see [Amazon EBS local snapshots on - Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html) - in the *Amazon EBS User Guide*. - """ - description: str | None = ... - """The description for the snapshot.""" - encrypted: bool | None = ... - """Indicates whether the snapshot is encrypted.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the EBS snapshot.""" - progress: str | None = ... - """The progress of the snapshot, as a percentage.""" - start_time: datetime | None = ... - """The time stamp when the snapshot was initiated.""" - state: str | None = ... - """The state of the snapshot.""" - volume_id: str | None = ... - """The ID of the volume that was used to create the snapshot.""" - volume_size: int | None = ... - """The size of the volume, in GiB.""" - sse_type: str | None = ... - """Reserved for future use.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreSnapshotTierInput(_SerdeShape): - """Dataclass for RestoreSnapshotTierInput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot to restore.""" - temporary_restore_days: int | None = ... - """ - Specifies the number of days for which to temporarily restore an - archived snapshot. Required for temporary restores only. The snapshot - will be automatically re-archived after this period. - - To temporarily restore an archived snapshot, specify the number of days - and omit the **PermanentRestore** parameter or set it to `false`. - """ - permanent_restore: bool | None = ... - """ - Indicates whether to permanently restore an archived snapshot. To - permanently restore an archived snapshot, specify `true` and omit the - **RestoreSnapshotTierRequest$TemporaryRestoreDays** parameter. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RestoreSnapshotTierOutput(_SerdeShape): - """Dataclass for RestoreSnapshotTierOutput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - restore_start_time: datetime | None = ... - """The date and time when the snapshot restore process started.""" - restore_duration: int | None = ... - """ - For temporary restores only. The number of days for which the archived - snapshot is temporarily restored. - """ - is_permanent_restore: bool | None = ... - """ - Indicates whether the snapshot is permanently restored. `true` indicates - a permanent restore. `false` indicates a temporary restore. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreVolumeFromRecycleBinInput(_SerdeShape): - """Dataclass for RestoreVolumeFromRecycleBinInput structure.""" - - volume_id: str | None = ... - """The ID of the volume to restore.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RestoreVolumeFromRecycleBinOutput(_SerdeShape): - """Dataclass for RestoreVolumeFromRecycleBinOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RevokeClientVpnIngressInput(_SerdeShape): - """Dataclass for RevokeClientVpnIngressInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """ - The ID of the Client VPN endpoint with which the authorization rule is - associated. - """ - target_network_cidr: str | None = ... - """ - The IPv4 address range, in CIDR notation, of the network for which - access is being removed. - """ - access_group_id: str | None = ... - """The ID of the Active Directory group for which to revoke access.""" - revoke_all_groups: bool | None = ... - """ - Indicates whether access should be revoked for all groups for a single - `TargetNetworkCidr` that earlier authorized ingress for all groups using - `AuthorizeAllGroups`. This does not impact other authorization rules - that allowed ingress to the same `TargetNetworkCidr` with a specific - `AccessGroupId`. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RevokeClientVpnIngressOutput(_SerdeShape): - """Dataclass for RevokeClientVpnIngressOutput structure.""" - - status: ClientVpnAuthorizationRuleStatus | None = ... - """The current state of the authorization rule.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RevokedSecurityGroupRule(_SerdeShape): - """ - A security group rule removed with - [RevokeSecurityGroupEgress](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupEgress.html) - or - [RevokeSecurityGroupIngress](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupIngress.html). - """ - - security_group_rule_id: str | None = ... - """A security group rule ID.""" - group_id: str | None = ... - """A security group ID.""" - is_egress: bool | None = ... - """Defines if a security group rule is an outbound rule.""" - ip_protocol: str | None = ... - """The security group rule's protocol.""" - from_port: int | None = ... - """The 'from' port number of the security group rule.""" - to_port: int | None = ... - """The 'to' port number of the security group rule.""" - cidr_ipv4: str | None = ... - """The IPv4 CIDR of the traffic source.""" - cidr_ipv6: str | None = ... - """The IPv6 CIDR of the traffic source.""" - prefix_list_id: str | None = ... - """The ID of a prefix list that's the traffic source.""" - referenced_group_id: str | None = ... - """The ID of a referenced security group.""" - description: str | None = ... - """A description of the revoked security group rule.""" - -@dataclass(kw_only=True) -class RevokeSecurityGroupEgressInput(_SerdeShape): - """Dataclass for RevokeSecurityGroupEgressInput structure.""" - - security_group_rule_ids: list[str] | None = ... - """The IDs of the security group rules.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - group_id: str | None = ... - """The ID of the security group.""" - source_security_group_name: str | None = ... - """ - Not supported. Use a set of IP permissions to specify a destination - security group. - """ - source_security_group_owner_id: str | None = ... - """ - Not supported. Use a set of IP permissions to specify a destination - security group. - """ - ip_protocol: str | None = ... - """ - Not supported. Use a set of IP permissions to specify the protocol name - or number. - """ - from_port: int | None = ... - """Not supported. Use a set of IP permissions to specify the port.""" - to_port: int | None = ... - """Not supported. Use a set of IP permissions to specify the port.""" - cidr_ip: str | None = ... - """Not supported. Use a set of IP permissions to specify the CIDR.""" - ip_permissions: list[IpPermission] | None = ... - """ - The sets of IP permissions. You can't specify a destination security - group and a CIDR IP address range in the same set of permissions. - """ - -@dataclass(kw_only=True) -class RevokeSecurityGroupEgressOutput(_SerdeShape): - """Dataclass for RevokeSecurityGroupEgressOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - unknown_ip_permissions: list[IpPermission] | None = ... - """ - The outbound rules that were unknown to the service. In some cases, - `unknownIpPermissionSet` might be in a different format from the request - parameter. - """ - revoked_security_group_rules: list[RevokedSecurityGroupRule] | None = ... - """Details about the revoked security group rules.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RevokeSecurityGroupIngressInput(_SerdeShape): - """Dataclass for RevokeSecurityGroupIngressInput structure.""" - - cidr_ip: str | None = ... - """ - The CIDR IP address range. You can't specify this parameter when - specifying a source security group. - """ - from_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the start of the port range. If - the protocol is ICMP, this is the ICMP type or -1 (all ICMP types). - """ - group_id: str | None = ... - """The ID of the security group.""" - group_name: str | None = ... - """ - [Default VPC] The name of the security group. You must specify either - the security group ID or the security group name in the request. For - security groups in a nondefault VPC, you must specify the security group - ID. - """ - ip_permissions: list[IpPermission] | None = ... - """ - The sets of IP permissions. You can't specify a source security group - and a CIDR IP address range in the same set of permissions. - """ - ip_protocol: str | None = ... - """ - The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol - Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). - Use `-1` to specify all. - """ - source_security_group_name: str | None = ... - """ - [Default VPC] The name of the source security group. You can't - specify this parameter in combination with the following parameters: the - CIDR IP address range, the start of the port range, the IP protocol, and - the end of the port range. The source security group must be in the same - VPC. To revoke a specific rule for an IP protocol and port range, use a - set of IP permissions instead. - """ - source_security_group_owner_id: str | None = ... - """Not supported.""" - to_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the end of the port range. If the - protocol is ICMP, this is the ICMP code or -1 (all ICMP codes). - """ - security_group_rule_ids: list[str] | None = ... - """The IDs of the security group rules.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class RevokeSecurityGroupIngressOutput(_SerdeShape): - """Dataclass for RevokeSecurityGroupIngressOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - unknown_ip_permissions: list[IpPermission] | None = ... - """ - The inbound rules that were unknown to the service. In some cases, - `unknownIpPermissionSet` might be in a different format from the request - parameter. - """ - revoked_security_group_rules: list[RevokedSecurityGroupRule] | None = ... - """Details about the revoked security group rules.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class RIProductDescription(UnknownEnumMixin, StrEnum): - LINUX_UNIX = "Linux/UNIX" - LINUX_UNIX_AMAZON_VPC_ = "Linux/UNIX (Amazon VPC)" - WINDOWS = "Windows" - WINDOWS_AMAZON_VPC_ = "Windows (Amazon VPC)" - -class Rir(UnknownEnumMixin, StrEnum): - """The Regional Internet Registry (RIR).""" - - RIPE = "ripe" - APNIC = "apnic" - ARIN = "arin" - LACNIC = "lacnic" - NICBR = "nicbr" - -class RootDeviceType(UnknownEnumMixin, StrEnum): - EBS = "ebs" - INSTANCE_STORE = "instance-store" - -@dataclass(kw_only=True) -class Route(_SerdeShape): - """Describes a route in a route table.""" - - destination_cidr_block: str | None = ... - """The IPv4 CIDR block used for the destination match.""" - destination_ipv6_cidr_block: str | None = ... - """The IPv6 CIDR block used for the destination match.""" - destination_prefix_list_id: str | None = ... - """The prefix of the Amazon Web Services service.""" - egress_only_internet_gateway_id: str | None = ... - """The ID of the egress-only internet gateway.""" - gateway_id: str | None = ... - """The ID of a gateway attached to your VPC.""" - instance_id: str | None = ... - """The ID of a NAT instance in your VPC.""" - instance_owner_id: str | None = ... - """The ID of Amazon Web Services account that owns the instance.""" - nat_gateway_id: str | None = ... - """The ID of a NAT gateway.""" - transit_gateway_id: str | None = ... - """The ID of a transit gateway.""" - local_gateway_id: str | None = ... - """The ID of the local gateway.""" - carrier_gateway_id: str | None = ... - """The ID of the carrier gateway.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - origin: str | None = ... - """ - Describes how the route was created. - - - `CreateRouteTable` - The route was automatically created when the - route table was created. - - - `CreateRoute` - The route was manually added to the route table. - - - `EnableVgwRoutePropagation` - The route was propagated by route - propagation. - - - `Advertisement` - The route was created dynamically by Amazon VPC - Route Server. - """ - state: str | None = ... - """ - The state of the route. The `blackhole` state indicates that the - route's target isn't available (for example, the specified gateway - isn't attached to the VPC, or the specified NAT instance has been - terminated). - """ - vpc_peering_connection_id: str | None = ... - """The ID of a VPC peering connection.""" - core_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of the core network.""" - odb_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of the ODB network.""" - ip_address: str | None = ... - """ - The next hop IP address for routes propagated by VPC Route Server into - VPC route tables. - """ - -class RouteOrigin(UnknownEnumMixin, StrEnum): - CREATE_ROUTE_TABLE = "CreateRouteTable" - CREATE_ROUTE = "CreateRoute" - ENABLE_VGW_ROUTE_PROPAGATION = "EnableVgwRoutePropagation" - ADVERTISEMENT = "Advertisement" - -@dataclass(kw_only=True) -class RouteServer(_SerdeShape): - """ - Describes a route server and its configuration. - - Amazon VPC Route Server simplifies routing for traffic between workloads - that are deployed within a VPC and its internet gateways. With this - feature, VPC Route Server dynamically updates VPC and internet gateway - route tables with your preferred IPv4 or IPv6 routes to achieve routing - fault tolerance for those workloads. This enables you to automatically - reroute traffic within a VPC, which increases the manageability of VPC - routing and interoperability with third-party workloads. - - Route server supports the follow route table types: - - - VPC route tables not associated with subnets - - - Subnet route tables - - - Internet gateway route tables - - Route server does not support route tables associated with virtual - private gateways. To propagate routes into a transit gateway route - table, use [Transit Gateway - Connect](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html). - """ - - route_server_id: str | None = ... - """The unique identifier of the route server.""" - amazon_side_asn: int | None = ... - """ - The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the - appliance. Valid values are from 1 to 4294967295. We recommend using a - private ASN in the 64512--65534 (16-bit ASN) or 4200000000--4294967294 - (32-bit ASN) range. - """ - state: str | None = ... - """The current state of the route server.""" - tags: list[Tag] | None = ... - """Any tags assigned to the route server.""" - persist_routes_state: str | None = ... - """The current state of route persistence for the route server.""" - persist_routes_duration: int | None = ... - """ - The number of minutes a route server will wait after BGP is - re-established to unpersist the routes in the FIB and RIB. Value must be - in the range of 1-5. The default value is 1. Only valid if - `persistRoutesState` is 'enabled'. - - If you set the duration to 1 minute, then when your network appliance - re-establishes BGP with route server, it has 1 minute to relearn it's - adjacent network and advertise those routes to route server before route - server resumes normal functionality. In most cases, 1 minute is probably - sufficient. If, however, you have concerns that your BGP network may not - be capable of fully re-establishing and re-learning everything in 1 - minute, you can increase the duration up to 5 minutes. - """ - sns_notifications_enabled: bool | None = ... - """ - Indicates whether SNS notifications are enabled for the route server. - Enabling SNS notifications persists BGP status changes to an SNS topic - provisioned by Amazon Web Services. - """ - sns_topic_arn: str | None = ... - """The ARN of the SNS topic where notifications are published.""" - -@dataclass(kw_only=True) -class RouteServerAssociation(_SerdeShape): - """ - Describes the association between a route server and a VPC. - - A route server association is the connection established between a route - server and a VPC. - """ - - route_server_id: str | None = ... - """The ID of the associated route server.""" - vpc_id: str | None = ... - """The ID of the associated VPC.""" - state: str | None = ... - """The current state of the association.""" - -class RouteServerAssociationState(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - DISASSOCIATING = "disassociating" - -class RouteServerBfdState(UnknownEnumMixin, StrEnum): - UP = "up" - DOWN = "down" - -@dataclass(kw_only=True) -class RouteServerBfdStatus(_SerdeShape): - """ - The current status of Bidirectional Forwarding Detection (BFD) for a BGP - session. - """ - - status: str | None = ... - """The operational status of the BFD session.""" - -@dataclass(kw_only=True) -class RouteServerBgpOptions(_SerdeShape): - """The BGP configuration options for a route server peer.""" - - peer_asn: int | None = ... - """ - The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the - appliance. Valid values are from 1 to 4294967295. We recommend using a - private ASN in the 64512--65534 (16-bit ASN) or 4200000000--4294967294 - (32-bit ASN) range. - """ - peer_liveness_detection: str | None = ... - """ - The liveness detection protocol used for the BGP peer. - - The requested liveness detection protocol for the BGP peer. - - - `bgp-keepalive`: The standard BGP keep alive mechanism - ([RFC4271](https://www.rfc-editor.org/rfc/rfc4271#page-21)) that is - stable but may take longer to fail-over in cases of network impact or - router failure. - - - `bfd`: An additional Bidirectional Forwarding Detection (BFD) protocol - ([RFC5880](https://www.rfc-editor.org/rfc/rfc5880)) that enables fast - failover by using more sensitive liveness detection. - - Defaults to `bgp-keepalive`. - """ - -@dataclass(kw_only=True) -class RouteServerBgpOptionsRequest(_SerdeShape): - """The BGP configuration options requested for a route server peer.""" - - peer_asn: int | None = ... - """ - The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the - appliance. Valid values are from 1 to 4294967295. We recommend using a - private ASN in the 64512--65534 (16-bit ASN) or 4200000000--4294967294 - (32-bit ASN) range. - """ - peer_liveness_detection: str | None = ... - """ - The requested liveness detection protocol for the BGP peer. - - - `bgp-keepalive`: The standard BGP keep alive mechanism - ([RFC4271](https://www.rfc-editor.org/rfc/rfc4271#page-21)) that is - stable but may take longer to fail-over in cases of network impact or - router failure. - - - `bfd`: An additional Bidirectional Forwarding Detection (BFD) protocol - ([RFC5880](https://www.rfc-editor.org/rfc/rfc5880)) that enables fast - failover by using more sensitive liveness detection. - - Defaults to `bgp-keepalive`. - """ - -class RouteServerBgpState(UnknownEnumMixin, StrEnum): - UP = "up" - DOWN = "down" - -@dataclass(kw_only=True) -class RouteServerBgpStatus(_SerdeShape): - """The current status of a BGP session.""" - - status: str | None = ... - """ - The operational status of the BGP session. The status enables you to - monitor session liveness if you lack monitoring on your - router/appliance. - """ - -@dataclass(kw_only=True) -class RouteServerEndpoint(_SerdeShape): - """ - Describes a route server endpoint and its properties. - - A route server endpoint is an Amazon Web Services-managed component - inside a subnet that facilitates [BGP (Border Gateway - Protocol)](https://en.wikipedia.org/wiki/Border_Gateway_Protocol) - connections between your route server and your BGP peers. - """ - - route_server_id: str | None = ... - """The ID of the route server associated with this endpoint.""" - route_server_endpoint_id: str | None = ... - """The unique identifier of the route server endpoint.""" - vpc_id: str | None = ... - """The ID of the VPC containing the endpoint.""" - subnet_id: str | None = ... - """The ID of the subnet to place the route server endpoint into.""" - eni_id: str | None = ... - """The ID of the Elastic network interface for the endpoint.""" - eni_address: str | None = ... - """The IP address of the Elastic network interface for the endpoint.""" - state: str | None = ... - """The current state of the route server endpoint.""" - failure_reason: str | None = ... - """The reason for any failure in endpoint creation or operation.""" - tags: list[Tag] | None = ... - """Any tags assigned to the route server endpoint.""" - -class RouteServerEndpointState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - FAILING = "failing" - FAILED = "failed" - DELETE_FAILED = "delete-failed" - -@dataclass(kw_only=True) -class RouteServerPeer(_SerdeShape): - """ - Describes a BGP peer configuration for a route server endpoint. - - A route server peer is a session between a route server endpoint and the - device deployed in Amazon Web Services (such as a firewall appliance or - other network security function running on an EC2 instance). The device - must meet these requirements: - - - Have an elastic network interface in the VPC - - - Support BGP (Border Gateway Protocol) - - - Can initiate BGP sessions - """ - - route_server_peer_id: str | None = ... - """The unique identifier of the route server peer.""" - route_server_endpoint_id: str | None = ... - """The ID of the route server endpoint associated with this peer.""" - route_server_id: str | None = ... - """The ID of the route server associated with this peer.""" - vpc_id: str | None = ... - """The ID of the VPC containing the route server peer.""" - subnet_id: str | None = ... - """The ID of the subnet containing the route server peer.""" - state: str | None = ... - """The current state of the route server peer.""" - failure_reason: str | None = ... - """The reason for any failure in peer creation or operation.""" - endpoint_eni_id: str | None = ... - """The ID of the Elastic network interface for the route server endpoint.""" - endpoint_eni_address: str | None = ... - """ - The IP address of the Elastic network interface for the route server - endpoint. - """ - peer_address: str | None = ... - """The IPv4 address of the peer device.""" - bgp_options: RouteServerBgpOptions | None = ... - """ - The BGP configuration options for this peer, including ASN (Autonomous - System Number) and BFD (Bidrectional Forwarding Detection) settings. - """ - bgp_status: RouteServerBgpStatus | None = ... - """The current status of the BGP session with this peer.""" - bfd_status: RouteServerBfdStatus | None = ... - """The current status of the BFD session with this peer.""" - tags: list[Tag] | None = ... - """Any tags assigned to the route server peer.""" - -class RouteServerPeerLivenessMode(UnknownEnumMixin, StrEnum): - BFD = "bfd" - BGP_KEEPALIVE = "bgp-keepalive" - -class RouteServerPeerState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - FAILING = "failing" - FAILED = "failed" - -class RouteServerPersistRoutesAction(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - RESET = "reset" - -class RouteServerPersistRoutesState(UnknownEnumMixin, StrEnum): - ENABLING = "enabling" - ENABLED = "enabled" - RESETTING = "resetting" - DISABLING = "disabling" - DISABLED = "disabled" - MODIFYING = "modifying" - -@dataclass(kw_only=True) -class RouteServerPropagation(_SerdeShape): - """ - Describes the route propagation configuration between a route server and - a route table. - - When enabled, route server propagation installs the routes in the FIB on - the route table you've specified. Route server supports IPv4 and IPv6 - route propagation. - """ - - route_server_id: str | None = ... - """The ID of the route server configured for route propagation.""" - route_table_id: str | None = ... - """The ID of the route table configured for route server propagation.""" - state: str | None = ... - """The current state of route propagation.""" - -class RouteServerPropagationState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - -@dataclass(kw_only=True) -class RouteServerRoute(_SerdeShape): - """Describes a route in the route server's routing database.""" - - route_server_endpoint_id: str | None = ... - """The ID of the route server endpoint that received this route.""" - route_server_peer_id: str | None = ... - """The ID of the route server peer that advertised this route.""" - route_installation_details: list[RouteServerRouteInstallationDetail] | None = ... - """Details about the installation status of this route in route tables.""" - route_status: str | None = ... - """ - The current status of the route in the routing database. Values are - `in-rib` or `in-fib` depending on if the routes are in the RIB or the - FIB database. - - The [Routing Information Base - (RIB)](https://en.wikipedia.org/wiki/Routing_table) serves as a database - that stores all the routing information and network topology data - collected by a router or routing system, such as routes learned from BGP - peers. The RIB is constantly updated as new routing information is - received or existing routes change. This ensures that the route server - always has the most current view of the network topology and can make - optimal routing decisions. - - The [Forwarding Information Base - (FIB)](https://en.wikipedia.org/wiki/Forwarding_information_base) serves - as a forwarding table for what route server has determined are the - best-path routes in the RIB after evaluating all available routing - information and policies. The FIB routes are installed on the route - tables. The FIB is recomputed whenever there are changes to the RIB. - """ - prefix: str | None = ... - """The destination CIDR block of the route.""" - as_paths: list[str] | None = ... - """The AS path attributes of the BGP route.""" - med: int | None = ... - """The Multi-Exit Discriminator (MED) value of the BGP route.""" - next_hop_ip: str | None = ... - """The IP address for the next hop.""" - -@dataclass(kw_only=True) -class RouteServerRouteInstallationDetail(_SerdeShape): - """Describes the installation status of a route in a route table.""" - - route_table_id: str | None = ... - """The ID of the route table where the route is being installed.""" - route_installation_status: str | None = ... - """The current installation status of the route in the route table.""" - route_installation_status_reason: str | None = ... - """The reason for the current installation status of the route.""" - -class RouteServerRouteInstallationStatus(UnknownEnumMixin, StrEnum): - INSTALLED = "installed" - REJECTED = "rejected" - -class RouteServerRouteStatus(UnknownEnumMixin, StrEnum): - IN_RIB = "in-rib" - IN_FIB = "in-fib" - -class RouteServerState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - MODIFYING = "modifying" - DELETING = "deleting" - DELETED = "deleted" - -class RouteState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - BLACKHOLE = "blackhole" - FILTERED = "filtered" - -@dataclass(kw_only=True) -class RouteTable(_SerdeShape): - """Describes a route table.""" - - associations: list[RouteTableAssociation] | None = ... - """The associations between the route table and your subnets or gateways.""" - propagating_vgws: list[PropagatingVgw] | None = ... - """Any virtual private gateway (VGW) propagating routes.""" - route_table_id: str | None = ... - """The ID of the route table.""" - routes: list[Route] | None = ... - """The routes in the route table.""" - tags: list[Tag] | None = ... - """Any tags assigned to the route table.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the route table.""" - -@dataclass(kw_only=True) -class RouteTableAssociation(_SerdeShape): - """Describes an association between a route table and a subnet or gateway.""" - - main: bool | None = ... - """Indicates whether this is the main route table.""" - route_table_association_id: str | None = ... - """The ID of the association.""" - route_table_id: str | None = ... - """The ID of the route table.""" - subnet_id: str | None = ... - """ - The ID of the subnet. A subnet ID is not returned for an implicit - association. - """ - gateway_id: str | None = ... - """The ID of the internet gateway or virtual private gateway.""" - public_ipv4_pool: str | None = ... - """ - The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4 - addresses that you've brought to Amazon Web Services with BYOIP. - """ - association_state: RouteTableAssociationState | None = ... - """The state of the association.""" - -@dataclass(kw_only=True) -class RouteTableAssociationState(_SerdeShape): - """ - Describes the state of an association between a route table and a subnet - or gateway. - """ - - state: str | None = ... - """The state of the association.""" - status_message: str | None = ... - """The status message, if applicable.""" - -class RouteTableAssociationStateCode(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - FAILED = "failed" - -class RuleAction(UnknownEnumMixin, StrEnum): - ALLOW = "allow" - DENY = "deny" - -@dataclass(kw_only=True) -class RuleGroupRuleOptionsPair(_SerdeShape): - """Describes the rule options for a stateful rule group.""" - - rule_group_arn: str | None = ... - """The ARN of the rule group.""" - rule_options: list[RuleOption] | None = ... - """The rule options.""" - -@dataclass(kw_only=True) -class RuleGroupTypePair(_SerdeShape): - """Describes the type of a stateful rule group.""" - - rule_group_arn: str | None = ... - """The ARN of the rule group.""" - rule_group_type: str | None = ... - """ - The rule group type. The possible values are `Domain List` and - `Suricata`. - """ - -@dataclass(kw_only=True) -class RuleOption(_SerdeShape): - """Describes additional settings for a stateful rule.""" - - keyword: str | None = ... - """The Suricata keyword.""" - settings: list[str] | None = ... - """The settings for the keyword.""" - -@dataclass(kw_only=True) -class RunInstancesInput(_SerdeShape): - """Dataclass for RunInstancesInput structure.""" - - block_device_mappings: list[BlockDeviceMapping] | None = ... - """ - The block device mapping, which defines the EBS volumes and instance - store volumes to attach to the instance at launch. For more information, - see [Block device - mappings](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) - in the *Amazon EC2 User Guide*. - """ - image_id: str | None = ... - """ - The ID of the AMI. An AMI ID is required to launch an instance and must - be specified here or in a launch template. - """ - instance_type: str | None = ... - """ - The instance type. For more information, see [Amazon EC2 Instance Types - Guide](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html). - """ - ipv6_address_count: int | None = ... - """ - The number of IPv6 addresses to associate with the primary network - interface. Amazon EC2 chooses the IPv6 addresses from the range of your - subnet. You cannot specify this option and the option to assign specific - IPv6 addresses in the same request. You can specify this option if - you've specified a minimum number of instances to launch. - - You cannot specify this option and the network interfaces option in the - same request. - """ - ipv6_addresses: list[InstanceIpv6Address] | None = ... - """ - The IPv6 addresses from the range of the subnet to associate with the - primary network interface. You cannot specify this option and the option - to assign a number of IPv6 addresses in the same request. You cannot - specify this option if you've specified a minimum number of instances - to launch. - - You cannot specify this option and the network interfaces option in the - same request. - """ - kernel_id: str | None = ... - """ - The ID of the kernel. - - Warning: - We recommend that you use PV-GRUB instead of kernels and RAM disks. For - more information, see - [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) - in the *Amazon EC2 User Guide*. - """ - key_name: str | None = ... - """ - The name of the key pair. For more information, see [Create a key pair - for your EC2 - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html). - - Warning: - If you do not specify a key pair, you can't connect to the instance - unless you choose an AMI that is configured to allow users another way - to log in. - """ - max_count: int | None = ... - """ - The maximum number of instances to launch. If you specify a value that - is more capacity than Amazon EC2 can launch in the target Availability - Zone, Amazon EC2 launches the largest possible number of instances above - the specified minimum count. - - Constraints: Between 1 and the quota for the specified instance type for - your account for this Region. For more information, see [Amazon EC2 - instance type - quotas](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-instance-quotas.html). - """ - min_count: int | None = ... - """ - The minimum number of instances to launch. If you specify a value that - is more capacity than Amazon EC2 can provide in the target Availability - Zone, Amazon EC2 does not launch any instances. - - Constraints: Between 1 and the quota for the specified instance type for - your account for this Region. For more information, see [Amazon EC2 - instance type - quotas](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-instance-quotas.html). - """ - monitoring: RunInstancesMonitoringEnabled | None = ... - """Specifies whether detailed monitoring is enabled for the instance.""" - placement: Placement | None = ... - """The placement for the instance.""" - ramdisk_id: str | None = ... - """ - The ID of the RAM disk to select. Some kernels require additional - drivers at launch. Check the kernel requirements for information about - whether you need to specify a RAM disk. To find kernel requirements, go - to the Amazon Web Services Resource Center and search for the kernel ID. - - Warning: - We recommend that you use PV-GRUB instead of kernels and RAM disks. For - more information, see - [PV-GRUB](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) - in the *Amazon EC2 User Guide*. - """ - security_group_ids: list[str] | None = ... - """ - The IDs of the security groups. - - If you specify a network interface, you must specify any security groups - as part of the network interface instead of using this parameter. - """ - security_groups: list[str] | None = ... - """ - [Default VPC] The names of the security groups. - - If you specify a network interface, you must specify any security groups - as part of the network interface instead of using this parameter. - - Default: Amazon EC2 uses the default security group. - """ - subnet_id: str | None = ... - """ - The ID of the subnet to launch the instance into. - - If you specify a network interface, you must specify any subnets as part - of the network interface instead of using this parameter. - """ - user_data: str | None = ... - """ - The user data to make available to the instance. User data must be - base64-encoded. Depending on the tool or SDK that you're using, the - base64-encoding might be performed for you. For more information, see - [Run commands at launch using instance user - data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html). - """ - elastic_gpu_specification: list[ElasticGpuSpecification] | None = ... - """ - An elastic GPU to associate with the instance. - - Note: - Amazon Elastic Graphics reached end of life on January 8, 2024. - """ - elastic_inference_accelerators: list[ElasticInferenceAccelerator] | None = ... - """ - An elastic inference accelerator to associate with the instance. - - Note: - Amazon Elastic Inference is no longer available. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The tags to apply to the resources that are created during instance - launch. - - You can specify tags for the following resources only: - - - Instances - - - Volumes - - - Spot Instance requests - - - Network interfaces - - To tag a resource after it has been created, see - [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). - """ - launch_template: LaunchTemplateSpecification | None = ... - """ - The launch template. Any additional parameters that you specify for the - new instance overwrite the corresponding parameters included in the - launch template. - """ - instance_market_options: InstanceMarketOptionsRequest | None = ... - """ - The market (purchasing) option for the instances. - - For RunInstances, persistent Spot Instance requests are only supported - when **InstanceInterruptionBehavior** is set to either `hibernate` or - `stop`. - """ - credit_specification: CreditSpecificationRequest | None = ... - """ - The credit option for CPU usage of the burstable performance instance. - Valid values are `standard` and `unlimited`. To change this attribute - after launch, use - [ModifyInstanceCreditSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html). - For more information, see [Burstable performance - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) - in the *Amazon EC2 User Guide*. - - Default: `standard` (T2 instances) or `unlimited` (T3/T3a/T4g instances) - - For T3 instances with `host` tenancy, only `standard` is supported. - """ - cpu_options: CpuOptionsRequest | None = ... - """ - The CPU options for the instance. For more information, see [Optimize - CPU - options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) - in the *Amazon EC2 User Guide*. - """ - capacity_reservation_specification: CapacityReservationSpecification | None = ... - """ - Information about the Capacity Reservation targeting option. If you do - not specify this parameter, the instance's Capacity Reservation - preference defaults to `open`, which enables it to run in any open - Capacity Reservation that has matching attributes (instance type, - platform, Availability Zone, and tenancy). - """ - hibernation_options: HibernationOptionsRequest | None = ... - """ - Indicates whether an instance is enabled for hibernation. This parameter - is valid only if the instance meets the [hibernation - prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). - For more information, see [Hibernate your Amazon EC2 - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) - in the *Amazon EC2 User Guide*. - - You can't enable hibernation and Amazon Web Services Nitro Enclaves on - the same instance. - """ - license_specifications: list[LicenseConfigurationRequest] | None = ... - """The license configurations.""" - metadata_options: InstanceMetadataOptionsRequest | None = ... - """ - The metadata options for the instance. For more information, see - [Configure the Instance Metadata Service - options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html). - """ - enclave_options: EnclaveOptionsRequest | None = ... - """ - Indicates whether the instance is enabled for Amazon Web Services Nitro - Enclaves. For more information, see [Amazon Web Services Nitro Enclaves - User Guide](https://docs.aws.amazon.com/enclaves/latest/user/). - - You can't enable Amazon Web Services Nitro Enclaves and hibernation on - the same instance. - """ - private_dns_name_options: PrivateDnsNameOptionsRequest | None = ... - """ - The options for the instance hostname. The default values are inherited - from the subnet. Applies only if creating a network interface, not - attaching an existing one. - """ - maintenance_options: InstanceMaintenanceOptionsRequest | None = ... - """The maintenance and recovery options for the instance.""" - disable_api_stop: bool | None = ... - """ - Indicates whether an instance is enabled for stop protection. For more - information, see [Enable stop protection for your EC2 - instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). - """ - enable_primary_ipv6: bool | None = ... - """ - If you're launching an instance into a dual-stack or IPv6-only subnet, - you can enable assigning a primary IPv6 address. A primary IPv6 address - is an IPv6 GUA address associated with an ENI that you have enabled to - use a primary IPv6 address. Use this option if an instance relies on its - IPv6 address not changing. When you launch the instance, Amazon Web - Services will automatically assign an IPv6 address associated with the - ENI attached to your instance to be the primary IPv6 address. Once you - enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. - When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 - GUA will be made the primary IPv6 address until the instance is - terminated or the network interface is detached. If you have multiple - IPv6 addresses associated with an ENI attached to your instance and you - enable a primary IPv6 address, the first IPv6 GUA address associated - with the ENI becomes the primary IPv6 address. - """ - network_performance_options: InstanceNetworkPerformanceOptionsRequest | None = ... - """Contains settings for the network performance options for the instance.""" - operator: OperatorRequest | None = ... - """Reserved for internal use.""" - secondary_interfaces: ( - list[InstanceSecondaryInterfaceSpecificationRequest] | None - ) = ... - """The secondary interfaces to associate with the instance.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - disable_api_termination: bool | None = ... - """ - Indicates whether termination protection is enabled for the instance. - The default is `false`, which means that you can terminate the instance - using the Amazon EC2 console, command line tools, or API. You can enable - termination protection when you launch an instance, while the instance - is running, or while the instance is stopped. - """ - instance_initiated_shutdown_behavior: str | None = ... - """ - Indicates whether an instance stops or terminates when you initiate - shutdown from the instance (using the operating system command for - system shutdown). - - Default: `stop` - """ - private_ip_address: str | None = ... - """ - The primary IPv4 address. You must specify a value from the IPv4 address - range of the subnet. - - Only one private IP address can be designated as primary. You can't - specify this option if you've specified the option to designate a - private IP address as the primary IP address in a network interface - specification. You cannot specify this option if you're launching more - than one instance in the request. - - You cannot specify this option and the network interfaces option in the - same request. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier you provide to ensure the idempotency - of the request. If you do not specify a client token, a randomly - generated token is used for the request to ensure idempotency. - - For more information, see [Ensuring idempotency in Amazon EC2 API - requests](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - - Constraints: Maximum 64 ASCII characters - """ - additional_info: str | None = ... - """Reserved.""" - network_interfaces: list[InstanceNetworkInterfaceSpecification] | None = ... - """The network interfaces to associate with the instance.""" - iam_instance_profile: IamInstanceProfileSpecification | None = ... - """The name or Amazon Resource Name (ARN) of an IAM instance profile.""" - ebs_optimized: bool | None = ... - """ - Indicates whether the instance is optimized for Amazon EBS I/O. This - optimization provides dedicated throughput to Amazon EBS and an - optimized configuration stack to provide optimal Amazon EBS I/O - performance. This optimization isn't available with all instance types. - Additional usage charges apply when using an EBS-optimized instance. - - Default: `false` - """ - -@dataclass(kw_only=True) -class RunInstancesMonitoringEnabled(_SerdeShape): - """Describes the monitoring of an instance.""" - - enabled: bool | None = ... - """ - Indicates whether detailed monitoring is enabled. Otherwise, basic - monitoring is enabled. - """ - -@dataclass(kw_only=True) -class RunInstancesOutput(_SerdeShape): - """ - Describes a launch request for one or more instances, and includes - owner, requester, and security group information that applies to all - instances in the launch request. - """ - - reservation_id: str | None = ... - """The ID of the reservation.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the reservation.""" - requester_id: str | None = ... - """ - The ID of the requester that launched the instances on your behalf (for - example, Amazon Web Services Management Console or Auto Scaling). - """ - groups: list[GroupIdentifier] | None = ... - """Not supported.""" - instances: list[Instance] | None = ... - """The instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RunScheduledInstancesInput(_SerdeShape): - """Contains the parameters for RunScheduledInstances.""" - - client_token: str | None = ... - """ - Unique, case-sensitive identifier that ensures the idempotency of the - request. For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - instance_count: int | None = ... - """ - The number of instances. - - Default: 1 - """ - launch_specification: ScheduledInstancesLaunchSpecification | None = ... - """ - The launch specification. You must match the instance type, Availability - Zone, network, and platform of the schedule that you purchased. - """ - scheduled_instance_id: str | None = ... - """The Scheduled Instance ID.""" - -@dataclass(kw_only=True) -class RunScheduledInstancesOutput(_SerdeShape): - """Contains the output of RunScheduledInstances.""" - - instance_id_set: list[str] | None = ... - """The IDs of the newly launched instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class S3ObjectTag(_SerdeShape): - """ - The tags to apply to the AMI object that will be stored in the Amazon S3 - bucket. For more information, see [Categorizing your storage using - tags](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html) - in the *Amazon Simple Storage Service User Guide*. - """ - - key: str | None = ... - """ - The key of the tag. - - Constraints: Tag keys are case-sensitive and can be up to 128 Unicode - characters in length. May not begin with `aws`:. - """ - value: str | None = ... - """ - The value of the tag. - - Constraints: Tag values are case-sensitive and can be up to 256 Unicode - characters in length. - """ - -@dataclass(kw_only=True) -class S3Storage(_SerdeShape): - """ - Describes the storage parameters for Amazon S3 and Amazon S3 buckets for - an instance store-backed AMI. - """ - - aws_access_key_id: str | None = ... - """ - The access key ID of the owner of the bucket. Before you specify a value - for your access key ID, review and follow the guidance in [Best - Practices for Amazon Web Services - accounts](https://docs.aws.amazon.com/accounts/latest/reference/best-practices.html) - in the *Account ManagementReference Guide*. - """ - bucket: str | None = ... - """ - The bucket in which to store the AMI. You can specify a bucket that you - already own or a new bucket that Amazon EC2 creates on your behalf. If - you specify a bucket that belongs to someone else, Amazon EC2 returns an - error. - """ - prefix: str | None = ... - """The beginning of the file name of the AMI.""" - upload_policy: bytes | None = ... - """ - An Amazon S3 upload policy that gives Amazon EC2 permission to upload - items into Amazon S3 on your behalf. - """ - upload_policy_signature: str | None = ... - """The signature of the JSON document.""" - -@dataclass(kw_only=True) -class ScanResultCondition(_SerdeShape): - """ - The Amazon Inspector scan-result criteria that an AMI must meet to be - allowed. The criteria can limit the highest finding severity. They can - also limit, for each severity, the days since Amazon Inspector reported - a fix as available. - - The severity limit applies to all findings, whether or not a fix is - available. The day limits for each severity apply only to findings that - have a fix available. A scanned AMI that has no fix-available finding of - a given severity meets that severity's day limit. AMIs that Amazon - Inspector has not scanned are not allowed when you specify this - condition. - """ - - max_days_since_last_finding_scan: int | None = ... - """ - The maximum number of days that have elapsed since Amazon Inspector last - scanned the AMI. For example, a value of `7` allows AMIs that were - scanned within the last 7 days. AMIs that Amazon Inspector has not - scanned are not allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - maximum_severity_label: str | None = ... - """ - The maximum severity that an AMI's Amazon Inspector findings can have - for the AMI to be allowed. Findings count whether or not a fix is - available. For example, a value of `medium` allows AMIs whose highest - severity is `informational`, `low`, or `medium`. - - The valid values are the following Amazon Inspector severity levels, - which correspond to CVSS score ranges: - - - `informational` - CVSS score of 0. - - - `low` - CVSS score of 0.1 to 3.9. - - - `medium` - CVSS score of 4.0 to 6.9. - - - `high` - CVSS score of 7.0 to 8.9. - - - `critical` - CVSS score of 9.0 to 10.0. - - For more information, see [Software package vulnerability - severity](https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score) - in the *Amazon Inspector User Guide*. - - A scanned AMI that has no findings meets this limit. - - AMIs that Amazon Inspector has not scanned are not allowed when you - specify this condition. - """ - max_days_since_informational_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for an `informational` severity finding on the AMI. For - example, a value of `7` does not allow an AMI if Amazon Inspector - reported such a fix more than 7 days ago. - - A scanned AMI that has no `informational` severity finding with a fix - available meets this limit. AMIs that Amazon Inspector has not scanned - are not allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - max_days_since_low_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for a `low` severity finding on the AMI. For example, a value - of `7` does not allow an AMI if Amazon Inspector reported such a fix - more than 7 days ago. - - A scanned AMI that has no `low` severity finding with a fix available - meets this limit. AMIs that Amazon Inspector has not scanned are not - allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - max_days_since_medium_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for a `medium` severity finding on the AMI. For example, a - value of `7` does not allow an AMI if Amazon Inspector reported such a - fix more than 7 days ago. - - A scanned AMI that has no `medium` severity finding with a fix available - meets this limit. AMIs that Amazon Inspector has not scanned are not - allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - max_days_since_high_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for a `high` severity finding on the AMI. For example, a value - of `7` does not allow an AMI if Amazon Inspector reported such a fix - more than 7 days ago. - - A scanned AMI that has no `high` severity finding with a fix available - meets this limit. AMIs that Amazon Inspector has not scanned are not - allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - max_days_since_critical_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for a `critical` severity finding on the AMI. For example, a - value of `7` does not allow an AMI if Amazon Inspector reported such a - fix more than 7 days ago. - - A scanned AMI that has no `critical` severity finding with a fix - available meets this limit. AMIs that Amazon Inspector has not scanned - are not allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - -@dataclass(kw_only=True) -class ScanResultConditionRequest(_SerdeShape): - """ - The Amazon Inspector scan-result criteria that an AMI must meet to be - allowed. The criteria can limit the highest finding severity. They can - also limit, for each severity, the days since Amazon Inspector reported - a fix as available. - - The severity limit applies to all findings, whether or not a fix is - available. The day limits for each severity apply only to findings that - have a fix available. A scanned AMI that has no fix-available finding of - a given severity meets that severity's day limit. AMIs that Amazon - Inspector has not scanned are not allowed when you specify this - condition. - """ - - max_days_since_last_finding_scan: int | None = ... - """ - The maximum number of days that have elapsed since Amazon Inspector last - scanned the AMI. For example, a value of `7` allows AMIs that were - scanned within the last 7 days. AMIs that Amazon Inspector has not - scanned are not allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - maximum_severity_label: str | None = ... - """ - The maximum severity that an AMI's Amazon Inspector findings can have - for the AMI to be allowed. Findings count whether or not a fix is - available. For example, a value of `medium` allows AMIs whose highest - severity is `informational`, `low`, or `medium`. - - The valid values are the following Amazon Inspector severity levels, - which correspond to CVSS score ranges: - - - `informational` - CVSS score of 0. - - - `low` - CVSS score of 0.1 to 3.9. - - - `medium` - CVSS score of 4.0 to 6.9. - - - `high` - CVSS score of 7.0 to 8.9. - - - `critical` - CVSS score of 9.0 to 10.0. - - For more information, see [Software package vulnerability - severity](https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score) - in the *Amazon Inspector User Guide*. - - A scanned AMI that has no findings meets this limit. - - AMIs that Amazon Inspector has not scanned are not allowed when you - specify this condition. - """ - max_days_since_informational_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for an `informational` severity finding on the AMI. For - example, a value of `7` does not allow an AMI if Amazon Inspector - reported such a fix more than 7 days ago. - - A scanned AMI that has no `informational` severity finding with a fix - available meets this limit. AMIs that Amazon Inspector has not scanned - are not allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - max_days_since_low_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for a `low` severity finding on the AMI. For example, a value - of `7` does not allow an AMI if Amazon Inspector reported such a fix - more than 7 days ago. - - A scanned AMI that has no `low` severity finding with a fix available - meets this limit. AMIs that Amazon Inspector has not scanned are not - allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - max_days_since_medium_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for a `medium` severity finding on the AMI. For example, a - value of `7` does not allow an AMI if Amazon Inspector reported such a - fix more than 7 days ago. - - A scanned AMI that has no `medium` severity finding with a fix available - meets this limit. AMIs that Amazon Inspector has not scanned are not - allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - max_days_since_high_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for a `high` severity finding on the AMI. For example, a value - of `7` does not allow an AMI if Amazon Inspector reported such a fix - more than 7 days ago. - - A scanned AMI that has no `high` severity finding with a fix available - meets this limit. AMIs that Amazon Inspector has not scanned are not - allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - max_days_since_critical_fix_available: int | None = ... - """ - The maximum number of days since Amazon Inspector reported a fix as - available for a `critical` severity finding on the AMI. For example, a - value of `7` does not allow an AMI if Amazon Inspector reported such a - fix more than 7 days ago. - - A scanned AMI that has no `critical` severity finding with a fix - available meets this limit. AMIs that Amazon Inspector has not scanned - are not allowed. - - Constraints: Minimum value of 0. Maximum value of 2147483647. - """ - -@dataclass(kw_only=True) -class ScanResults(_SerdeShape): - """ - The Amazon Inspector scan results for an AMI. This information is - present only for AMIs that Amazon Inspector has scanned. - - When you share an AMI with other accounts, organizations, or - organizational units (OUs), or make it public, its scan results are - available to the accounts that can use the AMI. - - The fix-available dates are specific to the AMI. Each date reflects when - a fix became available for a finding on that AMI, not when the vendor - released the fix. As a result, a date can be later than the vendor's - release date, and AMIs with the same vulnerability can have different - dates. - """ - - highest_finding_severity_label: str | None = ... - """ - The highest severity among the AMI's Amazon Inspector findings, whether - or not a fix is available. - - The valid values are the following Amazon Inspector severity levels, - which correspond to CVSS score ranges: - - - `informational` - CVSS score of 0. - - - `low` - CVSS score of 0.1 to 3.9. - - - `medium` - CVSS score of 4.0 to 6.9. - - - `high` - CVSS score of 7.0 to 8.9. - - - `critical` - CVSS score of 9.0 to 10.0. - - For more information, see [Software package vulnerability - severity](https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score) - in the *Amazon Inspector User Guide*. - - This value is present only if the AMI has at least one finding. - """ - finding_scan_date: datetime | None = ... - """ - The date and time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), of the most recent Amazon Inspector scan of - the AMI. - """ - informational_fix_available_since: datetime | None = ... - """ - The earliest date and time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as - available for an `informational` severity finding on the AMI. This value - is present only if the AMI has at least one `informational` severity - finding with a fix available. Amazon Inspector recomputes this value on - each scan. - """ - low_fix_available_since: datetime | None = ... - """ - The earliest date and time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as - available for a `low` severity finding on the AMI. This value is present - only if the AMI has at least one `low` severity finding with a fix - available. Amazon Inspector recomputes this value on each scan. - """ - medium_fix_available_since: datetime | None = ... - """ - The earliest date and time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as - available for a `medium` severity finding on the AMI. This value is - present only if the AMI has at least one `medium` severity finding with - a fix available. Amazon Inspector recomputes this value on each scan. - """ - high_fix_available_since: datetime | None = ... - """ - The earliest date and time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as - available for a `high` severity finding on the AMI. This value is - present only if the AMI has at least one `high` severity finding with a - fix available. Amazon Inspector recomputes this value on each scan. - """ - critical_fix_available_since: datetime | None = ... - """ - The earliest date and time, in the ISO 8601 format in the UTC time zone - (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix as - available for a `critical` severity finding on the AMI. This value is - present only if the AMI has at least one `critical` severity finding - with a fix available. Amazon Inspector recomputes this value on each - scan. - """ - -class Schedule(UnknownEnumMixin, StrEnum): - HOURLY = "hourly" - -@dataclass(kw_only=True) -class ScheduledInstance(_SerdeShape): - """Describes a Scheduled Instance.""" - - availability_zone: str | None = ... - """The Availability Zone.""" - create_date: datetime | None = ... - """The date when the Scheduled Instance was purchased.""" - hourly_price: str | None = ... - """The hourly price for a single instance.""" - instance_count: int | None = ... - """The number of instances.""" - instance_type: str | None = ... - """The instance type.""" - network_platform: str | None = ... - """The network platform.""" - next_slot_start_time: datetime | None = ... - """The time for the next schedule to start.""" - platform: str | None = ... - """The platform (`Linux/UNIX` or `Windows`).""" - previous_slot_end_time: datetime | None = ... - """The time that the previous schedule ended or will end.""" - recurrence: ScheduledInstanceRecurrence | None = ... - """The schedule recurrence.""" - scheduled_instance_id: str | None = ... - """The Scheduled Instance ID.""" - slot_duration_in_hours: int | None = ... - """The number of hours in the schedule.""" - term_end_date: datetime | None = ... - """The end date for the Scheduled Instance.""" - term_start_date: datetime | None = ... - """The start date for the Scheduled Instance.""" - total_scheduled_instance_hours: int | None = ... - """The total number of hours for a single instance for the entire term.""" - -@dataclass(kw_only=True) -class ScheduledInstanceAvailability(_SerdeShape): - """Describes a schedule that is available for your Scheduled Instances.""" - - availability_zone: str | None = ... - """The Availability Zone.""" - available_instance_count: int | None = ... - """The number of available instances.""" - first_slot_start_time: datetime | None = ... - """The time period for the first schedule to start.""" - hourly_price: str | None = ... - """The hourly price for a single instance.""" - instance_type: str | None = ... - """ - The instance type. You can specify one of the C3, C4, M4, or R3 instance - types. - """ - max_term_duration_in_days: int | None = ... - """The maximum term. The only possible value is 365 days.""" - min_term_duration_in_days: int | None = ... - """The minimum term. The only possible value is 365 days.""" - network_platform: str | None = ... - """The network platform.""" - platform: str | None = ... - """The platform (`Linux/UNIX` or `Windows`).""" - purchase_token: str | None = ... - """The purchase token. This token expires in two hours.""" - recurrence: ScheduledInstanceRecurrence | None = ... - """The schedule recurrence.""" - slot_duration_in_hours: int | None = ... - """The number of hours in the schedule.""" - total_scheduled_instance_hours: int | None = ... - """The total number of hours for a single instance for the entire term.""" - -@dataclass(kw_only=True) -class ScheduledInstanceRecurrence(_SerdeShape): - """Describes the recurring schedule for a Scheduled Instance.""" - - frequency: str | None = ... - """The frequency (`Daily`, `Weekly`, or `Monthly`).""" - interval: int | None = ... - """ - The interval quantity. The interval unit depends on the value of - `frequency`. For example, every 2 weeks or every 2 months. - """ - occurrence_day_set: list[int] | None = ... - """ - The days. For a monthly schedule, this is one or more days of the month - (1-31). For a weekly schedule, this is one or more days of the week - (1-7, where 1 is Sunday). - """ - occurrence_relative_to_end: bool | None = ... - """ - Indicates whether the occurrence is relative to the end of the specified - week or month. - """ - occurrence_unit: str | None = ... - """The unit for `occurrenceDaySet` (`DayOfWeek` or `DayOfMonth`).""" - -@dataclass(kw_only=True) -class ScheduledInstanceRecurrenceRequest(_SerdeShape): - """Describes the recurring schedule for a Scheduled Instance.""" - - frequency: str | None = ... - """The frequency (`Daily`, `Weekly`, or `Monthly`).""" - interval: int | None = ... - """ - The interval quantity. The interval unit depends on the value of - `Frequency`. For example, every 2 weeks or every 2 months. - """ - occurrence_days: list[int] | None = ... - """ - The days. For a monthly schedule, this is one or more days of the month - (1-31). For a weekly schedule, this is one or more days of the week - (1-7, where 1 is Sunday). You can't specify this value with a daily - schedule. If the occurrence is relative to the end of the month, you can - specify only a single day. - """ - occurrence_relative_to_end: bool | None = ... - """ - Indicates whether the occurrence is relative to the end of the specified - week or month. You can't specify this value with a daily schedule. - """ - occurrence_unit: str | None = ... - """ - The unit for `OccurrenceDays` (`DayOfWeek` or `DayOfMonth`). This value - is required for a monthly schedule. You can't specify `DayOfWeek` with - a weekly schedule. You can't specify this value with a daily schedule. - """ - -@dataclass(kw_only=True) -class ScheduledInstancesBlockDeviceMapping(_SerdeShape): - """Describes a block device mapping for a Scheduled Instance.""" - - device_name: str | None = ... - """The device name (for example, `/dev/sdh` or `xvdh`).""" - ebs: ScheduledInstancesEbs | None = ... - """ - Parameters used to set up EBS volumes automatically when the instance is - launched. - """ - no_device: str | None = ... - """ - To omit the device from the block device mapping, specify an empty - string. - """ - virtual_name: str | None = ... - """ - The virtual device name (`ephemeral`N). Instance store volumes are - numbered starting from 0. An instance type with two available instance - store volumes can specify mappings for `ephemeral0` and `ephemeral1`. - The number of available instance store volumes depends on the instance - type. After you connect to the instance, you must mount the volume. - - Constraints: For M3 instances, you must specify instance store volumes - in the block device mapping for the instance. When you launch an M3 - instance, we ignore any instance store volumes specified in the block - device mapping for the AMI. - """ - -@dataclass(kw_only=True) -class ScheduledInstancesEbs(_SerdeShape): - """Describes an EBS volume for a Scheduled Instance.""" - - delete_on_termination: bool | None = ... - """Indicates whether the volume is deleted on instance termination.""" - encrypted: bool | None = ... - """ - Indicates whether the volume is encrypted. You can attached encrypted - volumes only to instances that support them. - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS) to provision for a `gp3`, - `io1`, or `io2` volume. - """ - snapshot_id: str | None = ... - """The ID of the snapshot.""" - volume_size: int | None = ... - """ - The size of the volume, in GiB. - - Default: If you're creating the volume from a snapshot and don't - specify a volume size, the default is the snapshot size. - """ - volume_type: str | None = ... - """ - The volume type. - - Default: `gp2` - """ - -@dataclass(kw_only=True) -class ScheduledInstancesIamInstanceProfile(_SerdeShape): - """Describes an IAM instance profile for a Scheduled Instance.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN).""" - name: str | None = ... - """The name.""" - -@dataclass(kw_only=True) -class ScheduledInstancesIpv6Address(_SerdeShape): - """Describes an IPv6 address.""" - - ipv6_address: str | None = ... - """The IPv6 address.""" - -@dataclass(kw_only=True) -class ScheduledInstancesLaunchSpecification(_SerdeShape): - """ - Describes the launch specification for a Scheduled Instance. - - If you are launching the Scheduled Instance in EC2-VPC, you must specify - the ID of the subnet. You can specify the subnet using either `SubnetId` - or `NetworkInterface`. - """ - - block_device_mappings: list[ScheduledInstancesBlockDeviceMapping] | None = ... - """The block device mapping entries.""" - ebs_optimized: bool | None = ... - """ - Indicates whether the instances are optimized for EBS I/O. This - optimization provides dedicated throughput to Amazon EBS and an - optimized configuration stack to provide optimal EBS I/O performance. - This optimization isn't available with all instance types. Additional - usage charges apply when using an EBS-optimized instance. - - Default: `false` - """ - iam_instance_profile: ScheduledInstancesIamInstanceProfile | None = ... - """The IAM instance profile.""" - image_id: str | None = ... - """The ID of the Amazon Machine Image (AMI).""" - instance_type: str | None = ... - """The instance type.""" - kernel_id: str | None = ... - """The ID of the kernel.""" - key_name: str | None = ... - """The name of the key pair.""" - monitoring: ScheduledInstancesMonitoring | None = ... - """Enable or disable monitoring for the instances.""" - network_interfaces: list[ScheduledInstancesNetworkInterface] | None = ... - """The network interfaces.""" - placement: ScheduledInstancesPlacement | None = ... - """The placement information.""" - ramdisk_id: str | None = ... - """The ID of the RAM disk.""" - security_group_ids: list[str] | None = ... - """The IDs of the security groups.""" - subnet_id: str | None = ... - """The ID of the subnet in which to launch the instances.""" - user_data: str | None = ... - """The base64-encoded MIME user data.""" - -@dataclass(kw_only=True) -class ScheduledInstancesMonitoring(_SerdeShape): - """Describes whether monitoring is enabled for a Scheduled Instance.""" - - enabled: bool | None = ... - """Indicates whether monitoring is enabled.""" - -@dataclass(kw_only=True) -class ScheduledInstancesNetworkInterface(_SerdeShape): - """Describes a network interface for a Scheduled Instance.""" - - associate_public_ip_address: bool | None = ... - """ - Indicates whether to assign a public IPv4 address to instances launched - in a VPC. The public IPv4 address can only be assigned to a network - interface for eth0, and can only be assigned to a new network interface, - not an existing one. You cannot specify more than one network interface - in the request. If launching into a default subnet, the default value is - `true`. - - Amazon Web Services charges for all public IPv4 addresses, including - public IPv4 addresses associated with running instances and Elastic IP - addresses. For more information, see the *Public IPv4 Address* tab on - the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). - """ - delete_on_termination: bool | None = ... - """ - Indicates whether to delete the interface when the instance is - terminated. - """ - description: str | None = ... - """The description.""" - device_index: int | None = ... - """The index of the device for the network interface attachment.""" - groups: list[str] | None = ... - """The IDs of the security groups.""" - ipv6_address_count: int | None = ... - """ - The number of IPv6 addresses to assign to the network interface. The - IPv6 addresses are automatically selected from the subnet range. - """ - ipv6_addresses: list[ScheduledInstancesIpv6Address] | None = ... - """The specific IPv6 addresses from the subnet range.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - private_ip_address: str | None = ... - """The IPv4 address of the network interface within the subnet.""" - private_ip_address_configs: ( - list[ScheduledInstancesPrivateIpAddressConfig] | None - ) = ... - """The private IPv4 addresses.""" - secondary_private_ip_address_count: int | None = ... - """The number of secondary private IPv4 addresses.""" - subnet_id: str | None = ... - """The ID of the subnet.""" - -@dataclass(kw_only=True) -class ScheduledInstancesPlacement(_SerdeShape): - """Describes the placement for a Scheduled Instance.""" - - availability_zone: str | None = ... - """The Availability Zone.""" - group_name: str | None = ... - """The name of the placement group.""" - -@dataclass(kw_only=True) -class ScheduledInstancesPrivateIpAddressConfig(_SerdeShape): - """Describes a private IPv4 address for a Scheduled Instance.""" - - primary: bool | None = ... - """ - Indicates whether this is a primary IPv4 address. Otherwise, this is a - secondary IPv4 address. - """ - private_ip_address: str | None = ... - """The IPv4 address.""" - -class Scope(UnknownEnumMixin, StrEnum): - AVAILABILITY_ZONE = "Availability Zone" - REGIONAL = "Region" - -@dataclass(kw_only=True) -class SearchLocalGatewayRoutesInput(_SerdeShape): - """Dataclass for SearchLocalGatewayRoutesInput structure.""" - - local_gateway_route_table_id: str | None = ... - """The ID of the local gateway route table.""" - filters: list[Filter] | None = ... - """ - One or more filters. - - - `prefix-list-id` - The ID of the prefix list. - - - `route-search.exact-match` - The exact match of the specified filter. - - - `route-search.longest-prefix-match` - The longest prefix that matches - the route. - - - `route-search.subnet-of-match` - The routes with a subnet that match - the specified CIDR filter. - - - `route-search.supernet-of-match` - The routes with a CIDR that - encompass the CIDR filter. For example, if you have 10.0.1.0/29 and - 10.0.1.0/31 routes in your route table and you specify - `supernet-of-match` as 10.0.1.0/30, then the result returns - 10.0.1.0/29. - - - `state` - The state of the route. - - - `type` - The route type. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class SearchLocalGatewayRoutesOutput(_SerdeShape): - """Dataclass for SearchLocalGatewayRoutesOutput structure.""" - - routes: list[LocalGatewayRoute] | None = ... - """Information about the routes.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SearchTransitGatewayMulticastGroupsInput(_SerdeShape): - """Dataclass for SearchTransitGatewayMulticastGroupsInput structure.""" - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `group-ip-address` - The IP address of the transit gateway multicast - group. - - - `is-group-member` - The resource is a group member. Valid values are - `true` | `false`. - - - `is-group-source` - The resource is a group source. Valid values are - `true` | `false`. - - - `member-type` - The member type. Valid values are `igmp` | `static`. - - - `resource-id` - The ID of the resource. - - - `resource-type` - The type of resource. Valid values are `vpc` | - `vpn` | `direct-connect-gateway` | `tgw-peering`. - - - `source-type` - The source type. Valid values are `igmp` | `static`. - - - `subnet-id` - The ID of the subnet. - - - `transit-gateway-attachment-id` - The id of the transit gateway - attachment. - """ - max_results: int | None = ... - """ - The maximum number of results to return with a single call. To retrieve - the remaining results, make another call with the returned `nextToken` - value. - """ - next_token: str | None = ... - """The token for the next page of results.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class SearchTransitGatewayMulticastGroupsOutput(_SerdeShape): - """Dataclass for SearchTransitGatewayMulticastGroupsOutput structure.""" - - multicast_groups: list[TransitGatewayMulticastGroup] | None = ... - """Information about the transit gateway multicast group.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SearchTransitGatewayRoutesInput(_SerdeShape): - """Dataclass for SearchTransitGatewayRoutesInput structure.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - filters: list[Filter] | None = ... - """ - One or more filters. The possible values are: - - - `attachment.transit-gateway-attachment-id`- The id of the transit - gateway attachment. - - - `attachment.resource-id` - The resource id of the transit gateway - attachment. - - - `attachment.resource-type` - The attachment resource type. Valid - values are `vpc` | `vpn` | `direct-connect-gateway` | `peering` | - `connect`. - - - `prefix-list-id` - The ID of the prefix list. - - - `route-search.exact-match` - The exact match of the specified filter. - - - `route-search.longest-prefix-match` - The longest prefix that matches - the route. - - - `route-search.subnet-of-match` - The routes with a subnet that match - the specified CIDR filter. - - - `route-search.supernet-of-match` - The routes with a CIDR that - encompass the CIDR filter. For example, if you have 10.0.1.0/29 and - 10.0.1.0/31 routes in your route table and you specify - supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. - - - `state` - The state of the route (`active` | `blackhole`). - - - `type` - The type of route (`propagated` | `static`). - """ - max_results: int | None = ... - """ - The maximum number of routes to return. If a value is not provided, the - default is 1000. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - next_token: str | None = ... - """The token for the next page of results.""" - -@dataclass(kw_only=True) -class SearchTransitGatewayRoutesOutput(_SerdeShape): - """Dataclass for SearchTransitGatewayRoutesOutput structure.""" - - routes: list[TransitGatewayRoute] | None = ... - """Information about the routes.""" - additional_routes_available: bool | None = ... - """Indicates whether there are additional routes available.""" - next_token: str | None = ... - """ - The token to use to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SecondaryInterface(_SerdeShape): - """Describes a secondary interface.""" - - availability_zone: str | None = ... - """The Availability Zone of the secondary interface.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone of the secondary interface.""" - attachment: SecondaryInterfaceAttachment | None = ... - """The attachment information for the secondary interface.""" - mac_address: str | None = ... - """The MAC address of the secondary interface.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the secondary - interface. - """ - private_ipv4_addresses: list[SecondaryInterfaceIpv4Address] | None = ... - """The private IPv4 addresses associated with the secondary interface.""" - secondary_interface_id: str | None = ... - """The ID of the secondary interface.""" - secondary_interface_arn: str | None = ... - """The Amazon Resource Name (ARN) of the secondary interface.""" - secondary_interface_type: str | None = ... - """The type of secondary interface.""" - secondary_subnet_id: str | None = ... - """The ID of the secondary subnet.""" - secondary_network_id: str | None = ... - """The ID of the secondary network.""" - secondary_network_type: str | None = ... - """The type of the secondary network.""" - source_dest_check: bool | None = ... - """Indicates whether source/destination checking is enabled.""" - status: str | None = ... - """The status of the secondary interface.""" - tags: list[Tag] | None = ... - """The tags assigned to the secondary interface.""" - -@dataclass(kw_only=True) -class SecondaryInterfaceAttachment(_SerdeShape): - """Describes the attachment of a secondary interface to an instance.""" - - attachment_id: str | None = ... - """The ID of the attachment.""" - attach_time: datetime | None = ... - """The timestamp when the attachment was created.""" - delete_on_termination: bool | None = ... - """ - Indicates whether the secondary interface is deleted when the instance - is terminated. - - The only supported value for this field is `true`. - """ - device_index: int | None = ... - """The device index of the secondary interface.""" - instance_id: str | None = ... - """The ID of the instance to which the secondary interface is attached.""" - instance_owner_id: str | None = ... - """The Amazon Web Services account ID of the owner of the instance.""" - network_card_index: int | None = ... - """The index of the network card.""" - status: str | None = ... - """The attachment state.""" - -@dataclass(kw_only=True) -class SecondaryInterfaceIpv4Address(_SerdeShape): - """Describes a private IPv4 address for a secondary interface.""" - - private_ip_address: str | None = ... - """The private IPv4 address.""" - -@dataclass(kw_only=True) -class SecondaryInterfacePrivateIpAddressSpecification(_SerdeShape): - """ - Describes a private IPv4 address specification for a secondary - interface. - """ - - private_ip_address: str | None = ... - """The private IPv4 address.""" - -@dataclass(kw_only=True) -class SecondaryInterfacePrivateIpAddressSpecificationRequest(_SerdeShape): - """ - Describes a private IPv4 address specification for a secondary interface - request. - """ - - private_ip_address: str | None = ... - """The private IPv4 address.""" - -class SecondaryInterfaceStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - IN_USE = "in-use" - -class SecondaryInterfaceType(UnknownEnumMixin, StrEnum): - SECONDARY = "secondary" - -@dataclass(kw_only=True) -class SecondaryNetwork(_SerdeShape): - """Describes a secondary network.""" - - secondary_network_id: str | None = ... - """The ID of the secondary network.""" - secondary_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of the secondary network.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the secondary - network. - """ - type: str | None = ... - """The type of the secondary network.""" - state: str | None = ... - """The state of the secondary network.""" - state_reason: str | None = ... - """The reason for the current state of the secondary network.""" - ipv4_cidr_block_associations: ( - list[SecondaryNetworkIpv4CidrBlockAssociation] | None - ) = ... - """ - Information about the IPv4 CIDR blocks associated with the secondary - network. - """ - tags: list[Tag] | None = ... - """The tags assigned to the secondary network.""" - -class SecondaryNetworkCidrBlockAssociationState(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - ASSOCIATION_FAILED = "association-failed" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - DISASSOCIATION_FAILED = "disassociation-failed" - -@dataclass(kw_only=True) -class SecondaryNetworkIpv4CidrBlockAssociation(_SerdeShape): - """Describes an IPv4 CIDR block associated with a secondary network.""" - - association_id: str | None = ... - """The association ID for the IPv4 CIDR block.""" - cidr_block: str | None = ... - """The IPv4 CIDR block.""" - state: str | None = ... - """The state of the CIDR block association.""" - state_reason: str | None = ... - """The reason for the current state of the CIDR block association.""" - -class SecondaryNetworkState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - -class SecondaryNetworkType(UnknownEnumMixin, StrEnum): - RDMA = "rdma" - -@dataclass(kw_only=True) -class SecondarySubnet(_SerdeShape): - """Describes a secondary subnet.""" - - secondary_subnet_id: str | None = ... - """The ID of the secondary subnet.""" - secondary_subnet_arn: str | None = ... - """The Amazon Resource Name (ARN) of the secondary subnet.""" - secondary_network_id: str | None = ... - """The ID of the secondary network.""" - secondary_network_type: str | None = ... - """The type of the secondary network.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the secondary - subnet. - """ - availability_zone_id: str | None = ... - """The ID of the Availability Zone of the secondary subnet.""" - availability_zone: str | None = ... - """The Availability Zone of the secondary subnet.""" - ipv4_cidr_block_associations: ( - list[SecondarySubnetIpv4CidrBlockAssociation] | None - ) = ... - """ - Information about the IPv4 CIDR blocks associated with the secondary - subnet. - """ - state: str | None = ... - """The state of the secondary subnet.""" - state_reason: str | None = ... - """The reason for the current state of the secondary subnet.""" - tags: list[Tag] | None = ... - """The tags assigned to the secondary subnet.""" - -class SecondarySubnetCidrBlockAssociationState(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - ASSOCIATION_FAILED = "association-failed" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - DISASSOCIATION_FAILED = "disassociation-failed" - -@dataclass(kw_only=True) -class SecondarySubnetIpv4CidrBlockAssociation(_SerdeShape): - """Describes an IPv4 CIDR block associated with a secondary subnet.""" - - association_id: str | None = ... - """The association ID for the IPv4 CIDR block.""" - cidr_block: str | None = ... - """The IPv4 CIDR block.""" - state: str | None = ... - """The state of the CIDR block association.""" - state_reason: str | None = ... - """The reason for the current state of the CIDR block association.""" - -class SecondarySubnetState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DELETE_FAILED = "delete-failed" - -@dataclass(kw_only=True) -class SecureBlobAttributeValue(_SerdeShape): - """ - Describes a value for a resource attribute that is a Base64-encoded - binary data object. - """ - - value: bytes | None = ... - """The attribute value.""" - -@dataclass(kw_only=True) -class SecurityGroup(_SerdeShape): - """Describes a security group.""" - - group_id: str | None = ... - """The ID of the security group.""" - ip_permissions_egress: list[IpPermission] | None = ... - """The outbound rules associated with the security group.""" - tags: list[Tag] | None = ... - """Any tags assigned to the security group.""" - vpc_id: str | None = ... - """The ID of the VPC for the security group.""" - security_group_arn: str | None = ... - """The ARN of the security group.""" - owner_id: str | None = ... - """The Amazon Web Services account ID of the owner of the security group.""" - group_name: str | None = ... - """The name of the security group.""" - description: str | None = ... - """A description of the security group.""" - ip_permissions: list[IpPermission] | None = ... - """The inbound rules associated with the security group.""" - -@dataclass(kw_only=True) -class SecurityGroupForVpc(_SerdeShape): - """A security group that can be used by interfaces in the VPC.""" - - description: str | None = ... - """The security group's description.""" - group_name: str | None = ... - """The security group name.""" - owner_id: str | None = ... - """The security group owner ID.""" - group_id: str | None = ... - """The security group ID.""" - tags: list[Tag] | None = ... - """The security group tags.""" - primary_vpc_id: str | None = ... - """The VPC ID in which the security group was created.""" - -@dataclass(kw_only=True) -class SecurityGroupIdentifier(_SerdeShape): - """Describes a security group.""" - - group_id: str | None = ... - """The ID of the security group.""" - group_name: str | None = ... - """The name of the security group.""" - -@dataclass(kw_only=True) -class SecurityGroupReference(_SerdeShape): - """ - Describes a VPC with a security group that references your security - group. - """ - - group_id: str | None = ... - """The ID of your security group.""" - referencing_vpc_id: str | None = ... - """The ID of the VPC with the referencing security group.""" - vpc_peering_connection_id: str | None = ... - """ - The ID of the VPC peering connection (if applicable). For more - information about security group referencing for peering connections, - see [Update your security groups to reference peer security - groups](https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html) - in the *VPC Peering Guide*. - """ - transit_gateway_id: str | None = ... - """The ID of the transit gateway (if applicable).""" - -class SecurityGroupReferencingSupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -@dataclass(kw_only=True) -class SecurityGroupRule(_SerdeShape): - """Describes a security group rule.""" - - security_group_rule_id: str | None = ... - """The ID of the security group rule.""" - group_id: str | None = ... - """The ID of the security group.""" - group_owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the security group.""" - is_egress: bool | None = ... - """Indicates whether the security group rule is an outbound rule.""" - ip_protocol: str | None = ... - """ - The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see - [Protocol - Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). - - Use `-1` to specify all protocols. - """ - from_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the start of the port range. If - the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP - types). - """ - to_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the end of the port range. If the - protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP - codes). If the start port is -1 (all ICMP types), then the end port must - be -1 (all ICMP codes). - """ - cidr_ipv4: str | None = ... - """The IPv4 CIDR range.""" - cidr_ipv6: str | None = ... - """The IPv6 CIDR range.""" - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - referenced_group_info: ReferencedSecurityGroup | None = ... - """Describes the security group that is referenced in the rule.""" - description: str | None = ... - """The security group rule description.""" - tags: list[Tag] | None = ... - """The tags applied to the security group rule.""" - security_group_rule_arn: str | None = ... - """The ARN of the security group rule.""" - -@dataclass(kw_only=True) -class SecurityGroupRuleDescription(_SerdeShape): - """ - Describes the description of a security group rule. - - You can use this when you want to update the security group rule - description for either an inbound or outbound rule. - """ - - security_group_rule_id: str | None = ... - """The ID of the security group rule.""" - description: str | None = ... - """The description of the security group rule.""" - -@dataclass(kw_only=True) -class SecurityGroupRuleRequest(_SerdeShape): - """ - Describes a security group rule. - - You must specify exactly one of the following parameters, based on the - rule type: - - - CidrIpv4 - - - CidrIpv6 - - - PrefixListId - - - ReferencedGroupId - - Note: - Amazon Web Services - [canonicalizes](https://en.wikipedia.org/wiki/Canonicalization) IPv4 and - IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR - block, Amazon Web Services canonicalizes the CIDR block to - 100.68.0.0/18. Any subsequent DescribeSecurityGroups and - DescribeSecurityGroupRules calls will return the canonicalized form of - the CIDR block. Additionally, if you attempt to add another rule with - the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is - already a rule for the canonicalized form of the CIDR block (such as - 100.68.0.0/18), the API throws an duplicate rule error. - - When you modify a rule, you cannot change the rule type. For example, if - the rule uses an IPv4 address range, you must use `CidrIpv4` to specify - a new IPv4 address range. - """ - - ip_protocol: str | None = ... - """ - The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see - [Protocol - Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)). - - Use `-1` to specify all protocols. - """ - from_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the start of the port range. If - the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP - types). - """ - to_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the end of the port range. If the - protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP - codes). If the start port is -1 (all ICMP types), then the end port must - be -1 (all ICMP codes). - """ - cidr_ipv4: str | None = ... - """ - The IPv4 CIDR range. To specify a single IPv4 address, use the /32 - prefix length. - """ - cidr_ipv6: str | None = ... - """ - The IPv6 CIDR range. To specify a single IPv6 address, use the /128 - prefix length. - """ - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - referenced_group_id: str | None = ... - """ - The ID of the security group that is referenced in the security group - rule. - """ - description: str | None = ... - """The description of the security group rule.""" - -@dataclass(kw_only=True) -class SecurityGroupRuleUpdate(_SerdeShape): - """Describes an update to a security group rule.""" - - security_group_rule_id: str | None = ... - """The ID of the security group rule.""" - security_group_rule: SecurityGroupRuleRequest | None = ... - """Information about the security group rule.""" - -@dataclass(kw_only=True) -class SecurityGroupVpcAssociation(_SerdeShape): - """ - A security group association with a VPC that you made with - [AssociateSecurityGroupVpc](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateSecurityGroupVpc.html). - """ - - group_id: str | None = ... - """The association's security group ID.""" - vpc_id: str | None = ... - """The association's VPC ID.""" - vpc_owner_id: str | None = ... - """The Amazon Web Services account ID of the owner of the VPC.""" - state: str | None = ... - """The association's state.""" - state_reason: str | None = ... - """The association's state reason.""" - group_owner_id: str | None = ... - """The Amazon Web Services account ID of the owner of the security group.""" - -class SecurityGroupVpcAssociationState(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - ASSOCIATION_FAILED = "association-failed" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - DISASSOCIATION_FAILED = "disassociation-failed" - -class SelfServicePortal(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class SendDiagnosticInterruptInput(_SerdeShape): - """Dataclass for SendDiagnosticInterruptInput structure.""" - - instance_id: str | None = ... - """The ID of the instance.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class SendDiagnosticInterruptOutput(_SerdeShape): - """Dataclass for SendDiagnosticInterruptOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceConfiguration(_SerdeShape): - """Describes a service configuration for a VPC endpoint service.""" - - service_type: list[ServiceTypeDetail] | None = ... - """The type of service.""" - service_id: str | None = ... - """The ID of the service.""" - service_name: str | None = ... - """The name of the service.""" - service_state: str | None = ... - """The service state.""" - availability_zone_ids: list[str] | None = ... - """ - The IDs of the Availability Zones in which the service is available. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both - """ - availability_zones: list[str] | None = ... - """ - The Availability Zones in which the service is available. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both - """ - acceptance_required: bool | None = ... - """ - Indicates whether requests from other Amazon Web Services accounts to - create an endpoint to the service must first be accepted. - """ - manages_vpc_endpoints: bool | None = ... - """ - Indicates whether the service manages its VPC endpoints. Management of - the service VPC endpoints using the VPC endpoint API is restricted. - """ - network_load_balancer_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the Network Load Balancers for the - service. - """ - gateway_load_balancer_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the - service. - """ - supported_ip_address_types: list[str] | None = ... - """The supported IP address types.""" - base_endpoint_dns_names: list[str] | None = ... - """The DNS names for the service.""" - private_dns_name: str | None = ... - """The private DNS name for the service.""" - private_dns_name_configuration: PrivateDnsNameConfiguration | None = ... - """Information about the endpoint service private DNS name configuration.""" - payer_responsibility: str | None = ... - """The payer responsibility.""" - tags: list[Tag] | None = ... - """The tags assigned to the service.""" - supported_regions: list[SupportedRegionDetail] | None = ... - """The supported Regions.""" - remote_access_enabled: bool | None = ... - """ - Indicates whether consumers can access the service from a Region other - than the Region where the service is hosted. - """ - -class ServiceConnectivityType(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - IPV6 = "ipv6" - -@dataclass(kw_only=True) -class ServiceDetail(_SerdeShape): - """Describes a VPC endpoint service.""" - - service_name: str | None = ... - """The name of the service.""" - service_id: str | None = ... - """The ID of the endpoint service.""" - service_type: list[ServiceTypeDetail] | None = ... - """The type of service.""" - service_region: str | None = ... - """The Region where the service is hosted.""" - availability_zone_ids: list[str] | None = ... - """ - The IDs of the Availability Zones in which the service is available. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both - """ - availability_zones: list[str] | None = ... - """ - The Availability Zones in which the service is available. - - Either `AvailabilityZone` or `AvailabilityZoneId` can be specified, but - not both - """ - owner: str | None = ... - """The Amazon Web Services account ID of the service owner.""" - base_endpoint_dns_names: list[str] | None = ... - """The DNS names for the service.""" - private_dns_name: str | None = ... - """The private DNS name for the service.""" - private_dns_names: list[PrivateDnsDetails] | None = ... - """The private DNS names assigned to the VPC endpoint service.""" - vpc_endpoint_policy_supported: bool | None = ... - """Indicates whether the service supports endpoint policies.""" - acceptance_required: bool | None = ... - """ - Indicates whether VPC endpoint connection requests to the service must - be accepted by the service owner. - """ - manages_vpc_endpoints: bool | None = ... - """ - Indicates whether the service manages its VPC endpoints. Management of - the service VPC endpoints using the VPC endpoint API is restricted. - """ - payer_responsibility: str | None = ... - """The payer responsibility.""" - tags: list[Tag] | None = ... - """The tags assigned to the service.""" - private_dns_name_verification_state: str | None = ... - """ - The verification state of the VPC endpoint service. - - Consumers of the endpoint service cannot use the private name when the - state is not `verified`. - """ - supported_ip_address_types: list[str] | None = ... - """The supported IP address types.""" - -@dataclass(kw_only=True) -class ServiceLinkVirtualInterface(_SerdeShape): - """ - Describes the service link virtual interfaces that establish - connectivity between Amazon Web Services Outpost and on-premises - networks. - """ - - service_link_virtual_interface_id: str | None = ... - """The ID of the service link virtual interface.""" - service_link_virtual_interface_arn: str | None = ... - """The Amazon Resource Number (ARN) for the service link virtual interface.""" - outpost_id: str | None = ... - """The Outpost ID for the service link virtual interface.""" - outpost_arn: str | None = ... - """ - The Outpost Amazon Resource Number (ARN) for the service link virtual - interface. - """ - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the service link - virtual interface.. - """ - local_address: str | None = ... - """ - The IPv4 address assigned to the local gateway virtual interface on the - Outpost side. - """ - peer_address: str | None = ... - """The IPv4 peer address for the service link virtual interface.""" - peer_bgp_asn: int | None = ... - """ - The ASN for the Border Gateway Protocol (BGP) associated with the - service link virtual interface. - """ - vlan: int | None = ... - """The virtual local area network for the service link virtual interface.""" - outpost_lag_id: str | None = ... - """ - The link aggregation group (LAG) ID for the service link virtual - interface. - """ - tags: list[Tag] | None = ... - """The tags associated with the service link virtual interface.""" - configuration_state: str | None = ... - """The current state of the service link virtual interface.""" - -class ServiceLinkVirtualInterfaceConfigurationState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -class ServiceManaged(UnknownEnumMixin, StrEnum): - ALB = "alb" - NLB = "nlb" - RNAT = "rnat" - RDS = "rds" - -class ServiceState(UnknownEnumMixin, StrEnum): - PENDING = "Pending" - AVAILABLE = "Available" - DELETING = "Deleting" - DELETED = "Deleted" - FAILED = "Failed" - -class ServiceType(UnknownEnumMixin, StrEnum): - INTERFACE = "Interface" - GATEWAY = "Gateway" - GATEWAY_LOAD_BALANCER = "GatewayLoadBalancer" - -@dataclass(kw_only=True) -class ServiceTypeDetail(_SerdeShape): - """Describes the type of service for a VPC endpoint.""" - - service_type: str | None = ... - """The type of service.""" - -class SeverityLabel(UnknownEnumMixin, StrEnum): - INFORMATIONAL = "informational" - LOW = "low" - MEDIUM = "medium" - HIGH = "high" - CRITICAL = "critical" - -class ShutdownBehavior(UnknownEnumMixin, StrEnum): - STOP = "stop" - TERMINATE = "terminate" - -@dataclass(kw_only=True) -class SlotDateTimeRangeRequest(_SerdeShape): - """ - Describes the time period for a Scheduled Instance to start its first - schedule. The time period must span less than one day. - """ - - earliest_time: datetime | None = ... - """The earliest date and time, in UTC, for the Scheduled Instance to start.""" - latest_time: datetime | None = ... - """ - The latest date and time, in UTC, for the Scheduled Instance to start. - This value must be later than or equal to the earliest date and at most - three months in the future. - """ - -@dataclass(kw_only=True) -class SlotStartTimeRangeRequest(_SerdeShape): - """ - Describes the time period for a Scheduled Instance to start its first - schedule. - """ - - earliest_time: datetime | None = ... - """The earliest date and time, in UTC, for the Scheduled Instance to start.""" - latest_time: datetime | None = ... - """The latest date and time, in UTC, for the Scheduled Instance to start.""" - -@dataclass(kw_only=True) -class Snapshot(_SerdeShape): - """Describes a snapshot.""" - - owner_alias: str | None = ... - """ - The Amazon Web Services owner alias, from an Amazon-maintained list - (`amazon`). This is not the user-configured Amazon Web Services account - alias set using the IAM console. - """ - outpost_arn: str | None = ... - """ - The ARN of the Outpost on which the snapshot is stored. For more - information, see [Amazon EBS local snapshots on - Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html) - in the *Amazon EBS User Guide*. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the snapshot.""" - storage_tier: str | None = ... - """ - The storage tier in which the snapshot is stored. `standard` indicates - that the snapshot is stored in the standard snapshot storage tier and - that it is ready for use. `archive` indicates that the snapshot is - currently archived and that it must be restored before it can be used. - """ - restore_expiry_time: datetime | None = ... - """ - Only for archived snapshots that are temporarily restored. Indicates the - date and time when a temporarily restored snapshot will be automatically - re-archived. - """ - sse_type: str | None = ... - """Reserved for future use.""" - availability_zone: str | None = ... - """ - The Availability Zone or Local Zone of the snapshot. For example, - `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone). - """ - transfer_type: str | None = ... - """ - Note: - Only for snapshot copies. - - Indicates whether the snapshot copy was created with a standard or - time-based snapshot copy operation. Time-based snapshot copy operations - complete within the completion duration specified in the request. - Standard snapshot copy operations are completed on a best-effort basis. - - - `standard` - The snapshot copy was created with a standard snapshot - copy operation. - - - `time-based` - The snapshot copy was created with a time-based - snapshot copy operation. - """ - completion_duration_minutes: int | None = ... - """ - Note: - Only for snapshot copies created with time-based snapshot copy - operations. - - The completion duration requested for the time-based snapshot copy - operation. - """ - completion_time: datetime | None = ... - """The time stamp when the snapshot was completed.""" - full_snapshot_size_in_bytes: int | None = ... - """ - The full size of the snapshot, in bytes. - - Warning: - This is **not** the incremental size of the snapshot. This is the full - snapshot size and represents the size of all the blocks that were - written to the source volume at the time the snapshot was created. - """ - snapshot_id: str | None = ... - """ - The ID of the snapshot. Each snapshot receives a unique identifier when - it is created. - """ - volume_id: str | None = ... - """ - The ID of the volume that was used to create the snapshot. Snapshots - created by a copy snapshot operation have an arbitrary volume ID that - you should not use for any purpose. - """ - state: str | None = ... - """The snapshot state.""" - state_message: str | None = ... - """ - Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot - copy operation fails (for example, if the proper KMS permissions are not - obtained) this field displays error state details to help you diagnose - why the error occurred. This parameter is only returned by - DescribeSnapshots. - """ - start_time: datetime | None = ... - """The time stamp when the snapshot was initiated.""" - progress: str | None = ... - """The progress of the snapshot, as a percentage.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the EBS snapshot.""" - description: str | None = ... - """The description for the snapshot.""" - volume_size: int | None = ... - """The size of the volume, in GiB.""" - encrypted: bool | None = ... - """Indicates whether the snapshot is encrypted.""" - kms_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that was used to protect - the volume encryption key for the parent volume. - """ - data_encryption_key_id: str | None = ... - """ - The data encryption key identifier for the snapshot. This value is a - unique identifier that corresponds to the data encryption key that was - used to encrypt the original volume or snapshot copy. Because data - encryption keys are inherited by volumes created from snapshots, and - vice versa, if snapshots share the same data encryption key identifier, - then they belong to the same volume/snapshot lineage. This parameter is - only returned by DescribeSnapshots. - """ - -class SnapshotAttributeName(UnknownEnumMixin, StrEnum): - PRODUCT_CODES = "productCodes" - CREATE_VOLUME_PERMISSION = "createVolumePermission" - -class SnapshotBlockPublicAccessState(UnknownEnumMixin, StrEnum): - BLOCK_ALL_SHARING = "block-all-sharing" - BLOCK_NEW_SHARING = "block-new-sharing" - UNBLOCKED = "unblocked" - -@dataclass(kw_only=True) -class SnapshotDetail(_SerdeShape): - """Describes the snapshot created from the imported disk.""" - - description: str | None = ... - """A description for the snapshot.""" - device_name: str | None = ... - """The block device mapping for the snapshot.""" - disk_image_size: float | None = ... - """The size of the disk in the snapshot, in GiB.""" - format: str | None = ... - """The format of the disk image from which the snapshot is created.""" - progress: str | None = ... - """The percentage of progress for the task.""" - snapshot_id: str | None = ... - """The snapshot ID of the disk being imported.""" - status: str | None = ... - """A brief status of the snapshot creation.""" - status_message: str | None = ... - """A detailed status message for the snapshot creation.""" - url: str | None = ... - """The URL used to access the disk image.""" - user_bucket: UserBucketDetails | None = ... - """The Amazon S3 bucket for the disk image.""" - -@dataclass(kw_only=True) -class SnapshotDiskContainer(_SerdeShape): - """The disk container object for the import snapshot request.""" - - description: str | None = ... - """The description of the disk image being imported.""" - format: str | None = ... - """ - The format of the disk image being imported. - - Valid values: `VHD` | `VMDK` | `RAW` - """ - url: str | None = ... - """ - The URL to the Amazon S3-based disk image being imported. It can either - be a https URL (https://..) or an Amazon S3 URL (s3://..). - """ - user_bucket: UserBucket | None = ... - """The Amazon S3 bucket for the disk image.""" - -@dataclass(kw_only=True) -class SnapshotInfo(_SerdeShape): - """Information about a snapshot.""" - - description: str | None = ... - """ - Description specified by the CreateSnapshotRequest that has been applied - to all snapshots. - """ - tags: list[Tag] | None = ... - """Tags associated with this snapshot.""" - encrypted: bool | None = ... - """Indicates whether the snapshot is encrypted.""" - volume_id: str | None = ... - """Source volume from which this snapshot was created.""" - state: str | None = ... - """Current state of the snapshot.""" - volume_size: int | None = ... - """Size of the volume from which this snapshot was created.""" - start_time: datetime | None = ... - """ - Time this snapshot was started. This is the same for all snapshots - initiated by the same request. - """ - progress: str | None = ... - """Progress this snapshot has made towards completing.""" - owner_id: str | None = ... - """Account id used when creating this snapshot.""" - snapshot_id: str | None = ... - """Snapshot id that can be used to describe this snapshot.""" - outpost_arn: str | None = ... - """ - The ARN of the Outpost on which the snapshot is stored. For more - information, see [Amazon EBS local snapshots on - Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html) - in the *Amazon EBS User Guide*. - """ - sse_type: str | None = ... - """Reserved for future use.""" - availability_zone: str | None = ... - """ - The Availability Zone or Local Zone of the snapshots. For example, - `us-west-1a` (Availability Zone) or `us-west-2-lax-1a` (Local Zone). - """ - -class SnapshotLocationEnum(UnknownEnumMixin, StrEnum): - REGIONAL = "regional" - LOCAL = "local" - -@dataclass(kw_only=True) -class SnapshotRecycleBinInfo(_SerdeShape): - """Information about a snapshot that is currently in the Recycle Bin.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - recycle_bin_enter_time: datetime | None = ... - """The date and time when the snapshot entered the Recycle Bin.""" - recycle_bin_exit_time: datetime | None = ... - """ - The date and time when the snapshot is to be permanently deleted from - the Recycle Bin. - """ - description: str | None = ... - """The description for the snapshot.""" - volume_id: str | None = ... - """The ID of the volume from which the snapshot was created.""" - -class SnapshotReturnCodes(UnknownEnumMixin, StrEnum): - SUCCESS = "success" - WARN_SKIPPED = "skipped" - ERROR_MISSING_PERMISSIONS = "missing-permissions" - ERROR_CODE_INTERNAL_ERROR = "internal-error" - ERROR_CODE_CLIENT_ERROR = "client-error" - -class SnapshotState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - COMPLETED = "completed" - ERROR = "error" - RECOVERABLE = "recoverable" - RECOVERING = "recovering" - -@dataclass(kw_only=True) -class SnapshotTaskDetail(_SerdeShape): - """Details about the import snapshot task.""" - - description: str | None = ... - """The description of the disk image being imported.""" - disk_image_size: float | None = ... - """The size of the disk in the snapshot, in GiB.""" - encrypted: bool | None = ... - """Indicates whether the snapshot is encrypted.""" - format: str | None = ... - """The format of the disk image from which the snapshot is created.""" - kms_key_id: str | None = ... - """ - The identifier for the KMS key that was used to create the encrypted - snapshot. - """ - progress: str | None = ... - """The percentage of completion for the import snapshot task.""" - snapshot_id: str | None = ... - """The snapshot ID of the disk being imported.""" - status: str | None = ... - """A brief status for the import snapshot task.""" - status_message: str | None = ... - """A detailed status message for the import snapshot task.""" - url: str | None = ... - """The URL of the disk image from which the snapshot is created.""" - user_bucket: UserBucketDetails | None = ... - """The Amazon S3 bucket for the disk image.""" - -@dataclass(kw_only=True) -class SnapshotTierStatus(_SerdeShape): - """Provides information about a snapshot's storage tier.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - volume_id: str | None = ... - """The ID of the volume from which the snapshot was created.""" - status: str | None = ... - """The state of the snapshot.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the snapshot.""" - tags: list[Tag] | None = ... - """The tags that are assigned to the snapshot.""" - storage_tier: str | None = ... - """ - The storage tier in which the snapshot is stored. `standard` indicates - that the snapshot is stored in the standard snapshot storage tier and - that it is ready for use. `archive` indicates that the snapshot is - currently archived and that it must be restored before it can be used. - """ - last_tiering_start_time: datetime | None = ... - """The date and time when the last archive or restore process was started.""" - last_tiering_progress: int | None = ... - """The progress of the last archive or restore process, as a percentage.""" - last_tiering_operation_status: str | None = ... - """The status of the last archive or restore process.""" - last_tiering_operation_status_detail: str | None = ... - """A message describing the status of the last archive or restore process.""" - archival_complete_time: datetime | None = ... - """The date and time when the last archive process was completed.""" - restore_expiry_time: datetime | None = ... - """ - Only for archived snapshots that are temporarily restored. Indicates the - date and time when a temporarily restored snapshot will be automatically - re-archived. - """ - -class SpotAllocationStrategy(UnknownEnumMixin, StrEnum): - LOWEST_PRICE = "lowest-price" - DIVERSIFIED = "diversified" - CAPACITY_OPTIMIZED = "capacity-optimized" - CAPACITY_OPTIMIZED_PRIORITIZED = "capacity-optimized-prioritized" - PRICE_CAPACITY_OPTIMIZED = "price-capacity-optimized" - -@dataclass(kw_only=True) -class SpotCapacityRebalance(_SerdeShape): - """ - The Spot Instance replacement strategy to use when Amazon EC2 emits a - signal that your Spot Instance is at an elevated risk of being - interrupted. For more information, see [Capacity - rebalancing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html) - in the *Amazon EC2 User Guide*. - """ - - replacement_strategy: str | None = ... - """ - The replacement strategy to use. Only available for fleets of type - `maintain`. - - `launch` - Spot Fleet launches a new replacement Spot Instance when a - rebalance notification is emitted for an existing Spot Instance in the - fleet. Spot Fleet does not terminate the instances that receive a - rebalance notification. You can terminate the old instances, or you can - leave them running. You are charged for all instances while they are - running. - - `launch-before-terminate` - Spot Fleet launches a new replacement Spot - Instance when a rebalance notification is emitted for an existing Spot - Instance in the fleet, and then, after a delay that you specify (in - `TerminationDelay`), terminates the instances that received a rebalance - notification. - """ - termination_delay: int | None = ... - """ - The amount of time (in seconds) that Amazon EC2 waits before terminating - the old Spot Instance after launching a new replacement Spot Instance. - - Required when `ReplacementStrategy` is set to `launch-before-terminate`. - - Not valid when `ReplacementStrategy` is set to `launch`. - - Valid values: Minimum value of `120` seconds. Maximum value of `7200` - seconds. - """ - -@dataclass(kw_only=True) -class SpotDatafeedSubscription(_SerdeShape): - """Describes the data feed for a Spot Instance.""" - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket where the Spot Instance data feed is - located. - """ - fault: SpotInstanceStateFault | None = ... - """The fault codes for the Spot Instance request, if any.""" - owner_id: str | None = ... - """The Amazon Web Services account ID of the account.""" - prefix: str | None = ... - """The prefix for the data feed files.""" - state: str | None = ... - """The state of the Spot Instance data feed subscription.""" - -@dataclass(kw_only=True) -class SpotFleetLaunchSpecification(_SerdeShape): - """ - Describes the launch specification for one or more Spot Instances. If - you include On-Demand capacity in your fleet request or want to specify - an EFA network device, you can't use `SpotFleetLaunchSpecification`; - you must use - [LaunchTemplateConfig](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html). - """ - - addressing_type: str | None = ... - """Deprecated.""" - block_device_mappings: list[BlockDeviceMapping] | None = ... - """ - One or more block devices that are mapped to the Spot Instances. You - can't specify both a snapshot ID and an encryption value. This is - because only blank volumes can be encrypted on creation. If a snapshot - is the basis for a volume, it is not blank and its encryption status is - used for the volume encryption status. - """ - ebs_optimized: bool | None = ... - """ - Indicates whether the instances are optimized for EBS I/O. This - optimization provides dedicated throughput to Amazon EBS and an - optimized configuration stack to provide optimal EBS I/O performance. - This optimization isn't available with all instance types. Additional - usage charges apply when using an EBS Optimized instance. - - Default: `false` - """ - iam_instance_profile: IamInstanceProfileSpecification | None = ... - """The IAM instance profile.""" - image_id: str | None = ... - """The ID of the AMI.""" - instance_type: str | None = ... - """The instance type.""" - kernel_id: str | None = ... - """The ID of the kernel.""" - key_name: str | None = ... - """The name of the key pair.""" - monitoring: SpotFleetMonitoring | None = ... - """Enable or disable monitoring for the instances.""" - network_interfaces: list[InstanceNetworkInterfaceSpecification] | None = ... - """ - The network interfaces. - - Note: - `SpotFleetLaunchSpecification` does not support Elastic Fabric Adapter - (EFA). You must use - [LaunchTemplateConfig](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html) - instead. - """ - placement: SpotPlacement | None = ... - """The placement information.""" - ramdisk_id: str | None = ... - """ - The ID of the RAM disk. Some kernels require additional drivers at - launch. Check the kernel requirements for information about whether you - need to specify a RAM disk. To find kernel requirements, refer to the - Amazon Web Services Resource Center and search for the kernel ID. - """ - spot_price: str | None = ... - """ - The maximum price per unit hour that you are willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your instances will be interrupted more - frequently than if you do not specify this parameter. - """ - subnet_id: str | None = ... - """ - The IDs of the subnets in which to launch the instances. To specify - multiple subnets, separate them using commas; for example, - \"subnet-1234abcdeexample1, subnet-0987cdef6example2\". - - If you specify a network interface, you must specify any subnets as part - of the network interface instead of using this parameter. - """ - user_data: str | None = ... - """ - The base64-encoded user data that instances use when starting up. User - data is limited to 16 KB. - """ - weighted_capacity: float | None = ... - """ - The number of units provided by the specified instance type. These are - the same units that you chose to set the target capacity in terms of - instances, or a performance characteristic such as vCPUs, memory, or - I/O. - - If the target capacity divided by this value is not a whole number, - Amazon EC2 rounds the number of instances to the next whole number. If - this value is not specified, the default is 1. - - Note: - When specifying weights, the price used in the `lowestPrice` and - `priceCapacityOptimized` allocation strategies is per *unit* hour (where - the instance price is divided by the specified weight). However, if all - the specified weights are above the requested `TargetCapacity`, - resulting in only 1 instance being launched, the price used is per - *instance* hour. - """ - tag_specifications: list[SpotFleetTagSpecification] | None = ... - """The tags to apply during creation.""" - instance_requirements: InstanceRequirements | None = ... - """ - The attributes for the instance types. When you specify instance - attributes, Amazon EC2 will identify instance types with those - attributes. - - Note: - If you specify `InstanceRequirements`, you can't specify - `InstanceType`. - """ - security_groups: list[GroupIdentifier] | None = ... - """ - The security groups. - - If you specify a network interface, you must specify any security groups - as part of the network interface instead of using this parameter. - """ - -@dataclass(kw_only=True) -class SpotFleetMonitoring(_SerdeShape): - """Describes whether monitoring is enabled.""" - - enabled: bool | None = ... - """ - Enables monitoring for the instance. - - Default: `false` - """ - -@dataclass(kw_only=True) -class SpotFleetRequestConfig(_SerdeShape): - """Describes a Spot Fleet request.""" - - activity_status: str | None = ... - """ - The progress of the Spot Fleet request. If there is an error, the status - is `error`. After all requests are placed, the status is - `pending_fulfillment`. If the size of the fleet is equal to or greater - than its target capacity, the status is `fulfilled`. If the size of the - fleet is decreased, the status is `pending_termination` while Spot - Instances are terminating. - """ - create_time: datetime | None = ... - """The creation date and time of the request.""" - spot_fleet_request_config: SpotFleetRequestConfigData | None = ... - """The configuration of the Spot Fleet request.""" - spot_fleet_request_id: str | None = ... - """The ID of the Spot Fleet request.""" - spot_fleet_request_state: str | None = ... - """The state of the Spot Fleet request.""" - tags: list[Tag] | None = ... - """The tags for a Spot Fleet resource.""" - -@dataclass(kw_only=True) -class SpotFleetRequestConfigData(_SerdeShape): - """Describes the configuration of a Spot Fleet request.""" - - allocation_strategy: str | None = ... - """ - The strategy that determines how to allocate the target Spot Instance - capacity across the Spot Instance pools specified by the Spot Fleet - launch configuration. For more information, see [Allocation strategies - for Spot - Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html) - in the *Amazon EC2 User Guide*. - - priceCapacityOptimized (recommended) - - : Spot Fleet identifies the pools with the highest capacity availability - for the number of instances that are launching. This means that we - will request Spot Instances from the pools that we believe have the - lowest chance of interruption in the near term. Spot Fleet then - requests Spot Instances from the lowest priced of these pools. - - capacityOptimized - - : Spot Fleet identifies the pools with the highest capacity availability - for the number of instances that are launching. This means that we - will request Spot Instances from the pools that we believe have the - lowest chance of interruption in the near term. To give certain - instance types a higher chance of launching first, use - `capacityOptimizedPrioritized`. Set a priority for each instance type - by using the `Priority` parameter for `LaunchTemplateOverrides`. You - can assign the same priority to different `LaunchTemplateOverrides`. - EC2 implements the priorities on a best-effort basis, but optimizes - for capacity first. `capacityOptimizedPrioritized` is supported only - if your Spot Fleet uses a launch template. Note that if the - `OnDemandAllocationStrategy` is set to `prioritized`, the same - priority is applied when fulfilling On-Demand capacity. - - diversified - - : Spot Fleet requests instances from all of the Spot Instance pools that - you specify. - - lowestPrice (not recommended) - - : Warning: - We don't recommend the `lowestPrice` allocation strategy because it - has the highest risk of interruption for your Spot Instances. - Spot Fleet requests instances from the lowest priced Spot Instance - pool that has available capacity. If the lowest priced pool doesn't - have available capacity, the Spot Instances come from the next lowest - priced pool that has available capacity. If a pool runs out of - capacity before fulfilling your desired capacity, Spot Fleet will - continue to fulfill your request by drawing from the next lowest - priced pool. To ensure that your desired capacity is met, you might - receive Spot Instances from several pools. Because this strategy only - considers instance price and not capacity availability, it might lead - to high interruption rates. - - Default: `lowestPrice` - """ - on_demand_allocation_strategy: str | None = ... - """ - The order of the launch template overrides to use in fulfilling - On-Demand capacity. If you specify `lowestPrice`, Spot Fleet uses price - to determine the order, launching the lowest price first. If you specify - `prioritized`, Spot Fleet uses the priority that you assign to each Spot - Fleet launch template override, launching the highest priority first. If - you do not specify a value, Spot Fleet defaults to `lowestPrice`. - """ - spot_maintenance_strategies: SpotMaintenanceStrategies | None = ... - """ - The strategies for managing your Spot Instances that are at an elevated - risk of being interrupted. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure the - idempotency of your listings. This helps to avoid duplicate listings. - For more information, see [Ensuring - Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). - """ - excess_capacity_termination_policy: str | None = ... - """ - Indicates whether running instances should be terminated if you decrease - the target capacity of the Spot Fleet request below the current size of - the Spot Fleet. - - Supported only for fleets of type `maintain`. - """ - fulfilled_capacity: float | None = ... - """ - The number of units fulfilled by this request compared to the set target - capacity. You cannot set this value. - """ - on_demand_fulfilled_capacity: float | None = ... - """ - The number of On-Demand units fulfilled by this request compared to the - set target On-Demand capacity. - """ - iam_fleet_role: str | None = ... - """ - The Amazon Resource Name (ARN) of an Identity and Access Management - (IAM) role that grants the Spot Fleet the permission to request, launch, - terminate, and tag instances on your behalf. For more information, see - [Spot Fleet - prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites) - in the *Amazon EC2 User Guide*. Spot Fleet can terminate Spot Instances - on your behalf when you cancel its Spot Fleet request using - [CancelSpotFleetRequests](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelSpotFleetRequests) - or when the Spot Fleet request expires, if you set - `TerminateInstancesWithExpiration`. - """ - launch_specifications: list[SpotFleetLaunchSpecification] | None = ... - """ - The launch specifications for the Spot Fleet request. If you specify - `LaunchSpecifications`, you can't specify `LaunchTemplateConfigs`. If - you include On-Demand capacity in your request, you must use - `LaunchTemplateConfigs`. - - Note: - If an AMI specified in a launch specification is deregistered or - disabled, no new instances can be launched from the AMI. For fleets of - type `maintain`, the target capacity will not be maintained. - """ - launch_template_configs: list[LaunchTemplateConfig] | None = ... - """ - The launch template and overrides. If you specify - `LaunchTemplateConfigs`, you can't specify `LaunchSpecifications`. If - you include On-Demand capacity in your request, you must use - `LaunchTemplateConfigs`. - """ - spot_price: str | None = ... - """ - The maximum price per unit hour that you are willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your instances will be interrupted more - frequently than if you do not specify this parameter. - """ - target_capacity: int | None = ... - """ - The number of units to request for the Spot Fleet. You can choose to set - the target capacity in terms of instances or a performance - characteristic that is important to your application workload, such as - vCPUs, memory, or I/O. If the request type is `maintain`, you can - specify a target capacity of 0 and add capacity later. - """ - on_demand_target_capacity: int | None = ... - """ - The number of On-Demand units to request. You can choose to set the - target capacity in terms of instances or a performance characteristic - that is important to your application workload, such as vCPUs, memory, - or I/O. If the request type is `maintain`, you can specify a target - capacity of 0 and add capacity later. - """ - on_demand_max_total_price: str | None = ... - """ - The maximum amount per hour for On-Demand Instances that you're willing - to pay. You can use the `onDemandMaxTotalPrice` parameter, the - `spotMaxTotalPrice` parameter, or both parameters to ensure that your - fleet cost does not exceed your budget. If you set a maximum price per - hour for the On-Demand Instances and Spot Instances in your request, - Spot Fleet will launch instances until it reaches the maximum amount - you're willing to pay. When the maximum amount you're willing to pay - is reached, the fleet stops launching instances even if it hasn't met - the target capacity. - - Note: - If your fleet includes T instances that are configured as `unlimited`, - and if their average CPU usage exceeds the baseline utilization, you - will incur a charge for surplus credits. The `onDemandMaxTotalPrice` - does not account for surplus credits, and, if you use surplus credits, - your final cost might be higher than what you specified for - `onDemandMaxTotalPrice`. For more information, see [Surplus credits can - incur - charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) - in the *Amazon EC2 User Guide*. - """ - spot_max_total_price: str | None = ... - """ - The maximum amount per hour for Spot Instances that you're willing to - pay. You can use the `spotMaxTotalPrice` parameter, the - `onDemandMaxTotalPrice` parameter, or both parameters to ensure that - your fleet cost does not exceed your budget. If you set a maximum price - per hour for the On-Demand Instances and Spot Instances in your request, - Spot Fleet will launch instances until it reaches the maximum amount - you're willing to pay. When the maximum amount you're willing to pay - is reached, the fleet stops launching instances even if it hasn't met - the target capacity. - - Note: - If your fleet includes T instances that are configured as `unlimited`, - and if their average CPU usage exceeds the baseline utilization, you - will incur a charge for surplus credits. The `spotMaxTotalPrice` does - not account for surplus credits, and, if you use surplus credits, your - final cost might be higher than what you specified for - `spotMaxTotalPrice`. For more information, see [Surplus credits can - incur - charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) - in the *Amazon EC2 User Guide*. - """ - terminate_instances_with_expiration: bool | None = ... - """ - Indicates whether running Spot Instances are terminated when the Spot - Fleet request expires. - """ - type: str | None = ... - """ - The type of request. Indicates whether the Spot Fleet only requests the - target capacity or also attempts to maintain it. When this value is - `request`, the Spot Fleet only places the required requests. It does not - attempt to replenish Spot Instances if capacity is diminished, nor does - it submit requests in alternative Spot pools if capacity is not - available. When this value is `maintain`, the Spot Fleet maintains the - target capacity. The Spot Fleet places the required requests to meet - capacity and automatically replenishes any interrupted instances. - Default: `maintain`. `instant` is listed but is not used by Spot Fleet. - """ - valid_from: datetime | None = ... - """ - The start date and time of the request, in UTC format - (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). By default, Amazon EC2 starts - fulfilling the request immediately. - """ - valid_until: datetime | None = ... - """ - The end date and time of the request, in UTC format - (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). After the end date and time, no new - Spot Instance requests are placed or able to fulfill the request. If no - value is specified, the Spot Fleet request remains until you cancel it. - """ - replace_unhealthy_instances: bool | None = ... - """Indicates whether Spot Fleet should replace unhealthy instances.""" - instance_interruption_behavior: str | None = ... - """ - The behavior when a Spot Instance is interrupted. The default is - `terminate`. - """ - load_balancers_config: LoadBalancersConfig | None = ... - """ - One or more Classic Load Balancers and target groups to attach to the - Spot Fleet request. Spot Fleet registers the running Spot Instances with - the specified Classic Load Balancers and target groups. - - With Network Load Balancers, Spot Fleet cannot register instances that - have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, - G2, HI1, HS1, M1, M2, M3, and T1. - """ - instance_pools_to_use_count: int | None = ... - """ - The number of Spot pools across which to allocate your target Spot - capacity. Valid only when Spot **AllocationStrategy** is set to - `lowest-price`. Spot Fleet selects the cheapest Spot pools and evenly - allocates your target Spot capacity across the number of Spot pools that - you specify. - - Note that Spot Fleet attempts to draw Spot Instances from the number of - pools that you specify on a best effort basis. If a pool runs out of - Spot capacity before fulfilling your target capacity, Spot Fleet will - continue to fulfill your request by drawing from the next cheapest pool. - To ensure that your target capacity is met, you might receive Spot - Instances from more than the number of pools that you specified. - Similarly, if most of the pools have no Spot capacity, you might receive - your full target capacity from fewer than the number of pools that you - specified. - """ - context: str | None = ... - """Reserved.""" - target_capacity_unit_type: str | None = ... - """ - The unit for the target capacity. You can specify this parameter only - when using attribute-based instance type selection. - - Default: `units` (the number of instances) - """ - tag_specifications: list[TagSpecification] | None = ... - """ - The key-value pair for tagging the Spot Fleet request on creation. The - value for `ResourceType` must be `spot-fleet-request`, otherwise the - Spot Fleet request fails. To tag instances at launch, specify the tags - in the [launch - template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template) - (valid only if you use `LaunchTemplateConfigs`) or in the - ` `[`SpotFleetTagSpecification`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html)` ` - (valid only if you use `LaunchSpecifications`). For information about - tagging after launch, see [Tag your - resources](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources). - """ - -@dataclass(kw_only=True) -class SpotFleetTagSpecification(_SerdeShape): - """The tags for a Spot Fleet resource.""" - - resource_type: str | None = ... - """ - The type of resource. Currently, the only resource type that is - supported is `instance`. To tag the Spot Fleet request on creation, use - the `TagSpecifications` parameter in - ` `[`SpotFleetRequestConfigData`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)` `. - """ - tags: list[Tag] | None = ... - """The tags.""" - -class SpotInstanceInterruptionBehavior(UnknownEnumMixin, StrEnum): - HIBERNATE = "hibernate" - STOP = "stop" - TERMINATE = "terminate" - -@dataclass(kw_only=True) -class SpotInstanceRequest(_SerdeShape): - """Describes a Spot Instance request.""" - - actual_block_hourly_price: str | None = ... - """Deprecated.""" - availability_zone_group: str | None = ... - """ - The Availability Zone group. If you specify the same Availability Zone - group for all Spot Instance requests, all Spot Instances are launched in - the same Availability Zone. - """ - block_duration_minutes: int | None = ... - """Deprecated.""" - create_time: datetime | None = ... - """ - The date and time when the Spot Instance request was created, in UTC - format (for example, *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - fault: SpotInstanceStateFault | None = ... - """The fault codes for the Spot Instance request, if any.""" - instance_id: str | None = ... - """ - The instance ID, if an instance has been launched to fulfill the Spot - Instance request. - """ - launch_group: str | None = ... - """ - The instance launch group. Launch groups are Spot Instances that launch - together and terminate together. - """ - launch_specification: LaunchSpecification | None = ... - """Additional information for launching instances.""" - launched_availability_zone: str | None = ... - """ - The Availability Zone in which the request is launched. - - Either `launchedAvailabilityZone` or `launchedAvailabilityZoneId` can be - specified, but not both - """ - launched_availability_zone_id: str | None = ... - """ - The ID of the Availability Zone in which the request is launched. - - Either `launchedAvailabilityZone` or `launchedAvailabilityZoneId` can be - specified, but not both - """ - product_description: str | None = ... - """The product description associated with the Spot Instance.""" - spot_instance_request_id: str | None = ... - """The ID of the Spot Instance request.""" - spot_price: str | None = ... - """ - The maximum price per unit hour that you are willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your instances will be interrupted more - frequently than if you do not specify this parameter. - """ - state: str | None = ... - """ - The state of the Spot Instance request. Spot request status information - helps track your Spot Instance requests. For more information, see [Spot - request - status](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html) - in the *Amazon EC2 User Guide*. - """ - status: SpotInstanceStatus | None = ... - """The status code and status message describing the Spot Instance request.""" - tags: list[Tag] | None = ... - """Any tags assigned to the resource.""" - type: str | None = ... - """The Spot Instance request type.""" - valid_from: datetime | None = ... - """ - The start date of the request, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). The request becomes active at this - date and time. - """ - valid_until: datetime | None = ... - """ - The end date of the request, in UTC format - (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - - - For a persistent request, the request remains active until the - `validUntil` date and time is reached. Otherwise, the request remains - active until you cancel it. - - - For a one-time request, the request remains active until all instances - launch, the request is canceled, or the `validUntil` date and time is - reached. By default, the request is valid for 7 days from the date the - request was created. - """ - instance_interruption_behavior: str | None = ... - """The behavior when a Spot Instance is interrupted.""" - -class SpotInstanceState(UnknownEnumMixin, StrEnum): - OPEN = "open" - ACTIVE = "active" - CLOSED = "closed" - CANCELLED = "cancelled" - FAILED = "failed" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class SpotInstanceStateFault(_SerdeShape): - """Describes a Spot Instance state change.""" - - code: str | None = ... - """The reason code for the Spot Instance state change.""" - message: str | None = ... - """The message for the Spot Instance state change.""" - -@dataclass(kw_only=True) -class SpotInstanceStatus(_SerdeShape): - """Describes the status of a Spot Instance request.""" - - code: str | None = ... - """ - The status code. For a list of status codes, see [Spot request status - codes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html#spot-instance-request-status-understand) - in the *Amazon EC2 User Guide*. - """ - message: str | None = ... - """The description for the status code.""" - update_time: datetime | None = ... - """ - The date and time of the most recent status update, in UTC format (for - example, *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - -class SpotInstanceType(UnknownEnumMixin, StrEnum): - ONE_TIME = "one-time" - PERSISTENT = "persistent" - -@dataclass(kw_only=True) -class SpotMaintenanceStrategies(_SerdeShape): - """ - The strategies for managing your Spot Instances that are at an elevated - risk of being interrupted. - """ - - capacity_rebalance: SpotCapacityRebalance | None = ... - """ - The Spot Instance replacement strategy to use when Amazon EC2 emits a - signal that your Spot Instance is at an elevated risk of being - interrupted. For more information, see [Capacity - rebalancing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class SpotMarketOptions(_SerdeShape): - """The options for Spot Instances.""" - - max_price: str | None = ... - """ - The maximum hourly price that you're willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your Spot Instances will be interrupted - more frequently than if you do not specify this parameter. - - If you specify a maximum price, it must be more than USD $0.001. - Specifying a value below USD $0.001 will result in an - `InvalidParameterValue` error message. - """ - spot_instance_type: str | None = ... - """ - The Spot Instance request type. For - [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances), - persistent Spot Instance requests are only supported when the instance - interruption behavior is either `hibernate` or `stop`. - """ - block_duration_minutes: int | None = ... - """Deprecated.""" - valid_until: datetime | None = ... - """ - The end date of the request, in UTC format - (*YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). Supported only for persistent - requests. - - - For a persistent request, the request remains active until the - `ValidUntil` date and time is reached. Otherwise, the request remains - active until you cancel it. - - - For a one-time request, `ValidUntil` is not supported. The request - remains active until all instances launch or you cancel the request. - """ - instance_interruption_behavior: str | None = ... - """ - The behavior when a Spot Instance is interrupted. - - If `Configured` (for - [`HibernationOptions`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html) - ) is set to `true`, the `InstanceInterruptionBehavior` parameter is - automatically set to `hibernate`. If you set it to `stop` or - `terminate`, you'll get an error. - - If `Configured` (for - [`HibernationOptions`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html) - ) is set to `false` or `null`, the `InstanceInterruptionBehavior` - parameter is automatically set to `terminate`. You can also set it to - `stop` or `hibernate`. - - For more information, see [Interruption - behavior](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/interruption-behavior.html) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class SpotOptions(_SerdeShape): - """Describes the configuration of Spot Instances in an EC2 Fleet.""" - - allocation_strategy: str | None = ... - """ - The strategy that determines how to allocate the target Spot Instance - capacity across the Spot Instance pools specified by the EC2 Fleet - launch configuration. For more information, see [Allocation strategies - for Spot - Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) - in the *Amazon EC2 User Guide*. - - price-capacity-optimized (recommended) - - : EC2 Fleet identifies the pools with the highest capacity availability - for the number of instances that are launching. This means that we - will request Spot Instances from the pools that we believe have the - lowest chance of interruption in the near term. EC2 Fleet then - requests Spot Instances from the lowest priced of these pools. - - capacity-optimized - - : EC2 Fleet identifies the pools with the highest capacity availability - for the number of instances that are launching. This means that we - will request Spot Instances from the pools that we believe have the - lowest chance of interruption in the near term. To give certain - instance types a higher chance of launching first, use - `capacity-optimized-prioritized`. Set a priority for each instance - type by using the `Priority` parameter for `LaunchTemplateOverrides`. - You can assign the same priority to different - `LaunchTemplateOverrides`. EC2 implements the priorities on a - best-effort basis, but optimizes for capacity first. - `capacity-optimized-prioritized` is supported only if your EC2 Fleet - uses a launch template. Note that if the On-Demand - `AllocationStrategy` is set to `prioritized`, the same priority is - applied when fulfilling On-Demand capacity. - - diversified - - : EC2 Fleet requests instances from all of the Spot Instance pools that - you specify. - - lowest-price (not recommended) - - : Warning: - We don't recommend the `lowest-price` allocation strategy because it - has the highest risk of interruption for your Spot Instances. - EC2 Fleet requests instances from the lowest priced Spot Instance pool - that has available capacity. If the lowest priced pool doesn't have - available capacity, the Spot Instances come from the next lowest - priced pool that has available capacity. If a pool runs out of - capacity before fulfilling your desired capacity, EC2 Fleet will - continue to fulfill your request by drawing from the next lowest - priced pool. To ensure that your desired capacity is met, you might - receive Spot Instances from several pools. Because this strategy only - considers instance price and not capacity availability, it might lead - to high interruption rates. - - Default: `lowest-price` - """ - maintenance_strategies: FleetSpotMaintenanceStrategies | None = ... - """ - The strategies for managing your workloads on your Spot Instances that - will be interrupted. Currently only the capacity rebalance strategy is - available. - """ - instance_interruption_behavior: str | None = ... - """ - The behavior when a Spot Instance is interrupted. - - Default: `terminate` - """ - instance_pools_to_use_count: int | None = ... - """ - The number of Spot pools across which to allocate your target Spot - capacity. Supported only when `AllocationStrategy` is set to - `lowest-price`. EC2 Fleet selects the cheapest Spot pools and evenly - allocates your target Spot capacity across the number of Spot pools that - you specify. - - Note that EC2 Fleet attempts to draw Spot Instances from the number of - pools that you specify on a best effort basis. If a pool runs out of - Spot capacity before fulfilling your target capacity, EC2 Fleet will - continue to fulfill your request by drawing from the next cheapest pool. - To ensure that your target capacity is met, you might receive Spot - Instances from more than the number of pools that you specified. - Similarly, if most of the pools have no Spot capacity, you might receive - your full target capacity from fewer than the number of pools that you - specified. - """ - single_instance_type: bool | None = ... - """ - Indicates that the fleet uses a single instance type to launch all Spot - Instances in the fleet. - - Supported only for fleets of type `instant`. - """ - single_availability_zone: bool | None = ... - """ - Indicates that the fleet launches all Spot Instances into a single - Availability Zone. - - Supported only for fleets of type `instant`. - """ - min_target_capacity: int | None = ... - """ - The minimum target capacity for Spot Instances in the fleet. If this - minimum capacity isn't reached, no instances are launched. - - Constraints: Maximum value of `1000`. Supported only for fleets of type - `instant`. - - At least one of the following must be specified: - `SingleAvailabilityZone` | `SingleInstanceType` - """ - max_total_price: str | None = ... - """ - The maximum amount per hour for Spot Instances that you're willing to - pay. We do not recommend using this parameter because it can lead to - increased interruptions. If you do not specify this parameter, you will - pay the current Spot price. - - Warning: - If you specify a maximum price, your Spot Instances will be interrupted - more frequently than if you do not specify this parameter. - Note: - If your fleet includes T instances that are configured as `unlimited`, - and if their average CPU usage exceeds the baseline utilization, you - will incur a charge for surplus credits. The `maxTotalPrice` does not - account for surplus credits, and, if you use surplus credits, your final - cost might be higher than what you specified for `maxTotalPrice`. For - more information, see [Surplus credits can incur - charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class SpotOptionsRequest(_SerdeShape): - """Describes the configuration of Spot Instances in an EC2 Fleet request.""" - - allocation_strategy: str | None = ... - """ - The strategy that determines how to allocate the target Spot Instance - capacity across the Spot Instance pools specified by the EC2 Fleet - launch configuration. For more information, see [Allocation strategies - for Spot - Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) - in the *Amazon EC2 User Guide*. - - price-capacity-optimized (recommended) - - : EC2 Fleet identifies the pools with the highest capacity availability - for the number of instances that are launching. This means that we - will request Spot Instances from the pools that we believe have the - lowest chance of interruption in the near term. EC2 Fleet then - requests Spot Instances from the lowest priced of these pools. - - capacity-optimized - - : EC2 Fleet identifies the pools with the highest capacity availability - for the number of instances that are launching. This means that we - will request Spot Instances from the pools that we believe have the - lowest chance of interruption in the near term. To give certain - instance types a higher chance of launching first, use - `capacity-optimized-prioritized`. Set a priority for each instance - type by using the `Priority` parameter for `LaunchTemplateOverrides`. - You can assign the same priority to different - `LaunchTemplateOverrides`. EC2 implements the priorities on a - best-effort basis, but optimizes for capacity first. - `capacity-optimized-prioritized` is supported only if your EC2 Fleet - uses a launch template. Note that if the On-Demand - `AllocationStrategy` is set to `prioritized`, the same priority is - applied when fulfilling On-Demand capacity. - - diversified - - : EC2 Fleet requests instances from all of the Spot Instance pools that - you specify. - - lowest-price (not recommended) - - : Warning: - We don't recommend the `lowest-price` allocation strategy because it - has the highest risk of interruption for your Spot Instances. - EC2 Fleet requests instances from the lowest priced Spot Instance pool - that has available capacity. If the lowest priced pool doesn't have - available capacity, the Spot Instances come from the next lowest - priced pool that has available capacity. If a pool runs out of - capacity before fulfilling your desired capacity, EC2 Fleet will - continue to fulfill your request by drawing from the next lowest - priced pool. To ensure that your desired capacity is met, you might - receive Spot Instances from several pools. Because this strategy only - considers instance price and not capacity availability, it might lead - to high interruption rates. - - Default: `lowest-price` - """ - maintenance_strategies: FleetSpotMaintenanceStrategiesRequest | None = ... - """ - The strategies for managing your Spot Instances that are at an elevated - risk of being interrupted. - """ - instance_interruption_behavior: str | None = ... - """ - The behavior when a Spot Instance is interrupted. - - Default: `terminate` - """ - instance_pools_to_use_count: int | None = ... - """ - The number of Spot pools across which to allocate your target Spot - capacity. Supported only when Spot `AllocationStrategy` is set to - `lowest-price`. EC2 Fleet selects the cheapest Spot pools and evenly - allocates your target Spot capacity across the number of Spot pools that - you specify. - - Note that EC2 Fleet attempts to draw Spot Instances from the number of - pools that you specify on a best effort basis. If a pool runs out of - Spot capacity before fulfilling your target capacity, EC2 Fleet will - continue to fulfill your request by drawing from the next cheapest pool. - To ensure that your target capacity is met, you might receive Spot - Instances from more than the number of pools that you specified. - Similarly, if most of the pools have no Spot capacity, you might receive - your full target capacity from fewer than the number of pools that you - specified. - """ - single_instance_type: bool | None = ... - """ - Indicates that the fleet uses a single instance type to launch all Spot - Instances in the fleet. - - Supported only for fleets of type `instant`. - """ - single_availability_zone: bool | None = ... - """ - Indicates that the fleet launches all Spot Instances into a single - Availability Zone. - - Supported only for fleets of type `instant`. - """ - min_target_capacity: int | None = ... - """ - The minimum target capacity for Spot Instances in the fleet. If this - minimum capacity isn't reached, no instances are launched. - - Constraints: Maximum value of `1000`. Supported only for fleets of type - `instant`. - - At least one of the following must be specified: - `SingleAvailabilityZone` | `SingleInstanceType` - """ - max_total_price: str | None = ... - """ - The maximum amount per hour for Spot Instances that you're willing to - pay. We do not recommend using this parameter because it can lead to - increased interruptions. If you do not specify this parameter, you will - pay the current Spot price. - - Warning: - If you specify a maximum price, your Spot Instances will be interrupted - more frequently than if you do not specify this parameter. - Note: - If your fleet includes T instances that are configured as `unlimited`, - and if their average CPU usage exceeds the baseline utilization, you - will incur a charge for surplus credits. The `MaxTotalPrice` does not - account for surplus credits, and, if you use surplus credits, your final - cost might be higher than what you specified for `MaxTotalPrice`. For - more information, see [Surplus credits can incur - charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) - in the *Amazon EC2 User Guide*. - """ - -@dataclass(kw_only=True) -class SpotPlacement(_SerdeShape): - """Describes Spot Instance placement.""" - - availability_zone: str | None = ... - """ - The Availability Zone. For example, `us-east-2a`. - - [Spot Fleet only] To specify multiple Availability Zones, separate - them using commas; for example, \"`us-east-2a`, `us-east-2b`\". - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - group_name: str | None = ... - """The name of the placement group.""" - tenancy: str | None = ... - """ - The tenancy of the instance (if the instance is running in a VPC). An - instance with a tenancy of `dedicated` runs on single-tenant hardware. - The `host` tenancy is not supported for Spot Instances. - """ - availability_zone_id: str | None = ... - """ - The ID of the Availability Zone. For example, `use2-az1`. - - [Spot Fleet only] To specify multiple Availability Zones, separate - them using commas; for example, \"`use2-az1`, `use2-bz1`\". - - Either `AvailabilityZone` or `AvailabilityZoneId` must be specified in - the request, but not both. - """ - -@dataclass(kw_only=True) -class SpotPlacementScore(_SerdeShape): - """ - The Spot placement score for this Region or Availability Zone. The score - is calculated based on the assumption that the `capacity-optimized` - allocation strategy is used and that all of the Availability Zones in - the Region can be used. - """ - - region: str | None = ... - """The Region.""" - availability_zone_id: str | None = ... - """The Availability Zone.""" - score: int | None = ... - """ - The placement score, on a scale from `1` to `10`. A score of `10` - indicates that your Spot request is highly likely to succeed in this - Region or Availability Zone. A score of `1` indicates that your Spot - request is not likely to succeed. - """ - -@dataclass(kw_only=True) -class SpotPrice(_SerdeShape): - """ - The maximum price per unit hour that you are willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your instances will be interrupted more - frequently than if you do not specify this parameter. - """ - - availability_zone: str | None = ... - """The Availability Zone.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - instance_type: str | None = ... - """The instance type.""" - product_description: str | None = ... - """A general description of the AMI.""" - spot_price: str | None = ... - """ - The maximum price per unit hour that you are willing to pay for a Spot - Instance. We do not recommend using this parameter because it can lead - to increased interruptions. If you do not specify this parameter, you - will pay the current Spot price. - - Warning: - If you specify a maximum price, your instances will be interrupted more - frequently than if you do not specify this parameter. - """ - timestamp: datetime | None = ... - """ - The date and time the request was created, in UTC format (for example, - *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*Z). - """ - -class SpreadLevel(UnknownEnumMixin, StrEnum): - HOST = "host" - RACK = "rack" - -class SqlServerLicenseUsage(UnknownEnumMixin, StrEnum): - FULL = "full" - WAIVED = "waived" - -class SSEType(UnknownEnumMixin, StrEnum): - SSE_EBS = "sse-ebs" - SSE_KMS = "sse-kms" - NONE = "none" - -@dataclass(kw_only=True) -class StaleIpPermission(_SerdeShape): - """Describes a stale rule in a security group.""" - - from_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the start of the port range. If - the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP - types). - """ - ip_protocol: str | None = ... - """ - The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see - [Protocol - Numbers)](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). - """ - ip_ranges: list[str] | None = ... - """The IP ranges. Not applicable for stale security group rules.""" - prefix_list_ids: list[str] | None = ... - """The prefix list IDs. Not applicable for stale security group rules.""" - to_port: int | None = ... - """ - If the protocol is TCP or UDP, this is the end of the port range. If the - protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP - codes). - """ - user_id_group_pairs: list[UserIdGroupPair] | None = ... - """ - The security group pairs. Returns the ID of the referenced security - group and VPC, and the ID and status of the VPC peering connection. - """ - -@dataclass(kw_only=True) -class StaleSecurityGroup(_SerdeShape): - """ - Describes a stale security group (a security group that contains stale - rules). - """ - - description: str | None = ... - """The description of the security group.""" - group_id: str | None = ... - """The ID of the security group.""" - group_name: str | None = ... - """The name of the security group.""" - stale_ip_permissions: list[StaleIpPermission] | None = ... - """Information about the stale inbound rules in the security group.""" - stale_ip_permissions_egress: list[StaleIpPermission] | None = ... - """Information about the stale outbound rules in the security group.""" - vpc_id: str | None = ... - """The ID of the VPC for the security group.""" - -@dataclass(kw_only=True) -class StartDeclarativePoliciesReportInput(_SerdeShape): - """Dataclass for StartDeclarativePoliciesReportInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - s3_bucket: str | None = ... - """ - The name of the S3 bucket where the report will be saved. The bucket - must be in the same Region where the report generation request is made. - """ - s3_prefix: str | None = ... - """The prefix for your S3 object.""" - target_id: str | None = ... - """ - The root ID, organizational unit ID, or account ID. - - Format: - - - For root: `r-ab12` - - - For OU: `ou-ab12-cdef1234` - - - For account: `123456789012` - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply.""" - -@dataclass(kw_only=True) -class StartDeclarativePoliciesReportOutput(_SerdeShape): - """Dataclass for StartDeclarativePoliciesReportOutput structure.""" - - report_id: str | None = ... - """The ID of the report.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartInstancesInput(_SerdeShape): - """Dataclass for StartInstancesInput structure.""" - - instance_ids: list[str] | None = ... - """The IDs of the instances.""" - additional_info: str | None = ... - """Reserved.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class StartInstancesOutput(_SerdeShape): - """Dataclass for StartInstancesOutput structure.""" - - starting_instances: list[InstanceStateChange] | None = ... - """Information about the started instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartNetworkInsightsAccessScopeAnalysisInput(_SerdeShape): - """Dataclass for StartNetworkInsightsAccessScopeAnalysisInput structure.""" - - network_insights_access_scope_id: str | None = ... - """The ID of the Network Access Scope.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class StartNetworkInsightsAccessScopeAnalysisOutput(_SerdeShape): - """Dataclass for StartNetworkInsightsAccessScopeAnalysisOutput structure.""" - - network_insights_access_scope_analysis: ( - NetworkInsightsAccessScopeAnalysis | None - ) = ... - """The Network Access Scope analysis.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartNetworkInsightsAnalysisInput(_SerdeShape): - """Dataclass for StartNetworkInsightsAnalysisInput structure.""" - - network_insights_path_id: str | None = ... - """The ID of the path.""" - additional_accounts: list[str] | None = ... - """The member accounts that contain resources that the path can traverse.""" - filter_in_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARN) of the resources that the path must - traverse. - """ - filter_out_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARN) of the resources that the path will - ignore. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - tag_specifications: list[TagSpecification] | None = ... - """The tags to apply.""" - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. For more information, see [How to ensure - idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html). - """ - -@dataclass(kw_only=True) -class StartNetworkInsightsAnalysisOutput(_SerdeShape): - """Dataclass for StartNetworkInsightsAnalysisOutput structure.""" - - network_insights_analysis: NetworkInsightsAnalysis | None = ... - """Information about the network insights analysis.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartVpcEndpointServicePrivateDnsVerificationInput(_SerdeShape): - """ - Dataclass for StartVpcEndpointServicePrivateDnsVerificationInput - structure. - """ - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - service_id: str | None = ... - """The ID of the endpoint service.""" - -@dataclass(kw_only=True) -class StartVpcEndpointServicePrivateDnsVerificationOutput(_SerdeShape): - """ - Dataclass for StartVpcEndpointServicePrivateDnsVerificationOutput - structure. - """ - - return_value: bool | None = ... - """Returns `true` if the request succeeds; otherwise, it returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class State(UnknownEnumMixin, StrEnum): - PENDING_ACCEPTANCE = "PendingAcceptance" - PENDING = "Pending" - AVAILABLE = "Available" - DELETING = "Deleting" - DELETED = "Deleted" - REJECTED = "Rejected" - FAILED = "Failed" - EXPIRED = "Expired" - PARTIAL = "Partial" - -@dataclass(kw_only=True) -class StateReason(_SerdeShape): - """Describes a state change.""" - - code: str | None = ... - """The reason code for the state change.""" - message: str | None = ... - """ - The message for the state change. - - - `Server.InsufficientInstanceCapacity`: There was insufficient capacity - available to satisfy the launch request. - - - `Server.InternalError`: An internal error caused the instance to - terminate during launch. - - - `Server.ScheduledStop`: The instance was stopped due to a scheduled - retirement. - - - `Server.SpotInstanceShutdown`: The instance was stopped because the - number of Spot requests with a maximum price equal to or higher than - the Spot price exceeded available capacity or because of an increase - in the Spot price. - - - `Server.SpotInstanceTermination`: The instance was terminated because - the number of Spot requests with a maximum price equal to or higher - than the Spot price exceeded available capacity or because of an - increase in the Spot price. - - - `Client.InstanceInitiatedShutdown`: The instance was shut down from - the operating system of the instance. - - - `Client.InstanceTerminated`: The instance was terminated or rebooted - during AMI creation. - - - `Client.InternalError`: A client error caused the instance to - terminate during launch. - - - `Client.InvalidSnapshot.NotFound`: The specified snapshot was not - found. - - - `Client.UserInitiatedHibernate`: Hibernation was initiated on the - instance. - - - `Client.UserInitiatedShutdown`: The instance was shut down using the - Amazon EC2 API. - - - `Client.VolumeLimitExceeded`: The limit on the number of EBS volumes - or total storage was exceeded. Decrease usage or request an increase - in your account limits. - """ - -class StaticSourcesSupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class StatisticType(UnknownEnumMixin, StrEnum): - P50 = "p50" - -class Status(UnknownEnumMixin, StrEnum): - MOVE_IN_PROGRESS = "MoveInProgress" - IN_VPC = "InVpc" - IN_CLASSIC = "InClassic" - -class StatusName(UnknownEnumMixin, StrEnum): - REACHABILITY = "reachability" - -class StatusType(UnknownEnumMixin, StrEnum): - PASSED = "passed" - FAILED = "failed" - INSUFFICIENT_DATA = "insufficient-data" - INITIALIZING = "initializing" - -@dataclass(kw_only=True) -class StopInstancesInput(_SerdeShape): - """Dataclass for StopInstancesInput structure.""" - - instance_ids: list[str] | None = ... - """The IDs of the instances.""" - hibernate: bool | None = ... - """ - Hibernates the instance if the instance was enabled for hibernation at - launch. If the instance cannot hibernate successfully, a normal shutdown - occurs. For more information, see [Hibernate your Amazon EC2 - instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) - in the *Amazon EC2 User Guide*. - - Default: `false` - """ - skip_os_shutdown: bool | None = ... - """ - Specifies whether to bypass the graceful OS shutdown process when the - instance is stopped. - - Warning: - Bypassing the graceful OS shutdown might result in data loss or - corruption (for example, memory contents not flushed to disk or loss of - in-flight IOs) or skipped shutdown scripts. - - Default: `false` - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - force: bool | None = ... - """ - Forces the instance to stop. The instance will first attempt a graceful - shutdown, which includes flushing file system caches and metadata. If - the graceful shutdown fails to complete within the timeout period, the - instance shuts down forcibly without flushing the file system caches and - metadata. - - After using this option, you must perform file system check and repair - procedures. This option is not recommended for Windows instances. For - more information, see [Troubleshoot Amazon EC2 instance stop - issues](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html) - in the *Amazon EC2 User Guide*. - - Default: `false` - """ - -@dataclass(kw_only=True) -class StopInstancesOutput(_SerdeShape): - """Dataclass for StopInstancesOutput structure.""" - - stopping_instances: list[InstanceStateChange] | None = ... - """Information about the stopped instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Storage(_SerdeShape): - """Describes the storage location for an instance store-backed AMI.""" - - s3: S3Storage | None = ... - """An Amazon S3 storage location.""" - -@dataclass(kw_only=True) -class StorageLocation(_SerdeShape): - """Describes a storage location in Amazon S3.""" - - bucket: str | None = ... - """The name of the S3 bucket.""" - key: str | None = ... - """The key.""" - -class StorageTier(UnknownEnumMixin, StrEnum): - ARCHIVE = "archive" - STANDARD = "standard" - -@dataclass(kw_only=True) -class StoreImageTaskResult(_SerdeShape): - """ - The information about the AMI store task, including the progress of the - task. - """ - - ami_id: str | None = ... - """The ID of the AMI that is being stored.""" - task_start_time: datetime | None = ... - """The time the task started.""" - bucket: str | None = ... - """The name of the Amazon S3 bucket that contains the stored AMI object.""" - s3object_key: str | None = ... - """The name of the stored AMI object in the bucket.""" - progress_percentage: int | None = ... - """The progress of the task as a percentage.""" - store_task_state: str | None = ... - """The state of the store task (`InProgress`, `Completed`, or `Failed`).""" - store_task_failure_reason: str | None = ... - """ - If the tasks fails, the reason for the failure is returned. If the task - succeeds, `null` is returned. - """ - -@dataclass(kw_only=True) -class Subnet(_SerdeShape): - """Describes a subnet.""" - - availability_zone_id: str | None = ... - """The AZ ID of the subnet.""" - enable_lni_at_device_index: int | None = ... - """ - Indicates the device position for local network interfaces in this - subnet. For example, `1` indicates local network interfaces in this - subnet are the secondary network interface (eth1). - """ - map_customer_owned_ip_on_launch: bool | None = ... - """ - Indicates whether a network interface created in this subnet (including - a network interface created by RunInstances) receives a customer-owned - IPv4 address. - """ - customer_owned_ipv4_pool: str | None = ... - """The customer-owned IPv4 address pool associated with the subnet.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the subnet.""" - assign_ipv6_address_on_creation: bool | None = ... - """ - Indicates whether a network interface created in this subnet (including - a network interface created by RunInstances) receives an IPv6 address. - """ - ipv6_cidr_block_association_set: list[SubnetIpv6CidrBlockAssociation] | None = ... - """Information about the IPv6 CIDR blocks associated with the subnet.""" - tags: list[Tag] | None = ... - """Any tags assigned to the subnet.""" - subnet_arn: str | None = ... - """The Amazon Resource Name (ARN) of the subnet.""" - outpost_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - enable_dns64: bool | None = ... - """ - Indicates whether DNS queries made to the Amazon-provided DNS Resolver - in this subnet should return synthetic IPv6 addresses for IPv4-only - destinations. - """ - ipv6_native: bool | None = ... - """Indicates whether this is an IPv6 only subnet.""" - private_dns_name_options_on_launch: PrivateDnsNameOptionsOnLaunch | None = ... - """ - The type of hostnames to assign to instances in the subnet at launch. An - instance hostname is based on the IPv4 address or ID of the instance. - """ - block_public_access_states: BlockPublicAccessStates | None = ... - """The state of VPC Block Public Access (BPA).""" - type: str | None = ... - """ - Indicates if this is a subnet used with Amazon Elastic VMware Service - (EVS). Possible values are `Elastic VMware Service` or no value. For - more information about Amazon EVS, see [*Amazon Elastic VMware Service - API - Reference*](https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html) - . - """ - subnet_id: str | None = ... - """The ID of the subnet.""" - state: str | None = ... - """ - The current state of the subnet. - - - `failed`: The underlying infrastructure to support the subnet failed - to provision as expected. - - - `failed-insufficient-capacity`: The underlying infrastructure to - support the subnet failed to provision due to a shortage of EC2 - instance capacity. - """ - vpc_id: str | None = ... - """The ID of the VPC the subnet is in.""" - cidr_block: str | None = ... - """The IPv4 CIDR block assigned to the subnet.""" - available_ip_address_count: int | None = ... - """ - The number of unused private IPv4 addresses in the subnet. The IPv4 - addresses for any stopped instances are considered unavailable. - """ - availability_zone: str | None = ... - """The Availability Zone of the subnet.""" - default_for_az: bool | None = ... - """Indicates whether this is the default subnet for the Availability Zone.""" - map_public_ip_on_launch: bool | None = ... - """ - Indicates whether instances launched in this subnet receive a public - IPv4 address. - - Amazon Web Services charges for all public IPv4 addresses, including - public IPv4 addresses associated with running instances and Elastic IP - addresses. For more information, see the *Public IPv4 Address* tab on - the [Amazon VPC pricing page](http://aws.amazon.com/vpc/pricing/). - """ - -@dataclass(kw_only=True) -class SubnetAssociation(_SerdeShape): - """ - Describes the subnet association with the transit gateway multicast - domain. - """ - - subnet_id: str | None = ... - """The ID of the subnet.""" - state: str | None = ... - """The state of the subnet association.""" - -@dataclass(kw_only=True) -class SubnetCidrBlockState(_SerdeShape): - """Describes the state of a CIDR block.""" - - state: str | None = ... - """The state of a CIDR block.""" - status_message: str | None = ... - """A message about the status of the CIDR block, if applicable.""" - -class SubnetCidrBlockStateCode(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - FAILING = "failing" - FAILED = "failed" - -@dataclass(kw_only=True) -class SubnetCidrReservation(_SerdeShape): - """Describes a subnet CIDR reservation.""" - - subnet_cidr_reservation_id: str | None = ... - """The ID of the subnet CIDR reservation.""" - subnet_id: str | None = ... - """The ID of the subnet.""" - cidr: str | None = ... - """The CIDR that has been reserved.""" - reservation_type: str | None = ... - """The type of reservation.""" - owner_id: str | None = ... - """The ID of the account that owns the subnet CIDR reservation.""" - description: str | None = ... - """The description assigned to the subnet CIDR reservation.""" - tags: list[Tag] | None = ... - """The tags assigned to the subnet CIDR reservation.""" - -class SubnetCidrReservationType(UnknownEnumMixin, StrEnum): - PREFIX = "prefix" - EXPLICIT = "explicit" - -@dataclass(kw_only=True) -class SubnetConfiguration(_SerdeShape): - """Describes the configuration of a subnet for a VPC endpoint.""" - - subnet_id: str | None = ... - """The ID of the subnet.""" - ipv4: str | None = ... - """ - The IPv4 address to assign to the endpoint network interface in the - subnet. You must provide an IPv4 address if the VPC endpoint supports - IPv4. - - If you specify an IPv4 address when modifying a VPC endpoint, we replace - the existing endpoint network interface with a new endpoint network - interface with this IP address. This process temporarily disconnects the - subnet and the VPC endpoint. - """ - ipv6: str | None = ... - """ - The IPv6 address to assign to the endpoint network interface in the - subnet. You must provide an IPv6 address if the VPC endpoint supports - IPv6. - - If you specify an IPv6 address when modifying a VPC endpoint, we replace - the existing endpoint network interface with a new endpoint network - interface with this IP address. This process temporarily disconnects the - subnet and the VPC endpoint. - """ - -@dataclass(kw_only=True) -class SubnetIpPrefixes(_SerdeShape): - """Prefixes of the subnet IP.""" - - subnet_id: str | None = ... - """ID of the subnet.""" - ip_prefixes: list[str] | None = ... - """Array of SubnetIpPrefixes objects.""" - -@dataclass(kw_only=True) -class SubnetIpv6CidrBlockAssociation(_SerdeShape): - """Describes an association between a subnet and an IPv6 CIDR block.""" - - association_id: str | None = ... - """The ID of the association.""" - ipv6_cidr_block: str | None = ... - """The IPv6 CIDR block.""" - ipv6_cidr_block_state: SubnetCidrBlockState | None = ... - """The state of the CIDR block.""" - ipv6_address_attribute: str | None = ... - """ - Public IPv6 addresses are those advertised on the internet from Amazon - Web Services. Private IP addresses are not and cannot be advertised on - the internet from Amazon Web Services. - """ - ip_source: str | None = ... - """ - The source that allocated the IP address space. `byoip` or `amazon` - indicates public IP address space allocated by Amazon or space that you - have allocated with Bring your own IP (BYOIP). `none` indicates private - space. - """ - -class SubnetState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - UNAVAILABLE = "unavailable" - FAILED = "failed" - FAILED_INSUFFICIENT_CAPACITY = "failed-insufficient-capacity" - -@dataclass(kw_only=True) -class Subscription(_SerdeShape): - """Describes an Infrastructure Performance subscription.""" - - source: str | None = ... - """ - The Region or Availability Zone that's the source for the subscription. - For example, `us-east-1`. - """ - destination: str | None = ... - """ - The Region or Availability Zone that's the target for the subscription. - For example, `eu-west-1`. - """ - metric: str | None = ... - """The metric used for the subscription.""" - statistic: str | None = ... - """The statistic used for the subscription.""" - period: str | None = ... - """The data aggregation time for the subscription.""" - -@dataclass(kw_only=True) -class SuccessfulAssociationResponseObject(_SerdeShape): - """Describes a successful application status check association.""" - - application_status_check_id: str | None = ... - """The ID of the application status check.""" - association_type: str | None = ... - """The type of association. Valid values: `EC2TAG` and `INSTANCE_ID`.""" - association_value: str | None = ... - """ - The association value. For `EC2TAG`, the value is formatted as - `key=value`. For `INSTANCE_ID`, the value is the instance ID. - """ - -@dataclass(kw_only=True) -class SuccessfulInstanceCreditSpecificationItem(_SerdeShape): - """ - Describes the burstable performance instance whose credit option for CPU - usage was successfully modified. - """ - - instance_id: str | None = ... - """The ID of the instance.""" - -@dataclass(kw_only=True) -class SuccessfulQueuedPurchaseDeletion(_SerdeShape): - """ - Describes a Reserved Instance whose queued purchase was successfully - deleted. - """ - - reserved_instances_id: str | None = ... - """The ID of the Reserved Instance.""" - -@dataclass(kw_only=True) -class SuccessfulSuppressionResponseObject(_SerdeShape): - """Describes a successful application status check suppression.""" - - instance_id: str | None = ... - """The ID of the instance.""" - suppress_at: datetime | None = ... - """The date and time when suppression started.""" - resume_at: datetime | None = ... - """The date and time when suppression ends and health checks resume.""" - -class SummaryStatus(UnknownEnumMixin, StrEnum): - OK = "ok" - IMPAIRED = "impaired" - INSUFFICIENT_DATA = "insufficient-data" - NOT_APPLICABLE = "not-applicable" - INITIALIZING = "initializing" - -class SupportabilityMarketType(UnknownEnumMixin, StrEnum): - ON_DEMAND = "on-demand" - SPOT = "spot" - -class SupportabilityScore(UnknownEnumMixin, StrEnum): - HIGH = "high" - MEDIUM = "medium" - LOW = "low" - UNSUPPORTED = "unsupported" - -class SupportedAdditionalProcessorFeature(UnknownEnumMixin, StrEnum): - AMD_SEV_SNP = "amd-sev-snp" - NESTED_VIRTUALIZATION = "nested-virtualization" - -@dataclass(kw_only=True) -class SupportedRegionDetail(_SerdeShape): - """Describes a supported Region.""" - - region: str | None = ... - """The Region code.""" - service_state: str | None = ... - """ - The service state. The possible values are `Pending`, `Available`, - `Deleting`, `Deleted`, `Failed`, and `Closed`. - """ - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """Describes a tag.""" - - key: str | None = ... - """ - The key of the tag. - - Constraints: Tag keys are case-sensitive and accept a maximum of 127 - Unicode characters. May not begin with `aws:`. - """ - value: str | None = ... - """ - The value of the tag. - - Constraints: Tag values are case-sensitive and accept a maximum of 256 - Unicode characters. - """ - -@dataclass(kw_only=True) -class TagDescription(_SerdeShape): - """Describes a tag.""" - - key: str | None = ... - """The tag key.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """The resource type.""" - value: str | None = ... - """The tag value.""" - -@dataclass(kw_only=True) -class TagFieldSpecificationRequest(_SerdeShape): - """ - A single resource's tag configuration associated with the Flow Logs - Amazon EC2 Tags feature fields in your custom log format. - """ - - resource_type: str | None = ... - """ - The resource type for the tag keys associated with the Flow Logs Amazon - EC2 Tags feature fields in your custom log format. - """ - tag_keys: list[str] | None = ... - """ - The tag keys on your tagged resources to be displayed by the Flow Logs - Amazon EC2 Tags feature fields in your custom log format. - """ - -@dataclass(kw_only=True) -class TagFieldSpecificationResponse(_SerdeShape): - """ - A single resource's tag configuration associated with the Flow Logs - Amazon EC2 Tags feature fields in your custom log format. - """ - - resource_type: str | None = ... - """ - The resource type for the tag keys associated with the Flow Logs Amazon - EC2 Tags feature fields in your custom log format. - """ - tag_keys: list[str] | None = ... - """ - The tag keys on your tagged resources to be displayed by the Flow Logs - Amazon EC2 Tags feature fields in your custom log format. - """ - -class TaggableResourceType(UnknownEnumMixin, StrEnum): - NETWORK_INTERFACE = "network-interface" - INSTANCE = "instance" - AUTO_SCALING_GROUP = "auto-scaling-group" - -@dataclass(kw_only=True) -class TagSpecification(_SerdeShape): - """ - The tags to apply to a resource when the resource is being created. When - you specify a tag, you must specify the resource type to tag, otherwise - the request will fail. - - Note: - The `Valid Values` lists all the resource types that can be tagged. - However, the action you're using might not support tagging all of these - resource types. If you try to tag a resource type that is unsupported - for the action you're using, you'll get an error. - """ - - resource_type: str | None = ... - """The type of resource to tag on creation.""" - tags: list[Tag] | None = ... - """The tags to apply to the resource.""" - -@dataclass(kw_only=True) -class TargetCapacitySpecification(_SerdeShape): - """ - The number of units to request. You can choose to set the target - capacity in terms of instances or a performance characteristic that is - important to your application workload, such as vCPUs, memory, or I/O. - If the request type is `maintain`, you can specify a target capacity of - 0 and add capacity later. - - You can use the On-Demand Instance `MaxTotalPrice` parameter, the Spot - Instance `MaxTotalPrice`, or both to ensure that your fleet cost does - not exceed your budget. If you set a maximum price per hour for the - On-Demand Instances and Spot Instances in your request, EC2 Fleet will - launch instances until it reaches the maximum amount that you're - willing to pay. When the maximum amount you're willing to pay is - reached, the fleet stops launching instances even if it hasn't met the - target capacity. The `MaxTotalPrice` parameters are located in - [OnDemandOptions](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptions.html) - and - [SpotOptions](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions). - """ - - total_target_capacity: int | None = ... - """The number of units to request, filled the default target capacity type.""" - on_demand_target_capacity: int | None = ... - """ - The number of On-Demand units to request. If you specify a target - capacity for Spot units, you cannot specify a target capacity for - On-Demand units. - """ - spot_target_capacity: int | None = ... - """ - The maximum number of Spot units to launch. If you specify a target - capacity for On-Demand units, you cannot specify a target capacity for - Spot units. - """ - default_target_capacity_type: str | None = ... - """The default target capacity type.""" - target_capacity_unit_type: str | None = ... - """The unit for the target capacity.""" - -@dataclass(kw_only=True) -class TargetCapacitySpecificationRequest(_SerdeShape): - """ - The number of units to request. You can choose to set the target - capacity as the number of instances. Or you can set the target capacity - to a performance characteristic that is important to your application - workload, such as vCPUs, memory, or I/O. If the request type is - `maintain`, you can specify a target capacity of 0 and add capacity - later. - - You can use the On-Demand Instance `MaxTotalPrice` parameter, the Spot - Instance `MaxTotalPrice` parameter, or both parameters to ensure that - your fleet cost does not exceed your budget. If you set a maximum price - per hour for the On-Demand Instances and Spot Instances in your request, - EC2 Fleet will launch instances until it reaches the maximum amount that - you're willing to pay. When the maximum amount you're willing to pay - is reached, the fleet stops launching instances even if it hasn't met - the target capacity. The `MaxTotalPrice` parameters are located in - [OnDemandOptionsRequest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_OnDemandOptionsRequest) - and - [SpotOptionsRequest](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptionsRequest). - """ - - total_target_capacity: int | None = ... - """ - The number of units to request, filled using the default target capacity - type. - """ - on_demand_target_capacity: int | None = ... - """The number of On-Demand units to request.""" - spot_target_capacity: int | None = ... - """The number of Spot units to request.""" - default_target_capacity_type: str | None = ... - """The default target capacity type.""" - target_capacity_unit_type: str | None = ... - """ - The unit for the target capacity. You can specify this parameter only - when using attributed-based instance type selection. - - Default: `units` (the number of instances) - """ - -class TargetCapacityUnitType(UnknownEnumMixin, StrEnum): - VCPU = "vcpu" - MEMORY_MIB = "memory-mib" - UNITS = "units" - -@dataclass(kw_only=True) -class TargetConfiguration(_SerdeShape): - """Information about the Convertible Reserved Instance offering.""" - - instance_count: int | None = ... - """ - The number of instances the Convertible Reserved Instance offering can - be applied to. This parameter is reserved and cannot be specified in a - request - """ - offering_id: str | None = ... - """The ID of the Convertible Reserved Instance offering.""" - -@dataclass(kw_only=True) -class TargetConfigurationRequest(_SerdeShape): - """Details about the target configuration.""" - - instance_count: int | None = ... - """ - The number of instances the Convertible Reserved Instance offering can - be applied to. This parameter is reserved and cannot be specified in a - request - """ - offering_id: str | None = ... - """The Convertible Reserved Instance offering ID.""" - -@dataclass(kw_only=True) -class TargetGroup(_SerdeShape): - """Describes a load balancer target group.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the target group.""" - -@dataclass(kw_only=True) -class TargetGroupsConfig(_SerdeShape): - """ - Describes the target groups to attach to a Spot Fleet. Spot Fleet - registers the running Spot Instances with these target groups. - """ - - target_groups: list[TargetGroup] | None = ... - """One or more target groups.""" - -@dataclass(kw_only=True) -class TargetNetwork(_SerdeShape): - """Describes a target network associated with a Client VPN endpoint.""" - - association_id: str | None = ... - """The ID of the association.""" - vpc_id: str | None = ... - """The ID of the VPC in which the target network (subnet) is located.""" - target_network_id: str | None = ... - """The ID of the subnet specified as the target network.""" - client_vpn_endpoint_id: str | None = ... - """ - The ID of the Client VPN endpoint with which the target network is - associated. - """ - status: AssociationStatus | None = ... - """The current state of the target network association.""" - security_groups: list[str] | None = ... - """ - The IDs of the security groups applied to the target network - association. - """ - availability_zones: list[str] | None = ... - """ - The Availability Zone names for the target network association, if the - Client VPN endpoint uses a Transit Gateway. - """ - availability_zone_ids: list[str] | None = ... - """ - The Availability Zone IDs for the target network association, if the - Client VPN endpoint uses a Transit Gateway. - """ - -@dataclass(kw_only=True) -class TargetReservationValue(_SerdeShape): - """The total value of the new Convertible Reserved Instances.""" - - reservation_value: ReservationValue | None = ... - """ - The total value of the Convertible Reserved Instances that make up the - exchange. This is the sum of the list value, remaining upfront price, - and additional upfront cost of the exchange. - """ - target_configuration: TargetConfiguration | None = ... - """ - The configuration of the Convertible Reserved Instances that make up the - exchange. - """ - -class TargetStorageTier(UnknownEnumMixin, StrEnum): - ARCHIVE = "archive" - -class TelemetryStatus(UnknownEnumMixin, StrEnum): - UP = "UP" - DOWN = "DOWN" - -class Tenancy(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - DEDICATED = "dedicated" - HOST = "host" - -@dataclass(kw_only=True) -class TerminateClientVpnConnectionsInput(_SerdeShape): - """Dataclass for TerminateClientVpnConnectionsInput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint to which the client is connected.""" - connection_id: str | None = ... - """The ID of the client connection to be terminated.""" - username: str | None = ... - """ - The name of the user who initiated the connection. Use this option to - terminate all active connections for the specified user. This option can - only be used if the user has established up to five connections. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class TerminateClientVpnConnectionsOutput(_SerdeShape): - """Dataclass for TerminateClientVpnConnectionsOutput structure.""" - - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - username: str | None = ... - """The user who established the terminated client connections.""" - connection_statuses: list[TerminateConnectionStatus] | None = ... - """The current state of the client connections.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TerminateConnectionStatus(_SerdeShape): - """Information about a terminated Client VPN endpoint client connection.""" - - connection_id: str | None = ... - """The ID of the client connection.""" - previous_status: ClientVpnConnectionStatus | None = ... - """The state of the client connection.""" - current_status: ClientVpnConnectionStatus | None = ... - """A message about the status of the client connection, if applicable.""" - -@dataclass(kw_only=True) -class TerminateInstancesInput(_SerdeShape): - """Dataclass for TerminateInstancesInput structure.""" - - instance_ids: list[str] | None = ... - """ - The IDs of the instances. - - Constraints: Up to 1000 instance IDs. We recommend breaking up this - request into smaller batches. - """ - force: bool | None = ... - """ - Forces the instances to terminate. The instance will first attempt a - graceful shutdown, which includes flushing file system caches and - metadata. If the graceful shutdown fails to complete within the timeout - period, the instance shuts down forcibly without flushing the file - system caches and metadata. - """ - skip_os_shutdown: bool | None = ... - """ - Specifies whether to bypass the graceful OS shutdown process when the - instance is terminated. - - Default: `false` - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class TerminateInstancesOutput(_SerdeShape): - """Dataclass for TerminateInstancesOutput structure.""" - - terminating_instances: list[InstanceStateChange] | None = ... - """Information about the terminated instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ThroughResourcesStatement(_SerdeShape): - """Describes a through resource statement.""" - - resource_statement: ResourceStatement | None = ... - """The resource statement.""" - -@dataclass(kw_only=True) -class ThroughResourcesStatementRequest(_SerdeShape): - """Describes a through resource statement.""" - - resource_statement: ResourceStatementRequest | None = ... - """The resource statement.""" - -class TieringOperationStatus(UnknownEnumMixin, StrEnum): - ARCHIVAL_IN_PROGRESS = "archival-in-progress" - ARCHIVAL_COMPLETED = "archival-completed" - ARCHIVAL_FAILED = "archival-failed" - TEMPORARY_RESTORE_IN_PROGRESS = "temporary-restore-in-progress" - TEMPORARY_RESTORE_COMPLETED = "temporary-restore-completed" - TEMPORARY_RESTORE_FAILED = "temporary-restore-failed" - PERMANENT_RESTORE_IN_PROGRESS = "permanent-restore-in-progress" - PERMANENT_RESTORE_COMPLETED = "permanent-restore-completed" - PERMANENT_RESTORE_FAILED = "permanent-restore-failed" - -class TokenState(UnknownEnumMixin, StrEnum): - VALID = "valid" - EXPIRED = "expired" - -@dataclass(kw_only=True) -class TotalLocalStorageGB(_SerdeShape): - """The minimum and maximum amount of total local storage, in GB.""" - - min: float | None = ... - """ - The minimum amount of total local storage, in GB. If this parameter is - not specified, there is no minimum limit. - """ - max: float | None = ... - """ - The maximum amount of total local storage, in GB. If this parameter is - not specified, there is no maximum limit. - """ - -@dataclass(kw_only=True) -class TotalLocalStorageGBRequest(_SerdeShape): - """The minimum and maximum amount of total local storage, in GB.""" - - min: float | None = ... - """ - The minimum amount of total local storage, in GB. To specify no minimum - limit, omit this parameter. - """ - max: float | None = ... - """ - The maximum amount of total local storage, in GB. To specify no maximum - limit, omit this parameter. - """ - -class TpmSupportValues(UnknownEnumMixin, StrEnum): - V2_0 = "v2.0" - -class TrafficDirection(UnknownEnumMixin, StrEnum): - INGRESS = "ingress" - EGRESS = "egress" - -class TrafficIpAddressType(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - IPV6 = "ipv6" - DUAL_STACK = "dual-stack" - -@dataclass(kw_only=True) -class TrafficMirrorFilter(_SerdeShape): - """Describes the Traffic Mirror filter.""" - - traffic_mirror_filter_id: str | None = ... - """The ID of the Traffic Mirror filter.""" - ingress_filter_rules: list[TrafficMirrorFilterRule] | None = ... - """ - Information about the ingress rules that are associated with the Traffic - Mirror filter. - """ - egress_filter_rules: list[TrafficMirrorFilterRule] | None = ... - """ - Information about the egress rules that are associated with the Traffic - Mirror filter. - """ - network_services: list[str] | None = ... - """ - The network service traffic that is associated with the Traffic Mirror - filter. - """ - description: str | None = ... - """The description of the Traffic Mirror filter.""" - tags: list[Tag] | None = ... - """The tags assigned to the Traffic Mirror filter.""" - -@dataclass(kw_only=True) -class TrafficMirrorFilterRule(_SerdeShape): - """Describes the Traffic Mirror rule.""" - - traffic_mirror_filter_rule_id: str | None = ... - """The ID of the Traffic Mirror rule.""" - traffic_mirror_filter_id: str | None = ... - """The ID of the Traffic Mirror filter that the rule is associated with.""" - traffic_direction: str | None = ... - """The traffic direction assigned to the Traffic Mirror rule.""" - rule_number: int | None = ... - """The rule number of the Traffic Mirror rule.""" - rule_action: str | None = ... - """The action assigned to the Traffic Mirror rule.""" - protocol: int | None = ... - """The protocol assigned to the Traffic Mirror rule.""" - destination_port_range: TrafficMirrorPortRange | None = ... - """The destination port range assigned to the Traffic Mirror rule.""" - source_port_range: TrafficMirrorPortRange | None = ... - """The source port range assigned to the Traffic Mirror rule.""" - destination_cidr_block: str | None = ... - """The destination CIDR block assigned to the Traffic Mirror rule.""" - source_cidr_block: str | None = ... - """The source CIDR block assigned to the Traffic Mirror rule.""" - description: str | None = ... - """The description of the Traffic Mirror rule.""" - tags: list[Tag] | None = ... - """Tags on Traffic Mirroring filter rules.""" - -class TrafficMirrorFilterRuleField(UnknownEnumMixin, StrEnum): - DESTINATION_PORT_RANGE = "destination-port-range" - SOURCE_PORT_RANGE = "source-port-range" - PROTOCOL = "protocol" - DESCRIPTION = "description" - -class TrafficMirrorNetworkService(UnknownEnumMixin, StrEnum): - AMAZON_DNS = "amazon-dns" - -@dataclass(kw_only=True) -class TrafficMirrorPortRange(_SerdeShape): - """Describes the Traffic Mirror port range.""" - - from_port: int | None = ... - """ - The start of the Traffic Mirror port range. This applies to the TCP and - UDP protocols. - """ - to_port: int | None = ... - """ - The end of the Traffic Mirror port range. This applies to the TCP and - UDP protocols. - """ - -@dataclass(kw_only=True) -class TrafficMirrorPortRangeRequest(_SerdeShape): - """Information about the Traffic Mirror filter rule port range.""" - - from_port: int | None = ... - """ - The first port in the Traffic Mirror port range. This applies to the TCP - and UDP protocols. - """ - to_port: int | None = ... - """ - The last port in the Traffic Mirror port range. This applies to the TCP - and UDP protocols. - """ - -class TrafficMirrorRuleAction(UnknownEnumMixin, StrEnum): - ACCEPT = "accept" - REJECT = "reject" - -@dataclass(kw_only=True) -class TrafficMirrorSession(_SerdeShape): - """Describes a Traffic Mirror session.""" - - traffic_mirror_session_id: str | None = ... - """The ID for the Traffic Mirror session.""" - traffic_mirror_target_id: str | None = ... - """The ID of the Traffic Mirror target.""" - traffic_mirror_filter_id: str | None = ... - """The ID of the Traffic Mirror filter.""" - network_interface_id: str | None = ... - """The ID of the Traffic Mirror session's network interface.""" - owner_id: str | None = ... - """The ID of the account that owns the Traffic Mirror session.""" - packet_length: int | None = ... - """ - The number of bytes in each packet to mirror. These are the bytes after - the VXLAN header. To mirror a subset, set this to the length (in bytes) - to mirror. For example, if you set this value to 100, then the first 100 - bytes that meet the filter criteria are copied to the target. Do not - specify this parameter when you want to mirror the entire packet - """ - session_number: int | None = ... - """ - The session number determines the order in which sessions are evaluated - when an interface is used by multiple sessions. The first session with a - matching filter is the one that mirrors the packets. - - Valid values are 1-32766. - """ - virtual_network_id: int | None = ... - """The virtual network ID associated with the Traffic Mirror session.""" - description: str | None = ... - """The description of the Traffic Mirror session.""" - tags: list[Tag] | None = ... - """The tags assigned to the Traffic Mirror session.""" - -class TrafficMirrorSessionField(UnknownEnumMixin, StrEnum): - PACKET_LENGTH = "packet-length" - DESCRIPTION = "description" - VIRTUAL_NETWORK_ID = "virtual-network-id" - -@dataclass(kw_only=True) -class TrafficMirrorTarget(_SerdeShape): - """Describes a Traffic Mirror target.""" - - traffic_mirror_target_id: str | None = ... - """The ID of the Traffic Mirror target.""" - network_interface_id: str | None = ... - """The network interface ID that is attached to the target.""" - network_load_balancer_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Network Load Balancer.""" - type: str | None = ... - """The type of Traffic Mirror target.""" - description: str | None = ... - """Information about the Traffic Mirror target.""" - owner_id: str | None = ... - """The ID of the account that owns the Traffic Mirror target.""" - tags: list[Tag] | None = ... - """The tags assigned to the Traffic Mirror target.""" - gateway_load_balancer_endpoint_id: str | None = ... - """The ID of the Gateway Load Balancer endpoint.""" - -class TrafficMirrorTargetType(UnknownEnumMixin, StrEnum): - NETWORK_INTERFACE = "network-interface" - NETWORK_LOAD_BALANCER = "network-load-balancer" - GATEWAY_LOAD_BALANCER_ENDPOINT = "gateway-load-balancer-endpoint" - -class TrafficType(UnknownEnumMixin, StrEnum): - ACCEPT = "ACCEPT" - REJECT = "REJECT" - ALL = "ALL" - -class TransferType(UnknownEnumMixin, StrEnum): - TIME_BASED = "time-based" - STANDARD = "standard" - -@dataclass(kw_only=True) -class TransitGateway(_SerdeShape): - """Describes a transit gateway.""" - - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - transit_gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the transit gateway.""" - state: str | None = ... - """The state of the transit gateway.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the transit gateway.""" - description: str | None = ... - """The description of the transit gateway.""" - creation_time: datetime | None = ... - """The creation time.""" - options: TransitGatewayOptions | None = ... - """The transit gateway options.""" - tags: list[Tag] | None = ... - """The tags for the transit gateway.""" - -@dataclass(kw_only=True) -class TransitGatewayAssociation(_SerdeShape): - """ - Describes an association between a resource attachment and a transit - gateway route table. - """ - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """ - The resource type. Note that the `tgw-peering` resource type has been - deprecated. - """ - state: str | None = ... - """The state of the association.""" - -class TransitGatewayAssociationState(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - -@dataclass(kw_only=True) -class TransitGatewayAttachment(_SerdeShape): - """Describes an attachment between a resource and a transit gateway.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - transit_gateway_owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the transit gateway.""" - resource_owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the resource.""" - resource_type: str | None = ... - """ - The resource type. Note that the `tgw-peering` resource type has been - deprecated. - """ - resource_id: str | None = ... - """The ID of the resource.""" - state: str | None = ... - """ - The attachment state. Note that the `initiating` state has been - deprecated. - """ - association: TransitGatewayAttachmentAssociation | None = ... - """The association.""" - creation_time: datetime | None = ... - """The creation time.""" - tags: list[Tag] | None = ... - """The tags for the attachment.""" - nat_gateway_support: str | None = ... - """ - The state of NAT gateway support for the attachment. Only the owner of - the transit gateway receives this parameter. - """ - -@dataclass(kw_only=True) -class TransitGatewayAttachmentAssociation(_SerdeShape): - """Describes an association.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the route table for the transit gateway.""" - transit_gateway_policy_table_id: str | None = ... - """ - The ID of the transit gateway policy table associated with the - attachment. - """ - state: str | None = ... - """The state of the association.""" - -@dataclass(kw_only=True) -class TransitGatewayAttachmentBgpConfiguration(_SerdeShape): - """The BGP configuration information.""" - - transit_gateway_asn: int | None = ... - """The transit gateway Autonomous System Number (ASN).""" - peer_asn: int | None = ... - """The peer Autonomous System Number (ASN).""" - transit_gateway_address: str | None = ... - """The interior BGP peer IP address for the transit gateway.""" - peer_address: str | None = ... - """The interior BGP peer IP address for the appliance.""" - bgp_status: str | None = ... - """The BGP status.""" - -class TransitGatewayAttachmentNatGatewaySupportState(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - ENABLING = "enabling" - DISABLING = "disabling" - -class TransitGatewayAttachmentNatGatewaySupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class TransitGatewayAttachmentNatSystemRouteSupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -@dataclass(kw_only=True) -class TransitGatewayAttachmentPropagation(_SerdeShape): - """Describes a propagation route table.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the propagation route table.""" - state: str | None = ... - """The state of the propagation route table.""" - -class TransitGatewayAttachmentResourceType(UnknownEnumMixin, StrEnum): - VPC = "vpc" - VPN = "vpn" - VPN_CONCENTRATOR = "vpn-concentrator" - DIRECT_CONNECT_GATEWAY = "direct-connect-gateway" - CONNECT = "connect" - PEERING = "peering" - TGW_PEERING = "tgw-peering" - NETWORK_FUNCTION = "network-function" - CLIENT_VPN = "client-vpn" - -class TransitGatewayAttachmentState(UnknownEnumMixin, StrEnum): - INITIATING = "initiating" - INITIATING_REQUEST = "initiatingRequest" - PENDING_ACCEPTANCE = "pendingAcceptance" - ROLLING_BACK = "rollingBack" - PENDING = "pending" - AVAILABLE = "available" - MODIFYING = "modifying" - DELETING = "deleting" - DELETED = "deleted" - FAILED = "failed" - REJECTED = "rejected" - REJECTING = "rejecting" - FAILING = "failing" - -class TransitGatewayAttachmentStatusType(UnknownEnumMixin, StrEnum): - PENDING_ACCEPTANCE = "pending-acceptance" - PENDING = "pending" - REJECTED = "rejected" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class TransitGatewayClientVpnAttachment(_SerdeShape): - """Describes a Transit Gateway attachment for a Client VPN endpoint.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the Transit Gateway attachment.""" - transit_gateway_id: str | None = ... - """The ID of the Transit Gateway.""" - client_vpn_endpoint_id: str | None = ... - """The ID of the Client VPN endpoint.""" - client_vpn_owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the Client VPN - endpoint. - """ - state: str | None = ... - """The state of the Transit Gateway attachment.""" - creation_time: str | None = ... - """The date and time the Transit Gateway attachment was created.""" - -@dataclass(kw_only=True) -class TransitGatewayConfigurationDescribeEndpointStructure(_SerdeShape): - """Describes the Transit Gateway configuration for a Client VPN endpoint.""" - - transit_gateway_id: str | None = ... - """The ID of the Transit Gateway.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the Transit Gateway attachment.""" - availability_zones: list[str] | None = ... - """The Availability Zone names for the Transit Gateway association.""" - availability_zone_ids: list[str] | None = ... - """The Availability Zone IDs for the Transit Gateway association.""" - -@dataclass(kw_only=True) -class TransitGatewayConfigurationInputStructure(_SerdeShape): - """The Transit Gateway configuration for a Client VPN endpoint.""" - - transit_gateway_id: str | None = ... - """The ID of the Transit Gateway to associate with the Client VPN endpoint.""" - availability_zones: list[str] | None = ... - """ - The Availability Zone names for the Transit Gateway association. You can - specify up to the maximum number of Availability Zones supported by the - Transit Gateway. You cannot specify both `AvailabilityZones` and - `AvailabilityZoneIds`. - """ - availability_zone_ids: list[str] | None = ... - """ - The Availability Zone IDs for the Transit Gateway association. You can - specify up to the maximum number of Availability Zones supported by the - Transit Gateway. You cannot specify both `AvailabilityZones` and - `AvailabilityZoneIds`. - """ - -@dataclass(kw_only=True) -class TransitGatewayConnect(_SerdeShape): - """Describes a transit gateway Connect attachment.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the Connect attachment.""" - transport_transit_gateway_attachment_id: str | None = ... - """The ID of the attachment from which the Connect attachment was created.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - state: str | None = ... - """The state of the attachment.""" - creation_time: datetime | None = ... - """The creation time.""" - options: TransitGatewayConnectOptions | None = ... - """The Connect attachment options.""" - tags: list[Tag] | None = ... - """The tags for the attachment.""" - -@dataclass(kw_only=True) -class TransitGatewayConnectOptions(_SerdeShape): - """Describes the Connect attachment options.""" - - protocol: str | None = ... - """The tunnel protocol.""" - -@dataclass(kw_only=True) -class TransitGatewayConnectPeer(_SerdeShape): - """Describes a transit gateway Connect peer.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the Connect attachment.""" - transit_gateway_connect_peer_id: str | None = ... - """The ID of the Connect peer.""" - state: str | None = ... - """The state of the Connect peer.""" - creation_time: datetime | None = ... - """The creation time.""" - connect_peer_configuration: TransitGatewayConnectPeerConfiguration | None = ... - """The Connect peer details.""" - tags: list[Tag] | None = ... - """The tags for the Connect peer.""" - -@dataclass(kw_only=True) -class TransitGatewayConnectPeerConfiguration(_SerdeShape): - """Describes the Connect peer details.""" - - transit_gateway_address: str | None = ... - """The Connect peer IP address on the transit gateway side of the tunnel.""" - peer_address: str | None = ... - """The Connect peer IP address on the appliance side of the tunnel.""" - inside_cidr_blocks: list[str] | None = ... - """The range of interior BGP peer IP addresses.""" - protocol: str | None = ... - """The tunnel protocol.""" - bgp_configurations: list[TransitGatewayAttachmentBgpConfiguration] | None = ... - """The BGP configuration details.""" - -class TransitGatewayConnectPeerState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class TransitGatewayConnectRequestBgpOptions(_SerdeShape): - """The BGP options for the Connect attachment.""" - - peer_asn: int | None = ... - """The peer Autonomous System Number (ASN).""" - -class TransitGatewayMeteringPayerType(UnknownEnumMixin, StrEnum): - SOURCE_ATTACHMENT_OWNER = "source-attachment-owner" - DESTINATION_ATTACHMENT_OWNER = "destination-attachment-owner" - TRANSIT_GATEWAY_OWNER = "transit-gateway-owner" - -@dataclass(kw_only=True) -class TransitGatewayMeteringPolicy(_SerdeShape): - """Describes a transit gateway metering policy.""" - - transit_gateway_metering_policy_id: str | None = ... - """The ID of the transit gateway metering policy.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway associated with the metering policy.""" - middlebox_attachment_ids: list[str] | None = ... - """ - The IDs of the middlebox attachments associated with the metering - policy. - """ - state: str | None = ... - """The state of the transit gateway metering policy.""" - update_effective_at: datetime | None = ... - """The date and time when the metering policy update becomes effective.""" - tags: list[Tag] | None = ... - """The tags assigned to the transit gateway metering policy.""" - -@dataclass(kw_only=True) -class TransitGatewayMeteringPolicyEntry(_SerdeShape): - """Describes an entry in a transit gateway metering policy.""" - - policy_rule_number: str | None = ... - """The rule number of the metering policy entry.""" - metered_account: str | None = ... - """ - The Amazon Web Services account ID to which the metered traffic is - attributed. - """ - state: str | None = ... - """The state of the metering policy entry.""" - updated_at: datetime | None = ... - """The date and time when the metering policy entry was last updated.""" - update_effective_at: datetime | None = ... - """ - The date and time when the metering policy entry update becomes - effective. - """ - metering_policy_rule: TransitGatewayMeteringPolicyRule | None = ... - """The metering policy rule that defines traffic matching criteria.""" - -class TransitGatewayMeteringPolicyEntryState(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - DELETED = "deleted" - -@dataclass(kw_only=True) -class TransitGatewayMeteringPolicyRule(_SerdeShape): - """ - Describes the traffic matching criteria for a transit gateway metering - policy rule. - """ - - source_transit_gateway_attachment_id: str | None = ... - """The ID of the source transit gateway attachment.""" - source_transit_gateway_attachment_type: str | None = ... - """ - The type of the source transit gateway attachment. Note that the - `tgw-peering` resource type has been deprecated. To configure metering - policies for Connect, use the transport attachment type. - """ - source_cidr_block: str | None = ... - """The source CIDR block for the rule.""" - source_port_range: str | None = ... - """The source port range for the rule.""" - destination_transit_gateway_attachment_id: str | None = ... - """The ID of the destination transit gateway attachment.""" - destination_transit_gateway_attachment_type: str | None = ... - """ - The type of the destination transit gateway attachment. Note that the - `tgw-peering` resource type has been deprecated. To configure metering - policies for Connect, use the transport attachment type. - """ - destination_cidr_block: str | None = ... - """The destination CIDR block for the rule.""" - destination_port_range: str | None = ... - """The destination port range for the rule.""" - protocol: str | None = ... - """The protocol for the rule (1, 6, 17, etc.).""" - -class TransitGatewayMeteringPolicyState(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - DELETED = "deleted" - PENDING = "pending" - MODIFYING = "modifying" - DELETING = "deleting" - -class TransitGatewayMulitcastDomainAssociationState(UnknownEnumMixin, StrEnum): - PENDING_ACCEPTANCE = "pendingAcceptance" - ASSOCIATING = "associating" - ASSOCIATED = "associated" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - REJECTED = "rejected" - FAILED = "failed" - -@dataclass(kw_only=True) -class TransitGatewayMulticastDeregisteredGroupMembers(_SerdeShape): - """Describes the deregistered transit gateway multicast group members.""" - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - deregistered_network_interface_ids: list[str] | None = ... - """The network interface IDs of the deregistered members.""" - group_ip_address: str | None = ... - """The IP address assigned to the transit gateway multicast group.""" - -@dataclass(kw_only=True) -class TransitGatewayMulticastDeregisteredGroupSources(_SerdeShape): - """Describes the deregistered transit gateway multicast group sources.""" - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - deregistered_network_interface_ids: list[str] | None = ... - """The network interface IDs of the non-registered members.""" - group_ip_address: str | None = ... - """The IP address assigned to the transit gateway multicast group.""" - -@dataclass(kw_only=True) -class TransitGatewayMulticastDomain(_SerdeShape): - """Describes the transit gateway multicast domain.""" - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - transit_gateway_multicast_domain_arn: str | None = ... - """The Amazon Resource Name (ARN) of the transit gateway multicast domain.""" - owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the transit gateway - multicast domain. - """ - options: TransitGatewayMulticastDomainOptions | None = ... - """The options for the transit gateway multicast domain.""" - state: str | None = ... - """The state of the transit gateway multicast domain.""" - creation_time: datetime | None = ... - """The time the transit gateway multicast domain was created.""" - tags: list[Tag] | None = ... - """The tags for the transit gateway multicast domain.""" - -@dataclass(kw_only=True) -class TransitGatewayMulticastDomainAssociation(_SerdeShape): - """ - Describes the resources associated with the transit gateway multicast - domain. - """ - - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """The type of resource, for example a VPC attachment.""" - resource_owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the transit gateway - multicast domain association resource. - """ - subnet: SubnetAssociation | None = ... - """The subnet associated with the transit gateway multicast domain.""" - -@dataclass(kw_only=True) -class TransitGatewayMulticastDomainAssociations(_SerdeShape): - """Describes the multicast domain associations.""" - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """The type of resource, for example a VPC attachment.""" - resource_owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the resource.""" - subnets: list[SubnetAssociation] | None = ... - """The subnets associated with the multicast domain.""" - -@dataclass(kw_only=True) -class TransitGatewayMulticastDomainOptions(_SerdeShape): - """Describes the options for a transit gateway multicast domain.""" - - igmpv2_support: str | None = ... - """ - Indicates whether Internet Group Management Protocol (IGMP) version 2 is - turned on for the transit gateway multicast domain. - """ - static_sources_support: str | None = ... - """ - Indicates whether support for statically configuring transit gateway - multicast group sources is turned on. - """ - auto_accept_shared_associations: str | None = ... - """ - Indicates whether to automatically cross-account subnet associations - that are associated with the transit gateway multicast domain. - """ - -class TransitGatewayMulticastDomainState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class TransitGatewayMulticastGroup(_SerdeShape): - """Describes the transit gateway multicast group resources.""" - - group_ip_address: str | None = ... - """The IP address assigned to the transit gateway multicast group.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - subnet_id: str | None = ... - """The ID of the subnet.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """The type of resource, for example a VPC attachment.""" - resource_owner_id: str | None = ... - """ - The ID of the Amazon Web Services account that owns the transit gateway - multicast domain group resource. - """ - network_interface_id: str | None = ... - """The ID of the transit gateway attachment.""" - group_member: bool | None = ... - """Indicates that the resource is a transit gateway multicast group member.""" - group_source: bool | None = ... - """Indicates that the resource is a transit gateway multicast group member.""" - member_type: str | None = ... - """The member type (for example, `static`).""" - source_type: str | None = ... - """The source type.""" - -@dataclass(kw_only=True) -class TransitGatewayMulticastRegisteredGroupMembers(_SerdeShape): - """Describes the registered transit gateway multicast group members.""" - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - registered_network_interface_ids: list[str] | None = ... - """The ID of the registered network interfaces.""" - group_ip_address: str | None = ... - """The IP address assigned to the transit gateway multicast group.""" - -@dataclass(kw_only=True) -class TransitGatewayMulticastRegisteredGroupSources(_SerdeShape): - """ - Describes the members registered with the transit gateway multicast - group. - """ - - transit_gateway_multicast_domain_id: str | None = ... - """The ID of the transit gateway multicast domain.""" - registered_network_interface_ids: list[str] | None = ... - """ - The IDs of the network interfaces members registered with the transit - gateway multicast group. - """ - group_ip_address: str | None = ... - """The IP address assigned to the transit gateway multicast group.""" - -@dataclass(kw_only=True) -class TransitGatewayNatRule(_SerdeShape): - """ - Contains information about a NAT gateway rule for a transit gateway - attachment, including the rule number, the source CIDR block, the - translated CIDR block, and the state of the rule. - """ - - rule_number: int | None = ... - """The rule number.""" - match_source_cidr: str | None = ... - """The IPv4 CIDR block of the source addresses to translate.""" - nat_cidr: str | None = ... - """ - The IPv4 CIDR block that the transit gateway translates the source - addresses to. - """ - state: str | None = ... - """ - The state of the NAT gateway rule. The possible values are: - - - `pending` - The transit gateway is applying a change to the rule. - - - `activated` - The rule is in effect because NAT gateway support is - enabled for the attachment. - - - `deactivated` - The rule isn't in effect because NAT gateway support - is disabled for the attachment. - """ - -@dataclass(kw_only=True) -class TransitGatewayNatRuleRequest(_SerdeShape): - """ - Describes a NAT gateway rule to apply to a transit gateway attachment. A - NAT gateway rule translates source addresses in the `MatchSourceCidr` - range to the corresponding addresses in the `NatCidr` range. - """ - - rule_number: int | None = ... - """ - The rule number. Valid values are 1 to 32766. Each rule number must be - unique within the request. - """ - match_source_cidr: str | None = ... - """ - The IPv4 CIDR block of the source addresses to translate. The CIDR block - can't overlap the multicast range (`224.0.0.0/4`) or the link-local - range (`169.254.0.0/16`). - """ - nat_cidr: str | None = ... - """ - The IPv4 CIDR block to translate the source addresses to. The CIDR block - must be in a private (RFC 1918) or shared address space (RFC 6598) - range, and must have the same prefix length as `MatchSourceCidr`. The - CIDR blocks in the rules for an attachment can't overlap each other. - """ - -class TransitGatewayNatRuleState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - ACTIVATED = "activated" - DEACTIVATED = "deactivated" - DELETING = "deleting" - -@dataclass(kw_only=True) -class TransitGatewayOptions(_SerdeShape): - """Describes the options for a transit gateway.""" - - amazon_side_asn: int | None = ... - """ - A private Autonomous System Number (ASN) for the Amazon side of a BGP - session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to - 4294967294 for 32-bit ASNs. - """ - transit_gateway_cidr_blocks: list[str] | None = ... - """The transit gateway CIDR blocks.""" - auto_accept_shared_attachments: str | None = ... - """Indicates whether attachment requests are automatically accepted.""" - default_route_table_association: str | None = ... - """ - Indicates whether resource attachments are automatically associated with - the default association route table. Enabled by default. Either - `defaultRouteTableAssociation` or `defaultRouteTablePropagation` must be - set to `enable` for Amazon Web Services Transit Gateway to create the - default transit gateway route table. - """ - association_default_route_table_id: str | None = ... - """The ID of the default association route table.""" - default_route_table_propagation: str | None = ... - """ - Indicates whether resource attachments automatically propagate routes to - the default propagation route table. Enabled by default. If - `defaultRouteTablePropagation` is set to `enable`, Amazon Web Services - Transit Gateway creates the default transit gateway route table. - """ - propagation_default_route_table_id: str | None = ... - """The ID of the default propagation route table.""" - vpn_ecmp_support: str | None = ... - """Indicates whether Equal Cost Multipath Protocol support is enabled.""" - dns_support: str | None = ... - """Indicates whether DNS support is enabled.""" - security_group_referencing_support: str | None = ... - """ - Enables you to reference a security group across VPCs attached to a - transit gateway to simplify security group management. - - This option is disabled by default. - """ - multicast_support: str | None = ... - """Indicates whether multicast is enabled on the transit gateway""" - encryption_support: EncryptionSupport | None = ... - """Defines if the Transit Gateway supports VPC Encryption Control.""" - -@dataclass(kw_only=True) -class TransitGatewayPeeringAttachment(_SerdeShape): - """Describes the transit gateway peering attachment.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway peering attachment.""" - accepter_transit_gateway_attachment_id: str | None = ... - """The ID of the accepter transit gateway attachment.""" - requester_tgw_info: PeeringTgwInfo | None = ... - """Information about the requester transit gateway.""" - accepter_tgw_info: PeeringTgwInfo | None = ... - """Information about the accepter transit gateway.""" - options: TransitGatewayPeeringAttachmentOptions | None = ... - """Details about the transit gateway peering attachment.""" - status: PeeringAttachmentStatus | None = ... - """The status of the transit gateway peering attachment.""" - state: str | None = ... - """ - The state of the transit gateway peering attachment. Note that the - `initiating` state has been deprecated. - """ - creation_time: datetime | None = ... - """The time the transit gateway peering attachment was created.""" - tags: list[Tag] | None = ... - """The tags for the transit gateway peering attachment.""" - -@dataclass(kw_only=True) -class TransitGatewayPeeringAttachmentOptions(_SerdeShape): - """Describes dynamic routing for the transit gateway peering attachment.""" - - dynamic_routing: str | None = ... - """ - Describes whether dynamic routing is enabled or disabled for the transit - gateway peering attachment. - """ - -@dataclass(kw_only=True) -class TransitGatewayPolicyRule(_SerdeShape): - """Describes a rule associated with a transit gateway policy.""" - - source_cidr_block: str | None = ... - """The source CIDR block for the transit gateway policy rule.""" - source_port_range: str | None = ... - """The source port or port range for the transit gateway policy rule.""" - destination_cidr_block: str | None = ... - """The destination CIDR block for the transit gateway policy rule.""" - destination_port_range: str | None = ... - """The destination port or port range for the transit gateway policy rule.""" - protocol: str | None = ... - """The protocol used by the transit gateway policy rule.""" - meta_data: TransitGatewayPolicyRuleMetaData | None = ... - """The meta data tags used for the transit gateway policy rule.""" - -@dataclass(kw_only=True) -class TransitGatewayPolicyRuleMetaData(_SerdeShape): - """ - Describes the meta data tags associated with a transit gateway policy - rule. - """ - - meta_data_key: str | None = ... - """The key name for the transit gateway policy rule meta data tag.""" - meta_data_value: str | None = ... - """The value of the key for the transit gateway policy rule meta data tag.""" - -@dataclass(kw_only=True) -class TransitGatewayPolicyTable(_SerdeShape): - """Describes a transit gateway policy table.""" - - transit_gateway_policy_table_id: str | None = ... - """The ID of the transit gateway policy table.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - state: str | None = ... - """The state of the transit gateway policy table""" - creation_time: datetime | None = ... - """The timestamp when the transit gateway policy table was created.""" - tags: list[Tag] | None = ... - """he key-value pairs associated with the transit gateway policy table.""" - -@dataclass(kw_only=True) -class TransitGatewayPolicyTableAssociation(_SerdeShape): - """Describes a transit gateway policy table association.""" - - transit_gateway_policy_table_id: str | None = ... - """The ID of the transit gateway policy table.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment.""" - resource_id: str | None = ... - """The resource ID of the transit gateway attachment.""" - resource_type: str | None = ... - """The resource type for the transit gateway policy table association.""" - state: str | None = ... - """The state of the transit gateway policy table association.""" - -@dataclass(kw_only=True) -class TransitGatewayPolicyTableEntry(_SerdeShape): - """Describes a transit gateway policy table entry""" - - policy_rule_number: str | None = ... - """The rule number for the transit gateway policy table entry.""" - policy_rule: TransitGatewayPolicyRule | None = ... - """The policy rule associated with the transit gateway policy table.""" - target_route_table_id: str | None = ... - """The ID of the target route table.""" - state: str | None = ... - """The state of the transit gateway policy table entry.""" - -class TransitGatewayPolicyTableEntryState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - DELETED = "deleted" - -class TransitGatewayPolicyTableState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class TransitGatewayPrefixListAttachment(_SerdeShape): - """Describes a transit gateway prefix list attachment.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - resource_type: str | None = ... - """ - The resource type. Note that the `tgw-peering` resource type has been - deprecated. - """ - resource_id: str | None = ... - """The ID of the resource.""" - -@dataclass(kw_only=True) -class TransitGatewayPrefixListReference(_SerdeShape): - """Describes a prefix list reference.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - prefix_list_owner_id: str | None = ... - """The ID of the prefix list owner.""" - state: str | None = ... - """The state of the prefix list reference.""" - blackhole: bool | None = ... - """Indicates whether traffic that matches this route is dropped.""" - transit_gateway_attachment: TransitGatewayPrefixListAttachment | None = ... - """Information about the transit gateway attachment.""" - -class TransitGatewayPrefixListReferenceState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - MODIFYING = "modifying" - DELETING = "deleting" - -@dataclass(kw_only=True) -class TransitGatewayPropagation(_SerdeShape): - """Describes route propagation.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """ - The resource type. Note that the `tgw-peering` resource type has been - deprecated. - """ - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - state: str | None = ... - """The state.""" - transit_gateway_route_table_announcement_id: str | None = ... - """The ID of the transit gateway route table announcement.""" - -class TransitGatewayPropagationState(UnknownEnumMixin, StrEnum): - ENABLING = "enabling" - ENABLED = "enabled" - DISABLING = "disabling" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class TransitGatewayRequestOptions(_SerdeShape): - """Describes the options for a transit gateway.""" - - amazon_side_asn: int | None = ... - """ - A private Autonomous System Number (ASN) for the Amazon side of a BGP - session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to - 4294967294 for 32-bit ASNs. The default is `64512`. - """ - auto_accept_shared_attachments: str | None = ... - """ - Enable or disable automatic acceptance of attachment requests. Disabled - by default. - """ - default_route_table_association: str | None = ... - """ - Enable or disable automatic association with the default association - route table. Enabled by default. - """ - default_route_table_propagation: str | None = ... - """ - Enable or disable automatic propagation of routes to the default - propagation route table. Enabled by default. - """ - vpn_ecmp_support: str | None = ... - """ - Enable or disable Equal Cost Multipath Protocol support. Enabled by - default. - """ - dns_support: str | None = ... - """Enable or disable DNS support. Enabled by default.""" - security_group_referencing_support: str | None = ... - """ - Enables you to reference a security group across VPCs attached to a - transit gateway to simplify security group management. - - This option is disabled by default. - - For more information about security group referencing, see [Security - group - referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) - in the *Amazon Web Services Transit Gateways Guide*. - """ - multicast_support: str | None = ... - """Indicates whether multicast is enabled on the transit gateway""" - transit_gateway_cidr_blocks: list[str] | None = ... - """ - One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a - size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or - larger for IPv6. - """ - -@dataclass(kw_only=True) -class TransitGatewayRequestPolicyRule(_SerdeShape): - """The matching criteria for a transit gateway policy table entry.""" - - source_cidr_block: str | None = ... - """The source CIDR block for the policy rule.""" - source_port_range: str | None = ... - """ - The source port or port range for the policy rule. You can specify a - port range only when `Protocol` is `6` (TCP) or `17` (UDP); for all - other protocols, this value must be `*`. - """ - destination_cidr_block: str | None = ... - """The destination CIDR block for the policy rule.""" - destination_port_range: str | None = ... - """ - The destination port or port range for the policy rule. You can specify - a port range only when `Protocol` is `6` (TCP) or `17` (UDP); for all - other protocols, this value must be `*`. - """ - protocol: str | None = ... - """ - The protocol for the policy rule. Valid values are `1` (ICMP), `6` - (TCP), `17` (UDP), `47` (GRE), or `*` for all protocols. - """ - meta_data: TransitGatewayRequestPolicyRuleMetaData | None = ... - """The metadata key-value pair for the policy rule.""" - -@dataclass(kw_only=True) -class TransitGatewayRequestPolicyRuleMetaData(_SerdeShape): - """A metadata key-value pair for a transit gateway policy rule.""" - - meta_data_key: str | None = ... - """The key of the metadata pair for the policy rule.""" - meta_data_value: str | None = ... - """The value of the metadata pair for the policy rule.""" - -@dataclass(kw_only=True) -class TransitGatewayRoute(_SerdeShape): - """Describes a route for a transit gateway route table.""" - - destination_cidr_block: str | None = ... - """The CIDR block used for destination matches.""" - prefix_list_id: str | None = ... - """The ID of the prefix list used for destination matches.""" - transit_gateway_route_table_announcement_id: str | None = ... - """The ID of the transit gateway route table announcement.""" - transit_gateway_attachments: list[TransitGatewayRouteAttachment] | None = ... - """The attachments.""" - type: str | None = ... - """The route type.""" - state: str | None = ... - """The state of the route.""" - -@dataclass(kw_only=True) -class TransitGatewayRouteAttachment(_SerdeShape): - """Describes a route attachment.""" - - resource_id: str | None = ... - """The ID of the resource.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - resource_type: str | None = ... - """ - The resource type. Note that the `tgw-peering` resource type has been - deprecated. - """ - -class TransitGatewayRouteState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - ACTIVE = "active" - BLACKHOLE = "blackhole" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class TransitGatewayRouteTable(_SerdeShape): - """Describes a transit gateway route table.""" - - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - state: str | None = ... - """The state of the transit gateway route table.""" - default_association_route_table: bool | None = ... - """ - Indicates whether this is the default association route table for the - transit gateway. - """ - default_propagation_route_table: bool | None = ... - """ - Indicates whether this is the default propagation route table for the - transit gateway. - """ - creation_time: datetime | None = ... - """The creation time.""" - tags: list[Tag] | None = ... - """Any tags assigned to the route table.""" - -@dataclass(kw_only=True) -class TransitGatewayRouteTableAnnouncement(_SerdeShape): - """Describes a transit gateway route table announcement.""" - - transit_gateway_route_table_announcement_id: str | None = ... - """The ID of the transit gateway route table announcement.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - core_network_id: str | None = ... - """ - The ID of the core network for the transit gateway route table - announcement. - """ - peer_transit_gateway_id: str | None = ... - """The ID of the peer transit gateway.""" - peer_core_network_id: str | None = ... - """The ID of the core network ID for the peer.""" - peering_attachment_id: str | None = ... - """The ID of the peering attachment.""" - announcement_direction: str | None = ... - """The direction for the route table announcement.""" - transit_gateway_route_table_id: str | None = ... - """The ID of the transit gateway route table.""" - state: str | None = ... - """The state of the transit gateway announcement.""" - creation_time: datetime | None = ... - """ - The timestamp when the transit gateway route table announcement was - created. - """ - tags: list[Tag] | None = ... - """The key-value pairs associated with the route table announcement.""" - -class TransitGatewayRouteTableAnnouncementDirection(UnknownEnumMixin, StrEnum): - OUTGOING = "outgoing" - INCOMING = "incoming" - -class TransitGatewayRouteTableAnnouncementState(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - PENDING = "pending" - FAILING = "failing" - FAILED = "failed" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class TransitGatewayRouteTableAssociation(_SerdeShape): - """ - Describes an association between a route table and a resource - attachment. - """ - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """ - The resource type. Note that the `tgw-peering` resource type has been - deprecated. - """ - state: str | None = ... - """The state of the association.""" - -@dataclass(kw_only=True) -class TransitGatewayRouteTablePropagation(_SerdeShape): - """Describes a route table propagation.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - resource_id: str | None = ... - """The ID of the resource.""" - resource_type: str | None = ... - """ - The type of resource. Note that the `tgw-peering` resource type has been - deprecated. - """ - state: str | None = ... - """The state of the resource.""" - transit_gateway_route_table_announcement_id: str | None = ... - """The ID of the transit gateway route table announcement.""" - -@dataclass(kw_only=True) -class TransitGatewayRouteTableRoute(_SerdeShape): - """Describes a route in a transit gateway route table.""" - - destination_cidr: str | None = ... - """The CIDR block used for destination matches.""" - state: str | None = ... - """The state of the route.""" - route_origin: str | None = ... - """ - The route origin. The following are the possible values: - - - static - - - propagated - """ - prefix_list_id: str | None = ... - """The ID of the prefix list.""" - attachment_id: str | None = ... - """The ID of the route attachment.""" - resource_id: str | None = ... - """The ID of the resource for the route attachment.""" - resource_type: str | None = ... - """The resource type for the route attachment.""" - -class TransitGatewayRouteTableState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -class TransitGatewayRouteType(UnknownEnumMixin, StrEnum): - STATIC = "static" - PROPAGATED = "propagated" - SYSTEM = "system" - -class TransitGatewayState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - MODIFYING = "modifying" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class TransitGatewayVpcAttachment(_SerdeShape): - """Describes a VPC attachment.""" - - transit_gateway_attachment_id: str | None = ... - """The ID of the attachment.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - vpc_owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the VPC.""" - state: str | None = ... - """ - The state of the VPC attachment. Note that the `initiating` state has - been deprecated. - """ - subnet_ids: list[str] | None = ... - """The IDs of the subnets.""" - creation_time: datetime | None = ... - """The creation time.""" - options: TransitGatewayVpcAttachmentOptions | None = ... - """The VPC attachment options.""" - tags: list[Tag] | None = ... - """The tags for the VPC attachment.""" - -@dataclass(kw_only=True) -class TransitGatewayVpcAttachmentOptions(_SerdeShape): - """Describes the VPC attachment options.""" - - dns_support: str | None = ... - """Indicates whether DNS support is enabled.""" - security_group_referencing_support: str | None = ... - """ - Enables you to reference a security group across VPCs attached to a - transit gateway to simplify security group management. - - This option is enabled by default. - - For more information about security group referencing, see [Security - group - referencing](https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security) - in the *Amazon Web Services Transit Gateways Guide*. - """ - ipv6_support: str | None = ... - """Indicates whether IPv6 support is disabled.""" - appliance_mode_support: str | None = ... - """Indicates whether appliance mode support is enabled.""" - -class TransportProtocol(UnknownEnumMixin, StrEnum): - TCP = "tcp" - UDP = "udp" - -@dataclass(kw_only=True) -class TrunkInterfaceAssociation(_SerdeShape): - """ - Information about an association between a branch network interface with - a trunk network interface. - """ - - association_id: str | None = ... - """The ID of the association.""" - branch_interface_id: str | None = ... - """The ID of the branch network interface.""" - trunk_interface_id: str | None = ... - """The ID of the trunk network interface.""" - interface_protocol: str | None = ... - """The interface protocol. Valid values are `VLAN` and `GRE`.""" - vlan_id: int | None = ... - """The ID of the VLAN when you use the VLAN protocol.""" - gre_key: int | None = ... - """The application key when you use the GRE protocol.""" - tags: list[Tag] | None = ... - """The tags for the trunk interface association.""" - -class TrustProviderType(UnknownEnumMixin, StrEnum): - USER = "user" - DEVICE = "device" - -class TunnelInsideIpVersion(UnknownEnumMixin, StrEnum): - IPV4 = "ipv4" - IPV6 = "ipv6" - -@dataclass(kw_only=True) -class TunnelOption(_SerdeShape): - """The VPN tunnel options.""" - - outside_ip_address: str | None = ... - """The external IP address of the VPN tunnel.""" - tunnel_inside_cidr: str | None = ... - """The range of inside IPv4 addresses for the tunnel.""" - tunnel_inside_ipv6_cidr: str | None = ... - """The range of inside IPv6 addresses for the tunnel.""" - pre_shared_key: str | None = ... - """ - The pre-shared key (PSK) to establish initial authentication between the - virtual private gateway and the customer gateway. - """ - phase1_lifetime_seconds: int | None = ... - """The lifetime for phase 1 of the IKE negotiation, in seconds.""" - phase2_lifetime_seconds: int | None = ... - """The lifetime for phase 2 of the IKE negotiation, in seconds.""" - rekey_margin_time_seconds: int | None = ... - """ - The margin time, in seconds, before the phase 2 lifetime expires, during - which the Amazon Web Services side of the VPN connection performs an IKE - rekey. - """ - rekey_fuzz_percentage: int | None = ... - """ - The percentage of the rekey window determined by - `RekeyMarginTimeSeconds` during which the rekey time is randomly - selected. - """ - replay_window_size: int | None = ... - """The number of packets in an IKE replay window.""" - dpd_timeout_seconds: int | None = ... - """The number of seconds after which a DPD timeout occurs.""" - dpd_timeout_action: str | None = ... - """The action to take after a DPD timeout occurs.""" - phase1_encryption_algorithms: list[Phase1EncryptionAlgorithmsListValue] | None = ... - """ - The permitted encryption algorithms for the VPN tunnel for phase 1 IKE - negotiations. - """ - phase2_encryption_algorithms: list[Phase2EncryptionAlgorithmsListValue] | None = ... - """ - The permitted encryption algorithms for the VPN tunnel for phase 2 IKE - negotiations. - """ - phase1_integrity_algorithms: list[Phase1IntegrityAlgorithmsListValue] | None = ... - """ - The permitted integrity algorithms for the VPN tunnel for phase 1 IKE - negotiations. - """ - phase2_integrity_algorithms: list[Phase2IntegrityAlgorithmsListValue] | None = ... - """ - The permitted integrity algorithms for the VPN tunnel for phase 2 IKE - negotiations. - """ - phase1_dh_group_numbers: list[Phase1DHGroupNumbersListValue] | None = ... - """ - The permitted Diffie-Hellman group numbers for the VPN tunnel for phase - 1 IKE negotiations. - """ - phase2_dh_group_numbers: list[Phase2DHGroupNumbersListValue] | None = ... - """ - The permitted Diffie-Hellman group numbers for the VPN tunnel for phase - 2 IKE negotiations. - """ - ike_versions: list[IKEVersionsListValue] | None = ... - """The IKE versions that are permitted for the VPN tunnel.""" - startup_action: str | None = ... - """ - The action to take when the establishing the VPN tunnels for a VPN - connection. - """ - log_options: VpnTunnelLogOptions | None = ... - """Options for logging VPN tunnel activity.""" - enable_tunnel_lifecycle_control: bool | None = ... - """Status of tunnel endpoint lifecycle control feature.""" - -@dataclass(kw_only=True) -class UnassignIpv6AddressesInput(_SerdeShape): - """Dataclass for UnassignIpv6AddressesInput structure.""" - - ipv6_prefixes: list[str] | None = ... - """The IPv6 prefixes to unassign from the network interface.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - ipv6_addresses: list[str] | None = ... - """The IPv6 addresses to unassign from the network interface.""" - -@dataclass(kw_only=True) -class UnassignIpv6AddressesOutput(_SerdeShape): - """Dataclass for UnassignIpv6AddressesOutput structure.""" - - network_interface_id: str | None = ... - """The ID of the network interface.""" - unassigned_ipv6_addresses: list[str] | None = ... - """The IPv6 addresses that have been unassigned from the network interface.""" - unassigned_ipv6_prefixes: list[str] | None = ... - """The IPv6 prefixes that have been unassigned from the network interface.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UnassignPrivateIpAddressesInput(_SerdeShape): - """Contains the parameters for UnassignPrivateIpAddresses.""" - - ipv4_prefixes: list[str] | None = ... - """The IPv4 prefixes to unassign from the network interface.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - private_ip_addresses: list[str] | None = ... - """ - The secondary private IP addresses to unassign from the network - interface. You can specify this option multiple times to unassign more - than one IP address. - """ - -@dataclass(kw_only=True) -class UnassignPrivateIpAddressesOutput(_SerdeShape): - """Dataclass for UnassignPrivateIpAddressesOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UnassignPrivateNatGatewayAddressInput(_SerdeShape): - """Dataclass for UnassignPrivateNatGatewayAddressInput structure.""" - - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - private_ip_addresses: list[str] | None = ... - """The private IPv4 addresses you want to unassign.""" - max_drain_duration_seconds: int | None = ... - """ - The maximum amount of time to wait (in seconds) before forcibly - releasing the IP addresses if connections are still in progress. Default - value is 350 seconds. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class UnassignPrivateNatGatewayAddressOutput(_SerdeShape): - """Dataclass for UnassignPrivateNatGatewayAddressOutput structure.""" - - nat_gateway_id: str | None = ... - """The ID of the NAT gateway.""" - nat_gateway_addresses: list[NatGatewayAddress] | None = ... - """Information about the NAT gateway IP addresses.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class UnlimitedSupportedInstanceFamily(UnknownEnumMixin, StrEnum): - T2 = "t2" - T3 = "t3" - T3A = "t3a" - T4G = "t4g" - T8I = "t8i" - -@dataclass(kw_only=True) -class UnlockSnapshotInput(_SerdeShape): - """Dataclass for UnlockSnapshotInput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot to unlock.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class UnlockSnapshotOutput(_SerdeShape): - """Dataclass for UnlockSnapshotOutput structure.""" - - snapshot_id: str | None = ... - """The ID of the snapshot.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UnmonitorInstancesInput(_SerdeShape): - """Dataclass for UnmonitorInstancesInput structure.""" - - instance_ids: list[str] | None = ... - """The IDs of the instances.""" - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the operation, - without actually making the request, and provides an error response. If - you have the required permissions, the error response is - `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class UnmonitorInstancesOutput(_SerdeShape): - """Dataclass for UnmonitorInstancesOutput structure.""" - - instance_monitorings: list[InstanceMonitoring] | None = ... - """The monitoring information.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UnsuccessfulAssociationResponseObject(_SerdeShape): - """Describes an unsuccessful application status check association.""" - - application_status_check_id: str | None = ... - """The ID of the application status check.""" - association_type: str | None = ... - """The type of association. Valid values: `EC2TAG` and `INSTANCE_ID`.""" - association_value: str | None = ... - """ - The association value. For `EC2TAG`, the value is formatted as - `key=value`. For `INSTANCE_ID`, the value is the instance ID. - """ - reason: str | None = ... - """The reason the association failed.""" - -class UnsuccessfulInstanceCreditSpecificationErrorCode(UnknownEnumMixin, StrEnum): - INVALID_INSTANCE_ID = "InvalidInstanceID.Malformed" - INSTANCE_NOT_FOUND = "InvalidInstanceID.NotFound" - INCORRECT_INSTANCE_STATE = "IncorrectInstanceState" - INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED = ( - "InstanceCreditSpecification.NotSupported" - ) - -@dataclass(kw_only=True) -class UnsuccessfulInstanceCreditSpecificationItem(_SerdeShape): - """ - Describes the burstable performance instance whose credit option for CPU - usage was not modified. - """ - - instance_id: str | None = ... - """The ID of the instance.""" - error: UnsuccessfulInstanceCreditSpecificationItemError | None = ... - """ - The applicable error for the burstable performance instance whose credit - option for CPU usage was not modified. - """ - -@dataclass(kw_only=True) -class UnsuccessfulInstanceCreditSpecificationItemError(_SerdeShape): - """ - Information about the error for the burstable performance instance whose - credit option for CPU usage was not modified. - """ - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The applicable error message.""" - -@dataclass(kw_only=True) -class UnsuccessfulItem(_SerdeShape): - """ - Information about items that were not successfully processed in a batch - call. - """ - - error: UnsuccessfulItemError | None = ... - """Information about the error.""" - resource_id: str | None = ... - """The ID of the resource.""" - -@dataclass(kw_only=True) -class UnsuccessfulItemError(_SerdeShape): - """ - Information about the error that occurred. For more information about - errors, see [Error - codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). - """ - - code: str | None = ... - """The error code.""" - message: str | None = ... - """The error message accompanying the error code.""" - -@dataclass(kw_only=True) -class UnsuccessfulSuppressionResponseObject(_SerdeShape): - """Describes an unsuccessful application status check suppression.""" - - instance_id: str | None = ... - """The ID of the instance.""" - suppress_at: datetime | None = ... - """The date and time when suppression was attempted.""" - resume_at: datetime | None = ... - """The date and time when health checks would have resumed.""" - reason: str | None = ... - """The reason the suppression failed.""" - -@dataclass(kw_only=True) -class UpdateCapacityManagerMonitoredTagKeysInput(_SerdeShape): - """Dataclass for UpdateCapacityManagerMonitoredTagKeysInput structure.""" - - activate_tag_keys: list[str] | None = ... - """ - The tag keys to activate for monitoring. Once activated, these tag keys - will be included as dimensions in capacity metric data. - """ - deactivate_tag_keys: list[str] | None = ... - """ - The tag keys to deactivate. Deactivated tag keys will no longer be - included as dimensions in capacity metric data. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - -@dataclass(kw_only=True) -class UpdateCapacityManagerMonitoredTagKeysOutput(_SerdeShape): - """Dataclass for UpdateCapacityManagerMonitoredTagKeysOutput structure.""" - - capacity_manager_tag_keys: list[CapacityManagerMonitoredTagKey] | None = ... - """ - The list of tag keys affected by the update, including their current - status and metadata. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCapacityManagerOrganizationsAccessInput(_SerdeShape): - """Dataclass for UpdateCapacityManagerOrganizationsAccessInput structure.""" - - organizations_access: bool | None = ... - """ - Specifies whether to enable or disable cross-account access for Amazon - Web Services Organizations. When enabled, Capacity Manager aggregates - data from all accounts in your organization. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - client_token: str | None = ... - """ - Unique, case-sensitive identifier that you provide to ensure the - idempotency of the request. - """ - -@dataclass(kw_only=True) -class UpdateCapacityManagerOrganizationsAccessOutput(_SerdeShape): - """Dataclass for UpdateCapacityManagerOrganizationsAccessOutput structure.""" - - capacity_manager_status: str | None = ... - """The current status of Capacity Manager after the update operation.""" - organizations_access: bool | None = ... - """ - The updated Organizations access setting indicating whether - cross-account data aggregation is enabled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateInterruptibleCapacityReservationAllocationInput(_SerdeShape): - """ - Dataclass for UpdateInterruptibleCapacityReservationAllocationInput - structure. - """ - - capacity_reservation_id: str | None = ... - """ - The ID of the source Capacity Reservation containing the interruptible - allocation to modify. - """ - target_instance_count: int | None = ... - """ - The new number of instances to allocate. Enter a higher number to add - more capacity to share, or a lower number to reclaim capacity to your - source Capacity Reservation. - """ - dry_run: bool | None = ... - """ - Checks whether you have the required permissions for the action, without - actually making the request, and provides an error response. - """ - zero_size_preference: str | None = ... - """ - Specifies the updated behavior for the interruptible Capacity - Reservation when you reduce its allocation to zero instances. Specify - `retain` to keep the interruptible Capacity Reservation active at zero - capacity so that you can allocate instances to it again later. Specify - `default` to cancel the interruptible Capacity Reservation and return - the capacity to your source Capacity Reservation. - """ - -@dataclass(kw_only=True) -class UpdateInterruptibleCapacityReservationAllocationOutput(_SerdeShape): - """ - Dataclass for UpdateInterruptibleCapacityReservationAllocationOutput - structure. - """ - - interruptible_capacity_reservation_id: str | None = ... - """The ID of the interruptible Capacity Reservation that was modified.""" - source_capacity_reservation_id: str | None = ... - """ - The ID of the source Capacity Reservation to which capacity was - reclaimed or from which capacity was allocated. - """ - instance_count: int | None = ... - """ - The current number of instances allocated to the interruptible - reservation. - """ - target_instance_count: int | None = ... - """ - The requested number of instances for the interruptible Capacity - Reservation. - """ - status: str | None = ... - """ - The current status of the allocation (updating during reclamation, - active when complete). - """ - interruption_type: str | None = ... - """The interruption type for the interruptible reservation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateSecurityGroupRuleDescriptionsEgressInput(_SerdeShape): - """Dataclass for UpdateSecurityGroupRuleDescriptionsEgressInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - group_id: str | None = ... - """ - The ID of the security group. You must specify either the security group - ID or the security group name in the request. For security groups in a - nondefault VPC, you must specify the security group ID. - """ - group_name: str | None = ... - """ - [Default VPC] The name of the security group. You must specify either - the security group ID or the security group name. - """ - ip_permissions: list[IpPermission] | None = ... - """ - The IP permissions for the security group rule. You must specify either - the IP permissions or the description. - """ - security_group_rule_descriptions: list[SecurityGroupRuleDescription] | None = ... - """ - The description for the egress security group rules. You must specify - either the description or the IP permissions. - """ - -@dataclass(kw_only=True) -class UpdateSecurityGroupRuleDescriptionsEgressOutput(_SerdeShape): - """Dataclass for UpdateSecurityGroupRuleDescriptionsEgressOutput structure.""" - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateSecurityGroupRuleDescriptionsIngressInput(_SerdeShape): - """Dataclass for UpdateSecurityGroupRuleDescriptionsIngressInput structure.""" - - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - group_id: str | None = ... - """ - The ID of the security group. You must specify either the security group - ID or the security group name in the request. For security groups in a - nondefault VPC, you must specify the security group ID. - """ - group_name: str | None = ... - """ - [Default VPC] The name of the security group. You must specify either - the security group ID or the security group name. For security groups in - a nondefault VPC, you must specify the security group ID. - """ - ip_permissions: list[IpPermission] | None = ... - """ - The IP permissions for the security group rule. You must specify either - IP permissions or a description. - """ - security_group_rule_descriptions: list[SecurityGroupRuleDescription] | None = ... - """ - The description for the ingress security group rules. You must specify - either a description or IP permissions. - """ - -@dataclass(kw_only=True) -class UpdateSecurityGroupRuleDescriptionsIngressOutput(_SerdeShape): - """ - Dataclass for UpdateSecurityGroupRuleDescriptionsIngressOutput - structure. - """ - - return_: bool | None = ... - """Returns `true` if the request succeeds; otherwise, returns an error.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class UsageClassType(UnknownEnumMixin, StrEnum): - SPOT = "spot" - ON_DEMAND = "on-demand" - CAPACITY_BLOCK = "capacity-block" - -@dataclass(kw_only=True) -class UserBucket(_SerdeShape): - """Describes the Amazon S3 bucket for the disk image.""" - - s3_bucket: str | None = ... - """The name of the Amazon S3 bucket where the disk image is located.""" - s3_key: str | None = ... - """The file name of the disk image.""" - -@dataclass(kw_only=True) -class UserBucketDetails(_SerdeShape): - """Describes the Amazon S3 bucket for the disk image.""" - - s3_bucket: str | None = ... - """The Amazon S3 bucket from which the disk image was created.""" - s3_key: str | None = ... - """The file name of the disk image.""" - -@dataclass(kw_only=True) -class UserData(_SerdeShape): - """Describes the user data for an instance.""" - - data: str | None = ... - """ - The user data. If you are using an Amazon Web Services SDK or command - line tool, Base64-encoding is performed for you, and you can load the - text from a file. Otherwise, you must provide Base64-encoded text. - """ - -@dataclass(kw_only=True) -class UserIdGroupPair(_SerdeShape): - """Describes a security group and Amazon Web Services account ID pair.""" - - description: str | None = ... - """ - A description for the security group rule that references this user ID - group pair. - - Constraints: Up to 255 characters in length. Allowed characters are a-z, - A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* - """ - user_id: str | None = ... - """ - The ID of an Amazon Web Services account. - - For a referenced security group in another VPC, the account ID of the - referenced security group is returned in the response. If the referenced - security group is deleted, this value is not returned. - """ - group_name: str | None = ... - """ - [Default VPC] The name of the security group. For a security group in - a nondefault VPC, use the security group ID. - - For a referenced security group in another VPC, this value is not - returned if the referenced security group is deleted. - """ - group_id: str | None = ... - """The ID of the security group.""" - vpc_id: str | None = ... - """The ID of the VPC for the referenced security group, if applicable.""" - vpc_peering_connection_id: str | None = ... - """The ID of the VPC peering connection, if applicable.""" - peering_status: str | None = ... - """The status of a VPC peering connection, if applicable.""" - -class UserTrustProviderType(UnknownEnumMixin, StrEnum): - IAM_IDENTITY_CENTER = "iam-identity-center" - OIDC = "oidc" - -@dataclass(kw_only=True) -class ValidateSecurityGroupQuotasForInterfaceInput(_SerdeShape): - """Dataclass for ValidateSecurityGroupQuotasForInterfaceInput structure.""" - - security_group_ids: list[str] | None = ... - """ - The IDs of the security groups to validate for association with a single - network interface. You must specify at least one ID, and each ID must be - unique. The number of IDs cannot exceed the maximum number of security - groups allowed per network interface. - """ - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class ValidateSecurityGroupQuotasForInterfaceOutput(_SerdeShape): - """Dataclass for ValidateSecurityGroupQuotasForInterfaceOutput structure.""" - - valid: bool | None = ... - """ - Specifies whether the specified security groups can be associated with a - single network interface without exceeding the quotas. If associating - the security groups would exceed a quota, the operation returns an - error. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ValidationError(_SerdeShape): - """ - The error code and error message that is returned for a parameter or - parameter combination that is not valid when a new launch template or - new version of a launch template is created. - """ - - code: str | None = ... - """ - The error code that indicates why the parameter or parameter combination - is not valid. For more information about error codes, see [Error - codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). - """ - message: str | None = ... - """ - The error message that describes why the parameter or parameter - combination is not valid. For more information about error messages, see - [Error - codes](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). - """ - -@dataclass(kw_only=True) -class ValidationWarning(_SerdeShape): - """ - The error codes and error messages that are returned for the parameters - or parameter combinations that are not valid when a new launch template - or new version of a launch template is created. - """ - - errors: list[ValidationError] | None = ... - """The error codes and error messages.""" - -@dataclass(kw_only=True) -class VCpuCountRange(_SerdeShape): - """The minimum and maximum number of vCPUs.""" - - min: int | None = ... - """ - The minimum number of vCPUs. If the value is `0`, there is no minimum - limit. - """ - max: int | None = ... - """ - The maximum number of vCPUs. If this parameter is not specified, there - is no maximum limit. - """ - -@dataclass(kw_only=True) -class VCpuCountRangeRequest(_SerdeShape): - """The minimum and maximum number of vCPUs.""" - - min: int | None = ... - """The minimum number of vCPUs. To specify no minimum limit, specify `0`.""" - max: int | None = ... - """ - The maximum number of vCPUs. To specify no maximum limit, omit this - parameter. - """ - -@dataclass(kw_only=True) -class VCpuInfo(_SerdeShape): - """Describes the vCPU configurations for the instance type.""" - - default_v_cpus: int | None = ... - """The default number of vCPUs for the instance type.""" - default_cores: int | None = ... - """The default number of cores for the instance type.""" - default_threads_per_core: int | None = ... - """The default number of threads per core for the instance type.""" - valid_cores: list[int] | None = ... - """The valid number of cores that can be configured for the instance type.""" - valid_threads_per_core: list[int] | None = ... - """ - The valid number of threads per core that can be configured for the - instance type. - """ - -class VerificationMethod(UnknownEnumMixin, StrEnum): - REMARKS_X509 = "remarks-x509" - DNS_TOKEN = "dns-token" - -@dataclass(kw_only=True) -class VerifiedAccessEndpoint(_SerdeShape): - """ - An Amazon Web Services Verified Access endpoint specifies the - application that Amazon Web Services Verified Access provides access to. - It must be attached to an Amazon Web Services Verified Access group. An - Amazon Web Services Verified Access endpoint must also have an attached - access policy before you attached it to a group. - """ - - verified_access_instance_id: str | None = ... - """The ID of the Amazon Web Services Verified Access instance.""" - verified_access_group_id: str | None = ... - """The ID of the Amazon Web Services Verified Access group.""" - verified_access_endpoint_id: str | None = ... - """The ID of the Amazon Web Services Verified Access endpoint.""" - application_domain: str | None = ... - """The DNS name for users to reach your application.""" - endpoint_type: str | None = ... - """ - The type of Amazon Web Services Verified Access endpoint. Incoming - application requests will be sent to an IP address, load balancer or a - network interface depending on the endpoint type specified. - """ - attachment_type: str | None = ... - """ - The type of attachment used to provide connectivity between the Amazon - Web Services Verified Access endpoint and the application. - """ - domain_certificate_arn: str | None = ... - """ - The ARN of a public TLS/SSL certificate imported into or created with - ACM. - """ - endpoint_domain: str | None = ... - """A DNS name that is generated for the endpoint.""" - device_validation_domain: str | None = ... - """Returned if endpoint has a device trust provider attached.""" - security_group_ids: list[str] | None = ... - """The IDs of the security groups for the endpoint.""" - load_balancer_options: VerifiedAccessEndpointLoadBalancerOptions | None = ... - """ - The load balancer details if creating the Amazon Web Services Verified - Access endpoint as `load-balancer`type. - """ - network_interface_options: VerifiedAccessEndpointEniOptions | None = ... - """The options for network-interface type endpoint.""" - status: VerifiedAccessEndpointStatus | None = ... - """The endpoint status.""" - description: str | None = ... - """A description for the Amazon Web Services Verified Access endpoint.""" - creation_time: str | None = ... - """The creation time.""" - last_updated_time: str | None = ... - """The last updated time.""" - deletion_time: str | None = ... - """The deletion time.""" - tags: list[Tag] | None = ... - """The tags.""" - sse_specification: VerifiedAccessSseSpecificationResponse | None = ... - """The options in use for server side encryption.""" - rds_options: VerifiedAccessEndpointRdsOptions | None = ... - """The options for an RDS endpoint.""" - cidr_options: VerifiedAccessEndpointCidrOptions | None = ... - """The options for a CIDR endpoint.""" - -class VerifiedAccessEndpointAttachmentType(UnknownEnumMixin, StrEnum): - VPC = "vpc" - -@dataclass(kw_only=True) -class VerifiedAccessEndpointCidrOptions(_SerdeShape): - """Describes the CIDR options for a Verified Access endpoint.""" - - cidr: str | None = ... - """The CIDR.""" - port_ranges: list[VerifiedAccessEndpointPortRange] | None = ... - """The port ranges.""" - protocol: str | None = ... - """The protocol.""" - subnet_ids: list[str] | None = ... - """The IDs of the subnets.""" - -@dataclass(kw_only=True) -class VerifiedAccessEndpointEniOptions(_SerdeShape): - """Options for a network-interface type endpoint.""" - - network_interface_id: str | None = ... - """The ID of the network interface.""" - protocol: str | None = ... - """The IP protocol.""" - port: int | None = ... - """The IP port number.""" - port_ranges: list[VerifiedAccessEndpointPortRange] | None = ... - """The port ranges.""" - -@dataclass(kw_only=True) -class VerifiedAccessEndpointLoadBalancerOptions(_SerdeShape): - """ - Describes a load balancer when creating an Amazon Web Services Verified - Access endpoint using the `load-balancer` type. - """ - - protocol: str | None = ... - """The IP protocol.""" - port: int | None = ... - """The IP port number.""" - load_balancer_arn: str | None = ... - """The ARN of the load balancer.""" - subnet_ids: list[str] | None = ... - """The IDs of the subnets.""" - port_ranges: list[VerifiedAccessEndpointPortRange] | None = ... - """The port ranges.""" - -@dataclass(kw_only=True) -class VerifiedAccessEndpointPortRange(_SerdeShape): - """Describes a port range.""" - - from_port: int | None = ... - """The start of the port range.""" - to_port: int | None = ... - """The end of the port range.""" - -class VerifiedAccessEndpointProtocol(UnknownEnumMixin, StrEnum): - HTTP = "http" - HTTPS = "https" - TCP = "tcp" - -@dataclass(kw_only=True) -class VerifiedAccessEndpointRdsOptions(_SerdeShape): - """Describes the RDS options for a Verified Access endpoint.""" - - protocol: str | None = ... - """The protocol.""" - port: int | None = ... - """The port.""" - rds_db_instance_arn: str | None = ... - """The ARN of the RDS instance.""" - rds_db_cluster_arn: str | None = ... - """The ARN of the DB cluster.""" - rds_db_proxy_arn: str | None = ... - """The ARN of the RDS proxy.""" - rds_endpoint: str | None = ... - """The RDS endpoint.""" - subnet_ids: list[str] | None = ... - """The IDs of the subnets.""" - -@dataclass(kw_only=True) -class VerifiedAccessEndpointStatus(_SerdeShape): - """Describes the status of a Verified Access endpoint.""" - - code: str | None = ... - """The status code of the Verified Access endpoint.""" - message: str | None = ... - """The status message of the Verified Access endpoint.""" - -class VerifiedAccessEndpointStatusCode(UnknownEnumMixin, StrEnum): - PENDING = "pending" - ACTIVE = "active" - UPDATING = "updating" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class VerifiedAccessEndpointTarget(_SerdeShape): - """Describes the targets for the specified Verified Access endpoint.""" - - verified_access_endpoint_id: str | None = ... - """The ID of the Verified Access endpoint.""" - verified_access_endpoint_target_ip_address: str | None = ... - """The IP address of the target.""" - verified_access_endpoint_target_dns: str | None = ... - """The DNS name of the target.""" - -class VerifiedAccessEndpointType(UnknownEnumMixin, StrEnum): - LOAD_BALANCER = "load-balancer" - NETWORK_INTERFACE = "network-interface" - RDS = "rds" - CIDR = "cidr" - -@dataclass(kw_only=True) -class VerifiedAccessGroup(_SerdeShape): - """Describes a Verified Access group.""" - - verified_access_group_id: str | None = ... - """The ID of the Verified Access group.""" - verified_access_instance_id: str | None = ... - """The ID of the Amazon Web Services Verified Access instance.""" - description: str | None = ... - """A description for the Amazon Web Services Verified Access group.""" - owner: str | None = ... - """The Amazon Web Services account number that owns the group.""" - verified_access_group_arn: str | None = ... - """The ARN of the Verified Access group.""" - creation_time: str | None = ... - """The creation time.""" - last_updated_time: str | None = ... - """The last updated time.""" - deletion_time: str | None = ... - """The deletion time.""" - tags: list[Tag] | None = ... - """The tags.""" - sse_specification: VerifiedAccessSseSpecificationResponse | None = ... - """The options in use for server side encryption.""" - -@dataclass(kw_only=True) -class VerifiedAccessInstance(_SerdeShape): - """Describes a Verified Access instance.""" - - verified_access_instance_id: str | None = ... - """The ID of the Amazon Web Services Verified Access instance.""" - description: str | None = ... - """A description for the Amazon Web Services Verified Access instance.""" - verified_access_trust_providers: ( - list[VerifiedAccessTrustProviderCondensed] | None - ) = ... - """The IDs of the Amazon Web Services Verified Access trust providers.""" - creation_time: str | None = ... - """The creation time.""" - last_updated_time: str | None = ... - """The last updated time.""" - tags: list[Tag] | None = ... - """The tags.""" - fips_enabled: bool | None = ... - """ - Indicates whether support for Federal Information Processing Standards - (FIPS) is enabled on the instance. - """ - cidr_endpoints_custom_sub_domain: VerifiedAccessInstanceCustomSubDomain | None = ... - """The custom subdomain.""" - -@dataclass(kw_only=True) -class VerifiedAccessInstanceCustomSubDomain(_SerdeShape): - """ - Describes a custom subdomain for a network CIDR endpoint for Verified - Access. - """ - - sub_domain: str | None = ... - """The subdomain.""" - nameservers: list[str] | None = ... - """The name servers.""" - -@dataclass(kw_only=True) -class VerifiedAccessInstanceLoggingConfiguration(_SerdeShape): - """ - Describes logging options for an Amazon Web Services Verified Access - instance. - """ - - verified_access_instance_id: str | None = ... - """The ID of the Amazon Web Services Verified Access instance.""" - access_logs: VerifiedAccessLogs | None = ... - """Details about the logging options.""" - -@dataclass(kw_only=True) -class VerifiedAccessInstanceOpenVpnClientConfiguration(_SerdeShape): - """Describes a set of routes.""" - - config: str | None = ... - """The base64-encoded Open VPN client configuration.""" - routes: list[VerifiedAccessInstanceOpenVpnClientConfigurationRoute] | None = ... - """The routes.""" - -@dataclass(kw_only=True) -class VerifiedAccessInstanceOpenVpnClientConfigurationRoute(_SerdeShape): - """Describes a route.""" - - cidr: str | None = ... - """The CIDR block.""" - -@dataclass(kw_only=True) -class VerifiedAccessInstanceUserTrustProviderClientConfiguration(_SerdeShape): - """Describes the trust provider.""" - - type: str | None = ... - """The trust provider type.""" - scopes: str | None = ... - """The set of user claims to be requested from the IdP.""" - issuer: str | None = ... - """The OIDC issuer identifier of the IdP.""" - authorization_endpoint: str | None = ... - """The authorization endpoint of the IdP.""" - public_signing_key_endpoint: str | None = ... - """The public signing key endpoint.""" - token_endpoint: str | None = ... - """The token endpoint of the IdP.""" - user_info_endpoint: str | None = ... - """The user info endpoint of the IdP.""" - client_id: str | None = ... - """The OAuth 2.0 client identifier.""" - client_secret: str | None = ... - """The OAuth 2.0 client secret.""" - pkce_enabled: bool | None = ... - """Indicates whether Proof of Key Code Exchange (PKCE) is enabled.""" - -@dataclass(kw_only=True) -class VerifiedAccessLogCloudWatchLogsDestination(_SerdeShape): - """Options for CloudWatch Logs as a logging destination.""" - - enabled: bool | None = ... - """Indicates whether logging is enabled.""" - delivery_status: VerifiedAccessLogDeliveryStatus | None = ... - """The delivery status for access logs.""" - log_group: str | None = ... - """The ID of the CloudWatch Logs log group.""" - -@dataclass(kw_only=True) -class VerifiedAccessLogCloudWatchLogsDestinationOptions(_SerdeShape): - """Options for CloudWatch Logs as a logging destination.""" - - enabled: bool | None = ... - """Indicates whether logging is enabled.""" - log_group: str | None = ... - """The ID of the CloudWatch Logs log group.""" - -@dataclass(kw_only=True) -class VerifiedAccessLogDeliveryStatus(_SerdeShape): - """Describes a log delivery status.""" - - code: str | None = ... - """The status code.""" - message: str | None = ... - """The status message.""" - -class VerifiedAccessLogDeliveryStatusCode(UnknownEnumMixin, StrEnum): - SUCCESS = "success" - FAILED = "failed" - -@dataclass(kw_only=True) -class VerifiedAccessLogKinesisDataFirehoseDestination(_SerdeShape): - """Options for Kinesis as a logging destination.""" - - enabled: bool | None = ... - """Indicates whether logging is enabled.""" - delivery_status: VerifiedAccessLogDeliveryStatus | None = ... - """The delivery status.""" - delivery_stream: str | None = ... - """The ID of the delivery stream.""" - -@dataclass(kw_only=True) -class VerifiedAccessLogKinesisDataFirehoseDestinationOptions(_SerdeShape): - """Describes Amazon Kinesis Data Firehose logging options.""" - - enabled: bool | None = ... - """Indicates whether logging is enabled.""" - delivery_stream: str | None = ... - """The ID of the delivery stream.""" - -@dataclass(kw_only=True) -class VerifiedAccessLogOptions(_SerdeShape): - """Options for Verified Access logs.""" - - s3: VerifiedAccessLogS3DestinationOptions | None = ... - """Sends Verified Access logs to Amazon S3.""" - cloud_watch_logs: VerifiedAccessLogCloudWatchLogsDestinationOptions | None = ... - """Sends Verified Access logs to CloudWatch Logs.""" - kinesis_data_firehose: ( - VerifiedAccessLogKinesisDataFirehoseDestinationOptions | None - ) = ... - """Sends Verified Access logs to Kinesis.""" - log_version: str | None = ... - """ - The logging version. - - Valid values: `ocsf-0.1` | `ocsf-1.0.0-rc.2` - """ - include_trust_context: bool | None = ... - """ - Indicates whether to include trust data sent by trust providers in the - logs. - """ - -@dataclass(kw_only=True) -class VerifiedAccessLogs(_SerdeShape): - """Describes the options for Verified Access logs.""" - - s3: VerifiedAccessLogS3Destination | None = ... - """Amazon S3 logging options.""" - cloud_watch_logs: VerifiedAccessLogCloudWatchLogsDestination | None = ... - """CloudWatch Logs logging destination.""" - kinesis_data_firehose: VerifiedAccessLogKinesisDataFirehoseDestination | None = ... - """Kinesis logging destination.""" - log_version: str | None = ... - """The log version.""" - include_trust_context: bool | None = ... - """Indicates whether trust data is included in the logs.""" - -@dataclass(kw_only=True) -class VerifiedAccessLogS3Destination(_SerdeShape): - """Options for Amazon S3 as a logging destination.""" - - enabled: bool | None = ... - """Indicates whether logging is enabled.""" - delivery_status: VerifiedAccessLogDeliveryStatus | None = ... - """The delivery status.""" - bucket_name: str | None = ... - """The bucket name.""" - prefix: str | None = ... - """The bucket prefix.""" - bucket_owner: str | None = ... - """The Amazon Web Services account number that owns the bucket.""" - -@dataclass(kw_only=True) -class VerifiedAccessLogS3DestinationOptions(_SerdeShape): - """Options for Amazon S3 as a logging destination.""" - - enabled: bool | None = ... - """Indicates whether logging is enabled.""" - bucket_name: str | None = ... - """The bucket name.""" - prefix: str | None = ... - """The bucket prefix.""" - bucket_owner: str | None = ... - """ - The ID of the Amazon Web Services account that owns the Amazon S3 - bucket. - """ - -@dataclass(kw_only=True) -class VerifiedAccessSseSpecificationRequest(_SerdeShape): - """ - Verified Access provides server side encryption by default to data at - rest using Amazon Web Services-owned KMS keys. You also have the option - of using customer managed KMS keys, which can be specified using the - options below. - """ - - customer_managed_key_enabled: bool | None = ... - """ - Enable or disable the use of customer managed KMS keys for server side - encryption. - - Valid values: `True` | `False` - """ - kms_key_arn: str | None = ... - """The ARN of the KMS key.""" - -@dataclass(kw_only=True) -class VerifiedAccessSseSpecificationResponse(_SerdeShape): - """The options in use for server side encryption.""" - - customer_managed_key_enabled: bool | None = ... - """ - Indicates whether customer managed KMS keys are in use for server side - encryption. - - Valid values: `True` | `False` - """ - kms_key_arn: str | None = ... - """The ARN of the KMS key.""" - -@dataclass(kw_only=True) -class VerifiedAccessTrustProvider(_SerdeShape): - """Describes a Verified Access trust provider.""" - - verified_access_trust_provider_id: str | None = ... - """The ID of the Amazon Web Services Verified Access trust provider.""" - description: str | None = ... - """ - A description for the Amazon Web Services Verified Access trust - provider. - """ - trust_provider_type: str | None = ... - """The type of Verified Access trust provider.""" - user_trust_provider_type: str | None = ... - """The type of user-based trust provider.""" - device_trust_provider_type: str | None = ... - """The type of device-based trust provider.""" - oidc_options: OidcOptions | None = ... - """ - The options for an OpenID Connect-compatible user-identity trust - provider. - """ - device_options: DeviceOptions | None = ... - """The options for device-identity trust provider.""" - policy_reference_name: str | None = ... - """The identifier to be used when working with policy rules.""" - creation_time: str | None = ... - """The creation time.""" - last_updated_time: str | None = ... - """The last updated time.""" - tags: list[Tag] | None = ... - """The tags.""" - sse_specification: VerifiedAccessSseSpecificationResponse | None = ... - """The options in use for server side encryption.""" - native_application_oidc_options: NativeApplicationOidcOptions | None = ... - """The OpenID Connect (OIDC) options.""" - -@dataclass(kw_only=True) -class VerifiedAccessTrustProviderCondensed(_SerdeShape): - """Condensed information about a trust provider.""" - - verified_access_trust_provider_id: str | None = ... - """The ID of the trust provider.""" - description: str | None = ... - """The description of trust provider.""" - trust_provider_type: str | None = ... - """The type of trust provider (user- or device-based).""" - user_trust_provider_type: str | None = ... - """The type of user-based trust provider.""" - device_trust_provider_type: str | None = ... - """The type of device-based trust provider.""" - -@dataclass(kw_only=True) -class VgwTelemetry(_SerdeShape): - """Describes telemetry for a VPN tunnel.""" - - accepted_route_count: int | None = ... - """The number of accepted routes.""" - last_status_change: datetime | None = ... - """ - The date and time of the last change in status. This field is updated - when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are - detected. - """ - outside_ip_address: str | None = ... - """ - The Internet-routable IP address of the virtual private gateway's - outside interface. - """ - status: str | None = ... - """The status of the VPN tunnel.""" - status_message: str | None = ... - """If an error occurs, a description of the error.""" - certificate_arn: str | None = ... - """The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.""" - -class VirtualizationType(UnknownEnumMixin, StrEnum): - HVM = "hvm" - PARAVIRTUAL = "paravirtual" - -@dataclass(kw_only=True) -class Volume(_SerdeShape): - """Describes a volume.""" - - availability_zone_id: str | None = ... - """The ID of the Availability Zone for the volume.""" - outpost_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - source_volume_id: str | None = ... - """ - The ID of the source volume from which the volume copy was created. Only - for volume copies. - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS). For `gp3`, `io1`, and - `io2` volumes, this represents the number of IOPS that are provisioned - for the volume. For `gp2` volumes, this represents the baseline - performance of the volume and the rate at which the volume accumulates - I/O credits for bursting. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the volume.""" - volume_type: str | None = ... - """The volume type.""" - fast_restored: bool | None = ... - """ - Note: - This parameter is not returned by CreateVolume. - - Indicates whether the volume was created using fast snapshot restore. - """ - multi_attach_enabled: bool | None = ... - """Indicates whether Amazon EBS Multi-Attach is enabled.""" - throughput: int | None = ... - """The throughput that the volume supports, in MiB/s.""" - sse_type: str | None = ... - """ - Note: - This parameter is not returned by CreateVolume. - - Reserved for future use. - """ - operator: OperatorResponse | None = ... - """The service provider that manages the volume.""" - volume_initialization_rate: int | None = ... - """ - The Amazon EBS Provisioned Rate for Volume Initialization (volume - initialization rate) specified for the volume during creation, in MiB/s. - If no volume initialization rate was specified, the value is `null`. - """ - volume_arn: str | None = ... - """The Amazon Resource Name (ARN) of the volume.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the volume.""" - volume_id: str | None = ... - """The ID of the volume.""" - size: int | None = ... - """The size of the volume, in GiBs.""" - snapshot_id: str | None = ... - """The snapshot from which the volume was created, if applicable.""" - availability_zone: str | None = ... - """The Availability Zone for the volume.""" - state: str | None = ... - """The volume state.""" - create_time: datetime | None = ... - """The time stamp when volume creation was initiated.""" - attachments: list[VolumeAttachment] | None = ... - """ - Note: - This parameter is not returned by CreateVolume. - - Information about the volume attachments. - """ - encrypted: bool | None = ... - """Indicates whether the volume is encrypted.""" - kms_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS key that was used to protect - the volume encryption key for the volume. - """ - -@dataclass(kw_only=True) -class VolumeAttachment(_SerdeShape): - """Describes volume attachment details.""" - - delete_on_termination: bool | None = ... - """Indicates whether the EBS volume is deleted on instance termination.""" - associated_resource: str | None = ... - """ - The ARN of the Amazon Web Services-managed resource to which the volume - is attached. - """ - instance_owning_service: str | None = ... - """ - The service principal of the Amazon Web Services service that owns the - underlying resource to which the volume is attached. - - This parameter is returned only for volumes that are attached to Amazon - Web Services-managed resources. - """ - ebs_card_index: int | None = ... - """ - The index of the EBS card. Some instance types support multiple EBS - cards. The default EBS card index is 0. - """ - volume_id: str | None = ... - """The ID of the volume.""" - instance_id: str | None = ... - """ - The ID of the instance. - - If the volume is attached to an Amazon Web Services-managed resource, - this parameter returns `null`. - """ - device: str | None = ... - """ - The device name. - - If the volume is attached to an Amazon Web Services-managed resource, - this parameter returns `null`. - """ - state: str | None = ... - """The attachment state of the volume.""" - attach_time: datetime | None = ... - """The time stamp when the attachment initiated.""" - -class VolumeAttachmentState(UnknownEnumMixin, StrEnum): - ATTACHING = "attaching" - ATTACHED = "attached" - DETACHING = "detaching" - DETACHED = "detached" - BUSY = "busy" - -class VolumeAttributeName(UnknownEnumMixin, StrEnum): - AUTO_ENABLE_IO = "autoEnableIO" - PRODUCT_CODES = "productCodes" - -@dataclass(kw_only=True) -class VolumeDetail(_SerdeShape): - """Describes an EBS volume.""" - - size: int | None = ... - """The size of the volume, in GiB.""" - -@dataclass(kw_only=True) -class VolumeModification(_SerdeShape): - """Describes the modification status of an EBS volume.""" - - volume_id: str | None = ... - """The ID of the volume.""" - modification_state: str | None = ... - """The current modification state.""" - status_message: str | None = ... - """A status message about the modification progress or failure.""" - target_size: int | None = ... - """The target size of the volume, in GiB.""" - target_iops: int | None = ... - """The target IOPS rate of the volume.""" - target_volume_type: str | None = ... - """The target EBS volume type of the volume.""" - target_throughput: int | None = ... - """The target throughput of the volume, in MiB/s.""" - target_multi_attach_enabled: bool | None = ... - """The target setting for Amazon EBS Multi-Attach.""" - original_size: int | None = ... - """The original size of the volume, in GiB.""" - original_iops: int | None = ... - """The original IOPS rate of the volume.""" - original_volume_type: str | None = ... - """The original EBS volume type of the volume.""" - original_throughput: int | None = ... - """The original throughput of the volume, in MiB/s.""" - original_multi_attach_enabled: bool | None = ... - """The original setting for Amazon EBS Multi-Attach.""" - progress: int | None = ... - """The modification progress, from 0 to 100 percent complete.""" - start_time: datetime | None = ... - """The modification start time.""" - end_time: datetime | None = ... - """The modification completion or failure time.""" - operator: OperatorResponse | None = ... - """The service provider that manages the resource.""" - -class VolumeModificationState(UnknownEnumMixin, StrEnum): - MODIFYING = "modifying" - OPTIMIZING = "optimizing" - COMPLETED = "completed" - FAILED = "failed" - -@dataclass(kw_only=True) -class VolumeRecycleBinInfo(_SerdeShape): - """Information about a volume that is currently in the Recycle Bin.""" - - volume_id: str | None = ... - """The ID of the volume.""" - volume_type: str | None = ... - """The volume type.""" - state: str | None = ... - """The state of the volume.""" - size: int | None = ... - """The size of the volume, in GiB.""" - iops: int | None = ... - """The number of I/O operations per second (IOPS) for the volume.""" - throughput: int | None = ... - """The throughput that the volume supports, in MiB/s.""" - outpost_arn: str | None = ... - """ - The ARN of the Outpost on which the volume is stored. For more - information, see [Amazon EBS volumes on - Outposts](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-outposts.html) - in the *Amazon EBS User Guide*. - """ - availability_zone: str | None = ... - """The Availability Zone for the volume.""" - availability_zone_id: str | None = ... - """The ID of the Availability Zone for the volume.""" - source_volume_id: str | None = ... - """The ID of the source volume.""" - snapshot_id: str | None = ... - """The snapshot from which the volume was created, if applicable.""" - operator: OperatorResponse | None = ... - """The service provider that manages the volume.""" - create_time: datetime | None = ... - """The time stamp when volume creation was initiated.""" - recycle_bin_enter_time: datetime | None = ... - """The date and time when the volume entered the Recycle Bin.""" - recycle_bin_exit_time: datetime | None = ... - """ - The date and time when the volume is to be permanently deleted from the - Recycle Bin. - """ - -class VolumeState(UnknownEnumMixin, StrEnum): - CREATING = "creating" - AVAILABLE = "available" - IN_USE = "in-use" - DELETING = "deleting" - DELETED = "deleted" - ERROR = "error" - -@dataclass(kw_only=True) -class VolumeStatusAction(_SerdeShape): - """Describes a volume status operation code.""" - - code: str | None = ... - """The code identifying the operation, for example, `enable-volume-io`.""" - description: str | None = ... - """A description of the operation.""" - event_id: str | None = ... - """The ID of the event associated with this operation.""" - event_type: str | None = ... - """The event type associated with this operation.""" - -@dataclass(kw_only=True) -class VolumeStatusAttachmentStatus(_SerdeShape): - """Information about the instances to which the volume is attached.""" - - io_performance: str | None = ... - """The maximum IOPS supported by the attached instance.""" - instance_id: str | None = ... - """The ID of the attached instance.""" - -@dataclass(kw_only=True) -class VolumeStatusDetails(_SerdeShape): - """Describes a volume status.""" - - name: str | None = ... - """ - The name of the volume status. - - - `io-enabled` - Indicates the volume I/O status. For more information, - see [Amazon EBS volume status - checks](https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-checks.html). - - - `io-performance` - Indicates the volume performance status. For more - information, see [Amazon EBS volume status - checks](https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-checks.html). - - - `initialization-state` - Indicates the status of the volume - initialization process. For more information, see [Initialize Amazon - EBS - volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html). - """ - status: str | None = ... - """The intended status of the volume status.""" - -@dataclass(kw_only=True) -class VolumeStatusEvent(_SerdeShape): - """Describes a volume status event.""" - - description: str | None = ... - """A description of the event.""" - event_id: str | None = ... - """The ID of this event.""" - event_type: str | None = ... - """The type of this event.""" - not_after: datetime | None = ... - """The latest end time of the event.""" - not_before: datetime | None = ... - """The earliest start time of the event.""" - instance_id: str | None = ... - """The ID of the instance associated with the event.""" - -@dataclass(kw_only=True) -class VolumeStatusInfo(_SerdeShape): - """Describes the status of a volume.""" - - details: list[VolumeStatusDetails] | None = ... - """The details of the volume status.""" - status: str | None = ... - """The status of the volume.""" - -class VolumeStatusInfoStatus(UnknownEnumMixin, StrEnum): - OK = "ok" - IMPAIRED = "impaired" - INSUFFICIENT_DATA = "insufficient-data" - WARNING = "warning" - -@dataclass(kw_only=True) -class VolumeStatusItem(_SerdeShape): - """Describes the volume status.""" - - actions: list[VolumeStatusAction] | None = ... - """The details of the operation.""" - availability_zone: str | None = ... - """The Availability Zone of the volume.""" - outpost_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - events: list[VolumeStatusEvent] | None = ... - """A list of events associated with the volume.""" - volume_id: str | None = ... - """The volume ID.""" - volume_status: VolumeStatusInfo | None = ... - """The volume status.""" - attachment_statuses: list[VolumeStatusAttachmentStatus] | None = ... - """Information about the instances to which the volume is attached.""" - initialization_status_details: InitializationStatusDetails | None = ... - """ - Information about the volume initialization. It can take up to 5 minutes - for the volume initialization information to be updated. - - Only available for volumes created from snapshots. Not available for - empty volumes created without a snapshot. - - For more information, see [Initialize Amazon EBS - volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html). - """ - availability_zone_id: str | None = ... - """The ID of the Availability Zone.""" - operator: OperatorResponse | None = ... - """The service provider that manages the resource.""" - -class VolumeStatusName(UnknownEnumMixin, StrEnum): - IO_ENABLED = "io-enabled" - IO_PERFORMANCE = "io-performance" - INITIALIZATION_STATE = "initialization-state" - -class VolumeType(UnknownEnumMixin, StrEnum): - STANDARD = "standard" - IO1 = "io1" - IO2 = "io2" - GP2 = "gp2" - SC1 = "sc1" - ST1 = "st1" - GP3 = "gp3" - -@dataclass(kw_only=True) -class Vpc(_SerdeShape): - """Describes a VPC.""" - - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the VPC.""" - instance_tenancy: str | None = ... - """The allowed tenancy of instances launched into the VPC.""" - ipv6_cidr_block_association_set: list[VpcIpv6CidrBlockAssociation] | None = ... - """Information about the IPv6 CIDR blocks associated with the VPC.""" - cidr_block_association_set: list[VpcCidrBlockAssociation] | None = ... - """Information about the IPv4 CIDR blocks associated with the VPC.""" - is_default: bool | None = ... - """Indicates whether the VPC is the default VPC.""" - encryption_control: VpcEncryptionControl | None = ... - """ - Describes the configuration and state of VPC encryption controls. - - For more information, see [Enforce VPC encryption in - transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) - in the *Amazon VPC User Guide*. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the VPC.""" - block_public_access_states: BlockPublicAccessStates | None = ... - """The state of VPC Block Public Access (BPA).""" - vpc_id: str | None = ... - """The ID of the VPC.""" - state: str | None = ... - """The current state of the VPC.""" - cidr_block: str | None = ... - """The primary IPv4 CIDR block for the VPC.""" - dhcp_options_id: str | None = ... - """The ID of the set of DHCP options you've associated with the VPC.""" - -@dataclass(kw_only=True) -class VpcAttachment(_SerdeShape): - """Describes an attachment between a virtual private gateway and a VPC.""" - - vpc_id: str | None = ... - """The ID of the VPC.""" - state: str | None = ... - """The current state of the attachment.""" - -class VpcAttributeName(UnknownEnumMixin, StrEnum): - ENABLE_DNS_SUPPORT = "enableDnsSupport" - ENABLE_DNS_HOSTNAMES = "enableDnsHostnames" - ENABLE_NETWORK_ADDRESS_USAGE_METRICS = "enableNetworkAddressUsageMetrics" - -@dataclass(kw_only=True) -class VpcBlockPublicAccessExclusion(_SerdeShape): - """ - A VPC BPA exclusion is a mode that can be applied to a single VPC or - subnet that exempts it from the account's BPA mode and will allow - bidirectional or egress-only access. You can create BPA exclusions for - VPCs and subnets even when BPA is not enabled on the account to ensure - that there is no traffic disruption to the exclusions when VPC BPA is - turned on. To learn more about VPC BPA, see [Block public access to VPCs - and - subnets](https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html) - in the *Amazon VPC User Guide*. - """ - - exclusion_id: str | None = ... - """The ID of the exclusion.""" - internet_gateway_exclusion_mode: str | None = ... - """ - The exclusion mode for internet gateway traffic. - - - `allow-bidirectional`: Allow all internet traffic to and from the - excluded VPCs and subnets. - - - `allow-egress`: Allow outbound internet traffic from the excluded VPCs - and subnets. Block inbound internet traffic to the excluded VPCs and - subnets. Only applies when VPC Block Public Access is set to - Bidirectional. - """ - resource_arn: str | None = ... - """The ARN of the exclusion.""" - state: str | None = ... - """The state of the exclusion.""" - reason: str | None = ... - """The reason for the current exclusion state.""" - creation_timestamp: datetime | None = ... - """When the exclusion was created.""" - last_update_timestamp: datetime | None = ... - """When the exclusion was last updated.""" - deletion_timestamp: datetime | None = ... - """When the exclusion was deleted.""" - tags: list[Tag] | None = ... - """ - `tag` - 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 `Owner` - and the value `TeamA`, specify `tag:Owner` for the filter name and - `TeamA` for the filter value. - """ - -class VpcBlockPublicAccessExclusionsAllowed(UnknownEnumMixin, StrEnum): - ALLOWED = "allowed" - NOT_ALLOWED = "not-allowed" - -class VpcBlockPublicAccessExclusionState(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "create-in-progress" - CREATE_COMPLETE = "create-complete" - CREATE_FAILED = "create-failed" - UPDATE_IN_PROGRESS = "update-in-progress" - UPDATE_COMPLETE = "update-complete" - UPDATE_FAILED = "update-failed" - DELETE_IN_PROGRESS = "delete-in-progress" - DELETE_COMPLETE = "delete-complete" - DISABLE_IN_PROGRESS = "disable-in-progress" - DISABLE_COMPLETE = "disable-complete" - -@dataclass(kw_only=True) -class VpcBlockPublicAccessOptions(_SerdeShape): - """ - VPC Block Public Access (BPA) enables you to block resources in VPCs and - subnets that you own in a Region from reaching or being reached from the - internet through internet gateways and egress-only internet gateways. To - learn more about VPC BPA, see [Block public access to VPCs and - subnets](https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html) - in the *Amazon VPC User Guide*. - """ - - aws_account_id: str | None = ... - """An Amazon Web Services account ID.""" - aws_region: str | None = ... - """An Amazon Web Services Region.""" - state: str | None = ... - """The current state of VPC BPA.""" - internet_gateway_block_mode: str | None = ... - """ - The current mode of VPC BPA. - - - `off`: VPC BPA is not enabled and traffic is allowed to and from - internet gateways and egress-only internet gateways in this Region. - - - `block-bidirectional`: Block all traffic to and from internet gateways - and egress-only internet gateways in this Region (except for excluded - VPCs and subnets). - - - `block-ingress`: Block all internet traffic to the VPCs in this Region - (except for VPCs or subnets which are excluded). Only traffic to and - from NAT gateways and egress-only internet gateways is allowed because - these gateways only allow outbound connections to be established. - """ - reason: str | None = ... - """The reason for the current state.""" - last_update_timestamp: datetime | None = ... - """The last time the VPC BPA mode was updated.""" - managed_by: str | None = ... - """ - The entity that manages the state of VPC BPA. Possible values include: - - - `account` - The state is managed by the account. - - - `declarative-policy` - The state is managed by a declarative policy - and can't be modified by the account. - """ - exclusions_allowed: str | None = ... - """ - Determines if exclusions are allowed. If you have [enabled VPC BPA at - the Organization - level](https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html#security-vpc-bpa-exclusions-orgs), - exclusions may be `not-allowed`. Otherwise, they are `allowed`. - """ - -class VpcBlockPublicAccessState(UnknownEnumMixin, StrEnum): - DEFAULT_STATE = "default-state" - UPDATE_IN_PROGRESS = "update-in-progress" - UPDATE_COMPLETE = "update-complete" - -@dataclass(kw_only=True) -class VpcCidrBlockAssociation(_SerdeShape): - """Describes an IPv4 CIDR block associated with a VPC.""" - - association_id: str | None = ... - """The association ID for the IPv4 CIDR block.""" - cidr_block: str | None = ... - """The IPv4 CIDR block.""" - cidr_block_state: VpcCidrBlockState | None = ... - """Information about the state of the CIDR block.""" - -@dataclass(kw_only=True) -class VpcCidrBlockState(_SerdeShape): - """Describes the state of a CIDR block.""" - - state: str | None = ... - """The state of the CIDR block.""" - status_message: str | None = ... - """A message about the status of the CIDR block, if applicable.""" - -class VpcCidrBlockStateCode(UnknownEnumMixin, StrEnum): - ASSOCIATING = "associating" - ASSOCIATED = "associated" - DISASSOCIATING = "disassociating" - DISASSOCIATED = "disassociated" - FAILING = "failing" - FAILED = "failed" - -@dataclass(kw_only=True) -class VpcClassicLink(_SerdeShape): - """ - Note: - Deprecated. - - Describes whether a VPC is enabled for ClassicLink. - """ - - classic_link_enabled: bool | None = ... - """Indicates whether the VPC is enabled for ClassicLink.""" - tags: list[Tag] | None = ... - """Any tags assigned to the VPC.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - -@dataclass(kw_only=True) -class VpcEncryptionControl(_SerdeShape): - """ - Describes the configuration and state of VPC encryption controls. - - For more information, see [Enforce VPC encryption in - transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) - in the *Amazon VPC User Guide*. - """ - - vpc_id: str | None = ... - """The ID of the VPC associated with the encryption control configuration.""" - vpc_encryption_control_id: str | None = ... - """The ID of the VPC Encryption Control configuration.""" - mode: str | None = ... - """The encryption mode for the VPC Encryption Control configuration.""" - state: str | None = ... - """The current state of the VPC Encryption Control configuration.""" - state_message: str | None = ... - """ - A message providing additional information about the encryption control - state. - """ - resource_exclusions: VpcEncryptionControlExclusions | None = ... - """ - Information about resource exclusions for the VPC Encryption Control - configuration. - """ - tags: list[Tag] | None = ... - """The tags assigned to the VPC Encryption Control configuration.""" - -@dataclass(kw_only=True) -class VpcEncryptionControlConfiguration(_SerdeShape): - """ - Describes the configuration settings for VPC Encryption Control. - - For more information, see [Enforce VPC encryption in - transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) - in the *Amazon VPC User Guide*. - """ - - mode: str | None = ... - """The encryption mode for the VPC Encryption Control configuration.""" - internet_gateway_exclusion: str | None = ... - """ - Specifies whether to exclude internet gateway traffic from encryption - enforcement. - """ - egress_only_internet_gateway_exclusion: str | None = ... - """ - Specifies whether to exclude egress-only internet gateway traffic from - encryption enforcement. - """ - nat_gateway_exclusion: str | None = ... - """ - Specifies whether to exclude NAT gateway traffic from encryption - enforcement. - """ - virtual_private_gateway_exclusion: str | None = ... - """ - Specifies whether to exclude virtual private gateway traffic from - encryption enforcement. - """ - vpc_peering_exclusion: str | None = ... - """ - Specifies whether to exclude VPC peering connection traffic from - encryption enforcement. - """ - lambda_exclusion: str | None = ... - """ - Specifies whether to exclude Lambda function traffic from encryption - enforcement. - """ - vpc_lattice_exclusion: str | None = ... - """ - Specifies whether to exclude VPC Lattice traffic from encryption - enforcement. - """ - elastic_file_system_exclusion: str | None = ... - """ - Specifies whether to exclude Elastic File System traffic from encryption - enforcement. - """ - -@dataclass(kw_only=True) -class VpcEncryptionControlExclusion(_SerdeShape): - """ - Describes an exclusion configuration for VPC Encryption Control. - - For more information, see [Enforce VPC encryption in - transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) - in the *Amazon VPC User Guide*. - """ - - state: str | None = ... - """The current state of the exclusion configuration.""" - state_message: str | None = ... - """A message providing additional information about the exclusion state.""" - -@dataclass(kw_only=True) -class VpcEncryptionControlExclusions(_SerdeShape): - """ - Describes the exclusion configurations for various resource types in VPC - Encryption Control. - - For more information, see [Enforce VPC encryption in - transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) - in the *Amazon VPC User Guide*. - """ - - internet_gateway: VpcEncryptionControlExclusion | None = ... - """The exclusion configuration for internet gateway traffic.""" - egress_only_internet_gateway: VpcEncryptionControlExclusion | None = ... - """The exclusion configuration for egress-only internet gateway traffic.""" - nat_gateway: VpcEncryptionControlExclusion | None = ... - """The exclusion configuration for NAT gateway traffic.""" - virtual_private_gateway: VpcEncryptionControlExclusion | None = ... - """The exclusion configuration for virtual private gateway traffic.""" - vpc_peering: VpcEncryptionControlExclusion | None = ... - """The exclusion configuration for VPC peering connection traffic.""" - lambda_: VpcEncryptionControlExclusion | None = ... - """The exclusion configuration for Lambda function traffic.""" - vpc_lattice: VpcEncryptionControlExclusion | None = ... - """The exclusion configuration for VPC Lattice traffic.""" - elastic_file_system: VpcEncryptionControlExclusion | None = ... - """The exclusion configuration for Elastic File System traffic.""" - -class VpcEncryptionControlExclusionState(UnknownEnumMixin, StrEnum): - ENABLING = "enabling" - ENABLED = "enabled" - DISABLING = "disabling" - DISABLED = "disabled" - -class VpcEncryptionControlExclusionStateInput(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -class VpcEncryptionControlMode(UnknownEnumMixin, StrEnum): - MONITOR = "monitor" - ENFORCE = "enforce" - -class VpcEncryptionControlState(UnknownEnumMixin, StrEnum): - ENFORCE_IN_PROGRESS = "enforce-in-progress" - MONITOR_IN_PROGRESS = "monitor-in-progress" - ENFORCE_FAILED = "enforce-failed" - MONITOR_FAILED = "monitor-failed" - DELETING = "deleting" - DELETED = "deleted" - AVAILABLE = "available" - CREATING = "creating" - DELETE_FAILED = "delete-failed" - -@dataclass(kw_only=True) -class VpcEncryptionNonCompliantResource(_SerdeShape): - """ - Describes a resource that is not compliant with VPC encryption - requirements. - - For more information, see [Enforce VPC encryption in - transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) - in the *Amazon VPC User Guide*. - """ - - id: str | None = ... - """The ID of the non-compliant resource.""" - type: str | None = ... - """The type of the non-compliant resource.""" - description: str | None = ... - """A description of the non-compliant resource.""" - is_excludable: bool | None = ... - """ - Indicates whether the resource can be excluded from encryption - enforcement. - """ - -@dataclass(kw_only=True) -class VpcEndpoint(_SerdeShape): - """Describes a VPC endpoint.""" - - vpc_endpoint_id: str | None = ... - """The ID of the endpoint.""" - vpc_endpoint_type: str | None = ... - """ - The type of endpoint. - - For more information about the types of VPC endpoints, see [VPC - endpoints](https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html#concepts-vpc-endpoints) - in the *Amazon Web Services PrivateLink User Guide*. - """ - vpc_id: str | None = ... - """The ID of the VPC to which the endpoint is associated.""" - service_name: str | None = ... - """The name of the service to which the endpoint is associated.""" - state: str | None = ... - """The state of the endpoint.""" - policy_document: str | None = ... - """The policy document associated with the endpoint, if applicable.""" - route_table_ids: list[str] | None = ... - """ - (Gateway endpoint) The IDs of the route tables associated with the - endpoint. - """ - subnet_ids: list[str] | None = ... - """ - (Interface, Gateway Load Balancer endpoints, Resource, ServiceNetwork, - and Tunnel endpoints only) The subnets for the endpoint. - """ - groups: list[SecurityGroupIdentifier] | None = ... - """ - (Interface, Resource, ServiceNetwork, and Tunnel endpoints only) - Information about the security groups that are associated with the - network interface. - """ - ip_address_type: str | None = ... - """The IP address type for the endpoint.""" - dns_options: DnsOptions | None = ... - """The DNS options for the endpoint.""" - private_dns_enabled: bool | None = ... - """ - (Interface endpoint) Indicates whether the VPC is associated with a - private hosted zone. - """ - requester_managed: bool | None = ... - """Indicates whether the endpoint is being managed by its service.""" - network_interface_ids: list[str] | None = ... - """ - (Interface, Gateway Load Balancer endpoints, Resource, ServiceNetwork, - and Tunnel endpoints only) The network interfaces for the endpoint. - """ - dns_entries: list[DnsEntry] | None = ... - """(Interface endpoint) The DNS entries for the endpoint.""" - creation_timestamp: datetime | None = ... - """The date and time that the endpoint was created.""" - tags: list[Tag] | None = ... - """The tags assigned to the endpoint.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the endpoint.""" - last_error: LastError | None = ... - """The last error that occurred for endpoint.""" - ipv4_prefixes: list[SubnetIpPrefixes] | None = ... - """Array of IPv4 prefixes.""" - ipv6_prefixes: list[SubnetIpPrefixes] | None = ... - """Array of IPv6 prefixes.""" - failure_reason: str | None = ... - """Reason for the failure.""" - service_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of the service network.""" - resource_configuration_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource configuration.""" - service_region: str | None = ... - """The Region where the service is hosted.""" - payer_responsibilities: list[PayerResponsibilityEntry] | None = ... - """The payer responsibility settings for the endpoint.""" - -@dataclass(kw_only=True) -class VpcEndpointAssociation(_SerdeShape): - """ - Describes the VPC resources, VPC endpoint services, Lattice services, or - service networks associated with the VPC endpoint. - """ - - id: str | None = ... - """The ID of the VPC endpoint association.""" - vpc_endpoint_id: str | None = ... - """The ID of the VPC endpoint.""" - service_network_arn: str | None = ... - """The Amazon Resource Name (ARN) of the service network.""" - service_network_name: str | None = ... - """The name of the service network.""" - associated_resource_accessibility: str | None = ... - """ - The connectivity status of the resources associated to a VPC endpoint. - The resource is accessible if the associated resource configuration is - `AVAILABLE`, otherwise the resource is inaccessible. - """ - failure_reason: str | None = ... - """A message related to why an VPC endpoint association failed.""" - failure_code: str | None = ... - """An error code related to why an VPC endpoint association failed.""" - dns_entry: DnsEntry | None = ... - """The DNS entry of the VPC endpoint association.""" - private_dns_entry: DnsEntry | None = ... - """The private DNS entry of the VPC endpoint association.""" - associated_resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the associated resource.""" - resource_configuration_group_arn: str | None = ... - """The Amazon Resource Name (ARN) of the resource configuration group.""" - tags: list[Tag] | None = ... - """The tags to apply to the VPC endpoint association.""" - -@dataclass(kw_only=True) -class VpcEndpointConnection(_SerdeShape): - """Describes a VPC endpoint connection to a service.""" - - service_id: str | None = ... - """The ID of the service to which the endpoint is connected.""" - vpc_endpoint_id: str | None = ... - """The ID of the VPC endpoint.""" - vpc_endpoint_owner: str | None = ... - """The ID of the Amazon Web Services account that owns the VPC endpoint.""" - vpc_endpoint_state: str | None = ... - """The state of the VPC endpoint.""" - creation_timestamp: datetime | None = ... - """The date and time that the VPC endpoint was created.""" - dns_entries: list[DnsEntry] | None = ... - """The DNS entries for the VPC endpoint.""" - network_load_balancer_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the network load balancers for the - service. - """ - gateway_load_balancer_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the - service. - """ - ip_address_type: str | None = ... - """The IP address type for the endpoint.""" - vpc_endpoint_connection_id: str | None = ... - """The ID of the VPC endpoint connection.""" - tags: list[Tag] | None = ... - """The tags.""" - vpc_endpoint_region: str | None = ... - """The Region of the endpoint.""" - payer_responsibilities: list[PayerResponsibilityEntry] | None = ... - """The payer responsibility settings for the endpoint.""" - -class VpcEndpointType(UnknownEnumMixin, StrEnum): - INTERFACE = "Interface" - GATEWAY = "Gateway" - GATEWAY_LOAD_BALANCER = "GatewayLoadBalancer" - RESOURCE = "Resource" - SERVICE_NETWORK = "ServiceNetwork" - TUNNEL = "Tunnel" - -@dataclass(kw_only=True) -class VpcIpv6CidrBlockAssociation(_SerdeShape): - """Describes an IPv6 CIDR block associated with a VPC.""" - - association_id: str | None = ... - """The association ID for the IPv6 CIDR block.""" - ipv6_cidr_block: str | None = ... - """The IPv6 CIDR block.""" - ipv6_cidr_block_state: VpcCidrBlockState | None = ... - """Information about the state of the CIDR block.""" - network_border_group: str | None = ... - """ - The name of the unique set of Availability Zones, Local Zones, or - Wavelength Zones from which Amazon Web Services advertises IP addresses, - for example, `us-east-1-wl1-bos-wlz-1`. - """ - ipv6_pool: str | None = ... - """ - The ID of the IPv6 address pool from which the IPv6 CIDR block is - allocated. - """ - ipv6_address_attribute: str | None = ... - """ - Public IPv6 addresses are those advertised on the internet from Amazon - Web Services. Private IP addresses are not and cannot be advertised on - the internet from Amazon Web Services. - """ - ip_source: str | None = ... - """ - The source that allocated the IP address space. `byoip` or `amazon` - indicates public IP address space allocated by Amazon or space that you - have allocated with Bring your own IP (BYOIP). `none` indicates private - space. - """ - -@dataclass(kw_only=True) -class VpcPeeringConnection(_SerdeShape): - """Describes a VPC peering connection.""" - - accepter_vpc_info: VpcPeeringConnectionVpcInfo | None = ... - """ - Information about the accepter VPC. CIDR block information is only - returned when describing an active VPC peering connection. - """ - expiration_time: datetime | None = ... - """The time that an unaccepted VPC peering connection will expire.""" - requester_vpc_info: VpcPeeringConnectionVpcInfo | None = ... - """ - Information about the requester VPC. CIDR block information is only - returned when describing an active VPC peering connection. - """ - status: VpcPeeringConnectionStateReason | None = ... - """The status of the VPC peering connection.""" - tags: list[Tag] | None = ... - """Any tags assigned to the resource.""" - vpc_peering_connection_id: str | None = ... - """The ID of the VPC peering connection.""" - -@dataclass(kw_only=True) -class VpcPeeringConnectionOptionsDescription(_SerdeShape): - """Describes the VPC peering connection options.""" - - allow_dns_resolution_from_remote_vpc: bool | None = ... - """ - Indicates whether a local VPC can resolve public DNS hostnames to - private IP addresses when queried from instances in a peer VPC. - """ - allow_egress_from_local_classic_link_to_remote_vpc: bool | None = ... - """Deprecated.""" - allow_egress_from_local_vpc_to_remote_classic_link: bool | None = ... - """Deprecated.""" - -@dataclass(kw_only=True) -class VpcPeeringConnectionStateReason(_SerdeShape): - """Describes the status of a VPC peering connection.""" - - code: str | None = ... - """The status of the VPC peering connection.""" - message: str | None = ... - """ - A message that provides more information about the status, if - applicable. - """ - -class VpcPeeringConnectionStateReasonCode(UnknownEnumMixin, StrEnum): - INITIATING_REQUEST = "initiating-request" - PENDING_ACCEPTANCE = "pending-acceptance" - ACTIVE = "active" - DELETED = "deleted" - REJECTED = "rejected" - FAILED = "failed" - EXPIRED = "expired" - PROVISIONING = "provisioning" - DELETING = "deleting" - -@dataclass(kw_only=True) -class VpcPeeringConnectionVpcInfo(_SerdeShape): - """Describes a VPC in a VPC peering connection.""" - - cidr_block: str | None = ... - """The IPv4 CIDR block for the VPC.""" - ipv6_cidr_block_set: list[Ipv6CidrBlock] | None = ... - """The IPv6 CIDR block for the VPC.""" - cidr_block_set: list[CidrBlock] | None = ... - """Information about the IPv4 CIDR blocks for the VPC.""" - owner_id: str | None = ... - """The ID of the Amazon Web Services account that owns the VPC.""" - peering_options: VpcPeeringConnectionOptionsDescription | None = ... - """ - Information about the VPC peering connection options for the accepter or - requester VPC. - """ - vpc_id: str | None = ... - """The ID of the VPC.""" - region: str | None = ... - """The Region in which the VPC is located.""" - -class VpcState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - -class VpcTenancy(UnknownEnumMixin, StrEnum): - DEFAULT = "default" - -@dataclass(kw_only=True) -class VpnConcentrator(_SerdeShape): - """Describes a VPN concentrator.""" - - vpn_concentrator_id: str | None = ... - """The ID of the VPN concentrator.""" - state: str | None = ... - """The current state of the VPN concentrator.""" - transit_gateway_id: str | None = ... - """The ID of the transit gateway associated with the VPN concentrator.""" - transit_gateway_attachment_id: str | None = ... - """The ID of the transit gateway attachment for the VPN concentrator.""" - type: str | None = ... - """The type of VPN concentrator.""" - tags: list[Tag] | None = ... - """Any tags assigned to the VPN concentrator.""" - -class VpnConcentratorType(UnknownEnumMixin, StrEnum): - IPSEC_1 = "ipsec.1" - -@dataclass(kw_only=True) -class VpnConnection(_SerdeShape): - """Describes a VPN connection.""" - - category: str | None = ... - """ - The category of the VPN connection. A value of `VPN` indicates an Amazon - Web Services VPN connection. A value of `VPN-Classic` indicates an - Amazon Web Services Classic VPN connection. - """ - transit_gateway_id: str | None = ... - """The ID of the transit gateway associated with the VPN connection.""" - vpn_concentrator_id: str | None = ... - """The ID of the VPN concentrator associated with the VPN connection.""" - core_network_arn: str | None = ... - """The ARN of the core network.""" - core_network_attachment_arn: str | None = ... - """The ARN of the core network attachment.""" - gateway_association_state: str | None = ... - """The current state of the gateway association.""" - options: VpnConnectionOptions | None = ... - """The VPN connection options.""" - routes: list[VpnStaticRoute] | None = ... - """The static routes associated with the VPN connection.""" - tags: list[Tag] | None = ... - """Any tags assigned to the VPN connection.""" - vgw_telemetry: list[VgwTelemetry] | None = ... - """Information about the VPN tunnel.""" - pre_shared_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Secrets Manager secret storing the - pre-shared key(s) for the VPN connection. - """ - vpn_connection_id: str | None = ... - """The ID of the VPN connection.""" - state: str | None = ... - """The current state of the VPN connection.""" - customer_gateway_configuration: str | None = ... - """ - The configuration information for the VPN connection's customer gateway - (in the native XML format). This element is always present in the - CreateVpnConnection response; however, it's present in the - DescribeVpnConnections response only if the VPN connection is in the - `pending` or `available` state. - """ - type: str | None = ... - """The type of VPN connection.""" - customer_gateway_id: str | None = ... - """The ID of the customer gateway at your end of the VPN connection.""" - vpn_gateway_id: str | None = ... - """ - The ID of the virtual private gateway at the Amazon Web Services side of - the VPN connection. - """ - -@dataclass(kw_only=True) -class VpnConnectionDeviceType(_SerdeShape): - """ - List of customer gateway devices that have a sample configuration file - available for use. You can also see the list of device types with sample - configuration files available under [Your customer gateway - device](https://docs.aws.amazon.com/vpn/latest/s2svpn/your-cgw.html) in - the *Amazon Web Services Site-to-Site VPN User Guide*. - """ - - vpn_connection_device_type_id: str | None = ... - """Customer gateway device identifier.""" - vendor: str | None = ... - """Customer gateway device vendor.""" - platform: str | None = ... - """Customer gateway device platform.""" - software: str | None = ... - """Customer gateway device software version.""" - -@dataclass(kw_only=True) -class VpnConnectionOptions(_SerdeShape): - """Describes VPN connection options.""" - - enable_acceleration: bool | None = ... - """Indicates whether acceleration is enabled for the VPN connection.""" - static_routes_only: bool | None = ... - """ - Indicates whether the VPN connection uses static routes only. Static - routes must be used for devices that don't support BGP. - """ - local_ipv4_network_cidr: str | None = ... - """ - The IPv4 CIDR on the customer gateway (on-premises) side of the VPN - connection. - """ - remote_ipv4_network_cidr: str | None = ... - """The IPv4 CIDR on the Amazon Web Services side of the VPN connection.""" - local_ipv6_network_cidr: str | None = ... - """ - The IPv6 CIDR on the customer gateway (on-premises) side of the VPN - connection. - """ - remote_ipv6_network_cidr: str | None = ... - """The IPv6 CIDR on the Amazon Web Services side of the VPN connection.""" - outside_ip_address_type: str | None = ... - """ - The type of IPv4 address assigned to the outside interface of the - customer gateway. - - Valid values: `PrivateIpv4` | `PublicIpv4` | `Ipv6` - - Default: `PublicIpv4` - """ - transport_transit_gateway_attachment_id: str | None = ... - """The transit gateway attachment ID in use for the VPN tunnel.""" - tunnel_inside_ip_version: str | None = ... - """Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.""" - tunnel_options: list[TunnelOption] | None = ... - """Indicates the VPN tunnel options.""" - tunnel_bandwidth: str | None = ... - """ - The configured bandwidth for the VPN tunnel. Represents the current - throughput capacity setting for the tunnel connection. `standard` tunnel - bandwidth supports up to 1.25 Gbps per tunnel while `large` supports up - to 5 Gbps per tunnel. If no tunnel bandwidth was specified for the - connection, `standard` is used as the default value. - """ - -@dataclass(kw_only=True) -class VpnConnectionOptionsSpecification(_SerdeShape): - """Describes VPN connection options.""" - - enable_acceleration: bool | None = ... - """ - Indicate whether to enable acceleration for the VPN connection. - - Default: `false` - """ - tunnel_inside_ip_version: str | None = ... - """ - Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. - - Default: `ipv4` - """ - tunnel_options: list[VpnTunnelOptionsSpecification] | None = ... - """The tunnel options for the VPN connection.""" - local_ipv4_network_cidr: str | None = ... - """ - The IPv4 CIDR on the customer gateway (on-premises) side of the VPN - connection. - - Default: `0.0.0.0/0` - """ - remote_ipv4_network_cidr: str | None = ... - """ - The IPv4 CIDR on the Amazon Web Services side of the VPN connection. - - Default: `0.0.0.0/0` - """ - local_ipv6_network_cidr: str | None = ... - """ - The IPv6 CIDR on the customer gateway (on-premises) side of the VPN - connection. - - Default: `::/0` - """ - remote_ipv6_network_cidr: str | None = ... - """ - The IPv6 CIDR on the Amazon Web Services side of the VPN connection. - - Default: `::/0` - """ - outside_ip_address_type: str | None = ... - """ - The type of IP address assigned to the outside interface of the customer - gateway device. - - Valid values: `PrivateIpv4` | `PublicIpv4` | `Ipv6` - - Default: `PublicIpv4` - """ - transport_transit_gateway_attachment_id: str | None = ... - """ - The transit gateway attachment ID to use for the VPN tunnel. - - Required if `OutsideIpAddressType` is set to `PrivateIpv4`. - """ - tunnel_bandwidth: str | None = ... - """ - The desired bandwidth specification for the VPN tunnel, used when - creating or modifying VPN connection options to set the tunnel's - throughput capacity. `standard` supports up to 1.25 Gbps per tunnel, - while `large` supports up to 5 Gbps per tunnel. The default value is - `standard`. Existing VPN connections without a bandwidth setting will - automatically default to `standard`. - """ - static_routes_only: bool | None = ... - """ - Indicate whether the VPN connection uses static routes only. If you are - creating a VPN connection for a device that does not support BGP, you - must specify `true`. Use CreateVpnConnectionRoute to create a static - route. - - Default: `false` - """ - -class VpnEcmpSupportValue(UnknownEnumMixin, StrEnum): - ENABLE = "enable" - DISABLE = "disable" - -@dataclass(kw_only=True) -class VpnGateway(_SerdeShape): - """Describes a virtual private gateway.""" - - amazon_side_asn: int | None = ... - """ - The private Autonomous System Number (ASN) for the Amazon side of a BGP - session. - """ - tags: list[Tag] | None = ... - """Any tags assigned to the virtual private gateway.""" - vpn_gateway_id: str | None = ... - """The ID of the virtual private gateway.""" - state: str | None = ... - """The current state of the virtual private gateway.""" - type: str | None = ... - """The type of VPN connection the virtual private gateway supports.""" - availability_zone: str | None = ... - """ - The Availability Zone where the virtual private gateway was created, if - applicable. This field may be empty or not returned. - """ - vpc_attachments: list[VpcAttachment] | None = ... - """Any VPCs attached to the virtual private gateway.""" - -class VpnProtocol(UnknownEnumMixin, StrEnum): - OPENVPN = "openvpn" - -class VpnState(UnknownEnumMixin, StrEnum): - PENDING = "pending" - AVAILABLE = "available" - DELETING = "deleting" - DELETED = "deleted" - -@dataclass(kw_only=True) -class VpnStaticRoute(_SerdeShape): - """Describes a static route for a VPN connection.""" - - destination_cidr_block: str | None = ... - """ - The CIDR block associated with the local subnet of the customer data - center. - """ - source: str | None = ... - """Indicates how the routes were provided.""" - state: str | None = ... - """The current state of the static route.""" - -class VpnStaticRouteSource(UnknownEnumMixin, StrEnum): - STATIC = "Static" - -class VpnTunnelBandwidth(UnknownEnumMixin, StrEnum): - STANDARD = "standard" - LARGE = "large" - -@dataclass(kw_only=True) -class VpnTunnelLogOptions(_SerdeShape): - """Options for logging VPN tunnel activity.""" - - cloud_watch_log_options: CloudWatchLogOptions | None = ... - """Options for sending VPN tunnel logs to CloudWatch.""" - -@dataclass(kw_only=True) -class VpnTunnelLogOptionsSpecification(_SerdeShape): - """Options for logging VPN tunnel activity.""" - - cloud_watch_log_options: CloudWatchLogOptionsSpecification | None = ... - """Options for sending VPN tunnel logs to CloudWatch.""" - -@dataclass(kw_only=True) -class VpnTunnelOptionsSpecification(_SerdeShape): - """The tunnel options for a single VPN tunnel.""" - - tunnel_inside_cidr: str | None = ... - """ - The range of inside IPv4 addresses for the tunnel. Any specified CIDR - blocks must be unique across all VPN connections that use the same - virtual private gateway. - - Constraints: A size /30 CIDR block from the `169.254.0.0/16` range. The - following CIDR blocks are reserved and cannot be used: - - - `169.254.0.0/30` - - - `169.254.1.0/30` - - - `169.254.2.0/30` - - - `169.254.3.0/30` - - - `169.254.4.0/30` - - - `169.254.5.0/30` - - - `169.254.169.252/30` - """ - tunnel_inside_ipv6_cidr: str | None = ... - """ - The range of inside IPv6 addresses for the tunnel. Any specified CIDR - blocks must be unique across all VPN connections that use the same - transit gateway. - - Constraints: A size /126 CIDR block from the local `fd00::/8` range. - """ - pre_shared_key: str | None = ... - """ - The pre-shared key (PSK) to establish initial authentication between the - virtual private gateway and customer gateway. - - Constraints: Allowed characters are alphanumeric characters, periods - (.), and underscores (_). Must be between 8 and 64 characters in length - and cannot start with zero (0). - """ - phase1_lifetime_seconds: int | None = ... - """ - The lifetime for phase 1 of the IKE negotiation, in seconds. - - Constraints: A value between 900 and 28,800. - - Default: `28800` - """ - phase2_lifetime_seconds: int | None = ... - """ - The lifetime for phase 2 of the IKE negotiation, in seconds. - - Constraints: A value between 900 and 3,600. The value must be less than - the value for `Phase1LifetimeSeconds`. - - Default: `3600` - """ - rekey_margin_time_seconds: int | None = ... - """ - The margin time, in seconds, before the phase 2 lifetime expires, during - which the Amazon Web Services side of the VPN connection performs an IKE - rekey. The exact time of the rekey is randomly selected based on the - value for `RekeyFuzzPercentage`. - - Constraints: A value between 60 and half of `Phase2LifetimeSeconds`. - - Default: `270` - """ - rekey_fuzz_percentage: int | None = ... - """ - The percentage of the rekey window (determined by - `RekeyMarginTimeSeconds`) during which the rekey time is randomly - selected. - - Constraints: A value between 0 and 100. - - Default: `100` - """ - replay_window_size: int | None = ... - """ - The number of packets in an IKE replay window. - - Constraints: A value between 64 and 2048. - - Default: `1024` - """ - dpd_timeout_seconds: int | None = ... - """ - The number of seconds after which a DPD timeout occurs. - - Constraints: A value greater than or equal to 30. - - Default: `30` - """ - dpd_timeout_action: str | None = ... - """ - The action to take after DPD timeout occurs. Specify `restart` to - restart the IKE initiation. Specify `clear` to end the IKE session. - - Valid Values: `clear` | `none` | `restart` - - Default: `clear` - """ - phase1_encryption_algorithms: ( - list[Phase1EncryptionAlgorithmsRequestListValue] | None - ) = ... - """ - One or more encryption algorithms that are permitted for the VPN tunnel - for phase 1 IKE negotiations. - - Valid values: `AES128` | `AES256` | `AES128-GCM-16` | `AES256-GCM-16` - """ - phase2_encryption_algorithms: ( - list[Phase2EncryptionAlgorithmsRequestListValue] | None - ) = ... - """ - One or more encryption algorithms that are permitted for the VPN tunnel - for phase 2 IKE negotiations. - - Valid values: `AES128` | `AES256` | `AES128-GCM-16` | `AES256-GCM-16` - """ - phase1_integrity_algorithms: ( - list[Phase1IntegrityAlgorithmsRequestListValue] | None - ) = ... - """ - One or more integrity algorithms that are permitted for the VPN tunnel - for phase 1 IKE negotiations. - - Valid values: `SHA1` | `SHA2-256` | `SHA2-384` | `SHA2-512` - """ - phase2_integrity_algorithms: ( - list[Phase2IntegrityAlgorithmsRequestListValue] | None - ) = ... - """ - One or more integrity algorithms that are permitted for the VPN tunnel - for phase 2 IKE negotiations. - - Valid values: `SHA1` | `SHA2-256` | `SHA2-384` | `SHA2-512` - """ - phase1_dh_group_numbers: list[Phase1DHGroupNumbersRequestListValue] | None = ... - """ - One or more Diffie-Hellman group numbers that are permitted for the VPN - tunnel for phase 1 IKE negotiations. - - Valid values: `2` | `14` | `15` | `16` | `17` | `18` | `19` | - `20` | `21` | `22` | `23` | `24` - """ - phase2_dh_group_numbers: list[Phase2DHGroupNumbersRequestListValue] | None = ... - """ - One or more Diffie-Hellman group numbers that are permitted for the VPN - tunnel for phase 2 IKE negotiations. - - Valid values: `2` | `5` | `14` | `15` | `16` | `17` | `18` | `19` - | `20` | `21` | `22` | `23` | `24` - """ - ike_versions: list[IKEVersionsRequestListValue] | None = ... - """ - The IKE versions that are permitted for the VPN tunnel. - - Valid values: `ikev1` | `ikev2` - """ - startup_action: str | None = ... - """ - The action to take when the establishing the tunnel for the VPN - connection. By default, your customer gateway device must initiate the - IKE negotiation and bring up the tunnel. Specify `start` for Amazon Web - Services to initiate the IKE negotiation. - - Valid Values: `add` | `start` - - Default: `add` - """ - log_options: VpnTunnelLogOptionsSpecification | None = ... - """Options for logging VPN tunnel activity.""" - enable_tunnel_lifecycle_control: bool | None = ... - """Turn on or off tunnel endpoint lifecycle control feature.""" - -class VpnTunnelProvisioningStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - PENDING = "pending" - FAILED = "failed" - -class WeekDay(UnknownEnumMixin, StrEnum): - SUNDAY = "sunday" - MONDAY = "monday" - TUESDAY = "tuesday" - WEDNESDAY = "wednesday" - THURSDAY = "thursday" - FRIDAY = "friday" - SATURDAY = "saturday" - -@dataclass(kw_only=True) -class WithdrawByoipCidrInput(_SerdeShape): - """Dataclass for WithdrawByoipCidrInput structure.""" - - cidr: str | None = ... - """The address range, in CIDR notation.""" - dry_run: bool | None = ... - """ - 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 `DryRunOperation`. - Otherwise, it is `UnauthorizedOperation`. - """ - -@dataclass(kw_only=True) -class WithdrawByoipCidrOutput(_SerdeShape): - """Dataclass for WithdrawByoipCidrOutput structure.""" - - byoip_cidr: ByoipCidr | None = ... - """Information about the address pool.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ZeroSizePreference(UnknownEnumMixin, StrEnum): - RETAIN = "retain" - DEFAULT = "default" - ACCEPT_ADDRESS_TRANSFER: APIOperation[ AcceptAddressTransferInput, AcceptAddressTransferOutput ] diff --git a/clients/aws-sdk-ec2/tests/test_endpoints.py b/clients/aws-sdk-ec2/tests/test_endpoints.py index 3107c9291..3ced2bba7 100644 --- a/clients/aws-sdk-ec2/tests/test_endpoints.py +++ b/clients/aws-sdk-ec2/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-ecs/pyproject.toml b/clients/aws-sdk-ecs/pyproject.toml index 9442e2cb0..9c34d1312 100644 --- a/clients/aws-sdk-ecs/pyproject.toml +++ b/clients/aws-sdk-ecs/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_ecs" version = "0.12.0" -description = "aws_sdk_ecs client" +description = "Python client for Amazon EC2 Container Service" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_ecs"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/models_0.pyi b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/models_0.pyi new file mode 100644 index 000000000..06487cac9 --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/models_0.pyi @@ -0,0 +1,7624 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + GatewayConnectorHealthCheckMatcher, + GatewayElbAccessLogConfiguration, + GatewayElbNetworkConfiguration, + GatewayResourceFailure, + GatewayResources, + GatewayRoute, + GatewayTestTrafficHeader, + GpuDevice, + HealthCheck, + HostEntry, + HostSharedAlbConfiguration, + HostVolumeProperties, + InfrastructureOptimization, + IngressPathSummary, + InstanceHealthCheckResult, + InstanceLaunchTemplate, + KernelCapabilities, + KeyValuePair, + LinearConfiguration, + LinuxParameters, + LoadBalancer, + LogConfiguration, + LogDriverVolumeConfiguration, + ManagedAgent, + ManagedAutoScaling, + ManagedIngressPath, + ManagedInstancesProvider, + ManagedLogGroup, + ManagedMetricAlarm, + ManagedScaling, + ManagedSecurityGroup, + ManagedStorageConfiguration, + MonitoringConfiguration, + MountPoint, + NetworkBinding, + NetworkConfiguration, + NetworkInterface, + PlacementConstraint, + PlacementStrategy, + PortMapping, + RepositoryCredentials, + Resource, + ResourceRequirement, + Scale, + Secret, + Service, + ServiceConnectConfiguration, + ServiceConnectServiceResource, + ServiceDeployment, + ServiceError, + ServiceRegistry, + ServiceRevision, + ServiceVolumeConfiguration, + Session, + Setting, + SharingStrategy, + SystemControl, + Tag, + Task, + TaskDefinition, + TaskSet, + ThresholdConfiguration, + Tmpfs, + Ulimit, + VersionInfo, + VolumeFrom, + VpcLatticeConfiguration, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AcceleratorCountRequest(_SerdeShape): + """ + The minimum and maximum number of accelerators (such as GPUs) for + instance type selection. This is used for workloads that require + specific numbers of accelerators. + """ + + min: int | None = ... + """ + The minimum number of accelerators. Instance types with fewer + accelerators are excluded from selection. + """ + max: int | None = ... + """ + The maximum number of accelerators. Instance types with more + accelerators are excluded from selection. + """ + +class AcceleratorManufacturer(UnknownEnumMixin, StrEnum): + AMAZON_WEB_SERVICES = "amazon-web-services" + AMD = "amd" + NVIDIA = "nvidia" + XILINX = "xilinx" + HABANA = "habana" + +class AcceleratorName(UnknownEnumMixin, StrEnum): + A100 = "a100" + INFERENTIA = "inferentia" + K520 = "k520" + K80 = "k80" + M60 = "m60" + RADEON_PRO_V520 = "radeon-pro-v520" + T4 = "t4" + VU9_P = "vu9p" + V100 = "v100" + A10_G = "a10g" + H100 = "h100" + T4_G = "t4g" + L40_S = "l40s" + L4 = "l4" + +@dataclass(kw_only=True) +class AcceleratorTotalMemoryMiBRequest(_SerdeShape): + """ + The minimum and maximum total accelerator memory in mebibytes (MiB) for + instance type selection. This is important for GPU workloads that + require specific amounts of video memory. + """ + + min: int | None = ... + """ + The minimum total accelerator memory in MiB. Instance types with less + accelerator memory are excluded from selection. + """ + max: int | None = ... + """ + The maximum total accelerator memory in MiB. Instance types with more + accelerator memory are excluded from selection. + """ + +class AcceleratorType(UnknownEnumMixin, StrEnum): + GPU = "gpu" + FPGA = "fpga" + INFERENCE = "inference" + +@dataclass(kw_only=True) +class AccessDeniedException(ServiceError, _SerdeShape): + """You don't have authorization to perform the requested action.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AccessType(UnknownEnumMixin, StrEnum): + """ + Specifies whether a resource is publicly accessible from the internet or + private to a VPC. + """ + + PUBLIC = "PUBLIC" + """The resource is publicly accessible from the internet.""" + PRIVATE = "PRIVATE" + """The resource is private and reachable only from within the VPC.""" + +@dataclass(kw_only=True) +class AdvancedConfiguration(_SerdeShape): + """ + The advanced settings for a load balancer used in blue/green + deployments. Specify the alternate target group, listener rules, and IAM + role required for traffic shifting during blue/green deployments. For + more information, see [Required resources for Amazon ECS blue/green + deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-deployment-implementation.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + alternate_target_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the alternate target group for Amazon + ECS blue/green deployments. + """ + production_listener_rule: str | None = ... + """ + The Amazon Resource Name (ARN) that that identifies the production + listener rule (in the case of an Application Load Balancer) or listener + (in the case for an Network Load Balancer) for routing production + traffic. + """ + test_listener_rule: str | None = ... + """ + The Amazon Resource Name (ARN) that identifies ) that identifies the + test listener rule (in the case of an Application Load Balancer) or + listener (in the case for an Network Load Balancer) for routing test + traffic. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS + permission to call the Elastic Load Balancing APIs for you. + """ + +class AgentUpdateStatus(UnknownEnumMixin, StrEnum): + PENDING = "PENDING" + STAGING = "STAGING" + STAGED = "STAGED" + UPDATING = "UPDATING" + UPDATED = "UPDATED" + FAILED = "FAILED" + +class ApplicationProtocol(UnknownEnumMixin, StrEnum): + HTTP = "http" + HTTP2 = "http2" + GRPC = "grpc" + +class AssignPublicIp(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class AssociateGatewayWithClusterInput(_SerdeShape): + """Dataclass for AssociateGatewayWithClusterInput structure.""" + + gateway: str | None = ... + """The name or Amazon Resource Name (ARN) of the gateway to associate.""" + cluster: str | None = ... + """ + The name or Amazon Resource Name (ARN) of the cluster to associate the + gateway with. + """ + +@dataclass(kw_only=True) +class AssociateGatewayWithClusterOutput(_SerdeShape): + """Dataclass for AssociateGatewayWithClusterOutput structure.""" + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster.""" + status: str | None = ... + """The status of the association. A new association is `ACTIVE`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Attachment(_SerdeShape): + """An object representing a container instance or task attachment.""" + + id: str | None = ... + """The unique identifier for the attachment.""" + type: str | None = ... + """ + The type of the attachment, such as `ElasticNetworkInterface`, + `Service Connect`, and `AmazonElasticBlockStorage`. + """ + status: str | None = ... + """ + The status of the attachment. Valid values are `PRECREATED`, `CREATED`, + `ATTACHING`, `ATTACHED`, `DETACHING`, `DETACHED`, `DELETED`, and + `FAILED`. + """ + details: list[KeyValuePair] | None = ... + """ + Details of the attachment. + + For elastic network interfaces, this includes the network interface ID, + the MAC address, the subnet ID, and the private IPv4 address. + + For Service Connect services, this includes `portName`, `clientAliases`, + `discoveryName`, and `ingressPortOverride`. + + For Elastic Block Storage, this includes `roleArn`, + `deleteOnTermination`, `volumeName`, `volumeId`, and `statusReason` + (only when the attachment fails to create or attach). + """ + +@dataclass(kw_only=True) +class AttachmentStateChange(_SerdeShape): + """An object representing a change in state for a task attachment.""" + + attachment_arn: str + """The Amazon Resource Name (ARN) of the attachment.""" + status: str + """The status of the attachment.""" + +class AttestationPolicyStatus(UnknownEnumMixin, StrEnum): + """ + The status of the attestation policy for a task that uses the + `CONFIDENTIAL_SANDBOX` isolation mode. + """ + + CONFIGURED = "CONFIGURED" + """An attestation policy is configured for the task.""" + +@dataclass(kw_only=True) +class Attribute(_SerdeShape): + """ + An attribute is a name-value pair that's associated with an Amazon ECS + object. Use attributes to extend the Amazon ECS data model by adding + custom metadata to your resources. For more information, see + [Attributes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + name: str + """ + The name of the attribute. The `name` must contain between 1 and 128 + characters. The name may contain letters (uppercase and lowercase), + numbers, hyphens (-), underscores (_), forward slashes (/), back + slashes (\\), or periods (.). + """ + value: str | None = ... + """ + The value of the attribute. The `value` must contain between 1 and 128 + characters. It can contain letters (uppercase and lowercase), numbers, + hyphens (-), underscores (_), periods (.), at signs (@), forward + slashes (/), back slashes (\\), colons (:), or spaces. The value can't + start or end with a space. + """ + target_type: str | None = ... + """ + The type of the target to attach the attribute with. This parameter is + required if you use the short form ID for a resource instead of the full + ARN. + """ + target_id: str | None = ... + """ + The ID of the target. You can specify the short form ID for a resource + or the full Amazon Resource Name (ARN). + """ + +@dataclass(kw_only=True) +class AttributeLimitExceededException(ServiceError, _SerdeShape): + """ + You can apply up to 10 custom attributes for each resource. You can view + the attributes of a resource with + [ListAttributes](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListAttributes.html). + You can remove existing attributes on a resource with + [DeleteAttributes](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteAttributes.html). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AutoRepairActionsStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class AutoRepairConfiguration(_SerdeShape): + """ + The auto repair configuration for an Amazon ECS Managed Instances + capacity provider. When enabled, Amazon ECS automatically replaces + container instances that are detected as unhealthy based on container + instance health checks, including accelerated compute device and daemon + health checks. + """ + + actions_status: str | None = ... + """ + The status of auto repair actions for the capacity provider. When set to + `ENABLED`, Amazon ECS automatically replaces container instances with an + `IMPAIRED` health status. When set to `DISABLED`, Amazon ECS still + monitors container instance health but does not automatically replace + impaired instances. + """ + +@dataclass(kw_only=True) +class AutoScalingGroupProvider(_SerdeShape): + """The details of the Auto Scaling group for the capacity provider.""" + + auto_scaling_group_arn: str + """ + The Amazon Resource Name (ARN) that identifies the Auto Scaling group, + or the Auto Scaling group name. + """ + managed_scaling: ManagedScaling | None = ... + """ + The managed scaling settings for the Auto Scaling group capacity + provider. + """ + managed_termination_protection: str | None = ... + """ + The managed termination protection setting to use for the Auto Scaling + group capacity provider. This determines whether the Auto Scaling group + has managed termination protection. The default is off. + + Warning: + When using managed termination protection, managed scaling must also be + used otherwise managed termination protection doesn't work. + + When managed termination protection is on, Amazon ECS prevents the + Amazon EC2 instances in an Auto Scaling group that contain tasks from + being terminated during a scale-in action. The Auto Scaling group and + each instance in the Auto Scaling group must have instance protection + from scale-in actions on as well. For more information, see [Instance + Protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection) + in the *Auto Scaling User Guide*. + + When managed termination protection is off, your Amazon EC2 instances + aren't protected from termination when the Auto Scaling group scales + in. + """ + managed_draining: str | None = ... + """ + The managed draining option for the Auto Scaling group capacity + provider. When you enable this, Amazon ECS manages and gracefully drains + the EC2 container instances that are in the Auto Scaling group capacity + provider. + """ + +@dataclass(kw_only=True) +class AutoScalingGroupProviderUpdate(_SerdeShape): + """The details of the Auto Scaling group capacity provider to update.""" + + managed_scaling: ManagedScaling | None = ... + """ + The managed scaling settings for the Auto Scaling group capacity + provider. + """ + managed_termination_protection: str | None = ... + """ + The managed termination protection setting to use for the Auto Scaling + group capacity provider. This determines whether the Auto Scaling group + has managed termination protection. + + Warning: + When using managed termination protection, managed scaling must also be + used otherwise managed termination protection doesn't work. + + When managed termination protection is on, Amazon ECS prevents the + Amazon EC2 instances in an Auto Scaling group that contain tasks from + being terminated during a scale-in action. The Auto Scaling group and + each instance in the Auto Scaling group must have instance protection + from scale-in actions on. For more information, see [Instance + Protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection) + in the *Auto Scaling User Guide*. + + When managed termination protection is off, your Amazon EC2 instances + aren't protected from termination when the Auto Scaling group scales + in. + """ + managed_draining: str | None = ... + """ + The managed draining option for the Auto Scaling group capacity + provider. When you enable this, Amazon ECS manages and gracefully drains + the EC2 container instances that are in the Auto Scaling group capacity + provider. + """ + +class AvailabilityZoneRebalancing(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class AwsVpcConfiguration(_SerdeShape): + """ + An object representing the networking details for a task or service. For + example + `awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}`. + """ + + subnets: list[str] + """ + The IDs of the subnets associated with the task or service. There's a + limit of 16 subnets that can be specified. + + Note: + All specified subnets must be from the same VPC. + """ + security_groups: list[str] | None = ... + """ + The IDs of the security groups associated with the task or service. If + you don't specify a security group, the default security group for the + VPC is used. There's a limit of 5 security groups that can be + specified. + + Note: + All specified security groups must be from the same VPC. + """ + assign_public_ip: str | None = ... + """ + Whether the task's elastic network interface receives a public IP + address. + + Consider the following when you set this value: + + - When you use `create-service` or `update-service`, the default is + `DISABLED`. + + - When the service `deploymentController` is `ECS`, the value must be + `DISABLED`. + """ + +class BareMetal(UnknownEnumMixin, StrEnum): + INCLUDED = "included" + REQUIRED = "required" + EXCLUDED = "excluded" + +@dataclass(kw_only=True) +class BaselineEbsBandwidthMbpsRequest(_SerdeShape): + """ + The minimum and maximum baseline Amazon EBS bandwidth in megabits per + second (Mbps) for instance type selection. This is important for + workloads with high storage I/O requirements. + """ + + min: int | None = ... + """ + The minimum baseline Amazon EBS bandwidth in Mbps. Instance types with + lower Amazon EBS bandwidth are excluded from selection. + """ + max: int | None = ... + """ + The maximum baseline Amazon EBS bandwidth in Mbps. Instance types with + higher Amazon EBS bandwidth are excluded from selection. + """ + +@dataclass(kw_only=True) +class BlockedException(ServiceError, _SerdeShape): + """ + Your Amazon Web Services account was blocked. For more information, + contact [Amazon Web Services + Support](http://aws.amazon.com/contact-us/). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class BurstablePerformance(UnknownEnumMixin, StrEnum): + INCLUDED = "included" + REQUIRED = "required" + EXCLUDED = "excluded" + +@dataclass(kw_only=True) +class CanaryConfiguration(_SerdeShape): + """ + Configuration for a canary deployment strategy that shifts a fixed + percentage of traffic to the new service revision, waits for a specified + bake time, then shifts the remaining traffic. + + This is only valid when you run `CreateService` or `UpdateService` with + `deploymentController` set to `ECS` and a `deploymentConfiguration` with + a strategy set to `CANARY`. + """ + + canary_percent: float | None = ... + """ + The percentage of production traffic to shift to the new service + revision during the canary phase. Valid values are multiples of 0.1 from + 0.1 to 100.0. The default value is 5.0. + """ + canary_bake_time_in_minutes: int | None = ... + """ + The amount of time in minutes to wait during the canary phase before + shifting the remaining production traffic to the new service revision. + Valid values are 0 to 1440 minutes (24 hours). The default value is 10. + """ + +class CapacityOptionType(UnknownEnumMixin, StrEnum): + ON_DEMAND = "ON_DEMAND" + SPOT = "SPOT" + RESERVED = "RESERVED" + +@dataclass(kw_only=True) +class CapacityProvider(_SerdeShape): + """The details for a capacity provider.""" + + capacity_provider_arn: str | None = ... + """The Amazon Resource Name (ARN) that identifies the capacity provider.""" + name: str | None = ... + """The name of the capacity provider.""" + cluster: str | None = ... + """ + The cluster that this capacity provider is associated with. Managed + instances capacity providers are cluster-scoped, meaning they can only + be used within their associated cluster. + + This is required for Managed instances. + """ + status: str | None = ... + """ + The current status of the capacity provider. Only capacity providers in + an `ACTIVE` state can be used in a cluster. When a capacity provider is + successfully deleted, it has an `INACTIVE` status. + """ + auto_scaling_group_provider: AutoScalingGroupProvider | None = ... + """The Auto Scaling group settings for the capacity provider.""" + managed_instances_provider: ManagedInstancesProvider | None = ... + """ + The configuration for the Amazon ECS Managed Instances provider. This + includes the infrastructure role, the launch template configuration, and + tag propagation settings. + """ + update_status: str | None = ... + """ + The update status of the capacity provider. The following are the + possible states that is returned. + + DELETE_IN_PROGRESS + + : The capacity provider is in the process of being deleted. + + DELETE_COMPLETE + + : The capacity provider was successfully deleted and has an `INACTIVE` + status. + + DELETE_FAILED + + : The capacity provider can't be deleted. The update status reason + provides further details about why the delete failed. + """ + update_status_reason: str | None = ... + """ + The update status reason. This provides further details about the update + status for the capacity provider. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the capacity provider to help you + categorize and organize it. Each tag consists of a key and an optional + value. You define both. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + type: str | None = ... + """ + The type of capacity provider. For Amazon ECS Managed Instances, this + value is `MANAGED_INSTANCES`, indicating that Amazon ECS manages the + underlying Amazon EC2 instances on your behalf. + """ + +class CapacityProviderField(UnknownEnumMixin, StrEnum): + TAGS = "TAGS" + +class CapacityProviderStatus(UnknownEnumMixin, StrEnum): + PROVISIONING = "PROVISIONING" + ACTIVE = "ACTIVE" + DEPROVISIONING = "DEPROVISIONING" + INACTIVE = "INACTIVE" + +@dataclass(kw_only=True) +class CapacityProviderStrategyItem(_SerdeShape): + """ + The details of a capacity provider strategy. A capacity provider + strategy can be set when using the + [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html)or + [CreateCluster](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCluster.html) + APIs or as the default capacity provider strategy for a cluster with the + `CreateCluster` API. + + Only capacity providers that are already associated with a cluster and + have an `ACTIVE` or `UPDATING` status can be used in a capacity provider + strategy. The + [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) + API is used to associate a capacity provider with a cluster. + + If specifying a capacity provider that uses an Auto Scaling group, the + capacity provider must already be created. New Auto Scaling group + capacity providers can be created with the + [CreateClusterCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateClusterCapacityProvider.html) + API operation. + + To use a Fargate capacity provider, specify either the `FARGATE` or + `FARGATE_SPOT` capacity providers. The Fargate capacity providers are + available to all accounts and only need to be associated with a cluster + to be used in a capacity provider strategy. + + With `FARGATE_SPOT`, you can run interruption tolerant tasks at a rate + that's discounted compared to the `FARGATE` price. `FARGATE_SPOT` runs + tasks on spare compute capacity. When Amazon Web Services needs the + capacity back, your tasks are interrupted with a two-minute warning. + `FARGATE_SPOT` supports Linux tasks with the X86_64 architecture on + platform version 1.3.0 or later. `FARGATE_SPOT` supports Linux tasks + with the ARM64 architecture on platform version 1.4.0 or later. + + A capacity provider strategy can contain a maximum of 20 capacity + providers. + """ + + capacity_provider: str + """The short name of the capacity provider.""" + weight: int = ... + """ + The *weight* value designates the relative percentage of the total + number of tasks launched that should use the specified capacity + provider. The `weight` value is taken into consideration after the + `base` value, if defined, is satisfied. + + If no `weight` value is specified, the default value of `0` is used. + When multiple capacity providers are specified within a capacity + provider strategy, at least one of the capacity providers must have a + weight value greater than zero and any capacity providers with a weight + of `0` can't be used to place tasks. If you specify multiple capacity + providers in a strategy that all have a weight of `0`, any `RunTask` or + `CreateService` actions using the capacity provider strategy will fail. + + Weight value characteristics: + + - Weight is considered after the base value is satisfied + + - The default value is `0` if not specified + + - The valid range is 0 to 1,000 + + - At least one capacity provider must have a weight greater than zero + + - Capacity providers with weight of `0` cannot place tasks + + Task distribution logic: + + 1. Base satisfaction: The minimum number of tasks specified by the base + value are placed on that capacity provider + + 2. Weight distribution: After base requirements are met, additional + tasks are distributed according to weight ratios + + Examples: + + Equal Distribution: Two capacity providers both with weight `1` will + split tasks evenly after base requirements are met. + + Weighted Distribution: If capacityProviderA has weight `1` and + capacityProviderB has weight `4`, then for every 1 task on A, 4 tasks + will run on B. + """ + base: int = ... + """ + The *base* value designates how many tasks, at a minimum, to run on the + specified capacity provider for each service. Only one capacity provider + in a capacity provider strategy can have a *base* defined. If no value + is specified, the default value of `0` is used. + + Base value characteristics: + + - Only one capacity provider in a strategy can have a base defined + + - The default value is `0` if not specified + + - The valid range is 0 to 100,000 + + - Base requirements are satisfied first before weight distribution + """ + +class CapacityProviderType(UnknownEnumMixin, StrEnum): + EC2_AUTOSCALING = "EC2_AUTOSCALING" + MANAGED_INSTANCES = "MANAGED_INSTANCES" + FARGATE = "FARGATE" + FARGATE_SPOT = "FARGATE_SPOT" + +class CapacityProviderUpdateStatus(UnknownEnumMixin, StrEnum): + CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" + CREATE_COMPLETE = "CREATE_COMPLETE" + CREATE_FAILED = "CREATE_FAILED" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + DELETE_COMPLETE = "DELETE_COMPLETE" + DELETE_FAILED = "DELETE_FAILED" + UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" + UPDATE_COMPLETE = "UPDATE_COMPLETE" + UPDATE_FAILED = "UPDATE_FAILED" + +class CapacityReservationPreference(UnknownEnumMixin, StrEnum): + RESERVATIONS_ONLY = "RESERVATIONS_ONLY" + RESERVATIONS_FIRST = "RESERVATIONS_FIRST" + RESERVATIONS_EXCLUDED = "RESERVATIONS_EXCLUDED" + +@dataclass(kw_only=True) +class CapacityReservationRequest(_SerdeShape): + """ + The Capacity Reservation configurations to be used when using the + `RESERVED` capacity option type. + """ + + reservation_group_arn: str | None = ... + """ + The ARN of the Capacity Reservation resource group in which to run the + instance. + """ + reservation_preference: str | None = ... + """ + The preference on when capacity reservations should be used. + + Valid values are: + + - `RESERVATIONS_ONLY` - Exclusively launch instances into capacity + reservations that match the instance requirements configured for the + capacity provider. If none exist, instances will fail to provision. + + - `RESERVATIONS_FIRST` - Prefer to launch instances into a capacity + reservation if any exist that match the instance requirements + configured for the capacity provider. If none exist, fall back to + launching instances On-Demand. + + - `RESERVATIONS_EXCLUDED` - Avoid using capacity reservations and launch + exclusively On-Demand. + """ + +@dataclass(kw_only=True) +class ClientException(ServiceError, _SerdeShape): + """ + These errors are usually caused by a client action. This client action + might be using an action or resource on behalf of a user that doesn't + have permissions to use the action or resource. Or, it might be + specifying an identifier that isn't valid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Cluster(_SerdeShape): + """ + A regional grouping of one or more container instances where you can run + task requests. Each account receives a default cluster the first time + you use the Amazon ECS service, but you may also create other clusters. + Clusters may contain more than one instance type simultaneously. + """ + + cluster_arn: str | None = ... + """ + The Amazon Resource Name (ARN) that identifies the cluster. For more + information about the ARN format, see [Amazon Resource Name + (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) + in the *Amazon ECS Developer Guide*. + """ + cluster_name: str | None = ... + """A user-generated string that you use to identify your cluster.""" + configuration: ClusterConfiguration | None = ... + """The execute command and managed storage configuration for the cluster.""" + status: str | None = ... + """ + The status of the cluster. The following are the possible states that + are returned. + + ACTIVE + + : The cluster is ready to accept tasks and if applicable you can + register container instances with the cluster. + + PROVISIONING + + : The cluster has capacity providers that are associated with it and the + resources needed for the capacity provider are being created. + + DEPROVISIONING + + : The cluster has capacity providers that are associated with it and the + resources needed for the capacity provider are being deleted. + + FAILED + + : The cluster has capacity providers that are associated with it and the + resources needed for the capacity provider have failed to create. + + INACTIVE + + : The cluster has been deleted. Clusters with an `INACTIVE` status may + remain discoverable in your account for a period of time. However, + this behavior is subject to change in the future. We don't recommend + that you rely on `INACTIVE` clusters persisting. + """ + registered_container_instances_count: int = ... + """ + The number of container instances registered into the cluster. This + includes container instances in both `ACTIVE` and `DRAINING` status. + """ + running_tasks_count: int = ... + """The number of tasks in the cluster that are in the `RUNNING` state.""" + pending_tasks_count: int = ... + """The number of tasks in the cluster that are in the `PENDING` state.""" + active_services_count: int = ... + """ + The number of services that are running on the cluster in an `ACTIVE` + state. You can view these services with + [ListServices](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html). + """ + statistics: list[KeyValuePair] | None = ... + """ + Additional information about your clusters that are separated by launch + type. They include the following: + + - runningEC2TasksCount + + - RunningFargateTasksCount + + - pendingEC2TasksCount + + - pendingFargateTasksCount + + - activeEC2ServiceCount + + - activeFargateServiceCount + + - drainingEC2ServiceCount + + - drainingFargateServiceCount + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the cluster to help you categorize and + organize them. Each tag consists of a key and an optional value. You + define both. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + settings: list[ClusterSetting] | None = ... + """ + The settings for the cluster. This parameter indicates whether + CloudWatch Container Insights is on or off for a cluster. + """ + capacity_providers: list[str] | None = ... + """The capacity providers associated with the cluster.""" + default_capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """ + The default capacity provider strategy for the cluster. When services or + tasks are run in the cluster with no launch type or capacity provider + strategy specified, the default capacity provider strategy is used. + """ + attachments: list[Attachment] | None = ... + """ + The resources attached to a cluster. When using a capacity provider with + a cluster, the capacity provider and associated resources are returned + as cluster attachments. + """ + attachments_status: str | None = ... + """ + The status of the capacity providers associated with the cluster. The + following are the states that are returned. + + UPDATE_IN_PROGRESS + + : The available capacity providers for the cluster are updating. + + UPDATE_COMPLETE + + : The capacity providers have successfully updated. + + UPDATE_FAILED + + : The capacity provider updates failed. + """ + service_connect_defaults: ClusterServiceConnectDefaults | None = ... + """ + Use this parameter to set a default Service Connect namespace. After you + set a default Service Connect namespace, any new services with Service + Connect turned on that are created in the cluster are added as client + services in the namespace. This setting only applies to new services + that set the `enabled` parameter to `true` in the + `ServiceConnectConfiguration`. You can set the namespace of each service + individually in the `ServiceConnectConfiguration` to override this + default parameter. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + +@dataclass(kw_only=True) +class ClusterConfiguration(_SerdeShape): + """The execute command and managed storage configuration for the cluster.""" + + execute_command_configuration: ExecuteCommandConfiguration | None = ... + """The details of the execute command configuration.""" + managed_storage_configuration: ManagedStorageConfiguration | None = ... + """The details of the managed storage configuration.""" + +@dataclass(kw_only=True) +class ClusterContainsCapacityProviderException(ServiceError, _SerdeShape): + """ + The cluster contains one or more capacity providers that prevent the + requested operation. This exception occurs when you try to delete a + cluster that still has active capacity providers, including Amazon ECS + Managed Instances capacity providers. You must first delete all capacity + providers from the cluster before you can delete the cluster itself. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ClusterContainsContainerInstancesException(ServiceError, _SerdeShape): + """ + You can't delete a cluster that has registered container instances. + First, deregister the container instances before you can delete the + cluster. For more information, see + [DeregisterContainerInstance](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ClusterContainsServicesException(ServiceError, _SerdeShape): + """ + You can't delete a cluster that contains services. First, update the + service to reduce its desired task count to 0, and then delete the + service. For more information, see + [UpdateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html) + and + [DeleteService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteService.html). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ClusterContainsTasksException(ServiceError, _SerdeShape): + """You can't delete a cluster that has active tasks.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ClusterField(UnknownEnumMixin, StrEnum): + ATTACHMENTS = "ATTACHMENTS" + CONFIGURATIONS = "CONFIGURATIONS" + SETTINGS = "SETTINGS" + STATISTICS = "STATISTICS" + TAGS = "TAGS" + +@dataclass(kw_only=True) +class ClusterNotFoundException(ServiceError, _SerdeShape): + """ + The specified cluster wasn't found. You can view your available + clusters with + [ListClusters](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html). + Amazon ECS clusters are Region specific. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ClusterServiceConnectDefaults(_SerdeShape): + """ + Use this parameter to set a default Service Connect namespace. After you + set a default Service Connect namespace, any new services with Service + Connect turned on that are created in the cluster are added as client + services in the namespace. This setting only applies to new services + that set the `enabled` parameter to `true` in the + `ServiceConnectConfiguration`. You can set the namespace of each service + individually in the `ServiceConnectConfiguration` to override this + default parameter. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + namespace: str | None = ... + """ + The namespace name or full Amazon Resource Name (ARN) of the Cloud Map + namespace. When you create a service and don't specify a Service + Connect configuration, this namespace is used. + """ + +@dataclass(kw_only=True) +class ClusterServiceConnectDefaultsRequest(_SerdeShape): + """ + Use this parameter to set a default Service Connect namespace. After you + set a default Service Connect namespace, any new services with Service + Connect turned on that are created in the cluster are added as client + services in the namespace. This setting only applies to new services + that set the `enabled` parameter to `true` in the + `ServiceConnectConfiguration`. You can set the namespace of each service + individually in the `ServiceConnectConfiguration` to override this + default parameter. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + namespace: str + """ + The namespace name or full Amazon Resource Name (ARN) of the Cloud Map + namespace that's used when you create a service and don't specify a + Service Connect configuration. The namespace name can include up to 1024 + characters. The name is case-sensitive. The name can't include greater + than (>), less than (<), double quotation marks (\"), or slash (/). + + If you enter an existing namespace name or ARN, then that namespace will + be used. Any namespace type is supported. The namespace must be in this + account and this Amazon Web Services Region. + + If you enter a new name, a Cloud Map namespace will be created. Amazon + ECS creates a Cloud Map namespace with the \"API calls\" method of + instance discovery only. This instance discovery method is the \"HTTP\" + namespace type in the Command Line Interface. Other types of instance + discovery aren't used by Service Connect. + + If you update the cluster with an empty string `""` for the namespace + name, the cluster configuration for Service Connect is removed. Note + that the namespace will remain in Cloud Map and must be deleted + separately. + + For more information about Cloud Map, see [Working with + Services](https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html) + in the *Cloud Map Developer Guide*. + """ + +@dataclass(kw_only=True) +class ClusterSetting(_SerdeShape): + """ + The settings to use when creating a cluster. This parameter is used to + turn on CloudWatch Container Insights with enhanced observability or + CloudWatch Container Insights for a cluster. + + Container Insights with enhanced observability provides all the + Container Insights metrics, plus additional task and container metrics. + This version supports enhanced observability for Amazon ECS clusters + using the Amazon EC2 and Fargate launch types. After you configure + Container Insights with enhanced observability on Amazon ECS, Container + Insights auto-collects detailed infrastructure telemetry from the + cluster level down to the container level in your environment and + displays these critical performance data in curated dashboards removing + the heavy lifting in observability set-up. + + For more information, see [Monitor Amazon ECS containers using Container + Insights with enhanced + observability](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + name: str | None = ... + """The name of the cluster setting. The value is `containerInsights`.""" + value: str | None = ... + """ + The value to set for the cluster setting. The supported values are + `enhanced`, `enabled`, and `disabled`. + + To use Container Insights with enhanced observability, set the + `containerInsights` account setting to `enhanced`. + + To use Container Insights, set the `containerInsights` account setting + to `enabled`. + + If a cluster value is specified, it will override the + `containerInsights` value set with + [PutAccountSetting](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html) + or + [PutAccountSettingDefault](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html). + """ + +class ClusterSettingName(UnknownEnumMixin, StrEnum): + CONTAINER_INSIGHTS = "containerInsights" + +class Compatibility(UnknownEnumMixin, StrEnum): + EC2 = "EC2" + FARGATE = "FARGATE" + EXTERNAL = "EXTERNAL" + MANAGED_INSTANCES = "MANAGED_INSTANCES" + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """ + The request could not be processed because of conflict in the current + state of the resource. + """ + + resource_ids: list[str] | None = ... + """ + The existing task ARNs which are already associated with the + `clientToken`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class Connectivity(UnknownEnumMixin, StrEnum): + CONNECTED = "CONNECTED" + DISCONNECTED = "DISCONNECTED" + +@dataclass(kw_only=True) +class Container(_SerdeShape): + """A Docker container that's part of a task.""" + + container_arn: str | None = ... + """The Amazon Resource Name (ARN) of the container.""" + task_arn: str | None = ... + """The ARN of the task.""" + name: str | None = ... + """The name of the container.""" + image: str | None = ... + """The image used for the container.""" + image_digest: str | None = ... + """The container image manifest digest.""" + runtime_id: str | None = ... + """The ID of the Docker container.""" + last_status: str | None = ... + """The last known status of the container.""" + exit_code: int | None = ... + """The exit code returned from the container.""" + reason: str | None = ... + """ + A short (1024 max characters) human-readable string to provide + additional details about a running or stopped container. + """ + network_bindings: list[NetworkBinding] | None = ... + """The network bindings associated with the container.""" + network_interfaces: list[NetworkInterface] | None = ... + """The network interfaces associated with the container.""" + health_status: str | None = ... + """ + The health status of the container. If health checks aren't configured + for this container in its task definition, then it reports the health + status as `UNKNOWN`. + """ + managed_agents: list[ManagedAgent] | None = ... + """ + The details of any Amazon ECS managed agents associated with the + container. + """ + cpu: str | None = ... + """ + The number of CPU units set for the container. The value is `0` if no + value was specified in the container definition when the task definition + was registered. + """ + memory: str | None = ... + """The hard limit (in MiB) of memory set for the container.""" + memory_reservation: str | None = ... + """The soft limit (in MiB) of memory set for the container.""" + gpu_ids: list[str] | None = ... + """The IDs of each GPU assigned to the container.""" + neuron_device_ids: list[str] | None = ... + """The IDs of each Neuron device assigned to the container.""" + gpu_sharing_strategy: SharingStrategy | None = ... + """ + The GPU sharing strategy that the task definition specifies for the + container. This field is present only for containers whose resource + requirements include `sharingStrategy`. + """ + +class ContainerCondition(UnknownEnumMixin, StrEnum): + START = "START" + COMPLETE = "COMPLETE" + SUCCESS = "SUCCESS" + HEALTHY = "HEALTHY" + +@dataclass(kw_only=True) +class ContainerDefinition(_SerdeShape): + """ + Container definitions are used in task definitions to describe the + different containers that are launched as part of a task. + """ + + name: str | None = ... + """ + The name of a container. If you're linking multiple containers together + in a task definition, the `name` of one container can be entered in the + `links` of another container to connect the containers. Up to 255 + letters (uppercase and lowercase), numbers, underscores, and hyphens are + allowed. This parameter maps to `name` in the docker container create + command and the `--name` option to docker run. + """ + image: str | None = ... + """ + The image used to start a container. This string is passed directly to + the Docker daemon. By default, images in the Docker Hub registry are + available. Other repositories are specified with either + ` `*`repository-url`*`/`*`image`*`:`*`tag`*` ` or + ` `*`repository-url`*`/`*`image`*`@`*`digest`*` `. For images using tags + (repository-url/image:tag), up to 255 characters total are allowed, + including letters (uppercase and lowercase), numbers, hyphens, + underscores, colons, periods, forward slashes, and number signs (#). For + images using digests (repository-url/image@digest), the 255 character + limit applies only to the repository URL and image name (everything + before the @ sign). The only supported hash function is sha256, and the + hash value after sha256: must be exactly 64 characters (only letters + A-F, a-f, and numbers 0-9 are allowed). This parameter maps to `Image` + in the docker container create command and the `IMAGE` parameter of + docker run. + + - When a new task starts, the Amazon ECS container agent pulls the + latest version of the specified image and tag for the container to + use. However, subsequent updates to a repository image aren't + propagated to already running tasks. + + - Images in Amazon ECR repositories can be specified by either using the + full `registry/repository:tag` or `registry/repository@digest`. For + example, + `012345678910.dkr.ecr..amazonaws.com/:latest` + or + `012345678910.dkr.ecr..amazonaws.com/@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE`. + + - Images in official repositories on Docker Hub use a single name (for + example, `ubuntu` or `mongo`). + + - Images in other repositories on Docker Hub are qualified with an + organization name (for example, `amazon/amazon-ecs-agent`). + + - Images in other online repositories are qualified further by a domain + name (for example, `quay.io/assemblyline/ubuntu`). + """ + repository_credentials: RepositoryCredentials | None = ... + """The private repository authentication credentials to use.""" + cpu: int = ... + """ + The number of `cpu` units reserved for the container. This parameter + maps to `CpuShares` in the docker container create command and the + `--cpu-shares` option to docker run. + + This field is optional for tasks using the Fargate launch type, and the + only requirement is that the total amount of CPU reserved for all + containers within a task be lower than the task-level `cpu` value. + + Note: + You can determine the number of CPU units that are available per EC2 + instance type by multiplying the vCPUs listed for that instance type on + the [Amazon EC2 Instances](http://aws.amazon.com/ec2/instance-types/) + detail page by 1,024. + + Linux containers share unallocated CPU units with other containers on + the container instance with the same ratio as their allocated amount. + For example, if you run a single-container task on a single-core + instance type with 512 CPU units specified for that container, and + that's the only task running on the container instance, that container + could use the full 1,024 CPU unit share at any given time. However, if + you launched another copy of the same task on that container instance, + each task is guaranteed a minimum of 512 CPU units when needed. + Moreover, each container could float to higher CPU usage if the other + container was not using it. If both tasks were 100% active all of the + time, they would be limited to 512 CPU units. + + On Linux container instances, the Docker daemon on the container + instance uses the CPU value to calculate the relative CPU share ratios + for running containers. The minimum valid CPU share value that the Linux + kernel allows is 2, and the maximum valid CPU share value that the Linux + kernel allows is 262144. However, the CPU parameter isn't required, and + you can use CPU values below 2 or above 262144 in your container + definitions. For CPU values below 2 (including null) or above 262144, + the behavior varies based on your Amazon ECS container agent version: + + - **Agent versions less than or equal to 1.1.0:** Null and zero CPU + values are passed to Docker as 0, which Docker then converts to 1,024 + CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux + kernel converts to two CPU shares. + + - **Agent versions greater than or equal to 1.2.0:** Null, zero, and CPU + values of 1 are passed to Docker as 2. + + - **Agent versions greater than or equal to 1.84.0:** CPU values greater + than 256 vCPU are passed to Docker as 256, which is equivalent to + 262144 CPU shares. + + On Windows container instances, the CPU limit is enforced as an absolute + limit, or a quota. Windows containers only have access to the specified + amount of CPU that's described in the task definition. A null or zero + CPU value is passed to Docker as `0`, which Windows interprets as 1% of + one CPU. + """ + memory: int | None = ... + """ + The amount (in MiB) of memory to present to the container. If your + container attempts to exceed the memory specified here, the container is + killed. The total amount of memory reserved for all containers within a + task must be lower than the task `memory` value, if one is specified. + This parameter maps to `Memory` in the docker container create command + and the `--memory` option to docker run. + + If using the Fargate launch type, this parameter is optional. + + If using the EC2 launch type, you must specify either a task-level + memory value or a container-level memory value. If you specify both a + container-level `memory` and `memoryReservation` value, `memory` must be + greater than `memoryReservation`. If you specify `memoryReservation`, + then that value is subtracted from the available memory resources for + the container instance where the container is placed. Otherwise, the + value of `memory` is used. + + The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory + for a container. So, don't specify less than 6 MiB of memory for your + containers. + + The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of + memory for a container. So, don't specify less than 4 MiB of memory for + your containers. + """ + memory_reservation: int | None = ... + """ + The soft limit (in MiB) of memory to reserve for the container. When + system memory is under heavy contention, Docker attempts to keep the + container memory to this soft limit. However, your container can consume + more memory when it needs to, up to either the hard limit specified with + the `memory` parameter (if applicable), or all of the available memory + on the container instance, whichever comes first. This parameter maps to + `MemoryReservation` in the docker container create command and the + `--memory-reservation` option to docker run. + + If a task-level memory value is not specified, you must specify a + non-zero integer for one or both of `memory` or `memoryReservation` in a + container definition. If you specify both, `memory` must be greater than + `memoryReservation`. If you specify `memoryReservation`, then that value + is subtracted from the available memory resources for the container + instance where the container is placed. Otherwise, the value of `memory` + is used. + + For example, if your container normally uses 128 MiB of memory, but + occasionally bursts to 256 MiB of memory for short periods of time, you + can set a `memoryReservation` of 128 MiB, and a `memory` hard limit of + 300 MiB. This configuration would allow the container to only reserve + 128 MiB of memory from the remaining resources on the container + instance, but also allow the container to consume more memory resources + when needed. + + The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory + for a container. So, don't specify less than 6 MiB of memory for your + containers. + + The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of + memory for a container. So, don't specify less than 4 MiB of memory for + your containers. + """ + links: list[str] | None = ... + """ + The `links` parameter allows containers to communicate with each other + without the need for port mappings. This parameter is only supported if + the network mode of a task definition is `bridge`. The + `name:internalName` construct is analogous to `name:alias` in Docker + links. Up to 255 letters (uppercase and lowercase), numbers, + underscores, and hyphens are allowed.. This parameter maps to `Links` in + the docker container create command and the `--link` option to docker + run. + + Note: + This parameter is not supported for Windows containers. + Warning: + Containers that are collocated on a single container instance may be + able to communicate with each other without requiring links or host port + mappings. Network isolation is achieved on the container instance using + security groups and VPC settings. + """ + port_mappings: list[PortMapping] | None = ... + """ + The list of port mappings for the container. Port mappings allow + containers to access ports on the host container instance to send or + receive traffic. + + For task definitions that use the `awsvpc` network mode, only specify + the `containerPort`. The `hostPort` can be left blank or it must be the + same value as the `containerPort`. + + Port mappings on Windows use the `NetNAT` gateway address rather than + `localhost`. There's no loopback for port mappings on Windows, so you + can't access a container's mapped port from the host itself. + + This parameter maps to `PortBindings` in the docker container create + command and the `--publish` option to docker run. If the network mode of + a task definition is set to `none`, then you can't specify port + mappings. If the network mode of a task definition is set to `host`, + then host ports must either be undefined or they must match the + container port in the port mapping. + + Note: + After a task reaches the `RUNNING` status, manual and automatic host and + container port assignments are visible in the **Network Bindings** + section of a container description for a selected task in the Amazon ECS + console. The assignments are also visible in the `networkBindings` + section + [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) + responses. + """ + essential: bool | None = ... + """ + If the `essential` parameter of a container is marked as `true`, and + that container fails or stops for any reason, all other containers that + are part of the task are stopped. If the `essential` parameter of a + container is marked as `false`, its failure doesn't affect the rest of + the containers in a task. If this parameter is omitted, a container is + assumed to be essential. + + All tasks must have at least one essential container. If you have an + application that's composed of multiple containers, group containers + that are used for a common purpose into components, and separate the + different components into multiple task definitions. For more + information, see [Application + Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + restart_policy: ContainerRestartPolicy | None = ... + """ + The restart policy for a container. When you set up a restart policy, + Amazon ECS can restart the container without needing to replace the + task. For more information, see [Restart individual containers in Amazon + ECS tasks with container restart + policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + entry_point: list[str] | None = ... + """ + Warning: + Early versions of the Amazon ECS container agent don't properly handle + `entryPoint` parameters. If you have problems using `entryPoint`, update + your container agent or enter your commands and arguments as `command` + array items instead. + + The entry point that's passed to the container. This parameter maps to + `Entrypoint` in the docker container create command and the + `--entrypoint` option to docker run. + """ + command: list[str] | None = ... + """ + The command that's passed to the container. This parameter maps to + `Cmd` in the docker container create command and the `COMMAND` parameter + to docker run. If there are multiple arguments, each argument is a + separated string in the array. + """ + environment: list[KeyValuePair] | None = ... + """ + The environment variables to pass to a container. This parameter maps to + `Env` in the docker container create command and the `--env` option to + docker run. + + Warning: + We don't recommend that you use plaintext environment variables for + sensitive information, such as credential data. + """ + environment_files: list[EnvironmentFile] | None = ... + """ + A list of files containing the environment variables to pass to a + container. This parameter maps to the `--env-file` option to docker run. + + You can specify up to ten environment files. The file must have a `.env` + file extension. Each line in an environment file contains an environment + variable in `VARIABLE=VALUE` format. Lines beginning with `#` are + treated as comments and are ignored. + + If there are environment variables specified using the `environment` + parameter in a container definition, they take precedence over the + variables contained within an environment file. If multiple environment + files are specified that contain the same variable, they're processed + from the top down. We recommend that you use unique variable names. For + more information, see [Specifying Environment + Variables](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + mount_points: list[MountPoint] | None = ... + """ + The mount points for data volumes in your container. + + This parameter maps to `Volumes` in the docker container create command + and the `--volume` option to docker run. + + Windows containers can mount whole directories on the same drive as + `$env:ProgramData`. Windows containers can't mount directories on a + different drive, and mount point can't be across drives. + """ + volumes_from: list[VolumeFrom] | None = ... + """ + Data volumes to mount from another container. This parameter maps to + `VolumesFrom` in the docker container create command and the + `--volumes-from` option to docker run. + """ + linux_parameters: LinuxParameters | None = ... + """ + Linux-specific modifications that are applied to the default Docker + container configuration, such as Linux kernel capabilities. For more + information see + [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). + + Note: + This parameter is not supported for Windows containers. + """ + secrets: list[Secret] | None = ... + """ + The secrets to pass to the container. For more information, see + [Specifying Sensitive + Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + depends_on: list[ContainerDependency] | None = ... + """ + The dependencies defined for container startup and shutdown. A container + can contain multiple dependencies on other containers in a task + definition. When a dependency is defined for container startup, for + container shutdown it is reversed. + + For tasks using the EC2 launch type, the container instances require at + least version 1.26.0 of the container agent to turn on container + dependencies. However, we recommend using the latest container agent + version. For information about checking your agent version and updating + to the latest version, see [Updating the Amazon ECS Container + Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) + in the *Amazon Elastic Container Service Developer Guide*. If you're + using an Amazon ECS-optimized Linux AMI, your instance needs at least + version 1.26.0-1 of the `ecs-init` package. If your container instances + are launched from version `20190301` or later, then they contain the + required versions of the container agent and `ecs-init`. For more + information, see [Amazon ECS-optimized Linux + AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) + in the *Amazon Elastic Container Service Developer Guide*. + + For tasks using the Fargate launch type, the task or service requires + the following platforms: + + - Linux platform version `1.3.0` or later. + + - Windows platform version `1.0.0` or later. + """ + start_timeout: int | None = ... + """ + Time duration (in seconds) to wait before giving up on resolving + dependencies for a container. For example, you specify two containers in + a task definition with containerA having a dependency on containerB + reaching a `COMPLETE`, `SUCCESS`, or `HEALTHY` status. If a + `startTimeout` value is specified for containerB and it doesn't reach + the desired status within that time then containerA gives up and not + start. This results in the task transitioning to a `STOPPED` state. + + Note: + When the `ECS_CONTAINER_START_TIMEOUT` container agent configuration + variable is used, it's enforced independently from this start timeout + value. + + For tasks using the Fargate launch type, the task or service requires + the following platforms: + + - Linux platform version `1.3.0` or later. + + - Windows platform version `1.0.0` or later. + + For tasks using the EC2 launch type, your container instances require at + least version `1.26.0` of the container agent to use a container start + timeout value. However, we recommend using the latest container agent + version. For information about checking your agent version and updating + to the latest version, see [Updating the Amazon ECS Container + Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) + in the *Amazon Elastic Container Service Developer Guide*. If you're + using an Amazon ECS-optimized Linux AMI, your instance needs at least + version `1.26.0-1` of the `ecs-init` package. If your container + instances are launched from version `20190301` or later, then they + contain the required versions of the container agent and `ecs-init`. For + more information, see [Amazon ECS-optimized Linux + AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) + in the *Amazon Elastic Container Service Developer Guide*. + + The valid values for Fargate are 2-120 seconds. + """ + stop_timeout: int | None = ... + """ + Time duration (in seconds) to wait before the container is forcefully + killed if it doesn't exit normally on its own. + + For tasks using the Fargate launch type, the task or service requires + the following platforms: + + - Linux platform version `1.3.0` or later. + + - Windows platform version `1.0.0` or later. + + For tasks that use the Fargate launch type, the max stop timeout value + is 120 seconds and if the parameter is not specified, the default value + of 30 seconds is used. + + For tasks that use the EC2 launch type, if the `stopTimeout` parameter + isn't specified, the value set for the Amazon ECS container agent + configuration variable `ECS_CONTAINER_STOP_TIMEOUT` is used. If neither + the `stopTimeout` parameter or the `ECS_CONTAINER_STOP_TIMEOUT` agent + configuration variable are set, then the default values of 30 seconds + for Linux containers and 30 seconds on Windows containers are used. Your + container instances require at least version 1.26.0 of the container + agent to use a container stop timeout value. However, we recommend using + the latest container agent version. For information about checking your + agent version and updating to the latest version, see [Updating the + Amazon ECS Container + Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) + in the *Amazon Elastic Container Service Developer Guide*. If you're + using an Amazon ECS-optimized Linux AMI, your instance needs at least + version 1.26.0-1 of the `ecs-init` package. If your container instances + are launched from version `20190301` or later, then they contain the + required versions of the container agent and `ecs-init`. For more + information, see [Amazon ECS-optimized Linux + AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) + in the *Amazon Elastic Container Service Developer Guide*. + + The valid values for Fargate are 2-120 seconds. + """ + version_consistency: str | None = ... + """ + Specifies whether Amazon ECS will resolve the container image tag + provided in the container definition to an image digest. By default, the + value is `enabled`. If you set the value for a container as `disabled`, + Amazon ECS will not resolve the provided container image tag to a digest + and will use the original image URI specified in the container + definition for deployment. For more information about container image + resolution, see [Container image + resolution](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability) + in the *Amazon ECS Developer Guide*. + """ + hostname: str | None = ... + """ + The hostname to use for your container. This parameter maps to + `Hostname` in the docker container create command and the `--hostname` + option to docker run. + + Note: + The `hostname` parameter is not supported if you're using the `awsvpc` + network mode. + """ + user: str | None = ... + """ + The user to use inside the container. This parameter maps to `User` in + the docker container create command and the `--user` option to docker + run. + + Warning: + When running tasks using the `host` network mode, don't run containers + using the root user (UID 0). We recommend using a non-root user for + better security. + + You can specify the `user` using the following formats. If specifying a + UID or GID, you must specify it as a positive integer. + + - `user` + + - `user:group` + + - `uid` + + - `uid:gid` + + - `user:gid` + + - `uid:group` + + Note: + This parameter is not supported for Windows containers. + """ + working_directory: str | None = ... + """ + The working directory to run commands inside the container in. This + parameter maps to `WorkingDir` in the docker container create command + and the `--workdir` option to docker run. + """ + disable_networking: bool | None = ... + """ + When this parameter is true, networking is off within the container. + This parameter maps to `NetworkDisabled` in the docker container create + command. + + Note: + This parameter is not supported for Windows containers. + """ + privileged: bool | None = ... + """ + When this parameter is true, the container is given elevated privileges + on the host container instance (similar to the `root` user). This + parameter maps to `Privileged` in the docker container create command + and the `--privileged` option to docker run + + Note: + This parameter is not supported for Windows containers or tasks run on + Fargate. + """ + readonly_root_filesystem: bool | None = ... + """ + When this parameter is true, the container is given read-only access to + its root file system. This parameter maps to `ReadonlyRootfs` in the + docker container create command and the `--read-only` option to docker + run. + + Note: + This parameter is not supported for Windows containers. + """ + dns_servers: list[str] | None = ... + """ + A list of DNS servers that are presented to the container. This + parameter maps to `Dns` in the docker container create command and the + `--dns` option to docker run. + + Note: + This parameter is not supported for Windows containers. + """ + dns_search_domains: list[str] | None = ... + """ + A list of DNS search domains that are presented to the container. This + parameter maps to `DnsSearch` in the docker container create command and + the `--dns-search` option to docker run. + + Note: + This parameter is not supported for Windows containers. + """ + extra_hosts: list[HostEntry] | None = ... + """ + A list of hostnames and IP address mappings to append to the + `/etc/hosts` file on the container. This parameter maps to `ExtraHosts` + in the docker container create command and the `--add-host` option to + docker run. + + Note: + This parameter isn't supported for Windows containers or tasks that use + the `awsvpc` network mode. + """ + docker_security_options: list[str] | None = ... + """ + A list of strings to provide custom configuration for multiple security + systems. This field isn't valid for containers in tasks using the + Fargate launch type. + + For Linux tasks on EC2, this parameter can be used to reference custom + labels for SELinux and AppArmor multi-level security systems. + + For any tasks on EC2, this parameter can be used to reference a + credential spec file that configures a container for Active Directory + authentication. For more information, see [Using gMSAs for Windows + Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html) + and [Using gMSAs for Linux + Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html) + in the *Amazon Elastic Container Service Developer Guide*. + + This parameter maps to `SecurityOpt` in the docker container create + command and the `--security-opt` option to docker run. + + Note: + The Amazon ECS container agent running on a container instance must + register with the `ECS_SELINUX_CAPABLE=true` or + `ECS_APPARMOR_CAPABLE=true` environment variables before containers + placed on that instance can use these security options. For more + information, see [Amazon ECS Container Agent + Configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | + \"label:value\" | \"credentialspec:CredentialSpecFilePath\" + """ + interactive: bool | None = ... + """ + When this parameter is `true`, you can deploy containerized applications + that require `stdin` or a `tty` to be allocated. This parameter maps to + `OpenStdin` in the docker container create command and the + `--interactive` option to docker run. + """ + pseudo_terminal: bool | None = ... + """ + When this parameter is `true`, a TTY is allocated. This parameter maps + to `Tty` in the docker container create command and the `--tty` option + to docker run. + """ + docker_labels: dict[str, str] | None = ... + """ + A key/value map of labels to add to the container. This parameter maps + to `Labels` in the docker container create command and the `--label` + option to docker run. This parameter requires version 1.18 of the Docker + Remote API or greater on your container instance. To check the Docker + Remote API version on your container instance, log in to your container + instance and run the following command: + `sudo docker version --format '{{.Server.APIVersion}}'` + """ + ulimits: list[Ulimit] | None = ... + """ + A list of `ulimits` to set in the container. If a `ulimit` value is + specified in a task definition, it overrides the default values set by + Docker. This parameter maps to `Ulimits` in the docker container create + command and the `--ulimit` option to docker run. Valid naming values are + displayed in the + [Ulimit](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Ulimit.html) + data type. + + Amazon ECS tasks hosted on Fargate use the default resource limit values + set by the operating system with the exception of the `nofile` resource + limit parameter which Fargate overrides. The `nofile` resource limit + sets a restriction on the number of open files that a container can use. + The default `nofile` soft limit is ` 65535` and the default hard limit + is `65535`. + + This parameter requires version 1.18 of the Docker Remote API or greater + on your container instance. To check the Docker Remote API version on + your container instance, log in to your container instance and run the + following command: + `sudo docker version --format '{{.Server.APIVersion}}'` + + Note: + This parameter is not supported for Windows containers. + """ + log_configuration: LogConfiguration | None = ... + """ + The log configuration specification for the container. + + This parameter maps to `LogConfig` in the docker container create + command and the `--log-driver` option to docker run. By default, + containers use the same logging driver that the Docker daemon uses. + However the container can use a different logging driver than the Docker + daemon by specifying a log driver with this parameter in the container + definition. To use a different logging driver for a container, the log + system must be configured properly on the container instance (or on a + different log server for remote logging options). + + Note: + Amazon ECS currently supports a subset of the logging drivers available + to the Docker daemon (shown in the + [LogConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html) + data type). Additional log drivers may be available in future releases + of the Amazon ECS container agent. + + This parameter requires version 1.18 of the Docker Remote API or greater + on your container instance. To check the Docker Remote API version on + your container instance, log in to your container instance and run the + following command: + `sudo docker version --format '{{.Server.APIVersion}}'` + + Note: + The Amazon ECS container agent running on a container instance must + register the logging drivers available on that instance with the + `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers + placed on that instance can use these log configuration options. For + more information, see [Amazon ECS Container Agent + Configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + health_check: HealthCheck | None = ... + """ + The container health check command and associated configuration + parameters for the container. This parameter maps to `HealthCheck` in + the docker container create command and the `HEALTHCHECK` parameter of + docker run. + """ + system_controls: list[SystemControl] | None = ... + """ + A list of namespaced kernel parameters to set in the container. This + parameter maps to `Sysctls` in the docker container create command and + the `--sysctl` option to docker run. For example, you can configure + `net.ipv4.tcp_keepalive_time` setting to maintain longer lived + connections. + """ + resource_requirements: list[ResourceRequirement] | None = ... + """ + The type and amount of a resource to assign to a container. The + supported resources are GPUs and Neuron devices. + """ + firelens_configuration: FirelensConfiguration | None = ... + """ + The FireLens configuration for the container. This is used to specify + and configure a log router for container logs. For more information, see + [Custom Log + Routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + credential_specs: list[str] | None = ... + """ + A list of ARNs in SSM or Amazon S3 to a credential spec (`CredSpec`) + file that configures the container for Active Directory authentication. + We recommend that you use this parameter instead of the + `dockerSecurityOptions`. The maximum number of ARNs is 1. + + There are two formats for each ARN. + + credentialspecdomainless:MyARN + + : You use `credentialspecdomainless:MyARN` to provide a `CredSpec` with + an additional section for a secret in Secrets Manager. You provide the + login credentials to the domain in the secret. + + Each task that runs on any container instance can join different + domains. + + You can use this format without joining the container instance to a + domain. + + credentialspec:MyARN + + : You use `credentialspec:MyARN` to provide a `CredSpec` for a single + domain. + + You must join the container instance to the domain before you start + any tasks that use this task definition. + + In both formats, replace `MyARN` with the ARN in SSM or Amazon S3. + + If you provide a `credentialspecdomainless:MyARN`, the `credspec` must + provide a ARN in Secrets Manager for a secret containing the username, + password, and the domain to connect to. For better security, the + instance isn't joined to the domain for domainless authentication. + Other applications on the instance can't use the domainless + credentials. You can use this parameter to run tasks on the same + instance, even it the tasks need to join different domains. For more + information, see [Using gMSAs for Windows + Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html) + and [Using gMSAs for Linux + Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html). + """ + +@dataclass(kw_only=True) +class ContainerDependency(_SerdeShape): + """ + The dependencies defined for container startup and shutdown. A container + can contain multiple dependencies. When a dependency is defined for + container startup, for container shutdown it is reversed. + + Your Amazon ECS container instances require at least version 1.26.0 of + the container agent to use container dependencies. However, we recommend + using the latest container agent version. For information about checking + your agent version and updating to the latest version, see [Updating the + Amazon ECS Container + Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) + in the *Amazon Elastic Container Service Developer Guide*. If you're + using an Amazon ECS-optimized Linux AMI, your instance needs at least + version 1.26.0-1 of the `ecs-init` package. If your container instances + are launched from version `20190301` or later, then they contain the + required versions of the container agent and `ecs-init`. For more + information, see [Amazon ECS-optimized Linux + AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Note: + For tasks that use the Fargate launch type, the task or service requires + the following platforms: + + - Linux platform version `1.3.0` or later. + + - Windows platform version `1.0.0` or later. + + For more information about how to create a container dependency, see + [Container + dependency](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + container_name: str + """The name of a container.""" + condition: str + """ + The dependency condition of the container. The following are the + available conditions and their behavior: + + - `START` - This condition emulates the behavior of links and volumes + today. It validates that a dependent container is started before + permitting other containers to start. + + - `COMPLETE` - This condition validates that a dependent container runs + to completion (exits) before permitting other containers to start. + This can be useful for nonessential containers that run a script and + then exit. This condition can't be set on an essential container. + + - `SUCCESS` - This condition is the same as `COMPLETE`, but it also + requires that the container exits with a `zero` status. This condition + can't be set on an essential container. + + - `HEALTHY` - This condition validates that the dependent container + passes its Docker health check before permitting other containers to + start. This requires that the dependent container has health checks + configured. This condition is confirmed only at task startup. + """ + +@dataclass(kw_only=True) +class ContainerImage(_SerdeShape): + """ + The details about the container image a service revision uses. + + To ensure that all tasks in a service use the same container image, + Amazon ECS resolves container image names and any image tags specified + in the task definition to container image digests. + + After the container image digest has been established, Amazon ECS uses + the digest to start any other desired tasks, and for any future service + and service revision updates. This leads to all tasks in a service + always running identical container images, resulting in version + consistency for your software. For more information, see [Container + image + resolution](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability) + in the Amazon ECS Developer Guide. + """ + + container_name: str | None = ... + """The name of the container.""" + image_digest: str | None = ... + """The container image digest.""" + image: str | None = ... + """The container image.""" + +@dataclass(kw_only=True) +class ContainerInstance(_SerdeShape): + """ + An Amazon EC2 or External instance that's running the Amazon ECS agent + and has been registered with a cluster. + """ + + container_instance_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the container instance. For more + information about the ARN format, see [Amazon Resource Name + (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) + in the *Amazon ECS Developer Guide*. + """ + ec2_instance_id: str | None = ... + """ + The ID of the container instance. For Amazon EC2 instances, this value + is the Amazon EC2 instance ID. For external instances, this value is the + Amazon Web Services Systems Manager managed instance ID. + """ + capacity_provider_name: str | None = ... + """The capacity provider that's associated with the container instance.""" + version: int = ... + """ + The version counter for the container instance. Every time a container + instance experiences a change that triggers a CloudWatch event, the + version counter is incremented. If you're replicating your Amazon ECS + container instance state with CloudWatch Events, you can compare the + version of a container instance reported by the Amazon ECS APIs with the + version reported in CloudWatch Events for the container instance (inside + the `detail` object) to verify that the version in your event stream is + current. + """ + version_info: VersionInfo | None = ... + """ + The version information for the Amazon ECS container agent and Docker + daemon running on the container instance. + """ + remaining_resources: list[Resource] | None = ... + """ + For CPU and memory resource types, this parameter describes the + remaining CPU and memory that wasn't already allocated to tasks and is + therefore available for new tasks. For port resource types, this + parameter describes the ports that were reserved by the Amazon ECS + container agent (at instance registration time) and any task containers + that have reserved port mappings on the host (with the `host` or + `bridge` network mode). Any port that's not specified here is available + for new tasks. + """ + registered_resources: list[Resource] | None = ... + """ + For CPU and memory resource types, this parameter describes the amount + of each resource that was available on the container instance when the + container agent registered it with Amazon ECS. This value represents the + total amount of CPU and memory that can be allocated on this container + instance to tasks. For port resource types, this parameter describes the + ports that were reserved by the Amazon ECS container agent when it + registered the container instance with Amazon ECS. + """ + status: str | None = ... + """ + The status of the container instance. The valid values are + `REGISTERING`, `REGISTRATION_FAILED`, `ACTIVE`, `INACTIVE`, + `DEREGISTERING`, or `DRAINING`. + + If your account has opted in to the `awsvpcTrunking` account setting, + then any newly registered container instance will transition to a + `REGISTERING` status while the trunk elastic network interface is + provisioned for the instance. If the registration fails, the instance + will transition to a `REGISTRATION_FAILED` status. You can describe the + container instance and see the reason for failure in the `statusReason` + parameter. Once the container instance is terminated, the instance + transitions to a `DEREGISTERING` status while the trunk elastic network + interface is deprovisioned. The instance then transitions to an + `INACTIVE` status. + + The `ACTIVE` status indicates that the container instance can accept + tasks. The `DRAINING` indicates that new tasks aren't placed on the + container instance and any service tasks running on the container + instance are removed if possible. For more information, see [Container + instance + draining](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-draining.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + status_reason: str | None = ... + """The reason that the container instance reached its current status.""" + agent_connected: bool = ... + """ + This parameter returns `true` if the agent is connected to Amazon ECS. + An instance with an agent that may be unhealthy or stopped return + `false`. Only instances connected to an agent can accept task placement + requests. + """ + running_tasks_count: int = ... + """ + The number of tasks on the container instance that have a desired status + (`desiredStatus`) of `RUNNING`. + """ + pending_tasks_count: int = ... + """ + The number of tasks on the container instance that are in the `PENDING` + status. + """ + agent_update_status: str | None = ... + """ + The status of the most recent agent update. If an update wasn't ever + requested, this value is `NULL`. + """ + attributes: list[Attribute] | None = ... + """ + The attributes set for the container instance, either by the Amazon ECS + container agent at instance registration or manually with the + [PutAttributes](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAttributes.html) + operation. + """ + registered_at: datetime | None = ... + """ + The Unix timestamp for the time when the container instance was + registered. + """ + attachments: list[Attachment] | None = ... + """ + The resources attached to a container instance, such as an elastic + network interface. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the container instance to help you + categorize and organize them. Each tag consists of a key and an optional + value. You define both. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + health_status: ContainerInstanceHealthStatus | None = ... + """An object representing the health status of the container instance.""" + gpu_devices: list[GpuDevice] | None = ... + """ + The state of each GPU on the container instance, including its sharing + mode and available memory. This field is present only for container + instances that support GPU sharing. + """ + +class ContainerInstanceField(UnknownEnumMixin, StrEnum): + TAGS = "TAGS" + CONTAINER_INSTANCE_HEALTH = "CONTAINER_INSTANCE_HEALTH" + +@dataclass(kw_only=True) +class ContainerInstanceHealthStatus(_SerdeShape): + """An object representing the health status of the container instance.""" + + overall_status: str | None = ... + """ + The overall health status of the container instance. This is an + aggregate status of all container instance health checks. + """ + details: list[InstanceHealthCheckResult] | None = ... + """ + An array of objects representing the details of the container instance + health status. + """ + +class ContainerInstanceStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + DRAINING = "DRAINING" + REGISTERING = "REGISTERING" + DEREGISTERING = "DEREGISTERING" + REGISTRATION_FAILED = "REGISTRATION_FAILED" + +@dataclass(kw_only=True) +class ContainerOverride(_SerdeShape): + """ + The overrides that are sent to a container. An empty container override + can be passed in. An example of an empty container override is + `{"containerOverrides": [ ] }`. If a non-empty container override is + specified, the `name` parameter must be included. + + You can use Secrets Manager or Amazon Web Services Systems Manager + Parameter Store to store the sensitive data. For more information, see + [Retrieve secrets through environment + variables](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/secrets-envvar.html) + in the Amazon ECS Developer Guide. + """ + + name: str | None = ... + """ + The name of the container that receives the override. This parameter is + required if any override is specified. + """ + command: list[str] | None = ... + """ + The command to send to the container that overrides the default command + from the Docker image or the task definition. You must also specify a + container name. + """ + environment: list[KeyValuePair] | None = ... + """ + The environment variables to send to the container. You can add new + environment variables, which are added to the container at launch, or + you can override the existing environment variables from the Docker + image or the task definition. You must also specify a container name. + """ + environment_files: list[EnvironmentFile] | None = ... + """ + A list of files containing the environment variables to pass to a + container, instead of the value from the container definition. + """ + cpu: int | None = ... + """ + The number of `cpu` units reserved for the container, instead of the + default value from the task definition. You must also specify a + container name. + """ + memory: int | None = ... + """ + The hard limit (in MiB) of memory to present to the container, instead + of the default value from the task definition. If your container + attempts to exceed the memory specified here, the container is killed. + You must also specify a container name. + """ + memory_reservation: int | None = ... + """ + The soft limit (in MiB) of memory to reserve for the container, instead + of the default value from the task definition. You must also specify a + container name. + """ + resource_requirements: list[ResourceRequirement] | None = ... + """ + The type and amount of a resource to assign to a container, instead of + the default value from the task definition. The supported resources are + GPUs and Neuron devices. + """ + +@dataclass(kw_only=True) +class ContainerRestartPolicy(_SerdeShape): + """ + You can enable a restart policy for each container defined in your task + definition, to overcome transient failures faster and maintain task + availability. When you enable a restart policy for a container, Amazon + ECS can restart the container if it exits, without needing to replace + the task. For more information, see [Restart individual containers in + Amazon ECS tasks with container restart + policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + enabled: bool + """Specifies whether a restart policy is enabled for the container.""" + ignored_exit_codes: list[int] | None = ... + """ + A list of exit codes that Amazon ECS will ignore and not attempt a + restart on. You can specify a maximum of 50 container exit codes. By + default, Amazon ECS does not ignore any exit codes. + """ + restart_attempt_period: int | None = ... + """ + A period of time (in seconds) that the container must run for before a + restart can be attempted. A container can be restarted only once every + `restartAttemptPeriod` seconds. If a container isn't able to run for + this time period and exits early, it will not be restarted. You can set + a minimum `restartAttemptPeriod` of 60 seconds and a maximum + `restartAttemptPeriod` of 1800 seconds. By default, a container must run + for 300 seconds before it can be restarted. + """ + +@dataclass(kw_only=True) +class ContainerStateChange(_SerdeShape): + """An object that represents a change in state for a container.""" + + container_name: str | None = ... + """The name of the container.""" + image_digest: str | None = ... + """The container image SHA 256 digest.""" + runtime_id: str | None = ... + """The ID of the Docker container.""" + exit_code: int | None = ... + """ + The exit code for the container, if the state change is a result of the + container exiting. + """ + network_bindings: list[NetworkBinding] | None = ... + """Any network bindings that are associated with the container.""" + reason: str | None = ... + """The reason for the state change.""" + status: str | None = ... + """The status of the container.""" + +@dataclass(kw_only=True) +class ContinueServiceDeploymentInput(_SerdeShape): + """Dataclass for ContinueServiceDeploymentInput structure.""" + + service_deployment_arn: str | None = ... + """The ARN of the service deployment to continue or roll back.""" + hook_id: str | None = ... + """ + The ID of the paused lifecycle hook to act on. You can find the `hookId` + by calling + [DescribeServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html) + and inspecting the `lifecycleHookDetails` field of the service + deployment. + """ + action: str | None = ... + """ + The action to take on the paused lifecycle hook. Valid values are: + + - `CONTINUE` - Proceeds the deployment to the next lifecycle stage. + + - `ROLLBACK` - Rolls back the deployment to the previous service + revision. + + If no value is specified, the default action is `CONTINUE`. + """ + +@dataclass(kw_only=True) +class ContinueServiceDeploymentOutput(_SerdeShape): + """Dataclass for ContinueServiceDeploymentOutput structure.""" + + service_deployment_arn: str | None = ... + """The ARN of the service deployment that was continued or rolled back.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CPUArchitecture(UnknownEnumMixin, StrEnum): + X86_64 = "X86_64" + ARM64 = "ARM64" + +class CpuManufacturer(UnknownEnumMixin, StrEnum): + INTEL = "intel" + AMD = "amd" + AMAZON_WEB_SERVICES = "amazon-web-services" + +@dataclass(kw_only=True) +class CreateCapacityProviderInput(_SerdeShape): + """Dataclass for CreateCapacityProviderInput structure.""" + + name: str | None = ... + """ + The name of the capacity provider. Up to 255 characters are allowed. + They include letters (both upper and lowercase letters), numbers, + underscores (_), and hyphens (-). The name can't be prefixed with + \"`aws`\", \"`ecs`\", or \"`fargate`\". + """ + cluster: str | None = ... + """ + The name of the cluster to associate with the capacity provider. When + you create a capacity provider with Amazon ECS Managed Instances, it + becomes available only within the specified cluster. + """ + auto_scaling_group_provider: AutoScalingGroupProvider | None = ... + """The details of the Auto Scaling group for the capacity provider.""" + managed_instances_provider: CreateManagedInstancesProviderConfiguration | None = ... + """ + The configuration for the Amazon ECS Managed Instances provider. This + configuration specifies how Amazon ECS manages Amazon EC2 instances on + your behalf, including the infrastructure role, instance launch + template, and tag propagation settings. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the capacity provider to categorize and + organize them more conveniently. Each tag consists of a key and an + optional value. You define both of them. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + +@dataclass(kw_only=True) +class CreateCapacityProviderOutput(_SerdeShape): + """Dataclass for CreateCapacityProviderOutput structure.""" + + capacity_provider: CapacityProvider | None = ... + """The full description of the new capacity provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateClusterInput(_SerdeShape): + """""" + + cluster_name: str | None = ... + """ + The name of your cluster. If you don't specify a name for your cluster, + you create a cluster that's named `default`. Up to 255 letters + (uppercase and lowercase), numbers, underscores, and hyphens are + allowed. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the cluster to help you categorize and + organize them. Each tag consists of a key and an optional value. You + define both. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + settings: list[ClusterSetting] | None = ... + """ + The setting to use when creating a cluster. This parameter is used to + turn on CloudWatch Container Insights for a cluster. If this value is + specified, it overrides the `containerInsights` value set with + [PutAccountSetting](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html) + or + [PutAccountSettingDefault](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html). + """ + configuration: ClusterConfiguration | None = ... + """The `execute` command configuration for the cluster.""" + capacity_providers: list[str] | None = ... + """ + The short name of one or more capacity providers to associate with the + cluster. A capacity provider must be associated with a cluster before it + can be included as part of the default capacity provider strategy of the + cluster or used in a capacity provider strategy when calling the + [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html) + or + [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) + actions. + + If specifying a capacity provider that uses an Auto Scaling group, the + capacity provider must be created but not associated with another + cluster. New Auto Scaling group capacity providers can be created with + the + [CreateCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html) + API operation. + + To use a Fargate capacity provider, specify either the `FARGATE` or + `FARGATE_SPOT` capacity providers. The Fargate capacity providers are + available to all accounts and only need to be associated with a cluster + to be used. + + The + [PutCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProvider.html) + API operation is used to update the list of available capacity providers + for a cluster after the cluster is created. + """ + default_capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """ + The capacity provider strategy to set as the default for the cluster. + After a default capacity provider strategy is set for a cluster, when + you call the + [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html) + or + [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) + APIs with no capacity provider strategy or launch type specified, the + default capacity provider strategy for the cluster is used. + + If a default capacity provider strategy isn't defined for a cluster + when it was created, it can be defined later with the + [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) + API operation. + """ + service_connect_defaults: ClusterServiceConnectDefaultsRequest | None = ... + """ + Use this parameter to set a default Service Connect namespace. After you + set a default Service Connect namespace, any new services with Service + Connect turned on that are created in the cluster are added as client + services in the namespace. This setting only applies to new services + that set the `enabled` parameter to `true` in the + `ServiceConnectConfiguration`. You can set the namespace of each service + individually in the `ServiceConnectConfiguration` to override this + default parameter. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + +@dataclass(kw_only=True) +class CreateClusterOutput(_SerdeShape): + """""" + + cluster: Cluster | None = ... + """The full description of your new cluster.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDaemonInput(_SerdeShape): + """Dataclass for CreateDaemonInput structure.""" + + daemon_name: str | None = ... + """ + The name of the daemon. Up to 255 letters (uppercase and lowercase), + numbers, underscores, and hyphens are allowed. + """ + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster to create the daemon in.""" + daemon_task_definition_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the daemon task definition to use for + the daemon. + """ + capacity_provider_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the capacity providers to associate + with the daemon. The daemon deploys tasks on container instances managed + by these capacity providers. + """ + deployment_configuration: DaemonDeploymentConfiguration | None = ... + """ + Optional deployment parameters that control how the daemon rolls out + updates, including the drain percentage, alarm-based rollback, and bake + time. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the daemon to help you categorize and + organize them. Each tag consists of a key and an optional value. You + define both of them. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + propagate_tags: str | None = ... + """ + Specifies whether to propagate the tags from the daemon to the daemon + tasks. If you don't specify a value, the tags aren't propagated. You + can only propagate tags to daemon tasks during task creation. To add + tags to a task after task creation, use the + [TagResource](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) + API action. + """ + enable_ecs_managed_tags: bool = ... + """ + Specifies whether to turn on Amazon ECS managed tags for the tasks in + the daemon. For more information, see [Tagging your Amazon ECS + resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + enable_execute_command: bool = ... + """ + Determines whether the execute command functionality is turned on for + the daemon. If `true`, the execute command functionality is turned on + for all tasks in the daemon. + """ + client_token: str | None = ... + """ + An identifier that you provide to ensure the idempotency of the request. + It must be unique and is case sensitive. Up to 36 ASCII characters in + the range of 33-126 (inclusive) are allowed. + """ + critical: bool | None = ... + """ + If the `critical` parameter of a daemon is `true`, and the daemon task + fails, stops, or becomes unhealthy, Amazon ECS drains the container + instance and stops the other tasks running on it. If the `critical` + parameter is `false`, the daemon task failure doesn't affect the other + tasks on the instance. The default value is `true`. + + A non-critical daemon doesn't block instance registration. The + container instance becomes active and continues to run your other tasks, + whether the daemon task fails during scale-out or during a deployment. + + Amazon ECS emits an EventBridge event when a daemon task fails to start, + for both critical and non-critical daemons. + + Daemon task launch failures during a deployment are still counted by the + deployment circuit breaker. The circuit breaker can roll back an + unstable target revision. + """ + +@dataclass(kw_only=True) +class CreateDaemonOutput(_SerdeShape): + """Dataclass for CreateDaemonOutput structure.""" + + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon.""" + status: str | None = ... + """The status of the daemon.""" + created_at: datetime | None = ... + """The Unix timestamp for the time when the daemon was created.""" + deployment_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the initial daemon deployment. This + deployment places daemon tasks on each container instance of the + specified capacity providers. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatedAt(_SerdeShape): + """ + The optional filter to narrow the `ListServiceDeployment` results. + + If you do not specify a value, service deployments that were created + before the current time are included in the result. + """ + + before: datetime | None = ... + """ + Include service deployments in the result that were created before this + time. The format is yyyy-MM-dd HH:mm:ss.SSSSSS. + """ + after: datetime | None = ... + """ + Include service deployments in the result that were created after this + time. The format is yyyy-MM-dd HH:mm:ss.SSSSSS. + """ + +@dataclass(kw_only=True) +class CreateExpressGatewayServiceInput(_SerdeShape): + """Dataclass for CreateExpressGatewayServiceInput structure.""" + + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the task execution role that grants + the Amazon ECS container agent permission to make Amazon Web Services + API calls on your behalf. This role is required for Amazon ECS to pull + container images from Amazon ECR, send container logs to Amazon + CloudWatch Logs, and retrieve sensitive data from Amazon Web Services + Systems Manager Parameter Store or Amazon Web Services Secrets Manager. + + The execution role must include the `AmazonECSTaskExecutionRolePolicy` + managed policy or equivalent permissions. For Express services, this + role is used during task startup and runtime for container management + operations. + """ + infrastructure_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the infrastructure role that grants + Amazon ECS permission to create and manage Amazon Web Services resources + on your behalf for the Express service. This role is used to provision + and manage Application Load Balancers, target groups, security groups, + auto-scaling policies, and other Amazon Web Services infrastructure + components. + + The infrastructure role must include permissions for Elastic Load + Balancing, Application Auto Scaling, Amazon EC2 (for security groups), + and other services required for managed infrastructure. This role is + only used during Express service creation, updates, and deletion + operations. + """ + service_name: str | None = ... + """ + The name of the Express service. This name must be unique within the + specified cluster and can contain up to 255 letters (uppercase and + lowercase), numbers, underscores, and hyphens. The name is used to + identify the service in the Amazon ECS console and API operations. + + If you don't specify a service name, Amazon ECS generates a unique name + for the service. The service name becomes part of the service ARN and + cannot be changed after the service is created. + """ + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster on + which to create the Express service. If you do not specify a cluster, + the `default` cluster is assumed. + """ + health_check_path: str | None = ... + """ + The path on the container that the Application Load Balancer uses for + health checks. This should be a valid HTTP endpoint that returns a + successful response (HTTP 200) when the application is healthy. + + If not specified, the default health check path is `/ping`. The health + check path must start with a forward slash and can include query + parameters. Examples: `/health`, `/api/status`, `/ping?format=json`. + """ + primary_container: ExpressGatewayContainer | None = ... + """ + The primary container configuration for the Express service. This + defines the main application container that will receive traffic from + the Application Load Balancer. + + The primary container must specify at minimum a container image. You can + also configure the container port (defaults to 80), logging + configuration, environment variables, secrets, and startup commands. The + container image can be from Amazon ECR, Docker Hub, or any other + container registry accessible to your execution role. + """ + task_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that containers in this + task can assume. This role allows your application code to access other + Amazon Web Services services securely. + + The task role is different from the execution role. While the execution + role is used by the Amazon ECS agent to set up the task, the task role + is used by your application code running inside the container to make + Amazon Web Services API calls. If your application doesn't need to + access Amazon Web Services services, you can omit this parameter. + """ + network_configuration: ExpressGatewayServiceNetworkConfiguration | None = ... + """ + The network configuration for the Express service tasks. This specifies + the VPC subnets and security groups for the tasks. + + For Express services, you can specify custom security groups and + subnets. If not provided, Amazon ECS will use the default VPC + configuration and create appropriate security groups automatically. The + network configuration determines how your service integrates with your + VPC and what network access it has. + """ + cpu: str | None = ... + """ + The number of CPU units used by the task. This parameter determines the + CPU allocation for each task in the Express service. The default value + for an Express service is 256 (.25 vCPU). + """ + memory: str | None = ... + """ + The amount of memory (in MiB) used by the task. This parameter + determines the memory allocation for each task in the Express service. + The default value for an express service is 512 MiB. + """ + cpu_architecture: str | None = ... + """ + The CPU architecture that the task runs on. If you don't specify a + value, the default is `X86_64`. + + Valid values: + + - `X86_64` - The x86 64-bit architecture. + + - `ARM64` - The 64-bit ARM architecture. + + Ensure that the container image you specify supports the architecture + you choose. The operating system family for an Express service is always + `LINUX`. + + You can't specify `cpuArchitecture` together with `taskDefinitionArn`. + """ + scaling_target: ExpressGatewayScalingTarget | None = ... + """ + The auto-scaling configuration for the Express service. This defines how + the service automatically adjusts the number of running tasks based on + demand. + + You can specify the minimum and maximum number of tasks, the scaling + metric (CPU utilization, memory utilization, or request count per + target), and the target value for the metric. If not specified, the + default target value for an Express service is 60. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the Express service to help categorize + and organize it. Each tag consists of a key and an optional value. You + can apply up to 50 tags to a service. + """ + task_definition_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a task definition to use to create the + Express Gateway service. This allows you to manage your own task + definition, giving you more control over the service configuration such + as adding sidecar containers. + + The task definition must have a container named `Main` with a single TCP + port mapping that includes a container port and port name. The task + definition must also have `FARGATE` compatibility. + + If you provide a task definition ARN, you cannot also specify + `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, `memory`, + or `cpuArchitecture`. + """ + +@dataclass(kw_only=True) +class CreateExpressGatewayServiceOutput(_SerdeShape): + """Dataclass for CreateExpressGatewayServiceOutput structure.""" + + service: ECSExpressGatewayService | None = ... + """ + The full description of your Express service following the create + operation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGatewayInput(_SerdeShape): + """Dataclass for CreateGatewayInput structure.""" + + name: str | None = ... + """ + The name for the gateway. The name must be unique within your account + and can be up to 255 characters. + """ + infrastructure_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that the gateway assumes + to create and manage infrastructure on your behalf. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier that you provide to ensure that the + operation completes no more than one time. If this token matches a + previous request, the service ignores the request, but does not return + an error. + + This field is autopopulated if not provided. + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the gateway. When + enabled, the gateway can't be deleted, and the gateway propagates this + setting to the load balancers it manages. The default is `true`. + """ + configuration: GatewayConfiguration | None = ... + """ + The type-specific configuration for the gateway. Exactly one + configuration variant must be set, and it determines the gateway type. + For example, `hostSharedAlb` configures a gateway that uses Application + Load Balancers with host-based routing. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the gateway to help you categorize and + organize it. Each tag consists of a key and an optional value. Depending + on `propagateTags`, these tags can be applied to the infrastructure the + gateway manages. + """ + propagate_tags: str | None = ... + """ + Specifies whether to propagate the tags from the gateway to the + infrastructure that the gateway manages. The default is `GATEWAY`. + """ + +@dataclass(kw_only=True) +class CreateGatewayOutput(_SerdeShape): + """Dataclass for CreateGatewayOutput structure.""" + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + name: str | None = ... + """The name of the gateway.""" + status: str | None = ... + """The status of the gateway. A newly created gateway is always `ACTIVE`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateManagedInstancesProviderConfiguration(_SerdeShape): + """ + The configuration for creating a Amazon ECS Managed Instances provider. + This specifies how Amazon ECS should manage Amazon EC2 instances, + including the infrastructure role, instance launch template, and whether + to propagate tags from the capacity provider to the instances. + """ + + infrastructure_role_arn: str + """ + The Amazon Resource Name (ARN) of the infrastructure role that Amazon + ECS uses to manage instances on your behalf. This role must have + permissions to launch, terminate, and manage Amazon EC2 instances, as + well as access to other Amazon Web Services services required for Amazon + ECS Managed Instances functionality. + + For more information, see [Amazon ECS infrastructure IAM + role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) + in the *Amazon ECS Developer Guide*. + """ + instance_launch_template: InstanceLaunchTemplate + """ + The launch template configuration that specifies how Amazon ECS should + launch Amazon EC2 instances. This includes the instance profile, network + configuration, storage settings, and instance requirements for + attribute-based instance type selection. + + For more information, see [Store instance launch parameters in Amazon + EC2 launch + templates](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) + in the *Amazon EC2 User Guide*. + """ + propagate_tags: str | None = ... + """ + Specifies whether to propagate tags from the capacity provider to the + Amazon ECS Managed Instances. When enabled, tags applied to the capacity + provider are automatically applied to all instances launched by this + provider. + """ + infrastructure_optimization: InfrastructureOptimization | None = ... + """ + Defines how Amazon ECS Managed Instances optimizes the infrastastructure + in your capacity provider. Provides control over the delay between when + EC2 instances become idle or underutilized and when Amazon ECS optimizes + them. + """ + auto_repair_configuration: AutoRepairConfiguration | None = ... + """ + The auto repair configuration for the Amazon ECS Managed Instances + capacity provider. Use this to enable or disable automatic replacement + of container instances that are detected as unhealthy. + """ + +@dataclass(kw_only=True) +class CreateServiceInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + you run your service on. If you do not specify a cluster, the default + cluster is assumed. + """ + service_name: str | None = ... + """ + The name of your service. Up to 255 letters (uppercase and lowercase), + numbers, underscores, and hyphens are allowed. Service names must be + unique within a cluster, but you can have similarly named services in + multiple clusters within a Region or across multiple Regions. + """ + task_definition: str | None = ... + """ + The `family` and `revision` (`family:revision`) or full ARN of the task + definition to run in your service. If a `revision` isn't specified, the + latest `ACTIVE` revision is used. + + A task definition must be specified if the service uses either the `ECS` + or `CODE_DEPLOY` deployment controllers. + + For more information about deployment types, see [Amazon ECS deployment + types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html). + """ + availability_zone_rebalancing: str | None = ... + """ + Indicates whether to use Availability Zone rebalancing for the service. + + For more information, see [Balancing an Amazon ECS service across + Availability + Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) + in the Amazon Elastic Container Service Developer Guide . + + The default behavior of `AvailabilityZoneRebalancing` differs between + create and update requests: + + - For create service requests, when no value is specified for + `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to + `ENABLED`. + + - For update service requests, when no value is specified for + `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing + service's `AvailabilityZoneRebalancing` value. If the service never + had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats this + as `DISABLED`. + """ + load_balancers: list[LoadBalancer] | None = ... + """ + A load balancer object representing the load balancers to use with your + service. For more information, see [Service load + balancing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html) + in the *Amazon Elastic Container Service Developer Guide*. + + If the service uses the `ECS` deployment controller and using either an + Application Load Balancer or Network Load Balancer, you must specify one + or more target group ARNs to attach to the service. The service-linked + role is required for services that use multiple target groups. For more + information, see [Using service-linked roles for Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) + in the *Amazon Elastic Container Service Developer Guide*. + + If the service uses the `CODE_DEPLOY` deployment controller, the service + is required to use either an Application Load Balancer or Network Load + Balancer. When creating an CodeDeploy deployment group, you specify two + target groups (referred to as a `targetGroupPair`). During a deployment, + CodeDeploy determines which task set in your service has the status + `PRIMARY`, and it associates one target group with it. Then, it also + associates the other target group with the replacement task set. The + load balancer can also have up to two listeners: a required listener for + production traffic and an optional listener that you can use to perform + validation tests with Lambda functions before routing production traffic + to it. + + If you use the `CODE_DEPLOY` deployment controller, these values can be + changed when updating the service. + + For Application Load Balancers and Network Load Balancers, this object + must contain the load balancer target group ARN, the container name, and + the container port to access from the load balancer. The container name + must be as it appears in a container definition. The load balancer name + parameter must be omitted. When a task from this service is placed on a + container instance, the container instance and port combination is + registered as a target in the target group that's specified here. + + For Classic Load Balancers, this object must contain the load balancer + name, the container name , and the container port to access from the + load balancer. The container name must be as it appears in a container + definition. The target group ARN parameter must be omitted. When a task + from this service is placed on a container instance, the container + instance is registered with the load balancer that's specified here. + + Services with tasks that use the `awsvpc` network mode (for example, + those with the Fargate launch type) only support Application Load + Balancers and Network Load Balancers. Classic Load Balancers aren't + supported. Also, when you create any target groups for these services, + you must choose `ip` as the target type, not `instance`. This is because + tasks that use the `awsvpc` network mode are associated with an elastic + network interface, not an Amazon EC2 instance. + """ + service_registries: list[ServiceRegistry] | None = ... + """ + The details of the service discovery registry to associate with this + service. For more information, see [Service + discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). + + Note: + Each service may be associated with one service registry. Multiple + service registries for each service isn't supported. + """ + desired_count: int | None = ... + """ + The number of instantiations of the specified task definition to place + and keep running in your service. + + This is required if `schedulingStrategy` is `REPLICA` or isn't + specified. If `schedulingStrategy` is `DAEMON` then this isn't + required. + """ + client_token: str | None = ... + """ + An identifier that you provide to ensure the idempotency of the request. + It must be unique and is case sensitive. Up to 36 ASCII characters in + the range of 33-126 (inclusive) are allowed. + """ + launch_type: str | None = ... + """ + The infrastructure that you run your service on. For more information, + see [Amazon ECS launch + types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Note: + If you want to use Amazon ECS Managed Instances, you must use the + `capacityProviderStrategy` request parameter and omit the `launchType` + request parameter. + + The `FARGATE` launch type runs your tasks on Fargate On-Demand + infrastructure. + + Note: + Fargate Spot infrastructure is available for use but a capacity provider + strategy must be used. For more information, see [Fargate capacity + providers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html) + in the *Amazon ECS Developer Guide*. + + The `EC2` launch type runs your tasks on Amazon EC2 instances registered + to your cluster. + + The `EXTERNAL` launch type runs your tasks on your on-premises server or + virtual machine (VM) capacity registered to your cluster. + + A service can use either a launch type or a capacity provider strategy. + If a `launchType` is specified, the `capacityProviderStrategy` parameter + must be omitted. + """ + capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """ + The capacity provider strategy to use for the service. + + Note: + If you want to use Amazon ECS Managed Instances, you must use the + `capacityProviderStrategy` request parameter and omit the `launchType` + request parameter. + + If a `capacityProviderStrategy` is specified, the `launchType` parameter + must be omitted. If no `capacityProviderStrategy` or `launchType` is + specified, the `defaultCapacityProviderStrategy` for the cluster is + used. + + A capacity provider strategy can contain a maximum of 20 capacity + providers. + """ + platform_version: str | None = ... + """ + The platform version that your tasks in the service are running on. A + platform version is specified only for tasks using the Fargate launch + type. If one isn't specified, the `LATEST` platform version is used. + For more information, see [Fargate platform + versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + role: str | None = ... + """ + The name or full Amazon Resource Name (ARN) of the IAM role that allows + Amazon ECS to make calls to your load balancer on your behalf. This + parameter is only permitted if you are using a load balancer with your + service and your task definition doesn't use the `awsvpc` network mode. + If you specify the `role` parameter, you must also specify a load + balancer object with the `loadBalancers` parameter. + + Warning: + If your account has already created the Amazon ECS service-linked role, + that role is used for your service unless you specify a role here. The + service-linked role is required if your task definition uses the + `awsvpc` network mode or if the service is configured to use service + discovery, an external deployment controller, multiple target groups, or + Elastic Inference accelerators in which case you don't specify a role + here. For more information, see [Using service-linked roles for Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) + in the *Amazon Elastic Container Service Developer Guide*. + + If your specified role has a path other than `/`, then you must either + specify the full role ARN (this is recommended) or prefix the role name + with the path. For example, if a role with the name `bar` has a path of + `/foo/` then you would specify `/foo/bar` as the role name. For more + information, see [Friendly names and + paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) + in the *IAM User Guide*. + """ + deployment_configuration: DeploymentConfiguration | None = ... + """ + Optional deployment parameters that control how many tasks run during + the deployment and the ordering of stopping and starting tasks. + """ + placement_constraints: list[PlacementConstraint] | None = ... + """ + An array of placement constraint objects to use for tasks in your + service. You can specify a maximum of 10 constraints for each task. This + limit includes constraints in the task definition and those specified at + runtime. + """ + placement_strategy: list[PlacementStrategy] | None = ... + """ + The placement strategy objects to use for tasks in your service. You can + specify a maximum of 5 strategy rules for each service. + """ + network_configuration: NetworkConfiguration | None = ... + """ + The network configuration for the service. This parameter is required + for task definitions that use the `awsvpc` network mode to receive their + own elastic network interface, and it isn't supported for other network + modes. For more information, see [Task + networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + health_check_grace_period_seconds: int | None = ... + """ + The period of time, in seconds, that the Amazon ECS service scheduler + ignores unhealthy Elastic Load Balancing, VPC Lattice, and container + health checks after a task has first started. If you do not specify a + health check grace period value, the default value of 0 is used. If you + do not use any of the health checks, then + `healthCheckGracePeriodSeconds` is unused. + + If your service has more running tasks than desired, unhealthy tasks in + the grace period might be stopped to reach the desired count. + """ + scheduling_strategy: str | None = ... + """ + The scheduling strategy to use for the service. For more information, + see + [Services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html). + + There are two service scheduler strategies available: + + - `REPLICA`-The replica scheduling strategy places and maintains the + desired number of tasks across your cluster. By default, the service + scheduler spreads tasks across Availability Zones. You can use task + placement strategies and constraints to customize task placement + decisions. This scheduler strategy is required if the service uses the + `CODE_DEPLOY` or `EXTERNAL` deployment controller types. + + - `DAEMON`-The daemon scheduling strategy deploys exactly one task on + each active container instance that meets all of the task placement + constraints that you specify in your cluster. The service scheduler + also evaluates the task placement constraints for running tasks and + will stop tasks that don't meet the placement constraints. When + you're using this strategy, you don't need to specify a desired + number of tasks, a task placement strategy, or use Service Auto + Scaling policies. + + Note: + Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` + deployment controller types don't support the `DAEMON` scheduling + strategy. + """ + deployment_controller: DeploymentController | None = ... + """ + The deployment controller to use for the service. If no deployment + controller is specified, the default value of `ECS` is used. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the service to help you categorize and + organize them. Each tag consists of a key and an optional value, both of + which you define. When a service is deleted, the tags are deleted as + well. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + enable_ecs_managed_tags: bool = ... + """ + Specifies whether to turn on Amazon ECS managed tags for the tasks + within the service. For more information, see [Tagging your Amazon ECS + resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) + in the *Amazon Elastic Container Service Developer Guide*. + + When you use Amazon ECS managed tags, you must set the `propagateTags` + request parameter. + """ + propagate_tags: str | None = ... + """ + Specifies whether to propagate the tags from the task definition to the + task. If no value is specified, the tags aren't propagated. Tags can + only be propagated to the task during task creation. To add tags to a + task after task creation, use the + [TagResource](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) + API action. + + You must set this to a value other than `NONE` when you use Cost + Explorer. For more information, see [Amazon ECS usage + reports](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/usage-reports.html) + in the *Amazon Elastic Container Service Developer Guide*. + + The default is `NONE`. + """ + enable_execute_command: bool = ... + """ + Determines whether the execute command functionality is turned on for + the service. If `true`, this enables execute command functionality on + all containers in the service tasks. + """ + service_connect_configuration: ServiceConnectConfiguration | None = ... + """ + The configuration for this service to discover and connect to services, + and be discovered by, and connected from, other services within a + namespace. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + volume_configurations: list[ServiceVolumeConfiguration] | None = ... + """ + The configuration for a volume specified in the task definition as a + volume that is configured at launch time. Currently, the only supported + volume type is an Amazon EBS volume. + """ + vpc_lattice_configurations: list[VpcLatticeConfiguration] | None = ... + """The VPC Lattice configuration for the service being created.""" + gateway_connectors: list[GatewayConnector] | None = ... + """ + The gateway connectors that attach the service to a gateway ingress + path. You can specify at most one gateway connector. + """ + monitoring: MonitoringConfiguration | None = ... + """ + The optional monitoring configuration for the service, which defines the + resolution for the service-level `CPUUtilization` and + `MemoryUtilization` Amazon CloudWatch metrics. When not specified, + Amazon ECS uses the default resolution of `60` seconds. + """ + +@dataclass(kw_only=True) +class CreateServiceOutput(_SerdeShape): + """""" + + service: Service | None = ... + """ + The full description of your service following the create call. + + A service will return either a `capacityProviderStrategy` or + `launchType` parameter, but not both, depending where one was specified + when it was created. + + If a service is using the `ECS` deployment controller, the + `deploymentController` and `taskSets` parameters will not be returned. + + if the service uses the `CODE_DEPLOY` deployment controller, the + `deploymentController`, `taskSets` and `deployments` parameters will be + returned, however the `deployments` parameter will be an empty list. + + The response includes a `lifecycleHookDetails` field, which is an empty + array when the service is created or updated. The values are populated + when a lifecycle hook executes and are available as part of the service + deployment details + ([DescribeServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html)). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTaskSetInput(_SerdeShape): + """Dataclass for CreateTaskSetInput structure.""" + + service: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the service to + create the task set in. + """ + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the service to create the task set in. + """ + external_id: str | None = ... + """ + An optional non-unique tag that identifies this task set in external + systems. If the task set is associated with a service discovery + registry, the tasks in this task set will have the + `ECS_TASK_SET_EXTERNAL_ID` Cloud Map attribute set to the provided + value. + """ + task_definition: str | None = ... + """ + The task definition for the tasks in the task set to use. If a revision + isn't specified, the latest `ACTIVE` revision is used. + """ + network_configuration: NetworkConfiguration | None = ... + """An object representing the network configuration for a task set.""" + load_balancers: list[LoadBalancer] | None = ... + """ + A load balancer object representing the load balancer to use with the + task set. The supported load balancer types are either an Application + Load Balancer or a Network Load Balancer. + """ + service_registries: list[ServiceRegistry] | None = ... + """ + The details of the service discovery registries to assign to this task + set. For more information, see [Service + discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). + """ + launch_type: str | None = ... + """ + The launch type that new tasks in the task set uses. For more + information, see [Amazon ECS launch + types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + in the *Amazon Elastic Container Service Developer Guide*. + + If a `launchType` is specified, the `capacityProviderStrategy` parameter + must be omitted. + """ + capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """ + The capacity provider strategy to use for the task set. + + A capacity provider strategy consists of one or more capacity providers + along with the `base` and `weight` to assign to them. A capacity + provider must be associated with the cluster to be used in a capacity + provider strategy. The + [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) + API is used to associate a capacity provider with a cluster. Only + capacity providers with an `ACTIVE` or `UPDATING` status can be used. + + If a `capacityProviderStrategy` is specified, the `launchType` parameter + must be omitted. If no `capacityProviderStrategy` or `launchType` is + specified, the `defaultCapacityProviderStrategy` for the cluster is + used. + + If specifying a capacity provider that uses an Auto Scaling group, the + capacity provider must already be created. New capacity providers can be + created with the + [CreateCapacityProviderProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProviderProvider.html)API + operation. + + To use a Fargate capacity provider, specify either the `FARGATE` or + `FARGATE_SPOT` capacity providers. The Fargate capacity providers are + available to all accounts and only need to be associated with a cluster + to be used. + + The + [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) + API operation is used to update the list of available capacity providers + for a cluster after the cluster is created. + """ + platform_version: str | None = ... + """ + The platform version that the tasks in the task set uses. A platform + version is specified only for tasks using the Fargate launch type. If + one isn't specified, the `LATEST` platform version is used. + """ + scale: Scale | None = ... + """ + A floating-point percentage of the desired number of tasks to place and + keep running in the task set. + """ + client_token: str | None = ... + """ + An identifier that you provide to ensure the idempotency of the request. + It must be unique and is case sensitive. Up to 36 ASCII characters in + the range of 33-126 (inclusive) are allowed. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the task set to help you categorize and + organize them. Each tag consists of a key and an optional value. You + define both. When a service is deleted, the tags are deleted. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + +@dataclass(kw_only=True) +class CreateTaskSetOutput(_SerdeShape): + """Dataclass for CreateTaskSetOutput structure.""" + + task_set: TaskSet | None = ... + """ + Information about a set of Amazon ECS tasks in either an CodeDeploy or + an `EXTERNAL` deployment. A task set includes details such as the + desired number of tasks, how many tasks are running, and whether the + task set serves production traffic. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DaemonAlarmConfiguration(_SerdeShape): + """ + The CloudWatch alarm configuration for a daemon. When enabled, + CloudWatch alarms determine whether a daemon deployment has failed. + """ + + alarm_names: list[str] | None = ... + """The CloudWatch alarm names to monitor during a daemon deployment.""" + enable: bool = ... + """ + Determines whether to use the CloudWatch alarm option in the daemon + deployment process. The default value is `false`. + """ + +@dataclass(kw_only=True) +class DaemonCapacityProvider(_SerdeShape): + """Information about a capacity provider associated with a daemon revision.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the capacity provider.""" + running_count: int = ... + """The number of daemon tasks running on this capacity provider.""" + without_daemon_count: int = ... + """ + The number of instances on this capacity provider that are running + without the daemon task. This applies to daemons that aren't critical, + where the instance remains available for your other tasks even if the + daemon task can't start or stops. These instances aren't included in + `runningCount`. + """ + +@dataclass(kw_only=True) +class DaemonCircuitBreaker(_SerdeShape): + """ + Information about the circuit breaker used to determine when a daemon + deployment has failed. + """ + + failure_count: int = ... + """ + The number of times the circuit breaker detected a daemon deployment + failure. + """ + status: str | None = ... + """ + The circuit breaker status. Amazon ECS is not using the circuit breaker + for daemon deployment failures when the status is `DISABLED`. + """ + threshold: int = ... + """The threshold which determines that the daemon deployment failed.""" + +@dataclass(kw_only=True) +class DaemonContainerDefinition(_SerdeShape): + """ + A container definition for a daemon task. Daemon container definitions + describe the containers that run as part of a daemon task on container + instances managed by capacity providers. + """ + + name: str | None = ... + """ + The name of the container. Up to 255 letters (uppercase and lowercase), + numbers, underscores, and hyphens are allowed. + """ + image: str + """ + The image used to start the container. This string is passed directly to + the Docker daemon. Images in the Docker Hub registry are available by + default. Other repositories are specified with either + ` `*`repository-url`*`/`*`image`*`:`*`tag`*` ` or + ` `*`repository-url`*`/`*`image`*`@`*`digest`*` `. + """ + memory: int | None = ... + """ + The amount (in MiB) of memory to present to the container. If the + container attempts to exceed the memory specified here, the container is + killed. + """ + memory_reservation: int | None = ... + """The soft limit (in MiB) of memory to reserve for the container.""" + repository_credentials: RepositoryCredentials | None = ... + """The private repository authentication credentials to use.""" + health_check: HealthCheck | None = ... + """ + The container health check command and associated configuration + parameters for the container. + """ + cpu: int = ... + """The number of `cpu` units reserved for the container.""" + essential: bool | None = ... + """ + If the `essential` parameter of a container is marked as `true`, and + that container fails or stops for any reason, all other containers that + are part of the task are stopped. + """ + entry_point: list[str] | None = ... + """The entry point that's passed to the container.""" + command: list[str] | None = ... + """The command that's passed to the container.""" + working_directory: str | None = ... + """The working directory to run commands inside the container in.""" + environment_files: list[EnvironmentFile] | None = ... + """ + A list of files containing the environment variables to pass to a + container. + """ + environment: list[KeyValuePair] | None = ... + """The environment variables to pass to a container.""" + secrets: list[Secret] | None = ... + """The secrets to pass to the container.""" + readonly_root_filesystem: bool | None = ... + """ + When this parameter is true, the container is given read-only access to + its root file system. + """ + mount_points: list[MountPoint] | None = ... + """The mount points for data volumes in your container.""" + log_configuration: LogConfiguration | None = ... + """The log configuration specification for the container.""" + firelens_configuration: FirelensConfiguration | None = ... + """ + The FireLens configuration for the container. This is used to specify + and configure a log router for container logs. + """ + privileged: bool | None = ... + """ + When this parameter is true, the container is given elevated privileges + on the host container instance (similar to the `root` user). + """ + user: str | None = ... + """The user to use inside the container.""" + ulimits: list[Ulimit] | None = ... + """A list of `ulimits` to set in the container.""" + linux_parameters: DaemonLinuxParameters | None = ... + """ + Linux-specific modifications that are applied to the container + configuration, such as Linux kernel capabilities. + """ + depends_on: list[ContainerDependency] | None = ... + """ + The dependencies defined for container startup and shutdown. A container + can contain multiple dependencies on other containers in a task + definition. + """ + start_timeout: int | None = ... + """ + Time duration (in seconds) to wait before giving up on resolving + dependencies for a container. + """ + stop_timeout: int | None = ... + """ + Time duration (in seconds) to wait before the container is forcefully + killed if it doesn't exit normally on its own. + """ + system_controls: list[SystemControl] | None = ... + """A list of namespaced kernel parameters to set in the container.""" + interactive: bool | None = ... + """ + When this parameter is `true`, you can deploy containerized applications + that require `stdin` or a `tty` to be allocated. + """ + pseudo_terminal: bool | None = ... + """When this parameter is `true`, a TTY is allocated.""" + restart_policy: ContainerRestartPolicy | None = ... + """ + The restart policy for the container. When you set up a restart policy, + Amazon ECS can restart the container without needing to replace the + task. + """ + +@dataclass(kw_only=True) +class DaemonContainerImage(_SerdeShape): + """The details about the container image a daemon revision uses.""" + + container_name: str | None = ... + """The name of the container.""" + image_digest: str | None = ... + """The container image digest.""" + image: str | None = ... + """The container image.""" + +@dataclass(kw_only=True) +class DaemonDeployment(_SerdeShape): + """ + Information about a daemon deployment. A daemon deployment orchestrates + the progressive rollout of daemon task updates across container + instances. + """ + + daemon_deployment_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon deployment.""" + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster that hosts the daemon.""" + status: str | None = ... + """The status of the daemon deployment.""" + status_reason: str | None = ... + """Information about why the daemon deployment is in the current status.""" + target_daemon_revision: DaemonDeploymentRevisionDetail | None = ... + """The daemon revision being deployed.""" + source_daemon_revisions: list[DaemonDeploymentRevisionDetail] | None = ... + """The currently deployed daemon revisions that are being replaced.""" + circuit_breaker: DaemonCircuitBreaker | None = ... + """ + The circuit breaker configuration that determines when a daemon + deployment has failed. + """ + alarms: DaemonDeploymentAlarms | None = ... + """The CloudWatch alarms that determine when a daemon deployment fails.""" + rollback: DaemonRollback | None = ... + """The rollback options for the daemon deployment.""" + deployment_configuration: DaemonDeploymentConfiguration | None = ... + """The deployment configuration used for this daemon deployment.""" + created_at: datetime | None = ... + """ + The time the daemon deployment was created. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + started_at: datetime | None = ... + """ + The time the daemon deployment started. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + stopped_at: datetime | None = ... + """ + The time the daemon deployment stopped. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + finished_at: datetime | None = ... + """ + The time the daemon deployment finished. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + +@dataclass(kw_only=True) +class DaemonDeploymentAlarms(_SerdeShape): + """The CloudWatch alarms used to determine a daemon deployment failed.""" + + status: str | None = ... + """ + The status of the alarms check. Amazon ECS is not using alarms for + daemon deployment failures when the status is `DISABLED`. + """ + alarm_names: list[str] | None = ... + """ + The name of the CloudWatch alarms that determine when a daemon + deployment failed. + """ + triggered_alarm_names: list[str] | None = ... + """ + One or more CloudWatch alarm names that have been triggered during the + daemon deployment. + """ + +@dataclass(kw_only=True) +class DaemonDeploymentCapacityProvider(_SerdeShape): + """Information about a capacity provider during a daemon deployment.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the capacity provider.""" + running_instance_count: int | None = ... + """The number of instances running daemon tasks on this capacity provider.""" + without_daemon_instance_count: int | None = ... + """ + The number of instances on this capacity provider that are running + without the daemon task. This applies to daemons that aren't critical, + where the instance remains available for your other tasks even if the + daemon task can't start or stops. These instances aren't included in + `runningInstanceCount`. + """ + draining_instance_count: int | None = ... + """ + The number of instances being drained on this capacity provider during + the deployment. + """ + +@dataclass(kw_only=True) +class DaemonDeploymentConfiguration(_SerdeShape): + """ + Optional deployment parameters that control how a daemon rolls out + updates across container instances. + """ + + drain_percent: float | None = ... + """ + The percentage of container instances to drain simultaneously during a + daemon deployment. Valid values are between 0.0 and 100.0. + """ + alarms: DaemonAlarmConfiguration | None = ... + """ + The CloudWatch alarm configuration for the daemon deployment. When + alarms are triggered during a deployment, the deployment can be + automatically rolled back. + """ + bake_time_in_minutes: int = ... + """ + The amount of time (in minutes) to wait after a successful deployment + step before proceeding. This allows time to monitor for issues before + continuing. The default value is 0. + """ + +@dataclass(kw_only=True) +class DaemonDeploymentRevisionDetail(_SerdeShape): + """ + Details about a daemon revision during a deployment, including running + and draining instance counts per capacity provider. + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon revision.""" + capacity_providers: list[DaemonDeploymentCapacityProvider] | None = ... + """ + The capacity providers associated with this daemon revision during the + deployment. + """ + total_running_instance_count: int | None = ... + """The total number of instances running daemon tasks for this revision.""" + total_without_daemon_instance_count: int | None = ... + """ + The total number of instances running without the daemon task for this + revision, across all capacity providers. These instances aren't + included in `totalRunningInstanceCount`. + """ + total_draining_instance_count: int | None = ... + """ + The total number of instances being drained for this revision during the + deployment. + """ + +class DaemonDeploymentRollbackMonitorsStatus(UnknownEnumMixin, StrEnum): + TRIGGERED = "TRIGGERED" + MONITORING = "MONITORING" + MONITORING_COMPLETE = "MONITORING_COMPLETE" + DISABLED = "DISABLED" + +class DaemonDeploymentStatus(UnknownEnumMixin, StrEnum): + PENDING = "PENDING" + SUCCESSFUL = "SUCCESSFUL" + STOPPED = "STOPPED" + STOP_REQUESTED = "STOP_REQUESTED" + IN_PROGRESS = "IN_PROGRESS" + ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" + ROLLBACK_SUCCESSFUL = "ROLLBACK_SUCCESSFUL" + ROLLBACK_FAILED = "ROLLBACK_FAILED" + +@dataclass(kw_only=True) +class DaemonDeploymentSummary(_SerdeShape): + """A summary of a daemon deployment.""" + + daemon_deployment_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon deployment.""" + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon.""" + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster that hosts the daemon.""" + status: str | None = ... + """The status of the daemon deployment.""" + status_reason: str | None = ... + """Information about why the daemon deployment is in the current status.""" + target_daemon_revision_arn: str | None = ... + """The ARN of the daemon revision being deployed.""" + created_at: datetime | None = ... + """The time the daemon deployment was created.""" + started_at: datetime | None = ... + """The time the daemon deployment started.""" + stopped_at: datetime | None = ... + """The time the daemon deployment stopped.""" + finished_at: datetime | None = ... + """The time the daemon deployment finished.""" + +@dataclass(kw_only=True) +class DaemonDetail(_SerdeShape): + """The detailed information about a daemon.""" + + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon.""" + cluster_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the cluster that the daemon is running + in. + """ + status: str | None = ... + """The status of the daemon.""" + current_revisions: list[DaemonRevisionDetail] | None = ... + """ + The current daemon revision details, including the running task counts + per capacity provider. + """ + deployment_arn: str | None = ... + """The Amazon Resource Name (ARN) of the most recent daemon deployment.""" + created_at: datetime | None = ... + """The Unix timestamp for the time when the daemon was created.""" + updated_at: datetime | None = ... + """The Unix timestamp for the time when the daemon was last updated.""" + +class DaemonIpcMode(UnknownEnumMixin, StrEnum): + NONE = "none" + """The daemon gets its own isolated IPC namespace.""" + SHARED = "shared" + """ + The daemon shares the IPC namespace with co-located tasks on the same + container instance. + """ + +@dataclass(kw_only=True) +class DaemonLinuxParameters(_SerdeShape): + """ + The Linux-specific options that are applied to the daemon container, + such as Linux kernel capabilities. + """ + + capabilities: KernelCapabilities | None = ... + """ + The Linux capabilities for the container that are added to or dropped + from the default configuration provided by Docker. + """ + devices: list[Device] | None = ... + """Any host devices to expose to the container.""" + init_process_enabled: bool | None = ... + """ + Run an `init` process inside the container that forwards signals and + reaps processes. + """ + tmpfs: list[Tmpfs] | None = ... + """The container path, mount options, and size (in MiB) of the tmpfs mount.""" + +@dataclass(kw_only=True) +class DaemonNotActiveException(ServiceError, _SerdeShape): + """ + The specified daemon isn't active. You can't update a daemon that's + inactive. If you have previously deleted a daemon, you can re-create it + with + [CreateDaemon](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateDaemon.html). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DaemonNotFoundException(ServiceError, _SerdeShape): + """ + The specified daemon wasn't found. You can view your available daemons + with + [ListDaemons](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListDaemons.html). + Amazon ECS daemons are cluster specific and Region specific. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DaemonPidMode(UnknownEnumMixin, StrEnum): + NONE = "none" + """The daemon gets its own isolated PID namespace.""" + SHARED = "shared" + """ + The daemon shares the PID namespace with co-located tasks on the same + container instance. + """ + +class DaemonPropagateTags(UnknownEnumMixin, StrEnum): + DAEMON = "DAEMON" + NONE = "NONE" + +@dataclass(kw_only=True) +class DaemonRevision(_SerdeShape): + """ + Information about a daemon revision. A daemon revision is a snapshot of + the daemon's configuration at the time a deployment was initiated. + """ + + daemon_revision_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon revision.""" + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster that hosts the daemon.""" + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon for this revision.""" + daemon_task_definition_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the daemon task definition used by + this revision. + """ + created_at: datetime | None = ... + """The Unix timestamp for the time when the daemon revision was created.""" + container_images: list[DaemonContainerImage] | None = ... + """The container images used by the daemon revision.""" + propagate_tags: str | None = ... + """ + Specifies whether tags are propagated from the daemon to the daemon + tasks. + """ + enable_ecs_managed_tags: bool | None = ... + """ + Specifies whether Amazon ECS managed tags are turned on for the daemon + tasks. + """ + enable_execute_command: bool | None = ... + """ + Specifies whether the execute command functionality is turned on for the + daemon tasks. + """ + critical: bool | None = ... + """ + If the `critical` parameter of this daemon revision is `true`, and the + daemon task fails, stops, or becomes unhealthy, Amazon ECS drains the + container instance and stops the other tasks running on it. If the + parameter is `false`, the daemon task failure doesn't affect the other + tasks on the instance, and doesn't block instance registration. The + default value is `true`. + """ + +@dataclass(kw_only=True) +class DaemonRevisionDetail(_SerdeShape): + """ + Details about a daemon revision, including the running task counts per + capacity provider. + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon revision.""" + capacity_providers: list[DaemonCapacityProvider] | None = ... + """The capacity providers associated with this daemon revision.""" + total_running_count: int = ... + """The total number of daemon tasks running for this revision.""" + total_without_daemon_count: int = ... + """ + The total number of instances running without the daemon task for this + revision, across all capacity providers. These instances aren't + included in `totalRunningCount`. + """ + +@dataclass(kw_only=True) +class DaemonRollback(_SerdeShape): + """Information about a daemon deployment rollback.""" + + reason: str | None = ... + """ + The reason the rollback happened. For example, the circuit breaker + initiated the rollback operation. + """ + started_at: datetime | None = ... + """ + The time that the rollback started. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + rollback_target_daemon_revision_arn: str | None = ... + """The ARN of the daemon revision deployed as part of the rollback.""" + rollback_capacity_providers: list[str] | None = ... + """The capacity providers involved in the rollback.""" + +class DaemonStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + +@dataclass(kw_only=True) +class DaemonSummary(_SerdeShape): + """A summary of a daemon.""" + + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon.""" + status: str | None = ... + """The status of the daemon.""" + created_at: datetime | None = ... + """The Unix timestamp for the time when the daemon was created.""" + updated_at: datetime | None = ... + """The Unix timestamp for the time when the daemon was last updated.""" + +@dataclass(kw_only=True) +class DaemonTaskDefinition(_SerdeShape): + """ + The details of a daemon task definition. A daemon task definition is a + template that describes the containers that form a daemon. Daemons + deploy cross-cutting software agents independently across your Amazon + ECS infrastructure. + """ + + daemon_task_definition_arn: str | None = ... + """The full Amazon Resource Name (ARN) of the daemon task definition.""" + family: str | None = ... + """The name of a family that this daemon task definition is registered to.""" + revision: int = ... + """ + The revision of the daemon task in a particular family. The revision is + a version number of a daemon task definition in a family. When you + register a daemon task definition for the first time, the revision is + `1`. Each time that you register a new revision of a daemon task + definition in the same family, the revision value always increases by + one. + """ + task_role_arn: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the IAM role that + grants containers in the daemon task permission to call Amazon Web + Services APIs on your behalf. + """ + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the task execution role that grants + the Amazon ECS container agent permission to make Amazon Web Services + API calls on your behalf. + """ + container_definitions: list[DaemonContainerDefinition] | None = ... + """ + A list of container definitions in JSON format that describe the + containers that make up the daemon task. + """ + volumes: list[DaemonVolume] | None = ... + """The list of data volume definitions for the daemon task.""" + cpu: str | None = ... + """The number of CPU units used by the daemon task.""" + memory: str | None = ... + """The amount of memory (in MiB) used by the daemon task.""" + status: str | None = ... + """ + The status of the daemon task definition. The valid values are `ACTIVE`, + `DELETE_IN_PROGRESS`, and `DELETED`. + """ + registered_at: datetime | None = ... + """ + The Unix timestamp for the time when the daemon task definition was + registered. + """ + delete_requested_at: datetime | None = ... + """ + The Unix timestamp for the time when the daemon task definition delete + was requested. + """ + registered_by: str | None = ... + """The principal that registered the daemon task definition.""" + pid_mode: str | None = ... + """ + The PID namespace mode for the daemon. The valid values are `none` and + `shared`. The default is `none`. + + If `none` is specified or no value is provided, the daemon runs with its + own PID namespace, isolated from other tasks. If `shared` is specified, + the daemon joins the host PID namespace, making it accessible to + non-daemon tasks that use `pidMode: "host"` or other daemons that use + `pidMode: "shared"`. + """ + ipc_mode: str | None = ... + """ + The IPC namespace mode for the daemon. The valid values are `none` and + `shared`. The default is `none`. + + If `none` is specified or no value is provided, the daemon runs with its + own IPC namespace, isolated from other tasks. If `shared` is specified, + the daemon joins the host IPC namespace, making it accessible to + non-daemon tasks that use `ipcMode: "host"` or other daemons that use + `ipcMode: "shared"`. + """ + +class DaemonTaskDefinitionRevisionFilter(UnknownEnumMixin, StrEnum): + LAST_REGISTERED = "LAST_REGISTERED" + +class DaemonTaskDefinitionStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + DELETED = "DELETED" + +class DaemonTaskDefinitionStatusFilter(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + ALL = "ALL" + +@dataclass(kw_only=True) +class DaemonTaskDefinitionSummary(_SerdeShape): + """A summary of a daemon task definition.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon task definition.""" + registered_at: datetime | None = ... + """ + The Unix timestamp for the time when the daemon task definition was + registered. + """ + registered_by: str | None = ... + """The principal that registered the daemon task definition.""" + delete_requested_at: datetime | None = ... + """ + The Unix timestamp for the time when the daemon task definition delete + was requested. + """ + status: str | None = ... + """The status of the daemon task definition.""" + +@dataclass(kw_only=True) +class DaemonVolume(_SerdeShape): + """A data volume definition for a daemon task.""" + + name: str | None = ... + """ + The name of the volume. Up to 255 letters (uppercase and lowercase), + numbers, underscores, and hyphens are allowed. + """ + host: HostVolumeProperties | None = ... + """ + The contents of the `host` parameter determine whether your bind mount + host volume persists on the host container instance and where it's + stored. + """ + log_driver_volume_configuration: LogDriverVolumeConfiguration | None = ... + """ + The log driver volume configuration. With a log driver volume, the + containers in a daemon task can read the log files that a log driver + writes for the other tasks on the container instance. To read the log + files, mount the volume into a container in the daemon task with + `mountPoints`. + + Use `host` to bind mount a path on the container instance. Use + `logDriverVolumeConfiguration` to read the log output of other tasks. + You can't specify both for the same volume. + """ + +@dataclass(kw_only=True) +class DeleteAccountSettingInput(_SerdeShape): + """Dataclass for DeleteAccountSettingInput structure.""" + + name: str | None = ... + """ + The resource name to disable the account setting for. If + `serviceLongArnFormat` is specified, the ARN for your Amazon ECS + services is affected. If `taskLongArnFormat` is specified, the ARN and + resource ID for your Amazon ECS tasks is affected. If + `containerInstanceLongArnFormat` is specified, the ARN and resource ID + for your Amazon ECS container instances is affected. If `awsvpcTrunking` + is specified, the ENI limit for your Amazon ECS container instances is + affected. + """ + principal_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the principal. It can be a user, role, + or the root user. If you specify the root user, it disables the account + setting for all users, roles, and the root user of the account unless a + user or role explicitly overrides these settings. If this field is + omitted, the setting is changed only for the authenticated user. + + In order to use this parameter, you must be the root user, or the + principal. + """ + +@dataclass(kw_only=True) +class DeleteAccountSettingOutput(_SerdeShape): + """Dataclass for DeleteAccountSettingOutput structure.""" + + setting: Setting | None = ... + """The account setting for the specified principal ARN.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAttributesInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + contains the resource to delete attributes. If you do not specify a + cluster, the default cluster is assumed. + """ + attributes: list[Attribute] | None = ... + """ + The attributes to delete from your resource. You can specify up to 10 + attributes for each request. For custom attributes, specify the + attribute name and target ID, but don't specify the value. If you + specify the target ID using the short form, you must also specify the + target type. + """ + +@dataclass(kw_only=True) +class DeleteAttributesOutput(_SerdeShape): + """""" + + attributes: list[Attribute] | None = ... + """ + A list of attribute objects that were successfully deleted from your + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCapacityProviderInput(_SerdeShape): + """Dataclass for DeleteCapacityProviderInput structure.""" + + capacity_provider: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the capacity + provider to delete. + """ + cluster: str | None = ... + """ + The name of the cluster that contains the capacity provider to delete. + Managed instances capacity providers are cluster-scoped and can only be + deleted from their associated cluster. + """ + +@dataclass(kw_only=True) +class DeleteCapacityProviderOutput(_SerdeShape): + """Dataclass for DeleteCapacityProviderOutput structure.""" + + capacity_provider: CapacityProvider | None = ... + """The details of the capacity provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteClusterInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster to + delete. + """ + +@dataclass(kw_only=True) +class DeleteClusterOutput(_SerdeShape): + """""" + + cluster: Cluster | None = ... + """The full description of the deleted cluster.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDaemonInput(_SerdeShape): + """Dataclass for DeleteDaemonInput structure.""" + + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon to delete.""" + +@dataclass(kw_only=True) +class DeleteDaemonOutput(_SerdeShape): + """Dataclass for DeleteDaemonOutput structure.""" + + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon.""" + status: str | None = ... + """ + The status of the daemon. After you call `DeleteDaemon`, the status + changes to `DELETE_IN_PROGRESS`. + """ + created_at: datetime | None = ... + """The Unix timestamp for the time when the daemon was created.""" + updated_at: datetime | None = ... + """The Unix timestamp for the time when the daemon was last updated.""" + deployment_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the daemon deployment that was + triggered by the delete operation. This deployment drains existing + daemon tasks from the container instances. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDaemonTaskDefinitionInput(_SerdeShape): + """Dataclass for DeleteDaemonTaskDefinitionInput structure.""" + + daemon_task_definition: str | None = ... + """ + The `family` and `revision` (`family:revision`) or full Amazon Resource + Name (ARN) of the daemon task definition to delete. + """ + +@dataclass(kw_only=True) +class DeleteDaemonTaskDefinitionOutput(_SerdeShape): + """Dataclass for DeleteDaemonTaskDefinitionOutput structure.""" + + daemon_task_definition_arn: str | None = ... + """ + The full Amazon Resource Name (ARN) of the deleted daemon task + definition. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteExpressGatewayServiceInput(_SerdeShape): + """Dataclass for DeleteExpressGatewayServiceInput structure.""" + + service_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Express service to delete. The ARN + uniquely identifies the service within your Amazon Web Services account + and region. + """ + +@dataclass(kw_only=True) +class DeleteExpressGatewayServiceOutput(_SerdeShape): + """Dataclass for DeleteExpressGatewayServiceOutput structure.""" + + service: ECSExpressGatewayService | None = ... + """The full description of the deleted express service.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGatewayInput(_SerdeShape): + """Dataclass for DeleteGatewayInput structure.""" + + gateway: str | None = ... + """The name or Amazon Resource Name (ARN) of the gateway to delete.""" + +@dataclass(kw_only=True) +class DeleteGatewayOutput(_SerdeShape): + """Dataclass for DeleteGatewayOutput structure.""" + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the deleted gateway.""" + name: str | None = ... + """The name of the deleted gateway.""" + status: str | None = ... + """ + The status of the gateway. After a successful delete, the status is + `DELETED`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteServiceInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the service to delete. If you do not specify a cluster, the + default cluster is assumed. + """ + service: str | None = ... + """The name of the service to delete.""" + force: bool | None = ... + """ + If `true`, allows you to delete a service even if it wasn't scaled down + to zero tasks. It's only necessary to use this if the service uses the + `REPLICA` scheduling strategy. + """ + +@dataclass(kw_only=True) +class DeleteServiceOutput(_SerdeShape): + """""" + + service: Service | None = ... + """The full description of the deleted service.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTaskDefinitionsInput(_SerdeShape): + """Dataclass for DeleteTaskDefinitionsInput structure.""" + + task_definitions: list[str] | None = ... + """ + The `family` and `revision` (`family:revision`) or full Amazon Resource + Name (ARN) of the task definition to delete. You must specify a + `revision`. + + You can specify up to 10 task definitions as a comma separated list. + """ + +@dataclass(kw_only=True) +class DeleteTaskDefinitionsOutput(_SerdeShape): + """Dataclass for DeleteTaskDefinitionsOutput structure.""" + + task_definitions: list[TaskDefinition] | None = ... + """The list of deleted task definitions.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTaskSetInput(_SerdeShape): + """Dataclass for DeleteTaskSetInput structure.""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the service that the task set found in to delete. + """ + service: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the service that + hosts the task set to delete. + """ + task_set: str | None = ... + """ + The task set ID or full Amazon Resource Name (ARN) of the task set to + delete. + """ + force: bool | None = ... + """ + If `true`, you can delete a task set even if it hasn't been scaled down + to zero. + """ + +@dataclass(kw_only=True) +class DeleteTaskSetOutput(_SerdeShape): + """Dataclass for DeleteTaskSetOutput structure.""" + + task_set: TaskSet | None = ... + """Details about the task set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Deployment(_SerdeShape): + """ + The details of an Amazon ECS service deployment. This is used only when + a service uses the `ECS` deployment controller type. + """ + + id: str | None = ... + """The ID of the deployment.""" + status: str | None = ... + """ + The status of the deployment. The following describes each state. + + PRIMARY + + : The most recent deployment of a service. + + ACTIVE + + : A service deployment that still has running tasks, but are in the + process of being replaced with a new `PRIMARY` deployment. + + INACTIVE + + : A deployment that has been completely replaced. + """ + task_definition: str | None = ... + """ + The most recent task definition that was specified for the tasks in the + service to use. + """ + desired_count: int = ... + """ + The most recent desired count of tasks that was specified for the + service to deploy or maintain. + """ + pending_count: int = ... + """The number of tasks in the deployment that are in the `PENDING` status.""" + running_count: int = ... + """The number of tasks in the deployment that are in the `RUNNING` status.""" + failed_tasks: int = ... + """ + The number of consecutively failed tasks in the deployment. A task is + considered a failure if the service scheduler can't launch the task, + the task doesn't transition to a `RUNNING` state, or if it fails any of + its defined health checks and is stopped. + + Note: + Once a service deployment has one or more successfully running tasks, + the failed task count resets to zero and stops being evaluated. + """ + created_at: datetime | None = ... + """The Unix timestamp for the time when the service deployment was created.""" + updated_at: datetime | None = ... + """ + The Unix timestamp for the time when the service deployment was last + updated. + """ + capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """The capacity provider strategy that the deployment is using.""" + launch_type: str | None = ... + """ + The launch type the tasks in the service are using. For more + information, see [Amazon ECS Launch + Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + platform_version: str | None = ... + """ + The platform version that your tasks in the service run on. A platform + version is only specified for tasks using the Fargate launch type. If + one isn't specified, the `LATEST` platform version is used. For more + information, see [Fargate Platform + Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + platform_family: str | None = ... + """ + The operating system that your tasks in the service, or tasks are + running on. A platform family is specified only for tasks using the + Fargate launch type. + + All tasks that run as part of this service must use the same + `platformFamily` value as the service, for example, ` LINUX.`. + """ + network_configuration: NetworkConfiguration | None = ... + """ + The VPC subnet and security group configuration for tasks that receive + their own elastic network interface by using the `awsvpc` networking + mode. + """ + rollout_state: str | None = ... + """ + Note: + The `rolloutState` of a service is only returned for services that use + the rolling update (`ECS`) deployment type that aren't behind a Classic + Load Balancer. + + The rollout state of the deployment. When a service deployment is + started, it begins in an `IN_PROGRESS` state. When the service reaches a + steady state, the deployment transitions to a `COMPLETED` state. If the + service fails to reach a steady state and circuit breaker is turned on, + the deployment transitions to a `FAILED` state. A deployment in `FAILED` + state doesn't launch any new tasks. For more information, see + [DeploymentCircuitBreaker](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeploymentCircuitBreaker.html). + """ + rollout_state_reason: str | None = ... + """A description of the rollout state of a deployment.""" + service_connect_configuration: ServiceConnectConfiguration | None = ... + """ + The details of the Service Connect configuration that's used by this + deployment. Compare the configuration between multiple deployments when + troubleshooting issues with new deployments. + + The configuration for this service to discover and connect to services, + and be discovered by, and connected from, other services within a + namespace. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + service_connect_resources: list[ServiceConnectServiceResource] | None = ... + """ + The list of Service Connect resources that are associated with this + deployment. Each list entry maps a discovery name to a Cloud Map service + name. + """ + volume_configurations: list[ServiceVolumeConfiguration] | None = ... + """ + The details of the volume that was `configuredAtLaunch`. You can + configure different settings like the size, throughput, volumeType, and + ecryption in + [ServiceManagedEBSVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html). + The `name` of the volume must match the `name` from the task definition. + """ + fargate_ephemeral_storage: DeploymentEphemeralStorage | None = ... + """The Fargate ephemeral storage settings for the deployment.""" + vpc_lattice_configurations: list[VpcLatticeConfiguration] | None = ... + """The VPC Lattice configuration for the service deployment.""" + +@dataclass(kw_only=True) +class DeploymentAlarms(_SerdeShape): + """ + One of the methods which provide a way for you to quickly identify when + a deployment has failed, and then to optionally roll back the failure to + the last working deployment. + + When the alarms are generated, Amazon ECS sets the service deployment to + failed. Set the rollback parameter to have Amazon ECS to roll back your + service to the last completed deployment after a failure. + + You can only use the `DeploymentAlarms` method to detect failures when + the `DeploymentController` is set to `ECS`. + + For more information, see [Rolling + update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) + in the Amazon Elastic Container Service Developer Guide . + """ + + alarm_names: list[str] + """One or more CloudWatch alarm names. Use a \",\" to separate the alarms.""" + rollback: bool = ... + """ + Determines whether to configure Amazon ECS to roll back the service if a + service deployment fails. If rollback is used, when a service deployment + fails, the service is rolled back to the last deployment that completed + successfully. + """ + enable: bool = ... + """ + Determines whether to use the CloudWatch alarm option in the service + deployment process. + """ + +@dataclass(kw_only=True) +class DeploymentCircuitBreaker(_SerdeShape): + """ + Note: + The deployment circuit breaker can only be used for services using the + rolling update (`ECS`) deployment type. + + The **deployment circuit breaker** determines whether a service + deployment will fail if the service can't reach a steady state. If it + is turned on, a service deployment will transition to a failed state and + stop launching new tasks. You can also configure Amazon ECS to roll back + your service to the last completed deployment after a failure. For more + information, see [Rolling + update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) + in the *Amazon Elastic Container Service Developer Guide*. + + For more information about API failure reasons, see [API failure + reasons](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + enable: bool = ... + """ + Determines whether to use the deployment circuit breaker logic for the + service. + """ + rollback: bool = ... + """ + Determines whether to configure Amazon ECS to roll back the service if a + service deployment fails. If rollback is on, when a service deployment + fails, the service is rolled back to the last deployment that completed + successfully. + """ + reset_on_healthy_task: bool | None = ... + """ + Specifies whether the deployment circuit breaker resets its failure + count when a task reaches a healthy state. When set to `true`, a task + that reaches a healthy state resets the failure count to `0`. When set + to `false`, Amazon ECS does not reset the failure count. The default is + `true`. + """ + threshold_configuration: ThresholdConfiguration | None = ... + """ + The threshold configuration that controls when the deployment circuit + breaker triggers. The `type` and `value` together determine how many + task failures are tolerated before the circuit breaker activates. + """ + +@dataclass(kw_only=True) +class DeploymentConfiguration(_SerdeShape): + """ + Optional deployment parameters that control how many tasks run during a + deployment and the ordering of stopping and starting tasks. + """ + + deployment_circuit_breaker: DeploymentCircuitBreaker | None = ... + """ + Note: + The deployment circuit breaker can only be used for services using the + rolling update (`ECS`) deployment type. + + The **deployment circuit breaker** determines whether a service + deployment will fail if the service can't reach a steady state. If you + use the deployment circuit breaker, a service deployment will transition + to a failed state and stop launching new tasks. If you use the rollback + option, when a service deployment fails, the service is rolled back to + the last deployment that completed successfully. For more information, + see [Rolling + update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) + in the *Amazon Elastic Container Service Developer Guide* + """ + maximum_percent: int | None = ... + """ + If a service is using the rolling update (`ECS`) deployment type, the + `maximumPercent` parameter represents an upper limit on the number of + your service's tasks that are allowed in the `RUNNING` or `PENDING` + state during a deployment, as a percentage of the `desiredCount` + (rounded down to the nearest integer). This parameter enables you to + define the deployment batch size. For example, if your service is using + the `REPLICA` service scheduler and has a `desiredCount` of four tasks + and a `maximumPercent` value of 200%, the scheduler may start four new + tasks before stopping the four older tasks (provided that the cluster + resources required to do this are available). The default + `maximumPercent` value for a service using the `REPLICA` service + scheduler is 200%. + + The Amazon ECS scheduler uses this parameter to replace unhealthy tasks + by starting replacement tasks first and then stopping the unhealthy + tasks, as long as cluster resources for starting replacement tasks are + available. For more information about how the scheduler replaces + unhealthy tasks, see [Amazon ECS + services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html). + + If a service is using either the blue/green (`CODE_DEPLOY`) or + `EXTERNAL` deployment types, and tasks in the service use the EC2 launch + type, the **maximum percent** value is set to the default value. The + **maximum percent** value is used to define the upper limit on the + number of the tasks in the service that remain in the `RUNNING` state + while the container instances are in the `DRAINING` state. + + Note: + You can't specify a custom `maximumPercent` value for a service that + uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL` deployment + types and has tasks that use the EC2 launch type. + + If the service uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL` + deployment types, and the tasks in the service use the Fargate launch + type, the maximum percent value is not used. The value is still returned + when describing your service. + """ + minimum_healthy_percent: int | None = ... + """ + If a service is using the rolling update (`ECS`) deployment type, the + `minimumHealthyPercent` represents a lower limit on the number of your + service's tasks that must remain in the `RUNNING` state during a + deployment, as a percentage of the `desiredCount` (rounded up to the + nearest integer). This parameter enables you to deploy without using + additional cluster capacity. For example, if your service has a + `desiredCount` of four tasks and a `minimumHealthyPercent` of 50%, the + service scheduler may stop two existing tasks to free up cluster + capacity before starting two new tasks. + + If any tasks are unhealthy and if `maximumPercent` doesn't allow the + Amazon ECS scheduler to start replacement tasks, the scheduler stops the + unhealthy tasks one-by-one --- using the `minimumHealthyPercent` as a + constraint --- to clear up capacity to launch replacement tasks. For + more information about how the scheduler replaces unhealthy tasks, see + [Amazon ECS + services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html). + + For services that *do not* use a load balancer, the following should be + noted: + + - A service is considered healthy if all essential containers within the + tasks in the service pass their health checks. + + - If a task has no essential containers with a health check defined, the + service scheduler will wait for 40 seconds after a task reaches a + `RUNNING` state before the task is counted towards the minimum healthy + percent total. + + - If a task has one or more essential containers with a health check + defined, the service scheduler will wait for the task to reach a + healthy status before counting it towards the minimum healthy percent + total. A task is considered healthy when all essential containers + within the task have passed their health checks. The amount of time + the service scheduler can wait for is determined by the container + health check settings. + + For services that *do* use a load balancer, the following should be + noted: + + - If a task has no essential containers with a health check defined, the + service scheduler will wait for the load balancer target group health + check to return a healthy status before counting the task towards the + minimum healthy percent total. + + - If a task has an essential container with a health check defined, the + service scheduler will wait for both the task to reach a healthy + status and the load balancer target group health check to return a + healthy status before counting the task towards the minimum healthy + percent total. + + The default value for a replica service for `minimumHealthyPercent` is + 100%. The default `minimumHealthyPercent` value for a service using the + `DAEMON` service schedule is 0% for the CLI, the Amazon Web Services + SDKs, and the APIs and 50% for the Amazon Web Services Management + Console. + + The minimum number of healthy tasks during a deployment is the + `desiredCount` multiplied by the `minimumHealthyPercent`/100, rounded up + to the nearest integer value. + + If a service is using either the blue/green (`CODE_DEPLOY`) or + `EXTERNAL` deployment types and is running tasks that use the EC2 launch + type, the **minimum healthy percent** value is set to the default value. + The **minimum healthy percent** value is used to define the lower limit + on the number of the tasks in the service that remain in the `RUNNING` + state while the container instances are in the `DRAINING` state. + + Note: + You can't specify a custom `minimumHealthyPercent` value for a service + that uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL` deployment + types and has tasks that use the EC2 launch type. + + If a service is using either the blue/green (`CODE_DEPLOY`) or + `EXTERNAL` deployment types and is running tasks that use the Fargate + launch type, the minimum healthy percent value is not used, although it + is returned when describing your service. + """ + alarms: DeploymentAlarms | None = ... + """Information about the CloudWatch alarms.""" + strategy: str | None = ... + """ + The deployment strategy for the service. Choose from these valid values: + + - `ROLLING` - When you create a service which uses the rolling update + (`ROLLING`) deployment strategy, the Amazon ECS service scheduler + replaces the currently running tasks with new tasks. The number of + tasks that Amazon ECS adds or removes from the service during a + rolling update is controlled by the service deployment configuration. + + - `BLUE_GREEN` - A blue/green deployment strategy (`BLUE_GREEN`) is a + release methodology that reduces downtime and risk by running two + identical production environments called blue and green. With Amazon + ECS blue/green deployments, you can validate new service revisions + before directing production traffic to them. This approach provides a + safer way to deploy changes with the ability to quickly roll back if + needed. + + - `LINEAR` - A *linear* deployment strategy (`LINEAR`) gradually shifts + traffic from the current production environment to a new environment + in equal percentages over time. With Amazon ECS linear deployments, + you can control the pace of traffic shifting and validate new service + revisions with increasing amounts of production traffic. + + - `CANARY` - A *canary* deployment strategy (`CANARY`) shifts a small + percentage of traffic to the new service revision first, then shifts + the remaining traffic all at once after a specified time period. This + allows you to test the new version with a subset of users before full + deployment. + """ + bake_time_in_minutes: int | None = ... + """ + The time period when both blue and green service revisions are running + simultaneously after the production traffic has shifted. + + You must provide this parameter when you use the `BLUE_GREEN` deployment + strategy. + """ + lifecycle_hooks: list[DeploymentLifecycleHook] | None = ... + """ + An array of deployment lifecycle hook objects to run custom logic or + pause the deployment at specific stages of the deployment lifecycle. + """ + linear_configuration: LinearConfiguration | None = ... + """ + Configuration for linear deployment strategy. Only valid when the + deployment strategy is `LINEAR`. This configuration enables progressive + traffic shifting in equal percentage increments with configurable bake + times between each step. + """ + canary_configuration: CanaryConfiguration | None = ... + """ + Configuration for canary deployment strategy. Only valid when the + deployment strategy is `CANARY`. This configuration enables shifting a + fixed percentage of traffic for testing, followed by shifting the + remaining traffic after a bake period. + """ + early_success_criteria: DeploymentEarlySuccessCriteria | None = ... + """ + The early success criteria configuration for a rolling deployment. With + early success criteria, you can configure an Amazon ECS deployment to + complete faster. Amazon ECS declares a deployment successful once a + target percentage of tasks are healthy, instead of waiting for the + service to fully stabilize. + """ + +@dataclass(kw_only=True) +class DeploymentController(_SerdeShape): + """The deployment controller to use for the service.""" + + type: str + """ + The deployment controller type to use. + + The deployment controller is the mechanism that determines how tasks are + deployed for your service. The valid options are: + + - ECS + + When you create a service which uses the `ECS` deployment controller, + you can choose between the following deployment strategies: + + - `ROLLING`: When you create a service which uses the *rolling update* + (`ROLLING`) deployment strategy, the Amazon ECS service scheduler + replaces the currently running tasks with new tasks. The number of + tasks that Amazon ECS adds or removes from the service during a + rolling update is controlled by the service deployment + configuration. + + Rolling update deployments are best suited for the following + scenarios: + + - Gradual service updates: You need to update your service + incrementally without taking the entire service offline at once. + + - Limited resource requirements: You want to avoid the additional + resource costs of running two complete environments simultaneously + (as required by blue/green deployments). + + - Acceptable deployment time: Your application can tolerate a longer + deployment process, as rolling updates replace tasks one by one. + + - No need for instant roll back: Your service can tolerate a + rollback process that takes minutes rather than seconds. + + - Simple deployment process: You prefer a straightforward deployment + approach without the complexity of managing multiple environments, + target groups, and listeners. + + - No load balancer requirement: Your service doesn't use or require + a load balancer, Application Load Balancer, Network Load Balancer, + or Service Connect (which are required for blue/green + deployments). + + - Stateful applications: Your application maintains state that makes + it difficult to run two parallel environments. + + - Cost sensitivity: You want to minimize deployment costs by not + running duplicate environments during deployment. + + Rolling updates are the default deployment strategy for services and + provide a balance between deployment safety and resource efficiency + for many common application scenarios. + + - `BLUE_GREEN`: A *blue/green* deployment strategy (`BLUE_GREEN`) is a + release methodology that reduces downtime and risk by running two + identical production environments called blue and green. With Amazon + ECS blue/green deployments, you can validate new service revisions + before directing production traffic to them. This approach provides + a safer way to deploy changes with the ability to quickly roll back + if needed. + + Amazon ECS blue/green deployments are best suited for the following + scenarios: + + - Service validation: When you need to validate new service + revisions before directing production traffic to them + + - Zero downtime: When your service requires zero-downtime + deployments + + - Instant roll back: When you need the ability to quickly roll back + if issues are detected + + - Load balancer requirement: When your service uses Application Load + Balancer, Network Load Balancer, or Service Connect + + - External + + Use a third-party deployment controller. + + - Blue/green deployment (powered by CodeDeploy) + + CodeDeploy installs an updated version of the application as a new + replacement task set and reroutes production traffic from the original + application task set to the replacement task set. The original task + set is terminated after a successful deployment. Use this deployment + controller to verify a new deployment of a service before sending + production traffic to it. + """ + +class DeploymentControllerType(UnknownEnumMixin, StrEnum): + ECS = "ECS" + CODE_DEPLOY = "CODE_DEPLOY" + EXTERNAL = "EXTERNAL" + +@dataclass(kw_only=True) +class DeploymentEarlySuccessCriteria(_SerdeShape): + """ + Note: + You can use early success criteria only with rolling deployment + strategy. + + The configuration that determines when a rolling update deployment is + considered successful. Early success criteria defines the percentage of + tasks that must be healthy before a deployment completes. It also + controls whether Amazon ECS must remove the previous tasks before a + deployment completes. + """ + + enable: bool = ... + """ + Specifies whether to use the early success criteria for the service + deployment. When set to `false`, the deployment uses the default + behavior, where Amazon ECS considers the deployment successful when the + target service revision fully stabilizes and the previous tasks are + removed. The default value is `false`. + + When set to `true`, Amazon ECS monitors the deployment to meet early + success criteria. You must also specify `healthyPercent` and + `sourceServiceRevisionCleanup`. + """ + healthy_percent: int | None = ... + """ + The percentage of healthy tasks that the target service revision must + reach before Amazon ECS considers the deployment successful. This + percentage is relative to the service's `desiredCount` and must be an + integer between `0` and `100`. This value must be greater than or equal + to the `minimumHealthyPercent` value. + + After this percentage of tasks is healthy and the bake time elapses, + Amazon ECS completes the deployment. Amazon ECS continues to scale the + target service revision to 100 percent in the background. + """ + source_service_revision_cleanup: str | None = ... + """ + The time when Amazon ECS removes the source revisions' tasks relative + to deployment completion. The valid values are: + + - `BLOCKING`---Amazon ECS removes the previous tasks before it marks the + deployment as successful. + + - `DEFERRED`---Amazon ECS marks the deployment successful, and then + removes the previous tasks in the background. + """ + +@dataclass(kw_only=True) +class DeploymentEphemeralStorage(_SerdeShape): + """The amount of ephemeral storage to allocate for the deployment.""" + + kms_key_id: str | None = ... + """ + Specify an Key Management Service key ID to encrypt the ephemeral + storage for deployment. + """ + +@dataclass(kw_only=True) +class DeploymentLifecycleHook(_SerdeShape): + """ + A deployment lifecycle hook runs custom logic or pauses the deployment + at specific stages of the deployment process. You can use Lambda + functions or pause hooks as hook targets. + + For more information, see [Lifecycle hooks for Amazon ECS service + deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-lifecycle-hooks.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + target_type: str | None = ... + """ + The type of action the lifecycle hook performs. Valid values are: + + - `AWS_LAMBDA` - Invokes a Lambda function at the specified lifecycle + stage. This is the default value. + + - `PAUSE` - Pauses the deployment at the specified lifecycle stage until + you call `ContinueServiceDeployment` to continue or roll back. + + This field is optional. If not specified, the default value is + `AWS_LAMBDA`. + """ + hook_target_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the hook target. For `AWS_LAMBDA` + hooks, this is the Lambda function ARN. This field is not applicable for + `PAUSE` hooks. + + You must provide this parameter when configuring an `AWS_LAMBDA` + lifecycle hook. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS + permission to call Lambda functions on your behalf. + + For more information, see [Permissions required for Lambda functions in + Amazon ECS blue/green + deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-permissions.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + lifecycle_stages: list[str] | None = ... + """ + The lifecycle stages at which to run the hook. Choose from these valid + values: + + - RECONCILE_SERVICE + + The reconciliation stage that only happens when you start a new + service deployment with more than 1 service revision in an ACTIVE + state. + + You can use a lifecycle hook for this stage. + + - PRE_SCALE_UP + + The green service revision has not started. The blue service revision + is handling 100% of the production traffic. There is no test traffic. + + You can use a lifecycle hook for this stage. + + - POST_SCALE_UP + + The green service revision has started. The blue service revision is + handling 100% of the production traffic. There is no test traffic. + + You can use a lifecycle hook for this stage. + + - TEST_TRAFFIC_SHIFT + + The blue and green service revisions are running. The blue service + revision handles 100% of the production traffic. The green service + revision is migrating from 0% to 100% of test traffic. + + You can use a lifecycle hook for this stage. + + - POST_TEST_TRAFFIC_SHIFT + + The test traffic shift is complete. The green service revision handles + 100% of the test traffic. + + You can use a lifecycle hook for this stage. + + - PRE_PRODUCTION_TRAFFIC_SHIFT + + Occurs before production traffic shift. For linear and canary + deployments, this stage is invoked before every traffic shift step. + + You can use a lifecycle hook for this stage. + + - PRODUCTION_TRAFFIC_SHIFT + + Production traffic is shifting to the green service revision. The + green service revision is migrating from 0% to 100% of production + traffic. For linear and canary deployments, this stage is invoked at + every traffic shift step. + + You can use a lifecycle hook for this stage. + + - POST_PRODUCTION_TRAFFIC_SHIFT + + The production traffic shift is complete. + + You can use a lifecycle hook for this stage. + + Note: + `PAUSE` hooks cannot be configured at `TEST_TRAFFIC_SHIFT` or + `PRODUCTION_TRAFFIC_SHIFT` stages. These stages are only valid for + `AWS_LAMBDA` hooks. + + You must provide this parameter when configuring a deployment lifecycle + hook. + """ + hook_details: Document | None = ... + """ + Use this field to specify custom parameters that Amazon ECS passes to + your Lambda function on each invocation. This field is not used for + `PAUSE` hooks. + """ + timeout_configuration: DeploymentLifecycleHookTimeoutConfiguration | None = ... + """ + The timeout configuration for the lifecycle hook. This specifies how + long Amazon ECS waits before taking the timeout action if the hook is + not resolved. + """ + +class DeploymentLifecycleHookAction(UnknownEnumMixin, StrEnum): + ROLLBACK = "ROLLBACK" + CONTINUE_ = "CONTINUE" + +@dataclass(kw_only=True) +class DeploymentLifecycleHookDetail(_SerdeShape): + """ + The details of a deployment lifecycle hook that is active during a + service deployment. + + You can view lifecycle hook details by calling + [DescribeServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html). + """ + + hook_id: str | None = ... + """ + The ID of the lifecycle hook. Use this value when calling + `ContinueServiceDeployment` to continue or roll back a paused + deployment. + """ + target_type: str | None = ... + """ + The type of action the lifecycle hook performs, such as `AWS_LAMBDA` or + `PAUSE`. + """ + target_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the hook target. For `AWS_LAMBDA` + hooks, this is the Lambda function ARN. For `PAUSE` hooks, this field is + not set. + """ + status: str | None = ... + """ + The status of the lifecycle hook. Valid values include + `AWAITING_ACTION`, `IN_PROGRESS`, `SUCCEEDED`, `FAILED`, and + `TIMED_OUT`. + """ + expires_at: datetime | None = ... + """ + The time when the lifecycle hook times out. If the hook has not been + completed by this time, Amazon ECS takes the timeout action. + """ + timeout_action: str | None = ... + """ + The action Amazon ECS takes when the lifecycle hook times out. Valid + values are `CONTINUE` and `ROLLBACK`. + """ + +class DeploymentLifecycleHookStage(UnknownEnumMixin, StrEnum): + RECONCILE_SERVICE = "RECONCILE_SERVICE" + PRE_SCALE_UP = "PRE_SCALE_UP" + POST_SCALE_UP = "POST_SCALE_UP" + TEST_TRAFFIC_SHIFT = "TEST_TRAFFIC_SHIFT" + POST_TEST_TRAFFIC_SHIFT = "POST_TEST_TRAFFIC_SHIFT" + PRE_PRODUCTION_TRAFFIC_SHIFT = "PRE_PRODUCTION_TRAFFIC_SHIFT" + PRODUCTION_TRAFFIC_SHIFT = "PRODUCTION_TRAFFIC_SHIFT" + POST_PRODUCTION_TRAFFIC_SHIFT = "POST_PRODUCTION_TRAFFIC_SHIFT" + +class DeploymentLifecycleHookStatus(UnknownEnumMixin, StrEnum): + AWAITING_ACTION = "AWAITING_ACTION" + IN_PROGRESS = "IN_PROGRESS" + SUCCEEDED = "SUCCEEDED" + FAILED = "FAILED" + TIMED_OUT = "TIMED_OUT" + +class DeploymentLifecycleHookTargetType(UnknownEnumMixin, StrEnum): + AWS_LAMBDA = "AWS_LAMBDA" + PAUSE = "PAUSE" + +@dataclass(kw_only=True) +class DeploymentLifecycleHookTimeoutConfiguration(_SerdeShape): + """ + The timeout configuration for a deployment lifecycle hook. This + determines how long Amazon ECS waits for the hook to complete before + taking the specified timeout action. + """ + + timeout_in_minutes: int | None = ... + """ + The number of minutes Amazon ECS waits for the lifecycle hook to + complete before taking the timeout action. + + Default: 1440 (24 hours) + """ + action: str | None = ... + """ + The action Amazon ECS takes when the lifecycle hook times out. Valid + values are: + + - `CONTINUE` - Proceeds the deployment to the next lifecycle stage. + + - `ROLLBACK` - Rolls back the deployment to the previous service + revision. + + Default: `ROLLBACK` + """ + +class DeploymentRolloutState(UnknownEnumMixin, StrEnum): + COMPLETED = "COMPLETED" + FAILED = "FAILED" + IN_PROGRESS = "IN_PROGRESS" + +class DeploymentStrategy(UnknownEnumMixin, StrEnum): + ROLLING = "ROLLING" + BLUE_GREEN = "BLUE_GREEN" + LINEAR = "LINEAR" + CANARY = "CANARY" + +@dataclass(kw_only=True) +class DeregisterContainerInstanceInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the container instance to deregister. If you do not specify a + cluster, the default cluster is assumed. + """ + container_instance: str | None = ... + """ + The container instance ID or full ARN of the container instance to + deregister. For more information about the ARN format, see [Amazon + Resource Name + (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) + in the *Amazon ECS Developer Guide*. + """ + force: bool | None = ... + """ + Forces the container instance to be deregistered. If you have tasks + running on the container instance when you deregister it with the + `force` option, these tasks remain running until you terminate the + instance or the tasks stop through some other means, but they're + orphaned (no longer monitored or accounted for by Amazon ECS). If an + orphaned task on your container instance is part of an Amazon ECS + service, then the service scheduler starts another copy of that task, on + a different container instance if possible. + + Any containers in orphaned service tasks that are registered with a + Classic Load Balancer or an Application Load Balancer target group are + deregistered. They begin connection draining according to the settings + on the load balancer or target group. + """ + +@dataclass(kw_only=True) +class DeregisterContainerInstanceOutput(_SerdeShape): + """""" + + container_instance: ContainerInstance | None = ... + """The container instance that was deregistered.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeregisterTaskDefinitionInput(_SerdeShape): + """""" + + task_definition: str | None = ... + """ + The `family` and `revision` (`family:revision`) or full Amazon Resource + Name (ARN) of the task definition to deregister. You must specify a + `revision`. + """ + +@dataclass(kw_only=True) +class DeregisterTaskDefinitionOutput(_SerdeShape): + """""" + + task_definition: TaskDefinition | None = ... + """The full description of the deregistered task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCapacityProvidersInput(_SerdeShape): + """Dataclass for DescribeCapacityProvidersInput structure.""" + + capacity_providers: list[str] | None = ... + """ + The short name or full Amazon Resource Name (ARN) of one or more + capacity providers. Up to `100` capacity providers can be described in + an action. + """ + cluster: str | None = ... + """ + The name of the cluster to describe capacity providers for. When + specified, only capacity providers associated with this cluster are + returned, including Amazon ECS Managed Instances capacity providers. + """ + include: list[str] | None = ... + """ + Specifies whether or not you want to see the resource tags for the + capacity provider. If `TAGS` is specified, the tags are included in the + response. If this field is omitted, tags aren't included in the + response. + """ + max_results: int | None = ... + """ + The maximum number of account setting results returned by + `DescribeCapacityProviders` in paginated output. When this parameter is + used, `DescribeCapacityProviders` only returns `maxResults` results in a + single page along with a `nextToken` response element. The remaining + results of the initial request can be seen by sending another + `DescribeCapacityProviders` request with the returned `nextToken` value. + This value can be between 1 and 10. If this parameter is not used, then + `DescribeCapacityProviders` returns up to 10 results and a `nextToken` + value if applicable. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a previous paginated + `DescribeCapacityProviders` request where `maxResults` was used and the + results exceeded the value of that parameter. Pagination continues from + the end of the previous results that returned the `nextToken` value. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + +@dataclass(kw_only=True) +class DescribeCapacityProvidersOutput(_SerdeShape): + """Dataclass for DescribeCapacityProvidersOutput structure.""" + + capacity_providers: list[CapacityProvider] | None = ... + """The list of capacity providers.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + next_token: str | None = ... + """ + The `nextToken` value to include in a future `DescribeCapacityProviders` + request. When the results of a `DescribeCapacityProviders` request + exceed `maxResults`, this value can be used to retrieve the next page of + results. This value is `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeClustersInput(_SerdeShape): + """""" + + clusters: list[str] | None = ... + """ + A list of up to 100 cluster names or full cluster Amazon Resource Name + (ARN) entries. If you do not specify a cluster, the default cluster is + assumed. + """ + include: list[str] | None = ... + """ + Determines whether to include additional information about the clusters + in the response. If this field is omitted, this information isn't + included. + + If `ATTACHMENTS` is specified, the attachments for the container + instances or tasks within the cluster are included, for example the + capacity providers. + + If `SETTINGS` is specified, the settings for the cluster are included. + + If `CONFIGURATIONS` is specified, the configuration for the cluster is + included. + + If `STATISTICS` is specified, the task and service count is included, + separated by launch type. + + If `TAGS` is specified, the metadata tags associated with the cluster + are included. + """ + +@dataclass(kw_only=True) +class DescribeClustersOutput(_SerdeShape): + """""" + + clusters: list[Cluster] | None = ... + """The list of clusters.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeContainerInstancesInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the container instances to describe. If you do not specify a + cluster, the default cluster is assumed. This parameter is required if + the container instance or container instances you are describing were + launched in any cluster other than the default cluster. + """ + container_instances: list[str] | None = ... + """ + A list of up to 100 container instance IDs or full Amazon Resource Name + (ARN) entries. + """ + include: list[str] | None = ... + """ + Specifies whether you want to see the resource tags for the container + instance. If `TAGS` is specified, the tags are included in the response. + If `CONTAINER_INSTANCE_HEALTH` is specified, the container instance + health is included in the response. If this field is omitted, tags and + container instance health status aren't included in the response. + """ + +@dataclass(kw_only=True) +class DescribeContainerInstancesOutput(_SerdeShape): + """""" + + container_instances: list[ContainerInstance] | None = ... + """The list of container instances.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDaemonDeploymentsInput(_SerdeShape): + """Dataclass for DescribeDaemonDeploymentsInput structure.""" + + daemon_deployment_arns: list[str] | None = ... + """ + The ARN of the daemon deployments to describe. You can specify up to 20 + ARNs. + """ + +@dataclass(kw_only=True) +class DescribeDaemonDeploymentsOutput(_SerdeShape): + """Dataclass for DescribeDaemonDeploymentsOutput structure.""" + + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + daemon_deployments: list[DaemonDeployment] | None = ... + """The list of daemon deployments.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDaemonInput(_SerdeShape): + """Dataclass for DescribeDaemonInput structure.""" + + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon to describe.""" + +@dataclass(kw_only=True) +class DescribeDaemonOutput(_SerdeShape): + """Dataclass for DescribeDaemonOutput structure.""" + + daemon: DaemonDetail | None = ... + """ + The full description of the daemon, including the current revisions, + deployment ARN, cluster, and status information. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDaemonRevisionsInput(_SerdeShape): + """Dataclass for DescribeDaemonRevisionsInput structure.""" + + daemon_revision_arns: list[str] | None = ... + """ + The ARN of the daemon revisions to describe. You can specify up to 20 + ARNs. + """ + +@dataclass(kw_only=True) +class DescribeDaemonRevisionsOutput(_SerdeShape): + """Dataclass for DescribeDaemonRevisionsOutput structure.""" + + daemon_revisions: list[DaemonRevision] | None = ... + """The list of daemon revisions.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDaemonTaskDefinitionInput(_SerdeShape): + """Dataclass for DescribeDaemonTaskDefinitionInput structure.""" + + daemon_task_definition: str | None = ... + """ + The `family` for the latest `ACTIVE` revision, `family` and `revision` + (`family:revision`) for a specific revision in the family, or full + Amazon Resource Name (ARN) of the daemon task definition to describe. + """ + +@dataclass(kw_only=True) +class DescribeDaemonTaskDefinitionOutput(_SerdeShape): + """Dataclass for DescribeDaemonTaskDefinitionOutput structure.""" + + daemon_task_definition: DaemonTaskDefinition | None = ... + """The full daemon task definition description.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeExpressGatewayServiceInput(_SerdeShape): + """Dataclass for DescribeExpressGatewayServiceInput structure.""" + + service_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Express service to describe. The + ARN uniquely identifies the service within your Amazon Web Services + account and region. + """ + include: list[str] | None = ... + """ + Specifies additional information to include in the response. Valid + values are `TAGS` to include resource tags associated with the Express + service. + """ + +@dataclass(kw_only=True) +class DescribeExpressGatewayServiceOutput(_SerdeShape): + """Dataclass for DescribeExpressGatewayServiceOutput structure.""" + + service: ECSExpressGatewayService | None = ... + """The full description of the described express service.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeGatewayAlbConfiguration(_SerdeShape): + """ + The configuration for a gateway that uses shared Application Load + Balancers, as returned by `DescribeGateway`. This includes the current + number of load balancers in addition to the configured settings. + """ + + network_configuration: GatewayElbNetworkConfiguration | None = ... + """ + The network configuration for the load balancers that the gateway + manages. + """ + scheme: str | None = ... + """ + Specifies whether the load balancers the gateway manages are + `internet-facing` or `internal`. + """ + access_logs: GatewayElbAccessLogConfiguration | None = ... + """ + The access log configuration for the load balancers that the gateway + manages. + """ + web_acl_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the WAF web ACL associated with the + load balancers that the gateway manages. + """ + port: int | None = ... + """ + The port that the load balancer listener uses is 443. The gateway + supports only HTTPS at port 443. + """ + protocol: str | None = ... + """ + The protocol for the load balancer listener is `HTTPS`. No other + protocol is supported. + """ + max_alb_count: int | None = ... + """ + The maximum number of Application Load Balancers that the gateway + manages. + """ + current_alb_count: int | None = ... + """ + The current number of Application Load Balancers that the gateway has + allocated. + """ + http_desync: str | None = ... + """ + The desync mitigation mode for the load balancers that the gateway + manages. + """ + test_traffic_rules: GatewayAlbTestTrafficRules | None = ... + """The rules that route test traffic for progressive deployments.""" + +@dataclass +class DescribeGatewayConfigurationHostSharedAlb(_SerdeShape): + """ + The configuration for a host-based, shared Application Load Balancer + gateway. + """ + + value: DescribeGatewayAlbConfiguration + +@dataclass +class DescribeGatewayConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DescribeGatewayConfiguration = Union[ + DescribeGatewayConfigurationHostSharedAlb | DescribeGatewayConfigurationUnknown +] +""" +The type-specific configuration for a gateway that is returned by +`DescribeGateway`. +""" + +class _DescribeGatewayConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> DescribeGatewayConfiguration: ... + +@dataclass(kw_only=True) +class DescribeGatewayInput(_SerdeShape): + """Dataclass for DescribeGatewayInput structure.""" + + gateway: str | None = ... + """The name or Amazon Resource Name (ARN) of the gateway to describe.""" + +@dataclass(kw_only=True) +class DescribeGatewayOutput(_SerdeShape): + """Dataclass for DescribeGatewayOutput structure.""" + + gateway: Gateway | None = ... + """The details of the gateway.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeGatewayResourcesInput(_SerdeShape): + """Dataclass for DescribeGatewayResourcesInput structure.""" + + gateway: str | None = ... + """The name or Amazon Resource Name (ARN) of the gateway.""" + max_results: int | None = ... + """ + The maximum number of results that the operation returns in a single + page. The maximum value is 20 and the default is 10. + """ + next_token: str | None = ... + """The `nextToken` value returned from a previous paginated request.""" + +@dataclass(kw_only=True) +class DescribeGatewayResourcesOutput(_SerdeShape): + """Dataclass for DescribeGatewayResourcesOutput structure.""" + + gateway_resources: GatewayResources | None = ... + """ + The infrastructure resources that the gateway manages, grouped by + gateway type. + """ + next_token: str | None = ... + """ + The `nextToken` value to include in a future request to retrieve the + next page of results. This value is `null` when there are no more + results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeGatewayRouteInput(_SerdeShape): + """Dataclass for DescribeGatewayRouteInput structure.""" + + gateway_route_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway route to describe.""" + +@dataclass(kw_only=True) +class DescribeGatewayRouteOutput(_SerdeShape): + """Dataclass for DescribeGatewayRouteOutput structure.""" + + gateway_route: GatewayRoute | None = ... + """The details of the gateway route.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeServiceDeploymentsInput(_SerdeShape): + """Dataclass for DescribeServiceDeploymentsInput structure.""" + + service_deployment_arns: list[str] | None = ... + """ + The ARN of the service deployment. + + You can specify a maximum of 20 ARNs. + """ + +@dataclass(kw_only=True) +class DescribeServiceDeploymentsOutput(_SerdeShape): + """Dataclass for DescribeServiceDeploymentsOutput structure.""" + + service_deployments: list[ServiceDeployment] | None = ... + """The list of service deployments described.""" + failures: list[Failure] | None = ... + """ + Any failures associated with the call. + + If you decsribe a deployment with a service revision created before + October 25, 2024, the call fails. The failure includes the service + revision ARN and the reason set to `MISSING`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeServiceRevisionsInput(_SerdeShape): + """Dataclass for DescribeServiceRevisionsInput structure.""" + + service_revision_arns: list[str] | None = ... + """ + The ARN of the service revision. + + You can specify a maximum of 20 ARNs. + + You can call + [ListServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServiceDeployments.html) + to get the ARNs. + """ + +@dataclass(kw_only=True) +class DescribeServiceRevisionsOutput(_SerdeShape): + """Dataclass for DescribeServiceRevisionsOutput structure.""" + + service_revisions: list[ServiceRevision] | None = ... + """The list of service revisions described.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeServicesInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN)the cluster that hosts + the service to describe. If you do not specify a cluster, the default + cluster is assumed. This parameter is required if the service or + services you are describing were launched in any cluster other than the + default cluster. + """ + services: list[str] | None = ... + """ + A list of services to describe. You may specify up to 10 services to + describe in a single operation. + """ + include: list[str] | None = ... + """ + Determines whether you want to see the resource tags for the service. If + `TAGS` is specified, the tags are included in the response. If this + field is omitted, tags aren't included in the response. + """ + +@dataclass(kw_only=True) +class DescribeServicesOutput(_SerdeShape): + """""" + + services: list[Service] | None = ... + """The list of services described.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTaskDefinitionInput(_SerdeShape): + """""" + + task_definition: str | None = ... + """ + The `family` for the latest `ACTIVE` revision, `family` and `revision` + (`family:revision`) for a specific revision in the family, or full + Amazon Resource Name (ARN) of the task definition to describe. + """ + include: list[str] | None = ... + """ + Determines whether to see the resource tags for the task definition. If + `TAGS` is specified, the tags are included in the response. If this + field is omitted, tags aren't included in the response. + """ + +@dataclass(kw_only=True) +class DescribeTaskDefinitionOutput(_SerdeShape): + """""" + + task_definition: TaskDefinition | None = ... + """The full task definition description.""" + tags: list[Tag] | None = ... + """ + The metadata that's applied to the task definition to help you + categorize and organize them. Each tag consists of a key and an optional + value. You define both. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTaskSetsInput(_SerdeShape): + """Dataclass for DescribeTaskSetsInput structure.""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the service that the task sets exist in. + """ + service: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the service that + the task sets exist in. + """ + task_sets: list[str] | None = ... + """The ID or full Amazon Resource Name (ARN) of task sets to describe.""" + include: list[str] | None = ... + """ + Specifies whether to see the resource tags for the task set. If `TAGS` + is specified, the tags are included in the response. If this field is + omitted, tags aren't included in the response. + """ + +@dataclass(kw_only=True) +class DescribeTaskSetsOutput(_SerdeShape): + """Dataclass for DescribeTaskSetsOutput structure.""" + + task_sets: list[TaskSet] | None = ... + """The list of task sets described.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTasksInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the task or tasks to describe. If you do not specify a cluster, + the default cluster is assumed. + """ + tasks: list[str] | None = ... + """A list of up to 100 task IDs or full ARN entries.""" + include: list[str] | None = ... + """ + Specifies whether you want to see the resource tags for the task. If + `TAGS` is specified, the tags are included in the response. If this + field is omitted, tags aren't included in the response. + """ + +@dataclass(kw_only=True) +class DescribeTasksOutput(_SerdeShape): + """""" + + tasks: list[Task] | None = ... + """The list of tasks.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DesiredStatus(UnknownEnumMixin, StrEnum): + RUNNING = "RUNNING" + PENDING = "PENDING" + STOPPED = "STOPPED" + +@dataclass(kw_only=True) +class Device(_SerdeShape): + """An object representing a container instance host device.""" + + host_path: str + """The path for the device on the host container instance.""" + container_path: str | None = ... + """The path inside the container at which to expose the host device.""" + permissions: list[str] | None = ... + """ + The explicit permissions to provide to the container for the device. By + default, the container has permissions for `read`, `write`, and `mknod` + for the device. + """ + +class DeviceCgroupPermission(UnknownEnumMixin, StrEnum): + READ = "read" + WRITE = "write" + MKNOD = "mknod" + +@dataclass(kw_only=True) +class DisassociateGatewayFromClusterInput(_SerdeShape): + """Dataclass for DisassociateGatewayFromClusterInput structure.""" + + gateway: str | None = ... + """The name or Amazon Resource Name (ARN) of the gateway to disassociate.""" + cluster: str | None = ... + """ + The name or Amazon Resource Name (ARN) of the cluster to disassociate + the gateway from. + """ + +@dataclass(kw_only=True) +class DisassociateGatewayFromClusterOutput(_SerdeShape): + """Dataclass for DisassociateGatewayFromClusterOutput structure.""" + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster.""" + status: str | None = ... + """ + The status of the association. After a successful request, the status is + `DISASSOCIATING` until all routes are removed, after which the + association is deleted. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DiscoverPollEndpointInput(_SerdeShape): + """""" + + container_instance: str | None = ... + """ + The container instance ID or full ARN of the container instance. For + more information about the ARN format, see [Amazon Resource Name + (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) + in the *Amazon ECS Developer Guide*. + """ + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + the container instance belongs to. + """ + +@dataclass(kw_only=True) +class DiscoverPollEndpointOutput(_SerdeShape): + """""" + + endpoint: str | None = ... + """The endpoint for the Amazon ECS agent to poll.""" + telemetry_endpoint: str | None = ... + """The telemetry endpoint for the Amazon ECS agent.""" + service_connect_endpoint: str | None = ... + """ + The endpoint for the Amazon ECS agent to poll for Service Connect + configuration. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DockerVolumeConfiguration(_SerdeShape): + """ + This parameter is specified when you're using Docker volumes. Docker + volumes are only supported when you're using the EC2 launch type. + Windows containers only support the use of the `local` driver. To use + bind mounts, specify a `host` instead. + """ + + scope: str | None = ... + """ + The scope for the Docker volume that determines its lifecycle. Docker + volumes that are scoped to a `task` are automatically provisioned when + the task starts and destroyed when the task stops. Docker volumes that + are scoped as `shared` persist after the task stops. + """ + autoprovision: bool | None = ... + """ + If this value is `true`, the Docker volume is created if it doesn't + already exist. + + Note: + This field is only used if the `scope` is `shared`. + """ + driver: str | None = ... + """ + The Docker volume driver to use. The driver value must match the driver + name provided by Docker because it is used for task placement. If the + driver was installed using the Docker plugin CLI, use `docker plugin ls` + to retrieve the driver name from your container instance. If the driver + was installed using another method, use Docker plugin discovery to + retrieve the driver name. This parameter maps to `Driver` in the docker + container create command and the `xxdriver` option to docker volume + create. + """ + driver_opts: dict[str, str] | None = ... + """ + A map of Docker driver-specific options passed through. This parameter + maps to `DriverOpts` in the docker create-volume command and the `xxopt` + option to docker volume create. + """ + labels: dict[str, str] | None = ... + """ + Custom metadata to add to your Docker volume. This parameter maps to + `Labels` in the docker container create command and the `xxlabel` option + to docker volume create. + """ + +class EBSResourceType(UnknownEnumMixin, StrEnum): + VOLUME = "volume" + +@dataclass(kw_only=True) +class EBSTagSpecification(_SerdeShape): + """The tag specifications of an Amazon EBS volume.""" + + resource_type: str + """The type of volume resource.""" + tags: list[Tag] | None = ... + """ + The tags applied to this Amazon EBS volume. `AmazonECSCreated` and + `AmazonECSManaged` are reserved tags that can't be used. + """ + propagate_tags: str | None = ... + """ + Determines whether to propagate the tags from the task definition to the + Amazon EBS volume. Tags can only propagate to a `SERVICE` specified in + `ServiceVolumeConfiguration`. If no value is specified, the tags aren't + propagated. + """ + +@dataclass(kw_only=True) +class ECSExpressGatewayService(_SerdeShape): + """ + Represents an Express service, which provides a simplified way to deploy + containerized web applications on Amazon ECS with managed Amazon Web + Services infrastructure. An Express service automatically provisions and + manages Application Load Balancers, target groups, security groups, and + auto-scaling policies. + + Express services use a service revision architecture where each service + can have multiple active configurations, enabling blue-green deployments + and gradual rollouts. The service maintains a list of active + configurations and manages the lifecycle of the underlying Amazon Web + Services resources. + """ + + cluster: str | None = ... + """ + The short name or full ARN of the cluster that hosts the Express + service. + """ + service_name: str | None = ... + """The name of the Express service.""" + service_arn: str | None = ... + """The ARN that identifies the Express service.""" + infrastructure_role_arn: str | None = ... + """ + The ARN of the infrastructure role that manages Amazon Web Services + resources for the Express service. + """ + status: ExpressGatewayServiceStatus | None = ... + """The current status of the Express service.""" + current_deployment: str | None = ... + """The current deployment configuration for the Express service.""" + active_configurations: list[ExpressGatewayServiceConfiguration] | None = ... + """The list of active service configurations for the Express service.""" + tags: list[Tag] | None = ... + """The metadata applied to the Express service.""" + created_at: datetime | None = ... + """The Unix timestamp for when the Express service was created.""" + updated_at: datetime | None = ... + """The Unix timestamp for when the Express service was last updated.""" + +@dataclass(kw_only=True) +class ECSManagedResources(_SerdeShape): + """ + Represents the Amazon Web Services resources managed by Amazon ECS for + an Express service, including ingress paths, auto-scaling policies, + metric alarms, and security groups. + """ + + ingress_paths: list[ManagedIngressPath] | None = ... + """The ingress paths and endpoints for the Express service.""" + auto_scaling: ManagedAutoScaling | None = ... + """The auto-scaling configuration and policies for the Express service.""" + metric_alarms: list[ManagedMetricAlarm] | None = ... + """The CloudWatch metric alarms associated with the Express service.""" + service_security_groups: list[ManagedSecurityGroup] | None = ... + """The security groups managed by the Express service.""" + log_groups: list[ManagedLogGroup] | None = ... + """The log groups managed by the Express service.""" + gateway_connections: list[GatewayConnection] | None = ... + """ + The gateway-managed connections for the service revision, including the + gateway routes and infrastructure that a gateway created for the + service's connector. + """ + +@dataclass(kw_only=True) +class EFSAuthorizationConfig(_SerdeShape): + """The authorization configuration details for the Amazon EFS file system.""" + + access_point_id: str | None = ... + """ + The Amazon EFS access point ID to use. If an access point is specified, + the root directory value specified in the `EFSVolumeConfiguration` must + either be omitted or set to `/` which will enforce the path set on the + EFS access point. If an access point is used, transit encryption must be + on in the `EFSVolumeConfiguration`. For more information, see [Working + with Amazon EFS access + points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) + in the *Amazon Elastic File System User Guide*. + """ + iam: str | None = ... + """ + Determines whether to use the Amazon ECS task role defined in a task + definition when mounting the Amazon EFS file system. If it is turned on, + transit encryption must be turned on in the `EFSVolumeConfiguration`. If + this parameter is omitted, the default value of `DISABLED` is used. For + more information, see [Using Amazon EFS access + points](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html#efs-volume-accesspoints) + in the *Amazon Elastic Container Service Developer Guide*. + """ + +class EFSAuthorizationConfigIAM(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class EFSTransitEncryption(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class EFSVolumeConfiguration(_SerdeShape): + """ + This parameter is specified when you're using an Amazon Elastic File + System file system for task storage. For more information, see [Amazon + EFS + volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + file_system_id: str + """The Amazon EFS file system ID to use.""" + root_directory: str | None = ... + """ + The directory within the Amazon EFS file system to mount as the root + directory inside the host. If this parameter is omitted, the root of the + Amazon EFS volume will be used. Specifying `/` will have the same effect + as omitting this parameter. + + Warning: + If an EFS access point is specified in the `authorizationConfig`, the + root directory parameter must either be omitted or set to `/` which will + enforce the path set on the EFS access point. + """ + transit_encryption: str | None = ... + """ + Determines whether to use encryption for Amazon EFS data in transit + between the Amazon ECS host and the Amazon EFS server. Transit + encryption must be turned on if Amazon EFS IAM authorization is used. If + this parameter is omitted, the default value of `DISABLED` is used. For + more information, see [Encrypting data in + transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) + in the *Amazon Elastic File System User Guide*. + """ + transit_encryption_port: int | None = ... + """ + The port to use when sending encrypted data between the Amazon ECS host + and the Amazon EFS server. If you do not specify a transit encryption + port, it will use the port selection strategy that the Amazon EFS mount + helper uses. For more information, see [EFS mount + helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) + in the *Amazon Elastic File System User Guide*. + """ + authorization_config: EFSAuthorizationConfig | None = ... + """The authorization configuration details for the Amazon EFS file system.""" + +@dataclass(kw_only=True) +class ElbGatewayResources(_SerdeShape): + """ + An Application Load Balancer and its associated resources that a gateway + manages. + """ + + load_balancer_arn: str | None = ... + """The Amazon Resource Name (ARN) of the load balancer.""" + listener_arn: str | None = ... + """The Amazon Resource Name (ARN) of the listener on the load balancer.""" + security_group: str | None = ... + """The ID of the security group attached to the load balancer.""" + gateway_route_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the gateway routes that use this + load balancer for ingress. + """ + +@dataclass(kw_only=True) +class EnvironmentFile(_SerdeShape): + """ + A list of files containing the environment variables to pass to a + container. You can specify up to ten environment files. The file must + have a `.env` file extension. Each line in an environment file should + contain an environment variable in `VARIABLE=VALUE` format. Lines + beginning with `#` are treated as comments and are ignored. + + If there are environment variables specified using the `environment` + parameter in a container definition, they take precedence over the + variables contained within an environment file. If multiple environment + files are specified that contain the same variable, they're processed + from the top down. We recommend that you use unique variable names. For + more information, see [Use a file to pass environment variables to a + container](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/use-environment-file.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Environment variable files are objects in Amazon S3 and all Amazon S3 + security considerations apply. + + You must use the following platforms for the Fargate launch type: + + - Linux platform version `1.4.0` or later. + + Consider the following when using the Fargate launch type: + + - The file is handled like a native Docker env-file. + + - There is no support for shell escape handling. + + - The container entry point interperts the `VARIABLE` values. + """ + + value: str + """ + The Amazon Resource Name (ARN) of the Amazon S3 object containing the + environment variable file. + """ + type: str + """ + The file type to use. Environment files are objects in Amazon S3. The + only supported value is `s3`. + """ + +class EnvironmentFileType(UnknownEnumMixin, StrEnum): + S3 = "s3" + +@dataclass(kw_only=True) +class EphemeralStorage(_SerdeShape): + """ + The amount of ephemeral storage to allocate for the task. This parameter + is used to expand the total amount of ephemeral storage available, + beyond the default amount, for tasks hosted on Fargate. For more + information, see [Using data volumes in + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) + in the *Amazon ECS Developer Guide;*. + + Note: + For tasks using the Fargate launch type, the task requires the following + platforms: + + - Linux platform version `1.4.0` or later. + """ + + size_in_gi_b: int = ... + """ + The total amount, in GiB, of ephemeral storage to set for the task. The + minimum supported value is `21` GiB and the maximum supported value is + `200` GiB. + """ + +@dataclass(kw_only=True) +class ExecuteCommandConfiguration(_SerdeShape): + """The details of the execute command configuration.""" + + kms_key_id: str | None = ... + """ + Specify an Key Management Service key ID to encrypt the data between the + local client and the container. + """ + logging: str | None = ... + """ + The log setting to use for redirecting logs for your execute command + results. The following log settings are available. + + - `NONE`: The execute command session is not logged. + + - `DEFAULT`: The `awslogs` configuration in the task definition is used. + If no logging parameter is specified, it defaults to this value. If no + `awslogs` log driver is configured in the task definition, the output + won't be logged. + + - `OVERRIDE`: Specify the logging details as a part of + `logConfiguration`. If the `OVERRIDE` logging option is specified, the + `logConfiguration` is required. + """ + log_configuration: ExecuteCommandLogConfiguration | None = ... + """ + The log configuration for the results of the execute command actions. + The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When + `logging=OVERRIDE` is specified, a `logConfiguration` must be provided. + """ + +@dataclass(kw_only=True) +class ExecuteCommandInput(_SerdeShape): + """Dataclass for ExecuteCommandInput structure.""" + + cluster: str | None = ... + """ + The Amazon Resource Name (ARN) or short name of the cluster the task is + running in. If you do not specify a cluster, the default cluster is + assumed. + """ + container: str | None = ... + """ + The name of the container to execute the command on. A container name + only needs to be specified for tasks containing multiple containers. + """ + command: str | None = ... + """The command to run on the container.""" + interactive: bool = ... + """Use this flag to run your command in interactive mode.""" + task: str | None = ... + """ + The Amazon Resource Name (ARN) or ID of the task the container is part + of. + """ + +@dataclass(kw_only=True) +class ExecuteCommandLogConfiguration(_SerdeShape): + """ + The log configuration for the results of the execute command actions. + The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. + """ + + cloud_watch_log_group_name: str | None = ... + """ + The name of the CloudWatch log group to send logs to. + + Note: + The CloudWatch log group must already be created. + """ + cloud_watch_encryption_enabled: bool = ... + """ + Determines whether to use encryption on the CloudWatch logs. If not + specified, encryption will be off. + """ + s3_bucket_name: str | None = ... + """ + The name of the S3 bucket to send logs to. + + Note: + The S3 bucket must already be created. + """ + s3_encryption_enabled: bool = ... + """ + Determines whether to use encryption on the S3 logs. If not specified, + encryption is not used. + """ + s3_key_prefix: str | None = ... + """An optional folder in the S3 bucket to place logs in.""" + +class ExecuteCommandLogging(UnknownEnumMixin, StrEnum): + NONE = "NONE" + DEFAULT = "DEFAULT" + OVERRIDE = "OVERRIDE" + +@dataclass(kw_only=True) +class ExecuteCommandOutput(_SerdeShape): + """Dataclass for ExecuteCommandOutput structure.""" + + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster.""" + container_arn: str | None = ... + """The Amazon Resource Name (ARN) of the container.""" + container_name: str | None = ... + """The name of the container.""" + interactive: bool = ... + """ + Determines whether the execute command session is running in interactive + mode. Amazon ECS only supports initiating interactive sessions, so you + must specify `true` for this value. + """ + session: Session | None = ... + """ + The details of the SSM session that was created for this instance of + execute-command. + """ + task_arn: str | None = ... + """The Amazon Resource Name (ARN) of the task.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ExpressCpuArchitecture(UnknownEnumMixin, StrEnum): + X86_64 = "X86_64" + ARM64 = "ARM64" + +@dataclass(kw_only=True) +class ExpressGatewayContainer(_SerdeShape): + """ + Defines the configuration for the primary container in an Express + service. This container receives traffic from the Application Load + Balancer and runs your application code. + + The container configuration includes the container image, port mapping, + logging settings, environment variables, and secrets. The container + image is the only required parameter, with sensible defaults provided + for other settings. + """ + + image: str + """ + The image used to start a container. This string is passed directly to + the Docker daemon. Images in the Docker Hub registry are available by + default. Other repositories are specified with either + `repository-url/image:tag` or `repository-url/image@digest`. + + For Express services, the image typically contains a web application + that listens on the specified container port. The image can be stored in + Amazon ECR, Docker Hub, or any other container registry accessible to + your execution role. + """ + container_port: int | None = ... + """ + The port number on the container that receives traffic from the load + balancer. Default is 80. + """ + aws_logs_configuration: ExpressGatewayServiceAwsLogsConfiguration | None = ... + """The log configuration for the container.""" + repository_credentials: ExpressGatewayRepositoryCredentials | None = ... + """ + The configuration for repository credentials for private registry + authentication. + """ + command: list[str] | None = ... + """The command that is passed to the container.""" + environment: list[KeyValuePair] | None = ... + """The environment variables to pass to the container.""" + secrets: list[Secret] | None = ... + """The secrets to pass to the container.""" + +@dataclass(kw_only=True) +class ExpressGatewayRepositoryCredentials(_SerdeShape): + """ + The repository credentials for private registry authentication to pass + to the container. + """ + + credentials_parameter: str | None = ... + """ + The Amazon Resource Name (ARN) of the secret containing the private + repository credentials. + """ + +@dataclass(kw_only=True) +class ExpressGatewayScalingTarget(_SerdeShape): + """ + Defines the auto-scaling configuration for an Express service. This + determines how the service automatically adjusts the number of running + tasks based on demand metrics such as CPU utilization, memory + utilization, or request count per target. + + Auto-scaling helps ensure your application can handle varying levels of + traffic while optimizing costs by scaling down during low-demand + periods. You can specify the minimum and maximum number of tasks, the + scaling metric, and the target value for that metric. + """ + + min_task_count: int | None = ... + """The minimum number of tasks to run in the Express service.""" + max_task_count: int | None = ... + """The maximum number of tasks to run in the Express service.""" + auto_scaling_metric: str | None = ... + """ + The metric used for auto-scaling decisions. The default metric used for + an Express service is `CPUUtilization`. + """ + auto_scaling_target_value: int | None = ... + """ + The target value for the auto-scaling metric. The default value for an + Express service is 60. + """ + +@dataclass(kw_only=True) +class ExpressGatewayServiceAwsLogsConfiguration(_SerdeShape): + """ + Specifies the Amazon CloudWatch Logs configuration for the Express + service container. + """ + + log_group: str + """The name of the CloudWatch Logs log group to send container logs to.""" + log_stream_prefix: str + """ + The prefix for the CloudWatch Logs log stream names. The default for an + Express service is `ecs`. + """ + +@dataclass(kw_only=True) +class ExpressGatewayServiceConfiguration(_SerdeShape): + """ + Represents a specific configuration revision of an Express service, + containing all the settings and parameters for that revision. + """ + + service_revision_arn: str | None = ... + """The ARN of the service revision.""" + execution_role_arn: str | None = ... + """The ARN of the task execution role for the service revision.""" + task_role_arn: str | None = ... + """The ARN of the task role for the service revision.""" + task_definition_arn: str | None = ... + """ + The ARN of the task definition used by this service revision. This is + present for all Express services and reflects the task definition in + use, whether managed by Amazon ECS or provided by the customer. + """ + cpu: str | None = ... + """The CPU allocation for tasks in this service revision.""" + memory: str | None = ... + """The memory allocation for tasks in this service revision.""" + cpu_architecture: str | None = ... + """ + The CPU architecture that the task runs on. + + Valid values: + + - `X86_64` - The x86 64-bit architecture. + + - `ARM64` - The 64-bit ARM architecture. + + Different service revisions can report different architectures. This + value isn't returned when the service uses a customer-provided task + definition that doesn't specify a CPU architecture. + """ + network_configuration: ExpressGatewayServiceNetworkConfiguration | None = ... + """The network configuration for tasks in this service revision.""" + health_check_path: str | None = ... + """The health check path for this service revision.""" + primary_container: ExpressGatewayContainer | None = ... + """The primary container configuration for this service revision.""" + scaling_target: ExpressGatewayScalingTarget | None = ... + """The auto-scaling configuration for this service revision.""" + ingress_paths: list[IngressPathSummary] | None = ... + """The entry point into this service revision.""" + created_at: datetime | None = ... + """The Unix timestamp for when this service revision was created.""" + +class ExpressGatewayServiceInclude(UnknownEnumMixin, StrEnum): + TAGS = "TAGS" + +@dataclass(kw_only=True) +class ExpressGatewayServiceNetworkConfiguration(_SerdeShape): + """ + The network configuration for an Express service. By default, an Express + service utilizes subnets and security groups associated with the default + VPC. + """ + + security_groups: list[str] | None = ... + """The IDs of the security groups associated with the Express service.""" + subnets: list[str] | None = ... + """The IDs of the subnets associated with the Express service.""" + +class ExpressGatewayServiceScalingMetric(UnknownEnumMixin, StrEnum): + AVERAGE_CPU_UTILIZATION = "AVERAGE_CPU" + AVERAGE_MEMORY_UTILIZATION = "AVERAGE_MEMORY" + REQUEST_COUNT_PER_TARGET = "REQUEST_COUNT_PER_TARGET" + +@dataclass(kw_only=True) +class ExpressGatewayServiceStatus(_SerdeShape): + """ + An object that defines the status of Express service creation and + information about the status of the service. + """ + + status_code: str | None = ... + """The status of the Express service.""" + status_reason: str | None = ... + """Information about why the Express service is in the current status.""" + +class ExpressGatewayServiceStatusCode(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + DRAINING = "DRAINING" + INACTIVE = "INACTIVE" + +@dataclass(kw_only=True) +class Failure(_SerdeShape): + """ + A failed resource. For a list of common causes, see [API failure + reasons](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the failed resource.""" + reason: str | None = ... + """The reason for the failure.""" + detail: str | None = ... + """The details of the failure.""" + +@dataclass(kw_only=True) +class FirelensConfiguration(_SerdeShape): + """ + The FireLens configuration for the container. This is used to specify + and configure a log router for container logs. For more information, see + [Custom log + routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + type: str + """The log router to use. The valid values are `fluentd` or `fluentbit`.""" + options: dict[str, str] | None = ... + """ + The options to use when configuring the log router. This field is + optional and can be used to specify a custom configuration file or to + add additional metadata, such as the task, task definition, cluster, and + container instance details to the log event. If specified, the syntax to + use is + `"options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}`. + For more information, see [Creating a task definition that uses a + FireLens + configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef) + in the *Amazon Elastic Container Service Developer Guide*. + + Note: + Tasks hosted on Fargate only support the `file` configuration file type. + """ + +class FirelensConfigurationType(UnknownEnumMixin, StrEnum): + FLUENTD = "fluentd" + FLUENTBIT = "fluentbit" + +@dataclass(kw_only=True) +class FSxWindowsFileServerAuthorizationConfig(_SerdeShape): + """ + The authorization configuration details for Amazon FSx for Windows File + Server file system. See + [FSxWindowsFileServerVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html) + in the *Amazon ECS API Reference*. + + For more information and the input format, see [Amazon FSx for Windows + File Server + Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + credentials_parameter: str + """ + The authorization credential option to use. The authorization credential + options can be provided using either the Amazon Resource Name (ARN) of + an Secrets Manager secret or SSM Parameter Store parameter. The ARN + refers to the stored credentials. + """ + domain: str + """ + A fully qualified domain name hosted by an [Directory + Service](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html) + Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2. + """ + +@dataclass(kw_only=True) +class FSxWindowsFileServerVolumeConfiguration(_SerdeShape): + """ + This parameter is specified when you're using [Amazon FSx for Windows + File + Server](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html) + file system for task storage. + + For more information and the input format, see [Amazon FSx for Windows + File Server + volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + file_system_id: str + """The Amazon FSx for Windows File Server file system ID to use.""" + root_directory: str + """ + The directory within the Amazon FSx for Windows File Server file system + to mount as the root directory inside the host. + """ + authorization_config: FSxWindowsFileServerAuthorizationConfig + """ + The authorization configuration details for the Amazon FSx for Windows + File Server file system. + """ + +@dataclass(kw_only=True) +class Gateway(_SerdeShape): + """ + The details of a gateway, including its configuration, status, and the + infrastructure settings for its type. + """ + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + name: str | None = ... + """The name of the gateway.""" + status: str | None = ... + """The status of the gateway.""" + status_reason: str | None = ... + """ + A human-readable explanation of the current status. This value is + populated when the gateway is in a failure state, such as + `UPDATE_FAILED`. + """ + failures: list[GatewayResourceFailure] | None = ... + """ + The per-resource failure details for asynchronous gateway processes, + such as an `UpdateGateway` operation that couldn't update every load + balancer. + """ + infrastructure_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that the gateway uses to + manage infrastructure on your behalf. + """ + deletion_protection: bool | None = ... + """Specifies whether deletion protection is enabled for the gateway.""" + configuration: DescribeGatewayConfiguration | None = ... + """The type-specific configuration for the gateway.""" + access_type: str | None = ... + """ + Specifies whether the gateway is publicly accessible (`PUBLIC`) or + private (`PRIVATE`). The gateway derives this value from its scheme when + you create the gateway, and the value is immutable. + """ + propagate_tags: str | None = ... + """ + Specifies whether the gateway propagates its tags to the infrastructure + it manages. + """ + tags: list[Tag] | None = ... + """ + The metadata applied to the gateway. Each tag consists of a key and an + optional value. + """ + created_at: datetime | None = ... + """The Unix timestamp for the time when the gateway was created.""" + updated_at: datetime | None = ... + """The Unix timestamp for the time when the gateway was last updated.""" + +class GatewayAlbDesyncMitigationMode(UnknownEnumMixin, StrEnum): + """ + The desync mitigation mode for a gateway's load balancers, which + determines how the load balancers handle requests that might pose a + security risk. + """ + + MONITOR = "monitor" + """ + The load balancers forward requests that are considered ambiguous but + allow them to be monitored. + """ + DEFENSIVE = "defensive" + """ + The load balancers allow through most requests but drop those that pose + a significant security risk. + """ + STRICTEST = "strictest" + """ + The load balancers allow through only requests that comply with + HTTP/1.1. + """ + +class GatewayAlbProtocol(UnknownEnumMixin, StrEnum): + """The protocol for a gateway's load balancer listener.""" + + HTTP = "HTTP" + """The listener uses HTTP.""" + HTTPS = "HTTPS" + """The listener uses HTTPS.""" + +@dataclass(kw_only=True) +class GatewayAlbTestTrafficRules(_SerdeShape): + """ + The rules that route test traffic to services behind a gateway during + progressive deployments. + """ + + header: GatewayTestTrafficHeader | None = ... + """The header-based rule that identifies test traffic.""" + +class GatewayClusterAssociationStatus(UnknownEnumMixin, StrEnum): + """The status of an association between a gateway and a cluster.""" + + ACTIVE = "ACTIVE" + """The association is active.""" + DISASSOCIATING = "DISASSOCIATING" + """ + The association is being removed and remains in this state until all + gateway routes for the cluster are removed. + """ + INACTIVE = "INACTIVE" + +@dataclass(kw_only=True) +class GatewayClusterAssociationSummary(_SerdeShape): + """A summary of an association between a gateway and a cluster.""" + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster.""" + status: str | None = ... + """The status of the association.""" + +@dataclass +class GatewayConfigurationHostSharedAlb(_SerdeShape): + """ + The configuration for a host-based, shared Application Load Balancer + gateway. Each service that uses the gateway is assigned a unique DNS + host name. + """ + + value: HostSharedAlbConfiguration + +@dataclass +class GatewayConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +GatewayConfiguration = Union[ + GatewayConfigurationHostSharedAlb | GatewayConfigurationUnknown +] +""" +The type-specific configuration for a gateway that you provide when you +create it. Exactly one variant is set, and it determines the gateway +type. +""" + +class _GatewayConfigurationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> GatewayConfiguration: ... + +@dataclass(kw_only=True) +class GatewayConnection(_SerdeShape): + """ + A gateway-managed connection for a service revision. A connection + represents the association between the service's gateway connector and + a specific gateway, along with the infrastructure that the gateway + created for it. + """ + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + gateway_route_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway route for the connection.""" + port_name: str | None = ... + """ + The name of the service port that receives gateway-managed ingress + traffic. + """ + service_url: str | None = ... + """The URL that the gateway uses to route ingress traffic to the service.""" + access_type: str | None = ... + """ + The access type of the gateway ingress path. + + Valid values: + + - `PUBLIC` - The ingress path is publicly accessible. + + - `PRIVATE` - The ingress path is only accessible privately. + """ + status: str | None = ... + """The status of the gateway route for the connection.""" + resources: GatewayConnectionResources | None = ... + """The gateway-managed infrastructure resources for the connection.""" + +@dataclass(kw_only=True) +class GatewayConnectionAlbResources(_SerdeShape): + """ + The Application Load Balancer resources that a gateway created and + manages for a connection. + """ + + acm_certificate_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services Certificate + Manager certificate that is attached to the load balancer listener. + """ + load_balancer_arn: str | None = ... + """The Amazon Resource Name (ARN) of the load balancer.""" + load_balancer_security_group_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the security groups that the gateway + attaches to the load balancer. + """ + listener_arn: str | None = ... + """The Amazon Resource Name (ARN) of the listener on the load balancer.""" + listener_rule_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the listener rule that routes + production traffic to the service. + """ + test_listener_rule_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the listener rule that routes test + traffic to the service during progressive deployments. + """ + target_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the target group that receives + production traffic. + """ + alternate_target_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the alternate target group that the + gateway uses during progressive deployments. + """ + +@dataclass +class GatewayConnectionResourcesHostSharedAlb(_SerdeShape): + """ + The Application Load Balancer resources for a host-based, shared ALB + gateway. + """ + + value: list[GatewayConnectionAlbResources] + +@dataclass +class GatewayConnectionResourcesUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +GatewayConnectionResources = Union[ + GatewayConnectionResourcesHostSharedAlb | GatewayConnectionResourcesUnknown +] +""" +The gateway-managed infrastructure resources for a connection, as a +union keyed by gateway type. +""" + +class _GatewayConnectionResourcesDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> GatewayConnectionResources: ... + +@dataclass(kw_only=True) +class GatewayConnector(_SerdeShape): + """ + A gateway connector that attaches an Amazon ECS service to a gateway + ingress path. The connector specifies the service port that receives + gateway-managed ingress traffic, along with the health check and traffic + filters that the gateway applies. A service can have at most one gateway + connector. + """ + + port_name: str + """The name of the service port that the gateway routes ingress traffic to.""" + health_check: GatewayConnectorHealthCheck | None = ... + """ + The health check that the gateway uses to determine whether the targets + for this connector are healthy. + """ + filters: GatewayConnectorFilters | None = ... + """ + The filters that control which gateway ingress paths the connector + applies to. + """ + +@dataclass(kw_only=True) +class GatewayConnectorFilters(_SerdeShape): + """ + The filters that determine which gateway ingress paths a connector + applies to. + """ + + access_types: list[str] | None = ... + """ + The access types of the gateway ingress paths that the connector applies + to. + + The access type can be one of the following values: + + - `PUBLIC` - The ingress path is publicly accessible. + + - `PRIVATE` - The ingress path is only accessible privately. + """ + +@dataclass(kw_only=True) +class GatewayConnectorHealthCheck(_SerdeShape): + """ + The health check configuration that a gateway uses to evaluate the + targets associated with a gateway connector. + """ + + health_check_protocol: str | None = ... + """ + The protocol that the gateway uses to perform health checks. + + Valid values: + + - `HTTP` - Health checks are performed over HTTP. + + - `HTTPS` - Health checks are performed over HTTPS. + """ + health_check_port: int | None = ... + """The port that the gateway uses to perform health checks on the targets.""" + health_check_path: str | None = ... + """The destination path for health check requests.""" + health_check_timeout_seconds: int | None = ... + """ + The amount of time, in seconds, during which no response from a target + means a failed health check. + """ + health_check_interval_seconds: int | None = ... + """ + The approximate amount of time, in seconds, between health checks of an + individual target. + """ + healthy_threshold_count: int | None = ... + """ + The number of consecutive successful health checks that a target must + pass before the gateway considers it healthy. + """ + unhealthy_threshold_count: int | None = ... + """ + The number of consecutive failed health checks that a target must fail + before the gateway considers it unhealthy. + """ + matcher: GatewayConnectorHealthCheckMatcher | None = ... + """ + The HTTP or gRPC codes that indicate a successful health check response + from a target. + """ diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/models_1.pyi b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/models_1.pyi new file mode 100644 index 000000000..a7b1aefff --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/models_1.pyi @@ -0,0 +1,8757 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AcceleratorCountRequest, + AcceleratorTotalMemoryMiBRequest, + AdvancedConfiguration, + Attachment, + AttachmentStateChange, + Attribute, + AutoRepairConfiguration, + AwsVpcConfiguration, + BaselineEbsBandwidthMbpsRequest, + CapacityProviderStrategyItem, + CapacityReservationRequest, + Cluster, + Container, + ContainerDefinition, + ContainerImage, + ContainerInstance, + ContainerStateChange, + CreatedAt, + DaemonContainerDefinition, + DaemonDeploymentSummary, + DaemonSummary, + DaemonTaskDefinitionSummary, + DaemonVolume, + Deployment, + DeploymentConfiguration, + DeploymentController, + DeploymentEphemeralStorage, + DeploymentLifecycleHookDetail, + Device, + EBSTagSpecification, + ECSManagedResources, + ElbGatewayResources, + EphemeralStorage, + Failure, + GatewayAlbTestTrafficRules, + GatewayClusterAssociationSummary, + GatewayConnector, + ServiceError, + TaskDefinitionPlacementConstraint, + TaskEphemeralStorage, + TaskOverride, + TaskSet, + TaskVolumeConfiguration, + TimeoutConfiguration, + Tmpfs, + TotalLocalStorageGBRequest, + TrustedExecutionConfiguration, + TrustedExecutionSummary, + VCpuCountRangeRequest, + VersionInfo, + Volume, + VpcLatticeConfiguration, + _SerdeShape, +) + +@dataclass(kw_only=True) +class GatewayConnectorHealthCheckMatcher(_SerdeShape): + """ + The codes that indicate a successful health check response from a + target. + """ + + http_code: str | None = ... + """The HTTP codes that indicate a successful response from a target.""" + grpc_code: str | None = ... + """The gRPC codes that indicate a successful response from a target.""" + +class GatewayConnectorHealthCheckProtocol(UnknownEnumMixin, StrEnum): + """ + The protocol that a gateway uses to perform health checks on connector + targets. + """ + + HTTP = "HTTP" + """The gateway performs health checks over HTTP.""" + HTTPS = "HTTPS" + """The gateway performs health checks over HTTPS.""" + +@dataclass(kw_only=True) +class GatewayElbAccessLogConfiguration(_SerdeShape): + """ + The access log configuration for the load balancers that a gateway + manages. + """ + + destination: GatewayElbAccessLogDestination | None = ... + """The destination where access logs are delivered.""" + +@dataclass +class GatewayElbAccessLogDestinationS3(_SerdeShape): + """The Amazon S3 destination for access logs.""" + + value: GatewayElbAccessLogS3Destination + +@dataclass +class GatewayElbAccessLogDestinationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +GatewayElbAccessLogDestination = Union[ + GatewayElbAccessLogDestinationS3 | GatewayElbAccessLogDestinationUnknown +] +""" +The destination where the access logs for a gateway's load balancers +are delivered. +""" + +class _GatewayElbAccessLogDestinationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> GatewayElbAccessLogDestination: ... + +@dataclass(kw_only=True) +class GatewayElbAccessLogS3Destination(_SerdeShape): + """ + The Amazon S3 destination for the access logs of a gateway's load + balancers. + """ + + bucket: str + """The name of the Amazon S3 bucket where access logs are delivered.""" + prefix: str | None = ... + """The object key prefix for the access logs in the Amazon S3 bucket.""" + +class GatewayElbIpAddressType(UnknownEnumMixin, StrEnum): + """The IP address type for the load balancers that a gateway manages.""" + + IPV4 = "ipv4" + """The load balancers use IPv4 addresses only.""" + DUALSTACK = "dualstack" + """The load balancers use both IPv4 and IPv6 addresses.""" + DUALSTACK_WITHOUT_PUBLIC_IPV4 = "dualstack-without-public-ipv4" + """ + The load balancers use IPv6 addresses and private IPv4 addresses, + without public IPv4 addresses. + """ + +@dataclass(kw_only=True) +class GatewayElbNetworkConfiguration(_SerdeShape): + """The network configuration for the load balancers that a gateway manages.""" + + inbound_security_group: str | None = ... + """ + The ID of a security group that you provide to control inbound traffic + to the load balancers that the gateway manages. When you specify a + security group, the gateway doesn't create inbound rules on the + security group it manages. + """ + subnets: list[str] | None = ... + """ + The subnets for the load balancers that the gateway manages. The default + is the subnets in the default VPC. + """ + ip_address_type: str | None = ... + """ + The IP address type for the load balancers that the gateway manages. The + default is `dualstack`. + """ + +class GatewayElbScheme(UnknownEnumMixin, StrEnum): + """ + Specifies whether the load balancers that a gateway manages are + internet-facing or internal. + """ + + INTERNET_FACING = "internet-facing" + """The load balancers are internet-facing.""" + INTERNAL = "internal" + """The load balancers are internal.""" + +@dataclass +class GatewayInfrastructureResourcesHostSharedAlb(_SerdeShape): + """ + The Application Load Balancer resource groups for a host-based, shared + ALB gateway. + """ + + value: list[ElbGatewayResources] + +@dataclass +class GatewayInfrastructureResourcesUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +GatewayInfrastructureResources = Union[ + GatewayInfrastructureResourcesHostSharedAlb | GatewayInfrastructureResourcesUnknown +] +""" +The gateway-managed infrastructure in a `DescribeGatewayResources` +response, as a union keyed by gateway type. +""" + +class _GatewayInfrastructureResourcesDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> GatewayInfrastructureResources: ... + +@dataclass(kw_only=True) +class GatewayNotFoundException(ServiceError, _SerdeShape): + """ + The specified gateway wasn't found. Check that the gateway name or ARN + is correct and that the gateway exists in your account and Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GatewayOperationError(_SerdeShape): + """A single failed operation against a resource that a gateway manages.""" + + operation: str | None = ... + """ + The IAM-style action identifier of the operation that failed, such as + `elasticloadbalancing:ModifyLoadBalancerAttributes`. + """ + code: str | None = ... + """ + The error code returned by the failed operation, passed through from the + downstream service, such as `AccessDenied`. + """ + message: str | None = ... + """The detailed error message.""" + +@dataclass(kw_only=True) +class GatewayResourceFailure(_SerdeShape): + """ + The failures for a single resource that was touched by an asynchronous + gateway process. + """ + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource that failed to update, + such as a load balancer ARN. + """ + errors: list[GatewayOperationError] | None = ... + """The errors that were encountered while operating on the resource.""" + +@dataclass(kw_only=True) +class GatewayResources(_SerdeShape): + """ + `DescribeGatewayResources` returns the gateway-managed infrastructure, + grouped by gateway type. + """ + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + resources: GatewayInfrastructureResources | None = ... + """The infrastructure resources that the gateway manages.""" + +@dataclass(kw_only=True) +class GatewayRoute(_SerdeShape): + """ + A gateway route, which represents the association between a service and + a gateway and the service-specific infrastructure that the gateway + manages for the service's revisions. + """ + + gateway_route_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway route.""" + service_arn: str | None = ... + """The Amazon Resource Name (ARN) of the service associated with the route.""" + service_container_port_name: str | None = ... + """ + The task definition container port name that the route targets on the + service. + """ + status: str | None = ... + """The status of the gateway route.""" + service_url: str | None = ... + """The URL for accessing the service, including the `https://` scheme.""" + resources: GatewayRouteResources | None = ... + """ + The service-specific infrastructure that the gateway manages for the + route, keyed by gateway type. + """ + +@dataclass(kw_only=True) +class GatewayRouteAlbResources(_SerdeShape): + """ + The Application Load Balancer resources that a gateway manages for a + route. + """ + + acm_certificate_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services Certificate + Manager certificate. + """ + load_balancer_arn: str | None = ... + """The Amazon Resource Name (ARN) of the load balancer.""" + listener_arn: str | None = ... + """The Amazon Resource Name (ARN) of the listener.""" + listener_rule_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the listener rule for production + traffic. + """ + test_listener_rule_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the listener rules for test traffic. + There is one rule except when a test header configuration is being + changed to another. + """ + load_balancer_security_groups: ( + list[GatewayRouteLoadBalancerSecurityGroup] | None + ) = ... + """The security groups attached to the load balancer.""" + service_security_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the service security group in which + the gateway manages the ingress rule for this route. + """ + +@dataclass(kw_only=True) +class GatewayRouteLoadBalancerSecurityGroup(_SerdeShape): + """A security group attached to the load balancer for a gateway route.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the security group.""" + rule_arns: list[str] | None = ... + """The Amazon Resource Names (ARNs) of the security group rules.""" + +@dataclass +class GatewayRouteResourcesHostSharedAlb(_SerdeShape): + """ + The Application Load Balancer resources for a host-based, shared ALB + gateway. + """ + + value: list[GatewayRouteAlbResources] + +@dataclass +class GatewayRouteResourcesUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +GatewayRouteResources = Union[ + GatewayRouteResourcesHostSharedAlb | GatewayRouteResourcesUnknown +] +""" +The service-specific infrastructure that a gateway manages for a route, +keyed by gateway type. +""" + +class _GatewayRouteResourcesDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> GatewayRouteResources: ... + +class GatewayRouteStatus(UnknownEnumMixin, StrEnum): + """The status of a gateway route.""" + + ACTIVE = "ACTIVE" + """The gateway route is active and routing traffic.""" + CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" + """The gateway route is being created.""" + CREATE_FAILED = "CREATE_FAILED" + """The gateway route couldn't be created.""" + UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" + """The gateway route is being updated.""" + UPDATE_FAILED = "UPDATE_FAILED" + """The gateway route couldn't be updated.""" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + """The gateway route is being deleted.""" + DELETE_FAILED = "DELETE_FAILED" + """The gateway route couldn't be deleted.""" + +@dataclass(kw_only=True) +class GatewayRouteSummary(_SerdeShape): + """ + A summary of a gateway route that is returned by the `ListGatewayRoutes` + operation. + """ + + gateway_route_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway route.""" + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster.""" + service_arn: str | None = ... + """The Amazon Resource Name (ARN) of the service.""" + service_container_port_name: str | None = ... + """ + The task definition container port name that the route targets on the + service. + """ + status: str | None = ... + """The status of the gateway route.""" + +class GatewayStatus(UnknownEnumMixin, StrEnum): + """The status of a gateway.""" + + ACTIVE = "ACTIVE" + """The gateway is active and available for use.""" + UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" + """An update to the gateway is in progress.""" + UPDATE_COMPLETE = "UPDATE_COMPLETE" + """The update to the gateway completed successfully.""" + UPDATE_FAILED = "UPDATE_FAILED" + """The update to the gateway failed. See `statusReason` for details.""" + DELETED = "DELETED" + """The gateway is deleted.""" + +@dataclass(kw_only=True) +class GatewaySummary(_SerdeShape): + """A summary of a gateway that is returned by the `ListGateways` operation.""" + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + name: str | None = ... + """The name of the gateway.""" + status: str | None = ... + """The status of the gateway.""" + created_at: datetime | None = ... + """The Unix timestamp for the time when the gateway was created.""" + +@dataclass(kw_only=True) +class GatewayTestTrafficHeader(_SerdeShape): + """ + A header-based rule that identifies test traffic for progressive + deployments. + """ + + name: str + """The name of the header to match for test traffic routing.""" + values: list[str] + """The header values to match for test traffic routing.""" + +@dataclass(kw_only=True) +class GetTaskProtectionInput(_SerdeShape): + """Dataclass for GetTaskProtectionInput structure.""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the service that the task sets exist in. + """ + tasks: list[str] | None = ... + """A list of up to 100 task IDs or full ARN entries.""" + +@dataclass(kw_only=True) +class GetTaskProtectionOutput(_SerdeShape): + """Dataclass for GetTaskProtectionOutput structure.""" + + protected_tasks: list[ProtectedTask] | None = ... + """ + A list of tasks with the following information. + + - `taskArn`: The task ARN. + + - `protectionEnabled`: The protection status of the task. If scale-in + protection is turned on for a task, the value is `true`. Otherwise, it + is `false`. + + - `expirationDate`: The epoch time when protection for the task will + expire. + """ + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GpuDevice(_SerdeShape): + """ + The state of a GPU on a container instance, including its sharing mode + and the memory that's available for new containers. + """ + + gpu_id: str | None = ... + """ + The ID of the GPU. This ID matches the GPU IDs in the `gpuIds` of the + containers that Amazon ECS assigned to the GPU. + """ + sharing_mode: str | None = ... + """ + How the GPU is shared between containers. + + Valid values: + + - `IDLE` - No containers are assigned to the GPU, and all of its memory + is available. + + - `NVIDIA_MPS` - One or more containers share the GPU by using NVIDIA + Multi-Process Service (MPS). + + - `DEDICATED` - One container has exclusive use of the GPU. + """ + total_memory_in_mi_b: int | None = ... + """ + The total amount of GPU memory, in MiB, that the Amazon ECS container + agent reported for the GPU. This is the memory that's available to + containers, and it can be less than the nominal memory of the GPU. + """ + remaining_memory_in_mi_b: int | None = ... + """ + The amount of GPU memory, in MiB, that's available to allocate to new + containers that use the `nvidiaMps` sharing strategy. Amazon ECS + calculates this value from the memory that it allocated to containers on + the GPU, not from the memory that the containers use. + """ + container_count: int | None = ... + """ + The number of containers that Amazon ECS assigned to the GPU. This value + is `0` when the sharing mode is `IDLE` and `1` when the sharing mode is + `DEDICATED`. Amazon ECS counts the containers that it assigned to the + GPU, not the processes that are running on it. + """ + +class GpuSharingMode(UnknownEnumMixin, StrEnum): + """ + Describes how a GPU on a container instance is shared between + containers. + """ + + IDLE = "IDLE" + """ + No containers are assigned to the GPU, and all of its memory is + available. + """ + NVIDIA_MPS = "NVIDIA_MPS" + """ + One or more containers share the GPU by using NVIDIA Multi-Process + Service (MPS). While the GPU is in this mode, Amazon ECS assigns it only + to containers that use the `nvidiaMps` sharing strategy. + """ + DEDICATED = "DEDICATED" + """ + One container has exclusive use of the GPU. Amazon ECS assigns GPUs this + way to containers that specify `value` instead of `sharingStrategy` for + the `GPU` resource type. + """ + +@dataclass(kw_only=True) +class HealthCheck(_SerdeShape): + """ + An object representing a container health check. Health check parameters + that are specified in a container definition override any Docker health + checks that exist in the container image (such as those specified in a + parent image or from the image's Dockerfile). This configuration maps + to the `HEALTHCHECK` parameter of docker run. + + Note: + The Amazon ECS container agent only monitors and reports on the health + checks specified in the task definition. Amazon ECS does not monitor + Docker health checks that are embedded in a container image and not + specified in the container definition. Health check parameters that are + specified in a container definition override any Docker health checks + that exist in the container image. + + You can view the health status of both individual containers and a task + with the DescribeTasks API operation or when viewing the task details in + the console. + + The health check is designed to make sure that your containers survive + agent restarts, upgrades, or temporary unavailability. + + Amazon ECS performs health checks on containers with the default that + launched the container instance or the task. + + The following describes the possible `healthStatus` values for a + container: + + - `HEALTHY`-The container health check has passed successfully. + + - `UNHEALTHY`-The container health check has failed. + + - `UNKNOWN`-The container health check is being evaluated, there's no + container health check defined, or Amazon ECS doesn't have the health + status of the container. + + The following describes the possible `healthStatus` values based on the + container health checker status of essential containers in the task with + the following priority order (high to low): + + - `UNHEALTHY`-One or more essential containers have failed their health + check. + + - `UNKNOWN`-Any essential container running within the task is in an + `UNKNOWN` state and no other essential containers have an `UNHEALTHY` + state. + + - `HEALTHY`-All essential containers within the task have passed their + health checks. + + Consider the following task health example with 2 containers. + + - If Container1 is `UNHEALTHY` and Container2 is `UNKNOWN`, the task + health is `UNHEALTHY`. + + - If Container1 is `UNHEALTHY` and Container2 is `HEALTHY`, the task + health is `UNHEALTHY`. + + - If Container1 is `HEALTHY` and Container2 is `UNKNOWN`, the task + health is `UNKNOWN`. + + - If Container1 is `HEALTHY` and Container2 is `HEALTHY`, the task + health is `HEALTHY`. + + Consider the following task health example with 3 containers. + + - If Container1 is `UNHEALTHY` and Container2 is `UNKNOWN`, and + Container3 is `UNKNOWN`, the task health is `UNHEALTHY`. + + - If Container1 is `UNHEALTHY` and Container2 is `UNKNOWN`, and + Container3 is `HEALTHY`, the task health is `UNHEALTHY`. + + - If Container1 is `UNHEALTHY` and Container2 is `HEALTHY`, and + Container3 is `HEALTHY`, the task health is `UNHEALTHY`. + + - If Container1 is `HEALTHY` and Container2 is `UNKNOWN`, and Container3 + is `HEALTHY`, the task health is `UNKNOWN`. + + - If Container1 is `HEALTHY` and Container2 is `UNKNOWN`, and Container3 + is `UNKNOWN`, the task health is `UNKNOWN`. + + - If Container1 is `HEALTHY` and Container2 is `HEALTHY`, and Container3 + is `HEALTHY`, the task health is `HEALTHY`. + + If a task is run manually, and not as part of a service, the task will + continue its lifecycle regardless of its health status. For tasks that + are part of a service, if the task reports as unhealthy then the task + will be stopped and the service scheduler will replace it. + + When a container health check fails for a task that is part of a + service, the following process occurs: + + 1. The task is marked as `UNHEALTHY`. + + 2. The unhealthy task will be stopped, and during the stopping process, + it will go through the following states: + + - `DEACTIVATING` - In this state, Amazon ECS performs additional + steps before stopping the task. For example, for tasks that are + part of services configured to use Elastic Load Balancing target + groups, target groups will be deregistered in this state. + + - `STOPPING` - The task is in the process of being stopped. + + - `DEPROVISIONING` - Resources associated with the task are being + cleaned up. + + - `STOPPED` - The task has been completely stopped. + + 3. After the old task stops, a new task will be launched to ensure + service operation, and the new task will go through the following + lifecycle: + + - `PROVISIONING` - Resources required for the task are being + provisioned. + + - `PENDING` - The task is waiting to be placed on a container + instance. + + - `ACTIVATING` - In this state, Amazon ECS pulls container images, + creates containers, configures task networking, registers load + balancer target groups, and configures service discovery status. + + - `RUNNING` - The task is running and performing its work. + + For more detailed information about task lifecycle states, see [Task + lifecycle](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle-explanation.html) + in the *Amazon Elastic Container Service Developer Guide*. + + The following are notes about container health check support: + + - If the Amazon ECS container agent becomes disconnected from the Amazon + ECS service, this won't cause a container to transition to an + `UNHEALTHY` status. This is by design, to ensure that containers + remain running during agent restarts or temporary unavailability. The + health check status is the \"last heard from\" response from the + Amazon ECS agent, so if the container was considered `HEALTHY` prior + to the disconnect, that status will remain until the agent reconnects + and another health check occurs. There are no assumptions made about + the status of the container health checks. + + - Container health checks require version `1.17.0` or greater of the + Amazon ECS container agent. For more information, see [Updating the + Amazon ECS container + agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html). + + - Container health checks are supported for Fargate tasks if you're + using platform version `1.1.0` or greater. For more information, see + [Fargate platform + versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). + + - Container health checks aren't supported for tasks that are part of a + service that's configured to use a Classic Load Balancer. + + For an example of how to specify a task definition with multiple + containers where container dependency is specified, see [Container + dependency](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + command: list[str] + """ + A string array representing the command that the container runs to + determine if it is healthy. The string array must start with `CMD` to + run the command arguments directly, or `CMD-SHELL` to run the command + with the container's default shell. + + When you use the Amazon Web Services Management Console JSON panel, the + Command Line Interface, or the APIs, enclose the list of commands in + double quotes and brackets. + + `[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]` + + You don't include the double quotes and brackets when you use the + Amazon Web Services Management Console. + + ` CMD-SHELL, curl -f http://localhost/ || exit 1` + + An exit code of 0 indicates success, and non-zero exit code indicates + failure. For more information, see `HealthCheck` in the docker container + create command. + """ + interval: int | None = ... + """ + The time period in seconds between each health check execution. You may + specify between 5 and 300 seconds. The default value is 30 seconds. This + value applies only when you specify a `command`. + """ + timeout: int | None = ... + """ + The time period in seconds to wait for a health check to succeed before + it is considered a failure. You may specify between 2 and 60 seconds. + The default value is 5. This value applies only when you specify a + `command`. + """ + retries: int | None = ... + """ + The number of times to retry a failed health check before the container + is considered unhealthy. You may specify between 1 and 10 retries. The + default value is 3. This value applies only when you specify a + `command`. + """ + start_period: int | None = ... + """ + The optional grace period to provide containers time to bootstrap before + failed health checks count towards the maximum number of retries. You + can specify between 0 and 300 seconds. By default, the `startPeriod` is + off. This value applies only when you specify a `command`. + + Note: + If a health check succeeds within the `startPeriod`, then the container + is considered healthy and any subsequent failures count toward the + maximum number of retries. + """ + +class HealthStatus(UnknownEnumMixin, StrEnum): + HEALTHY = "HEALTHY" + UNHEALTHY = "UNHEALTHY" + UNKNOWN = "UNKNOWN" + +@dataclass(kw_only=True) +class HostEntry(_SerdeShape): + """ + Hostnames and IP address entries that are added to the `/etc/hosts` file + of a container via the `extraHosts` parameter of its + [ContainerDefinition](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html). + """ + + hostname: str + """The hostname to use in the `/etc/hosts` entry.""" + ip_address: str + """The IP address to use in the `/etc/hosts` entry.""" + +@dataclass(kw_only=True) +class HostSharedAlbConfiguration(_SerdeShape): + """ + The configuration for a gateway that uses shared Application Load + Balancers with host-based routing. Where they apply, the field names and + values are kept consistent with the Elastic Load Balancing API. + """ + + network_configuration: GatewayElbNetworkConfiguration | None = ... + """ + The network configuration for the load balancers that the gateway + manages. + """ + scheme: str | None = ... + """ + Specifies whether the load balancers the gateway manages are + `internet-facing` or `internal`. The default is `internet-facing`. + """ + web_acl_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the WAF web ACL to associate with the + load balancers that the gateway manages. + """ + access_logs: GatewayElbAccessLogConfiguration | None = ... + """ + The access log configuration for the load balancers that the gateway + manages. + """ + port: int | None = ... + """ + The port that the load balancer listener uses is 443. The gateway + supports only HTTPS at port 443. + """ + protocol: str | None = ... + """ + The protocol for the load balancer listener is `HTTPS`. No other + protocol is supported. + """ + max_alb_count: int | None = ... + """ + The maximum number of Application Load Balancers that the gateway + manages. The default is 10. + """ + http_desync: str | None = ... + """ + The desync mitigation mode for the load balancers that the gateway + manages, which determines how the load balancers handle requests that + might pose a security risk. The default is `defensive`. + """ + test_traffic_rules: GatewayAlbTestTrafficRules | None = ... + """ + The rules that route test traffic for progressive deployments. During a + progressive deployment, requests whose headers match these rules are + routed to the new service revision so that it can be validated before + production traffic shifts to it. + """ + +@dataclass(kw_only=True) +class HostVolumeProperties(_SerdeShape): + """Details on a container instance bind mount host volume.""" + + source_path: str | None = ... + """ + When the `host` parameter is used, specify a `sourcePath` to declare the + path on the host container instance that's presented to the container. + If this parameter is empty, then the Docker daemon has assigned a host + path for you. If the `host` parameter contains a `sourcePath` file + location, then the data volume persists at the specified location on the + host container instance until you delete it manually. If the + `sourcePath` value doesn't exist on the host container instance, the + Docker daemon creates it. If the location does exist, the contents of + the source path folder are exported. + + If you're using the Fargate launch type, the `sourcePath` parameter is + not supported. + """ + +@dataclass(kw_only=True) +class InferenceAccelerator(_SerdeShape): + """ + Details on an Elastic Inference accelerator. For more information, see + [Working with Amazon Elastic Inference on Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + device_name: str + """ + The Elastic Inference accelerator device name. The `deviceName` must + also be referenced in a container definition as a + [ResourceRequirement](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html). + """ + device_type: str + """The Elastic Inference accelerator type to use.""" + +@dataclass(kw_only=True) +class InferenceAcceleratorOverride(_SerdeShape): + """ + Details on an Elastic Inference accelerator task override. This + parameter is used to override the Elastic Inference accelerator + specified in the task definition. For more information, see [Working + with Amazon Elastic Inference on Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + device_name: str | None = ... + """ + The Elastic Inference accelerator device name to override for the task. + This parameter must match a `deviceName` specified in the task + definition. + """ + device_type: str | None = ... + """The Elastic Inference accelerator type to use.""" + +@dataclass(kw_only=True) +class InfrastructureOptimization(_SerdeShape): + """ + The configuration that controls how Amazon ECS optimizes your + infrastructure. + """ + + scale_in_after: int | None = ... + """ + This parameter defines the number of seconds Amazon ECS Managed + Instances waits before optimizing EC2 instances that have become idle or + underutilized. A longer delay increases the likelihood of placing new + tasks on idle or underutilized instances instances, reducing startup + time. A shorter delay helps reduce infrastructure costs by optimizing + idle or underutilized instances,instances more quickly. + + Valid values are: + + - `null` - Uses the default optimization behavior. + + - `-1` - Disables automatic infrastructure optimization. + + - A value between `0` and `3600` (inclusive) - Specifies the number of + seconds to wait before optimizing instances. + """ + +@dataclass(kw_only=True) +class IngressPathSummary(_SerdeShape): + """The entry point into an Express service.""" + + access_type: str + """The type of access to the endpoint for the Express service.""" + endpoint: str + """The endpoint for access to the service.""" + +class InstanceGeneration(UnknownEnumMixin, StrEnum): + CURRENT = "current" + PREVIOUS = "previous" + +@dataclass(kw_only=True) +class InstanceHealthCheckResult(_SerdeShape): + """ + An object representing the result of a container instance health status + check. + """ + + type: str | None = ... + """The type of container instance health status that was verified.""" + status: str | None = ... + """The container instance health status.""" + status_reason: str | None = ... + """The reason for the container instance health status.""" + last_updated: datetime | None = ... + """ + The Unix timestamp for when the container instance health status was + last updated. + """ + last_status_change: datetime | None = ... + """ + The Unix timestamp for when the container instance health status last + changed. + """ + +class InstanceHealthCheckState(UnknownEnumMixin, StrEnum): + OK = "OK" + IMPAIRED = "IMPAIRED" + INSUFFICIENT_DATA = "INSUFFICIENT_DATA" + INITIALIZING = "INITIALIZING" + +class InstanceHealthCheckType(UnknownEnumMixin, StrEnum): + CONTAINER_RUNTIME = "CONTAINER_RUNTIME" + ACCELERATED_COMPUTE = "ACCELERATED_COMPUTE" + DAEMON = "DAEMON" + AGENT_CONNECTIVITY = "AGENT_CONNECTIVITY" + +@dataclass(kw_only=True) +class InstanceLaunchTemplate(_SerdeShape): + """ + The launch template configuration for Amazon ECS Managed Instances. This + defines how Amazon ECS launches Amazon EC2 instances, including the + instance profile for your tasks, network and storage configuration, + capacity options, and instance requirements for flexible instance type + selection. + """ + + ec2_instance_profile_arn: str + """ + The Amazon Resource Name (ARN) of the instance profile that Amazon ECS + applies to Amazon ECS Managed Instances. This instance profile must + include the necessary permissions for your tasks to access Amazon Web + Services services and resources. + + For more information, see [Amazon ECS instance profile for Managed + Instances](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/managed-instances-instance-profile.html) + in the *Amazon ECS Developer Guide*. + """ + network_configuration: ManagedInstancesNetworkConfiguration + """ + The network configuration for Amazon ECS Managed Instances. This + specifies the subnets and security groups that instances use for network + connectivity. + """ + storage_configuration: ManagedInstancesStorageConfiguration | None = ... + """ + The storage configuration for Amazon ECS Managed Instances. This defines + the data volume properties for the instances. + """ + local_storage_configuration: ManagedInstancesLocalStorageConfiguration | None = ... + """ + The local storage configuration for Amazon ECS Managed Instances. This + defines how ECS uses instance store volumes available on the container + instance. + """ + monitoring: str | None = ... + """ + CloudWatch provides two categories of monitoring: basic monitoring and + detailed monitoring. By default, your managed instance is configured for + basic monitoring. You can optionally enable detailed monitoring to help + you more quickly identify and act on operational issues. You can enable + or turn off detailed monitoring at launch or when the managed instance + is running or stopped. For more information, see [Detailed monitoring + for Amazon ECS Managed + Instances](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/detailed-monitoring-managed-instances.html) + in the Amazon ECS Developer Guide. + """ + capacity_option_type: str | None = ... + """ + The capacity option type. This determines whether Amazon ECS launches + On-Demand, Spot or Capacity Reservation Instances for your managed + instance capacity provider. + + Valid values are: + + - `ON_DEMAND` - Launches standard On-Demand Instances. On-Demand + Instances provide predictable pricing and availability. + + - `SPOT` - Launches Spot Instances that use spare Amazon EC2 capacity at + reduced cost. Spot Instances can be interrupted by Amazon EC2 with a + two-minute notification when the capacity is needed back. + + - `RESERVED` - Launches Instances using Amazon EC2 Capacity + Reservations. Capacity Reservations allow you to reserve compute + capacity for Amazon EC2 instances in a specific Availability Zone. + + The default is On-Demand + + For more information about Amazon EC2 capacity options, see [Instance + purchasing + options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html) + in the *Amazon EC2 User Guide*. + """ + instance_metadata_tags_propagation: bool | None = ... + """ + Determines whether tags are propagated to the instance metadata service + (IMDS) for Amazon EC2 instances launched by the Managed Instances + capacity provider. When enabled, all tags associated with the instance + are available through the instance metadata service. When disabled, tags + are not propagated to IMDS. + + Disable this setting if your tags contain characters that are not + compatible with IMDS, such as `/`. IMDS requires tag keys to match the + pattern `[0-9a-zA-Z\\-_+=,.@:]{1,255}`. + + The default value is `true`. + + For more information, see [Work with instance tags in instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS) + in the *Amazon EC2 User Guide*. + """ + instance_requirements: InstanceRequirementsRequest | None = ... + """ + The instance requirements. You can specify: + + - The instance types + + - Instance requirements such as vCPU count, memory, network performance, + and accelerator specifications + + Amazon ECS automatically selects the instances that match the specified + criteria. + """ + fips_enabled: bool | None = ... + """ + Determines whether to enable FIPS 140-2 validated cryptographic modules + on EC2 instances launched by the capacity provider. If `true`, instances + use FIPS-compliant cryptographic algorithms and modules for enhanced + security compliance. If `false`, instances use standard cryptographic + implementations. + + If not specified, instances are launched with FIPS enabled in Amazon Web + Services GovCloud (US) regions and FIPS disabled in other regions. + """ + capacity_reservations: CapacityReservationRequest | None = ... + """ + Capacity reservation specifications. You can specify: + + - Capacity reservation preference + + - Reservation resource group to be used for targeted capacity + reservations + + Amazon ECS will launch instances according to the specified criteria. + """ + nitro_enclaves_enabled: bool | None = ... + """ + Specifies whether instances that this capacity provider launches have + [Nitro + Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html) + enabled. Enable this setting to run tasks that use the + `ISOLATED_SANDBOX` or `CONFIDENTIAL_SANDBOX` isolation mode. + + When you enable this setting, the capacity provider must include at + least one instance type that supports Nitro Sandbox. You can't enable + this setting together with local storage (the `useLocalStorage` setting + in `localStorageConfiguration`). + + The default value is `false`. + + For more information, see [Isolated and confidential + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) + in *Amazon Elastic Container Service Developer Guide*. + """ + +@dataclass(kw_only=True) +class InstanceLaunchTemplateUpdate(_SerdeShape): + """ + The updated launch template configuration for Amazon ECS Managed + Instances. You can modify the instance profile, network configuration, + storage settings, and instance requirements. Changes apply to new + instances launched after the update. + + For more information, see [Store instance launch parameters in Amazon + EC2 launch + templates](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) + in the *Amazon EC2 User Guide*. + """ + + ec2_instance_profile_arn: str | None = ... + """ + The updated Amazon Resource Name (ARN) of the instance profile. The new + instance profile must have the necessary permissions for your tasks. + + For more information, see [Amazon ECS instance profile for Managed + Instances](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/managed-instances-instance-profile.html) + in the *Amazon ECS Developer Guide*. + """ + network_configuration: ManagedInstancesNetworkConfiguration | None = ... + """ + The updated network configuration for Amazon ECS Managed Instances. + Changes to subnets and security groups affect new instances launched + after the update. + """ + storage_configuration: ManagedInstancesStorageConfiguration | None = ... + """ + The updated storage configuration for Amazon ECS Managed Instances. + Changes to storage settings apply to new instances launched after the + update. + """ + instance_metadata_tags_propagation: bool | None = ... + """ + Determines whether tags are propagated to the instance metadata service + (IMDS) for Amazon EC2 instances launched by the Managed Instances + capacity provider. When enabled, all tags associated with the instance + are available through the instance metadata service. When disabled, tags + are not propagated to IMDS. + + Disable this setting if your tags contain characters that are not + compatible with IMDS, such as `/`. IMDS requires tag keys to match the + pattern `[0-9a-zA-Z\\-_+=,.@:]{1,255}`. + + The default value is `true`. + + For more information, see [Work with instance tags in instance + metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS) + in the *Amazon EC2 User Guide*. + """ + local_storage_configuration: ManagedInstancesLocalStorageConfiguration | None = ... + """ + The updated local storage configuration for Amazon ECS Managed + Instances. Changes to local storage settings apply to new instances + launched after the update. + """ + monitoring: str | None = ... + """ + CloudWatch provides two categories of monitoring: basic monitoring and + detailed monitoring. By default, your managed instance is configured for + basic monitoring. You can optionally enable detailed monitoring to help + you more quickly identify and act on operational issues. You can enable + or turn off detailed monitoring at launch or when the managed instance + is running or stopped. For more information, see [Detailed monitoring + for Amazon ECS Managed + Instances](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/detailed-monitoring-managed-instances.html) + in the Amazon ECS Developer Guide. + """ + instance_requirements: InstanceRequirementsRequest | None = ... + """ + The updated instance requirements for attribute-based instance type + selection. Changes to instance requirements affect which instance types + Amazon ECS selects for new instances. + """ + capacity_reservations: CapacityReservationRequest | None = ... + """ + The updated capacity reservations specifications for Amazon ECS Managed + Instances. Changes to capacity reservations settings apply to new + instances launched after the update. + """ + +@dataclass(kw_only=True) +class InstanceRequirementsRequest(_SerdeShape): + """ + The instance requirements for attribute-based instance type selection. + Instead of specifying exact instance types, you define requirements such + as vCPU count, memory size, network performance, and accelerator + specifications. Amazon ECS automatically selects Amazon EC2 instance + types that match these requirements, providing flexibility and helping + to mitigate capacity constraints. + """ + + v_cpu_count: VCpuCountRangeRequest + """ + The minimum and maximum number of vCPUs for the instance types. Amazon + ECS selects instance types that have vCPU counts within this range. + """ + memory_mi_b: MemoryMiBRequest + """ + The minimum and maximum amount of memory in mebibytes (MiB) for the + instance types. Amazon ECS selects instance types that have memory + within this range. + """ + cpu_manufacturers: list[str] | None = ... + """ + The CPU manufacturers to include or exclude. You can specify `intel`, + `amd`, or `amazon-web-services` to control which CPU types are used for + your workloads. + """ + memory_gi_b_per_v_cpu: MemoryGiBPerVCpuRequest | None = ... + """ + The minimum and maximum amount of memory per vCPU in gibibytes (GiB). + This helps ensure that instance types have the appropriate memory-to-CPU + ratio for your workloads. + """ + excluded_instance_types: list[str] | None = ... + """ + The instance types to exclude from selection. Use this to prevent Amazon + ECS from selecting specific instance types that may not be suitable for + your workloads. + """ + instance_generations: list[str] | None = ... + """ + The instance generations to include. You can specify `current` to use + the latest generation instances, or `previous` to include previous + generation instances for cost optimization. + """ + spot_max_price_percentage_over_lowest_price: int | None = ... + """ + The maximum price for Spot instances as a percentage over the lowest + priced On-Demand instance. This helps control Spot instance costs while + maintaining access to capacity. + """ + on_demand_max_price_percentage_over_lowest_price: int | None = ... + """ + The price protection threshold for On-Demand Instances, as a percentage + higher than an identified On-Demand price. The identified On-Demand + price is the price of the lowest priced current generation C, M, or R + instance type with your specified attributes. If no current generation + C, M, or R instance type matches your attributes, then the identified + price is from either the lowest priced current generation instance types + or, failing that, the lowest priced previous generation instance types + that match your attributes. When Amazon ECS selects instance types with + your attributes, we will exclude instance types whose price exceeds your + specified threshold. + """ + bare_metal: str | None = ... + """ + Indicates whether to include bare metal instance types. Set to + `included` to allow bare metal instances, `excluded` to exclude them, or + `required` to use only bare metal instances. + """ + burstable_performance: str | None = ... + """ + Indicates whether to include burstable performance instance types (T2, + T3, T3a, T4g). Set to `included` to allow burstable instances, + `excluded` to exclude them, or `required` to use only burstable + instances. + """ + require_hibernate_support: bool | None = ... + """ + Indicates whether the instance types must support hibernation. When set + to `true`, only instance types that support hibernation are selected. + """ + network_interface_count: NetworkInterfaceCountRequest | None = ... + """ + The minimum and maximum number of network interfaces for the instance + types. This is useful for workloads that require multiple network + interfaces. + """ + local_storage: str | None = ... + """ + Indicates whether to include instance types with local storage. Set to + `included` to allow local storage, `excluded` to exclude it, or + `required` to use only instances with local storage. + """ + local_storage_types: list[str] | None = ... + """ + The local storage types to include. You can specify `hdd` for hard disk + drives, `ssd` for solid state drives, or both. + """ + total_local_storage_gb: TotalLocalStorageGBRequest | None = ... + """ + The minimum and maximum total local storage in gigabytes (GB) for + instance types with local storage. + """ + baseline_ebs_bandwidth_mbps: BaselineEbsBandwidthMbpsRequest | None = ... + """ + The minimum and maximum baseline Amazon EBS bandwidth in megabits per + second (Mbps). This is important for workloads with high storage I/O + requirements. + """ + accelerator_types: list[str] | None = ... + """ + The accelerator types to include. You can specify `gpu` for graphics + processing units, `fpga` for field programmable gate arrays, or + `inference` for machine learning inference accelerators. + """ + accelerator_count: AcceleratorCountRequest | None = ... + """ + The minimum and maximum number of accelerators for the instance types. + This is used when you need instances with specific numbers of GPUs or + other accelerators. + """ + accelerator_manufacturers: list[str] | None = ... + """ + The accelerator manufacturers to include. You can specify `nvidia`, + `amd`, `amazon-web-services`, or `xilinx` depending on your accelerator + requirements. + """ + accelerator_names: list[str] | None = ... + """ + The specific accelerator names to include. For example, you can specify + `a100`, `v100`, `k80`, or other specific accelerator models. + """ + accelerator_total_memory_mi_b: AcceleratorTotalMemoryMiBRequest | None = ... + """ + The minimum and maximum total accelerator memory in mebibytes (MiB). + This is important for GPU workloads that require specific amounts of + video memory. + """ + network_bandwidth_gbps: NetworkBandwidthGbpsRequest | None = ... + """ + The minimum and maximum network bandwidth in gigabits per second (Gbps). + This is crucial for network-intensive workloads that require high + throughput. + """ + allowed_instance_types: list[str] | None = ... + """ + The instance types to include in the selection. When specified, Amazon + ECS only considers these instance types, subject to the other + requirements specified. + """ + max_spot_price_as_percentage_of_optimal_on_demand_price: int | None = ... + """ + The maximum price for Spot instances as a percentage of the optimal + On-Demand price. This provides more precise cost control for Spot + instance selection. + """ + +@dataclass(kw_only=True) +class InvalidParameterException(ServiceError, _SerdeShape): + """ + The specified parameter isn't valid. Review the available parameters + for the API request. + + For more information about service event errors, see [Amazon ECS service + event + messages](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class IpcMode(UnknownEnumMixin, StrEnum): + HOST = "host" + TASK = "task" + NONE = "none" + +class IsolationMode(UnknownEnumMixin, StrEnum): + """ + The isolation mode determines how a task is isolated from other tasks on + the same Amazon EC2 instance. + """ + + SHARED = "SHARED" + """ + The task shares the underlying Amazon EC2 instance with other tasks. + This is the default isolation mode. + """ + ISOLATED_SANDBOX = "ISOLATED_SANDBOX" + """ + The task runs in its own [Nitro + Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), + which is a lightweight virtual machine that is isolated by the Amazon + Web Services Nitro System. Each task's sandbox is isolated from every + other task's sandbox on the same Amazon EC2 instance. For more + information, see [Isolated and confidential + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) + in *Amazon Elastic Container Service Developer Guide*. + """ + CONFIDENTIAL_SANDBOX = "CONFIDENTIAL_SANDBOX" + """ + The task runs in its own [Nitro + Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), + which is a lightweight virtual machine that is isolated by the Amazon + Web Services Nitro System, with cryptographic attestation. The host + can't access the sandbox's memory or storage. For more information, + see [Isolated and confidential + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) + in *Amazon Elastic Container Service Developer Guide*. + """ + +@dataclass(kw_only=True) +class KernelCapabilities(_SerdeShape): + """ + The Linux capabilities to add or remove from the default Docker + configuration for a container defined in the task definition. For more + detailed information about these Linux capabilities, see the + [capabilities(7)](http://man7.org/linux/man-pages/man7/capabilities.7.html) + Linux manual page. + + The following describes how Docker processes the Linux capabilities + specified in the `add` and `drop` request parameters. For information + about the latest behavior, see [Docker Compose: order of cap_drop and + cap_add](https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1) + in the Docker Community Forum. + + - When the container is a privleged container, the container + capabilities are all of the default Docker capabilities. The + capabilities specified in the `add` request parameter, and the `drop` + request parameter are ignored. + + - When the `add` request parameter is set to ALL, the container + capabilities are all of the default Docker capabilities, excluding + those specified in the `drop` request parameter. + + - When the `drop` request parameter is set to ALL, the container + capabilities are the capabilities specified in the `add` request + parameter. + + - When the `add` request parameter and the `drop` request parameter are + both empty, the capabilities the container capabilities are all of the + default Docker capabilities. + + - The default is to first drop the capabilities specified in the `drop` + request parameter, and then add the capabilities specified in the + `add` request parameter. + """ + + add: list[str] | None = ... + """ + The Linux capabilities for the container that have been added to the + default configuration provided by Docker. This parameter maps to + `CapAdd` in the docker container create command and the `--cap-add` + option to docker run. + + Note: + Tasks launched on Fargate only support adding the `SYS_PTRACE` kernel + capability. + + Valid values: + `"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"` + """ + drop: list[str] | None = ... + """ + The Linux capabilities for the container that have been removed from the + default configuration provided by Docker. This parameter maps to + `CapDrop` in the docker container create command and the `--cap-drop` + option to docker run. + + Valid values: + `"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"` + """ + +@dataclass(kw_only=True) +class KeyValuePair(_SerdeShape): + """A key-value pair object.""" + + name: str | None = ... + """ + The name of the key-value pair. For environment variables, this is the + name of the environment variable. + """ + value: str | None = ... + """ + The value of the key-value pair. For environment variables, this is the + value of the environment variable. + """ + +class LaunchType(UnknownEnumMixin, StrEnum): + EC2 = "EC2" + FARGATE = "FARGATE" + EXTERNAL = "EXTERNAL" + MANAGED_INSTANCES = "MANAGED_INSTANCES" + +@dataclass(kw_only=True) +class LimitExceededException(ServiceError, _SerdeShape): + """The limit for the resource was exceeded.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LinearConfiguration(_SerdeShape): + """ + Configuration for linear deployment strategy that shifts production + traffic in equal percentage increments with configurable wait times + between each step until 100% of traffic is shifted to the new service + revision. This is only valid when you run `CreateService` or + `UpdateService` with `deploymentController` set to `ECS` and a + `deploymentConfiguration` with a strategy set to `LINEAR`. + """ + + step_percent: float | None = ... + """ + The percentage of production traffic to shift in each step during a + linear deployment. Valid values are multiples of 0.1 from 3.0 to 100.0. + The default value is 10.0. + """ + step_bake_time_in_minutes: int | None = ... + """ + The amount of time in minutes to wait between each traffic shifting step + during a linear deployment. Valid values are 0 to 1440 minutes (24 + hours). The default value is 6. This bake time is not applied after + reaching 100 percent traffic. + """ + +@dataclass(kw_only=True) +class LinuxParameters(_SerdeShape): + """ + The Linux-specific options that are applied to the container, such as + Linux + [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). + """ + + capabilities: KernelCapabilities | None = ... + """ + The Linux capabilities for the container that are added to or dropped + from the default configuration provided by Docker. + + Note: + For tasks that use the Fargate launch type, `capabilities` is supported + for all platform versions but the `add` parameter is only supported if + using platform version 1.4.0 or later. + """ + devices: list[Device] | None = ... + """ + Any host devices to expose to the container. This parameter maps to + `Devices` in the docker container create command and the `--device` + option to docker run. + + Note: + If you're using tasks that use the Fargate launch type, the `devices` + parameter isn't supported. + """ + init_process_enabled: bool | None = ... + """ + Run an `init` process inside the container that forwards signals and + reaps processes. This parameter maps to the `--init` option to docker + run. This parameter requires version 1.25 of the Docker Remote API or + greater on your container instance. To check the Docker Remote API + version on your container instance, log in to your container instance + and run the following command: + `sudo docker version --format '{{.Server.APIVersion}}'` + """ + shared_memory_size: int | None = ... + """ + The value for the size (in MiB) of the `/dev/shm` volume. This parameter + maps to the `--shm-size` option to docker run. + + Note: + If you are using tasks that use the Fargate launch type, the + `sharedMemorySize` parameter is not supported. + """ + tmpfs: list[Tmpfs] | None = ... + """ + The container path, mount options, and size (in MiB) of the tmpfs mount. + This parameter maps to the `--tmpfs` option to docker run. + """ + max_swap: int | None = ... + """ + The total amount of swap memory (in MiB) a container can use. This + parameter will be translated to the `--memory-swap` option to docker run + where the value would be the sum of the container memory plus the + `maxSwap` value. + + If a `maxSwap` value of `0` is specified, the container will not use + swap. Accepted values are `0` or any positive integer. If the `maxSwap` + parameter is omitted, the container will use the swap configuration for + the container instance it is running on. A `maxSwap` value must be set + for the `swappiness` parameter to be used. + + Note: + If you're using tasks that use the Fargate launch type, the `maxSwap` + parameter isn't supported. + + If you're using tasks on Amazon Linux 2023 the `swappiness` parameter + isn't supported. + """ + swappiness: int | None = ... + """ + This allows you to tune a container's memory swappiness behavior. A + `swappiness` value of `0` will cause swapping to not happen unless + absolutely necessary. A `swappiness` value of `100` will cause pages to + be swapped very aggressively. Accepted values are whole numbers between + `0` and `100`. If the `swappiness` parameter is not specified, a default + value of `60` is used. If a value is not specified for `maxSwap` then + this parameter is ignored. This parameter maps to the + `--memory-swappiness` option to docker run. + + Note: + If you're using tasks that use the Fargate launch type, the + `swappiness` parameter isn't supported. + + If you're using tasks on Amazon Linux 2023 the `swappiness` parameter + isn't supported. + """ + +@dataclass(kw_only=True) +class ListAccountSettingsInput(_SerdeShape): + """Dataclass for ListAccountSettingsInput structure.""" + + name: str | None = ... + """The name of the account setting you want to list the settings for.""" + value: str | None = ... + """ + The value of the account settings to filter results with. You must also + specify an account setting name to use this parameter. + """ + principal_arn: str | None = ... + """ + The ARN of the principal, which can be a user, role, or the root user. + If this field is omitted, the account settings are listed only for the + authenticated user. + + In order to use this parameter, you must be the root user, or the + principal. + + Note: + Federated users assume the account setting of the root user and can't + have explicit account settings set for them. + """ + effective_settings: bool = ... + """ + Determines whether to return the effective settings. If `true`, the + account settings for the root user or the default setting for the + `principalArn` are returned. If `false`, the account settings for the + `principalArn` are returned if they're set. Otherwise, no account + settings are returned. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListAccountSettings` request + indicating that more results are available to fulfill the request and + further calls will be needed. If `maxResults` was provided, it's + possible the number of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + max_results: int = ... + """ + The maximum number of account setting results returned by + `ListAccountSettings` in paginated output. When this parameter is used, + `ListAccountSettings` only returns `maxResults` results in a single page + along with a `nextToken` response element. The remaining results of the + initial request can be seen by sending another `ListAccountSettings` + request with the returned `nextToken` value. This value can be between 1 + and 10. If this parameter isn't used, then `ListAccountSettings` + returns up to 10 results and a `nextToken` value if applicable. + """ + +@dataclass(kw_only=True) +class ListAccountSettingsOutput(_SerdeShape): + """Dataclass for ListAccountSettingsOutput structure.""" + + settings: list[Setting] | None = ... + """The account settings for the resource.""" + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListAccountSettings` + request. When the results of a `ListAccountSettings` request exceed + `maxResults`, this value can be used to retrieve the next page of + results. This value is `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAttributesInput(_SerdeShape): + """Dataclass for ListAttributesInput structure.""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster to list + attributes. If you do not specify a cluster, the default cluster is + assumed. + """ + target_type: str | None = ... + """The type of the target to list attributes with.""" + attribute_name: str | None = ... + """The name of the attribute to filter the results with.""" + attribute_value: str | None = ... + """ + The value of the attribute to filter results with. You must also specify + an attribute name to use this parameter. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListAttributes` request + indicating that more results are available to fulfill the request and + further calls are needed. If `maxResults` was provided, it's possible + the number of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + max_results: int | None = ... + """ + The maximum number of cluster results that `ListAttributes` returned in + paginated output. When this parameter is used, `ListAttributes` only + returns `maxResults` results in a single page along with a `nextToken` + response element. The remaining results of the initial request can be + seen by sending another `ListAttributes` request with the returned + `nextToken` value. This value can be between 1 and 100. If this + parameter isn't used, then `ListAttributes` returns up to 100 results + and a `nextToken` value if applicable. + """ + +@dataclass(kw_only=True) +class ListAttributesOutput(_SerdeShape): + """""" + + attributes: list[Attribute] | None = ... + """A list of attribute objects that meet the criteria of the request.""" + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListAttributes` request. + When the results of a `ListAttributes` request exceed `maxResults`, this + value can be used to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListClustersInput(_SerdeShape): + """""" + + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListClusters` request indicating + that more results are available to fulfill the request and further calls + are needed. If `maxResults` was provided, it's possible the number of + results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + max_results: int | None = ... + """ + The maximum number of cluster results that `ListClusters` returned in + paginated output. When this parameter is used, `ListClusters` only + returns `maxResults` results in a single page along with a `nextToken` + response element. The remaining results of the initial request can be + seen by sending another `ListClusters` request with the returned + `nextToken` value. This value can be between 1 and 100. If this + parameter isn't used, then `ListClusters` returns up to 100 results and + a `nextToken` value if applicable. + """ + +@dataclass(kw_only=True) +class ListClustersOutput(_SerdeShape): + """""" + + cluster_arns: list[str] | None = ... + """ + The list of full Amazon Resource Name (ARN) entries for each cluster + that's associated with your account. + """ + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListClusters` request. + When the results of a `ListClusters` request exceed `maxResults`, this + value can be used to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListContainerInstancesInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the container instances to list. If you do not specify a cluster, + the default cluster is assumed. + """ + filter: str | None = ... + """ + You can filter the results of a `ListContainerInstances` operation with + cluster query language statements. For more information, see [Cluster + Query + Language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListContainerInstances` request + indicating that more results are available to fulfill the request and + further calls are needed. If `maxResults` was provided, it's possible + the number of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + max_results: int | None = ... + """ + The maximum number of container instance results that + `ListContainerInstances` returned in paginated output. When this + parameter is used, `ListContainerInstances` only returns `maxResults` + results in a single page along with a `nextToken` response element. The + remaining results of the initial request can be seen by sending another + `ListContainerInstances` request with the returned `nextToken` value. + This value can be between 1 and 100. If this parameter isn't used, then + `ListContainerInstances` returns up to 100 results and a `nextToken` + value if applicable. + """ + status: str | None = ... + """ + Filters the container instances by status. For example, if you specify + the `DRAINING` status, the results include only container instances that + have been set to `DRAINING` using + [UpdateContainerInstancesState](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateContainerInstancesState.html). + If you don't specify this parameter, the The default is to include + container instances set to all states other than `INACTIVE`. + """ + +@dataclass(kw_only=True) +class ListContainerInstancesOutput(_SerdeShape): + """""" + + container_instance_arns: list[str] | None = ... + """ + The list of container instances with full ARN entries for each container + instance associated with the specified cluster. + """ + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListContainerInstances` + request. When the results of a `ListContainerInstances` request exceed + `maxResults`, this value can be used to retrieve the next page of + results. This value is `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDaemonDeploymentsInput(_SerdeShape): + """Dataclass for ListDaemonDeploymentsInput structure.""" + + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon to list deployments for.""" + status: list[str] | None = ... + """ + An optional filter to narrow the `ListDaemonDeployments` results by + deployment status. If you don't specify a status, all deployments are + returned. + """ + created_at: CreatedAt | None = ... + """ + An optional filter to narrow the `ListDaemonDeployments` results by + creation time. If you don't specify a time range, all deployments are + returned. + """ + max_results: int | None = ... + """ + The maximum number of daemon deployment results that + `ListDaemonDeployments` returned in paginated output. When this + parameter is used, `ListDaemonDeployments` only returns `maxResults` + results in a single page along with a `nextToken` response element. The + remaining results of the initial request can be seen by sending another + `ListDaemonDeployments` request with the returned `nextToken` value. + This value can be between 1 and 100. If this parameter isn't used, then + `ListDaemonDeployments` returns up to 20 results and a `nextToken` value + if applicable. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListDaemonDeployments` request + indicating that more results are available to fulfill the request and + further calls will be needed. If `maxResults` was provided, it's + possible for the number of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + +@dataclass(kw_only=True) +class ListDaemonDeploymentsOutput(_SerdeShape): + """Dataclass for ListDaemonDeploymentsOutput structure.""" + + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListDaemonDeployments` + request. When the results of a `ListDaemonDeployments` request exceed + `maxResults`, this value can be used to retrieve the next page of + results. + """ + daemon_deployments: list[DaemonDeploymentSummary] | None = ... + """The list of daemon deployment summaries.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDaemonsInput(_SerdeShape): + """Dataclass for ListDaemonsInput structure.""" + + cluster_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the cluster to filter daemons by. If + you do not specify a cluster, the default cluster is assumed. + """ + capacity_provider_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the capacity providers to filter + daemons by. Only daemons associated with the specified capacity + providers are returned. + """ + max_results: int | None = ... + """ + The maximum number of daemon results that `ListDaemons` returned in + paginated output. When this parameter is used, `ListDaemons` only + returns `maxResults` results in a single page along with a `nextToken` + response element. The remaining results of the initial request can be + seen by sending another `ListDaemons` request with the returned + `nextToken` value. This value can be between 1 and 100. If this + parameter isn't used, then `ListDaemons` returns up to 100 results and + a `nextToken` value if applicable. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListDaemons` request indicating + that more results are available to fulfill the request and further calls + will be needed. If `maxResults` was provided, it's possible for the + number of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + +@dataclass(kw_only=True) +class ListDaemonsOutput(_SerdeShape): + """Dataclass for ListDaemonsOutput structure.""" + + daemon_summaries_list: list[DaemonSummary] | None = ... + """The list of daemon summaries.""" + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListDaemons` request. When + the results of a `ListDaemons` request exceed `maxResults`, this value + can be used to retrieve the next page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDaemonTaskDefinitionsInput(_SerdeShape): + """Dataclass for ListDaemonTaskDefinitionsInput structure.""" + + family_prefix: str | None = ... + """ + The full family name to filter the `ListDaemonTaskDefinitions` results + with. Specifying a `familyPrefix` limits the listed daemon task + definitions to daemon task definition families that start with the + `familyPrefix` string. + """ + family: str | None = ... + """ + The exact name of the daemon task definition family to filter results + with. + """ + revision: str | None = ... + """ + The revision filter to apply. Specify `LAST_REGISTERED` to return only + the last registered revision for each daemon task definition family. + """ + status: str | None = ... + """ + The daemon task definition status to filter the + `ListDaemonTaskDefinitions` results with. By default, only `ACTIVE` + daemon task definitions are listed. If you set this parameter to + `DELETE_IN_PROGRESS`, only daemon task definitions that are in the + process of being deleted are listed. If you set this parameter to `ALL`, + all daemon task definitions are listed regardless of status. + """ + sort: str | None = ... + """ + The order to sort the results. Valid values are `ASC` and `DESC`. By + default (`ASC`), daemon task definitions are listed in ascending order + by family name and revision number. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListDaemonTaskDefinitions` + request indicating that more results are available to fulfill the + request and further calls will be needed. If `maxResults` was provided, + it's possible for the number of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + max_results: int | None = ... + """ + The maximum number of daemon task definition results that + `ListDaemonTaskDefinitions` returned in paginated output. When this + parameter is used, `ListDaemonTaskDefinitions` only returns `maxResults` + results in a single page along with a `nextToken` response element. The + remaining results of the initial request can be seen by sending another + `ListDaemonTaskDefinitions` request with the returned `nextToken` value. + This value can be between 1 and 100. If this parameter isn't used, then + `ListDaemonTaskDefinitions` returns up to 100 results and a `nextToken` + value if applicable. + """ + +@dataclass(kw_only=True) +class ListDaemonTaskDefinitionsOutput(_SerdeShape): + """Dataclass for ListDaemonTaskDefinitionsOutput structure.""" + + daemon_task_definitions: list[DaemonTaskDefinitionSummary] | None = ... + """The list of daemon task definition summaries.""" + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListDaemonTaskDefinitions` + request. When the results of a `ListDaemonTaskDefinitions` request + exceed `maxResults`, this value can be used to retrieve the next page of + results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGatewayClusterAssociationsInput(_SerdeShape): + """Dataclass for ListGatewayClusterAssociationsInput structure.""" + + gateway: str | None = ... + """ + The name or Amazon Resource Name (ARN) of a gateway to filter the + results by. + """ + cluster: str | None = ... + """ + The name or Amazon Resource Name (ARN) of a cluster to filter the + results by. + """ + status: list[str] | None = ... + """The association status to filter the results by.""" + max_results: int | None = ... + """ + The maximum number of results that the operation returns in a single + page. The default is 100. + """ + next_token: str | None = ... + """The `nextToken` value returned from a previous paginated request.""" + +@dataclass(kw_only=True) +class ListGatewayClusterAssociationsOutput(_SerdeShape): + """Dataclass for ListGatewayClusterAssociationsOutput structure.""" + + gateway_cluster_associations: list[GatewayClusterAssociationSummary] | None = ... + """The gateway-cluster associations that match the request.""" + next_token: str | None = ... + """ + The `nextToken` value to include in a future request to retrieve the + next page of results. This value is `null` when there are no more + results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGatewayRoutesInput(_SerdeShape): + """Dataclass for ListGatewayRoutesInput structure.""" + + gateway: str | None = ... + """ + The name or Amazon Resource Name (ARN) of a gateway to filter the + results by. + """ + cluster: str | None = ... + """ + The name or Amazon Resource Name (ARN) of a cluster to filter the + results by. + """ + service: str | None = ... + """ + The name or Amazon Resource Name (ARN) of a service to filter the + results by. Because services can span clusters, a service name isn't + necessarily unique and can match multiple services. + """ + service_container_port_name: str | None = ... + """The name of a task definition container port to filter the results by.""" + status: list[str] | None = ... + """The gateway route status to filter the results by.""" + max_results: int | None = ... + """ + The maximum number of results that the operation returns in a single + page. The default is 100. + """ + next_token: str | None = ... + """The `nextToken` value returned from a previous paginated request.""" + +@dataclass(kw_only=True) +class ListGatewayRoutesOutput(_SerdeShape): + """Dataclass for ListGatewayRoutesOutput structure.""" + + gateway_routes: list[GatewayRouteSummary] | None = ... + """The gateway routes that match the request.""" + next_token: str | None = ... + """ + The `nextToken` value to include in a future request to retrieve the + next page of results. This value is `null` when there are no more + results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGatewaysInput(_SerdeShape): + """Dataclass for ListGatewaysInput structure.""" + + names: list[str] | None = ... + """ + The gateway names to filter the results by. You can specify up to 10 + names. + """ + status: list[str] | None = ... + """The gateway statuses to filter the results by.""" + max_results: int | None = ... + """ + The maximum number of gateway results that `ListGateways` returns in a + single page. The default is 100. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a previous paginated `ListGateways` + request where `maxResults` was used and the results exceeded the value + of that parameter. Pagination continues from the end of the previous + results. + """ + +@dataclass(kw_only=True) +class ListGatewaysOutput(_SerdeShape): + """Dataclass for ListGatewaysOutput structure.""" + + gateways: list[GatewaySummary] | None = ... + """The list of gateways that match the request.""" + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListGateways` request. + When the results of a `ListGateways` request exceed `maxResults`, this + value can be used to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListServiceDeploymentsInput(_SerdeShape): + """Dataclass for ListServiceDeploymentsInput structure.""" + + service: str | None = ... + """The ARN or name of the service""" + cluster: str | None = ... + """ + The cluster that hosts the service. This can either be the cluster name + or ARN. Starting April 15, 2023, Amazon Web Services will not onboard + new customers to Amazon Elastic Inference (EI), and will help current + customers migrate their workloads to options that offer better price and + performance. If you don't specify a cluster, `default` is used. + """ + status: list[str] | None = ... + """ + An optional filter you can use to narrow the results. If you do not + specify a status, then all status values are included in the result. + """ + created_at: CreatedAt | None = ... + """ + An optional filter you can use to narrow the results by the service + creation date. If you do not specify a value, the result includes all + services created before the current time. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListServiceDeployments` request + indicating that more results are available to fulfill the request and + further calls are needed. If you provided `maxResults`, it's possible + the number of results is fewer than `maxResults`. + """ + max_results: int | None = ... + """ + The maximum number of service deployment results that + `ListServiceDeployments` returned in paginated output. When this + parameter is used, `ListServiceDeployments` only returns `maxResults` + results in a single page along with a `nextToken` response element. The + remaining results of the initial request can be seen by sending another + `ListServiceDeployments` request with the returned `nextToken` value. + This value can be between 1 and 100. If this parameter isn't used, then + `ListServiceDeployments` returns up to 20 results and a `nextToken` + value if applicable. + """ + +@dataclass(kw_only=True) +class ListServiceDeploymentsOutput(_SerdeShape): + """Dataclass for ListServiceDeploymentsOutput structure.""" + + service_deployments: list[ServiceDeploymentBrief] | None = ... + """ + An overview of the service deployment, including the following + properties: + + - The ARN of the service deployment. + + - The ARN of the service being deployed. + + - The ARN of the cluster that hosts the service in the service + deployment. + + - The time that the service deployment started. + + - The time that the service deployment completed. + + - The service deployment status. + + - Information about why the service deployment is in the current state. + + - The ARN of the service revision that is being deployed. + """ + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListServiceDeployments` + request. When the results of a `ListServiceDeployments` request exceed + `maxResults`, this value can be used to retrieve the next page of + results. This value is null when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListServicesByNamespaceInput(_SerdeShape): + """Dataclass for ListServicesByNamespaceInput structure.""" + + namespace: str | None = ... + """ + The namespace name or full Amazon Resource Name (ARN) of the Cloud Map + namespace to list the services in. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + next_token: str | None = ... + """ + The `nextToken` value that's returned from a `ListServicesByNamespace` + request. It indicates that more results are available to fulfill the + request and further calls are needed. If `maxResults` is returned, it is + possible the number of results is less than `maxResults`. + """ + max_results: int | None = ... + """ + The maximum number of service results that `ListServicesByNamespace` + returns in paginated output. When this parameter is used, + `ListServicesByNamespace` only returns `maxResults` results in a single + page along with a `nextToken` response element. The remaining results of + the initial request can be seen by sending another + `ListServicesByNamespace` request with the returned `nextToken` value. + This value can be between 1 and 100. If this parameter isn't used, then + `ListServicesByNamespace` returns up to 10 results and a `nextToken` + value if applicable. + """ + +@dataclass(kw_only=True) +class ListServicesByNamespaceOutput(_SerdeShape): + """Dataclass for ListServicesByNamespaceOutput structure.""" + + service_arns: list[str] | None = ... + """ + The list of full ARN entries for each service that's associated with + the specified namespace. + """ + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListServicesByNamespace` + request. When the results of a `ListServicesByNamespace` request exceed + `maxResults`, this value can be used to retrieve the next page of + results. When there are no more results to return, this value is `null`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListServicesInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster to use + when filtering the `ListServices` results. If you do not specify a + cluster, the default cluster is assumed. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListServices` request indicating + that more results are available to fulfill the request and further calls + will be needed. If `maxResults` was provided, it is possible the number + of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + max_results: int | None = ... + """ + The maximum number of service results that `ListServices` returned in + paginated output. When this parameter is used, `ListServices` only + returns `maxResults` results in a single page along with a `nextToken` + response element. The remaining results of the initial request can be + seen by sending another `ListServices` request with the returned + `nextToken` value. This value can be between 1 and 100. If this + parameter isn't used, then `ListServices` returns up to 10 results and + a `nextToken` value if applicable. + """ + launch_type: str | None = ... + """The launch type to use when filtering the `ListServices` results.""" + scheduling_strategy: str | None = ... + """ + The scheduling strategy to use when filtering the `ListServices` + results. + """ + resource_management_type: str | None = ... + """ + The resourceManagementType type to use when filtering the `ListServices` + results. + """ + +@dataclass(kw_only=True) +class ListServicesOutput(_SerdeShape): + """""" + + service_arns: list[str] | None = ... + """ + The list of full ARN entries for each service that's associated with + the specified cluster. + """ + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListServices` request. + When the results of a `ListServices` request exceed `maxResults`, this + value can be used to retrieve the next page of results. This value is + `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceInput(_SerdeShape): + """Dataclass for ListTagsForResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) that identifies the resource to list the + tags for. Currently, the supported resources are Amazon ECS tasks, + services, task definitions, clusters, and container instances. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceOutput(_SerdeShape): + """Dataclass for ListTagsForResourceOutput structure.""" + + tags: list[Tag] | None = ... + """The tags for the resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTaskDefinitionFamiliesInput(_SerdeShape): + """""" + + family_prefix: str | None = ... + """ + The `familyPrefix` is a string that's used to filter the results of + `ListTaskDefinitionFamilies`. If you specify a `familyPrefix`, only task + definition family names that begin with the `familyPrefix` string are + returned. + """ + status: str | None = ... + """ + The task definition family status to filter the + `ListTaskDefinitionFamilies` results with. By default, both `ACTIVE` and + `INACTIVE` task definition families are listed. If this parameter is set + to `ACTIVE`, only task definition families that have an `ACTIVE` task + definition revision are returned. If this parameter is set to + `INACTIVE`, only task definition families that do not have any `ACTIVE` + task definition revisions are returned. If you paginate the resulting + output, be sure to keep the `status` value constant in each subsequent + request. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListTaskDefinitionFamilies` + request indicating that more results are available to fulfill the + request and further calls will be needed. If `maxResults` was provided, + it is possible the number of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + max_results: int | None = ... + """ + The maximum number of task definition family results that + `ListTaskDefinitionFamilies` returned in paginated output. When this + parameter is used, `ListTaskDefinitions` only returns `maxResults` + results in a single page along with a `nextToken` response element. The + remaining results of the initial request can be seen by sending another + `ListTaskDefinitionFamilies` request with the returned `nextToken` + value. This value can be between 1 and 100. If this parameter isn't + used, then `ListTaskDefinitionFamilies` returns up to 100 results and a + `nextToken` value if applicable. + """ + +@dataclass(kw_only=True) +class ListTaskDefinitionFamiliesOutput(_SerdeShape): + """""" + + families: list[str] | None = ... + """ + The list of task definition family names that match the + `ListTaskDefinitionFamilies` request. + """ + next_token: str | None = ... + """ + The `nextToken` value to include in a future + `ListTaskDefinitionFamilies` request. When the results of a + `ListTaskDefinitionFamilies` request exceed `maxResults`, this value can + be used to retrieve the next page of results. This value is `null` when + there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTaskDefinitionsInput(_SerdeShape): + """""" + + family_prefix: str | None = ... + """ + The full family name to filter the `ListTaskDefinitions` results with. + Specifying a `familyPrefix` limits the listed task definitions to task + definition revisions that belong to that family. + """ + status: str | None = ... + """ + The task definition status to filter the `ListTaskDefinitions` results + with. By default, only `ACTIVE` task definitions are listed. By setting + this parameter to `INACTIVE`, you can view task definitions that are + `INACTIVE` as long as an active task or service still references them. + If you paginate the resulting output, be sure to keep the `status` value + constant in each subsequent request. + """ + sort: str | None = ... + """ + The order to sort the results in. Valid values are `ASC` and `DESC`. By + default, (`ASC`) task definitions are listed lexicographically by family + name and in ascending numerical order by revision so that the newest + task definitions in a family are listed last. Setting this parameter to + `DESC` reverses the sort order on family name and revision. This is so + that the newest task definitions in a family are listed first. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListTaskDefinitions` request + indicating that more results are available to fulfill the request and + further calls will be needed. If `maxResults` was provided, it is + possible the number of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + max_results: int | None = ... + """ + The maximum number of task definition results that `ListTaskDefinitions` + returned in paginated output. When this parameter is used, + `ListTaskDefinitions` only returns `maxResults` results in a single page + along with a `nextToken` response element. The remaining results of the + initial request can be seen by sending another `ListTaskDefinitions` + request with the returned `nextToken` value. This value can be between 1 + and 100. If this parameter isn't used, then `ListTaskDefinitions` + returns up to 100 results and a `nextToken` value if applicable. + """ + +@dataclass(kw_only=True) +class ListTaskDefinitionsOutput(_SerdeShape): + """""" + + task_definition_arns: list[str] | None = ... + """ + The list of task definition Amazon Resource Name (ARN) entries for the + `ListTaskDefinitions` request. + """ + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListTaskDefinitions` + request. When the results of a `ListTaskDefinitions` request exceed + `maxResults`, this value can be used to retrieve the next page of + results. This value is `null` when there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTasksInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster to use + when filtering the `ListTasks` results. If you do not specify a cluster, + the default cluster is assumed. + """ + container_instance: str | None = ... + """ + The container instance ID or full ARN of the container instance to use + when filtering the `ListTasks` results. Specifying a `containerInstance` + limits the results to tasks that belong to that container instance. + """ + family: str | None = ... + """ + The name of the task definition family to use when filtering the + `ListTasks` results. Specifying a `family` limits the results to tasks + that belong to that family. + """ + next_token: str | None = ... + """ + The `nextToken` value returned from a `ListTasks` request indicating + that more results are available to fulfill the request and further calls + will be needed. If `maxResults` was provided, it's possible the number + of results to be fewer than `maxResults`. + + Note: + This token should be treated as an opaque identifier that is only used + to retrieve the next items in a list and not for other programmatic + purposes. + """ + max_results: int | None = ... + """ + The maximum number of task results that `ListTasks` returned in + paginated output. When this parameter is used, `ListTasks` only returns + `maxResults` results in a single page along with a `nextToken` response + element. The remaining results of the initial request can be seen by + sending another `ListTasks` request with the returned `nextToken` value. + This value can be between 1 and 100. If this parameter isn't used, then + `ListTasks` returns up to 100 results and a `nextToken` value if + applicable. + """ + started_by: str | None = ... + """ + The `startedBy` value to filter the task results with. Specifying a + `startedBy` value limits the results to tasks that were started with + that value. + + When you specify `startedBy` as the filter, it must be the only filter + that you use. + """ + service_name: str | None = ... + """ + The name of the service to use when filtering the `ListTasks` results. + Specifying a `serviceName` limits the results to tasks that belong to + that service. + """ + desired_status: str | None = ... + """ + The task desired status to use when filtering the `ListTasks` results. + Specifying a `desiredStatus` of `STOPPED` limits the results to tasks + that Amazon ECS has set the desired status to `STOPPED`. This can be + useful for debugging tasks that aren't starting properly or have died + or finished. The default status filter is `RUNNING`, which shows tasks + that Amazon ECS has set the desired status to `RUNNING`. + + Note: + Although you can filter results based on a desired status of `PENDING`, + this doesn't return any results. Amazon ECS never sets the desired + status of a task to that value (only a task's `lastStatus` may have a + value of `PENDING`). + """ + launch_type: str | None = ... + """The launch type to use when filtering the `ListTasks` results.""" + daemon_name: str | None = ... + """ + The name of the daemon to use when filtering the `ListTasks` results. + Specifying a `daemonName` limits the results to tasks that belong to + that daemon. + """ + +@dataclass(kw_only=True) +class ListTasksOutput(_SerdeShape): + """""" + + task_arns: list[str] | None = ... + """The list of task ARN entries for the `ListTasks` request.""" + next_token: str | None = ... + """ + The `nextToken` value to include in a future `ListTasks` request. When + the results of a `ListTasks` request exceed `maxResults`, this value can + be used to retrieve the next page of results. This value is `null` when + there are no more results to return. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LoadBalancer(_SerdeShape): + """ + The load balancer configuration to use with a service or task set. + + When you add, update, or remove a load balancer configuration, Amazon + ECS starts a new deployment with the updated Elastic Load Balancing + configuration. This causes tasks to register to and deregister from load + balancers. + + We recommend that you verify this on a test environment before you + update the Elastic Load Balancing configuration. + + A service-linked role is required for services that use multiple target + groups. For more information, see [Using service-linked + roles](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + target_group_arn: str | None = ... + """ + The full Amazon Resource Name (ARN) of the Elastic Load Balancing target + group or groups associated with a service or task set. + + A target group ARN is only specified when using an Application Load + Balancer or Network Load Balancer. + + For services using the `ECS` deployment controller, you can specify one + or multiple target groups. For more information, see [Registering + multiple target groups with a + service](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html) + in the *Amazon Elastic Container Service Developer Guide*. + + For services using the `CODE_DEPLOY` deployment controller, you're + required to define two target groups for the load balancer. For more + information, see [Blue/green deployment with + CodeDeploy](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Warning: + If your service's task definition uses the `awsvpc` network mode, you + must choose `ip` as the target type, not `instance`. Do this when + creating your target groups because tasks that use the `awsvpc` network + mode are associated with an elastic network interface, not an Amazon EC2 + instance. This network mode is required for the Fargate launch type. + """ + load_balancer_name: str | None = ... + """ + The name of the load balancer to associate with the Amazon ECS service + or task set. + + If you are using an Application Load Balancer or a Network Load Balancer + the load balancer name parameter should be omitted. + """ + container_name: str | None = ... + """ + The name of the container (as it appears in a container definition) to + associate with the load balancer. + + You need to specify the container name when configuring the target group + for an Amazon ECS load balancer. + """ + container_port: int | None = ... + """ + The port on the container to associate with the load balancer. This port + must correspond to a `containerPort` in the task definition the tasks in + the service are using. For tasks that use the EC2 launch type, the + container instance they're launched on must allow ingress traffic on + the `hostPort` of the port mapping. + """ + advanced_configuration: AdvancedConfiguration | None = ... + """ + The advanced settings for the load balancer used in blue/green + deployments. Specify the alternate target group, listener rules, and IAM + role required for traffic shifting during blue/green deployments. + """ + +class LocalStorage(UnknownEnumMixin, StrEnum): + INCLUDED = "included" + REQUIRED = "required" + EXCLUDED = "excluded" + +class LocalStorageType(UnknownEnumMixin, StrEnum): + HDD = "hdd" + SSD = "ssd" + +@dataclass(kw_only=True) +class LogConfiguration(_SerdeShape): + """ + The log configuration for the container. This parameter maps to + `LogConfig` in the docker container create command and the + `--log-driver` option to docker run. + + By default, containers use the same logging driver that the Docker + daemon uses. However, the container might use a different logging driver + than the Docker daemon by specifying a log driver configuration in the + container definition. + + Understand the following when specifying a log configuration for your + containers. + + - Amazon ECS currently supports a subset of the logging drivers + available to the Docker daemon. Additional log drivers may be + available in future releases of the Amazon ECS container agent. + + For tasks on Fargate, the supported log drivers are `awslogs`, + `splunk`, and `awsfirelens`. + + For tasks hosted on Amazon EC2 instances, the supported log drivers + are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`,`syslog`, + `splunk`, and `awsfirelens`. + + For tasks on Amazon ECS Managed Instances, the supported log drivers + are `awslogs`, `splunk`, `awsfirelens`, and `json-file`. + + - This parameter requires version 1.18 of the Docker Remote API or + greater on your container instance. + + - For tasks that are hosted on Amazon EC2 instances, the Amazon ECS + container agent must register the available logging drivers with the + `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers + placed on that instance can use these log configuration options. For + more information, see [Amazon ECS container agent + configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) + in the *Amazon Elastic Container Service Developer Guide*. + + - For tasks that are on Fargate, because you don't have access to the + underlying infrastructure your tasks are hosted on, any additional + software needed must be installed outside of the task. For example, + the Fluentd output aggregators or a remote host running Logstash to + send Gelf logs to. + """ + + log_driver: str + """ + The log driver to use for the container. + + For tasks on Fargate, the supported log drivers are `awslogs`, `splunk`, + and `awsfirelens`. + + For tasks hosted on Amazon EC2 instances, the supported log drivers are + `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`, `syslog`, + `splunk`, and `awsfirelens`. + + For tasks on Amazon ECS Managed Instances, the supported log drivers are + `awslogs`, `splunk`, `awsfirelens`, and `json-file`. + + For more information about using the `awslogs` log driver, see [Send + Amazon ECS logs to + CloudWatch](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html) + in the *Amazon Elastic Container Service Developer Guide*. + + For more information about using the `awsfirelens` log driver, see [Send + Amazon ECS logs to an Amazon Web Services service or Amazon Web Services + Partner](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html). + + Note: + If you have a custom driver that isn't listed, you can fork the Amazon + ECS container agent project that's [available on + GitHub](https://github.com/aws/amazon-ecs-agent) and customize it to + work with that driver. We encourage you to submit pull requests for + changes that you would like to have included. However, we don't + currently provide support for running modified copies of this software. + """ + options: dict[str, str] | None = ... + """ + The configuration options to send to the log driver. + + The options you can specify depend on the log driver. Some of the + options you can specify when you use the `awslogs` log driver to route + logs to Amazon CloudWatch include the following: + + awslogs-create-group + + : Required: No + + Specify whether you want the log group to be created automatically. If + this option isn't specified, it defaults to `false`. + + Note: + Your IAM policy must include the `logs:CreateLogGroup` permission + before you attempt to use `awslogs-create-group`. + + awslogs-region + + : Required: Yes + + Specify the Amazon Web Services Region that the `awslogs` log driver + is to send your Docker logs to. You can choose to send all of your + logs from clusters in different Regions to a single region in + CloudWatch Logs. This is so that they're all visible in one location. + Otherwise, you can separate them by Region for more granularity. Make + sure that the specified log group exists in the Region that you + specify with this option. + + awslogs-group + + : Required: Yes + + Make sure to specify a log group that the `awslogs` log driver sends + its log streams to. + + awslogs-stream-prefix + + : Required: Yes, when using Fargate.Optional when using EC2. + + Use the `awslogs-stream-prefix` option to associate a log stream with + the specified prefix, the container name, and the ID of the Amazon ECS + task that the container belongs to. If you specify a prefix with this + option, then the log stream takes the format + `prefix-name/container-name/ecs-task-id`. + + If you don't specify a prefix with this option, then the log stream + is named after the container ID that's assigned by the Docker daemon + on the container instance. Because it's difficult to trace logs back + to the container that sent them with just the Docker container ID + (which is only available on the container instance), we recommend that + you specify a prefix with this option. + + For Amazon ECS services, you can use the service name as the prefix. + Doing so, you can trace log streams to the service that the container + belongs to, the name of the container that sent them, and the ID of + the task that the container belongs to. + + You must specify a stream-prefix for your logs to have your logs + appear in the Log pane when using the Amazon ECS console. + + awslogs-datetime-format + + : Required: No + + This option defines a multiline start pattern in Python `strftime` + format. A log message consists of a line that matches the pattern and + any following lines that don't match the pattern. The matched line is + the delimiter between log messages. + + One example of a use case for using this format is for parsing output + such as a stack dump, which might otherwise be logged in multiple + entries. The correct pattern allows it to be captured in a single + entry. + + For more information, see + [awslogs-datetime-format](https://docs.docker.com/config/containers/logging/awslogs/#awslogs-datetime-format). + + You cannot configure both the `awslogs-datetime-format` and + `awslogs-multiline-pattern` options. + + Note: + Multiline logging performs regular expression parsing and matching of + all log messages. This might have a negative impact on logging + performance. + + awslogs-multiline-pattern + + : Required: No + + This option defines a multiline start pattern that uses a regular + expression. A log message consists of a line that matches the pattern + and any following lines that don't match the pattern. The matched line + is the delimiter between log messages. + + For more information, see + [awslogs-multiline-pattern](https://docs.docker.com/config/containers/logging/awslogs/#awslogs-multiline-pattern). + + This option is ignored if `awslogs-datetime-format` is also + configured. + + You cannot configure both the `awslogs-datetime-format` and + `awslogs-multiline-pattern` options. + + Note: + Multiline logging performs regular expression parsing and matching of + all log messages. This might have a negative impact on logging + performance. + + The following options apply to all supported log drivers. + + mode + + : Required: No + + Valid values: `non-blocking` | `blocking` + + This option defines the delivery mode of log messages from the + container to the log driver specified using `logDriver`. The delivery + mode you choose affects application availability when the flow of logs + from container is interrupted. + + If you use the `blocking` mode and the flow of logs is interrupted, + calls from container code to write to the `stdout` and `stderr` + streams will block. The logging thread of the application will block + as a result. This may cause the application to become unresponsive and + lead to container healthcheck failure. + + If you use the `non-blocking` mode, the container's logs are instead + stored in an in-memory intermediate buffer configured with the + `max-buffer-size` option. This prevents the application from becoming + unresponsive when logs cannot be sent. We recommend using this mode if + you want to ensure service availability and are okay with some log + loss. For more information, see [Preventing log loss with non-blocking + mode in the `awslogs` container log + driver](http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/). + + You can set a default `mode` for all containers in a specific Amazon + Web Services Region by using the `defaultLogDriverMode` account + setting. If you don't specify the `mode` option or configure the + account setting, Amazon ECS will default to the `non-blocking` mode. + For more information about the account setting, see [Default log + driver + mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#default-log-driver-mode) + in the *Amazon Elastic Container Service Developer Guide*. + + Note: + On June 25, 2025, Amazon ECS changed the default log driver mode from + `blocking` to `non-blocking` to prioritize task availability over + logging. To continue using the `blocking` mode after this change, do + one of the following: + + - Set the `mode` option in your container definition's + `logConfiguration` as `blocking`. + + - Set the `defaultLogDriverMode` account setting to `blocking`. + + max-buffer-size + + : Required: No + + Default value: `10m` + + When `non-blocking` mode is used, the `max-buffer-size` log option + controls the size of the buffer that's used for intermediate message + storage. Make sure to specify an adequate buffer size based on your + application. When the buffer fills up, further logs cannot be stored. + Logs that cannot be stored are lost. + + To route logs using the `splunk` log router, you need to specify a + `splunk-token` and a `splunk-url`. + + When you use the `awsfirelens` log router to route logs to an Amazon Web + Services Service or Amazon Web Services Partner Network destination for + log storage and analytics, you can set the `log-driver-buffer-limit` + option to limit the number of events that are buffered in memory, before + being sent to the log router container. It can help to resolve potential + log loss issue because high throughput might result in memory running + out for the buffer inside of Docker. + + Other options you can specify when using `awsfirelens` to route logs + depend on the destination. When you export logs to Amazon Data Firehose, + you can specify the Amazon Web Services Region with `region` and a name + for the log stream with `delivery_stream`. + + When you export logs to Amazon Kinesis Data Streams, you can specify an + Amazon Web Services Region with `region` and a data stream name with + `stream`. + + When you export logs to Amazon OpenSearch Service, you can specify + options like `Name`, `Host` (OpenSearch Service endpoint without + protocol), `Port`, `Index`, `Type`, `Aws_auth`, `Aws_region`, + `Suppress_Type_Name`, and `tls`. For more information, see [Under the + hood: FireLens for Amazon ECS + Tasks](http://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/). + + When you export logs to Amazon S3, you can specify the bucket using the + `bucket` option. You can also specify `region`, `total_file_size`, + `upload_timeout`, and `use_put_object` as options. + + This parameter requires version 1.19 of the Docker Remote API or greater + on your container instance. To check the Docker Remote API version on + your container instance, log in to your container instance and run the + following command: + `sudo docker version --format '{{.Server.APIVersion}}'` + """ + secret_options: list[Secret] | None = ... + """ + The secrets to pass to the log configuration. For more information, see + [Specifying sensitive + data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + +class LogDriver(UnknownEnumMixin, StrEnum): + JSON_FILE = "json-file" + SYSLOG = "syslog" + JOURNALD = "journald" + GELF = "gelf" + FLUENTD = "fluentd" + AWSLOGS = "awslogs" + SPLUNK = "splunk" + AWSFIRELENS = "awsfirelens" + +@dataclass(kw_only=True) +class LogDriverVolumeConfiguration(_SerdeShape): + """ + The configuration for a log driver volume in a daemon task definition. + The volume contains the log files for each container on the container + instance that uses the specified log driver in its `logConfiguration`. + Containers that use a different log driver don't write log files to the + volume. + + For the `json-file` log driver, the volume has one directory for each + container, named with the container ID. Each directory contains the + container's log file, `-json.log`, and any rotated log + files. After a container stops and Amazon ECS removes it, Amazon ECS + deletes the container's directory. Read the log files before the + container is removed. + """ + + driver: str + """ + The log driver whose log files the volume contains. The only supported + value is `json-file`. + """ + +@dataclass(kw_only=True) +class ManagedAgent(_SerdeShape): + """Details about the managed agent status for the container.""" + + last_started_at: datetime | None = ... + """The Unix timestamp for the time when the managed agent was last started.""" + name: str | None = ... + """ + The name of the managed agent. When the execute command feature is + turned on, the managed agent name is `ExecuteCommandAgent`. + """ + reason: str | None = ... + """The reason for why the managed agent is in the state it is in.""" + last_status: str | None = ... + """The last known status of the managed agent.""" + +class ManagedAgentName(UnknownEnumMixin, StrEnum): + EXECUTE_COMMAND_AGENT = "ExecuteCommandAgent" + +@dataclass(kw_only=True) +class ManagedAgentStateChange(_SerdeShape): + """An object representing a change in state for a managed agent.""" + + container_name: str + """The name of the container that's associated with the managed agent.""" + managed_agent_name: str + """The name of the managed agent.""" + status: str + """The status of the managed agent.""" + reason: str | None = ... + """The reason for the status of the managed agent.""" + +@dataclass(kw_only=True) +class ManagedApplicationAutoScalingPolicy(_SerdeShape): + """ + The Application Auto Scaling policy created by Amazon ECS when you + create an Express service. + """ + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Application Auto Scaling policy + associated with the Express service. + """ + status: str + """The status of Application Auto Scaling policy creation.""" + status_reason: str | None = ... + """ + Information about why the Application Auto Scaling policy is in the + current status. + """ + updated_at: datetime + """ + The Unix timestamp for when the Application Auto Scaling policy was last + updated. + """ + policy_type: str + """ + The type of Application Auto Scaling policy associated with the Express + service. Valid values are `TargetTrackingScaling`, `StepScaling`, and + `PredictiveScaling`. + """ + target_value: float = ... + """The target value for the auto scaling metric.""" + metric: str + """ + The metric used for auto scaling decisions. The available metrics are + `ECSServiceAverageCPUUtilization`, `ECSServiceAverageMemoryUtilization`, + and `ALBRequestCOuntPerTarget`. + """ + +@dataclass(kw_only=True) +class ManagedAutoScaling(_SerdeShape): + """ + The auto scaling configuration created by Amazon ECS for an Express + service. + """ + + scalable_target: ManagedScalableTarget | None = ... + """Represents a scalable target.""" + application_auto_scaling_policies: ( + list[ManagedApplicationAutoScalingPolicy] | None + ) = ... + """The policy used for auto scaling.""" + +@dataclass(kw_only=True) +class ManagedCertificate(_SerdeShape): + """ + The ACM certificate associated with the HTTPS domain created for the + Express service. + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the ACM certificate.""" + status: str + """The status of the ACM; certificate.""" + status_reason: str | None = ... + """Information about why the ACM certificate is in the current status.""" + updated_at: datetime + """The Unix timestamp for when the ACM certificate was last updated""" + domain_name: str + """ + The fully qualified domain name (FQDN) that is secured with this ACM + certificate. + """ + +class ManagedDraining(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class ManagedIngressPath(_SerdeShape): + """The entry point into the Express service.""" + + access_type: str + """The type of access to the endpoint for the Express service.""" + endpoint: str + """The endpoint for access to the Express service.""" + load_balancer: ManagedLoadBalancer | None = ... + """The Application Load Balancer associated with the Express service.""" + load_balancer_security_groups: list[ManagedSecurityGroup] | None = ... + """The security groups associated with the Application Load Balancer.""" + certificate: ManagedCertificate | None = ... + """The ACM certificate for the Express service's domain.""" + listener: ManagedListener | None = ... + """The listeners associated with the Application Load Balancer.""" + rule: ManagedListenerRule | None = ... + """The listener rules for the Application Load Balancer.""" + target_groups: list[ManagedTargetGroup] | None = ... + """The target groups associated with the Application Load Balancer.""" + +@dataclass(kw_only=True) +class ManagedInstancesLocalStorageConfiguration(_SerdeShape): + """ + The local storage configuration for Amazon ECS Managed Instances. This + defines how ECS uses and configures instance store volumes available on + container instance. + """ + + use_local_storage: bool = ... + """ + Use instance store volumes for data storage when available. EBS volumes + are not provisioned for data storage. If the container instance has + multiple instance store volumes, a single data volume is created. + Consider defining instance store requirements using the `localStorage`, + `localStorageTypes` and `totalLocalStorageGB` properties. + """ + +class ManagedInstancesMonitoringOptions(UnknownEnumMixin, StrEnum): + BASIC = "BASIC" + DETAILED = "DETAILED" + +@dataclass(kw_only=True) +class ManagedInstancesNetworkConfiguration(_SerdeShape): + """ + The network configuration for Amazon ECS Managed Instances. This + specifies the VPC subnets and security groups that instances use for + network connectivity. Amazon ECS Managed Instances support multiple + network modes including `awsvpc` (instances receive ENIs for task + isolation), `host` (instances share network namespace with tasks), and + `none` (no external network connectivity), ensuring backward + compatibility for migrating workloads from Fargate or Amazon EC2. + """ + + subnets: list[str] | None = ... + """ + The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed + Instances. Instances are distributed across the specified subnets for + high availability. All subnets must be in the same VPC. + """ + security_groups: list[str] | None = ... + """ + The list of security group IDs to apply to Amazon ECS Managed Instances. + These security groups control the network traffic allowed to and from + the instances. + """ + +@dataclass(kw_only=True) +class ManagedInstancesProvider(_SerdeShape): + """ + The configuration for a Amazon ECS Managed Instances provider. Amazon + ECS uses this configuration to automatically launch, manage, and + terminate Amazon EC2 instances on your behalf. Managed instances provide + access to the full range of Amazon EC2 instance types and features while + offloading infrastructure management to Amazon Web Services. + """ + + infrastructure_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the infrastructure role that Amazon + ECS assumes to manage instances. This role must include permissions for + Amazon EC2 instance lifecycle management, networking, and any additional + Amazon Web Services services required for your workloads. + + For more information, see [Amazon ECS infrastructure IAM + role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) + in the *Amazon ECS Developer Guide*. + """ + instance_launch_template: InstanceLaunchTemplate | None = ... + """ + The launch template that defines how Amazon ECS launches Amazon ECS + Managed Instances. This includes the instance profile for your tasks, + network and storage configuration, and instance requirements that + determine which Amazon EC2 instance types can be used. + + For more information, see [Store instance launch parameters in Amazon + EC2 launch + templates](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) + in the *Amazon EC2 User Guide*. + """ + propagate_tags: str | None = ... + """ + Determines whether tags from the capacity provider are automatically + applied to Amazon ECS Managed Instances. This helps with cost allocation + and resource management by ensuring consistent tagging across your + infrastructure. + """ + infrastructure_optimization: InfrastructureOptimization | None = ... + """ + Defines how Amazon ECS Managed Instances optimizes the infrastastructure + in your capacity provider. Configure it to turn on or off the + infrastructure optimization in your capacity provider, and to control + the idle or underutilized EC2 instances optimization delay. + """ + auto_repair_configuration: AutoRepairConfiguration | None = ... + """ + The auto repair configuration for the Amazon ECS Managed Instances + capacity provider. Indicates whether Amazon ECS automatically replaces + container instances that are detected as unhealthy. + """ + +@dataclass(kw_only=True) +class ManagedInstancesStorageConfiguration(_SerdeShape): + """ + The storage configuration for Amazon ECS Managed Instances. This defines + the data volume configuration for the instances. + """ + + storage_size_gi_b: int | None = ... + """The size of the data volume.""" + +@dataclass(kw_only=True) +class ManagedListener(_SerdeShape): + """ + The listeners associated with the Express service's Application Load + Balancer. + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the load balancer listener.""" + status: str + """The status of the load balancer listener.""" + status_reason: str | None = ... + """ + Informaion about why the load balancer listener is in the current + status. + """ + updated_at: datetime + """The Unix timestamp for when this listener was most recently updated.""" + +@dataclass(kw_only=True) +class ManagedListenerRule(_SerdeShape): + """ + The listener rule associated with the Express service's Application + Load Balancer. + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the load balancer listener rule.""" + status: str + """The status of the load balancer listener rule.""" + status_reason: str | None = ... + """ + Information about why the load balancer listener rule is in the current + status. + """ + updated_at: datetime + """ + The Unix timestamp for when this listener rule was most recently + updated. + """ + +@dataclass(kw_only=True) +class ManagedLoadBalancer(_SerdeShape): + """The Application Load Balancer associated with the Express service.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the load balancer.""" + status: str + """The status of the load balancer.""" + status_reason: str | None = ... + """Information about why the load balancer is in the current status.""" + updated_at: datetime + """ + The Unix timestamp for when this load balancer was most recently + updated. + """ + scheme: str + """ + The scheme of the load balancer. By default, the scheme of the load + balancer is `internet-facing`. + """ + subnet_ids: list[str] | None = ... + """The IDs of the subnets associated with the load balancer.""" + security_group_ids: list[str] | None = ... + """The IDs of the security groups associated with the load balancer.""" + +@dataclass(kw_only=True) +class ManagedLogGroup(_SerdeShape): + """The Cloudwatch Log Group created by Amazon ECS for an Express service.""" + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Cloudwatch Log Group associated + with the Express service. + """ + status: str + """The status of the Cloudwatch LogGroup.""" + status_reason: str | None = ... + """Information about why the Cloudwatch LogGroup is in the current status.""" + updated_at: datetime + """The Unix timestamp for when the Cloudwatch LogGroup was last updated""" + log_group_name: str + """ + The name of the Cloudwatch Log Group associated with the Express + service. + """ + +@dataclass(kw_only=True) +class ManagedMetricAlarm(_SerdeShape): + """ + The CloudWatch metric alarm associated with the Express service's + scaling policy. + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the CloudWatch metric alarm.""" + status: str + """The status of the CloudWatch metric alarm.""" + status_reason: str | None = ... + """ + Information about why the CloudWatch metric alarm is in the current + status. + """ + updated_at: datetime + """ + The Unix timestamp for when the CloudWatch metric alarm was last + updated. + """ + +class ManagedResourceStatus(UnknownEnumMixin, StrEnum): + PROVISIONING = "PROVISIONING" + ACTIVE = "ACTIVE" + DEPROVISIONING = "DEPROVISIONING" + DELETED = "DELETED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class ManagedScalableTarget(_SerdeShape): + """Represents a scalable target.""" + + arn: str | None = ... + """The ARN of the scalable target.""" + status: str + """The status of the scalable target.""" + status_reason: str | None = ... + """Information about why the scalable target is in the current status.""" + updated_at: datetime + """The Unix timestamp for when the target was most recently updated.""" + min_capacity: int = ... + """The minimum value to scale to in response to a scale-in activity.""" + max_capacity: int = ... + """The maximum value to scale to in response to a scale-out activity.""" + +@dataclass(kw_only=True) +class ManagedScaling(_SerdeShape): + """ + The managed scaling settings for the Auto Scaling group capacity + provider. + + When managed scaling is turned on, Amazon ECS manages the scale-in and + scale-out actions of the Auto Scaling group. Amazon ECS manages a target + tracking scaling policy using an Amazon ECS managed CloudWatch metric + with the specified `targetCapacity` value as the target value for the + metric. For more information, see [Using managed + scaling](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling) + in the *Amazon Elastic Container Service Developer Guide*. + + If managed scaling is off, the user must manage the scaling of the Auto + Scaling group. + """ + + status: str | None = ... + """Determines whether to use managed scaling for the capacity provider.""" + target_capacity: int | None = ... + """ + The target capacity utilization as a percentage for the capacity + provider. The specified value must be greater than `0` and less than or + equal to `100`. For example, if you want the capacity provider to + maintain 10% spare capacity, then that means the utilization is 90%, so + use a `targetCapacity` of `90`. The default value of `100` percent + results in the Amazon EC2 instances in your Auto Scaling group being + completely used. + """ + minimum_scaling_step_size: int | None = ... + """ + The minimum number of Amazon EC2 instances that Amazon ECS will scale + out at one time. The scale in process is not affected by this parameter + If this parameter is omitted, the default value of `1` is used. + + When additional capacity is required, Amazon ECS will scale up the + minimum scaling step size even if the actual demand is less than the + minimum scaling step size. + """ + maximum_scaling_step_size: int | None = ... + """ + The maximum number of Amazon EC2 instances that Amazon ECS will scale + out at one time. If this parameter is omitted, the default value of + `10000` is used. + """ + instance_warmup_period: int | None = ... + """ + The period of time, in seconds, after a newly launched Amazon EC2 + instance can contribute to CloudWatch metrics for Auto Scaling group. If + this parameter is omitted, the default value of `300` seconds is used. + """ + +class ManagedScalingStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class ManagedSecurityGroup(_SerdeShape): + """A security group associated with the Express service.""" + + arn: str | None = ... + """The ARN of the security group.""" + status: str + """The status of the security group.""" + status_reason: str | None = ... + """Information about why the security group is in the current status.""" + updated_at: datetime + """The Unix timestamp for when the security group was last updated.""" + +@dataclass(kw_only=True) +class ManagedStorageConfiguration(_SerdeShape): + """The managed storage configuration for the cluster.""" + + kms_key_id: str | None = ... + """ + Specify a Key Management Service key ID to encrypt Amazon ECS managed + storage. + + When you specify a `kmsKeyId`, Amazon ECS uses the key to encrypt data + volumes managed by Amazon ECS that are attached to tasks in the cluster. + The following data volumes are managed by Amazon ECS: Amazon EBS. For + more information about encryption of Amazon EBS volumes attached to + Amazon ECS tasks, see [Encrypt data stored in Amazon EBS volumes for + Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html) + in the *Amazon Elastic Container Service Developer Guide*. + + The key must be a single Region key. + """ + fargate_ephemeral_storage_kms_key_id: str | None = ... + """ + Specify the Key Management Service key ID for Fargate ephemeral storage. + + When you specify a `fargateEphemeralStorageKmsKeyId`, Amazon Web + Services Fargate uses the key to encrypt data at rest in ephemeral + storage. For more information about Fargate ephemeral storage + encryption, see [Customer managed keys for Amazon Web Services Fargate + ephemeral storage for Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-storage-encryption.html) + in the *Amazon Elastic Container Service Developer Guide*. + + The key must be a single Region key. + """ + +@dataclass(kw_only=True) +class ManagedTargetGroup(_SerdeShape): + """ + The target group associated with the Express service's Application Load + Balancer. For more information about load balancer target groups, see + [CreateTargetGroup](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html) + in the *Elastic Load Balancing API Reference* + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the target group.""" + status: str + """The status of the target group.""" + status_reason: str | None = ... + """Information about why the target group is in the current status.""" + updated_at: datetime + """The Unix timestamp for when the target group was last updated.""" + health_check_path: str + """The destination for health checks on the targets.""" + health_check_port: int = ... + """ + The port the load balancer uses when performing health checks on + targets. + """ + port: int = ... + """The port on which the targets receive traffic.""" + +class ManagedTerminationProtection(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class MemoryGiBPerVCpuRequest(_SerdeShape): + """ + The minimum and maximum amount of memory per vCPU in gibibytes (GiB). + This helps ensure that instance types have the appropriate memory-to-CPU + ratio for your workloads. + """ + + min: float | None = ... + """ + The minimum amount of memory per vCPU in GiB. Instance types with a + lower memory-to-vCPU ratio are excluded from selection. + """ + max: float | None = ... + """ + The maximum amount of memory per vCPU in GiB. Instance types with a + higher memory-to-vCPU ratio are excluded from selection. + """ + +@dataclass(kw_only=True) +class MemoryMiBRequest(_SerdeShape): + """ + The minimum and maximum amount of memory in mebibytes (MiB) for instance + type selection. This ensures that selected instance types have adequate + memory for your workloads. + """ + + min: int + """ + The minimum amount of memory in MiB. Instance types with less memory + than this value are excluded from selection. + """ + max: int | None = ... + """ + The maximum amount of memory in MiB. Instance types with more memory + than this value are excluded from selection. + """ + +@dataclass(kw_only=True) +class MetricConfiguration(_SerdeShape): + """ + The configuration for a specific set of metrics to collect for a + service. + """ + + metric_names: list[str] + """ + The list of metric names to configure. The supported metric names are + `CPUUtilization` and `MemoryUtilization`. + """ + resolution_seconds: int + """ + The resolution, in seconds, at which to collect the metrics. The valid + values are `20` and `60`. + """ + +@dataclass(kw_only=True) +class MissingVersionException(ServiceError, _SerdeShape): + """ + Amazon ECS can't determine the current version of the Amazon ECS + container agent on the container instance and doesn't have enough + information to proceed with an update. This could be because the agent + running on the container instance is a previous or custom version that + doesn't use our version information. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class MonitoringConfiguration(_SerdeShape): + """ + The optional monitoring configuration for a service, which defines the + resolution for the service-level `CPUUtilization` and + `MemoryUtilization` Amazon CloudWatch metrics. When not specified, + Amazon ECS uses the default resolution of `60` seconds. + """ + + metric_configurations: list[MetricConfiguration] | None = ... + """The list of metric configurations for the service monitoring.""" + +@dataclass(kw_only=True) +class MountPoint(_SerdeShape): + """ + The details for a volume mount point that's used in a container + definition. + """ + + source_volume: str | None = ... + """ + The name of the volume to mount. Must be a volume name referenced in the + `name` parameter of task definition `volume`. + """ + container_path: str | None = ... + """The path on the container to mount the host volume at.""" + read_only: bool | None = ... + """ + If this value is `true`, the container has read-only access to the + volume. If this value is `false`, then the container can write to the + volume. The default value is `false`. + """ + +@dataclass(kw_only=True) +class NamespaceNotFoundException(ServiceError, _SerdeShape): + """The specified namespace wasn't found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NetworkBandwidthGbpsRequest(_SerdeShape): + """ + The minimum and maximum network bandwidth in gigabits per second (Gbps) + for instance type selection. This is important for network-intensive + workloads. + """ + + min: float | None = ... + """ + The minimum network bandwidth in Gbps. Instance types with lower network + bandwidth are excluded from selection. + """ + max: float | None = ... + """ + The maximum network bandwidth in Gbps. Instance types with higher + network bandwidth are excluded from selection. + """ + +@dataclass(kw_only=True) +class NetworkBinding(_SerdeShape): + """ + Details on the network bindings between a container and its host + container instance. After a task reaches the `RUNNING` status, manual + and automatic host and container port assignments are visible in the + `networkBindings` section of + [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) + API responses. + """ + + bind_ip: str | None = ... + """The IP address that the container is bound to on the container instance.""" + container_port: int | None = ... + """The port number on the container that's used with the network binding.""" + host_port: int | None = ... + """The port number on the host that's used with the network binding.""" + protocol: str | None = ... + """The protocol used for the network binding.""" + container_port_range: str | None = ... + """ + The port number range on the container that's bound to the dynamically + mapped host port range. + + The following rules apply when you specify a `containerPortRange`: + + - You must use either the `bridge` network mode or the `awsvpc` network + mode. + + - This parameter is available for both the EC2 and Fargate launch types. + + - This parameter is available for both the Linux and Windows operating + systems. + + - The container instance must have at least version 1.67.0 of the + container agent and at least version 1.67.0-1 of the `ecs-init` + package + + - You can specify a maximum of 100 port ranges per container. + + - You do not specify a `hostPortRange`. The value of the `hostPortRange` + is set as follows: + + - For containers in a task with the `awsvpc` network mode, the + `hostPortRange` is set to the same value as the + `containerPortRange`. This is a static mapping strategy. + + - For containers in a task with the `bridge` network mode, the Amazon + ECS agent finds open host ports from the default ephemeral range and + passes it to docker to bind them to the container ports. + + - The `containerPortRange` valid values are between 1 and 65535. + + - A port can only be included in one port mapping per container. + + - You cannot specify overlapping port ranges. + + - The first port in the range must be less than last port in the range. + + - Docker recommends that you turn off the docker-proxy in the Docker + daemon config file when you have a large number of ports. + + For more information, see [Issue + #11185](https://github.com/moby/moby/issues/11185) on the Github + website. + + For information about how to turn off the docker-proxy in the Docker + daemon config file, see [Docker + daemon](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon) + in the *Amazon ECS Developer Guide*. + + You can call + [`DescribeTasks`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) + to view the `hostPortRange` which are the host ports that are bound to + the container ports. + """ + host_port_range: str | None = ... + """ + The port number range on the host that's used with the network binding. + This is assigned is assigned by Docker and delivered by the Amazon ECS + agent. + """ + +@dataclass(kw_only=True) +class NetworkConfiguration(_SerdeShape): + """The network configuration for a task or service.""" + + awsvpc_configuration: AwsVpcConfiguration | None = ... + """ + The VPC subnets and security groups that are associated with a task. + + Note: + All specified subnets and security groups must be from the same VPC. + """ + +@dataclass(kw_only=True) +class NetworkInterface(_SerdeShape): + """ + An object representing the elastic network interface for tasks that use + the `awsvpc` network mode. + """ + + attachment_id: str | None = ... + """The attachment ID for the network interface.""" + private_ipv4_address: str | None = ... + """The private IPv4 address for the network interface.""" + ipv6_address: str | None = ... + """The private IPv6 address for the network interface.""" + +@dataclass(kw_only=True) +class NetworkInterfaceCountRequest(_SerdeShape): + """ + The minimum and maximum number of network interfaces for instance type + selection. This is useful for workloads that require multiple network + interfaces. + """ + + min: int | None = ... + """ + The minimum number of network interfaces. Instance types that support + fewer network interfaces are excluded from selection. + """ + max: int | None = ... + """ + The maximum number of network interfaces. Instance types that support + more network interfaces are excluded from selection. + """ + +class NetworkMode(UnknownEnumMixin, StrEnum): + BRIDGE = "bridge" + HOST = "host" + AWSVPC = "awsvpc" + NONE = "none" + +@dataclass(kw_only=True) +class NoUpdateAvailableException(ServiceError, _SerdeShape): + """ + There's no update available for this Amazon ECS container agent. This + might be because the agent is already running the latest version or + because it's so old that there's no update path to the current + version. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NvidiaMpsAllocation(_SerdeShape): + """ + The GPU memory and compute limits for a container that shares a GPU by + using NVIDIA Multi-Process Service (MPS). Amazon ECS assigns the + container a single GPU that has enough memory available. Other + containers that use MPS can share the same GPU. + """ + + memory: int + """ + The amount of GPU memory, in MiB, to allocate to the container. Amazon + ECS assigns the container a GPU that has at least the specified amount + of memory available, and sets the `CUDA_MPS_PINNED_DEVICE_MEM_LIMIT` + environment variable in the container to limit its memory to this + amount. The memory must be available on a single GPU. If more than one + container in a task uses `nvidiaMps`, Amazon ECS assigns them the same + GPU, which must have enough memory available for all of them. + """ + max_compute_percent: int | None = ... + """ + The maximum percentage of the GPU's compute capacity that the container + can use. Amazon ECS sets the `CUDA_MPS_ACTIVE_THREAD_PERCENTAGE` + environment variable in the container to this value. This value is a + limit, not a reservation. + + If you don't specify this parameter, Amazon ECS doesn't set + `CUDA_MPS_ACTIVE_THREAD_PERCENTAGE`, and the active thread percentage of + the MPS server on the container instance applies. By default, this is + 100 percent. + """ + +class OSFamily(UnknownEnumMixin, StrEnum): + WINDOWS_SERVER_2019_FULL = "WINDOWS_SERVER_2019_FULL" + WINDOWS_SERVER_2019_CORE = "WINDOWS_SERVER_2019_CORE" + WINDOWS_SERVER_2016_FULL = "WINDOWS_SERVER_2016_FULL" + WINDOWS_SERVER_2004_CORE = "WINDOWS_SERVER_2004_CORE" + WINDOWS_SERVER_2022_CORE = "WINDOWS_SERVER_2022_CORE" + WINDOWS_SERVER_2022_FULL = "WINDOWS_SERVER_2022_FULL" + WINDOWS_SERVER_2025_CORE = "WINDOWS_SERVER_2025_CORE" + WINDOWS_SERVER_2025_FULL = "WINDOWS_SERVER_2025_FULL" + WINDOWS_SERVER_20_H2_CORE = "WINDOWS_SERVER_20H2_CORE" + LINUX = "LINUX" + +class PidMode(UnknownEnumMixin, StrEnum): + HOST = "host" + TASK = "task" + +@dataclass(kw_only=True) +class PlacementConstraint(_SerdeShape): + """ + An object representing a constraint on task placement. For more + information, see [Task placement + constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Note: + If you're using the Fargate launch type, task placement constraints + aren't supported. + """ + + type: str | None = ... + """ + The type of constraint. Use `distinctInstance` to ensure that each task + in a particular group is running on a different container instance. Use + `memberOf` to restrict the selection to a group of valid candidates. + """ + expression: str | None = ... + """ + A cluster query language expression to apply to the constraint. The + expression can have a maximum length of 2000 characters. You can't + specify an expression if the constraint type is `distinctInstance`. For + more information, see [Cluster query + language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + +class PlacementConstraintType(UnknownEnumMixin, StrEnum): + DISTINCT_INSTANCE = "distinctInstance" + MEMBER_OF = "memberOf" + +@dataclass(kw_only=True) +class PlacementStrategy(_SerdeShape): + """ + The task placement strategy for a task or service. For more information, + see [Task placement + strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + type: str | None = ... + """ + The type of placement strategy. The `random` placement strategy randomly + places tasks on available candidates. The `spread` placement strategy + spreads placement across available candidates evenly based on the + `field` parameter. The `binpack` strategy places tasks on available + candidates that have the least available amount of the resource that's + specified with the `field` parameter. For example, if you binpack on + memory, a task is placed on the instance with the least amount of + remaining memory but still enough to run the task. + """ + field: str | None = ... + """ + The field to apply the placement strategy against. For the `spread` + placement strategy, valid values are `instanceId` (or `host`, which has + the same effect), or any platform or custom attribute that's applied to + a container instance, such as `attribute:ecs.availability-zone`. For the + `binpack` placement strategy, valid values are `cpu` and `memory`. For + the `random` placement strategy, this field is not used. + """ + +class PlacementStrategyType(UnknownEnumMixin, StrEnum): + RANDOM = "random" + SPREAD = "spread" + BINPACK = "binpack" + +@dataclass(kw_only=True) +class PlatformDevice(_SerdeShape): + """ + The devices that are available on the container instance. The supported + device types are GPUs and Neuron devices. + """ + + id: str + """ + The ID for the GPU or Neuron device on the container instance. For GPUs, + the available GPU IDs can also be obtained on the container instance in + the `/var/lib/ecs/gpu/nvidia_gpu_info.json` file. For Neuron devices, + the ID corresponds to the device index (for example, `0` for + `/dev/neuron0`). + """ + type: str + """ + The type of device that's available on the container instance. The + supported values are `GPU` and `NEURON_DEVICE`. + """ + +class PlatformDeviceType(UnknownEnumMixin, StrEnum): + GPU = "GPU" + NEURON_DEVICE = "NEURON_DEVICE" + +@dataclass(kw_only=True) +class PlatformTaskDefinitionIncompatibilityException(ServiceError, _SerdeShape): + """ + The specified platform version doesn't satisfy the required + capabilities of the task definition. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PlatformUnknownException(ServiceError, _SerdeShape): + """The specified platform version doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PortMapping(_SerdeShape): + """ + Port mappings allow containers to access ports on the host container + instance to send or receive traffic. Port mappings are specified as part + of the container definition. + + If you use containers in a task with the `awsvpc` or `host` network + mode, specify the exposed ports using `containerPort`. The `hostPort` + can be left blank or it must be the same value as the `containerPort`. + + Most fields of this parameter (`containerPort`, `hostPort`, `protocol`) + maps to `PortBindings` in the docker container create command and the + `--publish` option to `docker run`. If the network mode of a task + definition is set to `host`, host ports must either be undefined or + match the container port in the port mapping. + + Note: + You can't expose the same container port for multiple protocols. If you + attempt this, an error is returned. + + After a task reaches the `RUNNING` status, manual and automatic host and + container port assignments are visible in the `networkBindings` section + of + [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) + API responses. + """ + + container_port: int | None = ... + """ + The port number on the container that's bound to the user-specified or + automatically assigned host port. + + If you use containers in a task with the `awsvpc` or `host` network + mode, specify the exposed ports using `containerPort`. + + If you use containers in a task with the `bridge` network mode and you + specify a container port and not a host port, your container + automatically receives a host port in the ephemeral port range. For more + information, see `hostPort`. Port mappings that are automatically + assigned in this way do not count toward the 100 reserved ports limit of + a container instance. + """ + host_port: int | None = ... + """ + The port number on the container instance to reserve for your container. + + If you specify a `containerPortRange`, leave this field empty and the + value of the `hostPort` is set as follows: + + - For containers in a task with the `awsvpc` network mode, the + `hostPort` is set to the same value as the `containerPort`. This is a + static mapping strategy. + + - For containers in a task with the `bridge` network mode, the Amazon + ECS agent finds open ports on the host and automatically binds them to + the container ports. This is a dynamic mapping strategy. + + If you use containers in a task with the `awsvpc` or `host` network + mode, the `hostPort` can either be left blank or set to the same value + as the `containerPort`. + + If you use containers in a task with the `bridge` network mode, you can + specify a non-reserved host port for your container port mapping, or you + can omit the `hostPort` (or set it to `0`) while specifying a + `containerPort` and your container automatically receives a port in the + ephemeral port range for your container instance operating system and + Docker version. + + The default ephemeral port range for Docker version 1.6.0 and later is + listed on the instance under `/proc/sys/net/ipv4/ip_local_port_range`. + If this kernel parameter is unavailable, the default ephemeral port + range from 49153 through 65535 (Linux) or 49152 through 65535 (Windows) + is used. Do not attempt to specify a host port in the ephemeral port + range as these are reserved for automatic assignment. In general, ports + below 32768 are outside of the ephemeral port range. + + The default reserved ports are 22 for SSH, the Docker ports 2375 and + 2376, and the Amazon ECS container agent ports 51678-51680. Any host + port that was previously specified in a running task is also reserved + while the task is running. That is, after a task stops, the host port is + released. The current reserved ports are displayed in the + `remainingResources` of + [DescribeContainerInstances](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeContainerInstances.html) + output. A container instance can have up to 100 reserved ports at a + time. This number includes the default reserved ports. Automatically + assigned ports aren't included in the 100 reserved ports quota. + """ + protocol: str | None = ... + """ + The protocol that's used for the port mapping. Valid values are `tcp` + and `udp` (case-sensitive). The default is `tcp`. Amazon ECS treats any + other specified value as `tcp`. `protocol` is immutable in a Service + Connect service. To update this field, you must delete and redeploy the + service. + """ + name: str | None = ... + """ + The name that's used for the port mapping. This parameter is the name + that you use in the `serviceConnectConfiguration` and the + `vpcLatticeConfigurations` of a service. The name can include up to 64 + characters. The characters can include lowercase letters, numbers, + underscores (_), and hyphens (-). The name can't start with a hyphen. + """ + app_protocol: str | None = ... + """ + The application protocol that's used for the port mapping. This + parameter only applies to Service Connect. We recommend that you set + this parameter to be consistent with the protocol that your application + uses. If you set this parameter, Amazon ECS adds protocol-specific + connection handling to the Service Connect proxy. If you set this + parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS + console and CloudWatch. + + If you don't set a value for this parameter, then TCP is used. However, + Amazon ECS doesn't add protocol-specific telemetry for TCP. + + `appProtocol` is immutable in a Service Connect service. Updating this + field requires a service deletion and redeployment. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + container_port_range: str | None = ... + """ + The port number range on the container that's bound to the dynamically + mapped host port range. + + The following rules apply when you specify a `containerPortRange`: + + - You must use either the `bridge` network mode or the `awsvpc` network + mode. + + - This parameter is available for both the EC2 and Fargate launch types. + + - This parameter is available for both the Linux and Windows operating + systems. + + - The container instance must have at least version 1.67.0 of the + container agent and at least version 1.67.0-1 of the `ecs-init` + package + + - You can specify a maximum of 100 port ranges per container. + + - You do not specify a `hostPortRange`. The value of the `hostPortRange` + is set as follows: + + - For containers in a task with the `awsvpc` network mode, the + `hostPortRange` is set to the same value as the + `containerPortRange`. This is a static mapping strategy. + + - For containers in a task with the `bridge` network mode, the Amazon + ECS agent finds open host ports from the default ephemeral range and + passes it to docker to bind them to the container ports. + + - The `containerPortRange` valid values are between 1 and 65535. + + - A port can only be included in one port mapping per container. + + - You cannot specify overlapping port ranges. + + - The first port in the range must be less than last port in the range. + + - Docker recommends that you turn off the docker-proxy in the Docker + daemon config file when you have a large number of ports. + + For more information, see [Issue + #11185](https://github.com/moby/moby/issues/11185) on the Github + website. + + For information about how to turn off the docker-proxy in the Docker + daemon config file, see [Docker + daemon](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon) + in the *Amazon ECS Developer Guide*. + + You can call + [`DescribeTasks`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) + to view the `hostPortRange` which are the host ports that are bound to + the container ports. + """ + +class PropagateGatewayTags(UnknownEnumMixin, StrEnum): + """ + Specifies whether the tags on a gateway are propagated to the + infrastructure that the gateway manages. + """ + + NONE = "NONE" + """Tags aren't propagated to managed infrastructure.""" + GATEWAY = "GATEWAY" + """ + Tags on the gateway are propagated to the infrastructure that the + gateway manages. + """ + +class PropagateMITags(UnknownEnumMixin, StrEnum): + CAPACITY_PROVIDER = "CAPACITY_PROVIDER" + NONE = "NONE" + +class PropagateTags(UnknownEnumMixin, StrEnum): + TASK_DEFINITION = "TASK_DEFINITION" + SERVICE = "SERVICE" + NONE = "NONE" + +@dataclass(kw_only=True) +class ProtectedTask(_SerdeShape): + """ + An object representing the protection status details for a task. You can + set the protection status with the + [UpdateTaskProtection](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateTaskProtection.html) + API and get the status of tasks with the + [GetTaskProtection](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_GetTaskProtection.html) + API. + """ + + task_arn: str | None = ... + """The task ARN.""" + protection_enabled: bool = ... + """ + The protection status of the task. If scale-in protection is on for a + task, the value is `true`. Otherwise, it is `false`. + """ + expiration_date: datetime | None = ... + """The epoch time when protection for the task will expire.""" + +@dataclass(kw_only=True) +class ProxyConfiguration(_SerdeShape): + """ + The configuration details for the App Mesh proxy. + + For tasks that use the EC2 launch type, the container instances require + at least version 1.26.0 of the container agent and at least version + 1.26.0-1 of the `ecs-init` package to use a proxy configuration. If your + container instances are launched from the Amazon ECS optimized AMI + version `20190301` or later, then they contain the required versions of + the container agent and `ecs-init`. For more information, see [Amazon + ECS-optimized Linux + AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) + """ + + type: str | None = ... + """The proxy type. The only supported value is `APPMESH`.""" + container_name: str + """The name of the container that will serve as the App Mesh proxy.""" + properties: list[KeyValuePair] | None = ... + """ + The set of network configuration parameters to provide the Container + Network Interface (CNI) plugin, specified as key-value pairs. + + - `IgnoredUID` - (Required) The user ID (UID) of the proxy container as + defined by the `user` parameter in a container definition. This is + used to ensure the proxy ignores its own traffic. If `IgnoredGID` is + specified, this field can be empty. + + - `IgnoredGID` - (Required) The group ID (GID) of the proxy container as + defined by the `user` parameter in a container definition. This is + used to ensure the proxy ignores its own traffic. If `IgnoredUID` is + specified, this field can be empty. + + - `AppPorts` - (Required) The list of ports that the application uses. + Network traffic to these ports is forwarded to the `ProxyIngressPort` + and `ProxyEgressPort`. + + - `ProxyIngressPort` - (Required) Specifies the port that incoming + traffic to the `AppPorts` is directed to. + + - `ProxyEgressPort` - (Required) Specifies the port that outgoing + traffic from the `AppPorts` is directed to. + + - `EgressIgnoredPorts` - (Required) The egress traffic going to the + specified ports is ignored and not redirected to the + `ProxyEgressPort`. It can be an empty list. + + - `EgressIgnoredIPs` - (Required) The egress traffic going to the + specified IP addresses is ignored and not redirected to the + `ProxyEgressPort`. It can be an empty list. + """ + +class ProxyConfigurationType(UnknownEnumMixin, StrEnum): + APPMESH = "APPMESH" + +@dataclass(kw_only=True) +class PutAccountSettingDefaultInput(_SerdeShape): + """Dataclass for PutAccountSettingDefaultInput structure.""" + + name: str | None = ... + """ + The resource name for which to modify the account setting. + + The following are the valid values for the account setting name. + + - `serviceLongArnFormat` - When modified, the Amazon Resource Name (ARN) + and resource ID format of the resource type for a specified user, + role, or the root user for an account is affected. The opt-in and + opt-out account setting must be set for each Amazon ECS resource + separately. The ARN and resource ID format of a resource is defined by + the opt-in status of the user or role that created the resource. You + must turn on this setting to use Amazon ECS features such as resource + tagging. + + - `taskLongArnFormat` - When modified, the Amazon Resource Name (ARN) + and resource ID format of the resource type for a specified user, + role, or the root user for an account is affected. The opt-in and + opt-out account setting must be set for each Amazon ECS resource + separately. The ARN and resource ID format of a resource is defined by + the opt-in status of the user or role that created the resource. You + must turn on this setting to use Amazon ECS features such as resource + tagging. + + - `containerInstanceLongArnFormat` - When modified, the Amazon Resource + Name (ARN) and resource ID format of the resource type for a specified + user, role, or the root user for an account is affected. The opt-in + and opt-out account setting must be set for each Amazon ECS resource + separately. The ARN and resource ID format of a resource is defined by + the opt-in status of the user or role that created the resource. You + must turn on this setting to use Amazon ECS features such as resource + tagging. + + - `awsvpcTrunking` - When modified, the elastic network interface (ENI) + limit for any new container instances that support the feature is + changed. If `awsvpcTrunking` is turned on, any new container instances + that support the feature are launched have the increased ENI limits + available to them. For more information, see [Elastic Network + Interface + Trunking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html) + in the *Amazon Elastic Container Service Developer Guide*. + + - `containerInsights` - Container Insights with enhanced observability + provides all the Container Insights metrics, plus additional task and + container metrics. This version supports enhanced observability for + Amazon ECS clusters using the Amazon EC2 and Fargate launch types. + After you configure Container Insights with enhanced observability on + Amazon ECS, Container Insights auto-collects detailed infrastructure + telemetry from the cluster level down to the container level in your + environment and displays these critical performance data in curated + dashboards removing the heavy lifting in observability set-up. + + To use Container Insights with enhanced observability, set the + `containerInsights` account setting to `enhanced`. + + To use Container Insights, set the `containerInsights` account setting + to `enabled`. + + For more information, see [Monitor Amazon ECS containers using + Container Insights with enhanced + observability](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html) + in the *Amazon Elastic Container Service Developer Guide*. + + - `dualStackIPv6` - When turned on, when using a VPC in dual stack mode, + your tasks using the `awsvpc` network mode can have an IPv6 address + assigned. For more information on using IPv6 with tasks launched on + Amazon EC2 instances, see [Using a VPC in dual-stack + mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack). + For more information on using IPv6 with tasks launched on Fargate, see + [Using a VPC in dual-stack + mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack). + + - `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS 140 + compliance is affected. + + - `fargateTaskRetirementWaitPeriod` - When Amazon Web Services + determines that a security or infrastructure update is needed for an + Amazon ECS task hosted on Fargate, the tasks need to be stopped and + new tasks launched to replace them. Use + `fargateTaskRetirementWaitPeriod` to configure the wait time to retire + a Fargate task. For information about the Fargate tasks maintenance, + see [Amazon Web Services Fargate task + maintenance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html) + in the *Amazon ECS Developer Guide*. + + - `fargateEventWindows` - When Amazon Web Services determines that a + security or infrastructure update is needed for an Amazon ECS task + hosted on Fargate, the tasks need to be stopped and new tasks launched + to replace them. Use `fargateEventWindows` to use EC2 Event Windows + associated with Fargate tasks to configure time windows for task + retirement. + + - `tagResourceAuthorization` - Amazon ECS is introducing tagging + authorization for resource creation. Users must have permissions for + actions that create the resource, such as `ecsCreateCluster`. If tags + are specified when you create a resource, Amazon Web Services performs + additional authorization to verify if users or roles have permissions + to create tags. Therefore, you must grant explicit permissions to use + the `ecs:TagResource` action. For more information, see [Grant + permission to tag resources on + creation](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html) + in the *Amazon ECS Developer Guide*. + + - `defaultLogDriverMode` -Amazon ECS supports setting a default delivery + mode of log messages from a container to the `logDriver` that you + specify in the container's `logConfiguration`. The delivery mode + affects application stability when the flow of logs from the container + to the log driver is interrupted. The `defaultLogDriverMode` setting + supports two values: `blocking` and `non-blocking`. If you don't + specify a delivery mode in your container definition's + `logConfiguration`, the mode you specify using this account setting + will be used as the default. For more information about log delivery + modes, see + [LogConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html). + + Note: + On June 25, 2025, Amazon ECS changed the default log driver mode from + `blocking` to `non-blocking` to prioritize task availability over + logging. To continue using the `blocking` mode after this change, do + one of the following: + + - Set the `mode` option in your container definition's + `logConfiguration` as `blocking`. + + - Set the `defaultLogDriverMode` account setting to `blocking`. + + - `guardDutyActivate` - The `guardDutyActivate` parameter is read-only + in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is + enabled or disabled by your security administrator in your Amazon ECS + account. Amazon GuardDuty controls this account setting on your + behalf. For more information, see [Protecting Amazon ECS workloads + with Amazon ECS Runtime + Monitoring](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html). + """ + value: str | None = ... + """ + The account setting value for the specified principal ARN. Accepted + values are `enabled`, `disabled`, `on`, `enhanced`, and `off`. + + When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the + following are the valid values: + + - `0` - Amazon Web Services sends the notification, and immediately + retires the affected tasks. + + - `7` - Amazon Web Services sends the notification, and waits 7 calendar + days to retire the tasks. + + - `14` - Amazon Web Services sends the notification, and waits 14 + calendar days to retire the tasks. + """ + +@dataclass(kw_only=True) +class PutAccountSettingDefaultOutput(_SerdeShape): + """Dataclass for PutAccountSettingDefaultOutput structure.""" + + setting: Setting | None = ... + """The current setting for a resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutAccountSettingInput(_SerdeShape): + """Dataclass for PutAccountSettingInput structure.""" + + name: str | None = ... + """ + The Amazon ECS account setting name to modify. + + The following are the valid values for the account setting name. + + - `serviceLongArnFormat` - When modified, the Amazon Resource Name (ARN) + and resource ID format of the resource type for a specified user, + role, or the root user for an account is affected. The opt-in and + opt-out account setting must be set for each Amazon ECS resource + separately. The ARN and resource ID format of a resource is defined by + the opt-in status of the user or role that created the resource. You + must turn on this setting to use Amazon ECS features such as resource + tagging. + + - `taskLongArnFormat` - When modified, the Amazon Resource Name (ARN) + and resource ID format of the resource type for a specified user, + role, or the root user for an account is affected. The opt-in and + opt-out account setting must be set for each Amazon ECS resource + separately. The ARN and resource ID format of a resource is defined by + the opt-in status of the user or role that created the resource. You + must turn on this setting to use Amazon ECS features such as resource + tagging. + + - `containerInstanceLongArnFormat` - When modified, the Amazon Resource + Name (ARN) and resource ID format of the resource type for a specified + user, role, or the root user for an account is affected. The opt-in + and opt-out account setting must be set for each Amazon ECS resource + separately. The ARN and resource ID format of a resource is defined by + the opt-in status of the user or role that created the resource. You + must turn on this setting to use Amazon ECS features such as resource + tagging. + + - `awsvpcTrunking` - When modified, the elastic network interface (ENI) + limit for any new container instances that support the feature is + changed. If `awsvpcTrunking` is turned on, any new container instances + that support the feature are launched have the increased ENI limits + available to them. For more information, see [Elastic Network + Interface + Trunking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html) + in the *Amazon Elastic Container Service Developer Guide*. + + - `containerInsights` - Container Insights with enhanced observability + provides all the Container Insights metrics, plus additional task and + container metrics. This version supports enhanced observability for + Amazon ECS clusters using the Amazon EC2 and Fargate launch types. + After you configure Container Insights with enhanced observability on + Amazon ECS, Container Insights auto-collects detailed infrastructure + telemetry from the cluster level down to the container level in your + environment and displays these critical performance data in curated + dashboards removing the heavy lifting in observability set-up. + + To use Container Insights with enhanced observability, set the + `containerInsights` account setting to `enhanced`. + + To use Container Insights, set the `containerInsights` account setting + to `enabled`. + + For more information, see [Monitor Amazon ECS containers using + Container Insights with enhanced + observability](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html) + in the *Amazon Elastic Container Service Developer Guide*. + + - `dualStackIPv6` - When turned on, when using a VPC in dual stack mode, + your tasks using the `awsvpc` network mode can have an IPv6 address + assigned. For more information on using IPv6 with tasks launched on + Amazon EC2 instances, see [Using a VPC in dual-stack + mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack). + For more information on using IPv6 with tasks launched on Fargate, see + [Using a VPC in dual-stack + mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack). + + - `fargateTaskRetirementWaitPeriod` - When Amazon Web Services + determines that a security or infrastructure update is needed for an + Amazon ECS task hosted on Fargate, the tasks need to be stopped and + new tasks launched to replace them. Use + `fargateTaskRetirementWaitPeriod` to configure the wait time to retire + a Fargate task. For information about the Fargate tasks maintenance, + see [Amazon Web Services Fargate task + maintenance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html) + in the *Amazon ECS Developer Guide*. + + - `fargateEventWindows` - When Amazon Web Services determines that a + security or infrastructure update is needed for an Amazon ECS task + hosted on Fargate, the tasks need to be stopped and new tasks launched + to replace them. Use `fargateEventWindows` to use EC2 Event Windows + associated with Fargate tasks to configure time windows for task + retirement. + + - `tagResourceAuthorization` - Amazon ECS is introducing tagging + authorization for resource creation. Users must have permissions for + actions that create the resource, such as `ecsCreateCluster`. If tags + are specified when you create a resource, Amazon Web Services performs + additional authorization to verify if users or roles have permissions + to create tags. Therefore, you must grant explicit permissions to use + the `ecs:TagResource` action. For more information, see [Grant + permission to tag resources on + creation](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html) + in the *Amazon ECS Developer Guide*. + + - `defaultLogDriverMode` - Amazon ECS supports setting a default + delivery mode of log messages from a container to the `logDriver` that + you specify in the container's `logConfiguration`. The delivery mode + affects application stability when the flow of logs from the container + to the log driver is interrupted. The `defaultLogDriverMode` setting + supports two values: `blocking` and `non-blocking`. If you don't + specify a delivery mode in your container definition's + `logConfiguration`, the mode you specify using this account setting + will be used as the default. For more information about log delivery + modes, see + [LogConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html). + + Note: + On June 25, 2025, Amazon ECS changed the default log driver mode from + `blocking` to `non-blocking` to prioritize task availability over + logging. To continue using the `blocking` mode after this change, do + one of the following: + + - Set the `mode` option in your container definition's + `logConfiguration` as `blocking`. + + - Set the `defaultLogDriverMode` account setting to `blocking`. + + - `guardDutyActivate` - The `guardDutyActivate` parameter is read-only + in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is + enabled or disabled by your security administrator in your Amazon ECS + account. Amazon GuardDuty controls this account setting on your + behalf. For more information, see [Protecting Amazon ECS workloads + with Amazon ECS Runtime + Monitoring](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html). + """ + value: str | None = ... + """ + The account setting value for the specified principal ARN. Accepted + values are `enabled`, `disabled`, `enhanced`, `on`, and `off`. + + When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the + following are the valid values: + + - `0` - Amazon Web Services sends the notification, and immediately + retires the affected tasks. + + - `7` - Amazon Web Services sends the notification, and waits 7 calendar + days to retire the tasks. + + - `14` - Amazon Web Services sends the notification, and waits 14 + calendar days to retire the tasks. + """ + principal_arn: str | None = ... + """ + The ARN of the principal, which can be a user, role, or the root user. + If you specify the root user, it modifies the account setting for all + users, roles, and the root user of the account unless a user or role + explicitly overrides these settings. If this field is omitted, the + setting is changed only for the authenticated user. + + In order to use this parameter, you must be the root user, or the + principal. + + Note: + You must use the root user when you set the Fargate wait time + (`fargateTaskRetirementWaitPeriod`). + + Federated users assume the account setting of the root user and can't + have explicit account settings set for them. + """ + +@dataclass(kw_only=True) +class PutAccountSettingOutput(_SerdeShape): + """Dataclass for PutAccountSettingOutput structure.""" + + setting: Setting | None = ... + """The current account setting for a resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutAttributesInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + contains the resource to apply attributes. If you do not specify a + cluster, the default cluster is assumed. + """ + attributes: list[Attribute] | None = ... + """ + The attributes to apply to your resource. You can specify up to 10 + custom attributes for each resource. You can specify up to 10 attributes + in a single call. + """ + +@dataclass(kw_only=True) +class PutAttributesOutput(_SerdeShape): + """""" + + attributes: list[Attribute] | None = ... + """The attributes applied to your resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutClusterCapacityProvidersInput(_SerdeShape): + """Dataclass for PutClusterCapacityProvidersInput structure.""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster to + modify the capacity provider settings for. If you don't specify a + cluster, the default cluster is assumed. + """ + capacity_providers: list[str] | None = ... + """ + The name of one or more capacity providers to associate with the + cluster. + + If specifying a capacity provider that uses an Auto Scaling group, the + capacity provider must already be created. New capacity providers can be + created with the + [CreateCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html) + API operation. + + To use a Fargate capacity provider, specify either the `FARGATE` or + `FARGATE_SPOT` capacity providers. The Fargate capacity providers are + available to all accounts and only need to be associated with a cluster + to be used. + """ + default_capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """ + The capacity provider strategy to use by default for the cluster. + + When creating a service or running a task on a cluster, if no capacity + provider or launch type is specified then the default capacity provider + strategy for the cluster is used. + + A capacity provider strategy consists of one or more capacity providers + along with the `base` and `weight` to assign to them. A capacity + provider must be associated with the cluster to be used in a capacity + provider strategy. The + [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) + API is used to associate a capacity provider with a cluster. Only + capacity providers with an `ACTIVE` or `UPDATING` status can be used. + + If specifying a capacity provider that uses an Auto Scaling group, the + capacity provider must already be created. New capacity providers can be + created with the + [CreateCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html) + API operation. + + To use a Fargate capacity provider, specify either the `FARGATE` or + `FARGATE_SPOT` capacity providers. The Fargate capacity providers are + available to all accounts and only need to be associated with a cluster + to be used. + """ + +@dataclass(kw_only=True) +class PutClusterCapacityProvidersOutput(_SerdeShape): + """Dataclass for PutClusterCapacityProvidersOutput structure.""" + + cluster: Cluster | None = ... + """Details about the cluster.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RegisterContainerInstanceInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster to + register your container instance with. If you do not specify a cluster, + the default cluster is assumed. + """ + instance_identity_document: str | None = ... + """ + The instance identity document for the EC2 instance to register. This + document can be found by running the following command from the + instance: + `curl http://169.254.169.254/latest/dynamic/instance-identity/document/` + """ + instance_identity_document_signature: str | None = ... + """ + The instance identity document signature for the EC2 instance to + register. This signature can be found by running the following command + from the instance: + `curl http://169.254.169.254/latest/dynamic/instance-identity/signature/` + """ + total_resources: list[Resource] | None = ... + """The resources available on the instance.""" + version_info: VersionInfo | None = ... + """ + The version information for the Amazon ECS container agent and Docker + daemon that runs on the container instance. + """ + container_instance_arn: str | None = ... + """The ARN of the container instance (if it was previously registered).""" + attributes: list[Attribute] | None = ... + """The container instance attributes that this container instance supports.""" + platform_devices: list[PlatformDevice] | None = ... + """ + The devices that are available on the container instance. The supported + device types are GPUs and Neuron devices. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the container instance to help you + categorize and organize them. Each tag consists of a key and an optional + value. You define both. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + +@dataclass(kw_only=True) +class RegisterContainerInstanceOutput(_SerdeShape): + """""" + + container_instance: ContainerInstance | None = ... + """The container instance that was registered.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RegisterDaemonTaskDefinitionInput(_SerdeShape): + """Dataclass for RegisterDaemonTaskDefinitionInput structure.""" + + family: str | None = ... + """ + You must specify a `family` for a daemon task definition. This family is + used as a name for your daemon task definition. Up to 255 letters + (uppercase and lowercase), numbers, underscores, and hyphens are + allowed. + """ + task_role_arn: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the IAM role that + containers in this daemon task can assume. All containers in this daemon + task are granted the permissions that are specified in this role. + """ + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the task execution role that grants + the Amazon ECS container agent permission to make Amazon Web Services + API calls on your behalf. The task execution role is required for daemon + tasks that pull container images from Amazon ECR or send container logs + to CloudWatch. + """ + container_definitions: list[DaemonContainerDefinition] | None = ... + """ + A list of container definitions in JSON format that describe the + containers that make up your daemon task. + """ + cpu: str | None = ... + """ + The number of CPU units used by the daemon task. It can be expressed as + an integer using CPU units (for example, `1024`). + """ + memory: str | None = ... + """ + The amount of memory (in MiB) used by the daemon task. It can be + expressed as an integer using MiB (for example, `1024`). + """ + volumes: list[DaemonVolume] | None = ... + """ + A list of volume definitions in JSON format that containers in your + daemon task can use. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the daemon task definition to help you + categorize and organize them. Each tag consists of a key and an optional + value. You define both of them. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + pid_mode: str | None = ... + """ + The PID namespace mode for the daemon. The valid values are `none` and + `shared`. The default is `none`. + + If `none` is specified or no value is provided, the daemon runs with its + own PID namespace, isolated from other tasks. If `shared` is specified, + the daemon joins the host PID namespace, making it accessible to + non-daemon tasks that use `pidMode: "host"` or other daemons that use + `pidMode: "shared"`. + """ + ipc_mode: str | None = ... + """ + The IPC namespace mode for the daemon. The valid values are `none` and + `shared`. The default is `none`. + + If `none` is specified or no value is provided, the daemon runs with its + own IPC namespace, isolated from other tasks. If `shared` is specified, + the daemon joins the host IPC namespace, making it accessible to + non-daemon tasks that use `ipcMode: "host"` or other daemons that use + `ipcMode: "shared"`. + """ + +@dataclass(kw_only=True) +class RegisterDaemonTaskDefinitionOutput(_SerdeShape): + """Dataclass for RegisterDaemonTaskDefinitionOutput structure.""" + + daemon_task_definition_arn: str | None = ... + """ + The full Amazon Resource Name (ARN) of the registered daemon task + definition. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RegisterTaskDefinitionInput(_SerdeShape): + """""" + + family: str | None = ... + """ + You must specify a `family` for a task definition. You can use it track + multiple versions of the same task definition. The `family` is used as a + name for your task definition. Up to 255 letters (uppercase and + lowercase), numbers, underscores, and hyphens are allowed. + """ + task_role_arn: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the IAM role that + containers in this task can assume. All containers in this task are + granted the permissions that are specified in this role. For more + information, see [IAM Roles for + Tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the task execution role that grants + the Amazon ECS container agent permission to make Amazon Web Services + API calls on your behalf. For informationabout the required IAM roles + for Amazon ECS, see [IAM roles for Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + network_mode: str | None = ... + """ + The Docker networking mode to use for the containers in the task. The + valid values are `none`, `bridge`, `awsvpc`, and `host`. If no network + mode is specified, the default is `bridge`. + + For Amazon ECS tasks on Fargate, the `awsvpc` network mode is required. + For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can + be used. For Amazon ECS tasks on Amazon EC2 Windows instances, + `` or `awsvpc` can be used. If the network mode is set to + `none`, you cannot specify port mappings in your container definitions, + and the tasks containers do not have external connectivity. The `host` + and `awsvpc` network modes offer the highest networking performance for + containers because they use the EC2 network stack instead of the + virtualized network stack provided by the `bridge` mode. + + With the `host` and `awsvpc` network modes, exposed container ports are + mapped directly to the corresponding host port (for the `host` network + mode) or the attached elastic network interface port (for the `awsvpc` + network mode), so you cannot take advantage of dynamic host port + mappings. + + Warning: + When using the `host` network mode, you should not run containers using + the root user (UID 0). It is considered best practice to use a non-root + user. + + If the network mode is `awsvpc`, the task is allocated an elastic + network interface, and you must specify a + [NetworkConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html) + value when you create a service or run a task with the task definition. + For more information, see [Task + Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) + in the *Amazon Elastic Container Service Developer Guide*. + + If the network mode is `host`, you cannot run multiple instantiations of + the same task on a single container instance when port mappings are + used. + """ + container_definitions: list[ContainerDefinition] | None = ... + """ + A list of container definitions in JSON format that describe the + different containers that make up your task. + """ + volumes: list[Volume] | None = ... + """ + A list of volume definitions in JSON format that containers in your task + might use. + """ + placement_constraints: list[TaskDefinitionPlacementConstraint] | None = ... + """ + An array of placement constraint objects to use for the task. You can + specify a maximum of 10 constraints for each task. This limit includes + constraints in the task definition and those specified at runtime. + """ + requires_compatibilities: list[str] | None = ... + """ + The task launch type that Amazon ECS validates the task definition + against. A client exception is returned if the task definition doesn't + validate against the compatibilities specified. If no value is + specified, the parameter is omitted from the response. + """ + cpu: str | None = ... + """ + The number of CPU units used by the task. It can be expressed as an + integer using CPU units (for example, `1024`) or as a string using vCPUs + (for example, `1 vCPU` or `1 vcpu`) in a task definition. String values + are converted to an integer indicating the CPU units when the task + definition is registered. + + Note: + Task-level CPU and memory parameters are ignored for Windows containers. + We recommend specifying container-level resources for Windows + containers. + + If you're using the EC2 launch type or external launch type, this field + is optional. Supported values are between `128` CPU units (`0.125` + vCPUs) and `196608` CPU units (`192` vCPUs). If you do not specify a + value, the parameter is ignored. + + This field is required for Fargate. For information about the valid + values, see [Task + size](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size) + in the *Amazon Elastic Container Service Developer Guide*. + """ + memory: str | None = ... + """ + The amount of memory (in MiB) used by the task. It can be expressed as + an integer using MiB (for example ,`1024`) or as a string using GB (for + example, `1GB` or `1 GB`) in a task definition. String values are + converted to an integer indicating the MiB when the task definition is + registered. + + Note: + Task-level CPU and memory parameters are ignored for Windows containers. + We recommend specifying container-level resources for Windows + containers. + + If using the EC2 launch type, this field is optional. + + If using the Fargate launch type, this field is required and you must + use one of the following values. This determines your range of supported + values for the `cpu` parameter. + + The CPU units cannot be less than 1 vCPU when you use Windows containers + on Fargate. + + - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values: 256 + (.25 vCPU) + + - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available `cpu` + values: 512 (.5 vCPU) + + - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 + (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU) + + - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - + Available `cpu` values: 2048 (2 vCPU) + + - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - + Available `cpu` values: 4096 (4 vCPU) + + - Between 16 GB and 60 GB in 4 GB increments - Available `cpu` values: + 8192 (8 vCPU) + + This option requires Linux platform `1.4.0` or later. + + - Between 32GB and 120 GB in 8 GB increments - Available `cpu` values: + 16384 (16 vCPU) + + This option requires Linux platform `1.4.0` or later. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the task definition to help you + categorize and organize them. Each tag consists of a key and an optional + value. You define both of them. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + pid_mode: str | None = ... + """ + The process namespace to use for the containers in the task. The valid + values are `host` or `task`. On Fargate for Linux containers, the only + valid value is `task`. For example, monitoring sidecars might need + `pidMode` to access information about other containers running in the + same task. + + If `host` is specified, all containers within the tasks that specified + the `host` PID mode on the same container instance share the same + process namespace with the host Amazon EC2 instance. + + If `task` is specified, all containers within the specified task share + the same process namespace. + + If no value is specified, the The default is a private namespace for + each container. + + If the `host` PID mode is used, there's a heightened risk of undesired + process namespace exposure. + + Note: + This parameter is not supported for Windows containers. + Note: + This parameter is only supported for tasks that are hosted on Fargate if + the tasks are using platform version `1.4.0` or later (Linux). This + isn't supported for Windows containers on Fargate. + """ + ipc_mode: str | None = ... + """ + The IPC resource namespace to use for the containers in the task. The + valid values are `host`, `task`, or `none`. If `host` is specified, then + all containers within the tasks that specified the `host` IPC mode on + the same container instance share the same IPC resources with the host + Amazon EC2 instance. If `task` is specified, all containers within the + specified task share the same IPC resources. If `none` is specified, + then IPC resources within the containers of a task are private and not + shared with other containers in a task or on the container instance. If + no value is specified, then the IPC resource namespace sharing depends + on the Docker daemon setting on the container instance. + + If the `host` IPC mode is used, be aware that there is a heightened risk + of undesired IPC namespace expose. + + If you are setting namespaced kernel parameters using `systemControls` + for the containers in the task, the following will apply to your IPC + resource namespace. For more information, see [System + Controls](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) + in the *Amazon Elastic Container Service Developer Guide*. + + - For tasks that use the `host` IPC mode, IPC namespace related + `systemControls` are not supported. + + - For tasks that use the `task` IPC mode, IPC namespace related + `systemControls` will apply to all containers within a task. + + Note: + This parameter is not supported for Windows containers or tasks run on + Fargate. + """ + proxy_configuration: ProxyConfiguration | None = ... + """ + The configuration details for the App Mesh proxy. + + For tasks hosted on Amazon EC2 instances, the container instances + require at least version `1.26.0` of the container agent and at least + version `1.26.0-1` of the `ecs-init` package to use a proxy + configuration. If your container instances are launched from the Amazon + ECS-optimized AMI version `20190301` or later, then they contain the + required versions of the container agent and `ecs-init`. For more + information, see [Amazon ECS-optimized AMI + versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + inference_accelerators: list[InferenceAccelerator] | None = ... + """ + The Elastic Inference accelerators to use for the containers in the + task. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The amount of ephemeral storage to allocate for the task. This parameter + is used to expand the total amount of ephemeral storage available, + beyond the default amount, for tasks hosted on Fargate. For more + information, see [Using data volumes in + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) + in the *Amazon ECS Developer Guide*. + + Note: + For tasks using the Fargate launch type, the task requires the following + platforms: + + - Linux platform version `1.4.0` or later. + """ + runtime_platform: RuntimePlatform | None = ... + """The operating system that your tasks definitions run on.""" + enable_fault_injection: bool | None = ... + """ + Enables fault injection when you register your task definition and + allows for fault injection requests to be accepted from the task's + containers. The default value is `false`. + """ + trusted_execution_configuration: TrustedExecutionConfiguration | None = ... + """ + The trusted execution configuration for tasks that use this task + definition, including the isolation mode and, if configured, an + attestation policy. + + Note: + Trusted execution is supported only for Amazon ECS Managed Instances. + """ + +@dataclass(kw_only=True) +class RegisterTaskDefinitionOutput(_SerdeShape): + """""" + + task_definition: TaskDefinition | None = ... + """The full description of the registered task definition.""" + tags: list[Tag] | None = ... + """The list of tags associated with the task definition.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RepositoryCredentials(_SerdeShape): + """The repository credentials for private registry authentication.""" + + credentials_parameter: str + """ + The Amazon Resource Name (ARN) of the secret containing the private + repository credentials. + + Note: + When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the + secret exists in the same Region as the task that you're launching then + you can use either the full ARN or the name of the secret. When you use + the Amazon Web Services Management Console, you must specify the full + ARN of the secret. + """ + +@dataclass(kw_only=True) +class ResolvedConfiguration(_SerdeShape): + """ + The resolved configuration for a service revision, which contains the + actual resources your service revision uses, such as which target groups + serve traffic. + """ + + load_balancers: list[ServiceRevisionLoadBalancer] | None = ... + """ + The resolved load balancer configuration for the service revision. This + includes information about which target groups serve traffic and which + listener rules direct traffic to them. + """ + vpc_lattice_configurations: ( + list[ServiceRevisionVpcLatticeConfiguration] | None + ) = ... + """ + The resolved VPC Lattice configuration for the service revision. This + includes information about which target groups serve traffic and which + listener rules direct traffic to them. + """ + +@dataclass(kw_only=True) +class Resource(_SerdeShape): + """Describes the resources available for a container instance.""" + + name: str | None = ... + """ + The name of the resource, such as `CPU`, `MEMORY`, `PORTS`, `PORTS_UDP`, + or a user-defined resource. + """ + type: str | None = ... + """ + The type of the resource. Valid values: `INTEGER`, `DOUBLE`, `LONG`, or + `STRINGSET`. + """ + double_value: float = ... + """ + When the `doubleValue` type is set, the value of the resource must be a + double precision floating-point type. + """ + long_value: int = ... + """ + When the `longValue` type is set, the value of the resource must be an + extended precision floating-point type. + """ + integer_value: int = ... + """ + When the `integerValue` type is set, the value of the resource must be + an integer. + """ + string_set_value: list[str] | None = ... + """ + When the `stringSetValue` type is set, the value of the resource must be + a string type. + """ + +@dataclass(kw_only=True) +class ResourceInUseException(ServiceError, _SerdeShape): + """The specified resource is in-use and can't be removed.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ResourceManagementType(UnknownEnumMixin, StrEnum): + CUSTOMER = "CUSTOMER" + ECS = "ECS" + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """The specified resource wasn't found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceRequirement(_SerdeShape): + """ + The type and amount of a resource to assign to a container. The + supported resource types are GPUs, Neuron devices, and Elastic Inference + accelerators. For more information, see [Working with GPUs on Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html) + or [Working with Amazon Elastic Inference on Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) + in the *Amazon Elastic Container Service Developer Guide* + """ + + value: str = ... + """ + The value for the specified resource type. + + You must specify this parameter unless the type is `GPU` and you specify + `sharingStrategy`. + + When the type is `GPU`, the value is the number of physical `GPUs` the + Amazon ECS container agent reserves for the container. The number of + GPUs that's reserved for all containers in a task can't exceed the + number of available GPUs on the container instance that the task is + launched on. You can also specify `ALL` to allocate all available GPUs + on the instance to the container. + + When the type is `NeuronDevice`, the value must be `ALL`. This allocates + all available Neuron devices on the instance to the container. Only one + container in a task can specify `NeuronDevice` resources. This resource + type is only supported on Managed Instances. + + When the type is `InferenceAccelerator`, the `value` matches the + `deviceName` for an + [InferenceAccelerator](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html) + specified in a task definition. + """ + type: str + """The type of resource to assign to a container.""" + sharing_strategy: SharingStrategy | None = ... + """ + The strategy that the container uses to share a GPU with other + containers. Specify a sharing strategy only when the type is `GPU`. For + a GPU resource requirement, specify either `value` or `sharingStrategy`, + but not both. If you don't specify a sharing strategy, the container + has exclusive use of each GPU that Amazon ECS assigns to it. The + containers in a task that request GPUs must all use the same option. + + You can use GPU sharing with tasks that run on Amazon EC2 instances or + Amazon ECS Managed Instances. Task definitions that require `EXTERNAL` + compatibility don't support GPU sharing. + """ + +class ResourceType(UnknownEnumMixin, StrEnum): + GPU = "GPU" + INFERENCE_ACCELERATOR = "InferenceAccelerator" + NEURON_DEVICE = "NeuronDevice" + +@dataclass(kw_only=True) +class Rollback(_SerdeShape): + """Information about the service deployment rollback.""" + + reason: str | None = ... + """ + The reason the rollback happened. For example, the circuit breaker + initiated the rollback operation. + """ + started_at: datetime | None = ... + """ + Time time that the rollback started. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + service_revision_arn: str | None = ... + """The ARN of the service revision deployed as part of the rollback.""" + +@dataclass(kw_only=True) +class RunTaskInput(_SerdeShape): + """""" + + capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """ + The capacity provider strategy to use for the task. + + Note: + If you want to use Amazon ECS Managed Instances, you must use the + `capacityProviderStrategy` request parameter and omit the `launchType` + request parameter. + + If a `capacityProviderStrategy` is specified, the `launchType` parameter + must be omitted. If no `capacityProviderStrategy` or `launchType` is + specified, the `defaultCapacityProviderStrategy` for the cluster is + used. + + When you use cluster auto scaling, you must specify + `capacityProviderStrategy` and not `launchType`. + + A capacity provider strategy can contain a maximum of 20 capacity + providers. + """ + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster to run + your task on. If you do not specify a cluster, the default cluster is + assumed. + + Each account receives a default cluster the first time you use the + service, but you may also create other clusters. + """ + count: int | None = ... + """ + The number of instantiations of the specified task to place on your + cluster. You can specify up to 10 tasks for each call. + """ + enable_ecs_managed_tags: bool = ... + """ + Specifies whether to use Amazon ECS managed tags for the task. For more + information, see [Tagging Your Amazon ECS + Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + enable_execute_command: bool = ... + """ + Determines whether to use the execute command functionality for the + containers in this task. If `true`, this enables execute command + functionality on all containers in the task. + + If `true`, then the task definition must have a task role, or you must + provide one as an override. + """ + group: str | None = ... + """ + The name of the task group to associate with the task. The default value + is the family name of the task definition (for example, + `family:my-family-name`). + """ + launch_type: str | None = ... + """ + The infrastructure to run your standalone task on. For more information, + see [Amazon ECS launch + types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Note: + If you want to use Amazon ECS Managed Instances, you must use the + `capacityProviderStrategy` request parameter and omit the `launchType` + request parameter. + + The `FARGATE` launch type runs your tasks on Fargate On-Demand + infrastructure. + + Note: + Fargate Spot infrastructure is available for use but a capacity provider + strategy must be used. For more information, see [Fargate capacity + providers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html) + in the *Amazon ECS Developer Guide*. + + The `EC2` launch type runs your tasks on Amazon EC2 instances registered + to your cluster. + + The `EXTERNAL` launch type runs your tasks on your on-premises server or + virtual machine (VM) capacity registered to your cluster. + + A task can use either a launch type or a capacity provider strategy. If + a `launchType` is specified, the `capacityProviderStrategy` parameter + must be omitted. + + When you use cluster auto scaling, you must specify + `capacityProviderStrategy` and not `launchType`. + """ + network_configuration: NetworkConfiguration | None = ... + """ + The network configuration for the task. This parameter is required for + task definitions that use the `awsvpc` network mode to receive their own + elastic network interface, and it isn't supported for other network + modes. For more information, see [Task + networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + overrides: TaskOverride | None = ... + """ + A list of container overrides in JSON format that specify the name of a + container in the specified task definition and the overrides it should + receive. You can override the default command for a container (that's + specified in the task definition or Docker image) with a `command` + override. You can also override existing environment variables (that are + specified in the task definition or Docker image) on a container or add + new environment variables to it with an `environment` override. + + A total of 8192 characters are allowed for overrides. This limit + includes the JSON formatting characters of the override structure. + """ + placement_constraints: list[PlacementConstraint] | None = ... + """ + An array of placement constraint objects to use for the task. You can + specify up to 10 constraints for each task (including constraints in the + task definition and those specified at runtime). + """ + placement_strategy: list[PlacementStrategy] | None = ... + """ + The placement strategy objects to use for the task. You can specify a + maximum of 5 strategy rules for each task. + """ + platform_version: str | None = ... + """ + The platform version the task uses. A platform version is only specified + for tasks hosted on Fargate. If one isn't specified, the `LATEST` + platform version is used. For more information, see [Fargate platform + versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + propagate_tags: str | None = ... + """ + Specifies whether to propagate the tags from the task definition to the + task. If no value is specified, the tags aren't propagated. Tags can + only be propagated to the task during task creation. To add tags to a + task after task creation, use + the[TagResource](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) + API action. + + Note: + An error will be received if you specify the `SERVICE` option when + running a task. + """ + reference_id: str | None = ... + """ + This parameter is only used by Amazon ECS. It is not intended for use by + customers. + """ + started_by: str | None = ... + """ + An optional tag specified when a task is started. For example, if you + automatically trigger a task to run a batch process job, you could apply + a unique identifier for that job to your task with the `startedBy` + parameter. You can then identify which tasks belong to that job by + filtering the results of a + [ListTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTasks.html) + call with the `startedBy` value. Up to 128 letters (uppercase and + lowercase), numbers, hyphens (-), forward slash (/), and underscores + (_) are allowed. + + If a task is started by an Amazon ECS service, then the `startedBy` + parameter contains the deployment ID of the service that starts it. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the task to help you categorize and + organize them. Each tag consists of a key and an optional value, both of + which you define. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + task_definition: str | None = ... + """ + The `family` and `revision` (`family:revision`) or full ARN of the task + definition to run. If a `revision` isn't specified, the latest `ACTIVE` + revision is used. + + The full ARN value must match the value that you specified as the + `Resource` of the principal's permissions policy. + + When you specify a task definition, you must either specify a specific + revision, or all revisions in the ARN. + + To specify a specific revision, include the revision number in the ARN. + For example, to specify revision 2, use + `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:2`. + + To specify all revisions, use the wildcard (*) in the ARN. For example, + to specify all revisions, use + `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*`. + + For more information, see [Policy Resources for Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources) + in the Amazon Elastic Container Service Developer Guide. + """ + client_token: str | None = ... + """ + An identifier that you provide to ensure the idempotency of the request. + It must be unique and is case sensitive. Up to 64 characters are + allowed. The valid characters are characters in the range of 33-126, + inclusive. For more information, see [Ensuring + idempotency](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/ECS_Idempotency.html). + + This field is autopopulated if not provided. + """ + volume_configurations: list[TaskVolumeConfiguration] | None = ... + """ + The details of the volume that was `configuredAtLaunch`. You can + configure the size, volumeType, IOPS, throughput, snapshot and + encryption in + [TaskManagedEBSVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html). + The `name` of the volume must match the `name` from the task definition. + """ + +@dataclass(kw_only=True) +class RunTaskOutput(_SerdeShape): + """""" + + tasks: list[Task] | None = ... + """ + A full description of the tasks that were run. The tasks that were + successfully placed on your cluster are described here. + """ + failures: list[Failure] | None = ... + """ + Any failures associated with the call. + + For information about how to address failures, see [Service event + messages](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages.html#service-event-messages-list) + and [API failure + reasons](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RuntimePlatform(_SerdeShape): + """ + Information about the platform for the Amazon ECS service or task. + + For more information about `RuntimePlatform`, see + [RuntimePlatform](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + cpu_architecture: str | None = ... + """ + The CPU architecture. + + You can run your Linux tasks on an ARM-based platform by setting the + value to `ARM64`. This option is available for tasks that run on Linux + Amazon EC2 instance, Amazon ECS Managed Instances, or Linux containers + on Fargate. + """ + operating_system_family: str | None = ... + """The operating system.""" + +@dataclass(kw_only=True) +class RuntimePlatformOverride(_SerdeShape): + """ + The runtime platform that Amazon ECS applies to a service revision. This + value overrides the runtime platform specified in the task definition. + You can't set this value. + """ + + cpu_architecture: str | None = ... + """ + The CPU architecture that tasks in this service revision run on. This + value might differ from the architecture declared in the task + definition---for example, when Amazon ECS detects an architecture + mismatch during an Amazon ECS Express deployment and runs tasks on a + different architecture. You can't set this value. + + Valid values: + + - `X86_64` - The x86 64-bit architecture. + + - `ARM64` - The 64-bit ARM architecture. + """ + +@dataclass(kw_only=True) +class S3FilesVolumeConfiguration(_SerdeShape): + """ + This parameter is specified when you're using an Amazon S3 Files file + system for task storage. For more information, see [Amazon S3 Files + volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/s3files-volumes.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Warning: + Your task definition must include a Task IAM Role. See [IAM role for + attaching your file system to Amazon Web Services compute + resources](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-prereq-policies.html#s3-files-prereq-iam-compute-role) + for required permissions. + """ + + file_system_arn: str + """The full ARN of the S3 Files file system to mount.""" + root_directory: str | None = ... + """ + The directory within the Amazon S3 Files file system to mount as the + root directory. If this parameter is omitted, the root of the Amazon S3 + Files file system will be used. Specifying `/` will have the same effect + as omitting this parameter. + + Warning: + If a S3 Files access point is specified in the `accessPointArn`, the + root directory parameter must either be omitted or set to `/` which will + enforce the path set on the S3 Files access point. + """ + transit_encryption_port: int | None = ... + """ + The port to use for sending encrypted data between the ECS host and the + S3 Files file system. If you do not specify a transit encryption port, + it will use the port selection strategy that the Amazon S3 Files mount + helper uses. For more information, see [S3 Files mount + helper](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-mounting.html). + """ + access_point_arn: str | None = ... + """ + The full ARN of the S3 Files access point to use. If an access point is + specified, the root directory value specified in the + `S3FilesVolumeConfiguration` must either be omitted or set to `/` which + will enforce the path set on the S3 Files access point. For more + information, see [Creating S3 Files access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-access-points-creating.html). + """ + +@dataclass(kw_only=True) +class Scale(_SerdeShape): + """ + A floating-point percentage of the desired number of tasks to place and + keep running in the task set. + """ + + value: float = ... + """ + The value, specified as a percent total of a service's `desiredCount`, + to scale the task set. Accepted values are numbers between 0 and 100. + """ + unit: str | None = ... + """The unit of measure for the scale value.""" + +class ScaleUnit(UnknownEnumMixin, StrEnum): + PERCENT = "PERCENT" + +class SchedulingStrategy(UnknownEnumMixin, StrEnum): + REPLICA = "REPLICA" + DAEMON = "DAEMON" + +class Scope(UnknownEnumMixin, StrEnum): + TASK = "task" + SHARED = "shared" + +@dataclass(kw_only=True) +class Secret(_SerdeShape): + """ + An object representing the secret to expose to your container. Secrets + can be exposed to a container in the following ways: + + - To inject sensitive data into your containers as environment + variables, use the `secrets` container definition parameter. + + - To reference sensitive information in the log configuration of a + container, use the `secretOptions` container definition parameter. + + For more information, see [Specifying sensitive + data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + name: str + """The name of the secret.""" + value_from: str + """ + The secret to expose to the container. The supported values are either + the full ARN of the Secrets Manager secret or the full ARN of the + parameter in the SSM Parameter Store. + + For information about the require Identity and Access Management + permissions, see [Required IAM permissions for Amazon ECS + secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam) + (for Secrets Manager) or [Required IAM permissions for Amazon ECS + secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html) + (for Systems Manager Parameter store) in the *Amazon Elastic Container + Service Developer Guide*. + + Note: + If the SSM Parameter Store parameter exists in the same Region as the + task you're launching, then you can use either the full ARN or name of + the parameter. If the parameter exists in a different Region, then the + full ARN must be specified. + """ + +@dataclass(kw_only=True) +class ServerException(ServiceError, _SerdeShape): + """These errors are usually caused by a server issue.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Service(_SerdeShape): + """Details on a service within a cluster.""" + + service_arn: str | None = ... + """ + The ARN that identifies the service. For more information about the ARN + format, see [Amazon Resource Name + (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) + in the *Amazon ECS Developer Guide*. + """ + service_name: str | None = ... + """ + The name of your service. Up to 255 letters (uppercase and lowercase), + numbers, underscores, and hyphens are allowed. Service names must be + unique within a cluster. However, you can have similarly named services + in multiple clusters within a Region or across multiple Regions. + """ + cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) of the cluster that hosts the service.""" + load_balancers: list[LoadBalancer] | None = ... + """ + A list of Elastic Load Balancing load balancer objects. It contains the + load balancer name, the container name, and the container port to access + from the load balancer. The container name is as it appears in a + container definition. + """ + service_registries: list[ServiceRegistry] | None = ... + """ + The details for the service discovery registries to assign to this + service. For more information, see [Service + Discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). + """ + status: str | None = ... + """ + The status of the service. The valid values are `ACTIVE`, `DRAINING`, or + `INACTIVE`. + """ + desired_count: int = ... + """ + The desired number of instantiations of the task definition to keep + running on the service. This value is specified when the service is + created with + [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html) + , and it can be modified with + [UpdateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html). + """ + running_count: int = ... + """The number of tasks in the cluster that are in the `RUNNING` state.""" + pending_count: int = ... + """The number of tasks in the cluster that are in the `PENDING` state.""" + launch_type: str | None = ... + """ + The launch type the service is using. When using the DescribeServices + API, this field is omitted if the service was created using a capacity + provider strategy. + """ + capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """ + The capacity provider strategy the service uses. When using the + DescribeServices API, this field is omitted if the service was created + using a launch type. + """ + platform_version: str | None = ... + """ + The platform version to run your service on. A platform version is only + specified for tasks that are hosted on Fargate. If one isn't specified, + the `LATEST` platform version is used. For more information, see + [Fargate Platform + Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + platform_family: str | None = ... + """ + The operating system that your tasks in the service run on. A platform + family is specified only for tasks using the Fargate launch type. + + All tasks that run as part of this service must use the same + `platformFamily` value as the service (for example, `LINUX`). + """ + task_definition: str | None = ... + """ + The task definition to use for tasks in the service. This value is + specified when the service is created with + [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html), + and it can be modified with + [UpdateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html). + """ + deployment_configuration: DeploymentConfiguration | None = ... + """ + Optional deployment parameters that control how many tasks run during + the deployment and the ordering of stopping and starting tasks. + """ + task_sets: list[TaskSet] | None = ... + """ + Information about a set of Amazon ECS tasks in either an CodeDeploy or + an `EXTERNAL` deployment. An Amazon ECS task set includes details such + as the desired number of tasks, how many tasks are running, and whether + the task set serves production traffic. + """ + deployments: list[Deployment] | None = ... + """The current state of deployments for the service.""" + role_arn: str | None = ... + """ + The ARN of the IAM role that's associated with the service. It allows + the Amazon ECS container agent to register container instances with an + Elastic Load Balancing load balancer. + """ + events: list[ServiceEvent] | None = ... + """ + The event stream for your service. A maximum of 100 of the latest events + are displayed. + """ + created_at: datetime | None = ... + """The Unix timestamp for the time when the service was created.""" + current_service_deployment: str | None = ... + """The ARN of the current service deployment.""" + current_service_revisions: list[ServiceCurrentRevisionSummary] | None = ... + """The list of the service revisions.""" + placement_constraints: list[PlacementConstraint] | None = ... + """The placement constraints for the tasks in the service.""" + placement_strategy: list[PlacementStrategy] | None = ... + """ + The placement strategy that determines how tasks for the service are + placed. + """ + network_configuration: NetworkConfiguration | None = ... + """ + The VPC subnet and security group configuration for tasks that receive + their own elastic network interface by using the `awsvpc` networking + mode. + """ + health_check_grace_period_seconds: int | None = ... + """ + The period of time, in seconds, that the Amazon ECS service scheduler + ignores unhealthy Elastic Load Balancing, VPC Lattice, and container + health checks after a task has first started. + + If your service has more running tasks than desired, unhealthy tasks in + the grace period might be stopped to reach the desired count. + """ + scheduling_strategy: str | None = ... + """ + The scheduling strategy to use for the service. For more information, + see + [Services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html). + + There are two service scheduler strategies available. + + - `REPLICA`-The replica scheduling strategy places and maintains the + desired number of tasks across your cluster. By default, the service + scheduler spreads tasks across Availability Zones. You can use task + placement strategies and constraints to customize task placement + decisions. + + - `DAEMON`-The daemon scheduling strategy deploys exactly one task on + each active container instance. This task meets all of the task + placement constraints that you specify in your cluster. The service + scheduler also evaluates the task placement constraints for running + tasks. It stop tasks that don't meet the placement constraints. + + Note: + Fargate tasks don't support the `DAEMON` scheduling strategy. + """ + deployment_controller: DeploymentController | None = ... + """The deployment controller type the service is using.""" + tags: list[Tag] | None = ... + """ + The metadata that you apply to the service to help you categorize and + organize them. Each tag consists of a key and an optional value. You + define bot the key and value. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + created_by: str | None = ... + """The principal that created the service.""" + enable_ecs_managed_tags: bool = ... + """ + Determines whether to use Amazon ECS managed tags for the tasks in the + service. For more information, see [Tagging Your Amazon ECS + Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + propagate_tags: str | None = ... + """ + Determines whether to propagate the tags from the task definition or the + service to the task. If no value is specified, the tags aren't + propagated. + """ + enable_execute_command: bool = ... + """ + Determines whether the execute command functionality is turned on for + the service. If `true`, the execute command functionality is turned on + for all containers in tasks as part of the service. + """ + availability_zone_rebalancing: str | None = ... + """ + Indicates whether to use Availability Zone rebalancing for the service. + + For more information, see [Balancing an Amazon ECS service across + Availability + Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) + in the Amazon Elastic Container Service Developer Guide . + + The default behavior of `AvailabilityZoneRebalancing` differs between + create and update requests: + + - For create service requests, when no value is specified for + `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to + `ENABLED`. + + - For update service requests, when no value is specified for + `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing + service's `AvailabilityZoneRebalancing` value. If the service never + had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats this + as `DISABLED`. + """ + resource_management_type: str | None = ... + """ + Identifies whether an ECS Service is an Express Service managed by ECS, + or managed by the customer. The valid values are `ECS` and `CUSTOMER` + """ + +@dataclass(kw_only=True) +class ServiceConnectAccessLogConfiguration(_SerdeShape): + """ + Configuration for Service Connect access logging. Access logs provide + detailed information about requests made to your service, including + request patterns, response codes, and timing data for debugging and + monitoring purposes. + + Note: + To enable access logs, you must also specify a `logConfiguration` in the + `serviceConnectConfiguration`. + """ + + format: str + """ + The format for Service Connect access log output. Choose TEXT for + human-readable logs or JSON for structured data that integrates well + with log analysis tools. + """ + include_query_parameters: str | None = ... + """ + Specifies whether to include query parameters in Service Connect access + logs. + + When enabled, query parameters from HTTP requests are included in the + access logs. Consider security and privacy implications when enabling + this feature, as query parameters may contain sensitive information such + as request IDs and tokens. By default, this parameter is `DISABLED`. + """ + +class ServiceConnectAccessLoggingFormat(UnknownEnumMixin, StrEnum): + """ + The format for Service Connect access log output. Choose TEXT for + human-readable logs or JSON for structured data that integrates well + with log analysis tools. + """ + + TEXT = "TEXT" + JSON = "JSON" + +@dataclass(kw_only=True) +class ServiceConnectClientAlias(_SerdeShape): + """ + Each alias (\"endpoint\") is a fully-qualified name and port number that + other tasks (\"clients\") can use to connect to this service. + + Each name and port mapping must be unique within the namespace. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + port: int + """ + The listening port number for the Service Connect proxy. This port is + available inside of all of the tasks within the same namespace. + + To avoid changing your applications in client Amazon ECS services, set + this to the same port that the client application uses by default. For + more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + dns_name: str | None = ... + """ + The `dnsName` is the name that you use in the applications of client + tasks to connect to this service. The name must be a valid DNS name but + doesn't need to be fully-qualified. The name can include up to 127 + characters. The name can include lowercase letters, numbers, underscores + (_), hyphens (-), and periods (.). The name can't start with a hyphen. + + If this parameter isn't specified, the default value of + `discoveryName.namespace` is used. If the `discoveryName` isn't + specified, the port mapping name from the task definition is used in + `portName.namespace`. + + To avoid changing your applications in client Amazon ECS services, set + this to the same name that the client application uses by default. For + example, a few common names are `database`, `db`, or the lowercase name + of a database, such as `mysql` or `redis`. For more information, see + [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + test_traffic_rules: ServiceConnectTestTrafficRules | None = ... + """ + The configuration for test traffic routing rules used during blue/green + deployments with Amazon ECS Service Connect. This allows you to route a + portion of traffic to the new service revision of your service for + testing before shifting all production traffic. + """ + +@dataclass(kw_only=True) +class ServiceConnectConfiguration(_SerdeShape): + """ + The Service Connect configuration of your Amazon ECS service. The + configuration for this service to discover and connect to services, and + be discovered by, and connected from, other services within a namespace. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + enabled: bool = ... + """Specifies whether to use Service Connect with this service.""" + namespace: str | None = ... + """ + The namespace name or full Amazon Resource Name (ARN) of the Cloud Map + namespace for use with Service Connect. The namespace must be in the + same Amazon Web Services Region as the Amazon ECS service and cluster. + The type of namespace doesn't affect Service Connect. For more + information about Cloud Map, see [Working with + Services](https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html) + in the *Cloud Map Developer Guide*. + """ + services: list[ServiceConnectService] | None = ... + """ + The list of Service Connect service objects. These are names and aliases + (also known as endpoints) that are used by other Amazon ECS services to + connect to this service. + + This field is not required for a \"client\" Amazon ECS service that's a + member of a namespace only to connect to other services within the + namespace. An example of this would be a frontend application that + accepts incoming requests from either a load balancer that's attached + to the service or by other means. + + An object selects a port from the task definition, assigns a name for + the Cloud Map service, and a list of aliases (endpoints) and ports for + client applications to refer to this service. + """ + log_configuration: LogConfiguration | None = ... + """ + The log configuration for the container. This parameter maps to + `LogConfig` in the docker container create command and the + `--log-driver` option to docker run. + + By default, containers use the same logging driver that the Docker + daemon uses. However, the container might use a different logging driver + than the Docker daemon by specifying a log driver configuration in the + container definition. + + Understand the following when specifying a log configuration for your + containers. + + - Amazon ECS currently supports a subset of the logging drivers + available to the Docker daemon. Additional log drivers may be + available in future releases of the Amazon ECS container agent. + + For tasks on Fargate, the supported log drivers are `awslogs`, + `splunk`, and `awsfirelens`. + + For tasks hosted on Amazon EC2 instances, the supported log drivers + are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`,`syslog`, + `splunk`, and `awsfirelens`. + + For tasks on Amazon ECS Managed Instances, the supported log drivers + are `awslogs`, `splunk`, `awsfirelens`, and `json-file`. + + - This parameter requires version 1.18 of the Docker Remote API or + greater on your container instance. + + - For tasks that are hosted on Amazon EC2 instances, the Amazon ECS + container agent must register the available logging drivers with the + `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers + placed on that instance can use these log configuration options. For + more information, see [Amazon ECS container agent + configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) + in the *Amazon Elastic Container Service Developer Guide*. + + - For tasks that are on Fargate, because you don't have access to the + underlying infrastructure your tasks are hosted on, any additional + software needed must be installed outside of the task. For example, + the Fluentd output aggregators or a remote host running Logstash to + send Gelf logs to. + """ + access_log_configuration: ServiceConnectAccessLogConfiguration | None = ... + """ + The configuration for Service Connect access logging. Access logs + capture detailed information about requests made to your service, + including request patterns, response codes, and timing data. They can be + useful for debugging connectivity issues, monitoring service + performance, and auditing service-to-service communication for security + and compliance purposes. + + Note: + To enable access logs, you must also specify a `logConfiguration` in the + `serviceConnectConfiguration`. + """ + container_configurations: list[ServiceConnectContainerConfiguration] | None = ... + """ + The settings for the Service Connect proxy container that Amazon ECS + adds to each task in this service. Each object in the list sets exactly + one setting, and each setting can appear only once in the list. + + Your changes to these settings apply only to tasks that Amazon ECS + launches after you update the service. Your running tasks keep their + existing settings until Amazon ECS replaces them. If you update the + `serviceConnectConfiguration` of your service and don't include + `containerConfigurations`, the proxy container settings return to their + defaults. + """ + +@dataclass +class ServiceConnectContainerConfigurationLogLevel(_SerdeShape): + """ + The log level of the Service Connect proxy container. Set the log level + to `debug` to collect more detailed proxy logs when you troubleshoot + connectivity issues between services, and set it back to `info` when you + finish. Debug logging increases the volume of logs that the proxy + container writes. If you don't specify a log level, the default is + `info`. + """ + + value: str + +@dataclass +class ServiceConnectContainerConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ServiceConnectContainerConfiguration = Union[ + ServiceConnectContainerConfigurationLogLevel + | ServiceConnectContainerConfigurationUnknown +] +""" +Contains a configuration setting for the Service Connect proxy +container, such as the log level. Specify exactly one member in each +object. +""" + +class _ServiceConnectContainerConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> ServiceConnectContainerConfiguration: ... + +class ServiceConnectContainerLogLevel(UnknownEnumMixin, StrEnum): + """ + The log level of the Service Connect proxy container. + + Valid values: + + - `debug` - Collects more detailed proxy logs for troubleshooting + connectivity issues between services. + + - `info` - The default log level. + """ + + DEBUG = "debug" + INFO = "info" + +class ServiceConnectIncludeQueryParameters(UnknownEnumMixin, StrEnum): + """ + Controls whether query parameters are included in Service Connect access + logs. Consider security and privacy implications when enabling this + feature. By default, this parameter is `DISABLED`. + """ + + DISABLED = "DISABLED" + ENABLED = "ENABLED" + +@dataclass(kw_only=True) +class ServiceConnectService(_SerdeShape): + """ + The Service Connect service object configuration. For more information, + see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + port_name: str + """ + The `portName` must match the name of one of the `portMappings` from all + the containers in the task definition of this Amazon ECS service. + """ + discovery_name: str | None = ... + """ + The `discoveryName` is the name of the new Cloud Map service that Amazon + ECS creates for this Amazon ECS service. This must be unique within the + Cloud Map namespace. The name can contain up to 64 characters. The name + can include lowercase letters, numbers, underscores (_), and hyphens + (-). The name can't start with a hyphen. + + If the `discoveryName` isn't specified, the port mapping name from the + task definition is used in `portName.namespace`. + """ + client_aliases: list[ServiceConnectClientAlias] | None = ... + """ + The list of client aliases for this Service Connect service. You use + these to assign names that can be used by client applications. The + maximum number of client aliases that you can have in this list is 1. + + Each alias (\"endpoint\") is a fully-qualified name and port number that + other Amazon ECS tasks (\"clients\") can use to connect to this service. + + Each name and port mapping must be unique within the namespace. + + For each `ServiceConnectService`, you must provide at least one + `clientAlias` with one `port`. + """ + ingress_port_override: int | None = ... + """ + The port number for the Service Connect proxy to listen on. + + Use the value of this field to bypass the proxy for traffic on the port + number specified in the named `portMapping` in the task definition of + this application, and then use it in your VPC security groups to allow + traffic into the proxy for this Amazon ECS service. + + In `awsvpc` mode and Fargate, the default value is the container port + number. The container port number is in the `portMapping` in the task + definition. In bridge mode, the default value is the ephemeral port of + the Service Connect proxy. + """ + timeout: TimeoutConfiguration | None = ... + """ + A reference to an object that represents the configured timeouts for + Service Connect. + """ + tls: ServiceConnectTlsConfiguration | None = ... + """ + A reference to an object that represents a Transport Layer Security + (TLS) configuration. + """ + +@dataclass(kw_only=True) +class ServiceConnectServiceResource(_SerdeShape): + """ + The Service Connect resource. Each configuration maps a discovery name + to a Cloud Map service name. The data is stored in Cloud Map as part of + the Service Connect configuration for each discovery name of this Amazon + ECS service. + + A task can resolve the `dnsName` for each of the `clientAliases` of a + service. However a task can't resolve the discovery names. If you want + to connect to a service, refer to the `ServiceConnectConfiguration` of + that service for the list of `clientAliases` that you can use. + """ + + discovery_name: str | None = ... + """ + The discovery name of this Service Connect resource. + + The `discoveryName` is the name of the new Cloud Map service that Amazon + ECS creates for this Amazon ECS service. This must be unique within the + Cloud Map namespace. The name can contain up to 64 characters. The name + can include lowercase letters, numbers, underscores (_), and hyphens + (-). The name can't start with a hyphen. + + If the `discoveryName` isn't specified, the port mapping name from the + task definition is used in `portName.namespace`. + """ + discovery_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the service in Cloud Map that matches + the discovery name for this Service Connect resource. You can use this + ARN in other integrations with Cloud Map. However, Service Connect + can't ensure connectivity outside of Amazon ECS. + """ + +@dataclass(kw_only=True) +class ServiceConnectTestTrafficHeaderMatchRules(_SerdeShape): + """ + The header matching rules for test traffic routing in Amazon ECS + blue/green deployments. These rules determine how incoming requests are + matched based on HTTP headers to route test traffic to the new service + revision. + """ + + exact: str + """ + The exact value that the HTTP header must match for the test traffic + routing rule to apply. This provides precise control over which requests + are routed to the new service revision during blue/green deployments. + """ + +@dataclass(kw_only=True) +class ServiceConnectTestTrafficHeaderRules(_SerdeShape): + """ + The HTTP header rules used to identify and route test traffic during + Amazon ECS blue/green deployments. These rules specify which HTTP + headers to examine and what values to match for routing decisions. + + For more information, see [Service Connect for Amazon ECS blue/green + deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect-blue-green.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + name: str + """ + The name of the HTTP header to examine for test traffic routing. Common + examples include custom headers like `X-Test-Version` or + `X-Canary-Request` that can be used to identify test traffic. + """ + value: ServiceConnectTestTrafficHeaderMatchRules | None = ... + """ + The header value matching configuration that determines how the HTTP + header value is evaluated for test traffic routing decisions. + """ + +@dataclass(kw_only=True) +class ServiceConnectTestTrafficRules(_SerdeShape): + """ + The test traffic routing configuration for Amazon ECS blue/green + deployments. This configuration allows you to define rules for routing + specific traffic to the new service revision during the deployment + process, allowing for safe testing before full production traffic shift. + + For more information, see [Service Connect for Amazon ECS blue/green + deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect-blue-green.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + header: ServiceConnectTestTrafficHeaderRules + """ + The HTTP header-based routing rules that determine which requests should + be routed to the new service version during blue/green deployment + testing. These rules provide fine-grained control over test traffic + routing based on request headers. + """ + +@dataclass(kw_only=True) +class ServiceConnectTlsCertificateAuthority(_SerdeShape): + """The certificate root authority that secures your service.""" + + aws_pca_authority_arn: str | None = ... + """ + The ARN of the Amazon Web Services Private Certificate Authority + certificate. + """ + +@dataclass(kw_only=True) +class ServiceConnectTlsConfiguration(_SerdeShape): + """ + The key that encrypts and decrypts your resources for Service Connect + TLS. + """ + + issuer_certificate_authority: ServiceConnectTlsCertificateAuthority + """The signer certificate authority.""" + kms_key: str | None = ... + """The Amazon Web Services Key Management Service key.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that's associated with + the Service Connect TLS. + """ + +@dataclass(kw_only=True) +class ServiceCurrentRevisionSummary(_SerdeShape): + """The summary of the current service revision configuration""" + + arn: str | None = ... + """The ARN of the current service revision.""" + requested_task_count: int = ... + """The number of requested tasks in the current service revision""" + running_task_count: int = ... + """The number of running tasks of the current service revision""" + pending_task_count: int = ... + """The number of pending tasks in the current service revision""" + +@dataclass(kw_only=True) +class ServiceDeployment(_SerdeShape): + """ + Information about the service deployment. + + Service deployments provide a comprehensive view of your deployments. + For information about service deployments, see [View service history + using Amazon ECS service + deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployment.html) + in the Amazon Elastic Container Service Developer Guide . + """ + + service_deployment_arn: str | None = ... + """The ARN of the service deployment.""" + service_arn: str | None = ... + """The ARN of the service for this service deployment.""" + cluster_arn: str | None = ... + """The ARN of the cluster that hosts the service.""" + created_at: datetime | None = ... + """ + The time the service deployment was created. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + started_at: datetime | None = ... + """ + The time the service deployment statred. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + finished_at: datetime | None = ... + """ + The time the service deployment finished. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + stopped_at: datetime | None = ... + """ + The time the service deployment stopped. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + + The service deployment stops when any of the following actions happen: + + - A user manually stops the deployment + + - The rollback option is not in use for the failure detection mechanism + (the circuit breaker or alarm-based) and the service fails. + """ + updated_at: datetime | None = ... + """ + The time that the service deployment was last updated. The format is + yyyy-MM-dd HH:mm:ss.SSSSSS. + """ + source_service_revisions: list[ServiceRevisionSummary] | None = ... + """The currently deployed workload configuration.""" + target_service_revision: ServiceRevisionSummary | None = ... + """The workload configuration being deployed.""" + status: str | None = ... + """The service deployment state.""" + status_reason: str | None = ... + """ + Information about why the service deployment is in the current status. + For example, the circuit breaker detected a failure. + """ + lifecycle_stage: str | None = ... + """ + The current lifecycle stage of the deployment. Possible values include: + + - RECONCILE_SERVICE + + The reconciliation stage that only happens when you start a new + service deployment with more than 1 service revision in an ACTIVE + state. + + - PRE_SCALE_UP + + The green service revision has not started. The blue service revision + is handling 100% of the production traffic. There is no test traffic. + + - SCALE_UP + + The stage when the green service revision scales up to 100% and + launches new tasks. The green service revision is not serving any + traffic at this point. + + - POST_SCALE_UP + + The green service revision has started. The blue service revision is + handling 100% of the production traffic. There is no test traffic. + + - TEST_TRAFFIC_SHIFT + + The blue and green service revisions are running. The blue service + revision handles 100% of the production traffic. The green service + revision is migrating from 0% to 100% of test traffic. + + - POST_TEST_TRAFFIC_SHIFT + + The test traffic shift is complete. The green service revision handles + 100% of the test traffic. + + - PRE_PRODUCTION_TRAFFIC_SHIFT + + Occurs before production traffic shift. For linear and canary + deployments, this stage is invoked before every traffic shift step. + + - PRODUCTION_TRAFFIC_SHIFT + + Production traffic is shifting to the green service revision. The + green service revision is migrating from 0% to 100% of production + traffic. For linear and canary deployments, this stage is invoked at + every traffic shift step. + + - POST_PRODUCTION_TRAFFIC_SHIFT + + The production traffic shift is complete. + + - BAKE_TIME + + The stage when both blue and green service revisions are running + simultaneously after the production traffic has shifted. + + - CLEAN_UP + + The stage when the blue service revision has completely scaled down to + 0 running tasks. The green service revision is now the production + service revision after this stage. + """ + lifecycle_hook_details: list[DeploymentLifecycleHookDetail] | None = ... + """The details of the lifecycle hooks for the current service deployment.""" + deployment_configuration: DeploymentConfiguration | None = ... + """ + Optional deployment parameters that control how many tasks run during a + deployment and the ordering of stopping and starting tasks. + """ + rollback: Rollback | None = ... + """ + The rollback options the service deployment uses when the deployment + fails. + """ + deployment_circuit_breaker: ServiceDeploymentCircuitBreaker | None = ... + """ + The circuit breaker configuration that determines a service deployment + failed. + """ + alarms: ServiceDeploymentAlarms | None = ... + """The CloudWatch alarms that determine when a service deployment fails.""" + +@dataclass(kw_only=True) +class ServiceDeploymentAlarms(_SerdeShape): + """ + The CloudWatch alarms used to determine a service deployment failed. + + Amazon ECS considers the service deployment as failed when any of the + alarms move to the `ALARM` state. For more information, see [How + CloudWatch alarms detect Amazon ECS deployment + failures](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-alarm-failure.html) + in the Amazon ECS Developer Guide. + """ + + status: str | None = ... + """ + The status of the alarms check. Amazon ECS is not using alarms for + service deployment failures when the status is `DISABLED`. + """ + alarm_names: list[str] | None = ... + """ + The name of the CloudWatch alarms that determine when a service + deployment failed. A \",\" separates the alarms. + """ + triggered_alarm_names: list[str] | None = ... + """ + One or more CloudWatch alarm names that have been triggered during the + service deployment. A \",\" separates the alarm names. + """ + +@dataclass(kw_only=True) +class ServiceDeploymentBrief(_SerdeShape): + """ + The service deployment properties that are retured when you call + `ListServiceDeployments`. + + This provides a high-level overview of the service deployment. + """ + + service_deployment_arn: str | None = ... + """The ARN of the service deployment.""" + service_arn: str | None = ... + """The ARN of the service for this service deployment.""" + cluster_arn: str | None = ... + """The ARN of the cluster that hosts the service.""" + started_at: datetime | None = ... + """ + The time that the service deployment statred. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + created_at: datetime | None = ... + """ + The time that the service deployment was created. The format is + yyyy-MM-dd HH:mm:ss.SSSSSS. + """ + finished_at: datetime | None = ... + """ + The time that the service deployment completed. The format is yyyy-MM-dd + HH:mm:ss.SSSSSS. + """ + target_service_revision_arn: str | None = ... + """The ARN of the service revision being deplyed.""" + status: str | None = ... + """The status of the service deployment""" + status_reason: str | None = ... + """ + Information about why the service deployment is in the current status. + For example, the circuit breaker detected a deployment failure. + """ + +@dataclass(kw_only=True) +class ServiceDeploymentCircuitBreaker(_SerdeShape): + """ + Information about the circuit breaker used to determine when a service + deployment has failed. + + The deployment circuit breaker is the rolling update mechanism that + determines if the tasks reach a steady state. The deployment circuit + breaker has an option that will automatically roll back a failed + deployment to the last cpompleted service revision. For more + information, see [How the Amazon ECS deployment circuit breaker detects + failures](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-circuit-breaker.html) + in the *Amazon ECS Developer Guide*. + """ + + status: str | None = ... + """ + The circuit breaker status. Amazon ECS is not using the circuit breaker + for service deployment failures when the status is `DISABLED`. + """ + failure_count: int = ... + """ + The number of times the circuit breaker detected a service deploymeny + failure. + """ + threshold: int = ... + """ + The threshhold which determines that the service deployment failed. + + The deployment circuit breaker calculates the threshold value, and then + uses the value to determine when to move the deployment to a FAILED + state. The deployment circuit breaker has a minimum threshold of 3 and a + maximum threshold of 200. and uses the values in the following formula + to determine the deployment failure. + + `0.5 * desired task count` + """ + +class ServiceDeploymentLifecycleStage(UnknownEnumMixin, StrEnum): + RECONCILE_SERVICE = "RECONCILE_SERVICE" + PRE_SCALE_UP = "PRE_SCALE_UP" + SCALE_UP = "SCALE_UP" + POST_SCALE_UP = "POST_SCALE_UP" + TEST_TRAFFIC_SHIFT = "TEST_TRAFFIC_SHIFT" + POST_TEST_TRAFFIC_SHIFT = "POST_TEST_TRAFFIC_SHIFT" + PRODUCTION_TRAFFIC_SHIFT = "PRODUCTION_TRAFFIC_SHIFT" + POST_PRODUCTION_TRAFFIC_SHIFT = "POST_PRODUCTION_TRAFFIC_SHIFT" + BAKE_TIME = "BAKE_TIME" + CLEAN_UP = "CLEAN_UP" + +@dataclass(kw_only=True) +class ServiceDeploymentNotFoundException(ServiceError, _SerdeShape): + """ + The service deploy ARN that you specified in the + `ContinueServiceDeployment` doesn't exist. You can use + `ListServiceDeployments` to retrieve the service deployment ARNs. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ServiceDeploymentRollbackMonitorsStatus(UnknownEnumMixin, StrEnum): + TRIGGERED = "TRIGGERED" + MONITORING = "MONITORING" + MONITORING_COMPLETE = "MONITORING_COMPLETE" + DISABLED = "DISABLED" + +class ServiceDeploymentStatus(UnknownEnumMixin, StrEnum): + PENDING = "PENDING" + SUCCESSFUL = "SUCCESSFUL" + STOPPED = "STOPPED" + STOP_REQUESTED = "STOP_REQUESTED" + IN_PROGRESS = "IN_PROGRESS" + ROLLBACK_REQUESTED = "ROLLBACK_REQUESTED" + ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" + ROLLBACK_SUCCESSFUL = "ROLLBACK_SUCCESSFUL" + ROLLBACK_FAILED = "ROLLBACK_FAILED" + +@dataclass(kw_only=True) +class ServiceEvent(_SerdeShape): + """The details for an event that's associated with a service.""" + + id: str | None = ... + """The ID string for the event.""" + created_at: datetime | None = ... + """The Unix timestamp for the time when the event was triggered.""" + message: str | None = ... + """The event message.""" + +class ServiceField(UnknownEnumMixin, StrEnum): + TAGS = "TAGS" + +@dataclass(kw_only=True) +class ServiceManagedEBSVolumeConfiguration(_SerdeShape): + """ + The configuration for the Amazon EBS volume that Amazon ECS creates and + manages on your behalf. These settings are used to create each Amazon + EBS volume, with one volume created for each task in the service. For + information about the supported launch types and operating systems, see + [Supported operating systems and launch + types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volumes-configuration) + in the *Amazon Elastic Container Service Developer Guide*. + + Many of these parameters map 1:1 with the Amazon EBS `CreateVolume` API + request parameters. + """ + + encrypted: bool | None = ... + """ + Indicates whether the volume should be encrypted. If you turn on + Region-level Amazon EBS encryption by default but set this value as + `false`, the setting is overridden and the volume is encrypted with the + KMS key specified for Amazon EBS encryption by default. This parameter + maps 1:1 with the `Encrypted` parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + """ + kms_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key + Management Service key to use for Amazon EBS encryption. When a key is + specified using this parameter, it overrides Amazon EBS default + encryption or any KMS key that you specified for cluster-level managed + storage encryption. This parameter maps 1:1 with the `KmsKeyId` + parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. For more information about encrypting + Amazon EBS volumes attached to tasks, see [Encrypt data stored in Amazon + EBS volumes attached to Amazon ECS + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html). + + Warning: + Amazon Web Services authenticates the Amazon Web Services Key Management + Service key asynchronously. Therefore, if you specify an ID, alias, or + ARN that is invalid, the action can appear to complete, but eventually + fails. + """ + volume_type: str | None = ... + """ + The volume type. This parameter maps 1:1 with the `VolumeType` parameter + of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS + volume + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) + in the *Amazon EC2 User Guide*. + + The following are the supported volume types. + + - General Purpose SSD: `gp2`|`gp3` + + - Provisioned IOPS SSD: `io1`|`io2` + + - Throughput Optimized HDD: `st1` + + - Cold HDD: `sc1` + + - Magnetic: `standard` + + Note: + The magnetic volume type is not supported on Fargate. + """ + size_in_gi_b: int | None = ... + """ + The size of the volume in GiB. You must specify either a volume size or + a snapshot ID. If you specify a snapshot ID, the snapshot size is used + for the volume size by default. You can optionally specify a volume size + greater than or equal to the snapshot size. This parameter maps 1:1 with + the `Size` parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + + The following are the supported volume size values for each volume type. + + - `gp2` and `gp3`: 1-16,384 + + - `io1` and `io2`: 4-16,384 + + - `st1` and `sc1`: 125-16,384 + + - `standard`: 1-1,024 + """ + snapshot_id: str | None = ... + """ + The snapshot that Amazon ECS uses to create volumes for attachment to + tasks maintained by the service. You must specify either `snapshotId` or + `sizeInGiB` in your volume configuration. This parameter maps 1:1 with + the `SnapshotId` parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + """ + volume_initialization_rate: int | None = ... + """ + The rate, in MiB/s, at which data is fetched from a snapshot of an + existing EBS volume to create new volumes for attachment to the tasks + maintained by the service. This property can be specified only if you + specify a `snapshotId`. For more information, see [Initialize Amazon EBS + volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) + in the *Amazon EBS User Guide*. + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS). For `gp3`, `io1`, and + `io2` volumes, this represents the number of IOPS that are provisioned + for the volume. For `gp2` volumes, this represents the baseline + performance of the volume and the rate at which the volume accumulates + I/O credits for bursting. + + The following are the supported values for each volume type. + + - `gp3`: 3,000 - 16,000 IOPS + + - `io1`: 100 - 64,000 IOPS + + - `io2`: 100 - 256,000 IOPS + + This parameter is required for `io1` and `io2` volume types. The default + for `gp3` volumes is `3,000 IOPS`. This parameter is not supported for + `st1`, `sc1`, or `standard` volume types. + + This parameter maps 1:1 with the `Iops` parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + """ + throughput: int | None = ... + """ + The throughput to provision for a volume, in MiB/s, with a maximum of + 1,000 MiB/s. This parameter maps 1:1 with the `Throughput` parameter of + the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + + Warning: + This parameter is only supported for the `gp3` volume type. + """ + tag_specifications: list[EBSTagSpecification] | None = ... + """ + The tags to apply to the volume. Amazon ECS applies service-managed tags + by default. This parameter maps 1:1 with the `TagSpecifications.N` + parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + """ + role_arn: str + """ + The ARN of the IAM role to associate with this volume. This is the + Amazon ECS infrastructure IAM role that is used to manage your Amazon + Web Services infrastructure. We recommend using the Amazon ECS-managed + `AmazonECSInfrastructureRolePolicyForVolumes` IAM policy with this role. + For more information, see [Amazon ECS infrastructure IAM + role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) + in the *Amazon ECS Developer Guide*. + """ + filesystem_type: str | None = ... + """ + The filesystem type for the volume. For volumes created from a snapshot, + you must specify the same filesystem type that the volume was using when + the snapshot was created. If there is a filesystem type mismatch, the + tasks will fail to start. + + The available Linux filesystem types are `ext3`, `ext4`, and `xfs`. If + no value is specified, the `xfs` filesystem type is used by default. + + The available Windows filesystem types are `NTFS`. + """ + +@dataclass(kw_only=True) +class ServiceNotActiveException(ServiceError, _SerdeShape): + """ + The specified service isn't active. You can't update a service that's + inactive. If you have previously deleted a service, you can re-create it + with + [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceNotFoundException(ServiceError, _SerdeShape): + """ + The specified service wasn't found. You can view your available + services with + [ListServices](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html). + Amazon ECS services are cluster specific and Region specific. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceRegistry(_SerdeShape): + """ + The details for the service registry. + + Each service may be associated with one service registry. Multiple + service registries for each service are not supported. + + When you add, update, or remove the service registries configuration, + Amazon ECS starts a new deployment. New tasks are registered and + deregistered to the updated service registry configuration. + """ + + registry_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the service registry. The currently + supported service registry is Cloud Map. For more information, see + [CreateService](https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html). + """ + port: int | None = ... + """ + The port value used if your service discovery service specified an SRV + record. This field might be used if both the `awsvpc` network mode and + SRV records are used. + """ + container_name: str | None = ... + """ + The container name value to be used for your service discovery service. + It's already specified in the task definition. If the task definition + that your service task specifies uses the `bridge` or `host` network + mode, you must specify a `containerName` and `containerPort` combination + from the task definition. If the task definition that your service task + specifies uses the `awsvpc` network mode and a type SRV DNS record is + used, you must specify either a `containerName` and `containerPort` + combination or a `port` value. However, you can't specify both. + """ + container_port: int | None = ... + """ + The port value to be used for your service discovery service. It's + already specified in the task definition. If the task definition your + service task specifies uses the `bridge` or `host` network mode, you + must specify a `containerName` and `containerPort` combination from the + task definition. If the task definition your service task specifies uses + the `awsvpc` network mode and a type SRV DNS record is used, you must + specify either a `containerName` and `containerPort` combination or a + `port` value. However, you can't specify both. + """ + +@dataclass(kw_only=True) +class ServiceRevision(_SerdeShape): + """ + Information about the service revision. + + A service revision contains a record of the workload configuration + Amazon ECS is attempting to deploy. Whenever you create or deploy a + service, Amazon ECS automatically creates and captures the configuration + that you're trying to deploy in the service revision. For information + about service revisions, see [Amazon ECS service + revisions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-revision.html) + in the Amazon Elastic Container Service Developer Guide . + """ + + service_revision_arn: str | None = ... + """The ARN of the service revision.""" + service_arn: str | None = ... + """The ARN of the service for the service revision.""" + cluster_arn: str | None = ... + """The ARN of the cluster that hosts the service.""" + task_definition: str | None = ... + """The task definition the service revision uses.""" + capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """The capacity provider strategy the service revision uses.""" + launch_type: str | None = ... + """The launch type the service revision uses.""" + platform_version: str | None = ... + """ + For the Fargate launch type, the platform version the service revision + uses. + """ + platform_family: str | None = ... + """The platform family the service revision uses.""" + load_balancers: list[LoadBalancer] | None = ... + """The load balancers the service revision uses.""" + service_registries: list[ServiceRegistry] | None = ... + """ + The service registries (for Service Discovery) the service revision + uses. + """ + network_configuration: NetworkConfiguration | None = ... + """The network configuration for a task or service.""" + container_images: list[ContainerImage] | None = ... + """The container images the service revision uses.""" + guard_duty_enabled: bool = ... + """Indicates whether Runtime Monitoring is turned on.""" + service_connect_configuration: ServiceConnectConfiguration | None = ... + """ + The Service Connect configuration of your Amazon ECS service. The + configuration for this service to discover and connect to services, and + be discovered by, and connected from, other services within a namespace. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + volume_configurations: list[ServiceVolumeConfiguration] | None = ... + """ + The volumes that are configured at deployment that the service revision + uses. + """ + fargate_ephemeral_storage: DeploymentEphemeralStorage | None = ... + """The amount of ephemeral storage to allocate for the deployment.""" + created_at: datetime | None = ... + """ + The time that the service revision was created. The format is yyyy-mm-dd + HH:mm:ss.SSSSS. + """ + vpc_lattice_configurations: list[VpcLatticeConfiguration] | None = ... + """The VPC Lattice configuration for the service revision.""" + resolved_configuration: ResolvedConfiguration | None = ... + """ + The resolved configuration for the service revision which contains the + actual resources your service revision uses, such as which target groups + serve traffic. + """ + ecs_managed_resources: ECSManagedResources | None = ... + """ + The resources created and managed by Amazon ECS when you create an + Express service for Amazon ECS. + """ + overrides: ServiceRevisionOverrides | None = ... + """ + The effective runtime overrides that Amazon ECS applies to this service + revision. This value is present only when Amazon ECS detects a + difference between the task definition and the actual runtime + configuration. + """ + gateway_connectors: list[GatewayConnector] | None = ... + """The gateway connectors that are associated with the service revision.""" + monitoring: MonitoringConfiguration | None = ... + """ + The optional monitoring configuration for the service, which defines the + resolution for the service-level `CPUUtilization` and + `MemoryUtilization` Amazon CloudWatch metrics. When not specified, + Amazon ECS uses the default resolution of `60` seconds. + """ + +class ServiceRevisionCleanup(UnknownEnumMixin, StrEnum): + """ + The time when Amazon ECS removes the source revisions' tasks relative + to deployment completion. When set to `BLOCKING`, Amazon ECS removes the + previous tasks before completing the deployment. When set to `DEFERRED`, + Amazon ECS completes the deployment first and removes the previous tasks + in the background. + """ + + BLOCKING = "BLOCKING" + DEFERRED = "DEFERRED" + +@dataclass(kw_only=True) +class ServiceRevisionLoadBalancer(_SerdeShape): + """ + The resolved load balancer configuration for a service revision. This + includes information about which target groups serve traffic and which + listener rules direct traffic to them. + """ + + target_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the target group associated with the + service revision. + """ + production_listener_rule: str | None = ... + """ + The Amazon Resource Name (ARN) of the production listener rule or + listener that directs traffic to the target group associated with the + service revision. + """ + +@dataclass(kw_only=True) +class ServiceRevisionOverrides(_SerdeShape): + """ + Contains the runtime overrides that Amazon ECS automatically applies to + a service revision when the effective runtime configuration differs from + the task definition. This value is read-only. + """ + + runtime_platform: RuntimePlatformOverride | None = ... + """ + The runtime platform override that Amazon ECS automatically applies to + the service revision. You can't set this value. + """ + +@dataclass(kw_only=True) +class ServiceRevisionSummary(_SerdeShape): + """ + The information about the number of requested, pending, and running + tasks for a service revision. + """ + + arn: str | None = ... + """The ARN of the service revision.""" + requested_task_count: int = ... + """The number of requested tasks for the service revision.""" + running_task_count: int = ... + """The number of running tasks for the service revision.""" + pending_task_count: int = ... + """The number of pending tasks for the service revision.""" + requested_test_traffic_weight: float | None = ... + """ + The percentage of test traffic that is directed to this service + revision. This value represents a snapshot of the traffic distribution + and may not reflect real-time changes during active deployments. Valid + values are 0.0 to 100.0. + """ + requested_production_traffic_weight: float | None = ... + """ + The percentage of production traffic that is directed to this service + revision. This value represents a snapshot of the traffic distribution + and may not reflect real-time changes during active deployments. Valid + values are 0.0 to 100.0. + """ + +@dataclass(kw_only=True) +class ServiceRevisionVpcLatticeConfiguration(_SerdeShape): + """ + The resolved VPC Lattice configuration for a service revision. This + includes information about which target groups serve traffic and which + listener rules direct traffic to them. + """ + + target_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the target group associated with the + service revision. + """ + production_listener_rule: str | None = ... + """ + The Amazon Resource Name (ARN) of the production listener rule or + listener that directs traffic to the target group associated with the + service revision. + """ + +@dataclass(kw_only=True) +class ServiceVolumeConfiguration(_SerdeShape): + """ + The configuration for a volume specified in the task definition as a + volume that is configured at launch time. Currently, the only supported + volume type is an Amazon EBS volume. + """ + + name: str + """ + The name of the volume. This value must match the volume name from the + `Volume` object in the task definition. + """ + managed_ebs_volume: ServiceManagedEBSVolumeConfiguration | None = ... + """ + The configuration for the Amazon EBS volume that Amazon ECS creates and + manages on your behalf. These settings are used to create each Amazon + EBS volume, with one volume created for each task in the service. The + Amazon EBS volumes are visible in your account in the Amazon EC2 console + once they are created. + """ + +@dataclass(kw_only=True) +class Session(_SerdeShape): + """The details for the execute command session.""" + + session_id: str | None = ... + """The ID of the execute command session.""" + stream_url: str | None = ... + """ + A URL to the managed agent on the container that the SSM Session Manager + client uses to send commands and receive output from the container. + """ + token_value: str | None = ... + """ + An encrypted token value containing session and caller information. + It's used to authenticate the connection to the container. + """ + +@dataclass(kw_only=True) +class Setting(_SerdeShape): + """The current account setting for a resource.""" + + name: str | None = ... + """The Amazon ECS resource name.""" + value: str | None = ... + """ + Determines whether the account setting is on or off for the specified + resource. + """ + principal_arn: str | None = ... + """ + The ARN of the principal. It can be a user, role, or the root user. If + this field is omitted, the authenticated user is assumed. + """ + type: str | None = ... + """ + Indicates whether Amazon Web Services manages the account setting, or if + the user manages it. + + `aws_managed` account settings are read-only, as Amazon Web Services + manages such on the customer's behalf. Currently, the + `guardDutyActivate` account setting is the only one Amazon Web Services + manages. + """ + +class SettingName(UnknownEnumMixin, StrEnum): + SERVICE_LONG_ARN_FORMAT = "serviceLongArnFormat" + TASK_LONG_ARN_FORMAT = "taskLongArnFormat" + CONTAINER_INSTANCE_LONG_ARN_FORMAT = "containerInstanceLongArnFormat" + AWSVPC_TRUNKING = "awsvpcTrunking" + CONTAINER_INSIGHTS = "containerInsights" + FARGATE_FIPS_MODE = "fargateFIPSMode" + TAG_RESOURCE_AUTHORIZATION = "tagResourceAuthorization" + FARGATE_TASK_RETIREMENT_WAIT_PERIOD = "fargateTaskRetirementWaitPeriod" + GUARD_DUTY_ACTIVATE = "guardDutyActivate" + DEFAULT_LOG_DRIVER_MODE = "defaultLogDriverMode" + FARGATE_EVENT_WINDOWS = "fargateEventWindows" + +class SettingType(UnknownEnumMixin, StrEnum): + USER = "user" + AWS_MANAGED = "aws_managed" + +@dataclass +class SharingStrategyNvidiaMps(_SerdeShape): + """ + Shares a GPU between containers by using NVIDIA Multi-Process Service + (MPS). You specify the GPU memory to allocate to the container and, + optionally, the maximum percentage of the GPU's compute capacity that + the container can use. + """ + + value: NvidiaMpsAllocation + +@dataclass +class SharingStrategyUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +SharingStrategy = Union[SharingStrategyNvidiaMps | SharingStrategyUnknown] +""" +The strategy that a container uses to share a GPU with other containers. +Specify exactly one member. +""" + +class _SharingStrategyDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> SharingStrategy: ... + +class SortOrder(UnknownEnumMixin, StrEnum): + ASC = "ASC" + DESC = "DESC" + +class StabilityStatus(UnknownEnumMixin, StrEnum): + STEADY_STATE = "STEADY_STATE" + STABILIZING = "STABILIZING" + +@dataclass(kw_only=True) +class StartTaskInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster where + to start your task. If you do not specify a cluster, the default cluster + is assumed. + """ + container_instances: list[str] | None = ... + """ + The container instance IDs or full ARN entries for the container + instances where you would like to place your task. You can specify up to + 10 container instances. + """ + enable_ecs_managed_tags: bool = ... + """ + Specifies whether to use Amazon ECS managed tags for the task. For more + information, see [Tagging Your Amazon ECS + Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + enable_execute_command: bool = ... + """ + Whether or not the execute command functionality is turned on for the + task. If `true`, this turns on the execute command functionality on all + containers in the task. + """ + group: str | None = ... + """ + The name of the task group to associate with the task. The default value + is the family name of the task definition (for example, + family:my-family-name). + """ + network_configuration: NetworkConfiguration | None = ... + """ + The VPC subnet and security group configuration for tasks that receive + their own elastic network interface by using the `awsvpc` networking + mode. + """ + overrides: TaskOverride | None = ... + """ + A list of container overrides in JSON format that specify the name of a + container in the specified task definition and the overrides it + receives. You can override the default command for a container (that's + specified in the task definition or Docker image) with a `command` + override. You can also override existing environment variables (that are + specified in the task definition or Docker image) on a container or add + new environment variables to it with an `environment` override. + + Note: + A total of 8192 characters are allowed for overrides. This limit + includes the JSON formatting characters of the override structure. + """ + propagate_tags: str | None = ... + """ + Specifies whether to propagate the tags from the task definition or the + service to the task. If no value is specified, the tags aren't + propagated. + """ + reference_id: str | None = ... + """ + This parameter is only used by Amazon ECS. It is not intended for use by + customers. + """ + started_by: str | None = ... + """ + An optional tag specified when a task is started. For example, if you + automatically trigger a task to run a batch process job, you could apply + a unique identifier for that job to your task with the `startedBy` + parameter. You can then identify which tasks belong to that job by + filtering the results of a + [ListTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTasks.html) + call with the `startedBy` value. Up to 36 letters (uppercase and + lowercase), numbers, hyphens (-), forward slash (/), and underscores + (_) are allowed. + + If a task is started by an Amazon ECS service, the `startedBy` parameter + contains the deployment ID of the service that starts it. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the task to help you categorize and + organize them. Each tag consists of a key and an optional value, both of + which you define. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + task_definition: str | None = ... + """ + The `family` and `revision` (`family:revision`) or full ARN of the task + definition to start. If a `revision` isn't specified, the latest + `ACTIVE` revision is used. + """ + volume_configurations: list[TaskVolumeConfiguration] | None = ... + """ + The details of the volume that was `configuredAtLaunch`. You can + configure the size, volumeType, IOPS, throughput, snapshot and + encryption in + [TaskManagedEBSVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html). + The `name` of the volume must match the `name` from the task definition. + """ + +@dataclass(kw_only=True) +class StartTaskOutput(_SerdeShape): + """""" + + tasks: list[Task] | None = ... + """ + A full description of the tasks that were started. Each task that was + successfully placed on your container instances is described. + """ + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopServiceDeploymentInput(_SerdeShape): + """Dataclass for StopServiceDeploymentInput structure.""" + + service_deployment_arn: str | None = ... + """The ARN of the service deployment that you want to stop.""" + stop_type: str | None = ... + """ + How you want Amazon ECS to stop the service. + + The valid values are `ROLLBACK`. + """ + +@dataclass(kw_only=True) +class StopServiceDeploymentOutput(_SerdeShape): + """Dataclass for StopServiceDeploymentOutput structure.""" + + service_deployment_arn: str | None = ... + """The ARN of the stopped service deployment.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class StopServiceDeploymentStopType(UnknownEnumMixin, StrEnum): + ABORT = "ABORT" + ROLLBACK = "ROLLBACK" + +@dataclass(kw_only=True) +class StopTaskInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the task to stop. If you do not specify a cluster, the default + cluster is assumed. + """ + task: str | None = ... + """Thefull Amazon Resource Name (ARN) of the task.""" + reason: str | None = ... + """ + An optional message specified when a task is stopped. For example, if + you're using a custom scheduler, you can use this parameter to specify + the reason for stopping the task here, and the message appears in + subsequent + [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html)> + API operations on this task. + """ + +@dataclass(kw_only=True) +class StopTaskOutput(_SerdeShape): + """""" + + task: Task | None = ... + """The task that was stopped.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SubmitAttachmentStateChangesInput(_SerdeShape): + """Dataclass for SubmitAttachmentStateChangesInput structure.""" + + cluster: str | None = ... + """ + The short name or full ARN of the cluster that hosts the container + instance the attachment belongs to. + """ + attachments: list[AttachmentStateChange] | None = ... + """Any attachments associated with the state change request.""" + +@dataclass(kw_only=True) +class SubmitAttachmentStateChangesOutput(_SerdeShape): + """Dataclass for SubmitAttachmentStateChangesOutput structure.""" + + acknowledgment: str | None = ... + """Acknowledgement of the state change.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SubmitContainerStateChangeInput(_SerdeShape): + """""" + + cluster: str | None = ... + """The short name or full ARN of the cluster that hosts the container.""" + task: str | None = ... + """ + The task ID or full Amazon Resource Name (ARN) of the task that hosts + the container. + """ + container_name: str | None = ... + """The name of the container.""" + runtime_id: str | None = ... + """The ID of the Docker container.""" + status: str | None = ... + """The status of the state change request.""" + exit_code: int | None = ... + """The exit code that's returned for the state change request.""" + reason: str | None = ... + """The reason for the state change request.""" + network_bindings: list[NetworkBinding] | None = ... + """The network bindings of the container.""" + +@dataclass(kw_only=True) +class SubmitContainerStateChangeOutput(_SerdeShape): + """""" + + acknowledgment: str | None = ... + """Acknowledgement of the state change.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SubmitTaskStateChangeInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the task. + """ + task: str | None = ... + """The task ID or full ARN of the task in the state change request.""" + status: str | None = ... + """The status of the state change request.""" + reason: str | None = ... + """The reason for the state change request.""" + containers: list[ContainerStateChange] | None = ... + """Any containers that's associated with the state change request.""" + attachments: list[AttachmentStateChange] | None = ... + """Any attachments associated with the state change request.""" + managed_agents: list[ManagedAgentStateChange] | None = ... + """The details for the managed agent that's associated with the task.""" + pull_started_at: datetime | None = ... + """The Unix timestamp for the time when the container image pull started.""" + pull_stopped_at: datetime | None = ... + """The Unix timestamp for the time when the container image pull completed.""" + execution_stopped_at: datetime | None = ... + """The Unix timestamp for the time when the task execution stopped.""" + +@dataclass(kw_only=True) +class SubmitTaskStateChangeOutput(_SerdeShape): + """""" + + acknowledgment: str | None = ... + """Acknowledgement of the state change.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SystemControl(_SerdeShape): + """ + A list of namespaced kernel parameters to set in the container. This + parameter maps to `Sysctls` in the docker container create command and + the `--sysctl` option to docker run. For example, you can configure + `net.ipv4.tcp_keepalive_time` setting to maintain longer lived + connections. + + We don't recommend that you specify network-related `systemControls` + parameters for multiple containers in a single task that also uses + either the `awsvpc` or `host` network mode. Doing this has the following + disadvantages: + + - For tasks that use the `awsvpc` network mode including Fargate, if you + set `systemControls` for any container, it applies to all containers + in the task. If you set different `systemControls` for multiple + containers in a single task, the container that's started last + determines which `systemControls` take effect. + + - For tasks that use the `host` network mode, the network namespace + `systemControls` aren't supported. + + If you're setting an IPC resource namespace to use for the containers + in the task, the following conditions apply to your system controls. For + more information, see [IPC + mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_ipcmode). + + - For tasks that use the `host` IPC mode, IPC namespace `systemControls` + aren't supported. + + - For tasks that use the `task` IPC mode, IPC namespace `systemControls` + values apply to all containers within a task. + + Note: + This parameter is not supported for Windows containers. + Note: + This parameter is only supported for tasks that are hosted on Fargate if + the tasks are using platform version `1.4.0` or later (Linux). This + isn't supported for Windows containers on Fargate. + """ + + namespace: str | None = ... + """The namespaced kernel parameter to set a `value` for.""" + value: str | None = ... + """ + The namespaced kernel parameter to set a `value` for. + + Valid IPC namespace values: + `"kernel.msgmax" | "kernel.msgmnb" | "kernel.msgmni" | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" | "kernel.shmmni" | "kernel.shm_rmid_forced"`, + and `Sysctls` that start with `"fs.mqueue.*"` + + Valid network namespace values: `Sysctls` that start with `"net.*"`. + Only namespaced `Sysctls` that exist within the container starting with + \"net.* are accepted. + + All of these values are supported by Fargate. + """ + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """ + The metadata that you apply to a resource to help you categorize and + organize them. Each tag consists of a key and an optional value. You + define them. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + + key: str | None = ... + """ + One part of a key-value pair that make up a tag. A `key` is a general + label that acts like a category for more specific tag values. + """ + value: str | None = ... + """ + The optional part of a key-value pair that make up a tag. A `value` acts + as a descriptor within a tag category (key). + """ + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Dataclass for TagResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource to add tags to. + Currently, the supported resources are Amazon ECS capacity providers, + tasks, services, task definitions, clusters, and container instances. + + In order to tag a service that has the following ARN format, you need to + migrate the service to the long ARN. For more information, see [Migrate + an Amazon ECS short service ARN to a long + ARN](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-arn-migration.html) + in the *Amazon Elastic Container Service Developer Guide*. + + `arn:aws:ecs:region:aws_account_id:service/service-name` + + After the migration is complete, the service has the long ARN format, as + shown below. Use this ARN to tag the service. + + `arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name` + + If you try to tag a service with a short ARN, you receive an + `InvalidParameterException` error. + """ + tags: list[Tag] | None = ... + """ + The tags to add to the resource. A tag is an array of key-value pairs. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TargetNotConnectedException(ServiceError, _SerdeShape): + """ + The execute command cannot run. This error can be caused by any of the + following configuration issues: + + - Incorrect IAM permissions + + - The SSM agent is not installed or is not running + + - There is an interface Amazon VPC endpoint for Amazon ECS, but there is + not one for Systems Manager Session Manager + + For information about how to troubleshoot the issues, see + [Troubleshooting issues with ECS + Exec](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TargetNotFoundException(ServiceError, _SerdeShape): + """ + The specified target wasn't found. You can view your available + container instances with + [ListContainerInstances](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html). + Amazon ECS container instances are cluster-specific and Region-specific. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class TargetType(UnknownEnumMixin, StrEnum): + CONTAINER_INSTANCE = "container-instance" + +@dataclass(kw_only=True) +class Task(_SerdeShape): + """Details on a task in a cluster.""" + + attachments: list[Attachment] | None = ... + """ + The Elastic Network Adapter that's associated with the task if the task + uses the `awsvpc` network mode. + """ + attributes: list[Attribute] | None = ... + """The attributes of the task""" + availability_zone: str | None = ... + """The Availability Zone for the task.""" + capacity_provider_name: str | None = ... + """The capacity provider that's associated with the task.""" + cluster_arn: str | None = ... + """The ARN of the cluster that hosts the task.""" + connectivity: str | None = ... + """The connectivity status of a task.""" + connectivity_at: datetime | None = ... + """ + The Unix timestamp for the time when the task last went into `CONNECTED` + status. + """ + container_instance_arn: str | None = ... + """The ARN of the container instances that host the task.""" + containers: list[Container] | None = ... + """The containers that's associated with the task.""" + cpu: str | None = ... + """ + The number of CPU units used by the task as expressed in a task + definition. It can be expressed as an integer using CPU units (for + example, `1024`). It can also be expressed as a string using vCPUs (for + example, `1 vCPU` or `1 vcpu`). String values are converted to an + integer that indicates the CPU units when the task definition is + registered. + + If you're using the EC2 launch type or the external launch type, this + field is optional. Supported values are between `128` CPU units (`0.125` + vCPUs) and `196608` CPU units (`192` vCPUs). If you do not specify a + value, the parameter is ignored. + + This field is required for Fargate. For information about the valid + values, see [Task + size](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size) + in the *Amazon Elastic Container Service Developer Guide*. + """ + created_at: datetime | None = ... + """ + The Unix timestamp for the time when the task was created. More + specifically, it's for the time when the task entered the `PENDING` + state. + """ + desired_status: str | None = ... + """ + The desired status of the task. For more information, see [Task + Lifecycle](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html). + """ + enable_execute_command: bool = ... + """ + Determines whether execute command functionality is turned on for this + task. If `true`, execute command functionality is turned on all the + containers in the task. + """ + execution_stopped_at: datetime | None = ... + """The Unix timestamp for the time when the task execution stopped.""" + group: str | None = ... + """The name of the task group that's associated with the task.""" + health_status: str | None = ... + """ + The health status for the task. It's determined by the health of the + essential containers in the task. If all essential containers in the + task are reporting as `HEALTHY`, the task status also reports as + `HEALTHY`. If any essential containers in the task are reporting as + `UNHEALTHY` or `UNKNOWN`, the task status also reports as `UNHEALTHY` or + `UNKNOWN`. + + Note: + The Amazon ECS container agent doesn't monitor or report on Docker + health checks that are embedded in a container image and not specified + in the container definition. For example, this includes those specified + in a parent image or from the image's Dockerfile. Health check + parameters that are specified in a container definition override any + Docker health checks that are found in the container image. + """ + inference_accelerators: list[InferenceAccelerator] | None = ... + """The Elastic Inference accelerator that's associated with the task.""" + last_status: str | None = ... + """ + The last known status for the task. For more information, see [Task + Lifecycle](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html). + """ + launch_type: str | None = ... + """ + The infrastructure where your task runs on. For more information, see + [Amazon ECS launch + types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + memory: str | None = ... + """ + The amount of memory (in MiB) that the task uses as expressed in a task + definition. It can be expressed as an integer using MiB (for example, + `1024`). If it's expressed as a string using GB (for example, `1GB` or + `1 GB`), it's converted to an integer indicating the MiB when the task + definition is registered. + + If you use the EC2 launch type, this field is optional. + + If you use the Fargate launch type, this field is required. You must use + one of the following values. The value that you choose determines the + range of supported values for the `cpu` parameter. + + - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values: 256 + (.25 vCPU) + + - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available `cpu` + values: 512 (.5 vCPU) + + - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 + (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU) + + - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - + Available `cpu` values: 2048 (2 vCPU) + + - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - + Available `cpu` values: 4096 (4 vCPU) + + - Between 16 GB and 60 GB in 4 GB increments - Available `cpu` values: + 8192 (8 vCPU) + + This option requires Linux platform `1.4.0` or later. + + - Between 32GB and 120 GB in 8 GB increments - Available `cpu` values: + 16384 (16 vCPU) + + This option requires Linux platform `1.4.0` or later. + """ + overrides: TaskOverride | None = ... + """One or more container overrides.""" + platform_version: str | None = ... + """ + The platform version where your task runs on. A platform version is only + specified for tasks that use the Fargate launch type. If you didn't + specify one, the `LATEST` platform version is used. For more + information, see [Fargate Platform + Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + platform_family: str | None = ... + """ + The operating system that your tasks are running on. A platform family + is specified only for tasks that use the Fargate launch type. + + All tasks that run as part of this service must use the same + `platformFamily` value as the service (for example, `LINUX.`). + """ + pull_started_at: datetime | None = ... + """The Unix timestamp for the time when the container image pull began.""" + pull_stopped_at: datetime | None = ... + """The Unix timestamp for the time when the container image pull completed.""" + started_at: datetime | None = ... + """ + The Unix timestamp for the time when the task started. More + specifically, it's for the time when the task transitioned from the + `PENDING` state to the `RUNNING` state. + """ + started_by: str | None = ... + """ + The tag specified when a task is started. If an Amazon ECS service + started the task, the `startedBy` parameter contains the deployment ID + of that service. + """ + stop_code: str | None = ... + """ + The stop code indicating why a task was stopped. The `stoppedReason` + might contain additional details. + + For more information about stop code, see [Stopped tasks error + codes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stopped-task-error-codes.html) + in the *Amazon ECS Developer Guide*. + """ + stopped_at: datetime | None = ... + """ + The Unix timestamp for the time when the task was stopped. More + specifically, it's for the time when the task transitioned from the + `RUNNING` state to the `STOPPED` state. + """ + stopped_reason: str | None = ... + """The reason that the task was stopped.""" + stopping_at: datetime | None = ... + """ + The Unix timestamp for the time when the task stops. More specifically, + it's for the time when the task transitions from the `RUNNING` state to + `STOPPING`. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the task to help you categorize and + organize the task. Each tag consists of a key and an optional value. You + define both the key and value. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + task_arn: str | None = ... + """The Amazon Resource Name (ARN) of the task.""" + task_definition_arn: str | None = ... + """The ARN of the task definition that creates the task.""" + version: int = ... + """ + The version counter for the task. Every time a task experiences a change + that starts a CloudWatch event, the version counter is incremented. If + you replicate your Amazon ECS task state with CloudWatch Events, you can + compare the version of a task reported by the Amazon ECS API actions + with the version reported in CloudWatch Events for the task (inside the + `detail` object) to verify that the version in your event stream is + current. + """ + ephemeral_storage: EphemeralStorage | None = ... + """The ephemeral storage settings for the task.""" + fargate_ephemeral_storage: TaskEphemeralStorage | None = ... + """The Fargate ephemeral storage settings for the task.""" + trusted_execution_summary: TrustedExecutionSummary | None = ... + """ + A summary of the trusted execution configuration for the task, including + the isolation mode. This is a read-only view of the configuration that + was set on the task definition. + + Note: + Trusted execution is supported only for Amazon ECS Managed Instances. + """ + +@dataclass(kw_only=True) +class TaskDefinition(_SerdeShape): + """ + The details of a task definition which describes the container and + volume definitions of an Amazon Elastic Container Service task. You can + specify which Docker images to use, the required resources, and other + configurations related to launching the task definition through an + Amazon ECS service or task. + """ + + task_definition_arn: str | None = ... + """The full Amazon Resource Name (ARN) of the task definition.""" + container_definitions: list[ContainerDefinition] | None = ... + """ + A list of container definitions in JSON format that describe the + different containers that make up your task. For more information about + container definition parameters and defaults, see [Amazon ECS Task + Definitions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + family: str | None = ... + """ + The name of a family that this task definition is registered to. Up to + 255 characters are allowed. Letters (both uppercase and lowercase + letters), numbers, hyphens (-), and underscores (_) are allowed. + + A family groups multiple versions of a task definition. Amazon ECS gives + the first task definition that you registered to a family a revision + number of 1. Amazon ECS gives sequential revision numbers to each task + definition that you add. + """ + task_role_arn: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the Identity and + Access Management role that grants containers in the task permission to + call Amazon Web Services APIs on your behalf. For informationabout the + required IAM roles for Amazon ECS, see [IAM roles for Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the task execution role that grants + the Amazon ECS container agent permission to make Amazon Web Services + API calls on your behalf. For informationabout the required IAM roles + for Amazon ECS, see [IAM roles for Amazon + ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + network_mode: str | None = ... + """ + The Docker networking mode to use for the containers in the task. The + valid values are `none`, `bridge`, `awsvpc`, and `host`. If no network + mode is specified, the default is `bridge`. + + For Amazon ECS tasks on Fargate, the `awsvpc` network mode is required. + For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can + be used. For Amazon ECS tasks on Amazon EC2 Windows instances, + `` or `awsvpc` can be used. If the network mode is set to + `none`, you cannot specify port mappings in your container definitions, + and the tasks containers do not have external connectivity. The `host` + and `awsvpc` network modes offer the highest networking performance for + containers because they use the EC2 network stack instead of the + virtualized network stack provided by the `bridge` mode. + + With the `host` and `awsvpc` network modes, exposed container ports are + mapped directly to the corresponding host port (for the `host` network + mode) or the attached elastic network interface port (for the `awsvpc` + network mode), so you cannot take advantage of dynamic host port + mappings. + + Warning: + When using the `host` network mode, you should not run containers using + the root user (UID 0). It is considered best practice to use a non-root + user. + + If the network mode is `awsvpc`, the task is allocated an elastic + network interface, and you must specify a + [NetworkConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html) + value when you create a service or run a task with the task definition. + For more information, see [Task + Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) + in the *Amazon Elastic Container Service Developer Guide*. + + If the network mode is `host`, you cannot run multiple instantiations of + the same task on a single container instance when port mappings are + used. + """ + revision: int = ... + """ + The revision of the task in a particular family. The revision is a + version number of a task definition in a family. When you register a + task definition for the first time, the revision is `1`. Each time that + you register a new revision of a task definition in the same family, the + revision value always increases by one. This is even if you deregistered + previous revisions in this family. + """ + volumes: list[Volume] | None = ... + """ + The list of data volume definitions for the task. For more information, + see [Using data volumes in + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Note: + The `host` and `sourcePath` parameters aren't supported for tasks run + on Fargate. + """ + status: str | None = ... + """The status of the task definition.""" + requires_attributes: list[Attribute] | None = ... + """ + The container instance attributes required by your task. When an Amazon + EC2 instance is registered to your cluster, the Amazon ECS container + agent assigns some standard attributes to the instance. You can apply + custom attributes. These are specified as key-value pairs using the + Amazon ECS console or the + [PutAttributes](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAttributes.html) + API. These attributes are used when determining task placement for tasks + hosted on Amazon EC2 instances. For more information, see + [Attributes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes) + in the *Amazon Elastic Container Service Developer Guide*. + + Note: + This parameter isn't supported for tasks run on Fargate. + """ + placement_constraints: list[TaskDefinitionPlacementConstraint] | None = ... + """ + An array of placement constraint objects to use for tasks. + + Note: + This parameter isn't supported for tasks run on Fargate. + """ + compatibilities: list[str] | None = ... + """ + Amazon ECS validates the task definition parameters with those supported + by the launch type. For more information, see [Amazon ECS launch + types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + runtime_platform: RuntimePlatform | None = ... + """ + The operating system that your task definitions are running on. A + platform family is specified only for tasks using the Fargate launch + type. + + When you specify a task in a service, this value must match the + `runtimePlatform` value of the service. + """ + requires_compatibilities: list[str] | None = ... + """ + The task launch types the task definition was validated against. The + valid values are `MANAGED_INSTANCES`, `EC2`, `FARGATE`, and `EXTERNAL`. + For more information, see [Amazon ECS launch + types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + cpu: str | None = ... + """ + The number of `cpu` units used by the task. If you use the EC2 launch + type, this field is optional. Any value can be used. If you use the + Fargate launch type, this field is required. You must use one of the + following values. The value that you choose determines your range of + valid values for the `memory` parameter. + + If you're using the EC2 launch type or the external launch type, this + field is optional. Supported values are between `128` CPU units (`0.125` + vCPUs) and `196608` CPU units (`192` vCPUs). + + This field is required for Fargate. For information about the valid + values, see [Task + size](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size) + in the *Amazon Elastic Container Service Developer Guide*. + """ + memory: str | None = ... + """ + The amount (in MiB) of memory used by the task. + + If your tasks runs on Amazon EC2 instances, you must specify either a + task-level memory value or a container-level memory value. This field is + optional and any value can be used. If a task-level memory value is + specified, the container-level memory value is optional. For more + information regarding container-level memory and memory reservation, see + [ContainerDefinition](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html). + + If your tasks runs on Fargate, this field is required. You must use one + of the following values. The value you choose determines your range of + valid values for the `cpu` parameter. + + - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values: 256 + (.25 vCPU) + + - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available `cpu` + values: 512 (.5 vCPU) + + - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 + (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU) + + - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - + Available `cpu` values: 2048 (2 vCPU) + + - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - + Available `cpu` values: 4096 (4 vCPU) + + - Between 16 GB and 60 GB in 4 GB increments - Available `cpu` values: + 8192 (8 vCPU) + + This option requires Linux platform `1.4.0` or later. + + - Between 32GB and 120 GB in 8 GB increments - Available `cpu` values: + 16384 (16 vCPU) + + This option requires Linux platform `1.4.0` or later. + """ + inference_accelerators: list[InferenceAccelerator] | None = ... + """The Elastic Inference accelerator that's associated with the task.""" + pid_mode: str | None = ... + """ + The process namespace to use for the containers in the task. The valid + values are `host` or `task`. On Fargate for Linux containers, the only + valid value is `task`. For example, monitoring sidecars might need + `pidMode` to access information about other containers running in the + same task. + + If `host` is specified, all containers within the tasks that specified + the `host` PID mode on the same container instance share the same + process namespace with the host Amazon EC2 instance. + + If `task` is specified, all containers within the specified task share + the same process namespace. + + If no value is specified, the The default is a private namespace for + each container. + + If the `host` PID mode is used, there's a heightened risk of undesired + process namespace exposure. + + Note: + This parameter is not supported for Windows containers. + Note: + This parameter is only supported for tasks that are hosted on Fargate if + the tasks are using platform version `1.4.0` or later (Linux). This + isn't supported for Windows containers on Fargate. + """ + ipc_mode: str | None = ... + """ + The IPC resource namespace to use for the containers in the task. The + valid values are `host`, `task`, or `none`. If `host` is specified, then + all containers within the tasks that specified the `host` IPC mode on + the same container instance share the same IPC resources with the host + Amazon EC2 instance. If `task` is specified, all containers within the + specified task share the same IPC resources. If `none` is specified, + then IPC resources within the containers of a task are private and not + shared with other containers in a task or on the container instance. If + no value is specified, then the IPC resource namespace sharing depends + on the Docker daemon setting on the container instance. + + If the `host` IPC mode is used, be aware that there is a heightened risk + of undesired IPC namespace expose. + + If you are setting namespaced kernel parameters using `systemControls` + for the containers in the task, the following will apply to your IPC + resource namespace. For more information, see [System + Controls](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) + in the *Amazon Elastic Container Service Developer Guide*. + + - For tasks that use the `host` IPC mode, IPC namespace related + `systemControls` are not supported. + + - For tasks that use the `task` IPC mode, IPC namespace related + `systemControls` will apply to all containers within a task. + + Note: + This parameter is not supported for Windows containers or tasks run on + Fargate. + """ + proxy_configuration: ProxyConfiguration | None = ... + """ + The configuration details for the App Mesh proxy. + + Your Amazon ECS container instances require at least version 1.26.0 of + the container agent and at least version 1.26.0-1 of the `ecs-init` + package to use a proxy configuration. If your container instances are + launched from the Amazon ECS optimized AMI version `20190301` or later, + they contain the required versions of the container agent and + `ecs-init`. For more information, see [Amazon ECS-optimized Linux + AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + registered_at: datetime | None = ... + """The Unix timestamp for the time when the task definition was registered.""" + deregistered_at: datetime | None = ... + """ + The Unix timestamp for the time when the task definition was + deregistered. + """ + delete_requested_at: datetime | None = ... + """ + The Unix timestamp for the time when the task definition delete was + requested. + """ + registered_by: str | None = ... + """The principal that registered the task definition.""" + ephemeral_storage: EphemeralStorage | None = ... + """ + The ephemeral storage settings to use for tasks run with the task + definition. + """ + enable_fault_injection: bool | None = ... + """ + Enables fault injection and allows for fault injection requests to be + accepted from the task's containers. The default value is `false`. + """ + trusted_execution_configuration: TrustedExecutionConfiguration | None = ... + """ + The trusted execution configuration for tasks that use this task + definition, including the isolation mode and, if configured, an + attestation policy. + + Note: + Trusted execution is supported only for Amazon ECS Managed Instances. + """ + +class TaskDefinitionFamilyStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + INACTIVE = "INACTIVE" + ALL = "ALL" diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/models_2.pyi b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/models_2.pyi new file mode 100644 index 000000000..d8f5d64a0 --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/models_2.pyi @@ -0,0 +1,2155 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AutoRepairConfiguration, + AutoScalingGroupProviderUpdate, + CapacityProvider, + CapacityProviderStrategyItem, + Cluster, + ClusterConfiguration, + ClusterServiceConnectDefaultsRequest, + ClusterSetting, + ContainerInstance, + ContainerOverride, + DaemonDeploymentConfiguration, + DeploymentConfiguration, + DeploymentController, + DeploymentEphemeralStorage, + DockerVolumeConfiguration, + EBSTagSpecification, + EFSVolumeConfiguration, + EphemeralStorage, + ExpressGatewayContainer, + ExpressGatewayScalingTarget, + ExpressGatewayServiceConfiguration, + ExpressGatewayServiceNetworkConfiguration, + ExpressGatewayServiceStatus, + FSxWindowsFileServerVolumeConfiguration, + Failure, + GatewayAlbTestTrafficRules, + GatewayConnector, + GatewayElbAccessLogConfiguration, + HostVolumeProperties, + InferenceAcceleratorOverride, + InfrastructureOptimization, + InstanceLaunchTemplateUpdate, + LoadBalancer, + MonitoringConfiguration, + NetworkConfiguration, + PlacementConstraint, + PlacementStrategy, + ProtectedTask, + S3FilesVolumeConfiguration, + Scale, + Service, + ServiceConnectConfiguration, + ServiceError, + ServiceRegistry, + ServiceVolumeConfiguration, + Tag, + _SerdeShape, +) + +class TaskDefinitionField(UnknownEnumMixin, StrEnum): + TAGS = "TAGS" + +@dataclass(kw_only=True) +class TaskDefinitionPlacementConstraint(_SerdeShape): + """ + The constraint on task placement in the task definition. For more + information, see [Task placement + constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Note: + Task placement constraints aren't supported for tasks run on Fargate. + """ + + type: str | None = ... + """ + The type of constraint. The `MemberOf` constraint restricts selection to + be from a group of valid candidates. + """ + expression: str | None = ... + """ + A cluster query language expression to apply to the constraint. For more + information, see [Cluster query + language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + +class TaskDefinitionPlacementConstraintType(UnknownEnumMixin, StrEnum): + MEMBER_OF = "memberOf" + +class TaskDefinitionStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + INACTIVE = "INACTIVE" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + +@dataclass(kw_only=True) +class TaskEphemeralStorage(_SerdeShape): + """The amount of ephemeral storage to allocate for the task.""" + + size_in_gi_b: int = ... + """ + The total amount, in GiB, of the ephemeral storage to set for the task. + The minimum supported value is `20` GiB and the maximum supported value + is `200` GiB. + """ + kms_key_id: str | None = ... + """ + Specify an Key Management Service key ID to encrypt the ephemeral + storage for the task. + """ + +class TaskField(UnknownEnumMixin, StrEnum): + TAGS = "TAGS" + +class TaskFilesystemType(UnknownEnumMixin, StrEnum): + EXT3 = "ext3" + EXT4 = "ext4" + XFS = "xfs" + NTFS = "ntfs" + +@dataclass(kw_only=True) +class TaskManagedEBSVolumeConfiguration(_SerdeShape): + """ + The configuration for the Amazon EBS volume that Amazon ECS creates and + manages on your behalf. These settings are used to create each Amazon + EBS volume, with one volume created for each task. + """ + + encrypted: bool | None = ... + """ + Indicates whether the volume should be encrypted. If you turn on + Region-level Amazon EBS encryption by default but set this value as + `false`, the setting is overridden and the volume is encrypted with the + KMS key specified for Amazon EBS encryption by default. This parameter + maps 1:1 with the `Encrypted` parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + """ + kms_key_id: str | None = ... + """ + The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key + Management Service key to use for Amazon EBS encryption. When a key is + specified using this parameter, it overrides Amazon EBS default + encryption or any KMS key that you specified for cluster-level managed + storage encryption. This parameter maps 1:1 with the `KmsKeyId` + parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. For more information about encrypting + Amazon EBS volumes attached to a task, see [Encrypt data stored in + Amazon EBS volumes attached to Amazon ECS + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html). + + Warning: + Amazon Web Services authenticates the Amazon Web Services Key Management + Service key asynchronously. Therefore, if you specify an ID, alias, or + ARN that is invalid, the action can appear to complete, but eventually + fails. + """ + volume_type: str | None = ... + """ + The volume type. This parameter maps 1:1 with the `VolumeType` parameter + of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS + volume + types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) + in the *Amazon EC2 User Guide*. + + The following are the supported volume types. + + - General Purpose SSD: `gp2`|`gp3` + + - Provisioned IOPS SSD: `io1`|`io2` + + - Throughput Optimized HDD: `st1` + + - Cold HDD: `sc1` + + - Magnetic: `standard` + + Note: + The magnetic volume type is not supported on Fargate. + """ + size_in_gi_b: int | None = ... + """ + The size of the volume in GiB. You must specify either a volume size or + a snapshot ID. If you specify a snapshot ID, the snapshot size is used + for the volume size by default. You can optionally specify a volume size + greater than or equal to the snapshot size. This parameter maps 1:1 with + the `Size` parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + + The following are the supported volume size values for each volume type. + + - `gp2` and `gp3`: 1-16,384 + + - `io1` and `io2`: 4-16,384 + + - `st1` and `sc1`: 125-16,384 + + - `standard`: 1-1,024 + """ + snapshot_id: str | None = ... + """ + The snapshot that Amazon ECS uses to create the volume. You must specify + either a snapshot ID or a volume size. This parameter maps 1:1 with the + `SnapshotId` parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + """ + volume_initialization_rate: int | None = ... + """ + The rate, in MiB/s, at which data is fetched from a snapshot of an + existing Amazon EBS volume to create a new volume for attachment to the + task. This property can be specified only if you specify a `snapshotId`. + For more information, see [Initialize Amazon EBS + volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) + in the *Amazon EBS User Guide*. + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS). For `gp3`, `io1`, and + `io2` volumes, this represents the number of IOPS that are provisioned + for the volume. For `gp2` volumes, this represents the baseline + performance of the volume and the rate at which the volume accumulates + I/O credits for bursting. + + The following are the supported values for each volume type. + + - `gp3`: 3,000 - 16,000 IOPS + + - `io1`: 100 - 64,000 IOPS + + - `io2`: 100 - 256,000 IOPS + + This parameter is required for `io1` and `io2` volume types. The default + for `gp3` volumes is `3,000 IOPS`. This parameter is not supported for + `st1`, `sc1`, or `standard` volume types. + + This parameter maps 1:1 with the `Iops` parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + """ + throughput: int | None = ... + """ + The throughput to provision for a volume, in MiB/s, with a maximum of + 1,000 MiB/s. This parameter maps 1:1 with the `Throughput` parameter of + the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + + Warning: + This parameter is only supported for the `gp3` volume type. + """ + tag_specifications: list[EBSTagSpecification] | None = ... + """ + The tags to apply to the volume. Amazon ECS applies service-managed tags + by default. This parameter maps 1:1 with the `TagSpecifications.N` + parameter of the [CreateVolume + API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) + in the *Amazon EC2 API Reference*. + """ + role_arn: str + """ + The ARN of the IAM role to associate with this volume. This is the + Amazon ECS infrastructure IAM role that is used to manage your Amazon + Web Services infrastructure. We recommend using the Amazon ECS-managed + `AmazonECSInfrastructureRolePolicyForVolumes` IAM policy with this role. + For more information, see [Amazon ECS infrastructure IAM + role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) + in the *Amazon ECS Developer Guide*. + """ + termination_policy: TaskManagedEBSVolumeTerminationPolicy | None = ... + """ + The termination policy for the volume when the task exits. This provides + a way to control whether Amazon ECS terminates the Amazon EBS volume + when the task stops. + """ + filesystem_type: str | None = ... + """ + The Linux filesystem type for the volume. For volumes created from a + snapshot, you must specify the same filesystem type that the volume was + using when the snapshot was created. If there is a filesystem type + mismatch, the task will fail to start. + + The available filesystem types are `ext3`, `ext4`, and `xfs`. If no + value is specified, the `xfs` filesystem type is used by default. + """ + +@dataclass(kw_only=True) +class TaskManagedEBSVolumeTerminationPolicy(_SerdeShape): + """ + The termination policy for the Amazon EBS volume when the task exits. + For more information, see [Amazon ECS volume termination + policy](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types). + """ + + delete_on_termination: bool + """ + Indicates whether the volume should be deleted on when the task stops. + If a value of `true` is specified, Amazon ECS deletes the Amazon EBS + volume on your behalf when the task goes into the `STOPPED` state. If no + value is specified, the default value is `true` is used. When set to + `false`, Amazon ECS leaves the volume in your account. + """ + +@dataclass(kw_only=True) +class TaskOverride(_SerdeShape): + """The overrides that are associated with a task.""" + + container_overrides: list[ContainerOverride] | None = ... + """One or more container overrides that are sent to a task.""" + cpu: str | None = ... + """The CPU override for the task.""" + inference_accelerator_overrides: list[InferenceAcceleratorOverride] | None = ... + """The Elastic Inference accelerator override for the task.""" + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the task execution role override for + the task. For more information, see [Amazon ECS task execution IAM + role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + memory: str | None = ... + """The memory override for the task.""" + task_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the role that containers in this task + can assume. All containers in this task are granted the permissions that + are specified in this role. For more information, see [IAM Role for + Tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The ephemeral storage setting override for the task. + + Note: + This parameter is only supported for tasks hosted on Fargate that use + the following platform versions: + + - Linux platform version `1.4.0` or later. + """ + +@dataclass(kw_only=True) +class TaskSet(_SerdeShape): + """ + Information about a set of Amazon ECS tasks in either an CodeDeploy or + an `EXTERNAL` deployment. An Amazon ECS task set includes details such + as the desired number of tasks, how many tasks are running, and whether + the task set serves production traffic. + """ + + id: str | None = ... + """The ID of the task set.""" + task_set_arn: str | None = ... + """The Amazon Resource Name (ARN) of the task set.""" + service_arn: str | None = ... + """The Amazon Resource Name (ARN) of the service the task set exists in.""" + cluster_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the cluster that the service that + hosts the task set exists in. + """ + started_by: str | None = ... + """ + The tag specified when a task set is started. If an CodeDeploy + deployment created the task set, the `startedBy` parameter is + `CODE_DEPLOY`. If an external deployment created the task set, the + `startedBy` field isn't used. + """ + external_id: str | None = ... + """ + The external ID associated with the task set. + + If an CodeDeploy deployment created a task set, the `externalId` + parameter contains the CodeDeploy deployment ID. + + If a task set is created for an external deployment and is associated + with a service discovery registry, the `externalId` parameter contains + the `ECS_TASK_SET_EXTERNAL_ID` Cloud Map attribute. + """ + status: str | None = ... + """ + The status of the task set. The following describes each state. + + PRIMARY + + : The task set is serving production traffic. + + ACTIVE + + : The task set isn't serving production traffic. + + DRAINING + + : The tasks in the task set are being stopped, and their corresponding + targets are being deregistered from their target group. + """ + task_definition: str | None = ... + """The task definition that the task set is using.""" + computed_desired_count: int = ... + """ + The computed desired count for the task set. This is calculated by + multiplying the service's `desiredCount` by the task set's `scale` + percentage. The result is always rounded up. For example, if the + computed desired count is 1.2, it rounds up to 2 tasks. + """ + pending_count: int = ... + """ + The number of tasks in the task set that are in the `PENDING` status + during a deployment. A task in the `PENDING` state is preparing to enter + the `RUNNING` state. A task set enters the `PENDING` status when it + launches for the first time or when it's restarted after being in the + `STOPPED` state. + """ + running_count: int = ... + """ + The number of tasks in the task set that are in the `RUNNING` status + during a deployment. A task in the `RUNNING` state is running and ready + for use. + """ + created_at: datetime | None = ... + """The Unix timestamp for the time when the task set was created.""" + updated_at: datetime | None = ... + """The Unix timestamp for the time when the task set was last updated.""" + launch_type: str | None = ... + """ + The launch type the tasks in the task set are using. For more + information, see [Amazon ECS launch + types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """The capacity provider strategy that are associated with the task set.""" + platform_version: str | None = ... + """ + The Fargate platform version where the tasks in the task set are + running. A platform version is only specified for tasks run on Fargate. + For more information, see [Fargate platform + versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + platform_family: str | None = ... + """ + The operating system that your tasks in the set are running on. A + platform family is specified only for tasks that use the Fargate launch + type. + + All tasks in the set must have the same value. + """ + network_configuration: NetworkConfiguration | None = ... + """The network configuration for the task set.""" + load_balancers: list[LoadBalancer] | None = ... + """Details on a load balancer that are used with a task set.""" + service_registries: list[ServiceRegistry] | None = ... + """ + The details for the service discovery registries to assign to this task + set. For more information, see [Service + discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). + """ + scale: Scale | None = ... + """ + A floating-point percentage of your desired number of tasks to place and + keep running in the task set. + """ + stability_status: str | None = ... + """ + The stability status. This indicates whether the task set has reached a + steady state. If the following conditions are met, the task set are in + `STEADY_STATE`: + + - The task `runningCount` is equal to the `computedDesiredCount`. + + - The `pendingCount` is `0`. + + - There are no tasks that are running on container instances in the + `DRAINING` status. + + - All tasks are reporting a healthy status from the load balancers, + service discovery, and container health checks. + + If any of those conditions aren't met, the stability status returns + `STABILIZING`. + """ + stability_status_at: datetime | None = ... + """ + The Unix timestamp for the time when the task set stability status was + retrieved. + """ + tags: list[Tag] | None = ... + """ + The metadata that you apply to the task set to help you categorize and + organize them. Each tag consists of a key and an optional value. You + define both. + + The following basic restrictions apply to tags: + + - Maximum number of tags per resource - 50 + + - For each resource, each tag key must be unique, and each tag key can + have only one value. + + - Maximum key length - 128 Unicode characters in UTF-8 + + - Maximum value length - 256 Unicode characters in UTF-8 + + - If your tagging schema is used across multiple services and resources, + remember that other services may have restrictions on allowed + characters. Generally allowed characters are: letters, numbers, and + spaces representable in UTF-8, and the following characters: + - = . + _ : / @. + + - Tag keys and values are case-sensitive. + + - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of + such as a prefix for either keys or values as it is reserved for + Amazon Web Services use. You cannot edit or delete tag keys or values + with this prefix. Tags with this prefix do not count against your tags + per resource limit. + """ + fargate_ephemeral_storage: DeploymentEphemeralStorage | None = ... + """The Fargate ephemeral storage settings for the task set.""" + +class TaskSetField(UnknownEnumMixin, StrEnum): + TAGS = "TAGS" + +@dataclass(kw_only=True) +class TaskSetNotFoundException(ServiceError, _SerdeShape): + """ + The specified task set wasn't found. You can view your available task + sets with + [DescribeTaskSets](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTaskSets.html). + Task sets are specific to each cluster, service and Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class TaskStopCode(UnknownEnumMixin, StrEnum): + TASK_FAILED_TO_START = "TaskFailedToStart" + ESSENTIAL_CONTAINER_EXITED = "EssentialContainerExited" + USER_INITIATED = "UserInitiated" + SERVICE_SCHEDULER_INITIATED = "ServiceSchedulerInitiated" + SPOT_INTERRUPTION = "SpotInterruption" + TERMINATION_NOTICE = "TerminationNotice" + INFRASTRUCTURE_HEALTH = "InfrastructureHealth" + +@dataclass(kw_only=True) +class TaskVolumeConfiguration(_SerdeShape): + """ + Configuration settings for the task volume that was `configuredAtLaunch` + that weren't set during `RegisterTaskDef`. + """ + + name: str + """ + The name of the volume. This value must match the volume name from the + `Volume` object in the task definition. + """ + managed_ebs_volume: TaskManagedEBSVolumeConfiguration | None = ... + """ + The configuration for the Amazon EBS volume that Amazon ECS creates and + manages on your behalf. These settings are used to create each Amazon + EBS volume, with one volume created for each task. The Amazon EBS + volumes are visible in your account in the Amazon EC2 console once they + are created. + """ + +@dataclass(kw_only=True) +class ThresholdConfiguration(_SerdeShape): + """ + Defines the failure threshold that the deployment circuit breaker uses + to monitor a deployment. The `type` and `value` together determine the + number of task failures that are tolerated before the circuit breaker + triggers. + + By default, the threshold configuration uses a `type` of + `BOUNDED_PERCENT` with a `value` of `50`. + """ + + type: str + """ + Determines how Amazon ECS uses `value` to calculate the failure + threshold. For the percentage types (`BOUNDED_PERCENT` and + `UNBOUNDED_PERCENT`), Amazon ECS multiplies `value` by the latest + service desired count. For `COUNT`, Amazon ECS uses `value` directly as + the threshold. The default is `BOUNDED_PERCENT`. + """ + value: int = ... + """ + Specifies the integer that Amazon ECS uses to calculate the failure + threshold. When `type` is `COUNT`, this value is the failure threshold + itself. When `type` is a percentage type, Amazon ECS multiplies this + value by the latest service desired count to produce the failure + threshold. The default is `50`. + """ + +class ThresholdType(UnknownEnumMixin, StrEnum): + """ + Determines how the deployment circuit breaker calculates the number of + task failures tolerated before it triggers, based on the configured + `value`. + """ + + COUNT = "COUNT" + """ + Amazon ECS uses the integer provided in `value` directly as the failure + threshold. + """ + BOUNDED_PERCENT = "BOUNDED_PERCENT" + """ + Amazon ECS calculates the failure threshold by multiplying `value` by + the latest service desired count, then clamping the result to a minimum + of `3` and a maximum of `200`. This is the default threshold type, with + a default `value` of `50`. + """ + UNBOUNDED_PERCENT = "UNBOUNDED_PERCENT" + """ + Amazon ECS calculates the failure threshold by multiplying `value` by + the latest service desired count, without applying the `3`-to-`200` + bounds. Use this when the desired count is large enough that the + calculated threshold should be allowed to exceed `200`. + """ + +@dataclass(kw_only=True) +class TimeoutConfiguration(_SerdeShape): + """ + An object that represents the timeout configurations for Service + Connect. + + Note: + If `idleTimeout` is set to a time that is less than `perRequestTimeout`, + the connection will close when the `idleTimeout` is reached and not the + `perRequestTimeout`. + """ + + idle_timeout_seconds: int | None = ... + """ + The amount of time in seconds a connection will stay active while idle. + A value of `0` can be set to disable `idleTimeout`. + + The `idleTimeout` default for `HTTP`/`HTTP2`/`GRPC` is 5 minutes. + + The `idleTimeout` default for `TCP` is 1 hour. + """ + per_request_timeout_seconds: int | None = ... + """ + The amount of time waiting for the upstream to respond with a complete + response per request. A value of `0` can be set to disable + `perRequestTimeout`. `perRequestTimeout` can only be set if Service + Connect `appProtocol` isn't `TCP`. Only `idleTimeout` is allowed for + `TCP` `appProtocol`. + """ + +@dataclass(kw_only=True) +class Tmpfs(_SerdeShape): + """The container path, mount options, and size of the tmpfs mount.""" + + container_path: str + """The absolute file path where the tmpfs volume is to be mounted.""" + size: int = ... + """The maximum size (in MiB) of the tmpfs volume.""" + mount_options: list[str] | None = ... + """ + The list of tmpfs volume mount options. + + Valid values: + `"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"` + """ + +@dataclass(kw_only=True) +class TotalLocalStorageGBRequest(_SerdeShape): + """ + The minimum and maximum total local storage in gigabytes (GB) for + instance types with local storage. This is useful for workloads that + require local storage for temporary data or caching. + """ + + min: float | None = ... + """ + The minimum total local storage in GB. Instance types with less local + storage are excluded from selection. + """ + max: float | None = ... + """ + The maximum total local storage in GB. Instance types with more local + storage are excluded from selection. + """ + +class TransportProtocol(UnknownEnumMixin, StrEnum): + TCP = "tcp" + UDP = "udp" + +@dataclass(kw_only=True) +class TrustedExecutionConfiguration(_SerdeShape): + """ + The trusted execution configuration for a task. This configuration + controls the isolation mode and attestation policy. You set this + configuration when you register a task definition. + + Note: + Trusted execution is supported only for Amazon ECS Managed Instances. + """ + + isolation_mode: str + """ + The isolation mode for tasks that use this task definition. The + isolation mode determines how a task is isolated from other tasks on the + same Amazon EC2 instance. + + - `SHARED`: The task shares the underlying Amazon EC2 instance with + other tasks. This is the default isolation mode. + + - `ISOLATED_SANDBOX`: The task runs in its own [Nitro + Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), + which is a lightweight virtual machine that is isolated by the Amazon + Web Services Nitro System. Each task's sandbox is isolated from every + other task's sandbox on the same Amazon EC2 instance, so one task + can't access another task's memory or storage. For more information, + see [Isolated and confidential + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) + in *Amazon Elastic Container Service Developer Guide*. + + - `CONFIDENTIAL_SANDBOX`: The task runs in its own [Nitro + Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), + which is a lightweight virtual machine that is isolated by the Amazon + Web Services Nitro System, with cryptographic attestation. The host + can't access the sandbox's memory or storage, and only the approved + workload can decrypt data that you encrypt with your Key Management + Service key. For more information, see [Isolated and confidential + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) + in *Amazon Elastic Container Service Developer Guide*. + """ + attestation_policy: str | None = ... + """ + The base64-encoded attestation policy envelope for the task. The policy + specifies which containers are allowed to run and the runtime + configuration that is cryptographically attested. This parameter is + required when `isolationMode` is `CONFIDENTIAL_SANDBOX`. + """ + +@dataclass(kw_only=True) +class TrustedExecutionSummary(_SerdeShape): + """ + A summary of the trusted execution configuration for a task. This is a + read-only view of the isolation configuration that was set on the task + definition. Use it to see a task's isolation configuration in the + response to `DescribeTasks`, `RunTask`, or `StopTask` without calling + `DescribeTaskDefinition`. This summary never includes the attestation + policy itself. + + Note: + Trusted execution is supported only for Amazon ECS Managed Instances. + """ + + isolation_mode: str + """ + The isolation mode that the task runs in. This value mirrors the + `isolationMode` that was set in the task definition's + `TrustedExecutionConfiguration`. + + - `SHARED`: The task shares the underlying Amazon EC2 instance with + other tasks. This is the default isolation mode. + + - `ISOLATED_SANDBOX`: The task runs in its own [Nitro + Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), + which is a lightweight virtual machine that is isolated by the Amazon + Web Services Nitro System. Each task's sandbox is isolated from every + other task's sandbox on the same Amazon EC2 instance, so one task + can't access another task's memory or storage. For more information, + see [Isolated and confidential + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) + in *Amazon Elastic Container Service Developer Guide*. + + - `CONFIDENTIAL_SANDBOX`: The task runs in its own [Nitro + Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), + which is a lightweight virtual machine that is isolated by the Amazon + Web Services Nitro System, with cryptographic attestation. The host + can't access the sandbox's memory or storage, and only the approved + workload can decrypt data that you encrypt with your Key Management + Service key. For more information, see [Isolated and confidential + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) + in *Amazon Elastic Container Service Developer Guide*. + """ + attestation_policy_status: str | None = ... + """ + The status of the attestation policy for the task. This value is present + only for tasks that use the `CONFIDENTIAL_SANDBOX` isolation mode. + """ + +@dataclass(kw_only=True) +class Ulimit(_SerdeShape): + """ + The `ulimit` settings to pass to the container. + + Amazon ECS tasks hosted on Fargate use the default resource limit values + set by the operating system with the exception of the `nofile` resource + limit parameter which Fargate overrides. The `nofile` resource limit + sets a restriction on the number of open files that a container can use. + The default `nofile` soft limit is ` 65535` and the default hard limit + is `65535`. + + You can specify the `ulimit` settings for a container in a task + definition. + """ + + name: str + """The `type` of the `ulimit`.""" + soft_limit: int = ... + """ + The soft limit for the `ulimit` type. The value can be specified in + bytes, seconds, or as a count, depending on the `type` of the `ulimit`. + """ + hard_limit: int = ... + """ + The hard limit for the `ulimit` type. The value can be specified in + bytes, seconds, or as a count, depending on the `type` of the `ulimit`. + """ + +class UlimitName(UnknownEnumMixin, StrEnum): + CORE = "core" + CPU = "cpu" + DATA = "data" + FSIZE = "fsize" + LOCKS = "locks" + MEMLOCK = "memlock" + MSGQUEUE = "msgqueue" + NICE = "nice" + NOFILE = "nofile" + NPROC = "nproc" + RSS = "rss" + RTPRIO = "rtprio" + RTTIME = "rttime" + SIGPENDING = "sigpending" + STACK = "stack" + +@dataclass(kw_only=True) +class UnsupportedFeatureException(ServiceError, _SerdeShape): + """The specified task isn't supported in this Region.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Dataclass for UntagResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the resource to delete tags from. + Currently, the supported resources are Amazon ECS capacity providers, + tasks, services, task definitions, clusters, and container instances. + """ + tag_keys: list[str] | None = ... + """The keys of the tags to be removed.""" + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCapacityProviderInput(_SerdeShape): + """Dataclass for UpdateCapacityProviderInput structure.""" + + name: str | None = ... + """The name of the capacity provider to update.""" + cluster: str | None = ... + """ + The name of the cluster that contains the capacity provider to update. + Managed instances capacity providers are cluster-scoped and can only be + updated within their associated cluster. + """ + auto_scaling_group_provider: AutoScalingGroupProviderUpdate | None = ... + """ + An object that represent the parameters to update for the Auto Scaling + group capacity provider. + """ + managed_instances_provider: UpdateManagedInstancesProviderConfiguration | None = ... + """ + The updated configuration for the Amazon ECS Managed Instances provider. + You can modify the infrastructure role, instance launch template, and + tag propagation settings. Changes take effect for new instances launched + after the update. + """ + +@dataclass(kw_only=True) +class UpdateCapacityProviderOutput(_SerdeShape): + """Dataclass for UpdateCapacityProviderOutput structure.""" + + capacity_provider: CapacityProvider | None = ... + """Details about the capacity provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateClusterInput(_SerdeShape): + """Dataclass for UpdateClusterInput structure.""" + + cluster: str | None = ... + """The name of the cluster to modify the settings for.""" + settings: list[ClusterSetting] | None = ... + """The cluster settings for your cluster.""" + configuration: ClusterConfiguration | None = ... + """The execute command configuration for the cluster.""" + service_connect_defaults: ClusterServiceConnectDefaultsRequest | None = ... + """ + Use this parameter to set a default Service Connect namespace. After you + set a default Service Connect namespace, any new services with Service + Connect turned on that are created in the cluster are added as client + services in the namespace. This setting only applies to new services + that set the `enabled` parameter to `true` in the + `ServiceConnectConfiguration`. You can set the namespace of each service + individually in the `ServiceConnectConfiguration` to override this + default parameter. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + +@dataclass(kw_only=True) +class UpdateClusterOutput(_SerdeShape): + """Dataclass for UpdateClusterOutput structure.""" + + cluster: Cluster | None = ... + """Details about the cluster.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateClusterSettingsInput(_SerdeShape): + """Dataclass for UpdateClusterSettingsInput structure.""" + + cluster: str | None = ... + """The name of the cluster to modify the settings for.""" + settings: list[ClusterSetting] | None = ... + """ + The setting to use by default for a cluster. This parameter is used to + turn on CloudWatch Container Insights for a cluster. If this value is + specified, it overrides the `containerInsights` value set with + [PutAccountSetting](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html) + or + [PutAccountSettingDefault](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html). + + Warning: + Currently, if you delete an existing cluster that does not have + Container Insights turned on, and then create a new cluster with the + same name with Container Insights tuned on, Container Insights will not + actually be turned on. If you want to preserve the same name for your + existing cluster and turn on Container Insights, you must wait 7 days + before you can re-create it. + """ + +@dataclass(kw_only=True) +class UpdateClusterSettingsOutput(_SerdeShape): + """Dataclass for UpdateClusterSettingsOutput structure.""" + + cluster: Cluster | None = ... + """Details about the cluster""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateContainerAgentInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + your container instance is running on. If you do not specify a cluster, + the default cluster is assumed. + """ + container_instance: str | None = ... + """ + The container instance ID or full ARN entries for the container instance + where you would like to update the Amazon ECS container agent. + """ + +@dataclass(kw_only=True) +class UpdateContainerAgentOutput(_SerdeShape): + """""" + + container_instance: ContainerInstance | None = ... + """The container instance that the container agent was updated for.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateContainerInstancesStateInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the container instance to update. If you do not specify a cluster, + the default cluster is assumed. + """ + container_instances: list[str] | None = ... + """A list of up to 10 container instance IDs or full ARN entries.""" + status: str | None = ... + """ + The container instance state to update the container instance with. The + only valid values for this action are `ACTIVE` and `DRAINING`. A + container instance can only be updated to `DRAINING` status once it has + reached an `ACTIVE` state. If a container instance is in `REGISTERING`, + `DEREGISTERING`, or `REGISTRATION_FAILED` state you can describe the + container instance but can't update the container instance state. + """ + +@dataclass(kw_only=True) +class UpdateContainerInstancesStateOutput(_SerdeShape): + """""" + + container_instances: list[ContainerInstance] | None = ... + """The list of container instances.""" + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDaemonInput(_SerdeShape): + """Dataclass for UpdateDaemonInput structure.""" + + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon to update.""" + daemon_task_definition_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the daemon task definition to use for + the updated daemon. + """ + capacity_provider_arns: list[str] | None = ... + """ + The Amazon Resource Names (ARNs) of the capacity providers to associate + with the daemon. + """ + deployment_configuration: DaemonDeploymentConfiguration | None = ... + """ + Optional deployment parameters that control how the daemon rolls out + updates, including the drain percentage, alarm-based rollback, and bake + time. + """ + propagate_tags: str | None = ... + """ + Specifies whether to propagate the tags from the daemon to the daemon + tasks. If you don't specify a value, the tags aren't propagated. You + can only propagate tags to daemon tasks during task creation. + """ + enable_ecs_managed_tags: bool = ... + """ + Specifies whether to turn on Amazon ECS managed tags for the tasks in + the daemon. For more information, see [Tagging your Amazon ECS + resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + enable_execute_command: bool = ... + """ + If `true`, the execute command functionality is turned on for all tasks + in the daemon. If `false`, the execute command functionality is turned + off. + """ + critical: bool | None = ... + """ + If the `critical` parameter of a daemon is `true`, and the daemon task + fails, stops, or becomes unhealthy, Amazon ECS drains the container + instance and stops the other tasks running on it. If the `critical` + parameter is `false`, the daemon task failure doesn't affect the other + tasks on the instance. The default value is `true`. + + A non-critical daemon doesn't block instance registration. The + container instance becomes active and continues to run your other tasks, + whether the daemon task fails during scale-out or during a deployment. + + Amazon ECS emits an EventBridge event when a daemon task fails to start, + for both critical and non-critical daemons. + + Daemon task launch failures during a deployment are still counted by the + deployment circuit breaker. The circuit breaker can roll back an + unstable target revision. + """ + +@dataclass(kw_only=True) +class UpdateDaemonOutput(_SerdeShape): + """Dataclass for UpdateDaemonOutput structure.""" + + daemon_arn: str | None = ... + """The Amazon Resource Name (ARN) of the daemon.""" + status: str | None = ... + """The status of the daemon.""" + created_at: datetime | None = ... + """The Unix timestamp for the time when the daemon was created.""" + updated_at: datetime | None = ... + """The Unix timestamp for the time when the daemon was last updated.""" + deployment_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the daemon deployment that was + triggered by the update. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatedExpressGatewayService(_SerdeShape): + """An object that describes an Express service to be updated.""" + + service_arn: str | None = ... + """The ARN of the Express service that is being updated.""" + cluster: str | None = ... + """The cluster associated with the Express service that is being updated.""" + service_name: str | None = ... + """The name of the Express service that is being updated.""" + status: ExpressGatewayServiceStatus | None = ... + """The status of the Express service that is being updated.""" + target_configuration: ExpressGatewayServiceConfiguration | None = ... + """ + The configuration to which the current Express service is being updated + to. + """ + created_at: datetime | None = ... + """ + The Unix timestamp for when the Express service that is being updated + was created. + """ + updated_at: datetime | None = ... + """ + The Unix timestamp for when the Express service that is being updated + was most recently updated. + """ + +@dataclass(kw_only=True) +class UpdateExpressGatewayServiceInput(_SerdeShape): + """Dataclass for UpdateExpressGatewayServiceInput structure.""" + + service_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Express service to update.""" + execution_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the task execution role for the + Express service. + """ + health_check_path: str | None = ... + """The path on the container for Application Load Balancer health checks.""" + primary_container: ExpressGatewayContainer | None = ... + """The primary container configuration for the Express service.""" + task_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role for containers in this + task. + """ + network_configuration: ExpressGatewayServiceNetworkConfiguration | None = ... + """ + The network configuration for the Express service tasks. By default, the + network configuration for an Express service uses the default VPC. + """ + cpu: str | None = ... + """The number of CPU units used by the task.""" + memory: str | None = ... + """The amount of memory (in MiB) used by the task.""" + cpu_architecture: str | None = ... + """ + The CPU architecture that the task runs on. If you don't specify a + value, the service keeps its current architecture. + + Valid values: + + - `X86_64` - The x86 64-bit architecture. + + - `ARM64` - The 64-bit ARM architecture. + + Changing the architecture starts a new deployment that replaces the + running tasks. Ensure that the container image you specify supports the + architecture you choose. The operating system family for an Express + service is always `LINUX`. + + You can't specify `cpuArchitecture` together with `taskDefinitionArn`. + """ + scaling_target: ExpressGatewayScalingTarget | None = ... + """The auto-scaling configuration for the Express service.""" + task_definition_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a task definition to use to update the + Express Gateway service. This allows you to manage your own task + definition, giving you more control over the service configuration such + as adding sidecar containers. + + The task definition must have a container named `Main` with a single TCP + port mapping that includes a container port and port name. The task + definition must also have `FARGATE` compatibility. + + If you provide a task definition ARN, you cannot also specify + `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, `memory`, + or `cpuArchitecture`. + """ + +@dataclass(kw_only=True) +class UpdateExpressGatewayServiceOutput(_SerdeShape): + """Dataclass for UpdateExpressGatewayServiceOutput structure.""" + + service: UpdatedExpressGatewayService | None = ... + """ + The full description of your express gateway service following the + update call. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGatewayAlbConfiguration(_SerdeShape): + """ + The mutable configuration fields for a gateway that uses shared + Application Load Balancers. Only fields that can be changed without + interrupting traffic are included. + """ + + network_configuration: UpdateGatewayNetworkConfiguration | None = ... + """ + The mutable network configuration for the load balancers that the + gateway manages. + """ + max_alb_count: int | None = ... + """ + The maximum number of Application Load Balancers that the gateway + manages. + """ + web_acl_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the WAF web ACL to associate with the + load balancers that the gateway manages. + """ + access_logs: GatewayElbAccessLogConfiguration | None = ... + """ + The access log configuration for the load balancers that the gateway + manages. + """ + http_desync: str | None = ... + """ + The desync mitigation mode for the load balancers that the gateway + manages. + """ + test_traffic_rules: GatewayAlbTestTrafficRules | None = ... + """The rules that route test traffic for progressive deployments.""" + +@dataclass +class UpdateGatewayConfigurationHostSharedAlb(_SerdeShape): + """ + The mutable configuration for a host-based, shared Application Load + Balancer gateway. + """ + + value: UpdateGatewayAlbConfiguration + +@dataclass +class UpdateGatewayConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +UpdateGatewayConfiguration = Union[ + UpdateGatewayConfigurationHostSharedAlb | UpdateGatewayConfigurationUnknown +] +""" +The type-specific configuration to change on a gateway. The variant must +match the gateway's existing type. +""" + +class _UpdateGatewayConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> UpdateGatewayConfiguration: ... + +@dataclass(kw_only=True) +class UpdateGatewayInput(_SerdeShape): + """Dataclass for UpdateGatewayInput structure.""" + + gateway: str | None = ... + """The name or Amazon Resource Name (ARN) of the gateway to update.""" + infrastructure_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that the gateway assumes + to manage infrastructure on your behalf. + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the gateway. When + enabled, the gateway can't be deleted. + """ + configuration: UpdateGatewayConfiguration | None = ... + """ + The updated type-specific configuration for the gateway. The + configuration variant must match the gateway's existing type, and only + mutable fields can be changed. + """ + propagate_tags: str | None = ... + """ + Specifies whether to propagate the tags from the gateway to the + infrastructure that the gateway manages. If you don't specify a value, + the gateway's existing setting is unchanged. + """ + +@dataclass(kw_only=True) +class UpdateGatewayNetworkConfiguration(_SerdeShape): + """ + The mutable network configuration for the load balancers that a gateway + manages. + """ + + inbound_security_group: str | None = ... + """ + The ID of a security group that you provide to control inbound traffic + to the load balancers that the gateway manages. When you specify a + security group, the gateway doesn't create inbound rules on the + security group it manages. + """ + +@dataclass(kw_only=True) +class UpdateGatewayOutput(_SerdeShape): + """Dataclass for UpdateGatewayOutput structure.""" + + gateway_arn: str | None = ... + """The Amazon Resource Name (ARN) of the gateway.""" + name: str | None = ... + """The name of the gateway.""" + status: str | None = ... + """ + The status of the gateway. After a successful update request, the status + is `UPDATE_IN_PROGRESS`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateInProgressException(ServiceError, _SerdeShape): + """ + There's already a current Amazon ECS container agent update in progress + on the container instance that's specified. If the container agent + becomes disconnected while it's in a transitional stage, such as + `PENDING` or `STAGING`, the update process can get stuck in that state. + However, when the agent reconnects, it resumes where it stopped + previously. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateManagedInstancesProviderConfiguration(_SerdeShape): + """ + The updated configuration for a Amazon ECS Managed Instances provider. + You can modify the infrastructure role, instance launch template, and + tag propagation settings. Changes apply to new instances launched after + the update. + """ + + infrastructure_role_arn: str + """ + The updated Amazon Resource Name (ARN) of the infrastructure role. The + new role must have the necessary permissions to manage instances and + access required Amazon Web Services services. + + For more information, see [Amazon ECS infrastructure IAM + role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) + in the *Amazon ECS Developer Guide*. + """ + instance_launch_template: InstanceLaunchTemplateUpdate + """ + The updated launch template configuration. Changes to the launch + template affect new instances launched after the update, while existing + instances continue to use their original configuration. + """ + propagate_tags: str | None = ... + """ + The updated tag propagation setting. When changed, this affects only new + instances launched after the update. + """ + infrastructure_optimization: InfrastructureOptimization | None = ... + """ + The updated infrastructure optimization configuration. Changes to this + setting affect how Amazon ECS optimizes instances going forward. + """ + auto_repair_configuration: AutoRepairConfiguration | None = ... + """ + The updated auto repair configuration for the Amazon ECS Managed + Instances capacity provider. + """ + +@dataclass(kw_only=True) +class UpdateServiceInput(_SerdeShape): + """""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + your service runs on. If you do not specify a cluster, the default + cluster is assumed. + + You can't change the cluster name. + """ + service: str | None = ... + """The name of the service to update.""" + desired_count: int | None = ... + """ + The number of instantiations of the task to place and keep running in + your service. + + This parameter doesn't trigger a new service deployment. + """ + task_definition: str | None = ... + """ + The `family` and `revision` (`family:revision`) or full ARN of the task + definition to run in your service. If a `revision` is not specified, the + latest `ACTIVE` revision is used. If you modify the task definition with + `UpdateService`, Amazon ECS spawns a task with the new version of the + task definition and then stops an old task after the new version is + running. + + This parameter triggers a new service deployment. + """ + capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... + """ + The details of a capacity provider strategy. You can set a capacity + provider when you create a cluster, run a task, or update a service. + + Note: + If you want to use Amazon ECS Managed Instances, you must use the + `capacityProviderStrategy` request parameter. + + When you use Fargate, the capacity providers are `FARGATE` or + `FARGATE_SPOT`. + + When you use Amazon EC2, the capacity providers are Auto Scaling groups. + + You can change capacity providers for rolling deployments and blue/green + deployments. + + The following list provides the valid transitions: + + - Update the Fargate launch type to an Auto Scaling group capacity + provider. + + - Update the Amazon EC2 launch type to a Fargate capacity provider. + + - Update the Fargate capacity provider to an Auto Scaling group capacity + provider. + + - Update the Amazon EC2 capacity provider to a Fargate capacity + provider. + + - Update the Auto Scaling group or Fargate capacity provider back to the + launch type. + + Pass an empty list in the `capacityProviderStrategy` parameter. + + For information about Amazon Web Services CDK considerations, see + [Amazon Web Services CDK + considerations](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html). + + This parameter doesn't trigger a new service deployment. + """ + deployment_configuration: DeploymentConfiguration | None = ... + """ + Optional deployment parameters that control how many tasks run during + the deployment and the ordering of stopping and starting tasks. + + This parameter doesn't trigger a new service deployment. + """ + availability_zone_rebalancing: str | None = ... + """ + Indicates whether to use Availability Zone rebalancing for the service. + + For more information, see [Balancing an Amazon ECS service across + Availability + Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) + in the Amazon Elastic Container Service Developer Guide . + + The default behavior of `AvailabilityZoneRebalancing` differs between + create and update requests: + + - For create service requests, when no value is specified for + `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to + `ENABLED`. + + - For update service requests, when no value is specified for + `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing + service's `AvailabilityZoneRebalancing` value. If the service never + had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats this + as `DISABLED`. + + This parameter doesn't trigger a new service deployment. + """ + network_configuration: NetworkConfiguration | None = ... + """ + An object representing the network configuration for the service. + + This parameter triggers a new service deployment. + """ + placement_constraints: list[PlacementConstraint] | None = ... + """ + An array of task placement constraint objects to update the service to + use. If no value is specified, the existing placement constraints for + the service will remain unchanged. If this value is specified, it will + override any existing placement constraints defined for the service. To + remove all existing placement constraints, specify an empty array. + + You can specify a maximum of 10 constraints for each task. This limit + includes constraints in the task definition and those specified at + runtime. + + This parameter doesn't trigger a new service deployment. + """ + placement_strategy: list[PlacementStrategy] | None = ... + """ + The task placement strategy objects to update the service to use. If no + value is specified, the existing placement strategy for the service will + remain unchanged. If this value is specified, it will override the + existing placement strategy defined for the service. To remove an + existing placement strategy, specify an empty object. + + You can specify a maximum of five strategy rules for each service. + + This parameter doesn't trigger a new service deployment. + """ + platform_version: str | None = ... + """ + The platform version that your tasks in the service run on. A platform + version is only specified for tasks using the Fargate launch type. If a + platform version is not specified, the `LATEST` platform version is + used. For more information, see [Fargate Platform + Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) + in the *Amazon Elastic Container Service Developer Guide*. + + This parameter triggers a new service deployment. + """ + force_new_deployment: bool = ... + """ + Determines whether to force a new deployment of the service. By default, + deployments aren't forced. You can use this option to start a new + deployment with no service definition changes. For example, you can + update a service's tasks to use a newer Docker image with the same + image/tag combination (`my_image:latest`) or to roll Fargate tasks onto + a newer platform version. + """ + health_check_grace_period_seconds: int | None = ... + """ + The period of time, in seconds, that the Amazon ECS service scheduler + ignores unhealthy Elastic Load Balancing, VPC Lattice, and container + health checks after a task has first started. If you don't specify a + health check grace period value, the default value of `0` is used. If + you don't use any of the health checks, then + `healthCheckGracePeriodSeconds` is unused. + + If your service's tasks take a while to start and respond to health + checks, you can specify a health check grace period of up to + 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS + service scheduler ignores health check status. This grace period can + prevent the service scheduler from marking tasks as unhealthy and + stopping them before they have time to come up. + + If your service has more running tasks than desired, unhealthy tasks in + the grace period might be stopped to reach the desired count. + + This parameter doesn't trigger a new service deployment. + """ + deployment_controller: DeploymentController | None = ... + """The deployment controller to use for the service.""" + enable_execute_command: bool | None = ... + """ + If `true`, this enables execute command functionality on all task + containers. + + If you do not want to override the value that was set when the service + was created, you can set this to `null` when performing this action. + + This parameter doesn't trigger a new service deployment. + """ + enable_ecs_managed_tags: bool | None = ... + """ + Determines whether to turn on Amazon ECS managed tags for the tasks in + the service. For more information, see [Tagging Your Amazon ECS + Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) + in the *Amazon Elastic Container Service Developer Guide*. + + Only tasks launched after the update will reflect the update. To update + the tags on all tasks, set `forceNewDeployment` to `true`, so that + Amazon ECS starts new tasks with the updated tags. + + This parameter doesn't trigger a new service deployment. + """ + load_balancers: list[LoadBalancer] | None = ... + """ + Note: + You must have a service-linked role when you update this property + + A list of Elastic Load Balancing load balancer objects. It contains the + load balancer name, the container name, and the container port to access + from the load balancer. The container name is as it appears in a + container definition. + + When you add, update, or remove a load balancer configuration, Amazon + ECS starts new tasks with the updated Elastic Load Balancing + configuration, and then stops the old tasks when the new tasks are + running. + + For services that use rolling updates, you can add, update, or remove + Elastic Load Balancing target groups. You can update from a single + target group to multiple target groups and from multiple target groups + to a single target group. + + For services that use blue/green deployments, you can update Elastic + Load Balancing target groups by using + ` `[`CreateDeployment`](https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html)` ` + through CodeDeploy. Note that multiple target groups are not supported + for blue/green deployments. For more information see [Register multiple + target groups with a + service](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html) + in the *Amazon Elastic Container Service Developer Guide*. + + For services that use the external deployment controller, you can add, + update, or remove load balancers by using + [CreateTaskSet](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html). + Note that multiple target groups are not supported for external + deployments. For more information see [Register multiple target groups + with a + service](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html) + in the *Amazon Elastic Container Service Developer Guide*. + + You can remove existing `loadBalancers` by passing an empty list. + + This parameter triggers a new service deployment. + """ + propagate_tags: str | None = ... + """ + Determines whether to propagate the tags from the task definition or the + service to the task. If no value is specified, the tags aren't + propagated. + + Only tasks launched after the update will reflect the update. To update + the tags on all tasks, set `forceNewDeployment` to `true`, so that + Amazon ECS starts new tasks with the updated tags. + + This parameter doesn't trigger a new service deployment. + """ + service_registries: list[ServiceRegistry] | None = ... + """ + Note: + You must have a service-linked role when you update this property. + + For more information about the role see the `CreateService` request + parameter + [`role`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role) + . + + The details for the service discovery registries to assign to this + service. For more information, see [Service + Discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). + + When you add, update, or remove the service registries configuration, + Amazon ECS starts new tasks with the updated service registries + configuration, and then stops the old tasks when the new tasks are + running. + + You can remove existing `serviceRegistries` by passing an empty list. + + This parameter triggers a new service deployment. + """ + service_connect_configuration: ServiceConnectConfiguration | None = ... + """ + The configuration for this service to discover and connect to services, + and be discovered by, and connected from, other services within a + namespace. + + Tasks that run in a namespace can use short names to connect to services + in the namespace. Tasks can connect to services across all of the + clusters in the namespace. Tasks connect through a managed proxy + container that collects logs and metrics for increased visibility. Only + the tasks that Amazon ECS services create are supported with Service + Connect. For more information, see [Service + Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) + in the *Amazon Elastic Container Service Developer Guide*. + + This parameter triggers a new service deployment. + """ + volume_configurations: list[ServiceVolumeConfiguration] | None = ... + """ + The details of the volume that was `configuredAtLaunch`. You can + configure the size, volumeType, IOPS, throughput, snapshot and + encryption in + [ServiceManagedEBSVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html). + The `name` of the volume must match the `name` from the task definition. + If set to null, no new deployment is triggered. Otherwise, if this + configuration differs from the existing one, it triggers a new + deployment. + + This parameter triggers a new service deployment. + """ + vpc_lattice_configurations: list[VpcLatticeConfiguration] | None = ... + """ + An object representing the VPC Lattice configuration for the service + being updated. + + This parameter triggers a new service deployment. + """ + gateway_connectors: list[GatewayConnector] | None = ... + """ + The updated set of gateway connectors that connect the service to a + gateway ingress path. A service supports no more than one gateway + connector. + """ + monitoring: MonitoringConfiguration | None = ... + """ + The optional monitoring configuration for the service, which defines the + resolution for the service-level `CPUUtilization` and + `MemoryUtilization` Amazon CloudWatch metrics. When not specified, + Amazon ECS uses the default resolution of `60` seconds. + """ + +@dataclass(kw_only=True) +class UpdateServiceOutput(_SerdeShape): + """""" + + service: Service | None = ... + """ + The full description of your service following the update call. + + The response includes a `lifecycleHookDetails` field, which is an empty + array when the service is created or updated. The values are populated + when a lifecycle hook executes and are available as part of the service + deployment details + ([DescribeServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html)). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateServicePrimaryTaskSetInput(_SerdeShape): + """Dataclass for UpdateServicePrimaryTaskSetInput structure.""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the service that the task set exists in. + """ + service: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the service that + the task set exists in. + """ + primary_task_set: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the task set to set + as the primary task set in the deployment. + """ + +@dataclass(kw_only=True) +class UpdateServicePrimaryTaskSetOutput(_SerdeShape): + """Dataclass for UpdateServicePrimaryTaskSetOutput structure.""" + + task_set: TaskSet | None = ... + """The details about the task set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateTaskProtectionInput(_SerdeShape): + """Dataclass for UpdateTaskProtectionInput structure.""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the service that the task sets exist in. + """ + tasks: list[str] | None = ... + """A list of up to 10 task IDs or full ARN entries.""" + protection_enabled: bool = ... + """ + Specify `true` to mark a task for protection and `false` to unset + protection, making it eligible for termination. + """ + expires_in_minutes: int | None = ... + """ + If you set `protectionEnabled` to `true`, you can specify the duration + for task protection in minutes. You can specify a value from 1 minute to + up to 2,880 minutes (48 hours). During this time, your task will not be + terminated by scale-in events from Service Auto Scaling or deployments. + After this time period lapses, `protectionEnabled` will be reset to + `false`. + + If you don't specify the time, then the task is automatically protected + for 120 minutes (2 hours). + """ + +@dataclass(kw_only=True) +class UpdateTaskProtectionOutput(_SerdeShape): + """Dataclass for UpdateTaskProtectionOutput structure.""" + + protected_tasks: list[ProtectedTask] | None = ... + """ + A list of tasks with the following information. + + - `taskArn`: The task ARN. + + - `protectionEnabled`: The protection status of the task. If scale-in + protection is turned on for a task, the value is `true`. Otherwise, it + is `false`. + + - `expirationDate`: The epoch time when protection for the task will + expire. + """ + failures: list[Failure] | None = ... + """Any failures associated with the call.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateTaskSetInput(_SerdeShape): + """Dataclass for UpdateTaskSetInput structure.""" + + cluster: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the cluster that + hosts the service that the task set is found in. + """ + service: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the service that + the task set is found in. + """ + task_set: str | None = ... + """ + The short name or full Amazon Resource Name (ARN) of the task set to + update. + """ + scale: Scale | None = ... + """ + A floating-point percentage of the desired number of tasks to place and + keep running in the task set. + """ + +@dataclass(kw_only=True) +class UpdateTaskSetOutput(_SerdeShape): + """Dataclass for UpdateTaskSetOutput structure.""" + + task_set: TaskSet | None = ... + """Details about the task set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class VCpuCountRangeRequest(_SerdeShape): + """ + The minimum and maximum number of vCPUs for instance type selection. + This allows you to specify a range of vCPU counts that meet your + workload requirements. + """ + + min: int + """ + The minimum number of vCPUs. Instance types with fewer vCPUs than this + value are excluded from selection. + """ + max: int | None = ... + """ + The maximum number of vCPUs. Instance types with more vCPUs than this + value are excluded from selection. + """ + +class VersionConsistency(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + +@dataclass(kw_only=True) +class VersionInfo(_SerdeShape): + """ + The Docker and Amazon ECS container agent version information about a + container instance. + """ + + agent_version: str | None = ... + """The version number of the Amazon ECS container agent.""" + agent_hash: str | None = ... + """ + The Git commit hash for the Amazon ECS container agent build on the + [amazon-ecs-agent](https://github.com/aws/amazon-ecs-agent) GitHub + repository. + """ + docker_version: str | None = ... + """The Docker version that's running on the container instance.""" + +@dataclass(kw_only=True) +class Volume(_SerdeShape): + """ + The data volume configuration for tasks launched using this task + definition. Specifying a volume configuration in a task definition is + optional. The volume configuration may contain multiple volumes but only + one volume configured at launch is supported. Each volume defined in the + volume configuration may only specify a `name` and one of either + `configuredAtLaunch`, `dockerVolumeConfiguration`, + `efsVolumeConfiguration`, `s3filesVolumeConfiguration`, + `fsxWindowsFileServerVolumeConfiguration`, or `host`. If an empty volume + configuration is specified, by default Amazon ECS uses a host volume. + For more information, see [Using data volumes in + tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html). + """ + + name: str | None = ... + """ + The name of the volume. Up to 255 letters (uppercase and lowercase), + numbers, underscores, and hyphens are allowed. + + When using a volume configured at launch, the `name` is required and + must also be specified as the volume name in the + `ServiceVolumeConfiguration` or `TaskVolumeConfiguration` parameter when + creating your service or standalone task. + + For all other types of volumes, this name is referenced in the + `sourceVolume` parameter of the `mountPoints` object in the container + definition. + + When a volume is using the `efsVolumeConfiguration`, the name is + required. + + When a volume is using the `s3filesVolumeConfiguration`, the name is + required. + """ + host: HostVolumeProperties | None = ... + """ + This parameter is specified when you use bind mount host volumes. The + contents of the `host` parameter determine whether your bind mount host + volume persists on the host container instance and where it's stored. + If the `host` parameter is empty, then the Docker daemon assigns a host + path for your data volume. However, the data isn't guaranteed to + persist after the containers that are associated with it stop running. + + Windows containers can mount whole directories on the same drive as + `$env:ProgramData`. Windows containers can't mount directories on a + different drive, and mount point can't be across drives. For example, + you can mount `C:\\my\\path:C:\\my\\path` and `D:\\:D:`, but not + `D:\\my\\path:C:\\my\\path` or `D:\\:C:\\my\\path`. + """ + docker_volume_configuration: DockerVolumeConfiguration | None = ... + """ + This parameter is specified when you use Docker volumes. + + Windows containers only support the use of the `local` driver. To use + bind mounts, specify the `host` parameter instead. + + Note: + Docker volumes aren't supported by tasks run on Fargate. + """ + efs_volume_configuration: EFSVolumeConfiguration | None = ... + """ + This parameter is specified when you use an Amazon Elastic File System + file system for task storage. + """ + s3files_volume_configuration: S3FilesVolumeConfiguration | None = ... + """ + This parameter is specified when you use an Amazon S3 Files file system + for task storage. + """ + fsx_windows_file_server_volume_configuration: ( + FSxWindowsFileServerVolumeConfiguration | None + ) = ... + """ + This parameter is specified when you use Amazon FSx for Windows File + Server file system for task storage. + """ + configured_at_launch: bool | None = ... + """ + Indicates whether the volume should be configured at launch time. This + is used to create Amazon EBS volumes for standalone tasks or tasks + created as part of a service. Each task definition revision may only + have one volume configured at launch in the volume configuration. + + To configure a volume at launch time, use this task definition revision + and specify a `volumeConfigurations` object when calling the + `CreateService`, `UpdateService`, `RunTask` or `StartTask` APIs. + """ + +@dataclass(kw_only=True) +class VolumeFrom(_SerdeShape): + """ + Details on a data volume from another container in the same task + definition. + """ + + source_container: str | None = ... + """ + The name of another container within the same task definition to mount + volumes from. + """ + read_only: bool | None = ... + """ + If this value is `true`, the container has read-only access to the + volume. If this value is `false`, then the container can write to the + volume. The default value is `false`. + """ + +@dataclass(kw_only=True) +class VpcLatticeAdvancedConfiguration(_SerdeShape): + """ + The advanced settings for VPC Lattice used in blue/green deployments. + Specify the alternate target group and listener rules required for + traffic shifting during blue/green deployments. For more information, + see [Required resources for Amazon ECS blue/green + deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-deployment-implementation.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ + + alternate_target_group_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the alternate target group associated + with the VPC Lattice Configuration for Amazon ECS blue/green + deployments. + """ + production_listener_rule: str | None = ... + """ + The Amazon Resource Name (ARN) that identifies the production listener + rule or listener for routing production traffic. + """ + test_listener_rule: str | None = ... + """ + The Amazon Resource Name (ARN) that identifies the test listener rule or + listener for routing test traffic. + """ + +@dataclass(kw_only=True) +class VpcLatticeConfiguration(_SerdeShape): + """ + The VPC Lattice configuration for your service that holds the + information for the target group(s) Amazon ECS tasks will be registered + to. + """ + + role_arn: str + """ + The ARN of the IAM role to associate with this VPC Lattice + configuration. This is the Amazon ECS infrastructure IAM role that is + used to manage your VPC Lattice infrastructure. + """ + target_group_arn: str + """ + The full Amazon Resource Name (ARN) of the target group or groups + associated with the VPC Lattice configuration that the Amazon ECS tasks + will be registered to. + """ + port_name: str + """ + The name of the port mapping to register in the VPC Lattice target + group. This is the name of the `portMapping` you defined in your task + definition. + """ + advanced_configuration: VpcLatticeAdvancedConfiguration | None = ... + """ + The advanced settings for VPC Lattice used in blue/green deployments. + Specify the alternate target group and listener rules required for + traffic shifting during blue/green deployments. For more information, + see [Required resources for Amazon ECS blue/green + deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-deployment-implementation.html) + in the *Amazon Elastic Container Service Developer Guide*. + """ diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas.py index 25ce9ac06..6595c6530 100644 --- a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas.py +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas.py @@ -1,11349 +1,873 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.ecs" -_BI = "BoxedInteger" -_ACR = "AcceleratorCountRequest" -_m = "min" -_ma = "max" -_AM = "AcceleratorManufacturer" -_AWS = "AMAZON_WEB_SERVICES" -_sV = "smithy.api#enumValue" -_aws = "amazon-web-services" -_AMD = "AMD" -_a = "amd" -_NVIDIA = "NVIDIA" -_n = "nvidia" -_XILINX = "XILINX" -_x = "xilinx" -_HABANA = "HABANA" -_h = "habana" -_AMS = "AcceleratorManufacturerSet" -_me = "member" -_sN = "smithy.api#xmlName" -_i = "item" -_AN = "AcceleratorName" -_A = "A100" -_a_ = "a100" -_INFERENTIA = "INFERENTIA" -_in = "inferentia" -_K = "K520" -_k = "k520" -_K_ = "K80" -_k_ = "k80" -_M = "M60" -_m_ = "m60" -_RPV = "RADEON_PRO_V520" -_rpv = "radeon-pro-v520" -_T = "T4" -_t = "t4" -_VUP = "VU9P" -_v = "vu9p" -_V = "V100" -_v_ = "v100" -_AG = "A10G" -_ag = "a10g" -_H = "H100" -_h_ = "h100" -_TG = "T4G" -_tg = "t4g" -_LS = "L40S" -_l = "l40s" -_L = "L4" -_l_ = "l4" -_ANS = "AcceleratorNameSet" -_ATMMBR = "AcceleratorTotalMemoryMiBRequest" -_AT = "AcceleratorType" -_GPU = "GPU" -_g = "gpu" -_FPGA = "FPGA" -_f = "fpga" -_INFERENCE = "INFERENCE" -_inf = "inference" -_ATS = "AcceleratorTypeSet" -_S = "String" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_mes = "message" -_ATc = "AccessType" -_PUBLIC = "PUBLIC" -_PRIVATE = "PRIVATE" -_ATL = "AccessTypeList" -_AC = "AdvancedConfiguration" -_aTGA = "alternateTargetGroupArn" -_pLR = "productionListenerRule" -_tLR = "testListenerRule" -_rA = "roleArn" -_AUS = "AgentUpdateStatus" -_PENDING = "PENDING" -_STAGING = "STAGING" -_STAGED = "STAGED" -_UPDATING = "UPDATING" -_UPDATED = "UPDATED" -_FAILED = "FAILED" -_AIT = "AllowedInstanceType" -_AITS = "AllowedInstanceTypeSet" -_CE = "ClientException" -_CNFE = "ClusterNotFoundException" -_MD = "ManagedDraining" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_MSIWP = "ManagedScalingInstanceWarmupPeriod" -_MSSS = "ManagedScalingStepSize" -_MSS = "ManagedScalingStatus" -_MSTC = "ManagedScalingTargetCapacity" -_MS = "ManagedScaling" -_st = "status" -_tC = "targetCapacity" -_mSSS = "minimumScalingStepSize" -_mSSSa = "maximumScalingStepSize" -_iWP = "instanceWarmupPeriod" -_MTP = "ManagedTerminationProtection" -_ASGP = "AutoScalingGroupProvider" -_aSGA = "autoScalingGroupArn" -_sm = "smithy.api#required" -_mS = "managedScaling" -_mTP = "managedTerminationProtection" -_mD = "managedDraining" -_ARAS = "AutoRepairActionsStatus" -_ARC = "AutoRepairConfiguration" -_aS = "actionsStatus" -_IO = "InfrastructureOptimization" -_sIA = "scaleInAfter" -_COT = "CapacityOptionType" -_OD = "ON_DEMAND" -_SPOT = "SPOT" -_RESERVED = "RESERVED" -_CRP = "CapacityReservationPreference" -_RO = "RESERVATIONS_ONLY" -_RF = "RESERVATIONS_FIRST" -_RE = "RESERVATIONS_EXCLUDED" -_CRR = "CapacityReservationRequest" -_rGA = "reservationGroupArn" -_rP = "reservationPreference" -_BB = "BoxedBoolean" -_BM = "BareMetal" -_INCLUDED = "INCLUDED" -_inc = "included" -_REQUIRED = "REQUIRED" -_r = "required" -_EXCLUDED = "EXCLUDED" -_e = "excluded" -_BEBMR = "BaselineEbsBandwidthMbpsRequest" -_BP = "BurstablePerformance" -_CM = "CpuManufacturer" -_INTEL = "INTEL" -_int = "intel" -_CMS = "CpuManufacturerSet" -_EIT = "ExcludedInstanceType" -_EITS = "ExcludedInstanceTypeSet" -_IG = "InstanceGeneration" -_CURRENT = "CURRENT" -_cu = "current" -_PREVIOUS = "PREVIOUS" -_p = "previous" -_IGS = "InstanceGenerationSet" -_LSo = "LocalStorage" -_LST = "LocalStorageType" -_HDD = "HDD" -_hd = "hdd" -_SSD = "SSD" -_ss = "ssd" -_LSTS = "LocalStorageTypeSet" -_BD = "BoxedDouble" -_MGBPVCR = "MemoryGiBPerVCpuRequest" -_MMBR = "MemoryMiBRequest" -_NBGR = "NetworkBandwidthGbpsRequest" -_NICR = "NetworkInterfaceCountRequest" -_TLSGBR = "TotalLocalStorageGBRequest" -_VCCRR = "VCpuCountRangeRequest" -_IRR = "InstanceRequirementsRequest" -_vCC = "vCpuCount" -_mMB = "memoryMiB" -_cM = "cpuManufacturers" -_mGBPVC = "memoryGiBPerVCpu" -_eIT = "excludedInstanceTypes" -_iG = "instanceGenerations" -_sMPPOLP = "spotMaxPricePercentageOverLowestPrice" -_oDMPPOLP = "onDemandMaxPricePercentageOverLowestPrice" -_bM = "bareMetal" -_bP = "burstablePerformance" -_rHS = "requireHibernateSupport" -_nIC = "networkInterfaceCount" -_lS = "localStorage" -_lST = "localStorageTypes" -_tLSGB = "totalLocalStorageGB" -_bEBM = "baselineEbsBandwidthMbps" -_aT = "acceleratorTypes" -_aC = "acceleratorCount" -_aM = "acceleratorManufacturers" -_aN = "acceleratorNames" -_aTMMB = "acceleratorTotalMemoryMiB" -_nBG = "networkBandwidthGbps" -_aIT = "allowedInstanceTypes" -_mSPAPOOODP = "maxSpotPriceAsPercentageOfOptimalOnDemandPrice" -_B = "Boolean" -_smi = "smithy.api#default" -_MILSC = "ManagedInstancesLocalStorageConfiguration" -_uLS = "useLocalStorage" -_MIMO = "ManagedInstancesMonitoringOptions" -_BASIC = "BASIC" -_DETAILED = "DETAILED" -_SL = "StringList" -_MINC = "ManagedInstancesNetworkConfiguration" -_su = "subnets" -_sG = "securityGroups" -_TVSGB = "TaskVolumeStorageGiB" -_MISC = "ManagedInstancesStorageConfiguration" -_sSGB = "storageSizeGiB" -_ILT = "InstanceLaunchTemplate" -_eIPA = "ec2InstanceProfileArn" -_nC = "networkConfiguration" -_sC = "storageConfiguration" -_lSC = "localStorageConfiguration" -_mo = "monitoring" -_cOT = "capacityOptionType" -_iMTP = "instanceMetadataTagsPropagation" -_iR = "instanceRequirements" -_fE = "fipsEnabled" -_cR = "capacityReservations" -_nEE = "nitroEnclavesEnabled" -_PMIT = "PropagateMITags" -_CP = "CAPACITY_PROVIDER" -_NONE = "NONE" -_CMIPC = "CreateManagedInstancesProviderConfiguration" -_iRA = "infrastructureRoleArn" -_iLT = "instanceLaunchTemplate" -_pT = "propagateTags" -_iO = "infrastructureOptimization" -_aRC = "autoRepairConfiguration" -_TK = "TagKey" -_TV = "TagValue" -_Ta = "Tag" -_ke = "key" -_va = "value" -_Tag = "Tags" -_CCPI = "CreateCapacityProviderInput" -_sSI = "smithy.synthetic#originalShapeId" -_cCCPR = "com.amazonaws.ecs#CreateCapacityProviderRequest" -_smit = "smithy.api#input" -_na = "name" -_cl = "cluster" -_aSGP = "autoScalingGroupProvider" -_mIP = "managedInstancesProvider" -_ta = "tags" -_MIP = "ManagedInstancesProvider" -_CPS = "CapacityProviderStatus" -_PROVISIONING = "PROVISIONING" -_ACTIVE = "ACTIVE" -_DEPROVISIONING = "DEPROVISIONING" -_INACTIVE = "INACTIVE" -_CPT = "CapacityProviderType" -_EA = "EC2_AUTOSCALING" -_MI = "MANAGED_INSTANCES" -_FARGATE = "FARGATE" -_FS = "FARGATE_SPOT" -_CPUS = "CapacityProviderUpdateStatus" -_CIP = "CREATE_IN_PROGRESS" -_CC = "CREATE_COMPLETE" -_CF = "CREATE_FAILED" -_DIP = "DELETE_IN_PROGRESS" -_DC = "DELETE_COMPLETE" -_DF = "DELETE_FAILED" -_UIP = "UPDATE_IN_PROGRESS" -_UC = "UPDATE_COMPLETE" -_UF = "UPDATE_FAILED" -_CPa = "CapacityProvider" -_cPA = "capacityProviderArn" -_uS = "updateStatus" -_uSR = "updateStatusReason" -_ty = "type" -_CCPO = "CreateCapacityProviderOutput" -_cCCPRo = "com.amazonaws.ecs#CreateCapacityProviderResponse" -_smith = "smithy.api#output" -_cP = "capacityProvider" -_IPE = "InvalidParameterException" -_LEE = "LimitExceededException" -_SE = "ServerException" -_se = "server" -_UFE = "UnsupportedFeatureException" -_UIPE = "UpdateInProgressException" -_CCP = "CreateCapacityProvider" -_DCPI = "DeleteCapacityProviderInput" -_cDCPR = "com.amazonaws.ecs#DeleteCapacityProviderRequest" -_DCPO = "DeleteCapacityProviderOutput" -_cDCPRo = "com.amazonaws.ecs#DeleteCapacityProviderResponse" -_DCP = "DeleteCapacityProvider" -_CPF = "CapacityProviderField" -_TAGS = "TAGS" -_CPFL = "CapacityProviderFieldList" -_DCPIe = "DescribeCapacityProvidersInput" -_cDCPRom = "com.amazonaws.ecs#DescribeCapacityProvidersRequest" -_cPa = "capacityProviders" -_incl = "include" -_mR = "maxResults" -_nT = "nextToken" -_CPap = "CapacityProviders" -_F = "Failure" -_ar = "arn" -_re = "reason" -_d = "detail" -_Fa = "Failures" -_DCPOe = "DescribeCapacityProvidersOutput" -_cDCPRoma = "com.amazonaws.ecs#DescribeCapacityProvidersResponse" -_fa = "failures" -_DCPe = "DescribeCapacityProviders" -_ASGPU = "AutoScalingGroupProviderUpdate" -_ILTU = "InstanceLaunchTemplateUpdate" -_UMIPC = "UpdateManagedInstancesProviderConfiguration" -_UCPI = "UpdateCapacityProviderInput" -_cUCPR = "com.amazonaws.ecs#UpdateCapacityProviderRequest" -_UCPO = "UpdateCapacityProviderOutput" -_cUCPRo = "com.amazonaws.ecs#UpdateCapacityProviderResponse" -_UCP = "UpdateCapacityProvider" -_ECLC = "ExecuteCommandLogConfiguration" -_cWLGN = "cloudWatchLogGroupName" -_cWEE = "cloudWatchEncryptionEnabled" -_sBN = "s3BucketName" -_sEE = "s3EncryptionEnabled" -_sKP = "s3KeyPrefix" -_ECL = "ExecuteCommandLogging" -_DEFAULT = "DEFAULT" -_OVERRIDE = "OVERRIDE" -_ECC = "ExecuteCommandConfiguration" -_kKI = "kmsKeyId" -_lo = "logging" -_lC = "logConfiguration" -_MSC = "ManagedStorageConfiguration" -_fESKKI = "fargateEphemeralStorageKmsKeyId" -_CCl = "ClusterConfiguration" -_eCC = "executeCommandConfiguration" -_mSC = "managedStorageConfiguration" -_CPSIB = "CapacityProviderStrategyItemBase" -_CPSIW = "CapacityProviderStrategyItemWeight" -_CPSI = "CapacityProviderStrategyItem" -_w = "weight" -_b = "base" -_CPSa = "CapacityProviderStrategy" -_CSCDR = "ClusterServiceConnectDefaultsRequest" -_nam = "namespace" -_CSN = "ClusterSettingName" -_CI = "CONTAINER_INSIGHTS" -_cI = "containerInsights" -_CS = "ClusterSetting" -_CSl = "ClusterSettings" -_CCI = "CreateClusterInput" -_cCCR = "com.amazonaws.ecs#CreateClusterRequest" -_cN = "clusterName" -_set = "settings" -_co = "configuration" -_dCPS = "defaultCapacityProviderStrategy" -_sCD = "serviceConnectDefaults" -_I = "Integer" -_KVP = "KeyValuePair" -_AD = "AttachmentDetails" -_At = "Attachment" -_id = "id" -_de = "details" -_Att = "Attachments" -_CSCD = "ClusterServiceConnectDefaults" -_St = "Statistics" -_C = "Cluster" -_cA = "clusterArn" -_rCIC = "registeredContainerInstancesCount" -_rTC = "runningTasksCount" -_pTC = "pendingTasksCount" -_aSC = "activeServicesCount" -_sta = "statistics" -_at = "attachments" -_aSt = "attachmentsStatus" -_CCO = "CreateClusterOutput" -_cCCRo = "com.amazonaws.ecs#CreateClusterResponse" -_NNFE = "NamespaceNotFoundException" -_CCr = "CreateCluster" -_CCCPE = "ClusterContainsCapacityProviderException" -_CCCIE = "ClusterContainsContainerInstancesException" -_CCSE = "ClusterContainsServicesException" -_CCTE = "ClusterContainsTasksException" -_DCI = "DeleteClusterInput" -_cDCR = "com.amazonaws.ecs#DeleteClusterRequest" -_DCO = "DeleteClusterOutput" -_cDCRo = "com.amazonaws.ecs#DeleteClusterResponse" -_DCe = "DeleteCluster" -_DCII = "DeregisterContainerInstanceInput" -_cDCIR = "com.amazonaws.ecs#DeregisterContainerInstanceRequest" -_cIo = "containerInstance" -_fo = "force" -_TT = "TargetType" -_CI_ = "CONTAINER_INSTANCE" -_ci = "container-instance" -_Attr = "Attribute" -_tT = "targetType" -_tI = "targetId" -_Attri = "Attributes" -_GSM = "GpuSharingMode" -_IDLE = "IDLE" -_NM = "NVIDIA_MPS" -_DEDICATED = "DEDICATED" -_GD = "GpuDevice" -_gI = "gpuId" -_sM = "sharingMode" -_tMIMB = "totalMemoryInMiB" -_rMIMB = "remainingMemoryInMiB" -_cC = "containerCount" -_GDp = "GpuDevices" -_Ti = "Timestamp" -_IHCS = "InstanceHealthCheckState" -_OK = "OK" -_IMPAIRED = "IMPAIRED" -_ID = "INSUFFICIENT_DATA" -_INITIALIZING = "INITIALIZING" -_IHCT = "InstanceHealthCheckType" -_CR = "CONTAINER_RUNTIME" -_AC_ = "ACCELERATED_COMPUTE" -_DAEMON = "DAEMON" -_AC__ = "AGENT_CONNECTIVITY" -_IHCR = "InstanceHealthCheckResult" -_sR = "statusReason" -_lU = "lastUpdated" -_lSCa = "lastStatusChange" -_IHCRL = "InstanceHealthCheckResultList" -_CIHS = "ContainerInstanceHealthStatus" -_oS = "overallStatus" -_D = "Double" -_Lo = "Long" -_R = "Resource" -_dV = "doubleValue" -_lV = "longValue" -_iV = "integerValue" -_sSV = "stringSetValue" -_Re = "Resources" -_VI = "VersionInfo" -_aV = "agentVersion" -_aH = "agentHash" -_dVo = "dockerVersion" -_CIo = "ContainerInstance" -_cIA = "containerInstanceArn" -_eII = "ec2InstanceId" -_cPN = "capacityProviderName" -_ve = "version" -_vI = "versionInfo" -_rR = "remainingResources" -_rRe = "registeredResources" -_aCg = "agentConnected" -_aUS = "agentUpdateStatus" -_att = "attributes" -_rAe = "registeredAt" -_hS = "healthStatus" -_gD = "gpuDevices" -_DCIO = "DeregisterContainerInstanceOutput" -_cDCIRo = "com.amazonaws.ecs#DeregisterContainerInstanceResponse" -_DCIe = "DeregisterContainerInstance" -_CFl = "ClusterField" -_ATTACHMENTS = "ATTACHMENTS" -_CONFIGURATIONS = "CONFIGURATIONS" -_SETTINGS = "SETTINGS" -_STATISTICS = "STATISTICS" -_CFL = "ClusterFieldList" -_DCIes = "DescribeClustersInput" -_cDCRom = "com.amazonaws.ecs#DescribeClustersRequest" -_clu = "clusters" -_Cl = "Clusters" -_DCOe = "DescribeClustersOutput" -_cDCRoma = "com.amazonaws.ecs#DescribeClustersResponse" -_DCes = "DescribeClusters" -_ECI = "ExecuteCommandInput" -_cECR = "com.amazonaws.ecs#ExecuteCommandRequest" -_con = "container" -_com = "command" -_inte = "interactive" -_tas = "task" -_SS = "SensitiveString" -_smithy = "smithy.api#sensitive" -_Se = "Session" -_sI = "sessionId" -_sU = "streamUrl" -_tV = "tokenValue" -_ECO = "ExecuteCommandOutput" -_cECRo = "com.amazonaws.ecs#ExecuteCommandResponse" -_cAo = "containerArn" -_cNo = "containerName" -_ses = "session" -_tA = "taskArn" -_TNCE = "TargetNotConnectedException" -_EC = "ExecuteCommand" -_LAI = "ListAttributesInput" -_cLAR = "com.amazonaws.ecs#ListAttributesRequest" -_aNt = "attributeName" -_aVt = "attributeValue" -_LAO = "ListAttributesOutput" -_cLARo = "com.amazonaws.ecs#ListAttributesResponse" -_LA = "ListAttributes" -_LCI = "ListClustersInput" -_cLCR = "com.amazonaws.ecs#ListClustersRequest" -_LCO = "ListClustersOutput" -_cLCRo = "com.amazonaws.ecs#ListClustersResponse" -_cAl = "clusterArns" -_LC = "ListClusters" -_CIS = "ContainerInstanceStatus" -_DRAINING = "DRAINING" -_REGISTERING = "REGISTERING" -_DEREGISTERING = "DEREGISTERING" -_RF_ = "REGISTRATION_FAILED" -_LCII = "ListContainerInstancesInput" -_cLCIR = "com.amazonaws.ecs#ListContainerInstancesRequest" -_fi = "filter" -_LCIO = "ListContainerInstancesOutput" -_cLCIRo = "com.amazonaws.ecs#ListContainerInstancesResponse" -_cIAo = "containerInstanceArns" -_LCIi = "ListContainerInstances" -_PCCPI = "PutClusterCapacityProvidersInput" -_cPCCPR = "com.amazonaws.ecs#PutClusterCapacityProvidersRequest" -_PCCPO = "PutClusterCapacityProvidersOutput" -_cPCCPRo = "com.amazonaws.ecs#PutClusterCapacityProvidersResponse" -_RIUE = "ResourceInUseException" -_PCCP = "PutClusterCapacityProviders" -_ASC = "AttachmentStateChange" -_aA = "attachmentArn" -_ASCt = "AttachmentStateChanges" -_SASCI = "SubmitAttachmentStateChangesInput" -_cSASCR = "com.amazonaws.ecs#SubmitAttachmentStateChangesRequest" -_SASCO = "SubmitAttachmentStateChangesOutput" -_cSASCRo = "com.amazonaws.ecs#SubmitAttachmentStateChangesResponse" -_ac = "acknowledgment" -_SASC = "SubmitAttachmentStateChanges" -_TP = "TransportProtocol" -_TCP = "TCP" -_tc = "tcp" -_UDP = "UDP" -_u = "udp" -_NB = "NetworkBinding" -_bIP = "bindIP" -_cPo = "containerPort" -_hP = "hostPort" -_pr = "protocol" -_cPR = "containerPortRange" -_hPR = "hostPortRange" -_NBe = "NetworkBindings" -_SCSCI = "SubmitContainerStateChangeInput" -_cSCSCR = "com.amazonaws.ecs#SubmitContainerStateChangeRequest" -_rI = "runtimeId" -_eC = "exitCode" -_nB = "networkBindings" -_SCSCO = "SubmitContainerStateChangeOutput" -_cSCSCRo = "com.amazonaws.ecs#SubmitContainerStateChangeResponse" -_SCSC = "SubmitContainerStateChange" -_CSC = "ContainerStateChange" -_iD = "imageDigest" -_CSCo = "ContainerStateChanges" -_MAN = "ManagedAgentName" -_ECA = "ExecuteCommandAgent" -_MASC = "ManagedAgentStateChange" -_mAN = "managedAgentName" -_MASCa = "ManagedAgentStateChanges" -_STSCI = "SubmitTaskStateChangeInput" -_cSTSCR = "com.amazonaws.ecs#SubmitTaskStateChangeRequest" -_cont = "containers" -_mA = "managedAgents" -_pSA = "pullStartedAt" -_pSAu = "pullStoppedAt" -_eSA = "executionStoppedAt" -_STSCO = "SubmitTaskStateChangeOutput" -_cSTSCRo = "com.amazonaws.ecs#SubmitTaskStateChangeResponse" -_STSC = "SubmitTaskStateChange" -_UCI = "UpdateClusterInput" -_cUCR = "com.amazonaws.ecs#UpdateClusterRequest" -_UCO = "UpdateClusterOutput" -_cUCRo = "com.amazonaws.ecs#UpdateClusterResponse" -_UCp = "UpdateCluster" -_UCSI = "UpdateClusterSettingsInput" -_cUCSR = "com.amazonaws.ecs#UpdateClusterSettingsRequest" -_UCSO = "UpdateClusterSettingsOutput" -_cUCSRo = "com.amazonaws.ecs#UpdateClusterSettingsResponse" -_UCS = "UpdateClusterSettings" -_DAI = "DeleteAttributesInput" -_cDAR = "com.amazonaws.ecs#DeleteAttributesRequest" -_DAO = "DeleteAttributesOutput" -_cDARo = "com.amazonaws.ecs#DeleteAttributesResponse" -_TNFE = "TargetNotFoundException" -_DA = "DeleteAttributes" -_CIF = "ContainerInstanceField" -_CIH = "CONTAINER_INSTANCE_HEALTH" -_CIFL = "ContainerInstanceFieldList" -_DCIIe = "DescribeContainerInstancesInput" -_cDCIRom = "com.amazonaws.ecs#DescribeContainerInstancesRequest" -_cIon = "containerInstances" -_CIon = "ContainerInstances" -_DCIOe = "DescribeContainerInstancesOutput" -_cDCIRoma = "com.amazonaws.ecs#DescribeContainerInstancesResponse" -_DCIesc = "DescribeContainerInstances" -_DS = "DesiredStatus" -_RUNNING = "RUNNING" -_STOPPED = "STOPPED" -_LT = "LaunchType" -_EC_ = "EC2" -_EXTERNAL = "EXTERNAL" -_LTI = "ListTasksInput" -_cLTR = "com.amazonaws.ecs#ListTasksRequest" -_fam = "family" -_sB = "startedBy" -_sNe = "serviceName" -_dS = "desiredStatus" -_lT = "launchType" -_dN = "daemonName" -_LTO = "ListTasksOutput" -_cLTRo = "com.amazonaws.ecs#ListTasksResponse" -_tAa = "taskArns" -_SNFE = "ServiceNotFoundException" -_LTi = "ListTasks" -_ALEE = "AttributeLimitExceededException" -_PAI = "PutAttributesInput" -_cPAR = "com.amazonaws.ecs#PutAttributesRequest" -_PAO = "PutAttributesOutput" -_cPARo = "com.amazonaws.ecs#PutAttributesResponse" -_PA = "PutAttributes" -_PDT = "PlatformDeviceType" -_ND = "NEURON_DEVICE" -_PD = "PlatformDevice" -_PDl = "PlatformDevices" -_RCII = "RegisterContainerInstanceInput" -_cRCIR = "com.amazonaws.ecs#RegisterContainerInstanceRequest" -_iID = "instanceIdentityDocument" -_iIDS = "instanceIdentityDocumentSignature" -_tR = "totalResources" -_pD = "platformDevices" -_RCIO = "RegisterContainerInstanceOutput" -_cRCIRo = "com.amazonaws.ecs#RegisterContainerInstanceResponse" -_RCI = "RegisterContainerInstance" -_MVE = "MissingVersionException" -_NUAE = "NoUpdateAvailableException" -_UCAI = "UpdateContainerAgentInput" -_cUCAR = "com.amazonaws.ecs#UpdateContainerAgentRequest" -_UCAO = "UpdateContainerAgentOutput" -_cUCARo = "com.amazonaws.ecs#UpdateContainerAgentResponse" -_UCA = "UpdateContainerAgent" -_UCISI = "UpdateContainerInstancesStateInput" -_cUCISR = "com.amazonaws.ecs#UpdateContainerInstancesStateRequest" -_UCISO = "UpdateContainerInstancesStateOutput" -_cUCISRo = "com.amazonaws.ecs#UpdateContainerInstancesStateResponse" -_UCIS = "UpdateContainerInstancesState" -_DLHA = "DeploymentLifecycleHookAction" -_ROLLBACK = "ROLLBACK" -_CONTINUE = "CONTINUE" -_CSDI = "ContinueServiceDeploymentInput" -_cCSDR = "com.amazonaws.ecs#ContinueServiceDeploymentRequest" -_sDA = "serviceDeploymentArn" -_hI = "hookId" -_act = "action" -_CSDO = "ContinueServiceDeploymentOutput" -_cCSDRo = "com.amazonaws.ecs#ContinueServiceDeploymentResponse" -_SDNFE = "ServiceDeploymentNotFoundException" -_CSD = "ContinueServiceDeployment" -_DDDI = "DescribeDaemonDeploymentsInput" -_cDDDR = "com.amazonaws.ecs#DescribeDaemonDeploymentsRequest" -_dDA = "daemonDeploymentArns" -_DDRMS = "DaemonDeploymentRollbackMonitorsStatus" -_TRIGGERED = "TRIGGERED" -_MONITORING = "MONITORING" -_MC = "MONITORING_COMPLETE" -_DDA = "DaemonDeploymentAlarms" -_aNl = "alarmNames" -_tAN = "triggeredAlarmNames" -_DCB = "DaemonCircuitBreaker" -_fC = "failureCount" -_th = "threshold" -_DAC = "DaemonAlarmConfiguration" -_en = "enable" -_DDP = "DaemonDrainPercent" -_DDC = "DaemonDeploymentConfiguration" -_dP = "drainPercent" -_al = "alarms" -_bTIM = "bakeTimeInMinutes" -_DR = "DaemonRollback" -_sA = "startedAt" -_rTDRA = "rollbackTargetDaemonRevisionArn" -_rCP = "rollbackCapacityProviders" -_DDCP = "DaemonDeploymentCapacityProvider" -_rIC = "runningInstanceCount" -_wDIC = "withoutDaemonInstanceCount" -_dIC = "drainingInstanceCount" -_DDCPL = "DaemonDeploymentCapacityProviderList" -_DDRD = "DaemonDeploymentRevisionDetail" -_tRIC = "totalRunningInstanceCount" -_tWDIC = "totalWithoutDaemonInstanceCount" -_tDIC = "totalDrainingInstanceCount" -_DDRDL = "DaemonDeploymentRevisionDetailList" -_DDS = "DaemonDeploymentStatus" -_SUCCESSFUL = "SUCCESSFUL" -_SR = "STOP_REQUESTED" -_IP = "IN_PROGRESS" -_RIP = "ROLLBACK_IN_PROGRESS" -_RS = "ROLLBACK_SUCCESSFUL" -_RF__ = "ROLLBACK_FAILED" -_DD = "DaemonDeployment" -_dDAa = "daemonDeploymentArn" -_tDR = "targetDaemonRevision" -_sDR = "sourceDaemonRevisions" -_cB = "circuitBreaker" -_ro = "rollback" -_dC = "deploymentConfiguration" -_cAr = "createdAt" -_sAt = "stoppedAt" -_fA = "finishedAt" -_DDL = "DaemonDeploymentList" -_DDDO = "DescribeDaemonDeploymentsOutput" -_cDDDRo = "com.amazonaws.ecs#DescribeDaemonDeploymentsResponse" -_dD = "daemonDeployments" -_DDD = "DescribeDaemonDeployments" -_DPT = "DaemonPropagateTags" -_CDI = "CreateDaemonInput" -_cCDR = "com.amazonaws.ecs#CreateDaemonRequest" -_dTDA = "daemonTaskDefinitionArn" -_cPAa = "capacityProviderArns" -_eECSMT = "enableECSManagedTags" -_eEC = "enableExecuteCommand" -_cT = "clientToken" -_cr = "critical" -_DSa = "DaemonStatus" -_CDO = "CreateDaemonOutput" -_cCDRo = "com.amazonaws.ecs#CreateDaemonResponse" -_dA = "daemonArn" -_dAe = "deploymentArn" -_PUE = "PlatformUnknownException" -_CD = "CreateDaemon" -_DNAE = "DaemonNotActiveException" -_DNFE = "DaemonNotFoundException" -_DDI = "DeleteDaemonInput" -_cDDR = "com.amazonaws.ecs#DeleteDaemonRequest" -_DDO = "DeleteDaemonOutput" -_cDDRo = "com.amazonaws.ecs#DeleteDaemonResponse" -_uA = "updatedAt" -_DDe = "DeleteDaemon" -_DDIe = "DescribeDaemonInput" -_cDDRom = "com.amazonaws.ecs#DescribeDaemonRequest" -_DCPa = "DaemonCapacityProvider" -_rC = "runningCount" -_wDC = "withoutDaemonCount" -_DCPL = "DaemonCapacityProviderList" -_DRD = "DaemonRevisionDetail" -_tRC = "totalRunningCount" -_tWDC = "totalWithoutDaemonCount" -_DRDL = "DaemonRevisionDetailList" -_DDa = "DaemonDetail" -_cRu = "currentRevisions" -_DDOe = "DescribeDaemonOutput" -_cDDRoma = "com.amazonaws.ecs#DescribeDaemonResponse" -_da = "daemon" -_DDes = "DescribeDaemon" -_CA = "CreatedAt" -_be = "before" -_af = "after" -_DDSL = "DaemonDeploymentStatusList" -_LDDI = "ListDaemonDeploymentsInput" -_cLDDR = "com.amazonaws.ecs#ListDaemonDeploymentsRequest" -_DDSa = "DaemonDeploymentSummary" -_tDRA = "targetDaemonRevisionArn" -_DDSLa = "DaemonDeploymentSummaryList" -_LDDO = "ListDaemonDeploymentsOutput" -_cLDDRo = "com.amazonaws.ecs#ListDaemonDeploymentsResponse" -_LDD = "ListDaemonDeployments" -_LDI = "ListDaemonsInput" -_cLDR = "com.amazonaws.ecs#ListDaemonsRequest" -_DSae = "DaemonSummary" -_DSL = "DaemonSummariesList" -_LDO = "ListDaemonsOutput" -_cLDRo = "com.amazonaws.ecs#ListDaemonsResponse" -_dSL = "daemonSummariesList" -_LD = "ListDaemons" -_UDI = "UpdateDaemonInput" -_cUDR = "com.amazonaws.ecs#UpdateDaemonRequest" -_UDO = "UpdateDaemonOutput" -_cUDRo = "com.amazonaws.ecs#UpdateDaemonResponse" -_UD = "UpdateDaemon" -_DDRI = "DescribeDaemonRevisionsInput" -_cDDRR = "com.amazonaws.ecs#DescribeDaemonRevisionsRequest" -_dRA = "daemonRevisionArns" -_DCIa = "DaemonContainerImage" -_im = "image" -_DCIae = "DaemonContainerImages" -_DRa = "DaemonRevision" -_dRAa = "daemonRevisionArn" -_cIont = "containerImages" -_DRae = "DaemonRevisions" -_DDRO = "DescribeDaemonRevisionsOutput" -_cDDRRo = "com.amazonaws.ecs#DescribeDaemonRevisionsResponse" -_dR = "daemonRevisions" -_DDR = "DescribeDaemonRevisions" -_DDTDI = "DeleteDaemonTaskDefinitionInput" -_cDDTDR = "com.amazonaws.ecs#DeleteDaemonTaskDefinitionRequest" -_dTD = "daemonTaskDefinition" -_DDTDO = "DeleteDaemonTaskDefinitionOutput" -_cDDTDRo = "com.amazonaws.ecs#DeleteDaemonTaskDefinitionResponse" -_DDTD = "DeleteDaemonTaskDefinition" -_DDTDIe = "DescribeDaemonTaskDefinitionInput" -_cDDTDRom = "com.amazonaws.ecs#DescribeDaemonTaskDefinitionRequest" -_CCo = "ContainerCondition" -_START = "START" -_COMPLETE = "COMPLETE" -_SUCCESS = "SUCCESS" -_HEALTHY = "HEALTHY" -_CDo = "ContainerDependency" -_cond = "condition" -_CDon = "ContainerDependencies" -_EV = "EnvironmentVariables" -_EFT = "EnvironmentFileType" -_S_ = "S3" -_s_ = "s3" -_EF = "EnvironmentFile" -_EFn = "EnvironmentFiles" -_FCOM = "FirelensConfigurationOptionsMap" -_FCT = "FirelensConfigurationType" -_FLUENTD = "FLUENTD" -_fl = "fluentd" -_FLUENTBIT = "FLUENTBIT" -_flu = "fluentbit" -_FC = "FirelensConfiguration" -_o = "options" -_HC = "HealthCheck" -_inter = "interval" -_ti = "timeout" -_ret = "retries" -_sP = "startPeriod" -_KC = "KernelCapabilities" -_ad = "add" -_dr = "drop" -_DCPev = "DeviceCgroupPermission" -_READ = "READ" -_rea = "read" -_WRITE = "WRITE" -_wr = "write" -_MKNOD = "MKNOD" -_mk = "mknod" -_DCPevi = "DeviceCgroupPermissions" -_De = "Device" -_hPo = "hostPath" -_cPon = "containerPath" -_pe = "permissions" -_DL = "DevicesList" -_Tm = "Tmpfs" -_si = "size" -_mO = "mountOptions" -_TL = "TmpfsList" -_DLP = "DaemonLinuxParameters" -_ca = "capabilities" -_dev = "devices" -_iPE = "initProcessEnabled" -_tm = "tmpfs" -_LDo = "LogDriver" -_JF = "JSON_FILE" -_jf = "json-file" -_SYSLOG = "SYSLOG" -_sy = "syslog" -_JOURNALD = "JOURNALD" -_j = "journald" -_GELF = "GELF" -_ge = "gelf" -_AWSLOGS = "AWSLOGS" -_aw = "awslogs" -_SPLUNK = "SPLUNK" -_sp = "splunk" -_AWSFIRELENS = "AWSFIRELENS" -_awsf = "awsfirelens" -_LCOM = "LogConfigurationOptionsMap" -_Sec = "Secret" -_vF = "valueFrom" -_SLe = "SecretList" -_LCo = "LogConfiguration" -_lD = "logDriver" -_sO = "secretOptions" -_MP = "MountPoint" -_sVo = "sourceVolume" -_rO = "readOnly" -_MPL = "MountPointList" -_RC = "RepositoryCredentials" -_cPr = "credentialsParameter" -_IL = "IntegerList" -_CRPo = "ContainerRestartPolicy" -_ena = "enabled" -_iEC = "ignoredExitCodes" -_rAP = "restartAttemptPeriod" -_SC = "SystemControl" -_SCy = "SystemControls" -_UN = "UlimitName" -_CORE = "CORE" -_cor = "core" -_CPU = "CPU" -_cp = "cpu" -_DATA = "DATA" -_dat = "data" -_FSIZE = "FSIZE" -_fs = "fsize" -_LOCKS = "LOCKS" -_loc = "locks" -_MEMLOCK = "MEMLOCK" -_mem = "memlock" -_MSGQUEUE = "MSGQUEUE" -_ms = "msgqueue" -_NICE = "NICE" -_ni = "nice" -_NOFILE = "NOFILE" -_no = "nofile" -_NPROC = "NPROC" -_np = "nproc" -_RSS = "RSS" -_rs = "rss" -_RTPRIO = "RTPRIO" -_rt = "rtprio" -_RTTIME = "RTTIME" -_rtt = "rttime" -_SIGPENDING = "SIGPENDING" -_sig = "sigpending" -_STACK = "STACK" -_stac = "stack" -_U = "Ulimit" -_sL = "softLimit" -_hL = "hardLimit" -_UL = "UlimitList" -_DCD = "DaemonContainerDefinition" -_memo = "memory" -_mRe = "memoryReservation" -_rCe = "repositoryCredentials" -_hC = "healthCheck" -_es = "essential" -_eP = "entryPoint" -_wD = "workingDirectory" -_eF = "environmentFiles" -_env = "environment" -_sec = "secrets" -_rRF = "readonlyRootFilesystem" -_mP = "mountPoints" -_fCi = "firelensConfiguration" -_pri = "privileged" -_us = "user" -_ul = "ulimits" -_lP = "linuxParameters" -_dO = "dependsOn" -_sT = "startTimeout" -_sTt = "stopTimeout" -_sCy = "systemControls" -_pTs = "pseudoTerminal" -_rPe = "restartPolicy" -_DCDL = "DaemonContainerDefinitionList" -_DIM = "DaemonIpcMode" -_non = "none" -_SHARED = "SHARED" -_sh = "shared" -_DPM = "DaemonPidMode" -_DTDS = "DaemonTaskDefinitionStatus" -_DELETED = "DELETED" -_HVP = "HostVolumeProperties" -_sPo = "sourcePath" -_LDVC = "LogDriverVolumeConfiguration" -_dri = "driver" -_DV = "DaemonVolume" -_ho = "host" -_lDVC = "logDriverVolumeConfiguration" -_DVL = "DaemonVolumeList" -_DTD = "DaemonTaskDefinition" -_rev = "revision" -_tRA = "taskRoleArn" -_eRA = "executionRoleArn" -_cD = "containerDefinitions" -_vo = "volumes" -_dRAe = "deleteRequestedAt" -_rB = "registeredBy" -_pM = "pidMode" -_iM = "ipcMode" -_DDTDOe = "DescribeDaemonTaskDefinitionOutput" -_cDDTDRoma = "com.amazonaws.ecs#DescribeDaemonTaskDefinitionResponse" -_DDTDe = "DescribeDaemonTaskDefinition" -_DTDRF = "DaemonTaskDefinitionRevisionFilter" -_LR = "LAST_REGISTERED" -_SO = "SortOrder" -_ASC_ = "ASC" -_DESC = "DESC" -_DTDSF = "DaemonTaskDefinitionStatusFilter" -_ALL = "ALL" -_LDTDI = "ListDaemonTaskDefinitionsInput" -_cLDTDR = "com.amazonaws.ecs#ListDaemonTaskDefinitionsRequest" -_fP = "familyPrefix" -_so = "sort" -_DTDSa = "DaemonTaskDefinitionSummary" -_DTDSae = "DaemonTaskDefinitionSummaries" -_LDTDO = "ListDaemonTaskDefinitionsOutput" -_cLDTDRo = "com.amazonaws.ecs#ListDaemonTaskDefinitionsResponse" -_dTDa = "daemonTaskDefinitions" -_LDTD = "ListDaemonTaskDefinitions" -_RDTDI = "RegisterDaemonTaskDefinitionInput" -_cRDTDR = "com.amazonaws.ecs#RegisterDaemonTaskDefinitionRequest" -_RDTDO = "RegisterDaemonTaskDefinitionOutput" -_cRDTDRo = "com.amazonaws.ecs#RegisterDaemonTaskDefinitionResponse" -_RDTD = "RegisterDaemonTaskDefinition" -_SN = "SettingName" -_SLAF = "SERVICE_LONG_ARN_FORMAT" -_sLAF = "serviceLongArnFormat" -_TLAF = "TASK_LONG_ARN_FORMAT" -_tLAF = "taskLongArnFormat" -_CILAF = "CONTAINER_INSTANCE_LONG_ARN_FORMAT" -_cILAF = "containerInstanceLongArnFormat" -_AT_ = "AWSVPC_TRUNKING" -_aTw = "awsvpcTrunking" -_FFM = "FARGATE_FIPS_MODE" -_fFIPSM = "fargateFIPSMode" -_TRA = "TAG_RESOURCE_AUTHORIZATION" -_tRAa = "tagResourceAuthorization" -_FTRWP = "FARGATE_TASK_RETIREMENT_WAIT_PERIOD" -_fTRWP = "fargateTaskRetirementWaitPeriod" -_GDA = "GUARD_DUTY_ACTIVATE" -_gDA = "guardDutyActivate" -_DLDM = "DEFAULT_LOG_DRIVER_MODE" -_dLDM = "defaultLogDriverMode" -_FEW = "FARGATE_EVENT_WINDOWS" -_fEW = "fargateEventWindows" -_DASI = "DeleteAccountSettingInput" -_cDASR = "com.amazonaws.ecs#DeleteAccountSettingRequest" -_pA = "principalArn" -_ST = "SettingType" -_USER = "USER" -_AM_ = "AWS_MANAGED" -_am = "aws_managed" -_Set = "Setting" -_DASO = "DeleteAccountSettingOutput" -_cDASRo = "com.amazonaws.ecs#DeleteAccountSettingResponse" -_sett = "setting" -_DAS = "DeleteAccountSetting" -_DTDI = "DeregisterTaskDefinitionInput" -_cDTDR = "com.amazonaws.ecs#DeregisterTaskDefinitionRequest" -_tD = "taskDefinition" -_Co = "Compatibility" -_CL = "CompatibilityList" -_DLM = "DockerLabelsMap" -_HE = "HostEntry" -_hos = "hostname" -_iA = "ipAddress" -_HEL = "HostEntryList" -_LP = "LinuxParameters" -_sMS = "sharedMemorySize" -_mSa = "maxSwap" -_sw = "swappiness" -_AP = "ApplicationProtocol" -_HTTP = "HTTP" -_ht = "http" -_HTTP_ = "HTTP2" -_htt = "http2" -_GRPC = "GRPC" -_gr = "grpc" -_PM = "PortMapping" -_aP = "appProtocol" -_PML = "PortMappingList" -_NMA = "NvidiaMpsAllocation" -_mCP = "maxComputePercent" -_SSh = "SharingStrategy" -_nM = "nvidiaMps" -_RT = "ResourceType" -_IA = "INFERENCE_ACCELERATOR" -_IAn = "InferenceAccelerator" -_NDe = "NeuronDevice" -_RR = "ResourceRequirement" -_v__ = "" -_sS = "sharingStrategy" -_RRe = "ResourceRequirements" -_VC = "VersionConsistency" -_di = "disabled" -_VF = "VolumeFrom" -_sCo = "sourceContainer" -_VFL = "VolumeFromList" -_CDont = "ContainerDefinition" -_li = "links" -_pMo = "portMappings" -_vFo = "volumesFrom" -_vC = "versionConsistency" -_dNi = "disableNetworking" -_dSn = "dnsServers" -_dSD = "dnsSearchDomains" -_eH = "extraHosts" -_dSO = "dockerSecurityOptions" -_dL = "dockerLabels" -_rRes = "resourceRequirements" -_cS = "credentialSpecs" -_CDonta = "ContainerDefinitions" -_ES = "EphemeralStorage" -_sIGB = "sizeInGiB" -_dNe = "deviceName" -_dT = "deviceType" -_IAnf = "InferenceAccelerators" -_IM = "IpcMode" -_HOST = "HOST" -_TASK = "TASK" -_NMe = "NetworkMode" -_BRIDGE = "BRIDGE" -_br = "bridge" -_AWSVPC = "AWSVPC" -_awsv = "awsvpc" -_PMi = "PidMode" -_TDPCT = "TaskDefinitionPlacementConstraintType" -_MO = "MEMBER_OF" -_mOe = "memberOf" -_TDPC = "TaskDefinitionPlacementConstraint" -_ex = "expression" -_TDPCa = "TaskDefinitionPlacementConstraints" -_PCP = "ProxyConfigurationProperties" -_PCT = "ProxyConfigurationType" -_APPMESH = "APPMESH" -_PC = "ProxyConfiguration" -_pro = "properties" -_RA = "RequiresAttributes" -_CPUA = "CPUArchitecture" -_X = "X86_64" -_ARM = "ARM64" -_OSF = "OSFamily" -_WSF = "WINDOWS_SERVER_2019_FULL" -_WSC = "WINDOWS_SERVER_2019_CORE" -_WSF_ = "WINDOWS_SERVER_2016_FULL" -_WSC_ = "WINDOWS_SERVER_2004_CORE" -_WSC__ = "WINDOWS_SERVER_2022_CORE" -_WSF__ = "WINDOWS_SERVER_2022_FULL" -_WSC___ = "WINDOWS_SERVER_2025_CORE" -_WSF___ = "WINDOWS_SERVER_2025_FULL" -_WSC____ = "WINDOWS_SERVER_20H2_CORE" -_LINUX = "LINUX" -_RP = "RuntimePlatform" -_cAp = "cpuArchitecture" -_oSF = "operatingSystemFamily" -_TDS = "TaskDefinitionStatus" -_IMs = "IsolationMode" -_IS = "ISOLATED_SANDBOX" -_CS_ = "CONFIDENTIAL_SANDBOX" -_TEC = "TrustedExecutionConfiguration" -_iMs = "isolationMode" -_aPt = "attestationPolicy" -_SM = "StringMap" -_Sc = "Scope" -_DVC = "DockerVolumeConfiguration" -_sc = "scope" -_au = "autoprovision" -_dOr = "driverOpts" -_la = "labels" -_EFSACIAM = "EFSAuthorizationConfigIAM" -_EFSAC = "EFSAuthorizationConfig" -_aPI = "accessPointId" -_ia = "iam" -_EFSTE = "EFSTransitEncryption" -_EFSVC = "EFSVolumeConfiguration" -_fSI = "fileSystemId" -_rD = "rootDirectory" -_tE = "transitEncryption" -_tEP = "transitEncryptionPort" -_aCu = "authorizationConfig" -_FSWFSAC = "FSxWindowsFileServerAuthorizationConfig" -_do = "domain" -_FSWFSVC = "FSxWindowsFileServerVolumeConfiguration" -_SFVC = "S3FilesVolumeConfiguration" -_fSA = "fileSystemArn" -_aPA = "accessPointArn" -_Vo = "Volume" -_dVC = "dockerVolumeConfiguration" -_eVC = "efsVolumeConfiguration" -_sVC = "s3filesVolumeConfiguration" -_fWFSVC = "fsxWindowsFileServerVolumeConfiguration" -_cAL = "configuredAtLaunch" -_VL = "VolumeList" -_TD = "TaskDefinition" -_tDA = "taskDefinitionArn" -_nMe = "networkMode" -_rAeq = "requiresAttributes" -_pC = "placementConstraints" -_comp = "compatibilities" -_rPu = "runtimePlatform" -_rCeq = "requiresCompatibilities" -_iAn = "inferenceAccelerators" -_pCr = "proxyConfiguration" -_dAer = "deregisteredAt" -_eS = "ephemeralStorage" -_eFI = "enableFaultInjection" -_tEC = "trustedExecutionConfiguration" -_DTDO = "DeregisterTaskDefinitionOutput" -_cDTDRo = "com.amazonaws.ecs#DeregisterTaskDefinitionResponse" -_DTDe = "DeregisterTaskDefinition" -_TDF = "TaskDefinitionField" -_TDFL = "TaskDefinitionFieldList" -_DTDIe = "DescribeTaskDefinitionInput" -_cDTDRom = "com.amazonaws.ecs#DescribeTaskDefinitionRequest" -_DTDOe = "DescribeTaskDefinitionOutput" -_cDTDRoma = "com.amazonaws.ecs#DescribeTaskDefinitionResponse" -_DTDes = "DescribeTaskDefinition" -_DPEI = "DiscoverPollEndpointInput" -_cDPER = "com.amazonaws.ecs#DiscoverPollEndpointRequest" -_DPEO = "DiscoverPollEndpointOutput" -_cDPERo = "com.amazonaws.ecs#DiscoverPollEndpointResponse" -_end = "endpoint" -_tEe = "telemetryEndpoint" -_sCE = "serviceConnectEndpoint" -_DPE = "DiscoverPollEndpoint" -_AGWCI = "AssociateGatewayWithClusterInput" -_cAGWCR = "com.amazonaws.ecs#AssociateGatewayWithClusterRequest" -_ga = "gateway" -_GCAS = "GatewayClusterAssociationStatus" -_DISASSOCIATING = "DISASSOCIATING" -_AGWCO = "AssociateGatewayWithClusterOutput" -_cAGWCRo = "com.amazonaws.ecs#AssociateGatewayWithClusterResponse" -_gA = "gatewayArn" -_GNFE = "GatewayNotFoundException" -_AGWC = "AssociateGatewayWithCluster" -_GEALSD = "GatewayElbAccessLogS3Destination" -_bu = "bucket" -_pre = "prefix" -_GEALD = "GatewayElbAccessLogDestination" -_GEALC = "GatewayElbAccessLogConfiguration" -_des = "destination" -_GADMM = "GatewayAlbDesyncMitigationMode" -_MONITOR = "MONITOR" -_mon = "monitor" -_DEFENSIVE = "DEFENSIVE" -_def = "defensive" -_STRICTEST = "STRICTEST" -_str = "strictest" -_GEIAT = "GatewayElbIpAddressType" -_IPV = "IPV4" -_ip = "ipv4" -_DUALSTACK = "DUALSTACK" -_du = "dualstack" -_DWPI = "DUALSTACK_WITHOUT_PUBLIC_IPV4" -_dwpi = "dualstack-without-public-ipv4" -_GENC = "GatewayElbNetworkConfiguration" -_iSG = "inboundSecurityGroup" -_iAT = "ipAddressType" -_GAP = "GatewayAlbProtocol" -_HTTPS = "HTTPS" -_GES = "GatewayElbScheme" -_IF = "INTERNET_FACING" -_if = "internet-facing" -_INTERNAL = "INTERNAL" -_intern = "internal" -_GTTH = "GatewayTestTrafficHeader" -_val = "values" -_GATTR = "GatewayAlbTestTrafficRules" -_he = "header" -_HSAC = "HostSharedAlbConfiguration" -_sch = "scheme" -_wACLA = "webACLArn" -_aL = "accessLogs" -_po = "port" -_mAC = "maxAlbCount" -_hD = "httpDesync" -_tTR = "testTrafficRules" -_GC = "GatewayConfiguration" -_hSA = "hostSharedAlb" -_PGT = "PropagateGatewayTags" -_GATEWAY = "GATEWAY" -_CGI = "CreateGatewayInput" -_cCGR = "com.amazonaws.ecs#CreateGatewayRequest" -_sTm = "smithy.api#idempotencyToken" -_dPe = "deletionProtection" -_GS = "GatewayStatus" -_CGO = "CreateGatewayOutput" -_cCGRo = "com.amazonaws.ecs#CreateGatewayResponse" -_CG = "CreateGateway" -_DGI = "DeleteGatewayInput" -_cDGR = "com.amazonaws.ecs#DeleteGatewayRequest" -_DGO = "DeleteGatewayOutput" -_cDGRo = "com.amazonaws.ecs#DeleteGatewayResponse" -_DG = "DeleteGateway" -_DGIe = "DescribeGatewayInput" -_cDGRom = "com.amazonaws.ecs#DescribeGatewayRequest" -_DGAC = "DescribeGatewayAlbConfiguration" -_cAC = "currentAlbCount" -_DGC = "DescribeGatewayConfiguration" -_GOE = "GatewayOperationError" -_op = "operation" -_cod = "code" -_GOEL = "GatewayOperationErrorList" -_GRF = "GatewayResourceFailure" -_er = "errors" -_GRFL = "GatewayResourceFailureList" -_G = "Gateway" -_aTc = "accessType" -_DGOe = "DescribeGatewayOutput" -_cDGRoma = "com.amazonaws.ecs#DescribeGatewayResponse" -_DGe = "DescribeGateway" -_DGRI = "DescribeGatewayResourcesInput" -_cDGRR = "com.amazonaws.ecs#DescribeGatewayResourcesRequest" -_EGR = "ElbGatewayResources" -_lBA = "loadBalancerArn" -_lA = "listenerArn" -_sGe = "securityGroup" -_gRA = "gatewayRouteArns" -_EGRL = "ElbGatewayResourcesList" -_GIR = "GatewayInfrastructureResources" -_GR = "GatewayResources" -_res = "resources" -_DGRO = "DescribeGatewayResourcesOutput" -_cDGRRo = "com.amazonaws.ecs#DescribeGatewayResourcesResponse" -_gR = "gatewayResources" -_DGR = "DescribeGatewayResources" -_DGFCI = "DisassociateGatewayFromClusterInput" -_cDGFCR = "com.amazonaws.ecs#DisassociateGatewayFromClusterRequest" -_DGFCO = "DisassociateGatewayFromClusterOutput" -_cDGFCRo = "com.amazonaws.ecs#DisassociateGatewayFromClusterResponse" -_RNFE = "ResourceNotFoundException" -_DGFC = "DisassociateGatewayFromCluster" -_GCASL = "GatewayClusterAssociationStatusList" -_LGCAI = "ListGatewayClusterAssociationsInput" -_cLGCAR = "com.amazonaws.ecs#ListGatewayClusterAssociationsRequest" -_GCASa = "GatewayClusterAssociationSummary" -_GCASLa = "GatewayClusterAssociationSummaryList" -_LGCAO = "ListGatewayClusterAssociationsOutput" -_cLGCARo = "com.amazonaws.ecs#ListGatewayClusterAssociationsResponse" -_gCA = "gatewayClusterAssociations" -_LGCA = "ListGatewayClusterAssociations" -_GSL = "GatewayStatusList" -_LGI = "ListGatewaysInput" -_cLGR = "com.amazonaws.ecs#ListGatewaysRequest" -_name = "names" -_GSa = "GatewaySummary" -_GSLa = "GatewaySummaryList" -_LGO = "ListGatewaysOutput" -_cLGRo = "com.amazonaws.ecs#ListGatewaysResponse" -_gat = "gateways" -_LG = "ListGateways" -_UGNC = "UpdateGatewayNetworkConfiguration" -_UGAC = "UpdateGatewayAlbConfiguration" -_UGC = "UpdateGatewayConfiguration" -_UGI = "UpdateGatewayInput" -_cUGR = "com.amazonaws.ecs#UpdateGatewayRequest" -_UGO = "UpdateGatewayOutput" -_cUGRo = "com.amazonaws.ecs#UpdateGatewayResponse" -_UG = "UpdateGateway" -_DGRIe = "DescribeGatewayRouteInput" -_cDGRRom = "com.amazonaws.ecs#DescribeGatewayRouteRequest" -_gRAa = "gatewayRouteArn" -_GRLBSG = "GatewayRouteLoadBalancerSecurityGroup" -_rAu = "ruleArns" -_GRLBSGL = "GatewayRouteLoadBalancerSecurityGroupList" -_GRAR = "GatewayRouteAlbResources" -_aCA = "acmCertificateArn" -_lRA = "listenerRuleArn" -_tLRA = "testListenerRuleArns" -_lBSG = "loadBalancerSecurityGroups" -_sSGA = "serviceSecurityGroupArn" -_GRARL = "GatewayRouteAlbResourcesList" -_GRR = "GatewayRouteResources" -_GRS = "GatewayRouteStatus" -_GRa = "GatewayRoute" -_sAe = "serviceArn" -_sCPN = "serviceContainerPortName" -_sUe = "serviceUrl" -_DGROe = "DescribeGatewayRouteOutput" -_cDGRRoma = "com.amazonaws.ecs#DescribeGatewayRouteResponse" -_gRa = "gatewayRoute" -_DGRe = "DescribeGatewayRoute" -_GRSL = "GatewayRouteStatusList" -_LGRI = "ListGatewayRoutesInput" -_cLGRR = "com.amazonaws.ecs#ListGatewayRoutesRequest" -_ser = "service" -_GRSa = "GatewayRouteSummary" -_GRSLa = "GatewayRouteSummaryList" -_LGRO = "ListGatewayRoutesOutput" -_cLGRRo = "com.amazonaws.ecs#ListGatewayRoutesResponse" -_gRat = "gatewayRoutes" -_LGR = "ListGatewayRoutes" -_LASI = "ListAccountSettingsInput" -_cLASR = "com.amazonaws.ecs#ListAccountSettingsRequest" -_eSf = "effectiveSettings" -_Sett = "Settings" -_LASO = "ListAccountSettingsOutput" -_cLASRo = "com.amazonaws.ecs#ListAccountSettingsResponse" -_LAS = "ListAccountSettings" -_LSBNI = "ListServicesByNamespaceInput" -_cLSBNR = "com.amazonaws.ecs#ListServicesByNamespaceRequest" -_LSBNO = "ListServicesByNamespaceOutput" -_cLSBNRo = "com.amazonaws.ecs#ListServicesByNamespaceResponse" -_sAer = "serviceArns" -_LSBN = "ListServicesByNamespace" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.ecs#ListTagsForResourceRequest" -_rAes = "resourceArn" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.ecs#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_TDFS = "TaskDefinitionFamilyStatus" -_LTDFI = "ListTaskDefinitionFamiliesInput" -_cLTDFR = "com.amazonaws.ecs#ListTaskDefinitionFamiliesRequest" -_LTDFO = "ListTaskDefinitionFamiliesOutput" -_cLTDFRo = "com.amazonaws.ecs#ListTaskDefinitionFamiliesResponse" -_fami = "families" -_LTDF = "ListTaskDefinitionFamilies" -_PASI = "PutAccountSettingInput" -_cPASR = "com.amazonaws.ecs#PutAccountSettingRequest" -_PASO = "PutAccountSettingOutput" -_cPASRo = "com.amazonaws.ecs#PutAccountSettingResponse" -_PAS = "PutAccountSetting" -_PASDI = "PutAccountSettingDefaultInput" -_cPASDR = "com.amazonaws.ecs#PutAccountSettingDefaultRequest" -_PASDO = "PutAccountSettingDefaultOutput" -_cPASDRo = "com.amazonaws.ecs#PutAccountSettingDefaultResponse" -_PASD = "PutAccountSettingDefault" -_DSDI = "DescribeServiceDeploymentsInput" -_cDSDR = "com.amazonaws.ecs#DescribeServiceDeploymentsRequest" -_sDAe = "serviceDeploymentArns" -_SDRMS = "ServiceDeploymentRollbackMonitorsStatus" -_SDA = "ServiceDeploymentAlarms" -_SDCB = "ServiceDeploymentCircuitBreaker" -_DAe = "DeploymentAlarms" -_CCa = "CanaryConfiguration" -_cPan = "canaryPercent" -_cBTIM = "canaryBakeTimeInMinutes" -_TTh = "ThresholdType" -_COUNT = "COUNT" -_BP_ = "BOUNDED_PERCENT" -_UP = "UNBOUNDED_PERCENT" -_TC = "ThresholdConfiguration" -_DCBe = "DeploymentCircuitBreaker" -_rOHT = "resetOnHealthyTask" -_tCh = "thresholdConfiguration" -_HPI = "HealthyPercentInteger" -_SRC = "ServiceRevisionCleanup" -_BLOCKING = "BLOCKING" -_DEFERRED = "DEFERRED" -_DESCe = "DeploymentEarlySuccessCriteria" -_hPe = "healthyPercent" -_sSRC = "sourceServiceRevisionCleanup" -_HD = "HookDetails" -_DLHS = "DeploymentLifecycleHookStage" -_RS_ = "RECONCILE_SERVICE" -_PSU = "PRE_SCALE_UP" -_PSU_ = "POST_SCALE_UP" -_TTS = "TEST_TRAFFIC_SHIFT" -_PTTS = "POST_TEST_TRAFFIC_SHIFT" -_PPTS = "PRE_PRODUCTION_TRAFFIC_SHIFT" -_PTS = "PRODUCTION_TRAFFIC_SHIFT" -_PPTS_ = "POST_PRODUCTION_TRAFFIC_SHIFT" -_DLHSL = "DeploymentLifecycleHookStageList" -_IAMRA = "IAMRoleArn" -_DLHTT = "DeploymentLifecycleHookTargetType" -_AL = "AWS_LAMBDA" -_PAUSE = "PAUSE" -_DLHD = "DeploymentLifecycleHookDuration" -_DLHTC = "DeploymentLifecycleHookTimeoutConfiguration" -_tIM = "timeoutInMinutes" -_DLH = "DeploymentLifecycleHook" -_hTA = "hookTargetArn" -_lSi = "lifecycleStages" -_hDo = "hookDetails" -_tCi = "timeoutConfiguration" -_DLHL = "DeploymentLifecycleHookList" -_LCi = "LinearConfiguration" -_sPt = "stepPercent" -_sBTIM = "stepBakeTimeInMinutes" -_DSe = "DeploymentStrategy" -_ROLLING = "ROLLING" -_BG = "BLUE_GREEN" -_LINEAR = "LINEAR" -_CANARY = "CANARY" -_DCep = "DeploymentConfiguration" -_dCB = "deploymentCircuitBreaker" -_mPa = "maximumPercent" -_mHP = "minimumHealthyPercent" -_stra = "strategy" -_lH = "lifecycleHooks" -_lCi = "linearConfiguration" -_cCa = "canaryConfiguration" -_eSC = "earlySuccessCriteria" -_DLHSe = "DeploymentLifecycleHookStatus" -_AA = "AWAITING_ACTION" -_SUCCEEDED = "SUCCEEDED" -_TO = "TIMED_OUT" -_DLHDe = "DeploymentLifecycleHookDetail" -_tAar = "targetArn" -_eA = "expiresAt" -_tAi = "timeoutAction" -_DLHDL = "DeploymentLifecycleHookDetailList" -_SDLS = "ServiceDeploymentLifecycleStage" -_SU = "SCALE_UP" -_BT = "BAKE_TIME" -_CU = "CLEAN_UP" -_Ro = "Rollback" -_sRA = "serviceRevisionArn" -_SRS = "ServiceRevisionSummary" -_rTCe = "requestedTaskCount" -_rTCu = "runningTaskCount" -_pTCe = "pendingTaskCount" -_rTTW = "requestedTestTrafficWeight" -_rPTW = "requestedProductionTrafficWeight" -_SRSL = "ServiceRevisionsSummaryList" -_SDS = "ServiceDeploymentStatus" -_RR_ = "ROLLBACK_REQUESTED" -_SD = "ServiceDeployment" -_sSR = "sourceServiceRevisions" -_tSR = "targetServiceRevision" -_lSif = "lifecycleStage" -_lHD = "lifecycleHookDetails" -_SDe = "ServiceDeployments" -_DSDO = "DescribeServiceDeploymentsOutput" -_cDSDRo = "com.amazonaws.ecs#DescribeServiceDeploymentsResponse" -_sD = "serviceDeployments" -_DSD = "DescribeServiceDeployments" -_ECAx = "ExpressCpuArchitecture" -_EGSNC = "ExpressGatewayServiceNetworkConfiguration" -_EGSALC = "ExpressGatewayServiceAwsLogsConfiguration" -_lG = "logGroup" -_lSP = "logStreamPrefix" -_EGRC = "ExpressGatewayRepositoryCredentials" -_EGC = "ExpressGatewayContainer" -_aLC = "awsLogsConfiguration" -_EGSSM = "ExpressGatewayServiceScalingMetric" -_ACPUU = "AverageCPUUtilization" -_AC___ = "AVERAGE_CPU" -_AMU = "AverageMemoryUtilization" -_AM__ = "AVERAGE_MEMORY" -_RCPT = "RequestCountPerTarget" -_RCPT_ = "REQUEST_COUNT_PER_TARGET" -_EGST = "ExpressGatewayScalingTarget" -_mTC = "minTaskCount" -_mTCa = "maxTaskCount" -_aSM = "autoScalingMetric" -_aSTV = "autoScalingTargetValue" -_CEGSI = "CreateExpressGatewayServiceInput" -_cCEGSR = "com.amazonaws.ecs#CreateExpressGatewayServiceRequest" -_hCP = "healthCheckPath" -_pCri = "primaryContainer" -_sTc = "scalingTarget" -_IPS = "IngressPathSummary" -_IPSn = "IngressPathSummaries" -_EGSC = "ExpressGatewayServiceConfiguration" -_iP = "ingressPaths" -_EGSCx = "ExpressGatewayServiceConfigurations" -_EGSSC = "ExpressGatewayServiceStatusCode" -_EGSS = "ExpressGatewayServiceStatus" -_sCt = "statusCode" -_ECSEGS = "ECSExpressGatewayService" -_cDu = "currentDeployment" -_aCc = "activeConfigurations" -_CEGSO = "CreateExpressGatewayServiceOutput" -_cCEGSRo = "com.amazonaws.ecs#CreateExpressGatewayServiceResponse" -_PTDIE = "PlatformTaskDefinitionIncompatibilityException" -_CEGS = "CreateExpressGatewayService" -_AZR = "AvailabilityZoneRebalancing" -_DCT = "DeploymentControllerType" -_ECS = "ECS" -_CD_ = "CODE_DEPLOY" -_DCepl = "DeploymentController" -_GCF = "GatewayConnectorFilters" -_aTcc = "accessTypes" -_GCHCP = "GatewayConnectorHealthCheckProtocol" -_GCHCM = "GatewayConnectorHealthCheckMatcher" -_hCt = "httpCode" -_gC = "grpcCode" -_GCHC = "GatewayConnectorHealthCheck" -_hCPe = "healthCheckProtocol" -_hCPea = "healthCheckPort" -_hCTS = "healthCheckTimeoutSeconds" -_hCIS = "healthCheckIntervalSeconds" -_hTC = "healthyThresholdCount" -_uTC = "unhealthyThresholdCount" -_mat = "matcher" -_GCa = "GatewayConnector" -_pN = "portName" -_fil = "filters" -_GCL = "GatewayConnectorList" -_LB = "LoadBalancer" -_tGA = "targetGroupArn" -_lBN = "loadBalancerName" -_aCd = "advancedConfiguration" -_LBo = "LoadBalancers" -_MN = "MetricName" -_MNL = "MetricNamesList" -_MRS = "MetricResolutionSeconds" -_MCe = "MetricConfiguration" -_mN = "metricNames" -_rS = "resolutionSeconds" -_MCL = "MetricConfigurationList" -_MCo = "MonitoringConfiguration" -_mC = "metricConfigurations" -_API = "AssignPublicIp" -_AVC = "AwsVpcConfiguration" -_aPIs = "assignPublicIp" -_NC = "NetworkConfiguration" -_aCw = "awsvpcConfiguration" -_PCTl = "PlacementConstraintType" -_DI = "DISTINCT_INSTANCE" -_dI = "distinctInstance" -_PCl = "PlacementConstraint" -_PCla = "PlacementConstraints" -_PST = "PlacementStrategyType" -_RANDOM = "RANDOM" -_ra = "random" -_SPREAD = "SPREAD" -_spr = "spread" -_BINPACK = "BINPACK" -_bi = "binpack" -_PS = "PlacementStrategy" -_fie = "field" -_PSl = "PlacementStrategies" -_PT = "PropagateTags" -_TD_ = "TASK_DEFINITION" -_SERVICE = "SERVICE" -_SSc = "SchedulingStrategy" -_REPLICA = "REPLICA" -_SCALF = "ServiceConnectAccessLoggingFormat" -_TEXT = "TEXT" -_JSON = "JSON" -_SCIQP = "ServiceConnectIncludeQueryParameters" -_SCALC = "ServiceConnectAccessLogConfiguration" -_for = "format" -_iQP = "includeQueryParameters" -_SCCLL = "ServiceConnectContainerLogLevel" -_DEBUG = "DEBUG" -_deb = "debug" -_INFO = "INFO" -_info = "info" -_SCCC = "ServiceConnectContainerConfiguration" -_lL = "logLevel" -_SCCCe = "ServiceConnectContainerConfigurations" -_PN = "PortNumber" -_SCTTHMR = "ServiceConnectTestTrafficHeaderMatchRules" -_exa = "exact" -_SCTTHR = "ServiceConnectTestTrafficHeaderRules" -_SCTTR = "ServiceConnectTestTrafficRules" -_SCCA = "ServiceConnectClientAlias" -_dNn = "dnsName" -_SCCAL = "ServiceConnectClientAliasList" -_Du = "Duration" -_TCi = "TimeoutConfiguration" -_iTS = "idleTimeoutSeconds" -_pRTS = "perRequestTimeoutSeconds" -_SCTCA = "ServiceConnectTlsCertificateAuthority" -_aPAA = "awsPcaAuthorityArn" -_SCTC = "ServiceConnectTlsConfiguration" -_iCA = "issuerCertificateAuthority" -_kK = "kmsKey" -_SCS = "ServiceConnectService" -_dNis = "discoveryName" -_cAli = "clientAliases" -_iPO = "ingressPortOverride" -_tl = "tls" -_SCSL = "ServiceConnectServiceList" -_SCC = "ServiceConnectConfiguration" -_serv = "services" -_aLCc = "accessLogConfiguration" -_cCo = "containerConfigurations" -_SRe = "ServiceRegistry" -_rAeg = "registryArn" -_SRer = "ServiceRegistries" -_TFT = "TaskFilesystemType" -_EXT = "EXT3" -_ext = "ext3" -_EXT_ = "EXT4" -_ext_ = "ext4" -_XFS = "XFS" -_xf = "xfs" -_NTFS = "NTFS" -_nt = "ntfs" -_EBSKMSKI = "EBSKMSKeyId" -_EBSSI = "EBSSnapshotId" -_EBSRT = "EBSResourceType" -_VOLUME = "VOLUME" -_vol = "volume" -_EBSTS = "EBSTagSpecification" -_rT = "resourceType" -_EBSTSa = "EBSTagSpecifications" -_EBSVT = "EBSVolumeType" -_SMEBSVC = "ServiceManagedEBSVolumeConfiguration" -_enc = "encrypted" -_vT = "volumeType" -_sIn = "snapshotId" -_vIR = "volumeInitializationRate" -_io = "iops" -_thr = "throughput" -_tS = "tagSpecifications" -_fT = "filesystemType" -_ECSVN = "ECSVolumeName" -_SVC = "ServiceVolumeConfiguration" -_mEBSV = "managedEBSVolume" -_SVCe = "ServiceVolumeConfigurations" -_VLAC = "VpcLatticeAdvancedConfiguration" -_VLC = "VpcLatticeConfiguration" -_VLCp = "VpcLatticeConfigurations" -_CSI = "CreateServiceInput" -_cCSR = "com.amazonaws.ecs#CreateServiceRequest" -_aZR = "availabilityZoneRebalancing" -_lB = "loadBalancers" -_sRe = "serviceRegistries" -_dCe = "desiredCount" -_cPS = "capacityProviderStrategy" -_pV = "platformVersion" -_rol = "role" -_pS = "placementStrategy" -_hCGPS = "healthCheckGracePeriodSeconds" -_sSc = "schedulingStrategy" -_dCep = "deploymentController" -_sCC = "serviceConnectConfiguration" -_vCo = "volumeConfigurations" -_vLC = "vpcLatticeConfigurations" -_gCa = "gatewayConnectors" -_SCRS = "ServiceCurrentRevisionSummary" -_SCRSL = "ServiceCurrentRevisionSummaryList" -_DES = "DeploymentEphemeralStorage" -_DRS = "DeploymentRolloutState" -_COMPLETED = "COMPLETED" -_SCSR = "ServiceConnectServiceResource" -_dAi = "discoveryArn" -_SCSRL = "ServiceConnectServiceResourceList" -_Dep = "Deployment" -_pCe = "pendingCount" -_fTa = "failedTasks" -_pF = "platformFamily" -_rSo = "rolloutState" -_rSR = "rolloutStateReason" -_sCR = "serviceConnectResources" -_fES = "fargateEphemeralStorage" -_Depl = "Deployments" -_SEe = "ServiceEvent" -_SEer = "ServiceEvents" -_RMT = "ResourceManagementType" -_CUSTOMER = "CUSTOMER" -_SUc = "ScaleUnit" -_PERCENT = "PERCENT" -_Sca = "Scale" -_un = "unit" -_SSt = "StabilityStatus" -_SS_ = "STEADY_STATE" -_STABILIZING = "STABILIZING" -_TS = "TaskSet" -_tSA = "taskSetArn" -_eI = "externalId" -_cDC = "computedDesiredCount" -_sca = "scale" -_sSt = "stabilityStatus" -_sSA = "stabilityStatusAt" -_TSa = "TaskSets" -_Ser = "Service" -_tSa = "taskSets" -_dep = "deployments" -_ev = "events" -_cSD = "currentServiceDeployment" -_cSR = "currentServiceRevisions" -_cBr = "createdBy" -_rMT = "resourceManagementType" -_CSO = "CreateServiceOutput" -_cCSRo = "com.amazonaws.ecs#CreateServiceResponse" -_CSr = "CreateService" -_DEGSI = "DeleteExpressGatewayServiceInput" -_cDEGSR = "com.amazonaws.ecs#DeleteExpressGatewayServiceRequest" -_DEGSO = "DeleteExpressGatewayServiceOutput" -_cDEGSRo = "com.amazonaws.ecs#DeleteExpressGatewayServiceResponse" -_SNAE = "ServiceNotActiveException" -_DEGS = "DeleteExpressGatewayService" -_DSI = "DeleteServiceInput" -_cDSR = "com.amazonaws.ecs#DeleteServiceRequest" -_DSO = "DeleteServiceOutput" -_cDSRo = "com.amazonaws.ecs#DeleteServiceResponse" -_DSel = "DeleteService" -_EGSI = "ExpressGatewayServiceInclude" -_EGSIL = "ExpressGatewayServiceIncludeList" -_DEGSIe = "DescribeExpressGatewayServiceInput" -_cDEGSRom = "com.amazonaws.ecs#DescribeExpressGatewayServiceRequest" -_DEGSOe = "DescribeExpressGatewayServiceOutput" -_cDEGSRoma = "com.amazonaws.ecs#DescribeExpressGatewayServiceResponse" -_DEGSe = "DescribeExpressGatewayService" -_SF = "ServiceField" -_SFL = "ServiceFieldList" -_DSIe = "DescribeServicesInput" -_cDSRom = "com.amazonaws.ecs#DescribeServicesRequest" -_Serv = "Services" -_DSOe = "DescribeServicesOutput" -_cDSRoma = "com.amazonaws.ecs#DescribeServicesResponse" -_DSes = "DescribeServices" -_SDSL = "ServiceDeploymentStatusList" -_LSDI = "ListServiceDeploymentsInput" -_cLSDR = "com.amazonaws.ecs#ListServiceDeploymentsRequest" -_SDB = "ServiceDeploymentBrief" -_tSRA = "targetServiceRevisionArn" -_SDBe = "ServiceDeploymentsBrief" -_LSDO = "ListServiceDeploymentsOutput" -_cLSDRo = "com.amazonaws.ecs#ListServiceDeploymentsResponse" -_LSD = "ListServiceDeployments" -_LSI = "ListServicesInput" -_cLSR = "com.amazonaws.ecs#ListServicesRequest" -_LSO = "ListServicesOutput" -_cLSRo = "com.amazonaws.ecs#ListServicesResponse" -_LSi = "ListServices" -_RI = "ResourceIds" -_CEo = "ConflictException" -_rIe = "resourceIds" -_SSDST = "StopServiceDeploymentStopType" -_ABORT = "ABORT" -_SSDI = "StopServiceDeploymentInput" -_cSSDR = "com.amazonaws.ecs#StopServiceDeploymentRequest" -_sTto = "stopType" -_SSDO = "StopServiceDeploymentOutput" -_cSSDRo = "com.amazonaws.ecs#StopServiceDeploymentResponse" -_SSDt = "StopServiceDeployment" -_UEGSI = "UpdateExpressGatewayServiceInput" -_cUEGSR = "com.amazonaws.ecs#UpdateExpressGatewayServiceRequest" -_UEGS = "UpdatedExpressGatewayService" -_tCa = "targetConfiguration" -_UEGSO = "UpdateExpressGatewayServiceOutput" -_cUEGSRo = "com.amazonaws.ecs#UpdateExpressGatewayServiceResponse" -_UEGSp = "UpdateExpressGatewayService" -_USI = "UpdateServiceInput" -_cUSR = "com.amazonaws.ecs#UpdateServiceRequest" -_fND = "forceNewDeployment" -_USO = "UpdateServiceOutput" -_cUSRo = "com.amazonaws.ecs#UpdateServiceResponse" -_US = "UpdateService" -_TSNFE = "TaskSetNotFoundException" -_USPTSI = "UpdateServicePrimaryTaskSetInput" -_cUSPTSR = "com.amazonaws.ecs#UpdateServicePrimaryTaskSetRequest" -_pTS = "primaryTaskSet" -_USPTSO = "UpdateServicePrimaryTaskSetOutput" -_cUSPTSRo = "com.amazonaws.ecs#UpdateServicePrimaryTaskSetResponse" -_tSas = "taskSet" -_USPTS = "UpdateServicePrimaryTaskSet" -_DSRI = "DescribeServiceRevisionsInput" -_cDSRR = "com.amazonaws.ecs#DescribeServiceRevisionsRequest" -_sRAe = "serviceRevisionArns" -_CIont = "ContainerImage" -_CIonta = "ContainerImages" -_MRSa = "ManagedResourceStatus" -_MAASP = "ManagedApplicationAutoScalingPolicy" -_pTo = "policyType" -_tVa = "targetValue" -_met = "metric" -_MAASPa = "ManagedApplicationAutoScalingPolicies" -_MST = "ManagedScalableTarget" -_mCi = "minCapacity" -_mCa = "maxCapacity" -_MAS = "ManagedAutoScaling" -_sTca = "scalableTarget" -_aASP = "applicationAutoScalingPolicies" -_GCAR = "GatewayConnectionAlbResources" -_lBSGA = "loadBalancerSecurityGroupArns" -_tLRAe = "testListenerRuleArn" -_GCARL = "GatewayConnectionAlbResourcesList" -_GCR = "GatewayConnectionResources" -_GCat = "GatewayConnection" -_GCLa = "GatewayConnectionList" -_MCa = "ManagedCertificate" -_dNo = "domainName" -_ML = "ManagedListener" -_MLB = "ManagedLoadBalancer" -_sIu = "subnetIds" -_sGI = "securityGroupIds" -_MSG = "ManagedSecurityGroup" -_MSGa = "ManagedSecurityGroups" -_MLR = "ManagedListenerRule" -_MTG = "ManagedTargetGroup" -_MTGa = "ManagedTargetGroups" -_MIPa = "ManagedIngressPath" -_lBo = "loadBalancer" -_ce = "certificate" -_lis = "listener" -_ru = "rule" -_tG = "targetGroups" -_MIPan = "ManagedIngressPaths" -_MLG = "ManagedLogGroup" -_lGN = "logGroupName" -_MLGa = "ManagedLogGroups" -_MMA = "ManagedMetricAlarm" -_MMAa = "ManagedMetricAlarms" -_ECSMR = "ECSManagedResources" -_aSu = "autoScaling" -_mAe = "metricAlarms" -_sSG = "serviceSecurityGroups" -_lGo = "logGroups" -_gCat = "gatewayConnections" -_RPO = "RuntimePlatformOverride" -_SRO = "ServiceRevisionOverrides" -_SRLB = "ServiceRevisionLoadBalancer" -_SRLBe = "ServiceRevisionLoadBalancers" -_SRVLC = "ServiceRevisionVpcLatticeConfiguration" -_SRVLCe = "ServiceRevisionVpcLatticeConfigurations" -_RCe = "ResolvedConfiguration" -_SRerv = "ServiceRevision" -_gDE = "guardDutyEnabled" -_rCes = "resolvedConfiguration" -_eMR = "ecsManagedResources" -_ov = "overrides" -_SRervi = "ServiceRevisions" -_DSRO = "DescribeServiceRevisionsOutput" -_cDSRRo = "com.amazonaws.ecs#DescribeServiceRevisionsResponse" -_sRer = "serviceRevisions" -_DSR = "DescribeServiceRevisions" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.ecs#TagResourceRequest" -_TRO = "TagResourceOutput" -_cTRRo = "com.amazonaws.ecs#TagResourceResponse" -_TR = "TagResource" -_DTDIel = "DeleteTaskDefinitionsInput" -_cDTDRomam = "com.amazonaws.ecs#DeleteTaskDefinitionsRequest" -_tDa = "taskDefinitions" -_TDL = "TaskDefinitionList" -_DTDOel = "DeleteTaskDefinitionsOutput" -_cDTDRomama = "com.amazonaws.ecs#DeleteTaskDefinitionsResponse" -_DTDel = "DeleteTaskDefinitions" -_LTDI = "ListTaskDefinitionsInput" -_cLTDR = "com.amazonaws.ecs#ListTaskDefinitionsRequest" -_LTDO = "ListTaskDefinitionsOutput" -_cLTDRo = "com.amazonaws.ecs#ListTaskDefinitionsResponse" -_tDAa = "taskDefinitionArns" -_LTD = "ListTaskDefinitions" -_RTDI = "RegisterTaskDefinitionInput" -_cRTDR = "com.amazonaws.ecs#RegisterTaskDefinitionRequest" -_RTDO = "RegisterTaskDefinitionOutput" -_cRTDRo = "com.amazonaws.ecs#RegisterTaskDefinitionResponse" -_RTD = "RegisterTaskDefinition" -_TF = "TaskField" -_TFL = "TaskFieldList" -_DTI = "DescribeTasksInput" -_cDTR = "com.amazonaws.ecs#DescribeTasksRequest" -_task = "tasks" -_Con = "Connectivity" -_CONNECTED = "CONNECTED" -_DISCONNECTED = "DISCONNECTED" -_GI = "GpuIds" -_HS = "HealthStatus" -_UNHEALTHY = "UNHEALTHY" -_UNKNOWN = "UNKNOWN" -_MA = "ManagedAgent" -_lSA = "lastStartedAt" -_lSa = "lastStatus" -_MAa = "ManagedAgents" -_NI = "NetworkInterface" -_aI = "attachmentId" -_pIA = "privateIpv4Address" -_iAp = "ipv6Address" -_NIe = "NetworkInterfaces" -_NDI = "NeuronDeviceIds" -_Cont = "Container" -_nI = "networkInterfaces" -_gIp = "gpuIds" -_nDI = "neuronDeviceIds" -_gSS = "gpuSharingStrategy" -_Conta = "Containers" -_TES = "TaskEphemeralStorage" -_CO = "ContainerOverride" -_COo = "ContainerOverrides" -_IAO = "InferenceAcceleratorOverride" -_IAOn = "InferenceAcceleratorOverrides" -_TOa = "TaskOverride" -_cO = "containerOverrides" -_iAO = "inferenceAcceleratorOverrides" -_TSC = "TaskStopCode" -_TFTS = "TASK_FAILED_TO_START" -_TFTSa = "TaskFailedToStart" -_ECE = "ESSENTIAL_CONTAINER_EXITED" -_ECEs = "EssentialContainerExited" -_UI = "USER_INITIATED" -_UIs = "UserInitiated" -_SSI = "SERVICE_SCHEDULER_INITIATED" -_SSIe = "ServiceSchedulerInitiated" -_SI = "SPOT_INTERRUPTION" -_SIp = "SpotInterruption" -_TN = "TERMINATION_NOTICE" -_TNe = "TerminationNotice" -_IH = "INFRASTRUCTURE_HEALTH" -_IHn = "InfrastructureHealth" -_APS = "AttestationPolicyStatus" -_CONFIGURED = "CONFIGURED" -_TESr = "TrustedExecutionSummary" -_aPS = "attestationPolicyStatus" -_Tas = "Task" -_aZ = "availabilityZone" -_conn = "connectivity" -_cAon = "connectivityAt" -_gro = "group" -_sCto = "stopCode" -_sRt = "stoppedReason" -_sAto = "stoppingAt" -_tES = "trustedExecutionSummary" -_Task = "Tasks" -_DTO = "DescribeTasksOutput" -_cDTRo = "com.amazonaws.ecs#DescribeTasksResponse" -_DT = "DescribeTasks" -_GTPI = "GetTaskProtectionInput" -_cGTPR = "com.amazonaws.ecs#GetTaskProtectionRequest" -_PTr = "ProtectedTask" -_pE = "protectionEnabled" -_eD = "expirationDate" -_PTro = "ProtectedTasks" -_GTPO = "GetTaskProtectionOutput" -_cGTPRo = "com.amazonaws.ecs#GetTaskProtectionResponse" -_pTr = "protectedTasks" -_GTP = "GetTaskProtection" -_BE = "BlockedException" -_TMEBSVTP = "TaskManagedEBSVolumeTerminationPolicy" -_dOT = "deleteOnTermination" -_TMEBSVC = "TaskManagedEBSVolumeConfiguration" -_tP = "terminationPolicy" -_TVC = "TaskVolumeConfiguration" -_TVCa = "TaskVolumeConfigurations" -_RTI = "RunTaskInput" -_cRTR = "com.amazonaws.ecs#RunTaskRequest" -_cou = "count" -_rIef = "referenceId" -_RTO = "RunTaskOutput" -_cRTRo = "com.amazonaws.ecs#RunTaskResponse" -_RTu = "RunTask" -_STI = "StartTaskInput" -_cSTR = "com.amazonaws.ecs#StartTaskRequest" -_STO = "StartTaskOutput" -_cSTRo = "com.amazonaws.ecs#StartTaskResponse" -_STt = "StartTask" -_STIt = "StopTaskInput" -_cSTRom = "com.amazonaws.ecs#StopTaskRequest" -_STOt = "StopTaskOutput" -_cSTRoma = "com.amazonaws.ecs#StopTaskResponse" -_STto = "StopTask" -_UTPI = "UpdateTaskProtectionInput" -_cUTPR = "com.amazonaws.ecs#UpdateTaskProtectionRequest" -_eIM = "expiresInMinutes" -_UTPO = "UpdateTaskProtectionOutput" -_cUTPRo = "com.amazonaws.ecs#UpdateTaskProtectionResponse" -_UTP = "UpdateTaskProtection" -_CTSI = "CreateTaskSetInput" -_cCTSR = "com.amazonaws.ecs#CreateTaskSetRequest" -_CTSO = "CreateTaskSetOutput" -_cCTSRo = "com.amazonaws.ecs#CreateTaskSetResponse" -_CTS = "CreateTaskSet" -_DTSI = "DeleteTaskSetInput" -_cDTSR = "com.amazonaws.ecs#DeleteTaskSetRequest" -_DTSO = "DeleteTaskSetOutput" -_cDTSRo = "com.amazonaws.ecs#DeleteTaskSetResponse" -_DTS = "DeleteTaskSet" -_TSF = "TaskSetField" -_TSFL = "TaskSetFieldList" -_DTSIe = "DescribeTaskSetsInput" -_cDTSRom = "com.amazonaws.ecs#DescribeTaskSetsRequest" -_DTSOe = "DescribeTaskSetsOutput" -_cDTSRoma = "com.amazonaws.ecs#DescribeTaskSetsResponse" -_DTSe = "DescribeTaskSets" -_UTSI = "UpdateTaskSetInput" -_cUTSR = "com.amazonaws.ecs#UpdateTaskSetRequest" -_UTSO = "UpdateTaskSetOutput" -_cUTSRo = "com.amazonaws.ecs#UpdateTaskSetResponse" -_UTS = "UpdateTaskSet" -_TKa = "TagKeys" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.ecs#UntagResourceRequest" -_tK = "tagKeys" -_URO = "UntagResourceOutput" -_cURRo = "com.amazonaws.ecs#UntagResourceResponse" -_UR = "UntagResource" -_AECCSV = "AmazonEC2ContainerServiceV20141113" -_a__ = "aws.protocols#awsJson1_1" -_awsa = "aws.api#service" -_awsau = "aws.auth#sigv4" -_sNm = "smithy.api#xmlNamespace" - -BOXED_INTEGER: StaticSchema = (7, n0, _BI, 0) - -ACCELERATOR_COUNT_REQUEST: StaticSchema = ( - 18, - n0, - _ACR, - 0, - (_m, _ma), - ((BOXED_INTEGER, 0), (BOXED_INTEGER, 0)), -) - -ACCELERATOR_MANUFACTURER: StaticSchema = ( - 14, - n0, - _AM, - 0, - (_AWS, _AMD, _NVIDIA, _XILINX, _HABANA), - ( - (-1, {_sV: _aws}), - (-1, {_sV: _a}), - (-1, {_sV: _n}), - (-1, {_sV: _x}), - (-1, {_sV: _h}), - ), -) - -ACCELERATOR_MANUFACTURER_SET: StaticSchema = ( - 16, - n0, - _AMS, - 0, - (_me,), - ((ACCELERATOR_MANUFACTURER, {_sN: _i}),), -) - -ACCELERATOR_NAME: StaticSchema = ( - 14, - n0, - _AN, - 0, - (_A, _INFERENTIA, _K, _K_, _M, _RPV, _T, _VUP, _V, _AG, _H, _TG, _LS, _L), - ( - (-1, {_sV: _a_}), - (-1, {_sV: _in}), - (-1, {_sV: _k}), - (-1, {_sV: _k_}), - (-1, {_sV: _m_}), - (-1, {_sV: _rpv}), - (-1, {_sV: _t}), - (-1, {_sV: _v}), - (-1, {_sV: _v_}), - (-1, {_sV: _ag}), - (-1, {_sV: _h_}), - (-1, {_sV: _tg}), - (-1, {_sV: _l}), - (-1, {_sV: _l_}), - ), -) - -ACCELERATOR_NAME_SET: StaticSchema = ( - 16, - n0, - _ANS, - 0, - (_me,), - ((ACCELERATOR_NAME, {_sN: _i}),), -) - -ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST: StaticSchema = ( - 18, - n0, - _ATMMBR, - 0, - (_m, _ma), - ((BOXED_INTEGER, 0), (BOXED_INTEGER, 0)), -) - -ACCELERATOR_TYPE: StaticSchema = ( - 14, - n0, - _AT, - 0, - (_GPU, _FPGA, _INFERENCE), - ((-1, {_sV: _g}), (-1, {_sV: _f}), (-1, {_sV: _inf})), -) - -ACCELERATOR_TYPE_SET: StaticSchema = ( - 16, - n0, - _ATS, - 0, - (_me,), - ((ACCELERATOR_TYPE, {_sN: _i}),), -) - -STRING: StaticSchema = (3, n0, _S, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c, _sE: 403}, - (_mes,), - ((STRING, 0),), -) - -ACCESS_TYPE: StaticSchema = ( - 14, - n0, - _ATc, - 0, - (_PUBLIC, _PRIVATE), - ((-1, {_sV: _PUBLIC}), (-1, {_sV: _PRIVATE})), -) - -ACCESS_TYPE_LIST: StaticSchema = (16, n0, _ATL, 0, (_me,), ((ACCESS_TYPE, 0),)) - -ADVANCED_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AC, - 0, - (_aTGA, _pLR, _tLR, _rA), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -AGENT_UPDATE_STATUS: StaticSchema = ( - 14, - n0, - _AUS, - 0, - (_PENDING, _STAGING, _STAGED, _UPDATING, _UPDATED, _FAILED), - ( - (-1, {_sV: _PENDING}), - (-1, {_sV: _STAGING}), - (-1, {_sV: _STAGED}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _UPDATED}), - (-1, {_sV: _FAILED}), - ), -) - -ALLOWED_INSTANCE_TYPE: StaticSchema = (3, n0, _AIT, 0) - -ALLOWED_INSTANCE_TYPE_SET: StaticSchema = ( - 16, - n0, - _AITS, - 0, - (_me,), - ((ALLOWED_INSTANCE_TYPE, {_sN: _i}),), -) - -CLIENT_EXCEPTION: StaticSchema = (18, n0, _CE, {_s: _c}, (_mes,), ((STRING, 0),)) - -CLUSTER_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _CNFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -MANAGED_DRAINING: StaticSchema = ( - 14, - n0, - _MD, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -MANAGED_SCALING_INSTANCE_WARMUP_PERIOD: StaticSchema = (7, n0, _MSIWP, 0) - -MANAGED_SCALING_STEP_SIZE: StaticSchema = (7, n0, _MSSS, 0) - -MANAGED_SCALING_STATUS: StaticSchema = ( - 14, - n0, - _MSS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -MANAGED_SCALING_TARGET_CAPACITY: StaticSchema = (7, n0, _MSTC, 0) - -MANAGED_SCALING: StaticSchema = ( - 18, - n0, - _MS, - 0, - (_st, _tC, _mSSS, _mSSSa, _iWP), - ( - (MANAGED_SCALING_STATUS, 0), - (MANAGED_SCALING_TARGET_CAPACITY, 0), - (MANAGED_SCALING_STEP_SIZE, 0), - (MANAGED_SCALING_STEP_SIZE, 0), - (MANAGED_SCALING_INSTANCE_WARMUP_PERIOD, 0), - ), -) - -MANAGED_TERMINATION_PROTECTION: StaticSchema = ( - 14, - n0, - _MTP, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -AUTO_SCALING_GROUP_PROVIDER: StaticSchema = ( - 18, - n0, - _ASGP, - 0, - (_aSGA, _mS, _mTP, _mD), - ( - (STRING, 1), - (MANAGED_SCALING, 0), - (MANAGED_TERMINATION_PROTECTION, 0), - (MANAGED_DRAINING, 0), - ), -) - -AUTO_REPAIR_ACTIONS_STATUS: StaticSchema = ( - 14, - n0, - _ARAS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -AUTO_REPAIR_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARC, - 0, - (_aS,), - ((AUTO_REPAIR_ACTIONS_STATUS, 0),), -) - -INFRASTRUCTURE_OPTIMIZATION: StaticSchema = ( - 18, - n0, - _IO, - 0, - (_sIA,), - ((BOXED_INTEGER, 0),), -) - -CAPACITY_OPTION_TYPE: StaticSchema = ( - 14, - n0, - _COT, - 0, - (_OD, _SPOT, _RESERVED), - ((-1, {_sV: _OD}), (-1, {_sV: _SPOT}), (-1, {_sV: _RESERVED})), -) - -CAPACITY_RESERVATION_PREFERENCE: StaticSchema = ( - 14, - n0, - _CRP, - 0, - (_RO, _RF, _RE), - ((-1, {_sV: _RO}), (-1, {_sV: _RF}), (-1, {_sV: _RE})), -) - -CAPACITY_RESERVATION_REQUEST: StaticSchema = ( - 18, - n0, - _CRR, - 0, - (_rGA, _rP), - ((STRING, 0), (CAPACITY_RESERVATION_PREFERENCE, 0)), -) - -BOXED_BOOLEAN: StaticSchema = (2, n0, _BB, 0) - -BARE_METAL: StaticSchema = ( - 14, - n0, - _BM, - 0, - (_INCLUDED, _REQUIRED, _EXCLUDED), - ((-1, {_sV: _inc}), (-1, {_sV: _r}), (-1, {_sV: _e})), -) - -BASELINE_EBS_BANDWIDTH_MBPS_REQUEST: StaticSchema = ( - 18, - n0, - _BEBMR, - 0, - (_m, _ma), - ((BOXED_INTEGER, 0), (BOXED_INTEGER, 0)), -) - -BURSTABLE_PERFORMANCE: StaticSchema = ( - 14, - n0, - _BP, - 0, - (_INCLUDED, _REQUIRED, _EXCLUDED), - ((-1, {_sV: _inc}), (-1, {_sV: _r}), (-1, {_sV: _e})), -) - -CPU_MANUFACTURER: StaticSchema = ( - 14, - n0, - _CM, - 0, - (_INTEL, _AMD, _AWS), - ((-1, {_sV: _int}), (-1, {_sV: _a}), (-1, {_sV: _aws})), -) - -CPU_MANUFACTURER_SET: StaticSchema = ( - 16, - n0, - _CMS, - 0, - (_me,), - ((CPU_MANUFACTURER, {_sN: _i}),), -) - -EXCLUDED_INSTANCE_TYPE: StaticSchema = (3, n0, _EIT, 0) - -EXCLUDED_INSTANCE_TYPE_SET: StaticSchema = ( - 16, - n0, - _EITS, - 0, - (_me,), - ((EXCLUDED_INSTANCE_TYPE, {_sN: _i}),), -) - -INSTANCE_GENERATION: StaticSchema = ( - 14, - n0, - _IG, - 0, - (_CURRENT, _PREVIOUS), - ((-1, {_sV: _cu}), (-1, {_sV: _p})), -) - -INSTANCE_GENERATION_SET: StaticSchema = ( - 16, - n0, - _IGS, - 0, - (_me,), - ((INSTANCE_GENERATION, {_sN: _i}),), -) - -LOCAL_STORAGE: StaticSchema = ( - 14, - n0, - _LSo, - 0, - (_INCLUDED, _REQUIRED, _EXCLUDED), - ((-1, {_sV: _inc}), (-1, {_sV: _r}), (-1, {_sV: _e})), -) - -LOCAL_STORAGE_TYPE: StaticSchema = ( - 14, - n0, - _LST, - 0, - (_HDD, _SSD), - ((-1, {_sV: _hd}), (-1, {_sV: _ss})), -) - -LOCAL_STORAGE_TYPE_SET: StaticSchema = ( - 16, - n0, - _LSTS, - 0, - (_me,), - ((LOCAL_STORAGE_TYPE, {_sN: _i}),), -) - -BOXED_DOUBLE: StaticSchema = (10, n0, _BD, 0) - -MEMORY_GI_B_PER_V_CPU_REQUEST: StaticSchema = ( - 18, - n0, - _MGBPVCR, - 0, - (_m, _ma), - ((BOXED_DOUBLE, 0), (BOXED_DOUBLE, 0)), -) - -MEMORY_MI_B_REQUEST: StaticSchema = ( - 18, - n0, - _MMBR, - 0, - (_m, _ma), - ((BOXED_INTEGER, 1), (BOXED_INTEGER, 0)), -) - -NETWORK_BANDWIDTH_GBPS_REQUEST: StaticSchema = ( - 18, - n0, - _NBGR, - 0, - (_m, _ma), - ((BOXED_DOUBLE, 0), (BOXED_DOUBLE, 0)), -) - -NETWORK_INTERFACE_COUNT_REQUEST: StaticSchema = ( - 18, - n0, - _NICR, - 0, - (_m, _ma), - ((BOXED_INTEGER, 0), (BOXED_INTEGER, 0)), -) - -TOTAL_LOCAL_STORAGE_GB_REQUEST: StaticSchema = ( - 18, - n0, - _TLSGBR, - 0, - (_m, _ma), - ((BOXED_DOUBLE, 0), (BOXED_DOUBLE, 0)), -) - -V_CPU_COUNT_RANGE_REQUEST: StaticSchema = ( - 18, - n0, - _VCCRR, - 0, - (_m, _ma), - ((BOXED_INTEGER, 1), (BOXED_INTEGER, 0)), -) - -INSTANCE_REQUIREMENTS_REQUEST: StaticSchema = ( - 18, - n0, - _IRR, - 0, - ( - _vCC, - _mMB, - _cM, - _mGBPVC, - _eIT, - _iG, - _sMPPOLP, - _oDMPPOLP, - _bM, - _bP, - _rHS, - _nIC, - _lS, - _lST, - _tLSGB, - _bEBM, - _aT, - _aC, - _aM, - _aN, - _aTMMB, - _nBG, - _aIT, - _mSPAPOOODP, - ), - ( - (V_CPU_COUNT_RANGE_REQUEST, 1), - (MEMORY_MI_B_REQUEST, 1), - (CPU_MANUFACTURER_SET, {_sN: _CM}), - (MEMORY_GI_B_PER_V_CPU_REQUEST, 0), - (EXCLUDED_INSTANCE_TYPE_SET, {_sN: _EIT}), - (INSTANCE_GENERATION_SET, {_sN: _IG}), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BARE_METAL, 0), - (BURSTABLE_PERFORMANCE, 0), - (BOXED_BOOLEAN, 0), - (NETWORK_INTERFACE_COUNT_REQUEST, 0), - (LOCAL_STORAGE, 0), - (LOCAL_STORAGE_TYPE_SET, {_sN: _LST}), - (TOTAL_LOCAL_STORAGE_GB_REQUEST, 0), - (BASELINE_EBS_BANDWIDTH_MBPS_REQUEST, 0), - (ACCELERATOR_TYPE_SET, {_sN: _AT}), - (ACCELERATOR_COUNT_REQUEST, 0), - (ACCELERATOR_MANUFACTURER_SET, {_sN: _AM}), - (ACCELERATOR_NAME_SET, {_sN: _AN}), - (ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST, 0), - (NETWORK_BANDWIDTH_GBPS_REQUEST, 0), - (ALLOWED_INSTANCE_TYPE_SET, {_sN: _AIT}), - (BOXED_INTEGER, 0), - ), -) - -BOOLEAN: StaticSchema = (2, n0, _B, {_smi: False}) - -MANAGED_INSTANCES_LOCAL_STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MILSC, - 0, - (_uLS,), - ((BOOLEAN, {_smi: False}),), -) - -MANAGED_INSTANCES_MONITORING_OPTIONS: StaticSchema = ( - 14, - n0, - _MIMO, - 0, - (_BASIC, _DETAILED), - ((-1, {_sV: _BASIC}), (-1, {_sV: _DETAILED})), -) - -STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_me,), ((STRING, 0),)) - -MANAGED_INSTANCES_NETWORK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MINC, - 0, - (_su, _sG), - ((STRING_LIST, 0), (STRING_LIST, 0)), -) - -TASK_VOLUME_STORAGE_GI_B: StaticSchema = (7, n0, _TVSGB, 0) - -MANAGED_INSTANCES_STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MISC, - 0, - (_sSGB,), - ((TASK_VOLUME_STORAGE_GI_B, 0),), -) - -INSTANCE_LAUNCH_TEMPLATE: StaticSchema = ( - 18, - n0, - _ILT, - 0, - (_eIPA, _nC, _sC, _lSC, _mo, _cOT, _iMTP, _iR, _fE, _cR, _nEE), - ( - (STRING, 1), - (MANAGED_INSTANCES_NETWORK_CONFIGURATION, 1), - (MANAGED_INSTANCES_STORAGE_CONFIGURATION, 0), - (MANAGED_INSTANCES_LOCAL_STORAGE_CONFIGURATION, 0), - (MANAGED_INSTANCES_MONITORING_OPTIONS, 0), - (CAPACITY_OPTION_TYPE, 0), - (BOXED_BOOLEAN, 0), - (INSTANCE_REQUIREMENTS_REQUEST, 0), - (BOXED_BOOLEAN, 0), - (CAPACITY_RESERVATION_REQUEST, 0), - (BOXED_BOOLEAN, 0), - ), -) - -PROPAGATE_MI_TAGS: StaticSchema = ( - 14, - n0, - _PMIT, - 0, - (_CP, _NONE), - ((-1, {_sV: _CP}), (-1, {_sV: _NONE})), -) - -CREATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CMIPC, - 0, - (_iRA, _iLT, _pT, _iO, _aRC), - ( - (STRING, 1), - (INSTANCE_LAUNCH_TEMPLATE, 1), - (PROPAGATE_MI_TAGS, 0), - (INFRASTRUCTURE_OPTIMIZATION, 0), - (AUTO_REPAIR_CONFIGURATION, 0), - ), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _Ta, 0, (_ke, _va), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -TAGS: StaticSchema = (16, n0, _Tag, 0, (_me,), ((TAG, 0),)) - -CREATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _CCPI, - {_sSI: _cCCPR, _smit: None}, - (_na, _cl, _aSGP, _mIP, _ta), - ( - (STRING, 1), - (STRING, 0), - (AUTO_SCALING_GROUP_PROVIDER, 0), - (CREATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION, 0), - (TAGS, 0), - ), -) - -MANAGED_INSTANCES_PROVIDER: StaticSchema = ( - 18, - n0, - _MIP, - 0, - (_iRA, _iLT, _pT, _iO, _aRC), - ( - (STRING, 0), - (INSTANCE_LAUNCH_TEMPLATE, 0), - (PROPAGATE_MI_TAGS, 0), - (INFRASTRUCTURE_OPTIMIZATION, 0), - (AUTO_REPAIR_CONFIGURATION, 0), - ), -) - -CAPACITY_PROVIDER_STATUS: StaticSchema = ( - 14, - n0, - _CPS, - 0, - (_PROVISIONING, _ACTIVE, _DEPROVISIONING, _INACTIVE), - ( - (-1, {_sV: _PROVISIONING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DEPROVISIONING}), - (-1, {_sV: _INACTIVE}), - ), -) - -CAPACITY_PROVIDER_TYPE: StaticSchema = ( - 14, - n0, - _CPT, - 0, - (_EA, _MI, _FARGATE, _FS), - ((-1, {_sV: _EA}), (-1, {_sV: _MI}), (-1, {_sV: _FARGATE}), (-1, {_sV: _FS})), -) - -CAPACITY_PROVIDER_UPDATE_STATUS: StaticSchema = ( - 14, - n0, - _CPUS, - 0, - (_CIP, _CC, _CF, _DIP, _DC, _DF, _UIP, _UC, _UF), - ( - (-1, {_sV: _CIP}), - (-1, {_sV: _CC}), - (-1, {_sV: _CF}), - (-1, {_sV: _DIP}), - (-1, {_sV: _DC}), - (-1, {_sV: _DF}), - (-1, {_sV: _UIP}), - (-1, {_sV: _UC}), - (-1, {_sV: _UF}), - ), -) - -CAPACITY_PROVIDER: StaticSchema = ( - 18, - n0, - _CPa, - 0, - (_cPA, _na, _cl, _st, _aSGP, _mIP, _uS, _uSR, _ta, _ty), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CAPACITY_PROVIDER_STATUS, 0), - (AUTO_SCALING_GROUP_PROVIDER, 0), - (MANAGED_INSTANCES_PROVIDER, 0), - (CAPACITY_PROVIDER_UPDATE_STATUS, 0), - (STRING, 0), - (TAGS, 0), - (CAPACITY_PROVIDER_TYPE, 0), - ), -) - -CREATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _CCPO, - {_sSI: _cCCPRo, _smith: None}, - (_cP,), - ((CAPACITY_PROVIDER, 0),), -) - -INVALID_PARAMETER_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -SERVER_EXCEPTION: StaticSchema = (18, n0, _SE, {_s: _se}, (_mes,), ((STRING, 0),)) - -UNSUPPORTED_FEATURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _UFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -UPDATE_IN_PROGRESS_EXCEPTION: StaticSchema = ( - 18, - n0, - _UIPE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -CREATE_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _CCP, - 0, - CREATE_CAPACITY_PROVIDER_INPUT, - CREATE_CAPACITY_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - UPDATE_IN_PROGRESS_EXCEPTION, - ), -) - -DELETE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DCPI, - {_sSI: _cDCPR, _smit: None}, - (_cP, _cl), - ((STRING, 1), (STRING, 0)), -) - -DELETE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _DCPO, - {_sSI: _cDCPRo, _smith: None}, - (_cP,), - ((CAPACITY_PROVIDER, 0),), -) - -DELETE_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DCP, - 0, - DELETE_CAPACITY_PROVIDER_INPUT, - DELETE_CAPACITY_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - UPDATE_IN_PROGRESS_EXCEPTION, - ), -) - -CAPACITY_PROVIDER_FIELD: StaticSchema = ( - 14, - n0, - _CPF, - 0, - (_TAGS,), - ((-1, {_sV: _TAGS}),), -) - -CAPACITY_PROVIDER_FIELD_LIST: StaticSchema = ( - 16, - n0, - _CPFL, - 0, - (_me,), - ((CAPACITY_PROVIDER_FIELD, 0),), -) - -DESCRIBE_CAPACITY_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _DCPIe, - {_sSI: _cDCPRom, _smit: None}, - (_cPa, _cl, _incl, _mR, _nT), - ( - (STRING_LIST, 0), - (STRING, 0), - (CAPACITY_PROVIDER_FIELD_LIST, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - ), -) - -CAPACITY_PROVIDERS: StaticSchema = (16, n0, _CPap, 0, (_me,), ((CAPACITY_PROVIDER, 0),)) - -FAILURE: StaticSchema = ( - 18, - n0, - _F, - 0, - (_ar, _re, _d), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -FAILURES: StaticSchema = (16, n0, _Fa, 0, (_me,), ((FAILURE, 0),)) - -DESCRIBE_CAPACITY_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCPOe, - {_sSI: _cDCPRoma, _smith: None}, - (_cPa, _fa, _nT), - ((CAPACITY_PROVIDERS, 0), (FAILURES, 0), (STRING, 0)), -) - -DESCRIBE_CAPACITY_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _DCPe, - 0, - DESCRIBE_CAPACITY_PROVIDERS_INPUT, - DESCRIBE_CAPACITY_PROVIDERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -AUTO_SCALING_GROUP_PROVIDER_UPDATE: StaticSchema = ( - 18, - n0, - _ASGPU, - 0, - (_mS, _mTP, _mD), - ((MANAGED_SCALING, 0), (MANAGED_TERMINATION_PROTECTION, 0), (MANAGED_DRAINING, 0)), -) - -INSTANCE_LAUNCH_TEMPLATE_UPDATE: StaticSchema = ( - 18, - n0, - _ILTU, - 0, - (_eIPA, _nC, _sC, _iMTP, _lSC, _mo, _iR, _cR), - ( - (STRING, 0), - (MANAGED_INSTANCES_NETWORK_CONFIGURATION, 0), - (MANAGED_INSTANCES_STORAGE_CONFIGURATION, 0), - (BOXED_BOOLEAN, 0), - (MANAGED_INSTANCES_LOCAL_STORAGE_CONFIGURATION, 0), - (MANAGED_INSTANCES_MONITORING_OPTIONS, 0), - (INSTANCE_REQUIREMENTS_REQUEST, 0), - (CAPACITY_RESERVATION_REQUEST, 0), - ), -) - -UPDATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _UMIPC, - 0, - (_iRA, _iLT, _pT, _iO, _aRC), - ( - (STRING, 1), - (INSTANCE_LAUNCH_TEMPLATE_UPDATE, 1), - (PROPAGATE_MI_TAGS, 0), - (INFRASTRUCTURE_OPTIMIZATION, 0), - (AUTO_REPAIR_CONFIGURATION, 0), - ), -) - -UPDATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _UCPI, - {_sSI: _cUCPR, _smit: None}, - (_na, _cl, _aSGP, _mIP), - ( - (STRING, 1), - (STRING, 0), - (AUTO_SCALING_GROUP_PROVIDER_UPDATE, 0), - (UPDATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION, 0), - ), -) - -UPDATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _UCPO, - {_sSI: _cUCPRo, _smith: None}, - (_cP,), - ((CAPACITY_PROVIDER, 0),), -) - -UPDATE_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _UCP, - 0, - UPDATE_CAPACITY_PROVIDER_INPUT, - UPDATE_CAPACITY_PROVIDER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -EXECUTE_COMMAND_LOG_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ECLC, - 0, - (_cWLGN, _cWEE, _sBN, _sEE, _sKP), - ( - (STRING, 0), - (BOOLEAN, {_smi: False}), - (STRING, 0), - (BOOLEAN, {_smi: False}), - (STRING, 0), - ), -) - -EXECUTE_COMMAND_LOGGING: StaticSchema = ( - 14, - n0, - _ECL, - 0, - (_NONE, _DEFAULT, _OVERRIDE), - ((-1, {_sV: _NONE}), (-1, {_sV: _DEFAULT}), (-1, {_sV: _OVERRIDE})), -) - -EXECUTE_COMMAND_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ECC, - 0, - (_kKI, _lo, _lC), - ((STRING, 0), (EXECUTE_COMMAND_LOGGING, 0), (EXECUTE_COMMAND_LOG_CONFIGURATION, 0)), -) - -MANAGED_STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MSC, - 0, - (_kKI, _fESKKI), - ((STRING, 0), (STRING, 0)), -) - -CLUSTER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CCl, - 0, - (_eCC, _mSC), - ((EXECUTE_COMMAND_CONFIGURATION, 0), (MANAGED_STORAGE_CONFIGURATION, 0)), -) - -CAPACITY_PROVIDER_STRATEGY_ITEM_BASE: StaticSchema = (7, n0, _CPSIB, {_smi: 0}) - -CAPACITY_PROVIDER_STRATEGY_ITEM_WEIGHT: StaticSchema = (7, n0, _CPSIW, {_smi: 0}) - -CAPACITY_PROVIDER_STRATEGY_ITEM: StaticSchema = ( - 18, - n0, - _CPSI, - 0, - (_cP, _w, _b), - ( - (STRING, 1), - (CAPACITY_PROVIDER_STRATEGY_ITEM_WEIGHT, {_smi: 0}), - (CAPACITY_PROVIDER_STRATEGY_ITEM_BASE, {_smi: 0}), - ), -) - -CAPACITY_PROVIDER_STRATEGY: StaticSchema = ( - 16, - n0, - _CPSa, - 0, - (_me,), - ((CAPACITY_PROVIDER_STRATEGY_ITEM, 0),), -) - -CLUSTER_SERVICE_CONNECT_DEFAULTS_REQUEST: StaticSchema = ( - 18, - n0, - _CSCDR, - 0, - (_nam,), - ((STRING, 1),), -) - -CLUSTER_SETTING_NAME: StaticSchema = (14, n0, _CSN, 0, (_CI,), ((-1, {_sV: _cI}),)) - -CLUSTER_SETTING: StaticSchema = ( - 18, - n0, - _CS, - 0, - (_na, _va), - ((CLUSTER_SETTING_NAME, 0), (STRING, 0)), -) - -CLUSTER_SETTINGS: StaticSchema = (16, n0, _CSl, 0, (_me,), ((CLUSTER_SETTING, 0),)) - -CREATE_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _CCI, - {_sSI: _cCCR, _smit: None}, - (_cN, _ta, _set, _co, _cPa, _dCPS, _sCD), - ( - (STRING, 0), - (TAGS, 0), - (CLUSTER_SETTINGS, 0), - (CLUSTER_CONFIGURATION, 0), - (STRING_LIST, 0), - (CAPACITY_PROVIDER_STRATEGY, 0), - (CLUSTER_SERVICE_CONNECT_DEFAULTS_REQUEST, 0), - ), -) - -INTEGER: StaticSchema = (7, n0, _I, {_smi: 0}) - -KEY_VALUE_PAIR: StaticSchema = (18, n0, _KVP, 0, (_na, _va), ((STRING, 0), (STRING, 0))) - -ATTACHMENT_DETAILS: StaticSchema = (16, n0, _AD, 0, (_me,), ((KEY_VALUE_PAIR, 0),)) - -ATTACHMENT: StaticSchema = ( - 18, - n0, - _At, - 0, - (_id, _ty, _st, _de), - ((STRING, 0), (STRING, 0), (STRING, 0), (ATTACHMENT_DETAILS, 0)), -) - -ATTACHMENTS: StaticSchema = (16, n0, _Att, 0, (_me,), ((ATTACHMENT, 0),)) - -CLUSTER_SERVICE_CONNECT_DEFAULTS: StaticSchema = ( - 18, - n0, - _CSCD, - 0, - (_nam,), - ((STRING, 0),), -) - -STATISTICS: StaticSchema = (16, n0, _St, 0, (_me,), ((KEY_VALUE_PAIR, 0),)) - -CLUSTER: StaticSchema = ( - 18, - n0, - _C, - 0, - ( - _cA, - _cN, - _co, - _st, - _rCIC, - _rTC, - _pTC, - _aSC, - _sta, - _ta, - _set, - _cPa, - _dCPS, - _at, - _aSt, - _sCD, - ), - ( - (STRING, 0), - (STRING, 0), - (CLUSTER_CONFIGURATION, 0), - (STRING, 0), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (STATISTICS, 0), - (TAGS, 0), - (CLUSTER_SETTINGS, 0), - (STRING_LIST, 0), - (CAPACITY_PROVIDER_STRATEGY, 0), - (ATTACHMENTS, 0), - (STRING, 0), - (CLUSTER_SERVICE_CONNECT_DEFAULTS, 0), - ), -) - -CREATE_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _CCO, - {_sSI: _cCCRo, _smith: None}, - (_cl,), - ((CLUSTER, 0),), -) - -NAMESPACE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _NNFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -CREATE_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _CCr, - 0, - CREATE_CLUSTER_INPUT, - CREATE_CLUSTER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NAMESPACE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -CLUSTER_CONTAINS_CAPACITY_PROVIDER_EXCEPTION: StaticSchema = ( - 18, - n0, - _CCCPE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -CLUSTER_CONTAINS_CONTAINER_INSTANCES_EXCEPTION: StaticSchema = ( - 18, - n0, - _CCCIE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -CLUSTER_CONTAINS_SERVICES_EXCEPTION: StaticSchema = ( - 18, - n0, - _CCSE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -CLUSTER_CONTAINS_TASKS_EXCEPTION: StaticSchema = ( - 18, - n0, - _CCTE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -DELETE_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _DCI, - {_sSI: _cDCR, _smit: None}, - (_cl,), - ((STRING, 1),), -) - -DELETE_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _DCO, - {_sSI: _cDCRo, _smith: None}, - (_cl,), - ((CLUSTER, 0),), -) - -DELETE_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _DCe, - 0, - DELETE_CLUSTER_INPUT, - DELETE_CLUSTER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_CONTAINS_CAPACITY_PROVIDER_EXCEPTION, - CLUSTER_CONTAINS_CONTAINER_INSTANCES_EXCEPTION, - CLUSTER_CONTAINS_SERVICES_EXCEPTION, - CLUSTER_CONTAINS_TASKS_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UPDATE_IN_PROGRESS_EXCEPTION, - ), -) - -DEREGISTER_CONTAINER_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _DCII, - {_sSI: _cDCIR, _smit: None}, - (_cl, _cIo, _fo), - ((STRING, 0), (STRING, 1), (BOXED_BOOLEAN, 0)), -) - -TARGET_TYPE: StaticSchema = (14, n0, _TT, 0, (_CI_,), ((-1, {_sV: _ci}),)) - -ATTRIBUTE: StaticSchema = ( - 18, - n0, - _Attr, - 0, - (_na, _va, _tT, _tI), - ((STRING, 1), (STRING, 0), (TARGET_TYPE, 0), (STRING, 0)), -) - -ATTRIBUTES: StaticSchema = (16, n0, _Attri, 0, (_me,), ((ATTRIBUTE, 0),)) - -GPU_SHARING_MODE: StaticSchema = ( - 14, - n0, - _GSM, - 0, - (_IDLE, _NM, _DEDICATED), - ((-1, {_sV: _IDLE}), (-1, {_sV: _NM}), (-1, {_sV: _DEDICATED})), -) - -GPU_DEVICE: StaticSchema = ( - 18, - n0, - _GD, - 0, - (_gI, _sM, _tMIMB, _rMIMB, _cC), - ( - (STRING, 0), - (GPU_SHARING_MODE, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - ), -) - -GPU_DEVICES: StaticSchema = (16, n0, _GDp, 0, (_me,), ((GPU_DEVICE, 0),)) - -TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) - -INSTANCE_HEALTH_CHECK_STATE: StaticSchema = ( - 14, - n0, - _IHCS, - 0, - (_OK, _IMPAIRED, _ID, _INITIALIZING), - ( - (-1, {_sV: _OK}), - (-1, {_sV: _IMPAIRED}), - (-1, {_sV: _ID}), - (-1, {_sV: _INITIALIZING}), - ), -) - -INSTANCE_HEALTH_CHECK_TYPE: StaticSchema = ( - 14, - n0, - _IHCT, - 0, - (_CR, _AC_, _DAEMON, _AC__), - ((-1, {_sV: _CR}), (-1, {_sV: _AC_}), (-1, {_sV: _DAEMON}), (-1, {_sV: _AC__})), -) - -INSTANCE_HEALTH_CHECK_RESULT: StaticSchema = ( - 18, - n0, - _IHCR, - 0, - (_ty, _st, _sR, _lU, _lSCa), - ( - (INSTANCE_HEALTH_CHECK_TYPE, 0), - (INSTANCE_HEALTH_CHECK_STATE, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -INSTANCE_HEALTH_CHECK_RESULT_LIST: StaticSchema = ( - 16, - n0, - _IHCRL, - 0, - (_me,), - ((INSTANCE_HEALTH_CHECK_RESULT, 0),), -) - -CONTAINER_INSTANCE_HEALTH_STATUS: StaticSchema = ( - 18, - n0, - _CIHS, - 0, - (_oS, _de), - ((INSTANCE_HEALTH_CHECK_STATE, 0), (INSTANCE_HEALTH_CHECK_RESULT_LIST, 0)), -) - -DOUBLE: StaticSchema = (10, n0, _D, {_smi: 0}) - -LONG: StaticSchema = (8, n0, _Lo, {_smi: 0}) - -RESOURCE: StaticSchema = ( - 18, - n0, - _R, - 0, - (_na, _ty, _dV, _lV, _iV, _sSV), - ( - (STRING, 0), - (STRING, 0), - (DOUBLE, {_smi: 0}), - (LONG, {_smi: 0}), - (INTEGER, {_smi: 0}), - (STRING_LIST, 0), - ), -) - -RESOURCES: StaticSchema = (16, n0, _Re, 0, (_me,), ((RESOURCE, 0),)) - -VERSION_INFO: StaticSchema = ( - 18, - n0, - _VI, - 0, - (_aV, _aH, _dVo), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -CONTAINER_INSTANCE: StaticSchema = ( - 18, - n0, - _CIo, - 0, - ( - _cIA, - _eII, - _cPN, - _ve, - _vI, - _rR, - _rRe, - _st, - _sR, - _aCg, - _rTC, - _pTC, - _aUS, - _att, - _rAe, - _at, - _ta, - _hS, - _gD, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LONG, {_smi: 0}), - (VERSION_INFO, 0), - (RESOURCES, 0), - (RESOURCES, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_smi: False}), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (AGENT_UPDATE_STATUS, 0), - (ATTRIBUTES, 0), - (TIMESTAMP, 0), - (ATTACHMENTS, 0), - (TAGS, 0), - (CONTAINER_INSTANCE_HEALTH_STATUS, 0), - (GPU_DEVICES, 0), - ), -) - -DEREGISTER_CONTAINER_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _DCIO, - {_sSI: _cDCIRo, _smith: None}, - (_cIo,), - ((CONTAINER_INSTANCE, 0),), -) - -DEREGISTER_CONTAINER_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _DCIe, - 0, - DEREGISTER_CONTAINER_INSTANCE_INPUT, - DEREGISTER_CONTAINER_INSTANCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -CLUSTER_FIELD: StaticSchema = ( - 14, - n0, - _CFl, - 0, - (_ATTACHMENTS, _CONFIGURATIONS, _SETTINGS, _STATISTICS, _TAGS), - ( - (-1, {_sV: _ATTACHMENTS}), - (-1, {_sV: _CONFIGURATIONS}), - (-1, {_sV: _SETTINGS}), - (-1, {_sV: _STATISTICS}), - (-1, {_sV: _TAGS}), - ), -) - -CLUSTER_FIELD_LIST: StaticSchema = (16, n0, _CFL, 0, (_me,), ((CLUSTER_FIELD, 0),)) - -DESCRIBE_CLUSTERS_INPUT: StaticSchema = ( - 18, - n0, - _DCIes, - {_sSI: _cDCRom, _smit: None}, - (_clu, _incl), - ((STRING_LIST, 0), (CLUSTER_FIELD_LIST, 0)), -) - -CLUSTERS: StaticSchema = (16, n0, _Cl, 0, (_me,), ((CLUSTER, 0),)) - -DESCRIBE_CLUSTERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DCOe, - {_sSI: _cDCRoma, _smith: None}, - (_clu, _fa), - ((CLUSTERS, 0), (FAILURES, 0)), -) - -DESCRIBE_CLUSTERS: StaticOperationSchema = ( - 23, - n0, - _DCes, - 0, - DESCRIBE_CLUSTERS_INPUT, - DESCRIBE_CLUSTERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -EXECUTE_COMMAND_INPUT: StaticSchema = ( - 18, - n0, - _ECI, - {_sSI: _cECR, _smit: None}, - (_cl, _con, _com, _inte, _tas), - ( - (STRING, 0), - (STRING, 0), - (STRING, 1), - (BOOLEAN, {_smi: False, _sm: None}), - (STRING, 1), - ), -) - -SENSITIVE_STRING: StaticSchema = (3, n0, _SS, 4) - -SESSION: StaticSchema = ( - 18, - n0, - _Se, - 0, - (_sI, _sU, _tV), - ((STRING, 0), (STRING, 0), (SENSITIVE_STRING, 0)), -) - -EXECUTE_COMMAND_OUTPUT: StaticSchema = ( - 18, - n0, - _ECO, - {_sSI: _cECRo, _smith: None}, - (_cA, _cAo, _cNo, _inte, _ses, _tA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_smi: False}), - (SESSION, 0), - (STRING, 0), - ), -) - -TARGET_NOT_CONNECTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _TNCE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -EXECUTE_COMMAND: StaticOperationSchema = ( - 23, - n0, - _EC, - 0, - EXECUTE_COMMAND_INPUT, - EXECUTE_COMMAND_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - TARGET_NOT_CONNECTED_EXCEPTION, - ), -) - -LIST_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _LAI, - {_sSI: _cLAR, _smit: None}, - (_cl, _tT, _aNt, _aVt, _nT, _mR), - ( - (STRING, 0), - (TARGET_TYPE, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - ), -) - -LIST_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _LAO, - {_sSI: _cLARo, _smith: None}, - (_att, _nT), - ((ATTRIBUTES, 0), (STRING, 0)), -) - -LIST_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _LA, - 0, - LIST_ATTRIBUTES_INPUT, - LIST_ATTRIBUTES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -LIST_CLUSTERS_INPUT: StaticSchema = ( - 18, - n0, - _LCI, - {_sSI: _cLCR, _smit: None}, - (_nT, _mR), - ((STRING, 0), (BOXED_INTEGER, 0)), -) - -LIST_CLUSTERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCO, - {_sSI: _cLCRo, _smith: None}, - (_cAl, _nT), - ((STRING_LIST, 0), (STRING, 0)), -) - -LIST_CLUSTERS: StaticOperationSchema = ( - 23, - n0, - _LC, - 0, - LIST_CLUSTERS_INPUT, - LIST_CLUSTERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -CONTAINER_INSTANCE_STATUS: StaticSchema = ( - 14, - n0, - _CIS, - 0, - (_ACTIVE, _DRAINING, _REGISTERING, _DEREGISTERING, _RF_), - ( - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DRAINING}), - (-1, {_sV: _REGISTERING}), - (-1, {_sV: _DEREGISTERING}), - (-1, {_sV: _RF_}), - ), -) - -LIST_CONTAINER_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _LCII, - {_sSI: _cLCIR, _smit: None}, - (_cl, _fi, _nT, _mR, _st), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (CONTAINER_INSTANCE_STATUS, 0), - ), -) - -LIST_CONTAINER_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _LCIO, - {_sSI: _cLCIRo, _smith: None}, - (_cIAo, _nT), - ((STRING_LIST, 0), (STRING, 0)), -) - -LIST_CONTAINER_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _LCIi, - 0, - LIST_CONTAINER_INSTANCES_INPUT, - LIST_CONTAINER_INSTANCES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -PUT_CLUSTER_CAPACITY_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _PCCPI, - {_sSI: _cPCCPR, _smit: None}, - (_cl, _cPa, _dCPS), - ((STRING, 1), (STRING_LIST, 1), (CAPACITY_PROVIDER_STRATEGY, 1)), -) - -PUT_CLUSTER_CAPACITY_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _PCCPO, - {_sSI: _cPCCPRo, _smith: None}, - (_cl,), - ((CLUSTER, 0),), -) - -RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _RIUE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -PUT_CLUSTER_CAPACITY_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _PCCP, - 0, - PUT_CLUSTER_CAPACITY_PROVIDERS_INPUT, - PUT_CLUSTER_CAPACITY_PROVIDERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - SERVER_EXCEPTION, - UPDATE_IN_PROGRESS_EXCEPTION, - ), -) - -ATTACHMENT_STATE_CHANGE: StaticSchema = ( - 18, - n0, - _ASC, - 0, - (_aA, _st), - ((STRING, 1), (STRING, 1)), -) - -ATTACHMENT_STATE_CHANGES: StaticSchema = ( - 16, - n0, - _ASCt, - 0, - (_me,), - ((ATTACHMENT_STATE_CHANGE, 0),), -) - -SUBMIT_ATTACHMENT_STATE_CHANGES_INPUT: StaticSchema = ( - 18, - n0, - _SASCI, - {_sSI: _cSASCR, _smit: None}, - (_cl, _at), - ((STRING, 0), (ATTACHMENT_STATE_CHANGES, 1)), -) - -SUBMIT_ATTACHMENT_STATE_CHANGES_OUTPUT: StaticSchema = ( - 18, - n0, - _SASCO, - {_sSI: _cSASCRo, _smith: None}, - (_ac,), - ((STRING, 0),), -) - -SUBMIT_ATTACHMENT_STATE_CHANGES: StaticOperationSchema = ( - 23, - n0, - _SASC, - 0, - SUBMIT_ATTACHMENT_STATE_CHANGES_INPUT, - SUBMIT_ATTACHMENT_STATE_CHANGES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -TRANSPORT_PROTOCOL: StaticSchema = ( - 14, - n0, - _TP, - 0, - (_TCP, _UDP), - ((-1, {_sV: _tc}), (-1, {_sV: _u})), -) - -NETWORK_BINDING: StaticSchema = ( - 18, - n0, - _NB, - 0, - (_bIP, _cPo, _hP, _pr, _cPR, _hPR), - ( - (STRING, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (TRANSPORT_PROTOCOL, 0), - (STRING, 0), - (STRING, 0), - ), -) - -NETWORK_BINDINGS: StaticSchema = (16, n0, _NBe, 0, (_me,), ((NETWORK_BINDING, 0),)) - -SUBMIT_CONTAINER_STATE_CHANGE_INPUT: StaticSchema = ( - 18, - n0, - _SCSCI, - {_sSI: _cSCSCR, _smit: None}, - (_cl, _tas, _cNo, _rI, _st, _eC, _re, _nB), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - (NETWORK_BINDINGS, 0), - ), -) - -SUBMIT_CONTAINER_STATE_CHANGE_OUTPUT: StaticSchema = ( - 18, - n0, - _SCSCO, - {_sSI: _cSCSCRo, _smith: None}, - (_ac,), - ((STRING, 0),), -) - -SUBMIT_CONTAINER_STATE_CHANGE: StaticOperationSchema = ( - 23, - n0, - _SCSC, - 0, - SUBMIT_CONTAINER_STATE_CHANGE_INPUT, - SUBMIT_CONTAINER_STATE_CHANGE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -CONTAINER_STATE_CHANGE: StaticSchema = ( - 18, - n0, - _CSC, - 0, - (_cNo, _iD, _rI, _eC, _nB, _re, _st), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (NETWORK_BINDINGS, 0), - (STRING, 0), - (STRING, 0), - ), -) - -CONTAINER_STATE_CHANGES: StaticSchema = ( - 16, - n0, - _CSCo, - 0, - (_me,), - ((CONTAINER_STATE_CHANGE, 0),), -) - -MANAGED_AGENT_NAME: StaticSchema = (14, n0, _MAN, 0, (_ECA,), ((-1, {_sV: _ECA}),)) - -MANAGED_AGENT_STATE_CHANGE: StaticSchema = ( - 18, - n0, - _MASC, - 0, - (_cNo, _mAN, _st, _re), - ((STRING, 1), (MANAGED_AGENT_NAME, 1), (STRING, 1), (STRING, 0)), -) - -MANAGED_AGENT_STATE_CHANGES: StaticSchema = ( - 16, - n0, - _MASCa, - 0, - (_me,), - ((MANAGED_AGENT_STATE_CHANGE, 0),), -) - -SUBMIT_TASK_STATE_CHANGE_INPUT: StaticSchema = ( - 18, - n0, - _STSCI, - {_sSI: _cSTSCR, _smit: None}, - (_cl, _tas, _st, _re, _cont, _at, _mA, _pSA, _pSAu, _eSA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CONTAINER_STATE_CHANGES, 0), - (ATTACHMENT_STATE_CHANGES, 0), - (MANAGED_AGENT_STATE_CHANGES, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -SUBMIT_TASK_STATE_CHANGE_OUTPUT: StaticSchema = ( - 18, - n0, - _STSCO, - {_sSI: _cSTSCRo, _smith: None}, - (_ac,), - ((STRING, 0),), -) - -SUBMIT_TASK_STATE_CHANGE: StaticOperationSchema = ( - 23, - n0, - _STSC, - 0, - SUBMIT_TASK_STATE_CHANGE_INPUT, - SUBMIT_TASK_STATE_CHANGE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -UPDATE_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _UCI, - {_sSI: _cUCR, _smit: None}, - (_cl, _set, _co, _sCD), - ( - (STRING, 1), - (CLUSTER_SETTINGS, 0), - (CLUSTER_CONFIGURATION, 0), - (CLUSTER_SERVICE_CONNECT_DEFAULTS_REQUEST, 0), - ), -) - -UPDATE_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _UCO, - {_sSI: _cUCRo, _smith: None}, - (_cl,), - ((CLUSTER, 0),), -) - -UPDATE_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _UCp, - 0, - UPDATE_CLUSTER_INPUT, - UPDATE_CLUSTER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NAMESPACE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -UPDATE_CLUSTER_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _UCSI, - {_sSI: _cUCSR, _smit: None}, - (_cl, _set), - ((STRING, 1), (CLUSTER_SETTINGS, 1)), -) - -UPDATE_CLUSTER_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _UCSO, - {_sSI: _cUCSRo, _smith: None}, - (_cl,), - ((CLUSTER, 0),), -) - -UPDATE_CLUSTER_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _UCS, - 0, - UPDATE_CLUSTER_SETTINGS_INPUT, - UPDATE_CLUSTER_SETTINGS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UPDATE_IN_PROGRESS_EXCEPTION, - ), -) - -DELETE_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _DAI, - {_sSI: _cDAR, _smit: None}, - (_cl, _att), - ((STRING, 0), (ATTRIBUTES, 1)), -) - -DELETE_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DAO, - {_sSI: _cDARo, _smith: None}, - (_att,), - ((ATTRIBUTES, 0),), -) - -TARGET_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _TNFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -DELETE_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _DA, - 0, - DELETE_ATTRIBUTES_INPUT, - DELETE_ATTRIBUTES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - TARGET_NOT_FOUND_EXCEPTION, - ), -) - -CONTAINER_INSTANCE_FIELD: StaticSchema = ( - 14, - n0, - _CIF, - 0, - (_TAGS, _CIH), - ((-1, {_sV: _TAGS}), (-1, {_sV: _CIH})), -) - -CONTAINER_INSTANCE_FIELD_LIST: StaticSchema = ( - 16, - n0, - _CIFL, - 0, - (_me,), - ((CONTAINER_INSTANCE_FIELD, 0),), -) - -DESCRIBE_CONTAINER_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DCIIe, - {_sSI: _cDCIRom, _smit: None}, - (_cl, _cIon, _incl), - ((STRING, 0), (STRING_LIST, 1), (CONTAINER_INSTANCE_FIELD_LIST, 0)), -) - -CONTAINER_INSTANCES: StaticSchema = ( - 16, - n0, - _CIon, - 0, - (_me,), - ((CONTAINER_INSTANCE, 0),), -) - -DESCRIBE_CONTAINER_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DCIOe, - {_sSI: _cDCIRoma, _smith: None}, - (_cIon, _fa), - ((CONTAINER_INSTANCES, 0), (FAILURES, 0)), -) - -DESCRIBE_CONTAINER_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DCIesc, - 0, - DESCRIBE_CONTAINER_INSTANCES_INPUT, - DESCRIBE_CONTAINER_INSTANCES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -DESIRED_STATUS: StaticSchema = ( - 14, - n0, - _DS, - 0, - (_RUNNING, _PENDING, _STOPPED), - ((-1, {_sV: _RUNNING}), (-1, {_sV: _PENDING}), (-1, {_sV: _STOPPED})), -) - -LAUNCH_TYPE: StaticSchema = ( - 14, - n0, - _LT, - 0, - (_EC_, _FARGATE, _EXTERNAL, _MI), - ( - (-1, {_sV: _EC_}), - (-1, {_sV: _FARGATE}), - (-1, {_sV: _EXTERNAL}), - (-1, {_sV: _MI}), - ), -) - -LIST_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _LTI, - {_sSI: _cLTR, _smit: None}, - (_cl, _cIo, _fam, _nT, _mR, _sB, _sNe, _dS, _lT, _dN), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - (STRING, 0), - (DESIRED_STATUS, 0), - (LAUNCH_TYPE, 0), - (STRING, 0), - ), -) - -LIST_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTO, - {_sSI: _cLTRo, _smith: None}, - (_tAa, _nT), - ((STRING_LIST, 0), (STRING, 0)), -) - -SERVICE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _SNFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -LIST_TASKS: StaticOperationSchema = ( - 23, - n0, - _LTi, - 0, - LIST_TASKS_INPUT, - LIST_TASKS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - ), -) - -ATTRIBUTE_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ALEE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -PUT_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _PAI, - {_sSI: _cPAR, _smit: None}, - (_cl, _att), - ((STRING, 0), (ATTRIBUTES, 1)), -) - -PUT_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _PAO, - {_sSI: _cPARo, _smith: None}, - (_att,), - ((ATTRIBUTES, 0),), -) - -PUT_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _PA, - 0, - PUT_ATTRIBUTES_INPUT, - PUT_ATTRIBUTES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - ATTRIBUTE_LIMIT_EXCEEDED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - TARGET_NOT_FOUND_EXCEPTION, - ), -) - -PLATFORM_DEVICE_TYPE: StaticSchema = ( - 14, - n0, - _PDT, - 0, - (_GPU, _ND), - ((-1, {_sV: _GPU}), (-1, {_sV: _ND})), -) - -PLATFORM_DEVICE: StaticSchema = ( - 18, - n0, - _PD, - 0, - (_id, _ty), - ((STRING, 1), (PLATFORM_DEVICE_TYPE, 1)), -) - -PLATFORM_DEVICES: StaticSchema = (16, n0, _PDl, 0, (_me,), ((PLATFORM_DEVICE, 0),)) - -REGISTER_CONTAINER_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _RCII, - {_sSI: _cRCIR, _smit: None}, - (_cl, _iID, _iIDS, _tR, _vI, _cIA, _att, _pD, _ta), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (RESOURCES, 0), - (VERSION_INFO, 0), - (STRING, 0), - (ATTRIBUTES, 0), - (PLATFORM_DEVICES, 0), - (TAGS, 0), - ), -) - -REGISTER_CONTAINER_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _RCIO, - {_sSI: _cRCIRo, _smith: None}, - (_cIo,), - ((CONTAINER_INSTANCE, 0),), -) - -REGISTER_CONTAINER_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _RCI, - 0, - REGISTER_CONTAINER_INSTANCE_INPUT, - REGISTER_CONTAINER_INSTANCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -MISSING_VERSION_EXCEPTION: StaticSchema = ( - 18, - n0, - _MVE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -NO_UPDATE_AVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _NUAE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -UPDATE_CONTAINER_AGENT_INPUT: StaticSchema = ( - 18, - n0, - _UCAI, - {_sSI: _cUCAR, _smit: None}, - (_cl, _cIo), - ((STRING, 0), (STRING, 1)), -) - -UPDATE_CONTAINER_AGENT_OUTPUT: StaticSchema = ( - 18, - n0, - _UCAO, - {_sSI: _cUCARo, _smith: None}, - (_cIo,), - ((CONTAINER_INSTANCE, 0),), -) - -UPDATE_CONTAINER_AGENT: StaticOperationSchema = ( - 23, - n0, - _UCA, - 0, - UPDATE_CONTAINER_AGENT_INPUT, - UPDATE_CONTAINER_AGENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - MISSING_VERSION_EXCEPTION, - NO_UPDATE_AVAILABLE_EXCEPTION, - SERVER_EXCEPTION, - UPDATE_IN_PROGRESS_EXCEPTION, - ), -) - -UPDATE_CONTAINER_INSTANCES_STATE_INPUT: StaticSchema = ( - 18, - n0, - _UCISI, - {_sSI: _cUCISR, _smit: None}, - (_cl, _cIon, _st), - ((STRING, 0), (STRING_LIST, 1), (CONTAINER_INSTANCE_STATUS, 1)), -) - -UPDATE_CONTAINER_INSTANCES_STATE_OUTPUT: StaticSchema = ( - 18, - n0, - _UCISO, - {_sSI: _cUCISRo, _smith: None}, - (_cIon, _fa), - ((CONTAINER_INSTANCES, 0), (FAILURES, 0)), -) - -UPDATE_CONTAINER_INSTANCES_STATE: StaticOperationSchema = ( - 23, - n0, - _UCIS, - 0, - UPDATE_CONTAINER_INSTANCES_STATE_INPUT, - UPDATE_CONTAINER_INSTANCES_STATE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -DEPLOYMENT_LIFECYCLE_HOOK_ACTION: StaticSchema = ( - 14, - n0, - _DLHA, - 0, - (_ROLLBACK, _CONTINUE), - ((-1, {_sV: _ROLLBACK}), (-1, {_sV: _CONTINUE})), -) - -CONTINUE_SERVICE_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _CSDI, - {_sSI: _cCSDR, _smit: None}, - (_sDA, _hI, _act), - ((STRING, 1), (STRING, 1), (DEPLOYMENT_LIFECYCLE_HOOK_ACTION, 0)), -) - -CONTINUE_SERVICE_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CSDO, - {_sSI: _cCSDRo, _smith: None}, - (_sDA,), - ((STRING, 0),), -) - -SERVICE_DEPLOYMENT_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _SDNFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -CONTINUE_SERVICE_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _CSD, - 0, - CONTINUE_SERVICE_DEPLOYMENT_INPUT, - CONTINUE_SERVICE_DEPLOYMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_DEPLOYMENT_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DESCRIBE_DAEMON_DEPLOYMENTS_INPUT: StaticSchema = ( - 18, - n0, - _DDDI, - {_sSI: _cDDDR, _smit: None}, - (_dDA,), - ((STRING_LIST, 1),), -) - -DAEMON_DEPLOYMENT_ROLLBACK_MONITORS_STATUS: StaticSchema = ( - 14, - n0, - _DDRMS, - 0, - (_TRIGGERED, _MONITORING, _MC, _DISABLED), - ( - (-1, {_sV: _TRIGGERED}), - (-1, {_sV: _MONITORING}), - (-1, {_sV: _MC}), - (-1, {_sV: _DISABLED}), - ), -) - -DAEMON_DEPLOYMENT_ALARMS: StaticSchema = ( - 18, - n0, - _DDA, - 0, - (_st, _aNl, _tAN), - ( - (DAEMON_DEPLOYMENT_ROLLBACK_MONITORS_STATUS, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - ), -) - -DAEMON_CIRCUIT_BREAKER: StaticSchema = ( - 18, - n0, - _DCB, - 0, - (_fC, _st, _th), - ( - (INTEGER, {_smi: 0}), - (DAEMON_DEPLOYMENT_ROLLBACK_MONITORS_STATUS, 0), - (INTEGER, {_smi: 0}), - ), -) - -DAEMON_ALARM_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DAC, - 0, - (_aNl, _en), - ((STRING_LIST, 0), (BOOLEAN, {_smi: False})), -) - -DAEMON_DRAIN_PERCENT: StaticSchema = (10, n0, _DDP, 0) - -DAEMON_DEPLOYMENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DDC, - 0, - (_dP, _al, _bTIM), - ((DAEMON_DRAIN_PERCENT, 0), (DAEMON_ALARM_CONFIGURATION, 0), (INTEGER, {_smi: 0})), -) - -DAEMON_ROLLBACK: StaticSchema = ( - 18, - n0, - _DR, - 0, - (_re, _sA, _rTDRA, _rCP), - ((STRING, 0), (TIMESTAMP, 0), (STRING, 0), (STRING_LIST, 0)), -) - -DAEMON_DEPLOYMENT_CAPACITY_PROVIDER: StaticSchema = ( - 18, - n0, - _DDCP, - 0, - (_ar, _rIC, _wDIC, _dIC), - ((STRING, 0), (BOXED_INTEGER, 0), (BOXED_INTEGER, 0), (BOXED_INTEGER, 0)), -) - -DAEMON_DEPLOYMENT_CAPACITY_PROVIDER_LIST: StaticSchema = ( - 16, - n0, - _DDCPL, - 0, - (_me,), - ((DAEMON_DEPLOYMENT_CAPACITY_PROVIDER, 0),), -) - -DAEMON_DEPLOYMENT_REVISION_DETAIL: StaticSchema = ( - 18, - n0, - _DDRD, - 0, - (_ar, _cPa, _tRIC, _tWDIC, _tDIC), - ( - (STRING, 0), - (DAEMON_DEPLOYMENT_CAPACITY_PROVIDER_LIST, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - ), -) - -DAEMON_DEPLOYMENT_REVISION_DETAIL_LIST: StaticSchema = ( - 16, - n0, - _DDRDL, - 0, - (_me,), - ((DAEMON_DEPLOYMENT_REVISION_DETAIL, 0),), -) - -DAEMON_DEPLOYMENT_STATUS: StaticSchema = ( - 14, - n0, - _DDS, - 0, - (_PENDING, _SUCCESSFUL, _STOPPED, _SR, _IP, _RIP, _RS, _RF__), - ( - (-1, {_sV: _PENDING}), - (-1, {_sV: _SUCCESSFUL}), - (-1, {_sV: _STOPPED}), - (-1, {_sV: _SR}), - (-1, {_sV: _IP}), - (-1, {_sV: _RIP}), - (-1, {_sV: _RS}), - (-1, {_sV: _RF__}), - ), -) - -DAEMON_DEPLOYMENT: StaticSchema = ( - 18, - n0, - _DD, - 0, - (_dDAa, _cA, _st, _sR, _tDR, _sDR, _cB, _al, _ro, _dC, _cAr, _sA, _sAt, _fA), - ( - (STRING, 0), - (STRING, 0), - (DAEMON_DEPLOYMENT_STATUS, 0), - (STRING, 0), - (DAEMON_DEPLOYMENT_REVISION_DETAIL, 0), - (DAEMON_DEPLOYMENT_REVISION_DETAIL_LIST, 0), - (DAEMON_CIRCUIT_BREAKER, 0), - (DAEMON_DEPLOYMENT_ALARMS, 0), - (DAEMON_ROLLBACK, 0), - (DAEMON_DEPLOYMENT_CONFIGURATION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -DAEMON_DEPLOYMENT_LIST: StaticSchema = ( - 16, - n0, - _DDL, - 0, - (_me,), - ((DAEMON_DEPLOYMENT, 0),), -) - -DESCRIBE_DAEMON_DEPLOYMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDDO, - {_sSI: _cDDDRo, _smith: None}, - (_fa, _dD), - ((FAILURES, 0), (DAEMON_DEPLOYMENT_LIST, 0)), -) - -DESCRIBE_DAEMON_DEPLOYMENTS: StaticOperationSchema = ( - 23, - n0, - _DDD, - 0, - DESCRIBE_DAEMON_DEPLOYMENTS_INPUT, - DESCRIBE_DAEMON_DEPLOYMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DAEMON_PROPAGATE_TAGS: StaticSchema = ( - 14, - n0, - _DPT, - 0, - (_DAEMON, _NONE), - ((-1, {_sV: _DAEMON}), (-1, {_sV: _NONE})), -) - -CREATE_DAEMON_INPUT: StaticSchema = ( - 18, - n0, - _CDI, - {_sSI: _cCDR, _smit: None}, - (_dN, _cA, _dTDA, _cPAa, _dC, _ta, _pT, _eECSMT, _eEC, _cT, _cr), - ( - (STRING, 1), - (STRING, 0), - (STRING, 1), - (STRING_LIST, 1), - (DAEMON_DEPLOYMENT_CONFIGURATION, 0), - (TAGS, 0), - (DAEMON_PROPAGATE_TAGS, 0), - (BOOLEAN, {_smi: False}), - (BOOLEAN, {_smi: False}), - (STRING, 0), - (BOXED_BOOLEAN, 0), - ), -) - -DAEMON_STATUS: StaticSchema = ( - 14, - n0, - _DSa, - 0, - (_ACTIVE, _DIP), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DIP})), -) - -CREATE_DAEMON_OUTPUT: StaticSchema = ( - 18, - n0, - _CDO, - {_sSI: _cCDRo, _smith: None}, - (_dA, _st, _cAr, _dAe), - ((STRING, 0), (DAEMON_STATUS, 0), (TIMESTAMP, 0), (STRING, 0)), -) - -PLATFORM_UNKNOWN_EXCEPTION: StaticSchema = ( - 18, - n0, - _PUE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -CREATE_DAEMON: StaticOperationSchema = ( - 23, - n0, - _CD, - 0, - CREATE_DAEMON_INPUT, - CREATE_DAEMON_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - PLATFORM_UNKNOWN_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DAEMON_NOT_ACTIVE_EXCEPTION: StaticSchema = ( - 18, - n0, - _DNAE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -DAEMON_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _DNFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -DELETE_DAEMON_INPUT: StaticSchema = ( - 18, - n0, - _DDI, - {_sSI: _cDDR, _smit: None}, - (_dA,), - ((STRING, 1),), -) - -DELETE_DAEMON_OUTPUT: StaticSchema = ( - 18, - n0, - _DDO, - {_sSI: _cDDRo, _smith: None}, - (_dA, _st, _cAr, _uA, _dAe), - ((STRING, 0), (DAEMON_STATUS, 0), (TIMESTAMP, 0), (TIMESTAMP, 0), (STRING, 0)), -) - -DELETE_DAEMON: StaticOperationSchema = ( - 23, - n0, - _DDe, - 0, - DELETE_DAEMON_INPUT, - DELETE_DAEMON_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - DAEMON_NOT_ACTIVE_EXCEPTION, - DAEMON_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DESCRIBE_DAEMON_INPUT: StaticSchema = ( - 18, - n0, - _DDIe, - {_sSI: _cDDRom, _smit: None}, - (_dA,), - ((STRING, 1),), -) - -DAEMON_CAPACITY_PROVIDER: StaticSchema = ( - 18, - n0, - _DCPa, - 0, - (_ar, _rC, _wDC), - ((STRING, 0), (INTEGER, {_smi: 0}), (INTEGER, {_smi: 0})), -) - -DAEMON_CAPACITY_PROVIDER_LIST: StaticSchema = ( - 16, - n0, - _DCPL, - 0, - (_me,), - ((DAEMON_CAPACITY_PROVIDER, 0),), -) - -DAEMON_REVISION_DETAIL: StaticSchema = ( - 18, - n0, - _DRD, - 0, - (_ar, _cPa, _tRC, _tWDC), - ( - (STRING, 0), - (DAEMON_CAPACITY_PROVIDER_LIST, 0), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - ), -) - -DAEMON_REVISION_DETAIL_LIST: StaticSchema = ( - 16, - n0, - _DRDL, - 0, - (_me,), - ((DAEMON_REVISION_DETAIL, 0),), -) - -DAEMON_DETAIL: StaticSchema = ( - 18, - n0, - _DDa, - 0, - (_dA, _cA, _st, _cRu, _dAe, _cAr, _uA), - ( - (STRING, 0), - (STRING, 0), - (DAEMON_STATUS, 0), - (DAEMON_REVISION_DETAIL_LIST, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -DESCRIBE_DAEMON_OUTPUT: StaticSchema = ( - 18, - n0, - _DDOe, - {_sSI: _cDDRoma, _smith: None}, - (_da,), - ((DAEMON_DETAIL, 0),), -) - -DESCRIBE_DAEMON: StaticOperationSchema = ( - 23, - n0, - _DDes, - 0, - DESCRIBE_DAEMON_INPUT, - DESCRIBE_DAEMON_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - DAEMON_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -CREATED_AT: StaticSchema = ( - 18, - n0, - _CA, - 0, - (_be, _af), - ((TIMESTAMP, 0), (TIMESTAMP, 0)), -) - -DAEMON_DEPLOYMENT_STATUS_LIST: StaticSchema = ( - 16, - n0, - _DDSL, - 0, - (_me,), - ((DAEMON_DEPLOYMENT_STATUS, 0),), -) - -LIST_DAEMON_DEPLOYMENTS_INPUT: StaticSchema = ( - 18, - n0, - _LDDI, - {_sSI: _cLDDR, _smit: None}, - (_dA, _st, _cAr, _mR, _nT), - ( - (STRING, 1), - (DAEMON_DEPLOYMENT_STATUS_LIST, 0), - (CREATED_AT, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - ), -) - -DAEMON_DEPLOYMENT_SUMMARY: StaticSchema = ( - 18, - n0, - _DDSa, - 0, - (_dDAa, _dA, _cA, _st, _sR, _tDRA, _cAr, _sA, _sAt, _fA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DAEMON_DEPLOYMENT_STATUS, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -DAEMON_DEPLOYMENT_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _DDSLa, - 0, - (_me,), - ((DAEMON_DEPLOYMENT_SUMMARY, 0),), -) - -LIST_DAEMON_DEPLOYMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDDO, - {_sSI: _cLDDRo, _smith: None}, - (_nT, _dD), - ((STRING, 0), (DAEMON_DEPLOYMENT_SUMMARY_LIST, 0)), -) - -LIST_DAEMON_DEPLOYMENTS: StaticOperationSchema = ( - 23, - n0, - _LDD, - 0, - LIST_DAEMON_DEPLOYMENTS_INPUT, - LIST_DAEMON_DEPLOYMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -LIST_DAEMONS_INPUT: StaticSchema = ( - 18, - n0, - _LDI, - {_sSI: _cLDR, _smit: None}, - (_cA, _cPAa, _mR, _nT), - ((STRING, 0), (STRING_LIST, 0), (BOXED_INTEGER, 0), (STRING, 0)), -) - -DAEMON_SUMMARY: StaticSchema = ( - 18, - n0, - _DSae, - 0, - (_dA, _st, _cAr, _uA), - ((STRING, 0), (DAEMON_STATUS, 0), (TIMESTAMP, 0), (TIMESTAMP, 0)), -) - -DAEMON_SUMMARIES_LIST: StaticSchema = (16, n0, _DSL, 0, (_me,), ((DAEMON_SUMMARY, 0),)) - -LIST_DAEMONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDO, - {_sSI: _cLDRo, _smith: None}, - (_dSL, _nT), - ((DAEMON_SUMMARIES_LIST, 0), (STRING, 0)), -) - -LIST_DAEMONS: StaticOperationSchema = ( - 23, - n0, - _LD, - 0, - LIST_DAEMONS_INPUT, - LIST_DAEMONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -UPDATE_DAEMON_INPUT: StaticSchema = ( - 18, - n0, - _UDI, - {_sSI: _cUDR, _smit: None}, - (_dA, _dTDA, _cPAa, _dC, _pT, _eECSMT, _eEC, _cr), - ( - (STRING, 1), - (STRING, 1), - (STRING_LIST, 1), - (DAEMON_DEPLOYMENT_CONFIGURATION, 0), - (DAEMON_PROPAGATE_TAGS, 0), - (BOOLEAN, {_smi: False}), - (BOOLEAN, {_smi: False}), - (BOXED_BOOLEAN, 0), - ), -) - -UPDATE_DAEMON_OUTPUT: StaticSchema = ( - 18, - n0, - _UDO, - {_sSI: _cUDRo, _smith: None}, - (_dA, _st, _cAr, _uA, _dAe), - ((STRING, 0), (DAEMON_STATUS, 0), (TIMESTAMP, 0), (TIMESTAMP, 0), (STRING, 0)), -) - -UPDATE_DAEMON: StaticOperationSchema = ( - 23, - n0, - _UD, - 0, - UPDATE_DAEMON_INPUT, - UPDATE_DAEMON_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - DAEMON_NOT_ACTIVE_EXCEPTION, - DAEMON_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - PLATFORM_UNKNOWN_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DESCRIBE_DAEMON_REVISIONS_INPUT: StaticSchema = ( - 18, - n0, - _DDRI, - {_sSI: _cDDRR, _smit: None}, - (_dRA,), - ((STRING_LIST, 1),), -) - -DAEMON_CONTAINER_IMAGE: StaticSchema = ( - 18, - n0, - _DCIa, - 0, - (_cNo, _iD, _im), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -DAEMON_CONTAINER_IMAGES: StaticSchema = ( - 16, - n0, - _DCIae, - 0, - (_me,), - ((DAEMON_CONTAINER_IMAGE, 0),), -) - -DAEMON_REVISION: StaticSchema = ( - 18, - n0, - _DRa, - 0, - (_dRAa, _cA, _dA, _dTDA, _cAr, _cIont, _pT, _eECSMT, _eEC, _cr), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (DAEMON_CONTAINER_IMAGES, 0), - (DAEMON_PROPAGATE_TAGS, 0), - (BOXED_BOOLEAN, 0), - (BOXED_BOOLEAN, 0), - (BOXED_BOOLEAN, 0), - ), -) - -DAEMON_REVISIONS: StaticSchema = (16, n0, _DRae, 0, (_me,), ((DAEMON_REVISION, 0),)) - -DESCRIBE_DAEMON_REVISIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDRO, - {_sSI: _cDDRRo, _smith: None}, - (_dR, _fa), - ((DAEMON_REVISIONS, 0), (FAILURES, 0)), -) - -DESCRIBE_DAEMON_REVISIONS: StaticOperationSchema = ( - 23, - n0, - _DDR, - 0, - DESCRIBE_DAEMON_REVISIONS_INPUT, - DESCRIBE_DAEMON_REVISIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DELETE_DAEMON_TASK_DEFINITION_INPUT: StaticSchema = ( - 18, - n0, - _DDTDI, - {_sSI: _cDDTDR, _smit: None}, - (_dTD,), - ((STRING, 1),), -) - -DELETE_DAEMON_TASK_DEFINITION_OUTPUT: StaticSchema = ( - 18, - n0, - _DDTDO, - {_sSI: _cDDTDRo, _smith: None}, - (_dTDA,), - ((STRING, 0),), -) - -DELETE_DAEMON_TASK_DEFINITION: StaticOperationSchema = ( - 23, - n0, - _DDTD, - 0, - DELETE_DAEMON_TASK_DEFINITION_INPUT, - DELETE_DAEMON_TASK_DEFINITION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -DESCRIBE_DAEMON_TASK_DEFINITION_INPUT: StaticSchema = ( - 18, - n0, - _DDTDIe, - {_sSI: _cDDTDRom, _smit: None}, - (_dTD,), - ((STRING, 1),), -) - -CONTAINER_CONDITION: StaticSchema = ( - 14, - n0, - _CCo, - 0, - (_START, _COMPLETE, _SUCCESS, _HEALTHY), - ( - (-1, {_sV: _START}), - (-1, {_sV: _COMPLETE}), - (-1, {_sV: _SUCCESS}), - (-1, {_sV: _HEALTHY}), - ), -) - -CONTAINER_DEPENDENCY: StaticSchema = ( - 18, - n0, - _CDo, - 0, - (_cNo, _cond), - ((STRING, 1), (CONTAINER_CONDITION, 1)), -) - -CONTAINER_DEPENDENCIES: StaticSchema = ( - 16, - n0, - _CDon, - 0, - (_me,), - ((CONTAINER_DEPENDENCY, 0),), -) - -ENVIRONMENT_VARIABLES: StaticSchema = (16, n0, _EV, 4, (_me,), ((KEY_VALUE_PAIR, 0),)) - -ENVIRONMENT_FILE_TYPE: StaticSchema = (14, n0, _EFT, 0, (_S_,), ((-1, {_sV: _s_}),)) - -ENVIRONMENT_FILE: StaticSchema = ( - 18, - n0, - _EF, - 0, - (_va, _ty), - ((STRING, 1), (ENVIRONMENT_FILE_TYPE, 1)), -) - -ENVIRONMENT_FILES: StaticSchema = (16, n0, _EFn, 0, (_me,), ((ENVIRONMENT_FILE, 0),)) - -FIRELENS_CONFIGURATION_OPTIONS_MAP: StaticSchema = ( - 17, - n0, - _FCOM, - 0, - (_ke, _va), - ((STRING, 0), (STRING, 0)), -) - -FIRELENS_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _FCT, - 0, - (_FLUENTD, _FLUENTBIT), - ((-1, {_sV: _fl}), (-1, {_sV: _flu})), -) - -FIRELENS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FC, - 0, - (_ty, _o), - ((FIRELENS_CONFIGURATION_TYPE, 1), (FIRELENS_CONFIGURATION_OPTIONS_MAP, 0)), -) - -HEALTH_CHECK: StaticSchema = ( - 18, - n0, - _HC, - 0, - (_com, _inter, _ti, _ret, _sP), - ( - (STRING_LIST, 1), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - ), -) - -KERNEL_CAPABILITIES: StaticSchema = ( - 18, - n0, - _KC, - 0, - (_ad, _dr), - ((STRING_LIST, 0), (STRING_LIST, 0)), -) - -DEVICE_CGROUP_PERMISSION: StaticSchema = ( - 14, - n0, - _DCPev, - 0, - (_READ, _WRITE, _MKNOD), - ((-1, {_sV: _rea}), (-1, {_sV: _wr}), (-1, {_sV: _mk})), -) - -DEVICE_CGROUP_PERMISSIONS: StaticSchema = ( - 16, - n0, - _DCPevi, - 0, - (_me,), - ((DEVICE_CGROUP_PERMISSION, 0),), -) - -DEVICE: StaticSchema = ( - 18, - n0, - _De, - 0, - (_hPo, _cPon, _pe), - ((STRING, 1), (STRING, 0), (DEVICE_CGROUP_PERMISSIONS, 0)), -) - -DEVICES_LIST: StaticSchema = (16, n0, _DL, 0, (_me,), ((DEVICE, 0),)) - -TMPFS: StaticSchema = ( - 18, - n0, - _Tm, - 0, - (_cPon, _si, _mO), - ((STRING, 1), (INTEGER, {_smi: 0, _sm: None}), (STRING_LIST, 0)), -) - -TMPFS_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TMPFS, 0),)) - -DAEMON_LINUX_PARAMETERS: StaticSchema = ( - 18, - n0, - _DLP, - 0, - (_ca, _dev, _iPE, _tm), - ((KERNEL_CAPABILITIES, 0), (DEVICES_LIST, 0), (BOXED_BOOLEAN, 0), (TMPFS_LIST, 0)), -) - -LOG_DRIVER: StaticSchema = ( - 14, - n0, - _LDo, - 0, - (_JF, _SYSLOG, _JOURNALD, _GELF, _FLUENTD, _AWSLOGS, _SPLUNK, _AWSFIRELENS), - ( - (-1, {_sV: _jf}), - (-1, {_sV: _sy}), - (-1, {_sV: _j}), - (-1, {_sV: _ge}), - (-1, {_sV: _fl}), - (-1, {_sV: _aw}), - (-1, {_sV: _sp}), - (-1, {_sV: _awsf}), - ), -) - -LOG_CONFIGURATION_OPTIONS_MAP: StaticSchema = ( - 17, - n0, - _LCOM, - 0, - (_ke, _va), - ((STRING, 0), (STRING, 0)), -) - -SECRET: StaticSchema = (18, n0, _Sec, 0, (_na, _vF), ((STRING, 1), (STRING, 1))) - -SECRET_LIST: StaticSchema = (16, n0, _SLe, 0, (_me,), ((SECRET, 0),)) - -LOG_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LCo, - 0, - (_lD, _o, _sO), - ((LOG_DRIVER, 1), (LOG_CONFIGURATION_OPTIONS_MAP, 0), (SECRET_LIST, 0)), -) - -MOUNT_POINT: StaticSchema = ( - 18, - n0, - _MP, - 0, - (_sVo, _cPon, _rO), - ((STRING, 0), (STRING, 0), (BOXED_BOOLEAN, 0)), -) - -MOUNT_POINT_LIST: StaticSchema = (16, n0, _MPL, 0, (_me,), ((MOUNT_POINT, 0),)) - -REPOSITORY_CREDENTIALS: StaticSchema = (18, n0, _RC, 4, (_cPr,), ((STRING, 1),)) - -INTEGER_LIST: StaticSchema = (16, n0, _IL, 0, (_me,), ((BOXED_INTEGER, 0),)) - -CONTAINER_RESTART_POLICY: StaticSchema = ( - 18, - n0, - _CRPo, - 0, - (_ena, _iEC, _rAP), - ((BOXED_BOOLEAN, 1), (INTEGER_LIST, 0), (BOXED_INTEGER, 0)), -) - -SYSTEM_CONTROL: StaticSchema = (18, n0, _SC, 0, (_nam, _va), ((STRING, 0), (STRING, 0))) - -SYSTEM_CONTROLS: StaticSchema = (16, n0, _SCy, 0, (_me,), ((SYSTEM_CONTROL, 0),)) - -ULIMIT_NAME: StaticSchema = ( - 14, - n0, - _UN, - 0, - ( - _CORE, - _CPU, - _DATA, - _FSIZE, - _LOCKS, - _MEMLOCK, - _MSGQUEUE, - _NICE, - _NOFILE, - _NPROC, - _RSS, - _RTPRIO, - _RTTIME, - _SIGPENDING, - _STACK, - ), - ( - (-1, {_sV: _cor}), - (-1, {_sV: _cp}), - (-1, {_sV: _dat}), - (-1, {_sV: _fs}), - (-1, {_sV: _loc}), - (-1, {_sV: _mem}), - (-1, {_sV: _ms}), - (-1, {_sV: _ni}), - (-1, {_sV: _no}), - (-1, {_sV: _np}), - (-1, {_sV: _rs}), - (-1, {_sV: _rt}), - (-1, {_sV: _rtt}), - (-1, {_sV: _sig}), - (-1, {_sV: _stac}), - ), -) - -ULIMIT: StaticSchema = ( - 18, - n0, - _U, - 0, - (_na, _sL, _hL), - ( - (ULIMIT_NAME, 1), - (INTEGER, {_smi: 0, _sm: None}), - (INTEGER, {_smi: 0, _sm: None}), - ), -) - -ULIMIT_LIST: StaticSchema = (16, n0, _UL, 0, (_me,), ((ULIMIT, 0),)) - -DAEMON_CONTAINER_DEFINITION: StaticSchema = ( - 18, - n0, - _DCD, - 0, - ( - _na, - _im, - _memo, - _mRe, - _rCe, - _hC, - _cp, - _es, - _eP, - _com, - _wD, - _eF, - _env, - _sec, - _rRF, - _mP, - _lC, - _fCi, - _pri, - _us, - _ul, - _lP, - _dO, - _sT, - _sTt, - _sCy, - _inte, - _pTs, - _rPe, - ), - ( - (STRING, 0), - (STRING, 1), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (REPOSITORY_CREDENTIALS, 0), - (HEALTH_CHECK, 0), - (INTEGER, {_smi: 0}), - (BOXED_BOOLEAN, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - (STRING, 0), - (ENVIRONMENT_FILES, 0), - (ENVIRONMENT_VARIABLES, 0), - (SECRET_LIST, 0), - (BOXED_BOOLEAN, 0), - (MOUNT_POINT_LIST, 0), - (LOG_CONFIGURATION, 0), - (FIRELENS_CONFIGURATION, 0), - (BOXED_BOOLEAN, 0), - (STRING, 0), - (ULIMIT_LIST, 0), - (DAEMON_LINUX_PARAMETERS, 0), - (CONTAINER_DEPENDENCIES, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (SYSTEM_CONTROLS, 0), - (BOXED_BOOLEAN, 0), - (BOXED_BOOLEAN, 0), - (CONTAINER_RESTART_POLICY, 0), - ), -) - -DAEMON_CONTAINER_DEFINITION_LIST: StaticSchema = ( - 16, - n0, - _DCDL, - 0, - (_me,), - ((DAEMON_CONTAINER_DEFINITION, 0),), -) - -DAEMON_IPC_MODE: StaticSchema = ( - 14, - n0, - _DIM, - 0, - (_NONE, _SHARED), - ((-1, {_sV: _non}), (-1, {_sV: _sh})), -) - -DAEMON_PID_MODE: StaticSchema = ( - 14, - n0, - _DPM, - 0, - (_NONE, _SHARED), - ((-1, {_sV: _non}), (-1, {_sV: _sh})), -) - -DAEMON_TASK_DEFINITION_STATUS: StaticSchema = ( - 14, - n0, - _DTDS, - 0, - (_ACTIVE, _DIP, _DELETED), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DIP}), (-1, {_sV: _DELETED})), -) - -HOST_VOLUME_PROPERTIES: StaticSchema = (18, n0, _HVP, 0, (_sPo,), ((STRING, 0),)) - -LOG_DRIVER_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LDVC, - 0, - (_dri,), - ((LOG_DRIVER, 1),), -) - -DAEMON_VOLUME: StaticSchema = ( - 18, - n0, - _DV, - 0, - (_na, _ho, _lDVC), - ((STRING, 0), (HOST_VOLUME_PROPERTIES, 0), (LOG_DRIVER_VOLUME_CONFIGURATION, 0)), -) - -DAEMON_VOLUME_LIST: StaticSchema = (16, n0, _DVL, 0, (_me,), ((DAEMON_VOLUME, 0),)) - -DAEMON_TASK_DEFINITION: StaticSchema = ( - 18, - n0, - _DTD, - 0, - ( - _dTDA, - _fam, - _rev, - _tRA, - _eRA, - _cD, - _vo, - _cp, - _memo, - _st, - _rAe, - _dRAe, - _rB, - _pM, - _iM, - ), - ( - (STRING, 0), - (STRING, 0), - (INTEGER, {_smi: 0}), - (STRING, 0), - (STRING, 0), - (DAEMON_CONTAINER_DEFINITION_LIST, 0), - (DAEMON_VOLUME_LIST, 0), - (STRING, 0), - (STRING, 0), - (DAEMON_TASK_DEFINITION_STATUS, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (STRING, 0), - (DAEMON_PID_MODE, 0), - (DAEMON_IPC_MODE, 0), - ), -) - -DESCRIBE_DAEMON_TASK_DEFINITION_OUTPUT: StaticSchema = ( - 18, - n0, - _DDTDOe, - {_sSI: _cDDTDRoma, _smith: None}, - (_dTD,), - ((DAEMON_TASK_DEFINITION, 0),), -) - -DESCRIBE_DAEMON_TASK_DEFINITION: StaticOperationSchema = ( - 23, - n0, - _DDTDe, - 0, - DESCRIBE_DAEMON_TASK_DEFINITION_INPUT, - DESCRIBE_DAEMON_TASK_DEFINITION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -DAEMON_TASK_DEFINITION_REVISION_FILTER: StaticSchema = ( - 14, - n0, - _DTDRF, - 0, - (_LR,), - ((-1, {_sV: _LR}),), -) - -SORT_ORDER: StaticSchema = ( - 14, - n0, - _SO, - 0, - (_ASC_, _DESC), - ((-1, {_sV: _ASC_}), (-1, {_sV: _DESC})), -) - -DAEMON_TASK_DEFINITION_STATUS_FILTER: StaticSchema = ( - 14, - n0, - _DTDSF, - 0, - (_ACTIVE, _DIP, _ALL), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DIP}), (-1, {_sV: _ALL})), -) - -LIST_DAEMON_TASK_DEFINITIONS_INPUT: StaticSchema = ( - 18, - n0, - _LDTDI, - {_sSI: _cLDTDR, _smit: None}, - (_fP, _fam, _rev, _st, _so, _nT, _mR), - ( - (STRING, 0), - (STRING, 0), - (DAEMON_TASK_DEFINITION_REVISION_FILTER, 0), - (DAEMON_TASK_DEFINITION_STATUS_FILTER, 0), - (SORT_ORDER, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - ), -) - -DAEMON_TASK_DEFINITION_SUMMARY: StaticSchema = ( - 18, - n0, - _DTDSa, - 0, - (_ar, _rAe, _rB, _dRAe, _st), - ( - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (TIMESTAMP, 0), - (DAEMON_TASK_DEFINITION_STATUS, 0), - ), -) - -DAEMON_TASK_DEFINITION_SUMMARIES: StaticSchema = ( - 16, - n0, - _DTDSae, - 0, - (_me,), - ((DAEMON_TASK_DEFINITION_SUMMARY, 0),), -) - -LIST_DAEMON_TASK_DEFINITIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDTDO, - {_sSI: _cLDTDRo, _smith: None}, - (_dTDa, _nT), - ((DAEMON_TASK_DEFINITION_SUMMARIES, 0), (STRING, 0)), -) - -LIST_DAEMON_TASK_DEFINITIONS: StaticOperationSchema = ( - 23, - n0, - _LDTD, - 0, - LIST_DAEMON_TASK_DEFINITIONS_INPUT, - LIST_DAEMON_TASK_DEFINITIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -REGISTER_DAEMON_TASK_DEFINITION_INPUT: StaticSchema = ( - 18, - n0, - _RDTDI, - {_sSI: _cRDTDR, _smit: None}, - (_fam, _tRA, _eRA, _cD, _cp, _memo, _vo, _ta, _pM, _iM), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (DAEMON_CONTAINER_DEFINITION_LIST, 1), - (STRING, 0), - (STRING, 0), - (DAEMON_VOLUME_LIST, 0), - (TAGS, 0), - (DAEMON_PID_MODE, 0), - (DAEMON_IPC_MODE, 0), - ), -) - -REGISTER_DAEMON_TASK_DEFINITION_OUTPUT: StaticSchema = ( - 18, - n0, - _RDTDO, - {_sSI: _cRDTDRo, _smith: None}, - (_dTDA,), - ((STRING, 0),), -) - -REGISTER_DAEMON_TASK_DEFINITION: StaticOperationSchema = ( - 23, - n0, - _RDTD, - 0, - REGISTER_DAEMON_TASK_DEFINITION_INPUT, - REGISTER_DAEMON_TASK_DEFINITION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -SETTING_NAME: StaticSchema = ( - 14, - n0, - _SN, - 0, - (_SLAF, _TLAF, _CILAF, _AT_, _CI, _FFM, _TRA, _FTRWP, _GDA, _DLDM, _FEW), - ( - (-1, {_sV: _sLAF}), - (-1, {_sV: _tLAF}), - (-1, {_sV: _cILAF}), - (-1, {_sV: _aTw}), - (-1, {_sV: _cI}), - (-1, {_sV: _fFIPSM}), - (-1, {_sV: _tRAa}), - (-1, {_sV: _fTRWP}), - (-1, {_sV: _gDA}), - (-1, {_sV: _dLDM}), - (-1, {_sV: _fEW}), - ), -) - -DELETE_ACCOUNT_SETTING_INPUT: StaticSchema = ( - 18, - n0, - _DASI, - {_sSI: _cDASR, _smit: None}, - (_na, _pA), - ((SETTING_NAME, 1), (STRING, 0)), -) - -SETTING_TYPE: StaticSchema = ( - 14, - n0, - _ST, - 0, - (_USER, _AM_), - ((-1, {_sV: _us}), (-1, {_sV: _am})), -) - -SETTING: StaticSchema = ( - 18, - n0, - _Set, - 0, - (_na, _va, _pA, _ty), - ((SETTING_NAME, 0), (STRING, 0), (STRING, 0), (SETTING_TYPE, 0)), -) - -DELETE_ACCOUNT_SETTING_OUTPUT: StaticSchema = ( - 18, - n0, - _DASO, - {_sSI: _cDASRo, _smith: None}, - (_sett,), - ((SETTING, 0),), -) - -DELETE_ACCOUNT_SETTING: StaticOperationSchema = ( - 23, - n0, - _DAS, - 0, - DELETE_ACCOUNT_SETTING_INPUT, - DELETE_ACCOUNT_SETTING_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -DEREGISTER_TASK_DEFINITION_INPUT: StaticSchema = ( - 18, - n0, - _DTDI, - {_sSI: _cDTDR, _smit: None}, - (_tD,), - ((STRING, 1),), -) - -COMPATIBILITY: StaticSchema = ( - 14, - n0, - _Co, - 0, - (_EC_, _FARGATE, _EXTERNAL, _MI), - ( - (-1, {_sV: _EC_}), - (-1, {_sV: _FARGATE}), - (-1, {_sV: _EXTERNAL}), - (-1, {_sV: _MI}), - ), -) - -COMPATIBILITY_LIST: StaticSchema = (16, n0, _CL, 0, (_me,), ((COMPATIBILITY, 0),)) - -DOCKER_LABELS_MAP: StaticSchema = ( - 17, - n0, - _DLM, - 0, - (_ke, _va), - ((STRING, 0), (STRING, 0)), -) - -HOST_ENTRY: StaticSchema = (18, n0, _HE, 0, (_hos, _iA), ((STRING, 1), (STRING, 1))) - -HOST_ENTRY_LIST: StaticSchema = (16, n0, _HEL, 0, (_me,), ((HOST_ENTRY, 0),)) - -LINUX_PARAMETERS: StaticSchema = ( - 18, - n0, - _LP, - 0, - (_ca, _dev, _iPE, _sMS, _tm, _mSa, _sw), - ( - (KERNEL_CAPABILITIES, 0), - (DEVICES_LIST, 0), - (BOXED_BOOLEAN, 0), - (BOXED_INTEGER, 0), - (TMPFS_LIST, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - ), -) - -APPLICATION_PROTOCOL: StaticSchema = ( - 14, - n0, - _AP, - 0, - (_HTTP, _HTTP_, _GRPC), - ((-1, {_sV: _ht}), (-1, {_sV: _htt}), (-1, {_sV: _gr})), -) - -PORT_MAPPING: StaticSchema = ( - 18, - n0, - _PM, - 0, - (_cPo, _hP, _pr, _na, _aP, _cPR), - ( - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (TRANSPORT_PROTOCOL, 0), - (STRING, 0), - (APPLICATION_PROTOCOL, 0), - (STRING, 0), - ), -) - -PORT_MAPPING_LIST: StaticSchema = (16, n0, _PML, 0, (_me,), ((PORT_MAPPING, 0),)) - -NVIDIA_MPS_ALLOCATION: StaticSchema = ( - 18, - n0, - _NMA, - 0, - (_memo, _mCP), - ((BOXED_INTEGER, 1), (BOXED_INTEGER, 0)), -) - -SHARING_STRATEGY: StaticSchema = ( - 19, - n0, - _SSh, - 0, - (_nM,), - ((NVIDIA_MPS_ALLOCATION, 0),), -) - -RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _RT, - 0, - (_GPU, _IA, _ND), - ((-1, {_sV: _GPU}), (-1, {_sV: _IAn}), (-1, {_sV: _NDe})), -) - -RESOURCE_REQUIREMENT: StaticSchema = ( - 18, - n0, - _RR, - 0, - (_va, _ty, _sS), - ((STRING, {_smi: _v__}), (RESOURCE_TYPE, 1), (SHARING_STRATEGY, 0)), -) - -RESOURCE_REQUIREMENTS: StaticSchema = ( - 16, - n0, - _RRe, - 0, - (_me,), - ((RESOURCE_REQUIREMENT, 0),), -) - -VERSION_CONSISTENCY: StaticSchema = ( - 14, - n0, - _VC, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ena}), (-1, {_sV: _di})), -) - -VOLUME_FROM: StaticSchema = ( - 18, - n0, - _VF, - 0, - (_sCo, _rO), - ((STRING, 0), (BOXED_BOOLEAN, 0)), -) - -VOLUME_FROM_LIST: StaticSchema = (16, n0, _VFL, 0, (_me,), ((VOLUME_FROM, 0),)) - -CONTAINER_DEFINITION: StaticSchema = ( - 18, - n0, - _CDont, - 0, - ( - _na, - _im, - _rCe, - _cp, - _memo, - _mRe, - _li, - _pMo, - _es, - _rPe, - _eP, - _com, - _env, - _eF, - _mP, - _vFo, - _lP, - _sec, - _dO, - _sT, - _sTt, - _vC, - _hos, - _us, - _wD, - _dNi, - _pri, - _rRF, - _dSn, - _dSD, - _eH, - _dSO, - _inte, - _pTs, - _dL, - _ul, - _lC, - _hC, - _sCy, - _rRes, - _fCi, - _cS, - ), - ( - (STRING, 0), - (STRING, 0), - (REPOSITORY_CREDENTIALS, 0), - (INTEGER, {_smi: 0}), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (STRING_LIST, 0), - (PORT_MAPPING_LIST, 0), - (BOXED_BOOLEAN, 0), - (CONTAINER_RESTART_POLICY, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - (ENVIRONMENT_VARIABLES, 0), - (ENVIRONMENT_FILES, 0), - (MOUNT_POINT_LIST, 0), - (VOLUME_FROM_LIST, 0), - (LINUX_PARAMETERS, 0), - (SECRET_LIST, 0), - (CONTAINER_DEPENDENCIES, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (VERSION_CONSISTENCY, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOXED_BOOLEAN, 0), - (BOXED_BOOLEAN, 0), - (BOXED_BOOLEAN, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - (HOST_ENTRY_LIST, 0), - (STRING_LIST, 0), - (BOXED_BOOLEAN, 0), - (BOXED_BOOLEAN, 0), - (DOCKER_LABELS_MAP, 0), - (ULIMIT_LIST, 0), - (LOG_CONFIGURATION, 0), - (HEALTH_CHECK, 0), - (SYSTEM_CONTROLS, 0), - (RESOURCE_REQUIREMENTS, 0), - (FIRELENS_CONFIGURATION, 0), - (STRING_LIST, 0), - ), -) - -CONTAINER_DEFINITIONS: StaticSchema = ( - 16, - n0, - _CDonta, - 0, - (_me,), - ((CONTAINER_DEFINITION, 0),), -) - -EPHEMERAL_STORAGE: StaticSchema = ( - 18, - n0, - _ES, - 0, - (_sIGB,), - ((INTEGER, {_smi: 0, _sm: None}),), -) - -INFERENCE_ACCELERATOR: StaticSchema = ( - 18, - n0, - _IAn, - 0, - (_dNe, _dT), - ((STRING, 1), (STRING, 1)), -) - -INFERENCE_ACCELERATORS: StaticSchema = ( - 16, - n0, - _IAnf, - 0, - (_me,), - ((INFERENCE_ACCELERATOR, 0),), -) - -IPC_MODE: StaticSchema = ( - 14, - n0, - _IM, - 0, - (_HOST, _TASK, _NONE), - ((-1, {_sV: _ho}), (-1, {_sV: _tas}), (-1, {_sV: _non})), -) - -NETWORK_MODE: StaticSchema = ( - 14, - n0, - _NMe, - 0, - (_BRIDGE, _HOST, _AWSVPC, _NONE), - ((-1, {_sV: _br}), (-1, {_sV: _ho}), (-1, {_sV: _awsv}), (-1, {_sV: _non})), -) - -PID_MODE: StaticSchema = ( - 14, - n0, - _PMi, - 0, - (_HOST, _TASK), - ((-1, {_sV: _ho}), (-1, {_sV: _tas})), -) - -TASK_DEFINITION_PLACEMENT_CONSTRAINT_TYPE: StaticSchema = ( - 14, - n0, - _TDPCT, - 0, - (_MO,), - ((-1, {_sV: _mOe}),), -) - -TASK_DEFINITION_PLACEMENT_CONSTRAINT: StaticSchema = ( - 18, - n0, - _TDPC, - 0, - (_ty, _ex), - ((TASK_DEFINITION_PLACEMENT_CONSTRAINT_TYPE, 0), (STRING, 0)), -) - -TASK_DEFINITION_PLACEMENT_CONSTRAINTS: StaticSchema = ( - 16, - n0, - _TDPCa, - 0, - (_me,), - ((TASK_DEFINITION_PLACEMENT_CONSTRAINT, 0),), -) - -PROXY_CONFIGURATION_PROPERTIES: StaticSchema = ( - 16, - n0, - _PCP, - 0, - (_me,), - ((KEY_VALUE_PAIR, 0),), -) - -PROXY_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _PCT, - 0, - (_APPMESH,), - ((-1, {_sV: _APPMESH}),), -) - -PROXY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PC, - 0, - (_ty, _cNo, _pro), - ((PROXY_CONFIGURATION_TYPE, 0), (STRING, 1), (PROXY_CONFIGURATION_PROPERTIES, 0)), -) - -REQUIRES_ATTRIBUTES: StaticSchema = (16, n0, _RA, 0, (_me,), ((ATTRIBUTE, 0),)) - -CPU_ARCHITECTURE: StaticSchema = ( - 14, - n0, - _CPUA, - 0, - (_X, _ARM), - ((-1, {_sV: _X}), (-1, {_sV: _ARM})), -) - -OS_FAMILY: StaticSchema = ( - 14, - n0, - _OSF, - 0, - (_WSF, _WSC, _WSF_, _WSC_, _WSC__, _WSF__, _WSC___, _WSF___, _WSC____, _LINUX), - ( - (-1, {_sV: _WSF}), - (-1, {_sV: _WSC}), - (-1, {_sV: _WSF_}), - (-1, {_sV: _WSC_}), - (-1, {_sV: _WSC__}), - (-1, {_sV: _WSF__}), - (-1, {_sV: _WSC___}), - (-1, {_sV: _WSF___}), - (-1, {_sV: _WSC____}), - (-1, {_sV: _LINUX}), - ), -) - -RUNTIME_PLATFORM: StaticSchema = ( - 18, - n0, - _RP, - 0, - (_cAp, _oSF), - ((CPU_ARCHITECTURE, 0), (OS_FAMILY, 0)), -) - -TASK_DEFINITION_STATUS: StaticSchema = ( - 14, - n0, - _TDS, - 0, - (_ACTIVE, _INACTIVE, _DIP), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _INACTIVE}), (-1, {_sV: _DIP})), -) - -ISOLATION_MODE: StaticSchema = ( - 14, - n0, - _IMs, - 0, - (_SHARED, _IS, _CS_), - ((-1, {_sV: _SHARED}), (-1, {_sV: _IS}), (-1, {_sV: _CS_})), -) - -TRUSTED_EXECUTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TEC, - 0, - (_iMs, _aPt), - ((ISOLATION_MODE, 1), (STRING, 0)), -) - -STRING_MAP: StaticSchema = (17, n0, _SM, 0, (_ke, _va), ((STRING, 0), (STRING, 0))) - -SCOPE: StaticSchema = ( - 14, - n0, - _Sc, - 0, - (_TASK, _SHARED), - ((-1, {_sV: _tas}), (-1, {_sV: _sh})), -) - -DOCKER_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DVC, - 0, - (_sc, _au, _dri, _dOr, _la), - ((SCOPE, 0), (BOXED_BOOLEAN, 0), (STRING, 0), (STRING_MAP, 0), (STRING_MAP, 0)), -) - -EFS_AUTHORIZATION_CONFIG_IAM: StaticSchema = ( - 14, - n0, - _EFSACIAM, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -EFS_AUTHORIZATION_CONFIG: StaticSchema = ( - 18, - n0, - _EFSAC, - 0, - (_aPI, _ia), - ((STRING, 0), (EFS_AUTHORIZATION_CONFIG_IAM, 0)), -) - -EFS_TRANSIT_ENCRYPTION: StaticSchema = ( - 14, - n0, - _EFSTE, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -EFS_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EFSVC, - 0, - (_fSI, _rD, _tE, _tEP, _aCu), - ( - (STRING, 1), - (STRING, 0), - (EFS_TRANSIT_ENCRYPTION, 0), - (BOXED_INTEGER, 0), - (EFS_AUTHORIZATION_CONFIG, 0), - ), -) - -F_SX_WINDOWS_FILE_SERVER_AUTHORIZATION_CONFIG: StaticSchema = ( - 18, - n0, - _FSWFSAC, - 0, - (_cPr, _do), - ((STRING, 1), (STRING, 1)), -) - -F_SX_WINDOWS_FILE_SERVER_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FSWFSVC, - 0, - (_fSI, _rD, _aCu), - ((STRING, 1), (STRING, 1), (F_SX_WINDOWS_FILE_SERVER_AUTHORIZATION_CONFIG, 1)), -) - -S3_FILES_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SFVC, - 0, - (_fSA, _rD, _tEP, _aPA), - ((STRING, 1), (STRING, 0), (BOXED_INTEGER, 0), (STRING, 0)), -) - -VOLUME: StaticSchema = ( - 18, - n0, - _Vo, - 0, - (_na, _ho, _dVC, _eVC, _sVC, _fWFSVC, _cAL), - ( - (STRING, 0), - (HOST_VOLUME_PROPERTIES, 0), - (DOCKER_VOLUME_CONFIGURATION, 0), - (EFS_VOLUME_CONFIGURATION, 0), - (S3_FILES_VOLUME_CONFIGURATION, 0), - (F_SX_WINDOWS_FILE_SERVER_VOLUME_CONFIGURATION, 0), - (BOXED_BOOLEAN, 0), - ), -) - -VOLUME_LIST: StaticSchema = (16, n0, _VL, 0, (_me,), ((VOLUME, 0),)) - -TASK_DEFINITION: StaticSchema = ( - 18, - n0, - _TD, - 0, - ( - _tDA, - _cD, - _fam, - _tRA, - _eRA, - _nMe, - _rev, - _vo, - _st, - _rAeq, - _pC, - _comp, - _rPu, - _rCeq, - _cp, - _memo, - _iAn, - _pM, - _iM, - _pCr, - _rAe, - _dAer, - _dRAe, - _rB, - _eS, - _eFI, - _tEC, - ), - ( - (STRING, 0), - (CONTAINER_DEFINITIONS, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NETWORK_MODE, 0), - (INTEGER, {_smi: 0}), - (VOLUME_LIST, 0), - (TASK_DEFINITION_STATUS, 0), - (REQUIRES_ATTRIBUTES, 0), - (TASK_DEFINITION_PLACEMENT_CONSTRAINTS, 0), - (COMPATIBILITY_LIST, 0), - (RUNTIME_PLATFORM, 0), - (COMPATIBILITY_LIST, 0), - (STRING, 0), - (STRING, 0), - (INFERENCE_ACCELERATORS, 0), - (PID_MODE, 0), - (IPC_MODE, 0), - (PROXY_CONFIGURATION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (STRING, 0), - (EPHEMERAL_STORAGE, 0), - (BOXED_BOOLEAN, 0), - (TRUSTED_EXECUTION_CONFIGURATION, 0), - ), -) - -DEREGISTER_TASK_DEFINITION_OUTPUT: StaticSchema = ( - 18, - n0, - _DTDO, - {_sSI: _cDTDRo, _smith: None}, - (_tD,), - ((TASK_DEFINITION, 0),), -) - -DEREGISTER_TASK_DEFINITION: StaticOperationSchema = ( - 23, - n0, - _DTDe, - 0, - DEREGISTER_TASK_DEFINITION_INPUT, - DEREGISTER_TASK_DEFINITION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -TASK_DEFINITION_FIELD: StaticSchema = (14, n0, _TDF, 0, (_TAGS,), ((-1, {_sV: _TAGS}),)) - -TASK_DEFINITION_FIELD_LIST: StaticSchema = ( - 16, - n0, - _TDFL, - 0, - (_me,), - ((TASK_DEFINITION_FIELD, 0),), -) - -DESCRIBE_TASK_DEFINITION_INPUT: StaticSchema = ( - 18, - n0, - _DTDIe, - {_sSI: _cDTDRom, _smit: None}, - (_tD, _incl), - ((STRING, 1), (TASK_DEFINITION_FIELD_LIST, 0)), -) - -DESCRIBE_TASK_DEFINITION_OUTPUT: StaticSchema = ( - 18, - n0, - _DTDOe, - {_sSI: _cDTDRoma, _smith: None}, - (_tD, _ta), - ((TASK_DEFINITION, 0), (TAGS, 0)), -) - -DESCRIBE_TASK_DEFINITION: StaticOperationSchema = ( - 23, - n0, - _DTDes, - 0, - DESCRIBE_TASK_DEFINITION_INPUT, - DESCRIBE_TASK_DEFINITION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -DISCOVER_POLL_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DPEI, - {_sSI: _cDPER, _smit: None}, - (_cIo, _cl), - ((STRING, 0), (STRING, 0)), -) - -DISCOVER_POLL_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DPEO, - {_sSI: _cDPERo, _smith: None}, - (_end, _tEe, _sCE), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -DISCOVER_POLL_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DPE, - 0, - DISCOVER_POLL_ENDPOINT_INPUT, - DISCOVER_POLL_ENDPOINT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -ASSOCIATE_GATEWAY_WITH_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _AGWCI, - {_sSI: _cAGWCR, _smit: None}, - (_ga, _cl), - ((STRING, 1), (STRING, 1)), -) - -GATEWAY_CLUSTER_ASSOCIATION_STATUS: StaticSchema = ( - 14, - n0, - _GCAS, - 0, - (_ACTIVE, _DISASSOCIATING, _INACTIVE), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DISASSOCIATING}), (-1, {_sV: _INACTIVE})), -) - -ASSOCIATE_GATEWAY_WITH_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _AGWCO, - {_sSI: _cAGWCRo, _smith: None}, - (_gA, _cA, _st), - ((STRING, 0), (STRING, 0), (GATEWAY_CLUSTER_ASSOCIATION_STATUS, 0)), -) - -GATEWAY_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _GNFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -ASSOCIATE_GATEWAY_WITH_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _AGWC, - 0, - ASSOCIATE_GATEWAY_WITH_CLUSTER_INPUT, - ASSOCIATE_GATEWAY_WITH_CLUSTER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - GATEWAY_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -GATEWAY_ELB_ACCESS_LOG_S3_DESTINATION: StaticSchema = ( - 18, - n0, - _GEALSD, - 0, - (_bu, _pre), - ((STRING, 1), (STRING, 0)), -) - -GATEWAY_ELB_ACCESS_LOG_DESTINATION: StaticSchema = ( - 19, - n0, - _GEALD, - 0, - (_s_,), - ((GATEWAY_ELB_ACCESS_LOG_S3_DESTINATION, 0),), -) - -GATEWAY_ELB_ACCESS_LOG_CONFIGURATION: StaticSchema = ( - 18, - n0, - _GEALC, - 0, - (_des,), - ((GATEWAY_ELB_ACCESS_LOG_DESTINATION, 0),), -) - -GATEWAY_ALB_DESYNC_MITIGATION_MODE: StaticSchema = ( - 14, - n0, - _GADMM, - 0, - (_MONITOR, _DEFENSIVE, _STRICTEST), - ((-1, {_sV: _mon}), (-1, {_sV: _def}), (-1, {_sV: _str})), -) - -GATEWAY_ELB_IP_ADDRESS_TYPE: StaticSchema = ( - 14, - n0, - _GEIAT, - 0, - (_IPV, _DUALSTACK, _DWPI), - ((-1, {_sV: _ip}), (-1, {_sV: _du}), (-1, {_sV: _dwpi})), -) - -GATEWAY_ELB_NETWORK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _GENC, - 0, - (_iSG, _su, _iAT), - ((STRING, 0), (STRING_LIST, 0), (GATEWAY_ELB_IP_ADDRESS_TYPE, 0)), -) - -GATEWAY_ALB_PROTOCOL: StaticSchema = ( - 14, - n0, - _GAP, - 0, - (_HTTP, _HTTPS), - ((-1, {_sV: _HTTP}), (-1, {_sV: _HTTPS})), -) - -GATEWAY_ELB_SCHEME: StaticSchema = ( - 14, - n0, - _GES, - 0, - (_IF, _INTERNAL), - ((-1, {_sV: _if}), (-1, {_sV: _intern})), -) - -GATEWAY_TEST_TRAFFIC_HEADER: StaticSchema = ( - 18, - n0, - _GTTH, - 0, - (_na, _val), - ((STRING, 1), (STRING_LIST, 1)), -) - -GATEWAY_ALB_TEST_TRAFFIC_RULES: StaticSchema = ( - 18, - n0, - _GATTR, - 0, - (_he,), - ((GATEWAY_TEST_TRAFFIC_HEADER, 0),), -) - -HOST_SHARED_ALB_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HSAC, - 0, - (_nC, _sch, _wACLA, _aL, _po, _pr, _mAC, _hD, _tTR), - ( - (GATEWAY_ELB_NETWORK_CONFIGURATION, 0), - (GATEWAY_ELB_SCHEME, 0), - (STRING, 0), - (GATEWAY_ELB_ACCESS_LOG_CONFIGURATION, 0), - (BOXED_INTEGER, 0), - (GATEWAY_ALB_PROTOCOL, 0), - (BOXED_INTEGER, 0), - (GATEWAY_ALB_DESYNC_MITIGATION_MODE, 0), - (GATEWAY_ALB_TEST_TRAFFIC_RULES, 0), - ), -) - -GATEWAY_CONFIGURATION: StaticSchema = ( - 19, - n0, - _GC, - 0, - (_hSA,), - ((HOST_SHARED_ALB_CONFIGURATION, 0),), -) - -PROPAGATE_GATEWAY_TAGS: StaticSchema = ( - 14, - n0, - _PGT, - 0, - (_NONE, _GATEWAY), - ((-1, {_sV: _NONE}), (-1, {_sV: _GATEWAY})), -) - -CREATE_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _CGI, - {_sSI: _cCGR, _smit: None}, - (_na, _iRA, _cT, _dPe, _co, _ta, _pT), - ( - (STRING, 1), - (STRING, 1), - (STRING, 2), - (BOXED_BOOLEAN, 0), - (GATEWAY_CONFIGURATION, 1), - (TAGS, 0), - (PROPAGATE_GATEWAY_TAGS, 0), - ), -) - -GATEWAY_STATUS: StaticSchema = ( - 14, - n0, - _GS, - 0, - (_ACTIVE, _UIP, _UC, _UF, _DELETED), - ( - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _UIP}), - (-1, {_sV: _UC}), - (-1, {_sV: _UF}), - (-1, {_sV: _DELETED}), - ), -) - -CREATE_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _CGO, - {_sSI: _cCGRo, _smith: None}, - (_gA, _na, _st), - ((STRING, 0), (STRING, 0), (GATEWAY_STATUS, 0)), -) - -CREATE_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _CG, - 0, - CREATE_GATEWAY_INPUT, - CREATE_GATEWAY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DELETE_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DGI, - {_sSI: _cDGR, _smit: None}, - (_ga,), - ((STRING, 1),), -) - -DELETE_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _DGO, - {_sSI: _cDGRo, _smith: None}, - (_gA, _na, _st), - ((STRING, 0), (STRING, 0), (GATEWAY_STATUS, 0)), -) - -DELETE_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DG, - 0, - DELETE_GATEWAY_INPUT, - DELETE_GATEWAY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - GATEWAY_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DESCRIBE_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _DGIe, - {_sSI: _cDGRom, _smit: None}, - (_ga,), - ((STRING, 1),), -) - -DESCRIBE_GATEWAY_ALB_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DGAC, - 0, - (_nC, _sch, _aL, _wACLA, _po, _pr, _mAC, _cAC, _hD, _tTR), - ( - (GATEWAY_ELB_NETWORK_CONFIGURATION, 0), - (GATEWAY_ELB_SCHEME, 0), - (GATEWAY_ELB_ACCESS_LOG_CONFIGURATION, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (GATEWAY_ALB_PROTOCOL, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (GATEWAY_ALB_DESYNC_MITIGATION_MODE, 0), - (GATEWAY_ALB_TEST_TRAFFIC_RULES, 0), - ), -) - -DESCRIBE_GATEWAY_CONFIGURATION: StaticSchema = ( - 19, - n0, - _DGC, - 0, - (_hSA,), - ((DESCRIBE_GATEWAY_ALB_CONFIGURATION, 0),), -) - -GATEWAY_OPERATION_ERROR: StaticSchema = ( - 18, - n0, - _GOE, - 0, - (_op, _cod, _mes), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -GATEWAY_OPERATION_ERROR_LIST: StaticSchema = ( - 16, - n0, - _GOEL, - 0, - (_me,), - ((GATEWAY_OPERATION_ERROR, 0),), -) - -GATEWAY_RESOURCE_FAILURE: StaticSchema = ( - 18, - n0, - _GRF, - 0, - (_ar, _er), - ((STRING, 0), (GATEWAY_OPERATION_ERROR_LIST, 0)), -) - -GATEWAY_RESOURCE_FAILURE_LIST: StaticSchema = ( - 16, - n0, - _GRFL, - 0, - (_me,), - ((GATEWAY_RESOURCE_FAILURE, 0),), -) - -GATEWAY: StaticSchema = ( - 18, - n0, - _G, - 0, - (_gA, _na, _st, _sR, _fa, _iRA, _dPe, _co, _aTc, _pT, _ta, _cAr, _uA), - ( - (STRING, 0), - (STRING, 0), - (GATEWAY_STATUS, 0), - (STRING, 0), - (GATEWAY_RESOURCE_FAILURE_LIST, 0), - (STRING, 0), - (BOXED_BOOLEAN, 0), - (DESCRIBE_GATEWAY_CONFIGURATION, 0), - (ACCESS_TYPE, 0), - (PROPAGATE_GATEWAY_TAGS, 0), - (TAGS, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -DESCRIBE_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _DGOe, - {_sSI: _cDGRoma, _smith: None}, - (_ga,), - ((GATEWAY, 0),), -) - -DESCRIBE_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _DGe, - 0, - DESCRIBE_GATEWAY_INPUT, - DESCRIBE_GATEWAY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - GATEWAY_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DESCRIBE_GATEWAY_RESOURCES_INPUT: StaticSchema = ( - 18, - n0, - _DGRI, - {_sSI: _cDGRR, _smit: None}, - (_ga, _mR, _nT), - ((STRING, 1), (BOXED_INTEGER, 0), (STRING, 0)), -) - -ELB_GATEWAY_RESOURCES: StaticSchema = ( - 18, - n0, - _EGR, - 0, - (_lBA, _lA, _sGe, _gRA), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING_LIST, 0)), -) - -ELB_GATEWAY_RESOURCES_LIST: StaticSchema = ( - 16, - n0, - _EGRL, - 0, - (_me,), - ((ELB_GATEWAY_RESOURCES, 0),), -) - -GATEWAY_INFRASTRUCTURE_RESOURCES: StaticSchema = ( - 19, - n0, - _GIR, - 0, - (_hSA,), - ((ELB_GATEWAY_RESOURCES_LIST, 0),), -) - -GATEWAY_RESOURCES: StaticSchema = ( - 18, - n0, - _GR, - 0, - (_gA, _res), - ((STRING, 0), (GATEWAY_INFRASTRUCTURE_RESOURCES, 0)), -) - -DESCRIBE_GATEWAY_RESOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DGRO, - {_sSI: _cDGRRo, _smith: None}, - (_gR, _nT), - ((GATEWAY_RESOURCES, 0), (STRING, 0)), -) - -DESCRIBE_GATEWAY_RESOURCES: StaticOperationSchema = ( - 23, - n0, - _DGR, - 0, - DESCRIBE_GATEWAY_RESOURCES_INPUT, - DESCRIBE_GATEWAY_RESOURCES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - GATEWAY_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DISASSOCIATE_GATEWAY_FROM_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _DGFCI, - {_sSI: _cDGFCR, _smit: None}, - (_ga, _cl), - ((STRING, 1), (STRING, 1)), -) - -DISASSOCIATE_GATEWAY_FROM_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _DGFCO, - {_sSI: _cDGFCRo, _smith: None}, - (_gA, _cA, _st), - ((STRING, 0), (STRING, 0), (GATEWAY_CLUSTER_ASSOCIATION_STATUS, 0)), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -DISASSOCIATE_GATEWAY_FROM_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _DGFC, - 0, - DISASSOCIATE_GATEWAY_FROM_CLUSTER_INPUT, - DISASSOCIATE_GATEWAY_FROM_CLUSTER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - GATEWAY_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -GATEWAY_CLUSTER_ASSOCIATION_STATUS_LIST: StaticSchema = ( - 16, - n0, - _GCASL, - 0, - (_me,), - ((GATEWAY_CLUSTER_ASSOCIATION_STATUS, 0),), -) - -LIST_GATEWAY_CLUSTER_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LGCAI, - {_sSI: _cLGCAR, _smit: None}, - (_ga, _cl, _st, _mR, _nT), - ( - (STRING, 0), - (STRING, 0), - (GATEWAY_CLUSTER_ASSOCIATION_STATUS_LIST, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - ), -) - -GATEWAY_CLUSTER_ASSOCIATION_SUMMARY: StaticSchema = ( - 18, - n0, - _GCASa, - 0, - (_gA, _cA, _st), - ((STRING, 0), (STRING, 0), (GATEWAY_CLUSTER_ASSOCIATION_STATUS, 0)), -) - -GATEWAY_CLUSTER_ASSOCIATION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _GCASLa, - 0, - (_me,), - ((GATEWAY_CLUSTER_ASSOCIATION_SUMMARY, 0),), -) - -LIST_GATEWAY_CLUSTER_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LGCAO, - {_sSI: _cLGCARo, _smith: None}, - (_gCA, _nT), - ((GATEWAY_CLUSTER_ASSOCIATION_SUMMARY_LIST, 0), (STRING, 0)), -) - -LIST_GATEWAY_CLUSTER_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _LGCA, - 0, - LIST_GATEWAY_CLUSTER_ASSOCIATIONS_INPUT, - LIST_GATEWAY_CLUSTER_ASSOCIATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -GATEWAY_STATUS_LIST: StaticSchema = (16, n0, _GSL, 0, (_me,), ((GATEWAY_STATUS, 0),)) - -LIST_GATEWAYS_INPUT: StaticSchema = ( - 18, - n0, - _LGI, - {_sSI: _cLGR, _smit: None}, - (_name, _st, _mR, _nT), - ((STRING_LIST, 0), (GATEWAY_STATUS_LIST, 0), (BOXED_INTEGER, 0), (STRING, 0)), -) - -GATEWAY_SUMMARY: StaticSchema = ( - 18, - n0, - _GSa, - 0, - (_gA, _na, _st, _cAr), - ((STRING, 0), (STRING, 0), (GATEWAY_STATUS, 0), (TIMESTAMP, 0)), -) - -GATEWAY_SUMMARY_LIST: StaticSchema = (16, n0, _GSLa, 0, (_me,), ((GATEWAY_SUMMARY, 0),)) - -LIST_GATEWAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _LGO, - {_sSI: _cLGRo, _smith: None}, - (_gat, _nT), - ((GATEWAY_SUMMARY_LIST, 0), (STRING, 0)), -) - -LIST_GATEWAYS: StaticOperationSchema = ( - 23, - n0, - _LG, - 0, - LIST_GATEWAYS_INPUT, - LIST_GATEWAYS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -UPDATE_GATEWAY_NETWORK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _UGNC, - 0, - (_iSG,), - ((STRING, 0),), -) - -UPDATE_GATEWAY_ALB_CONFIGURATION: StaticSchema = ( - 18, - n0, - _UGAC, - 0, - (_nC, _mAC, _wACLA, _aL, _hD, _tTR), - ( - (UPDATE_GATEWAY_NETWORK_CONFIGURATION, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - (GATEWAY_ELB_ACCESS_LOG_CONFIGURATION, 0), - (GATEWAY_ALB_DESYNC_MITIGATION_MODE, 0), - (GATEWAY_ALB_TEST_TRAFFIC_RULES, 0), - ), -) - -UPDATE_GATEWAY_CONFIGURATION: StaticSchema = ( - 19, - n0, - _UGC, - 0, - (_hSA,), - ((UPDATE_GATEWAY_ALB_CONFIGURATION, 0),), -) - -UPDATE_GATEWAY_INPUT: StaticSchema = ( - 18, - n0, - _UGI, - {_sSI: _cUGR, _smit: None}, - (_ga, _iRA, _dPe, _co, _pT), - ( - (STRING, 1), - (STRING, 0), - (BOXED_BOOLEAN, 0), - (UPDATE_GATEWAY_CONFIGURATION, 0), - (PROPAGATE_GATEWAY_TAGS, 0), - ), -) - -UPDATE_GATEWAY_OUTPUT: StaticSchema = ( - 18, - n0, - _UGO, - {_sSI: _cUGRo, _smith: None}, - (_gA, _na, _st), - ((STRING, 0), (STRING, 0), (GATEWAY_STATUS, 0)), -) - -UPDATE_GATEWAY: StaticOperationSchema = ( - 23, - n0, - _UG, - 0, - UPDATE_GATEWAY_INPUT, - UPDATE_GATEWAY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - GATEWAY_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DESCRIBE_GATEWAY_ROUTE_INPUT: StaticSchema = ( - 18, - n0, - _DGRIe, - {_sSI: _cDGRRom, _smit: None}, - (_gRAa,), - ((STRING, 1),), -) - -GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP: StaticSchema = ( - 18, - n0, - _GRLBSG, - 0, - (_ar, _rAu), - ((STRING, 0), (STRING_LIST, 0)), -) - -GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP_LIST: StaticSchema = ( - 16, - n0, - _GRLBSGL, - 0, - (_me,), - ((GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP, 0),), -) - -GATEWAY_ROUTE_ALB_RESOURCES: StaticSchema = ( - 18, - n0, - _GRAR, - 0, - (_aCA, _lBA, _lA, _lRA, _tLRA, _lBSG, _sSGA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP_LIST, 0), - (STRING, 0), - ), -) - -GATEWAY_ROUTE_ALB_RESOURCES_LIST: StaticSchema = ( - 16, - n0, - _GRARL, - 0, - (_me,), - ((GATEWAY_ROUTE_ALB_RESOURCES, 0),), -) - -GATEWAY_ROUTE_RESOURCES: StaticSchema = ( - 19, - n0, - _GRR, - 0, - (_hSA,), - ((GATEWAY_ROUTE_ALB_RESOURCES_LIST, 0),), -) - -GATEWAY_ROUTE_STATUS: StaticSchema = ( - 14, - n0, - _GRS, - 0, - (_ACTIVE, _CIP, _CF, _UIP, _UF, _DIP, _DF), - ( - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _CIP}), - (-1, {_sV: _CF}), - (-1, {_sV: _UIP}), - (-1, {_sV: _UF}), - (-1, {_sV: _DIP}), - (-1, {_sV: _DF}), - ), -) - -GATEWAY_ROUTE: StaticSchema = ( - 18, - n0, - _GRa, - 0, - (_gRAa, _sAe, _sCPN, _st, _sUe, _res), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (GATEWAY_ROUTE_STATUS, 0), - (STRING, 0), - (GATEWAY_ROUTE_RESOURCES, 0), - ), -) - -DESCRIBE_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _DGROe, - {_sSI: _cDGRRoma, _smith: None}, - (_gRa,), - ((GATEWAY_ROUTE, 0),), -) - -DESCRIBE_GATEWAY_ROUTE: StaticOperationSchema = ( - 23, - n0, - _DGRe, - 0, - DESCRIBE_GATEWAY_ROUTE_INPUT, - DESCRIBE_GATEWAY_ROUTE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -GATEWAY_ROUTE_STATUS_LIST: StaticSchema = ( - 16, - n0, - _GRSL, - 0, - (_me,), - ((GATEWAY_ROUTE_STATUS, 0),), -) - -LIST_GATEWAY_ROUTES_INPUT: StaticSchema = ( - 18, - n0, - _LGRI, - {_sSI: _cLGRR, _smit: None}, - (_ga, _cl, _ser, _sCPN, _st, _mR, _nT), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (GATEWAY_ROUTE_STATUS_LIST, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - ), -) - -GATEWAY_ROUTE_SUMMARY: StaticSchema = ( - 18, - n0, - _GRSa, - 0, - (_gRAa, _gA, _cA, _sAe, _sCPN, _st), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (GATEWAY_ROUTE_STATUS, 0), - ), -) - -GATEWAY_ROUTE_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _GRSLa, - 0, - (_me,), - ((GATEWAY_ROUTE_SUMMARY, 0),), -) - -LIST_GATEWAY_ROUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _LGRO, - {_sSI: _cLGRRo, _smith: None}, - (_gRat, _nT), - ((GATEWAY_ROUTE_SUMMARY_LIST, 0), (STRING, 0)), -) - -LIST_GATEWAY_ROUTES: StaticOperationSchema = ( - 23, - n0, - _LGR, - 0, - LIST_GATEWAY_ROUTES_INPUT, - LIST_GATEWAY_ROUTES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - GATEWAY_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -LIST_ACCOUNT_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _LASI, - {_sSI: _cLASR, _smit: None}, - (_na, _va, _pA, _eSf, _nT, _mR), - ( - (SETTING_NAME, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, {_smi: False}), - (STRING, 0), - (INTEGER, {_smi: 0}), - ), -) - -SETTINGS: StaticSchema = (16, n0, _Sett, 0, (_me,), ((SETTING, 0),)) - -LIST_ACCOUNT_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LASO, - {_sSI: _cLASRo, _smith: None}, - (_set, _nT), - ((SETTINGS, 0), (STRING, 0)), -) - -LIST_ACCOUNT_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _LAS, - 0, - LIST_ACCOUNT_SETTINGS_INPUT, - LIST_ACCOUNT_SETTINGS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -LIST_SERVICES_BY_NAMESPACE_INPUT: StaticSchema = ( - 18, - n0, - _LSBNI, - {_sSI: _cLSBNR, _smit: None}, - (_nam, _nT, _mR), - ((STRING, 1), (STRING, 0), (BOXED_INTEGER, 0)), -) - -LIST_SERVICES_BY_NAMESPACE_OUTPUT: StaticSchema = ( - 18, - n0, - _LSBNO, - {_sSI: _cLSBNRo, _smith: None}, - (_sAer, _nT), - ((STRING_LIST, 0), (STRING, 0)), -) - -LIST_SERVICES_BY_NAMESPACE: StaticOperationSchema = ( - 23, - n0, - _LSBN, - 0, - LIST_SERVICES_BY_NAMESPACE_INPUT, - LIST_SERVICES_BY_NAMESPACE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NAMESPACE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _smit: None}, - (_rAes,), - ((STRING, 1),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smith: None}, - (_ta,), - ((TAGS, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - 0, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -TASK_DEFINITION_FAMILY_STATUS: StaticSchema = ( - 14, - n0, - _TDFS, - 0, - (_ACTIVE, _INACTIVE, _ALL), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _INACTIVE}), (-1, {_sV: _ALL})), -) - -LIST_TASK_DEFINITION_FAMILIES_INPUT: StaticSchema = ( - 18, - n0, - _LTDFI, - {_sSI: _cLTDFR, _smit: None}, - (_fP, _st, _nT, _mR), - ((STRING, 0), (TASK_DEFINITION_FAMILY_STATUS, 0), (STRING, 0), (BOXED_INTEGER, 0)), -) - -LIST_TASK_DEFINITION_FAMILIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LTDFO, - {_sSI: _cLTDFRo, _smith: None}, - (_fami, _nT), - ((STRING_LIST, 0), (STRING, 0)), -) - -LIST_TASK_DEFINITION_FAMILIES: StaticOperationSchema = ( - 23, - n0, - _LTDF, - 0, - LIST_TASK_DEFINITION_FAMILIES_INPUT, - LIST_TASK_DEFINITION_FAMILIES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -PUT_ACCOUNT_SETTING_INPUT: StaticSchema = ( - 18, - n0, - _PASI, - {_sSI: _cPASR, _smit: None}, - (_na, _va, _pA), - ((SETTING_NAME, 1), (STRING, 1), (STRING, 0)), -) - -PUT_ACCOUNT_SETTING_OUTPUT: StaticSchema = ( - 18, - n0, - _PASO, - {_sSI: _cPASRo, _smith: None}, - (_sett,), - ((SETTING, 0),), -) - -PUT_ACCOUNT_SETTING: StaticOperationSchema = ( - 23, - n0, - _PAS, - 0, - PUT_ACCOUNT_SETTING_INPUT, - PUT_ACCOUNT_SETTING_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -PUT_ACCOUNT_SETTING_DEFAULT_INPUT: StaticSchema = ( - 18, - n0, - _PASDI, - {_sSI: _cPASDR, _smit: None}, - (_na, _va), - ((SETTING_NAME, 1), (STRING, 1)), -) - -PUT_ACCOUNT_SETTING_DEFAULT_OUTPUT: StaticSchema = ( - 18, - n0, - _PASDO, - {_sSI: _cPASDRo, _smith: None}, - (_sett,), - ((SETTING, 0),), -) - -PUT_ACCOUNT_SETTING_DEFAULT: StaticOperationSchema = ( - 23, - n0, - _PASD, - 0, - PUT_ACCOUNT_SETTING_DEFAULT_INPUT, - PUT_ACCOUNT_SETTING_DEFAULT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -DESCRIBE_SERVICE_DEPLOYMENTS_INPUT: StaticSchema = ( - 18, - n0, - _DSDI, - {_sSI: _cDSDR, _smit: None}, - (_sDAe,), - ((STRING_LIST, 1),), -) - -SERVICE_DEPLOYMENT_ROLLBACK_MONITORS_STATUS: StaticSchema = ( - 14, - n0, - _SDRMS, - 0, - (_TRIGGERED, _MONITORING, _MC, _DISABLED), - ( - (-1, {_sV: _TRIGGERED}), - (-1, {_sV: _MONITORING}), - (-1, {_sV: _MC}), - (-1, {_sV: _DISABLED}), - ), -) - -SERVICE_DEPLOYMENT_ALARMS: StaticSchema = ( - 18, - n0, - _SDA, - 0, - (_st, _aNl, _tAN), - ( - (SERVICE_DEPLOYMENT_ROLLBACK_MONITORS_STATUS, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - ), -) - -SERVICE_DEPLOYMENT_CIRCUIT_BREAKER: StaticSchema = ( - 18, - n0, - _SDCB, - 0, - (_st, _fC, _th), - ( - (SERVICE_DEPLOYMENT_ROLLBACK_MONITORS_STATUS, 0), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - ), -) - -DEPLOYMENT_ALARMS: StaticSchema = ( - 18, - n0, - _DAe, - 0, - (_aNl, _ro, _en), - ( - (STRING_LIST, 1), - (BOOLEAN, {_smi: False, _sm: None}), - (BOOLEAN, {_smi: False, _sm: None}), - ), -) - -CANARY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CCa, - 0, - (_cPan, _cBTIM), - ((DOUBLE, {_smi: None}), (INTEGER, {_smi: None})), -) - -THRESHOLD_TYPE: StaticSchema = ( - 14, - n0, - _TTh, - 0, - (_COUNT, _BP_, _UP), - ((-1, {_sV: _COUNT}), (-1, {_sV: _BP_}), (-1, {_sV: _UP})), -) - -THRESHOLD_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TC, - 0, - (_ty, _va), - ((THRESHOLD_TYPE, 1), (INTEGER, {_smi: 0, _sm: None})), -) - -DEPLOYMENT_CIRCUIT_BREAKER: StaticSchema = ( - 18, - n0, - _DCBe, - 0, - (_en, _ro, _rOHT, _tCh), - ( - (BOOLEAN, {_smi: False, _sm: None}), - (BOOLEAN, {_smi: False, _sm: None}), - (BOXED_BOOLEAN, 0), - (THRESHOLD_CONFIGURATION, 0), - ), -) - -HEALTHY_PERCENT_INTEGER: StaticSchema = (7, n0, _HPI, 0) - -SERVICE_REVISION_CLEANUP: StaticSchema = ( - 14, - n0, - _SRC, - 0, - (_BLOCKING, _DEFERRED), - ((-1, {_sV: _BLOCKING}), (-1, {_sV: _DEFERRED})), -) - -DEPLOYMENT_EARLY_SUCCESS_CRITERIA: StaticSchema = ( - 18, - n0, - _DESCe, - 0, - (_en, _hPe, _sSRC), - ( - (BOOLEAN, {_smi: False, _sm: None}), - (HEALTHY_PERCENT_INTEGER, 0), - (SERVICE_REVISION_CLEANUP, 0), - ), -) - -HOOK_DETAILS: StaticSchema = (13, n0, _HD, 0) - -DEPLOYMENT_LIFECYCLE_HOOK_STAGE: StaticSchema = ( - 14, - n0, - _DLHS, - 0, - (_RS_, _PSU, _PSU_, _TTS, _PTTS, _PPTS, _PTS, _PPTS_), - ( - (-1, {_sV: _RS_}), - (-1, {_sV: _PSU}), - (-1, {_sV: _PSU_}), - (-1, {_sV: _TTS}), - (-1, {_sV: _PTTS}), - (-1, {_sV: _PPTS}), - (-1, {_sV: _PTS}), - (-1, {_sV: _PPTS_}), - ), -) - -DEPLOYMENT_LIFECYCLE_HOOK_STAGE_LIST: StaticSchema = ( - 16, - n0, - _DLHSL, - 0, - (_me,), - ((DEPLOYMENT_LIFECYCLE_HOOK_STAGE, 0),), -) - -IAM_ROLE_ARN: StaticSchema = (3, n0, _IAMRA, 0) - -DEPLOYMENT_LIFECYCLE_HOOK_TARGET_TYPE: StaticSchema = ( - 14, - n0, - _DLHTT, - 0, - (_AL, _PAUSE), - ((-1, {_sV: _AL}), (-1, {_sV: _PAUSE})), -) - -DEPLOYMENT_LIFECYCLE_HOOK_DURATION: StaticSchema = (7, n0, _DLHD, 0) - -DEPLOYMENT_LIFECYCLE_HOOK_TIMEOUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DLHTC, - 0, - (_tIM, _act), - ((DEPLOYMENT_LIFECYCLE_HOOK_DURATION, 0), (DEPLOYMENT_LIFECYCLE_HOOK_ACTION, 0)), -) - -DEPLOYMENT_LIFECYCLE_HOOK: StaticSchema = ( - 18, - n0, - _DLH, - 0, - (_tT, _hTA, _rA, _lSi, _hDo, _tCi), - ( - (DEPLOYMENT_LIFECYCLE_HOOK_TARGET_TYPE, 0), - (STRING, 0), - (IAM_ROLE_ARN, 0), - (DEPLOYMENT_LIFECYCLE_HOOK_STAGE_LIST, 0), - (HOOK_DETAILS, 0), - (DEPLOYMENT_LIFECYCLE_HOOK_TIMEOUT_CONFIGURATION, 0), - ), -) - -DEPLOYMENT_LIFECYCLE_HOOK_LIST: StaticSchema = ( - 16, - n0, - _DLHL, - 0, - (_me,), - ((DEPLOYMENT_LIFECYCLE_HOOK, 0),), -) - -LINEAR_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LCi, - 0, - (_sPt, _sBTIM), - ((DOUBLE, {_smi: None}), (INTEGER, {_smi: None})), -) - -DEPLOYMENT_STRATEGY: StaticSchema = ( - 14, - n0, - _DSe, - 0, - (_ROLLING, _BG, _LINEAR, _CANARY), - ( - (-1, {_sV: _ROLLING}), - (-1, {_sV: _BG}), - (-1, {_sV: _LINEAR}), - (-1, {_sV: _CANARY}), - ), -) - -DEPLOYMENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DCep, - 0, - (_dCB, _mPa, _mHP, _al, _stra, _bTIM, _lH, _lCi, _cCa, _eSC), - ( - (DEPLOYMENT_CIRCUIT_BREAKER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (DEPLOYMENT_ALARMS, 0), - (DEPLOYMENT_STRATEGY, 0), - (BOXED_INTEGER, 0), - (DEPLOYMENT_LIFECYCLE_HOOK_LIST, 0), - (LINEAR_CONFIGURATION, 0), - (CANARY_CONFIGURATION, 0), - (DEPLOYMENT_EARLY_SUCCESS_CRITERIA, 0), - ), -) - -DEPLOYMENT_LIFECYCLE_HOOK_STATUS: StaticSchema = ( - 14, - n0, - _DLHSe, - 0, - (_AA, _IP, _SUCCEEDED, _FAILED, _TO), - ( - (-1, {_sV: _AA}), - (-1, {_sV: _IP}), - (-1, {_sV: _SUCCEEDED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _TO}), - ), -) - -DEPLOYMENT_LIFECYCLE_HOOK_DETAIL: StaticSchema = ( - 18, - n0, - _DLHDe, - 0, - (_hI, _tT, _tAar, _st, _eA, _tAi), - ( - (STRING, 0), - (DEPLOYMENT_LIFECYCLE_HOOK_TARGET_TYPE, 0), - (STRING, 0), - (DEPLOYMENT_LIFECYCLE_HOOK_STATUS, 0), - (TIMESTAMP, 0), - (DEPLOYMENT_LIFECYCLE_HOOK_ACTION, 0), - ), -) - -DEPLOYMENT_LIFECYCLE_HOOK_DETAIL_LIST: StaticSchema = ( - 16, - n0, - _DLHDL, - 0, - (_me,), - ((DEPLOYMENT_LIFECYCLE_HOOK_DETAIL, 0),), -) - -SERVICE_DEPLOYMENT_LIFECYCLE_STAGE: StaticSchema = ( - 14, - n0, - _SDLS, - 0, - (_RS_, _PSU, _SU, _PSU_, _TTS, _PTTS, _PTS, _PPTS_, _BT, _CU), - ( - (-1, {_sV: _RS_}), - (-1, {_sV: _PSU}), - (-1, {_sV: _SU}), - (-1, {_sV: _PSU_}), - (-1, {_sV: _TTS}), - (-1, {_sV: _PTTS}), - (-1, {_sV: _PTS}), - (-1, {_sV: _PPTS_}), - (-1, {_sV: _BT}), - (-1, {_sV: _CU}), - ), -) - -ROLLBACK: StaticSchema = ( - 18, - n0, - _Ro, - 0, - (_re, _sA, _sRA), - ((STRING, 0), (TIMESTAMP, 0), (STRING, 0)), -) - -SERVICE_REVISION_SUMMARY: StaticSchema = ( - 18, - n0, - _SRS, - 0, - (_ar, _rTCe, _rTCu, _pTCe, _rTTW, _rPTW), - ( - (STRING, 0), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (DOUBLE, {_smi: None}), - (DOUBLE, {_smi: None}), - ), -) - -SERVICE_REVISIONS_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _SRSL, - 0, - (_me,), - ((SERVICE_REVISION_SUMMARY, 0),), -) - -SERVICE_DEPLOYMENT_STATUS: StaticSchema = ( - 14, - n0, - _SDS, - 0, - (_PENDING, _SUCCESSFUL, _STOPPED, _SR, _IP, _RR_, _RIP, _RS, _RF__), - ( - (-1, {_sV: _PENDING}), - (-1, {_sV: _SUCCESSFUL}), - (-1, {_sV: _STOPPED}), - (-1, {_sV: _SR}), - (-1, {_sV: _IP}), - (-1, {_sV: _RR_}), - (-1, {_sV: _RIP}), - (-1, {_sV: _RS}), - (-1, {_sV: _RF__}), - ), -) - -SERVICE_DEPLOYMENT: StaticSchema = ( - 18, - n0, - _SD, - 0, - ( - _sDA, - _sAe, - _cA, - _cAr, - _sA, - _fA, - _sAt, - _uA, - _sSR, - _tSR, - _st, - _sR, - _lSif, - _lHD, - _dC, - _ro, - _dCB, - _al, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (SERVICE_REVISIONS_SUMMARY_LIST, 0), - (SERVICE_REVISION_SUMMARY, 0), - (SERVICE_DEPLOYMENT_STATUS, 0), - (STRING, 0), - (SERVICE_DEPLOYMENT_LIFECYCLE_STAGE, 0), - (DEPLOYMENT_LIFECYCLE_HOOK_DETAIL_LIST, 0), - (DEPLOYMENT_CONFIGURATION, 0), - (ROLLBACK, 0), - (SERVICE_DEPLOYMENT_CIRCUIT_BREAKER, 0), - (SERVICE_DEPLOYMENT_ALARMS, 0), - ), -) - -SERVICE_DEPLOYMENTS: StaticSchema = ( - 16, - n0, - _SDe, - 0, - (_me,), - ((SERVICE_DEPLOYMENT, 0),), -) - -DESCRIBE_SERVICE_DEPLOYMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSDO, - {_sSI: _cDSDRo, _smith: None}, - (_sD, _fa), - ((SERVICE_DEPLOYMENTS, 0), (FAILURES, 0)), -) - -DESCRIBE_SERVICE_DEPLOYMENTS: StaticOperationSchema = ( - 23, - n0, - _DSD, - 0, - DESCRIBE_SERVICE_DEPLOYMENTS_INPUT, - DESCRIBE_SERVICE_DEPLOYMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -EXPRESS_CPU_ARCHITECTURE: StaticSchema = ( - 14, - n0, - _ECAx, - 0, - (_X, _ARM), - ((-1, {_sV: _X}), (-1, {_sV: _ARM})), -) - -EXPRESS_GATEWAY_SERVICE_NETWORK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EGSNC, - 0, - (_sG, _su), - ((STRING_LIST, 0), (STRING_LIST, 0)), -) - -EXPRESS_GATEWAY_SERVICE_AWS_LOGS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EGSALC, - 0, - (_lG, _lSP), - ((STRING, 1), (STRING, 1)), -) - -EXPRESS_GATEWAY_REPOSITORY_CREDENTIALS: StaticSchema = ( - 18, - n0, - _EGRC, - 0, - (_cPr,), - ((STRING, 0),), -) - -EXPRESS_GATEWAY_CONTAINER: StaticSchema = ( - 18, - n0, - _EGC, - 0, - (_im, _cPo, _aLC, _rCe, _com, _env, _sec), - ( - (STRING, 1), - (BOXED_INTEGER, 0), - (EXPRESS_GATEWAY_SERVICE_AWS_LOGS_CONFIGURATION, 0), - (EXPRESS_GATEWAY_REPOSITORY_CREDENTIALS, 0), - (STRING_LIST, 0), - (ENVIRONMENT_VARIABLES, 0), - (SECRET_LIST, 0), - ), -) - -EXPRESS_GATEWAY_SERVICE_SCALING_METRIC: StaticSchema = ( - 14, - n0, - _EGSSM, - 0, - (_ACPUU, _AMU, _RCPT), - ((-1, {_sV: _AC___}), (-1, {_sV: _AM__}), (-1, {_sV: _RCPT_})), -) - -EXPRESS_GATEWAY_SCALING_TARGET: StaticSchema = ( - 18, - n0, - _EGST, - 0, - (_mTC, _mTCa, _aSM, _aSTV), - ( - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (EXPRESS_GATEWAY_SERVICE_SCALING_METRIC, 0), - (BOXED_INTEGER, 0), - ), -) - -CREATE_EXPRESS_GATEWAY_SERVICE_INPUT: StaticSchema = ( - 18, - n0, - _CEGSI, - {_sSI: _cCEGSR, _smit: None}, - (_eRA, _iRA, _sNe, _cl, _hCP, _pCri, _tRA, _nC, _cp, _memo, _cAp, _sTc, _ta, _tDA), - ( - (STRING, 0), - (STRING, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (EXPRESS_GATEWAY_CONTAINER, 0), - (STRING, 0), - (EXPRESS_GATEWAY_SERVICE_NETWORK_CONFIGURATION, 0), - (STRING, 0), - (STRING, 0), - (EXPRESS_CPU_ARCHITECTURE, 0), - (EXPRESS_GATEWAY_SCALING_TARGET, 0), - (TAGS, 0), - (STRING, 0), - ), -) - -INGRESS_PATH_SUMMARY: StaticSchema = ( - 18, - n0, - _IPS, - 0, - (_aTc, _end), - ((ACCESS_TYPE, 1), (STRING, 1)), -) - -INGRESS_PATH_SUMMARIES: StaticSchema = ( - 16, - n0, - _IPSn, - 0, - (_me,), - ((INGRESS_PATH_SUMMARY, 0),), -) - -EXPRESS_GATEWAY_SERVICE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EGSC, - 0, - (_sRA, _eRA, _tRA, _tDA, _cp, _memo, _cAp, _nC, _hCP, _pCri, _sTc, _iP, _cAr), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (EXPRESS_CPU_ARCHITECTURE, 0), - (EXPRESS_GATEWAY_SERVICE_NETWORK_CONFIGURATION, 0), - (STRING, 0), - (EXPRESS_GATEWAY_CONTAINER, 0), - (EXPRESS_GATEWAY_SCALING_TARGET, 0), - (INGRESS_PATH_SUMMARIES, 0), - (TIMESTAMP, 0), - ), -) - -EXPRESS_GATEWAY_SERVICE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _EGSCx, - 0, - (_me,), - ((EXPRESS_GATEWAY_SERVICE_CONFIGURATION, 0),), -) - -EXPRESS_GATEWAY_SERVICE_STATUS_CODE: StaticSchema = ( - 14, - n0, - _EGSSC, - 0, - (_ACTIVE, _DRAINING, _INACTIVE), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DRAINING}), (-1, {_sV: _INACTIVE})), -) - -EXPRESS_GATEWAY_SERVICE_STATUS: StaticSchema = ( - 18, - n0, - _EGSS, - 0, - (_sCt, _sR), - ((EXPRESS_GATEWAY_SERVICE_STATUS_CODE, 0), (STRING, 0)), -) - -ECS_EXPRESS_GATEWAY_SERVICE: StaticSchema = ( - 18, - n0, - _ECSEGS, - 0, - (_cl, _sNe, _sAe, _iRA, _st, _cDu, _aCc, _ta, _cAr, _uA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (EXPRESS_GATEWAY_SERVICE_STATUS, 0), - (STRING, 0), - (EXPRESS_GATEWAY_SERVICE_CONFIGURATIONS, 0), - (TAGS, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -CREATE_EXPRESS_GATEWAY_SERVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _CEGSO, - {_sSI: _cCEGSRo, _smith: None}, - (_ser,), - ((ECS_EXPRESS_GATEWAY_SERVICE, 0),), -) - -PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION: StaticSchema = ( - 18, - n0, - _PTDIE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -CREATE_EXPRESS_GATEWAY_SERVICE: StaticOperationSchema = ( - 23, - n0, - _CEGS, - 0, - CREATE_EXPRESS_GATEWAY_SERVICE_INPUT, - CREATE_EXPRESS_GATEWAY_SERVICE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, - PLATFORM_UNKNOWN_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -AVAILABILITY_ZONE_REBALANCING: StaticSchema = ( - 14, - n0, - _AZR, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -DEPLOYMENT_CONTROLLER_TYPE: StaticSchema = ( - 14, - n0, - _DCT, - 0, - (_ECS, _CD_, _EXTERNAL), - ((-1, {_sV: _ECS}), (-1, {_sV: _CD_}), (-1, {_sV: _EXTERNAL})), -) - -DEPLOYMENT_CONTROLLER: StaticSchema = ( - 18, - n0, - _DCepl, - 0, - (_ty,), - ((DEPLOYMENT_CONTROLLER_TYPE, 1),), -) - -GATEWAY_CONNECTOR_FILTERS: StaticSchema = ( - 18, - n0, - _GCF, - 0, - (_aTcc,), - ((ACCESS_TYPE_LIST, 0),), -) - -GATEWAY_CONNECTOR_HEALTH_CHECK_PROTOCOL: StaticSchema = ( - 14, - n0, - _GCHCP, - 0, - (_HTTP, _HTTPS), - ((-1, {_sV: _HTTP}), (-1, {_sV: _HTTPS})), -) - -GATEWAY_CONNECTOR_HEALTH_CHECK_MATCHER: StaticSchema = ( - 18, - n0, - _GCHCM, - 0, - (_hCt, _gC), - ((STRING, 0), (STRING, 0)), -) - -GATEWAY_CONNECTOR_HEALTH_CHECK: StaticSchema = ( - 18, - n0, - _GCHC, - 0, - (_hCPe, _hCPea, _hCP, _hCTS, _hCIS, _hTC, _uTC, _mat), - ( - (GATEWAY_CONNECTOR_HEALTH_CHECK_PROTOCOL, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (GATEWAY_CONNECTOR_HEALTH_CHECK_MATCHER, 0), - ), -) - -GATEWAY_CONNECTOR: StaticSchema = ( - 18, - n0, - _GCa, - 0, - (_pN, _hC, _fil), - ((STRING, 1), (GATEWAY_CONNECTOR_HEALTH_CHECK, 0), (GATEWAY_CONNECTOR_FILTERS, 0)), -) - -GATEWAY_CONNECTOR_LIST: StaticSchema = ( - 16, - n0, - _GCL, - 0, - (_me,), - ((GATEWAY_CONNECTOR, 0),), -) - -LOAD_BALANCER: StaticSchema = ( - 18, - n0, - _LB, - 0, - (_tGA, _lBN, _cNo, _cPo, _aCd), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (ADVANCED_CONFIGURATION, 0), - ), -) - -LOAD_BALANCERS: StaticSchema = (16, n0, _LBo, 0, (_me,), ((LOAD_BALANCER, 0),)) - -METRIC_NAME: StaticSchema = (3, n0, _MN, 0) - -METRIC_NAMES_LIST: StaticSchema = (16, n0, _MNL, 0, (_me,), ((METRIC_NAME, 0),)) - -METRIC_RESOLUTION_SECONDS: StaticSchema = (7, n0, _MRS, 0) - -METRIC_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MCe, - 0, - (_mN, _rS), - ((METRIC_NAMES_LIST, 1), (METRIC_RESOLUTION_SECONDS, 1)), -) - -METRIC_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _MCL, - 0, - (_me,), - ((METRIC_CONFIGURATION, 0),), -) - -MONITORING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MCo, - 0, - (_mC,), - ((METRIC_CONFIGURATION_LIST, 0),), -) - -ASSIGN_PUBLIC_IP: StaticSchema = ( - 14, - n0, - _API, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -AWS_VPC_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AVC, - 0, - (_su, _sG, _aPIs), - ((STRING_LIST, 1), (STRING_LIST, 0), (ASSIGN_PUBLIC_IP, 0)), -) - -NETWORK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _NC, - 0, - (_aCw,), - ((AWS_VPC_CONFIGURATION, 0),), -) - -PLACEMENT_CONSTRAINT_TYPE: StaticSchema = ( - 14, - n0, - _PCTl, - 0, - (_DI, _MO), - ((-1, {_sV: _dI}), (-1, {_sV: _mOe})), -) - -PLACEMENT_CONSTRAINT: StaticSchema = ( - 18, - n0, - _PCl, - 0, - (_ty, _ex), - ((PLACEMENT_CONSTRAINT_TYPE, 0), (STRING, 0)), -) - -PLACEMENT_CONSTRAINTS: StaticSchema = ( - 16, - n0, - _PCla, - 0, - (_me,), - ((PLACEMENT_CONSTRAINT, 0),), -) - -PLACEMENT_STRATEGY_TYPE: StaticSchema = ( - 14, - n0, - _PST, - 0, - (_RANDOM, _SPREAD, _BINPACK), - ((-1, {_sV: _ra}), (-1, {_sV: _spr}), (-1, {_sV: _bi})), -) - -PLACEMENT_STRATEGY: StaticSchema = ( - 18, - n0, - _PS, - 0, - (_ty, _fie), - ((PLACEMENT_STRATEGY_TYPE, 0), (STRING, 0)), -) - -PLACEMENT_STRATEGIES: StaticSchema = ( - 16, - n0, - _PSl, - 0, - (_me,), - ((PLACEMENT_STRATEGY, 0),), -) - -PROPAGATE_TAGS: StaticSchema = ( - 14, - n0, - _PT, - 0, - (_TD_, _SERVICE, _NONE), - ((-1, {_sV: _TD_}), (-1, {_sV: _SERVICE}), (-1, {_sV: _NONE})), -) - -SCHEDULING_STRATEGY: StaticSchema = ( - 14, - n0, - _SSc, - 0, - (_REPLICA, _DAEMON), - ((-1, {_sV: _REPLICA}), (-1, {_sV: _DAEMON})), -) - -SERVICE_CONNECT_ACCESS_LOGGING_FORMAT: StaticSchema = ( - 14, - n0, - _SCALF, - 0, - (_TEXT, _JSON), - ((-1, {_sV: _TEXT}), (-1, {_sV: _JSON})), -) - -SERVICE_CONNECT_INCLUDE_QUERY_PARAMETERS: StaticSchema = ( - 14, - n0, - _SCIQP, - 0, - (_DISABLED, _ENABLED), - ((-1, {_sV: _DISABLED}), (-1, {_sV: _ENABLED})), -) - -SERVICE_CONNECT_ACCESS_LOG_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCALC, - 0, - (_for, _iQP), - ( - (SERVICE_CONNECT_ACCESS_LOGGING_FORMAT, 1), - (SERVICE_CONNECT_INCLUDE_QUERY_PARAMETERS, 0), - ), -) - -SERVICE_CONNECT_CONTAINER_LOG_LEVEL: StaticSchema = ( - 14, - n0, - _SCCLL, - 0, - (_DEBUG, _INFO), - ((-1, {_sV: _deb}), (-1, {_sV: _info})), -) - -SERVICE_CONNECT_CONTAINER_CONFIGURATION: StaticSchema = ( - 19, - n0, - _SCCC, - 0, - (_lL,), - ((SERVICE_CONNECT_CONTAINER_LOG_LEVEL, 0),), -) - -SERVICE_CONNECT_CONTAINER_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _SCCCe, - 0, - (_me,), - ((SERVICE_CONNECT_CONTAINER_CONFIGURATION, 0),), -) - -PORT_NUMBER: StaticSchema = (7, n0, _PN, 0) - -SERVICE_CONNECT_TEST_TRAFFIC_HEADER_MATCH_RULES: StaticSchema = ( - 18, - n0, - _SCTTHMR, - 0, - (_exa,), - ((STRING, 1),), -) - -SERVICE_CONNECT_TEST_TRAFFIC_HEADER_RULES: StaticSchema = ( - 18, - n0, - _SCTTHR, - 0, - (_na, _va), - ((STRING, 1), (SERVICE_CONNECT_TEST_TRAFFIC_HEADER_MATCH_RULES, 0)), -) - -SERVICE_CONNECT_TEST_TRAFFIC_RULES: StaticSchema = ( - 18, - n0, - _SCTTR, - 0, - (_he,), - ((SERVICE_CONNECT_TEST_TRAFFIC_HEADER_RULES, 1),), -) - -SERVICE_CONNECT_CLIENT_ALIAS: StaticSchema = ( - 18, - n0, - _SCCA, - 0, - (_po, _dNn, _tTR), - ((PORT_NUMBER, 1), (STRING, 0), (SERVICE_CONNECT_TEST_TRAFFIC_RULES, 0)), -) - -SERVICE_CONNECT_CLIENT_ALIAS_LIST: StaticSchema = ( - 16, - n0, - _SCCAL, - 0, - (_me,), - ((SERVICE_CONNECT_CLIENT_ALIAS, 0),), -) - -DURATION: StaticSchema = (7, n0, _Du, 0) - -TIMEOUT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TCi, - 0, - (_iTS, _pRTS), - ((DURATION, 0), (DURATION, 0)), -) - -SERVICE_CONNECT_TLS_CERTIFICATE_AUTHORITY: StaticSchema = ( - 18, - n0, - _SCTCA, - 0, - (_aPAA,), - ((STRING, 0),), -) - -SERVICE_CONNECT_TLS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCTC, - 0, - (_iCA, _kK, _rA), - ((SERVICE_CONNECT_TLS_CERTIFICATE_AUTHORITY, 1), (STRING, 0), (STRING, 0)), -) - -SERVICE_CONNECT_SERVICE: StaticSchema = ( - 18, - n0, - _SCS, - 0, - (_pN, _dNis, _cAli, _iPO, _ti, _tl), - ( - (STRING, 1), - (STRING, 0), - (SERVICE_CONNECT_CLIENT_ALIAS_LIST, 0), - (PORT_NUMBER, 0), - (TIMEOUT_CONFIGURATION, 0), - (SERVICE_CONNECT_TLS_CONFIGURATION, 0), - ), -) - -SERVICE_CONNECT_SERVICE_LIST: StaticSchema = ( - 16, - n0, - _SCSL, - 0, - (_me,), - ((SERVICE_CONNECT_SERVICE, 0),), -) - -SERVICE_CONNECT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCC, - 0, - (_ena, _nam, _serv, _lC, _aLCc, _cCo), - ( - (BOOLEAN, {_smi: False, _sm: None}), - (STRING, 0), - (SERVICE_CONNECT_SERVICE_LIST, 0), - (LOG_CONFIGURATION, 0), - (SERVICE_CONNECT_ACCESS_LOG_CONFIGURATION, 0), - (SERVICE_CONNECT_CONTAINER_CONFIGURATIONS, 0), - ), -) - -SERVICE_REGISTRY: StaticSchema = ( - 18, - n0, - _SRe, - 0, - (_rAeg, _po, _cNo, _cPo), - ((STRING, 0), (BOXED_INTEGER, 0), (STRING, 0), (BOXED_INTEGER, 0)), -) - -SERVICE_REGISTRIES: StaticSchema = (16, n0, _SRer, 0, (_me,), ((SERVICE_REGISTRY, 0),)) - -TASK_FILESYSTEM_TYPE: StaticSchema = ( - 14, - n0, - _TFT, - 0, - (_EXT, _EXT_, _XFS, _NTFS), - ((-1, {_sV: _ext}), (-1, {_sV: _ext_}), (-1, {_sV: _xf}), (-1, {_sV: _nt})), -) - -EBSKMS_KEY_ID: StaticSchema = (3, n0, _EBSKMSKI, 0) - -EBS_SNAPSHOT_ID: StaticSchema = (3, n0, _EBSSI, 0) - -EBS_RESOURCE_TYPE: StaticSchema = (14, n0, _EBSRT, 0, (_VOLUME,), ((-1, {_sV: _vol}),)) - -EBS_TAG_SPECIFICATION: StaticSchema = ( - 18, - n0, - _EBSTS, - 0, - (_rT, _ta, _pT), - ((EBS_RESOURCE_TYPE, 1), (TAGS, 0), (PROPAGATE_TAGS, 0)), -) - -EBS_TAG_SPECIFICATIONS: StaticSchema = ( - 16, - n0, - _EBSTSa, - 0, - (_me,), - ((EBS_TAG_SPECIFICATION, 0),), -) - -EBS_VOLUME_TYPE: StaticSchema = (3, n0, _EBSVT, 0) - -SERVICE_MANAGED_EBS_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SMEBSVC, - 0, - (_enc, _kKI, _vT, _sIGB, _sIn, _vIR, _io, _thr, _tS, _rA, _fT), - ( - (BOXED_BOOLEAN, 0), - (EBSKMS_KEY_ID, 0), - (EBS_VOLUME_TYPE, 0), - (BOXED_INTEGER, 0), - (EBS_SNAPSHOT_ID, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (EBS_TAG_SPECIFICATIONS, 0), - (IAM_ROLE_ARN, 1), - (TASK_FILESYSTEM_TYPE, 0), - ), -) - -ECS_VOLUME_NAME: StaticSchema = (3, n0, _ECSVN, 0) - -SERVICE_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SVC, - 0, - (_na, _mEBSV), - ((ECS_VOLUME_NAME, 1), (SERVICE_MANAGED_EBS_VOLUME_CONFIGURATION, 0)), -) - -SERVICE_VOLUME_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _SVCe, - 0, - (_me,), - ((SERVICE_VOLUME_CONFIGURATION, 0),), -) - -VPC_LATTICE_ADVANCED_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VLAC, - 0, - (_aTGA, _pLR, _tLR), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -VPC_LATTICE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VLC, - 0, - (_rA, _tGA, _pN, _aCd), - ( - (IAM_ROLE_ARN, 1), - (STRING, 1), - (STRING, 1), - (VPC_LATTICE_ADVANCED_CONFIGURATION, 0), - ), -) - -VPC_LATTICE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _VLCp, - 0, - (_me,), - ((VPC_LATTICE_CONFIGURATION, 0),), -) - -CREATE_SERVICE_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_sSI: _cCSR, _smit: None}, - ( - _cl, - _sNe, - _tD, - _aZR, - _lB, - _sRe, - _dCe, - _cT, - _lT, - _cPS, - _pV, - _rol, - _dC, - _pC, - _pS, - _nC, - _hCGPS, - _sSc, - _dCep, - _ta, - _eECSMT, - _pT, - _eEC, - _sCC, - _vCo, - _vLC, - _gCa, - _mo, - ), - ( - (STRING, 0), - (STRING, 1), - (STRING, 0), - (AVAILABILITY_ZONE_REBALANCING, 0), - (LOAD_BALANCERS, 0), - (SERVICE_REGISTRIES, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - (LAUNCH_TYPE, 0), - (CAPACITY_PROVIDER_STRATEGY, 0), - (STRING, 0), - (STRING, 0), - (DEPLOYMENT_CONFIGURATION, 0), - (PLACEMENT_CONSTRAINTS, 0), - (PLACEMENT_STRATEGIES, 0), - (NETWORK_CONFIGURATION, 0), - (BOXED_INTEGER, 0), - (SCHEDULING_STRATEGY, 0), - (DEPLOYMENT_CONTROLLER, 0), - (TAGS, 0), - (BOOLEAN, {_smi: False}), - (PROPAGATE_TAGS, 0), - (BOOLEAN, {_smi: False}), - (SERVICE_CONNECT_CONFIGURATION, 0), - (SERVICE_VOLUME_CONFIGURATIONS, 0), - (VPC_LATTICE_CONFIGURATIONS, 0), - (GATEWAY_CONNECTOR_LIST, 0), - (MONITORING_CONFIGURATION, 0), - ), -) - -SERVICE_CURRENT_REVISION_SUMMARY: StaticSchema = ( - 18, - n0, - _SCRS, - 0, - (_ar, _rTCe, _rTCu, _pTCe), - ((STRING, 0), (INTEGER, {_smi: 0}), (INTEGER, {_smi: 0}), (INTEGER, {_smi: 0})), -) - -SERVICE_CURRENT_REVISION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _SCRSL, - 0, - (_me,), - ((SERVICE_CURRENT_REVISION_SUMMARY, 0),), -) - -DEPLOYMENT_EPHEMERAL_STORAGE: StaticSchema = (18, n0, _DES, 0, (_kKI,), ((STRING, 0),)) - -DEPLOYMENT_ROLLOUT_STATE: StaticSchema = ( - 14, - n0, - _DRS, - 0, - (_COMPLETED, _FAILED, _IP), - ((-1, {_sV: _COMPLETED}), (-1, {_sV: _FAILED}), (-1, {_sV: _IP})), -) - -SERVICE_CONNECT_SERVICE_RESOURCE: StaticSchema = ( - 18, - n0, - _SCSR, - 0, - (_dNis, _dAi), - ((STRING, 0), (STRING, 0)), -) - -SERVICE_CONNECT_SERVICE_RESOURCE_LIST: StaticSchema = ( - 16, - n0, - _SCSRL, - 0, - (_me,), - ((SERVICE_CONNECT_SERVICE_RESOURCE, 0),), -) - -DEPLOYMENT: StaticSchema = ( - 18, - n0, - _Dep, - 0, - ( - _id, - _st, - _tD, - _dCe, - _pCe, - _rC, - _fTa, - _cAr, - _uA, - _cPS, - _lT, - _pV, - _pF, - _nC, - _rSo, - _rSR, - _sCC, - _sCR, - _vCo, - _fES, - _vLC, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (CAPACITY_PROVIDER_STRATEGY, 0), - (LAUNCH_TYPE, 0), - (STRING, 0), - (STRING, 0), - (NETWORK_CONFIGURATION, 0), - (DEPLOYMENT_ROLLOUT_STATE, 0), - (STRING, 0), - (SERVICE_CONNECT_CONFIGURATION, 0), - (SERVICE_CONNECT_SERVICE_RESOURCE_LIST, 0), - (SERVICE_VOLUME_CONFIGURATIONS, 0), - (DEPLOYMENT_EPHEMERAL_STORAGE, 0), - (VPC_LATTICE_CONFIGURATIONS, 0), - ), -) - -DEPLOYMENTS: StaticSchema = (16, n0, _Depl, 0, (_me,), ((DEPLOYMENT, 0),)) - -SERVICE_EVENT: StaticSchema = ( - 18, - n0, - _SEe, - 0, - (_id, _cAr, _mes), - ((STRING, 0), (TIMESTAMP, 0), (STRING, 0)), -) - -SERVICE_EVENTS: StaticSchema = (16, n0, _SEer, 0, (_me,), ((SERVICE_EVENT, 0),)) - -RESOURCE_MANAGEMENT_TYPE: StaticSchema = ( - 14, - n0, - _RMT, - 0, - (_CUSTOMER, _ECS), - ((-1, {_sV: _CUSTOMER}), (-1, {_sV: _ECS})), -) - -SCALE_UNIT: StaticSchema = (14, n0, _SUc, 0, (_PERCENT,), ((-1, {_sV: _PERCENT}),)) - -SCALE: StaticSchema = ( - 18, - n0, - _Sca, - 0, - (_va, _un), - ((DOUBLE, {_smi: 0}), (SCALE_UNIT, 0)), -) - -STABILITY_STATUS: StaticSchema = ( - 14, - n0, - _SSt, - 0, - (_SS_, _STABILIZING), - ((-1, {_sV: _SS_}), (-1, {_sV: _STABILIZING})), -) - -TASK_SET: StaticSchema = ( - 18, - n0, - _TS, - 0, - ( - _id, - _tSA, - _sAe, - _cA, - _sB, - _eI, - _st, - _tD, - _cDC, - _pCe, - _rC, - _cAr, - _uA, - _lT, - _cPS, - _pV, - _pF, - _nC, - _lB, - _sRe, - _sca, - _sSt, - _sSA, - _ta, - _fES, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (LAUNCH_TYPE, 0), - (CAPACITY_PROVIDER_STRATEGY, 0), - (STRING, 0), - (STRING, 0), - (NETWORK_CONFIGURATION, 0), - (LOAD_BALANCERS, 0), - (SERVICE_REGISTRIES, 0), - (SCALE, 0), - (STABILITY_STATUS, 0), - (TIMESTAMP, 0), - (TAGS, 0), - (DEPLOYMENT_EPHEMERAL_STORAGE, 0), - ), -) - -TASK_SETS: StaticSchema = (16, n0, _TSa, 0, (_me,), ((TASK_SET, 0),)) - -SERVICE: StaticSchema = ( - 18, - n0, - _Ser, - 0, - ( - _sAe, - _sNe, - _cA, - _lB, - _sRe, - _st, - _dCe, - _rC, - _pCe, - _lT, - _cPS, - _pV, - _pF, - _tD, - _dC, - _tSa, - _dep, - _rA, - _ev, - _cAr, - _cSD, - _cSR, - _pC, - _pS, - _nC, - _hCGPS, - _sSc, - _dCep, - _ta, - _cBr, - _eECSMT, - _pT, - _eEC, - _aZR, - _rMT, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (LOAD_BALANCERS, 0), - (SERVICE_REGISTRIES, 0), - (STRING, 0), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (INTEGER, {_smi: 0}), - (LAUNCH_TYPE, 0), - (CAPACITY_PROVIDER_STRATEGY, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DEPLOYMENT_CONFIGURATION, 0), - (TASK_SETS, 0), - (DEPLOYMENTS, 0), - (STRING, 0), - (SERVICE_EVENTS, 0), - (TIMESTAMP, 0), - (STRING, 0), - (SERVICE_CURRENT_REVISION_SUMMARY_LIST, 0), - (PLACEMENT_CONSTRAINTS, 0), - (PLACEMENT_STRATEGIES, 0), - (NETWORK_CONFIGURATION, 0), - (BOXED_INTEGER, 0), - (SCHEDULING_STRATEGY, 0), - (DEPLOYMENT_CONTROLLER, 0), - (TAGS, 0), - (STRING, 0), - (BOOLEAN, {_smi: False}), - (PROPAGATE_TAGS, 0), - (BOOLEAN, {_smi: False}), - (AVAILABILITY_ZONE_REBALANCING, 0), - (RESOURCE_MANAGEMENT_TYPE, 0), - ), -) - -CREATE_SERVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_sSI: _cCSRo, _smith: None}, - (_ser,), - ((SERVICE, 0),), -) - -CREATE_SERVICE: StaticOperationSchema = ( - 23, - n0, - _CSr, - 0, - CREATE_SERVICE_INPUT, - CREATE_SERVICE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NAMESPACE_NOT_FOUND_EXCEPTION, - PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, - PLATFORM_UNKNOWN_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DELETE_EXPRESS_GATEWAY_SERVICE_INPUT: StaticSchema = ( - 18, - n0, - _DEGSI, - {_sSI: _cDEGSR, _smit: None}, - (_sAe,), - ((STRING, 1),), -) - -DELETE_EXPRESS_GATEWAY_SERVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _DEGSO, - {_sSI: _cDEGSRo, _smith: None}, - (_ser,), - ((ECS_EXPRESS_GATEWAY_SERVICE, 0),), -) - -SERVICE_NOT_ACTIVE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SNAE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -DELETE_EXPRESS_GATEWAY_SERVICE: StaticOperationSchema = ( - 23, - n0, - _DEGS, - 0, - DELETE_EXPRESS_GATEWAY_SERVICE_INPUT, - DELETE_EXPRESS_GATEWAY_SERVICE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_ACTIVE_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DELETE_SERVICE_INPUT: StaticSchema = ( - 18, - n0, - _DSI, - {_sSI: _cDSR, _smit: None}, - (_cl, _ser, _fo), - ((STRING, 0), (STRING, 1), (BOXED_BOOLEAN, 0)), -) - -DELETE_SERVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _DSO, - {_sSI: _cDSRo, _smith: None}, - (_ser,), - ((SERVICE, 0),), -) - -DELETE_SERVICE: StaticOperationSchema = ( - 23, - n0, - _DSel, - 0, - DELETE_SERVICE_INPUT, - DELETE_SERVICE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - ), -) - -EXPRESS_GATEWAY_SERVICE_INCLUDE: StaticSchema = ( - 14, - n0, - _EGSI, - 0, - (_TAGS,), - ((-1, {_sV: _TAGS}),), -) - -EXPRESS_GATEWAY_SERVICE_INCLUDE_LIST: StaticSchema = ( - 16, - n0, - _EGSIL, - 0, - (_me,), - ((EXPRESS_GATEWAY_SERVICE_INCLUDE, 0),), -) - -DESCRIBE_EXPRESS_GATEWAY_SERVICE_INPUT: StaticSchema = ( - 18, - n0, - _DEGSIe, - {_sSI: _cDEGSRom, _smit: None}, - (_sAe, _incl), - ((STRING, 1), (EXPRESS_GATEWAY_SERVICE_INCLUDE_LIST, 0)), -) - -DESCRIBE_EXPRESS_GATEWAY_SERVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _DEGSOe, - {_sSI: _cDEGSRoma, _smith: None}, - (_ser,), - ((ECS_EXPRESS_GATEWAY_SERVICE, 0),), -) - -DESCRIBE_EXPRESS_GATEWAY_SERVICE: StaticOperationSchema = ( - 23, - n0, - _DEGSe, - 0, - DESCRIBE_EXPRESS_GATEWAY_SERVICE_INPUT, - DESCRIBE_EXPRESS_GATEWAY_SERVICE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -SERVICE_FIELD: StaticSchema = (14, n0, _SF, 0, (_TAGS,), ((-1, {_sV: _TAGS}),)) - -SERVICE_FIELD_LIST: StaticSchema = (16, n0, _SFL, 0, (_me,), ((SERVICE_FIELD, 0),)) - -DESCRIBE_SERVICES_INPUT: StaticSchema = ( - 18, - n0, - _DSIe, - {_sSI: _cDSRom, _smit: None}, - (_cl, _serv, _incl), - ((STRING, 0), (STRING_LIST, 1), (SERVICE_FIELD_LIST, 0)), -) - -SERVICES: StaticSchema = (16, n0, _Serv, 0, (_me,), ((SERVICE, 0),)) - -DESCRIBE_SERVICES_OUTPUT: StaticSchema = ( - 18, - n0, - _DSOe, - {_sSI: _cDSRoma, _smith: None}, - (_serv, _fa), - ((SERVICES, 0), (FAILURES, 0)), -) - -DESCRIBE_SERVICES: StaticOperationSchema = ( - 23, - n0, - _DSes, - 0, - DESCRIBE_SERVICES_INPUT, - DESCRIBE_SERVICES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -SERVICE_DEPLOYMENT_STATUS_LIST: StaticSchema = ( - 16, - n0, - _SDSL, - 0, - (_me,), - ((SERVICE_DEPLOYMENT_STATUS, 0),), -) - -LIST_SERVICE_DEPLOYMENTS_INPUT: StaticSchema = ( - 18, - n0, - _LSDI, - {_sSI: _cLSDR, _smit: None}, - (_ser, _cl, _st, _cAr, _nT, _mR), - ( - (STRING, 1), - (STRING, 0), - (SERVICE_DEPLOYMENT_STATUS_LIST, 0), - (CREATED_AT, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - ), -) - -SERVICE_DEPLOYMENT_BRIEF: StaticSchema = ( - 18, - n0, - _SDB, - 0, - (_sDA, _sAe, _cA, _sA, _cAr, _fA, _tSRA, _st, _sR), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (STRING, 0), - (SERVICE_DEPLOYMENT_STATUS, 0), - (STRING, 0), - ), -) - -SERVICE_DEPLOYMENTS_BRIEF: StaticSchema = ( - 16, - n0, - _SDBe, - 0, - (_me,), - ((SERVICE_DEPLOYMENT_BRIEF, 0),), -) - -LIST_SERVICE_DEPLOYMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSDO, - {_sSI: _cLSDRo, _smith: None}, - (_sD, _nT), - ((SERVICE_DEPLOYMENTS_BRIEF, 0), (STRING, 0)), -) - -LIST_SERVICE_DEPLOYMENTS: StaticOperationSchema = ( - 23, - n0, - _LSD, - 0, - LIST_SERVICE_DEPLOYMENTS_INPUT, - LIST_SERVICE_DEPLOYMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -LIST_SERVICES_INPUT: StaticSchema = ( - 18, - n0, - _LSI, - {_sSI: _cLSR, _smit: None}, - (_cl, _nT, _mR, _lT, _sSc, _rMT), - ( - (STRING, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (LAUNCH_TYPE, 0), - (SCHEDULING_STRATEGY, 0), - (RESOURCE_MANAGEMENT_TYPE, 0), - ), -) - -LIST_SERVICES_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_sSI: _cLSRo, _smith: None}, - (_sAer, _nT), - ((STRING_LIST, 0), (STRING, 0)), -) - -LIST_SERVICES: StaticOperationSchema = ( - 23, - n0, - _LSi, - 0, - LIST_SERVICES_INPUT, - LIST_SERVICES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -RESOURCE_IDS: StaticSchema = (16, n0, _RI, 0, (_me,), ((STRING, 0),)) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CEo, - {_s: _c}, - (_rIe, _mes), - ((RESOURCE_IDS, 0), (STRING, 0)), -) - -STOP_SERVICE_DEPLOYMENT_STOP_TYPE: StaticSchema = ( - 14, - n0, - _SSDST, - 0, - (_ABORT, _ROLLBACK), - ((-1, {_sV: _ABORT}), (-1, {_sV: _ROLLBACK})), -) - -STOP_SERVICE_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _SSDI, - {_sSI: _cSSDR, _smit: None}, - (_sDA, _sTto), - ((STRING, 1), (STOP_SERVICE_DEPLOYMENT_STOP_TYPE, 0)), -) - -STOP_SERVICE_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _SSDO, - {_sSI: _cSSDRo, _smith: None}, - (_sDA,), - ((STRING, 0),), -) - -STOP_SERVICE_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _SSDt, - 0, - STOP_SERVICE_DEPLOYMENT_INPUT, - STOP_SERVICE_DEPLOYMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CONFLICT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_DEPLOYMENT_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -UPDATE_EXPRESS_GATEWAY_SERVICE_INPUT: StaticSchema = ( - 18, - n0, - _UEGSI, - {_sSI: _cUEGSR, _smit: None}, - (_sAe, _eRA, _hCP, _pCri, _tRA, _nC, _cp, _memo, _cAp, _sTc, _tDA), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (EXPRESS_GATEWAY_CONTAINER, 0), - (STRING, 0), - (EXPRESS_GATEWAY_SERVICE_NETWORK_CONFIGURATION, 0), - (STRING, 0), - (STRING, 0), - (EXPRESS_CPU_ARCHITECTURE, 0), - (EXPRESS_GATEWAY_SCALING_TARGET, 0), - (STRING, 0), - ), -) - -UPDATED_EXPRESS_GATEWAY_SERVICE: StaticSchema = ( - 18, - n0, - _UEGS, - 0, - (_sAe, _cl, _sNe, _st, _tCa, _cAr, _uA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (EXPRESS_GATEWAY_SERVICE_STATUS, 0), - (EXPRESS_GATEWAY_SERVICE_CONFIGURATION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -UPDATE_EXPRESS_GATEWAY_SERVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _UEGSO, - {_sSI: _cUEGSRo, _smith: None}, - (_ser,), - ((UPDATED_EXPRESS_GATEWAY_SERVICE, 0),), -) - -UPDATE_EXPRESS_GATEWAY_SERVICE: StaticOperationSchema = ( - 23, - n0, - _UEGSp, - 0, - UPDATE_EXPRESS_GATEWAY_SERVICE_INPUT, - UPDATE_EXPRESS_GATEWAY_SERVICE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_ACTIVE_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -UPDATE_SERVICE_INPUT: StaticSchema = ( - 18, - n0, - _USI, - {_sSI: _cUSR, _smit: None}, - ( - _cl, - _ser, - _dCe, - _tD, - _cPS, - _dC, - _aZR, - _nC, - _pC, - _pS, - _pV, - _fND, - _hCGPS, - _dCep, - _eEC, - _eECSMT, - _lB, - _pT, - _sRe, - _sCC, - _vCo, - _vLC, - _gCa, - _mo, - ), - ( - (STRING, 0), - (STRING, 1), - (BOXED_INTEGER, 0), - (STRING, 0), - (CAPACITY_PROVIDER_STRATEGY, 0), - (DEPLOYMENT_CONFIGURATION, 0), - (AVAILABILITY_ZONE_REBALANCING, 0), - (NETWORK_CONFIGURATION, 0), - (PLACEMENT_CONSTRAINTS, 0), - (PLACEMENT_STRATEGIES, 0), - (STRING, 0), - (BOOLEAN, {_smi: False}), - (BOXED_INTEGER, 0), - (DEPLOYMENT_CONTROLLER, 0), - (BOXED_BOOLEAN, 0), - (BOXED_BOOLEAN, 0), - (LOAD_BALANCERS, 0), - (PROPAGATE_TAGS, 0), - (SERVICE_REGISTRIES, 0), - (SERVICE_CONNECT_CONFIGURATION, 0), - (SERVICE_VOLUME_CONFIGURATIONS, 0), - (VPC_LATTICE_CONFIGURATIONS, 0), - (GATEWAY_CONNECTOR_LIST, 0), - (MONITORING_CONFIGURATION, 0), - ), -) - -UPDATE_SERVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _USO, - {_sSI: _cUSRo, _smith: None}, - (_ser,), - ((SERVICE, 0),), -) - -UPDATE_SERVICE: StaticOperationSchema = ( - 23, - n0, - _US, - 0, - UPDATE_SERVICE_INPUT, - UPDATE_SERVICE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NAMESPACE_NOT_FOUND_EXCEPTION, - PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, - PLATFORM_UNKNOWN_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_ACTIVE_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -TASK_SET_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _TSNFE, - {_s: _c}, - (_mes,), - ((STRING, 0),), -) - -UPDATE_SERVICE_PRIMARY_TASK_SET_INPUT: StaticSchema = ( - 18, - n0, - _USPTSI, - {_sSI: _cUSPTSR, _smit: None}, - (_cl, _ser, _pTS), - ((STRING, 1), (STRING, 1), (STRING, 1)), -) - -UPDATE_SERVICE_PRIMARY_TASK_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _USPTSO, - {_sSI: _cUSPTSRo, _smith: None}, - (_tSas,), - ((TASK_SET, 0),), -) - -UPDATE_SERVICE_PRIMARY_TASK_SET: StaticOperationSchema = ( - 23, - n0, - _USPTS, - 0, - UPDATE_SERVICE_PRIMARY_TASK_SET_INPUT, - UPDATE_SERVICE_PRIMARY_TASK_SET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_ACTIVE_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - TASK_SET_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DESCRIBE_SERVICE_REVISIONS_INPUT: StaticSchema = ( - 18, - n0, - _DSRI, - {_sSI: _cDSRR, _smit: None}, - (_sRAe,), - ((STRING_LIST, 1),), -) - -CONTAINER_IMAGE: StaticSchema = ( - 18, - n0, - _CIont, - 0, - (_cNo, _iD, _im), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -CONTAINER_IMAGES: StaticSchema = (16, n0, _CIonta, 0, (_me,), ((CONTAINER_IMAGE, 0),)) - -MANAGED_RESOURCE_STATUS: StaticSchema = ( - 14, - n0, - _MRSa, - 0, - (_PROVISIONING, _ACTIVE, _DEPROVISIONING, _DELETED, _FAILED), - ( - (-1, {_sV: _PROVISIONING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DEPROVISIONING}), - (-1, {_sV: _DELETED}), - (-1, {_sV: _FAILED}), - ), -) - -MANAGED_APPLICATION_AUTO_SCALING_POLICY: StaticSchema = ( - 18, - n0, - _MAASP, - 0, - (_ar, _st, _sR, _uA, _pTo, _tVa, _met), - ( - (STRING, 0), - (MANAGED_RESOURCE_STATUS, 1), - (STRING, 0), - (TIMESTAMP, 1), - (STRING, 1), - (DOUBLE, {_smi: 0, _sm: None}), - (STRING, 1), - ), -) - -MANAGED_APPLICATION_AUTO_SCALING_POLICIES: StaticSchema = ( - 16, - n0, - _MAASPa, - 0, - (_me,), - ((MANAGED_APPLICATION_AUTO_SCALING_POLICY, 0),), -) - -MANAGED_SCALABLE_TARGET: StaticSchema = ( - 18, - n0, - _MST, - 0, - (_ar, _st, _sR, _uA, _mCi, _mCa), - ( - (STRING, 0), - (MANAGED_RESOURCE_STATUS, 1), - (STRING, 0), - (TIMESTAMP, 1), - (INTEGER, {_smi: 0, _sm: None}), - (INTEGER, {_smi: 0, _sm: None}), - ), -) - -MANAGED_AUTO_SCALING: StaticSchema = ( - 18, - n0, - _MAS, - 0, - (_sTca, _aASP), - ((MANAGED_SCALABLE_TARGET, 0), (MANAGED_APPLICATION_AUTO_SCALING_POLICIES, 0)), -) - -GATEWAY_CONNECTION_ALB_RESOURCES: StaticSchema = ( - 18, - n0, - _GCAR, - 0, - (_aCA, _lBA, _lBSGA, _lA, _lRA, _tLRAe, _tGA, _aTGA), - ( - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - ), -) - -GATEWAY_CONNECTION_ALB_RESOURCES_LIST: StaticSchema = ( - 16, - n0, - _GCARL, - 0, - (_me,), - ((GATEWAY_CONNECTION_ALB_RESOURCES, 0),), -) - -GATEWAY_CONNECTION_RESOURCES: StaticSchema = ( - 19, - n0, - _GCR, - 0, - (_hSA,), - ((GATEWAY_CONNECTION_ALB_RESOURCES_LIST, 0),), -) - -GATEWAY_CONNECTION: StaticSchema = ( - 18, - n0, - _GCat, - 0, - (_gA, _gRAa, _pN, _sUe, _aTc, _st, _res), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ACCESS_TYPE, 0), - (GATEWAY_ROUTE_STATUS, 0), - (GATEWAY_CONNECTION_RESOURCES, 0), - ), -) - -GATEWAY_CONNECTION_LIST: StaticSchema = ( - 16, - n0, - _GCLa, - 0, - (_me,), - ((GATEWAY_CONNECTION, 0),), -) - -MANAGED_CERTIFICATE: StaticSchema = ( - 18, - n0, - _MCa, - 0, - (_ar, _st, _sR, _uA, _dNo), - ( - (STRING, 0), - (MANAGED_RESOURCE_STATUS, 1), - (STRING, 0), - (TIMESTAMP, 1), - (STRING, 1), - ), -) - -MANAGED_LISTENER: StaticSchema = ( - 18, - n0, - _ML, - 0, - (_ar, _st, _sR, _uA), - ((STRING, 0), (MANAGED_RESOURCE_STATUS, 1), (STRING, 0), (TIMESTAMP, 1)), -) - -MANAGED_LOAD_BALANCER: StaticSchema = ( - 18, - n0, - _MLB, - 0, - (_ar, _st, _sR, _uA, _sch, _sIu, _sGI), - ( - (STRING, 0), - (MANAGED_RESOURCE_STATUS, 1), - (STRING, 0), - (TIMESTAMP, 1), - (STRING, 1), - (STRING_LIST, 0), - (STRING_LIST, 0), - ), -) - -MANAGED_SECURITY_GROUP: StaticSchema = ( - 18, - n0, - _MSG, - 0, - (_ar, _st, _sR, _uA), - ((STRING, 0), (MANAGED_RESOURCE_STATUS, 1), (STRING, 0), (TIMESTAMP, 1)), -) - -MANAGED_SECURITY_GROUPS: StaticSchema = ( - 16, - n0, - _MSGa, - 0, - (_me,), - ((MANAGED_SECURITY_GROUP, 0),), -) - -MANAGED_LISTENER_RULE: StaticSchema = ( - 18, - n0, - _MLR, - 0, - (_ar, _st, _sR, _uA), - ((STRING, 0), (MANAGED_RESOURCE_STATUS, 1), (STRING, 0), (TIMESTAMP, 1)), -) - -MANAGED_TARGET_GROUP: StaticSchema = ( - 18, - n0, - _MTG, - 0, - (_ar, _st, _sR, _uA, _hCP, _hCPea, _po), - ( - (STRING, 0), - (MANAGED_RESOURCE_STATUS, 1), - (STRING, 0), - (TIMESTAMP, 1), - (STRING, 1), - (INTEGER, {_smi: 0, _sm: None}), - (INTEGER, {_smi: 0, _sm: None}), - ), -) - -MANAGED_TARGET_GROUPS: StaticSchema = ( - 16, - n0, - _MTGa, - 0, - (_me,), - ((MANAGED_TARGET_GROUP, 0),), -) - -MANAGED_INGRESS_PATH: StaticSchema = ( - 18, - n0, - _MIPa, - 0, - (_aTc, _end, _lBo, _lBSG, _ce, _lis, _ru, _tG), - ( - (ACCESS_TYPE, 1), - (STRING, 1), - (MANAGED_LOAD_BALANCER, 0), - (MANAGED_SECURITY_GROUPS, 0), - (MANAGED_CERTIFICATE, 0), - (MANAGED_LISTENER, 0), - (MANAGED_LISTENER_RULE, 0), - (MANAGED_TARGET_GROUPS, 0), - ), -) - -MANAGED_INGRESS_PATHS: StaticSchema = ( - 16, - n0, - _MIPan, - 0, - (_me,), - ((MANAGED_INGRESS_PATH, 0),), -) - -MANAGED_LOG_GROUP: StaticSchema = ( - 18, - n0, - _MLG, - 0, - (_ar, _st, _sR, _uA, _lGN), - ( - (STRING, 0), - (MANAGED_RESOURCE_STATUS, 1), - (STRING, 0), - (TIMESTAMP, 1), - (STRING, 1), - ), -) - -MANAGED_LOG_GROUPS: StaticSchema = (16, n0, _MLGa, 0, (_me,), ((MANAGED_LOG_GROUP, 0),)) - -MANAGED_METRIC_ALARM: StaticSchema = ( - 18, - n0, - _MMA, - 0, - (_ar, _st, _sR, _uA), - ((STRING, 0), (MANAGED_RESOURCE_STATUS, 1), (STRING, 0), (TIMESTAMP, 1)), -) - -MANAGED_METRIC_ALARMS: StaticSchema = ( - 16, - n0, - _MMAa, - 0, - (_me,), - ((MANAGED_METRIC_ALARM, 0),), -) - -ECS_MANAGED_RESOURCES: StaticSchema = ( - 18, - n0, - _ECSMR, - 0, - (_iP, _aSu, _mAe, _sSG, _lGo, _gCat), - ( - (MANAGED_INGRESS_PATHS, 0), - (MANAGED_AUTO_SCALING, 0), - (MANAGED_METRIC_ALARMS, 0), - (MANAGED_SECURITY_GROUPS, 0), - (MANAGED_LOG_GROUPS, 0), - (GATEWAY_CONNECTION_LIST, 0), - ), -) - -RUNTIME_PLATFORM_OVERRIDE: StaticSchema = (18, n0, _RPO, 0, (_cAp,), ((STRING, 0),)) - -SERVICE_REVISION_OVERRIDES: StaticSchema = ( - 18, - n0, - _SRO, - 0, - (_rPu,), - ((RUNTIME_PLATFORM_OVERRIDE, 0),), -) - -SERVICE_REVISION_LOAD_BALANCER: StaticSchema = ( - 18, - n0, - _SRLB, - 0, - (_tGA, _pLR), - ((STRING, 0), (STRING, 0)), -) - -SERVICE_REVISION_LOAD_BALANCERS: StaticSchema = ( - 16, - n0, - _SRLBe, - 0, - (_me,), - ((SERVICE_REVISION_LOAD_BALANCER, 0),), -) - -SERVICE_REVISION_VPC_LATTICE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SRVLC, - 0, - (_tGA, _pLR), - ((STRING, 0), (STRING, 0)), -) - -SERVICE_REVISION_VPC_LATTICE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _SRVLCe, - 0, - (_me,), - ((SERVICE_REVISION_VPC_LATTICE_CONFIGURATION, 0),), -) - -RESOLVED_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RCe, - 0, - (_lB, _vLC), - ( - (SERVICE_REVISION_LOAD_BALANCERS, 0), - (SERVICE_REVISION_VPC_LATTICE_CONFIGURATIONS, 0), - ), -) - -SERVICE_REVISION: StaticSchema = ( - 18, - n0, - _SRerv, - 0, - ( - _sRA, - _sAe, - _cA, - _tD, - _cPS, - _lT, - _pV, - _pF, - _lB, - _sRe, - _nC, - _cIont, - _gDE, - _sCC, - _vCo, - _fES, - _cAr, - _vLC, - _rCes, - _eMR, - _ov, - _gCa, - _mo, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CAPACITY_PROVIDER_STRATEGY, 0), - (LAUNCH_TYPE, 0), - (STRING, 0), - (STRING, 0), - (LOAD_BALANCERS, 0), - (SERVICE_REGISTRIES, 0), - (NETWORK_CONFIGURATION, 0), - (CONTAINER_IMAGES, 0), - (BOOLEAN, {_smi: False}), - (SERVICE_CONNECT_CONFIGURATION, 0), - (SERVICE_VOLUME_CONFIGURATIONS, 0), - (DEPLOYMENT_EPHEMERAL_STORAGE, 0), - (TIMESTAMP, 0), - (VPC_LATTICE_CONFIGURATIONS, 0), - (RESOLVED_CONFIGURATION, 0), - (ECS_MANAGED_RESOURCES, 0), - (SERVICE_REVISION_OVERRIDES, 0), - (GATEWAY_CONNECTOR_LIST, 0), - (MONITORING_CONFIGURATION, 0), - ), -) - -SERVICE_REVISIONS: StaticSchema = (16, n0, _SRervi, 0, (_me,), ((SERVICE_REVISION, 0),)) - -DESCRIBE_SERVICE_REVISIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSRO, - {_sSI: _cDSRRo, _smith: None}, - (_sRer, _fa), - ((SERVICE_REVISIONS, 0), (FAILURES, 0)), -) - -DESCRIBE_SERVICE_REVISIONS: StaticOperationSchema = ( - 23, - n0, - _DSR, - 0, - DESCRIBE_SERVICE_REVISIONS_INPUT, - DESCRIBE_SERVICE_REVISIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smit: None}, - (_rAes, _ta), - ((STRING, 1), (TAGS, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smith: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - 0, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -DELETE_TASK_DEFINITIONS_INPUT: StaticSchema = ( - 18, - n0, - _DTDIel, - {_sSI: _cDTDRomam, _smit: None}, - (_tDa,), - ((STRING_LIST, 1),), -) - -TASK_DEFINITION_LIST: StaticSchema = (16, n0, _TDL, 0, (_me,), ((TASK_DEFINITION, 0),)) - -DELETE_TASK_DEFINITIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTDOel, - {_sSI: _cDTDRomama, _smith: None}, - (_tDa, _fa), - ((TASK_DEFINITION_LIST, 0), (FAILURES, 0)), -) - -DELETE_TASK_DEFINITIONS: StaticOperationSchema = ( - 23, - n0, - _DTDel, - 0, - DELETE_TASK_DEFINITIONS_INPUT, - DELETE_TASK_DEFINITIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -LIST_TASK_DEFINITIONS_INPUT: StaticSchema = ( - 18, - n0, - _LTDI, - {_sSI: _cLTDR, _smit: None}, - (_fP, _st, _so, _nT, _mR), - ( - (STRING, 0), - (TASK_DEFINITION_STATUS, 0), - (SORT_ORDER, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - ), -) - -LIST_TASK_DEFINITIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTDO, - {_sSI: _cLTDRo, _smith: None}, - (_tDAa, _nT), - ((STRING_LIST, 0), (STRING, 0)), -) - -LIST_TASK_DEFINITIONS: StaticOperationSchema = ( - 23, - n0, - _LTD, - 0, - LIST_TASK_DEFINITIONS_INPUT, - LIST_TASK_DEFINITIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -REGISTER_TASK_DEFINITION_INPUT: StaticSchema = ( - 18, - n0, - _RTDI, - {_sSI: _cRTDR, _smit: None}, - ( - _fam, - _tRA, - _eRA, - _nMe, - _cD, - _vo, - _pC, - _rCeq, - _cp, - _memo, - _ta, - _pM, - _iM, - _pCr, - _iAn, - _eS, - _rPu, - _eFI, - _tEC, - ), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (NETWORK_MODE, 0), - (CONTAINER_DEFINITIONS, 1), - (VOLUME_LIST, 0), - (TASK_DEFINITION_PLACEMENT_CONSTRAINTS, 0), - (COMPATIBILITY_LIST, 0), - (STRING, 0), - (STRING, 0), - (TAGS, 0), - (PID_MODE, 0), - (IPC_MODE, 0), - (PROXY_CONFIGURATION, 0), - (INFERENCE_ACCELERATORS, 0), - (EPHEMERAL_STORAGE, 0), - (RUNTIME_PLATFORM, 0), - (BOXED_BOOLEAN, 0), - (TRUSTED_EXECUTION_CONFIGURATION, 0), - ), -) - -REGISTER_TASK_DEFINITION_OUTPUT: StaticSchema = ( - 18, - n0, - _RTDO, - {_sSI: _cRTDRo, _smith: None}, - (_tD, _ta), - ((TASK_DEFINITION, 0), (TAGS, 0)), -) - -REGISTER_TASK_DEFINITION: StaticOperationSchema = ( - 23, - n0, - _RTD, - 0, - REGISTER_TASK_DEFINITION_INPUT, - REGISTER_TASK_DEFINITION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -TASK_FIELD: StaticSchema = (14, n0, _TF, 0, (_TAGS,), ((-1, {_sV: _TAGS}),)) - -TASK_FIELD_LIST: StaticSchema = (16, n0, _TFL, 0, (_me,), ((TASK_FIELD, 0),)) - -DESCRIBE_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DTI, - {_sSI: _cDTR, _smit: None}, - (_cl, _task, _incl), - ((STRING, 0), (STRING_LIST, 1), (TASK_FIELD_LIST, 0)), -) - -CONNECTIVITY: StaticSchema = ( - 14, - n0, - _Con, - 0, - (_CONNECTED, _DISCONNECTED), - ((-1, {_sV: _CONNECTED}), (-1, {_sV: _DISCONNECTED})), -) - -GPU_IDS: StaticSchema = (16, n0, _GI, 0, (_me,), ((STRING, 0),)) - -HEALTH_STATUS: StaticSchema = ( - 14, - n0, - _HS, - 0, - (_HEALTHY, _UNHEALTHY, _UNKNOWN), - ((-1, {_sV: _HEALTHY}), (-1, {_sV: _UNHEALTHY}), (-1, {_sV: _UNKNOWN})), -) - -MANAGED_AGENT: StaticSchema = ( - 18, - n0, - _MA, - 0, - (_lSA, _na, _re, _lSa), - ((TIMESTAMP, 0), (MANAGED_AGENT_NAME, 0), (STRING, 0), (STRING, 0)), -) - -MANAGED_AGENTS: StaticSchema = (16, n0, _MAa, 0, (_me,), ((MANAGED_AGENT, 0),)) - -NETWORK_INTERFACE: StaticSchema = ( - 18, - n0, - _NI, - 0, - (_aI, _pIA, _iAp), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -NETWORK_INTERFACES: StaticSchema = (16, n0, _NIe, 0, (_me,), ((NETWORK_INTERFACE, 0),)) - -NEURON_DEVICE_IDS: StaticSchema = (16, n0, _NDI, 0, (_me,), ((STRING, 0),)) - -CONTAINER: StaticSchema = ( - 18, - n0, - _Cont, - 0, - ( - _cAo, - _tA, - _na, - _im, - _iD, - _rI, - _lSa, - _eC, - _re, - _nB, - _nI, - _hS, - _mA, - _cp, - _memo, - _mRe, - _gIp, - _nDI, - _gSS, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (STRING, 0), - (NETWORK_BINDINGS, 0), - (NETWORK_INTERFACES, 0), - (HEALTH_STATUS, 0), - (MANAGED_AGENTS, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (GPU_IDS, 0), - (NEURON_DEVICE_IDS, 0), - (SHARING_STRATEGY, 0), - ), -) - -CONTAINERS: StaticSchema = (16, n0, _Conta, 0, (_me,), ((CONTAINER, 0),)) - -TASK_EPHEMERAL_STORAGE: StaticSchema = ( - 18, - n0, - _TES, - 0, - (_sIGB, _kKI), - ((INTEGER, {_smi: 0}), (STRING, 0)), -) - -CONTAINER_OVERRIDE: StaticSchema = ( - 18, - n0, - _CO, - 0, - (_na, _com, _env, _eF, _cp, _memo, _mRe, _rRes), - ( - (STRING, 0), - (STRING_LIST, 0), - (ENVIRONMENT_VARIABLES, 0), - (ENVIRONMENT_FILES, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (RESOURCE_REQUIREMENTS, 0), - ), -) - -CONTAINER_OVERRIDES: StaticSchema = ( - 16, - n0, - _COo, - 0, - (_me,), - ((CONTAINER_OVERRIDE, 0),), -) - -INFERENCE_ACCELERATOR_OVERRIDE: StaticSchema = ( - 18, - n0, - _IAO, - 0, - (_dNe, _dT), - ((STRING, 0), (STRING, 0)), -) - -INFERENCE_ACCELERATOR_OVERRIDES: StaticSchema = ( - 16, - n0, - _IAOn, - 0, - (_me,), - ((INFERENCE_ACCELERATOR_OVERRIDE, 0),), -) - -TASK_OVERRIDE: StaticSchema = ( - 18, - n0, - _TOa, - 0, - (_cO, _cp, _iAO, _eRA, _memo, _tRA, _eS), - ( - (CONTAINER_OVERRIDES, 0), - (STRING, 0), - (INFERENCE_ACCELERATOR_OVERRIDES, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (EPHEMERAL_STORAGE, 0), - ), -) - -TASK_STOP_CODE: StaticSchema = ( - 14, - n0, - _TSC, - 0, - (_TFTS, _ECE, _UI, _SSI, _SI, _TN, _IH), - ( - (-1, {_sV: _TFTSa}), - (-1, {_sV: _ECEs}), - (-1, {_sV: _UIs}), - (-1, {_sV: _SSIe}), - (-1, {_sV: _SIp}), - (-1, {_sV: _TNe}), - (-1, {_sV: _IHn}), - ), -) - -ATTESTATION_POLICY_STATUS: StaticSchema = ( - 14, - n0, - _APS, - 0, - (_CONFIGURED,), - ((-1, {_sV: _CONFIGURED}),), -) - -TRUSTED_EXECUTION_SUMMARY: StaticSchema = ( - 18, - n0, - _TESr, - 0, - (_iMs, _aPS), - ((ISOLATION_MODE, 1), (ATTESTATION_POLICY_STATUS, 0)), -) - -TASK: StaticSchema = ( - 18, - n0, - _Tas, - 0, - ( - _at, - _att, - _aZ, - _cPN, - _cA, - _conn, - _cAon, - _cIA, - _cont, - _cp, - _cAr, - _dS, - _eEC, - _eSA, - _gro, - _hS, - _iAn, - _lSa, - _lT, - _memo, - _ov, - _pV, - _pF, - _pSA, - _pSAu, - _sA, - _sB, - _sCto, - _sAt, - _sRt, - _sAto, - _ta, - _tA, - _tDA, - _ve, - _eS, - _fES, - _tES, - ), - ( - (ATTACHMENTS, 0), - (ATTRIBUTES, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CONNECTIVITY, 0), - (TIMESTAMP, 0), - (STRING, 0), - (CONTAINERS, 0), - (STRING, 0), - (TIMESTAMP, 0), - (STRING, 0), - (BOOLEAN, {_smi: False}), - (TIMESTAMP, 0), - (STRING, 0), - (HEALTH_STATUS, 0), - (INFERENCE_ACCELERATORS, 0), - (STRING, 0), - (LAUNCH_TYPE, 0), - (STRING, 0), - (TASK_OVERRIDE, 0), - (STRING, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (STRING, 0), - (TASK_STOP_CODE, 0), - (TIMESTAMP, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TAGS, 0), - (STRING, 0), - (STRING, 0), - (LONG, {_smi: 0}), - (EPHEMERAL_STORAGE, 0), - (TASK_EPHEMERAL_STORAGE, 0), - (TRUSTED_EXECUTION_SUMMARY, 0), - ), -) - -TASKS: StaticSchema = (16, n0, _Task, 0, (_me,), ((TASK, 0),)) - -DESCRIBE_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTO, - {_sSI: _cDTRo, _smith: None}, - (_task, _fa), - ((TASKS, 0), (FAILURES, 0)), -) - -DESCRIBE_TASKS: StaticOperationSchema = ( - 23, - n0, - _DT, - 0, - DESCRIBE_TASKS_INPUT, - DESCRIBE_TASKS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -GET_TASK_PROTECTION_INPUT: StaticSchema = ( - 18, - n0, - _GTPI, - {_sSI: _cGTPR, _smit: None}, - (_cl, _task), - ((STRING, 1), (STRING_LIST, 0)), -) - -PROTECTED_TASK: StaticSchema = ( - 18, - n0, - _PTr, - 0, - (_tA, _pE, _eD), - ((STRING, 0), (BOOLEAN, {_smi: False}), (TIMESTAMP, 0)), -) - -PROTECTED_TASKS: StaticSchema = (16, n0, _PTro, 0, (_me,), ((PROTECTED_TASK, 0),)) - -GET_TASK_PROTECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GTPO, - {_sSI: _cGTPRo, _smith: None}, - (_pTr, _fa), - ((PROTECTED_TASKS, 0), (FAILURES, 0)), -) - -GET_TASK_PROTECTION: StaticOperationSchema = ( - 23, - n0, - _GTP, - 0, - GET_TASK_PROTECTION_INPUT, - GET_TASK_PROTECTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -BLOCKED_EXCEPTION: StaticSchema = (18, n0, _BE, {_s: _c}, (_mes,), ((STRING, 0),)) - -TASK_MANAGED_EBS_VOLUME_TERMINATION_POLICY: StaticSchema = ( - 18, - n0, - _TMEBSVTP, - 0, - (_dOT,), - ((BOXED_BOOLEAN, 1),), -) - -TASK_MANAGED_EBS_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TMEBSVC, - 0, - (_enc, _kKI, _vT, _sIGB, _sIn, _vIR, _io, _thr, _tS, _rA, _tP, _fT), - ( - (BOXED_BOOLEAN, 0), - (EBSKMS_KEY_ID, 0), - (EBS_VOLUME_TYPE, 0), - (BOXED_INTEGER, 0), - (EBS_SNAPSHOT_ID, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (BOXED_INTEGER, 0), - (EBS_TAG_SPECIFICATIONS, 0), - (IAM_ROLE_ARN, 1), - (TASK_MANAGED_EBS_VOLUME_TERMINATION_POLICY, 0), - (TASK_FILESYSTEM_TYPE, 0), - ), -) - -TASK_VOLUME_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TVC, - 0, - (_na, _mEBSV), - ((ECS_VOLUME_NAME, 1), (TASK_MANAGED_EBS_VOLUME_CONFIGURATION, 0)), -) - -TASK_VOLUME_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _TVCa, - 0, - (_me,), - ((TASK_VOLUME_CONFIGURATION, 0),), -) - -RUN_TASK_INPUT: StaticSchema = ( - 18, - n0, - _RTI, - {_sSI: _cRTR, _smit: None}, - ( - _cPS, - _cl, - _cou, - _eECSMT, - _eEC, - _gro, - _lT, - _nC, - _ov, - _pC, - _pS, - _pV, - _pT, - _rIef, - _sB, - _ta, - _tD, - _cT, - _vCo, - ), - ( - (CAPACITY_PROVIDER_STRATEGY, 0), - (STRING, 0), - (BOXED_INTEGER, 0), - (BOOLEAN, {_smi: False}), - (BOOLEAN, {_smi: False}), - (STRING, 0), - (LAUNCH_TYPE, 0), - (NETWORK_CONFIGURATION, 0), - (TASK_OVERRIDE, 0), - (PLACEMENT_CONSTRAINTS, 0), - (PLACEMENT_STRATEGIES, 0), - (STRING, 0), - (PROPAGATE_TAGS, 0), - (STRING, 0), - (STRING, 0), - (TAGS, 0), - (STRING, 1), - (STRING, 2), - (TASK_VOLUME_CONFIGURATIONS, 0), - ), -) - -RUN_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _RTO, - {_sSI: _cRTRo, _smith: None}, - (_task, _fa), - ((TASKS, 0), (FAILURES, 0)), -) - -RUN_TASK: StaticOperationSchema = ( - 23, - n0, - _RTu, - 0, - RUN_TASK_INPUT, - RUN_TASK_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BLOCKED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - CONFLICT_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, - PLATFORM_UNKNOWN_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -START_TASK_INPUT: StaticSchema = ( - 18, - n0, - _STI, - {_sSI: _cSTR, _smit: None}, - (_cl, _cIon, _eECSMT, _eEC, _gro, _nC, _ov, _pT, _rIef, _sB, _ta, _tD, _vCo), - ( - (STRING, 0), - (STRING_LIST, 1), - (BOOLEAN, {_smi: False}), - (BOOLEAN, {_smi: False}), - (STRING, 0), - (NETWORK_CONFIGURATION, 0), - (TASK_OVERRIDE, 0), - (PROPAGATE_TAGS, 0), - (STRING, 0), - (STRING, 0), - (TAGS, 0), - (STRING, 1), - (TASK_VOLUME_CONFIGURATIONS, 0), - ), -) - -START_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _STO, - {_sSI: _cSTRo, _smith: None}, - (_task, _fa), - ((TASKS, 0), (FAILURES, 0)), -) - -START_TASK: StaticOperationSchema = ( - 23, - n0, - _STt, - 0, - START_TASK_INPUT, - START_TASK_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NAMESPACE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -STOP_TASK_INPUT: StaticSchema = ( - 18, - n0, - _STIt, - {_sSI: _cSTRom, _smit: None}, - (_cl, _tas, _re), - ((STRING, 0), (STRING, 1), (STRING, 0)), -) - -STOP_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _STOt, - {_sSI: _cSTRoma, _smith: None}, - (_tas,), - ((TASK, 0),), -) - -STOP_TASK: StaticOperationSchema = ( - 23, - n0, - _STto, - 0, - STOP_TASK_INPUT, - STOP_TASK_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -UPDATE_TASK_PROTECTION_INPUT: StaticSchema = ( - 18, - n0, - _UTPI, - {_sSI: _cUTPR, _smit: None}, - (_cl, _task, _pE, _eIM), - ( - (STRING, 1), - (STRING_LIST, 1), - (BOOLEAN, {_smi: False, _sm: None}), - (BOXED_INTEGER, 0), - ), -) - -UPDATE_TASK_PROTECTION_OUTPUT: StaticSchema = ( - 18, - n0, - _UTPO, - {_sSI: _cUTPRo, _smith: None}, - (_pTr, _fa), - ((PROTECTED_TASKS, 0), (FAILURES, 0)), -) - -UPDATE_TASK_PROTECTION: StaticOperationSchema = ( - 23, - n0, - _UTP, - 0, - UPDATE_TASK_PROTECTION_INPUT, - UPDATE_TASK_PROTECTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -CREATE_TASK_SET_INPUT: StaticSchema = ( - 18, - n0, - _CTSI, - {_sSI: _cCTSR, _smit: None}, - (_ser, _cl, _eI, _tD, _nC, _lB, _sRe, _lT, _cPS, _pV, _sca, _cT, _ta), - ( - (STRING, 1), - (STRING, 1), - (STRING, 0), - (STRING, 1), - (NETWORK_CONFIGURATION, 0), - (LOAD_BALANCERS, 0), - (SERVICE_REGISTRIES, 0), - (LAUNCH_TYPE, 0), - (CAPACITY_PROVIDER_STRATEGY, 0), - (STRING, 0), - (SCALE, 0), - (STRING, 0), - (TAGS, 0), - ), -) - -CREATE_TASK_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _CTSO, - {_sSI: _cCTSRo, _smith: None}, - (_tSas,), - ((TASK_SET, 0),), -) - -CREATE_TASK_SET: StaticOperationSchema = ( - 23, - n0, - _CTS, - 0, - CREATE_TASK_SET_INPUT, - CREATE_TASK_SET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NAMESPACE_NOT_FOUND_EXCEPTION, - PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, - PLATFORM_UNKNOWN_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_ACTIVE_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -DELETE_TASK_SET_INPUT: StaticSchema = ( - 18, - n0, - _DTSI, - {_sSI: _cDTSR, _smit: None}, - (_cl, _ser, _tSas, _fo), - ((STRING, 1), (STRING, 1), (STRING, 1), (BOXED_BOOLEAN, 0)), -) - -DELETE_TASK_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _DTSO, - {_sSI: _cDTSRo, _smith: None}, - (_tSas,), - ((TASK_SET, 0),), -) - -DELETE_TASK_SET: StaticOperationSchema = ( - 23, - n0, - _DTS, - 0, - DELETE_TASK_SET_INPUT, - DELETE_TASK_SET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_ACTIVE_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - TASK_SET_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -TASK_SET_FIELD: StaticSchema = (14, n0, _TSF, 0, (_TAGS,), ((-1, {_sV: _TAGS}),)) - -TASK_SET_FIELD_LIST: StaticSchema = (16, n0, _TSFL, 0, (_me,), ((TASK_SET_FIELD, 0),)) - -DESCRIBE_TASK_SETS_INPUT: StaticSchema = ( - 18, - n0, - _DTSIe, - {_sSI: _cDTSRom, _smit: None}, - (_cl, _ser, _tSa, _incl), - ((STRING, 1), (STRING, 1), (STRING_LIST, 0), (TASK_SET_FIELD_LIST, 0)), -) - -DESCRIBE_TASK_SETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DTSOe, - {_sSI: _cDTSRoma, _smith: None}, - (_tSa, _fa), - ((TASK_SETS, 0), (FAILURES, 0)), -) - -DESCRIBE_TASK_SETS: StaticOperationSchema = ( - 23, - n0, - _DTSe, - 0, - DESCRIBE_TASK_SETS_INPUT, - DESCRIBE_TASK_SETS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_ACTIVE_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -UPDATE_TASK_SET_INPUT: StaticSchema = ( - 18, - n0, - _UTSI, - {_sSI: _cUTSR, _smit: None}, - (_cl, _ser, _tSas, _sca), - ((STRING, 1), (STRING, 1), (STRING, 1), (SCALE, 1)), -) - -UPDATE_TASK_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _UTSO, - {_sSI: _cUTSRo, _smith: None}, - (_tSas,), - ((TASK_SET, 0),), -) - -UPDATE_TASK_SET: StaticOperationSchema = ( - 23, - n0, - _UTS, - 0, - UPDATE_TASK_SET_INPUT, - UPDATE_TASK_SET_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVER_EXCEPTION, - SERVICE_NOT_ACTIVE_EXCEPTION, - SERVICE_NOT_FOUND_EXCEPTION, - TASK_SET_NOT_FOUND_EXCEPTION, - UNSUPPORTED_FEATURE_EXCEPTION, - ), -) - -TAG_KEYS: StaticSchema = (16, n0, _TKa, 0, (_me,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _smit: None}, - (_rAes, _tK), - ((STRING, 1), (TAG_KEYS, 1)), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smith: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - 0, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CLIENT_EXCEPTION, - CLUSTER_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVER_EXCEPTION, - ), -) - -AMAZON_EC2_CONTAINER_SERVICE_V20141113: StaticSchema = ( - 21, - n0, - _AECCSV, - { - _a__: None, - _awsa: MappingProxyType( - { - "sdkId": "ECS", - "arnNamespace": "ecs", - "cloudFormationName": "ECS", - "cloudTrailEventSource": "ecs.amazonaws.com", - "endpointPrefix": "ecs", - "cloudWatchNamespace": "AWS/ECS", - } - ), - _awsau: MappingProxyType({"name": "ecs"}), - _sNm: MappingProxyType({"uri": "http://ecs.amazonaws.com/doc/2014-11-13/"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "BOXED_INTEGER", + "ACCELERATOR_COUNT_REQUEST", + "ACCELERATOR_MANUFACTURER", + "ACCELERATOR_MANUFACTURER_SET", + "ACCELERATOR_NAME", + "ACCELERATOR_NAME_SET", + "ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST", + "ACCELERATOR_TYPE", + "ACCELERATOR_TYPE_SET", + "STRING", + "ACCESS_DENIED_EXCEPTION", + "ACCESS_TYPE", + "ACCESS_TYPE_LIST", + "ADVANCED_CONFIGURATION", + "AGENT_UPDATE_STATUS", + "ALLOWED_INSTANCE_TYPE", + "ALLOWED_INSTANCE_TYPE_SET", + "CLIENT_EXCEPTION", + "CLUSTER_NOT_FOUND_EXCEPTION", + "MANAGED_DRAINING", + "MANAGED_SCALING_INSTANCE_WARMUP_PERIOD", + "MANAGED_SCALING_STEP_SIZE", + "MANAGED_SCALING_STATUS", + "MANAGED_SCALING_TARGET_CAPACITY", + "MANAGED_SCALING", + "MANAGED_TERMINATION_PROTECTION", + "AUTO_SCALING_GROUP_PROVIDER", + "AUTO_REPAIR_ACTIONS_STATUS", + "AUTO_REPAIR_CONFIGURATION", + "INFRASTRUCTURE_OPTIMIZATION", + "CAPACITY_OPTION_TYPE", + "CAPACITY_RESERVATION_PREFERENCE", + "CAPACITY_RESERVATION_REQUEST", + "BOXED_BOOLEAN", + "BARE_METAL", + "BASELINE_EBS_BANDWIDTH_MBPS_REQUEST", + "BURSTABLE_PERFORMANCE", + "CPU_MANUFACTURER", + "CPU_MANUFACTURER_SET", + "EXCLUDED_INSTANCE_TYPE", + "EXCLUDED_INSTANCE_TYPE_SET", + "INSTANCE_GENERATION", + "INSTANCE_GENERATION_SET", + "LOCAL_STORAGE", + "LOCAL_STORAGE_TYPE", + "LOCAL_STORAGE_TYPE_SET", + "BOXED_DOUBLE", + "MEMORY_GI_B_PER_V_CPU_REQUEST", + "MEMORY_MI_B_REQUEST", + "NETWORK_BANDWIDTH_GBPS_REQUEST", + "NETWORK_INTERFACE_COUNT_REQUEST", + "TOTAL_LOCAL_STORAGE_GB_REQUEST", + "V_CPU_COUNT_RANGE_REQUEST", + "INSTANCE_REQUIREMENTS_REQUEST", + "BOOLEAN", + "MANAGED_INSTANCES_LOCAL_STORAGE_CONFIGURATION", + "MANAGED_INSTANCES_MONITORING_OPTIONS", + "STRING_LIST", + "MANAGED_INSTANCES_NETWORK_CONFIGURATION", + "TASK_VOLUME_STORAGE_GI_B", + "MANAGED_INSTANCES_STORAGE_CONFIGURATION", + "INSTANCE_LAUNCH_TEMPLATE", + "PROPAGATE_MI_TAGS", + "CREATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAGS", + "CREATE_CAPACITY_PROVIDER_INPUT", + "CREATE_CAPACITY_PROVIDER_OUTPUT", + "CREATE_CAPACITY_PROVIDER", + "MANAGED_INSTANCES_PROVIDER", + "CAPACITY_PROVIDER_STATUS", + "CAPACITY_PROVIDER_TYPE", + "CAPACITY_PROVIDER_UPDATE_STATUS", + "CAPACITY_PROVIDER", + "INVALID_PARAMETER_EXCEPTION", + "LIMIT_EXCEEDED_EXCEPTION", + "SERVER_EXCEPTION", + "UNSUPPORTED_FEATURE_EXCEPTION", + "UPDATE_IN_PROGRESS_EXCEPTION", + "DELETE_CAPACITY_PROVIDER_INPUT", + "DELETE_CAPACITY_PROVIDER_OUTPUT", + "DELETE_CAPACITY_PROVIDER", + "CAPACITY_PROVIDER_FIELD", + "CAPACITY_PROVIDER_FIELD_LIST", + "DESCRIBE_CAPACITY_PROVIDERS_INPUT", + "DESCRIBE_CAPACITY_PROVIDERS_OUTPUT", + "DESCRIBE_CAPACITY_PROVIDERS", + "CAPACITY_PROVIDERS", + "FAILURE", + "FAILURES", + "AUTO_SCALING_GROUP_PROVIDER_UPDATE", + "INSTANCE_LAUNCH_TEMPLATE_UPDATE", + "UPDATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION", + "UPDATE_CAPACITY_PROVIDER_INPUT", + "UPDATE_CAPACITY_PROVIDER_OUTPUT", + "UPDATE_CAPACITY_PROVIDER", + "EXECUTE_COMMAND_LOG_CONFIGURATION", + "NAMESPACE_NOT_FOUND_EXCEPTION", + "SERVICE_DEPLOYMENT_NOT_FOUND_EXCEPTION", + "SORT_ORDER", + "TASK_DEFINITION_STATUS", + "GATEWAY_NOT_FOUND_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "GATEWAY_ROUTE_STATUS", + ), + ( + "EXECUTE_COMMAND_LOGGING", + "EXECUTE_COMMAND_CONFIGURATION", + "MANAGED_STORAGE_CONFIGURATION", + "CLUSTER_CONFIGURATION", + "CAPACITY_PROVIDER_STRATEGY_ITEM_BASE", + "CAPACITY_PROVIDER_STRATEGY_ITEM_WEIGHT", + "CAPACITY_PROVIDER_STRATEGY_ITEM", + "CAPACITY_PROVIDER_STRATEGY", + "CLUSTER_SERVICE_CONNECT_DEFAULTS_REQUEST", + "CLUSTER_SETTING_NAME", + "CLUSTER_SETTING", + "CLUSTER_SETTINGS", + "CREATE_CLUSTER_INPUT", + "CREATE_CLUSTER_OUTPUT", + "CREATE_CLUSTER", + "INTEGER", + "KEY_VALUE_PAIR", + "ATTACHMENT_DETAILS", + "ATTACHMENT", + "ATTACHMENTS", + "CLUSTER_SERVICE_CONNECT_DEFAULTS", + "STATISTICS", + "CLUSTER", + "CLUSTER_CONTAINS_CAPACITY_PROVIDER_EXCEPTION", + "CLUSTER_CONTAINS_CONTAINER_INSTANCES_EXCEPTION", + "CLUSTER_CONTAINS_SERVICES_EXCEPTION", + "CLUSTER_CONTAINS_TASKS_EXCEPTION", + "DELETE_CLUSTER_INPUT", + "DELETE_CLUSTER_OUTPUT", + "DELETE_CLUSTER", + "DEREGISTER_CONTAINER_INSTANCE_INPUT", + "DEREGISTER_CONTAINER_INSTANCE_OUTPUT", + "DEREGISTER_CONTAINER_INSTANCE", + "TARGET_TYPE", + "ATTRIBUTE", + "ATTRIBUTES", + "GPU_SHARING_MODE", + "GPU_DEVICE", + "GPU_DEVICES", + "TIMESTAMP", + "INSTANCE_HEALTH_CHECK_STATE", + "INSTANCE_HEALTH_CHECK_TYPE", + "INSTANCE_HEALTH_CHECK_RESULT", + "INSTANCE_HEALTH_CHECK_RESULT_LIST", + "CONTAINER_INSTANCE_HEALTH_STATUS", + "DOUBLE", + "LONG", + "RESOURCE", + "RESOURCES", + "VERSION_INFO", + "CONTAINER_INSTANCE", + "CLUSTER_FIELD", + "CLUSTER_FIELD_LIST", + "DESCRIBE_CLUSTERS_INPUT", + "DESCRIBE_CLUSTERS_OUTPUT", + "DESCRIBE_CLUSTERS", + "CLUSTERS", + "EXECUTE_COMMAND_INPUT", + "EXECUTE_COMMAND_OUTPUT", + "EXECUTE_COMMAND", + "SENSITIVE_STRING", + "SESSION", + "TARGET_NOT_CONNECTED_EXCEPTION", + "LIST_ATTRIBUTES_INPUT", + "LIST_ATTRIBUTES_OUTPUT", + "LIST_ATTRIBUTES", + "LIST_CLUSTERS_INPUT", + "LIST_CLUSTERS_OUTPUT", + "LIST_CLUSTERS", + "CONTAINER_INSTANCE_STATUS", + "LIST_CONTAINER_INSTANCES_INPUT", + "LIST_CONTAINER_INSTANCES_OUTPUT", + "LIST_CONTAINER_INSTANCES", + "PUT_CLUSTER_CAPACITY_PROVIDERS_INPUT", + "PUT_CLUSTER_CAPACITY_PROVIDERS_OUTPUT", + "PUT_CLUSTER_CAPACITY_PROVIDERS", + "RESOURCE_IN_USE_EXCEPTION", + "ATTACHMENT_STATE_CHANGE", + "ATTACHMENT_STATE_CHANGES", + "SUBMIT_ATTACHMENT_STATE_CHANGES_INPUT", + "SUBMIT_ATTACHMENT_STATE_CHANGES_OUTPUT", + "SUBMIT_ATTACHMENT_STATE_CHANGES", + "TRANSPORT_PROTOCOL", + "NETWORK_BINDING", + "NETWORK_BINDINGS", + "SUBMIT_CONTAINER_STATE_CHANGE_INPUT", + "SUBMIT_CONTAINER_STATE_CHANGE_OUTPUT", + "SUBMIT_CONTAINER_STATE_CHANGE", + "CONTAINER_STATE_CHANGE", + "CONTAINER_STATE_CHANGES", + "MANAGED_AGENT_NAME", + "MANAGED_AGENT_STATE_CHANGE", + "MANAGED_AGENT_STATE_CHANGES", + "SUBMIT_TASK_STATE_CHANGE_INPUT", + "SUBMIT_TASK_STATE_CHANGE_OUTPUT", + "SUBMIT_TASK_STATE_CHANGE", + "UPDATE_CLUSTER_INPUT", + "UPDATE_CLUSTER_OUTPUT", + "UPDATE_CLUSTER", + "UPDATE_CLUSTER_SETTINGS_INPUT", + "UPDATE_CLUSTER_SETTINGS_OUTPUT", + "UPDATE_CLUSTER_SETTINGS", + "PLATFORM_UNKNOWN_EXCEPTION", + "SERVICE_DEPLOYMENT_STATUS", + ), + ( + "DELETE_ATTRIBUTES_INPUT", + "DELETE_ATTRIBUTES_OUTPUT", + "DELETE_ATTRIBUTES", + "TARGET_NOT_FOUND_EXCEPTION", + "CONTAINER_INSTANCE_FIELD", + "CONTAINER_INSTANCE_FIELD_LIST", + "DESCRIBE_CONTAINER_INSTANCES_INPUT", + "DESCRIBE_CONTAINER_INSTANCES_OUTPUT", + "DESCRIBE_CONTAINER_INSTANCES", + "CONTAINER_INSTANCES", + "DESIRED_STATUS", + "LAUNCH_TYPE", + "LIST_TASKS_INPUT", + "LIST_TASKS_OUTPUT", + "LIST_TASKS", + "SERVICE_NOT_FOUND_EXCEPTION", + "ATTRIBUTE_LIMIT_EXCEEDED_EXCEPTION", + "PUT_ATTRIBUTES_INPUT", + "PUT_ATTRIBUTES_OUTPUT", + "PUT_ATTRIBUTES", + "PLATFORM_DEVICE_TYPE", + "PLATFORM_DEVICE", + "PLATFORM_DEVICES", + "REGISTER_CONTAINER_INSTANCE_INPUT", + "REGISTER_CONTAINER_INSTANCE_OUTPUT", + "REGISTER_CONTAINER_INSTANCE", + "MISSING_VERSION_EXCEPTION", + "NO_UPDATE_AVAILABLE_EXCEPTION", + "UPDATE_CONTAINER_AGENT_INPUT", + "UPDATE_CONTAINER_AGENT_OUTPUT", + "UPDATE_CONTAINER_AGENT", + "UPDATE_CONTAINER_INSTANCES_STATE_INPUT", + "UPDATE_CONTAINER_INSTANCES_STATE_OUTPUT", + "UPDATE_CONTAINER_INSTANCES_STATE", + "DEPLOYMENT_LIFECYCLE_HOOK_ACTION", + "CONTINUE_SERVICE_DEPLOYMENT_INPUT", + "CONTINUE_SERVICE_DEPLOYMENT_OUTPUT", + "CONTINUE_SERVICE_DEPLOYMENT", + "DESCRIBE_DAEMON_DEPLOYMENTS_INPUT", + "DESCRIBE_DAEMON_DEPLOYMENTS_OUTPUT", + "DESCRIBE_DAEMON_DEPLOYMENTS", + "DAEMON_DEPLOYMENT_ROLLBACK_MONITORS_STATUS", + "DAEMON_DEPLOYMENT_ALARMS", + "DAEMON_CIRCUIT_BREAKER", + "DAEMON_ALARM_CONFIGURATION", + "DAEMON_DRAIN_PERCENT", + "DAEMON_DEPLOYMENT_CONFIGURATION", + "DAEMON_ROLLBACK", + "DAEMON_DEPLOYMENT_CAPACITY_PROVIDER", + "DAEMON_DEPLOYMENT_CAPACITY_PROVIDER_LIST", + "DAEMON_DEPLOYMENT_REVISION_DETAIL", + "DAEMON_DEPLOYMENT_REVISION_DETAIL_LIST", + "DAEMON_DEPLOYMENT_STATUS", + "DAEMON_DEPLOYMENT", + "DAEMON_DEPLOYMENT_LIST", + "DAEMON_PROPAGATE_TAGS", + "CREATE_DAEMON_INPUT", + "CREATE_DAEMON_OUTPUT", + "CREATE_DAEMON", + "DAEMON_STATUS", + "DAEMON_NOT_ACTIVE_EXCEPTION", + "DAEMON_NOT_FOUND_EXCEPTION", + "DELETE_DAEMON_INPUT", + "DELETE_DAEMON_OUTPUT", + "DELETE_DAEMON", + "DESCRIBE_DAEMON_INPUT", + "DESCRIBE_DAEMON_OUTPUT", + "DESCRIBE_DAEMON", + "DAEMON_CAPACITY_PROVIDER", + "DAEMON_CAPACITY_PROVIDER_LIST", + "DAEMON_REVISION_DETAIL", + "DAEMON_REVISION_DETAIL_LIST", + "DAEMON_DETAIL", + "CREATED_AT", + "DAEMON_DEPLOYMENT_STATUS_LIST", + "LIST_DAEMON_DEPLOYMENTS_INPUT", + "LIST_DAEMON_DEPLOYMENTS_OUTPUT", + "LIST_DAEMON_DEPLOYMENTS", + "DAEMON_DEPLOYMENT_SUMMARY", + "DAEMON_DEPLOYMENT_SUMMARY_LIST", + "LIST_DAEMONS_INPUT", + "LIST_DAEMONS_OUTPUT", + "LIST_DAEMONS", + "DAEMON_SUMMARY", + "DAEMON_SUMMARIES_LIST", + "UPDATE_DAEMON_INPUT", + "UPDATE_DAEMON_OUTPUT", + "UPDATE_DAEMON", + "DESCRIBE_DAEMON_REVISIONS_INPUT", + "DESCRIBE_DAEMON_REVISIONS_OUTPUT", + "DESCRIBE_DAEMON_REVISIONS", + "DAEMON_CONTAINER_IMAGE", + "DAEMON_CONTAINER_IMAGES", + "DAEMON_REVISION", + "IAM_ROLE_ARN", + "TASK_SET_NOT_FOUND_EXCEPTION", + ), + ( + "DAEMON_REVISIONS", + "DELETE_DAEMON_TASK_DEFINITION_INPUT", + "DELETE_DAEMON_TASK_DEFINITION_OUTPUT", + "DELETE_DAEMON_TASK_DEFINITION", + "DESCRIBE_DAEMON_TASK_DEFINITION_INPUT", + "DESCRIBE_DAEMON_TASK_DEFINITION_OUTPUT", + "DESCRIBE_DAEMON_TASK_DEFINITION", + "CONTAINER_CONDITION", + "CONTAINER_DEPENDENCY", + "CONTAINER_DEPENDENCIES", + "ENVIRONMENT_VARIABLES", + "ENVIRONMENT_FILE_TYPE", + "ENVIRONMENT_FILE", + "ENVIRONMENT_FILES", + "FIRELENS_CONFIGURATION_OPTIONS_MAP", + "FIRELENS_CONFIGURATION_TYPE", + "FIRELENS_CONFIGURATION", + "HEALTH_CHECK", + "KERNEL_CAPABILITIES", + "DEVICE_CGROUP_PERMISSION", + "DEVICE_CGROUP_PERMISSIONS", + "DEVICE", + "DEVICES_LIST", + "TMPFS", + "TMPFS_LIST", + "DAEMON_LINUX_PARAMETERS", + "LOG_DRIVER", + "LOG_CONFIGURATION_OPTIONS_MAP", + "SECRET", + "SECRET_LIST", + "LOG_CONFIGURATION", + "MOUNT_POINT", + "MOUNT_POINT_LIST", + "REPOSITORY_CREDENTIALS", + "INTEGER_LIST", + "CONTAINER_RESTART_POLICY", + "SYSTEM_CONTROL", + "SYSTEM_CONTROLS", + "ULIMIT_NAME", + "ULIMIT", + "ULIMIT_LIST", + "DAEMON_CONTAINER_DEFINITION", + "DAEMON_CONTAINER_DEFINITION_LIST", + "DAEMON_IPC_MODE", + "DAEMON_PID_MODE", + "DAEMON_TASK_DEFINITION_STATUS", + "HOST_VOLUME_PROPERTIES", + "LOG_DRIVER_VOLUME_CONFIGURATION", + "DAEMON_VOLUME", + "DAEMON_VOLUME_LIST", + "DAEMON_TASK_DEFINITION", + "DAEMON_TASK_DEFINITION_REVISION_FILTER", + "DAEMON_TASK_DEFINITION_STATUS_FILTER", + "LIST_DAEMON_TASK_DEFINITIONS_INPUT", + "LIST_DAEMON_TASK_DEFINITIONS_OUTPUT", + "LIST_DAEMON_TASK_DEFINITIONS", + "DAEMON_TASK_DEFINITION_SUMMARY", + "DAEMON_TASK_DEFINITION_SUMMARIES", + "REGISTER_DAEMON_TASK_DEFINITION_INPUT", + "REGISTER_DAEMON_TASK_DEFINITION_OUTPUT", + "REGISTER_DAEMON_TASK_DEFINITION", + "SETTING_NAME", + "DELETE_ACCOUNT_SETTING_INPUT", + "DELETE_ACCOUNT_SETTING_OUTPUT", + "DELETE_ACCOUNT_SETTING", + "SETTING_TYPE", + "SETTING", + "DEREGISTER_TASK_DEFINITION_INPUT", + "DEREGISTER_TASK_DEFINITION_OUTPUT", + "DEREGISTER_TASK_DEFINITION", + "COMPATIBILITY", + "COMPATIBILITY_LIST", + "DOCKER_LABELS_MAP", + "HOST_ENTRY", + "HOST_ENTRY_LIST", + "LINUX_PARAMETERS", + "APPLICATION_PROTOCOL", + "PORT_MAPPING", + "PORT_MAPPING_LIST", + "NVIDIA_MPS_ALLOCATION", + "SHARING_STRATEGY", + "RESOURCE_TYPE", + "RESOURCE_REQUIREMENT", + "RESOURCE_REQUIREMENTS", + "VERSION_CONSISTENCY", + "VOLUME_FROM", + "VOLUME_FROM_LIST", + "CONTAINER_DEFINITION", + "CONTAINER_DEFINITIONS", + ), + ( + "EPHEMERAL_STORAGE", + "INFERENCE_ACCELERATOR", + "INFERENCE_ACCELERATORS", + "IPC_MODE", + "NETWORK_MODE", + "PID_MODE", + "TASK_DEFINITION_PLACEMENT_CONSTRAINT_TYPE", + "TASK_DEFINITION_PLACEMENT_CONSTRAINT", + "TASK_DEFINITION_PLACEMENT_CONSTRAINTS", + "PROXY_CONFIGURATION_PROPERTIES", + "PROXY_CONFIGURATION_TYPE", + "PROXY_CONFIGURATION", + "REQUIRES_ATTRIBUTES", + "CPU_ARCHITECTURE", + "OS_FAMILY", + "RUNTIME_PLATFORM", + "ISOLATION_MODE", + "TRUSTED_EXECUTION_CONFIGURATION", + "STRING_MAP", + "SCOPE", + "DOCKER_VOLUME_CONFIGURATION", + "EFS_AUTHORIZATION_CONFIG_IAM", + "EFS_AUTHORIZATION_CONFIG", + "EFS_TRANSIT_ENCRYPTION", + "EFS_VOLUME_CONFIGURATION", + "F_SX_WINDOWS_FILE_SERVER_AUTHORIZATION_CONFIG", + "F_SX_WINDOWS_FILE_SERVER_VOLUME_CONFIGURATION", + "S3_FILES_VOLUME_CONFIGURATION", + "VOLUME", + "VOLUME_LIST", + "TASK_DEFINITION", + "TASK_DEFINITION_FIELD", + "TASK_DEFINITION_FIELD_LIST", + "DESCRIBE_TASK_DEFINITION_INPUT", + "DESCRIBE_TASK_DEFINITION_OUTPUT", + "DESCRIBE_TASK_DEFINITION", + "DISCOVER_POLL_ENDPOINT_INPUT", + "DISCOVER_POLL_ENDPOINT_OUTPUT", + "DISCOVER_POLL_ENDPOINT", + "ASSOCIATE_GATEWAY_WITH_CLUSTER_INPUT", + "ASSOCIATE_GATEWAY_WITH_CLUSTER_OUTPUT", + "ASSOCIATE_GATEWAY_WITH_CLUSTER", + "GATEWAY_CLUSTER_ASSOCIATION_STATUS", + "GATEWAY_ELB_ACCESS_LOG_S3_DESTINATION", + "GATEWAY_ELB_ACCESS_LOG_DESTINATION", + "GATEWAY_ELB_ACCESS_LOG_CONFIGURATION", + "GATEWAY_ALB_DESYNC_MITIGATION_MODE", + "GATEWAY_ELB_IP_ADDRESS_TYPE", + "GATEWAY_ELB_NETWORK_CONFIGURATION", + "GATEWAY_ALB_PROTOCOL", + "GATEWAY_ELB_SCHEME", + "GATEWAY_TEST_TRAFFIC_HEADER", + "GATEWAY_ALB_TEST_TRAFFIC_RULES", + "HOST_SHARED_ALB_CONFIGURATION", + "GATEWAY_CONFIGURATION", + "PROPAGATE_GATEWAY_TAGS", + "CREATE_GATEWAY_INPUT", + "CREATE_GATEWAY_OUTPUT", + "CREATE_GATEWAY", + "GATEWAY_STATUS", + "DELETE_GATEWAY_INPUT", + "DELETE_GATEWAY_OUTPUT", + "DELETE_GATEWAY", + "DESCRIBE_GATEWAY_INPUT", + "DESCRIBE_GATEWAY_OUTPUT", + "DESCRIBE_GATEWAY", + "DESCRIBE_GATEWAY_ALB_CONFIGURATION", + "DESCRIBE_GATEWAY_CONFIGURATION", + "GATEWAY_OPERATION_ERROR", + "GATEWAY_OPERATION_ERROR_LIST", + "GATEWAY_RESOURCE_FAILURE", + "GATEWAY_RESOURCE_FAILURE_LIST", + "GATEWAY", + "DESCRIBE_GATEWAY_RESOURCES_INPUT", + "DESCRIBE_GATEWAY_RESOURCES_OUTPUT", + "DESCRIBE_GATEWAY_RESOURCES", + "ELB_GATEWAY_RESOURCES", + "ELB_GATEWAY_RESOURCES_LIST", + "GATEWAY_INFRASTRUCTURE_RESOURCES", + "GATEWAY_RESOURCES", + "DISASSOCIATE_GATEWAY_FROM_CLUSTER_INPUT", + "DISASSOCIATE_GATEWAY_FROM_CLUSTER_OUTPUT", + "DISASSOCIATE_GATEWAY_FROM_CLUSTER", + "GATEWAY_CLUSTER_ASSOCIATION_STATUS_LIST", + "LIST_GATEWAY_CLUSTER_ASSOCIATIONS_INPUT", + "LIST_GATEWAY_CLUSTER_ASSOCIATIONS_OUTPUT", + "LIST_GATEWAY_CLUSTER_ASSOCIATIONS", + "GATEWAY_CLUSTER_ASSOCIATION_SUMMARY", + "GATEWAY_CLUSTER_ASSOCIATION_SUMMARY_LIST", + "GATEWAY_STATUS_LIST", + "LIST_GATEWAYS_INPUT", + "LIST_GATEWAYS_OUTPUT", + "LIST_GATEWAYS", + ), + ( + "GATEWAY_SUMMARY", + "GATEWAY_SUMMARY_LIST", + "UPDATE_GATEWAY_NETWORK_CONFIGURATION", + "UPDATE_GATEWAY_ALB_CONFIGURATION", + "UPDATE_GATEWAY_CONFIGURATION", + "UPDATE_GATEWAY_INPUT", + "UPDATE_GATEWAY_OUTPUT", + "UPDATE_GATEWAY", + "DESCRIBE_GATEWAY_ROUTE_INPUT", + "DESCRIBE_GATEWAY_ROUTE_OUTPUT", + "DESCRIBE_GATEWAY_ROUTE", + "GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP", + "GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP_LIST", + "GATEWAY_ROUTE_ALB_RESOURCES", + "GATEWAY_ROUTE_ALB_RESOURCES_LIST", + "GATEWAY_ROUTE_RESOURCES", + "GATEWAY_ROUTE", + "GATEWAY_ROUTE_STATUS_LIST", + "LIST_GATEWAY_ROUTES_INPUT", + "LIST_GATEWAY_ROUTES_OUTPUT", + "LIST_GATEWAY_ROUTES", + "GATEWAY_ROUTE_SUMMARY", + "GATEWAY_ROUTE_SUMMARY_LIST", + "LIST_ACCOUNT_SETTINGS_INPUT", + "LIST_ACCOUNT_SETTINGS_OUTPUT", + "LIST_ACCOUNT_SETTINGS", + "SETTINGS", + "LIST_SERVICES_BY_NAMESPACE_INPUT", + "LIST_SERVICES_BY_NAMESPACE_OUTPUT", + "LIST_SERVICES_BY_NAMESPACE", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "TASK_DEFINITION_FAMILY_STATUS", + "LIST_TASK_DEFINITION_FAMILIES_INPUT", + "LIST_TASK_DEFINITION_FAMILIES_OUTPUT", + "LIST_TASK_DEFINITION_FAMILIES", + "PUT_ACCOUNT_SETTING_INPUT", + "PUT_ACCOUNT_SETTING_OUTPUT", + "PUT_ACCOUNT_SETTING", + "PUT_ACCOUNT_SETTING_DEFAULT_INPUT", + "PUT_ACCOUNT_SETTING_DEFAULT_OUTPUT", + "PUT_ACCOUNT_SETTING_DEFAULT", + "DESCRIBE_SERVICE_DEPLOYMENTS_INPUT", + "DESCRIBE_SERVICE_DEPLOYMENTS_OUTPUT", + "DESCRIBE_SERVICE_DEPLOYMENTS", + "SERVICE_DEPLOYMENT_ROLLBACK_MONITORS_STATUS", + "SERVICE_DEPLOYMENT_ALARMS", + "SERVICE_DEPLOYMENT_CIRCUIT_BREAKER", + "DEPLOYMENT_ALARMS", + "CANARY_CONFIGURATION", + "THRESHOLD_TYPE", + "THRESHOLD_CONFIGURATION", + "DEPLOYMENT_CIRCUIT_BREAKER", + "HEALTHY_PERCENT_INTEGER", + "SERVICE_REVISION_CLEANUP", + "DEPLOYMENT_EARLY_SUCCESS_CRITERIA", + "HOOK_DETAILS", + "DEPLOYMENT_LIFECYCLE_HOOK_STAGE", + "DEPLOYMENT_LIFECYCLE_HOOK_STAGE_LIST", + "DEPLOYMENT_LIFECYCLE_HOOK_TARGET_TYPE", + "DEPLOYMENT_LIFECYCLE_HOOK_DURATION", + "DEPLOYMENT_LIFECYCLE_HOOK_TIMEOUT_CONFIGURATION", + "DEPLOYMENT_LIFECYCLE_HOOK", + "DEPLOYMENT_LIFECYCLE_HOOK_LIST", + "LINEAR_CONFIGURATION", + "DEPLOYMENT_STRATEGY", + "DEPLOYMENT_CONFIGURATION", + "DEPLOYMENT_LIFECYCLE_HOOK_STATUS", + "DEPLOYMENT_LIFECYCLE_HOOK_DETAIL", + "DEPLOYMENT_LIFECYCLE_HOOK_DETAIL_LIST", + "SERVICE_DEPLOYMENT_LIFECYCLE_STAGE", + "ROLLBACK", + "SERVICE_REVISION_SUMMARY", + "SERVICE_REVISIONS_SUMMARY_LIST", + "SERVICE_DEPLOYMENT", + "SERVICE_DEPLOYMENTS", + "EXPRESS_CPU_ARCHITECTURE", + "EXPRESS_GATEWAY_SERVICE_NETWORK_CONFIGURATION", + "EXPRESS_GATEWAY_SERVICE_AWS_LOGS_CONFIGURATION", + "EXPRESS_GATEWAY_REPOSITORY_CREDENTIALS", + "EXPRESS_GATEWAY_CONTAINER", + "EXPRESS_GATEWAY_SERVICE_SCALING_METRIC", + "EXPRESS_GATEWAY_SCALING_TARGET", + "SERVICE", + ), + ( + "CREATE_EXPRESS_GATEWAY_SERVICE_INPUT", + "CREATE_EXPRESS_GATEWAY_SERVICE_OUTPUT", + "CREATE_EXPRESS_GATEWAY_SERVICE", + "INGRESS_PATH_SUMMARY", + "INGRESS_PATH_SUMMARIES", + "EXPRESS_GATEWAY_SERVICE_CONFIGURATION", + "EXPRESS_GATEWAY_SERVICE_CONFIGURATIONS", + "EXPRESS_GATEWAY_SERVICE_STATUS_CODE", + "EXPRESS_GATEWAY_SERVICE_STATUS", + "ECS_EXPRESS_GATEWAY_SERVICE", + "PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION", + "AVAILABILITY_ZONE_REBALANCING", + "DEPLOYMENT_CONTROLLER_TYPE", + "DEPLOYMENT_CONTROLLER", + "GATEWAY_CONNECTOR_FILTERS", + "GATEWAY_CONNECTOR_HEALTH_CHECK_PROTOCOL", + "GATEWAY_CONNECTOR_HEALTH_CHECK_MATCHER", + "GATEWAY_CONNECTOR_HEALTH_CHECK", + "GATEWAY_CONNECTOR", + "GATEWAY_CONNECTOR_LIST", + "LOAD_BALANCER", + "LOAD_BALANCERS", + "METRIC_NAME", + "METRIC_NAMES_LIST", + "METRIC_RESOLUTION_SECONDS", + "METRIC_CONFIGURATION", + "METRIC_CONFIGURATION_LIST", + "MONITORING_CONFIGURATION", + "ASSIGN_PUBLIC_IP", + "AWS_VPC_CONFIGURATION", + "NETWORK_CONFIGURATION", + "PLACEMENT_CONSTRAINT_TYPE", + "PLACEMENT_CONSTRAINT", + "PLACEMENT_CONSTRAINTS", + "PLACEMENT_STRATEGY_TYPE", + "PLACEMENT_STRATEGY", + "PLACEMENT_STRATEGIES", + "PROPAGATE_TAGS", + "SCHEDULING_STRATEGY", + "SERVICE_CONNECT_ACCESS_LOGGING_FORMAT", + "SERVICE_CONNECT_INCLUDE_QUERY_PARAMETERS", + "SERVICE_CONNECT_ACCESS_LOG_CONFIGURATION", + "SERVICE_CONNECT_CONTAINER_LOG_LEVEL", + "SERVICE_CONNECT_CONTAINER_CONFIGURATION", + "SERVICE_CONNECT_CONTAINER_CONFIGURATIONS", + "PORT_NUMBER", + "SERVICE_CONNECT_TEST_TRAFFIC_HEADER_MATCH_RULES", + "SERVICE_CONNECT_TEST_TRAFFIC_HEADER_RULES", + "SERVICE_CONNECT_TEST_TRAFFIC_RULES", + "SERVICE_CONNECT_CLIENT_ALIAS", + "SERVICE_CONNECT_CLIENT_ALIAS_LIST", + "DURATION", + "TIMEOUT_CONFIGURATION", + "SERVICE_CONNECT_TLS_CERTIFICATE_AUTHORITY", + "SERVICE_CONNECT_TLS_CONFIGURATION", + "SERVICE_CONNECT_SERVICE", + "SERVICE_CONNECT_SERVICE_LIST", + "SERVICE_CONNECT_CONFIGURATION", + "SERVICE_REGISTRY", + "SERVICE_REGISTRIES", + "TASK_FILESYSTEM_TYPE", + "EBSKMS_KEY_ID", + "EBS_SNAPSHOT_ID", + "EBS_RESOURCE_TYPE", + "EBS_TAG_SPECIFICATION", + "EBS_TAG_SPECIFICATIONS", + "EBS_VOLUME_TYPE", + "SERVICE_MANAGED_EBS_VOLUME_CONFIGURATION", + "ECS_VOLUME_NAME", + "SERVICE_VOLUME_CONFIGURATION", + "SERVICE_VOLUME_CONFIGURATIONS", + "VPC_LATTICE_ADVANCED_CONFIGURATION", + "VPC_LATTICE_CONFIGURATION", + "VPC_LATTICE_CONFIGURATIONS", + "CREATE_SERVICE_INPUT", + "CREATE_SERVICE_OUTPUT", + "CREATE_SERVICE", + "SERVICE_CURRENT_REVISION_SUMMARY", + "SERVICE_CURRENT_REVISION_SUMMARY_LIST", + "DEPLOYMENT_EPHEMERAL_STORAGE", + "DEPLOYMENT_ROLLOUT_STATE", + "SERVICE_CONNECT_SERVICE_RESOURCE", + "SERVICE_CONNECT_SERVICE_RESOURCE_LIST", + "DEPLOYMENT", + "DEPLOYMENTS", + "SERVICE_EVENT", + "SERVICE_EVENTS", + "RESOURCE_MANAGEMENT_TYPE", + "SCALE_UNIT", + "SCALE", + "STABILITY_STATUS", + "TASK_SET", + "TASK_SETS", + "SERVICE_NOT_ACTIVE_EXCEPTION", + ), + ( + "DELETE_EXPRESS_GATEWAY_SERVICE_INPUT", + "DELETE_EXPRESS_GATEWAY_SERVICE_OUTPUT", + "DELETE_EXPRESS_GATEWAY_SERVICE", + "DELETE_SERVICE_INPUT", + "DELETE_SERVICE_OUTPUT", + "DELETE_SERVICE", + "EXPRESS_GATEWAY_SERVICE_INCLUDE", + "EXPRESS_GATEWAY_SERVICE_INCLUDE_LIST", + "DESCRIBE_EXPRESS_GATEWAY_SERVICE_INPUT", + "DESCRIBE_EXPRESS_GATEWAY_SERVICE_OUTPUT", + "DESCRIBE_EXPRESS_GATEWAY_SERVICE", + "SERVICE_FIELD", + "SERVICE_FIELD_LIST", + "DESCRIBE_SERVICES_INPUT", + "DESCRIBE_SERVICES_OUTPUT", + "DESCRIBE_SERVICES", + "SERVICES", + "SERVICE_DEPLOYMENT_STATUS_LIST", + "LIST_SERVICE_DEPLOYMENTS_INPUT", + "LIST_SERVICE_DEPLOYMENTS_OUTPUT", + "LIST_SERVICE_DEPLOYMENTS", + "SERVICE_DEPLOYMENT_BRIEF", + "SERVICE_DEPLOYMENTS_BRIEF", + "LIST_SERVICES_INPUT", + "LIST_SERVICES_OUTPUT", + "LIST_SERVICES", + "RESOURCE_IDS", + "CONFLICT_EXCEPTION", + "STOP_SERVICE_DEPLOYMENT_STOP_TYPE", + "STOP_SERVICE_DEPLOYMENT_INPUT", + "STOP_SERVICE_DEPLOYMENT_OUTPUT", + "STOP_SERVICE_DEPLOYMENT", + "UPDATE_EXPRESS_GATEWAY_SERVICE_INPUT", + "UPDATE_EXPRESS_GATEWAY_SERVICE_OUTPUT", + "UPDATE_EXPRESS_GATEWAY_SERVICE", + "UPDATED_EXPRESS_GATEWAY_SERVICE", + "UPDATE_SERVICE_INPUT", + "UPDATE_SERVICE_OUTPUT", + "UPDATE_SERVICE", + "UPDATE_SERVICE_PRIMARY_TASK_SET_INPUT", + "UPDATE_SERVICE_PRIMARY_TASK_SET_OUTPUT", + "UPDATE_SERVICE_PRIMARY_TASK_SET", + "DESCRIBE_SERVICE_REVISIONS_INPUT", + "DESCRIBE_SERVICE_REVISIONS_OUTPUT", + "DESCRIBE_SERVICE_REVISIONS", + "CONTAINER_IMAGE", + "CONTAINER_IMAGES", + "MANAGED_RESOURCE_STATUS", + "MANAGED_APPLICATION_AUTO_SCALING_POLICY", + "MANAGED_APPLICATION_AUTO_SCALING_POLICIES", + "MANAGED_SCALABLE_TARGET", + "MANAGED_AUTO_SCALING", + "GATEWAY_CONNECTION_ALB_RESOURCES", + "GATEWAY_CONNECTION_ALB_RESOURCES_LIST", + "GATEWAY_CONNECTION_RESOURCES", + "GATEWAY_CONNECTION", + "GATEWAY_CONNECTION_LIST", + "MANAGED_CERTIFICATE", + "MANAGED_LISTENER", + "MANAGED_LOAD_BALANCER", + "MANAGED_SECURITY_GROUP", + "MANAGED_SECURITY_GROUPS", + "MANAGED_LISTENER_RULE", + "MANAGED_TARGET_GROUP", + "MANAGED_TARGET_GROUPS", + "MANAGED_INGRESS_PATH", + "MANAGED_INGRESS_PATHS", + "MANAGED_LOG_GROUP", + "MANAGED_LOG_GROUPS", + "MANAGED_METRIC_ALARM", + "MANAGED_METRIC_ALARMS", + "ECS_MANAGED_RESOURCES", + "RUNTIME_PLATFORM_OVERRIDE", + "SERVICE_REVISION_OVERRIDES", + "SERVICE_REVISION_LOAD_BALANCER", + "SERVICE_REVISION_LOAD_BALANCERS", + "SERVICE_REVISION_VPC_LATTICE_CONFIGURATION", + "SERVICE_REVISION_VPC_LATTICE_CONFIGURATIONS", + "RESOLVED_CONFIGURATION", + ), + ( + "SERVICE_REVISION", + "SERVICE_REVISIONS", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "DELETE_TASK_DEFINITIONS_INPUT", + "DELETE_TASK_DEFINITIONS_OUTPUT", + "DELETE_TASK_DEFINITIONS", + "TASK_DEFINITION_LIST", + "LIST_TASK_DEFINITIONS_INPUT", + "LIST_TASK_DEFINITIONS_OUTPUT", + "LIST_TASK_DEFINITIONS", + "REGISTER_TASK_DEFINITION_INPUT", + "REGISTER_TASK_DEFINITION_OUTPUT", + "REGISTER_TASK_DEFINITION", + "TASK_FIELD", + "TASK_FIELD_LIST", + "DESCRIBE_TASKS_INPUT", + "DESCRIBE_TASKS_OUTPUT", + "DESCRIBE_TASKS", + "CONNECTIVITY", + "GPU_IDS", + "HEALTH_STATUS", + "MANAGED_AGENT", + "MANAGED_AGENTS", + "NETWORK_INTERFACE", + "NETWORK_INTERFACES", + "NEURON_DEVICE_IDS", + "CONTAINER", + "CONTAINERS", + "TASK_EPHEMERAL_STORAGE", + "CONTAINER_OVERRIDE", + "CONTAINER_OVERRIDES", + "INFERENCE_ACCELERATOR_OVERRIDE", + "INFERENCE_ACCELERATOR_OVERRIDES", + "TASK_OVERRIDE", + "TASK_STOP_CODE", + "ATTESTATION_POLICY_STATUS", + "TRUSTED_EXECUTION_SUMMARY", + "TASK", + "TASKS", + "GET_TASK_PROTECTION_INPUT", + "GET_TASK_PROTECTION_OUTPUT", + "GET_TASK_PROTECTION", + "PROTECTED_TASK", + "PROTECTED_TASKS", + "BLOCKED_EXCEPTION", + "TASK_MANAGED_EBS_VOLUME_TERMINATION_POLICY", + "TASK_MANAGED_EBS_VOLUME_CONFIGURATION", + "TASK_VOLUME_CONFIGURATION", + "TASK_VOLUME_CONFIGURATIONS", + "RUN_TASK_INPUT", + "RUN_TASK_OUTPUT", + "RUN_TASK", + "START_TASK_INPUT", + "START_TASK_OUTPUT", + "START_TASK", + "STOP_TASK_INPUT", + "STOP_TASK_OUTPUT", + "STOP_TASK", + "UPDATE_TASK_PROTECTION_INPUT", + "UPDATE_TASK_PROTECTION_OUTPUT", + "UPDATE_TASK_PROTECTION", + "CREATE_TASK_SET_INPUT", + "CREATE_TASK_SET_OUTPUT", + "CREATE_TASK_SET", + "DELETE_TASK_SET_INPUT", + "DELETE_TASK_SET_OUTPUT", + "DELETE_TASK_SET", + "TASK_SET_FIELD", + "TASK_SET_FIELD_LIST", + "DESCRIBE_TASK_SETS_INPUT", + "DESCRIBE_TASK_SETS_OUTPUT", + "DESCRIBE_TASK_SETS", + "UPDATE_TASK_SET_INPUT", + "UPDATE_TASK_SET_OUTPUT", + "UPDATE_TASK_SET", + "TAG_KEYS", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "AMAZON_EC2_CONTAINER_SERVICE_V20141113", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_0.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_0.py new file mode 100644 index 000000000..41441856c --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_0.py @@ -0,0 +1,1349 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.ecs" +_BI = "BoxedInteger" +_ACR = "AcceleratorCountRequest" +_m = "min" +_ma = "max" +_AM = "AcceleratorManufacturer" +_AWS = "AMAZON_WEB_SERVICES" +_sV = "smithy.api#enumValue" +_aws = "amazon-web-services" +_AMD = "AMD" +_a = "amd" +_NVIDIA = "NVIDIA" +_n = "nvidia" +_XILINX = "XILINX" +_x = "xilinx" +_HABANA = "HABANA" +_h = "habana" +_AMS = "AcceleratorManufacturerSet" +_me = "member" +_sN = "smithy.api#xmlName" +_i = "item" +_AN = "AcceleratorName" +_A = "A100" +_a_ = "a100" +_INFERENTIA = "INFERENTIA" +_in = "inferentia" +_K = "K520" +_k = "k520" +_K_ = "K80" +_k_ = "k80" +_M = "M60" +_m_ = "m60" +_RPV = "RADEON_PRO_V520" +_rpv = "radeon-pro-v520" +_T = "T4" +_t = "t4" +_VUP = "VU9P" +_v = "vu9p" +_V = "V100" +_v_ = "v100" +_AG = "A10G" +_ag = "a10g" +_H = "H100" +_h_ = "h100" +_TG = "T4G" +_tg = "t4g" +_LS = "L40S" +_l = "l40s" +_L = "L4" +_l_ = "l4" +_ANS = "AcceleratorNameSet" +_ATMMBR = "AcceleratorTotalMemoryMiBRequest" +_AT = "AcceleratorType" +_GPU = "GPU" +_g = "gpu" +_FPGA = "FPGA" +_f = "fpga" +_INFERENCE = "INFERENCE" +_inf = "inference" +_ATS = "AcceleratorTypeSet" +_S = "String" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_mes = "message" +_ATc = "AccessType" +_PUBLIC = "PUBLIC" +_PRIVATE = "PRIVATE" +_ATL = "AccessTypeList" +_AC = "AdvancedConfiguration" +_aTGA = "alternateTargetGroupArn" +_pLR = "productionListenerRule" +_tLR = "testListenerRule" +_rA = "roleArn" +_AUS = "AgentUpdateStatus" +_PENDING = "PENDING" +_STAGING = "STAGING" +_STAGED = "STAGED" +_UPDATING = "UPDATING" +_UPDATED = "UPDATED" +_FAILED = "FAILED" +_AIT = "AllowedInstanceType" +_AITS = "AllowedInstanceTypeSet" +_CE = "ClientException" +_CNFE = "ClusterNotFoundException" +_MD = "ManagedDraining" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_MSIWP = "ManagedScalingInstanceWarmupPeriod" +_MSSS = "ManagedScalingStepSize" +_MSS = "ManagedScalingStatus" +_MSTC = "ManagedScalingTargetCapacity" +_MS = "ManagedScaling" +_st = "status" +_tC = "targetCapacity" +_mSSS = "minimumScalingStepSize" +_mSSSa = "maximumScalingStepSize" +_iWP = "instanceWarmupPeriod" +_MTP = "ManagedTerminationProtection" +_ASGP = "AutoScalingGroupProvider" +_aSGA = "autoScalingGroupArn" +_sm = "smithy.api#required" +_mS = "managedScaling" +_mTP = "managedTerminationProtection" +_mD = "managedDraining" +_ARAS = "AutoRepairActionsStatus" +_ARC = "AutoRepairConfiguration" +_aS = "actionsStatus" +_IO = "InfrastructureOptimization" +_sIA = "scaleInAfter" +_COT = "CapacityOptionType" +_OD = "ON_DEMAND" +_SPOT = "SPOT" +_RESERVED = "RESERVED" +_CRP = "CapacityReservationPreference" +_RO = "RESERVATIONS_ONLY" +_RF = "RESERVATIONS_FIRST" +_RE = "RESERVATIONS_EXCLUDED" +_CRR = "CapacityReservationRequest" +_rGA = "reservationGroupArn" +_rP = "reservationPreference" +_BB = "BoxedBoolean" +_BM = "BareMetal" +_INCLUDED = "INCLUDED" +_inc = "included" +_REQUIRED = "REQUIRED" +_r = "required" +_EXCLUDED = "EXCLUDED" +_e = "excluded" +_BEBMR = "BaselineEbsBandwidthMbpsRequest" +_BP = "BurstablePerformance" +_CM = "CpuManufacturer" +_INTEL = "INTEL" +_int = "intel" +_CMS = "CpuManufacturerSet" +_EIT = "ExcludedInstanceType" +_EITS = "ExcludedInstanceTypeSet" +_IG = "InstanceGeneration" +_CURRENT = "CURRENT" +_cu = "current" +_PREVIOUS = "PREVIOUS" +_p = "previous" +_IGS = "InstanceGenerationSet" +_LSo = "LocalStorage" +_LST = "LocalStorageType" +_HDD = "HDD" +_hd = "hdd" +_SSD = "SSD" +_ss = "ssd" +_LSTS = "LocalStorageTypeSet" +_BD = "BoxedDouble" +_MGBPVCR = "MemoryGiBPerVCpuRequest" +_MMBR = "MemoryMiBRequest" +_NBGR = "NetworkBandwidthGbpsRequest" +_NICR = "NetworkInterfaceCountRequest" +_TLSGBR = "TotalLocalStorageGBRequest" +_VCCRR = "VCpuCountRangeRequest" +_IRR = "InstanceRequirementsRequest" +_vCC = "vCpuCount" +_mMB = "memoryMiB" +_cM = "cpuManufacturers" +_mGBPVC = "memoryGiBPerVCpu" +_eIT = "excludedInstanceTypes" +_iG = "instanceGenerations" +_sMPPOLP = "spotMaxPricePercentageOverLowestPrice" +_oDMPPOLP = "onDemandMaxPricePercentageOverLowestPrice" +_bM = "bareMetal" +_bP = "burstablePerformance" +_rHS = "requireHibernateSupport" +_nIC = "networkInterfaceCount" +_lS = "localStorage" +_lST = "localStorageTypes" +_tLSGB = "totalLocalStorageGB" +_bEBM = "baselineEbsBandwidthMbps" +_aT = "acceleratorTypes" +_aC = "acceleratorCount" +_aM = "acceleratorManufacturers" +_aN = "acceleratorNames" +_aTMMB = "acceleratorTotalMemoryMiB" +_nBG = "networkBandwidthGbps" +_aIT = "allowedInstanceTypes" +_mSPAPOOODP = "maxSpotPriceAsPercentageOfOptimalOnDemandPrice" +_B = "Boolean" +_smi = "smithy.api#default" +_MILSC = "ManagedInstancesLocalStorageConfiguration" +_uLS = "useLocalStorage" +_MIMO = "ManagedInstancesMonitoringOptions" +_BASIC = "BASIC" +_DETAILED = "DETAILED" +_SL = "StringList" +_MINC = "ManagedInstancesNetworkConfiguration" +_su = "subnets" +_sG = "securityGroups" +_TVSGB = "TaskVolumeStorageGiB" +_MISC = "ManagedInstancesStorageConfiguration" +_sSGB = "storageSizeGiB" +_ILT = "InstanceLaunchTemplate" +_eIPA = "ec2InstanceProfileArn" +_nC = "networkConfiguration" +_sC = "storageConfiguration" +_lSC = "localStorageConfiguration" +_mo = "monitoring" +_cOT = "capacityOptionType" +_iMTP = "instanceMetadataTagsPropagation" +_iR = "instanceRequirements" +_fE = "fipsEnabled" +_cR = "capacityReservations" +_nEE = "nitroEnclavesEnabled" +_PMIT = "PropagateMITags" +_CP = "CAPACITY_PROVIDER" +_NONE = "NONE" +_CMIPC = "CreateManagedInstancesProviderConfiguration" +_iRA = "infrastructureRoleArn" +_iLT = "instanceLaunchTemplate" +_pT = "propagateTags" +_iO = "infrastructureOptimization" +_aRC = "autoRepairConfiguration" +_TK = "TagKey" +_TV = "TagValue" +_Ta = "Tag" +_ke = "key" +_va = "value" +_Tag = "Tags" +_CCPI = "CreateCapacityProviderInput" +_sSI = "smithy.synthetic#originalShapeId" +_cCCPR = "com.amazonaws.ecs#CreateCapacityProviderRequest" +_smit = "smithy.api#input" +_na = "name" +_cl = "cluster" +_aSGP = "autoScalingGroupProvider" +_mIP = "managedInstancesProvider" +_ta = "tags" +_MIP = "ManagedInstancesProvider" +_CPS = "CapacityProviderStatus" +_PROVISIONING = "PROVISIONING" +_ACTIVE = "ACTIVE" +_DEPROVISIONING = "DEPROVISIONING" +_INACTIVE = "INACTIVE" +_CPT = "CapacityProviderType" +_EA = "EC2_AUTOSCALING" +_MI = "MANAGED_INSTANCES" +_FARGATE = "FARGATE" +_FS = "FARGATE_SPOT" +_CPUS = "CapacityProviderUpdateStatus" +_CIP = "CREATE_IN_PROGRESS" +_CC = "CREATE_COMPLETE" +_CF = "CREATE_FAILED" +_DIP = "DELETE_IN_PROGRESS" +_DC = "DELETE_COMPLETE" +_DF = "DELETE_FAILED" +_UIP = "UPDATE_IN_PROGRESS" +_UC = "UPDATE_COMPLETE" +_UF = "UPDATE_FAILED" +_CPa = "CapacityProvider" +_cPA = "capacityProviderArn" +_uS = "updateStatus" +_uSR = "updateStatusReason" +_ty = "type" +_CCPO = "CreateCapacityProviderOutput" +_cCCPRo = "com.amazonaws.ecs#CreateCapacityProviderResponse" +_smith = "smithy.api#output" +_cP = "capacityProvider" +_IPE = "InvalidParameterException" +_LEE = "LimitExceededException" +_SE = "ServerException" +_se = "server" +_UFE = "UnsupportedFeatureException" +_UIPE = "UpdateInProgressException" +_CCP = "CreateCapacityProvider" +_DCPI = "DeleteCapacityProviderInput" +_cDCPR = "com.amazonaws.ecs#DeleteCapacityProviderRequest" +_DCPO = "DeleteCapacityProviderOutput" +_cDCPRo = "com.amazonaws.ecs#DeleteCapacityProviderResponse" +_DCP = "DeleteCapacityProvider" +_CPF = "CapacityProviderField" +_TAGS = "TAGS" +_CPFL = "CapacityProviderFieldList" +_DCPIe = "DescribeCapacityProvidersInput" +_cDCPRom = "com.amazonaws.ecs#DescribeCapacityProvidersRequest" +_cPa = "capacityProviders" +_incl = "include" +_mR = "maxResults" +_nT = "nextToken" +_CPap = "CapacityProviders" +_F = "Failure" +_ar = "arn" +_re = "reason" +_d = "detail" +_Fa = "Failures" +_DCPOe = "DescribeCapacityProvidersOutput" +_cDCPRoma = "com.amazonaws.ecs#DescribeCapacityProvidersResponse" +_fa = "failures" +_DCPe = "DescribeCapacityProviders" +_ASGPU = "AutoScalingGroupProviderUpdate" +_ILTU = "InstanceLaunchTemplateUpdate" +_UMIPC = "UpdateManagedInstancesProviderConfiguration" +_UCPI = "UpdateCapacityProviderInput" +_cUCPR = "com.amazonaws.ecs#UpdateCapacityProviderRequest" +_UCPO = "UpdateCapacityProviderOutput" +_cUCPRo = "com.amazonaws.ecs#UpdateCapacityProviderResponse" +_UCP = "UpdateCapacityProvider" +_ECLC = "ExecuteCommandLogConfiguration" +_cWLGN = "cloudWatchLogGroupName" +_cWEE = "cloudWatchEncryptionEnabled" +_sBN = "s3BucketName" +_sEE = "s3EncryptionEnabled" +_sKP = "s3KeyPrefix" +_NNFE = "NamespaceNotFoundException" +_SDNFE = "ServiceDeploymentNotFoundException" +_SO = "SortOrder" +_ASC_ = "ASC" +_DESC = "DESC" +_TDS = "TaskDefinitionStatus" +_GNFE = "GatewayNotFoundException" +_RNFE = "ResourceNotFoundException" +_GRS = "GatewayRouteStatus" + +BOXED_INTEGER: StaticSchema = (7, n0, _BI, 0) + +ACCELERATOR_COUNT_REQUEST: StaticSchema = ( + 18, + n0, + _ACR, + 0, + (_m, _ma), + ((BOXED_INTEGER, 0), (BOXED_INTEGER, 0)), +) + +ACCELERATOR_MANUFACTURER: StaticSchema = ( + 14, + n0, + _AM, + 0, + (_AWS, _AMD, _NVIDIA, _XILINX, _HABANA), + ( + (-1, {_sV: _aws}), + (-1, {_sV: _a}), + (-1, {_sV: _n}), + (-1, {_sV: _x}), + (-1, {_sV: _h}), + ), +) + +ACCELERATOR_MANUFACTURER_SET: StaticSchema = ( + 16, + n0, + _AMS, + 0, + (_me,), + ((ACCELERATOR_MANUFACTURER, {_sN: _i}),), +) + +ACCELERATOR_NAME: StaticSchema = ( + 14, + n0, + _AN, + 0, + (_A, _INFERENTIA, _K, _K_, _M, _RPV, _T, _VUP, _V, _AG, _H, _TG, _LS, _L), + ( + (-1, {_sV: _a_}), + (-1, {_sV: _in}), + (-1, {_sV: _k}), + (-1, {_sV: _k_}), + (-1, {_sV: _m_}), + (-1, {_sV: _rpv}), + (-1, {_sV: _t}), + (-1, {_sV: _v}), + (-1, {_sV: _v_}), + (-1, {_sV: _ag}), + (-1, {_sV: _h_}), + (-1, {_sV: _tg}), + (-1, {_sV: _l}), + (-1, {_sV: _l_}), + ), +) + +ACCELERATOR_NAME_SET: StaticSchema = ( + 16, + n0, + _ANS, + 0, + (_me,), + ((ACCELERATOR_NAME, {_sN: _i}),), +) + +ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST: StaticSchema = ( + 18, + n0, + _ATMMBR, + 0, + (_m, _ma), + ((BOXED_INTEGER, 0), (BOXED_INTEGER, 0)), +) + +ACCELERATOR_TYPE: StaticSchema = ( + 14, + n0, + _AT, + 0, + (_GPU, _FPGA, _INFERENCE), + ((-1, {_sV: _g}), (-1, {_sV: _f}), (-1, {_sV: _inf})), +) + +ACCELERATOR_TYPE_SET: StaticSchema = ( + 16, + n0, + _ATS, + 0, + (_me,), + ((ACCELERATOR_TYPE, {_sN: _i}),), +) + +STRING: StaticSchema = (3, n0, _S, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c, _sE: 403}, + (_mes,), + ((STRING, 0),), +) + +ACCESS_TYPE: StaticSchema = ( + 14, + n0, + _ATc, + 0, + (_PUBLIC, _PRIVATE), + ((-1, {_sV: _PUBLIC}), (-1, {_sV: _PRIVATE})), +) + +ACCESS_TYPE_LIST: StaticSchema = (16, n0, _ATL, 0, (_me,), ((ACCESS_TYPE, 0),)) + +ADVANCED_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AC, + 0, + (_aTGA, _pLR, _tLR, _rA), + ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), +) + +AGENT_UPDATE_STATUS: StaticSchema = ( + 14, + n0, + _AUS, + 0, + (_PENDING, _STAGING, _STAGED, _UPDATING, _UPDATED, _FAILED), + ( + (-1, {_sV: _PENDING}), + (-1, {_sV: _STAGING}), + (-1, {_sV: _STAGED}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _UPDATED}), + (-1, {_sV: _FAILED}), + ), +) + +ALLOWED_INSTANCE_TYPE: StaticSchema = (3, n0, _AIT, 0) + +ALLOWED_INSTANCE_TYPE_SET: StaticSchema = ( + 16, + n0, + _AITS, + 0, + (_me,), + ((ALLOWED_INSTANCE_TYPE, {_sN: _i}),), +) + +CLIENT_EXCEPTION: StaticSchema = (18, n0, _CE, {_s: _c}, (_mes,), ((STRING, 0),)) + +CLUSTER_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _CNFE, + {_s: _c}, + (_mes,), + ((STRING, 0),), +) + +MANAGED_DRAINING: StaticSchema = ( + 14, + n0, + _MD, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +MANAGED_SCALING_INSTANCE_WARMUP_PERIOD: StaticSchema = (7, n0, _MSIWP, 0) + +MANAGED_SCALING_STEP_SIZE: StaticSchema = (7, n0, _MSSS, 0) + +MANAGED_SCALING_STATUS: StaticSchema = ( + 14, + n0, + _MSS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +MANAGED_SCALING_TARGET_CAPACITY: StaticSchema = (7, n0, _MSTC, 0) + +MANAGED_SCALING: StaticSchema = ( + 18, + n0, + _MS, + 0, + (_st, _tC, _mSSS, _mSSSa, _iWP), + ( + (MANAGED_SCALING_STATUS, 0), + (MANAGED_SCALING_TARGET_CAPACITY, 0), + (MANAGED_SCALING_STEP_SIZE, 0), + (MANAGED_SCALING_STEP_SIZE, 0), + (MANAGED_SCALING_INSTANCE_WARMUP_PERIOD, 0), + ), +) + +MANAGED_TERMINATION_PROTECTION: StaticSchema = ( + 14, + n0, + _MTP, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +AUTO_SCALING_GROUP_PROVIDER: StaticSchema = ( + 18, + n0, + _ASGP, + 0, + (_aSGA, _mS, _mTP, _mD), + ( + (STRING, 1), + (MANAGED_SCALING, 0), + (MANAGED_TERMINATION_PROTECTION, 0), + (MANAGED_DRAINING, 0), + ), +) + +AUTO_REPAIR_ACTIONS_STATUS: StaticSchema = ( + 14, + n0, + _ARAS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +AUTO_REPAIR_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARC, + 0, + (_aS,), + ((AUTO_REPAIR_ACTIONS_STATUS, 0),), +) + +INFRASTRUCTURE_OPTIMIZATION: StaticSchema = ( + 18, + n0, + _IO, + 0, + (_sIA,), + ((BOXED_INTEGER, 0),), +) + +CAPACITY_OPTION_TYPE: StaticSchema = ( + 14, + n0, + _COT, + 0, + (_OD, _SPOT, _RESERVED), + ((-1, {_sV: _OD}), (-1, {_sV: _SPOT}), (-1, {_sV: _RESERVED})), +) + +CAPACITY_RESERVATION_PREFERENCE: StaticSchema = ( + 14, + n0, + _CRP, + 0, + (_RO, _RF, _RE), + ((-1, {_sV: _RO}), (-1, {_sV: _RF}), (-1, {_sV: _RE})), +) + +CAPACITY_RESERVATION_REQUEST: StaticSchema = ( + 18, + n0, + _CRR, + 0, + (_rGA, _rP), + ((STRING, 0), (CAPACITY_RESERVATION_PREFERENCE, 0)), +) + +BOXED_BOOLEAN: StaticSchema = (2, n0, _BB, 0) + +BARE_METAL: StaticSchema = ( + 14, + n0, + _BM, + 0, + (_INCLUDED, _REQUIRED, _EXCLUDED), + ((-1, {_sV: _inc}), (-1, {_sV: _r}), (-1, {_sV: _e})), +) + +BASELINE_EBS_BANDWIDTH_MBPS_REQUEST: StaticSchema = ( + 18, + n0, + _BEBMR, + 0, + (_m, _ma), + ((BOXED_INTEGER, 0), (BOXED_INTEGER, 0)), +) + +BURSTABLE_PERFORMANCE: StaticSchema = ( + 14, + n0, + _BP, + 0, + (_INCLUDED, _REQUIRED, _EXCLUDED), + ((-1, {_sV: _inc}), (-1, {_sV: _r}), (-1, {_sV: _e})), +) + +CPU_MANUFACTURER: StaticSchema = ( + 14, + n0, + _CM, + 0, + (_INTEL, _AMD, _AWS), + ((-1, {_sV: _int}), (-1, {_sV: _a}), (-1, {_sV: _aws})), +) + +CPU_MANUFACTURER_SET: StaticSchema = ( + 16, + n0, + _CMS, + 0, + (_me,), + ((CPU_MANUFACTURER, {_sN: _i}),), +) + +EXCLUDED_INSTANCE_TYPE: StaticSchema = (3, n0, _EIT, 0) + +EXCLUDED_INSTANCE_TYPE_SET: StaticSchema = ( + 16, + n0, + _EITS, + 0, + (_me,), + ((EXCLUDED_INSTANCE_TYPE, {_sN: _i}),), +) + +INSTANCE_GENERATION: StaticSchema = ( + 14, + n0, + _IG, + 0, + (_CURRENT, _PREVIOUS), + ((-1, {_sV: _cu}), (-1, {_sV: _p})), +) + +INSTANCE_GENERATION_SET: StaticSchema = ( + 16, + n0, + _IGS, + 0, + (_me,), + ((INSTANCE_GENERATION, {_sN: _i}),), +) + +LOCAL_STORAGE: StaticSchema = ( + 14, + n0, + _LSo, + 0, + (_INCLUDED, _REQUIRED, _EXCLUDED), + ((-1, {_sV: _inc}), (-1, {_sV: _r}), (-1, {_sV: _e})), +) + +LOCAL_STORAGE_TYPE: StaticSchema = ( + 14, + n0, + _LST, + 0, + (_HDD, _SSD), + ((-1, {_sV: _hd}), (-1, {_sV: _ss})), +) + +LOCAL_STORAGE_TYPE_SET: StaticSchema = ( + 16, + n0, + _LSTS, + 0, + (_me,), + ((LOCAL_STORAGE_TYPE, {_sN: _i}),), +) + +BOXED_DOUBLE: StaticSchema = (10, n0, _BD, 0) + +MEMORY_GI_B_PER_V_CPU_REQUEST: StaticSchema = ( + 18, + n0, + _MGBPVCR, + 0, + (_m, _ma), + ((BOXED_DOUBLE, 0), (BOXED_DOUBLE, 0)), +) + +MEMORY_MI_B_REQUEST: StaticSchema = ( + 18, + n0, + _MMBR, + 0, + (_m, _ma), + ((BOXED_INTEGER, 1), (BOXED_INTEGER, 0)), +) + +NETWORK_BANDWIDTH_GBPS_REQUEST: StaticSchema = ( + 18, + n0, + _NBGR, + 0, + (_m, _ma), + ((BOXED_DOUBLE, 0), (BOXED_DOUBLE, 0)), +) + +NETWORK_INTERFACE_COUNT_REQUEST: StaticSchema = ( + 18, + n0, + _NICR, + 0, + (_m, _ma), + ((BOXED_INTEGER, 0), (BOXED_INTEGER, 0)), +) + +TOTAL_LOCAL_STORAGE_GB_REQUEST: StaticSchema = ( + 18, + n0, + _TLSGBR, + 0, + (_m, _ma), + ((BOXED_DOUBLE, 0), (BOXED_DOUBLE, 0)), +) + +V_CPU_COUNT_RANGE_REQUEST: StaticSchema = ( + 18, + n0, + _VCCRR, + 0, + (_m, _ma), + ((BOXED_INTEGER, 1), (BOXED_INTEGER, 0)), +) + +INSTANCE_REQUIREMENTS_REQUEST: StaticSchema = ( + 18, + n0, + _IRR, + 0, + ( + _vCC, + _mMB, + _cM, + _mGBPVC, + _eIT, + _iG, + _sMPPOLP, + _oDMPPOLP, + _bM, + _bP, + _rHS, + _nIC, + _lS, + _lST, + _tLSGB, + _bEBM, + _aT, + _aC, + _aM, + _aN, + _aTMMB, + _nBG, + _aIT, + _mSPAPOOODP, + ), + ( + (V_CPU_COUNT_RANGE_REQUEST, 1), + (MEMORY_MI_B_REQUEST, 1), + (CPU_MANUFACTURER_SET, {_sN: _CM}), + (MEMORY_GI_B_PER_V_CPU_REQUEST, 0), + (EXCLUDED_INSTANCE_TYPE_SET, {_sN: _EIT}), + (INSTANCE_GENERATION_SET, {_sN: _IG}), + (BOXED_INTEGER, 0), + (BOXED_INTEGER, 0), + (BARE_METAL, 0), + (BURSTABLE_PERFORMANCE, 0), + (BOXED_BOOLEAN, 0), + (NETWORK_INTERFACE_COUNT_REQUEST, 0), + (LOCAL_STORAGE, 0), + (LOCAL_STORAGE_TYPE_SET, {_sN: _LST}), + (TOTAL_LOCAL_STORAGE_GB_REQUEST, 0), + (BASELINE_EBS_BANDWIDTH_MBPS_REQUEST, 0), + (ACCELERATOR_TYPE_SET, {_sN: _AT}), + (ACCELERATOR_COUNT_REQUEST, 0), + (ACCELERATOR_MANUFACTURER_SET, {_sN: _AM}), + (ACCELERATOR_NAME_SET, {_sN: _AN}), + (ACCELERATOR_TOTAL_MEMORY_MI_B_REQUEST, 0), + (NETWORK_BANDWIDTH_GBPS_REQUEST, 0), + (ALLOWED_INSTANCE_TYPE_SET, {_sN: _AIT}), + (BOXED_INTEGER, 0), + ), +) + +BOOLEAN: StaticSchema = (2, n0, _B, {_smi: False}) + +MANAGED_INSTANCES_LOCAL_STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MILSC, + 0, + (_uLS,), + ((BOOLEAN, {_smi: False}),), +) + +MANAGED_INSTANCES_MONITORING_OPTIONS: StaticSchema = ( + 14, + n0, + _MIMO, + 0, + (_BASIC, _DETAILED), + ((-1, {_sV: _BASIC}), (-1, {_sV: _DETAILED})), +) + +STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_me,), ((STRING, 0),)) + +MANAGED_INSTANCES_NETWORK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MINC, + 0, + (_su, _sG), + ((STRING_LIST, 0), (STRING_LIST, 0)), +) + +TASK_VOLUME_STORAGE_GI_B: StaticSchema = (7, n0, _TVSGB, 0) + +MANAGED_INSTANCES_STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MISC, + 0, + (_sSGB,), + ((TASK_VOLUME_STORAGE_GI_B, 0),), +) + +INSTANCE_LAUNCH_TEMPLATE: StaticSchema = ( + 18, + n0, + _ILT, + 0, + (_eIPA, _nC, _sC, _lSC, _mo, _cOT, _iMTP, _iR, _fE, _cR, _nEE), + ( + (STRING, 1), + (MANAGED_INSTANCES_NETWORK_CONFIGURATION, 1), + (MANAGED_INSTANCES_STORAGE_CONFIGURATION, 0), + (MANAGED_INSTANCES_LOCAL_STORAGE_CONFIGURATION, 0), + (MANAGED_INSTANCES_MONITORING_OPTIONS, 0), + (CAPACITY_OPTION_TYPE, 0), + (BOXED_BOOLEAN, 0), + (INSTANCE_REQUIREMENTS_REQUEST, 0), + (BOXED_BOOLEAN, 0), + (CAPACITY_RESERVATION_REQUEST, 0), + (BOXED_BOOLEAN, 0), + ), +) + +PROPAGATE_MI_TAGS: StaticSchema = ( + 14, + n0, + _PMIT, + 0, + (_CP, _NONE), + ((-1, {_sV: _CP}), (-1, {_sV: _NONE})), +) + +CREATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CMIPC, + 0, + (_iRA, _iLT, _pT, _iO, _aRC), + ( + (STRING, 1), + (INSTANCE_LAUNCH_TEMPLATE, 1), + (PROPAGATE_MI_TAGS, 0), + (INFRASTRUCTURE_OPTIMIZATION, 0), + (AUTO_REPAIR_CONFIGURATION, 0), + ), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _Ta, 0, (_ke, _va), ((TAG_KEY, 0), (TAG_VALUE, 0))) + +TAGS: StaticSchema = (16, n0, _Tag, 0, (_me,), ((TAG, 0),)) + +CREATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _CCPI, + {_sSI: _cCCPR, _smit: None}, + (_na, _cl, _aSGP, _mIP, _ta), + ( + (STRING, 1), + (STRING, 0), + (AUTO_SCALING_GROUP_PROVIDER, 0), + (CREATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION, 0), + (TAGS, 0), + ), +) + +CREATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _CCPO, + {_sSI: _cCCPRo, _smith: None}, + (_cP,), + ((lambda: CAPACITY_PROVIDER, 0),), +) + +CREATE_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _CCP, + 0, + CREATE_CAPACITY_PROVIDER_INPUT, + CREATE_CAPACITY_PROVIDER_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CLIENT_EXCEPTION, + CLUSTER_NOT_FOUND_EXCEPTION, + lambda: INVALID_PARAMETER_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + lambda: SERVER_EXCEPTION, + lambda: UNSUPPORTED_FEATURE_EXCEPTION, + lambda: UPDATE_IN_PROGRESS_EXCEPTION, + ), +) + +MANAGED_INSTANCES_PROVIDER: StaticSchema = ( + 18, + n0, + _MIP, + 0, + (_iRA, _iLT, _pT, _iO, _aRC), + ( + (STRING, 0), + (INSTANCE_LAUNCH_TEMPLATE, 0), + (PROPAGATE_MI_TAGS, 0), + (INFRASTRUCTURE_OPTIMIZATION, 0), + (AUTO_REPAIR_CONFIGURATION, 0), + ), +) + +CAPACITY_PROVIDER_STATUS: StaticSchema = ( + 14, + n0, + _CPS, + 0, + (_PROVISIONING, _ACTIVE, _DEPROVISIONING, _INACTIVE), + ( + (-1, {_sV: _PROVISIONING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DEPROVISIONING}), + (-1, {_sV: _INACTIVE}), + ), +) + +CAPACITY_PROVIDER_TYPE: StaticSchema = ( + 14, + n0, + _CPT, + 0, + (_EA, _MI, _FARGATE, _FS), + ((-1, {_sV: _EA}), (-1, {_sV: _MI}), (-1, {_sV: _FARGATE}), (-1, {_sV: _FS})), +) + +CAPACITY_PROVIDER_UPDATE_STATUS: StaticSchema = ( + 14, + n0, + _CPUS, + 0, + (_CIP, _CC, _CF, _DIP, _DC, _DF, _UIP, _UC, _UF), + ( + (-1, {_sV: _CIP}), + (-1, {_sV: _CC}), + (-1, {_sV: _CF}), + (-1, {_sV: _DIP}), + (-1, {_sV: _DC}), + (-1, {_sV: _DF}), + (-1, {_sV: _UIP}), + (-1, {_sV: _UC}), + (-1, {_sV: _UF}), + ), +) + +CAPACITY_PROVIDER: StaticSchema = ( + 18, + n0, + _CPa, + 0, + (_cPA, _na, _cl, _st, _aSGP, _mIP, _uS, _uSR, _ta, _ty), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (CAPACITY_PROVIDER_STATUS, 0), + (AUTO_SCALING_GROUP_PROVIDER, 0), + (MANAGED_INSTANCES_PROVIDER, 0), + (CAPACITY_PROVIDER_UPDATE_STATUS, 0), + (STRING, 0), + (TAGS, 0), + (CAPACITY_PROVIDER_TYPE, 0), + ), +) + +INVALID_PARAMETER_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPE, + {_s: _c}, + (_mes,), + ((STRING, 0),), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + {_s: _c}, + (_mes,), + ((STRING, 0),), +) + +SERVER_EXCEPTION: StaticSchema = (18, n0, _SE, {_s: _se}, (_mes,), ((STRING, 0),)) + +UNSUPPORTED_FEATURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _UFE, + {_s: _c}, + (_mes,), + ((STRING, 0),), +) + +UPDATE_IN_PROGRESS_EXCEPTION: StaticSchema = ( + 18, + n0, + _UIPE, + {_s: _c}, + (_mes,), + ((STRING, 0),), +) + +DELETE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DCPI, + {_sSI: _cDCPR, _smit: None}, + (_cP, _cl), + ((STRING, 1), (STRING, 0)), +) + +DELETE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _DCPO, + {_sSI: _cDCPRo, _smith: None}, + (_cP,), + ((CAPACITY_PROVIDER, 0),), +) + +DELETE_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DCP, + 0, + DELETE_CAPACITY_PROVIDER_INPUT, + DELETE_CAPACITY_PROVIDER_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CLIENT_EXCEPTION, + CLUSTER_NOT_FOUND_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + SERVER_EXCEPTION, + UNSUPPORTED_FEATURE_EXCEPTION, + UPDATE_IN_PROGRESS_EXCEPTION, + ), +) + +CAPACITY_PROVIDER_FIELD: StaticSchema = ( + 14, + n0, + _CPF, + 0, + (_TAGS,), + ((-1, {_sV: _TAGS}),), +) + +CAPACITY_PROVIDER_FIELD_LIST: StaticSchema = ( + 16, + n0, + _CPFL, + 0, + (_me,), + ((CAPACITY_PROVIDER_FIELD, 0),), +) + +DESCRIBE_CAPACITY_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _DCPIe, + {_sSI: _cDCPRom, _smit: None}, + (_cPa, _cl, _incl, _mR, _nT), + ( + (STRING_LIST, 0), + (STRING, 0), + (CAPACITY_PROVIDER_FIELD_LIST, 0), + (BOXED_INTEGER, 0), + (STRING, 0), + ), +) + +DESCRIBE_CAPACITY_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCPOe, + {_sSI: _cDCPRoma, _smith: None}, + (_cPa, _fa, _nT), + ((lambda: CAPACITY_PROVIDERS, 0), (lambda: FAILURES, 0), (STRING, 0)), +) + +DESCRIBE_CAPACITY_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _DCPe, + 0, + DESCRIBE_CAPACITY_PROVIDERS_INPUT, + DESCRIBE_CAPACITY_PROVIDERS_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CLIENT_EXCEPTION, + CLUSTER_NOT_FOUND_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + SERVER_EXCEPTION, + UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +CAPACITY_PROVIDERS: StaticSchema = (16, n0, _CPap, 0, (_me,), ((CAPACITY_PROVIDER, 0),)) + +FAILURE: StaticSchema = ( + 18, + n0, + _F, + 0, + (_ar, _re, _d), + ((STRING, 0), (STRING, 0), (STRING, 0)), +) + +FAILURES: StaticSchema = (16, n0, _Fa, 0, (_me,), ((FAILURE, 0),)) + +AUTO_SCALING_GROUP_PROVIDER_UPDATE: StaticSchema = ( + 18, + n0, + _ASGPU, + 0, + (_mS, _mTP, _mD), + ((MANAGED_SCALING, 0), (MANAGED_TERMINATION_PROTECTION, 0), (MANAGED_DRAINING, 0)), +) + +INSTANCE_LAUNCH_TEMPLATE_UPDATE: StaticSchema = ( + 18, + n0, + _ILTU, + 0, + (_eIPA, _nC, _sC, _iMTP, _lSC, _mo, _iR, _cR), + ( + (STRING, 0), + (MANAGED_INSTANCES_NETWORK_CONFIGURATION, 0), + (MANAGED_INSTANCES_STORAGE_CONFIGURATION, 0), + (BOXED_BOOLEAN, 0), + (MANAGED_INSTANCES_LOCAL_STORAGE_CONFIGURATION, 0), + (MANAGED_INSTANCES_MONITORING_OPTIONS, 0), + (INSTANCE_REQUIREMENTS_REQUEST, 0), + (CAPACITY_RESERVATION_REQUEST, 0), + ), +) + +UPDATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _UMIPC, + 0, + (_iRA, _iLT, _pT, _iO, _aRC), + ( + (STRING, 1), + (INSTANCE_LAUNCH_TEMPLATE_UPDATE, 1), + (PROPAGATE_MI_TAGS, 0), + (INFRASTRUCTURE_OPTIMIZATION, 0), + (AUTO_REPAIR_CONFIGURATION, 0), + ), +) + +UPDATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _UCPI, + {_sSI: _cUCPR, _smit: None}, + (_na, _cl, _aSGP, _mIP), + ( + (STRING, 1), + (STRING, 0), + (AUTO_SCALING_GROUP_PROVIDER_UPDATE, 0), + (UPDATE_MANAGED_INSTANCES_PROVIDER_CONFIGURATION, 0), + ), +) + +UPDATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _UCPO, + {_sSI: _cUCPRo, _smith: None}, + (_cP,), + ((CAPACITY_PROVIDER, 0),), +) + +UPDATE_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _UCP, + 0, + UPDATE_CAPACITY_PROVIDER_INPUT, + UPDATE_CAPACITY_PROVIDER_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CLIENT_EXCEPTION, + CLUSTER_NOT_FOUND_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + SERVER_EXCEPTION, + UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +EXECUTE_COMMAND_LOG_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ECLC, + 0, + (_cWLGN, _cWEE, _sBN, _sEE, _sKP), + ( + (STRING, 0), + (BOOLEAN, {_smi: False}), + (STRING, 0), + (BOOLEAN, {_smi: False}), + (STRING, 0), + ), +) + +NAMESPACE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _NNFE, + {_s: _c}, + (_mes,), + ((STRING, 0),), +) + +SERVICE_DEPLOYMENT_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _SDNFE, + {_s: _c}, + (_mes,), + ((STRING, 0),), +) + +SORT_ORDER: StaticSchema = ( + 14, + n0, + _SO, + 0, + (_ASC_, _DESC), + ((-1, {_sV: _ASC_}), (-1, {_sV: _DESC})), +) + +TASK_DEFINITION_STATUS: StaticSchema = ( + 14, + n0, + _TDS, + 0, + (_ACTIVE, _INACTIVE, _DIP), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _INACTIVE}), (-1, {_sV: _DIP})), +) + +GATEWAY_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _GNFE, + {_s: _c}, + (_mes,), + ((STRING, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c}, + (_mes,), + ((STRING, 0),), +) + +GATEWAY_ROUTE_STATUS: StaticSchema = ( + 14, + n0, + _GRS, + 0, + (_ACTIVE, _CIP, _CF, _UIP, _UF, _DIP, _DF), + ( + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _CIP}), + (-1, {_sV: _CF}), + (-1, {_sV: _UIP}), + (-1, {_sV: _UF}), + (-1, {_sV: _DIP}), + (-1, {_sV: _DF}), + ), +) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_1.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_1.py new file mode 100644 index 000000000..ed86ffd4f --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_1.py @@ -0,0 +1,1429 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ecs" +_sV = "smithy.api#enumValue" +_me = "member" +_s = "smithy.api#error" +_c = "client" +_mes = "message" +_PENDING = "PENDING" +_st = "status" +_sm = "smithy.api#required" +_smi = "smithy.api#default" +_NONE = "NONE" +_va = "value" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_na = "name" +_cl = "cluster" +_ta = "tags" +_ACTIVE = "ACTIVE" +_ty = "type" +_smith = "smithy.api#output" +_cP = "capacityProvider" +_TAGS = "TAGS" +_cPa = "capacityProviders" +_incl = "include" +_mR = "maxResults" +_nT = "nextToken" +_re = "reason" +_fa = "failures" +_ECL = "ExecuteCommandLogging" +_DEFAULT = "DEFAULT" +_OVERRIDE = "OVERRIDE" +_ECC = "ExecuteCommandConfiguration" +_kKI = "kmsKeyId" +_lo = "logging" +_lC = "logConfiguration" +_MSC = "ManagedStorageConfiguration" +_fESKKI = "fargateEphemeralStorageKmsKeyId" +_CCl = "ClusterConfiguration" +_eCC = "executeCommandConfiguration" +_mSC = "managedStorageConfiguration" +_CPSIB = "CapacityProviderStrategyItemBase" +_CPSIW = "CapacityProviderStrategyItemWeight" +_CPSI = "CapacityProviderStrategyItem" +_w = "weight" +_b = "base" +_CPSa = "CapacityProviderStrategy" +_CSCDR = "ClusterServiceConnectDefaultsRequest" +_nam = "namespace" +_CSN = "ClusterSettingName" +_CI = "CONTAINER_INSIGHTS" +_cI = "containerInsights" +_CS = "ClusterSetting" +_CSl = "ClusterSettings" +_CCI = "CreateClusterInput" +_cCCR = "com.amazonaws.ecs#CreateClusterRequest" +_cN = "clusterName" +_set = "settings" +_co = "configuration" +_dCPS = "defaultCapacityProviderStrategy" +_sCD = "serviceConnectDefaults" +_I = "Integer" +_KVP = "KeyValuePair" +_AD = "AttachmentDetails" +_At = "Attachment" +_id = "id" +_de = "details" +_Att = "Attachments" +_CSCD = "ClusterServiceConnectDefaults" +_St = "Statistics" +_C = "Cluster" +_cA = "clusterArn" +_rCIC = "registeredContainerInstancesCount" +_rTC = "runningTasksCount" +_pTC = "pendingTasksCount" +_aSC = "activeServicesCount" +_sta = "statistics" +_at = "attachments" +_aSt = "attachmentsStatus" +_CCO = "CreateClusterOutput" +_cCCRo = "com.amazonaws.ecs#CreateClusterResponse" +_CCr = "CreateCluster" +_CCCPE = "ClusterContainsCapacityProviderException" +_CCCIE = "ClusterContainsContainerInstancesException" +_CCSE = "ClusterContainsServicesException" +_CCTE = "ClusterContainsTasksException" +_DCI = "DeleteClusterInput" +_cDCR = "com.amazonaws.ecs#DeleteClusterRequest" +_DCO = "DeleteClusterOutput" +_cDCRo = "com.amazonaws.ecs#DeleteClusterResponse" +_DCe = "DeleteCluster" +_DCII = "DeregisterContainerInstanceInput" +_cDCIR = "com.amazonaws.ecs#DeregisterContainerInstanceRequest" +_cIo = "containerInstance" +_fo = "force" +_TT = "TargetType" +_CI_ = "CONTAINER_INSTANCE" +_ci = "container-instance" +_Attr = "Attribute" +_tT = "targetType" +_tI = "targetId" +_Attri = "Attributes" +_GSM = "GpuSharingMode" +_IDLE = "IDLE" +_NM = "NVIDIA_MPS" +_DEDICATED = "DEDICATED" +_GD = "GpuDevice" +_gI = "gpuId" +_sM = "sharingMode" +_tMIMB = "totalMemoryInMiB" +_rMIMB = "remainingMemoryInMiB" +_cC = "containerCount" +_GDp = "GpuDevices" +_Ti = "Timestamp" +_IHCS = "InstanceHealthCheckState" +_OK = "OK" +_IMPAIRED = "IMPAIRED" +_ID = "INSUFFICIENT_DATA" +_INITIALIZING = "INITIALIZING" +_IHCT = "InstanceHealthCheckType" +_CR = "CONTAINER_RUNTIME" +_AC_ = "ACCELERATED_COMPUTE" +_DAEMON = "DAEMON" +_AC__ = "AGENT_CONNECTIVITY" +_IHCR = "InstanceHealthCheckResult" +_sR = "statusReason" +_lU = "lastUpdated" +_lSCa = "lastStatusChange" +_IHCRL = "InstanceHealthCheckResultList" +_CIHS = "ContainerInstanceHealthStatus" +_oS = "overallStatus" +_D = "Double" +_Lo = "Long" +_R = "Resource" +_dV = "doubleValue" +_lV = "longValue" +_iV = "integerValue" +_sSV = "stringSetValue" +_Re = "Resources" +_VI = "VersionInfo" +_aV = "agentVersion" +_aH = "agentHash" +_dVo = "dockerVersion" +_CIo = "ContainerInstance" +_cIA = "containerInstanceArn" +_eII = "ec2InstanceId" +_cPN = "capacityProviderName" +_ve = "version" +_vI = "versionInfo" +_rR = "remainingResources" +_rRe = "registeredResources" +_aCg = "agentConnected" +_aUS = "agentUpdateStatus" +_att = "attributes" +_rAe = "registeredAt" +_hS = "healthStatus" +_gD = "gpuDevices" +_DCIO = "DeregisterContainerInstanceOutput" +_cDCIRo = "com.amazonaws.ecs#DeregisterContainerInstanceResponse" +_DCIe = "DeregisterContainerInstance" +_CFl = "ClusterField" +_ATTACHMENTS = "ATTACHMENTS" +_CONFIGURATIONS = "CONFIGURATIONS" +_SETTINGS = "SETTINGS" +_STATISTICS = "STATISTICS" +_CFL = "ClusterFieldList" +_DCIes = "DescribeClustersInput" +_cDCRom = "com.amazonaws.ecs#DescribeClustersRequest" +_clu = "clusters" +_Cl = "Clusters" +_DCOe = "DescribeClustersOutput" +_cDCRoma = "com.amazonaws.ecs#DescribeClustersResponse" +_DCes = "DescribeClusters" +_ECI = "ExecuteCommandInput" +_cECR = "com.amazonaws.ecs#ExecuteCommandRequest" +_con = "container" +_com = "command" +_inte = "interactive" +_tas = "task" +_SS = "SensitiveString" +_smithy = "smithy.api#sensitive" +_Se = "Session" +_sI = "sessionId" +_sU = "streamUrl" +_tV = "tokenValue" +_ECO = "ExecuteCommandOutput" +_cECRo = "com.amazonaws.ecs#ExecuteCommandResponse" +_cAo = "containerArn" +_cNo = "containerName" +_ses = "session" +_tA = "taskArn" +_TNCE = "TargetNotConnectedException" +_EC = "ExecuteCommand" +_LAI = "ListAttributesInput" +_cLAR = "com.amazonaws.ecs#ListAttributesRequest" +_aNt = "attributeName" +_aVt = "attributeValue" +_LAO = "ListAttributesOutput" +_cLARo = "com.amazonaws.ecs#ListAttributesResponse" +_LA = "ListAttributes" +_LCI = "ListClustersInput" +_cLCR = "com.amazonaws.ecs#ListClustersRequest" +_LCO = "ListClustersOutput" +_cLCRo = "com.amazonaws.ecs#ListClustersResponse" +_cAl = "clusterArns" +_LC = "ListClusters" +_CIS = "ContainerInstanceStatus" +_DRAINING = "DRAINING" +_REGISTERING = "REGISTERING" +_DEREGISTERING = "DEREGISTERING" +_RF_ = "REGISTRATION_FAILED" +_LCII = "ListContainerInstancesInput" +_cLCIR = "com.amazonaws.ecs#ListContainerInstancesRequest" +_fi = "filter" +_LCIO = "ListContainerInstancesOutput" +_cLCIRo = "com.amazonaws.ecs#ListContainerInstancesResponse" +_cIAo = "containerInstanceArns" +_LCIi = "ListContainerInstances" +_PCCPI = "PutClusterCapacityProvidersInput" +_cPCCPR = "com.amazonaws.ecs#PutClusterCapacityProvidersRequest" +_PCCPO = "PutClusterCapacityProvidersOutput" +_cPCCPRo = "com.amazonaws.ecs#PutClusterCapacityProvidersResponse" +_RIUE = "ResourceInUseException" +_PCCP = "PutClusterCapacityProviders" +_ASC = "AttachmentStateChange" +_aA = "attachmentArn" +_ASCt = "AttachmentStateChanges" +_SASCI = "SubmitAttachmentStateChangesInput" +_cSASCR = "com.amazonaws.ecs#SubmitAttachmentStateChangesRequest" +_SASCO = "SubmitAttachmentStateChangesOutput" +_cSASCRo = "com.amazonaws.ecs#SubmitAttachmentStateChangesResponse" +_ac = "acknowledgment" +_SASC = "SubmitAttachmentStateChanges" +_TP = "TransportProtocol" +_TCP = "TCP" +_tc = "tcp" +_UDP = "UDP" +_u = "udp" +_NB = "NetworkBinding" +_bIP = "bindIP" +_cPo = "containerPort" +_hP = "hostPort" +_pr = "protocol" +_cPR = "containerPortRange" +_hPR = "hostPortRange" +_NBe = "NetworkBindings" +_SCSCI = "SubmitContainerStateChangeInput" +_cSCSCR = "com.amazonaws.ecs#SubmitContainerStateChangeRequest" +_rI = "runtimeId" +_eC = "exitCode" +_nB = "networkBindings" +_SCSCO = "SubmitContainerStateChangeOutput" +_cSCSCRo = "com.amazonaws.ecs#SubmitContainerStateChangeResponse" +_SCSC = "SubmitContainerStateChange" +_CSC = "ContainerStateChange" +_iD = "imageDigest" +_CSCo = "ContainerStateChanges" +_MAN = "ManagedAgentName" +_ECA = "ExecuteCommandAgent" +_MASC = "ManagedAgentStateChange" +_mAN = "managedAgentName" +_MASCa = "ManagedAgentStateChanges" +_STSCI = "SubmitTaskStateChangeInput" +_cSTSCR = "com.amazonaws.ecs#SubmitTaskStateChangeRequest" +_cont = "containers" +_mA = "managedAgents" +_pSA = "pullStartedAt" +_pSAu = "pullStoppedAt" +_eSA = "executionStoppedAt" +_STSCO = "SubmitTaskStateChangeOutput" +_cSTSCRo = "com.amazonaws.ecs#SubmitTaskStateChangeResponse" +_STSC = "SubmitTaskStateChange" +_UCI = "UpdateClusterInput" +_cUCR = "com.amazonaws.ecs#UpdateClusterRequest" +_UCO = "UpdateClusterOutput" +_cUCRo = "com.amazonaws.ecs#UpdateClusterResponse" +_UCp = "UpdateCluster" +_UCSI = "UpdateClusterSettingsInput" +_cUCSR = "com.amazonaws.ecs#UpdateClusterSettingsRequest" +_UCSO = "UpdateClusterSettingsOutput" +_cUCSRo = "com.amazonaws.ecs#UpdateClusterSettingsResponse" +_UCS = "UpdateClusterSettings" +_STOPPED = "STOPPED" +_SUCCESSFUL = "SUCCESSFUL" +_SR = "STOP_REQUESTED" +_IP = "IN_PROGRESS" +_RIP = "ROLLBACK_IN_PROGRESS" +_RS = "ROLLBACK_SUCCESSFUL" +_RF__ = "ROLLBACK_FAILED" +_PUE = "PlatformUnknownException" +_SDS = "ServiceDeploymentStatus" +_RR_ = "ROLLBACK_REQUESTED" + +EXECUTE_COMMAND_LOGGING: StaticSchema = ( + 14, + n0, + _ECL, + 0, + (_NONE, _DEFAULT, _OVERRIDE), + ((-1, {_sV: _NONE}), (-1, {_sV: _DEFAULT}), (-1, {_sV: _OVERRIDE})), +) + +EXECUTE_COMMAND_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ECC, + 0, + (_kKI, _lo, _lC), + ( + (lambda: schemas.STRING, 0), + (EXECUTE_COMMAND_LOGGING, 0), + (lambda: schemas.EXECUTE_COMMAND_LOG_CONFIGURATION, 0), + ), +) + +MANAGED_STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MSC, + 0, + (_kKI, _fESKKI), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CLUSTER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CCl, + 0, + (_eCC, _mSC), + ((EXECUTE_COMMAND_CONFIGURATION, 0), (MANAGED_STORAGE_CONFIGURATION, 0)), +) + +CAPACITY_PROVIDER_STRATEGY_ITEM_BASE: StaticSchema = (7, n0, _CPSIB, {_smi: 0}) + +CAPACITY_PROVIDER_STRATEGY_ITEM_WEIGHT: StaticSchema = (7, n0, _CPSIW, {_smi: 0}) + +CAPACITY_PROVIDER_STRATEGY_ITEM: StaticSchema = ( + 18, + n0, + _CPSI, + 0, + (_cP, _w, _b), + ( + (lambda: schemas.STRING, 1), + (CAPACITY_PROVIDER_STRATEGY_ITEM_WEIGHT, {_smi: 0}), + (CAPACITY_PROVIDER_STRATEGY_ITEM_BASE, {_smi: 0}), + ), +) + +CAPACITY_PROVIDER_STRATEGY: StaticSchema = ( + 16, + n0, + _CPSa, + 0, + (_me,), + ((CAPACITY_PROVIDER_STRATEGY_ITEM, 0),), +) + +CLUSTER_SERVICE_CONNECT_DEFAULTS_REQUEST: StaticSchema = ( + 18, + n0, + _CSCDR, + 0, + (_nam,), + ((lambda: schemas.STRING, 1),), +) + +CLUSTER_SETTING_NAME: StaticSchema = (14, n0, _CSN, 0, (_CI,), ((-1, {_sV: _cI}),)) + +CLUSTER_SETTING: StaticSchema = ( + 18, + n0, + _CS, + 0, + (_na, _va), + ((CLUSTER_SETTING_NAME, 0), (lambda: schemas.STRING, 0)), +) + +CLUSTER_SETTINGS: StaticSchema = (16, n0, _CSl, 0, (_me,), ((CLUSTER_SETTING, 0),)) + +CREATE_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _CCI, + {_sSI: _cCCR, _smit: None}, + (_cN, _ta, _set, _co, _cPa, _dCPS, _sCD), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TAGS, 0), + (CLUSTER_SETTINGS, 0), + (CLUSTER_CONFIGURATION, 0), + (lambda: schemas.STRING_LIST, 0), + (CAPACITY_PROVIDER_STRATEGY, 0), + (CLUSTER_SERVICE_CONNECT_DEFAULTS_REQUEST, 0), + ), +) + +CREATE_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _CCO, + {_sSI: _cCCRo, _smith: None}, + (_cl,), + ((lambda: CLUSTER, 0),), +) + +CREATE_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _CCr, + 0, + CREATE_CLUSTER_INPUT, + CREATE_CLUSTER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NAMESPACE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +INTEGER: StaticSchema = (7, n0, _I, {_smi: 0}) + +KEY_VALUE_PAIR: StaticSchema = ( + 18, + n0, + _KVP, + 0, + (_na, _va), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +ATTACHMENT_DETAILS: StaticSchema = (16, n0, _AD, 0, (_me,), ((KEY_VALUE_PAIR, 0),)) + +ATTACHMENT: StaticSchema = ( + 18, + n0, + _At, + 0, + (_id, _ty, _st, _de), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (ATTACHMENT_DETAILS, 0), + ), +) + +ATTACHMENTS: StaticSchema = (16, n0, _Att, 0, (_me,), ((ATTACHMENT, 0),)) + +CLUSTER_SERVICE_CONNECT_DEFAULTS: StaticSchema = ( + 18, + n0, + _CSCD, + 0, + (_nam,), + ((lambda: schemas.STRING, 0),), +) + +STATISTICS: StaticSchema = (16, n0, _St, 0, (_me,), ((KEY_VALUE_PAIR, 0),)) + +CLUSTER: StaticSchema = ( + 18, + n0, + _C, + 0, + ( + _cA, + _cN, + _co, + _st, + _rCIC, + _rTC, + _pTC, + _aSC, + _sta, + _ta, + _set, + _cPa, + _dCPS, + _at, + _aSt, + _sCD, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (CLUSTER_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (INTEGER, {_smi: 0}), + (INTEGER, {_smi: 0}), + (INTEGER, {_smi: 0}), + (INTEGER, {_smi: 0}), + (STATISTICS, 0), + (lambda: schemas.TAGS, 0), + (CLUSTER_SETTINGS, 0), + (lambda: schemas.STRING_LIST, 0), + (CAPACITY_PROVIDER_STRATEGY, 0), + (ATTACHMENTS, 0), + (lambda: schemas.STRING, 0), + (CLUSTER_SERVICE_CONNECT_DEFAULTS, 0), + ), +) + +CLUSTER_CONTAINS_CAPACITY_PROVIDER_EXCEPTION: StaticSchema = ( + 18, + n0, + _CCCPE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +CLUSTER_CONTAINS_CONTAINER_INSTANCES_EXCEPTION: StaticSchema = ( + 18, + n0, + _CCCIE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +CLUSTER_CONTAINS_SERVICES_EXCEPTION: StaticSchema = ( + 18, + n0, + _CCSE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +CLUSTER_CONTAINS_TASKS_EXCEPTION: StaticSchema = ( + 18, + n0, + _CCTE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _DCI, + {_sSI: _cDCR, _smit: None}, + (_cl,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _DCO, + {_sSI: _cDCRo, _smith: None}, + (_cl,), + ((CLUSTER, 0),), +) + +DELETE_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _DCe, + 0, + DELETE_CLUSTER_INPUT, + DELETE_CLUSTER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + CLUSTER_CONTAINS_CAPACITY_PROVIDER_EXCEPTION, + CLUSTER_CONTAINS_CONTAINER_INSTANCES_EXCEPTION, + CLUSTER_CONTAINS_SERVICES_EXCEPTION, + CLUSTER_CONTAINS_TASKS_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UPDATE_IN_PROGRESS_EXCEPTION, + ), +) + +DEREGISTER_CONTAINER_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _DCII, + {_sSI: _cDCIR, _smit: None}, + (_cl, _cIo, _fo), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOXED_BOOLEAN, 0), + ), +) + +DEREGISTER_CONTAINER_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _DCIO, + {_sSI: _cDCIRo, _smith: None}, + (_cIo,), + ((lambda: CONTAINER_INSTANCE, 0),), +) + +DEREGISTER_CONTAINER_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _DCIe, + 0, + DEREGISTER_CONTAINER_INSTANCE_INPUT, + DEREGISTER_CONTAINER_INSTANCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +TARGET_TYPE: StaticSchema = (14, n0, _TT, 0, (_CI_,), ((-1, {_sV: _ci}),)) + +ATTRIBUTE: StaticSchema = ( + 18, + n0, + _Attr, + 0, + (_na, _va, _tT, _tI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (TARGET_TYPE, 0), + (lambda: schemas.STRING, 0), + ), +) + +ATTRIBUTES: StaticSchema = (16, n0, _Attri, 0, (_me,), ((ATTRIBUTE, 0),)) + +GPU_SHARING_MODE: StaticSchema = ( + 14, + n0, + _GSM, + 0, + (_IDLE, _NM, _DEDICATED), + ((-1, {_sV: _IDLE}), (-1, {_sV: _NM}), (-1, {_sV: _DEDICATED})), +) + +GPU_DEVICE: StaticSchema = ( + 18, + n0, + _GD, + 0, + (_gI, _sM, _tMIMB, _rMIMB, _cC), + ( + (lambda: schemas.STRING, 0), + (GPU_SHARING_MODE, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +GPU_DEVICES: StaticSchema = (16, n0, _GDp, 0, (_me,), ((GPU_DEVICE, 0),)) + +TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) + +INSTANCE_HEALTH_CHECK_STATE: StaticSchema = ( + 14, + n0, + _IHCS, + 0, + (_OK, _IMPAIRED, _ID, _INITIALIZING), + ( + (-1, {_sV: _OK}), + (-1, {_sV: _IMPAIRED}), + (-1, {_sV: _ID}), + (-1, {_sV: _INITIALIZING}), + ), +) + +INSTANCE_HEALTH_CHECK_TYPE: StaticSchema = ( + 14, + n0, + _IHCT, + 0, + (_CR, _AC_, _DAEMON, _AC__), + ((-1, {_sV: _CR}), (-1, {_sV: _AC_}), (-1, {_sV: _DAEMON}), (-1, {_sV: _AC__})), +) + +INSTANCE_HEALTH_CHECK_RESULT: StaticSchema = ( + 18, + n0, + _IHCR, + 0, + (_ty, _st, _sR, _lU, _lSCa), + ( + (INSTANCE_HEALTH_CHECK_TYPE, 0), + (INSTANCE_HEALTH_CHECK_STATE, 0), + (lambda: schemas.STRING, 0), + (TIMESTAMP, 0), + (TIMESTAMP, 0), + ), +) + +INSTANCE_HEALTH_CHECK_RESULT_LIST: StaticSchema = ( + 16, + n0, + _IHCRL, + 0, + (_me,), + ((INSTANCE_HEALTH_CHECK_RESULT, 0),), +) + +CONTAINER_INSTANCE_HEALTH_STATUS: StaticSchema = ( + 18, + n0, + _CIHS, + 0, + (_oS, _de), + ((INSTANCE_HEALTH_CHECK_STATE, 0), (INSTANCE_HEALTH_CHECK_RESULT_LIST, 0)), +) + +DOUBLE: StaticSchema = (10, n0, _D, {_smi: 0}) + +LONG: StaticSchema = (8, n0, _Lo, {_smi: 0}) + +RESOURCE: StaticSchema = ( + 18, + n0, + _R, + 0, + (_na, _ty, _dV, _lV, _iV, _sSV), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DOUBLE, {_smi: 0}), + (LONG, {_smi: 0}), + (INTEGER, {_smi: 0}), + (lambda: schemas.STRING_LIST, 0), + ), +) + +RESOURCES: StaticSchema = (16, n0, _Re, 0, (_me,), ((RESOURCE, 0),)) + +VERSION_INFO: StaticSchema = ( + 18, + n0, + _VI, + 0, + (_aV, _aH, _dVo), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +CONTAINER_INSTANCE: StaticSchema = ( + 18, + n0, + _CIo, + 0, + ( + _cIA, + _eII, + _cPN, + _ve, + _vI, + _rR, + _rRe, + _st, + _sR, + _aCg, + _rTC, + _pTC, + _aUS, + _att, + _rAe, + _at, + _ta, + _hS, + _gD, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (LONG, {_smi: 0}), + (VERSION_INFO, 0), + (RESOURCES, 0), + (RESOURCES, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (INTEGER, {_smi: 0}), + (INTEGER, {_smi: 0}), + (lambda: schemas.AGENT_UPDATE_STATUS, 0), + (ATTRIBUTES, 0), + (TIMESTAMP, 0), + (ATTACHMENTS, 0), + (lambda: schemas.TAGS, 0), + (CONTAINER_INSTANCE_HEALTH_STATUS, 0), + (GPU_DEVICES, 0), + ), +) + +CLUSTER_FIELD: StaticSchema = ( + 14, + n0, + _CFl, + 0, + (_ATTACHMENTS, _CONFIGURATIONS, _SETTINGS, _STATISTICS, _TAGS), + ( + (-1, {_sV: _ATTACHMENTS}), + (-1, {_sV: _CONFIGURATIONS}), + (-1, {_sV: _SETTINGS}), + (-1, {_sV: _STATISTICS}), + (-1, {_sV: _TAGS}), + ), +) + +CLUSTER_FIELD_LIST: StaticSchema = (16, n0, _CFL, 0, (_me,), ((CLUSTER_FIELD, 0),)) + +DESCRIBE_CLUSTERS_INPUT: StaticSchema = ( + 18, + n0, + _DCIes, + {_sSI: _cDCRom, _smit: None}, + (_clu, _incl), + ((lambda: schemas.STRING_LIST, 0), (CLUSTER_FIELD_LIST, 0)), +) + +DESCRIBE_CLUSTERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DCOe, + {_sSI: _cDCRoma, _smith: None}, + (_clu, _fa), + ((lambda: CLUSTERS, 0), (lambda: schemas.FAILURES, 0)), +) + +DESCRIBE_CLUSTERS: StaticOperationSchema = ( + 23, + n0, + _DCes, + 0, + DESCRIBE_CLUSTERS_INPUT, + DESCRIBE_CLUSTERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +CLUSTERS: StaticSchema = (16, n0, _Cl, 0, (_me,), ((CLUSTER, 0),)) + +EXECUTE_COMMAND_INPUT: StaticSchema = ( + 18, + n0, + _ECI, + {_sSI: _cECR, _smit: None}, + (_cl, _con, _com, _inte, _tas), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, {_smi: False, _sm: None}), + (lambda: schemas.STRING, 1), + ), +) + +EXECUTE_COMMAND_OUTPUT: StaticSchema = ( + 18, + n0, + _ECO, + {_sSI: _cECRo, _smith: None}, + (_cA, _cAo, _cNo, _inte, _ses, _tA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: SESSION, 0), + (lambda: schemas.STRING, 0), + ), +) + +EXECUTE_COMMAND: StaticOperationSchema = ( + 23, + n0, + _EC, + 0, + EXECUTE_COMMAND_INPUT, + EXECUTE_COMMAND_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: TARGET_NOT_CONNECTED_EXCEPTION, + ), +) + +SENSITIVE_STRING: StaticSchema = (3, n0, _SS, 4) + +SESSION: StaticSchema = ( + 18, + n0, + _Se, + 0, + (_sI, _sU, _tV), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0), (SENSITIVE_STRING, 0)), +) + +TARGET_NOT_CONNECTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _TNCE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +LIST_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _LAI, + {_sSI: _cLAR, _smit: None}, + (_cl, _tT, _aNt, _aVt, _nT, _mR), + ( + (lambda: schemas.STRING, 0), + (TARGET_TYPE, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +LIST_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _LAO, + {_sSI: _cLARo, _smith: None}, + (_att, _nT), + ((ATTRIBUTES, 0), (lambda: schemas.STRING, 0)), +) + +LIST_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _LA, + 0, + LIST_ATTRIBUTES_INPUT, + LIST_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +LIST_CLUSTERS_INPUT: StaticSchema = ( + 18, + n0, + _LCI, + {_sSI: _cLCR, _smit: None}, + (_nT, _mR), + ((lambda: schemas.STRING, 0), (lambda: schemas.BOXED_INTEGER, 0)), +) + +LIST_CLUSTERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCO, + {_sSI: _cLCRo, _smith: None}, + (_cAl, _nT), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_CLUSTERS: StaticOperationSchema = ( + 23, + n0, + _LC, + 0, + LIST_CLUSTERS_INPUT, + LIST_CLUSTERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +CONTAINER_INSTANCE_STATUS: StaticSchema = ( + 14, + n0, + _CIS, + 0, + (_ACTIVE, _DRAINING, _REGISTERING, _DEREGISTERING, _RF_), + ( + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DRAINING}), + (-1, {_sV: _REGISTERING}), + (-1, {_sV: _DEREGISTERING}), + (-1, {_sV: _RF_}), + ), +) + +LIST_CONTAINER_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _LCII, + {_sSI: _cLCIR, _smit: None}, + (_cl, _fi, _nT, _mR, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (CONTAINER_INSTANCE_STATUS, 0), + ), +) + +LIST_CONTAINER_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _LCIO, + {_sSI: _cLCIRo, _smith: None}, + (_cIAo, _nT), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_CONTAINER_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _LCIi, + 0, + LIST_CONTAINER_INSTANCES_INPUT, + LIST_CONTAINER_INSTANCES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +PUT_CLUSTER_CAPACITY_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _PCCPI, + {_sSI: _cPCCPR, _smit: None}, + (_cl, _cPa, _dCPS), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING_LIST, 1), + (CAPACITY_PROVIDER_STRATEGY, 1), + ), +) + +PUT_CLUSTER_CAPACITY_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _PCCPO, + {_sSI: _cPCCPRo, _smith: None}, + (_cl,), + ((CLUSTER, 0),), +) + +PUT_CLUSTER_CAPACITY_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _PCCP, + 0, + PUT_CLUSTER_CAPACITY_PROVIDERS_INPUT, + PUT_CLUSTER_CAPACITY_PROVIDERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UPDATE_IN_PROGRESS_EXCEPTION, + ), +) + +RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _RIUE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +ATTACHMENT_STATE_CHANGE: StaticSchema = ( + 18, + n0, + _ASC, + 0, + (_aA, _st), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +ATTACHMENT_STATE_CHANGES: StaticSchema = ( + 16, + n0, + _ASCt, + 0, + (_me,), + ((ATTACHMENT_STATE_CHANGE, 0),), +) + +SUBMIT_ATTACHMENT_STATE_CHANGES_INPUT: StaticSchema = ( + 18, + n0, + _SASCI, + {_sSI: _cSASCR, _smit: None}, + (_cl, _at), + ((lambda: schemas.STRING, 0), (ATTACHMENT_STATE_CHANGES, 1)), +) + +SUBMIT_ATTACHMENT_STATE_CHANGES_OUTPUT: StaticSchema = ( + 18, + n0, + _SASCO, + {_sSI: _cSASCRo, _smith: None}, + (_ac,), + ((lambda: schemas.STRING, 0),), +) + +SUBMIT_ATTACHMENT_STATE_CHANGES: StaticOperationSchema = ( + 23, + n0, + _SASC, + 0, + SUBMIT_ATTACHMENT_STATE_CHANGES_INPUT, + SUBMIT_ATTACHMENT_STATE_CHANGES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +TRANSPORT_PROTOCOL: StaticSchema = ( + 14, + n0, + _TP, + 0, + (_TCP, _UDP), + ((-1, {_sV: _tc}), (-1, {_sV: _u})), +) + +NETWORK_BINDING: StaticSchema = ( + 18, + n0, + _NB, + 0, + (_bIP, _cPo, _hP, _pr, _cPR, _hPR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (TRANSPORT_PROTOCOL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +NETWORK_BINDINGS: StaticSchema = (16, n0, _NBe, 0, (_me,), ((NETWORK_BINDING, 0),)) + +SUBMIT_CONTAINER_STATE_CHANGE_INPUT: StaticSchema = ( + 18, + n0, + _SCSCI, + {_sSI: _cSCSCR, _smit: None}, + (_cl, _tas, _cNo, _rI, _st, _eC, _re, _nB), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + (NETWORK_BINDINGS, 0), + ), +) + +SUBMIT_CONTAINER_STATE_CHANGE_OUTPUT: StaticSchema = ( + 18, + n0, + _SCSCO, + {_sSI: _cSCSCRo, _smith: None}, + (_ac,), + ((lambda: schemas.STRING, 0),), +) + +SUBMIT_CONTAINER_STATE_CHANGE: StaticOperationSchema = ( + 23, + n0, + _SCSC, + 0, + SUBMIT_CONTAINER_STATE_CHANGE_INPUT, + SUBMIT_CONTAINER_STATE_CHANGE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +CONTAINER_STATE_CHANGE: StaticSchema = ( + 18, + n0, + _CSC, + 0, + (_cNo, _iD, _rI, _eC, _nB, _re, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (NETWORK_BINDINGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +CONTAINER_STATE_CHANGES: StaticSchema = ( + 16, + n0, + _CSCo, + 0, + (_me,), + ((CONTAINER_STATE_CHANGE, 0),), +) + +MANAGED_AGENT_NAME: StaticSchema = (14, n0, _MAN, 0, (_ECA,), ((-1, {_sV: _ECA}),)) + +MANAGED_AGENT_STATE_CHANGE: StaticSchema = ( + 18, + n0, + _MASC, + 0, + (_cNo, _mAN, _st, _re), + ( + (lambda: schemas.STRING, 1), + (MANAGED_AGENT_NAME, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + ), +) + +MANAGED_AGENT_STATE_CHANGES: StaticSchema = ( + 16, + n0, + _MASCa, + 0, + (_me,), + ((MANAGED_AGENT_STATE_CHANGE, 0),), +) + +SUBMIT_TASK_STATE_CHANGE_INPUT: StaticSchema = ( + 18, + n0, + _STSCI, + {_sSI: _cSTSCR, _smit: None}, + (_cl, _tas, _st, _re, _cont, _at, _mA, _pSA, _pSAu, _eSA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (CONTAINER_STATE_CHANGES, 0), + (ATTACHMENT_STATE_CHANGES, 0), + (MANAGED_AGENT_STATE_CHANGES, 0), + (TIMESTAMP, 0), + (TIMESTAMP, 0), + (TIMESTAMP, 0), + ), +) + +SUBMIT_TASK_STATE_CHANGE_OUTPUT: StaticSchema = ( + 18, + n0, + _STSCO, + {_sSI: _cSTSCRo, _smith: None}, + (_ac,), + ((lambda: schemas.STRING, 0),), +) + +SUBMIT_TASK_STATE_CHANGE: StaticOperationSchema = ( + 23, + n0, + _STSC, + 0, + SUBMIT_TASK_STATE_CHANGE_INPUT, + SUBMIT_TASK_STATE_CHANGE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +UPDATE_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _UCI, + {_sSI: _cUCR, _smit: None}, + (_cl, _set, _co, _sCD), + ( + (lambda: schemas.STRING, 1), + (CLUSTER_SETTINGS, 0), + (CLUSTER_CONFIGURATION, 0), + (CLUSTER_SERVICE_CONNECT_DEFAULTS_REQUEST, 0), + ), +) + +UPDATE_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _UCO, + {_sSI: _cUCRo, _smith: None}, + (_cl,), + ((CLUSTER, 0),), +) + +UPDATE_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _UCp, + 0, + UPDATE_CLUSTER_INPUT, + UPDATE_CLUSTER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NAMESPACE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +UPDATE_CLUSTER_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _UCSI, + {_sSI: _cUCSR, _smit: None}, + (_cl, _set), + ((lambda: schemas.STRING, 1), (CLUSTER_SETTINGS, 1)), +) + +UPDATE_CLUSTER_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _UCSO, + {_sSI: _cUCSRo, _smith: None}, + (_cl,), + ((CLUSTER, 0),), +) + +UPDATE_CLUSTER_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _UCS, + 0, + UPDATE_CLUSTER_SETTINGS_INPUT, + UPDATE_CLUSTER_SETTINGS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UPDATE_IN_PROGRESS_EXCEPTION, + ), +) + +PLATFORM_UNKNOWN_EXCEPTION: StaticSchema = ( + 18, + n0, + _PUE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +SERVICE_DEPLOYMENT_STATUS: StaticSchema = ( + 14, + n0, + _SDS, + 0, + (_PENDING, _SUCCESSFUL, _STOPPED, _SR, _IP, _RR_, _RIP, _RS, _RF__), + ( + (-1, {_sV: _PENDING}), + (-1, {_sV: _SUCCESSFUL}), + (-1, {_sV: _STOPPED}), + (-1, {_sV: _SR}), + (-1, {_sV: _IP}), + (-1, {_sV: _RR_}), + (-1, {_sV: _RIP}), + (-1, {_sV: _RS}), + (-1, {_sV: _RF__}), + ), +) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_2.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_2.py new file mode 100644 index 000000000..e25f5d39f --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_2.py @@ -0,0 +1,1424 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ecs" +_sV = "smithy.api#enumValue" +_me = "member" +_GPU = "GPU" +_s = "smithy.api#error" +_c = "client" +_mes = "message" +_PENDING = "PENDING" +_DISABLED = "DISABLED" +_st = "status" +_sm = "smithy.api#required" +_smi = "smithy.api#default" +_NONE = "NONE" +_pT = "propagateTags" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_cl = "cluster" +_ta = "tags" +_ACTIVE = "ACTIVE" +_MI = "MANAGED_INSTANCES" +_FARGATE = "FARGATE" +_DIP = "DELETE_IN_PROGRESS" +_ty = "type" +_smith = "smithy.api#output" +_TAGS = "TAGS" +_cPa = "capacityProviders" +_incl = "include" +_mR = "maxResults" +_nT = "nextToken" +_ar = "arn" +_re = "reason" +_fa = "failures" +_id = "id" +_cA = "clusterArn" +_cIo = "containerInstance" +_DAEMON = "DAEMON" +_sR = "statusReason" +_cIA = "containerInstanceArn" +_vI = "versionInfo" +_att = "attributes" +_cNo = "containerName" +_iD = "imageDigest" +_DAI = "DeleteAttributesInput" +_cDAR = "com.amazonaws.ecs#DeleteAttributesRequest" +_DAO = "DeleteAttributesOutput" +_cDARo = "com.amazonaws.ecs#DeleteAttributesResponse" +_TNFE = "TargetNotFoundException" +_DA = "DeleteAttributes" +_CIF = "ContainerInstanceField" +_CIH = "CONTAINER_INSTANCE_HEALTH" +_CIFL = "ContainerInstanceFieldList" +_DCIIe = "DescribeContainerInstancesInput" +_cDCIRom = "com.amazonaws.ecs#DescribeContainerInstancesRequest" +_cIon = "containerInstances" +_CIon = "ContainerInstances" +_DCIOe = "DescribeContainerInstancesOutput" +_cDCIRoma = "com.amazonaws.ecs#DescribeContainerInstancesResponse" +_DCIesc = "DescribeContainerInstances" +_DS = "DesiredStatus" +_RUNNING = "RUNNING" +_STOPPED = "STOPPED" +_LT = "LaunchType" +_EC_ = "EC2" +_EXTERNAL = "EXTERNAL" +_LTI = "ListTasksInput" +_cLTR = "com.amazonaws.ecs#ListTasksRequest" +_fam = "family" +_sB = "startedBy" +_sNe = "serviceName" +_dS = "desiredStatus" +_lT = "launchType" +_dN = "daemonName" +_LTO = "ListTasksOutput" +_cLTRo = "com.amazonaws.ecs#ListTasksResponse" +_tAa = "taskArns" +_SNFE = "ServiceNotFoundException" +_LTi = "ListTasks" +_ALEE = "AttributeLimitExceededException" +_PAI = "PutAttributesInput" +_cPAR = "com.amazonaws.ecs#PutAttributesRequest" +_PAO = "PutAttributesOutput" +_cPARo = "com.amazonaws.ecs#PutAttributesResponse" +_PA = "PutAttributes" +_PDT = "PlatformDeviceType" +_ND = "NEURON_DEVICE" +_PD = "PlatformDevice" +_PDl = "PlatformDevices" +_RCII = "RegisterContainerInstanceInput" +_cRCIR = "com.amazonaws.ecs#RegisterContainerInstanceRequest" +_iID = "instanceIdentityDocument" +_iIDS = "instanceIdentityDocumentSignature" +_tR = "totalResources" +_pD = "platformDevices" +_RCIO = "RegisterContainerInstanceOutput" +_cRCIRo = "com.amazonaws.ecs#RegisterContainerInstanceResponse" +_RCI = "RegisterContainerInstance" +_MVE = "MissingVersionException" +_NUAE = "NoUpdateAvailableException" +_UCAI = "UpdateContainerAgentInput" +_cUCAR = "com.amazonaws.ecs#UpdateContainerAgentRequest" +_UCAO = "UpdateContainerAgentOutput" +_cUCARo = "com.amazonaws.ecs#UpdateContainerAgentResponse" +_UCA = "UpdateContainerAgent" +_UCISI = "UpdateContainerInstancesStateInput" +_cUCISR = "com.amazonaws.ecs#UpdateContainerInstancesStateRequest" +_UCISO = "UpdateContainerInstancesStateOutput" +_cUCISRo = "com.amazonaws.ecs#UpdateContainerInstancesStateResponse" +_UCIS = "UpdateContainerInstancesState" +_DLHA = "DeploymentLifecycleHookAction" +_ROLLBACK = "ROLLBACK" +_CONTINUE = "CONTINUE" +_CSDI = "ContinueServiceDeploymentInput" +_cCSDR = "com.amazonaws.ecs#ContinueServiceDeploymentRequest" +_sDA = "serviceDeploymentArn" +_hI = "hookId" +_act = "action" +_CSDO = "ContinueServiceDeploymentOutput" +_cCSDRo = "com.amazonaws.ecs#ContinueServiceDeploymentResponse" +_CSD = "ContinueServiceDeployment" +_DDDI = "DescribeDaemonDeploymentsInput" +_cDDDR = "com.amazonaws.ecs#DescribeDaemonDeploymentsRequest" +_dDA = "daemonDeploymentArns" +_DDRMS = "DaemonDeploymentRollbackMonitorsStatus" +_TRIGGERED = "TRIGGERED" +_MONITORING = "MONITORING" +_MC = "MONITORING_COMPLETE" +_DDA = "DaemonDeploymentAlarms" +_aNl = "alarmNames" +_tAN = "triggeredAlarmNames" +_DCB = "DaemonCircuitBreaker" +_fC = "failureCount" +_th = "threshold" +_DAC = "DaemonAlarmConfiguration" +_en = "enable" +_DDP = "DaemonDrainPercent" +_DDC = "DaemonDeploymentConfiguration" +_dP = "drainPercent" +_al = "alarms" +_bTIM = "bakeTimeInMinutes" +_DR = "DaemonRollback" +_sA = "startedAt" +_rTDRA = "rollbackTargetDaemonRevisionArn" +_rCP = "rollbackCapacityProviders" +_DDCP = "DaemonDeploymentCapacityProvider" +_rIC = "runningInstanceCount" +_wDIC = "withoutDaemonInstanceCount" +_dIC = "drainingInstanceCount" +_DDCPL = "DaemonDeploymentCapacityProviderList" +_DDRD = "DaemonDeploymentRevisionDetail" +_tRIC = "totalRunningInstanceCount" +_tWDIC = "totalWithoutDaemonInstanceCount" +_tDIC = "totalDrainingInstanceCount" +_DDRDL = "DaemonDeploymentRevisionDetailList" +_DDS = "DaemonDeploymentStatus" +_SUCCESSFUL = "SUCCESSFUL" +_SR = "STOP_REQUESTED" +_IP = "IN_PROGRESS" +_RIP = "ROLLBACK_IN_PROGRESS" +_RS = "ROLLBACK_SUCCESSFUL" +_RF__ = "ROLLBACK_FAILED" +_DD = "DaemonDeployment" +_dDAa = "daemonDeploymentArn" +_tDR = "targetDaemonRevision" +_sDR = "sourceDaemonRevisions" +_cB = "circuitBreaker" +_ro = "rollback" +_dC = "deploymentConfiguration" +_cAr = "createdAt" +_sAt = "stoppedAt" +_fA = "finishedAt" +_DDL = "DaemonDeploymentList" +_DDDO = "DescribeDaemonDeploymentsOutput" +_cDDDRo = "com.amazonaws.ecs#DescribeDaemonDeploymentsResponse" +_dD = "daemonDeployments" +_DDD = "DescribeDaemonDeployments" +_DPT = "DaemonPropagateTags" +_CDI = "CreateDaemonInput" +_cCDR = "com.amazonaws.ecs#CreateDaemonRequest" +_dTDA = "daemonTaskDefinitionArn" +_cPAa = "capacityProviderArns" +_eECSMT = "enableECSManagedTags" +_eEC = "enableExecuteCommand" +_cT = "clientToken" +_cr = "critical" +_DSa = "DaemonStatus" +_CDO = "CreateDaemonOutput" +_cCDRo = "com.amazonaws.ecs#CreateDaemonResponse" +_dA = "daemonArn" +_dAe = "deploymentArn" +_CD = "CreateDaemon" +_DNAE = "DaemonNotActiveException" +_DNFE = "DaemonNotFoundException" +_DDI = "DeleteDaemonInput" +_cDDR = "com.amazonaws.ecs#DeleteDaemonRequest" +_DDO = "DeleteDaemonOutput" +_cDDRo = "com.amazonaws.ecs#DeleteDaemonResponse" +_uA = "updatedAt" +_DDe = "DeleteDaemon" +_DDIe = "DescribeDaemonInput" +_cDDRom = "com.amazonaws.ecs#DescribeDaemonRequest" +_DCPa = "DaemonCapacityProvider" +_rC = "runningCount" +_wDC = "withoutDaemonCount" +_DCPL = "DaemonCapacityProviderList" +_DRD = "DaemonRevisionDetail" +_tRC = "totalRunningCount" +_tWDC = "totalWithoutDaemonCount" +_DRDL = "DaemonRevisionDetailList" +_DDa = "DaemonDetail" +_cRu = "currentRevisions" +_DDOe = "DescribeDaemonOutput" +_cDDRoma = "com.amazonaws.ecs#DescribeDaemonResponse" +_da = "daemon" +_DDes = "DescribeDaemon" +_CA = "CreatedAt" +_be = "before" +_af = "after" +_DDSL = "DaemonDeploymentStatusList" +_LDDI = "ListDaemonDeploymentsInput" +_cLDDR = "com.amazonaws.ecs#ListDaemonDeploymentsRequest" +_DDSa = "DaemonDeploymentSummary" +_tDRA = "targetDaemonRevisionArn" +_DDSLa = "DaemonDeploymentSummaryList" +_LDDO = "ListDaemonDeploymentsOutput" +_cLDDRo = "com.amazonaws.ecs#ListDaemonDeploymentsResponse" +_LDD = "ListDaemonDeployments" +_LDI = "ListDaemonsInput" +_cLDR = "com.amazonaws.ecs#ListDaemonsRequest" +_DSae = "DaemonSummary" +_DSL = "DaemonSummariesList" +_LDO = "ListDaemonsOutput" +_cLDRo = "com.amazonaws.ecs#ListDaemonsResponse" +_dSL = "daemonSummariesList" +_LD = "ListDaemons" +_UDI = "UpdateDaemonInput" +_cUDR = "com.amazonaws.ecs#UpdateDaemonRequest" +_UDO = "UpdateDaemonOutput" +_cUDRo = "com.amazonaws.ecs#UpdateDaemonResponse" +_UD = "UpdateDaemon" +_DDRI = "DescribeDaemonRevisionsInput" +_cDDRR = "com.amazonaws.ecs#DescribeDaemonRevisionsRequest" +_dRA = "daemonRevisionArns" +_DCIa = "DaemonContainerImage" +_im = "image" +_DCIae = "DaemonContainerImages" +_DRa = "DaemonRevision" +_dRAa = "daemonRevisionArn" +_cIont = "containerImages" +_DDRO = "DescribeDaemonRevisionsOutput" +_cDDRRo = "com.amazonaws.ecs#DescribeDaemonRevisionsResponse" +_dR = "daemonRevisions" +_DDR = "DescribeDaemonRevisions" +_IAMRA = "IAMRoleArn" +_TSNFE = "TaskSetNotFoundException" + +DELETE_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _DAI, + {_sSI: _cDAR, _smit: None}, + (_cl, _att), + ((lambda: schemas.STRING, 0), (lambda: schemas.ATTRIBUTES, 1)), +) + +DELETE_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DAO, + {_sSI: _cDARo, _smith: None}, + (_att,), + ((lambda: schemas.ATTRIBUTES, 0),), +) + +DELETE_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _DA, + 0, + DELETE_ATTRIBUTES_INPUT, + DELETE_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: TARGET_NOT_FOUND_EXCEPTION, + ), +) + +TARGET_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _TNFE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +CONTAINER_INSTANCE_FIELD: StaticSchema = ( + 14, + n0, + _CIF, + 0, + (_TAGS, _CIH), + ((-1, {_sV: _TAGS}), (-1, {_sV: _CIH})), +) + +CONTAINER_INSTANCE_FIELD_LIST: StaticSchema = ( + 16, + n0, + _CIFL, + 0, + (_me,), + ((CONTAINER_INSTANCE_FIELD, 0),), +) + +DESCRIBE_CONTAINER_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DCIIe, + {_sSI: _cDCIRom, _smit: None}, + (_cl, _cIon, _incl), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 1), + (CONTAINER_INSTANCE_FIELD_LIST, 0), + ), +) + +DESCRIBE_CONTAINER_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DCIOe, + {_sSI: _cDCIRoma, _smith: None}, + (_cIon, _fa), + ((lambda: CONTAINER_INSTANCES, 0), (lambda: schemas.FAILURES, 0)), +) + +DESCRIBE_CONTAINER_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DCIesc, + 0, + DESCRIBE_CONTAINER_INSTANCES_INPUT, + DESCRIBE_CONTAINER_INSTANCES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +CONTAINER_INSTANCES: StaticSchema = ( + 16, + n0, + _CIon, + 0, + (_me,), + ((lambda: schemas.CONTAINER_INSTANCE, 0),), +) + +DESIRED_STATUS: StaticSchema = ( + 14, + n0, + _DS, + 0, + (_RUNNING, _PENDING, _STOPPED), + ((-1, {_sV: _RUNNING}), (-1, {_sV: _PENDING}), (-1, {_sV: _STOPPED})), +) + +LAUNCH_TYPE: StaticSchema = ( + 14, + n0, + _LT, + 0, + (_EC_, _FARGATE, _EXTERNAL, _MI), + ( + (-1, {_sV: _EC_}), + (-1, {_sV: _FARGATE}), + (-1, {_sV: _EXTERNAL}), + (-1, {_sV: _MI}), + ), +) + +LIST_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _LTI, + {_sSI: _cLTR, _smit: None}, + (_cl, _cIo, _fam, _nT, _mR, _sB, _sNe, _dS, _lT, _dN), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DESIRED_STATUS, 0), + (LAUNCH_TYPE, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTO, + {_sSI: _cLTRo, _smith: None}, + (_tAa, _nT), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_TASKS: StaticOperationSchema = ( + 23, + n0, + _LTi, + 0, + LIST_TASKS_INPUT, + LIST_TASKS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: SERVICE_NOT_FOUND_EXCEPTION, + ), +) + +SERVICE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _SNFE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +ATTRIBUTE_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ALEE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +PUT_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _PAI, + {_sSI: _cPAR, _smit: None}, + (_cl, _att), + ((lambda: schemas.STRING, 0), (lambda: schemas.ATTRIBUTES, 1)), +) + +PUT_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _PAO, + {_sSI: _cPARo, _smith: None}, + (_att,), + ((lambda: schemas.ATTRIBUTES, 0),), +) + +PUT_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _PA, + 0, + PUT_ATTRIBUTES_INPUT, + PUT_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + ATTRIBUTE_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + TARGET_NOT_FOUND_EXCEPTION, + ), +) + +PLATFORM_DEVICE_TYPE: StaticSchema = ( + 14, + n0, + _PDT, + 0, + (_GPU, _ND), + ((-1, {_sV: _GPU}), (-1, {_sV: _ND})), +) + +PLATFORM_DEVICE: StaticSchema = ( + 18, + n0, + _PD, + 0, + (_id, _ty), + ((lambda: schemas.STRING, 1), (PLATFORM_DEVICE_TYPE, 1)), +) + +PLATFORM_DEVICES: StaticSchema = (16, n0, _PDl, 0, (_me,), ((PLATFORM_DEVICE, 0),)) + +REGISTER_CONTAINER_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _RCII, + {_sSI: _cRCIR, _smit: None}, + (_cl, _iID, _iIDS, _tR, _vI, _cIA, _att, _pD, _ta), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.RESOURCES, 0), + (lambda: schemas.VERSION_INFO, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ATTRIBUTES, 0), + (PLATFORM_DEVICES, 0), + (lambda: schemas.TAGS, 0), + ), +) + +REGISTER_CONTAINER_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _RCIO, + {_sSI: _cRCIRo, _smith: None}, + (_cIo,), + ((lambda: schemas.CONTAINER_INSTANCE, 0),), +) + +REGISTER_CONTAINER_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _RCI, + 0, + REGISTER_CONTAINER_INSTANCE_INPUT, + REGISTER_CONTAINER_INSTANCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +MISSING_VERSION_EXCEPTION: StaticSchema = ( + 18, + n0, + _MVE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +NO_UPDATE_AVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _NUAE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +UPDATE_CONTAINER_AGENT_INPUT: StaticSchema = ( + 18, + n0, + _UCAI, + {_sSI: _cUCAR, _smit: None}, + (_cl, _cIo), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 1)), +) + +UPDATE_CONTAINER_AGENT_OUTPUT: StaticSchema = ( + 18, + n0, + _UCAO, + {_sSI: _cUCARo, _smith: None}, + (_cIo,), + ((lambda: schemas.CONTAINER_INSTANCE, 0),), +) + +UPDATE_CONTAINER_AGENT: StaticOperationSchema = ( + 23, + n0, + _UCA, + 0, + UPDATE_CONTAINER_AGENT_INPUT, + UPDATE_CONTAINER_AGENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + MISSING_VERSION_EXCEPTION, + NO_UPDATE_AVAILABLE_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UPDATE_IN_PROGRESS_EXCEPTION, + ), +) + +UPDATE_CONTAINER_INSTANCES_STATE_INPUT: StaticSchema = ( + 18, + n0, + _UCISI, + {_sSI: _cUCISR, _smit: None}, + (_cl, _cIon, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 1), + (lambda: schemas.CONTAINER_INSTANCE_STATUS, 1), + ), +) + +UPDATE_CONTAINER_INSTANCES_STATE_OUTPUT: StaticSchema = ( + 18, + n0, + _UCISO, + {_sSI: _cUCISRo, _smith: None}, + (_cIon, _fa), + ((CONTAINER_INSTANCES, 0), (lambda: schemas.FAILURES, 0)), +) + +UPDATE_CONTAINER_INSTANCES_STATE: StaticOperationSchema = ( + 23, + n0, + _UCIS, + 0, + UPDATE_CONTAINER_INSTANCES_STATE_INPUT, + UPDATE_CONTAINER_INSTANCES_STATE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +DEPLOYMENT_LIFECYCLE_HOOK_ACTION: StaticSchema = ( + 14, + n0, + _DLHA, + 0, + (_ROLLBACK, _CONTINUE), + ((-1, {_sV: _ROLLBACK}), (-1, {_sV: _CONTINUE})), +) + +CONTINUE_SERVICE_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _CSDI, + {_sSI: _cCSDR, _smit: None}, + (_sDA, _hI, _act), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (DEPLOYMENT_LIFECYCLE_HOOK_ACTION, 0), + ), +) + +CONTINUE_SERVICE_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CSDO, + {_sSI: _cCSDRo, _smith: None}, + (_sDA,), + ((lambda: schemas.STRING, 0),), +) + +CONTINUE_SERVICE_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _CSD, + 0, + CONTINUE_SERVICE_DEPLOYMENT_INPUT, + CONTINUE_SERVICE_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_DEPLOYMENT_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DESCRIBE_DAEMON_DEPLOYMENTS_INPUT: StaticSchema = ( + 18, + n0, + _DDDI, + {_sSI: _cDDDR, _smit: None}, + (_dDA,), + ((lambda: schemas.STRING_LIST, 1),), +) + +DESCRIBE_DAEMON_DEPLOYMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDDO, + {_sSI: _cDDDRo, _smith: None}, + (_fa, _dD), + ((lambda: schemas.FAILURES, 0), (lambda: DAEMON_DEPLOYMENT_LIST, 0)), +) + +DESCRIBE_DAEMON_DEPLOYMENTS: StaticOperationSchema = ( + 23, + n0, + _DDD, + 0, + DESCRIBE_DAEMON_DEPLOYMENTS_INPUT, + DESCRIBE_DAEMON_DEPLOYMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DAEMON_DEPLOYMENT_ROLLBACK_MONITORS_STATUS: StaticSchema = ( + 14, + n0, + _DDRMS, + 0, + (_TRIGGERED, _MONITORING, _MC, _DISABLED), + ( + (-1, {_sV: _TRIGGERED}), + (-1, {_sV: _MONITORING}), + (-1, {_sV: _MC}), + (-1, {_sV: _DISABLED}), + ), +) + +DAEMON_DEPLOYMENT_ALARMS: StaticSchema = ( + 18, + n0, + _DDA, + 0, + (_st, _aNl, _tAN), + ( + (DAEMON_DEPLOYMENT_ROLLBACK_MONITORS_STATUS, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +DAEMON_CIRCUIT_BREAKER: StaticSchema = ( + 18, + n0, + _DCB, + 0, + (_fC, _st, _th), + ( + (lambda: schemas.INTEGER, {_smi: 0}), + (DAEMON_DEPLOYMENT_ROLLBACK_MONITORS_STATUS, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + ), +) + +DAEMON_ALARM_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DAC, + 0, + (_aNl, _en), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.BOOLEAN, {_smi: False})), +) + +DAEMON_DRAIN_PERCENT: StaticSchema = (10, n0, _DDP, 0) + +DAEMON_DEPLOYMENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DDC, + 0, + (_dP, _al, _bTIM), + ( + (DAEMON_DRAIN_PERCENT, 0), + (DAEMON_ALARM_CONFIGURATION, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + ), +) + +DAEMON_ROLLBACK: StaticSchema = ( + 18, + n0, + _DR, + 0, + (_re, _sA, _rTDRA, _rCP), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +DAEMON_DEPLOYMENT_CAPACITY_PROVIDER: StaticSchema = ( + 18, + n0, + _DDCP, + 0, + (_ar, _rIC, _wDIC, _dIC), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +DAEMON_DEPLOYMENT_CAPACITY_PROVIDER_LIST: StaticSchema = ( + 16, + n0, + _DDCPL, + 0, + (_me,), + ((DAEMON_DEPLOYMENT_CAPACITY_PROVIDER, 0),), +) + +DAEMON_DEPLOYMENT_REVISION_DETAIL: StaticSchema = ( + 18, + n0, + _DDRD, + 0, + (_ar, _cPa, _tRIC, _tWDIC, _tDIC), + ( + (lambda: schemas.STRING, 0), + (DAEMON_DEPLOYMENT_CAPACITY_PROVIDER_LIST, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +DAEMON_DEPLOYMENT_REVISION_DETAIL_LIST: StaticSchema = ( + 16, + n0, + _DDRDL, + 0, + (_me,), + ((DAEMON_DEPLOYMENT_REVISION_DETAIL, 0),), +) + +DAEMON_DEPLOYMENT_STATUS: StaticSchema = ( + 14, + n0, + _DDS, + 0, + (_PENDING, _SUCCESSFUL, _STOPPED, _SR, _IP, _RIP, _RS, _RF__), + ( + (-1, {_sV: _PENDING}), + (-1, {_sV: _SUCCESSFUL}), + (-1, {_sV: _STOPPED}), + (-1, {_sV: _SR}), + (-1, {_sV: _IP}), + (-1, {_sV: _RIP}), + (-1, {_sV: _RS}), + (-1, {_sV: _RF__}), + ), +) + +DAEMON_DEPLOYMENT: StaticSchema = ( + 18, + n0, + _DD, + 0, + (_dDAa, _cA, _st, _sR, _tDR, _sDR, _cB, _al, _ro, _dC, _cAr, _sA, _sAt, _fA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DAEMON_DEPLOYMENT_STATUS, 0), + (lambda: schemas.STRING, 0), + (DAEMON_DEPLOYMENT_REVISION_DETAIL, 0), + (DAEMON_DEPLOYMENT_REVISION_DETAIL_LIST, 0), + (DAEMON_CIRCUIT_BREAKER, 0), + (DAEMON_DEPLOYMENT_ALARMS, 0), + (DAEMON_ROLLBACK, 0), + (DAEMON_DEPLOYMENT_CONFIGURATION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +DAEMON_DEPLOYMENT_LIST: StaticSchema = ( + 16, + n0, + _DDL, + 0, + (_me,), + ((DAEMON_DEPLOYMENT, 0),), +) + +DAEMON_PROPAGATE_TAGS: StaticSchema = ( + 14, + n0, + _DPT, + 0, + (_DAEMON, _NONE), + ((-1, {_sV: _DAEMON}), (-1, {_sV: _NONE})), +) + +CREATE_DAEMON_INPUT: StaticSchema = ( + 18, + n0, + _CDI, + {_sSI: _cCDR, _smit: None}, + (_dN, _cA, _dTDA, _cPAa, _dC, _ta, _pT, _eECSMT, _eEC, _cT, _cr), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING_LIST, 1), + (DAEMON_DEPLOYMENT_CONFIGURATION, 0), + (lambda: schemas.TAGS, 0), + (DAEMON_PROPAGATE_TAGS, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + ), +) + +CREATE_DAEMON_OUTPUT: StaticSchema = ( + 18, + n0, + _CDO, + {_sSI: _cCDRo, _smith: None}, + (_dA, _st, _cAr, _dAe), + ( + (lambda: schemas.STRING, 0), + (lambda: DAEMON_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_DAEMON: StaticOperationSchema = ( + 23, + n0, + _CD, + 0, + CREATE_DAEMON_INPUT, + CREATE_DAEMON_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.PLATFORM_UNKNOWN_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DAEMON_STATUS: StaticSchema = ( + 14, + n0, + _DSa, + 0, + (_ACTIVE, _DIP), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DIP})), +) + +DAEMON_NOT_ACTIVE_EXCEPTION: StaticSchema = ( + 18, + n0, + _DNAE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +DAEMON_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _DNFE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_DAEMON_INPUT: StaticSchema = ( + 18, + n0, + _DDI, + {_sSI: _cDDR, _smit: None}, + (_dA,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DAEMON_OUTPUT: StaticSchema = ( + 18, + n0, + _DDO, + {_sSI: _cDDRo, _smith: None}, + (_dA, _st, _cAr, _uA, _dAe), + ( + (lambda: schemas.STRING, 0), + (DAEMON_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +DELETE_DAEMON: StaticOperationSchema = ( + 23, + n0, + _DDe, + 0, + DELETE_DAEMON_INPUT, + DELETE_DAEMON_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + DAEMON_NOT_ACTIVE_EXCEPTION, + DAEMON_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DESCRIBE_DAEMON_INPUT: StaticSchema = ( + 18, + n0, + _DDIe, + {_sSI: _cDDRom, _smit: None}, + (_dA,), + ((lambda: schemas.STRING, 1),), +) + +DESCRIBE_DAEMON_OUTPUT: StaticSchema = ( + 18, + n0, + _DDOe, + {_sSI: _cDDRoma, _smith: None}, + (_da,), + ((lambda: DAEMON_DETAIL, 0),), +) + +DESCRIBE_DAEMON: StaticOperationSchema = ( + 23, + n0, + _DDes, + 0, + DESCRIBE_DAEMON_INPUT, + DESCRIBE_DAEMON_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + DAEMON_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DAEMON_CAPACITY_PROVIDER: StaticSchema = ( + 18, + n0, + _DCPa, + 0, + (_ar, _rC, _wDC), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + ), +) + +DAEMON_CAPACITY_PROVIDER_LIST: StaticSchema = ( + 16, + n0, + _DCPL, + 0, + (_me,), + ((DAEMON_CAPACITY_PROVIDER, 0),), +) + +DAEMON_REVISION_DETAIL: StaticSchema = ( + 18, + n0, + _DRD, + 0, + (_ar, _cPa, _tRC, _tWDC), + ( + (lambda: schemas.STRING, 0), + (DAEMON_CAPACITY_PROVIDER_LIST, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + ), +) + +DAEMON_REVISION_DETAIL_LIST: StaticSchema = ( + 16, + n0, + _DRDL, + 0, + (_me,), + ((DAEMON_REVISION_DETAIL, 0),), +) + +DAEMON_DETAIL: StaticSchema = ( + 18, + n0, + _DDa, + 0, + (_dA, _cA, _st, _cRu, _dAe, _cAr, _uA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DAEMON_STATUS, 0), + (DAEMON_REVISION_DETAIL_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +CREATED_AT: StaticSchema = ( + 18, + n0, + _CA, + 0, + (_be, _af), + ((lambda: schemas.TIMESTAMP, 0), (lambda: schemas.TIMESTAMP, 0)), +) + +DAEMON_DEPLOYMENT_STATUS_LIST: StaticSchema = ( + 16, + n0, + _DDSL, + 0, + (_me,), + ((DAEMON_DEPLOYMENT_STATUS, 0),), +) + +LIST_DAEMON_DEPLOYMENTS_INPUT: StaticSchema = ( + 18, + n0, + _LDDI, + {_sSI: _cLDDR, _smit: None}, + (_dA, _st, _cAr, _mR, _nT), + ( + (lambda: schemas.STRING, 1), + (DAEMON_DEPLOYMENT_STATUS_LIST, 0), + (CREATED_AT, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_DAEMON_DEPLOYMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDDO, + {_sSI: _cLDDRo, _smith: None}, + (_nT, _dD), + ((lambda: schemas.STRING, 0), (lambda: DAEMON_DEPLOYMENT_SUMMARY_LIST, 0)), +) + +LIST_DAEMON_DEPLOYMENTS: StaticOperationSchema = ( + 23, + n0, + _LDD, + 0, + LIST_DAEMON_DEPLOYMENTS_INPUT, + LIST_DAEMON_DEPLOYMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DAEMON_DEPLOYMENT_SUMMARY: StaticSchema = ( + 18, + n0, + _DDSa, + 0, + (_dDAa, _dA, _cA, _st, _sR, _tDRA, _cAr, _sA, _sAt, _fA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DAEMON_DEPLOYMENT_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +DAEMON_DEPLOYMENT_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _DDSLa, + 0, + (_me,), + ((DAEMON_DEPLOYMENT_SUMMARY, 0),), +) + +LIST_DAEMONS_INPUT: StaticSchema = ( + 18, + n0, + _LDI, + {_sSI: _cLDR, _smit: None}, + (_cA, _cPAa, _mR, _nT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_DAEMONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDO, + {_sSI: _cLDRo, _smith: None}, + (_dSL, _nT), + ((lambda: DAEMON_SUMMARIES_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_DAEMONS: StaticOperationSchema = ( + 23, + n0, + _LD, + 0, + LIST_DAEMONS_INPUT, + LIST_DAEMONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DAEMON_SUMMARY: StaticSchema = ( + 18, + n0, + _DSae, + 0, + (_dA, _st, _cAr, _uA), + ( + (lambda: schemas.STRING, 0), + (DAEMON_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +DAEMON_SUMMARIES_LIST: StaticSchema = (16, n0, _DSL, 0, (_me,), ((DAEMON_SUMMARY, 0),)) + +UPDATE_DAEMON_INPUT: StaticSchema = ( + 18, + n0, + _UDI, + {_sSI: _cUDR, _smit: None}, + (_dA, _dTDA, _cPAa, _dC, _pT, _eECSMT, _eEC, _cr), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING_LIST, 1), + (DAEMON_DEPLOYMENT_CONFIGURATION, 0), + (DAEMON_PROPAGATE_TAGS, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.BOXED_BOOLEAN, 0), + ), +) + +UPDATE_DAEMON_OUTPUT: StaticSchema = ( + 18, + n0, + _UDO, + {_sSI: _cUDRo, _smith: None}, + (_dA, _st, _cAr, _uA, _dAe), + ( + (lambda: schemas.STRING, 0), + (DAEMON_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_DAEMON: StaticOperationSchema = ( + 23, + n0, + _UD, + 0, + UPDATE_DAEMON_INPUT, + UPDATE_DAEMON_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + DAEMON_NOT_ACTIVE_EXCEPTION, + DAEMON_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.PLATFORM_UNKNOWN_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DESCRIBE_DAEMON_REVISIONS_INPUT: StaticSchema = ( + 18, + n0, + _DDRI, + {_sSI: _cDDRR, _smit: None}, + (_dRA,), + ((lambda: schemas.STRING_LIST, 1),), +) + +DESCRIBE_DAEMON_REVISIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDRO, + {_sSI: _cDDRRo, _smith: None}, + (_dR, _fa), + ((lambda: schemas.DAEMON_REVISIONS, 0), (lambda: schemas.FAILURES, 0)), +) + +DESCRIBE_DAEMON_REVISIONS: StaticOperationSchema = ( + 23, + n0, + _DDR, + 0, + DESCRIBE_DAEMON_REVISIONS_INPUT, + DESCRIBE_DAEMON_REVISIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DAEMON_CONTAINER_IMAGE: StaticSchema = ( + 18, + n0, + _DCIa, + 0, + (_cNo, _iD, _im), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +DAEMON_CONTAINER_IMAGES: StaticSchema = ( + 16, + n0, + _DCIae, + 0, + (_me,), + ((DAEMON_CONTAINER_IMAGE, 0),), +) + +DAEMON_REVISION: StaticSchema = ( + 18, + n0, + _DRa, + 0, + (_dRAa, _cA, _dA, _dTDA, _cAr, _cIont, _pT, _eECSMT, _eEC, _cr), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (DAEMON_CONTAINER_IMAGES, 0), + (DAEMON_PROPAGATE_TAGS, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + ), +) + +IAM_ROLE_ARN: StaticSchema = (3, n0, _IAMRA, 0) + +TASK_SET_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _TSNFE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_3.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_3.py new file mode 100644 index 000000000..e4c489c66 --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_3.py @@ -0,0 +1,1413 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ecs" +_sV = "smithy.api#enumValue" +_me = "member" +_GPU = "GPU" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_st = "status" +_sm = "smithy.api#required" +_smi = "smithy.api#default" +_NONE = "NONE" +_ke = "key" +_va = "value" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_na = "name" +_ta = "tags" +_ACTIVE = "ACTIVE" +_MI = "MANAGED_INSTANCES" +_FARGATE = "FARGATE" +_DIP = "DELETE_IN_PROGRESS" +_ty = "type" +_smith = "smithy.api#output" +_mR = "maxResults" +_nT = "nextToken" +_ar = "arn" +_lC = "logConfiguration" +_nam = "namespace" +_CI = "CONTAINER_INSIGHTS" +_cI = "containerInsights" +_rAe = "registeredAt" +_com = "command" +_inte = "interactive" +_smithy = "smithy.api#sensitive" +_cNo = "containerName" +_cPo = "containerPort" +_hP = "hostPort" +_pr = "protocol" +_cPR = "containerPortRange" +_EC_ = "EC2" +_EXTERNAL = "EXTERNAL" +_fam = "family" +_ND = "NEURON_DEVICE" +_dTDA = "daemonTaskDefinitionArn" +_im = "image" +_DRae = "DaemonRevisions" +_DDTDI = "DeleteDaemonTaskDefinitionInput" +_cDDTDR = "com.amazonaws.ecs#DeleteDaemonTaskDefinitionRequest" +_dTD = "daemonTaskDefinition" +_DDTDO = "DeleteDaemonTaskDefinitionOutput" +_cDDTDRo = "com.amazonaws.ecs#DeleteDaemonTaskDefinitionResponse" +_DDTD = "DeleteDaemonTaskDefinition" +_DDTDIe = "DescribeDaemonTaskDefinitionInput" +_cDDTDRom = "com.amazonaws.ecs#DescribeDaemonTaskDefinitionRequest" +_CCo = "ContainerCondition" +_START = "START" +_COMPLETE = "COMPLETE" +_SUCCESS = "SUCCESS" +_HEALTHY = "HEALTHY" +_CDo = "ContainerDependency" +_cond = "condition" +_CDon = "ContainerDependencies" +_EV = "EnvironmentVariables" +_EFT = "EnvironmentFileType" +_S_ = "S3" +_s_ = "s3" +_EF = "EnvironmentFile" +_EFn = "EnvironmentFiles" +_FCOM = "FirelensConfigurationOptionsMap" +_FCT = "FirelensConfigurationType" +_FLUENTD = "FLUENTD" +_fl = "fluentd" +_FLUENTBIT = "FLUENTBIT" +_flu = "fluentbit" +_FC = "FirelensConfiguration" +_o = "options" +_HC = "HealthCheck" +_inter = "interval" +_ti = "timeout" +_ret = "retries" +_sP = "startPeriod" +_KC = "KernelCapabilities" +_ad = "add" +_dr = "drop" +_DCPev = "DeviceCgroupPermission" +_READ = "READ" +_rea = "read" +_WRITE = "WRITE" +_wr = "write" +_MKNOD = "MKNOD" +_mk = "mknod" +_DCPevi = "DeviceCgroupPermissions" +_De = "Device" +_hPo = "hostPath" +_cPon = "containerPath" +_pe = "permissions" +_DL = "DevicesList" +_Tm = "Tmpfs" +_si = "size" +_mO = "mountOptions" +_TL = "TmpfsList" +_DLP = "DaemonLinuxParameters" +_ca = "capabilities" +_dev = "devices" +_iPE = "initProcessEnabled" +_tm = "tmpfs" +_LDo = "LogDriver" +_JF = "JSON_FILE" +_jf = "json-file" +_SYSLOG = "SYSLOG" +_sy = "syslog" +_JOURNALD = "JOURNALD" +_j = "journald" +_GELF = "GELF" +_ge = "gelf" +_AWSLOGS = "AWSLOGS" +_aw = "awslogs" +_SPLUNK = "SPLUNK" +_sp = "splunk" +_AWSFIRELENS = "AWSFIRELENS" +_awsf = "awsfirelens" +_LCOM = "LogConfigurationOptionsMap" +_Sec = "Secret" +_vF = "valueFrom" +_SLe = "SecretList" +_LCo = "LogConfiguration" +_lD = "logDriver" +_sO = "secretOptions" +_MP = "MountPoint" +_sVo = "sourceVolume" +_rO = "readOnly" +_MPL = "MountPointList" +_RC = "RepositoryCredentials" +_cPr = "credentialsParameter" +_IL = "IntegerList" +_CRPo = "ContainerRestartPolicy" +_ena = "enabled" +_iEC = "ignoredExitCodes" +_rAP = "restartAttemptPeriod" +_SC = "SystemControl" +_SCy = "SystemControls" +_UN = "UlimitName" +_CORE = "CORE" +_cor = "core" +_CPU = "CPU" +_cp = "cpu" +_DATA = "DATA" +_dat = "data" +_FSIZE = "FSIZE" +_fs = "fsize" +_LOCKS = "LOCKS" +_loc = "locks" +_MEMLOCK = "MEMLOCK" +_mem = "memlock" +_MSGQUEUE = "MSGQUEUE" +_ms = "msgqueue" +_NICE = "NICE" +_ni = "nice" +_NOFILE = "NOFILE" +_no = "nofile" +_NPROC = "NPROC" +_np = "nproc" +_RSS = "RSS" +_rs = "rss" +_RTPRIO = "RTPRIO" +_rt = "rtprio" +_RTTIME = "RTTIME" +_rtt = "rttime" +_SIGPENDING = "SIGPENDING" +_sig = "sigpending" +_STACK = "STACK" +_stac = "stack" +_U = "Ulimit" +_sL = "softLimit" +_hL = "hardLimit" +_UL = "UlimitList" +_DCD = "DaemonContainerDefinition" +_memo = "memory" +_mRe = "memoryReservation" +_rCe = "repositoryCredentials" +_hC = "healthCheck" +_es = "essential" +_eP = "entryPoint" +_wD = "workingDirectory" +_eF = "environmentFiles" +_env = "environment" +_sec = "secrets" +_rRF = "readonlyRootFilesystem" +_mP = "mountPoints" +_fCi = "firelensConfiguration" +_pri = "privileged" +_us = "user" +_ul = "ulimits" +_lP = "linuxParameters" +_dO = "dependsOn" +_sT = "startTimeout" +_sTt = "stopTimeout" +_sCy = "systemControls" +_pTs = "pseudoTerminal" +_rPe = "restartPolicy" +_DCDL = "DaemonContainerDefinitionList" +_DIM = "DaemonIpcMode" +_non = "none" +_SHARED = "SHARED" +_sh = "shared" +_DPM = "DaemonPidMode" +_DTDS = "DaemonTaskDefinitionStatus" +_DELETED = "DELETED" +_HVP = "HostVolumeProperties" +_sPo = "sourcePath" +_LDVC = "LogDriverVolumeConfiguration" +_dri = "driver" +_DV = "DaemonVolume" +_ho = "host" +_lDVC = "logDriverVolumeConfiguration" +_DVL = "DaemonVolumeList" +_DTD = "DaemonTaskDefinition" +_rev = "revision" +_tRA = "taskRoleArn" +_eRA = "executionRoleArn" +_cD = "containerDefinitions" +_vo = "volumes" +_dRAe = "deleteRequestedAt" +_rB = "registeredBy" +_pM = "pidMode" +_iM = "ipcMode" +_DDTDOe = "DescribeDaemonTaskDefinitionOutput" +_cDDTDRoma = "com.amazonaws.ecs#DescribeDaemonTaskDefinitionResponse" +_DDTDe = "DescribeDaemonTaskDefinition" +_DTDRF = "DaemonTaskDefinitionRevisionFilter" +_LR = "LAST_REGISTERED" +_DTDSF = "DaemonTaskDefinitionStatusFilter" +_ALL = "ALL" +_LDTDI = "ListDaemonTaskDefinitionsInput" +_cLDTDR = "com.amazonaws.ecs#ListDaemonTaskDefinitionsRequest" +_fP = "familyPrefix" +_so = "sort" +_DTDSa = "DaemonTaskDefinitionSummary" +_DTDSae = "DaemonTaskDefinitionSummaries" +_LDTDO = "ListDaemonTaskDefinitionsOutput" +_cLDTDRo = "com.amazonaws.ecs#ListDaemonTaskDefinitionsResponse" +_dTDa = "daemonTaskDefinitions" +_LDTD = "ListDaemonTaskDefinitions" +_RDTDI = "RegisterDaemonTaskDefinitionInput" +_cRDTDR = "com.amazonaws.ecs#RegisterDaemonTaskDefinitionRequest" +_RDTDO = "RegisterDaemonTaskDefinitionOutput" +_cRDTDRo = "com.amazonaws.ecs#RegisterDaemonTaskDefinitionResponse" +_RDTD = "RegisterDaemonTaskDefinition" +_SN = "SettingName" +_SLAF = "SERVICE_LONG_ARN_FORMAT" +_sLAF = "serviceLongArnFormat" +_TLAF = "TASK_LONG_ARN_FORMAT" +_tLAF = "taskLongArnFormat" +_CILAF = "CONTAINER_INSTANCE_LONG_ARN_FORMAT" +_cILAF = "containerInstanceLongArnFormat" +_AT_ = "AWSVPC_TRUNKING" +_aTw = "awsvpcTrunking" +_FFM = "FARGATE_FIPS_MODE" +_fFIPSM = "fargateFIPSMode" +_TRA = "TAG_RESOURCE_AUTHORIZATION" +_tRAa = "tagResourceAuthorization" +_FTRWP = "FARGATE_TASK_RETIREMENT_WAIT_PERIOD" +_fTRWP = "fargateTaskRetirementWaitPeriod" +_GDA = "GUARD_DUTY_ACTIVATE" +_gDA = "guardDutyActivate" +_DLDM = "DEFAULT_LOG_DRIVER_MODE" +_dLDM = "defaultLogDriverMode" +_FEW = "FARGATE_EVENT_WINDOWS" +_fEW = "fargateEventWindows" +_DASI = "DeleteAccountSettingInput" +_cDASR = "com.amazonaws.ecs#DeleteAccountSettingRequest" +_pA = "principalArn" +_ST = "SettingType" +_USER = "USER" +_AM_ = "AWS_MANAGED" +_am = "aws_managed" +_Set = "Setting" +_DASO = "DeleteAccountSettingOutput" +_cDASRo = "com.amazonaws.ecs#DeleteAccountSettingResponse" +_sett = "setting" +_DAS = "DeleteAccountSetting" +_DTDI = "DeregisterTaskDefinitionInput" +_cDTDR = "com.amazonaws.ecs#DeregisterTaskDefinitionRequest" +_tD = "taskDefinition" +_Co = "Compatibility" +_CL = "CompatibilityList" +_DLM = "DockerLabelsMap" +_HE = "HostEntry" +_hos = "hostname" +_iA = "ipAddress" +_HEL = "HostEntryList" +_LP = "LinuxParameters" +_sMS = "sharedMemorySize" +_mSa = "maxSwap" +_sw = "swappiness" +_AP = "ApplicationProtocol" +_HTTP = "HTTP" +_ht = "http" +_HTTP_ = "HTTP2" +_htt = "http2" +_GRPC = "GRPC" +_gr = "grpc" +_PM = "PortMapping" +_aP = "appProtocol" +_PML = "PortMappingList" +_NMA = "NvidiaMpsAllocation" +_mCP = "maxComputePercent" +_SSh = "SharingStrategy" +_nM = "nvidiaMps" +_RT = "ResourceType" +_IA = "INFERENCE_ACCELERATOR" +_IAn = "InferenceAccelerator" +_NDe = "NeuronDevice" +_RR = "ResourceRequirement" +_v__ = "" +_sS = "sharingStrategy" +_RRe = "ResourceRequirements" +_VC = "VersionConsistency" +_di = "disabled" +_VF = "VolumeFrom" +_sCo = "sourceContainer" +_VFL = "VolumeFromList" +_CDont = "ContainerDefinition" +_li = "links" +_pMo = "portMappings" +_vFo = "volumesFrom" +_vC = "versionConsistency" +_dNi = "disableNetworking" +_dSn = "dnsServers" +_dSD = "dnsSearchDomains" +_eH = "extraHosts" +_dSO = "dockerSecurityOptions" +_dL = "dockerLabels" +_rRes = "resourceRequirements" +_cS = "credentialSpecs" +_CDonta = "ContainerDefinitions" +_DTDO = "DeregisterTaskDefinitionOutput" +_cDTDRo = "com.amazonaws.ecs#DeregisterTaskDefinitionResponse" +_DTDe = "DeregisterTaskDefinition" + +DAEMON_REVISIONS: StaticSchema = ( + 16, + n0, + _DRae, + 0, + (_me,), + ((lambda: schemas.DAEMON_REVISION, 0),), +) + +DELETE_DAEMON_TASK_DEFINITION_INPUT: StaticSchema = ( + 18, + n0, + _DDTDI, + {_sSI: _cDDTDR, _smit: None}, + (_dTD,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DAEMON_TASK_DEFINITION_OUTPUT: StaticSchema = ( + 18, + n0, + _DDTDO, + {_sSI: _cDDTDRo, _smith: None}, + (_dTDA,), + ((lambda: schemas.STRING, 0),), +) + +DELETE_DAEMON_TASK_DEFINITION: StaticOperationSchema = ( + 23, + n0, + _DDTD, + 0, + DELETE_DAEMON_TASK_DEFINITION_INPUT, + DELETE_DAEMON_TASK_DEFINITION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +DESCRIBE_DAEMON_TASK_DEFINITION_INPUT: StaticSchema = ( + 18, + n0, + _DDTDIe, + {_sSI: _cDDTDRom, _smit: None}, + (_dTD,), + ((lambda: schemas.STRING, 1),), +) + +DESCRIBE_DAEMON_TASK_DEFINITION_OUTPUT: StaticSchema = ( + 18, + n0, + _DDTDOe, + {_sSI: _cDDTDRoma, _smith: None}, + (_dTD,), + ((lambda: DAEMON_TASK_DEFINITION, 0),), +) + +DESCRIBE_DAEMON_TASK_DEFINITION: StaticOperationSchema = ( + 23, + n0, + _DDTDe, + 0, + DESCRIBE_DAEMON_TASK_DEFINITION_INPUT, + DESCRIBE_DAEMON_TASK_DEFINITION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +CONTAINER_CONDITION: StaticSchema = ( + 14, + n0, + _CCo, + 0, + (_START, _COMPLETE, _SUCCESS, _HEALTHY), + ( + (-1, {_sV: _START}), + (-1, {_sV: _COMPLETE}), + (-1, {_sV: _SUCCESS}), + (-1, {_sV: _HEALTHY}), + ), +) + +CONTAINER_DEPENDENCY: StaticSchema = ( + 18, + n0, + _CDo, + 0, + (_cNo, _cond), + ((lambda: schemas.STRING, 1), (CONTAINER_CONDITION, 1)), +) + +CONTAINER_DEPENDENCIES: StaticSchema = ( + 16, + n0, + _CDon, + 0, + (_me,), + ((CONTAINER_DEPENDENCY, 0),), +) + +ENVIRONMENT_VARIABLES: StaticSchema = ( + 16, + n0, + _EV, + 4, + (_me,), + ((lambda: schemas.KEY_VALUE_PAIR, 0),), +) + +ENVIRONMENT_FILE_TYPE: StaticSchema = (14, n0, _EFT, 0, (_S_,), ((-1, {_sV: _s_}),)) + +ENVIRONMENT_FILE: StaticSchema = ( + 18, + n0, + _EF, + 0, + (_va, _ty), + ((lambda: schemas.STRING, 1), (ENVIRONMENT_FILE_TYPE, 1)), +) + +ENVIRONMENT_FILES: StaticSchema = (16, n0, _EFn, 0, (_me,), ((ENVIRONMENT_FILE, 0),)) + +FIRELENS_CONFIGURATION_OPTIONS_MAP: StaticSchema = ( + 17, + n0, + _FCOM, + 0, + (_ke, _va), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +FIRELENS_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _FCT, + 0, + (_FLUENTD, _FLUENTBIT), + ((-1, {_sV: _fl}), (-1, {_sV: _flu})), +) + +FIRELENS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FC, + 0, + (_ty, _o), + ((FIRELENS_CONFIGURATION_TYPE, 1), (FIRELENS_CONFIGURATION_OPTIONS_MAP, 0)), +) + +HEALTH_CHECK: StaticSchema = ( + 18, + n0, + _HC, + 0, + (_com, _inter, _ti, _ret, _sP), + ( + (lambda: schemas.STRING_LIST, 1), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +KERNEL_CAPABILITIES: StaticSchema = ( + 18, + n0, + _KC, + 0, + (_ad, _dr), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.STRING_LIST, 0)), +) + +DEVICE_CGROUP_PERMISSION: StaticSchema = ( + 14, + n0, + _DCPev, + 0, + (_READ, _WRITE, _MKNOD), + ((-1, {_sV: _rea}), (-1, {_sV: _wr}), (-1, {_sV: _mk})), +) + +DEVICE_CGROUP_PERMISSIONS: StaticSchema = ( + 16, + n0, + _DCPevi, + 0, + (_me,), + ((DEVICE_CGROUP_PERMISSION, 0),), +) + +DEVICE: StaticSchema = ( + 18, + n0, + _De, + 0, + (_hPo, _cPon, _pe), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (DEVICE_CGROUP_PERMISSIONS, 0), + ), +) + +DEVICES_LIST: StaticSchema = (16, n0, _DL, 0, (_me,), ((DEVICE, 0),)) + +TMPFS: StaticSchema = ( + 18, + n0, + _Tm, + 0, + (_cPon, _si, _mO), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER, {_smi: 0, _sm: None}), + (lambda: schemas.STRING_LIST, 0), + ), +) + +TMPFS_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TMPFS, 0),)) + +DAEMON_LINUX_PARAMETERS: StaticSchema = ( + 18, + n0, + _DLP, + 0, + (_ca, _dev, _iPE, _tm), + ( + (KERNEL_CAPABILITIES, 0), + (DEVICES_LIST, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (TMPFS_LIST, 0), + ), +) + +LOG_DRIVER: StaticSchema = ( + 14, + n0, + _LDo, + 0, + (_JF, _SYSLOG, _JOURNALD, _GELF, _FLUENTD, _AWSLOGS, _SPLUNK, _AWSFIRELENS), + ( + (-1, {_sV: _jf}), + (-1, {_sV: _sy}), + (-1, {_sV: _j}), + (-1, {_sV: _ge}), + (-1, {_sV: _fl}), + (-1, {_sV: _aw}), + (-1, {_sV: _sp}), + (-1, {_sV: _awsf}), + ), +) + +LOG_CONFIGURATION_OPTIONS_MAP: StaticSchema = ( + 17, + n0, + _LCOM, + 0, + (_ke, _va), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SECRET: StaticSchema = ( + 18, + n0, + _Sec, + 0, + (_na, _vF), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +SECRET_LIST: StaticSchema = (16, n0, _SLe, 0, (_me,), ((SECRET, 0),)) + +LOG_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LCo, + 0, + (_lD, _o, _sO), + ((LOG_DRIVER, 1), (LOG_CONFIGURATION_OPTIONS_MAP, 0), (SECRET_LIST, 0)), +) + +MOUNT_POINT: StaticSchema = ( + 18, + n0, + _MP, + 0, + (_sVo, _cPon, _rO), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + ), +) + +MOUNT_POINT_LIST: StaticSchema = (16, n0, _MPL, 0, (_me,), ((MOUNT_POINT, 0),)) + +REPOSITORY_CREDENTIALS: StaticSchema = ( + 18, + n0, + _RC, + 4, + (_cPr,), + ((lambda: schemas.STRING, 1),), +) + +INTEGER_LIST: StaticSchema = ( + 16, + n0, + _IL, + 0, + (_me,), + ((lambda: schemas.BOXED_INTEGER, 0),), +) + +CONTAINER_RESTART_POLICY: StaticSchema = ( + 18, + n0, + _CRPo, + 0, + (_ena, _iEC, _rAP), + ( + (lambda: schemas.BOXED_BOOLEAN, 1), + (INTEGER_LIST, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +SYSTEM_CONTROL: StaticSchema = ( + 18, + n0, + _SC, + 0, + (_nam, _va), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SYSTEM_CONTROLS: StaticSchema = (16, n0, _SCy, 0, (_me,), ((SYSTEM_CONTROL, 0),)) + +ULIMIT_NAME: StaticSchema = ( + 14, + n0, + _UN, + 0, + ( + _CORE, + _CPU, + _DATA, + _FSIZE, + _LOCKS, + _MEMLOCK, + _MSGQUEUE, + _NICE, + _NOFILE, + _NPROC, + _RSS, + _RTPRIO, + _RTTIME, + _SIGPENDING, + _STACK, + ), + ( + (-1, {_sV: _cor}), + (-1, {_sV: _cp}), + (-1, {_sV: _dat}), + (-1, {_sV: _fs}), + (-1, {_sV: _loc}), + (-1, {_sV: _mem}), + (-1, {_sV: _ms}), + (-1, {_sV: _ni}), + (-1, {_sV: _no}), + (-1, {_sV: _np}), + (-1, {_sV: _rs}), + (-1, {_sV: _rt}), + (-1, {_sV: _rtt}), + (-1, {_sV: _sig}), + (-1, {_sV: _stac}), + ), +) + +ULIMIT: StaticSchema = ( + 18, + n0, + _U, + 0, + (_na, _sL, _hL), + ( + (ULIMIT_NAME, 1), + (lambda: schemas.INTEGER, {_smi: 0, _sm: None}), + (lambda: schemas.INTEGER, {_smi: 0, _sm: None}), + ), +) + +ULIMIT_LIST: StaticSchema = (16, n0, _UL, 0, (_me,), ((ULIMIT, 0),)) + +DAEMON_CONTAINER_DEFINITION: StaticSchema = ( + 18, + n0, + _DCD, + 0, + ( + _na, + _im, + _memo, + _mRe, + _rCe, + _hC, + _cp, + _es, + _eP, + _com, + _wD, + _eF, + _env, + _sec, + _rRF, + _mP, + _lC, + _fCi, + _pri, + _us, + _ul, + _lP, + _dO, + _sT, + _sTt, + _sCy, + _inte, + _pTs, + _rPe, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (REPOSITORY_CREDENTIALS, 0), + (HEALTH_CHECK, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + (ENVIRONMENT_FILES, 0), + (ENVIRONMENT_VARIABLES, 0), + (SECRET_LIST, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (MOUNT_POINT_LIST, 0), + (LOG_CONFIGURATION, 0), + (FIRELENS_CONFIGURATION, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (ULIMIT_LIST, 0), + (DAEMON_LINUX_PARAMETERS, 0), + (CONTAINER_DEPENDENCIES, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (SYSTEM_CONTROLS, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (CONTAINER_RESTART_POLICY, 0), + ), +) + +DAEMON_CONTAINER_DEFINITION_LIST: StaticSchema = ( + 16, + n0, + _DCDL, + 0, + (_me,), + ((DAEMON_CONTAINER_DEFINITION, 0),), +) + +DAEMON_IPC_MODE: StaticSchema = ( + 14, + n0, + _DIM, + 0, + (_NONE, _SHARED), + ((-1, {_sV: _non}), (-1, {_sV: _sh})), +) + +DAEMON_PID_MODE: StaticSchema = ( + 14, + n0, + _DPM, + 0, + (_NONE, _SHARED), + ((-1, {_sV: _non}), (-1, {_sV: _sh})), +) + +DAEMON_TASK_DEFINITION_STATUS: StaticSchema = ( + 14, + n0, + _DTDS, + 0, + (_ACTIVE, _DIP, _DELETED), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DIP}), (-1, {_sV: _DELETED})), +) + +HOST_VOLUME_PROPERTIES: StaticSchema = ( + 18, + n0, + _HVP, + 0, + (_sPo,), + ((lambda: schemas.STRING, 0),), +) + +LOG_DRIVER_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LDVC, + 0, + (_dri,), + ((LOG_DRIVER, 1),), +) + +DAEMON_VOLUME: StaticSchema = ( + 18, + n0, + _DV, + 0, + (_na, _ho, _lDVC), + ( + (lambda: schemas.STRING, 0), + (HOST_VOLUME_PROPERTIES, 0), + (LOG_DRIVER_VOLUME_CONFIGURATION, 0), + ), +) + +DAEMON_VOLUME_LIST: StaticSchema = (16, n0, _DVL, 0, (_me,), ((DAEMON_VOLUME, 0),)) + +DAEMON_TASK_DEFINITION: StaticSchema = ( + 18, + n0, + _DTD, + 0, + ( + _dTDA, + _fam, + _rev, + _tRA, + _eRA, + _cD, + _vo, + _cp, + _memo, + _st, + _rAe, + _dRAe, + _rB, + _pM, + _iM, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DAEMON_CONTAINER_DEFINITION_LIST, 0), + (DAEMON_VOLUME_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DAEMON_TASK_DEFINITION_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (DAEMON_PID_MODE, 0), + (DAEMON_IPC_MODE, 0), + ), +) + +DAEMON_TASK_DEFINITION_REVISION_FILTER: StaticSchema = ( + 14, + n0, + _DTDRF, + 0, + (_LR,), + ((-1, {_sV: _LR}),), +) + +DAEMON_TASK_DEFINITION_STATUS_FILTER: StaticSchema = ( + 14, + n0, + _DTDSF, + 0, + (_ACTIVE, _DIP, _ALL), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DIP}), (-1, {_sV: _ALL})), +) + +LIST_DAEMON_TASK_DEFINITIONS_INPUT: StaticSchema = ( + 18, + n0, + _LDTDI, + {_sSI: _cLDTDR, _smit: None}, + (_fP, _fam, _rev, _st, _so, _nT, _mR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DAEMON_TASK_DEFINITION_REVISION_FILTER, 0), + (DAEMON_TASK_DEFINITION_STATUS_FILTER, 0), + (lambda: schemas.SORT_ORDER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +LIST_DAEMON_TASK_DEFINITIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDTDO, + {_sSI: _cLDTDRo, _smith: None}, + (_dTDa, _nT), + ((lambda: DAEMON_TASK_DEFINITION_SUMMARIES, 0), (lambda: schemas.STRING, 0)), +) + +LIST_DAEMON_TASK_DEFINITIONS: StaticOperationSchema = ( + 23, + n0, + _LDTD, + 0, + LIST_DAEMON_TASK_DEFINITIONS_INPUT, + LIST_DAEMON_TASK_DEFINITIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +DAEMON_TASK_DEFINITION_SUMMARY: StaticSchema = ( + 18, + n0, + _DTDSa, + 0, + (_ar, _rAe, _rB, _dRAe, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (DAEMON_TASK_DEFINITION_STATUS, 0), + ), +) + +DAEMON_TASK_DEFINITION_SUMMARIES: StaticSchema = ( + 16, + n0, + _DTDSae, + 0, + (_me,), + ((DAEMON_TASK_DEFINITION_SUMMARY, 0),), +) + +REGISTER_DAEMON_TASK_DEFINITION_INPUT: StaticSchema = ( + 18, + n0, + _RDTDI, + {_sSI: _cRDTDR, _smit: None}, + (_fam, _tRA, _eRA, _cD, _cp, _memo, _vo, _ta, _pM, _iM), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DAEMON_CONTAINER_DEFINITION_LIST, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DAEMON_VOLUME_LIST, 0), + (lambda: schemas.TAGS, 0), + (DAEMON_PID_MODE, 0), + (DAEMON_IPC_MODE, 0), + ), +) + +REGISTER_DAEMON_TASK_DEFINITION_OUTPUT: StaticSchema = ( + 18, + n0, + _RDTDO, + {_sSI: _cRDTDRo, _smith: None}, + (_dTDA,), + ((lambda: schemas.STRING, 0),), +) + +REGISTER_DAEMON_TASK_DEFINITION: StaticOperationSchema = ( + 23, + n0, + _RDTD, + 0, + REGISTER_DAEMON_TASK_DEFINITION_INPUT, + REGISTER_DAEMON_TASK_DEFINITION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +SETTING_NAME: StaticSchema = ( + 14, + n0, + _SN, + 0, + (_SLAF, _TLAF, _CILAF, _AT_, _CI, _FFM, _TRA, _FTRWP, _GDA, _DLDM, _FEW), + ( + (-1, {_sV: _sLAF}), + (-1, {_sV: _tLAF}), + (-1, {_sV: _cILAF}), + (-1, {_sV: _aTw}), + (-1, {_sV: _cI}), + (-1, {_sV: _fFIPSM}), + (-1, {_sV: _tRAa}), + (-1, {_sV: _fTRWP}), + (-1, {_sV: _gDA}), + (-1, {_sV: _dLDM}), + (-1, {_sV: _fEW}), + ), +) + +DELETE_ACCOUNT_SETTING_INPUT: StaticSchema = ( + 18, + n0, + _DASI, + {_sSI: _cDASR, _smit: None}, + (_na, _pA), + ((SETTING_NAME, 1), (lambda: schemas.STRING, 0)), +) + +DELETE_ACCOUNT_SETTING_OUTPUT: StaticSchema = ( + 18, + n0, + _DASO, + {_sSI: _cDASRo, _smith: None}, + (_sett,), + ((lambda: SETTING, 0),), +) + +DELETE_ACCOUNT_SETTING: StaticOperationSchema = ( + 23, + n0, + _DAS, + 0, + DELETE_ACCOUNT_SETTING_INPUT, + DELETE_ACCOUNT_SETTING_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +SETTING_TYPE: StaticSchema = ( + 14, + n0, + _ST, + 0, + (_USER, _AM_), + ((-1, {_sV: _us}), (-1, {_sV: _am})), +) + +SETTING: StaticSchema = ( + 18, + n0, + _Set, + 0, + (_na, _va, _pA, _ty), + ( + (SETTING_NAME, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (SETTING_TYPE, 0), + ), +) + +DEREGISTER_TASK_DEFINITION_INPUT: StaticSchema = ( + 18, + n0, + _DTDI, + {_sSI: _cDTDR, _smit: None}, + (_tD,), + ((lambda: schemas.STRING, 1),), +) + +DEREGISTER_TASK_DEFINITION_OUTPUT: StaticSchema = ( + 18, + n0, + _DTDO, + {_sSI: _cDTDRo, _smith: None}, + (_tD,), + ((lambda: schemas.TASK_DEFINITION, 0),), +) + +DEREGISTER_TASK_DEFINITION: StaticOperationSchema = ( + 23, + n0, + _DTDe, + 0, + DEREGISTER_TASK_DEFINITION_INPUT, + DEREGISTER_TASK_DEFINITION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +COMPATIBILITY: StaticSchema = ( + 14, + n0, + _Co, + 0, + (_EC_, _FARGATE, _EXTERNAL, _MI), + ( + (-1, {_sV: _EC_}), + (-1, {_sV: _FARGATE}), + (-1, {_sV: _EXTERNAL}), + (-1, {_sV: _MI}), + ), +) + +COMPATIBILITY_LIST: StaticSchema = (16, n0, _CL, 0, (_me,), ((COMPATIBILITY, 0),)) + +DOCKER_LABELS_MAP: StaticSchema = ( + 17, + n0, + _DLM, + 0, + (_ke, _va), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +HOST_ENTRY: StaticSchema = ( + 18, + n0, + _HE, + 0, + (_hos, _iA), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +HOST_ENTRY_LIST: StaticSchema = (16, n0, _HEL, 0, (_me,), ((HOST_ENTRY, 0),)) + +LINUX_PARAMETERS: StaticSchema = ( + 18, + n0, + _LP, + 0, + (_ca, _dev, _iPE, _sMS, _tm, _mSa, _sw), + ( + (KERNEL_CAPABILITIES, 0), + (DEVICES_LIST, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (TMPFS_LIST, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +APPLICATION_PROTOCOL: StaticSchema = ( + 14, + n0, + _AP, + 0, + (_HTTP, _HTTP_, _GRPC), + ((-1, {_sV: _ht}), (-1, {_sV: _htt}), (-1, {_sV: _gr})), +) + +PORT_MAPPING: StaticSchema = ( + 18, + n0, + _PM, + 0, + (_cPo, _hP, _pr, _na, _aP, _cPR), + ( + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.TRANSPORT_PROTOCOL, 0), + (lambda: schemas.STRING, 0), + (APPLICATION_PROTOCOL, 0), + (lambda: schemas.STRING, 0), + ), +) + +PORT_MAPPING_LIST: StaticSchema = (16, n0, _PML, 0, (_me,), ((PORT_MAPPING, 0),)) + +NVIDIA_MPS_ALLOCATION: StaticSchema = ( + 18, + n0, + _NMA, + 0, + (_memo, _mCP), + ((lambda: schemas.BOXED_INTEGER, 1), (lambda: schemas.BOXED_INTEGER, 0)), +) + +SHARING_STRATEGY: StaticSchema = ( + 19, + n0, + _SSh, + 0, + (_nM,), + ((NVIDIA_MPS_ALLOCATION, 0),), +) + +RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _RT, + 0, + (_GPU, _IA, _ND), + ((-1, {_sV: _GPU}), (-1, {_sV: _IAn}), (-1, {_sV: _NDe})), +) + +RESOURCE_REQUIREMENT: StaticSchema = ( + 18, + n0, + _RR, + 0, + (_va, _ty, _sS), + ((lambda: schemas.STRING, {_smi: _v__}), (RESOURCE_TYPE, 1), (SHARING_STRATEGY, 0)), +) + +RESOURCE_REQUIREMENTS: StaticSchema = ( + 16, + n0, + _RRe, + 0, + (_me,), + ((RESOURCE_REQUIREMENT, 0),), +) + +VERSION_CONSISTENCY: StaticSchema = ( + 14, + n0, + _VC, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ena}), (-1, {_sV: _di})), +) + +VOLUME_FROM: StaticSchema = ( + 18, + n0, + _VF, + 0, + (_sCo, _rO), + ((lambda: schemas.STRING, 0), (lambda: schemas.BOXED_BOOLEAN, 0)), +) + +VOLUME_FROM_LIST: StaticSchema = (16, n0, _VFL, 0, (_me,), ((VOLUME_FROM, 0),)) + +CONTAINER_DEFINITION: StaticSchema = ( + 18, + n0, + _CDont, + 0, + ( + _na, + _im, + _rCe, + _cp, + _memo, + _mRe, + _li, + _pMo, + _es, + _rPe, + _eP, + _com, + _env, + _eF, + _mP, + _vFo, + _lP, + _sec, + _dO, + _sT, + _sTt, + _vC, + _hos, + _us, + _wD, + _dNi, + _pri, + _rRF, + _dSn, + _dSD, + _eH, + _dSO, + _inte, + _pTs, + _dL, + _ul, + _lC, + _hC, + _sCy, + _rRes, + _fCi, + _cS, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (REPOSITORY_CREDENTIALS, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING_LIST, 0), + (PORT_MAPPING_LIST, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (CONTAINER_RESTART_POLICY, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (ENVIRONMENT_VARIABLES, 0), + (ENVIRONMENT_FILES, 0), + (MOUNT_POINT_LIST, 0), + (VOLUME_FROM_LIST, 0), + (LINUX_PARAMETERS, 0), + (SECRET_LIST, 0), + (CONTAINER_DEPENDENCIES, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (VERSION_CONSISTENCY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (HOST_ENTRY_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (DOCKER_LABELS_MAP, 0), + (ULIMIT_LIST, 0), + (LOG_CONFIGURATION, 0), + (HEALTH_CHECK, 0), + (SYSTEM_CONTROLS, 0), + (RESOURCE_REQUIREMENTS, 0), + (FIRELENS_CONFIGURATION, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +CONTAINER_DEFINITIONS: StaticSchema = ( + 16, + n0, + _CDonta, + 0, + (_me,), + ((CONTAINER_DEFINITION, 0),), +) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_4.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_4.py new file mode 100644 index 000000000..7c839986e --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_4.py @@ -0,0 +1,1398 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ecs" +_sV = "smithy.api#enumValue" +_me = "member" +_mes = "message" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_st = "status" +_sm = "smithy.api#required" +_smi = "smithy.api#default" +_su = "subnets" +_nC = "networkConfiguration" +_NONE = "NONE" +_iRA = "infrastructureRoleArn" +_pT = "propagateTags" +_ke = "key" +_va = "value" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_na = "name" +_cl = "cluster" +_ta = "tags" +_ACTIVE = "ACTIVE" +_INACTIVE = "INACTIVE" +_UIP = "UPDATE_IN_PROGRESS" +_UC = "UPDATE_COMPLETE" +_UF = "UPDATE_FAILED" +_ty = "type" +_smith = "smithy.api#output" +_TAGS = "TAGS" +_incl = "include" +_mR = "maxResults" +_nT = "nextToken" +_ar = "arn" +_fa = "failures" +_co = "configuration" +_cA = "clusterArn" +_cIo = "containerInstance" +_sR = "statusReason" +_rAe = "registeredAt" +_tas = "task" +_cNo = "containerName" +_pr = "protocol" +_fam = "family" +_cAr = "createdAt" +_cT = "clientToken" +_uA = "updatedAt" +_s_ = "s3" +_cPr = "credentialsParameter" +_cp = "cpu" +_memo = "memory" +_non = "none" +_SHARED = "SHARED" +_sh = "shared" +_DELETED = "DELETED" +_dri = "driver" +_ho = "host" +_rev = "revision" +_tRA = "taskRoleArn" +_eRA = "executionRoleArn" +_cD = "containerDefinitions" +_vo = "volumes" +_dRAe = "deleteRequestedAt" +_rB = "registeredBy" +_pM = "pidMode" +_iM = "ipcMode" +_tD = "taskDefinition" +_HTTP = "HTTP" +_IAn = "InferenceAccelerator" +_ES = "EphemeralStorage" +_sIGB = "sizeInGiB" +_dNe = "deviceName" +_dT = "deviceType" +_IAnf = "InferenceAccelerators" +_IM = "IpcMode" +_HOST = "HOST" +_TASK = "TASK" +_NMe = "NetworkMode" +_BRIDGE = "BRIDGE" +_br = "bridge" +_AWSVPC = "AWSVPC" +_awsv = "awsvpc" +_PMi = "PidMode" +_TDPCT = "TaskDefinitionPlacementConstraintType" +_MO = "MEMBER_OF" +_mOe = "memberOf" +_TDPC = "TaskDefinitionPlacementConstraint" +_ex = "expression" +_TDPCa = "TaskDefinitionPlacementConstraints" +_PCP = "ProxyConfigurationProperties" +_PCT = "ProxyConfigurationType" +_APPMESH = "APPMESH" +_PC = "ProxyConfiguration" +_pro = "properties" +_RA = "RequiresAttributes" +_CPUA = "CPUArchitecture" +_X = "X86_64" +_ARM = "ARM64" +_OSF = "OSFamily" +_WSF = "WINDOWS_SERVER_2019_FULL" +_WSC = "WINDOWS_SERVER_2019_CORE" +_WSF_ = "WINDOWS_SERVER_2016_FULL" +_WSC_ = "WINDOWS_SERVER_2004_CORE" +_WSC__ = "WINDOWS_SERVER_2022_CORE" +_WSF__ = "WINDOWS_SERVER_2022_FULL" +_WSC___ = "WINDOWS_SERVER_2025_CORE" +_WSF___ = "WINDOWS_SERVER_2025_FULL" +_WSC____ = "WINDOWS_SERVER_20H2_CORE" +_LINUX = "LINUX" +_RP = "RuntimePlatform" +_cAp = "cpuArchitecture" +_oSF = "operatingSystemFamily" +_IMs = "IsolationMode" +_IS = "ISOLATED_SANDBOX" +_CS_ = "CONFIDENTIAL_SANDBOX" +_TEC = "TrustedExecutionConfiguration" +_iMs = "isolationMode" +_aPt = "attestationPolicy" +_SM = "StringMap" +_Sc = "Scope" +_DVC = "DockerVolumeConfiguration" +_sc = "scope" +_au = "autoprovision" +_dOr = "driverOpts" +_la = "labels" +_EFSACIAM = "EFSAuthorizationConfigIAM" +_EFSAC = "EFSAuthorizationConfig" +_aPI = "accessPointId" +_ia = "iam" +_EFSTE = "EFSTransitEncryption" +_EFSVC = "EFSVolumeConfiguration" +_fSI = "fileSystemId" +_rD = "rootDirectory" +_tE = "transitEncryption" +_tEP = "transitEncryptionPort" +_aCu = "authorizationConfig" +_FSWFSAC = "FSxWindowsFileServerAuthorizationConfig" +_do = "domain" +_FSWFSVC = "FSxWindowsFileServerVolumeConfiguration" +_SFVC = "S3FilesVolumeConfiguration" +_fSA = "fileSystemArn" +_aPA = "accessPointArn" +_Vo = "Volume" +_dVC = "dockerVolumeConfiguration" +_eVC = "efsVolumeConfiguration" +_sVC = "s3filesVolumeConfiguration" +_fWFSVC = "fsxWindowsFileServerVolumeConfiguration" +_cAL = "configuredAtLaunch" +_VL = "VolumeList" +_TD = "TaskDefinition" +_tDA = "taskDefinitionArn" +_nMe = "networkMode" +_rAeq = "requiresAttributes" +_pC = "placementConstraints" +_comp = "compatibilities" +_rPu = "runtimePlatform" +_rCeq = "requiresCompatibilities" +_iAn = "inferenceAccelerators" +_pCr = "proxyConfiguration" +_dAer = "deregisteredAt" +_eS = "ephemeralStorage" +_eFI = "enableFaultInjection" +_tEC = "trustedExecutionConfiguration" +_TDF = "TaskDefinitionField" +_TDFL = "TaskDefinitionFieldList" +_DTDIe = "DescribeTaskDefinitionInput" +_cDTDRom = "com.amazonaws.ecs#DescribeTaskDefinitionRequest" +_DTDOe = "DescribeTaskDefinitionOutput" +_cDTDRoma = "com.amazonaws.ecs#DescribeTaskDefinitionResponse" +_DTDes = "DescribeTaskDefinition" +_DPEI = "DiscoverPollEndpointInput" +_cDPER = "com.amazonaws.ecs#DiscoverPollEndpointRequest" +_DPEO = "DiscoverPollEndpointOutput" +_cDPERo = "com.amazonaws.ecs#DiscoverPollEndpointResponse" +_end = "endpoint" +_tEe = "telemetryEndpoint" +_sCE = "serviceConnectEndpoint" +_DPE = "DiscoverPollEndpoint" +_AGWCI = "AssociateGatewayWithClusterInput" +_cAGWCR = "com.amazonaws.ecs#AssociateGatewayWithClusterRequest" +_ga = "gateway" +_GCAS = "GatewayClusterAssociationStatus" +_DISASSOCIATING = "DISASSOCIATING" +_AGWCO = "AssociateGatewayWithClusterOutput" +_cAGWCRo = "com.amazonaws.ecs#AssociateGatewayWithClusterResponse" +_gA = "gatewayArn" +_AGWC = "AssociateGatewayWithCluster" +_GEALSD = "GatewayElbAccessLogS3Destination" +_bu = "bucket" +_pre = "prefix" +_GEALD = "GatewayElbAccessLogDestination" +_GEALC = "GatewayElbAccessLogConfiguration" +_des = "destination" +_GADMM = "GatewayAlbDesyncMitigationMode" +_MONITOR = "MONITOR" +_mon = "monitor" +_DEFENSIVE = "DEFENSIVE" +_def = "defensive" +_STRICTEST = "STRICTEST" +_str = "strictest" +_GEIAT = "GatewayElbIpAddressType" +_IPV = "IPV4" +_ip = "ipv4" +_DUALSTACK = "DUALSTACK" +_du = "dualstack" +_DWPI = "DUALSTACK_WITHOUT_PUBLIC_IPV4" +_dwpi = "dualstack-without-public-ipv4" +_GENC = "GatewayElbNetworkConfiguration" +_iSG = "inboundSecurityGroup" +_iAT = "ipAddressType" +_GAP = "GatewayAlbProtocol" +_HTTPS = "HTTPS" +_GES = "GatewayElbScheme" +_IF = "INTERNET_FACING" +_if = "internet-facing" +_INTERNAL = "INTERNAL" +_intern = "internal" +_GTTH = "GatewayTestTrafficHeader" +_val = "values" +_GATTR = "GatewayAlbTestTrafficRules" +_he = "header" +_HSAC = "HostSharedAlbConfiguration" +_sch = "scheme" +_wACLA = "webACLArn" +_aL = "accessLogs" +_po = "port" +_mAC = "maxAlbCount" +_hD = "httpDesync" +_tTR = "testTrafficRules" +_GC = "GatewayConfiguration" +_hSA = "hostSharedAlb" +_PGT = "PropagateGatewayTags" +_GATEWAY = "GATEWAY" +_CGI = "CreateGatewayInput" +_cCGR = "com.amazonaws.ecs#CreateGatewayRequest" +_sTm = "smithy.api#idempotencyToken" +_dPe = "deletionProtection" +_GS = "GatewayStatus" +_CGO = "CreateGatewayOutput" +_cCGRo = "com.amazonaws.ecs#CreateGatewayResponse" +_CG = "CreateGateway" +_DGI = "DeleteGatewayInput" +_cDGR = "com.amazonaws.ecs#DeleteGatewayRequest" +_DGO = "DeleteGatewayOutput" +_cDGRo = "com.amazonaws.ecs#DeleteGatewayResponse" +_DG = "DeleteGateway" +_DGIe = "DescribeGatewayInput" +_cDGRom = "com.amazonaws.ecs#DescribeGatewayRequest" +_DGAC = "DescribeGatewayAlbConfiguration" +_cAC = "currentAlbCount" +_DGC = "DescribeGatewayConfiguration" +_GOE = "GatewayOperationError" +_op = "operation" +_cod = "code" +_GOEL = "GatewayOperationErrorList" +_GRF = "GatewayResourceFailure" +_er = "errors" +_GRFL = "GatewayResourceFailureList" +_G = "Gateway" +_aTc = "accessType" +_DGOe = "DescribeGatewayOutput" +_cDGRoma = "com.amazonaws.ecs#DescribeGatewayResponse" +_DGe = "DescribeGateway" +_DGRI = "DescribeGatewayResourcesInput" +_cDGRR = "com.amazonaws.ecs#DescribeGatewayResourcesRequest" +_EGR = "ElbGatewayResources" +_lBA = "loadBalancerArn" +_lA = "listenerArn" +_sGe = "securityGroup" +_gRA = "gatewayRouteArns" +_EGRL = "ElbGatewayResourcesList" +_GIR = "GatewayInfrastructureResources" +_GR = "GatewayResources" +_res = "resources" +_DGRO = "DescribeGatewayResourcesOutput" +_cDGRRo = "com.amazonaws.ecs#DescribeGatewayResourcesResponse" +_gR = "gatewayResources" +_DGR = "DescribeGatewayResources" +_DGFCI = "DisassociateGatewayFromClusterInput" +_cDGFCR = "com.amazonaws.ecs#DisassociateGatewayFromClusterRequest" +_DGFCO = "DisassociateGatewayFromClusterOutput" +_cDGFCRo = "com.amazonaws.ecs#DisassociateGatewayFromClusterResponse" +_DGFC = "DisassociateGatewayFromCluster" +_GCASL = "GatewayClusterAssociationStatusList" +_LGCAI = "ListGatewayClusterAssociationsInput" +_cLGCAR = "com.amazonaws.ecs#ListGatewayClusterAssociationsRequest" +_GCASa = "GatewayClusterAssociationSummary" +_GCASLa = "GatewayClusterAssociationSummaryList" +_LGCAO = "ListGatewayClusterAssociationsOutput" +_cLGCARo = "com.amazonaws.ecs#ListGatewayClusterAssociationsResponse" +_gCA = "gatewayClusterAssociations" +_LGCA = "ListGatewayClusterAssociations" +_GSL = "GatewayStatusList" +_LGI = "ListGatewaysInput" +_cLGR = "com.amazonaws.ecs#ListGatewaysRequest" +_name = "names" +_LGO = "ListGatewaysOutput" +_cLGRo = "com.amazonaws.ecs#ListGatewaysResponse" +_gat = "gateways" +_LG = "ListGateways" + +EPHEMERAL_STORAGE: StaticSchema = ( + 18, + n0, + _ES, + 0, + (_sIGB,), + ((lambda: schemas.INTEGER, {_smi: 0, _sm: None}),), +) + +INFERENCE_ACCELERATOR: StaticSchema = ( + 18, + n0, + _IAn, + 0, + (_dNe, _dT), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +INFERENCE_ACCELERATORS: StaticSchema = ( + 16, + n0, + _IAnf, + 0, + (_me,), + ((INFERENCE_ACCELERATOR, 0),), +) + +IPC_MODE: StaticSchema = ( + 14, + n0, + _IM, + 0, + (_HOST, _TASK, _NONE), + ((-1, {_sV: _ho}), (-1, {_sV: _tas}), (-1, {_sV: _non})), +) + +NETWORK_MODE: StaticSchema = ( + 14, + n0, + _NMe, + 0, + (_BRIDGE, _HOST, _AWSVPC, _NONE), + ((-1, {_sV: _br}), (-1, {_sV: _ho}), (-1, {_sV: _awsv}), (-1, {_sV: _non})), +) + +PID_MODE: StaticSchema = ( + 14, + n0, + _PMi, + 0, + (_HOST, _TASK), + ((-1, {_sV: _ho}), (-1, {_sV: _tas})), +) + +TASK_DEFINITION_PLACEMENT_CONSTRAINT_TYPE: StaticSchema = ( + 14, + n0, + _TDPCT, + 0, + (_MO,), + ((-1, {_sV: _mOe}),), +) + +TASK_DEFINITION_PLACEMENT_CONSTRAINT: StaticSchema = ( + 18, + n0, + _TDPC, + 0, + (_ty, _ex), + ((TASK_DEFINITION_PLACEMENT_CONSTRAINT_TYPE, 0), (lambda: schemas.STRING, 0)), +) + +TASK_DEFINITION_PLACEMENT_CONSTRAINTS: StaticSchema = ( + 16, + n0, + _TDPCa, + 0, + (_me,), + ((TASK_DEFINITION_PLACEMENT_CONSTRAINT, 0),), +) + +PROXY_CONFIGURATION_PROPERTIES: StaticSchema = ( + 16, + n0, + _PCP, + 0, + (_me,), + ((lambda: schemas.KEY_VALUE_PAIR, 0),), +) + +PROXY_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _PCT, + 0, + (_APPMESH,), + ((-1, {_sV: _APPMESH}),), +) + +PROXY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PC, + 0, + (_ty, _cNo, _pro), + ( + (PROXY_CONFIGURATION_TYPE, 0), + (lambda: schemas.STRING, 1), + (PROXY_CONFIGURATION_PROPERTIES, 0), + ), +) + +REQUIRES_ATTRIBUTES: StaticSchema = ( + 16, + n0, + _RA, + 0, + (_me,), + ((lambda: schemas.ATTRIBUTE, 0),), +) + +CPU_ARCHITECTURE: StaticSchema = ( + 14, + n0, + _CPUA, + 0, + (_X, _ARM), + ((-1, {_sV: _X}), (-1, {_sV: _ARM})), +) + +OS_FAMILY: StaticSchema = ( + 14, + n0, + _OSF, + 0, + (_WSF, _WSC, _WSF_, _WSC_, _WSC__, _WSF__, _WSC___, _WSF___, _WSC____, _LINUX), + ( + (-1, {_sV: _WSF}), + (-1, {_sV: _WSC}), + (-1, {_sV: _WSF_}), + (-1, {_sV: _WSC_}), + (-1, {_sV: _WSC__}), + (-1, {_sV: _WSF__}), + (-1, {_sV: _WSC___}), + (-1, {_sV: _WSF___}), + (-1, {_sV: _WSC____}), + (-1, {_sV: _LINUX}), + ), +) + +RUNTIME_PLATFORM: StaticSchema = ( + 18, + n0, + _RP, + 0, + (_cAp, _oSF), + ((CPU_ARCHITECTURE, 0), (OS_FAMILY, 0)), +) + +ISOLATION_MODE: StaticSchema = ( + 14, + n0, + _IMs, + 0, + (_SHARED, _IS, _CS_), + ((-1, {_sV: _SHARED}), (-1, {_sV: _IS}), (-1, {_sV: _CS_})), +) + +TRUSTED_EXECUTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TEC, + 0, + (_iMs, _aPt), + ((ISOLATION_MODE, 1), (lambda: schemas.STRING, 0)), +) + +STRING_MAP: StaticSchema = ( + 17, + n0, + _SM, + 0, + (_ke, _va), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SCOPE: StaticSchema = ( + 14, + n0, + _Sc, + 0, + (_TASK, _SHARED), + ((-1, {_sV: _tas}), (-1, {_sV: _sh})), +) + +DOCKER_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DVC, + 0, + (_sc, _au, _dri, _dOr, _la), + ( + (SCOPE, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (STRING_MAP, 0), + (STRING_MAP, 0), + ), +) + +EFS_AUTHORIZATION_CONFIG_IAM: StaticSchema = ( + 14, + n0, + _EFSACIAM, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +EFS_AUTHORIZATION_CONFIG: StaticSchema = ( + 18, + n0, + _EFSAC, + 0, + (_aPI, _ia), + ((lambda: schemas.STRING, 0), (EFS_AUTHORIZATION_CONFIG_IAM, 0)), +) + +EFS_TRANSIT_ENCRYPTION: StaticSchema = ( + 14, + n0, + _EFSTE, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +EFS_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EFSVC, + 0, + (_fSI, _rD, _tE, _tEP, _aCu), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (EFS_TRANSIT_ENCRYPTION, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (EFS_AUTHORIZATION_CONFIG, 0), + ), +) + +F_SX_WINDOWS_FILE_SERVER_AUTHORIZATION_CONFIG: StaticSchema = ( + 18, + n0, + _FSWFSAC, + 0, + (_cPr, _do), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +F_SX_WINDOWS_FILE_SERVER_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FSWFSVC, + 0, + (_fSI, _rD, _aCu), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (F_SX_WINDOWS_FILE_SERVER_AUTHORIZATION_CONFIG, 1), + ), +) + +S3_FILES_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SFVC, + 0, + (_fSA, _rD, _tEP, _aPA), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +VOLUME: StaticSchema = ( + 18, + n0, + _Vo, + 0, + (_na, _ho, _dVC, _eVC, _sVC, _fWFSVC, _cAL), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.HOST_VOLUME_PROPERTIES, 0), + (DOCKER_VOLUME_CONFIGURATION, 0), + (EFS_VOLUME_CONFIGURATION, 0), + (S3_FILES_VOLUME_CONFIGURATION, 0), + (F_SX_WINDOWS_FILE_SERVER_VOLUME_CONFIGURATION, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + ), +) + +VOLUME_LIST: StaticSchema = (16, n0, _VL, 0, (_me,), ((VOLUME, 0),)) + +TASK_DEFINITION: StaticSchema = ( + 18, + n0, + _TD, + 0, + ( + _tDA, + _cD, + _fam, + _tRA, + _eRA, + _nMe, + _rev, + _vo, + _st, + _rAeq, + _pC, + _comp, + _rPu, + _rCeq, + _cp, + _memo, + _iAn, + _pM, + _iM, + _pCr, + _rAe, + _dAer, + _dRAe, + _rB, + _eS, + _eFI, + _tEC, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.CONTAINER_DEFINITIONS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (NETWORK_MODE, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (VOLUME_LIST, 0), + (lambda: schemas.TASK_DEFINITION_STATUS, 0), + (REQUIRES_ATTRIBUTES, 0), + (TASK_DEFINITION_PLACEMENT_CONSTRAINTS, 0), + (lambda: schemas.COMPATIBILITY_LIST, 0), + (RUNTIME_PLATFORM, 0), + (lambda: schemas.COMPATIBILITY_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (INFERENCE_ACCELERATORS, 0), + (PID_MODE, 0), + (IPC_MODE, 0), + (PROXY_CONFIGURATION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (EPHEMERAL_STORAGE, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (TRUSTED_EXECUTION_CONFIGURATION, 0), + ), +) + +TASK_DEFINITION_FIELD: StaticSchema = (14, n0, _TDF, 0, (_TAGS,), ((-1, {_sV: _TAGS}),)) + +TASK_DEFINITION_FIELD_LIST: StaticSchema = ( + 16, + n0, + _TDFL, + 0, + (_me,), + ((TASK_DEFINITION_FIELD, 0),), +) + +DESCRIBE_TASK_DEFINITION_INPUT: StaticSchema = ( + 18, + n0, + _DTDIe, + {_sSI: _cDTDRom, _smit: None}, + (_tD, _incl), + ((lambda: schemas.STRING, 1), (TASK_DEFINITION_FIELD_LIST, 0)), +) + +DESCRIBE_TASK_DEFINITION_OUTPUT: StaticSchema = ( + 18, + n0, + _DTDOe, + {_sSI: _cDTDRoma, _smith: None}, + (_tD, _ta), + ((TASK_DEFINITION, 0), (lambda: schemas.TAGS, 0)), +) + +DESCRIBE_TASK_DEFINITION: StaticOperationSchema = ( + 23, + n0, + _DTDes, + 0, + DESCRIBE_TASK_DEFINITION_INPUT, + DESCRIBE_TASK_DEFINITION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +DISCOVER_POLL_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DPEI, + {_sSI: _cDPER, _smit: None}, + (_cIo, _cl), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DISCOVER_POLL_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DPEO, + {_sSI: _cDPERo, _smith: None}, + (_end, _tEe, _sCE), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +DISCOVER_POLL_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DPE, + 0, + DISCOVER_POLL_ENDPOINT_INPUT, + DISCOVER_POLL_ENDPOINT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +ASSOCIATE_GATEWAY_WITH_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _AGWCI, + {_sSI: _cAGWCR, _smit: None}, + (_ga, _cl), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +ASSOCIATE_GATEWAY_WITH_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _AGWCO, + {_sSI: _cAGWCRo, _smith: None}, + (_gA, _cA, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: GATEWAY_CLUSTER_ASSOCIATION_STATUS, 0), + ), +) + +ASSOCIATE_GATEWAY_WITH_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _AGWC, + 0, + ASSOCIATE_GATEWAY_WITH_CLUSTER_INPUT, + ASSOCIATE_GATEWAY_WITH_CLUSTER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.GATEWAY_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +GATEWAY_CLUSTER_ASSOCIATION_STATUS: StaticSchema = ( + 14, + n0, + _GCAS, + 0, + (_ACTIVE, _DISASSOCIATING, _INACTIVE), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DISASSOCIATING}), (-1, {_sV: _INACTIVE})), +) + +GATEWAY_ELB_ACCESS_LOG_S3_DESTINATION: StaticSchema = ( + 18, + n0, + _GEALSD, + 0, + (_bu, _pre), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 0)), +) + +GATEWAY_ELB_ACCESS_LOG_DESTINATION: StaticSchema = ( + 19, + n0, + _GEALD, + 0, + (_s_,), + ((GATEWAY_ELB_ACCESS_LOG_S3_DESTINATION, 0),), +) + +GATEWAY_ELB_ACCESS_LOG_CONFIGURATION: StaticSchema = ( + 18, + n0, + _GEALC, + 0, + (_des,), + ((GATEWAY_ELB_ACCESS_LOG_DESTINATION, 0),), +) + +GATEWAY_ALB_DESYNC_MITIGATION_MODE: StaticSchema = ( + 14, + n0, + _GADMM, + 0, + (_MONITOR, _DEFENSIVE, _STRICTEST), + ((-1, {_sV: _mon}), (-1, {_sV: _def}), (-1, {_sV: _str})), +) + +GATEWAY_ELB_IP_ADDRESS_TYPE: StaticSchema = ( + 14, + n0, + _GEIAT, + 0, + (_IPV, _DUALSTACK, _DWPI), + ((-1, {_sV: _ip}), (-1, {_sV: _du}), (-1, {_sV: _dwpi})), +) + +GATEWAY_ELB_NETWORK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _GENC, + 0, + (_iSG, _su, _iAT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (GATEWAY_ELB_IP_ADDRESS_TYPE, 0), + ), +) + +GATEWAY_ALB_PROTOCOL: StaticSchema = ( + 14, + n0, + _GAP, + 0, + (_HTTP, _HTTPS), + ((-1, {_sV: _HTTP}), (-1, {_sV: _HTTPS})), +) + +GATEWAY_ELB_SCHEME: StaticSchema = ( + 14, + n0, + _GES, + 0, + (_IF, _INTERNAL), + ((-1, {_sV: _if}), (-1, {_sV: _intern})), +) + +GATEWAY_TEST_TRAFFIC_HEADER: StaticSchema = ( + 18, + n0, + _GTTH, + 0, + (_na, _val), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING_LIST, 1)), +) + +GATEWAY_ALB_TEST_TRAFFIC_RULES: StaticSchema = ( + 18, + n0, + _GATTR, + 0, + (_he,), + ((GATEWAY_TEST_TRAFFIC_HEADER, 0),), +) + +HOST_SHARED_ALB_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HSAC, + 0, + (_nC, _sch, _wACLA, _aL, _po, _pr, _mAC, _hD, _tTR), + ( + (GATEWAY_ELB_NETWORK_CONFIGURATION, 0), + (GATEWAY_ELB_SCHEME, 0), + (lambda: schemas.STRING, 0), + (GATEWAY_ELB_ACCESS_LOG_CONFIGURATION, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (GATEWAY_ALB_PROTOCOL, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (GATEWAY_ALB_DESYNC_MITIGATION_MODE, 0), + (GATEWAY_ALB_TEST_TRAFFIC_RULES, 0), + ), +) + +GATEWAY_CONFIGURATION: StaticSchema = ( + 19, + n0, + _GC, + 0, + (_hSA,), + ((HOST_SHARED_ALB_CONFIGURATION, 0),), +) + +PROPAGATE_GATEWAY_TAGS: StaticSchema = ( + 14, + n0, + _PGT, + 0, + (_NONE, _GATEWAY), + ((-1, {_sV: _NONE}), (-1, {_sV: _GATEWAY})), +) + +CREATE_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _CGI, + {_sSI: _cCGR, _smit: None}, + (_na, _iRA, _cT, _dPe, _co, _ta, _pT), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 2), + (lambda: schemas.BOXED_BOOLEAN, 0), + (GATEWAY_CONFIGURATION, 1), + (lambda: schemas.TAGS, 0), + (PROPAGATE_GATEWAY_TAGS, 0), + ), +) + +CREATE_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _CGO, + {_sSI: _cCGRo, _smith: None}, + (_gA, _na, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: GATEWAY_STATUS, 0), + ), +) + +CREATE_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _CG, + 0, + CREATE_GATEWAY_INPUT, + CREATE_GATEWAY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +GATEWAY_STATUS: StaticSchema = ( + 14, + n0, + _GS, + 0, + (_ACTIVE, _UIP, _UC, _UF, _DELETED), + ( + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _UIP}), + (-1, {_sV: _UC}), + (-1, {_sV: _UF}), + (-1, {_sV: _DELETED}), + ), +) + +DELETE_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DGI, + {_sSI: _cDGR, _smit: None}, + (_ga,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _DGO, + {_sSI: _cDGRo, _smith: None}, + (_gA, _na, _st), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0), (GATEWAY_STATUS, 0)), +) + +DELETE_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DG, + 0, + DELETE_GATEWAY_INPUT, + DELETE_GATEWAY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.GATEWAY_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DESCRIBE_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _DGIe, + {_sSI: _cDGRom, _smit: None}, + (_ga,), + ((lambda: schemas.STRING, 1),), +) + +DESCRIBE_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _DGOe, + {_sSI: _cDGRoma, _smith: None}, + (_ga,), + ((lambda: GATEWAY, 0),), +) + +DESCRIBE_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _DGe, + 0, + DESCRIBE_GATEWAY_INPUT, + DESCRIBE_GATEWAY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.GATEWAY_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DESCRIBE_GATEWAY_ALB_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DGAC, + 0, + (_nC, _sch, _aL, _wACLA, _po, _pr, _mAC, _cAC, _hD, _tTR), + ( + (GATEWAY_ELB_NETWORK_CONFIGURATION, 0), + (GATEWAY_ELB_SCHEME, 0), + (GATEWAY_ELB_ACCESS_LOG_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (GATEWAY_ALB_PROTOCOL, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (GATEWAY_ALB_DESYNC_MITIGATION_MODE, 0), + (GATEWAY_ALB_TEST_TRAFFIC_RULES, 0), + ), +) + +DESCRIBE_GATEWAY_CONFIGURATION: StaticSchema = ( + 19, + n0, + _DGC, + 0, + (_hSA,), + ((DESCRIBE_GATEWAY_ALB_CONFIGURATION, 0),), +) + +GATEWAY_OPERATION_ERROR: StaticSchema = ( + 18, + n0, + _GOE, + 0, + (_op, _cod, _mes), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +GATEWAY_OPERATION_ERROR_LIST: StaticSchema = ( + 16, + n0, + _GOEL, + 0, + (_me,), + ((GATEWAY_OPERATION_ERROR, 0),), +) + +GATEWAY_RESOURCE_FAILURE: StaticSchema = ( + 18, + n0, + _GRF, + 0, + (_ar, _er), + ((lambda: schemas.STRING, 0), (GATEWAY_OPERATION_ERROR_LIST, 0)), +) + +GATEWAY_RESOURCE_FAILURE_LIST: StaticSchema = ( + 16, + n0, + _GRFL, + 0, + (_me,), + ((GATEWAY_RESOURCE_FAILURE, 0),), +) + +GATEWAY: StaticSchema = ( + 18, + n0, + _G, + 0, + (_gA, _na, _st, _sR, _fa, _iRA, _dPe, _co, _aTc, _pT, _ta, _cAr, _uA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (GATEWAY_STATUS, 0), + (lambda: schemas.STRING, 0), + (GATEWAY_RESOURCE_FAILURE_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (DESCRIBE_GATEWAY_CONFIGURATION, 0), + (lambda: schemas.ACCESS_TYPE, 0), + (PROPAGATE_GATEWAY_TAGS, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +DESCRIBE_GATEWAY_RESOURCES_INPUT: StaticSchema = ( + 18, + n0, + _DGRI, + {_sSI: _cDGRR, _smit: None}, + (_ga, _mR, _nT), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_GATEWAY_RESOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DGRO, + {_sSI: _cDGRRo, _smith: None}, + (_gR, _nT), + ((lambda: GATEWAY_RESOURCES, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_GATEWAY_RESOURCES: StaticOperationSchema = ( + 23, + n0, + _DGR, + 0, + DESCRIBE_GATEWAY_RESOURCES_INPUT, + DESCRIBE_GATEWAY_RESOURCES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.GATEWAY_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +ELB_GATEWAY_RESOURCES: StaticSchema = ( + 18, + n0, + _EGR, + 0, + (_lBA, _lA, _sGe, _gRA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +ELB_GATEWAY_RESOURCES_LIST: StaticSchema = ( + 16, + n0, + _EGRL, + 0, + (_me,), + ((ELB_GATEWAY_RESOURCES, 0),), +) + +GATEWAY_INFRASTRUCTURE_RESOURCES: StaticSchema = ( + 19, + n0, + _GIR, + 0, + (_hSA,), + ((ELB_GATEWAY_RESOURCES_LIST, 0),), +) + +GATEWAY_RESOURCES: StaticSchema = ( + 18, + n0, + _GR, + 0, + (_gA, _res), + ((lambda: schemas.STRING, 0), (GATEWAY_INFRASTRUCTURE_RESOURCES, 0)), +) + +DISASSOCIATE_GATEWAY_FROM_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _DGFCI, + {_sSI: _cDGFCR, _smit: None}, + (_ga, _cl), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +DISASSOCIATE_GATEWAY_FROM_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _DGFCO, + {_sSI: _cDGFCRo, _smith: None}, + (_gA, _cA, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (GATEWAY_CLUSTER_ASSOCIATION_STATUS, 0), + ), +) + +DISASSOCIATE_GATEWAY_FROM_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _DGFC, + 0, + DISASSOCIATE_GATEWAY_FROM_CLUSTER_INPUT, + DISASSOCIATE_GATEWAY_FROM_CLUSTER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.GATEWAY_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +GATEWAY_CLUSTER_ASSOCIATION_STATUS_LIST: StaticSchema = ( + 16, + n0, + _GCASL, + 0, + (_me,), + ((GATEWAY_CLUSTER_ASSOCIATION_STATUS, 0),), +) + +LIST_GATEWAY_CLUSTER_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LGCAI, + {_sSI: _cLGCAR, _smit: None}, + (_ga, _cl, _st, _mR, _nT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (GATEWAY_CLUSTER_ASSOCIATION_STATUS_LIST, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_GATEWAY_CLUSTER_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LGCAO, + {_sSI: _cLGCARo, _smith: None}, + (_gCA, _nT), + ( + (lambda: GATEWAY_CLUSTER_ASSOCIATION_SUMMARY_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_GATEWAY_CLUSTER_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _LGCA, + 0, + LIST_GATEWAY_CLUSTER_ASSOCIATIONS_INPUT, + LIST_GATEWAY_CLUSTER_ASSOCIATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +GATEWAY_CLUSTER_ASSOCIATION_SUMMARY: StaticSchema = ( + 18, + n0, + _GCASa, + 0, + (_gA, _cA, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (GATEWAY_CLUSTER_ASSOCIATION_STATUS, 0), + ), +) + +GATEWAY_CLUSTER_ASSOCIATION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _GCASLa, + 0, + (_me,), + ((GATEWAY_CLUSTER_ASSOCIATION_SUMMARY, 0),), +) + +GATEWAY_STATUS_LIST: StaticSchema = (16, n0, _GSL, 0, (_me,), ((GATEWAY_STATUS, 0),)) + +LIST_GATEWAYS_INPUT: StaticSchema = ( + 18, + n0, + _LGI, + {_sSI: _cLGR, _smit: None}, + (_name, _st, _mR, _nT), + ( + (lambda: schemas.STRING_LIST, 0), + (GATEWAY_STATUS_LIST, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_GATEWAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _LGO, + {_sSI: _cLGRo, _smith: None}, + (_gat, _nT), + ((lambda: schemas.GATEWAY_SUMMARY_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_GATEWAYS: StaticOperationSchema = ( + 23, + n0, + _LG, + 0, + LIST_GATEWAYS_INPUT, + LIST_GATEWAYS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_5.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_5.py new file mode 100644 index 000000000..966681b89 --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_5.py @@ -0,0 +1,1403 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ecs" +_sV = "smithy.api#enumValue" +_me = "member" +_rA = "roleArn" +_FAILED = "FAILED" +_DISABLED = "DISABLED" +_st = "status" +_sm = "smithy.api#required" +_smi = "smithy.api#default" +_su = "subnets" +_sG = "securityGroups" +_nC = "networkConfiguration" +_iRA = "infrastructureRoleArn" +_pT = "propagateTags" +_va = "value" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_na = "name" +_cl = "cluster" +_ta = "tags" +_ACTIVE = "ACTIVE" +_INACTIVE = "INACTIVE" +_ty = "type" +_smith = "smithy.api#output" +_mR = "maxResults" +_nT = "nextToken" +_ar = "arn" +_re = "reason" +_fa = "failures" +_nam = "namespace" +_set = "settings" +_co = "configuration" +_cA = "clusterArn" +_tT = "targetType" +_sR = "statusReason" +_com = "command" +_cPo = "containerPort" +_sNe = "serviceName" +_lT = "launchType" +_sDA = "serviceDeploymentArn" +_hI = "hookId" +_act = "action" +_TRIGGERED = "TRIGGERED" +_MONITORING = "MONITORING" +_MC = "MONITORING_COMPLETE" +_aNl = "alarmNames" +_tAN = "triggeredAlarmNames" +_fC = "failureCount" +_th = "threshold" +_en = "enable" +_al = "alarms" +_bTIM = "bakeTimeInMinutes" +_sA = "startedAt" +_IP = "IN_PROGRESS" +_ro = "rollback" +_dC = "deploymentConfiguration" +_cAr = "createdAt" +_sAt = "stoppedAt" +_fA = "finishedAt" +_eECSMT = "enableECSManagedTags" +_eEC = "enableExecuteCommand" +_uA = "updatedAt" +_rC = "runningCount" +_im = "image" +_cPr = "credentialsParameter" +_rCe = "repositoryCredentials" +_env = "environment" +_sec = "secrets" +_ALL = "ALL" +_fP = "familyPrefix" +_pA = "principalArn" +_sett = "setting" +_tD = "taskDefinition" +_X = "X86_64" +_ARM = "ARM64" +_pC = "placementConstraints" +_ga = "gateway" +_gA = "gatewayArn" +_iSG = "inboundSecurityGroup" +_wACLA = "webACLArn" +_aL = "accessLogs" +_mAC = "maxAlbCount" +_hD = "httpDesync" +_tTR = "testTrafficRules" +_hSA = "hostSharedAlb" +_dPe = "deletionProtection" +_lBA = "loadBalancerArn" +_lA = "listenerArn" +_res = "resources" +_GSa = "GatewaySummary" +_GSLa = "GatewaySummaryList" +_UGNC = "UpdateGatewayNetworkConfiguration" +_UGAC = "UpdateGatewayAlbConfiguration" +_UGC = "UpdateGatewayConfiguration" +_UGI = "UpdateGatewayInput" +_cUGR = "com.amazonaws.ecs#UpdateGatewayRequest" +_UGO = "UpdateGatewayOutput" +_cUGRo = "com.amazonaws.ecs#UpdateGatewayResponse" +_UG = "UpdateGateway" +_DGRIe = "DescribeGatewayRouteInput" +_cDGRRom = "com.amazonaws.ecs#DescribeGatewayRouteRequest" +_gRAa = "gatewayRouteArn" +_GRLBSG = "GatewayRouteLoadBalancerSecurityGroup" +_rAu = "ruleArns" +_GRLBSGL = "GatewayRouteLoadBalancerSecurityGroupList" +_GRAR = "GatewayRouteAlbResources" +_aCA = "acmCertificateArn" +_lRA = "listenerRuleArn" +_tLRA = "testListenerRuleArns" +_lBSG = "loadBalancerSecurityGroups" +_sSGA = "serviceSecurityGroupArn" +_GRARL = "GatewayRouteAlbResourcesList" +_GRR = "GatewayRouteResources" +_GRa = "GatewayRoute" +_sAe = "serviceArn" +_sCPN = "serviceContainerPortName" +_sUe = "serviceUrl" +_DGROe = "DescribeGatewayRouteOutput" +_cDGRRoma = "com.amazonaws.ecs#DescribeGatewayRouteResponse" +_gRa = "gatewayRoute" +_DGRe = "DescribeGatewayRoute" +_GRSL = "GatewayRouteStatusList" +_LGRI = "ListGatewayRoutesInput" +_cLGRR = "com.amazonaws.ecs#ListGatewayRoutesRequest" +_ser = "service" +_GRSa = "GatewayRouteSummary" +_GRSLa = "GatewayRouteSummaryList" +_LGRO = "ListGatewayRoutesOutput" +_cLGRRo = "com.amazonaws.ecs#ListGatewayRoutesResponse" +_gRat = "gatewayRoutes" +_LGR = "ListGatewayRoutes" +_LASI = "ListAccountSettingsInput" +_cLASR = "com.amazonaws.ecs#ListAccountSettingsRequest" +_eSf = "effectiveSettings" +_Sett = "Settings" +_LASO = "ListAccountSettingsOutput" +_cLASRo = "com.amazonaws.ecs#ListAccountSettingsResponse" +_LAS = "ListAccountSettings" +_LSBNI = "ListServicesByNamespaceInput" +_cLSBNR = "com.amazonaws.ecs#ListServicesByNamespaceRequest" +_LSBNO = "ListServicesByNamespaceOutput" +_cLSBNRo = "com.amazonaws.ecs#ListServicesByNamespaceResponse" +_sAer = "serviceArns" +_LSBN = "ListServicesByNamespace" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.ecs#ListTagsForResourceRequest" +_rAes = "resourceArn" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.ecs#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_TDFS = "TaskDefinitionFamilyStatus" +_LTDFI = "ListTaskDefinitionFamiliesInput" +_cLTDFR = "com.amazonaws.ecs#ListTaskDefinitionFamiliesRequest" +_LTDFO = "ListTaskDefinitionFamiliesOutput" +_cLTDFRo = "com.amazonaws.ecs#ListTaskDefinitionFamiliesResponse" +_fami = "families" +_LTDF = "ListTaskDefinitionFamilies" +_PASI = "PutAccountSettingInput" +_cPASR = "com.amazonaws.ecs#PutAccountSettingRequest" +_PASO = "PutAccountSettingOutput" +_cPASRo = "com.amazonaws.ecs#PutAccountSettingResponse" +_PAS = "PutAccountSetting" +_PASDI = "PutAccountSettingDefaultInput" +_cPASDR = "com.amazonaws.ecs#PutAccountSettingDefaultRequest" +_PASDO = "PutAccountSettingDefaultOutput" +_cPASDRo = "com.amazonaws.ecs#PutAccountSettingDefaultResponse" +_PASD = "PutAccountSettingDefault" +_DSDI = "DescribeServiceDeploymentsInput" +_cDSDR = "com.amazonaws.ecs#DescribeServiceDeploymentsRequest" +_sDAe = "serviceDeploymentArns" +_SDRMS = "ServiceDeploymentRollbackMonitorsStatus" +_SDA = "ServiceDeploymentAlarms" +_SDCB = "ServiceDeploymentCircuitBreaker" +_DAe = "DeploymentAlarms" +_CCa = "CanaryConfiguration" +_cPan = "canaryPercent" +_cBTIM = "canaryBakeTimeInMinutes" +_TTh = "ThresholdType" +_COUNT = "COUNT" +_BP_ = "BOUNDED_PERCENT" +_UP = "UNBOUNDED_PERCENT" +_TC = "ThresholdConfiguration" +_DCBe = "DeploymentCircuitBreaker" +_rOHT = "resetOnHealthyTask" +_tCh = "thresholdConfiguration" +_HPI = "HealthyPercentInteger" +_SRC = "ServiceRevisionCleanup" +_BLOCKING = "BLOCKING" +_DEFERRED = "DEFERRED" +_DESCe = "DeploymentEarlySuccessCriteria" +_hPe = "healthyPercent" +_sSRC = "sourceServiceRevisionCleanup" +_HD = "HookDetails" +_DLHS = "DeploymentLifecycleHookStage" +_RS_ = "RECONCILE_SERVICE" +_PSU = "PRE_SCALE_UP" +_PSU_ = "POST_SCALE_UP" +_TTS = "TEST_TRAFFIC_SHIFT" +_PTTS = "POST_TEST_TRAFFIC_SHIFT" +_PPTS = "PRE_PRODUCTION_TRAFFIC_SHIFT" +_PTS = "PRODUCTION_TRAFFIC_SHIFT" +_PPTS_ = "POST_PRODUCTION_TRAFFIC_SHIFT" +_DLHSL = "DeploymentLifecycleHookStageList" +_DLHTT = "DeploymentLifecycleHookTargetType" +_AL = "AWS_LAMBDA" +_PAUSE = "PAUSE" +_DLHD = "DeploymentLifecycleHookDuration" +_DLHTC = "DeploymentLifecycleHookTimeoutConfiguration" +_tIM = "timeoutInMinutes" +_DLH = "DeploymentLifecycleHook" +_hTA = "hookTargetArn" +_lSi = "lifecycleStages" +_hDo = "hookDetails" +_tCi = "timeoutConfiguration" +_DLHL = "DeploymentLifecycleHookList" +_LCi = "LinearConfiguration" +_sPt = "stepPercent" +_sBTIM = "stepBakeTimeInMinutes" +_DSe = "DeploymentStrategy" +_ROLLING = "ROLLING" +_BG = "BLUE_GREEN" +_LINEAR = "LINEAR" +_CANARY = "CANARY" +_DCep = "DeploymentConfiguration" +_dCB = "deploymentCircuitBreaker" +_mPa = "maximumPercent" +_mHP = "minimumHealthyPercent" +_stra = "strategy" +_lH = "lifecycleHooks" +_lCi = "linearConfiguration" +_cCa = "canaryConfiguration" +_eSC = "earlySuccessCriteria" +_DLHSe = "DeploymentLifecycleHookStatus" +_AA = "AWAITING_ACTION" +_SUCCEEDED = "SUCCEEDED" +_TO = "TIMED_OUT" +_DLHDe = "DeploymentLifecycleHookDetail" +_tAar = "targetArn" +_eA = "expiresAt" +_tAi = "timeoutAction" +_DLHDL = "DeploymentLifecycleHookDetailList" +_SDLS = "ServiceDeploymentLifecycleStage" +_SU = "SCALE_UP" +_BT = "BAKE_TIME" +_CU = "CLEAN_UP" +_Ro = "Rollback" +_sRA = "serviceRevisionArn" +_SRS = "ServiceRevisionSummary" +_rTCe = "requestedTaskCount" +_rTCu = "runningTaskCount" +_pTCe = "pendingTaskCount" +_rTTW = "requestedTestTrafficWeight" +_rPTW = "requestedProductionTrafficWeight" +_SRSL = "ServiceRevisionsSummaryList" +_SD = "ServiceDeployment" +_sSR = "sourceServiceRevisions" +_tSR = "targetServiceRevision" +_lSif = "lifecycleStage" +_lHD = "lifecycleHookDetails" +_SDe = "ServiceDeployments" +_DSDO = "DescribeServiceDeploymentsOutput" +_cDSDRo = "com.amazonaws.ecs#DescribeServiceDeploymentsResponse" +_sD = "serviceDeployments" +_DSD = "DescribeServiceDeployments" +_ECAx = "ExpressCpuArchitecture" +_EGSNC = "ExpressGatewayServiceNetworkConfiguration" +_EGSALC = "ExpressGatewayServiceAwsLogsConfiguration" +_lG = "logGroup" +_lSP = "logStreamPrefix" +_EGRC = "ExpressGatewayRepositoryCredentials" +_EGC = "ExpressGatewayContainer" +_aLC = "awsLogsConfiguration" +_EGSSM = "ExpressGatewayServiceScalingMetric" +_ACPUU = "AverageCPUUtilization" +_AC___ = "AVERAGE_CPU" +_AMU = "AverageMemoryUtilization" +_AM__ = "AVERAGE_MEMORY" +_RCPT = "RequestCountPerTarget" +_RCPT_ = "REQUEST_COUNT_PER_TARGET" +_EGST = "ExpressGatewayScalingTarget" +_mTC = "minTaskCount" +_mTCa = "maxTaskCount" +_aSM = "autoScalingMetric" +_aSTV = "autoScalingTargetValue" +_aZR = "availabilityZoneRebalancing" +_lB = "loadBalancers" +_sRe = "serviceRegistries" +_dCe = "desiredCount" +_cPS = "capacityProviderStrategy" +_pV = "platformVersion" +_pS = "placementStrategy" +_hCGPS = "healthCheckGracePeriodSeconds" +_sSc = "schedulingStrategy" +_dCep = "deploymentController" +_pCe = "pendingCount" +_pF = "platformFamily" +_Ser = "Service" +_tSa = "taskSets" +_dep = "deployments" +_ev = "events" +_cSD = "currentServiceDeployment" +_cSR = "currentServiceRevisions" +_cBr = "createdBy" +_rMT = "resourceManagementType" + +GATEWAY_SUMMARY: StaticSchema = ( + 18, + n0, + _GSa, + 0, + (_gA, _na, _st, _cAr), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.GATEWAY_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +GATEWAY_SUMMARY_LIST: StaticSchema = (16, n0, _GSLa, 0, (_me,), ((GATEWAY_SUMMARY, 0),)) + +UPDATE_GATEWAY_NETWORK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _UGNC, + 0, + (_iSG,), + ((lambda: schemas.STRING, 0),), +) + +UPDATE_GATEWAY_ALB_CONFIGURATION: StaticSchema = ( + 18, + n0, + _UGAC, + 0, + (_nC, _mAC, _wACLA, _aL, _hD, _tTR), + ( + (UPDATE_GATEWAY_NETWORK_CONFIGURATION, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.GATEWAY_ELB_ACCESS_LOG_CONFIGURATION, 0), + (lambda: schemas.GATEWAY_ALB_DESYNC_MITIGATION_MODE, 0), + (lambda: schemas.GATEWAY_ALB_TEST_TRAFFIC_RULES, 0), + ), +) + +UPDATE_GATEWAY_CONFIGURATION: StaticSchema = ( + 19, + n0, + _UGC, + 0, + (_hSA,), + ((UPDATE_GATEWAY_ALB_CONFIGURATION, 0),), +) + +UPDATE_GATEWAY_INPUT: StaticSchema = ( + 18, + n0, + _UGI, + {_sSI: _cUGR, _smit: None}, + (_ga, _iRA, _dPe, _co, _pT), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (UPDATE_GATEWAY_CONFIGURATION, 0), + (lambda: schemas.PROPAGATE_GATEWAY_TAGS, 0), + ), +) + +UPDATE_GATEWAY_OUTPUT: StaticSchema = ( + 18, + n0, + _UGO, + {_sSI: _cUGRo, _smith: None}, + (_gA, _na, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.GATEWAY_STATUS, 0), + ), +) + +UPDATE_GATEWAY: StaticOperationSchema = ( + 23, + n0, + _UG, + 0, + UPDATE_GATEWAY_INPUT, + UPDATE_GATEWAY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.GATEWAY_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DESCRIBE_GATEWAY_ROUTE_INPUT: StaticSchema = ( + 18, + n0, + _DGRIe, + {_sSI: _cDGRRom, _smit: None}, + (_gRAa,), + ((lambda: schemas.STRING, 1),), +) + +DESCRIBE_GATEWAY_ROUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _DGROe, + {_sSI: _cDGRRoma, _smith: None}, + (_gRa,), + ((lambda: GATEWAY_ROUTE, 0),), +) + +DESCRIBE_GATEWAY_ROUTE: StaticOperationSchema = ( + 23, + n0, + _DGRe, + 0, + DESCRIBE_GATEWAY_ROUTE_INPUT, + DESCRIBE_GATEWAY_ROUTE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP: StaticSchema = ( + 18, + n0, + _GRLBSG, + 0, + (_ar, _rAu), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING_LIST, 0)), +) + +GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP_LIST: StaticSchema = ( + 16, + n0, + _GRLBSGL, + 0, + (_me,), + ((GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP, 0),), +) + +GATEWAY_ROUTE_ALB_RESOURCES: StaticSchema = ( + 18, + n0, + _GRAR, + 0, + (_aCA, _lBA, _lA, _lRA, _tLRA, _lBSG, _sSGA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (GATEWAY_ROUTE_LOAD_BALANCER_SECURITY_GROUP_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +GATEWAY_ROUTE_ALB_RESOURCES_LIST: StaticSchema = ( + 16, + n0, + _GRARL, + 0, + (_me,), + ((GATEWAY_ROUTE_ALB_RESOURCES, 0),), +) + +GATEWAY_ROUTE_RESOURCES: StaticSchema = ( + 19, + n0, + _GRR, + 0, + (_hSA,), + ((GATEWAY_ROUTE_ALB_RESOURCES_LIST, 0),), +) + +GATEWAY_ROUTE: StaticSchema = ( + 18, + n0, + _GRa, + 0, + (_gRAa, _sAe, _sCPN, _st, _sUe, _res), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.GATEWAY_ROUTE_STATUS, 0), + (lambda: schemas.STRING, 0), + (GATEWAY_ROUTE_RESOURCES, 0), + ), +) + +GATEWAY_ROUTE_STATUS_LIST: StaticSchema = ( + 16, + n0, + _GRSL, + 0, + (_me,), + ((lambda: schemas.GATEWAY_ROUTE_STATUS, 0),), +) + +LIST_GATEWAY_ROUTES_INPUT: StaticSchema = ( + 18, + n0, + _LGRI, + {_sSI: _cLGRR, _smit: None}, + (_ga, _cl, _ser, _sCPN, _st, _mR, _nT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (GATEWAY_ROUTE_STATUS_LIST, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_GATEWAY_ROUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _LGRO, + {_sSI: _cLGRRo, _smith: None}, + (_gRat, _nT), + ((lambda: GATEWAY_ROUTE_SUMMARY_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_GATEWAY_ROUTES: StaticOperationSchema = ( + 23, + n0, + _LGR, + 0, + LIST_GATEWAY_ROUTES_INPUT, + LIST_GATEWAY_ROUTES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.GATEWAY_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +GATEWAY_ROUTE_SUMMARY: StaticSchema = ( + 18, + n0, + _GRSa, + 0, + (_gRAa, _gA, _cA, _sAe, _sCPN, _st), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.GATEWAY_ROUTE_STATUS, 0), + ), +) + +GATEWAY_ROUTE_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _GRSLa, + 0, + (_me,), + ((GATEWAY_ROUTE_SUMMARY, 0),), +) + +LIST_ACCOUNT_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _LASI, + {_sSI: _cLASR, _smit: None}, + (_na, _va, _pA, _eSf, _nT, _mR), + ( + (lambda: schemas.SETTING_NAME, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + ), +) + +LIST_ACCOUNT_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LASO, + {_sSI: _cLASRo, _smith: None}, + (_set, _nT), + ((lambda: SETTINGS, 0), (lambda: schemas.STRING, 0)), +) + +LIST_ACCOUNT_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _LAS, + 0, + LIST_ACCOUNT_SETTINGS_INPUT, + LIST_ACCOUNT_SETTINGS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +SETTINGS: StaticSchema = (16, n0, _Sett, 0, (_me,), ((lambda: schemas.SETTING, 0),)) + +LIST_SERVICES_BY_NAMESPACE_INPUT: StaticSchema = ( + 18, + n0, + _LSBNI, + {_sSI: _cLSBNR, _smit: None}, + (_nam, _nT, _mR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +LIST_SERVICES_BY_NAMESPACE_OUTPUT: StaticSchema = ( + 18, + n0, + _LSBNO, + {_sSI: _cLSBNRo, _smith: None}, + (_sAer, _nT), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_SERVICES_BY_NAMESPACE: StaticOperationSchema = ( + 23, + n0, + _LSBN, + 0, + LIST_SERVICES_BY_NAMESPACE_INPUT, + LIST_SERVICES_BY_NAMESPACE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NAMESPACE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _smit: None}, + (_rAes,), + ((lambda: schemas.STRING, 1),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smith: None}, + (_ta,), + ((lambda: schemas.TAGS, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + 0, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +TASK_DEFINITION_FAMILY_STATUS: StaticSchema = ( + 14, + n0, + _TDFS, + 0, + (_ACTIVE, _INACTIVE, _ALL), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _INACTIVE}), (-1, {_sV: _ALL})), +) + +LIST_TASK_DEFINITION_FAMILIES_INPUT: StaticSchema = ( + 18, + n0, + _LTDFI, + {_sSI: _cLTDFR, _smit: None}, + (_fP, _st, _nT, _mR), + ( + (lambda: schemas.STRING, 0), + (TASK_DEFINITION_FAMILY_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +LIST_TASK_DEFINITION_FAMILIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LTDFO, + {_sSI: _cLTDFRo, _smith: None}, + (_fami, _nT), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_TASK_DEFINITION_FAMILIES: StaticOperationSchema = ( + 23, + n0, + _LTDF, + 0, + LIST_TASK_DEFINITION_FAMILIES_INPUT, + LIST_TASK_DEFINITION_FAMILIES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +PUT_ACCOUNT_SETTING_INPUT: StaticSchema = ( + 18, + n0, + _PASI, + {_sSI: _cPASR, _smit: None}, + (_na, _va, _pA), + ( + (lambda: schemas.SETTING_NAME, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + ), +) + +PUT_ACCOUNT_SETTING_OUTPUT: StaticSchema = ( + 18, + n0, + _PASO, + {_sSI: _cPASRo, _smith: None}, + (_sett,), + ((lambda: schemas.SETTING, 0),), +) + +PUT_ACCOUNT_SETTING: StaticOperationSchema = ( + 23, + n0, + _PAS, + 0, + PUT_ACCOUNT_SETTING_INPUT, + PUT_ACCOUNT_SETTING_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +PUT_ACCOUNT_SETTING_DEFAULT_INPUT: StaticSchema = ( + 18, + n0, + _PASDI, + {_sSI: _cPASDR, _smit: None}, + (_na, _va), + ((lambda: schemas.SETTING_NAME, 1), (lambda: schemas.STRING, 1)), +) + +PUT_ACCOUNT_SETTING_DEFAULT_OUTPUT: StaticSchema = ( + 18, + n0, + _PASDO, + {_sSI: _cPASDRo, _smith: None}, + (_sett,), + ((lambda: schemas.SETTING, 0),), +) + +PUT_ACCOUNT_SETTING_DEFAULT: StaticOperationSchema = ( + 23, + n0, + _PASD, + 0, + PUT_ACCOUNT_SETTING_DEFAULT_INPUT, + PUT_ACCOUNT_SETTING_DEFAULT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +DESCRIBE_SERVICE_DEPLOYMENTS_INPUT: StaticSchema = ( + 18, + n0, + _DSDI, + {_sSI: _cDSDR, _smit: None}, + (_sDAe,), + ((lambda: schemas.STRING_LIST, 1),), +) + +DESCRIBE_SERVICE_DEPLOYMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSDO, + {_sSI: _cDSDRo, _smith: None}, + (_sD, _fa), + ((lambda: SERVICE_DEPLOYMENTS, 0), (lambda: schemas.FAILURES, 0)), +) + +DESCRIBE_SERVICE_DEPLOYMENTS: StaticOperationSchema = ( + 23, + n0, + _DSD, + 0, + DESCRIBE_SERVICE_DEPLOYMENTS_INPUT, + DESCRIBE_SERVICE_DEPLOYMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +SERVICE_DEPLOYMENT_ROLLBACK_MONITORS_STATUS: StaticSchema = ( + 14, + n0, + _SDRMS, + 0, + (_TRIGGERED, _MONITORING, _MC, _DISABLED), + ( + (-1, {_sV: _TRIGGERED}), + (-1, {_sV: _MONITORING}), + (-1, {_sV: _MC}), + (-1, {_sV: _DISABLED}), + ), +) + +SERVICE_DEPLOYMENT_ALARMS: StaticSchema = ( + 18, + n0, + _SDA, + 0, + (_st, _aNl, _tAN), + ( + (SERVICE_DEPLOYMENT_ROLLBACK_MONITORS_STATUS, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +SERVICE_DEPLOYMENT_CIRCUIT_BREAKER: StaticSchema = ( + 18, + n0, + _SDCB, + 0, + (_st, _fC, _th), + ( + (SERVICE_DEPLOYMENT_ROLLBACK_MONITORS_STATUS, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + ), +) + +DEPLOYMENT_ALARMS: StaticSchema = ( + 18, + n0, + _DAe, + 0, + (_aNl, _ro, _en), + ( + (lambda: schemas.STRING_LIST, 1), + (lambda: schemas.BOOLEAN, {_smi: False, _sm: None}), + (lambda: schemas.BOOLEAN, {_smi: False, _sm: None}), + ), +) + +CANARY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CCa, + 0, + (_cPan, _cBTIM), + ((lambda: schemas.DOUBLE, {_smi: None}), (lambda: schemas.INTEGER, {_smi: None})), +) + +THRESHOLD_TYPE: StaticSchema = ( + 14, + n0, + _TTh, + 0, + (_COUNT, _BP_, _UP), + ((-1, {_sV: _COUNT}), (-1, {_sV: _BP_}), (-1, {_sV: _UP})), +) + +THRESHOLD_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TC, + 0, + (_ty, _va), + ((THRESHOLD_TYPE, 1), (lambda: schemas.INTEGER, {_smi: 0, _sm: None})), +) + +DEPLOYMENT_CIRCUIT_BREAKER: StaticSchema = ( + 18, + n0, + _DCBe, + 0, + (_en, _ro, _rOHT, _tCh), + ( + (lambda: schemas.BOOLEAN, {_smi: False, _sm: None}), + (lambda: schemas.BOOLEAN, {_smi: False, _sm: None}), + (lambda: schemas.BOXED_BOOLEAN, 0), + (THRESHOLD_CONFIGURATION, 0), + ), +) + +HEALTHY_PERCENT_INTEGER: StaticSchema = (7, n0, _HPI, 0) + +SERVICE_REVISION_CLEANUP: StaticSchema = ( + 14, + n0, + _SRC, + 0, + (_BLOCKING, _DEFERRED), + ((-1, {_sV: _BLOCKING}), (-1, {_sV: _DEFERRED})), +) + +DEPLOYMENT_EARLY_SUCCESS_CRITERIA: StaticSchema = ( + 18, + n0, + _DESCe, + 0, + (_en, _hPe, _sSRC), + ( + (lambda: schemas.BOOLEAN, {_smi: False, _sm: None}), + (HEALTHY_PERCENT_INTEGER, 0), + (SERVICE_REVISION_CLEANUP, 0), + ), +) + +HOOK_DETAILS: StaticSchema = (13, n0, _HD, 0) + +DEPLOYMENT_LIFECYCLE_HOOK_STAGE: StaticSchema = ( + 14, + n0, + _DLHS, + 0, + (_RS_, _PSU, _PSU_, _TTS, _PTTS, _PPTS, _PTS, _PPTS_), + ( + (-1, {_sV: _RS_}), + (-1, {_sV: _PSU}), + (-1, {_sV: _PSU_}), + (-1, {_sV: _TTS}), + (-1, {_sV: _PTTS}), + (-1, {_sV: _PPTS}), + (-1, {_sV: _PTS}), + (-1, {_sV: _PPTS_}), + ), +) + +DEPLOYMENT_LIFECYCLE_HOOK_STAGE_LIST: StaticSchema = ( + 16, + n0, + _DLHSL, + 0, + (_me,), + ((DEPLOYMENT_LIFECYCLE_HOOK_STAGE, 0),), +) + +DEPLOYMENT_LIFECYCLE_HOOK_TARGET_TYPE: StaticSchema = ( + 14, + n0, + _DLHTT, + 0, + (_AL, _PAUSE), + ((-1, {_sV: _AL}), (-1, {_sV: _PAUSE})), +) + +DEPLOYMENT_LIFECYCLE_HOOK_DURATION: StaticSchema = (7, n0, _DLHD, 0) + +DEPLOYMENT_LIFECYCLE_HOOK_TIMEOUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DLHTC, + 0, + (_tIM, _act), + ( + (DEPLOYMENT_LIFECYCLE_HOOK_DURATION, 0), + (lambda: schemas.DEPLOYMENT_LIFECYCLE_HOOK_ACTION, 0), + ), +) + +DEPLOYMENT_LIFECYCLE_HOOK: StaticSchema = ( + 18, + n0, + _DLH, + 0, + (_tT, _hTA, _rA, _lSi, _hDo, _tCi), + ( + (DEPLOYMENT_LIFECYCLE_HOOK_TARGET_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.IAM_ROLE_ARN, 0), + (DEPLOYMENT_LIFECYCLE_HOOK_STAGE_LIST, 0), + (HOOK_DETAILS, 0), + (DEPLOYMENT_LIFECYCLE_HOOK_TIMEOUT_CONFIGURATION, 0), + ), +) + +DEPLOYMENT_LIFECYCLE_HOOK_LIST: StaticSchema = ( + 16, + n0, + _DLHL, + 0, + (_me,), + ((DEPLOYMENT_LIFECYCLE_HOOK, 0),), +) + +LINEAR_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LCi, + 0, + (_sPt, _sBTIM), + ((lambda: schemas.DOUBLE, {_smi: None}), (lambda: schemas.INTEGER, {_smi: None})), +) + +DEPLOYMENT_STRATEGY: StaticSchema = ( + 14, + n0, + _DSe, + 0, + (_ROLLING, _BG, _LINEAR, _CANARY), + ( + (-1, {_sV: _ROLLING}), + (-1, {_sV: _BG}), + (-1, {_sV: _LINEAR}), + (-1, {_sV: _CANARY}), + ), +) + +DEPLOYMENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DCep, + 0, + (_dCB, _mPa, _mHP, _al, _stra, _bTIM, _lH, _lCi, _cCa, _eSC), + ( + (DEPLOYMENT_CIRCUIT_BREAKER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (DEPLOYMENT_ALARMS, 0), + (DEPLOYMENT_STRATEGY, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (DEPLOYMENT_LIFECYCLE_HOOK_LIST, 0), + (LINEAR_CONFIGURATION, 0), + (CANARY_CONFIGURATION, 0), + (DEPLOYMENT_EARLY_SUCCESS_CRITERIA, 0), + ), +) + +DEPLOYMENT_LIFECYCLE_HOOK_STATUS: StaticSchema = ( + 14, + n0, + _DLHSe, + 0, + (_AA, _IP, _SUCCEEDED, _FAILED, _TO), + ( + (-1, {_sV: _AA}), + (-1, {_sV: _IP}), + (-1, {_sV: _SUCCEEDED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _TO}), + ), +) + +DEPLOYMENT_LIFECYCLE_HOOK_DETAIL: StaticSchema = ( + 18, + n0, + _DLHDe, + 0, + (_hI, _tT, _tAar, _st, _eA, _tAi), + ( + (lambda: schemas.STRING, 0), + (DEPLOYMENT_LIFECYCLE_HOOK_TARGET_TYPE, 0), + (lambda: schemas.STRING, 0), + (DEPLOYMENT_LIFECYCLE_HOOK_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.DEPLOYMENT_LIFECYCLE_HOOK_ACTION, 0), + ), +) + +DEPLOYMENT_LIFECYCLE_HOOK_DETAIL_LIST: StaticSchema = ( + 16, + n0, + _DLHDL, + 0, + (_me,), + ((DEPLOYMENT_LIFECYCLE_HOOK_DETAIL, 0),), +) + +SERVICE_DEPLOYMENT_LIFECYCLE_STAGE: StaticSchema = ( + 14, + n0, + _SDLS, + 0, + (_RS_, _PSU, _SU, _PSU_, _TTS, _PTTS, _PTS, _PPTS_, _BT, _CU), + ( + (-1, {_sV: _RS_}), + (-1, {_sV: _PSU}), + (-1, {_sV: _SU}), + (-1, {_sV: _PSU_}), + (-1, {_sV: _TTS}), + (-1, {_sV: _PTTS}), + (-1, {_sV: _PTS}), + (-1, {_sV: _PPTS_}), + (-1, {_sV: _BT}), + (-1, {_sV: _CU}), + ), +) + +ROLLBACK: StaticSchema = ( + 18, + n0, + _Ro, + 0, + (_re, _sA, _sRA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +SERVICE_REVISION_SUMMARY: StaticSchema = ( + 18, + n0, + _SRS, + 0, + (_ar, _rTCe, _rTCu, _pTCe, _rTTW, _rPTW), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.DOUBLE, {_smi: None}), + (lambda: schemas.DOUBLE, {_smi: None}), + ), +) + +SERVICE_REVISIONS_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _SRSL, + 0, + (_me,), + ((SERVICE_REVISION_SUMMARY, 0),), +) + +SERVICE_DEPLOYMENT: StaticSchema = ( + 18, + n0, + _SD, + 0, + ( + _sDA, + _sAe, + _cA, + _cAr, + _sA, + _fA, + _sAt, + _uA, + _sSR, + _tSR, + _st, + _sR, + _lSif, + _lHD, + _dC, + _ro, + _dCB, + _al, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (SERVICE_REVISIONS_SUMMARY_LIST, 0), + (SERVICE_REVISION_SUMMARY, 0), + (lambda: schemas.SERVICE_DEPLOYMENT_STATUS, 0), + (lambda: schemas.STRING, 0), + (SERVICE_DEPLOYMENT_LIFECYCLE_STAGE, 0), + (DEPLOYMENT_LIFECYCLE_HOOK_DETAIL_LIST, 0), + (DEPLOYMENT_CONFIGURATION, 0), + (ROLLBACK, 0), + (SERVICE_DEPLOYMENT_CIRCUIT_BREAKER, 0), + (SERVICE_DEPLOYMENT_ALARMS, 0), + ), +) + +SERVICE_DEPLOYMENTS: StaticSchema = ( + 16, + n0, + _SDe, + 0, + (_me,), + ((SERVICE_DEPLOYMENT, 0),), +) + +EXPRESS_CPU_ARCHITECTURE: StaticSchema = ( + 14, + n0, + _ECAx, + 0, + (_X, _ARM), + ((-1, {_sV: _X}), (-1, {_sV: _ARM})), +) + +EXPRESS_GATEWAY_SERVICE_NETWORK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EGSNC, + 0, + (_sG, _su), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.STRING_LIST, 0)), +) + +EXPRESS_GATEWAY_SERVICE_AWS_LOGS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EGSALC, + 0, + (_lG, _lSP), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +EXPRESS_GATEWAY_REPOSITORY_CREDENTIALS: StaticSchema = ( + 18, + n0, + _EGRC, + 0, + (_cPr,), + ((lambda: schemas.STRING, 0),), +) + +EXPRESS_GATEWAY_CONTAINER: StaticSchema = ( + 18, + n0, + _EGC, + 0, + (_im, _cPo, _aLC, _rCe, _com, _env, _sec), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.BOXED_INTEGER, 0), + (EXPRESS_GATEWAY_SERVICE_AWS_LOGS_CONFIGURATION, 0), + (EXPRESS_GATEWAY_REPOSITORY_CREDENTIALS, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.ENVIRONMENT_VARIABLES, 0), + (lambda: schemas.SECRET_LIST, 0), + ), +) + +EXPRESS_GATEWAY_SERVICE_SCALING_METRIC: StaticSchema = ( + 14, + n0, + _EGSSM, + 0, + (_ACPUU, _AMU, _RCPT), + ((-1, {_sV: _AC___}), (-1, {_sV: _AM__}), (-1, {_sV: _RCPT_})), +) + +EXPRESS_GATEWAY_SCALING_TARGET: StaticSchema = ( + 18, + n0, + _EGST, + 0, + (_mTC, _mTCa, _aSM, _aSTV), + ( + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (EXPRESS_GATEWAY_SERVICE_SCALING_METRIC, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +SERVICE: StaticSchema = ( + 18, + n0, + _Ser, + 0, + ( + _sAe, + _sNe, + _cA, + _lB, + _sRe, + _st, + _dCe, + _rC, + _pCe, + _lT, + _cPS, + _pV, + _pF, + _tD, + _dC, + _tSa, + _dep, + _rA, + _ev, + _cAr, + _cSD, + _cSR, + _pC, + _pS, + _nC, + _hCGPS, + _sSc, + _dCep, + _ta, + _cBr, + _eECSMT, + _pT, + _eEC, + _aZR, + _rMT, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LOAD_BALANCERS, 0), + (lambda: schemas.SERVICE_REGISTRIES, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.LAUNCH_TYPE, 0), + (lambda: schemas.CAPACITY_PROVIDER_STRATEGY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DEPLOYMENT_CONFIGURATION, 0), + (lambda: schemas.TASK_SETS, 0), + (lambda: schemas.DEPLOYMENTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SERVICE_EVENTS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SERVICE_CURRENT_REVISION_SUMMARY_LIST, 0), + (lambda: schemas.PLACEMENT_CONSTRAINTS, 0), + (lambda: schemas.PLACEMENT_STRATEGIES, 0), + (lambda: schemas.NETWORK_CONFIGURATION, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.SCHEDULING_STRATEGY, 0), + (lambda: schemas.DEPLOYMENT_CONTROLLER, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.PROPAGATE_TAGS, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.AVAILABILITY_ZONE_REBALANCING, 0), + (lambda: schemas.RESOURCE_MANAGEMENT_TYPE, 0), + ), +) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_6.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_6.py new file mode 100644 index 000000000..66fc70235 --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_6.py @@ -0,0 +1,1341 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ecs" +_sV = "smithy.api#enumValue" +_me = "member" +_s = "smithy.api#error" +_c = "client" +_mes = "message" +_aTGA = "alternateTargetGroupArn" +_pLR = "productionListenerRule" +_tLR = "testListenerRule" +_rA = "roleArn" +_FAILED = "FAILED" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_st = "status" +_sm = "smithy.api#required" +_smi = "smithy.api#default" +_su = "subnets" +_sG = "securityGroups" +_nC = "networkConfiguration" +_mo = "monitoring" +_NONE = "NONE" +_iRA = "infrastructureRoleArn" +_pT = "propagateTags" +_va = "value" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_na = "name" +_cl = "cluster" +_ta = "tags" +_ACTIVE = "ACTIVE" +_INACTIVE = "INACTIVE" +_ty = "type" +_smith = "smithy.api#output" +_ar = "arn" +_kKI = "kmsKeyId" +_lC = "logConfiguration" +_nam = "namespace" +_id = "id" +_cA = "clusterArn" +_DAEMON = "DAEMON" +_sR = "statusReason" +_cNo = "containerName" +_DRAINING = "DRAINING" +_cPo = "containerPort" +_EXTERNAL = "EXTERNAL" +_sB = "startedBy" +_sNe = "serviceName" +_lT = "launchType" +_IP = "IN_PROGRESS" +_dC = "deploymentConfiguration" +_cAr = "createdAt" +_eECSMT = "enableECSManagedTags" +_eEC = "enableExecuteCommand" +_cT = "clientToken" +_uA = "updatedAt" +_rC = "runningCount" +_ti = "timeout" +_ena = "enabled" +_cp = "cpu" +_memo = "memory" +_hC = "healthCheck" +_tRA = "taskRoleArn" +_eRA = "executionRoleArn" +_tD = "taskDefinition" +_HTTP = "HTTP" +_sIGB = "sizeInGiB" +_MO = "MEMBER_OF" +_mOe = "memberOf" +_ex = "expression" +_cAp = "cpuArchitecture" +_tDA = "taskDefinitionArn" +_pC = "placementConstraints" +_end = "endpoint" +_HTTPS = "HTTPS" +_he = "header" +_po = "port" +_tTR = "testTrafficRules" +_aTc = "accessType" +_sAe = "serviceArn" +_ser = "service" +_sRA = "serviceRevisionArn" +_rTCe = "requestedTaskCount" +_rTCu = "runningTaskCount" +_pTCe = "pendingTaskCount" +_CEGSI = "CreateExpressGatewayServiceInput" +_cCEGSR = "com.amazonaws.ecs#CreateExpressGatewayServiceRequest" +_hCP = "healthCheckPath" +_pCri = "primaryContainer" +_sTc = "scalingTarget" +_IPS = "IngressPathSummary" +_IPSn = "IngressPathSummaries" +_EGSC = "ExpressGatewayServiceConfiguration" +_iP = "ingressPaths" +_EGSCx = "ExpressGatewayServiceConfigurations" +_EGSSC = "ExpressGatewayServiceStatusCode" +_EGSS = "ExpressGatewayServiceStatus" +_sCt = "statusCode" +_ECSEGS = "ECSExpressGatewayService" +_cDu = "currentDeployment" +_aCc = "activeConfigurations" +_CEGSO = "CreateExpressGatewayServiceOutput" +_cCEGSRo = "com.amazonaws.ecs#CreateExpressGatewayServiceResponse" +_PTDIE = "PlatformTaskDefinitionIncompatibilityException" +_CEGS = "CreateExpressGatewayService" +_AZR = "AvailabilityZoneRebalancing" +_DCT = "DeploymentControllerType" +_ECS = "ECS" +_CD_ = "CODE_DEPLOY" +_DCepl = "DeploymentController" +_GCF = "GatewayConnectorFilters" +_aTcc = "accessTypes" +_GCHCP = "GatewayConnectorHealthCheckProtocol" +_GCHCM = "GatewayConnectorHealthCheckMatcher" +_hCt = "httpCode" +_gC = "grpcCode" +_GCHC = "GatewayConnectorHealthCheck" +_hCPe = "healthCheckProtocol" +_hCPea = "healthCheckPort" +_hCTS = "healthCheckTimeoutSeconds" +_hCIS = "healthCheckIntervalSeconds" +_hTC = "healthyThresholdCount" +_uTC = "unhealthyThresholdCount" +_mat = "matcher" +_GCa = "GatewayConnector" +_pN = "portName" +_fil = "filters" +_GCL = "GatewayConnectorList" +_LB = "LoadBalancer" +_tGA = "targetGroupArn" +_lBN = "loadBalancerName" +_aCd = "advancedConfiguration" +_LBo = "LoadBalancers" +_MN = "MetricName" +_MNL = "MetricNamesList" +_MRS = "MetricResolutionSeconds" +_MCe = "MetricConfiguration" +_mN = "metricNames" +_rS = "resolutionSeconds" +_MCL = "MetricConfigurationList" +_MCo = "MonitoringConfiguration" +_mC = "metricConfigurations" +_API = "AssignPublicIp" +_AVC = "AwsVpcConfiguration" +_aPIs = "assignPublicIp" +_NC = "NetworkConfiguration" +_aCw = "awsvpcConfiguration" +_PCTl = "PlacementConstraintType" +_DI = "DISTINCT_INSTANCE" +_dI = "distinctInstance" +_PCl = "PlacementConstraint" +_PCla = "PlacementConstraints" +_PST = "PlacementStrategyType" +_RANDOM = "RANDOM" +_ra = "random" +_SPREAD = "SPREAD" +_spr = "spread" +_BINPACK = "BINPACK" +_bi = "binpack" +_PS = "PlacementStrategy" +_fie = "field" +_PSl = "PlacementStrategies" +_PT = "PropagateTags" +_TD_ = "TASK_DEFINITION" +_SERVICE = "SERVICE" +_SSc = "SchedulingStrategy" +_REPLICA = "REPLICA" +_SCALF = "ServiceConnectAccessLoggingFormat" +_TEXT = "TEXT" +_JSON = "JSON" +_SCIQP = "ServiceConnectIncludeQueryParameters" +_SCALC = "ServiceConnectAccessLogConfiguration" +_for = "format" +_iQP = "includeQueryParameters" +_SCCLL = "ServiceConnectContainerLogLevel" +_DEBUG = "DEBUG" +_deb = "debug" +_INFO = "INFO" +_info = "info" +_SCCC = "ServiceConnectContainerConfiguration" +_lL = "logLevel" +_SCCCe = "ServiceConnectContainerConfigurations" +_PN = "PortNumber" +_SCTTHMR = "ServiceConnectTestTrafficHeaderMatchRules" +_exa = "exact" +_SCTTHR = "ServiceConnectTestTrafficHeaderRules" +_SCTTR = "ServiceConnectTestTrafficRules" +_SCCA = "ServiceConnectClientAlias" +_dNn = "dnsName" +_SCCAL = "ServiceConnectClientAliasList" +_Du = "Duration" +_TCi = "TimeoutConfiguration" +_iTS = "idleTimeoutSeconds" +_pRTS = "perRequestTimeoutSeconds" +_SCTCA = "ServiceConnectTlsCertificateAuthority" +_aPAA = "awsPcaAuthorityArn" +_SCTC = "ServiceConnectTlsConfiguration" +_iCA = "issuerCertificateAuthority" +_kK = "kmsKey" +_SCS = "ServiceConnectService" +_dNis = "discoveryName" +_cAli = "clientAliases" +_iPO = "ingressPortOverride" +_tl = "tls" +_SCSL = "ServiceConnectServiceList" +_SCC = "ServiceConnectConfiguration" +_serv = "services" +_aLCc = "accessLogConfiguration" +_cCo = "containerConfigurations" +_SRe = "ServiceRegistry" +_rAeg = "registryArn" +_SRer = "ServiceRegistries" +_TFT = "TaskFilesystemType" +_EXT = "EXT3" +_ext = "ext3" +_EXT_ = "EXT4" +_ext_ = "ext4" +_XFS = "XFS" +_xf = "xfs" +_NTFS = "NTFS" +_nt = "ntfs" +_EBSKMSKI = "EBSKMSKeyId" +_EBSSI = "EBSSnapshotId" +_EBSRT = "EBSResourceType" +_VOLUME = "VOLUME" +_vol = "volume" +_EBSTS = "EBSTagSpecification" +_rT = "resourceType" +_EBSTSa = "EBSTagSpecifications" +_EBSVT = "EBSVolumeType" +_SMEBSVC = "ServiceManagedEBSVolumeConfiguration" +_enc = "encrypted" +_vT = "volumeType" +_sIn = "snapshotId" +_vIR = "volumeInitializationRate" +_io = "iops" +_thr = "throughput" +_tS = "tagSpecifications" +_fT = "filesystemType" +_ECSVN = "ECSVolumeName" +_SVC = "ServiceVolumeConfiguration" +_mEBSV = "managedEBSVolume" +_SVCe = "ServiceVolumeConfigurations" +_VLAC = "VpcLatticeAdvancedConfiguration" +_VLC = "VpcLatticeConfiguration" +_VLCp = "VpcLatticeConfigurations" +_CSI = "CreateServiceInput" +_cCSR = "com.amazonaws.ecs#CreateServiceRequest" +_aZR = "availabilityZoneRebalancing" +_lB = "loadBalancers" +_sRe = "serviceRegistries" +_dCe = "desiredCount" +_cPS = "capacityProviderStrategy" +_pV = "platformVersion" +_rol = "role" +_pS = "placementStrategy" +_hCGPS = "healthCheckGracePeriodSeconds" +_sSc = "schedulingStrategy" +_dCep = "deploymentController" +_sCC = "serviceConnectConfiguration" +_vCo = "volumeConfigurations" +_vLC = "vpcLatticeConfigurations" +_gCa = "gatewayConnectors" +_SCRS = "ServiceCurrentRevisionSummary" +_SCRSL = "ServiceCurrentRevisionSummaryList" +_DES = "DeploymentEphemeralStorage" +_DRS = "DeploymentRolloutState" +_COMPLETED = "COMPLETED" +_SCSR = "ServiceConnectServiceResource" +_dAi = "discoveryArn" +_SCSRL = "ServiceConnectServiceResourceList" +_Dep = "Deployment" +_pCe = "pendingCount" +_fTa = "failedTasks" +_pF = "platformFamily" +_rSo = "rolloutState" +_rSR = "rolloutStateReason" +_sCR = "serviceConnectResources" +_fES = "fargateEphemeralStorage" +_Depl = "Deployments" +_SEe = "ServiceEvent" +_SEer = "ServiceEvents" +_RMT = "ResourceManagementType" +_CUSTOMER = "CUSTOMER" +_SUc = "ScaleUnit" +_PERCENT = "PERCENT" +_Sca = "Scale" +_un = "unit" +_SSt = "StabilityStatus" +_SS_ = "STEADY_STATE" +_STABILIZING = "STABILIZING" +_TS = "TaskSet" +_tSA = "taskSetArn" +_eI = "externalId" +_cDC = "computedDesiredCount" +_sca = "scale" +_sSt = "stabilityStatus" +_sSA = "stabilityStatusAt" +_TSa = "TaskSets" +_CSO = "CreateServiceOutput" +_cCSRo = "com.amazonaws.ecs#CreateServiceResponse" +_CSr = "CreateService" +_SNAE = "ServiceNotActiveException" + +CREATE_EXPRESS_GATEWAY_SERVICE_INPUT: StaticSchema = ( + 18, + n0, + _CEGSI, + {_sSI: _cCEGSR, _smit: None}, + (_eRA, _iRA, _sNe, _cl, _hCP, _pCri, _tRA, _nC, _cp, _memo, _cAp, _sTc, _ta, _tDA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPRESS_GATEWAY_CONTAINER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPRESS_GATEWAY_SERVICE_NETWORK_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPRESS_CPU_ARCHITECTURE, 0), + (lambda: schemas.EXPRESS_GATEWAY_SCALING_TARGET, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_EXPRESS_GATEWAY_SERVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _CEGSO, + {_sSI: _cCEGSRo, _smith: None}, + (_ser,), + ((lambda: ECS_EXPRESS_GATEWAY_SERVICE, 0),), +) + +CREATE_EXPRESS_GATEWAY_SERVICE: StaticOperationSchema = ( + 23, + n0, + _CEGS, + 0, + CREATE_EXPRESS_GATEWAY_SERVICE_INPUT, + CREATE_EXPRESS_GATEWAY_SERVICE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, + lambda: schemas.PLATFORM_UNKNOWN_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +INGRESS_PATH_SUMMARY: StaticSchema = ( + 18, + n0, + _IPS, + 0, + (_aTc, _end), + ((lambda: schemas.ACCESS_TYPE, 1), (lambda: schemas.STRING, 1)), +) + +INGRESS_PATH_SUMMARIES: StaticSchema = ( + 16, + n0, + _IPSn, + 0, + (_me,), + ((INGRESS_PATH_SUMMARY, 0),), +) + +EXPRESS_GATEWAY_SERVICE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EGSC, + 0, + (_sRA, _eRA, _tRA, _tDA, _cp, _memo, _cAp, _nC, _hCP, _pCri, _sTc, _iP, _cAr), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPRESS_CPU_ARCHITECTURE, 0), + (lambda: schemas.EXPRESS_GATEWAY_SERVICE_NETWORK_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPRESS_GATEWAY_CONTAINER, 0), + (lambda: schemas.EXPRESS_GATEWAY_SCALING_TARGET, 0), + (INGRESS_PATH_SUMMARIES, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +EXPRESS_GATEWAY_SERVICE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _EGSCx, + 0, + (_me,), + ((EXPRESS_GATEWAY_SERVICE_CONFIGURATION, 0),), +) + +EXPRESS_GATEWAY_SERVICE_STATUS_CODE: StaticSchema = ( + 14, + n0, + _EGSSC, + 0, + (_ACTIVE, _DRAINING, _INACTIVE), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _DRAINING}), (-1, {_sV: _INACTIVE})), +) + +EXPRESS_GATEWAY_SERVICE_STATUS: StaticSchema = ( + 18, + n0, + _EGSS, + 0, + (_sCt, _sR), + ((EXPRESS_GATEWAY_SERVICE_STATUS_CODE, 0), (lambda: schemas.STRING, 0)), +) + +ECS_EXPRESS_GATEWAY_SERVICE: StaticSchema = ( + 18, + n0, + _ECSEGS, + 0, + (_cl, _sNe, _sAe, _iRA, _st, _cDu, _aCc, _ta, _cAr, _uA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (EXPRESS_GATEWAY_SERVICE_STATUS, 0), + (lambda: schemas.STRING, 0), + (EXPRESS_GATEWAY_SERVICE_CONFIGURATIONS, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION: StaticSchema = ( + 18, + n0, + _PTDIE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +AVAILABILITY_ZONE_REBALANCING: StaticSchema = ( + 14, + n0, + _AZR, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +DEPLOYMENT_CONTROLLER_TYPE: StaticSchema = ( + 14, + n0, + _DCT, + 0, + (_ECS, _CD_, _EXTERNAL), + ((-1, {_sV: _ECS}), (-1, {_sV: _CD_}), (-1, {_sV: _EXTERNAL})), +) + +DEPLOYMENT_CONTROLLER: StaticSchema = ( + 18, + n0, + _DCepl, + 0, + (_ty,), + ((DEPLOYMENT_CONTROLLER_TYPE, 1),), +) + +GATEWAY_CONNECTOR_FILTERS: StaticSchema = ( + 18, + n0, + _GCF, + 0, + (_aTcc,), + ((lambda: schemas.ACCESS_TYPE_LIST, 0),), +) + +GATEWAY_CONNECTOR_HEALTH_CHECK_PROTOCOL: StaticSchema = ( + 14, + n0, + _GCHCP, + 0, + (_HTTP, _HTTPS), + ((-1, {_sV: _HTTP}), (-1, {_sV: _HTTPS})), +) + +GATEWAY_CONNECTOR_HEALTH_CHECK_MATCHER: StaticSchema = ( + 18, + n0, + _GCHCM, + 0, + (_hCt, _gC), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +GATEWAY_CONNECTOR_HEALTH_CHECK: StaticSchema = ( + 18, + n0, + _GCHC, + 0, + (_hCPe, _hCPea, _hCP, _hCTS, _hCIS, _hTC, _uTC, _mat), + ( + (GATEWAY_CONNECTOR_HEALTH_CHECK_PROTOCOL, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (GATEWAY_CONNECTOR_HEALTH_CHECK_MATCHER, 0), + ), +) + +GATEWAY_CONNECTOR: StaticSchema = ( + 18, + n0, + _GCa, + 0, + (_pN, _hC, _fil), + ( + (lambda: schemas.STRING, 1), + (GATEWAY_CONNECTOR_HEALTH_CHECK, 0), + (GATEWAY_CONNECTOR_FILTERS, 0), + ), +) + +GATEWAY_CONNECTOR_LIST: StaticSchema = ( + 16, + n0, + _GCL, + 0, + (_me,), + ((GATEWAY_CONNECTOR, 0),), +) + +LOAD_BALANCER: StaticSchema = ( + 18, + n0, + _LB, + 0, + (_tGA, _lBN, _cNo, _cPo, _aCd), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.ADVANCED_CONFIGURATION, 0), + ), +) + +LOAD_BALANCERS: StaticSchema = (16, n0, _LBo, 0, (_me,), ((LOAD_BALANCER, 0),)) + +METRIC_NAME: StaticSchema = (3, n0, _MN, 0) + +METRIC_NAMES_LIST: StaticSchema = (16, n0, _MNL, 0, (_me,), ((METRIC_NAME, 0),)) + +METRIC_RESOLUTION_SECONDS: StaticSchema = (7, n0, _MRS, 0) + +METRIC_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MCe, + 0, + (_mN, _rS), + ((METRIC_NAMES_LIST, 1), (METRIC_RESOLUTION_SECONDS, 1)), +) + +METRIC_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _MCL, + 0, + (_me,), + ((METRIC_CONFIGURATION, 0),), +) + +MONITORING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MCo, + 0, + (_mC,), + ((METRIC_CONFIGURATION_LIST, 0),), +) + +ASSIGN_PUBLIC_IP: StaticSchema = ( + 14, + n0, + _API, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +AWS_VPC_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AVC, + 0, + (_su, _sG, _aPIs), + ( + (lambda: schemas.STRING_LIST, 1), + (lambda: schemas.STRING_LIST, 0), + (ASSIGN_PUBLIC_IP, 0), + ), +) + +NETWORK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _NC, + 0, + (_aCw,), + ((AWS_VPC_CONFIGURATION, 0),), +) + +PLACEMENT_CONSTRAINT_TYPE: StaticSchema = ( + 14, + n0, + _PCTl, + 0, + (_DI, _MO), + ((-1, {_sV: _dI}), (-1, {_sV: _mOe})), +) + +PLACEMENT_CONSTRAINT: StaticSchema = ( + 18, + n0, + _PCl, + 0, + (_ty, _ex), + ((PLACEMENT_CONSTRAINT_TYPE, 0), (lambda: schemas.STRING, 0)), +) + +PLACEMENT_CONSTRAINTS: StaticSchema = ( + 16, + n0, + _PCla, + 0, + (_me,), + ((PLACEMENT_CONSTRAINT, 0),), +) + +PLACEMENT_STRATEGY_TYPE: StaticSchema = ( + 14, + n0, + _PST, + 0, + (_RANDOM, _SPREAD, _BINPACK), + ((-1, {_sV: _ra}), (-1, {_sV: _spr}), (-1, {_sV: _bi})), +) + +PLACEMENT_STRATEGY: StaticSchema = ( + 18, + n0, + _PS, + 0, + (_ty, _fie), + ((PLACEMENT_STRATEGY_TYPE, 0), (lambda: schemas.STRING, 0)), +) + +PLACEMENT_STRATEGIES: StaticSchema = ( + 16, + n0, + _PSl, + 0, + (_me,), + ((PLACEMENT_STRATEGY, 0),), +) + +PROPAGATE_TAGS: StaticSchema = ( + 14, + n0, + _PT, + 0, + (_TD_, _SERVICE, _NONE), + ((-1, {_sV: _TD_}), (-1, {_sV: _SERVICE}), (-1, {_sV: _NONE})), +) + +SCHEDULING_STRATEGY: StaticSchema = ( + 14, + n0, + _SSc, + 0, + (_REPLICA, _DAEMON), + ((-1, {_sV: _REPLICA}), (-1, {_sV: _DAEMON})), +) + +SERVICE_CONNECT_ACCESS_LOGGING_FORMAT: StaticSchema = ( + 14, + n0, + _SCALF, + 0, + (_TEXT, _JSON), + ((-1, {_sV: _TEXT}), (-1, {_sV: _JSON})), +) + +SERVICE_CONNECT_INCLUDE_QUERY_PARAMETERS: StaticSchema = ( + 14, + n0, + _SCIQP, + 0, + (_DISABLED, _ENABLED), + ((-1, {_sV: _DISABLED}), (-1, {_sV: _ENABLED})), +) + +SERVICE_CONNECT_ACCESS_LOG_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCALC, + 0, + (_for, _iQP), + ( + (SERVICE_CONNECT_ACCESS_LOGGING_FORMAT, 1), + (SERVICE_CONNECT_INCLUDE_QUERY_PARAMETERS, 0), + ), +) + +SERVICE_CONNECT_CONTAINER_LOG_LEVEL: StaticSchema = ( + 14, + n0, + _SCCLL, + 0, + (_DEBUG, _INFO), + ((-1, {_sV: _deb}), (-1, {_sV: _info})), +) + +SERVICE_CONNECT_CONTAINER_CONFIGURATION: StaticSchema = ( + 19, + n0, + _SCCC, + 0, + (_lL,), + ((SERVICE_CONNECT_CONTAINER_LOG_LEVEL, 0),), +) + +SERVICE_CONNECT_CONTAINER_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _SCCCe, + 0, + (_me,), + ((SERVICE_CONNECT_CONTAINER_CONFIGURATION, 0),), +) + +PORT_NUMBER: StaticSchema = (7, n0, _PN, 0) + +SERVICE_CONNECT_TEST_TRAFFIC_HEADER_MATCH_RULES: StaticSchema = ( + 18, + n0, + _SCTTHMR, + 0, + (_exa,), + ((lambda: schemas.STRING, 1),), +) + +SERVICE_CONNECT_TEST_TRAFFIC_HEADER_RULES: StaticSchema = ( + 18, + n0, + _SCTTHR, + 0, + (_na, _va), + ((lambda: schemas.STRING, 1), (SERVICE_CONNECT_TEST_TRAFFIC_HEADER_MATCH_RULES, 0)), +) + +SERVICE_CONNECT_TEST_TRAFFIC_RULES: StaticSchema = ( + 18, + n0, + _SCTTR, + 0, + (_he,), + ((SERVICE_CONNECT_TEST_TRAFFIC_HEADER_RULES, 1),), +) + +SERVICE_CONNECT_CLIENT_ALIAS: StaticSchema = ( + 18, + n0, + _SCCA, + 0, + (_po, _dNn, _tTR), + ( + (PORT_NUMBER, 1), + (lambda: schemas.STRING, 0), + (SERVICE_CONNECT_TEST_TRAFFIC_RULES, 0), + ), +) + +SERVICE_CONNECT_CLIENT_ALIAS_LIST: StaticSchema = ( + 16, + n0, + _SCCAL, + 0, + (_me,), + ((SERVICE_CONNECT_CLIENT_ALIAS, 0),), +) + +DURATION: StaticSchema = (7, n0, _Du, 0) + +TIMEOUT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TCi, + 0, + (_iTS, _pRTS), + ((DURATION, 0), (DURATION, 0)), +) + +SERVICE_CONNECT_TLS_CERTIFICATE_AUTHORITY: StaticSchema = ( + 18, + n0, + _SCTCA, + 0, + (_aPAA,), + ((lambda: schemas.STRING, 0),), +) + +SERVICE_CONNECT_TLS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCTC, + 0, + (_iCA, _kK, _rA), + ( + (SERVICE_CONNECT_TLS_CERTIFICATE_AUTHORITY, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +SERVICE_CONNECT_SERVICE: StaticSchema = ( + 18, + n0, + _SCS, + 0, + (_pN, _dNis, _cAli, _iPO, _ti, _tl), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (SERVICE_CONNECT_CLIENT_ALIAS_LIST, 0), + (PORT_NUMBER, 0), + (TIMEOUT_CONFIGURATION, 0), + (SERVICE_CONNECT_TLS_CONFIGURATION, 0), + ), +) + +SERVICE_CONNECT_SERVICE_LIST: StaticSchema = ( + 16, + n0, + _SCSL, + 0, + (_me,), + ((SERVICE_CONNECT_SERVICE, 0),), +) + +SERVICE_CONNECT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCC, + 0, + (_ena, _nam, _serv, _lC, _aLCc, _cCo), + ( + (lambda: schemas.BOOLEAN, {_smi: False, _sm: None}), + (lambda: schemas.STRING, 0), + (SERVICE_CONNECT_SERVICE_LIST, 0), + (lambda: schemas.LOG_CONFIGURATION, 0), + (SERVICE_CONNECT_ACCESS_LOG_CONFIGURATION, 0), + (SERVICE_CONNECT_CONTAINER_CONFIGURATIONS, 0), + ), +) + +SERVICE_REGISTRY: StaticSchema = ( + 18, + n0, + _SRe, + 0, + (_rAeg, _po, _cNo, _cPo), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +SERVICE_REGISTRIES: StaticSchema = (16, n0, _SRer, 0, (_me,), ((SERVICE_REGISTRY, 0),)) + +TASK_FILESYSTEM_TYPE: StaticSchema = ( + 14, + n0, + _TFT, + 0, + (_EXT, _EXT_, _XFS, _NTFS), + ((-1, {_sV: _ext}), (-1, {_sV: _ext_}), (-1, {_sV: _xf}), (-1, {_sV: _nt})), +) + +EBSKMS_KEY_ID: StaticSchema = (3, n0, _EBSKMSKI, 0) + +EBS_SNAPSHOT_ID: StaticSchema = (3, n0, _EBSSI, 0) + +EBS_RESOURCE_TYPE: StaticSchema = (14, n0, _EBSRT, 0, (_VOLUME,), ((-1, {_sV: _vol}),)) + +EBS_TAG_SPECIFICATION: StaticSchema = ( + 18, + n0, + _EBSTS, + 0, + (_rT, _ta, _pT), + ((EBS_RESOURCE_TYPE, 1), (lambda: schemas.TAGS, 0), (PROPAGATE_TAGS, 0)), +) + +EBS_TAG_SPECIFICATIONS: StaticSchema = ( + 16, + n0, + _EBSTSa, + 0, + (_me,), + ((EBS_TAG_SPECIFICATION, 0),), +) + +EBS_VOLUME_TYPE: StaticSchema = (3, n0, _EBSVT, 0) + +SERVICE_MANAGED_EBS_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SMEBSVC, + 0, + (_enc, _kKI, _vT, _sIGB, _sIn, _vIR, _io, _thr, _tS, _rA, _fT), + ( + (lambda: schemas.BOXED_BOOLEAN, 0), + (EBSKMS_KEY_ID, 0), + (EBS_VOLUME_TYPE, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (EBS_SNAPSHOT_ID, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (EBS_TAG_SPECIFICATIONS, 0), + (lambda: schemas.IAM_ROLE_ARN, 1), + (TASK_FILESYSTEM_TYPE, 0), + ), +) + +ECS_VOLUME_NAME: StaticSchema = (3, n0, _ECSVN, 0) + +SERVICE_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SVC, + 0, + (_na, _mEBSV), + ((ECS_VOLUME_NAME, 1), (SERVICE_MANAGED_EBS_VOLUME_CONFIGURATION, 0)), +) + +SERVICE_VOLUME_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _SVCe, + 0, + (_me,), + ((SERVICE_VOLUME_CONFIGURATION, 0),), +) + +VPC_LATTICE_ADVANCED_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VLAC, + 0, + (_aTGA, _pLR, _tLR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +VPC_LATTICE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VLC, + 0, + (_rA, _tGA, _pN, _aCd), + ( + (lambda: schemas.IAM_ROLE_ARN, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (VPC_LATTICE_ADVANCED_CONFIGURATION, 0), + ), +) + +VPC_LATTICE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _VLCp, + 0, + (_me,), + ((VPC_LATTICE_CONFIGURATION, 0),), +) + +CREATE_SERVICE_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_sSI: _cCSR, _smit: None}, + ( + _cl, + _sNe, + _tD, + _aZR, + _lB, + _sRe, + _dCe, + _cT, + _lT, + _cPS, + _pV, + _rol, + _dC, + _pC, + _pS, + _nC, + _hCGPS, + _sSc, + _dCep, + _ta, + _eECSMT, + _pT, + _eEC, + _sCC, + _vCo, + _vLC, + _gCa, + _mo, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (AVAILABILITY_ZONE_REBALANCING, 0), + (LOAD_BALANCERS, 0), + (SERVICE_REGISTRIES, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LAUNCH_TYPE, 0), + (lambda: schemas.CAPACITY_PROVIDER_STRATEGY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DEPLOYMENT_CONFIGURATION, 0), + (PLACEMENT_CONSTRAINTS, 0), + (PLACEMENT_STRATEGIES, 0), + (NETWORK_CONFIGURATION, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (SCHEDULING_STRATEGY, 0), + (DEPLOYMENT_CONTROLLER, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (PROPAGATE_TAGS, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (SERVICE_CONNECT_CONFIGURATION, 0), + (SERVICE_VOLUME_CONFIGURATIONS, 0), + (VPC_LATTICE_CONFIGURATIONS, 0), + (GATEWAY_CONNECTOR_LIST, 0), + (MONITORING_CONFIGURATION, 0), + ), +) + +CREATE_SERVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_sSI: _cCSRo, _smith: None}, + (_ser,), + ((lambda: schemas.SERVICE, 0),), +) + +CREATE_SERVICE: StaticOperationSchema = ( + 23, + n0, + _CSr, + 0, + CREATE_SERVICE_INPUT, + CREATE_SERVICE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NAMESPACE_NOT_FOUND_EXCEPTION, + PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, + lambda: schemas.PLATFORM_UNKNOWN_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +SERVICE_CURRENT_REVISION_SUMMARY: StaticSchema = ( + 18, + n0, + _SCRS, + 0, + (_ar, _rTCe, _rTCu, _pTCe), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + ), +) + +SERVICE_CURRENT_REVISION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _SCRSL, + 0, + (_me,), + ((SERVICE_CURRENT_REVISION_SUMMARY, 0),), +) + +DEPLOYMENT_EPHEMERAL_STORAGE: StaticSchema = ( + 18, + n0, + _DES, + 0, + (_kKI,), + ((lambda: schemas.STRING, 0),), +) + +DEPLOYMENT_ROLLOUT_STATE: StaticSchema = ( + 14, + n0, + _DRS, + 0, + (_COMPLETED, _FAILED, _IP), + ((-1, {_sV: _COMPLETED}), (-1, {_sV: _FAILED}), (-1, {_sV: _IP})), +) + +SERVICE_CONNECT_SERVICE_RESOURCE: StaticSchema = ( + 18, + n0, + _SCSR, + 0, + (_dNis, _dAi), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SERVICE_CONNECT_SERVICE_RESOURCE_LIST: StaticSchema = ( + 16, + n0, + _SCSRL, + 0, + (_me,), + ((SERVICE_CONNECT_SERVICE_RESOURCE, 0),), +) + +DEPLOYMENT: StaticSchema = ( + 18, + n0, + _Dep, + 0, + ( + _id, + _st, + _tD, + _dCe, + _pCe, + _rC, + _fTa, + _cAr, + _uA, + _cPS, + _lT, + _pV, + _pF, + _nC, + _rSo, + _rSR, + _sCC, + _sCR, + _vCo, + _fES, + _vLC, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.CAPACITY_PROVIDER_STRATEGY, 0), + (lambda: schemas.LAUNCH_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (NETWORK_CONFIGURATION, 0), + (DEPLOYMENT_ROLLOUT_STATE, 0), + (lambda: schemas.STRING, 0), + (SERVICE_CONNECT_CONFIGURATION, 0), + (SERVICE_CONNECT_SERVICE_RESOURCE_LIST, 0), + (SERVICE_VOLUME_CONFIGURATIONS, 0), + (DEPLOYMENT_EPHEMERAL_STORAGE, 0), + (VPC_LATTICE_CONFIGURATIONS, 0), + ), +) + +DEPLOYMENTS: StaticSchema = (16, n0, _Depl, 0, (_me,), ((DEPLOYMENT, 0),)) + +SERVICE_EVENT: StaticSchema = ( + 18, + n0, + _SEe, + 0, + (_id, _cAr, _mes), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +SERVICE_EVENTS: StaticSchema = (16, n0, _SEer, 0, (_me,), ((SERVICE_EVENT, 0),)) + +RESOURCE_MANAGEMENT_TYPE: StaticSchema = ( + 14, + n0, + _RMT, + 0, + (_CUSTOMER, _ECS), + ((-1, {_sV: _CUSTOMER}), (-1, {_sV: _ECS})), +) + +SCALE_UNIT: StaticSchema = (14, n0, _SUc, 0, (_PERCENT,), ((-1, {_sV: _PERCENT}),)) + +SCALE: StaticSchema = ( + 18, + n0, + _Sca, + 0, + (_va, _un), + ((lambda: schemas.DOUBLE, {_smi: 0}), (SCALE_UNIT, 0)), +) + +STABILITY_STATUS: StaticSchema = ( + 14, + n0, + _SSt, + 0, + (_SS_, _STABILIZING), + ((-1, {_sV: _SS_}), (-1, {_sV: _STABILIZING})), +) + +TASK_SET: StaticSchema = ( + 18, + n0, + _TS, + 0, + ( + _id, + _tSA, + _sAe, + _cA, + _sB, + _eI, + _st, + _tD, + _cDC, + _pCe, + _rC, + _cAr, + _uA, + _lT, + _cPS, + _pV, + _pF, + _nC, + _lB, + _sRe, + _sca, + _sSt, + _sSA, + _ta, + _fES, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.INTEGER, {_smi: 0}), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.LAUNCH_TYPE, 0), + (lambda: schemas.CAPACITY_PROVIDER_STRATEGY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (NETWORK_CONFIGURATION, 0), + (LOAD_BALANCERS, 0), + (SERVICE_REGISTRIES, 0), + (SCALE, 0), + (STABILITY_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TAGS, 0), + (DEPLOYMENT_EPHEMERAL_STORAGE, 0), + ), +) + +TASK_SETS: StaticSchema = (16, n0, _TSa, 0, (_me,), ((TASK_SET, 0),)) + +SERVICE_NOT_ACTIVE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SNAE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_7.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_7.py new file mode 100644 index 000000000..3f2492ac3 --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_7.py @@ -0,0 +1,1223 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ecs" +_sV = "smithy.api#enumValue" +_me = "member" +_s = "smithy.api#error" +_c = "client" +_mes = "message" +_aTGA = "alternateTargetGroupArn" +_pLR = "productionListenerRule" +_FAILED = "FAILED" +_st = "status" +_sm = "smithy.api#required" +_smi = "smithy.api#default" +_nC = "networkConfiguration" +_mo = "monitoring" +_pT = "propagateTags" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_cl = "cluster" +_PROVISIONING = "PROVISIONING" +_ACTIVE = "ACTIVE" +_DEPROVISIONING = "DEPROVISIONING" +_smith = "smithy.api#output" +_TAGS = "TAGS" +_incl = "include" +_mR = "maxResults" +_nT = "nextToken" +_ar = "arn" +_fa = "failures" +_cA = "clusterArn" +_fo = "force" +_sR = "statusReason" +_cNo = "containerName" +_iD = "imageDigest" +_sNe = "serviceName" +_lT = "launchType" +_ROLLBACK = "ROLLBACK" +_sDA = "serviceDeploymentArn" +_sA = "startedAt" +_dC = "deploymentConfiguration" +_cAr = "createdAt" +_fA = "finishedAt" +_eECSMT = "enableECSManagedTags" +_eEC = "enableExecuteCommand" +_uA = "updatedAt" +_im = "image" +_cp = "cpu" +_memo = "memory" +_DELETED = "DELETED" +_tRA = "taskRoleArn" +_eRA = "executionRoleArn" +_tD = "taskDefinition" +_cAp = "cpuArchitecture" +_tDA = "taskDefinitionArn" +_pC = "placementConstraints" +_rPu = "runtimePlatform" +_end = "endpoint" +_gA = "gatewayArn" +_sch = "scheme" +_po = "port" +_hSA = "hostSharedAlb" +_aTc = "accessType" +_lBA = "loadBalancerArn" +_lA = "listenerArn" +_res = "resources" +_gRAa = "gatewayRouteArn" +_aCA = "acmCertificateArn" +_lRA = "listenerRuleArn" +_lBSG = "loadBalancerSecurityGroups" +_sAe = "serviceArn" +_sUe = "serviceUrl" +_ser = "service" +_sAer = "serviceArns" +_sD = "serviceDeployments" +_hCP = "healthCheckPath" +_pCri = "primaryContainer" +_sTc = "scalingTarget" +_iP = "ingressPaths" +_hCPea = "healthCheckPort" +_pN = "portName" +_tGA = "targetGroupArn" +_serv = "services" +_aZR = "availabilityZoneRebalancing" +_lB = "loadBalancers" +_sRe = "serviceRegistries" +_dCe = "desiredCount" +_cPS = "capacityProviderStrategy" +_pV = "platformVersion" +_pS = "placementStrategy" +_hCGPS = "healthCheckGracePeriodSeconds" +_sSc = "schedulingStrategy" +_dCep = "deploymentController" +_sCC = "serviceConnectConfiguration" +_vCo = "volumeConfigurations" +_vLC = "vpcLatticeConfigurations" +_gCa = "gatewayConnectors" +_rMT = "resourceManagementType" +_DEGSI = "DeleteExpressGatewayServiceInput" +_cDEGSR = "com.amazonaws.ecs#DeleteExpressGatewayServiceRequest" +_DEGSO = "DeleteExpressGatewayServiceOutput" +_cDEGSRo = "com.amazonaws.ecs#DeleteExpressGatewayServiceResponse" +_DEGS = "DeleteExpressGatewayService" +_DSI = "DeleteServiceInput" +_cDSR = "com.amazonaws.ecs#DeleteServiceRequest" +_DSO = "DeleteServiceOutput" +_cDSRo = "com.amazonaws.ecs#DeleteServiceResponse" +_DSel = "DeleteService" +_EGSI = "ExpressGatewayServiceInclude" +_EGSIL = "ExpressGatewayServiceIncludeList" +_DEGSIe = "DescribeExpressGatewayServiceInput" +_cDEGSRom = "com.amazonaws.ecs#DescribeExpressGatewayServiceRequest" +_DEGSOe = "DescribeExpressGatewayServiceOutput" +_cDEGSRoma = "com.amazonaws.ecs#DescribeExpressGatewayServiceResponse" +_DEGSe = "DescribeExpressGatewayService" +_SF = "ServiceField" +_SFL = "ServiceFieldList" +_DSIe = "DescribeServicesInput" +_cDSRom = "com.amazonaws.ecs#DescribeServicesRequest" +_Serv = "Services" +_DSOe = "DescribeServicesOutput" +_cDSRoma = "com.amazonaws.ecs#DescribeServicesResponse" +_DSes = "DescribeServices" +_SDSL = "ServiceDeploymentStatusList" +_LSDI = "ListServiceDeploymentsInput" +_cLSDR = "com.amazonaws.ecs#ListServiceDeploymentsRequest" +_SDB = "ServiceDeploymentBrief" +_tSRA = "targetServiceRevisionArn" +_SDBe = "ServiceDeploymentsBrief" +_LSDO = "ListServiceDeploymentsOutput" +_cLSDRo = "com.amazonaws.ecs#ListServiceDeploymentsResponse" +_LSD = "ListServiceDeployments" +_LSI = "ListServicesInput" +_cLSR = "com.amazonaws.ecs#ListServicesRequest" +_LSO = "ListServicesOutput" +_cLSRo = "com.amazonaws.ecs#ListServicesResponse" +_LSi = "ListServices" +_RI = "ResourceIds" +_CEo = "ConflictException" +_rIe = "resourceIds" +_SSDST = "StopServiceDeploymentStopType" +_ABORT = "ABORT" +_SSDI = "StopServiceDeploymentInput" +_cSSDR = "com.amazonaws.ecs#StopServiceDeploymentRequest" +_sTto = "stopType" +_SSDO = "StopServiceDeploymentOutput" +_cSSDRo = "com.amazonaws.ecs#StopServiceDeploymentResponse" +_SSDt = "StopServiceDeployment" +_UEGSI = "UpdateExpressGatewayServiceInput" +_cUEGSR = "com.amazonaws.ecs#UpdateExpressGatewayServiceRequest" +_UEGS = "UpdatedExpressGatewayService" +_tCa = "targetConfiguration" +_UEGSO = "UpdateExpressGatewayServiceOutput" +_cUEGSRo = "com.amazonaws.ecs#UpdateExpressGatewayServiceResponse" +_UEGSp = "UpdateExpressGatewayService" +_USI = "UpdateServiceInput" +_cUSR = "com.amazonaws.ecs#UpdateServiceRequest" +_fND = "forceNewDeployment" +_USO = "UpdateServiceOutput" +_cUSRo = "com.amazonaws.ecs#UpdateServiceResponse" +_US = "UpdateService" +_USPTSI = "UpdateServicePrimaryTaskSetInput" +_cUSPTSR = "com.amazonaws.ecs#UpdateServicePrimaryTaskSetRequest" +_pTS = "primaryTaskSet" +_USPTSO = "UpdateServicePrimaryTaskSetOutput" +_cUSPTSRo = "com.amazonaws.ecs#UpdateServicePrimaryTaskSetResponse" +_tSas = "taskSet" +_USPTS = "UpdateServicePrimaryTaskSet" +_DSRI = "DescribeServiceRevisionsInput" +_cDSRR = "com.amazonaws.ecs#DescribeServiceRevisionsRequest" +_sRAe = "serviceRevisionArns" +_CIont = "ContainerImage" +_CIonta = "ContainerImages" +_MRSa = "ManagedResourceStatus" +_MAASP = "ManagedApplicationAutoScalingPolicy" +_pTo = "policyType" +_tVa = "targetValue" +_met = "metric" +_MAASPa = "ManagedApplicationAutoScalingPolicies" +_MST = "ManagedScalableTarget" +_mCi = "minCapacity" +_mCa = "maxCapacity" +_MAS = "ManagedAutoScaling" +_sTca = "scalableTarget" +_aASP = "applicationAutoScalingPolicies" +_GCAR = "GatewayConnectionAlbResources" +_lBSGA = "loadBalancerSecurityGroupArns" +_tLRAe = "testListenerRuleArn" +_GCARL = "GatewayConnectionAlbResourcesList" +_GCR = "GatewayConnectionResources" +_GCat = "GatewayConnection" +_GCLa = "GatewayConnectionList" +_MCa = "ManagedCertificate" +_dNo = "domainName" +_ML = "ManagedListener" +_MLB = "ManagedLoadBalancer" +_sIu = "subnetIds" +_sGI = "securityGroupIds" +_MSG = "ManagedSecurityGroup" +_MSGa = "ManagedSecurityGroups" +_MLR = "ManagedListenerRule" +_MTG = "ManagedTargetGroup" +_MTGa = "ManagedTargetGroups" +_MIPa = "ManagedIngressPath" +_lBo = "loadBalancer" +_ce = "certificate" +_lis = "listener" +_ru = "rule" +_tG = "targetGroups" +_MIPan = "ManagedIngressPaths" +_MLG = "ManagedLogGroup" +_lGN = "logGroupName" +_MLGa = "ManagedLogGroups" +_MMA = "ManagedMetricAlarm" +_MMAa = "ManagedMetricAlarms" +_ECSMR = "ECSManagedResources" +_aSu = "autoScaling" +_mAe = "metricAlarms" +_sSG = "serviceSecurityGroups" +_lGo = "logGroups" +_gCat = "gatewayConnections" +_RPO = "RuntimePlatformOverride" +_SRO = "ServiceRevisionOverrides" +_SRLB = "ServiceRevisionLoadBalancer" +_SRLBe = "ServiceRevisionLoadBalancers" +_SRVLC = "ServiceRevisionVpcLatticeConfiguration" +_SRVLCe = "ServiceRevisionVpcLatticeConfigurations" +_RCe = "ResolvedConfiguration" +_DSRO = "DescribeServiceRevisionsOutput" +_cDSRRo = "com.amazonaws.ecs#DescribeServiceRevisionsResponse" +_sRer = "serviceRevisions" +_DSR = "DescribeServiceRevisions" + +DELETE_EXPRESS_GATEWAY_SERVICE_INPUT: StaticSchema = ( + 18, + n0, + _DEGSI, + {_sSI: _cDEGSR, _smit: None}, + (_sAe,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_EXPRESS_GATEWAY_SERVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _DEGSO, + {_sSI: _cDEGSRo, _smith: None}, + (_ser,), + ((lambda: schemas.ECS_EXPRESS_GATEWAY_SERVICE, 0),), +) + +DELETE_EXPRESS_GATEWAY_SERVICE: StaticOperationSchema = ( + 23, + n0, + _DEGS, + 0, + DELETE_EXPRESS_GATEWAY_SERVICE_INPUT, + DELETE_EXPRESS_GATEWAY_SERVICE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_ACTIVE_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DELETE_SERVICE_INPUT: StaticSchema = ( + 18, + n0, + _DSI, + {_sSI: _cDSR, _smit: None}, + (_cl, _ser, _fo), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOXED_BOOLEAN, 0), + ), +) + +DELETE_SERVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _DSO, + {_sSI: _cDSRo, _smith: None}, + (_ser,), + ((lambda: schemas.SERVICE, 0),), +) + +DELETE_SERVICE: StaticOperationSchema = ( + 23, + n0, + _DSel, + 0, + DELETE_SERVICE_INPUT, + DELETE_SERVICE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + ), +) + +EXPRESS_GATEWAY_SERVICE_INCLUDE: StaticSchema = ( + 14, + n0, + _EGSI, + 0, + (_TAGS,), + ((-1, {_sV: _TAGS}),), +) + +EXPRESS_GATEWAY_SERVICE_INCLUDE_LIST: StaticSchema = ( + 16, + n0, + _EGSIL, + 0, + (_me,), + ((EXPRESS_GATEWAY_SERVICE_INCLUDE, 0),), +) + +DESCRIBE_EXPRESS_GATEWAY_SERVICE_INPUT: StaticSchema = ( + 18, + n0, + _DEGSIe, + {_sSI: _cDEGSRom, _smit: None}, + (_sAe, _incl), + ((lambda: schemas.STRING, 1), (EXPRESS_GATEWAY_SERVICE_INCLUDE_LIST, 0)), +) + +DESCRIBE_EXPRESS_GATEWAY_SERVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _DEGSOe, + {_sSI: _cDEGSRoma, _smith: None}, + (_ser,), + ((lambda: schemas.ECS_EXPRESS_GATEWAY_SERVICE, 0),), +) + +DESCRIBE_EXPRESS_GATEWAY_SERVICE: StaticOperationSchema = ( + 23, + n0, + _DEGSe, + 0, + DESCRIBE_EXPRESS_GATEWAY_SERVICE_INPUT, + DESCRIBE_EXPRESS_GATEWAY_SERVICE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +SERVICE_FIELD: StaticSchema = (14, n0, _SF, 0, (_TAGS,), ((-1, {_sV: _TAGS}),)) + +SERVICE_FIELD_LIST: StaticSchema = (16, n0, _SFL, 0, (_me,), ((SERVICE_FIELD, 0),)) + +DESCRIBE_SERVICES_INPUT: StaticSchema = ( + 18, + n0, + _DSIe, + {_sSI: _cDSRom, _smit: None}, + (_cl, _serv, _incl), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 1), + (SERVICE_FIELD_LIST, 0), + ), +) + +DESCRIBE_SERVICES_OUTPUT: StaticSchema = ( + 18, + n0, + _DSOe, + {_sSI: _cDSRoma, _smith: None}, + (_serv, _fa), + ((lambda: SERVICES, 0), (lambda: schemas.FAILURES, 0)), +) + +DESCRIBE_SERVICES: StaticOperationSchema = ( + 23, + n0, + _DSes, + 0, + DESCRIBE_SERVICES_INPUT, + DESCRIBE_SERVICES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +SERVICES: StaticSchema = (16, n0, _Serv, 0, (_me,), ((lambda: schemas.SERVICE, 0),)) + +SERVICE_DEPLOYMENT_STATUS_LIST: StaticSchema = ( + 16, + n0, + _SDSL, + 0, + (_me,), + ((lambda: schemas.SERVICE_DEPLOYMENT_STATUS, 0),), +) + +LIST_SERVICE_DEPLOYMENTS_INPUT: StaticSchema = ( + 18, + n0, + _LSDI, + {_sSI: _cLSDR, _smit: None}, + (_ser, _cl, _st, _cAr, _nT, _mR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (SERVICE_DEPLOYMENT_STATUS_LIST, 0), + (lambda: schemas.CREATED_AT, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +LIST_SERVICE_DEPLOYMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSDO, + {_sSI: _cLSDRo, _smith: None}, + (_sD, _nT), + ((lambda: SERVICE_DEPLOYMENTS_BRIEF, 0), (lambda: schemas.STRING, 0)), +) + +LIST_SERVICE_DEPLOYMENTS: StaticOperationSchema = ( + 23, + n0, + _LSD, + 0, + LIST_SERVICE_DEPLOYMENTS_INPUT, + LIST_SERVICE_DEPLOYMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +SERVICE_DEPLOYMENT_BRIEF: StaticSchema = ( + 18, + n0, + _SDB, + 0, + (_sDA, _sAe, _cA, _sA, _cAr, _fA, _tSRA, _st, _sR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SERVICE_DEPLOYMENT_STATUS, 0), + (lambda: schemas.STRING, 0), + ), +) + +SERVICE_DEPLOYMENTS_BRIEF: StaticSchema = ( + 16, + n0, + _SDBe, + 0, + (_me,), + ((SERVICE_DEPLOYMENT_BRIEF, 0),), +) + +LIST_SERVICES_INPUT: StaticSchema = ( + 18, + n0, + _LSI, + {_sSI: _cLSR, _smit: None}, + (_cl, _nT, _mR, _lT, _sSc, _rMT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.LAUNCH_TYPE, 0), + (lambda: schemas.SCHEDULING_STRATEGY, 0), + (lambda: schemas.RESOURCE_MANAGEMENT_TYPE, 0), + ), +) + +LIST_SERVICES_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_sSI: _cLSRo, _smith: None}, + (_sAer, _nT), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_SERVICES: StaticOperationSchema = ( + 23, + n0, + _LSi, + 0, + LIST_SERVICES_INPUT, + LIST_SERVICES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +RESOURCE_IDS: StaticSchema = (16, n0, _RI, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CEo, + {_s: _c}, + (_rIe, _mes), + ((RESOURCE_IDS, 0), (lambda: schemas.STRING, 0)), +) + +STOP_SERVICE_DEPLOYMENT_STOP_TYPE: StaticSchema = ( + 14, + n0, + _SSDST, + 0, + (_ABORT, _ROLLBACK), + ((-1, {_sV: _ABORT}), (-1, {_sV: _ROLLBACK})), +) + +STOP_SERVICE_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _SSDI, + {_sSI: _cSSDR, _smit: None}, + (_sDA, _sTto), + ((lambda: schemas.STRING, 1), (STOP_SERVICE_DEPLOYMENT_STOP_TYPE, 0)), +) + +STOP_SERVICE_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _SSDO, + {_sSI: _cSSDRo, _smith: None}, + (_sDA,), + ((lambda: schemas.STRING, 0),), +) + +STOP_SERVICE_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _SSDt, + 0, + STOP_SERVICE_DEPLOYMENT_INPUT, + STOP_SERVICE_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_DEPLOYMENT_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +UPDATE_EXPRESS_GATEWAY_SERVICE_INPUT: StaticSchema = ( + 18, + n0, + _UEGSI, + {_sSI: _cUEGSR, _smit: None}, + (_sAe, _eRA, _hCP, _pCri, _tRA, _nC, _cp, _memo, _cAp, _sTc, _tDA), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPRESS_GATEWAY_CONTAINER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPRESS_GATEWAY_SERVICE_NETWORK_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPRESS_CPU_ARCHITECTURE, 0), + (lambda: schemas.EXPRESS_GATEWAY_SCALING_TARGET, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_EXPRESS_GATEWAY_SERVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _UEGSO, + {_sSI: _cUEGSRo, _smith: None}, + (_ser,), + ((lambda: UPDATED_EXPRESS_GATEWAY_SERVICE, 0),), +) + +UPDATE_EXPRESS_GATEWAY_SERVICE: StaticOperationSchema = ( + 23, + n0, + _UEGSp, + 0, + UPDATE_EXPRESS_GATEWAY_SERVICE_INPUT, + UPDATE_EXPRESS_GATEWAY_SERVICE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_ACTIVE_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +UPDATED_EXPRESS_GATEWAY_SERVICE: StaticSchema = ( + 18, + n0, + _UEGS, + 0, + (_sAe, _cl, _sNe, _st, _tCa, _cAr, _uA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPRESS_GATEWAY_SERVICE_STATUS, 0), + (lambda: schemas.EXPRESS_GATEWAY_SERVICE_CONFIGURATION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +UPDATE_SERVICE_INPUT: StaticSchema = ( + 18, + n0, + _USI, + {_sSI: _cUSR, _smit: None}, + ( + _cl, + _ser, + _dCe, + _tD, + _cPS, + _dC, + _aZR, + _nC, + _pC, + _pS, + _pV, + _fND, + _hCGPS, + _dCep, + _eEC, + _eECSMT, + _lB, + _pT, + _sRe, + _sCC, + _vCo, + _vLC, + _gCa, + _mo, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CAPACITY_PROVIDER_STRATEGY, 0), + (lambda: schemas.DEPLOYMENT_CONFIGURATION, 0), + (lambda: schemas.AVAILABILITY_ZONE_REBALANCING, 0), + (lambda: schemas.NETWORK_CONFIGURATION, 0), + (lambda: schemas.PLACEMENT_CONSTRAINTS, 0), + (lambda: schemas.PLACEMENT_STRATEGIES, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.DEPLOYMENT_CONTROLLER, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.LOAD_BALANCERS, 0), + (lambda: schemas.PROPAGATE_TAGS, 0), + (lambda: schemas.SERVICE_REGISTRIES, 0), + (lambda: schemas.SERVICE_CONNECT_CONFIGURATION, 0), + (lambda: schemas.SERVICE_VOLUME_CONFIGURATIONS, 0), + (lambda: schemas.VPC_LATTICE_CONFIGURATIONS, 0), + (lambda: schemas.GATEWAY_CONNECTOR_LIST, 0), + (lambda: schemas.MONITORING_CONFIGURATION, 0), + ), +) + +UPDATE_SERVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _USO, + {_sSI: _cUSRo, _smith: None}, + (_ser,), + ((lambda: schemas.SERVICE, 0),), +) + +UPDATE_SERVICE: StaticOperationSchema = ( + 23, + n0, + _US, + 0, + UPDATE_SERVICE_INPUT, + UPDATE_SERVICE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NAMESPACE_NOT_FOUND_EXCEPTION, + lambda: schemas.PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, + lambda: schemas.PLATFORM_UNKNOWN_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_ACTIVE_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +UPDATE_SERVICE_PRIMARY_TASK_SET_INPUT: StaticSchema = ( + 18, + n0, + _USPTSI, + {_sSI: _cUSPTSR, _smit: None}, + (_cl, _ser, _pTS), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + ), +) + +UPDATE_SERVICE_PRIMARY_TASK_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _USPTSO, + {_sSI: _cUSPTSRo, _smith: None}, + (_tSas,), + ((lambda: schemas.TASK_SET, 0),), +) + +UPDATE_SERVICE_PRIMARY_TASK_SET: StaticOperationSchema = ( + 23, + n0, + _USPTS, + 0, + UPDATE_SERVICE_PRIMARY_TASK_SET_INPUT, + UPDATE_SERVICE_PRIMARY_TASK_SET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_ACTIVE_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.TASK_SET_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DESCRIBE_SERVICE_REVISIONS_INPUT: StaticSchema = ( + 18, + n0, + _DSRI, + {_sSI: _cDSRR, _smit: None}, + (_sRAe,), + ((lambda: schemas.STRING_LIST, 1),), +) + +DESCRIBE_SERVICE_REVISIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSRO, + {_sSI: _cDSRRo, _smith: None}, + (_sRer, _fa), + ((lambda: schemas.SERVICE_REVISIONS, 0), (lambda: schemas.FAILURES, 0)), +) + +DESCRIBE_SERVICE_REVISIONS: StaticOperationSchema = ( + 23, + n0, + _DSR, + 0, + DESCRIBE_SERVICE_REVISIONS_INPUT, + DESCRIBE_SERVICE_REVISIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +CONTAINER_IMAGE: StaticSchema = ( + 18, + n0, + _CIont, + 0, + (_cNo, _iD, _im), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +CONTAINER_IMAGES: StaticSchema = (16, n0, _CIonta, 0, (_me,), ((CONTAINER_IMAGE, 0),)) + +MANAGED_RESOURCE_STATUS: StaticSchema = ( + 14, + n0, + _MRSa, + 0, + (_PROVISIONING, _ACTIVE, _DEPROVISIONING, _DELETED, _FAILED), + ( + (-1, {_sV: _PROVISIONING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DEPROVISIONING}), + (-1, {_sV: _DELETED}), + (-1, {_sV: _FAILED}), + ), +) + +MANAGED_APPLICATION_AUTO_SCALING_POLICY: StaticSchema = ( + 18, + n0, + _MAASP, + 0, + (_ar, _st, _sR, _uA, _pTo, _tVa, _met), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.DOUBLE, {_smi: 0, _sm: None}), + (lambda: schemas.STRING, 1), + ), +) + +MANAGED_APPLICATION_AUTO_SCALING_POLICIES: StaticSchema = ( + 16, + n0, + _MAASPa, + 0, + (_me,), + ((MANAGED_APPLICATION_AUTO_SCALING_POLICY, 0),), +) + +MANAGED_SCALABLE_TARGET: StaticSchema = ( + 18, + n0, + _MST, + 0, + (_ar, _st, _sR, _uA, _mCi, _mCa), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.INTEGER, {_smi: 0, _sm: None}), + (lambda: schemas.INTEGER, {_smi: 0, _sm: None}), + ), +) + +MANAGED_AUTO_SCALING: StaticSchema = ( + 18, + n0, + _MAS, + 0, + (_sTca, _aASP), + ((MANAGED_SCALABLE_TARGET, 0), (MANAGED_APPLICATION_AUTO_SCALING_POLICIES, 0)), +) + +GATEWAY_CONNECTION_ALB_RESOURCES: StaticSchema = ( + 18, + n0, + _GCAR, + 0, + (_aCA, _lBA, _lBSGA, _lA, _lRA, _tLRAe, _tGA, _aTGA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +GATEWAY_CONNECTION_ALB_RESOURCES_LIST: StaticSchema = ( + 16, + n0, + _GCARL, + 0, + (_me,), + ((GATEWAY_CONNECTION_ALB_RESOURCES, 0),), +) + +GATEWAY_CONNECTION_RESOURCES: StaticSchema = ( + 19, + n0, + _GCR, + 0, + (_hSA,), + ((GATEWAY_CONNECTION_ALB_RESOURCES_LIST, 0),), +) + +GATEWAY_CONNECTION: StaticSchema = ( + 18, + n0, + _GCat, + 0, + (_gA, _gRAa, _pN, _sUe, _aTc, _st, _res), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACCESS_TYPE, 0), + (lambda: schemas.GATEWAY_ROUTE_STATUS, 0), + (GATEWAY_CONNECTION_RESOURCES, 0), + ), +) + +GATEWAY_CONNECTION_LIST: StaticSchema = ( + 16, + n0, + _GCLa, + 0, + (_me,), + ((GATEWAY_CONNECTION, 0),), +) + +MANAGED_CERTIFICATE: StaticSchema = ( + 18, + n0, + _MCa, + 0, + (_ar, _st, _sR, _uA, _dNo), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + ), +) + +MANAGED_LISTENER: StaticSchema = ( + 18, + n0, + _ML, + 0, + (_ar, _st, _sR, _uA), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +MANAGED_LOAD_BALANCER: StaticSchema = ( + 18, + n0, + _MLB, + 0, + (_ar, _st, _sR, _uA, _sch, _sIu, _sGI), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +MANAGED_SECURITY_GROUP: StaticSchema = ( + 18, + n0, + _MSG, + 0, + (_ar, _st, _sR, _uA), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +MANAGED_SECURITY_GROUPS: StaticSchema = ( + 16, + n0, + _MSGa, + 0, + (_me,), + ((MANAGED_SECURITY_GROUP, 0),), +) + +MANAGED_LISTENER_RULE: StaticSchema = ( + 18, + n0, + _MLR, + 0, + (_ar, _st, _sR, _uA), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +MANAGED_TARGET_GROUP: StaticSchema = ( + 18, + n0, + _MTG, + 0, + (_ar, _st, _sR, _uA, _hCP, _hCPea, _po), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER, {_smi: 0, _sm: None}), + (lambda: schemas.INTEGER, {_smi: 0, _sm: None}), + ), +) + +MANAGED_TARGET_GROUPS: StaticSchema = ( + 16, + n0, + _MTGa, + 0, + (_me,), + ((MANAGED_TARGET_GROUP, 0),), +) + +MANAGED_INGRESS_PATH: StaticSchema = ( + 18, + n0, + _MIPa, + 0, + (_aTc, _end, _lBo, _lBSG, _ce, _lis, _ru, _tG), + ( + (lambda: schemas.ACCESS_TYPE, 1), + (lambda: schemas.STRING, 1), + (MANAGED_LOAD_BALANCER, 0), + (MANAGED_SECURITY_GROUPS, 0), + (MANAGED_CERTIFICATE, 0), + (MANAGED_LISTENER, 0), + (MANAGED_LISTENER_RULE, 0), + (MANAGED_TARGET_GROUPS, 0), + ), +) + +MANAGED_INGRESS_PATHS: StaticSchema = ( + 16, + n0, + _MIPan, + 0, + (_me,), + ((MANAGED_INGRESS_PATH, 0),), +) + +MANAGED_LOG_GROUP: StaticSchema = ( + 18, + n0, + _MLG, + 0, + (_ar, _st, _sR, _uA, _lGN), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + ), +) + +MANAGED_LOG_GROUPS: StaticSchema = (16, n0, _MLGa, 0, (_me,), ((MANAGED_LOG_GROUP, 0),)) + +MANAGED_METRIC_ALARM: StaticSchema = ( + 18, + n0, + _MMA, + 0, + (_ar, _st, _sR, _uA), + ( + (lambda: schemas.STRING, 0), + (MANAGED_RESOURCE_STATUS, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +MANAGED_METRIC_ALARMS: StaticSchema = ( + 16, + n0, + _MMAa, + 0, + (_me,), + ((MANAGED_METRIC_ALARM, 0),), +) + +ECS_MANAGED_RESOURCES: StaticSchema = ( + 18, + n0, + _ECSMR, + 0, + (_iP, _aSu, _mAe, _sSG, _lGo, _gCat), + ( + (MANAGED_INGRESS_PATHS, 0), + (MANAGED_AUTO_SCALING, 0), + (MANAGED_METRIC_ALARMS, 0), + (MANAGED_SECURITY_GROUPS, 0), + (MANAGED_LOG_GROUPS, 0), + (GATEWAY_CONNECTION_LIST, 0), + ), +) + +RUNTIME_PLATFORM_OVERRIDE: StaticSchema = ( + 18, + n0, + _RPO, + 0, + (_cAp,), + ((lambda: schemas.STRING, 0),), +) + +SERVICE_REVISION_OVERRIDES: StaticSchema = ( + 18, + n0, + _SRO, + 0, + (_rPu,), + ((RUNTIME_PLATFORM_OVERRIDE, 0),), +) + +SERVICE_REVISION_LOAD_BALANCER: StaticSchema = ( + 18, + n0, + _SRLB, + 0, + (_tGA, _pLR), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SERVICE_REVISION_LOAD_BALANCERS: StaticSchema = ( + 16, + n0, + _SRLBe, + 0, + (_me,), + ((SERVICE_REVISION_LOAD_BALANCER, 0),), +) + +SERVICE_REVISION_VPC_LATTICE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SRVLC, + 0, + (_tGA, _pLR), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SERVICE_REVISION_VPC_LATTICE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _SRVLCe, + 0, + (_me,), + ((SERVICE_REVISION_VPC_LATTICE_CONFIGURATION, 0),), +) + +RESOLVED_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RCe, + 0, + (_lB, _vLC), + ( + (SERVICE_REVISION_LOAD_BALANCERS, 0), + (SERVICE_REVISION_VPC_LATTICE_CONFIGURATIONS, 0), + ), +) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_8.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_8.py new file mode 100644 index 000000000..efd661129 --- /dev/null +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/_private/schemas_8.py @@ -0,0 +1,1447 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.ecs" +_sV = "smithy.api#enumValue" +_me = "member" +_s = "smithy.api#error" +_c = "client" +_mes = "message" +_rA = "roleArn" +_st = "status" +_sm = "smithy.api#required" +_smi = "smithy.api#default" +_nC = "networkConfiguration" +_mo = "monitoring" +_pT = "propagateTags" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_na = "name" +_cl = "cluster" +_ta = "tags" +_smith = "smithy.api#output" +_TAGS = "TAGS" +_incl = "include" +_mR = "maxResults" +_nT = "nextToken" +_re = "reason" +_fa = "failures" +_kKI = "kmsKeyId" +_cA = "clusterArn" +_at = "attachments" +_fo = "force" +_cIA = "containerInstanceArn" +_cPN = "capacityProviderName" +_ve = "version" +_att = "attributes" +_hS = "healthStatus" +_com = "command" +_tas = "task" +_cAo = "containerArn" +_tA = "taskArn" +_rI = "runtimeId" +_eC = "exitCode" +_nB = "networkBindings" +_iD = "imageDigest" +_cont = "containers" +_mA = "managedAgents" +_pSA = "pullStartedAt" +_pSAu = "pullStoppedAt" +_eSA = "executionStoppedAt" +_cIon = "containerInstances" +_fam = "family" +_sB = "startedBy" +_dS = "desiredStatus" +_lT = "launchType" +_sA = "startedAt" +_cAr = "createdAt" +_sAt = "stoppedAt" +_eECSMT = "enableECSManagedTags" +_eEC = "enableExecuteCommand" +_cT = "clientToken" +_im = "image" +_cIont = "containerImages" +_HEALTHY = "HEALTHY" +_cp = "cpu" +_memo = "memory" +_mRe = "memoryReservation" +_eF = "environmentFiles" +_env = "environment" +_tRA = "taskRoleArn" +_eRA = "executionRoleArn" +_cD = "containerDefinitions" +_vo = "volumes" +_pM = "pidMode" +_iM = "ipcMode" +_fP = "familyPrefix" +_so = "sort" +_tD = "taskDefinition" +_rRes = "resourceRequirements" +_sIGB = "sizeInGiB" +_dNe = "deviceName" +_dT = "deviceType" +_iMs = "isolationMode" +_tDA = "taskDefinitionArn" +_nMe = "networkMode" +_pC = "placementConstraints" +_rPu = "runtimePlatform" +_rCeq = "requiresCompatibilities" +_iAn = "inferenceAccelerators" +_pCr = "proxyConfiguration" +_eS = "ephemeralStorage" +_eFI = "enableFaultInjection" +_tEC = "trustedExecutionConfiguration" +_sTm = "smithy.api#idempotencyToken" +_sAe = "serviceArn" +_ser = "service" +_rAes = "resourceArn" +_sRA = "serviceRevisionArn" +_enc = "encrypted" +_vT = "volumeType" +_sIn = "snapshotId" +_vIR = "volumeInitializationRate" +_io = "iops" +_thr = "throughput" +_tS = "tagSpecifications" +_fT = "filesystemType" +_mEBSV = "managedEBSVolume" +_lB = "loadBalancers" +_sRe = "serviceRegistries" +_cPS = "capacityProviderStrategy" +_pV = "platformVersion" +_pS = "placementStrategy" +_sCC = "serviceConnectConfiguration" +_vCo = "volumeConfigurations" +_vLC = "vpcLatticeConfigurations" +_gCa = "gatewayConnectors" +_pF = "platformFamily" +_fES = "fargateEphemeralStorage" +_eI = "externalId" +_sca = "scale" +_tSa = "taskSets" +_tSas = "taskSet" +_SRerv = "ServiceRevision" +_gDE = "guardDutyEnabled" +_rCes = "resolvedConfiguration" +_eMR = "ecsManagedResources" +_ov = "overrides" +_SRervi = "ServiceRevisions" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.ecs#TagResourceRequest" +_TRO = "TagResourceOutput" +_cTRRo = "com.amazonaws.ecs#TagResourceResponse" +_TR = "TagResource" +_DTDIel = "DeleteTaskDefinitionsInput" +_cDTDRomam = "com.amazonaws.ecs#DeleteTaskDefinitionsRequest" +_tDa = "taskDefinitions" +_TDL = "TaskDefinitionList" +_DTDOel = "DeleteTaskDefinitionsOutput" +_cDTDRomama = "com.amazonaws.ecs#DeleteTaskDefinitionsResponse" +_DTDel = "DeleteTaskDefinitions" +_LTDI = "ListTaskDefinitionsInput" +_cLTDR = "com.amazonaws.ecs#ListTaskDefinitionsRequest" +_LTDO = "ListTaskDefinitionsOutput" +_cLTDRo = "com.amazonaws.ecs#ListTaskDefinitionsResponse" +_tDAa = "taskDefinitionArns" +_LTD = "ListTaskDefinitions" +_RTDI = "RegisterTaskDefinitionInput" +_cRTDR = "com.amazonaws.ecs#RegisterTaskDefinitionRequest" +_RTDO = "RegisterTaskDefinitionOutput" +_cRTDRo = "com.amazonaws.ecs#RegisterTaskDefinitionResponse" +_RTD = "RegisterTaskDefinition" +_TF = "TaskField" +_TFL = "TaskFieldList" +_DTI = "DescribeTasksInput" +_cDTR = "com.amazonaws.ecs#DescribeTasksRequest" +_task = "tasks" +_Con = "Connectivity" +_CONNECTED = "CONNECTED" +_DISCONNECTED = "DISCONNECTED" +_GI = "GpuIds" +_HS = "HealthStatus" +_UNHEALTHY = "UNHEALTHY" +_UNKNOWN = "UNKNOWN" +_MA = "ManagedAgent" +_lSA = "lastStartedAt" +_lSa = "lastStatus" +_MAa = "ManagedAgents" +_NI = "NetworkInterface" +_aI = "attachmentId" +_pIA = "privateIpv4Address" +_iAp = "ipv6Address" +_NIe = "NetworkInterfaces" +_NDI = "NeuronDeviceIds" +_Cont = "Container" +_nI = "networkInterfaces" +_gIp = "gpuIds" +_nDI = "neuronDeviceIds" +_gSS = "gpuSharingStrategy" +_Conta = "Containers" +_TES = "TaskEphemeralStorage" +_CO = "ContainerOverride" +_COo = "ContainerOverrides" +_IAO = "InferenceAcceleratorOverride" +_IAOn = "InferenceAcceleratorOverrides" +_TOa = "TaskOverride" +_cO = "containerOverrides" +_iAO = "inferenceAcceleratorOverrides" +_TSC = "TaskStopCode" +_TFTS = "TASK_FAILED_TO_START" +_TFTSa = "TaskFailedToStart" +_ECE = "ESSENTIAL_CONTAINER_EXITED" +_ECEs = "EssentialContainerExited" +_UI = "USER_INITIATED" +_UIs = "UserInitiated" +_SSI = "SERVICE_SCHEDULER_INITIATED" +_SSIe = "ServiceSchedulerInitiated" +_SI = "SPOT_INTERRUPTION" +_SIp = "SpotInterruption" +_TN = "TERMINATION_NOTICE" +_TNe = "TerminationNotice" +_IH = "INFRASTRUCTURE_HEALTH" +_IHn = "InfrastructureHealth" +_APS = "AttestationPolicyStatus" +_CONFIGURED = "CONFIGURED" +_TESr = "TrustedExecutionSummary" +_aPS = "attestationPolicyStatus" +_Tas = "Task" +_aZ = "availabilityZone" +_conn = "connectivity" +_cAon = "connectivityAt" +_gro = "group" +_sCto = "stopCode" +_sRt = "stoppedReason" +_sAto = "stoppingAt" +_tES = "trustedExecutionSummary" +_Task = "Tasks" +_DTO = "DescribeTasksOutput" +_cDTRo = "com.amazonaws.ecs#DescribeTasksResponse" +_DT = "DescribeTasks" +_GTPI = "GetTaskProtectionInput" +_cGTPR = "com.amazonaws.ecs#GetTaskProtectionRequest" +_PTr = "ProtectedTask" +_pE = "protectionEnabled" +_eD = "expirationDate" +_PTro = "ProtectedTasks" +_GTPO = "GetTaskProtectionOutput" +_cGTPRo = "com.amazonaws.ecs#GetTaskProtectionResponse" +_pTr = "protectedTasks" +_GTP = "GetTaskProtection" +_BE = "BlockedException" +_TMEBSVTP = "TaskManagedEBSVolumeTerminationPolicy" +_dOT = "deleteOnTermination" +_TMEBSVC = "TaskManagedEBSVolumeConfiguration" +_tP = "terminationPolicy" +_TVC = "TaskVolumeConfiguration" +_TVCa = "TaskVolumeConfigurations" +_RTI = "RunTaskInput" +_cRTR = "com.amazonaws.ecs#RunTaskRequest" +_cou = "count" +_rIef = "referenceId" +_RTO = "RunTaskOutput" +_cRTRo = "com.amazonaws.ecs#RunTaskResponse" +_RTu = "RunTask" +_STI = "StartTaskInput" +_cSTR = "com.amazonaws.ecs#StartTaskRequest" +_STO = "StartTaskOutput" +_cSTRo = "com.amazonaws.ecs#StartTaskResponse" +_STt = "StartTask" +_STIt = "StopTaskInput" +_cSTRom = "com.amazonaws.ecs#StopTaskRequest" +_STOt = "StopTaskOutput" +_cSTRoma = "com.amazonaws.ecs#StopTaskResponse" +_STto = "StopTask" +_UTPI = "UpdateTaskProtectionInput" +_cUTPR = "com.amazonaws.ecs#UpdateTaskProtectionRequest" +_eIM = "expiresInMinutes" +_UTPO = "UpdateTaskProtectionOutput" +_cUTPRo = "com.amazonaws.ecs#UpdateTaskProtectionResponse" +_UTP = "UpdateTaskProtection" +_CTSI = "CreateTaskSetInput" +_cCTSR = "com.amazonaws.ecs#CreateTaskSetRequest" +_CTSO = "CreateTaskSetOutput" +_cCTSRo = "com.amazonaws.ecs#CreateTaskSetResponse" +_CTS = "CreateTaskSet" +_DTSI = "DeleteTaskSetInput" +_cDTSR = "com.amazonaws.ecs#DeleteTaskSetRequest" +_DTSO = "DeleteTaskSetOutput" +_cDTSRo = "com.amazonaws.ecs#DeleteTaskSetResponse" +_DTS = "DeleteTaskSet" +_TSF = "TaskSetField" +_TSFL = "TaskSetFieldList" +_DTSIe = "DescribeTaskSetsInput" +_cDTSRom = "com.amazonaws.ecs#DescribeTaskSetsRequest" +_DTSOe = "DescribeTaskSetsOutput" +_cDTSRoma = "com.amazonaws.ecs#DescribeTaskSetsResponse" +_DTSe = "DescribeTaskSets" +_UTSI = "UpdateTaskSetInput" +_cUTSR = "com.amazonaws.ecs#UpdateTaskSetRequest" +_UTSO = "UpdateTaskSetOutput" +_cUTSRo = "com.amazonaws.ecs#UpdateTaskSetResponse" +_UTS = "UpdateTaskSet" +_TKa = "TagKeys" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.ecs#UntagResourceRequest" +_tK = "tagKeys" +_URO = "UntagResourceOutput" +_cURRo = "com.amazonaws.ecs#UntagResourceResponse" +_UR = "UntagResource" +_AECCSV = "AmazonEC2ContainerServiceV20141113" +_a__ = "aws.protocols#awsJson1_1" +_awsa = "aws.api#service" +_awsau = "aws.auth#sigv4" +_sNm = "smithy.api#xmlNamespace" + +SERVICE_REVISION: StaticSchema = ( + 18, + n0, + _SRerv, + 0, + ( + _sRA, + _sAe, + _cA, + _tD, + _cPS, + _lT, + _pV, + _pF, + _lB, + _sRe, + _nC, + _cIont, + _gDE, + _sCC, + _vCo, + _fES, + _cAr, + _vLC, + _rCes, + _eMR, + _ov, + _gCa, + _mo, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CAPACITY_PROVIDER_STRATEGY, 0), + (lambda: schemas.LAUNCH_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LOAD_BALANCERS, 0), + (lambda: schemas.SERVICE_REGISTRIES, 0), + (lambda: schemas.NETWORK_CONFIGURATION, 0), + (lambda: schemas.CONTAINER_IMAGES, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.SERVICE_CONNECT_CONFIGURATION, 0), + (lambda: schemas.SERVICE_VOLUME_CONFIGURATIONS, 0), + (lambda: schemas.DEPLOYMENT_EPHEMERAL_STORAGE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.VPC_LATTICE_CONFIGURATIONS, 0), + (lambda: schemas.RESOLVED_CONFIGURATION, 0), + (lambda: schemas.ECS_MANAGED_RESOURCES, 0), + (lambda: schemas.SERVICE_REVISION_OVERRIDES, 0), + (lambda: schemas.GATEWAY_CONNECTOR_LIST, 0), + (lambda: schemas.MONITORING_CONFIGURATION, 0), + ), +) + +SERVICE_REVISIONS: StaticSchema = (16, n0, _SRervi, 0, (_me,), ((SERVICE_REVISION, 0),)) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smit: None}, + (_rAes, _ta), + ((lambda: schemas.STRING, 1), (lambda: schemas.TAGS, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smith: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + 0, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +DELETE_TASK_DEFINITIONS_INPUT: StaticSchema = ( + 18, + n0, + _DTDIel, + {_sSI: _cDTDRomam, _smit: None}, + (_tDa,), + ((lambda: schemas.STRING_LIST, 1),), +) + +DELETE_TASK_DEFINITIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTDOel, + {_sSI: _cDTDRomama, _smith: None}, + (_tDa, _fa), + ((lambda: TASK_DEFINITION_LIST, 0), (lambda: schemas.FAILURES, 0)), +) + +DELETE_TASK_DEFINITIONS: StaticOperationSchema = ( + 23, + n0, + _DTDel, + 0, + DELETE_TASK_DEFINITIONS_INPUT, + DELETE_TASK_DEFINITIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +TASK_DEFINITION_LIST: StaticSchema = ( + 16, + n0, + _TDL, + 0, + (_me,), + ((lambda: schemas.TASK_DEFINITION, 0),), +) + +LIST_TASK_DEFINITIONS_INPUT: StaticSchema = ( + 18, + n0, + _LTDI, + {_sSI: _cLTDR, _smit: None}, + (_fP, _st, _so, _nT, _mR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TASK_DEFINITION_STATUS, 0), + (lambda: schemas.SORT_ORDER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +LIST_TASK_DEFINITIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTDO, + {_sSI: _cLTDRo, _smith: None}, + (_tDAa, _nT), + ((lambda: schemas.STRING_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_TASK_DEFINITIONS: StaticOperationSchema = ( + 23, + n0, + _LTD, + 0, + LIST_TASK_DEFINITIONS_INPUT, + LIST_TASK_DEFINITIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +REGISTER_TASK_DEFINITION_INPUT: StaticSchema = ( + 18, + n0, + _RTDI, + {_sSI: _cRTDR, _smit: None}, + ( + _fam, + _tRA, + _eRA, + _nMe, + _cD, + _vo, + _pC, + _rCeq, + _cp, + _memo, + _ta, + _pM, + _iM, + _pCr, + _iAn, + _eS, + _rPu, + _eFI, + _tEC, + ), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.NETWORK_MODE, 0), + (lambda: schemas.CONTAINER_DEFINITIONS, 1), + (lambda: schemas.VOLUME_LIST, 0), + (lambda: schemas.TASK_DEFINITION_PLACEMENT_CONSTRAINTS, 0), + (lambda: schemas.COMPATIBILITY_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.PID_MODE, 0), + (lambda: schemas.IPC_MODE, 0), + (lambda: schemas.PROXY_CONFIGURATION, 0), + (lambda: schemas.INFERENCE_ACCELERATORS, 0), + (lambda: schemas.EPHEMERAL_STORAGE, 0), + (lambda: schemas.RUNTIME_PLATFORM, 0), + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.TRUSTED_EXECUTION_CONFIGURATION, 0), + ), +) + +REGISTER_TASK_DEFINITION_OUTPUT: StaticSchema = ( + 18, + n0, + _RTDO, + {_sSI: _cRTDRo, _smith: None}, + (_tD, _ta), + ((lambda: schemas.TASK_DEFINITION, 0), (lambda: schemas.TAGS, 0)), +) + +REGISTER_TASK_DEFINITION: StaticOperationSchema = ( + 23, + n0, + _RTD, + 0, + REGISTER_TASK_DEFINITION_INPUT, + REGISTER_TASK_DEFINITION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +TASK_FIELD: StaticSchema = (14, n0, _TF, 0, (_TAGS,), ((-1, {_sV: _TAGS}),)) + +TASK_FIELD_LIST: StaticSchema = (16, n0, _TFL, 0, (_me,), ((TASK_FIELD, 0),)) + +DESCRIBE_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DTI, + {_sSI: _cDTR, _smit: None}, + (_cl, _task, _incl), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 1), + (TASK_FIELD_LIST, 0), + ), +) + +DESCRIBE_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTO, + {_sSI: _cDTRo, _smith: None}, + (_task, _fa), + ((lambda: TASKS, 0), (lambda: schemas.FAILURES, 0)), +) + +DESCRIBE_TASKS: StaticOperationSchema = ( + 23, + n0, + _DT, + 0, + DESCRIBE_TASKS_INPUT, + DESCRIBE_TASKS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +CONNECTIVITY: StaticSchema = ( + 14, + n0, + _Con, + 0, + (_CONNECTED, _DISCONNECTED), + ((-1, {_sV: _CONNECTED}), (-1, {_sV: _DISCONNECTED})), +) + +GPU_IDS: StaticSchema = (16, n0, _GI, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +HEALTH_STATUS: StaticSchema = ( + 14, + n0, + _HS, + 0, + (_HEALTHY, _UNHEALTHY, _UNKNOWN), + ((-1, {_sV: _HEALTHY}), (-1, {_sV: _UNHEALTHY}), (-1, {_sV: _UNKNOWN})), +) + +MANAGED_AGENT: StaticSchema = ( + 18, + n0, + _MA, + 0, + (_lSA, _na, _re, _lSa), + ( + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.MANAGED_AGENT_NAME, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +MANAGED_AGENTS: StaticSchema = (16, n0, _MAa, 0, (_me,), ((MANAGED_AGENT, 0),)) + +NETWORK_INTERFACE: StaticSchema = ( + 18, + n0, + _NI, + 0, + (_aI, _pIA, _iAp), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +NETWORK_INTERFACES: StaticSchema = (16, n0, _NIe, 0, (_me,), ((NETWORK_INTERFACE, 0),)) + +NEURON_DEVICE_IDS: StaticSchema = ( + 16, + n0, + _NDI, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +CONTAINER: StaticSchema = ( + 18, + n0, + _Cont, + 0, + ( + _cAo, + _tA, + _na, + _im, + _iD, + _rI, + _lSa, + _eC, + _re, + _nB, + _nI, + _hS, + _mA, + _cp, + _memo, + _mRe, + _gIp, + _nDI, + _gSS, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.NETWORK_BINDINGS, 0), + (NETWORK_INTERFACES, 0), + (HEALTH_STATUS, 0), + (MANAGED_AGENTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (GPU_IDS, 0), + (NEURON_DEVICE_IDS, 0), + (lambda: schemas.SHARING_STRATEGY, 0), + ), +) + +CONTAINERS: StaticSchema = (16, n0, _Conta, 0, (_me,), ((CONTAINER, 0),)) + +TASK_EPHEMERAL_STORAGE: StaticSchema = ( + 18, + n0, + _TES, + 0, + (_sIGB, _kKI), + ((lambda: schemas.INTEGER, {_smi: 0}), (lambda: schemas.STRING, 0)), +) + +CONTAINER_OVERRIDE: StaticSchema = ( + 18, + n0, + _CO, + 0, + (_na, _com, _env, _eF, _cp, _memo, _mRe, _rRes), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.ENVIRONMENT_VARIABLES, 0), + (lambda: schemas.ENVIRONMENT_FILES, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.RESOURCE_REQUIREMENTS, 0), + ), +) + +CONTAINER_OVERRIDES: StaticSchema = ( + 16, + n0, + _COo, + 0, + (_me,), + ((CONTAINER_OVERRIDE, 0),), +) + +INFERENCE_ACCELERATOR_OVERRIDE: StaticSchema = ( + 18, + n0, + _IAO, + 0, + (_dNe, _dT), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +INFERENCE_ACCELERATOR_OVERRIDES: StaticSchema = ( + 16, + n0, + _IAOn, + 0, + (_me,), + ((INFERENCE_ACCELERATOR_OVERRIDE, 0),), +) + +TASK_OVERRIDE: StaticSchema = ( + 18, + n0, + _TOa, + 0, + (_cO, _cp, _iAO, _eRA, _memo, _tRA, _eS), + ( + (CONTAINER_OVERRIDES, 0), + (lambda: schemas.STRING, 0), + (INFERENCE_ACCELERATOR_OVERRIDES, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EPHEMERAL_STORAGE, 0), + ), +) + +TASK_STOP_CODE: StaticSchema = ( + 14, + n0, + _TSC, + 0, + (_TFTS, _ECE, _UI, _SSI, _SI, _TN, _IH), + ( + (-1, {_sV: _TFTSa}), + (-1, {_sV: _ECEs}), + (-1, {_sV: _UIs}), + (-1, {_sV: _SSIe}), + (-1, {_sV: _SIp}), + (-1, {_sV: _TNe}), + (-1, {_sV: _IHn}), + ), +) + +ATTESTATION_POLICY_STATUS: StaticSchema = ( + 14, + n0, + _APS, + 0, + (_CONFIGURED,), + ((-1, {_sV: _CONFIGURED}),), +) + +TRUSTED_EXECUTION_SUMMARY: StaticSchema = ( + 18, + n0, + _TESr, + 0, + (_iMs, _aPS), + ((lambda: schemas.ISOLATION_MODE, 1), (ATTESTATION_POLICY_STATUS, 0)), +) + +TASK: StaticSchema = ( + 18, + n0, + _Tas, + 0, + ( + _at, + _att, + _aZ, + _cPN, + _cA, + _conn, + _cAon, + _cIA, + _cont, + _cp, + _cAr, + _dS, + _eEC, + _eSA, + _gro, + _hS, + _iAn, + _lSa, + _lT, + _memo, + _ov, + _pV, + _pF, + _pSA, + _pSAu, + _sA, + _sB, + _sCto, + _sAt, + _sRt, + _sAto, + _ta, + _tA, + _tDA, + _ve, + _eS, + _fES, + _tES, + ), + ( + (lambda: schemas.ATTACHMENTS, 0), + (lambda: schemas.ATTRIBUTES, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (CONNECTIVITY, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (CONTAINERS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (HEALTH_STATUS, 0), + (lambda: schemas.INFERENCE_ACCELERATORS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LAUNCH_TYPE, 0), + (lambda: schemas.STRING, 0), + (TASK_OVERRIDE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (TASK_STOP_CODE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, {_smi: 0}), + (lambda: schemas.EPHEMERAL_STORAGE, 0), + (TASK_EPHEMERAL_STORAGE, 0), + (TRUSTED_EXECUTION_SUMMARY, 0), + ), +) + +TASKS: StaticSchema = (16, n0, _Task, 0, (_me,), ((TASK, 0),)) + +GET_TASK_PROTECTION_INPUT: StaticSchema = ( + 18, + n0, + _GTPI, + {_sSI: _cGTPR, _smit: None}, + (_cl, _task), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING_LIST, 0)), +) + +GET_TASK_PROTECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GTPO, + {_sSI: _cGTPRo, _smith: None}, + (_pTr, _fa), + ((lambda: PROTECTED_TASKS, 0), (lambda: schemas.FAILURES, 0)), +) + +GET_TASK_PROTECTION: StaticOperationSchema = ( + 23, + n0, + _GTP, + 0, + GET_TASK_PROTECTION_INPUT, + GET_TASK_PROTECTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +PROTECTED_TASK: StaticSchema = ( + 18, + n0, + _PTr, + 0, + (_tA, _pE, _eD), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +PROTECTED_TASKS: StaticSchema = (16, n0, _PTro, 0, (_me,), ((PROTECTED_TASK, 0),)) + +BLOCKED_EXCEPTION: StaticSchema = ( + 18, + n0, + _BE, + {_s: _c}, + (_mes,), + ((lambda: schemas.STRING, 0),), +) + +TASK_MANAGED_EBS_VOLUME_TERMINATION_POLICY: StaticSchema = ( + 18, + n0, + _TMEBSVTP, + 0, + (_dOT,), + ((lambda: schemas.BOXED_BOOLEAN, 1),), +) + +TASK_MANAGED_EBS_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TMEBSVC, + 0, + (_enc, _kKI, _vT, _sIGB, _sIn, _vIR, _io, _thr, _tS, _rA, _tP, _fT), + ( + (lambda: schemas.BOXED_BOOLEAN, 0), + (lambda: schemas.EBSKMS_KEY_ID, 0), + (lambda: schemas.EBS_VOLUME_TYPE, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.EBS_SNAPSHOT_ID, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.EBS_TAG_SPECIFICATIONS, 0), + (lambda: schemas.IAM_ROLE_ARN, 1), + (TASK_MANAGED_EBS_VOLUME_TERMINATION_POLICY, 0), + (lambda: schemas.TASK_FILESYSTEM_TYPE, 0), + ), +) + +TASK_VOLUME_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TVC, + 0, + (_na, _mEBSV), + ((lambda: schemas.ECS_VOLUME_NAME, 1), (TASK_MANAGED_EBS_VOLUME_CONFIGURATION, 0)), +) + +TASK_VOLUME_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _TVCa, + 0, + (_me,), + ((TASK_VOLUME_CONFIGURATION, 0),), +) + +RUN_TASK_INPUT: StaticSchema = ( + 18, + n0, + _RTI, + {_sSI: _cRTR, _smit: None}, + ( + _cPS, + _cl, + _cou, + _eECSMT, + _eEC, + _gro, + _lT, + _nC, + _ov, + _pC, + _pS, + _pV, + _pT, + _rIef, + _sB, + _ta, + _tD, + _cT, + _vCo, + ), + ( + (lambda: schemas.CAPACITY_PROVIDER_STRATEGY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOXED_INTEGER, 0), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.LAUNCH_TYPE, 0), + (lambda: schemas.NETWORK_CONFIGURATION, 0), + (TASK_OVERRIDE, 0), + (lambda: schemas.PLACEMENT_CONSTRAINTS, 0), + (lambda: schemas.PLACEMENT_STRATEGIES, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.PROPAGATE_TAGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 2), + (TASK_VOLUME_CONFIGURATIONS, 0), + ), +) + +RUN_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _RTO, + {_sSI: _cRTRo, _smith: None}, + (_task, _fa), + ((TASKS, 0), (lambda: schemas.FAILURES, 0)), +) + +RUN_TASK: StaticOperationSchema = ( + 23, + n0, + _RTu, + 0, + RUN_TASK_INPUT, + RUN_TASK_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + BLOCKED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, + lambda: schemas.PLATFORM_UNKNOWN_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +START_TASK_INPUT: StaticSchema = ( + 18, + n0, + _STI, + {_sSI: _cSTR, _smit: None}, + (_cl, _cIon, _eECSMT, _eEC, _gro, _nC, _ov, _pT, _rIef, _sB, _ta, _tD, _vCo), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 1), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.BOOLEAN, {_smi: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.NETWORK_CONFIGURATION, 0), + (TASK_OVERRIDE, 0), + (lambda: schemas.PROPAGATE_TAGS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.STRING, 1), + (TASK_VOLUME_CONFIGURATIONS, 0), + ), +) + +START_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _STO, + {_sSI: _cSTRo, _smith: None}, + (_task, _fa), + ((TASKS, 0), (lambda: schemas.FAILURES, 0)), +) + +START_TASK: StaticOperationSchema = ( + 23, + n0, + _STt, + 0, + START_TASK_INPUT, + START_TASK_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NAMESPACE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +STOP_TASK_INPUT: StaticSchema = ( + 18, + n0, + _STIt, + {_sSI: _cSTRom, _smit: None}, + (_cl, _tas, _re), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + ), +) + +STOP_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _STOt, + {_sSI: _cSTRoma, _smith: None}, + (_tas,), + ((TASK, 0),), +) + +STOP_TASK: StaticOperationSchema = ( + 23, + n0, + _STto, + 0, + STOP_TASK_INPUT, + STOP_TASK_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +UPDATE_TASK_PROTECTION_INPUT: StaticSchema = ( + 18, + n0, + _UTPI, + {_sSI: _cUTPR, _smit: None}, + (_cl, _task, _pE, _eIM), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING_LIST, 1), + (lambda: schemas.BOOLEAN, {_smi: False, _sm: None}), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +UPDATE_TASK_PROTECTION_OUTPUT: StaticSchema = ( + 18, + n0, + _UTPO, + {_sSI: _cUTPRo, _smith: None}, + (_pTr, _fa), + ((PROTECTED_TASKS, 0), (lambda: schemas.FAILURES, 0)), +) + +UPDATE_TASK_PROTECTION: StaticOperationSchema = ( + 23, + n0, + _UTP, + 0, + UPDATE_TASK_PROTECTION_INPUT, + UPDATE_TASK_PROTECTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +CREATE_TASK_SET_INPUT: StaticSchema = ( + 18, + n0, + _CTSI, + {_sSI: _cCTSR, _smit: None}, + (_ser, _cl, _eI, _tD, _nC, _lB, _sRe, _lT, _cPS, _pV, _sca, _cT, _ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.NETWORK_CONFIGURATION, 0), + (lambda: schemas.LOAD_BALANCERS, 0), + (lambda: schemas.SERVICE_REGISTRIES, 0), + (lambda: schemas.LAUNCH_TYPE, 0), + (lambda: schemas.CAPACITY_PROVIDER_STRATEGY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SCALE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAGS, 0), + ), +) + +CREATE_TASK_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _CTSO, + {_sSI: _cCTSRo, _smith: None}, + (_tSas,), + ((lambda: schemas.TASK_SET, 0),), +) + +CREATE_TASK_SET: StaticOperationSchema = ( + 23, + n0, + _CTS, + 0, + CREATE_TASK_SET_INPUT, + CREATE_TASK_SET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NAMESPACE_NOT_FOUND_EXCEPTION, + lambda: schemas.PLATFORM_TASK_DEFINITION_INCOMPATIBILITY_EXCEPTION, + lambda: schemas.PLATFORM_UNKNOWN_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_ACTIVE_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +DELETE_TASK_SET_INPUT: StaticSchema = ( + 18, + n0, + _DTSI, + {_sSI: _cDTSR, _smit: None}, + (_cl, _ser, _tSas, _fo), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOXED_BOOLEAN, 0), + ), +) + +DELETE_TASK_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _DTSO, + {_sSI: _cDTSRo, _smith: None}, + (_tSas,), + ((lambda: schemas.TASK_SET, 0),), +) + +DELETE_TASK_SET: StaticOperationSchema = ( + 23, + n0, + _DTS, + 0, + DELETE_TASK_SET_INPUT, + DELETE_TASK_SET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_ACTIVE_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.TASK_SET_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +TASK_SET_FIELD: StaticSchema = (14, n0, _TSF, 0, (_TAGS,), ((-1, {_sV: _TAGS}),)) + +TASK_SET_FIELD_LIST: StaticSchema = (16, n0, _TSFL, 0, (_me,), ((TASK_SET_FIELD, 0),)) + +DESCRIBE_TASK_SETS_INPUT: StaticSchema = ( + 18, + n0, + _DTSIe, + {_sSI: _cDTSRom, _smit: None}, + (_cl, _ser, _tSa, _incl), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING_LIST, 0), + (TASK_SET_FIELD_LIST, 0), + ), +) + +DESCRIBE_TASK_SETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DTSOe, + {_sSI: _cDTSRoma, _smith: None}, + (_tSa, _fa), + ((lambda: schemas.TASK_SETS, 0), (lambda: schemas.FAILURES, 0)), +) + +DESCRIBE_TASK_SETS: StaticOperationSchema = ( + 23, + n0, + _DTSe, + 0, + DESCRIBE_TASK_SETS_INPUT, + DESCRIBE_TASK_SETS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_ACTIVE_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +UPDATE_TASK_SET_INPUT: StaticSchema = ( + 18, + n0, + _UTSI, + {_sSI: _cUTSR, _smit: None}, + (_cl, _ser, _tSas, _sca), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.SCALE, 1), + ), +) + +UPDATE_TASK_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _UTSO, + {_sSI: _cUTSRo, _smith: None}, + (_tSas,), + ((lambda: schemas.TASK_SET, 0),), +) + +UPDATE_TASK_SET: StaticOperationSchema = ( + 23, + n0, + _UTS, + 0, + UPDATE_TASK_SET_INPUT, + UPDATE_TASK_SET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + lambda: schemas.SERVICE_NOT_ACTIVE_EXCEPTION, + lambda: schemas.SERVICE_NOT_FOUND_EXCEPTION, + lambda: schemas.TASK_SET_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_FEATURE_EXCEPTION, + ), +) + +TAG_KEYS: StaticSchema = (16, n0, _TKa, 0, (_me,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _smit: None}, + (_rAes, _tK), + ((lambda: schemas.STRING, 1), (TAG_KEYS, 1)), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smith: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + 0, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CLIENT_EXCEPTION, + lambda: schemas.CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVER_EXCEPTION, + ), +) + +AMAZON_EC2_CONTAINER_SERVICE_V20141113: StaticSchema = ( + 21, + n0, + _AECCSV, + { + _a__: None, + _awsa: MappingProxyType( + { + "sdkId": "ECS", + "arnNamespace": "ecs", + "cloudFormationName": "ECS", + "cloudTrailEventSource": "ecs.amazonaws.com", + "endpointPrefix": "ecs", + "cloudWatchNamespace": "AWS/ECS", + } + ), + _awsau: MappingProxyType({"name": "ecs"}), + _sNm: MappingProxyType({"uri": "http://ecs.amazonaws.com/doc/2014-11-13/"}), + }, +) diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/aio/client.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/aio/client.py index 3e7bbe579..8bf5e5b45 100644 --- a/clients/aws-sdk-ecs/src/aws_sdk_ecs/aio/client.py +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/aio/config.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/aio/config.py index 9d813d7cf..589735b47 100644 --- a/clients/aws-sdk-ecs/src/aws_sdk_ecs/aio/config.py +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson11ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/client.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/client.py index 2bf650e63..8c0c651f3 100644 --- a/clients/aws-sdk-ecs/src/aws_sdk_ecs/client.py +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/config.py b/clients/aws-sdk-ecs/src/aws_sdk_ecs/config.py index 3939aa81c..1b5eeb86f 100644 --- a/clients/aws-sdk-ecs/src/aws_sdk_ecs/config.py +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson11ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-ecs/src/aws_sdk_ecs/models.pyi b/clients/aws-sdk-ecs/src/aws_sdk_ecs/models.pyi index df828727a..c9ca6934f 100644 --- a/clients/aws-sdk-ecs/src/aws_sdk_ecs/models.pyi +++ b/clients/aws-sdk-ecs/src/aws_sdk_ecs/models.pyi @@ -1,17 +1,612 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self from smithy_core.deserializers import ShapeDeserializer -from smithy_core.documents import Document from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AcceleratorCountRequest as AcceleratorCountRequest, + AcceleratorManufacturer as AcceleratorManufacturer, + AcceleratorName as AcceleratorName, + AcceleratorTotalMemoryMiBRequest as AcceleratorTotalMemoryMiBRequest, + AcceleratorType as AcceleratorType, + AccessDeniedException as AccessDeniedException, + AccessType as AccessType, + AdvancedConfiguration as AdvancedConfiguration, + AgentUpdateStatus as AgentUpdateStatus, + ApplicationProtocol as ApplicationProtocol, + AssignPublicIp as AssignPublicIp, + AssociateGatewayWithClusterInput as AssociateGatewayWithClusterInput, + AssociateGatewayWithClusterOutput as AssociateGatewayWithClusterOutput, + Attachment as Attachment, + AttachmentStateChange as AttachmentStateChange, + AttestationPolicyStatus as AttestationPolicyStatus, + Attribute as Attribute, + AttributeLimitExceededException as AttributeLimitExceededException, + AutoRepairActionsStatus as AutoRepairActionsStatus, + AutoRepairConfiguration as AutoRepairConfiguration, + AutoScalingGroupProvider as AutoScalingGroupProvider, + AutoScalingGroupProviderUpdate as AutoScalingGroupProviderUpdate, + AvailabilityZoneRebalancing as AvailabilityZoneRebalancing, + AwsVpcConfiguration as AwsVpcConfiguration, + BareMetal as BareMetal, + BaselineEbsBandwidthMbpsRequest as BaselineEbsBandwidthMbpsRequest, + BlockedException as BlockedException, + BurstablePerformance as BurstablePerformance, + CanaryConfiguration as CanaryConfiguration, + CapacityOptionType as CapacityOptionType, + CapacityProvider as CapacityProvider, + CapacityProviderField as CapacityProviderField, + CapacityProviderStatus as CapacityProviderStatus, + CapacityProviderStrategyItem as CapacityProviderStrategyItem, + CapacityProviderType as CapacityProviderType, + CapacityProviderUpdateStatus as CapacityProviderUpdateStatus, + CapacityReservationPreference as CapacityReservationPreference, + CapacityReservationRequest as CapacityReservationRequest, + ClientException as ClientException, + Cluster as Cluster, + ClusterConfiguration as ClusterConfiguration, + ClusterContainsCapacityProviderException as ClusterContainsCapacityProviderException, + ClusterContainsContainerInstancesException as ClusterContainsContainerInstancesException, + ClusterContainsServicesException as ClusterContainsServicesException, + ClusterContainsTasksException as ClusterContainsTasksException, + ClusterField as ClusterField, + ClusterNotFoundException as ClusterNotFoundException, + ClusterServiceConnectDefaults as ClusterServiceConnectDefaults, + ClusterServiceConnectDefaultsRequest as ClusterServiceConnectDefaultsRequest, + ClusterSetting as ClusterSetting, + ClusterSettingName as ClusterSettingName, + Compatibility as Compatibility, + ConflictException as ConflictException, + Connectivity as Connectivity, + Container as Container, + ContainerCondition as ContainerCondition, + ContainerDefinition as ContainerDefinition, + ContainerDependency as ContainerDependency, + ContainerImage as ContainerImage, + ContainerInstance as ContainerInstance, + ContainerInstanceField as ContainerInstanceField, + ContainerInstanceHealthStatus as ContainerInstanceHealthStatus, + ContainerInstanceStatus as ContainerInstanceStatus, + ContainerOverride as ContainerOverride, + ContainerRestartPolicy as ContainerRestartPolicy, + ContainerStateChange as ContainerStateChange, + ContinueServiceDeploymentInput as ContinueServiceDeploymentInput, + ContinueServiceDeploymentOutput as ContinueServiceDeploymentOutput, + CPUArchitecture as CPUArchitecture, + CpuManufacturer as CpuManufacturer, + CreateCapacityProviderInput as CreateCapacityProviderInput, + CreateCapacityProviderOutput as CreateCapacityProviderOutput, + CreateClusterInput as CreateClusterInput, + CreateClusterOutput as CreateClusterOutput, + CreateDaemonInput as CreateDaemonInput, + CreateDaemonOutput as CreateDaemonOutput, + CreatedAt as CreatedAt, + CreateExpressGatewayServiceInput as CreateExpressGatewayServiceInput, + CreateExpressGatewayServiceOutput as CreateExpressGatewayServiceOutput, + CreateGatewayInput as CreateGatewayInput, + CreateGatewayOutput as CreateGatewayOutput, + CreateManagedInstancesProviderConfiguration as CreateManagedInstancesProviderConfiguration, + CreateServiceInput as CreateServiceInput, + CreateServiceOutput as CreateServiceOutput, + CreateTaskSetInput as CreateTaskSetInput, + CreateTaskSetOutput as CreateTaskSetOutput, + DaemonAlarmConfiguration as DaemonAlarmConfiguration, + DaemonCapacityProvider as DaemonCapacityProvider, + DaemonCircuitBreaker as DaemonCircuitBreaker, + DaemonContainerDefinition as DaemonContainerDefinition, + DaemonContainerImage as DaemonContainerImage, + DaemonDeployment as DaemonDeployment, + DaemonDeploymentAlarms as DaemonDeploymentAlarms, + DaemonDeploymentCapacityProvider as DaemonDeploymentCapacityProvider, + DaemonDeploymentConfiguration as DaemonDeploymentConfiguration, + DaemonDeploymentRevisionDetail as DaemonDeploymentRevisionDetail, + DaemonDeploymentRollbackMonitorsStatus as DaemonDeploymentRollbackMonitorsStatus, + DaemonDeploymentStatus as DaemonDeploymentStatus, + DaemonDeploymentSummary as DaemonDeploymentSummary, + DaemonDetail as DaemonDetail, + DaemonIpcMode as DaemonIpcMode, + DaemonLinuxParameters as DaemonLinuxParameters, + DaemonNotActiveException as DaemonNotActiveException, + DaemonNotFoundException as DaemonNotFoundException, + DaemonPidMode as DaemonPidMode, + DaemonPropagateTags as DaemonPropagateTags, + DaemonRevision as DaemonRevision, + DaemonRevisionDetail as DaemonRevisionDetail, + DaemonRollback as DaemonRollback, + DaemonStatus as DaemonStatus, + DaemonSummary as DaemonSummary, + DaemonTaskDefinition as DaemonTaskDefinition, + DaemonTaskDefinitionRevisionFilter as DaemonTaskDefinitionRevisionFilter, + DaemonTaskDefinitionStatus as DaemonTaskDefinitionStatus, + DaemonTaskDefinitionStatusFilter as DaemonTaskDefinitionStatusFilter, + DaemonTaskDefinitionSummary as DaemonTaskDefinitionSummary, + DaemonVolume as DaemonVolume, + DeleteAccountSettingInput as DeleteAccountSettingInput, + DeleteAccountSettingOutput as DeleteAccountSettingOutput, + DeleteAttributesInput as DeleteAttributesInput, + DeleteAttributesOutput as DeleteAttributesOutput, + DeleteCapacityProviderInput as DeleteCapacityProviderInput, + DeleteCapacityProviderOutput as DeleteCapacityProviderOutput, + DeleteClusterInput as DeleteClusterInput, + DeleteClusterOutput as DeleteClusterOutput, + DeleteDaemonInput as DeleteDaemonInput, + DeleteDaemonOutput as DeleteDaemonOutput, + DeleteDaemonTaskDefinitionInput as DeleteDaemonTaskDefinitionInput, + DeleteDaemonTaskDefinitionOutput as DeleteDaemonTaskDefinitionOutput, + DeleteExpressGatewayServiceInput as DeleteExpressGatewayServiceInput, + DeleteExpressGatewayServiceOutput as DeleteExpressGatewayServiceOutput, + DeleteGatewayInput as DeleteGatewayInput, + DeleteGatewayOutput as DeleteGatewayOutput, + DeleteServiceInput as DeleteServiceInput, + DeleteServiceOutput as DeleteServiceOutput, + DeleteTaskDefinitionsInput as DeleteTaskDefinitionsInput, + DeleteTaskDefinitionsOutput as DeleteTaskDefinitionsOutput, + DeleteTaskSetInput as DeleteTaskSetInput, + DeleteTaskSetOutput as DeleteTaskSetOutput, + Deployment as Deployment, + DeploymentAlarms as DeploymentAlarms, + DeploymentCircuitBreaker as DeploymentCircuitBreaker, + DeploymentConfiguration as DeploymentConfiguration, + DeploymentController as DeploymentController, + DeploymentControllerType as DeploymentControllerType, + DeploymentEarlySuccessCriteria as DeploymentEarlySuccessCriteria, + DeploymentEphemeralStorage as DeploymentEphemeralStorage, + DeploymentLifecycleHook as DeploymentLifecycleHook, + DeploymentLifecycleHookAction as DeploymentLifecycleHookAction, + DeploymentLifecycleHookDetail as DeploymentLifecycleHookDetail, + DeploymentLifecycleHookStage as DeploymentLifecycleHookStage, + DeploymentLifecycleHookStatus as DeploymentLifecycleHookStatus, + DeploymentLifecycleHookTargetType as DeploymentLifecycleHookTargetType, + DeploymentLifecycleHookTimeoutConfiguration as DeploymentLifecycleHookTimeoutConfiguration, + DeploymentRolloutState as DeploymentRolloutState, + DeploymentStrategy as DeploymentStrategy, + DeregisterContainerInstanceInput as DeregisterContainerInstanceInput, + DeregisterContainerInstanceOutput as DeregisterContainerInstanceOutput, + DeregisterTaskDefinitionInput as DeregisterTaskDefinitionInput, + DeregisterTaskDefinitionOutput as DeregisterTaskDefinitionOutput, + DescribeCapacityProvidersInput as DescribeCapacityProvidersInput, + DescribeCapacityProvidersOutput as DescribeCapacityProvidersOutput, + DescribeClustersInput as DescribeClustersInput, + DescribeClustersOutput as DescribeClustersOutput, + DescribeContainerInstancesInput as DescribeContainerInstancesInput, + DescribeContainerInstancesOutput as DescribeContainerInstancesOutput, + DescribeDaemonDeploymentsInput as DescribeDaemonDeploymentsInput, + DescribeDaemonDeploymentsOutput as DescribeDaemonDeploymentsOutput, + DescribeDaemonInput as DescribeDaemonInput, + DescribeDaemonOutput as DescribeDaemonOutput, + DescribeDaemonRevisionsInput as DescribeDaemonRevisionsInput, + DescribeDaemonRevisionsOutput as DescribeDaemonRevisionsOutput, + DescribeDaemonTaskDefinitionInput as DescribeDaemonTaskDefinitionInput, + DescribeDaemonTaskDefinitionOutput as DescribeDaemonTaskDefinitionOutput, + DescribeExpressGatewayServiceInput as DescribeExpressGatewayServiceInput, + DescribeExpressGatewayServiceOutput as DescribeExpressGatewayServiceOutput, + DescribeGatewayAlbConfiguration as DescribeGatewayAlbConfiguration, + DescribeGatewayConfigurationHostSharedAlb as DescribeGatewayConfigurationHostSharedAlb, + DescribeGatewayConfigurationUnknown as DescribeGatewayConfigurationUnknown, + DescribeGatewayConfiguration as DescribeGatewayConfiguration, + _DescribeGatewayConfigurationDeserializer as _DescribeGatewayConfigurationDeserializer, + DescribeGatewayInput as DescribeGatewayInput, + DescribeGatewayOutput as DescribeGatewayOutput, + DescribeGatewayResourcesInput as DescribeGatewayResourcesInput, + DescribeGatewayResourcesOutput as DescribeGatewayResourcesOutput, + DescribeGatewayRouteInput as DescribeGatewayRouteInput, + DescribeGatewayRouteOutput as DescribeGatewayRouteOutput, + DescribeServiceDeploymentsInput as DescribeServiceDeploymentsInput, + DescribeServiceDeploymentsOutput as DescribeServiceDeploymentsOutput, + DescribeServiceRevisionsInput as DescribeServiceRevisionsInput, + DescribeServiceRevisionsOutput as DescribeServiceRevisionsOutput, + DescribeServicesInput as DescribeServicesInput, + DescribeServicesOutput as DescribeServicesOutput, + DescribeTaskDefinitionInput as DescribeTaskDefinitionInput, + DescribeTaskDefinitionOutput as DescribeTaskDefinitionOutput, + DescribeTaskSetsInput as DescribeTaskSetsInput, + DescribeTaskSetsOutput as DescribeTaskSetsOutput, + DescribeTasksInput as DescribeTasksInput, + DescribeTasksOutput as DescribeTasksOutput, + DesiredStatus as DesiredStatus, + Device as Device, + DeviceCgroupPermission as DeviceCgroupPermission, + DisassociateGatewayFromClusterInput as DisassociateGatewayFromClusterInput, + DisassociateGatewayFromClusterOutput as DisassociateGatewayFromClusterOutput, + DiscoverPollEndpointInput as DiscoverPollEndpointInput, + DiscoverPollEndpointOutput as DiscoverPollEndpointOutput, + DockerVolumeConfiguration as DockerVolumeConfiguration, + EBSResourceType as EBSResourceType, + EBSTagSpecification as EBSTagSpecification, + ECSExpressGatewayService as ECSExpressGatewayService, + ECSManagedResources as ECSManagedResources, + EFSAuthorizationConfig as EFSAuthorizationConfig, + EFSAuthorizationConfigIAM as EFSAuthorizationConfigIAM, + EFSTransitEncryption as EFSTransitEncryption, + EFSVolumeConfiguration as EFSVolumeConfiguration, + ElbGatewayResources as ElbGatewayResources, + EnvironmentFile as EnvironmentFile, + EnvironmentFileType as EnvironmentFileType, + EphemeralStorage as EphemeralStorage, + ExecuteCommandConfiguration as ExecuteCommandConfiguration, + ExecuteCommandInput as ExecuteCommandInput, + ExecuteCommandLogConfiguration as ExecuteCommandLogConfiguration, + ExecuteCommandLogging as ExecuteCommandLogging, + ExecuteCommandOutput as ExecuteCommandOutput, + ExpressCpuArchitecture as ExpressCpuArchitecture, + ExpressGatewayContainer as ExpressGatewayContainer, + ExpressGatewayRepositoryCredentials as ExpressGatewayRepositoryCredentials, + ExpressGatewayScalingTarget as ExpressGatewayScalingTarget, + ExpressGatewayServiceAwsLogsConfiguration as ExpressGatewayServiceAwsLogsConfiguration, + ExpressGatewayServiceConfiguration as ExpressGatewayServiceConfiguration, + ExpressGatewayServiceInclude as ExpressGatewayServiceInclude, + ExpressGatewayServiceNetworkConfiguration as ExpressGatewayServiceNetworkConfiguration, + ExpressGatewayServiceScalingMetric as ExpressGatewayServiceScalingMetric, + ExpressGatewayServiceStatus as ExpressGatewayServiceStatus, + ExpressGatewayServiceStatusCode as ExpressGatewayServiceStatusCode, + Failure as Failure, + FirelensConfiguration as FirelensConfiguration, + FirelensConfigurationType as FirelensConfigurationType, + FSxWindowsFileServerAuthorizationConfig as FSxWindowsFileServerAuthorizationConfig, + FSxWindowsFileServerVolumeConfiguration as FSxWindowsFileServerVolumeConfiguration, + Gateway as Gateway, + GatewayAlbDesyncMitigationMode as GatewayAlbDesyncMitigationMode, + GatewayAlbProtocol as GatewayAlbProtocol, + GatewayAlbTestTrafficRules as GatewayAlbTestTrafficRules, + GatewayClusterAssociationStatus as GatewayClusterAssociationStatus, + GatewayClusterAssociationSummary as GatewayClusterAssociationSummary, + GatewayConfigurationHostSharedAlb as GatewayConfigurationHostSharedAlb, + GatewayConfigurationUnknown as GatewayConfigurationUnknown, + GatewayConfiguration as GatewayConfiguration, + _GatewayConfigurationDeserializer as _GatewayConfigurationDeserializer, + GatewayConnection as GatewayConnection, + GatewayConnectionAlbResources as GatewayConnectionAlbResources, + GatewayConnectionResourcesHostSharedAlb as GatewayConnectionResourcesHostSharedAlb, + GatewayConnectionResourcesUnknown as GatewayConnectionResourcesUnknown, + GatewayConnectionResources as GatewayConnectionResources, + _GatewayConnectionResourcesDeserializer as _GatewayConnectionResourcesDeserializer, + GatewayConnector as GatewayConnector, + GatewayConnectorFilters as GatewayConnectorFilters, + GatewayConnectorHealthCheck as GatewayConnectorHealthCheck, +) + +from ._private.models_1 import ( + GatewayConnectorHealthCheckMatcher as GatewayConnectorHealthCheckMatcher, + GatewayConnectorHealthCheckProtocol as GatewayConnectorHealthCheckProtocol, + GatewayElbAccessLogConfiguration as GatewayElbAccessLogConfiguration, + GatewayElbAccessLogDestinationS3 as GatewayElbAccessLogDestinationS3, + GatewayElbAccessLogDestinationUnknown as GatewayElbAccessLogDestinationUnknown, + GatewayElbAccessLogDestination as GatewayElbAccessLogDestination, + _GatewayElbAccessLogDestinationDeserializer as _GatewayElbAccessLogDestinationDeserializer, + GatewayElbAccessLogS3Destination as GatewayElbAccessLogS3Destination, + GatewayElbIpAddressType as GatewayElbIpAddressType, + GatewayElbNetworkConfiguration as GatewayElbNetworkConfiguration, + GatewayElbScheme as GatewayElbScheme, + GatewayInfrastructureResourcesHostSharedAlb as GatewayInfrastructureResourcesHostSharedAlb, + GatewayInfrastructureResourcesUnknown as GatewayInfrastructureResourcesUnknown, + GatewayInfrastructureResources as GatewayInfrastructureResources, + _GatewayInfrastructureResourcesDeserializer as _GatewayInfrastructureResourcesDeserializer, + GatewayNotFoundException as GatewayNotFoundException, + GatewayOperationError as GatewayOperationError, + GatewayResourceFailure as GatewayResourceFailure, + GatewayResources as GatewayResources, + GatewayRoute as GatewayRoute, + GatewayRouteAlbResources as GatewayRouteAlbResources, + GatewayRouteLoadBalancerSecurityGroup as GatewayRouteLoadBalancerSecurityGroup, + GatewayRouteResourcesHostSharedAlb as GatewayRouteResourcesHostSharedAlb, + GatewayRouteResourcesUnknown as GatewayRouteResourcesUnknown, + GatewayRouteResources as GatewayRouteResources, + _GatewayRouteResourcesDeserializer as _GatewayRouteResourcesDeserializer, + GatewayRouteStatus as GatewayRouteStatus, + GatewayRouteSummary as GatewayRouteSummary, + GatewayStatus as GatewayStatus, + GatewaySummary as GatewaySummary, + GatewayTestTrafficHeader as GatewayTestTrafficHeader, + GetTaskProtectionInput as GetTaskProtectionInput, + GetTaskProtectionOutput as GetTaskProtectionOutput, + GpuDevice as GpuDevice, + GpuSharingMode as GpuSharingMode, + HealthCheck as HealthCheck, + HealthStatus as HealthStatus, + HostEntry as HostEntry, + HostSharedAlbConfiguration as HostSharedAlbConfiguration, + HostVolumeProperties as HostVolumeProperties, + InferenceAccelerator as InferenceAccelerator, + InferenceAcceleratorOverride as InferenceAcceleratorOverride, + InfrastructureOptimization as InfrastructureOptimization, + IngressPathSummary as IngressPathSummary, + InstanceGeneration as InstanceGeneration, + InstanceHealthCheckResult as InstanceHealthCheckResult, + InstanceHealthCheckState as InstanceHealthCheckState, + InstanceHealthCheckType as InstanceHealthCheckType, + InstanceLaunchTemplate as InstanceLaunchTemplate, + InstanceLaunchTemplateUpdate as InstanceLaunchTemplateUpdate, + InstanceRequirementsRequest as InstanceRequirementsRequest, + InvalidParameterException as InvalidParameterException, + IpcMode as IpcMode, + IsolationMode as IsolationMode, + KernelCapabilities as KernelCapabilities, + KeyValuePair as KeyValuePair, + LaunchType as LaunchType, + LimitExceededException as LimitExceededException, + LinearConfiguration as LinearConfiguration, + LinuxParameters as LinuxParameters, + ListAccountSettingsInput as ListAccountSettingsInput, + ListAccountSettingsOutput as ListAccountSettingsOutput, + ListAttributesInput as ListAttributesInput, + ListAttributesOutput as ListAttributesOutput, + ListClustersInput as ListClustersInput, + ListClustersOutput as ListClustersOutput, + ListContainerInstancesInput as ListContainerInstancesInput, + ListContainerInstancesOutput as ListContainerInstancesOutput, + ListDaemonDeploymentsInput as ListDaemonDeploymentsInput, + ListDaemonDeploymentsOutput as ListDaemonDeploymentsOutput, + ListDaemonsInput as ListDaemonsInput, + ListDaemonsOutput as ListDaemonsOutput, + ListDaemonTaskDefinitionsInput as ListDaemonTaskDefinitionsInput, + ListDaemonTaskDefinitionsOutput as ListDaemonTaskDefinitionsOutput, + ListGatewayClusterAssociationsInput as ListGatewayClusterAssociationsInput, + ListGatewayClusterAssociationsOutput as ListGatewayClusterAssociationsOutput, + ListGatewayRoutesInput as ListGatewayRoutesInput, + ListGatewayRoutesOutput as ListGatewayRoutesOutput, + ListGatewaysInput as ListGatewaysInput, + ListGatewaysOutput as ListGatewaysOutput, + ListServiceDeploymentsInput as ListServiceDeploymentsInput, + ListServiceDeploymentsOutput as ListServiceDeploymentsOutput, + ListServicesByNamespaceInput as ListServicesByNamespaceInput, + ListServicesByNamespaceOutput as ListServicesByNamespaceOutput, + ListServicesInput as ListServicesInput, + ListServicesOutput as ListServicesOutput, + ListTagsForResourceInput as ListTagsForResourceInput, + ListTagsForResourceOutput as ListTagsForResourceOutput, + ListTaskDefinitionFamiliesInput as ListTaskDefinitionFamiliesInput, + ListTaskDefinitionFamiliesOutput as ListTaskDefinitionFamiliesOutput, + ListTaskDefinitionsInput as ListTaskDefinitionsInput, + ListTaskDefinitionsOutput as ListTaskDefinitionsOutput, + ListTasksInput as ListTasksInput, + ListTasksOutput as ListTasksOutput, + LoadBalancer as LoadBalancer, + LocalStorage as LocalStorage, + LocalStorageType as LocalStorageType, + LogConfiguration as LogConfiguration, + LogDriver as LogDriver, + LogDriverVolumeConfiguration as LogDriverVolumeConfiguration, + ManagedAgent as ManagedAgent, + ManagedAgentName as ManagedAgentName, + ManagedAgentStateChange as ManagedAgentStateChange, + ManagedApplicationAutoScalingPolicy as ManagedApplicationAutoScalingPolicy, + ManagedAutoScaling as ManagedAutoScaling, + ManagedCertificate as ManagedCertificate, + ManagedDraining as ManagedDraining, + ManagedIngressPath as ManagedIngressPath, + ManagedInstancesLocalStorageConfiguration as ManagedInstancesLocalStorageConfiguration, + ManagedInstancesMonitoringOptions as ManagedInstancesMonitoringOptions, + ManagedInstancesNetworkConfiguration as ManagedInstancesNetworkConfiguration, + ManagedInstancesProvider as ManagedInstancesProvider, + ManagedInstancesStorageConfiguration as ManagedInstancesStorageConfiguration, + ManagedListener as ManagedListener, + ManagedListenerRule as ManagedListenerRule, + ManagedLoadBalancer as ManagedLoadBalancer, + ManagedLogGroup as ManagedLogGroup, + ManagedMetricAlarm as ManagedMetricAlarm, + ManagedResourceStatus as ManagedResourceStatus, + ManagedScalableTarget as ManagedScalableTarget, + ManagedScaling as ManagedScaling, + ManagedScalingStatus as ManagedScalingStatus, + ManagedSecurityGroup as ManagedSecurityGroup, + ManagedStorageConfiguration as ManagedStorageConfiguration, + ManagedTargetGroup as ManagedTargetGroup, + ManagedTerminationProtection as ManagedTerminationProtection, + MemoryGiBPerVCpuRequest as MemoryGiBPerVCpuRequest, + MemoryMiBRequest as MemoryMiBRequest, + MetricConfiguration as MetricConfiguration, + MissingVersionException as MissingVersionException, + MonitoringConfiguration as MonitoringConfiguration, + MountPoint as MountPoint, + NamespaceNotFoundException as NamespaceNotFoundException, + NetworkBandwidthGbpsRequest as NetworkBandwidthGbpsRequest, + NetworkBinding as NetworkBinding, + NetworkConfiguration as NetworkConfiguration, + NetworkInterface as NetworkInterface, + NetworkInterfaceCountRequest as NetworkInterfaceCountRequest, + NetworkMode as NetworkMode, + NoUpdateAvailableException as NoUpdateAvailableException, + NvidiaMpsAllocation as NvidiaMpsAllocation, + OSFamily as OSFamily, + PidMode as PidMode, + PlacementConstraint as PlacementConstraint, + PlacementConstraintType as PlacementConstraintType, + PlacementStrategy as PlacementStrategy, + PlacementStrategyType as PlacementStrategyType, + PlatformDevice as PlatformDevice, + PlatformDeviceType as PlatformDeviceType, + PlatformTaskDefinitionIncompatibilityException as PlatformTaskDefinitionIncompatibilityException, + PlatformUnknownException as PlatformUnknownException, + PortMapping as PortMapping, + PropagateGatewayTags as PropagateGatewayTags, + PropagateMITags as PropagateMITags, + PropagateTags as PropagateTags, + ProtectedTask as ProtectedTask, + ProxyConfiguration as ProxyConfiguration, + ProxyConfigurationType as ProxyConfigurationType, + PutAccountSettingDefaultInput as PutAccountSettingDefaultInput, + PutAccountSettingDefaultOutput as PutAccountSettingDefaultOutput, + PutAccountSettingInput as PutAccountSettingInput, + PutAccountSettingOutput as PutAccountSettingOutput, + PutAttributesInput as PutAttributesInput, + PutAttributesOutput as PutAttributesOutput, + PutClusterCapacityProvidersInput as PutClusterCapacityProvidersInput, + PutClusterCapacityProvidersOutput as PutClusterCapacityProvidersOutput, + RegisterContainerInstanceInput as RegisterContainerInstanceInput, + RegisterContainerInstanceOutput as RegisterContainerInstanceOutput, + RegisterDaemonTaskDefinitionInput as RegisterDaemonTaskDefinitionInput, + RegisterDaemonTaskDefinitionOutput as RegisterDaemonTaskDefinitionOutput, + RegisterTaskDefinitionInput as RegisterTaskDefinitionInput, + RegisterTaskDefinitionOutput as RegisterTaskDefinitionOutput, + RepositoryCredentials as RepositoryCredentials, + ResolvedConfiguration as ResolvedConfiguration, + Resource as Resource, + ResourceInUseException as ResourceInUseException, + ResourceManagementType as ResourceManagementType, + ResourceNotFoundException as ResourceNotFoundException, + ResourceRequirement as ResourceRequirement, + ResourceType as ResourceType, + Rollback as Rollback, + RunTaskInput as RunTaskInput, + RunTaskOutput as RunTaskOutput, + RuntimePlatform as RuntimePlatform, + RuntimePlatformOverride as RuntimePlatformOverride, + S3FilesVolumeConfiguration as S3FilesVolumeConfiguration, + Scale as Scale, + ScaleUnit as ScaleUnit, + SchedulingStrategy as SchedulingStrategy, + Scope as Scope, + Secret as Secret, + ServerException as ServerException, + Service as Service, + ServiceConnectAccessLogConfiguration as ServiceConnectAccessLogConfiguration, + ServiceConnectAccessLoggingFormat as ServiceConnectAccessLoggingFormat, + ServiceConnectClientAlias as ServiceConnectClientAlias, + ServiceConnectConfiguration as ServiceConnectConfiguration, + ServiceConnectContainerConfigurationLogLevel as ServiceConnectContainerConfigurationLogLevel, + ServiceConnectContainerConfigurationUnknown as ServiceConnectContainerConfigurationUnknown, + ServiceConnectContainerConfiguration as ServiceConnectContainerConfiguration, + _ServiceConnectContainerConfigurationDeserializer as _ServiceConnectContainerConfigurationDeserializer, + ServiceConnectContainerLogLevel as ServiceConnectContainerLogLevel, + ServiceConnectIncludeQueryParameters as ServiceConnectIncludeQueryParameters, + ServiceConnectService as ServiceConnectService, + ServiceConnectServiceResource as ServiceConnectServiceResource, + ServiceConnectTestTrafficHeaderMatchRules as ServiceConnectTestTrafficHeaderMatchRules, + ServiceConnectTestTrafficHeaderRules as ServiceConnectTestTrafficHeaderRules, + ServiceConnectTestTrafficRules as ServiceConnectTestTrafficRules, + ServiceConnectTlsCertificateAuthority as ServiceConnectTlsCertificateAuthority, + ServiceConnectTlsConfiguration as ServiceConnectTlsConfiguration, + ServiceCurrentRevisionSummary as ServiceCurrentRevisionSummary, + ServiceDeployment as ServiceDeployment, + ServiceDeploymentAlarms as ServiceDeploymentAlarms, + ServiceDeploymentBrief as ServiceDeploymentBrief, + ServiceDeploymentCircuitBreaker as ServiceDeploymentCircuitBreaker, + ServiceDeploymentLifecycleStage as ServiceDeploymentLifecycleStage, + ServiceDeploymentNotFoundException as ServiceDeploymentNotFoundException, + ServiceDeploymentRollbackMonitorsStatus as ServiceDeploymentRollbackMonitorsStatus, + ServiceDeploymentStatus as ServiceDeploymentStatus, + ServiceEvent as ServiceEvent, + ServiceField as ServiceField, + ServiceManagedEBSVolumeConfiguration as ServiceManagedEBSVolumeConfiguration, + ServiceNotActiveException as ServiceNotActiveException, + ServiceNotFoundException as ServiceNotFoundException, + ServiceRegistry as ServiceRegistry, + ServiceRevision as ServiceRevision, + ServiceRevisionCleanup as ServiceRevisionCleanup, + ServiceRevisionLoadBalancer as ServiceRevisionLoadBalancer, + ServiceRevisionOverrides as ServiceRevisionOverrides, + ServiceRevisionSummary as ServiceRevisionSummary, + ServiceRevisionVpcLatticeConfiguration as ServiceRevisionVpcLatticeConfiguration, + ServiceVolumeConfiguration as ServiceVolumeConfiguration, + Session as Session, + Setting as Setting, + SettingName as SettingName, + SettingType as SettingType, + SharingStrategyNvidiaMps as SharingStrategyNvidiaMps, + SharingStrategyUnknown as SharingStrategyUnknown, + SharingStrategy as SharingStrategy, + _SharingStrategyDeserializer as _SharingStrategyDeserializer, + SortOrder as SortOrder, + StabilityStatus as StabilityStatus, + StartTaskInput as StartTaskInput, + StartTaskOutput as StartTaskOutput, + StopServiceDeploymentInput as StopServiceDeploymentInput, + StopServiceDeploymentOutput as StopServiceDeploymentOutput, + StopServiceDeploymentStopType as StopServiceDeploymentStopType, + StopTaskInput as StopTaskInput, + StopTaskOutput as StopTaskOutput, + SubmitAttachmentStateChangesInput as SubmitAttachmentStateChangesInput, + SubmitAttachmentStateChangesOutput as SubmitAttachmentStateChangesOutput, + SubmitContainerStateChangeInput as SubmitContainerStateChangeInput, + SubmitContainerStateChangeOutput as SubmitContainerStateChangeOutput, + SubmitTaskStateChangeInput as SubmitTaskStateChangeInput, + SubmitTaskStateChangeOutput as SubmitTaskStateChangeOutput, + SystemControl as SystemControl, + Tag as Tag, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + TargetNotConnectedException as TargetNotConnectedException, + TargetNotFoundException as TargetNotFoundException, + TargetType as TargetType, + Task as Task, + TaskDefinition as TaskDefinition, + TaskDefinitionFamilyStatus as TaskDefinitionFamilyStatus, +) + +from ._private.models_2 import ( + TaskDefinitionField as TaskDefinitionField, + TaskDefinitionPlacementConstraint as TaskDefinitionPlacementConstraint, + TaskDefinitionPlacementConstraintType as TaskDefinitionPlacementConstraintType, + TaskDefinitionStatus as TaskDefinitionStatus, + TaskEphemeralStorage as TaskEphemeralStorage, + TaskField as TaskField, + TaskFilesystemType as TaskFilesystemType, + TaskManagedEBSVolumeConfiguration as TaskManagedEBSVolumeConfiguration, + TaskManagedEBSVolumeTerminationPolicy as TaskManagedEBSVolumeTerminationPolicy, + TaskOverride as TaskOverride, + TaskSet as TaskSet, + TaskSetField as TaskSetField, + TaskSetNotFoundException as TaskSetNotFoundException, + TaskStopCode as TaskStopCode, + TaskVolumeConfiguration as TaskVolumeConfiguration, + ThresholdConfiguration as ThresholdConfiguration, + ThresholdType as ThresholdType, + TimeoutConfiguration as TimeoutConfiguration, + Tmpfs as Tmpfs, + TotalLocalStorageGBRequest as TotalLocalStorageGBRequest, + TransportProtocol as TransportProtocol, + TrustedExecutionConfiguration as TrustedExecutionConfiguration, + TrustedExecutionSummary as TrustedExecutionSummary, + Ulimit as Ulimit, + UlimitName as UlimitName, + UnsupportedFeatureException as UnsupportedFeatureException, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateCapacityProviderInput as UpdateCapacityProviderInput, + UpdateCapacityProviderOutput as UpdateCapacityProviderOutput, + UpdateClusterInput as UpdateClusterInput, + UpdateClusterOutput as UpdateClusterOutput, + UpdateClusterSettingsInput as UpdateClusterSettingsInput, + UpdateClusterSettingsOutput as UpdateClusterSettingsOutput, + UpdateContainerAgentInput as UpdateContainerAgentInput, + UpdateContainerAgentOutput as UpdateContainerAgentOutput, + UpdateContainerInstancesStateInput as UpdateContainerInstancesStateInput, + UpdateContainerInstancesStateOutput as UpdateContainerInstancesStateOutput, + UpdateDaemonInput as UpdateDaemonInput, + UpdateDaemonOutput as UpdateDaemonOutput, + UpdatedExpressGatewayService as UpdatedExpressGatewayService, + UpdateExpressGatewayServiceInput as UpdateExpressGatewayServiceInput, + UpdateExpressGatewayServiceOutput as UpdateExpressGatewayServiceOutput, + UpdateGatewayAlbConfiguration as UpdateGatewayAlbConfiguration, + UpdateGatewayConfigurationHostSharedAlb as UpdateGatewayConfigurationHostSharedAlb, + UpdateGatewayConfigurationUnknown as UpdateGatewayConfigurationUnknown, + UpdateGatewayConfiguration as UpdateGatewayConfiguration, + _UpdateGatewayConfigurationDeserializer as _UpdateGatewayConfigurationDeserializer, + UpdateGatewayInput as UpdateGatewayInput, + UpdateGatewayNetworkConfiguration as UpdateGatewayNetworkConfiguration, + UpdateGatewayOutput as UpdateGatewayOutput, + UpdateInProgressException as UpdateInProgressException, + UpdateManagedInstancesProviderConfiguration as UpdateManagedInstancesProviderConfiguration, + UpdateServiceInput as UpdateServiceInput, + UpdateServiceOutput as UpdateServiceOutput, + UpdateServicePrimaryTaskSetInput as UpdateServicePrimaryTaskSetInput, + UpdateServicePrimaryTaskSetOutput as UpdateServicePrimaryTaskSetOutput, + UpdateTaskProtectionInput as UpdateTaskProtectionInput, + UpdateTaskProtectionOutput as UpdateTaskProtectionOutput, + UpdateTaskSetInput as UpdateTaskSetInput, + UpdateTaskSetOutput as UpdateTaskSetOutput, + VCpuCountRangeRequest as VCpuCountRangeRequest, + VersionConsistency as VersionConsistency, + VersionInfo as VersionInfo, + Volume as Volume, + VolumeFrom as VolumeFrom, + VpcLatticeAdvancedConfiguration as VpcLatticeAdvancedConfiguration, + VpcLatticeConfiguration as VpcLatticeConfiguration, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -27,18330 +622,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AcceleratorCountRequest(_SerdeShape): - """ - The minimum and maximum number of accelerators (such as GPUs) for - instance type selection. This is used for workloads that require - specific numbers of accelerators. - """ - - min: int | None = ... - """ - The minimum number of accelerators. Instance types with fewer - accelerators are excluded from selection. - """ - max: int | None = ... - """ - The maximum number of accelerators. Instance types with more - accelerators are excluded from selection. - """ - -class AcceleratorManufacturer(UnknownEnumMixin, StrEnum): - AMAZON_WEB_SERVICES = "amazon-web-services" - AMD = "amd" - NVIDIA = "nvidia" - XILINX = "xilinx" - HABANA = "habana" - -class AcceleratorName(UnknownEnumMixin, StrEnum): - A100 = "a100" - INFERENTIA = "inferentia" - K520 = "k520" - K80 = "k80" - M60 = "m60" - RADEON_PRO_V520 = "radeon-pro-v520" - T4 = "t4" - VU9_P = "vu9p" - V100 = "v100" - A10_G = "a10g" - H100 = "h100" - T4_G = "t4g" - L40_S = "l40s" - L4 = "l4" - -@dataclass(kw_only=True) -class AcceleratorTotalMemoryMiBRequest(_SerdeShape): - """ - The minimum and maximum total accelerator memory in mebibytes (MiB) for - instance type selection. This is important for GPU workloads that - require specific amounts of video memory. - """ - - min: int | None = ... - """ - The minimum total accelerator memory in MiB. Instance types with less - accelerator memory are excluded from selection. - """ - max: int | None = ... - """ - The maximum total accelerator memory in MiB. Instance types with more - accelerator memory are excluded from selection. - """ - -class AcceleratorType(UnknownEnumMixin, StrEnum): - GPU = "gpu" - FPGA = "fpga" - INFERENCE = "inference" - -@dataclass(kw_only=True) -class AccessDeniedException(ServiceError, _SerdeShape): - """You don't have authorization to perform the requested action.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AccessType(UnknownEnumMixin, StrEnum): - """ - Specifies whether a resource is publicly accessible from the internet or - private to a VPC. - """ - - PUBLIC = "PUBLIC" - """The resource is publicly accessible from the internet.""" - PRIVATE = "PRIVATE" - """The resource is private and reachable only from within the VPC.""" - -@dataclass(kw_only=True) -class AdvancedConfiguration(_SerdeShape): - """ - The advanced settings for a load balancer used in blue/green - deployments. Specify the alternate target group, listener rules, and IAM - role required for traffic shifting during blue/green deployments. For - more information, see [Required resources for Amazon ECS blue/green - deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-deployment-implementation.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - alternate_target_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the alternate target group for Amazon - ECS blue/green deployments. - """ - production_listener_rule: str | None = ... - """ - The Amazon Resource Name (ARN) that that identifies the production - listener rule (in the case of an Application Load Balancer) or listener - (in the case for an Network Load Balancer) for routing production - traffic. - """ - test_listener_rule: str | None = ... - """ - The Amazon Resource Name (ARN) that identifies ) that identifies the - test listener rule (in the case of an Application Load Balancer) or - listener (in the case for an Network Load Balancer) for routing test - traffic. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS - permission to call the Elastic Load Balancing APIs for you. - """ - -class AgentUpdateStatus(UnknownEnumMixin, StrEnum): - PENDING = "PENDING" - STAGING = "STAGING" - STAGED = "STAGED" - UPDATING = "UPDATING" - UPDATED = "UPDATED" - FAILED = "FAILED" - -class ApplicationProtocol(UnknownEnumMixin, StrEnum): - HTTP = "http" - HTTP2 = "http2" - GRPC = "grpc" - -class AssignPublicIp(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class AssociateGatewayWithClusterInput(_SerdeShape): - """Dataclass for AssociateGatewayWithClusterInput structure.""" - - gateway: str | None = ... - """The name or Amazon Resource Name (ARN) of the gateway to associate.""" - cluster: str | None = ... - """ - The name or Amazon Resource Name (ARN) of the cluster to associate the - gateway with. - """ - -@dataclass(kw_only=True) -class AssociateGatewayWithClusterOutput(_SerdeShape): - """Dataclass for AssociateGatewayWithClusterOutput structure.""" - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster.""" - status: str | None = ... - """The status of the association. A new association is `ACTIVE`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Attachment(_SerdeShape): - """An object representing a container instance or task attachment.""" - - id: str | None = ... - """The unique identifier for the attachment.""" - type: str | None = ... - """ - The type of the attachment, such as `ElasticNetworkInterface`, - `Service Connect`, and `AmazonElasticBlockStorage`. - """ - status: str | None = ... - """ - The status of the attachment. Valid values are `PRECREATED`, `CREATED`, - `ATTACHING`, `ATTACHED`, `DETACHING`, `DETACHED`, `DELETED`, and - `FAILED`. - """ - details: list[KeyValuePair] | None = ... - """ - Details of the attachment. - - For elastic network interfaces, this includes the network interface ID, - the MAC address, the subnet ID, and the private IPv4 address. - - For Service Connect services, this includes `portName`, `clientAliases`, - `discoveryName`, and `ingressPortOverride`. - - For Elastic Block Storage, this includes `roleArn`, - `deleteOnTermination`, `volumeName`, `volumeId`, and `statusReason` - (only when the attachment fails to create or attach). - """ - -@dataclass(kw_only=True) -class AttachmentStateChange(_SerdeShape): - """An object representing a change in state for a task attachment.""" - - attachment_arn: str - """The Amazon Resource Name (ARN) of the attachment.""" - status: str - """The status of the attachment.""" - -class AttestationPolicyStatus(UnknownEnumMixin, StrEnum): - """ - The status of the attestation policy for a task that uses the - `CONFIDENTIAL_SANDBOX` isolation mode. - """ - - CONFIGURED = "CONFIGURED" - """An attestation policy is configured for the task.""" - -@dataclass(kw_only=True) -class Attribute(_SerdeShape): - """ - An attribute is a name-value pair that's associated with an Amazon ECS - object. Use attributes to extend the Amazon ECS data model by adding - custom metadata to your resources. For more information, see - [Attributes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - name: str - """ - The name of the attribute. The `name` must contain between 1 and 128 - characters. The name may contain letters (uppercase and lowercase), - numbers, hyphens (-), underscores (_), forward slashes (/), back - slashes (\\), or periods (.). - """ - value: str | None = ... - """ - The value of the attribute. The `value` must contain between 1 and 128 - characters. It can contain letters (uppercase and lowercase), numbers, - hyphens (-), underscores (_), periods (.), at signs (@), forward - slashes (/), back slashes (\\), colons (:), or spaces. The value can't - start or end with a space. - """ - target_type: str | None = ... - """ - The type of the target to attach the attribute with. This parameter is - required if you use the short form ID for a resource instead of the full - ARN. - """ - target_id: str | None = ... - """ - The ID of the target. You can specify the short form ID for a resource - or the full Amazon Resource Name (ARN). - """ - -@dataclass(kw_only=True) -class AttributeLimitExceededException(ServiceError, _SerdeShape): - """ - You can apply up to 10 custom attributes for each resource. You can view - the attributes of a resource with - [ListAttributes](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListAttributes.html). - You can remove existing attributes on a resource with - [DeleteAttributes](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteAttributes.html). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AutoRepairActionsStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class AutoRepairConfiguration(_SerdeShape): - """ - The auto repair configuration for an Amazon ECS Managed Instances - capacity provider. When enabled, Amazon ECS automatically replaces - container instances that are detected as unhealthy based on container - instance health checks, including accelerated compute device and daemon - health checks. - """ - - actions_status: str | None = ... - """ - The status of auto repair actions for the capacity provider. When set to - `ENABLED`, Amazon ECS automatically replaces container instances with an - `IMPAIRED` health status. When set to `DISABLED`, Amazon ECS still - monitors container instance health but does not automatically replace - impaired instances. - """ - -@dataclass(kw_only=True) -class AutoScalingGroupProvider(_SerdeShape): - """The details of the Auto Scaling group for the capacity provider.""" - - auto_scaling_group_arn: str - """ - The Amazon Resource Name (ARN) that identifies the Auto Scaling group, - or the Auto Scaling group name. - """ - managed_scaling: ManagedScaling | None = ... - """ - The managed scaling settings for the Auto Scaling group capacity - provider. - """ - managed_termination_protection: str | None = ... - """ - The managed termination protection setting to use for the Auto Scaling - group capacity provider. This determines whether the Auto Scaling group - has managed termination protection. The default is off. - - Warning: - When using managed termination protection, managed scaling must also be - used otherwise managed termination protection doesn't work. - - When managed termination protection is on, Amazon ECS prevents the - Amazon EC2 instances in an Auto Scaling group that contain tasks from - being terminated during a scale-in action. The Auto Scaling group and - each instance in the Auto Scaling group must have instance protection - from scale-in actions on as well. For more information, see [Instance - Protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection) - in the *Auto Scaling User Guide*. - - When managed termination protection is off, your Amazon EC2 instances - aren't protected from termination when the Auto Scaling group scales - in. - """ - managed_draining: str | None = ... - """ - The managed draining option for the Auto Scaling group capacity - provider. When you enable this, Amazon ECS manages and gracefully drains - the EC2 container instances that are in the Auto Scaling group capacity - provider. - """ - -@dataclass(kw_only=True) -class AutoScalingGroupProviderUpdate(_SerdeShape): - """The details of the Auto Scaling group capacity provider to update.""" - - managed_scaling: ManagedScaling | None = ... - """ - The managed scaling settings for the Auto Scaling group capacity - provider. - """ - managed_termination_protection: str | None = ... - """ - The managed termination protection setting to use for the Auto Scaling - group capacity provider. This determines whether the Auto Scaling group - has managed termination protection. - - Warning: - When using managed termination protection, managed scaling must also be - used otherwise managed termination protection doesn't work. - - When managed termination protection is on, Amazon ECS prevents the - Amazon EC2 instances in an Auto Scaling group that contain tasks from - being terminated during a scale-in action. The Auto Scaling group and - each instance in the Auto Scaling group must have instance protection - from scale-in actions on. For more information, see [Instance - Protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection) - in the *Auto Scaling User Guide*. - - When managed termination protection is off, your Amazon EC2 instances - aren't protected from termination when the Auto Scaling group scales - in. - """ - managed_draining: str | None = ... - """ - The managed draining option for the Auto Scaling group capacity - provider. When you enable this, Amazon ECS manages and gracefully drains - the EC2 container instances that are in the Auto Scaling group capacity - provider. - """ - -class AvailabilityZoneRebalancing(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class AwsVpcConfiguration(_SerdeShape): - """ - An object representing the networking details for a task or service. For - example - `awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}`. - """ - - subnets: list[str] - """ - The IDs of the subnets associated with the task or service. There's a - limit of 16 subnets that can be specified. - - Note: - All specified subnets must be from the same VPC. - """ - security_groups: list[str] | None = ... - """ - The IDs of the security groups associated with the task or service. If - you don't specify a security group, the default security group for the - VPC is used. There's a limit of 5 security groups that can be - specified. - - Note: - All specified security groups must be from the same VPC. - """ - assign_public_ip: str | None = ... - """ - Whether the task's elastic network interface receives a public IP - address. - - Consider the following when you set this value: - - - When you use `create-service` or `update-service`, the default is - `DISABLED`. - - - When the service `deploymentController` is `ECS`, the value must be - `DISABLED`. - """ - -class BareMetal(UnknownEnumMixin, StrEnum): - INCLUDED = "included" - REQUIRED = "required" - EXCLUDED = "excluded" - -@dataclass(kw_only=True) -class BaselineEbsBandwidthMbpsRequest(_SerdeShape): - """ - The minimum and maximum baseline Amazon EBS bandwidth in megabits per - second (Mbps) for instance type selection. This is important for - workloads with high storage I/O requirements. - """ - - min: int | None = ... - """ - The minimum baseline Amazon EBS bandwidth in Mbps. Instance types with - lower Amazon EBS bandwidth are excluded from selection. - """ - max: int | None = ... - """ - The maximum baseline Amazon EBS bandwidth in Mbps. Instance types with - higher Amazon EBS bandwidth are excluded from selection. - """ - -@dataclass(kw_only=True) -class BlockedException(ServiceError, _SerdeShape): - """ - Your Amazon Web Services account was blocked. For more information, - contact [Amazon Web Services - Support](http://aws.amazon.com/contact-us/). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class BurstablePerformance(UnknownEnumMixin, StrEnum): - INCLUDED = "included" - REQUIRED = "required" - EXCLUDED = "excluded" - -@dataclass(kw_only=True) -class CanaryConfiguration(_SerdeShape): - """ - Configuration for a canary deployment strategy that shifts a fixed - percentage of traffic to the new service revision, waits for a specified - bake time, then shifts the remaining traffic. - - This is only valid when you run `CreateService` or `UpdateService` with - `deploymentController` set to `ECS` and a `deploymentConfiguration` with - a strategy set to `CANARY`. - """ - - canary_percent: float | None = ... - """ - The percentage of production traffic to shift to the new service - revision during the canary phase. Valid values are multiples of 0.1 from - 0.1 to 100.0. The default value is 5.0. - """ - canary_bake_time_in_minutes: int | None = ... - """ - The amount of time in minutes to wait during the canary phase before - shifting the remaining production traffic to the new service revision. - Valid values are 0 to 1440 minutes (24 hours). The default value is 10. - """ - -class CapacityOptionType(UnknownEnumMixin, StrEnum): - ON_DEMAND = "ON_DEMAND" - SPOT = "SPOT" - RESERVED = "RESERVED" - -@dataclass(kw_only=True) -class CapacityProvider(_SerdeShape): - """The details for a capacity provider.""" - - capacity_provider_arn: str | None = ... - """The Amazon Resource Name (ARN) that identifies the capacity provider.""" - name: str | None = ... - """The name of the capacity provider.""" - cluster: str | None = ... - """ - The cluster that this capacity provider is associated with. Managed - instances capacity providers are cluster-scoped, meaning they can only - be used within their associated cluster. - - This is required for Managed instances. - """ - status: str | None = ... - """ - The current status of the capacity provider. Only capacity providers in - an `ACTIVE` state can be used in a cluster. When a capacity provider is - successfully deleted, it has an `INACTIVE` status. - """ - auto_scaling_group_provider: AutoScalingGroupProvider | None = ... - """The Auto Scaling group settings for the capacity provider.""" - managed_instances_provider: ManagedInstancesProvider | None = ... - """ - The configuration for the Amazon ECS Managed Instances provider. This - includes the infrastructure role, the launch template configuration, and - tag propagation settings. - """ - update_status: str | None = ... - """ - The update status of the capacity provider. The following are the - possible states that is returned. - - DELETE_IN_PROGRESS - - : The capacity provider is in the process of being deleted. - - DELETE_COMPLETE - - : The capacity provider was successfully deleted and has an `INACTIVE` - status. - - DELETE_FAILED - - : The capacity provider can't be deleted. The update status reason - provides further details about why the delete failed. - """ - update_status_reason: str | None = ... - """ - The update status reason. This provides further details about the update - status for the capacity provider. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the capacity provider to help you - categorize and organize it. Each tag consists of a key and an optional - value. You define both. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - type: str | None = ... - """ - The type of capacity provider. For Amazon ECS Managed Instances, this - value is `MANAGED_INSTANCES`, indicating that Amazon ECS manages the - underlying Amazon EC2 instances on your behalf. - """ - -class CapacityProviderField(UnknownEnumMixin, StrEnum): - TAGS = "TAGS" - -class CapacityProviderStatus(UnknownEnumMixin, StrEnum): - PROVISIONING = "PROVISIONING" - ACTIVE = "ACTIVE" - DEPROVISIONING = "DEPROVISIONING" - INACTIVE = "INACTIVE" - -@dataclass(kw_only=True) -class CapacityProviderStrategyItem(_SerdeShape): - """ - The details of a capacity provider strategy. A capacity provider - strategy can be set when using the - [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html)or - [CreateCluster](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCluster.html) - APIs or as the default capacity provider strategy for a cluster with the - `CreateCluster` API. - - Only capacity providers that are already associated with a cluster and - have an `ACTIVE` or `UPDATING` status can be used in a capacity provider - strategy. The - [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) - API is used to associate a capacity provider with a cluster. - - If specifying a capacity provider that uses an Auto Scaling group, the - capacity provider must already be created. New Auto Scaling group - capacity providers can be created with the - [CreateClusterCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateClusterCapacityProvider.html) - API operation. - - To use a Fargate capacity provider, specify either the `FARGATE` or - `FARGATE_SPOT` capacity providers. The Fargate capacity providers are - available to all accounts and only need to be associated with a cluster - to be used in a capacity provider strategy. - - With `FARGATE_SPOT`, you can run interruption tolerant tasks at a rate - that's discounted compared to the `FARGATE` price. `FARGATE_SPOT` runs - tasks on spare compute capacity. When Amazon Web Services needs the - capacity back, your tasks are interrupted with a two-minute warning. - `FARGATE_SPOT` supports Linux tasks with the X86_64 architecture on - platform version 1.3.0 or later. `FARGATE_SPOT` supports Linux tasks - with the ARM64 architecture on platform version 1.4.0 or later. - - A capacity provider strategy can contain a maximum of 20 capacity - providers. - """ - - capacity_provider: str - """The short name of the capacity provider.""" - weight: int = ... - """ - The *weight* value designates the relative percentage of the total - number of tasks launched that should use the specified capacity - provider. The `weight` value is taken into consideration after the - `base` value, if defined, is satisfied. - - If no `weight` value is specified, the default value of `0` is used. - When multiple capacity providers are specified within a capacity - provider strategy, at least one of the capacity providers must have a - weight value greater than zero and any capacity providers with a weight - of `0` can't be used to place tasks. If you specify multiple capacity - providers in a strategy that all have a weight of `0`, any `RunTask` or - `CreateService` actions using the capacity provider strategy will fail. - - Weight value characteristics: - - - Weight is considered after the base value is satisfied - - - The default value is `0` if not specified - - - The valid range is 0 to 1,000 - - - At least one capacity provider must have a weight greater than zero - - - Capacity providers with weight of `0` cannot place tasks - - Task distribution logic: - - 1. Base satisfaction: The minimum number of tasks specified by the base - value are placed on that capacity provider - - 2. Weight distribution: After base requirements are met, additional - tasks are distributed according to weight ratios - - Examples: - - Equal Distribution: Two capacity providers both with weight `1` will - split tasks evenly after base requirements are met. - - Weighted Distribution: If capacityProviderA has weight `1` and - capacityProviderB has weight `4`, then for every 1 task on A, 4 tasks - will run on B. - """ - base: int = ... - """ - The *base* value designates how many tasks, at a minimum, to run on the - specified capacity provider for each service. Only one capacity provider - in a capacity provider strategy can have a *base* defined. If no value - is specified, the default value of `0` is used. - - Base value characteristics: - - - Only one capacity provider in a strategy can have a base defined - - - The default value is `0` if not specified - - - The valid range is 0 to 100,000 - - - Base requirements are satisfied first before weight distribution - """ - -class CapacityProviderType(UnknownEnumMixin, StrEnum): - EC2_AUTOSCALING = "EC2_AUTOSCALING" - MANAGED_INSTANCES = "MANAGED_INSTANCES" - FARGATE = "FARGATE" - FARGATE_SPOT = "FARGATE_SPOT" - -class CapacityProviderUpdateStatus(UnknownEnumMixin, StrEnum): - CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" - CREATE_COMPLETE = "CREATE_COMPLETE" - CREATE_FAILED = "CREATE_FAILED" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - DELETE_COMPLETE = "DELETE_COMPLETE" - DELETE_FAILED = "DELETE_FAILED" - UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" - UPDATE_COMPLETE = "UPDATE_COMPLETE" - UPDATE_FAILED = "UPDATE_FAILED" - -class CapacityReservationPreference(UnknownEnumMixin, StrEnum): - RESERVATIONS_ONLY = "RESERVATIONS_ONLY" - RESERVATIONS_FIRST = "RESERVATIONS_FIRST" - RESERVATIONS_EXCLUDED = "RESERVATIONS_EXCLUDED" - -@dataclass(kw_only=True) -class CapacityReservationRequest(_SerdeShape): - """ - The Capacity Reservation configurations to be used when using the - `RESERVED` capacity option type. - """ - - reservation_group_arn: str | None = ... - """ - The ARN of the Capacity Reservation resource group in which to run the - instance. - """ - reservation_preference: str | None = ... - """ - The preference on when capacity reservations should be used. - - Valid values are: - - - `RESERVATIONS_ONLY` - Exclusively launch instances into capacity - reservations that match the instance requirements configured for the - capacity provider. If none exist, instances will fail to provision. - - - `RESERVATIONS_FIRST` - Prefer to launch instances into a capacity - reservation if any exist that match the instance requirements - configured for the capacity provider. If none exist, fall back to - launching instances On-Demand. - - - `RESERVATIONS_EXCLUDED` - Avoid using capacity reservations and launch - exclusively On-Demand. - """ - -@dataclass(kw_only=True) -class ClientException(ServiceError, _SerdeShape): - """ - These errors are usually caused by a client action. This client action - might be using an action or resource on behalf of a user that doesn't - have permissions to use the action or resource. Or, it might be - specifying an identifier that isn't valid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Cluster(_SerdeShape): - """ - A regional grouping of one or more container instances where you can run - task requests. Each account receives a default cluster the first time - you use the Amazon ECS service, but you may also create other clusters. - Clusters may contain more than one instance type simultaneously. - """ - - cluster_arn: str | None = ... - """ - The Amazon Resource Name (ARN) that identifies the cluster. For more - information about the ARN format, see [Amazon Resource Name - (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) - in the *Amazon ECS Developer Guide*. - """ - cluster_name: str | None = ... - """A user-generated string that you use to identify your cluster.""" - configuration: ClusterConfiguration | None = ... - """The execute command and managed storage configuration for the cluster.""" - status: str | None = ... - """ - The status of the cluster. The following are the possible states that - are returned. - - ACTIVE - - : The cluster is ready to accept tasks and if applicable you can - register container instances with the cluster. - - PROVISIONING - - : The cluster has capacity providers that are associated with it and the - resources needed for the capacity provider are being created. - - DEPROVISIONING - - : The cluster has capacity providers that are associated with it and the - resources needed for the capacity provider are being deleted. - - FAILED - - : The cluster has capacity providers that are associated with it and the - resources needed for the capacity provider have failed to create. - - INACTIVE - - : The cluster has been deleted. Clusters with an `INACTIVE` status may - remain discoverable in your account for a period of time. However, - this behavior is subject to change in the future. We don't recommend - that you rely on `INACTIVE` clusters persisting. - """ - registered_container_instances_count: int = ... - """ - The number of container instances registered into the cluster. This - includes container instances in both `ACTIVE` and `DRAINING` status. - """ - running_tasks_count: int = ... - """The number of tasks in the cluster that are in the `RUNNING` state.""" - pending_tasks_count: int = ... - """The number of tasks in the cluster that are in the `PENDING` state.""" - active_services_count: int = ... - """ - The number of services that are running on the cluster in an `ACTIVE` - state. You can view these services with - [ListServices](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html). - """ - statistics: list[KeyValuePair] | None = ... - """ - Additional information about your clusters that are separated by launch - type. They include the following: - - - runningEC2TasksCount - - - RunningFargateTasksCount - - - pendingEC2TasksCount - - - pendingFargateTasksCount - - - activeEC2ServiceCount - - - activeFargateServiceCount - - - drainingEC2ServiceCount - - - drainingFargateServiceCount - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the cluster to help you categorize and - organize them. Each tag consists of a key and an optional value. You - define both. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - settings: list[ClusterSetting] | None = ... - """ - The settings for the cluster. This parameter indicates whether - CloudWatch Container Insights is on or off for a cluster. - """ - capacity_providers: list[str] | None = ... - """The capacity providers associated with the cluster.""" - default_capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """ - The default capacity provider strategy for the cluster. When services or - tasks are run in the cluster with no launch type or capacity provider - strategy specified, the default capacity provider strategy is used. - """ - attachments: list[Attachment] | None = ... - """ - The resources attached to a cluster. When using a capacity provider with - a cluster, the capacity provider and associated resources are returned - as cluster attachments. - """ - attachments_status: str | None = ... - """ - The status of the capacity providers associated with the cluster. The - following are the states that are returned. - - UPDATE_IN_PROGRESS - - : The available capacity providers for the cluster are updating. - - UPDATE_COMPLETE - - : The capacity providers have successfully updated. - - UPDATE_FAILED - - : The capacity provider updates failed. - """ - service_connect_defaults: ClusterServiceConnectDefaults | None = ... - """ - Use this parameter to set a default Service Connect namespace. After you - set a default Service Connect namespace, any new services with Service - Connect turned on that are created in the cluster are added as client - services in the namespace. This setting only applies to new services - that set the `enabled` parameter to `true` in the - `ServiceConnectConfiguration`. You can set the namespace of each service - individually in the `ServiceConnectConfiguration` to override this - default parameter. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - -@dataclass(kw_only=True) -class ClusterConfiguration(_SerdeShape): - """The execute command and managed storage configuration for the cluster.""" - - execute_command_configuration: ExecuteCommandConfiguration | None = ... - """The details of the execute command configuration.""" - managed_storage_configuration: ManagedStorageConfiguration | None = ... - """The details of the managed storage configuration.""" - -@dataclass(kw_only=True) -class ClusterContainsCapacityProviderException(ServiceError, _SerdeShape): - """ - The cluster contains one or more capacity providers that prevent the - requested operation. This exception occurs when you try to delete a - cluster that still has active capacity providers, including Amazon ECS - Managed Instances capacity providers. You must first delete all capacity - providers from the cluster before you can delete the cluster itself. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ClusterContainsContainerInstancesException(ServiceError, _SerdeShape): - """ - You can't delete a cluster that has registered container instances. - First, deregister the container instances before you can delete the - cluster. For more information, see - [DeregisterContainerInstance](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterContainerInstance.html). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ClusterContainsServicesException(ServiceError, _SerdeShape): - """ - You can't delete a cluster that contains services. First, update the - service to reduce its desired task count to 0, and then delete the - service. For more information, see - [UpdateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html) - and - [DeleteService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteService.html). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ClusterContainsTasksException(ServiceError, _SerdeShape): - """You can't delete a cluster that has active tasks.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ClusterField(UnknownEnumMixin, StrEnum): - ATTACHMENTS = "ATTACHMENTS" - CONFIGURATIONS = "CONFIGURATIONS" - SETTINGS = "SETTINGS" - STATISTICS = "STATISTICS" - TAGS = "TAGS" - -@dataclass(kw_only=True) -class ClusterNotFoundException(ServiceError, _SerdeShape): - """ - The specified cluster wasn't found. You can view your available - clusters with - [ListClusters](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html). - Amazon ECS clusters are Region specific. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ClusterServiceConnectDefaults(_SerdeShape): - """ - Use this parameter to set a default Service Connect namespace. After you - set a default Service Connect namespace, any new services with Service - Connect turned on that are created in the cluster are added as client - services in the namespace. This setting only applies to new services - that set the `enabled` parameter to `true` in the - `ServiceConnectConfiguration`. You can set the namespace of each service - individually in the `ServiceConnectConfiguration` to override this - default parameter. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - namespace: str | None = ... - """ - The namespace name or full Amazon Resource Name (ARN) of the Cloud Map - namespace. When you create a service and don't specify a Service - Connect configuration, this namespace is used. - """ - -@dataclass(kw_only=True) -class ClusterServiceConnectDefaultsRequest(_SerdeShape): - """ - Use this parameter to set a default Service Connect namespace. After you - set a default Service Connect namespace, any new services with Service - Connect turned on that are created in the cluster are added as client - services in the namespace. This setting only applies to new services - that set the `enabled` parameter to `true` in the - `ServiceConnectConfiguration`. You can set the namespace of each service - individually in the `ServiceConnectConfiguration` to override this - default parameter. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - namespace: str - """ - The namespace name or full Amazon Resource Name (ARN) of the Cloud Map - namespace that's used when you create a service and don't specify a - Service Connect configuration. The namespace name can include up to 1024 - characters. The name is case-sensitive. The name can't include greater - than (>), less than (<), double quotation marks (\"), or slash (/). - - If you enter an existing namespace name or ARN, then that namespace will - be used. Any namespace type is supported. The namespace must be in this - account and this Amazon Web Services Region. - - If you enter a new name, a Cloud Map namespace will be created. Amazon - ECS creates a Cloud Map namespace with the \"API calls\" method of - instance discovery only. This instance discovery method is the \"HTTP\" - namespace type in the Command Line Interface. Other types of instance - discovery aren't used by Service Connect. - - If you update the cluster with an empty string `""` for the namespace - name, the cluster configuration for Service Connect is removed. Note - that the namespace will remain in Cloud Map and must be deleted - separately. - - For more information about Cloud Map, see [Working with - Services](https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html) - in the *Cloud Map Developer Guide*. - """ - -@dataclass(kw_only=True) -class ClusterSetting(_SerdeShape): - """ - The settings to use when creating a cluster. This parameter is used to - turn on CloudWatch Container Insights with enhanced observability or - CloudWatch Container Insights for a cluster. - - Container Insights with enhanced observability provides all the - Container Insights metrics, plus additional task and container metrics. - This version supports enhanced observability for Amazon ECS clusters - using the Amazon EC2 and Fargate launch types. After you configure - Container Insights with enhanced observability on Amazon ECS, Container - Insights auto-collects detailed infrastructure telemetry from the - cluster level down to the container level in your environment and - displays these critical performance data in curated dashboards removing - the heavy lifting in observability set-up. - - For more information, see [Monitor Amazon ECS containers using Container - Insights with enhanced - observability](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - name: str | None = ... - """The name of the cluster setting. The value is `containerInsights`.""" - value: str | None = ... - """ - The value to set for the cluster setting. The supported values are - `enhanced`, `enabled`, and `disabled`. - - To use Container Insights with enhanced observability, set the - `containerInsights` account setting to `enhanced`. - - To use Container Insights, set the `containerInsights` account setting - to `enabled`. - - If a cluster value is specified, it will override the - `containerInsights` value set with - [PutAccountSetting](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html) - or - [PutAccountSettingDefault](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html). - """ - -class ClusterSettingName(UnknownEnumMixin, StrEnum): - CONTAINER_INSIGHTS = "containerInsights" - -class Compatibility(UnknownEnumMixin, StrEnum): - EC2 = "EC2" - FARGATE = "FARGATE" - EXTERNAL = "EXTERNAL" - MANAGED_INSTANCES = "MANAGED_INSTANCES" - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """ - The request could not be processed because of conflict in the current - state of the resource. - """ - - resource_ids: list[str] | None = ... - """ - The existing task ARNs which are already associated with the - `clientToken`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class Connectivity(UnknownEnumMixin, StrEnum): - CONNECTED = "CONNECTED" - DISCONNECTED = "DISCONNECTED" - -@dataclass(kw_only=True) -class Container(_SerdeShape): - """A Docker container that's part of a task.""" - - container_arn: str | None = ... - """The Amazon Resource Name (ARN) of the container.""" - task_arn: str | None = ... - """The ARN of the task.""" - name: str | None = ... - """The name of the container.""" - image: str | None = ... - """The image used for the container.""" - image_digest: str | None = ... - """The container image manifest digest.""" - runtime_id: str | None = ... - """The ID of the Docker container.""" - last_status: str | None = ... - """The last known status of the container.""" - exit_code: int | None = ... - """The exit code returned from the container.""" - reason: str | None = ... - """ - A short (1024 max characters) human-readable string to provide - additional details about a running or stopped container. - """ - network_bindings: list[NetworkBinding] | None = ... - """The network bindings associated with the container.""" - network_interfaces: list[NetworkInterface] | None = ... - """The network interfaces associated with the container.""" - health_status: str | None = ... - """ - The health status of the container. If health checks aren't configured - for this container in its task definition, then it reports the health - status as `UNKNOWN`. - """ - managed_agents: list[ManagedAgent] | None = ... - """ - The details of any Amazon ECS managed agents associated with the - container. - """ - cpu: str | None = ... - """ - The number of CPU units set for the container. The value is `0` if no - value was specified in the container definition when the task definition - was registered. - """ - memory: str | None = ... - """The hard limit (in MiB) of memory set for the container.""" - memory_reservation: str | None = ... - """The soft limit (in MiB) of memory set for the container.""" - gpu_ids: list[str] | None = ... - """The IDs of each GPU assigned to the container.""" - neuron_device_ids: list[str] | None = ... - """The IDs of each Neuron device assigned to the container.""" - gpu_sharing_strategy: SharingStrategy | None = ... - """ - The GPU sharing strategy that the task definition specifies for the - container. This field is present only for containers whose resource - requirements include `sharingStrategy`. - """ - -class ContainerCondition(UnknownEnumMixin, StrEnum): - START = "START" - COMPLETE = "COMPLETE" - SUCCESS = "SUCCESS" - HEALTHY = "HEALTHY" - -@dataclass(kw_only=True) -class ContainerDefinition(_SerdeShape): - """ - Container definitions are used in task definitions to describe the - different containers that are launched as part of a task. - """ - - name: str | None = ... - """ - The name of a container. If you're linking multiple containers together - in a task definition, the `name` of one container can be entered in the - `links` of another container to connect the containers. Up to 255 - letters (uppercase and lowercase), numbers, underscores, and hyphens are - allowed. This parameter maps to `name` in the docker container create - command and the `--name` option to docker run. - """ - image: str | None = ... - """ - The image used to start a container. This string is passed directly to - the Docker daemon. By default, images in the Docker Hub registry are - available. Other repositories are specified with either - ` `*`repository-url`*`/`*`image`*`:`*`tag`*` ` or - ` `*`repository-url`*`/`*`image`*`@`*`digest`*` `. For images using tags - (repository-url/image:tag), up to 255 characters total are allowed, - including letters (uppercase and lowercase), numbers, hyphens, - underscores, colons, periods, forward slashes, and number signs (#). For - images using digests (repository-url/image@digest), the 255 character - limit applies only to the repository URL and image name (everything - before the @ sign). The only supported hash function is sha256, and the - hash value after sha256: must be exactly 64 characters (only letters - A-F, a-f, and numbers 0-9 are allowed). This parameter maps to `Image` - in the docker container create command and the `IMAGE` parameter of - docker run. - - - When a new task starts, the Amazon ECS container agent pulls the - latest version of the specified image and tag for the container to - use. However, subsequent updates to a repository image aren't - propagated to already running tasks. - - - Images in Amazon ECR repositories can be specified by either using the - full `registry/repository:tag` or `registry/repository@digest`. For - example, - `012345678910.dkr.ecr..amazonaws.com/:latest` - or - `012345678910.dkr.ecr..amazonaws.com/@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE`. - - - Images in official repositories on Docker Hub use a single name (for - example, `ubuntu` or `mongo`). - - - Images in other repositories on Docker Hub are qualified with an - organization name (for example, `amazon/amazon-ecs-agent`). - - - Images in other online repositories are qualified further by a domain - name (for example, `quay.io/assemblyline/ubuntu`). - """ - repository_credentials: RepositoryCredentials | None = ... - """The private repository authentication credentials to use.""" - cpu: int = ... - """ - The number of `cpu` units reserved for the container. This parameter - maps to `CpuShares` in the docker container create command and the - `--cpu-shares` option to docker run. - - This field is optional for tasks using the Fargate launch type, and the - only requirement is that the total amount of CPU reserved for all - containers within a task be lower than the task-level `cpu` value. - - Note: - You can determine the number of CPU units that are available per EC2 - instance type by multiplying the vCPUs listed for that instance type on - the [Amazon EC2 Instances](http://aws.amazon.com/ec2/instance-types/) - detail page by 1,024. - - Linux containers share unallocated CPU units with other containers on - the container instance with the same ratio as their allocated amount. - For example, if you run a single-container task on a single-core - instance type with 512 CPU units specified for that container, and - that's the only task running on the container instance, that container - could use the full 1,024 CPU unit share at any given time. However, if - you launched another copy of the same task on that container instance, - each task is guaranteed a minimum of 512 CPU units when needed. - Moreover, each container could float to higher CPU usage if the other - container was not using it. If both tasks were 100% active all of the - time, they would be limited to 512 CPU units. - - On Linux container instances, the Docker daemon on the container - instance uses the CPU value to calculate the relative CPU share ratios - for running containers. The minimum valid CPU share value that the Linux - kernel allows is 2, and the maximum valid CPU share value that the Linux - kernel allows is 262144. However, the CPU parameter isn't required, and - you can use CPU values below 2 or above 262144 in your container - definitions. For CPU values below 2 (including null) or above 262144, - the behavior varies based on your Amazon ECS container agent version: - - - **Agent versions less than or equal to 1.1.0:** Null and zero CPU - values are passed to Docker as 0, which Docker then converts to 1,024 - CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux - kernel converts to two CPU shares. - - - **Agent versions greater than or equal to 1.2.0:** Null, zero, and CPU - values of 1 are passed to Docker as 2. - - - **Agent versions greater than or equal to 1.84.0:** CPU values greater - than 256 vCPU are passed to Docker as 256, which is equivalent to - 262144 CPU shares. - - On Windows container instances, the CPU limit is enforced as an absolute - limit, or a quota. Windows containers only have access to the specified - amount of CPU that's described in the task definition. A null or zero - CPU value is passed to Docker as `0`, which Windows interprets as 1% of - one CPU. - """ - memory: int | None = ... - """ - The amount (in MiB) of memory to present to the container. If your - container attempts to exceed the memory specified here, the container is - killed. The total amount of memory reserved for all containers within a - task must be lower than the task `memory` value, if one is specified. - This parameter maps to `Memory` in the docker container create command - and the `--memory` option to docker run. - - If using the Fargate launch type, this parameter is optional. - - If using the EC2 launch type, you must specify either a task-level - memory value or a container-level memory value. If you specify both a - container-level `memory` and `memoryReservation` value, `memory` must be - greater than `memoryReservation`. If you specify `memoryReservation`, - then that value is subtracted from the available memory resources for - the container instance where the container is placed. Otherwise, the - value of `memory` is used. - - The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory - for a container. So, don't specify less than 6 MiB of memory for your - containers. - - The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of - memory for a container. So, don't specify less than 4 MiB of memory for - your containers. - """ - memory_reservation: int | None = ... - """ - The soft limit (in MiB) of memory to reserve for the container. When - system memory is under heavy contention, Docker attempts to keep the - container memory to this soft limit. However, your container can consume - more memory when it needs to, up to either the hard limit specified with - the `memory` parameter (if applicable), or all of the available memory - on the container instance, whichever comes first. This parameter maps to - `MemoryReservation` in the docker container create command and the - `--memory-reservation` option to docker run. - - If a task-level memory value is not specified, you must specify a - non-zero integer for one or both of `memory` or `memoryReservation` in a - container definition. If you specify both, `memory` must be greater than - `memoryReservation`. If you specify `memoryReservation`, then that value - is subtracted from the available memory resources for the container - instance where the container is placed. Otherwise, the value of `memory` - is used. - - For example, if your container normally uses 128 MiB of memory, but - occasionally bursts to 256 MiB of memory for short periods of time, you - can set a `memoryReservation` of 128 MiB, and a `memory` hard limit of - 300 MiB. This configuration would allow the container to only reserve - 128 MiB of memory from the remaining resources on the container - instance, but also allow the container to consume more memory resources - when needed. - - The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory - for a container. So, don't specify less than 6 MiB of memory for your - containers. - - The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of - memory for a container. So, don't specify less than 4 MiB of memory for - your containers. - """ - links: list[str] | None = ... - """ - The `links` parameter allows containers to communicate with each other - without the need for port mappings. This parameter is only supported if - the network mode of a task definition is `bridge`. The - `name:internalName` construct is analogous to `name:alias` in Docker - links. Up to 255 letters (uppercase and lowercase), numbers, - underscores, and hyphens are allowed.. This parameter maps to `Links` in - the docker container create command and the `--link` option to docker - run. - - Note: - This parameter is not supported for Windows containers. - Warning: - Containers that are collocated on a single container instance may be - able to communicate with each other without requiring links or host port - mappings. Network isolation is achieved on the container instance using - security groups and VPC settings. - """ - port_mappings: list[PortMapping] | None = ... - """ - The list of port mappings for the container. Port mappings allow - containers to access ports on the host container instance to send or - receive traffic. - - For task definitions that use the `awsvpc` network mode, only specify - the `containerPort`. The `hostPort` can be left blank or it must be the - same value as the `containerPort`. - - Port mappings on Windows use the `NetNAT` gateway address rather than - `localhost`. There's no loopback for port mappings on Windows, so you - can't access a container's mapped port from the host itself. - - This parameter maps to `PortBindings` in the docker container create - command and the `--publish` option to docker run. If the network mode of - a task definition is set to `none`, then you can't specify port - mappings. If the network mode of a task definition is set to `host`, - then host ports must either be undefined or they must match the - container port in the port mapping. - - Note: - After a task reaches the `RUNNING` status, manual and automatic host and - container port assignments are visible in the **Network Bindings** - section of a container description for a selected task in the Amazon ECS - console. The assignments are also visible in the `networkBindings` - section - [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) - responses. - """ - essential: bool | None = ... - """ - If the `essential` parameter of a container is marked as `true`, and - that container fails or stops for any reason, all other containers that - are part of the task are stopped. If the `essential` parameter of a - container is marked as `false`, its failure doesn't affect the rest of - the containers in a task. If this parameter is omitted, a container is - assumed to be essential. - - All tasks must have at least one essential container. If you have an - application that's composed of multiple containers, group containers - that are used for a common purpose into components, and separate the - different components into multiple task definitions. For more - information, see [Application - Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - restart_policy: ContainerRestartPolicy | None = ... - """ - The restart policy for a container. When you set up a restart policy, - Amazon ECS can restart the container without needing to replace the - task. For more information, see [Restart individual containers in Amazon - ECS tasks with container restart - policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - entry_point: list[str] | None = ... - """ - Warning: - Early versions of the Amazon ECS container agent don't properly handle - `entryPoint` parameters. If you have problems using `entryPoint`, update - your container agent or enter your commands and arguments as `command` - array items instead. - - The entry point that's passed to the container. This parameter maps to - `Entrypoint` in the docker container create command and the - `--entrypoint` option to docker run. - """ - command: list[str] | None = ... - """ - The command that's passed to the container. This parameter maps to - `Cmd` in the docker container create command and the `COMMAND` parameter - to docker run. If there are multiple arguments, each argument is a - separated string in the array. - """ - environment: list[KeyValuePair] | None = ... - """ - The environment variables to pass to a container. This parameter maps to - `Env` in the docker container create command and the `--env` option to - docker run. - - Warning: - We don't recommend that you use plaintext environment variables for - sensitive information, such as credential data. - """ - environment_files: list[EnvironmentFile] | None = ... - """ - A list of files containing the environment variables to pass to a - container. This parameter maps to the `--env-file` option to docker run. - - You can specify up to ten environment files. The file must have a `.env` - file extension. Each line in an environment file contains an environment - variable in `VARIABLE=VALUE` format. Lines beginning with `#` are - treated as comments and are ignored. - - If there are environment variables specified using the `environment` - parameter in a container definition, they take precedence over the - variables contained within an environment file. If multiple environment - files are specified that contain the same variable, they're processed - from the top down. We recommend that you use unique variable names. For - more information, see [Specifying Environment - Variables](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - mount_points: list[MountPoint] | None = ... - """ - The mount points for data volumes in your container. - - This parameter maps to `Volumes` in the docker container create command - and the `--volume` option to docker run. - - Windows containers can mount whole directories on the same drive as - `$env:ProgramData`. Windows containers can't mount directories on a - different drive, and mount point can't be across drives. - """ - volumes_from: list[VolumeFrom] | None = ... - """ - Data volumes to mount from another container. This parameter maps to - `VolumesFrom` in the docker container create command and the - `--volumes-from` option to docker run. - """ - linux_parameters: LinuxParameters | None = ... - """ - Linux-specific modifications that are applied to the default Docker - container configuration, such as Linux kernel capabilities. For more - information see - [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). - - Note: - This parameter is not supported for Windows containers. - """ - secrets: list[Secret] | None = ... - """ - The secrets to pass to the container. For more information, see - [Specifying Sensitive - Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - depends_on: list[ContainerDependency] | None = ... - """ - The dependencies defined for container startup and shutdown. A container - can contain multiple dependencies on other containers in a task - definition. When a dependency is defined for container startup, for - container shutdown it is reversed. - - For tasks using the EC2 launch type, the container instances require at - least version 1.26.0 of the container agent to turn on container - dependencies. However, we recommend using the latest container agent - version. For information about checking your agent version and updating - to the latest version, see [Updating the Amazon ECS Container - Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) - in the *Amazon Elastic Container Service Developer Guide*. If you're - using an Amazon ECS-optimized Linux AMI, your instance needs at least - version 1.26.0-1 of the `ecs-init` package. If your container instances - are launched from version `20190301` or later, then they contain the - required versions of the container agent and `ecs-init`. For more - information, see [Amazon ECS-optimized Linux - AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) - in the *Amazon Elastic Container Service Developer Guide*. - - For tasks using the Fargate launch type, the task or service requires - the following platforms: - - - Linux platform version `1.3.0` or later. - - - Windows platform version `1.0.0` or later. - """ - start_timeout: int | None = ... - """ - Time duration (in seconds) to wait before giving up on resolving - dependencies for a container. For example, you specify two containers in - a task definition with containerA having a dependency on containerB - reaching a `COMPLETE`, `SUCCESS`, or `HEALTHY` status. If a - `startTimeout` value is specified for containerB and it doesn't reach - the desired status within that time then containerA gives up and not - start. This results in the task transitioning to a `STOPPED` state. - - Note: - When the `ECS_CONTAINER_START_TIMEOUT` container agent configuration - variable is used, it's enforced independently from this start timeout - value. - - For tasks using the Fargate launch type, the task or service requires - the following platforms: - - - Linux platform version `1.3.0` or later. - - - Windows platform version `1.0.0` or later. - - For tasks using the EC2 launch type, your container instances require at - least version `1.26.0` of the container agent to use a container start - timeout value. However, we recommend using the latest container agent - version. For information about checking your agent version and updating - to the latest version, see [Updating the Amazon ECS Container - Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) - in the *Amazon Elastic Container Service Developer Guide*. If you're - using an Amazon ECS-optimized Linux AMI, your instance needs at least - version `1.26.0-1` of the `ecs-init` package. If your container - instances are launched from version `20190301` or later, then they - contain the required versions of the container agent and `ecs-init`. For - more information, see [Amazon ECS-optimized Linux - AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) - in the *Amazon Elastic Container Service Developer Guide*. - - The valid values for Fargate are 2-120 seconds. - """ - stop_timeout: int | None = ... - """ - Time duration (in seconds) to wait before the container is forcefully - killed if it doesn't exit normally on its own. - - For tasks using the Fargate launch type, the task or service requires - the following platforms: - - - Linux platform version `1.3.0` or later. - - - Windows platform version `1.0.0` or later. - - For tasks that use the Fargate launch type, the max stop timeout value - is 120 seconds and if the parameter is not specified, the default value - of 30 seconds is used. - - For tasks that use the EC2 launch type, if the `stopTimeout` parameter - isn't specified, the value set for the Amazon ECS container agent - configuration variable `ECS_CONTAINER_STOP_TIMEOUT` is used. If neither - the `stopTimeout` parameter or the `ECS_CONTAINER_STOP_TIMEOUT` agent - configuration variable are set, then the default values of 30 seconds - for Linux containers and 30 seconds on Windows containers are used. Your - container instances require at least version 1.26.0 of the container - agent to use a container stop timeout value. However, we recommend using - the latest container agent version. For information about checking your - agent version and updating to the latest version, see [Updating the - Amazon ECS Container - Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) - in the *Amazon Elastic Container Service Developer Guide*. If you're - using an Amazon ECS-optimized Linux AMI, your instance needs at least - version 1.26.0-1 of the `ecs-init` package. If your container instances - are launched from version `20190301` or later, then they contain the - required versions of the container agent and `ecs-init`. For more - information, see [Amazon ECS-optimized Linux - AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) - in the *Amazon Elastic Container Service Developer Guide*. - - The valid values for Fargate are 2-120 seconds. - """ - version_consistency: str | None = ... - """ - Specifies whether Amazon ECS will resolve the container image tag - provided in the container definition to an image digest. By default, the - value is `enabled`. If you set the value for a container as `disabled`, - Amazon ECS will not resolve the provided container image tag to a digest - and will use the original image URI specified in the container - definition for deployment. For more information about container image - resolution, see [Container image - resolution](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability) - in the *Amazon ECS Developer Guide*. - """ - hostname: str | None = ... - """ - The hostname to use for your container. This parameter maps to - `Hostname` in the docker container create command and the `--hostname` - option to docker run. - - Note: - The `hostname` parameter is not supported if you're using the `awsvpc` - network mode. - """ - user: str | None = ... - """ - The user to use inside the container. This parameter maps to `User` in - the docker container create command and the `--user` option to docker - run. - - Warning: - When running tasks using the `host` network mode, don't run containers - using the root user (UID 0). We recommend using a non-root user for - better security. - - You can specify the `user` using the following formats. If specifying a - UID or GID, you must specify it as a positive integer. - - - `user` - - - `user:group` - - - `uid` - - - `uid:gid` - - - `user:gid` - - - `uid:group` - - Note: - This parameter is not supported for Windows containers. - """ - working_directory: str | None = ... - """ - The working directory to run commands inside the container in. This - parameter maps to `WorkingDir` in the docker container create command - and the `--workdir` option to docker run. - """ - disable_networking: bool | None = ... - """ - When this parameter is true, networking is off within the container. - This parameter maps to `NetworkDisabled` in the docker container create - command. - - Note: - This parameter is not supported for Windows containers. - """ - privileged: bool | None = ... - """ - When this parameter is true, the container is given elevated privileges - on the host container instance (similar to the `root` user). This - parameter maps to `Privileged` in the docker container create command - and the `--privileged` option to docker run - - Note: - This parameter is not supported for Windows containers or tasks run on - Fargate. - """ - readonly_root_filesystem: bool | None = ... - """ - When this parameter is true, the container is given read-only access to - its root file system. This parameter maps to `ReadonlyRootfs` in the - docker container create command and the `--read-only` option to docker - run. - - Note: - This parameter is not supported for Windows containers. - """ - dns_servers: list[str] | None = ... - """ - A list of DNS servers that are presented to the container. This - parameter maps to `Dns` in the docker container create command and the - `--dns` option to docker run. - - Note: - This parameter is not supported for Windows containers. - """ - dns_search_domains: list[str] | None = ... - """ - A list of DNS search domains that are presented to the container. This - parameter maps to `DnsSearch` in the docker container create command and - the `--dns-search` option to docker run. - - Note: - This parameter is not supported for Windows containers. - """ - extra_hosts: list[HostEntry] | None = ... - """ - A list of hostnames and IP address mappings to append to the - `/etc/hosts` file on the container. This parameter maps to `ExtraHosts` - in the docker container create command and the `--add-host` option to - docker run. - - Note: - This parameter isn't supported for Windows containers or tasks that use - the `awsvpc` network mode. - """ - docker_security_options: list[str] | None = ... - """ - A list of strings to provide custom configuration for multiple security - systems. This field isn't valid for containers in tasks using the - Fargate launch type. - - For Linux tasks on EC2, this parameter can be used to reference custom - labels for SELinux and AppArmor multi-level security systems. - - For any tasks on EC2, this parameter can be used to reference a - credential spec file that configures a container for Active Directory - authentication. For more information, see [Using gMSAs for Windows - Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html) - and [Using gMSAs for Linux - Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html) - in the *Amazon Elastic Container Service Developer Guide*. - - This parameter maps to `SecurityOpt` in the docker container create - command and the `--security-opt` option to docker run. - - Note: - The Amazon ECS container agent running on a container instance must - register with the `ECS_SELINUX_CAPABLE=true` or - `ECS_APPARMOR_CAPABLE=true` environment variables before containers - placed on that instance can use these security options. For more - information, see [Amazon ECS Container Agent - Configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | - \"label:value\" | \"credentialspec:CredentialSpecFilePath\" - """ - interactive: bool | None = ... - """ - When this parameter is `true`, you can deploy containerized applications - that require `stdin` or a `tty` to be allocated. This parameter maps to - `OpenStdin` in the docker container create command and the - `--interactive` option to docker run. - """ - pseudo_terminal: bool | None = ... - """ - When this parameter is `true`, a TTY is allocated. This parameter maps - to `Tty` in the docker container create command and the `--tty` option - to docker run. - """ - docker_labels: dict[str, str] | None = ... - """ - A key/value map of labels to add to the container. This parameter maps - to `Labels` in the docker container create command and the `--label` - option to docker run. This parameter requires version 1.18 of the Docker - Remote API or greater on your container instance. To check the Docker - Remote API version on your container instance, log in to your container - instance and run the following command: - `sudo docker version --format '{{.Server.APIVersion}}'` - """ - ulimits: list[Ulimit] | None = ... - """ - A list of `ulimits` to set in the container. If a `ulimit` value is - specified in a task definition, it overrides the default values set by - Docker. This parameter maps to `Ulimits` in the docker container create - command and the `--ulimit` option to docker run. Valid naming values are - displayed in the - [Ulimit](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Ulimit.html) - data type. - - Amazon ECS tasks hosted on Fargate use the default resource limit values - set by the operating system with the exception of the `nofile` resource - limit parameter which Fargate overrides. The `nofile` resource limit - sets a restriction on the number of open files that a container can use. - The default `nofile` soft limit is ` 65535` and the default hard limit - is `65535`. - - This parameter requires version 1.18 of the Docker Remote API or greater - on your container instance. To check the Docker Remote API version on - your container instance, log in to your container instance and run the - following command: - `sudo docker version --format '{{.Server.APIVersion}}'` - - Note: - This parameter is not supported for Windows containers. - """ - log_configuration: LogConfiguration | None = ... - """ - The log configuration specification for the container. - - This parameter maps to `LogConfig` in the docker container create - command and the `--log-driver` option to docker run. By default, - containers use the same logging driver that the Docker daemon uses. - However the container can use a different logging driver than the Docker - daemon by specifying a log driver with this parameter in the container - definition. To use a different logging driver for a container, the log - system must be configured properly on the container instance (or on a - different log server for remote logging options). - - Note: - Amazon ECS currently supports a subset of the logging drivers available - to the Docker daemon (shown in the - [LogConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html) - data type). Additional log drivers may be available in future releases - of the Amazon ECS container agent. - - This parameter requires version 1.18 of the Docker Remote API or greater - on your container instance. To check the Docker Remote API version on - your container instance, log in to your container instance and run the - following command: - `sudo docker version --format '{{.Server.APIVersion}}'` - - Note: - The Amazon ECS container agent running on a container instance must - register the logging drivers available on that instance with the - `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers - placed on that instance can use these log configuration options. For - more information, see [Amazon ECS Container Agent - Configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - health_check: HealthCheck | None = ... - """ - The container health check command and associated configuration - parameters for the container. This parameter maps to `HealthCheck` in - the docker container create command and the `HEALTHCHECK` parameter of - docker run. - """ - system_controls: list[SystemControl] | None = ... - """ - A list of namespaced kernel parameters to set in the container. This - parameter maps to `Sysctls` in the docker container create command and - the `--sysctl` option to docker run. For example, you can configure - `net.ipv4.tcp_keepalive_time` setting to maintain longer lived - connections. - """ - resource_requirements: list[ResourceRequirement] | None = ... - """ - The type and amount of a resource to assign to a container. The - supported resources are GPUs and Neuron devices. - """ - firelens_configuration: FirelensConfiguration | None = ... - """ - The FireLens configuration for the container. This is used to specify - and configure a log router for container logs. For more information, see - [Custom Log - Routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - credential_specs: list[str] | None = ... - """ - A list of ARNs in SSM or Amazon S3 to a credential spec (`CredSpec`) - file that configures the container for Active Directory authentication. - We recommend that you use this parameter instead of the - `dockerSecurityOptions`. The maximum number of ARNs is 1. - - There are two formats for each ARN. - - credentialspecdomainless:MyARN - - : You use `credentialspecdomainless:MyARN` to provide a `CredSpec` with - an additional section for a secret in Secrets Manager. You provide the - login credentials to the domain in the secret. - - Each task that runs on any container instance can join different - domains. - - You can use this format without joining the container instance to a - domain. - - credentialspec:MyARN - - : You use `credentialspec:MyARN` to provide a `CredSpec` for a single - domain. - - You must join the container instance to the domain before you start - any tasks that use this task definition. - - In both formats, replace `MyARN` with the ARN in SSM or Amazon S3. - - If you provide a `credentialspecdomainless:MyARN`, the `credspec` must - provide a ARN in Secrets Manager for a secret containing the username, - password, and the domain to connect to. For better security, the - instance isn't joined to the domain for domainless authentication. - Other applications on the instance can't use the domainless - credentials. You can use this parameter to run tasks on the same - instance, even it the tasks need to join different domains. For more - information, see [Using gMSAs for Windows - Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html) - and [Using gMSAs for Linux - Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html). - """ - -@dataclass(kw_only=True) -class ContainerDependency(_SerdeShape): - """ - The dependencies defined for container startup and shutdown. A container - can contain multiple dependencies. When a dependency is defined for - container startup, for container shutdown it is reversed. - - Your Amazon ECS container instances require at least version 1.26.0 of - the container agent to use container dependencies. However, we recommend - using the latest container agent version. For information about checking - your agent version and updating to the latest version, see [Updating the - Amazon ECS Container - Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) - in the *Amazon Elastic Container Service Developer Guide*. If you're - using an Amazon ECS-optimized Linux AMI, your instance needs at least - version 1.26.0-1 of the `ecs-init` package. If your container instances - are launched from version `20190301` or later, then they contain the - required versions of the container agent and `ecs-init`. For more - information, see [Amazon ECS-optimized Linux - AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Note: - For tasks that use the Fargate launch type, the task or service requires - the following platforms: - - - Linux platform version `1.3.0` or later. - - - Windows platform version `1.0.0` or later. - - For more information about how to create a container dependency, see - [Container - dependency](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - container_name: str - """The name of a container.""" - condition: str - """ - The dependency condition of the container. The following are the - available conditions and their behavior: - - - `START` - This condition emulates the behavior of links and volumes - today. It validates that a dependent container is started before - permitting other containers to start. - - - `COMPLETE` - This condition validates that a dependent container runs - to completion (exits) before permitting other containers to start. - This can be useful for nonessential containers that run a script and - then exit. This condition can't be set on an essential container. - - - `SUCCESS` - This condition is the same as `COMPLETE`, but it also - requires that the container exits with a `zero` status. This condition - can't be set on an essential container. - - - `HEALTHY` - This condition validates that the dependent container - passes its Docker health check before permitting other containers to - start. This requires that the dependent container has health checks - configured. This condition is confirmed only at task startup. - """ - -@dataclass(kw_only=True) -class ContainerImage(_SerdeShape): - """ - The details about the container image a service revision uses. - - To ensure that all tasks in a service use the same container image, - Amazon ECS resolves container image names and any image tags specified - in the task definition to container image digests. - - After the container image digest has been established, Amazon ECS uses - the digest to start any other desired tasks, and for any future service - and service revision updates. This leads to all tasks in a service - always running identical container images, resulting in version - consistency for your software. For more information, see [Container - image - resolution](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability) - in the Amazon ECS Developer Guide. - """ - - container_name: str | None = ... - """The name of the container.""" - image_digest: str | None = ... - """The container image digest.""" - image: str | None = ... - """The container image.""" - -@dataclass(kw_only=True) -class ContainerInstance(_SerdeShape): - """ - An Amazon EC2 or External instance that's running the Amazon ECS agent - and has been registered with a cluster. - """ - - container_instance_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the container instance. For more - information about the ARN format, see [Amazon Resource Name - (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) - in the *Amazon ECS Developer Guide*. - """ - ec2_instance_id: str | None = ... - """ - The ID of the container instance. For Amazon EC2 instances, this value - is the Amazon EC2 instance ID. For external instances, this value is the - Amazon Web Services Systems Manager managed instance ID. - """ - capacity_provider_name: str | None = ... - """The capacity provider that's associated with the container instance.""" - version: int = ... - """ - The version counter for the container instance. Every time a container - instance experiences a change that triggers a CloudWatch event, the - version counter is incremented. If you're replicating your Amazon ECS - container instance state with CloudWatch Events, you can compare the - version of a container instance reported by the Amazon ECS APIs with the - version reported in CloudWatch Events for the container instance (inside - the `detail` object) to verify that the version in your event stream is - current. - """ - version_info: VersionInfo | None = ... - """ - The version information for the Amazon ECS container agent and Docker - daemon running on the container instance. - """ - remaining_resources: list[Resource] | None = ... - """ - For CPU and memory resource types, this parameter describes the - remaining CPU and memory that wasn't already allocated to tasks and is - therefore available for new tasks. For port resource types, this - parameter describes the ports that were reserved by the Amazon ECS - container agent (at instance registration time) and any task containers - that have reserved port mappings on the host (with the `host` or - `bridge` network mode). Any port that's not specified here is available - for new tasks. - """ - registered_resources: list[Resource] | None = ... - """ - For CPU and memory resource types, this parameter describes the amount - of each resource that was available on the container instance when the - container agent registered it with Amazon ECS. This value represents the - total amount of CPU and memory that can be allocated on this container - instance to tasks. For port resource types, this parameter describes the - ports that were reserved by the Amazon ECS container agent when it - registered the container instance with Amazon ECS. - """ - status: str | None = ... - """ - The status of the container instance. The valid values are - `REGISTERING`, `REGISTRATION_FAILED`, `ACTIVE`, `INACTIVE`, - `DEREGISTERING`, or `DRAINING`. - - If your account has opted in to the `awsvpcTrunking` account setting, - then any newly registered container instance will transition to a - `REGISTERING` status while the trunk elastic network interface is - provisioned for the instance. If the registration fails, the instance - will transition to a `REGISTRATION_FAILED` status. You can describe the - container instance and see the reason for failure in the `statusReason` - parameter. Once the container instance is terminated, the instance - transitions to a `DEREGISTERING` status while the trunk elastic network - interface is deprovisioned. The instance then transitions to an - `INACTIVE` status. - - The `ACTIVE` status indicates that the container instance can accept - tasks. The `DRAINING` indicates that new tasks aren't placed on the - container instance and any service tasks running on the container - instance are removed if possible. For more information, see [Container - instance - draining](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-draining.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - status_reason: str | None = ... - """The reason that the container instance reached its current status.""" - agent_connected: bool = ... - """ - This parameter returns `true` if the agent is connected to Amazon ECS. - An instance with an agent that may be unhealthy or stopped return - `false`. Only instances connected to an agent can accept task placement - requests. - """ - running_tasks_count: int = ... - """ - The number of tasks on the container instance that have a desired status - (`desiredStatus`) of `RUNNING`. - """ - pending_tasks_count: int = ... - """ - The number of tasks on the container instance that are in the `PENDING` - status. - """ - agent_update_status: str | None = ... - """ - The status of the most recent agent update. If an update wasn't ever - requested, this value is `NULL`. - """ - attributes: list[Attribute] | None = ... - """ - The attributes set for the container instance, either by the Amazon ECS - container agent at instance registration or manually with the - [PutAttributes](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAttributes.html) - operation. - """ - registered_at: datetime | None = ... - """ - The Unix timestamp for the time when the container instance was - registered. - """ - attachments: list[Attachment] | None = ... - """ - The resources attached to a container instance, such as an elastic - network interface. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the container instance to help you - categorize and organize them. Each tag consists of a key and an optional - value. You define both. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - health_status: ContainerInstanceHealthStatus | None = ... - """An object representing the health status of the container instance.""" - gpu_devices: list[GpuDevice] | None = ... - """ - The state of each GPU on the container instance, including its sharing - mode and available memory. This field is present only for container - instances that support GPU sharing. - """ - -class ContainerInstanceField(UnknownEnumMixin, StrEnum): - TAGS = "TAGS" - CONTAINER_INSTANCE_HEALTH = "CONTAINER_INSTANCE_HEALTH" - -@dataclass(kw_only=True) -class ContainerInstanceHealthStatus(_SerdeShape): - """An object representing the health status of the container instance.""" - - overall_status: str | None = ... - """ - The overall health status of the container instance. This is an - aggregate status of all container instance health checks. - """ - details: list[InstanceHealthCheckResult] | None = ... - """ - An array of objects representing the details of the container instance - health status. - """ - -class ContainerInstanceStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - DRAINING = "DRAINING" - REGISTERING = "REGISTERING" - DEREGISTERING = "DEREGISTERING" - REGISTRATION_FAILED = "REGISTRATION_FAILED" - -@dataclass(kw_only=True) -class ContainerOverride(_SerdeShape): - """ - The overrides that are sent to a container. An empty container override - can be passed in. An example of an empty container override is - `{"containerOverrides": [ ] }`. If a non-empty container override is - specified, the `name` parameter must be included. - - You can use Secrets Manager or Amazon Web Services Systems Manager - Parameter Store to store the sensitive data. For more information, see - [Retrieve secrets through environment - variables](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/secrets-envvar.html) - in the Amazon ECS Developer Guide. - """ - - name: str | None = ... - """ - The name of the container that receives the override. This parameter is - required if any override is specified. - """ - command: list[str] | None = ... - """ - The command to send to the container that overrides the default command - from the Docker image or the task definition. You must also specify a - container name. - """ - environment: list[KeyValuePair] | None = ... - """ - The environment variables to send to the container. You can add new - environment variables, which are added to the container at launch, or - you can override the existing environment variables from the Docker - image or the task definition. You must also specify a container name. - """ - environment_files: list[EnvironmentFile] | None = ... - """ - A list of files containing the environment variables to pass to a - container, instead of the value from the container definition. - """ - cpu: int | None = ... - """ - The number of `cpu` units reserved for the container, instead of the - default value from the task definition. You must also specify a - container name. - """ - memory: int | None = ... - """ - The hard limit (in MiB) of memory to present to the container, instead - of the default value from the task definition. If your container - attempts to exceed the memory specified here, the container is killed. - You must also specify a container name. - """ - memory_reservation: int | None = ... - """ - The soft limit (in MiB) of memory to reserve for the container, instead - of the default value from the task definition. You must also specify a - container name. - """ - resource_requirements: list[ResourceRequirement] | None = ... - """ - The type and amount of a resource to assign to a container, instead of - the default value from the task definition. The supported resources are - GPUs and Neuron devices. - """ - -@dataclass(kw_only=True) -class ContainerRestartPolicy(_SerdeShape): - """ - You can enable a restart policy for each container defined in your task - definition, to overcome transient failures faster and maintain task - availability. When you enable a restart policy for a container, Amazon - ECS can restart the container if it exits, without needing to replace - the task. For more information, see [Restart individual containers in - Amazon ECS tasks with container restart - policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - enabled: bool - """Specifies whether a restart policy is enabled for the container.""" - ignored_exit_codes: list[int] | None = ... - """ - A list of exit codes that Amazon ECS will ignore and not attempt a - restart on. You can specify a maximum of 50 container exit codes. By - default, Amazon ECS does not ignore any exit codes. - """ - restart_attempt_period: int | None = ... - """ - A period of time (in seconds) that the container must run for before a - restart can be attempted. A container can be restarted only once every - `restartAttemptPeriod` seconds. If a container isn't able to run for - this time period and exits early, it will not be restarted. You can set - a minimum `restartAttemptPeriod` of 60 seconds and a maximum - `restartAttemptPeriod` of 1800 seconds. By default, a container must run - for 300 seconds before it can be restarted. - """ - -@dataclass(kw_only=True) -class ContainerStateChange(_SerdeShape): - """An object that represents a change in state for a container.""" - - container_name: str | None = ... - """The name of the container.""" - image_digest: str | None = ... - """The container image SHA 256 digest.""" - runtime_id: str | None = ... - """The ID of the Docker container.""" - exit_code: int | None = ... - """ - The exit code for the container, if the state change is a result of the - container exiting. - """ - network_bindings: list[NetworkBinding] | None = ... - """Any network bindings that are associated with the container.""" - reason: str | None = ... - """The reason for the state change.""" - status: str | None = ... - """The status of the container.""" - -@dataclass(kw_only=True) -class ContinueServiceDeploymentInput(_SerdeShape): - """Dataclass for ContinueServiceDeploymentInput structure.""" - - service_deployment_arn: str | None = ... - """The ARN of the service deployment to continue or roll back.""" - hook_id: str | None = ... - """ - The ID of the paused lifecycle hook to act on. You can find the `hookId` - by calling - [DescribeServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html) - and inspecting the `lifecycleHookDetails` field of the service - deployment. - """ - action: str | None = ... - """ - The action to take on the paused lifecycle hook. Valid values are: - - - `CONTINUE` - Proceeds the deployment to the next lifecycle stage. - - - `ROLLBACK` - Rolls back the deployment to the previous service - revision. - - If no value is specified, the default action is `CONTINUE`. - """ - -@dataclass(kw_only=True) -class ContinueServiceDeploymentOutput(_SerdeShape): - """Dataclass for ContinueServiceDeploymentOutput structure.""" - - service_deployment_arn: str | None = ... - """The ARN of the service deployment that was continued or rolled back.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CPUArchitecture(UnknownEnumMixin, StrEnum): - X86_64 = "X86_64" - ARM64 = "ARM64" - -class CpuManufacturer(UnknownEnumMixin, StrEnum): - INTEL = "intel" - AMD = "amd" - AMAZON_WEB_SERVICES = "amazon-web-services" - -@dataclass(kw_only=True) -class CreateCapacityProviderInput(_SerdeShape): - """Dataclass for CreateCapacityProviderInput structure.""" - - name: str | None = ... - """ - The name of the capacity provider. Up to 255 characters are allowed. - They include letters (both upper and lowercase letters), numbers, - underscores (_), and hyphens (-). The name can't be prefixed with - \"`aws`\", \"`ecs`\", or \"`fargate`\". - """ - cluster: str | None = ... - """ - The name of the cluster to associate with the capacity provider. When - you create a capacity provider with Amazon ECS Managed Instances, it - becomes available only within the specified cluster. - """ - auto_scaling_group_provider: AutoScalingGroupProvider | None = ... - """The details of the Auto Scaling group for the capacity provider.""" - managed_instances_provider: CreateManagedInstancesProviderConfiguration | None = ... - """ - The configuration for the Amazon ECS Managed Instances provider. This - configuration specifies how Amazon ECS manages Amazon EC2 instances on - your behalf, including the infrastructure role, instance launch - template, and tag propagation settings. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the capacity provider to categorize and - organize them more conveniently. Each tag consists of a key and an - optional value. You define both of them. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - -@dataclass(kw_only=True) -class CreateCapacityProviderOutput(_SerdeShape): - """Dataclass for CreateCapacityProviderOutput structure.""" - - capacity_provider: CapacityProvider | None = ... - """The full description of the new capacity provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateClusterInput(_SerdeShape): - """""" - - cluster_name: str | None = ... - """ - The name of your cluster. If you don't specify a name for your cluster, - you create a cluster that's named `default`. Up to 255 letters - (uppercase and lowercase), numbers, underscores, and hyphens are - allowed. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the cluster to help you categorize and - organize them. Each tag consists of a key and an optional value. You - define both. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - settings: list[ClusterSetting] | None = ... - """ - The setting to use when creating a cluster. This parameter is used to - turn on CloudWatch Container Insights for a cluster. If this value is - specified, it overrides the `containerInsights` value set with - [PutAccountSetting](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html) - or - [PutAccountSettingDefault](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html). - """ - configuration: ClusterConfiguration | None = ... - """The `execute` command configuration for the cluster.""" - capacity_providers: list[str] | None = ... - """ - The short name of one or more capacity providers to associate with the - cluster. A capacity provider must be associated with a cluster before it - can be included as part of the default capacity provider strategy of the - cluster or used in a capacity provider strategy when calling the - [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html) - or - [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) - actions. - - If specifying a capacity provider that uses an Auto Scaling group, the - capacity provider must be created but not associated with another - cluster. New Auto Scaling group capacity providers can be created with - the - [CreateCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html) - API operation. - - To use a Fargate capacity provider, specify either the `FARGATE` or - `FARGATE_SPOT` capacity providers. The Fargate capacity providers are - available to all accounts and only need to be associated with a cluster - to be used. - - The - [PutCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProvider.html) - API operation is used to update the list of available capacity providers - for a cluster after the cluster is created. - """ - default_capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """ - The capacity provider strategy to set as the default for the cluster. - After a default capacity provider strategy is set for a cluster, when - you call the - [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html) - or - [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) - APIs with no capacity provider strategy or launch type specified, the - default capacity provider strategy for the cluster is used. - - If a default capacity provider strategy isn't defined for a cluster - when it was created, it can be defined later with the - [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) - API operation. - """ - service_connect_defaults: ClusterServiceConnectDefaultsRequest | None = ... - """ - Use this parameter to set a default Service Connect namespace. After you - set a default Service Connect namespace, any new services with Service - Connect turned on that are created in the cluster are added as client - services in the namespace. This setting only applies to new services - that set the `enabled` parameter to `true` in the - `ServiceConnectConfiguration`. You can set the namespace of each service - individually in the `ServiceConnectConfiguration` to override this - default parameter. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - -@dataclass(kw_only=True) -class CreateClusterOutput(_SerdeShape): - """""" - - cluster: Cluster | None = ... - """The full description of your new cluster.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDaemonInput(_SerdeShape): - """Dataclass for CreateDaemonInput structure.""" - - daemon_name: str | None = ... - """ - The name of the daemon. Up to 255 letters (uppercase and lowercase), - numbers, underscores, and hyphens are allowed. - """ - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster to create the daemon in.""" - daemon_task_definition_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the daemon task definition to use for - the daemon. - """ - capacity_provider_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the capacity providers to associate - with the daemon. The daemon deploys tasks on container instances managed - by these capacity providers. - """ - deployment_configuration: DaemonDeploymentConfiguration | None = ... - """ - Optional deployment parameters that control how the daemon rolls out - updates, including the drain percentage, alarm-based rollback, and bake - time. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the daemon to help you categorize and - organize them. Each tag consists of a key and an optional value. You - define both of them. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - propagate_tags: str | None = ... - """ - Specifies whether to propagate the tags from the daemon to the daemon - tasks. If you don't specify a value, the tags aren't propagated. You - can only propagate tags to daemon tasks during task creation. To add - tags to a task after task creation, use the - [TagResource](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) - API action. - """ - enable_ecs_managed_tags: bool = ... - """ - Specifies whether to turn on Amazon ECS managed tags for the tasks in - the daemon. For more information, see [Tagging your Amazon ECS - resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - enable_execute_command: bool = ... - """ - Determines whether the execute command functionality is turned on for - the daemon. If `true`, the execute command functionality is turned on - for all tasks in the daemon. - """ - client_token: str | None = ... - """ - An identifier that you provide to ensure the idempotency of the request. - It must be unique and is case sensitive. Up to 36 ASCII characters in - the range of 33-126 (inclusive) are allowed. - """ - critical: bool | None = ... - """ - If the `critical` parameter of a daemon is `true`, and the daemon task - fails, stops, or becomes unhealthy, Amazon ECS drains the container - instance and stops the other tasks running on it. If the `critical` - parameter is `false`, the daemon task failure doesn't affect the other - tasks on the instance. The default value is `true`. - - A non-critical daemon doesn't block instance registration. The - container instance becomes active and continues to run your other tasks, - whether the daemon task fails during scale-out or during a deployment. - - Amazon ECS emits an EventBridge event when a daemon task fails to start, - for both critical and non-critical daemons. - - Daemon task launch failures during a deployment are still counted by the - deployment circuit breaker. The circuit breaker can roll back an - unstable target revision. - """ - -@dataclass(kw_only=True) -class CreateDaemonOutput(_SerdeShape): - """Dataclass for CreateDaemonOutput structure.""" - - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon.""" - status: str | None = ... - """The status of the daemon.""" - created_at: datetime | None = ... - """The Unix timestamp for the time when the daemon was created.""" - deployment_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the initial daemon deployment. This - deployment places daemon tasks on each container instance of the - specified capacity providers. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatedAt(_SerdeShape): - """ - The optional filter to narrow the `ListServiceDeployment` results. - - If you do not specify a value, service deployments that were created - before the current time are included in the result. - """ - - before: datetime | None = ... - """ - Include service deployments in the result that were created before this - time. The format is yyyy-MM-dd HH:mm:ss.SSSSSS. - """ - after: datetime | None = ... - """ - Include service deployments in the result that were created after this - time. The format is yyyy-MM-dd HH:mm:ss.SSSSSS. - """ - -@dataclass(kw_only=True) -class CreateExpressGatewayServiceInput(_SerdeShape): - """Dataclass for CreateExpressGatewayServiceInput structure.""" - - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the task execution role that grants - the Amazon ECS container agent permission to make Amazon Web Services - API calls on your behalf. This role is required for Amazon ECS to pull - container images from Amazon ECR, send container logs to Amazon - CloudWatch Logs, and retrieve sensitive data from Amazon Web Services - Systems Manager Parameter Store or Amazon Web Services Secrets Manager. - - The execution role must include the `AmazonECSTaskExecutionRolePolicy` - managed policy or equivalent permissions. For Express services, this - role is used during task startup and runtime for container management - operations. - """ - infrastructure_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the infrastructure role that grants - Amazon ECS permission to create and manage Amazon Web Services resources - on your behalf for the Express service. This role is used to provision - and manage Application Load Balancers, target groups, security groups, - auto-scaling policies, and other Amazon Web Services infrastructure - components. - - The infrastructure role must include permissions for Elastic Load - Balancing, Application Auto Scaling, Amazon EC2 (for security groups), - and other services required for managed infrastructure. This role is - only used during Express service creation, updates, and deletion - operations. - """ - service_name: str | None = ... - """ - The name of the Express service. This name must be unique within the - specified cluster and can contain up to 255 letters (uppercase and - lowercase), numbers, underscores, and hyphens. The name is used to - identify the service in the Amazon ECS console and API operations. - - If you don't specify a service name, Amazon ECS generates a unique name - for the service. The service name becomes part of the service ARN and - cannot be changed after the service is created. - """ - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster on - which to create the Express service. If you do not specify a cluster, - the `default` cluster is assumed. - """ - health_check_path: str | None = ... - """ - The path on the container that the Application Load Balancer uses for - health checks. This should be a valid HTTP endpoint that returns a - successful response (HTTP 200) when the application is healthy. - - If not specified, the default health check path is `/ping`. The health - check path must start with a forward slash and can include query - parameters. Examples: `/health`, `/api/status`, `/ping?format=json`. - """ - primary_container: ExpressGatewayContainer | None = ... - """ - The primary container configuration for the Express service. This - defines the main application container that will receive traffic from - the Application Load Balancer. - - The primary container must specify at minimum a container image. You can - also configure the container port (defaults to 80), logging - configuration, environment variables, secrets, and startup commands. The - container image can be from Amazon ECR, Docker Hub, or any other - container registry accessible to your execution role. - """ - task_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that containers in this - task can assume. This role allows your application code to access other - Amazon Web Services services securely. - - The task role is different from the execution role. While the execution - role is used by the Amazon ECS agent to set up the task, the task role - is used by your application code running inside the container to make - Amazon Web Services API calls. If your application doesn't need to - access Amazon Web Services services, you can omit this parameter. - """ - network_configuration: ExpressGatewayServiceNetworkConfiguration | None = ... - """ - The network configuration for the Express service tasks. This specifies - the VPC subnets and security groups for the tasks. - - For Express services, you can specify custom security groups and - subnets. If not provided, Amazon ECS will use the default VPC - configuration and create appropriate security groups automatically. The - network configuration determines how your service integrates with your - VPC and what network access it has. - """ - cpu: str | None = ... - """ - The number of CPU units used by the task. This parameter determines the - CPU allocation for each task in the Express service. The default value - for an Express service is 256 (.25 vCPU). - """ - memory: str | None = ... - """ - The amount of memory (in MiB) used by the task. This parameter - determines the memory allocation for each task in the Express service. - The default value for an express service is 512 MiB. - """ - cpu_architecture: str | None = ... - """ - The CPU architecture that the task runs on. If you don't specify a - value, the default is `X86_64`. - - Valid values: - - - `X86_64` - The x86 64-bit architecture. - - - `ARM64` - The 64-bit ARM architecture. - - Ensure that the container image you specify supports the architecture - you choose. The operating system family for an Express service is always - `LINUX`. - - You can't specify `cpuArchitecture` together with `taskDefinitionArn`. - """ - scaling_target: ExpressGatewayScalingTarget | None = ... - """ - The auto-scaling configuration for the Express service. This defines how - the service automatically adjusts the number of running tasks based on - demand. - - You can specify the minimum and maximum number of tasks, the scaling - metric (CPU utilization, memory utilization, or request count per - target), and the target value for the metric. If not specified, the - default target value for an Express service is 60. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the Express service to help categorize - and organize it. Each tag consists of a key and an optional value. You - can apply up to 50 tags to a service. - """ - task_definition_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a task definition to use to create the - Express Gateway service. This allows you to manage your own task - definition, giving you more control over the service configuration such - as adding sidecar containers. - - The task definition must have a container named `Main` with a single TCP - port mapping that includes a container port and port name. The task - definition must also have `FARGATE` compatibility. - - If you provide a task definition ARN, you cannot also specify - `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, `memory`, - or `cpuArchitecture`. - """ - -@dataclass(kw_only=True) -class CreateExpressGatewayServiceOutput(_SerdeShape): - """Dataclass for CreateExpressGatewayServiceOutput structure.""" - - service: ECSExpressGatewayService | None = ... - """ - The full description of your Express service following the create - operation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGatewayInput(_SerdeShape): - """Dataclass for CreateGatewayInput structure.""" - - name: str | None = ... - """ - The name for the gateway. The name must be unique within your account - and can be up to 255 characters. - """ - infrastructure_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that the gateway assumes - to create and manage infrastructure on your behalf. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier that you provide to ensure that the - operation completes no more than one time. If this token matches a - previous request, the service ignores the request, but does not return - an error. - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the gateway. When - enabled, the gateway can't be deleted, and the gateway propagates this - setting to the load balancers it manages. The default is `true`. - """ - configuration: GatewayConfiguration | None = ... - """ - The type-specific configuration for the gateway. Exactly one - configuration variant must be set, and it determines the gateway type. - For example, `hostSharedAlb` configures a gateway that uses Application - Load Balancers with host-based routing. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the gateway to help you categorize and - organize it. Each tag consists of a key and an optional value. Depending - on `propagateTags`, these tags can be applied to the infrastructure the - gateway manages. - """ - propagate_tags: str | None = ... - """ - Specifies whether to propagate the tags from the gateway to the - infrastructure that the gateway manages. The default is `GATEWAY`. - """ - -@dataclass(kw_only=True) -class CreateGatewayOutput(_SerdeShape): - """Dataclass for CreateGatewayOutput structure.""" - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - name: str | None = ... - """The name of the gateway.""" - status: str | None = ... - """The status of the gateway. A newly created gateway is always `ACTIVE`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateManagedInstancesProviderConfiguration(_SerdeShape): - """ - The configuration for creating a Amazon ECS Managed Instances provider. - This specifies how Amazon ECS should manage Amazon EC2 instances, - including the infrastructure role, instance launch template, and whether - to propagate tags from the capacity provider to the instances. - """ - - infrastructure_role_arn: str - """ - The Amazon Resource Name (ARN) of the infrastructure role that Amazon - ECS uses to manage instances on your behalf. This role must have - permissions to launch, terminate, and manage Amazon EC2 instances, as - well as access to other Amazon Web Services services required for Amazon - ECS Managed Instances functionality. - - For more information, see [Amazon ECS infrastructure IAM - role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) - in the *Amazon ECS Developer Guide*. - """ - instance_launch_template: InstanceLaunchTemplate - """ - The launch template configuration that specifies how Amazon ECS should - launch Amazon EC2 instances. This includes the instance profile, network - configuration, storage settings, and instance requirements for - attribute-based instance type selection. - - For more information, see [Store instance launch parameters in Amazon - EC2 launch - templates](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) - in the *Amazon EC2 User Guide*. - """ - propagate_tags: str | None = ... - """ - Specifies whether to propagate tags from the capacity provider to the - Amazon ECS Managed Instances. When enabled, tags applied to the capacity - provider are automatically applied to all instances launched by this - provider. - """ - infrastructure_optimization: InfrastructureOptimization | None = ... - """ - Defines how Amazon ECS Managed Instances optimizes the infrastastructure - in your capacity provider. Provides control over the delay between when - EC2 instances become idle or underutilized and when Amazon ECS optimizes - them. - """ - auto_repair_configuration: AutoRepairConfiguration | None = ... - """ - The auto repair configuration for the Amazon ECS Managed Instances - capacity provider. Use this to enable or disable automatic replacement - of container instances that are detected as unhealthy. - """ - -@dataclass(kw_only=True) -class CreateServiceInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - you run your service on. If you do not specify a cluster, the default - cluster is assumed. - """ - service_name: str | None = ... - """ - The name of your service. Up to 255 letters (uppercase and lowercase), - numbers, underscores, and hyphens are allowed. Service names must be - unique within a cluster, but you can have similarly named services in - multiple clusters within a Region or across multiple Regions. - """ - task_definition: str | None = ... - """ - The `family` and `revision` (`family:revision`) or full ARN of the task - definition to run in your service. If a `revision` isn't specified, the - latest `ACTIVE` revision is used. - - A task definition must be specified if the service uses either the `ECS` - or `CODE_DEPLOY` deployment controllers. - - For more information about deployment types, see [Amazon ECS deployment - types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html). - """ - availability_zone_rebalancing: str | None = ... - """ - Indicates whether to use Availability Zone rebalancing for the service. - - For more information, see [Balancing an Amazon ECS service across - Availability - Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) - in the Amazon Elastic Container Service Developer Guide . - - The default behavior of `AvailabilityZoneRebalancing` differs between - create and update requests: - - - For create service requests, when no value is specified for - `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to - `ENABLED`. - - - For update service requests, when no value is specified for - `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing - service's `AvailabilityZoneRebalancing` value. If the service never - had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats this - as `DISABLED`. - """ - load_balancers: list[LoadBalancer] | None = ... - """ - A load balancer object representing the load balancers to use with your - service. For more information, see [Service load - balancing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html) - in the *Amazon Elastic Container Service Developer Guide*. - - If the service uses the `ECS` deployment controller and using either an - Application Load Balancer or Network Load Balancer, you must specify one - or more target group ARNs to attach to the service. The service-linked - role is required for services that use multiple target groups. For more - information, see [Using service-linked roles for Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) - in the *Amazon Elastic Container Service Developer Guide*. - - If the service uses the `CODE_DEPLOY` deployment controller, the service - is required to use either an Application Load Balancer or Network Load - Balancer. When creating an CodeDeploy deployment group, you specify two - target groups (referred to as a `targetGroupPair`). During a deployment, - CodeDeploy determines which task set in your service has the status - `PRIMARY`, and it associates one target group with it. Then, it also - associates the other target group with the replacement task set. The - load balancer can also have up to two listeners: a required listener for - production traffic and an optional listener that you can use to perform - validation tests with Lambda functions before routing production traffic - to it. - - If you use the `CODE_DEPLOY` deployment controller, these values can be - changed when updating the service. - - For Application Load Balancers and Network Load Balancers, this object - must contain the load balancer target group ARN, the container name, and - the container port to access from the load balancer. The container name - must be as it appears in a container definition. The load balancer name - parameter must be omitted. When a task from this service is placed on a - container instance, the container instance and port combination is - registered as a target in the target group that's specified here. - - For Classic Load Balancers, this object must contain the load balancer - name, the container name , and the container port to access from the - load balancer. The container name must be as it appears in a container - definition. The target group ARN parameter must be omitted. When a task - from this service is placed on a container instance, the container - instance is registered with the load balancer that's specified here. - - Services with tasks that use the `awsvpc` network mode (for example, - those with the Fargate launch type) only support Application Load - Balancers and Network Load Balancers. Classic Load Balancers aren't - supported. Also, when you create any target groups for these services, - you must choose `ip` as the target type, not `instance`. This is because - tasks that use the `awsvpc` network mode are associated with an elastic - network interface, not an Amazon EC2 instance. - """ - service_registries: list[ServiceRegistry] | None = ... - """ - The details of the service discovery registry to associate with this - service. For more information, see [Service - discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). - - Note: - Each service may be associated with one service registry. Multiple - service registries for each service isn't supported. - """ - desired_count: int | None = ... - """ - The number of instantiations of the specified task definition to place - and keep running in your service. - - This is required if `schedulingStrategy` is `REPLICA` or isn't - specified. If `schedulingStrategy` is `DAEMON` then this isn't - required. - """ - client_token: str | None = ... - """ - An identifier that you provide to ensure the idempotency of the request. - It must be unique and is case sensitive. Up to 36 ASCII characters in - the range of 33-126 (inclusive) are allowed. - """ - launch_type: str | None = ... - """ - The infrastructure that you run your service on. For more information, - see [Amazon ECS launch - types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Note: - If you want to use Amazon ECS Managed Instances, you must use the - `capacityProviderStrategy` request parameter and omit the `launchType` - request parameter. - - The `FARGATE` launch type runs your tasks on Fargate On-Demand - infrastructure. - - Note: - Fargate Spot infrastructure is available for use but a capacity provider - strategy must be used. For more information, see [Fargate capacity - providers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html) - in the *Amazon ECS Developer Guide*. - - The `EC2` launch type runs your tasks on Amazon EC2 instances registered - to your cluster. - - The `EXTERNAL` launch type runs your tasks on your on-premises server or - virtual machine (VM) capacity registered to your cluster. - - A service can use either a launch type or a capacity provider strategy. - If a `launchType` is specified, the `capacityProviderStrategy` parameter - must be omitted. - """ - capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """ - The capacity provider strategy to use for the service. - - Note: - If you want to use Amazon ECS Managed Instances, you must use the - `capacityProviderStrategy` request parameter and omit the `launchType` - request parameter. - - If a `capacityProviderStrategy` is specified, the `launchType` parameter - must be omitted. If no `capacityProviderStrategy` or `launchType` is - specified, the `defaultCapacityProviderStrategy` for the cluster is - used. - - A capacity provider strategy can contain a maximum of 20 capacity - providers. - """ - platform_version: str | None = ... - """ - The platform version that your tasks in the service are running on. A - platform version is specified only for tasks using the Fargate launch - type. If one isn't specified, the `LATEST` platform version is used. - For more information, see [Fargate platform - versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - role: str | None = ... - """ - The name or full Amazon Resource Name (ARN) of the IAM role that allows - Amazon ECS to make calls to your load balancer on your behalf. This - parameter is only permitted if you are using a load balancer with your - service and your task definition doesn't use the `awsvpc` network mode. - If you specify the `role` parameter, you must also specify a load - balancer object with the `loadBalancers` parameter. - - Warning: - If your account has already created the Amazon ECS service-linked role, - that role is used for your service unless you specify a role here. The - service-linked role is required if your task definition uses the - `awsvpc` network mode or if the service is configured to use service - discovery, an external deployment controller, multiple target groups, or - Elastic Inference accelerators in which case you don't specify a role - here. For more information, see [Using service-linked roles for Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) - in the *Amazon Elastic Container Service Developer Guide*. - - If your specified role has a path other than `/`, then you must either - specify the full role ARN (this is recommended) or prefix the role name - with the path. For example, if a role with the name `bar` has a path of - `/foo/` then you would specify `/foo/bar` as the role name. For more - information, see [Friendly names and - paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) - in the *IAM User Guide*. - """ - deployment_configuration: DeploymentConfiguration | None = ... - """ - Optional deployment parameters that control how many tasks run during - the deployment and the ordering of stopping and starting tasks. - """ - placement_constraints: list[PlacementConstraint] | None = ... - """ - An array of placement constraint objects to use for tasks in your - service. You can specify a maximum of 10 constraints for each task. This - limit includes constraints in the task definition and those specified at - runtime. - """ - placement_strategy: list[PlacementStrategy] | None = ... - """ - The placement strategy objects to use for tasks in your service. You can - specify a maximum of 5 strategy rules for each service. - """ - network_configuration: NetworkConfiguration | None = ... - """ - The network configuration for the service. This parameter is required - for task definitions that use the `awsvpc` network mode to receive their - own elastic network interface, and it isn't supported for other network - modes. For more information, see [Task - networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - health_check_grace_period_seconds: int | None = ... - """ - The period of time, in seconds, that the Amazon ECS service scheduler - ignores unhealthy Elastic Load Balancing, VPC Lattice, and container - health checks after a task has first started. If you do not specify a - health check grace period value, the default value of 0 is used. If you - do not use any of the health checks, then - `healthCheckGracePeriodSeconds` is unused. - - If your service has more running tasks than desired, unhealthy tasks in - the grace period might be stopped to reach the desired count. - """ - scheduling_strategy: str | None = ... - """ - The scheduling strategy to use for the service. For more information, - see - [Services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html). - - There are two service scheduler strategies available: - - - `REPLICA`-The replica scheduling strategy places and maintains the - desired number of tasks across your cluster. By default, the service - scheduler spreads tasks across Availability Zones. You can use task - placement strategies and constraints to customize task placement - decisions. This scheduler strategy is required if the service uses the - `CODE_DEPLOY` or `EXTERNAL` deployment controller types. - - - `DAEMON`-The daemon scheduling strategy deploys exactly one task on - each active container instance that meets all of the task placement - constraints that you specify in your cluster. The service scheduler - also evaluates the task placement constraints for running tasks and - will stop tasks that don't meet the placement constraints. When - you're using this strategy, you don't need to specify a desired - number of tasks, a task placement strategy, or use Service Auto - Scaling policies. - - Note: - Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` - deployment controller types don't support the `DAEMON` scheduling - strategy. - """ - deployment_controller: DeploymentController | None = ... - """ - The deployment controller to use for the service. If no deployment - controller is specified, the default value of `ECS` is used. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the service to help you categorize and - organize them. Each tag consists of a key and an optional value, both of - which you define. When a service is deleted, the tags are deleted as - well. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - enable_ecs_managed_tags: bool = ... - """ - Specifies whether to turn on Amazon ECS managed tags for the tasks - within the service. For more information, see [Tagging your Amazon ECS - resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) - in the *Amazon Elastic Container Service Developer Guide*. - - When you use Amazon ECS managed tags, you must set the `propagateTags` - request parameter. - """ - propagate_tags: str | None = ... - """ - Specifies whether to propagate the tags from the task definition to the - task. If no value is specified, the tags aren't propagated. Tags can - only be propagated to the task during task creation. To add tags to a - task after task creation, use the - [TagResource](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) - API action. - - You must set this to a value other than `NONE` when you use Cost - Explorer. For more information, see [Amazon ECS usage - reports](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/usage-reports.html) - in the *Amazon Elastic Container Service Developer Guide*. - - The default is `NONE`. - """ - enable_execute_command: bool = ... - """ - Determines whether the execute command functionality is turned on for - the service. If `true`, this enables execute command functionality on - all containers in the service tasks. - """ - service_connect_configuration: ServiceConnectConfiguration | None = ... - """ - The configuration for this service to discover and connect to services, - and be discovered by, and connected from, other services within a - namespace. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - volume_configurations: list[ServiceVolumeConfiguration] | None = ... - """ - The configuration for a volume specified in the task definition as a - volume that is configured at launch time. Currently, the only supported - volume type is an Amazon EBS volume. - """ - vpc_lattice_configurations: list[VpcLatticeConfiguration] | None = ... - """The VPC Lattice configuration for the service being created.""" - gateway_connectors: list[GatewayConnector] | None = ... - """ - The gateway connectors that attach the service to a gateway ingress - path. You can specify at most one gateway connector. - """ - monitoring: MonitoringConfiguration | None = ... - """ - The optional monitoring configuration for the service, which defines the - resolution for the service-level `CPUUtilization` and - `MemoryUtilization` Amazon CloudWatch metrics. When not specified, - Amazon ECS uses the default resolution of `60` seconds. - """ - -@dataclass(kw_only=True) -class CreateServiceOutput(_SerdeShape): - """""" - - service: Service | None = ... - """ - The full description of your service following the create call. - - A service will return either a `capacityProviderStrategy` or - `launchType` parameter, but not both, depending where one was specified - when it was created. - - If a service is using the `ECS` deployment controller, the - `deploymentController` and `taskSets` parameters will not be returned. - - if the service uses the `CODE_DEPLOY` deployment controller, the - `deploymentController`, `taskSets` and `deployments` parameters will be - returned, however the `deployments` parameter will be an empty list. - - The response includes a `lifecycleHookDetails` field, which is an empty - array when the service is created or updated. The values are populated - when a lifecycle hook executes and are available as part of the service - deployment details - ([DescribeServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html)). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTaskSetInput(_SerdeShape): - """Dataclass for CreateTaskSetInput structure.""" - - service: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the service to - create the task set in. - """ - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the service to create the task set in. - """ - external_id: str | None = ... - """ - An optional non-unique tag that identifies this task set in external - systems. If the task set is associated with a service discovery - registry, the tasks in this task set will have the - `ECS_TASK_SET_EXTERNAL_ID` Cloud Map attribute set to the provided - value. - """ - task_definition: str | None = ... - """ - The task definition for the tasks in the task set to use. If a revision - isn't specified, the latest `ACTIVE` revision is used. - """ - network_configuration: NetworkConfiguration | None = ... - """An object representing the network configuration for a task set.""" - load_balancers: list[LoadBalancer] | None = ... - """ - A load balancer object representing the load balancer to use with the - task set. The supported load balancer types are either an Application - Load Balancer or a Network Load Balancer. - """ - service_registries: list[ServiceRegistry] | None = ... - """ - The details of the service discovery registries to assign to this task - set. For more information, see [Service - discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). - """ - launch_type: str | None = ... - """ - The launch type that new tasks in the task set uses. For more - information, see [Amazon ECS launch - types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) - in the *Amazon Elastic Container Service Developer Guide*. - - If a `launchType` is specified, the `capacityProviderStrategy` parameter - must be omitted. - """ - capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """ - The capacity provider strategy to use for the task set. - - A capacity provider strategy consists of one or more capacity providers - along with the `base` and `weight` to assign to them. A capacity - provider must be associated with the cluster to be used in a capacity - provider strategy. The - [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) - API is used to associate a capacity provider with a cluster. Only - capacity providers with an `ACTIVE` or `UPDATING` status can be used. - - If a `capacityProviderStrategy` is specified, the `launchType` parameter - must be omitted. If no `capacityProviderStrategy` or `launchType` is - specified, the `defaultCapacityProviderStrategy` for the cluster is - used. - - If specifying a capacity provider that uses an Auto Scaling group, the - capacity provider must already be created. New capacity providers can be - created with the - [CreateCapacityProviderProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProviderProvider.html)API - operation. - - To use a Fargate capacity provider, specify either the `FARGATE` or - `FARGATE_SPOT` capacity providers. The Fargate capacity providers are - available to all accounts and only need to be associated with a cluster - to be used. - - The - [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) - API operation is used to update the list of available capacity providers - for a cluster after the cluster is created. - """ - platform_version: str | None = ... - """ - The platform version that the tasks in the task set uses. A platform - version is specified only for tasks using the Fargate launch type. If - one isn't specified, the `LATEST` platform version is used. - """ - scale: Scale | None = ... - """ - A floating-point percentage of the desired number of tasks to place and - keep running in the task set. - """ - client_token: str | None = ... - """ - An identifier that you provide to ensure the idempotency of the request. - It must be unique and is case sensitive. Up to 36 ASCII characters in - the range of 33-126 (inclusive) are allowed. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the task set to help you categorize and - organize them. Each tag consists of a key and an optional value. You - define both. When a service is deleted, the tags are deleted. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - -@dataclass(kw_only=True) -class CreateTaskSetOutput(_SerdeShape): - """Dataclass for CreateTaskSetOutput structure.""" - - task_set: TaskSet | None = ... - """ - Information about a set of Amazon ECS tasks in either an CodeDeploy or - an `EXTERNAL` deployment. A task set includes details such as the - desired number of tasks, how many tasks are running, and whether the - task set serves production traffic. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DaemonAlarmConfiguration(_SerdeShape): - """ - The CloudWatch alarm configuration for a daemon. When enabled, - CloudWatch alarms determine whether a daemon deployment has failed. - """ - - alarm_names: list[str] | None = ... - """The CloudWatch alarm names to monitor during a daemon deployment.""" - enable: bool = ... - """ - Determines whether to use the CloudWatch alarm option in the daemon - deployment process. The default value is `false`. - """ - -@dataclass(kw_only=True) -class DaemonCapacityProvider(_SerdeShape): - """Information about a capacity provider associated with a daemon revision.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the capacity provider.""" - running_count: int = ... - """The number of daemon tasks running on this capacity provider.""" - without_daemon_count: int = ... - """ - The number of instances on this capacity provider that are running - without the daemon task. This applies to daemons that aren't critical, - where the instance remains available for your other tasks even if the - daemon task can't start or stops. These instances aren't included in - `runningCount`. - """ - -@dataclass(kw_only=True) -class DaemonCircuitBreaker(_SerdeShape): - """ - Information about the circuit breaker used to determine when a daemon - deployment has failed. - """ - - failure_count: int = ... - """ - The number of times the circuit breaker detected a daemon deployment - failure. - """ - status: str | None = ... - """ - The circuit breaker status. Amazon ECS is not using the circuit breaker - for daemon deployment failures when the status is `DISABLED`. - """ - threshold: int = ... - """The threshold which determines that the daemon deployment failed.""" - -@dataclass(kw_only=True) -class DaemonContainerDefinition(_SerdeShape): - """ - A container definition for a daemon task. Daemon container definitions - describe the containers that run as part of a daemon task on container - instances managed by capacity providers. - """ - - name: str | None = ... - """ - The name of the container. Up to 255 letters (uppercase and lowercase), - numbers, underscores, and hyphens are allowed. - """ - image: str - """ - The image used to start the container. This string is passed directly to - the Docker daemon. Images in the Docker Hub registry are available by - default. Other repositories are specified with either - ` `*`repository-url`*`/`*`image`*`:`*`tag`*` ` or - ` `*`repository-url`*`/`*`image`*`@`*`digest`*` `. - """ - memory: int | None = ... - """ - The amount (in MiB) of memory to present to the container. If the - container attempts to exceed the memory specified here, the container is - killed. - """ - memory_reservation: int | None = ... - """The soft limit (in MiB) of memory to reserve for the container.""" - repository_credentials: RepositoryCredentials | None = ... - """The private repository authentication credentials to use.""" - health_check: HealthCheck | None = ... - """ - The container health check command and associated configuration - parameters for the container. - """ - cpu: int = ... - """The number of `cpu` units reserved for the container.""" - essential: bool | None = ... - """ - If the `essential` parameter of a container is marked as `true`, and - that container fails or stops for any reason, all other containers that - are part of the task are stopped. - """ - entry_point: list[str] | None = ... - """The entry point that's passed to the container.""" - command: list[str] | None = ... - """The command that's passed to the container.""" - working_directory: str | None = ... - """The working directory to run commands inside the container in.""" - environment_files: list[EnvironmentFile] | None = ... - """ - A list of files containing the environment variables to pass to a - container. - """ - environment: list[KeyValuePair] | None = ... - """The environment variables to pass to a container.""" - secrets: list[Secret] | None = ... - """The secrets to pass to the container.""" - readonly_root_filesystem: bool | None = ... - """ - When this parameter is true, the container is given read-only access to - its root file system. - """ - mount_points: list[MountPoint] | None = ... - """The mount points for data volumes in your container.""" - log_configuration: LogConfiguration | None = ... - """The log configuration specification for the container.""" - firelens_configuration: FirelensConfiguration | None = ... - """ - The FireLens configuration for the container. This is used to specify - and configure a log router for container logs. - """ - privileged: bool | None = ... - """ - When this parameter is true, the container is given elevated privileges - on the host container instance (similar to the `root` user). - """ - user: str | None = ... - """The user to use inside the container.""" - ulimits: list[Ulimit] | None = ... - """A list of `ulimits` to set in the container.""" - linux_parameters: DaemonLinuxParameters | None = ... - """ - Linux-specific modifications that are applied to the container - configuration, such as Linux kernel capabilities. - """ - depends_on: list[ContainerDependency] | None = ... - """ - The dependencies defined for container startup and shutdown. A container - can contain multiple dependencies on other containers in a task - definition. - """ - start_timeout: int | None = ... - """ - Time duration (in seconds) to wait before giving up on resolving - dependencies for a container. - """ - stop_timeout: int | None = ... - """ - Time duration (in seconds) to wait before the container is forcefully - killed if it doesn't exit normally on its own. - """ - system_controls: list[SystemControl] | None = ... - """A list of namespaced kernel parameters to set in the container.""" - interactive: bool | None = ... - """ - When this parameter is `true`, you can deploy containerized applications - that require `stdin` or a `tty` to be allocated. - """ - pseudo_terminal: bool | None = ... - """When this parameter is `true`, a TTY is allocated.""" - restart_policy: ContainerRestartPolicy | None = ... - """ - The restart policy for the container. When you set up a restart policy, - Amazon ECS can restart the container without needing to replace the - task. - """ - -@dataclass(kw_only=True) -class DaemonContainerImage(_SerdeShape): - """The details about the container image a daemon revision uses.""" - - container_name: str | None = ... - """The name of the container.""" - image_digest: str | None = ... - """The container image digest.""" - image: str | None = ... - """The container image.""" - -@dataclass(kw_only=True) -class DaemonDeployment(_SerdeShape): - """ - Information about a daemon deployment. A daemon deployment orchestrates - the progressive rollout of daemon task updates across container - instances. - """ - - daemon_deployment_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon deployment.""" - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster that hosts the daemon.""" - status: str | None = ... - """The status of the daemon deployment.""" - status_reason: str | None = ... - """Information about why the daemon deployment is in the current status.""" - target_daemon_revision: DaemonDeploymentRevisionDetail | None = ... - """The daemon revision being deployed.""" - source_daemon_revisions: list[DaemonDeploymentRevisionDetail] | None = ... - """The currently deployed daemon revisions that are being replaced.""" - circuit_breaker: DaemonCircuitBreaker | None = ... - """ - The circuit breaker configuration that determines when a daemon - deployment has failed. - """ - alarms: DaemonDeploymentAlarms | None = ... - """The CloudWatch alarms that determine when a daemon deployment fails.""" - rollback: DaemonRollback | None = ... - """The rollback options for the daemon deployment.""" - deployment_configuration: DaemonDeploymentConfiguration | None = ... - """The deployment configuration used for this daemon deployment.""" - created_at: datetime | None = ... - """ - The time the daemon deployment was created. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - started_at: datetime | None = ... - """ - The time the daemon deployment started. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - stopped_at: datetime | None = ... - """ - The time the daemon deployment stopped. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - finished_at: datetime | None = ... - """ - The time the daemon deployment finished. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - -@dataclass(kw_only=True) -class DaemonDeploymentAlarms(_SerdeShape): - """The CloudWatch alarms used to determine a daemon deployment failed.""" - - status: str | None = ... - """ - The status of the alarms check. Amazon ECS is not using alarms for - daemon deployment failures when the status is `DISABLED`. - """ - alarm_names: list[str] | None = ... - """ - The name of the CloudWatch alarms that determine when a daemon - deployment failed. - """ - triggered_alarm_names: list[str] | None = ... - """ - One or more CloudWatch alarm names that have been triggered during the - daemon deployment. - """ - -@dataclass(kw_only=True) -class DaemonDeploymentCapacityProvider(_SerdeShape): - """Information about a capacity provider during a daemon deployment.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the capacity provider.""" - running_instance_count: int | None = ... - """The number of instances running daemon tasks on this capacity provider.""" - without_daemon_instance_count: int | None = ... - """ - The number of instances on this capacity provider that are running - without the daemon task. This applies to daemons that aren't critical, - where the instance remains available for your other tasks even if the - daemon task can't start or stops. These instances aren't included in - `runningInstanceCount`. - """ - draining_instance_count: int | None = ... - """ - The number of instances being drained on this capacity provider during - the deployment. - """ - -@dataclass(kw_only=True) -class DaemonDeploymentConfiguration(_SerdeShape): - """ - Optional deployment parameters that control how a daemon rolls out - updates across container instances. - """ - - drain_percent: float | None = ... - """ - The percentage of container instances to drain simultaneously during a - daemon deployment. Valid values are between 0.0 and 100.0. - """ - alarms: DaemonAlarmConfiguration | None = ... - """ - The CloudWatch alarm configuration for the daemon deployment. When - alarms are triggered during a deployment, the deployment can be - automatically rolled back. - """ - bake_time_in_minutes: int = ... - """ - The amount of time (in minutes) to wait after a successful deployment - step before proceeding. This allows time to monitor for issues before - continuing. The default value is 0. - """ - -@dataclass(kw_only=True) -class DaemonDeploymentRevisionDetail(_SerdeShape): - """ - Details about a daemon revision during a deployment, including running - and draining instance counts per capacity provider. - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon revision.""" - capacity_providers: list[DaemonDeploymentCapacityProvider] | None = ... - """ - The capacity providers associated with this daemon revision during the - deployment. - """ - total_running_instance_count: int | None = ... - """The total number of instances running daemon tasks for this revision.""" - total_without_daemon_instance_count: int | None = ... - """ - The total number of instances running without the daemon task for this - revision, across all capacity providers. These instances aren't - included in `totalRunningInstanceCount`. - """ - total_draining_instance_count: int | None = ... - """ - The total number of instances being drained for this revision during the - deployment. - """ - -class DaemonDeploymentRollbackMonitorsStatus(UnknownEnumMixin, StrEnum): - TRIGGERED = "TRIGGERED" - MONITORING = "MONITORING" - MONITORING_COMPLETE = "MONITORING_COMPLETE" - DISABLED = "DISABLED" - -class DaemonDeploymentStatus(UnknownEnumMixin, StrEnum): - PENDING = "PENDING" - SUCCESSFUL = "SUCCESSFUL" - STOPPED = "STOPPED" - STOP_REQUESTED = "STOP_REQUESTED" - IN_PROGRESS = "IN_PROGRESS" - ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" - ROLLBACK_SUCCESSFUL = "ROLLBACK_SUCCESSFUL" - ROLLBACK_FAILED = "ROLLBACK_FAILED" - -@dataclass(kw_only=True) -class DaemonDeploymentSummary(_SerdeShape): - """A summary of a daemon deployment.""" - - daemon_deployment_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon deployment.""" - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon.""" - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster that hosts the daemon.""" - status: str | None = ... - """The status of the daemon deployment.""" - status_reason: str | None = ... - """Information about why the daemon deployment is in the current status.""" - target_daemon_revision_arn: str | None = ... - """The ARN of the daemon revision being deployed.""" - created_at: datetime | None = ... - """The time the daemon deployment was created.""" - started_at: datetime | None = ... - """The time the daemon deployment started.""" - stopped_at: datetime | None = ... - """The time the daemon deployment stopped.""" - finished_at: datetime | None = ... - """The time the daemon deployment finished.""" - -@dataclass(kw_only=True) -class DaemonDetail(_SerdeShape): - """The detailed information about a daemon.""" - - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon.""" - cluster_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the cluster that the daemon is running - in. - """ - status: str | None = ... - """The status of the daemon.""" - current_revisions: list[DaemonRevisionDetail] | None = ... - """ - The current daemon revision details, including the running task counts - per capacity provider. - """ - deployment_arn: str | None = ... - """The Amazon Resource Name (ARN) of the most recent daemon deployment.""" - created_at: datetime | None = ... - """The Unix timestamp for the time when the daemon was created.""" - updated_at: datetime | None = ... - """The Unix timestamp for the time when the daemon was last updated.""" - -class DaemonIpcMode(UnknownEnumMixin, StrEnum): - NONE = "none" - """The daemon gets its own isolated IPC namespace.""" - SHARED = "shared" - """ - The daemon shares the IPC namespace with co-located tasks on the same - container instance. - """ - -@dataclass(kw_only=True) -class DaemonLinuxParameters(_SerdeShape): - """ - The Linux-specific options that are applied to the daemon container, - such as Linux kernel capabilities. - """ - - capabilities: KernelCapabilities | None = ... - """ - The Linux capabilities for the container that are added to or dropped - from the default configuration provided by Docker. - """ - devices: list[Device] | None = ... - """Any host devices to expose to the container.""" - init_process_enabled: bool | None = ... - """ - Run an `init` process inside the container that forwards signals and - reaps processes. - """ - tmpfs: list[Tmpfs] | None = ... - """The container path, mount options, and size (in MiB) of the tmpfs mount.""" - -@dataclass(kw_only=True) -class DaemonNotActiveException(ServiceError, _SerdeShape): - """ - The specified daemon isn't active. You can't update a daemon that's - inactive. If you have previously deleted a daemon, you can re-create it - with - [CreateDaemon](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateDaemon.html). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DaemonNotFoundException(ServiceError, _SerdeShape): - """ - The specified daemon wasn't found. You can view your available daemons - with - [ListDaemons](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListDaemons.html). - Amazon ECS daemons are cluster specific and Region specific. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DaemonPidMode(UnknownEnumMixin, StrEnum): - NONE = "none" - """The daemon gets its own isolated PID namespace.""" - SHARED = "shared" - """ - The daemon shares the PID namespace with co-located tasks on the same - container instance. - """ - -class DaemonPropagateTags(UnknownEnumMixin, StrEnum): - DAEMON = "DAEMON" - NONE = "NONE" - -@dataclass(kw_only=True) -class DaemonRevision(_SerdeShape): - """ - Information about a daemon revision. A daemon revision is a snapshot of - the daemon's configuration at the time a deployment was initiated. - """ - - daemon_revision_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon revision.""" - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster that hosts the daemon.""" - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon for this revision.""" - daemon_task_definition_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the daemon task definition used by - this revision. - """ - created_at: datetime | None = ... - """The Unix timestamp for the time when the daemon revision was created.""" - container_images: list[DaemonContainerImage] | None = ... - """The container images used by the daemon revision.""" - propagate_tags: str | None = ... - """ - Specifies whether tags are propagated from the daemon to the daemon - tasks. - """ - enable_ecs_managed_tags: bool | None = ... - """ - Specifies whether Amazon ECS managed tags are turned on for the daemon - tasks. - """ - enable_execute_command: bool | None = ... - """ - Specifies whether the execute command functionality is turned on for the - daemon tasks. - """ - critical: bool | None = ... - """ - If the `critical` parameter of this daemon revision is `true`, and the - daemon task fails, stops, or becomes unhealthy, Amazon ECS drains the - container instance and stops the other tasks running on it. If the - parameter is `false`, the daemon task failure doesn't affect the other - tasks on the instance, and doesn't block instance registration. The - default value is `true`. - """ - -@dataclass(kw_only=True) -class DaemonRevisionDetail(_SerdeShape): - """ - Details about a daemon revision, including the running task counts per - capacity provider. - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon revision.""" - capacity_providers: list[DaemonCapacityProvider] | None = ... - """The capacity providers associated with this daemon revision.""" - total_running_count: int = ... - """The total number of daemon tasks running for this revision.""" - total_without_daemon_count: int = ... - """ - The total number of instances running without the daemon task for this - revision, across all capacity providers. These instances aren't - included in `totalRunningCount`. - """ - -@dataclass(kw_only=True) -class DaemonRollback(_SerdeShape): - """Information about a daemon deployment rollback.""" - - reason: str | None = ... - """ - The reason the rollback happened. For example, the circuit breaker - initiated the rollback operation. - """ - started_at: datetime | None = ... - """ - The time that the rollback started. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - rollback_target_daemon_revision_arn: str | None = ... - """The ARN of the daemon revision deployed as part of the rollback.""" - rollback_capacity_providers: list[str] | None = ... - """The capacity providers involved in the rollback.""" - -class DaemonStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - -@dataclass(kw_only=True) -class DaemonSummary(_SerdeShape): - """A summary of a daemon.""" - - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon.""" - status: str | None = ... - """The status of the daemon.""" - created_at: datetime | None = ... - """The Unix timestamp for the time when the daemon was created.""" - updated_at: datetime | None = ... - """The Unix timestamp for the time when the daemon was last updated.""" - -@dataclass(kw_only=True) -class DaemonTaskDefinition(_SerdeShape): - """ - The details of a daemon task definition. A daemon task definition is a - template that describes the containers that form a daemon. Daemons - deploy cross-cutting software agents independently across your Amazon - ECS infrastructure. - """ - - daemon_task_definition_arn: str | None = ... - """The full Amazon Resource Name (ARN) of the daemon task definition.""" - family: str | None = ... - """The name of a family that this daemon task definition is registered to.""" - revision: int = ... - """ - The revision of the daemon task in a particular family. The revision is - a version number of a daemon task definition in a family. When you - register a daemon task definition for the first time, the revision is - `1`. Each time that you register a new revision of a daemon task - definition in the same family, the revision value always increases by - one. - """ - task_role_arn: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the IAM role that - grants containers in the daemon task permission to call Amazon Web - Services APIs on your behalf. - """ - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the task execution role that grants - the Amazon ECS container agent permission to make Amazon Web Services - API calls on your behalf. - """ - container_definitions: list[DaemonContainerDefinition] | None = ... - """ - A list of container definitions in JSON format that describe the - containers that make up the daemon task. - """ - volumes: list[DaemonVolume] | None = ... - """The list of data volume definitions for the daemon task.""" - cpu: str | None = ... - """The number of CPU units used by the daemon task.""" - memory: str | None = ... - """The amount of memory (in MiB) used by the daemon task.""" - status: str | None = ... - """ - The status of the daemon task definition. The valid values are `ACTIVE`, - `DELETE_IN_PROGRESS`, and `DELETED`. - """ - registered_at: datetime | None = ... - """ - The Unix timestamp for the time when the daemon task definition was - registered. - """ - delete_requested_at: datetime | None = ... - """ - The Unix timestamp for the time when the daemon task definition delete - was requested. - """ - registered_by: str | None = ... - """The principal that registered the daemon task definition.""" - pid_mode: str | None = ... - """ - The PID namespace mode for the daemon. The valid values are `none` and - `shared`. The default is `none`. - - If `none` is specified or no value is provided, the daemon runs with its - own PID namespace, isolated from other tasks. If `shared` is specified, - the daemon joins the host PID namespace, making it accessible to - non-daemon tasks that use `pidMode: "host"` or other daemons that use - `pidMode: "shared"`. - """ - ipc_mode: str | None = ... - """ - The IPC namespace mode for the daemon. The valid values are `none` and - `shared`. The default is `none`. - - If `none` is specified or no value is provided, the daemon runs with its - own IPC namespace, isolated from other tasks. If `shared` is specified, - the daemon joins the host IPC namespace, making it accessible to - non-daemon tasks that use `ipcMode: "host"` or other daemons that use - `ipcMode: "shared"`. - """ - -class DaemonTaskDefinitionRevisionFilter(UnknownEnumMixin, StrEnum): - LAST_REGISTERED = "LAST_REGISTERED" - -class DaemonTaskDefinitionStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - DELETED = "DELETED" - -class DaemonTaskDefinitionStatusFilter(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - ALL = "ALL" - -@dataclass(kw_only=True) -class DaemonTaskDefinitionSummary(_SerdeShape): - """A summary of a daemon task definition.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon task definition.""" - registered_at: datetime | None = ... - """ - The Unix timestamp for the time when the daemon task definition was - registered. - """ - registered_by: str | None = ... - """The principal that registered the daemon task definition.""" - delete_requested_at: datetime | None = ... - """ - The Unix timestamp for the time when the daemon task definition delete - was requested. - """ - status: str | None = ... - """The status of the daemon task definition.""" - -@dataclass(kw_only=True) -class DaemonVolume(_SerdeShape): - """A data volume definition for a daemon task.""" - - name: str | None = ... - """ - The name of the volume. Up to 255 letters (uppercase and lowercase), - numbers, underscores, and hyphens are allowed. - """ - host: HostVolumeProperties | None = ... - """ - The contents of the `host` parameter determine whether your bind mount - host volume persists on the host container instance and where it's - stored. - """ - log_driver_volume_configuration: LogDriverVolumeConfiguration | None = ... - """ - The log driver volume configuration. With a log driver volume, the - containers in a daemon task can read the log files that a log driver - writes for the other tasks on the container instance. To read the log - files, mount the volume into a container in the daemon task with - `mountPoints`. - - Use `host` to bind mount a path on the container instance. Use - `logDriverVolumeConfiguration` to read the log output of other tasks. - You can't specify both for the same volume. - """ - -@dataclass(kw_only=True) -class DeleteAccountSettingInput(_SerdeShape): - """Dataclass for DeleteAccountSettingInput structure.""" - - name: str | None = ... - """ - The resource name to disable the account setting for. If - `serviceLongArnFormat` is specified, the ARN for your Amazon ECS - services is affected. If `taskLongArnFormat` is specified, the ARN and - resource ID for your Amazon ECS tasks is affected. If - `containerInstanceLongArnFormat` is specified, the ARN and resource ID - for your Amazon ECS container instances is affected. If `awsvpcTrunking` - is specified, the ENI limit for your Amazon ECS container instances is - affected. - """ - principal_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the principal. It can be a user, role, - or the root user. If you specify the root user, it disables the account - setting for all users, roles, and the root user of the account unless a - user or role explicitly overrides these settings. If this field is - omitted, the setting is changed only for the authenticated user. - - In order to use this parameter, you must be the root user, or the - principal. - """ - -@dataclass(kw_only=True) -class DeleteAccountSettingOutput(_SerdeShape): - """Dataclass for DeleteAccountSettingOutput structure.""" - - setting: Setting | None = ... - """The account setting for the specified principal ARN.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAttributesInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - contains the resource to delete attributes. If you do not specify a - cluster, the default cluster is assumed. - """ - attributes: list[Attribute] | None = ... - """ - The attributes to delete from your resource. You can specify up to 10 - attributes for each request. For custom attributes, specify the - attribute name and target ID, but don't specify the value. If you - specify the target ID using the short form, you must also specify the - target type. - """ - -@dataclass(kw_only=True) -class DeleteAttributesOutput(_SerdeShape): - """""" - - attributes: list[Attribute] | None = ... - """ - A list of attribute objects that were successfully deleted from your - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCapacityProviderInput(_SerdeShape): - """Dataclass for DeleteCapacityProviderInput structure.""" - - capacity_provider: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the capacity - provider to delete. - """ - cluster: str | None = ... - """ - The name of the cluster that contains the capacity provider to delete. - Managed instances capacity providers are cluster-scoped and can only be - deleted from their associated cluster. - """ - -@dataclass(kw_only=True) -class DeleteCapacityProviderOutput(_SerdeShape): - """Dataclass for DeleteCapacityProviderOutput structure.""" - - capacity_provider: CapacityProvider | None = ... - """The details of the capacity provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteClusterInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster to - delete. - """ - -@dataclass(kw_only=True) -class DeleteClusterOutput(_SerdeShape): - """""" - - cluster: Cluster | None = ... - """The full description of the deleted cluster.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDaemonInput(_SerdeShape): - """Dataclass for DeleteDaemonInput structure.""" - - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon to delete.""" - -@dataclass(kw_only=True) -class DeleteDaemonOutput(_SerdeShape): - """Dataclass for DeleteDaemonOutput structure.""" - - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon.""" - status: str | None = ... - """ - The status of the daemon. After you call `DeleteDaemon`, the status - changes to `DELETE_IN_PROGRESS`. - """ - created_at: datetime | None = ... - """The Unix timestamp for the time when the daemon was created.""" - updated_at: datetime | None = ... - """The Unix timestamp for the time when the daemon was last updated.""" - deployment_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the daemon deployment that was - triggered by the delete operation. This deployment drains existing - daemon tasks from the container instances. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDaemonTaskDefinitionInput(_SerdeShape): - """Dataclass for DeleteDaemonTaskDefinitionInput structure.""" - - daemon_task_definition: str | None = ... - """ - The `family` and `revision` (`family:revision`) or full Amazon Resource - Name (ARN) of the daemon task definition to delete. - """ - -@dataclass(kw_only=True) -class DeleteDaemonTaskDefinitionOutput(_SerdeShape): - """Dataclass for DeleteDaemonTaskDefinitionOutput structure.""" - - daemon_task_definition_arn: str | None = ... - """ - The full Amazon Resource Name (ARN) of the deleted daemon task - definition. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteExpressGatewayServiceInput(_SerdeShape): - """Dataclass for DeleteExpressGatewayServiceInput structure.""" - - service_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Express service to delete. The ARN - uniquely identifies the service within your Amazon Web Services account - and region. - """ - -@dataclass(kw_only=True) -class DeleteExpressGatewayServiceOutput(_SerdeShape): - """Dataclass for DeleteExpressGatewayServiceOutput structure.""" - - service: ECSExpressGatewayService | None = ... - """The full description of the deleted express service.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGatewayInput(_SerdeShape): - """Dataclass for DeleteGatewayInput structure.""" - - gateway: str | None = ... - """The name or Amazon Resource Name (ARN) of the gateway to delete.""" - -@dataclass(kw_only=True) -class DeleteGatewayOutput(_SerdeShape): - """Dataclass for DeleteGatewayOutput structure.""" - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the deleted gateway.""" - name: str | None = ... - """The name of the deleted gateway.""" - status: str | None = ... - """ - The status of the gateway. After a successful delete, the status is - `DELETED`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteServiceInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the service to delete. If you do not specify a cluster, the - default cluster is assumed. - """ - service: str | None = ... - """The name of the service to delete.""" - force: bool | None = ... - """ - If `true`, allows you to delete a service even if it wasn't scaled down - to zero tasks. It's only necessary to use this if the service uses the - `REPLICA` scheduling strategy. - """ - -@dataclass(kw_only=True) -class DeleteServiceOutput(_SerdeShape): - """""" - - service: Service | None = ... - """The full description of the deleted service.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTaskDefinitionsInput(_SerdeShape): - """Dataclass for DeleteTaskDefinitionsInput structure.""" - - task_definitions: list[str] | None = ... - """ - The `family` and `revision` (`family:revision`) or full Amazon Resource - Name (ARN) of the task definition to delete. You must specify a - `revision`. - - You can specify up to 10 task definitions as a comma separated list. - """ - -@dataclass(kw_only=True) -class DeleteTaskDefinitionsOutput(_SerdeShape): - """Dataclass for DeleteTaskDefinitionsOutput structure.""" - - task_definitions: list[TaskDefinition] | None = ... - """The list of deleted task definitions.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTaskSetInput(_SerdeShape): - """Dataclass for DeleteTaskSetInput structure.""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the service that the task set found in to delete. - """ - service: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the service that - hosts the task set to delete. - """ - task_set: str | None = ... - """ - The task set ID or full Amazon Resource Name (ARN) of the task set to - delete. - """ - force: bool | None = ... - """ - If `true`, you can delete a task set even if it hasn't been scaled down - to zero. - """ - -@dataclass(kw_only=True) -class DeleteTaskSetOutput(_SerdeShape): - """Dataclass for DeleteTaskSetOutput structure.""" - - task_set: TaskSet | None = ... - """Details about the task set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Deployment(_SerdeShape): - """ - The details of an Amazon ECS service deployment. This is used only when - a service uses the `ECS` deployment controller type. - """ - - id: str | None = ... - """The ID of the deployment.""" - status: str | None = ... - """ - The status of the deployment. The following describes each state. - - PRIMARY - - : The most recent deployment of a service. - - ACTIVE - - : A service deployment that still has running tasks, but are in the - process of being replaced with a new `PRIMARY` deployment. - - INACTIVE - - : A deployment that has been completely replaced. - """ - task_definition: str | None = ... - """ - The most recent task definition that was specified for the tasks in the - service to use. - """ - desired_count: int = ... - """ - The most recent desired count of tasks that was specified for the - service to deploy or maintain. - """ - pending_count: int = ... - """The number of tasks in the deployment that are in the `PENDING` status.""" - running_count: int = ... - """The number of tasks in the deployment that are in the `RUNNING` status.""" - failed_tasks: int = ... - """ - The number of consecutively failed tasks in the deployment. A task is - considered a failure if the service scheduler can't launch the task, - the task doesn't transition to a `RUNNING` state, or if it fails any of - its defined health checks and is stopped. - - Note: - Once a service deployment has one or more successfully running tasks, - the failed task count resets to zero and stops being evaluated. - """ - created_at: datetime | None = ... - """The Unix timestamp for the time when the service deployment was created.""" - updated_at: datetime | None = ... - """ - The Unix timestamp for the time when the service deployment was last - updated. - """ - capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """The capacity provider strategy that the deployment is using.""" - launch_type: str | None = ... - """ - The launch type the tasks in the service are using. For more - information, see [Amazon ECS Launch - Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - platform_version: str | None = ... - """ - The platform version that your tasks in the service run on. A platform - version is only specified for tasks using the Fargate launch type. If - one isn't specified, the `LATEST` platform version is used. For more - information, see [Fargate Platform - Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - platform_family: str | None = ... - """ - The operating system that your tasks in the service, or tasks are - running on. A platform family is specified only for tasks using the - Fargate launch type. - - All tasks that run as part of this service must use the same - `platformFamily` value as the service, for example, ` LINUX.`. - """ - network_configuration: NetworkConfiguration | None = ... - """ - The VPC subnet and security group configuration for tasks that receive - their own elastic network interface by using the `awsvpc` networking - mode. - """ - rollout_state: str | None = ... - """ - Note: - The `rolloutState` of a service is only returned for services that use - the rolling update (`ECS`) deployment type that aren't behind a Classic - Load Balancer. - - The rollout state of the deployment. When a service deployment is - started, it begins in an `IN_PROGRESS` state. When the service reaches a - steady state, the deployment transitions to a `COMPLETED` state. If the - service fails to reach a steady state and circuit breaker is turned on, - the deployment transitions to a `FAILED` state. A deployment in `FAILED` - state doesn't launch any new tasks. For more information, see - [DeploymentCircuitBreaker](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeploymentCircuitBreaker.html). - """ - rollout_state_reason: str | None = ... - """A description of the rollout state of a deployment.""" - service_connect_configuration: ServiceConnectConfiguration | None = ... - """ - The details of the Service Connect configuration that's used by this - deployment. Compare the configuration between multiple deployments when - troubleshooting issues with new deployments. - - The configuration for this service to discover and connect to services, - and be discovered by, and connected from, other services within a - namespace. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - service_connect_resources: list[ServiceConnectServiceResource] | None = ... - """ - The list of Service Connect resources that are associated with this - deployment. Each list entry maps a discovery name to a Cloud Map service - name. - """ - volume_configurations: list[ServiceVolumeConfiguration] | None = ... - """ - The details of the volume that was `configuredAtLaunch`. You can - configure different settings like the size, throughput, volumeType, and - ecryption in - [ServiceManagedEBSVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html). - The `name` of the volume must match the `name` from the task definition. - """ - fargate_ephemeral_storage: DeploymentEphemeralStorage | None = ... - """The Fargate ephemeral storage settings for the deployment.""" - vpc_lattice_configurations: list[VpcLatticeConfiguration] | None = ... - """The VPC Lattice configuration for the service deployment.""" - -@dataclass(kw_only=True) -class DeploymentAlarms(_SerdeShape): - """ - One of the methods which provide a way for you to quickly identify when - a deployment has failed, and then to optionally roll back the failure to - the last working deployment. - - When the alarms are generated, Amazon ECS sets the service deployment to - failed. Set the rollback parameter to have Amazon ECS to roll back your - service to the last completed deployment after a failure. - - You can only use the `DeploymentAlarms` method to detect failures when - the `DeploymentController` is set to `ECS`. - - For more information, see [Rolling - update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) - in the Amazon Elastic Container Service Developer Guide . - """ - - alarm_names: list[str] - """One or more CloudWatch alarm names. Use a \",\" to separate the alarms.""" - rollback: bool = ... - """ - Determines whether to configure Amazon ECS to roll back the service if a - service deployment fails. If rollback is used, when a service deployment - fails, the service is rolled back to the last deployment that completed - successfully. - """ - enable: bool = ... - """ - Determines whether to use the CloudWatch alarm option in the service - deployment process. - """ - -@dataclass(kw_only=True) -class DeploymentCircuitBreaker(_SerdeShape): - """ - Note: - The deployment circuit breaker can only be used for services using the - rolling update (`ECS`) deployment type. - - The **deployment circuit breaker** determines whether a service - deployment will fail if the service can't reach a steady state. If it - is turned on, a service deployment will transition to a failed state and - stop launching new tasks. You can also configure Amazon ECS to roll back - your service to the last completed deployment after a failure. For more - information, see [Rolling - update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) - in the *Amazon Elastic Container Service Developer Guide*. - - For more information about API failure reasons, see [API failure - reasons](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - enable: bool = ... - """ - Determines whether to use the deployment circuit breaker logic for the - service. - """ - rollback: bool = ... - """ - Determines whether to configure Amazon ECS to roll back the service if a - service deployment fails. If rollback is on, when a service deployment - fails, the service is rolled back to the last deployment that completed - successfully. - """ - reset_on_healthy_task: bool | None = ... - """ - Specifies whether the deployment circuit breaker resets its failure - count when a task reaches a healthy state. When set to `true`, a task - that reaches a healthy state resets the failure count to `0`. When set - to `false`, Amazon ECS does not reset the failure count. The default is - `true`. - """ - threshold_configuration: ThresholdConfiguration | None = ... - """ - The threshold configuration that controls when the deployment circuit - breaker triggers. The `type` and `value` together determine how many - task failures are tolerated before the circuit breaker activates. - """ - -@dataclass(kw_only=True) -class DeploymentConfiguration(_SerdeShape): - """ - Optional deployment parameters that control how many tasks run during a - deployment and the ordering of stopping and starting tasks. - """ - - deployment_circuit_breaker: DeploymentCircuitBreaker | None = ... - """ - Note: - The deployment circuit breaker can only be used for services using the - rolling update (`ECS`) deployment type. - - The **deployment circuit breaker** determines whether a service - deployment will fail if the service can't reach a steady state. If you - use the deployment circuit breaker, a service deployment will transition - to a failed state and stop launching new tasks. If you use the rollback - option, when a service deployment fails, the service is rolled back to - the last deployment that completed successfully. For more information, - see [Rolling - update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) - in the *Amazon Elastic Container Service Developer Guide* - """ - maximum_percent: int | None = ... - """ - If a service is using the rolling update (`ECS`) deployment type, the - `maximumPercent` parameter represents an upper limit on the number of - your service's tasks that are allowed in the `RUNNING` or `PENDING` - state during a deployment, as a percentage of the `desiredCount` - (rounded down to the nearest integer). This parameter enables you to - define the deployment batch size. For example, if your service is using - the `REPLICA` service scheduler and has a `desiredCount` of four tasks - and a `maximumPercent` value of 200%, the scheduler may start four new - tasks before stopping the four older tasks (provided that the cluster - resources required to do this are available). The default - `maximumPercent` value for a service using the `REPLICA` service - scheduler is 200%. - - The Amazon ECS scheduler uses this parameter to replace unhealthy tasks - by starting replacement tasks first and then stopping the unhealthy - tasks, as long as cluster resources for starting replacement tasks are - available. For more information about how the scheduler replaces - unhealthy tasks, see [Amazon ECS - services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html). - - If a service is using either the blue/green (`CODE_DEPLOY`) or - `EXTERNAL` deployment types, and tasks in the service use the EC2 launch - type, the **maximum percent** value is set to the default value. The - **maximum percent** value is used to define the upper limit on the - number of the tasks in the service that remain in the `RUNNING` state - while the container instances are in the `DRAINING` state. - - Note: - You can't specify a custom `maximumPercent` value for a service that - uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL` deployment - types and has tasks that use the EC2 launch type. - - If the service uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL` - deployment types, and the tasks in the service use the Fargate launch - type, the maximum percent value is not used. The value is still returned - when describing your service. - """ - minimum_healthy_percent: int | None = ... - """ - If a service is using the rolling update (`ECS`) deployment type, the - `minimumHealthyPercent` represents a lower limit on the number of your - service's tasks that must remain in the `RUNNING` state during a - deployment, as a percentage of the `desiredCount` (rounded up to the - nearest integer). This parameter enables you to deploy without using - additional cluster capacity. For example, if your service has a - `desiredCount` of four tasks and a `minimumHealthyPercent` of 50%, the - service scheduler may stop two existing tasks to free up cluster - capacity before starting two new tasks. - - If any tasks are unhealthy and if `maximumPercent` doesn't allow the - Amazon ECS scheduler to start replacement tasks, the scheduler stops the - unhealthy tasks one-by-one --- using the `minimumHealthyPercent` as a - constraint --- to clear up capacity to launch replacement tasks. For - more information about how the scheduler replaces unhealthy tasks, see - [Amazon ECS - services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html). - - For services that *do not* use a load balancer, the following should be - noted: - - - A service is considered healthy if all essential containers within the - tasks in the service pass their health checks. - - - If a task has no essential containers with a health check defined, the - service scheduler will wait for 40 seconds after a task reaches a - `RUNNING` state before the task is counted towards the minimum healthy - percent total. - - - If a task has one or more essential containers with a health check - defined, the service scheduler will wait for the task to reach a - healthy status before counting it towards the minimum healthy percent - total. A task is considered healthy when all essential containers - within the task have passed their health checks. The amount of time - the service scheduler can wait for is determined by the container - health check settings. - - For services that *do* use a load balancer, the following should be - noted: - - - If a task has no essential containers with a health check defined, the - service scheduler will wait for the load balancer target group health - check to return a healthy status before counting the task towards the - minimum healthy percent total. - - - If a task has an essential container with a health check defined, the - service scheduler will wait for both the task to reach a healthy - status and the load balancer target group health check to return a - healthy status before counting the task towards the minimum healthy - percent total. - - The default value for a replica service for `minimumHealthyPercent` is - 100%. The default `minimumHealthyPercent` value for a service using the - `DAEMON` service schedule is 0% for the CLI, the Amazon Web Services - SDKs, and the APIs and 50% for the Amazon Web Services Management - Console. - - The minimum number of healthy tasks during a deployment is the - `desiredCount` multiplied by the `minimumHealthyPercent`/100, rounded up - to the nearest integer value. - - If a service is using either the blue/green (`CODE_DEPLOY`) or - `EXTERNAL` deployment types and is running tasks that use the EC2 launch - type, the **minimum healthy percent** value is set to the default value. - The **minimum healthy percent** value is used to define the lower limit - on the number of the tasks in the service that remain in the `RUNNING` - state while the container instances are in the `DRAINING` state. - - Note: - You can't specify a custom `minimumHealthyPercent` value for a service - that uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL` deployment - types and has tasks that use the EC2 launch type. - - If a service is using either the blue/green (`CODE_DEPLOY`) or - `EXTERNAL` deployment types and is running tasks that use the Fargate - launch type, the minimum healthy percent value is not used, although it - is returned when describing your service. - """ - alarms: DeploymentAlarms | None = ... - """Information about the CloudWatch alarms.""" - strategy: str | None = ... - """ - The deployment strategy for the service. Choose from these valid values: - - - `ROLLING` - When you create a service which uses the rolling update - (`ROLLING`) deployment strategy, the Amazon ECS service scheduler - replaces the currently running tasks with new tasks. The number of - tasks that Amazon ECS adds or removes from the service during a - rolling update is controlled by the service deployment configuration. - - - `BLUE_GREEN` - A blue/green deployment strategy (`BLUE_GREEN`) is a - release methodology that reduces downtime and risk by running two - identical production environments called blue and green. With Amazon - ECS blue/green deployments, you can validate new service revisions - before directing production traffic to them. This approach provides a - safer way to deploy changes with the ability to quickly roll back if - needed. - - - `LINEAR` - A *linear* deployment strategy (`LINEAR`) gradually shifts - traffic from the current production environment to a new environment - in equal percentages over time. With Amazon ECS linear deployments, - you can control the pace of traffic shifting and validate new service - revisions with increasing amounts of production traffic. - - - `CANARY` - A *canary* deployment strategy (`CANARY`) shifts a small - percentage of traffic to the new service revision first, then shifts - the remaining traffic all at once after a specified time period. This - allows you to test the new version with a subset of users before full - deployment. - """ - bake_time_in_minutes: int | None = ... - """ - The time period when both blue and green service revisions are running - simultaneously after the production traffic has shifted. - - You must provide this parameter when you use the `BLUE_GREEN` deployment - strategy. - """ - lifecycle_hooks: list[DeploymentLifecycleHook] | None = ... - """ - An array of deployment lifecycle hook objects to run custom logic or - pause the deployment at specific stages of the deployment lifecycle. - """ - linear_configuration: LinearConfiguration | None = ... - """ - Configuration for linear deployment strategy. Only valid when the - deployment strategy is `LINEAR`. This configuration enables progressive - traffic shifting in equal percentage increments with configurable bake - times between each step. - """ - canary_configuration: CanaryConfiguration | None = ... - """ - Configuration for canary deployment strategy. Only valid when the - deployment strategy is `CANARY`. This configuration enables shifting a - fixed percentage of traffic for testing, followed by shifting the - remaining traffic after a bake period. - """ - early_success_criteria: DeploymentEarlySuccessCriteria | None = ... - """ - The early success criteria configuration for a rolling deployment. With - early success criteria, you can configure an Amazon ECS deployment to - complete faster. Amazon ECS declares a deployment successful once a - target percentage of tasks are healthy, instead of waiting for the - service to fully stabilize. - """ - -@dataclass(kw_only=True) -class DeploymentController(_SerdeShape): - """The deployment controller to use for the service.""" - - type: str - """ - The deployment controller type to use. - - The deployment controller is the mechanism that determines how tasks are - deployed for your service. The valid options are: - - - ECS - - When you create a service which uses the `ECS` deployment controller, - you can choose between the following deployment strategies: - - - `ROLLING`: When you create a service which uses the *rolling update* - (`ROLLING`) deployment strategy, the Amazon ECS service scheduler - replaces the currently running tasks with new tasks. The number of - tasks that Amazon ECS adds or removes from the service during a - rolling update is controlled by the service deployment - configuration. - - Rolling update deployments are best suited for the following - scenarios: - - - Gradual service updates: You need to update your service - incrementally without taking the entire service offline at once. - - - Limited resource requirements: You want to avoid the additional - resource costs of running two complete environments simultaneously - (as required by blue/green deployments). - - - Acceptable deployment time: Your application can tolerate a longer - deployment process, as rolling updates replace tasks one by one. - - - No need for instant roll back: Your service can tolerate a - rollback process that takes minutes rather than seconds. - - - Simple deployment process: You prefer a straightforward deployment - approach without the complexity of managing multiple environments, - target groups, and listeners. - - - No load balancer requirement: Your service doesn't use or require - a load balancer, Application Load Balancer, Network Load Balancer, - or Service Connect (which are required for blue/green - deployments). - - - Stateful applications: Your application maintains state that makes - it difficult to run two parallel environments. - - - Cost sensitivity: You want to minimize deployment costs by not - running duplicate environments during deployment. - - Rolling updates are the default deployment strategy for services and - provide a balance between deployment safety and resource efficiency - for many common application scenarios. - - - `BLUE_GREEN`: A *blue/green* deployment strategy (`BLUE_GREEN`) is a - release methodology that reduces downtime and risk by running two - identical production environments called blue and green. With Amazon - ECS blue/green deployments, you can validate new service revisions - before directing production traffic to them. This approach provides - a safer way to deploy changes with the ability to quickly roll back - if needed. - - Amazon ECS blue/green deployments are best suited for the following - scenarios: - - - Service validation: When you need to validate new service - revisions before directing production traffic to them - - - Zero downtime: When your service requires zero-downtime - deployments - - - Instant roll back: When you need the ability to quickly roll back - if issues are detected - - - Load balancer requirement: When your service uses Application Load - Balancer, Network Load Balancer, or Service Connect - - - External - - Use a third-party deployment controller. - - - Blue/green deployment (powered by CodeDeploy) - - CodeDeploy installs an updated version of the application as a new - replacement task set and reroutes production traffic from the original - application task set to the replacement task set. The original task - set is terminated after a successful deployment. Use this deployment - controller to verify a new deployment of a service before sending - production traffic to it. - """ - -class DeploymentControllerType(UnknownEnumMixin, StrEnum): - ECS = "ECS" - CODE_DEPLOY = "CODE_DEPLOY" - EXTERNAL = "EXTERNAL" - -@dataclass(kw_only=True) -class DeploymentEarlySuccessCriteria(_SerdeShape): - """ - Note: - You can use early success criteria only with rolling deployment - strategy. - - The configuration that determines when a rolling update deployment is - considered successful. Early success criteria defines the percentage of - tasks that must be healthy before a deployment completes. It also - controls whether Amazon ECS must remove the previous tasks before a - deployment completes. - """ - - enable: bool = ... - """ - Specifies whether to use the early success criteria for the service - deployment. When set to `false`, the deployment uses the default - behavior, where Amazon ECS considers the deployment successful when the - target service revision fully stabilizes and the previous tasks are - removed. The default value is `false`. - - When set to `true`, Amazon ECS monitors the deployment to meet early - success criteria. You must also specify `healthyPercent` and - `sourceServiceRevisionCleanup`. - """ - healthy_percent: int | None = ... - """ - The percentage of healthy tasks that the target service revision must - reach before Amazon ECS considers the deployment successful. This - percentage is relative to the service's `desiredCount` and must be an - integer between `0` and `100`. This value must be greater than or equal - to the `minimumHealthyPercent` value. - - After this percentage of tasks is healthy and the bake time elapses, - Amazon ECS completes the deployment. Amazon ECS continues to scale the - target service revision to 100 percent in the background. - """ - source_service_revision_cleanup: str | None = ... - """ - The time when Amazon ECS removes the source revisions' tasks relative - to deployment completion. The valid values are: - - - `BLOCKING`---Amazon ECS removes the previous tasks before it marks the - deployment as successful. - - - `DEFERRED`---Amazon ECS marks the deployment successful, and then - removes the previous tasks in the background. - """ - -@dataclass(kw_only=True) -class DeploymentEphemeralStorage(_SerdeShape): - """The amount of ephemeral storage to allocate for the deployment.""" - - kms_key_id: str | None = ... - """ - Specify an Key Management Service key ID to encrypt the ephemeral - storage for deployment. - """ - -@dataclass(kw_only=True) -class DeploymentLifecycleHook(_SerdeShape): - """ - A deployment lifecycle hook runs custom logic or pauses the deployment - at specific stages of the deployment process. You can use Lambda - functions or pause hooks as hook targets. - - For more information, see [Lifecycle hooks for Amazon ECS service - deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-lifecycle-hooks.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - target_type: str | None = ... - """ - The type of action the lifecycle hook performs. Valid values are: - - - `AWS_LAMBDA` - Invokes a Lambda function at the specified lifecycle - stage. This is the default value. - - - `PAUSE` - Pauses the deployment at the specified lifecycle stage until - you call `ContinueServiceDeployment` to continue or roll back. - - This field is optional. If not specified, the default value is - `AWS_LAMBDA`. - """ - hook_target_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the hook target. For `AWS_LAMBDA` - hooks, this is the Lambda function ARN. This field is not applicable for - `PAUSE` hooks. - - You must provide this parameter when configuring an `AWS_LAMBDA` - lifecycle hook. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS - permission to call Lambda functions on your behalf. - - For more information, see [Permissions required for Lambda functions in - Amazon ECS blue/green - deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-permissions.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - lifecycle_stages: list[str] | None = ... - """ - The lifecycle stages at which to run the hook. Choose from these valid - values: - - - RECONCILE_SERVICE - - The reconciliation stage that only happens when you start a new - service deployment with more than 1 service revision in an ACTIVE - state. - - You can use a lifecycle hook for this stage. - - - PRE_SCALE_UP - - The green service revision has not started. The blue service revision - is handling 100% of the production traffic. There is no test traffic. - - You can use a lifecycle hook for this stage. - - - POST_SCALE_UP - - The green service revision has started. The blue service revision is - handling 100% of the production traffic. There is no test traffic. - - You can use a lifecycle hook for this stage. - - - TEST_TRAFFIC_SHIFT - - The blue and green service revisions are running. The blue service - revision handles 100% of the production traffic. The green service - revision is migrating from 0% to 100% of test traffic. - - You can use a lifecycle hook for this stage. - - - POST_TEST_TRAFFIC_SHIFT - - The test traffic shift is complete. The green service revision handles - 100% of the test traffic. - - You can use a lifecycle hook for this stage. - - - PRE_PRODUCTION_TRAFFIC_SHIFT - - Occurs before production traffic shift. For linear and canary - deployments, this stage is invoked before every traffic shift step. - - You can use a lifecycle hook for this stage. - - - PRODUCTION_TRAFFIC_SHIFT - - Production traffic is shifting to the green service revision. The - green service revision is migrating from 0% to 100% of production - traffic. For linear and canary deployments, this stage is invoked at - every traffic shift step. - - You can use a lifecycle hook for this stage. - - - POST_PRODUCTION_TRAFFIC_SHIFT - - The production traffic shift is complete. - - You can use a lifecycle hook for this stage. - - Note: - `PAUSE` hooks cannot be configured at `TEST_TRAFFIC_SHIFT` or - `PRODUCTION_TRAFFIC_SHIFT` stages. These stages are only valid for - `AWS_LAMBDA` hooks. - - You must provide this parameter when configuring a deployment lifecycle - hook. - """ - hook_details: Document | None = ... - """ - Use this field to specify custom parameters that Amazon ECS passes to - your Lambda function on each invocation. This field is not used for - `PAUSE` hooks. - """ - timeout_configuration: DeploymentLifecycleHookTimeoutConfiguration | None = ... - """ - The timeout configuration for the lifecycle hook. This specifies how - long Amazon ECS waits before taking the timeout action if the hook is - not resolved. - """ - -class DeploymentLifecycleHookAction(UnknownEnumMixin, StrEnum): - ROLLBACK = "ROLLBACK" - CONTINUE_ = "CONTINUE" - -@dataclass(kw_only=True) -class DeploymentLifecycleHookDetail(_SerdeShape): - """ - The details of a deployment lifecycle hook that is active during a - service deployment. - - You can view lifecycle hook details by calling - [DescribeServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html). - """ - - hook_id: str | None = ... - """ - The ID of the lifecycle hook. Use this value when calling - `ContinueServiceDeployment` to continue or roll back a paused - deployment. - """ - target_type: str | None = ... - """ - The type of action the lifecycle hook performs, such as `AWS_LAMBDA` or - `PAUSE`. - """ - target_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the hook target. For `AWS_LAMBDA` - hooks, this is the Lambda function ARN. For `PAUSE` hooks, this field is - not set. - """ - status: str | None = ... - """ - The status of the lifecycle hook. Valid values include - `AWAITING_ACTION`, `IN_PROGRESS`, `SUCCEEDED`, `FAILED`, and - `TIMED_OUT`. - """ - expires_at: datetime | None = ... - """ - The time when the lifecycle hook times out. If the hook has not been - completed by this time, Amazon ECS takes the timeout action. - """ - timeout_action: str | None = ... - """ - The action Amazon ECS takes when the lifecycle hook times out. Valid - values are `CONTINUE` and `ROLLBACK`. - """ - -class DeploymentLifecycleHookStage(UnknownEnumMixin, StrEnum): - RECONCILE_SERVICE = "RECONCILE_SERVICE" - PRE_SCALE_UP = "PRE_SCALE_UP" - POST_SCALE_UP = "POST_SCALE_UP" - TEST_TRAFFIC_SHIFT = "TEST_TRAFFIC_SHIFT" - POST_TEST_TRAFFIC_SHIFT = "POST_TEST_TRAFFIC_SHIFT" - PRE_PRODUCTION_TRAFFIC_SHIFT = "PRE_PRODUCTION_TRAFFIC_SHIFT" - PRODUCTION_TRAFFIC_SHIFT = "PRODUCTION_TRAFFIC_SHIFT" - POST_PRODUCTION_TRAFFIC_SHIFT = "POST_PRODUCTION_TRAFFIC_SHIFT" - -class DeploymentLifecycleHookStatus(UnknownEnumMixin, StrEnum): - AWAITING_ACTION = "AWAITING_ACTION" - IN_PROGRESS = "IN_PROGRESS" - SUCCEEDED = "SUCCEEDED" - FAILED = "FAILED" - TIMED_OUT = "TIMED_OUT" - -class DeploymentLifecycleHookTargetType(UnknownEnumMixin, StrEnum): - AWS_LAMBDA = "AWS_LAMBDA" - PAUSE = "PAUSE" - -@dataclass(kw_only=True) -class DeploymentLifecycleHookTimeoutConfiguration(_SerdeShape): - """ - The timeout configuration for a deployment lifecycle hook. This - determines how long Amazon ECS waits for the hook to complete before - taking the specified timeout action. - """ - - timeout_in_minutes: int | None = ... - """ - The number of minutes Amazon ECS waits for the lifecycle hook to - complete before taking the timeout action. - - Default: 1440 (24 hours) - """ - action: str | None = ... - """ - The action Amazon ECS takes when the lifecycle hook times out. Valid - values are: - - - `CONTINUE` - Proceeds the deployment to the next lifecycle stage. - - - `ROLLBACK` - Rolls back the deployment to the previous service - revision. - - Default: `ROLLBACK` - """ - -class DeploymentRolloutState(UnknownEnumMixin, StrEnum): - COMPLETED = "COMPLETED" - FAILED = "FAILED" - IN_PROGRESS = "IN_PROGRESS" - -class DeploymentStrategy(UnknownEnumMixin, StrEnum): - ROLLING = "ROLLING" - BLUE_GREEN = "BLUE_GREEN" - LINEAR = "LINEAR" - CANARY = "CANARY" - -@dataclass(kw_only=True) -class DeregisterContainerInstanceInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the container instance to deregister. If you do not specify a - cluster, the default cluster is assumed. - """ - container_instance: str | None = ... - """ - The container instance ID or full ARN of the container instance to - deregister. For more information about the ARN format, see [Amazon - Resource Name - (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) - in the *Amazon ECS Developer Guide*. - """ - force: bool | None = ... - """ - Forces the container instance to be deregistered. If you have tasks - running on the container instance when you deregister it with the - `force` option, these tasks remain running until you terminate the - instance or the tasks stop through some other means, but they're - orphaned (no longer monitored or accounted for by Amazon ECS). If an - orphaned task on your container instance is part of an Amazon ECS - service, then the service scheduler starts another copy of that task, on - a different container instance if possible. - - Any containers in orphaned service tasks that are registered with a - Classic Load Balancer or an Application Load Balancer target group are - deregistered. They begin connection draining according to the settings - on the load balancer or target group. - """ - -@dataclass(kw_only=True) -class DeregisterContainerInstanceOutput(_SerdeShape): - """""" - - container_instance: ContainerInstance | None = ... - """The container instance that was deregistered.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeregisterTaskDefinitionInput(_SerdeShape): - """""" - - task_definition: str | None = ... - """ - The `family` and `revision` (`family:revision`) or full Amazon Resource - Name (ARN) of the task definition to deregister. You must specify a - `revision`. - """ - -@dataclass(kw_only=True) -class DeregisterTaskDefinitionOutput(_SerdeShape): - """""" - - task_definition: TaskDefinition | None = ... - """The full description of the deregistered task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCapacityProvidersInput(_SerdeShape): - """Dataclass for DescribeCapacityProvidersInput structure.""" - - capacity_providers: list[str] | None = ... - """ - The short name or full Amazon Resource Name (ARN) of one or more - capacity providers. Up to `100` capacity providers can be described in - an action. - """ - cluster: str | None = ... - """ - The name of the cluster to describe capacity providers for. When - specified, only capacity providers associated with this cluster are - returned, including Amazon ECS Managed Instances capacity providers. - """ - include: list[str] | None = ... - """ - Specifies whether or not you want to see the resource tags for the - capacity provider. If `TAGS` is specified, the tags are included in the - response. If this field is omitted, tags aren't included in the - response. - """ - max_results: int | None = ... - """ - The maximum number of account setting results returned by - `DescribeCapacityProviders` in paginated output. When this parameter is - used, `DescribeCapacityProviders` only returns `maxResults` results in a - single page along with a `nextToken` response element. The remaining - results of the initial request can be seen by sending another - `DescribeCapacityProviders` request with the returned `nextToken` value. - This value can be between 1 and 10. If this parameter is not used, then - `DescribeCapacityProviders` returns up to 10 results and a `nextToken` - value if applicable. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a previous paginated - `DescribeCapacityProviders` request where `maxResults` was used and the - results exceeded the value of that parameter. Pagination continues from - the end of the previous results that returned the `nextToken` value. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - -@dataclass(kw_only=True) -class DescribeCapacityProvidersOutput(_SerdeShape): - """Dataclass for DescribeCapacityProvidersOutput structure.""" - - capacity_providers: list[CapacityProvider] | None = ... - """The list of capacity providers.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - next_token: str | None = ... - """ - The `nextToken` value to include in a future `DescribeCapacityProviders` - request. When the results of a `DescribeCapacityProviders` request - exceed `maxResults`, this value can be used to retrieve the next page of - results. This value is `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeClustersInput(_SerdeShape): - """""" - - clusters: list[str] | None = ... - """ - A list of up to 100 cluster names or full cluster Amazon Resource Name - (ARN) entries. If you do not specify a cluster, the default cluster is - assumed. - """ - include: list[str] | None = ... - """ - Determines whether to include additional information about the clusters - in the response. If this field is omitted, this information isn't - included. - - If `ATTACHMENTS` is specified, the attachments for the container - instances or tasks within the cluster are included, for example the - capacity providers. - - If `SETTINGS` is specified, the settings for the cluster are included. - - If `CONFIGURATIONS` is specified, the configuration for the cluster is - included. - - If `STATISTICS` is specified, the task and service count is included, - separated by launch type. - - If `TAGS` is specified, the metadata tags associated with the cluster - are included. - """ - -@dataclass(kw_only=True) -class DescribeClustersOutput(_SerdeShape): - """""" - - clusters: list[Cluster] | None = ... - """The list of clusters.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeContainerInstancesInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the container instances to describe. If you do not specify a - cluster, the default cluster is assumed. This parameter is required if - the container instance or container instances you are describing were - launched in any cluster other than the default cluster. - """ - container_instances: list[str] | None = ... - """ - A list of up to 100 container instance IDs or full Amazon Resource Name - (ARN) entries. - """ - include: list[str] | None = ... - """ - Specifies whether you want to see the resource tags for the container - instance. If `TAGS` is specified, the tags are included in the response. - If `CONTAINER_INSTANCE_HEALTH` is specified, the container instance - health is included in the response. If this field is omitted, tags and - container instance health status aren't included in the response. - """ - -@dataclass(kw_only=True) -class DescribeContainerInstancesOutput(_SerdeShape): - """""" - - container_instances: list[ContainerInstance] | None = ... - """The list of container instances.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDaemonDeploymentsInput(_SerdeShape): - """Dataclass for DescribeDaemonDeploymentsInput structure.""" - - daemon_deployment_arns: list[str] | None = ... - """ - The ARN of the daemon deployments to describe. You can specify up to 20 - ARNs. - """ - -@dataclass(kw_only=True) -class DescribeDaemonDeploymentsOutput(_SerdeShape): - """Dataclass for DescribeDaemonDeploymentsOutput structure.""" - - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - daemon_deployments: list[DaemonDeployment] | None = ... - """The list of daemon deployments.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDaemonInput(_SerdeShape): - """Dataclass for DescribeDaemonInput structure.""" - - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon to describe.""" - -@dataclass(kw_only=True) -class DescribeDaemonOutput(_SerdeShape): - """Dataclass for DescribeDaemonOutput structure.""" - - daemon: DaemonDetail | None = ... - """ - The full description of the daemon, including the current revisions, - deployment ARN, cluster, and status information. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDaemonRevisionsInput(_SerdeShape): - """Dataclass for DescribeDaemonRevisionsInput structure.""" - - daemon_revision_arns: list[str] | None = ... - """ - The ARN of the daemon revisions to describe. You can specify up to 20 - ARNs. - """ - -@dataclass(kw_only=True) -class DescribeDaemonRevisionsOutput(_SerdeShape): - """Dataclass for DescribeDaemonRevisionsOutput structure.""" - - daemon_revisions: list[DaemonRevision] | None = ... - """The list of daemon revisions.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDaemonTaskDefinitionInput(_SerdeShape): - """Dataclass for DescribeDaemonTaskDefinitionInput structure.""" - - daemon_task_definition: str | None = ... - """ - The `family` for the latest `ACTIVE` revision, `family` and `revision` - (`family:revision`) for a specific revision in the family, or full - Amazon Resource Name (ARN) of the daemon task definition to describe. - """ - -@dataclass(kw_only=True) -class DescribeDaemonTaskDefinitionOutput(_SerdeShape): - """Dataclass for DescribeDaemonTaskDefinitionOutput structure.""" - - daemon_task_definition: DaemonTaskDefinition | None = ... - """The full daemon task definition description.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeExpressGatewayServiceInput(_SerdeShape): - """Dataclass for DescribeExpressGatewayServiceInput structure.""" - - service_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Express service to describe. The - ARN uniquely identifies the service within your Amazon Web Services - account and region. - """ - include: list[str] | None = ... - """ - Specifies additional information to include in the response. Valid - values are `TAGS` to include resource tags associated with the Express - service. - """ - -@dataclass(kw_only=True) -class DescribeExpressGatewayServiceOutput(_SerdeShape): - """Dataclass for DescribeExpressGatewayServiceOutput structure.""" - - service: ECSExpressGatewayService | None = ... - """The full description of the described express service.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeGatewayAlbConfiguration(_SerdeShape): - """ - The configuration for a gateway that uses shared Application Load - Balancers, as returned by `DescribeGateway`. This includes the current - number of load balancers in addition to the configured settings. - """ - - network_configuration: GatewayElbNetworkConfiguration | None = ... - """ - The network configuration for the load balancers that the gateway - manages. - """ - scheme: str | None = ... - """ - Specifies whether the load balancers the gateway manages are - `internet-facing` or `internal`. - """ - access_logs: GatewayElbAccessLogConfiguration | None = ... - """ - The access log configuration for the load balancers that the gateway - manages. - """ - web_acl_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the WAF web ACL associated with the - load balancers that the gateway manages. - """ - port: int | None = ... - """ - The port that the load balancer listener uses is 443. The gateway - supports only HTTPS at port 443. - """ - protocol: str | None = ... - """ - The protocol for the load balancer listener is `HTTPS`. No other - protocol is supported. - """ - max_alb_count: int | None = ... - """ - The maximum number of Application Load Balancers that the gateway - manages. - """ - current_alb_count: int | None = ... - """ - The current number of Application Load Balancers that the gateway has - allocated. - """ - http_desync: str | None = ... - """ - The desync mitigation mode for the load balancers that the gateway - manages. - """ - test_traffic_rules: GatewayAlbTestTrafficRules | None = ... - """The rules that route test traffic for progressive deployments.""" - -@dataclass -class DescribeGatewayConfigurationHostSharedAlb(_SerdeShape): - """ - The configuration for a host-based, shared Application Load Balancer - gateway. - """ - - value: DescribeGatewayAlbConfiguration - -@dataclass -class DescribeGatewayConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DescribeGatewayConfiguration = Union[ - DescribeGatewayConfigurationHostSharedAlb | DescribeGatewayConfigurationUnknown -] -""" -The type-specific configuration for a gateway that is returned by -`DescribeGateway`. -""" - -class _DescribeGatewayConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> DescribeGatewayConfiguration: ... - -@dataclass(kw_only=True) -class DescribeGatewayInput(_SerdeShape): - """Dataclass for DescribeGatewayInput structure.""" - - gateway: str | None = ... - """The name or Amazon Resource Name (ARN) of the gateway to describe.""" - -@dataclass(kw_only=True) -class DescribeGatewayOutput(_SerdeShape): - """Dataclass for DescribeGatewayOutput structure.""" - - gateway: Gateway | None = ... - """The details of the gateway.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeGatewayResourcesInput(_SerdeShape): - """Dataclass for DescribeGatewayResourcesInput structure.""" - - gateway: str | None = ... - """The name or Amazon Resource Name (ARN) of the gateway.""" - max_results: int | None = ... - """ - The maximum number of results that the operation returns in a single - page. The maximum value is 20 and the default is 10. - """ - next_token: str | None = ... - """The `nextToken` value returned from a previous paginated request.""" - -@dataclass(kw_only=True) -class DescribeGatewayResourcesOutput(_SerdeShape): - """Dataclass for DescribeGatewayResourcesOutput structure.""" - - gateway_resources: GatewayResources | None = ... - """ - The infrastructure resources that the gateway manages, grouped by - gateway type. - """ - next_token: str | None = ... - """ - The `nextToken` value to include in a future request to retrieve the - next page of results. This value is `null` when there are no more - results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeGatewayRouteInput(_SerdeShape): - """Dataclass for DescribeGatewayRouteInput structure.""" - - gateway_route_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway route to describe.""" - -@dataclass(kw_only=True) -class DescribeGatewayRouteOutput(_SerdeShape): - """Dataclass for DescribeGatewayRouteOutput structure.""" - - gateway_route: GatewayRoute | None = ... - """The details of the gateway route.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeServiceDeploymentsInput(_SerdeShape): - """Dataclass for DescribeServiceDeploymentsInput structure.""" - - service_deployment_arns: list[str] | None = ... - """ - The ARN of the service deployment. - - You can specify a maximum of 20 ARNs. - """ - -@dataclass(kw_only=True) -class DescribeServiceDeploymentsOutput(_SerdeShape): - """Dataclass for DescribeServiceDeploymentsOutput structure.""" - - service_deployments: list[ServiceDeployment] | None = ... - """The list of service deployments described.""" - failures: list[Failure] | None = ... - """ - Any failures associated with the call. - - If you decsribe a deployment with a service revision created before - October 25, 2024, the call fails. The failure includes the service - revision ARN and the reason set to `MISSING`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeServiceRevisionsInput(_SerdeShape): - """Dataclass for DescribeServiceRevisionsInput structure.""" - - service_revision_arns: list[str] | None = ... - """ - The ARN of the service revision. - - You can specify a maximum of 20 ARNs. - - You can call - [ListServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServiceDeployments.html) - to get the ARNs. - """ - -@dataclass(kw_only=True) -class DescribeServiceRevisionsOutput(_SerdeShape): - """Dataclass for DescribeServiceRevisionsOutput structure.""" - - service_revisions: list[ServiceRevision] | None = ... - """The list of service revisions described.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeServicesInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN)the cluster that hosts - the service to describe. If you do not specify a cluster, the default - cluster is assumed. This parameter is required if the service or - services you are describing were launched in any cluster other than the - default cluster. - """ - services: list[str] | None = ... - """ - A list of services to describe. You may specify up to 10 services to - describe in a single operation. - """ - include: list[str] | None = ... - """ - Determines whether you want to see the resource tags for the service. If - `TAGS` is specified, the tags are included in the response. If this - field is omitted, tags aren't included in the response. - """ - -@dataclass(kw_only=True) -class DescribeServicesOutput(_SerdeShape): - """""" - - services: list[Service] | None = ... - """The list of services described.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTaskDefinitionInput(_SerdeShape): - """""" - - task_definition: str | None = ... - """ - The `family` for the latest `ACTIVE` revision, `family` and `revision` - (`family:revision`) for a specific revision in the family, or full - Amazon Resource Name (ARN) of the task definition to describe. - """ - include: list[str] | None = ... - """ - Determines whether to see the resource tags for the task definition. If - `TAGS` is specified, the tags are included in the response. If this - field is omitted, tags aren't included in the response. - """ - -@dataclass(kw_only=True) -class DescribeTaskDefinitionOutput(_SerdeShape): - """""" - - task_definition: TaskDefinition | None = ... - """The full task definition description.""" - tags: list[Tag] | None = ... - """ - The metadata that's applied to the task definition to help you - categorize and organize them. Each tag consists of a key and an optional - value. You define both. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTaskSetsInput(_SerdeShape): - """Dataclass for DescribeTaskSetsInput structure.""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the service that the task sets exist in. - """ - service: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the service that - the task sets exist in. - """ - task_sets: list[str] | None = ... - """The ID or full Amazon Resource Name (ARN) of task sets to describe.""" - include: list[str] | None = ... - """ - Specifies whether to see the resource tags for the task set. If `TAGS` - is specified, the tags are included in the response. If this field is - omitted, tags aren't included in the response. - """ - -@dataclass(kw_only=True) -class DescribeTaskSetsOutput(_SerdeShape): - """Dataclass for DescribeTaskSetsOutput structure.""" - - task_sets: list[TaskSet] | None = ... - """The list of task sets described.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTasksInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the task or tasks to describe. If you do not specify a cluster, - the default cluster is assumed. - """ - tasks: list[str] | None = ... - """A list of up to 100 task IDs or full ARN entries.""" - include: list[str] | None = ... - """ - Specifies whether you want to see the resource tags for the task. If - `TAGS` is specified, the tags are included in the response. If this - field is omitted, tags aren't included in the response. - """ - -@dataclass(kw_only=True) -class DescribeTasksOutput(_SerdeShape): - """""" - - tasks: list[Task] | None = ... - """The list of tasks.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DesiredStatus(UnknownEnumMixin, StrEnum): - RUNNING = "RUNNING" - PENDING = "PENDING" - STOPPED = "STOPPED" - -@dataclass(kw_only=True) -class Device(_SerdeShape): - """An object representing a container instance host device.""" - - host_path: str - """The path for the device on the host container instance.""" - container_path: str | None = ... - """The path inside the container at which to expose the host device.""" - permissions: list[str] | None = ... - """ - The explicit permissions to provide to the container for the device. By - default, the container has permissions for `read`, `write`, and `mknod` - for the device. - """ - -class DeviceCgroupPermission(UnknownEnumMixin, StrEnum): - READ = "read" - WRITE = "write" - MKNOD = "mknod" - -@dataclass(kw_only=True) -class DisassociateGatewayFromClusterInput(_SerdeShape): - """Dataclass for DisassociateGatewayFromClusterInput structure.""" - - gateway: str | None = ... - """The name or Amazon Resource Name (ARN) of the gateway to disassociate.""" - cluster: str | None = ... - """ - The name or Amazon Resource Name (ARN) of the cluster to disassociate - the gateway from. - """ - -@dataclass(kw_only=True) -class DisassociateGatewayFromClusterOutput(_SerdeShape): - """Dataclass for DisassociateGatewayFromClusterOutput structure.""" - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster.""" - status: str | None = ... - """ - The status of the association. After a successful request, the status is - `DISASSOCIATING` until all routes are removed, after which the - association is deleted. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DiscoverPollEndpointInput(_SerdeShape): - """""" - - container_instance: str | None = ... - """ - The container instance ID or full ARN of the container instance. For - more information about the ARN format, see [Amazon Resource Name - (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) - in the *Amazon ECS Developer Guide*. - """ - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - the container instance belongs to. - """ - -@dataclass(kw_only=True) -class DiscoverPollEndpointOutput(_SerdeShape): - """""" - - endpoint: str | None = ... - """The endpoint for the Amazon ECS agent to poll.""" - telemetry_endpoint: str | None = ... - """The telemetry endpoint for the Amazon ECS agent.""" - service_connect_endpoint: str | None = ... - """ - The endpoint for the Amazon ECS agent to poll for Service Connect - configuration. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DockerVolumeConfiguration(_SerdeShape): - """ - This parameter is specified when you're using Docker volumes. Docker - volumes are only supported when you're using the EC2 launch type. - Windows containers only support the use of the `local` driver. To use - bind mounts, specify a `host` instead. - """ - - scope: str | None = ... - """ - The scope for the Docker volume that determines its lifecycle. Docker - volumes that are scoped to a `task` are automatically provisioned when - the task starts and destroyed when the task stops. Docker volumes that - are scoped as `shared` persist after the task stops. - """ - autoprovision: bool | None = ... - """ - If this value is `true`, the Docker volume is created if it doesn't - already exist. - - Note: - This field is only used if the `scope` is `shared`. - """ - driver: str | None = ... - """ - The Docker volume driver to use. The driver value must match the driver - name provided by Docker because it is used for task placement. If the - driver was installed using the Docker plugin CLI, use `docker plugin ls` - to retrieve the driver name from your container instance. If the driver - was installed using another method, use Docker plugin discovery to - retrieve the driver name. This parameter maps to `Driver` in the docker - container create command and the `xxdriver` option to docker volume - create. - """ - driver_opts: dict[str, str] | None = ... - """ - A map of Docker driver-specific options passed through. This parameter - maps to `DriverOpts` in the docker create-volume command and the `xxopt` - option to docker volume create. - """ - labels: dict[str, str] | None = ... - """ - Custom metadata to add to your Docker volume. This parameter maps to - `Labels` in the docker container create command and the `xxlabel` option - to docker volume create. - """ - -class EBSResourceType(UnknownEnumMixin, StrEnum): - VOLUME = "volume" - -@dataclass(kw_only=True) -class EBSTagSpecification(_SerdeShape): - """The tag specifications of an Amazon EBS volume.""" - - resource_type: str - """The type of volume resource.""" - tags: list[Tag] | None = ... - """ - The tags applied to this Amazon EBS volume. `AmazonECSCreated` and - `AmazonECSManaged` are reserved tags that can't be used. - """ - propagate_tags: str | None = ... - """ - Determines whether to propagate the tags from the task definition to the - Amazon EBS volume. Tags can only propagate to a `SERVICE` specified in - `ServiceVolumeConfiguration`. If no value is specified, the tags aren't - propagated. - """ - -@dataclass(kw_only=True) -class ECSExpressGatewayService(_SerdeShape): - """ - Represents an Express service, which provides a simplified way to deploy - containerized web applications on Amazon ECS with managed Amazon Web - Services infrastructure. An Express service automatically provisions and - manages Application Load Balancers, target groups, security groups, and - auto-scaling policies. - - Express services use a service revision architecture where each service - can have multiple active configurations, enabling blue-green deployments - and gradual rollouts. The service maintains a list of active - configurations and manages the lifecycle of the underlying Amazon Web - Services resources. - """ - - cluster: str | None = ... - """ - The short name or full ARN of the cluster that hosts the Express - service. - """ - service_name: str | None = ... - """The name of the Express service.""" - service_arn: str | None = ... - """The ARN that identifies the Express service.""" - infrastructure_role_arn: str | None = ... - """ - The ARN of the infrastructure role that manages Amazon Web Services - resources for the Express service. - """ - status: ExpressGatewayServiceStatus | None = ... - """The current status of the Express service.""" - current_deployment: str | None = ... - """The current deployment configuration for the Express service.""" - active_configurations: list[ExpressGatewayServiceConfiguration] | None = ... - """The list of active service configurations for the Express service.""" - tags: list[Tag] | None = ... - """The metadata applied to the Express service.""" - created_at: datetime | None = ... - """The Unix timestamp for when the Express service was created.""" - updated_at: datetime | None = ... - """The Unix timestamp for when the Express service was last updated.""" - -@dataclass(kw_only=True) -class ECSManagedResources(_SerdeShape): - """ - Represents the Amazon Web Services resources managed by Amazon ECS for - an Express service, including ingress paths, auto-scaling policies, - metric alarms, and security groups. - """ - - ingress_paths: list[ManagedIngressPath] | None = ... - """The ingress paths and endpoints for the Express service.""" - auto_scaling: ManagedAutoScaling | None = ... - """The auto-scaling configuration and policies for the Express service.""" - metric_alarms: list[ManagedMetricAlarm] | None = ... - """The CloudWatch metric alarms associated with the Express service.""" - service_security_groups: list[ManagedSecurityGroup] | None = ... - """The security groups managed by the Express service.""" - log_groups: list[ManagedLogGroup] | None = ... - """The log groups managed by the Express service.""" - gateway_connections: list[GatewayConnection] | None = ... - """ - The gateway-managed connections for the service revision, including the - gateway routes and infrastructure that a gateway created for the - service's connector. - """ - -@dataclass(kw_only=True) -class EFSAuthorizationConfig(_SerdeShape): - """The authorization configuration details for the Amazon EFS file system.""" - - access_point_id: str | None = ... - """ - The Amazon EFS access point ID to use. If an access point is specified, - the root directory value specified in the `EFSVolumeConfiguration` must - either be omitted or set to `/` which will enforce the path set on the - EFS access point. If an access point is used, transit encryption must be - on in the `EFSVolumeConfiguration`. For more information, see [Working - with Amazon EFS access - points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) - in the *Amazon Elastic File System User Guide*. - """ - iam: str | None = ... - """ - Determines whether to use the Amazon ECS task role defined in a task - definition when mounting the Amazon EFS file system. If it is turned on, - transit encryption must be turned on in the `EFSVolumeConfiguration`. If - this parameter is omitted, the default value of `DISABLED` is used. For - more information, see [Using Amazon EFS access - points](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html#efs-volume-accesspoints) - in the *Amazon Elastic Container Service Developer Guide*. - """ - -class EFSAuthorizationConfigIAM(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class EFSTransitEncryption(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class EFSVolumeConfiguration(_SerdeShape): - """ - This parameter is specified when you're using an Amazon Elastic File - System file system for task storage. For more information, see [Amazon - EFS - volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - file_system_id: str - """The Amazon EFS file system ID to use.""" - root_directory: str | None = ... - """ - The directory within the Amazon EFS file system to mount as the root - directory inside the host. If this parameter is omitted, the root of the - Amazon EFS volume will be used. Specifying `/` will have the same effect - as omitting this parameter. - - Warning: - If an EFS access point is specified in the `authorizationConfig`, the - root directory parameter must either be omitted or set to `/` which will - enforce the path set on the EFS access point. - """ - transit_encryption: str | None = ... - """ - Determines whether to use encryption for Amazon EFS data in transit - between the Amazon ECS host and the Amazon EFS server. Transit - encryption must be turned on if Amazon EFS IAM authorization is used. If - this parameter is omitted, the default value of `DISABLED` is used. For - more information, see [Encrypting data in - transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) - in the *Amazon Elastic File System User Guide*. - """ - transit_encryption_port: int | None = ... - """ - The port to use when sending encrypted data between the Amazon ECS host - and the Amazon EFS server. If you do not specify a transit encryption - port, it will use the port selection strategy that the Amazon EFS mount - helper uses. For more information, see [EFS mount - helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) - in the *Amazon Elastic File System User Guide*. - """ - authorization_config: EFSAuthorizationConfig | None = ... - """The authorization configuration details for the Amazon EFS file system.""" - -@dataclass(kw_only=True) -class ElbGatewayResources(_SerdeShape): - """ - An Application Load Balancer and its associated resources that a gateway - manages. - """ - - load_balancer_arn: str | None = ... - """The Amazon Resource Name (ARN) of the load balancer.""" - listener_arn: str | None = ... - """The Amazon Resource Name (ARN) of the listener on the load balancer.""" - security_group: str | None = ... - """The ID of the security group attached to the load balancer.""" - gateway_route_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the gateway routes that use this - load balancer for ingress. - """ - -@dataclass(kw_only=True) -class EnvironmentFile(_SerdeShape): - """ - A list of files containing the environment variables to pass to a - container. You can specify up to ten environment files. The file must - have a `.env` file extension. Each line in an environment file should - contain an environment variable in `VARIABLE=VALUE` format. Lines - beginning with `#` are treated as comments and are ignored. - - If there are environment variables specified using the `environment` - parameter in a container definition, they take precedence over the - variables contained within an environment file. If multiple environment - files are specified that contain the same variable, they're processed - from the top down. We recommend that you use unique variable names. For - more information, see [Use a file to pass environment variables to a - container](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/use-environment-file.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Environment variable files are objects in Amazon S3 and all Amazon S3 - security considerations apply. - - You must use the following platforms for the Fargate launch type: - - - Linux platform version `1.4.0` or later. - - Consider the following when using the Fargate launch type: - - - The file is handled like a native Docker env-file. - - - There is no support for shell escape handling. - - - The container entry point interperts the `VARIABLE` values. - """ - - value: str - """ - The Amazon Resource Name (ARN) of the Amazon S3 object containing the - environment variable file. - """ - type: str - """ - The file type to use. Environment files are objects in Amazon S3. The - only supported value is `s3`. - """ - -class EnvironmentFileType(UnknownEnumMixin, StrEnum): - S3 = "s3" - -@dataclass(kw_only=True) -class EphemeralStorage(_SerdeShape): - """ - The amount of ephemeral storage to allocate for the task. This parameter - is used to expand the total amount of ephemeral storage available, - beyond the default amount, for tasks hosted on Fargate. For more - information, see [Using data volumes in - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) - in the *Amazon ECS Developer Guide;*. - - Note: - For tasks using the Fargate launch type, the task requires the following - platforms: - - - Linux platform version `1.4.0` or later. - """ - - size_in_gi_b: int = ... - """ - The total amount, in GiB, of ephemeral storage to set for the task. The - minimum supported value is `21` GiB and the maximum supported value is - `200` GiB. - """ - -@dataclass(kw_only=True) -class ExecuteCommandConfiguration(_SerdeShape): - """The details of the execute command configuration.""" - - kms_key_id: str | None = ... - """ - Specify an Key Management Service key ID to encrypt the data between the - local client and the container. - """ - logging: str | None = ... - """ - The log setting to use for redirecting logs for your execute command - results. The following log settings are available. - - - `NONE`: The execute command session is not logged. - - - `DEFAULT`: The `awslogs` configuration in the task definition is used. - If no logging parameter is specified, it defaults to this value. If no - `awslogs` log driver is configured in the task definition, the output - won't be logged. - - - `OVERRIDE`: Specify the logging details as a part of - `logConfiguration`. If the `OVERRIDE` logging option is specified, the - `logConfiguration` is required. - """ - log_configuration: ExecuteCommandLogConfiguration | None = ... - """ - The log configuration for the results of the execute command actions. - The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When - `logging=OVERRIDE` is specified, a `logConfiguration` must be provided. - """ - -@dataclass(kw_only=True) -class ExecuteCommandInput(_SerdeShape): - """Dataclass for ExecuteCommandInput structure.""" - - cluster: str | None = ... - """ - The Amazon Resource Name (ARN) or short name of the cluster the task is - running in. If you do not specify a cluster, the default cluster is - assumed. - """ - container: str | None = ... - """ - The name of the container to execute the command on. A container name - only needs to be specified for tasks containing multiple containers. - """ - command: str | None = ... - """The command to run on the container.""" - interactive: bool = ... - """Use this flag to run your command in interactive mode.""" - task: str | None = ... - """ - The Amazon Resource Name (ARN) or ID of the task the container is part - of. - """ - -@dataclass(kw_only=True) -class ExecuteCommandLogConfiguration(_SerdeShape): - """ - The log configuration for the results of the execute command actions. - The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. - """ - - cloud_watch_log_group_name: str | None = ... - """ - The name of the CloudWatch log group to send logs to. - - Note: - The CloudWatch log group must already be created. - """ - cloud_watch_encryption_enabled: bool = ... - """ - Determines whether to use encryption on the CloudWatch logs. If not - specified, encryption will be off. - """ - s3_bucket_name: str | None = ... - """ - The name of the S3 bucket to send logs to. - - Note: - The S3 bucket must already be created. - """ - s3_encryption_enabled: bool = ... - """ - Determines whether to use encryption on the S3 logs. If not specified, - encryption is not used. - """ - s3_key_prefix: str | None = ... - """An optional folder in the S3 bucket to place logs in.""" - -class ExecuteCommandLogging(UnknownEnumMixin, StrEnum): - NONE = "NONE" - DEFAULT = "DEFAULT" - OVERRIDE = "OVERRIDE" - -@dataclass(kw_only=True) -class ExecuteCommandOutput(_SerdeShape): - """Dataclass for ExecuteCommandOutput structure.""" - - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster.""" - container_arn: str | None = ... - """The Amazon Resource Name (ARN) of the container.""" - container_name: str | None = ... - """The name of the container.""" - interactive: bool = ... - """ - Determines whether the execute command session is running in interactive - mode. Amazon ECS only supports initiating interactive sessions, so you - must specify `true` for this value. - """ - session: Session | None = ... - """ - The details of the SSM session that was created for this instance of - execute-command. - """ - task_arn: str | None = ... - """The Amazon Resource Name (ARN) of the task.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ExpressCpuArchitecture(UnknownEnumMixin, StrEnum): - X86_64 = "X86_64" - ARM64 = "ARM64" - -@dataclass(kw_only=True) -class ExpressGatewayContainer(_SerdeShape): - """ - Defines the configuration for the primary container in an Express - service. This container receives traffic from the Application Load - Balancer and runs your application code. - - The container configuration includes the container image, port mapping, - logging settings, environment variables, and secrets. The container - image is the only required parameter, with sensible defaults provided - for other settings. - """ - - image: str - """ - The image used to start a container. This string is passed directly to - the Docker daemon. Images in the Docker Hub registry are available by - default. Other repositories are specified with either - `repository-url/image:tag` or `repository-url/image@digest`. - - For Express services, the image typically contains a web application - that listens on the specified container port. The image can be stored in - Amazon ECR, Docker Hub, or any other container registry accessible to - your execution role. - """ - container_port: int | None = ... - """ - The port number on the container that receives traffic from the load - balancer. Default is 80. - """ - aws_logs_configuration: ExpressGatewayServiceAwsLogsConfiguration | None = ... - """The log configuration for the container.""" - repository_credentials: ExpressGatewayRepositoryCredentials | None = ... - """ - The configuration for repository credentials for private registry - authentication. - """ - command: list[str] | None = ... - """The command that is passed to the container.""" - environment: list[KeyValuePair] | None = ... - """The environment variables to pass to the container.""" - secrets: list[Secret] | None = ... - """The secrets to pass to the container.""" - -@dataclass(kw_only=True) -class ExpressGatewayRepositoryCredentials(_SerdeShape): - """ - The repository credentials for private registry authentication to pass - to the container. - """ - - credentials_parameter: str | None = ... - """ - The Amazon Resource Name (ARN) of the secret containing the private - repository credentials. - """ - -@dataclass(kw_only=True) -class ExpressGatewayScalingTarget(_SerdeShape): - """ - Defines the auto-scaling configuration for an Express service. This - determines how the service automatically adjusts the number of running - tasks based on demand metrics such as CPU utilization, memory - utilization, or request count per target. - - Auto-scaling helps ensure your application can handle varying levels of - traffic while optimizing costs by scaling down during low-demand - periods. You can specify the minimum and maximum number of tasks, the - scaling metric, and the target value for that metric. - """ - - min_task_count: int | None = ... - """The minimum number of tasks to run in the Express service.""" - max_task_count: int | None = ... - """The maximum number of tasks to run in the Express service.""" - auto_scaling_metric: str | None = ... - """ - The metric used for auto-scaling decisions. The default metric used for - an Express service is `CPUUtilization`. - """ - auto_scaling_target_value: int | None = ... - """ - The target value for the auto-scaling metric. The default value for an - Express service is 60. - """ - -@dataclass(kw_only=True) -class ExpressGatewayServiceAwsLogsConfiguration(_SerdeShape): - """ - Specifies the Amazon CloudWatch Logs configuration for the Express - service container. - """ - - log_group: str - """The name of the CloudWatch Logs log group to send container logs to.""" - log_stream_prefix: str - """ - The prefix for the CloudWatch Logs log stream names. The default for an - Express service is `ecs`. - """ - -@dataclass(kw_only=True) -class ExpressGatewayServiceConfiguration(_SerdeShape): - """ - Represents a specific configuration revision of an Express service, - containing all the settings and parameters for that revision. - """ - - service_revision_arn: str | None = ... - """The ARN of the service revision.""" - execution_role_arn: str | None = ... - """The ARN of the task execution role for the service revision.""" - task_role_arn: str | None = ... - """The ARN of the task role for the service revision.""" - task_definition_arn: str | None = ... - """ - The ARN of the task definition used by this service revision. This is - present for all Express services and reflects the task definition in - use, whether managed by Amazon ECS or provided by the customer. - """ - cpu: str | None = ... - """The CPU allocation for tasks in this service revision.""" - memory: str | None = ... - """The memory allocation for tasks in this service revision.""" - cpu_architecture: str | None = ... - """ - The CPU architecture that the task runs on. - - Valid values: - - - `X86_64` - The x86 64-bit architecture. - - - `ARM64` - The 64-bit ARM architecture. - - Different service revisions can report different architectures. This - value isn't returned when the service uses a customer-provided task - definition that doesn't specify a CPU architecture. - """ - network_configuration: ExpressGatewayServiceNetworkConfiguration | None = ... - """The network configuration for tasks in this service revision.""" - health_check_path: str | None = ... - """The health check path for this service revision.""" - primary_container: ExpressGatewayContainer | None = ... - """The primary container configuration for this service revision.""" - scaling_target: ExpressGatewayScalingTarget | None = ... - """The auto-scaling configuration for this service revision.""" - ingress_paths: list[IngressPathSummary] | None = ... - """The entry point into this service revision.""" - created_at: datetime | None = ... - """The Unix timestamp for when this service revision was created.""" - -class ExpressGatewayServiceInclude(UnknownEnumMixin, StrEnum): - TAGS = "TAGS" - -@dataclass(kw_only=True) -class ExpressGatewayServiceNetworkConfiguration(_SerdeShape): - """ - The network configuration for an Express service. By default, an Express - service utilizes subnets and security groups associated with the default - VPC. - """ - - security_groups: list[str] | None = ... - """The IDs of the security groups associated with the Express service.""" - subnets: list[str] | None = ... - """The IDs of the subnets associated with the Express service.""" - -class ExpressGatewayServiceScalingMetric(UnknownEnumMixin, StrEnum): - AVERAGE_CPU_UTILIZATION = "AVERAGE_CPU" - AVERAGE_MEMORY_UTILIZATION = "AVERAGE_MEMORY" - REQUEST_COUNT_PER_TARGET = "REQUEST_COUNT_PER_TARGET" - -@dataclass(kw_only=True) -class ExpressGatewayServiceStatus(_SerdeShape): - """ - An object that defines the status of Express service creation and - information about the status of the service. - """ - - status_code: str | None = ... - """The status of the Express service.""" - status_reason: str | None = ... - """Information about why the Express service is in the current status.""" - -class ExpressGatewayServiceStatusCode(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - DRAINING = "DRAINING" - INACTIVE = "INACTIVE" - -@dataclass(kw_only=True) -class Failure(_SerdeShape): - """ - A failed resource. For a list of common causes, see [API failure - reasons](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the failed resource.""" - reason: str | None = ... - """The reason for the failure.""" - detail: str | None = ... - """The details of the failure.""" - -@dataclass(kw_only=True) -class FirelensConfiguration(_SerdeShape): - """ - The FireLens configuration for the container. This is used to specify - and configure a log router for container logs. For more information, see - [Custom log - routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - type: str - """The log router to use. The valid values are `fluentd` or `fluentbit`.""" - options: dict[str, str] | None = ... - """ - The options to use when configuring the log router. This field is - optional and can be used to specify a custom configuration file or to - add additional metadata, such as the task, task definition, cluster, and - container instance details to the log event. If specified, the syntax to - use is - `"options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}`. - For more information, see [Creating a task definition that uses a - FireLens - configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef) - in the *Amazon Elastic Container Service Developer Guide*. - - Note: - Tasks hosted on Fargate only support the `file` configuration file type. - """ - -class FirelensConfigurationType(UnknownEnumMixin, StrEnum): - FLUENTD = "fluentd" - FLUENTBIT = "fluentbit" - -@dataclass(kw_only=True) -class FSxWindowsFileServerAuthorizationConfig(_SerdeShape): - """ - The authorization configuration details for Amazon FSx for Windows File - Server file system. See - [FSxWindowsFileServerVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html) - in the *Amazon ECS API Reference*. - - For more information and the input format, see [Amazon FSx for Windows - File Server - Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - credentials_parameter: str - """ - The authorization credential option to use. The authorization credential - options can be provided using either the Amazon Resource Name (ARN) of - an Secrets Manager secret or SSM Parameter Store parameter. The ARN - refers to the stored credentials. - """ - domain: str - """ - A fully qualified domain name hosted by an [Directory - Service](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html) - Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2. - """ - -@dataclass(kw_only=True) -class FSxWindowsFileServerVolumeConfiguration(_SerdeShape): - """ - This parameter is specified when you're using [Amazon FSx for Windows - File - Server](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html) - file system for task storage. - - For more information and the input format, see [Amazon FSx for Windows - File Server - volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - file_system_id: str - """The Amazon FSx for Windows File Server file system ID to use.""" - root_directory: str - """ - The directory within the Amazon FSx for Windows File Server file system - to mount as the root directory inside the host. - """ - authorization_config: FSxWindowsFileServerAuthorizationConfig - """ - The authorization configuration details for the Amazon FSx for Windows - File Server file system. - """ - -@dataclass(kw_only=True) -class Gateway(_SerdeShape): - """ - The details of a gateway, including its configuration, status, and the - infrastructure settings for its type. - """ - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - name: str | None = ... - """The name of the gateway.""" - status: str | None = ... - """The status of the gateway.""" - status_reason: str | None = ... - """ - A human-readable explanation of the current status. This value is - populated when the gateway is in a failure state, such as - `UPDATE_FAILED`. - """ - failures: list[GatewayResourceFailure] | None = ... - """ - The per-resource failure details for asynchronous gateway processes, - such as an `UpdateGateway` operation that couldn't update every load - balancer. - """ - infrastructure_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that the gateway uses to - manage infrastructure on your behalf. - """ - deletion_protection: bool | None = ... - """Specifies whether deletion protection is enabled for the gateway.""" - configuration: DescribeGatewayConfiguration | None = ... - """The type-specific configuration for the gateway.""" - access_type: str | None = ... - """ - Specifies whether the gateway is publicly accessible (`PUBLIC`) or - private (`PRIVATE`). The gateway derives this value from its scheme when - you create the gateway, and the value is immutable. - """ - propagate_tags: str | None = ... - """ - Specifies whether the gateway propagates its tags to the infrastructure - it manages. - """ - tags: list[Tag] | None = ... - """ - The metadata applied to the gateway. Each tag consists of a key and an - optional value. - """ - created_at: datetime | None = ... - """The Unix timestamp for the time when the gateway was created.""" - updated_at: datetime | None = ... - """The Unix timestamp for the time when the gateway was last updated.""" - -class GatewayAlbDesyncMitigationMode(UnknownEnumMixin, StrEnum): - """ - The desync mitigation mode for a gateway's load balancers, which - determines how the load balancers handle requests that might pose a - security risk. - """ - - MONITOR = "monitor" - """ - The load balancers forward requests that are considered ambiguous but - allow them to be monitored. - """ - DEFENSIVE = "defensive" - """ - The load balancers allow through most requests but drop those that pose - a significant security risk. - """ - STRICTEST = "strictest" - """ - The load balancers allow through only requests that comply with - HTTP/1.1. - """ - -class GatewayAlbProtocol(UnknownEnumMixin, StrEnum): - """The protocol for a gateway's load balancer listener.""" - - HTTP = "HTTP" - """The listener uses HTTP.""" - HTTPS = "HTTPS" - """The listener uses HTTPS.""" - -@dataclass(kw_only=True) -class GatewayAlbTestTrafficRules(_SerdeShape): - """ - The rules that route test traffic to services behind a gateway during - progressive deployments. - """ - - header: GatewayTestTrafficHeader | None = ... - """The header-based rule that identifies test traffic.""" - -class GatewayClusterAssociationStatus(UnknownEnumMixin, StrEnum): - """The status of an association between a gateway and a cluster.""" - - ACTIVE = "ACTIVE" - """The association is active.""" - DISASSOCIATING = "DISASSOCIATING" - """ - The association is being removed and remains in this state until all - gateway routes for the cluster are removed. - """ - INACTIVE = "INACTIVE" - -@dataclass(kw_only=True) -class GatewayClusterAssociationSummary(_SerdeShape): - """A summary of an association between a gateway and a cluster.""" - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster.""" - status: str | None = ... - """The status of the association.""" - -@dataclass -class GatewayConfigurationHostSharedAlb(_SerdeShape): - """ - The configuration for a host-based, shared Application Load Balancer - gateway. Each service that uses the gateway is assigned a unique DNS - host name. - """ - - value: HostSharedAlbConfiguration - -@dataclass -class GatewayConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -GatewayConfiguration = Union[ - GatewayConfigurationHostSharedAlb | GatewayConfigurationUnknown -] -""" -The type-specific configuration for a gateway that you provide when you -create it. Exactly one variant is set, and it determines the gateway -type. -""" - -class _GatewayConfigurationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> GatewayConfiguration: ... - -@dataclass(kw_only=True) -class GatewayConnection(_SerdeShape): - """ - A gateway-managed connection for a service revision. A connection - represents the association between the service's gateway connector and - a specific gateway, along with the infrastructure that the gateway - created for it. - """ - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - gateway_route_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway route for the connection.""" - port_name: str | None = ... - """ - The name of the service port that receives gateway-managed ingress - traffic. - """ - service_url: str | None = ... - """The URL that the gateway uses to route ingress traffic to the service.""" - access_type: str | None = ... - """ - The access type of the gateway ingress path. - - Valid values: - - - `PUBLIC` - The ingress path is publicly accessible. - - - `PRIVATE` - The ingress path is only accessible privately. - """ - status: str | None = ... - """The status of the gateway route for the connection.""" - resources: GatewayConnectionResources | None = ... - """The gateway-managed infrastructure resources for the connection.""" - -@dataclass(kw_only=True) -class GatewayConnectionAlbResources(_SerdeShape): - """ - The Application Load Balancer resources that a gateway created and - manages for a connection. - """ - - acm_certificate_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services Certificate - Manager certificate that is attached to the load balancer listener. - """ - load_balancer_arn: str | None = ... - """The Amazon Resource Name (ARN) of the load balancer.""" - load_balancer_security_group_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the security groups that the gateway - attaches to the load balancer. - """ - listener_arn: str | None = ... - """The Amazon Resource Name (ARN) of the listener on the load balancer.""" - listener_rule_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the listener rule that routes - production traffic to the service. - """ - test_listener_rule_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the listener rule that routes test - traffic to the service during progressive deployments. - """ - target_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the target group that receives - production traffic. - """ - alternate_target_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the alternate target group that the - gateway uses during progressive deployments. - """ - -@dataclass -class GatewayConnectionResourcesHostSharedAlb(_SerdeShape): - """ - The Application Load Balancer resources for a host-based, shared ALB - gateway. - """ - - value: list[GatewayConnectionAlbResources] - -@dataclass -class GatewayConnectionResourcesUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -GatewayConnectionResources = Union[ - GatewayConnectionResourcesHostSharedAlb | GatewayConnectionResourcesUnknown -] -""" -The gateway-managed infrastructure resources for a connection, as a -union keyed by gateway type. -""" - -class _GatewayConnectionResourcesDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> GatewayConnectionResources: ... - -@dataclass(kw_only=True) -class GatewayConnector(_SerdeShape): - """ - A gateway connector that attaches an Amazon ECS service to a gateway - ingress path. The connector specifies the service port that receives - gateway-managed ingress traffic, along with the health check and traffic - filters that the gateway applies. A service can have at most one gateway - connector. - """ - - port_name: str - """The name of the service port that the gateway routes ingress traffic to.""" - health_check: GatewayConnectorHealthCheck | None = ... - """ - The health check that the gateway uses to determine whether the targets - for this connector are healthy. - """ - filters: GatewayConnectorFilters | None = ... - """ - The filters that control which gateway ingress paths the connector - applies to. - """ - -@dataclass(kw_only=True) -class GatewayConnectorFilters(_SerdeShape): - """ - The filters that determine which gateway ingress paths a connector - applies to. - """ - - access_types: list[str] | None = ... - """ - The access types of the gateway ingress paths that the connector applies - to. - - The access type can be one of the following values: - - - `PUBLIC` - The ingress path is publicly accessible. - - - `PRIVATE` - The ingress path is only accessible privately. - """ - -@dataclass(kw_only=True) -class GatewayConnectorHealthCheck(_SerdeShape): - """ - The health check configuration that a gateway uses to evaluate the - targets associated with a gateway connector. - """ - - health_check_protocol: str | None = ... - """ - The protocol that the gateway uses to perform health checks. - - Valid values: - - - `HTTP` - Health checks are performed over HTTP. - - - `HTTPS` - Health checks are performed over HTTPS. - """ - health_check_port: int | None = ... - """The port that the gateway uses to perform health checks on the targets.""" - health_check_path: str | None = ... - """The destination path for health check requests.""" - health_check_timeout_seconds: int | None = ... - """ - The amount of time, in seconds, during which no response from a target - means a failed health check. - """ - health_check_interval_seconds: int | None = ... - """ - The approximate amount of time, in seconds, between health checks of an - individual target. - """ - healthy_threshold_count: int | None = ... - """ - The number of consecutive successful health checks that a target must - pass before the gateway considers it healthy. - """ - unhealthy_threshold_count: int | None = ... - """ - The number of consecutive failed health checks that a target must fail - before the gateway considers it unhealthy. - """ - matcher: GatewayConnectorHealthCheckMatcher | None = ... - """ - The HTTP or gRPC codes that indicate a successful health check response - from a target. - """ - -@dataclass(kw_only=True) -class GatewayConnectorHealthCheckMatcher(_SerdeShape): - """ - The codes that indicate a successful health check response from a - target. - """ - - http_code: str | None = ... - """The HTTP codes that indicate a successful response from a target.""" - grpc_code: str | None = ... - """The gRPC codes that indicate a successful response from a target.""" - -class GatewayConnectorHealthCheckProtocol(UnknownEnumMixin, StrEnum): - """ - The protocol that a gateway uses to perform health checks on connector - targets. - """ - - HTTP = "HTTP" - """The gateway performs health checks over HTTP.""" - HTTPS = "HTTPS" - """The gateway performs health checks over HTTPS.""" - -@dataclass(kw_only=True) -class GatewayElbAccessLogConfiguration(_SerdeShape): - """ - The access log configuration for the load balancers that a gateway - manages. - """ - - destination: GatewayElbAccessLogDestination | None = ... - """The destination where access logs are delivered.""" - -@dataclass -class GatewayElbAccessLogDestinationS3(_SerdeShape): - """The Amazon S3 destination for access logs.""" - - value: GatewayElbAccessLogS3Destination - -@dataclass -class GatewayElbAccessLogDestinationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -GatewayElbAccessLogDestination = Union[ - GatewayElbAccessLogDestinationS3 | GatewayElbAccessLogDestinationUnknown -] -""" -The destination where the access logs for a gateway's load balancers -are delivered. -""" - -class _GatewayElbAccessLogDestinationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> GatewayElbAccessLogDestination: ... - -@dataclass(kw_only=True) -class GatewayElbAccessLogS3Destination(_SerdeShape): - """ - The Amazon S3 destination for the access logs of a gateway's load - balancers. - """ - - bucket: str - """The name of the Amazon S3 bucket where access logs are delivered.""" - prefix: str | None = ... - """The object key prefix for the access logs in the Amazon S3 bucket.""" - -class GatewayElbIpAddressType(UnknownEnumMixin, StrEnum): - """The IP address type for the load balancers that a gateway manages.""" - - IPV4 = "ipv4" - """The load balancers use IPv4 addresses only.""" - DUALSTACK = "dualstack" - """The load balancers use both IPv4 and IPv6 addresses.""" - DUALSTACK_WITHOUT_PUBLIC_IPV4 = "dualstack-without-public-ipv4" - """ - The load balancers use IPv6 addresses and private IPv4 addresses, - without public IPv4 addresses. - """ - -@dataclass(kw_only=True) -class GatewayElbNetworkConfiguration(_SerdeShape): - """The network configuration for the load balancers that a gateway manages.""" - - inbound_security_group: str | None = ... - """ - The ID of a security group that you provide to control inbound traffic - to the load balancers that the gateway manages. When you specify a - security group, the gateway doesn't create inbound rules on the - security group it manages. - """ - subnets: list[str] | None = ... - """ - The subnets for the load balancers that the gateway manages. The default - is the subnets in the default VPC. - """ - ip_address_type: str | None = ... - """ - The IP address type for the load balancers that the gateway manages. The - default is `dualstack`. - """ - -class GatewayElbScheme(UnknownEnumMixin, StrEnum): - """ - Specifies whether the load balancers that a gateway manages are - internet-facing or internal. - """ - - INTERNET_FACING = "internet-facing" - """The load balancers are internet-facing.""" - INTERNAL = "internal" - """The load balancers are internal.""" - -@dataclass -class GatewayInfrastructureResourcesHostSharedAlb(_SerdeShape): - """ - The Application Load Balancer resource groups for a host-based, shared - ALB gateway. - """ - - value: list[ElbGatewayResources] - -@dataclass -class GatewayInfrastructureResourcesUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -GatewayInfrastructureResources = Union[ - GatewayInfrastructureResourcesHostSharedAlb | GatewayInfrastructureResourcesUnknown -] -""" -The gateway-managed infrastructure in a `DescribeGatewayResources` -response, as a union keyed by gateway type. -""" - -class _GatewayInfrastructureResourcesDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> GatewayInfrastructureResources: ... - -@dataclass(kw_only=True) -class GatewayNotFoundException(ServiceError, _SerdeShape): - """ - The specified gateway wasn't found. Check that the gateway name or ARN - is correct and that the gateway exists in your account and Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GatewayOperationError(_SerdeShape): - """A single failed operation against a resource that a gateway manages.""" - - operation: str | None = ... - """ - The IAM-style action identifier of the operation that failed, such as - `elasticloadbalancing:ModifyLoadBalancerAttributes`. - """ - code: str | None = ... - """ - The error code returned by the failed operation, passed through from the - downstream service, such as `AccessDenied`. - """ - message: str | None = ... - """The detailed error message.""" - -@dataclass(kw_only=True) -class GatewayResourceFailure(_SerdeShape): - """ - The failures for a single resource that was touched by an asynchronous - gateway process. - """ - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource that failed to update, - such as a load balancer ARN. - """ - errors: list[GatewayOperationError] | None = ... - """The errors that were encountered while operating on the resource.""" - -@dataclass(kw_only=True) -class GatewayResources(_SerdeShape): - """ - `DescribeGatewayResources` returns the gateway-managed infrastructure, - grouped by gateway type. - """ - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - resources: GatewayInfrastructureResources | None = ... - """The infrastructure resources that the gateway manages.""" - -@dataclass(kw_only=True) -class GatewayRoute(_SerdeShape): - """ - A gateway route, which represents the association between a service and - a gateway and the service-specific infrastructure that the gateway - manages for the service's revisions. - """ - - gateway_route_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway route.""" - service_arn: str | None = ... - """The Amazon Resource Name (ARN) of the service associated with the route.""" - service_container_port_name: str | None = ... - """ - The task definition container port name that the route targets on the - service. - """ - status: str | None = ... - """The status of the gateway route.""" - service_url: str | None = ... - """The URL for accessing the service, including the `https://` scheme.""" - resources: GatewayRouteResources | None = ... - """ - The service-specific infrastructure that the gateway manages for the - route, keyed by gateway type. - """ - -@dataclass(kw_only=True) -class GatewayRouteAlbResources(_SerdeShape): - """ - The Application Load Balancer resources that a gateway manages for a - route. - """ - - acm_certificate_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services Certificate - Manager certificate. - """ - load_balancer_arn: str | None = ... - """The Amazon Resource Name (ARN) of the load balancer.""" - listener_arn: str | None = ... - """The Amazon Resource Name (ARN) of the listener.""" - listener_rule_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the listener rule for production - traffic. - """ - test_listener_rule_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the listener rules for test traffic. - There is one rule except when a test header configuration is being - changed to another. - """ - load_balancer_security_groups: ( - list[GatewayRouteLoadBalancerSecurityGroup] | None - ) = ... - """The security groups attached to the load balancer.""" - service_security_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the service security group in which - the gateway manages the ingress rule for this route. - """ - -@dataclass(kw_only=True) -class GatewayRouteLoadBalancerSecurityGroup(_SerdeShape): - """A security group attached to the load balancer for a gateway route.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the security group.""" - rule_arns: list[str] | None = ... - """The Amazon Resource Names (ARNs) of the security group rules.""" - -@dataclass -class GatewayRouteResourcesHostSharedAlb(_SerdeShape): - """ - The Application Load Balancer resources for a host-based, shared ALB - gateway. - """ - - value: list[GatewayRouteAlbResources] - -@dataclass -class GatewayRouteResourcesUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -GatewayRouteResources = Union[ - GatewayRouteResourcesHostSharedAlb | GatewayRouteResourcesUnknown -] -""" -The service-specific infrastructure that a gateway manages for a route, -keyed by gateway type. -""" - -class _GatewayRouteResourcesDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> GatewayRouteResources: ... - -class GatewayRouteStatus(UnknownEnumMixin, StrEnum): - """The status of a gateway route.""" - - ACTIVE = "ACTIVE" - """The gateway route is active and routing traffic.""" - CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" - """The gateway route is being created.""" - CREATE_FAILED = "CREATE_FAILED" - """The gateway route couldn't be created.""" - UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" - """The gateway route is being updated.""" - UPDATE_FAILED = "UPDATE_FAILED" - """The gateway route couldn't be updated.""" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - """The gateway route is being deleted.""" - DELETE_FAILED = "DELETE_FAILED" - """The gateway route couldn't be deleted.""" - -@dataclass(kw_only=True) -class GatewayRouteSummary(_SerdeShape): - """ - A summary of a gateway route that is returned by the `ListGatewayRoutes` - operation. - """ - - gateway_route_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway route.""" - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster.""" - service_arn: str | None = ... - """The Amazon Resource Name (ARN) of the service.""" - service_container_port_name: str | None = ... - """ - The task definition container port name that the route targets on the - service. - """ - status: str | None = ... - """The status of the gateway route.""" - -class GatewayStatus(UnknownEnumMixin, StrEnum): - """The status of a gateway.""" - - ACTIVE = "ACTIVE" - """The gateway is active and available for use.""" - UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" - """An update to the gateway is in progress.""" - UPDATE_COMPLETE = "UPDATE_COMPLETE" - """The update to the gateway completed successfully.""" - UPDATE_FAILED = "UPDATE_FAILED" - """The update to the gateway failed. See `statusReason` for details.""" - DELETED = "DELETED" - """The gateway is deleted.""" - -@dataclass(kw_only=True) -class GatewaySummary(_SerdeShape): - """A summary of a gateway that is returned by the `ListGateways` operation.""" - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - name: str | None = ... - """The name of the gateway.""" - status: str | None = ... - """The status of the gateway.""" - created_at: datetime | None = ... - """The Unix timestamp for the time when the gateway was created.""" - -@dataclass(kw_only=True) -class GatewayTestTrafficHeader(_SerdeShape): - """ - A header-based rule that identifies test traffic for progressive - deployments. - """ - - name: str - """The name of the header to match for test traffic routing.""" - values: list[str] - """The header values to match for test traffic routing.""" - -@dataclass(kw_only=True) -class GetTaskProtectionInput(_SerdeShape): - """Dataclass for GetTaskProtectionInput structure.""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the service that the task sets exist in. - """ - tasks: list[str] | None = ... - """A list of up to 100 task IDs or full ARN entries.""" - -@dataclass(kw_only=True) -class GetTaskProtectionOutput(_SerdeShape): - """Dataclass for GetTaskProtectionOutput structure.""" - - protected_tasks: list[ProtectedTask] | None = ... - """ - A list of tasks with the following information. - - - `taskArn`: The task ARN. - - - `protectionEnabled`: The protection status of the task. If scale-in - protection is turned on for a task, the value is `true`. Otherwise, it - is `false`. - - - `expirationDate`: The epoch time when protection for the task will - expire. - """ - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GpuDevice(_SerdeShape): - """ - The state of a GPU on a container instance, including its sharing mode - and the memory that's available for new containers. - """ - - gpu_id: str | None = ... - """ - The ID of the GPU. This ID matches the GPU IDs in the `gpuIds` of the - containers that Amazon ECS assigned to the GPU. - """ - sharing_mode: str | None = ... - """ - How the GPU is shared between containers. - - Valid values: - - - `IDLE` - No containers are assigned to the GPU, and all of its memory - is available. - - - `NVIDIA_MPS` - One or more containers share the GPU by using NVIDIA - Multi-Process Service (MPS). - - - `DEDICATED` - One container has exclusive use of the GPU. - """ - total_memory_in_mi_b: int | None = ... - """ - The total amount of GPU memory, in MiB, that the Amazon ECS container - agent reported for the GPU. This is the memory that's available to - containers, and it can be less than the nominal memory of the GPU. - """ - remaining_memory_in_mi_b: int | None = ... - """ - The amount of GPU memory, in MiB, that's available to allocate to new - containers that use the `nvidiaMps` sharing strategy. Amazon ECS - calculates this value from the memory that it allocated to containers on - the GPU, not from the memory that the containers use. - """ - container_count: int | None = ... - """ - The number of containers that Amazon ECS assigned to the GPU. This value - is `0` when the sharing mode is `IDLE` and `1` when the sharing mode is - `DEDICATED`. Amazon ECS counts the containers that it assigned to the - GPU, not the processes that are running on it. - """ - -class GpuSharingMode(UnknownEnumMixin, StrEnum): - """ - Describes how a GPU on a container instance is shared between - containers. - """ - - IDLE = "IDLE" - """ - No containers are assigned to the GPU, and all of its memory is - available. - """ - NVIDIA_MPS = "NVIDIA_MPS" - """ - One or more containers share the GPU by using NVIDIA Multi-Process - Service (MPS). While the GPU is in this mode, Amazon ECS assigns it only - to containers that use the `nvidiaMps` sharing strategy. - """ - DEDICATED = "DEDICATED" - """ - One container has exclusive use of the GPU. Amazon ECS assigns GPUs this - way to containers that specify `value` instead of `sharingStrategy` for - the `GPU` resource type. - """ - -@dataclass(kw_only=True) -class HealthCheck(_SerdeShape): - """ - An object representing a container health check. Health check parameters - that are specified in a container definition override any Docker health - checks that exist in the container image (such as those specified in a - parent image or from the image's Dockerfile). This configuration maps - to the `HEALTHCHECK` parameter of docker run. - - Note: - The Amazon ECS container agent only monitors and reports on the health - checks specified in the task definition. Amazon ECS does not monitor - Docker health checks that are embedded in a container image and not - specified in the container definition. Health check parameters that are - specified in a container definition override any Docker health checks - that exist in the container image. - - You can view the health status of both individual containers and a task - with the DescribeTasks API operation or when viewing the task details in - the console. - - The health check is designed to make sure that your containers survive - agent restarts, upgrades, or temporary unavailability. - - Amazon ECS performs health checks on containers with the default that - launched the container instance or the task. - - The following describes the possible `healthStatus` values for a - container: - - - `HEALTHY`-The container health check has passed successfully. - - - `UNHEALTHY`-The container health check has failed. - - - `UNKNOWN`-The container health check is being evaluated, there's no - container health check defined, or Amazon ECS doesn't have the health - status of the container. - - The following describes the possible `healthStatus` values based on the - container health checker status of essential containers in the task with - the following priority order (high to low): - - - `UNHEALTHY`-One or more essential containers have failed their health - check. - - - `UNKNOWN`-Any essential container running within the task is in an - `UNKNOWN` state and no other essential containers have an `UNHEALTHY` - state. - - - `HEALTHY`-All essential containers within the task have passed their - health checks. - - Consider the following task health example with 2 containers. - - - If Container1 is `UNHEALTHY` and Container2 is `UNKNOWN`, the task - health is `UNHEALTHY`. - - - If Container1 is `UNHEALTHY` and Container2 is `HEALTHY`, the task - health is `UNHEALTHY`. - - - If Container1 is `HEALTHY` and Container2 is `UNKNOWN`, the task - health is `UNKNOWN`. - - - If Container1 is `HEALTHY` and Container2 is `HEALTHY`, the task - health is `HEALTHY`. - - Consider the following task health example with 3 containers. - - - If Container1 is `UNHEALTHY` and Container2 is `UNKNOWN`, and - Container3 is `UNKNOWN`, the task health is `UNHEALTHY`. - - - If Container1 is `UNHEALTHY` and Container2 is `UNKNOWN`, and - Container3 is `HEALTHY`, the task health is `UNHEALTHY`. - - - If Container1 is `UNHEALTHY` and Container2 is `HEALTHY`, and - Container3 is `HEALTHY`, the task health is `UNHEALTHY`. - - - If Container1 is `HEALTHY` and Container2 is `UNKNOWN`, and Container3 - is `HEALTHY`, the task health is `UNKNOWN`. - - - If Container1 is `HEALTHY` and Container2 is `UNKNOWN`, and Container3 - is `UNKNOWN`, the task health is `UNKNOWN`. - - - If Container1 is `HEALTHY` and Container2 is `HEALTHY`, and Container3 - is `HEALTHY`, the task health is `HEALTHY`. - - If a task is run manually, and not as part of a service, the task will - continue its lifecycle regardless of its health status. For tasks that - are part of a service, if the task reports as unhealthy then the task - will be stopped and the service scheduler will replace it. - - When a container health check fails for a task that is part of a - service, the following process occurs: - - 1. The task is marked as `UNHEALTHY`. - - 2. The unhealthy task will be stopped, and during the stopping process, - it will go through the following states: - - - `DEACTIVATING` - In this state, Amazon ECS performs additional - steps before stopping the task. For example, for tasks that are - part of services configured to use Elastic Load Balancing target - groups, target groups will be deregistered in this state. - - - `STOPPING` - The task is in the process of being stopped. - - - `DEPROVISIONING` - Resources associated with the task are being - cleaned up. - - - `STOPPED` - The task has been completely stopped. - - 3. After the old task stops, a new task will be launched to ensure - service operation, and the new task will go through the following - lifecycle: - - - `PROVISIONING` - Resources required for the task are being - provisioned. - - - `PENDING` - The task is waiting to be placed on a container - instance. - - - `ACTIVATING` - In this state, Amazon ECS pulls container images, - creates containers, configures task networking, registers load - balancer target groups, and configures service discovery status. - - - `RUNNING` - The task is running and performing its work. - - For more detailed information about task lifecycle states, see [Task - lifecycle](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle-explanation.html) - in the *Amazon Elastic Container Service Developer Guide*. - - The following are notes about container health check support: - - - If the Amazon ECS container agent becomes disconnected from the Amazon - ECS service, this won't cause a container to transition to an - `UNHEALTHY` status. This is by design, to ensure that containers - remain running during agent restarts or temporary unavailability. The - health check status is the \"last heard from\" response from the - Amazon ECS agent, so if the container was considered `HEALTHY` prior - to the disconnect, that status will remain until the agent reconnects - and another health check occurs. There are no assumptions made about - the status of the container health checks. - - - Container health checks require version `1.17.0` or greater of the - Amazon ECS container agent. For more information, see [Updating the - Amazon ECS container - agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html). - - - Container health checks are supported for Fargate tasks if you're - using platform version `1.1.0` or greater. For more information, see - [Fargate platform - versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). - - - Container health checks aren't supported for tasks that are part of a - service that's configured to use a Classic Load Balancer. - - For an example of how to specify a task definition with multiple - containers where container dependency is specified, see [Container - dependency](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - command: list[str] - """ - A string array representing the command that the container runs to - determine if it is healthy. The string array must start with `CMD` to - run the command arguments directly, or `CMD-SHELL` to run the command - with the container's default shell. - - When you use the Amazon Web Services Management Console JSON panel, the - Command Line Interface, or the APIs, enclose the list of commands in - double quotes and brackets. - - `[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]` - - You don't include the double quotes and brackets when you use the - Amazon Web Services Management Console. - - ` CMD-SHELL, curl -f http://localhost/ || exit 1` - - An exit code of 0 indicates success, and non-zero exit code indicates - failure. For more information, see `HealthCheck` in the docker container - create command. - """ - interval: int | None = ... - """ - The time period in seconds between each health check execution. You may - specify between 5 and 300 seconds. The default value is 30 seconds. This - value applies only when you specify a `command`. - """ - timeout: int | None = ... - """ - The time period in seconds to wait for a health check to succeed before - it is considered a failure. You may specify between 2 and 60 seconds. - The default value is 5. This value applies only when you specify a - `command`. - """ - retries: int | None = ... - """ - The number of times to retry a failed health check before the container - is considered unhealthy. You may specify between 1 and 10 retries. The - default value is 3. This value applies only when you specify a - `command`. - """ - start_period: int | None = ... - """ - The optional grace period to provide containers time to bootstrap before - failed health checks count towards the maximum number of retries. You - can specify between 0 and 300 seconds. By default, the `startPeriod` is - off. This value applies only when you specify a `command`. - - Note: - If a health check succeeds within the `startPeriod`, then the container - is considered healthy and any subsequent failures count toward the - maximum number of retries. - """ - -class HealthStatus(UnknownEnumMixin, StrEnum): - HEALTHY = "HEALTHY" - UNHEALTHY = "UNHEALTHY" - UNKNOWN = "UNKNOWN" - -@dataclass(kw_only=True) -class HostEntry(_SerdeShape): - """ - Hostnames and IP address entries that are added to the `/etc/hosts` file - of a container via the `extraHosts` parameter of its - [ContainerDefinition](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html). - """ - - hostname: str - """The hostname to use in the `/etc/hosts` entry.""" - ip_address: str - """The IP address to use in the `/etc/hosts` entry.""" - -@dataclass(kw_only=True) -class HostSharedAlbConfiguration(_SerdeShape): - """ - The configuration for a gateway that uses shared Application Load - Balancers with host-based routing. Where they apply, the field names and - values are kept consistent with the Elastic Load Balancing API. - """ - - network_configuration: GatewayElbNetworkConfiguration | None = ... - """ - The network configuration for the load balancers that the gateway - manages. - """ - scheme: str | None = ... - """ - Specifies whether the load balancers the gateway manages are - `internet-facing` or `internal`. The default is `internet-facing`. - """ - web_acl_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the WAF web ACL to associate with the - load balancers that the gateway manages. - """ - access_logs: GatewayElbAccessLogConfiguration | None = ... - """ - The access log configuration for the load balancers that the gateway - manages. - """ - port: int | None = ... - """ - The port that the load balancer listener uses is 443. The gateway - supports only HTTPS at port 443. - """ - protocol: str | None = ... - """ - The protocol for the load balancer listener is `HTTPS`. No other - protocol is supported. - """ - max_alb_count: int | None = ... - """ - The maximum number of Application Load Balancers that the gateway - manages. The default is 10. - """ - http_desync: str | None = ... - """ - The desync mitigation mode for the load balancers that the gateway - manages, which determines how the load balancers handle requests that - might pose a security risk. The default is `defensive`. - """ - test_traffic_rules: GatewayAlbTestTrafficRules | None = ... - """ - The rules that route test traffic for progressive deployments. During a - progressive deployment, requests whose headers match these rules are - routed to the new service revision so that it can be validated before - production traffic shifts to it. - """ - -@dataclass(kw_only=True) -class HostVolumeProperties(_SerdeShape): - """Details on a container instance bind mount host volume.""" - - source_path: str | None = ... - """ - When the `host` parameter is used, specify a `sourcePath` to declare the - path on the host container instance that's presented to the container. - If this parameter is empty, then the Docker daemon has assigned a host - path for you. If the `host` parameter contains a `sourcePath` file - location, then the data volume persists at the specified location on the - host container instance until you delete it manually. If the - `sourcePath` value doesn't exist on the host container instance, the - Docker daemon creates it. If the location does exist, the contents of - the source path folder are exported. - - If you're using the Fargate launch type, the `sourcePath` parameter is - not supported. - """ - -@dataclass(kw_only=True) -class InferenceAccelerator(_SerdeShape): - """ - Details on an Elastic Inference accelerator. For more information, see - [Working with Amazon Elastic Inference on Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - device_name: str - """ - The Elastic Inference accelerator device name. The `deviceName` must - also be referenced in a container definition as a - [ResourceRequirement](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html). - """ - device_type: str - """The Elastic Inference accelerator type to use.""" - -@dataclass(kw_only=True) -class InferenceAcceleratorOverride(_SerdeShape): - """ - Details on an Elastic Inference accelerator task override. This - parameter is used to override the Elastic Inference accelerator - specified in the task definition. For more information, see [Working - with Amazon Elastic Inference on Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - device_name: str | None = ... - """ - The Elastic Inference accelerator device name to override for the task. - This parameter must match a `deviceName` specified in the task - definition. - """ - device_type: str | None = ... - """The Elastic Inference accelerator type to use.""" - -@dataclass(kw_only=True) -class InfrastructureOptimization(_SerdeShape): - """ - The configuration that controls how Amazon ECS optimizes your - infrastructure. - """ - - scale_in_after: int | None = ... - """ - This parameter defines the number of seconds Amazon ECS Managed - Instances waits before optimizing EC2 instances that have become idle or - underutilized. A longer delay increases the likelihood of placing new - tasks on idle or underutilized instances instances, reducing startup - time. A shorter delay helps reduce infrastructure costs by optimizing - idle or underutilized instances,instances more quickly. - - Valid values are: - - - `null` - Uses the default optimization behavior. - - - `-1` - Disables automatic infrastructure optimization. - - - A value between `0` and `3600` (inclusive) - Specifies the number of - seconds to wait before optimizing instances. - """ - -@dataclass(kw_only=True) -class IngressPathSummary(_SerdeShape): - """The entry point into an Express service.""" - - access_type: str - """The type of access to the endpoint for the Express service.""" - endpoint: str - """The endpoint for access to the service.""" - -class InstanceGeneration(UnknownEnumMixin, StrEnum): - CURRENT = "current" - PREVIOUS = "previous" - -@dataclass(kw_only=True) -class InstanceHealthCheckResult(_SerdeShape): - """ - An object representing the result of a container instance health status - check. - """ - - type: str | None = ... - """The type of container instance health status that was verified.""" - status: str | None = ... - """The container instance health status.""" - status_reason: str | None = ... - """The reason for the container instance health status.""" - last_updated: datetime | None = ... - """ - The Unix timestamp for when the container instance health status was - last updated. - """ - last_status_change: datetime | None = ... - """ - The Unix timestamp for when the container instance health status last - changed. - """ - -class InstanceHealthCheckState(UnknownEnumMixin, StrEnum): - OK = "OK" - IMPAIRED = "IMPAIRED" - INSUFFICIENT_DATA = "INSUFFICIENT_DATA" - INITIALIZING = "INITIALIZING" - -class InstanceHealthCheckType(UnknownEnumMixin, StrEnum): - CONTAINER_RUNTIME = "CONTAINER_RUNTIME" - ACCELERATED_COMPUTE = "ACCELERATED_COMPUTE" - DAEMON = "DAEMON" - AGENT_CONNECTIVITY = "AGENT_CONNECTIVITY" - -@dataclass(kw_only=True) -class InstanceLaunchTemplate(_SerdeShape): - """ - The launch template configuration for Amazon ECS Managed Instances. This - defines how Amazon ECS launches Amazon EC2 instances, including the - instance profile for your tasks, network and storage configuration, - capacity options, and instance requirements for flexible instance type - selection. - """ - - ec2_instance_profile_arn: str - """ - The Amazon Resource Name (ARN) of the instance profile that Amazon ECS - applies to Amazon ECS Managed Instances. This instance profile must - include the necessary permissions for your tasks to access Amazon Web - Services services and resources. - - For more information, see [Amazon ECS instance profile for Managed - Instances](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/managed-instances-instance-profile.html) - in the *Amazon ECS Developer Guide*. - """ - network_configuration: ManagedInstancesNetworkConfiguration - """ - The network configuration for Amazon ECS Managed Instances. This - specifies the subnets and security groups that instances use for network - connectivity. - """ - storage_configuration: ManagedInstancesStorageConfiguration | None = ... - """ - The storage configuration for Amazon ECS Managed Instances. This defines - the data volume properties for the instances. - """ - local_storage_configuration: ManagedInstancesLocalStorageConfiguration | None = ... - """ - The local storage configuration for Amazon ECS Managed Instances. This - defines how ECS uses instance store volumes available on the container - instance. - """ - monitoring: str | None = ... - """ - CloudWatch provides two categories of monitoring: basic monitoring and - detailed monitoring. By default, your managed instance is configured for - basic monitoring. You can optionally enable detailed monitoring to help - you more quickly identify and act on operational issues. You can enable - or turn off detailed monitoring at launch or when the managed instance - is running or stopped. For more information, see [Detailed monitoring - for Amazon ECS Managed - Instances](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/detailed-monitoring-managed-instances.html) - in the Amazon ECS Developer Guide. - """ - capacity_option_type: str | None = ... - """ - The capacity option type. This determines whether Amazon ECS launches - On-Demand, Spot or Capacity Reservation Instances for your managed - instance capacity provider. - - Valid values are: - - - `ON_DEMAND` - Launches standard On-Demand Instances. On-Demand - Instances provide predictable pricing and availability. - - - `SPOT` - Launches Spot Instances that use spare Amazon EC2 capacity at - reduced cost. Spot Instances can be interrupted by Amazon EC2 with a - two-minute notification when the capacity is needed back. - - - `RESERVED` - Launches Instances using Amazon EC2 Capacity - Reservations. Capacity Reservations allow you to reserve compute - capacity for Amazon EC2 instances in a specific Availability Zone. - - The default is On-Demand - - For more information about Amazon EC2 capacity options, see [Instance - purchasing - options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html) - in the *Amazon EC2 User Guide*. - """ - instance_metadata_tags_propagation: bool | None = ... - """ - Determines whether tags are propagated to the instance metadata service - (IMDS) for Amazon EC2 instances launched by the Managed Instances - capacity provider. When enabled, all tags associated with the instance - are available through the instance metadata service. When disabled, tags - are not propagated to IMDS. - - Disable this setting if your tags contain characters that are not - compatible with IMDS, such as `/`. IMDS requires tag keys to match the - pattern `[0-9a-zA-Z\\-_+=,.@:]{1,255}`. - - The default value is `true`. - - For more information, see [Work with instance tags in instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS) - in the *Amazon EC2 User Guide*. - """ - instance_requirements: InstanceRequirementsRequest | None = ... - """ - The instance requirements. You can specify: - - - The instance types - - - Instance requirements such as vCPU count, memory, network performance, - and accelerator specifications - - Amazon ECS automatically selects the instances that match the specified - criteria. - """ - fips_enabled: bool | None = ... - """ - Determines whether to enable FIPS 140-2 validated cryptographic modules - on EC2 instances launched by the capacity provider. If `true`, instances - use FIPS-compliant cryptographic algorithms and modules for enhanced - security compliance. If `false`, instances use standard cryptographic - implementations. - - If not specified, instances are launched with FIPS enabled in Amazon Web - Services GovCloud (US) regions and FIPS disabled in other regions. - """ - capacity_reservations: CapacityReservationRequest | None = ... - """ - Capacity reservation specifications. You can specify: - - - Capacity reservation preference - - - Reservation resource group to be used for targeted capacity - reservations - - Amazon ECS will launch instances according to the specified criteria. - """ - nitro_enclaves_enabled: bool | None = ... - """ - Specifies whether instances that this capacity provider launches have - [Nitro - Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html) - enabled. Enable this setting to run tasks that use the - `ISOLATED_SANDBOX` or `CONFIDENTIAL_SANDBOX` isolation mode. - - When you enable this setting, the capacity provider must include at - least one instance type that supports Nitro Sandbox. You can't enable - this setting together with local storage (the `useLocalStorage` setting - in `localStorageConfiguration`). - - The default value is `false`. - - For more information, see [Isolated and confidential - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) - in *Amazon Elastic Container Service Developer Guide*. - """ - -@dataclass(kw_only=True) -class InstanceLaunchTemplateUpdate(_SerdeShape): - """ - The updated launch template configuration for Amazon ECS Managed - Instances. You can modify the instance profile, network configuration, - storage settings, and instance requirements. Changes apply to new - instances launched after the update. - - For more information, see [Store instance launch parameters in Amazon - EC2 launch - templates](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) - in the *Amazon EC2 User Guide*. - """ - - ec2_instance_profile_arn: str | None = ... - """ - The updated Amazon Resource Name (ARN) of the instance profile. The new - instance profile must have the necessary permissions for your tasks. - - For more information, see [Amazon ECS instance profile for Managed - Instances](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/managed-instances-instance-profile.html) - in the *Amazon ECS Developer Guide*. - """ - network_configuration: ManagedInstancesNetworkConfiguration | None = ... - """ - The updated network configuration for Amazon ECS Managed Instances. - Changes to subnets and security groups affect new instances launched - after the update. - """ - storage_configuration: ManagedInstancesStorageConfiguration | None = ... - """ - The updated storage configuration for Amazon ECS Managed Instances. - Changes to storage settings apply to new instances launched after the - update. - """ - instance_metadata_tags_propagation: bool | None = ... - """ - Determines whether tags are propagated to the instance metadata service - (IMDS) for Amazon EC2 instances launched by the Managed Instances - capacity provider. When enabled, all tags associated with the instance - are available through the instance metadata service. When disabled, tags - are not propagated to IMDS. - - Disable this setting if your tags contain characters that are not - compatible with IMDS, such as `/`. IMDS requires tag keys to match the - pattern `[0-9a-zA-Z\\-_+=,.@:]{1,255}`. - - The default value is `true`. - - For more information, see [Work with instance tags in instance - metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS) - in the *Amazon EC2 User Guide*. - """ - local_storage_configuration: ManagedInstancesLocalStorageConfiguration | None = ... - """ - The updated local storage configuration for Amazon ECS Managed - Instances. Changes to local storage settings apply to new instances - launched after the update. - """ - monitoring: str | None = ... - """ - CloudWatch provides two categories of monitoring: basic monitoring and - detailed monitoring. By default, your managed instance is configured for - basic monitoring. You can optionally enable detailed monitoring to help - you more quickly identify and act on operational issues. You can enable - or turn off detailed monitoring at launch or when the managed instance - is running or stopped. For more information, see [Detailed monitoring - for Amazon ECS Managed - Instances](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/detailed-monitoring-managed-instances.html) - in the Amazon ECS Developer Guide. - """ - instance_requirements: InstanceRequirementsRequest | None = ... - """ - The updated instance requirements for attribute-based instance type - selection. Changes to instance requirements affect which instance types - Amazon ECS selects for new instances. - """ - capacity_reservations: CapacityReservationRequest | None = ... - """ - The updated capacity reservations specifications for Amazon ECS Managed - Instances. Changes to capacity reservations settings apply to new - instances launched after the update. - """ - -@dataclass(kw_only=True) -class InstanceRequirementsRequest(_SerdeShape): - """ - The instance requirements for attribute-based instance type selection. - Instead of specifying exact instance types, you define requirements such - as vCPU count, memory size, network performance, and accelerator - specifications. Amazon ECS automatically selects Amazon EC2 instance - types that match these requirements, providing flexibility and helping - to mitigate capacity constraints. - """ - - v_cpu_count: VCpuCountRangeRequest - """ - The minimum and maximum number of vCPUs for the instance types. Amazon - ECS selects instance types that have vCPU counts within this range. - """ - memory_mi_b: MemoryMiBRequest - """ - The minimum and maximum amount of memory in mebibytes (MiB) for the - instance types. Amazon ECS selects instance types that have memory - within this range. - """ - cpu_manufacturers: list[str] | None = ... - """ - The CPU manufacturers to include or exclude. You can specify `intel`, - `amd`, or `amazon-web-services` to control which CPU types are used for - your workloads. - """ - memory_gi_b_per_v_cpu: MemoryGiBPerVCpuRequest | None = ... - """ - The minimum and maximum amount of memory per vCPU in gibibytes (GiB). - This helps ensure that instance types have the appropriate memory-to-CPU - ratio for your workloads. - """ - excluded_instance_types: list[str] | None = ... - """ - The instance types to exclude from selection. Use this to prevent Amazon - ECS from selecting specific instance types that may not be suitable for - your workloads. - """ - instance_generations: list[str] | None = ... - """ - The instance generations to include. You can specify `current` to use - the latest generation instances, or `previous` to include previous - generation instances for cost optimization. - """ - spot_max_price_percentage_over_lowest_price: int | None = ... - """ - The maximum price for Spot instances as a percentage over the lowest - priced On-Demand instance. This helps control Spot instance costs while - maintaining access to capacity. - """ - on_demand_max_price_percentage_over_lowest_price: int | None = ... - """ - The price protection threshold for On-Demand Instances, as a percentage - higher than an identified On-Demand price. The identified On-Demand - price is the price of the lowest priced current generation C, M, or R - instance type with your specified attributes. If no current generation - C, M, or R instance type matches your attributes, then the identified - price is from either the lowest priced current generation instance types - or, failing that, the lowest priced previous generation instance types - that match your attributes. When Amazon ECS selects instance types with - your attributes, we will exclude instance types whose price exceeds your - specified threshold. - """ - bare_metal: str | None = ... - """ - Indicates whether to include bare metal instance types. Set to - `included` to allow bare metal instances, `excluded` to exclude them, or - `required` to use only bare metal instances. - """ - burstable_performance: str | None = ... - """ - Indicates whether to include burstable performance instance types (T2, - T3, T3a, T4g). Set to `included` to allow burstable instances, - `excluded` to exclude them, or `required` to use only burstable - instances. - """ - require_hibernate_support: bool | None = ... - """ - Indicates whether the instance types must support hibernation. When set - to `true`, only instance types that support hibernation are selected. - """ - network_interface_count: NetworkInterfaceCountRequest | None = ... - """ - The minimum and maximum number of network interfaces for the instance - types. This is useful for workloads that require multiple network - interfaces. - """ - local_storage: str | None = ... - """ - Indicates whether to include instance types with local storage. Set to - `included` to allow local storage, `excluded` to exclude it, or - `required` to use only instances with local storage. - """ - local_storage_types: list[str] | None = ... - """ - The local storage types to include. You can specify `hdd` for hard disk - drives, `ssd` for solid state drives, or both. - """ - total_local_storage_gb: TotalLocalStorageGBRequest | None = ... - """ - The minimum and maximum total local storage in gigabytes (GB) for - instance types with local storage. - """ - baseline_ebs_bandwidth_mbps: BaselineEbsBandwidthMbpsRequest | None = ... - """ - The minimum and maximum baseline Amazon EBS bandwidth in megabits per - second (Mbps). This is important for workloads with high storage I/O - requirements. - """ - accelerator_types: list[str] | None = ... - """ - The accelerator types to include. You can specify `gpu` for graphics - processing units, `fpga` for field programmable gate arrays, or - `inference` for machine learning inference accelerators. - """ - accelerator_count: AcceleratorCountRequest | None = ... - """ - The minimum and maximum number of accelerators for the instance types. - This is used when you need instances with specific numbers of GPUs or - other accelerators. - """ - accelerator_manufacturers: list[str] | None = ... - """ - The accelerator manufacturers to include. You can specify `nvidia`, - `amd`, `amazon-web-services`, or `xilinx` depending on your accelerator - requirements. - """ - accelerator_names: list[str] | None = ... - """ - The specific accelerator names to include. For example, you can specify - `a100`, `v100`, `k80`, or other specific accelerator models. - """ - accelerator_total_memory_mi_b: AcceleratorTotalMemoryMiBRequest | None = ... - """ - The minimum and maximum total accelerator memory in mebibytes (MiB). - This is important for GPU workloads that require specific amounts of - video memory. - """ - network_bandwidth_gbps: NetworkBandwidthGbpsRequest | None = ... - """ - The minimum and maximum network bandwidth in gigabits per second (Gbps). - This is crucial for network-intensive workloads that require high - throughput. - """ - allowed_instance_types: list[str] | None = ... - """ - The instance types to include in the selection. When specified, Amazon - ECS only considers these instance types, subject to the other - requirements specified. - """ - max_spot_price_as_percentage_of_optimal_on_demand_price: int | None = ... - """ - The maximum price for Spot instances as a percentage of the optimal - On-Demand price. This provides more precise cost control for Spot - instance selection. - """ - -@dataclass(kw_only=True) -class InvalidParameterException(ServiceError, _SerdeShape): - """ - The specified parameter isn't valid. Review the available parameters - for the API request. - - For more information about service event errors, see [Amazon ECS service - event - messages](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class IpcMode(UnknownEnumMixin, StrEnum): - HOST = "host" - TASK = "task" - NONE = "none" - -class IsolationMode(UnknownEnumMixin, StrEnum): - """ - The isolation mode determines how a task is isolated from other tasks on - the same Amazon EC2 instance. - """ - - SHARED = "SHARED" - """ - The task shares the underlying Amazon EC2 instance with other tasks. - This is the default isolation mode. - """ - ISOLATED_SANDBOX = "ISOLATED_SANDBOX" - """ - The task runs in its own [Nitro - Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), - which is a lightweight virtual machine that is isolated by the Amazon - Web Services Nitro System. Each task's sandbox is isolated from every - other task's sandbox on the same Amazon EC2 instance. For more - information, see [Isolated and confidential - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) - in *Amazon Elastic Container Service Developer Guide*. - """ - CONFIDENTIAL_SANDBOX = "CONFIDENTIAL_SANDBOX" - """ - The task runs in its own [Nitro - Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), - which is a lightweight virtual machine that is isolated by the Amazon - Web Services Nitro System, with cryptographic attestation. The host - can't access the sandbox's memory or storage. For more information, - see [Isolated and confidential - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) - in *Amazon Elastic Container Service Developer Guide*. - """ - -@dataclass(kw_only=True) -class KernelCapabilities(_SerdeShape): - """ - The Linux capabilities to add or remove from the default Docker - configuration for a container defined in the task definition. For more - detailed information about these Linux capabilities, see the - [capabilities(7)](http://man7.org/linux/man-pages/man7/capabilities.7.html) - Linux manual page. - - The following describes how Docker processes the Linux capabilities - specified in the `add` and `drop` request parameters. For information - about the latest behavior, see [Docker Compose: order of cap_drop and - cap_add](https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1) - in the Docker Community Forum. - - - When the container is a privleged container, the container - capabilities are all of the default Docker capabilities. The - capabilities specified in the `add` request parameter, and the `drop` - request parameter are ignored. - - - When the `add` request parameter is set to ALL, the container - capabilities are all of the default Docker capabilities, excluding - those specified in the `drop` request parameter. - - - When the `drop` request parameter is set to ALL, the container - capabilities are the capabilities specified in the `add` request - parameter. - - - When the `add` request parameter and the `drop` request parameter are - both empty, the capabilities the container capabilities are all of the - default Docker capabilities. - - - The default is to first drop the capabilities specified in the `drop` - request parameter, and then add the capabilities specified in the - `add` request parameter. - """ - - add: list[str] | None = ... - """ - The Linux capabilities for the container that have been added to the - default configuration provided by Docker. This parameter maps to - `CapAdd` in the docker container create command and the `--cap-add` - option to docker run. - - Note: - Tasks launched on Fargate only support adding the `SYS_PTRACE` kernel - capability. - - Valid values: - `"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"` - """ - drop: list[str] | None = ... - """ - The Linux capabilities for the container that have been removed from the - default configuration provided by Docker. This parameter maps to - `CapDrop` in the docker container create command and the `--cap-drop` - option to docker run. - - Valid values: - `"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"` - """ - -@dataclass(kw_only=True) -class KeyValuePair(_SerdeShape): - """A key-value pair object.""" - - name: str | None = ... - """ - The name of the key-value pair. For environment variables, this is the - name of the environment variable. - """ - value: str | None = ... - """ - The value of the key-value pair. For environment variables, this is the - value of the environment variable. - """ - -class LaunchType(UnknownEnumMixin, StrEnum): - EC2 = "EC2" - FARGATE = "FARGATE" - EXTERNAL = "EXTERNAL" - MANAGED_INSTANCES = "MANAGED_INSTANCES" - -@dataclass(kw_only=True) -class LimitExceededException(ServiceError, _SerdeShape): - """The limit for the resource was exceeded.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LinearConfiguration(_SerdeShape): - """ - Configuration for linear deployment strategy that shifts production - traffic in equal percentage increments with configurable wait times - between each step until 100% of traffic is shifted to the new service - revision. This is only valid when you run `CreateService` or - `UpdateService` with `deploymentController` set to `ECS` and a - `deploymentConfiguration` with a strategy set to `LINEAR`. - """ - - step_percent: float | None = ... - """ - The percentage of production traffic to shift in each step during a - linear deployment. Valid values are multiples of 0.1 from 3.0 to 100.0. - The default value is 10.0. - """ - step_bake_time_in_minutes: int | None = ... - """ - The amount of time in minutes to wait between each traffic shifting step - during a linear deployment. Valid values are 0 to 1440 minutes (24 - hours). The default value is 6. This bake time is not applied after - reaching 100 percent traffic. - """ - -@dataclass(kw_only=True) -class LinuxParameters(_SerdeShape): - """ - The Linux-specific options that are applied to the container, such as - Linux - [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). - """ - - capabilities: KernelCapabilities | None = ... - """ - The Linux capabilities for the container that are added to or dropped - from the default configuration provided by Docker. - - Note: - For tasks that use the Fargate launch type, `capabilities` is supported - for all platform versions but the `add` parameter is only supported if - using platform version 1.4.0 or later. - """ - devices: list[Device] | None = ... - """ - Any host devices to expose to the container. This parameter maps to - `Devices` in the docker container create command and the `--device` - option to docker run. - - Note: - If you're using tasks that use the Fargate launch type, the `devices` - parameter isn't supported. - """ - init_process_enabled: bool | None = ... - """ - Run an `init` process inside the container that forwards signals and - reaps processes. This parameter maps to the `--init` option to docker - run. This parameter requires version 1.25 of the Docker Remote API or - greater on your container instance. To check the Docker Remote API - version on your container instance, log in to your container instance - and run the following command: - `sudo docker version --format '{{.Server.APIVersion}}'` - """ - shared_memory_size: int | None = ... - """ - The value for the size (in MiB) of the `/dev/shm` volume. This parameter - maps to the `--shm-size` option to docker run. - - Note: - If you are using tasks that use the Fargate launch type, the - `sharedMemorySize` parameter is not supported. - """ - tmpfs: list[Tmpfs] | None = ... - """ - The container path, mount options, and size (in MiB) of the tmpfs mount. - This parameter maps to the `--tmpfs` option to docker run. - """ - max_swap: int | None = ... - """ - The total amount of swap memory (in MiB) a container can use. This - parameter will be translated to the `--memory-swap` option to docker run - where the value would be the sum of the container memory plus the - `maxSwap` value. - - If a `maxSwap` value of `0` is specified, the container will not use - swap. Accepted values are `0` or any positive integer. If the `maxSwap` - parameter is omitted, the container will use the swap configuration for - the container instance it is running on. A `maxSwap` value must be set - for the `swappiness` parameter to be used. - - Note: - If you're using tasks that use the Fargate launch type, the `maxSwap` - parameter isn't supported. - - If you're using tasks on Amazon Linux 2023 the `swappiness` parameter - isn't supported. - """ - swappiness: int | None = ... - """ - This allows you to tune a container's memory swappiness behavior. A - `swappiness` value of `0` will cause swapping to not happen unless - absolutely necessary. A `swappiness` value of `100` will cause pages to - be swapped very aggressively. Accepted values are whole numbers between - `0` and `100`. If the `swappiness` parameter is not specified, a default - value of `60` is used. If a value is not specified for `maxSwap` then - this parameter is ignored. This parameter maps to the - `--memory-swappiness` option to docker run. - - Note: - If you're using tasks that use the Fargate launch type, the - `swappiness` parameter isn't supported. - - If you're using tasks on Amazon Linux 2023 the `swappiness` parameter - isn't supported. - """ - -@dataclass(kw_only=True) -class ListAccountSettingsInput(_SerdeShape): - """Dataclass for ListAccountSettingsInput structure.""" - - name: str | None = ... - """The name of the account setting you want to list the settings for.""" - value: str | None = ... - """ - The value of the account settings to filter results with. You must also - specify an account setting name to use this parameter. - """ - principal_arn: str | None = ... - """ - The ARN of the principal, which can be a user, role, or the root user. - If this field is omitted, the account settings are listed only for the - authenticated user. - - In order to use this parameter, you must be the root user, or the - principal. - - Note: - Federated users assume the account setting of the root user and can't - have explicit account settings set for them. - """ - effective_settings: bool = ... - """ - Determines whether to return the effective settings. If `true`, the - account settings for the root user or the default setting for the - `principalArn` are returned. If `false`, the account settings for the - `principalArn` are returned if they're set. Otherwise, no account - settings are returned. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListAccountSettings` request - indicating that more results are available to fulfill the request and - further calls will be needed. If `maxResults` was provided, it's - possible the number of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - max_results: int = ... - """ - The maximum number of account setting results returned by - `ListAccountSettings` in paginated output. When this parameter is used, - `ListAccountSettings` only returns `maxResults` results in a single page - along with a `nextToken` response element. The remaining results of the - initial request can be seen by sending another `ListAccountSettings` - request with the returned `nextToken` value. This value can be between 1 - and 10. If this parameter isn't used, then `ListAccountSettings` - returns up to 10 results and a `nextToken` value if applicable. - """ - -@dataclass(kw_only=True) -class ListAccountSettingsOutput(_SerdeShape): - """Dataclass for ListAccountSettingsOutput structure.""" - - settings: list[Setting] | None = ... - """The account settings for the resource.""" - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListAccountSettings` - request. When the results of a `ListAccountSettings` request exceed - `maxResults`, this value can be used to retrieve the next page of - results. This value is `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAttributesInput(_SerdeShape): - """Dataclass for ListAttributesInput structure.""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster to list - attributes. If you do not specify a cluster, the default cluster is - assumed. - """ - target_type: str | None = ... - """The type of the target to list attributes with.""" - attribute_name: str | None = ... - """The name of the attribute to filter the results with.""" - attribute_value: str | None = ... - """ - The value of the attribute to filter results with. You must also specify - an attribute name to use this parameter. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListAttributes` request - indicating that more results are available to fulfill the request and - further calls are needed. If `maxResults` was provided, it's possible - the number of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - max_results: int | None = ... - """ - The maximum number of cluster results that `ListAttributes` returned in - paginated output. When this parameter is used, `ListAttributes` only - returns `maxResults` results in a single page along with a `nextToken` - response element. The remaining results of the initial request can be - seen by sending another `ListAttributes` request with the returned - `nextToken` value. This value can be between 1 and 100. If this - parameter isn't used, then `ListAttributes` returns up to 100 results - and a `nextToken` value if applicable. - """ - -@dataclass(kw_only=True) -class ListAttributesOutput(_SerdeShape): - """""" - - attributes: list[Attribute] | None = ... - """A list of attribute objects that meet the criteria of the request.""" - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListAttributes` request. - When the results of a `ListAttributes` request exceed `maxResults`, this - value can be used to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListClustersInput(_SerdeShape): - """""" - - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListClusters` request indicating - that more results are available to fulfill the request and further calls - are needed. If `maxResults` was provided, it's possible the number of - results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - max_results: int | None = ... - """ - The maximum number of cluster results that `ListClusters` returned in - paginated output. When this parameter is used, `ListClusters` only - returns `maxResults` results in a single page along with a `nextToken` - response element. The remaining results of the initial request can be - seen by sending another `ListClusters` request with the returned - `nextToken` value. This value can be between 1 and 100. If this - parameter isn't used, then `ListClusters` returns up to 100 results and - a `nextToken` value if applicable. - """ - -@dataclass(kw_only=True) -class ListClustersOutput(_SerdeShape): - """""" - - cluster_arns: list[str] | None = ... - """ - The list of full Amazon Resource Name (ARN) entries for each cluster - that's associated with your account. - """ - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListClusters` request. - When the results of a `ListClusters` request exceed `maxResults`, this - value can be used to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListContainerInstancesInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the container instances to list. If you do not specify a cluster, - the default cluster is assumed. - """ - filter: str | None = ... - """ - You can filter the results of a `ListContainerInstances` operation with - cluster query language statements. For more information, see [Cluster - Query - Language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListContainerInstances` request - indicating that more results are available to fulfill the request and - further calls are needed. If `maxResults` was provided, it's possible - the number of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - max_results: int | None = ... - """ - The maximum number of container instance results that - `ListContainerInstances` returned in paginated output. When this - parameter is used, `ListContainerInstances` only returns `maxResults` - results in a single page along with a `nextToken` response element. The - remaining results of the initial request can be seen by sending another - `ListContainerInstances` request with the returned `nextToken` value. - This value can be between 1 and 100. If this parameter isn't used, then - `ListContainerInstances` returns up to 100 results and a `nextToken` - value if applicable. - """ - status: str | None = ... - """ - Filters the container instances by status. For example, if you specify - the `DRAINING` status, the results include only container instances that - have been set to `DRAINING` using - [UpdateContainerInstancesState](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateContainerInstancesState.html). - If you don't specify this parameter, the The default is to include - container instances set to all states other than `INACTIVE`. - """ - -@dataclass(kw_only=True) -class ListContainerInstancesOutput(_SerdeShape): - """""" - - container_instance_arns: list[str] | None = ... - """ - The list of container instances with full ARN entries for each container - instance associated with the specified cluster. - """ - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListContainerInstances` - request. When the results of a `ListContainerInstances` request exceed - `maxResults`, this value can be used to retrieve the next page of - results. This value is `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDaemonDeploymentsInput(_SerdeShape): - """Dataclass for ListDaemonDeploymentsInput structure.""" - - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon to list deployments for.""" - status: list[str] | None = ... - """ - An optional filter to narrow the `ListDaemonDeployments` results by - deployment status. If you don't specify a status, all deployments are - returned. - """ - created_at: CreatedAt | None = ... - """ - An optional filter to narrow the `ListDaemonDeployments` results by - creation time. If you don't specify a time range, all deployments are - returned. - """ - max_results: int | None = ... - """ - The maximum number of daemon deployment results that - `ListDaemonDeployments` returned in paginated output. When this - parameter is used, `ListDaemonDeployments` only returns `maxResults` - results in a single page along with a `nextToken` response element. The - remaining results of the initial request can be seen by sending another - `ListDaemonDeployments` request with the returned `nextToken` value. - This value can be between 1 and 100. If this parameter isn't used, then - `ListDaemonDeployments` returns up to 20 results and a `nextToken` value - if applicable. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListDaemonDeployments` request - indicating that more results are available to fulfill the request and - further calls will be needed. If `maxResults` was provided, it's - possible for the number of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - -@dataclass(kw_only=True) -class ListDaemonDeploymentsOutput(_SerdeShape): - """Dataclass for ListDaemonDeploymentsOutput structure.""" - - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListDaemonDeployments` - request. When the results of a `ListDaemonDeployments` request exceed - `maxResults`, this value can be used to retrieve the next page of - results. - """ - daemon_deployments: list[DaemonDeploymentSummary] | None = ... - """The list of daemon deployment summaries.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDaemonsInput(_SerdeShape): - """Dataclass for ListDaemonsInput structure.""" - - cluster_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the cluster to filter daemons by. If - you do not specify a cluster, the default cluster is assumed. - """ - capacity_provider_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the capacity providers to filter - daemons by. Only daemons associated with the specified capacity - providers are returned. - """ - max_results: int | None = ... - """ - The maximum number of daemon results that `ListDaemons` returned in - paginated output. When this parameter is used, `ListDaemons` only - returns `maxResults` results in a single page along with a `nextToken` - response element. The remaining results of the initial request can be - seen by sending another `ListDaemons` request with the returned - `nextToken` value. This value can be between 1 and 100. If this - parameter isn't used, then `ListDaemons` returns up to 100 results and - a `nextToken` value if applicable. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListDaemons` request indicating - that more results are available to fulfill the request and further calls - will be needed. If `maxResults` was provided, it's possible for the - number of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - -@dataclass(kw_only=True) -class ListDaemonsOutput(_SerdeShape): - """Dataclass for ListDaemonsOutput structure.""" - - daemon_summaries_list: list[DaemonSummary] | None = ... - """The list of daemon summaries.""" - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListDaemons` request. When - the results of a `ListDaemons` request exceed `maxResults`, this value - can be used to retrieve the next page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDaemonTaskDefinitionsInput(_SerdeShape): - """Dataclass for ListDaemonTaskDefinitionsInput structure.""" - - family_prefix: str | None = ... - """ - The full family name to filter the `ListDaemonTaskDefinitions` results - with. Specifying a `familyPrefix` limits the listed daemon task - definitions to daemon task definition families that start with the - `familyPrefix` string. - """ - family: str | None = ... - """ - The exact name of the daemon task definition family to filter results - with. - """ - revision: str | None = ... - """ - The revision filter to apply. Specify `LAST_REGISTERED` to return only - the last registered revision for each daemon task definition family. - """ - status: str | None = ... - """ - The daemon task definition status to filter the - `ListDaemonTaskDefinitions` results with. By default, only `ACTIVE` - daemon task definitions are listed. If you set this parameter to - `DELETE_IN_PROGRESS`, only daemon task definitions that are in the - process of being deleted are listed. If you set this parameter to `ALL`, - all daemon task definitions are listed regardless of status. - """ - sort: str | None = ... - """ - The order to sort the results. Valid values are `ASC` and `DESC`. By - default (`ASC`), daemon task definitions are listed in ascending order - by family name and revision number. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListDaemonTaskDefinitions` - request indicating that more results are available to fulfill the - request and further calls will be needed. If `maxResults` was provided, - it's possible for the number of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - max_results: int | None = ... - """ - The maximum number of daemon task definition results that - `ListDaemonTaskDefinitions` returned in paginated output. When this - parameter is used, `ListDaemonTaskDefinitions` only returns `maxResults` - results in a single page along with a `nextToken` response element. The - remaining results of the initial request can be seen by sending another - `ListDaemonTaskDefinitions` request with the returned `nextToken` value. - This value can be between 1 and 100. If this parameter isn't used, then - `ListDaemonTaskDefinitions` returns up to 100 results and a `nextToken` - value if applicable. - """ - -@dataclass(kw_only=True) -class ListDaemonTaskDefinitionsOutput(_SerdeShape): - """Dataclass for ListDaemonTaskDefinitionsOutput structure.""" - - daemon_task_definitions: list[DaemonTaskDefinitionSummary] | None = ... - """The list of daemon task definition summaries.""" - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListDaemonTaskDefinitions` - request. When the results of a `ListDaemonTaskDefinitions` request - exceed `maxResults`, this value can be used to retrieve the next page of - results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGatewayClusterAssociationsInput(_SerdeShape): - """Dataclass for ListGatewayClusterAssociationsInput structure.""" - - gateway: str | None = ... - """ - The name or Amazon Resource Name (ARN) of a gateway to filter the - results by. - """ - cluster: str | None = ... - """ - The name or Amazon Resource Name (ARN) of a cluster to filter the - results by. - """ - status: list[str] | None = ... - """The association status to filter the results by.""" - max_results: int | None = ... - """ - The maximum number of results that the operation returns in a single - page. The default is 100. - """ - next_token: str | None = ... - """The `nextToken` value returned from a previous paginated request.""" - -@dataclass(kw_only=True) -class ListGatewayClusterAssociationsOutput(_SerdeShape): - """Dataclass for ListGatewayClusterAssociationsOutput structure.""" - - gateway_cluster_associations: list[GatewayClusterAssociationSummary] | None = ... - """The gateway-cluster associations that match the request.""" - next_token: str | None = ... - """ - The `nextToken` value to include in a future request to retrieve the - next page of results. This value is `null` when there are no more - results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGatewayRoutesInput(_SerdeShape): - """Dataclass for ListGatewayRoutesInput structure.""" - - gateway: str | None = ... - """ - The name or Amazon Resource Name (ARN) of a gateway to filter the - results by. - """ - cluster: str | None = ... - """ - The name or Amazon Resource Name (ARN) of a cluster to filter the - results by. - """ - service: str | None = ... - """ - The name or Amazon Resource Name (ARN) of a service to filter the - results by. Because services can span clusters, a service name isn't - necessarily unique and can match multiple services. - """ - service_container_port_name: str | None = ... - """The name of a task definition container port to filter the results by.""" - status: list[str] | None = ... - """The gateway route status to filter the results by.""" - max_results: int | None = ... - """ - The maximum number of results that the operation returns in a single - page. The default is 100. - """ - next_token: str | None = ... - """The `nextToken` value returned from a previous paginated request.""" - -@dataclass(kw_only=True) -class ListGatewayRoutesOutput(_SerdeShape): - """Dataclass for ListGatewayRoutesOutput structure.""" - - gateway_routes: list[GatewayRouteSummary] | None = ... - """The gateway routes that match the request.""" - next_token: str | None = ... - """ - The `nextToken` value to include in a future request to retrieve the - next page of results. This value is `null` when there are no more - results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGatewaysInput(_SerdeShape): - """Dataclass for ListGatewaysInput structure.""" - - names: list[str] | None = ... - """ - The gateway names to filter the results by. You can specify up to 10 - names. - """ - status: list[str] | None = ... - """The gateway statuses to filter the results by.""" - max_results: int | None = ... - """ - The maximum number of gateway results that `ListGateways` returns in a - single page. The default is 100. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a previous paginated `ListGateways` - request where `maxResults` was used and the results exceeded the value - of that parameter. Pagination continues from the end of the previous - results. - """ - -@dataclass(kw_only=True) -class ListGatewaysOutput(_SerdeShape): - """Dataclass for ListGatewaysOutput structure.""" - - gateways: list[GatewaySummary] | None = ... - """The list of gateways that match the request.""" - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListGateways` request. - When the results of a `ListGateways` request exceed `maxResults`, this - value can be used to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListServiceDeploymentsInput(_SerdeShape): - """Dataclass for ListServiceDeploymentsInput structure.""" - - service: str | None = ... - """The ARN or name of the service""" - cluster: str | None = ... - """ - The cluster that hosts the service. This can either be the cluster name - or ARN. Starting April 15, 2023, Amazon Web Services will not onboard - new customers to Amazon Elastic Inference (EI), and will help current - customers migrate their workloads to options that offer better price and - performance. If you don't specify a cluster, `default` is used. - """ - status: list[str] | None = ... - """ - An optional filter you can use to narrow the results. If you do not - specify a status, then all status values are included in the result. - """ - created_at: CreatedAt | None = ... - """ - An optional filter you can use to narrow the results by the service - creation date. If you do not specify a value, the result includes all - services created before the current time. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListServiceDeployments` request - indicating that more results are available to fulfill the request and - further calls are needed. If you provided `maxResults`, it's possible - the number of results is fewer than `maxResults`. - """ - max_results: int | None = ... - """ - The maximum number of service deployment results that - `ListServiceDeployments` returned in paginated output. When this - parameter is used, `ListServiceDeployments` only returns `maxResults` - results in a single page along with a `nextToken` response element. The - remaining results of the initial request can be seen by sending another - `ListServiceDeployments` request with the returned `nextToken` value. - This value can be between 1 and 100. If this parameter isn't used, then - `ListServiceDeployments` returns up to 20 results and a `nextToken` - value if applicable. - """ - -@dataclass(kw_only=True) -class ListServiceDeploymentsOutput(_SerdeShape): - """Dataclass for ListServiceDeploymentsOutput structure.""" - - service_deployments: list[ServiceDeploymentBrief] | None = ... - """ - An overview of the service deployment, including the following - properties: - - - The ARN of the service deployment. - - - The ARN of the service being deployed. - - - The ARN of the cluster that hosts the service in the service - deployment. - - - The time that the service deployment started. - - - The time that the service deployment completed. - - - The service deployment status. - - - Information about why the service deployment is in the current state. - - - The ARN of the service revision that is being deployed. - """ - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListServiceDeployments` - request. When the results of a `ListServiceDeployments` request exceed - `maxResults`, this value can be used to retrieve the next page of - results. This value is null when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListServicesByNamespaceInput(_SerdeShape): - """Dataclass for ListServicesByNamespaceInput structure.""" - - namespace: str | None = ... - """ - The namespace name or full Amazon Resource Name (ARN) of the Cloud Map - namespace to list the services in. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - next_token: str | None = ... - """ - The `nextToken` value that's returned from a `ListServicesByNamespace` - request. It indicates that more results are available to fulfill the - request and further calls are needed. If `maxResults` is returned, it is - possible the number of results is less than `maxResults`. - """ - max_results: int | None = ... - """ - The maximum number of service results that `ListServicesByNamespace` - returns in paginated output. When this parameter is used, - `ListServicesByNamespace` only returns `maxResults` results in a single - page along with a `nextToken` response element. The remaining results of - the initial request can be seen by sending another - `ListServicesByNamespace` request with the returned `nextToken` value. - This value can be between 1 and 100. If this parameter isn't used, then - `ListServicesByNamespace` returns up to 10 results and a `nextToken` - value if applicable. - """ - -@dataclass(kw_only=True) -class ListServicesByNamespaceOutput(_SerdeShape): - """Dataclass for ListServicesByNamespaceOutput structure.""" - - service_arns: list[str] | None = ... - """ - The list of full ARN entries for each service that's associated with - the specified namespace. - """ - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListServicesByNamespace` - request. When the results of a `ListServicesByNamespace` request exceed - `maxResults`, this value can be used to retrieve the next page of - results. When there are no more results to return, this value is `null`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListServicesInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster to use - when filtering the `ListServices` results. If you do not specify a - cluster, the default cluster is assumed. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListServices` request indicating - that more results are available to fulfill the request and further calls - will be needed. If `maxResults` was provided, it is possible the number - of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - max_results: int | None = ... - """ - The maximum number of service results that `ListServices` returned in - paginated output. When this parameter is used, `ListServices` only - returns `maxResults` results in a single page along with a `nextToken` - response element. The remaining results of the initial request can be - seen by sending another `ListServices` request with the returned - `nextToken` value. This value can be between 1 and 100. If this - parameter isn't used, then `ListServices` returns up to 10 results and - a `nextToken` value if applicable. - """ - launch_type: str | None = ... - """The launch type to use when filtering the `ListServices` results.""" - scheduling_strategy: str | None = ... - """ - The scheduling strategy to use when filtering the `ListServices` - results. - """ - resource_management_type: str | None = ... - """ - The resourceManagementType type to use when filtering the `ListServices` - results. - """ - -@dataclass(kw_only=True) -class ListServicesOutput(_SerdeShape): - """""" - - service_arns: list[str] | None = ... - """ - The list of full ARN entries for each service that's associated with - the specified cluster. - """ - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListServices` request. - When the results of a `ListServices` request exceed `maxResults`, this - value can be used to retrieve the next page of results. This value is - `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceInput(_SerdeShape): - """Dataclass for ListTagsForResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) that identifies the resource to list the - tags for. Currently, the supported resources are Amazon ECS tasks, - services, task definitions, clusters, and container instances. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceOutput(_SerdeShape): - """Dataclass for ListTagsForResourceOutput structure.""" - - tags: list[Tag] | None = ... - """The tags for the resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTaskDefinitionFamiliesInput(_SerdeShape): - """""" - - family_prefix: str | None = ... - """ - The `familyPrefix` is a string that's used to filter the results of - `ListTaskDefinitionFamilies`. If you specify a `familyPrefix`, only task - definition family names that begin with the `familyPrefix` string are - returned. - """ - status: str | None = ... - """ - The task definition family status to filter the - `ListTaskDefinitionFamilies` results with. By default, both `ACTIVE` and - `INACTIVE` task definition families are listed. If this parameter is set - to `ACTIVE`, only task definition families that have an `ACTIVE` task - definition revision are returned. If this parameter is set to - `INACTIVE`, only task definition families that do not have any `ACTIVE` - task definition revisions are returned. If you paginate the resulting - output, be sure to keep the `status` value constant in each subsequent - request. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListTaskDefinitionFamilies` - request indicating that more results are available to fulfill the - request and further calls will be needed. If `maxResults` was provided, - it is possible the number of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - max_results: int | None = ... - """ - The maximum number of task definition family results that - `ListTaskDefinitionFamilies` returned in paginated output. When this - parameter is used, `ListTaskDefinitions` only returns `maxResults` - results in a single page along with a `nextToken` response element. The - remaining results of the initial request can be seen by sending another - `ListTaskDefinitionFamilies` request with the returned `nextToken` - value. This value can be between 1 and 100. If this parameter isn't - used, then `ListTaskDefinitionFamilies` returns up to 100 results and a - `nextToken` value if applicable. - """ - -@dataclass(kw_only=True) -class ListTaskDefinitionFamiliesOutput(_SerdeShape): - """""" - - families: list[str] | None = ... - """ - The list of task definition family names that match the - `ListTaskDefinitionFamilies` request. - """ - next_token: str | None = ... - """ - The `nextToken` value to include in a future - `ListTaskDefinitionFamilies` request. When the results of a - `ListTaskDefinitionFamilies` request exceed `maxResults`, this value can - be used to retrieve the next page of results. This value is `null` when - there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTaskDefinitionsInput(_SerdeShape): - """""" - - family_prefix: str | None = ... - """ - The full family name to filter the `ListTaskDefinitions` results with. - Specifying a `familyPrefix` limits the listed task definitions to task - definition revisions that belong to that family. - """ - status: str | None = ... - """ - The task definition status to filter the `ListTaskDefinitions` results - with. By default, only `ACTIVE` task definitions are listed. By setting - this parameter to `INACTIVE`, you can view task definitions that are - `INACTIVE` as long as an active task or service still references them. - If you paginate the resulting output, be sure to keep the `status` value - constant in each subsequent request. - """ - sort: str | None = ... - """ - The order to sort the results in. Valid values are `ASC` and `DESC`. By - default, (`ASC`) task definitions are listed lexicographically by family - name and in ascending numerical order by revision so that the newest - task definitions in a family are listed last. Setting this parameter to - `DESC` reverses the sort order on family name and revision. This is so - that the newest task definitions in a family are listed first. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListTaskDefinitions` request - indicating that more results are available to fulfill the request and - further calls will be needed. If `maxResults` was provided, it is - possible the number of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - max_results: int | None = ... - """ - The maximum number of task definition results that `ListTaskDefinitions` - returned in paginated output. When this parameter is used, - `ListTaskDefinitions` only returns `maxResults` results in a single page - along with a `nextToken` response element. The remaining results of the - initial request can be seen by sending another `ListTaskDefinitions` - request with the returned `nextToken` value. This value can be between 1 - and 100. If this parameter isn't used, then `ListTaskDefinitions` - returns up to 100 results and a `nextToken` value if applicable. - """ - -@dataclass(kw_only=True) -class ListTaskDefinitionsOutput(_SerdeShape): - """""" - - task_definition_arns: list[str] | None = ... - """ - The list of task definition Amazon Resource Name (ARN) entries for the - `ListTaskDefinitions` request. - """ - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListTaskDefinitions` - request. When the results of a `ListTaskDefinitions` request exceed - `maxResults`, this value can be used to retrieve the next page of - results. This value is `null` when there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTasksInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster to use - when filtering the `ListTasks` results. If you do not specify a cluster, - the default cluster is assumed. - """ - container_instance: str | None = ... - """ - The container instance ID or full ARN of the container instance to use - when filtering the `ListTasks` results. Specifying a `containerInstance` - limits the results to tasks that belong to that container instance. - """ - family: str | None = ... - """ - The name of the task definition family to use when filtering the - `ListTasks` results. Specifying a `family` limits the results to tasks - that belong to that family. - """ - next_token: str | None = ... - """ - The `nextToken` value returned from a `ListTasks` request indicating - that more results are available to fulfill the request and further calls - will be needed. If `maxResults` was provided, it's possible the number - of results to be fewer than `maxResults`. - - Note: - This token should be treated as an opaque identifier that is only used - to retrieve the next items in a list and not for other programmatic - purposes. - """ - max_results: int | None = ... - """ - The maximum number of task results that `ListTasks` returned in - paginated output. When this parameter is used, `ListTasks` only returns - `maxResults` results in a single page along with a `nextToken` response - element. The remaining results of the initial request can be seen by - sending another `ListTasks` request with the returned `nextToken` value. - This value can be between 1 and 100. If this parameter isn't used, then - `ListTasks` returns up to 100 results and a `nextToken` value if - applicable. - """ - started_by: str | None = ... - """ - The `startedBy` value to filter the task results with. Specifying a - `startedBy` value limits the results to tasks that were started with - that value. - - When you specify `startedBy` as the filter, it must be the only filter - that you use. - """ - service_name: str | None = ... - """ - The name of the service to use when filtering the `ListTasks` results. - Specifying a `serviceName` limits the results to tasks that belong to - that service. - """ - desired_status: str | None = ... - """ - The task desired status to use when filtering the `ListTasks` results. - Specifying a `desiredStatus` of `STOPPED` limits the results to tasks - that Amazon ECS has set the desired status to `STOPPED`. This can be - useful for debugging tasks that aren't starting properly or have died - or finished. The default status filter is `RUNNING`, which shows tasks - that Amazon ECS has set the desired status to `RUNNING`. - - Note: - Although you can filter results based on a desired status of `PENDING`, - this doesn't return any results. Amazon ECS never sets the desired - status of a task to that value (only a task's `lastStatus` may have a - value of `PENDING`). - """ - launch_type: str | None = ... - """The launch type to use when filtering the `ListTasks` results.""" - daemon_name: str | None = ... - """ - The name of the daemon to use when filtering the `ListTasks` results. - Specifying a `daemonName` limits the results to tasks that belong to - that daemon. - """ - -@dataclass(kw_only=True) -class ListTasksOutput(_SerdeShape): - """""" - - task_arns: list[str] | None = ... - """The list of task ARN entries for the `ListTasks` request.""" - next_token: str | None = ... - """ - The `nextToken` value to include in a future `ListTasks` request. When - the results of a `ListTasks` request exceed `maxResults`, this value can - be used to retrieve the next page of results. This value is `null` when - there are no more results to return. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LoadBalancer(_SerdeShape): - """ - The load balancer configuration to use with a service or task set. - - When you add, update, or remove a load balancer configuration, Amazon - ECS starts a new deployment with the updated Elastic Load Balancing - configuration. This causes tasks to register to and deregister from load - balancers. - - We recommend that you verify this on a test environment before you - update the Elastic Load Balancing configuration. - - A service-linked role is required for services that use multiple target - groups. For more information, see [Using service-linked - roles](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - target_group_arn: str | None = ... - """ - The full Amazon Resource Name (ARN) of the Elastic Load Balancing target - group or groups associated with a service or task set. - - A target group ARN is only specified when using an Application Load - Balancer or Network Load Balancer. - - For services using the `ECS` deployment controller, you can specify one - or multiple target groups. For more information, see [Registering - multiple target groups with a - service](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html) - in the *Amazon Elastic Container Service Developer Guide*. - - For services using the `CODE_DEPLOY` deployment controller, you're - required to define two target groups for the load balancer. For more - information, see [Blue/green deployment with - CodeDeploy](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Warning: - If your service's task definition uses the `awsvpc` network mode, you - must choose `ip` as the target type, not `instance`. Do this when - creating your target groups because tasks that use the `awsvpc` network - mode are associated with an elastic network interface, not an Amazon EC2 - instance. This network mode is required for the Fargate launch type. - """ - load_balancer_name: str | None = ... - """ - The name of the load balancer to associate with the Amazon ECS service - or task set. - - If you are using an Application Load Balancer or a Network Load Balancer - the load balancer name parameter should be omitted. - """ - container_name: str | None = ... - """ - The name of the container (as it appears in a container definition) to - associate with the load balancer. - - You need to specify the container name when configuring the target group - for an Amazon ECS load balancer. - """ - container_port: int | None = ... - """ - The port on the container to associate with the load balancer. This port - must correspond to a `containerPort` in the task definition the tasks in - the service are using. For tasks that use the EC2 launch type, the - container instance they're launched on must allow ingress traffic on - the `hostPort` of the port mapping. - """ - advanced_configuration: AdvancedConfiguration | None = ... - """ - The advanced settings for the load balancer used in blue/green - deployments. Specify the alternate target group, listener rules, and IAM - role required for traffic shifting during blue/green deployments. - """ - -class LocalStorage(UnknownEnumMixin, StrEnum): - INCLUDED = "included" - REQUIRED = "required" - EXCLUDED = "excluded" - -class LocalStorageType(UnknownEnumMixin, StrEnum): - HDD = "hdd" - SSD = "ssd" - -@dataclass(kw_only=True) -class LogConfiguration(_SerdeShape): - """ - The log configuration for the container. This parameter maps to - `LogConfig` in the docker container create command and the - `--log-driver` option to docker run. - - By default, containers use the same logging driver that the Docker - daemon uses. However, the container might use a different logging driver - than the Docker daemon by specifying a log driver configuration in the - container definition. - - Understand the following when specifying a log configuration for your - containers. - - - Amazon ECS currently supports a subset of the logging drivers - available to the Docker daemon. Additional log drivers may be - available in future releases of the Amazon ECS container agent. - - For tasks on Fargate, the supported log drivers are `awslogs`, - `splunk`, and `awsfirelens`. - - For tasks hosted on Amazon EC2 instances, the supported log drivers - are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`,`syslog`, - `splunk`, and `awsfirelens`. - - For tasks on Amazon ECS Managed Instances, the supported log drivers - are `awslogs`, `splunk`, `awsfirelens`, and `json-file`. - - - This parameter requires version 1.18 of the Docker Remote API or - greater on your container instance. - - - For tasks that are hosted on Amazon EC2 instances, the Amazon ECS - container agent must register the available logging drivers with the - `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers - placed on that instance can use these log configuration options. For - more information, see [Amazon ECS container agent - configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) - in the *Amazon Elastic Container Service Developer Guide*. - - - For tasks that are on Fargate, because you don't have access to the - underlying infrastructure your tasks are hosted on, any additional - software needed must be installed outside of the task. For example, - the Fluentd output aggregators or a remote host running Logstash to - send Gelf logs to. - """ - - log_driver: str - """ - The log driver to use for the container. - - For tasks on Fargate, the supported log drivers are `awslogs`, `splunk`, - and `awsfirelens`. - - For tasks hosted on Amazon EC2 instances, the supported log drivers are - `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`, `syslog`, - `splunk`, and `awsfirelens`. - - For tasks on Amazon ECS Managed Instances, the supported log drivers are - `awslogs`, `splunk`, `awsfirelens`, and `json-file`. - - For more information about using the `awslogs` log driver, see [Send - Amazon ECS logs to - CloudWatch](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html) - in the *Amazon Elastic Container Service Developer Guide*. - - For more information about using the `awsfirelens` log driver, see [Send - Amazon ECS logs to an Amazon Web Services service or Amazon Web Services - Partner](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html). - - Note: - If you have a custom driver that isn't listed, you can fork the Amazon - ECS container agent project that's [available on - GitHub](https://github.com/aws/amazon-ecs-agent) and customize it to - work with that driver. We encourage you to submit pull requests for - changes that you would like to have included. However, we don't - currently provide support for running modified copies of this software. - """ - options: dict[str, str] | None = ... - """ - The configuration options to send to the log driver. - - The options you can specify depend on the log driver. Some of the - options you can specify when you use the `awslogs` log driver to route - logs to Amazon CloudWatch include the following: - - awslogs-create-group - - : Required: No - - Specify whether you want the log group to be created automatically. If - this option isn't specified, it defaults to `false`. - - Note: - Your IAM policy must include the `logs:CreateLogGroup` permission - before you attempt to use `awslogs-create-group`. - - awslogs-region - - : Required: Yes - - Specify the Amazon Web Services Region that the `awslogs` log driver - is to send your Docker logs to. You can choose to send all of your - logs from clusters in different Regions to a single region in - CloudWatch Logs. This is so that they're all visible in one location. - Otherwise, you can separate them by Region for more granularity. Make - sure that the specified log group exists in the Region that you - specify with this option. - - awslogs-group - - : Required: Yes - - Make sure to specify a log group that the `awslogs` log driver sends - its log streams to. - - awslogs-stream-prefix - - : Required: Yes, when using Fargate.Optional when using EC2. - - Use the `awslogs-stream-prefix` option to associate a log stream with - the specified prefix, the container name, and the ID of the Amazon ECS - task that the container belongs to. If you specify a prefix with this - option, then the log stream takes the format - `prefix-name/container-name/ecs-task-id`. - - If you don't specify a prefix with this option, then the log stream - is named after the container ID that's assigned by the Docker daemon - on the container instance. Because it's difficult to trace logs back - to the container that sent them with just the Docker container ID - (which is only available on the container instance), we recommend that - you specify a prefix with this option. - - For Amazon ECS services, you can use the service name as the prefix. - Doing so, you can trace log streams to the service that the container - belongs to, the name of the container that sent them, and the ID of - the task that the container belongs to. - - You must specify a stream-prefix for your logs to have your logs - appear in the Log pane when using the Amazon ECS console. - - awslogs-datetime-format - - : Required: No - - This option defines a multiline start pattern in Python `strftime` - format. A log message consists of a line that matches the pattern and - any following lines that don't match the pattern. The matched line is - the delimiter between log messages. - - One example of a use case for using this format is for parsing output - such as a stack dump, which might otherwise be logged in multiple - entries. The correct pattern allows it to be captured in a single - entry. - - For more information, see - [awslogs-datetime-format](https://docs.docker.com/config/containers/logging/awslogs/#awslogs-datetime-format). - - You cannot configure both the `awslogs-datetime-format` and - `awslogs-multiline-pattern` options. - - Note: - Multiline logging performs regular expression parsing and matching of - all log messages. This might have a negative impact on logging - performance. - - awslogs-multiline-pattern - - : Required: No - - This option defines a multiline start pattern that uses a regular - expression. A log message consists of a line that matches the pattern - and any following lines that don't match the pattern. The matched line - is the delimiter between log messages. - - For more information, see - [awslogs-multiline-pattern](https://docs.docker.com/config/containers/logging/awslogs/#awslogs-multiline-pattern). - - This option is ignored if `awslogs-datetime-format` is also - configured. - - You cannot configure both the `awslogs-datetime-format` and - `awslogs-multiline-pattern` options. - - Note: - Multiline logging performs regular expression parsing and matching of - all log messages. This might have a negative impact on logging - performance. - - The following options apply to all supported log drivers. - - mode - - : Required: No - - Valid values: `non-blocking` | `blocking` - - This option defines the delivery mode of log messages from the - container to the log driver specified using `logDriver`. The delivery - mode you choose affects application availability when the flow of logs - from container is interrupted. - - If you use the `blocking` mode and the flow of logs is interrupted, - calls from container code to write to the `stdout` and `stderr` - streams will block. The logging thread of the application will block - as a result. This may cause the application to become unresponsive and - lead to container healthcheck failure. - - If you use the `non-blocking` mode, the container's logs are instead - stored in an in-memory intermediate buffer configured with the - `max-buffer-size` option. This prevents the application from becoming - unresponsive when logs cannot be sent. We recommend using this mode if - you want to ensure service availability and are okay with some log - loss. For more information, see [Preventing log loss with non-blocking - mode in the `awslogs` container log - driver](http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/). - - You can set a default `mode` for all containers in a specific Amazon - Web Services Region by using the `defaultLogDriverMode` account - setting. If you don't specify the `mode` option or configure the - account setting, Amazon ECS will default to the `non-blocking` mode. - For more information about the account setting, see [Default log - driver - mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#default-log-driver-mode) - in the *Amazon Elastic Container Service Developer Guide*. - - Note: - On June 25, 2025, Amazon ECS changed the default log driver mode from - `blocking` to `non-blocking` to prioritize task availability over - logging. To continue using the `blocking` mode after this change, do - one of the following: - - - Set the `mode` option in your container definition's - `logConfiguration` as `blocking`. - - - Set the `defaultLogDriverMode` account setting to `blocking`. - - max-buffer-size - - : Required: No - - Default value: `10m` - - When `non-blocking` mode is used, the `max-buffer-size` log option - controls the size of the buffer that's used for intermediate message - storage. Make sure to specify an adequate buffer size based on your - application. When the buffer fills up, further logs cannot be stored. - Logs that cannot be stored are lost. - - To route logs using the `splunk` log router, you need to specify a - `splunk-token` and a `splunk-url`. - - When you use the `awsfirelens` log router to route logs to an Amazon Web - Services Service or Amazon Web Services Partner Network destination for - log storage and analytics, you can set the `log-driver-buffer-limit` - option to limit the number of events that are buffered in memory, before - being sent to the log router container. It can help to resolve potential - log loss issue because high throughput might result in memory running - out for the buffer inside of Docker. - - Other options you can specify when using `awsfirelens` to route logs - depend on the destination. When you export logs to Amazon Data Firehose, - you can specify the Amazon Web Services Region with `region` and a name - for the log stream with `delivery_stream`. - - When you export logs to Amazon Kinesis Data Streams, you can specify an - Amazon Web Services Region with `region` and a data stream name with - `stream`. - - When you export logs to Amazon OpenSearch Service, you can specify - options like `Name`, `Host` (OpenSearch Service endpoint without - protocol), `Port`, `Index`, `Type`, `Aws_auth`, `Aws_region`, - `Suppress_Type_Name`, and `tls`. For more information, see [Under the - hood: FireLens for Amazon ECS - Tasks](http://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/). - - When you export logs to Amazon S3, you can specify the bucket using the - `bucket` option. You can also specify `region`, `total_file_size`, - `upload_timeout`, and `use_put_object` as options. - - This parameter requires version 1.19 of the Docker Remote API or greater - on your container instance. To check the Docker Remote API version on - your container instance, log in to your container instance and run the - following command: - `sudo docker version --format '{{.Server.APIVersion}}'` - """ - secret_options: list[Secret] | None = ... - """ - The secrets to pass to the log configuration. For more information, see - [Specifying sensitive - data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - -class LogDriver(UnknownEnumMixin, StrEnum): - JSON_FILE = "json-file" - SYSLOG = "syslog" - JOURNALD = "journald" - GELF = "gelf" - FLUENTD = "fluentd" - AWSLOGS = "awslogs" - SPLUNK = "splunk" - AWSFIRELENS = "awsfirelens" - -@dataclass(kw_only=True) -class LogDriverVolumeConfiguration(_SerdeShape): - """ - The configuration for a log driver volume in a daemon task definition. - The volume contains the log files for each container on the container - instance that uses the specified log driver in its `logConfiguration`. - Containers that use a different log driver don't write log files to the - volume. - - For the `json-file` log driver, the volume has one directory for each - container, named with the container ID. Each directory contains the - container's log file, `-json.log`, and any rotated log - files. After a container stops and Amazon ECS removes it, Amazon ECS - deletes the container's directory. Read the log files before the - container is removed. - """ - - driver: str - """ - The log driver whose log files the volume contains. The only supported - value is `json-file`. - """ - -@dataclass(kw_only=True) -class ManagedAgent(_SerdeShape): - """Details about the managed agent status for the container.""" - - last_started_at: datetime | None = ... - """The Unix timestamp for the time when the managed agent was last started.""" - name: str | None = ... - """ - The name of the managed agent. When the execute command feature is - turned on, the managed agent name is `ExecuteCommandAgent`. - """ - reason: str | None = ... - """The reason for why the managed agent is in the state it is in.""" - last_status: str | None = ... - """The last known status of the managed agent.""" - -class ManagedAgentName(UnknownEnumMixin, StrEnum): - EXECUTE_COMMAND_AGENT = "ExecuteCommandAgent" - -@dataclass(kw_only=True) -class ManagedAgentStateChange(_SerdeShape): - """An object representing a change in state for a managed agent.""" - - container_name: str - """The name of the container that's associated with the managed agent.""" - managed_agent_name: str - """The name of the managed agent.""" - status: str - """The status of the managed agent.""" - reason: str | None = ... - """The reason for the status of the managed agent.""" - -@dataclass(kw_only=True) -class ManagedApplicationAutoScalingPolicy(_SerdeShape): - """ - The Application Auto Scaling policy created by Amazon ECS when you - create an Express service. - """ - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Application Auto Scaling policy - associated with the Express service. - """ - status: str - """The status of Application Auto Scaling policy creation.""" - status_reason: str | None = ... - """ - Information about why the Application Auto Scaling policy is in the - current status. - """ - updated_at: datetime - """ - The Unix timestamp for when the Application Auto Scaling policy was last - updated. - """ - policy_type: str - """ - The type of Application Auto Scaling policy associated with the Express - service. Valid values are `TargetTrackingScaling`, `StepScaling`, and - `PredictiveScaling`. - """ - target_value: float = ... - """The target value for the auto scaling metric.""" - metric: str - """ - The metric used for auto scaling decisions. The available metrics are - `ECSServiceAverageCPUUtilization`, `ECSServiceAverageMemoryUtilization`, - and `ALBRequestCOuntPerTarget`. - """ - -@dataclass(kw_only=True) -class ManagedAutoScaling(_SerdeShape): - """ - The auto scaling configuration created by Amazon ECS for an Express - service. - """ - - scalable_target: ManagedScalableTarget | None = ... - """Represents a scalable target.""" - application_auto_scaling_policies: ( - list[ManagedApplicationAutoScalingPolicy] | None - ) = ... - """The policy used for auto scaling.""" - -@dataclass(kw_only=True) -class ManagedCertificate(_SerdeShape): - """ - The ACM certificate associated with the HTTPS domain created for the - Express service. - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the ACM certificate.""" - status: str - """The status of the ACM; certificate.""" - status_reason: str | None = ... - """Information about why the ACM certificate is in the current status.""" - updated_at: datetime - """The Unix timestamp for when the ACM certificate was last updated""" - domain_name: str - """ - The fully qualified domain name (FQDN) that is secured with this ACM - certificate. - """ - -class ManagedDraining(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class ManagedIngressPath(_SerdeShape): - """The entry point into the Express service.""" - - access_type: str - """The type of access to the endpoint for the Express service.""" - endpoint: str - """The endpoint for access to the Express service.""" - load_balancer: ManagedLoadBalancer | None = ... - """The Application Load Balancer associated with the Express service.""" - load_balancer_security_groups: list[ManagedSecurityGroup] | None = ... - """The security groups associated with the Application Load Balancer.""" - certificate: ManagedCertificate | None = ... - """The ACM certificate for the Express service's domain.""" - listener: ManagedListener | None = ... - """The listeners associated with the Application Load Balancer.""" - rule: ManagedListenerRule | None = ... - """The listener rules for the Application Load Balancer.""" - target_groups: list[ManagedTargetGroup] | None = ... - """The target groups associated with the Application Load Balancer.""" - -@dataclass(kw_only=True) -class ManagedInstancesLocalStorageConfiguration(_SerdeShape): - """ - The local storage configuration for Amazon ECS Managed Instances. This - defines how ECS uses and configures instance store volumes available on - container instance. - """ - - use_local_storage: bool = ... - """ - Use instance store volumes for data storage when available. EBS volumes - are not provisioned for data storage. If the container instance has - multiple instance store volumes, a single data volume is created. - Consider defining instance store requirements using the `localStorage`, - `localStorageTypes` and `totalLocalStorageGB` properties. - """ - -class ManagedInstancesMonitoringOptions(UnknownEnumMixin, StrEnum): - BASIC = "BASIC" - DETAILED = "DETAILED" - -@dataclass(kw_only=True) -class ManagedInstancesNetworkConfiguration(_SerdeShape): - """ - The network configuration for Amazon ECS Managed Instances. This - specifies the VPC subnets and security groups that instances use for - network connectivity. Amazon ECS Managed Instances support multiple - network modes including `awsvpc` (instances receive ENIs for task - isolation), `host` (instances share network namespace with tasks), and - `none` (no external network connectivity), ensuring backward - compatibility for migrating workloads from Fargate or Amazon EC2. - """ - - subnets: list[str] | None = ... - """ - The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed - Instances. Instances are distributed across the specified subnets for - high availability. All subnets must be in the same VPC. - """ - security_groups: list[str] | None = ... - """ - The list of security group IDs to apply to Amazon ECS Managed Instances. - These security groups control the network traffic allowed to and from - the instances. - """ - -@dataclass(kw_only=True) -class ManagedInstancesProvider(_SerdeShape): - """ - The configuration for a Amazon ECS Managed Instances provider. Amazon - ECS uses this configuration to automatically launch, manage, and - terminate Amazon EC2 instances on your behalf. Managed instances provide - access to the full range of Amazon EC2 instance types and features while - offloading infrastructure management to Amazon Web Services. - """ - - infrastructure_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the infrastructure role that Amazon - ECS assumes to manage instances. This role must include permissions for - Amazon EC2 instance lifecycle management, networking, and any additional - Amazon Web Services services required for your workloads. - - For more information, see [Amazon ECS infrastructure IAM - role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) - in the *Amazon ECS Developer Guide*. - """ - instance_launch_template: InstanceLaunchTemplate | None = ... - """ - The launch template that defines how Amazon ECS launches Amazon ECS - Managed Instances. This includes the instance profile for your tasks, - network and storage configuration, and instance requirements that - determine which Amazon EC2 instance types can be used. - - For more information, see [Store instance launch parameters in Amazon - EC2 launch - templates](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) - in the *Amazon EC2 User Guide*. - """ - propagate_tags: str | None = ... - """ - Determines whether tags from the capacity provider are automatically - applied to Amazon ECS Managed Instances. This helps with cost allocation - and resource management by ensuring consistent tagging across your - infrastructure. - """ - infrastructure_optimization: InfrastructureOptimization | None = ... - """ - Defines how Amazon ECS Managed Instances optimizes the infrastastructure - in your capacity provider. Configure it to turn on or off the - infrastructure optimization in your capacity provider, and to control - the idle or underutilized EC2 instances optimization delay. - """ - auto_repair_configuration: AutoRepairConfiguration | None = ... - """ - The auto repair configuration for the Amazon ECS Managed Instances - capacity provider. Indicates whether Amazon ECS automatically replaces - container instances that are detected as unhealthy. - """ - -@dataclass(kw_only=True) -class ManagedInstancesStorageConfiguration(_SerdeShape): - """ - The storage configuration for Amazon ECS Managed Instances. This defines - the data volume configuration for the instances. - """ - - storage_size_gi_b: int | None = ... - """The size of the data volume.""" - -@dataclass(kw_only=True) -class ManagedListener(_SerdeShape): - """ - The listeners associated with the Express service's Application Load - Balancer. - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the load balancer listener.""" - status: str - """The status of the load balancer listener.""" - status_reason: str | None = ... - """ - Informaion about why the load balancer listener is in the current - status. - """ - updated_at: datetime - """The Unix timestamp for when this listener was most recently updated.""" - -@dataclass(kw_only=True) -class ManagedListenerRule(_SerdeShape): - """ - The listener rule associated with the Express service's Application - Load Balancer. - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the load balancer listener rule.""" - status: str - """The status of the load balancer listener rule.""" - status_reason: str | None = ... - """ - Information about why the load balancer listener rule is in the current - status. - """ - updated_at: datetime - """ - The Unix timestamp for when this listener rule was most recently - updated. - """ - -@dataclass(kw_only=True) -class ManagedLoadBalancer(_SerdeShape): - """The Application Load Balancer associated with the Express service.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the load balancer.""" - status: str - """The status of the load balancer.""" - status_reason: str | None = ... - """Information about why the load balancer is in the current status.""" - updated_at: datetime - """ - The Unix timestamp for when this load balancer was most recently - updated. - """ - scheme: str - """ - The scheme of the load balancer. By default, the scheme of the load - balancer is `internet-facing`. - """ - subnet_ids: list[str] | None = ... - """The IDs of the subnets associated with the load balancer.""" - security_group_ids: list[str] | None = ... - """The IDs of the security groups associated with the load balancer.""" - -@dataclass(kw_only=True) -class ManagedLogGroup(_SerdeShape): - """The Cloudwatch Log Group created by Amazon ECS for an Express service.""" - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Cloudwatch Log Group associated - with the Express service. - """ - status: str - """The status of the Cloudwatch LogGroup.""" - status_reason: str | None = ... - """Information about why the Cloudwatch LogGroup is in the current status.""" - updated_at: datetime - """The Unix timestamp for when the Cloudwatch LogGroup was last updated""" - log_group_name: str - """ - The name of the Cloudwatch Log Group associated with the Express - service. - """ - -@dataclass(kw_only=True) -class ManagedMetricAlarm(_SerdeShape): - """ - The CloudWatch metric alarm associated with the Express service's - scaling policy. - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the CloudWatch metric alarm.""" - status: str - """The status of the CloudWatch metric alarm.""" - status_reason: str | None = ... - """ - Information about why the CloudWatch metric alarm is in the current - status. - """ - updated_at: datetime - """ - The Unix timestamp for when the CloudWatch metric alarm was last - updated. - """ - -class ManagedResourceStatus(UnknownEnumMixin, StrEnum): - PROVISIONING = "PROVISIONING" - ACTIVE = "ACTIVE" - DEPROVISIONING = "DEPROVISIONING" - DELETED = "DELETED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class ManagedScalableTarget(_SerdeShape): - """Represents a scalable target.""" - - arn: str | None = ... - """The ARN of the scalable target.""" - status: str - """The status of the scalable target.""" - status_reason: str | None = ... - """Information about why the scalable target is in the current status.""" - updated_at: datetime - """The Unix timestamp for when the target was most recently updated.""" - min_capacity: int = ... - """The minimum value to scale to in response to a scale-in activity.""" - max_capacity: int = ... - """The maximum value to scale to in response to a scale-out activity.""" - -@dataclass(kw_only=True) -class ManagedScaling(_SerdeShape): - """ - The managed scaling settings for the Auto Scaling group capacity - provider. - - When managed scaling is turned on, Amazon ECS manages the scale-in and - scale-out actions of the Auto Scaling group. Amazon ECS manages a target - tracking scaling policy using an Amazon ECS managed CloudWatch metric - with the specified `targetCapacity` value as the target value for the - metric. For more information, see [Using managed - scaling](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling) - in the *Amazon Elastic Container Service Developer Guide*. - - If managed scaling is off, the user must manage the scaling of the Auto - Scaling group. - """ - - status: str | None = ... - """Determines whether to use managed scaling for the capacity provider.""" - target_capacity: int | None = ... - """ - The target capacity utilization as a percentage for the capacity - provider. The specified value must be greater than `0` and less than or - equal to `100`. For example, if you want the capacity provider to - maintain 10% spare capacity, then that means the utilization is 90%, so - use a `targetCapacity` of `90`. The default value of `100` percent - results in the Amazon EC2 instances in your Auto Scaling group being - completely used. - """ - minimum_scaling_step_size: int | None = ... - """ - The minimum number of Amazon EC2 instances that Amazon ECS will scale - out at one time. The scale in process is not affected by this parameter - If this parameter is omitted, the default value of `1` is used. - - When additional capacity is required, Amazon ECS will scale up the - minimum scaling step size even if the actual demand is less than the - minimum scaling step size. - """ - maximum_scaling_step_size: int | None = ... - """ - The maximum number of Amazon EC2 instances that Amazon ECS will scale - out at one time. If this parameter is omitted, the default value of - `10000` is used. - """ - instance_warmup_period: int | None = ... - """ - The period of time, in seconds, after a newly launched Amazon EC2 - instance can contribute to CloudWatch metrics for Auto Scaling group. If - this parameter is omitted, the default value of `300` seconds is used. - """ - -class ManagedScalingStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class ManagedSecurityGroup(_SerdeShape): - """A security group associated with the Express service.""" - - arn: str | None = ... - """The ARN of the security group.""" - status: str - """The status of the security group.""" - status_reason: str | None = ... - """Information about why the security group is in the current status.""" - updated_at: datetime - """The Unix timestamp for when the security group was last updated.""" - -@dataclass(kw_only=True) -class ManagedStorageConfiguration(_SerdeShape): - """The managed storage configuration for the cluster.""" - - kms_key_id: str | None = ... - """ - Specify a Key Management Service key ID to encrypt Amazon ECS managed - storage. - - When you specify a `kmsKeyId`, Amazon ECS uses the key to encrypt data - volumes managed by Amazon ECS that are attached to tasks in the cluster. - The following data volumes are managed by Amazon ECS: Amazon EBS. For - more information about encryption of Amazon EBS volumes attached to - Amazon ECS tasks, see [Encrypt data stored in Amazon EBS volumes for - Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html) - in the *Amazon Elastic Container Service Developer Guide*. - - The key must be a single Region key. - """ - fargate_ephemeral_storage_kms_key_id: str | None = ... - """ - Specify the Key Management Service key ID for Fargate ephemeral storage. - - When you specify a `fargateEphemeralStorageKmsKeyId`, Amazon Web - Services Fargate uses the key to encrypt data at rest in ephemeral - storage. For more information about Fargate ephemeral storage - encryption, see [Customer managed keys for Amazon Web Services Fargate - ephemeral storage for Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-storage-encryption.html) - in the *Amazon Elastic Container Service Developer Guide*. - - The key must be a single Region key. - """ - -@dataclass(kw_only=True) -class ManagedTargetGroup(_SerdeShape): - """ - The target group associated with the Express service's Application Load - Balancer. For more information about load balancer target groups, see - [CreateTargetGroup](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html) - in the *Elastic Load Balancing API Reference* - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the target group.""" - status: str - """The status of the target group.""" - status_reason: str | None = ... - """Information about why the target group is in the current status.""" - updated_at: datetime - """The Unix timestamp for when the target group was last updated.""" - health_check_path: str - """The destination for health checks on the targets.""" - health_check_port: int = ... - """ - The port the load balancer uses when performing health checks on - targets. - """ - port: int = ... - """The port on which the targets receive traffic.""" - -class ManagedTerminationProtection(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class MemoryGiBPerVCpuRequest(_SerdeShape): - """ - The minimum and maximum amount of memory per vCPU in gibibytes (GiB). - This helps ensure that instance types have the appropriate memory-to-CPU - ratio for your workloads. - """ - - min: float | None = ... - """ - The minimum amount of memory per vCPU in GiB. Instance types with a - lower memory-to-vCPU ratio are excluded from selection. - """ - max: float | None = ... - """ - The maximum amount of memory per vCPU in GiB. Instance types with a - higher memory-to-vCPU ratio are excluded from selection. - """ - -@dataclass(kw_only=True) -class MemoryMiBRequest(_SerdeShape): - """ - The minimum and maximum amount of memory in mebibytes (MiB) for instance - type selection. This ensures that selected instance types have adequate - memory for your workloads. - """ - - min: int - """ - The minimum amount of memory in MiB. Instance types with less memory - than this value are excluded from selection. - """ - max: int | None = ... - """ - The maximum amount of memory in MiB. Instance types with more memory - than this value are excluded from selection. - """ - -@dataclass(kw_only=True) -class MetricConfiguration(_SerdeShape): - """ - The configuration for a specific set of metrics to collect for a - service. - """ - - metric_names: list[str] - """ - The list of metric names to configure. The supported metric names are - `CPUUtilization` and `MemoryUtilization`. - """ - resolution_seconds: int - """ - The resolution, in seconds, at which to collect the metrics. The valid - values are `20` and `60`. - """ - -@dataclass(kw_only=True) -class MissingVersionException(ServiceError, _SerdeShape): - """ - Amazon ECS can't determine the current version of the Amazon ECS - container agent on the container instance and doesn't have enough - information to proceed with an update. This could be because the agent - running on the container instance is a previous or custom version that - doesn't use our version information. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class MonitoringConfiguration(_SerdeShape): - """ - The optional monitoring configuration for a service, which defines the - resolution for the service-level `CPUUtilization` and - `MemoryUtilization` Amazon CloudWatch metrics. When not specified, - Amazon ECS uses the default resolution of `60` seconds. - """ - - metric_configurations: list[MetricConfiguration] | None = ... - """The list of metric configurations for the service monitoring.""" - -@dataclass(kw_only=True) -class MountPoint(_SerdeShape): - """ - The details for a volume mount point that's used in a container - definition. - """ - - source_volume: str | None = ... - """ - The name of the volume to mount. Must be a volume name referenced in the - `name` parameter of task definition `volume`. - """ - container_path: str | None = ... - """The path on the container to mount the host volume at.""" - read_only: bool | None = ... - """ - If this value is `true`, the container has read-only access to the - volume. If this value is `false`, then the container can write to the - volume. The default value is `false`. - """ - -@dataclass(kw_only=True) -class NamespaceNotFoundException(ServiceError, _SerdeShape): - """The specified namespace wasn't found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NetworkBandwidthGbpsRequest(_SerdeShape): - """ - The minimum and maximum network bandwidth in gigabits per second (Gbps) - for instance type selection. This is important for network-intensive - workloads. - """ - - min: float | None = ... - """ - The minimum network bandwidth in Gbps. Instance types with lower network - bandwidth are excluded from selection. - """ - max: float | None = ... - """ - The maximum network bandwidth in Gbps. Instance types with higher - network bandwidth are excluded from selection. - """ - -@dataclass(kw_only=True) -class NetworkBinding(_SerdeShape): - """ - Details on the network bindings between a container and its host - container instance. After a task reaches the `RUNNING` status, manual - and automatic host and container port assignments are visible in the - `networkBindings` section of - [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) - API responses. - """ - - bind_ip: str | None = ... - """The IP address that the container is bound to on the container instance.""" - container_port: int | None = ... - """The port number on the container that's used with the network binding.""" - host_port: int | None = ... - """The port number on the host that's used with the network binding.""" - protocol: str | None = ... - """The protocol used for the network binding.""" - container_port_range: str | None = ... - """ - The port number range on the container that's bound to the dynamically - mapped host port range. - - The following rules apply when you specify a `containerPortRange`: - - - You must use either the `bridge` network mode or the `awsvpc` network - mode. - - - This parameter is available for both the EC2 and Fargate launch types. - - - This parameter is available for both the Linux and Windows operating - systems. - - - The container instance must have at least version 1.67.0 of the - container agent and at least version 1.67.0-1 of the `ecs-init` - package - - - You can specify a maximum of 100 port ranges per container. - - - You do not specify a `hostPortRange`. The value of the `hostPortRange` - is set as follows: - - - For containers in a task with the `awsvpc` network mode, the - `hostPortRange` is set to the same value as the - `containerPortRange`. This is a static mapping strategy. - - - For containers in a task with the `bridge` network mode, the Amazon - ECS agent finds open host ports from the default ephemeral range and - passes it to docker to bind them to the container ports. - - - The `containerPortRange` valid values are between 1 and 65535. - - - A port can only be included in one port mapping per container. - - - You cannot specify overlapping port ranges. - - - The first port in the range must be less than last port in the range. - - - Docker recommends that you turn off the docker-proxy in the Docker - daemon config file when you have a large number of ports. - - For more information, see [Issue - #11185](https://github.com/moby/moby/issues/11185) on the Github - website. - - For information about how to turn off the docker-proxy in the Docker - daemon config file, see [Docker - daemon](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon) - in the *Amazon ECS Developer Guide*. - - You can call - [`DescribeTasks`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) - to view the `hostPortRange` which are the host ports that are bound to - the container ports. - """ - host_port_range: str | None = ... - """ - The port number range on the host that's used with the network binding. - This is assigned is assigned by Docker and delivered by the Amazon ECS - agent. - """ - -@dataclass(kw_only=True) -class NetworkConfiguration(_SerdeShape): - """The network configuration for a task or service.""" - - awsvpc_configuration: AwsVpcConfiguration | None = ... - """ - The VPC subnets and security groups that are associated with a task. - - Note: - All specified subnets and security groups must be from the same VPC. - """ - -@dataclass(kw_only=True) -class NetworkInterface(_SerdeShape): - """ - An object representing the elastic network interface for tasks that use - the `awsvpc` network mode. - """ - - attachment_id: str | None = ... - """The attachment ID for the network interface.""" - private_ipv4_address: str | None = ... - """The private IPv4 address for the network interface.""" - ipv6_address: str | None = ... - """The private IPv6 address for the network interface.""" - -@dataclass(kw_only=True) -class NetworkInterfaceCountRequest(_SerdeShape): - """ - The minimum and maximum number of network interfaces for instance type - selection. This is useful for workloads that require multiple network - interfaces. - """ - - min: int | None = ... - """ - The minimum number of network interfaces. Instance types that support - fewer network interfaces are excluded from selection. - """ - max: int | None = ... - """ - The maximum number of network interfaces. Instance types that support - more network interfaces are excluded from selection. - """ - -class NetworkMode(UnknownEnumMixin, StrEnum): - BRIDGE = "bridge" - HOST = "host" - AWSVPC = "awsvpc" - NONE = "none" - -@dataclass(kw_only=True) -class NoUpdateAvailableException(ServiceError, _SerdeShape): - """ - There's no update available for this Amazon ECS container agent. This - might be because the agent is already running the latest version or - because it's so old that there's no update path to the current - version. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NvidiaMpsAllocation(_SerdeShape): - """ - The GPU memory and compute limits for a container that shares a GPU by - using NVIDIA Multi-Process Service (MPS). Amazon ECS assigns the - container a single GPU that has enough memory available. Other - containers that use MPS can share the same GPU. - """ - - memory: int - """ - The amount of GPU memory, in MiB, to allocate to the container. Amazon - ECS assigns the container a GPU that has at least the specified amount - of memory available, and sets the `CUDA_MPS_PINNED_DEVICE_MEM_LIMIT` - environment variable in the container to limit its memory to this - amount. The memory must be available on a single GPU. If more than one - container in a task uses `nvidiaMps`, Amazon ECS assigns them the same - GPU, which must have enough memory available for all of them. - """ - max_compute_percent: int | None = ... - """ - The maximum percentage of the GPU's compute capacity that the container - can use. Amazon ECS sets the `CUDA_MPS_ACTIVE_THREAD_PERCENTAGE` - environment variable in the container to this value. This value is a - limit, not a reservation. - - If you don't specify this parameter, Amazon ECS doesn't set - `CUDA_MPS_ACTIVE_THREAD_PERCENTAGE`, and the active thread percentage of - the MPS server on the container instance applies. By default, this is - 100 percent. - """ - -class OSFamily(UnknownEnumMixin, StrEnum): - WINDOWS_SERVER_2019_FULL = "WINDOWS_SERVER_2019_FULL" - WINDOWS_SERVER_2019_CORE = "WINDOWS_SERVER_2019_CORE" - WINDOWS_SERVER_2016_FULL = "WINDOWS_SERVER_2016_FULL" - WINDOWS_SERVER_2004_CORE = "WINDOWS_SERVER_2004_CORE" - WINDOWS_SERVER_2022_CORE = "WINDOWS_SERVER_2022_CORE" - WINDOWS_SERVER_2022_FULL = "WINDOWS_SERVER_2022_FULL" - WINDOWS_SERVER_2025_CORE = "WINDOWS_SERVER_2025_CORE" - WINDOWS_SERVER_2025_FULL = "WINDOWS_SERVER_2025_FULL" - WINDOWS_SERVER_20_H2_CORE = "WINDOWS_SERVER_20H2_CORE" - LINUX = "LINUX" - -class PidMode(UnknownEnumMixin, StrEnum): - HOST = "host" - TASK = "task" - -@dataclass(kw_only=True) -class PlacementConstraint(_SerdeShape): - """ - An object representing a constraint on task placement. For more - information, see [Task placement - constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Note: - If you're using the Fargate launch type, task placement constraints - aren't supported. - """ - - type: str | None = ... - """ - The type of constraint. Use `distinctInstance` to ensure that each task - in a particular group is running on a different container instance. Use - `memberOf` to restrict the selection to a group of valid candidates. - """ - expression: str | None = ... - """ - A cluster query language expression to apply to the constraint. The - expression can have a maximum length of 2000 characters. You can't - specify an expression if the constraint type is `distinctInstance`. For - more information, see [Cluster query - language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - -class PlacementConstraintType(UnknownEnumMixin, StrEnum): - DISTINCT_INSTANCE = "distinctInstance" - MEMBER_OF = "memberOf" - -@dataclass(kw_only=True) -class PlacementStrategy(_SerdeShape): - """ - The task placement strategy for a task or service. For more information, - see [Task placement - strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - type: str | None = ... - """ - The type of placement strategy. The `random` placement strategy randomly - places tasks on available candidates. The `spread` placement strategy - spreads placement across available candidates evenly based on the - `field` parameter. The `binpack` strategy places tasks on available - candidates that have the least available amount of the resource that's - specified with the `field` parameter. For example, if you binpack on - memory, a task is placed on the instance with the least amount of - remaining memory but still enough to run the task. - """ - field: str | None = ... - """ - The field to apply the placement strategy against. For the `spread` - placement strategy, valid values are `instanceId` (or `host`, which has - the same effect), or any platform or custom attribute that's applied to - a container instance, such as `attribute:ecs.availability-zone`. For the - `binpack` placement strategy, valid values are `cpu` and `memory`. For - the `random` placement strategy, this field is not used. - """ - -class PlacementStrategyType(UnknownEnumMixin, StrEnum): - RANDOM = "random" - SPREAD = "spread" - BINPACK = "binpack" - -@dataclass(kw_only=True) -class PlatformDevice(_SerdeShape): - """ - The devices that are available on the container instance. The supported - device types are GPUs and Neuron devices. - """ - - id: str - """ - The ID for the GPU or Neuron device on the container instance. For GPUs, - the available GPU IDs can also be obtained on the container instance in - the `/var/lib/ecs/gpu/nvidia_gpu_info.json` file. For Neuron devices, - the ID corresponds to the device index (for example, `0` for - `/dev/neuron0`). - """ - type: str - """ - The type of device that's available on the container instance. The - supported values are `GPU` and `NEURON_DEVICE`. - """ - -class PlatformDeviceType(UnknownEnumMixin, StrEnum): - GPU = "GPU" - NEURON_DEVICE = "NEURON_DEVICE" - -@dataclass(kw_only=True) -class PlatformTaskDefinitionIncompatibilityException(ServiceError, _SerdeShape): - """ - The specified platform version doesn't satisfy the required - capabilities of the task definition. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PlatformUnknownException(ServiceError, _SerdeShape): - """The specified platform version doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PortMapping(_SerdeShape): - """ - Port mappings allow containers to access ports on the host container - instance to send or receive traffic. Port mappings are specified as part - of the container definition. - - If you use containers in a task with the `awsvpc` or `host` network - mode, specify the exposed ports using `containerPort`. The `hostPort` - can be left blank or it must be the same value as the `containerPort`. - - Most fields of this parameter (`containerPort`, `hostPort`, `protocol`) - maps to `PortBindings` in the docker container create command and the - `--publish` option to `docker run`. If the network mode of a task - definition is set to `host`, host ports must either be undefined or - match the container port in the port mapping. - - Note: - You can't expose the same container port for multiple protocols. If you - attempt this, an error is returned. - - After a task reaches the `RUNNING` status, manual and automatic host and - container port assignments are visible in the `networkBindings` section - of - [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) - API responses. - """ - - container_port: int | None = ... - """ - The port number on the container that's bound to the user-specified or - automatically assigned host port. - - If you use containers in a task with the `awsvpc` or `host` network - mode, specify the exposed ports using `containerPort`. - - If you use containers in a task with the `bridge` network mode and you - specify a container port and not a host port, your container - automatically receives a host port in the ephemeral port range. For more - information, see `hostPort`. Port mappings that are automatically - assigned in this way do not count toward the 100 reserved ports limit of - a container instance. - """ - host_port: int | None = ... - """ - The port number on the container instance to reserve for your container. - - If you specify a `containerPortRange`, leave this field empty and the - value of the `hostPort` is set as follows: - - - For containers in a task with the `awsvpc` network mode, the - `hostPort` is set to the same value as the `containerPort`. This is a - static mapping strategy. - - - For containers in a task with the `bridge` network mode, the Amazon - ECS agent finds open ports on the host and automatically binds them to - the container ports. This is a dynamic mapping strategy. - - If you use containers in a task with the `awsvpc` or `host` network - mode, the `hostPort` can either be left blank or set to the same value - as the `containerPort`. - - If you use containers in a task with the `bridge` network mode, you can - specify a non-reserved host port for your container port mapping, or you - can omit the `hostPort` (or set it to `0`) while specifying a - `containerPort` and your container automatically receives a port in the - ephemeral port range for your container instance operating system and - Docker version. - - The default ephemeral port range for Docker version 1.6.0 and later is - listed on the instance under `/proc/sys/net/ipv4/ip_local_port_range`. - If this kernel parameter is unavailable, the default ephemeral port - range from 49153 through 65535 (Linux) or 49152 through 65535 (Windows) - is used. Do not attempt to specify a host port in the ephemeral port - range as these are reserved for automatic assignment. In general, ports - below 32768 are outside of the ephemeral port range. - - The default reserved ports are 22 for SSH, the Docker ports 2375 and - 2376, and the Amazon ECS container agent ports 51678-51680. Any host - port that was previously specified in a running task is also reserved - while the task is running. That is, after a task stops, the host port is - released. The current reserved ports are displayed in the - `remainingResources` of - [DescribeContainerInstances](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeContainerInstances.html) - output. A container instance can have up to 100 reserved ports at a - time. This number includes the default reserved ports. Automatically - assigned ports aren't included in the 100 reserved ports quota. - """ - protocol: str | None = ... - """ - The protocol that's used for the port mapping. Valid values are `tcp` - and `udp` (case-sensitive). The default is `tcp`. Amazon ECS treats any - other specified value as `tcp`. `protocol` is immutable in a Service - Connect service. To update this field, you must delete and redeploy the - service. - """ - name: str | None = ... - """ - The name that's used for the port mapping. This parameter is the name - that you use in the `serviceConnectConfiguration` and the - `vpcLatticeConfigurations` of a service. The name can include up to 64 - characters. The characters can include lowercase letters, numbers, - underscores (_), and hyphens (-). The name can't start with a hyphen. - """ - app_protocol: str | None = ... - """ - The application protocol that's used for the port mapping. This - parameter only applies to Service Connect. We recommend that you set - this parameter to be consistent with the protocol that your application - uses. If you set this parameter, Amazon ECS adds protocol-specific - connection handling to the Service Connect proxy. If you set this - parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS - console and CloudWatch. - - If you don't set a value for this parameter, then TCP is used. However, - Amazon ECS doesn't add protocol-specific telemetry for TCP. - - `appProtocol` is immutable in a Service Connect service. Updating this - field requires a service deletion and redeployment. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - container_port_range: str | None = ... - """ - The port number range on the container that's bound to the dynamically - mapped host port range. - - The following rules apply when you specify a `containerPortRange`: - - - You must use either the `bridge` network mode or the `awsvpc` network - mode. - - - This parameter is available for both the EC2 and Fargate launch types. - - - This parameter is available for both the Linux and Windows operating - systems. - - - The container instance must have at least version 1.67.0 of the - container agent and at least version 1.67.0-1 of the `ecs-init` - package - - - You can specify a maximum of 100 port ranges per container. - - - You do not specify a `hostPortRange`. The value of the `hostPortRange` - is set as follows: - - - For containers in a task with the `awsvpc` network mode, the - `hostPortRange` is set to the same value as the - `containerPortRange`. This is a static mapping strategy. - - - For containers in a task with the `bridge` network mode, the Amazon - ECS agent finds open host ports from the default ephemeral range and - passes it to docker to bind them to the container ports. - - - The `containerPortRange` valid values are between 1 and 65535. - - - A port can only be included in one port mapping per container. - - - You cannot specify overlapping port ranges. - - - The first port in the range must be less than last port in the range. - - - Docker recommends that you turn off the docker-proxy in the Docker - daemon config file when you have a large number of ports. - - For more information, see [Issue - #11185](https://github.com/moby/moby/issues/11185) on the Github - website. - - For information about how to turn off the docker-proxy in the Docker - daemon config file, see [Docker - daemon](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon) - in the *Amazon ECS Developer Guide*. - - You can call - [`DescribeTasks`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) - to view the `hostPortRange` which are the host ports that are bound to - the container ports. - """ - -class PropagateGatewayTags(UnknownEnumMixin, StrEnum): - """ - Specifies whether the tags on a gateway are propagated to the - infrastructure that the gateway manages. - """ - - NONE = "NONE" - """Tags aren't propagated to managed infrastructure.""" - GATEWAY = "GATEWAY" - """ - Tags on the gateway are propagated to the infrastructure that the - gateway manages. - """ - -class PropagateMITags(UnknownEnumMixin, StrEnum): - CAPACITY_PROVIDER = "CAPACITY_PROVIDER" - NONE = "NONE" - -class PropagateTags(UnknownEnumMixin, StrEnum): - TASK_DEFINITION = "TASK_DEFINITION" - SERVICE = "SERVICE" - NONE = "NONE" - -@dataclass(kw_only=True) -class ProtectedTask(_SerdeShape): - """ - An object representing the protection status details for a task. You can - set the protection status with the - [UpdateTaskProtection](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateTaskProtection.html) - API and get the status of tasks with the - [GetTaskProtection](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_GetTaskProtection.html) - API. - """ - - task_arn: str | None = ... - """The task ARN.""" - protection_enabled: bool = ... - """ - The protection status of the task. If scale-in protection is on for a - task, the value is `true`. Otherwise, it is `false`. - """ - expiration_date: datetime | None = ... - """The epoch time when protection for the task will expire.""" - -@dataclass(kw_only=True) -class ProxyConfiguration(_SerdeShape): - """ - The configuration details for the App Mesh proxy. - - For tasks that use the EC2 launch type, the container instances require - at least version 1.26.0 of the container agent and at least version - 1.26.0-1 of the `ecs-init` package to use a proxy configuration. If your - container instances are launched from the Amazon ECS optimized AMI - version `20190301` or later, then they contain the required versions of - the container agent and `ecs-init`. For more information, see [Amazon - ECS-optimized Linux - AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) - """ - - type: str | None = ... - """The proxy type. The only supported value is `APPMESH`.""" - container_name: str - """The name of the container that will serve as the App Mesh proxy.""" - properties: list[KeyValuePair] | None = ... - """ - The set of network configuration parameters to provide the Container - Network Interface (CNI) plugin, specified as key-value pairs. - - - `IgnoredUID` - (Required) The user ID (UID) of the proxy container as - defined by the `user` parameter in a container definition. This is - used to ensure the proxy ignores its own traffic. If `IgnoredGID` is - specified, this field can be empty. - - - `IgnoredGID` - (Required) The group ID (GID) of the proxy container as - defined by the `user` parameter in a container definition. This is - used to ensure the proxy ignores its own traffic. If `IgnoredUID` is - specified, this field can be empty. - - - `AppPorts` - (Required) The list of ports that the application uses. - Network traffic to these ports is forwarded to the `ProxyIngressPort` - and `ProxyEgressPort`. - - - `ProxyIngressPort` - (Required) Specifies the port that incoming - traffic to the `AppPorts` is directed to. - - - `ProxyEgressPort` - (Required) Specifies the port that outgoing - traffic from the `AppPorts` is directed to. - - - `EgressIgnoredPorts` - (Required) The egress traffic going to the - specified ports is ignored and not redirected to the - `ProxyEgressPort`. It can be an empty list. - - - `EgressIgnoredIPs` - (Required) The egress traffic going to the - specified IP addresses is ignored and not redirected to the - `ProxyEgressPort`. It can be an empty list. - """ - -class ProxyConfigurationType(UnknownEnumMixin, StrEnum): - APPMESH = "APPMESH" - -@dataclass(kw_only=True) -class PutAccountSettingDefaultInput(_SerdeShape): - """Dataclass for PutAccountSettingDefaultInput structure.""" - - name: str | None = ... - """ - The resource name for which to modify the account setting. - - The following are the valid values for the account setting name. - - - `serviceLongArnFormat` - When modified, the Amazon Resource Name (ARN) - and resource ID format of the resource type for a specified user, - role, or the root user for an account is affected. The opt-in and - opt-out account setting must be set for each Amazon ECS resource - separately. The ARN and resource ID format of a resource is defined by - the opt-in status of the user or role that created the resource. You - must turn on this setting to use Amazon ECS features such as resource - tagging. - - - `taskLongArnFormat` - When modified, the Amazon Resource Name (ARN) - and resource ID format of the resource type for a specified user, - role, or the root user for an account is affected. The opt-in and - opt-out account setting must be set for each Amazon ECS resource - separately. The ARN and resource ID format of a resource is defined by - the opt-in status of the user or role that created the resource. You - must turn on this setting to use Amazon ECS features such as resource - tagging. - - - `containerInstanceLongArnFormat` - When modified, the Amazon Resource - Name (ARN) and resource ID format of the resource type for a specified - user, role, or the root user for an account is affected. The opt-in - and opt-out account setting must be set for each Amazon ECS resource - separately. The ARN and resource ID format of a resource is defined by - the opt-in status of the user or role that created the resource. You - must turn on this setting to use Amazon ECS features such as resource - tagging. - - - `awsvpcTrunking` - When modified, the elastic network interface (ENI) - limit for any new container instances that support the feature is - changed. If `awsvpcTrunking` is turned on, any new container instances - that support the feature are launched have the increased ENI limits - available to them. For more information, see [Elastic Network - Interface - Trunking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html) - in the *Amazon Elastic Container Service Developer Guide*. - - - `containerInsights` - Container Insights with enhanced observability - provides all the Container Insights metrics, plus additional task and - container metrics. This version supports enhanced observability for - Amazon ECS clusters using the Amazon EC2 and Fargate launch types. - After you configure Container Insights with enhanced observability on - Amazon ECS, Container Insights auto-collects detailed infrastructure - telemetry from the cluster level down to the container level in your - environment and displays these critical performance data in curated - dashboards removing the heavy lifting in observability set-up. - - To use Container Insights with enhanced observability, set the - `containerInsights` account setting to `enhanced`. - - To use Container Insights, set the `containerInsights` account setting - to `enabled`. - - For more information, see [Monitor Amazon ECS containers using - Container Insights with enhanced - observability](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html) - in the *Amazon Elastic Container Service Developer Guide*. - - - `dualStackIPv6` - When turned on, when using a VPC in dual stack mode, - your tasks using the `awsvpc` network mode can have an IPv6 address - assigned. For more information on using IPv6 with tasks launched on - Amazon EC2 instances, see [Using a VPC in dual-stack - mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack). - For more information on using IPv6 with tasks launched on Fargate, see - [Using a VPC in dual-stack - mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack). - - - `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS 140 - compliance is affected. - - - `fargateTaskRetirementWaitPeriod` - When Amazon Web Services - determines that a security or infrastructure update is needed for an - Amazon ECS task hosted on Fargate, the tasks need to be stopped and - new tasks launched to replace them. Use - `fargateTaskRetirementWaitPeriod` to configure the wait time to retire - a Fargate task. For information about the Fargate tasks maintenance, - see [Amazon Web Services Fargate task - maintenance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html) - in the *Amazon ECS Developer Guide*. - - - `fargateEventWindows` - When Amazon Web Services determines that a - security or infrastructure update is needed for an Amazon ECS task - hosted on Fargate, the tasks need to be stopped and new tasks launched - to replace them. Use `fargateEventWindows` to use EC2 Event Windows - associated with Fargate tasks to configure time windows for task - retirement. - - - `tagResourceAuthorization` - Amazon ECS is introducing tagging - authorization for resource creation. Users must have permissions for - actions that create the resource, such as `ecsCreateCluster`. If tags - are specified when you create a resource, Amazon Web Services performs - additional authorization to verify if users or roles have permissions - to create tags. Therefore, you must grant explicit permissions to use - the `ecs:TagResource` action. For more information, see [Grant - permission to tag resources on - creation](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html) - in the *Amazon ECS Developer Guide*. - - - `defaultLogDriverMode` -Amazon ECS supports setting a default delivery - mode of log messages from a container to the `logDriver` that you - specify in the container's `logConfiguration`. The delivery mode - affects application stability when the flow of logs from the container - to the log driver is interrupted. The `defaultLogDriverMode` setting - supports two values: `blocking` and `non-blocking`. If you don't - specify a delivery mode in your container definition's - `logConfiguration`, the mode you specify using this account setting - will be used as the default. For more information about log delivery - modes, see - [LogConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html). - - Note: - On June 25, 2025, Amazon ECS changed the default log driver mode from - `blocking` to `non-blocking` to prioritize task availability over - logging. To continue using the `blocking` mode after this change, do - one of the following: - - - Set the `mode` option in your container definition's - `logConfiguration` as `blocking`. - - - Set the `defaultLogDriverMode` account setting to `blocking`. - - - `guardDutyActivate` - The `guardDutyActivate` parameter is read-only - in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is - enabled or disabled by your security administrator in your Amazon ECS - account. Amazon GuardDuty controls this account setting on your - behalf. For more information, see [Protecting Amazon ECS workloads - with Amazon ECS Runtime - Monitoring](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html). - """ - value: str | None = ... - """ - The account setting value for the specified principal ARN. Accepted - values are `enabled`, `disabled`, `on`, `enhanced`, and `off`. - - When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the - following are the valid values: - - - `0` - Amazon Web Services sends the notification, and immediately - retires the affected tasks. - - - `7` - Amazon Web Services sends the notification, and waits 7 calendar - days to retire the tasks. - - - `14` - Amazon Web Services sends the notification, and waits 14 - calendar days to retire the tasks. - """ - -@dataclass(kw_only=True) -class PutAccountSettingDefaultOutput(_SerdeShape): - """Dataclass for PutAccountSettingDefaultOutput structure.""" - - setting: Setting | None = ... - """The current setting for a resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutAccountSettingInput(_SerdeShape): - """Dataclass for PutAccountSettingInput structure.""" - - name: str | None = ... - """ - The Amazon ECS account setting name to modify. - - The following are the valid values for the account setting name. - - - `serviceLongArnFormat` - When modified, the Amazon Resource Name (ARN) - and resource ID format of the resource type for a specified user, - role, or the root user for an account is affected. The opt-in and - opt-out account setting must be set for each Amazon ECS resource - separately. The ARN and resource ID format of a resource is defined by - the opt-in status of the user or role that created the resource. You - must turn on this setting to use Amazon ECS features such as resource - tagging. - - - `taskLongArnFormat` - When modified, the Amazon Resource Name (ARN) - and resource ID format of the resource type for a specified user, - role, or the root user for an account is affected. The opt-in and - opt-out account setting must be set for each Amazon ECS resource - separately. The ARN and resource ID format of a resource is defined by - the opt-in status of the user or role that created the resource. You - must turn on this setting to use Amazon ECS features such as resource - tagging. - - - `containerInstanceLongArnFormat` - When modified, the Amazon Resource - Name (ARN) and resource ID format of the resource type for a specified - user, role, or the root user for an account is affected. The opt-in - and opt-out account setting must be set for each Amazon ECS resource - separately. The ARN and resource ID format of a resource is defined by - the opt-in status of the user or role that created the resource. You - must turn on this setting to use Amazon ECS features such as resource - tagging. - - - `awsvpcTrunking` - When modified, the elastic network interface (ENI) - limit for any new container instances that support the feature is - changed. If `awsvpcTrunking` is turned on, any new container instances - that support the feature are launched have the increased ENI limits - available to them. For more information, see [Elastic Network - Interface - Trunking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html) - in the *Amazon Elastic Container Service Developer Guide*. - - - `containerInsights` - Container Insights with enhanced observability - provides all the Container Insights metrics, plus additional task and - container metrics. This version supports enhanced observability for - Amazon ECS clusters using the Amazon EC2 and Fargate launch types. - After you configure Container Insights with enhanced observability on - Amazon ECS, Container Insights auto-collects detailed infrastructure - telemetry from the cluster level down to the container level in your - environment and displays these critical performance data in curated - dashboards removing the heavy lifting in observability set-up. - - To use Container Insights with enhanced observability, set the - `containerInsights` account setting to `enhanced`. - - To use Container Insights, set the `containerInsights` account setting - to `enabled`. - - For more information, see [Monitor Amazon ECS containers using - Container Insights with enhanced - observability](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html) - in the *Amazon Elastic Container Service Developer Guide*. - - - `dualStackIPv6` - When turned on, when using a VPC in dual stack mode, - your tasks using the `awsvpc` network mode can have an IPv6 address - assigned. For more information on using IPv6 with tasks launched on - Amazon EC2 instances, see [Using a VPC in dual-stack - mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html#task-networking-vpc-dual-stack). - For more information on using IPv6 with tasks launched on Fargate, see - [Using a VPC in dual-stack - mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-task-networking.html#fargate-task-networking-vpc-dual-stack). - - - `fargateTaskRetirementWaitPeriod` - When Amazon Web Services - determines that a security or infrastructure update is needed for an - Amazon ECS task hosted on Fargate, the tasks need to be stopped and - new tasks launched to replace them. Use - `fargateTaskRetirementWaitPeriod` to configure the wait time to retire - a Fargate task. For information about the Fargate tasks maintenance, - see [Amazon Web Services Fargate task - maintenance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html) - in the *Amazon ECS Developer Guide*. - - - `fargateEventWindows` - When Amazon Web Services determines that a - security or infrastructure update is needed for an Amazon ECS task - hosted on Fargate, the tasks need to be stopped and new tasks launched - to replace them. Use `fargateEventWindows` to use EC2 Event Windows - associated with Fargate tasks to configure time windows for task - retirement. - - - `tagResourceAuthorization` - Amazon ECS is introducing tagging - authorization for resource creation. Users must have permissions for - actions that create the resource, such as `ecsCreateCluster`. If tags - are specified when you create a resource, Amazon Web Services performs - additional authorization to verify if users or roles have permissions - to create tags. Therefore, you must grant explicit permissions to use - the `ecs:TagResource` action. For more information, see [Grant - permission to tag resources on - creation](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html) - in the *Amazon ECS Developer Guide*. - - - `defaultLogDriverMode` - Amazon ECS supports setting a default - delivery mode of log messages from a container to the `logDriver` that - you specify in the container's `logConfiguration`. The delivery mode - affects application stability when the flow of logs from the container - to the log driver is interrupted. The `defaultLogDriverMode` setting - supports two values: `blocking` and `non-blocking`. If you don't - specify a delivery mode in your container definition's - `logConfiguration`, the mode you specify using this account setting - will be used as the default. For more information about log delivery - modes, see - [LogConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html). - - Note: - On June 25, 2025, Amazon ECS changed the default log driver mode from - `blocking` to `non-blocking` to prioritize task availability over - logging. To continue using the `blocking` mode after this change, do - one of the following: - - - Set the `mode` option in your container definition's - `logConfiguration` as `blocking`. - - - Set the `defaultLogDriverMode` account setting to `blocking`. - - - `guardDutyActivate` - The `guardDutyActivate` parameter is read-only - in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is - enabled or disabled by your security administrator in your Amazon ECS - account. Amazon GuardDuty controls this account setting on your - behalf. For more information, see [Protecting Amazon ECS workloads - with Amazon ECS Runtime - Monitoring](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html). - """ - value: str | None = ... - """ - The account setting value for the specified principal ARN. Accepted - values are `enabled`, `disabled`, `enhanced`, `on`, and `off`. - - When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the - following are the valid values: - - - `0` - Amazon Web Services sends the notification, and immediately - retires the affected tasks. - - - `7` - Amazon Web Services sends the notification, and waits 7 calendar - days to retire the tasks. - - - `14` - Amazon Web Services sends the notification, and waits 14 - calendar days to retire the tasks. - """ - principal_arn: str | None = ... - """ - The ARN of the principal, which can be a user, role, or the root user. - If you specify the root user, it modifies the account setting for all - users, roles, and the root user of the account unless a user or role - explicitly overrides these settings. If this field is omitted, the - setting is changed only for the authenticated user. - - In order to use this parameter, you must be the root user, or the - principal. - - Note: - You must use the root user when you set the Fargate wait time - (`fargateTaskRetirementWaitPeriod`). - - Federated users assume the account setting of the root user and can't - have explicit account settings set for them. - """ - -@dataclass(kw_only=True) -class PutAccountSettingOutput(_SerdeShape): - """Dataclass for PutAccountSettingOutput structure.""" - - setting: Setting | None = ... - """The current account setting for a resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutAttributesInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - contains the resource to apply attributes. If you do not specify a - cluster, the default cluster is assumed. - """ - attributes: list[Attribute] | None = ... - """ - The attributes to apply to your resource. You can specify up to 10 - custom attributes for each resource. You can specify up to 10 attributes - in a single call. - """ - -@dataclass(kw_only=True) -class PutAttributesOutput(_SerdeShape): - """""" - - attributes: list[Attribute] | None = ... - """The attributes applied to your resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutClusterCapacityProvidersInput(_SerdeShape): - """Dataclass for PutClusterCapacityProvidersInput structure.""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster to - modify the capacity provider settings for. If you don't specify a - cluster, the default cluster is assumed. - """ - capacity_providers: list[str] | None = ... - """ - The name of one or more capacity providers to associate with the - cluster. - - If specifying a capacity provider that uses an Auto Scaling group, the - capacity provider must already be created. New capacity providers can be - created with the - [CreateCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html) - API operation. - - To use a Fargate capacity provider, specify either the `FARGATE` or - `FARGATE_SPOT` capacity providers. The Fargate capacity providers are - available to all accounts and only need to be associated with a cluster - to be used. - """ - default_capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """ - The capacity provider strategy to use by default for the cluster. - - When creating a service or running a task on a cluster, if no capacity - provider or launch type is specified then the default capacity provider - strategy for the cluster is used. - - A capacity provider strategy consists of one or more capacity providers - along with the `base` and `weight` to assign to them. A capacity - provider must be associated with the cluster to be used in a capacity - provider strategy. The - [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) - API is used to associate a capacity provider with a cluster. Only - capacity providers with an `ACTIVE` or `UPDATING` status can be used. - - If specifying a capacity provider that uses an Auto Scaling group, the - capacity provider must already be created. New capacity providers can be - created with the - [CreateCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html) - API operation. - - To use a Fargate capacity provider, specify either the `FARGATE` or - `FARGATE_SPOT` capacity providers. The Fargate capacity providers are - available to all accounts and only need to be associated with a cluster - to be used. - """ - -@dataclass(kw_only=True) -class PutClusterCapacityProvidersOutput(_SerdeShape): - """Dataclass for PutClusterCapacityProvidersOutput structure.""" - - cluster: Cluster | None = ... - """Details about the cluster.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RegisterContainerInstanceInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster to - register your container instance with. If you do not specify a cluster, - the default cluster is assumed. - """ - instance_identity_document: str | None = ... - """ - The instance identity document for the EC2 instance to register. This - document can be found by running the following command from the - instance: - `curl http://169.254.169.254/latest/dynamic/instance-identity/document/` - """ - instance_identity_document_signature: str | None = ... - """ - The instance identity document signature for the EC2 instance to - register. This signature can be found by running the following command - from the instance: - `curl http://169.254.169.254/latest/dynamic/instance-identity/signature/` - """ - total_resources: list[Resource] | None = ... - """The resources available on the instance.""" - version_info: VersionInfo | None = ... - """ - The version information for the Amazon ECS container agent and Docker - daemon that runs on the container instance. - """ - container_instance_arn: str | None = ... - """The ARN of the container instance (if it was previously registered).""" - attributes: list[Attribute] | None = ... - """The container instance attributes that this container instance supports.""" - platform_devices: list[PlatformDevice] | None = ... - """ - The devices that are available on the container instance. The supported - device types are GPUs and Neuron devices. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the container instance to help you - categorize and organize them. Each tag consists of a key and an optional - value. You define both. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - -@dataclass(kw_only=True) -class RegisterContainerInstanceOutput(_SerdeShape): - """""" - - container_instance: ContainerInstance | None = ... - """The container instance that was registered.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RegisterDaemonTaskDefinitionInput(_SerdeShape): - """Dataclass for RegisterDaemonTaskDefinitionInput structure.""" - - family: str | None = ... - """ - You must specify a `family` for a daemon task definition. This family is - used as a name for your daemon task definition. Up to 255 letters - (uppercase and lowercase), numbers, underscores, and hyphens are - allowed. - """ - task_role_arn: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the IAM role that - containers in this daemon task can assume. All containers in this daemon - task are granted the permissions that are specified in this role. - """ - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the task execution role that grants - the Amazon ECS container agent permission to make Amazon Web Services - API calls on your behalf. The task execution role is required for daemon - tasks that pull container images from Amazon ECR or send container logs - to CloudWatch. - """ - container_definitions: list[DaemonContainerDefinition] | None = ... - """ - A list of container definitions in JSON format that describe the - containers that make up your daemon task. - """ - cpu: str | None = ... - """ - The number of CPU units used by the daemon task. It can be expressed as - an integer using CPU units (for example, `1024`). - """ - memory: str | None = ... - """ - The amount of memory (in MiB) used by the daemon task. It can be - expressed as an integer using MiB (for example, `1024`). - """ - volumes: list[DaemonVolume] | None = ... - """ - A list of volume definitions in JSON format that containers in your - daemon task can use. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the daemon task definition to help you - categorize and organize them. Each tag consists of a key and an optional - value. You define both of them. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - pid_mode: str | None = ... - """ - The PID namespace mode for the daemon. The valid values are `none` and - `shared`. The default is `none`. - - If `none` is specified or no value is provided, the daemon runs with its - own PID namespace, isolated from other tasks. If `shared` is specified, - the daemon joins the host PID namespace, making it accessible to - non-daemon tasks that use `pidMode: "host"` or other daemons that use - `pidMode: "shared"`. - """ - ipc_mode: str | None = ... - """ - The IPC namespace mode for the daemon. The valid values are `none` and - `shared`. The default is `none`. - - If `none` is specified or no value is provided, the daemon runs with its - own IPC namespace, isolated from other tasks. If `shared` is specified, - the daemon joins the host IPC namespace, making it accessible to - non-daemon tasks that use `ipcMode: "host"` or other daemons that use - `ipcMode: "shared"`. - """ - -@dataclass(kw_only=True) -class RegisterDaemonTaskDefinitionOutput(_SerdeShape): - """Dataclass for RegisterDaemonTaskDefinitionOutput structure.""" - - daemon_task_definition_arn: str | None = ... - """ - The full Amazon Resource Name (ARN) of the registered daemon task - definition. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RegisterTaskDefinitionInput(_SerdeShape): - """""" - - family: str | None = ... - """ - You must specify a `family` for a task definition. You can use it track - multiple versions of the same task definition. The `family` is used as a - name for your task definition. Up to 255 letters (uppercase and - lowercase), numbers, underscores, and hyphens are allowed. - """ - task_role_arn: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the IAM role that - containers in this task can assume. All containers in this task are - granted the permissions that are specified in this role. For more - information, see [IAM Roles for - Tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the task execution role that grants - the Amazon ECS container agent permission to make Amazon Web Services - API calls on your behalf. For informationabout the required IAM roles - for Amazon ECS, see [IAM roles for Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - network_mode: str | None = ... - """ - The Docker networking mode to use for the containers in the task. The - valid values are `none`, `bridge`, `awsvpc`, and `host`. If no network - mode is specified, the default is `bridge`. - - For Amazon ECS tasks on Fargate, the `awsvpc` network mode is required. - For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can - be used. For Amazon ECS tasks on Amazon EC2 Windows instances, - `` or `awsvpc` can be used. If the network mode is set to - `none`, you cannot specify port mappings in your container definitions, - and the tasks containers do not have external connectivity. The `host` - and `awsvpc` network modes offer the highest networking performance for - containers because they use the EC2 network stack instead of the - virtualized network stack provided by the `bridge` mode. - - With the `host` and `awsvpc` network modes, exposed container ports are - mapped directly to the corresponding host port (for the `host` network - mode) or the attached elastic network interface port (for the `awsvpc` - network mode), so you cannot take advantage of dynamic host port - mappings. - - Warning: - When using the `host` network mode, you should not run containers using - the root user (UID 0). It is considered best practice to use a non-root - user. - - If the network mode is `awsvpc`, the task is allocated an elastic - network interface, and you must specify a - [NetworkConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html) - value when you create a service or run a task with the task definition. - For more information, see [Task - Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) - in the *Amazon Elastic Container Service Developer Guide*. - - If the network mode is `host`, you cannot run multiple instantiations of - the same task on a single container instance when port mappings are - used. - """ - container_definitions: list[ContainerDefinition] | None = ... - """ - A list of container definitions in JSON format that describe the - different containers that make up your task. - """ - volumes: list[Volume] | None = ... - """ - A list of volume definitions in JSON format that containers in your task - might use. - """ - placement_constraints: list[TaskDefinitionPlacementConstraint] | None = ... - """ - An array of placement constraint objects to use for the task. You can - specify a maximum of 10 constraints for each task. This limit includes - constraints in the task definition and those specified at runtime. - """ - requires_compatibilities: list[str] | None = ... - """ - The task launch type that Amazon ECS validates the task definition - against. A client exception is returned if the task definition doesn't - validate against the compatibilities specified. If no value is - specified, the parameter is omitted from the response. - """ - cpu: str | None = ... - """ - The number of CPU units used by the task. It can be expressed as an - integer using CPU units (for example, `1024`) or as a string using vCPUs - (for example, `1 vCPU` or `1 vcpu`) in a task definition. String values - are converted to an integer indicating the CPU units when the task - definition is registered. - - Note: - Task-level CPU and memory parameters are ignored for Windows containers. - We recommend specifying container-level resources for Windows - containers. - - If you're using the EC2 launch type or external launch type, this field - is optional. Supported values are between `128` CPU units (`0.125` - vCPUs) and `196608` CPU units (`192` vCPUs). If you do not specify a - value, the parameter is ignored. - - This field is required for Fargate. For information about the valid - values, see [Task - size](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size) - in the *Amazon Elastic Container Service Developer Guide*. - """ - memory: str | None = ... - """ - The amount of memory (in MiB) used by the task. It can be expressed as - an integer using MiB (for example ,`1024`) or as a string using GB (for - example, `1GB` or `1 GB`) in a task definition. String values are - converted to an integer indicating the MiB when the task definition is - registered. - - Note: - Task-level CPU and memory parameters are ignored for Windows containers. - We recommend specifying container-level resources for Windows - containers. - - If using the EC2 launch type, this field is optional. - - If using the Fargate launch type, this field is required and you must - use one of the following values. This determines your range of supported - values for the `cpu` parameter. - - The CPU units cannot be less than 1 vCPU when you use Windows containers - on Fargate. - - - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values: 256 - (.25 vCPU) - - - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available `cpu` - values: 512 (.5 vCPU) - - - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 - (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU) - - - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - - Available `cpu` values: 2048 (2 vCPU) - - - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - - Available `cpu` values: 4096 (4 vCPU) - - - Between 16 GB and 60 GB in 4 GB increments - Available `cpu` values: - 8192 (8 vCPU) - - This option requires Linux platform `1.4.0` or later. - - - Between 32GB and 120 GB in 8 GB increments - Available `cpu` values: - 16384 (16 vCPU) - - This option requires Linux platform `1.4.0` or later. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the task definition to help you - categorize and organize them. Each tag consists of a key and an optional - value. You define both of them. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - pid_mode: str | None = ... - """ - The process namespace to use for the containers in the task. The valid - values are `host` or `task`. On Fargate for Linux containers, the only - valid value is `task`. For example, monitoring sidecars might need - `pidMode` to access information about other containers running in the - same task. - - If `host` is specified, all containers within the tasks that specified - the `host` PID mode on the same container instance share the same - process namespace with the host Amazon EC2 instance. - - If `task` is specified, all containers within the specified task share - the same process namespace. - - If no value is specified, the The default is a private namespace for - each container. - - If the `host` PID mode is used, there's a heightened risk of undesired - process namespace exposure. - - Note: - This parameter is not supported for Windows containers. - Note: - This parameter is only supported for tasks that are hosted on Fargate if - the tasks are using platform version `1.4.0` or later (Linux). This - isn't supported for Windows containers on Fargate. - """ - ipc_mode: str | None = ... - """ - The IPC resource namespace to use for the containers in the task. The - valid values are `host`, `task`, or `none`. If `host` is specified, then - all containers within the tasks that specified the `host` IPC mode on - the same container instance share the same IPC resources with the host - Amazon EC2 instance. If `task` is specified, all containers within the - specified task share the same IPC resources. If `none` is specified, - then IPC resources within the containers of a task are private and not - shared with other containers in a task or on the container instance. If - no value is specified, then the IPC resource namespace sharing depends - on the Docker daemon setting on the container instance. - - If the `host` IPC mode is used, be aware that there is a heightened risk - of undesired IPC namespace expose. - - If you are setting namespaced kernel parameters using `systemControls` - for the containers in the task, the following will apply to your IPC - resource namespace. For more information, see [System - Controls](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) - in the *Amazon Elastic Container Service Developer Guide*. - - - For tasks that use the `host` IPC mode, IPC namespace related - `systemControls` are not supported. - - - For tasks that use the `task` IPC mode, IPC namespace related - `systemControls` will apply to all containers within a task. - - Note: - This parameter is not supported for Windows containers or tasks run on - Fargate. - """ - proxy_configuration: ProxyConfiguration | None = ... - """ - The configuration details for the App Mesh proxy. - - For tasks hosted on Amazon EC2 instances, the container instances - require at least version `1.26.0` of the container agent and at least - version `1.26.0-1` of the `ecs-init` package to use a proxy - configuration. If your container instances are launched from the Amazon - ECS-optimized AMI version `20190301` or later, then they contain the - required versions of the container agent and `ecs-init`. For more - information, see [Amazon ECS-optimized AMI - versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - inference_accelerators: list[InferenceAccelerator] | None = ... - """ - The Elastic Inference accelerators to use for the containers in the - task. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The amount of ephemeral storage to allocate for the task. This parameter - is used to expand the total amount of ephemeral storage available, - beyond the default amount, for tasks hosted on Fargate. For more - information, see [Using data volumes in - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) - in the *Amazon ECS Developer Guide*. - - Note: - For tasks using the Fargate launch type, the task requires the following - platforms: - - - Linux platform version `1.4.0` or later. - """ - runtime_platform: RuntimePlatform | None = ... - """The operating system that your tasks definitions run on.""" - enable_fault_injection: bool | None = ... - """ - Enables fault injection when you register your task definition and - allows for fault injection requests to be accepted from the task's - containers. The default value is `false`. - """ - trusted_execution_configuration: TrustedExecutionConfiguration | None = ... - """ - The trusted execution configuration for tasks that use this task - definition, including the isolation mode and, if configured, an - attestation policy. - - Note: - Trusted execution is supported only for Amazon ECS Managed Instances. - """ - -@dataclass(kw_only=True) -class RegisterTaskDefinitionOutput(_SerdeShape): - """""" - - task_definition: TaskDefinition | None = ... - """The full description of the registered task definition.""" - tags: list[Tag] | None = ... - """The list of tags associated with the task definition.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RepositoryCredentials(_SerdeShape): - """The repository credentials for private registry authentication.""" - - credentials_parameter: str - """ - The Amazon Resource Name (ARN) of the secret containing the private - repository credentials. - - Note: - When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the - secret exists in the same Region as the task that you're launching then - you can use either the full ARN or the name of the secret. When you use - the Amazon Web Services Management Console, you must specify the full - ARN of the secret. - """ - -@dataclass(kw_only=True) -class ResolvedConfiguration(_SerdeShape): - """ - The resolved configuration for a service revision, which contains the - actual resources your service revision uses, such as which target groups - serve traffic. - """ - - load_balancers: list[ServiceRevisionLoadBalancer] | None = ... - """ - The resolved load balancer configuration for the service revision. This - includes information about which target groups serve traffic and which - listener rules direct traffic to them. - """ - vpc_lattice_configurations: ( - list[ServiceRevisionVpcLatticeConfiguration] | None - ) = ... - """ - The resolved VPC Lattice configuration for the service revision. This - includes information about which target groups serve traffic and which - listener rules direct traffic to them. - """ - -@dataclass(kw_only=True) -class Resource(_SerdeShape): - """Describes the resources available for a container instance.""" - - name: str | None = ... - """ - The name of the resource, such as `CPU`, `MEMORY`, `PORTS`, `PORTS_UDP`, - or a user-defined resource. - """ - type: str | None = ... - """ - The type of the resource. Valid values: `INTEGER`, `DOUBLE`, `LONG`, or - `STRINGSET`. - """ - double_value: float = ... - """ - When the `doubleValue` type is set, the value of the resource must be a - double precision floating-point type. - """ - long_value: int = ... - """ - When the `longValue` type is set, the value of the resource must be an - extended precision floating-point type. - """ - integer_value: int = ... - """ - When the `integerValue` type is set, the value of the resource must be - an integer. - """ - string_set_value: list[str] | None = ... - """ - When the `stringSetValue` type is set, the value of the resource must be - a string type. - """ - -@dataclass(kw_only=True) -class ResourceInUseException(ServiceError, _SerdeShape): - """The specified resource is in-use and can't be removed.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ResourceManagementType(UnknownEnumMixin, StrEnum): - CUSTOMER = "CUSTOMER" - ECS = "ECS" - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """The specified resource wasn't found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceRequirement(_SerdeShape): - """ - The type and amount of a resource to assign to a container. The - supported resource types are GPUs, Neuron devices, and Elastic Inference - accelerators. For more information, see [Working with GPUs on Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html) - or [Working with Amazon Elastic Inference on Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) - in the *Amazon Elastic Container Service Developer Guide* - """ - - value: str = ... - """ - The value for the specified resource type. - - You must specify this parameter unless the type is `GPU` and you specify - `sharingStrategy`. - - When the type is `GPU`, the value is the number of physical `GPUs` the - Amazon ECS container agent reserves for the container. The number of - GPUs that's reserved for all containers in a task can't exceed the - number of available GPUs on the container instance that the task is - launched on. You can also specify `ALL` to allocate all available GPUs - on the instance to the container. - - When the type is `NeuronDevice`, the value must be `ALL`. This allocates - all available Neuron devices on the instance to the container. Only one - container in a task can specify `NeuronDevice` resources. This resource - type is only supported on Managed Instances. - - When the type is `InferenceAccelerator`, the `value` matches the - `deviceName` for an - [InferenceAccelerator](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html) - specified in a task definition. - """ - type: str - """The type of resource to assign to a container.""" - sharing_strategy: SharingStrategy | None = ... - """ - The strategy that the container uses to share a GPU with other - containers. Specify a sharing strategy only when the type is `GPU`. For - a GPU resource requirement, specify either `value` or `sharingStrategy`, - but not both. If you don't specify a sharing strategy, the container - has exclusive use of each GPU that Amazon ECS assigns to it. The - containers in a task that request GPUs must all use the same option. - - You can use GPU sharing with tasks that run on Amazon EC2 instances or - Amazon ECS Managed Instances. Task definitions that require `EXTERNAL` - compatibility don't support GPU sharing. - """ - -class ResourceType(UnknownEnumMixin, StrEnum): - GPU = "GPU" - INFERENCE_ACCELERATOR = "InferenceAccelerator" - NEURON_DEVICE = "NeuronDevice" - -@dataclass(kw_only=True) -class Rollback(_SerdeShape): - """Information about the service deployment rollback.""" - - reason: str | None = ... - """ - The reason the rollback happened. For example, the circuit breaker - initiated the rollback operation. - """ - started_at: datetime | None = ... - """ - Time time that the rollback started. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - service_revision_arn: str | None = ... - """The ARN of the service revision deployed as part of the rollback.""" - -@dataclass(kw_only=True) -class RunTaskInput(_SerdeShape): - """""" - - capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """ - The capacity provider strategy to use for the task. - - Note: - If you want to use Amazon ECS Managed Instances, you must use the - `capacityProviderStrategy` request parameter and omit the `launchType` - request parameter. - - If a `capacityProviderStrategy` is specified, the `launchType` parameter - must be omitted. If no `capacityProviderStrategy` or `launchType` is - specified, the `defaultCapacityProviderStrategy` for the cluster is - used. - - When you use cluster auto scaling, you must specify - `capacityProviderStrategy` and not `launchType`. - - A capacity provider strategy can contain a maximum of 20 capacity - providers. - """ - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster to run - your task on. If you do not specify a cluster, the default cluster is - assumed. - - Each account receives a default cluster the first time you use the - service, but you may also create other clusters. - """ - count: int | None = ... - """ - The number of instantiations of the specified task to place on your - cluster. You can specify up to 10 tasks for each call. - """ - enable_ecs_managed_tags: bool = ... - """ - Specifies whether to use Amazon ECS managed tags for the task. For more - information, see [Tagging Your Amazon ECS - Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - enable_execute_command: bool = ... - """ - Determines whether to use the execute command functionality for the - containers in this task. If `true`, this enables execute command - functionality on all containers in the task. - - If `true`, then the task definition must have a task role, or you must - provide one as an override. - """ - group: str | None = ... - """ - The name of the task group to associate with the task. The default value - is the family name of the task definition (for example, - `family:my-family-name`). - """ - launch_type: str | None = ... - """ - The infrastructure to run your standalone task on. For more information, - see [Amazon ECS launch - types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Note: - If you want to use Amazon ECS Managed Instances, you must use the - `capacityProviderStrategy` request parameter and omit the `launchType` - request parameter. - - The `FARGATE` launch type runs your tasks on Fargate On-Demand - infrastructure. - - Note: - Fargate Spot infrastructure is available for use but a capacity provider - strategy must be used. For more information, see [Fargate capacity - providers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html) - in the *Amazon ECS Developer Guide*. - - The `EC2` launch type runs your tasks on Amazon EC2 instances registered - to your cluster. - - The `EXTERNAL` launch type runs your tasks on your on-premises server or - virtual machine (VM) capacity registered to your cluster. - - A task can use either a launch type or a capacity provider strategy. If - a `launchType` is specified, the `capacityProviderStrategy` parameter - must be omitted. - - When you use cluster auto scaling, you must specify - `capacityProviderStrategy` and not `launchType`. - """ - network_configuration: NetworkConfiguration | None = ... - """ - The network configuration for the task. This parameter is required for - task definitions that use the `awsvpc` network mode to receive their own - elastic network interface, and it isn't supported for other network - modes. For more information, see [Task - networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - overrides: TaskOverride | None = ... - """ - A list of container overrides in JSON format that specify the name of a - container in the specified task definition and the overrides it should - receive. You can override the default command for a container (that's - specified in the task definition or Docker image) with a `command` - override. You can also override existing environment variables (that are - specified in the task definition or Docker image) on a container or add - new environment variables to it with an `environment` override. - - A total of 8192 characters are allowed for overrides. This limit - includes the JSON formatting characters of the override structure. - """ - placement_constraints: list[PlacementConstraint] | None = ... - """ - An array of placement constraint objects to use for the task. You can - specify up to 10 constraints for each task (including constraints in the - task definition and those specified at runtime). - """ - placement_strategy: list[PlacementStrategy] | None = ... - """ - The placement strategy objects to use for the task. You can specify a - maximum of 5 strategy rules for each task. - """ - platform_version: str | None = ... - """ - The platform version the task uses. A platform version is only specified - for tasks hosted on Fargate. If one isn't specified, the `LATEST` - platform version is used. For more information, see [Fargate platform - versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - propagate_tags: str | None = ... - """ - Specifies whether to propagate the tags from the task definition to the - task. If no value is specified, the tags aren't propagated. Tags can - only be propagated to the task during task creation. To add tags to a - task after task creation, use - the[TagResource](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) - API action. - - Note: - An error will be received if you specify the `SERVICE` option when - running a task. - """ - reference_id: str | None = ... - """ - This parameter is only used by Amazon ECS. It is not intended for use by - customers. - """ - started_by: str | None = ... - """ - An optional tag specified when a task is started. For example, if you - automatically trigger a task to run a batch process job, you could apply - a unique identifier for that job to your task with the `startedBy` - parameter. You can then identify which tasks belong to that job by - filtering the results of a - [ListTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTasks.html) - call with the `startedBy` value. Up to 128 letters (uppercase and - lowercase), numbers, hyphens (-), forward slash (/), and underscores - (_) are allowed. - - If a task is started by an Amazon ECS service, then the `startedBy` - parameter contains the deployment ID of the service that starts it. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the task to help you categorize and - organize them. Each tag consists of a key and an optional value, both of - which you define. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - task_definition: str | None = ... - """ - The `family` and `revision` (`family:revision`) or full ARN of the task - definition to run. If a `revision` isn't specified, the latest `ACTIVE` - revision is used. - - The full ARN value must match the value that you specified as the - `Resource` of the principal's permissions policy. - - When you specify a task definition, you must either specify a specific - revision, or all revisions in the ARN. - - To specify a specific revision, include the revision number in the ARN. - For example, to specify revision 2, use - `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:2`. - - To specify all revisions, use the wildcard (*) in the ARN. For example, - to specify all revisions, use - `arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*`. - - For more information, see [Policy Resources for Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources) - in the Amazon Elastic Container Service Developer Guide. - """ - client_token: str | None = ... - """ - An identifier that you provide to ensure the idempotency of the request. - It must be unique and is case sensitive. Up to 64 characters are - allowed. The valid characters are characters in the range of 33-126, - inclusive. For more information, see [Ensuring - idempotency](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/ECS_Idempotency.html). - """ - volume_configurations: list[TaskVolumeConfiguration] | None = ... - """ - The details of the volume that was `configuredAtLaunch`. You can - configure the size, volumeType, IOPS, throughput, snapshot and - encryption in - [TaskManagedEBSVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html). - The `name` of the volume must match the `name` from the task definition. - """ - -@dataclass(kw_only=True) -class RunTaskOutput(_SerdeShape): - """""" - - tasks: list[Task] | None = ... - """ - A full description of the tasks that were run. The tasks that were - successfully placed on your cluster are described here. - """ - failures: list[Failure] | None = ... - """ - Any failures associated with the call. - - For information about how to address failures, see [Service event - messages](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages.html#service-event-messages-list) - and [API failure - reasons](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RuntimePlatform(_SerdeShape): - """ - Information about the platform for the Amazon ECS service or task. - - For more information about `RuntimePlatform`, see - [RuntimePlatform](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - cpu_architecture: str | None = ... - """ - The CPU architecture. - - You can run your Linux tasks on an ARM-based platform by setting the - value to `ARM64`. This option is available for tasks that run on Linux - Amazon EC2 instance, Amazon ECS Managed Instances, or Linux containers - on Fargate. - """ - operating_system_family: str | None = ... - """The operating system.""" - -@dataclass(kw_only=True) -class RuntimePlatformOverride(_SerdeShape): - """ - The runtime platform that Amazon ECS applies to a service revision. This - value overrides the runtime platform specified in the task definition. - You can't set this value. - """ - - cpu_architecture: str | None = ... - """ - The CPU architecture that tasks in this service revision run on. This - value might differ from the architecture declared in the task - definition---for example, when Amazon ECS detects an architecture - mismatch during an Amazon ECS Express deployment and runs tasks on a - different architecture. You can't set this value. - - Valid values: - - - `X86_64` - The x86 64-bit architecture. - - - `ARM64` - The 64-bit ARM architecture. - """ - -@dataclass(kw_only=True) -class S3FilesVolumeConfiguration(_SerdeShape): - """ - This parameter is specified when you're using an Amazon S3 Files file - system for task storage. For more information, see [Amazon S3 Files - volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/s3files-volumes.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Warning: - Your task definition must include a Task IAM Role. See [IAM role for - attaching your file system to Amazon Web Services compute - resources](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-prereq-policies.html#s3-files-prereq-iam-compute-role) - for required permissions. - """ - - file_system_arn: str - """The full ARN of the S3 Files file system to mount.""" - root_directory: str | None = ... - """ - The directory within the Amazon S3 Files file system to mount as the - root directory. If this parameter is omitted, the root of the Amazon S3 - Files file system will be used. Specifying `/` will have the same effect - as omitting this parameter. - - Warning: - If a S3 Files access point is specified in the `accessPointArn`, the - root directory parameter must either be omitted or set to `/` which will - enforce the path set on the S3 Files access point. - """ - transit_encryption_port: int | None = ... - """ - The port to use for sending encrypted data between the ECS host and the - S3 Files file system. If you do not specify a transit encryption port, - it will use the port selection strategy that the Amazon S3 Files mount - helper uses. For more information, see [S3 Files mount - helper](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-mounting.html). - """ - access_point_arn: str | None = ... - """ - The full ARN of the S3 Files access point to use. If an access point is - specified, the root directory value specified in the - `S3FilesVolumeConfiguration` must either be omitted or set to `/` which - will enforce the path set on the S3 Files access point. For more - information, see [Creating S3 Files access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-access-points-creating.html). - """ - -@dataclass(kw_only=True) -class Scale(_SerdeShape): - """ - A floating-point percentage of the desired number of tasks to place and - keep running in the task set. - """ - - value: float = ... - """ - The value, specified as a percent total of a service's `desiredCount`, - to scale the task set. Accepted values are numbers between 0 and 100. - """ - unit: str | None = ... - """The unit of measure for the scale value.""" - -class ScaleUnit(UnknownEnumMixin, StrEnum): - PERCENT = "PERCENT" - -class SchedulingStrategy(UnknownEnumMixin, StrEnum): - REPLICA = "REPLICA" - DAEMON = "DAEMON" - -class Scope(UnknownEnumMixin, StrEnum): - TASK = "task" - SHARED = "shared" - -@dataclass(kw_only=True) -class Secret(_SerdeShape): - """ - An object representing the secret to expose to your container. Secrets - can be exposed to a container in the following ways: - - - To inject sensitive data into your containers as environment - variables, use the `secrets` container definition parameter. - - - To reference sensitive information in the log configuration of a - container, use the `secretOptions` container definition parameter. - - For more information, see [Specifying sensitive - data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - name: str - """The name of the secret.""" - value_from: str - """ - The secret to expose to the container. The supported values are either - the full ARN of the Secrets Manager secret or the full ARN of the - parameter in the SSM Parameter Store. - - For information about the require Identity and Access Management - permissions, see [Required IAM permissions for Amazon ECS - secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam) - (for Secrets Manager) or [Required IAM permissions for Amazon ECS - secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html) - (for Systems Manager Parameter store) in the *Amazon Elastic Container - Service Developer Guide*. - - Note: - If the SSM Parameter Store parameter exists in the same Region as the - task you're launching, then you can use either the full ARN or name of - the parameter. If the parameter exists in a different Region, then the - full ARN must be specified. - """ - -@dataclass(kw_only=True) -class ServerException(ServiceError, _SerdeShape): - """These errors are usually caused by a server issue.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Service(_SerdeShape): - """Details on a service within a cluster.""" - - service_arn: str | None = ... - """ - The ARN that identifies the service. For more information about the ARN - format, see [Amazon Resource Name - (ARN)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids) - in the *Amazon ECS Developer Guide*. - """ - service_name: str | None = ... - """ - The name of your service. Up to 255 letters (uppercase and lowercase), - numbers, underscores, and hyphens are allowed. Service names must be - unique within a cluster. However, you can have similarly named services - in multiple clusters within a Region or across multiple Regions. - """ - cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) of the cluster that hosts the service.""" - load_balancers: list[LoadBalancer] | None = ... - """ - A list of Elastic Load Balancing load balancer objects. It contains the - load balancer name, the container name, and the container port to access - from the load balancer. The container name is as it appears in a - container definition. - """ - service_registries: list[ServiceRegistry] | None = ... - """ - The details for the service discovery registries to assign to this - service. For more information, see [Service - Discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). - """ - status: str | None = ... - """ - The status of the service. The valid values are `ACTIVE`, `DRAINING`, or - `INACTIVE`. - """ - desired_count: int = ... - """ - The desired number of instantiations of the task definition to keep - running on the service. This value is specified when the service is - created with - [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html) - , and it can be modified with - [UpdateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html). - """ - running_count: int = ... - """The number of tasks in the cluster that are in the `RUNNING` state.""" - pending_count: int = ... - """The number of tasks in the cluster that are in the `PENDING` state.""" - launch_type: str | None = ... - """ - The launch type the service is using. When using the DescribeServices - API, this field is omitted if the service was created using a capacity - provider strategy. - """ - capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """ - The capacity provider strategy the service uses. When using the - DescribeServices API, this field is omitted if the service was created - using a launch type. - """ - platform_version: str | None = ... - """ - The platform version to run your service on. A platform version is only - specified for tasks that are hosted on Fargate. If one isn't specified, - the `LATEST` platform version is used. For more information, see - [Fargate Platform - Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - platform_family: str | None = ... - """ - The operating system that your tasks in the service run on. A platform - family is specified only for tasks using the Fargate launch type. - - All tasks that run as part of this service must use the same - `platformFamily` value as the service (for example, `LINUX`). - """ - task_definition: str | None = ... - """ - The task definition to use for tasks in the service. This value is - specified when the service is created with - [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html), - and it can be modified with - [UpdateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html). - """ - deployment_configuration: DeploymentConfiguration | None = ... - """ - Optional deployment parameters that control how many tasks run during - the deployment and the ordering of stopping and starting tasks. - """ - task_sets: list[TaskSet] | None = ... - """ - Information about a set of Amazon ECS tasks in either an CodeDeploy or - an `EXTERNAL` deployment. An Amazon ECS task set includes details such - as the desired number of tasks, how many tasks are running, and whether - the task set serves production traffic. - """ - deployments: list[Deployment] | None = ... - """The current state of deployments for the service.""" - role_arn: str | None = ... - """ - The ARN of the IAM role that's associated with the service. It allows - the Amazon ECS container agent to register container instances with an - Elastic Load Balancing load balancer. - """ - events: list[ServiceEvent] | None = ... - """ - The event stream for your service. A maximum of 100 of the latest events - are displayed. - """ - created_at: datetime | None = ... - """The Unix timestamp for the time when the service was created.""" - current_service_deployment: str | None = ... - """The ARN of the current service deployment.""" - current_service_revisions: list[ServiceCurrentRevisionSummary] | None = ... - """The list of the service revisions.""" - placement_constraints: list[PlacementConstraint] | None = ... - """The placement constraints for the tasks in the service.""" - placement_strategy: list[PlacementStrategy] | None = ... - """ - The placement strategy that determines how tasks for the service are - placed. - """ - network_configuration: NetworkConfiguration | None = ... - """ - The VPC subnet and security group configuration for tasks that receive - their own elastic network interface by using the `awsvpc` networking - mode. - """ - health_check_grace_period_seconds: int | None = ... - """ - The period of time, in seconds, that the Amazon ECS service scheduler - ignores unhealthy Elastic Load Balancing, VPC Lattice, and container - health checks after a task has first started. - - If your service has more running tasks than desired, unhealthy tasks in - the grace period might be stopped to reach the desired count. - """ - scheduling_strategy: str | None = ... - """ - The scheduling strategy to use for the service. For more information, - see - [Services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html). - - There are two service scheduler strategies available. - - - `REPLICA`-The replica scheduling strategy places and maintains the - desired number of tasks across your cluster. By default, the service - scheduler spreads tasks across Availability Zones. You can use task - placement strategies and constraints to customize task placement - decisions. - - - `DAEMON`-The daemon scheduling strategy deploys exactly one task on - each active container instance. This task meets all of the task - placement constraints that you specify in your cluster. The service - scheduler also evaluates the task placement constraints for running - tasks. It stop tasks that don't meet the placement constraints. - - Note: - Fargate tasks don't support the `DAEMON` scheduling strategy. - """ - deployment_controller: DeploymentController | None = ... - """The deployment controller type the service is using.""" - tags: list[Tag] | None = ... - """ - The metadata that you apply to the service to help you categorize and - organize them. Each tag consists of a key and an optional value. You - define bot the key and value. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - created_by: str | None = ... - """The principal that created the service.""" - enable_ecs_managed_tags: bool = ... - """ - Determines whether to use Amazon ECS managed tags for the tasks in the - service. For more information, see [Tagging Your Amazon ECS - Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - propagate_tags: str | None = ... - """ - Determines whether to propagate the tags from the task definition or the - service to the task. If no value is specified, the tags aren't - propagated. - """ - enable_execute_command: bool = ... - """ - Determines whether the execute command functionality is turned on for - the service. If `true`, the execute command functionality is turned on - for all containers in tasks as part of the service. - """ - availability_zone_rebalancing: str | None = ... - """ - Indicates whether to use Availability Zone rebalancing for the service. - - For more information, see [Balancing an Amazon ECS service across - Availability - Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) - in the Amazon Elastic Container Service Developer Guide . - - The default behavior of `AvailabilityZoneRebalancing` differs between - create and update requests: - - - For create service requests, when no value is specified for - `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to - `ENABLED`. - - - For update service requests, when no value is specified for - `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing - service's `AvailabilityZoneRebalancing` value. If the service never - had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats this - as `DISABLED`. - """ - resource_management_type: str | None = ... - """ - Identifies whether an ECS Service is an Express Service managed by ECS, - or managed by the customer. The valid values are `ECS` and `CUSTOMER` - """ - -@dataclass(kw_only=True) -class ServiceConnectAccessLogConfiguration(_SerdeShape): - """ - Configuration for Service Connect access logging. Access logs provide - detailed information about requests made to your service, including - request patterns, response codes, and timing data for debugging and - monitoring purposes. - - Note: - To enable access logs, you must also specify a `logConfiguration` in the - `serviceConnectConfiguration`. - """ - - format: str - """ - The format for Service Connect access log output. Choose TEXT for - human-readable logs or JSON for structured data that integrates well - with log analysis tools. - """ - include_query_parameters: str | None = ... - """ - Specifies whether to include query parameters in Service Connect access - logs. - - When enabled, query parameters from HTTP requests are included in the - access logs. Consider security and privacy implications when enabling - this feature, as query parameters may contain sensitive information such - as request IDs and tokens. By default, this parameter is `DISABLED`. - """ - -class ServiceConnectAccessLoggingFormat(UnknownEnumMixin, StrEnum): - """ - The format for Service Connect access log output. Choose TEXT for - human-readable logs or JSON for structured data that integrates well - with log analysis tools. - """ - - TEXT = "TEXT" - JSON = "JSON" - -@dataclass(kw_only=True) -class ServiceConnectClientAlias(_SerdeShape): - """ - Each alias (\"endpoint\") is a fully-qualified name and port number that - other tasks (\"clients\") can use to connect to this service. - - Each name and port mapping must be unique within the namespace. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - port: int - """ - The listening port number for the Service Connect proxy. This port is - available inside of all of the tasks within the same namespace. - - To avoid changing your applications in client Amazon ECS services, set - this to the same port that the client application uses by default. For - more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - dns_name: str | None = ... - """ - The `dnsName` is the name that you use in the applications of client - tasks to connect to this service. The name must be a valid DNS name but - doesn't need to be fully-qualified. The name can include up to 127 - characters. The name can include lowercase letters, numbers, underscores - (_), hyphens (-), and periods (.). The name can't start with a hyphen. - - If this parameter isn't specified, the default value of - `discoveryName.namespace` is used. If the `discoveryName` isn't - specified, the port mapping name from the task definition is used in - `portName.namespace`. - - To avoid changing your applications in client Amazon ECS services, set - this to the same name that the client application uses by default. For - example, a few common names are `database`, `db`, or the lowercase name - of a database, such as `mysql` or `redis`. For more information, see - [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - test_traffic_rules: ServiceConnectTestTrafficRules | None = ... - """ - The configuration for test traffic routing rules used during blue/green - deployments with Amazon ECS Service Connect. This allows you to route a - portion of traffic to the new service revision of your service for - testing before shifting all production traffic. - """ - -@dataclass(kw_only=True) -class ServiceConnectConfiguration(_SerdeShape): - """ - The Service Connect configuration of your Amazon ECS service. The - configuration for this service to discover and connect to services, and - be discovered by, and connected from, other services within a namespace. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - enabled: bool = ... - """Specifies whether to use Service Connect with this service.""" - namespace: str | None = ... - """ - The namespace name or full Amazon Resource Name (ARN) of the Cloud Map - namespace for use with Service Connect. The namespace must be in the - same Amazon Web Services Region as the Amazon ECS service and cluster. - The type of namespace doesn't affect Service Connect. For more - information about Cloud Map, see [Working with - Services](https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html) - in the *Cloud Map Developer Guide*. - """ - services: list[ServiceConnectService] | None = ... - """ - The list of Service Connect service objects. These are names and aliases - (also known as endpoints) that are used by other Amazon ECS services to - connect to this service. - - This field is not required for a \"client\" Amazon ECS service that's a - member of a namespace only to connect to other services within the - namespace. An example of this would be a frontend application that - accepts incoming requests from either a load balancer that's attached - to the service or by other means. - - An object selects a port from the task definition, assigns a name for - the Cloud Map service, and a list of aliases (endpoints) and ports for - client applications to refer to this service. - """ - log_configuration: LogConfiguration | None = ... - """ - The log configuration for the container. This parameter maps to - `LogConfig` in the docker container create command and the - `--log-driver` option to docker run. - - By default, containers use the same logging driver that the Docker - daemon uses. However, the container might use a different logging driver - than the Docker daemon by specifying a log driver configuration in the - container definition. - - Understand the following when specifying a log configuration for your - containers. - - - Amazon ECS currently supports a subset of the logging drivers - available to the Docker daemon. Additional log drivers may be - available in future releases of the Amazon ECS container agent. - - For tasks on Fargate, the supported log drivers are `awslogs`, - `splunk`, and `awsfirelens`. - - For tasks hosted on Amazon EC2 instances, the supported log drivers - are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`,`syslog`, - `splunk`, and `awsfirelens`. - - For tasks on Amazon ECS Managed Instances, the supported log drivers - are `awslogs`, `splunk`, `awsfirelens`, and `json-file`. - - - This parameter requires version 1.18 of the Docker Remote API or - greater on your container instance. - - - For tasks that are hosted on Amazon EC2 instances, the Amazon ECS - container agent must register the available logging drivers with the - `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers - placed on that instance can use these log configuration options. For - more information, see [Amazon ECS container agent - configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) - in the *Amazon Elastic Container Service Developer Guide*. - - - For tasks that are on Fargate, because you don't have access to the - underlying infrastructure your tasks are hosted on, any additional - software needed must be installed outside of the task. For example, - the Fluentd output aggregators or a remote host running Logstash to - send Gelf logs to. - """ - access_log_configuration: ServiceConnectAccessLogConfiguration | None = ... - """ - The configuration for Service Connect access logging. Access logs - capture detailed information about requests made to your service, - including request patterns, response codes, and timing data. They can be - useful for debugging connectivity issues, monitoring service - performance, and auditing service-to-service communication for security - and compliance purposes. - - Note: - To enable access logs, you must also specify a `logConfiguration` in the - `serviceConnectConfiguration`. - """ - container_configurations: list[ServiceConnectContainerConfiguration] | None = ... - """ - The settings for the Service Connect proxy container that Amazon ECS - adds to each task in this service. Each object in the list sets exactly - one setting, and each setting can appear only once in the list. - - Your changes to these settings apply only to tasks that Amazon ECS - launches after you update the service. Your running tasks keep their - existing settings until Amazon ECS replaces them. If you update the - `serviceConnectConfiguration` of your service and don't include - `containerConfigurations`, the proxy container settings return to their - defaults. - """ - -@dataclass -class ServiceConnectContainerConfigurationLogLevel(_SerdeShape): - """ - The log level of the Service Connect proxy container. Set the log level - to `debug` to collect more detailed proxy logs when you troubleshoot - connectivity issues between services, and set it back to `info` when you - finish. Debug logging increases the volume of logs that the proxy - container writes. If you don't specify a log level, the default is - `info`. - """ - - value: str - -@dataclass -class ServiceConnectContainerConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ServiceConnectContainerConfiguration = Union[ - ServiceConnectContainerConfigurationLogLevel - | ServiceConnectContainerConfigurationUnknown -] -""" -Contains a configuration setting for the Service Connect proxy -container, such as the log level. Specify exactly one member in each -object. -""" - -class _ServiceConnectContainerConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> ServiceConnectContainerConfiguration: ... - -class ServiceConnectContainerLogLevel(UnknownEnumMixin, StrEnum): - """ - The log level of the Service Connect proxy container. - - Valid values: - - - `debug` - Collects more detailed proxy logs for troubleshooting - connectivity issues between services. - - - `info` - The default log level. - """ - - DEBUG = "debug" - INFO = "info" - -class ServiceConnectIncludeQueryParameters(UnknownEnumMixin, StrEnum): - """ - Controls whether query parameters are included in Service Connect access - logs. Consider security and privacy implications when enabling this - feature. By default, this parameter is `DISABLED`. - """ - - DISABLED = "DISABLED" - ENABLED = "ENABLED" - -@dataclass(kw_only=True) -class ServiceConnectService(_SerdeShape): - """ - The Service Connect service object configuration. For more information, - see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - port_name: str - """ - The `portName` must match the name of one of the `portMappings` from all - the containers in the task definition of this Amazon ECS service. - """ - discovery_name: str | None = ... - """ - The `discoveryName` is the name of the new Cloud Map service that Amazon - ECS creates for this Amazon ECS service. This must be unique within the - Cloud Map namespace. The name can contain up to 64 characters. The name - can include lowercase letters, numbers, underscores (_), and hyphens - (-). The name can't start with a hyphen. - - If the `discoveryName` isn't specified, the port mapping name from the - task definition is used in `portName.namespace`. - """ - client_aliases: list[ServiceConnectClientAlias] | None = ... - """ - The list of client aliases for this Service Connect service. You use - these to assign names that can be used by client applications. The - maximum number of client aliases that you can have in this list is 1. - - Each alias (\"endpoint\") is a fully-qualified name and port number that - other Amazon ECS tasks (\"clients\") can use to connect to this service. - - Each name and port mapping must be unique within the namespace. - - For each `ServiceConnectService`, you must provide at least one - `clientAlias` with one `port`. - """ - ingress_port_override: int | None = ... - """ - The port number for the Service Connect proxy to listen on. - - Use the value of this field to bypass the proxy for traffic on the port - number specified in the named `portMapping` in the task definition of - this application, and then use it in your VPC security groups to allow - traffic into the proxy for this Amazon ECS service. - - In `awsvpc` mode and Fargate, the default value is the container port - number. The container port number is in the `portMapping` in the task - definition. In bridge mode, the default value is the ephemeral port of - the Service Connect proxy. - """ - timeout: TimeoutConfiguration | None = ... - """ - A reference to an object that represents the configured timeouts for - Service Connect. - """ - tls: ServiceConnectTlsConfiguration | None = ... - """ - A reference to an object that represents a Transport Layer Security - (TLS) configuration. - """ - -@dataclass(kw_only=True) -class ServiceConnectServiceResource(_SerdeShape): - """ - The Service Connect resource. Each configuration maps a discovery name - to a Cloud Map service name. The data is stored in Cloud Map as part of - the Service Connect configuration for each discovery name of this Amazon - ECS service. - - A task can resolve the `dnsName` for each of the `clientAliases` of a - service. However a task can't resolve the discovery names. If you want - to connect to a service, refer to the `ServiceConnectConfiguration` of - that service for the list of `clientAliases` that you can use. - """ - - discovery_name: str | None = ... - """ - The discovery name of this Service Connect resource. - - The `discoveryName` is the name of the new Cloud Map service that Amazon - ECS creates for this Amazon ECS service. This must be unique within the - Cloud Map namespace. The name can contain up to 64 characters. The name - can include lowercase letters, numbers, underscores (_), and hyphens - (-). The name can't start with a hyphen. - - If the `discoveryName` isn't specified, the port mapping name from the - task definition is used in `portName.namespace`. - """ - discovery_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the service in Cloud Map that matches - the discovery name for this Service Connect resource. You can use this - ARN in other integrations with Cloud Map. However, Service Connect - can't ensure connectivity outside of Amazon ECS. - """ - -@dataclass(kw_only=True) -class ServiceConnectTestTrafficHeaderMatchRules(_SerdeShape): - """ - The header matching rules for test traffic routing in Amazon ECS - blue/green deployments. These rules determine how incoming requests are - matched based on HTTP headers to route test traffic to the new service - revision. - """ - - exact: str - """ - The exact value that the HTTP header must match for the test traffic - routing rule to apply. This provides precise control over which requests - are routed to the new service revision during blue/green deployments. - """ - -@dataclass(kw_only=True) -class ServiceConnectTestTrafficHeaderRules(_SerdeShape): - """ - The HTTP header rules used to identify and route test traffic during - Amazon ECS blue/green deployments. These rules specify which HTTP - headers to examine and what values to match for routing decisions. - - For more information, see [Service Connect for Amazon ECS blue/green - deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect-blue-green.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - name: str - """ - The name of the HTTP header to examine for test traffic routing. Common - examples include custom headers like `X-Test-Version` or - `X-Canary-Request` that can be used to identify test traffic. - """ - value: ServiceConnectTestTrafficHeaderMatchRules | None = ... - """ - The header value matching configuration that determines how the HTTP - header value is evaluated for test traffic routing decisions. - """ - -@dataclass(kw_only=True) -class ServiceConnectTestTrafficRules(_SerdeShape): - """ - The test traffic routing configuration for Amazon ECS blue/green - deployments. This configuration allows you to define rules for routing - specific traffic to the new service revision during the deployment - process, allowing for safe testing before full production traffic shift. - - For more information, see [Service Connect for Amazon ECS blue/green - deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect-blue-green.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - header: ServiceConnectTestTrafficHeaderRules - """ - The HTTP header-based routing rules that determine which requests should - be routed to the new service version during blue/green deployment - testing. These rules provide fine-grained control over test traffic - routing based on request headers. - """ - -@dataclass(kw_only=True) -class ServiceConnectTlsCertificateAuthority(_SerdeShape): - """The certificate root authority that secures your service.""" - - aws_pca_authority_arn: str | None = ... - """ - The ARN of the Amazon Web Services Private Certificate Authority - certificate. - """ - -@dataclass(kw_only=True) -class ServiceConnectTlsConfiguration(_SerdeShape): - """ - The key that encrypts and decrypts your resources for Service Connect - TLS. - """ - - issuer_certificate_authority: ServiceConnectTlsCertificateAuthority - """The signer certificate authority.""" - kms_key: str | None = ... - """The Amazon Web Services Key Management Service key.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that's associated with - the Service Connect TLS. - """ - -@dataclass(kw_only=True) -class ServiceCurrentRevisionSummary(_SerdeShape): - """The summary of the current service revision configuration""" - - arn: str | None = ... - """The ARN of the current service revision.""" - requested_task_count: int = ... - """The number of requested tasks in the current service revision""" - running_task_count: int = ... - """The number of running tasks of the current service revision""" - pending_task_count: int = ... - """The number of pending tasks in the current service revision""" - -@dataclass(kw_only=True) -class ServiceDeployment(_SerdeShape): - """ - Information about the service deployment. - - Service deployments provide a comprehensive view of your deployments. - For information about service deployments, see [View service history - using Amazon ECS service - deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployment.html) - in the Amazon Elastic Container Service Developer Guide . - """ - - service_deployment_arn: str | None = ... - """The ARN of the service deployment.""" - service_arn: str | None = ... - """The ARN of the service for this service deployment.""" - cluster_arn: str | None = ... - """The ARN of the cluster that hosts the service.""" - created_at: datetime | None = ... - """ - The time the service deployment was created. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - started_at: datetime | None = ... - """ - The time the service deployment statred. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - finished_at: datetime | None = ... - """ - The time the service deployment finished. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - stopped_at: datetime | None = ... - """ - The time the service deployment stopped. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - - The service deployment stops when any of the following actions happen: - - - A user manually stops the deployment - - - The rollback option is not in use for the failure detection mechanism - (the circuit breaker or alarm-based) and the service fails. - """ - updated_at: datetime | None = ... - """ - The time that the service deployment was last updated. The format is - yyyy-MM-dd HH:mm:ss.SSSSSS. - """ - source_service_revisions: list[ServiceRevisionSummary] | None = ... - """The currently deployed workload configuration.""" - target_service_revision: ServiceRevisionSummary | None = ... - """The workload configuration being deployed.""" - status: str | None = ... - """The service deployment state.""" - status_reason: str | None = ... - """ - Information about why the service deployment is in the current status. - For example, the circuit breaker detected a failure. - """ - lifecycle_stage: str | None = ... - """ - The current lifecycle stage of the deployment. Possible values include: - - - RECONCILE_SERVICE - - The reconciliation stage that only happens when you start a new - service deployment with more than 1 service revision in an ACTIVE - state. - - - PRE_SCALE_UP - - The green service revision has not started. The blue service revision - is handling 100% of the production traffic. There is no test traffic. - - - SCALE_UP - - The stage when the green service revision scales up to 100% and - launches new tasks. The green service revision is not serving any - traffic at this point. - - - POST_SCALE_UP - - The green service revision has started. The blue service revision is - handling 100% of the production traffic. There is no test traffic. - - - TEST_TRAFFIC_SHIFT - - The blue and green service revisions are running. The blue service - revision handles 100% of the production traffic. The green service - revision is migrating from 0% to 100% of test traffic. - - - POST_TEST_TRAFFIC_SHIFT - - The test traffic shift is complete. The green service revision handles - 100% of the test traffic. - - - PRE_PRODUCTION_TRAFFIC_SHIFT - - Occurs before production traffic shift. For linear and canary - deployments, this stage is invoked before every traffic shift step. - - - PRODUCTION_TRAFFIC_SHIFT - - Production traffic is shifting to the green service revision. The - green service revision is migrating from 0% to 100% of production - traffic. For linear and canary deployments, this stage is invoked at - every traffic shift step. - - - POST_PRODUCTION_TRAFFIC_SHIFT - - The production traffic shift is complete. - - - BAKE_TIME - - The stage when both blue and green service revisions are running - simultaneously after the production traffic has shifted. - - - CLEAN_UP - - The stage when the blue service revision has completely scaled down to - 0 running tasks. The green service revision is now the production - service revision after this stage. - """ - lifecycle_hook_details: list[DeploymentLifecycleHookDetail] | None = ... - """The details of the lifecycle hooks for the current service deployment.""" - deployment_configuration: DeploymentConfiguration | None = ... - """ - Optional deployment parameters that control how many tasks run during a - deployment and the ordering of stopping and starting tasks. - """ - rollback: Rollback | None = ... - """ - The rollback options the service deployment uses when the deployment - fails. - """ - deployment_circuit_breaker: ServiceDeploymentCircuitBreaker | None = ... - """ - The circuit breaker configuration that determines a service deployment - failed. - """ - alarms: ServiceDeploymentAlarms | None = ... - """The CloudWatch alarms that determine when a service deployment fails.""" - -@dataclass(kw_only=True) -class ServiceDeploymentAlarms(_SerdeShape): - """ - The CloudWatch alarms used to determine a service deployment failed. - - Amazon ECS considers the service deployment as failed when any of the - alarms move to the `ALARM` state. For more information, see [How - CloudWatch alarms detect Amazon ECS deployment - failures](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-alarm-failure.html) - in the Amazon ECS Developer Guide. - """ - - status: str | None = ... - """ - The status of the alarms check. Amazon ECS is not using alarms for - service deployment failures when the status is `DISABLED`. - """ - alarm_names: list[str] | None = ... - """ - The name of the CloudWatch alarms that determine when a service - deployment failed. A \",\" separates the alarms. - """ - triggered_alarm_names: list[str] | None = ... - """ - One or more CloudWatch alarm names that have been triggered during the - service deployment. A \",\" separates the alarm names. - """ - -@dataclass(kw_only=True) -class ServiceDeploymentBrief(_SerdeShape): - """ - The service deployment properties that are retured when you call - `ListServiceDeployments`. - - This provides a high-level overview of the service deployment. - """ - - service_deployment_arn: str | None = ... - """The ARN of the service deployment.""" - service_arn: str | None = ... - """The ARN of the service for this service deployment.""" - cluster_arn: str | None = ... - """The ARN of the cluster that hosts the service.""" - started_at: datetime | None = ... - """ - The time that the service deployment statred. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - created_at: datetime | None = ... - """ - The time that the service deployment was created. The format is - yyyy-MM-dd HH:mm:ss.SSSSSS. - """ - finished_at: datetime | None = ... - """ - The time that the service deployment completed. The format is yyyy-MM-dd - HH:mm:ss.SSSSSS. - """ - target_service_revision_arn: str | None = ... - """The ARN of the service revision being deplyed.""" - status: str | None = ... - """The status of the service deployment""" - status_reason: str | None = ... - """ - Information about why the service deployment is in the current status. - For example, the circuit breaker detected a deployment failure. - """ - -@dataclass(kw_only=True) -class ServiceDeploymentCircuitBreaker(_SerdeShape): - """ - Information about the circuit breaker used to determine when a service - deployment has failed. - - The deployment circuit breaker is the rolling update mechanism that - determines if the tasks reach a steady state. The deployment circuit - breaker has an option that will automatically roll back a failed - deployment to the last cpompleted service revision. For more - information, see [How the Amazon ECS deployment circuit breaker detects - failures](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-circuit-breaker.html) - in the *Amazon ECS Developer Guide*. - """ - - status: str | None = ... - """ - The circuit breaker status. Amazon ECS is not using the circuit breaker - for service deployment failures when the status is `DISABLED`. - """ - failure_count: int = ... - """ - The number of times the circuit breaker detected a service deploymeny - failure. - """ - threshold: int = ... - """ - The threshhold which determines that the service deployment failed. - - The deployment circuit breaker calculates the threshold value, and then - uses the value to determine when to move the deployment to a FAILED - state. The deployment circuit breaker has a minimum threshold of 3 and a - maximum threshold of 200. and uses the values in the following formula - to determine the deployment failure. - - `0.5 * desired task count` - """ - -class ServiceDeploymentLifecycleStage(UnknownEnumMixin, StrEnum): - RECONCILE_SERVICE = "RECONCILE_SERVICE" - PRE_SCALE_UP = "PRE_SCALE_UP" - SCALE_UP = "SCALE_UP" - POST_SCALE_UP = "POST_SCALE_UP" - TEST_TRAFFIC_SHIFT = "TEST_TRAFFIC_SHIFT" - POST_TEST_TRAFFIC_SHIFT = "POST_TEST_TRAFFIC_SHIFT" - PRODUCTION_TRAFFIC_SHIFT = "PRODUCTION_TRAFFIC_SHIFT" - POST_PRODUCTION_TRAFFIC_SHIFT = "POST_PRODUCTION_TRAFFIC_SHIFT" - BAKE_TIME = "BAKE_TIME" - CLEAN_UP = "CLEAN_UP" - -@dataclass(kw_only=True) -class ServiceDeploymentNotFoundException(ServiceError, _SerdeShape): - """ - The service deploy ARN that you specified in the - `ContinueServiceDeployment` doesn't exist. You can use - `ListServiceDeployments` to retrieve the service deployment ARNs. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ServiceDeploymentRollbackMonitorsStatus(UnknownEnumMixin, StrEnum): - TRIGGERED = "TRIGGERED" - MONITORING = "MONITORING" - MONITORING_COMPLETE = "MONITORING_COMPLETE" - DISABLED = "DISABLED" - -class ServiceDeploymentStatus(UnknownEnumMixin, StrEnum): - PENDING = "PENDING" - SUCCESSFUL = "SUCCESSFUL" - STOPPED = "STOPPED" - STOP_REQUESTED = "STOP_REQUESTED" - IN_PROGRESS = "IN_PROGRESS" - ROLLBACK_REQUESTED = "ROLLBACK_REQUESTED" - ROLLBACK_IN_PROGRESS = "ROLLBACK_IN_PROGRESS" - ROLLBACK_SUCCESSFUL = "ROLLBACK_SUCCESSFUL" - ROLLBACK_FAILED = "ROLLBACK_FAILED" - -@dataclass(kw_only=True) -class ServiceEvent(_SerdeShape): - """The details for an event that's associated with a service.""" - - id: str | None = ... - """The ID string for the event.""" - created_at: datetime | None = ... - """The Unix timestamp for the time when the event was triggered.""" - message: str | None = ... - """The event message.""" - -class ServiceField(UnknownEnumMixin, StrEnum): - TAGS = "TAGS" - -@dataclass(kw_only=True) -class ServiceManagedEBSVolumeConfiguration(_SerdeShape): - """ - The configuration for the Amazon EBS volume that Amazon ECS creates and - manages on your behalf. These settings are used to create each Amazon - EBS volume, with one volume created for each task in the service. For - information about the supported launch types and operating systems, see - [Supported operating systems and launch - types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volumes-configuration) - in the *Amazon Elastic Container Service Developer Guide*. - - Many of these parameters map 1:1 with the Amazon EBS `CreateVolume` API - request parameters. - """ - - encrypted: bool | None = ... - """ - Indicates whether the volume should be encrypted. If you turn on - Region-level Amazon EBS encryption by default but set this value as - `false`, the setting is overridden and the volume is encrypted with the - KMS key specified for Amazon EBS encryption by default. This parameter - maps 1:1 with the `Encrypted` parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - """ - kms_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key - Management Service key to use for Amazon EBS encryption. When a key is - specified using this parameter, it overrides Amazon EBS default - encryption or any KMS key that you specified for cluster-level managed - storage encryption. This parameter maps 1:1 with the `KmsKeyId` - parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. For more information about encrypting - Amazon EBS volumes attached to tasks, see [Encrypt data stored in Amazon - EBS volumes attached to Amazon ECS - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html). - - Warning: - Amazon Web Services authenticates the Amazon Web Services Key Management - Service key asynchronously. Therefore, if you specify an ID, alias, or - ARN that is invalid, the action can appear to complete, but eventually - fails. - """ - volume_type: str | None = ... - """ - The volume type. This parameter maps 1:1 with the `VolumeType` parameter - of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS - volume - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) - in the *Amazon EC2 User Guide*. - - The following are the supported volume types. - - - General Purpose SSD: `gp2`|`gp3` - - - Provisioned IOPS SSD: `io1`|`io2` - - - Throughput Optimized HDD: `st1` - - - Cold HDD: `sc1` - - - Magnetic: `standard` - - Note: - The magnetic volume type is not supported on Fargate. - """ - size_in_gi_b: int | None = ... - """ - The size of the volume in GiB. You must specify either a volume size or - a snapshot ID. If you specify a snapshot ID, the snapshot size is used - for the volume size by default. You can optionally specify a volume size - greater than or equal to the snapshot size. This parameter maps 1:1 with - the `Size` parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - - The following are the supported volume size values for each volume type. - - - `gp2` and `gp3`: 1-16,384 - - - `io1` and `io2`: 4-16,384 - - - `st1` and `sc1`: 125-16,384 - - - `standard`: 1-1,024 - """ - snapshot_id: str | None = ... - """ - The snapshot that Amazon ECS uses to create volumes for attachment to - tasks maintained by the service. You must specify either `snapshotId` or - `sizeInGiB` in your volume configuration. This parameter maps 1:1 with - the `SnapshotId` parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - """ - volume_initialization_rate: int | None = ... - """ - The rate, in MiB/s, at which data is fetched from a snapshot of an - existing EBS volume to create new volumes for attachment to the tasks - maintained by the service. This property can be specified only if you - specify a `snapshotId`. For more information, see [Initialize Amazon EBS - volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) - in the *Amazon EBS User Guide*. - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS). For `gp3`, `io1`, and - `io2` volumes, this represents the number of IOPS that are provisioned - for the volume. For `gp2` volumes, this represents the baseline - performance of the volume and the rate at which the volume accumulates - I/O credits for bursting. - - The following are the supported values for each volume type. - - - `gp3`: 3,000 - 16,000 IOPS - - - `io1`: 100 - 64,000 IOPS - - - `io2`: 100 - 256,000 IOPS - - This parameter is required for `io1` and `io2` volume types. The default - for `gp3` volumes is `3,000 IOPS`. This parameter is not supported for - `st1`, `sc1`, or `standard` volume types. - - This parameter maps 1:1 with the `Iops` parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - """ - throughput: int | None = ... - """ - The throughput to provision for a volume, in MiB/s, with a maximum of - 1,000 MiB/s. This parameter maps 1:1 with the `Throughput` parameter of - the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - - Warning: - This parameter is only supported for the `gp3` volume type. - """ - tag_specifications: list[EBSTagSpecification] | None = ... - """ - The tags to apply to the volume. Amazon ECS applies service-managed tags - by default. This parameter maps 1:1 with the `TagSpecifications.N` - parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - """ - role_arn: str - """ - The ARN of the IAM role to associate with this volume. This is the - Amazon ECS infrastructure IAM role that is used to manage your Amazon - Web Services infrastructure. We recommend using the Amazon ECS-managed - `AmazonECSInfrastructureRolePolicyForVolumes` IAM policy with this role. - For more information, see [Amazon ECS infrastructure IAM - role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) - in the *Amazon ECS Developer Guide*. - """ - filesystem_type: str | None = ... - """ - The filesystem type for the volume. For volumes created from a snapshot, - you must specify the same filesystem type that the volume was using when - the snapshot was created. If there is a filesystem type mismatch, the - tasks will fail to start. - - The available Linux filesystem types are `ext3`, `ext4`, and `xfs`. If - no value is specified, the `xfs` filesystem type is used by default. - - The available Windows filesystem types are `NTFS`. - """ - -@dataclass(kw_only=True) -class ServiceNotActiveException(ServiceError, _SerdeShape): - """ - The specified service isn't active. You can't update a service that's - inactive. If you have previously deleted a service, you can re-create it - with - [CreateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceNotFoundException(ServiceError, _SerdeShape): - """ - The specified service wasn't found. You can view your available - services with - [ListServices](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html). - Amazon ECS services are cluster specific and Region specific. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceRegistry(_SerdeShape): - """ - The details for the service registry. - - Each service may be associated with one service registry. Multiple - service registries for each service are not supported. - - When you add, update, or remove the service registries configuration, - Amazon ECS starts a new deployment. New tasks are registered and - deregistered to the updated service registry configuration. - """ - - registry_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the service registry. The currently - supported service registry is Cloud Map. For more information, see - [CreateService](https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html). - """ - port: int | None = ... - """ - The port value used if your service discovery service specified an SRV - record. This field might be used if both the `awsvpc` network mode and - SRV records are used. - """ - container_name: str | None = ... - """ - The container name value to be used for your service discovery service. - It's already specified in the task definition. If the task definition - that your service task specifies uses the `bridge` or `host` network - mode, you must specify a `containerName` and `containerPort` combination - from the task definition. If the task definition that your service task - specifies uses the `awsvpc` network mode and a type SRV DNS record is - used, you must specify either a `containerName` and `containerPort` - combination or a `port` value. However, you can't specify both. - """ - container_port: int | None = ... - """ - The port value to be used for your service discovery service. It's - already specified in the task definition. If the task definition your - service task specifies uses the `bridge` or `host` network mode, you - must specify a `containerName` and `containerPort` combination from the - task definition. If the task definition your service task specifies uses - the `awsvpc` network mode and a type SRV DNS record is used, you must - specify either a `containerName` and `containerPort` combination or a - `port` value. However, you can't specify both. - """ - -@dataclass(kw_only=True) -class ServiceRevision(_SerdeShape): - """ - Information about the service revision. - - A service revision contains a record of the workload configuration - Amazon ECS is attempting to deploy. Whenever you create or deploy a - service, Amazon ECS automatically creates and captures the configuration - that you're trying to deploy in the service revision. For information - about service revisions, see [Amazon ECS service - revisions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-revision.html) - in the Amazon Elastic Container Service Developer Guide . - """ - - service_revision_arn: str | None = ... - """The ARN of the service revision.""" - service_arn: str | None = ... - """The ARN of the service for the service revision.""" - cluster_arn: str | None = ... - """The ARN of the cluster that hosts the service.""" - task_definition: str | None = ... - """The task definition the service revision uses.""" - capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """The capacity provider strategy the service revision uses.""" - launch_type: str | None = ... - """The launch type the service revision uses.""" - platform_version: str | None = ... - """ - For the Fargate launch type, the platform version the service revision - uses. - """ - platform_family: str | None = ... - """The platform family the service revision uses.""" - load_balancers: list[LoadBalancer] | None = ... - """The load balancers the service revision uses.""" - service_registries: list[ServiceRegistry] | None = ... - """ - The service registries (for Service Discovery) the service revision - uses. - """ - network_configuration: NetworkConfiguration | None = ... - """The network configuration for a task or service.""" - container_images: list[ContainerImage] | None = ... - """The container images the service revision uses.""" - guard_duty_enabled: bool = ... - """Indicates whether Runtime Monitoring is turned on.""" - service_connect_configuration: ServiceConnectConfiguration | None = ... - """ - The Service Connect configuration of your Amazon ECS service. The - configuration for this service to discover and connect to services, and - be discovered by, and connected from, other services within a namespace. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - volume_configurations: list[ServiceVolumeConfiguration] | None = ... - """ - The volumes that are configured at deployment that the service revision - uses. - """ - fargate_ephemeral_storage: DeploymentEphemeralStorage | None = ... - """The amount of ephemeral storage to allocate for the deployment.""" - created_at: datetime | None = ... - """ - The time that the service revision was created. The format is yyyy-mm-dd - HH:mm:ss.SSSSS. - """ - vpc_lattice_configurations: list[VpcLatticeConfiguration] | None = ... - """The VPC Lattice configuration for the service revision.""" - resolved_configuration: ResolvedConfiguration | None = ... - """ - The resolved configuration for the service revision which contains the - actual resources your service revision uses, such as which target groups - serve traffic. - """ - ecs_managed_resources: ECSManagedResources | None = ... - """ - The resources created and managed by Amazon ECS when you create an - Express service for Amazon ECS. - """ - overrides: ServiceRevisionOverrides | None = ... - """ - The effective runtime overrides that Amazon ECS applies to this service - revision. This value is present only when Amazon ECS detects a - difference between the task definition and the actual runtime - configuration. - """ - gateway_connectors: list[GatewayConnector] | None = ... - """The gateway connectors that are associated with the service revision.""" - monitoring: MonitoringConfiguration | None = ... - """ - The optional monitoring configuration for the service, which defines the - resolution for the service-level `CPUUtilization` and - `MemoryUtilization` Amazon CloudWatch metrics. When not specified, - Amazon ECS uses the default resolution of `60` seconds. - """ - -class ServiceRevisionCleanup(UnknownEnumMixin, StrEnum): - """ - The time when Amazon ECS removes the source revisions' tasks relative - to deployment completion. When set to `BLOCKING`, Amazon ECS removes the - previous tasks before completing the deployment. When set to `DEFERRED`, - Amazon ECS completes the deployment first and removes the previous tasks - in the background. - """ - - BLOCKING = "BLOCKING" - DEFERRED = "DEFERRED" - -@dataclass(kw_only=True) -class ServiceRevisionLoadBalancer(_SerdeShape): - """ - The resolved load balancer configuration for a service revision. This - includes information about which target groups serve traffic and which - listener rules direct traffic to them. - """ - - target_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the target group associated with the - service revision. - """ - production_listener_rule: str | None = ... - """ - The Amazon Resource Name (ARN) of the production listener rule or - listener that directs traffic to the target group associated with the - service revision. - """ - -@dataclass(kw_only=True) -class ServiceRevisionOverrides(_SerdeShape): - """ - Contains the runtime overrides that Amazon ECS automatically applies to - a service revision when the effective runtime configuration differs from - the task definition. This value is read-only. - """ - - runtime_platform: RuntimePlatformOverride | None = ... - """ - The runtime platform override that Amazon ECS automatically applies to - the service revision. You can't set this value. - """ - -@dataclass(kw_only=True) -class ServiceRevisionSummary(_SerdeShape): - """ - The information about the number of requested, pending, and running - tasks for a service revision. - """ - - arn: str | None = ... - """The ARN of the service revision.""" - requested_task_count: int = ... - """The number of requested tasks for the service revision.""" - running_task_count: int = ... - """The number of running tasks for the service revision.""" - pending_task_count: int = ... - """The number of pending tasks for the service revision.""" - requested_test_traffic_weight: float | None = ... - """ - The percentage of test traffic that is directed to this service - revision. This value represents a snapshot of the traffic distribution - and may not reflect real-time changes during active deployments. Valid - values are 0.0 to 100.0. - """ - requested_production_traffic_weight: float | None = ... - """ - The percentage of production traffic that is directed to this service - revision. This value represents a snapshot of the traffic distribution - and may not reflect real-time changes during active deployments. Valid - values are 0.0 to 100.0. - """ - -@dataclass(kw_only=True) -class ServiceRevisionVpcLatticeConfiguration(_SerdeShape): - """ - The resolved VPC Lattice configuration for a service revision. This - includes information about which target groups serve traffic and which - listener rules direct traffic to them. - """ - - target_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the target group associated with the - service revision. - """ - production_listener_rule: str | None = ... - """ - The Amazon Resource Name (ARN) of the production listener rule or - listener that directs traffic to the target group associated with the - service revision. - """ - -@dataclass(kw_only=True) -class ServiceVolumeConfiguration(_SerdeShape): - """ - The configuration for a volume specified in the task definition as a - volume that is configured at launch time. Currently, the only supported - volume type is an Amazon EBS volume. - """ - - name: str - """ - The name of the volume. This value must match the volume name from the - `Volume` object in the task definition. - """ - managed_ebs_volume: ServiceManagedEBSVolumeConfiguration | None = ... - """ - The configuration for the Amazon EBS volume that Amazon ECS creates and - manages on your behalf. These settings are used to create each Amazon - EBS volume, with one volume created for each task in the service. The - Amazon EBS volumes are visible in your account in the Amazon EC2 console - once they are created. - """ - -@dataclass(kw_only=True) -class Session(_SerdeShape): - """The details for the execute command session.""" - - session_id: str | None = ... - """The ID of the execute command session.""" - stream_url: str | None = ... - """ - A URL to the managed agent on the container that the SSM Session Manager - client uses to send commands and receive output from the container. - """ - token_value: str | None = ... - """ - An encrypted token value containing session and caller information. - It's used to authenticate the connection to the container. - """ - -@dataclass(kw_only=True) -class Setting(_SerdeShape): - """The current account setting for a resource.""" - - name: str | None = ... - """The Amazon ECS resource name.""" - value: str | None = ... - """ - Determines whether the account setting is on or off for the specified - resource. - """ - principal_arn: str | None = ... - """ - The ARN of the principal. It can be a user, role, or the root user. If - this field is omitted, the authenticated user is assumed. - """ - type: str | None = ... - """ - Indicates whether Amazon Web Services manages the account setting, or if - the user manages it. - - `aws_managed` account settings are read-only, as Amazon Web Services - manages such on the customer's behalf. Currently, the - `guardDutyActivate` account setting is the only one Amazon Web Services - manages. - """ - -class SettingName(UnknownEnumMixin, StrEnum): - SERVICE_LONG_ARN_FORMAT = "serviceLongArnFormat" - TASK_LONG_ARN_FORMAT = "taskLongArnFormat" - CONTAINER_INSTANCE_LONG_ARN_FORMAT = "containerInstanceLongArnFormat" - AWSVPC_TRUNKING = "awsvpcTrunking" - CONTAINER_INSIGHTS = "containerInsights" - FARGATE_FIPS_MODE = "fargateFIPSMode" - TAG_RESOURCE_AUTHORIZATION = "tagResourceAuthorization" - FARGATE_TASK_RETIREMENT_WAIT_PERIOD = "fargateTaskRetirementWaitPeriod" - GUARD_DUTY_ACTIVATE = "guardDutyActivate" - DEFAULT_LOG_DRIVER_MODE = "defaultLogDriverMode" - FARGATE_EVENT_WINDOWS = "fargateEventWindows" - -class SettingType(UnknownEnumMixin, StrEnum): - USER = "user" - AWS_MANAGED = "aws_managed" - -@dataclass -class SharingStrategyNvidiaMps(_SerdeShape): - """ - Shares a GPU between containers by using NVIDIA Multi-Process Service - (MPS). You specify the GPU memory to allocate to the container and, - optionally, the maximum percentage of the GPU's compute capacity that - the container can use. - """ - - value: NvidiaMpsAllocation - -@dataclass -class SharingStrategyUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -SharingStrategy = Union[SharingStrategyNvidiaMps | SharingStrategyUnknown] -""" -The strategy that a container uses to share a GPU with other containers. -Specify exactly one member. -""" - -class _SharingStrategyDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> SharingStrategy: ... - -class SortOrder(UnknownEnumMixin, StrEnum): - ASC = "ASC" - DESC = "DESC" - -class StabilityStatus(UnknownEnumMixin, StrEnum): - STEADY_STATE = "STEADY_STATE" - STABILIZING = "STABILIZING" - -@dataclass(kw_only=True) -class StartTaskInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster where - to start your task. If you do not specify a cluster, the default cluster - is assumed. - """ - container_instances: list[str] | None = ... - """ - The container instance IDs or full ARN entries for the container - instances where you would like to place your task. You can specify up to - 10 container instances. - """ - enable_ecs_managed_tags: bool = ... - """ - Specifies whether to use Amazon ECS managed tags for the task. For more - information, see [Tagging Your Amazon ECS - Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - enable_execute_command: bool = ... - """ - Whether or not the execute command functionality is turned on for the - task. If `true`, this turns on the execute command functionality on all - containers in the task. - """ - group: str | None = ... - """ - The name of the task group to associate with the task. The default value - is the family name of the task definition (for example, - family:my-family-name). - """ - network_configuration: NetworkConfiguration | None = ... - """ - The VPC subnet and security group configuration for tasks that receive - their own elastic network interface by using the `awsvpc` networking - mode. - """ - overrides: TaskOverride | None = ... - """ - A list of container overrides in JSON format that specify the name of a - container in the specified task definition and the overrides it - receives. You can override the default command for a container (that's - specified in the task definition or Docker image) with a `command` - override. You can also override existing environment variables (that are - specified in the task definition or Docker image) on a container or add - new environment variables to it with an `environment` override. - - Note: - A total of 8192 characters are allowed for overrides. This limit - includes the JSON formatting characters of the override structure. - """ - propagate_tags: str | None = ... - """ - Specifies whether to propagate the tags from the task definition or the - service to the task. If no value is specified, the tags aren't - propagated. - """ - reference_id: str | None = ... - """ - This parameter is only used by Amazon ECS. It is not intended for use by - customers. - """ - started_by: str | None = ... - """ - An optional tag specified when a task is started. For example, if you - automatically trigger a task to run a batch process job, you could apply - a unique identifier for that job to your task with the `startedBy` - parameter. You can then identify which tasks belong to that job by - filtering the results of a - [ListTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListTasks.html) - call with the `startedBy` value. Up to 36 letters (uppercase and - lowercase), numbers, hyphens (-), forward slash (/), and underscores - (_) are allowed. - - If a task is started by an Amazon ECS service, the `startedBy` parameter - contains the deployment ID of the service that starts it. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the task to help you categorize and - organize them. Each tag consists of a key and an optional value, both of - which you define. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - task_definition: str | None = ... - """ - The `family` and `revision` (`family:revision`) or full ARN of the task - definition to start. If a `revision` isn't specified, the latest - `ACTIVE` revision is used. - """ - volume_configurations: list[TaskVolumeConfiguration] | None = ... - """ - The details of the volume that was `configuredAtLaunch`. You can - configure the size, volumeType, IOPS, throughput, snapshot and - encryption in - [TaskManagedEBSVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html). - The `name` of the volume must match the `name` from the task definition. - """ - -@dataclass(kw_only=True) -class StartTaskOutput(_SerdeShape): - """""" - - tasks: list[Task] | None = ... - """ - A full description of the tasks that were started. Each task that was - successfully placed on your container instances is described. - """ - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopServiceDeploymentInput(_SerdeShape): - """Dataclass for StopServiceDeploymentInput structure.""" - - service_deployment_arn: str | None = ... - """The ARN of the service deployment that you want to stop.""" - stop_type: str | None = ... - """ - How you want Amazon ECS to stop the service. - - The valid values are `ROLLBACK`. - """ - -@dataclass(kw_only=True) -class StopServiceDeploymentOutput(_SerdeShape): - """Dataclass for StopServiceDeploymentOutput structure.""" - - service_deployment_arn: str | None = ... - """The ARN of the stopped service deployment.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class StopServiceDeploymentStopType(UnknownEnumMixin, StrEnum): - ABORT = "ABORT" - ROLLBACK = "ROLLBACK" - -@dataclass(kw_only=True) -class StopTaskInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the task to stop. If you do not specify a cluster, the default - cluster is assumed. - """ - task: str | None = ... - """Thefull Amazon Resource Name (ARN) of the task.""" - reason: str | None = ... - """ - An optional message specified when a task is stopped. For example, if - you're using a custom scheduler, you can use this parameter to specify - the reason for stopping the task here, and the message appears in - subsequent - [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html)> - API operations on this task. - """ - -@dataclass(kw_only=True) -class StopTaskOutput(_SerdeShape): - """""" - - task: Task | None = ... - """The task that was stopped.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SubmitAttachmentStateChangesInput(_SerdeShape): - """Dataclass for SubmitAttachmentStateChangesInput structure.""" - - cluster: str | None = ... - """ - The short name or full ARN of the cluster that hosts the container - instance the attachment belongs to. - """ - attachments: list[AttachmentStateChange] | None = ... - """Any attachments associated with the state change request.""" - -@dataclass(kw_only=True) -class SubmitAttachmentStateChangesOutput(_SerdeShape): - """Dataclass for SubmitAttachmentStateChangesOutput structure.""" - - acknowledgment: str | None = ... - """Acknowledgement of the state change.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SubmitContainerStateChangeInput(_SerdeShape): - """""" - - cluster: str | None = ... - """The short name or full ARN of the cluster that hosts the container.""" - task: str | None = ... - """ - The task ID or full Amazon Resource Name (ARN) of the task that hosts - the container. - """ - container_name: str | None = ... - """The name of the container.""" - runtime_id: str | None = ... - """The ID of the Docker container.""" - status: str | None = ... - """The status of the state change request.""" - exit_code: int | None = ... - """The exit code that's returned for the state change request.""" - reason: str | None = ... - """The reason for the state change request.""" - network_bindings: list[NetworkBinding] | None = ... - """The network bindings of the container.""" - -@dataclass(kw_only=True) -class SubmitContainerStateChangeOutput(_SerdeShape): - """""" - - acknowledgment: str | None = ... - """Acknowledgement of the state change.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SubmitTaskStateChangeInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the task. - """ - task: str | None = ... - """The task ID or full ARN of the task in the state change request.""" - status: str | None = ... - """The status of the state change request.""" - reason: str | None = ... - """The reason for the state change request.""" - containers: list[ContainerStateChange] | None = ... - """Any containers that's associated with the state change request.""" - attachments: list[AttachmentStateChange] | None = ... - """Any attachments associated with the state change request.""" - managed_agents: list[ManagedAgentStateChange] | None = ... - """The details for the managed agent that's associated with the task.""" - pull_started_at: datetime | None = ... - """The Unix timestamp for the time when the container image pull started.""" - pull_stopped_at: datetime | None = ... - """The Unix timestamp for the time when the container image pull completed.""" - execution_stopped_at: datetime | None = ... - """The Unix timestamp for the time when the task execution stopped.""" - -@dataclass(kw_only=True) -class SubmitTaskStateChangeOutput(_SerdeShape): - """""" - - acknowledgment: str | None = ... - """Acknowledgement of the state change.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SystemControl(_SerdeShape): - """ - A list of namespaced kernel parameters to set in the container. This - parameter maps to `Sysctls` in the docker container create command and - the `--sysctl` option to docker run. For example, you can configure - `net.ipv4.tcp_keepalive_time` setting to maintain longer lived - connections. - - We don't recommend that you specify network-related `systemControls` - parameters for multiple containers in a single task that also uses - either the `awsvpc` or `host` network mode. Doing this has the following - disadvantages: - - - For tasks that use the `awsvpc` network mode including Fargate, if you - set `systemControls` for any container, it applies to all containers - in the task. If you set different `systemControls` for multiple - containers in a single task, the container that's started last - determines which `systemControls` take effect. - - - For tasks that use the `host` network mode, the network namespace - `systemControls` aren't supported. - - If you're setting an IPC resource namespace to use for the containers - in the task, the following conditions apply to your system controls. For - more information, see [IPC - mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_ipcmode). - - - For tasks that use the `host` IPC mode, IPC namespace `systemControls` - aren't supported. - - - For tasks that use the `task` IPC mode, IPC namespace `systemControls` - values apply to all containers within a task. - - Note: - This parameter is not supported for Windows containers. - Note: - This parameter is only supported for tasks that are hosted on Fargate if - the tasks are using platform version `1.4.0` or later (Linux). This - isn't supported for Windows containers on Fargate. - """ - - namespace: str | None = ... - """The namespaced kernel parameter to set a `value` for.""" - value: str | None = ... - """ - The namespaced kernel parameter to set a `value` for. - - Valid IPC namespace values: - `"kernel.msgmax" | "kernel.msgmnb" | "kernel.msgmni" | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" | "kernel.shmmni" | "kernel.shm_rmid_forced"`, - and `Sysctls` that start with `"fs.mqueue.*"` - - Valid network namespace values: `Sysctls` that start with `"net.*"`. - Only namespaced `Sysctls` that exist within the container starting with - \"net.* are accepted. - - All of these values are supported by Fargate. - """ - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """ - The metadata that you apply to a resource to help you categorize and - organize them. Each tag consists of a key and an optional value. You - define them. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - - key: str | None = ... - """ - One part of a key-value pair that make up a tag. A `key` is a general - label that acts like a category for more specific tag values. - """ - value: str | None = ... - """ - The optional part of a key-value pair that make up a tag. A `value` acts - as a descriptor within a tag category (key). - """ - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Dataclass for TagResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource to add tags to. - Currently, the supported resources are Amazon ECS capacity providers, - tasks, services, task definitions, clusters, and container instances. - - In order to tag a service that has the following ARN format, you need to - migrate the service to the long ARN. For more information, see [Migrate - an Amazon ECS short service ARN to a long - ARN](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-arn-migration.html) - in the *Amazon Elastic Container Service Developer Guide*. - - `arn:aws:ecs:region:aws_account_id:service/service-name` - - After the migration is complete, the service has the long ARN format, as - shown below. Use this ARN to tag the service. - - `arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name` - - If you try to tag a service with a short ARN, you receive an - `InvalidParameterException` error. - """ - tags: list[Tag] | None = ... - """ - The tags to add to the resource. A tag is an array of key-value pairs. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TargetNotConnectedException(ServiceError, _SerdeShape): - """ - The execute command cannot run. This error can be caused by any of the - following configuration issues: - - - Incorrect IAM permissions - - - The SSM agent is not installed or is not running - - - There is an interface Amazon VPC endpoint for Amazon ECS, but there is - not one for Systems Manager Session Manager - - For information about how to troubleshoot the issues, see - [Troubleshooting issues with ECS - Exec](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TargetNotFoundException(ServiceError, _SerdeShape): - """ - The specified target wasn't found. You can view your available - container instances with - [ListContainerInstances](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListContainerInstances.html). - Amazon ECS container instances are cluster-specific and Region-specific. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class TargetType(UnknownEnumMixin, StrEnum): - CONTAINER_INSTANCE = "container-instance" - -@dataclass(kw_only=True) -class Task(_SerdeShape): - """Details on a task in a cluster.""" - - attachments: list[Attachment] | None = ... - """ - The Elastic Network Adapter that's associated with the task if the task - uses the `awsvpc` network mode. - """ - attributes: list[Attribute] | None = ... - """The attributes of the task""" - availability_zone: str | None = ... - """The Availability Zone for the task.""" - capacity_provider_name: str | None = ... - """The capacity provider that's associated with the task.""" - cluster_arn: str | None = ... - """The ARN of the cluster that hosts the task.""" - connectivity: str | None = ... - """The connectivity status of a task.""" - connectivity_at: datetime | None = ... - """ - The Unix timestamp for the time when the task last went into `CONNECTED` - status. - """ - container_instance_arn: str | None = ... - """The ARN of the container instances that host the task.""" - containers: list[Container] | None = ... - """The containers that's associated with the task.""" - cpu: str | None = ... - """ - The number of CPU units used by the task as expressed in a task - definition. It can be expressed as an integer using CPU units (for - example, `1024`). It can also be expressed as a string using vCPUs (for - example, `1 vCPU` or `1 vcpu`). String values are converted to an - integer that indicates the CPU units when the task definition is - registered. - - If you're using the EC2 launch type or the external launch type, this - field is optional. Supported values are between `128` CPU units (`0.125` - vCPUs) and `196608` CPU units (`192` vCPUs). If you do not specify a - value, the parameter is ignored. - - This field is required for Fargate. For information about the valid - values, see [Task - size](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size) - in the *Amazon Elastic Container Service Developer Guide*. - """ - created_at: datetime | None = ... - """ - The Unix timestamp for the time when the task was created. More - specifically, it's for the time when the task entered the `PENDING` - state. - """ - desired_status: str | None = ... - """ - The desired status of the task. For more information, see [Task - Lifecycle](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html). - """ - enable_execute_command: bool = ... - """ - Determines whether execute command functionality is turned on for this - task. If `true`, execute command functionality is turned on all the - containers in the task. - """ - execution_stopped_at: datetime | None = ... - """The Unix timestamp for the time when the task execution stopped.""" - group: str | None = ... - """The name of the task group that's associated with the task.""" - health_status: str | None = ... - """ - The health status for the task. It's determined by the health of the - essential containers in the task. If all essential containers in the - task are reporting as `HEALTHY`, the task status also reports as - `HEALTHY`. If any essential containers in the task are reporting as - `UNHEALTHY` or `UNKNOWN`, the task status also reports as `UNHEALTHY` or - `UNKNOWN`. - - Note: - The Amazon ECS container agent doesn't monitor or report on Docker - health checks that are embedded in a container image and not specified - in the container definition. For example, this includes those specified - in a parent image or from the image's Dockerfile. Health check - parameters that are specified in a container definition override any - Docker health checks that are found in the container image. - """ - inference_accelerators: list[InferenceAccelerator] | None = ... - """The Elastic Inference accelerator that's associated with the task.""" - last_status: str | None = ... - """ - The last known status for the task. For more information, see [Task - Lifecycle](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle.html). - """ - launch_type: str | None = ... - """ - The infrastructure where your task runs on. For more information, see - [Amazon ECS launch - types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - memory: str | None = ... - """ - The amount of memory (in MiB) that the task uses as expressed in a task - definition. It can be expressed as an integer using MiB (for example, - `1024`). If it's expressed as a string using GB (for example, `1GB` or - `1 GB`), it's converted to an integer indicating the MiB when the task - definition is registered. - - If you use the EC2 launch type, this field is optional. - - If you use the Fargate launch type, this field is required. You must use - one of the following values. The value that you choose determines the - range of supported values for the `cpu` parameter. - - - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values: 256 - (.25 vCPU) - - - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available `cpu` - values: 512 (.5 vCPU) - - - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 - (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU) - - - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - - Available `cpu` values: 2048 (2 vCPU) - - - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - - Available `cpu` values: 4096 (4 vCPU) - - - Between 16 GB and 60 GB in 4 GB increments - Available `cpu` values: - 8192 (8 vCPU) - - This option requires Linux platform `1.4.0` or later. - - - Between 32GB and 120 GB in 8 GB increments - Available `cpu` values: - 16384 (16 vCPU) - - This option requires Linux platform `1.4.0` or later. - """ - overrides: TaskOverride | None = ... - """One or more container overrides.""" - platform_version: str | None = ... - """ - The platform version where your task runs on. A platform version is only - specified for tasks that use the Fargate launch type. If you didn't - specify one, the `LATEST` platform version is used. For more - information, see [Fargate Platform - Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - platform_family: str | None = ... - """ - The operating system that your tasks are running on. A platform family - is specified only for tasks that use the Fargate launch type. - - All tasks that run as part of this service must use the same - `platformFamily` value as the service (for example, `LINUX.`). - """ - pull_started_at: datetime | None = ... - """The Unix timestamp for the time when the container image pull began.""" - pull_stopped_at: datetime | None = ... - """The Unix timestamp for the time when the container image pull completed.""" - started_at: datetime | None = ... - """ - The Unix timestamp for the time when the task started. More - specifically, it's for the time when the task transitioned from the - `PENDING` state to the `RUNNING` state. - """ - started_by: str | None = ... - """ - The tag specified when a task is started. If an Amazon ECS service - started the task, the `startedBy` parameter contains the deployment ID - of that service. - """ - stop_code: str | None = ... - """ - The stop code indicating why a task was stopped. The `stoppedReason` - might contain additional details. - - For more information about stop code, see [Stopped tasks error - codes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stopped-task-error-codes.html) - in the *Amazon ECS Developer Guide*. - """ - stopped_at: datetime | None = ... - """ - The Unix timestamp for the time when the task was stopped. More - specifically, it's for the time when the task transitioned from the - `RUNNING` state to the `STOPPED` state. - """ - stopped_reason: str | None = ... - """The reason that the task was stopped.""" - stopping_at: datetime | None = ... - """ - The Unix timestamp for the time when the task stops. More specifically, - it's for the time when the task transitions from the `RUNNING` state to - `STOPPING`. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the task to help you categorize and - organize the task. Each tag consists of a key and an optional value. You - define both the key and value. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - task_arn: str | None = ... - """The Amazon Resource Name (ARN) of the task.""" - task_definition_arn: str | None = ... - """The ARN of the task definition that creates the task.""" - version: int = ... - """ - The version counter for the task. Every time a task experiences a change - that starts a CloudWatch event, the version counter is incremented. If - you replicate your Amazon ECS task state with CloudWatch Events, you can - compare the version of a task reported by the Amazon ECS API actions - with the version reported in CloudWatch Events for the task (inside the - `detail` object) to verify that the version in your event stream is - current. - """ - ephemeral_storage: EphemeralStorage | None = ... - """The ephemeral storage settings for the task.""" - fargate_ephemeral_storage: TaskEphemeralStorage | None = ... - """The Fargate ephemeral storage settings for the task.""" - trusted_execution_summary: TrustedExecutionSummary | None = ... - """ - A summary of the trusted execution configuration for the task, including - the isolation mode. This is a read-only view of the configuration that - was set on the task definition. - - Note: - Trusted execution is supported only for Amazon ECS Managed Instances. - """ - -@dataclass(kw_only=True) -class TaskDefinition(_SerdeShape): - """ - The details of a task definition which describes the container and - volume definitions of an Amazon Elastic Container Service task. You can - specify which Docker images to use, the required resources, and other - configurations related to launching the task definition through an - Amazon ECS service or task. - """ - - task_definition_arn: str | None = ... - """The full Amazon Resource Name (ARN) of the task definition.""" - container_definitions: list[ContainerDefinition] | None = ... - """ - A list of container definitions in JSON format that describe the - different containers that make up your task. For more information about - container definition parameters and defaults, see [Amazon ECS Task - Definitions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - family: str | None = ... - """ - The name of a family that this task definition is registered to. Up to - 255 characters are allowed. Letters (both uppercase and lowercase - letters), numbers, hyphens (-), and underscores (_) are allowed. - - A family groups multiple versions of a task definition. Amazon ECS gives - the first task definition that you registered to a family a revision - number of 1. Amazon ECS gives sequential revision numbers to each task - definition that you add. - """ - task_role_arn: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the Identity and - Access Management role that grants containers in the task permission to - call Amazon Web Services APIs on your behalf. For informationabout the - required IAM roles for Amazon ECS, see [IAM roles for Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the task execution role that grants - the Amazon ECS container agent permission to make Amazon Web Services - API calls on your behalf. For informationabout the required IAM roles - for Amazon ECS, see [IAM roles for Amazon - ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - network_mode: str | None = ... - """ - The Docker networking mode to use for the containers in the task. The - valid values are `none`, `bridge`, `awsvpc`, and `host`. If no network - mode is specified, the default is `bridge`. - - For Amazon ECS tasks on Fargate, the `awsvpc` network mode is required. - For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can - be used. For Amazon ECS tasks on Amazon EC2 Windows instances, - `` or `awsvpc` can be used. If the network mode is set to - `none`, you cannot specify port mappings in your container definitions, - and the tasks containers do not have external connectivity. The `host` - and `awsvpc` network modes offer the highest networking performance for - containers because they use the EC2 network stack instead of the - virtualized network stack provided by the `bridge` mode. - - With the `host` and `awsvpc` network modes, exposed container ports are - mapped directly to the corresponding host port (for the `host` network - mode) or the attached elastic network interface port (for the `awsvpc` - network mode), so you cannot take advantage of dynamic host port - mappings. - - Warning: - When using the `host` network mode, you should not run containers using - the root user (UID 0). It is considered best practice to use a non-root - user. - - If the network mode is `awsvpc`, the task is allocated an elastic - network interface, and you must specify a - [NetworkConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html) - value when you create a service or run a task with the task definition. - For more information, see [Task - Networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) - in the *Amazon Elastic Container Service Developer Guide*. - - If the network mode is `host`, you cannot run multiple instantiations of - the same task on a single container instance when port mappings are - used. - """ - revision: int = ... - """ - The revision of the task in a particular family. The revision is a - version number of a task definition in a family. When you register a - task definition for the first time, the revision is `1`. Each time that - you register a new revision of a task definition in the same family, the - revision value always increases by one. This is even if you deregistered - previous revisions in this family. - """ - volumes: list[Volume] | None = ... - """ - The list of data volume definitions for the task. For more information, - see [Using data volumes in - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Note: - The `host` and `sourcePath` parameters aren't supported for tasks run - on Fargate. - """ - status: str | None = ... - """The status of the task definition.""" - requires_attributes: list[Attribute] | None = ... - """ - The container instance attributes required by your task. When an Amazon - EC2 instance is registered to your cluster, the Amazon ECS container - agent assigns some standard attributes to the instance. You can apply - custom attributes. These are specified as key-value pairs using the - Amazon ECS console or the - [PutAttributes](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAttributes.html) - API. These attributes are used when determining task placement for tasks - hosted on Amazon EC2 instances. For more information, see - [Attributes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes) - in the *Amazon Elastic Container Service Developer Guide*. - - Note: - This parameter isn't supported for tasks run on Fargate. - """ - placement_constraints: list[TaskDefinitionPlacementConstraint] | None = ... - """ - An array of placement constraint objects to use for tasks. - - Note: - This parameter isn't supported for tasks run on Fargate. - """ - compatibilities: list[str] | None = ... - """ - Amazon ECS validates the task definition parameters with those supported - by the launch type. For more information, see [Amazon ECS launch - types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - runtime_platform: RuntimePlatform | None = ... - """ - The operating system that your task definitions are running on. A - platform family is specified only for tasks using the Fargate launch - type. - - When you specify a task in a service, this value must match the - `runtimePlatform` value of the service. - """ - requires_compatibilities: list[str] | None = ... - """ - The task launch types the task definition was validated against. The - valid values are `MANAGED_INSTANCES`, `EC2`, `FARGATE`, and `EXTERNAL`. - For more information, see [Amazon ECS launch - types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - cpu: str | None = ... - """ - The number of `cpu` units used by the task. If you use the EC2 launch - type, this field is optional. Any value can be used. If you use the - Fargate launch type, this field is required. You must use one of the - following values. The value that you choose determines your range of - valid values for the `memory` parameter. - - If you're using the EC2 launch type or the external launch type, this - field is optional. Supported values are between `128` CPU units (`0.125` - vCPUs) and `196608` CPU units (`192` vCPUs). - - This field is required for Fargate. For information about the valid - values, see [Task - size](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size) - in the *Amazon Elastic Container Service Developer Guide*. - """ - memory: str | None = ... - """ - The amount (in MiB) of memory used by the task. - - If your tasks runs on Amazon EC2 instances, you must specify either a - task-level memory value or a container-level memory value. This field is - optional and any value can be used. If a task-level memory value is - specified, the container-level memory value is optional. For more - information regarding container-level memory and memory reservation, see - [ContainerDefinition](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html). - - If your tasks runs on Fargate, this field is required. You must use one - of the following values. The value you choose determines your range of - valid values for the `cpu` parameter. - - - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values: 256 - (.25 vCPU) - - - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available `cpu` - values: 512 (.5 vCPU) - - - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 - (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU) - - - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - - Available `cpu` values: 2048 (2 vCPU) - - - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - - Available `cpu` values: 4096 (4 vCPU) - - - Between 16 GB and 60 GB in 4 GB increments - Available `cpu` values: - 8192 (8 vCPU) - - This option requires Linux platform `1.4.0` or later. - - - Between 32GB and 120 GB in 8 GB increments - Available `cpu` values: - 16384 (16 vCPU) - - This option requires Linux platform `1.4.0` or later. - """ - inference_accelerators: list[InferenceAccelerator] | None = ... - """The Elastic Inference accelerator that's associated with the task.""" - pid_mode: str | None = ... - """ - The process namespace to use for the containers in the task. The valid - values are `host` or `task`. On Fargate for Linux containers, the only - valid value is `task`. For example, monitoring sidecars might need - `pidMode` to access information about other containers running in the - same task. - - If `host` is specified, all containers within the tasks that specified - the `host` PID mode on the same container instance share the same - process namespace with the host Amazon EC2 instance. - - If `task` is specified, all containers within the specified task share - the same process namespace. - - If no value is specified, the The default is a private namespace for - each container. - - If the `host` PID mode is used, there's a heightened risk of undesired - process namespace exposure. - - Note: - This parameter is not supported for Windows containers. - Note: - This parameter is only supported for tasks that are hosted on Fargate if - the tasks are using platform version `1.4.0` or later (Linux). This - isn't supported for Windows containers on Fargate. - """ - ipc_mode: str | None = ... - """ - The IPC resource namespace to use for the containers in the task. The - valid values are `host`, `task`, or `none`. If `host` is specified, then - all containers within the tasks that specified the `host` IPC mode on - the same container instance share the same IPC resources with the host - Amazon EC2 instance. If `task` is specified, all containers within the - specified task share the same IPC resources. If `none` is specified, - then IPC resources within the containers of a task are private and not - shared with other containers in a task or on the container instance. If - no value is specified, then the IPC resource namespace sharing depends - on the Docker daemon setting on the container instance. - - If the `host` IPC mode is used, be aware that there is a heightened risk - of undesired IPC namespace expose. - - If you are setting namespaced kernel parameters using `systemControls` - for the containers in the task, the following will apply to your IPC - resource namespace. For more information, see [System - Controls](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html) - in the *Amazon Elastic Container Service Developer Guide*. - - - For tasks that use the `host` IPC mode, IPC namespace related - `systemControls` are not supported. - - - For tasks that use the `task` IPC mode, IPC namespace related - `systemControls` will apply to all containers within a task. - - Note: - This parameter is not supported for Windows containers or tasks run on - Fargate. - """ - proxy_configuration: ProxyConfiguration | None = ... - """ - The configuration details for the App Mesh proxy. - - Your Amazon ECS container instances require at least version 1.26.0 of - the container agent and at least version 1.26.0-1 of the `ecs-init` - package to use a proxy configuration. If your container instances are - launched from the Amazon ECS optimized AMI version `20190301` or later, - they contain the required versions of the container agent and - `ecs-init`. For more information, see [Amazon ECS-optimized Linux - AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - registered_at: datetime | None = ... - """The Unix timestamp for the time when the task definition was registered.""" - deregistered_at: datetime | None = ... - """ - The Unix timestamp for the time when the task definition was - deregistered. - """ - delete_requested_at: datetime | None = ... - """ - The Unix timestamp for the time when the task definition delete was - requested. - """ - registered_by: str | None = ... - """The principal that registered the task definition.""" - ephemeral_storage: EphemeralStorage | None = ... - """ - The ephemeral storage settings to use for tasks run with the task - definition. - """ - enable_fault_injection: bool | None = ... - """ - Enables fault injection and allows for fault injection requests to be - accepted from the task's containers. The default value is `false`. - """ - trusted_execution_configuration: TrustedExecutionConfiguration | None = ... - """ - The trusted execution configuration for tasks that use this task - definition, including the isolation mode and, if configured, an - attestation policy. - - Note: - Trusted execution is supported only for Amazon ECS Managed Instances. - """ - -class TaskDefinitionFamilyStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - INACTIVE = "INACTIVE" - ALL = "ALL" - -class TaskDefinitionField(UnknownEnumMixin, StrEnum): - TAGS = "TAGS" - -@dataclass(kw_only=True) -class TaskDefinitionPlacementConstraint(_SerdeShape): - """ - The constraint on task placement in the task definition. For more - information, see [Task placement - constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Note: - Task placement constraints aren't supported for tasks run on Fargate. - """ - - type: str | None = ... - """ - The type of constraint. The `MemberOf` constraint restricts selection to - be from a group of valid candidates. - """ - expression: str | None = ... - """ - A cluster query language expression to apply to the constraint. For more - information, see [Cluster query - language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - -class TaskDefinitionPlacementConstraintType(UnknownEnumMixin, StrEnum): - MEMBER_OF = "memberOf" - -class TaskDefinitionStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - INACTIVE = "INACTIVE" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - -@dataclass(kw_only=True) -class TaskEphemeralStorage(_SerdeShape): - """The amount of ephemeral storage to allocate for the task.""" - - size_in_gi_b: int = ... - """ - The total amount, in GiB, of the ephemeral storage to set for the task. - The minimum supported value is `20` GiB and the maximum supported value - is `200` GiB. - """ - kms_key_id: str | None = ... - """ - Specify an Key Management Service key ID to encrypt the ephemeral - storage for the task. - """ - -class TaskField(UnknownEnumMixin, StrEnum): - TAGS = "TAGS" - -class TaskFilesystemType(UnknownEnumMixin, StrEnum): - EXT3 = "ext3" - EXT4 = "ext4" - XFS = "xfs" - NTFS = "ntfs" - -@dataclass(kw_only=True) -class TaskManagedEBSVolumeConfiguration(_SerdeShape): - """ - The configuration for the Amazon EBS volume that Amazon ECS creates and - manages on your behalf. These settings are used to create each Amazon - EBS volume, with one volume created for each task. - """ - - encrypted: bool | None = ... - """ - Indicates whether the volume should be encrypted. If you turn on - Region-level Amazon EBS encryption by default but set this value as - `false`, the setting is overridden and the volume is encrypted with the - KMS key specified for Amazon EBS encryption by default. This parameter - maps 1:1 with the `Encrypted` parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - """ - kms_key_id: str | None = ... - """ - The Amazon Resource Name (ARN) identifier of the Amazon Web Services Key - Management Service key to use for Amazon EBS encryption. When a key is - specified using this parameter, it overrides Amazon EBS default - encryption or any KMS key that you specified for cluster-level managed - storage encryption. This parameter maps 1:1 with the `KmsKeyId` - parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. For more information about encrypting - Amazon EBS volumes attached to a task, see [Encrypt data stored in - Amazon EBS volumes attached to Amazon ECS - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html). - - Warning: - Amazon Web Services authenticates the Amazon Web Services Key Management - Service key asynchronously. Therefore, if you specify an ID, alias, or - ARN that is invalid, the action can appear to complete, but eventually - fails. - """ - volume_type: str | None = ... - """ - The volume type. This parameter maps 1:1 with the `VolumeType` parameter - of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS - volume - types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) - in the *Amazon EC2 User Guide*. - - The following are the supported volume types. - - - General Purpose SSD: `gp2`|`gp3` - - - Provisioned IOPS SSD: `io1`|`io2` - - - Throughput Optimized HDD: `st1` - - - Cold HDD: `sc1` - - - Magnetic: `standard` - - Note: - The magnetic volume type is not supported on Fargate. - """ - size_in_gi_b: int | None = ... - """ - The size of the volume in GiB. You must specify either a volume size or - a snapshot ID. If you specify a snapshot ID, the snapshot size is used - for the volume size by default. You can optionally specify a volume size - greater than or equal to the snapshot size. This parameter maps 1:1 with - the `Size` parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - - The following are the supported volume size values for each volume type. - - - `gp2` and `gp3`: 1-16,384 - - - `io1` and `io2`: 4-16,384 - - - `st1` and `sc1`: 125-16,384 - - - `standard`: 1-1,024 - """ - snapshot_id: str | None = ... - """ - The snapshot that Amazon ECS uses to create the volume. You must specify - either a snapshot ID or a volume size. This parameter maps 1:1 with the - `SnapshotId` parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - """ - volume_initialization_rate: int | None = ... - """ - The rate, in MiB/s, at which data is fetched from a snapshot of an - existing Amazon EBS volume to create a new volume for attachment to the - task. This property can be specified only if you specify a `snapshotId`. - For more information, see [Initialize Amazon EBS - volumes](https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html) - in the *Amazon EBS User Guide*. - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS). For `gp3`, `io1`, and - `io2` volumes, this represents the number of IOPS that are provisioned - for the volume. For `gp2` volumes, this represents the baseline - performance of the volume and the rate at which the volume accumulates - I/O credits for bursting. - - The following are the supported values for each volume type. - - - `gp3`: 3,000 - 16,000 IOPS - - - `io1`: 100 - 64,000 IOPS - - - `io2`: 100 - 256,000 IOPS - - This parameter is required for `io1` and `io2` volume types. The default - for `gp3` volumes is `3,000 IOPS`. This parameter is not supported for - `st1`, `sc1`, or `standard` volume types. - - This parameter maps 1:1 with the `Iops` parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - """ - throughput: int | None = ... - """ - The throughput to provision for a volume, in MiB/s, with a maximum of - 1,000 MiB/s. This parameter maps 1:1 with the `Throughput` parameter of - the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - - Warning: - This parameter is only supported for the `gp3` volume type. - """ - tag_specifications: list[EBSTagSpecification] | None = ... - """ - The tags to apply to the volume. Amazon ECS applies service-managed tags - by default. This parameter maps 1:1 with the `TagSpecifications.N` - parameter of the [CreateVolume - API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) - in the *Amazon EC2 API Reference*. - """ - role_arn: str - """ - The ARN of the IAM role to associate with this volume. This is the - Amazon ECS infrastructure IAM role that is used to manage your Amazon - Web Services infrastructure. We recommend using the Amazon ECS-managed - `AmazonECSInfrastructureRolePolicyForVolumes` IAM policy with this role. - For more information, see [Amazon ECS infrastructure IAM - role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) - in the *Amazon ECS Developer Guide*. - """ - termination_policy: TaskManagedEBSVolumeTerminationPolicy | None = ... - """ - The termination policy for the volume when the task exits. This provides - a way to control whether Amazon ECS terminates the Amazon EBS volume - when the task stops. - """ - filesystem_type: str | None = ... - """ - The Linux filesystem type for the volume. For volumes created from a - snapshot, you must specify the same filesystem type that the volume was - using when the snapshot was created. If there is a filesystem type - mismatch, the task will fail to start. - - The available filesystem types are `ext3`, `ext4`, and `xfs`. If no - value is specified, the `xfs` filesystem type is used by default. - """ - -@dataclass(kw_only=True) -class TaskManagedEBSVolumeTerminationPolicy(_SerdeShape): - """ - The termination policy for the Amazon EBS volume when the task exits. - For more information, see [Amazon ECS volume termination - policy](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types). - """ - - delete_on_termination: bool - """ - Indicates whether the volume should be deleted on when the task stops. - If a value of `true` is specified, Amazon ECS deletes the Amazon EBS - volume on your behalf when the task goes into the `STOPPED` state. If no - value is specified, the default value is `true` is used. When set to - `false`, Amazon ECS leaves the volume in your account. - """ - -@dataclass(kw_only=True) -class TaskOverride(_SerdeShape): - """The overrides that are associated with a task.""" - - container_overrides: list[ContainerOverride] | None = ... - """One or more container overrides that are sent to a task.""" - cpu: str | None = ... - """The CPU override for the task.""" - inference_accelerator_overrides: list[InferenceAcceleratorOverride] | None = ... - """The Elastic Inference accelerator override for the task.""" - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the task execution role override for - the task. For more information, see [Amazon ECS task execution IAM - role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - memory: str | None = ... - """The memory override for the task.""" - task_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the role that containers in this task - can assume. All containers in this task are granted the permissions that - are specified in this role. For more information, see [IAM Role for - Tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The ephemeral storage setting override for the task. - - Note: - This parameter is only supported for tasks hosted on Fargate that use - the following platform versions: - - - Linux platform version `1.4.0` or later. - """ - -@dataclass(kw_only=True) -class TaskSet(_SerdeShape): - """ - Information about a set of Amazon ECS tasks in either an CodeDeploy or - an `EXTERNAL` deployment. An Amazon ECS task set includes details such - as the desired number of tasks, how many tasks are running, and whether - the task set serves production traffic. - """ - - id: str | None = ... - """The ID of the task set.""" - task_set_arn: str | None = ... - """The Amazon Resource Name (ARN) of the task set.""" - service_arn: str | None = ... - """The Amazon Resource Name (ARN) of the service the task set exists in.""" - cluster_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the cluster that the service that - hosts the task set exists in. - """ - started_by: str | None = ... - """ - The tag specified when a task set is started. If an CodeDeploy - deployment created the task set, the `startedBy` parameter is - `CODE_DEPLOY`. If an external deployment created the task set, the - `startedBy` field isn't used. - """ - external_id: str | None = ... - """ - The external ID associated with the task set. - - If an CodeDeploy deployment created a task set, the `externalId` - parameter contains the CodeDeploy deployment ID. - - If a task set is created for an external deployment and is associated - with a service discovery registry, the `externalId` parameter contains - the `ECS_TASK_SET_EXTERNAL_ID` Cloud Map attribute. - """ - status: str | None = ... - """ - The status of the task set. The following describes each state. - - PRIMARY - - : The task set is serving production traffic. - - ACTIVE - - : The task set isn't serving production traffic. - - DRAINING - - : The tasks in the task set are being stopped, and their corresponding - targets are being deregistered from their target group. - """ - task_definition: str | None = ... - """The task definition that the task set is using.""" - computed_desired_count: int = ... - """ - The computed desired count for the task set. This is calculated by - multiplying the service's `desiredCount` by the task set's `scale` - percentage. The result is always rounded up. For example, if the - computed desired count is 1.2, it rounds up to 2 tasks. - """ - pending_count: int = ... - """ - The number of tasks in the task set that are in the `PENDING` status - during a deployment. A task in the `PENDING` state is preparing to enter - the `RUNNING` state. A task set enters the `PENDING` status when it - launches for the first time or when it's restarted after being in the - `STOPPED` state. - """ - running_count: int = ... - """ - The number of tasks in the task set that are in the `RUNNING` status - during a deployment. A task in the `RUNNING` state is running and ready - for use. - """ - created_at: datetime | None = ... - """The Unix timestamp for the time when the task set was created.""" - updated_at: datetime | None = ... - """The Unix timestamp for the time when the task set was last updated.""" - launch_type: str | None = ... - """ - The launch type the tasks in the task set are using. For more - information, see [Amazon ECS launch - types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """The capacity provider strategy that are associated with the task set.""" - platform_version: str | None = ... - """ - The Fargate platform version where the tasks in the task set are - running. A platform version is only specified for tasks run on Fargate. - For more information, see [Fargate platform - versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - platform_family: str | None = ... - """ - The operating system that your tasks in the set are running on. A - platform family is specified only for tasks that use the Fargate launch - type. - - All tasks in the set must have the same value. - """ - network_configuration: NetworkConfiguration | None = ... - """The network configuration for the task set.""" - load_balancers: list[LoadBalancer] | None = ... - """Details on a load balancer that are used with a task set.""" - service_registries: list[ServiceRegistry] | None = ... - """ - The details for the service discovery registries to assign to this task - set. For more information, see [Service - discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). - """ - scale: Scale | None = ... - """ - A floating-point percentage of your desired number of tasks to place and - keep running in the task set. - """ - stability_status: str | None = ... - """ - The stability status. This indicates whether the task set has reached a - steady state. If the following conditions are met, the task set are in - `STEADY_STATE`: - - - The task `runningCount` is equal to the `computedDesiredCount`. - - - The `pendingCount` is `0`. - - - There are no tasks that are running on container instances in the - `DRAINING` status. - - - All tasks are reporting a healthy status from the load balancers, - service discovery, and container health checks. - - If any of those conditions aren't met, the stability status returns - `STABILIZING`. - """ - stability_status_at: datetime | None = ... - """ - The Unix timestamp for the time when the task set stability status was - retrieved. - """ - tags: list[Tag] | None = ... - """ - The metadata that you apply to the task set to help you categorize and - organize them. Each tag consists of a key and an optional value. You - define both. - - The following basic restrictions apply to tags: - - - Maximum number of tags per resource - 50 - - - For each resource, each tag key must be unique, and each tag key can - have only one value. - - - Maximum key length - 128 Unicode characters in UTF-8 - - - Maximum value length - 256 Unicode characters in UTF-8 - - - If your tagging schema is used across multiple services and resources, - remember that other services may have restrictions on allowed - characters. Generally allowed characters are: letters, numbers, and - spaces representable in UTF-8, and the following characters: + - = . - _ : / @. - - - Tag keys and values are case-sensitive. - - - Do not use `aws:`, `AWS:`, or any upper or lowercase combination of - such as a prefix for either keys or values as it is reserved for - Amazon Web Services use. You cannot edit or delete tag keys or values - with this prefix. Tags with this prefix do not count against your tags - per resource limit. - """ - fargate_ephemeral_storage: DeploymentEphemeralStorage | None = ... - """The Fargate ephemeral storage settings for the task set.""" - -class TaskSetField(UnknownEnumMixin, StrEnum): - TAGS = "TAGS" - -@dataclass(kw_only=True) -class TaskSetNotFoundException(ServiceError, _SerdeShape): - """ - The specified task set wasn't found. You can view your available task - sets with - [DescribeTaskSets](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTaskSets.html). - Task sets are specific to each cluster, service and Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class TaskStopCode(UnknownEnumMixin, StrEnum): - TASK_FAILED_TO_START = "TaskFailedToStart" - ESSENTIAL_CONTAINER_EXITED = "EssentialContainerExited" - USER_INITIATED = "UserInitiated" - SERVICE_SCHEDULER_INITIATED = "ServiceSchedulerInitiated" - SPOT_INTERRUPTION = "SpotInterruption" - TERMINATION_NOTICE = "TerminationNotice" - INFRASTRUCTURE_HEALTH = "InfrastructureHealth" - -@dataclass(kw_only=True) -class TaskVolumeConfiguration(_SerdeShape): - """ - Configuration settings for the task volume that was `configuredAtLaunch` - that weren't set during `RegisterTaskDef`. - """ - - name: str - """ - The name of the volume. This value must match the volume name from the - `Volume` object in the task definition. - """ - managed_ebs_volume: TaskManagedEBSVolumeConfiguration | None = ... - """ - The configuration for the Amazon EBS volume that Amazon ECS creates and - manages on your behalf. These settings are used to create each Amazon - EBS volume, with one volume created for each task. The Amazon EBS - volumes are visible in your account in the Amazon EC2 console once they - are created. - """ - -@dataclass(kw_only=True) -class ThresholdConfiguration(_SerdeShape): - """ - Defines the failure threshold that the deployment circuit breaker uses - to monitor a deployment. The `type` and `value` together determine the - number of task failures that are tolerated before the circuit breaker - triggers. - - By default, the threshold configuration uses a `type` of - `BOUNDED_PERCENT` with a `value` of `50`. - """ - - type: str - """ - Determines how Amazon ECS uses `value` to calculate the failure - threshold. For the percentage types (`BOUNDED_PERCENT` and - `UNBOUNDED_PERCENT`), Amazon ECS multiplies `value` by the latest - service desired count. For `COUNT`, Amazon ECS uses `value` directly as - the threshold. The default is `BOUNDED_PERCENT`. - """ - value: int = ... - """ - Specifies the integer that Amazon ECS uses to calculate the failure - threshold. When `type` is `COUNT`, this value is the failure threshold - itself. When `type` is a percentage type, Amazon ECS multiplies this - value by the latest service desired count to produce the failure - threshold. The default is `50`. - """ - -class ThresholdType(UnknownEnumMixin, StrEnum): - """ - Determines how the deployment circuit breaker calculates the number of - task failures tolerated before it triggers, based on the configured - `value`. - """ - - COUNT = "COUNT" - """ - Amazon ECS uses the integer provided in `value` directly as the failure - threshold. - """ - BOUNDED_PERCENT = "BOUNDED_PERCENT" - """ - Amazon ECS calculates the failure threshold by multiplying `value` by - the latest service desired count, then clamping the result to a minimum - of `3` and a maximum of `200`. This is the default threshold type, with - a default `value` of `50`. - """ - UNBOUNDED_PERCENT = "UNBOUNDED_PERCENT" - """ - Amazon ECS calculates the failure threshold by multiplying `value` by - the latest service desired count, without applying the `3`-to-`200` - bounds. Use this when the desired count is large enough that the - calculated threshold should be allowed to exceed `200`. - """ - -@dataclass(kw_only=True) -class TimeoutConfiguration(_SerdeShape): - """ - An object that represents the timeout configurations for Service - Connect. - - Note: - If `idleTimeout` is set to a time that is less than `perRequestTimeout`, - the connection will close when the `idleTimeout` is reached and not the - `perRequestTimeout`. - """ - - idle_timeout_seconds: int | None = ... - """ - The amount of time in seconds a connection will stay active while idle. - A value of `0` can be set to disable `idleTimeout`. - - The `idleTimeout` default for `HTTP`/`HTTP2`/`GRPC` is 5 minutes. - - The `idleTimeout` default for `TCP` is 1 hour. - """ - per_request_timeout_seconds: int | None = ... - """ - The amount of time waiting for the upstream to respond with a complete - response per request. A value of `0` can be set to disable - `perRequestTimeout`. `perRequestTimeout` can only be set if Service - Connect `appProtocol` isn't `TCP`. Only `idleTimeout` is allowed for - `TCP` `appProtocol`. - """ - -@dataclass(kw_only=True) -class Tmpfs(_SerdeShape): - """The container path, mount options, and size of the tmpfs mount.""" - - container_path: str - """The absolute file path where the tmpfs volume is to be mounted.""" - size: int = ... - """The maximum size (in MiB) of the tmpfs volume.""" - mount_options: list[str] | None = ... - """ - The list of tmpfs volume mount options. - - Valid values: - `"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"` - """ - -@dataclass(kw_only=True) -class TotalLocalStorageGBRequest(_SerdeShape): - """ - The minimum and maximum total local storage in gigabytes (GB) for - instance types with local storage. This is useful for workloads that - require local storage for temporary data or caching. - """ - - min: float | None = ... - """ - The minimum total local storage in GB. Instance types with less local - storage are excluded from selection. - """ - max: float | None = ... - """ - The maximum total local storage in GB. Instance types with more local - storage are excluded from selection. - """ - -class TransportProtocol(UnknownEnumMixin, StrEnum): - TCP = "tcp" - UDP = "udp" - -@dataclass(kw_only=True) -class TrustedExecutionConfiguration(_SerdeShape): - """ - The trusted execution configuration for a task. This configuration - controls the isolation mode and attestation policy. You set this - configuration when you register a task definition. - - Note: - Trusted execution is supported only for Amazon ECS Managed Instances. - """ - - isolation_mode: str - """ - The isolation mode for tasks that use this task definition. The - isolation mode determines how a task is isolated from other tasks on the - same Amazon EC2 instance. - - - `SHARED`: The task shares the underlying Amazon EC2 instance with - other tasks. This is the default isolation mode. - - - `ISOLATED_SANDBOX`: The task runs in its own [Nitro - Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), - which is a lightweight virtual machine that is isolated by the Amazon - Web Services Nitro System. Each task's sandbox is isolated from every - other task's sandbox on the same Amazon EC2 instance, so one task - can't access another task's memory or storage. For more information, - see [Isolated and confidential - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) - in *Amazon Elastic Container Service Developer Guide*. - - - `CONFIDENTIAL_SANDBOX`: The task runs in its own [Nitro - Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), - which is a lightweight virtual machine that is isolated by the Amazon - Web Services Nitro System, with cryptographic attestation. The host - can't access the sandbox's memory or storage, and only the approved - workload can decrypt data that you encrypt with your Key Management - Service key. For more information, see [Isolated and confidential - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) - in *Amazon Elastic Container Service Developer Guide*. - """ - attestation_policy: str | None = ... - """ - The base64-encoded attestation policy envelope for the task. The policy - specifies which containers are allowed to run and the runtime - configuration that is cryptographically attested. This parameter is - required when `isolationMode` is `CONFIDENTIAL_SANDBOX`. - """ - -@dataclass(kw_only=True) -class TrustedExecutionSummary(_SerdeShape): - """ - A summary of the trusted execution configuration for a task. This is a - read-only view of the isolation configuration that was set on the task - definition. Use it to see a task's isolation configuration in the - response to `DescribeTasks`, `RunTask`, or `StopTask` without calling - `DescribeTaskDefinition`. This summary never includes the attestation - policy itself. - - Note: - Trusted execution is supported only for Amazon ECS Managed Instances. - """ - - isolation_mode: str - """ - The isolation mode that the task runs in. This value mirrors the - `isolationMode` that was set in the task definition's - `TrustedExecutionConfiguration`. - - - `SHARED`: The task shares the underlying Amazon EC2 instance with - other tasks. This is the default isolation mode. - - - `ISOLATED_SANDBOX`: The task runs in its own [Nitro - Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), - which is a lightweight virtual machine that is isolated by the Amazon - Web Services Nitro System. Each task's sandbox is isolated from every - other task's sandbox on the same Amazon EC2 instance, so one task - can't access another task's memory or storage. For more information, - see [Isolated and confidential - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) - in *Amazon Elastic Container Service Developer Guide*. - - - `CONFIDENTIAL_SANDBOX`: The task runs in its own [Nitro - Sandbox](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-ec2-nitro-sandboxes.html), - which is a lightweight virtual machine that is isolated by the Amazon - Web Services Nitro System, with cryptographic attestation. The host - can't access the sandbox's memory or storage, and only the approved - workload can decrypt data that you encrypt with your Key Management - Service key. For more information, see [Isolated and confidential - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/isolated-confidential-tasks.html) - in *Amazon Elastic Container Service Developer Guide*. - """ - attestation_policy_status: str | None = ... - """ - The status of the attestation policy for the task. This value is present - only for tasks that use the `CONFIDENTIAL_SANDBOX` isolation mode. - """ - -@dataclass(kw_only=True) -class Ulimit(_SerdeShape): - """ - The `ulimit` settings to pass to the container. - - Amazon ECS tasks hosted on Fargate use the default resource limit values - set by the operating system with the exception of the `nofile` resource - limit parameter which Fargate overrides. The `nofile` resource limit - sets a restriction on the number of open files that a container can use. - The default `nofile` soft limit is ` 65535` and the default hard limit - is `65535`. - - You can specify the `ulimit` settings for a container in a task - definition. - """ - - name: str - """The `type` of the `ulimit`.""" - soft_limit: int = ... - """ - The soft limit for the `ulimit` type. The value can be specified in - bytes, seconds, or as a count, depending on the `type` of the `ulimit`. - """ - hard_limit: int = ... - """ - The hard limit for the `ulimit` type. The value can be specified in - bytes, seconds, or as a count, depending on the `type` of the `ulimit`. - """ - -class UlimitName(UnknownEnumMixin, StrEnum): - CORE = "core" - CPU = "cpu" - DATA = "data" - FSIZE = "fsize" - LOCKS = "locks" - MEMLOCK = "memlock" - MSGQUEUE = "msgqueue" - NICE = "nice" - NOFILE = "nofile" - NPROC = "nproc" - RSS = "rss" - RTPRIO = "rtprio" - RTTIME = "rttime" - SIGPENDING = "sigpending" - STACK = "stack" - -@dataclass(kw_only=True) -class UnsupportedFeatureException(ServiceError, _SerdeShape): - """The specified task isn't supported in this Region.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Dataclass for UntagResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the resource to delete tags from. - Currently, the supported resources are Amazon ECS capacity providers, - tasks, services, task definitions, clusters, and container instances. - """ - tag_keys: list[str] | None = ... - """The keys of the tags to be removed.""" - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCapacityProviderInput(_SerdeShape): - """Dataclass for UpdateCapacityProviderInput structure.""" - - name: str | None = ... - """The name of the capacity provider to update.""" - cluster: str | None = ... - """ - The name of the cluster that contains the capacity provider to update. - Managed instances capacity providers are cluster-scoped and can only be - updated within their associated cluster. - """ - auto_scaling_group_provider: AutoScalingGroupProviderUpdate | None = ... - """ - An object that represent the parameters to update for the Auto Scaling - group capacity provider. - """ - managed_instances_provider: UpdateManagedInstancesProviderConfiguration | None = ... - """ - The updated configuration for the Amazon ECS Managed Instances provider. - You can modify the infrastructure role, instance launch template, and - tag propagation settings. Changes take effect for new instances launched - after the update. - """ - -@dataclass(kw_only=True) -class UpdateCapacityProviderOutput(_SerdeShape): - """Dataclass for UpdateCapacityProviderOutput structure.""" - - capacity_provider: CapacityProvider | None = ... - """Details about the capacity provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateClusterInput(_SerdeShape): - """Dataclass for UpdateClusterInput structure.""" - - cluster: str | None = ... - """The name of the cluster to modify the settings for.""" - settings: list[ClusterSetting] | None = ... - """The cluster settings for your cluster.""" - configuration: ClusterConfiguration | None = ... - """The execute command configuration for the cluster.""" - service_connect_defaults: ClusterServiceConnectDefaultsRequest | None = ... - """ - Use this parameter to set a default Service Connect namespace. After you - set a default Service Connect namespace, any new services with Service - Connect turned on that are created in the cluster are added as client - services in the namespace. This setting only applies to new services - that set the `enabled` parameter to `true` in the - `ServiceConnectConfiguration`. You can set the namespace of each service - individually in the `ServiceConnectConfiguration` to override this - default parameter. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - -@dataclass(kw_only=True) -class UpdateClusterOutput(_SerdeShape): - """Dataclass for UpdateClusterOutput structure.""" - - cluster: Cluster | None = ... - """Details about the cluster.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateClusterSettingsInput(_SerdeShape): - """Dataclass for UpdateClusterSettingsInput structure.""" - - cluster: str | None = ... - """The name of the cluster to modify the settings for.""" - settings: list[ClusterSetting] | None = ... - """ - The setting to use by default for a cluster. This parameter is used to - turn on CloudWatch Container Insights for a cluster. If this value is - specified, it overrides the `containerInsights` value set with - [PutAccountSetting](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html) - or - [PutAccountSettingDefault](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html). - - Warning: - Currently, if you delete an existing cluster that does not have - Container Insights turned on, and then create a new cluster with the - same name with Container Insights tuned on, Container Insights will not - actually be turned on. If you want to preserve the same name for your - existing cluster and turn on Container Insights, you must wait 7 days - before you can re-create it. - """ - -@dataclass(kw_only=True) -class UpdateClusterSettingsOutput(_SerdeShape): - """Dataclass for UpdateClusterSettingsOutput structure.""" - - cluster: Cluster | None = ... - """Details about the cluster""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateContainerAgentInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - your container instance is running on. If you do not specify a cluster, - the default cluster is assumed. - """ - container_instance: str | None = ... - """ - The container instance ID or full ARN entries for the container instance - where you would like to update the Amazon ECS container agent. - """ - -@dataclass(kw_only=True) -class UpdateContainerAgentOutput(_SerdeShape): - """""" - - container_instance: ContainerInstance | None = ... - """The container instance that the container agent was updated for.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateContainerInstancesStateInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the container instance to update. If you do not specify a cluster, - the default cluster is assumed. - """ - container_instances: list[str] | None = ... - """A list of up to 10 container instance IDs or full ARN entries.""" - status: str | None = ... - """ - The container instance state to update the container instance with. The - only valid values for this action are `ACTIVE` and `DRAINING`. A - container instance can only be updated to `DRAINING` status once it has - reached an `ACTIVE` state. If a container instance is in `REGISTERING`, - `DEREGISTERING`, or `REGISTRATION_FAILED` state you can describe the - container instance but can't update the container instance state. - """ - -@dataclass(kw_only=True) -class UpdateContainerInstancesStateOutput(_SerdeShape): - """""" - - container_instances: list[ContainerInstance] | None = ... - """The list of container instances.""" - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDaemonInput(_SerdeShape): - """Dataclass for UpdateDaemonInput structure.""" - - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon to update.""" - daemon_task_definition_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the daemon task definition to use for - the updated daemon. - """ - capacity_provider_arns: list[str] | None = ... - """ - The Amazon Resource Names (ARNs) of the capacity providers to associate - with the daemon. - """ - deployment_configuration: DaemonDeploymentConfiguration | None = ... - """ - Optional deployment parameters that control how the daemon rolls out - updates, including the drain percentage, alarm-based rollback, and bake - time. - """ - propagate_tags: str | None = ... - """ - Specifies whether to propagate the tags from the daemon to the daemon - tasks. If you don't specify a value, the tags aren't propagated. You - can only propagate tags to daemon tasks during task creation. - """ - enable_ecs_managed_tags: bool = ... - """ - Specifies whether to turn on Amazon ECS managed tags for the tasks in - the daemon. For more information, see [Tagging your Amazon ECS - resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - enable_execute_command: bool = ... - """ - If `true`, the execute command functionality is turned on for all tasks - in the daemon. If `false`, the execute command functionality is turned - off. - """ - critical: bool | None = ... - """ - If the `critical` parameter of a daemon is `true`, and the daemon task - fails, stops, or becomes unhealthy, Amazon ECS drains the container - instance and stops the other tasks running on it. If the `critical` - parameter is `false`, the daemon task failure doesn't affect the other - tasks on the instance. The default value is `true`. - - A non-critical daemon doesn't block instance registration. The - container instance becomes active and continues to run your other tasks, - whether the daemon task fails during scale-out or during a deployment. - - Amazon ECS emits an EventBridge event when a daemon task fails to start, - for both critical and non-critical daemons. - - Daemon task launch failures during a deployment are still counted by the - deployment circuit breaker. The circuit breaker can roll back an - unstable target revision. - """ - -@dataclass(kw_only=True) -class UpdateDaemonOutput(_SerdeShape): - """Dataclass for UpdateDaemonOutput structure.""" - - daemon_arn: str | None = ... - """The Amazon Resource Name (ARN) of the daemon.""" - status: str | None = ... - """The status of the daemon.""" - created_at: datetime | None = ... - """The Unix timestamp for the time when the daemon was created.""" - updated_at: datetime | None = ... - """The Unix timestamp for the time when the daemon was last updated.""" - deployment_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the daemon deployment that was - triggered by the update. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatedExpressGatewayService(_SerdeShape): - """An object that describes an Express service to be updated.""" - - service_arn: str | None = ... - """The ARN of the Express service that is being updated.""" - cluster: str | None = ... - """The cluster associated with the Express service that is being updated.""" - service_name: str | None = ... - """The name of the Express service that is being updated.""" - status: ExpressGatewayServiceStatus | None = ... - """The status of the Express service that is being updated.""" - target_configuration: ExpressGatewayServiceConfiguration | None = ... - """ - The configuration to which the current Express service is being updated - to. - """ - created_at: datetime | None = ... - """ - The Unix timestamp for when the Express service that is being updated - was created. - """ - updated_at: datetime | None = ... - """ - The Unix timestamp for when the Express service that is being updated - was most recently updated. - """ - -@dataclass(kw_only=True) -class UpdateExpressGatewayServiceInput(_SerdeShape): - """Dataclass for UpdateExpressGatewayServiceInput structure.""" - - service_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Express service to update.""" - execution_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the task execution role for the - Express service. - """ - health_check_path: str | None = ... - """The path on the container for Application Load Balancer health checks.""" - primary_container: ExpressGatewayContainer | None = ... - """The primary container configuration for the Express service.""" - task_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role for containers in this - task. - """ - network_configuration: ExpressGatewayServiceNetworkConfiguration | None = ... - """ - The network configuration for the Express service tasks. By default, the - network configuration for an Express service uses the default VPC. - """ - cpu: str | None = ... - """The number of CPU units used by the task.""" - memory: str | None = ... - """The amount of memory (in MiB) used by the task.""" - cpu_architecture: str | None = ... - """ - The CPU architecture that the task runs on. If you don't specify a - value, the service keeps its current architecture. - - Valid values: - - - `X86_64` - The x86 64-bit architecture. - - - `ARM64` - The 64-bit ARM architecture. - - Changing the architecture starts a new deployment that replaces the - running tasks. Ensure that the container image you specify supports the - architecture you choose. The operating system family for an Express - service is always `LINUX`. - - You can't specify `cpuArchitecture` together with `taskDefinitionArn`. - """ - scaling_target: ExpressGatewayScalingTarget | None = ... - """The auto-scaling configuration for the Express service.""" - task_definition_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a task definition to use to update the - Express Gateway service. This allows you to manage your own task - definition, giving you more control over the service configuration such - as adding sidecar containers. - - The task definition must have a container named `Main` with a single TCP - port mapping that includes a container port and port name. The task - definition must also have `FARGATE` compatibility. - - If you provide a task definition ARN, you cannot also specify - `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, `memory`, - or `cpuArchitecture`. - """ - -@dataclass(kw_only=True) -class UpdateExpressGatewayServiceOutput(_SerdeShape): - """Dataclass for UpdateExpressGatewayServiceOutput structure.""" - - service: UpdatedExpressGatewayService | None = ... - """ - The full description of your express gateway service following the - update call. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGatewayAlbConfiguration(_SerdeShape): - """ - The mutable configuration fields for a gateway that uses shared - Application Load Balancers. Only fields that can be changed without - interrupting traffic are included. - """ - - network_configuration: UpdateGatewayNetworkConfiguration | None = ... - """ - The mutable network configuration for the load balancers that the - gateway manages. - """ - max_alb_count: int | None = ... - """ - The maximum number of Application Load Balancers that the gateway - manages. - """ - web_acl_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the WAF web ACL to associate with the - load balancers that the gateway manages. - """ - access_logs: GatewayElbAccessLogConfiguration | None = ... - """ - The access log configuration for the load balancers that the gateway - manages. - """ - http_desync: str | None = ... - """ - The desync mitigation mode for the load balancers that the gateway - manages. - """ - test_traffic_rules: GatewayAlbTestTrafficRules | None = ... - """The rules that route test traffic for progressive deployments.""" - -@dataclass -class UpdateGatewayConfigurationHostSharedAlb(_SerdeShape): - """ - The mutable configuration for a host-based, shared Application Load - Balancer gateway. - """ - - value: UpdateGatewayAlbConfiguration - -@dataclass -class UpdateGatewayConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -UpdateGatewayConfiguration = Union[ - UpdateGatewayConfigurationHostSharedAlb | UpdateGatewayConfigurationUnknown -] -""" -The type-specific configuration to change on a gateway. The variant must -match the gateway's existing type. -""" - -class _UpdateGatewayConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> UpdateGatewayConfiguration: ... - -@dataclass(kw_only=True) -class UpdateGatewayInput(_SerdeShape): - """Dataclass for UpdateGatewayInput structure.""" - - gateway: str | None = ... - """The name or Amazon Resource Name (ARN) of the gateway to update.""" - infrastructure_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that the gateway assumes - to manage infrastructure on your behalf. - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the gateway. When - enabled, the gateway can't be deleted. - """ - configuration: UpdateGatewayConfiguration | None = ... - """ - The updated type-specific configuration for the gateway. The - configuration variant must match the gateway's existing type, and only - mutable fields can be changed. - """ - propagate_tags: str | None = ... - """ - Specifies whether to propagate the tags from the gateway to the - infrastructure that the gateway manages. If you don't specify a value, - the gateway's existing setting is unchanged. - """ - -@dataclass(kw_only=True) -class UpdateGatewayNetworkConfiguration(_SerdeShape): - """ - The mutable network configuration for the load balancers that a gateway - manages. - """ - - inbound_security_group: str | None = ... - """ - The ID of a security group that you provide to control inbound traffic - to the load balancers that the gateway manages. When you specify a - security group, the gateway doesn't create inbound rules on the - security group it manages. - """ - -@dataclass(kw_only=True) -class UpdateGatewayOutput(_SerdeShape): - """Dataclass for UpdateGatewayOutput structure.""" - - gateway_arn: str | None = ... - """The Amazon Resource Name (ARN) of the gateway.""" - name: str | None = ... - """The name of the gateway.""" - status: str | None = ... - """ - The status of the gateway. After a successful update request, the status - is `UPDATE_IN_PROGRESS`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateInProgressException(ServiceError, _SerdeShape): - """ - There's already a current Amazon ECS container agent update in progress - on the container instance that's specified. If the container agent - becomes disconnected while it's in a transitional stage, such as - `PENDING` or `STAGING`, the update process can get stuck in that state. - However, when the agent reconnects, it resumes where it stopped - previously. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateManagedInstancesProviderConfiguration(_SerdeShape): - """ - The updated configuration for a Amazon ECS Managed Instances provider. - You can modify the infrastructure role, instance launch template, and - tag propagation settings. Changes apply to new instances launched after - the update. - """ - - infrastructure_role_arn: str - """ - The updated Amazon Resource Name (ARN) of the infrastructure role. The - new role must have the necessary permissions to manage instances and - access required Amazon Web Services services. - - For more information, see [Amazon ECS infrastructure IAM - role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) - in the *Amazon ECS Developer Guide*. - """ - instance_launch_template: InstanceLaunchTemplateUpdate - """ - The updated launch template configuration. Changes to the launch - template affect new instances launched after the update, while existing - instances continue to use their original configuration. - """ - propagate_tags: str | None = ... - """ - The updated tag propagation setting. When changed, this affects only new - instances launched after the update. - """ - infrastructure_optimization: InfrastructureOptimization | None = ... - """ - The updated infrastructure optimization configuration. Changes to this - setting affect how Amazon ECS optimizes instances going forward. - """ - auto_repair_configuration: AutoRepairConfiguration | None = ... - """ - The updated auto repair configuration for the Amazon ECS Managed - Instances capacity provider. - """ - -@dataclass(kw_only=True) -class UpdateServiceInput(_SerdeShape): - """""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - your service runs on. If you do not specify a cluster, the default - cluster is assumed. - - You can't change the cluster name. - """ - service: str | None = ... - """The name of the service to update.""" - desired_count: int | None = ... - """ - The number of instantiations of the task to place and keep running in - your service. - - This parameter doesn't trigger a new service deployment. - """ - task_definition: str | None = ... - """ - The `family` and `revision` (`family:revision`) or full ARN of the task - definition to run in your service. If a `revision` is not specified, the - latest `ACTIVE` revision is used. If you modify the task definition with - `UpdateService`, Amazon ECS spawns a task with the new version of the - task definition and then stops an old task after the new version is - running. - - This parameter triggers a new service deployment. - """ - capacity_provider_strategy: list[CapacityProviderStrategyItem] | None = ... - """ - The details of a capacity provider strategy. You can set a capacity - provider when you create a cluster, run a task, or update a service. - - Note: - If you want to use Amazon ECS Managed Instances, you must use the - `capacityProviderStrategy` request parameter. - - When you use Fargate, the capacity providers are `FARGATE` or - `FARGATE_SPOT`. - - When you use Amazon EC2, the capacity providers are Auto Scaling groups. - - You can change capacity providers for rolling deployments and blue/green - deployments. - - The following list provides the valid transitions: - - - Update the Fargate launch type to an Auto Scaling group capacity - provider. - - - Update the Amazon EC2 launch type to a Fargate capacity provider. - - - Update the Fargate capacity provider to an Auto Scaling group capacity - provider. - - - Update the Amazon EC2 capacity provider to a Fargate capacity - provider. - - - Update the Auto Scaling group or Fargate capacity provider back to the - launch type. - - Pass an empty list in the `capacityProviderStrategy` parameter. - - For information about Amazon Web Services CDK considerations, see - [Amazon Web Services CDK - considerations](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html). - - This parameter doesn't trigger a new service deployment. - """ - deployment_configuration: DeploymentConfiguration | None = ... - """ - Optional deployment parameters that control how many tasks run during - the deployment and the ordering of stopping and starting tasks. - - This parameter doesn't trigger a new service deployment. - """ - availability_zone_rebalancing: str | None = ... - """ - Indicates whether to use Availability Zone rebalancing for the service. - - For more information, see [Balancing an Amazon ECS service across - Availability - Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) - in the Amazon Elastic Container Service Developer Guide . - - The default behavior of `AvailabilityZoneRebalancing` differs between - create and update requests: - - - For create service requests, when no value is specified for - `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to - `ENABLED`. - - - For update service requests, when no value is specified for - `AvailabilityZoneRebalancing`, Amazon ECS defaults to the existing - service's `AvailabilityZoneRebalancing` value. If the service never - had an `AvailabilityZoneRebalancing` value set, Amazon ECS treats this - as `DISABLED`. - - This parameter doesn't trigger a new service deployment. - """ - network_configuration: NetworkConfiguration | None = ... - """ - An object representing the network configuration for the service. - - This parameter triggers a new service deployment. - """ - placement_constraints: list[PlacementConstraint] | None = ... - """ - An array of task placement constraint objects to update the service to - use. If no value is specified, the existing placement constraints for - the service will remain unchanged. If this value is specified, it will - override any existing placement constraints defined for the service. To - remove all existing placement constraints, specify an empty array. - - You can specify a maximum of 10 constraints for each task. This limit - includes constraints in the task definition and those specified at - runtime. - - This parameter doesn't trigger a new service deployment. - """ - placement_strategy: list[PlacementStrategy] | None = ... - """ - The task placement strategy objects to update the service to use. If no - value is specified, the existing placement strategy for the service will - remain unchanged. If this value is specified, it will override the - existing placement strategy defined for the service. To remove an - existing placement strategy, specify an empty object. - - You can specify a maximum of five strategy rules for each service. - - This parameter doesn't trigger a new service deployment. - """ - platform_version: str | None = ... - """ - The platform version that your tasks in the service run on. A platform - version is only specified for tasks using the Fargate launch type. If a - platform version is not specified, the `LATEST` platform version is - used. For more information, see [Fargate Platform - Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) - in the *Amazon Elastic Container Service Developer Guide*. - - This parameter triggers a new service deployment. - """ - force_new_deployment: bool = ... - """ - Determines whether to force a new deployment of the service. By default, - deployments aren't forced. You can use this option to start a new - deployment with no service definition changes. For example, you can - update a service's tasks to use a newer Docker image with the same - image/tag combination (`my_image:latest`) or to roll Fargate tasks onto - a newer platform version. - """ - health_check_grace_period_seconds: int | None = ... - """ - The period of time, in seconds, that the Amazon ECS service scheduler - ignores unhealthy Elastic Load Balancing, VPC Lattice, and container - health checks after a task has first started. If you don't specify a - health check grace period value, the default value of `0` is used. If - you don't use any of the health checks, then - `healthCheckGracePeriodSeconds` is unused. - - If your service's tasks take a while to start and respond to health - checks, you can specify a health check grace period of up to - 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS - service scheduler ignores health check status. This grace period can - prevent the service scheduler from marking tasks as unhealthy and - stopping them before they have time to come up. - - If your service has more running tasks than desired, unhealthy tasks in - the grace period might be stopped to reach the desired count. - - This parameter doesn't trigger a new service deployment. - """ - deployment_controller: DeploymentController | None = ... - """The deployment controller to use for the service.""" - enable_execute_command: bool | None = ... - """ - If `true`, this enables execute command functionality on all task - containers. - - If you do not want to override the value that was set when the service - was created, you can set this to `null` when performing this action. - - This parameter doesn't trigger a new service deployment. - """ - enable_ecs_managed_tags: bool | None = ... - """ - Determines whether to turn on Amazon ECS managed tags for the tasks in - the service. For more information, see [Tagging Your Amazon ECS - Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) - in the *Amazon Elastic Container Service Developer Guide*. - - Only tasks launched after the update will reflect the update. To update - the tags on all tasks, set `forceNewDeployment` to `true`, so that - Amazon ECS starts new tasks with the updated tags. - - This parameter doesn't trigger a new service deployment. - """ - load_balancers: list[LoadBalancer] | None = ... - """ - Note: - You must have a service-linked role when you update this property - - A list of Elastic Load Balancing load balancer objects. It contains the - load balancer name, the container name, and the container port to access - from the load balancer. The container name is as it appears in a - container definition. - - When you add, update, or remove a load balancer configuration, Amazon - ECS starts new tasks with the updated Elastic Load Balancing - configuration, and then stops the old tasks when the new tasks are - running. - - For services that use rolling updates, you can add, update, or remove - Elastic Load Balancing target groups. You can update from a single - target group to multiple target groups and from multiple target groups - to a single target group. - - For services that use blue/green deployments, you can update Elastic - Load Balancing target groups by using - ` `[`CreateDeployment`](https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html)` ` - through CodeDeploy. Note that multiple target groups are not supported - for blue/green deployments. For more information see [Register multiple - target groups with a - service](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html) - in the *Amazon Elastic Container Service Developer Guide*. - - For services that use the external deployment controller, you can add, - update, or remove load balancers by using - [CreateTaskSet](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html). - Note that multiple target groups are not supported for external - deployments. For more information see [Register multiple target groups - with a - service](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html) - in the *Amazon Elastic Container Service Developer Guide*. - - You can remove existing `loadBalancers` by passing an empty list. - - This parameter triggers a new service deployment. - """ - propagate_tags: str | None = ... - """ - Determines whether to propagate the tags from the task definition or the - service to the task. If no value is specified, the tags aren't - propagated. - - Only tasks launched after the update will reflect the update. To update - the tags on all tasks, set `forceNewDeployment` to `true`, so that - Amazon ECS starts new tasks with the updated tags. - - This parameter doesn't trigger a new service deployment. - """ - service_registries: list[ServiceRegistry] | None = ... - """ - Note: - You must have a service-linked role when you update this property. - - For more information about the role see the `CreateService` request - parameter - [`role`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role) - . - - The details for the service discovery registries to assign to this - service. For more information, see [Service - Discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html). - - When you add, update, or remove the service registries configuration, - Amazon ECS starts new tasks with the updated service registries - configuration, and then stops the old tasks when the new tasks are - running. - - You can remove existing `serviceRegistries` by passing an empty list. - - This parameter triggers a new service deployment. - """ - service_connect_configuration: ServiceConnectConfiguration | None = ... - """ - The configuration for this service to discover and connect to services, - and be discovered by, and connected from, other services within a - namespace. - - Tasks that run in a namespace can use short names to connect to services - in the namespace. Tasks can connect to services across all of the - clusters in the namespace. Tasks connect through a managed proxy - container that collects logs and metrics for increased visibility. Only - the tasks that Amazon ECS services create are supported with Service - Connect. For more information, see [Service - Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) - in the *Amazon Elastic Container Service Developer Guide*. - - This parameter triggers a new service deployment. - """ - volume_configurations: list[ServiceVolumeConfiguration] | None = ... - """ - The details of the volume that was `configuredAtLaunch`. You can - configure the size, volumeType, IOPS, throughput, snapshot and - encryption in - [ServiceManagedEBSVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html). - The `name` of the volume must match the `name` from the task definition. - If set to null, no new deployment is triggered. Otherwise, if this - configuration differs from the existing one, it triggers a new - deployment. - - This parameter triggers a new service deployment. - """ - vpc_lattice_configurations: list[VpcLatticeConfiguration] | None = ... - """ - An object representing the VPC Lattice configuration for the service - being updated. - - This parameter triggers a new service deployment. - """ - gateway_connectors: list[GatewayConnector] | None = ... - """ - The updated set of gateway connectors that connect the service to a - gateway ingress path. A service supports no more than one gateway - connector. - """ - monitoring: MonitoringConfiguration | None = ... - """ - The optional monitoring configuration for the service, which defines the - resolution for the service-level `CPUUtilization` and - `MemoryUtilization` Amazon CloudWatch metrics. When not specified, - Amazon ECS uses the default resolution of `60` seconds. - """ - -@dataclass(kw_only=True) -class UpdateServiceOutput(_SerdeShape): - """""" - - service: Service | None = ... - """ - The full description of your service following the update call. - - The response includes a `lifecycleHookDetails` field, which is an empty - array when the service is created or updated. The values are populated - when a lifecycle hook executes and are available as part of the service - deployment details - ([DescribeServiceDeployments](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html)). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateServicePrimaryTaskSetInput(_SerdeShape): - """Dataclass for UpdateServicePrimaryTaskSetInput structure.""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the service that the task set exists in. - """ - service: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the service that - the task set exists in. - """ - primary_task_set: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the task set to set - as the primary task set in the deployment. - """ - -@dataclass(kw_only=True) -class UpdateServicePrimaryTaskSetOutput(_SerdeShape): - """Dataclass for UpdateServicePrimaryTaskSetOutput structure.""" - - task_set: TaskSet | None = ... - """The details about the task set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateTaskProtectionInput(_SerdeShape): - """Dataclass for UpdateTaskProtectionInput structure.""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the service that the task sets exist in. - """ - tasks: list[str] | None = ... - """A list of up to 10 task IDs or full ARN entries.""" - protection_enabled: bool = ... - """ - Specify `true` to mark a task for protection and `false` to unset - protection, making it eligible for termination. - """ - expires_in_minutes: int | None = ... - """ - If you set `protectionEnabled` to `true`, you can specify the duration - for task protection in minutes. You can specify a value from 1 minute to - up to 2,880 minutes (48 hours). During this time, your task will not be - terminated by scale-in events from Service Auto Scaling or deployments. - After this time period lapses, `protectionEnabled` will be reset to - `false`. - - If you don't specify the time, then the task is automatically protected - for 120 minutes (2 hours). - """ - -@dataclass(kw_only=True) -class UpdateTaskProtectionOutput(_SerdeShape): - """Dataclass for UpdateTaskProtectionOutput structure.""" - - protected_tasks: list[ProtectedTask] | None = ... - """ - A list of tasks with the following information. - - - `taskArn`: The task ARN. - - - `protectionEnabled`: The protection status of the task. If scale-in - protection is turned on for a task, the value is `true`. Otherwise, it - is `false`. - - - `expirationDate`: The epoch time when protection for the task will - expire. - """ - failures: list[Failure] | None = ... - """Any failures associated with the call.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateTaskSetInput(_SerdeShape): - """Dataclass for UpdateTaskSetInput structure.""" - - cluster: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the cluster that - hosts the service that the task set is found in. - """ - service: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the service that - the task set is found in. - """ - task_set: str | None = ... - """ - The short name or full Amazon Resource Name (ARN) of the task set to - update. - """ - scale: Scale | None = ... - """ - A floating-point percentage of the desired number of tasks to place and - keep running in the task set. - """ - -@dataclass(kw_only=True) -class UpdateTaskSetOutput(_SerdeShape): - """Dataclass for UpdateTaskSetOutput structure.""" - - task_set: TaskSet | None = ... - """Details about the task set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class VCpuCountRangeRequest(_SerdeShape): - """ - The minimum and maximum number of vCPUs for instance type selection. - This allows you to specify a range of vCPU counts that meet your - workload requirements. - """ - - min: int - """ - The minimum number of vCPUs. Instance types with fewer vCPUs than this - value are excluded from selection. - """ - max: int | None = ... - """ - The maximum number of vCPUs. Instance types with more vCPUs than this - value are excluded from selection. - """ - -class VersionConsistency(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - -@dataclass(kw_only=True) -class VersionInfo(_SerdeShape): - """ - The Docker and Amazon ECS container agent version information about a - container instance. - """ - - agent_version: str | None = ... - """The version number of the Amazon ECS container agent.""" - agent_hash: str | None = ... - """ - The Git commit hash for the Amazon ECS container agent build on the - [amazon-ecs-agent](https://github.com/aws/amazon-ecs-agent) GitHub - repository. - """ - docker_version: str | None = ... - """The Docker version that's running on the container instance.""" - -@dataclass(kw_only=True) -class Volume(_SerdeShape): - """ - The data volume configuration for tasks launched using this task - definition. Specifying a volume configuration in a task definition is - optional. The volume configuration may contain multiple volumes but only - one volume configured at launch is supported. Each volume defined in the - volume configuration may only specify a `name` and one of either - `configuredAtLaunch`, `dockerVolumeConfiguration`, - `efsVolumeConfiguration`, `s3filesVolumeConfiguration`, - `fsxWindowsFileServerVolumeConfiguration`, or `host`. If an empty volume - configuration is specified, by default Amazon ECS uses a host volume. - For more information, see [Using data volumes in - tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html). - """ - - name: str | None = ... - """ - The name of the volume. Up to 255 letters (uppercase and lowercase), - numbers, underscores, and hyphens are allowed. - - When using a volume configured at launch, the `name` is required and - must also be specified as the volume name in the - `ServiceVolumeConfiguration` or `TaskVolumeConfiguration` parameter when - creating your service or standalone task. - - For all other types of volumes, this name is referenced in the - `sourceVolume` parameter of the `mountPoints` object in the container - definition. - - When a volume is using the `efsVolumeConfiguration`, the name is - required. - - When a volume is using the `s3filesVolumeConfiguration`, the name is - required. - """ - host: HostVolumeProperties | None = ... - """ - This parameter is specified when you use bind mount host volumes. The - contents of the `host` parameter determine whether your bind mount host - volume persists on the host container instance and where it's stored. - If the `host` parameter is empty, then the Docker daemon assigns a host - path for your data volume. However, the data isn't guaranteed to - persist after the containers that are associated with it stop running. - - Windows containers can mount whole directories on the same drive as - `$env:ProgramData`. Windows containers can't mount directories on a - different drive, and mount point can't be across drives. For example, - you can mount `C:\\my\\path:C:\\my\\path` and `D:\\:D:`, but not - `D:\\my\\path:C:\\my\\path` or `D:\\:C:\\my\\path`. - """ - docker_volume_configuration: DockerVolumeConfiguration | None = ... - """ - This parameter is specified when you use Docker volumes. - - Windows containers only support the use of the `local` driver. To use - bind mounts, specify the `host` parameter instead. - - Note: - Docker volumes aren't supported by tasks run on Fargate. - """ - efs_volume_configuration: EFSVolumeConfiguration | None = ... - """ - This parameter is specified when you use an Amazon Elastic File System - file system for task storage. - """ - s3files_volume_configuration: S3FilesVolumeConfiguration | None = ... - """ - This parameter is specified when you use an Amazon S3 Files file system - for task storage. - """ - fsx_windows_file_server_volume_configuration: ( - FSxWindowsFileServerVolumeConfiguration | None - ) = ... - """ - This parameter is specified when you use Amazon FSx for Windows File - Server file system for task storage. - """ - configured_at_launch: bool | None = ... - """ - Indicates whether the volume should be configured at launch time. This - is used to create Amazon EBS volumes for standalone tasks or tasks - created as part of a service. Each task definition revision may only - have one volume configured at launch in the volume configuration. - - To configure a volume at launch time, use this task definition revision - and specify a `volumeConfigurations` object when calling the - `CreateService`, `UpdateService`, `RunTask` or `StartTask` APIs. - """ - -@dataclass(kw_only=True) -class VolumeFrom(_SerdeShape): - """ - Details on a data volume from another container in the same task - definition. - """ - - source_container: str | None = ... - """ - The name of another container within the same task definition to mount - volumes from. - """ - read_only: bool | None = ... - """ - If this value is `true`, the container has read-only access to the - volume. If this value is `false`, then the container can write to the - volume. The default value is `false`. - """ - -@dataclass(kw_only=True) -class VpcLatticeAdvancedConfiguration(_SerdeShape): - """ - The advanced settings for VPC Lattice used in blue/green deployments. - Specify the alternate target group and listener rules required for - traffic shifting during blue/green deployments. For more information, - see [Required resources for Amazon ECS blue/green - deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-deployment-implementation.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - - alternate_target_group_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the alternate target group associated - with the VPC Lattice Configuration for Amazon ECS blue/green - deployments. - """ - production_listener_rule: str | None = ... - """ - The Amazon Resource Name (ARN) that identifies the production listener - rule or listener for routing production traffic. - """ - test_listener_rule: str | None = ... - """ - The Amazon Resource Name (ARN) that identifies the test listener rule or - listener for routing test traffic. - """ - -@dataclass(kw_only=True) -class VpcLatticeConfiguration(_SerdeShape): - """ - The VPC Lattice configuration for your service that holds the - information for the target group(s) Amazon ECS tasks will be registered - to. - """ - - role_arn: str - """ - The ARN of the IAM role to associate with this VPC Lattice - configuration. This is the Amazon ECS infrastructure IAM role that is - used to manage your VPC Lattice infrastructure. - """ - target_group_arn: str - """ - The full Amazon Resource Name (ARN) of the target group or groups - associated with the VPC Lattice configuration that the Amazon ECS tasks - will be registered to. - """ - port_name: str - """ - The name of the port mapping to register in the VPC Lattice target - group. This is the name of the `portMapping` you defined in your task - definition. - """ - advanced_configuration: VpcLatticeAdvancedConfiguration | None = ... - """ - The advanced settings for VPC Lattice used in blue/green deployments. - Specify the alternate target group and listener rules required for - traffic shifting during blue/green deployments. For more information, - see [Required resources for Amazon ECS blue/green - deployments](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-deployment-implementation.html) - in the *Amazon Elastic Container Service Developer Guide*. - """ - ASSOCIATE_GATEWAY_WITH_CLUSTER: APIOperation[ AssociateGatewayWithClusterInput, AssociateGatewayWithClusterOutput ] diff --git a/clients/aws-sdk-ecs/tests/test_endpoints.py b/clients/aws-sdk-ecs/tests/test_endpoints.py index 2edcae08a..6f8747cb8 100644 --- a/clients/aws-sdk-ecs/tests/test_endpoints.py +++ b/clients/aws-sdk-ecs/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-guardduty/pyproject.toml b/clients/aws-sdk-guardduty/pyproject.toml index ee7fcbe90..74af2cb0f 100644 --- a/clients/aws-sdk-guardduty/pyproject.toml +++ b/clients/aws-sdk-guardduty/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_guardduty" version = "0.12.0" -description = "aws_sdk_guardduty client" +description = "Python client for Amazon GuardDuty" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_guardduty"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/models_0.pyi b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/models_0.pyi new file mode 100644 index 000000000..37d162d65 --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/models_0.pyi @@ -0,0 +1,5600 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + IamInstanceProfile, + Investigation, + KubernetesApiCallAction, + KubernetesConfiguration, + KubernetesConfigurationResult, + KubernetesDataSourceFreeTrial, + KubernetesPermissionCheckedDetails, + KubernetesRoleBindingDetails, + KubernetesRoleDetails, + MalwareProtectionConfiguration, + MalwareProtectionConfigurationResult, + MalwareProtectionDataSourceFreeTrial, + MalwareProtectionPlanActions, + MalwareProtectionPlanStatusReason, + NetworkConnectionAction, + Observations, + OrganizationDataSourceConfigurationsResult, + OrganizationFeatureConfigurationResult, + PortProbeAction, + PrivateIpAddressDetails, + ProductCode, + RdsLoginAttemptAction, + RemoteAccountDetails, + RemoteIpDetails, + Resource, + ResourceStatistics, + RuleDetail, + S3LogsConfiguration, + S3LogsConfigurationResult, + Scan, + ScanDetections, + SecurityContext, + SecurityGroup, + Sequence, + Service, + ServiceError, + Session, + SeverityStatistics, + SortCriteria, + Tag, + ThreatIntelligenceDetail, + UnprocessedAccount, + UnprocessedDataSourcesResult, + User, + Volume, + VolumeDetail, + VolumeMount, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AcceptAdministratorInvitationInput(_SerdeShape): + """Dataclass for AcceptAdministratorInvitationInput structure.""" + + detector_id: str | None = ... + """The unique ID of the detector of the GuardDuty member account.""" + administrator_id: str | None = ... + """ + The account ID of the GuardDuty administrator account whose invitation + you're accepting. + """ + invitation_id: str | None = ... + """ + The value that is used to validate the administrator account to the + member account. + """ + +@dataclass(kw_only=True) +class AcceptAdministratorInvitationOutput(_SerdeShape): + """Dataclass for AcceptAdministratorInvitationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcceptInvitationInput(_SerdeShape): + """Dataclass for AcceptInvitationInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty member account. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + master_id: str | None = ... + """ + The account ID of the GuardDuty administrator account whose invitation + you're accepting. + """ + invitation_id: str | None = ... + """ + The value that is used to validate the administrator account to the + member account. + """ + +@dataclass(kw_only=True) +class AcceptInvitationOutput(_SerdeShape): + """Dataclass for AcceptInvitationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AccessControlList(_SerdeShape): + """ + Contains information on the current access control policies for the + bucket. + """ + + allows_public_read_access: bool | None = ... + """ + A value that indicates whether public read access for the bucket is + enabled through an Access Control List (ACL). + """ + allows_public_write_access: bool | None = ... + """ + A value that indicates whether public write access for the bucket is + enabled through an Access Control List (ACL). + """ + +@dataclass(kw_only=True) +class AccessDeniedException(ServiceError, _SerdeShape): + """An access denied exception object.""" + + type: str | None = ... + """The error type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AccessKey(_SerdeShape): + """Contains information about the access keys.""" + + principal_id: str | None = ... + """Principal ID of the user.""" + user_name: str | None = ... + """Name of the user.""" + user_type: str | None = ... + """Type of the user.""" + +@dataclass(kw_only=True) +class AccessKeyDetails(_SerdeShape): + """Contains information about the access keys.""" + + access_key_id: str | None = ... + """The access key ID of the user.""" + principal_id: str | None = ... + """The principal ID of the user.""" + user_name: str | None = ... + """The name of the user.""" + user_type: str | None = ... + """The type of the user.""" + +@dataclass(kw_only=True) +class Account(_SerdeShape): + """ + Contains information about the Amazon Web Services account within which + the activity took place. + """ + + uid: str | None = ... + """ + The Amazon Web Services account ID within which the activity took place. + This may differ from the account that owns the user identity. + """ + name: str | None = ... + """Name of the member's Amazon Web Services account.""" + +@dataclass(kw_only=True) +class AccountDetail(_SerdeShape): + """Contains information about the account.""" + + account_id: str | None = ... + """The member account ID.""" + email: str | None = ... + """ + The email address of the member account. The following list includes the + rules for a valid email address: + + - The email address must be a minimum of 6 and a maximum of 64 + characters long. + + - All characters must be 7-bit ASCII characters. + + - There must be one and only one @ symbol, which separates the local + name from the domain name. + + - The local name can't contain any of the following characters: + + whitespace, \" ' ( ) < > [ ] : ' , \\ | % & + + - The local name can't begin with a dot (.). + + - The domain name can consist of only the characters [a-z], [A-Z], + [0-9], hyphen (-), or dot (.). + + - The domain name can't begin or end with a dot (.) or hyphen (-). + + - The domain name must contain at least one dot. + """ + +@dataclass(kw_only=True) +class AccountFreeTrialInfo(_SerdeShape): + """ + Provides details of the GuardDuty member account that uses a free trial + service. + """ + + account_id: str | None = ... + """The account identifier of the GuardDuty member account.""" + data_sources: DataSourcesFreeTrial | None = ... + """Describes the data source enabled for the GuardDuty member account.""" + features: list[FreeTrialFeatureConfigurationResult] | None = ... + """A list of features enabled for the GuardDuty account.""" + +@dataclass(kw_only=True) +class AccountLevelPermissions(_SerdeShape): + """ + Contains information about the account level permissions on the S3 + bucket. + """ + + block_public_access: BlockPublicAccess | None = ... + """ + Describes the S3 Block Public Access settings of the bucket's parent + account. + """ + +@dataclass(kw_only=True) +class AccountStatistics(_SerdeShape): + """ + Represents a list of map of accounts with the number of findings + associated with each account. + """ + + account_id: str | None = ... + """The ID of the Amazon Web Services account.""" + last_generated_at: datetime | None = ... + """The timestamp at which the finding for this account was last generated.""" + total_findings: int | None = ... + """The total number of findings associated with an account.""" + +@dataclass(kw_only=True) +class Action(_SerdeShape): + """Contains information about actions.""" + + action_type: str | None = ... + """The GuardDuty finding activity type.""" + aws_api_call_action: AwsApiCallAction | None = ... + """Information about the AWS_API_CALL action described in this finding.""" + dns_request_action: DnsRequestAction | None = ... + """Information about the DNS_REQUEST action described in this finding.""" + network_connection_action: NetworkConnectionAction | None = ... + """ + Information about the NETWORK_CONNECTION action described in this + finding. + """ + port_probe_action: PortProbeAction | None = ... + """Information about the PORT_PROBE action described in this finding.""" + kubernetes_api_call_action: KubernetesApiCallAction | None = ... + """ + Information about the Kubernetes API call action described in this + finding. + """ + kubernetes_permission_checked_details: ( + KubernetesPermissionCheckedDetails | None + ) = ... + """ + Information whether the user has the permission to use a specific + Kubernetes API. + """ + kubernetes_role_binding_details: KubernetesRoleBindingDetails | None = ... + """ + Information about the role binding that grants the permission defined in + a Kubernetes role. + """ + kubernetes_role_details: KubernetesRoleDetails | None = ... + """Information about the Kubernetes role name and role type.""" + rds_login_attempt_action: RdsLoginAttemptAction | None = ... + """Information about `RDS_LOGIN_ATTEMPT` action described in this finding.""" + +@dataclass(kw_only=True) +class Activity(_SerdeShape): + """ + Contains information about an activity, such as an API call, that was + observed for a signal. + """ + + type: str | None = ... + """The type of the observed activity.""" + api: ApiCall | None = ... + """ + Contains information about the API call that was observed, when the + activity type is `API_CALL`. + """ + +class ActivityType(UnknownEnumMixin, StrEnum): + """The type of an observed activity.""" + + API_CALL = "API_CALL" + """The observed activity is an API call.""" + +@dataclass(kw_only=True) +class Actor(_SerdeShape): + """Information about the actors involved in an attack sequence.""" + + id: str | None = ... + """ID of the threat actor.""" + user: User | None = ... + """ + Contains information about the user credentials used by the threat + actor. + """ + session: Session | None = ... + """ + Contains information about the user session where the activity + initiated. + """ + process: ActorProcess | None = ... + """ + Contains information about the process associated with the threat actor. + This includes details such as process name, path, execution time, and + unique identifiers that help track the actor's activities within the + system. + """ + +@dataclass(kw_only=True) +class ActorProcess(_SerdeShape): + """ + Contains information about a process involved in a GuardDuty finding, + including process identification, execution details, and file + information. + """ + + name: str | None = ... + """The name of the process as it appears in the system.""" + path: str | None = ... + """The full file path to the process executable on the system.""" + sha256: str | None = ... + """ + The SHA256 hash of the process executable file, which can be used for + identification and verification purposes. + """ + +@dataclass(kw_only=True) +class AdditionalInfo(_SerdeShape): + """Contains additional information about the detected threat.""" + + version_id: str | None = ... + """The version ID of the S3 object, if applicable.""" + device_name: str | None = ... + """The device name of the EBS volume, if applicable.""" + +@dataclass(kw_only=True) +class AddonDetails(_SerdeShape): + """Information about the installed EKS add-on (GuardDuty security agent).""" + + addon_version: str | None = ... + """Version of the installed EKS add-on.""" + addon_status: str | None = ... + """Status of the installed EKS add-on.""" + +@dataclass(kw_only=True) +class AdminAccount(_SerdeShape): + """ + The account within the organization specified as the GuardDuty delegated + administrator. + """ + + admin_account_id: str | None = ... + """The Amazon Web Services account ID for the account.""" + admin_status: str | None = ... + """Indicates whether the account is enabled as the delegated administrator.""" + +@dataclass(kw_only=True) +class Administrator(_SerdeShape): + """Contains information about the administrator account and invitation.""" + + account_id: str | None = ... + """The ID of the account used as the administrator account.""" + invitation_id: str | None = ... + """ + The value that is used to validate the administrator account to the + member account. + """ + relationship_status: str | None = ... + """ + The status of the relationship between the administrator and member + accounts. + """ + invited_at: str | None = ... + """The timestamp when the invitation was sent.""" + +class AdminStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS" + +@dataclass(kw_only=True) +class AgentDetails(_SerdeShape): + """Information about the installed GuardDuty security agent.""" + + version: str | None = ... + """Version of the installed GuardDuty security agent.""" + +@dataclass(kw_only=True) +class Anomaly(_SerdeShape): + """Contains information about the anomalies.""" + + profiles: dict[str, dict[str, list[AnomalyObject]]] | None = ... + """Information about the types of profiles.""" + unusual: AnomalyUnusual | None = ... + """Information about the behavior of the anomalies.""" + +@dataclass(kw_only=True) +class AnomalyObject(_SerdeShape): + """Contains information about the unusual anomalies.""" + + profile_type: str | None = ... + """The type of behavior of the profile.""" + profile_subtype: str | None = ... + """The frequency of the anomaly.""" + observations: Observations | None = ... + """The recorded value.""" + +@dataclass(kw_only=True) +class AnomalyUnusual(_SerdeShape): + """ + Contains information about the behavior of the anomaly that is new to + GuardDuty. + """ + + behavior: dict[str, dict[str, AnomalyObject]] | None = ... + """ + The behavior of the anomalous activity that caused GuardDuty to generate + the finding. + """ + +@dataclass(kw_only=True) +class ApiCall(_SerdeShape): + """ + Contains information about an API call that was observed as part of an + activity. + """ + + operation: str | None = ... + """The name of the API operation that was invoked.""" + service: str | None = ... + """The service that the API operation was invoked against.""" + error: str | None = ... + """The error code that was returned, if the API call failed.""" + user_agent: str | None = ... + """User agent in the request to the API operation""" + +@dataclass(kw_only=True) +class ArchiveFindingsInput(_SerdeShape): + """Dataclass for ArchiveFindingsInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector that specifies the GuardDuty service whose + findings you want to archive. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + finding_ids: list[str] | None = ... + """The IDs of the findings that you want to archive.""" + +@dataclass(kw_only=True) +class ArchiveFindingsOutput(_SerdeShape): + """Dataclass for ArchiveFindingsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AssociationDetail(_SerdeShape): + """Contains the full details of a custom detection rule association.""" + + association_id: str | None = ... + """The unique identifier for the association.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) of the association.""" + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + account_id: str | None = ... + """ + The Amazon Web Services account ID associated with this rule + association. + """ + mode: str | None = ... + """The rule execution mode. Valid values: `LIVE` | `DRY_RUN`.""" + created_at: datetime | None = ... + """The timestamp when the association was created.""" + updated_at: datetime | None = ... + """The timestamp when the association was last updated.""" + expires_at: datetime | None = ... + """The timestamp when the association expires.""" + +class AssociationMode(UnknownEnumMixin, StrEnum): + LIVE = "LIVE" + DRY_RUN = "DRY_RUN" + +@dataclass(kw_only=True) +class AssociationSummary(_SerdeShape): + """Contains summary information about a custom detection rule association.""" + + association_id: str | None = ... + """The unique identifier for the association.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) of the association.""" + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + mode: str | None = ... + """The rule execution mode. Valid values: `LIVE` | `DRY_RUN`.""" + created_at: datetime | None = ... + """The timestamp when the association was created.""" + updated_at: datetime | None = ... + """The timestamp when the association was last updated.""" + expires_at: datetime | None = ... + """The timestamp when the association expires.""" + +class AutoEnableMembers(UnknownEnumMixin, StrEnum): + NEW = "NEW" + ALL = "ALL" + NONE = "NONE" + +@dataclass(kw_only=True) +class AutonomousSystem(_SerdeShape): + """ + Contains information about the Autonomous System (AS) associated with + the network endpoints involved in an attack sequence. + """ + + name: str | None = ... + """Name associated with the Autonomous System (AS).""" + number: int | None = ... + """The unique number that identifies the Autonomous System (AS).""" + +@dataclass(kw_only=True) +class AutoscalingAutoScalingGroup(_SerdeShape): + """ + Contains information about the Auto Scaling Group involved in a + GuardDuty finding, including unique identifiers of the Amazon EC2 + instances. + """ + + ec2_instance_uids: list[str] | None = ... + """ + A list of unique identifiers for the compromised Amazon EC2 instances + that are part of the same Auto Scaling Group. + """ + +@dataclass(kw_only=True) +class AwsApiCallAction(_SerdeShape): + """Contains information about the API action.""" + + api: str | None = ... + """The Amazon Web Services API name.""" + caller_type: str | None = ... + """The Amazon Web Services API caller type.""" + domain_details: DomainDetails | None = ... + """The domain information for the Amazon Web Services API call.""" + error_code: str | None = ... + """The error code of the failed Amazon Web Services API action.""" + user_agent: str | None = ... + """The agent through which the API request was made.""" + remote_ip_details: RemoteIpDetails | None = ... + """ + The remote IP information of the connection that initiated the Amazon + Web Services API call. + """ + service_name: str | None = ... + """The Amazon Web Services service name whose API was invoked.""" + remote_account_details: RemoteAccountDetails | None = ... + """ + The details of the Amazon Web Services account that made the API call. + This field appears if the call was made from outside your account. + """ + affected_resources: dict[str, str] | None = ... + """ + The details of the Amazon Web Services account that made the API call. + This field identifies the resources that were affected by this API call. + """ + +@dataclass(kw_only=True) +class BadRequestException(ServiceError, _SerdeShape): + """A bad request exception object.""" + + type: str | None = ... + """The error type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BedrockGuardrail(_SerdeShape): + """ + Contains information about a Bedrock guardrail associated with a + finding. + """ + + arn: str | None = ... + """The ARN of the Bedrock guardrail.""" + version: str | None = ... + """The version of the Bedrock guardrail.""" + +@dataclass(kw_only=True) +class BedrockGuardrailDetails(_SerdeShape): + """ + Contains information about the Bedrock guardrail that was involved in a + finding. + """ + + guardrail_arn: str | None = ... + """ + The ARN of the Bedrock guardrail. This field is deprecated. Use the + `guardrails` list instead. + """ + guardrail_version: str | None = ... + """ + The version of the Bedrock guardrail. This field is deprecated. Use the + `guardrails` list instead. + """ + guardrails: list[BedrockGuardrail] | None = ... + """The list of Bedrock guardrails associated with the finding.""" + guardrail_action: str | None = ... + """Indicates whether the guardrail intervened or not.""" + guardrail_source: str | None = ... + """ + Indicates whether the guardrail was applied on the input or output of + the model invocation. + """ + content_policy_filters: list[ContentPolicyFilter] | None = ... + """ + The list of content policy filters that matched during the guardrail + evaluation. + """ + +@dataclass(kw_only=True) +class BedrockGuardrailResource(_SerdeShape): + """ + Contains details about an Amazon Bedrock guardrail evaluated during a + model invocation. + """ + + version: str | None = ... + """ + The version of the Amazon Bedrock guardrail. Valid values are a numeric + version, `DRAFT`, or `ENFORCED`. + """ + guardrail_action: str | None = ... + """Indicates whether the guardrail intervened during the model invocation.""" + guardrail_source: str | None = ... + """ + Indicates whether the guardrail was applied on the input or output of + the model invocation. + """ + +@dataclass(kw_only=True) +class BlockPublicAccess(_SerdeShape): + """ + Contains information on how the bucker owner's S3 Block Public Access + settings are being applied to the S3 bucket. See [S3 Block Public + Access](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) + for more information. + """ + + ignore_public_acls: bool | None = ... + """Indicates if S3 Block Public Access is set to `IgnorePublicAcls`.""" + restrict_public_buckets: bool | None = ... + """Indicates if S3 Block Public Access is set to `RestrictPublicBuckets`.""" + block_public_acls: bool | None = ... + """Indicates if S3 Block Public Access is set to `BlockPublicAcls`.""" + block_public_policy: bool | None = ... + """Indicates if S3 Block Public Access is set to `BlockPublicPolicy`.""" + +@dataclass(kw_only=True) +class BucketLevelPermissions(_SerdeShape): + """ + Contains information about the bucket level permissions for the S3 + bucket. + """ + + access_control_list: AccessControlList | None = ... + """ + Contains information on how Access Control Policies are applied to the + bucket. + """ + bucket_policy: BucketPolicy | None = ... + """Contains information on the bucket policies for the S3 bucket.""" + block_public_access: BlockPublicAccess | None = ... + """ + Contains information on which account level S3 Block Public Access + settings are applied to the S3 bucket. + """ + +@dataclass(kw_only=True) +class BucketPolicy(_SerdeShape): + """Contains information on the current bucket policies for the S3 bucket.""" + + allows_public_read_access: bool | None = ... + """ + A value that indicates whether public read access for the bucket is + enabled through a bucket policy. + """ + allows_public_write_access: bool | None = ... + """ + A value that indicates whether public write access for the bucket is + enabled through a bucket policy. + """ + +@dataclass(kw_only=True) +class City(_SerdeShape): + """Contains information about the city associated with the IP address.""" + + city_name: str | None = ... + """The city name of the remote IP address.""" + +@dataclass(kw_only=True) +class CloudDetails(_SerdeShape): + """ + Contains details about the cloud environment associated with an + investigation. + """ + + provider: str | None = ... + """The cloud provider. Currently, only `AWS` is supported.""" + region: str | None = ... + """ + The Amazon Web Services Region in which the investigated resource + resides. + """ + account: str | None = ... + """The Amazon Web Services account ID of the investigated resource.""" + +@dataclass(kw_only=True) +class CloudformationStack(_SerdeShape): + """ + Contains information about the CloudFormation stack involved in a + GuardDuty finding, including unique identifiers of the Amazon EC2 + instances. + """ + + ec2_instance_uids: list[str] | None = ... + """ + A list of unique identifiers for the compromised Amazon EC2 instances + that were created as part of the same CloudFormation stack. + """ + +class CloudProvider(UnknownEnumMixin, StrEnum): + AWS = "AWS" + +@dataclass(kw_only=True) +class CloudTrailConfigurationResult(_SerdeShape): + """ + Contains information on the status of CloudTrail as a data source for + the detector. + """ + + status: str | None = ... + """ + Describes whether CloudTrail is enabled as a data source for the + detector. + """ + +class ClusterStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + DELETING = "DELETING" + FAILED = "FAILED" + UPDATING = "UPDATING" + PENDING = "PENDING" + +@dataclass(kw_only=True) +class Condition(_SerdeShape): + """Contains information about the condition.""" + + eq: list[str] | None = ... + """ + Represents the *equal* condition to be applied to a single field when + querying for findings. + + Max values: 50 + """ + neq: list[str] | None = ... + """ + Represents the *not equal* condition to be applied to a single field + when querying for findings. + + Max values: 50 + """ + gt: int | None = ... + """ + Represents a *greater than* condition to be applied to a single field + when querying for findings. + """ + gte: int | None = ... + """ + Represents a *greater than or equal* condition to be applied to a single + field when querying for findings. + """ + lt: int | None = ... + """ + Represents a *less than* condition to be applied to a single field when + querying for findings. + """ + lte: int | None = ... + """ + Represents a *less than or equal* condition to be applied to a single + field when querying for findings. + """ + equals: list[str] | None = ... + """ + Represents an *equal* condition to be applied to a single field when + querying for findings. + + Max values: 50 + """ + not_equals: list[str] | None = ... + """ + Represents a *not equal* condition to be applied to a single field when + querying for findings. + + Max values: 50 + """ + greater_than: int | None = ... + """ + Represents a *greater than* condition to be applied to a single field + when querying for findings. + """ + greater_than_or_equal: int | None = ... + """ + Represents a *greater than or equal* condition to be applied to a single + field when querying for findings. + """ + less_than: int | None = ... + """ + Represents a *less than* condition to be applied to a single field when + querying for findings. + """ + less_than_or_equal: int | None = ... + """ + Represents a *less than or equal* condition to be applied to a single + field when querying for findings. + """ + matches: list[str] | None = ... + """ + Represents the *match* condition to be applied to a single field when + querying for findings. + + Note: + The *matches* condition is available only for create-filter and + update-filter APIs. + """ + not_matches: list[str] | None = ... + """ + Represents the *not match* condition to be applied to a single field + when querying for findings. + + Note: + The *not-matches* condition is available only for create-filter and + update-filter APIs. + """ + +class Confidence(UnknownEnumMixin, StrEnum): + UNKNOWN = "Unknown" + LOW = "Low" + MEDIUM = "Medium" + HIGH = "High" + +class ConfidenceLevel(UnknownEnumMixin, StrEnum): + HIGH = "HIGH" + MEDIUM = "MEDIUM" + LOW = "LOW" + NONE = "NONE" + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """A request conflict exception object.""" + + type: str | None = ... + """The error type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Container(_SerdeShape): + """Details of a container.""" + + container_runtime: str | None = ... + """ + The container runtime (such as, Docker or containerd) used to run the + container. + """ + id: str | None = ... + """Container ID.""" + name: str | None = ... + """Container name.""" + image: str | None = ... + """Container image.""" + image_prefix: str | None = ... + """ + Part of the image name before the last slash. For example, imagePrefix + for public.ecr.aws/amazonlinux/amazonlinux:latest would be + public.ecr.aws/amazonlinux. If the image name is relative and does not + have a slash, this field is empty. + """ + volume_mounts: list[VolumeMount] | None = ... + """Container volume mounts.""" + security_context: SecurityContext | None = ... + """Container security context.""" + +@dataclass(kw_only=True) +class ContainerFindingResource(_SerdeShape): + """ + Contains information about container resources involved in a GuardDuty + finding. This structure provides details about containers that were + identified as part of suspicious or malicious activity. + """ + + image: str | None = ... + """ + The container image information, including the image name and tag used + to run the container that was involved in the finding. + """ + image_uid: str | None = ... + """The unique ID associated with the container image.""" + +@dataclass(kw_only=True) +class ContainerInstanceDetails(_SerdeShape): + """ + Contains information about the Amazon EC2 instance that is running the + Amazon ECS container. + """ + + covered_container_instances: int | None = ... + """ + Represents the nodes in the Amazon ECS cluster that has a `HEALTHY` + coverage status. + """ + compatible_container_instances: int | None = ... + """Represents total number of nodes in the Amazon ECS cluster.""" + +@dataclass(kw_only=True) +class ContentPolicyFilter(_SerdeShape): + """ + Contains information about a content policy filter that matched during a + guardrail evaluation. + """ + + type: str | None = ... + """The type of content that was filtered by the guardrail.""" + confidence: str | None = ... + """The confidence level that the content matched the filter.""" + action: str | None = ... + """The action taken by the guardrail filter.""" + +class ContentPolicyFilterAction(UnknownEnumMixin, StrEnum): + BLOCKED = "BLOCKED" + NONE = "NONE" + +class ContentPolicyFilterType(UnknownEnumMixin, StrEnum): + PROMPT_ATTACK = "PROMPT_ATTACK" + JAILBREAK = "JAILBREAK" + HATE = "HATE" + INSULTS = "INSULTS" + SEXUAL = "SEXUAL" + VIOLENCE = "VIOLENCE" + MISCONDUCT = "MISCONDUCT" + +@dataclass(kw_only=True) +class ContinuousScanDetails(_SerdeShape): + """ + Contains information about the time range within the continuous backup + in Amazon Web Services Backup to scan for a point-in-time recovery + resource. + """ + + start_time: datetime | None = ... + """ + The timestamp representing the start of the time range to scan. Reserved + for internal use. + """ + end_time: datetime + """The timestamp representing the end of the time range to scan.""" + +@dataclass(kw_only=True) +class Country(_SerdeShape): + """ + Contains information about the country where the remote IP address is + located. + """ + + country_code: str | None = ... + """The country code of the remote IP address.""" + country_name: str | None = ... + """The country name of the remote IP address.""" + +@dataclass(kw_only=True) +class CoverageEc2InstanceDetails(_SerdeShape): + """ + Contains information about the Amazon EC2 instance runtime coverage + details. + """ + + instance_id: str | None = ... + """The Amazon EC2 instance ID.""" + instance_type: str | None = ... + """The instance type of the Amazon EC2 instance.""" + cluster_arn: str | None = ... + """ + The cluster ARN of the Amazon ECS cluster running on the Amazon EC2 + instance. + """ + agent_details: AgentDetails | None = ... + """Information about the installed security agent.""" + management_type: str | None = ... + """ + Indicates how the GuardDuty security agent is managed for this resource. + + - `AUTO_MANAGED` indicates that GuardDuty deploys and manages updates + for this resource. + + - `MANUAL` indicates that you are responsible to deploy, update, and + manage the GuardDuty security agent updates for this resource. + + Note: + The `DISABLED` status doesn't apply to Amazon EC2 instances and Amazon + EKS clusters. + """ + +@dataclass(kw_only=True) +class CoverageEcsClusterDetails(_SerdeShape): + """Contains information about Amazon ECS cluster runtime coverage details.""" + + cluster_name: str | None = ... + """The name of the Amazon ECS cluster.""" + fargate_details: FargateDetails | None = ... + """ + Information about the Fargate details associated with the Amazon ECS + cluster. + """ + container_instance_details: ContainerInstanceDetails | None = ... + """ + Information about the Amazon ECS container running on Amazon EC2 + instance. + """ + +@dataclass(kw_only=True) +class CoverageEksClusterDetails(_SerdeShape): + """Information about the EKS cluster that has a coverage status.""" + + cluster_name: str | None = ... + """Name of the EKS cluster.""" + covered_nodes: int | None = ... + """ + Represents the nodes within the EKS cluster that have a `HEALTHY` + coverage status. + """ + compatible_nodes: int | None = ... + """Represents all the nodes within the EKS cluster in your account.""" + addon_details: AddonDetails | None = ... + """Information about the installed EKS add-on.""" + management_type: str | None = ... + """ + Indicates how the Amazon EKS add-on GuardDuty agent is managed for this + EKS cluster. + + `AUTO_MANAGED` indicates GuardDuty deploys and manages updates for this + resource. + + `MANUAL` indicates that you are responsible to deploy, update, and + manage the Amazon EKS add-on GuardDuty agent for this resource. + """ + +@dataclass(kw_only=True) +class CoverageFilterCondition(_SerdeShape): + """ + Represents a condition that when matched will be added to the response + of the operation. + """ + + equals: list[str] | None = ... + """ + Represents an equal condition that is applied to a single field while + retrieving the coverage details. + """ + not_equals: list[str] | None = ... + """ + Represents a not equal condition that is applied to a single field while + retrieving the coverage details. + """ + +@dataclass(kw_only=True) +class CoverageFilterCriteria(_SerdeShape): + """Represents the criteria used in the filter.""" + + filter_criterion: list[CoverageFilterCriterion] | None = ... + """ + Represents a condition that when matched will be added to the response + of the operation. + """ + +@dataclass(kw_only=True) +class CoverageFilterCriterion(_SerdeShape): + """ + Represents a condition that when matched will be added to the response + of the operation. + """ + + criterion_key: str | None = ... + """ + An enum value representing possible filter fields. + + Note: + Replace the enum value `CLUSTER_NAME` with `EKS_CLUSTER_NAME`. + `CLUSTER_NAME` has been deprecated. + """ + filter_condition: CoverageFilterCondition | None = ... + """Contains information about the condition.""" + +class CoverageFilterCriterionKey(UnknownEnumMixin, StrEnum): + ACCOUNT_ID = "ACCOUNT_ID" + RESOURCE_TYPE = "RESOURCE_TYPE" + COVERAGE_STATUS = "COVERAGE_STATUS" + ADDON_VERSION = "ADDON_VERSION" + CLUSTER_NAME = "CLUSTER_NAME" + ECS_CLUSTER_NAME = "ECS_CLUSTER_NAME" + MANAGEMENT_TYPE = "MANAGEMENT_TYPE" + EKS_CLUSTER_NAME = "EKS_CLUSTER_NAME" + AGENT_VERSION = "AGENT_VERSION" + INSTANCE_ID = "INSTANCE_ID" + CLUSTER_ARN = "CLUSTER_ARN" + +@dataclass(kw_only=True) +class CoverageResource(_SerdeShape): + """Information about the resource of the GuardDuty account.""" + + resource_id: str | None = ... + """The unique ID of the resource.""" + detector_id: str | None = ... + """The unique ID of the GuardDuty detector associated with the resource.""" + account_id: str | None = ... + """The unique ID of the Amazon Web Services account.""" + resource_details: CoverageResourceDetails | None = ... + """ + Information about the resource for which the coverage statistics are + retrieved. + """ + coverage_status: str | None = ... + """Represents the status of the EKS cluster coverage.""" + issue: str | None = ... + """ + Represents the reason why a coverage status was `UNHEALTHY` for the EKS + cluster. + """ + updated_at: datetime | None = ... + """ + The timestamp at which the coverage details for the resource were last + updated. This is in UTC format. + """ + +@dataclass(kw_only=True) +class CoverageResourceDetails(_SerdeShape): + """Information about the resource for each individual EKS cluster.""" + + eks_cluster_details: CoverageEksClusterDetails | None = ... + """EKS cluster details involved in the coverage statistics.""" + ecs_cluster_details: CoverageEcsClusterDetails | None = ... + """ + Information about the Amazon ECS cluster that is assessed for runtime + coverage. + """ + ec2_instance_details: CoverageEc2InstanceDetails | None = ... + """Information about the Amazon EC2 instance assessed for runtime coverage.""" + resource_type: str | None = ... + """The type of Amazon Web Services resource.""" + +@dataclass(kw_only=True) +class CoverageSortCriteria(_SerdeShape): + """Information about the sorting criteria used in the coverage statistics.""" + + attribute_name: str | None = ... + """ + Represents the field name used to sort the coverage details. + + Note: + Replace the enum value `CLUSTER_NAME` with `EKS_CLUSTER_NAME`. + `CLUSTER_NAME` has been deprecated. + """ + order_by: str | None = ... + """The order in which the sorted findings are to be displayed.""" + +class CoverageSortKey(UnknownEnumMixin, StrEnum): + ACCOUNT_ID = "ACCOUNT_ID" + COVERAGE_STATUS = "COVERAGE_STATUS" + ISSUE = "ISSUE" + ADDON_VERSION = "ADDON_VERSION" + UPDATED_AT = "UPDATED_AT" + CLUSTER_NAME = "CLUSTER_NAME" + EKS_CLUSTER_NAME = "EKS_CLUSTER_NAME" + ECS_CLUSTER_NAME = "ECS_CLUSTER_NAME" + INSTANCE_ID = "INSTANCE_ID" + +@dataclass(kw_only=True) +class CoverageStatistics(_SerdeShape): + """Information about the coverage statistics for a resource.""" + + count_by_resource_type: dict[str, int] | None = ... + """ + Represents coverage statistics for EKS clusters aggregated by resource + type. + """ + count_by_coverage_status: dict[str, int] | None = ... + """ + Represents coverage statistics for EKS clusters aggregated by coverage + status. + """ + +class CoverageStatisticsType(UnknownEnumMixin, StrEnum): + COUNT_BY_RESOURCE_TYPE = "COUNT_BY_RESOURCE_TYPE" + COUNT_BY_COVERAGE_STATUS = "COUNT_BY_COVERAGE_STATUS" + +class CoverageStatus(UnknownEnumMixin, StrEnum): + HEALTHY = "HEALTHY" + UNHEALTHY = "UNHEALTHY" + +@dataclass(kw_only=True) +class CreateCustomDetectionRuleAssociationInput(_SerdeShape): + """Dataclass for CreateCustomDetectionRuleAssociationInput structure.""" + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + mode: str | None = ... + """The rule execution mode. Valid values: `LIVE` | `DRY_RUN`.""" + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. Maximum 64 characters. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """ + The tags to be added to the new custom detection rule association + resource. + """ + +@dataclass(kw_only=True) +class CreateCustomDetectionRuleAssociationOutput(_SerdeShape): + """Dataclass for CreateCustomDetectionRuleAssociationOutput structure.""" + + rule_association: AssociationDetail | None = ... + """The details of the newly created custom detection rule association.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCustomDetectionRuleOrgConfigurationInput(_SerdeShape): + """Dataclass for CreateCustomDetectionRuleOrgConfigurationInput structure.""" + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + mode: str | None = ... + """ + The execution mode of the organization configuration. Valid values: + `LIVE` | `DRY_RUN`. + """ + include_account_ids: list[str] | None = ... + """ + The account IDs to include in the organization configuration. Mutually + exclusive with `ExcludeAccountIds`. + """ + exclude_account_ids: list[str] | None = ... + """ + The account IDs to exclude from the organization configuration. Mutually + exclusive with `IncludeAccountIds`. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure that the operation + completes no more than one time. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateCustomDetectionRuleOrgConfigurationOutput(_SerdeShape): + """Dataclass for CreateCustomDetectionRuleOrgConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDetectorInput(_SerdeShape): + """Dataclass for CreateDetectorInput structure.""" + + enable: bool | None = ... + """A Boolean value that specifies whether the detector is to be enabled.""" + client_token: str | None = ... + """ + The idempotency token for the create request. + + This field is autopopulated if not provided. + """ + finding_publishing_frequency: str | None = ... + """A value that specifies how frequently updated findings are exported.""" + data_sources: DataSourceConfigurations | None = ... + """ + Describes which data sources will be enabled for the detector. + + There might be regional differences because some data sources might not + be available in all the Amazon Web Services Regions where GuardDuty is + presently supported. For more information, see [Regions and + endpoints](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). + """ + tags: dict[str, str] | None = ... + """The tags to be added to a new detector resource.""" + features: list[DetectorFeatureConfiguration] | None = ... + """A list of features that will be configured for the detector.""" + +@dataclass(kw_only=True) +class CreateDetectorOutput(_SerdeShape): + """Dataclass for CreateDetectorOutput structure.""" + + detector_id: str | None = ... + """The unique ID of the created detector.""" + unprocessed_data_sources: UnprocessedDataSourcesResult | None = ... + """ + Specifies the data sources that couldn't be enabled when GuardDuty was + enabled for the first time. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFilterInput(_SerdeShape): + """Dataclass for CreateFilterInput structure.""" + + detector_id: str | None = ... + """ + The detector ID associated with the GuardDuty account for which you want + to create a filter. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + name: str | None = ... + """ + The name of the filter. Valid characters include period (.), underscore + (_), dash (-), and alphanumeric characters. A whitespace is considered + to be an invalid character. + """ + description: str | None = ... + """ + The description of the filter. Valid characters include alphanumeric + characters, and special characters such as hyphen, period, colon, + underscore, parentheses (`{ }`, `[ ]`, and `( )`), forward slash, + horizontal tab, vertical tab, newline, form feed, return, and + whitespace. + """ + action: str | None = ... + """ + Specifies the action that is to be applied to the findings that match + the filter. + + Default: NOOP + """ + rank: int | None = ... + """ + Specifies the position of the filter in the list of current filters. + Also specifies the order in which this filter is applied to the + findings. + """ + finding_criteria: FindingCriteria | None = ... + """ + Represents the criteria to be used in the filter for querying findings. + The following fields are available for filtering: + + - accountId + + - arn + + - associatedAttackSequenceArn + + - confidence + + - createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - id + + - partition + + - region + + - resource.accessKeyDetails.accessKeyId + + - resource.accessKeyDetails.principalId + + - resource.accessKeyDetails.userIdentity.accessKeyId + + - resource.accessKeyDetails.userIdentity.accountId + + - resource.accessKeyDetails.userIdentity.arn + + - resource.accessKeyDetails.userIdentity.principalId + + - resource.accessKeyDetails.userIdentity.sessionContext.attributes.mfaAuthenticated + + - resource.accessKeyDetails.userIdentity.sessionContext.ec2RoleDelivery + + - resource.accessKeyDetails.userIdentity.sessionContext.invokedBy + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.accountId + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.arn + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.principalId + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.type + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.userName + + - resource.accessKeyDetails.userIdentity.sessionContext.sourceIdentity + + - resource.accessKeyDetails.userIdentity.sessionContext.webIdFederationData.attributes + + - resource.accessKeyDetails.userIdentity.sessionContext.webIdFederationData.federatedProvider + + - resource.accessKeyDetails.userIdentity.type + + - resource.accessKeyDetails.userIdentity.userName + + - resource.accessKeyDetails.userName + + - resource.accessKeyDetails.userType + + - resource.bedrockGuardrailDetails.guardrailArn + + - resource.bedrockGuardrailDetails.guardrailVersion + + - resource.containerDetails.containerRuntime + + - resource.containerDetails.id + + - resource.containerDetails.image + + - resource.containerDetails.imagePrefix + + - resource.containerDetails.name + + - resource.containerDetails.securityContext.allowPrivilegeEscalation + + - resource.containerDetails.securityContext.privileged + + - resource.containerDetails.volumeMounts.mountPath + + - resource.containerDetails.volumeMounts.name + + - resource.ebsSnapshotDetails.snapshotArn + + - resource.ebsVolumeDetails.scannedVolumeDetails.deviceName + + - resource.ebsVolumeDetails.scannedVolumeDetails.encryptionType + + - resource.ebsVolumeDetails.scannedVolumeDetails.kmsKeyArn + + - resource.ebsVolumeDetails.scannedVolumeDetails.snapshotArn + + - resource.ebsVolumeDetails.scannedVolumeDetails.volumeArn + + - resource.ebsVolumeDetails.scannedVolumeDetails.volumeSizeInGB + + - resource.ebsVolumeDetails.scannedVolumeDetails.volumeType + + - resource.ebsVolumeDetails.skippedVolumeDetails.deviceName + + - resource.ebsVolumeDetails.skippedVolumeDetails.encryptionType + + - resource.ebsVolumeDetails.skippedVolumeDetails.kmsKeyArn + + - resource.ebsVolumeDetails.skippedVolumeDetails.snapshotArn + + - resource.ebsVolumeDetails.skippedVolumeDetails.volumeArn + + - resource.ebsVolumeDetails.skippedVolumeDetails.volumeSizeInGB + + - resource.ebsVolumeDetails.skippedVolumeDetails.volumeType + + - resource.ec2ImageDetails.imageArn + + - resource.ecsClusterDetails.activeServicesCount + + - resource.ecsClusterDetails.arn + + - resource.ecsClusterDetails.name + + - resource.ecsClusterDetails.registeredContainerInstancesCount + + - resource.ecsClusterDetails.runningTasksCount + + - resource.ecsClusterDetails.status + + - resource.ecsClusterDetails.tags.key + + - resource.ecsClusterDetails.tags.value + + - resource.ecsClusterDetails.taskDetails.arn + + - resource.ecsClusterDetails.taskDetails.containers.containerRuntime + + - resource.ecsClusterDetails.taskDetails.containers.id + + - resource.ecsClusterDetails.taskDetails.containers.image + + - resource.ecsClusterDetails.taskDetails.containers.imagePrefix + + - resource.ecsClusterDetails.taskDetails.containers.name + + - resource.ecsClusterDetails.taskDetails.containers.securityContext.allowPrivilegeEscalation + + - resource.ecsClusterDetails.taskDetails.containers.securityContext.privileged + + - resource.ecsClusterDetails.taskDetails.containers.volumeMounts.mountPath + + - resource.ecsClusterDetails.taskDetails.containers.volumeMounts.name + + - resource.ecsClusterDetails.taskDetails.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.ecsClusterDetails.taskDetails.definitionArn + + - resource.ecsClusterDetails.taskDetails.group + + - resource.ecsClusterDetails.taskDetails.launchType + + - resource.ecsClusterDetails.taskDetails.startedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.ecsClusterDetails.taskDetails.startedBy + + - resource.ecsClusterDetails.taskDetails.tags.key + + - resource.ecsClusterDetails.taskDetails.tags.value + + - resource.ecsClusterDetails.taskDetails.version + + - resource.ecsClusterDetails.taskDetails.volumes.hostPath.path + + - resource.ecsClusterDetails.taskDetails.volumes.name + + - resource.eksClusterDetails.arn + + - resource.eksClusterDetails.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.eksClusterDetails.name + + - resource.eksClusterDetails.status + + - resource.eksClusterDetails.tags.key + + - resource.eksClusterDetails.tags.value + + - resource.eksClusterDetails.vpcId + + - resource.instanceDetails.availabilityZone + + - resource.instanceDetails.iamInstanceProfile.arn + + - resource.instanceDetails.iamInstanceProfile.id + + - resource.instanceDetails.imageDescription + + - resource.instanceDetails.imageId + + - resource.instanceDetails.instanceId + + - resource.instanceDetails.instanceState + + - resource.instanceDetails.instanceType + + - resource.instanceDetails.launchTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.instanceDetails.networkInterfaces.ipv6Addresses + + - resource.instanceDetails.networkInterfaces.networkInterfaceId + + - resource.instanceDetails.networkInterfaces.privateDnsName + + - resource.instanceDetails.networkInterfaces.privateIpAddress + + - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateDnsName + + - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress + + - resource.instanceDetails.networkInterfaces.publicDnsName + + - resource.instanceDetails.networkInterfaces.publicIp + + - resource.instanceDetails.networkInterfaces.securityGroups.groupId + + - resource.instanceDetails.networkInterfaces.securityGroups.groupName + + - resource.instanceDetails.networkInterfaces.subnetId + + - resource.instanceDetails.networkInterfaces.vpcId + + - resource.instanceDetails.outpostArn + + - resource.instanceDetails.platform + + - resource.instanceDetails.productCodes.productCodeId + + - resource.instanceDetails.productCodes.productCodeType + + - resource.instanceDetails.tags.key + + - resource.instanceDetails.tags.value + + - resource.kubernetesDetails.kubernetesUserDetails.groups + + - resource.kubernetesDetails.kubernetesUserDetails.impersonatedUser.groups + + - resource.kubernetesDetails.kubernetesUserDetails.impersonatedUser.username + + - resource.kubernetesDetails.kubernetesUserDetails.sessionName + + - resource.kubernetesDetails.kubernetesUserDetails.uid + + - resource.kubernetesDetails.kubernetesUserDetails.username + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.containerRuntime + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.id + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.image + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.imagePrefix + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.name + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.securityContext.allowPrivilegeEscalation + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.securityContext.privileged + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.volumeMounts.mountPath + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.volumeMounts.name + + - resource.kubernetesDetails.kubernetesWorkloadDetails.hostIpc + + - resource.kubernetesDetails.kubernetesWorkloadDetails.hostNetwork + + - resource.kubernetesDetails.kubernetesWorkloadDetails.hostPid + + - resource.kubernetesDetails.kubernetesWorkloadDetails.name + + - resource.kubernetesDetails.kubernetesWorkloadDetails.namespace + + - resource.kubernetesDetails.kubernetesWorkloadDetails.serviceAccountName + + - resource.kubernetesDetails.kubernetesWorkloadDetails.type + + - resource.kubernetesDetails.kubernetesWorkloadDetails.uid + + - resource.kubernetesDetails.kubernetesWorkloadDetails.volumes.hostPath.path + + - resource.kubernetesDetails.kubernetesWorkloadDetails.volumes.name + + - resource.lambdaDetails.description + + - resource.lambdaDetails.functionArn + + - resource.lambdaDetails.functionName + + - resource.lambdaDetails.functionVersion + + - resource.lambdaDetails.lastModifiedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.lambdaDetails.revisionId + + - resource.lambdaDetails.role + + - resource.lambdaDetails.tags.key + + - resource.lambdaDetails.tags.value + + - resource.lambdaDetails.vpcConfig.securityGroups.groupId + + - resource.lambdaDetails.vpcConfig.securityGroups.groupName + + - resource.lambdaDetails.vpcConfig.subnetIds + + - resource.lambdaDetails.vpcConfig.vpcId + + - resource.rdsDbInstanceDetails.dbClusterIdentifier + + - resource.rdsDbInstanceDetails.dbInstanceArn + + - resource.rdsDbInstanceDetails.dbInstanceIdentifier + + - resource.rdsDbInstanceDetails.dbSecurityGroups.name + + - resource.rdsDbInstanceDetails.dbSecurityGroups.status + + - resource.rdsDbInstanceDetails.dbiResourceId + + - resource.rdsDbInstanceDetails.engine + + - resource.rdsDbInstanceDetails.engineVersion + + - resource.rdsDbInstanceDetails.iamDatabaseAuthenticationEnabled + + - resource.rdsDbInstanceDetails.publiclyAccessible + + - resource.rdsDbInstanceDetails.vpcId + + - resource.rdsDbInstanceDetails.vpcSecurityGroups.status + + - resource.rdsDbInstanceDetails.vpcSecurityGroups.vpcSecurityGroupId + + - resource.rdsDbUserDetails.application + + - resource.rdsDbUserDetails.authMethod + + - resource.rdsDbUserDetails.database + + - resource.rdsDbUserDetails.ssl + + - resource.rdsDbUserDetails.user + + - resource.rdsLimitlessDbDetails.dbClusterIdentifier + + - resource.rdsLimitlessDbDetails.dbShardGroupArn + + - resource.rdsLimitlessDbDetails.dbShardGroupIdentifier + + - resource.rdsLimitlessDbDetails.dbShardGroupResourceId + + - resource.rdsLimitlessDbDetails.engine + + - resource.rdsLimitlessDbDetails.engineVersion + + - resource.rdsLimitlessDbDetails.tags.key + + - resource.rdsLimitlessDbDetails.tags.value + + - resource.recoveryPointDetails.backupVaultName + + - resource.recoveryPointDetails.recoveryPointArn + + - resource.resourceType + + - resource.s3BucketDetails.arn + + - resource.s3BucketDetails.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.s3BucketDetails.defaultServerSideEncryption.encryptionType + + - resource.s3BucketDetails.defaultServerSideEncryption.kmsMasterKeyArn + + - resource.s3BucketDetails.name + + - resource.s3BucketDetails.owner.id + + - resource.s3BucketDetails.publicAccess.effectivePermission + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.blockPublicAcls + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.blockPublicPolicy + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.ignorePublicAcls + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.restrictPublicBuckets + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.accessControlList.allowsPublicReadAccess + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.accessControlList.allowsPublicWriteAccess + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.blockPublicAcls + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.blockPublicPolicy + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.ignorePublicAcls + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.restrictPublicBuckets + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.bucketPolicy.allowsPublicReadAccess + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.bucketPolicy.allowsPublicWriteAccess + + - resource.s3BucketDetails.s3ObjectDetails.eTag + + - resource.s3BucketDetails.s3ObjectDetails.hash + + - resource.s3BucketDetails.s3ObjectDetails.key + + - resource.s3BucketDetails.s3ObjectDetails.objectArn + + - resource.s3BucketDetails.s3ObjectDetails.versionId + + - resource.s3BucketDetails.tags.key + + - resource.s3BucketDetails.tags.value + + - resource.s3BucketDetails.type + + - schemaVersion + + - service.action.actionType + + - service.action.awsApiCallAction.api + + - service.action.awsApiCallAction.callerType + + - service.action.awsApiCallAction.domainDetails.domain + + - service.action.awsApiCallAction.errorCode + + - service.action.awsApiCallAction.remoteAccountDetails.accountId + + - service.action.awsApiCallAction.remoteAccountDetails.affiliated + + - service.action.awsApiCallAction.remoteAccountDetails.awsServiceName + + - service.action.awsApiCallAction.remoteIpDetails.city.cityName + + - service.action.awsApiCallAction.remoteIpDetails.country.countryCode + + - service.action.awsApiCallAction.remoteIpDetails.country.countryName + + - service.action.awsApiCallAction.remoteIpDetails.geoLocation.lat + + - service.action.awsApiCallAction.remoteIpDetails.geoLocation.lon + + - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 + + - service.action.awsApiCallAction.remoteIpDetails.ipAddressV6 + + - service.action.awsApiCallAction.remoteIpDetails.organization.asn + + - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg + + - service.action.awsApiCallAction.remoteIpDetails.organization.isp + + - service.action.awsApiCallAction.remoteIpDetails.organization.org + + - service.action.awsApiCallAction.serviceName + + - service.action.awsApiCallAction.userAgent + + - service.action.dnsRequestAction.blocked + + - service.action.dnsRequestAction.domain + + - service.action.dnsRequestAction.domainWithSuffix + + - service.action.dnsRequestAction.protocol + + - service.action.dnsRequestAction.vpcOwnerAccountId + + - service.action.kubernetesApiCallAction.namespace + + - service.action.kubernetesApiCallAction.parameters + + - service.action.kubernetesApiCallAction.remoteIpDetails.city.cityName + + - service.action.kubernetesApiCallAction.remoteIpDetails.country.countryCode + + - service.action.kubernetesApiCallAction.remoteIpDetails.country.countryName + + - service.action.kubernetesApiCallAction.remoteIpDetails.geoLocation.lat + + - service.action.kubernetesApiCallAction.remoteIpDetails.geoLocation.lon + + - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4 + + - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6 + + - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn + + - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asnOrg + + - service.action.kubernetesApiCallAction.remoteIpDetails.organization.isp + + - service.action.kubernetesApiCallAction.remoteIpDetails.organization.org + + - service.action.kubernetesApiCallAction.requestUri + + - service.action.kubernetesApiCallAction.resource + + - service.action.kubernetesApiCallAction.resourceName + + - service.action.kubernetesApiCallAction.sourceIPs + + - service.action.kubernetesApiCallAction.statusCode + + - service.action.kubernetesApiCallAction.subresource + + - service.action.kubernetesApiCallAction.userAgent + + - service.action.kubernetesApiCallAction.verb + + - service.action.kubernetesPermissionCheckedDetails.allowed + + - service.action.kubernetesPermissionCheckedDetails.namespace + + - service.action.kubernetesPermissionCheckedDetails.resource + + - service.action.kubernetesPermissionCheckedDetails.verb + + - service.action.kubernetesRoleBindingDetails.kind + + - service.action.kubernetesRoleBindingDetails.name + + - service.action.kubernetesRoleBindingDetails.roleRefKind + + - service.action.kubernetesRoleBindingDetails.roleRefName + + - service.action.kubernetesRoleBindingDetails.uid + + - service.action.kubernetesRoleDetails.kind + + - service.action.kubernetesRoleDetails.name + + - service.action.kubernetesRoleDetails.uid + + - service.action.networkConnectionAction.blocked + + - service.action.networkConnectionAction.connectionDirection + + - service.action.networkConnectionAction.localIpDetails.ipAddressV4 + + - service.action.networkConnectionAction.localIpDetails.ipAddressV6 + + - service.action.networkConnectionAction.localNetworkInterface + + - service.action.networkConnectionAction.localPortDetails.port + + - service.action.networkConnectionAction.localPortDetails.portName + + - service.action.networkConnectionAction.protocol + + - service.action.networkConnectionAction.remoteIpDetails.city.cityName + + - service.action.networkConnectionAction.remoteIpDetails.country.countryCode + + - service.action.networkConnectionAction.remoteIpDetails.country.countryName + + - service.action.networkConnectionAction.remoteIpDetails.geoLocation.lat + + - service.action.networkConnectionAction.remoteIpDetails.geoLocation.lon + + - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 + + - service.action.networkConnectionAction.remoteIpDetails.ipAddressV6 + + - service.action.networkConnectionAction.remoteIpDetails.organization.asn + + - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg + + - service.action.networkConnectionAction.remoteIpDetails.organization.isp + + - service.action.networkConnectionAction.remoteIpDetails.organization.org + + - service.action.networkConnectionAction.remotePortDetails.port + + - service.action.networkConnectionAction.remotePortDetails.portName + + - service.action.portProbeAction.blocked + + - service.action.portProbeAction.portProbeDetails.localIpDetails.ipAddressV4 + + - service.action.portProbeAction.portProbeDetails.localIpDetails.ipAddressV6 + + - service.action.portProbeAction.portProbeDetails.localPortDetails.port + + - service.action.portProbeAction.portProbeDetails.localPortDetails.portName + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.city.cityName + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.country.countryCode + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.country.countryName + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.geoLocation.lat + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.geoLocation.lon + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.ipAddressV4 + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.ipAddressV6 + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.asn + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.asnOrg + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.isp + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.org + + - service.action.rdsLoginAttemptAction.loginAttributes.application + + - service.action.rdsLoginAttemptAction.loginAttributes.failedLoginAttempts + + - service.action.rdsLoginAttemptAction.loginAttributes.successfulLoginAttempts + + - service.action.rdsLoginAttemptAction.loginAttributes.user + + - service.action.rdsLoginAttemptAction.remoteIpDetails.city.cityName + + - service.action.rdsLoginAttemptAction.remoteIpDetails.country.countryCode + + - service.action.rdsLoginAttemptAction.remoteIpDetails.country.countryName + + - service.action.rdsLoginAttemptAction.remoteIpDetails.geoLocation.lat + + - service.action.rdsLoginAttemptAction.remoteIpDetails.geoLocation.lon + + - service.action.rdsLoginAttemptAction.remoteIpDetails.ipAddressV4 + + - service.action.rdsLoginAttemptAction.remoteIpDetails.ipAddressV6 + + - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.asn + + - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.asnOrg + + - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.isp + + - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.org + + - service.additionalInfo.agentDetails.agentId + + - service.additionalInfo.agentDetails.agentVersion + + - service.additionalInfo.anomalies.anomalousAPIs + + - service.additionalInfo.authenticationMethod + + - service.additionalInfo.averagePacketSizeIn + + - service.additionalInfo.averagePacketSizeOut + + - service.additionalInfo.context + + - service.additionalInfo.domain + + - service.additionalInfo.inBytes + + - service.additionalInfo.localNetworkInterfaceOwner + + - service.additionalInfo.localPort + + - service.additionalInfo.outBytes + + - service.additionalInfo.packetsIn + + - service.additionalInfo.packetsOut + + - service.additionalInfo.policyArn + + - service.additionalInfo.policyName + + - service.additionalInfo.remotePort + + - service.additionalInfo.sample + + - service.additionalInfo.scannedPort + + - service.additionalInfo.threatFileSha256 + + - service.additionalInfo.threatListName + + - service.additionalInfo.threatName + + - service.additionalInfo.totalBytesIn + + - service.additionalInfo.totalBytesOut + + - service.additionalInfo.type + + - service.additionalInfo.unusual.asnOrg + + - service.additionalInfo.unusual.port + + - service.additionalInfo.unusualProtocol + + - service.additionalInfo.userAgent.fullUserAgent + + - service.additionalInfo.userAgent.userAgentCategory + + - service.additionalInfo.value + + - service.additionalInfo.vpcOwnerAccountId + + - service.archived + + - service.count + + - service.detection.sequence.actors.id + + - service.detection.sequence.actors.process.name + + - service.detection.sequence.actors.process.path + + - service.detection.sequence.actors.process.sha256 + + - service.detection.sequence.actors.session.createdTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.actors.session.issuer + + - service.detection.sequence.actors.session.mfaStatus + + - service.detection.sequence.actors.session.uid + + - service.detection.sequence.actors.user.account.account + + - service.detection.sequence.actors.user.account.uid + + - service.detection.sequence.actors.user.credentialUid + + - service.detection.sequence.actors.user.name + + - service.detection.sequence.actors.user.type + + - service.detection.sequence.actors.user.uid + + - service.detection.sequence.additionalSequenceTypes + + - service.detection.sequence.description + + - service.detection.sequence.endpoints.autonomousSystem.name + + - service.detection.sequence.endpoints.autonomousSystem.number + + - service.detection.sequence.endpoints.connection.direction + + - service.detection.sequence.endpoints.domain + + - service.detection.sequence.endpoints.id + + - service.detection.sequence.endpoints.ip + + - service.detection.sequence.endpoints.location.city + + - service.detection.sequence.endpoints.location.country + + - service.detection.sequence.endpoints.location.lat + + - service.detection.sequence.endpoints.location.lon + + - service.detection.sequence.endpoints.port + + - service.detection.sequence.resources.accountId + + - service.detection.sequence.resources.cloudPartition + + - service.detection.sequence.resources.data.accessKey.principalId + + - service.detection.sequence.resources.data.accessKey.userName + + - service.detection.sequence.resources.data.accessKey.userType + + - service.detection.sequence.resources.data.autoscalingAutoScalingGroup.ec2InstanceUids + + - service.detection.sequence.resources.data.cloudformationStack.ec2InstanceUids + + - service.detection.sequence.resources.data.container.image + + - service.detection.sequence.resources.data.container.imageUid + + - service.detection.sequence.resources.data.ec2Image.ec2InstanceUids + + - service.detection.sequence.resources.data.ec2Instance.availabilityZone + + - service.detection.sequence.resources.data.ec2Instance.ec2NetworkInterfaceUids + + - service.detection.sequence.resources.data.ec2Instance.iamInstanceProfile.arn + + - service.detection.sequence.resources.data.ec2Instance.iamInstanceProfile.id + + - service.detection.sequence.resources.data.ec2Instance.imageDescription + + - service.detection.sequence.resources.data.ec2Instance.instanceState + + - service.detection.sequence.resources.data.ec2Instance.instanceType + + - service.detection.sequence.resources.data.ec2Instance.outpostArn + + - service.detection.sequence.resources.data.ec2Instance.platform + + - service.detection.sequence.resources.data.ec2Instance.productCodes.productCodeId + + - service.detection.sequence.resources.data.ec2Instance.productCodes.productCodeType + + - service.detection.sequence.resources.data.ec2LaunchTemplate.ec2InstanceUids + + - service.detection.sequence.resources.data.ec2LaunchTemplate.version + + - service.detection.sequence.resources.data.ec2NetworkInterface.ipv6Addresses + + - service.detection.sequence.resources.data.ec2NetworkInterface.privateIpAddresses.privateDnsName + + - service.detection.sequence.resources.data.ec2NetworkInterface.privateIpAddresses.privateIpAddress + + - service.detection.sequence.resources.data.ec2NetworkInterface.publicIp + + - service.detection.sequence.resources.data.ec2NetworkInterface.securityGroups.groupId + + - service.detection.sequence.resources.data.ec2NetworkInterface.securityGroups.groupName + + - service.detection.sequence.resources.data.ec2NetworkInterface.subNetId + + - service.detection.sequence.resources.data.ec2NetworkInterface.vpcId + + - service.detection.sequence.resources.data.ec2Vpc.ec2InstanceUids + + - service.detection.sequence.resources.data.ecsCluster.ec2InstanceUids + + - service.detection.sequence.resources.data.ecsCluster.status + + - service.detection.sequence.resources.data.ecsTask.containerUids + + - service.detection.sequence.resources.data.ecsTask.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.resources.data.ecsTask.launchType + + - service.detection.sequence.resources.data.ecsTask.taskDefinitionArn + + - service.detection.sequence.resources.data.eksCluster.arn + + - service.detection.sequence.resources.data.eksCluster.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.resources.data.eksCluster.ec2InstanceUids + + - service.detection.sequence.resources.data.eksCluster.status + + - service.detection.sequence.resources.data.eksCluster.vpcId + + - service.detection.sequence.resources.data.iamInstanceProfile.ec2InstanceUids + + - service.detection.sequence.resources.data.iamInstanceProfile.id + + - service.detection.sequence.resources.data.kubernetesWorkload.containerUids + + - service.detection.sequence.resources.data.kubernetesWorkload.namespace + + - service.detection.sequence.resources.data.kubernetesWorkload.type + + - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicAclAccess + + - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicAclIgnoreBehavior + + - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicBucketRestrictBehavior + + - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicPolicyAccess + + - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicAclAccess + + - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicAclIgnoreBehavior + + - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicBucketRestrictBehavior + + - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicPolicyAccess + + - service.detection.sequence.resources.data.s3Bucket.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.resources.data.s3Bucket.effectivePermission + + - service.detection.sequence.resources.data.s3Bucket.encryptionKeyArn + + - service.detection.sequence.resources.data.s3Bucket.encryptionType + + - service.detection.sequence.resources.data.s3Bucket.ownerId + + - service.detection.sequence.resources.data.s3Bucket.publicReadAccess + + - service.detection.sequence.resources.data.s3Bucket.publicWriteAccess + + - service.detection.sequence.resources.data.s3Bucket.s3ObjectUids + + - service.detection.sequence.resources.data.s3Object.eTag + + - service.detection.sequence.resources.data.s3Object.key + + - service.detection.sequence.resources.data.s3Object.versionId + + - service.detection.sequence.resources.name + + - service.detection.sequence.resources.region + + - service.detection.sequence.resources.resourceType + + - service.detection.sequence.resources.service + + - service.detection.sequence.resources.tags.key + + - service.detection.sequence.resources.tags.value + + - service.detection.sequence.resources.uid + + - service.detection.sequence.sequenceIndicators.key + + - service.detection.sequence.sequenceIndicators.title + + - service.detection.sequence.sequenceIndicators.values + + - service.detection.sequence.signals.actorIds + + - service.detection.sequence.signals.count + + - service.detection.sequence.signals.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.signals.description + + - service.detection.sequence.signals.endpointIds + + - service.detection.sequence.signals.firstSeenAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.signals.lastSeenAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.signals.name + + - service.detection.sequence.signals.resourceUids + + - service.detection.sequence.signals.severity + + - service.detection.sequence.signals.signalIndicators.key + + - service.detection.sequence.signals.signalIndicators.title + + - service.detection.sequence.signals.signalIndicators.values + + - service.detection.sequence.signals.type + + - service.detection.sequence.signals.uid + + - service.detection.sequence.signals.updatedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.uid + + - service.detectorId + + - service.ebsVolumeScanDetails.scanCompletedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.count + + - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.severity + + - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.threatName + + - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.files + + - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.totalGb + + - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.volumes + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.itemCount + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.shortened + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.fileName + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.filePath + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.volumeArn + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.itemCount + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.uniqueThreatNameCount + + - service.ebsVolumeScanDetails.scanDetections.threatsDetectedItemCount.files + + - service.ebsVolumeScanDetails.scanId + + - service.ebsVolumeScanDetails.scanStartedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.ebsVolumeScanDetails.scanType + + - service.ebsVolumeScanDetails.sources + + - service.ebsVolumeScanDetails.triggerFindingId + + - service.eventFirstSeen + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.eventLastSeen + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.evidence.threatIntelligenceDetails.threatFileSha256 + + - service.evidence.threatIntelligenceDetails.threatListName + + - service.evidence.threatIntelligenceDetails.threatNames + + - service.featureName + + - service.malwareScanDetails.scanCategory + + - service.malwareScanDetails.scanConfiguration.incrementalScanDetails.baselineResourceArn + + - service.malwareScanDetails.scanConfiguration.triggerType + + - service.malwareScanDetails.scanId + + - service.malwareScanDetails.scanType + + - service.malwareScanDetails.threats.count + + - service.malwareScanDetails.threats.hash + + - service.malwareScanDetails.threats.itemDetails.additionalInfo.deviceName + + - service.malwareScanDetails.threats.itemDetails.additionalInfo.versionId + + - service.malwareScanDetails.threats.itemDetails.hash + + - service.malwareScanDetails.threats.itemDetails.itemPath + + - service.malwareScanDetails.threats.itemDetails.resourceArn + + - service.malwareScanDetails.threats.itemPaths.hash + + - service.malwareScanDetails.threats.itemPaths.nestedItemPath + + - service.malwareScanDetails.threats.name + + - service.malwareScanDetails.threats.source + + - service.malwareScanDetails.uniqueThreatCount + + - service.resourceRole + + - service.runtimeDetails.context.addressFamily + + - service.runtimeDetails.context.commandLineExample + + - service.runtimeDetails.context.fileOperation + + - service.runtimeDetails.context.filePath + + - service.runtimeDetails.context.fileSystemType + + - service.runtimeDetails.context.flags + + - service.runtimeDetails.context.ianaProtocolNumber + + - service.runtimeDetails.context.ldPreloadValue + + - service.runtimeDetails.context.libraryPath + + - service.runtimeDetails.context.memoryRegions + + - service.runtimeDetails.context.modifiedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.modifyingProcess.euid + + - service.runtimeDetails.context.modifyingProcess.executablePath + + - service.runtimeDetails.context.modifyingProcess.executableSha256 + + - service.runtimeDetails.context.modifyingProcess.lineage.euid + + - service.runtimeDetails.context.modifyingProcess.lineage.executablePath + + - service.runtimeDetails.context.modifyingProcess.lineage.name + + - service.runtimeDetails.context.modifyingProcess.lineage.namespacePid + + - service.runtimeDetails.context.modifyingProcess.lineage.parentUuid + + - service.runtimeDetails.context.modifyingProcess.lineage.pid + + - service.runtimeDetails.context.modifyingProcess.lineage.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.modifyingProcess.lineage.userId + + - service.runtimeDetails.context.modifyingProcess.lineage.uuid + + - service.runtimeDetails.context.modifyingProcess.name + + - service.runtimeDetails.context.modifyingProcess.namespacePid + + - service.runtimeDetails.context.modifyingProcess.parentUuid + + - service.runtimeDetails.context.modifyingProcess.pid + + - service.runtimeDetails.context.modifyingProcess.pwd + + - service.runtimeDetails.context.modifyingProcess.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.modifyingProcess.user + + - service.runtimeDetails.context.modifyingProcess.userId + + - service.runtimeDetails.context.modifyingProcess.uuid + + - service.runtimeDetails.context.moduleFilePath + + - service.runtimeDetails.context.moduleName + + - service.runtimeDetails.context.moduleSha256 + + - service.runtimeDetails.context.mountSource + + - service.runtimeDetails.context.mountTarget + + - service.runtimeDetails.context.relatedFilePaths + + - service.runtimeDetails.context.releaseAgentPath + + - service.runtimeDetails.context.runcBinaryPath + + - service.runtimeDetails.context.scriptPath + + - service.runtimeDetails.context.serviceName + + - service.runtimeDetails.context.shellHistoryFilePath + + - service.runtimeDetails.context.socketPath + + - service.runtimeDetails.context.targetProcess.euid + + - service.runtimeDetails.context.targetProcess.executablePath + + - service.runtimeDetails.context.targetProcess.executableSha256 + + - service.runtimeDetails.context.targetProcess.lineage.euid + + - service.runtimeDetails.context.targetProcess.lineage.executablePath + + - service.runtimeDetails.context.targetProcess.lineage.name + + - service.runtimeDetails.context.targetProcess.lineage.namespacePid + + - service.runtimeDetails.context.targetProcess.lineage.parentUuid + + - service.runtimeDetails.context.targetProcess.lineage.pid + + - service.runtimeDetails.context.targetProcess.lineage.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.targetProcess.lineage.userId + + - service.runtimeDetails.context.targetProcess.lineage.uuid + + - service.runtimeDetails.context.targetProcess.name + + - service.runtimeDetails.context.targetProcess.namespacePid + + - service.runtimeDetails.context.targetProcess.parentUuid + + - service.runtimeDetails.context.targetProcess.pid + + - service.runtimeDetails.context.targetProcess.pwd + + - service.runtimeDetails.context.targetProcess.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.targetProcess.user + + - service.runtimeDetails.context.targetProcess.userId + + - service.runtimeDetails.context.targetProcess.uuid + + - service.runtimeDetails.context.threatFilePath + + - service.runtimeDetails.context.toolCategory + + - service.runtimeDetails.context.toolName + + - service.runtimeDetails.process.euid + + - service.runtimeDetails.process.executablePath + + - service.runtimeDetails.process.executableSha256 + + - service.runtimeDetails.process.lineage.euid + + - service.runtimeDetails.process.lineage.executablePath + + - service.runtimeDetails.process.lineage.name + + - service.runtimeDetails.process.lineage.namespacePid + + - service.runtimeDetails.process.lineage.parentUuid + + - service.runtimeDetails.process.lineage.pid + + - service.runtimeDetails.process.lineage.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.process.lineage.userId + + - service.runtimeDetails.process.lineage.uuid + + - service.runtimeDetails.process.name + + - service.runtimeDetails.process.namespacePid + + - service.runtimeDetails.process.parentUuid + + - service.runtimeDetails.process.pid + + - service.runtimeDetails.process.pwd + + - service.runtimeDetails.process.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.process.user + + - service.runtimeDetails.process.userId + + - service.runtimeDetails.process.uuid + + - service.serviceName + + - service.userFeedback + + - severity + + To configure severity based filters, use the following for the + [FindingCriteria](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_FindingCriteria.html) + condition: + + - **Low**: `["1", "2", "3"]` + + - **Medium**: `["4", "5", "6"]` + + - **High**: `["7", "8"]` + + - **Critical**: `["9", "10"]` + + For more information, see [Findings severity + levels](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings-severity.html) + in the *Amazon GuardDuty User Guide*. + + - type + + - updatedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + """ + client_token: str | None = ... + """ + The idempotency token for the create request. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """The tags to be added to a new filter resource.""" + +@dataclass(kw_only=True) +class CreateFilterOutput(_SerdeShape): + """Dataclass for CreateFilterOutput structure.""" + + name: str | None = ... + """The name of the successfully created filter.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInvestigationInput(_SerdeShape): + """Dataclass for CreateInvestigationInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the GuardDuty detector for the account in which the + investigation is created. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + trigger_prompt: str | None = ... + """ + A natural-language description of what to investigate. For example: + + - `"Investigate finding 1ab2c3d4e5f6a7b8c9d0e1f2a3b4c5d6 in account 123456789012"` + + - `"Analyze findings in account with id 123456789012"` + + - `"Analyze findings in my organization"` + """ + client_token: str | None = ... + """ + The idempotency token for the create request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateInvestigationOutput(_SerdeShape): + """Dataclass for CreateInvestigationOutput structure.""" + + investigation_id: str | None = ... + """The unique identifier of the newly created investigation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIPSetInput(_SerdeShape): + """Dataclass for CreateIPSetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty account for which you + want to create an IPSet. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + name: str | None = ... + """ + The user-friendly name to identify the IPSet. + + Allowed characters are alphanumeric, whitespace, dash (-), and + underscores (_). + """ + format: str | None = ... + """The format of the file that contains the IPSet.""" + location: str | None = ... + """The URI of the file that contains the IPSet.""" + activate: bool | None = ... + """ + A Boolean value that indicates whether GuardDuty is to start using the + uploaded IPSet. + """ + client_token: str | None = ... + """ + The idempotency token for the create request. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """The tags to be added to a new IP set resource.""" + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + +@dataclass(kw_only=True) +class CreateIPSetOutput(_SerdeShape): + """Dataclass for CreateIPSetOutput structure.""" + + ip_set_id: str | None = ... + """The ID of the IPSet resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateMalwareProtectionPlanInput(_SerdeShape): + """Dataclass for CreateMalwareProtectionPlanInput structure.""" + + client_token: str | None = ... + """ + The idempotency token for the create request. + + This field is autopopulated if not provided. + """ + role: str | None = ... + """ + Amazon Resource Name (ARN) of the IAM role that has the permissions to + scan and add tags to the associated protected resource. + """ + protected_resource: CreateProtectedResource | None = ... + """ + Information about the protected resource that is associated with the + created Malware Protection plan. Presently, `S3Bucket` is the only + supported protected resource. + """ + actions: MalwareProtectionPlanActions | None = ... + """ + Information about whether the tags will be added to the S3 object after + scanning. + """ + tags: dict[str, str] | None = ... + """Tags added to the Malware Protection plan resource.""" + +@dataclass(kw_only=True) +class CreateMalwareProtectionPlanOutput(_SerdeShape): + """Dataclass for CreateMalwareProtectionPlanOutput structure.""" + + malware_protection_plan_id: str | None = ... + """ + A unique identifier associated with the Malware Protection plan + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateMembersInput(_SerdeShape): + """Dataclass for CreateMembersInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty account for which you + want to associate member accounts. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + account_details: list[AccountDetail] | None = ... + """ + A list of account ID and email address pairs of the accounts that you + want to associate with the GuardDuty administrator account. + """ + +@dataclass(kw_only=True) +class CreateMembersOutput(_SerdeShape): + """Dataclass for CreateMembersOutput structure.""" + + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of objects that include the `accountIds` of the unprocessed + accounts and a result string that explains why each was unprocessed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateProtectedResource(_SerdeShape): + """ + Information about the protected resource that is associated with the + created Malware Protection plan. Presently, `S3Bucket` is the only + supported protected resource. + """ + + s3_bucket: CreateS3BucketResource | None = ... + """Information about the protected S3 bucket resource.""" + +@dataclass(kw_only=True) +class CreatePublishingDestinationInput(_SerdeShape): + """Dataclass for CreatePublishingDestinationInput structure.""" + + detector_id: str | None = ... + """ + The ID of the GuardDuty detector associated with the publishing + destination. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + destination_type: str | None = ... + """ + The type of resource for the publishing destination. Currently only + Amazon S3 buckets are supported. + """ + destination_properties: DestinationProperties | None = ... + """ + The properties of the publishing destination, including the ARNs for the + destination and the KMS key used for encryption. + """ + client_token: str | None = ... + """ + The idempotency token for the request. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """The tags to be added to a new publishing destination resource.""" + +@dataclass(kw_only=True) +class CreatePublishingDestinationOutput(_SerdeShape): + """Dataclass for CreatePublishingDestinationOutput structure.""" + + destination_id: str | None = ... + """The ID of the publishing destination that is created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateS3BucketResource(_SerdeShape): + """Information about the protected S3 bucket resource.""" + + bucket_name: str | None = ... + """Name of the S3 bucket.""" + object_prefixes: list[str] | None = ... + """ + Information about the specified object prefixes. The S3 object will be + scanned only if it belongs to any of the specified object prefixes. + """ + +@dataclass(kw_only=True) +class CreateSampleFindingsInput(_SerdeShape): + """Dataclass for CreateSampleFindingsInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector for which you need to create sample findings. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + finding_types: list[str] | None = ... + """The types of sample findings to generate.""" + +@dataclass(kw_only=True) +class CreateSampleFindingsOutput(_SerdeShape): + """Dataclass for CreateSampleFindingsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateThreatEntitySetInput(_SerdeShape): + """Dataclass for CreateThreatEntitySetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty account for which you + want to create a threat entity set. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + name: str | None = ... + """ + A user-friendly name to identify the threat entity set. + + The name of your list can include lowercase letters, uppercase letters, + numbers, dash (-), and underscore (_). + """ + format: str | None = ... + """The format of the file that contains the threat entity set.""" + location: str | None = ... + """ + The URI of the file that contains the threat entity set. The format of + the `Location` URL must be a valid Amazon S3 URL format. Invalid URL + formats will result in an error, regardless of whether you activate the + entity set or not. For more information about format of the location + URLs, see [Format of location URL under Step 2: Adding trusted or threat + intelligence + data](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-lists-create-activate.html) + in the *Amazon GuardDuty User Guide*. + """ + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + activate: bool | None = ... + """ + A boolean value that indicates whether GuardDuty should start using the + uploaded threat entity set to generate findings. + """ + client_token: str | None = ... + """ + The idempotency token for the create request. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """The tags to be added to a new threat entity set resource.""" + +@dataclass(kw_only=True) +class CreateThreatEntitySetOutput(_SerdeShape): + """Dataclass for CreateThreatEntitySetOutput structure.""" + + threat_entity_set_id: str | None = ... + """ + The ID returned by GuardDuty after creation of the threat entity set + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateThreatIntelSetInput(_SerdeShape): + """Dataclass for CreateThreatIntelSetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty account for which you + want to create a `threatIntelSet`. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + name: str | None = ... + """ + A user-friendly ThreatIntelSet name displayed in all findings that are + generated by activity that involves IP addresses included in this + ThreatIntelSet. + """ + format: str | None = ... + """The format of the file that contains the ThreatIntelSet.""" + location: str | None = ... + """The URI of the file that contains the ThreatIntelSet.""" + activate: bool | None = ... + """ + A Boolean value that indicates whether GuardDuty is to start using the + uploaded ThreatIntelSet. + """ + client_token: str | None = ... + """ + The idempotency token for the create request. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """The tags to be added to a new threat list resource.""" + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + +@dataclass(kw_only=True) +class CreateThreatIntelSetOutput(_SerdeShape): + """Dataclass for CreateThreatIntelSetOutput structure.""" + + threat_intel_set_id: str | None = ... + """The ID of the ThreatIntelSet resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTrustedEntitySetInput(_SerdeShape): + """Dataclass for CreateTrustedEntitySetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty account for which you + want to create a trusted entity set. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + name: str | None = ... + """ + A user-friendly name to identify the trusted entity set. + + The name of your list can include lowercase letters, uppercase letters, + numbers, dash (-), and underscore (_). + """ + format: str | None = ... + """The format of the file that contains the trusted entity set.""" + location: str | None = ... + """ + The URI of the file that contains the threat entity set. The format of + the `Location` URL must be a valid Amazon S3 URL format. Invalid URL + formats will result in an error, regardless of whether you activate the + entity set or not. For more information about format of the location + URLs, see [Format of location URL under Step 2: Adding trusted or threat + intelligence + data](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-lists-create-activate.html) + in the *Amazon GuardDuty User Guide*. + """ + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + activate: bool | None = ... + """ + A boolean value that indicates whether GuardDuty is to start using the + uploaded trusted entity set. + """ + client_token: str | None = ... + """ + The idempotency token for the create request. + + This field is autopopulated if not provided. + """ + tags: dict[str, str] | None = ... + """The tags to be added to a new trusted entity set resource.""" + +@dataclass(kw_only=True) +class CreateTrustedEntitySetOutput(_SerdeShape): + """Dataclass for CreateTrustedEntitySetOutput structure.""" + + trusted_entity_set_id: str | None = ... + """ + The ID returned by GuardDuty after creation of the trusted entity set + resource. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CriterionKey(UnknownEnumMixin, StrEnum): + EC2_INSTANCE_ARN = "EC2_INSTANCE_ARN" + SCAN_ID = "SCAN_ID" + ACCOUNT_ID = "ACCOUNT_ID" + GUARDDUTY_FINDING_ID = "GUARDDUTY_FINDING_ID" + SCAN_START_TIME = "SCAN_START_TIME" + SCAN_STATUS = "SCAN_STATUS" + SCAN_TYPE = "SCAN_TYPE" + +class DataSource(UnknownEnumMixin, StrEnum): + FLOW_LOGS = "FLOW_LOGS" + CLOUD_TRAIL = "CLOUD_TRAIL" + DNS_LOGS = "DNS_LOGS" + S3_LOGS = "S3_LOGS" + KUBERNETES_AUDIT_LOGS = "KUBERNETES_AUDIT_LOGS" + EC2_MALWARE_SCAN = "EC2_MALWARE_SCAN" + +@dataclass(kw_only=True) +class DataSourceConfigurations(_SerdeShape): + """Contains information about which data sources are enabled.""" + + s3_logs: S3LogsConfiguration | None = ... + """Describes whether S3 data event logs are enabled as a data source.""" + kubernetes: KubernetesConfiguration | None = ... + """Describes whether any Kubernetes logs are enabled as data sources.""" + malware_protection: MalwareProtectionConfiguration | None = ... + """Describes whether Malware Protection is enabled as a data source.""" + +@dataclass(kw_only=True) +class DataSourceConfigurationsResult(_SerdeShape): + """Contains information on the status of data sources for the detector.""" + + cloud_trail: CloudTrailConfigurationResult | None = ... + """ + An object that contains information on the status of CloudTrail as a + data source. + """ + dns_logs: DNSLogsConfigurationResult | None = ... + """ + An object that contains information on the status of DNS logs as a data + source. + """ + flow_logs: FlowLogsConfigurationResult | None = ... + """ + An object that contains information on the status of VPC flow logs as a + data source. + """ + s3_logs: S3LogsConfigurationResult | None = ... + """ + An object that contains information on the status of S3 Data event logs + as a data source. + """ + kubernetes: KubernetesConfigurationResult | None = ... + """ + An object that contains information on the status of all Kubernetes data + sources. + """ + malware_protection: MalwareProtectionConfigurationResult | None = ... + """Describes the configuration of Malware Protection data sources.""" + +@dataclass(kw_only=True) +class DataSourceFreeTrial(_SerdeShape): + """ + Contains information about which data sources are enabled for the + GuardDuty member account. + """ + + free_trial_days_remaining: int | None = ... + """ + A value that specifies the number of days left to use each enabled data + source. + """ + +@dataclass(kw_only=True) +class DataSourcesFreeTrial(_SerdeShape): + """ + Contains information about which data sources are enabled for the + GuardDuty member account. + """ + + cloud_trail: DataSourceFreeTrial | None = ... + """ + Describes whether any Amazon Web Services CloudTrail management event + logs are enabled as data sources. + """ + dns_logs: DataSourceFreeTrial | None = ... + """Describes whether any DNS logs are enabled as data sources.""" + flow_logs: DataSourceFreeTrial | None = ... + """Describes whether any VPC Flow logs are enabled as data sources.""" + s3_logs: DataSourceFreeTrial | None = ... + """Describes whether any S3 data event logs are enabled as data sources.""" + kubernetes: KubernetesDataSourceFreeTrial | None = ... + """Describes whether any Kubernetes logs are enabled as data sources.""" + malware_protection: MalwareProtectionDataSourceFreeTrial | None = ... + """Describes whether Malware Protection is enabled as a data source.""" + +class DataSourceStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class DateStatistics(_SerdeShape): + """ + Represents list a map of dates with a count of total findings generated + on each date. + """ + + date: datetime | None = ... + """ + The timestamp when the total findings count is observed. + + For example, `Date` would look like `"2024-09-05T17:00:00-07:00"` + whereas `LastGeneratedAt` would look like 2024-09-05T17:12:29-07:00\". + """ + last_generated_at: datetime | None = ... + """ + The timestamp at which the last finding in the findings count, was + generated. + """ + severity: float | None = ... + """The severity of the findings generated on each date.""" + total_findings: int | None = ... + """ + The total number of findings that were generated per severity level on + each date. + """ + +@dataclass(kw_only=True) +class DeclineInvitationsInput(_SerdeShape): + """Dataclass for DeclineInvitationsInput structure.""" + + account_ids: list[str] | None = ... + """ + A list of account IDs of the Amazon Web Services accounts that sent + invitations to the current member account that you want to decline + invitations from. + """ + +@dataclass(kw_only=True) +class DeclineInvitationsOutput(_SerdeShape): + """Dataclass for DeclineInvitationsOutput structure.""" + + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of objects that contain the unprocessed account and a result + string that explains why it was unprocessed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DefaultServerSideEncryption(_SerdeShape): + """ + Contains information on the server side encryption method used in the S3 + bucket. See [S3 Server-Side + Encryption](https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) + for more information. + """ + + encryption_type: str | None = ... + """The type of encryption used for objects within the S3 bucket.""" + kms_master_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the KMS encryption key. Only available + if the bucket `EncryptionType` is `aws:kms`. + """ + +@dataclass(kw_only=True) +class DeleteCustomDetectionRuleAssociationInput(_SerdeShape): + """Dataclass for DeleteCustomDetectionRuleAssociationInput structure.""" + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + association_id: str | None = ... + """The unique identifier for the association to delete.""" + +@dataclass(kw_only=True) +class DeleteCustomDetectionRuleAssociationOutput(_SerdeShape): + """Dataclass for DeleteCustomDetectionRuleAssociationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCustomDetectionRuleOrgConfigurationInput(_SerdeShape): + """Dataclass for DeleteCustomDetectionRuleOrgConfigurationInput structure.""" + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + mode: str | None = ... + """ + The execution mode of the organization configuration to delete. Valid + values: `LIVE` | `DRY_RUN`. + """ + +@dataclass(kw_only=True) +class DeleteCustomDetectionRuleOrgConfigurationOutput(_SerdeShape): + """Dataclass for DeleteCustomDetectionRuleOrgConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDetectorInput(_SerdeShape): + """Dataclass for DeleteDetectorInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that you want to delete. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + +@dataclass(kw_only=True) +class DeleteDetectorOutput(_SerdeShape): + """Dataclass for DeleteDetectorOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFilterInput(_SerdeShape): + """Dataclass for DeleteFilterInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with the filter. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + filter_name: str | None = ... + """The name of the filter that you want to delete.""" + +@dataclass(kw_only=True) +class DeleteFilterOutput(_SerdeShape): + """Dataclass for DeleteFilterOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteInvitationsInput(_SerdeShape): + """Dataclass for DeleteInvitationsInput structure.""" + + account_ids: list[str] | None = ... + """ + A list of account IDs of the Amazon Web Services accounts that sent + invitations to the current member account that you want to delete + invitations from. + """ + +@dataclass(kw_only=True) +class DeleteInvitationsOutput(_SerdeShape): + """Dataclass for DeleteInvitationsOutput structure.""" + + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of objects that contain the unprocessed account and a result + string that explains why it was unprocessed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIPSetInput(_SerdeShape): + """Dataclass for DeleteIPSetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector associated with the IPSet. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + ip_set_id: str | None = ... + """The unique ID of the IPSet to delete.""" + +@dataclass(kw_only=True) +class DeleteIPSetOutput(_SerdeShape): + """Dataclass for DeleteIPSetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteMalwareProtectionPlanInput(_SerdeShape): + """Dataclass for DeleteMalwareProtectionPlanInput structure.""" + + malware_protection_plan_id: str | None = ... + """A unique identifier associated with Malware Protection plan resource.""" + +@dataclass(kw_only=True) +class DeleteMalwareProtectionPlanOutput(_SerdeShape): + """Dataclass for DeleteMalwareProtectionPlanOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteMembersInput(_SerdeShape): + """Dataclass for DeleteMembersInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty account whose members you + want to delete. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + account_ids: list[str] | None = ... + """ + A list of account IDs of the GuardDuty member accounts that you want to + delete. + """ + +@dataclass(kw_only=True) +class DeleteMembersOutput(_SerdeShape): + """Dataclass for DeleteMembersOutput structure.""" + + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """The accounts that could not be processed.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePublishingDestinationInput(_SerdeShape): + """Dataclass for DeletePublishingDestinationInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector associated with the publishing destination + to delete. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + destination_id: str | None = ... + """The ID of the publishing destination to delete.""" + +@dataclass(kw_only=True) +class DeletePublishingDestinationOutput(_SerdeShape): + """Dataclass for DeletePublishingDestinationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteThreatEntitySetInput(_SerdeShape): + """Dataclass for DeleteThreatEntitySetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector associated with the threat entity set + resource. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + threat_entity_set_id: str | None = ... + """ + The unique ID that helps GuardDuty identify which threat entity set + needs to be deleted. + """ + +@dataclass(kw_only=True) +class DeleteThreatEntitySetOutput(_SerdeShape): + """Dataclass for DeleteThreatEntitySetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteThreatIntelSetInput(_SerdeShape): + """Dataclass for DeleteThreatIntelSetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with the + threatIntelSet. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + threat_intel_set_id: str | None = ... + """The unique ID of the threatIntelSet that you want to delete.""" + +@dataclass(kw_only=True) +class DeleteThreatIntelSetOutput(_SerdeShape): + """Dataclass for DeleteThreatIntelSetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTrustedEntitySetInput(_SerdeShape): + """Dataclass for DeleteTrustedEntitySetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector associated with the trusted entity set + resource. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + trusted_entity_set_id: str | None = ... + """ + The unique ID that helps GuardDuty identify which trusted entity set + needs to be deleted. + """ + +@dataclass(kw_only=True) +class DeleteTrustedEntitySetOutput(_SerdeShape): + """Dataclass for DeleteTrustedEntitySetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeMalwareScansInput(_SerdeShape): + """Dataclass for DescribeMalwareScansInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that the request is associated with. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items that + you want in the response. The default value is 50. The maximum value is + 50. + """ + filter_criteria: FilterCriteria | None = ... + """ + Represents the criteria to be used in the filter for describing scan + entries. + """ + sort_criteria: SortCriteria | None = ... + """ + Represents the criteria used for sorting scan entries. The + [`attributeName`](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_SortCriteria.html#guardduty-Type-SortCriteria-attributeName) + is required and it must be `scanStartTime`. + """ + +@dataclass(kw_only=True) +class DescribeMalwareScansOutput(_SerdeShape): + """Dataclass for DescribeMalwareScansOutput structure.""" + + scans: list[Scan] | None = ... + """ + Contains information about malware scans associated with GuardDuty + Malware Protection for EC2. + """ + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeOrganizationConfigurationInput(_SerdeShape): + """Dataclass for DescribeOrganizationConfigurationInput structure.""" + + detector_id: str | None = ... + """ + The detector ID of the delegated administrator for which you need to + retrieve the information. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items that + you want in the response. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill `nextToken` in the request with the + value of `NextToken` from the previous response to continue listing + data. + """ + +@dataclass(kw_only=True) +class DescribeOrganizationConfigurationOutput(_SerdeShape): + """Dataclass for DescribeOrganizationConfigurationOutput structure.""" + + auto_enable: bool | None = ... + """ + Indicates whether GuardDuty is automatically enabled for accounts added + to the organization. + + Even though this is still supported, we recommend using + `AutoEnableOrganizationMembers` to achieve the similar results. + """ + member_account_limit_reached: bool | None = ... + """ + Indicates whether the maximum number of allowed member accounts are + already associated with the delegated administrator account for your + organization. + """ + data_sources: OrganizationDataSourceConfigurationsResult | None = ... + """ + Describes which data sources are enabled automatically for member + accounts. + """ + features: list[OrganizationFeatureConfigurationResult] | None = ... + """A list of features that are configured for this organization.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + auto_enable_organization_members: str | None = ... + """ + Indicates the auto-enablement configuration of GuardDuty or any of the + corresponding protection plans for the member accounts in the + organization. + + - `NEW`: Indicates that when a new account joins the organization, they + will have GuardDuty or any of the corresponding protection plans + enabled automatically. + + - `ALL`: Indicates that all accounts in the organization have GuardDuty + and any of the corresponding protection plans enabled automatically. + This includes `NEW` accounts that join the organization and accounts + that may have been suspended or removed from the organization in + GuardDuty. + + - `NONE`: Indicates that GuardDuty or any of the corresponding + protection plans will not be automatically enabled for any account in + the organization. The administrator must manage GuardDuty for each + account in the organization individually. + + When you update the auto-enable setting from `ALL` or `NEW` to `NONE`, + this action doesn't disable the corresponding option for your + existing accounts. This configuration will apply to the new accounts + that join the organization. After you update the auto-enable settings, + no new account will have the corresponding option as enabled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribePublishingDestinationInput(_SerdeShape): + """Dataclass for DescribePublishingDestinationInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector associated with the publishing destination + to retrieve. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + destination_id: str | None = ... + """The ID of the publishing destination to retrieve.""" + +@dataclass(kw_only=True) +class DescribePublishingDestinationOutput(_SerdeShape): + """Dataclass for DescribePublishingDestinationOutput structure.""" + + destination_id: str | None = ... + """The ID of the publishing destination.""" + destination_type: str | None = ... + """ + The type of publishing destination. Currently, only Amazon S3 buckets + are supported. + """ + status: str | None = ... + """The status of the publishing destination.""" + publishing_failure_start_timestamp: int | None = ... + """ + The time, in epoch millisecond format, at which GuardDuty was first + unable to publish findings to the destination. + """ + destination_properties: DestinationProperties | None = ... + """ + A `DestinationProperties` object that includes the `DestinationArn` and + `KmsKeyArn` of the publishing destination. + """ + tags: dict[str, str] | None = ... + """The tags of the publishing destination resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Destination(_SerdeShape): + """ + Contains information about the publishing destination, including the ID, + type, and status. + """ + + destination_id: str | None = ... + """The unique ID of the publishing destination.""" + destination_type: str | None = ... + """ + The type of resource used for the publishing destination. Currently, + only Amazon S3 buckets are supported. + """ + status: str | None = ... + """The status of the publishing destination.""" + +@dataclass(kw_only=True) +class DestinationProperties(_SerdeShape): + """ + Contains the Amazon Resource Name (ARN) of the resource to publish to, + such as an S3 bucket, and the ARN of the KMS key to use to encrypt + published findings. + """ + + destination_arn: str | None = ... + """ + The ARN of the resource to publish to. + + To specify an S3 bucket folder use the following format: + `arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/` + """ + kms_key_arn: str | None = ... + """The ARN of the KMS key to use for encryption.""" + expected_bucket_owner: str | None = ... + """ + The 12-digit Amazon Web Services account ID of the account that owns the + Amazon S3 bucket specified in the `DestinationArn` parameter. + + When you provide this value, GuardDuty verifies that the specified + account owns the bucket before it exports findings. If the account ID + doesn't match the actual owner of the bucket, GuardDuty doesn't export + findings to that bucket. This helps prevent GuardDuty from exporting + your findings to a bucket that a different Amazon Web Services account + owns (for example, if the original bucket was deleted and its name was + later claimed by another account). If you don't specify this value, + GuardDuty doesn't perform this verification. GuardDuty strongly + recommends that you provide the expected bucket owner when possible. + + When you update a publishing destination, omitting this field leaves the + currently stored value unchanged. This field appears in the response + only if it was provided when the publishing destination was created or + updated. + + For more information, see [Verifying the Amazon S3 bucket + owner](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html#guardduty-exportfindings-expected-bucket-owner) + in the *Amazon GuardDuty User Guide*. + """ + +class DestinationType(UnknownEnumMixin, StrEnum): + S3 = "S3" + +@dataclass(kw_only=True) +class Detection(_SerdeShape): + """Contains information about the detected behavior.""" + + anomaly: Anomaly | None = ... + """ + The details about the anomalous activity that caused GuardDuty to + generate the finding. + """ + sequence: Sequence | None = ... + """The details about the attack sequence.""" + +class DetectionRuleConfigurationStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + PROCESSING = "PROCESSING" + FAILED = "FAILED" + +class DetectionRuleDataSource(UnknownEnumMixin, StrEnum): + CLOUDTRAIL_MANAGEMENT_EVENT = "CloudTrailManagementEvent" + RUNTIME_MONITORING = "RuntimeMonitoring" + +@dataclass(kw_only=True) +class DetectionRuleEc2Requirements(_SerdeShape): + """ + The requirements for running a Runtime Monitoring custom detection rule + on Amazon EC2. + """ + + min_agent_version: str | None = ... + """ + The minimum GuardDuty agent version required to run the rule on Amazon + EC2. + """ + +@dataclass(kw_only=True) +class DetectionRuleEcsFargateRequirements(_SerdeShape): + """ + The requirements for running a Runtime Monitoring custom detection rule + on Amazon ECS with the Fargate launch type. + """ + + min_agent_version: str | None = ... + """ + The minimum GuardDuty agent version required to run the rule on Amazon + ECS with the Fargate launch type. + """ + +@dataclass(kw_only=True) +class DetectionRuleEksRequirements(_SerdeShape): + """ + The requirements for running a Runtime Monitoring custom detection rule + on Amazon EKS. + """ + + min_agent_version: str | None = ... + """ + The minimum GuardDuty agent version required to run the rule on Amazon + EKS. + """ + +@dataclass(kw_only=True) +class DetectionRuleFilter(_SerdeShape): + """ + Contains filter criteria for listing custom detection rules or + associations. + """ + + name: str | None = ... + """The name of the field to filter by.""" + values: list[str] | None = ... + """The values to match against the specified filter name.""" + condition: str | None = ... + """ + The condition to apply to the filter. For example, `EQUALS` or + `CONTAINS`. + """ + +class DetectionRuleFilterCondition(UnknownEnumMixin, StrEnum): + EQUALS = "EQUALS" + CONTAINS = "CONTAINS" + +@dataclass(kw_only=True) +class DetectionRuleOrgConfiguration(_SerdeShape): + """ + Contains the organization-level configuration for a custom detection + rule. + """ + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + mode: str | None = ... + """ + The execution mode of the organization configuration. Valid values: + `LIVE` | `DRY_RUN`. + """ + status: str | None = ... + """ + The configuration status. Valid values: `ACTIVE` | `PROCESSING` | + `FAILED`. + """ + status_reason: str | None = ... + """The reason for the current configuration status.""" + include_account_ids: list[str] | None = ... + """ + A list of member account IDs included in the organization configuration. + Mutually exclusive with `ExcludeAccountIds`. + """ + exclude_account_ids: list[str] | None = ... + """ + A list of member account IDs excluded from the organization + configuration. Mutually exclusive with `IncludeAccountIds`. + """ + created_at: datetime | None = ... + """The timestamp when the organization configuration was created.""" + updated_at: datetime | None = ... + """The timestamp when the organization configuration was last updated.""" + expires_at: datetime | None = ... + """The timestamp when the organization configuration expires.""" + +@dataclass(kw_only=True) +class DetectionRuleOrgConfigurationSummary(_SerdeShape): + """ + Contains summary information about an organization-level configuration + for a custom detection rule. + """ + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + mode: str | None = ... + """The rule execution mode.""" + status: str | None = ... + """The configuration status.""" + status_reason: str | None = ... + """The reason for the current configuration status.""" + created_at: datetime | None = ... + """The timestamp when the organization configuration was created.""" + updated_at: datetime | None = ... + """The timestamp when the organization configuration was last updated.""" + expires_at: datetime | None = ... + """The timestamp when the organization configuration expires.""" + +@dataclass(kw_only=True) +class DetectionRuleRuntimeMonitoringDetails(_SerdeShape): + """ + Contains Runtime Monitoring-specific details for a custom detection + rule. + """ + + platforms: DetectionRuleRuntimePlatforms | None = ... + """ + The platforms on which the rule can run. The presence of a platform + member indicates that the rule is supported on that platform; the + absence of a member indicates that the rule cannot run on that platform + at any agent version. + """ + +@dataclass(kw_only=True) +class DetectionRuleRuntimePlatforms(_SerdeShape): + """ + The platforms on which a Runtime Monitoring custom detection rule can + run. A member's presence is the support statement: when present, the + rule runs on that platform and `minAgentVersion` is the minimum + GuardDuty agent version required there. When absent, the rule cannot run + on that platform at any agent version. + """ + + eks: DetectionRuleEksRequirements | None = ... + """The requirements for running the rule on Amazon EKS.""" + ec2: DetectionRuleEc2Requirements | None = ... + """The requirements for running the rule on Amazon EC2.""" + ecs_fargate: DetectionRuleEcsFargateRequirements | None = ... + """ + The requirements for running the rule on Amazon ECS with the Fargate + launch type. + """ + +class DetectionRuleSeverity(UnknownEnumMixin, StrEnum): + CRITICAL = "CRITICAL" + HIGH = "HIGH" + MEDIUM = "MEDIUM" + LOW = "LOW" + +class DetectionSource(UnknownEnumMixin, StrEnum): + AMAZON = "AMAZON" + BITDEFENDER = "BITDEFENDER" + +@dataclass(kw_only=True) +class DetectorAdditionalConfiguration(_SerdeShape): + """ + Information about the additional configuration for a feature in your + GuardDuty account. + """ + + name: str | None = ... + """Name of the additional configuration.""" + status: str | None = ... + """Status of the additional configuration.""" + +@dataclass(kw_only=True) +class DetectorAdditionalConfigurationResult(_SerdeShape): + """Information about the additional configuration.""" + + name: str | None = ... + """Name of the additional configuration.""" + status: str | None = ... + """Status of the additional configuration.""" + updated_at: datetime | None = ... + """ + The timestamp at which the additional configuration was last updated. + This is in UTC format. + """ + managed_by: str | None = ... + """ + Indicates what manages the additional configuration. A value of + `GUARDDUTY_POLICY` means a GuardDuty policy manages the additional + configuration. + """ + +class DetectorFeature(UnknownEnumMixin, StrEnum): + S3_DATA_EVENTS = "S3_DATA_EVENTS" + EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" + EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" + RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" + LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" + EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" + RUNTIME_MONITORING = "RUNTIME_MONITORING" + AI_PROTECTION = "AI_PROTECTION" + AI_ANALYST = "AI_ANALYST" + +@dataclass(kw_only=True) +class DetectorFeatureConfiguration(_SerdeShape): + """ + Contains information about a GuardDuty feature. + + Specifying both EKS Runtime Monitoring (`EKS_RUNTIME_MONITORING`) and + Runtime Monitoring (`RUNTIME_MONITORING`) will cause an error. You can + add only one of these two features because Runtime Monitoring already + includes the threat detection for Amazon EKS resources. For more + information, see [Runtime + Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). + """ + + name: str | None = ... + """The name of the feature.""" + status: str | None = ... + """The status of the feature.""" + additional_configuration: list[DetectorAdditionalConfiguration] | None = ... + """Additional configuration for a resource.""" + +@dataclass(kw_only=True) +class DetectorFeatureConfigurationResult(_SerdeShape): + """ + Contains information about a GuardDuty feature. + + Specifying both EKS Runtime Monitoring (`EKS_RUNTIME_MONITORING`) and + Runtime Monitoring (`RUNTIME_MONITORING`) will cause an error. You can + add only one of these two features because Runtime Monitoring already + includes the threat detection for Amazon EKS resources. For more + information, see [Runtime + Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). + """ + + name: str | None = ... + """Indicates the name of the feature that can be enabled for the detector.""" + status: str | None = ... + """Indicates the status of the feature that is enabled for the detector.""" + updated_at: datetime | None = ... + """The timestamp at which the feature object was updated.""" + additional_configuration: list[DetectorAdditionalConfigurationResult] | None = ... + """Additional configuration for a resource.""" + managed_by: str | None = ... + """ + Indicates what manages the feature. A value of `GUARDDUTY_POLICY` means + a GuardDuty policy manages the feature. + """ + +class DetectorFeatureResult(UnknownEnumMixin, StrEnum): + FLOW_LOGS = "FLOW_LOGS" + CLOUD_TRAIL = "CLOUD_TRAIL" + DNS_LOGS = "DNS_LOGS" + S3_DATA_EVENTS = "S3_DATA_EVENTS" + EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" + EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" + RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" + LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" + EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" + RUNTIME_MONITORING = "RUNTIME_MONITORING" + AI_PROTECTION = "AI_PROTECTION" + AI_ANALYST = "AI_ANALYST" + +class DetectorStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class DisableOrganizationAdminAccountInput(_SerdeShape): + """Dataclass for DisableOrganizationAdminAccountInput structure.""" + + admin_account_id: str | None = ... + """ + The Amazon Web Services Account ID for the organizations account to be + disabled as a GuardDuty delegated administrator. + """ + +@dataclass(kw_only=True) +class DisableOrganizationAdminAccountOutput(_SerdeShape): + """Dataclass for DisableOrganizationAdminAccountOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateFromAdministratorAccountInput(_SerdeShape): + """Dataclass for DisassociateFromAdministratorAccountInput structure.""" + + detector_id: str | None = ... + """The unique ID of the detector of the GuardDuty member account.""" + +@dataclass(kw_only=True) +class DisassociateFromAdministratorAccountOutput(_SerdeShape): + """Dataclass for DisassociateFromAdministratorAccountOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateFromMasterAccountInput(_SerdeShape): + """Dataclass for DisassociateFromMasterAccountInput structure.""" + + detector_id: str | None = ... + """The unique ID of the detector of the GuardDuty member account.""" + +@dataclass(kw_only=True) +class DisassociateFromMasterAccountOutput(_SerdeShape): + """Dataclass for DisassociateFromMasterAccountOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociateMembersInput(_SerdeShape): + """Dataclass for DisassociateMembersInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty account whose members you + want to disassociate from the administrator account. + """ + account_ids: list[str] | None = ... + """ + A list of account IDs of the GuardDuty member accounts that you want to + disassociate from the administrator account. + """ + +@dataclass(kw_only=True) +class DisassociateMembersOutput(_SerdeShape): + """Dataclass for DisassociateMembersOutput structure.""" + + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of objects that contain the unprocessed account and a result + string that explains why it was unprocessed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DNSLogsConfigurationResult(_SerdeShape): + """Contains information on the status of DNS logs as a data source.""" + + status: str | None = ... + """Denotes whether DNS logs is enabled as a data source.""" + +@dataclass(kw_only=True) +class DnsRequestAction(_SerdeShape): + """ + Contains information about the DNS_REQUEST action described in this + finding. + """ + + domain: str | None = ... + """The domain information for the DNS query.""" + protocol: str | None = ... + """ + The network connection protocol observed in the activity that prompted + GuardDuty to generate the finding. + """ + blocked: bool | None = ... + """Indicates whether the targeted port is blocked.""" + domain_with_suffix: str | None = ... + """ + The second and top level domain involved in the activity that + potentially prompted GuardDuty to generate this finding. For a list of + top-level and second-level domains, see [public suffix + list](https://publicsuffix.org/). + """ + vpc_owner_account_id: str | None = ... + """ + The Amazon Web Services account ID that owns the VPC through which the + DNS request was made. + """ + +@dataclass(kw_only=True) +class DomainDetails(_SerdeShape): + """Contains information about the domain.""" + + domain: str | None = ... + """The domain information for the Amazon Web Services API call.""" + +@dataclass(kw_only=True) +class EbsSnapshot(_SerdeShape): + """Contains information about an EBS snapshot that was scanned for malware.""" + + device_name: str | None = ... + """The device name of the EBS snapshot that was scanned.""" + +@dataclass(kw_only=True) +class EbsSnapshotDetails(_SerdeShape): + """Contains details about the EBS snapshot that was scanned for malware.""" + + snapshot_arn: str | None = ... + """The Amazon Resource Name (ARN) of the EBS snapshot.""" + +class EbsSnapshotPreservation(UnknownEnumMixin, StrEnum): + NO_RETENTION = "NO_RETENTION" + RETENTION_WITH_FINDING = "RETENTION_WITH_FINDING" + +@dataclass(kw_only=True) +class EbsVolumeDetails(_SerdeShape): + """Contains list of scanned and skipped EBS volumes with details.""" + + scanned_volume_details: list[VolumeDetail] | None = ... + """List of EBS volumes that were scanned.""" + skipped_volume_details: list[VolumeDetail] | None = ... + """List of EBS volumes that were skipped from the malware scan.""" + +@dataclass(kw_only=True) +class EbsVolumeScanDetails(_SerdeShape): + """Contains details from the malware scan that created a finding.""" + + scan_id: str | None = ... + """Unique Id of the malware scan that generated the finding.""" + scan_started_at: datetime | None = ... + """Returns the start date and time of the malware scan.""" + scan_completed_at: datetime | None = ... + """Returns the completion date and time of the malware scan.""" + trigger_finding_id: str | None = ... + """GuardDuty finding ID that triggered a malware scan.""" + sources: list[str] | None = ... + """Contains list of threat intelligence sources used to detect threats.""" + scan_detections: ScanDetections | None = ... + """Contains a complete view providing malware scan result details.""" + scan_type: str | None = ... + """Specifies the scan type that invoked the malware scan.""" + +@dataclass(kw_only=True) +class EbsVolumesResult(_SerdeShape): + """Describes the configuration of scanning EBS volumes as a data source.""" + + status: str | None = ... + """Describes whether scanning EBS volumes is enabled as a data source.""" + reason: str | None = ... + """ + Specifies the reason why scanning EBS volumes (Malware Protection) was + not enabled as a data source. + """ + +@dataclass(kw_only=True) +class Ec2Image(_SerdeShape): + """ + Contains information about the Amazon EC2 Image involved in a GuardDuty + finding, including unique identifiers of the Amazon EC2 instances. + """ + + ec2_instance_uids: list[str] | None = ... + """ + A list of unique identifiers for the compromised Amazon EC2 instances + that were launched with the same Amazon Machine Image (AMI). + """ + +@dataclass(kw_only=True) +class Ec2ImageDetails(_SerdeShape): + """Contains details about the EC2 AMI that was scanned.""" + + image_arn: str | None = ... + """The Amazon Resource Name (ARN) of the EC2 AMI.""" + +@dataclass(kw_only=True) +class Ec2Instance(_SerdeShape): + """Details about the potentially impacted Amazon EC2 instance resource.""" + + availability_zone: str | None = ... + """ + The availability zone of the Amazon EC2 instance. For more information, + see [Availability + zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-availability-zones) + in the *Amazon EC2 User Guide*. + """ + image_description: str | None = ... + """The image description of the Amazon EC2 instance.""" + instance_state: str | None = ... + """ + The state of the Amazon EC2 instance. For more information, see [Amazon + EC2 instance state + changes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) + in the *Amazon EC2 User Guide*. + """ + iam_instance_profile: IamInstanceProfile | None = ... + """Contains information about the EC2 instance profile.""" + instance_type: str | None = ... + """Type of the Amazon EC2 instance.""" + outpost_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. This + shows applicable Amazon Web Services Outposts instances. + """ + platform: str | None = ... + """The platform of the Amazon EC2 instance.""" + product_codes: list[ProductCode] | None = ... + """The product code of the Amazon EC2 instance.""" + ec2_network_interface_uids: list[str] | None = ... + """The ID of the network interface.""" + +@dataclass(kw_only=True) +class Ec2LaunchTemplate(_SerdeShape): + """ + Contains information about the Amazon EC2 launch template involved in a + GuardDuty finding, including unique identifiers of the Amazon EC2 + instances. + """ + + ec2_instance_uids: list[str] | None = ... + """ + A list of unique identifiers for the compromised Amazon EC2 instances + that share the same Amazon EC2 launch template. + """ + version: str | None = ... + """Version of the EC2 launch template.""" + +@dataclass(kw_only=True) +class Ec2NetworkInterface(_SerdeShape): + """ + Contains information about the elastic network interface of the Amazon + EC2 instance. + """ + + ipv6_addresses: list[str] | None = ... + """A list of IPv6 addresses for the Amazon EC2 instance.""" + private_ip_addresses: list[PrivateIpAddressDetails] | None = ... + """Other private IP address information of the Amazon EC2 instance.""" + public_ip: str | None = ... + """The public IP address of the Amazon EC2 instance.""" + security_groups: list[SecurityGroup] | None = ... + """The security groups associated with the Amazon EC2 instance.""" + sub_net_id: str | None = ... + """The subnet ID of the Amazon EC2 instance.""" + vpc_id: str | None = ... + """The VPC ID of the Amazon EC2 instance.""" + +@dataclass(kw_only=True) +class Ec2Vpc(_SerdeShape): + """ + Contains information about the Amazon EC2 VPC involved in a GuardDuty + finding, including unique identifiers of the Amazon EC2 instances. + """ + + ec2_instance_uids: list[str] | None = ... + """ + A list of unique identifiers for the compromised Amazon EC2 instances + that were launched within the same Virtual Private Cloud (VPC). + """ + +@dataclass(kw_only=True) +class EcsCluster(_SerdeShape): + """ + Contains information about the Amazon ECS cluster involved in a + GuardDuty finding, including cluster identification and status. + """ + + status: str | None = ... + """The current status of the Amazon ECS cluster.""" + ec2_instance_uids: list[str] | None = ... + """ + A list of unique identifiers for the Amazon EC2 instances that serve as + container instances in the Amazon ECS cluster. + """ + +@dataclass(kw_only=True) +class EcsClusterDetails(_SerdeShape): + """Contains information about the details of the ECS Cluster.""" + + name: str | None = ... + """The name of the ECS Cluster.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) that identifies the cluster.""" + status: str | None = ... + """The status of the ECS cluster.""" + active_services_count: int | None = ... + """ + The number of services that are running on the cluster in an ACTIVE + state. + """ + registered_container_instances_count: int | None = ... + """The number of container instances registered into the cluster.""" + running_tasks_count: int | None = ... + """The number of tasks in the cluster that are in the RUNNING state.""" + tags: list[Tag] | None = ... + """The tags of the ECS Cluster.""" + task_details: EcsTaskDetails | None = ... + """Contains information about the details of the ECS Task.""" + +class EcsClusterStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + PROVISIONING = "PROVISIONING" + DEPROVISIONING = "DEPROVISIONING" + FAILED = "FAILED" + INACTIVE = "INACTIVE" + +class EcsLaunchType(UnknownEnumMixin, StrEnum): + FARGATE = "FARGATE" + EC2 = "EC2" + +@dataclass(kw_only=True) +class EcsTask(_SerdeShape): + """ + Contains information about Amazon ECS task involved in a GuardDuty + finding, including task definition and container identifiers. + """ + + created_at: datetime | None = ... + """ + The timestamp indicating when the Amazon ECS task was created, in UTC + format. + """ + task_definition_arn: str | None = ... + """ + The ARN of task definition which describes the container and volume + definitions of the Amazon ECS task. + """ + launch_type: str | None = ... + """The infrastructure type on which the Amazon ECS task runs.""" + container_uids: list[str] | None = ... + """ + A list of unique identifiers for the containers associated with the + Amazon ECS task. + """ + +@dataclass(kw_only=True) +class EcsTaskDetails(_SerdeShape): + """Contains information about the task in an ECS cluster.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the task.""" + definition_arn: str | None = ... + """The ARN of the task definition that creates the task.""" + version: str | None = ... + """The version counter for the task.""" + task_created_at: datetime | None = ... + """The Unix timestamp for the time when the task was created.""" + started_at: datetime | None = ... + """The Unix timestamp for the time when the task started.""" + started_by: str | None = ... + """Contains the tag specified when a task is started.""" + tags: list[Tag] | None = ... + """The tags of the ECS Task.""" + volumes: list[Volume] | None = ... + """The list of data volume definitions for the task.""" + containers: list[Container] | None = ... + """The containers that's associated with the task.""" + group: str | None = ... + """The name of the task group that's associated with the task.""" + launch_type: str | None = ... + """ + A capacity on which the task is running. For example, `Fargate` and + `EC2`. + """ + +@dataclass(kw_only=True) +class EksCluster(_SerdeShape): + """ + Contains information about the Amazon EKS cluster involved in a + GuardDuty finding, including cluster identification, status, and network + configuration. + """ + + arn: str | None = ... + """ + The Amazon Resource Name (ARN) that uniquely identifies the Amazon EKS + cluster involved in the finding. + """ + created_at: datetime | None = ... + """ + The timestamp indicating when the Amazon EKS cluster was created, in UTC + format. + """ + status: str | None = ... + """The current status of the Amazon EKS cluster.""" + vpc_id: str | None = ... + """ + The ID of the Amazon Virtual Private Cloud (Amazon VPC) associated with + the Amazon EKS cluster. + """ + ec2_instance_uids: list[str] | None = ... + """ + A list of unique identifiers for the Amazon EC2 instances that serve as + worker nodes in the Amazon EKS cluster. + """ + +@dataclass(kw_only=True) +class EksClusterDetails(_SerdeShape): + """Details about the EKS cluster involved in a Kubernetes finding.""" + + name: str | None = ... + """EKS cluster name.""" + arn: str | None = ... + """EKS cluster ARN.""" + vpc_id: str | None = ... + """The VPC ID to which the EKS cluster is attached.""" + status: str | None = ... + """The EKS cluster status.""" + tags: list[Tag] | None = ... + """The EKS cluster tags.""" + created_at: datetime | None = ... + """The timestamp when the EKS cluster was created.""" + +@dataclass(kw_only=True) +class EnableOrganizationAdminAccountInput(_SerdeShape): + """Dataclass for EnableOrganizationAdminAccountInput structure.""" + + admin_account_id: str | None = ... + """ + The Amazon Web Services account ID for the organization account to be + enabled as a GuardDuty delegated administrator. + """ + +@dataclass(kw_only=True) +class EnableOrganizationAdminAccountOutput(_SerdeShape): + """Dataclass for EnableOrganizationAdminAccountOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Evidence(_SerdeShape): + """Contains information about the reason that the finding was generated.""" + + threat_intelligence_details: list[ThreatIntelligenceDetail] | None = ... + """A list of threat intelligence details related to the evidence.""" + +@dataclass(kw_only=True) +class FargateDetails(_SerdeShape): + """ + Contains information about Amazon Web Services Fargate details + associated with an Amazon ECS cluster. + """ + + issues: list[str] | None = ... + """ + Runtime coverage issues identified for the resource running on Amazon + Web Services Fargate. + """ + management_type: str | None = ... + """ + Indicates how the GuardDuty security agent is managed for this resource. + + - `AUTO_MANAGED` indicates that GuardDuty deploys and manages updates + for this resource. + + - `DISABLED` indicates that the deployment of the GuardDuty security + agent is disabled for this resource. + + Note: + The `MANUAL` status doesn't apply to the Amazon Web Services Fargate + (Amazon ECS only) woprkloads. + """ + +class FeatureAdditionalConfiguration(UnknownEnumMixin, StrEnum): + EKS_ADDON_MANAGEMENT = "EKS_ADDON_MANAGEMENT" + ECS_FARGATE_AGENT_MANAGEMENT = "ECS_FARGATE_AGENT_MANAGEMENT" + EC2_AGENT_MANAGEMENT = "EC2_AGENT_MANAGEMENT" + RDS_DATA_RISK = "RDS_DATA_RISK" + """ + RDS Data Activity Monitoring, which monitors data activity on supported + Amazon RDS database engines to detect potentially unauthorized access to + your data. + """ + +class FeatureStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class Feedback(UnknownEnumMixin, StrEnum): + USEFUL = "USEFUL" + NOT_USEFUL = "NOT_USEFUL" + +class FilterAction(UnknownEnumMixin, StrEnum): + NOOP = "NOOP" + ARCHIVE = "ARCHIVE" + +@dataclass(kw_only=True) +class FilterCondition(_SerdeShape): + """Contains information about the condition.""" + + equals_value: str | None = ... + """ + Represents an *equal* condition to be applied to a single field when + querying for scan entries. + """ + greater_than: int | None = ... + """ + Represents a *greater than* condition to be applied to a single field + when querying for scan entries. + """ + less_than: int | None = ... + """ + Represents a *less than* condition to be applied to a single field when + querying for scan entries. + """ + +@dataclass(kw_only=True) +class FilterCriteria(_SerdeShape): + """ + Represents the criteria to be used in the filter for describing scan + entries. + """ + + filter_criterion: list[FilterCriterion] | None = ... + """ + Represents a condition that when matched will be added to the response + of the operation. + """ + +@dataclass(kw_only=True) +class FilterCriterion(_SerdeShape): + """ + Represents a condition that when matched will be added to the response + of the operation. Irrespective of using any filter criteria, an + administrator account can view the scan entries for all of its member + accounts. However, each member account can view the scan entries only + for their own account. + """ + + criterion_key: str | None = ... + """ + An enum value representing possible scan properties to match with given + scan entries. + """ + filter_condition: FilterCondition | None = ... + """Contains information about the condition.""" + +class FilterFieldName(UnknownEnumMixin, StrEnum): + NAME = "name" + DESCRIPTION = "description" + DATA_SOURCE = "dataSource" + SEVERITY = "severity" + TACTIC = "tactic" + TECHNIQUE = "technique" + SERVICE = "service" + +@dataclass(kw_only=True) +class Finding(_SerdeShape): + """ + Contains information about the finding that is generated when abnormal + or suspicious activity is detected. + """ + + account_id: str | None = ... + """The ID of the account in which the finding was generated.""" + arn: str | None = ... + """The ARN of the finding.""" + confidence: float | None = ... + """The confidence score for the finding.""" + created_at: str | None = ... + """The time and date when the finding was created.""" + description: str | None = ... + """The description of the finding.""" + id: str | None = ... + """The ID of the finding.""" + partition: str | None = ... + """The partition associated with the finding.""" + region: str | None = ... + """ + The Region where the finding was generated. For findings generated from + [Global Service + Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-global-service-events), + the Region value in the finding might differ from the Region where + GuardDuty identifies the potential threat. For more information, see + [How GuardDuty handles Amazon Web Services CloudTrail global + events](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_data-sources.html#cloudtrail_global) + in the *Amazon GuardDuty User Guide*. + """ + resource: Resource | None = ... + """ + Contains information about the Amazon Web Services resource associated + with the activity that prompted GuardDuty to generate a finding. + """ + schema_version: str | None = ... + """The version of the schema used for the finding.""" + service: Service | None = ... + """Contains additional information about the generated finding.""" + severity: float | None = ... + """The severity of the finding.""" + title: str | None = ... + """The title of the finding.""" + type: str | None = ... + """The type of finding.""" + updated_at: str | None = ... + """The time and date when the finding was last updated.""" + associated_attack_sequence_arn: str | None = ... + """Amazon Resource Name (ARN) associated with the attack sequence finding.""" + custom_detection_rule_name: str | None = ... + """The name of the custom detection rule that generated this finding.""" + +@dataclass(kw_only=True) +class FindingCriteria(_SerdeShape): + """Contains information about the criteria used for querying findings.""" + + criterion: dict[str, Condition] | None = ... + """ + Represents a map of finding properties that match specified conditions + and values when querying findings. + """ + +class FindingPublishingFrequency(UnknownEnumMixin, StrEnum): + FIFTEEN_MINUTES = "FIFTEEN_MINUTES" + ONE_HOUR = "ONE_HOUR" + SIX_HOURS = "SIX_HOURS" + +class FindingResourceType(UnknownEnumMixin, StrEnum): + EC2_INSTANCE = "EC2_INSTANCE" + EC2_NETWORK_INTERFACE = "EC2_NETWORK_INTERFACE" + S3_BUCKET = "S3_BUCKET" + S3_OBJECT = "S3_OBJECT" + ACCESS_KEY = "ACCESS_KEY" + EKS_CLUSTER = "EKS_CLUSTER" + KUBERNETES_WORKLOAD = "KUBERNETES_WORKLOAD" + CONTAINER = "CONTAINER" + ECS_CLUSTER = "ECS_CLUSTER" + ECS_TASK = "ECS_TASK" + AUTOSCALING_AUTO_SCALING_GROUP = "AUTOSCALING_AUTO_SCALING_GROUP" + IAM_INSTANCE_PROFILE = "IAM_INSTANCE_PROFILE" + CLOUDFORMATION_STACK = "CLOUDFORMATION_STACK" + EC2_LAUNCH_TEMPLATE = "EC2_LAUNCH_TEMPLATE" + EC2_VPC = "EC2_VPC" + EC2_IMAGE = "EC2_IMAGE" + BEDROCK_CUSTOM_MODEL = "BEDROCK_CUSTOM_MODEL" + """An Amazon Bedrock custom model fine-tuned by the customer.""" + BEDROCK_IMPORTED_MODEL = "BEDROCK_IMPORTED_MODEL" + """An Amazon Bedrock imported model brought in from an external source.""" + BEDROCK_PROVISIONED_MODEL = "BEDROCK_PROVISIONED_MODEL" + """An Amazon Bedrock model with provisioned throughput.""" + BEDROCK_CUSTOM_MODEL_DEPLOYMENT = "BEDROCK_CUSTOM_MODEL_DEPLOYMENT" + """A deployment of an Amazon Bedrock custom model.""" + BEDROCK_INFERENCE_PROFILE = "BEDROCK_INFERENCE_PROFILE" + """ + An Amazon Bedrock inference profile that routes model invocations across + Regions. + """ + BEDROCK_APPLICATION_INFERENCE_PROFILE = "BEDROCK_APPLICATION_INFERENCE_PROFILE" + """ + An application-scoped Amazon Bedrock inference profile used to track + invocation usage. + """ + BEDROCK_PROMPT = "BEDROCK_PROMPT" + """A managed prompt stored in Amazon Bedrock Prompt Management.""" + BEDROCK_PROMPT_ROUTER = "BEDROCK_PROMPT_ROUTER" + """An Amazon Bedrock prompt router that selects a model per request.""" + BEDROCK_GUARDRAIL = "BEDROCK_GUARDRAIL" + """An Amazon Bedrock guardrail evaluated during a model invocation.""" + SAGEMAKER_ENDPOINT = "SAGEMAKER_ENDPOINT" + """An Amazon SageMaker inference endpoint.""" + +@dataclass(kw_only=True) +class FindingStatistics(_SerdeShape): + """Contains information about finding statistics.""" + + count_by_severity: dict[str, int] | None = ... + """ + Represents a list of map of severity to count statistics for a set of + findings. + """ + grouped_by_account: list[AccountStatistics] | None = ... + """ + Represents a list of map of accounts with a findings count associated + with each account. + """ + grouped_by_date: list[DateStatistics] | None = ... + """ + Represents a list of map of dates with a count of total findings + generated on each date per severity level. + """ + grouped_by_finding_type: list[FindingTypeStatistics] | None = ... + """ + Represents a list of map of finding types with a count of total findings + generated for each type. + + Based on the `orderBy` parameter, this request returns either the most + occurring finding types or the least occurring finding types. If the + `orderBy` parameter is `ASC`, this will represent the least occurring + finding types in your account; otherwise, this will represent the most + occurring finding types. The default value of `orderBy` is `DESC`. + """ + grouped_by_resource: list[ResourceStatistics] | None = ... + """ + Represents a list of map of top resources with a count of total + findings. + """ + grouped_by_severity: list[SeverityStatistics] | None = ... + """Represents a list of map of total findings for each severity level.""" + +class FindingStatisticType(UnknownEnumMixin, StrEnum): + COUNT_BY_SEVERITY = "COUNT_BY_SEVERITY" + +@dataclass(kw_only=True) +class FindingTypeStatistics(_SerdeShape): + """ + Information about each finding type associated with the + `groupedByFindingType` statistics. + """ + + finding_type: str | None = ... + """Name of the finding type.""" + last_generated_at: datetime | None = ... + """ + The timestamp at which this finding type was last generated in your + environment. + """ + total_findings: int | None = ... + """ + The total number of findings associated with generated for each distinct + finding type. + """ + +@dataclass(kw_only=True) +class FlowLogsConfigurationResult(_SerdeShape): + """Contains information on the status of VPC flow logs as a data source.""" + + status: str | None = ... + """Denotes whether VPC flow logs is enabled as a data source.""" + +@dataclass(kw_only=True) +class FreeTrialFeatureConfigurationResult(_SerdeShape): + """Contains information about the free trial period for a feature.""" + + name: str | None = ... + """The name of the feature for which the free trial is configured.""" + free_trial_days_remaining: int | None = ... + """The number of the remaining free trial days for the feature.""" + +class FreeTrialFeatureResult(UnknownEnumMixin, StrEnum): + FLOW_LOGS = "FLOW_LOGS" + CLOUD_TRAIL = "CLOUD_TRAIL" + DNS_LOGS = "DNS_LOGS" + S3_DATA_EVENTS = "S3_DATA_EVENTS" + EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" + EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" + RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" + LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" + EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" + EC2_RUNTIME_MONITORING = "EC2_RUNTIME_MONITORING" + FARGATE_RUNTIME_MONITORING = "FARGATE_RUNTIME_MONITORING" + AI_PROTECTION = "AI_PROTECTION" + +@dataclass(kw_only=True) +class GeoLocation(_SerdeShape): + """ + Contains information about the location of the remote IP address. By + default, GuardDuty returns `Geolocation` with `Lat` and `Lon` as `0.0`. + """ + + lat: float | None = ... + """The latitude information of the remote IP address.""" + lon: float | None = ... + """The longitude information of the remote IP address.""" + +@dataclass(kw_only=True) +class GetAdministratorAccountInput(_SerdeShape): + """Dataclass for GetAdministratorAccountInput structure.""" + + detector_id: str | None = ... + """The unique ID of the detector of the GuardDuty member account.""" + +@dataclass(kw_only=True) +class GetAdministratorAccountOutput(_SerdeShape): + """Dataclass for GetAdministratorAccountOutput structure.""" + + administrator: Administrator | None = ... + """The administrator account details.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCoverageStatisticsInput(_SerdeShape): + """Dataclass for GetCoverageStatisticsInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the GuardDuty detector. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + filter_criteria: CoverageFilterCriteria | None = ... + """Represents the criteria used to filter the coverage statistics.""" + statistics_type: list[str] | None = ... + """Represents the statistics type used to aggregate the coverage details.""" + +@dataclass(kw_only=True) +class GetCoverageStatisticsOutput(_SerdeShape): + """Dataclass for GetCoverageStatisticsOutput structure.""" + + coverage_statistics: CoverageStatistics | None = ... + """Represents the count aggregated by the `statusCode` and `resourceType`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCustomDetectionRuleAssociationInput(_SerdeShape): + """Dataclass for GetCustomDetectionRuleAssociationInput structure.""" + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + association_id: str | None = ... + """The unique identifier for the association.""" + +@dataclass(kw_only=True) +class GetCustomDetectionRuleAssociationOutput(_SerdeShape): + """Dataclass for GetCustomDetectionRuleAssociationOutput structure.""" + + rule_association: AssociationDetail | None = ... + """The details of the custom detection rule association.""" + tags: dict[str, str] | None = ... + """The tags associated with the custom detection rule association resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCustomDetectionRuleInput(_SerdeShape): + """Dataclass for GetCustomDetectionRuleInput structure.""" + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + +@dataclass(kw_only=True) +class GetCustomDetectionRuleOrgConfigurationInput(_SerdeShape): + """Dataclass for GetCustomDetectionRuleOrgConfigurationInput structure.""" + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + mode: str | None = ... + """ + The execution mode of the organization configuration to retrieve. Valid + values: `LIVE` | `DRY_RUN`. + """ + +@dataclass(kw_only=True) +class GetCustomDetectionRuleOrgConfigurationOutput(_SerdeShape): + """Dataclass for GetCustomDetectionRuleOrgConfigurationOutput structure.""" + + configuration: DetectionRuleOrgConfiguration | None = ... + """The details of the organization configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCustomDetectionRuleOutput(_SerdeShape): + """Dataclass for GetCustomDetectionRuleOutput structure.""" + + rule: RuleDetail | None = ... + """The details of the custom detection rule.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDetectorInput(_SerdeShape): + """Dataclass for GetDetectorInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that you want to get. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + +@dataclass(kw_only=True) +class GetDetectorOutput(_SerdeShape): + """Dataclass for GetDetectorOutput structure.""" + + created_at: str | None = ... + """The timestamp of when the detector was created.""" + finding_publishing_frequency: str | None = ... + """The publishing frequency of the finding.""" + service_role: str | None = ... + """The GuardDuty service role.""" + status: str | None = ... + """The detector status.""" + updated_at: str | None = ... + """The last-updated timestamp for the detector.""" + data_sources: DataSourceConfigurationsResult | None = ... + """Describes which data sources are enabled for the detector.""" + tags: dict[str, str] | None = ... + """The tags of the detector resource.""" + features: list[DetectorFeatureConfigurationResult] | None = ... + """Describes the features that have been enabled for the detector.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFilterInput(_SerdeShape): + """Dataclass for GetFilterInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with this filter. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + filter_name: str | None = ... + """The name of the filter you want to get.""" + +@dataclass(kw_only=True) +class GetFilterOutput(_SerdeShape): + """Dataclass for GetFilterOutput structure.""" + + name: str | None = ... + """The name of the filter.""" + description: str | None = ... + """The description of the filter.""" + action: str | None = ... + """ + Specifies the action that is to be applied to the findings that match + the filter. + """ + rank: int | None = ... + """ + Specifies the position of the filter in the list of current filters. + Also specifies the order in which this filter is applied to the + findings. + """ + finding_criteria: FindingCriteria | None = ... + """Represents the criteria to be used in the filter for querying findings.""" + tags: dict[str, str] | None = ... + """The tags of the filter resource.""" + created_at: datetime | None = ... + """ + The timestamp when the filter was created. This field is not available + for filters that were created before the lifecycle metadata feature was + enabled (legacy filters). + """ + updated_at: datetime | None = ... + """ + The timestamp when the filter was last updated. For legacy filters, this + field is present only after the filter has been updated at least once + since the lifecycle metadata feature was enabled. + """ + version: int | None = ... + """ + The version of the filter. Every time the filter is updated, the version + increments by 1. This field is not available for legacy filters that + were created before the lifecycle metadata feature was enabled. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFindingsInput(_SerdeShape): + """Dataclass for GetFindingsInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector that specifies the GuardDuty service whose + findings you want to retrieve. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + finding_ids: list[str] | None = ... + """The IDs of the findings that you want to retrieve.""" + sort_criteria: SortCriteria | None = ... + """Represents the criteria used for sorting findings.""" + +@dataclass(kw_only=True) +class GetFindingsOutput(_SerdeShape): + """Dataclass for GetFindingsOutput structure.""" + + findings: list[Finding] | None = ... + """A list of findings.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFindingsStatisticsInput(_SerdeShape): + """Dataclass for GetFindingsStatisticsInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector whose findings statistics you want to retrieve. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + finding_statistic_types: list[str] | None = ... + """The types of finding statistics to retrieve.""" + finding_criteria: FindingCriteria | None = ... + """Represents the criteria that is used for querying findings.""" + group_by: str | None = ... + """ + Displays the findings statistics grouped by one of the listed valid + values. + """ + order_by: str | None = ... + """ + Displays the sorted findings in the requested order. The default value + of `orderBy` is `DESC`. + + You can use this parameter only with the `groupBy` parameter. + """ + max_results: int | None = ... + """ + The maximum number of results to be returned in the response. The + default value is 25. + + You can use this parameter only with the `groupBy` parameter. + """ + +@dataclass(kw_only=True) +class GetFindingsStatisticsOutput(_SerdeShape): + """Dataclass for GetFindingsStatisticsOutput structure.""" + + finding_statistics: FindingStatistics | None = ... + """The finding statistics object.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + + This parameter is currently not supported. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInvestigationInput(_SerdeShape): + """Dataclass for GetInvestigationInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the GuardDuty detector associated with the + investigation. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + investigation_id: str | None = ... + """The unique identifier of the investigation to retrieve.""" + +@dataclass(kw_only=True) +class GetInvestigationOutput(_SerdeShape): + """Dataclass for GetInvestigationOutput structure.""" + + investigation: Investigation | None = ... + """The details and results of the requested investigation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInvitationsCountInput(_SerdeShape): + """Dataclass for GetInvitationsCountInput structure.""" + +@dataclass(kw_only=True) +class GetInvitationsCountOutput(_SerdeShape): + """Dataclass for GetInvitationsCountOutput structure.""" + + invitations_count: int | None = ... + """The number of received invitations.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIPSetInput(_SerdeShape): + """Dataclass for GetIPSetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with the IPSet. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + ip_set_id: str | None = ... + """The unique ID of the IPSet to retrieve.""" + +@dataclass(kw_only=True) +class GetIPSetOutput(_SerdeShape): + """Dataclass for GetIPSetOutput structure.""" + + name: str | None = ... + """The user-friendly name for the IPSet.""" + format: str | None = ... + """The format of the file that contains the IPSet.""" + location: str | None = ... + """The URI of the file that contains the IPSet.""" + status: str | None = ... + """The status of IPSet file that was uploaded.""" + tags: dict[str, str] | None = ... + """The tags of the IPSet resource.""" + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. This field appears in the + response only if it was provided during IPSet creation or update. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMalwareProtectionPlanInput(_SerdeShape): + """Dataclass for GetMalwareProtectionPlanInput structure.""" + + malware_protection_plan_id: str | None = ... + """A unique identifier associated with Malware Protection plan resource.""" + +@dataclass(kw_only=True) +class GetMalwareProtectionPlanOutput(_SerdeShape): + """Dataclass for GetMalwareProtectionPlanOutput structure.""" + + arn: str | None = ... + """Amazon Resource Name (ARN) of the protected resource.""" + role: str | None = ... + """ + Amazon Resource Name (ARN) of the IAM role that includes the permissions + to scan and add tags to the associated protected resource. + """ + protected_resource: CreateProtectedResource | None = ... + """ + Information about the protected resource that is associated with the + created Malware Protection plan. Presently, `S3Bucket` is the only + supported protected resource. + """ + actions: MalwareProtectionPlanActions | None = ... + """ + Information about whether the tags will be added to the S3 object after + scanning. + """ + created_at: datetime | None = ... + """The timestamp when the Malware Protection plan resource was created.""" + status: str | None = ... + """Malware Protection plan status.""" + status_reasons: list[MalwareProtectionPlanStatusReason] | None = ... + """ + Information about the issue code and message associated to the status of + your Malware Protection plan. + """ + tags: dict[str, str] | None = ... + """Tags added to the Malware Protection plan resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMalwareScanInput(_SerdeShape): + """Dataclass for GetMalwareScanInput structure.""" + + scan_id: str | None = ... + """ + A unique identifier that gets generated when you invoke the API without + any error. Each malware scan has a corresponding scan ID. Using this + scan ID, you can monitor the status of your malware scan. + """ diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/models_1.pyi b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/models_1.pyi new file mode 100644 index 000000000..7daf85c87 --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/models_1.pyi @@ -0,0 +1,4708 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccessKey, + AccessKeyDetails, + AccountFreeTrialInfo, + AccountLevelPermissions, + Action, + Activity, + Actor, + AdditionalInfo, + AdminAccount, + AssociationSummary, + AutonomousSystem, + AutoscalingAutoScalingGroup, + BedrockGuardrailDetails, + BedrockGuardrailResource, + BucketLevelPermissions, + City, + CloudDetails, + CloudformationStack, + Container, + ContainerFindingResource, + ContinuousScanDetails, + Country, + CoverageFilterCriteria, + CoverageResource, + CoverageSortCriteria, + DataSourceConfigurationsResult, + DataSourceFreeTrial, + DefaultServerSideEncryption, + Destination, + Detection, + DetectionRuleFilter, + DetectionRuleOrgConfigurationSummary, + DetectionRuleRuntimeMonitoringDetails, + EbsSnapshot, + EbsSnapshotDetails, + EbsVolumeDetails, + EbsVolumeScanDetails, + EbsVolumesResult, + Ec2Image, + Ec2ImageDetails, + Ec2Instance, + Ec2LaunchTemplate, + Ec2NetworkInterface, + Ec2Vpc, + EcsCluster, + EcsClusterDetails, + EcsTask, + EksCluster, + EksClusterDetails, + Evidence, + FilterCondition, + FindingCriteria, + GeoLocation, + ServiceError, + SortCriteria, + Tag, + Threat, + ThreatDetectedByName, + ThreatsDetectedItemCount, + TriggerDetails, + UnprocessedAccount, + UsageCriteria, + UsageStatistics, + Volume, + VolumeDetail, + VpcConfig, + _SerdeShape, +) + +@dataclass(kw_only=True) +class GetMalwareScanOutput(_SerdeShape): + """Dataclass for GetMalwareScanOutput structure.""" + + scan_id: str | None = ... + """ + A unique identifier associated with the malware scan. Each malware scan + has a corresponding scan ID. Using this scan ID, you can monitor the + status of your malware scan. + """ + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with the request, if it + belongs to an account which is a GuardDuty customer. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + admin_detector_id: str | None = ... + """ + The unique detector ID of the administrator account that the request is + associated with. If the account is an administrator, the + `AdminDetectorId` will be the same as the one used for + `DetectorId. If the customer is not a GuardDuty customer, this field will not be present.`. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + resource_arn: str | None = ... + """ + Amazon Resource Name (ARN) of the resource on which a malware scan was + invoked. + """ + resource_type: str | None = ... + """The type of resource that was scanned for malware.""" + scanned_resources_count: int | None = ... + """ + The total number of resources that were successfully scanned. This is + dependent on the resource type. + """ + skipped_resources_count: int | None = ... + """The total number of resources that were skipped during the scan.""" + failed_resources_count: int | None = ... + """The total number of resources that failed to be scanned.""" + scanned_resources: list[ScannedResource] | None = ... + """ + A list of resources along with their metadata that were scanned as part + of the malware scan operation. + """ + scan_configuration: ScanConfiguration | None = ... + """Information about the scan configuration used for the malware scan.""" + scan_category: str | None = ... + """The category of the malware scan, indicating the type of scan performed.""" + scan_status: str | None = ... + """A value representing the current status of the malware scan.""" + scan_status_reason: str | None = ... + """Represents the reason for the current scan status, if applicable.""" + scan_type: str | None = ... + """A value representing the initiator of the scan.""" + scan_started_at: datetime | None = ... + """The timestamp representing when the malware scan was started.""" + scan_completed_at: datetime | None = ... + """The timestamp representing when the malware scan was completed.""" + scan_result_details: GetMalwareScanResultDetails | None = ... + """ + Detailed information about the results of the malware scan, if the scan + completed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMalwareScanResultDetails(_SerdeShape): + """Contains information about the results of the malware scan.""" + + scan_result_status: str | None = ... + """Status indicating whether threats were found for a completed scan.""" + skipped_file_count: int | None = ... + """The total number of files that were skipped during the scan.""" + failed_file_count: int | None = ... + """The total number of files that failed to be scanned.""" + threat_found_file_count: int | None = ... + """The total number of files in which threats were detected.""" + total_file_count: int | None = ... + """The total number of files that were processed during the scan.""" + total_bytes: int | None = ... + """The total number of bytes that were scanned.""" + unique_threat_count: int | None = ... + """The total number of unique threats that were detected during the scan.""" + threats: list[ScanResultThreat] | None = ... + """The threats that were detected during the malware scan.""" + +@dataclass(kw_only=True) +class GetMalwareScanSettingsInput(_SerdeShape): + """Dataclass for GetMalwareScanSettingsInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with this scan. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + +@dataclass(kw_only=True) +class GetMalwareScanSettingsOutput(_SerdeShape): + """Dataclass for GetMalwareScanSettingsOutput structure.""" + + scan_resource_criteria: ScanResourceCriteria | None = ... + """Represents the criteria to be used in the filter for scanning resources.""" + ebs_snapshot_preservation: str | None = ... + """An enum value representing possible snapshot preservation settings.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMasterAccountInput(_SerdeShape): + """Dataclass for GetMasterAccountInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty member account. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + +@dataclass(kw_only=True) +class GetMasterAccountOutput(_SerdeShape): + """Dataclass for GetMasterAccountOutput structure.""" + + master: Master | None = ... + """The administrator account details.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMemberDetectorsInput(_SerdeShape): + """Dataclass for GetMemberDetectorsInput structure.""" + + detector_id: str | None = ... + """ + The detector ID for the administrator account. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + account_ids: list[str] | None = ... + """A list of member account IDs.""" + +@dataclass(kw_only=True) +class GetMemberDetectorsOutput(_SerdeShape): + """Dataclass for GetMemberDetectorsOutput structure.""" + + member_data_source_configurations: list[MemberDataSourceConfiguration] | None = ... + """ + An object that describes which data sources are enabled for a member + account. + """ + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of member account IDs that were unable to be processed along with + an explanation for why they were not processed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMembersInput(_SerdeShape): + """Dataclass for GetMembersInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty account whose members you + want to retrieve. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + account_ids: list[str] | None = ... + """ + A list of account IDs of the GuardDuty member accounts that you want to + describe. + """ + +@dataclass(kw_only=True) +class GetMembersOutput(_SerdeShape): + """Dataclass for GetMembersOutput structure.""" + + members: list[Member] | None = ... + """A list of members.""" + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of objects that contain the unprocessed account and a result + string that explains why it was unprocessed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOrganizationStatisticsInput(_SerdeShape): + """Dataclass for GetOrganizationStatisticsInput structure.""" + +@dataclass(kw_only=True) +class GetOrganizationStatisticsOutput(_SerdeShape): + """Dataclass for GetOrganizationStatisticsOutput structure.""" + + organization_details: OrganizationDetails | None = ... + """Information about the statistics report for your organization.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRemainingFreeTrialDaysInput(_SerdeShape): + """Dataclass for GetRemainingFreeTrialDaysInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty member account. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + account_ids: list[str] | None = ... + """A list of account identifiers of the GuardDuty member account.""" + +@dataclass(kw_only=True) +class GetRemainingFreeTrialDaysOutput(_SerdeShape): + """Dataclass for GetRemainingFreeTrialDaysOutput structure.""" + + accounts: list[AccountFreeTrialInfo] | None = ... + """ + The member accounts which were included in a request and were processed + successfully. + """ + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + The member account that was included in a request but for which the + request could not be processed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetThreatEntitySetInput(_SerdeShape): + """Dataclass for GetThreatEntitySetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector associated with the threat entity set + resource. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + threat_entity_set_id: str | None = ... + """The unique ID that helps GuardDuty identify the threat entity set.""" + +@dataclass(kw_only=True) +class GetThreatEntitySetOutput(_SerdeShape): + """Dataclass for GetThreatEntitySetOutput structure.""" + + name: str | None = ... + """ + The name of the threat entity set associated with the specified + `threatEntitySetId`. + """ + format: str | None = ... + """The format of the file that contains the threat entity set.""" + location: str | None = ... + """The URI of the file that contains the threat entity set.""" + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + status: str | None = ... + """The status of the associated threat entity set.""" + tags: dict[str, str] | None = ... + """The tags associated with the threat entity set resource.""" + created_at: datetime | None = ... + """The timestamp when the associated threat entity set was created.""" + updated_at: datetime | None = ... + """The timestamp when the associated threat entity set was updated.""" + error_details: str | None = ... + """The error details when the status is shown as `ERROR`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetThreatIntelSetInput(_SerdeShape): + """Dataclass for GetThreatIntelSetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with the + threatIntelSet. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + threat_intel_set_id: str | None = ... + """The unique ID of the threatIntelSet that you want to get.""" + +@dataclass(kw_only=True) +class GetThreatIntelSetOutput(_SerdeShape): + """Dataclass for GetThreatIntelSetOutput structure.""" + + name: str | None = ... + """ + A user-friendly ThreatIntelSet name displayed in all findings that are + generated by activity that involves IP addresses included in this + ThreatIntelSet. + """ + format: str | None = ... + """The format of the threatIntelSet.""" + location: str | None = ... + """The URI of the file that contains the ThreatIntelSet.""" + status: str | None = ... + """The status of threatIntelSet file uploaded.""" + tags: dict[str, str] | None = ... + """The tags of the threat list resource.""" + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. This field appears in the + response only if it was provided during ThreatIntelSet creation or + update. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetTrustedEntitySetInput(_SerdeShape): + """Dataclass for GetTrustedEntitySetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the GuardDuty detector associated with this trusted + entity set. + """ + trusted_entity_set_id: str | None = ... + """The unique ID that helps GuardDuty identify the trusted entity set.""" + +@dataclass(kw_only=True) +class GetTrustedEntitySetOutput(_SerdeShape): + """Dataclass for GetTrustedEntitySetOutput structure.""" + + name: str | None = ... + """ + The name of the threat entity set associated with the specified + `trustedEntitySetId`. + """ + format: str | None = ... + """The format of the file that contains the trusted entity set.""" + location: str | None = ... + """The URI of the file that contains the trusted entity set.""" + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + status: str | None = ... + """The status of the associated trusted entity set.""" + tags: dict[str, str] | None = ... + """The tags associated with trusted entity set resource.""" + created_at: datetime | None = ... + """The timestamp when the associated trusted entity set was created.""" + updated_at: datetime | None = ... + """The timestamp when the associated trusted entity set was updated.""" + error_details: str | None = ... + """The error details when the status is shown as `ERROR`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUsageStatisticsInput(_SerdeShape): + """Dataclass for GetUsageStatisticsInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector that specifies the GuardDuty service whose usage + statistics you want to retrieve. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + usage_statistic_type: str | None = ... + """The type of usage statistics to retrieve.""" + usage_criteria: UsageCriteria | None = ... + """Represents the criteria used for querying usage.""" + unit: str | None = ... + """ + The currency unit you would like to view your usage statistics in. + Current valid values are USD. + """ + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """ + A token to use for paginating results that are returned in the response. + Set the value of this parameter to null for the first request to a list + action. For subsequent calls, use the NextToken value returned from the + previous request to continue listing results after the first page. + """ + +@dataclass(kw_only=True) +class GetUsageStatisticsOutput(_SerdeShape): + """Dataclass for GetUsageStatisticsOutput structure.""" + + usage_statistics: UsageStatistics | None = ... + """ + The usage statistics object. If a UsageStatisticType was provided, the + objects representing other types will be null. + """ + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class GroupByType(UnknownEnumMixin, StrEnum): + ACCOUNT = "ACCOUNT" + DATE = "DATE" + FINDING_TYPE = "FINDING_TYPE" + RESOURCE = "RESOURCE" + SEVERITY = "SEVERITY" + +class GuardrailAction(UnknownEnumMixin, StrEnum): + GUARDRAIL_INTERVENED = "GUARDRAIL_INTERVENED" + NONE = "NONE" + +class GuardrailSource(UnknownEnumMixin, StrEnum): + INPUT = "INPUT" + OUTPUT = "OUTPUT" + +@dataclass(kw_only=True) +class HighestSeverityThreatDetails(_SerdeShape): + """ + Contains details of the highest severity threat detected during scan and + number of infected files. + """ + + severity: str | None = ... + """Severity level of the highest severity threat detected.""" + threat_name: str | None = ... + """ + Threat name of the highest severity threat detected as part of the + malware scan. + """ + count: int | None = ... + """ + Total number of infected files with the highest severity threat + detected. + """ + +@dataclass(kw_only=True) +class HostPath(_SerdeShape): + """ + Represents a pre-existing file or directory on the host machine that the + volume maps to. + """ + + path: str | None = ... + """Path of the file or directory on the host that the volume maps to.""" + +@dataclass(kw_only=True) +class IamInstanceProfile(_SerdeShape): + """Contains information about the EC2 instance profile.""" + + arn: str | None = ... + """The profile ARN of the EC2 instance.""" + id: str | None = ... + """The profile ID of the EC2 instance.""" + +@dataclass(kw_only=True) +class IamInstanceProfileV2(_SerdeShape): + """ + Contains information about the IAM instance profile involved in a + GuardDuty finding, including unique identifiers of the Amazon EC2 + instances. + """ + + ec2_instance_uids: list[str] | None = ... + """ + A list of unique identifiers for the compromised Amazon EC2 instances + that share the same IAM instance profile. + """ + +@dataclass(kw_only=True) +class ImpersonatedUser(_SerdeShape): + """Contains information about the impersonated user.""" + + username: str | None = ... + """Information about the `username` that was being impersonated.""" + groups: list[str] | None = ... + """The `group` to which the user name belongs.""" + +@dataclass(kw_only=True) +class IncrementalScanDetails(_SerdeShape): + """Contains information about the incremental scan configuration.""" + + baseline_resource_arn: str | None = ... + """ + Amazon Resource Name (ARN) of the baseline resource used for incremental + scanning. The scan will only process changes since this baseline + resource was created. + """ + +@dataclass(kw_only=True) +class Indicator(_SerdeShape): + """ + Contains information about the indicators that include a set of signals + observed in an attack sequence. + """ + + key: str | None = ... + """ + Specific indicator keys observed in the attack sequence. For description + of the valid values for key, see [Attack sequence finding + details](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings-summary.html#guardduty-extended-threat-detection-attack-sequence-finding-details) + in the *Amazon GuardDuty User Guide*. + """ + values: list[str] | None = ... + """ + Values associated with each indicator key. For example, if the indicator + key is `SUSPICIOUS_NETWORK`, then the value will be the name of the + network. If the indicator key is `ATTACK_TACTIC`, then the value will be + one of the MITRE tactics. + """ + title: str | None = ... + """Title describing the indicator.""" + +class IndicatorType(UnknownEnumMixin, StrEnum): + SUSPICIOUS_USER_AGENT = "SUSPICIOUS_USER_AGENT" + SUSPICIOUS_NETWORK = "SUSPICIOUS_NETWORK" + MALICIOUS_IP = "MALICIOUS_IP" + TOR_IP = "TOR_IP" + ATTACK_TACTIC = "ATTACK_TACTIC" + HIGH_RISK_API = "HIGH_RISK_API" + ATTACK_TECHNIQUE = "ATTACK_TECHNIQUE" + UNUSUAL_API_FOR_ACCOUNT = "UNUSUAL_API_FOR_ACCOUNT" + UNUSUAL_ASN_FOR_ACCOUNT = "UNUSUAL_ASN_FOR_ACCOUNT" + UNUSUAL_ASN_FOR_USER = "UNUSUAL_ASN_FOR_USER" + SUSPICIOUS_PROCESS = "SUSPICIOUS_PROCESS" + MALICIOUS_DOMAIN = "MALICIOUS_DOMAIN" + MALICIOUS_PROCESS = "MALICIOUS_PROCESS" + CRYPTOMINING_IP = "CRYPTOMINING_IP" + CRYPTOMINING_DOMAIN = "CRYPTOMINING_DOMAIN" + CRYPTOMINING_PROCESS = "CRYPTOMINING_PROCESS" + MALICIOUS_FILE = "MALICIOUS_FILE" + VULNERABILITY = "VULNERABILITY" + MALICIOUS_PACKAGE = "MALICIOUS_PACKAGE" + MISCONFIGURATION = "MISCONFIGURATION" + REACHABILITY = "REACHABILITY" + SENSITIVE_DATA = "SENSITIVE_DATA" + +@dataclass(kw_only=True) +class InstanceDetails(_SerdeShape): + """Contains information about the details of an instance.""" + + availability_zone: str | None = ... + """The Availability Zone of the EC2 instance.""" + iam_instance_profile: IamInstanceProfile | None = ... + """The profile information of the EC2 instance.""" + image_description: str | None = ... + """The image description of the EC2 instance.""" + image_id: str | None = ... + """The image ID of the EC2 instance.""" + instance_id: str | None = ... + """The ID of the EC2 instance.""" + instance_state: str | None = ... + """The state of the EC2 instance.""" + instance_type: str | None = ... + """The type of the EC2 instance.""" + outpost_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. Only + applicable to Amazon Web Services Outposts instances. + """ + launch_time: str | None = ... + """The launch time of the EC2 instance.""" + network_interfaces: list[NetworkInterface] | None = ... + """The elastic network interface information of the EC2 instance.""" + platform: str | None = ... + """The platform of the EC2 instance.""" + product_codes: list[ProductCode] | None = ... + """The product code of the EC2 instance.""" + tags: list[Tag] | None = ... + """The tags of the EC2 instance.""" + +@dataclass(kw_only=True) +class InternalServerErrorException(ServiceError, _SerdeShape): + """An internal server error exception object.""" + + type: str | None = ... + """The error type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Investigation(_SerdeShape): + """Contains the details and results of a GuardDuty investigation.""" + + investigation_id: str | None = ... + """The unique identifier of the investigation.""" + status: str | None = ... + """ + The current status of the investigation. Possible values are `RUNNING`, + `COMPLETED`, and `FAILED`. + """ + trigger_prompt: str | None = ... + """The natural-language prompt that initiated this investigation.""" + triggered_by: str | None = ... + """The account that initiated the investigation.""" + metadata: InvestigationMetadata | None = ... + """Metadata about the product and version that produced the investigation.""" + cloud: CloudDetails | None = ... + """ + Details about the cloud environment in which the investigation was + performed, including the provider, region, and account. + """ + risk_level: str | None = ... + """ + The assessed risk level of the investigated threat. Possible values are + `Info`, `Low`, `Medium`, `High`, and `Critical`. + """ + risk: str | None = ... + """A human-readable description of the assessed risk.""" + confidence: str | None = ... + """ + The confidence level of the investigation's assessment. Possible values + are `Unknown`, `Low`, `Medium`, and `High`. + """ + summary: str | None = ... + """ + A structured summary of the investigation findings, including affected + resources, threat assessment, and recommended remediation steps. + """ + start_time: datetime | None = ... + """The timestamp at which the investigation started.""" + end_time: datetime | None = ... + """The timestamp at which the investigation completed.""" + error: str | None = ... + """Details about the error if the investigation status is `FAILED`.""" + +@dataclass(kw_only=True) +class InvestigationMetadata(_SerdeShape): + """ + Contains metadata about the product and version that produced an + investigation. + """ + + version: str | None = ... + """The version of the investigation engine that produced the results.""" + product: Product | None = ... + """Information about the product that produced the investigation.""" + +@dataclass(kw_only=True) +class InvestigationSortCriteria(_SerdeShape): + """Contains information about the criteria used for sorting investigations.""" + + attribute_name: str | None = ... + """The attribute by which to sort investigations.""" + order_by: str | None = ... + """The order in which the sorted results are to be displayed.""" + +class InvestigationSortField(UnknownEnumMixin, StrEnum): + START_TIME = "START_TIME" + END_TIME = "END_TIME" + STATUS = "STATUS" + RISK_LEVEL = "RISK_LEVEL" + CONFIDENCE = "CONFIDENCE" + +class InvestigationStatus(UnknownEnumMixin, StrEnum): + RUNNING = "RUNNING" + COMPLETED = "COMPLETED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class InvestigationSummary(_SerdeShape): + """Contains summary information about a GuardDuty investigation.""" + + investigation_id: str | None = ... + """The unique identifier of the investigation.""" + status: str | None = ... + """The current status of the investigation.""" + trigger_prompt: str | None = ... + """The natural-language prompt that initiated this investigation.""" + risk_level: str | None = ... + """The assessed risk level of the investigated threat.""" + confidence: str | None = ... + """The confidence level of the investigation's assessment.""" + title: str | None = ... + """A short title summarizing the investigation.""" + account_id: str | None = ... + """The Amazon Web Services account ID associated with the investigation.""" + start_time: datetime | None = ... + """The timestamp at which the investigation started.""" + end_time: datetime | None = ... + """The timestamp at which the investigation completed.""" + +@dataclass(kw_only=True) +class Invitation(_SerdeShape): + """Contains information about the invitation to become a member account.""" + + account_id: str | None = ... + """The ID of the account that the invitation was sent from.""" + invitation_id: str | None = ... + """ + The ID of the invitation. This value is used to validate the inviter + account to the member account. + """ + relationship_status: str | None = ... + """The status of the relationship between the inviter and invitee accounts.""" + invited_at: str | None = ... + """The timestamp when the invitation was sent.""" + +@dataclass(kw_only=True) +class InviteMembersInput(_SerdeShape): + """Dataclass for InviteMembersInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty account with which you + want to invite members. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + account_ids: list[str] | None = ... + """ + A list of account IDs of the accounts that you want to invite to + GuardDuty as members. + """ + disable_email_notification: bool | None = ... + """ + A Boolean value that specifies whether you want to disable email + notification to the accounts that you are inviting to GuardDuty as + members. + """ + message: str | None = ... + """ + The invitation message that you want to send to the accounts that + you're inviting to GuardDuty as members. + """ + +@dataclass(kw_only=True) +class InviteMembersOutput(_SerdeShape): + """Dataclass for InviteMembersOutput structure.""" + + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of objects that contain the unprocessed account and a result + string that explains why it was unprocessed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class IpSetFormat(UnknownEnumMixin, StrEnum): + TXT = "TXT" + STIX = "STIX" + OTX_CSV = "OTX_CSV" + ALIEN_VAULT = "ALIEN_VAULT" + PROOF_POINT = "PROOF_POINT" + FIRE_EYE = "FIRE_EYE" + +class IpSetStatus(UnknownEnumMixin, StrEnum): + INACTIVE = "INACTIVE" + ACTIVATING = "ACTIVATING" + ACTIVE = "ACTIVE" + DEACTIVATING = "DEACTIVATING" + ERROR = "ERROR" + DELETE_PENDING = "DELETE_PENDING" + DELETED = "DELETED" + +@dataclass(kw_only=True) +class ItemDetails(_SerdeShape): + """Contains detailed information about where a threat was detected.""" + + resource_arn: str | None = ... + """ + Amazon Resource Name (ARN) of the resource where the threat was + detected. + """ + item_path: str | None = ... + """The path where the threat was detected.""" + hash: str | None = ... + """The hash value of the infected item.""" + additional_info: AdditionalInfo | None = ... + """Additional information about the detected threat item.""" + +@dataclass(kw_only=True) +class ItemPath(_SerdeShape): + """ + Information about the nested item path and hash of the protected + resource. + """ + + nested_item_path: str | None = ... + """The nested item path where the infected file was found.""" + hash: str | None = ... + """The hash value of the infected resource.""" + +@dataclass(kw_only=True) +class KubernetesApiCallAction(_SerdeShape): + """ + Information about the Kubernetes API call action described in this + finding. + """ + + request_uri: str | None = ... + """The Kubernetes API request URI.""" + verb: str | None = ... + """The Kubernetes API request HTTP verb.""" + resource: str | None = ... + """The resource component in the Kubernetes API call action.""" + subresource: str | None = ... + """The name of the sub-resource in the Kubernetes API call action.""" + namespace: str | None = ... + """ + The name of the namespace where the Kubernetes API call action takes + place. + """ + resource_name: str | None = ... + """The name of the resource in the Kubernetes API call action.""" + source_ips: list[str] | None = ... + """ + The IP of the Kubernetes API caller and the IPs of any proxies or load + balancers between the caller and the API endpoint. + """ + user_agent: str | None = ... + """The user agent of the caller of the Kubernetes API.""" + remote_ip_details: RemoteIpDetails | None = ... + """Contains information about the remote IP address of the connection.""" + status_code: int | None = ... + """The resulting HTTP response code of the Kubernetes API call action.""" + parameters: str | None = ... + """Parameters related to the Kubernetes API call action.""" + +@dataclass(kw_only=True) +class KubernetesAuditLogsConfiguration(_SerdeShape): + """Describes whether Kubernetes audit logs are enabled as a data source.""" + + enable: bool | None = ... + """The status of Kubernetes audit logs as a data source.""" + +@dataclass(kw_only=True) +class KubernetesAuditLogsConfigurationResult(_SerdeShape): + """Describes whether Kubernetes audit logs are enabled as a data source.""" + + status: str | None = ... + """ + A value that describes whether Kubernetes audit logs are enabled as a + data source. + """ + +@dataclass(kw_only=True) +class KubernetesConfiguration(_SerdeShape): + """Describes whether any Kubernetes data sources are enabled.""" + + audit_logs: KubernetesAuditLogsConfiguration | None = ... + """The status of Kubernetes audit logs as a data source.""" + +@dataclass(kw_only=True) +class KubernetesConfigurationResult(_SerdeShape): + """Describes whether any Kubernetes logs will be enabled as a data source.""" + + audit_logs: KubernetesAuditLogsConfigurationResult | None = ... + """Describes whether Kubernetes audit logs are enabled as a data source.""" + +@dataclass(kw_only=True) +class KubernetesDataSourceFreeTrial(_SerdeShape): + """ + Provides details about the Kubernetes resources when it is enabled as a + data source. + """ + + audit_logs: DataSourceFreeTrial | None = ... + """Describes whether Kubernetes audit logs are enabled as a data source.""" + +@dataclass(kw_only=True) +class KubernetesDetails(_SerdeShape): + """ + Details about Kubernetes resources such as a Kubernetes user or workload + resource involved in a Kubernetes finding. + """ + + kubernetes_user_details: KubernetesUserDetails | None = ... + """Details about the Kubernetes user involved in a Kubernetes finding.""" + kubernetes_workload_details: KubernetesWorkloadDetails | None = ... + """Details about the Kubernetes workload involved in a Kubernetes finding.""" + +@dataclass(kw_only=True) +class KubernetesPermissionCheckedDetails(_SerdeShape): + """ + Information about the Kubernetes API for which you check if you have + permission to call. + """ + + verb: str | None = ... + """ + The verb component of the Kubernetes API call. For example, when you + check whether or not you have the permission to call the `CreatePod` + API, the verb component will be `Create`. + """ + resource: str | None = ... + """ + The Kubernetes resource with which your Kubernetes API call will + interact. + """ + namespace: str | None = ... + """The namespace where the Kubernetes API action will take place.""" + allowed: bool | None = ... + """ + Information whether the user has the permission to call the Kubernetes + API. + """ + +class KubernetesResourcesTypes(UnknownEnumMixin, StrEnum): + PODS = "PODS" + JOBS = "JOBS" + CRONJOBS = "CRONJOBS" + DEPLOYMENTS = "DEPLOYMENTS" + DAEMONSETS = "DAEMONSETS" + STATEFULSETS = "STATEFULSETS" + REPLICASETS = "REPLICASETS" + REPLICATIONCONTROLLERS = "REPLICATIONCONTROLLERS" + +@dataclass(kw_only=True) +class KubernetesRoleBindingDetails(_SerdeShape): + """ + Contains information about the role binding that grants the permission + defined in a Kubernetes role. + """ + + kind: str | None = ... + """ + The kind of the role. For role binding, this value will be + `RoleBinding`. + """ + name: str | None = ... + """The name of the `RoleBinding`.""" + uid: str | None = ... + """The unique identifier of the role binding.""" + role_ref_name: str | None = ... + """ + The name of the role being referenced. This must match the name of the + `Role` or `ClusterRole` that you want to bind to. + """ + role_ref_kind: str | None = ... + """ + The type of the role being referenced. This could be either `Role` or + `ClusterRole`. + """ + +@dataclass(kw_only=True) +class KubernetesRoleDetails(_SerdeShape): + """Information about the Kubernetes role name and role type.""" + + kind: str | None = ... + """The kind of role. For this API, the value of `kind` will be `Role`.""" + name: str | None = ... + """The name of the Kubernetes role.""" + uid: str | None = ... + """The unique identifier of the Kubernetes role name.""" + +@dataclass(kw_only=True) +class KubernetesUserDetails(_SerdeShape): + """Details about the Kubernetes user involved in a Kubernetes finding.""" + + username: str | None = ... + """The username of the user who called the Kubernetes API.""" + uid: str | None = ... + """The user ID of the user who called the Kubernetes API.""" + groups: list[str] | None = ... + """The groups that include the user who called the Kubernetes API.""" + session_name: list[str] | None = ... + """ + Entity that assumes the IAM role when Kubernetes RBAC permissions are + assigned to that role. + """ + impersonated_user: ImpersonatedUser | None = ... + """Information about the impersonated user.""" + +@dataclass(kw_only=True) +class KubernetesWorkload(_SerdeShape): + """ + Contains information about Kubernetes workloads involved in a GuardDuty + finding, including pods, deployments, and other Kubernetes resources. + """ + + container_uids: list[str] | None = ... + """ + A list of unique identifiers for the containers that are part of the + Kubernetes workload. + """ + namespace: str | None = ... + """ + The Kubernetes namespace in which the workload is running, providing + logical isolation within the cluster. + """ + kubernetes_resources_types: str | None = ... + """The types of Kubernetes resources involved in the workload.""" + +@dataclass(kw_only=True) +class KubernetesWorkloadDetails(_SerdeShape): + """Details about the Kubernetes workload involved in a Kubernetes finding.""" + + name: str | None = ... + """Kubernetes workload name.""" + type: str | None = ... + """Kubernetes workload type (e.g. Pod, Deployment, etc.).""" + uid: str | None = ... + """Kubernetes workload ID.""" + namespace: str | None = ... + """Kubernetes namespace that the workload is part of.""" + host_network: bool | None = ... + """ + Whether the hostNetwork flag is enabled for the pods included in the + workload. + """ + service_account_name: str | None = ... + """The service account name that is associated with a Kubernetes workload.""" + containers: list[Container] | None = ... + """Containers running as part of the Kubernetes workload.""" + volumes: list[Volume] | None = ... + """Volumes used by the Kubernetes workload.""" + host_ipc: bool | None = ... + """Whether the host IPC flag is enabled for the pods in the workload.""" + host_pid: bool | None = ... + """Whether the host PID flag is enabled for the pods in the workload.""" + +@dataclass(kw_only=True) +class LambdaDetails(_SerdeShape): + """Information about the Lambda function involved in the finding.""" + + function_arn: str | None = ... + """Amazon Resource Name (ARN) of the Lambda function.""" + function_name: str | None = ... + """Name of the Lambda function.""" + description: str | None = ... + """Description of the Lambda function.""" + last_modified_at: datetime | None = ... + """ + The timestamp when the Lambda function was last modified. This field is + in the UTC date string format `(2023-03-22T19:37:20.168Z)`. + """ + revision_id: str | None = ... + """The revision ID of the Lambda function version.""" + function_version: str | None = ... + """The version of the Lambda function.""" + role: str | None = ... + """The execution role of the Lambda function.""" + vpc_config: VpcConfig | None = ... + """ + Amazon Virtual Private Cloud configuration details associated with your + Lambda function. + """ + tags: list[Tag] | None = ... + """ + A list of tags attached to this resource, listed in the format of + `key`:`value` pair. + """ + +@dataclass(kw_only=True) +class LineageObject(_SerdeShape): + """Information about the runtime process details.""" + + start_time: datetime | None = ... + """The time when the process started. This is in UTC format.""" + namespace_pid: int | None = ... + """The process ID of the child process.""" + user_id: int | None = ... + """The user ID of the user that executed the process.""" + name: str | None = ... + """The name of the process.""" + pid: int | None = ... + """The ID of the process.""" + uuid: str | None = ... + """The unique ID assigned to the process by GuardDuty.""" + executable_path: str | None = ... + """The absolute path of the process executable file.""" + euid: int | None = ... + """The effective user ID that was used to execute the process.""" + parent_uuid: str | None = ... + """ + The unique ID of the parent process. This ID is assigned to the parent + process by GuardDuty. + """ + +@dataclass(kw_only=True) +class ListCoverageInput(_SerdeShape): + """Dataclass for ListCoverageInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector whose coverage details you want to + retrieve. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + next_token: str | None = ... + """ + A token to use for paginating results that are returned in the response. + Set the value of this parameter to null for the first request to a list + action. For subsequent calls, use the NextToken value returned from the + previous request to continue listing results after the first page. + """ + max_results: int | None = ... + """The maximum number of results to return in the response.""" + filter_criteria: CoverageFilterCriteria | None = ... + """Represents the criteria used to filter the coverage details.""" + sort_criteria: CoverageSortCriteria | None = ... + """Represents the criteria used to sort the coverage details.""" + +@dataclass(kw_only=True) +class ListCoverageOutput(_SerdeShape): + """Dataclass for ListCoverageOutput structure.""" + + resources: list[CoverageResource] | None = ... + """A list of resources and their attributes providing cluster details.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCustomDetectionRuleAssociationsInput(_SerdeShape): + """Dataclass for ListCustomDetectionRuleAssociationsInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in a single page. Minimum value + of 1, maximum value of 100. + """ + next_token: str | None = ... + """ + A pagination token from a previous response. Use this token to retrieve + the next page of results. + """ + rule_id: str | None = ... + """ + The unique identifier for the custom detection rule to filter + associations by. + """ + mode: str | None = ... + """The rule execution mode to filter associations by.""" + +@dataclass(kw_only=True) +class ListCustomDetectionRuleAssociationsOutput(_SerdeShape): + """Dataclass for ListCustomDetectionRuleAssociationsOutput structure.""" + + rule_associations: list[AssociationSummary] | None = ... + """A list of custom detection rule association summaries.""" + next_token: str | None = ... + """ + A pagination token to retrieve the next page of results. If this field + is empty, there are no additional results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCustomDetectionRuleOrgConfigurationsInput(_SerdeShape): + """Dataclass for ListCustomDetectionRuleOrgConfigurationsInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in a single page. Minimum value + of 1, maximum value of 100. + """ + next_token: str | None = ... + """ + A pagination token from a previous response. Use this token to retrieve + the next page of results. + """ + status: str | None = ... + """The configuration status to filter by.""" + +@dataclass(kw_only=True) +class ListCustomDetectionRuleOrgConfigurationsOutput(_SerdeShape): + """Dataclass for ListCustomDetectionRuleOrgConfigurationsOutput structure.""" + + configurations: list[DetectionRuleOrgConfigurationSummary] | None = ... + """A list of organization configurations for custom detection rules.""" + next_token: str | None = ... + """ + A pagination token to retrieve the next page of results. If this field + is empty, there are no additional results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCustomDetectionRulesInput(_SerdeShape): + """Dataclass for ListCustomDetectionRulesInput structure.""" + + max_results: int | None = ... + """ + The maximum number of results to return in a single page. Minimum value + of 1, maximum value of 100. + """ + next_token: str | None = ... + """ + A pagination token from a previous response. Use this token to retrieve + the next page of results. + """ + filters: list[DetectionRuleFilter] | None = ... + """A list of filter criteria to apply when listing custom detection rules.""" + +@dataclass(kw_only=True) +class ListCustomDetectionRulesOutput(_SerdeShape): + """Dataclass for ListCustomDetectionRulesOutput structure.""" + + rules: list[RuleSummary] | None = ... + """A list of custom detection rule summaries.""" + next_token: str | None = ... + """ + A pagination token to retrieve the next page of results. If this field + is empty, there are no additional results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDetectorsInput(_SerdeShape): + """Dataclass for ListDetectorsInput structure.""" + + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items that + you want in the response. The default value is 50. The maximum value is + 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + +@dataclass(kw_only=True) +class ListDetectorsOutput(_SerdeShape): + """Dataclass for ListDetectorsOutput structure.""" + + detector_ids: list[str] | None = ... + """A list of detector IDs.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFiltersInput(_SerdeShape): + """Dataclass for ListFiltersInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with the filter. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items that + you want in the response. The default value is 50. The maximum value is + 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + +@dataclass(kw_only=True) +class ListFiltersOutput(_SerdeShape): + """Dataclass for ListFiltersOutput structure.""" + + filter_names: list[str] | None = ... + """A list of filter names.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFindingsInput(_SerdeShape): + """Dataclass for ListFindingsInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector that specifies the GuardDuty service whose + findings you want to list. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + finding_criteria: FindingCriteria | None = ... + """ + Represents the criteria used for querying findings. Valid values + include: + + - JSON field name + + - accountId + + - region + + - confidence + + - id + + - resource.accessKeyDetails.accessKeyId + + - resource.accessKeyDetails.principalId + + - resource.accessKeyDetails.userName + + - resource.accessKeyDetails.userType + + - resource.instanceDetails.iamInstanceProfile.id + + - resource.instanceDetails.imageId + + - resource.instanceDetails.instanceId + + - resource.instanceDetails.networkInterfaces.ipv6Addresses + + - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress + + - resource.instanceDetails.networkInterfaces.publicDnsName + + - resource.instanceDetails.networkInterfaces.publicIp + + - resource.instanceDetails.networkInterfaces.securityGroups.groupId + + - resource.instanceDetails.networkInterfaces.securityGroups.groupName + + - resource.instanceDetails.networkInterfaces.subnetId + + - resource.instanceDetails.networkInterfaces.vpcId + + - resource.instanceDetails.tags.key + + - resource.instanceDetails.tags.value + + - resource.resourceType + + - service.action.actionType + + - service.action.awsApiCallAction.api + + - service.action.awsApiCallAction.callerType + + - service.action.awsApiCallAction.remoteIpDetails.city.cityName + + - service.action.awsApiCallAction.remoteIpDetails.country.countryName + + - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 + + - service.action.awsApiCallAction.remoteIpDetails.organization.asn + + - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg + + - service.action.awsApiCallAction.serviceName + + - service.action.dnsRequestAction.domain + + - service.action.dnsRequestAction.domainWithSuffix + + - service.action.networkConnectionAction.blocked + + - service.action.networkConnectionAction.connectionDirection + + - service.action.networkConnectionAction.localPortDetails.port + + - service.action.networkConnectionAction.protocol + + - service.action.networkConnectionAction.remoteIpDetails.country.countryName + + - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 + + - service.action.networkConnectionAction.remoteIpDetails.organization.asn + + - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg + + - service.action.networkConnectionAction.remotePortDetails.port + + - service.additionalInfo.threatListName + + - service.archived + + When this attribute is set to 'true', only archived findings are + listed. When it's set to 'false', only unarchived findings are + listed. When this attribute is not set, all existing findings are + listed. + + - service.ebsVolumeScanDetails.scanId + + - service.resourceRole + + - severity + + - type + + - updatedAt + + Type: Timestamp in Unix Epoch millisecond format: 1486685375000 + """ + sort_criteria: SortCriteria | None = ... + """Represents the criteria used for sorting findings.""" + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items you + want in the response. The default value is 50. The maximum value is 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + +@dataclass(kw_only=True) +class ListFindingsOutput(_SerdeShape): + """Dataclass for ListFindingsOutput structure.""" + + finding_ids: list[str] | None = ... + """The IDs of the findings that you're listing.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInvestigationsInput(_SerdeShape): + """Dataclass for ListInvestigationsInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the GuardDuty detector whose investigations you want to + list. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + sort_criteria: InvestigationSortCriteria | None = ... + """Represents the criteria used for sorting investigations.""" + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items you + want in the response. The default value is 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + +@dataclass(kw_only=True) +class ListInvestigationsOutput(_SerdeShape): + """Dataclass for ListInvestigationsOutput structure.""" + + investigations: list[InvestigationSummary] | None = ... + """ + A list of investigation summaries associated with the specified + detector. + """ + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInvitationsInput(_SerdeShape): + """Dataclass for ListInvitationsInput structure.""" + + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items that + you want in the response. The default value is 50. The maximum value is + 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + +@dataclass(kw_only=True) +class ListInvitationsOutput(_SerdeShape): + """Dataclass for ListInvitationsOutput structure.""" + + invitations: list[Invitation] | None = ... + """A list of invitation descriptions.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListIPSetsInput(_SerdeShape): + """Dataclass for ListIPSetsInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with IPSet. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items you + want in the response. The default value is 50. The maximum value is 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + +@dataclass(kw_only=True) +class ListIPSetsOutput(_SerdeShape): + """Dataclass for ListIPSetsOutput structure.""" + + ip_set_ids: list[str] | None = ... + """The IDs of the IPSet resources.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListMalwareProtectionPlansInput(_SerdeShape): + """Dataclass for ListMalwareProtectionPlansInput structure.""" + + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of `NextToken` from the previous response to continue listing + data. The default page size is 100 plans. + """ + +@dataclass(kw_only=True) +class ListMalwareProtectionPlansOutput(_SerdeShape): + """Dataclass for ListMalwareProtectionPlansOutput structure.""" + + malware_protection_plans: list[MalwareProtectionPlanSummary] | None = ... + """ + A list of unique identifiers associated with each Malware Protection + plan. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of `NextToken` from the previous response to continue listing + data. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ListMalwareScansCriterionKey(UnknownEnumMixin, StrEnum): + RESOURCE_ARN = "RESOURCE_ARN" + SCAN_ID = "SCAN_ID" + ACCOUNT_ID = "ACCOUNT_ID" + GUARDDUTY_FINDING_ID = "GUARDDUTY_FINDING_ID" + RESOURCE_TYPE = "RESOURCE_TYPE" + SCAN_START_TIME = "SCAN_START_TIME" + SCAN_STATUS = "SCAN_STATUS" + SCAN_TYPE = "SCAN_TYPE" + +@dataclass(kw_only=True) +class ListMalwareScansFilterCriteria(_SerdeShape): + """Represents the criteria used to filter the malware scan entries.""" + + list_malware_scans_filter_criterion: ( + list[ListMalwareScansFilterCriterion] | None + ) = ... + """ + Represents a condition that when matched will be added to the response + of the operation. + """ + +@dataclass(kw_only=True) +class ListMalwareScansFilterCriterion(_SerdeShape): + """ + Represents a condition that when matched will be added to the response + of the operation. Irrespective of using any filter criteria, an + administrator account can view the scan entries for all of its member + accounts. However, each member account can view the scan entries only + for their own account. + """ + + list_malware_scans_criterion_key: str | None = ... + """ + An enum value representing possible scan properties to match with given + scan entries. + """ + filter_condition: FilterCondition | None = ... + """Contains information about the condition.""" + +@dataclass(kw_only=True) +class ListMalwareScansInput(_SerdeShape): + """Dataclass for ListMalwareScansInput structure.""" + + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items that + you want in the response. The default value is 50. The maximum value is + 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing + results. + """ + filter_criteria: ListMalwareScansFilterCriteria | None = ... + """Represents the criteria used to filter the malware scan entries.""" + sort_criteria: SortCriteria | None = ... + """Represents the criteria used for sorting malware scan entries.""" + +@dataclass(kw_only=True) +class ListMalwareScansOutput(_SerdeShape): + """Dataclass for ListMalwareScansOutput structure.""" + + scans: list[MalwareScan] | None = ... + """The list of malware scans associated with the provided input parameters.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more scans. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListMembersInput(_SerdeShape): + """Dataclass for ListMembersInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with the member. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items you + want in the response. The default value is 50. The maximum value is 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + only_associated: str | None = ... + """ + Specifies whether to only return associated members or to return all + members (including members who haven't been invited yet or have been + disassociated). Member accounts must have been previously associated + with the GuardDuty administrator account using + [`Create Members`](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html) + . + """ + +@dataclass(kw_only=True) +class ListMembersOutput(_SerdeShape): + """Dataclass for ListMembersOutput structure.""" + + members: list[Member] | None = ... + """ + A list of members. + + Note: + The values for `email` and `invitedAt` are available only if the member + accounts are added by invitation. + """ + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListOrganizationAdminAccountsInput(_SerdeShape): + """Dataclass for ListOrganizationAdminAccountsInput structure.""" + + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """ + A token to use for paginating results that are returned in the response. + Set the value of this parameter to null for the first request to a list + action. For subsequent calls, use the `NextToken` value returned from + the previous request to continue listing results after the first page. + """ + +@dataclass(kw_only=True) +class ListOrganizationAdminAccountsOutput(_SerdeShape): + """Dataclass for ListOrganizationAdminAccountsOutput structure.""" + + admin_accounts: list[AdminAccount] | None = ... + """A list of accounts configured as GuardDuty delegated administrators.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPublishingDestinationsInput(_SerdeShape): + """Dataclass for ListPublishingDestinationsInput structure.""" + + detector_id: str | None = ... + """ + The detector ID for which you want to retrieve the publishing + destination. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + max_results: int | None = ... + """The maximum number of results to return in the response.""" + next_token: str | None = ... + """ + A token to use for paginating results that are returned in the response. + Set the value of this parameter to null for the first request to a list + action. For subsequent calls, use the `NextToken` value returned from + the previous request to continue listing results after the first page. + """ + +@dataclass(kw_only=True) +class ListPublishingDestinationsOutput(_SerdeShape): + """Dataclass for ListPublishingDestinationsOutput structure.""" + + destinations: list[Destination] | None = ... + """ + A `Destinations` object that includes information about each publishing + destination returned. + """ + next_token: str | None = ... + """ + A token to use for paginating results that are returned in the response. + Set the value of this parameter to null for the first request to a list + action. For subsequent calls, use the `NextToken` value returned from + the previous request to continue listing results after the first page. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceInput(_SerdeShape): + """Dataclass for ListTagsForResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) for the given GuardDuty resource.""" + +@dataclass(kw_only=True) +class ListTagsForResourceOutput(_SerdeShape): + """Dataclass for ListTagsForResourceOutput structure.""" + + tags: dict[str, str] | None = ... + """The tags associated with the resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListThreatEntitySetsInput(_SerdeShape): + """Dataclass for ListThreatEntitySetsInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the GuardDuty detector that is associated with this + threat entity set. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items you + want in the response. The default value is 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + +@dataclass(kw_only=True) +class ListThreatEntitySetsOutput(_SerdeShape): + """Dataclass for ListThreatEntitySetsOutput structure.""" + + threat_entity_set_ids: list[str] | None = ... + """The IDs of the threat entity set resources.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListThreatIntelSetsInput(_SerdeShape): + """Dataclass for ListThreatIntelSetsInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with the + threatIntelSet. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items that + you want in the response. The default value is 50. The maximum value is + 50. + """ + next_token: str | None = ... + """ + You can use this parameter to paginate results in the response. Set the + value of this parameter to null on your first call to the list action. + For subsequent calls to the action, fill nextToken in the request with + the value of NextToken from the previous response to continue listing + data. + """ + +@dataclass(kw_only=True) +class ListThreatIntelSetsOutput(_SerdeShape): + """Dataclass for ListThreatIntelSetsOutput structure.""" + + threat_intel_set_ids: list[str] | None = ... + """The IDs of the ThreatIntelSet resources.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTrustedEntitySetsInput(_SerdeShape): + """Dataclass for ListTrustedEntitySetsInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the GuardDuty detector that is associated with this + threat entity set. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + max_results: int | None = ... + """ + You can use this parameter to indicate the maximum number of items you + want in the response. The default value is 50. + """ + next_token: str | None = ... + """ + You can use this parameter when paginating results. Set the value of + this parameter to null on your first call to the list action. For + subsequent calls to the action, fill nextToken in the request with the + value of NextToken from the previous response to continue listing data. + """ + +@dataclass(kw_only=True) +class ListTrustedEntitySetsOutput(_SerdeShape): + """Dataclass for ListTrustedEntitySetsOutput structure.""" + + trusted_entity_set_ids: list[str] | None = ... + """The IDs of the trusted entity set resources.""" + next_token: str | None = ... + """ + The pagination parameter to be used on the next list operation to + retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LocalIpDetails(_SerdeShape): + """Contains information about the local IP address of the connection.""" + + ip_address_v4: str | None = ... + """The IPv4 local address of the connection.""" + ip_address_v6: str | None = ... + """The IPv6 local address of the connection.""" + +@dataclass(kw_only=True) +class LocalPortDetails(_SerdeShape): + """Contains information about the port for the local connection.""" + + port: int | None = ... + """The port number of the local connection.""" + port_name: str | None = ... + """The port name of the local connection.""" + +@dataclass(kw_only=True) +class LoginAttribute(_SerdeShape): + """Information about the login attempts.""" + + user: str | None = ... + """Indicates the user name which attempted to log in.""" + application: str | None = ... + """Indicates the application name used to attempt log in.""" + failed_login_attempts: int | None = ... + """ + Represents the sum of failed (unsuccessful) login attempts made to + establish a connection to the database instance. + """ + successful_login_attempts: int | None = ... + """ + Represents the sum of successful connections (a correct combination of + login attributes) made to the database instance by the actor. + """ + +@dataclass(kw_only=True) +class MalwareProtectionConfiguration(_SerdeShape): + """Describes whether Malware Protection will be enabled as a data source.""" + + scan_ec2_instance_with_findings: ScanEc2InstanceWithFindings | None = ... + """ + Describes the configuration of Malware Protection for EC2 instances with + findings. + """ + +@dataclass(kw_only=True) +class MalwareProtectionConfigurationResult(_SerdeShape): + """ + An object that contains information on the status of all Malware + Protection data sources. + """ + + scan_ec2_instance_with_findings: ScanEc2InstanceWithFindingsResult | None = ... + """ + Describes the configuration of Malware Protection for EC2 instances with + findings. + """ + service_role: str | None = ... + """The GuardDuty Malware Protection service role.""" + +@dataclass(kw_only=True) +class MalwareProtectionDataSourceFreeTrial(_SerdeShape): + """ + Provides details about Malware Protection when it is enabled as a data + source. + """ + + scan_ec2_instance_with_findings: DataSourceFreeTrial | None = ... + """ + Describes whether Malware Protection for EC2 instances with findings is + enabled as a data source. + """ + +@dataclass(kw_only=True) +class MalwareProtectionFindingsScanConfiguration(_SerdeShape): + """Contains finding configuration details about the malware scan.""" + + trigger_type: str | None = ... + """The event that triggered the malware scan.""" + incremental_scan_details: IncrementalScanDetails | None = ... + """Contains information about the incremental scan configuration.""" + +@dataclass(kw_only=True) +class MalwareProtectionPlanActions(_SerdeShape): + """ + Information about whether the tags will be added to the S3 object after + scanning. + """ + + tagging: MalwareProtectionPlanTaggingAction | None = ... + """ + Indicates whether the scanned S3 object will have tags about the scan + result. + """ + +class MalwareProtectionPlanStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "ACTIVE" + WARNING = "WARNING" + ERROR = "ERROR" + +@dataclass(kw_only=True) +class MalwareProtectionPlanStatusReason(_SerdeShape): + """ + Information about the issue code and message associated to the status of + your Malware Protection plan. + """ + + code: str | None = ... + """Issue code.""" + message: str | None = ... + """ + Issue message that specifies the reason. For information about potential + troubleshooting steps, see [Troubleshooting Malware Protection for S3 + status + issues](https://docs.aws.amazon.com/guardduty/latest/ug/troubleshoot-s3-malware-protection-status-errors.html) + in the *Amazon GuardDuty User Guide*. + """ + +@dataclass(kw_only=True) +class MalwareProtectionPlanSummary(_SerdeShape): + """Information about the Malware Protection plan resource.""" + + malware_protection_plan_id: str | None = ... + """A unique identifier associated with Malware Protection plan.""" + +@dataclass(kw_only=True) +class MalwareProtectionPlanTaggingAction(_SerdeShape): + """ + Information about adding tags to the scanned S3 object after the scan + result. + """ + + status: str | None = ... + """Indicates whether or not the tags will added.""" + +class MalwareProtectionPlanTaggingActionStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class MalwareProtectionResourceType(UnknownEnumMixin, StrEnum): + EBS_RECOVERY_POINT = "EBS_RECOVERY_POINT" + EBS_SNAPSHOT = "EBS_SNAPSHOT" + EBS_VOLUME = "EBS_VOLUME" + EC2_AMI = "EC2_AMI" + EC2_INSTANCE = "EC2_INSTANCE" + EC2_RECOVERY_POINT = "EC2_RECOVERY_POINT" + S3_RECOVERY_POINT = "S3_RECOVERY_POINT" + S3_BUCKET = "S3_BUCKET" + S3_POINT_IN_TIME_RECOVERY = "S3_POINT_IN_TIME_RECOVERY" + +class MalwareProtectionScanStatus(UnknownEnumMixin, StrEnum): + RUNNING = "RUNNING" + COMPLETED = "COMPLETED" + COMPLETED_WITH_ISSUES = "COMPLETED_WITH_ISSUES" + FAILED = "FAILED" + SKIPPED = "SKIPPED" + +class MalwareProtectionScanType(UnknownEnumMixin, StrEnum): + BACKUP_INITIATED = "BACKUP_INITIATED" + ON_DEMAND = "ON_DEMAND" + GUARDDUTY_INITIATED = "GUARDDUTY_INITIATED" + +@dataclass(kw_only=True) +class MalwareScan(_SerdeShape): + """Contains information about a particular malware scan.""" + + resource_arn: str | None = ... + """Amazon Resource Name (ARN) of the resource for the given malware scan.""" + resource_type: str | None = ... + """The type of resource that was scanned for malware.""" + scan_id: str | None = ... + """ + A unique identifier that gets generated when you invoke the API without + any error. Each malware scan has a corresponding scan ID. Using this + scan ID, you can monitor the status of your malware scan. + """ + scan_status: str | None = ... + """An enum value representing the current status of the malware scan.""" + scan_result_status: str | None = ... + """An enum value representing the result of the malware scan.""" + scan_type: str | None = ... + """An enum value representing the type of scan that was initiated.""" + scan_started_at: datetime | None = ... + """The timestamp representing when the malware scan was started.""" + scan_completed_at: datetime | None = ... + """The timestamp representing when the malware scan was completed.""" + +@dataclass(kw_only=True) +class MalwareScanDetails(_SerdeShape): + """Information about the malware scan that generated a GuardDuty finding.""" + + threats: list[Threat] | None = ... + """ + Information about the detected threats associated with the generated + GuardDuty finding. + """ + scan_id: str | None = ... + """The unique identifier for the malware scan.""" + scan_type: str | None = ... + """The type of malware scan performed.""" + scan_category: str | None = ... + """The category of the malware scan.""" + scan_configuration: MalwareProtectionFindingsScanConfiguration | None = ... + """The configuration settings used for the malware scan.""" + unique_threat_count: int | None = ... + """The number of unique malware threats detected during the scan.""" + +class ManagedBy(UnknownEnumMixin, StrEnum): + GUARDDUTY_POLICY = "GUARDDUTY_POLICY" + +class ManagementType(UnknownEnumMixin, StrEnum): + AUTO_MANAGED = "AUTO_MANAGED" + MANUAL = "MANUAL" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class Master(_SerdeShape): + """Contains information about the administrator account and invitation.""" + + account_id: str | None = ... + """The ID of the account used as the administrator account.""" + invitation_id: str | None = ... + """ + The value used to validate the administrator account to the member + account. + """ + relationship_status: str | None = ... + """ + The status of the relationship between the administrator and member + accounts. + """ + invited_at: str | None = ... + """The timestamp when the invitation was sent.""" + +@dataclass(kw_only=True) +class Member(_SerdeShape): + """Contains information about the member account.""" + + account_id: str | None = ... + """The ID of the member account.""" + detector_id: str | None = ... + """The detector ID of the member account.""" + master_id: str | None = ... + """The administrator account ID.""" + email: str | None = ... + """The email address of the member account.""" + relationship_status: str | None = ... + """The status of the relationship between the member and the administrator.""" + invited_at: str | None = ... + """The timestamp when the invitation was sent.""" + updated_at: str | None = ... + """The last-updated timestamp of the member.""" + administrator_id: str | None = ... + """The administrator account ID.""" + +@dataclass(kw_only=True) +class MemberAdditionalConfiguration(_SerdeShape): + """Information about the additional configuration for the member account.""" + + name: str | None = ... + """Name of the additional configuration.""" + status: str | None = ... + """Status of the additional configuration.""" + +@dataclass(kw_only=True) +class MemberAdditionalConfigurationResult(_SerdeShape): + """Information about the additional configuration for the member account.""" + + name: str | None = ... + """ + Indicates the name of the additional configuration that is set for the + member account. + """ + status: str | None = ... + """ + Indicates the status of the additional configuration that is set for the + member account. + """ + updated_at: datetime | None = ... + """ + The timestamp at which the additional configuration was set for the + member account. This is in UTC format. + """ + managed_by: str | None = ... + """ + Indicates what manages the additional configuration. A value of + `GUARDDUTY_POLICY` means a GuardDuty policy manages the additional + configuration. + """ + +@dataclass(kw_only=True) +class MemberDataSourceConfiguration(_SerdeShape): + """ + Contains information on which data sources are enabled for a member + account. + """ + + account_id: str | None = ... + """The account ID for the member account.""" + data_sources: DataSourceConfigurationsResult | None = ... + """Contains information on the status of data sources for the account.""" + features: list[MemberFeaturesConfigurationResult] | None = ... + """ + Contains information about the status of the features for the member + account. + """ + +@dataclass(kw_only=True) +class MemberFeaturesConfiguration(_SerdeShape): + """Contains information about the features for the member account.""" + + name: str | None = ... + """The name of the feature.""" + status: str | None = ... + """The status of the feature.""" + additional_configuration: list[MemberAdditionalConfiguration] | None = ... + """Additional configuration of the feature for the member account.""" + +@dataclass(kw_only=True) +class MemberFeaturesConfigurationResult(_SerdeShape): + """Contains information about the features for the member account.""" + + name: str | None = ... + """Indicates the name of the feature that is enabled for the detector.""" + status: str | None = ... + """Indicates the status of the feature that is enabled for the detector.""" + updated_at: datetime | None = ... + """The timestamp at which the feature object was updated.""" + additional_configuration: list[MemberAdditionalConfigurationResult] | None = ... + """ + Indicates the additional configuration of the feature that is configured + for the member account. + """ + managed_by: str | None = ... + """ + Indicates what manages the feature. A value of `GUARDDUTY_POLICY` means + a GuardDuty policy manages the feature. + """ + +class MfaStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class ModelDetail(_SerdeShape): + """Contains information about the AI model involved in a finding.""" + + model_id: str | None = ... + """The identifier of the AI model.""" + +@dataclass(kw_only=True) +class NetworkConnection(_SerdeShape): + """Contains information about the network connection.""" + + direction: str | None = ... + """The direction in which the network traffic is flowing.""" + +@dataclass(kw_only=True) +class NetworkConnectionAction(_SerdeShape): + """ + Contains information about the NETWORK_CONNECTION action described in + the finding. + """ + + blocked: bool | None = ... + """Indicates whether EC2 blocked the network connection to your instance.""" + connection_direction: str | None = ... + """The network connection direction.""" + local_port_details: LocalPortDetails | None = ... + """The local port information of the connection.""" + protocol: str | None = ... + """The network connection protocol.""" + local_ip_details: LocalIpDetails | None = ... + """The local IP information of the connection.""" + local_network_interface: str | None = ... + """ + The EC2 instance's local elastic network interface utilized for the + connection. + """ + remote_ip_details: RemoteIpDetails | None = ... + """The remote IP information of the connection.""" + remote_port_details: RemotePortDetails | None = ... + """The remote port information of the connection.""" + +class NetworkDirection(UnknownEnumMixin, StrEnum): + INBOUND = "INBOUND" + OUTBOUND = "OUTBOUND" + +@dataclass(kw_only=True) +class NetworkEndpoint(_SerdeShape): + """ + Contains information about network endpoints that were observed in the + attack sequence. + """ + + id: str | None = ... + """The ID of the network endpoint.""" + ip: str | None = ... + """The IP address associated with the network endpoint.""" + domain: str | None = ... + """The domain information for the network endpoint.""" + port: int | None = ... + """The port number associated with the network endpoint.""" + location: NetworkGeoLocation | None = ... + """Information about the location of the network endpoint.""" + autonomous_system: AutonomousSystem | None = ... + """The Autonomous System (AS) of the network endpoint.""" + connection: NetworkConnection | None = ... + """Information about the network connection.""" + +@dataclass(kw_only=True) +class NetworkGeoLocation(_SerdeShape): + """Contains information about network endpoint location.""" + + city: str | None = ... + """The name of the city.""" + country: str | None = ... + """The name of the country.""" + latitude: float | None = ... + """The latitude information of the endpoint location.""" + longitude: float | None = ... + """The longitude information of the endpoint location.""" + +@dataclass(kw_only=True) +class NetworkInterface(_SerdeShape): + """ + Contains information about the elastic network interface of the EC2 + instance. + """ + + ipv6_addresses: list[str] | None = ... + """A list of IPv6 addresses for the EC2 instance.""" + network_interface_id: str | None = ... + """The ID of the network interface.""" + private_dns_name: str | None = ... + """The private DNS name of the EC2 instance.""" + private_ip_address: str | None = ... + """The private IP address of the EC2 instance.""" + private_ip_addresses: list[PrivateIpAddressDetails] | None = ... + """Other private IP address information of the EC2 instance.""" + public_dns_name: str | None = ... + """The public DNS name of the EC2 instance.""" + public_ip: str | None = ... + """The public IP address of the EC2 instance.""" + security_groups: list[SecurityGroup] | None = ... + """The security groups associated with the EC2 instance.""" + subnet_id: str | None = ... + """The subnet ID of the EC2 instance.""" + vpc_id: str | None = ... + """The VPC ID of the EC2 instance.""" + +@dataclass(kw_only=True) +class Observations(_SerdeShape): + """Contains information about the observed behavior.""" + + text: list[str] | None = ... + """The text that was unusual.""" + number: list[int] | None = ... + """The numeric values that were unusual.""" + +class OrderBy(UnknownEnumMixin, StrEnum): + ASC = "ASC" + DESC = "DESC" + +@dataclass(kw_only=True) +class Organization(_SerdeShape): + """ + Contains information about the ISP organization of the remote IP + address. + """ + + asn: str | None = ... + """ + The Autonomous System Number (ASN) of the internet provider of the + remote IP address. + """ + asn_org: str | None = ... + """The organization that registered this ASN.""" + isp: str | None = ... + """The ISP information for the internet provider.""" + org: str | None = ... + """The name of the internet provider.""" + +@dataclass(kw_only=True) +class OrganizationAdditionalConfiguration(_SerdeShape): + """ + A list of additional configurations which will be configured for the + organization. + + Additional configuration applies to only GuardDuty Runtime Monitoring + protection plan. + """ + + name: str | None = ... + """ + The name of the additional configuration that will be configured for the + organization. These values are applicable to only Runtime Monitoring + protection plan. + """ + auto_enable: str | None = ... + """ + The status of the additional configuration that will be configured for + the organization. Use one of the following values to configure the + feature status for the entire organization: + + - `NEW`: Indicates that when a new account joins the organization, they + will have the additional configuration enabled automatically. + + - `ALL`: Indicates that all accounts in the organization have the + additional configuration enabled automatically. This includes `NEW` + accounts that join the organization and accounts that may have been + suspended or removed from the organization in GuardDuty. + + It may take up to 24 hours to update the configuration for all the + member accounts. + + - `NONE`: Indicates that the additional configuration will not be + automatically enabled for any account in the organization. The + administrator must manage the additional configuration for each + account individually. + """ + +@dataclass(kw_only=True) +class OrganizationAdditionalConfigurationResult(_SerdeShape): + """ + A list of additional configuration which will be configured for the + organization. + """ + + name: str | None = ... + """ + The name of the additional configuration that is configured for the + member accounts within the organization. These values are applicable to + only Runtime Monitoring protection plan. + """ + auto_enable: str | None = ... + """ + Describes the status of the additional configuration that is configured + for the member accounts within the organization. One of the following + values is the status for the entire organization: + + - `NEW`: Indicates that when a new account joins the organization, they + will have the additional configuration enabled automatically. + + - `ALL`: Indicates that all accounts in the organization have the + additional configuration enabled automatically. This includes `NEW` + accounts that join the organization and accounts that may have been + suspended or removed from the organization in GuardDuty. + + It may take up to 24 hours to update the configuration for all the + member accounts. + + - `NONE`: Indicates that the additional configuration will not be + automatically enabled for any account in the organization. The + administrator must manage the additional configuration for each + account individually. + """ + +@dataclass(kw_only=True) +class OrganizationDataSourceConfigurations(_SerdeShape): + """ + An object that contains information on which data sources will be + configured to be automatically enabled for new members within the + organization. + """ + + s3_logs: OrganizationS3LogsConfiguration | None = ... + """ + Describes whether S3 data event logs are enabled for new members of the + organization. + """ + kubernetes: OrganizationKubernetesConfiguration | None = ... + """ + Describes the configuration of Kubernetes data sources for new members + of the organization. + """ + malware_protection: OrganizationMalwareProtectionConfiguration | None = ... + """ + Describes the configuration of Malware Protection for new members of the + organization. + """ + +@dataclass(kw_only=True) +class OrganizationDataSourceConfigurationsResult(_SerdeShape): + """ + An object that contains information on which data sources are + automatically enabled for new members within the organization. + """ + + s3_logs: OrganizationS3LogsConfigurationResult | None = ... + """Describes whether S3 data event logs are enabled as a data source.""" + kubernetes: OrganizationKubernetesConfigurationResult | None = ... + """Describes the configuration of Kubernetes data sources.""" + malware_protection: OrganizationMalwareProtectionConfigurationResult | None = ... + """ + Describes the configuration of Malware Protection data source for an + organization. + """ + +@dataclass(kw_only=True) +class OrganizationDetails(_SerdeShape): + """ + Information about GuardDuty coverage statistics for members in your + Amazon Web Services organization. + """ + + updated_at: datetime | None = ... + """ + The timestamp at which the organization statistics was last updated. + This is in UTC format. + """ + organization_statistics: OrganizationStatistics | None = ... + """ + Information about the GuardDuty coverage statistics for members in your + Amazon Web Services organization. + """ + +@dataclass(kw_only=True) +class OrganizationEbsVolumes(_SerdeShape): + """Organization-wide EBS volumes scan configuration.""" + + auto_enable: bool | None = ... + """ + Whether scanning EBS volumes should be auto-enabled for new members + joining the organization. + """ + +@dataclass(kw_only=True) +class OrganizationEbsVolumesResult(_SerdeShape): + """ + An object that contains information on the status of whether EBS volumes + scanning will be enabled as a data source for an organization. + """ + + auto_enable: bool | None = ... + """ + An object that contains the status of whether scanning EBS volumes + should be auto-enabled for new members joining the organization. + """ + +@dataclass(kw_only=True) +class OrganizationFeatureConfiguration(_SerdeShape): + """A list of features which will be configured for the organization.""" + + name: str | None = ... + """The name of the feature that will be configured for the organization.""" + auto_enable: str | None = ... + """ + Describes the status of the feature that is configured for the member + accounts within the organization. One of the following values is the + status for the entire organization: + + - `NEW`: Indicates that when a new account joins the organization, they + will have the feature enabled automatically. + + - `ALL`: Indicates that all accounts in the organization have the + feature enabled automatically. This includes `NEW` accounts that join + the organization and accounts that may have been suspended or removed + from the organization in GuardDuty. + + It may take up to 24 hours to update the configuration for all the + member accounts. + + - `NONE`: Indicates that the feature will not be automatically enabled + for any account in the organization. The administrator must manage the + feature for each account individually. + """ + additional_configuration: list[OrganizationAdditionalConfiguration] | None = ... + """The additional information that will be configured for the organization.""" + +@dataclass(kw_only=True) +class OrganizationFeatureConfigurationResult(_SerdeShape): + """A list of features which will be configured for the organization.""" + + name: str | None = ... + """ + The name of the feature that is configured for the member accounts + within the organization. + """ + auto_enable: str | None = ... + """ + Describes the status of the feature that is configured for the member + accounts within the organization. + + - `NEW`: Indicates that when a new account joins the organization, they + will have the feature enabled automatically. + + - `ALL`: Indicates that all accounts in the organization have the + feature enabled automatically. This includes `NEW` accounts that join + the organization and accounts that may have been suspended or removed + from the organization in GuardDuty. + + - `NONE`: Indicates that the feature will not be automatically enabled + for any account in the organization. In this case, each account will + be managed individually by the administrator. + """ + additional_configuration: ( + list[OrganizationAdditionalConfigurationResult] | None + ) = ... + """ + The additional configuration that is configured for the member accounts + within the organization. + """ + +@dataclass(kw_only=True) +class OrganizationFeatureStatistics(_SerdeShape): + """ + Information about the number of accounts that have enabled a specific + feature. + """ + + name: str | None = ... + """Name of the feature.""" + enabled_accounts_count: int | None = ... + """Total number of accounts that have enabled a specific feature.""" + additional_configuration: ( + list[OrganizationFeatureStatisticsAdditionalConfiguration] | None + ) = ... + """Name of the additional configuration.""" + +@dataclass(kw_only=True) +class OrganizationFeatureStatisticsAdditionalConfiguration(_SerdeShape): + """ + Information about the coverage statistic for the additional + configuration of the feature. + """ + + name: str | None = ... + """Name of the additional configuration within a feature.""" + enabled_accounts_count: int | None = ... + """Total number of accounts that have enabled the additional configuration.""" + +@dataclass(kw_only=True) +class OrganizationKubernetesAuditLogsConfiguration(_SerdeShape): + """Organization-wide Kubernetes audit logs configuration.""" + + auto_enable: bool | None = ... + """ + A value that contains information on whether Kubernetes audit logs + should be enabled automatically as a data source for the organization. + """ + +@dataclass(kw_only=True) +class OrganizationKubernetesAuditLogsConfigurationResult(_SerdeShape): + """ + The current configuration of Kubernetes audit logs as a data source for + the organization. + """ + + auto_enable: bool | None = ... + """ + Whether Kubernetes audit logs data source should be auto-enabled for new + members joining the organization. + """ + +@dataclass(kw_only=True) +class OrganizationKubernetesConfiguration(_SerdeShape): + """Organization-wide Kubernetes data sources configurations.""" + + audit_logs: OrganizationKubernetesAuditLogsConfiguration | None = ... + """ + Whether Kubernetes audit logs data source should be auto-enabled for new + members joining the organization. + """ + +@dataclass(kw_only=True) +class OrganizationKubernetesConfigurationResult(_SerdeShape): + """ + The current configuration of all Kubernetes data sources for the + organization. + """ + + audit_logs: OrganizationKubernetesAuditLogsConfigurationResult | None = ... + """ + The current configuration of Kubernetes audit logs as a data source for + the organization. + """ + +@dataclass(kw_only=True) +class OrganizationMalwareProtectionConfiguration(_SerdeShape): + """Organization-wide Malware Protection configurations.""" + + scan_ec2_instance_with_findings: ( + OrganizationScanEc2InstanceWithFindings | None + ) = ... + """ + Whether Malware Protection for EC2 instances with findings should be + auto-enabled for new members joining the organization. + """ + +@dataclass(kw_only=True) +class OrganizationMalwareProtectionConfigurationResult(_SerdeShape): + """ + An object that contains information on the status of all Malware + Protection data source for an organization. + """ + + scan_ec2_instance_with_findings: ( + OrganizationScanEc2InstanceWithFindingsResult | None + ) = ... + """ + Describes the configuration for scanning EC2 instances with findings for + an organization. + """ + +@dataclass(kw_only=True) +class OrganizationS3LogsConfiguration(_SerdeShape): + """ + Describes whether S3 data event logs will be automatically enabled for + new members of the organization. + """ + + auto_enable: bool | None = ... + """ + A value that contains information on whether S3 data event logs will be + enabled automatically as a data source for the organization. + """ + +@dataclass(kw_only=True) +class OrganizationS3LogsConfigurationResult(_SerdeShape): + """ + The current configuration of S3 data event logs as a data source for the + organization. + """ + + auto_enable: bool | None = ... + """ + A value that describes whether S3 data event logs are automatically + enabled for new members of the organization. + """ + +@dataclass(kw_only=True) +class OrganizationScanEc2InstanceWithFindings(_SerdeShape): + """Organization-wide EC2 instances with findings scan configuration.""" + + ebs_volumes: OrganizationEbsVolumes | None = ... + """ + Whether scanning EBS volumes should be auto-enabled for new members + joining the organization. + """ + +@dataclass(kw_only=True) +class OrganizationScanEc2InstanceWithFindingsResult(_SerdeShape): + """ + An object that contains information on the status of scanning EC2 + instances with findings for an organization. + """ + + ebs_volumes: OrganizationEbsVolumesResult | None = ... + """ + Describes the configuration for scanning EBS volumes for an + organization. + """ + +@dataclass(kw_only=True) +class OrganizationStatistics(_SerdeShape): + """ + Information about the coverage statistics of the features for the entire + Amazon Web Services organization. + + When you create a new Amazon Web Services organization, it might take up + to 24 hours to generate the statistics summary for this organization. + """ + + total_accounts_count: int | None = ... + """Total number of accounts in your Amazon Web Services organization.""" + member_accounts_count: int | None = ... + """ + Total number of accounts in your Amazon Web Services organization that + are associated with GuardDuty. + """ + active_accounts_count: int | None = ... + """ + Total number of active accounts in your Amazon Web Services organization + that are associated with GuardDuty. + """ + enabled_accounts_count: int | None = ... + """Total number of accounts that have enabled GuardDuty.""" + count_by_feature: list[OrganizationFeatureStatistics] | None = ... + """Retrieves the coverage statistics for each feature.""" + +class OrgFeature(UnknownEnumMixin, StrEnum): + S3_DATA_EVENTS = "S3_DATA_EVENTS" + EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" + EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" + RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" + LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" + EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" + RUNTIME_MONITORING = "RUNTIME_MONITORING" + AI_PROTECTION = "AI_PROTECTION" + +class OrgFeatureAdditionalConfiguration(UnknownEnumMixin, StrEnum): + EKS_ADDON_MANAGEMENT = "EKS_ADDON_MANAGEMENT" + ECS_FARGATE_AGENT_MANAGEMENT = "ECS_FARGATE_AGENT_MANAGEMENT" + EC2_AGENT_MANAGEMENT = "EC2_AGENT_MANAGEMENT" + RDS_DATA_RISK = "RDS_DATA_RISK" + """ + RDS Data Activity Monitoring, which monitors data activity on supported + Amazon RDS database engines to detect potentially unauthorized access to + your data. + """ + +class OrgFeatureStatus(UnknownEnumMixin, StrEnum): + NEW = "NEW" + NONE = "NONE" + ALL = "ALL" + +@dataclass(kw_only=True) +class Owner(_SerdeShape): + """Contains information on the owner of the bucket.""" + + id: str | None = ... + """ + The canonical user ID of the bucket owner. For information about + locating your canonical user ID see [Finding Your Account Canonical User + ID.](https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html#FindingCanonicalId) + """ + +@dataclass(kw_only=True) +class PermissionConfiguration(_SerdeShape): + """ + Contains information about how permissions are configured for the S3 + bucket. + """ + + bucket_level_permissions: BucketLevelPermissions | None = ... + """ + Contains information about the bucket level permissions for the S3 + bucket. + """ + account_level_permissions: AccountLevelPermissions | None = ... + """ + Contains information about the account level permissions on the S3 + bucket. + """ + +@dataclass(kw_only=True) +class PortProbeAction(_SerdeShape): + """ + Contains information about the PORT_PROBE action described in the + finding. + """ + + blocked: bool | None = ... + """ + Indicates whether EC2 blocked the port probe to the instance, such as + with an ACL. + """ + port_probe_details: list[PortProbeDetail] | None = ... + """A list of objects related to port probe details.""" + +@dataclass(kw_only=True) +class PortProbeDetail(_SerdeShape): + """Contains information about the port probe details.""" + + local_port_details: LocalPortDetails | None = ... + """The local port information of the connection.""" + local_ip_details: LocalIpDetails | None = ... + """The local IP information of the connection.""" + remote_ip_details: RemoteIpDetails | None = ... + """The remote IP information of the connection.""" + +@dataclass(kw_only=True) +class PrivateIpAddressDetails(_SerdeShape): + """Contains other private IP address information of the EC2 instance.""" + + private_dns_name: str | None = ... + """The private DNS name of the EC2 instance.""" + private_ip_address: str | None = ... + """The private IP address of the EC2 instance.""" + +@dataclass(kw_only=True) +class ProcessDetails(_SerdeShape): + """Information about the observed process.""" + + name: str | None = ... + """The name of the process.""" + executable_path: str | None = ... + """The absolute path of the process executable file.""" + executable_sha256: str | None = ... + """The `SHA256` hash of the process executable.""" + namespace_pid: int | None = ... + """The ID of the child process.""" + pwd: str | None = ... + """The present working directory of the process.""" + pid: int | None = ... + """The ID of the process.""" + start_time: datetime | None = ... + """The time when the process started. This is in UTC format.""" + uuid: str | None = ... + """The unique ID assigned to the process by GuardDuty.""" + parent_uuid: str | None = ... + """ + The unique ID of the parent process. This ID is assigned to the parent + process by GuardDuty. + """ + user: str | None = ... + """The user that executed the process.""" + user_id: int | None = ... + """The unique ID of the user that executed the process.""" + euid: int | None = ... + """The effective user ID of the user that executed the process.""" + lineage: list[LineageObject] | None = ... + """Information about the process's lineage.""" + +@dataclass(kw_only=True) +class Product(_SerdeShape): + """Contains information about the product that produced an investigation.""" + + name: str | None = ... + """The name of the product.""" + feature: str | None = ... + """The specific feature within the product that produced the investigation.""" + +@dataclass(kw_only=True) +class ProductCode(_SerdeShape): + """Contains information about the product code for the EC2 instance.""" + + code: str | None = ... + """The product code information.""" + product_type: str | None = ... + """The product code type.""" + +class ProfileSubtype(UnknownEnumMixin, StrEnum): + FREQUENT = "FREQUENT" + INFREQUENT = "INFREQUENT" + UNSEEN = "UNSEEN" + RARE = "RARE" + COUNT = "COUNT" + AVERAGE = "AVERAGE" + +class ProfileType(UnknownEnumMixin, StrEnum): + FREQUENCY = "FREQUENCY" + VOLUME = "VOLUME" + +@dataclass(kw_only=True) +class PublicAccess(_SerdeShape): + """Describes the public access policies that apply to the S3 bucket.""" + + permission_configuration: PermissionConfiguration | None = ... + """ + Contains information about how permissions are configured for the S3 + bucket. + """ + effective_permission: str | None = ... + """ + Describes the effective permission on this bucket after factoring all + attached policies. + """ + +@dataclass(kw_only=True) +class PublicAccessConfiguration(_SerdeShape): + """ + Describes public access policies that apply to the Amazon S3 bucket. + + For information about each of the following settings, see [Blocking + public access to your Amazon S3 + storage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) + in the *Amazon S3 User Guide*. + """ + + public_acl_access: str | None = ... + """ + Indicates whether or not there is a setting that allows public access to + the Amazon S3 buckets through access control lists (ACLs). + """ + public_policy_access: str | None = ... + """ + Indicates whether or not there is a setting that allows public access to + the Amazon S3 bucket policy. + """ + public_acl_ignore_behavior: str | None = ... + """ + Indicates whether or not there is a setting that ignores all public + access control lists (ACLs) on the Amazon S3 bucket and the objects that + it contains. + """ + public_bucket_restrict_behavior: str | None = ... + """ + Indicates whether or not there is a setting that restricts access to the + bucket with specified policies. + """ + +class PublicAccessStatus(UnknownEnumMixin, StrEnum): + BLOCKED = "BLOCKED" + ALLOWED = "ALLOWED" + +class PublicAclIgnoreBehavior(UnknownEnumMixin, StrEnum): + IGNORED = "IGNORED" + NOT_IGNORED = "NOT_IGNORED" + +class PublicBucketRestrictBehavior(UnknownEnumMixin, StrEnum): + RESTRICTED = "RESTRICTED" + NOT_RESTRICTED = "NOT_RESTRICTED" + +class PublishingStatus(UnknownEnumMixin, StrEnum): + PENDING_VERIFICATION = "PENDING_VERIFICATION" + PUBLISHING = "PUBLISHING" + UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY = ( + "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY" + ) + STOPPED = "STOPPED" + +@dataclass(kw_only=True) +class RdsDbInstanceDetails(_SerdeShape): + """ + Contains information about the resource type `RDSDBInstance` involved in + a GuardDuty finding. + """ + + db_instance_identifier: str | None = ... + """ + The identifier associated to the database instance that was involved in + the finding. + """ + engine: str | None = ... + """The database engine of the database instance involved in the finding.""" + engine_version: str | None = ... + """The version of the database engine that was involved in the finding.""" + db_cluster_identifier: str | None = ... + """ + The identifier of the database cluster that contains the database + instance ID involved in the finding. + """ + db_instance_arn: str | None = ... + """ + The Amazon Resource Name (ARN) that identifies the database instance + involved in the finding. + """ + dbi_resource_id: str | None = ... + """ + The unique ID of the database resource involved in the activity that + prompted GuardDuty to generate the finding. + """ + tags: list[Tag] | None = ... + """Information about the tag key-value pairs.""" + +@dataclass(kw_only=True) +class RdsDbUserDetails(_SerdeShape): + """ + Contains information about the user and authentication details for a + database instance involved in the finding. + """ + + user: str | None = ... + """The user name used in the anomalous login attempt.""" + application: str | None = ... + """The application name used in the anomalous login attempt.""" + database: str | None = ... + """ + The name of the database instance involved in the anomalous login + attempt. + """ + ssl: str | None = ... + """The version of the Secure Socket Layer (SSL) used for the network.""" + auth_method: str | None = ... + """The authentication method used by the user involved in the finding.""" + +@dataclass(kw_only=True) +class RdsLimitlessDbDetails(_SerdeShape): + """ + Contains information about the resource type `RDSLimitlessDB` that is + involved in a GuardDuty finding. + """ + + db_shard_group_identifier: str | None = ... + """The name associated with the Limitless DB shard group.""" + db_shard_group_resource_id: str | None = ... + """ + The resource identifier of the DB shard group within the Limitless + Database. + """ + db_shard_group_arn: str | None = ... + """The Amazon Resource Name (ARN) that identifies the DB shard group.""" + engine: str | None = ... + """The database engine of the database instance involved in the finding.""" + engine_version: str | None = ... + """The version of the database engine.""" + db_cluster_identifier: str | None = ... + """ + The name of the database cluster that is a part of the Limitless + Database. + """ + tags: list[Tag] | None = ... + """Information about the tag key-value pair.""" + +@dataclass(kw_only=True) +class RdsLoginAttemptAction(_SerdeShape): + """ + Indicates that a login attempt was made to the potentially compromised + database from a remote IP address. + """ + + remote_ip_details: RemoteIpDetails | None = ... + """Contains information about the remote IP address of the connection.""" + login_attributes: list[LoginAttribute] | None = ... + """Indicates the login attributes used in the login attempt.""" + +@dataclass(kw_only=True) +class RecoveryPoint(_SerdeShape): + """ + Contains information about the recovery point configuration for scanning + backup data from Amazon Web Services Backup. + """ + + backup_vault_name: str | None = ... + """ + The name of the Amazon Web Services Backup vault that contains the name + of the recovery point to be scanned. + """ + continuous_scan_details: ContinuousScanDetails | None = ... + """ + Contains information about the time range within the continuous backup + in Amazon Web Services Backup to scan. + """ + +@dataclass(kw_only=True) +class RecoveryPointDetails(_SerdeShape): + """Contains details about the backup recovery point.""" + + recovery_point_arn: str | None = ... + """The Amazon Resource Name (ARN) of the recovery point.""" + backup_vault_name: str | None = ... + """The name of the backup vault containing the recovery point.""" + continuous_scan_details: ScanConfigurationContinuousScanDetails | None = ... + """ + Contains information about the time range within the continuous backup + in Amazon Web Services Backup that was scanned for a point-in-time + recovery resource. + """ + +@dataclass(kw_only=True) +class RemoteAccountDetails(_SerdeShape): + """ + Contains details about the remote Amazon Web Services account that made + the API call. + """ + + account_id: str | None = ... + """The Amazon Web Services account ID of the remote API caller.""" + affiliated: bool | None = ... + """ + Details on whether the Amazon Web Services account of the remote API + caller is related to your GuardDuty environment. If this value is `True` + the API caller is affiliated to your account in some way. If it is + `False` the API caller is from outside your environment. + """ + aws_service_name: str | None = ... + """ + If the remote account belongs to an Amazon Web Services service, this + field indicates which service the remote account belongs to. + """ + +@dataclass(kw_only=True) +class RemoteIpDetails(_SerdeShape): + """Contains information about the remote IP address of the connection.""" + + city: City | None = ... + """The city information of the remote IP address.""" + country: Country | None = ... + """The country code of the remote IP address.""" + geo_location: GeoLocation | None = ... + """The location information of the remote IP address.""" + ip_address_v4: str | None = ... + """The IPv4 remote address of the connection.""" + ip_address_v6: str | None = ... + """The IPv6 remote address of the connection.""" + organization: Organization | None = ... + """The ISP organization information of the remote IP address.""" + +@dataclass(kw_only=True) +class RemotePortDetails(_SerdeShape): + """Contains information about the remote port.""" + + port: int | None = ... + """The port number of the remote connection.""" + port_name: str | None = ... + """The port name of the remote connection.""" + +@dataclass(kw_only=True) +class Resource(_SerdeShape): + """ + Contains information about the Amazon Web Services resource associated + with the activity that prompted GuardDuty to generate a finding. + """ + + access_key_details: AccessKeyDetails | None = ... + """ + The IAM access key details (user information) of a user that engaged in + the activity that prompted GuardDuty to generate a finding. + """ + s3_bucket_details: list[S3BucketDetail] | None = ... + """Contains information on the S3 bucket.""" + instance_details: InstanceDetails | None = ... + """ + The information about the EC2 instance associated with the activity that + prompted GuardDuty to generate a finding. + """ + eks_cluster_details: EksClusterDetails | None = ... + """Details about the EKS cluster involved in a Kubernetes finding.""" + kubernetes_details: KubernetesDetails | None = ... + """ + Details about the Kubernetes user and workload involved in a Kubernetes + finding. + """ + resource_type: str | None = ... + """The type of Amazon Web Services resource.""" + ebs_volume_details: EbsVolumeDetails | None = ... + """Contains list of scanned and skipped EBS volumes with details.""" + ecs_cluster_details: EcsClusterDetails | None = ... + """Contains information about the details of the ECS Cluster.""" + container_details: Container | None = ... + """Details of a container.""" + lambda_details: LambdaDetails | None = ... + """ + Contains information about the Lambda function that was involved in a + finding. + """ + rds_db_instance_details: RdsDbInstanceDetails | None = ... + """ + Contains information about the database instance to which an anomalous + login attempt was made. + """ + rds_limitless_db_details: RdsLimitlessDbDetails | None = ... + """ + Contains information about the RDS Limitless database that was involved + in a GuardDuty finding. + """ + rds_db_user_details: RdsDbUserDetails | None = ... + """ + Contains information about the user details through which anomalous + login attempt was made. + """ + ebs_snapshot_details: EbsSnapshotDetails | None = ... + """Contains details about the EBS snapshot that was scanned.""" + ec2_image_details: Ec2ImageDetails | None = ... + """Contains details about the EC2 image that was scanned.""" + recovery_point_details: RecoveryPointDetails | None = ... + """Contains details about the backup recovery point that was scanned.""" + bedrock_guardrail_details: BedrockGuardrailDetails | None = ... + """ + Contains information about the Bedrock guardrail that was involved in a + finding. + """ + model_details: list[ModelDetail] | None = ... + """Contains information about the AI models involved in a finding.""" + +@dataclass(kw_only=True) +class ResourceData(_SerdeShape): + """ + Contains information about the Amazon Web Services resource that is + associated with the activity that prompted GuardDuty to generate a + finding. + """ + + s3_bucket: S3Bucket | None = ... + """Contains information about the Amazon S3 bucket.""" + ec2_instance: Ec2Instance | None = ... + """Contains information about the Amazon EC2 instance.""" + access_key: AccessKey | None = ... + """ + Contains information about the IAM access key details of a user that + involved in the GuardDuty finding. + """ + ec2_network_interface: Ec2NetworkInterface | None = ... + """ + Contains information about the elastic network interface of the Amazon + EC2 instance. + """ + s3_object: S3Object | None = ... + """Contains information about the Amazon S3 object.""" + eks_cluster: EksCluster | None = ... + """ + Contains detailed information about the Amazon EKS cluster associated + with the activity that prompted GuardDuty to generate a finding. + """ + kubernetes_workload: KubernetesWorkload | None = ... + """ + Contains detailed information about the Kubernetes workload associated + with the activity that prompted GuardDuty to generate a finding. + """ + container: ContainerFindingResource | None = ... + """ + Contains detailed information about the container associated with the + activity that prompted GuardDuty to generate a finding. + """ + ecs_cluster: EcsCluster | None = ... + """ + Contains detailed information about the Amazon ECS cluster associated + with the activity that prompted GuardDuty to generate a finding. + """ + ecs_task: EcsTask | None = ... + """ + Contains detailed information about the Amazon ECS task associated with + the activity that prompted GuardDuty to generate a finding. + """ + iam_instance_profile: IamInstanceProfileV2 | None = ... + """ + Contains detailed information about the IAM instance profile associated + with the activity that prompted GuardDuty to generate a finding. + """ + autoscaling_auto_scaling_group: AutoscalingAutoScalingGroup | None = ... + """ + Contains detailed information about the Auto Scaling Group associated + with the activity that prompted GuardDuty to generate a finding. + """ + ec2_launch_template: Ec2LaunchTemplate | None = ... + """ + Contains detailed information about the EC2 launch template associated + with the activity that prompted GuardDuty to generate a finding. + """ + ec2_vpc: Ec2Vpc | None = ... + """ + Contains detailed information about the EC2 VPC associated with the + activity that prompted GuardDuty to generate a finding. + """ + ec2_image: Ec2Image | None = ... + """ + Contains detailed information about the EC2 Image associated with the + activity that prompted GuardDuty to generate a finding. + """ + cloudformation_stack: CloudformationStack | None = ... + """ + Contains detailed information about the CloudFormation stack associated + with the activity that prompted GuardDuty to generate a finding. + """ + bedrock_guardrail: BedrockGuardrailResource | None = ... + """ + Contains detailed information about the Amazon Bedrock guardrail + associated with the activity that prompted GuardDuty to generate a + finding. + """ + +@dataclass(kw_only=True) +class ResourceDetails(_SerdeShape): + """Represents the resources that were scanned in the scan entry.""" + + instance_arn: str | None = ... + """Instance ARN that was scanned in the scan entry.""" + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """The requested resource can't be found.""" + + type: str | None = ... + """The error type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceStatistics(_SerdeShape): + """ + Information about each resource type associated with the + `groupedByResource` statistics. + """ + + account_id: str | None = ... + """The ID of the Amazon Web Services account.""" + last_generated_at: datetime | None = ... + """ + The timestamp at which the statistics for this resource was last + generated. + """ + resource_id: str | None = ... + """ + ID associated with each resource. The following list provides the + mapping of the resource type and resource ID. + + **Mapping of resource and resource ID** + + - AccessKey - `resource.accessKeyDetails.accessKeyId` + + - Container - `resource.containerDetails.id` + + - ECSCluster - `resource.ecsClusterDetails.name` + + - EKSCluster - `resource.eksClusterDetails.name` + + - Instance - `resource.instanceDetails.instanceId` + + - KubernetesCluster - + `resource.kubernetesDetails.kubernetesWorkloadDetails.name` + + - Lambda - `resource.lambdaDetails.functionName` + + - RDSDBInstance - `resource.rdsDbInstanceDetails.dbInstanceIdentifier` + + - S3Bucket - `resource.s3BucketDetails.name` + + - S3Object - `resource.s3BucketDetails.name` + """ + resource_type: str | None = ... + """The type of resource.""" + total_findings: int | None = ... + """The total number of findings associated with this resource.""" + +class ResourceType(UnknownEnumMixin, StrEnum): + EKS = "EKS" + ECS = "ECS" + EC2 = "EC2" + +@dataclass(kw_only=True) +class ResourceV2(_SerdeShape): + """ + Contains information about the Amazon Web Services resource that is + associated with the GuardDuty finding. + """ + + uid: str | None = ... + """The unique identifier of the resource.""" + name: str | None = ... + """The name of the resource.""" + account_id: str | None = ... + """The Amazon Web Services account ID to which the resource belongs.""" + resource_type: str | None = ... + """The type of the Amazon Web Services resource.""" + region: str | None = ... + """The Amazon Web Services Region where the resource belongs.""" + service: str | None = ... + """The Amazon Web Services service of the resource.""" + cloud_partition: str | None = ... + """ + The cloud partition within the Amazon Web Services Region to which the + resource belongs. + """ + tags: list[Tag] | None = ... + """Contains information about the tags associated with the resource.""" + data: ResourceData | None = ... + """ + Contains information about the Amazon Web Services resource associated + with the activity that prompted GuardDuty to generate a finding. + """ + +class RiskLevel(UnknownEnumMixin, StrEnum): + INFO = "Info" + LOW = "Low" + MEDIUM = "Medium" + HIGH = "High" + CRITICAL = "Critical" + +@dataclass(kw_only=True) +class RuleDefinition(_SerdeShape): + """Contains the detection logic for a custom detection rule.""" + + expression: str | None = ... + """The detection logic expression for the rule.""" + +@dataclass(kw_only=True) +class RuleDetail(_SerdeShape): + """ + Contains the full details of a custom detection rule, including its + detection logic. + """ + + rule_id: str | None = ... + """The unique identifier for the rule.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) of the rule.""" + name: str | None = ... + """The display name of the rule.""" + description: str | None = ... + """A description of what the rule detects.""" + severity: str | None = ... + """The severity level assigned to findings generated by this rule.""" + data_source: str | None = ... + """The data source that the rule analyzes.""" + tactic: str | None = ... + """The MITRE ATT&CK tactic associated with the rule.""" + technique: str | None = ... + """The MITRE ATT&CK technique associated with the rule.""" + service: str | None = ... + """The Amazon Web Services service associated with the rule.""" + definition: RuleDefinition | None = ... + """The detection logic definition for the rule.""" + language: str | None = ... + """The language used for the detection logic expression.""" + schema: str | None = ... + """The schema version used by the rule definition.""" + runtime_monitoring_details: DetectionRuleRuntimeMonitoringDetails | None = ... + """ + Runtime Monitoring-specific details for the rule, including the + platforms on which the rule can run and the minimum GuardDuty agent + version required on each. + """ + created_at: datetime | None = ... + """The timestamp when the rule was created.""" + updated_at: datetime | None = ... + """The timestamp when the rule was last updated.""" + +class RuleLanguage(UnknownEnumMixin, StrEnum): + SQL = "SQL" + +class RuleSchema(UnknownEnumMixin, StrEnum): + CLOUD_TRAIL = "CloudTrail" + +@dataclass(kw_only=True) +class RuleSummary(_SerdeShape): + """Contains summary information about a custom detection rule.""" + + rule_id: str | None = ... + """The unique identifier for the rule.""" + arn: str | None = ... + """The Amazon Resource Name (ARN) of the rule.""" + name: str | None = ... + """The display name of the rule.""" + description: str | None = ... + """A description of what the rule detects.""" + severity: str | None = ... + """The severity level assigned to findings generated by this rule.""" + data_source: str | None = ... + """The data source that the rule analyzes.""" + tactic: str | None = ... + """The MITRE ATT&CK tactic associated with the rule.""" + technique: str | None = ... + """The MITRE ATT&CK technique associated with the rule.""" + service: str | None = ... + """The Amazon Web Services service associated with the rule.""" + language: str | None = ... + """The language used for the detection logic expression.""" + schema: str | None = ... + """The schema version used by the rule definition.""" + created_at: datetime | None = ... + """The timestamp when the rule was created.""" + updated_at: datetime | None = ... + """The timestamp when the rule was last updated.""" + +@dataclass(kw_only=True) +class RuntimeContext(_SerdeShape): + """Additional information about the suspicious activity.""" + + modifying_process: ProcessDetails | None = ... + """ + Information about the process that modified the current process. This is + available for multiple finding types. + """ + modified_at: datetime | None = ... + """ + The timestamp at which the process modified the current process. The + timestamp is in UTC date string format. + """ + script_path: str | None = ... + """The path to the script that was executed.""" + library_path: str | None = ... + """The path to the new library that was loaded.""" + ld_preload_value: str | None = ... + """The value of the LD_PRELOAD environment variable.""" + socket_path: str | None = ... + """The path to the docket socket that was accessed.""" + runc_binary_path: str | None = ... + """The path to the leveraged `runc` implementation.""" + release_agent_path: str | None = ... + """The path in the container that modified the release agent file.""" + mount_source: str | None = ... + """The path on the host that is mounted by the container.""" + mount_target: str | None = ... + """The path in the container that is mapped to the host directory.""" + file_system_type: str | None = ... + """Represents the type of mounted fileSystem.""" + flags: list[str] | None = ... + """ + Represents options that control the behavior of a runtime operation or + action. For example, a filesystem mount operation may contain a + read-only flag. + """ + module_name: str | None = ... + """The name of the module loaded into the kernel.""" + module_file_path: str | None = ... + """The path to the module loaded into the kernel.""" + module_sha256: str | None = ... + """The `SHA256` hash of the module.""" + shell_history_file_path: str | None = ... + """The path to the modified shell history file.""" + target_process: ProcessDetails | None = ... + """ + Information about the process that had its memory overwritten by the + current process. + """ + address_family: str | None = ... + """ + Represents the communication protocol associated with the address. For + example, the address family `AF_INET` is used for IP version of 4 + protocol. + """ + iana_protocol_number: int | None = ... + """ + Specifies a particular protocol within the address family. Usually there + is a single protocol in address families. For example, the address + family `AF_INET` only has the IP protocol. + """ + memory_regions: list[str] | None = ... + """ + Specifies the Region of a process's address space such as stack and + heap. + """ + tool_name: str | None = ... + """Name of the potentially suspicious tool.""" + tool_category: str | None = ... + """ + Category that the tool belongs to. Some of the examples are Backdoor + Tool, Pentest Tool, Network Scanner, and Network Sniffer. + """ + service_name: str | None = ... + """Name of the security service that has been potentially disabled.""" + command_line_example: str | None = ... + """Example of the command line involved in the suspicious activity.""" + threat_file_path: str | None = ... + """ + The suspicious file path for which the threat intelligence details were + found. + """ + file_operation: str | None = ... + """ + Represents the type of file operation that triggered the finding, such + as Write, Delete, Rename, Link, or Symlink. + """ + file_path: str | None = ... + """ + The path of the sensitive file that was modified. Modification includes + write, delete, rename, link, or symlink operations. This field is + indexed for filtering. + """ + related_file_paths: list[str] | None = ... + """ + All file paths modified by the same process that triggered the finding, + up to a maximum of 25 paths. + """ + +@dataclass(kw_only=True) +class RuntimeDetails(_SerdeShape): + """ + Information about the process and any required context values for a + specific finding. + """ + + process: ProcessDetails | None = ... + """Information about the observed process.""" + context: RuntimeContext | None = ... + """Additional information about the suspicious activity.""" + +@dataclass(kw_only=True) +class S3Bucket(_SerdeShape): + """Contains information about the Amazon S3 bucket policies and encryption.""" + + owner_id: str | None = ... + """The owner ID of the associated S3Amazon S3bucket.""" + created_at: datetime | None = ... + """The timestamp at which the Amazon S3 bucket was created.""" + encryption_type: str | None = ... + """ + The type of encryption used for the Amazon S3 buckets and its objects. + For more information, see [Protecting data with server-side + encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/serv-side-encryption.html) + in the *Amazon S3 User Guide*. + """ + encryption_key_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the encryption key that is used to + encrypt the Amazon S3 bucket and its objects. + """ + effective_permission: str | None = ... + """ + Describes the effective permissions on this S3 bucket, after factoring + all the attached policies. + """ + public_read_access: str | None = ... + """ + Indicates whether or not the public read access is allowed for an Amazon + S3 bucket. + """ + public_write_access: str | None = ... + """ + Indicates whether or not the public write access is allowed for an + Amazon S3 bucket. + """ + account_public_access: PublicAccessConfiguration | None = ... + """ + Contains information about the public access policies that apply to the + Amazon S3 bucket at the account level. + """ + bucket_public_access: PublicAccessConfiguration | None = ... + """ + Contains information about public access policies that apply to the + Amazon S3 bucket. + """ + s3_object_uids: list[str] | None = ... + """Represents a list of Amazon S3 object identifiers.""" + +@dataclass(kw_only=True) +class S3BucketDetail(_SerdeShape): + """Contains information on the S3 bucket.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the S3 bucket.""" + name: str | None = ... + """The name of the S3 bucket.""" + type: str | None = ... + """Describes whether the bucket is a source or destination bucket.""" + created_at: datetime | None = ... + """The date and time the bucket was created at.""" + owner: Owner | None = ... + """The owner of the S3 bucket.""" + tags: list[Tag] | None = ... + """All tags attached to the S3 bucket""" + default_server_side_encryption: DefaultServerSideEncryption | None = ... + """Describes the server side encryption method used in the S3 bucket.""" + public_access: PublicAccess | None = ... + """Describes the public access policies that apply to the S3 bucket.""" + s3_object_details: list[S3ObjectDetail] | None = ... + """Information about the S3 object that was scanned.""" + +@dataclass(kw_only=True) +class S3LogsConfiguration(_SerdeShape): + """Describes whether S3 data event logs will be enabled as a data source.""" + + enable: bool | None = ... + """The status of S3 data event logs as a data source.""" + +@dataclass(kw_only=True) +class S3LogsConfigurationResult(_SerdeShape): + """Describes whether S3 data event logs will be enabled as a data source.""" + + status: str | None = ... + """ + A value that describes whether S3 data event logs are automatically + enabled for new members of the organization. + """ + +@dataclass(kw_only=True) +class S3Object(_SerdeShape): + """Contains information about the Amazon S3 object.""" + + e_tag: str | None = ... + """ + The entity tag is a hash of the Amazon S3 object. The ETag reflects + changes only to the contents of an object, and not its metadata. + """ + key: str | None = ... + """The key of the Amazon S3 object.""" + version_id: str | None = ... + """The version Id of the Amazon S3 object.""" + +@dataclass(kw_only=True) +class S3ObjectDetail(_SerdeShape): + """Information about the S3 object that was scanned""" + + object_arn: str | None = ... + """Amazon Resource Name (ARN) of the S3 object.""" + key: str | None = ... + """Key of the S3 object.""" + e_tag: str | None = ... + """ + The entity tag is a hash of the S3 object. The ETag reflects changes + only to the contents of an object, and not its metadata. + """ + hash: str | None = ... + """Hash of the threat detected in this finding.""" + version_id: str | None = ... + """Version ID of the object.""" + +@dataclass(kw_only=True) +class S3ObjectForSendObjectMalwareScan(_SerdeShape): + """ + The S3 object path to initiate a scan, including bucket name, object + key, and optional version ID. + """ + + bucket: str | None = ... + """ + The name of the S3 bucket containing the object to scan. The bucket must + have GuardDuty Malware Protection enabled. + """ + key: str | None = ... + """ + The key (name) of the S3 object to scan for malware. This must be the + full key path of the object within the bucket. + """ + version_id: str | None = ... + """ + The version ID of the S3 object to scan. If not specified, the latest + version of the object is scanned. + """ + +@dataclass(kw_only=True) +class Scan(_SerdeShape): + """ + Contains information about malware scans associated with GuardDuty + Malware Protection for EC2. + """ + + detector_id: str | None = ... + """ + The unique ID of the detector that is associated with the request. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + admin_detector_id: str | None = ... + """ + The unique detector ID of the administrator account that the request is + associated with. If the account is an administrator, the + `AdminDetectorId` will be the same as the one used for `DetectorId`. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + scan_id: str | None = ... + """The unique scan ID associated with a scan entry.""" + scan_status: str | None = ... + """An enum value representing possible scan statuses.""" + failure_reason: str | None = ... + """Represents the reason for `FAILED` scan status.""" + scan_start_time: datetime | None = ... + """The timestamp of when the scan was triggered.""" + scan_end_time: datetime | None = ... + """The timestamp of when the scan was finished.""" + trigger_details: TriggerDetails | None = ... + """Specifies the reason why the scan was initiated.""" + resource_details: ResourceDetails | None = ... + """Represents the resources that were scanned in the scan entry.""" + scan_result_details: ScanResultDetails | None = ... + """Represents the result of the scan.""" + account_id: str | None = ... + """The ID for the account that belongs to the scan.""" + total_bytes: int | None = ... + """Represents total bytes that were scanned.""" + file_count: int | None = ... + """Represents the number of files that were scanned.""" + attached_volumes: list[VolumeDetail] | None = ... + """ + List of volumes that were attached to the original instance to be + scanned. + """ + scan_type: str | None = ... + """Specifies the scan type that invoked the malware scan.""" + +class ScanCategory(UnknownEnumMixin, StrEnum): + FULL_SCAN = "FULL_SCAN" + INCREMENTAL_SCAN = "INCREMENTAL_SCAN" + +@dataclass(kw_only=True) +class ScanCondition(_SerdeShape): + """Contains information about the condition.""" + + map_equals: list[ScanConditionPair] | None = ... + """ + Represents an *mapEqual* condition to be applied to a single field when + triggering for malware scan. + """ + +@dataclass(kw_only=True) +class ScanConditionPair(_SerdeShape): + """ + Represents the `key:value` pair to be matched against given resource + property. + """ + + key: str | None = ... + """Represents the **key** in the map condition.""" + value: str | None = ... + """ + Represents optional **value** in the map condition. If not specified, + only the **key** will be matched. + """ + +@dataclass(kw_only=True) +class ScanConfiguration(_SerdeShape): + """Contains information about the configuration used for the malware scan.""" + + role: str | None = ... + """ + Amazon Resource Name (ARN) of the IAM role that should contain the + required permissions for the scan. + """ + trigger_details: TriggerDetails | None = ... + """Information about the entity that triggered the malware scan.""" + incremental_scan_details: IncrementalScanDetails | None = ... + """Information about the incremental scan configuration, if applicable.""" + recovery_point: ScanConfigurationRecoveryPoint | None = ... + """ + Information about the recovery point configuration used for the scan, if + applicable. + """ + +@dataclass(kw_only=True) +class ScanConfigurationContinuousScanDetails(_SerdeShape): + """ + Contains information about the time range within the continuous backup + in Amazon Web Services Backup that was scanned for a point-in-time + recovery resource. + """ + + start_time: datetime | None = ... + """The timestamp representing the start of the time range that was scanned.""" + end_time: datetime + """The timestamp representing the end of the time range that was scanned.""" + +@dataclass(kw_only=True) +class ScanConfigurationRecoveryPoint(_SerdeShape): + """ + Contains information about the recovery point configuration used in the + scan. + """ + + backup_vault_name: str | None = ... + """ + The name of the Amazon Web Services Backup vault that contains the + recovery point for the scanned. + """ + continuous_scan_details: ScanConfigurationContinuousScanDetails | None = ... + """ + The time range within the continuous backup in Amazon Web Services + Backup that was scanned for a point-in-time recovery resource. + """ + +class ScanCriterionKey(UnknownEnumMixin, StrEnum): + """ + An enum value representing possible resource properties to match with + given scan condition. + """ + + EC2_INSTANCE_TAG = "EC2_INSTANCE_TAG" + +@dataclass(kw_only=True) +class ScanDetections(_SerdeShape): + """Contains a complete view providing malware scan result details.""" + + scanned_item_count: ScannedItemCount | None = ... + """Total number of scanned files.""" + threats_detected_item_count: ThreatsDetectedItemCount | None = ... + """Total number of infected files.""" + highest_severity_threat_details: HighestSeverityThreatDetails | None = ... + """ + Details of the highest severity threat detected during malware scan and + number of infected files. + """ + threat_detected_by_name: ThreatDetectedByName | None = ... + """Contains details about identified threats organized by threat name.""" + +@dataclass(kw_only=True) +class ScanEc2InstanceWithFindings(_SerdeShape): + """ + Describes whether Malware Protection for EC2 instances with findings + will be enabled as a data source. + """ + + ebs_volumes: bool | None = ... + """Describes the configuration for scanning EBS volumes as data source.""" + +@dataclass(kw_only=True) +class ScanEc2InstanceWithFindingsResult(_SerdeShape): + """ + An object that contains information on the status of whether Malware + Protection for EC2 instances with findings will be enabled as a data + source. + """ + + ebs_volumes: EbsVolumesResult | None = ... + """Describes the configuration of scanning EBS volumes as a data source.""" + +@dataclass(kw_only=True) +class ScanFilePath(_SerdeShape): + """Contains details of infected file including name, file path and hash.""" + + file_path: str | None = ... + """The file path of the infected file.""" + volume_arn: str | None = ... + """EBS volume ARN details of the infected file.""" + hash: str | None = ... + """The hash value of the infected file.""" + file_name: str | None = ... + """File name of the infected file.""" + +@dataclass(kw_only=True) +class ScannedItemCount(_SerdeShape): + """Total number of scanned files.""" + + total_gb: int | None = ... + """Total GB of files scanned for malware.""" + files: int | None = ... + """Number of files scanned.""" + volumes: int | None = ... + """Total number of scanned volumes.""" + +@dataclass(kw_only=True) +class ScannedResource(_SerdeShape): + """ + Contains information about a resource that was scanned as part of the + malware scan operation. + """ + + scanned_resource_arn: str | None = ... + """Amazon Resource Name (ARN) of the scanned resource.""" + scanned_resource_type: str | None = ... + """The resource type of the scanned resource.""" + scanned_resource_status: str | None = ... + """The status of the scanned resource.""" + scan_status_reason: str | None = ... + """ + The reason for the scan status of this particular resource, if + applicable. + """ + resource_details: ScannedResourceDetails | None = ... + """Information about the scanned resource.""" + +@dataclass(kw_only=True) +class ScannedResourceDetails(_SerdeShape): + """Contains additional information about a resource that was scanned.""" + + ebs_volume: VolumeDetail | None = ... + """Contains information about the EBS volume that was scanned.""" + ebs_snapshot: EbsSnapshot | None = ... + """Contains information about the EBS snapshot that was scanned.""" + +@dataclass(kw_only=True) +class ScanResourceCriteria(_SerdeShape): + """ + Contains information about criteria used to filter resources before + triggering malware scan. + """ + + include: dict[str, ScanCondition] | None = ... + """ + Represents condition that when matched will allow a malware scan for a + certain resource. + """ + exclude: dict[str, ScanCondition] | None = ... + """ + Represents condition that when matched will prevent a malware scan for a + certain resource. + """ + +class ScanResult(UnknownEnumMixin, StrEnum): + CLEAN = "CLEAN" + INFECTED = "INFECTED" + +@dataclass(kw_only=True) +class ScanResultDetails(_SerdeShape): + """Represents the result of the scan.""" + + scan_result: str | None = ... + """An enum value representing possible scan results.""" + +class ScanResultStatus(UnknownEnumMixin, StrEnum): + NO_THREATS_FOUND = "NO_THREATS_FOUND" + THREATS_FOUND = "THREATS_FOUND" + +@dataclass(kw_only=True) +class ScanResultThreat(_SerdeShape): + """ + Contains information about a specific threat that was detected during + the malware scan. + """ + + name: str | None = ... + """The name of the detected threat.""" + source: str | None = ... + """The source that detected this threat.""" + count: int | None = ... + """The number of instances of this threat that were detected.""" + hash: str | None = ... + """The hash value associated with the detected threat.""" + item_details: list[ItemDetails] | None = ... + """Additional information about where this threat was detected.""" + +class ScanStatus(UnknownEnumMixin, StrEnum): + RUNNING = "RUNNING" + COMPLETED = "COMPLETED" + FAILED = "FAILED" + SKIPPED = "SKIPPED" + +class ScanStatusReason(UnknownEnumMixin, StrEnum): + ACCESS_DENIED = "ACCESS_DENIED" + RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND" + SNAPSHOT_SIZE_LIMIT_EXCEEDED = "SNAPSHOT_SIZE_LIMIT_EXCEEDED" + RESOURCE_UNAVAILABLE = "RESOURCE_UNAVAILABLE" + INCONSISTENT_SOURCE = "INCONSISTENT_SOURCE" + INCREMENTAL_NO_DIFFERENCE = "INCREMENTAL_NO_DIFFERENCE" + NO_EBS_VOLUMES_FOUND = "NO_EBS_VOLUMES_FOUND" + UNSUPPORTED_PRODUCT_CODE_TYPE = "UNSUPPORTED_PRODUCT_CODE_TYPE" + AMI_SNAPSHOT_LIMIT_EXCEEDED = "AMI_SNAPSHOT_LIMIT_EXCEEDED" + UNRELATED_RESOURCES = "UNRELATED_RESOURCES" + BASE_RESOURCE_NOT_SCANNED = "BASE_RESOURCE_NOT_SCANNED" + BASE_CREATED_AFTER_TARGET = "BASE_CREATED_AFTER_TARGET" + UNSUPPORTED_FOR_INCREMENTAL = "UNSUPPORTED_FOR_INCREMENTAL" + UNSUPPORTED_AMI = "UNSUPPORTED_AMI" + UNSUPPORTED_SNAPSHOT = "UNSUPPORTED_SNAPSHOT" + UNSUPPORTED_COMPOSITE_RECOVERY_POINT = "UNSUPPORTED_COMPOSITE_RECOVERY_POINT" + ALL_FILES_SKIPPED_OR_FAILED = "ALL_FILES_SKIPPED_OR_FAILED" + +@dataclass(kw_only=True) +class ScanThreatName(_SerdeShape): + """ + Contains files infected with the given threat providing details of + malware name and severity. + """ + + name: str | None = ... + """The name of the identified threat.""" + severity: str | None = ... + """Severity of threat identified as part of the malware scan.""" + item_count: int | None = ... + """Total number of files infected with given threat.""" + file_paths: list[ScanFilePath] | None = ... + """List of infected files in EBS volume with details.""" + +class ScanType(UnknownEnumMixin, StrEnum): + GUARDDUTY_INITIATED = "GUARDDUTY_INITIATED" + ON_DEMAND = "ON_DEMAND" + +@dataclass(kw_only=True) +class SecurityContext(_SerdeShape): + """Container security context.""" + + privileged: bool | None = ... + """Whether the container is privileged.""" + allow_privilege_escalation: bool | None = ... + """ + Whether or not a container or a Kubernetes pod is allowed to gain more + privileges than its parent process. + """ + +@dataclass(kw_only=True) +class SecurityGroup(_SerdeShape): + """ + Contains information about the security groups associated with the EC2 + instance. + """ + + group_id: str | None = ... + """The security group ID of the EC2 instance.""" + group_name: str | None = ... + """The security group name of the EC2 instance.""" + +@dataclass(kw_only=True) +class SendObjectMalwareScanInput(_SerdeShape): + """Dataclass for SendObjectMalwareScanInput structure.""" + + s3_object: S3ObjectForSendObjectMalwareScan | None = ... + """ + The S3 object information for the object you want to scan. The bucket + must have a Malware Protection plan configured to use this API. + """ + +@dataclass(kw_only=True) +class SendObjectMalwareScanOutput(_SerdeShape): + """Dataclass for SendObjectMalwareScanOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Sequence(_SerdeShape): + """Contains information about the GuardDuty attack sequence finding.""" + + uid: str | None = ... + """Unique identifier of the attack sequence.""" + description: str | None = ... + """Description of the attack sequence.""" + actors: list[Actor] | None = ... + """Contains information about the actors involved in the attack sequence.""" + resources: list[ResourceV2] | None = ... + """ + Contains information about the resources involved in the attack + sequence. + """ + endpoints: list[NetworkEndpoint] | None = ... + """ + Contains information about the network endpoints that were used in the + attack sequence. + """ + signals: list[Signal] | None = ... + """Contains information about the signals involved in the attack sequence.""" + sequence_indicators: list[Indicator] | None = ... + """ + Contains information about the indicators observed in the attack + sequence. + """ + additional_sequence_types: list[str] | None = ... + """ + Additional types of sequences that may be associated with the attack + sequence finding, providing further context about the nature of the + detected threat. + """ + +@dataclass(kw_only=True) +class Service(_SerdeShape): + """Contains additional information about the generated finding.""" + + action: Action | None = ... + """Information about the activity that is described in a finding.""" + evidence: Evidence | None = ... + """An evidence object associated with the service.""" + archived: bool | None = ... + """Indicates whether this finding is archived.""" + count: int | None = ... + """The total count of the occurrences of this finding type.""" + detector_id: str | None = ... + """The detector ID for the GuardDuty service.""" + event_first_seen: str | None = ... + """ + The first-seen timestamp of the activity that prompted GuardDuty to + generate this finding. + """ + event_last_seen: str | None = ... + """ + The last-seen timestamp of the activity that prompted GuardDuty to + generate this finding. + """ + resource_role: str | None = ... + """The resource role information for this finding.""" + service_name: str | None = ... + """ + The name of the Amazon Web Services service (GuardDuty) that generated a + finding. + """ + user_feedback: str | None = ... + """Feedback that was submitted about the finding.""" + additional_info: ServiceAdditionalInfo | None = ... + """Contains additional information about the generated finding.""" + feature_name: str | None = ... + """The name of the feature that generated a finding.""" + ebs_volume_scan_details: EbsVolumeScanDetails | None = ... + """Returns details from the malware scan that created a finding.""" + runtime_details: RuntimeDetails | None = ... + """ + Information about the process and any required context values for a + specific finding + """ + detection: Detection | None = ... + """Contains information about the detected unusual behavior.""" + malware_scan_details: MalwareScanDetails | None = ... + """ + Returns details from the malware scan that generated a GuardDuty + finding. + """ + +@dataclass(kw_only=True) +class ServiceAdditionalInfo(_SerdeShape): + """Additional information about the generated finding.""" + + value: str | None = ... + """This field specifies the value of the additional information.""" + type: str | None = ... + """Describes the type of the additional information.""" + +@dataclass(kw_only=True) +class Session(_SerdeShape): + """Contains information about the authenticated session.""" + + uid: str | None = ... + """The unique identifier of the session.""" + mfa_status: str | None = ... + """ + Indicates whether or not multi-factor authencation (MFA) was used during + authentication. + + In Amazon Web Services CloudTrail, you can find this value as + `userIdentity.sessionContext.attributes.mfaAuthenticated`. + """ + created_time: datetime | None = ... + """ + The timestamp for when the session was created. + + In Amazon Web Services CloudTrail, you can find this value as + `userIdentity.sessionContext.attributes.creationDate`. + """ + issuer: str | None = ... + """ + Identifier of the session issuer. + + In Amazon Web Services CloudTrail, you can find this value as + `userIdentity.sessionContext.sessionIssuer.arn`. + """ + +@dataclass(kw_only=True) +class SeverityStatistics(_SerdeShape): + """Information about severity level for each finding type.""" + + last_generated_at: datetime | None = ... + """ + The timestamp at which a finding type for a specific severity was last + generated. + """ + severity: float | None = ... + """The severity level associated with each finding type.""" + total_findings: int | None = ... + """The total number of findings associated with this severity.""" + +@dataclass(kw_only=True) +class Signal(_SerdeShape): + """Contains information about the signals involved in the attack sequence.""" + + uid: str | None = ... + """The unique identifier of the signal.""" + type: str | None = ... + """ + The type of the signal used to identify an attack sequence. + + Signals can be GuardDuty findings or activities observed in data sources + that GuardDuty monitors. For more information, see [Foundational data + sources](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_data-sources.html) + in the *Amazon GuardDuty User Guide*. + + A signal type can be one of the valid values listed in this API. Here + are the related descriptions: + + - `FINDING` - Individually generated GuardDuty finding. + + - `CLOUD_TRAIL` - Activity observed from CloudTrail logs + + - `S3_DATA_EVENTS` - Activity observed from CloudTrail data events for + S3. Activities associated with this type will show up only when you + have enabled GuardDuty S3 Protection feature in your account. For more + information about S3 Protection and steps to enable it, see [S3 + Protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html) + in the *Amazon GuardDuty User Guide*. + """ + description: str | None = ... + """The description of the signal.""" + name: str | None = ... + """ + The name of the signal. For example, when signal type is `FINDING`, the + signal name is the name of the finding. + """ + created_at: datetime | None = ... + """ + The timestamp when the first finding or activity related to this signal + was observed. + """ + updated_at: datetime | None = ... + """The timestamp when this signal was last observed.""" + first_seen_at: datetime | None = ... + """ + The timestamp when the first finding or activity related to this signal + was observed. + """ + last_seen_at: datetime | None = ... + """ + The timestamp when the last finding or activity related to this signal + was observed. + """ + severity: float | None = ... + """ + The severity associated with the signal. For more information about + severity, see [Findings severity + levels](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings-severity.html) + in the *Amazon GuardDuty User Guide*. + """ + count: int | None = ... + """The number of times this signal was observed.""" + resource_uids: list[str] | None = ... + """ + Information about the unique identifiers of the resources involved in + the signal. + """ + actor_ids: list[str] | None = ... + """Information about the IDs of the threat actors involved in the signal.""" + endpoint_ids: list[str] | None = ... + """Information about the endpoint IDs associated with this signal.""" + signal_indicators: list[Indicator] | None = ... + """Contains information about the indicators associated with the signals.""" + activities: list[Activity] | None = ... + """ + Contains information about the activities, such as API calls, that were + observed for this signal. + """ + +class SignalType(UnknownEnumMixin, StrEnum): + FINDING = "FINDING" + CLOUD_TRAIL = "CLOUD_TRAIL" + S3_DATA_EVENTS = "S3_DATA_EVENTS" + EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" + FLOW_LOGS = "FLOW_LOGS" + DNS_LOGS = "DNS_LOGS" + RUNTIME_MONITORING = "RUNTIME_MONITORING" diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/models_2.pyi b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/models_2.pyi new file mode 100644 index 000000000..a0998e5fc --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/models_2.pyi @@ -0,0 +1,2607 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + Account, + DataSourceConfigurations, + DestinationProperties, + DetectorFeatureConfiguration, + FindingCriteria, + HostPath, + IncrementalScanDetails, + ItemDetails, + ItemPath, + MalwareProtectionConfigurationResult, + MalwareProtectionPlanActions, + MemberFeaturesConfiguration, + OrganizationDataSourceConfigurations, + OrganizationFeatureConfiguration, + RecoveryPoint, + ScanResourceCriteria, + ScanThreatName, + SecurityGroup, + _SerdeShape, +) + +@dataclass(kw_only=True) +class SortCriteria(_SerdeShape): + """Contains information about the criteria used for sorting findings.""" + + attribute_name: str | None = ... + """ + Represents the finding attribute, such as `accountId`, that sorts the + findings. + """ + order_by: str | None = ... + """The order by which the sorted findings are to be displayed.""" + +@dataclass(kw_only=True) +class StartMalwareScanConfiguration(_SerdeShape): + """ + Contains information about the configuration to be used for the malware + scan. + """ + + role: str | None = ... + """ + Amazon Resource Name (ARN) of the IAM role that is used for scanning the + resource. + """ + incremental_scan_details: IncrementalScanDetails | None = ... + """ + Contains information about the incremental scan configuration. When + specified, the scan will only process changes since the baseline + resource. + """ + recovery_point: RecoveryPoint | None = ... + """ + Contains information about the recovery point configuration for the + requested scan. + """ + +@dataclass(kw_only=True) +class StartMalwareScanInput(_SerdeShape): + """Dataclass for StartMalwareScanInput structure.""" + + resource_arn: str | None = ... + """ + Amazon Resource Name (ARN) of the resource for which you invoked the + API. + """ + client_token: str | None = ... + """ + The idempotency token for the create request. + + This field is autopopulated if not provided. + """ + scan_configuration: StartMalwareScanConfiguration | None = ... + """ + Contains information about the configuration to be used for the malware + scan. + """ + +@dataclass(kw_only=True) +class StartMalwareScanOutput(_SerdeShape): + """Dataclass for StartMalwareScanOutput structure.""" + + scan_id: str | None = ... + """ + A unique identifier that gets generated when you invoke the API without + any error. Each malware scan has a corresponding scan ID. Using this + scan ID, you can monitor the status of your malware scan. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartMonitoringMembersInput(_SerdeShape): + """Dataclass for StartMonitoringMembersInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector of the GuardDuty administrator account + associated with the member accounts to monitor. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + account_ids: list[str] | None = ... + """ + A list of account IDs of the GuardDuty member accounts to start + monitoring. + """ + +@dataclass(kw_only=True) +class StartMonitoringMembersOutput(_SerdeShape): + """Dataclass for StartMonitoringMembersOutput structure.""" + + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of objects that contain the unprocessed account and a result + string that explains why it was unprocessed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopMonitoringMembersInput(_SerdeShape): + """Dataclass for StopMonitoringMembersInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector associated with the GuardDuty + administrator account that is monitoring member accounts. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + account_ids: list[str] | None = ... + """A list of account IDs for the member accounts to stop monitoring.""" + +@dataclass(kw_only=True) +class StopMonitoringMembersOutput(_SerdeShape): + """Dataclass for StopMonitoringMembersOutput structure.""" + + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of objects that contain an accountId for each account that could + not be processed, and a result string that indicates why the account was + not processed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """Contains information about a tag key-value pair.""" + + key: str | None = ... + """Describes the key associated with the tag.""" + value: str | None = ... + """Describes the value associated with the tag key.""" + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Dataclass for TagResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the GuardDuty resource to apply a tag + to. + """ + tags: dict[str, str] | None = ... + """The tags to be added to a resource.""" + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Threat(_SerdeShape): + """ + Information about the detected threats associated with the generated + finding. + """ + + name: str | None = ... + """ + Name of the detected threat that caused GuardDuty to generate this + finding. + """ + source: str | None = ... + """Source of the threat that generated this finding.""" + item_paths: list[ItemPath] | None = ... + """ + Information about the nested item path and hash of the protected + resource. + """ + count: int | None = ... + """ + The number of occurrences of this specific threat detected during the + scan. + """ + hash: str | None = ... + """The hash identifier of the detected malware threat.""" + item_details: list[ItemDetails] | None = ... + """Detailed information about the detected malware threat.""" + +@dataclass(kw_only=True) +class ThreatDetectedByName(_SerdeShape): + """Contains details about identified threats organized by threat name.""" + + item_count: int | None = ... + """Total number of infected files identified.""" + unique_threat_name_count: int | None = ... + """ + Total number of unique threats by name identified, as part of the + malware scan. + """ + shortened: bool | None = ... + """ + Flag to determine if the finding contains every single infected + file-path and/or every threat. + """ + threat_names: list[ScanThreatName] | None = ... + """List of identified threats with details, organized by threat name.""" + +class ThreatEntitySetFormat(UnknownEnumMixin, StrEnum): + TXT = "TXT" + STIX = "STIX" + OTX_CSV = "OTX_CSV" + ALIEN_VAULT = "ALIEN_VAULT" + PROOF_POINT = "PROOF_POINT" + FIRE_EYE = "FIRE_EYE" + +class ThreatEntitySetStatus(UnknownEnumMixin, StrEnum): + INACTIVE = "INACTIVE" + ACTIVATING = "ACTIVATING" + ACTIVE = "ACTIVE" + DEACTIVATING = "DEACTIVATING" + ERROR = "ERROR" + DELETE_PENDING = "DELETE_PENDING" + DELETED = "DELETED" + +@dataclass(kw_only=True) +class ThreatIntelligenceDetail(_SerdeShape): + """ + An instance of a threat intelligence detail that constitutes evidence + for the finding. + """ + + threat_list_name: str | None = ... + """The name of the threat intelligence list that triggered the finding.""" + threat_names: list[str] | None = ... + """ + A list of names of the threats in the threat intelligence list that + triggered the finding. + """ + threat_file_sha256: str | None = ... + """SHA256 of the file that generated the finding.""" + +class ThreatIntelSetFormat(UnknownEnumMixin, StrEnum): + TXT = "TXT" + STIX = "STIX" + OTX_CSV = "OTX_CSV" + ALIEN_VAULT = "ALIEN_VAULT" + PROOF_POINT = "PROOF_POINT" + FIRE_EYE = "FIRE_EYE" + +class ThreatIntelSetStatus(UnknownEnumMixin, StrEnum): + INACTIVE = "INACTIVE" + ACTIVATING = "ACTIVATING" + ACTIVE = "ACTIVE" + DEACTIVATING = "DEACTIVATING" + ERROR = "ERROR" + DELETE_PENDING = "DELETE_PENDING" + DELETED = "DELETED" + +@dataclass(kw_only=True) +class ThreatsDetectedItemCount(_SerdeShape): + """Contains total number of infected files.""" + + files: int | None = ... + """Total number of infected files.""" + +@dataclass(kw_only=True) +class Total(_SerdeShape): + """ + Contains the total usage with the corresponding currency unit for that + value. + """ + + amount: str | None = ... + """The total usage.""" + unit: str | None = ... + """The currency unit that the amount is given in.""" + +@dataclass(kw_only=True) +class TriggerDetails(_SerdeShape): + """Represents the reason the scan was triggered.""" + + guard_duty_finding_id: str | None = ... + """The ID of the GuardDuty finding that triggered the malware scan.""" + description: str | None = ... + """The description of the scan trigger.""" + trigger_type: str | None = ... + """Specifies the trigger type that started the malware scan.""" + +class TriggerType(UnknownEnumMixin, StrEnum): + BACKUP = "BACKUP" + GUARDDUTY = "GUARDDUTY" + +class TrustedEntitySetFormat(UnknownEnumMixin, StrEnum): + TXT = "TXT" + STIX = "STIX" + OTX_CSV = "OTX_CSV" + ALIEN_VAULT = "ALIEN_VAULT" + PROOF_POINT = "PROOF_POINT" + FIRE_EYE = "FIRE_EYE" + +class TrustedEntitySetStatus(UnknownEnumMixin, StrEnum): + INACTIVE = "INACTIVE" + ACTIVATING = "ACTIVATING" + ACTIVE = "ACTIVE" + DEACTIVATING = "DEACTIVATING" + ERROR = "ERROR" + DELETE_PENDING = "DELETE_PENDING" + DELETED = "DELETED" + +@dataclass(kw_only=True) +class UnarchiveFindingsInput(_SerdeShape): + """Dataclass for UnarchiveFindingsInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector associated with the findings to unarchive. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + finding_ids: list[str] | None = ... + """The IDs of the findings to unarchive.""" + +@dataclass(kw_only=True) +class UnarchiveFindingsOutput(_SerdeShape): + """Dataclass for UnarchiveFindingsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UnprocessedAccount(_SerdeShape): + """Contains information about the accounts that weren't processed.""" + + account_id: str | None = ... + """The Amazon Web Services account ID.""" + result: str | None = ... + """A reason why the account hasn't been processed.""" + +@dataclass(kw_only=True) +class UnprocessedDataSourcesResult(_SerdeShape): + """Specifies the names of the data sources that couldn't be enabled.""" + + malware_protection: MalwareProtectionConfigurationResult | None = ... + """ + An object that contains information on the status of all Malware + Protection data sources. + """ + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Dataclass for UntagResourceInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) for the resource to remove tags from.""" + tag_keys: list[str] | None = ... + """The tag keys to remove from the resource.""" + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCustomDetectionRuleAssociationInput(_SerdeShape): + """Dataclass for UpdateCustomDetectionRuleAssociationInput structure.""" + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + association_id: str | None = ... + """The unique identifier for the association to update.""" + mode: str | None = ... + """The rule execution mode. Valid values: `LIVE` | `DRY_RUN`.""" + +@dataclass(kw_only=True) +class UpdateCustomDetectionRuleAssociationOutput(_SerdeShape): + """Dataclass for UpdateCustomDetectionRuleAssociationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCustomDetectionRuleOrgConfigurationInput(_SerdeShape): + """Dataclass for UpdateCustomDetectionRuleOrgConfigurationInput structure.""" + + rule_id: str | None = ... + """The unique identifier for the custom detection rule.""" + mode: str | None = ... + """ + The execution mode of the organization configuration. Valid values: + `LIVE` | `DRY_RUN`. + """ + include_account_ids: list[str] | None = ... + """ + The account IDs to include in the organization configuration. Mutually + exclusive with `ExcludeAccountIds`. + """ + exclude_account_ids: list[str] | None = ... + """ + The account IDs to exclude from the organization configuration. Mutually + exclusive with `IncludeAccountIds`. + """ + +@dataclass(kw_only=True) +class UpdateCustomDetectionRuleOrgConfigurationOutput(_SerdeShape): + """Dataclass for UpdateCustomDetectionRuleOrgConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDetectorInput(_SerdeShape): + """Dataclass for UpdateDetectorInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector to update. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + enable: bool | None = ... + """Specifies whether the detector is enabled or not enabled.""" + finding_publishing_frequency: str | None = ... + """ + An enum value that specifies how frequently findings are exported, such + as to CloudWatch Events. + """ + data_sources: DataSourceConfigurations | None = ... + """ + Describes which data sources will be updated. + + There might be regional differences because some data sources might not + be available in all the Amazon Web Services Regions where GuardDuty is + presently supported. For more information, see [Regions and + endpoints](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). + """ + features: list[DetectorFeatureConfiguration] | None = ... + """Provides the features that will be updated for the detector.""" + +@dataclass(kw_only=True) +class UpdateDetectorOutput(_SerdeShape): + """Dataclass for UpdateDetectorOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFilterInput(_SerdeShape): + """Dataclass for UpdateFilterInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that specifies the GuardDuty service where + you want to update a filter. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + filter_name: str | None = ... + """The name of the filter.""" + description: str | None = ... + """ + The description of the filter. Valid characters include alphanumeric + characters, and special characters such as hyphen, period, colon, + underscore, parentheses (`{ }`, `[ ]`, and `( )`), forward slash, + horizontal tab, vertical tab, newline, form feed, return, and + whitespace. + """ + action: str | None = ... + """ + Specifies the action that is to be applied to the findings that match + the filter. + + Default: NOOP + """ + rank: int | None = ... + """ + Specifies the position of the filter in the list of current filters. + Also specifies the order in which this filter is applied to the + findings. + """ + finding_criteria: FindingCriteria | None = ... + """ + Represents the criteria to be used in the filter for querying findings. + The following fields are available for filtering: + + - accountId + + - arn + + - associatedAttackSequenceArn + + - confidence + + - createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - id + + - partition + + - region + + - resource.accessKeyDetails.accessKeyId + + - resource.accessKeyDetails.principalId + + - resource.accessKeyDetails.userIdentity.accessKeyId + + - resource.accessKeyDetails.userIdentity.accountId + + - resource.accessKeyDetails.userIdentity.arn + + - resource.accessKeyDetails.userIdentity.principalId + + - resource.accessKeyDetails.userIdentity.sessionContext.attributes.mfaAuthenticated + + - resource.accessKeyDetails.userIdentity.sessionContext.ec2RoleDelivery + + - resource.accessKeyDetails.userIdentity.sessionContext.invokedBy + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.accountId + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.arn + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.principalId + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.type + + - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.userName + + - resource.accessKeyDetails.userIdentity.sessionContext.sourceIdentity + + - resource.accessKeyDetails.userIdentity.sessionContext.webIdFederationData.attributes + + - resource.accessKeyDetails.userIdentity.sessionContext.webIdFederationData.federatedProvider + + - resource.accessKeyDetails.userIdentity.type + + - resource.accessKeyDetails.userIdentity.userName + + - resource.accessKeyDetails.userName + + - resource.accessKeyDetails.userType + + - resource.bedrockGuardrailDetails.guardrailArn + + - resource.bedrockGuardrailDetails.guardrailVersion + + - resource.containerDetails.containerRuntime + + - resource.containerDetails.id + + - resource.containerDetails.image + + - resource.containerDetails.imagePrefix + + - resource.containerDetails.name + + - resource.containerDetails.securityContext.allowPrivilegeEscalation + + - resource.containerDetails.securityContext.privileged + + - resource.containerDetails.volumeMounts.mountPath + + - resource.containerDetails.volumeMounts.name + + - resource.ebsSnapshotDetails.snapshotArn + + - resource.ebsVolumeDetails.scannedVolumeDetails.deviceName + + - resource.ebsVolumeDetails.scannedVolumeDetails.encryptionType + + - resource.ebsVolumeDetails.scannedVolumeDetails.kmsKeyArn + + - resource.ebsVolumeDetails.scannedVolumeDetails.snapshotArn + + - resource.ebsVolumeDetails.scannedVolumeDetails.volumeArn + + - resource.ebsVolumeDetails.scannedVolumeDetails.volumeSizeInGB + + - resource.ebsVolumeDetails.scannedVolumeDetails.volumeType + + - resource.ebsVolumeDetails.skippedVolumeDetails.deviceName + + - resource.ebsVolumeDetails.skippedVolumeDetails.encryptionType + + - resource.ebsVolumeDetails.skippedVolumeDetails.kmsKeyArn + + - resource.ebsVolumeDetails.skippedVolumeDetails.snapshotArn + + - resource.ebsVolumeDetails.skippedVolumeDetails.volumeArn + + - resource.ebsVolumeDetails.skippedVolumeDetails.volumeSizeInGB + + - resource.ebsVolumeDetails.skippedVolumeDetails.volumeType + + - resource.ec2ImageDetails.imageArn + + - resource.ecsClusterDetails.activeServicesCount + + - resource.ecsClusterDetails.arn + + - resource.ecsClusterDetails.name + + - resource.ecsClusterDetails.registeredContainerInstancesCount + + - resource.ecsClusterDetails.runningTasksCount + + - resource.ecsClusterDetails.status + + - resource.ecsClusterDetails.tags.key + + - resource.ecsClusterDetails.tags.value + + - resource.ecsClusterDetails.taskDetails.arn + + - resource.ecsClusterDetails.taskDetails.containers.containerRuntime + + - resource.ecsClusterDetails.taskDetails.containers.id + + - resource.ecsClusterDetails.taskDetails.containers.image + + - resource.ecsClusterDetails.taskDetails.containers.imagePrefix + + - resource.ecsClusterDetails.taskDetails.containers.name + + - resource.ecsClusterDetails.taskDetails.containers.securityContext.allowPrivilegeEscalation + + - resource.ecsClusterDetails.taskDetails.containers.securityContext.privileged + + - resource.ecsClusterDetails.taskDetails.containers.volumeMounts.mountPath + + - resource.ecsClusterDetails.taskDetails.containers.volumeMounts.name + + - resource.ecsClusterDetails.taskDetails.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.ecsClusterDetails.taskDetails.definitionArn + + - resource.ecsClusterDetails.taskDetails.group + + - resource.ecsClusterDetails.taskDetails.launchType + + - resource.ecsClusterDetails.taskDetails.startedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.ecsClusterDetails.taskDetails.startedBy + + - resource.ecsClusterDetails.taskDetails.tags.key + + - resource.ecsClusterDetails.taskDetails.tags.value + + - resource.ecsClusterDetails.taskDetails.version + + - resource.ecsClusterDetails.taskDetails.volumes.hostPath.path + + - resource.ecsClusterDetails.taskDetails.volumes.name + + - resource.eksClusterDetails.arn + + - resource.eksClusterDetails.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.eksClusterDetails.name + + - resource.eksClusterDetails.status + + - resource.eksClusterDetails.tags.key + + - resource.eksClusterDetails.tags.value + + - resource.eksClusterDetails.vpcId + + - resource.instanceDetails.availabilityZone + + - resource.instanceDetails.iamInstanceProfile.arn + + - resource.instanceDetails.iamInstanceProfile.id + + - resource.instanceDetails.imageDescription + + - resource.instanceDetails.imageId + + - resource.instanceDetails.instanceId + + - resource.instanceDetails.instanceState + + - resource.instanceDetails.instanceType + + - resource.instanceDetails.launchTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.instanceDetails.networkInterfaces.ipv6Addresses + + - resource.instanceDetails.networkInterfaces.networkInterfaceId + + - resource.instanceDetails.networkInterfaces.privateDnsName + + - resource.instanceDetails.networkInterfaces.privateIpAddress + + - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateDnsName + + - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress + + - resource.instanceDetails.networkInterfaces.publicDnsName + + - resource.instanceDetails.networkInterfaces.publicIp + + - resource.instanceDetails.networkInterfaces.securityGroups.groupId + + - resource.instanceDetails.networkInterfaces.securityGroups.groupName + + - resource.instanceDetails.networkInterfaces.subnetId + + - resource.instanceDetails.networkInterfaces.vpcId + + - resource.instanceDetails.outpostArn + + - resource.instanceDetails.platform + + - resource.instanceDetails.productCodes.productCodeId + + - resource.instanceDetails.productCodes.productCodeType + + - resource.instanceDetails.tags.key + + - resource.instanceDetails.tags.value + + - resource.kubernetesDetails.kubernetesUserDetails.groups + + - resource.kubernetesDetails.kubernetesUserDetails.impersonatedUser.groups + + - resource.kubernetesDetails.kubernetesUserDetails.impersonatedUser.username + + - resource.kubernetesDetails.kubernetesUserDetails.sessionName + + - resource.kubernetesDetails.kubernetesUserDetails.uid + + - resource.kubernetesDetails.kubernetesUserDetails.username + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.containerRuntime + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.id + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.image + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.imagePrefix + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.name + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.securityContext.allowPrivilegeEscalation + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.securityContext.privileged + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.volumeMounts.mountPath + + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.volumeMounts.name + + - resource.kubernetesDetails.kubernetesWorkloadDetails.hostIpc + + - resource.kubernetesDetails.kubernetesWorkloadDetails.hostNetwork + + - resource.kubernetesDetails.kubernetesWorkloadDetails.hostPid + + - resource.kubernetesDetails.kubernetesWorkloadDetails.name + + - resource.kubernetesDetails.kubernetesWorkloadDetails.namespace + + - resource.kubernetesDetails.kubernetesWorkloadDetails.serviceAccountName + + - resource.kubernetesDetails.kubernetesWorkloadDetails.type + + - resource.kubernetesDetails.kubernetesWorkloadDetails.uid + + - resource.kubernetesDetails.kubernetesWorkloadDetails.volumes.hostPath.path + + - resource.kubernetesDetails.kubernetesWorkloadDetails.volumes.name + + - resource.lambdaDetails.description + + - resource.lambdaDetails.functionArn + + - resource.lambdaDetails.functionName + + - resource.lambdaDetails.functionVersion + + - resource.lambdaDetails.lastModifiedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.lambdaDetails.revisionId + + - resource.lambdaDetails.role + + - resource.lambdaDetails.tags.key + + - resource.lambdaDetails.tags.value + + - resource.lambdaDetails.vpcConfig.securityGroups.groupId + + - resource.lambdaDetails.vpcConfig.securityGroups.groupName + + - resource.lambdaDetails.vpcConfig.subnetIds + + - resource.lambdaDetails.vpcConfig.vpcId + + - resource.rdsDbInstanceDetails.dbClusterIdentifier + + - resource.rdsDbInstanceDetails.dbInstanceArn + + - resource.rdsDbInstanceDetails.dbInstanceIdentifier + + - resource.rdsDbInstanceDetails.dbSecurityGroups.name + + - resource.rdsDbInstanceDetails.dbSecurityGroups.status + + - resource.rdsDbInstanceDetails.dbiResourceId + + - resource.rdsDbInstanceDetails.engine + + - resource.rdsDbInstanceDetails.engineVersion + + - resource.rdsDbInstanceDetails.iamDatabaseAuthenticationEnabled + + - resource.rdsDbInstanceDetails.publiclyAccessible + + - resource.rdsDbInstanceDetails.vpcId + + - resource.rdsDbInstanceDetails.vpcSecurityGroups.status + + - resource.rdsDbInstanceDetails.vpcSecurityGroups.vpcSecurityGroupId + + - resource.rdsDbUserDetails.application + + - resource.rdsDbUserDetails.authMethod + + - resource.rdsDbUserDetails.database + + - resource.rdsDbUserDetails.ssl + + - resource.rdsDbUserDetails.user + + - resource.rdsLimitlessDbDetails.dbClusterIdentifier + + - resource.rdsLimitlessDbDetails.dbShardGroupArn + + - resource.rdsLimitlessDbDetails.dbShardGroupIdentifier + + - resource.rdsLimitlessDbDetails.dbShardGroupResourceId + + - resource.rdsLimitlessDbDetails.engine + + - resource.rdsLimitlessDbDetails.engineVersion + + - resource.rdsLimitlessDbDetails.tags.key + + - resource.rdsLimitlessDbDetails.tags.value + + - resource.recoveryPointDetails.backupVaultName + + - resource.recoveryPointDetails.recoveryPointArn + + - resource.resourceType + + - resource.s3BucketDetails.arn + + - resource.s3BucketDetails.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - resource.s3BucketDetails.defaultServerSideEncryption.encryptionType + + - resource.s3BucketDetails.defaultServerSideEncryption.kmsMasterKeyArn + + - resource.s3BucketDetails.name + + - resource.s3BucketDetails.owner.id + + - resource.s3BucketDetails.publicAccess.effectivePermission + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.blockPublicAcls + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.blockPublicPolicy + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.ignorePublicAcls + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.restrictPublicBuckets + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.accessControlList.allowsPublicReadAccess + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.accessControlList.allowsPublicWriteAccess + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.blockPublicAcls + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.blockPublicPolicy + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.ignorePublicAcls + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.restrictPublicBuckets + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.bucketPolicy.allowsPublicReadAccess + + - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.bucketPolicy.allowsPublicWriteAccess + + - resource.s3BucketDetails.s3ObjectDetails.eTag + + - resource.s3BucketDetails.s3ObjectDetails.hash + + - resource.s3BucketDetails.s3ObjectDetails.key + + - resource.s3BucketDetails.s3ObjectDetails.objectArn + + - resource.s3BucketDetails.s3ObjectDetails.versionId + + - resource.s3BucketDetails.tags.key + + - resource.s3BucketDetails.tags.value + + - resource.s3BucketDetails.type + + - schemaVersion + + - service.action.actionType + + - service.action.awsApiCallAction.api + + - service.action.awsApiCallAction.callerType + + - service.action.awsApiCallAction.domainDetails.domain + + - service.action.awsApiCallAction.errorCode + + - service.action.awsApiCallAction.remoteAccountDetails.accountId + + - service.action.awsApiCallAction.remoteAccountDetails.affiliated + + - service.action.awsApiCallAction.remoteAccountDetails.awsServiceName + + - service.action.awsApiCallAction.remoteIpDetails.city.cityName + + - service.action.awsApiCallAction.remoteIpDetails.country.countryCode + + - service.action.awsApiCallAction.remoteIpDetails.country.countryName + + - service.action.awsApiCallAction.remoteIpDetails.geoLocation.lat + + - service.action.awsApiCallAction.remoteIpDetails.geoLocation.lon + + - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 + + - service.action.awsApiCallAction.remoteIpDetails.ipAddressV6 + + - service.action.awsApiCallAction.remoteIpDetails.organization.asn + + - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg + + - service.action.awsApiCallAction.remoteIpDetails.organization.isp + + - service.action.awsApiCallAction.remoteIpDetails.organization.org + + - service.action.awsApiCallAction.serviceName + + - service.action.awsApiCallAction.userAgent + + - service.action.dnsRequestAction.blocked + + - service.action.dnsRequestAction.domain + + - service.action.dnsRequestAction.domainWithSuffix + + - service.action.dnsRequestAction.protocol + + - service.action.dnsRequestAction.vpcOwnerAccountId + + - service.action.kubernetesApiCallAction.namespace + + - service.action.kubernetesApiCallAction.parameters + + - service.action.kubernetesApiCallAction.remoteIpDetails.city.cityName + + - service.action.kubernetesApiCallAction.remoteIpDetails.country.countryCode + + - service.action.kubernetesApiCallAction.remoteIpDetails.country.countryName + + - service.action.kubernetesApiCallAction.remoteIpDetails.geoLocation.lat + + - service.action.kubernetesApiCallAction.remoteIpDetails.geoLocation.lon + + - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4 + + - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6 + + - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn + + - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asnOrg + + - service.action.kubernetesApiCallAction.remoteIpDetails.organization.isp + + - service.action.kubernetesApiCallAction.remoteIpDetails.organization.org + + - service.action.kubernetesApiCallAction.requestUri + + - service.action.kubernetesApiCallAction.resource + + - service.action.kubernetesApiCallAction.resourceName + + - service.action.kubernetesApiCallAction.sourceIPs + + - service.action.kubernetesApiCallAction.statusCode + + - service.action.kubernetesApiCallAction.subresource + + - service.action.kubernetesApiCallAction.userAgent + + - service.action.kubernetesApiCallAction.verb + + - service.action.kubernetesPermissionCheckedDetails.allowed + + - service.action.kubernetesPermissionCheckedDetails.namespace + + - service.action.kubernetesPermissionCheckedDetails.resource + + - service.action.kubernetesPermissionCheckedDetails.verb + + - service.action.kubernetesRoleBindingDetails.kind + + - service.action.kubernetesRoleBindingDetails.name + + - service.action.kubernetesRoleBindingDetails.roleRefKind + + - service.action.kubernetesRoleBindingDetails.roleRefName + + - service.action.kubernetesRoleBindingDetails.uid + + - service.action.kubernetesRoleDetails.kind + + - service.action.kubernetesRoleDetails.name + + - service.action.kubernetesRoleDetails.uid + + - service.action.networkConnectionAction.blocked + + - service.action.networkConnectionAction.connectionDirection + + - service.action.networkConnectionAction.localIpDetails.ipAddressV4 + + - service.action.networkConnectionAction.localIpDetails.ipAddressV6 + + - service.action.networkConnectionAction.localNetworkInterface + + - service.action.networkConnectionAction.localPortDetails.port + + - service.action.networkConnectionAction.localPortDetails.portName + + - service.action.networkConnectionAction.protocol + + - service.action.networkConnectionAction.remoteIpDetails.city.cityName + + - service.action.networkConnectionAction.remoteIpDetails.country.countryCode + + - service.action.networkConnectionAction.remoteIpDetails.country.countryName + + - service.action.networkConnectionAction.remoteIpDetails.geoLocation.lat + + - service.action.networkConnectionAction.remoteIpDetails.geoLocation.lon + + - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 + + - service.action.networkConnectionAction.remoteIpDetails.ipAddressV6 + + - service.action.networkConnectionAction.remoteIpDetails.organization.asn + + - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg + + - service.action.networkConnectionAction.remoteIpDetails.organization.isp + + - service.action.networkConnectionAction.remoteIpDetails.organization.org + + - service.action.networkConnectionAction.remotePortDetails.port + + - service.action.networkConnectionAction.remotePortDetails.portName + + - service.action.portProbeAction.blocked + + - service.action.portProbeAction.portProbeDetails.localIpDetails.ipAddressV4 + + - service.action.portProbeAction.portProbeDetails.localIpDetails.ipAddressV6 + + - service.action.portProbeAction.portProbeDetails.localPortDetails.port + + - service.action.portProbeAction.portProbeDetails.localPortDetails.portName + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.city.cityName + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.country.countryCode + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.country.countryName + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.geoLocation.lat + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.geoLocation.lon + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.ipAddressV4 + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.ipAddressV6 + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.asn + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.asnOrg + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.isp + + - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.org + + - service.action.rdsLoginAttemptAction.loginAttributes.application + + - service.action.rdsLoginAttemptAction.loginAttributes.failedLoginAttempts + + - service.action.rdsLoginAttemptAction.loginAttributes.successfulLoginAttempts + + - service.action.rdsLoginAttemptAction.loginAttributes.user + + - service.action.rdsLoginAttemptAction.remoteIpDetails.city.cityName + + - service.action.rdsLoginAttemptAction.remoteIpDetails.country.countryCode + + - service.action.rdsLoginAttemptAction.remoteIpDetails.country.countryName + + - service.action.rdsLoginAttemptAction.remoteIpDetails.geoLocation.lat + + - service.action.rdsLoginAttemptAction.remoteIpDetails.geoLocation.lon + + - service.action.rdsLoginAttemptAction.remoteIpDetails.ipAddressV4 + + - service.action.rdsLoginAttemptAction.remoteIpDetails.ipAddressV6 + + - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.asn + + - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.asnOrg + + - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.isp + + - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.org + + - service.additionalInfo.agentDetails.agentId + + - service.additionalInfo.agentDetails.agentVersion + + - service.additionalInfo.anomalies.anomalousAPIs + + - service.additionalInfo.authenticationMethod + + - service.additionalInfo.averagePacketSizeIn + + - service.additionalInfo.averagePacketSizeOut + + - service.additionalInfo.context + + - service.additionalInfo.domain + + - service.additionalInfo.inBytes + + - service.additionalInfo.localNetworkInterfaceOwner + + - service.additionalInfo.localPort + + - service.additionalInfo.outBytes + + - service.additionalInfo.packetsIn + + - service.additionalInfo.packetsOut + + - service.additionalInfo.policyArn + + - service.additionalInfo.policyName + + - service.additionalInfo.remotePort + + - service.additionalInfo.sample + + - service.additionalInfo.scannedPort + + - service.additionalInfo.threatFileSha256 + + - service.additionalInfo.threatListName + + - service.additionalInfo.threatName + + - service.additionalInfo.totalBytesIn + + - service.additionalInfo.totalBytesOut + + - service.additionalInfo.type + + - service.additionalInfo.unusual.asnOrg + + - service.additionalInfo.unusual.port + + - service.additionalInfo.unusualProtocol + + - service.additionalInfo.userAgent.fullUserAgent + + - service.additionalInfo.userAgent.userAgentCategory + + - service.additionalInfo.value + + - service.additionalInfo.vpcOwnerAccountId + + - service.archived + + - service.count + + - service.detection.sequence.actors.id + + - service.detection.sequence.actors.process.name + + - service.detection.sequence.actors.process.path + + - service.detection.sequence.actors.process.sha256 + + - service.detection.sequence.actors.session.createdTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.actors.session.issuer + + - service.detection.sequence.actors.session.mfaStatus + + - service.detection.sequence.actors.session.uid + + - service.detection.sequence.actors.user.account.account + + - service.detection.sequence.actors.user.account.uid + + - service.detection.sequence.actors.user.credentialUid + + - service.detection.sequence.actors.user.name + + - service.detection.sequence.actors.user.type + + - service.detection.sequence.actors.user.uid + + - service.detection.sequence.additionalSequenceTypes + + - service.detection.sequence.description + + - service.detection.sequence.endpoints.autonomousSystem.name + + - service.detection.sequence.endpoints.autonomousSystem.number + + - service.detection.sequence.endpoints.connection.direction + + - service.detection.sequence.endpoints.domain + + - service.detection.sequence.endpoints.id + + - service.detection.sequence.endpoints.ip + + - service.detection.sequence.endpoints.location.city + + - service.detection.sequence.endpoints.location.country + + - service.detection.sequence.endpoints.location.lat + + - service.detection.sequence.endpoints.location.lon + + - service.detection.sequence.endpoints.port + + - service.detection.sequence.resources.accountId + + - service.detection.sequence.resources.cloudPartition + + - service.detection.sequence.resources.data.accessKey.principalId + + - service.detection.sequence.resources.data.accessKey.userName + + - service.detection.sequence.resources.data.accessKey.userType + + - service.detection.sequence.resources.data.autoscalingAutoScalingGroup.ec2InstanceUids + + - service.detection.sequence.resources.data.cloudformationStack.ec2InstanceUids + + - service.detection.sequence.resources.data.container.image + + - service.detection.sequence.resources.data.container.imageUid + + - service.detection.sequence.resources.data.ec2Image.ec2InstanceUids + + - service.detection.sequence.resources.data.ec2Instance.availabilityZone + + - service.detection.sequence.resources.data.ec2Instance.ec2NetworkInterfaceUids + + - service.detection.sequence.resources.data.ec2Instance.iamInstanceProfile.arn + + - service.detection.sequence.resources.data.ec2Instance.iamInstanceProfile.id + + - service.detection.sequence.resources.data.ec2Instance.imageDescription + + - service.detection.sequence.resources.data.ec2Instance.instanceState + + - service.detection.sequence.resources.data.ec2Instance.instanceType + + - service.detection.sequence.resources.data.ec2Instance.outpostArn + + - service.detection.sequence.resources.data.ec2Instance.platform + + - service.detection.sequence.resources.data.ec2Instance.productCodes.productCodeId + + - service.detection.sequence.resources.data.ec2Instance.productCodes.productCodeType + + - service.detection.sequence.resources.data.ec2LaunchTemplate.ec2InstanceUids + + - service.detection.sequence.resources.data.ec2LaunchTemplate.version + + - service.detection.sequence.resources.data.ec2NetworkInterface.ipv6Addresses + + - service.detection.sequence.resources.data.ec2NetworkInterface.privateIpAddresses.privateDnsName + + - service.detection.sequence.resources.data.ec2NetworkInterface.privateIpAddresses.privateIpAddress + + - service.detection.sequence.resources.data.ec2NetworkInterface.publicIp + + - service.detection.sequence.resources.data.ec2NetworkInterface.securityGroups.groupId + + - service.detection.sequence.resources.data.ec2NetworkInterface.securityGroups.groupName + + - service.detection.sequence.resources.data.ec2NetworkInterface.subNetId + + - service.detection.sequence.resources.data.ec2NetworkInterface.vpcId + + - service.detection.sequence.resources.data.ec2Vpc.ec2InstanceUids + + - service.detection.sequence.resources.data.ecsCluster.ec2InstanceUids + + - service.detection.sequence.resources.data.ecsCluster.status + + - service.detection.sequence.resources.data.ecsTask.containerUids + + - service.detection.sequence.resources.data.ecsTask.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.resources.data.ecsTask.launchType + + - service.detection.sequence.resources.data.ecsTask.taskDefinitionArn + + - service.detection.sequence.resources.data.eksCluster.arn + + - service.detection.sequence.resources.data.eksCluster.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.resources.data.eksCluster.ec2InstanceUids + + - service.detection.sequence.resources.data.eksCluster.status + + - service.detection.sequence.resources.data.eksCluster.vpcId + + - service.detection.sequence.resources.data.iamInstanceProfile.ec2InstanceUids + + - service.detection.sequence.resources.data.iamInstanceProfile.id + + - service.detection.sequence.resources.data.kubernetesWorkload.containerUids + + - service.detection.sequence.resources.data.kubernetesWorkload.namespace + + - service.detection.sequence.resources.data.kubernetesWorkload.type + + - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicAclAccess + + - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicAclIgnoreBehavior + + - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicBucketRestrictBehavior + + - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicPolicyAccess + + - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicAclAccess + + - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicAclIgnoreBehavior + + - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicBucketRestrictBehavior + + - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicPolicyAccess + + - service.detection.sequence.resources.data.s3Bucket.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.resources.data.s3Bucket.effectivePermission + + - service.detection.sequence.resources.data.s3Bucket.encryptionKeyArn + + - service.detection.sequence.resources.data.s3Bucket.encryptionType + + - service.detection.sequence.resources.data.s3Bucket.ownerId + + - service.detection.sequence.resources.data.s3Bucket.publicReadAccess + + - service.detection.sequence.resources.data.s3Bucket.publicWriteAccess + + - service.detection.sequence.resources.data.s3Bucket.s3ObjectUids + + - service.detection.sequence.resources.data.s3Object.eTag + + - service.detection.sequence.resources.data.s3Object.key + + - service.detection.sequence.resources.data.s3Object.versionId + + - service.detection.sequence.resources.name + + - service.detection.sequence.resources.region + + - service.detection.sequence.resources.resourceType + + - service.detection.sequence.resources.service + + - service.detection.sequence.resources.tags.key + + - service.detection.sequence.resources.tags.value + + - service.detection.sequence.resources.uid + + - service.detection.sequence.sequenceIndicators.key + + - service.detection.sequence.sequenceIndicators.title + + - service.detection.sequence.sequenceIndicators.values + + - service.detection.sequence.signals.actorIds + + - service.detection.sequence.signals.count + + - service.detection.sequence.signals.createdAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.signals.description + + - service.detection.sequence.signals.endpointIds + + - service.detection.sequence.signals.firstSeenAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.signals.lastSeenAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.signals.name + + - service.detection.sequence.signals.resourceUids + + - service.detection.sequence.signals.severity + + - service.detection.sequence.signals.signalIndicators.key + + - service.detection.sequence.signals.signalIndicators.title + + - service.detection.sequence.signals.signalIndicators.values + + - service.detection.sequence.signals.type + + - service.detection.sequence.signals.uid + + - service.detection.sequence.signals.updatedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.detection.sequence.uid + + - service.detectorId + + - service.ebsVolumeScanDetails.scanCompletedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.count + + - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.severity + + - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.threatName + + - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.files + + - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.totalGb + + - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.volumes + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.itemCount + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.shortened + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.fileName + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.filePath + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.volumeArn + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.itemCount + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity + + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.uniqueThreatNameCount + + - service.ebsVolumeScanDetails.scanDetections.threatsDetectedItemCount.files + + - service.ebsVolumeScanDetails.scanId + + - service.ebsVolumeScanDetails.scanStartedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.ebsVolumeScanDetails.scanType + + - service.ebsVolumeScanDetails.sources + + - service.ebsVolumeScanDetails.triggerFindingId + + - service.eventFirstSeen + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.eventLastSeen + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.evidence.threatIntelligenceDetails.threatFileSha256 + + - service.evidence.threatIntelligenceDetails.threatListName + + - service.evidence.threatIntelligenceDetails.threatNames + + - service.featureName + + - service.malwareScanDetails.scanCategory + + - service.malwareScanDetails.scanConfiguration.incrementalScanDetails.baselineResourceArn + + - service.malwareScanDetails.scanConfiguration.triggerType + + - service.malwareScanDetails.scanId + + - service.malwareScanDetails.scanType + + - service.malwareScanDetails.threats.count + + - service.malwareScanDetails.threats.hash + + - service.malwareScanDetails.threats.itemDetails.additionalInfo.deviceName + + - service.malwareScanDetails.threats.itemDetails.additionalInfo.versionId + + - service.malwareScanDetails.threats.itemDetails.hash + + - service.malwareScanDetails.threats.itemDetails.itemPath + + - service.malwareScanDetails.threats.itemDetails.resourceArn + + - service.malwareScanDetails.threats.itemPaths.hash + + - service.malwareScanDetails.threats.itemPaths.nestedItemPath + + - service.malwareScanDetails.threats.name + + - service.malwareScanDetails.threats.source + + - service.malwareScanDetails.uniqueThreatCount + + - service.resourceRole + + - service.runtimeDetails.context.addressFamily + + - service.runtimeDetails.context.commandLineExample + + - service.runtimeDetails.context.fileOperation + + - service.runtimeDetails.context.filePath + + - service.runtimeDetails.context.fileSystemType + + - service.runtimeDetails.context.flags + + - service.runtimeDetails.context.ianaProtocolNumber + + - service.runtimeDetails.context.ldPreloadValue + + - service.runtimeDetails.context.libraryPath + + - service.runtimeDetails.context.memoryRegions + + - service.runtimeDetails.context.modifiedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.modifyingProcess.euid + + - service.runtimeDetails.context.modifyingProcess.executablePath + + - service.runtimeDetails.context.modifyingProcess.executableSha256 + + - service.runtimeDetails.context.modifyingProcess.lineage.euid + + - service.runtimeDetails.context.modifyingProcess.lineage.executablePath + + - service.runtimeDetails.context.modifyingProcess.lineage.name + + - service.runtimeDetails.context.modifyingProcess.lineage.namespacePid + + - service.runtimeDetails.context.modifyingProcess.lineage.parentUuid + + - service.runtimeDetails.context.modifyingProcess.lineage.pid + + - service.runtimeDetails.context.modifyingProcess.lineage.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.modifyingProcess.lineage.userId + + - service.runtimeDetails.context.modifyingProcess.lineage.uuid + + - service.runtimeDetails.context.modifyingProcess.name + + - service.runtimeDetails.context.modifyingProcess.namespacePid + + - service.runtimeDetails.context.modifyingProcess.parentUuid + + - service.runtimeDetails.context.modifyingProcess.pid + + - service.runtimeDetails.context.modifyingProcess.pwd + + - service.runtimeDetails.context.modifyingProcess.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.modifyingProcess.user + + - service.runtimeDetails.context.modifyingProcess.userId + + - service.runtimeDetails.context.modifyingProcess.uuid + + - service.runtimeDetails.context.moduleFilePath + + - service.runtimeDetails.context.moduleName + + - service.runtimeDetails.context.moduleSha256 + + - service.runtimeDetails.context.mountSource + + - service.runtimeDetails.context.mountTarget + + - service.runtimeDetails.context.relatedFilePaths + + - service.runtimeDetails.context.releaseAgentPath + + - service.runtimeDetails.context.runcBinaryPath + + - service.runtimeDetails.context.scriptPath + + - service.runtimeDetails.context.serviceName + + - service.runtimeDetails.context.shellHistoryFilePath + + - service.runtimeDetails.context.socketPath + + - service.runtimeDetails.context.targetProcess.euid + + - service.runtimeDetails.context.targetProcess.executablePath + + - service.runtimeDetails.context.targetProcess.executableSha256 + + - service.runtimeDetails.context.targetProcess.lineage.euid + + - service.runtimeDetails.context.targetProcess.lineage.executablePath + + - service.runtimeDetails.context.targetProcess.lineage.name + + - service.runtimeDetails.context.targetProcess.lineage.namespacePid + + - service.runtimeDetails.context.targetProcess.lineage.parentUuid + + - service.runtimeDetails.context.targetProcess.lineage.pid + + - service.runtimeDetails.context.targetProcess.lineage.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.targetProcess.lineage.userId + + - service.runtimeDetails.context.targetProcess.lineage.uuid + + - service.runtimeDetails.context.targetProcess.name + + - service.runtimeDetails.context.targetProcess.namespacePid + + - service.runtimeDetails.context.targetProcess.parentUuid + + - service.runtimeDetails.context.targetProcess.pid + + - service.runtimeDetails.context.targetProcess.pwd + + - service.runtimeDetails.context.targetProcess.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.context.targetProcess.user + + - service.runtimeDetails.context.targetProcess.userId + + - service.runtimeDetails.context.targetProcess.uuid + + - service.runtimeDetails.context.threatFilePath + + - service.runtimeDetails.context.toolCategory + + - service.runtimeDetails.context.toolName + + - service.runtimeDetails.process.euid + + - service.runtimeDetails.process.executablePath + + - service.runtimeDetails.process.executableSha256 + + - service.runtimeDetails.process.lineage.euid + + - service.runtimeDetails.process.lineage.executablePath + + - service.runtimeDetails.process.lineage.name + + - service.runtimeDetails.process.lineage.namespacePid + + - service.runtimeDetails.process.lineage.parentUuid + + - service.runtimeDetails.process.lineage.pid + + - service.runtimeDetails.process.lineage.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.process.lineage.userId + + - service.runtimeDetails.process.lineage.uuid + + - service.runtimeDetails.process.name + + - service.runtimeDetails.process.namespacePid + + - service.runtimeDetails.process.parentUuid + + - service.runtimeDetails.process.pid + + - service.runtimeDetails.process.pwd + + - service.runtimeDetails.process.startTime + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + + - service.runtimeDetails.process.user + + - service.runtimeDetails.process.userId + + - service.runtimeDetails.process.uuid + + - service.serviceName + + - service.userFeedback + + - severity + + To configure severity based filters, use the following for the + [FindingCriteria](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_FindingCriteria.html) + condition: + + - **Low**: `["1", "2", "3"]` + + - **Medium**: `["4", "5", "6"]` + + - **High**: `["7", "8"]` + + - **Critical**: `["9", "10"]` + + For more information, see [Findings severity + levels](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings-severity.html) + in the *Amazon GuardDuty User Guide*. + + - type + + - updatedAt + + Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 + """ + +@dataclass(kw_only=True) +class UpdateFilterOutput(_SerdeShape): + """Dataclass for UpdateFilterOutput structure.""" + + name: str | None = ... + """The name of the filter.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFindingsFeedbackInput(_SerdeShape): + """Dataclass for UpdateFindingsFeedbackInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector that is associated with the findings for which + you want to update the feedback. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + finding_ids: list[str] | None = ... + """The IDs of the findings that you want to mark as useful or not useful.""" + feedback: str | None = ... + """The feedback for the finding.""" + comments: str | None = ... + """Additional feedback about the GuardDuty findings.""" + +@dataclass(kw_only=True) +class UpdateFindingsFeedbackOutput(_SerdeShape): + """Dataclass for UpdateFindingsFeedbackOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateIPSetInput(_SerdeShape): + """Dataclass for UpdateIPSetInput structure.""" + + detector_id: str | None = ... + """ + The detectorID that specifies the GuardDuty service whose IPSet you want + to update. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + ip_set_id: str | None = ... + """The unique ID that specifies the IPSet that you want to update.""" + name: str | None = ... + """The unique ID that specifies the IPSet that you want to update.""" + location: str | None = ... + """The updated URI of the file that contains the IPSet.""" + activate: bool | None = ... + """ + The updated Boolean value that specifies whether the IPSet is active or + not. + """ + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + +@dataclass(kw_only=True) +class UpdateIPSetOutput(_SerdeShape): + """Dataclass for UpdateIPSetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateMalwareProtectionPlanInput(_SerdeShape): + """Dataclass for UpdateMalwareProtectionPlanInput structure.""" + + malware_protection_plan_id: str | None = ... + """A unique identifier associated with the Malware Protection plan.""" + role: str | None = ... + """ + Amazon Resource Name (ARN) of the IAM role with permissions to scan and + add tags to the associated protected resource. + """ + actions: MalwareProtectionPlanActions | None = ... + """ + Information about whether the tags will be added to the S3 object after + scanning. + """ + protected_resource: UpdateProtectedResource | None = ... + """ + Information about the protected resource that is associated with the + created Malware Protection plan. Presently, `S3Bucket` is the only + supported protected resource. + """ + +@dataclass(kw_only=True) +class UpdateMalwareProtectionPlanOutput(_SerdeShape): + """Dataclass for UpdateMalwareProtectionPlanOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateMalwareScanSettingsInput(_SerdeShape): + """Dataclass for UpdateMalwareScanSettingsInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the detector that specifies the GuardDuty service where + you want to update scan settings. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + scan_resource_criteria: ScanResourceCriteria | None = ... + """ + Represents the criteria to be used in the filter for selecting resources + to scan. + """ + ebs_snapshot_preservation: str | None = ... + """An enum value representing possible snapshot preservation settings.""" + +@dataclass(kw_only=True) +class UpdateMalwareScanSettingsOutput(_SerdeShape): + """Dataclass for UpdateMalwareScanSettingsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateMemberDetectorsInput(_SerdeShape): + """Dataclass for UpdateMemberDetectorsInput structure.""" + + detector_id: str | None = ... + """ + The detector ID of the administrator account. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + account_ids: list[str] | None = ... + """A list of member account IDs to be updated.""" + data_sources: DataSourceConfigurations | None = ... + """Describes which data sources will be updated.""" + features: list[MemberFeaturesConfiguration] | None = ... + """ + A list of features that will be updated for the specified member + accounts. + """ + +@dataclass(kw_only=True) +class UpdateMemberDetectorsOutput(_SerdeShape): + """Dataclass for UpdateMemberDetectorsOutput structure.""" + + unprocessed_accounts: list[UnprocessedAccount] | None = ... + """ + A list of member account IDs that were unable to be processed along with + an explanation for why they were not processed. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateOrganizationConfigurationInput(_SerdeShape): + """Dataclass for UpdateOrganizationConfigurationInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector that configures the delegated administrator. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + auto_enable: bool | None = ... + """ + Represents whether to automatically enable member accounts in the + organization. This applies to only new member accounts, not the existing + member accounts. When a new account joins the organization, the chosen + features will be enabled for them by default. + + Even though this is still supported, we recommend using + `AutoEnableOrganizationMembers` to achieve the similar results. You must + provide a value for either `autoEnableOrganizationMembers` or + `autoEnable`. + """ + data_sources: OrganizationDataSourceConfigurations | None = ... + """Describes which data sources will be updated.""" + features: list[OrganizationFeatureConfiguration] | None = ... + """A list of features that will be configured for the organization.""" + auto_enable_organization_members: str | None = ... + """ + Indicates the auto-enablement configuration of GuardDuty for the member + accounts in the organization. You must provide a value for either + `autoEnableOrganizationMembers` or `autoEnable`. + + Use one of the following configuration values for + `autoEnableOrganizationMembers`: + + - `NEW`: Indicates that when a new account joins the organization, they + will have GuardDuty enabled automatically. + + - `ALL`: Indicates that all accounts in the organization have GuardDuty + enabled automatically. This includes `NEW` accounts that join the + organization and accounts that may have been suspended or removed from + the organization in GuardDuty. + + It may take up to 24 hours to update the configuration for all the + member accounts. + + - `NONE`: Indicates that GuardDuty will not be automatically enabled for + any account in the organization. The administrator must manage + GuardDuty for each account in the organization individually. + + When you update the auto-enable setting from `ALL` or `NEW` to `NONE`, + this action doesn't disable the corresponding option for your + existing accounts. This configuration will apply to the new accounts + that join the organization. After you update the auto-enable settings, + no new account will have the corresponding option as enabled. + """ + +@dataclass(kw_only=True) +class UpdateOrganizationConfigurationOutput(_SerdeShape): + """Dataclass for UpdateOrganizationConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateProtectedResource(_SerdeShape): + """ + Information about the protected resource that is associated with the + created Malware Protection plan. Presently, `S3Bucket` is the only + supported protected resource. + """ + + s3_bucket: UpdateS3BucketResource | None = ... + """Information about the protected S3 bucket resource.""" + +@dataclass(kw_only=True) +class UpdatePublishingDestinationInput(_SerdeShape): + """Dataclass for UpdatePublishingDestinationInput structure.""" + + detector_id: str | None = ... + """ + The ID of the detector associated with the publishing destinations to + update. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + destination_id: str | None = ... + """The ID of the publishing destination to update.""" + destination_properties: DestinationProperties | None = ... + """ + A `DestinationProperties` object that includes the `DestinationArn` and + `KmsKeyArn` of the publishing destination. + """ + +@dataclass(kw_only=True) +class UpdatePublishingDestinationOutput(_SerdeShape): + """Dataclass for UpdatePublishingDestinationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateS3BucketResource(_SerdeShape): + """Information about the protected S3 bucket resource.""" + + object_prefixes: list[str] | None = ... + """ + Information about the specified object prefixes. The S3 object will be + scanned only if it belongs to any of the specified object prefixes. + """ + +@dataclass(kw_only=True) +class UpdateThreatEntitySetInput(_SerdeShape): + """Dataclass for UpdateThreatEntitySetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the GuardDuty detector associated with the threat + entity set that you want to update. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + threat_entity_set_id: str | None = ... + """ + The ID returned by GuardDuty after updating the threat entity set + resource. + """ + name: str | None = ... + """ + A user-friendly name to identify the trusted entity set. + + The name of your list can include lowercase letters, uppercase letters, + numbers, dash (-), and underscore (_). + """ + location: str | None = ... + """The URI of the file that contains the trusted entity set.""" + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + activate: bool | None = ... + """ + A boolean value that indicates whether GuardDuty is to start using this + updated threat entity set. After you update an entity set, you will need + to activate it again. It might take up to 15 minutes for the updated + entity set to be effective. + """ + +@dataclass(kw_only=True) +class UpdateThreatEntitySetOutput(_SerdeShape): + """Dataclass for UpdateThreatEntitySetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateThreatIntelSetInput(_SerdeShape): + """Dataclass for UpdateThreatIntelSetInput structure.""" + + detector_id: str | None = ... + """ + The detectorID that specifies the GuardDuty service whose ThreatIntelSet + you want to update. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + threat_intel_set_id: str | None = ... + """The unique ID that specifies the ThreatIntelSet that you want to update.""" + name: str | None = ... + """The unique ID that specifies the ThreatIntelSet that you want to update.""" + location: str | None = ... + """The updated URI of the file that contains the ThreateIntelSet.""" + activate: bool | None = ... + """ + The updated Boolean value that specifies whether the ThreateIntelSet is + active or not. + """ + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + +@dataclass(kw_only=True) +class UpdateThreatIntelSetOutput(_SerdeShape): + """Dataclass for UpdateThreatIntelSetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateTrustedEntitySetInput(_SerdeShape): + """Dataclass for UpdateTrustedEntitySetInput structure.""" + + detector_id: str | None = ... + """ + The unique ID of the GuardDuty detector associated with the threat + entity set that you want to update. + + To find the `detectorId` in the current Region, see the Settings page in + the GuardDuty console, or run the + [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) + API. + """ + trusted_entity_set_id: str | None = ... + """ + The ID returned by GuardDuty after updating the trusted entity set + resource. + """ + name: str | None = ... + """ + A user-friendly name to identify the trusted entity set. + + The name of your list can include lowercase letters, uppercase letters, + numbers, dash (-), and underscore (_). + """ + location: str | None = ... + """The URI of the file that contains the trusted entity set.""" + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID that owns the Amazon S3 bucket + specified in the **location** parameter. + """ + activate: bool | None = ... + """ + A boolean value that indicates whether GuardDuty is to start using this + updated trusted entity set. After you update an entity set, you will + need to activate it again. It might take up to 15 minutes for the + updated entity set to be effective. + """ + +@dataclass(kw_only=True) +class UpdateTrustedEntitySetOutput(_SerdeShape): + """Dataclass for UpdateTrustedEntitySetOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UsageAccountResult(_SerdeShape): + """Contains information on the total of usage based on account IDs.""" + + account_id: str | None = ... + """The Account ID that generated usage.""" + total: Total | None = ... + """Represents the total of usage for the Account ID.""" + +@dataclass(kw_only=True) +class UsageCriteria(_SerdeShape): + """Contains information about the criteria used to query usage statistics.""" + + account_ids: list[str] | None = ... + """The account IDs to aggregate usage statistics from.""" + data_sources: list[str] | None = ... + """The data sources to aggregate usage statistics from.""" + resources: list[str] | None = ... + """ + The resources to aggregate usage statistics from. Only accepts exact + resource names. + """ + features: list[str] | None = ... + """The features to aggregate usage statistics from.""" + +@dataclass(kw_only=True) +class UsageDataSourceResult(_SerdeShape): + """Contains information on the result of usage based on data source type.""" + + data_source: str | None = ... + """The data source type that generated usage.""" + total: Total | None = ... + """Represents the total of usage for the specified data source.""" + +class UsageFeature(UnknownEnumMixin, StrEnum): + FLOW_LOGS = "FLOW_LOGS" + CLOUD_TRAIL = "CLOUD_TRAIL" + DNS_LOGS = "DNS_LOGS" + S3_DATA_EVENTS = "S3_DATA_EVENTS" + EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" + EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" + RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" + LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" + EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" + EC2_RUNTIME_MONITORING = "EC2_RUNTIME_MONITORING" + FARGATE_RUNTIME_MONITORING = "FARGATE_RUNTIME_MONITORING" + RDS_DBI_PROTECTION_PROVISIONED = "RDS_DBI_PROTECTION_PROVISIONED" + RDS_DBI_PROTECTION_SERVERLESS = "RDS_DBI_PROTECTION_SERVERLESS" + RDS_DBI_PROTECTION_LIMITLESS = "RDS_DBI_PROTECTION_LIMITLESS" + """ + Usage attributed to RDS Protection database infrastructure monitoring + for Amazon Aurora DSQL Limitless databases. + """ + RDS_DATA_ACTIVITY_DBI_PROTECTION_PROVISIONED = ( + "RDS_DATA_ACTIVITY_DBI_PROTECTION_PROVISIONED" + ) + """ + Usage attributed to RDS Data Activity Monitoring for provisioned Amazon + RDS databases. + """ + RDS_DATA_ACTIVITY_DBI_PROTECTION_SERVERLESS = ( + "RDS_DATA_ACTIVITY_DBI_PROTECTION_SERVERLESS" + ) + """ + Usage attributed to RDS Data Activity Monitoring for Amazon Aurora + Serverless databases. + """ + RDS_DATA_ACTIVITY_DBI_PROTECTION_LIMITLESS = ( + "RDS_DATA_ACTIVITY_DBI_PROTECTION_LIMITLESS" + ) + """ + Usage attributed to RDS Data Activity Monitoring for Amazon Aurora DSQL + Limitless databases. + """ + AI_PROTECTION = "AI_PROTECTION" + +@dataclass(kw_only=True) +class UsageFeatureResult(_SerdeShape): + """ + Contains information about the result of the total usage based on the + feature. + """ + + feature: str | None = ... + """The feature that generated the usage cost.""" + total: Total | None = ... + """ + Contains the total usage with the corresponding currency unit for that + value. + """ + +@dataclass(kw_only=True) +class UsageResourceResult(_SerdeShape): + """ + Contains information on the sum of usage based on an Amazon Web Services + resource. + """ + + resource: str | None = ... + """The Amazon Web Services resource that generated usage.""" + total: Total | None = ... + """Represents the sum total of usage for the specified resource type.""" + +@dataclass(kw_only=True) +class UsageStatistics(_SerdeShape): + """ + Contains the result of GuardDuty usage. If a UsageStatisticType is + provided the result for other types will be null. + """ + + sum_by_account: list[UsageAccountResult] | None = ... + """The usage statistic sum organized by account ID.""" + top_accounts_by_feature: list[UsageTopAccountsResult] | None = ... + """ + Lists the top 50 accounts by feature that have generated the most + GuardDuty usage, in the order from most to least expensive. + + Currently, this doesn't support `RDS_LOGIN_EVENTS`. + """ + sum_by_data_source: list[UsageDataSourceResult] | None = ... + """The usage statistic sum organized by on data source.""" + sum_by_resource: list[UsageResourceResult] | None = ... + """The usage statistic sum organized by resource.""" + top_resources: list[UsageResourceResult] | None = ... + """ + Lists the top 50 resources that have generated the most GuardDuty usage, + in order from most to least expensive. + """ + sum_by_feature: list[UsageFeatureResult] | None = ... + """The usage statistic sum organized by feature.""" + +class UsageStatisticType(UnknownEnumMixin, StrEnum): + SUM_BY_ACCOUNT = "SUM_BY_ACCOUNT" + SUM_BY_DATA_SOURCE = "SUM_BY_DATA_SOURCE" + SUM_BY_RESOURCE = "SUM_BY_RESOURCE" + TOP_RESOURCES = "TOP_RESOURCES" + SUM_BY_FEATURES = "SUM_BY_FEATURES" + TOP_ACCOUNTS_BY_FEATURE = "TOP_ACCOUNTS_BY_FEATURE" + +@dataclass(kw_only=True) +class UsageTopAccountResult(_SerdeShape): + """ + Contains information on the total of usage based on the topmost 50 + account IDs. + """ + + account_id: str | None = ... + """The unique account ID.""" + total: Total | None = ... + """ + Contains the total usage with the corresponding currency unit for that + value. + """ + +@dataclass(kw_only=True) +class UsageTopAccountsResult(_SerdeShape): + """ + Information about the usage statistics, calculated by top accounts by + feature. + """ + + feature: str | None = ... + """ + Features by which you can generate the usage statistics. + + `RDS_LOGIN_EVENTS` is currently not supported with + `topAccountsByFeature`. + """ + accounts: list[UsageTopAccountResult] | None = ... + """The accounts that contributed to the total usage cost.""" + +@dataclass(kw_only=True) +class User(_SerdeShape): + """Contains information about the user involved in the attack sequence.""" + + name: str | None = ... + """The name of the user.""" + uid: str | None = ... + """The unique identifier of the user.""" + type: str | None = ... + """The type of the user.""" + credential_uid: str | None = ... + """The credentials of the user ID.""" + account: Account | None = ... + """ + Contains information about the Amazon Web Services account within which + the activity took place. This is not necessarily the account that owns + the user identity. + """ + +@dataclass(kw_only=True) +class Volume(_SerdeShape): + """Volume used by the Kubernetes workload.""" + + name: str | None = ... + """Volume name.""" + host_path: HostPath | None = ... + """ + Represents a pre-existing file or directory on the host machine that the + volume maps to. + """ + +@dataclass(kw_only=True) +class VolumeDetail(_SerdeShape): + """Contains EBS volume details.""" + + volume_arn: str | None = ... + """EBS volume ARN information.""" + volume_type: str | None = ... + """The EBS volume type.""" + device_name: str | None = ... + """The device name for the EBS volume.""" + volume_size_in_gb: int | None = ... + """EBS volume size in GB.""" + encryption_type: str | None = ... + """EBS volume encryption type.""" + snapshot_arn: str | None = ... + """Snapshot ARN of the EBS volume.""" + kms_key_arn: str | None = ... + """KMS key ARN used to encrypt the EBS volume.""" + +@dataclass(kw_only=True) +class VolumeMount(_SerdeShape): + """Container volume mount.""" + + name: str | None = ... + """Volume mount name.""" + mount_path: str | None = ... + """Volume mount path.""" + +@dataclass(kw_only=True) +class VpcConfig(_SerdeShape): + """ + Amazon Virtual Private Cloud configuration details associated with your + Lambda function. + """ + + subnet_ids: list[str] | None = ... + """ + The identifiers of the subnets that are associated with your Lambda + function. + """ + vpc_id: str | None = ... + """The identifier of the Amazon Virtual Private Cloud.""" + security_groups: list[SecurityGroup] | None = ... + """The identifier of the security group attached to the Lambda function.""" diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas.py index e66ca68ed..7c60a3023 100644 --- a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas.py +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas.py @@ -1,11717 +1,925 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.guardduty" -_S = "String" -_DI = "DetectorId" -_AAII = "AcceptAdministratorInvitationInput" -_sSI = "smithy.synthetic#originalShapeId" -_cAAIR = "com.amazonaws.guardduty#AcceptAdministratorInvitationRequest" -_s = "smithy.api#input" -_sm = "smithy.api#required" -_sL = "smithy.api#httpLabel" -_AI = "AdministratorId" -_sN = "smithy.api#jsonName" -_aI = "administratorId" -_II = "InvitationId" -_iI = "invitationId" -_AAIO = "AcceptAdministratorInvitationOutput" -_cAAIRo = "com.amazonaws.guardduty#AcceptAdministratorInvitationResponse" -_smi = "smithy.api#output" -_BRE = "BadRequestException" -_smit = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_M = "Message" -_m = "message" -_T = "Type" -_t = "type" -_ISEE = "InternalServerErrorException" -_se = "server" -_AAI = "AcceptAdministratorInvitation" -_smith = "smithy.api#http" -_AII = "AcceptInvitationInput" -_cAIR = "com.amazonaws.guardduty#AcceptInvitationRequest" -_MI = "MasterId" -_mI = "masterId" -_AIO = "AcceptInvitationOutput" -_cAIRo = "com.amazonaws.guardduty#AcceptInvitationResponse" -_AIc = "AcceptInvitation" -_B = "Boolean" -_ACL = "AccessControlList" -_APRA = "AllowsPublicReadAccess" -_aPRA = "allowsPublicReadAccess" -_APWA = "AllowsPublicWriteAccess" -_aPWA = "allowsPublicWriteAccess" -_ADE = "AccessDeniedException" -_AK = "AccessKey" -_PI = "PrincipalId" -_pI = "principalId" -_UN = "UserName" -_uN = "userName" -_UT = "UserType" -_uT = "userType" -_AKD = "AccessKeyDetails" -_AKI = "AccessKeyId" -_aKI = "accessKeyId" -_A = "Account" -_U = "Uid" -_u = "uid" -_N = "Name" -_a = "account" -_AIcc = "AccountId" -_E = "Email" -_smithy = "smithy.api#sensitive" -_AD = "AccountDetail" -_aIc = "accountId" -_e = "email" -_ADc = "AccountDetails" -_me = "member" -_I = "Integer" -_DSFT = "DataSourceFreeTrial" -_FTDR = "FreeTrialDaysRemaining" -_fTDR = "freeTrialDaysRemaining" -_KDSFT = "KubernetesDataSourceFreeTrial" -_AL = "AuditLogs" -_aL = "auditLogs" -_MPDSFT = "MalwareProtectionDataSourceFreeTrial" -_SEIWF = "ScanEc2InstanceWithFindings" -_sEIWF = "scanEc2InstanceWithFindings" -_DSFTa = "DataSourcesFreeTrial" -_CT = "CloudTrail" -_cT = "cloudTrail" -_DL = "DnsLogs" -_dL = "dnsLogs" -_FL = "FlowLogs" -_fL = "flowLogs" -_SL = "S3Logs" -_sLo = "s3Logs" -_K = "Kubernetes" -_k = "kubernetes" -_MP = "MalwareProtection" -_mP = "malwareProtection" -_FTFR = "FreeTrialFeatureResult" -_FL_ = "FLOW_LOGS" -_sV = "smithy.api#enumValue" -_CT_ = "CLOUD_TRAIL" -_DL_ = "DNS_LOGS" -_SDE = "S3_DATA_EVENTS" -_EAL = "EKS_AUDIT_LOGS" -_EMP = "EBS_MALWARE_PROTECTION" -_RLE = "RDS_LOGIN_EVENTS" -_LNL = "LAMBDA_NETWORK_LOGS" -_ERM = "EKS_RUNTIME_MONITORING" -_ERM_ = "EC2_RUNTIME_MONITORING" -_FRM = "FARGATE_RUNTIME_MONITORING" -_AP = "AI_PROTECTION" -_FTFCR = "FreeTrialFeatureConfigurationResult" -_n = "name" -_FTFCRr = "FreeTrialFeatureConfigurationsResults" -_AFTI = "AccountFreeTrialInfo" -_DS = "DataSources" -_dS = "dataSources" -_F = "Features" -_f = "features" -_AFTIc = "AccountFreeTrialInfos" -_AIcco = "AccountIds" -_BPA = "BlockPublicAccess" -_IPA = "IgnorePublicAcls" -_iPA = "ignorePublicAcls" -_RPB = "RestrictPublicBuckets" -_rPB = "restrictPublicBuckets" -_BPAl = "BlockPublicAcls" -_bPA = "blockPublicAcls" -_BPP = "BlockPublicPolicy" -_bPP = "blockPublicPolicy" -_ALP = "AccountLevelPermissions" -_bPAl = "blockPublicAccess" -_Ti = "Timestamp" -_AS = "AccountStatistics" -_LGA = "LastGeneratedAt" -_lGA = "lastGeneratedAt" -_TF = "TotalFindings" -_tF = "totalFindings" -_AR = "AffectedResources" -_ke = "key" -_v = "value" -_DD = "DomainDetails" -_D = "Domain" -_d = "domain" -_RAD = "RemoteAccountDetails" -_Af = "Affiliated" -_af = "affiliated" -_ASN = "AwsServiceName" -_aSN = "awsServiceName" -_C = "City" -_CN = "CityName" -_cN = "cityName" -_Co = "Country" -_CC = "CountryCode" -_cC = "countryCode" -_CNo = "CountryName" -_cNo = "countryName" -_Do = "Double" -_GL = "GeoLocation" -_L = "Lat" -_l = "lat" -_Lo = "Lon" -_lo = "lon" -_SS = "SensitiveString" -_O = "Organization" -_As = "Asn" -_as = "asn" -_AO = "AsnOrg" -_aO = "asnOrg" -_Is = "Isp" -_i = "isp" -_Or = "Org" -_o = "org" -_RID = "RemoteIpDetails" -_ci = "city" -_co = "country" -_gL = "geoLocation" -_IAV = "IpAddressV4" -_iAV = "ipAddressV4" -_IAVp = "IpAddressV6" -_iAVp = "ipAddressV6" -_or = "organization" -_AACA = "AwsApiCallAction" -_Ap = "Api" -_ap = "api" -_CTa = "CallerType" -_cTa = "callerType" -_dD = "domainDetails" -_EC = "ErrorCode" -_eC = "errorCode" -_UA = "UserAgent" -_uA = "userAgent" -_rID = "remoteIpDetails" -_SN = "ServiceName" -_sNe = "serviceName" -_rAD = "remoteAccountDetails" -_aR = "affectedResources" -_DRA = "DnsRequestAction" -_P = "Protocol" -_p = "protocol" -_Bl = "Blocked" -_b = "blocked" -_DWS = "DomainWithSuffix" -_dWS = "domainWithSuffix" -_VOAI = "VpcOwnerAccountId" -_vOAI = "vpcOwnerAccountId" -_SI = "SourceIps" -_KACA = "KubernetesApiCallAction" -_RU = "RequestUri" -_rU = "requestUri" -_V = "Verb" -_ve = "verb" -_R = "Resource" -_r = "resource" -_Su = "Subresource" -_su = "subresource" -_Na = "Namespace" -_na = "namespace" -_RN = "ResourceName" -_rN = "resourceName" -_sIP = "sourceIPs" -_SC = "StatusCode" -_sC = "statusCode" -_Pa = "Parameters" -_pa = "parameters" -_KPCD = "KubernetesPermissionCheckedDetails" -_Al = "Allowed" -_al = "allowed" -_KRBD = "KubernetesRoleBindingDetails" -_Ki = "Kind" -_ki = "kind" -_RRN = "RoleRefName" -_rRN = "roleRefName" -_RRK = "RoleRefKind" -_rRK = "roleRefKind" -_KRD = "KubernetesRoleDetails" -_LID = "LocalIpDetails" -_LPD = "LocalPortDetails" -_Po = "Port" -_po = "port" -_PN = "PortName" -_pN = "portName" -_RPD = "RemotePortDetails" -_NCA = "NetworkConnectionAction" -_CD = "ConnectionDirection" -_cD = "connectionDirection" -_lPD = "localPortDetails" -_lID = "localIpDetails" -_LNI = "LocalNetworkInterface" -_lNI = "localNetworkInterface" -_rPD = "remotePortDetails" -_PPD = "PortProbeDetail" -_PPDo = "PortProbeDetails" -_PPA = "PortProbeAction" -_pPD = "portProbeDetails" -_LA = "LoginAttribute" -_Us = "User" -_us = "user" -_App = "Application" -_app = "application" -_FLA = "FailedLoginAttempts" -_fLA = "failedLoginAttempts" -_SLA = "SuccessfulLoginAttempts" -_sLA = "successfulLoginAttempts" -_LAo = "LoginAttributes" -_RLAA = "RdsLoginAttemptAction" -_Ac = "Action" -_AT = "ActionType" -_aT = "actionType" -_aACA = "awsApiCallAction" -_dRA = "dnsRequestAction" -_nCA = "networkConnectionAction" -_pPA = "portProbeAction" -_kACA = "kubernetesApiCallAction" -_kPCD = "kubernetesPermissionCheckedDetails" -_kRBD = "kubernetesRoleBindingDetails" -_kRD = "kubernetesRoleDetails" -_rLAA = "rdsLoginAttemptAction" -_AC = "ApiCall" -_Op = "Operation" -_op = "operation" -_Se = "Service" -_ser = "service" -_Er = "Error" -_er = "error" -_ATc = "ActivityType" -_AC_ = "API_CALL" -_Act = "Activity" -_Acti = "Activities" -_PNr = "ProcessName" -_PP = "ProcessPath" -_PS = "ProcessSha256" -_APc = "ActorProcess" -_Pat = "Path" -_pat = "path" -_Sh = "Sha256" -_sh = "sha256" -_MS = "MfaStatus" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_Ses = "Session" -_mS = "mfaStatus" -_CTr = "CreatedTime" -_cTr = "createdTime" -_Iss = "Issuer" -_is = "issuer" -_CU = "CredentialUid" -_cU = "credentialUid" -_Acto = "Actor" -_Id = "Id" -_id = "id" -_ses = "session" -_Pr = "Process" -_pr = "process" -_AIct = "ActorIds" -_Actor = "Actors" -_NES = "NonEmptyString" -_AId = "AdditionalInfo" -_VI = "VersionId" -_vI = "versionId" -_DN = "DeviceName" -_dN = "deviceName" -_FT = "FindingType" -_AST = "AdditionalSequenceTypes" -_ADd = "AddonDetails" -_AV = "AddonVersion" -_aV = "addonVersion" -_ASd = "AddonStatus" -_aS = "addonStatus" -_ASdm = "AdminStatus" -_DIP = "DISABLE_IN_PROGRESS" -_AA = "AdminAccount" -_AAId = "AdminAccountId" -_aAI = "adminAccountId" -_aSd = "adminStatus" -_AAd = "AdminAccounts" -_Ad = "Administrator" -_RS = "RelationshipStatus" -_rS = "relationshipStatus" -_IA = "InvitedAt" -_iA = "invitedAt" -_ADg = "AgentDetails" -_Ve = "Version" -_ver = "version" -_Lon = "Long" -_ON = "ObservationNumbers" -_OT = "ObservationTexts" -_Ob = "Observations" -_Te = "Text" -_te = "text" -_Nu = "Number" -_nu = "number" -_PSr = "ProfileSubtype" -_FREQUENT = "FREQUENT" -_INFREQUENT = "INFREQUENT" -_UNSEEN = "UNSEEN" -_RARE = "RARE" -_COUNT = "COUNT" -_AVERAGE = "AVERAGE" -_PT = "ProfileType" -_FREQUENCY = "FREQUENCY" -_VOLUME = "VOLUME" -_AOn = "AnomalyObject" -_pT = "profileType" -_pS = "profileSubtype" -_ob = "observations" -_APFO = "AnomalyProfileFeatureObjects" -_APF = "AnomalyProfileFeatures" -_APn = "AnomalyProfiles" -_AUBF = "AnomalyUnusualBehaviorFeature" -_Be = "Behavior" -_AU = "AnomalyUnusual" -_be = "behavior" -_An = "Anomaly" -_Pro = "Profiles" -_pro = "profiles" -_Un = "Unusual" -_un = "unusual" -_FI = "FindingId" -_FIi = "FindingIds" -_AFI = "ArchiveFindingsInput" -_cAFR = "com.amazonaws.guardduty#ArchiveFindingsRequest" -_fI = "findingIds" -_AFO = "ArchiveFindingsOutput" -_cAFRo = "com.amazonaws.guardduty#ArchiveFindingsResponse" -_AF = "ArchiveFindings" -_DRAe = "DetectionRuleArn" -_AIs = "AssociationId" -_AM = "AssociationMode" -_LIVE = "LIVE" -_DR = "DRY_RUN" -_RI = "RuleId" -_ADs = "AssociationDetail" -_aIs = "associationId" -_Ar = "Arn" -_ar = "arn" -_rI = "ruleId" -_Mo = "Mode" -_mo = "mode" -_CA = "CreatedAt" -_cA = "createdAt" -_UAp = "UpdatedAt" -_uAp = "updatedAt" -_EA = "ExpiresAt" -_eA = "expiresAt" -_ASs = "AssociationSummary" -_ASL = "AssociationSummaryList" -_AEM = "AutoEnableMembers" -_NEW = "NEW" -_ALL = "ALL" -_NONE = "NONE" -_ASu = "AutonomousSystem" -_EIU = "Ec2InstanceUid" -_EIUc = "Ec2InstanceUids" -_AASG = "AutoscalingAutoScalingGroup" -_eIU = "ec2InstanceUids" -_BG = "BedrockGuardrail" -_CPFA = "ContentPolicyFilterAction" -_BLOCKED = "BLOCKED" -_CL = "ConfidenceLevel" -_HIGH = "HIGH" -_MEDIUM = "MEDIUM" -_LOW = "LOW" -_CPFT = "ContentPolicyFilterType" -_PA = "PROMPT_ATTACK" -_JAILBREAK = "JAILBREAK" -_HATE = "HATE" -_INSULTS = "INSULTS" -_SEXUAL = "SEXUAL" -_VIOLENCE = "VIOLENCE" -_MISCONDUCT = "MISCONDUCT" -_CPF = "ContentPolicyFilter" -_Con = "Confidence" -_con = "confidence" -_ac = "action" -_CPFo = "ContentPolicyFilters" -_GA = "GuardrailAction" -_GI = "GUARDRAIL_INTERVENED" -_BGe = "BedrockGuardrails" -_GS = "GuardrailSource" -_INPUT = "INPUT" -_OUTPUT = "OUTPUT" -_BGD = "BedrockGuardrailDetails" -_GAu = "GuardrailArn" -_gA = "guardrailArn" -_GV = "GuardrailVersion" -_gV = "guardrailVersion" -_G = "Guardrails" -_g = "guardrails" -_gAu = "guardrailAction" -_gS = "guardrailSource" -_cPF = "contentPolicyFilters" -_BGR = "BedrockGuardrailResource" -_BP = "BucketPolicy" -_BLP = "BucketLevelPermissions" -_aCL = "accessControlList" -_bP = "bucketPolicy" -_CTl = "ClientToken" -_CP = "CloudProvider" -_AWS = "AWS" -_CDl = "CloudDetails" -_Prov = "Provider" -_prov = "provider" -_Re = "Region" -_re = "region" -_CS = "CloudformationStack" -_DSS = "DataSourceStatus" -_CTCR = "CloudTrailConfigurationResult" -_St = "Status" -_st = "status" -_CSl = "ClusterStatus" -_CREATING = "CREATING" -_ACTIVE = "ACTIVE" -_DELETING = "DELETING" -_FAILED = "FAILED" -_UPDATING = "UPDATING" -_PENDING = "PENDING" -_Eq = "Eq" -_Equ = "Equals" -_Ma = "Match" -_Mat = "Matches" -_Ne = "Neq" -_NE = "NotEquals" -_NM = "NotMatch" -_NMo = "NotMatches" -_Cond = "Condition" -_eq = "eq" -_ne = "neq" -_Gt = "Gt" -_gt = "gt" -_Gte = "Gte" -_gte = "gte" -_Lt = "Lt" -_lt = "lt" -_Lte = "Lte" -_lte = "lte" -_equ = "equals" -_nE = "notEquals" -_GT = "GreaterThan" -_gT = "greaterThan" -_GTOE = "GreaterThanOrEqual" -_gTOE = "greaterThanOrEqual" -_LT = "LessThan" -_lT = "lessThan" -_LTOE = "LessThanOrEqual" -_lTOE = "lessThanOrEqual" -_ma = "matches" -_nM = "notMatches" -_UNKNOWN = "UNKNOWN" -_Unk = "Unknown" -_Low = "Low" -_Me = "Medium" -_H = "High" -_CE = "ConflictException" -_SCe = "SecurityContext" -_Pri = "Privileged" -_pri = "privileged" -_APE = "AllowPrivilegeEscalation" -_aPE = "allowPrivilegeEscalation" -_VM = "VolumeMount" -_MPo = "MountPath" -_mPo = "mountPath" -_VMo = "VolumeMounts" -_Cont = "Container" -_CR = "ContainerRuntime" -_cR = "containerRuntime" -_Im = "Image" -_im = "image" -_IP = "ImagePrefix" -_iP = "imagePrefix" -_vM = "volumeMounts" -_sCe = "securityContext" -_CIU = "ContainerImageUid" -_CFR = "ContainerFindingResource" -_IU = "ImageUid" -_iU = "imageUid" -_CID = "ContainerInstanceDetails" -_CCI = "CoveredContainerInstances" -_cCI = "coveredContainerInstances" -_CCIo = "CompatibleContainerInstances" -_cCIo = "compatibleContainerInstances" -_Conta = "Containers" -_CUo = "ContainerUid" -_CUon = "ContainerUids" -_CSD = "ContinuousScanDetails" -_ST = "StartTime" -_sT = "startTime" -_ET = "EndTime" -_eT = "endTime" -_CSo = "CoverageStatus" -_HEALTHY = "HEALTHY" -_UNHEALTHY = "UNHEALTHY" -_CBCS = "CountByCoverageStatus" -_RT = "ResourceType" -_EKS = "EKS" -_ECS = "ECS" -_EC_ = "EC2" -_CBRT = "CountByResourceType" -_CBS = "CountBySeverity" -_MT = "ManagementType" -_AM_ = "AUTO_MANAGED" -_MANUAL = "MANUAL" -_CEID = "CoverageEc2InstanceDetails" -_IIn = "InstanceId" -_iIn = "instanceId" -_IT = "InstanceType" -_iT = "instanceType" -_CAl = "ClusterArn" -_cAl = "clusterArn" -_aD = "agentDetails" -_mT = "managementType" -_Issu = "Issues" -_FD = "FargateDetails" -_iss = "issues" -_CECD = "CoverageEcsClusterDetails" -_CNl = "ClusterName" -_cNl = "clusterName" -_fD = "fargateDetails" -_cID = "containerInstanceDetails" -_CECDo = "CoverageEksClusterDetails" -_CNov = "CoveredNodes" -_cNov = "coveredNodes" -_CNom = "CompatibleNodes" -_cNom = "compatibleNodes" -_aDd = "addonDetails" -_CFC = "CoverageFilterCondition" -_CFCK = "CoverageFilterCriterionKey" -_AI_ = "ACCOUNT_ID" -_RT_ = "RESOURCE_TYPE" -_CS_ = "COVERAGE_STATUS" -_AV_ = "ADDON_VERSION" -_CN_ = "CLUSTER_NAME" -_ECN = "ECS_CLUSTER_NAME" -_MT_ = "MANAGEMENT_TYPE" -_ECN_ = "EKS_CLUSTER_NAME" -_AV__ = "AGENT_VERSION" -_II_ = "INSTANCE_ID" -_CA_ = "CLUSTER_ARN" -_CFCo = "CoverageFilterCriterion" -_CK = "CriterionKey" -_cK = "criterionKey" -_FC = "FilterCondition" -_fC = "filterCondition" -_CFCL = "CoverageFilterCriterionList" -_CFCov = "CoverageFilterCriteria" -_FCi = "FilterCriterion" -_fCi = "filterCriterion" -_CRD = "CoverageResourceDetails" -_ECD = "EksClusterDetails" -_eCD = "eksClusterDetails" -_ECDc = "EcsClusterDetails" -_eCDc = "ecsClusterDetails" -_EID = "Ec2InstanceDetails" -_eID = "ec2InstanceDetails" -_rT = "resourceType" -_CRo = "CoverageResource" -_RIe = "ResourceId" -_rIe = "resourceId" -_dI = "detectorId" -_RD = "ResourceDetails" -_rD = "resourceDetails" -_cS = "coverageStatus" -_Issue = "Issue" -_issu = "issue" -_CRov = "CoverageResources" -_CSK = "CoverageSortKey" -_ISSUE = "ISSUE" -_UA_ = "UPDATED_AT" -_OB = "OrderBy" -_ASC = "ASC" -_DESC = "DESC" -_CSC = "CoverageSortCriteria" -_AN = "AttributeName" -_aN = "attributeName" -_oB = "orderBy" -_CSov = "CoverageStatistics" -_cBRT = "countByResourceType" -_cBCS = "countByCoverageStatus" -_CST = "CoverageStatisticsType" -_CBRT_ = "COUNT_BY_RESOURCE_TYPE" -_CBCS_ = "COUNT_BY_COVERAGE_STATUS" -_CSTL = "CoverageStatisticsTypeList" -_TK = "TagKey" -_TV = "TagValue" -_TM = "TagMap" -_CCDRAI = "CreateCustomDetectionRuleAssociationInput" -_cCCDRAR = "com.amazonaws.guardduty#CreateCustomDetectionRuleAssociationRequest" -_sTm = "smithy.api#idempotencyToken" -_cTl = "clientToken" -_Ta = "Tags" -_ta = "tags" -_CCDRAO = "CreateCustomDetectionRuleAssociationOutput" -_cCCDRARo = "com.amazonaws.guardduty#CreateCustomDetectionRuleAssociationResponse" -_RA = "RuleAssociation" -_rA = "ruleAssociation" -_RNFE = "ResourceNotFoundException" -_CCDRA = "CreateCustomDetectionRuleAssociation" -_DRAI = "DetectionRuleAccountIds" -_CCDROCI = "CreateCustomDetectionRuleOrgConfigurationInput" -_cCCDROCR = "com.amazonaws.guardduty#CreateCustomDetectionRuleOrgConfigurationRequest" -_IAI = "IncludeAccountIds" -_iAI = "includeAccountIds" -_EAI = "ExcludeAccountIds" -_eAI = "excludeAccountIds" -_CCDROCO = "CreateCustomDetectionRuleOrgConfigurationOutput" -_cCCDROCRo = "com.amazonaws.guardduty#CreateCustomDetectionRuleOrgConfigurationResponse" -_CCDROC = "CreateCustomDetectionRuleOrgConfiguration" -_KALC = "KubernetesAuditLogsConfiguration" -_En = "Enable" -_en = "enable" -_KC = "KubernetesConfiguration" -_EV = "EbsVolumes" -_eV = "ebsVolumes" -_MPC = "MalwareProtectionConfiguration" -_SLC = "S3LogsConfiguration" -_DSC = "DataSourceConfigurations" -_FAC = "FeatureAdditionalConfiguration" -_EAM = "EKS_ADDON_MANAGEMENT" -_EFAM = "ECS_FARGATE_AGENT_MANAGEMENT" -_EAM_ = "EC2_AGENT_MANAGEMENT" -_RDR = "RDS_DATA_RISK" -_FS = "FeatureStatus" -_DAC = "DetectorAdditionalConfiguration" -_DACe = "DetectorAdditionalConfigurations" -_DF = "DetectorFeature" -_RM = "RUNTIME_MONITORING" -_AA_ = "AI_ANALYST" -_DFC = "DetectorFeatureConfiguration" -_ACd = "AdditionalConfiguration" -_aC = "additionalConfiguration" -_DFCe = "DetectorFeatureConfigurations" -_FPF = "FindingPublishingFrequency" -_FM = "FIFTEEN_MINUTES" -_OH = "ONE_HOUR" -_SH = "SIX_HOURS" -_CDI = "CreateDetectorInput" -_cCDR = "com.amazonaws.guardduty#CreateDetectorRequest" -_fPF = "findingPublishingFrequency" -_EVR = "EbsVolumesResult" -_Rea = "Reason" -_rea = "reason" -_SEIWFR = "ScanEc2InstanceWithFindingsResult" -_MPCR = "MalwareProtectionConfigurationResult" -_SR = "ServiceRole" -_sR = "serviceRole" -_UDSR = "UnprocessedDataSourcesResult" -_CDO = "CreateDetectorOutput" -_cCDRo = "com.amazonaws.guardduty#CreateDetectorResponse" -_UDS = "UnprocessedDataSources" -_uDS = "unprocessedDataSources" -_CDr = "CreateDetector" -_FA = "FilterAction" -_NOOP = "NOOP" -_ARCHIVE = "ARCHIVE" -_FDi = "FilterDescription" -_Cr = "Criterion" -_FCin = "FindingCriteria" -_cr = "criterion" -_FN = "FilterName" -_FR = "FilterRank" -_CFI = "CreateFilterInput" -_cCFR = "com.amazonaws.guardduty#CreateFilterRequest" -_De = "Description" -_de = "description" -_Ra = "Rank" -_ra = "rank" -_fCin = "findingCriteria" -_CFO = "CreateFilterOutput" -_cCFRo = "com.amazonaws.guardduty#CreateFilterResponse" -_CF = "CreateFilter" -_TP = "TriggerPrompt" -_CII = "CreateInvestigationInput" -_cCIR = "com.amazonaws.guardduty#CreateInvestigationRequest" -_tP = "triggerPrompt" -_IInv = "InvestigationId" -_CIO = "CreateInvestigationOutput" -_cCIRo = "com.amazonaws.guardduty#CreateInvestigationResponse" -_iInv = "investigationId" -_CI = "CreateInvestigation" -_ISF = "IpSetFormat" -_TXT = "TXT" -_STIX = "STIX" -_OC = "OTX_CSV" -_AV___ = "ALIEN_VAULT" -_PP_ = "PROOF_POINT" -_FE = "FIRE_EYE" -_Loc = "Location" -_CIPSI = "CreateIPSetInput" -_cCIPSR = "com.amazonaws.guardduty#CreateIPSetRequest" -_Fo = "Format" -_fo = "format" -_loc = "location" -_Activ = "Activate" -_act = "activate" -_EBO = "ExpectedBucketOwner" -_eBO = "expectedBucketOwner" -_CIPSO = "CreateIPSetOutput" -_cCIPSRo = "com.amazonaws.guardduty#CreateIPSetResponse" -_ISI = "IpSetId" -_iSI = "ipSetId" -_CIPS = "CreateIPSet" -_MPPTAS = "MalwareProtectionPlanTaggingActionStatus" -_MPPTA = "MalwareProtectionPlanTaggingAction" -_MPPA = "MalwareProtectionPlanActions" -_Tag = "Tagging" -_tag = "tagging" -_MPPOPL = "MalwareProtectionPlanObjectPrefixesList" -_CSBR = "CreateS3BucketResource" -_BN = "BucketName" -_bN = "bucketName" -_OP = "ObjectPrefixes" -_oP = "objectPrefixes" -_CPR = "CreateProtectedResource" -_SB = "S3Bucket" -_sB = "s3Bucket" -_CMPPI = "CreateMalwareProtectionPlanInput" -_cCMPPR = "com.amazonaws.guardduty#CreateMalwareProtectionPlanRequest" -_Ro = "Role" -_ro = "role" -_PR = "ProtectedResource" -_pR = "protectedResource" -_Actio = "Actions" -_acti = "actions" -_CMPPO = "CreateMalwareProtectionPlanOutput" -_cCMPPRo = "com.amazonaws.guardduty#CreateMalwareProtectionPlanResponse" -_MPPI = "MalwareProtectionPlanId" -_mPPI = "malwareProtectionPlanId" -_CMPP = "CreateMalwareProtectionPlan" -_CMI = "CreateMembersInput" -_cCMR = "com.amazonaws.guardduty#CreateMembersRequest" -_aDc = "accountDetails" -_UAn = "UnprocessedAccount" -_Res = "Result" -_res = "result" -_UAnp = "UnprocessedAccounts" -_CMO = "CreateMembersOutput" -_cCMRo = "com.amazonaws.guardduty#CreateMembersResponse" -_uAn = "unprocessedAccounts" -_CM = "CreateMembers" -_DP = "DestinationProperties" -_DA = "DestinationArn" -_dA = "destinationArn" -_KKA = "KmsKeyArn" -_kKA = "kmsKeyArn" -_DT = "DestinationType" -_S_ = "S3" -_CPDI = "CreatePublishingDestinationInput" -_cCPDR = "com.amazonaws.guardduty#CreatePublishingDestinationRequest" -_dT = "destinationType" -_dP = "destinationProperties" -_CPDO = "CreatePublishingDestinationOutput" -_cCPDRo = "com.amazonaws.guardduty#CreatePublishingDestinationResponse" -_DIe = "DestinationId" -_dIe = "destinationId" -_CPD = "CreatePublishingDestination" -_FTi = "FindingTypes" -_CSFI = "CreateSampleFindingsInput" -_cCSFR = "com.amazonaws.guardduty#CreateSampleFindingsRequest" -_fT = "findingTypes" -_CSFO = "CreateSampleFindingsOutput" -_cCSFRo = "com.amazonaws.guardduty#CreateSampleFindingsResponse" -_CSF = "CreateSampleFindings" -_TESF = "ThreatEntitySetFormat" -_CTESI = "CreateThreatEntitySetInput" -_cCTESR = "com.amazonaws.guardduty#CreateThreatEntitySetRequest" -_CTESO = "CreateThreatEntitySetOutput" -_cCTESRo = "com.amazonaws.guardduty#CreateThreatEntitySetResponse" -_TESI = "ThreatEntitySetId" -_tESI = "threatEntitySetId" -_CTES = "CreateThreatEntitySet" -_TISF = "ThreatIntelSetFormat" -_CTISI = "CreateThreatIntelSetInput" -_cCTISR = "com.amazonaws.guardduty#CreateThreatIntelSetRequest" -_CTISO = "CreateThreatIntelSetOutput" -_cCTISRo = "com.amazonaws.guardduty#CreateThreatIntelSetResponse" -_TISI = "ThreatIntelSetId" -_tISI = "threatIntelSetId" -_CTIS = "CreateThreatIntelSet" -_TESFr = "TrustedEntitySetFormat" -_CTESIr = "CreateTrustedEntitySetInput" -_cCTESRom = "com.amazonaws.guardduty#CreateTrustedEntitySetRequest" -_CTESOr = "CreateTrustedEntitySetOutput" -_cCTESRoma = "com.amazonaws.guardduty#CreateTrustedEntitySetResponse" -_TESIr = "TrustedEntitySetId" -_tESIr = "trustedEntitySetId" -_CTESr = "CreateTrustedEntitySet" -_EIA = "EC2_INSTANCE_ARN" -_SI_ = "SCAN_ID" -_GFI = "GUARDDUTY_FINDING_ID" -_SST = "SCAN_START_TIME" -_SS_ = "SCAN_STATUS" -_ST_ = "SCAN_TYPE" -_DSa = "DataSource" -_SL_ = "S3_LOGS" -_KAL = "KUBERNETES_AUDIT_LOGS" -_EMS = "EC2_MALWARE_SCAN" -_DNSLCR = "DNSLogsConfigurationResult" -_FLCR = "FlowLogsConfigurationResult" -_KALCR = "KubernetesAuditLogsConfigurationResult" -_KCR = "KubernetesConfigurationResult" -_SLCR = "S3LogsConfigurationResult" -_DSCR = "DataSourceConfigurationsResult" -_DNSL = "DNSLogs" -_DSL = "DataSourceList" -_DSat = "DateStatistics" -_Da = "Date" -_da = "date" -_Sev = "Severity" -_sev = "severity" -_DII = "DeclineInvitationsInput" -_cDIR = "com.amazonaws.guardduty#DeclineInvitationsRequest" -_aIcc = "accountIds" -_DIO = "DeclineInvitationsOutput" -_cDIRo = "com.amazonaws.guardduty#DeclineInvitationsResponse" -_DIec = "DeclineInvitations" -_DSSE = "DefaultServerSideEncryption" -_ETn = "EncryptionType" -_eTn = "encryptionType" -_KMKA = "KmsMasterKeyArn" -_kMKA = "kmsMasterKeyArn" -_DCDRAI = "DeleteCustomDetectionRuleAssociationInput" -_cDCDRAR = "com.amazonaws.guardduty#DeleteCustomDetectionRuleAssociationRequest" -_DCDRAO = "DeleteCustomDetectionRuleAssociationOutput" -_cDCDRARo = "com.amazonaws.guardduty#DeleteCustomDetectionRuleAssociationResponse" -_DCDRA = "DeleteCustomDetectionRuleAssociation" -_DCDROCI = "DeleteCustomDetectionRuleOrgConfigurationInput" -_cDCDROCR = "com.amazonaws.guardduty#DeleteCustomDetectionRuleOrgConfigurationRequest" -_sQ = "smithy.api#httpQuery" -_DCDROCO = "DeleteCustomDetectionRuleOrgConfigurationOutput" -_cDCDROCRo = "com.amazonaws.guardduty#DeleteCustomDetectionRuleOrgConfigurationResponse" -_DCDROC = "DeleteCustomDetectionRuleOrgConfiguration" -_DDI = "DeleteDetectorInput" -_cDDR = "com.amazonaws.guardduty#DeleteDetectorRequest" -_DDO = "DeleteDetectorOutput" -_cDDRo = "com.amazonaws.guardduty#DeleteDetectorResponse" -_DDe = "DeleteDetector" -_DFI = "DeleteFilterInput" -_cDFR = "com.amazonaws.guardduty#DeleteFilterRequest" -_DFO = "DeleteFilterOutput" -_cDFRo = "com.amazonaws.guardduty#DeleteFilterResponse" -_DFe = "DeleteFilter" -_DIIe = "DeleteInvitationsInput" -_cDIRom = "com.amazonaws.guardduty#DeleteInvitationsRequest" -_DIOe = "DeleteInvitationsOutput" -_cDIRoma = "com.amazonaws.guardduty#DeleteInvitationsResponse" -_DIel = "DeleteInvitations" -_DIPSI = "DeleteIPSetInput" -_cDIPSR = "com.amazonaws.guardduty#DeleteIPSetRequest" -_DIPSO = "DeleteIPSetOutput" -_cDIPSRo = "com.amazonaws.guardduty#DeleteIPSetResponse" -_DIPS = "DeleteIPSet" -_DMPPI = "DeleteMalwareProtectionPlanInput" -_cDMPPR = "com.amazonaws.guardduty#DeleteMalwareProtectionPlanRequest" -_DMPPO = "DeleteMalwareProtectionPlanOutput" -_sU = "smithy.api#Unit" -_DMPP = "DeleteMalwareProtectionPlan" -_DMI = "DeleteMembersInput" -_cDMR = "com.amazonaws.guardduty#DeleteMembersRequest" -_DMO = "DeleteMembersOutput" -_cDMRo = "com.amazonaws.guardduty#DeleteMembersResponse" -_DM = "DeleteMembers" -_DPDI = "DeletePublishingDestinationInput" -_cDPDR = "com.amazonaws.guardduty#DeletePublishingDestinationRequest" -_DPDO = "DeletePublishingDestinationOutput" -_cDPDRo = "com.amazonaws.guardduty#DeletePublishingDestinationResponse" -_DPD = "DeletePublishingDestination" -_DTESI = "DeleteThreatEntitySetInput" -_cDTESR = "com.amazonaws.guardduty#DeleteThreatEntitySetRequest" -_DTESO = "DeleteThreatEntitySetOutput" -_cDTESRo = "com.amazonaws.guardduty#DeleteThreatEntitySetResponse" -_DTES = "DeleteThreatEntitySet" -_DTISI = "DeleteThreatIntelSetInput" -_cDTISR = "com.amazonaws.guardduty#DeleteThreatIntelSetRequest" -_DTISO = "DeleteThreatIntelSetOutput" -_cDTISRo = "com.amazonaws.guardduty#DeleteThreatIntelSetResponse" -_DTIS = "DeleteThreatIntelSet" -_DTESIe = "DeleteTrustedEntitySetInput" -_cDTESRom = "com.amazonaws.guardduty#DeleteTrustedEntitySetRequest" -_DTESOe = "DeleteTrustedEntitySetOutput" -_cDTESRoma = "com.amazonaws.guardduty#DeleteTrustedEntitySetResponse" -_DTESe = "DeleteTrustedEntitySet" -_LV = "LongValue" -_EVq = "EqualsValue" -_eVq = "equalsValue" -_FCL = "FilterCriterionList" -_FCil = "FilterCriteria" -_IVWM = "IntegerValueWithMax" -_SCo = "SortCriteria" -_DMSI = "DescribeMalwareScansInput" -_cDMSR = "com.amazonaws.guardduty#DescribeMalwareScansRequest" -_NT = "NextToken" -_nT = "nextToken" -_MR = "MaxResults" -_mR = "maxResults" -_fCil = "filterCriteria" -_sCo = "sortCriteria" -_VD = "VolumeDetail" -_VA = "VolumeArn" -_vA = "volumeArn" -_VT = "VolumeType" -_vT = "volumeType" -_VSIGB = "VolumeSizeInGB" -_vSIGB = "volumeSizeInGB" -_SA = "SnapshotArn" -_sA = "snapshotArn" -_VDo = "VolumeDetails" -_PL = "PositiveLong" -_IAn = "InstanceArn" -_iAn = "instanceArn" -_SRc = "ScanResult" -_CLEAN = "CLEAN" -_INFECTED = "INFECTED" -_SRD = "ScanResultDetails" -_sRc = "scanResult" -_SSc = "ScanStatus" -_RUNNING = "RUNNING" -_COMPLETED = "COMPLETED" -_SKIPPED = "SKIPPED" -_STc = "ScanType" -_GI_ = "GUARDDUTY_INITIATED" -_OD = "ON_DEMAND" -_TT = "TriggerType" -_BACKUP = "BACKUP" -_GUARDDUTY = "GUARDDUTY" -_TD = "TriggerDetails" -_GDFI = "GuardDutyFindingId" -_gDFI = "guardDutyFindingId" -_tT = "triggerType" -_Sc = "Scan" -_ADI = "AdminDetectorId" -_aDI = "adminDetectorId" -_SIc = "ScanId" -_sI = "scanId" -_sS = "scanStatus" -_FRa = "FailureReason" -_fR = "failureReason" -_SSTc = "ScanStartTime" -_sST = "scanStartTime" -_SET = "ScanEndTime" -_sET = "scanEndTime" -_tD = "triggerDetails" -_sRD = "scanResultDetails" -_TB = "TotalBytes" -_tB = "totalBytes" -_FCile = "FileCount" -_fCile = "fileCount" -_AVt = "AttachedVolumes" -_aVt = "attachedVolumes" -_sTc = "scanType" -_Sca = "Scans" -_DMSO = "DescribeMalwareScansOutput" -_cDMSRo = "com.amazonaws.guardduty#DescribeMalwareScansResponse" -_sc = "scans" -_DMS = "DescribeMalwareScans" -_DOCI = "DescribeOrganizationConfigurationInput" -_cDOCR = "com.amazonaws.guardduty#DescribeOrganizationConfigurationRequest" -_OKALCR = "OrganizationKubernetesAuditLogsConfigurationResult" -_AE = "AutoEnable" -_aE = "autoEnable" -_OKCR = "OrganizationKubernetesConfigurationResult" -_OEVR = "OrganizationEbsVolumesResult" -_OSEIWFR = "OrganizationScanEc2InstanceWithFindingsResult" -_OMPCR = "OrganizationMalwareProtectionConfigurationResult" -_OSLCR = "OrganizationS3LogsConfigurationResult" -_ODSCR = "OrganizationDataSourceConfigurationsResult" -_OFS = "OrgFeatureStatus" -_OFAC = "OrgFeatureAdditionalConfiguration" -_OACR = "OrganizationAdditionalConfigurationResult" -_OACRr = "OrganizationAdditionalConfigurationResults" -_OF = "OrgFeature" -_OFCR = "OrganizationFeatureConfigurationResult" -_OFCRr = "OrganizationFeaturesConfigurationsResults" -_DOCO = "DescribeOrganizationConfigurationOutput" -_cDOCRo = "com.amazonaws.guardduty#DescribeOrganizationConfigurationResponse" -_MALR = "MemberAccountLimitReached" -_mALR = "memberAccountLimitReached" -_AEOM = "AutoEnableOrganizationMembers" -_aEOM = "autoEnableOrganizationMembers" -_DOC = "DescribeOrganizationConfiguration" -_DPDIe = "DescribePublishingDestinationInput" -_cDPDRom = "com.amazonaws.guardduty#DescribePublishingDestinationRequest" -_PSu = "PublishingStatus" -_PV = "PENDING_VERIFICATION" -_PUBLISHING = "PUBLISHING" -_UTPFDP = "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY" -_STOPPED = "STOPPED" -_DPDOe = "DescribePublishingDestinationOutput" -_cDPDRoma = "com.amazonaws.guardduty#DescribePublishingDestinationResponse" -_PFST = "PublishingFailureStartTimestamp" -_pFST = "publishingFailureStartTimestamp" -_DPDe = "DescribePublishingDestination" -_Des = "Destination" -_Dest = "Destinations" -_SD = "SequenceDescription" -_ND = "NetworkDirection" -_INBOUND = "INBOUND" -_OUTBOUND = "OUTBOUND" -_NC = "NetworkConnection" -_Di = "Direction" -_di = "direction" -_NGL = "NetworkGeoLocation" -_La = "Latitude" -_Long = "Longitude" -_NEe = "NetworkEndpoint" -_Ip = "Ip" -_ip = "ip" -_aSu = "autonomousSystem" -_Conn = "Connection" -_conn = "connection" -_NEet = "NetworkEndpoints" -_EI = "Ec2Image" -_ENIU = "Ec2NetworkInterfaceUids" -_IIP = "IamInstanceProfile" -_PC = "ProductCode" -_Cod = "Code" -_pCI = "productCodeId" -_PTr = "ProductType" -_pCT = "productCodeType" -_PCr = "ProductCodes" -_EIc = "Ec2Instance" -_AZ = "AvailabilityZone" -_aZ = "availabilityZone" -_ID = "ImageDescription" -_iD = "imageDescription" -_IS = "InstanceState" -_iS = "instanceState" -_OA = "OutpostArn" -_oA = "outpostArn" -_Pl = "Platform" -_pl = "platform" -_pC = "productCodes" -_eNIU = "ec2NetworkInterfaceUids" -_LTV = "LaunchTemplateVersion" -_ELT = "Ec2LaunchTemplate" -_IAp = "Ipv6Addresses" -_PIAD = "PrivateIpAddressDetails" -_PDN = "PrivateDnsName" -_pDN = "privateDnsName" -_PIA = "PrivateIpAddress" -_pIA = "privateIpAddress" -_PIAr = "PrivateIpAddresses" -_SG = "SecurityGroup" -_GIr = "GroupId" -_gI = "groupId" -_GN = "GroupName" -_gN = "groupName" -_SGe = "SecurityGroups" -_ENI = "Ec2NetworkInterface" -_iAp = "ipv6Addresses" -_pIAr = "privateIpAddresses" -_PIu = "PublicIp" -_pIu = "publicIp" -_sG = "securityGroups" -_SNI = "SubNetId" -_sNI = "subNetId" -_VIp = "VpcId" -_vIp = "vpcId" -_EVc = "Ec2Vpc" -_ECSc = "EcsClusterStatus" -_PROVISIONING = "PROVISIONING" -_DEPROVISIONING = "DEPROVISIONING" -_INACTIVE = "INACTIVE" -_ECc = "EcsCluster" -_ELTc = "EcsLaunchType" -_FARGATE = "FARGATE" -_ETc = "EcsTask" -_TDA = "TaskDefinitionArn" -_tDA = "taskDefinitionArn" -_LTa = "LaunchType" -_lTa = "launchType" -_cUo = "containerUids" -_ECk = "EksCluster" -_IIPV = "IamInstanceProfileV2" -_KRT = "KubernetesResourcesTypes" -_PODS = "PODS" -_JOBS = "JOBS" -_CRONJOBS = "CRONJOBS" -_DEPLOYMENTS = "DEPLOYMENTS" -_DAEMONSETS = "DAEMONSETS" -_STATEFULSETS = "STATEFULSETS" -_REPLICASETS = "REPLICASETS" -_REPLICATIONCONTROLLERS = "REPLICATIONCONTROLLERS" -_KW = "KubernetesWorkload" -_PAS = "PublicAccessStatus" -_ALLOWED = "ALLOWED" -_PAIB = "PublicAclIgnoreBehavior" -_IGNORED = "IGNORED" -_NI = "NOT_IGNORED" -_PBRB = "PublicBucketRestrictBehavior" -_RESTRICTED = "RESTRICTED" -_NR = "NOT_RESTRICTED" -_PAC = "PublicAccessConfiguration" -_PAA = "PublicAclAccess" -_pAA = "publicAclAccess" -_PPAu = "PublicPolicyAccess" -_pPAu = "publicPolicyAccess" -_pAIB = "publicAclIgnoreBehavior" -_pBRB = "publicBucketRestrictBehavior" -_SOU = "S3ObjectUids" -_OI = "OwnerId" -_oI = "ownerId" -_EKA = "EncryptionKeyArn" -_eKA = "encryptionKeyArn" -_EP = "EffectivePermission" -_eP = "effectivePermission" -_PRA = "PublicReadAccess" -_pRA = "publicReadAccess" -_PWA = "PublicWriteAccess" -_pWA = "publicWriteAccess" -_APA = "AccountPublicAccess" -_aPA = "accountPublicAccess" -_BPAu = "BucketPublicAccess" -_bPAu = "bucketPublicAccess" -_sOU = "s3ObjectUids" -_SO = "S3Object" -_ETa = "ETag" -_eTa = "eTag" -_Ke = "Key" -_RDe = "ResourceData" -_eI = "ec2Instance" -_aK = "accessKey" -_eNI = "ec2NetworkInterface" -_sO = "s3Object" -_eCk = "eksCluster" -_kW = "kubernetesWorkload" -_cont = "container" -_eCc = "ecsCluster" -_eTc = "ecsTask" -_iIP = "iamInstanceProfile" -_aASG = "autoscalingAutoScalingGroup" -_eLT = "ec2LaunchTemplate" -_eVc = "ec2Vpc" -_eIc = "ec2Image" -_cSl = "cloudformationStack" -_bG = "bedrockGuardrail" -_FRT = "FindingResourceType" -_EI_ = "EC2_INSTANCE" -_ENI_ = "EC2_NETWORK_INTERFACE" -_SB_ = "S3_BUCKET" -_SO_ = "S3_OBJECT" -_AK_ = "ACCESS_KEY" -_EC__ = "EKS_CLUSTER" -_KW_ = "KUBERNETES_WORKLOAD" -_CONTAINER = "CONTAINER" -_EC___ = "ECS_CLUSTER" -_ET_ = "ECS_TASK" -_AASG_ = "AUTOSCALING_AUTO_SCALING_GROUP" -_IIP_ = "IAM_INSTANCE_PROFILE" -_CS__ = "CLOUDFORMATION_STACK" -_ELT_ = "EC2_LAUNCH_TEMPLATE" -_EV_ = "EC2_VPC" -_EI__ = "EC2_IMAGE" -_BCM = "BEDROCK_CUSTOM_MODEL" -_BIM = "BEDROCK_IMPORTED_MODEL" -_BPM = "BEDROCK_PROVISIONED_MODEL" -_BCMD = "BEDROCK_CUSTOM_MODEL_DEPLOYMENT" -_BIP = "BEDROCK_INFERENCE_PROFILE" -_BAIP = "BEDROCK_APPLICATION_INFERENCE_PROFILE" -_BP_ = "BEDROCK_PROMPT" -_BPR = "BEDROCK_PROMPT_ROUTER" -_BG_ = "BEDROCK_GUARDRAIL" -_SE = "SAGEMAKER_ENDPOINT" -_Tag_ = "Tag" -_Va = "Value" -_RV = "ResourceV2" -_CPl = "CloudPartition" -_cP = "cloudPartition" -_Dat = "Data" -_dat = "data" -_Reso = "Resources" -_ITn = "IndicatorType" -_SUA = "SUSPICIOUS_USER_AGENT" -_SN_ = "SUSPICIOUS_NETWORK" -_MI_ = "MALICIOUS_IP" -_TI = "TOR_IP" -_AT_ = "ATTACK_TACTIC" -_HRA = "HIGH_RISK_API" -_AT__ = "ATTACK_TECHNIQUE" -_UAFA = "UNUSUAL_API_FOR_ACCOUNT" -_UAFA_ = "UNUSUAL_ASN_FOR_ACCOUNT" -_UAFU = "UNUSUAL_ASN_FOR_USER" -_SP = "SUSPICIOUS_PROCESS" -_MD = "MALICIOUS_DOMAIN" -_MP_ = "MALICIOUS_PROCESS" -_CI_ = "CRYPTOMINING_IP" -_CD_ = "CRYPTOMINING_DOMAIN" -_CP_ = "CRYPTOMINING_PROCESS" -_MF = "MALICIOUS_FILE" -_VULNERABILITY = "VULNERABILITY" -_MP__ = "MALICIOUS_PACKAGE" -_MISCONFIGURATION = "MISCONFIGURATION" -_REACHABILITY = "REACHABILITY" -_SD_ = "SENSITIVE_DATA" -_ITnd = "IndicatorTitle" -_IVS = "IndicatorValueString" -_IV = "IndicatorValues" -_In = "Indicator" -_Val = "Values" -_va = "values" -_Tit = "Title" -_ti = "title" -_Ind = "Indicators" -_SDi = "SignalDescription" -_EIn = "EndpointIds" -_RUe = "ResourceUids" -_STi = "SignalType" -_FINDING = "FINDING" -_Si = "Signal" -_FSA = "FirstSeenAt" -_fSA = "firstSeenAt" -_LSA = "LastSeenAt" -_lSA = "lastSeenAt" -_Cou = "Count" -_cou = "count" -_rUe = "resourceUids" -_aIct = "actorIds" -_eIn = "endpointIds" -_SIi = "SignalIndicators" -_sIi = "signalIndicators" -_activ = "activities" -_Sig = "Signals" -_Seq = "Sequence" -_acto = "actors" -_reso = "resources" -_End = "Endpoints" -_end = "endpoints" -_si = "signals" -_SIe = "SequenceIndicators" -_sIe = "sequenceIndicators" -_aST = "additionalSequenceTypes" -_Det = "Detection" -_an = "anomaly" -_seq = "sequence" -_DRAV = "DetectionRuleAgentVersion" -_DRCS = "DetectionRuleConfigurationStatus" -_PROCESSING = "PROCESSING" -_DRDS = "DetectionRuleDataSource" -_CME = "CLOUDTRAIL_MANAGEMENT_EVENT" -_CTME = "CloudTrailManagementEvent" -_RMu = "RuntimeMonitoring" -_DRD = "DetectionRuleDescription" -_DRER = "DetectionRuleEc2Requirements" -_MAV = "MinAgentVersion" -_mAV = "minAgentVersion" -_DREFR = "DetectionRuleEcsFargateRequirements" -_DRERe = "DetectionRuleEksRequirements" -_DRFC = "DetectionRuleFilterCondition" -_EQUALS = "EQUALS" -_CONTAINS = "CONTAINS" -_FFN = "FilterFieldName" -_NAME = "NAME" -_DESCRIPTION = "DESCRIPTION" -_DS_ = "DATA_SOURCE" -_dSa = "dataSource" -_SEVERITY = "SEVERITY" -_TACTIC = "TACTIC" -_tac = "tactic" -_TECHNIQUE = "TECHNIQUE" -_tec = "technique" -_SERVICE = "SERVICE" -_DRFV = "DetectionRuleFilterValue" -_DRFVe = "DetectionRuleFilterValues" -_DRF = "DetectionRuleFilter" -_cond = "condition" -_DRFL = "DetectionRuleFilterList" -_DRMR = "DetectionRuleMaxResults" -_DROC = "DetectionRuleOrgConfiguration" -_SRt = "StatusReason" -_sRt = "statusReason" -_DROCS = "DetectionRuleOrgConfigurationSummary" -_DROCSL = "DetectionRuleOrgConfigurationSummaryList" -_DRRP = "DetectionRuleRuntimePlatforms" -_Ek = "Eks" -_ek = "eks" -_Ec = "Ec2" -_ec = "ec2" -_EF = "EcsFargate" -_eF = "ecsFargate" -_DRRMD = "DetectionRuleRuntimeMonitoringDetails" -_Pla = "Platforms" -_pla = "platforms" -_DRSN = "DetectionRuleServiceName" -_DRS = "DetectionRuleSeverity" -_CRITICAL = "CRITICAL" -_DSe = "DetectionSource" -_AMAZON = "AMAZON" -_BITDEFENDER = "BITDEFENDER" -_MB = "ManagedBy" -_GP = "GUARDDUTY_POLICY" -_DACR = "DetectorAdditionalConfigurationResult" -_mB = "managedBy" -_DACRe = "DetectorAdditionalConfigurationResults" -_DFR = "DetectorFeatureResult" -_DFCR = "DetectorFeatureConfigurationResult" -_DFCRe = "DetectorFeatureConfigurationsResults" -_DIet = "DetectorIds" -_DSet = "DetectorStatus" -_DOAAI = "DisableOrganizationAdminAccountInput" -_cDOAAR = "com.amazonaws.guardduty#DisableOrganizationAdminAccountRequest" -_DOAAO = "DisableOrganizationAdminAccountOutput" -_cDOAARo = "com.amazonaws.guardduty#DisableOrganizationAdminAccountResponse" -_DOAA = "DisableOrganizationAdminAccount" -_DFAAI = "DisassociateFromAdministratorAccountInput" -_cDFAAR = "com.amazonaws.guardduty#DisassociateFromAdministratorAccountRequest" -_DFAAO = "DisassociateFromAdministratorAccountOutput" -_cDFAARo = "com.amazonaws.guardduty#DisassociateFromAdministratorAccountResponse" -_DFAA = "DisassociateFromAdministratorAccount" -_DFMAI = "DisassociateFromMasterAccountInput" -_cDFMAR = "com.amazonaws.guardduty#DisassociateFromMasterAccountRequest" -_DFMAO = "DisassociateFromMasterAccountOutput" -_cDFMARo = "com.amazonaws.guardduty#DisassociateFromMasterAccountResponse" -_DFMA = "DisassociateFromMasterAccount" -_DMIi = "DisassociateMembersInput" -_cDMRom = "com.amazonaws.guardduty#DisassociateMembersRequest" -_DMOi = "DisassociateMembersOutput" -_cDMRoma = "com.amazonaws.guardduty#DisassociateMembersResponse" -_DMi = "DisassociateMembers" -_ES = "EbsSnapshot" -_ESD = "EbsSnapshotDetails" -_ESP = "EbsSnapshotPreservation" -_NR_ = "NO_RETENTION" -_RWF = "RETENTION_WITH_FINDING" -_EVD = "EbsVolumeDetails" -_SVD = "ScannedVolumeDetails" -_sVD = "scannedVolumeDetails" -_SVDk = "SkippedVolumeDetails" -_sVDk = "skippedVolumeDetails" -_HSTD = "HighestSeverityThreatDetails" -_TN = "ThreatName" -_tN = "threatName" -_SIC = "ScannedItemCount" -_TG = "TotalGb" -_tG = "totalGb" -_Fi = "Files" -_fi = "files" -_Vo = "Volumes" -_vo = "volumes" -_SFP = "ScanFilePath" -_FP = "FilePath" -_fP = "filePath" -_Ha = "Hash" -_h = "hash" -_FNi = "FileName" -_fN = "fileName" -_FPi = "FilePaths" -_STN = "ScanThreatName" -_IC = "ItemCount" -_iC = "itemCount" -_fPi = "filePaths" -_STNc = "ScanThreatNames" -_TDBN = "ThreatDetectedByName" -_UTNC = "UniqueThreatNameCount" -_uTNC = "uniqueThreatNameCount" -_Sho = "Shortened" -_sho = "shortened" -_TNh = "ThreatNames" -_tNh = "threatNames" -_TDIC = "ThreatsDetectedItemCount" -_SDc = "ScanDetections" -_sIC = "scannedItemCount" -_tDIC = "threatsDetectedItemCount" -_hSTD = "highestSeverityThreatDetails" -_tDBN = "threatDetectedByName" -_So = "Sources" -_EVSD = "EbsVolumeScanDetails" -_SSA = "ScanStartedAt" -_sSA = "scanStartedAt" -_SCA = "ScanCompletedAt" -_sCA = "scanCompletedAt" -_TFI = "TriggerFindingId" -_tFI = "triggerFindingId" -_so = "sources" -_sD = "scanDetections" -_EIDc = "Ec2ImageDetails" -_IAm = "ImageArn" -_iAm = "imageArn" -_HP = "HostPath" -_Vol = "Volume" -_hP = "hostPath" -_ETD = "EcsTaskDetails" -_DAe = "DefinitionArn" -_dAe = "definitionArn" -_TCA = "TaskCreatedAt" -_SAt = "StartedAt" -_sAt = "startedAt" -_SBt = "StartedBy" -_sBt = "startedBy" -_conta = "containers" -_Gr = "Group" -_gr = "group" -_ASCc = "ActiveServicesCount" -_aSC = "activeServicesCount" -_RCIC = "RegisteredContainerInstancesCount" -_rCIC = "registeredContainerInstancesCount" -_RTC = "RunningTasksCount" -_rTC = "runningTasksCount" -_TDa = "TaskDetails" -_tDa = "taskDetails" -_EOAAI = "EnableOrganizationAdminAccountInput" -_cEOAAR = "com.amazonaws.guardduty#EnableOrganizationAdminAccountRequest" -_EOAAO = "EnableOrganizationAdminAccountOutput" -_cEOAARo = "com.amazonaws.guardduty#EnableOrganizationAdminAccountResponse" -_EOAA = "EnableOrganizationAdminAccount" -_TID = "ThreatIntelligenceDetail" -_TLN = "ThreatListName" -_tLN = "threatListName" -_TFS = "ThreatFileSha256" -_tFS = "threatFileSha256" -_TIDh = "ThreatIntelligenceDetails" -_Ev = "Evidence" -_tID = "threatIntelligenceDetails" -_Fe = "Feedback" -_USEFUL = "USEFUL" -_NU = "NOT_USEFUL" -_FNil = "FilterNames" -_FV = "FilterVersion" -_NIe = "NetworkInterface" -_NII = "NetworkInterfaceId" -_nII = "networkInterfaceId" -_PDNu = "PublicDnsName" -_pDNu = "publicDnsName" -_SIu = "SubnetId" -_sIu = "subnetId" -_NIet = "NetworkInterfaces" -_IDn = "InstanceDetails" -_IIm = "ImageId" -_iIm = "imageId" -_LTau = "LaunchTime" -_lTau = "launchTime" -_nI = "networkInterfaces" -_Gro = "Groups" -_IUm = "ImpersonatedUser" -_Use = "Username" -_use = "username" -_gro = "groups" -_SNL = "SessionNameList" -_KUD = "KubernetesUserDetails" -_SNe = "SessionName" -_sNes = "sessionName" -_iUm = "impersonatedUser" -_KWD = "KubernetesWorkloadDetails" -_HN = "HostNetwork" -_hN = "hostNetwork" -_SAN = "ServiceAccountName" -_sAN = "serviceAccountName" -_HIPC = "HostIPC" -_hIPC = "hostIPC" -_HPID = "HostPID" -_hPID = "hostPID" -_KD = "KubernetesDetails" -_kUD = "kubernetesUserDetails" -_kWD = "kubernetesWorkloadDetails" -_SIub = "SubnetIds" -_VC = "VpcConfig" -_sIub = "subnetIds" -_LD = "LambdaDetails" -_FAu = "FunctionArn" -_fA = "functionArn" -_FNu = "FunctionName" -_fNu = "functionName" -_LMA = "LastModifiedAt" -_lMA = "lastModifiedAt" -_RIev = "RevisionId" -_rIev = "revisionId" -_FVu = "FunctionVersion" -_fV = "functionVersion" -_vC = "vpcConfig" -_MDo = "ModelDetail" -_MIo = "ModelId" -_mIo = "modelId" -_MDod = "ModelDetails" -_RDID = "RdsDbInstanceDetails" -_DIIb = "DbInstanceIdentifier" -_dII = "dbInstanceIdentifier" -_Eng = "Engine" -_eng = "engine" -_EVn = "EngineVersion" -_eVn = "engineVersion" -_DCI = "DbClusterIdentifier" -_dCI = "dbClusterIdentifier" -_DIA = "DbInstanceArn" -_dIA = "dbInstanceArn" -_DRI = "DbiResourceId" -_dRI = "dbiResourceId" -_RDUD = "RdsDbUserDetails" -_Data = "Database" -_data = "database" -_Ss = "Ssl" -_ss = "ssl" -_AMu = "AuthMethod" -_aM = "authMethod" -_RLDD = "RdsLimitlessDbDetails" -_DSGI = "DbShardGroupIdentifier" -_dSGI = "dbShardGroupIdentifier" -_DSGRI = "DbShardGroupResourceId" -_dSGRI = "dbShardGroupResourceId" -_DSGA = "DbShardGroupArn" -_dSGA = "dbShardGroupArn" -_SCCSD = "ScanConfigurationContinuousScanDetails" -_RPDe = "RecoveryPointDetails" -_RPA = "RecoveryPointArn" -_rPA = "recoveryPointArn" -_BVN = "BackupVaultName" -_bVN = "backupVaultName" -_cSD = "continuousScanDetails" -_Ow = "Owner" -_PCe = "PermissionConfiguration" -_bLP = "bucketLevelPermissions" -_aLP = "accountLevelPermissions" -_PAu = "PublicAccess" -_pCe = "permissionConfiguration" -_SOD = "S3ObjectDetail" -_OAb = "ObjectArn" -_oAb = "objectArn" -_SODb = "S3ObjectDetails" -_SBD = "S3BucketDetail" -_ow = "owner" -_dSSE = "defaultServerSideEncryption" -_pA = "publicAccess" -_sOD = "s3ObjectDetails" -_SBDu = "S3BucketDetails" -_aKD = "accessKeyDetails" -_sBD = "s3BucketDetails" -_iDn = "instanceDetails" -_kD = "kubernetesDetails" -_eVD = "ebsVolumeDetails" -_CDo = "ContainerDetails" -_cDo = "containerDetails" -_lD = "lambdaDetails" -_rDID = "rdsDbInstanceDetails" -_rLDD = "rdsLimitlessDbDetails" -_rDUD = "rdsDbUserDetails" -_eSD = "ebsSnapshotDetails" -_eIDc = "ec2ImageDetails" -_rPDe = "recoveryPointDetails" -_bGD = "bedrockGuardrailDetails" -_mD = "modelDetails" -_SAI = "ServiceAdditionalInfo" -_SCc = "ScanCategory" -_FS_ = "FULL_SCAN" -_IS_ = "INCREMENTAL_SCAN" -_ISD = "IncrementalScanDetails" -_BRA = "BaselineResourceArn" -_bRA = "baselineResourceArn" -_MPFSC = "MalwareProtectionFindingsScanConfiguration" -_iSD = "incrementalScanDetails" -_MPST = "MalwareProtectionScanType" -_BI = "BACKUP_INITIATED" -_IDt = "ItemDetails" -_RAe = "ResourceArn" -_rAe = "resourceArn" -_IPt = "ItemPath" -_iPt = "itemPath" -_aId = "additionalInfo" -_IDL = "ItemDetailsList" -_NIP = "NestedItemPath" -_nIP = "nestedItemPath" -_IPte = "ItemPaths" -_Th = "Threat" -_Sou = "Source" -_sou = "source" -_iPte = "itemPaths" -_iDt = "itemDetails" -_Thr = "Threats" -_MSD = "MalwareScanDetails" -_th = "threats" -_sCc = "scanCategory" -_SCca = "ScanConfiguration" -_sCca = "scanConfiguration" -_UTC = "UniqueThreatCount" -_uTC = "uniqueThreatCount" -_FLl = "FlagsList" -_MRL = "MemoryRegionsList" -_LO = "LineageObject" -_NP = "NamespacePid" -_nP = "namespacePid" -_UI = "UserId" -_uI = "userId" -_Pi = "Pid" -_pi = "pid" -_Uu = "Uuid" -_uu = "uuid" -_EPx = "ExecutablePath" -_ePx = "executablePath" -_Eu = "Euid" -_eu = "euid" -_PU = "ParentUuid" -_pU = "parentUuid" -_Li = "Lineage" -_PD = "ProcessDetails" -_ESx = "ExecutableSha256" -_eS = "executableSha256" -_Pw = "Pwd" -_pw = "pwd" -_li = "lineage" -_RFPL = "RelatedFilePathsList" -_RC = "RuntimeContext" -_MPod = "ModifyingProcess" -_mPod = "modifyingProcess" -_MA = "ModifiedAt" -_mA = "modifiedAt" -_SPc = "ScriptPath" -_sP = "scriptPath" -_LP = "LibraryPath" -_lP = "libraryPath" -_LPV = "LdPreloadValue" -_lPV = "ldPreloadValue" -_SPo = "SocketPath" -_sPo = "socketPath" -_RBP = "RuncBinaryPath" -_rBP = "runcBinaryPath" -_RAP = "ReleaseAgentPath" -_rAP = "releaseAgentPath" -_MSo = "MountSource" -_mSo = "mountSource" -_MTo = "MountTarget" -_mTo = "mountTarget" -_FST = "FileSystemType" -_fST = "fileSystemType" -_Fl = "Flags" -_fl = "flags" -_MN = "ModuleName" -_mN = "moduleName" -_MFP = "ModuleFilePath" -_mFP = "moduleFilePath" -_MSod = "ModuleSha256" -_mSod = "moduleSha256" -_SHFP = "ShellHistoryFilePath" -_sHFP = "shellHistoryFilePath" -_TPa = "TargetProcess" -_tPa = "targetProcess" -_AFd = "AddressFamily" -_aF = "addressFamily" -_IPN = "IanaProtocolNumber" -_iPN = "ianaProtocolNumber" -_MRe = "MemoryRegions" -_mRe = "memoryRegions" -_TNo = "ToolName" -_tNo = "toolName" -_TC = "ToolCategory" -_tC = "toolCategory" -_CLE = "CommandLineExample" -_cLE = "commandLineExample" -_TFP = "ThreatFilePath" -_tFP = "threatFilePath" -_FO = "FileOperation" -_fO = "fileOperation" -_RFP = "RelatedFilePaths" -_rFP = "relatedFilePaths" -_RDu = "RuntimeDetails" -_Conte = "Context" -_conte = "context" -_ev = "evidence" -_Arc = "Archived" -_arc = "archived" -_EFS = "EventFirstSeen" -_eFS = "eventFirstSeen" -_ELS = "EventLastSeen" -_eLS = "eventLastSeen" -_RR = "ResourceRole" -_rR = "resourceRole" -_UF = "UserFeedback" -_uF = "userFeedback" -_FNe = "FeatureName" -_fNe = "featureName" -_eVSD = "ebsVolumeScanDetails" -_rDu = "runtimeDetails" -_det = "detection" -_mSD = "malwareScanDetails" -_Fin = "Finding" -_Par = "Partition" -_par = "partition" -_SV = "SchemaVersion" -_sVc = "schemaVersion" -_AASA = "AssociatedAttackSequenceArn" -_aASA = "associatedAttackSequenceArn" -_CDRN = "CustomDetectionRuleName" -_cDRN = "customDetectionRuleName" -_Find = "Findings" -_GBA = "GroupedByAccount" -_GBD = "GroupedByDate" -_FTS = "FindingTypeStatistics" -_fTi = "findingType" -_GBFT = "GroupedByFindingType" -_RSe = "ResourceStatistics" -_GBR = "GroupedByResource" -_SSe = "SeverityStatistics" -_GBS = "GroupedBySeverity" -_FSi = "FindingStatistics" -_cBS = "countBySeverity" -_gBA = "groupedByAccount" -_gBD = "groupedByDate" -_gBFT = "groupedByFindingType" -_gBR = "groupedByResource" -_gBS = "groupedBySeverity" -_FSTi = "FindingStatisticType" -_CBS_ = "COUNT_BY_SEVERITY" -_FSTin = "FindingStatisticTypes" -_GAAI = "GetAdministratorAccountInput" -_cGAAR = "com.amazonaws.guardduty#GetAdministratorAccountRequest" -_GAAO = "GetAdministratorAccountOutput" -_cGAARo = "com.amazonaws.guardduty#GetAdministratorAccountResponse" -_ad = "administrator" -_GAA = "GetAdministratorAccount" -_GCSI = "GetCoverageStatisticsInput" -_cGCSR = "com.amazonaws.guardduty#GetCoverageStatisticsRequest" -_STt = "StatisticsType" -_sTt = "statisticsType" -_GCSO = "GetCoverageStatisticsOutput" -_cGCSRo = "com.amazonaws.guardduty#GetCoverageStatisticsResponse" -_cSo = "coverageStatistics" -_GCS = "GetCoverageStatistics" -_GCDRI = "GetCustomDetectionRuleInput" -_cGCDRR = "com.amazonaws.guardduty#GetCustomDetectionRuleRequest" -_RE = "RuleExpression" -_RDul = "RuleDefinition" -_Ex = "Expression" -_ex = "expression" -_RL = "RuleLanguage" -_SQL = "SQL" -_RNu = "RuleName" -_RSu = "RuleSchema" -_MTi = "MitreTactic" -_MTit = "MitreTechnique" -_RDule = "RuleDetail" -_Tac = "Tactic" -_Tec = "Technique" -_Def = "Definition" -_def = "definition" -_Lan = "Language" -_la = "language" -_Sch = "Schema" -_sch = "schema" -_RMD = "RuntimeMonitoringDetails" -_rMD = "runtimeMonitoringDetails" -_GCDRO = "GetCustomDetectionRuleOutput" -_cGCDRRo = "com.amazonaws.guardduty#GetCustomDetectionRuleResponse" -_Ru = "Rule" -_ru = "rule" -_GCDR = "GetCustomDetectionRule" -_GCDRAI = "GetCustomDetectionRuleAssociationInput" -_cGCDRAR = "com.amazonaws.guardduty#GetCustomDetectionRuleAssociationRequest" -_GCDRAO = "GetCustomDetectionRuleAssociationOutput" -_cGCDRARo = "com.amazonaws.guardduty#GetCustomDetectionRuleAssociationResponse" -_GCDRA = "GetCustomDetectionRuleAssociation" -_GCDROCI = "GetCustomDetectionRuleOrgConfigurationInput" -_cGCDROCR = "com.amazonaws.guardduty#GetCustomDetectionRuleOrgConfigurationRequest" -_GCDROCO = "GetCustomDetectionRuleOrgConfigurationOutput" -_cGCDROCRo = "com.amazonaws.guardduty#GetCustomDetectionRuleOrgConfigurationResponse" -_Conf = "Configuration" -_conf = "configuration" -_GCDROC = "GetCustomDetectionRuleOrgConfiguration" -_GDI = "GetDetectorInput" -_cGDR = "com.amazonaws.guardduty#GetDetectorRequest" -_GDO = "GetDetectorOutput" -_cGDRo = "com.amazonaws.guardduty#GetDetectorResponse" -_GD = "GetDetector" -_GFIe = "GetFilterInput" -_cGFR = "com.amazonaws.guardduty#GetFilterRequest" -_GFO = "GetFilterOutput" -_cGFRo = "com.amazonaws.guardduty#GetFilterResponse" -_GF = "GetFilter" -_GFIet = "GetFindingsInput" -_cGFRom = "com.amazonaws.guardduty#GetFindingsRequest" -_GFOe = "GetFindingsOutput" -_cGFRoma = "com.amazonaws.guardduty#GetFindingsResponse" -_fin = "findings" -_GFe = "GetFindings" -_GBT = "GroupByType" -_ACCOUNT = "ACCOUNT" -_DATE = "DATE" -_FT_ = "FINDING_TYPE" -_RESOURCE = "RESOURCE" -_MRa = "MaxResults100" -_GFSI = "GetFindingsStatisticsInput" -_cGFSR = "com.amazonaws.guardduty#GetFindingsStatisticsRequest" -_fSTi = "findingStatisticTypes" -_GB = "GroupBy" -_gB = "groupBy" -_GFSO = "GetFindingsStatisticsOutput" -_cGFSRo = "com.amazonaws.guardduty#GetFindingsStatisticsResponse" -_fS = "findingStatistics" -_GFS = "GetFindingsStatistics" -_GII = "GetInvestigationInput" -_cGIR = "com.amazonaws.guardduty#GetInvestigationRequest" -_IED = "InvestigationErrorDetails" -_Prod = "Product" -_Fea = "Feature" -_fe = "feature" -_IM = "InvestigationMetadata" -_prod = "product" -_RDi = "RiskDetails" -_RLi = "RiskLevel" -_INFO = "INFO" -_Inf = "Info" -_Cri = "Critical" -_ISn = "InvestigationStatus" -_TBr = "TriggeredBy" -_Inv = "Investigation" -_tBr = "triggeredBy" -_Met = "Metadata" -_met = "metadata" -_Cl = "Cloud" -_cl = "cloud" -_rL = "riskLevel" -_Ri = "Risk" -_ri = "risk" -_Sum = "Summary" -_sum = "summary" -_GIO = "GetInvestigationOutput" -_cGIRo = "com.amazonaws.guardduty#GetInvestigationResponse" -_in = "investigation" -_GIe = "GetInvestigation" -_GICI = "GetInvitationsCountInput" -_cGICR = "com.amazonaws.guardduty#GetInvitationsCountRequest" -_GICO = "GetInvitationsCountOutput" -_cGICRo = "com.amazonaws.guardduty#GetInvitationsCountResponse" -_ICn = "InvitationsCount" -_iCn = "invitationsCount" -_GIC = "GetInvitationsCount" -_GIPSI = "GetIPSetInput" -_cGIPSR = "com.amazonaws.guardduty#GetIPSetRequest" -_ISS = "IpSetStatus" -_ACTIVATING = "ACTIVATING" -_DEACTIVATING = "DEACTIVATING" -_ERROR = "ERROR" -_DP_ = "DELETE_PENDING" -_DELETED = "DELETED" -_GIPSO = "GetIPSetOutput" -_cGIPSRo = "com.amazonaws.guardduty#GetIPSetResponse" -_GIPS = "GetIPSet" -_GMPPI = "GetMalwareProtectionPlanInput" -_cGMPPR = "com.amazonaws.guardduty#GetMalwareProtectionPlanRequest" -_MPPS = "MalwareProtectionPlanStatus" -_WARNING = "WARNING" -_MPPSR = "MalwareProtectionPlanStatusReason" -_cod = "code" -_MPPSRL = "MalwareProtectionPlanStatusReasonsList" -_GMPPO = "GetMalwareProtectionPlanOutput" -_cGMPPRo = "com.amazonaws.guardduty#GetMalwareProtectionPlanResponse" -_SRta = "StatusReasons" -_sRta = "statusReasons" -_GMPP = "GetMalwareProtectionPlan" -_GMSI = "GetMalwareScanInput" -_cGMSR = "com.amazonaws.guardduty#GetMalwareScanRequest" -_NNI = "NonNegativeInteger" -_MPRT = "MalwareProtectionResourceType" -_ERP = "EBS_RECOVERY_POINT" -_ES_ = "EBS_SNAPSHOT" -_EV__ = "EBS_VOLUME" -_EA_ = "EC2_AMI" -_ERP_ = "EC2_RECOVERY_POINT" -_SRP = "S3_RECOVERY_POINT" -_SPITR = "S3_POINT_IN_TIME_RECOVERY" -_SCRP = "ScanConfigurationRecoveryPoint" -_RP = "RecoveryPoint" -_rP = "recoveryPoint" -_SRDc = "ScannedResourceDetails" -_EVb = "EbsVolume" -_eVb = "ebsVolume" -_eSb = "ebsSnapshot" -_MPSS = "MalwareProtectionScanStatus" -_CWI = "COMPLETED_WITH_ISSUES" -_SSR = "ScanStatusReason" -_AD_ = "ACCESS_DENIED" -_RNF = "RESOURCE_NOT_FOUND" -_SSLE = "SNAPSHOT_SIZE_LIMIT_EXCEEDED" -_RU_ = "RESOURCE_UNAVAILABLE" -_IS__ = "INCONSISTENT_SOURCE" -_IND = "INCREMENTAL_NO_DIFFERENCE" -_NEVF = "NO_EBS_VOLUMES_FOUND" -_UPCT = "UNSUPPORTED_PRODUCT_CODE_TYPE" -_ASLE = "AMI_SNAPSHOT_LIMIT_EXCEEDED" -_UR = "UNRELATED_RESOURCES" -_BRNS = "BASE_RESOURCE_NOT_SCANNED" -_BCAT = "BASE_CREATED_AFTER_TARGET" -_UFI = "UNSUPPORTED_FOR_INCREMENTAL" -_UA__ = "UNSUPPORTED_AMI" -_US = "UNSUPPORTED_SNAPSHOT" -_UCRP = "UNSUPPORTED_COMPOSITE_RECOVERY_POINT" -_AFSOF = "ALL_FILES_SKIPPED_OR_FAILED" -_SRca = "ScannedResource" -_SRA = "ScannedResourceArn" -_sRA = "scannedResourceArn" -_SRT = "ScannedResourceType" -_sRT = "scannedResourceType" -_SRS = "ScannedResourceStatus" -_sRS = "scannedResourceStatus" -_sSR = "scanStatusReason" -_SRcan = "ScannedResources" -_SRSc = "ScanResultStatus" -_NTF = "NO_THREATS_FOUND" -_TF_ = "THREATS_FOUND" -_SRTc = "ScanResultThreat" -_SRTca = "ScanResultThreats" -_GMSRD = "GetMalwareScanResultDetails" -_sRSc = "scanResultStatus" -_SFC = "SkippedFileCount" -_sFC = "skippedFileCount" -_FFC = "FailedFileCount" -_fFC = "failedFileCount" -_TFFC = "ThreatFoundFileCount" -_tFFC = "threatFoundFileCount" -_TFC = "TotalFileCount" -_tFC = "totalFileCount" -_GMSO = "GetMalwareScanOutput" -_cGMSRo = "com.amazonaws.guardduty#GetMalwareScanResponse" -_SRC = "ScannedResourcesCount" -_sRC = "scannedResourcesCount" -_SRCk = "SkippedResourcesCount" -_sRCk = "skippedResourcesCount" -_FRC = "FailedResourcesCount" -_fRC = "failedResourcesCount" -_sRca = "scannedResources" -_GMS = "GetMalwareScan" -_GMSSI = "GetMalwareScanSettingsInput" -_cGMSSR = "com.amazonaws.guardduty#GetMalwareScanSettingsRequest" -_SCK = "ScanCriterionKey" -_EIT = "EC2_INSTANCE_TAG" -_SCP = "ScanConditionPair" -_ME = "MapEquals" -_SCcan = "ScanCondition" -_mE = "mapEquals" -_SCcanr = "ScanCriterion" -_SRCc = "ScanResourceCriteria" -_Inc = "Include" -_inc = "include" -_Exc = "Exclude" -_exc = "exclude" -_GMSSO = "GetMalwareScanSettingsOutput" -_cGMSSRo = "com.amazonaws.guardduty#GetMalwareScanSettingsResponse" -_sRCc = "scanResourceCriteria" -_eSP = "ebsSnapshotPreservation" -_GMSS = "GetMalwareScanSettings" -_GMAI = "GetMasterAccountInput" -_cGMAR = "com.amazonaws.guardduty#GetMasterAccountRequest" -_Mas = "Master" -_GMAO = "GetMasterAccountOutput" -_cGMARo = "com.amazonaws.guardduty#GetMasterAccountResponse" -_mas = "master" -_GMA = "GetMasterAccount" -_GMDI = "GetMemberDetectorsInput" -_cGMDR = "com.amazonaws.guardduty#GetMemberDetectorsRequest" -_MACR = "MemberAdditionalConfigurationResult" -_MACRe = "MemberAdditionalConfigurationResults" -_MFCR = "MemberFeaturesConfigurationResult" -_MFCRe = "MemberFeaturesConfigurationsResults" -_MDSC = "MemberDataSourceConfiguration" -_MDSCe = "MemberDataSourceConfigurations" -_GMDO = "GetMemberDetectorsOutput" -_cGMDRo = "com.amazonaws.guardduty#GetMemberDetectorsResponse" -_mem = "members" -_GMD = "GetMemberDetectors" -_GMI = "GetMembersInput" -_cGMR = "com.amazonaws.guardduty#GetMembersRequest" -_Mem = "Member" -_Memb = "Members" -_GMO = "GetMembersOutput" -_cGMRo = "com.amazonaws.guardduty#GetMembersResponse" -_GM = "GetMembers" -_GOSI = "GetOrganizationStatisticsInput" -_OFSAC = "OrganizationFeatureStatisticsAdditionalConfiguration" -_EAC = "EnabledAccountsCount" -_eAC = "enabledAccountsCount" -_OFSACr = "OrganizationFeatureStatisticsAdditionalConfigurations" -_OFSr = "OrganizationFeatureStatistics" -_OFSR = "OrganizationFeatureStatisticsResults" -_OS = "OrganizationStatistics" -_TAC = "TotalAccountsCount" -_tAC = "totalAccountsCount" -_MAC = "MemberAccountsCount" -_mAC = "memberAccountsCount" -_AAC = "ActiveAccountsCount" -_aAC = "activeAccountsCount" -_CBF = "CountByFeature" -_cBF = "countByFeature" -_ODr = "OrganizationDetails" -_oS = "organizationStatistics" -_GOSO = "GetOrganizationStatisticsOutput" -_cGOSR = "com.amazonaws.guardduty#GetOrganizationStatisticsResponse" -_oD = "organizationDetails" -_GOS = "GetOrganizationStatistics" -_GRFTDI = "GetRemainingFreeTrialDaysInput" -_cGRFTDR = "com.amazonaws.guardduty#GetRemainingFreeTrialDaysRequest" -_GRFTDO = "GetRemainingFreeTrialDaysOutput" -_cGRFTDRo = "com.amazonaws.guardduty#GetRemainingFreeTrialDaysResponse" -_Acc = "Accounts" -_acc = "accounts" -_GRFTD = "GetRemainingFreeTrialDays" -_GTESI = "GetThreatEntitySetInput" -_cGTESR = "com.amazonaws.guardduty#GetThreatEntitySetRequest" -_TESS = "ThreatEntitySetStatus" -_GTESO = "GetThreatEntitySetOutput" -_cGTESRo = "com.amazonaws.guardduty#GetThreatEntitySetResponse" -_ED = "ErrorDetails" -_eD = "errorDetails" -_GTES = "GetThreatEntitySet" -_GTISI = "GetThreatIntelSetInput" -_cGTISR = "com.amazonaws.guardduty#GetThreatIntelSetRequest" -_TISS = "ThreatIntelSetStatus" -_GTISO = "GetThreatIntelSetOutput" -_cGTISRo = "com.amazonaws.guardduty#GetThreatIntelSetResponse" -_GTIS = "GetThreatIntelSet" -_GTESIe = "GetTrustedEntitySetInput" -_cGTESRom = "com.amazonaws.guardduty#GetTrustedEntitySetRequest" -_TESSr = "TrustedEntitySetStatus" -_GTESOe = "GetTrustedEntitySetOutput" -_cGTESRoma = "com.amazonaws.guardduty#GetTrustedEntitySetResponse" -_GTESe = "GetTrustedEntitySet" -_UFs = "UsageFeature" -_RDPP = "RDS_DBI_PROTECTION_PROVISIONED" -_RDPS = "RDS_DBI_PROTECTION_SERVERLESS" -_RDPL = "RDS_DBI_PROTECTION_LIMITLESS" -_RDADPP = "RDS_DATA_ACTIVITY_DBI_PROTECTION_PROVISIONED" -_RDADPS = "RDS_DATA_ACTIVITY_DBI_PROTECTION_SERVERLESS" -_RDADPL = "RDS_DATA_ACTIVITY_DBI_PROTECTION_LIMITLESS" -_UFL = "UsageFeatureList" -_RLe = "ResourceList" -_UC = "UsageCriteria" -_UST = "UsageStatisticType" -_SBA = "SUM_BY_ACCOUNT" -_SBDS = "SUM_BY_DATA_SOURCE" -_SBR = "SUM_BY_RESOURCE" -_TR = "TOP_RESOURCES" -_SBF = "SUM_BY_FEATURES" -_TABF = "TOP_ACCOUNTS_BY_FEATURE" -_GUSI = "GetUsageStatisticsInput" -_cGUSR = "com.amazonaws.guardduty#GetUsageStatisticsRequest" -_uST = "usageStatisticsType" -_uC = "usageCriteria" -_Uni = "Unit" -_uni = "unit" -_To = "Total" -_Am = "Amount" -_am = "amount" -_UAR = "UsageAccountResult" -_to = "total" -_UARL = "UsageAccountResultList" -_UDSRs = "UsageDataSourceResult" -_UDSRL = "UsageDataSourceResultList" -_UFR = "UsageFeatureResult" -_UFRL = "UsageFeatureResultList" -_URR = "UsageResourceResult" -_URRL = "UsageResourceResultList" -_UTAR = "UsageTopAccountResult" -_UTABFL = "UsageTopAccountsByFeatureList" -_UTARs = "UsageTopAccountsResult" -_UTARL = "UsageTopAccountsResultList" -_USs = "UsageStatistics" -_SBAu = "SumByAccount" -_sBA = "sumByAccount" -_TABFo = "TopAccountsByFeature" -_tABF = "topAccountsByFeature" -_SBDSu = "SumByDataSource" -_sBDS = "sumByDataSource" -_SBRu = "SumByResource" -_sBR = "sumByResource" -_TRo = "TopResources" -_tR = "topResources" -_SBFu = "SumByFeature" -_sBF = "sumByFeature" -_GUSO = "GetUsageStatisticsOutput" -_cGUSRo = "com.amazonaws.guardduty#GetUsageStatisticsResponse" -_uS = "usageStatistics" -_GUS = "GetUsageStatistics" -_IMI = "InviteMembersInput" -_cIMR = "com.amazonaws.guardduty#InviteMembersRequest" -_DEN = "DisableEmailNotification" -_dEN = "disableEmailNotification" -_IMO = "InviteMembersOutput" -_cIMRo = "com.amazonaws.guardduty#InviteMembersResponse" -_IMn = "InviteMembers" -_LCI = "ListCoverageInput" -_cLCR = "com.amazonaws.guardduty#ListCoverageRequest" -_LCO = "ListCoverageOutput" -_cLCRo = "com.amazonaws.guardduty#ListCoverageResponse" -_LC = "ListCoverage" -_LCDRAI = "ListCustomDetectionRuleAssociationsInput" -_cLCDRAR = "com.amazonaws.guardduty#ListCustomDetectionRuleAssociationsRequest" -_LCDRAO = "ListCustomDetectionRuleAssociationsOutput" -_cLCDRARo = "com.amazonaws.guardduty#ListCustomDetectionRuleAssociationsResponse" -_RAu = "RuleAssociations" -_rAu = "ruleAssociations" -_LCDRA = "ListCustomDetectionRuleAssociations" -_LCDROCI = "ListCustomDetectionRuleOrgConfigurationsInput" -_cLCDROCR = "com.amazonaws.guardduty#ListCustomDetectionRuleOrgConfigurationsRequest" -_LCDROCO = "ListCustomDetectionRuleOrgConfigurationsOutput" -_cLCDROCRo = "com.amazonaws.guardduty#ListCustomDetectionRuleOrgConfigurationsResponse" -_Confi = "Configurations" -_confi = "configurations" -_LCDROC = "ListCustomDetectionRuleOrgConfigurations" -_LCDRI = "ListCustomDetectionRulesInput" -_cLCDRR = "com.amazonaws.guardduty#ListCustomDetectionRulesRequest" -_Fil = "Filters" -_fil = "filters" -_RSul = "RuleSummary" -_RSL = "RuleSummaryList" -_LCDRO = "ListCustomDetectionRulesOutput" -_cLCDRRo = "com.amazonaws.guardduty#ListCustomDetectionRulesResponse" -_Rul = "Rules" -_rul = "rules" -_LCDR = "ListCustomDetectionRules" -_LDI = "ListDetectorsInput" -_cLDR = "com.amazonaws.guardduty#ListDetectorsRequest" -_LDO = "ListDetectorsOutput" -_cLDRo = "com.amazonaws.guardduty#ListDetectorsResponse" -_dIet = "detectorIds" -_LDi = "ListDetectors" -_LFI = "ListFiltersInput" -_cLFR = "com.amazonaws.guardduty#ListFiltersRequest" -_LFO = "ListFiltersOutput" -_cLFRo = "com.amazonaws.guardduty#ListFiltersResponse" -_fNi = "filterNames" -_LF = "ListFilters" -_LFIi = "ListFindingsInput" -_cLFRom = "com.amazonaws.guardduty#ListFindingsRequest" -_LFOi = "ListFindingsOutput" -_cLFRoma = "com.amazonaws.guardduty#ListFindingsResponse" -_LFi = "ListFindings" -_ISFn = "InvestigationSortField" -_ST__ = "START_TIME" -_ET__ = "END_TIME" -_STATUS = "STATUS" -_RL_ = "RISK_LEVEL" -_CONFIDENCE = "CONFIDENCE" -_ISC = "InvestigationSortCriteria" -_LII = "ListInvestigationsInput" -_cLIR = "com.amazonaws.guardduty#ListInvestigationsRequest" -_ITnv = "InvestigationTitle" -_ISnv = "InvestigationSummary" -_ISnve = "InvestigationSummaries" -_LIO = "ListInvestigationsOutput" -_cLIRo = "com.amazonaws.guardduty#ListInvestigationsResponse" -_Inve = "Investigations" -_inv = "investigations" -_LI = "ListInvestigations" -_LIIi = "ListInvitationsInput" -_cLIRom = "com.amazonaws.guardduty#ListInvitationsRequest" -_Invi = "Invitation" -_Invit = "Invitations" -_LIOi = "ListInvitationsOutput" -_cLIRoma = "com.amazonaws.guardduty#ListInvitationsResponse" -_invi = "invitations" -_LIi = "ListInvitations" -_LIPSI = "ListIPSetsInput" -_cLIPSR = "com.amazonaws.guardduty#ListIPSetsRequest" -_ISIp = "IpSetIds" -_LIPSO = "ListIPSetsOutput" -_cLIPSRo = "com.amazonaws.guardduty#ListIPSetsResponse" -_iSIp = "ipSetIds" -_LIPS = "ListIPSets" -_LMPPI = "ListMalwareProtectionPlansInput" -_cLMPPR = "com.amazonaws.guardduty#ListMalwareProtectionPlansRequest" -_MPPSa = "MalwareProtectionPlanSummary" -_MPPSal = "MalwareProtectionPlansSummary" -_LMPPO = "ListMalwareProtectionPlansOutput" -_cLMPPRo = "com.amazonaws.guardduty#ListMalwareProtectionPlansResponse" -_MPP = "MalwareProtectionPlans" -_mPP = "malwareProtectionPlans" -_LMPP = "ListMalwareProtectionPlans" -_LMSCK = "ListMalwareScansCriterionKey" -_RA_ = "RESOURCE_ARN" -_LMSFC = "ListMalwareScansFilterCriterion" -_LMSFCL = "ListMalwareScansFilterCriterionList" -_LMSFCi = "ListMalwareScansFilterCriteria" -_LMSI = "ListMalwareScansInput" -_cLMSR = "com.amazonaws.guardduty#ListMalwareScansRequest" -_MSa = "MalwareScan" -_MSal = "MalwareScans" -_LMSO = "ListMalwareScansOutput" -_cLMSRo = "com.amazonaws.guardduty#ListMalwareScansResponse" -_LMS = "ListMalwareScans" -_LMI = "ListMembersInput" -_cLMR = "com.amazonaws.guardduty#ListMembersRequest" -_OAn = "OnlyAssociated" -_oAn = "onlyAssociated" -_LMO = "ListMembersOutput" -_cLMRo = "com.amazonaws.guardduty#ListMembersResponse" -_LM = "ListMembers" -_LOAAI = "ListOrganizationAdminAccountsInput" -_cLOAAR = "com.amazonaws.guardduty#ListOrganizationAdminAccountsRequest" -_LOAAO = "ListOrganizationAdminAccountsOutput" -_cLOAARo = "com.amazonaws.guardduty#ListOrganizationAdminAccountsResponse" -_aA = "adminAccounts" -_LOAA = "ListOrganizationAdminAccounts" -_LPDI = "ListPublishingDestinationsInput" -_cLPDR = "com.amazonaws.guardduty#ListPublishingDestinationsRequest" -_LPDO = "ListPublishingDestinationsOutput" -_cLPDRo = "com.amazonaws.guardduty#ListPublishingDestinationsResponse" -_des = "destinations" -_LPDi = "ListPublishingDestinations" -_GDA = "GuardDutyArn" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.guardduty#ListTagsForResourceRequest" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.guardduty#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_LTESI = "ListThreatEntitySetsInput" -_cLTESR = "com.amazonaws.guardduty#ListThreatEntitySetsRequest" -_TESIh = "ThreatEntitySetIds" -_LTESO = "ListThreatEntitySetsOutput" -_cLTESRo = "com.amazonaws.guardduty#ListThreatEntitySetsResponse" -_tESIh = "threatEntitySetIds" -_LTES = "ListThreatEntitySets" -_LTISI = "ListThreatIntelSetsInput" -_cLTISR = "com.amazonaws.guardduty#ListThreatIntelSetsRequest" -_TISIh = "ThreatIntelSetIds" -_LTISO = "ListThreatIntelSetsOutput" -_cLTISRo = "com.amazonaws.guardduty#ListThreatIntelSetsResponse" -_tISIh = "threatIntelSetIds" -_LTIS = "ListThreatIntelSets" -_LTESIi = "ListTrustedEntitySetsInput" -_cLTESRom = "com.amazonaws.guardduty#ListTrustedEntitySetsRequest" -_TESIru = "TrustedEntitySetIds" -_LTESOi = "ListTrustedEntitySetsOutput" -_cLTESRoma = "com.amazonaws.guardduty#ListTrustedEntitySetsResponse" -_tESIru = "trustedEntitySetIds" -_LTESi = "ListTrustedEntitySets" -_SOFSOMS = "S3ObjectForSendObjectMalwareScan" -_Bu = "Bucket" -_bu = "bucket" -_SOMSI = "SendObjectMalwareScanInput" -_cSOMSR = "com.amazonaws.guardduty#SendObjectMalwareScanRequest" -_SOMSO = "SendObjectMalwareScanOutput" -_cSOMSRo = "com.amazonaws.guardduty#SendObjectMalwareScanResponse" -_SOMS = "SendObjectMalwareScan" -_SMSC = "StartMalwareScanConfiguration" -_SMSI = "StartMalwareScanInput" -_cSMSR = "com.amazonaws.guardduty#StartMalwareScanRequest" -_SMSO = "StartMalwareScanOutput" -_cSMSRo = "com.amazonaws.guardduty#StartMalwareScanResponse" -_SMS = "StartMalwareScan" -_SMMI = "StartMonitoringMembersInput" -_cSMMR = "com.amazonaws.guardduty#StartMonitoringMembersRequest" -_SMMO = "StartMonitoringMembersOutput" -_cSMMRo = "com.amazonaws.guardduty#StartMonitoringMembersResponse" -_SMM = "StartMonitoringMembers" -_SMMIt = "StopMonitoringMembersInput" -_cSMMRom = "com.amazonaws.guardduty#StopMonitoringMembersRequest" -_SMMOt = "StopMonitoringMembersOutput" -_cSMMRoma = "com.amazonaws.guardduty#StopMonitoringMembersResponse" -_SMMt = "StopMonitoringMembers" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.guardduty#TagResourceRequest" -_TRO = "TagResourceOutput" -_cTRRo = "com.amazonaws.guardduty#TagResourceResponse" -_TRa = "TagResource" -_UFIn = "UnarchiveFindingsInput" -_cUFR = "com.amazonaws.guardduty#UnarchiveFindingsRequest" -_UFO = "UnarchiveFindingsOutput" -_cUFRo = "com.amazonaws.guardduty#UnarchiveFindingsResponse" -_UFn = "UnarchiveFindings" -_TKL = "TagKeyList" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.guardduty#UntagResourceRequest" -_TKa = "TagKeys" -_tK = "tagKeys" -_URO = "UntagResourceOutput" -_cURRo = "com.amazonaws.guardduty#UntagResourceResponse" -_URn = "UntagResource" -_UCDRAI = "UpdateCustomDetectionRuleAssociationInput" -_cUCDRAR = "com.amazonaws.guardduty#UpdateCustomDetectionRuleAssociationRequest" -_UCDRAO = "UpdateCustomDetectionRuleAssociationOutput" -_cUCDRARo = "com.amazonaws.guardduty#UpdateCustomDetectionRuleAssociationResponse" -_UCDRA = "UpdateCustomDetectionRuleAssociation" -_UCDROCI = "UpdateCustomDetectionRuleOrgConfigurationInput" -_cUCDROCR = "com.amazonaws.guardduty#UpdateCustomDetectionRuleOrgConfigurationRequest" -_UCDROCO = "UpdateCustomDetectionRuleOrgConfigurationOutput" -_cUCDROCRo = "com.amazonaws.guardduty#UpdateCustomDetectionRuleOrgConfigurationResponse" -_UCDROC = "UpdateCustomDetectionRuleOrgConfiguration" -_UDI = "UpdateDetectorInput" -_cUDR = "com.amazonaws.guardduty#UpdateDetectorRequest" -_UDO = "UpdateDetectorOutput" -_cUDRo = "com.amazonaws.guardduty#UpdateDetectorResponse" -_UD = "UpdateDetector" -_UFIp = "UpdateFilterInput" -_cUFRom = "com.amazonaws.guardduty#UpdateFilterRequest" -_UFOp = "UpdateFilterOutput" -_cUFRoma = "com.amazonaws.guardduty#UpdateFilterResponse" -_UFp = "UpdateFilter" -_UFFI = "UpdateFindingsFeedbackInput" -_cUFFR = "com.amazonaws.guardduty#UpdateFindingsFeedbackRequest" -_fee = "feedback" -_Com = "Comments" -_com = "comments" -_UFFO = "UpdateFindingsFeedbackOutput" -_cUFFRo = "com.amazonaws.guardduty#UpdateFindingsFeedbackResponse" -_UFF = "UpdateFindingsFeedback" -_UIPSI = "UpdateIPSetInput" -_cUIPSR = "com.amazonaws.guardduty#UpdateIPSetRequest" -_UIPSO = "UpdateIPSetOutput" -_cUIPSRo = "com.amazonaws.guardduty#UpdateIPSetResponse" -_UIPS = "UpdateIPSet" -_USBR = "UpdateS3BucketResource" -_UPR = "UpdateProtectedResource" -_UMPPI = "UpdateMalwareProtectionPlanInput" -_cUMPPR = "com.amazonaws.guardduty#UpdateMalwareProtectionPlanRequest" -_UMPPO = "UpdateMalwareProtectionPlanOutput" -_UMPP = "UpdateMalwareProtectionPlan" -_UMSSI = "UpdateMalwareScanSettingsInput" -_cUMSSR = "com.amazonaws.guardduty#UpdateMalwareScanSettingsRequest" -_UMSSO = "UpdateMalwareScanSettingsOutput" -_cUMSSRo = "com.amazonaws.guardduty#UpdateMalwareScanSettingsResponse" -_UMSS = "UpdateMalwareScanSettings" -_MACe = "MemberAdditionalConfiguration" -_MACem = "MemberAdditionalConfigurations" -_MFC = "MemberFeaturesConfiguration" -_MFCe = "MemberFeaturesConfigurations" -_UMDI = "UpdateMemberDetectorsInput" -_cUMDR = "com.amazonaws.guardduty#UpdateMemberDetectorsRequest" -_UMDO = "UpdateMemberDetectorsOutput" -_cUMDRo = "com.amazonaws.guardduty#UpdateMemberDetectorsResponse" -_UMD = "UpdateMemberDetectors" -_OKALC = "OrganizationKubernetesAuditLogsConfiguration" -_OKC = "OrganizationKubernetesConfiguration" -_OEV = "OrganizationEbsVolumes" -_OSEIWF = "OrganizationScanEc2InstanceWithFindings" -_OMPC = "OrganizationMalwareProtectionConfiguration" -_OSLC = "OrganizationS3LogsConfiguration" -_ODSC = "OrganizationDataSourceConfigurations" -_OAC = "OrganizationAdditionalConfiguration" -_OACr = "OrganizationAdditionalConfigurations" -_OFC = "OrganizationFeatureConfiguration" -_OFCr = "OrganizationFeaturesConfigurations" -_UOCI = "UpdateOrganizationConfigurationInput" -_cUOCR = "com.amazonaws.guardduty#UpdateOrganizationConfigurationRequest" -_UOCO = "UpdateOrganizationConfigurationOutput" -_cUOCRo = "com.amazonaws.guardduty#UpdateOrganizationConfigurationResponse" -_UOC = "UpdateOrganizationConfiguration" -_UPDI = "UpdatePublishingDestinationInput" -_cUPDR = "com.amazonaws.guardduty#UpdatePublishingDestinationRequest" -_UPDO = "UpdatePublishingDestinationOutput" -_cUPDRo = "com.amazonaws.guardduty#UpdatePublishingDestinationResponse" -_UPD = "UpdatePublishingDestination" -_UTESI = "UpdateThreatEntitySetInput" -_cUTESR = "com.amazonaws.guardduty#UpdateThreatEntitySetRequest" -_UTESO = "UpdateThreatEntitySetOutput" -_cUTESRo = "com.amazonaws.guardduty#UpdateThreatEntitySetResponse" -_UTES = "UpdateThreatEntitySet" -_UTISI = "UpdateThreatIntelSetInput" -_cUTISR = "com.amazonaws.guardduty#UpdateThreatIntelSetRequest" -_UTISO = "UpdateThreatIntelSetOutput" -_cUTISRo = "com.amazonaws.guardduty#UpdateThreatIntelSetResponse" -_UTIS = "UpdateThreatIntelSet" -_UTESIp = "UpdateTrustedEntitySetInput" -_cUTESRom = "com.amazonaws.guardduty#UpdateTrustedEntitySetRequest" -_UTESOp = "UpdateTrustedEntitySetOutput" -_cUTESRoma = "com.amazonaws.guardduty#UpdateTrustedEntitySetResponse" -_UTESp = "UpdateTrustedEntitySet" -_GDAPIS = "GuardDutyAPIService" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" - -STRING: StaticSchema = (3, n0, _S, 0) - -DETECTOR_ID: StaticSchema = (3, n0, _DI, 0) - -ACCEPT_ADMINISTRATOR_INVITATION_INPUT: StaticSchema = ( - 18, - n0, - _AAII, - {_sSI: _cAAIR, _s: None}, - (_DI, _AI, _II), - ( - (DETECTOR_ID, 9), - (STRING, {_sN: _aI, _sm: None}), - (STRING, {_sN: _iI, _sm: None}), - ), -) - -ACCEPT_ADMINISTRATOR_INVITATION_OUTPUT: StaticSchema = ( - 18, - n0, - _AAIO, - {_sSI: _cAAIRo, _smi: None}, -) - -BAD_REQUEST_EXCEPTION: StaticSchema = ( - 18, - n0, - _BRE, - {_smit: _c, _sE: 400}, - (_M, _T), - ((STRING, {_sN: _m}), (STRING, {_sN: _t})), -) - -INTERNAL_SERVER_ERROR_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISEE, - {_smit: _se, _sE: 500}, - (_M, _T), - ((STRING, {_sN: _m}), (STRING, {_sN: _t})), -) - -ACCEPT_ADMINISTRATOR_INVITATION: StaticOperationSchema = ( - 23, - n0, - _AAI, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/administrator", - "code": 200, - } - ) - }, - ACCEPT_ADMINISTRATOR_INVITATION_INPUT, - ACCEPT_ADMINISTRATOR_INVITATION_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -ACCEPT_INVITATION_INPUT: StaticSchema = ( - 18, - n0, - _AII, - {_sSI: _cAIR, _s: None}, - (_DI, _MI, _II), - ( - (DETECTOR_ID, 9), - (STRING, {_sN: _mI, _sm: None}), - (STRING, {_sN: _iI, _sm: None}), - ), -) - -ACCEPT_INVITATION_OUTPUT: StaticSchema = (18, n0, _AIO, {_sSI: _cAIRo, _smi: None}) - -ACCEPT_INVITATION: StaticOperationSchema = ( - 23, - n0, - _AIc, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}/master", "code": 200} - ) - }, - ACCEPT_INVITATION_INPUT, - ACCEPT_INVITATION_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -BOOLEAN: StaticSchema = (2, n0, _B, 0) - -ACCESS_CONTROL_LIST: StaticSchema = ( - 18, - n0, - _ACL, - 0, - (_APRA, _APWA), - ((BOOLEAN, {_sN: _aPRA}), (BOOLEAN, {_sN: _aPWA})), -) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_smit: _c, _sE: 403}, - (_M, _T), - ((STRING, {_sN: _m}), (STRING, {_sN: _t})), -) - -ACCESS_KEY: StaticSchema = ( - 18, - n0, - _AK, - 0, - (_PI, _UN, _UT), - ((STRING, {_sN: _pI}), (STRING, {_sN: _uN}), (STRING, {_sN: _uT})), -) - -ACCESS_KEY_DETAILS: StaticSchema = ( - 18, - n0, - _AKD, - 0, - (_AKI, _PI, _UN, _UT), - ( - (STRING, {_sN: _aKI}), - (STRING, {_sN: _pI}), - (STRING, {_sN: _uN}), - (STRING, {_sN: _uT}), - ), -) - -ACCOUNT: StaticSchema = ( - 18, - n0, - _A, - 0, - (_U, _N), - ((STRING, {_sN: _u, _sm: None}), (STRING, {_sN: _a})), -) - -ACCOUNT_ID: StaticSchema = (3, n0, _AIcc, 0) - -EMAIL: StaticSchema = (3, n0, _E, 4) - -ACCOUNT_DETAIL: StaticSchema = ( - 18, - n0, - _AD, - 0, - (_AIcc, _E), - ((ACCOUNT_ID, {_sN: _aIc, _sm: None}), (EMAIL, {_sN: _e, _sm: None})), -) - -ACCOUNT_DETAILS: StaticSchema = (16, n0, _ADc, 0, (_me,), ((ACCOUNT_DETAIL, 0),)) - -INTEGER: StaticSchema = (7, n0, _I, 0) - -DATA_SOURCE_FREE_TRIAL: StaticSchema = ( - 18, - n0, - _DSFT, - 0, - (_FTDR,), - ((INTEGER, {_sN: _fTDR}),), -) - -KUBERNETES_DATA_SOURCE_FREE_TRIAL: StaticSchema = ( - 18, - n0, - _KDSFT, - 0, - (_AL,), - ((DATA_SOURCE_FREE_TRIAL, {_sN: _aL}),), -) - -MALWARE_PROTECTION_DATA_SOURCE_FREE_TRIAL: StaticSchema = ( - 18, - n0, - _MPDSFT, - 0, - (_SEIWF,), - ((DATA_SOURCE_FREE_TRIAL, {_sN: _sEIWF}),), -) - -DATA_SOURCES_FREE_TRIAL: StaticSchema = ( - 18, - n0, - _DSFTa, - 0, - (_CT, _DL, _FL, _SL, _K, _MP), - ( - (DATA_SOURCE_FREE_TRIAL, {_sN: _cT}), - (DATA_SOURCE_FREE_TRIAL, {_sN: _dL}), - (DATA_SOURCE_FREE_TRIAL, {_sN: _fL}), - (DATA_SOURCE_FREE_TRIAL, {_sN: _sLo}), - (KUBERNETES_DATA_SOURCE_FREE_TRIAL, {_sN: _k}), - (MALWARE_PROTECTION_DATA_SOURCE_FREE_TRIAL, {_sN: _mP}), - ), -) - -FREE_TRIAL_FEATURE_RESULT: StaticSchema = ( - 14, - n0, - _FTFR, - 0, - (_FL_, _CT_, _DL_, _SDE, _EAL, _EMP, _RLE, _LNL, _ERM, _ERM_, _FRM, _AP), - ( - (-1, {_sV: _FL_}), - (-1, {_sV: _CT_}), - (-1, {_sV: _DL_}), - (-1, {_sV: _SDE}), - (-1, {_sV: _EAL}), - (-1, {_sV: _EMP}), - (-1, {_sV: _RLE}), - (-1, {_sV: _LNL}), - (-1, {_sV: _ERM}), - (-1, {_sV: _ERM_}), - (-1, {_sV: _FRM}), - (-1, {_sV: _AP}), - ), -) - -FREE_TRIAL_FEATURE_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _FTFCR, - 0, - (_N, _FTDR), - ((FREE_TRIAL_FEATURE_RESULT, {_sN: _n}), (INTEGER, {_sN: _fTDR})), -) - -FREE_TRIAL_FEATURE_CONFIGURATIONS_RESULTS: StaticSchema = ( - 16, - n0, - _FTFCRr, - 0, - (_me,), - ((FREE_TRIAL_FEATURE_CONFIGURATION_RESULT, 0),), -) - -ACCOUNT_FREE_TRIAL_INFO: StaticSchema = ( - 18, - n0, - _AFTI, - 0, - (_AIcc, _DS, _F), - ( - (STRING, {_sN: _aIc}), - (DATA_SOURCES_FREE_TRIAL, {_sN: _dS}), - (FREE_TRIAL_FEATURE_CONFIGURATIONS_RESULTS, {_sN: _f}), - ), -) - -ACCOUNT_FREE_TRIAL_INFOS: StaticSchema = ( - 16, - n0, - _AFTIc, - 0, - (_me,), - ((ACCOUNT_FREE_TRIAL_INFO, 0),), -) - -ACCOUNT_IDS: StaticSchema = (16, n0, _AIcco, 0, (_me,), ((ACCOUNT_ID, 0),)) - -BLOCK_PUBLIC_ACCESS: StaticSchema = ( - 18, - n0, - _BPA, - 0, - (_IPA, _RPB, _BPAl, _BPP), - ( - (BOOLEAN, {_sN: _iPA}), - (BOOLEAN, {_sN: _rPB}), - (BOOLEAN, {_sN: _bPA}), - (BOOLEAN, {_sN: _bPP}), - ), -) - -ACCOUNT_LEVEL_PERMISSIONS: StaticSchema = ( - 18, - n0, - _ALP, - 0, - (_BPA,), - ((BLOCK_PUBLIC_ACCESS, {_sN: _bPAl}),), -) - -TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) - -ACCOUNT_STATISTICS: StaticSchema = ( - 18, - n0, - _AS, - 0, - (_AIcc, _LGA, _TF), - ((STRING, {_sN: _aIc}), (TIMESTAMP, {_sN: _lGA}), (INTEGER, {_sN: _tF})), -) - -AFFECTED_RESOURCES: StaticSchema = ( - 17, - n0, - _AR, - 0, - (_ke, _v), - ((STRING, 0), (STRING, 0)), -) - -DOMAIN_DETAILS: StaticSchema = (18, n0, _DD, 0, (_D,), ((STRING, {_sN: _d}),)) - -REMOTE_ACCOUNT_DETAILS: StaticSchema = ( - 18, - n0, - _RAD, - 0, - (_AIcc, _Af, _ASN), - ((STRING, {_sN: _aIc}), (BOOLEAN, {_sN: _af}), (STRING, {_sN: _aSN})), -) - -CITY: StaticSchema = (18, n0, _C, 0, (_CN,), ((STRING, {_sN: _cN}),)) - -COUNTRY: StaticSchema = ( - 18, - n0, - _Co, - 0, - (_CC, _CNo), - ((STRING, {_sN: _cC}), (STRING, {_sN: _cNo})), -) - -DOUBLE: StaticSchema = (10, n0, _Do, 0) - -GEO_LOCATION: StaticSchema = ( - 18, - n0, - _GL, - 0, - (_L, _Lo), - ((DOUBLE, {_sN: _l}), (DOUBLE, {_sN: _lo})), -) - -SENSITIVE_STRING: StaticSchema = (3, n0, _SS, 4) - -ORGANIZATION: StaticSchema = ( - 18, - n0, - _O, - 0, - (_As, _AO, _Is, _Or), - ( - (STRING, {_sN: _as}), - (STRING, {_sN: _aO}), - (STRING, {_sN: _i}), - (STRING, {_sN: _o}), - ), -) - -REMOTE_IP_DETAILS: StaticSchema = ( - 18, - n0, - _RID, - 0, - (_C, _Co, _GL, _IAV, _IAVp, _O), - ( - (CITY, {_sN: _ci}), - (COUNTRY, {_sN: _co}), - (GEO_LOCATION, {_sN: _gL}), - (SENSITIVE_STRING, {_sN: _iAV}), - (SENSITIVE_STRING, {_sN: _iAVp}), - (ORGANIZATION, {_sN: _or}), - ), -) - -AWS_API_CALL_ACTION: StaticSchema = ( - 18, - n0, - _AACA, - 0, - (_Ap, _CTa, _DD, _EC, _UA, _RID, _SN, _RAD, _AR), - ( - (STRING, {_sN: _ap}), - (STRING, {_sN: _cTa}), - (DOMAIN_DETAILS, {_sN: _dD}), - (STRING, {_sN: _eC}), - (STRING, {_sN: _uA}), - (REMOTE_IP_DETAILS, {_sN: _rID}), - (STRING, {_sN: _sNe}), - (REMOTE_ACCOUNT_DETAILS, {_sN: _rAD}), - (AFFECTED_RESOURCES, {_sN: _aR}), - ), -) - -DNS_REQUEST_ACTION: StaticSchema = ( - 18, - n0, - _DRA, - 0, - (_D, _P, _Bl, _DWS, _VOAI), - ( - (STRING, {_sN: _d}), - (STRING, {_sN: _p}), - (BOOLEAN, {_sN: _b}), - (STRING, {_sN: _dWS}), - (ACCOUNT_ID, {_sN: _vOAI}), - ), -) - -SOURCE_IPS: StaticSchema = (16, n0, _SI, 0, (_me,), ((STRING, 0),)) - -KUBERNETES_API_CALL_ACTION: StaticSchema = ( - 18, - n0, - _KACA, - 0, - (_RU, _V, _R, _Su, _Na, _RN, _SI, _UA, _RID, _SC, _Pa), - ( - (STRING, {_sN: _rU}), - (STRING, {_sN: _ve}), - (STRING, {_sN: _r}), - (STRING, {_sN: _su}), - (STRING, {_sN: _na}), - (STRING, {_sN: _rN}), - (SOURCE_IPS, {_sN: _sIP}), - (STRING, {_sN: _uA}), - (REMOTE_IP_DETAILS, {_sN: _rID}), - (INTEGER, {_sN: _sC}), - (STRING, {_sN: _pa}), - ), -) - -KUBERNETES_PERMISSION_CHECKED_DETAILS: StaticSchema = ( - 18, - n0, - _KPCD, - 0, - (_V, _R, _Na, _Al), - ( - (STRING, {_sN: _ve}), - (STRING, {_sN: _r}), - (STRING, {_sN: _na}), - (BOOLEAN, {_sN: _al}), - ), -) - -KUBERNETES_ROLE_BINDING_DETAILS: StaticSchema = ( - 18, - n0, - _KRBD, - 0, - (_Ki, _N, _U, _RRN, _RRK), - ( - (STRING, {_sN: _ki}), - (STRING, {_sN: _n}), - (STRING, {_sN: _u}), - (STRING, {_sN: _rRN}), - (STRING, {_sN: _rRK}), - ), -) - -KUBERNETES_ROLE_DETAILS: StaticSchema = ( - 18, - n0, - _KRD, - 0, - (_Ki, _N, _U), - ((STRING, {_sN: _ki}), (STRING, {_sN: _n}), (STRING, {_sN: _u})), -) - -LOCAL_IP_DETAILS: StaticSchema = ( - 18, - n0, - _LID, - 0, - (_IAV, _IAVp), - ((SENSITIVE_STRING, {_sN: _iAV}), (SENSITIVE_STRING, {_sN: _iAVp})), -) - -LOCAL_PORT_DETAILS: StaticSchema = ( - 18, - n0, - _LPD, - 0, - (_Po, _PN), - ((INTEGER, {_sN: _po}), (STRING, {_sN: _pN})), -) - -REMOTE_PORT_DETAILS: StaticSchema = ( - 18, - n0, - _RPD, - 0, - (_Po, _PN), - ((INTEGER, {_sN: _po}), (STRING, {_sN: _pN})), -) - -NETWORK_CONNECTION_ACTION: StaticSchema = ( - 18, - n0, - _NCA, - 0, - (_Bl, _CD, _LPD, _P, _LID, _LNI, _RID, _RPD), - ( - (BOOLEAN, {_sN: _b}), - (STRING, {_sN: _cD}), - (LOCAL_PORT_DETAILS, {_sN: _lPD}), - (STRING, {_sN: _p}), - (LOCAL_IP_DETAILS, {_sN: _lID}), - (STRING, {_sN: _lNI}), - (REMOTE_IP_DETAILS, {_sN: _rID}), - (REMOTE_PORT_DETAILS, {_sN: _rPD}), - ), -) - -PORT_PROBE_DETAIL: StaticSchema = ( - 18, - n0, - _PPD, - 0, - (_LPD, _LID, _RID), - ( - (LOCAL_PORT_DETAILS, {_sN: _lPD}), - (LOCAL_IP_DETAILS, {_sN: _lID}), - (REMOTE_IP_DETAILS, {_sN: _rID}), - ), -) - -PORT_PROBE_DETAILS: StaticSchema = (16, n0, _PPDo, 0, (_me,), ((PORT_PROBE_DETAIL, 0),)) - -PORT_PROBE_ACTION: StaticSchema = ( - 18, - n0, - _PPA, - 0, - (_Bl, _PPDo), - ((BOOLEAN, {_sN: _b}), (PORT_PROBE_DETAILS, {_sN: _pPD})), -) - -LOGIN_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _LA, - 0, - (_Us, _App, _FLA, _SLA), - ( - (STRING, {_sN: _us}), - (STRING, {_sN: _app}), - (INTEGER, {_sN: _fLA}), - (INTEGER, {_sN: _sLA}), - ), -) - -LOGIN_ATTRIBUTES: StaticSchema = (16, n0, _LAo, 0, (_me,), ((LOGIN_ATTRIBUTE, 0),)) - -RDS_LOGIN_ATTEMPT_ACTION: StaticSchema = ( - 18, - n0, - _RLAA, - 0, - (_RID, _LAo), - ((REMOTE_IP_DETAILS, {_sN: _rID}), (LOGIN_ATTRIBUTES, 0)), -) - -ACTION: StaticSchema = ( - 18, - n0, - _Ac, - 0, - (_AT, _AACA, _DRA, _NCA, _PPA, _KACA, _KPCD, _KRBD, _KRD, _RLAA), - ( - (STRING, {_sN: _aT}), - (AWS_API_CALL_ACTION, {_sN: _aACA}), - (DNS_REQUEST_ACTION, {_sN: _dRA}), - (NETWORK_CONNECTION_ACTION, {_sN: _nCA}), - (PORT_PROBE_ACTION, {_sN: _pPA}), - (KUBERNETES_API_CALL_ACTION, {_sN: _kACA}), - (KUBERNETES_PERMISSION_CHECKED_DETAILS, {_sN: _kPCD}), - (KUBERNETES_ROLE_BINDING_DETAILS, {_sN: _kRBD}), - (KUBERNETES_ROLE_DETAILS, {_sN: _kRD}), - (RDS_LOGIN_ATTEMPT_ACTION, {_sN: _rLAA}), - ), -) - -API_CALL: StaticSchema = ( - 18, - n0, - _AC, - 0, - (_Op, _Se, _Er, _UA), - ( - (STRING, {_sN: _op}), - (STRING, {_sN: _ser}), - (STRING, {_sN: _er}), - (STRING, {_sN: _uA}), - ), -) - -ACTIVITY_TYPE: StaticSchema = (14, n0, _ATc, 0, (_AC_,), ((-1, {_sV: _AC_}),)) - -ACTIVITY: StaticSchema = ( - 18, - n0, - _Act, - 0, - (_T, _Ap), - ((ACTIVITY_TYPE, {_sN: _t, _sm: None}), (API_CALL, {_sN: _ap})), -) - -ACTIVITIES: StaticSchema = (16, n0, _Acti, 0, (_me,), ((ACTIVITY, 0),)) - -PROCESS_NAME: StaticSchema = (3, n0, _PNr, 0) - -PROCESS_PATH: StaticSchema = (3, n0, _PP, 0) - -PROCESS_SHA256: StaticSchema = (3, n0, _PS, 0) - -ACTOR_PROCESS: StaticSchema = ( - 18, - n0, - _APc, - 0, - (_N, _Pat, _Sh), - ( - (PROCESS_NAME, {_sN: _n, _sm: None}), - (PROCESS_PATH, {_sN: _pat, _sm: None}), - (PROCESS_SHA256, {_sN: _sh}), - ), -) - -MFA_STATUS: StaticSchema = ( - 14, - n0, - _MS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -SESSION: StaticSchema = ( - 18, - n0, - _Ses, - 0, - (_U, _MS, _CTr, _Iss), - ( - (STRING, {_sN: _u}), - (MFA_STATUS, {_sN: _mS}), - (TIMESTAMP, {_sN: _cTr}), - (STRING, {_sN: _is}), - ), -) - -USER: StaticSchema = ( - 18, - n0, - _Us, - 0, - (_N, _U, _T, _CU, _A), - ( - (STRING, {_sN: _n, _sm: None}), - (STRING, {_sN: _u, _sm: None}), - (STRING, {_sN: _t, _sm: None}), - (STRING, {_sN: _cU}), - (ACCOUNT, {_sN: _a}), - ), -) - -ACTOR: StaticSchema = ( - 18, - n0, - _Acto, - 0, - (_Id, _Us, _Ses, _Pr), - ( - (STRING, {_sN: _id, _sm: None}), - (USER, {_sN: _us}), - (SESSION, {_sN: _ses}), - (ACTOR_PROCESS, {_sN: _pr}), - ), -) - -ACTOR_IDS: StaticSchema = (16, n0, _AIct, 0, (_me,), ((STRING, 0),)) - -ACTORS: StaticSchema = (16, n0, _Actor, 0, (_me,), ((ACTOR, 0),)) - -NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) - -ADDITIONAL_INFO: StaticSchema = ( - 18, - n0, - _AId, - 0, - (_VI, _DN), - ((NON_EMPTY_STRING, {_sN: _vI}), (NON_EMPTY_STRING, {_sN: _dN})), -) - -FINDING_TYPE: StaticSchema = (3, n0, _FT, 0) - -ADDITIONAL_SEQUENCE_TYPES: StaticSchema = ( - 16, - n0, - _AST, - 0, - (_me,), - ((FINDING_TYPE, 0),), -) - -ADDON_DETAILS: StaticSchema = ( - 18, - n0, - _ADd, - 0, - (_AV, _ASd), - ((STRING, {_sN: _aV}), (STRING, {_sN: _aS})), -) - -ADMIN_STATUS: StaticSchema = ( - 14, - n0, - _ASdm, - 0, - (_ENABLED, _DIP), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DIP})), -) - -ADMIN_ACCOUNT: StaticSchema = ( - 18, - n0, - _AA, - 0, - (_AAId, _ASdm), - ((STRING, {_sN: _aAI}), (ADMIN_STATUS, {_sN: _aSd})), -) - -ADMIN_ACCOUNTS: StaticSchema = (16, n0, _AAd, 0, (_me,), ((ADMIN_ACCOUNT, 0),)) - -ADMINISTRATOR: StaticSchema = ( - 18, - n0, - _Ad, - 0, - (_AIcc, _II, _RS, _IA), - ( - (ACCOUNT_ID, {_sN: _aIc}), - (STRING, {_sN: _iI}), - (STRING, {_sN: _rS}), - (STRING, {_sN: _iA}), - ), -) - -AGENT_DETAILS: StaticSchema = (18, n0, _ADg, 0, (_Ve,), ((STRING, {_sN: _ver}),)) - -LONG: StaticSchema = (8, n0, _Lon, 0) - -OBSERVATION_NUMBERS: StaticSchema = (16, n0, _ON, 0, (_me,), ((LONG, 0),)) - -OBSERVATION_TEXTS: StaticSchema = (16, n0, _OT, 0, (_me,), ((STRING, 0),)) - -OBSERVATIONS: StaticSchema = ( - 18, - n0, - _Ob, - 0, - (_Te, _Nu), - ((OBSERVATION_TEXTS, {_sN: _te}), (OBSERVATION_NUMBERS, {_sN: _nu})), -) - -PROFILE_SUBTYPE: StaticSchema = ( - 14, - n0, - _PSr, - 0, - (_FREQUENT, _INFREQUENT, _UNSEEN, _RARE, _COUNT, _AVERAGE), - ( - (-1, {_sV: _FREQUENT}), - (-1, {_sV: _INFREQUENT}), - (-1, {_sV: _UNSEEN}), - (-1, {_sV: _RARE}), - (-1, {_sV: _COUNT}), - (-1, {_sV: _AVERAGE}), - ), -) - -PROFILE_TYPE: StaticSchema = ( - 14, - n0, - _PT, - 0, - (_FREQUENCY, _VOLUME), - ((-1, {_sV: _FREQUENCY}), (-1, {_sV: _VOLUME})), -) - -ANOMALY_OBJECT: StaticSchema = ( - 18, - n0, - _AOn, - 0, - (_PT, _PSr, _Ob), - ( - (PROFILE_TYPE, {_sN: _pT}), - (PROFILE_SUBTYPE, {_sN: _pS}), - (OBSERVATIONS, {_sN: _ob}), - ), -) - -ANOMALY_PROFILE_FEATURE_OBJECTS: StaticSchema = ( - 16, - n0, - _APFO, - 0, - (_me,), - ((ANOMALY_OBJECT, 0),), -) - -ANOMALY_PROFILE_FEATURES: StaticSchema = ( - 17, - n0, - _APF, - 0, - (_ke, _v), - ((STRING, 0), (ANOMALY_PROFILE_FEATURE_OBJECTS, 0)), -) - -ANOMALY_PROFILES: StaticSchema = ( - 17, - n0, - _APn, - 0, - (_ke, _v), - ((STRING, 0), (ANOMALY_PROFILE_FEATURES, 0)), -) - -ANOMALY_UNUSUAL_BEHAVIOR_FEATURE: StaticSchema = ( - 17, - n0, - _AUBF, - 0, - (_ke, _v), - ((STRING, 0), (ANOMALY_OBJECT, 0)), -) - -BEHAVIOR: StaticSchema = ( - 17, - n0, - _Be, - 0, - (_ke, _v), - ((STRING, 0), (ANOMALY_UNUSUAL_BEHAVIOR_FEATURE, 0)), -) - -ANOMALY_UNUSUAL: StaticSchema = (18, n0, _AU, 0, (_Be,), ((BEHAVIOR, {_sN: _be}),)) - -ANOMALY: StaticSchema = ( - 18, - n0, - _An, - 0, - (_Pro, _Un), - ((ANOMALY_PROFILES, {_sN: _pro}), (ANOMALY_UNUSUAL, {_sN: _un})), -) - -FINDING_ID: StaticSchema = (3, n0, _FI, 0) - -FINDING_IDS: StaticSchema = (16, n0, _FIi, 0, (_me,), ((FINDING_ID, 0),)) - -ARCHIVE_FINDINGS_INPUT: StaticSchema = ( - 18, - n0, - _AFI, - {_sSI: _cAFR, _s: None}, - (_DI, _FIi), - ((DETECTOR_ID, 9), (FINDING_IDS, {_sN: _fI, _sm: None})), -) - -ARCHIVE_FINDINGS_OUTPUT: StaticSchema = (18, n0, _AFO, {_sSI: _cAFRo, _smi: None}) - -ARCHIVE_FINDINGS: StaticOperationSchema = ( - 23, - n0, - _AF, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/findings/archive", - "code": 200, - } - ) - }, - ARCHIVE_FINDINGS_INPUT, - ARCHIVE_FINDINGS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DETECTION_RULE_ARN: StaticSchema = (3, n0, _DRAe, 0) - -ASSOCIATION_ID: StaticSchema = (3, n0, _AIs, 0) - -ASSOCIATION_MODE: StaticSchema = ( - 14, - n0, - _AM, - 0, - (_LIVE, _DR), - ((-1, {_sV: _LIVE}), (-1, {_sV: _DR})), -) - -RULE_ID: StaticSchema = (3, n0, _RI, 0) - -ASSOCIATION_DETAIL: StaticSchema = ( - 18, - n0, - _ADs, - 0, - (_AIs, _Ar, _RI, _AIcc, _Mo, _CA, _UAp, _EA), - ( - (ASSOCIATION_ID, {_sN: _aIs, _sm: None}), - (DETECTION_RULE_ARN, {_sN: _ar, _sm: None}), - (RULE_ID, {_sN: _rI, _sm: None}), - (ACCOUNT_ID, {_sN: _aIc, _sm: None}), - (ASSOCIATION_MODE, {_sN: _mo, _sm: None}), - (TIMESTAMP, {_sN: _cA, _sm: None}), - (TIMESTAMP, {_sN: _uAp, _sm: None}), - (TIMESTAMP, {_sN: _eA}), - ), -) - -ASSOCIATION_SUMMARY: StaticSchema = ( - 18, - n0, - _ASs, - 0, - (_AIs, _Ar, _RI, _Mo, _CA, _UAp, _EA), - ( - (ASSOCIATION_ID, {_sN: _aIs, _sm: None}), - (DETECTION_RULE_ARN, {_sN: _ar, _sm: None}), - (RULE_ID, {_sN: _rI, _sm: None}), - (ASSOCIATION_MODE, {_sN: _mo, _sm: None}), - (TIMESTAMP, {_sN: _cA, _sm: None}), - (TIMESTAMP, {_sN: _uAp, _sm: None}), - (TIMESTAMP, {_sN: _eA}), - ), -) - -ASSOCIATION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _ASL, - 0, - (_me,), - ((ASSOCIATION_SUMMARY, 0),), -) - -AUTO_ENABLE_MEMBERS: StaticSchema = ( - 14, - n0, - _AEM, - 0, - (_NEW, _ALL, _NONE), - ((-1, {_sV: _NEW}), (-1, {_sV: _ALL}), (-1, {_sV: _NONE})), -) - -AUTONOMOUS_SYSTEM: StaticSchema = ( - 18, - n0, - _ASu, - 0, - (_N, _Nu), - ((STRING, {_sN: _n, _sm: None}), (INTEGER, {_sN: _nu, _sm: None})), -) - -EC2_INSTANCE_UID: StaticSchema = (3, n0, _EIU, 0) - -EC2_INSTANCE_UIDS: StaticSchema = (16, n0, _EIUc, 0, (_me,), ((EC2_INSTANCE_UID, 0),)) - -AUTOSCALING_AUTO_SCALING_GROUP: StaticSchema = ( - 18, - n0, - _AASG, - 0, - (_EIUc,), - ((EC2_INSTANCE_UIDS, {_sN: _eIU}),), -) - -BEDROCK_GUARDRAIL: StaticSchema = ( - 18, - n0, - _BG, - 0, - (_Ar, _Ve), - ((STRING, {_sN: _ar}), (STRING, {_sN: _ver})), -) - -CONTENT_POLICY_FILTER_ACTION: StaticSchema = ( - 14, - n0, - _CPFA, - 0, - (_BLOCKED, _NONE), - ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), -) - -CONFIDENCE_LEVEL: StaticSchema = ( - 14, - n0, - _CL, - 0, - (_HIGH, _MEDIUM, _LOW, _NONE), - ((-1, {_sV: _HIGH}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _LOW}), (-1, {_sV: _NONE})), -) - -CONTENT_POLICY_FILTER_TYPE: StaticSchema = ( - 14, - n0, - _CPFT, - 0, - (_PA, _JAILBREAK, _HATE, _INSULTS, _SEXUAL, _VIOLENCE, _MISCONDUCT), - ( - (-1, {_sV: _PA}), - (-1, {_sV: _JAILBREAK}), - (-1, {_sV: _HATE}), - (-1, {_sV: _INSULTS}), - (-1, {_sV: _SEXUAL}), - (-1, {_sV: _VIOLENCE}), - (-1, {_sV: _MISCONDUCT}), - ), -) - -CONTENT_POLICY_FILTER: StaticSchema = ( - 18, - n0, - _CPF, - 0, - (_T, _Con, _Ac), - ( - (CONTENT_POLICY_FILTER_TYPE, {_sN: _t}), - (CONFIDENCE_LEVEL, {_sN: _con}), - (CONTENT_POLICY_FILTER_ACTION, {_sN: _ac}), - ), -) - -CONTENT_POLICY_FILTERS: StaticSchema = ( - 16, - n0, - _CPFo, - 0, - (_me,), - ((CONTENT_POLICY_FILTER, 0),), -) - -GUARDRAIL_ACTION: StaticSchema = ( - 14, - n0, - _GA, - 0, - (_GI, _NONE), - ((-1, {_sV: _GI}), (-1, {_sV: _NONE})), -) - -BEDROCK_GUARDRAILS: StaticSchema = (16, n0, _BGe, 0, (_me,), ((BEDROCK_GUARDRAIL, 0),)) - -GUARDRAIL_SOURCE: StaticSchema = ( - 14, - n0, - _GS, - 0, - (_INPUT, _OUTPUT), - ((-1, {_sV: _INPUT}), (-1, {_sV: _OUTPUT})), -) - -BEDROCK_GUARDRAIL_DETAILS: StaticSchema = ( - 18, - n0, - _BGD, - 0, - (_GAu, _GV, _G, _GA, _GS, _CPFo), - ( - (STRING, {_sN: _gA}), - (STRING, {_sN: _gV}), - (BEDROCK_GUARDRAILS, {_sN: _g}), - (GUARDRAIL_ACTION, {_sN: _gAu}), - (GUARDRAIL_SOURCE, {_sN: _gS}), - (CONTENT_POLICY_FILTERS, {_sN: _cPF}), - ), -) - -BEDROCK_GUARDRAIL_RESOURCE: StaticSchema = ( - 18, - n0, - _BGR, - 0, - (_Ve, _GA, _GS), - ( - (STRING, {_sN: _ver}), - (GUARDRAIL_ACTION, {_sN: _gAu}), - (GUARDRAIL_SOURCE, {_sN: _gS}), - ), -) - -BUCKET_POLICY: StaticSchema = ( - 18, - n0, - _BP, - 0, - (_APRA, _APWA), - ((BOOLEAN, {_sN: _aPRA}), (BOOLEAN, {_sN: _aPWA})), -) - -BUCKET_LEVEL_PERMISSIONS: StaticSchema = ( - 18, - n0, - _BLP, - 0, - (_ACL, _BP, _BPA), - ( - (ACCESS_CONTROL_LIST, {_sN: _aCL}), - (BUCKET_POLICY, {_sN: _bP}), - (BLOCK_PUBLIC_ACCESS, {_sN: _bPAl}), - ), -) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) - -CLOUD_PROVIDER: StaticSchema = (14, n0, _CP, 0, (_AWS,), ((-1, {_sV: _AWS}),)) - -CLOUD_DETAILS: StaticSchema = ( - 18, - n0, - _CDl, - 0, - (_Prov, _Re, _A), - ( - (CLOUD_PROVIDER, {_sN: _prov, _sm: None}), - (STRING, {_sN: _re, _sm: None}), - (STRING, {_sN: _a, _sm: None}), - ), -) - -CLOUDFORMATION_STACK: StaticSchema = ( - 18, - n0, - _CS, - 0, - (_EIUc,), - ((EC2_INSTANCE_UIDS, {_sN: _eIU}),), -) - -DATA_SOURCE_STATUS: StaticSchema = ( - 14, - n0, - _DSS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -CLOUD_TRAIL_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _CTCR, - 0, - (_St,), - ((DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), -) - -CLUSTER_STATUS: StaticSchema = ( - 14, - n0, - _CSl, - 0, - (_CREATING, _ACTIVE, _DELETING, _FAILED, _UPDATING, _PENDING), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _PENDING}), - ), -) - -EQ: StaticSchema = (16, n0, _Eq, 0, (_me,), ((STRING, 0),)) - -EQUALS: StaticSchema = (16, n0, _Equ, 0, (_me,), ((STRING, 0),)) - -MATCH: StaticSchema = (3, n0, _Ma, 0) - -MATCHES: StaticSchema = (16, n0, _Mat, 0, (_me,), ((MATCH, 0),)) - -NEQ: StaticSchema = (16, n0, _Ne, 0, (_me,), ((STRING, 0),)) - -NOT_EQUALS: StaticSchema = (16, n0, _NE, 0, (_me,), ((STRING, 0),)) - -NOT_MATCH: StaticSchema = (3, n0, _NM, 0) - -NOT_MATCHES: StaticSchema = (16, n0, _NMo, 0, (_me,), ((NOT_MATCH, 0),)) - -CONDITION: StaticSchema = ( - 18, - n0, - _Cond, - 0, - (_Eq, _Ne, _Gt, _Gte, _Lt, _Lte, _Equ, _NE, _GT, _GTOE, _LT, _LTOE, _Mat, _NMo), - ( - (EQ, {_sN: _eq}), - (NEQ, {_sN: _ne}), - (INTEGER, {_sN: _gt}), - (INTEGER, {_sN: _gte}), - (INTEGER, {_sN: _lt}), - (INTEGER, {_sN: _lte}), - (EQUALS, {_sN: _equ}), - (NOT_EQUALS, {_sN: _nE}), - (LONG, {_sN: _gT}), - (LONG, {_sN: _gTOE}), - (LONG, {_sN: _lT}), - (LONG, {_sN: _lTOE}), - (MATCHES, {_sN: _ma}), - (NOT_MATCHES, {_sN: _nM}), - ), -) - -CONFIDENCE: StaticSchema = ( - 14, - n0, - _Con, - 0, - (_UNKNOWN, _LOW, _MEDIUM, _HIGH), - ((-1, {_sV: _Unk}), (-1, {_sV: _Low}), (-1, {_sV: _Me}), (-1, {_sV: _H})), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - {_smit: _c, _sE: 409}, - (_M, _T), - ((STRING, {_sN: _m}), (STRING, {_sN: _t})), -) - -SECURITY_CONTEXT: StaticSchema = ( - 18, - n0, - _SCe, - 0, - (_Pri, _APE), - ((BOOLEAN, {_sN: _pri}), (BOOLEAN, {_sN: _aPE})), -) - -VOLUME_MOUNT: StaticSchema = ( - 18, - n0, - _VM, - 0, - (_N, _MPo), - ((STRING, {_sN: _n}), (STRING, {_sN: _mPo})), -) - -VOLUME_MOUNTS: StaticSchema = (16, n0, _VMo, 0, (_me,), ((VOLUME_MOUNT, 0),)) - -CONTAINER: StaticSchema = ( - 18, - n0, - _Cont, - 0, - (_CR, _Id, _N, _Im, _IP, _VMo, _SCe), - ( - (STRING, {_sN: _cR}), - (STRING, {_sN: _id}), - (STRING, {_sN: _n}), - (STRING, {_sN: _im}), - (STRING, {_sN: _iP}), - (VOLUME_MOUNTS, {_sN: _vM}), - (SECURITY_CONTEXT, {_sN: _sCe}), - ), -) - -CONTAINER_IMAGE_UID: StaticSchema = (3, n0, _CIU, 0) - -CONTAINER_FINDING_RESOURCE: StaticSchema = ( - 18, - n0, - _CFR, - 0, - (_Im, _IU), - ((STRING, {_sN: _im, _sm: None}), (CONTAINER_IMAGE_UID, {_sN: _iU})), -) - -CONTAINER_INSTANCE_DETAILS: StaticSchema = ( - 18, - n0, - _CID, - 0, - (_CCI, _CCIo), - ((LONG, {_sN: _cCI}), (LONG, {_sN: _cCIo})), -) - -CONTAINERS: StaticSchema = (16, n0, _Conta, 0, (_me,), ((CONTAINER, 0),)) - -CONTAINER_UID: StaticSchema = (3, n0, _CUo, 0) - -CONTAINER_UIDS: StaticSchema = (16, n0, _CUon, 0, (_me,), ((CONTAINER_UID, 0),)) - -CONTINUOUS_SCAN_DETAILS: StaticSchema = ( - 18, - n0, - _CSD, - 0, - (_ST, _ET), - ((TIMESTAMP, {_sN: _sT}), (TIMESTAMP, {_sN: _eT, _sm: None})), -) - -COVERAGE_STATUS: StaticSchema = ( - 14, - n0, - _CSo, - 0, - (_HEALTHY, _UNHEALTHY), - ((-1, {_sV: _HEALTHY}), (-1, {_sV: _UNHEALTHY})), -) - -COUNT_BY_COVERAGE_STATUS: StaticSchema = ( - 17, - n0, - _CBCS, - 0, - (_ke, _v), - ((COVERAGE_STATUS, 0), (LONG, 0)), -) - -RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _RT, - 0, - (_EKS, _ECS, _EC_), - ((-1, {_sV: _EKS}), (-1, {_sV: _ECS}), (-1, {_sV: _EC_})), -) - -COUNT_BY_RESOURCE_TYPE: StaticSchema = ( - 17, - n0, - _CBRT, - 0, - (_ke, _v), - ((RESOURCE_TYPE, 0), (LONG, 0)), -) - -COUNT_BY_SEVERITY: StaticSchema = ( - 17, - n0, - _CBS, - 0, - (_ke, _v), - ((STRING, 0), (INTEGER, 0)), -) - -MANAGEMENT_TYPE: StaticSchema = ( - 14, - n0, - _MT, - 0, - (_AM_, _MANUAL, _DISABLED), - ((-1, {_sV: _AM_}), (-1, {_sV: _MANUAL}), (-1, {_sV: _DISABLED})), -) - -COVERAGE_EC2_INSTANCE_DETAILS: StaticSchema = ( - 18, - n0, - _CEID, - 0, - (_IIn, _IT, _CAl, _ADg, _MT), - ( - (STRING, {_sN: _iIn}), - (STRING, {_sN: _iT}), - (STRING, {_sN: _cAl}), - (AGENT_DETAILS, {_sN: _aD}), - (MANAGEMENT_TYPE, {_sN: _mT}), - ), -) - -ISSUES: StaticSchema = (16, n0, _Issu, 0, (_me,), ((STRING, 0),)) - -FARGATE_DETAILS: StaticSchema = ( - 18, - n0, - _FD, - 0, - (_Issu, _MT), - ((ISSUES, {_sN: _iss}), (MANAGEMENT_TYPE, {_sN: _mT})), -) - -COVERAGE_ECS_CLUSTER_DETAILS: StaticSchema = ( - 18, - n0, - _CECD, - 0, - (_CNl, _FD, _CID), - ( - (STRING, {_sN: _cNl}), - (FARGATE_DETAILS, {_sN: _fD}), - (CONTAINER_INSTANCE_DETAILS, {_sN: _cID}), - ), -) - -COVERAGE_EKS_CLUSTER_DETAILS: StaticSchema = ( - 18, - n0, - _CECDo, - 0, - (_CNl, _CNov, _CNom, _ADd, _MT), - ( - (STRING, {_sN: _cNl}), - (LONG, {_sN: _cNov}), - (LONG, {_sN: _cNom}), - (ADDON_DETAILS, {_sN: _aDd}), - (MANAGEMENT_TYPE, {_sN: _mT}), - ), -) - -COVERAGE_FILTER_CONDITION: StaticSchema = ( - 18, - n0, - _CFC, - 0, - (_Equ, _NE), - ((EQUALS, {_sN: _equ}), (NOT_EQUALS, {_sN: _nE})), -) - -COVERAGE_FILTER_CRITERION_KEY: StaticSchema = ( - 14, - n0, - _CFCK, - 0, - (_AI_, _RT_, _CS_, _AV_, _CN_, _ECN, _MT_, _ECN_, _AV__, _II_, _CA_), - ( - (-1, {_sV: _AI_}), - (-1, {_sV: _RT_}), - (-1, {_sV: _CS_}), - (-1, {_sV: _AV_}), - (-1, {_sV: _CN_}), - (-1, {_sV: _ECN}), - (-1, {_sV: _MT_}), - (-1, {_sV: _ECN_}), - (-1, {_sV: _AV__}), - (-1, {_sV: _II_}), - (-1, {_sV: _CA_}), - ), -) - -COVERAGE_FILTER_CRITERION: StaticSchema = ( - 18, - n0, - _CFCo, - 0, - (_CK, _FC), - ( - (COVERAGE_FILTER_CRITERION_KEY, {_sN: _cK}), - (COVERAGE_FILTER_CONDITION, {_sN: _fC}), - ), -) - -COVERAGE_FILTER_CRITERION_LIST: StaticSchema = ( - 16, - n0, - _CFCL, - 0, - (_me,), - ((COVERAGE_FILTER_CRITERION, 0),), -) - -COVERAGE_FILTER_CRITERIA: StaticSchema = ( - 18, - n0, - _CFCov, - 0, - (_FCi,), - ((COVERAGE_FILTER_CRITERION_LIST, {_sN: _fCi}),), -) - -COVERAGE_RESOURCE_DETAILS: StaticSchema = ( - 18, - n0, - _CRD, - 0, - (_ECD, _ECDc, _EID, _RT), - ( - (COVERAGE_EKS_CLUSTER_DETAILS, {_sN: _eCD}), - (COVERAGE_ECS_CLUSTER_DETAILS, {_sN: _eCDc}), - (COVERAGE_EC2_INSTANCE_DETAILS, {_sN: _eID}), - (RESOURCE_TYPE, {_sN: _rT}), - ), -) - -COVERAGE_RESOURCE: StaticSchema = ( - 18, - n0, - _CRo, - 0, - (_RIe, _DI, _AIcc, _RD, _CSo, _Issue, _UAp), - ( - (STRING, {_sN: _rIe}), - (DETECTOR_ID, {_sN: _dI}), - (ACCOUNT_ID, {_sN: _aIc}), - (COVERAGE_RESOURCE_DETAILS, {_sN: _rD}), - (COVERAGE_STATUS, {_sN: _cS}), - (STRING, {_sN: _issu}), - (TIMESTAMP, {_sN: _uAp}), - ), -) - -COVERAGE_RESOURCES: StaticSchema = (16, n0, _CRov, 0, (_me,), ((COVERAGE_RESOURCE, 0),)) - -COVERAGE_SORT_KEY: StaticSchema = ( - 14, - n0, - _CSK, - 0, - (_AI_, _CS_, _ISSUE, _AV_, _UA_, _CN_, _ECN_, _ECN, _II_), - ( - (-1, {_sV: _AI_}), - (-1, {_sV: _CS_}), - (-1, {_sV: _ISSUE}), - (-1, {_sV: _AV_}), - (-1, {_sV: _UA_}), - (-1, {_sV: _CN_}), - (-1, {_sV: _ECN_}), - (-1, {_sV: _ECN}), - (-1, {_sV: _II_}), - ), -) - -ORDER_BY: StaticSchema = ( - 14, - n0, - _OB, - 0, - (_ASC, _DESC), - ((-1, {_sV: _ASC}), (-1, {_sV: _DESC})), -) - -COVERAGE_SORT_CRITERIA: StaticSchema = ( - 18, - n0, - _CSC, - 0, - (_AN, _OB), - ((COVERAGE_SORT_KEY, {_sN: _aN}), (ORDER_BY, {_sN: _oB})), -) - -COVERAGE_STATISTICS: StaticSchema = ( - 18, - n0, - _CSov, - 0, - (_CBRT, _CBCS), - ((COUNT_BY_RESOURCE_TYPE, {_sN: _cBRT}), (COUNT_BY_COVERAGE_STATUS, {_sN: _cBCS})), -) - -COVERAGE_STATISTICS_TYPE: StaticSchema = ( - 14, - n0, - _CST, - 0, - (_CBRT_, _CBCS_), - ((-1, {_sV: _CBRT_}), (-1, {_sV: _CBCS_})), -) - -COVERAGE_STATISTICS_TYPE_LIST: StaticSchema = ( - 16, - n0, - _CSTL, - 0, - (_me,), - ((COVERAGE_STATISTICS_TYPE, 0),), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG_MAP: StaticSchema = (17, n0, _TM, 0, (_ke, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _CCDRAI, - {_sSI: _cCCDRAR, _s: None}, - (_RI, _Mo, _CTl, _Ta), - ( - (RULE_ID, {_sN: _rI, _sm: None}), - (ASSOCIATION_MODE, {_sN: _mo, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (TAG_MAP, {_sN: _ta}), - ), -) - -CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CCDRAO, - {_sSI: _cCCDRARo, _smi: None}, - (_RA,), - ((ASSOCIATION_DETAIL, {_sN: _rA, _sm: None}),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_smit: _c, _sE: 404}, - (_M, _T), - ((STRING, {_sN: _m}), (STRING, {_sN: _t})), -) - -CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _CCDRA, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/custom-detection-rule/association", "code": 200} - ) - }, - CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT, - CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DETECTION_RULE_ACCOUNT_IDS: StaticSchema = ( - 16, - n0, - _DRAI, - 0, - (_me,), - ((ACCOUNT_ID, 0),), -) - -CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _CCDROCI, - {_sSI: _cCCDROCR, _s: None}, - (_RI, _Mo, _IAI, _EAI, _CTl), - ( - (RULE_ID, {_sN: _rI, _sm: None}), - (ASSOCIATION_MODE, {_sN: _mo, _sm: None}), - (DETECTION_RULE_ACCOUNT_IDS, {_sN: _iAI}), - (DETECTION_RULE_ACCOUNT_IDS, {_sN: _eAI}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - ), -) - -CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CCDROCO, - {_sSI: _cCCDROCRo, _smi: None}, -) - -CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _CCDROC, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/custom-detection-rule/org-configuration", - "code": 200, - } - ) - }, - CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT, - CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -KUBERNETES_AUDIT_LOGS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KALC, - 0, - (_En,), - ((BOOLEAN, {_sN: _en, _sm: None}),), -) - -KUBERNETES_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KC, - 0, - (_AL,), - ((KUBERNETES_AUDIT_LOGS_CONFIGURATION, {_sN: _aL, _sm: None}),), -) - -SCAN_EC2_INSTANCE_WITH_FINDINGS: StaticSchema = ( - 18, - n0, - _SEIWF, - 0, - (_EV,), - ((BOOLEAN, {_sN: _eV}),), -) - -MALWARE_PROTECTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MPC, - 0, - (_SEIWF,), - ((SCAN_EC2_INSTANCE_WITH_FINDINGS, {_sN: _sEIWF}),), -) - -S3_LOGS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SLC, - 0, - (_En,), - ((BOOLEAN, {_sN: _en, _sm: None}),), -) - -DATA_SOURCE_CONFIGURATIONS: StaticSchema = ( - 18, - n0, - _DSC, - 0, - (_SL, _K, _MP), - ( - (S3_LOGS_CONFIGURATION, {_sN: _sLo}), - (KUBERNETES_CONFIGURATION, {_sN: _k}), - (MALWARE_PROTECTION_CONFIGURATION, {_sN: _mP}), - ), -) - -FEATURE_ADDITIONAL_CONFIGURATION: StaticSchema = ( - 14, - n0, - _FAC, - 0, - (_EAM, _EFAM, _EAM_, _RDR), - ((-1, {_sV: _EAM}), (-1, {_sV: _EFAM}), (-1, {_sV: _EAM_}), (-1, {_sV: _RDR})), -) - -FEATURE_STATUS: StaticSchema = ( - 14, - n0, - _FS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -DETECTOR_ADDITIONAL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DAC, - 0, - (_N, _St), - ((FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), (FEATURE_STATUS, {_sN: _st})), -) - -DETECTOR_ADDITIONAL_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _DACe, - 0, - (_me,), - ((DETECTOR_ADDITIONAL_CONFIGURATION, 0),), -) - -DETECTOR_FEATURE: StaticSchema = ( - 14, - n0, - _DF, - 0, - (_SDE, _EAL, _EMP, _RLE, _LNL, _ERM, _RM, _AP, _AA_), - ( - (-1, {_sV: _SDE}), - (-1, {_sV: _EAL}), - (-1, {_sV: _EMP}), - (-1, {_sV: _RLE}), - (-1, {_sV: _LNL}), - (-1, {_sV: _ERM}), - (-1, {_sV: _RM}), - (-1, {_sV: _AP}), - (-1, {_sV: _AA_}), - ), -) - -DETECTOR_FEATURE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DFC, - 0, - (_N, _St, _ACd), - ( - (DETECTOR_FEATURE, {_sN: _n}), - (FEATURE_STATUS, {_sN: _st}), - (DETECTOR_ADDITIONAL_CONFIGURATIONS, {_sN: _aC}), - ), -) - -DETECTOR_FEATURE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _DFCe, - 0, - (_me,), - ((DETECTOR_FEATURE_CONFIGURATION, 0),), -) - -FINDING_PUBLISHING_FREQUENCY: StaticSchema = ( - 14, - n0, - _FPF, - 0, - (_FM, _OH, _SH), - ((-1, {_sV: _FM}), (-1, {_sV: _OH}), (-1, {_sV: _SH})), -) - -CREATE_DETECTOR_INPUT: StaticSchema = ( - 18, - n0, - _CDI, - {_sSI: _cCDR, _s: None}, - (_En, _CTl, _FPF, _DS, _Ta, _F), - ( - (BOOLEAN, {_sN: _en, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (FINDING_PUBLISHING_FREQUENCY, {_sN: _fPF}), - (DATA_SOURCE_CONFIGURATIONS, {_sN: _dS}), - (TAG_MAP, {_sN: _ta}), - (DETECTOR_FEATURE_CONFIGURATIONS, {_sN: _f}), - ), -) - -EBS_VOLUMES_RESULT: StaticSchema = ( - 18, - n0, - _EVR, - 0, - (_St, _Rea), - ((DATA_SOURCE_STATUS, {_sN: _st}), (STRING, {_sN: _rea})), -) - -SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT: StaticSchema = ( - 18, - n0, - _SEIWFR, - 0, - (_EV,), - ((EBS_VOLUMES_RESULT, {_sN: _eV}),), -) - -MALWARE_PROTECTION_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _MPCR, - 0, - (_SEIWF, _SR), - ((SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT, {_sN: _sEIWF}), (STRING, {_sN: _sR})), -) - -UNPROCESSED_DATA_SOURCES_RESULT: StaticSchema = ( - 18, - n0, - _UDSR, - 0, - (_MP,), - ((MALWARE_PROTECTION_CONFIGURATION_RESULT, {_sN: _mP}),), -) - -CREATE_DETECTOR_OUTPUT: StaticSchema = ( - 18, - n0, - _CDO, - {_sSI: _cCDRo, _smi: None}, - (_DI, _UDS), - ((DETECTOR_ID, {_sN: _dI}), (UNPROCESSED_DATA_SOURCES_RESULT, {_sN: _uDS})), -) - -CREATE_DETECTOR: StaticOperationSchema = ( - 23, - n0, - _CDr, - {_smith: MappingProxyType({"method": "POST", "uri": "/detector", "code": 200})}, - CREATE_DETECTOR_INPUT, - CREATE_DETECTOR_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -FILTER_ACTION: StaticSchema = ( - 14, - n0, - _FA, - 0, - (_NOOP, _ARCHIVE), - ((-1, {_sV: _NOOP}), (-1, {_sV: _ARCHIVE})), -) - -FILTER_DESCRIPTION: StaticSchema = (3, n0, _FDi, 0) - -CRITERION: StaticSchema = (17, n0, _Cr, 0, (_ke, _v), ((STRING, 0), (CONDITION, 0))) - -FINDING_CRITERIA: StaticSchema = (18, n0, _FCin, 0, (_Cr,), ((CRITERION, {_sN: _cr}),)) - -FILTER_NAME: StaticSchema = (3, n0, _FN, 0) - -FILTER_RANK: StaticSchema = (7, n0, _FR, 0) - -CREATE_FILTER_INPUT: StaticSchema = ( - 18, - n0, - _CFI, - {_sSI: _cCFR, _s: None}, - (_DI, _N, _De, _Ac, _Ra, _FCin, _CTl, _Ta), - ( - (DETECTOR_ID, 9), - (FILTER_NAME, {_sN: _n, _sm: None}), - (FILTER_DESCRIPTION, {_sN: _de}), - (FILTER_ACTION, {_sN: _ac}), - (FILTER_RANK, {_sN: _ra}), - (FINDING_CRITERIA, {_sN: _fCin, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (TAG_MAP, {_sN: _ta}), - ), -) - -CREATE_FILTER_OUTPUT: StaticSchema = ( - 18, - n0, - _CFO, - {_sSI: _cCFRo, _smi: None}, - (_N,), - ((FILTER_NAME, {_sN: _n, _sm: None}),), -) - -CREATE_FILTER: StaticOperationSchema = ( - 23, - n0, - _CF, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}/filter", "code": 200} - ) - }, - CREATE_FILTER_INPUT, - CREATE_FILTER_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -TRIGGER_PROMPT: StaticSchema = (3, n0, _TP, 0) - -CREATE_INVESTIGATION_INPUT: StaticSchema = ( - 18, - n0, - _CII, - {_sSI: _cCIR, _s: None}, - (_DI, _TP, _CTl), - ( - (DETECTOR_ID, 9), - (TRIGGER_PROMPT, {_sN: _tP, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - ), -) - -INVESTIGATION_ID: StaticSchema = (3, n0, _IInv, 0) - -CREATE_INVESTIGATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CIO, - {_sSI: _cCIRo, _smi: None}, - (_IInv,), - ((INVESTIGATION_ID, {_sN: _iInv, _sm: None}),), -) - -CREATE_INVESTIGATION: StaticOperationSchema = ( - 23, - n0, - _CI, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/investigation", - "code": 202, - } - ) - }, - CREATE_INVESTIGATION_INPUT, - CREATE_INVESTIGATION_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -IP_SET_FORMAT: StaticSchema = ( - 14, - n0, - _ISF, - 0, - (_TXT, _STIX, _OC, _AV___, _PP_, _FE), - ( - (-1, {_sV: _TXT}), - (-1, {_sV: _STIX}), - (-1, {_sV: _OC}), - (-1, {_sV: _AV___}), - (-1, {_sV: _PP_}), - (-1, {_sV: _FE}), - ), -) - -LOCATION: StaticSchema = (3, n0, _Loc, 0) - -NAME: StaticSchema = (3, n0, _N, 0) - -CREATE_IP_SET_INPUT: StaticSchema = ( - 18, - n0, - _CIPSI, - {_sSI: _cCIPSR, _s: None}, - (_DI, _N, _Fo, _Loc, _Activ, _CTl, _Ta, _EBO), - ( - (DETECTOR_ID, 9), - (NAME, {_sN: _n, _sm: None}), - (IP_SET_FORMAT, {_sN: _fo, _sm: None}), - (LOCATION, {_sN: _loc, _sm: None}), - (BOOLEAN, {_sN: _act, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (TAG_MAP, {_sN: _ta}), - (ACCOUNT_ID, {_sN: _eBO}), - ), -) - -CREATE_IP_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _CIPSO, - {_sSI: _cCIPSRo, _smi: None}, - (_ISI,), - ((STRING, {_sN: _iSI, _sm: None}),), -) - -CREATE_IP_SET: StaticOperationSchema = ( - 23, - n0, - _CIPS, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}/ipset", "code": 200} - ) - }, - CREATE_IP_SET_INPUT, - CREATE_IP_SET_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -MALWARE_PROTECTION_PLAN_TAGGING_ACTION_STATUS: StaticSchema = ( - 14, - n0, - _MPPTAS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -MALWARE_PROTECTION_PLAN_TAGGING_ACTION: StaticSchema = ( - 18, - n0, - _MPPTA, - 0, - (_St,), - ((MALWARE_PROTECTION_PLAN_TAGGING_ACTION_STATUS, {_sN: _st}),), -) - -MALWARE_PROTECTION_PLAN_ACTIONS: StaticSchema = ( - 18, - n0, - _MPPA, - 0, - (_Tag,), - ((MALWARE_PROTECTION_PLAN_TAGGING_ACTION, {_sN: _tag}),), -) - -MALWARE_PROTECTION_PLAN_OBJECT_PREFIXES_LIST: StaticSchema = ( - 16, - n0, - _MPPOPL, - 0, - (_me,), - ((STRING, 0),), -) - -CREATE_S3_BUCKET_RESOURCE: StaticSchema = ( - 18, - n0, - _CSBR, - 0, - (_BN, _OP), - ((STRING, {_sN: _bN}), (MALWARE_PROTECTION_PLAN_OBJECT_PREFIXES_LIST, {_sN: _oP})), -) - -CREATE_PROTECTED_RESOURCE: StaticSchema = ( - 18, - n0, - _CPR, - 0, - (_SB,), - ((CREATE_S3_BUCKET_RESOURCE, {_sN: _sB}),), -) - -CREATE_MALWARE_PROTECTION_PLAN_INPUT: StaticSchema = ( - 18, - n0, - _CMPPI, - {_sSI: _cCMPPR, _s: None}, - (_CTl, _Ro, _PR, _Actio, _Ta), - ( - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (STRING, {_sN: _ro, _sm: None}), - (CREATE_PROTECTED_RESOURCE, {_sN: _pR, _sm: None}), - (MALWARE_PROTECTION_PLAN_ACTIONS, {_sN: _acti}), - (TAG_MAP, {_sN: _ta}), - ), -) - -CREATE_MALWARE_PROTECTION_PLAN_OUTPUT: StaticSchema = ( - 18, - n0, - _CMPPO, - {_sSI: _cCMPPRo, _smi: None}, - (_MPPI,), - ((STRING, {_sN: _mPPI}),), -) - -CREATE_MALWARE_PROTECTION_PLAN: StaticOperationSchema = ( - 23, - n0, - _CMPP, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/malware-protection-plan", "code": 200} - ) - }, - CREATE_MALWARE_PROTECTION_PLAN_INPUT, - CREATE_MALWARE_PROTECTION_PLAN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - ), -) - -CREATE_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _CMI, - {_sSI: _cCMR, _s: None}, - (_DI, _ADc), - ((DETECTOR_ID, 9), (ACCOUNT_DETAILS, {_sN: _aDc, _sm: None})), -) - -UNPROCESSED_ACCOUNT: StaticSchema = ( - 18, - n0, - _UAn, - 0, - (_AIcc, _Res), - ((ACCOUNT_ID, {_sN: _aIc, _sm: None}), (STRING, {_sN: _res, _sm: None})), -) - -UNPROCESSED_ACCOUNTS: StaticSchema = ( - 16, - n0, - _UAnp, - 0, - (_me,), - ((UNPROCESSED_ACCOUNT, 0),), -) - -CREATE_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _CMO, - {_sSI: _cCMRo, _smi: None}, - (_UAnp,), - ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), -) - -CREATE_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _CM, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}/member", "code": 200} - ) - }, - CREATE_MEMBERS_INPUT, - CREATE_MEMBERS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DESTINATION_PROPERTIES: StaticSchema = ( - 18, - n0, - _DP, - 0, - (_DA, _KKA, _EBO), - ((STRING, {_sN: _dA}), (STRING, {_sN: _kKA}), (ACCOUNT_ID, {_sN: _eBO})), -) - -DESTINATION_TYPE: StaticSchema = (14, n0, _DT, 0, (_S_,), ((-1, {_sV: _S_}),)) - -CREATE_PUBLISHING_DESTINATION_INPUT: StaticSchema = ( - 18, - n0, - _CPDI, - {_sSI: _cCPDR, _s: None}, - (_DI, _DT, _DP, _CTl, _Ta), - ( - (DETECTOR_ID, 9), - (DESTINATION_TYPE, {_sN: _dT, _sm: None}), - (DESTINATION_PROPERTIES, {_sN: _dP, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (TAG_MAP, {_sN: _ta}), - ), -) - -CREATE_PUBLISHING_DESTINATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CPDO, - {_sSI: _cCPDRo, _smi: None}, - (_DIe,), - ((STRING, {_sN: _dIe, _sm: None}),), -) - -CREATE_PUBLISHING_DESTINATION: StaticOperationSchema = ( - 23, - n0, - _CPD, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/publishingDestination", - "code": 200, - } - ) - }, - CREATE_PUBLISHING_DESTINATION_INPUT, - CREATE_PUBLISHING_DESTINATION_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -FINDING_TYPES: StaticSchema = (16, n0, _FTi, 0, (_me,), ((FINDING_TYPE, 0),)) - -CREATE_SAMPLE_FINDINGS_INPUT: StaticSchema = ( - 18, - n0, - _CSFI, - {_sSI: _cCSFR, _s: None}, - (_DI, _FTi), - ((DETECTOR_ID, 9), (FINDING_TYPES, {_sN: _fT})), -) - -CREATE_SAMPLE_FINDINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _CSFO, - {_sSI: _cCSFRo, _smi: None}, -) - -CREATE_SAMPLE_FINDINGS: StaticOperationSchema = ( - 23, - n0, - _CSF, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/findings/create", - "code": 200, - } - ) - }, - CREATE_SAMPLE_FINDINGS_INPUT, - CREATE_SAMPLE_FINDINGS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -EXPECTED_BUCKET_OWNER: StaticSchema = (3, n0, _EBO, 0) - -THREAT_ENTITY_SET_FORMAT: StaticSchema = ( - 14, - n0, - _TESF, - 0, - (_TXT, _STIX, _OC, _AV___, _PP_, _FE), - ( - (-1, {_sV: _TXT}), - (-1, {_sV: _STIX}), - (-1, {_sV: _OC}), - (-1, {_sV: _AV___}), - (-1, {_sV: _PP_}), - (-1, {_sV: _FE}), - ), -) - -CREATE_THREAT_ENTITY_SET_INPUT: StaticSchema = ( - 18, - n0, - _CTESI, - {_sSI: _cCTESR, _s: None}, - (_DI, _N, _Fo, _Loc, _EBO, _Activ, _CTl, _Ta), - ( - (DETECTOR_ID, 9), - (NAME, {_sN: _n, _sm: None}), - (THREAT_ENTITY_SET_FORMAT, {_sN: _fo, _sm: None}), - (LOCATION, {_sN: _loc, _sm: None}), - (EXPECTED_BUCKET_OWNER, {_sN: _eBO}), - (BOOLEAN, {_sN: _act, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (TAG_MAP, {_sN: _ta}), - ), -) - -CREATE_THREAT_ENTITY_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _CTESO, - {_sSI: _cCTESRo, _smi: None}, - (_TESI,), - ((STRING, {_sN: _tESI, _sm: None}),), -) - -CREATE_THREAT_ENTITY_SET: StaticOperationSchema = ( - 23, - n0, - _CTES, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/threatentityset", - "code": 200, - } - ) - }, - CREATE_THREAT_ENTITY_SET_INPUT, - CREATE_THREAT_ENTITY_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -THREAT_INTEL_SET_FORMAT: StaticSchema = ( - 14, - n0, - _TISF, - 0, - (_TXT, _STIX, _OC, _AV___, _PP_, _FE), - ( - (-1, {_sV: _TXT}), - (-1, {_sV: _STIX}), - (-1, {_sV: _OC}), - (-1, {_sV: _AV___}), - (-1, {_sV: _PP_}), - (-1, {_sV: _FE}), - ), -) - -CREATE_THREAT_INTEL_SET_INPUT: StaticSchema = ( - 18, - n0, - _CTISI, - {_sSI: _cCTISR, _s: None}, - (_DI, _N, _Fo, _Loc, _Activ, _CTl, _Ta, _EBO), - ( - (DETECTOR_ID, 9), - (NAME, {_sN: _n, _sm: None}), - (THREAT_INTEL_SET_FORMAT, {_sN: _fo, _sm: None}), - (LOCATION, {_sN: _loc, _sm: None}), - (BOOLEAN, {_sN: _act, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (TAG_MAP, {_sN: _ta}), - (ACCOUNT_ID, {_sN: _eBO}), - ), -) - -CREATE_THREAT_INTEL_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _CTISO, - {_sSI: _cCTISRo, _smi: None}, - (_TISI,), - ((STRING, {_sN: _tISI, _sm: None}),), -) - -CREATE_THREAT_INTEL_SET: StaticOperationSchema = ( - 23, - n0, - _CTIS, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/threatintelset", - "code": 200, - } - ) - }, - CREATE_THREAT_INTEL_SET_INPUT, - CREATE_THREAT_INTEL_SET_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -TRUSTED_ENTITY_SET_FORMAT: StaticSchema = ( - 14, - n0, - _TESFr, - 0, - (_TXT, _STIX, _OC, _AV___, _PP_, _FE), - ( - (-1, {_sV: _TXT}), - (-1, {_sV: _STIX}), - (-1, {_sV: _OC}), - (-1, {_sV: _AV___}), - (-1, {_sV: _PP_}), - (-1, {_sV: _FE}), - ), -) - -CREATE_TRUSTED_ENTITY_SET_INPUT: StaticSchema = ( - 18, - n0, - _CTESIr, - {_sSI: _cCTESRom, _s: None}, - (_DI, _N, _Fo, _Loc, _EBO, _Activ, _CTl, _Ta), - ( - (DETECTOR_ID, 9), - (NAME, {_sN: _n, _sm: None}), - (TRUSTED_ENTITY_SET_FORMAT, {_sN: _fo, _sm: None}), - (LOCATION, {_sN: _loc, _sm: None}), - (EXPECTED_BUCKET_OWNER, {_sN: _eBO}), - (BOOLEAN, {_sN: _act, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (TAG_MAP, {_sN: _ta}), - ), -) - -CREATE_TRUSTED_ENTITY_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _CTESOr, - {_sSI: _cCTESRoma, _smi: None}, - (_TESIr,), - ((STRING, {_sN: _tESIr, _sm: None}),), -) - -CREATE_TRUSTED_ENTITY_SET: StaticOperationSchema = ( - 23, - n0, - _CTESr, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/trustedentityset", - "code": 200, - } - ) - }, - CREATE_TRUSTED_ENTITY_SET_INPUT, - CREATE_TRUSTED_ENTITY_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -CRITERION_KEY: StaticSchema = ( - 14, - n0, - _CK, - 0, - (_EIA, _SI_, _AI_, _GFI, _SST, _SS_, _ST_), - ( - (-1, {_sV: _EIA}), - (-1, {_sV: _SI_}), - (-1, {_sV: _AI_}), - (-1, {_sV: _GFI}), - (-1, {_sV: _SST}), - (-1, {_sV: _SS_}), - (-1, {_sV: _ST_}), - ), -) - -DATA_SOURCE: StaticSchema = ( - 14, - n0, - _DSa, - 0, - (_FL_, _CT_, _DL_, _SL_, _KAL, _EMS), - ( - (-1, {_sV: _FL_}), - (-1, {_sV: _CT_}), - (-1, {_sV: _DL_}), - (-1, {_sV: _SL_}), - (-1, {_sV: _KAL}), - (-1, {_sV: _EMS}), - ), -) - -DNS_LOGS_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _DNSLCR, - 0, - (_St,), - ((DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), -) - -FLOW_LOGS_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _FLCR, - 0, - (_St,), - ((DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), -) - -KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _KALCR, - 0, - (_St,), - ((DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), -) - -KUBERNETES_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _KCR, - 0, - (_AL,), - ((KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT, {_sN: _aL, _sm: None}),), -) - -S3_LOGS_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _SLCR, - 0, - (_St,), - ((DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), -) - -DATA_SOURCE_CONFIGURATIONS_RESULT: StaticSchema = ( - 18, - n0, - _DSCR, - 0, - (_CT, _DNSL, _FL, _SL, _K, _MP), - ( - (CLOUD_TRAIL_CONFIGURATION_RESULT, {_sN: _cT, _sm: None}), - (DNS_LOGS_CONFIGURATION_RESULT, {_sN: _dL, _sm: None}), - (FLOW_LOGS_CONFIGURATION_RESULT, {_sN: _fL, _sm: None}), - (S3_LOGS_CONFIGURATION_RESULT, {_sN: _sLo, _sm: None}), - (KUBERNETES_CONFIGURATION_RESULT, {_sN: _k}), - (MALWARE_PROTECTION_CONFIGURATION_RESULT, {_sN: _mP}), - ), -) - -DATA_SOURCE_LIST: StaticSchema = (16, n0, _DSL, 0, (_me,), ((DATA_SOURCE, 0),)) - -DATE_STATISTICS: StaticSchema = ( - 18, - n0, - _DSat, - 0, - (_Da, _LGA, _Sev, _TF), - ( - (TIMESTAMP, {_sN: _da}), - (TIMESTAMP, {_sN: _lGA}), - (DOUBLE, {_sN: _sev}), - (INTEGER, {_sN: _tF}), - ), -) - -DECLINE_INVITATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DII, - {_sSI: _cDIR, _s: None}, - (_AIcco,), - ((ACCOUNT_IDS, {_sN: _aIcc, _sm: None}),), -) - -DECLINE_INVITATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIO, - {_sSI: _cDIRo, _smi: None}, - (_UAnp,), - ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), -) - -DECLINE_INVITATIONS: StaticOperationSchema = ( - 23, - n0, - _DIec, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/invitation/decline", "code": 200} - ) - }, - DECLINE_INVITATIONS_INPUT, - DECLINE_INVITATIONS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DEFAULT_SERVER_SIDE_ENCRYPTION: StaticSchema = ( - 18, - n0, - _DSSE, - 0, - (_ETn, _KMKA), - ((STRING, {_sN: _eTn}), (STRING, {_sN: _kMKA})), -) - -DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _DCDRAI, - {_sSI: _cDCDRAR, _s: None}, - (_RI, _AIs), - ((RULE_ID, 9), (ASSOCIATION_ID, 9)), -) - -DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DCDRAO, - {_sSI: _cDCDRARo, _smi: None}, -) - -DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _DCDRA, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/custom-detection-rule/rule/{RuleId}/association/{AssociationId}", - "code": 200, - } - ) - }, - DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT, - DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DCDROCI, - {_sSI: _cDCDROCR, _s: None}, - (_RI, _Mo), - ((RULE_ID, 9), (ASSOCIATION_MODE, {_sQ: _mo, _sm: None})), -) - -DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DCDROCO, - {_sSI: _cDCDROCRo, _smi: None}, -) - -DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DCDROC, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/custom-detection-rule/org-configuration/{RuleId}", - "code": 200, - } - ) - }, - DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT, - DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DELETE_DETECTOR_INPUT: StaticSchema = ( - 18, - n0, - _DDI, - {_sSI: _cDDR, _s: None}, - (_DI,), - ((DETECTOR_ID, 9),), -) - -DELETE_DETECTOR_OUTPUT: StaticSchema = (18, n0, _DDO, {_sSI: _cDDRo, _smi: None}) - -DELETE_DETECTOR: StaticOperationSchema = ( - 23, - n0, - _DDe, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/detector/{DetectorId}", "code": 200} - ) - }, - DELETE_DETECTOR_INPUT, - DELETE_DETECTOR_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DELETE_FILTER_INPUT: StaticSchema = ( - 18, - n0, - _DFI, - {_sSI: _cDFR, _s: None}, - (_DI, _FN), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -DELETE_FILTER_OUTPUT: StaticSchema = (18, n0, _DFO, {_sSI: _cDFRo, _smi: None}) - -DELETE_FILTER: StaticOperationSchema = ( - 23, - n0, - _DFe, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/detector/{DetectorId}/filter/{FilterName}", - "code": 200, - } - ) - }, - DELETE_FILTER_INPUT, - DELETE_FILTER_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DELETE_INVITATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DIIe, - {_sSI: _cDIRom, _s: None}, - (_AIcco,), - ((ACCOUNT_IDS, {_sN: _aIcc, _sm: None}),), -) - -DELETE_INVITATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOe, - {_sSI: _cDIRoma, _smi: None}, - (_UAnp,), - ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), -) - -DELETE_INVITATIONS: StaticOperationSchema = ( - 23, - n0, - _DIel, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/invitation/delete", "code": 200} - ) - }, - DELETE_INVITATIONS_INPUT, - DELETE_INVITATIONS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DELETE_IP_SET_INPUT: StaticSchema = ( - 18, - n0, - _DIPSI, - {_sSI: _cDIPSR, _s: None}, - (_DI, _ISI), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -DELETE_IP_SET_OUTPUT: StaticSchema = (18, n0, _DIPSO, {_sSI: _cDIPSRo, _smi: None}) - -DELETE_IP_SET: StaticOperationSchema = ( - 23, - n0, - _DIPS, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/detector/{DetectorId}/ipset/{IpSetId}", - "code": 200, - } - ) - }, - DELETE_IP_SET_INPUT, - DELETE_IP_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DELETE_MALWARE_PROTECTION_PLAN_INPUT: StaticSchema = ( - 18, - n0, - _DMPPI, - {_sSI: _cDMPPR, _s: None}, - (_MPPI,), - ((STRING, 9),), -) - -DELETE_MALWARE_PROTECTION_PLAN_OUTPUT: StaticSchema = ( - 18, - n0, - _DMPPO, - {_sSI: _sU, _smi: None}, -) - -DELETE_MALWARE_PROTECTION_PLAN: StaticOperationSchema = ( - 23, - n0, - _DMPP, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/malware-protection-plan/{MalwareProtectionPlanId}", - "code": 200, - } - ) - }, - DELETE_MALWARE_PROTECTION_PLAN_INPUT, - DELETE_MALWARE_PROTECTION_PLAN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DELETE_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _DMI, - {_sSI: _cDMR, _s: None}, - (_DI, _AIcco), - ((DETECTOR_ID, 9), (ACCOUNT_IDS, {_sN: _aIcc, _sm: None})), -) - -DELETE_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DMO, - {_sSI: _cDMRo, _smi: None}, - (_UAnp,), - ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), -) - -DELETE_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _DM, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/member/delete", - "code": 200, - } - ) - }, - DELETE_MEMBERS_INPUT, - DELETE_MEMBERS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DELETE_PUBLISHING_DESTINATION_INPUT: StaticSchema = ( - 18, - n0, - _DPDI, - {_sSI: _cDPDR, _s: None}, - (_DI, _DIe), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -DELETE_PUBLISHING_DESTINATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DPDO, - {_sSI: _cDPDRo, _smi: None}, -) - -DELETE_PUBLISHING_DESTINATION: StaticOperationSchema = ( - 23, - n0, - _DPD, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/detector/{DetectorId}/publishingDestination/{DestinationId}", - "code": 200, - } - ) - }, - DELETE_PUBLISHING_DESTINATION_INPUT, - DELETE_PUBLISHING_DESTINATION_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DELETE_THREAT_ENTITY_SET_INPUT: StaticSchema = ( - 18, - n0, - _DTESI, - {_sSI: _cDTESR, _s: None}, - (_DI, _TESI), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -DELETE_THREAT_ENTITY_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _DTESO, - {_sSI: _cDTESRo, _smi: None}, -) - -DELETE_THREAT_ENTITY_SET: StaticOperationSchema = ( - 23, - n0, - _DTES, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", - "code": 200, - } - ) - }, - DELETE_THREAT_ENTITY_SET_INPUT, - DELETE_THREAT_ENTITY_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DELETE_THREAT_INTEL_SET_INPUT: StaticSchema = ( - 18, - n0, - _DTISI, - {_sSI: _cDTISR, _s: None}, - (_DI, _TISI), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -DELETE_THREAT_INTEL_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _DTISO, - {_sSI: _cDTISRo, _smi: None}, -) - -DELETE_THREAT_INTEL_SET: StaticOperationSchema = ( - 23, - n0, - _DTIS, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", - "code": 200, - } - ) - }, - DELETE_THREAT_INTEL_SET_INPUT, - DELETE_THREAT_INTEL_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DELETE_TRUSTED_ENTITY_SET_INPUT: StaticSchema = ( - 18, - n0, - _DTESIe, - {_sSI: _cDTESRom, _s: None}, - (_DI, _TESIr), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -DELETE_TRUSTED_ENTITY_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _DTESOe, - {_sSI: _cDTESRoma, _smi: None}, -) - -DELETE_TRUSTED_ENTITY_SET: StaticOperationSchema = ( - 23, - n0, - _DTESe, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", - "code": 200, - } - ) - }, - DELETE_TRUSTED_ENTITY_SET_INPUT, - DELETE_TRUSTED_ENTITY_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LONG_VALUE: StaticSchema = (8, n0, _LV, 0) - -FILTER_CONDITION: StaticSchema = ( - 18, - n0, - _FC, - 0, - (_EVq, _GT, _LT), - ( - (NON_EMPTY_STRING, {_sN: _eVq}), - (LONG_VALUE, {_sN: _gT}), - (LONG_VALUE, {_sN: _lT}), - ), -) - -FILTER_CRITERION: StaticSchema = ( - 18, - n0, - _FCi, - 0, - (_CK, _FC), - ((CRITERION_KEY, {_sN: _cK}), (FILTER_CONDITION, {_sN: _fC})), -) - -FILTER_CRITERION_LIST: StaticSchema = ( - 16, - n0, - _FCL, - 0, - (_me,), - ((FILTER_CRITERION, 0),), -) - -FILTER_CRITERIA: StaticSchema = ( - 18, - n0, - _FCil, - 0, - (_FCi,), - ((FILTER_CRITERION_LIST, {_sN: _fCi}),), -) - -INTEGER_VALUE_WITH_MAX: StaticSchema = (7, n0, _IVWM, 0) - -SORT_CRITERIA: StaticSchema = ( - 18, - n0, - _SCo, - 0, - (_AN, _OB), - ((STRING, {_sN: _aN}), (ORDER_BY, {_sN: _oB})), -) - -DESCRIBE_MALWARE_SCANS_INPUT: StaticSchema = ( - 18, - n0, - _DMSI, - {_sSI: _cDMSR, _s: None}, - (_DI, _NT, _MR, _FCil, _SCo), - ( - (DETECTOR_ID, 9), - (STRING, {_sN: _nT}), - (INTEGER_VALUE_WITH_MAX, {_sN: _mR}), - (FILTER_CRITERIA, {_sN: _fCil}), - (SORT_CRITERIA, {_sN: _sCo}), - ), -) - -VOLUME_DETAIL: StaticSchema = ( - 18, - n0, - _VD, - 0, - (_VA, _VT, _DN, _VSIGB, _ETn, _SA, _KKA), - ( - (STRING, {_sN: _vA}), - (STRING, {_sN: _vT}), - (STRING, {_sN: _dN}), - (INTEGER, {_sN: _vSIGB}), - (STRING, {_sN: _eTn}), - (STRING, {_sN: _sA}), - (STRING, {_sN: _kKA}), - ), -) - -VOLUME_DETAILS: StaticSchema = (16, n0, _VDo, 0, (_me,), ((VOLUME_DETAIL, 0),)) - -POSITIVE_LONG: StaticSchema = (8, n0, _PL, 0) - -INSTANCE_ARN: StaticSchema = (3, n0, _IAn, 0) - -RESOURCE_DETAILS: StaticSchema = ( - 18, - n0, - _RD, - 0, - (_IAn,), - ((INSTANCE_ARN, {_sN: _iAn}),), -) - -SCAN_RESULT: StaticSchema = ( - 14, - n0, - _SRc, - 0, - (_CLEAN, _INFECTED), - ((-1, {_sV: _CLEAN}), (-1, {_sV: _INFECTED})), -) - -SCAN_RESULT_DETAILS: StaticSchema = ( - 18, - n0, - _SRD, - 0, - (_SRc,), - ((SCAN_RESULT, {_sN: _sRc}),), -) - -SCAN_STATUS: StaticSchema = ( - 14, - n0, - _SSc, - 0, - (_RUNNING, _COMPLETED, _FAILED, _SKIPPED), - ( - (-1, {_sV: _RUNNING}), - (-1, {_sV: _COMPLETED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _SKIPPED}), - ), -) - -SCAN_TYPE: StaticSchema = ( - 14, - n0, - _STc, - 0, - (_GI_, _OD), - ((-1, {_sV: _GI_}), (-1, {_sV: _OD})), -) - -TRIGGER_TYPE: StaticSchema = ( - 14, - n0, - _TT, - 0, - (_BACKUP, _GUARDDUTY), - ((-1, {_sV: _BACKUP}), (-1, {_sV: _GUARDDUTY})), -) - -TRIGGER_DETAILS: StaticSchema = ( - 18, - n0, - _TD, - 0, - (_GDFI, _De, _TT), - ( - (NON_EMPTY_STRING, {_sN: _gDFI}), - (NON_EMPTY_STRING, {_sN: _de}), - (TRIGGER_TYPE, {_sN: _tT}), - ), -) - -SCAN: StaticSchema = ( - 18, - n0, - _Sc, - 0, - ( - _DI, - _ADI, - _SIc, - _SSc, - _FRa, - _SSTc, - _SET, - _TD, - _RD, - _SRD, - _AIcc, - _TB, - _FCile, - _AVt, - _STc, - ), - ( - (DETECTOR_ID, {_sN: _dI}), - (DETECTOR_ID, {_sN: _aDI}), - (NON_EMPTY_STRING, {_sN: _sI}), - (SCAN_STATUS, {_sN: _sS}), - (NON_EMPTY_STRING, {_sN: _fR}), - (TIMESTAMP, {_sN: _sST}), - (TIMESTAMP, {_sN: _sET}), - (TRIGGER_DETAILS, {_sN: _tD}), - (RESOURCE_DETAILS, {_sN: _rD}), - (SCAN_RESULT_DETAILS, {_sN: _sRD}), - (ACCOUNT_ID, {_sN: _aIc}), - (POSITIVE_LONG, {_sN: _tB}), - (POSITIVE_LONG, {_sN: _fCile}), - (VOLUME_DETAILS, {_sN: _aVt}), - (SCAN_TYPE, {_sN: _sTc}), - ), -) - -SCANS: StaticSchema = (16, n0, _Sca, 0, (_me,), ((SCAN, 0),)) - -DESCRIBE_MALWARE_SCANS_OUTPUT: StaticSchema = ( - 18, - n0, - _DMSO, - {_sSI: _cDMSRo, _smi: None}, - (_Sca, _NT), - ((SCANS, {_sN: _sc, _sm: None}), (STRING, {_sN: _nT})), -) - -DESCRIBE_MALWARE_SCANS: StaticOperationSchema = ( - 23, - n0, - _DMS, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/malware-scans", - "code": 200, - } - ) - }, - DESCRIBE_MALWARE_SCANS_INPUT, - DESCRIBE_MALWARE_SCANS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -DESCRIBE_ORGANIZATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DOCI, - {_sSI: _cDOCR, _s: None}, - (_DI, _MR, _NT), - ((DETECTOR_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _OKALCR, - 0, - (_AE,), - ((BOOLEAN, {_sN: _aE, _sm: None}),), -) - -ORGANIZATION_KUBERNETES_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _OKCR, - 0, - (_AL,), - ((ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT, {_sN: _aL, _sm: None}),), -) - -ORGANIZATION_EBS_VOLUMES_RESULT: StaticSchema = ( - 18, - n0, - _OEVR, - 0, - (_AE,), - ((BOOLEAN, {_sN: _aE}),), -) - -ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT: StaticSchema = ( - 18, - n0, - _OSEIWFR, - 0, - (_EV,), - ((ORGANIZATION_EBS_VOLUMES_RESULT, {_sN: _eV}),), -) - -ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _OMPCR, - 0, - (_SEIWF,), - ((ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT, {_sN: _sEIWF}),), -) - -ORGANIZATION_S3_LOGS_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _OSLCR, - 0, - (_AE,), - ((BOOLEAN, {_sN: _aE, _sm: None}),), -) - -ORGANIZATION_DATA_SOURCE_CONFIGURATIONS_RESULT: StaticSchema = ( - 18, - n0, - _ODSCR, - 0, - (_SL, _K, _MP), - ( - (ORGANIZATION_S3_LOGS_CONFIGURATION_RESULT, {_sN: _sLo, _sm: None}), - (ORGANIZATION_KUBERNETES_CONFIGURATION_RESULT, {_sN: _k}), - (ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION_RESULT, {_sN: _mP}), - ), -) - -ORG_FEATURE_STATUS: StaticSchema = ( - 14, - n0, - _OFS, - 0, - (_NEW, _NONE, _ALL), - ((-1, {_sV: _NEW}), (-1, {_sV: _NONE}), (-1, {_sV: _ALL})), -) - -ORG_FEATURE_ADDITIONAL_CONFIGURATION: StaticSchema = ( - 14, - n0, - _OFAC, - 0, - (_EAM, _EFAM, _EAM_, _RDR), - ((-1, {_sV: _EAM}), (-1, {_sV: _EFAM}), (-1, {_sV: _EAM_}), (-1, {_sV: _RDR})), -) - -ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _OACR, - 0, - (_N, _AE), - ( - (ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), - (ORG_FEATURE_STATUS, {_sN: _aE}), - ), -) - -ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULTS: StaticSchema = ( - 16, - n0, - _OACRr, - 0, - (_me,), - ((ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULT, 0),), -) - -ORG_FEATURE: StaticSchema = ( - 14, - n0, - _OF, - 0, - (_SDE, _EAL, _EMP, _RLE, _LNL, _ERM, _RM, _AP), - ( - (-1, {_sV: _SDE}), - (-1, {_sV: _EAL}), - (-1, {_sV: _EMP}), - (-1, {_sV: _RLE}), - (-1, {_sV: _LNL}), - (-1, {_sV: _ERM}), - (-1, {_sV: _RM}), - (-1, {_sV: _AP}), - ), -) - -ORGANIZATION_FEATURE_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _OFCR, - 0, - (_N, _AE, _ACd), - ( - (ORG_FEATURE, {_sN: _n}), - (ORG_FEATURE_STATUS, {_sN: _aE}), - (ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULTS, {_sN: _aC}), - ), -) - -ORGANIZATION_FEATURES_CONFIGURATIONS_RESULTS: StaticSchema = ( - 16, - n0, - _OFCRr, - 0, - (_me,), - ((ORGANIZATION_FEATURE_CONFIGURATION_RESULT, 0),), -) - -DESCRIBE_ORGANIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DOCO, - {_sSI: _cDOCRo, _smi: None}, - (_AE, _MALR, _DS, _F, _NT, _AEOM), - ( - (BOOLEAN, {_sN: _aE}), - (BOOLEAN, {_sN: _mALR, _sm: None}), - (ORGANIZATION_DATA_SOURCE_CONFIGURATIONS_RESULT, {_sN: _dS}), - (ORGANIZATION_FEATURES_CONFIGURATIONS_RESULTS, {_sN: _f}), - (STRING, {_sN: _nT}), - (AUTO_ENABLE_MEMBERS, {_sN: _aEOM}), - ), -) - -DESCRIBE_ORGANIZATION_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DOC, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/detector/{DetectorId}/admin", "code": 200} - ) - }, - DESCRIBE_ORGANIZATION_CONFIGURATION_INPUT, - DESCRIBE_ORGANIZATION_CONFIGURATION_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DESCRIBE_PUBLISHING_DESTINATION_INPUT: StaticSchema = ( - 18, - n0, - _DPDIe, - {_sSI: _cDPDRom, _s: None}, - (_DI, _DIe), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -PUBLISHING_STATUS: StaticSchema = ( - 14, - n0, - _PSu, - 0, - (_PV, _PUBLISHING, _UTPFDP, _STOPPED), - ( - (-1, {_sV: _PV}), - (-1, {_sV: _PUBLISHING}), - (-1, {_sV: _UTPFDP}), - (-1, {_sV: _STOPPED}), - ), -) - -DESCRIBE_PUBLISHING_DESTINATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DPDOe, - {_sSI: _cDPDRoma, _smi: None}, - (_DIe, _DT, _St, _PFST, _DP, _Ta), - ( - (STRING, {_sN: _dIe, _sm: None}), - (DESTINATION_TYPE, {_sN: _dT, _sm: None}), - (PUBLISHING_STATUS, {_sN: _st, _sm: None}), - (LONG, {_sN: _pFST, _sm: None}), - (DESTINATION_PROPERTIES, {_sN: _dP, _sm: None}), - (TAG_MAP, {_sN: _ta}), - ), -) - -DESCRIBE_PUBLISHING_DESTINATION: StaticOperationSchema = ( - 23, - n0, - _DPDe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/publishingDestination/{DestinationId}", - "code": 200, - } - ) - }, - DESCRIBE_PUBLISHING_DESTINATION_INPUT, - DESCRIBE_PUBLISHING_DESTINATION_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DESTINATION: StaticSchema = ( - 18, - n0, - _Des, - 0, - (_DIe, _DT, _St), - ( - (STRING, {_sN: _dIe, _sm: None}), - (DESTINATION_TYPE, {_sN: _dT, _sm: None}), - (PUBLISHING_STATUS, {_sN: _st, _sm: None}), - ), -) - -DESTINATIONS: StaticSchema = (16, n0, _Dest, 0, (_me,), ((DESTINATION, 0),)) - -SEQUENCE_DESCRIPTION: StaticSchema = (3, n0, _SD, 0) - -NETWORK_DIRECTION: StaticSchema = ( - 14, - n0, - _ND, - 0, - (_INBOUND, _OUTBOUND), - ((-1, {_sV: _INBOUND}), (-1, {_sV: _OUTBOUND})), -) - -NETWORK_CONNECTION: StaticSchema = ( - 18, - n0, - _NC, - 0, - (_Di,), - ((NETWORK_DIRECTION, {_sN: _di, _sm: None}),), -) - -NETWORK_GEO_LOCATION: StaticSchema = ( - 18, - n0, - _NGL, - 0, - (_C, _Co, _La, _Long), - ( - (STRING, {_sN: _ci, _sm: None}), - (STRING, {_sN: _co, _sm: None}), - (DOUBLE, {_sN: _l, _sm: None}), - (DOUBLE, {_sN: _lo, _sm: None}), - ), -) - -NETWORK_ENDPOINT: StaticSchema = ( - 18, - n0, - _NEe, - 0, - (_Id, _Ip, _D, _Po, _Loc, _ASu, _Conn), - ( - (STRING, {_sN: _id, _sm: None}), - (STRING, {_sN: _ip}), - (STRING, {_sN: _d}), - (INTEGER, {_sN: _po}), - (NETWORK_GEO_LOCATION, {_sN: _loc}), - (AUTONOMOUS_SYSTEM, {_sN: _aSu}), - (NETWORK_CONNECTION, {_sN: _conn}), - ), -) - -NETWORK_ENDPOINTS: StaticSchema = (16, n0, _NEet, 0, (_me,), ((NETWORK_ENDPOINT, 0),)) - -EC2_IMAGE: StaticSchema = ( - 18, - n0, - _EI, - 0, - (_EIUc,), - ((EC2_INSTANCE_UIDS, {_sN: _eIU}),), -) - -EC2_NETWORK_INTERFACE_UIDS: StaticSchema = (16, n0, _ENIU, 0, (_me,), ((STRING, 0),)) - -IAM_INSTANCE_PROFILE: StaticSchema = ( - 18, - n0, - _IIP, - 0, - (_Ar, _Id), - ((STRING, {_sN: _ar}), (STRING, {_sN: _id})), -) - -PRODUCT_CODE: StaticSchema = ( - 18, - n0, - _PC, - 0, - (_Cod, _PTr), - ((STRING, {_sN: _pCI}), (STRING, {_sN: _pCT})), -) - -PRODUCT_CODES: StaticSchema = (16, n0, _PCr, 0, (_me,), ((PRODUCT_CODE, 0),)) - -EC2_INSTANCE: StaticSchema = ( - 18, - n0, - _EIc, - 0, - (_AZ, _ID, _IS, _IIP, _IT, _OA, _Pl, _PCr, _ENIU), - ( - (STRING, {_sN: _aZ}), - (STRING, {_sN: _iD}), - (STRING, {_sN: _iS}), - (IAM_INSTANCE_PROFILE, 0), - (STRING, {_sN: _iT}), - (STRING, {_sN: _oA}), - (STRING, {_sN: _pl}), - (PRODUCT_CODES, {_sN: _pC}), - (EC2_NETWORK_INTERFACE_UIDS, {_sN: _eNIU}), - ), -) - -LAUNCH_TEMPLATE_VERSION: StaticSchema = (3, n0, _LTV, 0) - -EC2_LAUNCH_TEMPLATE: StaticSchema = ( - 18, - n0, - _ELT, - 0, - (_EIUc, _Ve), - ((EC2_INSTANCE_UIDS, {_sN: _eIU}), (LAUNCH_TEMPLATE_VERSION, {_sN: _ver})), -) - -IPV6_ADDRESSES: StaticSchema = (16, n0, _IAp, 0, (_me,), ((STRING, 0),)) - -PRIVATE_IP_ADDRESS_DETAILS: StaticSchema = ( - 18, - n0, - _PIAD, - 0, - (_PDN, _PIA), - ((STRING, {_sN: _pDN}), (SENSITIVE_STRING, {_sN: _pIA})), -) - -PRIVATE_IP_ADDRESSES: StaticSchema = ( - 16, - n0, - _PIAr, - 0, - (_me,), - ((PRIVATE_IP_ADDRESS_DETAILS, 0),), -) - -SECURITY_GROUP: StaticSchema = ( - 18, - n0, - _SG, - 0, - (_GIr, _GN), - ((STRING, {_sN: _gI}), (STRING, {_sN: _gN})), -) - -SECURITY_GROUPS: StaticSchema = (16, n0, _SGe, 0, (_me,), ((SECURITY_GROUP, 0),)) - -EC2_NETWORK_INTERFACE: StaticSchema = ( - 18, - n0, - _ENI, - 0, - (_IAp, _PIAr, _PIu, _SGe, _SNI, _VIp), - ( - (IPV6_ADDRESSES, {_sN: _iAp}), - (PRIVATE_IP_ADDRESSES, {_sN: _pIAr}), - (STRING, {_sN: _pIu}), - (SECURITY_GROUPS, {_sN: _sG}), - (STRING, {_sN: _sNI}), - (STRING, {_sN: _vIp}), - ), -) - -EC2_VPC: StaticSchema = (18, n0, _EVc, 0, (_EIUc,), ((EC2_INSTANCE_UIDS, {_sN: _eIU}),)) - -ECS_CLUSTER_STATUS: StaticSchema = ( - 14, - n0, - _ECSc, - 0, - (_ACTIVE, _PROVISIONING, _DEPROVISIONING, _FAILED, _INACTIVE), - ( - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _PROVISIONING}), - (-1, {_sV: _DEPROVISIONING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _INACTIVE}), - ), -) - -ECS_CLUSTER: StaticSchema = ( - 18, - n0, - _ECc, - 0, - (_St, _EIUc), - ((ECS_CLUSTER_STATUS, {_sN: _st}), (EC2_INSTANCE_UIDS, {_sN: _eIU})), -) - -ECS_LAUNCH_TYPE: StaticSchema = ( - 14, - n0, - _ELTc, - 0, - (_FARGATE, _EC_), - ((-1, {_sV: _FARGATE}), (-1, {_sV: _EC_})), -) - -ECS_TASK: StaticSchema = ( - 18, - n0, - _ETc, - 0, - (_CA, _TDA, _LTa, _CUon), - ( - (TIMESTAMP, {_sN: _cA}), - (STRING, {_sN: _tDA}), - (ECS_LAUNCH_TYPE, {_sN: _lTa}), - (CONTAINER_UIDS, {_sN: _cUo}), - ), -) - -EKS_CLUSTER: StaticSchema = ( - 18, - n0, - _ECk, - 0, - (_Ar, _CA, _St, _VIp, _EIUc), - ( - (STRING, {_sN: _ar}), - (TIMESTAMP, {_sN: _cA}), - (CLUSTER_STATUS, {_sN: _st}), - (STRING, {_sN: _vIp}), - (EC2_INSTANCE_UIDS, {_sN: _eIU}), - ), -) - -IAM_INSTANCE_PROFILE_V2: StaticSchema = ( - 18, - n0, - _IIPV, - 0, - (_EIUc,), - ((EC2_INSTANCE_UIDS, {_sN: _eIU}),), -) - -KUBERNETES_RESOURCES_TYPES: StaticSchema = ( - 14, - n0, - _KRT, - 0, - ( - _PODS, - _JOBS, - _CRONJOBS, - _DEPLOYMENTS, - _DAEMONSETS, - _STATEFULSETS, - _REPLICASETS, - _REPLICATIONCONTROLLERS, - ), - ( - (-1, {_sV: _PODS}), - (-1, {_sV: _JOBS}), - (-1, {_sV: _CRONJOBS}), - (-1, {_sV: _DEPLOYMENTS}), - (-1, {_sV: _DAEMONSETS}), - (-1, {_sV: _STATEFULSETS}), - (-1, {_sV: _REPLICASETS}), - (-1, {_sV: _REPLICATIONCONTROLLERS}), - ), -) - -KUBERNETES_WORKLOAD: StaticSchema = ( - 18, - n0, - _KW, - 0, - (_CUon, _Na, _KRT), - ( - (CONTAINER_UIDS, {_sN: _cUo}), - (STRING, {_sN: _na}), - (KUBERNETES_RESOURCES_TYPES, {_sN: _t}), - ), -) - -PUBLIC_ACCESS_STATUS: StaticSchema = ( - 14, - n0, - _PAS, - 0, - (_BLOCKED, _ALLOWED), - ((-1, {_sV: _BLOCKED}), (-1, {_sV: _ALLOWED})), -) - -PUBLIC_ACL_IGNORE_BEHAVIOR: StaticSchema = ( - 14, - n0, - _PAIB, - 0, - (_IGNORED, _NI), - ((-1, {_sV: _IGNORED}), (-1, {_sV: _NI})), -) - -PUBLIC_BUCKET_RESTRICT_BEHAVIOR: StaticSchema = ( - 14, - n0, - _PBRB, - 0, - (_RESTRICTED, _NR), - ((-1, {_sV: _RESTRICTED}), (-1, {_sV: _NR})), -) - -PUBLIC_ACCESS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PAC, - 0, - (_PAA, _PPAu, _PAIB, _PBRB), - ( - (PUBLIC_ACCESS_STATUS, {_sN: _pAA}), - (PUBLIC_ACCESS_STATUS, {_sN: _pPAu}), - (PUBLIC_ACL_IGNORE_BEHAVIOR, {_sN: _pAIB}), - (PUBLIC_BUCKET_RESTRICT_BEHAVIOR, {_sN: _pBRB}), - ), -) - -S3_OBJECT_UIDS: StaticSchema = (16, n0, _SOU, 0, (_me,), ((STRING, 0),)) - -S3_BUCKET: StaticSchema = ( - 18, - n0, - _SB, - 0, - (_OI, _CA, _ETn, _EKA, _EP, _PRA, _PWA, _APA, _BPAu, _SOU), - ( - (STRING, {_sN: _oI}), - (TIMESTAMP, {_sN: _cA}), - (STRING, {_sN: _eTn}), - (STRING, {_sN: _eKA}), - (STRING, {_sN: _eP}), - (PUBLIC_ACCESS_STATUS, {_sN: _pRA}), - (PUBLIC_ACCESS_STATUS, {_sN: _pWA}), - (PUBLIC_ACCESS_CONFIGURATION, {_sN: _aPA}), - (PUBLIC_ACCESS_CONFIGURATION, {_sN: _bPAu}), - (S3_OBJECT_UIDS, {_sN: _sOU}), - ), -) - -S3_OBJECT: StaticSchema = ( - 18, - n0, - _SO, - 0, - (_ETa, _Ke, _VI), - ((STRING, {_sN: _eTa}), (STRING, {_sN: _ke}), (STRING, {_sN: _vI})), -) - -RESOURCE_DATA: StaticSchema = ( - 18, - n0, - _RDe, - 0, - ( - _SB, - _EIc, - _AK, - _ENI, - _SO, - _ECk, - _KW, - _Cont, - _ECc, - _ETc, - _IIP, - _AASG, - _ELT, - _EVc, - _EI, - _CS, - _BG, - ), - ( - (S3_BUCKET, {_sN: _sB}), - (EC2_INSTANCE, {_sN: _eI}), - (ACCESS_KEY, {_sN: _aK}), - (EC2_NETWORK_INTERFACE, {_sN: _eNI}), - (S3_OBJECT, {_sN: _sO}), - (EKS_CLUSTER, {_sN: _eCk}), - (KUBERNETES_WORKLOAD, {_sN: _kW}), - (CONTAINER_FINDING_RESOURCE, {_sN: _cont}), - (ECS_CLUSTER, {_sN: _eCc}), - (ECS_TASK, {_sN: _eTc}), - (IAM_INSTANCE_PROFILE_V2, {_sN: _iIP}), - (AUTOSCALING_AUTO_SCALING_GROUP, {_sN: _aASG}), - (EC2_LAUNCH_TEMPLATE, {_sN: _eLT}), - (EC2_VPC, {_sN: _eVc}), - (EC2_IMAGE, {_sN: _eIc}), - (CLOUDFORMATION_STACK, {_sN: _cSl}), - (BEDROCK_GUARDRAIL_RESOURCE, {_sN: _bG}), - ), -) - -FINDING_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _FRT, - 0, - ( - _EI_, - _ENI_, - _SB_, - _SO_, - _AK_, - _EC__, - _KW_, - _CONTAINER, - _EC___, - _ET_, - _AASG_, - _IIP_, - _CS__, - _ELT_, - _EV_, - _EI__, - _BCM, - _BIM, - _BPM, - _BCMD, - _BIP, - _BAIP, - _BP_, - _BPR, - _BG_, - _SE, - ), - ( - (-1, {_sV: _EI_}), - (-1, {_sV: _ENI_}), - (-1, {_sV: _SB_}), - (-1, {_sV: _SO_}), - (-1, {_sV: _AK_}), - (-1, {_sV: _EC__}), - (-1, {_sV: _KW_}), - (-1, {_sV: _CONTAINER}), - (-1, {_sV: _EC___}), - (-1, {_sV: _ET_}), - (-1, {_sV: _AASG_}), - (-1, {_sV: _IIP_}), - (-1, {_sV: _CS__}), - (-1, {_sV: _ELT_}), - (-1, {_sV: _EV_}), - (-1, {_sV: _EI__}), - (-1, {_sV: _BCM}), - (-1, {_sV: _BIM}), - (-1, {_sV: _BPM}), - (-1, {_sV: _BCMD}), - (-1, {_sV: _BIP}), - (-1, {_sV: _BAIP}), - (-1, {_sV: _BP_}), - (-1, {_sV: _BPR}), - (-1, {_sV: _BG_}), - (-1, {_sV: _SE}), - ), -) - -TAG: StaticSchema = ( - 18, - n0, - _Tag_, - 0, - (_Ke, _Va), - ((STRING, {_sN: _ke}), (STRING, {_sN: _v})), -) - -TAGS: StaticSchema = (16, n0, _Ta, 0, (_me,), ((TAG, 0),)) - -RESOURCE_V2: StaticSchema = ( - 18, - n0, - _RV, - 0, - (_U, _N, _AIcc, _RT, _Re, _Se, _CPl, _Ta, _Dat), - ( - (STRING, {_sN: _u, _sm: None}), - (STRING, {_sN: _n}), - (STRING, {_sN: _aIc}), - (FINDING_RESOURCE_TYPE, {_sN: _rT, _sm: None}), - (STRING, {_sN: _re}), - (STRING, {_sN: _ser}), - (STRING, {_sN: _cP}), - (TAGS, {_sN: _ta}), - (RESOURCE_DATA, {_sN: _dat}), - ), -) - -RESOURCES: StaticSchema = (16, n0, _Reso, 0, (_me,), ((RESOURCE_V2, 0),)) - -INDICATOR_TYPE: StaticSchema = ( - 14, - n0, - _ITn, - 0, - ( - _SUA, - _SN_, - _MI_, - _TI, - _AT_, - _HRA, - _AT__, - _UAFA, - _UAFA_, - _UAFU, - _SP, - _MD, - _MP_, - _CI_, - _CD_, - _CP_, - _MF, - _VULNERABILITY, - _MP__, - _MISCONFIGURATION, - _REACHABILITY, - _SD_, - ), - ( - (-1, {_sV: _SUA}), - (-1, {_sV: _SN_}), - (-1, {_sV: _MI_}), - (-1, {_sV: _TI}), - (-1, {_sV: _AT_}), - (-1, {_sV: _HRA}), - (-1, {_sV: _AT__}), - (-1, {_sV: _UAFA}), - (-1, {_sV: _UAFA_}), - (-1, {_sV: _UAFU}), - (-1, {_sV: _SP}), - (-1, {_sV: _MD}), - (-1, {_sV: _MP_}), - (-1, {_sV: _CI_}), - (-1, {_sV: _CD_}), - (-1, {_sV: _CP_}), - (-1, {_sV: _MF}), - (-1, {_sV: _VULNERABILITY}), - (-1, {_sV: _MP__}), - (-1, {_sV: _MISCONFIGURATION}), - (-1, {_sV: _REACHABILITY}), - (-1, {_sV: _SD_}), - ), -) - -INDICATOR_TITLE: StaticSchema = (3, n0, _ITnd, 0) - -INDICATOR_VALUE_STRING: StaticSchema = (3, n0, _IVS, 0) - -INDICATOR_VALUES: StaticSchema = ( - 16, - n0, - _IV, - 0, - (_me,), - ((INDICATOR_VALUE_STRING, 0),), -) - -INDICATOR: StaticSchema = ( - 18, - n0, - _In, - 0, - (_Ke, _Val, _Tit), - ( - (INDICATOR_TYPE, {_sN: _ke, _sm: None}), - (INDICATOR_VALUES, {_sN: _va}), - (INDICATOR_TITLE, {_sN: _ti}), - ), -) - -INDICATORS: StaticSchema = (16, n0, _Ind, 0, (_me,), ((INDICATOR, 0),)) - -SIGNAL_DESCRIPTION: StaticSchema = (3, n0, _SDi, 0) - -ENDPOINT_IDS: StaticSchema = (16, n0, _EIn, 0, (_me,), ((STRING, 0),)) - -RESOURCE_UIDS: StaticSchema = (16, n0, _RUe, 0, (_me,), ((STRING, 0),)) - -SIGNAL_TYPE: StaticSchema = ( - 14, - n0, - _STi, - 0, - (_FINDING, _CT_, _SDE, _EAL, _FL_, _DL_, _RM), - ( - (-1, {_sV: _FINDING}), - (-1, {_sV: _CT_}), - (-1, {_sV: _SDE}), - (-1, {_sV: _EAL}), - (-1, {_sV: _FL_}), - (-1, {_sV: _DL_}), - (-1, {_sV: _RM}), - ), -) - -SIGNAL: StaticSchema = ( - 18, - n0, - _Si, - 0, - ( - _U, - _T, - _De, - _N, - _CA, - _UAp, - _FSA, - _LSA, - _Sev, - _Cou, - _RUe, - _AIct, - _EIn, - _SIi, - _Acti, - ), - ( - (STRING, {_sN: _u, _sm: None}), - (SIGNAL_TYPE, {_sN: _t, _sm: None}), - (SIGNAL_DESCRIPTION, {_sN: _de}), - (STRING, {_sN: _n, _sm: None}), - (TIMESTAMP, {_sN: _cA, _sm: None}), - (TIMESTAMP, {_sN: _uAp, _sm: None}), - (TIMESTAMP, {_sN: _fSA, _sm: None}), - (TIMESTAMP, {_sN: _lSA, _sm: None}), - (DOUBLE, {_sN: _sev}), - (INTEGER, {_sN: _cou, _sm: None}), - (RESOURCE_UIDS, {_sN: _rUe}), - (ACTOR_IDS, {_sN: _aIct}), - (ENDPOINT_IDS, {_sN: _eIn}), - (INDICATORS, {_sN: _sIi}), - (ACTIVITIES, {_sN: _activ}), - ), -) - -SIGNALS: StaticSchema = (16, n0, _Sig, 0, (_me,), ((SIGNAL, 0),)) - -SEQUENCE: StaticSchema = ( - 18, - n0, - _Seq, - 0, - (_U, _De, _Actor, _Reso, _End, _Sig, _SIe, _AST), - ( - (STRING, {_sN: _u, _sm: None}), - (SEQUENCE_DESCRIPTION, {_sN: _de, _sm: None}), - (ACTORS, {_sN: _acto}), - (RESOURCES, {_sN: _reso}), - (NETWORK_ENDPOINTS, {_sN: _end}), - (SIGNALS, {_sN: _si, _sm: None}), - (INDICATORS, {_sN: _sIe}), - (ADDITIONAL_SEQUENCE_TYPES, {_sN: _aST}), - ), -) - -DETECTION: StaticSchema = ( - 18, - n0, - _Det, - 0, - (_An, _Seq), - ((ANOMALY, {_sN: _an}), (SEQUENCE, {_sN: _seq})), -) - -DETECTION_RULE_AGENT_VERSION: StaticSchema = (3, n0, _DRAV, 0) - -DETECTION_RULE_CONFIGURATION_STATUS: StaticSchema = ( - 14, - n0, - _DRCS, - 0, - (_ACTIVE, _PROCESSING, _FAILED), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _PROCESSING}), (-1, {_sV: _FAILED})), -) - -DETECTION_RULE_DATA_SOURCE: StaticSchema = ( - 14, - n0, - _DRDS, - 0, - (_CME, _RM), - ((-1, {_sV: _CTME}), (-1, {_sV: _RMu})), -) - -DETECTION_RULE_DESCRIPTION: StaticSchema = (3, n0, _DRD, 0) - -DETECTION_RULE_EC2_REQUIREMENTS: StaticSchema = ( - 18, - n0, - _DRER, - 0, - (_MAV,), - ((DETECTION_RULE_AGENT_VERSION, {_sN: _mAV}),), -) - -DETECTION_RULE_ECS_FARGATE_REQUIREMENTS: StaticSchema = ( - 18, - n0, - _DREFR, - 0, - (_MAV,), - ((DETECTION_RULE_AGENT_VERSION, {_sN: _mAV}),), -) - -DETECTION_RULE_EKS_REQUIREMENTS: StaticSchema = ( - 18, - n0, - _DRERe, - 0, - (_MAV,), - ((DETECTION_RULE_AGENT_VERSION, {_sN: _mAV}),), -) - -DETECTION_RULE_FILTER_CONDITION: StaticSchema = ( - 14, - n0, - _DRFC, - 0, - (_EQUALS, _CONTAINS), - ((-1, {_sV: _EQUALS}), (-1, {_sV: _CONTAINS})), -) - -FILTER_FIELD_NAME: StaticSchema = ( - 14, - n0, - _FFN, - 0, - (_NAME, _DESCRIPTION, _DS_, _SEVERITY, _TACTIC, _TECHNIQUE, _SERVICE), - ( - (-1, {_sV: _n}), - (-1, {_sV: _de}), - (-1, {_sV: _dSa}), - (-1, {_sV: _sev}), - (-1, {_sV: _tac}), - (-1, {_sV: _tec}), - (-1, {_sV: _ser}), - ), -) - -DETECTION_RULE_FILTER_VALUE: StaticSchema = (3, n0, _DRFV, 0) - -DETECTION_RULE_FILTER_VALUES: StaticSchema = ( - 16, - n0, - _DRFVe, - 0, - (_me,), - ((DETECTION_RULE_FILTER_VALUE, 0),), -) - -DETECTION_RULE_FILTER: StaticSchema = ( - 18, - n0, - _DRF, - 0, - (_N, _Val, _Cond), - ( - (FILTER_FIELD_NAME, {_sN: _n, _sm: None}), - (DETECTION_RULE_FILTER_VALUES, {_sN: _va, _sm: None}), - (DETECTION_RULE_FILTER_CONDITION, {_sN: _cond}), - ), -) - -DETECTION_RULE_FILTER_LIST: StaticSchema = ( - 16, - n0, - _DRFL, - 0, - (_me,), - ((DETECTION_RULE_FILTER, 0),), -) - -DETECTION_RULE_MAX_RESULTS: StaticSchema = (7, n0, _DRMR, 0) - -DETECTION_RULE_ORG_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DROC, - 0, - (_RI, _Mo, _St, _SRt, _IAI, _EAI, _CA, _UAp, _EA), - ( - (RULE_ID, {_sN: _rI, _sm: None}), - (ASSOCIATION_MODE, {_sN: _mo, _sm: None}), - (DETECTION_RULE_CONFIGURATION_STATUS, {_sN: _st, _sm: None}), - (STRING, {_sN: _sRt}), - (DETECTION_RULE_ACCOUNT_IDS, {_sN: _iAI, _sm: None}), - (DETECTION_RULE_ACCOUNT_IDS, {_sN: _eAI, _sm: None}), - (TIMESTAMP, {_sN: _cA, _sm: None}), - (TIMESTAMP, {_sN: _uAp, _sm: None}), - (TIMESTAMP, {_sN: _eA}), - ), -) - -DETECTION_RULE_ORG_CONFIGURATION_SUMMARY: StaticSchema = ( - 18, - n0, - _DROCS, - 0, - (_RI, _Mo, _St, _SRt, _CA, _UAp, _EA), - ( - (RULE_ID, {_sN: _rI, _sm: None}), - (ASSOCIATION_MODE, {_sN: _mo, _sm: None}), - (DETECTION_RULE_CONFIGURATION_STATUS, {_sN: _st, _sm: None}), - (STRING, {_sN: _sRt}), - (TIMESTAMP, {_sN: _cA, _sm: None}), - (TIMESTAMP, {_sN: _uAp, _sm: None}), - (TIMESTAMP, {_sN: _eA}), - ), -) - -DETECTION_RULE_ORG_CONFIGURATION_SUMMARY_LIST: StaticSchema = ( - 16, - n0, - _DROCSL, - 0, - (_me,), - ((DETECTION_RULE_ORG_CONFIGURATION_SUMMARY, 0),), -) - -DETECTION_RULE_RUNTIME_PLATFORMS: StaticSchema = ( - 18, - n0, - _DRRP, - 0, - (_Ek, _Ec, _EF), - ( - (DETECTION_RULE_EKS_REQUIREMENTS, {_sN: _ek}), - (DETECTION_RULE_EC2_REQUIREMENTS, {_sN: _ec}), - (DETECTION_RULE_ECS_FARGATE_REQUIREMENTS, {_sN: _eF}), - ), -) - -DETECTION_RULE_RUNTIME_MONITORING_DETAILS: StaticSchema = ( - 18, - n0, - _DRRMD, - 0, - (_Pla,), - ((DETECTION_RULE_RUNTIME_PLATFORMS, {_sN: _pla}),), -) - -DETECTION_RULE_SERVICE_NAME: StaticSchema = (3, n0, _DRSN, 0) - -DETECTION_RULE_SEVERITY: StaticSchema = ( - 14, - n0, - _DRS, - 0, - (_CRITICAL, _HIGH, _MEDIUM, _LOW), - ( - (-1, {_sV: _CRITICAL}), - (-1, {_sV: _HIGH}), - (-1, {_sV: _MEDIUM}), - (-1, {_sV: _LOW}), - ), -) - -DETECTION_SOURCE: StaticSchema = ( - 14, - n0, - _DSe, - 0, - (_AMAZON, _BITDEFENDER), - ((-1, {_sV: _AMAZON}), (-1, {_sV: _BITDEFENDER})), -) - -MANAGED_BY: StaticSchema = (14, n0, _MB, 0, (_GP,), ((-1, {_sV: _GP}),)) - -DETECTOR_ADDITIONAL_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _DACR, - 0, - (_N, _St, _UAp, _MB), - ( - (FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), - (FEATURE_STATUS, {_sN: _st}), - (TIMESTAMP, {_sN: _uAp}), - (MANAGED_BY, {_sN: _mB}), - ), -) - -DETECTOR_ADDITIONAL_CONFIGURATION_RESULTS: StaticSchema = ( - 16, - n0, - _DACRe, - 0, - (_me,), - ((DETECTOR_ADDITIONAL_CONFIGURATION_RESULT, 0),), -) - -DETECTOR_FEATURE_RESULT: StaticSchema = ( - 14, - n0, - _DFR, - 0, - (_FL_, _CT_, _DL_, _SDE, _EAL, _EMP, _RLE, _LNL, _ERM, _RM, _AP, _AA_), - ( - (-1, {_sV: _FL_}), - (-1, {_sV: _CT_}), - (-1, {_sV: _DL_}), - (-1, {_sV: _SDE}), - (-1, {_sV: _EAL}), - (-1, {_sV: _EMP}), - (-1, {_sV: _RLE}), - (-1, {_sV: _LNL}), - (-1, {_sV: _ERM}), - (-1, {_sV: _RM}), - (-1, {_sV: _AP}), - (-1, {_sV: _AA_}), - ), -) - -DETECTOR_FEATURE_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _DFCR, - 0, - (_N, _St, _UAp, _ACd, _MB), - ( - (DETECTOR_FEATURE_RESULT, {_sN: _n}), - (FEATURE_STATUS, {_sN: _st}), - (TIMESTAMP, {_sN: _uAp}), - (DETECTOR_ADDITIONAL_CONFIGURATION_RESULTS, {_sN: _aC}), - (MANAGED_BY, {_sN: _mB}), - ), -) - -DETECTOR_FEATURE_CONFIGURATIONS_RESULTS: StaticSchema = ( - 16, - n0, - _DFCRe, - 0, - (_me,), - ((DETECTOR_FEATURE_CONFIGURATION_RESULT, 0),), -) - -DETECTOR_IDS: StaticSchema = (16, n0, _DIet, 0, (_me,), ((DETECTOR_ID, 0),)) - -DETECTOR_STATUS: StaticSchema = ( - 14, - n0, - _DSet, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -DISABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _DOAAI, - {_sSI: _cDOAAR, _s: None}, - (_AAId,), - ((STRING, {_sN: _aAI, _sm: None}),), -) - -DISABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _DOAAO, - {_sSI: _cDOAARo, _smi: None}, -) - -DISABLE_ORGANIZATION_ADMIN_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _DOAA, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/admin/disable", "code": 200} - ) - }, - DISABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT, - DISABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _DFAAI, - {_sSI: _cDFAAR, _s: None}, - (_DI,), - ((DETECTOR_ID, 9),), -) - -DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _DFAAO, - {_sSI: _cDFAARo, _smi: None}, -) - -DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _DFAA, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/administrator/disassociate", - "code": 200, - } - ) - }, - DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_INPUT, - DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DISASSOCIATE_FROM_MASTER_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _DFMAI, - {_sSI: _cDFMAR, _s: None}, - (_DI,), - ((DETECTOR_ID, 9),), -) - -DISASSOCIATE_FROM_MASTER_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _DFMAO, - {_sSI: _cDFMARo, _smi: None}, -) - -DISASSOCIATE_FROM_MASTER_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _DFMA, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/master/disassociate", - "code": 200, - } - ) - }, - DISASSOCIATE_FROM_MASTER_ACCOUNT_INPUT, - DISASSOCIATE_FROM_MASTER_ACCOUNT_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -DISASSOCIATE_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _DMIi, - {_sSI: _cDMRom, _s: None}, - (_DI, _AIcco), - ((DETECTOR_ID, 9), (ACCOUNT_IDS, {_sN: _aIcc, _sm: None})), -) - -DISASSOCIATE_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DMOi, - {_sSI: _cDMRoma, _smi: None}, - (_UAnp,), - ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), -) - -DISASSOCIATE_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _DMi, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/member/disassociate", - "code": 200, - } - ) - }, - DISASSOCIATE_MEMBERS_INPUT, - DISASSOCIATE_MEMBERS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -EBS_SNAPSHOT: StaticSchema = (18, n0, _ES, 0, (_DN,), ((NON_EMPTY_STRING, {_sN: _dN}),)) - -EBS_SNAPSHOT_DETAILS: StaticSchema = (18, n0, _ESD, 0, (_SA,), ((STRING, {_sN: _sA}),)) - -EBS_SNAPSHOT_PRESERVATION: StaticSchema = ( - 14, - n0, - _ESP, - 0, - (_NR_, _RWF), - ((-1, {_sV: _NR_}), (-1, {_sV: _RWF})), -) - -EBS_VOLUME_DETAILS: StaticSchema = ( - 18, - n0, - _EVD, - 0, - (_SVD, _SVDk), - ((VOLUME_DETAILS, {_sN: _sVD}), (VOLUME_DETAILS, {_sN: _sVDk})), -) - -HIGHEST_SEVERITY_THREAT_DETAILS: StaticSchema = ( - 18, - n0, - _HSTD, - 0, - (_Sev, _TN, _Cou), - ((STRING, {_sN: _sev}), (STRING, {_sN: _tN}), (INTEGER, {_sN: _cou})), -) - -SCANNED_ITEM_COUNT: StaticSchema = ( - 18, - n0, - _SIC, - 0, - (_TG, _Fi, _Vo), - ((INTEGER, {_sN: _tG}), (INTEGER, {_sN: _fi}), (INTEGER, {_sN: _vo})), -) - -SCAN_FILE_PATH: StaticSchema = ( - 18, - n0, - _SFP, - 0, - (_FP, _VA, _Ha, _FNi), - ( - (STRING, {_sN: _fP}), - (STRING, {_sN: _vA}), - (STRING, {_sN: _h}), - (STRING, {_sN: _fN}), - ), -) - -FILE_PATHS: StaticSchema = (16, n0, _FPi, 0, (_me,), ((SCAN_FILE_PATH, 0),)) - -SCAN_THREAT_NAME: StaticSchema = ( - 18, - n0, - _STN, - 0, - (_N, _Sev, _IC, _FPi), - ( - (STRING, {_sN: _n}), - (STRING, {_sN: _sev}), - (INTEGER, {_sN: _iC}), - (FILE_PATHS, {_sN: _fPi}), - ), -) - -SCAN_THREAT_NAMES: StaticSchema = (16, n0, _STNc, 0, (_me,), ((SCAN_THREAT_NAME, 0),)) - -THREAT_DETECTED_BY_NAME: StaticSchema = ( - 18, - n0, - _TDBN, - 0, - (_IC, _UTNC, _Sho, _TNh), - ( - (INTEGER, {_sN: _iC}), - (INTEGER, {_sN: _uTNC}), - (BOOLEAN, {_sN: _sho}), - (SCAN_THREAT_NAMES, {_sN: _tNh}), - ), -) - -THREATS_DETECTED_ITEM_COUNT: StaticSchema = ( - 18, - n0, - _TDIC, - 0, - (_Fi,), - ((INTEGER, {_sN: _fi}),), -) - -SCAN_DETECTIONS: StaticSchema = ( - 18, - n0, - _SDc, - 0, - (_SIC, _TDIC, _HSTD, _TDBN), - ( - (SCANNED_ITEM_COUNT, {_sN: _sIC}), - (THREATS_DETECTED_ITEM_COUNT, {_sN: _tDIC}), - (HIGHEST_SEVERITY_THREAT_DETAILS, {_sN: _hSTD}), - (THREAT_DETECTED_BY_NAME, {_sN: _tDBN}), - ), -) - -SOURCES: StaticSchema = (16, n0, _So, 0, (_me,), ((STRING, 0),)) - -EBS_VOLUME_SCAN_DETAILS: StaticSchema = ( - 18, - n0, - _EVSD, - 0, - (_SIc, _SSA, _SCA, _TFI, _So, _SDc, _STc), - ( - (STRING, {_sN: _sI}), - (TIMESTAMP, {_sN: _sSA}), - (TIMESTAMP, {_sN: _sCA}), - (STRING, {_sN: _tFI}), - (SOURCES, {_sN: _so}), - (SCAN_DETECTIONS, {_sN: _sD}), - (SCAN_TYPE, {_sN: _sTc}), - ), -) - -EC2_IMAGE_DETAILS: StaticSchema = (18, n0, _EIDc, 0, (_IAm,), ((STRING, {_sN: _iAm}),)) - -HOST_PATH: StaticSchema = (18, n0, _HP, 0, (_Pat,), ((STRING, {_sN: _pat}),)) - -VOLUME: StaticSchema = ( - 18, - n0, - _Vol, - 0, - (_N, _HP), - ((STRING, {_sN: _n}), (HOST_PATH, {_sN: _hP})), -) - -VOLUMES: StaticSchema = (16, n0, _Vo, 0, (_me,), ((VOLUME, 0),)) - -ECS_TASK_DETAILS: StaticSchema = ( - 18, - n0, - _ETD, - 0, - (_Ar, _DAe, _Ve, _TCA, _SAt, _SBt, _Ta, _Vo, _Conta, _Gr, _LTa), - ( - (STRING, {_sN: _ar}), - (STRING, {_sN: _dAe}), - (STRING, {_sN: _ver}), - (TIMESTAMP, {_sN: _cA}), - (TIMESTAMP, {_sN: _sAt}), - (STRING, {_sN: _sBt}), - (TAGS, {_sN: _ta}), - (VOLUMES, {_sN: _vo}), - (CONTAINERS, {_sN: _conta}), - (STRING, {_sN: _gr}), - (STRING, {_sN: _lTa}), - ), -) - -ECS_CLUSTER_DETAILS: StaticSchema = ( - 18, - n0, - _ECDc, - 0, - (_N, _Ar, _St, _ASCc, _RCIC, _RTC, _Ta, _TDa), - ( - (STRING, {_sN: _n}), - (STRING, {_sN: _ar}), - (STRING, {_sN: _st}), - (INTEGER, {_sN: _aSC}), - (INTEGER, {_sN: _rCIC}), - (INTEGER, {_sN: _rTC}), - (TAGS, {_sN: _ta}), - (ECS_TASK_DETAILS, {_sN: _tDa}), - ), -) - -EKS_CLUSTER_DETAILS: StaticSchema = ( - 18, - n0, - _ECD, - 0, - (_N, _Ar, _VIp, _St, _Ta, _CA), - ( - (STRING, {_sN: _n}), - (STRING, {_sN: _ar}), - (STRING, {_sN: _vIp}), - (STRING, {_sN: _st}), - (TAGS, {_sN: _ta}), - (TIMESTAMP, {_sN: _cA}), - ), -) - -ENABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _EOAAI, - {_sSI: _cEOAAR, _s: None}, - (_AAId,), - ((STRING, {_sN: _aAI, _sm: None}),), -) - -ENABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _EOAAO, - {_sSI: _cEOAARo, _smi: None}, -) - -ENABLE_ORGANIZATION_ADMIN_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _EOAA, - {_smith: MappingProxyType({"method": "POST", "uri": "/admin/enable", "code": 200})}, - ENABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT, - ENABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -THREAT_NAMES: StaticSchema = (16, n0, _TNh, 0, (_me,), ((STRING, 0),)) - -THREAT_INTELLIGENCE_DETAIL: StaticSchema = ( - 18, - n0, - _TID, - 0, - (_TLN, _TNh, _TFS), - ((STRING, {_sN: _tLN}), (THREAT_NAMES, {_sN: _tNh}), (STRING, {_sN: _tFS})), -) - -THREAT_INTELLIGENCE_DETAILS: StaticSchema = ( - 16, - n0, - _TIDh, - 0, - (_me,), - ((THREAT_INTELLIGENCE_DETAIL, 0),), -) - -EVIDENCE: StaticSchema = ( - 18, - n0, - _Ev, - 0, - (_TIDh,), - ((THREAT_INTELLIGENCE_DETAILS, {_sN: _tID}),), -) - -FEEDBACK: StaticSchema = ( - 14, - n0, - _Fe, - 0, - (_USEFUL, _NU), - ((-1, {_sV: _USEFUL}), (-1, {_sV: _NU})), -) - -FILTER_NAMES: StaticSchema = (16, n0, _FNil, 0, (_me,), ((FILTER_NAME, 0),)) - -FILTER_VERSION: StaticSchema = (8, n0, _FV, 0) - -NETWORK_INTERFACE: StaticSchema = ( - 18, - n0, - _NIe, - 0, - (_IAp, _NII, _PDN, _PIA, _PIAr, _PDNu, _PIu, _SGe, _SIu, _VIp), - ( - (IPV6_ADDRESSES, {_sN: _iAp}), - (STRING, {_sN: _nII}), - (STRING, {_sN: _pDN}), - (SENSITIVE_STRING, {_sN: _pIA}), - (PRIVATE_IP_ADDRESSES, {_sN: _pIAr}), - (STRING, {_sN: _pDNu}), - (STRING, {_sN: _pIu}), - (SECURITY_GROUPS, {_sN: _sG}), - (STRING, {_sN: _sIu}), - (STRING, {_sN: _vIp}), - ), -) - -NETWORK_INTERFACES: StaticSchema = (16, n0, _NIet, 0, (_me,), ((NETWORK_INTERFACE, 0),)) - -INSTANCE_DETAILS: StaticSchema = ( - 18, - n0, - _IDn, - 0, - (_AZ, _IIP, _ID, _IIm, _IIn, _IS, _IT, _OA, _LTau, _NIet, _Pl, _PCr, _Ta), - ( - (STRING, {_sN: _aZ}), - (IAM_INSTANCE_PROFILE, {_sN: _iIP}), - (STRING, {_sN: _iD}), - (STRING, {_sN: _iIm}), - (STRING, {_sN: _iIn}), - (STRING, {_sN: _iS}), - (STRING, {_sN: _iT}), - (STRING, {_sN: _oA}), - (STRING, {_sN: _lTau}), - (NETWORK_INTERFACES, {_sN: _nI}), - (STRING, {_sN: _pl}), - (PRODUCT_CODES, {_sN: _pC}), - (TAGS, {_sN: _ta}), - ), -) - -GROUPS: StaticSchema = (16, n0, _Gro, 0, (_me,), ((STRING, 0),)) - -IMPERSONATED_USER: StaticSchema = ( - 18, - n0, - _IUm, - 0, - (_Use, _Gro), - ((STRING, {_sN: _use}), (GROUPS, {_sN: _gro})), -) - -SESSION_NAME_LIST: StaticSchema = (16, n0, _SNL, 0, (_me,), ((STRING, 0),)) - -KUBERNETES_USER_DETAILS: StaticSchema = ( - 18, - n0, - _KUD, - 0, - (_Use, _U, _Gro, _SNe, _IUm), - ( - (STRING, {_sN: _use}), - (STRING, {_sN: _u}), - (GROUPS, {_sN: _gro}), - (SESSION_NAME_LIST, {_sN: _sNes}), - (IMPERSONATED_USER, {_sN: _iUm}), - ), -) - -KUBERNETES_WORKLOAD_DETAILS: StaticSchema = ( - 18, - n0, - _KWD, - 0, - (_N, _T, _U, _Na, _HN, _SAN, _Conta, _Vo, _HIPC, _HPID), - ( - (STRING, {_sN: _n}), - (STRING, {_sN: _t}), - (STRING, {_sN: _u}), - (STRING, {_sN: _na}), - (BOOLEAN, {_sN: _hN}), - (STRING, {_sN: _sAN}), - (CONTAINERS, {_sN: _conta}), - (VOLUMES, {_sN: _vo}), - (BOOLEAN, {_sN: _hIPC}), - (BOOLEAN, {_sN: _hPID}), - ), -) - -KUBERNETES_DETAILS: StaticSchema = ( - 18, - n0, - _KD, - 0, - (_KUD, _KWD), - ( - (KUBERNETES_USER_DETAILS, {_sN: _kUD}), - (KUBERNETES_WORKLOAD_DETAILS, {_sN: _kWD}), - ), -) - -SUBNET_IDS: StaticSchema = (16, n0, _SIub, 0, (_me,), ((STRING, 0),)) - -VPC_CONFIG: StaticSchema = ( - 18, - n0, - _VC, - 0, - (_SIub, _VIp, _SGe), - ((SUBNET_IDS, {_sN: _sIub}), (STRING, {_sN: _vIp}), (SECURITY_GROUPS, {_sN: _sG})), -) - -LAMBDA_DETAILS: StaticSchema = ( - 18, - n0, - _LD, - 0, - (_FAu, _FNu, _De, _LMA, _RIev, _FVu, _Ro, _VC, _Ta), - ( - (STRING, {_sN: _fA}), - (STRING, {_sN: _fNu}), - (STRING, {_sN: _de}), - (TIMESTAMP, {_sN: _lMA}), - (STRING, {_sN: _rIev}), - (STRING, {_sN: _fV}), - (STRING, {_sN: _ro}), - (VPC_CONFIG, {_sN: _vC}), - (TAGS, {_sN: _ta}), - ), -) - -MODEL_DETAIL: StaticSchema = (18, n0, _MDo, 0, (_MIo,), ((STRING, {_sN: _mIo}),)) - -MODEL_DETAILS: StaticSchema = (16, n0, _MDod, 0, (_me,), ((MODEL_DETAIL, 0),)) - -RDS_DB_INSTANCE_DETAILS: StaticSchema = ( - 18, - n0, - _RDID, - 0, - (_DIIb, _Eng, _EVn, _DCI, _DIA, _DRI, _Ta), - ( - (STRING, {_sN: _dII}), - (STRING, {_sN: _eng}), - (STRING, {_sN: _eVn}), - (STRING, {_sN: _dCI}), - (STRING, {_sN: _dIA}), - (STRING, {_sN: _dRI}), - (TAGS, {_sN: _ta}), - ), -) - -RDS_DB_USER_DETAILS: StaticSchema = ( - 18, - n0, - _RDUD, - 0, - (_Us, _App, _Data, _Ss, _AMu), - ( - (STRING, {_sN: _us}), - (STRING, {_sN: _app}), - (STRING, {_sN: _data}), - (STRING, {_sN: _ss}), - (STRING, {_sN: _aM}), - ), -) - -RDS_LIMITLESS_DB_DETAILS: StaticSchema = ( - 18, - n0, - _RLDD, - 0, - (_DSGI, _DSGRI, _DSGA, _Eng, _EVn, _DCI, _Ta), - ( - (STRING, {_sN: _dSGI}), - (STRING, {_sN: _dSGRI}), - (STRING, {_sN: _dSGA}), - (STRING, {_sN: _eng}), - (STRING, {_sN: _eVn}), - (STRING, {_sN: _dCI}), - (TAGS, {_sN: _ta}), - ), -) - -SCAN_CONFIGURATION_CONTINUOUS_SCAN_DETAILS: StaticSchema = ( - 18, - n0, - _SCCSD, - 0, - (_ST, _ET), - ((TIMESTAMP, {_sN: _sT}), (TIMESTAMP, {_sN: _eT, _sm: None})), -) - -RECOVERY_POINT_DETAILS: StaticSchema = ( - 18, - n0, - _RPDe, - 0, - (_RPA, _BVN, _CSD), - ( - (STRING, {_sN: _rPA}), - (STRING, {_sN: _bVN}), - (SCAN_CONFIGURATION_CONTINUOUS_SCAN_DETAILS, {_sN: _cSD}), - ), -) - -OWNER: StaticSchema = (18, n0, _Ow, 0, (_Id,), ((STRING, {_sN: _id}),)) - -PERMISSION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PCe, - 0, - (_BLP, _ALP), - ((BUCKET_LEVEL_PERMISSIONS, {_sN: _bLP}), (ACCOUNT_LEVEL_PERMISSIONS, {_sN: _aLP})), -) - -PUBLIC_ACCESS: StaticSchema = ( - 18, - n0, - _PAu, - 0, - (_PCe, _EP), - ((PERMISSION_CONFIGURATION, {_sN: _pCe}), (STRING, {_sN: _eP})), -) - -S3_OBJECT_DETAIL: StaticSchema = ( - 18, - n0, - _SOD, - 0, - (_OAb, _Ke, _ETa, _Ha, _VI), - ( - (STRING, {_sN: _oAb}), - (STRING, {_sN: _ke}), - (STRING, {_sN: _eTa}), - (STRING, {_sN: _h}), - (STRING, {_sN: _vI}), - ), -) - -S3_OBJECT_DETAILS: StaticSchema = (16, n0, _SODb, 0, (_me,), ((S3_OBJECT_DETAIL, 0),)) - -S3_BUCKET_DETAIL: StaticSchema = ( - 18, - n0, - _SBD, - 0, - (_Ar, _N, _T, _CA, _Ow, _Ta, _DSSE, _PAu, _SODb), - ( - (STRING, {_sN: _ar}), - (STRING, {_sN: _n}), - (STRING, {_sN: _t}), - (TIMESTAMP, {_sN: _cA}), - (OWNER, {_sN: _ow}), - (TAGS, {_sN: _ta}), - (DEFAULT_SERVER_SIDE_ENCRYPTION, {_sN: _dSSE}), - (PUBLIC_ACCESS, {_sN: _pA}), - (S3_OBJECT_DETAILS, {_sN: _sOD}), - ), -) - -S3_BUCKET_DETAILS: StaticSchema = (16, n0, _SBDu, 0, (_me,), ((S3_BUCKET_DETAIL, 0),)) - -RESOURCE: StaticSchema = ( - 18, - n0, - _R, - 0, - ( - _AKD, - _SBDu, - _IDn, - _ECD, - _KD, - _RT, - _EVD, - _ECDc, - _CDo, - _LD, - _RDID, - _RLDD, - _RDUD, - _ESD, - _EIDc, - _RPDe, - _BGD, - _MDod, - ), - ( - (ACCESS_KEY_DETAILS, {_sN: _aKD}), - (S3_BUCKET_DETAILS, {_sN: _sBD}), - (INSTANCE_DETAILS, {_sN: _iDn}), - (EKS_CLUSTER_DETAILS, {_sN: _eCD}), - (KUBERNETES_DETAILS, {_sN: _kD}), - (STRING, {_sN: _rT}), - (EBS_VOLUME_DETAILS, {_sN: _eVD}), - (ECS_CLUSTER_DETAILS, {_sN: _eCDc}), - (CONTAINER, {_sN: _cDo}), - (LAMBDA_DETAILS, {_sN: _lD}), - (RDS_DB_INSTANCE_DETAILS, {_sN: _rDID}), - (RDS_LIMITLESS_DB_DETAILS, {_sN: _rLDD}), - (RDS_DB_USER_DETAILS, {_sN: _rDUD}), - (EBS_SNAPSHOT_DETAILS, {_sN: _eSD}), - (EC2_IMAGE_DETAILS, {_sN: _eIDc}), - (RECOVERY_POINT_DETAILS, {_sN: _rPDe}), - (BEDROCK_GUARDRAIL_DETAILS, {_sN: _bGD}), - (MODEL_DETAILS, {_sN: _mD}), - ), -) - -SERVICE_ADDITIONAL_INFO: StaticSchema = ( - 18, - n0, - _SAI, - 0, - (_Va, _T), - ((STRING, {_sN: _v}), (STRING, {_sN: _t})), -) - -SCAN_CATEGORY: StaticSchema = ( - 14, - n0, - _SCc, - 0, - (_FS_, _IS_), - ((-1, {_sV: _FS_}), (-1, {_sV: _IS_})), -) - -INCREMENTAL_SCAN_DETAILS: StaticSchema = ( - 18, - n0, - _ISD, - 0, - (_BRA,), - ((NON_EMPTY_STRING, {_sN: _bRA, _sm: None}),), -) - -MALWARE_PROTECTION_FINDINGS_SCAN_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MPFSC, - 0, - (_TT, _ISD), - ((TRIGGER_TYPE, {_sN: _tT}), (INCREMENTAL_SCAN_DETAILS, {_sN: _iSD})), -) - -MALWARE_PROTECTION_SCAN_TYPE: StaticSchema = ( - 14, - n0, - _MPST, - 0, - (_BI, _OD, _GI_), - ((-1, {_sV: _BI}), (-1, {_sV: _OD}), (-1, {_sV: _GI_})), -) - -ITEM_DETAILS: StaticSchema = ( - 18, - n0, - _IDt, - 0, - (_RAe, _IPt, _Ha, _AId), - ( - (NON_EMPTY_STRING, {_sN: _rAe}), - (NON_EMPTY_STRING, {_sN: _iPt}), - (STRING, {_sN: _h}), - (ADDITIONAL_INFO, {_sN: _aId}), - ), -) - -ITEM_DETAILS_LIST: StaticSchema = (16, n0, _IDL, 0, (_me,), ((ITEM_DETAILS, 0),)) - -ITEM_PATH: StaticSchema = ( - 18, - n0, - _IPt, - 0, - (_NIP, _Ha), - ((STRING, {_sN: _nIP}), (STRING, {_sN: _h})), -) - -ITEM_PATHS: StaticSchema = (16, n0, _IPte, 0, (_me,), ((ITEM_PATH, 0),)) - -THREAT: StaticSchema = ( - 18, - n0, - _Th, - 0, - (_N, _Sou, _IPte, _Cou, _Ha, _IDt), - ( - (STRING, {_sN: _n}), - (STRING, {_sN: _sou}), - (ITEM_PATHS, {_sN: _iPte}), - (LONG, {_sN: _cou}), - (STRING, {_sN: _h}), - (ITEM_DETAILS_LIST, {_sN: _iDt}), - ), -) - -THREATS: StaticSchema = (16, n0, _Thr, 0, (_me,), ((THREAT, 0),)) - -MALWARE_SCAN_DETAILS: StaticSchema = ( - 18, - n0, - _MSD, - 0, - (_Thr, _SIc, _STc, _SCc, _SCca, _UTC), - ( - (THREATS, {_sN: _th}), - (STRING, {_sN: _sI}), - (MALWARE_PROTECTION_SCAN_TYPE, {_sN: _sTc}), - (SCAN_CATEGORY, {_sN: _sCc}), - (MALWARE_PROTECTION_FINDINGS_SCAN_CONFIGURATION, {_sN: _sCca}), - (INTEGER, {_sN: _uTC}), - ), -) - -FLAGS_LIST: StaticSchema = (16, n0, _FLl, 0, (_me,), ((STRING, 0),)) - -MEMORY_REGIONS_LIST: StaticSchema = (16, n0, _MRL, 0, (_me,), ((STRING, 0),)) - -LINEAGE_OBJECT: StaticSchema = ( - 18, - n0, - _LO, - 0, - (_ST, _NP, _UI, _N, _Pi, _Uu, _EPx, _Eu, _PU), - ( - (TIMESTAMP, {_sN: _sT}), - (INTEGER, {_sN: _nP}), - (INTEGER, {_sN: _uI}), - (STRING, {_sN: _n}), - (INTEGER, {_sN: _pi}), - (STRING, {_sN: _uu}), - (STRING, {_sN: _ePx}), - (INTEGER, {_sN: _eu}), - (STRING, {_sN: _pU}), - ), -) - -LINEAGE: StaticSchema = (16, n0, _Li, 0, (_me,), ((LINEAGE_OBJECT, 0),)) - -PROCESS_DETAILS: StaticSchema = ( - 18, - n0, - _PD, - 0, - (_N, _EPx, _ESx, _NP, _Pw, _Pi, _ST, _Uu, _PU, _Us, _UI, _Eu, _Li), - ( - (STRING, {_sN: _n}), - (STRING, {_sN: _ePx}), - (STRING, {_sN: _eS}), - (INTEGER, {_sN: _nP}), - (STRING, {_sN: _pw}), - (INTEGER, {_sN: _pi}), - (TIMESTAMP, {_sN: _sT}), - (STRING, {_sN: _uu}), - (STRING, {_sN: _pU}), - (STRING, {_sN: _us}), - (INTEGER, {_sN: _uI}), - (INTEGER, {_sN: _eu}), - (LINEAGE, {_sN: _li}), - ), -) - -RELATED_FILE_PATHS_LIST: StaticSchema = (16, n0, _RFPL, 0, (_me,), ((STRING, 0),)) - -RUNTIME_CONTEXT: StaticSchema = ( - 18, - n0, - _RC, - 0, - ( - _MPod, - _MA, - _SPc, - _LP, - _LPV, - _SPo, - _RBP, - _RAP, - _MSo, - _MTo, - _FST, - _Fl, - _MN, - _MFP, - _MSod, - _SHFP, - _TPa, - _AFd, - _IPN, - _MRe, - _TNo, - _TC, - _SN, - _CLE, - _TFP, - _FO, - _FP, - _RFP, - ), - ( - (PROCESS_DETAILS, {_sN: _mPod}), - (TIMESTAMP, {_sN: _mA}), - (STRING, {_sN: _sP}), - (STRING, {_sN: _lP}), - (STRING, {_sN: _lPV}), - (STRING, {_sN: _sPo}), - (STRING, {_sN: _rBP}), - (STRING, {_sN: _rAP}), - (STRING, {_sN: _mSo}), - (STRING, {_sN: _mTo}), - (STRING, {_sN: _fST}), - (FLAGS_LIST, {_sN: _fl}), - (STRING, {_sN: _mN}), - (STRING, {_sN: _mFP}), - (STRING, {_sN: _mSod}), - (STRING, {_sN: _sHFP}), - (PROCESS_DETAILS, {_sN: _tPa}), - (STRING, {_sN: _aF}), - (INTEGER, {_sN: _iPN}), - (MEMORY_REGIONS_LIST, {_sN: _mRe}), - (STRING, {_sN: _tNo}), - (STRING, {_sN: _tC}), - (STRING, {_sN: _sNe}), - (STRING, {_sN: _cLE}), - (STRING, {_sN: _tFP}), - (STRING, {_sN: _fO}), - (STRING, {_sN: _fP}), - (RELATED_FILE_PATHS_LIST, {_sN: _rFP}), - ), -) - -RUNTIME_DETAILS: StaticSchema = ( - 18, - n0, - _RDu, - 0, - (_Pr, _Conte), - ((PROCESS_DETAILS, {_sN: _pr}), (RUNTIME_CONTEXT, {_sN: _conte})), -) - -SERVICE: StaticSchema = ( - 18, - n0, - _Se, - 0, - ( - _Ac, - _Ev, - _Arc, - _Cou, - _DI, - _EFS, - _ELS, - _RR, - _SN, - _UF, - _AId, - _FNe, - _EVSD, - _RDu, - _Det, - _MSD, - ), - ( - (ACTION, {_sN: _ac}), - (EVIDENCE, {_sN: _ev}), - (BOOLEAN, {_sN: _arc}), - (INTEGER, {_sN: _cou}), - (DETECTOR_ID, {_sN: _dI}), - (STRING, {_sN: _eFS}), - (STRING, {_sN: _eLS}), - (STRING, {_sN: _rR}), - (STRING, {_sN: _sNe}), - (STRING, {_sN: _uF}), - (SERVICE_ADDITIONAL_INFO, {_sN: _aId}), - (STRING, {_sN: _fNe}), - (EBS_VOLUME_SCAN_DETAILS, {_sN: _eVSD}), - (RUNTIME_DETAILS, {_sN: _rDu}), - (DETECTION, {_sN: _det}), - (MALWARE_SCAN_DETAILS, {_sN: _mSD}), - ), -) - -FINDING: StaticSchema = ( - 18, - n0, - _Fin, - 0, - ( - _AIcc, - _Ar, - _Con, - _CA, - _De, - _Id, - _Par, - _Re, - _R, - _SV, - _Se, - _Sev, - _Tit, - _T, - _UAp, - _AASA, - _CDRN, - ), - ( - (STRING, {_sN: _aIc, _sm: None}), - (STRING, {_sN: _ar, _sm: None}), - (DOUBLE, {_sN: _con}), - (STRING, {_sN: _cA, _sm: None}), - (STRING, {_sN: _de}), - (STRING, {_sN: _id, _sm: None}), - (STRING, {_sN: _par}), - (STRING, {_sN: _re, _sm: None}), - (RESOURCE, {_sN: _r, _sm: None}), - (STRING, {_sN: _sVc, _sm: None}), - (SERVICE, {_sN: _ser}), - (DOUBLE, {_sN: _sev, _sm: None}), - (STRING, {_sN: _ti}), - (FINDING_TYPE, {_sN: _t, _sm: None}), - (STRING, {_sN: _uAp, _sm: None}), - (STRING, {_sN: _aASA}), - (STRING, {_sN: _cDRN}), - ), -) - -FINDINGS: StaticSchema = (16, n0, _Find, 0, (_me,), ((FINDING, 0),)) - -GROUPED_BY_ACCOUNT: StaticSchema = (16, n0, _GBA, 0, (_me,), ((ACCOUNT_STATISTICS, 0),)) - -GROUPED_BY_DATE: StaticSchema = (16, n0, _GBD, 0, (_me,), ((DATE_STATISTICS, 0),)) - -FINDING_TYPE_STATISTICS: StaticSchema = ( - 18, - n0, - _FTS, - 0, - (_FT, _LGA, _TF), - ((STRING, {_sN: _fTi}), (TIMESTAMP, {_sN: _lGA}), (INTEGER, {_sN: _tF})), -) - -GROUPED_BY_FINDING_TYPE: StaticSchema = ( - 16, - n0, - _GBFT, - 0, - (_me,), - ((FINDING_TYPE_STATISTICS, 0),), -) - -RESOURCE_STATISTICS: StaticSchema = ( - 18, - n0, - _RSe, - 0, - (_AIcc, _LGA, _RIe, _RT, _TF), - ( - (STRING, {_sN: _aIc}), - (TIMESTAMP, {_sN: _lGA}), - (STRING, {_sN: _rIe}), - (STRING, {_sN: _rT}), - (INTEGER, {_sN: _tF}), - ), -) - -GROUPED_BY_RESOURCE: StaticSchema = ( - 16, - n0, - _GBR, - 0, - (_me,), - ((RESOURCE_STATISTICS, 0),), -) - -SEVERITY_STATISTICS: StaticSchema = ( - 18, - n0, - _SSe, - 0, - (_LGA, _Sev, _TF), - ((TIMESTAMP, {_sN: _lGA}), (DOUBLE, {_sN: _sev}), (INTEGER, {_sN: _tF})), -) - -GROUPED_BY_SEVERITY: StaticSchema = ( - 16, - n0, - _GBS, - 0, - (_me,), - ((SEVERITY_STATISTICS, 0),), -) - -FINDING_STATISTICS: StaticSchema = ( - 18, - n0, - _FSi, - 0, - (_CBS, _GBA, _GBD, _GBFT, _GBR, _GBS), - ( - (COUNT_BY_SEVERITY, {_sN: _cBS}), - (GROUPED_BY_ACCOUNT, {_sN: _gBA}), - (GROUPED_BY_DATE, {_sN: _gBD}), - (GROUPED_BY_FINDING_TYPE, {_sN: _gBFT}), - (GROUPED_BY_RESOURCE, {_sN: _gBR}), - (GROUPED_BY_SEVERITY, {_sN: _gBS}), - ), -) - -FINDING_STATISTIC_TYPE: StaticSchema = ( - 14, - n0, - _FSTi, - 0, - (_CBS_,), - ((-1, {_sV: _CBS_}),), -) - -FINDING_STATISTIC_TYPES: StaticSchema = ( - 16, - n0, - _FSTin, - 0, - (_me,), - ((FINDING_STATISTIC_TYPE, 0),), -) - -GET_ADMINISTRATOR_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _GAAI, - {_sSI: _cGAAR, _s: None}, - (_DI,), - ((DETECTOR_ID, 9),), -) - -GET_ADMINISTRATOR_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _GAAO, - {_sSI: _cGAARo, _smi: None}, - (_Ad,), - ((ADMINISTRATOR, {_sN: _ad, _sm: None}),), -) - -GET_ADMINISTRATOR_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _GAA, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/administrator", - "code": 200, - } - ) - }, - GET_ADMINISTRATOR_ACCOUNT_INPUT, - GET_ADMINISTRATOR_ACCOUNT_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_COVERAGE_STATISTICS_INPUT: StaticSchema = ( - 18, - n0, - _GCSI, - {_sSI: _cGCSR, _s: None}, - (_DI, _FCil, _STt), - ( - (DETECTOR_ID, 9), - (COVERAGE_FILTER_CRITERIA, {_sN: _fCil}), - (COVERAGE_STATISTICS_TYPE_LIST, {_sN: _sTt, _sm: None}), - ), -) - -GET_COVERAGE_STATISTICS_OUTPUT: StaticSchema = ( - 18, - n0, - _GCSO, - {_sSI: _cGCSRo, _smi: None}, - (_CSov,), - ((COVERAGE_STATISTICS, {_sN: _cSo}),), -) - -GET_COVERAGE_STATISTICS: StaticOperationSchema = ( - 23, - n0, - _GCS, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/coverage/statistics", - "code": 200, - } - ) - }, - GET_COVERAGE_STATISTICS_INPUT, - GET_COVERAGE_STATISTICS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_CUSTOM_DETECTION_RULE_INPUT: StaticSchema = ( - 18, - n0, - _GCDRI, - {_sSI: _cGCDRR, _s: None}, - (_RI,), - ((RULE_ID, 9),), -) - -RULE_EXPRESSION: StaticSchema = (3, n0, _RE, 0) - -RULE_DEFINITION: StaticSchema = ( - 18, - n0, - _RDul, - 0, - (_Ex,), - ((RULE_EXPRESSION, {_sN: _ex, _sm: None}),), -) - -RULE_LANGUAGE: StaticSchema = (14, n0, _RL, 0, (_SQL,), ((-1, {_sV: _SQL}),)) - -RULE_NAME: StaticSchema = (3, n0, _RNu, 0) - -RULE_SCHEMA: StaticSchema = (14, n0, _RSu, 0, (_CT_,), ((-1, {_sV: _CT}),)) - -MITRE_TACTIC: StaticSchema = (3, n0, _MTi, 0) - -MITRE_TECHNIQUE: StaticSchema = (3, n0, _MTit, 0) - -RULE_DETAIL: StaticSchema = ( - 18, - n0, - _RDule, - 0, - (_RI, _Ar, _N, _De, _Sev, _DSa, _Tac, _Tec, _Se, _Def, _Lan, _Sch, _RMD, _CA, _UAp), - ( - (RULE_ID, {_sN: _rI, _sm: None}), - (DETECTION_RULE_ARN, {_sN: _ar, _sm: None}), - (RULE_NAME, {_sN: _n, _sm: None}), - (DETECTION_RULE_DESCRIPTION, {_sN: _de, _sm: None}), - (DETECTION_RULE_SEVERITY, {_sN: _sev, _sm: None}), - (DETECTION_RULE_DATA_SOURCE, {_sN: _dSa, _sm: None}), - (MITRE_TACTIC, {_sN: _tac, _sm: None}), - (MITRE_TECHNIQUE, {_sN: _tec, _sm: None}), - (DETECTION_RULE_SERVICE_NAME, {_sN: _ser, _sm: None}), - (RULE_DEFINITION, {_sN: _def, _sm: None}), - (RULE_LANGUAGE, {_sN: _la}), - (RULE_SCHEMA, {_sN: _sch}), - (DETECTION_RULE_RUNTIME_MONITORING_DETAILS, {_sN: _rMD}), - (TIMESTAMP, {_sN: _cA, _sm: None}), - (TIMESTAMP, {_sN: _uAp}), - ), -) - -GET_CUSTOM_DETECTION_RULE_OUTPUT: StaticSchema = ( - 18, - n0, - _GCDRO, - {_sSI: _cGCDRRo, _smi: None}, - (_Ru,), - ((RULE_DETAIL, {_sN: _ru, _sm: None}),), -) - -GET_CUSTOM_DETECTION_RULE: StaticOperationSchema = ( - 23, - n0, - _GCDR, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/custom-detection-rule/rule/{RuleId}", - "code": 200, - } - ) - }, - GET_CUSTOM_DETECTION_RULE_INPUT, - GET_CUSTOM_DETECTION_RULE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -GET_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _GCDRAI, - {_sSI: _cGCDRAR, _s: None}, - (_RI, _AIs), - ((RULE_ID, 9), (ASSOCIATION_ID, 9)), -) - -GET_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GCDRAO, - {_sSI: _cGCDRARo, _smi: None}, - (_RA, _Ta), - ((ASSOCIATION_DETAIL, {_sN: _rA, _sm: None}), (TAG_MAP, {_sN: _ta})), -) - -GET_CUSTOM_DETECTION_RULE_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _GCDRA, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/custom-detection-rule/rule/{RuleId}/association/{AssociationId}", - "code": 200, - } - ) - }, - GET_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT, - GET_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GCDROCI, - {_sSI: _cGCDROCR, _s: None}, - (_RI, _Mo), - ((RULE_ID, 9), (ASSOCIATION_MODE, {_sQ: _mo, _sm: None})), -) - -GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GCDROCO, - {_sSI: _cGCDROCRo, _smi: None}, - (_Conf,), - ((DETECTION_RULE_ORG_CONFIGURATION, {_sN: _conf, _sm: None}),), -) - -GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GCDROC, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/custom-detection-rule/org-configuration/{RuleId}", - "code": 200, - } - ) - }, - GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT, - GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -GET_DETECTOR_INPUT: StaticSchema = ( - 18, - n0, - _GDI, - {_sSI: _cGDR, _s: None}, - (_DI,), - ((DETECTOR_ID, 9),), -) - -GET_DETECTOR_OUTPUT: StaticSchema = ( - 18, - n0, - _GDO, - {_sSI: _cGDRo, _smi: None}, - (_CA, _FPF, _SR, _St, _UAp, _DS, _Ta, _F), - ( - (STRING, {_sN: _cA}), - (FINDING_PUBLISHING_FREQUENCY, {_sN: _fPF}), - (STRING, {_sN: _sR, _sm: None}), - (DETECTOR_STATUS, {_sN: _st, _sm: None}), - (STRING, {_sN: _uAp}), - (DATA_SOURCE_CONFIGURATIONS_RESULT, {_sN: _dS}), - (TAG_MAP, {_sN: _ta}), - (DETECTOR_FEATURE_CONFIGURATIONS_RESULTS, {_sN: _f}), - ), -) - -GET_DETECTOR: StaticOperationSchema = ( - 23, - n0, - _GD, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/detector/{DetectorId}", "code": 200} - ) - }, - GET_DETECTOR_INPUT, - GET_DETECTOR_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_FILTER_INPUT: StaticSchema = ( - 18, - n0, - _GFIe, - {_sSI: _cGFR, _s: None}, - (_DI, _FN), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -GET_FILTER_OUTPUT: StaticSchema = ( - 18, - n0, - _GFO, - {_sSI: _cGFRo, _smi: None}, - (_N, _De, _Ac, _Ra, _FCin, _Ta, _CA, _UAp, _Ve), - ( - (FILTER_NAME, {_sN: _n, _sm: None}), - (FILTER_DESCRIPTION, {_sN: _de}), - (FILTER_ACTION, {_sN: _ac, _sm: None}), - (FILTER_RANK, {_sN: _ra}), - (FINDING_CRITERIA, {_sN: _fCin, _sm: None}), - (TAG_MAP, {_sN: _ta}), - (TIMESTAMP, {_sN: _cA}), - (TIMESTAMP, {_sN: _uAp}), - (FILTER_VERSION, {_sN: _ver}), - ), -) - -GET_FILTER: StaticOperationSchema = ( - 23, - n0, - _GF, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/filter/{FilterName}", - "code": 200, - } - ) - }, - GET_FILTER_INPUT, - GET_FILTER_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_FINDINGS_INPUT: StaticSchema = ( - 18, - n0, - _GFIet, - {_sSI: _cGFRom, _s: None}, - (_DI, _FIi, _SCo), - ( - (DETECTOR_ID, 9), - (FINDING_IDS, {_sN: _fI, _sm: None}), - (SORT_CRITERIA, {_sN: _sCo}), - ), -) - -GET_FINDINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _GFOe, - {_sSI: _cGFRoma, _smi: None}, - (_Find,), - ((FINDINGS, {_sN: _fin, _sm: None}),), -) - -GET_FINDINGS: StaticOperationSchema = ( - 23, - n0, - _GFe, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/findings/get", - "code": 200, - } - ) - }, - GET_FINDINGS_INPUT, - GET_FINDINGS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GROUP_BY_TYPE: StaticSchema = ( - 14, - n0, - _GBT, - 0, - (_ACCOUNT, _DATE, _FT_, _RESOURCE, _SEVERITY), - ( - (-1, {_sV: _ACCOUNT}), - (-1, {_sV: _DATE}), - (-1, {_sV: _FT_}), - (-1, {_sV: _RESOURCE}), - (-1, {_sV: _SEVERITY}), - ), -) - -MAX_RESULTS100: StaticSchema = (7, n0, _MRa, 0) - -GET_FINDINGS_STATISTICS_INPUT: StaticSchema = ( - 18, - n0, - _GFSI, - {_sSI: _cGFSR, _s: None}, - (_DI, _FSTin, _FCin, _GB, _OB, _MR), - ( - (DETECTOR_ID, 9), - (FINDING_STATISTIC_TYPES, {_sN: _fSTi}), - (FINDING_CRITERIA, {_sN: _fCin}), - (GROUP_BY_TYPE, {_sN: _gB}), - (ORDER_BY, {_sN: _oB}), - (MAX_RESULTS100, {_sN: _mR}), - ), -) - -GET_FINDINGS_STATISTICS_OUTPUT: StaticSchema = ( - 18, - n0, - _GFSO, - {_sSI: _cGFSRo, _smi: None}, - (_FSi, _NT), - ((FINDING_STATISTICS, {_sN: _fS, _sm: None}), (STRING, {_sN: _nT})), -) - -GET_FINDINGS_STATISTICS: StaticOperationSchema = ( - 23, - n0, - _GFS, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/findings/statistics", - "code": 200, - } - ) - }, - GET_FINDINGS_STATISTICS_INPUT, - GET_FINDINGS_STATISTICS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_INVESTIGATION_INPUT: StaticSchema = ( - 18, - n0, - _GII, - {_sSI: _cGIR, _s: None}, - (_DI, _IInv), - ((DETECTOR_ID, 9), (INVESTIGATION_ID, 9)), -) - -INVESTIGATION_ERROR_DETAILS: StaticSchema = (3, n0, _IED, 0) - -PRODUCT: StaticSchema = ( - 18, - n0, - _Prod, - 0, - (_N, _Fea), - ((STRING, {_sN: _n, _sm: None}), (STRING, {_sN: _fe})), -) - -INVESTIGATION_METADATA: StaticSchema = ( - 18, - n0, - _IM, - 0, - (_Ve, _Prod), - ((STRING, {_sN: _ver, _sm: None}), (PRODUCT, {_sN: _prod, _sm: None})), -) - -RISK_DETAILS: StaticSchema = (3, n0, _RDi, 0) - -RISK_LEVEL: StaticSchema = ( - 14, - n0, - _RLi, - 0, - (_INFO, _LOW, _MEDIUM, _HIGH, _CRITICAL), - ( - (-1, {_sV: _Inf}), - (-1, {_sV: _Low}), - (-1, {_sV: _Me}), - (-1, {_sV: _H}), - (-1, {_sV: _Cri}), - ), -) - -INVESTIGATION_STATUS: StaticSchema = ( - 14, - n0, - _ISn, - 0, - (_RUNNING, _COMPLETED, _FAILED), - ((-1, {_sV: _RUNNING}), (-1, {_sV: _COMPLETED}), (-1, {_sV: _FAILED})), -) - -TRIGGERED_BY: StaticSchema = (3, n0, _TBr, 0) - -INVESTIGATION: StaticSchema = ( - 18, - n0, - _Inv, - 0, - (_IInv, _St, _TP, _TBr, _Met, _Cl, _RLi, _Ri, _Con, _Sum, _ST, _ET, _Er), - ( - (INVESTIGATION_ID, {_sN: _iInv, _sm: None}), - (INVESTIGATION_STATUS, {_sN: _st, _sm: None}), - (TRIGGER_PROMPT, {_sN: _tP, _sm: None}), - (TRIGGERED_BY, {_sN: _tBr, _sm: None}), - (INVESTIGATION_METADATA, {_sN: _met}), - (CLOUD_DETAILS, {_sN: _cl}), - (RISK_LEVEL, {_sN: _rL}), - (RISK_DETAILS, {_sN: _ri}), - (CONFIDENCE, {_sN: _con}), - (STRING, {_sN: _sum}), - (TIMESTAMP, {_sN: _sT}), - (TIMESTAMP, {_sN: _eT}), - (INVESTIGATION_ERROR_DETAILS, {_sN: _er}), - ), -) - -GET_INVESTIGATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GIO, - {_sSI: _cGIRo, _smi: None}, - (_Inv,), - ((INVESTIGATION, {_sN: _in, _sm: None}),), -) - -GET_INVESTIGATION: StaticOperationSchema = ( - 23, - n0, - _GIe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/investigation/{InvestigationId}", - "code": 200, - } - ) - }, - GET_INVESTIGATION_INPUT, - GET_INVESTIGATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -GET_INVITATIONS_COUNT_INPUT: StaticSchema = (18, n0, _GICI, {_sSI: _cGICR, _s: None}) - -GET_INVITATIONS_COUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _GICO, - {_sSI: _cGICRo, _smi: None}, - (_ICn,), - ((INTEGER, {_sN: _iCn}),), -) - -GET_INVITATIONS_COUNT: StaticOperationSchema = ( - 23, - n0, - _GIC, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/invitation/count", "code": 200} - ) - }, - GET_INVITATIONS_COUNT_INPUT, - GET_INVITATIONS_COUNT_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_IP_SET_INPUT: StaticSchema = ( - 18, - n0, - _GIPSI, - {_sSI: _cGIPSR, _s: None}, - (_DI, _ISI), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -IP_SET_STATUS: StaticSchema = ( - 14, - n0, - _ISS, - 0, - (_INACTIVE, _ACTIVATING, _ACTIVE, _DEACTIVATING, _ERROR, _DP_, _DELETED), - ( - (-1, {_sV: _INACTIVE}), - (-1, {_sV: _ACTIVATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DEACTIVATING}), - (-1, {_sV: _ERROR}), - (-1, {_sV: _DP_}), - (-1, {_sV: _DELETED}), - ), -) - -GET_IP_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPSO, - {_sSI: _cGIPSRo, _smi: None}, - (_N, _Fo, _Loc, _St, _Ta, _EBO), - ( - (NAME, {_sN: _n, _sm: None}), - (IP_SET_FORMAT, {_sN: _fo, _sm: None}), - (LOCATION, {_sN: _loc, _sm: None}), - (IP_SET_STATUS, {_sN: _st, _sm: None}), - (TAG_MAP, {_sN: _ta}), - (ACCOUNT_ID, {_sN: _eBO}), - ), -) - -GET_IP_SET: StaticOperationSchema = ( - 23, - n0, - _GIPS, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/ipset/{IpSetId}", - "code": 200, - } - ) - }, - GET_IP_SET_INPUT, - GET_IP_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_MALWARE_PROTECTION_PLAN_INPUT: StaticSchema = ( - 18, - n0, - _GMPPI, - {_sSI: _cGMPPR, _s: None}, - (_MPPI,), - ((STRING, 9),), -) - -MALWARE_PROTECTION_PLAN_STATUS: StaticSchema = ( - 14, - n0, - _MPPS, - 0, - (_ACTIVE, _WARNING, _ERROR), - ((-1, {_sV: _ACTIVE}), (-1, {_sV: _WARNING}), (-1, {_sV: _ERROR})), -) - -MALWARE_PROTECTION_PLAN_STATUS_REASON: StaticSchema = ( - 18, - n0, - _MPPSR, - 0, - (_Cod, _M), - ((STRING, {_sN: _cod}), (STRING, {_sN: _m})), -) - -MALWARE_PROTECTION_PLAN_STATUS_REASONS_LIST: StaticSchema = ( - 16, - n0, - _MPPSRL, - 0, - (_me,), - ((MALWARE_PROTECTION_PLAN_STATUS_REASON, 0),), -) - -GET_MALWARE_PROTECTION_PLAN_OUTPUT: StaticSchema = ( - 18, - n0, - _GMPPO, - {_sSI: _cGMPPRo, _smi: None}, - (_Ar, _Ro, _PR, _Actio, _CA, _St, _SRta, _Ta), - ( - (STRING, {_sN: _ar}), - (STRING, {_sN: _ro}), - (CREATE_PROTECTED_RESOURCE, {_sN: _pR}), - (MALWARE_PROTECTION_PLAN_ACTIONS, {_sN: _acti}), - (TIMESTAMP, {_sN: _cA}), - (MALWARE_PROTECTION_PLAN_STATUS, {_sN: _st}), - (MALWARE_PROTECTION_PLAN_STATUS_REASONS_LIST, {_sN: _sRta}), - (TAG_MAP, {_sN: _ta}), - ), -) - -GET_MALWARE_PROTECTION_PLAN: StaticOperationSchema = ( - 23, - n0, - _GMPP, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/malware-protection-plan/{MalwareProtectionPlanId}", - "code": 200, - } - ) - }, - GET_MALWARE_PROTECTION_PLAN_INPUT, - GET_MALWARE_PROTECTION_PLAN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -GET_MALWARE_SCAN_INPUT: StaticSchema = ( - 18, - n0, - _GMSI, - {_sSI: _cGMSR, _s: None}, - (_SIc,), - ((STRING, 9),), -) - -NON_NEGATIVE_INTEGER: StaticSchema = (7, n0, _NNI, 0) - -MALWARE_PROTECTION_RESOURCE_TYPE: StaticSchema = ( - 14, - n0, - _MPRT, - 0, - (_ERP, _ES_, _EV__, _EA_, _EI_, _ERP_, _SRP, _SB_, _SPITR), - ( - (-1, {_sV: _ERP}), - (-1, {_sV: _ES_}), - (-1, {_sV: _EV__}), - (-1, {_sV: _EA_}), - (-1, {_sV: _EI_}), - (-1, {_sV: _ERP_}), - (-1, {_sV: _SRP}), - (-1, {_sV: _SB_}), - (-1, {_sV: _SPITR}), - ), -) - -SCAN_CONFIGURATION_RECOVERY_POINT: StaticSchema = ( - 18, - n0, - _SCRP, - 0, - (_BVN, _CSD), - ( - (NON_EMPTY_STRING, {_sN: _bVN}), - (SCAN_CONFIGURATION_CONTINUOUS_SCAN_DETAILS, {_sN: _cSD}), - ), -) - -SCAN_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCca, - 0, - (_Ro, _TD, _ISD, _RP), - ( - (NON_EMPTY_STRING, {_sN: _ro}), - (TRIGGER_DETAILS, {_sN: _tD}), - (INCREMENTAL_SCAN_DETAILS, {_sN: _iSD}), - (SCAN_CONFIGURATION_RECOVERY_POINT, {_sN: _rP}), - ), -) - -SCANNED_RESOURCE_DETAILS: StaticSchema = ( - 18, - n0, - _SRDc, - 0, - (_EVb, _ES), - ((VOLUME_DETAIL, {_sN: _eVb}), (EBS_SNAPSHOT, {_sN: _eSb})), -) - -MALWARE_PROTECTION_SCAN_STATUS: StaticSchema = ( - 14, - n0, - _MPSS, - 0, - (_RUNNING, _COMPLETED, _CWI, _FAILED, _SKIPPED), - ( - (-1, {_sV: _RUNNING}), - (-1, {_sV: _COMPLETED}), - (-1, {_sV: _CWI}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _SKIPPED}), - ), -) - -SCAN_STATUS_REASON: StaticSchema = ( - 14, - n0, - _SSR, - 0, - ( - _AD_, - _RNF, - _SSLE, - _RU_, - _IS__, - _IND, - _NEVF, - _UPCT, - _ASLE, - _UR, - _BRNS, - _BCAT, - _UFI, - _UA__, - _US, - _UCRP, - _AFSOF, - ), - ( - (-1, {_sV: _AD_}), - (-1, {_sV: _RNF}), - (-1, {_sV: _SSLE}), - (-1, {_sV: _RU_}), - (-1, {_sV: _IS__}), - (-1, {_sV: _IND}), - (-1, {_sV: _NEVF}), - (-1, {_sV: _UPCT}), - (-1, {_sV: _ASLE}), - (-1, {_sV: _UR}), - (-1, {_sV: _BRNS}), - (-1, {_sV: _BCAT}), - (-1, {_sV: _UFI}), - (-1, {_sV: _UA__}), - (-1, {_sV: _US}), - (-1, {_sV: _UCRP}), - (-1, {_sV: _AFSOF}), - ), -) - -SCANNED_RESOURCE: StaticSchema = ( - 18, - n0, - _SRca, - 0, - (_SRA, _SRT, _SRS, _SSR, _RD), - ( - (NON_EMPTY_STRING, {_sN: _sRA}), - (MALWARE_PROTECTION_RESOURCE_TYPE, {_sN: _sRT}), - (MALWARE_PROTECTION_SCAN_STATUS, {_sN: _sRS}), - (SCAN_STATUS_REASON, {_sN: _sSR}), - (SCANNED_RESOURCE_DETAILS, {_sN: _rD}), - ), -) - -SCANNED_RESOURCES: StaticSchema = (16, n0, _SRcan, 0, (_me,), ((SCANNED_RESOURCE, 0),)) - -SCAN_RESULT_STATUS: StaticSchema = ( - 14, - n0, - _SRSc, - 0, - (_NTF, _TF_), - ((-1, {_sV: _NTF}), (-1, {_sV: _TF_})), -) - -SCAN_RESULT_THREAT: StaticSchema = ( - 18, - n0, - _SRTc, - 0, - (_N, _Sou, _Cou, _Ha, _IDt), - ( - (NON_EMPTY_STRING, {_sN: _n}), - (DETECTION_SOURCE, {_sN: _sou}), - (POSITIVE_LONG, {_sN: _cou}), - (NON_EMPTY_STRING, {_sN: _h}), - (ITEM_DETAILS_LIST, {_sN: _iDt}), - ), -) - -SCAN_RESULT_THREATS: StaticSchema = ( - 16, - n0, - _SRTca, - 0, - (_me,), - ((SCAN_RESULT_THREAT, 0),), -) - -GET_MALWARE_SCAN_RESULT_DETAILS: StaticSchema = ( - 18, - n0, - _GMSRD, - 0, - (_SRSc, _SFC, _FFC, _TFFC, _TFC, _TB, _UTC, _Thr), - ( - (SCAN_RESULT_STATUS, {_sN: _sRSc}), - (POSITIVE_LONG, {_sN: _sFC}), - (POSITIVE_LONG, {_sN: _fFC}), - (POSITIVE_LONG, {_sN: _tFFC}), - (POSITIVE_LONG, {_sN: _tFC}), - (POSITIVE_LONG, {_sN: _tB}), - (POSITIVE_LONG, {_sN: _uTC}), - (SCAN_RESULT_THREATS, {_sN: _th}), - ), -) - -GET_MALWARE_SCAN_OUTPUT: StaticSchema = ( - 18, - n0, - _GMSO, - {_sSI: _cGMSRo, _smi: None}, - ( - _SIc, - _DI, - _ADI, - _RAe, - _RT, - _SRC, - _SRCk, - _FRC, - _SRcan, - _SCca, - _SCc, - _SSc, - _SSR, - _STc, - _SSA, - _SCA, - _SRD, - ), - ( - (NON_EMPTY_STRING, {_sN: _sI}), - (DETECTOR_ID, {_sN: _dI}), - (DETECTOR_ID, {_sN: _aDI}), - (NON_EMPTY_STRING, {_sN: _rAe}), - (MALWARE_PROTECTION_RESOURCE_TYPE, {_sN: _rT}), - (NON_NEGATIVE_INTEGER, {_sN: _sRC}), - (NON_NEGATIVE_INTEGER, {_sN: _sRCk}), - (NON_NEGATIVE_INTEGER, {_sN: _fRC}), - (SCANNED_RESOURCES, {_sN: _sRca}), - (SCAN_CONFIGURATION, {_sN: _sCca}), - (SCAN_CATEGORY, {_sN: _sCc}), - (MALWARE_PROTECTION_SCAN_STATUS, {_sN: _sS}), - (SCAN_STATUS_REASON, {_sN: _sSR}), - (MALWARE_PROTECTION_SCAN_TYPE, {_sN: _sTc}), - (TIMESTAMP, {_sN: _sSA}), - (TIMESTAMP, {_sN: _sCA}), - (GET_MALWARE_SCAN_RESULT_DETAILS, {_sN: _sRD}), - ), -) - -GET_MALWARE_SCAN: StaticOperationSchema = ( - 23, - n0, - _GMS, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/malware-scan/{ScanId}", "code": 200} - ) - }, - GET_MALWARE_SCAN_INPUT, - GET_MALWARE_SCAN_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -GET_MALWARE_SCAN_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _GMSSI, - {_sSI: _cGMSSR, _s: None}, - (_DI,), - ((DETECTOR_ID, 9),), -) - -SCAN_CRITERION_KEY: StaticSchema = (14, n0, _SCK, 0, (_EIT,), ((-1, {_sV: _EIT}),)) - -SCAN_CONDITION_PAIR: StaticSchema = ( - 18, - n0, - _SCP, - 0, - (_Ke, _Va), - ((TAG_KEY, {_sN: _ke, _sm: None}), (TAG_VALUE, {_sN: _v})), -) - -MAP_EQUALS: StaticSchema = (16, n0, _ME, 0, (_me,), ((SCAN_CONDITION_PAIR, 0),)) - -SCAN_CONDITION: StaticSchema = ( - 18, - n0, - _SCcan, - 0, - (_ME,), - ((MAP_EQUALS, {_sN: _mE, _sm: None}),), -) - -SCAN_CRITERION: StaticSchema = ( - 17, - n0, - _SCcanr, - 0, - (_ke, _v), - ((SCAN_CRITERION_KEY, 0), (SCAN_CONDITION, 0)), -) - -SCAN_RESOURCE_CRITERIA: StaticSchema = ( - 18, - n0, - _SRCc, - 0, - (_Inc, _Exc), - ((SCAN_CRITERION, {_sN: _inc}), (SCAN_CRITERION, {_sN: _exc})), -) - -GET_MALWARE_SCAN_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _GMSSO, - {_sSI: _cGMSSRo, _smi: None}, - (_SRCc, _ESP), - ((SCAN_RESOURCE_CRITERIA, {_sN: _sRCc}), (EBS_SNAPSHOT_PRESERVATION, {_sN: _eSP})), -) - -GET_MALWARE_SCAN_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _GMSS, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/malware-scan-settings", - "code": 200, - } - ) - }, - GET_MALWARE_SCAN_SETTINGS_INPUT, - GET_MALWARE_SCAN_SETTINGS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_MASTER_ACCOUNT_INPUT: StaticSchema = ( - 18, - n0, - _GMAI, - {_sSI: _cGMAR, _s: None}, - (_DI,), - ((DETECTOR_ID, 9),), -) - -MASTER: StaticSchema = ( - 18, - n0, - _Mas, - 0, - (_AIcc, _II, _RS, _IA), - ( - (ACCOUNT_ID, {_sN: _aIc}), - (STRING, {_sN: _iI}), - (STRING, {_sN: _rS}), - (STRING, {_sN: _iA}), - ), -) - -GET_MASTER_ACCOUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _GMAO, - {_sSI: _cGMARo, _smi: None}, - (_Mas,), - ((MASTER, {_sN: _mas, _sm: None}),), -) - -GET_MASTER_ACCOUNT: StaticOperationSchema = ( - 23, - n0, - _GMA, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/detector/{DetectorId}/master", "code": 200} - ) - }, - GET_MASTER_ACCOUNT_INPUT, - GET_MASTER_ACCOUNT_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_MEMBER_DETECTORS_INPUT: StaticSchema = ( - 18, - n0, - _GMDI, - {_sSI: _cGMDR, _s: None}, - (_DI, _AIcco), - ((DETECTOR_ID, 9), (ACCOUNT_IDS, {_sN: _aIcc, _sm: None})), -) - -MEMBER_ADDITIONAL_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _MACR, - 0, - (_N, _St, _UAp, _MB), - ( - (ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), - (FEATURE_STATUS, {_sN: _st}), - (TIMESTAMP, {_sN: _uAp}), - (MANAGED_BY, {_sN: _mB}), - ), -) - -MEMBER_ADDITIONAL_CONFIGURATION_RESULTS: StaticSchema = ( - 16, - n0, - _MACRe, - 0, - (_me,), - ((MEMBER_ADDITIONAL_CONFIGURATION_RESULT, 0),), -) - -MEMBER_FEATURES_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _MFCR, - 0, - (_N, _St, _UAp, _ACd, _MB), - ( - (ORG_FEATURE, {_sN: _n}), - (FEATURE_STATUS, {_sN: _st}), - (TIMESTAMP, {_sN: _uAp}), - (MEMBER_ADDITIONAL_CONFIGURATION_RESULTS, {_sN: _aC}), - (MANAGED_BY, {_sN: _mB}), - ), -) - -MEMBER_FEATURES_CONFIGURATIONS_RESULTS: StaticSchema = ( - 16, - n0, - _MFCRe, - 0, - (_me,), - ((MEMBER_FEATURES_CONFIGURATION_RESULT, 0),), -) - -MEMBER_DATA_SOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MDSC, - 0, - (_AIcc, _DS, _F), - ( - (ACCOUNT_ID, {_sN: _aIc, _sm: None}), - (DATA_SOURCE_CONFIGURATIONS_RESULT, {_sN: _dS, _sm: None}), - (MEMBER_FEATURES_CONFIGURATIONS_RESULTS, {_sN: _f}), - ), -) - -MEMBER_DATA_SOURCE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _MDSCe, - 0, - (_me,), - ((MEMBER_DATA_SOURCE_CONFIGURATION, 0),), -) - -GET_MEMBER_DETECTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _GMDO, - {_sSI: _cGMDRo, _smi: None}, - (_MDSCe, _UAnp), - ( - (MEMBER_DATA_SOURCE_CONFIGURATIONS, {_sN: _mem, _sm: None}), - (UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}), - ), -) - -GET_MEMBER_DETECTORS: StaticOperationSchema = ( - 23, - n0, - _GMD, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/member/detector/get", - "code": 200, - } - ) - }, - GET_MEMBER_DETECTORS_INPUT, - GET_MEMBER_DETECTORS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _GMI, - {_sSI: _cGMR, _s: None}, - (_DI, _AIcco), - ((DETECTOR_ID, 9), (ACCOUNT_IDS, {_sN: _aIcc, _sm: None})), -) - -MEMBER: StaticSchema = ( - 18, - n0, - _Mem, - 0, - (_AIcc, _DI, _MI, _E, _RS, _IA, _UAp, _AI), - ( - (ACCOUNT_ID, {_sN: _aIc, _sm: None}), - (DETECTOR_ID, {_sN: _dI}), - (STRING, {_sN: _mI, _sm: None}), - (EMAIL, {_sN: _e, _sm: None}), - (STRING, {_sN: _rS, _sm: None}), - (STRING, {_sN: _iA}), - (STRING, {_sN: _uAp, _sm: None}), - (STRING, {_sN: _aI}), - ), -) - -MEMBERS: StaticSchema = (16, n0, _Memb, 0, (_me,), ((MEMBER, 0),)) - -GET_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _GMO, - {_sSI: _cGMRo, _smi: None}, - (_Memb, _UAnp), - ((MEMBERS, {_sN: _mem, _sm: None}), (UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None})), -) - -GET_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _GM, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}/member/get", "code": 200} - ) - }, - GET_MEMBERS_INPUT, - GET_MEMBERS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_ORGANIZATION_STATISTICS_INPUT: StaticSchema = (18, n0, _GOSI, {_sSI: _sU, _s: None}) - -ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OFSAC, - 0, - (_N, _EAC), - ((ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), (INTEGER, {_sN: _eAC})), -) - -ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _OFSACr, - 0, - (_me,), - ((ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATION, 0),), -) - -ORGANIZATION_FEATURE_STATISTICS: StaticSchema = ( - 18, - n0, - _OFSr, - 0, - (_N, _EAC, _ACd), - ( - (ORG_FEATURE, {_sN: _n}), - (INTEGER, {_sN: _eAC}), - (ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATIONS, {_sN: _aC}), - ), -) - -ORGANIZATION_FEATURE_STATISTICS_RESULTS: StaticSchema = ( - 16, - n0, - _OFSR, - 0, - (_me,), - ((ORGANIZATION_FEATURE_STATISTICS, 0),), -) - -ORGANIZATION_STATISTICS: StaticSchema = ( - 18, - n0, - _OS, - 0, - (_TAC, _MAC, _AAC, _EAC, _CBF), - ( - (INTEGER, {_sN: _tAC}), - (INTEGER, {_sN: _mAC}), - (INTEGER, {_sN: _aAC}), - (INTEGER, {_sN: _eAC}), - (ORGANIZATION_FEATURE_STATISTICS_RESULTS, {_sN: _cBF}), - ), -) - -ORGANIZATION_DETAILS: StaticSchema = ( - 18, - n0, - _ODr, - 0, - (_UAp, _OS), - ((TIMESTAMP, {_sN: _uAp}), (ORGANIZATION_STATISTICS, {_sN: _oS})), -) - -GET_ORGANIZATION_STATISTICS_OUTPUT: StaticSchema = ( - 18, - n0, - _GOSO, - {_sSI: _cGOSR, _smi: None}, - (_ODr,), - ((ORGANIZATION_DETAILS, {_sN: _oD}),), -) - -GET_ORGANIZATION_STATISTICS: StaticOperationSchema = ( - 23, - n0, - _GOS, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/organization/statistics", "code": 200} - ) - }, - GET_ORGANIZATION_STATISTICS_INPUT, - GET_ORGANIZATION_STATISTICS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_REMAINING_FREE_TRIAL_DAYS_INPUT: StaticSchema = ( - 18, - n0, - _GRFTDI, - {_sSI: _cGRFTDR, _s: None}, - (_DI, _AIcco), - ((DETECTOR_ID, 9), (ACCOUNT_IDS, {_sN: _aIcc, _sm: None})), -) - -GET_REMAINING_FREE_TRIAL_DAYS_OUTPUT: StaticSchema = ( - 18, - n0, - _GRFTDO, - {_sSI: _cGRFTDRo, _smi: None}, - (_Acc, _UAnp), - ((ACCOUNT_FREE_TRIAL_INFOS, {_sN: _acc}), (UNPROCESSED_ACCOUNTS, {_sN: _uAn})), -) - -GET_REMAINING_FREE_TRIAL_DAYS: StaticOperationSchema = ( - 23, - n0, - _GRFTD, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/freeTrial/daysRemaining", - "code": 200, - } - ) - }, - GET_REMAINING_FREE_TRIAL_DAYS_INPUT, - GET_REMAINING_FREE_TRIAL_DAYS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_THREAT_ENTITY_SET_INPUT: StaticSchema = ( - 18, - n0, - _GTESI, - {_sSI: _cGTESR, _s: None}, - (_DI, _TESI), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -THREAT_ENTITY_SET_STATUS: StaticSchema = ( - 14, - n0, - _TESS, - 0, - (_INACTIVE, _ACTIVATING, _ACTIVE, _DEACTIVATING, _ERROR, _DP_, _DELETED), - ( - (-1, {_sV: _INACTIVE}), - (-1, {_sV: _ACTIVATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DEACTIVATING}), - (-1, {_sV: _ERROR}), - (-1, {_sV: _DP_}), - (-1, {_sV: _DELETED}), - ), -) - -GET_THREAT_ENTITY_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _GTESO, - {_sSI: _cGTESRo, _smi: None}, - (_N, _Fo, _Loc, _EBO, _St, _Ta, _CA, _UAp, _ED), - ( - (NAME, {_sN: _n, _sm: None}), - (THREAT_ENTITY_SET_FORMAT, {_sN: _fo, _sm: None}), - (LOCATION, {_sN: _loc, _sm: None}), - (EXPECTED_BUCKET_OWNER, {_sN: _eBO}), - (THREAT_ENTITY_SET_STATUS, {_sN: _st, _sm: None}), - (TAG_MAP, {_sN: _ta}), - (TIMESTAMP, {_sN: _cA}), - (TIMESTAMP, {_sN: _uAp}), - (STRING, {_sN: _eD}), - ), -) - -GET_THREAT_ENTITY_SET: StaticOperationSchema = ( - 23, - n0, - _GTES, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", - "code": 200, - } - ) - }, - GET_THREAT_ENTITY_SET_INPUT, - GET_THREAT_ENTITY_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_THREAT_INTEL_SET_INPUT: StaticSchema = ( - 18, - n0, - _GTISI, - {_sSI: _cGTISR, _s: None}, - (_DI, _TISI), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -THREAT_INTEL_SET_STATUS: StaticSchema = ( - 14, - n0, - _TISS, - 0, - (_INACTIVE, _ACTIVATING, _ACTIVE, _DEACTIVATING, _ERROR, _DP_, _DELETED), - ( - (-1, {_sV: _INACTIVE}), - (-1, {_sV: _ACTIVATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DEACTIVATING}), - (-1, {_sV: _ERROR}), - (-1, {_sV: _DP_}), - (-1, {_sV: _DELETED}), - ), -) - -GET_THREAT_INTEL_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _GTISO, - {_sSI: _cGTISRo, _smi: None}, - (_N, _Fo, _Loc, _St, _Ta, _EBO), - ( - (NAME, {_sN: _n, _sm: None}), - (THREAT_INTEL_SET_FORMAT, {_sN: _fo, _sm: None}), - (LOCATION, {_sN: _loc, _sm: None}), - (THREAT_INTEL_SET_STATUS, {_sN: _st, _sm: None}), - (TAG_MAP, {_sN: _ta}), - (ACCOUNT_ID, {_sN: _eBO}), - ), -) - -GET_THREAT_INTEL_SET: StaticOperationSchema = ( - 23, - n0, - _GTIS, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", - "code": 200, - } - ) - }, - GET_THREAT_INTEL_SET_INPUT, - GET_THREAT_INTEL_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GET_TRUSTED_ENTITY_SET_INPUT: StaticSchema = ( - 18, - n0, - _GTESIe, - {_sSI: _cGTESRom, _s: None}, - (_DI, _TESIr), - ((DETECTOR_ID, 9), (STRING, 9)), -) - -TRUSTED_ENTITY_SET_STATUS: StaticSchema = ( - 14, - n0, - _TESSr, - 0, - (_INACTIVE, _ACTIVATING, _ACTIVE, _DEACTIVATING, _ERROR, _DP_, _DELETED), - ( - (-1, {_sV: _INACTIVE}), - (-1, {_sV: _ACTIVATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DEACTIVATING}), - (-1, {_sV: _ERROR}), - (-1, {_sV: _DP_}), - (-1, {_sV: _DELETED}), - ), -) - -GET_TRUSTED_ENTITY_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _GTESOe, - {_sSI: _cGTESRoma, _smi: None}, - (_N, _Fo, _Loc, _EBO, _St, _Ta, _CA, _UAp, _ED), - ( - (NAME, {_sN: _n, _sm: None}), - (TRUSTED_ENTITY_SET_FORMAT, {_sN: _fo, _sm: None}), - (LOCATION, {_sN: _loc, _sm: None}), - (EXPECTED_BUCKET_OWNER, {_sN: _eBO}), - (TRUSTED_ENTITY_SET_STATUS, {_sN: _st, _sm: None}), - (TAG_MAP, {_sN: _ta}), - (TIMESTAMP, {_sN: _cA}), - (TIMESTAMP, {_sN: _uAp}), - (STRING, {_sN: _eD}), - ), -) - -GET_TRUSTED_ENTITY_SET: StaticOperationSchema = ( - 23, - n0, - _GTESe, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", - "code": 200, - } - ) - }, - GET_TRUSTED_ENTITY_SET_INPUT, - GET_TRUSTED_ENTITY_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -USAGE_FEATURE: StaticSchema = ( - 14, - n0, - _UFs, - 0, - ( - _FL_, - _CT_, - _DL_, - _SDE, - _EAL, - _EMP, - _RLE, - _LNL, - _ERM, - _ERM_, - _FRM, - _RDPP, - _RDPS, - _RDPL, - _RDADPP, - _RDADPS, - _RDADPL, - _AP, - ), - ( - (-1, {_sV: _FL_}), - (-1, {_sV: _CT_}), - (-1, {_sV: _DL_}), - (-1, {_sV: _SDE}), - (-1, {_sV: _EAL}), - (-1, {_sV: _EMP}), - (-1, {_sV: _RLE}), - (-1, {_sV: _LNL}), - (-1, {_sV: _ERM}), - (-1, {_sV: _ERM_}), - (-1, {_sV: _FRM}), - (-1, {_sV: _RDPP}), - (-1, {_sV: _RDPS}), - (-1, {_sV: _RDPL}), - (-1, {_sV: _RDADPP}), - (-1, {_sV: _RDADPS}), - (-1, {_sV: _RDADPL}), - (-1, {_sV: _AP}), - ), -) - -USAGE_FEATURE_LIST: StaticSchema = (16, n0, _UFL, 0, (_me,), ((USAGE_FEATURE, 0),)) - -RESOURCE_LIST: StaticSchema = (16, n0, _RLe, 0, (_me,), ((STRING, 0),)) - -USAGE_CRITERIA: StaticSchema = ( - 18, - n0, - _UC, - 0, - (_AIcco, _DS, _Reso, _F), - ( - (ACCOUNT_IDS, {_sN: _aIcc}), - (DATA_SOURCE_LIST, {_sN: _dS}), - (RESOURCE_LIST, {_sN: _reso}), - (USAGE_FEATURE_LIST, {_sN: _f}), - ), -) - -USAGE_STATISTIC_TYPE: StaticSchema = ( - 14, - n0, - _UST, - 0, - (_SBA, _SBDS, _SBR, _TR, _SBF, _TABF), - ( - (-1, {_sV: _SBA}), - (-1, {_sV: _SBDS}), - (-1, {_sV: _SBR}), - (-1, {_sV: _TR}), - (-1, {_sV: _SBF}), - (-1, {_sV: _TABF}), - ), -) - -GET_USAGE_STATISTICS_INPUT: StaticSchema = ( - 18, - n0, - _GUSI, - {_sSI: _cGUSR, _s: None}, - (_DI, _UST, _UC, _Uni, _MR, _NT), - ( - (DETECTOR_ID, 9), - (USAGE_STATISTIC_TYPE, {_sN: _uST, _sm: None}), - (USAGE_CRITERIA, {_sN: _uC, _sm: None}), - (STRING, {_sN: _uni}), - (MAX_RESULTS, {_sN: _mR}), - (STRING, {_sN: _nT}), - ), -) - -TOTAL: StaticSchema = ( - 18, - n0, - _To, - 0, - (_Am, _Uni), - ((STRING, {_sN: _am}), (STRING, {_sN: _uni})), -) - -USAGE_ACCOUNT_RESULT: StaticSchema = ( - 18, - n0, - _UAR, - 0, - (_AIcc, _To), - ((ACCOUNT_ID, {_sN: _aIc}), (TOTAL, {_sN: _to})), -) - -USAGE_ACCOUNT_RESULT_LIST: StaticSchema = ( - 16, - n0, - _UARL, - 0, - (_me,), - ((USAGE_ACCOUNT_RESULT, 0),), -) - -USAGE_DATA_SOURCE_RESULT: StaticSchema = ( - 18, - n0, - _UDSRs, - 0, - (_DSa, _To), - ((DATA_SOURCE, {_sN: _dSa}), (TOTAL, {_sN: _to})), -) - -USAGE_DATA_SOURCE_RESULT_LIST: StaticSchema = ( - 16, - n0, - _UDSRL, - 0, - (_me,), - ((USAGE_DATA_SOURCE_RESULT, 0),), -) - -USAGE_FEATURE_RESULT: StaticSchema = ( - 18, - n0, - _UFR, - 0, - (_Fea, _To), - ((USAGE_FEATURE, {_sN: _fe}), (TOTAL, {_sN: _to})), -) - -USAGE_FEATURE_RESULT_LIST: StaticSchema = ( - 16, - n0, - _UFRL, - 0, - (_me,), - ((USAGE_FEATURE_RESULT, 0),), -) - -USAGE_RESOURCE_RESULT: StaticSchema = ( - 18, - n0, - _URR, - 0, - (_R, _To), - ((STRING, {_sN: _r}), (TOTAL, {_sN: _to})), -) - -USAGE_RESOURCE_RESULT_LIST: StaticSchema = ( - 16, - n0, - _URRL, - 0, - (_me,), - ((USAGE_RESOURCE_RESULT, 0),), -) - -USAGE_TOP_ACCOUNT_RESULT: StaticSchema = ( - 18, - n0, - _UTAR, - 0, - (_AIcc, _To), - ((ACCOUNT_ID, {_sN: _aIc}), (TOTAL, {_sN: _to})), -) - -USAGE_TOP_ACCOUNTS_BY_FEATURE_LIST: StaticSchema = ( - 16, - n0, - _UTABFL, - 0, - (_me,), - ((USAGE_TOP_ACCOUNT_RESULT, 0),), -) - -USAGE_TOP_ACCOUNTS_RESULT: StaticSchema = ( - 18, - n0, - _UTARs, - 0, - (_Fea, _Acc), - ((USAGE_FEATURE, {_sN: _fe}), (USAGE_TOP_ACCOUNTS_BY_FEATURE_LIST, {_sN: _acc})), -) - -USAGE_TOP_ACCOUNTS_RESULT_LIST: StaticSchema = ( - 16, - n0, - _UTARL, - 0, - (_me,), - ((USAGE_TOP_ACCOUNTS_RESULT, 0),), -) - -USAGE_STATISTICS: StaticSchema = ( - 18, - n0, - _USs, - 0, - (_SBAu, _TABFo, _SBDSu, _SBRu, _TRo, _SBFu), - ( - (USAGE_ACCOUNT_RESULT_LIST, {_sN: _sBA}), - (USAGE_TOP_ACCOUNTS_RESULT_LIST, {_sN: _tABF}), - (USAGE_DATA_SOURCE_RESULT_LIST, {_sN: _sBDS}), - (USAGE_RESOURCE_RESULT_LIST, {_sN: _sBR}), - (USAGE_RESOURCE_RESULT_LIST, {_sN: _tR}), - (USAGE_FEATURE_RESULT_LIST, {_sN: _sBF}), - ), -) - -GET_USAGE_STATISTICS_OUTPUT: StaticSchema = ( - 18, - n0, - _GUSO, - {_sSI: _cGUSRo, _smi: None}, - (_USs, _NT), - ((USAGE_STATISTICS, {_sN: _uS}), (STRING, {_sN: _nT})), -) - -GET_USAGE_STATISTICS: StaticOperationSchema = ( - 23, - n0, - _GUS, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/usage/statistics", - "code": 200, - } - ) - }, - GET_USAGE_STATISTICS_INPUT, - GET_USAGE_STATISTICS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -INVITE_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _IMI, - {_sSI: _cIMR, _s: None}, - (_DI, _AIcco, _DEN, _M), - ( - (DETECTOR_ID, 9), - (ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), - (BOOLEAN, {_sN: _dEN}), - (STRING, {_sN: _m}), - ), -) - -INVITE_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _IMO, - {_sSI: _cIMRo, _smi: None}, - (_UAnp,), - ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), -) - -INVITE_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _IMn, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/member/invite", - "code": 200, - } - ) - }, - INVITE_MEMBERS_INPUT, - INVITE_MEMBERS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_COVERAGE_INPUT: StaticSchema = ( - 18, - n0, - _LCI, - {_sSI: _cLCR, _s: None}, - (_DI, _NT, _MR, _FCil, _SCo), - ( - (DETECTOR_ID, 9), - (STRING, {_sN: _nT}), - (MAX_RESULTS, {_sN: _mR}), - (COVERAGE_FILTER_CRITERIA, {_sN: _fCil}), - (COVERAGE_SORT_CRITERIA, {_sN: _sCo}), - ), -) - -LIST_COVERAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _LCO, - {_sSI: _cLCRo, _smi: None}, - (_Reso, _NT), - ((COVERAGE_RESOURCES, {_sN: _reso, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_COVERAGE: StaticOperationSchema = ( - 23, - n0, - _LC, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}/coverage", "code": 200} - ) - }, - LIST_COVERAGE_INPUT, - LIST_COVERAGE_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LCDRAI, - {_sSI: _cLCDRAR, _s: None}, - (_MR, _NT, _RI, _Mo), - ( - (DETECTION_RULE_MAX_RESULTS, {_sQ: _mR}), - (STRING, {_sQ: _nT}), - (RULE_ID, {_sQ: _rI}), - (ASSOCIATION_MODE, {_sQ: _mo}), - ), -) - -LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCDRAO, - {_sSI: _cLCDRARo, _smi: None}, - (_RAu, _NT), - ((ASSOCIATION_SUMMARY_LIST, {_sN: _rAu, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS: StaticOperationSchema = ( - 23, - n0, - _LCDRA, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/custom-detection-rule/association", "code": 200} - ) - }, - LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_INPUT, - LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LCDROCI, - {_sSI: _cLCDROCR, _s: None}, - (_MR, _NT, _St), - ( - (DETECTION_RULE_MAX_RESULTS, {_sQ: _mR}), - (STRING, {_sQ: _nT}), - (DETECTION_RULE_CONFIGURATION_STATUS, {_sQ: _st}), - ), -) - -LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCDROCO, - {_sSI: _cLCDROCRo, _smi: None}, - (_Confi, _NT), - ( - (DETECTION_RULE_ORG_CONFIGURATION_SUMMARY_LIST, {_sN: _confi, _sm: None}), - (STRING, {_sN: _nT}), - ), -) - -LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _LCDROC, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/custom-detection-rule/org-configuration", - "code": 200, - } - ) - }, - LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_INPUT, - LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_CUSTOM_DETECTION_RULES_INPUT: StaticSchema = ( - 18, - n0, - _LCDRI, - {_sSI: _cLCDRR, _s: None}, - (_MR, _NT, _Fil), - ( - (DETECTION_RULE_MAX_RESULTS, {_sN: _mR}), - (STRING, {_sN: _nT}), - (DETECTION_RULE_FILTER_LIST, {_sN: _fil}), - ), -) - -RULE_SUMMARY: StaticSchema = ( - 18, - n0, - _RSul, - 0, - (_RI, _Ar, _N, _De, _Sev, _DSa, _Tac, _Tec, _Se, _Lan, _Sch, _CA, _UAp), - ( - (RULE_ID, {_sN: _rI, _sm: None}), - (DETECTION_RULE_ARN, {_sN: _ar, _sm: None}), - (RULE_NAME, {_sN: _n, _sm: None}), - (DETECTION_RULE_DESCRIPTION, {_sN: _de, _sm: None}), - (DETECTION_RULE_SEVERITY, {_sN: _sev, _sm: None}), - (DETECTION_RULE_DATA_SOURCE, {_sN: _dSa, _sm: None}), - (MITRE_TACTIC, {_sN: _tac, _sm: None}), - (MITRE_TECHNIQUE, {_sN: _tec, _sm: None}), - (DETECTION_RULE_SERVICE_NAME, {_sN: _ser, _sm: None}), - (RULE_LANGUAGE, {_sN: _la}), - (RULE_SCHEMA, {_sN: _sch}), - (TIMESTAMP, {_sN: _cA, _sm: None}), - (TIMESTAMP, {_sN: _uAp}), - ), -) - -RULE_SUMMARY_LIST: StaticSchema = (16, n0, _RSL, 0, (_me,), ((RULE_SUMMARY, 0),)) - -LIST_CUSTOM_DETECTION_RULES_OUTPUT: StaticSchema = ( - 18, - n0, - _LCDRO, - {_sSI: _cLCDRRo, _smi: None}, - (_Rul, _NT), - ((RULE_SUMMARY_LIST, {_sN: _rul, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_CUSTOM_DETECTION_RULES: StaticOperationSchema = ( - 23, - n0, - _LCDR, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/custom-detection-rule/rule", "code": 200} - ) - }, - LIST_CUSTOM_DETECTION_RULES_INPUT, - LIST_CUSTOM_DETECTION_RULES_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_DETECTORS_INPUT: StaticSchema = ( - 18, - n0, - _LDI, - {_sSI: _cLDR, _s: None}, - (_MR, _NT), - ((MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -LIST_DETECTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDO, - {_sSI: _cLDRo, _smi: None}, - (_DIet, _NT), - ((DETECTOR_IDS, {_sN: _dIet, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_DETECTORS: StaticOperationSchema = ( - 23, - n0, - _LDi, - {_smith: MappingProxyType({"method": "GET", "uri": "/detector", "code": 200})}, - LIST_DETECTORS_INPUT, - LIST_DETECTORS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_FILTERS_INPUT: StaticSchema = ( - 18, - n0, - _LFI, - {_sSI: _cLFR, _s: None}, - (_DI, _MR, _NT), - ((DETECTOR_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -LIST_FILTERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFO, - {_sSI: _cLFRo, _smi: None}, - (_FNil, _NT), - ((FILTER_NAMES, {_sN: _fNi, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_FILTERS: StaticOperationSchema = ( - 23, - n0, - _LF, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/detector/{DetectorId}/filter", "code": 200} - ) - }, - LIST_FILTERS_INPUT, - LIST_FILTERS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_FINDINGS_INPUT: StaticSchema = ( - 18, - n0, - _LFIi, - {_sSI: _cLFRom, _s: None}, - (_DI, _FCin, _SCo, _MR, _NT), - ( - (DETECTOR_ID, 9), - (FINDING_CRITERIA, {_sN: _fCin}), - (SORT_CRITERIA, {_sN: _sCo}), - (MAX_RESULTS, {_sN: _mR}), - (STRING, {_sN: _nT}), - ), -) - -LIST_FINDINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFOi, - {_sSI: _cLFRoma, _smi: None}, - (_FIi, _NT), - ((FINDING_IDS, {_sN: _fI, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_FINDINGS: StaticOperationSchema = ( - 23, - n0, - _LFi, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}/findings", "code": 200} - ) - }, - LIST_FINDINGS_INPUT, - LIST_FINDINGS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -INVESTIGATION_SORT_FIELD: StaticSchema = ( - 14, - n0, - _ISFn, - 0, - (_ST__, _ET__, _STATUS, _RL_, _CONFIDENCE), - ( - (-1, {_sV: _ST__}), - (-1, {_sV: _ET__}), - (-1, {_sV: _STATUS}), - (-1, {_sV: _RL_}), - (-1, {_sV: _CONFIDENCE}), - ), -) - -INVESTIGATION_SORT_CRITERIA: StaticSchema = ( - 18, - n0, - _ISC, - 0, - (_AN, _OB), - ((INVESTIGATION_SORT_FIELD, {_sN: _aN}), (ORDER_BY, {_sN: _oB})), -) - -LIST_INVESTIGATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LII, - {_sSI: _cLIR, _s: None}, - (_DI, _SCo, _MR, _NT), - ( - (DETECTOR_ID, 9), - (INVESTIGATION_SORT_CRITERIA, {_sN: _sCo}), - (MAX_RESULTS, {_sN: _mR}), - (NEXT_TOKEN, {_sN: _nT}), - ), -) - -INVESTIGATION_TITLE: StaticSchema = (3, n0, _ITnv, 0) - -INVESTIGATION_SUMMARY: StaticSchema = ( - 18, - n0, - _ISnv, - 0, - (_IInv, _St, _TP, _RLi, _Con, _Tit, _AIcc, _ST, _ET), - ( - (INVESTIGATION_ID, {_sN: _iInv}), - (INVESTIGATION_STATUS, {_sN: _st}), - (TRIGGER_PROMPT, {_sN: _tP}), - (RISK_LEVEL, {_sN: _rL}), - (CONFIDENCE, {_sN: _con}), - (INVESTIGATION_TITLE, {_sN: _ti}), - (STRING, {_sN: _aIc}), - (TIMESTAMP, {_sN: _sT}), - (TIMESTAMP, {_sN: _eT}), - ), -) - -INVESTIGATION_SUMMARIES: StaticSchema = ( - 16, - n0, - _ISnve, - 0, - (_me,), - ((INVESTIGATION_SUMMARY, 0),), -) - -LIST_INVESTIGATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIO, - {_sSI: _cLIRo, _smi: None}, - (_Inve, _NT), - ((INVESTIGATION_SUMMARIES, {_sN: _inv, _sm: None}), (NEXT_TOKEN, {_sN: _nT})), -) - -LIST_INVESTIGATIONS: StaticOperationSchema = ( - 23, - n0, - _LI, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/investigation/list", - "code": 200, - } - ) - }, - LIST_INVESTIGATIONS_INPUT, - LIST_INVESTIGATIONS_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_INVITATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LIIi, - {_sSI: _cLIRom, _s: None}, - (_MR, _NT), - ((MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -INVITATION: StaticSchema = ( - 18, - n0, - _Invi, - 0, - (_AIcc, _II, _RS, _IA), - ( - (ACCOUNT_ID, {_sN: _aIc}), - (STRING, {_sN: _iI}), - (STRING, {_sN: _rS}), - (STRING, {_sN: _iA}), - ), -) - -INVITATIONS: StaticSchema = (16, n0, _Invit, 0, (_me,), ((INVITATION, 0),)) - -LIST_INVITATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIOi, - {_sSI: _cLIRoma, _smi: None}, - (_Invit, _NT), - ((INVITATIONS, {_sN: _invi}), (STRING, {_sN: _nT})), -) - -LIST_INVITATIONS: StaticOperationSchema = ( - 23, - n0, - _LIi, - {_smith: MappingProxyType({"method": "GET", "uri": "/invitation", "code": 200})}, - LIST_INVITATIONS_INPUT, - LIST_INVITATIONS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_IP_SETS_INPUT: StaticSchema = ( - 18, - n0, - _LIPSI, - {_sSI: _cLIPSR, _s: None}, - (_DI, _MR, _NT), - ((DETECTOR_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -IP_SET_IDS: StaticSchema = (16, n0, _ISIp, 0, (_me,), ((STRING, 0),)) - -LIST_IP_SETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIPSO, - {_sSI: _cLIPSRo, _smi: None}, - (_ISIp, _NT), - ((IP_SET_IDS, {_sN: _iSIp, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_IP_SETS: StaticOperationSchema = ( - 23, - n0, - _LIPS, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/detector/{DetectorId}/ipset", "code": 200} - ) - }, - LIST_IP_SETS_INPUT, - LIST_IP_SETS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_MALWARE_PROTECTION_PLANS_INPUT: StaticSchema = ( - 18, - n0, - _LMPPI, - {_sSI: _cLMPPR, _s: None}, - (_NT,), - ((STRING, {_sQ: _nT}),), -) - -MALWARE_PROTECTION_PLAN_SUMMARY: StaticSchema = ( - 18, - n0, - _MPPSa, - 0, - (_MPPI,), - ((STRING, {_sN: _mPPI}),), -) - -MALWARE_PROTECTION_PLANS_SUMMARY: StaticSchema = ( - 16, - n0, - _MPPSal, - 0, - (_me,), - ((MALWARE_PROTECTION_PLAN_SUMMARY, 0),), -) - -LIST_MALWARE_PROTECTION_PLANS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMPPO, - {_sSI: _cLMPPRo, _smi: None}, - (_MPP, _NT), - ((MALWARE_PROTECTION_PLANS_SUMMARY, {_sN: _mPP}), (STRING, {_sN: _nT})), -) - -LIST_MALWARE_PROTECTION_PLANS: StaticOperationSchema = ( - 23, - n0, - _LMPP, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/malware-protection-plan", "code": 200} - ) - }, - LIST_MALWARE_PROTECTION_PLANS_INPUT, - LIST_MALWARE_PROTECTION_PLANS_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_MALWARE_SCANS_CRITERION_KEY: StaticSchema = ( - 14, - n0, - _LMSCK, - 0, - (_RA_, _SI_, _AI_, _GFI, _RT_, _SST, _SS_, _ST_), - ( - (-1, {_sV: _RA_}), - (-1, {_sV: _SI_}), - (-1, {_sV: _AI_}), - (-1, {_sV: _GFI}), - (-1, {_sV: _RT_}), - (-1, {_sV: _SST}), - (-1, {_sV: _SS_}), - (-1, {_sV: _ST_}), - ), -) - -LIST_MALWARE_SCANS_FILTER_CRITERION: StaticSchema = ( - 18, - n0, - _LMSFC, - 0, - (_LMSCK, _FC), - ((LIST_MALWARE_SCANS_CRITERION_KEY, {_sN: _cK}), (FILTER_CONDITION, {_sN: _fC})), -) - -LIST_MALWARE_SCANS_FILTER_CRITERION_LIST: StaticSchema = ( - 16, - n0, - _LMSFCL, - 0, - (_me,), - ((LIST_MALWARE_SCANS_FILTER_CRITERION, 0),), -) - -LIST_MALWARE_SCANS_FILTER_CRITERIA: StaticSchema = ( - 18, - n0, - _LMSFCi, - 0, - (_LMSFC,), - ((LIST_MALWARE_SCANS_FILTER_CRITERION_LIST, {_sN: _fCi}),), -) - -LIST_MALWARE_SCANS_INPUT: StaticSchema = ( - 18, - n0, - _LMSI, - {_sSI: _cLMSR, _s: None}, - (_MR, _NT, _FCil, _SCo), - ( - (MAX_RESULTS, {_sQ: _mR}), - (STRING, {_sQ: _nT}), - (LIST_MALWARE_SCANS_FILTER_CRITERIA, {_sN: _fCil}), - (SORT_CRITERIA, {_sN: _sCo}), - ), -) - -MALWARE_SCAN: StaticSchema = ( - 18, - n0, - _MSa, - 0, - (_RAe, _RT, _SIc, _SSc, _SRSc, _STc, _SSA, _SCA), - ( - (NON_EMPTY_STRING, {_sN: _rAe}), - (MALWARE_PROTECTION_RESOURCE_TYPE, {_sN: _rT}), - (NON_EMPTY_STRING, {_sN: _sI}), - (MALWARE_PROTECTION_SCAN_STATUS, {_sN: _sS}), - (SCAN_RESULT_STATUS, {_sN: _sRSc}), - (MALWARE_PROTECTION_SCAN_TYPE, {_sN: _sTc}), - (TIMESTAMP, {_sN: _sSA}), - (TIMESTAMP, {_sN: _sCA}), - ), -) - -MALWARE_SCANS: StaticSchema = (16, n0, _MSal, 0, (_me,), ((MALWARE_SCAN, 0),)) - -LIST_MALWARE_SCANS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMSO, - {_sSI: _cLMSRo, _smi: None}, - (_Sca, _NT), - ((MALWARE_SCANS, {_sN: _sc, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_MALWARE_SCANS: StaticOperationSchema = ( - 23, - n0, - _LMS, - {_smith: MappingProxyType({"method": "POST", "uri": "/malware-scan", "code": 200})}, - LIST_MALWARE_SCANS_INPUT, - LIST_MALWARE_SCANS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _LMI, - {_sSI: _cLMR, _s: None}, - (_DI, _MR, _NT, _OAn), - ( - (DETECTOR_ID, 9), - (MAX_RESULTS, {_sQ: _mR}), - (STRING, {_sQ: _nT}), - (STRING, {_sQ: _oAn}), - ), -) - -LIST_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMO, - {_sSI: _cLMRo, _smi: None}, - (_Memb, _NT), - ((MEMBERS, {_sN: _mem}), (STRING, {_sN: _nT})), -) - -LIST_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _LM, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/detector/{DetectorId}/member", "code": 200} - ) - }, - LIST_MEMBERS_INPUT, - LIST_MEMBERS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_ORGANIZATION_ADMIN_ACCOUNTS_INPUT: StaticSchema = ( - 18, - n0, - _LOAAI, - {_sSI: _cLOAAR, _s: None}, - (_MR, _NT), - ((MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -LIST_ORGANIZATION_ADMIN_ACCOUNTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LOAAO, - {_sSI: _cLOAARo, _smi: None}, - (_AAd, _NT), - ((ADMIN_ACCOUNTS, {_sN: _aA}), (STRING, {_sN: _nT})), -) - -LIST_ORGANIZATION_ADMIN_ACCOUNTS: StaticOperationSchema = ( - 23, - n0, - _LOAA, - {_smith: MappingProxyType({"method": "GET", "uri": "/admin", "code": 200})}, - LIST_ORGANIZATION_ADMIN_ACCOUNTS_INPUT, - LIST_ORGANIZATION_ADMIN_ACCOUNTS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_PUBLISHING_DESTINATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LPDI, - {_sSI: _cLPDR, _s: None}, - (_DI, _MR, _NT), - ((DETECTOR_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -LIST_PUBLISHING_DESTINATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPDO, - {_sSI: _cLPDRo, _smi: None}, - (_Dest, _NT), - ((DESTINATIONS, {_sN: _des, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_PUBLISHING_DESTINATIONS: StaticOperationSchema = ( - 23, - n0, - _LPDi, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/publishingDestination", - "code": 200, - } - ) - }, - LIST_PUBLISHING_DESTINATIONS_INPUT, - LIST_PUBLISHING_DESTINATIONS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GUARD_DUTY_ARN: StaticSchema = (3, n0, _GDA, 0) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _s: None}, - (_RAe,), - ((GUARD_DUTY_ARN, 9),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smi: None}, - (_Ta,), - ((TAG_MAP, {_sN: _ta}),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/tags/{ResourceArn}", "code": 200} - ) - }, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_THREAT_ENTITY_SETS_INPUT: StaticSchema = ( - 18, - n0, - _LTESI, - {_sSI: _cLTESR, _s: None}, - (_DI, _MR, _NT), - ((DETECTOR_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -THREAT_ENTITY_SET_IDS: StaticSchema = (16, n0, _TESIh, 0, (_me,), ((STRING, 0),)) - -LIST_THREAT_ENTITY_SETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTESO, - {_sSI: _cLTESRo, _smi: None}, - (_TESIh, _NT), - ((THREAT_ENTITY_SET_IDS, {_sN: _tESIh, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_THREAT_ENTITY_SETS: StaticOperationSchema = ( - 23, - n0, - _LTES, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/threatentityset", - "code": 200, - } - ) - }, - LIST_THREAT_ENTITY_SETS_INPUT, - LIST_THREAT_ENTITY_SETS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_THREAT_INTEL_SETS_INPUT: StaticSchema = ( - 18, - n0, - _LTISI, - {_sSI: _cLTISR, _s: None}, - (_DI, _MR, _NT), - ((DETECTOR_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -THREAT_INTEL_SET_IDS: StaticSchema = (16, n0, _TISIh, 0, (_me,), ((STRING, 0),)) - -LIST_THREAT_INTEL_SETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTISO, - {_sSI: _cLTISRo, _smi: None}, - (_TISIh, _NT), - ((THREAT_INTEL_SET_IDS, {_sN: _tISIh, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_THREAT_INTEL_SETS: StaticOperationSchema = ( - 23, - n0, - _LTIS, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/threatintelset", - "code": 200, - } - ) - }, - LIST_THREAT_INTEL_SETS_INPUT, - LIST_THREAT_INTEL_SETS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -LIST_TRUSTED_ENTITY_SETS_INPUT: StaticSchema = ( - 18, - n0, - _LTESIi, - {_sSI: _cLTESRom, _s: None}, - (_DI, _MR, _NT), - ((DETECTOR_ID, 9), (MAX_RESULTS, {_sQ: _mR}), (STRING, {_sQ: _nT})), -) - -TRUSTED_ENTITY_SET_IDS: StaticSchema = (16, n0, _TESIru, 0, (_me,), ((STRING, 0),)) - -LIST_TRUSTED_ENTITY_SETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTESOi, - {_sSI: _cLTESRoma, _smi: None}, - (_TESIru, _NT), - ((TRUSTED_ENTITY_SET_IDS, {_sN: _tESIru, _sm: None}), (STRING, {_sN: _nT})), -) - -LIST_TRUSTED_ENTITY_SETS: StaticOperationSchema = ( - 23, - n0, - _LTESi, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/detector/{DetectorId}/trustedentityset", - "code": 200, - } - ) - }, - LIST_TRUSTED_ENTITY_SETS_INPUT, - LIST_TRUSTED_ENTITY_SETS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -S3_OBJECT_FOR_SEND_OBJECT_MALWARE_SCAN: StaticSchema = ( - 18, - n0, - _SOFSOMS, - 0, - (_Bu, _Ke, _VI), - ((STRING, {_sN: _bu}), (STRING, {_sN: _ke}), (STRING, {_sN: _vI})), -) - -SEND_OBJECT_MALWARE_SCAN_INPUT: StaticSchema = ( - 18, - n0, - _SOMSI, - {_sSI: _cSOMSR, _s: None}, - (_SO,), - ((S3_OBJECT_FOR_SEND_OBJECT_MALWARE_SCAN, {_sN: _sO}),), -) - -SEND_OBJECT_MALWARE_SCAN_OUTPUT: StaticSchema = ( - 18, - n0, - _SOMSO, - {_sSI: _cSOMSRo, _smi: None}, -) - -SEND_OBJECT_MALWARE_SCAN: StaticOperationSchema = ( - 23, - n0, - _SOMS, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/object-malware-scan/send", "code": 200} - ) - }, - SEND_OBJECT_MALWARE_SCAN_INPUT, - SEND_OBJECT_MALWARE_SCAN_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -RESOURCE_ARN: StaticSchema = (3, n0, _RAe, 0) - -RECOVERY_POINT: StaticSchema = ( - 18, - n0, - _RP, - 0, - (_BVN, _CSD), - ((STRING, {_sN: _bVN, _sm: None}), (CONTINUOUS_SCAN_DETAILS, {_sN: _cSD})), -) - -START_MALWARE_SCAN_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SMSC, - 0, - (_Ro, _ISD, _RP), - ( - (NON_EMPTY_STRING, {_sN: _ro, _sm: None}), - (INCREMENTAL_SCAN_DETAILS, {_sN: _iSD}), - (RECOVERY_POINT, {_sN: _rP}), - ), -) - -START_MALWARE_SCAN_INPUT: StaticSchema = ( - 18, - n0, - _SMSI, - {_sSI: _cSMSR, _s: None}, - (_RAe, _CTl, _SCca), - ( - (RESOURCE_ARN, {_sN: _rAe, _sm: None}), - (CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), - (START_MALWARE_SCAN_CONFIGURATION, {_sN: _sCca}), - ), -) - -START_MALWARE_SCAN_OUTPUT: StaticSchema = ( - 18, - n0, - _SMSO, - {_sSI: _cSMSRo, _smi: None}, - (_SIc,), - ((NON_EMPTY_STRING, {_sN: _sI}),), -) - -START_MALWARE_SCAN: StaticOperationSchema = ( - 23, - n0, - _SMS, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/malware-scan/start", "code": 200} - ) - }, - START_MALWARE_SCAN_INPUT, - START_MALWARE_SCAN_OUTPUT, - (BAD_REQUEST_EXCEPTION, CONFLICT_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -START_MONITORING_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _SMMI, - {_sSI: _cSMMR, _s: None}, - (_DI, _AIcco), - ((DETECTOR_ID, 9), (ACCOUNT_IDS, {_sN: _aIcc, _sm: None})), -) - -START_MONITORING_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _SMMO, - {_sSI: _cSMMRo, _smi: None}, - (_UAnp,), - ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), -) - -START_MONITORING_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _SMM, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/member/start", - "code": 200, - } - ) - }, - START_MONITORING_MEMBERS_INPUT, - START_MONITORING_MEMBERS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -STOP_MONITORING_MEMBERS_INPUT: StaticSchema = ( - 18, - n0, - _SMMIt, - {_sSI: _cSMMRom, _s: None}, - (_DI, _AIcco), - ((DETECTOR_ID, 9), (ACCOUNT_IDS, {_sN: _aIcc, _sm: None})), -) - -STOP_MONITORING_MEMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _SMMOt, - {_sSI: _cSMMRoma, _smi: None}, - (_UAnp,), - ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), -) - -STOP_MONITORING_MEMBERS: StaticOperationSchema = ( - 23, - n0, - _SMMt, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}/member/stop", "code": 200} - ) - }, - STOP_MONITORING_MEMBERS_INPUT, - STOP_MONITORING_MEMBERS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _s: None}, - (_RAe, _Ta), - ((GUARD_DUTY_ARN, 9), (TAG_MAP, {_sN: _ta, _sm: None})), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smi: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TRa, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/tags/{ResourceArn}", "code": 204} - ) - }, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UNARCHIVE_FINDINGS_INPUT: StaticSchema = ( - 18, - n0, - _UFIn, - {_sSI: _cUFR, _s: None}, - (_DI, _FIi), - ((DETECTOR_ID, 9), (FINDING_IDS, {_sN: _fI, _sm: None})), -) - -UNARCHIVE_FINDINGS_OUTPUT: StaticSchema = (18, n0, _UFO, {_sSI: _cUFRo, _smi: None}) - -UNARCHIVE_FINDINGS: StaticOperationSchema = ( - 23, - n0, - _UFn, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/findings/unarchive", - "code": 200, - } - ) - }, - UNARCHIVE_FINDINGS_INPUT, - UNARCHIVE_FINDINGS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _s: None}, - (_RAe, _TKa), - ((GUARD_DUTY_ARN, 9), (TAG_KEY_LIST, {_sQ: _tK, _sm: None})), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smi: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _URn, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/tags/{ResourceArn}", "code": 204} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT: StaticSchema = ( - 18, - n0, - _UCDRAI, - {_sSI: _cUCDRAR, _s: None}, - (_RI, _AIs, _Mo), - ((RULE_ID, 9), (ASSOCIATION_ID, 9), (ASSOCIATION_MODE, {_sN: _mo, _sm: None})), -) - -UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UCDRAO, - {_sSI: _cUCDRARo, _smi: None}, -) - -UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION: StaticOperationSchema = ( - 23, - n0, - _UCDRA, - { - _smith: MappingProxyType( - { - "method": "PUT", - "uri": "/custom-detection-rule/rule/{RuleId}/association/{AssociationId}", - "code": 200, - } - ) - }, - UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT, - UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UCDROCI, - {_sSI: _cUCDROCR, _s: None}, - (_RI, _Mo, _IAI, _EAI), - ( - (RULE_ID, 9), - (ASSOCIATION_MODE, {_sN: _mo, _sm: None}), - (DETECTION_RULE_ACCOUNT_IDS, {_sN: _iAI}), - (DETECTION_RULE_ACCOUNT_IDS, {_sN: _eAI}), - ), -) - -UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UCDROCO, - {_sSI: _cUCDROCRo, _smi: None}, -) - -UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _UCDROC, - { - _smith: MappingProxyType( - { - "method": "PUT", - "uri": "/custom-detection-rule/org-configuration/{RuleId}", - "code": 200, - } - ) - }, - UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT, - UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_DETECTOR_INPUT: StaticSchema = ( - 18, - n0, - _UDI, - {_sSI: _cUDR, _s: None}, - (_DI, _En, _FPF, _DS, _F), - ( - (DETECTOR_ID, 9), - (BOOLEAN, {_sN: _en}), - (FINDING_PUBLISHING_FREQUENCY, {_sN: _fPF}), - (DATA_SOURCE_CONFIGURATIONS, {_sN: _dS}), - (DETECTOR_FEATURE_CONFIGURATIONS, {_sN: _f}), - ), -) - -UPDATE_DETECTOR_OUTPUT: StaticSchema = (18, n0, _UDO, {_sSI: _cUDRo, _smi: None}) - -UPDATE_DETECTOR: StaticOperationSchema = ( - 23, - n0, - _UD, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}", "code": 200} - ) - }, - UPDATE_DETECTOR_INPUT, - UPDATE_DETECTOR_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UPDATE_FILTER_INPUT: StaticSchema = ( - 18, - n0, - _UFIp, - {_sSI: _cUFRom, _s: None}, - (_DI, _FN, _De, _Ac, _Ra, _FCin), - ( - (DETECTOR_ID, 9), - (STRING, 9), - (FILTER_DESCRIPTION, {_sN: _de}), - (FILTER_ACTION, {_sN: _ac}), - (FILTER_RANK, {_sN: _ra}), - (FINDING_CRITERIA, {_sN: _fCin}), - ), -) - -UPDATE_FILTER_OUTPUT: StaticSchema = ( - 18, - n0, - _UFOp, - {_sSI: _cUFRoma, _smi: None}, - (_N,), - ((FILTER_NAME, {_sN: _n, _sm: None}),), -) - -UPDATE_FILTER: StaticOperationSchema = ( - 23, - n0, - _UFp, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/filter/{FilterName}", - "code": 200, - } - ) - }, - UPDATE_FILTER_INPUT, - UPDATE_FILTER_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UPDATE_FINDINGS_FEEDBACK_INPUT: StaticSchema = ( - 18, - n0, - _UFFI, - {_sSI: _cUFFR, _s: None}, - (_DI, _FIi, _Fe, _Com), - ( - (DETECTOR_ID, 9), - (FINDING_IDS, {_sN: _fI, _sm: None}), - (FEEDBACK, {_sN: _fee, _sm: None}), - (SENSITIVE_STRING, {_sN: _com}), - ), -) - -UPDATE_FINDINGS_FEEDBACK_OUTPUT: StaticSchema = ( - 18, - n0, - _UFFO, - {_sSI: _cUFFRo, _smi: None}, -) - -UPDATE_FINDINGS_FEEDBACK: StaticOperationSchema = ( - 23, - n0, - _UFF, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/findings/feedback", - "code": 200, - } - ) - }, - UPDATE_FINDINGS_FEEDBACK_INPUT, - UPDATE_FINDINGS_FEEDBACK_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UPDATE_IP_SET_INPUT: StaticSchema = ( - 18, - n0, - _UIPSI, - {_sSI: _cUIPSR, _s: None}, - (_DI, _ISI, _N, _Loc, _Activ, _EBO), - ( - (DETECTOR_ID, 9), - (STRING, 9), - (NAME, {_sN: _n}), - (LOCATION, {_sN: _loc}), - (BOOLEAN, {_sN: _act}), - (ACCOUNT_ID, {_sN: _eBO}), - ), -) - -UPDATE_IP_SET_OUTPUT: StaticSchema = (18, n0, _UIPSO, {_sSI: _cUIPSRo, _smi: None}) - -UPDATE_IP_SET: StaticOperationSchema = ( - 23, - n0, - _UIPS, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/ipset/{IpSetId}", - "code": 200, - } - ) - }, - UPDATE_IP_SET_INPUT, - UPDATE_IP_SET_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UPDATE_S3_BUCKET_RESOURCE: StaticSchema = ( - 18, - n0, - _USBR, - 0, - (_OP,), - ((MALWARE_PROTECTION_PLAN_OBJECT_PREFIXES_LIST, {_sN: _oP}),), -) - -UPDATE_PROTECTED_RESOURCE: StaticSchema = ( - 18, - n0, - _UPR, - 0, - (_SB,), - ((UPDATE_S3_BUCKET_RESOURCE, {_sN: _sB}),), -) - -UPDATE_MALWARE_PROTECTION_PLAN_INPUT: StaticSchema = ( - 18, - n0, - _UMPPI, - {_sSI: _cUMPPR, _s: None}, - (_MPPI, _Ro, _Actio, _PR), - ( - (STRING, 9), - (STRING, {_sN: _ro}), - (MALWARE_PROTECTION_PLAN_ACTIONS, {_sN: _acti}), - (UPDATE_PROTECTED_RESOURCE, {_sN: _pR}), - ), -) - -UPDATE_MALWARE_PROTECTION_PLAN_OUTPUT: StaticSchema = ( - 18, - n0, - _UMPPO, - {_sSI: _sU, _smi: None}, -) - -UPDATE_MALWARE_PROTECTION_PLAN: StaticOperationSchema = ( - 23, - n0, - _UMPP, - { - _smith: MappingProxyType( - { - "method": "PATCH", - "uri": "/malware-protection-plan/{MalwareProtectionPlanId}", - "code": 200, - } - ) - }, - UPDATE_MALWARE_PROTECTION_PLAN_INPUT, - UPDATE_MALWARE_PROTECTION_PLAN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_REQUEST_EXCEPTION, - INTERNAL_SERVER_ERROR_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_MALWARE_SCAN_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _UMSSI, - {_sSI: _cUMSSR, _s: None}, - (_DI, _SRCc, _ESP), - ( - (DETECTOR_ID, 9), - (SCAN_RESOURCE_CRITERIA, {_sN: _sRCc}), - (EBS_SNAPSHOT_PRESERVATION, {_sN: _eSP}), - ), -) - -UPDATE_MALWARE_SCAN_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _UMSSO, - {_sSI: _cUMSSRo, _smi: None}, -) - -UPDATE_MALWARE_SCAN_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _UMSS, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/malware-scan-settings", - "code": 200, - } - ) - }, - UPDATE_MALWARE_SCAN_SETTINGS_INPUT, - UPDATE_MALWARE_SCAN_SETTINGS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -MEMBER_ADDITIONAL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MACe, - 0, - (_N, _St), - ((ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), (FEATURE_STATUS, {_sN: _st})), -) - -MEMBER_ADDITIONAL_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _MACem, - 0, - (_me,), - ((MEMBER_ADDITIONAL_CONFIGURATION, 0),), -) - -MEMBER_FEATURES_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MFC, - 0, - (_N, _St, _ACd), - ( - (ORG_FEATURE, {_sN: _n}), - (FEATURE_STATUS, {_sN: _st}), - (MEMBER_ADDITIONAL_CONFIGURATIONS, {_sN: _aC}), - ), -) - -MEMBER_FEATURES_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _MFCe, - 0, - (_me,), - ((MEMBER_FEATURES_CONFIGURATION, 0),), -) - -UPDATE_MEMBER_DETECTORS_INPUT: StaticSchema = ( - 18, - n0, - _UMDI, - {_sSI: _cUMDR, _s: None}, - (_DI, _AIcco, _DS, _F), - ( - (DETECTOR_ID, 9), - (ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), - (DATA_SOURCE_CONFIGURATIONS, {_sN: _dS}), - (MEMBER_FEATURES_CONFIGURATIONS, {_sN: _f}), - ), -) - -UPDATE_MEMBER_DETECTORS_OUTPUT: StaticSchema = ( - 18, - n0, - _UMDO, - {_sSI: _cUMDRo, _smi: None}, - (_UAnp,), - ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), -) - -UPDATE_MEMBER_DETECTORS: StaticOperationSchema = ( - 23, - n0, - _UMD, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/member/detector/update", - "code": 200, - } - ) - }, - UPDATE_MEMBER_DETECTORS_INPUT, - UPDATE_MEMBER_DETECTORS_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OKALC, - 0, - (_AE,), - ((BOOLEAN, {_sN: _aE, _sm: None}),), -) - -ORGANIZATION_KUBERNETES_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OKC, - 0, - (_AL,), - ((ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION, {_sN: _aL, _sm: None}),), -) - -ORGANIZATION_EBS_VOLUMES: StaticSchema = ( - 18, - n0, - _OEV, - 0, - (_AE,), - ((BOOLEAN, {_sN: _aE}),), -) - -ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS: StaticSchema = ( - 18, - n0, - _OSEIWF, - 0, - (_EV,), - ((ORGANIZATION_EBS_VOLUMES, {_sN: _eV}),), -) - -ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OMPC, - 0, - (_SEIWF,), - ((ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS, {_sN: _sEIWF}),), -) - -ORGANIZATION_S3_LOGS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OSLC, - 0, - (_AE,), - ((BOOLEAN, {_sN: _aE, _sm: None}),), -) - -ORGANIZATION_DATA_SOURCE_CONFIGURATIONS: StaticSchema = ( - 18, - n0, - _ODSC, - 0, - (_SL, _K, _MP), - ( - (ORGANIZATION_S3_LOGS_CONFIGURATION, {_sN: _sLo}), - (ORGANIZATION_KUBERNETES_CONFIGURATION, {_sN: _k}), - (ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION, {_sN: _mP}), - ), -) - -ORGANIZATION_ADDITIONAL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OAC, - 0, - (_N, _AE), - ( - (ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), - (ORG_FEATURE_STATUS, {_sN: _aE}), - ), -) - -ORGANIZATION_ADDITIONAL_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _OACr, - 0, - (_me,), - ((ORGANIZATION_ADDITIONAL_CONFIGURATION, 0),), -) - -ORGANIZATION_FEATURE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OFC, - 0, - (_N, _AE, _ACd), - ( - (ORG_FEATURE, {_sN: _n}), - (ORG_FEATURE_STATUS, {_sN: _aE}), - (ORGANIZATION_ADDITIONAL_CONFIGURATIONS, {_sN: _aC}), - ), -) - -ORGANIZATION_FEATURES_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _OFCr, - 0, - (_me,), - ((ORGANIZATION_FEATURE_CONFIGURATION, 0),), -) - -UPDATE_ORGANIZATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UOCI, - {_sSI: _cUOCR, _s: None}, - (_DI, _AE, _DS, _F, _AEOM), - ( - (DETECTOR_ID, 9), - (BOOLEAN, {_sN: _aE}), - (ORGANIZATION_DATA_SOURCE_CONFIGURATIONS, {_sN: _dS}), - (ORGANIZATION_FEATURES_CONFIGURATIONS, {_sN: _f}), - (AUTO_ENABLE_MEMBERS, {_sN: _aEOM}), - ), -) - -UPDATE_ORGANIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UOCO, - {_sSI: _cUOCRo, _smi: None}, -) - -UPDATE_ORGANIZATION_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _UOC, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/detector/{DetectorId}/admin", "code": 200} - ) - }, - UPDATE_ORGANIZATION_CONFIGURATION_INPUT, - UPDATE_ORGANIZATION_CONFIGURATION_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UPDATE_PUBLISHING_DESTINATION_INPUT: StaticSchema = ( - 18, - n0, - _UPDI, - {_sSI: _cUPDR, _s: None}, - (_DI, _DIe, _DP), - ((DETECTOR_ID, 9), (STRING, 9), (DESTINATION_PROPERTIES, {_sN: _dP})), -) - -UPDATE_PUBLISHING_DESTINATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UPDO, - {_sSI: _cUPDRo, _smi: None}, -) - -UPDATE_PUBLISHING_DESTINATION: StaticOperationSchema = ( - 23, - n0, - _UPD, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/publishingDestination/{DestinationId}", - "code": 200, - } - ) - }, - UPDATE_PUBLISHING_DESTINATION_INPUT, - UPDATE_PUBLISHING_DESTINATION_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UPDATE_THREAT_ENTITY_SET_INPUT: StaticSchema = ( - 18, - n0, - _UTESI, - {_sSI: _cUTESR, _s: None}, - (_DI, _TESI, _N, _Loc, _EBO, _Activ), - ( - (DETECTOR_ID, 9), - (STRING, 9), - (NAME, {_sN: _n}), - (LOCATION, {_sN: _loc}), - (EXPECTED_BUCKET_OWNER, {_sN: _eBO}), - (BOOLEAN, {_sN: _act}), - ), -) - -UPDATE_THREAT_ENTITY_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _UTESO, - {_sSI: _cUTESRo, _smi: None}, -) - -UPDATE_THREAT_ENTITY_SET: StaticOperationSchema = ( - 23, - n0, - _UTES, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", - "code": 200, - } - ) - }, - UPDATE_THREAT_ENTITY_SET_INPUT, - UPDATE_THREAT_ENTITY_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UPDATE_THREAT_INTEL_SET_INPUT: StaticSchema = ( - 18, - n0, - _UTISI, - {_sSI: _cUTISR, _s: None}, - (_DI, _TISI, _N, _Loc, _Activ, _EBO), - ( - (DETECTOR_ID, 9), - (STRING, 9), - (NAME, {_sN: _n}), - (LOCATION, {_sN: _loc}), - (BOOLEAN, {_sN: _act}), - (ACCOUNT_ID, {_sN: _eBO}), - ), -) - -UPDATE_THREAT_INTEL_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _UTISO, - {_sSI: _cUTISRo, _smi: None}, -) - -UPDATE_THREAT_INTEL_SET: StaticOperationSchema = ( - 23, - n0, - _UTIS, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", - "code": 200, - } - ) - }, - UPDATE_THREAT_INTEL_SET_INPUT, - UPDATE_THREAT_INTEL_SET_OUTPUT, - (ACCESS_DENIED_EXCEPTION, BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -UPDATE_TRUSTED_ENTITY_SET_INPUT: StaticSchema = ( - 18, - n0, - _UTESIp, - {_sSI: _cUTESRom, _s: None}, - (_DI, _TESIr, _N, _Loc, _EBO, _Activ), - ( - (DETECTOR_ID, 9), - (STRING, 9), - (NAME, {_sN: _n}), - (LOCATION, {_sN: _loc}), - (EXPECTED_BUCKET_OWNER, {_sN: _eBO}), - (BOOLEAN, {_sN: _act}), - ), -) - -UPDATE_TRUSTED_ENTITY_SET_OUTPUT: StaticSchema = ( - 18, - n0, - _UTESOp, - {_sSI: _cUTESRoma, _smi: None}, -) - -UPDATE_TRUSTED_ENTITY_SET: StaticOperationSchema = ( - 23, - n0, - _UTESp, - { - _smith: MappingProxyType( - { - "method": "POST", - "uri": "/detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", - "code": 200, - } - ) - }, - UPDATE_TRUSTED_ENTITY_SET_INPUT, - UPDATE_TRUSTED_ENTITY_SET_OUTPUT, - (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), -) - -GUARD_DUTY_API_SERVICE: StaticSchema = ( - 21, - n0, - _GDAPIS, - { - _aw: MappingProxyType({"name": "guardduty"}), - _aws: MappingProxyType( - { - "sdkId": "GuardDuty", - "arnNamespace": "guardduty", - "cloudFormationName": "GuardDuty", - "cloudTrailEventSource": "guardduty.amazonaws.com", - "endpointPrefix": "guardduty", - } - ), - _aJ: None, - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "STRING", + "DETECTOR_ID", + "ACCEPT_ADMINISTRATOR_INVITATION_INPUT", + "ACCEPT_ADMINISTRATOR_INVITATION_OUTPUT", + "ACCEPT_ADMINISTRATOR_INVITATION", + "BAD_REQUEST_EXCEPTION", + "INTERNAL_SERVER_ERROR_EXCEPTION", + "ACCEPT_INVITATION_INPUT", + "ACCEPT_INVITATION_OUTPUT", + "ACCEPT_INVITATION", + "BOOLEAN", + "ACCESS_CONTROL_LIST", + "ACCESS_DENIED_EXCEPTION", + "ACCESS_KEY", + "ACCESS_KEY_DETAILS", + "ACCOUNT", + "ACCOUNT_ID", + "EMAIL", + "ACCOUNT_DETAIL", + "ACCOUNT_DETAILS", + "INTEGER", + "DATA_SOURCE_FREE_TRIAL", + "KUBERNETES_DATA_SOURCE_FREE_TRIAL", + "MALWARE_PROTECTION_DATA_SOURCE_FREE_TRIAL", + "DATA_SOURCES_FREE_TRIAL", + "FREE_TRIAL_FEATURE_RESULT", + "FREE_TRIAL_FEATURE_CONFIGURATION_RESULT", + "FREE_TRIAL_FEATURE_CONFIGURATIONS_RESULTS", + "ACCOUNT_FREE_TRIAL_INFO", + "ACCOUNT_FREE_TRIAL_INFOS", + "ACCOUNT_IDS", + "BLOCK_PUBLIC_ACCESS", + "ACCOUNT_LEVEL_PERMISSIONS", + "TIMESTAMP", + "ACCOUNT_STATISTICS", + "AFFECTED_RESOURCES", + "DOMAIN_DETAILS", + "REMOTE_ACCOUNT_DETAILS", + "CITY", + "COUNTRY", + "DOUBLE", + "GEO_LOCATION", + "SENSITIVE_STRING", + "ORGANIZATION", + "REMOTE_IP_DETAILS", + "AWS_API_CALL_ACTION", + "DNS_REQUEST_ACTION", + "SOURCE_IPS", + "KUBERNETES_API_CALL_ACTION", + "KUBERNETES_PERMISSION_CHECKED_DETAILS", + "KUBERNETES_ROLE_BINDING_DETAILS", + "KUBERNETES_ROLE_DETAILS", + "LOCAL_IP_DETAILS", + "LOCAL_PORT_DETAILS", + "REMOTE_PORT_DETAILS", + "NETWORK_CONNECTION_ACTION", + "PORT_PROBE_DETAIL", + "PORT_PROBE_DETAILS", + "PORT_PROBE_ACTION", + "LOGIN_ATTRIBUTE", + "LOGIN_ATTRIBUTES", + "RDS_LOGIN_ATTEMPT_ACTION", + "ACTION", + "API_CALL", + "ACTIVITY_TYPE", + "ACTIVITY", + "ACTIVITIES", + "PROCESS_NAME", + "PROCESS_PATH", + "PROCESS_SHA256", + "ACTOR_PROCESS", + "MFA_STATUS", + "SESSION", + "USER", + "ACTOR", + "ACTOR_IDS", + "ACTORS", + "NON_EMPTY_STRING", + "ADDITIONAL_INFO", + "FINDING_TYPE", + "ADDITIONAL_SEQUENCE_TYPES", + "ADDON_DETAILS", + "ADMIN_STATUS", + "ADMIN_ACCOUNT", + "ADMIN_ACCOUNTS", + "ADMINISTRATOR", + "AGENT_DETAILS", + "LONG", + "OBSERVATION_NUMBERS", + "OBSERVATION_TEXTS", + "OBSERVATIONS", + "PROFILE_SUBTYPE", + "PROFILE_TYPE", + "ANOMALY_OBJECT", + "ANOMALY_PROFILE_FEATURE_OBJECTS", + "ANOMALY_PROFILE_FEATURES", + "ANOMALY_PROFILES", + "ANOMALY_UNUSUAL_BEHAVIOR_FEATURE", + "BEHAVIOR", + "ANOMALY_UNUSUAL", + "ANOMALY", + "FINDING_ID", + "FINDING_IDS", + "ARCHIVE_FINDINGS_INPUT", + "ARCHIVE_FINDINGS_OUTPUT", + "ARCHIVE_FINDINGS", + "DETECTION_RULE_ARN", + "ASSOCIATION_ID", + "ASSOCIATION_MODE", + "RULE_ID", + "ASSOCIATION_DETAIL", + "ASSOCIATION_SUMMARY", + "ASSOCIATION_SUMMARY_LIST", + "AUTO_ENABLE_MEMBERS", + "AUTONOMOUS_SYSTEM", + "EC2_INSTANCE_UID", + "EC2_INSTANCE_UIDS", + "CLIENT_TOKEN", + "ORDER_BY", + "FILTER_NAME", + "DESTINATION_PROPERTIES", + "DESTINATION_TYPE", + ), + ( + "AUTOSCALING_AUTO_SCALING_GROUP", + "BEDROCK_GUARDRAIL", + "CONTENT_POLICY_FILTER_ACTION", + "CONFIDENCE_LEVEL", + "CONTENT_POLICY_FILTER_TYPE", + "CONTENT_POLICY_FILTER", + "CONTENT_POLICY_FILTERS", + "GUARDRAIL_ACTION", + "BEDROCK_GUARDRAILS", + "GUARDRAIL_SOURCE", + "BEDROCK_GUARDRAIL_DETAILS", + "BEDROCK_GUARDRAIL_RESOURCE", + "BUCKET_POLICY", + "BUCKET_LEVEL_PERMISSIONS", + "CLOUD_PROVIDER", + "CLOUD_DETAILS", + "CLOUDFORMATION_STACK", + "DATA_SOURCE_STATUS", + "CLOUD_TRAIL_CONFIGURATION_RESULT", + "CLUSTER_STATUS", + "EQ", + "EQUALS", + "MATCH", + "MATCHES", + "NEQ", + "NOT_EQUALS", + "NOT_MATCH", + "NOT_MATCHES", + "CONDITION", + "CONFLICT_EXCEPTION", + "SECURITY_CONTEXT", + "VOLUME_MOUNT", + "VOLUME_MOUNTS", + "CONTAINER", + "CONTAINER_IMAGE_UID", + "CONTAINER_FINDING_RESOURCE", + "CONTAINER_INSTANCE_DETAILS", + "CONTAINERS", + "CONTAINER_UID", + "CONTAINER_UIDS", + "CONTINUOUS_SCAN_DETAILS", + "COVERAGE_STATUS", + "COUNT_BY_COVERAGE_STATUS", + "RESOURCE_TYPE", + "COUNT_BY_RESOURCE_TYPE", + "COUNT_BY_SEVERITY", + "MANAGEMENT_TYPE", + "COVERAGE_EC2_INSTANCE_DETAILS", + "ISSUES", + "FARGATE_DETAILS", + "COVERAGE_ECS_CLUSTER_DETAILS", + "COVERAGE_EKS_CLUSTER_DETAILS", + "COVERAGE_FILTER_CONDITION", + "COVERAGE_FILTER_CRITERION_KEY", + "COVERAGE_FILTER_CRITERION", + "COVERAGE_FILTER_CRITERION_LIST", + "COVERAGE_FILTER_CRITERIA", + "COVERAGE_RESOURCE_DETAILS", + "COVERAGE_RESOURCE", + "COVERAGE_RESOURCES", + "COVERAGE_SORT_KEY", + "COVERAGE_SORT_CRITERIA", + "COVERAGE_STATISTICS", + "COVERAGE_STATISTICS_TYPE", + "COVERAGE_STATISTICS_TYPE_LIST", + "TAG_KEY", + "TAG_VALUE", + "TAG_MAP", + "CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT", + "CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT", + "CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "DETECTION_RULE_ACCOUNT_IDS", + "CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT", + "CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT", + "CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION", + "KUBERNETES_AUDIT_LOGS_CONFIGURATION", + "KUBERNETES_CONFIGURATION", + "SCAN_EC2_INSTANCE_WITH_FINDINGS", + "MALWARE_PROTECTION_CONFIGURATION", + "S3_LOGS_CONFIGURATION", + "DATA_SOURCE_CONFIGURATIONS", + "FEATURE_ADDITIONAL_CONFIGURATION", + "FEATURE_STATUS", + "DETECTOR_ADDITIONAL_CONFIGURATION", + "DETECTOR_ADDITIONAL_CONFIGURATIONS", + "DETECTOR_FEATURE", + "DETECTOR_FEATURE_CONFIGURATION", + "DETECTOR_FEATURE_CONFIGURATIONS", + "FINDING_PUBLISHING_FREQUENCY", + "CREATE_DETECTOR_INPUT", + "CREATE_DETECTOR_OUTPUT", + "CREATE_DETECTOR", + "EBS_VOLUMES_RESULT", + "SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT", + "MALWARE_PROTECTION_CONFIGURATION_RESULT", + "UNPROCESSED_DATA_SOURCES_RESULT", + "FILTER_ACTION", + "FILTER_DESCRIPTION", + "CRITERION", + "FINDING_CRITERIA", + "FILTER_RANK", + "CREATE_FILTER_INPUT", + "CREATE_FILTER_OUTPUT", + "CREATE_FILTER", + "MANAGED_BY", + "EBS_SNAPSHOT_PRESERVATION", + "INCREMENTAL_SCAN_DETAILS", + ), + ( + "TRIGGER_PROMPT", + "CREATE_INVESTIGATION_INPUT", + "CREATE_INVESTIGATION_OUTPUT", + "CREATE_INVESTIGATION", + "INVESTIGATION_ID", + "IP_SET_FORMAT", + "LOCATION", + "NAME", + "CREATE_IP_SET_INPUT", + "CREATE_IP_SET_OUTPUT", + "CREATE_IP_SET", + "MALWARE_PROTECTION_PLAN_TAGGING_ACTION_STATUS", + "MALWARE_PROTECTION_PLAN_TAGGING_ACTION", + "MALWARE_PROTECTION_PLAN_ACTIONS", + "MALWARE_PROTECTION_PLAN_OBJECT_PREFIXES_LIST", + "CREATE_S3_BUCKET_RESOURCE", + "CREATE_PROTECTED_RESOURCE", + "CREATE_MALWARE_PROTECTION_PLAN_INPUT", + "CREATE_MALWARE_PROTECTION_PLAN_OUTPUT", + "CREATE_MALWARE_PROTECTION_PLAN", + "CREATE_MEMBERS_INPUT", + "CREATE_MEMBERS_OUTPUT", + "CREATE_MEMBERS", + "UNPROCESSED_ACCOUNT", + "UNPROCESSED_ACCOUNTS", + "CREATE_PUBLISHING_DESTINATION_INPUT", + "CREATE_PUBLISHING_DESTINATION_OUTPUT", + "CREATE_PUBLISHING_DESTINATION", + "FINDING_TYPES", + "CREATE_SAMPLE_FINDINGS_INPUT", + "CREATE_SAMPLE_FINDINGS_OUTPUT", + "CREATE_SAMPLE_FINDINGS", + "EXPECTED_BUCKET_OWNER", + "THREAT_ENTITY_SET_FORMAT", + "CREATE_THREAT_ENTITY_SET_INPUT", + "CREATE_THREAT_ENTITY_SET_OUTPUT", + "CREATE_THREAT_ENTITY_SET", + "THREAT_INTEL_SET_FORMAT", + "CREATE_THREAT_INTEL_SET_INPUT", + "CREATE_THREAT_INTEL_SET_OUTPUT", + "CREATE_THREAT_INTEL_SET", + "TRUSTED_ENTITY_SET_FORMAT", + "CREATE_TRUSTED_ENTITY_SET_INPUT", + "CREATE_TRUSTED_ENTITY_SET_OUTPUT", + "CREATE_TRUSTED_ENTITY_SET", + "CRITERION_KEY", + "DATA_SOURCE", + "DNS_LOGS_CONFIGURATION_RESULT", + "FLOW_LOGS_CONFIGURATION_RESULT", + "KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT", + "KUBERNETES_CONFIGURATION_RESULT", + "S3_LOGS_CONFIGURATION_RESULT", + "DATA_SOURCE_CONFIGURATIONS_RESULT", + "DATA_SOURCE_LIST", + "DATE_STATISTICS", + "DECLINE_INVITATIONS_INPUT", + "DECLINE_INVITATIONS_OUTPUT", + "DECLINE_INVITATIONS", + "DEFAULT_SERVER_SIDE_ENCRYPTION", + "DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT", + "DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT", + "DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION", + "DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT", + "DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT", + "DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION", + "DELETE_DETECTOR_INPUT", + "DELETE_DETECTOR_OUTPUT", + "DELETE_DETECTOR", + "DELETE_FILTER_INPUT", + "DELETE_FILTER_OUTPUT", + "DELETE_FILTER", + "DELETE_INVITATIONS_INPUT", + "DELETE_INVITATIONS_OUTPUT", + "DELETE_INVITATIONS", + "DELETE_IP_SET_INPUT", + "DELETE_IP_SET_OUTPUT", + "DELETE_IP_SET", + "DELETE_MALWARE_PROTECTION_PLAN_INPUT", + "DELETE_MALWARE_PROTECTION_PLAN_OUTPUT", + "DELETE_MALWARE_PROTECTION_PLAN", + "DELETE_MEMBERS_INPUT", + "DELETE_MEMBERS_OUTPUT", + "DELETE_MEMBERS", + "DELETE_PUBLISHING_DESTINATION_INPUT", + "DELETE_PUBLISHING_DESTINATION_OUTPUT", + "DELETE_PUBLISHING_DESTINATION", + "DELETE_THREAT_ENTITY_SET_INPUT", + "DELETE_THREAT_ENTITY_SET_OUTPUT", + "DELETE_THREAT_ENTITY_SET", + "DELETE_THREAT_INTEL_SET_INPUT", + "DELETE_THREAT_INTEL_SET_OUTPUT", + "DELETE_THREAT_INTEL_SET", + "DELETE_TRUSTED_ENTITY_SET_INPUT", + "DELETE_TRUSTED_ENTITY_SET_OUTPUT", + "DELETE_TRUSTED_ENTITY_SET", + "LONG_VALUE", + "FILTER_CONDITION", + "FILTER_CRITERION", + "FILTER_CRITERION_LIST", + "FILTER_CRITERIA", + "INTEGER_VALUE_WITH_MAX", + "DESCRIBE_MALWARE_SCANS_INPUT", + "DESCRIBE_MALWARE_SCANS_OUTPUT", + "DESCRIBE_MALWARE_SCANS", + ), + ( + "SORT_CRITERIA", + "VOLUME_DETAIL", + "VOLUME_DETAILS", + "POSITIVE_LONG", + "INSTANCE_ARN", + "RESOURCE_DETAILS", + "SCAN_RESULT", + "SCAN_RESULT_DETAILS", + "SCAN_STATUS", + "SCAN_TYPE", + "TRIGGER_TYPE", + "TRIGGER_DETAILS", + "SCAN", + "SCANS", + "MAX_RESULTS", + "DESCRIBE_ORGANIZATION_CONFIGURATION_INPUT", + "DESCRIBE_ORGANIZATION_CONFIGURATION_OUTPUT", + "DESCRIBE_ORGANIZATION_CONFIGURATION", + "ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT", + "ORGANIZATION_KUBERNETES_CONFIGURATION_RESULT", + "ORGANIZATION_EBS_VOLUMES_RESULT", + "ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT", + "ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION_RESULT", + "ORGANIZATION_S3_LOGS_CONFIGURATION_RESULT", + "ORGANIZATION_DATA_SOURCE_CONFIGURATIONS_RESULT", + "ORG_FEATURE_STATUS", + "ORG_FEATURE_ADDITIONAL_CONFIGURATION", + "ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULT", + "ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULTS", + "ORG_FEATURE", + "ORGANIZATION_FEATURE_CONFIGURATION_RESULT", + "ORGANIZATION_FEATURES_CONFIGURATIONS_RESULTS", + "DESCRIBE_PUBLISHING_DESTINATION_INPUT", + "DESCRIBE_PUBLISHING_DESTINATION_OUTPUT", + "DESCRIBE_PUBLISHING_DESTINATION", + "PUBLISHING_STATUS", + "DESTINATION", + "DESTINATIONS", + "SEQUENCE_DESCRIPTION", + "NETWORK_DIRECTION", + "NETWORK_CONNECTION", + "NETWORK_GEO_LOCATION", + "NETWORK_ENDPOINT", + "NETWORK_ENDPOINTS", + "EC2_IMAGE", + "EC2_NETWORK_INTERFACE_UIDS", + "IAM_INSTANCE_PROFILE", + "PRODUCT_CODE", + "PRODUCT_CODES", + "EC2_INSTANCE", + "LAUNCH_TEMPLATE_VERSION", + "EC2_LAUNCH_TEMPLATE", + "IPV6_ADDRESSES", + "PRIVATE_IP_ADDRESS_DETAILS", + "PRIVATE_IP_ADDRESSES", + "SECURITY_GROUP", + "SECURITY_GROUPS", + "EC2_NETWORK_INTERFACE", + "EC2_VPC", + "ECS_CLUSTER_STATUS", + "ECS_CLUSTER", + "ECS_LAUNCH_TYPE", + "ECS_TASK", + "EKS_CLUSTER", + "IAM_INSTANCE_PROFILE_V2", + "KUBERNETES_RESOURCES_TYPES", + "KUBERNETES_WORKLOAD", + "PUBLIC_ACCESS_STATUS", + "PUBLIC_ACL_IGNORE_BEHAVIOR", + "PUBLIC_BUCKET_RESTRICT_BEHAVIOR", + "PUBLIC_ACCESS_CONFIGURATION", + "S3_OBJECT_UIDS", + "S3_BUCKET", + "S3_OBJECT", + "RESOURCE_DATA", + "FINDING_RESOURCE_TYPE", + "TAG", + "TAGS", + "RESOURCE_V2", + "RESOURCES", + "INDICATOR_TYPE", + "INDICATOR_TITLE", + "INDICATOR_VALUE_STRING", + "INDICATOR_VALUES", + "INDICATOR", + "INDICATORS", + "SIGNAL_DESCRIPTION", + "ENDPOINT_IDS", + "RESOURCE_UIDS", + "MALWARE_PROTECTION_SCAN_TYPE", + ), + ( + "SIGNAL_TYPE", + "SIGNAL", + "SIGNALS", + "SEQUENCE", + "DETECTION", + "DETECTION_RULE_AGENT_VERSION", + "DETECTION_RULE_CONFIGURATION_STATUS", + "DETECTION_RULE_DATA_SOURCE", + "DETECTION_RULE_DESCRIPTION", + "DETECTION_RULE_EC2_REQUIREMENTS", + "DETECTION_RULE_ECS_FARGATE_REQUIREMENTS", + "DETECTION_RULE_EKS_REQUIREMENTS", + "DETECTION_RULE_FILTER_CONDITION", + "FILTER_FIELD_NAME", + "DETECTION_RULE_FILTER_VALUE", + "DETECTION_RULE_FILTER_VALUES", + "DETECTION_RULE_FILTER", + "DETECTION_RULE_FILTER_LIST", + "DETECTION_RULE_ORG_CONFIGURATION", + "DETECTION_RULE_ORG_CONFIGURATION_SUMMARY", + "DETECTION_RULE_ORG_CONFIGURATION_SUMMARY_LIST", + "DETECTION_RULE_RUNTIME_PLATFORMS", + "DETECTION_RULE_RUNTIME_MONITORING_DETAILS", + "DETECTION_RULE_SERVICE_NAME", + "DETECTION_RULE_SEVERITY", + "DETECTION_SOURCE", + "DETECTOR_ADDITIONAL_CONFIGURATION_RESULT", + "DETECTOR_ADDITIONAL_CONFIGURATION_RESULTS", + "DETECTOR_FEATURE_RESULT", + "DETECTOR_FEATURE_CONFIGURATION_RESULT", + "DETECTOR_FEATURE_CONFIGURATIONS_RESULTS", + "DETECTOR_IDS", + "DETECTOR_STATUS", + "DISABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT", + "DISABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT", + "DISABLE_ORGANIZATION_ADMIN_ACCOUNT", + "DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_INPUT", + "DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_OUTPUT", + "DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT", + "DISASSOCIATE_FROM_MASTER_ACCOUNT_INPUT", + "DISASSOCIATE_FROM_MASTER_ACCOUNT_OUTPUT", + "DISASSOCIATE_FROM_MASTER_ACCOUNT", + "DISASSOCIATE_MEMBERS_INPUT", + "DISASSOCIATE_MEMBERS_OUTPUT", + "DISASSOCIATE_MEMBERS", + "EBS_SNAPSHOT", + "EBS_SNAPSHOT_DETAILS", + "EBS_VOLUME_DETAILS", + "HIGHEST_SEVERITY_THREAT_DETAILS", + "SCANNED_ITEM_COUNT", + "SCAN_FILE_PATH", + "FILE_PATHS", + "SCAN_THREAT_NAME", + "SCAN_THREAT_NAMES", + "THREAT_DETECTED_BY_NAME", + "THREATS_DETECTED_ITEM_COUNT", + "SCAN_DETECTIONS", + "SOURCES", + "EBS_VOLUME_SCAN_DETAILS", + "EC2_IMAGE_DETAILS", + "HOST_PATH", + "VOLUME", + "VOLUMES", + "ECS_TASK_DETAILS", + "ECS_CLUSTER_DETAILS", + "EKS_CLUSTER_DETAILS", + "ENABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT", + "ENABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT", + "ENABLE_ORGANIZATION_ADMIN_ACCOUNT", + "THREAT_NAMES", + "THREAT_INTELLIGENCE_DETAIL", + "THREAT_INTELLIGENCE_DETAILS", + "EVIDENCE", + "FEEDBACK", + "FILTER_NAMES", + "FILTER_VERSION", + "NETWORK_INTERFACE", + "NETWORK_INTERFACES", + "INSTANCE_DETAILS", + "GROUPS", + "IMPERSONATED_USER", + "SESSION_NAME_LIST", + "KUBERNETES_USER_DETAILS", + "KUBERNETES_WORKLOAD_DETAILS", + "KUBERNETES_DETAILS", + "SUBNET_IDS", + "VPC_CONFIG", + "LAMBDA_DETAILS", + "MODEL_DETAIL", + "MODEL_DETAILS", + "RDS_DB_INSTANCE_DETAILS", + "RDS_DB_USER_DETAILS", + ), + ( + "RDS_LIMITLESS_DB_DETAILS", + "SCAN_CONFIGURATION_CONTINUOUS_SCAN_DETAILS", + "RECOVERY_POINT_DETAILS", + "OWNER", + "PERMISSION_CONFIGURATION", + "PUBLIC_ACCESS", + "S3_OBJECT_DETAIL", + "S3_OBJECT_DETAILS", + "S3_BUCKET_DETAIL", + "S3_BUCKET_DETAILS", + "RESOURCE", + "SERVICE_ADDITIONAL_INFO", + "SCAN_CATEGORY", + "MALWARE_PROTECTION_FINDINGS_SCAN_CONFIGURATION", + "ITEM_DETAILS", + "ITEM_DETAILS_LIST", + "ITEM_PATH", + "ITEM_PATHS", + "THREAT", + "THREATS", + "MALWARE_SCAN_DETAILS", + "FLAGS_LIST", + "MEMORY_REGIONS_LIST", + "LINEAGE_OBJECT", + "LINEAGE", + "PROCESS_DETAILS", + "RELATED_FILE_PATHS_LIST", + "RUNTIME_CONTEXT", + "RUNTIME_DETAILS", + "SERVICE", + "FINDING", + "FINDINGS", + "GROUPED_BY_ACCOUNT", + "GROUPED_BY_DATE", + "FINDING_TYPE_STATISTICS", + "GROUPED_BY_FINDING_TYPE", + "RESOURCE_STATISTICS", + "GROUPED_BY_RESOURCE", + "SEVERITY_STATISTICS", + "GROUPED_BY_SEVERITY", + "FINDING_STATISTICS", + "FINDING_STATISTIC_TYPE", + "FINDING_STATISTIC_TYPES", + "GET_ADMINISTRATOR_ACCOUNT_INPUT", + "GET_ADMINISTRATOR_ACCOUNT_OUTPUT", + "GET_ADMINISTRATOR_ACCOUNT", + "GET_COVERAGE_STATISTICS_INPUT", + "GET_COVERAGE_STATISTICS_OUTPUT", + "GET_COVERAGE_STATISTICS", + "GET_CUSTOM_DETECTION_RULE_INPUT", + "GET_CUSTOM_DETECTION_RULE_OUTPUT", + "GET_CUSTOM_DETECTION_RULE", + "RULE_EXPRESSION", + "RULE_DEFINITION", + "RULE_LANGUAGE", + "RULE_NAME", + "RULE_SCHEMA", + "MITRE_TACTIC", + "MITRE_TECHNIQUE", + "RULE_DETAIL", + "GET_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT", + "GET_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT", + "GET_CUSTOM_DETECTION_RULE_ASSOCIATION", + "GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT", + "GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT", + "GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION", + "GET_DETECTOR_INPUT", + "GET_DETECTOR_OUTPUT", + "GET_DETECTOR", + "GET_FILTER_INPUT", + "GET_FILTER_OUTPUT", + "GET_FILTER", + "GET_FINDINGS_INPUT", + "GET_FINDINGS_OUTPUT", + "GET_FINDINGS", + "GROUP_BY_TYPE", + "MAX_RESULTS100", + "GET_FINDINGS_STATISTICS_INPUT", + "GET_FINDINGS_STATISTICS_OUTPUT", + "GET_FINDINGS_STATISTICS", + ), + ( + "CONFIDENCE", + "GET_INVESTIGATION_INPUT", + "GET_INVESTIGATION_OUTPUT", + "GET_INVESTIGATION", + "INVESTIGATION_ERROR_DETAILS", + "PRODUCT", + "INVESTIGATION_METADATA", + "RISK_DETAILS", + "RISK_LEVEL", + "INVESTIGATION_STATUS", + "TRIGGERED_BY", + "INVESTIGATION", + "GET_INVITATIONS_COUNT_INPUT", + "GET_INVITATIONS_COUNT_OUTPUT", + "GET_INVITATIONS_COUNT", + "GET_IP_SET_INPUT", + "GET_IP_SET_OUTPUT", + "GET_IP_SET", + "IP_SET_STATUS", + "GET_MALWARE_PROTECTION_PLAN_INPUT", + "GET_MALWARE_PROTECTION_PLAN_OUTPUT", + "GET_MALWARE_PROTECTION_PLAN", + "MALWARE_PROTECTION_PLAN_STATUS", + "MALWARE_PROTECTION_PLAN_STATUS_REASON", + "MALWARE_PROTECTION_PLAN_STATUS_REASONS_LIST", + "GET_MALWARE_SCAN_INPUT", + "GET_MALWARE_SCAN_OUTPUT", + "GET_MALWARE_SCAN", + "NON_NEGATIVE_INTEGER", + "MALWARE_PROTECTION_RESOURCE_TYPE", + "SCAN_CONFIGURATION_RECOVERY_POINT", + "SCAN_CONFIGURATION", + "SCANNED_RESOURCE_DETAILS", + "MALWARE_PROTECTION_SCAN_STATUS", + "SCAN_STATUS_REASON", + "SCANNED_RESOURCE", + "SCANNED_RESOURCES", + "SCAN_RESULT_STATUS", + "SCAN_RESULT_THREAT", + "SCAN_RESULT_THREATS", + "GET_MALWARE_SCAN_RESULT_DETAILS", + "GET_MALWARE_SCAN_SETTINGS_INPUT", + "GET_MALWARE_SCAN_SETTINGS_OUTPUT", + "GET_MALWARE_SCAN_SETTINGS", + "SCAN_CRITERION_KEY", + "SCAN_CONDITION_PAIR", + "MAP_EQUALS", + "SCAN_CONDITION", + "SCAN_CRITERION", + "SCAN_RESOURCE_CRITERIA", + "GET_MASTER_ACCOUNT_INPUT", + "GET_MASTER_ACCOUNT_OUTPUT", + "GET_MASTER_ACCOUNT", + "MASTER", + "GET_MEMBER_DETECTORS_INPUT", + "GET_MEMBER_DETECTORS_OUTPUT", + "GET_MEMBER_DETECTORS", + "MEMBER_ADDITIONAL_CONFIGURATION_RESULT", + "MEMBER_ADDITIONAL_CONFIGURATION_RESULTS", + "MEMBER_FEATURES_CONFIGURATION_RESULT", + "MEMBER_FEATURES_CONFIGURATIONS_RESULTS", + "MEMBER_DATA_SOURCE_CONFIGURATION", + "MEMBER_DATA_SOURCE_CONFIGURATIONS", + "GET_MEMBERS_INPUT", + "GET_MEMBERS_OUTPUT", + "GET_MEMBERS", + "MEMBER", + "MEMBERS", + "GET_ORGANIZATION_STATISTICS_INPUT", + "GET_ORGANIZATION_STATISTICS_OUTPUT", + "GET_ORGANIZATION_STATISTICS", + "ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATION", + "ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATIONS", + "ORGANIZATION_FEATURE_STATISTICS", + "ORGANIZATION_FEATURE_STATISTICS_RESULTS", + "ORGANIZATION_STATISTICS", + "ORGANIZATION_DETAILS", + "GET_REMAINING_FREE_TRIAL_DAYS_INPUT", + "GET_REMAINING_FREE_TRIAL_DAYS_OUTPUT", + "GET_REMAINING_FREE_TRIAL_DAYS", + "GET_THREAT_ENTITY_SET_INPUT", + "GET_THREAT_ENTITY_SET_OUTPUT", + "GET_THREAT_ENTITY_SET", + "THREAT_ENTITY_SET_STATUS", + "GET_THREAT_INTEL_SET_INPUT", + "GET_THREAT_INTEL_SET_OUTPUT", + "GET_THREAT_INTEL_SET", + ), + ( + "DETECTION_RULE_MAX_RESULTS", + "THREAT_INTEL_SET_STATUS", + "GET_TRUSTED_ENTITY_SET_INPUT", + "GET_TRUSTED_ENTITY_SET_OUTPUT", + "GET_TRUSTED_ENTITY_SET", + "TRUSTED_ENTITY_SET_STATUS", + "USAGE_FEATURE", + "USAGE_FEATURE_LIST", + "RESOURCE_LIST", + "USAGE_CRITERIA", + "USAGE_STATISTIC_TYPE", + "GET_USAGE_STATISTICS_INPUT", + "GET_USAGE_STATISTICS_OUTPUT", + "GET_USAGE_STATISTICS", + "TOTAL", + "USAGE_ACCOUNT_RESULT", + "USAGE_ACCOUNT_RESULT_LIST", + "USAGE_DATA_SOURCE_RESULT", + "USAGE_DATA_SOURCE_RESULT_LIST", + "USAGE_FEATURE_RESULT", + "USAGE_FEATURE_RESULT_LIST", + "USAGE_RESOURCE_RESULT", + "USAGE_RESOURCE_RESULT_LIST", + "USAGE_TOP_ACCOUNT_RESULT", + "USAGE_TOP_ACCOUNTS_BY_FEATURE_LIST", + "USAGE_TOP_ACCOUNTS_RESULT", + "USAGE_TOP_ACCOUNTS_RESULT_LIST", + "USAGE_STATISTICS", + "INVITE_MEMBERS_INPUT", + "INVITE_MEMBERS_OUTPUT", + "INVITE_MEMBERS", + "LIST_COVERAGE_INPUT", + "LIST_COVERAGE_OUTPUT", + "LIST_COVERAGE", + "LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_INPUT", + "LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_OUTPUT", + "LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS", + "LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_INPUT", + "LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_OUTPUT", + "LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS", + "LIST_CUSTOM_DETECTION_RULES_INPUT", + "LIST_CUSTOM_DETECTION_RULES_OUTPUT", + "LIST_CUSTOM_DETECTION_RULES", + "RULE_SUMMARY", + "RULE_SUMMARY_LIST", + "LIST_DETECTORS_INPUT", + "LIST_DETECTORS_OUTPUT", + "LIST_DETECTORS", + "LIST_FILTERS_INPUT", + "LIST_FILTERS_OUTPUT", + "LIST_FILTERS", + "LIST_FINDINGS_INPUT", + "LIST_FINDINGS_OUTPUT", + "LIST_FINDINGS", + "NEXT_TOKEN", + "INVESTIGATION_SORT_FIELD", + "INVESTIGATION_SORT_CRITERIA", + "LIST_INVESTIGATIONS_INPUT", + "LIST_INVESTIGATIONS_OUTPUT", + "LIST_INVESTIGATIONS", + "INVESTIGATION_TITLE", + "INVESTIGATION_SUMMARY", + "INVESTIGATION_SUMMARIES", + "LIST_INVITATIONS_INPUT", + "LIST_INVITATIONS_OUTPUT", + "LIST_INVITATIONS", + "INVITATION", + "INVITATIONS", + "LIST_IP_SETS_INPUT", + "LIST_IP_SETS_OUTPUT", + "LIST_IP_SETS", + "IP_SET_IDS", + "LIST_MALWARE_PROTECTION_PLANS_INPUT", + "LIST_MALWARE_PROTECTION_PLANS_OUTPUT", + "LIST_MALWARE_PROTECTION_PLANS", + "MALWARE_PROTECTION_PLAN_SUMMARY", + "MALWARE_PROTECTION_PLANS_SUMMARY", + "LIST_MALWARE_SCANS_CRITERION_KEY", + "LIST_MALWARE_SCANS_FILTER_CRITERION", + "LIST_MALWARE_SCANS_FILTER_CRITERION_LIST", + "LIST_MALWARE_SCANS_FILTER_CRITERIA", + "LIST_MALWARE_SCANS_INPUT", + "LIST_MALWARE_SCANS_OUTPUT", + "LIST_MALWARE_SCANS", + "MALWARE_SCAN", + "MALWARE_SCANS", + "LIST_MEMBERS_INPUT", + "LIST_MEMBERS_OUTPUT", + "LIST_MEMBERS", + "LIST_ORGANIZATION_ADMIN_ACCOUNTS_INPUT", + "LIST_ORGANIZATION_ADMIN_ACCOUNTS_OUTPUT", + "LIST_ORGANIZATION_ADMIN_ACCOUNTS", + ), + ( + "LIST_PUBLISHING_DESTINATIONS_INPUT", + "LIST_PUBLISHING_DESTINATIONS_OUTPUT", + "LIST_PUBLISHING_DESTINATIONS", + "GUARD_DUTY_ARN", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "LIST_THREAT_ENTITY_SETS_INPUT", + "LIST_THREAT_ENTITY_SETS_OUTPUT", + "LIST_THREAT_ENTITY_SETS", + "THREAT_ENTITY_SET_IDS", + "LIST_THREAT_INTEL_SETS_INPUT", + "LIST_THREAT_INTEL_SETS_OUTPUT", + "LIST_THREAT_INTEL_SETS", + "THREAT_INTEL_SET_IDS", + "LIST_TRUSTED_ENTITY_SETS_INPUT", + "LIST_TRUSTED_ENTITY_SETS_OUTPUT", + "LIST_TRUSTED_ENTITY_SETS", + "TRUSTED_ENTITY_SET_IDS", + "S3_OBJECT_FOR_SEND_OBJECT_MALWARE_SCAN", + "SEND_OBJECT_MALWARE_SCAN_INPUT", + "SEND_OBJECT_MALWARE_SCAN_OUTPUT", + "SEND_OBJECT_MALWARE_SCAN", + "RESOURCE_ARN", + "RECOVERY_POINT", + "START_MALWARE_SCAN_CONFIGURATION", + "START_MALWARE_SCAN_INPUT", + "START_MALWARE_SCAN_OUTPUT", + "START_MALWARE_SCAN", + "START_MONITORING_MEMBERS_INPUT", + "START_MONITORING_MEMBERS_OUTPUT", + "START_MONITORING_MEMBERS", + "STOP_MONITORING_MEMBERS_INPUT", + "STOP_MONITORING_MEMBERS_OUTPUT", + "STOP_MONITORING_MEMBERS", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "UNARCHIVE_FINDINGS_INPUT", + "UNARCHIVE_FINDINGS_OUTPUT", + "UNARCHIVE_FINDINGS", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT", + "UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT", + "UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION", + "UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT", + "UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT", + "UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION", + "UPDATE_DETECTOR_INPUT", + "UPDATE_DETECTOR_OUTPUT", + "UPDATE_DETECTOR", + "UPDATE_FILTER_INPUT", + "UPDATE_FILTER_OUTPUT", + "UPDATE_FILTER", + "UPDATE_FINDINGS_FEEDBACK_INPUT", + "UPDATE_FINDINGS_FEEDBACK_OUTPUT", + "UPDATE_FINDINGS_FEEDBACK", + "UPDATE_IP_SET_INPUT", + "UPDATE_IP_SET_OUTPUT", + "UPDATE_IP_SET", + "UPDATE_S3_BUCKET_RESOURCE", + "UPDATE_PROTECTED_RESOURCE", + "UPDATE_MALWARE_PROTECTION_PLAN_INPUT", + "UPDATE_MALWARE_PROTECTION_PLAN_OUTPUT", + "UPDATE_MALWARE_PROTECTION_PLAN", + "UPDATE_MALWARE_SCAN_SETTINGS_INPUT", + "UPDATE_MALWARE_SCAN_SETTINGS_OUTPUT", + "UPDATE_MALWARE_SCAN_SETTINGS", + "MEMBER_ADDITIONAL_CONFIGURATION", + "MEMBER_ADDITIONAL_CONFIGURATIONS", + "MEMBER_FEATURES_CONFIGURATION", + "MEMBER_FEATURES_CONFIGURATIONS", + "UPDATE_MEMBER_DETECTORS_INPUT", + "UPDATE_MEMBER_DETECTORS_OUTPUT", + "UPDATE_MEMBER_DETECTORS", + "ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION", + "ORGANIZATION_KUBERNETES_CONFIGURATION", + "ORGANIZATION_EBS_VOLUMES", + "ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS", + "ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION", + "ORGANIZATION_S3_LOGS_CONFIGURATION", + "ORGANIZATION_DATA_SOURCE_CONFIGURATIONS", + "ORGANIZATION_ADDITIONAL_CONFIGURATION", + "ORGANIZATION_ADDITIONAL_CONFIGURATIONS", + "ORGANIZATION_FEATURE_CONFIGURATION", + "ORGANIZATION_FEATURES_CONFIGURATIONS", + "UPDATE_ORGANIZATION_CONFIGURATION_INPUT", + "UPDATE_ORGANIZATION_CONFIGURATION_OUTPUT", + "UPDATE_ORGANIZATION_CONFIGURATION", + "UPDATE_PUBLISHING_DESTINATION_INPUT", + "UPDATE_PUBLISHING_DESTINATION_OUTPUT", + "UPDATE_PUBLISHING_DESTINATION", + "UPDATE_THREAT_ENTITY_SET_INPUT", + "UPDATE_THREAT_ENTITY_SET_OUTPUT", + "UPDATE_THREAT_ENTITY_SET", + "UPDATE_THREAT_INTEL_SET_INPUT", + "UPDATE_THREAT_INTEL_SET_OUTPUT", + "UPDATE_THREAT_INTEL_SET", + "UPDATE_TRUSTED_ENTITY_SET_INPUT", + "UPDATE_TRUSTED_ENTITY_SET_OUTPUT", + "UPDATE_TRUSTED_ENTITY_SET", + "GUARD_DUTY_API_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_0.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_0.py new file mode 100644 index 000000000..5b8c07a74 --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_0.py @@ -0,0 +1,1425 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.guardduty" +_S = "String" +_DI = "DetectorId" +_AAII = "AcceptAdministratorInvitationInput" +_sSI = "smithy.synthetic#originalShapeId" +_cAAIR = "com.amazonaws.guardduty#AcceptAdministratorInvitationRequest" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_AI = "AdministratorId" +_sN = "smithy.api#jsonName" +_aI = "administratorId" +_II = "InvitationId" +_iI = "invitationId" +_AAIO = "AcceptAdministratorInvitationOutput" +_cAAIRo = "com.amazonaws.guardduty#AcceptAdministratorInvitationResponse" +_smi = "smithy.api#output" +_BRE = "BadRequestException" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_M = "Message" +_m = "message" +_T = "Type" +_t = "type" +_ISEE = "InternalServerErrorException" +_se = "server" +_AAI = "AcceptAdministratorInvitation" +_smith = "smithy.api#http" +_AII = "AcceptInvitationInput" +_cAIR = "com.amazonaws.guardduty#AcceptInvitationRequest" +_MI = "MasterId" +_mI = "masterId" +_AIO = "AcceptInvitationOutput" +_cAIRo = "com.amazonaws.guardduty#AcceptInvitationResponse" +_AIc = "AcceptInvitation" +_B = "Boolean" +_ACL = "AccessControlList" +_APRA = "AllowsPublicReadAccess" +_aPRA = "allowsPublicReadAccess" +_APWA = "AllowsPublicWriteAccess" +_aPWA = "allowsPublicWriteAccess" +_ADE = "AccessDeniedException" +_AK = "AccessKey" +_PI = "PrincipalId" +_pI = "principalId" +_UN = "UserName" +_uN = "userName" +_UT = "UserType" +_uT = "userType" +_AKD = "AccessKeyDetails" +_AKI = "AccessKeyId" +_aKI = "accessKeyId" +_A = "Account" +_U = "Uid" +_u = "uid" +_N = "Name" +_a = "account" +_AIcc = "AccountId" +_E = "Email" +_smithy = "smithy.api#sensitive" +_AD = "AccountDetail" +_aIc = "accountId" +_e = "email" +_ADc = "AccountDetails" +_me = "member" +_I = "Integer" +_DSFT = "DataSourceFreeTrial" +_FTDR = "FreeTrialDaysRemaining" +_fTDR = "freeTrialDaysRemaining" +_KDSFT = "KubernetesDataSourceFreeTrial" +_AL = "AuditLogs" +_aL = "auditLogs" +_MPDSFT = "MalwareProtectionDataSourceFreeTrial" +_SEIWF = "ScanEc2InstanceWithFindings" +_sEIWF = "scanEc2InstanceWithFindings" +_DSFTa = "DataSourcesFreeTrial" +_CT = "CloudTrail" +_cT = "cloudTrail" +_DL = "DnsLogs" +_dL = "dnsLogs" +_FL = "FlowLogs" +_fL = "flowLogs" +_SL = "S3Logs" +_sLo = "s3Logs" +_K = "Kubernetes" +_k = "kubernetes" +_MP = "MalwareProtection" +_mP = "malwareProtection" +_FTFR = "FreeTrialFeatureResult" +_FL_ = "FLOW_LOGS" +_sV = "smithy.api#enumValue" +_CT_ = "CLOUD_TRAIL" +_DL_ = "DNS_LOGS" +_SDE = "S3_DATA_EVENTS" +_EAL = "EKS_AUDIT_LOGS" +_EMP = "EBS_MALWARE_PROTECTION" +_RLE = "RDS_LOGIN_EVENTS" +_LNL = "LAMBDA_NETWORK_LOGS" +_ERM = "EKS_RUNTIME_MONITORING" +_ERM_ = "EC2_RUNTIME_MONITORING" +_FRM = "FARGATE_RUNTIME_MONITORING" +_AP = "AI_PROTECTION" +_FTFCR = "FreeTrialFeatureConfigurationResult" +_n = "name" +_FTFCRr = "FreeTrialFeatureConfigurationsResults" +_AFTI = "AccountFreeTrialInfo" +_DS = "DataSources" +_dS = "dataSources" +_F = "Features" +_f = "features" +_AFTIc = "AccountFreeTrialInfos" +_AIcco = "AccountIds" +_BPA = "BlockPublicAccess" +_IPA = "IgnorePublicAcls" +_iPA = "ignorePublicAcls" +_RPB = "RestrictPublicBuckets" +_rPB = "restrictPublicBuckets" +_BPAl = "BlockPublicAcls" +_bPA = "blockPublicAcls" +_BPP = "BlockPublicPolicy" +_bPP = "blockPublicPolicy" +_ALP = "AccountLevelPermissions" +_bPAl = "blockPublicAccess" +_Ti = "Timestamp" +_AS = "AccountStatistics" +_LGA = "LastGeneratedAt" +_lGA = "lastGeneratedAt" +_TF = "TotalFindings" +_tF = "totalFindings" +_AR = "AffectedResources" +_ke = "key" +_v = "value" +_DD = "DomainDetails" +_D = "Domain" +_d = "domain" +_RAD = "RemoteAccountDetails" +_Af = "Affiliated" +_af = "affiliated" +_ASN = "AwsServiceName" +_aSN = "awsServiceName" +_C = "City" +_CN = "CityName" +_cN = "cityName" +_Co = "Country" +_CC = "CountryCode" +_cC = "countryCode" +_CNo = "CountryName" +_cNo = "countryName" +_Do = "Double" +_GL = "GeoLocation" +_L = "Lat" +_l = "lat" +_Lo = "Lon" +_lo = "lon" +_SS = "SensitiveString" +_O = "Organization" +_As = "Asn" +_as = "asn" +_AO = "AsnOrg" +_aO = "asnOrg" +_Is = "Isp" +_i = "isp" +_Or = "Org" +_o = "org" +_RID = "RemoteIpDetails" +_ci = "city" +_co = "country" +_gL = "geoLocation" +_IAV = "IpAddressV4" +_iAV = "ipAddressV4" +_IAVp = "IpAddressV6" +_iAVp = "ipAddressV6" +_or = "organization" +_AACA = "AwsApiCallAction" +_Ap = "Api" +_ap = "api" +_CTa = "CallerType" +_cTa = "callerType" +_dD = "domainDetails" +_EC = "ErrorCode" +_eC = "errorCode" +_UA = "UserAgent" +_uA = "userAgent" +_rID = "remoteIpDetails" +_SN = "ServiceName" +_sNe = "serviceName" +_rAD = "remoteAccountDetails" +_aR = "affectedResources" +_DRA = "DnsRequestAction" +_P = "Protocol" +_p = "protocol" +_Bl = "Blocked" +_b = "blocked" +_DWS = "DomainWithSuffix" +_dWS = "domainWithSuffix" +_VOAI = "VpcOwnerAccountId" +_vOAI = "vpcOwnerAccountId" +_SI = "SourceIps" +_KACA = "KubernetesApiCallAction" +_RU = "RequestUri" +_rU = "requestUri" +_V = "Verb" +_ve = "verb" +_R = "Resource" +_r = "resource" +_Su = "Subresource" +_su = "subresource" +_Na = "Namespace" +_na = "namespace" +_RN = "ResourceName" +_rN = "resourceName" +_sIP = "sourceIPs" +_SC = "StatusCode" +_sC = "statusCode" +_Pa = "Parameters" +_pa = "parameters" +_KPCD = "KubernetesPermissionCheckedDetails" +_Al = "Allowed" +_al = "allowed" +_KRBD = "KubernetesRoleBindingDetails" +_Ki = "Kind" +_ki = "kind" +_RRN = "RoleRefName" +_rRN = "roleRefName" +_RRK = "RoleRefKind" +_rRK = "roleRefKind" +_KRD = "KubernetesRoleDetails" +_LID = "LocalIpDetails" +_LPD = "LocalPortDetails" +_Po = "Port" +_po = "port" +_PN = "PortName" +_pN = "portName" +_RPD = "RemotePortDetails" +_NCA = "NetworkConnectionAction" +_CD = "ConnectionDirection" +_cD = "connectionDirection" +_lPD = "localPortDetails" +_lID = "localIpDetails" +_LNI = "LocalNetworkInterface" +_lNI = "localNetworkInterface" +_rPD = "remotePortDetails" +_PPD = "PortProbeDetail" +_PPDo = "PortProbeDetails" +_PPA = "PortProbeAction" +_pPD = "portProbeDetails" +_LA = "LoginAttribute" +_Us = "User" +_us = "user" +_App = "Application" +_app = "application" +_FLA = "FailedLoginAttempts" +_fLA = "failedLoginAttempts" +_SLA = "SuccessfulLoginAttempts" +_sLA = "successfulLoginAttempts" +_LAo = "LoginAttributes" +_RLAA = "RdsLoginAttemptAction" +_Ac = "Action" +_AT = "ActionType" +_aT = "actionType" +_aACA = "awsApiCallAction" +_dRA = "dnsRequestAction" +_nCA = "networkConnectionAction" +_pPA = "portProbeAction" +_kACA = "kubernetesApiCallAction" +_kPCD = "kubernetesPermissionCheckedDetails" +_kRBD = "kubernetesRoleBindingDetails" +_kRD = "kubernetesRoleDetails" +_rLAA = "rdsLoginAttemptAction" +_AC = "ApiCall" +_Op = "Operation" +_op = "operation" +_Se = "Service" +_ser = "service" +_Er = "Error" +_er = "error" +_ATc = "ActivityType" +_AC_ = "API_CALL" +_Act = "Activity" +_Acti = "Activities" +_PNr = "ProcessName" +_PP = "ProcessPath" +_PS = "ProcessSha256" +_APc = "ActorProcess" +_Pat = "Path" +_pat = "path" +_Sh = "Sha256" +_sh = "sha256" +_MS = "MfaStatus" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_Ses = "Session" +_mS = "mfaStatus" +_CTr = "CreatedTime" +_cTr = "createdTime" +_Iss = "Issuer" +_is = "issuer" +_CU = "CredentialUid" +_cU = "credentialUid" +_Acto = "Actor" +_Id = "Id" +_id = "id" +_ses = "session" +_Pr = "Process" +_pr = "process" +_AIct = "ActorIds" +_Actor = "Actors" +_NES = "NonEmptyString" +_AId = "AdditionalInfo" +_VI = "VersionId" +_vI = "versionId" +_DN = "DeviceName" +_dN = "deviceName" +_FT = "FindingType" +_AST = "AdditionalSequenceTypes" +_ADd = "AddonDetails" +_AV = "AddonVersion" +_aV = "addonVersion" +_ASd = "AddonStatus" +_aS = "addonStatus" +_ASdm = "AdminStatus" +_DIP = "DISABLE_IN_PROGRESS" +_AA = "AdminAccount" +_AAId = "AdminAccountId" +_aAI = "adminAccountId" +_aSd = "adminStatus" +_AAd = "AdminAccounts" +_Ad = "Administrator" +_RS = "RelationshipStatus" +_rS = "relationshipStatus" +_IA = "InvitedAt" +_iA = "invitedAt" +_ADg = "AgentDetails" +_Ve = "Version" +_ver = "version" +_Lon = "Long" +_ON = "ObservationNumbers" +_OT = "ObservationTexts" +_Ob = "Observations" +_Te = "Text" +_te = "text" +_Nu = "Number" +_nu = "number" +_PSr = "ProfileSubtype" +_FREQUENT = "FREQUENT" +_INFREQUENT = "INFREQUENT" +_UNSEEN = "UNSEEN" +_RARE = "RARE" +_COUNT = "COUNT" +_AVERAGE = "AVERAGE" +_PT = "ProfileType" +_FREQUENCY = "FREQUENCY" +_VOLUME = "VOLUME" +_AOn = "AnomalyObject" +_pT = "profileType" +_pS = "profileSubtype" +_ob = "observations" +_APFO = "AnomalyProfileFeatureObjects" +_APF = "AnomalyProfileFeatures" +_APn = "AnomalyProfiles" +_AUBF = "AnomalyUnusualBehaviorFeature" +_Be = "Behavior" +_AU = "AnomalyUnusual" +_be = "behavior" +_An = "Anomaly" +_Pro = "Profiles" +_pro = "profiles" +_Un = "Unusual" +_un = "unusual" +_FI = "FindingId" +_FIi = "FindingIds" +_AFI = "ArchiveFindingsInput" +_cAFR = "com.amazonaws.guardduty#ArchiveFindingsRequest" +_fI = "findingIds" +_AFO = "ArchiveFindingsOutput" +_cAFRo = "com.amazonaws.guardduty#ArchiveFindingsResponse" +_AF = "ArchiveFindings" +_DRAe = "DetectionRuleArn" +_AIs = "AssociationId" +_AM = "AssociationMode" +_LIVE = "LIVE" +_DR = "DRY_RUN" +_RI = "RuleId" +_ADs = "AssociationDetail" +_aIs = "associationId" +_Ar = "Arn" +_ar = "arn" +_rI = "ruleId" +_Mo = "Mode" +_mo = "mode" +_CA = "CreatedAt" +_cA = "createdAt" +_UAp = "UpdatedAt" +_uAp = "updatedAt" +_EA = "ExpiresAt" +_eA = "expiresAt" +_ASs = "AssociationSummary" +_ASL = "AssociationSummaryList" +_AEM = "AutoEnableMembers" +_NEW = "NEW" +_ALL = "ALL" +_NONE = "NONE" +_ASu = "AutonomousSystem" +_EIU = "Ec2InstanceUid" +_EIUc = "Ec2InstanceUids" +_CTl = "ClientToken" +_OB = "OrderBy" +_ASC = "ASC" +_DESC = "DESC" +_FN = "FilterName" +_EBO = "ExpectedBucketOwner" +_eBO = "expectedBucketOwner" +_DP = "DestinationProperties" +_DA = "DestinationArn" +_dA = "destinationArn" +_KKA = "KmsKeyArn" +_kKA = "kmsKeyArn" +_DT = "DestinationType" +_S_ = "S3" + +STRING: StaticSchema = (3, n0, _S, 0) + +DETECTOR_ID: StaticSchema = (3, n0, _DI, 0) + +ACCEPT_ADMINISTRATOR_INVITATION_INPUT: StaticSchema = ( + 18, + n0, + _AAII, + {_sSI: _cAAIR, _s: None}, + (_DI, _AI, _II), + ( + (DETECTOR_ID, 9), + (STRING, {_sN: _aI, _sm: None}), + (STRING, {_sN: _iI, _sm: None}), + ), +) + +ACCEPT_ADMINISTRATOR_INVITATION_OUTPUT: StaticSchema = ( + 18, + n0, + _AAIO, + {_sSI: _cAAIRo, _smi: None}, +) + +ACCEPT_ADMINISTRATOR_INVITATION: StaticOperationSchema = ( + 23, + n0, + _AAI, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/administrator", + "code": 200, + } + ) + }, + ACCEPT_ADMINISTRATOR_INVITATION_INPUT, + ACCEPT_ADMINISTRATOR_INVITATION_OUTPUT, + (lambda: BAD_REQUEST_EXCEPTION, lambda: INTERNAL_SERVER_ERROR_EXCEPTION), +) + +BAD_REQUEST_EXCEPTION: StaticSchema = ( + 18, + n0, + _BRE, + {_smit: _c, _sE: 400}, + (_M, _T), + ((STRING, {_sN: _m}), (STRING, {_sN: _t})), +) + +INTERNAL_SERVER_ERROR_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISEE, + {_smit: _se, _sE: 500}, + (_M, _T), + ((STRING, {_sN: _m}), (STRING, {_sN: _t})), +) + +ACCEPT_INVITATION_INPUT: StaticSchema = ( + 18, + n0, + _AII, + {_sSI: _cAIR, _s: None}, + (_DI, _MI, _II), + ( + (DETECTOR_ID, 9), + (STRING, {_sN: _mI, _sm: None}), + (STRING, {_sN: _iI, _sm: None}), + ), +) + +ACCEPT_INVITATION_OUTPUT: StaticSchema = (18, n0, _AIO, {_sSI: _cAIRo, _smi: None}) + +ACCEPT_INVITATION: StaticOperationSchema = ( + 23, + n0, + _AIc, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}/master", "code": 200} + ) + }, + ACCEPT_INVITATION_INPUT, + ACCEPT_INVITATION_OUTPUT, + (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), +) + +BOOLEAN: StaticSchema = (2, n0, _B, 0) + +ACCESS_CONTROL_LIST: StaticSchema = ( + 18, + n0, + _ACL, + 0, + (_APRA, _APWA), + ((BOOLEAN, {_sN: _aPRA}), (BOOLEAN, {_sN: _aPWA})), +) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_smit: _c, _sE: 403}, + (_M, _T), + ((STRING, {_sN: _m}), (STRING, {_sN: _t})), +) + +ACCESS_KEY: StaticSchema = ( + 18, + n0, + _AK, + 0, + (_PI, _UN, _UT), + ((STRING, {_sN: _pI}), (STRING, {_sN: _uN}), (STRING, {_sN: _uT})), +) + +ACCESS_KEY_DETAILS: StaticSchema = ( + 18, + n0, + _AKD, + 0, + (_AKI, _PI, _UN, _UT), + ( + (STRING, {_sN: _aKI}), + (STRING, {_sN: _pI}), + (STRING, {_sN: _uN}), + (STRING, {_sN: _uT}), + ), +) + +ACCOUNT: StaticSchema = ( + 18, + n0, + _A, + 0, + (_U, _N), + ((STRING, {_sN: _u, _sm: None}), (STRING, {_sN: _a})), +) + +ACCOUNT_ID: StaticSchema = (3, n0, _AIcc, 0) + +EMAIL: StaticSchema = (3, n0, _E, 4) + +ACCOUNT_DETAIL: StaticSchema = ( + 18, + n0, + _AD, + 0, + (_AIcc, _E), + ((ACCOUNT_ID, {_sN: _aIc, _sm: None}), (EMAIL, {_sN: _e, _sm: None})), +) + +ACCOUNT_DETAILS: StaticSchema = (16, n0, _ADc, 0, (_me,), ((ACCOUNT_DETAIL, 0),)) + +INTEGER: StaticSchema = (7, n0, _I, 0) + +DATA_SOURCE_FREE_TRIAL: StaticSchema = ( + 18, + n0, + _DSFT, + 0, + (_FTDR,), + ((INTEGER, {_sN: _fTDR}),), +) + +KUBERNETES_DATA_SOURCE_FREE_TRIAL: StaticSchema = ( + 18, + n0, + _KDSFT, + 0, + (_AL,), + ((DATA_SOURCE_FREE_TRIAL, {_sN: _aL}),), +) + +MALWARE_PROTECTION_DATA_SOURCE_FREE_TRIAL: StaticSchema = ( + 18, + n0, + _MPDSFT, + 0, + (_SEIWF,), + ((DATA_SOURCE_FREE_TRIAL, {_sN: _sEIWF}),), +) + +DATA_SOURCES_FREE_TRIAL: StaticSchema = ( + 18, + n0, + _DSFTa, + 0, + (_CT, _DL, _FL, _SL, _K, _MP), + ( + (DATA_SOURCE_FREE_TRIAL, {_sN: _cT}), + (DATA_SOURCE_FREE_TRIAL, {_sN: _dL}), + (DATA_SOURCE_FREE_TRIAL, {_sN: _fL}), + (DATA_SOURCE_FREE_TRIAL, {_sN: _sLo}), + (KUBERNETES_DATA_SOURCE_FREE_TRIAL, {_sN: _k}), + (MALWARE_PROTECTION_DATA_SOURCE_FREE_TRIAL, {_sN: _mP}), + ), +) + +FREE_TRIAL_FEATURE_RESULT: StaticSchema = ( + 14, + n0, + _FTFR, + 0, + (_FL_, _CT_, _DL_, _SDE, _EAL, _EMP, _RLE, _LNL, _ERM, _ERM_, _FRM, _AP), + ( + (-1, {_sV: _FL_}), + (-1, {_sV: _CT_}), + (-1, {_sV: _DL_}), + (-1, {_sV: _SDE}), + (-1, {_sV: _EAL}), + (-1, {_sV: _EMP}), + (-1, {_sV: _RLE}), + (-1, {_sV: _LNL}), + (-1, {_sV: _ERM}), + (-1, {_sV: _ERM_}), + (-1, {_sV: _FRM}), + (-1, {_sV: _AP}), + ), +) + +FREE_TRIAL_FEATURE_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _FTFCR, + 0, + (_N, _FTDR), + ((FREE_TRIAL_FEATURE_RESULT, {_sN: _n}), (INTEGER, {_sN: _fTDR})), +) + +FREE_TRIAL_FEATURE_CONFIGURATIONS_RESULTS: StaticSchema = ( + 16, + n0, + _FTFCRr, + 0, + (_me,), + ((FREE_TRIAL_FEATURE_CONFIGURATION_RESULT, 0),), +) + +ACCOUNT_FREE_TRIAL_INFO: StaticSchema = ( + 18, + n0, + _AFTI, + 0, + (_AIcc, _DS, _F), + ( + (STRING, {_sN: _aIc}), + (DATA_SOURCES_FREE_TRIAL, {_sN: _dS}), + (FREE_TRIAL_FEATURE_CONFIGURATIONS_RESULTS, {_sN: _f}), + ), +) + +ACCOUNT_FREE_TRIAL_INFOS: StaticSchema = ( + 16, + n0, + _AFTIc, + 0, + (_me,), + ((ACCOUNT_FREE_TRIAL_INFO, 0),), +) + +ACCOUNT_IDS: StaticSchema = (16, n0, _AIcco, 0, (_me,), ((ACCOUNT_ID, 0),)) + +BLOCK_PUBLIC_ACCESS: StaticSchema = ( + 18, + n0, + _BPA, + 0, + (_IPA, _RPB, _BPAl, _BPP), + ( + (BOOLEAN, {_sN: _iPA}), + (BOOLEAN, {_sN: _rPB}), + (BOOLEAN, {_sN: _bPA}), + (BOOLEAN, {_sN: _bPP}), + ), +) + +ACCOUNT_LEVEL_PERMISSIONS: StaticSchema = ( + 18, + n0, + _ALP, + 0, + (_BPA,), + ((BLOCK_PUBLIC_ACCESS, {_sN: _bPAl}),), +) + +TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) + +ACCOUNT_STATISTICS: StaticSchema = ( + 18, + n0, + _AS, + 0, + (_AIcc, _LGA, _TF), + ((STRING, {_sN: _aIc}), (TIMESTAMP, {_sN: _lGA}), (INTEGER, {_sN: _tF})), +) + +AFFECTED_RESOURCES: StaticSchema = ( + 17, + n0, + _AR, + 0, + (_ke, _v), + ((STRING, 0), (STRING, 0)), +) + +DOMAIN_DETAILS: StaticSchema = (18, n0, _DD, 0, (_D,), ((STRING, {_sN: _d}),)) + +REMOTE_ACCOUNT_DETAILS: StaticSchema = ( + 18, + n0, + _RAD, + 0, + (_AIcc, _Af, _ASN), + ((STRING, {_sN: _aIc}), (BOOLEAN, {_sN: _af}), (STRING, {_sN: _aSN})), +) + +CITY: StaticSchema = (18, n0, _C, 0, (_CN,), ((STRING, {_sN: _cN}),)) + +COUNTRY: StaticSchema = ( + 18, + n0, + _Co, + 0, + (_CC, _CNo), + ((STRING, {_sN: _cC}), (STRING, {_sN: _cNo})), +) + +DOUBLE: StaticSchema = (10, n0, _Do, 0) + +GEO_LOCATION: StaticSchema = ( + 18, + n0, + _GL, + 0, + (_L, _Lo), + ((DOUBLE, {_sN: _l}), (DOUBLE, {_sN: _lo})), +) + +SENSITIVE_STRING: StaticSchema = (3, n0, _SS, 4) + +ORGANIZATION: StaticSchema = ( + 18, + n0, + _O, + 0, + (_As, _AO, _Is, _Or), + ( + (STRING, {_sN: _as}), + (STRING, {_sN: _aO}), + (STRING, {_sN: _i}), + (STRING, {_sN: _o}), + ), +) + +REMOTE_IP_DETAILS: StaticSchema = ( + 18, + n0, + _RID, + 0, + (_C, _Co, _GL, _IAV, _IAVp, _O), + ( + (CITY, {_sN: _ci}), + (COUNTRY, {_sN: _co}), + (GEO_LOCATION, {_sN: _gL}), + (SENSITIVE_STRING, {_sN: _iAV}), + (SENSITIVE_STRING, {_sN: _iAVp}), + (ORGANIZATION, {_sN: _or}), + ), +) + +AWS_API_CALL_ACTION: StaticSchema = ( + 18, + n0, + _AACA, + 0, + (_Ap, _CTa, _DD, _EC, _UA, _RID, _SN, _RAD, _AR), + ( + (STRING, {_sN: _ap}), + (STRING, {_sN: _cTa}), + (DOMAIN_DETAILS, {_sN: _dD}), + (STRING, {_sN: _eC}), + (STRING, {_sN: _uA}), + (REMOTE_IP_DETAILS, {_sN: _rID}), + (STRING, {_sN: _sNe}), + (REMOTE_ACCOUNT_DETAILS, {_sN: _rAD}), + (AFFECTED_RESOURCES, {_sN: _aR}), + ), +) + +DNS_REQUEST_ACTION: StaticSchema = ( + 18, + n0, + _DRA, + 0, + (_D, _P, _Bl, _DWS, _VOAI), + ( + (STRING, {_sN: _d}), + (STRING, {_sN: _p}), + (BOOLEAN, {_sN: _b}), + (STRING, {_sN: _dWS}), + (ACCOUNT_ID, {_sN: _vOAI}), + ), +) + +SOURCE_IPS: StaticSchema = (16, n0, _SI, 0, (_me,), ((STRING, 0),)) + +KUBERNETES_API_CALL_ACTION: StaticSchema = ( + 18, + n0, + _KACA, + 0, + (_RU, _V, _R, _Su, _Na, _RN, _SI, _UA, _RID, _SC, _Pa), + ( + (STRING, {_sN: _rU}), + (STRING, {_sN: _ve}), + (STRING, {_sN: _r}), + (STRING, {_sN: _su}), + (STRING, {_sN: _na}), + (STRING, {_sN: _rN}), + (SOURCE_IPS, {_sN: _sIP}), + (STRING, {_sN: _uA}), + (REMOTE_IP_DETAILS, {_sN: _rID}), + (INTEGER, {_sN: _sC}), + (STRING, {_sN: _pa}), + ), +) + +KUBERNETES_PERMISSION_CHECKED_DETAILS: StaticSchema = ( + 18, + n0, + _KPCD, + 0, + (_V, _R, _Na, _Al), + ( + (STRING, {_sN: _ve}), + (STRING, {_sN: _r}), + (STRING, {_sN: _na}), + (BOOLEAN, {_sN: _al}), + ), +) + +KUBERNETES_ROLE_BINDING_DETAILS: StaticSchema = ( + 18, + n0, + _KRBD, + 0, + (_Ki, _N, _U, _RRN, _RRK), + ( + (STRING, {_sN: _ki}), + (STRING, {_sN: _n}), + (STRING, {_sN: _u}), + (STRING, {_sN: _rRN}), + (STRING, {_sN: _rRK}), + ), +) + +KUBERNETES_ROLE_DETAILS: StaticSchema = ( + 18, + n0, + _KRD, + 0, + (_Ki, _N, _U), + ((STRING, {_sN: _ki}), (STRING, {_sN: _n}), (STRING, {_sN: _u})), +) + +LOCAL_IP_DETAILS: StaticSchema = ( + 18, + n0, + _LID, + 0, + (_IAV, _IAVp), + ((SENSITIVE_STRING, {_sN: _iAV}), (SENSITIVE_STRING, {_sN: _iAVp})), +) + +LOCAL_PORT_DETAILS: StaticSchema = ( + 18, + n0, + _LPD, + 0, + (_Po, _PN), + ((INTEGER, {_sN: _po}), (STRING, {_sN: _pN})), +) + +REMOTE_PORT_DETAILS: StaticSchema = ( + 18, + n0, + _RPD, + 0, + (_Po, _PN), + ((INTEGER, {_sN: _po}), (STRING, {_sN: _pN})), +) + +NETWORK_CONNECTION_ACTION: StaticSchema = ( + 18, + n0, + _NCA, + 0, + (_Bl, _CD, _LPD, _P, _LID, _LNI, _RID, _RPD), + ( + (BOOLEAN, {_sN: _b}), + (STRING, {_sN: _cD}), + (LOCAL_PORT_DETAILS, {_sN: _lPD}), + (STRING, {_sN: _p}), + (LOCAL_IP_DETAILS, {_sN: _lID}), + (STRING, {_sN: _lNI}), + (REMOTE_IP_DETAILS, {_sN: _rID}), + (REMOTE_PORT_DETAILS, {_sN: _rPD}), + ), +) + +PORT_PROBE_DETAIL: StaticSchema = ( + 18, + n0, + _PPD, + 0, + (_LPD, _LID, _RID), + ( + (LOCAL_PORT_DETAILS, {_sN: _lPD}), + (LOCAL_IP_DETAILS, {_sN: _lID}), + (REMOTE_IP_DETAILS, {_sN: _rID}), + ), +) + +PORT_PROBE_DETAILS: StaticSchema = (16, n0, _PPDo, 0, (_me,), ((PORT_PROBE_DETAIL, 0),)) + +PORT_PROBE_ACTION: StaticSchema = ( + 18, + n0, + _PPA, + 0, + (_Bl, _PPDo), + ((BOOLEAN, {_sN: _b}), (PORT_PROBE_DETAILS, {_sN: _pPD})), +) + +LOGIN_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _LA, + 0, + (_Us, _App, _FLA, _SLA), + ( + (STRING, {_sN: _us}), + (STRING, {_sN: _app}), + (INTEGER, {_sN: _fLA}), + (INTEGER, {_sN: _sLA}), + ), +) + +LOGIN_ATTRIBUTES: StaticSchema = (16, n0, _LAo, 0, (_me,), ((LOGIN_ATTRIBUTE, 0),)) + +RDS_LOGIN_ATTEMPT_ACTION: StaticSchema = ( + 18, + n0, + _RLAA, + 0, + (_RID, _LAo), + ((REMOTE_IP_DETAILS, {_sN: _rID}), (LOGIN_ATTRIBUTES, 0)), +) + +ACTION: StaticSchema = ( + 18, + n0, + _Ac, + 0, + (_AT, _AACA, _DRA, _NCA, _PPA, _KACA, _KPCD, _KRBD, _KRD, _RLAA), + ( + (STRING, {_sN: _aT}), + (AWS_API_CALL_ACTION, {_sN: _aACA}), + (DNS_REQUEST_ACTION, {_sN: _dRA}), + (NETWORK_CONNECTION_ACTION, {_sN: _nCA}), + (PORT_PROBE_ACTION, {_sN: _pPA}), + (KUBERNETES_API_CALL_ACTION, {_sN: _kACA}), + (KUBERNETES_PERMISSION_CHECKED_DETAILS, {_sN: _kPCD}), + (KUBERNETES_ROLE_BINDING_DETAILS, {_sN: _kRBD}), + (KUBERNETES_ROLE_DETAILS, {_sN: _kRD}), + (RDS_LOGIN_ATTEMPT_ACTION, {_sN: _rLAA}), + ), +) + +API_CALL: StaticSchema = ( + 18, + n0, + _AC, + 0, + (_Op, _Se, _Er, _UA), + ( + (STRING, {_sN: _op}), + (STRING, {_sN: _ser}), + (STRING, {_sN: _er}), + (STRING, {_sN: _uA}), + ), +) + +ACTIVITY_TYPE: StaticSchema = (14, n0, _ATc, 0, (_AC_,), ((-1, {_sV: _AC_}),)) + +ACTIVITY: StaticSchema = ( + 18, + n0, + _Act, + 0, + (_T, _Ap), + ((ACTIVITY_TYPE, {_sN: _t, _sm: None}), (API_CALL, {_sN: _ap})), +) + +ACTIVITIES: StaticSchema = (16, n0, _Acti, 0, (_me,), ((ACTIVITY, 0),)) + +PROCESS_NAME: StaticSchema = (3, n0, _PNr, 0) + +PROCESS_PATH: StaticSchema = (3, n0, _PP, 0) + +PROCESS_SHA256: StaticSchema = (3, n0, _PS, 0) + +ACTOR_PROCESS: StaticSchema = ( + 18, + n0, + _APc, + 0, + (_N, _Pat, _Sh), + ( + (PROCESS_NAME, {_sN: _n, _sm: None}), + (PROCESS_PATH, {_sN: _pat, _sm: None}), + (PROCESS_SHA256, {_sN: _sh}), + ), +) + +MFA_STATUS: StaticSchema = ( + 14, + n0, + _MS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +SESSION: StaticSchema = ( + 18, + n0, + _Ses, + 0, + (_U, _MS, _CTr, _Iss), + ( + (STRING, {_sN: _u}), + (MFA_STATUS, {_sN: _mS}), + (TIMESTAMP, {_sN: _cTr}), + (STRING, {_sN: _is}), + ), +) + +USER: StaticSchema = ( + 18, + n0, + _Us, + 0, + (_N, _U, _T, _CU, _A), + ( + (STRING, {_sN: _n, _sm: None}), + (STRING, {_sN: _u, _sm: None}), + (STRING, {_sN: _t, _sm: None}), + (STRING, {_sN: _cU}), + (ACCOUNT, {_sN: _a}), + ), +) + +ACTOR: StaticSchema = ( + 18, + n0, + _Acto, + 0, + (_Id, _Us, _Ses, _Pr), + ( + (STRING, {_sN: _id, _sm: None}), + (USER, {_sN: _us}), + (SESSION, {_sN: _ses}), + (ACTOR_PROCESS, {_sN: _pr}), + ), +) + +ACTOR_IDS: StaticSchema = (16, n0, _AIct, 0, (_me,), ((STRING, 0),)) + +ACTORS: StaticSchema = (16, n0, _Actor, 0, (_me,), ((ACTOR, 0),)) + +NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) + +ADDITIONAL_INFO: StaticSchema = ( + 18, + n0, + _AId, + 0, + (_VI, _DN), + ((NON_EMPTY_STRING, {_sN: _vI}), (NON_EMPTY_STRING, {_sN: _dN})), +) + +FINDING_TYPE: StaticSchema = (3, n0, _FT, 0) + +ADDITIONAL_SEQUENCE_TYPES: StaticSchema = ( + 16, + n0, + _AST, + 0, + (_me,), + ((FINDING_TYPE, 0),), +) + +ADDON_DETAILS: StaticSchema = ( + 18, + n0, + _ADd, + 0, + (_AV, _ASd), + ((STRING, {_sN: _aV}), (STRING, {_sN: _aS})), +) + +ADMIN_STATUS: StaticSchema = ( + 14, + n0, + _ASdm, + 0, + (_ENABLED, _DIP), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DIP})), +) + +ADMIN_ACCOUNT: StaticSchema = ( + 18, + n0, + _AA, + 0, + (_AAId, _ASdm), + ((STRING, {_sN: _aAI}), (ADMIN_STATUS, {_sN: _aSd})), +) + +ADMIN_ACCOUNTS: StaticSchema = (16, n0, _AAd, 0, (_me,), ((ADMIN_ACCOUNT, 0),)) + +ADMINISTRATOR: StaticSchema = ( + 18, + n0, + _Ad, + 0, + (_AIcc, _II, _RS, _IA), + ( + (ACCOUNT_ID, {_sN: _aIc}), + (STRING, {_sN: _iI}), + (STRING, {_sN: _rS}), + (STRING, {_sN: _iA}), + ), +) + +AGENT_DETAILS: StaticSchema = (18, n0, _ADg, 0, (_Ve,), ((STRING, {_sN: _ver}),)) + +LONG: StaticSchema = (8, n0, _Lon, 0) + +OBSERVATION_NUMBERS: StaticSchema = (16, n0, _ON, 0, (_me,), ((LONG, 0),)) + +OBSERVATION_TEXTS: StaticSchema = (16, n0, _OT, 0, (_me,), ((STRING, 0),)) + +OBSERVATIONS: StaticSchema = ( + 18, + n0, + _Ob, + 0, + (_Te, _Nu), + ((OBSERVATION_TEXTS, {_sN: _te}), (OBSERVATION_NUMBERS, {_sN: _nu})), +) + +PROFILE_SUBTYPE: StaticSchema = ( + 14, + n0, + _PSr, + 0, + (_FREQUENT, _INFREQUENT, _UNSEEN, _RARE, _COUNT, _AVERAGE), + ( + (-1, {_sV: _FREQUENT}), + (-1, {_sV: _INFREQUENT}), + (-1, {_sV: _UNSEEN}), + (-1, {_sV: _RARE}), + (-1, {_sV: _COUNT}), + (-1, {_sV: _AVERAGE}), + ), +) + +PROFILE_TYPE: StaticSchema = ( + 14, + n0, + _PT, + 0, + (_FREQUENCY, _VOLUME), + ((-1, {_sV: _FREQUENCY}), (-1, {_sV: _VOLUME})), +) + +ANOMALY_OBJECT: StaticSchema = ( + 18, + n0, + _AOn, + 0, + (_PT, _PSr, _Ob), + ( + (PROFILE_TYPE, {_sN: _pT}), + (PROFILE_SUBTYPE, {_sN: _pS}), + (OBSERVATIONS, {_sN: _ob}), + ), +) + +ANOMALY_PROFILE_FEATURE_OBJECTS: StaticSchema = ( + 16, + n0, + _APFO, + 0, + (_me,), + ((ANOMALY_OBJECT, 0),), +) + +ANOMALY_PROFILE_FEATURES: StaticSchema = ( + 17, + n0, + _APF, + 0, + (_ke, _v), + ((STRING, 0), (ANOMALY_PROFILE_FEATURE_OBJECTS, 0)), +) + +ANOMALY_PROFILES: StaticSchema = ( + 17, + n0, + _APn, + 0, + (_ke, _v), + ((STRING, 0), (ANOMALY_PROFILE_FEATURES, 0)), +) + +ANOMALY_UNUSUAL_BEHAVIOR_FEATURE: StaticSchema = ( + 17, + n0, + _AUBF, + 0, + (_ke, _v), + ((STRING, 0), (ANOMALY_OBJECT, 0)), +) + +BEHAVIOR: StaticSchema = ( + 17, + n0, + _Be, + 0, + (_ke, _v), + ((STRING, 0), (ANOMALY_UNUSUAL_BEHAVIOR_FEATURE, 0)), +) + +ANOMALY_UNUSUAL: StaticSchema = (18, n0, _AU, 0, (_Be,), ((BEHAVIOR, {_sN: _be}),)) + +ANOMALY: StaticSchema = ( + 18, + n0, + _An, + 0, + (_Pro, _Un), + ((ANOMALY_PROFILES, {_sN: _pro}), (ANOMALY_UNUSUAL, {_sN: _un})), +) + +FINDING_ID: StaticSchema = (3, n0, _FI, 0) + +FINDING_IDS: StaticSchema = (16, n0, _FIi, 0, (_me,), ((FINDING_ID, 0),)) + +ARCHIVE_FINDINGS_INPUT: StaticSchema = ( + 18, + n0, + _AFI, + {_sSI: _cAFR, _s: None}, + (_DI, _FIi), + ((DETECTOR_ID, 9), (FINDING_IDS, {_sN: _fI, _sm: None})), +) + +ARCHIVE_FINDINGS_OUTPUT: StaticSchema = (18, n0, _AFO, {_sSI: _cAFRo, _smi: None}) + +ARCHIVE_FINDINGS: StaticOperationSchema = ( + 23, + n0, + _AF, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/findings/archive", + "code": 200, + } + ) + }, + ARCHIVE_FINDINGS_INPUT, + ARCHIVE_FINDINGS_OUTPUT, + (BAD_REQUEST_EXCEPTION, INTERNAL_SERVER_ERROR_EXCEPTION), +) + +DETECTION_RULE_ARN: StaticSchema = (3, n0, _DRAe, 0) + +ASSOCIATION_ID: StaticSchema = (3, n0, _AIs, 0) + +ASSOCIATION_MODE: StaticSchema = ( + 14, + n0, + _AM, + 0, + (_LIVE, _DR), + ((-1, {_sV: _LIVE}), (-1, {_sV: _DR})), +) + +RULE_ID: StaticSchema = (3, n0, _RI, 0) + +ASSOCIATION_DETAIL: StaticSchema = ( + 18, + n0, + _ADs, + 0, + (_AIs, _Ar, _RI, _AIcc, _Mo, _CA, _UAp, _EA), + ( + (ASSOCIATION_ID, {_sN: _aIs, _sm: None}), + (DETECTION_RULE_ARN, {_sN: _ar, _sm: None}), + (RULE_ID, {_sN: _rI, _sm: None}), + (ACCOUNT_ID, {_sN: _aIc, _sm: None}), + (ASSOCIATION_MODE, {_sN: _mo, _sm: None}), + (TIMESTAMP, {_sN: _cA, _sm: None}), + (TIMESTAMP, {_sN: _uAp, _sm: None}), + (TIMESTAMP, {_sN: _eA}), + ), +) + +ASSOCIATION_SUMMARY: StaticSchema = ( + 18, + n0, + _ASs, + 0, + (_AIs, _Ar, _RI, _Mo, _CA, _UAp, _EA), + ( + (ASSOCIATION_ID, {_sN: _aIs, _sm: None}), + (DETECTION_RULE_ARN, {_sN: _ar, _sm: None}), + (RULE_ID, {_sN: _rI, _sm: None}), + (ASSOCIATION_MODE, {_sN: _mo, _sm: None}), + (TIMESTAMP, {_sN: _cA, _sm: None}), + (TIMESTAMP, {_sN: _uAp, _sm: None}), + (TIMESTAMP, {_sN: _eA}), + ), +) + +ASSOCIATION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _ASL, + 0, + (_me,), + ((ASSOCIATION_SUMMARY, 0),), +) + +AUTO_ENABLE_MEMBERS: StaticSchema = ( + 14, + n0, + _AEM, + 0, + (_NEW, _ALL, _NONE), + ((-1, {_sV: _NEW}), (-1, {_sV: _ALL}), (-1, {_sV: _NONE})), +) + +AUTONOMOUS_SYSTEM: StaticSchema = ( + 18, + n0, + _ASu, + 0, + (_N, _Nu), + ((STRING, {_sN: _n, _sm: None}), (INTEGER, {_sN: _nu, _sm: None})), +) + +EC2_INSTANCE_UID: StaticSchema = (3, n0, _EIU, 0) + +EC2_INSTANCE_UIDS: StaticSchema = (16, n0, _EIUc, 0, (_me,), ((EC2_INSTANCE_UID, 0),)) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) + +ORDER_BY: StaticSchema = ( + 14, + n0, + _OB, + 0, + (_ASC, _DESC), + ((-1, {_sV: _ASC}), (-1, {_sV: _DESC})), +) + +FILTER_NAME: StaticSchema = (3, n0, _FN, 0) + +DESTINATION_PROPERTIES: StaticSchema = ( + 18, + n0, + _DP, + 0, + (_DA, _KKA, _EBO), + ((STRING, {_sN: _dA}), (STRING, {_sN: _kKA}), (ACCOUNT_ID, {_sN: _eBO})), +) + +DESTINATION_TYPE: StaticSchema = (14, n0, _DT, 0, (_S_,), ((-1, {_sV: _S_}),)) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_1.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_1.py new file mode 100644 index 000000000..4335ec451 --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_1.py @@ -0,0 +1,1410 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.guardduty" +_DI = "DetectorId" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sN = "smithy.api#jsonName" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_M = "Message" +_m = "message" +_T = "Type" +_t = "type" +_smith = "smithy.api#http" +_ACL = "AccessControlList" +_APRA = "AllowsPublicReadAccess" +_aPRA = "allowsPublicReadAccess" +_APWA = "AllowsPublicWriteAccess" +_aPWA = "allowsPublicWriteAccess" +_A = "Account" +_N = "Name" +_a = "account" +_AIcc = "AccountId" +_aIc = "accountId" +_me = "member" +_AL = "AuditLogs" +_aL = "auditLogs" +_SEIWF = "ScanEc2InstanceWithFindings" +_sEIWF = "scanEc2InstanceWithFindings" +_SL = "S3Logs" +_sLo = "s3Logs" +_K = "Kubernetes" +_k = "kubernetes" +_MP = "MalwareProtection" +_mP = "malwareProtection" +_sV = "smithy.api#enumValue" +_SDE = "S3_DATA_EVENTS" +_EAL = "EKS_AUDIT_LOGS" +_EMP = "EBS_MALWARE_PROTECTION" +_RLE = "RDS_LOGIN_EVENTS" +_LNL = "LAMBDA_NETWORK_LOGS" +_ERM = "EKS_RUNTIME_MONITORING" +_AP = "AI_PROTECTION" +_n = "name" +_DS = "DataSources" +_dS = "dataSources" +_F = "Features" +_f = "features" +_BPA = "BlockPublicAccess" +_bPAl = "blockPublicAccess" +_ke = "key" +_v = "value" +_Ac = "Action" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_Id = "Id" +_id = "id" +_ADd = "AddonDetails" +_ADg = "AgentDetails" +_Ve = "Version" +_ver = "version" +_RI = "RuleId" +_Ar = "Arn" +_ar = "arn" +_rI = "ruleId" +_Mo = "Mode" +_mo = "mode" +_UAp = "UpdatedAt" +_uAp = "updatedAt" +_NONE = "NONE" +_EIUc = "Ec2InstanceUids" +_AASG = "AutoscalingAutoScalingGroup" +_eIU = "ec2InstanceUids" +_BG = "BedrockGuardrail" +_CPFA = "ContentPolicyFilterAction" +_BLOCKED = "BLOCKED" +_CL = "ConfidenceLevel" +_HIGH = "HIGH" +_MEDIUM = "MEDIUM" +_LOW = "LOW" +_CPFT = "ContentPolicyFilterType" +_PA = "PROMPT_ATTACK" +_JAILBREAK = "JAILBREAK" +_HATE = "HATE" +_INSULTS = "INSULTS" +_SEXUAL = "SEXUAL" +_VIOLENCE = "VIOLENCE" +_MISCONDUCT = "MISCONDUCT" +_CPF = "ContentPolicyFilter" +_Con = "Confidence" +_con = "confidence" +_ac = "action" +_CPFo = "ContentPolicyFilters" +_GA = "GuardrailAction" +_GI = "GUARDRAIL_INTERVENED" +_BGe = "BedrockGuardrails" +_GS = "GuardrailSource" +_INPUT = "INPUT" +_OUTPUT = "OUTPUT" +_BGD = "BedrockGuardrailDetails" +_GAu = "GuardrailArn" +_gA = "guardrailArn" +_GV = "GuardrailVersion" +_gV = "guardrailVersion" +_G = "Guardrails" +_g = "guardrails" +_gAu = "guardrailAction" +_gS = "guardrailSource" +_cPF = "contentPolicyFilters" +_BGR = "BedrockGuardrailResource" +_BP = "BucketPolicy" +_BLP = "BucketLevelPermissions" +_aCL = "accessControlList" +_bP = "bucketPolicy" +_CTl = "ClientToken" +_CP = "CloudProvider" +_AWS = "AWS" +_CDl = "CloudDetails" +_Prov = "Provider" +_prov = "provider" +_Re = "Region" +_re = "region" +_CS = "CloudformationStack" +_DSS = "DataSourceStatus" +_CTCR = "CloudTrailConfigurationResult" +_St = "Status" +_st = "status" +_CSl = "ClusterStatus" +_CREATING = "CREATING" +_ACTIVE = "ACTIVE" +_DELETING = "DELETING" +_FAILED = "FAILED" +_UPDATING = "UPDATING" +_PENDING = "PENDING" +_Eq = "Eq" +_Equ = "Equals" +_Ma = "Match" +_Mat = "Matches" +_Ne = "Neq" +_NE = "NotEquals" +_NM = "NotMatch" +_NMo = "NotMatches" +_Cond = "Condition" +_eq = "eq" +_ne = "neq" +_Gt = "Gt" +_gt = "gt" +_Gte = "Gte" +_gte = "gte" +_Lt = "Lt" +_lt = "lt" +_Lte = "Lte" +_lte = "lte" +_equ = "equals" +_nE = "notEquals" +_GT = "GreaterThan" +_gT = "greaterThan" +_GTOE = "GreaterThanOrEqual" +_gTOE = "greaterThanOrEqual" +_LT = "LessThan" +_lT = "lessThan" +_LTOE = "LessThanOrEqual" +_lTOE = "lessThanOrEqual" +_ma = "matches" +_nM = "notMatches" +_CE = "ConflictException" +_SCe = "SecurityContext" +_Pri = "Privileged" +_pri = "privileged" +_APE = "AllowPrivilegeEscalation" +_aPE = "allowPrivilegeEscalation" +_VM = "VolumeMount" +_MPo = "MountPath" +_mPo = "mountPath" +_VMo = "VolumeMounts" +_Cont = "Container" +_CR = "ContainerRuntime" +_cR = "containerRuntime" +_Im = "Image" +_im = "image" +_IP = "ImagePrefix" +_iP = "imagePrefix" +_vM = "volumeMounts" +_sCe = "securityContext" +_CIU = "ContainerImageUid" +_CFR = "ContainerFindingResource" +_IU = "ImageUid" +_iU = "imageUid" +_CID = "ContainerInstanceDetails" +_CCI = "CoveredContainerInstances" +_cCI = "coveredContainerInstances" +_CCIo = "CompatibleContainerInstances" +_cCIo = "compatibleContainerInstances" +_Conta = "Containers" +_CUo = "ContainerUid" +_CUon = "ContainerUids" +_CSD = "ContinuousScanDetails" +_ST = "StartTime" +_sT = "startTime" +_ET = "EndTime" +_eT = "endTime" +_CSo = "CoverageStatus" +_HEALTHY = "HEALTHY" +_UNHEALTHY = "UNHEALTHY" +_CBCS = "CountByCoverageStatus" +_RT = "ResourceType" +_EKS = "EKS" +_ECS = "ECS" +_EC_ = "EC2" +_CBRT = "CountByResourceType" +_CBS = "CountBySeverity" +_MT = "ManagementType" +_AM_ = "AUTO_MANAGED" +_MANUAL = "MANUAL" +_CEID = "CoverageEc2InstanceDetails" +_IIn = "InstanceId" +_iIn = "instanceId" +_IT = "InstanceType" +_iT = "instanceType" +_CAl = "ClusterArn" +_cAl = "clusterArn" +_aD = "agentDetails" +_mT = "managementType" +_Issu = "Issues" +_FD = "FargateDetails" +_iss = "issues" +_CECD = "CoverageEcsClusterDetails" +_CNl = "ClusterName" +_cNl = "clusterName" +_fD = "fargateDetails" +_cID = "containerInstanceDetails" +_CECDo = "CoverageEksClusterDetails" +_CNov = "CoveredNodes" +_cNov = "coveredNodes" +_CNom = "CompatibleNodes" +_cNom = "compatibleNodes" +_aDd = "addonDetails" +_CFC = "CoverageFilterCondition" +_CFCK = "CoverageFilterCriterionKey" +_AI_ = "ACCOUNT_ID" +_RT_ = "RESOURCE_TYPE" +_CS_ = "COVERAGE_STATUS" +_AV_ = "ADDON_VERSION" +_CN_ = "CLUSTER_NAME" +_ECN = "ECS_CLUSTER_NAME" +_MT_ = "MANAGEMENT_TYPE" +_ECN_ = "EKS_CLUSTER_NAME" +_AV__ = "AGENT_VERSION" +_II_ = "INSTANCE_ID" +_CA_ = "CLUSTER_ARN" +_CFCo = "CoverageFilterCriterion" +_CK = "CriterionKey" +_cK = "criterionKey" +_FC = "FilterCondition" +_fC = "filterCondition" +_CFCL = "CoverageFilterCriterionList" +_CFCov = "CoverageFilterCriteria" +_FCi = "FilterCriterion" +_fCi = "filterCriterion" +_CRD = "CoverageResourceDetails" +_ECD = "EksClusterDetails" +_eCD = "eksClusterDetails" +_ECDc = "EcsClusterDetails" +_eCDc = "ecsClusterDetails" +_EID = "Ec2InstanceDetails" +_eID = "ec2InstanceDetails" +_rT = "resourceType" +_CRo = "CoverageResource" +_RIe = "ResourceId" +_rIe = "resourceId" +_dI = "detectorId" +_RD = "ResourceDetails" +_rD = "resourceDetails" +_cS = "coverageStatus" +_Issue = "Issue" +_issu = "issue" +_CRov = "CoverageResources" +_CSK = "CoverageSortKey" +_ISSUE = "ISSUE" +_UA_ = "UPDATED_AT" +_OB = "OrderBy" +_CSC = "CoverageSortCriteria" +_AN = "AttributeName" +_aN = "attributeName" +_oB = "orderBy" +_CSov = "CoverageStatistics" +_cBRT = "countByResourceType" +_cBCS = "countByCoverageStatus" +_CST = "CoverageStatisticsType" +_CBRT_ = "COUNT_BY_RESOURCE_TYPE" +_CBCS_ = "COUNT_BY_COVERAGE_STATUS" +_CSTL = "CoverageStatisticsTypeList" +_TK = "TagKey" +_TV = "TagValue" +_TM = "TagMap" +_CCDRAI = "CreateCustomDetectionRuleAssociationInput" +_cCCDRAR = "com.amazonaws.guardduty#CreateCustomDetectionRuleAssociationRequest" +_sTm = "smithy.api#idempotencyToken" +_cTl = "clientToken" +_Ta = "Tags" +_ta = "tags" +_CCDRAO = "CreateCustomDetectionRuleAssociationOutput" +_cCCDRARo = "com.amazonaws.guardduty#CreateCustomDetectionRuleAssociationResponse" +_RA = "RuleAssociation" +_rA = "ruleAssociation" +_RNFE = "ResourceNotFoundException" +_CCDRA = "CreateCustomDetectionRuleAssociation" +_DRAI = "DetectionRuleAccountIds" +_CCDROCI = "CreateCustomDetectionRuleOrgConfigurationInput" +_cCCDROCR = "com.amazonaws.guardduty#CreateCustomDetectionRuleOrgConfigurationRequest" +_IAI = "IncludeAccountIds" +_iAI = "includeAccountIds" +_EAI = "ExcludeAccountIds" +_eAI = "excludeAccountIds" +_CCDROCO = "CreateCustomDetectionRuleOrgConfigurationOutput" +_cCCDROCRo = "com.amazonaws.guardduty#CreateCustomDetectionRuleOrgConfigurationResponse" +_CCDROC = "CreateCustomDetectionRuleOrgConfiguration" +_KALC = "KubernetesAuditLogsConfiguration" +_En = "Enable" +_en = "enable" +_KC = "KubernetesConfiguration" +_EV = "EbsVolumes" +_eV = "ebsVolumes" +_MPC = "MalwareProtectionConfiguration" +_SLC = "S3LogsConfiguration" +_DSC = "DataSourceConfigurations" +_FAC = "FeatureAdditionalConfiguration" +_EAM = "EKS_ADDON_MANAGEMENT" +_EFAM = "ECS_FARGATE_AGENT_MANAGEMENT" +_EAM_ = "EC2_AGENT_MANAGEMENT" +_RDR = "RDS_DATA_RISK" +_FS = "FeatureStatus" +_DAC = "DetectorAdditionalConfiguration" +_DACe = "DetectorAdditionalConfigurations" +_DF = "DetectorFeature" +_RM = "RUNTIME_MONITORING" +_AA_ = "AI_ANALYST" +_DFC = "DetectorFeatureConfiguration" +_ACd = "AdditionalConfiguration" +_aC = "additionalConfiguration" +_DFCe = "DetectorFeatureConfigurations" +_FPF = "FindingPublishingFrequency" +_FM = "FIFTEEN_MINUTES" +_OH = "ONE_HOUR" +_SH = "SIX_HOURS" +_CDI = "CreateDetectorInput" +_cCDR = "com.amazonaws.guardduty#CreateDetectorRequest" +_fPF = "findingPublishingFrequency" +_EVR = "EbsVolumesResult" +_Rea = "Reason" +_rea = "reason" +_SEIWFR = "ScanEc2InstanceWithFindingsResult" +_MPCR = "MalwareProtectionConfigurationResult" +_SR = "ServiceRole" +_sR = "serviceRole" +_UDSR = "UnprocessedDataSourcesResult" +_CDO = "CreateDetectorOutput" +_cCDRo = "com.amazonaws.guardduty#CreateDetectorResponse" +_UDS = "UnprocessedDataSources" +_uDS = "unprocessedDataSources" +_CDr = "CreateDetector" +_FA = "FilterAction" +_NOOP = "NOOP" +_ARCHIVE = "ARCHIVE" +_FDi = "FilterDescription" +_Cr = "Criterion" +_FCin = "FindingCriteria" +_cr = "criterion" +_FR = "FilterRank" +_CFI = "CreateFilterInput" +_cCFR = "com.amazonaws.guardduty#CreateFilterRequest" +_De = "Description" +_de = "description" +_Ra = "Rank" +_ra = "rank" +_fCin = "findingCriteria" +_CFO = "CreateFilterOutput" +_cCFRo = "com.amazonaws.guardduty#CreateFilterResponse" +_CF = "CreateFilter" +_MB = "ManagedBy" +_GP = "GUARDDUTY_POLICY" +_ESP = "EbsSnapshotPreservation" +_NR_ = "NO_RETENTION" +_RWF = "RETENTION_WITH_FINDING" +_ISD = "IncrementalScanDetails" +_BRA = "BaselineResourceArn" +_bRA = "baselineResourceArn" + +AUTOSCALING_AUTO_SCALING_GROUP: StaticSchema = ( + 18, + n0, + _AASG, + 0, + (_EIUc,), + ((lambda: schemas.EC2_INSTANCE_UIDS, {_sN: _eIU}),), +) + +BEDROCK_GUARDRAIL: StaticSchema = ( + 18, + n0, + _BG, + 0, + (_Ar, _Ve), + ((lambda: schemas.STRING, {_sN: _ar}), (lambda: schemas.STRING, {_sN: _ver})), +) + +CONTENT_POLICY_FILTER_ACTION: StaticSchema = ( + 14, + n0, + _CPFA, + 0, + (_BLOCKED, _NONE), + ((-1, {_sV: _BLOCKED}), (-1, {_sV: _NONE})), +) + +CONFIDENCE_LEVEL: StaticSchema = ( + 14, + n0, + _CL, + 0, + (_HIGH, _MEDIUM, _LOW, _NONE), + ((-1, {_sV: _HIGH}), (-1, {_sV: _MEDIUM}), (-1, {_sV: _LOW}), (-1, {_sV: _NONE})), +) + +CONTENT_POLICY_FILTER_TYPE: StaticSchema = ( + 14, + n0, + _CPFT, + 0, + (_PA, _JAILBREAK, _HATE, _INSULTS, _SEXUAL, _VIOLENCE, _MISCONDUCT), + ( + (-1, {_sV: _PA}), + (-1, {_sV: _JAILBREAK}), + (-1, {_sV: _HATE}), + (-1, {_sV: _INSULTS}), + (-1, {_sV: _SEXUAL}), + (-1, {_sV: _VIOLENCE}), + (-1, {_sV: _MISCONDUCT}), + ), +) + +CONTENT_POLICY_FILTER: StaticSchema = ( + 18, + n0, + _CPF, + 0, + (_T, _Con, _Ac), + ( + (CONTENT_POLICY_FILTER_TYPE, {_sN: _t}), + (CONFIDENCE_LEVEL, {_sN: _con}), + (CONTENT_POLICY_FILTER_ACTION, {_sN: _ac}), + ), +) + +CONTENT_POLICY_FILTERS: StaticSchema = ( + 16, + n0, + _CPFo, + 0, + (_me,), + ((CONTENT_POLICY_FILTER, 0),), +) + +GUARDRAIL_ACTION: StaticSchema = ( + 14, + n0, + _GA, + 0, + (_GI, _NONE), + ((-1, {_sV: _GI}), (-1, {_sV: _NONE})), +) + +BEDROCK_GUARDRAILS: StaticSchema = (16, n0, _BGe, 0, (_me,), ((BEDROCK_GUARDRAIL, 0),)) + +GUARDRAIL_SOURCE: StaticSchema = ( + 14, + n0, + _GS, + 0, + (_INPUT, _OUTPUT), + ((-1, {_sV: _INPUT}), (-1, {_sV: _OUTPUT})), +) + +BEDROCK_GUARDRAIL_DETAILS: StaticSchema = ( + 18, + n0, + _BGD, + 0, + (_GAu, _GV, _G, _GA, _GS, _CPFo), + ( + (lambda: schemas.STRING, {_sN: _gA}), + (lambda: schemas.STRING, {_sN: _gV}), + (BEDROCK_GUARDRAILS, {_sN: _g}), + (GUARDRAIL_ACTION, {_sN: _gAu}), + (GUARDRAIL_SOURCE, {_sN: _gS}), + (CONTENT_POLICY_FILTERS, {_sN: _cPF}), + ), +) + +BEDROCK_GUARDRAIL_RESOURCE: StaticSchema = ( + 18, + n0, + _BGR, + 0, + (_Ve, _GA, _GS), + ( + (lambda: schemas.STRING, {_sN: _ver}), + (GUARDRAIL_ACTION, {_sN: _gAu}), + (GUARDRAIL_SOURCE, {_sN: _gS}), + ), +) + +BUCKET_POLICY: StaticSchema = ( + 18, + n0, + _BP, + 0, + (_APRA, _APWA), + ((lambda: schemas.BOOLEAN, {_sN: _aPRA}), (lambda: schemas.BOOLEAN, {_sN: _aPWA})), +) + +BUCKET_LEVEL_PERMISSIONS: StaticSchema = ( + 18, + n0, + _BLP, + 0, + (_ACL, _BP, _BPA), + ( + (lambda: schemas.ACCESS_CONTROL_LIST, {_sN: _aCL}), + (BUCKET_POLICY, {_sN: _bP}), + (lambda: schemas.BLOCK_PUBLIC_ACCESS, {_sN: _bPAl}), + ), +) + +CLOUD_PROVIDER: StaticSchema = (14, n0, _CP, 0, (_AWS,), ((-1, {_sV: _AWS}),)) + +CLOUD_DETAILS: StaticSchema = ( + 18, + n0, + _CDl, + 0, + (_Prov, _Re, _A), + ( + (CLOUD_PROVIDER, {_sN: _prov, _sm: None}), + (lambda: schemas.STRING, {_sN: _re, _sm: None}), + (lambda: schemas.STRING, {_sN: _a, _sm: None}), + ), +) + +CLOUDFORMATION_STACK: StaticSchema = ( + 18, + n0, + _CS, + 0, + (_EIUc,), + ((lambda: schemas.EC2_INSTANCE_UIDS, {_sN: _eIU}),), +) + +DATA_SOURCE_STATUS: StaticSchema = ( + 14, + n0, + _DSS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +CLOUD_TRAIL_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _CTCR, + 0, + (_St,), + ((DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), +) + +CLUSTER_STATUS: StaticSchema = ( + 14, + n0, + _CSl, + 0, + (_CREATING, _ACTIVE, _DELETING, _FAILED, _UPDATING, _PENDING), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _PENDING}), + ), +) + +EQ: StaticSchema = (16, n0, _Eq, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +EQUALS: StaticSchema = (16, n0, _Equ, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +MATCH: StaticSchema = (3, n0, _Ma, 0) + +MATCHES: StaticSchema = (16, n0, _Mat, 0, (_me,), ((MATCH, 0),)) + +NEQ: StaticSchema = (16, n0, _Ne, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +NOT_EQUALS: StaticSchema = (16, n0, _NE, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +NOT_MATCH: StaticSchema = (3, n0, _NM, 0) + +NOT_MATCHES: StaticSchema = (16, n0, _NMo, 0, (_me,), ((NOT_MATCH, 0),)) + +CONDITION: StaticSchema = ( + 18, + n0, + _Cond, + 0, + (_Eq, _Ne, _Gt, _Gte, _Lt, _Lte, _Equ, _NE, _GT, _GTOE, _LT, _LTOE, _Mat, _NMo), + ( + (EQ, {_sN: _eq}), + (NEQ, {_sN: _ne}), + (lambda: schemas.INTEGER, {_sN: _gt}), + (lambda: schemas.INTEGER, {_sN: _gte}), + (lambda: schemas.INTEGER, {_sN: _lt}), + (lambda: schemas.INTEGER, {_sN: _lte}), + (EQUALS, {_sN: _equ}), + (NOT_EQUALS, {_sN: _nE}), + (lambda: schemas.LONG, {_sN: _gT}), + (lambda: schemas.LONG, {_sN: _gTOE}), + (lambda: schemas.LONG, {_sN: _lT}), + (lambda: schemas.LONG, {_sN: _lTOE}), + (MATCHES, {_sN: _ma}), + (NOT_MATCHES, {_sN: _nM}), + ), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + {_smit: _c, _sE: 409}, + (_M, _T), + ((lambda: schemas.STRING, {_sN: _m}), (lambda: schemas.STRING, {_sN: _t})), +) + +SECURITY_CONTEXT: StaticSchema = ( + 18, + n0, + _SCe, + 0, + (_Pri, _APE), + ((lambda: schemas.BOOLEAN, {_sN: _pri}), (lambda: schemas.BOOLEAN, {_sN: _aPE})), +) + +VOLUME_MOUNT: StaticSchema = ( + 18, + n0, + _VM, + 0, + (_N, _MPo), + ((lambda: schemas.STRING, {_sN: _n}), (lambda: schemas.STRING, {_sN: _mPo})), +) + +VOLUME_MOUNTS: StaticSchema = (16, n0, _VMo, 0, (_me,), ((VOLUME_MOUNT, 0),)) + +CONTAINER: StaticSchema = ( + 18, + n0, + _Cont, + 0, + (_CR, _Id, _N, _Im, _IP, _VMo, _SCe), + ( + (lambda: schemas.STRING, {_sN: _cR}), + (lambda: schemas.STRING, {_sN: _id}), + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.STRING, {_sN: _im}), + (lambda: schemas.STRING, {_sN: _iP}), + (VOLUME_MOUNTS, {_sN: _vM}), + (SECURITY_CONTEXT, {_sN: _sCe}), + ), +) + +CONTAINER_IMAGE_UID: StaticSchema = (3, n0, _CIU, 0) + +CONTAINER_FINDING_RESOURCE: StaticSchema = ( + 18, + n0, + _CFR, + 0, + (_Im, _IU), + ( + (lambda: schemas.STRING, {_sN: _im, _sm: None}), + (CONTAINER_IMAGE_UID, {_sN: _iU}), + ), +) + +CONTAINER_INSTANCE_DETAILS: StaticSchema = ( + 18, + n0, + _CID, + 0, + (_CCI, _CCIo), + ((lambda: schemas.LONG, {_sN: _cCI}), (lambda: schemas.LONG, {_sN: _cCIo})), +) + +CONTAINERS: StaticSchema = (16, n0, _Conta, 0, (_me,), ((CONTAINER, 0),)) + +CONTAINER_UID: StaticSchema = (3, n0, _CUo, 0) + +CONTAINER_UIDS: StaticSchema = (16, n0, _CUon, 0, (_me,), ((CONTAINER_UID, 0),)) + +CONTINUOUS_SCAN_DETAILS: StaticSchema = ( + 18, + n0, + _CSD, + 0, + (_ST, _ET), + ( + (lambda: schemas.TIMESTAMP, {_sN: _sT}), + (lambda: schemas.TIMESTAMP, {_sN: _eT, _sm: None}), + ), +) + +COVERAGE_STATUS: StaticSchema = ( + 14, + n0, + _CSo, + 0, + (_HEALTHY, _UNHEALTHY), + ((-1, {_sV: _HEALTHY}), (-1, {_sV: _UNHEALTHY})), +) + +COUNT_BY_COVERAGE_STATUS: StaticSchema = ( + 17, + n0, + _CBCS, + 0, + (_ke, _v), + ((COVERAGE_STATUS, 0), (lambda: schemas.LONG, 0)), +) + +RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _RT, + 0, + (_EKS, _ECS, _EC_), + ((-1, {_sV: _EKS}), (-1, {_sV: _ECS}), (-1, {_sV: _EC_})), +) + +COUNT_BY_RESOURCE_TYPE: StaticSchema = ( + 17, + n0, + _CBRT, + 0, + (_ke, _v), + ((RESOURCE_TYPE, 0), (lambda: schemas.LONG, 0)), +) + +COUNT_BY_SEVERITY: StaticSchema = ( + 17, + n0, + _CBS, + 0, + (_ke, _v), + ((lambda: schemas.STRING, 0), (lambda: schemas.INTEGER, 0)), +) + +MANAGEMENT_TYPE: StaticSchema = ( + 14, + n0, + _MT, + 0, + (_AM_, _MANUAL, _DISABLED), + ((-1, {_sV: _AM_}), (-1, {_sV: _MANUAL}), (-1, {_sV: _DISABLED})), +) + +COVERAGE_EC2_INSTANCE_DETAILS: StaticSchema = ( + 18, + n0, + _CEID, + 0, + (_IIn, _IT, _CAl, _ADg, _MT), + ( + (lambda: schemas.STRING, {_sN: _iIn}), + (lambda: schemas.STRING, {_sN: _iT}), + (lambda: schemas.STRING, {_sN: _cAl}), + (lambda: schemas.AGENT_DETAILS, {_sN: _aD}), + (MANAGEMENT_TYPE, {_sN: _mT}), + ), +) + +ISSUES: StaticSchema = (16, n0, _Issu, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +FARGATE_DETAILS: StaticSchema = ( + 18, + n0, + _FD, + 0, + (_Issu, _MT), + ((ISSUES, {_sN: _iss}), (MANAGEMENT_TYPE, {_sN: _mT})), +) + +COVERAGE_ECS_CLUSTER_DETAILS: StaticSchema = ( + 18, + n0, + _CECD, + 0, + (_CNl, _FD, _CID), + ( + (lambda: schemas.STRING, {_sN: _cNl}), + (FARGATE_DETAILS, {_sN: _fD}), + (CONTAINER_INSTANCE_DETAILS, {_sN: _cID}), + ), +) + +COVERAGE_EKS_CLUSTER_DETAILS: StaticSchema = ( + 18, + n0, + _CECDo, + 0, + (_CNl, _CNov, _CNom, _ADd, _MT), + ( + (lambda: schemas.STRING, {_sN: _cNl}), + (lambda: schemas.LONG, {_sN: _cNov}), + (lambda: schemas.LONG, {_sN: _cNom}), + (lambda: schemas.ADDON_DETAILS, {_sN: _aDd}), + (MANAGEMENT_TYPE, {_sN: _mT}), + ), +) + +COVERAGE_FILTER_CONDITION: StaticSchema = ( + 18, + n0, + _CFC, + 0, + (_Equ, _NE), + ((EQUALS, {_sN: _equ}), (NOT_EQUALS, {_sN: _nE})), +) + +COVERAGE_FILTER_CRITERION_KEY: StaticSchema = ( + 14, + n0, + _CFCK, + 0, + (_AI_, _RT_, _CS_, _AV_, _CN_, _ECN, _MT_, _ECN_, _AV__, _II_, _CA_), + ( + (-1, {_sV: _AI_}), + (-1, {_sV: _RT_}), + (-1, {_sV: _CS_}), + (-1, {_sV: _AV_}), + (-1, {_sV: _CN_}), + (-1, {_sV: _ECN}), + (-1, {_sV: _MT_}), + (-1, {_sV: _ECN_}), + (-1, {_sV: _AV__}), + (-1, {_sV: _II_}), + (-1, {_sV: _CA_}), + ), +) + +COVERAGE_FILTER_CRITERION: StaticSchema = ( + 18, + n0, + _CFCo, + 0, + (_CK, _FC), + ( + (COVERAGE_FILTER_CRITERION_KEY, {_sN: _cK}), + (COVERAGE_FILTER_CONDITION, {_sN: _fC}), + ), +) + +COVERAGE_FILTER_CRITERION_LIST: StaticSchema = ( + 16, + n0, + _CFCL, + 0, + (_me,), + ((COVERAGE_FILTER_CRITERION, 0),), +) + +COVERAGE_FILTER_CRITERIA: StaticSchema = ( + 18, + n0, + _CFCov, + 0, + (_FCi,), + ((COVERAGE_FILTER_CRITERION_LIST, {_sN: _fCi}),), +) + +COVERAGE_RESOURCE_DETAILS: StaticSchema = ( + 18, + n0, + _CRD, + 0, + (_ECD, _ECDc, _EID, _RT), + ( + (COVERAGE_EKS_CLUSTER_DETAILS, {_sN: _eCD}), + (COVERAGE_ECS_CLUSTER_DETAILS, {_sN: _eCDc}), + (COVERAGE_EC2_INSTANCE_DETAILS, {_sN: _eID}), + (RESOURCE_TYPE, {_sN: _rT}), + ), +) + +COVERAGE_RESOURCE: StaticSchema = ( + 18, + n0, + _CRo, + 0, + (_RIe, _DI, _AIcc, _RD, _CSo, _Issue, _UAp), + ( + (lambda: schemas.STRING, {_sN: _rIe}), + (lambda: schemas.DETECTOR_ID, {_sN: _dI}), + (lambda: schemas.ACCOUNT_ID, {_sN: _aIc}), + (COVERAGE_RESOURCE_DETAILS, {_sN: _rD}), + (COVERAGE_STATUS, {_sN: _cS}), + (lambda: schemas.STRING, {_sN: _issu}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + ), +) + +COVERAGE_RESOURCES: StaticSchema = (16, n0, _CRov, 0, (_me,), ((COVERAGE_RESOURCE, 0),)) + +COVERAGE_SORT_KEY: StaticSchema = ( + 14, + n0, + _CSK, + 0, + (_AI_, _CS_, _ISSUE, _AV_, _UA_, _CN_, _ECN_, _ECN, _II_), + ( + (-1, {_sV: _AI_}), + (-1, {_sV: _CS_}), + (-1, {_sV: _ISSUE}), + (-1, {_sV: _AV_}), + (-1, {_sV: _UA_}), + (-1, {_sV: _CN_}), + (-1, {_sV: _ECN_}), + (-1, {_sV: _ECN}), + (-1, {_sV: _II_}), + ), +) + +COVERAGE_SORT_CRITERIA: StaticSchema = ( + 18, + n0, + _CSC, + 0, + (_AN, _OB), + ((COVERAGE_SORT_KEY, {_sN: _aN}), (lambda: schemas.ORDER_BY, {_sN: _oB})), +) + +COVERAGE_STATISTICS: StaticSchema = ( + 18, + n0, + _CSov, + 0, + (_CBRT, _CBCS), + ((COUNT_BY_RESOURCE_TYPE, {_sN: _cBRT}), (COUNT_BY_COVERAGE_STATUS, {_sN: _cBCS})), +) + +COVERAGE_STATISTICS_TYPE: StaticSchema = ( + 14, + n0, + _CST, + 0, + (_CBRT_, _CBCS_), + ((-1, {_sV: _CBRT_}), (-1, {_sV: _CBCS_})), +) + +COVERAGE_STATISTICS_TYPE_LIST: StaticSchema = ( + 16, + n0, + _CSTL, + 0, + (_me,), + ((COVERAGE_STATISTICS_TYPE, 0),), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG_MAP: StaticSchema = (17, n0, _TM, 0, (_ke, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) + +CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _CCDRAI, + {_sSI: _cCCDRAR, _s: None}, + (_RI, _Mo, _CTl, _Ta), + ( + (lambda: schemas.RULE_ID, {_sN: _rI, _sm: None}), + (lambda: schemas.ASSOCIATION_MODE, {_sN: _mo, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (TAG_MAP, {_sN: _ta}), + ), +) + +CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CCDRAO, + {_sSI: _cCCDRARo, _smi: None}, + (_RA,), + ((lambda: schemas.ASSOCIATION_DETAIL, {_sN: _rA, _sm: None}),), +) + +CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _CCDRA, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/custom-detection-rule/association", "code": 200} + ) + }, + CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT, + CREATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_smit: _c, _sE: 404}, + (_M, _T), + ((lambda: schemas.STRING, {_sN: _m}), (lambda: schemas.STRING, {_sN: _t})), +) + +DETECTION_RULE_ACCOUNT_IDS: StaticSchema = ( + 16, + n0, + _DRAI, + 0, + (_me,), + ((lambda: schemas.ACCOUNT_ID, 0),), +) + +CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _CCDROCI, + {_sSI: _cCCDROCR, _s: None}, + (_RI, _Mo, _IAI, _EAI, _CTl), + ( + (lambda: schemas.RULE_ID, {_sN: _rI, _sm: None}), + (lambda: schemas.ASSOCIATION_MODE, {_sN: _mo, _sm: None}), + (DETECTION_RULE_ACCOUNT_IDS, {_sN: _iAI}), + (DETECTION_RULE_ACCOUNT_IDS, {_sN: _eAI}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + ), +) + +CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CCDROCO, + {_sSI: _cCCDROCRo, _smi: None}, +) + +CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _CCDROC, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/custom-detection-rule/org-configuration", + "code": 200, + } + ) + }, + CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT, + CREATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +KUBERNETES_AUDIT_LOGS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KALC, + 0, + (_En,), + ((lambda: schemas.BOOLEAN, {_sN: _en, _sm: None}),), +) + +KUBERNETES_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KC, + 0, + (_AL,), + ((KUBERNETES_AUDIT_LOGS_CONFIGURATION, {_sN: _aL, _sm: None}),), +) + +SCAN_EC2_INSTANCE_WITH_FINDINGS: StaticSchema = ( + 18, + n0, + _SEIWF, + 0, + (_EV,), + ((lambda: schemas.BOOLEAN, {_sN: _eV}),), +) + +MALWARE_PROTECTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MPC, + 0, + (_SEIWF,), + ((SCAN_EC2_INSTANCE_WITH_FINDINGS, {_sN: _sEIWF}),), +) + +S3_LOGS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SLC, + 0, + (_En,), + ((lambda: schemas.BOOLEAN, {_sN: _en, _sm: None}),), +) + +DATA_SOURCE_CONFIGURATIONS: StaticSchema = ( + 18, + n0, + _DSC, + 0, + (_SL, _K, _MP), + ( + (S3_LOGS_CONFIGURATION, {_sN: _sLo}), + (KUBERNETES_CONFIGURATION, {_sN: _k}), + (MALWARE_PROTECTION_CONFIGURATION, {_sN: _mP}), + ), +) + +FEATURE_ADDITIONAL_CONFIGURATION: StaticSchema = ( + 14, + n0, + _FAC, + 0, + (_EAM, _EFAM, _EAM_, _RDR), + ((-1, {_sV: _EAM}), (-1, {_sV: _EFAM}), (-1, {_sV: _EAM_}), (-1, {_sV: _RDR})), +) + +FEATURE_STATUS: StaticSchema = ( + 14, + n0, + _FS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +DETECTOR_ADDITIONAL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DAC, + 0, + (_N, _St), + ((FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), (FEATURE_STATUS, {_sN: _st})), +) + +DETECTOR_ADDITIONAL_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _DACe, + 0, + (_me,), + ((DETECTOR_ADDITIONAL_CONFIGURATION, 0),), +) + +DETECTOR_FEATURE: StaticSchema = ( + 14, + n0, + _DF, + 0, + (_SDE, _EAL, _EMP, _RLE, _LNL, _ERM, _RM, _AP, _AA_), + ( + (-1, {_sV: _SDE}), + (-1, {_sV: _EAL}), + (-1, {_sV: _EMP}), + (-1, {_sV: _RLE}), + (-1, {_sV: _LNL}), + (-1, {_sV: _ERM}), + (-1, {_sV: _RM}), + (-1, {_sV: _AP}), + (-1, {_sV: _AA_}), + ), +) + +DETECTOR_FEATURE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DFC, + 0, + (_N, _St, _ACd), + ( + (DETECTOR_FEATURE, {_sN: _n}), + (FEATURE_STATUS, {_sN: _st}), + (DETECTOR_ADDITIONAL_CONFIGURATIONS, {_sN: _aC}), + ), +) + +DETECTOR_FEATURE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _DFCe, + 0, + (_me,), + ((DETECTOR_FEATURE_CONFIGURATION, 0),), +) + +FINDING_PUBLISHING_FREQUENCY: StaticSchema = ( + 14, + n0, + _FPF, + 0, + (_FM, _OH, _SH), + ((-1, {_sV: _FM}), (-1, {_sV: _OH}), (-1, {_sV: _SH})), +) + +CREATE_DETECTOR_INPUT: StaticSchema = ( + 18, + n0, + _CDI, + {_sSI: _cCDR, _s: None}, + (_En, _CTl, _FPF, _DS, _Ta, _F), + ( + (lambda: schemas.BOOLEAN, {_sN: _en, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (FINDING_PUBLISHING_FREQUENCY, {_sN: _fPF}), + (DATA_SOURCE_CONFIGURATIONS, {_sN: _dS}), + (TAG_MAP, {_sN: _ta}), + (DETECTOR_FEATURE_CONFIGURATIONS, {_sN: _f}), + ), +) + +CREATE_DETECTOR_OUTPUT: StaticSchema = ( + 18, + n0, + _CDO, + {_sSI: _cCDRo, _smi: None}, + (_DI, _UDS), + ( + (lambda: schemas.DETECTOR_ID, {_sN: _dI}), + (lambda: UNPROCESSED_DATA_SOURCES_RESULT, {_sN: _uDS}), + ), +) + +CREATE_DETECTOR: StaticOperationSchema = ( + 23, + n0, + _CDr, + {_smith: MappingProxyType({"method": "POST", "uri": "/detector", "code": 200})}, + CREATE_DETECTOR_INPUT, + CREATE_DETECTOR_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +EBS_VOLUMES_RESULT: StaticSchema = ( + 18, + n0, + _EVR, + 0, + (_St, _Rea), + ((DATA_SOURCE_STATUS, {_sN: _st}), (lambda: schemas.STRING, {_sN: _rea})), +) + +SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT: StaticSchema = ( + 18, + n0, + _SEIWFR, + 0, + (_EV,), + ((EBS_VOLUMES_RESULT, {_sN: _eV}),), +) + +MALWARE_PROTECTION_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _MPCR, + 0, + (_SEIWF, _SR), + ( + (SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT, {_sN: _sEIWF}), + (lambda: schemas.STRING, {_sN: _sR}), + ), +) + +UNPROCESSED_DATA_SOURCES_RESULT: StaticSchema = ( + 18, + n0, + _UDSR, + 0, + (_MP,), + ((MALWARE_PROTECTION_CONFIGURATION_RESULT, {_sN: _mP}),), +) + +FILTER_ACTION: StaticSchema = ( + 14, + n0, + _FA, + 0, + (_NOOP, _ARCHIVE), + ((-1, {_sV: _NOOP}), (-1, {_sV: _ARCHIVE})), +) + +FILTER_DESCRIPTION: StaticSchema = (3, n0, _FDi, 0) + +CRITERION: StaticSchema = ( + 17, + n0, + _Cr, + 0, + (_ke, _v), + ((lambda: schemas.STRING, 0), (CONDITION, 0)), +) + +FINDING_CRITERIA: StaticSchema = (18, n0, _FCin, 0, (_Cr,), ((CRITERION, {_sN: _cr}),)) + +FILTER_RANK: StaticSchema = (7, n0, _FR, 0) + +CREATE_FILTER_INPUT: StaticSchema = ( + 18, + n0, + _CFI, + {_sSI: _cCFR, _s: None}, + (_DI, _N, _De, _Ac, _Ra, _FCin, _CTl, _Ta), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.FILTER_NAME, {_sN: _n, _sm: None}), + (FILTER_DESCRIPTION, {_sN: _de}), + (FILTER_ACTION, {_sN: _ac}), + (FILTER_RANK, {_sN: _ra}), + (FINDING_CRITERIA, {_sN: _fCin, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (TAG_MAP, {_sN: _ta}), + ), +) + +CREATE_FILTER_OUTPUT: StaticSchema = ( + 18, + n0, + _CFO, + {_sSI: _cCFRo, _smi: None}, + (_N,), + ((lambda: schemas.FILTER_NAME, {_sN: _n, _sm: None}),), +) + +CREATE_FILTER: StaticOperationSchema = ( + 23, + n0, + _CF, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}/filter", "code": 200} + ) + }, + CREATE_FILTER_INPUT, + CREATE_FILTER_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +MANAGED_BY: StaticSchema = (14, n0, _MB, 0, (_GP,), ((-1, {_sV: _GP}),)) + +EBS_SNAPSHOT_PRESERVATION: StaticSchema = ( + 14, + n0, + _ESP, + 0, + (_NR_, _RWF), + ((-1, {_sV: _NR_}), (-1, {_sV: _RWF})), +) + +INCREMENTAL_SCAN_DETAILS: StaticSchema = ( + 18, + n0, + _ISD, + 0, + (_BRA,), + ((lambda: schemas.NON_EMPTY_STRING, {_sN: _bRA, _sm: None}),), +) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_2.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_2.py new file mode 100644 index 000000000..c546966c3 --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_2.py @@ -0,0 +1,1539 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.guardduty" +_DI = "DetectorId" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sN = "smithy.api#jsonName" +_smi = "smithy.api#output" +_smith = "smithy.api#http" +_N = "Name" +_AIcc = "AccountId" +_aIc = "accountId" +_ADc = "AccountDetails" +_me = "member" +_AL = "AuditLogs" +_aL = "auditLogs" +_CT = "CloudTrail" +_cT = "cloudTrail" +_dL = "dnsLogs" +_FL = "FlowLogs" +_fL = "flowLogs" +_SL = "S3Logs" +_sLo = "s3Logs" +_K = "Kubernetes" +_k = "kubernetes" +_MP = "MalwareProtection" +_mP = "malwareProtection" +_FL_ = "FLOW_LOGS" +_sV = "smithy.api#enumValue" +_CT_ = "CLOUD_TRAIL" +_DL_ = "DNS_LOGS" +_n = "name" +_AIcco = "AccountIds" +_LGA = "LastGeneratedAt" +_lGA = "lastGeneratedAt" +_TF = "TotalFindings" +_tF = "totalFindings" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_AIs = "AssociationId" +_RI = "RuleId" +_Mo = "Mode" +_mo = "mode" +_CTl = "ClientToken" +_St = "Status" +_st = "status" +_GT = "GreaterThan" +_gT = "greaterThan" +_LT = "LessThan" +_lT = "lessThan" +_AI_ = "ACCOUNT_ID" +_CK = "CriterionKey" +_cK = "criterionKey" +_FC = "FilterCondition" +_fC = "filterCondition" +_FCi = "FilterCriterion" +_fCi = "filterCriterion" +_sTm = "smithy.api#idempotencyToken" +_cTl = "clientToken" +_Ta = "Tags" +_ta = "tags" +_FN = "FilterName" +_TP = "TriggerPrompt" +_CII = "CreateInvestigationInput" +_cCIR = "com.amazonaws.guardduty#CreateInvestigationRequest" +_tP = "triggerPrompt" +_IInv = "InvestigationId" +_CIO = "CreateInvestigationOutput" +_cCIRo = "com.amazonaws.guardduty#CreateInvestigationResponse" +_iInv = "investigationId" +_CI = "CreateInvestigation" +_ISF = "IpSetFormat" +_TXT = "TXT" +_STIX = "STIX" +_OC = "OTX_CSV" +_AV___ = "ALIEN_VAULT" +_PP_ = "PROOF_POINT" +_FE = "FIRE_EYE" +_Loc = "Location" +_CIPSI = "CreateIPSetInput" +_cCIPSR = "com.amazonaws.guardduty#CreateIPSetRequest" +_Fo = "Format" +_fo = "format" +_loc = "location" +_Activ = "Activate" +_act = "activate" +_EBO = "ExpectedBucketOwner" +_eBO = "expectedBucketOwner" +_CIPSO = "CreateIPSetOutput" +_cCIPSRo = "com.amazonaws.guardduty#CreateIPSetResponse" +_ISI = "IpSetId" +_iSI = "ipSetId" +_CIPS = "CreateIPSet" +_MPPTAS = "MalwareProtectionPlanTaggingActionStatus" +_MPPTA = "MalwareProtectionPlanTaggingAction" +_MPPA = "MalwareProtectionPlanActions" +_Tag = "Tagging" +_tag = "tagging" +_MPPOPL = "MalwareProtectionPlanObjectPrefixesList" +_CSBR = "CreateS3BucketResource" +_BN = "BucketName" +_bN = "bucketName" +_OP = "ObjectPrefixes" +_oP = "objectPrefixes" +_CPR = "CreateProtectedResource" +_SB = "S3Bucket" +_sB = "s3Bucket" +_CMPPI = "CreateMalwareProtectionPlanInput" +_cCMPPR = "com.amazonaws.guardduty#CreateMalwareProtectionPlanRequest" +_Ro = "Role" +_ro = "role" +_PR = "ProtectedResource" +_pR = "protectedResource" +_Actio = "Actions" +_acti = "actions" +_CMPPO = "CreateMalwareProtectionPlanOutput" +_cCMPPRo = "com.amazonaws.guardduty#CreateMalwareProtectionPlanResponse" +_MPPI = "MalwareProtectionPlanId" +_mPPI = "malwareProtectionPlanId" +_CMPP = "CreateMalwareProtectionPlan" +_CMI = "CreateMembersInput" +_cCMR = "com.amazonaws.guardduty#CreateMembersRequest" +_aDc = "accountDetails" +_UAn = "UnprocessedAccount" +_Res = "Result" +_res = "result" +_UAnp = "UnprocessedAccounts" +_CMO = "CreateMembersOutput" +_cCMRo = "com.amazonaws.guardduty#CreateMembersResponse" +_uAn = "unprocessedAccounts" +_CM = "CreateMembers" +_DP = "DestinationProperties" +_DT = "DestinationType" +_CPDI = "CreatePublishingDestinationInput" +_cCPDR = "com.amazonaws.guardduty#CreatePublishingDestinationRequest" +_dT = "destinationType" +_dP = "destinationProperties" +_CPDO = "CreatePublishingDestinationOutput" +_cCPDRo = "com.amazonaws.guardduty#CreatePublishingDestinationResponse" +_DIe = "DestinationId" +_dIe = "destinationId" +_CPD = "CreatePublishingDestination" +_FTi = "FindingTypes" +_CSFI = "CreateSampleFindingsInput" +_cCSFR = "com.amazonaws.guardduty#CreateSampleFindingsRequest" +_fT = "findingTypes" +_CSFO = "CreateSampleFindingsOutput" +_cCSFRo = "com.amazonaws.guardduty#CreateSampleFindingsResponse" +_CSF = "CreateSampleFindings" +_TESF = "ThreatEntitySetFormat" +_CTESI = "CreateThreatEntitySetInput" +_cCTESR = "com.amazonaws.guardduty#CreateThreatEntitySetRequest" +_CTESO = "CreateThreatEntitySetOutput" +_cCTESRo = "com.amazonaws.guardduty#CreateThreatEntitySetResponse" +_TESI = "ThreatEntitySetId" +_tESI = "threatEntitySetId" +_CTES = "CreateThreatEntitySet" +_TISF = "ThreatIntelSetFormat" +_CTISI = "CreateThreatIntelSetInput" +_cCTISR = "com.amazonaws.guardduty#CreateThreatIntelSetRequest" +_CTISO = "CreateThreatIntelSetOutput" +_cCTISRo = "com.amazonaws.guardduty#CreateThreatIntelSetResponse" +_TISI = "ThreatIntelSetId" +_tISI = "threatIntelSetId" +_CTIS = "CreateThreatIntelSet" +_TESFr = "TrustedEntitySetFormat" +_CTESIr = "CreateTrustedEntitySetInput" +_cCTESRom = "com.amazonaws.guardduty#CreateTrustedEntitySetRequest" +_CTESOr = "CreateTrustedEntitySetOutput" +_cCTESRoma = "com.amazonaws.guardduty#CreateTrustedEntitySetResponse" +_TESIr = "TrustedEntitySetId" +_tESIr = "trustedEntitySetId" +_CTESr = "CreateTrustedEntitySet" +_EIA = "EC2_INSTANCE_ARN" +_SI_ = "SCAN_ID" +_GFI = "GUARDDUTY_FINDING_ID" +_SST = "SCAN_START_TIME" +_SS_ = "SCAN_STATUS" +_ST_ = "SCAN_TYPE" +_DSa = "DataSource" +_SL_ = "S3_LOGS" +_KAL = "KUBERNETES_AUDIT_LOGS" +_EMS = "EC2_MALWARE_SCAN" +_DNSLCR = "DNSLogsConfigurationResult" +_FLCR = "FlowLogsConfigurationResult" +_KALCR = "KubernetesAuditLogsConfigurationResult" +_KCR = "KubernetesConfigurationResult" +_SLCR = "S3LogsConfigurationResult" +_DSCR = "DataSourceConfigurationsResult" +_DNSL = "DNSLogs" +_DSL = "DataSourceList" +_DSat = "DateStatistics" +_Da = "Date" +_da = "date" +_Sev = "Severity" +_sev = "severity" +_DII = "DeclineInvitationsInput" +_cDIR = "com.amazonaws.guardduty#DeclineInvitationsRequest" +_aIcc = "accountIds" +_DIO = "DeclineInvitationsOutput" +_cDIRo = "com.amazonaws.guardduty#DeclineInvitationsResponse" +_DIec = "DeclineInvitations" +_DSSE = "DefaultServerSideEncryption" +_ETn = "EncryptionType" +_eTn = "encryptionType" +_KMKA = "KmsMasterKeyArn" +_kMKA = "kmsMasterKeyArn" +_DCDRAI = "DeleteCustomDetectionRuleAssociationInput" +_cDCDRAR = "com.amazonaws.guardduty#DeleteCustomDetectionRuleAssociationRequest" +_DCDRAO = "DeleteCustomDetectionRuleAssociationOutput" +_cDCDRARo = "com.amazonaws.guardduty#DeleteCustomDetectionRuleAssociationResponse" +_DCDRA = "DeleteCustomDetectionRuleAssociation" +_DCDROCI = "DeleteCustomDetectionRuleOrgConfigurationInput" +_cDCDROCR = "com.amazonaws.guardduty#DeleteCustomDetectionRuleOrgConfigurationRequest" +_sQ = "smithy.api#httpQuery" +_DCDROCO = "DeleteCustomDetectionRuleOrgConfigurationOutput" +_cDCDROCRo = "com.amazonaws.guardduty#DeleteCustomDetectionRuleOrgConfigurationResponse" +_DCDROC = "DeleteCustomDetectionRuleOrgConfiguration" +_DDI = "DeleteDetectorInput" +_cDDR = "com.amazonaws.guardduty#DeleteDetectorRequest" +_DDO = "DeleteDetectorOutput" +_cDDRo = "com.amazonaws.guardduty#DeleteDetectorResponse" +_DDe = "DeleteDetector" +_DFI = "DeleteFilterInput" +_cDFR = "com.amazonaws.guardduty#DeleteFilterRequest" +_DFO = "DeleteFilterOutput" +_cDFRo = "com.amazonaws.guardduty#DeleteFilterResponse" +_DFe = "DeleteFilter" +_DIIe = "DeleteInvitationsInput" +_cDIRom = "com.amazonaws.guardduty#DeleteInvitationsRequest" +_DIOe = "DeleteInvitationsOutput" +_cDIRoma = "com.amazonaws.guardduty#DeleteInvitationsResponse" +_DIel = "DeleteInvitations" +_DIPSI = "DeleteIPSetInput" +_cDIPSR = "com.amazonaws.guardduty#DeleteIPSetRequest" +_DIPSO = "DeleteIPSetOutput" +_cDIPSRo = "com.amazonaws.guardduty#DeleteIPSetResponse" +_DIPS = "DeleteIPSet" +_DMPPI = "DeleteMalwareProtectionPlanInput" +_cDMPPR = "com.amazonaws.guardduty#DeleteMalwareProtectionPlanRequest" +_DMPPO = "DeleteMalwareProtectionPlanOutput" +_sU = "smithy.api#Unit" +_DMPP = "DeleteMalwareProtectionPlan" +_DMI = "DeleteMembersInput" +_cDMR = "com.amazonaws.guardduty#DeleteMembersRequest" +_DMO = "DeleteMembersOutput" +_cDMRo = "com.amazonaws.guardduty#DeleteMembersResponse" +_DM = "DeleteMembers" +_DPDI = "DeletePublishingDestinationInput" +_cDPDR = "com.amazonaws.guardduty#DeletePublishingDestinationRequest" +_DPDO = "DeletePublishingDestinationOutput" +_cDPDRo = "com.amazonaws.guardduty#DeletePublishingDestinationResponse" +_DPD = "DeletePublishingDestination" +_DTESI = "DeleteThreatEntitySetInput" +_cDTESR = "com.amazonaws.guardduty#DeleteThreatEntitySetRequest" +_DTESO = "DeleteThreatEntitySetOutput" +_cDTESRo = "com.amazonaws.guardduty#DeleteThreatEntitySetResponse" +_DTES = "DeleteThreatEntitySet" +_DTISI = "DeleteThreatIntelSetInput" +_cDTISR = "com.amazonaws.guardduty#DeleteThreatIntelSetRequest" +_DTISO = "DeleteThreatIntelSetOutput" +_cDTISRo = "com.amazonaws.guardduty#DeleteThreatIntelSetResponse" +_DTIS = "DeleteThreatIntelSet" +_DTESIe = "DeleteTrustedEntitySetInput" +_cDTESRom = "com.amazonaws.guardduty#DeleteTrustedEntitySetRequest" +_DTESOe = "DeleteTrustedEntitySetOutput" +_cDTESRoma = "com.amazonaws.guardduty#DeleteTrustedEntitySetResponse" +_DTESe = "DeleteTrustedEntitySet" +_LV = "LongValue" +_EVq = "EqualsValue" +_eVq = "equalsValue" +_FCL = "FilterCriterionList" +_FCil = "FilterCriteria" +_IVWM = "IntegerValueWithMax" +_SCo = "SortCriteria" +_DMSI = "DescribeMalwareScansInput" +_cDMSR = "com.amazonaws.guardduty#DescribeMalwareScansRequest" +_NT = "NextToken" +_nT = "nextToken" +_MR = "MaxResults" +_mR = "maxResults" +_fCil = "filterCriteria" +_sCo = "sortCriteria" +_Sca = "Scans" +_DMSO = "DescribeMalwareScansOutput" +_cDMSRo = "com.amazonaws.guardduty#DescribeMalwareScansResponse" +_sc = "scans" +_DMS = "DescribeMalwareScans" + +TRIGGER_PROMPT: StaticSchema = (3, n0, _TP, 0) + +CREATE_INVESTIGATION_INPUT: StaticSchema = ( + 18, + n0, + _CII, + {_sSI: _cCIR, _s: None}, + (_DI, _TP, _CTl), + ( + (lambda: schemas.DETECTOR_ID, 9), + (TRIGGER_PROMPT, {_sN: _tP, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + ), +) + +CREATE_INVESTIGATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CIO, + {_sSI: _cCIRo, _smi: None}, + (_IInv,), + ((lambda: INVESTIGATION_ID, {_sN: _iInv, _sm: None}),), +) + +CREATE_INVESTIGATION: StaticOperationSchema = ( + 23, + n0, + _CI, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/investigation", + "code": 202, + } + ) + }, + CREATE_INVESTIGATION_INPUT, + CREATE_INVESTIGATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +INVESTIGATION_ID: StaticSchema = (3, n0, _IInv, 0) + +IP_SET_FORMAT: StaticSchema = ( + 14, + n0, + _ISF, + 0, + (_TXT, _STIX, _OC, _AV___, _PP_, _FE), + ( + (-1, {_sV: _TXT}), + (-1, {_sV: _STIX}), + (-1, {_sV: _OC}), + (-1, {_sV: _AV___}), + (-1, {_sV: _PP_}), + (-1, {_sV: _FE}), + ), +) + +LOCATION: StaticSchema = (3, n0, _Loc, 0) + +NAME: StaticSchema = (3, n0, _N, 0) + +CREATE_IP_SET_INPUT: StaticSchema = ( + 18, + n0, + _CIPSI, + {_sSI: _cCIPSR, _s: None}, + (_DI, _N, _Fo, _Loc, _Activ, _CTl, _Ta, _EBO), + ( + (lambda: schemas.DETECTOR_ID, 9), + (NAME, {_sN: _n, _sm: None}), + (IP_SET_FORMAT, {_sN: _fo, _sm: None}), + (LOCATION, {_sN: _loc, _sm: None}), + (lambda: schemas.BOOLEAN, {_sN: _act, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + (lambda: schemas.ACCOUNT_ID, {_sN: _eBO}), + ), +) + +CREATE_IP_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _CIPSO, + {_sSI: _cCIPSRo, _smi: None}, + (_ISI,), + ((lambda: schemas.STRING, {_sN: _iSI, _sm: None}),), +) + +CREATE_IP_SET: StaticOperationSchema = ( + 23, + n0, + _CIPS, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}/ipset", "code": 200} + ) + }, + CREATE_IP_SET_INPUT, + CREATE_IP_SET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +MALWARE_PROTECTION_PLAN_TAGGING_ACTION_STATUS: StaticSchema = ( + 14, + n0, + _MPPTAS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +MALWARE_PROTECTION_PLAN_TAGGING_ACTION: StaticSchema = ( + 18, + n0, + _MPPTA, + 0, + (_St,), + ((MALWARE_PROTECTION_PLAN_TAGGING_ACTION_STATUS, {_sN: _st}),), +) + +MALWARE_PROTECTION_PLAN_ACTIONS: StaticSchema = ( + 18, + n0, + _MPPA, + 0, + (_Tag,), + ((MALWARE_PROTECTION_PLAN_TAGGING_ACTION, {_sN: _tag}),), +) + +MALWARE_PROTECTION_PLAN_OBJECT_PREFIXES_LIST: StaticSchema = ( + 16, + n0, + _MPPOPL, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +CREATE_S3_BUCKET_RESOURCE: StaticSchema = ( + 18, + n0, + _CSBR, + 0, + (_BN, _OP), + ( + (lambda: schemas.STRING, {_sN: _bN}), + (MALWARE_PROTECTION_PLAN_OBJECT_PREFIXES_LIST, {_sN: _oP}), + ), +) + +CREATE_PROTECTED_RESOURCE: StaticSchema = ( + 18, + n0, + _CPR, + 0, + (_SB,), + ((CREATE_S3_BUCKET_RESOURCE, {_sN: _sB}),), +) + +CREATE_MALWARE_PROTECTION_PLAN_INPUT: StaticSchema = ( + 18, + n0, + _CMPPI, + {_sSI: _cCMPPR, _s: None}, + (_CTl, _Ro, _PR, _Actio, _Ta), + ( + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (lambda: schemas.STRING, {_sN: _ro, _sm: None}), + (CREATE_PROTECTED_RESOURCE, {_sN: _pR, _sm: None}), + (MALWARE_PROTECTION_PLAN_ACTIONS, {_sN: _acti}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + ), +) + +CREATE_MALWARE_PROTECTION_PLAN_OUTPUT: StaticSchema = ( + 18, + n0, + _CMPPO, + {_sSI: _cCMPPRo, _smi: None}, + (_MPPI,), + ((lambda: schemas.STRING, {_sN: _mPPI}),), +) + +CREATE_MALWARE_PROTECTION_PLAN: StaticOperationSchema = ( + 23, + n0, + _CMPP, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/malware-protection-plan", "code": 200} + ) + }, + CREATE_MALWARE_PROTECTION_PLAN_INPUT, + CREATE_MALWARE_PROTECTION_PLAN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +CREATE_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _CMI, + {_sSI: _cCMR, _s: None}, + (_DI, _ADc), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_DETAILS, {_sN: _aDc, _sm: None}), + ), +) + +CREATE_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _CMO, + {_sSI: _cCMRo, _smi: None}, + (_UAnp,), + ((lambda: UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), +) + +CREATE_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _CM, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}/member", "code": 200} + ) + }, + CREATE_MEMBERS_INPUT, + CREATE_MEMBERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UNPROCESSED_ACCOUNT: StaticSchema = ( + 18, + n0, + _UAn, + 0, + (_AIcc, _Res), + ( + (lambda: schemas.ACCOUNT_ID, {_sN: _aIc, _sm: None}), + (lambda: schemas.STRING, {_sN: _res, _sm: None}), + ), +) + +UNPROCESSED_ACCOUNTS: StaticSchema = ( + 16, + n0, + _UAnp, + 0, + (_me,), + ((UNPROCESSED_ACCOUNT, 0),), +) + +CREATE_PUBLISHING_DESTINATION_INPUT: StaticSchema = ( + 18, + n0, + _CPDI, + {_sSI: _cCPDR, _s: None}, + (_DI, _DT, _DP, _CTl, _Ta), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.DESTINATION_TYPE, {_sN: _dT, _sm: None}), + (lambda: schemas.DESTINATION_PROPERTIES, {_sN: _dP, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + ), +) + +CREATE_PUBLISHING_DESTINATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CPDO, + {_sSI: _cCPDRo, _smi: None}, + (_DIe,), + ((lambda: schemas.STRING, {_sN: _dIe, _sm: None}),), +) + +CREATE_PUBLISHING_DESTINATION: StaticOperationSchema = ( + 23, + n0, + _CPD, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/publishingDestination", + "code": 200, + } + ) + }, + CREATE_PUBLISHING_DESTINATION_INPUT, + CREATE_PUBLISHING_DESTINATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +FINDING_TYPES: StaticSchema = ( + 16, + n0, + _FTi, + 0, + (_me,), + ((lambda: schemas.FINDING_TYPE, 0),), +) + +CREATE_SAMPLE_FINDINGS_INPUT: StaticSchema = ( + 18, + n0, + _CSFI, + {_sSI: _cCSFR, _s: None}, + (_DI, _FTi), + ((lambda: schemas.DETECTOR_ID, 9), (FINDING_TYPES, {_sN: _fT})), +) + +CREATE_SAMPLE_FINDINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _CSFO, + {_sSI: _cCSFRo, _smi: None}, +) + +CREATE_SAMPLE_FINDINGS: StaticOperationSchema = ( + 23, + n0, + _CSF, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/findings/create", + "code": 200, + } + ) + }, + CREATE_SAMPLE_FINDINGS_INPUT, + CREATE_SAMPLE_FINDINGS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +EXPECTED_BUCKET_OWNER: StaticSchema = (3, n0, _EBO, 0) + +THREAT_ENTITY_SET_FORMAT: StaticSchema = ( + 14, + n0, + _TESF, + 0, + (_TXT, _STIX, _OC, _AV___, _PP_, _FE), + ( + (-1, {_sV: _TXT}), + (-1, {_sV: _STIX}), + (-1, {_sV: _OC}), + (-1, {_sV: _AV___}), + (-1, {_sV: _PP_}), + (-1, {_sV: _FE}), + ), +) + +CREATE_THREAT_ENTITY_SET_INPUT: StaticSchema = ( + 18, + n0, + _CTESI, + {_sSI: _cCTESR, _s: None}, + (_DI, _N, _Fo, _Loc, _EBO, _Activ, _CTl, _Ta), + ( + (lambda: schemas.DETECTOR_ID, 9), + (NAME, {_sN: _n, _sm: None}), + (THREAT_ENTITY_SET_FORMAT, {_sN: _fo, _sm: None}), + (LOCATION, {_sN: _loc, _sm: None}), + (EXPECTED_BUCKET_OWNER, {_sN: _eBO}), + (lambda: schemas.BOOLEAN, {_sN: _act, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + ), +) + +CREATE_THREAT_ENTITY_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _CTESO, + {_sSI: _cCTESRo, _smi: None}, + (_TESI,), + ((lambda: schemas.STRING, {_sN: _tESI, _sm: None}),), +) + +CREATE_THREAT_ENTITY_SET: StaticOperationSchema = ( + 23, + n0, + _CTES, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/threatentityset", + "code": 200, + } + ) + }, + CREATE_THREAT_ENTITY_SET_INPUT, + CREATE_THREAT_ENTITY_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +THREAT_INTEL_SET_FORMAT: StaticSchema = ( + 14, + n0, + _TISF, + 0, + (_TXT, _STIX, _OC, _AV___, _PP_, _FE), + ( + (-1, {_sV: _TXT}), + (-1, {_sV: _STIX}), + (-1, {_sV: _OC}), + (-1, {_sV: _AV___}), + (-1, {_sV: _PP_}), + (-1, {_sV: _FE}), + ), +) + +CREATE_THREAT_INTEL_SET_INPUT: StaticSchema = ( + 18, + n0, + _CTISI, + {_sSI: _cCTISR, _s: None}, + (_DI, _N, _Fo, _Loc, _Activ, _CTl, _Ta, _EBO), + ( + (lambda: schemas.DETECTOR_ID, 9), + (NAME, {_sN: _n, _sm: None}), + (THREAT_INTEL_SET_FORMAT, {_sN: _fo, _sm: None}), + (LOCATION, {_sN: _loc, _sm: None}), + (lambda: schemas.BOOLEAN, {_sN: _act, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + (lambda: schemas.ACCOUNT_ID, {_sN: _eBO}), + ), +) + +CREATE_THREAT_INTEL_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _CTISO, + {_sSI: _cCTISRo, _smi: None}, + (_TISI,), + ((lambda: schemas.STRING, {_sN: _tISI, _sm: None}),), +) + +CREATE_THREAT_INTEL_SET: StaticOperationSchema = ( + 23, + n0, + _CTIS, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/threatintelset", + "code": 200, + } + ) + }, + CREATE_THREAT_INTEL_SET_INPUT, + CREATE_THREAT_INTEL_SET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +TRUSTED_ENTITY_SET_FORMAT: StaticSchema = ( + 14, + n0, + _TESFr, + 0, + (_TXT, _STIX, _OC, _AV___, _PP_, _FE), + ( + (-1, {_sV: _TXT}), + (-1, {_sV: _STIX}), + (-1, {_sV: _OC}), + (-1, {_sV: _AV___}), + (-1, {_sV: _PP_}), + (-1, {_sV: _FE}), + ), +) + +CREATE_TRUSTED_ENTITY_SET_INPUT: StaticSchema = ( + 18, + n0, + _CTESIr, + {_sSI: _cCTESRom, _s: None}, + (_DI, _N, _Fo, _Loc, _EBO, _Activ, _CTl, _Ta), + ( + (lambda: schemas.DETECTOR_ID, 9), + (NAME, {_sN: _n, _sm: None}), + (TRUSTED_ENTITY_SET_FORMAT, {_sN: _fo, _sm: None}), + (LOCATION, {_sN: _loc, _sm: None}), + (EXPECTED_BUCKET_OWNER, {_sN: _eBO}), + (lambda: schemas.BOOLEAN, {_sN: _act, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + ), +) + +CREATE_TRUSTED_ENTITY_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _CTESOr, + {_sSI: _cCTESRoma, _smi: None}, + (_TESIr,), + ((lambda: schemas.STRING, {_sN: _tESIr, _sm: None}),), +) + +CREATE_TRUSTED_ENTITY_SET: StaticOperationSchema = ( + 23, + n0, + _CTESr, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/trustedentityset", + "code": 200, + } + ) + }, + CREATE_TRUSTED_ENTITY_SET_INPUT, + CREATE_TRUSTED_ENTITY_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +CRITERION_KEY: StaticSchema = ( + 14, + n0, + _CK, + 0, + (_EIA, _SI_, _AI_, _GFI, _SST, _SS_, _ST_), + ( + (-1, {_sV: _EIA}), + (-1, {_sV: _SI_}), + (-1, {_sV: _AI_}), + (-1, {_sV: _GFI}), + (-1, {_sV: _SST}), + (-1, {_sV: _SS_}), + (-1, {_sV: _ST_}), + ), +) + +DATA_SOURCE: StaticSchema = ( + 14, + n0, + _DSa, + 0, + (_FL_, _CT_, _DL_, _SL_, _KAL, _EMS), + ( + (-1, {_sV: _FL_}), + (-1, {_sV: _CT_}), + (-1, {_sV: _DL_}), + (-1, {_sV: _SL_}), + (-1, {_sV: _KAL}), + (-1, {_sV: _EMS}), + ), +) + +DNS_LOGS_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _DNSLCR, + 0, + (_St,), + ((lambda: schemas.DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), +) + +FLOW_LOGS_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _FLCR, + 0, + (_St,), + ((lambda: schemas.DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), +) + +KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _KALCR, + 0, + (_St,), + ((lambda: schemas.DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), +) + +KUBERNETES_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _KCR, + 0, + (_AL,), + ((KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT, {_sN: _aL, _sm: None}),), +) + +S3_LOGS_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _SLCR, + 0, + (_St,), + ((lambda: schemas.DATA_SOURCE_STATUS, {_sN: _st, _sm: None}),), +) + +DATA_SOURCE_CONFIGURATIONS_RESULT: StaticSchema = ( + 18, + n0, + _DSCR, + 0, + (_CT, _DNSL, _FL, _SL, _K, _MP), + ( + (lambda: schemas.CLOUD_TRAIL_CONFIGURATION_RESULT, {_sN: _cT, _sm: None}), + (DNS_LOGS_CONFIGURATION_RESULT, {_sN: _dL, _sm: None}), + (FLOW_LOGS_CONFIGURATION_RESULT, {_sN: _fL, _sm: None}), + (S3_LOGS_CONFIGURATION_RESULT, {_sN: _sLo, _sm: None}), + (KUBERNETES_CONFIGURATION_RESULT, {_sN: _k}), + (lambda: schemas.MALWARE_PROTECTION_CONFIGURATION_RESULT, {_sN: _mP}), + ), +) + +DATA_SOURCE_LIST: StaticSchema = (16, n0, _DSL, 0, (_me,), ((DATA_SOURCE, 0),)) + +DATE_STATISTICS: StaticSchema = ( + 18, + n0, + _DSat, + 0, + (_Da, _LGA, _Sev, _TF), + ( + (lambda: schemas.TIMESTAMP, {_sN: _da}), + (lambda: schemas.TIMESTAMP, {_sN: _lGA}), + (lambda: schemas.DOUBLE, {_sN: _sev}), + (lambda: schemas.INTEGER, {_sN: _tF}), + ), +) + +DECLINE_INVITATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DII, + {_sSI: _cDIR, _s: None}, + (_AIcco,), + ((lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}),), +) + +DECLINE_INVITATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIO, + {_sSI: _cDIRo, _smi: None}, + (_UAnp,), + ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), +) + +DECLINE_INVITATIONS: StaticOperationSchema = ( + 23, + n0, + _DIec, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/invitation/decline", "code": 200} + ) + }, + DECLINE_INVITATIONS_INPUT, + DECLINE_INVITATIONS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DEFAULT_SERVER_SIDE_ENCRYPTION: StaticSchema = ( + 18, + n0, + _DSSE, + 0, + (_ETn, _KMKA), + ((lambda: schemas.STRING, {_sN: _eTn}), (lambda: schemas.STRING, {_sN: _kMKA})), +) + +DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _DCDRAI, + {_sSI: _cDCDRAR, _s: None}, + (_RI, _AIs), + ((lambda: schemas.RULE_ID, 9), (lambda: schemas.ASSOCIATION_ID, 9)), +) + +DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DCDRAO, + {_sSI: _cDCDRARo, _smi: None}, +) + +DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _DCDRA, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/custom-detection-rule/rule/{RuleId}/association/{AssociationId}", + "code": 200, + } + ) + }, + DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT, + DELETE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DCDROCI, + {_sSI: _cDCDROCR, _s: None}, + (_RI, _Mo), + ( + (lambda: schemas.RULE_ID, 9), + (lambda: schemas.ASSOCIATION_MODE, {_sQ: _mo, _sm: None}), + ), +) + +DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DCDROCO, + {_sSI: _cDCDROCRo, _smi: None}, +) + +DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DCDROC, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/custom-detection-rule/org-configuration/{RuleId}", + "code": 200, + } + ) + }, + DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT, + DELETE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DELETE_DETECTOR_INPUT: StaticSchema = ( + 18, + n0, + _DDI, + {_sSI: _cDDR, _s: None}, + (_DI,), + ((lambda: schemas.DETECTOR_ID, 9),), +) + +DELETE_DETECTOR_OUTPUT: StaticSchema = (18, n0, _DDO, {_sSI: _cDDRo, _smi: None}) + +DELETE_DETECTOR: StaticOperationSchema = ( + 23, + n0, + _DDe, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/detector/{DetectorId}", "code": 200} + ) + }, + DELETE_DETECTOR_INPUT, + DELETE_DETECTOR_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DELETE_FILTER_INPUT: StaticSchema = ( + 18, + n0, + _DFI, + {_sSI: _cDFR, _s: None}, + (_DI, _FN), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_FILTER_OUTPUT: StaticSchema = (18, n0, _DFO, {_sSI: _cDFRo, _smi: None}) + +DELETE_FILTER: StaticOperationSchema = ( + 23, + n0, + _DFe, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/detector/{DetectorId}/filter/{FilterName}", + "code": 200, + } + ) + }, + DELETE_FILTER_INPUT, + DELETE_FILTER_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DELETE_INVITATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DIIe, + {_sSI: _cDIRom, _s: None}, + (_AIcco,), + ((lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}),), +) + +DELETE_INVITATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOe, + {_sSI: _cDIRoma, _smi: None}, + (_UAnp,), + ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), +) + +DELETE_INVITATIONS: StaticOperationSchema = ( + 23, + n0, + _DIel, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/invitation/delete", "code": 200} + ) + }, + DELETE_INVITATIONS_INPUT, + DELETE_INVITATIONS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DELETE_IP_SET_INPUT: StaticSchema = ( + 18, + n0, + _DIPSI, + {_sSI: _cDIPSR, _s: None}, + (_DI, _ISI), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_IP_SET_OUTPUT: StaticSchema = (18, n0, _DIPSO, {_sSI: _cDIPSRo, _smi: None}) + +DELETE_IP_SET: StaticOperationSchema = ( + 23, + n0, + _DIPS, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/detector/{DetectorId}/ipset/{IpSetId}", + "code": 200, + } + ) + }, + DELETE_IP_SET_INPUT, + DELETE_IP_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DELETE_MALWARE_PROTECTION_PLAN_INPUT: StaticSchema = ( + 18, + n0, + _DMPPI, + {_sSI: _cDMPPR, _s: None}, + (_MPPI,), + ((lambda: schemas.STRING, 9),), +) + +DELETE_MALWARE_PROTECTION_PLAN_OUTPUT: StaticSchema = ( + 18, + n0, + _DMPPO, + {_sSI: _sU, _smi: None}, +) + +DELETE_MALWARE_PROTECTION_PLAN: StaticOperationSchema = ( + 23, + n0, + _DMPP, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/malware-protection-plan/{MalwareProtectionPlanId}", + "code": 200, + } + ) + }, + DELETE_MALWARE_PROTECTION_PLAN_INPUT, + DELETE_MALWARE_PROTECTION_PLAN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DELETE_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _DMI, + {_sSI: _cDMR, _s: None}, + (_DI, _AIcco), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), + ), +) + +DELETE_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DMO, + {_sSI: _cDMRo, _smi: None}, + (_UAnp,), + ((UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), +) + +DELETE_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _DM, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/member/delete", + "code": 200, + } + ) + }, + DELETE_MEMBERS_INPUT, + DELETE_MEMBERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DELETE_PUBLISHING_DESTINATION_INPUT: StaticSchema = ( + 18, + n0, + _DPDI, + {_sSI: _cDPDR, _s: None}, + (_DI, _DIe), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_PUBLISHING_DESTINATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DPDO, + {_sSI: _cDPDRo, _smi: None}, +) + +DELETE_PUBLISHING_DESTINATION: StaticOperationSchema = ( + 23, + n0, + _DPD, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/detector/{DetectorId}/publishingDestination/{DestinationId}", + "code": 200, + } + ) + }, + DELETE_PUBLISHING_DESTINATION_INPUT, + DELETE_PUBLISHING_DESTINATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DELETE_THREAT_ENTITY_SET_INPUT: StaticSchema = ( + 18, + n0, + _DTESI, + {_sSI: _cDTESR, _s: None}, + (_DI, _TESI), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_THREAT_ENTITY_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _DTESO, + {_sSI: _cDTESRo, _smi: None}, +) + +DELETE_THREAT_ENTITY_SET: StaticOperationSchema = ( + 23, + n0, + _DTES, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", + "code": 200, + } + ) + }, + DELETE_THREAT_ENTITY_SET_INPUT, + DELETE_THREAT_ENTITY_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DELETE_THREAT_INTEL_SET_INPUT: StaticSchema = ( + 18, + n0, + _DTISI, + {_sSI: _cDTISR, _s: None}, + (_DI, _TISI), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_THREAT_INTEL_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _DTISO, + {_sSI: _cDTISRo, _smi: None}, +) + +DELETE_THREAT_INTEL_SET: StaticOperationSchema = ( + 23, + n0, + _DTIS, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", + "code": 200, + } + ) + }, + DELETE_THREAT_INTEL_SET_INPUT, + DELETE_THREAT_INTEL_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DELETE_TRUSTED_ENTITY_SET_INPUT: StaticSchema = ( + 18, + n0, + _DTESIe, + {_sSI: _cDTESRom, _s: None}, + (_DI, _TESIr), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_TRUSTED_ENTITY_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _DTESOe, + {_sSI: _cDTESRoma, _smi: None}, +) + +DELETE_TRUSTED_ENTITY_SET: StaticOperationSchema = ( + 23, + n0, + _DTESe, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", + "code": 200, + } + ) + }, + DELETE_TRUSTED_ENTITY_SET_INPUT, + DELETE_TRUSTED_ENTITY_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +LONG_VALUE: StaticSchema = (8, n0, _LV, 0) + +FILTER_CONDITION: StaticSchema = ( + 18, + n0, + _FC, + 0, + (_EVq, _GT, _LT), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _eVq}), + (LONG_VALUE, {_sN: _gT}), + (LONG_VALUE, {_sN: _lT}), + ), +) + +FILTER_CRITERION: StaticSchema = ( + 18, + n0, + _FCi, + 0, + (_CK, _FC), + ((CRITERION_KEY, {_sN: _cK}), (FILTER_CONDITION, {_sN: _fC})), +) + +FILTER_CRITERION_LIST: StaticSchema = ( + 16, + n0, + _FCL, + 0, + (_me,), + ((FILTER_CRITERION, 0),), +) + +FILTER_CRITERIA: StaticSchema = ( + 18, + n0, + _FCil, + 0, + (_FCi,), + ((FILTER_CRITERION_LIST, {_sN: _fCi}),), +) + +INTEGER_VALUE_WITH_MAX: StaticSchema = (7, n0, _IVWM, 0) + +DESCRIBE_MALWARE_SCANS_INPUT: StaticSchema = ( + 18, + n0, + _DMSI, + {_sSI: _cDMSR, _s: None}, + (_DI, _NT, _MR, _FCil, _SCo), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.STRING, {_sN: _nT}), + (INTEGER_VALUE_WITH_MAX, {_sN: _mR}), + (FILTER_CRITERIA, {_sN: _fCil}), + (lambda: schemas.SORT_CRITERIA, {_sN: _sCo}), + ), +) + +DESCRIBE_MALWARE_SCANS_OUTPUT: StaticSchema = ( + 18, + n0, + _DMSO, + {_sSI: _cDMSRo, _smi: None}, + (_Sca, _NT), + ( + (lambda: schemas.SCANS, {_sN: _sc, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +DESCRIBE_MALWARE_SCANS: StaticOperationSchema = ( + 23, + n0, + _DMS, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/malware-scans", + "code": 200, + } + ) + }, + DESCRIBE_MALWARE_SCANS_INPUT, + DESCRIBE_MALWARE_SCANS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_3.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_3.py new file mode 100644 index 000000000..2f855d5f9 --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_3.py @@ -0,0 +1,1474 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.guardduty" +_DI = "DetectorId" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sN = "smithy.api#jsonName" +_smi = "smithy.api#output" +_t = "type" +_smith = "smithy.api#http" +_AK = "AccessKey" +_U = "Uid" +_u = "uid" +_N = "Name" +_AIcc = "AccountId" +_aIc = "accountId" +_me = "member" +_AL = "AuditLogs" +_aL = "auditLogs" +_SEIWF = "ScanEc2InstanceWithFindings" +_sEIWF = "scanEc2InstanceWithFindings" +_SL = "S3Logs" +_sLo = "s3Logs" +_K = "Kubernetes" +_k = "kubernetes" +_MP = "MalwareProtection" +_mP = "malwareProtection" +_sV = "smithy.api#enumValue" +_SDE = "S3_DATA_EVENTS" +_EAL = "EKS_AUDIT_LOGS" +_EMP = "EBS_MALWARE_PROTECTION" +_RLE = "RDS_LOGIN_EVENTS" +_LNL = "LAMBDA_NETWORK_LOGS" +_ERM = "EKS_RUNTIME_MONITORING" +_AP = "AI_PROTECTION" +_n = "name" +_DS = "DataSources" +_dS = "dataSources" +_F = "Features" +_f = "features" +_ke = "key" +_v = "value" +_D = "Domain" +_d = "domain" +_C = "City" +_Co = "Country" +_l = "lat" +_lo = "lon" +_ci = "city" +_co = "country" +_Na = "Namespace" +_na = "namespace" +_Po = "Port" +_po = "port" +_Se = "Service" +_ser = "service" +_Id = "Id" +_id = "id" +_VI = "VersionId" +_vI = "versionId" +_DN = "DeviceName" +_dN = "deviceName" +_Ve = "Version" +_ver = "version" +_Ar = "Arn" +_ar = "arn" +_CA = "CreatedAt" +_cA = "createdAt" +_NEW = "NEW" +_ALL = "ALL" +_NONE = "NONE" +_ASu = "AutonomousSystem" +_EIUc = "Ec2InstanceUids" +_AASG = "AutoscalingAutoScalingGroup" +_eIU = "ec2InstanceUids" +_BG = "BedrockGuardrail" +_BLOCKED = "BLOCKED" +_Re = "Region" +_re = "region" +_CS = "CloudformationStack" +_St = "Status" +_st = "status" +_ACTIVE = "ACTIVE" +_FAILED = "FAILED" +_Cont = "Container" +_CUon = "ContainerUids" +_RT = "ResourceType" +_EC_ = "EC2" +_IT = "InstanceType" +_iT = "instanceType" +_rT = "resourceType" +_dI = "detectorId" +_RD = "ResourceDetails" +_rD = "resourceDetails" +_OB = "OrderBy" +_AN = "AttributeName" +_aN = "attributeName" +_oB = "orderBy" +_Ta = "Tags" +_ta = "tags" +_EV = "EbsVolumes" +_eV = "ebsVolumes" +_EAM = "EKS_ADDON_MANAGEMENT" +_EFAM = "ECS_FARGATE_AGENT_MANAGEMENT" +_EAM_ = "EC2_AGENT_MANAGEMENT" +_RDR = "RDS_DATA_RISK" +_RM = "RUNTIME_MONITORING" +_ACd = "AdditionalConfiguration" +_aC = "additionalConfiguration" +_De = "Description" +_de = "description" +_Loc = "Location" +_loc = "location" +_SB = "S3Bucket" +_sB = "s3Bucket" +_DP = "DestinationProperties" +_KKA = "KmsKeyArn" +_kKA = "kmsKeyArn" +_DT = "DestinationType" +_dT = "destinationType" +_dP = "destinationProperties" +_DIe = "DestinationId" +_dIe = "destinationId" +_ETn = "EncryptionType" +_eTn = "encryptionType" +_sQ = "smithy.api#httpQuery" +_SCo = "SortCriteria" +_NT = "NextToken" +_nT = "nextToken" +_MR = "MaxResults" +_mR = "maxResults" +_VD = "VolumeDetail" +_VA = "VolumeArn" +_vA = "volumeArn" +_VT = "VolumeType" +_vT = "volumeType" +_VSIGB = "VolumeSizeInGB" +_vSIGB = "volumeSizeInGB" +_SA = "SnapshotArn" +_sA = "snapshotArn" +_VDo = "VolumeDetails" +_PL = "PositiveLong" +_IAn = "InstanceArn" +_iAn = "instanceArn" +_SRc = "ScanResult" +_CLEAN = "CLEAN" +_INFECTED = "INFECTED" +_SRD = "ScanResultDetails" +_sRc = "scanResult" +_SSc = "ScanStatus" +_RUNNING = "RUNNING" +_COMPLETED = "COMPLETED" +_SKIPPED = "SKIPPED" +_STc = "ScanType" +_GI_ = "GUARDDUTY_INITIATED" +_OD = "ON_DEMAND" +_TT = "TriggerType" +_BACKUP = "BACKUP" +_GUARDDUTY = "GUARDDUTY" +_TD = "TriggerDetails" +_GDFI = "GuardDutyFindingId" +_gDFI = "guardDutyFindingId" +_tT = "triggerType" +_Sc = "Scan" +_ADI = "AdminDetectorId" +_aDI = "adminDetectorId" +_SIc = "ScanId" +_sI = "scanId" +_sS = "scanStatus" +_FRa = "FailureReason" +_fR = "failureReason" +_SSTc = "ScanStartTime" +_sST = "scanStartTime" +_SET = "ScanEndTime" +_sET = "scanEndTime" +_tD = "triggerDetails" +_sRD = "scanResultDetails" +_TB = "TotalBytes" +_tB = "totalBytes" +_FCile = "FileCount" +_fCile = "fileCount" +_AVt = "AttachedVolumes" +_aVt = "attachedVolumes" +_sTc = "scanType" +_Sca = "Scans" +_DOCI = "DescribeOrganizationConfigurationInput" +_cDOCR = "com.amazonaws.guardduty#DescribeOrganizationConfigurationRequest" +_OKALCR = "OrganizationKubernetesAuditLogsConfigurationResult" +_AE = "AutoEnable" +_aE = "autoEnable" +_OKCR = "OrganizationKubernetesConfigurationResult" +_OEVR = "OrganizationEbsVolumesResult" +_OSEIWFR = "OrganizationScanEc2InstanceWithFindingsResult" +_OMPCR = "OrganizationMalwareProtectionConfigurationResult" +_OSLCR = "OrganizationS3LogsConfigurationResult" +_ODSCR = "OrganizationDataSourceConfigurationsResult" +_OFS = "OrgFeatureStatus" +_OFAC = "OrgFeatureAdditionalConfiguration" +_OACR = "OrganizationAdditionalConfigurationResult" +_OACRr = "OrganizationAdditionalConfigurationResults" +_OF = "OrgFeature" +_OFCR = "OrganizationFeatureConfigurationResult" +_OFCRr = "OrganizationFeaturesConfigurationsResults" +_DOCO = "DescribeOrganizationConfigurationOutput" +_cDOCRo = "com.amazonaws.guardduty#DescribeOrganizationConfigurationResponse" +_MALR = "MemberAccountLimitReached" +_mALR = "memberAccountLimitReached" +_AEOM = "AutoEnableOrganizationMembers" +_aEOM = "autoEnableOrganizationMembers" +_DOC = "DescribeOrganizationConfiguration" +_DPDIe = "DescribePublishingDestinationInput" +_cDPDRom = "com.amazonaws.guardduty#DescribePublishingDestinationRequest" +_PSu = "PublishingStatus" +_PV = "PENDING_VERIFICATION" +_PUBLISHING = "PUBLISHING" +_UTPFDP = "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY" +_STOPPED = "STOPPED" +_DPDOe = "DescribePublishingDestinationOutput" +_cDPDRoma = "com.amazonaws.guardduty#DescribePublishingDestinationResponse" +_PFST = "PublishingFailureStartTimestamp" +_pFST = "publishingFailureStartTimestamp" +_DPDe = "DescribePublishingDestination" +_Des = "Destination" +_Dest = "Destinations" +_SD = "SequenceDescription" +_ND = "NetworkDirection" +_INBOUND = "INBOUND" +_OUTBOUND = "OUTBOUND" +_NC = "NetworkConnection" +_Di = "Direction" +_di = "direction" +_NGL = "NetworkGeoLocation" +_La = "Latitude" +_Long = "Longitude" +_NEe = "NetworkEndpoint" +_Ip = "Ip" +_ip = "ip" +_aSu = "autonomousSystem" +_Conn = "Connection" +_conn = "connection" +_NEet = "NetworkEndpoints" +_EI = "Ec2Image" +_ENIU = "Ec2NetworkInterfaceUids" +_IIP = "IamInstanceProfile" +_PC = "ProductCode" +_Cod = "Code" +_pCI = "productCodeId" +_PTr = "ProductType" +_pCT = "productCodeType" +_PCr = "ProductCodes" +_EIc = "Ec2Instance" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_ID = "ImageDescription" +_iD = "imageDescription" +_IS = "InstanceState" +_iS = "instanceState" +_OA = "OutpostArn" +_oA = "outpostArn" +_Pl = "Platform" +_pl = "platform" +_pC = "productCodes" +_eNIU = "ec2NetworkInterfaceUids" +_LTV = "LaunchTemplateVersion" +_ELT = "Ec2LaunchTemplate" +_IAp = "Ipv6Addresses" +_PIAD = "PrivateIpAddressDetails" +_PDN = "PrivateDnsName" +_pDN = "privateDnsName" +_PIA = "PrivateIpAddress" +_pIA = "privateIpAddress" +_PIAr = "PrivateIpAddresses" +_SG = "SecurityGroup" +_GIr = "GroupId" +_gI = "groupId" +_GN = "GroupName" +_gN = "groupName" +_SGe = "SecurityGroups" +_ENI = "Ec2NetworkInterface" +_iAp = "ipv6Addresses" +_pIAr = "privateIpAddresses" +_PIu = "PublicIp" +_pIu = "publicIp" +_sG = "securityGroups" +_SNI = "SubNetId" +_sNI = "subNetId" +_VIp = "VpcId" +_vIp = "vpcId" +_EVc = "Ec2Vpc" +_ECSc = "EcsClusterStatus" +_PROVISIONING = "PROVISIONING" +_DEPROVISIONING = "DEPROVISIONING" +_INACTIVE = "INACTIVE" +_ECc = "EcsCluster" +_ELTc = "EcsLaunchType" +_FARGATE = "FARGATE" +_ETc = "EcsTask" +_TDA = "TaskDefinitionArn" +_tDA = "taskDefinitionArn" +_LTa = "LaunchType" +_lTa = "launchType" +_cUo = "containerUids" +_ECk = "EksCluster" +_IIPV = "IamInstanceProfileV2" +_KRT = "KubernetesResourcesTypes" +_PODS = "PODS" +_JOBS = "JOBS" +_CRONJOBS = "CRONJOBS" +_DEPLOYMENTS = "DEPLOYMENTS" +_DAEMONSETS = "DAEMONSETS" +_STATEFULSETS = "STATEFULSETS" +_REPLICASETS = "REPLICASETS" +_REPLICATIONCONTROLLERS = "REPLICATIONCONTROLLERS" +_KW = "KubernetesWorkload" +_PAS = "PublicAccessStatus" +_ALLOWED = "ALLOWED" +_PAIB = "PublicAclIgnoreBehavior" +_IGNORED = "IGNORED" +_NI = "NOT_IGNORED" +_PBRB = "PublicBucketRestrictBehavior" +_RESTRICTED = "RESTRICTED" +_NR = "NOT_RESTRICTED" +_PAC = "PublicAccessConfiguration" +_PAA = "PublicAclAccess" +_pAA = "publicAclAccess" +_PPAu = "PublicPolicyAccess" +_pPAu = "publicPolicyAccess" +_pAIB = "publicAclIgnoreBehavior" +_pBRB = "publicBucketRestrictBehavior" +_SOU = "S3ObjectUids" +_OI = "OwnerId" +_oI = "ownerId" +_EKA = "EncryptionKeyArn" +_eKA = "encryptionKeyArn" +_EP = "EffectivePermission" +_eP = "effectivePermission" +_PRA = "PublicReadAccess" +_pRA = "publicReadAccess" +_PWA = "PublicWriteAccess" +_pWA = "publicWriteAccess" +_APA = "AccountPublicAccess" +_aPA = "accountPublicAccess" +_BPAu = "BucketPublicAccess" +_bPAu = "bucketPublicAccess" +_sOU = "s3ObjectUids" +_SO = "S3Object" +_ETa = "ETag" +_eTa = "eTag" +_Ke = "Key" +_RDe = "ResourceData" +_eI = "ec2Instance" +_aK = "accessKey" +_eNI = "ec2NetworkInterface" +_sO = "s3Object" +_eCk = "eksCluster" +_kW = "kubernetesWorkload" +_cont = "container" +_eCc = "ecsCluster" +_eTc = "ecsTask" +_iIP = "iamInstanceProfile" +_aASG = "autoscalingAutoScalingGroup" +_eLT = "ec2LaunchTemplate" +_eVc = "ec2Vpc" +_eIc = "ec2Image" +_cSl = "cloudformationStack" +_bG = "bedrockGuardrail" +_FRT = "FindingResourceType" +_EI_ = "EC2_INSTANCE" +_ENI_ = "EC2_NETWORK_INTERFACE" +_SB_ = "S3_BUCKET" +_SO_ = "S3_OBJECT" +_AK_ = "ACCESS_KEY" +_EC__ = "EKS_CLUSTER" +_KW_ = "KUBERNETES_WORKLOAD" +_CONTAINER = "CONTAINER" +_EC___ = "ECS_CLUSTER" +_ET_ = "ECS_TASK" +_AASG_ = "AUTOSCALING_AUTO_SCALING_GROUP" +_IIP_ = "IAM_INSTANCE_PROFILE" +_CS__ = "CLOUDFORMATION_STACK" +_ELT_ = "EC2_LAUNCH_TEMPLATE" +_EV_ = "EC2_VPC" +_EI__ = "EC2_IMAGE" +_BCM = "BEDROCK_CUSTOM_MODEL" +_BIM = "BEDROCK_IMPORTED_MODEL" +_BPM = "BEDROCK_PROVISIONED_MODEL" +_BCMD = "BEDROCK_CUSTOM_MODEL_DEPLOYMENT" +_BIP = "BEDROCK_INFERENCE_PROFILE" +_BAIP = "BEDROCK_APPLICATION_INFERENCE_PROFILE" +_BP_ = "BEDROCK_PROMPT" +_BPR = "BEDROCK_PROMPT_ROUTER" +_BG_ = "BEDROCK_GUARDRAIL" +_SE = "SAGEMAKER_ENDPOINT" +_Tag_ = "Tag" +_Va = "Value" +_RV = "ResourceV2" +_CPl = "CloudPartition" +_cP = "cloudPartition" +_Dat = "Data" +_dat = "data" +_Reso = "Resources" +_ITn = "IndicatorType" +_SUA = "SUSPICIOUS_USER_AGENT" +_SN_ = "SUSPICIOUS_NETWORK" +_MI_ = "MALICIOUS_IP" +_TI = "TOR_IP" +_AT_ = "ATTACK_TACTIC" +_HRA = "HIGH_RISK_API" +_AT__ = "ATTACK_TECHNIQUE" +_UAFA = "UNUSUAL_API_FOR_ACCOUNT" +_UAFA_ = "UNUSUAL_ASN_FOR_ACCOUNT" +_UAFU = "UNUSUAL_ASN_FOR_USER" +_SP = "SUSPICIOUS_PROCESS" +_MD = "MALICIOUS_DOMAIN" +_MP_ = "MALICIOUS_PROCESS" +_CI_ = "CRYPTOMINING_IP" +_CD_ = "CRYPTOMINING_DOMAIN" +_CP_ = "CRYPTOMINING_PROCESS" +_MF = "MALICIOUS_FILE" +_VULNERABILITY = "VULNERABILITY" +_MP__ = "MALICIOUS_PACKAGE" +_MISCONFIGURATION = "MISCONFIGURATION" +_REACHABILITY = "REACHABILITY" +_SD_ = "SENSITIVE_DATA" +_ITnd = "IndicatorTitle" +_IVS = "IndicatorValueString" +_IV = "IndicatorValues" +_In = "Indicator" +_Val = "Values" +_va = "values" +_Tit = "Title" +_ti = "title" +_Ind = "Indicators" +_SDi = "SignalDescription" +_EIn = "EndpointIds" +_RUe = "ResourceUids" +_MPST = "MalwareProtectionScanType" +_BI = "BACKUP_INITIATED" + +SORT_CRITERIA: StaticSchema = ( + 18, + n0, + _SCo, + 0, + (_AN, _OB), + ((lambda: schemas.STRING, {_sN: _aN}), (lambda: schemas.ORDER_BY, {_sN: _oB})), +) + +VOLUME_DETAIL: StaticSchema = ( + 18, + n0, + _VD, + 0, + (_VA, _VT, _DN, _VSIGB, _ETn, _SA, _KKA), + ( + (lambda: schemas.STRING, {_sN: _vA}), + (lambda: schemas.STRING, {_sN: _vT}), + (lambda: schemas.STRING, {_sN: _dN}), + (lambda: schemas.INTEGER, {_sN: _vSIGB}), + (lambda: schemas.STRING, {_sN: _eTn}), + (lambda: schemas.STRING, {_sN: _sA}), + (lambda: schemas.STRING, {_sN: _kKA}), + ), +) + +VOLUME_DETAILS: StaticSchema = (16, n0, _VDo, 0, (_me,), ((VOLUME_DETAIL, 0),)) + +POSITIVE_LONG: StaticSchema = (8, n0, _PL, 0) + +INSTANCE_ARN: StaticSchema = (3, n0, _IAn, 0) + +RESOURCE_DETAILS: StaticSchema = ( + 18, + n0, + _RD, + 0, + (_IAn,), + ((INSTANCE_ARN, {_sN: _iAn}),), +) + +SCAN_RESULT: StaticSchema = ( + 14, + n0, + _SRc, + 0, + (_CLEAN, _INFECTED), + ((-1, {_sV: _CLEAN}), (-1, {_sV: _INFECTED})), +) + +SCAN_RESULT_DETAILS: StaticSchema = ( + 18, + n0, + _SRD, + 0, + (_SRc,), + ((SCAN_RESULT, {_sN: _sRc}),), +) + +SCAN_STATUS: StaticSchema = ( + 14, + n0, + _SSc, + 0, + (_RUNNING, _COMPLETED, _FAILED, _SKIPPED), + ( + (-1, {_sV: _RUNNING}), + (-1, {_sV: _COMPLETED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _SKIPPED}), + ), +) + +SCAN_TYPE: StaticSchema = ( + 14, + n0, + _STc, + 0, + (_GI_, _OD), + ((-1, {_sV: _GI_}), (-1, {_sV: _OD})), +) + +TRIGGER_TYPE: StaticSchema = ( + 14, + n0, + _TT, + 0, + (_BACKUP, _GUARDDUTY), + ((-1, {_sV: _BACKUP}), (-1, {_sV: _GUARDDUTY})), +) + +TRIGGER_DETAILS: StaticSchema = ( + 18, + n0, + _TD, + 0, + (_GDFI, _De, _TT), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _gDFI}), + (lambda: schemas.NON_EMPTY_STRING, {_sN: _de}), + (TRIGGER_TYPE, {_sN: _tT}), + ), +) + +SCAN: StaticSchema = ( + 18, + n0, + _Sc, + 0, + ( + _DI, + _ADI, + _SIc, + _SSc, + _FRa, + _SSTc, + _SET, + _TD, + _RD, + _SRD, + _AIcc, + _TB, + _FCile, + _AVt, + _STc, + ), + ( + (lambda: schemas.DETECTOR_ID, {_sN: _dI}), + (lambda: schemas.DETECTOR_ID, {_sN: _aDI}), + (lambda: schemas.NON_EMPTY_STRING, {_sN: _sI}), + (SCAN_STATUS, {_sN: _sS}), + (lambda: schemas.NON_EMPTY_STRING, {_sN: _fR}), + (lambda: schemas.TIMESTAMP, {_sN: _sST}), + (lambda: schemas.TIMESTAMP, {_sN: _sET}), + (TRIGGER_DETAILS, {_sN: _tD}), + (RESOURCE_DETAILS, {_sN: _rD}), + (SCAN_RESULT_DETAILS, {_sN: _sRD}), + (lambda: schemas.ACCOUNT_ID, {_sN: _aIc}), + (POSITIVE_LONG, {_sN: _tB}), + (POSITIVE_LONG, {_sN: _fCile}), + (VOLUME_DETAILS, {_sN: _aVt}), + (SCAN_TYPE, {_sN: _sTc}), + ), +) + +SCANS: StaticSchema = (16, n0, _Sca, 0, (_me,), ((SCAN, 0),)) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +DESCRIBE_ORGANIZATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DOCI, + {_sSI: _cDOCR, _s: None}, + (_DI, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + ), +) + +DESCRIBE_ORGANIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DOCO, + {_sSI: _cDOCRo, _smi: None}, + (_AE, _MALR, _DS, _F, _NT, _AEOM), + ( + (lambda: schemas.BOOLEAN, {_sN: _aE}), + (lambda: schemas.BOOLEAN, {_sN: _mALR, _sm: None}), + (lambda: ORGANIZATION_DATA_SOURCE_CONFIGURATIONS_RESULT, {_sN: _dS}), + (lambda: ORGANIZATION_FEATURES_CONFIGURATIONS_RESULTS, {_sN: _f}), + (lambda: schemas.STRING, {_sN: _nT}), + (lambda: schemas.AUTO_ENABLE_MEMBERS, {_sN: _aEOM}), + ), +) + +DESCRIBE_ORGANIZATION_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DOC, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/detector/{DetectorId}/admin", "code": 200} + ) + }, + DESCRIBE_ORGANIZATION_CONFIGURATION_INPUT, + DESCRIBE_ORGANIZATION_CONFIGURATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _OKALCR, + 0, + (_AE,), + ((lambda: schemas.BOOLEAN, {_sN: _aE, _sm: None}),), +) + +ORGANIZATION_KUBERNETES_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _OKCR, + 0, + (_AL,), + ((ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION_RESULT, {_sN: _aL, _sm: None}),), +) + +ORGANIZATION_EBS_VOLUMES_RESULT: StaticSchema = ( + 18, + n0, + _OEVR, + 0, + (_AE,), + ((lambda: schemas.BOOLEAN, {_sN: _aE}),), +) + +ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT: StaticSchema = ( + 18, + n0, + _OSEIWFR, + 0, + (_EV,), + ((ORGANIZATION_EBS_VOLUMES_RESULT, {_sN: _eV}),), +) + +ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _OMPCR, + 0, + (_SEIWF,), + ((ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS_RESULT, {_sN: _sEIWF}),), +) + +ORGANIZATION_S3_LOGS_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _OSLCR, + 0, + (_AE,), + ((lambda: schemas.BOOLEAN, {_sN: _aE, _sm: None}),), +) + +ORGANIZATION_DATA_SOURCE_CONFIGURATIONS_RESULT: StaticSchema = ( + 18, + n0, + _ODSCR, + 0, + (_SL, _K, _MP), + ( + (ORGANIZATION_S3_LOGS_CONFIGURATION_RESULT, {_sN: _sLo, _sm: None}), + (ORGANIZATION_KUBERNETES_CONFIGURATION_RESULT, {_sN: _k}), + (ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION_RESULT, {_sN: _mP}), + ), +) + +ORG_FEATURE_STATUS: StaticSchema = ( + 14, + n0, + _OFS, + 0, + (_NEW, _NONE, _ALL), + ((-1, {_sV: _NEW}), (-1, {_sV: _NONE}), (-1, {_sV: _ALL})), +) + +ORG_FEATURE_ADDITIONAL_CONFIGURATION: StaticSchema = ( + 14, + n0, + _OFAC, + 0, + (_EAM, _EFAM, _EAM_, _RDR), + ((-1, {_sV: _EAM}), (-1, {_sV: _EFAM}), (-1, {_sV: _EAM_}), (-1, {_sV: _RDR})), +) + +ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _OACR, + 0, + (_N, _AE), + ( + (ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), + (ORG_FEATURE_STATUS, {_sN: _aE}), + ), +) + +ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULTS: StaticSchema = ( + 16, + n0, + _OACRr, + 0, + (_me,), + ((ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULT, 0),), +) + +ORG_FEATURE: StaticSchema = ( + 14, + n0, + _OF, + 0, + (_SDE, _EAL, _EMP, _RLE, _LNL, _ERM, _RM, _AP), + ( + (-1, {_sV: _SDE}), + (-1, {_sV: _EAL}), + (-1, {_sV: _EMP}), + (-1, {_sV: _RLE}), + (-1, {_sV: _LNL}), + (-1, {_sV: _ERM}), + (-1, {_sV: _RM}), + (-1, {_sV: _AP}), + ), +) + +ORGANIZATION_FEATURE_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _OFCR, + 0, + (_N, _AE, _ACd), + ( + (ORG_FEATURE, {_sN: _n}), + (ORG_FEATURE_STATUS, {_sN: _aE}), + (ORGANIZATION_ADDITIONAL_CONFIGURATION_RESULTS, {_sN: _aC}), + ), +) + +ORGANIZATION_FEATURES_CONFIGURATIONS_RESULTS: StaticSchema = ( + 16, + n0, + _OFCRr, + 0, + (_me,), + ((ORGANIZATION_FEATURE_CONFIGURATION_RESULT, 0),), +) + +DESCRIBE_PUBLISHING_DESTINATION_INPUT: StaticSchema = ( + 18, + n0, + _DPDIe, + {_sSI: _cDPDRom, _s: None}, + (_DI, _DIe), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +DESCRIBE_PUBLISHING_DESTINATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DPDOe, + {_sSI: _cDPDRoma, _smi: None}, + (_DIe, _DT, _St, _PFST, _DP, _Ta), + ( + (lambda: schemas.STRING, {_sN: _dIe, _sm: None}), + (lambda: schemas.DESTINATION_TYPE, {_sN: _dT, _sm: None}), + (lambda: PUBLISHING_STATUS, {_sN: _st, _sm: None}), + (lambda: schemas.LONG, {_sN: _pFST, _sm: None}), + (lambda: schemas.DESTINATION_PROPERTIES, {_sN: _dP, _sm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + ), +) + +DESCRIBE_PUBLISHING_DESTINATION: StaticOperationSchema = ( + 23, + n0, + _DPDe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/publishingDestination/{DestinationId}", + "code": 200, + } + ) + }, + DESCRIBE_PUBLISHING_DESTINATION_INPUT, + DESCRIBE_PUBLISHING_DESTINATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +PUBLISHING_STATUS: StaticSchema = ( + 14, + n0, + _PSu, + 0, + (_PV, _PUBLISHING, _UTPFDP, _STOPPED), + ( + (-1, {_sV: _PV}), + (-1, {_sV: _PUBLISHING}), + (-1, {_sV: _UTPFDP}), + (-1, {_sV: _STOPPED}), + ), +) + +DESTINATION: StaticSchema = ( + 18, + n0, + _Des, + 0, + (_DIe, _DT, _St), + ( + (lambda: schemas.STRING, {_sN: _dIe, _sm: None}), + (lambda: schemas.DESTINATION_TYPE, {_sN: _dT, _sm: None}), + (PUBLISHING_STATUS, {_sN: _st, _sm: None}), + ), +) + +DESTINATIONS: StaticSchema = (16, n0, _Dest, 0, (_me,), ((DESTINATION, 0),)) + +SEQUENCE_DESCRIPTION: StaticSchema = (3, n0, _SD, 0) + +NETWORK_DIRECTION: StaticSchema = ( + 14, + n0, + _ND, + 0, + (_INBOUND, _OUTBOUND), + ((-1, {_sV: _INBOUND}), (-1, {_sV: _OUTBOUND})), +) + +NETWORK_CONNECTION: StaticSchema = ( + 18, + n0, + _NC, + 0, + (_Di,), + ((NETWORK_DIRECTION, {_sN: _di, _sm: None}),), +) + +NETWORK_GEO_LOCATION: StaticSchema = ( + 18, + n0, + _NGL, + 0, + (_C, _Co, _La, _Long), + ( + (lambda: schemas.STRING, {_sN: _ci, _sm: None}), + (lambda: schemas.STRING, {_sN: _co, _sm: None}), + (lambda: schemas.DOUBLE, {_sN: _l, _sm: None}), + (lambda: schemas.DOUBLE, {_sN: _lo, _sm: None}), + ), +) + +NETWORK_ENDPOINT: StaticSchema = ( + 18, + n0, + _NEe, + 0, + (_Id, _Ip, _D, _Po, _Loc, _ASu, _Conn), + ( + (lambda: schemas.STRING, {_sN: _id, _sm: None}), + (lambda: schemas.STRING, {_sN: _ip}), + (lambda: schemas.STRING, {_sN: _d}), + (lambda: schemas.INTEGER, {_sN: _po}), + (NETWORK_GEO_LOCATION, {_sN: _loc}), + (lambda: schemas.AUTONOMOUS_SYSTEM, {_sN: _aSu}), + (NETWORK_CONNECTION, {_sN: _conn}), + ), +) + +NETWORK_ENDPOINTS: StaticSchema = (16, n0, _NEet, 0, (_me,), ((NETWORK_ENDPOINT, 0),)) + +EC2_IMAGE: StaticSchema = ( + 18, + n0, + _EI, + 0, + (_EIUc,), + ((lambda: schemas.EC2_INSTANCE_UIDS, {_sN: _eIU}),), +) + +EC2_NETWORK_INTERFACE_UIDS: StaticSchema = ( + 16, + n0, + _ENIU, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +IAM_INSTANCE_PROFILE: StaticSchema = ( + 18, + n0, + _IIP, + 0, + (_Ar, _Id), + ((lambda: schemas.STRING, {_sN: _ar}), (lambda: schemas.STRING, {_sN: _id})), +) + +PRODUCT_CODE: StaticSchema = ( + 18, + n0, + _PC, + 0, + (_Cod, _PTr), + ((lambda: schemas.STRING, {_sN: _pCI}), (lambda: schemas.STRING, {_sN: _pCT})), +) + +PRODUCT_CODES: StaticSchema = (16, n0, _PCr, 0, (_me,), ((PRODUCT_CODE, 0),)) + +EC2_INSTANCE: StaticSchema = ( + 18, + n0, + _EIc, + 0, + (_AZ, _ID, _IS, _IIP, _IT, _OA, _Pl, _PCr, _ENIU), + ( + (lambda: schemas.STRING, {_sN: _aZ}), + (lambda: schemas.STRING, {_sN: _iD}), + (lambda: schemas.STRING, {_sN: _iS}), + (IAM_INSTANCE_PROFILE, 0), + (lambda: schemas.STRING, {_sN: _iT}), + (lambda: schemas.STRING, {_sN: _oA}), + (lambda: schemas.STRING, {_sN: _pl}), + (PRODUCT_CODES, {_sN: _pC}), + (EC2_NETWORK_INTERFACE_UIDS, {_sN: _eNIU}), + ), +) + +LAUNCH_TEMPLATE_VERSION: StaticSchema = (3, n0, _LTV, 0) + +EC2_LAUNCH_TEMPLATE: StaticSchema = ( + 18, + n0, + _ELT, + 0, + (_EIUc, _Ve), + ( + (lambda: schemas.EC2_INSTANCE_UIDS, {_sN: _eIU}), + (LAUNCH_TEMPLATE_VERSION, {_sN: _ver}), + ), +) + +IPV6_ADDRESSES: StaticSchema = (16, n0, _IAp, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +PRIVATE_IP_ADDRESS_DETAILS: StaticSchema = ( + 18, + n0, + _PIAD, + 0, + (_PDN, _PIA), + ( + (lambda: schemas.STRING, {_sN: _pDN}), + (lambda: schemas.SENSITIVE_STRING, {_sN: _pIA}), + ), +) + +PRIVATE_IP_ADDRESSES: StaticSchema = ( + 16, + n0, + _PIAr, + 0, + (_me,), + ((PRIVATE_IP_ADDRESS_DETAILS, 0),), +) + +SECURITY_GROUP: StaticSchema = ( + 18, + n0, + _SG, + 0, + (_GIr, _GN), + ((lambda: schemas.STRING, {_sN: _gI}), (lambda: schemas.STRING, {_sN: _gN})), +) + +SECURITY_GROUPS: StaticSchema = (16, n0, _SGe, 0, (_me,), ((SECURITY_GROUP, 0),)) + +EC2_NETWORK_INTERFACE: StaticSchema = ( + 18, + n0, + _ENI, + 0, + (_IAp, _PIAr, _PIu, _SGe, _SNI, _VIp), + ( + (IPV6_ADDRESSES, {_sN: _iAp}), + (PRIVATE_IP_ADDRESSES, {_sN: _pIAr}), + (lambda: schemas.STRING, {_sN: _pIu}), + (SECURITY_GROUPS, {_sN: _sG}), + (lambda: schemas.STRING, {_sN: _sNI}), + (lambda: schemas.STRING, {_sN: _vIp}), + ), +) + +EC2_VPC: StaticSchema = ( + 18, + n0, + _EVc, + 0, + (_EIUc,), + ((lambda: schemas.EC2_INSTANCE_UIDS, {_sN: _eIU}),), +) + +ECS_CLUSTER_STATUS: StaticSchema = ( + 14, + n0, + _ECSc, + 0, + (_ACTIVE, _PROVISIONING, _DEPROVISIONING, _FAILED, _INACTIVE), + ( + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _PROVISIONING}), + (-1, {_sV: _DEPROVISIONING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _INACTIVE}), + ), +) + +ECS_CLUSTER: StaticSchema = ( + 18, + n0, + _ECc, + 0, + (_St, _EIUc), + ( + (ECS_CLUSTER_STATUS, {_sN: _st}), + (lambda: schemas.EC2_INSTANCE_UIDS, {_sN: _eIU}), + ), +) + +ECS_LAUNCH_TYPE: StaticSchema = ( + 14, + n0, + _ELTc, + 0, + (_FARGATE, _EC_), + ((-1, {_sV: _FARGATE}), (-1, {_sV: _EC_})), +) + +ECS_TASK: StaticSchema = ( + 18, + n0, + _ETc, + 0, + (_CA, _TDA, _LTa, _CUon), + ( + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + (lambda: schemas.STRING, {_sN: _tDA}), + (ECS_LAUNCH_TYPE, {_sN: _lTa}), + (lambda: schemas.CONTAINER_UIDS, {_sN: _cUo}), + ), +) + +EKS_CLUSTER: StaticSchema = ( + 18, + n0, + _ECk, + 0, + (_Ar, _CA, _St, _VIp, _EIUc), + ( + (lambda: schemas.STRING, {_sN: _ar}), + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + (lambda: schemas.CLUSTER_STATUS, {_sN: _st}), + (lambda: schemas.STRING, {_sN: _vIp}), + (lambda: schemas.EC2_INSTANCE_UIDS, {_sN: _eIU}), + ), +) + +IAM_INSTANCE_PROFILE_V2: StaticSchema = ( + 18, + n0, + _IIPV, + 0, + (_EIUc,), + ((lambda: schemas.EC2_INSTANCE_UIDS, {_sN: _eIU}),), +) + +KUBERNETES_RESOURCES_TYPES: StaticSchema = ( + 14, + n0, + _KRT, + 0, + ( + _PODS, + _JOBS, + _CRONJOBS, + _DEPLOYMENTS, + _DAEMONSETS, + _STATEFULSETS, + _REPLICASETS, + _REPLICATIONCONTROLLERS, + ), + ( + (-1, {_sV: _PODS}), + (-1, {_sV: _JOBS}), + (-1, {_sV: _CRONJOBS}), + (-1, {_sV: _DEPLOYMENTS}), + (-1, {_sV: _DAEMONSETS}), + (-1, {_sV: _STATEFULSETS}), + (-1, {_sV: _REPLICASETS}), + (-1, {_sV: _REPLICATIONCONTROLLERS}), + ), +) + +KUBERNETES_WORKLOAD: StaticSchema = ( + 18, + n0, + _KW, + 0, + (_CUon, _Na, _KRT), + ( + (lambda: schemas.CONTAINER_UIDS, {_sN: _cUo}), + (lambda: schemas.STRING, {_sN: _na}), + (KUBERNETES_RESOURCES_TYPES, {_sN: _t}), + ), +) + +PUBLIC_ACCESS_STATUS: StaticSchema = ( + 14, + n0, + _PAS, + 0, + (_BLOCKED, _ALLOWED), + ((-1, {_sV: _BLOCKED}), (-1, {_sV: _ALLOWED})), +) + +PUBLIC_ACL_IGNORE_BEHAVIOR: StaticSchema = ( + 14, + n0, + _PAIB, + 0, + (_IGNORED, _NI), + ((-1, {_sV: _IGNORED}), (-1, {_sV: _NI})), +) + +PUBLIC_BUCKET_RESTRICT_BEHAVIOR: StaticSchema = ( + 14, + n0, + _PBRB, + 0, + (_RESTRICTED, _NR), + ((-1, {_sV: _RESTRICTED}), (-1, {_sV: _NR})), +) + +PUBLIC_ACCESS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PAC, + 0, + (_PAA, _PPAu, _PAIB, _PBRB), + ( + (PUBLIC_ACCESS_STATUS, {_sN: _pAA}), + (PUBLIC_ACCESS_STATUS, {_sN: _pPAu}), + (PUBLIC_ACL_IGNORE_BEHAVIOR, {_sN: _pAIB}), + (PUBLIC_BUCKET_RESTRICT_BEHAVIOR, {_sN: _pBRB}), + ), +) + +S3_OBJECT_UIDS: StaticSchema = (16, n0, _SOU, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +S3_BUCKET: StaticSchema = ( + 18, + n0, + _SB, + 0, + (_OI, _CA, _ETn, _EKA, _EP, _PRA, _PWA, _APA, _BPAu, _SOU), + ( + (lambda: schemas.STRING, {_sN: _oI}), + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + (lambda: schemas.STRING, {_sN: _eTn}), + (lambda: schemas.STRING, {_sN: _eKA}), + (lambda: schemas.STRING, {_sN: _eP}), + (PUBLIC_ACCESS_STATUS, {_sN: _pRA}), + (PUBLIC_ACCESS_STATUS, {_sN: _pWA}), + (PUBLIC_ACCESS_CONFIGURATION, {_sN: _aPA}), + (PUBLIC_ACCESS_CONFIGURATION, {_sN: _bPAu}), + (S3_OBJECT_UIDS, {_sN: _sOU}), + ), +) + +S3_OBJECT: StaticSchema = ( + 18, + n0, + _SO, + 0, + (_ETa, _Ke, _VI), + ( + (lambda: schemas.STRING, {_sN: _eTa}), + (lambda: schemas.STRING, {_sN: _ke}), + (lambda: schemas.STRING, {_sN: _vI}), + ), +) + +RESOURCE_DATA: StaticSchema = ( + 18, + n0, + _RDe, + 0, + ( + _SB, + _EIc, + _AK, + _ENI, + _SO, + _ECk, + _KW, + _Cont, + _ECc, + _ETc, + _IIP, + _AASG, + _ELT, + _EVc, + _EI, + _CS, + _BG, + ), + ( + (S3_BUCKET, {_sN: _sB}), + (EC2_INSTANCE, {_sN: _eI}), + (lambda: schemas.ACCESS_KEY, {_sN: _aK}), + (EC2_NETWORK_INTERFACE, {_sN: _eNI}), + (S3_OBJECT, {_sN: _sO}), + (EKS_CLUSTER, {_sN: _eCk}), + (KUBERNETES_WORKLOAD, {_sN: _kW}), + (lambda: schemas.CONTAINER_FINDING_RESOURCE, {_sN: _cont}), + (ECS_CLUSTER, {_sN: _eCc}), + (ECS_TASK, {_sN: _eTc}), + (IAM_INSTANCE_PROFILE_V2, {_sN: _iIP}), + (lambda: schemas.AUTOSCALING_AUTO_SCALING_GROUP, {_sN: _aASG}), + (EC2_LAUNCH_TEMPLATE, {_sN: _eLT}), + (EC2_VPC, {_sN: _eVc}), + (EC2_IMAGE, {_sN: _eIc}), + (lambda: schemas.CLOUDFORMATION_STACK, {_sN: _cSl}), + (lambda: schemas.BEDROCK_GUARDRAIL_RESOURCE, {_sN: _bG}), + ), +) + +FINDING_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _FRT, + 0, + ( + _EI_, + _ENI_, + _SB_, + _SO_, + _AK_, + _EC__, + _KW_, + _CONTAINER, + _EC___, + _ET_, + _AASG_, + _IIP_, + _CS__, + _ELT_, + _EV_, + _EI__, + _BCM, + _BIM, + _BPM, + _BCMD, + _BIP, + _BAIP, + _BP_, + _BPR, + _BG_, + _SE, + ), + ( + (-1, {_sV: _EI_}), + (-1, {_sV: _ENI_}), + (-1, {_sV: _SB_}), + (-1, {_sV: _SO_}), + (-1, {_sV: _AK_}), + (-1, {_sV: _EC__}), + (-1, {_sV: _KW_}), + (-1, {_sV: _CONTAINER}), + (-1, {_sV: _EC___}), + (-1, {_sV: _ET_}), + (-1, {_sV: _AASG_}), + (-1, {_sV: _IIP_}), + (-1, {_sV: _CS__}), + (-1, {_sV: _ELT_}), + (-1, {_sV: _EV_}), + (-1, {_sV: _EI__}), + (-1, {_sV: _BCM}), + (-1, {_sV: _BIM}), + (-1, {_sV: _BPM}), + (-1, {_sV: _BCMD}), + (-1, {_sV: _BIP}), + (-1, {_sV: _BAIP}), + (-1, {_sV: _BP_}), + (-1, {_sV: _BPR}), + (-1, {_sV: _BG_}), + (-1, {_sV: _SE}), + ), +) + +TAG: StaticSchema = ( + 18, + n0, + _Tag_, + 0, + (_Ke, _Va), + ((lambda: schemas.STRING, {_sN: _ke}), (lambda: schemas.STRING, {_sN: _v})), +) + +TAGS: StaticSchema = (16, n0, _Ta, 0, (_me,), ((TAG, 0),)) + +RESOURCE_V2: StaticSchema = ( + 18, + n0, + _RV, + 0, + (_U, _N, _AIcc, _RT, _Re, _Se, _CPl, _Ta, _Dat), + ( + (lambda: schemas.STRING, {_sN: _u, _sm: None}), + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.STRING, {_sN: _aIc}), + (FINDING_RESOURCE_TYPE, {_sN: _rT, _sm: None}), + (lambda: schemas.STRING, {_sN: _re}), + (lambda: schemas.STRING, {_sN: _ser}), + (lambda: schemas.STRING, {_sN: _cP}), + (TAGS, {_sN: _ta}), + (RESOURCE_DATA, {_sN: _dat}), + ), +) + +RESOURCES: StaticSchema = (16, n0, _Reso, 0, (_me,), ((RESOURCE_V2, 0),)) + +INDICATOR_TYPE: StaticSchema = ( + 14, + n0, + _ITn, + 0, + ( + _SUA, + _SN_, + _MI_, + _TI, + _AT_, + _HRA, + _AT__, + _UAFA, + _UAFA_, + _UAFU, + _SP, + _MD, + _MP_, + _CI_, + _CD_, + _CP_, + _MF, + _VULNERABILITY, + _MP__, + _MISCONFIGURATION, + _REACHABILITY, + _SD_, + ), + ( + (-1, {_sV: _SUA}), + (-1, {_sV: _SN_}), + (-1, {_sV: _MI_}), + (-1, {_sV: _TI}), + (-1, {_sV: _AT_}), + (-1, {_sV: _HRA}), + (-1, {_sV: _AT__}), + (-1, {_sV: _UAFA}), + (-1, {_sV: _UAFA_}), + (-1, {_sV: _UAFU}), + (-1, {_sV: _SP}), + (-1, {_sV: _MD}), + (-1, {_sV: _MP_}), + (-1, {_sV: _CI_}), + (-1, {_sV: _CD_}), + (-1, {_sV: _CP_}), + (-1, {_sV: _MF}), + (-1, {_sV: _VULNERABILITY}), + (-1, {_sV: _MP__}), + (-1, {_sV: _MISCONFIGURATION}), + (-1, {_sV: _REACHABILITY}), + (-1, {_sV: _SD_}), + ), +) + +INDICATOR_TITLE: StaticSchema = (3, n0, _ITnd, 0) + +INDICATOR_VALUE_STRING: StaticSchema = (3, n0, _IVS, 0) + +INDICATOR_VALUES: StaticSchema = ( + 16, + n0, + _IV, + 0, + (_me,), + ((INDICATOR_VALUE_STRING, 0),), +) + +INDICATOR: StaticSchema = ( + 18, + n0, + _In, + 0, + (_Ke, _Val, _Tit), + ( + (INDICATOR_TYPE, {_sN: _ke, _sm: None}), + (INDICATOR_VALUES, {_sN: _va}), + (INDICATOR_TITLE, {_sN: _ti}), + ), +) + +INDICATORS: StaticSchema = (16, n0, _Ind, 0, (_me,), ((INDICATOR, 0),)) + +SIGNAL_DESCRIPTION: StaticSchema = (3, n0, _SDi, 0) + +ENDPOINT_IDS: StaticSchema = (16, n0, _EIn, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +RESOURCE_UIDS: StaticSchema = (16, n0, _RUe, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +MALWARE_PROTECTION_SCAN_TYPE: StaticSchema = ( + 14, + n0, + _MPST, + 0, + (_BI, _OD, _GI_), + ((-1, {_sV: _BI}), (-1, {_sV: _OD}), (-1, {_sV: _GI_})), +) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_4.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_4.py new file mode 100644 index 000000000..22bd282fe --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_4.py @@ -0,0 +1,1451 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.guardduty" +_DI = "DetectorId" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sN = "smithy.api#jsonName" +_smi = "smithy.api#output" +_T = "Type" +_t = "type" +_smith = "smithy.api#http" +_U = "Uid" +_u = "uid" +_N = "Name" +_me = "member" +_FL_ = "FLOW_LOGS" +_sV = "smithy.api#enumValue" +_CT_ = "CLOUD_TRAIL" +_DL_ = "DNS_LOGS" +_SDE = "S3_DATA_EVENTS" +_EAL = "EKS_AUDIT_LOGS" +_EMP = "EBS_MALWARE_PROTECTION" +_RLE = "RDS_LOGIN_EVENTS" +_LNL = "LAMBDA_NETWORK_LOGS" +_ERM = "EKS_RUNTIME_MONITORING" +_AP = "AI_PROTECTION" +_n = "name" +_AIcco = "AccountIds" +_Na = "Namespace" +_na = "namespace" +_Us = "User" +_us = "user" +_App = "Application" +_app = "application" +_ser = "service" +_Acti = "Activities" +_Pat = "Path" +_pat = "path" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_AIct = "ActorIds" +_Actor = "Actors" +_DN = "DeviceName" +_dN = "deviceName" +_AST = "AdditionalSequenceTypes" +_AAId = "AdminAccountId" +_aAI = "adminAccountId" +_Ve = "Version" +_ver = "version" +_An = "Anomaly" +_RI = "RuleId" +_Ar = "Arn" +_ar = "arn" +_rI = "ruleId" +_Mo = "Mode" +_mo = "mode" +_CA = "CreatedAt" +_cA = "createdAt" +_UAp = "UpdatedAt" +_uAp = "updatedAt" +_EA = "ExpiresAt" +_eA = "expiresAt" +_HIGH = "HIGH" +_MEDIUM = "MEDIUM" +_LOW = "LOW" +_St = "Status" +_st = "status" +_ACTIVE = "ACTIVE" +_FAILED = "FAILED" +_Cond = "Condition" +_Conta = "Containers" +_IIn = "InstanceId" +_iIn = "instanceId" +_IT = "InstanceType" +_iT = "instanceType" +_ECD = "EksClusterDetails" +_ECDc = "EcsClusterDetails" +_Ta = "Tags" +_ta = "tags" +_IAI = "IncludeAccountIds" +_iAI = "includeAccountIds" +_EAI = "ExcludeAccountIds" +_eAI = "excludeAccountIds" +_RM = "RUNTIME_MONITORING" +_AA_ = "AI_ANALYST" +_ACd = "AdditionalConfiguration" +_aC = "additionalConfiguration" +_De = "Description" +_de = "description" +_Ro = "Role" +_ro = "role" +_UAnp = "UnprocessedAccounts" +_uAn = "unprocessedAccounts" +_Sev = "Severity" +_sev = "severity" +_aIcc = "accountIds" +_VA = "VolumeArn" +_vA = "volumeArn" +_SA = "SnapshotArn" +_sA = "snapshotArn" +_STc = "ScanType" +_SIc = "ScanId" +_sI = "scanId" +_sTc = "scanType" +_IIP = "IamInstanceProfile" +_PCr = "ProductCodes" +_AZ = "AvailabilityZone" +_aZ = "availabilityZone" +_ID = "ImageDescription" +_iD = "imageDescription" +_IS = "InstanceState" +_iS = "instanceState" +_OA = "OutpostArn" +_oA = "outpostArn" +_Pl = "Platform" +_pl = "platform" +_pC = "productCodes" +_IAp = "Ipv6Addresses" +_PDN = "PrivateDnsName" +_pDN = "privateDnsName" +_PIA = "PrivateIpAddress" +_pIA = "privateIpAddress" +_PIAr = "PrivateIpAddresses" +_SGe = "SecurityGroups" +_iAp = "ipv6Addresses" +_pIAr = "privateIpAddresses" +_PIu = "PublicIp" +_pIu = "publicIp" +_sG = "securityGroups" +_VIp = "VpcId" +_vIp = "vpcId" +_LTa = "LaunchType" +_lTa = "launchType" +_iIP = "iamInstanceProfile" +_Reso = "Resources" +_Val = "Values" +_va = "values" +_EIn = "EndpointIds" +_RUe = "ResourceUids" +_STi = "SignalType" +_FINDING = "FINDING" +_Si = "Signal" +_FSA = "FirstSeenAt" +_fSA = "firstSeenAt" +_LSA = "LastSeenAt" +_lSA = "lastSeenAt" +_Cou = "Count" +_cou = "count" +_rUe = "resourceUids" +_aIct = "actorIds" +_eIn = "endpointIds" +_SIi = "SignalIndicators" +_sIi = "signalIndicators" +_activ = "activities" +_Sig = "Signals" +_Seq = "Sequence" +_acto = "actors" +_reso = "resources" +_End = "Endpoints" +_end = "endpoints" +_si = "signals" +_SIe = "SequenceIndicators" +_sIe = "sequenceIndicators" +_aST = "additionalSequenceTypes" +_Det = "Detection" +_an = "anomaly" +_seq = "sequence" +_DRAV = "DetectionRuleAgentVersion" +_DRCS = "DetectionRuleConfigurationStatus" +_PROCESSING = "PROCESSING" +_DRDS = "DetectionRuleDataSource" +_CME = "CLOUDTRAIL_MANAGEMENT_EVENT" +_CTME = "CloudTrailManagementEvent" +_RMu = "RuntimeMonitoring" +_DRD = "DetectionRuleDescription" +_DRER = "DetectionRuleEc2Requirements" +_MAV = "MinAgentVersion" +_mAV = "minAgentVersion" +_DREFR = "DetectionRuleEcsFargateRequirements" +_DRERe = "DetectionRuleEksRequirements" +_DRFC = "DetectionRuleFilterCondition" +_EQUALS = "EQUALS" +_CONTAINS = "CONTAINS" +_FFN = "FilterFieldName" +_NAME = "NAME" +_DESCRIPTION = "DESCRIPTION" +_DS_ = "DATA_SOURCE" +_dSa = "dataSource" +_SEVERITY = "SEVERITY" +_TACTIC = "TACTIC" +_tac = "tactic" +_TECHNIQUE = "TECHNIQUE" +_tec = "technique" +_SERVICE = "SERVICE" +_DRFV = "DetectionRuleFilterValue" +_DRFVe = "DetectionRuleFilterValues" +_DRF = "DetectionRuleFilter" +_cond = "condition" +_DRFL = "DetectionRuleFilterList" +_DROC = "DetectionRuleOrgConfiguration" +_SRt = "StatusReason" +_sRt = "statusReason" +_DROCS = "DetectionRuleOrgConfigurationSummary" +_DROCSL = "DetectionRuleOrgConfigurationSummaryList" +_DRRP = "DetectionRuleRuntimePlatforms" +_Ek = "Eks" +_ek = "eks" +_Ec = "Ec2" +_ec = "ec2" +_EF = "EcsFargate" +_eF = "ecsFargate" +_DRRMD = "DetectionRuleRuntimeMonitoringDetails" +_Pla = "Platforms" +_pla = "platforms" +_DRSN = "DetectionRuleServiceName" +_DRS = "DetectionRuleSeverity" +_CRITICAL = "CRITICAL" +_DSe = "DetectionSource" +_AMAZON = "AMAZON" +_BITDEFENDER = "BITDEFENDER" +_MB = "ManagedBy" +_DACR = "DetectorAdditionalConfigurationResult" +_mB = "managedBy" +_DACRe = "DetectorAdditionalConfigurationResults" +_DFR = "DetectorFeatureResult" +_DFCR = "DetectorFeatureConfigurationResult" +_DFCRe = "DetectorFeatureConfigurationsResults" +_DIet = "DetectorIds" +_DSet = "DetectorStatus" +_DOAAI = "DisableOrganizationAdminAccountInput" +_cDOAAR = "com.amazonaws.guardduty#DisableOrganizationAdminAccountRequest" +_DOAAO = "DisableOrganizationAdminAccountOutput" +_cDOAARo = "com.amazonaws.guardduty#DisableOrganizationAdminAccountResponse" +_DOAA = "DisableOrganizationAdminAccount" +_DFAAI = "DisassociateFromAdministratorAccountInput" +_cDFAAR = "com.amazonaws.guardduty#DisassociateFromAdministratorAccountRequest" +_DFAAO = "DisassociateFromAdministratorAccountOutput" +_cDFAARo = "com.amazonaws.guardduty#DisassociateFromAdministratorAccountResponse" +_DFAA = "DisassociateFromAdministratorAccount" +_DFMAI = "DisassociateFromMasterAccountInput" +_cDFMAR = "com.amazonaws.guardduty#DisassociateFromMasterAccountRequest" +_DFMAO = "DisassociateFromMasterAccountOutput" +_cDFMARo = "com.amazonaws.guardduty#DisassociateFromMasterAccountResponse" +_DFMA = "DisassociateFromMasterAccount" +_DMIi = "DisassociateMembersInput" +_cDMRom = "com.amazonaws.guardduty#DisassociateMembersRequest" +_DMOi = "DisassociateMembersOutput" +_cDMRoma = "com.amazonaws.guardduty#DisassociateMembersResponse" +_DMi = "DisassociateMembers" +_ES = "EbsSnapshot" +_ESD = "EbsSnapshotDetails" +_EVD = "EbsVolumeDetails" +_SVD = "ScannedVolumeDetails" +_sVD = "scannedVolumeDetails" +_SVDk = "SkippedVolumeDetails" +_sVDk = "skippedVolumeDetails" +_HSTD = "HighestSeverityThreatDetails" +_TN = "ThreatName" +_tN = "threatName" +_SIC = "ScannedItemCount" +_TG = "TotalGb" +_tG = "totalGb" +_Fi = "Files" +_fi = "files" +_Vo = "Volumes" +_vo = "volumes" +_SFP = "ScanFilePath" +_FP = "FilePath" +_fP = "filePath" +_Ha = "Hash" +_h = "hash" +_FNi = "FileName" +_fN = "fileName" +_FPi = "FilePaths" +_STN = "ScanThreatName" +_IC = "ItemCount" +_iC = "itemCount" +_fPi = "filePaths" +_STNc = "ScanThreatNames" +_TDBN = "ThreatDetectedByName" +_UTNC = "UniqueThreatNameCount" +_uTNC = "uniqueThreatNameCount" +_Sho = "Shortened" +_sho = "shortened" +_TNh = "ThreatNames" +_tNh = "threatNames" +_TDIC = "ThreatsDetectedItemCount" +_SDc = "ScanDetections" +_sIC = "scannedItemCount" +_tDIC = "threatsDetectedItemCount" +_hSTD = "highestSeverityThreatDetails" +_tDBN = "threatDetectedByName" +_So = "Sources" +_EVSD = "EbsVolumeScanDetails" +_SSA = "ScanStartedAt" +_sSA = "scanStartedAt" +_SCA = "ScanCompletedAt" +_sCA = "scanCompletedAt" +_TFI = "TriggerFindingId" +_tFI = "triggerFindingId" +_so = "sources" +_sD = "scanDetections" +_EIDc = "Ec2ImageDetails" +_IAm = "ImageArn" +_iAm = "imageArn" +_HP = "HostPath" +_Vol = "Volume" +_hP = "hostPath" +_ETD = "EcsTaskDetails" +_DAe = "DefinitionArn" +_dAe = "definitionArn" +_TCA = "TaskCreatedAt" +_SAt = "StartedAt" +_sAt = "startedAt" +_SBt = "StartedBy" +_sBt = "startedBy" +_conta = "containers" +_Gr = "Group" +_gr = "group" +_ASCc = "ActiveServicesCount" +_aSC = "activeServicesCount" +_RCIC = "RegisteredContainerInstancesCount" +_rCIC = "registeredContainerInstancesCount" +_RTC = "RunningTasksCount" +_rTC = "runningTasksCount" +_TDa = "TaskDetails" +_tDa = "taskDetails" +_EOAAI = "EnableOrganizationAdminAccountInput" +_cEOAAR = "com.amazonaws.guardduty#EnableOrganizationAdminAccountRequest" +_EOAAO = "EnableOrganizationAdminAccountOutput" +_cEOAARo = "com.amazonaws.guardduty#EnableOrganizationAdminAccountResponse" +_EOAA = "EnableOrganizationAdminAccount" +_TID = "ThreatIntelligenceDetail" +_TLN = "ThreatListName" +_tLN = "threatListName" +_TFS = "ThreatFileSha256" +_tFS = "threatFileSha256" +_TIDh = "ThreatIntelligenceDetails" +_Ev = "Evidence" +_tID = "threatIntelligenceDetails" +_Fe = "Feedback" +_USEFUL = "USEFUL" +_NU = "NOT_USEFUL" +_FNil = "FilterNames" +_FV = "FilterVersion" +_NIe = "NetworkInterface" +_NII = "NetworkInterfaceId" +_nII = "networkInterfaceId" +_PDNu = "PublicDnsName" +_pDNu = "publicDnsName" +_SIu = "SubnetId" +_sIu = "subnetId" +_NIet = "NetworkInterfaces" +_IDn = "InstanceDetails" +_IIm = "ImageId" +_iIm = "imageId" +_LTau = "LaunchTime" +_lTau = "launchTime" +_nI = "networkInterfaces" +_Gro = "Groups" +_IUm = "ImpersonatedUser" +_Use = "Username" +_use = "username" +_gro = "groups" +_SNL = "SessionNameList" +_KUD = "KubernetesUserDetails" +_SNe = "SessionName" +_sNes = "sessionName" +_iUm = "impersonatedUser" +_KWD = "KubernetesWorkloadDetails" +_HN = "HostNetwork" +_hN = "hostNetwork" +_SAN = "ServiceAccountName" +_sAN = "serviceAccountName" +_HIPC = "HostIPC" +_hIPC = "hostIPC" +_HPID = "HostPID" +_hPID = "hostPID" +_KD = "KubernetesDetails" +_kUD = "kubernetesUserDetails" +_kWD = "kubernetesWorkloadDetails" +_SIub = "SubnetIds" +_VC = "VpcConfig" +_sIub = "subnetIds" +_LD = "LambdaDetails" +_FAu = "FunctionArn" +_fA = "functionArn" +_FNu = "FunctionName" +_fNu = "functionName" +_LMA = "LastModifiedAt" +_lMA = "lastModifiedAt" +_RIev = "RevisionId" +_rIev = "revisionId" +_FVu = "FunctionVersion" +_fV = "functionVersion" +_vC = "vpcConfig" +_MDo = "ModelDetail" +_MIo = "ModelId" +_mIo = "modelId" +_MDod = "ModelDetails" +_RDID = "RdsDbInstanceDetails" +_DIIb = "DbInstanceIdentifier" +_dII = "dbInstanceIdentifier" +_Eng = "Engine" +_eng = "engine" +_EVn = "EngineVersion" +_eVn = "engineVersion" +_DCI = "DbClusterIdentifier" +_dCI = "dbClusterIdentifier" +_DIA = "DbInstanceArn" +_dIA = "dbInstanceArn" +_DRI = "DbiResourceId" +_dRI = "dbiResourceId" +_RDUD = "RdsDbUserDetails" +_Data = "Database" +_data = "database" +_Ss = "Ssl" +_ss = "ssl" +_AMu = "AuthMethod" +_aM = "authMethod" + +SIGNAL_TYPE: StaticSchema = ( + 14, + n0, + _STi, + 0, + (_FINDING, _CT_, _SDE, _EAL, _FL_, _DL_, _RM), + ( + (-1, {_sV: _FINDING}), + (-1, {_sV: _CT_}), + (-1, {_sV: _SDE}), + (-1, {_sV: _EAL}), + (-1, {_sV: _FL_}), + (-1, {_sV: _DL_}), + (-1, {_sV: _RM}), + ), +) + +SIGNAL: StaticSchema = ( + 18, + n0, + _Si, + 0, + ( + _U, + _T, + _De, + _N, + _CA, + _UAp, + _FSA, + _LSA, + _Sev, + _Cou, + _RUe, + _AIct, + _EIn, + _SIi, + _Acti, + ), + ( + (lambda: schemas.STRING, {_sN: _u, _sm: None}), + (SIGNAL_TYPE, {_sN: _t, _sm: None}), + (lambda: schemas.SIGNAL_DESCRIPTION, {_sN: _de}), + (lambda: schemas.STRING, {_sN: _n, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _cA, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _fSA, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _lSA, _sm: None}), + (lambda: schemas.DOUBLE, {_sN: _sev}), + (lambda: schemas.INTEGER, {_sN: _cou, _sm: None}), + (lambda: schemas.RESOURCE_UIDS, {_sN: _rUe}), + (lambda: schemas.ACTOR_IDS, {_sN: _aIct}), + (lambda: schemas.ENDPOINT_IDS, {_sN: _eIn}), + (lambda: schemas.INDICATORS, {_sN: _sIi}), + (lambda: schemas.ACTIVITIES, {_sN: _activ}), + ), +) + +SIGNALS: StaticSchema = (16, n0, _Sig, 0, (_me,), ((SIGNAL, 0),)) + +SEQUENCE: StaticSchema = ( + 18, + n0, + _Seq, + 0, + (_U, _De, _Actor, _Reso, _End, _Sig, _SIe, _AST), + ( + (lambda: schemas.STRING, {_sN: _u, _sm: None}), + (lambda: schemas.SEQUENCE_DESCRIPTION, {_sN: _de, _sm: None}), + (lambda: schemas.ACTORS, {_sN: _acto}), + (lambda: schemas.RESOURCES, {_sN: _reso}), + (lambda: schemas.NETWORK_ENDPOINTS, {_sN: _end}), + (SIGNALS, {_sN: _si, _sm: None}), + (lambda: schemas.INDICATORS, {_sN: _sIe}), + (lambda: schemas.ADDITIONAL_SEQUENCE_TYPES, {_sN: _aST}), + ), +) + +DETECTION: StaticSchema = ( + 18, + n0, + _Det, + 0, + (_An, _Seq), + ((lambda: schemas.ANOMALY, {_sN: _an}), (SEQUENCE, {_sN: _seq})), +) + +DETECTION_RULE_AGENT_VERSION: StaticSchema = (3, n0, _DRAV, 0) + +DETECTION_RULE_CONFIGURATION_STATUS: StaticSchema = ( + 14, + n0, + _DRCS, + 0, + (_ACTIVE, _PROCESSING, _FAILED), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _PROCESSING}), (-1, {_sV: _FAILED})), +) + +DETECTION_RULE_DATA_SOURCE: StaticSchema = ( + 14, + n0, + _DRDS, + 0, + (_CME, _RM), + ((-1, {_sV: _CTME}), (-1, {_sV: _RMu})), +) + +DETECTION_RULE_DESCRIPTION: StaticSchema = (3, n0, _DRD, 0) + +DETECTION_RULE_EC2_REQUIREMENTS: StaticSchema = ( + 18, + n0, + _DRER, + 0, + (_MAV,), + ((DETECTION_RULE_AGENT_VERSION, {_sN: _mAV}),), +) + +DETECTION_RULE_ECS_FARGATE_REQUIREMENTS: StaticSchema = ( + 18, + n0, + _DREFR, + 0, + (_MAV,), + ((DETECTION_RULE_AGENT_VERSION, {_sN: _mAV}),), +) + +DETECTION_RULE_EKS_REQUIREMENTS: StaticSchema = ( + 18, + n0, + _DRERe, + 0, + (_MAV,), + ((DETECTION_RULE_AGENT_VERSION, {_sN: _mAV}),), +) + +DETECTION_RULE_FILTER_CONDITION: StaticSchema = ( + 14, + n0, + _DRFC, + 0, + (_EQUALS, _CONTAINS), + ((-1, {_sV: _EQUALS}), (-1, {_sV: _CONTAINS})), +) + +FILTER_FIELD_NAME: StaticSchema = ( + 14, + n0, + _FFN, + 0, + (_NAME, _DESCRIPTION, _DS_, _SEVERITY, _TACTIC, _TECHNIQUE, _SERVICE), + ( + (-1, {_sV: _n}), + (-1, {_sV: _de}), + (-1, {_sV: _dSa}), + (-1, {_sV: _sev}), + (-1, {_sV: _tac}), + (-1, {_sV: _tec}), + (-1, {_sV: _ser}), + ), +) + +DETECTION_RULE_FILTER_VALUE: StaticSchema = (3, n0, _DRFV, 0) + +DETECTION_RULE_FILTER_VALUES: StaticSchema = ( + 16, + n0, + _DRFVe, + 0, + (_me,), + ((DETECTION_RULE_FILTER_VALUE, 0),), +) + +DETECTION_RULE_FILTER: StaticSchema = ( + 18, + n0, + _DRF, + 0, + (_N, _Val, _Cond), + ( + (FILTER_FIELD_NAME, {_sN: _n, _sm: None}), + (DETECTION_RULE_FILTER_VALUES, {_sN: _va, _sm: None}), + (DETECTION_RULE_FILTER_CONDITION, {_sN: _cond}), + ), +) + +DETECTION_RULE_FILTER_LIST: StaticSchema = ( + 16, + n0, + _DRFL, + 0, + (_me,), + ((DETECTION_RULE_FILTER, 0),), +) + +DETECTION_RULE_ORG_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DROC, + 0, + (_RI, _Mo, _St, _SRt, _IAI, _EAI, _CA, _UAp, _EA), + ( + (lambda: schemas.RULE_ID, {_sN: _rI, _sm: None}), + (lambda: schemas.ASSOCIATION_MODE, {_sN: _mo, _sm: None}), + (DETECTION_RULE_CONFIGURATION_STATUS, {_sN: _st, _sm: None}), + (lambda: schemas.STRING, {_sN: _sRt}), + (lambda: schemas.DETECTION_RULE_ACCOUNT_IDS, {_sN: _iAI, _sm: None}), + (lambda: schemas.DETECTION_RULE_ACCOUNT_IDS, {_sN: _eAI, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _cA, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _eA}), + ), +) + +DETECTION_RULE_ORG_CONFIGURATION_SUMMARY: StaticSchema = ( + 18, + n0, + _DROCS, + 0, + (_RI, _Mo, _St, _SRt, _CA, _UAp, _EA), + ( + (lambda: schemas.RULE_ID, {_sN: _rI, _sm: None}), + (lambda: schemas.ASSOCIATION_MODE, {_sN: _mo, _sm: None}), + (DETECTION_RULE_CONFIGURATION_STATUS, {_sN: _st, _sm: None}), + (lambda: schemas.STRING, {_sN: _sRt}), + (lambda: schemas.TIMESTAMP, {_sN: _cA, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _eA}), + ), +) + +DETECTION_RULE_ORG_CONFIGURATION_SUMMARY_LIST: StaticSchema = ( + 16, + n0, + _DROCSL, + 0, + (_me,), + ((DETECTION_RULE_ORG_CONFIGURATION_SUMMARY, 0),), +) + +DETECTION_RULE_RUNTIME_PLATFORMS: StaticSchema = ( + 18, + n0, + _DRRP, + 0, + (_Ek, _Ec, _EF), + ( + (DETECTION_RULE_EKS_REQUIREMENTS, {_sN: _ek}), + (DETECTION_RULE_EC2_REQUIREMENTS, {_sN: _ec}), + (DETECTION_RULE_ECS_FARGATE_REQUIREMENTS, {_sN: _eF}), + ), +) + +DETECTION_RULE_RUNTIME_MONITORING_DETAILS: StaticSchema = ( + 18, + n0, + _DRRMD, + 0, + (_Pla,), + ((DETECTION_RULE_RUNTIME_PLATFORMS, {_sN: _pla}),), +) + +DETECTION_RULE_SERVICE_NAME: StaticSchema = (3, n0, _DRSN, 0) + +DETECTION_RULE_SEVERITY: StaticSchema = ( + 14, + n0, + _DRS, + 0, + (_CRITICAL, _HIGH, _MEDIUM, _LOW), + ( + (-1, {_sV: _CRITICAL}), + (-1, {_sV: _HIGH}), + (-1, {_sV: _MEDIUM}), + (-1, {_sV: _LOW}), + ), +) + +DETECTION_SOURCE: StaticSchema = ( + 14, + n0, + _DSe, + 0, + (_AMAZON, _BITDEFENDER), + ((-1, {_sV: _AMAZON}), (-1, {_sV: _BITDEFENDER})), +) + +DETECTOR_ADDITIONAL_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _DACR, + 0, + (_N, _St, _UAp, _MB), + ( + (lambda: schemas.FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), + (lambda: schemas.FEATURE_STATUS, {_sN: _st}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + (lambda: schemas.MANAGED_BY, {_sN: _mB}), + ), +) + +DETECTOR_ADDITIONAL_CONFIGURATION_RESULTS: StaticSchema = ( + 16, + n0, + _DACRe, + 0, + (_me,), + ((DETECTOR_ADDITIONAL_CONFIGURATION_RESULT, 0),), +) + +DETECTOR_FEATURE_RESULT: StaticSchema = ( + 14, + n0, + _DFR, + 0, + (_FL_, _CT_, _DL_, _SDE, _EAL, _EMP, _RLE, _LNL, _ERM, _RM, _AP, _AA_), + ( + (-1, {_sV: _FL_}), + (-1, {_sV: _CT_}), + (-1, {_sV: _DL_}), + (-1, {_sV: _SDE}), + (-1, {_sV: _EAL}), + (-1, {_sV: _EMP}), + (-1, {_sV: _RLE}), + (-1, {_sV: _LNL}), + (-1, {_sV: _ERM}), + (-1, {_sV: _RM}), + (-1, {_sV: _AP}), + (-1, {_sV: _AA_}), + ), +) + +DETECTOR_FEATURE_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _DFCR, + 0, + (_N, _St, _UAp, _ACd, _MB), + ( + (DETECTOR_FEATURE_RESULT, {_sN: _n}), + (lambda: schemas.FEATURE_STATUS, {_sN: _st}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + (DETECTOR_ADDITIONAL_CONFIGURATION_RESULTS, {_sN: _aC}), + (lambda: schemas.MANAGED_BY, {_sN: _mB}), + ), +) + +DETECTOR_FEATURE_CONFIGURATIONS_RESULTS: StaticSchema = ( + 16, + n0, + _DFCRe, + 0, + (_me,), + ((DETECTOR_FEATURE_CONFIGURATION_RESULT, 0),), +) + +DETECTOR_IDS: StaticSchema = ( + 16, + n0, + _DIet, + 0, + (_me,), + ((lambda: schemas.DETECTOR_ID, 0),), +) + +DETECTOR_STATUS: StaticSchema = ( + 14, + n0, + _DSet, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +DISABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _DOAAI, + {_sSI: _cDOAAR, _s: None}, + (_AAId,), + ((lambda: schemas.STRING, {_sN: _aAI, _sm: None}),), +) + +DISABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _DOAAO, + {_sSI: _cDOAARo, _smi: None}, +) + +DISABLE_ORGANIZATION_ADMIN_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _DOAA, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/admin/disable", "code": 200} + ) + }, + DISABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT, + DISABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _DFAAI, + {_sSI: _cDFAAR, _s: None}, + (_DI,), + ((lambda: schemas.DETECTOR_ID, 9),), +) + +DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _DFAAO, + {_sSI: _cDFAARo, _smi: None}, +) + +DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _DFAA, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/administrator/disassociate", + "code": 200, + } + ) + }, + DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_INPUT, + DISASSOCIATE_FROM_ADMINISTRATOR_ACCOUNT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DISASSOCIATE_FROM_MASTER_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _DFMAI, + {_sSI: _cDFMAR, _s: None}, + (_DI,), + ((lambda: schemas.DETECTOR_ID, 9),), +) + +DISASSOCIATE_FROM_MASTER_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _DFMAO, + {_sSI: _cDFMARo, _smi: None}, +) + +DISASSOCIATE_FROM_MASTER_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _DFMA, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/master/disassociate", + "code": 200, + } + ) + }, + DISASSOCIATE_FROM_MASTER_ACCOUNT_INPUT, + DISASSOCIATE_FROM_MASTER_ACCOUNT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +DISASSOCIATE_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _DMIi, + {_sSI: _cDMRom, _s: None}, + (_DI, _AIcco), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), + ), +) + +DISASSOCIATE_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DMOi, + {_sSI: _cDMRoma, _smi: None}, + (_UAnp,), + ((lambda: schemas.UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), +) + +DISASSOCIATE_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _DMi, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/member/disassociate", + "code": 200, + } + ) + }, + DISASSOCIATE_MEMBERS_INPUT, + DISASSOCIATE_MEMBERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +EBS_SNAPSHOT: StaticSchema = ( + 18, + n0, + _ES, + 0, + (_DN,), + ((lambda: schemas.NON_EMPTY_STRING, {_sN: _dN}),), +) + +EBS_SNAPSHOT_DETAILS: StaticSchema = ( + 18, + n0, + _ESD, + 0, + (_SA,), + ((lambda: schemas.STRING, {_sN: _sA}),), +) + +EBS_VOLUME_DETAILS: StaticSchema = ( + 18, + n0, + _EVD, + 0, + (_SVD, _SVDk), + ( + (lambda: schemas.VOLUME_DETAILS, {_sN: _sVD}), + (lambda: schemas.VOLUME_DETAILS, {_sN: _sVDk}), + ), +) + +HIGHEST_SEVERITY_THREAT_DETAILS: StaticSchema = ( + 18, + n0, + _HSTD, + 0, + (_Sev, _TN, _Cou), + ( + (lambda: schemas.STRING, {_sN: _sev}), + (lambda: schemas.STRING, {_sN: _tN}), + (lambda: schemas.INTEGER, {_sN: _cou}), + ), +) + +SCANNED_ITEM_COUNT: StaticSchema = ( + 18, + n0, + _SIC, + 0, + (_TG, _Fi, _Vo), + ( + (lambda: schemas.INTEGER, {_sN: _tG}), + (lambda: schemas.INTEGER, {_sN: _fi}), + (lambda: schemas.INTEGER, {_sN: _vo}), + ), +) + +SCAN_FILE_PATH: StaticSchema = ( + 18, + n0, + _SFP, + 0, + (_FP, _VA, _Ha, _FNi), + ( + (lambda: schemas.STRING, {_sN: _fP}), + (lambda: schemas.STRING, {_sN: _vA}), + (lambda: schemas.STRING, {_sN: _h}), + (lambda: schemas.STRING, {_sN: _fN}), + ), +) + +FILE_PATHS: StaticSchema = (16, n0, _FPi, 0, (_me,), ((SCAN_FILE_PATH, 0),)) + +SCAN_THREAT_NAME: StaticSchema = ( + 18, + n0, + _STN, + 0, + (_N, _Sev, _IC, _FPi), + ( + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.STRING, {_sN: _sev}), + (lambda: schemas.INTEGER, {_sN: _iC}), + (FILE_PATHS, {_sN: _fPi}), + ), +) + +SCAN_THREAT_NAMES: StaticSchema = (16, n0, _STNc, 0, (_me,), ((SCAN_THREAT_NAME, 0),)) + +THREAT_DETECTED_BY_NAME: StaticSchema = ( + 18, + n0, + _TDBN, + 0, + (_IC, _UTNC, _Sho, _TNh), + ( + (lambda: schemas.INTEGER, {_sN: _iC}), + (lambda: schemas.INTEGER, {_sN: _uTNC}), + (lambda: schemas.BOOLEAN, {_sN: _sho}), + (SCAN_THREAT_NAMES, {_sN: _tNh}), + ), +) + +THREATS_DETECTED_ITEM_COUNT: StaticSchema = ( + 18, + n0, + _TDIC, + 0, + (_Fi,), + ((lambda: schemas.INTEGER, {_sN: _fi}),), +) + +SCAN_DETECTIONS: StaticSchema = ( + 18, + n0, + _SDc, + 0, + (_SIC, _TDIC, _HSTD, _TDBN), + ( + (SCANNED_ITEM_COUNT, {_sN: _sIC}), + (THREATS_DETECTED_ITEM_COUNT, {_sN: _tDIC}), + (HIGHEST_SEVERITY_THREAT_DETAILS, {_sN: _hSTD}), + (THREAT_DETECTED_BY_NAME, {_sN: _tDBN}), + ), +) + +SOURCES: StaticSchema = (16, n0, _So, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +EBS_VOLUME_SCAN_DETAILS: StaticSchema = ( + 18, + n0, + _EVSD, + 0, + (_SIc, _SSA, _SCA, _TFI, _So, _SDc, _STc), + ( + (lambda: schemas.STRING, {_sN: _sI}), + (lambda: schemas.TIMESTAMP, {_sN: _sSA}), + (lambda: schemas.TIMESTAMP, {_sN: _sCA}), + (lambda: schemas.STRING, {_sN: _tFI}), + (SOURCES, {_sN: _so}), + (SCAN_DETECTIONS, {_sN: _sD}), + (lambda: schemas.SCAN_TYPE, {_sN: _sTc}), + ), +) + +EC2_IMAGE_DETAILS: StaticSchema = ( + 18, + n0, + _EIDc, + 0, + (_IAm,), + ((lambda: schemas.STRING, {_sN: _iAm}),), +) + +HOST_PATH: StaticSchema = ( + 18, + n0, + _HP, + 0, + (_Pat,), + ((lambda: schemas.STRING, {_sN: _pat}),), +) + +VOLUME: StaticSchema = ( + 18, + n0, + _Vol, + 0, + (_N, _HP), + ((lambda: schemas.STRING, {_sN: _n}), (HOST_PATH, {_sN: _hP})), +) + +VOLUMES: StaticSchema = (16, n0, _Vo, 0, (_me,), ((VOLUME, 0),)) + +ECS_TASK_DETAILS: StaticSchema = ( + 18, + n0, + _ETD, + 0, + (_Ar, _DAe, _Ve, _TCA, _SAt, _SBt, _Ta, _Vo, _Conta, _Gr, _LTa), + ( + (lambda: schemas.STRING, {_sN: _ar}), + (lambda: schemas.STRING, {_sN: _dAe}), + (lambda: schemas.STRING, {_sN: _ver}), + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + (lambda: schemas.TIMESTAMP, {_sN: _sAt}), + (lambda: schemas.STRING, {_sN: _sBt}), + (lambda: schemas.TAGS, {_sN: _ta}), + (VOLUMES, {_sN: _vo}), + (lambda: schemas.CONTAINERS, {_sN: _conta}), + (lambda: schemas.STRING, {_sN: _gr}), + (lambda: schemas.STRING, {_sN: _lTa}), + ), +) + +ECS_CLUSTER_DETAILS: StaticSchema = ( + 18, + n0, + _ECDc, + 0, + (_N, _Ar, _St, _ASCc, _RCIC, _RTC, _Ta, _TDa), + ( + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.STRING, {_sN: _ar}), + (lambda: schemas.STRING, {_sN: _st}), + (lambda: schemas.INTEGER, {_sN: _aSC}), + (lambda: schemas.INTEGER, {_sN: _rCIC}), + (lambda: schemas.INTEGER, {_sN: _rTC}), + (lambda: schemas.TAGS, {_sN: _ta}), + (ECS_TASK_DETAILS, {_sN: _tDa}), + ), +) + +EKS_CLUSTER_DETAILS: StaticSchema = ( + 18, + n0, + _ECD, + 0, + (_N, _Ar, _VIp, _St, _Ta, _CA), + ( + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.STRING, {_sN: _ar}), + (lambda: schemas.STRING, {_sN: _vIp}), + (lambda: schemas.STRING, {_sN: _st}), + (lambda: schemas.TAGS, {_sN: _ta}), + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + ), +) + +ENABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _EOAAI, + {_sSI: _cEOAAR, _s: None}, + (_AAId,), + ((lambda: schemas.STRING, {_sN: _aAI, _sm: None}),), +) + +ENABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _EOAAO, + {_sSI: _cEOAARo, _smi: None}, +) + +ENABLE_ORGANIZATION_ADMIN_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _EOAA, + {_smith: MappingProxyType({"method": "POST", "uri": "/admin/enable", "code": 200})}, + ENABLE_ORGANIZATION_ADMIN_ACCOUNT_INPUT, + ENABLE_ORGANIZATION_ADMIN_ACCOUNT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +THREAT_NAMES: StaticSchema = (16, n0, _TNh, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +THREAT_INTELLIGENCE_DETAIL: StaticSchema = ( + 18, + n0, + _TID, + 0, + (_TLN, _TNh, _TFS), + ( + (lambda: schemas.STRING, {_sN: _tLN}), + (THREAT_NAMES, {_sN: _tNh}), + (lambda: schemas.STRING, {_sN: _tFS}), + ), +) + +THREAT_INTELLIGENCE_DETAILS: StaticSchema = ( + 16, + n0, + _TIDh, + 0, + (_me,), + ((THREAT_INTELLIGENCE_DETAIL, 0),), +) + +EVIDENCE: StaticSchema = ( + 18, + n0, + _Ev, + 0, + (_TIDh,), + ((THREAT_INTELLIGENCE_DETAILS, {_sN: _tID}),), +) + +FEEDBACK: StaticSchema = ( + 14, + n0, + _Fe, + 0, + (_USEFUL, _NU), + ((-1, {_sV: _USEFUL}), (-1, {_sV: _NU})), +) + +FILTER_NAMES: StaticSchema = ( + 16, + n0, + _FNil, + 0, + (_me,), + ((lambda: schemas.FILTER_NAME, 0),), +) + +FILTER_VERSION: StaticSchema = (8, n0, _FV, 0) + +NETWORK_INTERFACE: StaticSchema = ( + 18, + n0, + _NIe, + 0, + (_IAp, _NII, _PDN, _PIA, _PIAr, _PDNu, _PIu, _SGe, _SIu, _VIp), + ( + (lambda: schemas.IPV6_ADDRESSES, {_sN: _iAp}), + (lambda: schemas.STRING, {_sN: _nII}), + (lambda: schemas.STRING, {_sN: _pDN}), + (lambda: schemas.SENSITIVE_STRING, {_sN: _pIA}), + (lambda: schemas.PRIVATE_IP_ADDRESSES, {_sN: _pIAr}), + (lambda: schemas.STRING, {_sN: _pDNu}), + (lambda: schemas.STRING, {_sN: _pIu}), + (lambda: schemas.SECURITY_GROUPS, {_sN: _sG}), + (lambda: schemas.STRING, {_sN: _sIu}), + (lambda: schemas.STRING, {_sN: _vIp}), + ), +) + +NETWORK_INTERFACES: StaticSchema = (16, n0, _NIet, 0, (_me,), ((NETWORK_INTERFACE, 0),)) + +INSTANCE_DETAILS: StaticSchema = ( + 18, + n0, + _IDn, + 0, + (_AZ, _IIP, _ID, _IIm, _IIn, _IS, _IT, _OA, _LTau, _NIet, _Pl, _PCr, _Ta), + ( + (lambda: schemas.STRING, {_sN: _aZ}), + (lambda: schemas.IAM_INSTANCE_PROFILE, {_sN: _iIP}), + (lambda: schemas.STRING, {_sN: _iD}), + (lambda: schemas.STRING, {_sN: _iIm}), + (lambda: schemas.STRING, {_sN: _iIn}), + (lambda: schemas.STRING, {_sN: _iS}), + (lambda: schemas.STRING, {_sN: _iT}), + (lambda: schemas.STRING, {_sN: _oA}), + (lambda: schemas.STRING, {_sN: _lTau}), + (NETWORK_INTERFACES, {_sN: _nI}), + (lambda: schemas.STRING, {_sN: _pl}), + (lambda: schemas.PRODUCT_CODES, {_sN: _pC}), + (lambda: schemas.TAGS, {_sN: _ta}), + ), +) + +GROUPS: StaticSchema = (16, n0, _Gro, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +IMPERSONATED_USER: StaticSchema = ( + 18, + n0, + _IUm, + 0, + (_Use, _Gro), + ((lambda: schemas.STRING, {_sN: _use}), (GROUPS, {_sN: _gro})), +) + +SESSION_NAME_LIST: StaticSchema = ( + 16, + n0, + _SNL, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +KUBERNETES_USER_DETAILS: StaticSchema = ( + 18, + n0, + _KUD, + 0, + (_Use, _U, _Gro, _SNe, _IUm), + ( + (lambda: schemas.STRING, {_sN: _use}), + (lambda: schemas.STRING, {_sN: _u}), + (GROUPS, {_sN: _gro}), + (SESSION_NAME_LIST, {_sN: _sNes}), + (IMPERSONATED_USER, {_sN: _iUm}), + ), +) + +KUBERNETES_WORKLOAD_DETAILS: StaticSchema = ( + 18, + n0, + _KWD, + 0, + (_N, _T, _U, _Na, _HN, _SAN, _Conta, _Vo, _HIPC, _HPID), + ( + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.STRING, {_sN: _t}), + (lambda: schemas.STRING, {_sN: _u}), + (lambda: schemas.STRING, {_sN: _na}), + (lambda: schemas.BOOLEAN, {_sN: _hN}), + (lambda: schemas.STRING, {_sN: _sAN}), + (lambda: schemas.CONTAINERS, {_sN: _conta}), + (VOLUMES, {_sN: _vo}), + (lambda: schemas.BOOLEAN, {_sN: _hIPC}), + (lambda: schemas.BOOLEAN, {_sN: _hPID}), + ), +) + +KUBERNETES_DETAILS: StaticSchema = ( + 18, + n0, + _KD, + 0, + (_KUD, _KWD), + ( + (KUBERNETES_USER_DETAILS, {_sN: _kUD}), + (KUBERNETES_WORKLOAD_DETAILS, {_sN: _kWD}), + ), +) + +SUBNET_IDS: StaticSchema = (16, n0, _SIub, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +VPC_CONFIG: StaticSchema = ( + 18, + n0, + _VC, + 0, + (_SIub, _VIp, _SGe), + ( + (SUBNET_IDS, {_sN: _sIub}), + (lambda: schemas.STRING, {_sN: _vIp}), + (lambda: schemas.SECURITY_GROUPS, {_sN: _sG}), + ), +) + +LAMBDA_DETAILS: StaticSchema = ( + 18, + n0, + _LD, + 0, + (_FAu, _FNu, _De, _LMA, _RIev, _FVu, _Ro, _VC, _Ta), + ( + (lambda: schemas.STRING, {_sN: _fA}), + (lambda: schemas.STRING, {_sN: _fNu}), + (lambda: schemas.STRING, {_sN: _de}), + (lambda: schemas.TIMESTAMP, {_sN: _lMA}), + (lambda: schemas.STRING, {_sN: _rIev}), + (lambda: schemas.STRING, {_sN: _fV}), + (lambda: schemas.STRING, {_sN: _ro}), + (VPC_CONFIG, {_sN: _vC}), + (lambda: schemas.TAGS, {_sN: _ta}), + ), +) + +MODEL_DETAIL: StaticSchema = ( + 18, + n0, + _MDo, + 0, + (_MIo,), + ((lambda: schemas.STRING, {_sN: _mIo}),), +) + +MODEL_DETAILS: StaticSchema = (16, n0, _MDod, 0, (_me,), ((MODEL_DETAIL, 0),)) + +RDS_DB_INSTANCE_DETAILS: StaticSchema = ( + 18, + n0, + _RDID, + 0, + (_DIIb, _Eng, _EVn, _DCI, _DIA, _DRI, _Ta), + ( + (lambda: schemas.STRING, {_sN: _dII}), + (lambda: schemas.STRING, {_sN: _eng}), + (lambda: schemas.STRING, {_sN: _eVn}), + (lambda: schemas.STRING, {_sN: _dCI}), + (lambda: schemas.STRING, {_sN: _dIA}), + (lambda: schemas.STRING, {_sN: _dRI}), + (lambda: schemas.TAGS, {_sN: _ta}), + ), +) + +RDS_DB_USER_DETAILS: StaticSchema = ( + 18, + n0, + _RDUD, + 0, + (_Us, _App, _Data, _Ss, _AMu), + ( + (lambda: schemas.STRING, {_sN: _us}), + (lambda: schemas.STRING, {_sN: _app}), + (lambda: schemas.STRING, {_sN: _data}), + (lambda: schemas.STRING, {_sN: _ss}), + (lambda: schemas.STRING, {_sN: _aM}), + ), +) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_5.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_5.py new file mode 100644 index 000000000..719385d00 --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_5.py @@ -0,0 +1,1505 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.guardduty" +_DI = "DetectorId" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sN = "smithy.api#jsonName" +_smi = "smithy.api#output" +_T = "Type" +_t = "type" +_smith = "smithy.api#http" +_AKD = "AccessKeyDetails" +_N = "Name" +_AIcc = "AccountId" +_aIc = "accountId" +_me = "member" +_CT = "CloudTrail" +_sV = "smithy.api#enumValue" +_CT_ = "CLOUD_TRAIL" +_n = "name" +_DS = "DataSources" +_dS = "dataSources" +_F = "Features" +_f = "features" +_ALP = "AccountLevelPermissions" +_LGA = "LastGeneratedAt" +_lGA = "lastGeneratedAt" +_TF = "TotalFindings" +_tF = "totalFindings" +_ke = "key" +_v = "value" +_SN = "ServiceName" +_sNe = "serviceName" +_R = "Resource" +_r = "resource" +_Us = "User" +_us = "user" +_Ac = "Action" +_Se = "Service" +_ser = "service" +_Id = "Id" +_id = "id" +_Pr = "Process" +_pr = "process" +_AId = "AdditionalInfo" +_VI = "VersionId" +_vI = "versionId" +_FT = "FindingType" +_Ad = "Administrator" +_Ve = "Version" +_ver = "version" +_FIi = "FindingIds" +_fI = "findingIds" +_AIs = "AssociationId" +_RI = "RuleId" +_Ar = "Arn" +_ar = "arn" +_rI = "ruleId" +_Mo = "Mode" +_mo = "mode" +_CA = "CreatedAt" +_cA = "createdAt" +_UAp = "UpdatedAt" +_uAp = "updatedAt" +_Con = "Confidence" +_con = "confidence" +_ac = "action" +_BGD = "BedrockGuardrailDetails" +_BLP = "BucketLevelPermissions" +_Re = "Region" +_re = "region" +_St = "Status" +_st = "status" +_CSD = "ContinuousScanDetails" +_ST = "StartTime" +_sT = "startTime" +_ET = "EndTime" +_eT = "endTime" +_RT = "ResourceType" +_CBS = "CountBySeverity" +_ECD = "EksClusterDetails" +_eCD = "eksClusterDetails" +_ECDc = "EcsClusterDetails" +_eCDc = "ecsClusterDetails" +_rT = "resourceType" +_RIe = "ResourceId" +_rIe = "resourceId" +_dI = "detectorId" +_OB = "OrderBy" +_oB = "orderBy" +_CSov = "CoverageStatistics" +_Ta = "Tags" +_ta = "tags" +_RA = "RuleAssociation" +_rA = "ruleAssociation" +_FPF = "FindingPublishingFrequency" +_fPF = "findingPublishingFrequency" +_SR = "ServiceRole" +_sR = "serviceRole" +_FCin = "FindingCriteria" +_FN = "FilterName" +_De = "Description" +_de = "description" +_Ra = "Rank" +_ra = "rank" +_fCin = "findingCriteria" +_DSa = "DataSource" +_Sev = "Severity" +_sev = "severity" +_DSSE = "DefaultServerSideEncryption" +_sQ = "smithy.api#httpQuery" +_FCil = "FilterCriteria" +_SCo = "SortCriteria" +_NT = "NextToken" +_nT = "nextToken" +_MR = "MaxResults" +_mR = "maxResults" +_fCil = "filterCriteria" +_sCo = "sortCriteria" +_STc = "ScanType" +_TT = "TriggerType" +_tT = "triggerType" +_SIc = "ScanId" +_sI = "scanId" +_sTc = "scanType" +_EP = "EffectivePermission" +_eP = "effectivePermission" +_ETa = "ETag" +_eTa = "eTag" +_Ke = "Key" +_Va = "Value" +_Tit = "Title" +_ti = "title" +_Cou = "Count" +_cou = "count" +_Det = "Detection" +_dSa = "dataSource" +_SEVERITY = "SEVERITY" +_tac = "tactic" +_tec = "technique" +_ESD = "EbsSnapshotDetails" +_EVD = "EbsVolumeDetails" +_FP = "FilePath" +_fP = "filePath" +_Ha = "Hash" +_h = "hash" +_EVSD = "EbsVolumeScanDetails" +_EIDc = "Ec2ImageDetails" +_Ev = "Evidence" +_IDn = "InstanceDetails" +_KD = "KubernetesDetails" +_LD = "LambdaDetails" +_MDod = "ModelDetails" +_RDID = "RdsDbInstanceDetails" +_Eng = "Engine" +_eng = "engine" +_EVn = "EngineVersion" +_eVn = "engineVersion" +_DCI = "DbClusterIdentifier" +_dCI = "dbClusterIdentifier" +_RDUD = "RdsDbUserDetails" +_RLDD = "RdsLimitlessDbDetails" +_DSGI = "DbShardGroupIdentifier" +_dSGI = "dbShardGroupIdentifier" +_DSGRI = "DbShardGroupResourceId" +_dSGRI = "dbShardGroupResourceId" +_DSGA = "DbShardGroupArn" +_dSGA = "dbShardGroupArn" +_SCCSD = "ScanConfigurationContinuousScanDetails" +_RPDe = "RecoveryPointDetails" +_RPA = "RecoveryPointArn" +_rPA = "recoveryPointArn" +_BVN = "BackupVaultName" +_bVN = "backupVaultName" +_cSD = "continuousScanDetails" +_Ow = "Owner" +_PCe = "PermissionConfiguration" +_bLP = "bucketLevelPermissions" +_aLP = "accountLevelPermissions" +_PAu = "PublicAccess" +_pCe = "permissionConfiguration" +_SOD = "S3ObjectDetail" +_OAb = "ObjectArn" +_oAb = "objectArn" +_SODb = "S3ObjectDetails" +_SBD = "S3BucketDetail" +_ow = "owner" +_dSSE = "defaultServerSideEncryption" +_pA = "publicAccess" +_sOD = "s3ObjectDetails" +_SBDu = "S3BucketDetails" +_aKD = "accessKeyDetails" +_sBD = "s3BucketDetails" +_iDn = "instanceDetails" +_kD = "kubernetesDetails" +_eVD = "ebsVolumeDetails" +_CDo = "ContainerDetails" +_cDo = "containerDetails" +_lD = "lambdaDetails" +_rDID = "rdsDbInstanceDetails" +_rLDD = "rdsLimitlessDbDetails" +_rDUD = "rdsDbUserDetails" +_eSD = "ebsSnapshotDetails" +_eIDc = "ec2ImageDetails" +_rPDe = "recoveryPointDetails" +_bGD = "bedrockGuardrailDetails" +_mD = "modelDetails" +_SAI = "ServiceAdditionalInfo" +_SCc = "ScanCategory" +_FS_ = "FULL_SCAN" +_IS_ = "INCREMENTAL_SCAN" +_ISD = "IncrementalScanDetails" +_MPFSC = "MalwareProtectionFindingsScanConfiguration" +_iSD = "incrementalScanDetails" +_IDt = "ItemDetails" +_RAe = "ResourceArn" +_rAe = "resourceArn" +_IPt = "ItemPath" +_iPt = "itemPath" +_aId = "additionalInfo" +_IDL = "ItemDetailsList" +_NIP = "NestedItemPath" +_nIP = "nestedItemPath" +_IPte = "ItemPaths" +_Th = "Threat" +_Sou = "Source" +_sou = "source" +_iPte = "itemPaths" +_iDt = "itemDetails" +_Thr = "Threats" +_MSD = "MalwareScanDetails" +_th = "threats" +_sCc = "scanCategory" +_SCca = "ScanConfiguration" +_sCca = "scanConfiguration" +_UTC = "UniqueThreatCount" +_uTC = "uniqueThreatCount" +_FLl = "FlagsList" +_MRL = "MemoryRegionsList" +_LO = "LineageObject" +_NP = "NamespacePid" +_nP = "namespacePid" +_UI = "UserId" +_uI = "userId" +_Pi = "Pid" +_pi = "pid" +_Uu = "Uuid" +_uu = "uuid" +_EPx = "ExecutablePath" +_ePx = "executablePath" +_Eu = "Euid" +_eu = "euid" +_PU = "ParentUuid" +_pU = "parentUuid" +_Li = "Lineage" +_PD = "ProcessDetails" +_ESx = "ExecutableSha256" +_eS = "executableSha256" +_Pw = "Pwd" +_pw = "pwd" +_li = "lineage" +_RFPL = "RelatedFilePathsList" +_RC = "RuntimeContext" +_MPod = "ModifyingProcess" +_mPod = "modifyingProcess" +_MA = "ModifiedAt" +_mA = "modifiedAt" +_SPc = "ScriptPath" +_sP = "scriptPath" +_LP = "LibraryPath" +_lP = "libraryPath" +_LPV = "LdPreloadValue" +_lPV = "ldPreloadValue" +_SPo = "SocketPath" +_sPo = "socketPath" +_RBP = "RuncBinaryPath" +_rBP = "runcBinaryPath" +_RAP = "ReleaseAgentPath" +_rAP = "releaseAgentPath" +_MSo = "MountSource" +_mSo = "mountSource" +_MTo = "MountTarget" +_mTo = "mountTarget" +_FST = "FileSystemType" +_fST = "fileSystemType" +_Fl = "Flags" +_fl = "flags" +_MN = "ModuleName" +_mN = "moduleName" +_MFP = "ModuleFilePath" +_mFP = "moduleFilePath" +_MSod = "ModuleSha256" +_mSod = "moduleSha256" +_SHFP = "ShellHistoryFilePath" +_sHFP = "shellHistoryFilePath" +_TPa = "TargetProcess" +_tPa = "targetProcess" +_AFd = "AddressFamily" +_aF = "addressFamily" +_IPN = "IanaProtocolNumber" +_iPN = "ianaProtocolNumber" +_MRe = "MemoryRegions" +_mRe = "memoryRegions" +_TNo = "ToolName" +_tNo = "toolName" +_TC = "ToolCategory" +_tC = "toolCategory" +_CLE = "CommandLineExample" +_cLE = "commandLineExample" +_TFP = "ThreatFilePath" +_tFP = "threatFilePath" +_FO = "FileOperation" +_fO = "fileOperation" +_RFP = "RelatedFilePaths" +_rFP = "relatedFilePaths" +_RDu = "RuntimeDetails" +_Conte = "Context" +_conte = "context" +_ev = "evidence" +_Arc = "Archived" +_arc = "archived" +_EFS = "EventFirstSeen" +_eFS = "eventFirstSeen" +_ELS = "EventLastSeen" +_eLS = "eventLastSeen" +_RR = "ResourceRole" +_rR = "resourceRole" +_UF = "UserFeedback" +_uF = "userFeedback" +_FNe = "FeatureName" +_fNe = "featureName" +_eVSD = "ebsVolumeScanDetails" +_rDu = "runtimeDetails" +_det = "detection" +_mSD = "malwareScanDetails" +_Fin = "Finding" +_Par = "Partition" +_par = "partition" +_SV = "SchemaVersion" +_sVc = "schemaVersion" +_AASA = "AssociatedAttackSequenceArn" +_aASA = "associatedAttackSequenceArn" +_CDRN = "CustomDetectionRuleName" +_cDRN = "customDetectionRuleName" +_Find = "Findings" +_GBA = "GroupedByAccount" +_GBD = "GroupedByDate" +_FTS = "FindingTypeStatistics" +_fTi = "findingType" +_GBFT = "GroupedByFindingType" +_RSe = "ResourceStatistics" +_GBR = "GroupedByResource" +_SSe = "SeverityStatistics" +_GBS = "GroupedBySeverity" +_FSi = "FindingStatistics" +_cBS = "countBySeverity" +_gBA = "groupedByAccount" +_gBD = "groupedByDate" +_gBFT = "groupedByFindingType" +_gBR = "groupedByResource" +_gBS = "groupedBySeverity" +_FSTi = "FindingStatisticType" +_CBS_ = "COUNT_BY_SEVERITY" +_FSTin = "FindingStatisticTypes" +_GAAI = "GetAdministratorAccountInput" +_cGAAR = "com.amazonaws.guardduty#GetAdministratorAccountRequest" +_GAAO = "GetAdministratorAccountOutput" +_cGAARo = "com.amazonaws.guardduty#GetAdministratorAccountResponse" +_ad = "administrator" +_GAA = "GetAdministratorAccount" +_GCSI = "GetCoverageStatisticsInput" +_cGCSR = "com.amazonaws.guardduty#GetCoverageStatisticsRequest" +_STt = "StatisticsType" +_sTt = "statisticsType" +_GCSO = "GetCoverageStatisticsOutput" +_cGCSRo = "com.amazonaws.guardduty#GetCoverageStatisticsResponse" +_cSo = "coverageStatistics" +_GCS = "GetCoverageStatistics" +_GCDRI = "GetCustomDetectionRuleInput" +_cGCDRR = "com.amazonaws.guardduty#GetCustomDetectionRuleRequest" +_RE = "RuleExpression" +_RDul = "RuleDefinition" +_Ex = "Expression" +_ex = "expression" +_RL = "RuleLanguage" +_SQL = "SQL" +_RNu = "RuleName" +_RSu = "RuleSchema" +_MTi = "MitreTactic" +_MTit = "MitreTechnique" +_RDule = "RuleDetail" +_Tac = "Tactic" +_Tec = "Technique" +_Def = "Definition" +_def = "definition" +_Lan = "Language" +_la = "language" +_Sch = "Schema" +_sch = "schema" +_RMD = "RuntimeMonitoringDetails" +_rMD = "runtimeMonitoringDetails" +_GCDRO = "GetCustomDetectionRuleOutput" +_cGCDRRo = "com.amazonaws.guardduty#GetCustomDetectionRuleResponse" +_Ru = "Rule" +_ru = "rule" +_GCDR = "GetCustomDetectionRule" +_GCDRAI = "GetCustomDetectionRuleAssociationInput" +_cGCDRAR = "com.amazonaws.guardduty#GetCustomDetectionRuleAssociationRequest" +_GCDRAO = "GetCustomDetectionRuleAssociationOutput" +_cGCDRARo = "com.amazonaws.guardduty#GetCustomDetectionRuleAssociationResponse" +_GCDRA = "GetCustomDetectionRuleAssociation" +_GCDROCI = "GetCustomDetectionRuleOrgConfigurationInput" +_cGCDROCR = "com.amazonaws.guardduty#GetCustomDetectionRuleOrgConfigurationRequest" +_GCDROCO = "GetCustomDetectionRuleOrgConfigurationOutput" +_cGCDROCRo = "com.amazonaws.guardduty#GetCustomDetectionRuleOrgConfigurationResponse" +_Conf = "Configuration" +_conf = "configuration" +_GCDROC = "GetCustomDetectionRuleOrgConfiguration" +_GDI = "GetDetectorInput" +_cGDR = "com.amazonaws.guardduty#GetDetectorRequest" +_GDO = "GetDetectorOutput" +_cGDRo = "com.amazonaws.guardduty#GetDetectorResponse" +_GD = "GetDetector" +_GFIe = "GetFilterInput" +_cGFR = "com.amazonaws.guardduty#GetFilterRequest" +_GFO = "GetFilterOutput" +_cGFRo = "com.amazonaws.guardduty#GetFilterResponse" +_GF = "GetFilter" +_GFIet = "GetFindingsInput" +_cGFRom = "com.amazonaws.guardduty#GetFindingsRequest" +_GFOe = "GetFindingsOutput" +_cGFRoma = "com.amazonaws.guardduty#GetFindingsResponse" +_fin = "findings" +_GFe = "GetFindings" +_GBT = "GroupByType" +_ACCOUNT = "ACCOUNT" +_DATE = "DATE" +_FT_ = "FINDING_TYPE" +_RESOURCE = "RESOURCE" +_MRa = "MaxResults100" +_GFSI = "GetFindingsStatisticsInput" +_cGFSR = "com.amazonaws.guardduty#GetFindingsStatisticsRequest" +_fSTi = "findingStatisticTypes" +_GB = "GroupBy" +_gB = "groupBy" +_GFSO = "GetFindingsStatisticsOutput" +_cGFSRo = "com.amazonaws.guardduty#GetFindingsStatisticsResponse" +_fS = "findingStatistics" +_GFS = "GetFindingsStatistics" + +RDS_LIMITLESS_DB_DETAILS: StaticSchema = ( + 18, + n0, + _RLDD, + 0, + (_DSGI, _DSGRI, _DSGA, _Eng, _EVn, _DCI, _Ta), + ( + (lambda: schemas.STRING, {_sN: _dSGI}), + (lambda: schemas.STRING, {_sN: _dSGRI}), + (lambda: schemas.STRING, {_sN: _dSGA}), + (lambda: schemas.STRING, {_sN: _eng}), + (lambda: schemas.STRING, {_sN: _eVn}), + (lambda: schemas.STRING, {_sN: _dCI}), + (lambda: schemas.TAGS, {_sN: _ta}), + ), +) + +SCAN_CONFIGURATION_CONTINUOUS_SCAN_DETAILS: StaticSchema = ( + 18, + n0, + _SCCSD, + 0, + (_ST, _ET), + ( + (lambda: schemas.TIMESTAMP, {_sN: _sT}), + (lambda: schemas.TIMESTAMP, {_sN: _eT, _sm: None}), + ), +) + +RECOVERY_POINT_DETAILS: StaticSchema = ( + 18, + n0, + _RPDe, + 0, + (_RPA, _BVN, _CSD), + ( + (lambda: schemas.STRING, {_sN: _rPA}), + (lambda: schemas.STRING, {_sN: _bVN}), + (SCAN_CONFIGURATION_CONTINUOUS_SCAN_DETAILS, {_sN: _cSD}), + ), +) + +OWNER: StaticSchema = (18, n0, _Ow, 0, (_Id,), ((lambda: schemas.STRING, {_sN: _id}),)) + +PERMISSION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCe, + 0, + (_BLP, _ALP), + ( + (lambda: schemas.BUCKET_LEVEL_PERMISSIONS, {_sN: _bLP}), + (lambda: schemas.ACCOUNT_LEVEL_PERMISSIONS, {_sN: _aLP}), + ), +) + +PUBLIC_ACCESS: StaticSchema = ( + 18, + n0, + _PAu, + 0, + (_PCe, _EP), + ((PERMISSION_CONFIGURATION, {_sN: _pCe}), (lambda: schemas.STRING, {_sN: _eP})), +) + +S3_OBJECT_DETAIL: StaticSchema = ( + 18, + n0, + _SOD, + 0, + (_OAb, _Ke, _ETa, _Ha, _VI), + ( + (lambda: schemas.STRING, {_sN: _oAb}), + (lambda: schemas.STRING, {_sN: _ke}), + (lambda: schemas.STRING, {_sN: _eTa}), + (lambda: schemas.STRING, {_sN: _h}), + (lambda: schemas.STRING, {_sN: _vI}), + ), +) + +S3_OBJECT_DETAILS: StaticSchema = (16, n0, _SODb, 0, (_me,), ((S3_OBJECT_DETAIL, 0),)) + +S3_BUCKET_DETAIL: StaticSchema = ( + 18, + n0, + _SBD, + 0, + (_Ar, _N, _T, _CA, _Ow, _Ta, _DSSE, _PAu, _SODb), + ( + (lambda: schemas.STRING, {_sN: _ar}), + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.STRING, {_sN: _t}), + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + (OWNER, {_sN: _ow}), + (lambda: schemas.TAGS, {_sN: _ta}), + (lambda: schemas.DEFAULT_SERVER_SIDE_ENCRYPTION, {_sN: _dSSE}), + (PUBLIC_ACCESS, {_sN: _pA}), + (S3_OBJECT_DETAILS, {_sN: _sOD}), + ), +) + +S3_BUCKET_DETAILS: StaticSchema = (16, n0, _SBDu, 0, (_me,), ((S3_BUCKET_DETAIL, 0),)) + +RESOURCE: StaticSchema = ( + 18, + n0, + _R, + 0, + ( + _AKD, + _SBDu, + _IDn, + _ECD, + _KD, + _RT, + _EVD, + _ECDc, + _CDo, + _LD, + _RDID, + _RLDD, + _RDUD, + _ESD, + _EIDc, + _RPDe, + _BGD, + _MDod, + ), + ( + (lambda: schemas.ACCESS_KEY_DETAILS, {_sN: _aKD}), + (S3_BUCKET_DETAILS, {_sN: _sBD}), + (lambda: schemas.INSTANCE_DETAILS, {_sN: _iDn}), + (lambda: schemas.EKS_CLUSTER_DETAILS, {_sN: _eCD}), + (lambda: schemas.KUBERNETES_DETAILS, {_sN: _kD}), + (lambda: schemas.STRING, {_sN: _rT}), + (lambda: schemas.EBS_VOLUME_DETAILS, {_sN: _eVD}), + (lambda: schemas.ECS_CLUSTER_DETAILS, {_sN: _eCDc}), + (lambda: schemas.CONTAINER, {_sN: _cDo}), + (lambda: schemas.LAMBDA_DETAILS, {_sN: _lD}), + (lambda: schemas.RDS_DB_INSTANCE_DETAILS, {_sN: _rDID}), + (RDS_LIMITLESS_DB_DETAILS, {_sN: _rLDD}), + (lambda: schemas.RDS_DB_USER_DETAILS, {_sN: _rDUD}), + (lambda: schemas.EBS_SNAPSHOT_DETAILS, {_sN: _eSD}), + (lambda: schemas.EC2_IMAGE_DETAILS, {_sN: _eIDc}), + (RECOVERY_POINT_DETAILS, {_sN: _rPDe}), + (lambda: schemas.BEDROCK_GUARDRAIL_DETAILS, {_sN: _bGD}), + (lambda: schemas.MODEL_DETAILS, {_sN: _mD}), + ), +) + +SERVICE_ADDITIONAL_INFO: StaticSchema = ( + 18, + n0, + _SAI, + 0, + (_Va, _T), + ((lambda: schemas.STRING, {_sN: _v}), (lambda: schemas.STRING, {_sN: _t})), +) + +SCAN_CATEGORY: StaticSchema = ( + 14, + n0, + _SCc, + 0, + (_FS_, _IS_), + ((-1, {_sV: _FS_}), (-1, {_sV: _IS_})), +) + +MALWARE_PROTECTION_FINDINGS_SCAN_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MPFSC, + 0, + (_TT, _ISD), + ( + (lambda: schemas.TRIGGER_TYPE, {_sN: _tT}), + (lambda: schemas.INCREMENTAL_SCAN_DETAILS, {_sN: _iSD}), + ), +) + +ITEM_DETAILS: StaticSchema = ( + 18, + n0, + _IDt, + 0, + (_RAe, _IPt, _Ha, _AId), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _rAe}), + (lambda: schemas.NON_EMPTY_STRING, {_sN: _iPt}), + (lambda: schemas.STRING, {_sN: _h}), + (lambda: schemas.ADDITIONAL_INFO, {_sN: _aId}), + ), +) + +ITEM_DETAILS_LIST: StaticSchema = (16, n0, _IDL, 0, (_me,), ((ITEM_DETAILS, 0),)) + +ITEM_PATH: StaticSchema = ( + 18, + n0, + _IPt, + 0, + (_NIP, _Ha), + ((lambda: schemas.STRING, {_sN: _nIP}), (lambda: schemas.STRING, {_sN: _h})), +) + +ITEM_PATHS: StaticSchema = (16, n0, _IPte, 0, (_me,), ((ITEM_PATH, 0),)) + +THREAT: StaticSchema = ( + 18, + n0, + _Th, + 0, + (_N, _Sou, _IPte, _Cou, _Ha, _IDt), + ( + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.STRING, {_sN: _sou}), + (ITEM_PATHS, {_sN: _iPte}), + (lambda: schemas.LONG, {_sN: _cou}), + (lambda: schemas.STRING, {_sN: _h}), + (ITEM_DETAILS_LIST, {_sN: _iDt}), + ), +) + +THREATS: StaticSchema = (16, n0, _Thr, 0, (_me,), ((THREAT, 0),)) + +MALWARE_SCAN_DETAILS: StaticSchema = ( + 18, + n0, + _MSD, + 0, + (_Thr, _SIc, _STc, _SCc, _SCca, _UTC), + ( + (THREATS, {_sN: _th}), + (lambda: schemas.STRING, {_sN: _sI}), + (lambda: schemas.MALWARE_PROTECTION_SCAN_TYPE, {_sN: _sTc}), + (SCAN_CATEGORY, {_sN: _sCc}), + (MALWARE_PROTECTION_FINDINGS_SCAN_CONFIGURATION, {_sN: _sCca}), + (lambda: schemas.INTEGER, {_sN: _uTC}), + ), +) + +FLAGS_LIST: StaticSchema = (16, n0, _FLl, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +MEMORY_REGIONS_LIST: StaticSchema = ( + 16, + n0, + _MRL, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +LINEAGE_OBJECT: StaticSchema = ( + 18, + n0, + _LO, + 0, + (_ST, _NP, _UI, _N, _Pi, _Uu, _EPx, _Eu, _PU), + ( + (lambda: schemas.TIMESTAMP, {_sN: _sT}), + (lambda: schemas.INTEGER, {_sN: _nP}), + (lambda: schemas.INTEGER, {_sN: _uI}), + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.INTEGER, {_sN: _pi}), + (lambda: schemas.STRING, {_sN: _uu}), + (lambda: schemas.STRING, {_sN: _ePx}), + (lambda: schemas.INTEGER, {_sN: _eu}), + (lambda: schemas.STRING, {_sN: _pU}), + ), +) + +LINEAGE: StaticSchema = (16, n0, _Li, 0, (_me,), ((LINEAGE_OBJECT, 0),)) + +PROCESS_DETAILS: StaticSchema = ( + 18, + n0, + _PD, + 0, + (_N, _EPx, _ESx, _NP, _Pw, _Pi, _ST, _Uu, _PU, _Us, _UI, _Eu, _Li), + ( + (lambda: schemas.STRING, {_sN: _n}), + (lambda: schemas.STRING, {_sN: _ePx}), + (lambda: schemas.STRING, {_sN: _eS}), + (lambda: schemas.INTEGER, {_sN: _nP}), + (lambda: schemas.STRING, {_sN: _pw}), + (lambda: schemas.INTEGER, {_sN: _pi}), + (lambda: schemas.TIMESTAMP, {_sN: _sT}), + (lambda: schemas.STRING, {_sN: _uu}), + (lambda: schemas.STRING, {_sN: _pU}), + (lambda: schemas.STRING, {_sN: _us}), + (lambda: schemas.INTEGER, {_sN: _uI}), + (lambda: schemas.INTEGER, {_sN: _eu}), + (LINEAGE, {_sN: _li}), + ), +) + +RELATED_FILE_PATHS_LIST: StaticSchema = ( + 16, + n0, + _RFPL, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +RUNTIME_CONTEXT: StaticSchema = ( + 18, + n0, + _RC, + 0, + ( + _MPod, + _MA, + _SPc, + _LP, + _LPV, + _SPo, + _RBP, + _RAP, + _MSo, + _MTo, + _FST, + _Fl, + _MN, + _MFP, + _MSod, + _SHFP, + _TPa, + _AFd, + _IPN, + _MRe, + _TNo, + _TC, + _SN, + _CLE, + _TFP, + _FO, + _FP, + _RFP, + ), + ( + (PROCESS_DETAILS, {_sN: _mPod}), + (lambda: schemas.TIMESTAMP, {_sN: _mA}), + (lambda: schemas.STRING, {_sN: _sP}), + (lambda: schemas.STRING, {_sN: _lP}), + (lambda: schemas.STRING, {_sN: _lPV}), + (lambda: schemas.STRING, {_sN: _sPo}), + (lambda: schemas.STRING, {_sN: _rBP}), + (lambda: schemas.STRING, {_sN: _rAP}), + (lambda: schemas.STRING, {_sN: _mSo}), + (lambda: schemas.STRING, {_sN: _mTo}), + (lambda: schemas.STRING, {_sN: _fST}), + (FLAGS_LIST, {_sN: _fl}), + (lambda: schemas.STRING, {_sN: _mN}), + (lambda: schemas.STRING, {_sN: _mFP}), + (lambda: schemas.STRING, {_sN: _mSod}), + (lambda: schemas.STRING, {_sN: _sHFP}), + (PROCESS_DETAILS, {_sN: _tPa}), + (lambda: schemas.STRING, {_sN: _aF}), + (lambda: schemas.INTEGER, {_sN: _iPN}), + (MEMORY_REGIONS_LIST, {_sN: _mRe}), + (lambda: schemas.STRING, {_sN: _tNo}), + (lambda: schemas.STRING, {_sN: _tC}), + (lambda: schemas.STRING, {_sN: _sNe}), + (lambda: schemas.STRING, {_sN: _cLE}), + (lambda: schemas.STRING, {_sN: _tFP}), + (lambda: schemas.STRING, {_sN: _fO}), + (lambda: schemas.STRING, {_sN: _fP}), + (RELATED_FILE_PATHS_LIST, {_sN: _rFP}), + ), +) + +RUNTIME_DETAILS: StaticSchema = ( + 18, + n0, + _RDu, + 0, + (_Pr, _Conte), + ((PROCESS_DETAILS, {_sN: _pr}), (RUNTIME_CONTEXT, {_sN: _conte})), +) + +SERVICE: StaticSchema = ( + 18, + n0, + _Se, + 0, + ( + _Ac, + _Ev, + _Arc, + _Cou, + _DI, + _EFS, + _ELS, + _RR, + _SN, + _UF, + _AId, + _FNe, + _EVSD, + _RDu, + _Det, + _MSD, + ), + ( + (lambda: schemas.ACTION, {_sN: _ac}), + (lambda: schemas.EVIDENCE, {_sN: _ev}), + (lambda: schemas.BOOLEAN, {_sN: _arc}), + (lambda: schemas.INTEGER, {_sN: _cou}), + (lambda: schemas.DETECTOR_ID, {_sN: _dI}), + (lambda: schemas.STRING, {_sN: _eFS}), + (lambda: schemas.STRING, {_sN: _eLS}), + (lambda: schemas.STRING, {_sN: _rR}), + (lambda: schemas.STRING, {_sN: _sNe}), + (lambda: schemas.STRING, {_sN: _uF}), + (SERVICE_ADDITIONAL_INFO, {_sN: _aId}), + (lambda: schemas.STRING, {_sN: _fNe}), + (lambda: schemas.EBS_VOLUME_SCAN_DETAILS, {_sN: _eVSD}), + (RUNTIME_DETAILS, {_sN: _rDu}), + (lambda: schemas.DETECTION, {_sN: _det}), + (MALWARE_SCAN_DETAILS, {_sN: _mSD}), + ), +) + +FINDING: StaticSchema = ( + 18, + n0, + _Fin, + 0, + ( + _AIcc, + _Ar, + _Con, + _CA, + _De, + _Id, + _Par, + _Re, + _R, + _SV, + _Se, + _Sev, + _Tit, + _T, + _UAp, + _AASA, + _CDRN, + ), + ( + (lambda: schemas.STRING, {_sN: _aIc, _sm: None}), + (lambda: schemas.STRING, {_sN: _ar, _sm: None}), + (lambda: schemas.DOUBLE, {_sN: _con}), + (lambda: schemas.STRING, {_sN: _cA, _sm: None}), + (lambda: schemas.STRING, {_sN: _de}), + (lambda: schemas.STRING, {_sN: _id, _sm: None}), + (lambda: schemas.STRING, {_sN: _par}), + (lambda: schemas.STRING, {_sN: _re, _sm: None}), + (RESOURCE, {_sN: _r, _sm: None}), + (lambda: schemas.STRING, {_sN: _sVc, _sm: None}), + (SERVICE, {_sN: _ser}), + (lambda: schemas.DOUBLE, {_sN: _sev, _sm: None}), + (lambda: schemas.STRING, {_sN: _ti}), + (lambda: schemas.FINDING_TYPE, {_sN: _t, _sm: None}), + (lambda: schemas.STRING, {_sN: _uAp, _sm: None}), + (lambda: schemas.STRING, {_sN: _aASA}), + (lambda: schemas.STRING, {_sN: _cDRN}), + ), +) + +FINDINGS: StaticSchema = (16, n0, _Find, 0, (_me,), ((FINDING, 0),)) + +GROUPED_BY_ACCOUNT: StaticSchema = ( + 16, + n0, + _GBA, + 0, + (_me,), + ((lambda: schemas.ACCOUNT_STATISTICS, 0),), +) + +GROUPED_BY_DATE: StaticSchema = ( + 16, + n0, + _GBD, + 0, + (_me,), + ((lambda: schemas.DATE_STATISTICS, 0),), +) + +FINDING_TYPE_STATISTICS: StaticSchema = ( + 18, + n0, + _FTS, + 0, + (_FT, _LGA, _TF), + ( + (lambda: schemas.STRING, {_sN: _fTi}), + (lambda: schemas.TIMESTAMP, {_sN: _lGA}), + (lambda: schemas.INTEGER, {_sN: _tF}), + ), +) + +GROUPED_BY_FINDING_TYPE: StaticSchema = ( + 16, + n0, + _GBFT, + 0, + (_me,), + ((FINDING_TYPE_STATISTICS, 0),), +) + +RESOURCE_STATISTICS: StaticSchema = ( + 18, + n0, + _RSe, + 0, + (_AIcc, _LGA, _RIe, _RT, _TF), + ( + (lambda: schemas.STRING, {_sN: _aIc}), + (lambda: schemas.TIMESTAMP, {_sN: _lGA}), + (lambda: schemas.STRING, {_sN: _rIe}), + (lambda: schemas.STRING, {_sN: _rT}), + (lambda: schemas.INTEGER, {_sN: _tF}), + ), +) + +GROUPED_BY_RESOURCE: StaticSchema = ( + 16, + n0, + _GBR, + 0, + (_me,), + ((RESOURCE_STATISTICS, 0),), +) + +SEVERITY_STATISTICS: StaticSchema = ( + 18, + n0, + _SSe, + 0, + (_LGA, _Sev, _TF), + ( + (lambda: schemas.TIMESTAMP, {_sN: _lGA}), + (lambda: schemas.DOUBLE, {_sN: _sev}), + (lambda: schemas.INTEGER, {_sN: _tF}), + ), +) + +GROUPED_BY_SEVERITY: StaticSchema = ( + 16, + n0, + _GBS, + 0, + (_me,), + ((SEVERITY_STATISTICS, 0),), +) + +FINDING_STATISTICS: StaticSchema = ( + 18, + n0, + _FSi, + 0, + (_CBS, _GBA, _GBD, _GBFT, _GBR, _GBS), + ( + (lambda: schemas.COUNT_BY_SEVERITY, {_sN: _cBS}), + (GROUPED_BY_ACCOUNT, {_sN: _gBA}), + (GROUPED_BY_DATE, {_sN: _gBD}), + (GROUPED_BY_FINDING_TYPE, {_sN: _gBFT}), + (GROUPED_BY_RESOURCE, {_sN: _gBR}), + (GROUPED_BY_SEVERITY, {_sN: _gBS}), + ), +) + +FINDING_STATISTIC_TYPE: StaticSchema = ( + 14, + n0, + _FSTi, + 0, + (_CBS_,), + ((-1, {_sV: _CBS_}),), +) + +FINDING_STATISTIC_TYPES: StaticSchema = ( + 16, + n0, + _FSTin, + 0, + (_me,), + ((FINDING_STATISTIC_TYPE, 0),), +) + +GET_ADMINISTRATOR_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _GAAI, + {_sSI: _cGAAR, _s: None}, + (_DI,), + ((lambda: schemas.DETECTOR_ID, 9),), +) + +GET_ADMINISTRATOR_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _GAAO, + {_sSI: _cGAARo, _smi: None}, + (_Ad,), + ((lambda: schemas.ADMINISTRATOR, {_sN: _ad, _sm: None}),), +) + +GET_ADMINISTRATOR_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _GAA, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/administrator", + "code": 200, + } + ) + }, + GET_ADMINISTRATOR_ACCOUNT_INPUT, + GET_ADMINISTRATOR_ACCOUNT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +GET_COVERAGE_STATISTICS_INPUT: StaticSchema = ( + 18, + n0, + _GCSI, + {_sSI: _cGCSR, _s: None}, + (_DI, _FCil, _STt), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.COVERAGE_FILTER_CRITERIA, {_sN: _fCil}), + (lambda: schemas.COVERAGE_STATISTICS_TYPE_LIST, {_sN: _sTt, _sm: None}), + ), +) + +GET_COVERAGE_STATISTICS_OUTPUT: StaticSchema = ( + 18, + n0, + _GCSO, + {_sSI: _cGCSRo, _smi: None}, + (_CSov,), + ((lambda: schemas.COVERAGE_STATISTICS, {_sN: _cSo}),), +) + +GET_COVERAGE_STATISTICS: StaticOperationSchema = ( + 23, + n0, + _GCS, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/coverage/statistics", + "code": 200, + } + ) + }, + GET_COVERAGE_STATISTICS_INPUT, + GET_COVERAGE_STATISTICS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +GET_CUSTOM_DETECTION_RULE_INPUT: StaticSchema = ( + 18, + n0, + _GCDRI, + {_sSI: _cGCDRR, _s: None}, + (_RI,), + ((lambda: schemas.RULE_ID, 9),), +) + +GET_CUSTOM_DETECTION_RULE_OUTPUT: StaticSchema = ( + 18, + n0, + _GCDRO, + {_sSI: _cGCDRRo, _smi: None}, + (_Ru,), + ((lambda: RULE_DETAIL, {_sN: _ru, _sm: None}),), +) + +GET_CUSTOM_DETECTION_RULE: StaticOperationSchema = ( + 23, + n0, + _GCDR, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/custom-detection-rule/rule/{RuleId}", + "code": 200, + } + ) + }, + GET_CUSTOM_DETECTION_RULE_INPUT, + GET_CUSTOM_DETECTION_RULE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +RULE_EXPRESSION: StaticSchema = (3, n0, _RE, 0) + +RULE_DEFINITION: StaticSchema = ( + 18, + n0, + _RDul, + 0, + (_Ex,), + ((RULE_EXPRESSION, {_sN: _ex, _sm: None}),), +) + +RULE_LANGUAGE: StaticSchema = (14, n0, _RL, 0, (_SQL,), ((-1, {_sV: _SQL}),)) + +RULE_NAME: StaticSchema = (3, n0, _RNu, 0) + +RULE_SCHEMA: StaticSchema = (14, n0, _RSu, 0, (_CT_,), ((-1, {_sV: _CT}),)) + +MITRE_TACTIC: StaticSchema = (3, n0, _MTi, 0) + +MITRE_TECHNIQUE: StaticSchema = (3, n0, _MTit, 0) + +RULE_DETAIL: StaticSchema = ( + 18, + n0, + _RDule, + 0, + (_RI, _Ar, _N, _De, _Sev, _DSa, _Tac, _Tec, _Se, _Def, _Lan, _Sch, _RMD, _CA, _UAp), + ( + (lambda: schemas.RULE_ID, {_sN: _rI, _sm: None}), + (lambda: schemas.DETECTION_RULE_ARN, {_sN: _ar, _sm: None}), + (RULE_NAME, {_sN: _n, _sm: None}), + (lambda: schemas.DETECTION_RULE_DESCRIPTION, {_sN: _de, _sm: None}), + (lambda: schemas.DETECTION_RULE_SEVERITY, {_sN: _sev, _sm: None}), + (lambda: schemas.DETECTION_RULE_DATA_SOURCE, {_sN: _dSa, _sm: None}), + (MITRE_TACTIC, {_sN: _tac, _sm: None}), + (MITRE_TECHNIQUE, {_sN: _tec, _sm: None}), + (lambda: schemas.DETECTION_RULE_SERVICE_NAME, {_sN: _ser, _sm: None}), + (RULE_DEFINITION, {_sN: _def, _sm: None}), + (RULE_LANGUAGE, {_sN: _la}), + (RULE_SCHEMA, {_sN: _sch}), + (lambda: schemas.DETECTION_RULE_RUNTIME_MONITORING_DETAILS, {_sN: _rMD}), + (lambda: schemas.TIMESTAMP, {_sN: _cA, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + ), +) + +GET_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _GCDRAI, + {_sSI: _cGCDRAR, _s: None}, + (_RI, _AIs), + ((lambda: schemas.RULE_ID, 9), (lambda: schemas.ASSOCIATION_ID, 9)), +) + +GET_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GCDRAO, + {_sSI: _cGCDRARo, _smi: None}, + (_RA, _Ta), + ( + (lambda: schemas.ASSOCIATION_DETAIL, {_sN: _rA, _sm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + ), +) + +GET_CUSTOM_DETECTION_RULE_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _GCDRA, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/custom-detection-rule/rule/{RuleId}/association/{AssociationId}", + "code": 200, + } + ) + }, + GET_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT, + GET_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GCDROCI, + {_sSI: _cGCDROCR, _s: None}, + (_RI, _Mo), + ( + (lambda: schemas.RULE_ID, 9), + (lambda: schemas.ASSOCIATION_MODE, {_sQ: _mo, _sm: None}), + ), +) + +GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GCDROCO, + {_sSI: _cGCDROCRo, _smi: None}, + (_Conf,), + ((lambda: schemas.DETECTION_RULE_ORG_CONFIGURATION, {_sN: _conf, _sm: None}),), +) + +GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GCDROC, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/custom-detection-rule/org-configuration/{RuleId}", + "code": 200, + } + ) + }, + GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT, + GET_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +GET_DETECTOR_INPUT: StaticSchema = ( + 18, + n0, + _GDI, + {_sSI: _cGDR, _s: None}, + (_DI,), + ((lambda: schemas.DETECTOR_ID, 9),), +) + +GET_DETECTOR_OUTPUT: StaticSchema = ( + 18, + n0, + _GDO, + {_sSI: _cGDRo, _smi: None}, + (_CA, _FPF, _SR, _St, _UAp, _DS, _Ta, _F), + ( + (lambda: schemas.STRING, {_sN: _cA}), + (lambda: schemas.FINDING_PUBLISHING_FREQUENCY, {_sN: _fPF}), + (lambda: schemas.STRING, {_sN: _sR, _sm: None}), + (lambda: schemas.DETECTOR_STATUS, {_sN: _st, _sm: None}), + (lambda: schemas.STRING, {_sN: _uAp}), + (lambda: schemas.DATA_SOURCE_CONFIGURATIONS_RESULT, {_sN: _dS}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + (lambda: schemas.DETECTOR_FEATURE_CONFIGURATIONS_RESULTS, {_sN: _f}), + ), +) + +GET_DETECTOR: StaticOperationSchema = ( + 23, + n0, + _GD, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/detector/{DetectorId}", "code": 200} + ) + }, + GET_DETECTOR_INPUT, + GET_DETECTOR_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +GET_FILTER_INPUT: StaticSchema = ( + 18, + n0, + _GFIe, + {_sSI: _cGFR, _s: None}, + (_DI, _FN), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +GET_FILTER_OUTPUT: StaticSchema = ( + 18, + n0, + _GFO, + {_sSI: _cGFRo, _smi: None}, + (_N, _De, _Ac, _Ra, _FCin, _Ta, _CA, _UAp, _Ve), + ( + (lambda: schemas.FILTER_NAME, {_sN: _n, _sm: None}), + (lambda: schemas.FILTER_DESCRIPTION, {_sN: _de}), + (lambda: schemas.FILTER_ACTION, {_sN: _ac, _sm: None}), + (lambda: schemas.FILTER_RANK, {_sN: _ra}), + (lambda: schemas.FINDING_CRITERIA, {_sN: _fCin, _sm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + (lambda: schemas.FILTER_VERSION, {_sN: _ver}), + ), +) + +GET_FILTER: StaticOperationSchema = ( + 23, + n0, + _GF, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/filter/{FilterName}", + "code": 200, + } + ) + }, + GET_FILTER_INPUT, + GET_FILTER_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +GET_FINDINGS_INPUT: StaticSchema = ( + 18, + n0, + _GFIet, + {_sSI: _cGFRom, _s: None}, + (_DI, _FIi, _SCo), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.FINDING_IDS, {_sN: _fI, _sm: None}), + (lambda: schemas.SORT_CRITERIA, {_sN: _sCo}), + ), +) + +GET_FINDINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _GFOe, + {_sSI: _cGFRoma, _smi: None}, + (_Find,), + ((FINDINGS, {_sN: _fin, _sm: None}),), +) + +GET_FINDINGS: StaticOperationSchema = ( + 23, + n0, + _GFe, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/findings/get", + "code": 200, + } + ) + }, + GET_FINDINGS_INPUT, + GET_FINDINGS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +GROUP_BY_TYPE: StaticSchema = ( + 14, + n0, + _GBT, + 0, + (_ACCOUNT, _DATE, _FT_, _RESOURCE, _SEVERITY), + ( + (-1, {_sV: _ACCOUNT}), + (-1, {_sV: _DATE}), + (-1, {_sV: _FT_}), + (-1, {_sV: _RESOURCE}), + (-1, {_sV: _SEVERITY}), + ), +) + +MAX_RESULTS100: StaticSchema = (7, n0, _MRa, 0) + +GET_FINDINGS_STATISTICS_INPUT: StaticSchema = ( + 18, + n0, + _GFSI, + {_sSI: _cGFSR, _s: None}, + (_DI, _FSTin, _FCin, _GB, _OB, _MR), + ( + (lambda: schemas.DETECTOR_ID, 9), + (FINDING_STATISTIC_TYPES, {_sN: _fSTi}), + (lambda: schemas.FINDING_CRITERIA, {_sN: _fCin}), + (GROUP_BY_TYPE, {_sN: _gB}), + (lambda: schemas.ORDER_BY, {_sN: _oB}), + (MAX_RESULTS100, {_sN: _mR}), + ), +) + +GET_FINDINGS_STATISTICS_OUTPUT: StaticSchema = ( + 18, + n0, + _GFSO, + {_sSI: _cGFSRo, _smi: None}, + (_FSi, _NT), + ((FINDING_STATISTICS, {_sN: _fS, _sm: None}), (lambda: schemas.STRING, {_sN: _nT})), +) + +GET_FINDINGS_STATISTICS: StaticOperationSchema = ( + 23, + n0, + _GFS, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/findings/statistics", + "code": 200, + } + ) + }, + GET_FINDINGS_STATISTICS_INPUT, + GET_FINDINGS_STATISTICS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_6.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_6.py new file mode 100644 index 000000000..db77a1b59 --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_6.py @@ -0,0 +1,1496 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.guardduty" +_DI = "DetectorId" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_AI = "AdministratorId" +_sN = "smithy.api#jsonName" +_aI = "administratorId" +_II = "InvitationId" +_iI = "invitationId" +_smi = "smithy.api#output" +_M = "Message" +_m = "message" +_smith = "smithy.api#http" +_MI = "MasterId" +_mI = "masterId" +_N = "Name" +_AIcc = "AccountId" +_E = "Email" +_aIc = "accountId" +_e = "email" +_me = "member" +_sV = "smithy.api#enumValue" +_n = "name" +_DS = "DataSources" +_dS = "dataSources" +_F = "Features" +_f = "features" +_AIcco = "AccountIds" +_ke = "key" +_v = "value" +_Er = "Error" +_er = "error" +_RS = "RelationshipStatus" +_rS = "relationshipStatus" +_IA = "InvitedAt" +_iA = "invitedAt" +_Ve = "Version" +_ver = "version" +_Ar = "Arn" +_ar = "arn" +_CA = "CreatedAt" +_cA = "createdAt" +_UAp = "UpdatedAt" +_uAp = "updatedAt" +_HIGH = "HIGH" +_MEDIUM = "MEDIUM" +_LOW = "LOW" +_Con = "Confidence" +_con = "confidence" +_St = "Status" +_st = "status" +_ACTIVE = "ACTIVE" +_FAILED = "FAILED" +_UNKNOWN = "UNKNOWN" +_Unk = "Unknown" +_Low = "Low" +_Me = "Medium" +_H = "High" +_CSD = "ContinuousScanDetails" +_ST = "StartTime" +_sT = "startTime" +_ET = "EndTime" +_eT = "endTime" +_RT = "ResourceType" +_rT = "resourceType" +_dI = "detectorId" +_RD = "ResourceDetails" +_rD = "resourceDetails" +_Ta = "Tags" +_ta = "tags" +_ACd = "AdditionalConfiguration" +_aC = "additionalConfiguration" +_TP = "TriggerPrompt" +_tP = "triggerPrompt" +_IInv = "InvestigationId" +_iInv = "investigationId" +_Loc = "Location" +_Fo = "Format" +_fo = "format" +_loc = "location" +_EBO = "ExpectedBucketOwner" +_eBO = "expectedBucketOwner" +_ISI = "IpSetId" +_Ro = "Role" +_ro = "role" +_PR = "ProtectedResource" +_pR = "protectedResource" +_Actio = "Actions" +_acti = "actions" +_MPPI = "MalwareProtectionPlanId" +_UAnp = "UnprocessedAccounts" +_uAn = "unprocessedAccounts" +_TESI = "ThreatEntitySetId" +_TISI = "ThreatIntelSetId" +_aIcc = "accountIds" +_sU = "smithy.api#Unit" +_SRD = "ScanResultDetails" +_SSc = "ScanStatus" +_RUNNING = "RUNNING" +_COMPLETED = "COMPLETED" +_SKIPPED = "SKIPPED" +_STc = "ScanType" +_TD = "TriggerDetails" +_ADI = "AdminDetectorId" +_aDI = "adminDetectorId" +_SIc = "ScanId" +_sI = "scanId" +_sS = "scanStatus" +_tD = "triggerDetails" +_sRD = "scanResultDetails" +_TB = "TotalBytes" +_tB = "totalBytes" +_sTc = "scanType" +_Cod = "Code" +_INACTIVE = "INACTIVE" +_Ke = "Key" +_EI_ = "EC2_INSTANCE" +_SB_ = "S3_BUCKET" +_Va = "Value" +_Cou = "Count" +_cou = "count" +_CRITICAL = "CRITICAL" +_MB = "ManagedBy" +_mB = "managedBy" +_ES = "EbsSnapshot" +_ESP = "EbsSnapshotPreservation" +_Ha = "Hash" +_h = "hash" +_SSA = "ScanStartedAt" +_sSA = "scanStartedAt" +_SCA = "ScanCompletedAt" +_sCA = "scanCompletedAt" +_BVN = "BackupVaultName" +_bVN = "backupVaultName" +_cSD = "continuousScanDetails" +_SCc = "ScanCategory" +_ISD = "IncrementalScanDetails" +_iSD = "incrementalScanDetails" +_IDt = "ItemDetails" +_RAe = "ResourceArn" +_rAe = "resourceArn" +_Sou = "Source" +_sou = "source" +_iDt = "itemDetails" +_Thr = "Threats" +_th = "threats" +_sCc = "scanCategory" +_SCca = "ScanConfiguration" +_sCca = "scanConfiguration" +_UTC = "UniqueThreatCount" +_uTC = "uniqueThreatCount" +_GII = "GetInvestigationInput" +_cGIR = "com.amazonaws.guardduty#GetInvestigationRequest" +_IED = "InvestigationErrorDetails" +_Prod = "Product" +_Fea = "Feature" +_fe = "feature" +_IM = "InvestigationMetadata" +_prod = "product" +_RDi = "RiskDetails" +_RLi = "RiskLevel" +_INFO = "INFO" +_Inf = "Info" +_Cri = "Critical" +_ISn = "InvestigationStatus" +_TBr = "TriggeredBy" +_Inv = "Investigation" +_tBr = "triggeredBy" +_Met = "Metadata" +_met = "metadata" +_Cl = "Cloud" +_cl = "cloud" +_rL = "riskLevel" +_Ri = "Risk" +_ri = "risk" +_Sum = "Summary" +_sum = "summary" +_GIO = "GetInvestigationOutput" +_cGIRo = "com.amazonaws.guardduty#GetInvestigationResponse" +_in = "investigation" +_GIe = "GetInvestigation" +_GICI = "GetInvitationsCountInput" +_cGICR = "com.amazonaws.guardduty#GetInvitationsCountRequest" +_GICO = "GetInvitationsCountOutput" +_cGICRo = "com.amazonaws.guardduty#GetInvitationsCountResponse" +_ICn = "InvitationsCount" +_iCn = "invitationsCount" +_GIC = "GetInvitationsCount" +_GIPSI = "GetIPSetInput" +_cGIPSR = "com.amazonaws.guardduty#GetIPSetRequest" +_ISS = "IpSetStatus" +_ACTIVATING = "ACTIVATING" +_DEACTIVATING = "DEACTIVATING" +_ERROR = "ERROR" +_DP_ = "DELETE_PENDING" +_DELETED = "DELETED" +_GIPSO = "GetIPSetOutput" +_cGIPSRo = "com.amazonaws.guardduty#GetIPSetResponse" +_GIPS = "GetIPSet" +_GMPPI = "GetMalwareProtectionPlanInput" +_cGMPPR = "com.amazonaws.guardduty#GetMalwareProtectionPlanRequest" +_MPPS = "MalwareProtectionPlanStatus" +_WARNING = "WARNING" +_MPPSR = "MalwareProtectionPlanStatusReason" +_cod = "code" +_MPPSRL = "MalwareProtectionPlanStatusReasonsList" +_GMPPO = "GetMalwareProtectionPlanOutput" +_cGMPPRo = "com.amazonaws.guardduty#GetMalwareProtectionPlanResponse" +_SRta = "StatusReasons" +_sRta = "statusReasons" +_GMPP = "GetMalwareProtectionPlan" +_GMSI = "GetMalwareScanInput" +_cGMSR = "com.amazonaws.guardduty#GetMalwareScanRequest" +_NNI = "NonNegativeInteger" +_MPRT = "MalwareProtectionResourceType" +_ERP = "EBS_RECOVERY_POINT" +_ES_ = "EBS_SNAPSHOT" +_EV__ = "EBS_VOLUME" +_EA_ = "EC2_AMI" +_ERP_ = "EC2_RECOVERY_POINT" +_SRP = "S3_RECOVERY_POINT" +_SPITR = "S3_POINT_IN_TIME_RECOVERY" +_SCRP = "ScanConfigurationRecoveryPoint" +_RP = "RecoveryPoint" +_rP = "recoveryPoint" +_SRDc = "ScannedResourceDetails" +_EVb = "EbsVolume" +_eVb = "ebsVolume" +_eSb = "ebsSnapshot" +_MPSS = "MalwareProtectionScanStatus" +_CWI = "COMPLETED_WITH_ISSUES" +_SSR = "ScanStatusReason" +_AD_ = "ACCESS_DENIED" +_RNF = "RESOURCE_NOT_FOUND" +_SSLE = "SNAPSHOT_SIZE_LIMIT_EXCEEDED" +_RU_ = "RESOURCE_UNAVAILABLE" +_IS__ = "INCONSISTENT_SOURCE" +_IND = "INCREMENTAL_NO_DIFFERENCE" +_NEVF = "NO_EBS_VOLUMES_FOUND" +_UPCT = "UNSUPPORTED_PRODUCT_CODE_TYPE" +_ASLE = "AMI_SNAPSHOT_LIMIT_EXCEEDED" +_UR = "UNRELATED_RESOURCES" +_BRNS = "BASE_RESOURCE_NOT_SCANNED" +_BCAT = "BASE_CREATED_AFTER_TARGET" +_UFI = "UNSUPPORTED_FOR_INCREMENTAL" +_UA__ = "UNSUPPORTED_AMI" +_US = "UNSUPPORTED_SNAPSHOT" +_UCRP = "UNSUPPORTED_COMPOSITE_RECOVERY_POINT" +_AFSOF = "ALL_FILES_SKIPPED_OR_FAILED" +_SRca = "ScannedResource" +_SRA = "ScannedResourceArn" +_sRA = "scannedResourceArn" +_SRT = "ScannedResourceType" +_sRT = "scannedResourceType" +_SRS = "ScannedResourceStatus" +_sRS = "scannedResourceStatus" +_sSR = "scanStatusReason" +_SRcan = "ScannedResources" +_SRSc = "ScanResultStatus" +_NTF = "NO_THREATS_FOUND" +_TF_ = "THREATS_FOUND" +_SRTc = "ScanResultThreat" +_SRTca = "ScanResultThreats" +_GMSRD = "GetMalwareScanResultDetails" +_sRSc = "scanResultStatus" +_SFC = "SkippedFileCount" +_sFC = "skippedFileCount" +_FFC = "FailedFileCount" +_fFC = "failedFileCount" +_TFFC = "ThreatFoundFileCount" +_tFFC = "threatFoundFileCount" +_TFC = "TotalFileCount" +_tFC = "totalFileCount" +_GMSO = "GetMalwareScanOutput" +_cGMSRo = "com.amazonaws.guardduty#GetMalwareScanResponse" +_SRC = "ScannedResourcesCount" +_sRC = "scannedResourcesCount" +_SRCk = "SkippedResourcesCount" +_sRCk = "skippedResourcesCount" +_FRC = "FailedResourcesCount" +_fRC = "failedResourcesCount" +_sRca = "scannedResources" +_GMS = "GetMalwareScan" +_GMSSI = "GetMalwareScanSettingsInput" +_cGMSSR = "com.amazonaws.guardduty#GetMalwareScanSettingsRequest" +_SCK = "ScanCriterionKey" +_EIT = "EC2_INSTANCE_TAG" +_SCP = "ScanConditionPair" +_ME = "MapEquals" +_SCcan = "ScanCondition" +_mE = "mapEquals" +_SCcanr = "ScanCriterion" +_SRCc = "ScanResourceCriteria" +_Inc = "Include" +_inc = "include" +_Exc = "Exclude" +_exc = "exclude" +_GMSSO = "GetMalwareScanSettingsOutput" +_cGMSSRo = "com.amazonaws.guardduty#GetMalwareScanSettingsResponse" +_sRCc = "scanResourceCriteria" +_eSP = "ebsSnapshotPreservation" +_GMSS = "GetMalwareScanSettings" +_GMAI = "GetMasterAccountInput" +_cGMAR = "com.amazonaws.guardduty#GetMasterAccountRequest" +_Mas = "Master" +_GMAO = "GetMasterAccountOutput" +_cGMARo = "com.amazonaws.guardduty#GetMasterAccountResponse" +_mas = "master" +_GMA = "GetMasterAccount" +_GMDI = "GetMemberDetectorsInput" +_cGMDR = "com.amazonaws.guardduty#GetMemberDetectorsRequest" +_MACR = "MemberAdditionalConfigurationResult" +_MACRe = "MemberAdditionalConfigurationResults" +_MFCR = "MemberFeaturesConfigurationResult" +_MFCRe = "MemberFeaturesConfigurationsResults" +_MDSC = "MemberDataSourceConfiguration" +_MDSCe = "MemberDataSourceConfigurations" +_GMDO = "GetMemberDetectorsOutput" +_cGMDRo = "com.amazonaws.guardduty#GetMemberDetectorsResponse" +_mem = "members" +_GMD = "GetMemberDetectors" +_GMI = "GetMembersInput" +_cGMR = "com.amazonaws.guardduty#GetMembersRequest" +_Mem = "Member" +_Memb = "Members" +_GMO = "GetMembersOutput" +_cGMRo = "com.amazonaws.guardduty#GetMembersResponse" +_GM = "GetMembers" +_GOSI = "GetOrganizationStatisticsInput" +_OFSAC = "OrganizationFeatureStatisticsAdditionalConfiguration" +_EAC = "EnabledAccountsCount" +_eAC = "enabledAccountsCount" +_OFSACr = "OrganizationFeatureStatisticsAdditionalConfigurations" +_OFSr = "OrganizationFeatureStatistics" +_OFSR = "OrganizationFeatureStatisticsResults" +_OS = "OrganizationStatistics" +_TAC = "TotalAccountsCount" +_tAC = "totalAccountsCount" +_MAC = "MemberAccountsCount" +_mAC = "memberAccountsCount" +_AAC = "ActiveAccountsCount" +_aAC = "activeAccountsCount" +_CBF = "CountByFeature" +_cBF = "countByFeature" +_ODr = "OrganizationDetails" +_oS = "organizationStatistics" +_GOSO = "GetOrganizationStatisticsOutput" +_cGOSR = "com.amazonaws.guardduty#GetOrganizationStatisticsResponse" +_oD = "organizationDetails" +_GOS = "GetOrganizationStatistics" +_GRFTDI = "GetRemainingFreeTrialDaysInput" +_cGRFTDR = "com.amazonaws.guardduty#GetRemainingFreeTrialDaysRequest" +_GRFTDO = "GetRemainingFreeTrialDaysOutput" +_cGRFTDRo = "com.amazonaws.guardduty#GetRemainingFreeTrialDaysResponse" +_Acc = "Accounts" +_acc = "accounts" +_GRFTD = "GetRemainingFreeTrialDays" +_GTESI = "GetThreatEntitySetInput" +_cGTESR = "com.amazonaws.guardduty#GetThreatEntitySetRequest" +_TESS = "ThreatEntitySetStatus" +_GTESO = "GetThreatEntitySetOutput" +_cGTESRo = "com.amazonaws.guardduty#GetThreatEntitySetResponse" +_ED = "ErrorDetails" +_eD = "errorDetails" +_GTES = "GetThreatEntitySet" +_GTISI = "GetThreatIntelSetInput" +_cGTISR = "com.amazonaws.guardduty#GetThreatIntelSetRequest" +_GTISO = "GetThreatIntelSetOutput" +_cGTISRo = "com.amazonaws.guardduty#GetThreatIntelSetResponse" +_GTIS = "GetThreatIntelSet" + +CONFIDENCE: StaticSchema = ( + 14, + n0, + _Con, + 0, + (_UNKNOWN, _LOW, _MEDIUM, _HIGH), + ((-1, {_sV: _Unk}), (-1, {_sV: _Low}), (-1, {_sV: _Me}), (-1, {_sV: _H})), +) + +GET_INVESTIGATION_INPUT: StaticSchema = ( + 18, + n0, + _GII, + {_sSI: _cGIR, _s: None}, + (_DI, _IInv), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.INVESTIGATION_ID, 9)), +) + +GET_INVESTIGATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GIO, + {_sSI: _cGIRo, _smi: None}, + (_Inv,), + ((lambda: INVESTIGATION, {_sN: _in, _sm: None}),), +) + +GET_INVESTIGATION: StaticOperationSchema = ( + 23, + n0, + _GIe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/investigation/{InvestigationId}", + "code": 200, + } + ) + }, + GET_INVESTIGATION_INPUT, + GET_INVESTIGATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +INVESTIGATION_ERROR_DETAILS: StaticSchema = (3, n0, _IED, 0) + +PRODUCT: StaticSchema = ( + 18, + n0, + _Prod, + 0, + (_N, _Fea), + ( + (lambda: schemas.STRING, {_sN: _n, _sm: None}), + (lambda: schemas.STRING, {_sN: _fe}), + ), +) + +INVESTIGATION_METADATA: StaticSchema = ( + 18, + n0, + _IM, + 0, + (_Ve, _Prod), + ( + (lambda: schemas.STRING, {_sN: _ver, _sm: None}), + (PRODUCT, {_sN: _prod, _sm: None}), + ), +) + +RISK_DETAILS: StaticSchema = (3, n0, _RDi, 0) + +RISK_LEVEL: StaticSchema = ( + 14, + n0, + _RLi, + 0, + (_INFO, _LOW, _MEDIUM, _HIGH, _CRITICAL), + ( + (-1, {_sV: _Inf}), + (-1, {_sV: _Low}), + (-1, {_sV: _Me}), + (-1, {_sV: _H}), + (-1, {_sV: _Cri}), + ), +) + +INVESTIGATION_STATUS: StaticSchema = ( + 14, + n0, + _ISn, + 0, + (_RUNNING, _COMPLETED, _FAILED), + ((-1, {_sV: _RUNNING}), (-1, {_sV: _COMPLETED}), (-1, {_sV: _FAILED})), +) + +TRIGGERED_BY: StaticSchema = (3, n0, _TBr, 0) + +INVESTIGATION: StaticSchema = ( + 18, + n0, + _Inv, + 0, + (_IInv, _St, _TP, _TBr, _Met, _Cl, _RLi, _Ri, _Con, _Sum, _ST, _ET, _Er), + ( + (lambda: schemas.INVESTIGATION_ID, {_sN: _iInv, _sm: None}), + (INVESTIGATION_STATUS, {_sN: _st, _sm: None}), + (lambda: schemas.TRIGGER_PROMPT, {_sN: _tP, _sm: None}), + (TRIGGERED_BY, {_sN: _tBr, _sm: None}), + (INVESTIGATION_METADATA, {_sN: _met}), + (lambda: schemas.CLOUD_DETAILS, {_sN: _cl}), + (RISK_LEVEL, {_sN: _rL}), + (RISK_DETAILS, {_sN: _ri}), + (CONFIDENCE, {_sN: _con}), + (lambda: schemas.STRING, {_sN: _sum}), + (lambda: schemas.TIMESTAMP, {_sN: _sT}), + (lambda: schemas.TIMESTAMP, {_sN: _eT}), + (INVESTIGATION_ERROR_DETAILS, {_sN: _er}), + ), +) + +GET_INVITATIONS_COUNT_INPUT: StaticSchema = (18, n0, _GICI, {_sSI: _cGICR, _s: None}) + +GET_INVITATIONS_COUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _GICO, + {_sSI: _cGICRo, _smi: None}, + (_ICn,), + ((lambda: schemas.INTEGER, {_sN: _iCn}),), +) + +GET_INVITATIONS_COUNT: StaticOperationSchema = ( + 23, + n0, + _GIC, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/invitation/count", "code": 200} + ) + }, + GET_INVITATIONS_COUNT_INPUT, + GET_INVITATIONS_COUNT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +GET_IP_SET_INPUT: StaticSchema = ( + 18, + n0, + _GIPSI, + {_sSI: _cGIPSR, _s: None}, + (_DI, _ISI), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +GET_IP_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPSO, + {_sSI: _cGIPSRo, _smi: None}, + (_N, _Fo, _Loc, _St, _Ta, _EBO), + ( + (lambda: schemas.NAME, {_sN: _n, _sm: None}), + (lambda: schemas.IP_SET_FORMAT, {_sN: _fo, _sm: None}), + (lambda: schemas.LOCATION, {_sN: _loc, _sm: None}), + (lambda: IP_SET_STATUS, {_sN: _st, _sm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + (lambda: schemas.ACCOUNT_ID, {_sN: _eBO}), + ), +) + +GET_IP_SET: StaticOperationSchema = ( + 23, + n0, + _GIPS, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/ipset/{IpSetId}", + "code": 200, + } + ) + }, + GET_IP_SET_INPUT, + GET_IP_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +IP_SET_STATUS: StaticSchema = ( + 14, + n0, + _ISS, + 0, + (_INACTIVE, _ACTIVATING, _ACTIVE, _DEACTIVATING, _ERROR, _DP_, _DELETED), + ( + (-1, {_sV: _INACTIVE}), + (-1, {_sV: _ACTIVATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DEACTIVATING}), + (-1, {_sV: _ERROR}), + (-1, {_sV: _DP_}), + (-1, {_sV: _DELETED}), + ), +) + +GET_MALWARE_PROTECTION_PLAN_INPUT: StaticSchema = ( + 18, + n0, + _GMPPI, + {_sSI: _cGMPPR, _s: None}, + (_MPPI,), + ((lambda: schemas.STRING, 9),), +) + +GET_MALWARE_PROTECTION_PLAN_OUTPUT: StaticSchema = ( + 18, + n0, + _GMPPO, + {_sSI: _cGMPPRo, _smi: None}, + (_Ar, _Ro, _PR, _Actio, _CA, _St, _SRta, _Ta), + ( + (lambda: schemas.STRING, {_sN: _ar}), + (lambda: schemas.STRING, {_sN: _ro}), + (lambda: schemas.CREATE_PROTECTED_RESOURCE, {_sN: _pR}), + (lambda: schemas.MALWARE_PROTECTION_PLAN_ACTIONS, {_sN: _acti}), + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + (lambda: MALWARE_PROTECTION_PLAN_STATUS, {_sN: _st}), + (lambda: MALWARE_PROTECTION_PLAN_STATUS_REASONS_LIST, {_sN: _sRta}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + ), +) + +GET_MALWARE_PROTECTION_PLAN: StaticOperationSchema = ( + 23, + n0, + _GMPP, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/malware-protection-plan/{MalwareProtectionPlanId}", + "code": 200, + } + ) + }, + GET_MALWARE_PROTECTION_PLAN_INPUT, + GET_MALWARE_PROTECTION_PLAN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +MALWARE_PROTECTION_PLAN_STATUS: StaticSchema = ( + 14, + n0, + _MPPS, + 0, + (_ACTIVE, _WARNING, _ERROR), + ((-1, {_sV: _ACTIVE}), (-1, {_sV: _WARNING}), (-1, {_sV: _ERROR})), +) + +MALWARE_PROTECTION_PLAN_STATUS_REASON: StaticSchema = ( + 18, + n0, + _MPPSR, + 0, + (_Cod, _M), + ((lambda: schemas.STRING, {_sN: _cod}), (lambda: schemas.STRING, {_sN: _m})), +) + +MALWARE_PROTECTION_PLAN_STATUS_REASONS_LIST: StaticSchema = ( + 16, + n0, + _MPPSRL, + 0, + (_me,), + ((MALWARE_PROTECTION_PLAN_STATUS_REASON, 0),), +) + +GET_MALWARE_SCAN_INPUT: StaticSchema = ( + 18, + n0, + _GMSI, + {_sSI: _cGMSR, _s: None}, + (_SIc,), + ((lambda: schemas.STRING, 9),), +) + +GET_MALWARE_SCAN_OUTPUT: StaticSchema = ( + 18, + n0, + _GMSO, + {_sSI: _cGMSRo, _smi: None}, + ( + _SIc, + _DI, + _ADI, + _RAe, + _RT, + _SRC, + _SRCk, + _FRC, + _SRcan, + _SCca, + _SCc, + _SSc, + _SSR, + _STc, + _SSA, + _SCA, + _SRD, + ), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _sI}), + (lambda: schemas.DETECTOR_ID, {_sN: _dI}), + (lambda: schemas.DETECTOR_ID, {_sN: _aDI}), + (lambda: schemas.NON_EMPTY_STRING, {_sN: _rAe}), + (lambda: MALWARE_PROTECTION_RESOURCE_TYPE, {_sN: _rT}), + (lambda: NON_NEGATIVE_INTEGER, {_sN: _sRC}), + (lambda: NON_NEGATIVE_INTEGER, {_sN: _sRCk}), + (lambda: NON_NEGATIVE_INTEGER, {_sN: _fRC}), + (lambda: SCANNED_RESOURCES, {_sN: _sRca}), + (lambda: SCAN_CONFIGURATION, {_sN: _sCca}), + (lambda: schemas.SCAN_CATEGORY, {_sN: _sCc}), + (lambda: MALWARE_PROTECTION_SCAN_STATUS, {_sN: _sS}), + (lambda: SCAN_STATUS_REASON, {_sN: _sSR}), + (lambda: schemas.MALWARE_PROTECTION_SCAN_TYPE, {_sN: _sTc}), + (lambda: schemas.TIMESTAMP, {_sN: _sSA}), + (lambda: schemas.TIMESTAMP, {_sN: _sCA}), + (lambda: GET_MALWARE_SCAN_RESULT_DETAILS, {_sN: _sRD}), + ), +) + +GET_MALWARE_SCAN: StaticOperationSchema = ( + 23, + n0, + _GMS, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/malware-scan/{ScanId}", "code": 200} + ) + }, + GET_MALWARE_SCAN_INPUT, + GET_MALWARE_SCAN_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +NON_NEGATIVE_INTEGER: StaticSchema = (7, n0, _NNI, 0) + +MALWARE_PROTECTION_RESOURCE_TYPE: StaticSchema = ( + 14, + n0, + _MPRT, + 0, + (_ERP, _ES_, _EV__, _EA_, _EI_, _ERP_, _SRP, _SB_, _SPITR), + ( + (-1, {_sV: _ERP}), + (-1, {_sV: _ES_}), + (-1, {_sV: _EV__}), + (-1, {_sV: _EA_}), + (-1, {_sV: _EI_}), + (-1, {_sV: _ERP_}), + (-1, {_sV: _SRP}), + (-1, {_sV: _SB_}), + (-1, {_sV: _SPITR}), + ), +) + +SCAN_CONFIGURATION_RECOVERY_POINT: StaticSchema = ( + 18, + n0, + _SCRP, + 0, + (_BVN, _CSD), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _bVN}), + (lambda: schemas.SCAN_CONFIGURATION_CONTINUOUS_SCAN_DETAILS, {_sN: _cSD}), + ), +) + +SCAN_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCca, + 0, + (_Ro, _TD, _ISD, _RP), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _ro}), + (lambda: schemas.TRIGGER_DETAILS, {_sN: _tD}), + (lambda: schemas.INCREMENTAL_SCAN_DETAILS, {_sN: _iSD}), + (SCAN_CONFIGURATION_RECOVERY_POINT, {_sN: _rP}), + ), +) + +SCANNED_RESOURCE_DETAILS: StaticSchema = ( + 18, + n0, + _SRDc, + 0, + (_EVb, _ES), + ( + (lambda: schemas.VOLUME_DETAIL, {_sN: _eVb}), + (lambda: schemas.EBS_SNAPSHOT, {_sN: _eSb}), + ), +) + +MALWARE_PROTECTION_SCAN_STATUS: StaticSchema = ( + 14, + n0, + _MPSS, + 0, + (_RUNNING, _COMPLETED, _CWI, _FAILED, _SKIPPED), + ( + (-1, {_sV: _RUNNING}), + (-1, {_sV: _COMPLETED}), + (-1, {_sV: _CWI}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _SKIPPED}), + ), +) + +SCAN_STATUS_REASON: StaticSchema = ( + 14, + n0, + _SSR, + 0, + ( + _AD_, + _RNF, + _SSLE, + _RU_, + _IS__, + _IND, + _NEVF, + _UPCT, + _ASLE, + _UR, + _BRNS, + _BCAT, + _UFI, + _UA__, + _US, + _UCRP, + _AFSOF, + ), + ( + (-1, {_sV: _AD_}), + (-1, {_sV: _RNF}), + (-1, {_sV: _SSLE}), + (-1, {_sV: _RU_}), + (-1, {_sV: _IS__}), + (-1, {_sV: _IND}), + (-1, {_sV: _NEVF}), + (-1, {_sV: _UPCT}), + (-1, {_sV: _ASLE}), + (-1, {_sV: _UR}), + (-1, {_sV: _BRNS}), + (-1, {_sV: _BCAT}), + (-1, {_sV: _UFI}), + (-1, {_sV: _UA__}), + (-1, {_sV: _US}), + (-1, {_sV: _UCRP}), + (-1, {_sV: _AFSOF}), + ), +) + +SCANNED_RESOURCE: StaticSchema = ( + 18, + n0, + _SRca, + 0, + (_SRA, _SRT, _SRS, _SSR, _RD), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _sRA}), + (MALWARE_PROTECTION_RESOURCE_TYPE, {_sN: _sRT}), + (MALWARE_PROTECTION_SCAN_STATUS, {_sN: _sRS}), + (SCAN_STATUS_REASON, {_sN: _sSR}), + (SCANNED_RESOURCE_DETAILS, {_sN: _rD}), + ), +) + +SCANNED_RESOURCES: StaticSchema = (16, n0, _SRcan, 0, (_me,), ((SCANNED_RESOURCE, 0),)) + +SCAN_RESULT_STATUS: StaticSchema = ( + 14, + n0, + _SRSc, + 0, + (_NTF, _TF_), + ((-1, {_sV: _NTF}), (-1, {_sV: _TF_})), +) + +SCAN_RESULT_THREAT: StaticSchema = ( + 18, + n0, + _SRTc, + 0, + (_N, _Sou, _Cou, _Ha, _IDt), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _n}), + (lambda: schemas.DETECTION_SOURCE, {_sN: _sou}), + (lambda: schemas.POSITIVE_LONG, {_sN: _cou}), + (lambda: schemas.NON_EMPTY_STRING, {_sN: _h}), + (lambda: schemas.ITEM_DETAILS_LIST, {_sN: _iDt}), + ), +) + +SCAN_RESULT_THREATS: StaticSchema = ( + 16, + n0, + _SRTca, + 0, + (_me,), + ((SCAN_RESULT_THREAT, 0),), +) + +GET_MALWARE_SCAN_RESULT_DETAILS: StaticSchema = ( + 18, + n0, + _GMSRD, + 0, + (_SRSc, _SFC, _FFC, _TFFC, _TFC, _TB, _UTC, _Thr), + ( + (SCAN_RESULT_STATUS, {_sN: _sRSc}), + (lambda: schemas.POSITIVE_LONG, {_sN: _sFC}), + (lambda: schemas.POSITIVE_LONG, {_sN: _fFC}), + (lambda: schemas.POSITIVE_LONG, {_sN: _tFFC}), + (lambda: schemas.POSITIVE_LONG, {_sN: _tFC}), + (lambda: schemas.POSITIVE_LONG, {_sN: _tB}), + (lambda: schemas.POSITIVE_LONG, {_sN: _uTC}), + (SCAN_RESULT_THREATS, {_sN: _th}), + ), +) + +GET_MALWARE_SCAN_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _GMSSI, + {_sSI: _cGMSSR, _s: None}, + (_DI,), + ((lambda: schemas.DETECTOR_ID, 9),), +) + +GET_MALWARE_SCAN_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _GMSSO, + {_sSI: _cGMSSRo, _smi: None}, + (_SRCc, _ESP), + ( + (lambda: SCAN_RESOURCE_CRITERIA, {_sN: _sRCc}), + (lambda: schemas.EBS_SNAPSHOT_PRESERVATION, {_sN: _eSP}), + ), +) + +GET_MALWARE_SCAN_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _GMSS, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/malware-scan-settings", + "code": 200, + } + ) + }, + GET_MALWARE_SCAN_SETTINGS_INPUT, + GET_MALWARE_SCAN_SETTINGS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +SCAN_CRITERION_KEY: StaticSchema = (14, n0, _SCK, 0, (_EIT,), ((-1, {_sV: _EIT}),)) + +SCAN_CONDITION_PAIR: StaticSchema = ( + 18, + n0, + _SCP, + 0, + (_Ke, _Va), + ( + (lambda: schemas.TAG_KEY, {_sN: _ke, _sm: None}), + (lambda: schemas.TAG_VALUE, {_sN: _v}), + ), +) + +MAP_EQUALS: StaticSchema = (16, n0, _ME, 0, (_me,), ((SCAN_CONDITION_PAIR, 0),)) + +SCAN_CONDITION: StaticSchema = ( + 18, + n0, + _SCcan, + 0, + (_ME,), + ((MAP_EQUALS, {_sN: _mE, _sm: None}),), +) + +SCAN_CRITERION: StaticSchema = ( + 17, + n0, + _SCcanr, + 0, + (_ke, _v), + ((SCAN_CRITERION_KEY, 0), (SCAN_CONDITION, 0)), +) + +SCAN_RESOURCE_CRITERIA: StaticSchema = ( + 18, + n0, + _SRCc, + 0, + (_Inc, _Exc), + ((SCAN_CRITERION, {_sN: _inc}), (SCAN_CRITERION, {_sN: _exc})), +) + +GET_MASTER_ACCOUNT_INPUT: StaticSchema = ( + 18, + n0, + _GMAI, + {_sSI: _cGMAR, _s: None}, + (_DI,), + ((lambda: schemas.DETECTOR_ID, 9),), +) + +GET_MASTER_ACCOUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _GMAO, + {_sSI: _cGMARo, _smi: None}, + (_Mas,), + ((lambda: MASTER, {_sN: _mas, _sm: None}),), +) + +GET_MASTER_ACCOUNT: StaticOperationSchema = ( + 23, + n0, + _GMA, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/detector/{DetectorId}/master", "code": 200} + ) + }, + GET_MASTER_ACCOUNT_INPUT, + GET_MASTER_ACCOUNT_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +MASTER: StaticSchema = ( + 18, + n0, + _Mas, + 0, + (_AIcc, _II, _RS, _IA), + ( + (lambda: schemas.ACCOUNT_ID, {_sN: _aIc}), + (lambda: schemas.STRING, {_sN: _iI}), + (lambda: schemas.STRING, {_sN: _rS}), + (lambda: schemas.STRING, {_sN: _iA}), + ), +) + +GET_MEMBER_DETECTORS_INPUT: StaticSchema = ( + 18, + n0, + _GMDI, + {_sSI: _cGMDR, _s: None}, + (_DI, _AIcco), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), + ), +) + +GET_MEMBER_DETECTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _GMDO, + {_sSI: _cGMDRo, _smi: None}, + (_MDSCe, _UAnp), + ( + (lambda: MEMBER_DATA_SOURCE_CONFIGURATIONS, {_sN: _mem, _sm: None}), + (lambda: schemas.UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}), + ), +) + +GET_MEMBER_DETECTORS: StaticOperationSchema = ( + 23, + n0, + _GMD, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/member/detector/get", + "code": 200, + } + ) + }, + GET_MEMBER_DETECTORS_INPUT, + GET_MEMBER_DETECTORS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +MEMBER_ADDITIONAL_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _MACR, + 0, + (_N, _St, _UAp, _MB), + ( + (lambda: schemas.ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), + (lambda: schemas.FEATURE_STATUS, {_sN: _st}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + (lambda: schemas.MANAGED_BY, {_sN: _mB}), + ), +) + +MEMBER_ADDITIONAL_CONFIGURATION_RESULTS: StaticSchema = ( + 16, + n0, + _MACRe, + 0, + (_me,), + ((MEMBER_ADDITIONAL_CONFIGURATION_RESULT, 0),), +) + +MEMBER_FEATURES_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _MFCR, + 0, + (_N, _St, _UAp, _ACd, _MB), + ( + (lambda: schemas.ORG_FEATURE, {_sN: _n}), + (lambda: schemas.FEATURE_STATUS, {_sN: _st}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + (MEMBER_ADDITIONAL_CONFIGURATION_RESULTS, {_sN: _aC}), + (lambda: schemas.MANAGED_BY, {_sN: _mB}), + ), +) + +MEMBER_FEATURES_CONFIGURATIONS_RESULTS: StaticSchema = ( + 16, + n0, + _MFCRe, + 0, + (_me,), + ((MEMBER_FEATURES_CONFIGURATION_RESULT, 0),), +) + +MEMBER_DATA_SOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MDSC, + 0, + (_AIcc, _DS, _F), + ( + (lambda: schemas.ACCOUNT_ID, {_sN: _aIc, _sm: None}), + (lambda: schemas.DATA_SOURCE_CONFIGURATIONS_RESULT, {_sN: _dS, _sm: None}), + (MEMBER_FEATURES_CONFIGURATIONS_RESULTS, {_sN: _f}), + ), +) + +MEMBER_DATA_SOURCE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _MDSCe, + 0, + (_me,), + ((MEMBER_DATA_SOURCE_CONFIGURATION, 0),), +) + +GET_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _GMI, + {_sSI: _cGMR, _s: None}, + (_DI, _AIcco), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), + ), +) + +GET_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _GMO, + {_sSI: _cGMRo, _smi: None}, + (_Memb, _UAnp), + ( + (lambda: MEMBERS, {_sN: _mem, _sm: None}), + (lambda: schemas.UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}), + ), +) + +GET_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _GM, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}/member/get", "code": 200} + ) + }, + GET_MEMBERS_INPUT, + GET_MEMBERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +MEMBER: StaticSchema = ( + 18, + n0, + _Mem, + 0, + (_AIcc, _DI, _MI, _E, _RS, _IA, _UAp, _AI), + ( + (lambda: schemas.ACCOUNT_ID, {_sN: _aIc, _sm: None}), + (lambda: schemas.DETECTOR_ID, {_sN: _dI}), + (lambda: schemas.STRING, {_sN: _mI, _sm: None}), + (lambda: schemas.EMAIL, {_sN: _e, _sm: None}), + (lambda: schemas.STRING, {_sN: _rS, _sm: None}), + (lambda: schemas.STRING, {_sN: _iA}), + (lambda: schemas.STRING, {_sN: _uAp, _sm: None}), + (lambda: schemas.STRING, {_sN: _aI}), + ), +) + +MEMBERS: StaticSchema = (16, n0, _Memb, 0, (_me,), ((MEMBER, 0),)) + +GET_ORGANIZATION_STATISTICS_INPUT: StaticSchema = (18, n0, _GOSI, {_sSI: _sU, _s: None}) + +GET_ORGANIZATION_STATISTICS_OUTPUT: StaticSchema = ( + 18, + n0, + _GOSO, + {_sSI: _cGOSR, _smi: None}, + (_ODr,), + ((lambda: ORGANIZATION_DETAILS, {_sN: _oD}),), +) + +GET_ORGANIZATION_STATISTICS: StaticOperationSchema = ( + 23, + n0, + _GOS, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/organization/statistics", "code": 200} + ) + }, + GET_ORGANIZATION_STATISTICS_INPUT, + GET_ORGANIZATION_STATISTICS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OFSAC, + 0, + (_N, _EAC), + ( + (lambda: schemas.ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), + (lambda: schemas.INTEGER, {_sN: _eAC}), + ), +) + +ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _OFSACr, + 0, + (_me,), + ((ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATION, 0),), +) + +ORGANIZATION_FEATURE_STATISTICS: StaticSchema = ( + 18, + n0, + _OFSr, + 0, + (_N, _EAC, _ACd), + ( + (lambda: schemas.ORG_FEATURE, {_sN: _n}), + (lambda: schemas.INTEGER, {_sN: _eAC}), + (ORGANIZATION_FEATURE_STATISTICS_ADDITIONAL_CONFIGURATIONS, {_sN: _aC}), + ), +) + +ORGANIZATION_FEATURE_STATISTICS_RESULTS: StaticSchema = ( + 16, + n0, + _OFSR, + 0, + (_me,), + ((ORGANIZATION_FEATURE_STATISTICS, 0),), +) + +ORGANIZATION_STATISTICS: StaticSchema = ( + 18, + n0, + _OS, + 0, + (_TAC, _MAC, _AAC, _EAC, _CBF), + ( + (lambda: schemas.INTEGER, {_sN: _tAC}), + (lambda: schemas.INTEGER, {_sN: _mAC}), + (lambda: schemas.INTEGER, {_sN: _aAC}), + (lambda: schemas.INTEGER, {_sN: _eAC}), + (ORGANIZATION_FEATURE_STATISTICS_RESULTS, {_sN: _cBF}), + ), +) + +ORGANIZATION_DETAILS: StaticSchema = ( + 18, + n0, + _ODr, + 0, + (_UAp, _OS), + ((lambda: schemas.TIMESTAMP, {_sN: _uAp}), (ORGANIZATION_STATISTICS, {_sN: _oS})), +) + +GET_REMAINING_FREE_TRIAL_DAYS_INPUT: StaticSchema = ( + 18, + n0, + _GRFTDI, + {_sSI: _cGRFTDR, _s: None}, + (_DI, _AIcco), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), + ), +) + +GET_REMAINING_FREE_TRIAL_DAYS_OUTPUT: StaticSchema = ( + 18, + n0, + _GRFTDO, + {_sSI: _cGRFTDRo, _smi: None}, + (_Acc, _UAnp), + ( + (lambda: schemas.ACCOUNT_FREE_TRIAL_INFOS, {_sN: _acc}), + (lambda: schemas.UNPROCESSED_ACCOUNTS, {_sN: _uAn}), + ), +) + +GET_REMAINING_FREE_TRIAL_DAYS: StaticOperationSchema = ( + 23, + n0, + _GRFTD, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/freeTrial/daysRemaining", + "code": 200, + } + ) + }, + GET_REMAINING_FREE_TRIAL_DAYS_INPUT, + GET_REMAINING_FREE_TRIAL_DAYS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +GET_THREAT_ENTITY_SET_INPUT: StaticSchema = ( + 18, + n0, + _GTESI, + {_sSI: _cGTESR, _s: None}, + (_DI, _TESI), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +GET_THREAT_ENTITY_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _GTESO, + {_sSI: _cGTESRo, _smi: None}, + (_N, _Fo, _Loc, _EBO, _St, _Ta, _CA, _UAp, _ED), + ( + (lambda: schemas.NAME, {_sN: _n, _sm: None}), + (lambda: schemas.THREAT_ENTITY_SET_FORMAT, {_sN: _fo, _sm: None}), + (lambda: schemas.LOCATION, {_sN: _loc, _sm: None}), + (lambda: schemas.EXPECTED_BUCKET_OWNER, {_sN: _eBO}), + (lambda: THREAT_ENTITY_SET_STATUS, {_sN: _st, _sm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + (lambda: schemas.STRING, {_sN: _eD}), + ), +) + +GET_THREAT_ENTITY_SET: StaticOperationSchema = ( + 23, + n0, + _GTES, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", + "code": 200, + } + ) + }, + GET_THREAT_ENTITY_SET_INPUT, + GET_THREAT_ENTITY_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +THREAT_ENTITY_SET_STATUS: StaticSchema = ( + 14, + n0, + _TESS, + 0, + (_INACTIVE, _ACTIVATING, _ACTIVE, _DEACTIVATING, _ERROR, _DP_, _DELETED), + ( + (-1, {_sV: _INACTIVE}), + (-1, {_sV: _ACTIVATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DEACTIVATING}), + (-1, {_sV: _ERROR}), + (-1, {_sV: _DP_}), + (-1, {_sV: _DELETED}), + ), +) + +GET_THREAT_INTEL_SET_INPUT: StaticSchema = ( + 18, + n0, + _GTISI, + {_sSI: _cGTISR, _s: None}, + (_DI, _TISI), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +GET_THREAT_INTEL_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _GTISO, + {_sSI: _cGTISRo, _smi: None}, + (_N, _Fo, _Loc, _St, _Ta, _EBO), + ( + (lambda: schemas.NAME, {_sN: _n, _sm: None}), + (lambda: schemas.THREAT_INTEL_SET_FORMAT, {_sN: _fo, _sm: None}), + (lambda: schemas.LOCATION, {_sN: _loc, _sm: None}), + (lambda: schemas.THREAT_INTEL_SET_STATUS, {_sN: _st, _sm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + (lambda: schemas.ACCOUNT_ID, {_sN: _eBO}), + ), +) + +GET_THREAT_INTEL_SET: StaticOperationSchema = ( + 23, + n0, + _GTIS, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", + "code": 200, + } + ) + }, + GET_THREAT_INTEL_SET_INPUT, + GET_THREAT_INTEL_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_7.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_7.py new file mode 100644 index 000000000..8649d68db --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_7.py @@ -0,0 +1,1505 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.guardduty" +_DI = "DetectorId" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sN = "smithy.api#jsonName" +_II = "InvitationId" +_iI = "invitationId" +_smi = "smithy.api#output" +_M = "Message" +_m = "message" +_smith = "smithy.api#http" +_N = "Name" +_AIcc = "AccountId" +_aIc = "accountId" +_me = "member" +_FL_ = "FLOW_LOGS" +_sV = "smithy.api#enumValue" +_CT_ = "CLOUD_TRAIL" +_DL_ = "DNS_LOGS" +_SDE = "S3_DATA_EVENTS" +_EAL = "EKS_AUDIT_LOGS" +_EMP = "EBS_MALWARE_PROTECTION" +_RLE = "RDS_LOGIN_EVENTS" +_LNL = "LAMBDA_NETWORK_LOGS" +_ERM = "EKS_RUNTIME_MONITORING" +_ERM_ = "EC2_RUNTIME_MONITORING" +_FRM = "FARGATE_RUNTIME_MONITORING" +_AP = "AI_PROTECTION" +_n = "name" +_DS = "DataSources" +_dS = "dataSources" +_F = "Features" +_f = "features" +_AIcco = "AccountIds" +_R = "Resource" +_r = "resource" +_Se = "Service" +_ser = "service" +_AAd = "AdminAccounts" +_RS = "RelationshipStatus" +_rS = "relationshipStatus" +_IA = "InvitedAt" +_iA = "invitedAt" +_FIi = "FindingIds" +_fI = "findingIds" +_RI = "RuleId" +_Ar = "Arn" +_ar = "arn" +_rI = "ruleId" +_Mo = "Mode" +_mo = "mode" +_CA = "CreatedAt" +_cA = "createdAt" +_UAp = "UpdatedAt" +_uAp = "updatedAt" +_Con = "Confidence" +_con = "confidence" +_St = "Status" +_st = "status" +_ACTIVE = "ACTIVE" +_ST = "StartTime" +_sT = "startTime" +_ET = "EndTime" +_eT = "endTime" +_RT = "ResourceType" +_AI_ = "ACCOUNT_ID" +_RT_ = "RESOURCE_TYPE" +_cK = "criterionKey" +_FC = "FilterCondition" +_fC = "filterCondition" +_fCi = "filterCriterion" +_rT = "resourceType" +_OB = "OrderBy" +_AN = "AttributeName" +_aN = "attributeName" +_oB = "orderBy" +_Ta = "Tags" +_ta = "tags" +_FCin = "FindingCriteria" +_De = "Description" +_de = "description" +_fCin = "findingCriteria" +_TP = "TriggerPrompt" +_tP = "triggerPrompt" +_IInv = "InvestigationId" +_iInv = "investigationId" +_Loc = "Location" +_Fo = "Format" +_fo = "format" +_loc = "location" +_EBO = "ExpectedBucketOwner" +_eBO = "expectedBucketOwner" +_MPPI = "MalwareProtectionPlanId" +_mPPI = "malwareProtectionPlanId" +_UAnp = "UnprocessedAccounts" +_uAn = "unprocessedAccounts" +_TESIr = "TrustedEntitySetId" +_SI_ = "SCAN_ID" +_GFI = "GUARDDUTY_FINDING_ID" +_SST = "SCAN_START_TIME" +_SS_ = "SCAN_STATUS" +_ST_ = "SCAN_TYPE" +_DSa = "DataSource" +_Sev = "Severity" +_sev = "severity" +_aIcc = "accountIds" +_sQ = "smithy.api#httpQuery" +_FCil = "FilterCriteria" +_SCo = "SortCriteria" +_NT = "NextToken" +_nT = "nextToken" +_MR = "MaxResults" +_mR = "maxResults" +_fCil = "filterCriteria" +_sCo = "sortCriteria" +_SSc = "ScanStatus" +_STc = "ScanType" +_SIc = "ScanId" +_sI = "scanId" +_sS = "scanStatus" +_sTc = "scanType" +_Sca = "Scans" +_sc = "scans" +_INACTIVE = "INACTIVE" +_Reso = "Resources" +_Tit = "Title" +_ti = "title" +_reso = "resources" +_dSa = "dataSource" +_tac = "tactic" +_tec = "technique" +_DRMR = "DetectionRuleMaxResults" +_DIet = "DetectorIds" +_SSA = "ScanStartedAt" +_sSA = "scanStartedAt" +_SCA = "ScanCompletedAt" +_sCA = "scanCompletedAt" +_FNil = "FilterNames" +_RAe = "ResourceArn" +_rAe = "resourceArn" +_Tac = "Tactic" +_Tec = "Technique" +_Lan = "Language" +_la = "language" +_Sch = "Schema" +_sch = "schema" +_Fea = "Feature" +_fe = "feature" +_RLi = "RiskLevel" +_rL = "riskLevel" +_ACTIVATING = "ACTIVATING" +_DEACTIVATING = "DEACTIVATING" +_ERROR = "ERROR" +_DP_ = "DELETE_PENDING" +_DELETED = "DELETED" +_SRSc = "ScanResultStatus" +_sRSc = "scanResultStatus" +_mem = "members" +_Memb = "Members" +_Acc = "Accounts" +_acc = "accounts" +_ED = "ErrorDetails" +_eD = "errorDetails" +_TISS = "ThreatIntelSetStatus" +_GTESIe = "GetTrustedEntitySetInput" +_cGTESRom = "com.amazonaws.guardduty#GetTrustedEntitySetRequest" +_TESSr = "TrustedEntitySetStatus" +_GTESOe = "GetTrustedEntitySetOutput" +_cGTESRoma = "com.amazonaws.guardduty#GetTrustedEntitySetResponse" +_GTESe = "GetTrustedEntitySet" +_UFs = "UsageFeature" +_RDPP = "RDS_DBI_PROTECTION_PROVISIONED" +_RDPS = "RDS_DBI_PROTECTION_SERVERLESS" +_RDPL = "RDS_DBI_PROTECTION_LIMITLESS" +_RDADPP = "RDS_DATA_ACTIVITY_DBI_PROTECTION_PROVISIONED" +_RDADPS = "RDS_DATA_ACTIVITY_DBI_PROTECTION_SERVERLESS" +_RDADPL = "RDS_DATA_ACTIVITY_DBI_PROTECTION_LIMITLESS" +_UFL = "UsageFeatureList" +_RLe = "ResourceList" +_UC = "UsageCriteria" +_UST = "UsageStatisticType" +_SBA = "SUM_BY_ACCOUNT" +_SBDS = "SUM_BY_DATA_SOURCE" +_SBR = "SUM_BY_RESOURCE" +_TR = "TOP_RESOURCES" +_SBF = "SUM_BY_FEATURES" +_TABF = "TOP_ACCOUNTS_BY_FEATURE" +_GUSI = "GetUsageStatisticsInput" +_cGUSR = "com.amazonaws.guardduty#GetUsageStatisticsRequest" +_uST = "usageStatisticsType" +_uC = "usageCriteria" +_Uni = "Unit" +_uni = "unit" +_To = "Total" +_Am = "Amount" +_am = "amount" +_UAR = "UsageAccountResult" +_to = "total" +_UARL = "UsageAccountResultList" +_UDSRs = "UsageDataSourceResult" +_UDSRL = "UsageDataSourceResultList" +_UFR = "UsageFeatureResult" +_UFRL = "UsageFeatureResultList" +_URR = "UsageResourceResult" +_URRL = "UsageResourceResultList" +_UTAR = "UsageTopAccountResult" +_UTABFL = "UsageTopAccountsByFeatureList" +_UTARs = "UsageTopAccountsResult" +_UTARL = "UsageTopAccountsResultList" +_USs = "UsageStatistics" +_SBAu = "SumByAccount" +_sBA = "sumByAccount" +_TABFo = "TopAccountsByFeature" +_tABF = "topAccountsByFeature" +_SBDSu = "SumByDataSource" +_sBDS = "sumByDataSource" +_SBRu = "SumByResource" +_sBR = "sumByResource" +_TRo = "TopResources" +_tR = "topResources" +_SBFu = "SumByFeature" +_sBF = "sumByFeature" +_GUSO = "GetUsageStatisticsOutput" +_cGUSRo = "com.amazonaws.guardduty#GetUsageStatisticsResponse" +_uS = "usageStatistics" +_GUS = "GetUsageStatistics" +_IMI = "InviteMembersInput" +_cIMR = "com.amazonaws.guardduty#InviteMembersRequest" +_DEN = "DisableEmailNotification" +_dEN = "disableEmailNotification" +_IMO = "InviteMembersOutput" +_cIMRo = "com.amazonaws.guardduty#InviteMembersResponse" +_IMn = "InviteMembers" +_LCI = "ListCoverageInput" +_cLCR = "com.amazonaws.guardduty#ListCoverageRequest" +_LCO = "ListCoverageOutput" +_cLCRo = "com.amazonaws.guardduty#ListCoverageResponse" +_LC = "ListCoverage" +_LCDRAI = "ListCustomDetectionRuleAssociationsInput" +_cLCDRAR = "com.amazonaws.guardduty#ListCustomDetectionRuleAssociationsRequest" +_LCDRAO = "ListCustomDetectionRuleAssociationsOutput" +_cLCDRARo = "com.amazonaws.guardduty#ListCustomDetectionRuleAssociationsResponse" +_RAu = "RuleAssociations" +_rAu = "ruleAssociations" +_LCDRA = "ListCustomDetectionRuleAssociations" +_LCDROCI = "ListCustomDetectionRuleOrgConfigurationsInput" +_cLCDROCR = "com.amazonaws.guardduty#ListCustomDetectionRuleOrgConfigurationsRequest" +_LCDROCO = "ListCustomDetectionRuleOrgConfigurationsOutput" +_cLCDROCRo = "com.amazonaws.guardduty#ListCustomDetectionRuleOrgConfigurationsResponse" +_Confi = "Configurations" +_confi = "configurations" +_LCDROC = "ListCustomDetectionRuleOrgConfigurations" +_LCDRI = "ListCustomDetectionRulesInput" +_cLCDRR = "com.amazonaws.guardduty#ListCustomDetectionRulesRequest" +_Fil = "Filters" +_fil = "filters" +_RSul = "RuleSummary" +_RSL = "RuleSummaryList" +_LCDRO = "ListCustomDetectionRulesOutput" +_cLCDRRo = "com.amazonaws.guardduty#ListCustomDetectionRulesResponse" +_Rul = "Rules" +_rul = "rules" +_LCDR = "ListCustomDetectionRules" +_LDI = "ListDetectorsInput" +_cLDR = "com.amazonaws.guardduty#ListDetectorsRequest" +_LDO = "ListDetectorsOutput" +_cLDRo = "com.amazonaws.guardduty#ListDetectorsResponse" +_dIet = "detectorIds" +_LDi = "ListDetectors" +_LFI = "ListFiltersInput" +_cLFR = "com.amazonaws.guardduty#ListFiltersRequest" +_LFO = "ListFiltersOutput" +_cLFRo = "com.amazonaws.guardduty#ListFiltersResponse" +_fNi = "filterNames" +_LF = "ListFilters" +_LFIi = "ListFindingsInput" +_cLFRom = "com.amazonaws.guardduty#ListFindingsRequest" +_LFOi = "ListFindingsOutput" +_cLFRoma = "com.amazonaws.guardduty#ListFindingsResponse" +_LFi = "ListFindings" +_ISFn = "InvestigationSortField" +_ST__ = "START_TIME" +_ET__ = "END_TIME" +_STATUS = "STATUS" +_RL_ = "RISK_LEVEL" +_CONFIDENCE = "CONFIDENCE" +_ISC = "InvestigationSortCriteria" +_LII = "ListInvestigationsInput" +_cLIR = "com.amazonaws.guardduty#ListInvestigationsRequest" +_ITnv = "InvestigationTitle" +_ISnv = "InvestigationSummary" +_ISnve = "InvestigationSummaries" +_LIO = "ListInvestigationsOutput" +_cLIRo = "com.amazonaws.guardduty#ListInvestigationsResponse" +_Inve = "Investigations" +_inv = "investigations" +_LI = "ListInvestigations" +_LIIi = "ListInvitationsInput" +_cLIRom = "com.amazonaws.guardduty#ListInvitationsRequest" +_Invi = "Invitation" +_Invit = "Invitations" +_LIOi = "ListInvitationsOutput" +_cLIRoma = "com.amazonaws.guardduty#ListInvitationsResponse" +_invi = "invitations" +_LIi = "ListInvitations" +_LIPSI = "ListIPSetsInput" +_cLIPSR = "com.amazonaws.guardduty#ListIPSetsRequest" +_ISIp = "IpSetIds" +_LIPSO = "ListIPSetsOutput" +_cLIPSRo = "com.amazonaws.guardduty#ListIPSetsResponse" +_iSIp = "ipSetIds" +_LIPS = "ListIPSets" +_LMPPI = "ListMalwareProtectionPlansInput" +_cLMPPR = "com.amazonaws.guardduty#ListMalwareProtectionPlansRequest" +_MPPSa = "MalwareProtectionPlanSummary" +_MPPSal = "MalwareProtectionPlansSummary" +_LMPPO = "ListMalwareProtectionPlansOutput" +_cLMPPRo = "com.amazonaws.guardduty#ListMalwareProtectionPlansResponse" +_MPP = "MalwareProtectionPlans" +_mPP = "malwareProtectionPlans" +_LMPP = "ListMalwareProtectionPlans" +_LMSCK = "ListMalwareScansCriterionKey" +_RA_ = "RESOURCE_ARN" +_LMSFC = "ListMalwareScansFilterCriterion" +_LMSFCL = "ListMalwareScansFilterCriterionList" +_LMSFCi = "ListMalwareScansFilterCriteria" +_LMSI = "ListMalwareScansInput" +_cLMSR = "com.amazonaws.guardduty#ListMalwareScansRequest" +_MSa = "MalwareScan" +_MSal = "MalwareScans" +_LMSO = "ListMalwareScansOutput" +_cLMSRo = "com.amazonaws.guardduty#ListMalwareScansResponse" +_LMS = "ListMalwareScans" +_LMI = "ListMembersInput" +_cLMR = "com.amazonaws.guardduty#ListMembersRequest" +_OAn = "OnlyAssociated" +_oAn = "onlyAssociated" +_LMO = "ListMembersOutput" +_cLMRo = "com.amazonaws.guardduty#ListMembersResponse" +_LM = "ListMembers" +_LOAAI = "ListOrganizationAdminAccountsInput" +_cLOAAR = "com.amazonaws.guardduty#ListOrganizationAdminAccountsRequest" +_LOAAO = "ListOrganizationAdminAccountsOutput" +_cLOAARo = "com.amazonaws.guardduty#ListOrganizationAdminAccountsResponse" +_aA = "adminAccounts" +_LOAA = "ListOrganizationAdminAccounts" + +DETECTION_RULE_MAX_RESULTS: StaticSchema = (7, n0, _DRMR, 0) + +THREAT_INTEL_SET_STATUS: StaticSchema = ( + 14, + n0, + _TISS, + 0, + (_INACTIVE, _ACTIVATING, _ACTIVE, _DEACTIVATING, _ERROR, _DP_, _DELETED), + ( + (-1, {_sV: _INACTIVE}), + (-1, {_sV: _ACTIVATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DEACTIVATING}), + (-1, {_sV: _ERROR}), + (-1, {_sV: _DP_}), + (-1, {_sV: _DELETED}), + ), +) + +GET_TRUSTED_ENTITY_SET_INPUT: StaticSchema = ( + 18, + n0, + _GTESIe, + {_sSI: _cGTESRom, _s: None}, + (_DI, _TESIr), + ((lambda: schemas.DETECTOR_ID, 9), (lambda: schemas.STRING, 9)), +) + +GET_TRUSTED_ENTITY_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _GTESOe, + {_sSI: _cGTESRoma, _smi: None}, + (_N, _Fo, _Loc, _EBO, _St, _Ta, _CA, _UAp, _ED), + ( + (lambda: schemas.NAME, {_sN: _n, _sm: None}), + (lambda: schemas.TRUSTED_ENTITY_SET_FORMAT, {_sN: _fo, _sm: None}), + (lambda: schemas.LOCATION, {_sN: _loc, _sm: None}), + (lambda: schemas.EXPECTED_BUCKET_OWNER, {_sN: _eBO}), + (lambda: TRUSTED_ENTITY_SET_STATUS, {_sN: _st, _sm: None}), + (lambda: schemas.TAG_MAP, {_sN: _ta}), + (lambda: schemas.TIMESTAMP, {_sN: _cA}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + (lambda: schemas.STRING, {_sN: _eD}), + ), +) + +GET_TRUSTED_ENTITY_SET: StaticOperationSchema = ( + 23, + n0, + _GTESe, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", + "code": 200, + } + ) + }, + GET_TRUSTED_ENTITY_SET_INPUT, + GET_TRUSTED_ENTITY_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +TRUSTED_ENTITY_SET_STATUS: StaticSchema = ( + 14, + n0, + _TESSr, + 0, + (_INACTIVE, _ACTIVATING, _ACTIVE, _DEACTIVATING, _ERROR, _DP_, _DELETED), + ( + (-1, {_sV: _INACTIVE}), + (-1, {_sV: _ACTIVATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DEACTIVATING}), + (-1, {_sV: _ERROR}), + (-1, {_sV: _DP_}), + (-1, {_sV: _DELETED}), + ), +) + +USAGE_FEATURE: StaticSchema = ( + 14, + n0, + _UFs, + 0, + ( + _FL_, + _CT_, + _DL_, + _SDE, + _EAL, + _EMP, + _RLE, + _LNL, + _ERM, + _ERM_, + _FRM, + _RDPP, + _RDPS, + _RDPL, + _RDADPP, + _RDADPS, + _RDADPL, + _AP, + ), + ( + (-1, {_sV: _FL_}), + (-1, {_sV: _CT_}), + (-1, {_sV: _DL_}), + (-1, {_sV: _SDE}), + (-1, {_sV: _EAL}), + (-1, {_sV: _EMP}), + (-1, {_sV: _RLE}), + (-1, {_sV: _LNL}), + (-1, {_sV: _ERM}), + (-1, {_sV: _ERM_}), + (-1, {_sV: _FRM}), + (-1, {_sV: _RDPP}), + (-1, {_sV: _RDPS}), + (-1, {_sV: _RDPL}), + (-1, {_sV: _RDADPP}), + (-1, {_sV: _RDADPS}), + (-1, {_sV: _RDADPL}), + (-1, {_sV: _AP}), + ), +) + +USAGE_FEATURE_LIST: StaticSchema = (16, n0, _UFL, 0, (_me,), ((USAGE_FEATURE, 0),)) + +RESOURCE_LIST: StaticSchema = (16, n0, _RLe, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +USAGE_CRITERIA: StaticSchema = ( + 18, + n0, + _UC, + 0, + (_AIcco, _DS, _Reso, _F), + ( + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc}), + (lambda: schemas.DATA_SOURCE_LIST, {_sN: _dS}), + (RESOURCE_LIST, {_sN: _reso}), + (USAGE_FEATURE_LIST, {_sN: _f}), + ), +) + +USAGE_STATISTIC_TYPE: StaticSchema = ( + 14, + n0, + _UST, + 0, + (_SBA, _SBDS, _SBR, _TR, _SBF, _TABF), + ( + (-1, {_sV: _SBA}), + (-1, {_sV: _SBDS}), + (-1, {_sV: _SBR}), + (-1, {_sV: _TR}), + (-1, {_sV: _SBF}), + (-1, {_sV: _TABF}), + ), +) + +GET_USAGE_STATISTICS_INPUT: StaticSchema = ( + 18, + n0, + _GUSI, + {_sSI: _cGUSR, _s: None}, + (_DI, _UST, _UC, _Uni, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (USAGE_STATISTIC_TYPE, {_sN: _uST, _sm: None}), + (USAGE_CRITERIA, {_sN: _uC, _sm: None}), + (lambda: schemas.STRING, {_sN: _uni}), + (lambda: schemas.MAX_RESULTS, {_sN: _mR}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +GET_USAGE_STATISTICS_OUTPUT: StaticSchema = ( + 18, + n0, + _GUSO, + {_sSI: _cGUSRo, _smi: None}, + (_USs, _NT), + ((lambda: USAGE_STATISTICS, {_sN: _uS}), (lambda: schemas.STRING, {_sN: _nT})), +) + +GET_USAGE_STATISTICS: StaticOperationSchema = ( + 23, + n0, + _GUS, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/usage/statistics", + "code": 200, + } + ) + }, + GET_USAGE_STATISTICS_INPUT, + GET_USAGE_STATISTICS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +TOTAL: StaticSchema = ( + 18, + n0, + _To, + 0, + (_Am, _Uni), + ((lambda: schemas.STRING, {_sN: _am}), (lambda: schemas.STRING, {_sN: _uni})), +) + +USAGE_ACCOUNT_RESULT: StaticSchema = ( + 18, + n0, + _UAR, + 0, + (_AIcc, _To), + ((lambda: schemas.ACCOUNT_ID, {_sN: _aIc}), (TOTAL, {_sN: _to})), +) + +USAGE_ACCOUNT_RESULT_LIST: StaticSchema = ( + 16, + n0, + _UARL, + 0, + (_me,), + ((USAGE_ACCOUNT_RESULT, 0),), +) + +USAGE_DATA_SOURCE_RESULT: StaticSchema = ( + 18, + n0, + _UDSRs, + 0, + (_DSa, _To), + ((lambda: schemas.DATA_SOURCE, {_sN: _dSa}), (TOTAL, {_sN: _to})), +) + +USAGE_DATA_SOURCE_RESULT_LIST: StaticSchema = ( + 16, + n0, + _UDSRL, + 0, + (_me,), + ((USAGE_DATA_SOURCE_RESULT, 0),), +) + +USAGE_FEATURE_RESULT: StaticSchema = ( + 18, + n0, + _UFR, + 0, + (_Fea, _To), + ((USAGE_FEATURE, {_sN: _fe}), (TOTAL, {_sN: _to})), +) + +USAGE_FEATURE_RESULT_LIST: StaticSchema = ( + 16, + n0, + _UFRL, + 0, + (_me,), + ((USAGE_FEATURE_RESULT, 0),), +) + +USAGE_RESOURCE_RESULT: StaticSchema = ( + 18, + n0, + _URR, + 0, + (_R, _To), + ((lambda: schemas.STRING, {_sN: _r}), (TOTAL, {_sN: _to})), +) + +USAGE_RESOURCE_RESULT_LIST: StaticSchema = ( + 16, + n0, + _URRL, + 0, + (_me,), + ((USAGE_RESOURCE_RESULT, 0),), +) + +USAGE_TOP_ACCOUNT_RESULT: StaticSchema = ( + 18, + n0, + _UTAR, + 0, + (_AIcc, _To), + ((lambda: schemas.ACCOUNT_ID, {_sN: _aIc}), (TOTAL, {_sN: _to})), +) + +USAGE_TOP_ACCOUNTS_BY_FEATURE_LIST: StaticSchema = ( + 16, + n0, + _UTABFL, + 0, + (_me,), + ((USAGE_TOP_ACCOUNT_RESULT, 0),), +) + +USAGE_TOP_ACCOUNTS_RESULT: StaticSchema = ( + 18, + n0, + _UTARs, + 0, + (_Fea, _Acc), + ((USAGE_FEATURE, {_sN: _fe}), (USAGE_TOP_ACCOUNTS_BY_FEATURE_LIST, {_sN: _acc})), +) + +USAGE_TOP_ACCOUNTS_RESULT_LIST: StaticSchema = ( + 16, + n0, + _UTARL, + 0, + (_me,), + ((USAGE_TOP_ACCOUNTS_RESULT, 0),), +) + +USAGE_STATISTICS: StaticSchema = ( + 18, + n0, + _USs, + 0, + (_SBAu, _TABFo, _SBDSu, _SBRu, _TRo, _SBFu), + ( + (USAGE_ACCOUNT_RESULT_LIST, {_sN: _sBA}), + (USAGE_TOP_ACCOUNTS_RESULT_LIST, {_sN: _tABF}), + (USAGE_DATA_SOURCE_RESULT_LIST, {_sN: _sBDS}), + (USAGE_RESOURCE_RESULT_LIST, {_sN: _sBR}), + (USAGE_RESOURCE_RESULT_LIST, {_sN: _tR}), + (USAGE_FEATURE_RESULT_LIST, {_sN: _sBF}), + ), +) + +INVITE_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _IMI, + {_sSI: _cIMR, _s: None}, + (_DI, _AIcco, _DEN, _M), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), + (lambda: schemas.BOOLEAN, {_sN: _dEN}), + (lambda: schemas.STRING, {_sN: _m}), + ), +) + +INVITE_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _IMO, + {_sSI: _cIMRo, _smi: None}, + (_UAnp,), + ((lambda: schemas.UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), +) + +INVITE_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _IMn, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/member/invite", + "code": 200, + } + ) + }, + INVITE_MEMBERS_INPUT, + INVITE_MEMBERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +LIST_COVERAGE_INPUT: StaticSchema = ( + 18, + n0, + _LCI, + {_sSI: _cLCR, _s: None}, + (_DI, _NT, _MR, _FCil, _SCo), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.STRING, {_sN: _nT}), + (lambda: schemas.MAX_RESULTS, {_sN: _mR}), + (lambda: schemas.COVERAGE_FILTER_CRITERIA, {_sN: _fCil}), + (lambda: schemas.COVERAGE_SORT_CRITERIA, {_sN: _sCo}), + ), +) + +LIST_COVERAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _LCO, + {_sSI: _cLCRo, _smi: None}, + (_Reso, _NT), + ( + (lambda: schemas.COVERAGE_RESOURCES, {_sN: _reso, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_COVERAGE: StaticOperationSchema = ( + 23, + n0, + _LC, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}/coverage", "code": 200} + ) + }, + LIST_COVERAGE_INPUT, + LIST_COVERAGE_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LCDRAI, + {_sSI: _cLCDRAR, _s: None}, + (_MR, _NT, _RI, _Mo), + ( + (DETECTION_RULE_MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + (lambda: schemas.RULE_ID, {_sQ: _rI}), + (lambda: schemas.ASSOCIATION_MODE, {_sQ: _mo}), + ), +) + +LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCDRAO, + {_sSI: _cLCDRARo, _smi: None}, + (_RAu, _NT), + ( + (lambda: schemas.ASSOCIATION_SUMMARY_LIST, {_sN: _rAu, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS: StaticOperationSchema = ( + 23, + n0, + _LCDRA, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/custom-detection-rule/association", "code": 200} + ) + }, + LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_INPUT, + LIST_CUSTOM_DETECTION_RULE_ASSOCIATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LCDROCI, + {_sSI: _cLCDROCR, _s: None}, + (_MR, _NT, _St), + ( + (DETECTION_RULE_MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + (lambda: schemas.DETECTION_RULE_CONFIGURATION_STATUS, {_sQ: _st}), + ), +) + +LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCDROCO, + {_sSI: _cLCDROCRo, _smi: None}, + (_Confi, _NT), + ( + ( + lambda: schemas.DETECTION_RULE_ORG_CONFIGURATION_SUMMARY_LIST, + {_sN: _confi, _sm: None}, + ), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _LCDROC, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/custom-detection-rule/org-configuration", + "code": 200, + } + ) + }, + LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_INPUT, + LIST_CUSTOM_DETECTION_RULE_ORG_CONFIGURATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +LIST_CUSTOM_DETECTION_RULES_INPUT: StaticSchema = ( + 18, + n0, + _LCDRI, + {_sSI: _cLCDRR, _s: None}, + (_MR, _NT, _Fil), + ( + (DETECTION_RULE_MAX_RESULTS, {_sN: _mR}), + (lambda: schemas.STRING, {_sN: _nT}), + (lambda: schemas.DETECTION_RULE_FILTER_LIST, {_sN: _fil}), + ), +) + +LIST_CUSTOM_DETECTION_RULES_OUTPUT: StaticSchema = ( + 18, + n0, + _LCDRO, + {_sSI: _cLCDRRo, _smi: None}, + (_Rul, _NT), + ( + (lambda: RULE_SUMMARY_LIST, {_sN: _rul, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_CUSTOM_DETECTION_RULES: StaticOperationSchema = ( + 23, + n0, + _LCDR, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/custom-detection-rule/rule", "code": 200} + ) + }, + LIST_CUSTOM_DETECTION_RULES_INPUT, + LIST_CUSTOM_DETECTION_RULES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +RULE_SUMMARY: StaticSchema = ( + 18, + n0, + _RSul, + 0, + (_RI, _Ar, _N, _De, _Sev, _DSa, _Tac, _Tec, _Se, _Lan, _Sch, _CA, _UAp), + ( + (lambda: schemas.RULE_ID, {_sN: _rI, _sm: None}), + (lambda: schemas.DETECTION_RULE_ARN, {_sN: _ar, _sm: None}), + (lambda: schemas.RULE_NAME, {_sN: _n, _sm: None}), + (lambda: schemas.DETECTION_RULE_DESCRIPTION, {_sN: _de, _sm: None}), + (lambda: schemas.DETECTION_RULE_SEVERITY, {_sN: _sev, _sm: None}), + (lambda: schemas.DETECTION_RULE_DATA_SOURCE, {_sN: _dSa, _sm: None}), + (lambda: schemas.MITRE_TACTIC, {_sN: _tac, _sm: None}), + (lambda: schemas.MITRE_TECHNIQUE, {_sN: _tec, _sm: None}), + (lambda: schemas.DETECTION_RULE_SERVICE_NAME, {_sN: _ser, _sm: None}), + (lambda: schemas.RULE_LANGUAGE, {_sN: _la}), + (lambda: schemas.RULE_SCHEMA, {_sN: _sch}), + (lambda: schemas.TIMESTAMP, {_sN: _cA, _sm: None}), + (lambda: schemas.TIMESTAMP, {_sN: _uAp}), + ), +) + +RULE_SUMMARY_LIST: StaticSchema = (16, n0, _RSL, 0, (_me,), ((RULE_SUMMARY, 0),)) + +LIST_DETECTORS_INPUT: StaticSchema = ( + 18, + n0, + _LDI, + {_sSI: _cLDR, _s: None}, + (_MR, _NT), + ((lambda: schemas.MAX_RESULTS, {_sQ: _mR}), (lambda: schemas.STRING, {_sQ: _nT})), +) + +LIST_DETECTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDO, + {_sSI: _cLDRo, _smi: None}, + (_DIet, _NT), + ( + (lambda: schemas.DETECTOR_IDS, {_sN: _dIet, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_DETECTORS: StaticOperationSchema = ( + 23, + n0, + _LDi, + {_smith: MappingProxyType({"method": "GET", "uri": "/detector", "code": 200})}, + LIST_DETECTORS_INPUT, + LIST_DETECTORS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +LIST_FILTERS_INPUT: StaticSchema = ( + 18, + n0, + _LFI, + {_sSI: _cLFR, _s: None}, + (_DI, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + ), +) + +LIST_FILTERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFO, + {_sSI: _cLFRo, _smi: None}, + (_FNil, _NT), + ( + (lambda: schemas.FILTER_NAMES, {_sN: _fNi, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_FILTERS: StaticOperationSchema = ( + 23, + n0, + _LF, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/detector/{DetectorId}/filter", "code": 200} + ) + }, + LIST_FILTERS_INPUT, + LIST_FILTERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +LIST_FINDINGS_INPUT: StaticSchema = ( + 18, + n0, + _LFIi, + {_sSI: _cLFRom, _s: None}, + (_DI, _FCin, _SCo, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.FINDING_CRITERIA, {_sN: _fCin}), + (lambda: schemas.SORT_CRITERIA, {_sN: _sCo}), + (lambda: schemas.MAX_RESULTS, {_sN: _mR}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_FINDINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFOi, + {_sSI: _cLFRoma, _smi: None}, + (_FIi, _NT), + ( + (lambda: schemas.FINDING_IDS, {_sN: _fI, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_FINDINGS: StaticOperationSchema = ( + 23, + n0, + _LFi, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}/findings", "code": 200} + ) + }, + LIST_FINDINGS_INPUT, + LIST_FINDINGS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +INVESTIGATION_SORT_FIELD: StaticSchema = ( + 14, + n0, + _ISFn, + 0, + (_ST__, _ET__, _STATUS, _RL_, _CONFIDENCE), + ( + (-1, {_sV: _ST__}), + (-1, {_sV: _ET__}), + (-1, {_sV: _STATUS}), + (-1, {_sV: _RL_}), + (-1, {_sV: _CONFIDENCE}), + ), +) + +INVESTIGATION_SORT_CRITERIA: StaticSchema = ( + 18, + n0, + _ISC, + 0, + (_AN, _OB), + ((INVESTIGATION_SORT_FIELD, {_sN: _aN}), (lambda: schemas.ORDER_BY, {_sN: _oB})), +) + +LIST_INVESTIGATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LII, + {_sSI: _cLIR, _s: None}, + (_DI, _SCo, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (INVESTIGATION_SORT_CRITERIA, {_sN: _sCo}), + (lambda: schemas.MAX_RESULTS, {_sN: _mR}), + (NEXT_TOKEN, {_sN: _nT}), + ), +) + +LIST_INVESTIGATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIO, + {_sSI: _cLIRo, _smi: None}, + (_Inve, _NT), + ( + (lambda: INVESTIGATION_SUMMARIES, {_sN: _inv, _sm: None}), + (NEXT_TOKEN, {_sN: _nT}), + ), +) + +LIST_INVESTIGATIONS: StaticOperationSchema = ( + 23, + n0, + _LI, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/investigation/list", + "code": 200, + } + ) + }, + LIST_INVESTIGATIONS_INPUT, + LIST_INVESTIGATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +INVESTIGATION_TITLE: StaticSchema = (3, n0, _ITnv, 0) + +INVESTIGATION_SUMMARY: StaticSchema = ( + 18, + n0, + _ISnv, + 0, + (_IInv, _St, _TP, _RLi, _Con, _Tit, _AIcc, _ST, _ET), + ( + (lambda: schemas.INVESTIGATION_ID, {_sN: _iInv}), + (lambda: schemas.INVESTIGATION_STATUS, {_sN: _st}), + (lambda: schemas.TRIGGER_PROMPT, {_sN: _tP}), + (lambda: schemas.RISK_LEVEL, {_sN: _rL}), + (lambda: schemas.CONFIDENCE, {_sN: _con}), + (INVESTIGATION_TITLE, {_sN: _ti}), + (lambda: schemas.STRING, {_sN: _aIc}), + (lambda: schemas.TIMESTAMP, {_sN: _sT}), + (lambda: schemas.TIMESTAMP, {_sN: _eT}), + ), +) + +INVESTIGATION_SUMMARIES: StaticSchema = ( + 16, + n0, + _ISnve, + 0, + (_me,), + ((INVESTIGATION_SUMMARY, 0),), +) + +LIST_INVITATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LIIi, + {_sSI: _cLIRom, _s: None}, + (_MR, _NT), + ((lambda: schemas.MAX_RESULTS, {_sQ: _mR}), (lambda: schemas.STRING, {_sQ: _nT})), +) + +LIST_INVITATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIOi, + {_sSI: _cLIRoma, _smi: None}, + (_Invit, _NT), + ((lambda: INVITATIONS, {_sN: _invi}), (lambda: schemas.STRING, {_sN: _nT})), +) + +LIST_INVITATIONS: StaticOperationSchema = ( + 23, + n0, + _LIi, + {_smith: MappingProxyType({"method": "GET", "uri": "/invitation", "code": 200})}, + LIST_INVITATIONS_INPUT, + LIST_INVITATIONS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +INVITATION: StaticSchema = ( + 18, + n0, + _Invi, + 0, + (_AIcc, _II, _RS, _IA), + ( + (lambda: schemas.ACCOUNT_ID, {_sN: _aIc}), + (lambda: schemas.STRING, {_sN: _iI}), + (lambda: schemas.STRING, {_sN: _rS}), + (lambda: schemas.STRING, {_sN: _iA}), + ), +) + +INVITATIONS: StaticSchema = (16, n0, _Invit, 0, (_me,), ((INVITATION, 0),)) + +LIST_IP_SETS_INPUT: StaticSchema = ( + 18, + n0, + _LIPSI, + {_sSI: _cLIPSR, _s: None}, + (_DI, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + ), +) + +LIST_IP_SETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIPSO, + {_sSI: _cLIPSRo, _smi: None}, + (_ISIp, _NT), + ( + (lambda: IP_SET_IDS, {_sN: _iSIp, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_IP_SETS: StaticOperationSchema = ( + 23, + n0, + _LIPS, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/detector/{DetectorId}/ipset", "code": 200} + ) + }, + LIST_IP_SETS_INPUT, + LIST_IP_SETS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +IP_SET_IDS: StaticSchema = (16, n0, _ISIp, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +LIST_MALWARE_PROTECTION_PLANS_INPUT: StaticSchema = ( + 18, + n0, + _LMPPI, + {_sSI: _cLMPPR, _s: None}, + (_NT,), + ((lambda: schemas.STRING, {_sQ: _nT}),), +) + +LIST_MALWARE_PROTECTION_PLANS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMPPO, + {_sSI: _cLMPPRo, _smi: None}, + (_MPP, _NT), + ( + (lambda: MALWARE_PROTECTION_PLANS_SUMMARY, {_sN: _mPP}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_MALWARE_PROTECTION_PLANS: StaticOperationSchema = ( + 23, + n0, + _LMPP, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/malware-protection-plan", "code": 200} + ) + }, + LIST_MALWARE_PROTECTION_PLANS_INPUT, + LIST_MALWARE_PROTECTION_PLANS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +MALWARE_PROTECTION_PLAN_SUMMARY: StaticSchema = ( + 18, + n0, + _MPPSa, + 0, + (_MPPI,), + ((lambda: schemas.STRING, {_sN: _mPPI}),), +) + +MALWARE_PROTECTION_PLANS_SUMMARY: StaticSchema = ( + 16, + n0, + _MPPSal, + 0, + (_me,), + ((MALWARE_PROTECTION_PLAN_SUMMARY, 0),), +) + +LIST_MALWARE_SCANS_CRITERION_KEY: StaticSchema = ( + 14, + n0, + _LMSCK, + 0, + (_RA_, _SI_, _AI_, _GFI, _RT_, _SST, _SS_, _ST_), + ( + (-1, {_sV: _RA_}), + (-1, {_sV: _SI_}), + (-1, {_sV: _AI_}), + (-1, {_sV: _GFI}), + (-1, {_sV: _RT_}), + (-1, {_sV: _SST}), + (-1, {_sV: _SS_}), + (-1, {_sV: _ST_}), + ), +) + +LIST_MALWARE_SCANS_FILTER_CRITERION: StaticSchema = ( + 18, + n0, + _LMSFC, + 0, + (_LMSCK, _FC), + ( + (LIST_MALWARE_SCANS_CRITERION_KEY, {_sN: _cK}), + (lambda: schemas.FILTER_CONDITION, {_sN: _fC}), + ), +) + +LIST_MALWARE_SCANS_FILTER_CRITERION_LIST: StaticSchema = ( + 16, + n0, + _LMSFCL, + 0, + (_me,), + ((LIST_MALWARE_SCANS_FILTER_CRITERION, 0),), +) + +LIST_MALWARE_SCANS_FILTER_CRITERIA: StaticSchema = ( + 18, + n0, + _LMSFCi, + 0, + (_LMSFC,), + ((LIST_MALWARE_SCANS_FILTER_CRITERION_LIST, {_sN: _fCi}),), +) + +LIST_MALWARE_SCANS_INPUT: StaticSchema = ( + 18, + n0, + _LMSI, + {_sSI: _cLMSR, _s: None}, + (_MR, _NT, _FCil, _SCo), + ( + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + (LIST_MALWARE_SCANS_FILTER_CRITERIA, {_sN: _fCil}), + (lambda: schemas.SORT_CRITERIA, {_sN: _sCo}), + ), +) + +LIST_MALWARE_SCANS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMSO, + {_sSI: _cLMSRo, _smi: None}, + (_Sca, _NT), + ( + (lambda: MALWARE_SCANS, {_sN: _sc, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_MALWARE_SCANS: StaticOperationSchema = ( + 23, + n0, + _LMS, + {_smith: MappingProxyType({"method": "POST", "uri": "/malware-scan", "code": 200})}, + LIST_MALWARE_SCANS_INPUT, + LIST_MALWARE_SCANS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +MALWARE_SCAN: StaticSchema = ( + 18, + n0, + _MSa, + 0, + (_RAe, _RT, _SIc, _SSc, _SRSc, _STc, _SSA, _SCA), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _rAe}), + (lambda: schemas.MALWARE_PROTECTION_RESOURCE_TYPE, {_sN: _rT}), + (lambda: schemas.NON_EMPTY_STRING, {_sN: _sI}), + (lambda: schemas.MALWARE_PROTECTION_SCAN_STATUS, {_sN: _sS}), + (lambda: schemas.SCAN_RESULT_STATUS, {_sN: _sRSc}), + (lambda: schemas.MALWARE_PROTECTION_SCAN_TYPE, {_sN: _sTc}), + (lambda: schemas.TIMESTAMP, {_sN: _sSA}), + (lambda: schemas.TIMESTAMP, {_sN: _sCA}), + ), +) + +MALWARE_SCANS: StaticSchema = (16, n0, _MSal, 0, (_me,), ((MALWARE_SCAN, 0),)) + +LIST_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _LMI, + {_sSI: _cLMR, _s: None}, + (_DI, _MR, _NT, _OAn), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + (lambda: schemas.STRING, {_sQ: _oAn}), + ), +) + +LIST_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMO, + {_sSI: _cLMRo, _smi: None}, + (_Memb, _NT), + ((lambda: schemas.MEMBERS, {_sN: _mem}), (lambda: schemas.STRING, {_sN: _nT})), +) + +LIST_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _LM, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/detector/{DetectorId}/member", "code": 200} + ) + }, + LIST_MEMBERS_INPUT, + LIST_MEMBERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +LIST_ORGANIZATION_ADMIN_ACCOUNTS_INPUT: StaticSchema = ( + 18, + n0, + _LOAAI, + {_sSI: _cLOAAR, _s: None}, + (_MR, _NT), + ((lambda: schemas.MAX_RESULTS, {_sQ: _mR}), (lambda: schemas.STRING, {_sQ: _nT})), +) + +LIST_ORGANIZATION_ADMIN_ACCOUNTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LOAAO, + {_sSI: _cLOAARo, _smi: None}, + (_AAd, _NT), + ( + (lambda: schemas.ADMIN_ACCOUNTS, {_sN: _aA}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_ORGANIZATION_ADMIN_ACCOUNTS: StaticOperationSchema = ( + 23, + n0, + _LOAA, + {_smith: MappingProxyType({"method": "GET", "uri": "/admin", "code": 200})}, + LIST_ORGANIZATION_ADMIN_ACCOUNTS_INPUT, + LIST_ORGANIZATION_ADMIN_ACCOUNTS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_8.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_8.py new file mode 100644 index 000000000..00fac5f09 --- /dev/null +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/_private/schemas_8.py @@ -0,0 +1,1622 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.guardduty" +_DI = "DetectorId" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sN = "smithy.api#jsonName" +_smi = "smithy.api#output" +_smith = "smithy.api#http" +_N = "Name" +_me = "member" +_AL = "AuditLogs" +_aL = "auditLogs" +_SEIWF = "ScanEc2InstanceWithFindings" +_sEIWF = "scanEc2InstanceWithFindings" +_SL = "S3Logs" +_sLo = "s3Logs" +_K = "Kubernetes" +_k = "kubernetes" +_MP = "MalwareProtection" +_mP = "malwareProtection" +_n = "name" +_DS = "DataSources" +_dS = "dataSources" +_F = "Features" +_f = "features" +_AIcco = "AccountIds" +_ke = "key" +_Ac = "Action" +_VI = "VersionId" +_vI = "versionId" +_FIi = "FindingIds" +_fI = "findingIds" +_AIs = "AssociationId" +_RI = "RuleId" +_Mo = "Mode" +_mo = "mode" +_ac = "action" +_CTl = "ClientToken" +_St = "Status" +_st = "status" +_CSD = "ContinuousScanDetails" +_sTm = "smithy.api#idempotencyToken" +_cTl = "clientToken" +_Ta = "Tags" +_ta = "tags" +_IAI = "IncludeAccountIds" +_iAI = "includeAccountIds" +_EAI = "ExcludeAccountIds" +_eAI = "excludeAccountIds" +_En = "Enable" +_en = "enable" +_EV = "EbsVolumes" +_eV = "ebsVolumes" +_ACd = "AdditionalConfiguration" +_aC = "additionalConfiguration" +_FPF = "FindingPublishingFrequency" +_fPF = "findingPublishingFrequency" +_FCin = "FindingCriteria" +_FN = "FilterName" +_De = "Description" +_de = "description" +_Ra = "Rank" +_ra = "rank" +_fCin = "findingCriteria" +_Loc = "Location" +_loc = "location" +_Activ = "Activate" +_act = "activate" +_EBO = "ExpectedBucketOwner" +_eBO = "expectedBucketOwner" +_ISI = "IpSetId" +_OP = "ObjectPrefixes" +_oP = "objectPrefixes" +_SB = "S3Bucket" +_sB = "s3Bucket" +_Ro = "Role" +_ro = "role" +_PR = "ProtectedResource" +_pR = "protectedResource" +_Actio = "Actions" +_acti = "actions" +_MPPI = "MalwareProtectionPlanId" +_UAnp = "UnprocessedAccounts" +_uAn = "unprocessedAccounts" +_DP = "DestinationProperties" +_dP = "destinationProperties" +_DIe = "DestinationId" +_TESI = "ThreatEntitySetId" +_TISI = "ThreatIntelSetId" +_TESIr = "TrustedEntitySetId" +_aIcc = "accountIds" +_sQ = "smithy.api#httpQuery" +_sU = "smithy.api#Unit" +_NT = "NextToken" +_nT = "nextToken" +_MR = "MaxResults" +_mR = "maxResults" +_SIc = "ScanId" +_sI = "scanId" +_AE = "AutoEnable" +_aE = "autoEnable" +_AEOM = "AutoEnableOrganizationMembers" +_aEOM = "autoEnableOrganizationMembers" +_Dest = "Destinations" +_SO = "S3Object" +_Ke = "Key" +_sO = "s3Object" +_ESP = "EbsSnapshotPreservation" +_Fe = "Feedback" +_BVN = "BackupVaultName" +_bVN = "backupVaultName" +_cSD = "continuousScanDetails" +_ISD = "IncrementalScanDetails" +_iSD = "incrementalScanDetails" +_RAe = "ResourceArn" +_rAe = "resourceArn" +_SCca = "ScanConfiguration" +_sCca = "scanConfiguration" +_RP = "RecoveryPoint" +_rP = "recoveryPoint" +_SRCc = "ScanResourceCriteria" +_sRCc = "scanResourceCriteria" +_eSP = "ebsSnapshotPreservation" +_LPDI = "ListPublishingDestinationsInput" +_cLPDR = "com.amazonaws.guardduty#ListPublishingDestinationsRequest" +_LPDO = "ListPublishingDestinationsOutput" +_cLPDRo = "com.amazonaws.guardduty#ListPublishingDestinationsResponse" +_des = "destinations" +_LPDi = "ListPublishingDestinations" +_GDA = "GuardDutyArn" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.guardduty#ListTagsForResourceRequest" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.guardduty#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_LTESI = "ListThreatEntitySetsInput" +_cLTESR = "com.amazonaws.guardduty#ListThreatEntitySetsRequest" +_TESIh = "ThreatEntitySetIds" +_LTESO = "ListThreatEntitySetsOutput" +_cLTESRo = "com.amazonaws.guardduty#ListThreatEntitySetsResponse" +_tESIh = "threatEntitySetIds" +_LTES = "ListThreatEntitySets" +_LTISI = "ListThreatIntelSetsInput" +_cLTISR = "com.amazonaws.guardduty#ListThreatIntelSetsRequest" +_TISIh = "ThreatIntelSetIds" +_LTISO = "ListThreatIntelSetsOutput" +_cLTISRo = "com.amazonaws.guardduty#ListThreatIntelSetsResponse" +_tISIh = "threatIntelSetIds" +_LTIS = "ListThreatIntelSets" +_LTESIi = "ListTrustedEntitySetsInput" +_cLTESRom = "com.amazonaws.guardduty#ListTrustedEntitySetsRequest" +_TESIru = "TrustedEntitySetIds" +_LTESOi = "ListTrustedEntitySetsOutput" +_cLTESRoma = "com.amazonaws.guardduty#ListTrustedEntitySetsResponse" +_tESIru = "trustedEntitySetIds" +_LTESi = "ListTrustedEntitySets" +_SOFSOMS = "S3ObjectForSendObjectMalwareScan" +_Bu = "Bucket" +_bu = "bucket" +_SOMSI = "SendObjectMalwareScanInput" +_cSOMSR = "com.amazonaws.guardduty#SendObjectMalwareScanRequest" +_SOMSO = "SendObjectMalwareScanOutput" +_cSOMSRo = "com.amazonaws.guardduty#SendObjectMalwareScanResponse" +_SOMS = "SendObjectMalwareScan" +_SMSC = "StartMalwareScanConfiguration" +_SMSI = "StartMalwareScanInput" +_cSMSR = "com.amazonaws.guardduty#StartMalwareScanRequest" +_SMSO = "StartMalwareScanOutput" +_cSMSRo = "com.amazonaws.guardduty#StartMalwareScanResponse" +_SMS = "StartMalwareScan" +_SMMI = "StartMonitoringMembersInput" +_cSMMR = "com.amazonaws.guardduty#StartMonitoringMembersRequest" +_SMMO = "StartMonitoringMembersOutput" +_cSMMRo = "com.amazonaws.guardduty#StartMonitoringMembersResponse" +_SMM = "StartMonitoringMembers" +_SMMIt = "StopMonitoringMembersInput" +_cSMMRom = "com.amazonaws.guardduty#StopMonitoringMembersRequest" +_SMMOt = "StopMonitoringMembersOutput" +_cSMMRoma = "com.amazonaws.guardduty#StopMonitoringMembersResponse" +_SMMt = "StopMonitoringMembers" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.guardduty#TagResourceRequest" +_TRO = "TagResourceOutput" +_cTRRo = "com.amazonaws.guardduty#TagResourceResponse" +_TRa = "TagResource" +_UFIn = "UnarchiveFindingsInput" +_cUFR = "com.amazonaws.guardduty#UnarchiveFindingsRequest" +_UFO = "UnarchiveFindingsOutput" +_cUFRo = "com.amazonaws.guardduty#UnarchiveFindingsResponse" +_UFn = "UnarchiveFindings" +_TKL = "TagKeyList" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.guardduty#UntagResourceRequest" +_TKa = "TagKeys" +_tK = "tagKeys" +_URO = "UntagResourceOutput" +_cURRo = "com.amazonaws.guardduty#UntagResourceResponse" +_URn = "UntagResource" +_UCDRAI = "UpdateCustomDetectionRuleAssociationInput" +_cUCDRAR = "com.amazonaws.guardduty#UpdateCustomDetectionRuleAssociationRequest" +_UCDRAO = "UpdateCustomDetectionRuleAssociationOutput" +_cUCDRARo = "com.amazonaws.guardduty#UpdateCustomDetectionRuleAssociationResponse" +_UCDRA = "UpdateCustomDetectionRuleAssociation" +_UCDROCI = "UpdateCustomDetectionRuleOrgConfigurationInput" +_cUCDROCR = "com.amazonaws.guardduty#UpdateCustomDetectionRuleOrgConfigurationRequest" +_UCDROCO = "UpdateCustomDetectionRuleOrgConfigurationOutput" +_cUCDROCRo = "com.amazonaws.guardduty#UpdateCustomDetectionRuleOrgConfigurationResponse" +_UCDROC = "UpdateCustomDetectionRuleOrgConfiguration" +_UDI = "UpdateDetectorInput" +_cUDR = "com.amazonaws.guardduty#UpdateDetectorRequest" +_UDO = "UpdateDetectorOutput" +_cUDRo = "com.amazonaws.guardduty#UpdateDetectorResponse" +_UD = "UpdateDetector" +_UFIp = "UpdateFilterInput" +_cUFRom = "com.amazonaws.guardduty#UpdateFilterRequest" +_UFOp = "UpdateFilterOutput" +_cUFRoma = "com.amazonaws.guardduty#UpdateFilterResponse" +_UFp = "UpdateFilter" +_UFFI = "UpdateFindingsFeedbackInput" +_cUFFR = "com.amazonaws.guardduty#UpdateFindingsFeedbackRequest" +_fee = "feedback" +_Com = "Comments" +_com = "comments" +_UFFO = "UpdateFindingsFeedbackOutput" +_cUFFRo = "com.amazonaws.guardduty#UpdateFindingsFeedbackResponse" +_UFF = "UpdateFindingsFeedback" +_UIPSI = "UpdateIPSetInput" +_cUIPSR = "com.amazonaws.guardduty#UpdateIPSetRequest" +_UIPSO = "UpdateIPSetOutput" +_cUIPSRo = "com.amazonaws.guardduty#UpdateIPSetResponse" +_UIPS = "UpdateIPSet" +_USBR = "UpdateS3BucketResource" +_UPR = "UpdateProtectedResource" +_UMPPI = "UpdateMalwareProtectionPlanInput" +_cUMPPR = "com.amazonaws.guardduty#UpdateMalwareProtectionPlanRequest" +_UMPPO = "UpdateMalwareProtectionPlanOutput" +_UMPP = "UpdateMalwareProtectionPlan" +_UMSSI = "UpdateMalwareScanSettingsInput" +_cUMSSR = "com.amazonaws.guardduty#UpdateMalwareScanSettingsRequest" +_UMSSO = "UpdateMalwareScanSettingsOutput" +_cUMSSRo = "com.amazonaws.guardduty#UpdateMalwareScanSettingsResponse" +_UMSS = "UpdateMalwareScanSettings" +_MACe = "MemberAdditionalConfiguration" +_MACem = "MemberAdditionalConfigurations" +_MFC = "MemberFeaturesConfiguration" +_MFCe = "MemberFeaturesConfigurations" +_UMDI = "UpdateMemberDetectorsInput" +_cUMDR = "com.amazonaws.guardduty#UpdateMemberDetectorsRequest" +_UMDO = "UpdateMemberDetectorsOutput" +_cUMDRo = "com.amazonaws.guardduty#UpdateMemberDetectorsResponse" +_UMD = "UpdateMemberDetectors" +_OKALC = "OrganizationKubernetesAuditLogsConfiguration" +_OKC = "OrganizationKubernetesConfiguration" +_OEV = "OrganizationEbsVolumes" +_OSEIWF = "OrganizationScanEc2InstanceWithFindings" +_OMPC = "OrganizationMalwareProtectionConfiguration" +_OSLC = "OrganizationS3LogsConfiguration" +_ODSC = "OrganizationDataSourceConfigurations" +_OAC = "OrganizationAdditionalConfiguration" +_OACr = "OrganizationAdditionalConfigurations" +_OFC = "OrganizationFeatureConfiguration" +_OFCr = "OrganizationFeaturesConfigurations" +_UOCI = "UpdateOrganizationConfigurationInput" +_cUOCR = "com.amazonaws.guardduty#UpdateOrganizationConfigurationRequest" +_UOCO = "UpdateOrganizationConfigurationOutput" +_cUOCRo = "com.amazonaws.guardduty#UpdateOrganizationConfigurationResponse" +_UOC = "UpdateOrganizationConfiguration" +_UPDI = "UpdatePublishingDestinationInput" +_cUPDR = "com.amazonaws.guardduty#UpdatePublishingDestinationRequest" +_UPDO = "UpdatePublishingDestinationOutput" +_cUPDRo = "com.amazonaws.guardduty#UpdatePublishingDestinationResponse" +_UPD = "UpdatePublishingDestination" +_UTESI = "UpdateThreatEntitySetInput" +_cUTESR = "com.amazonaws.guardduty#UpdateThreatEntitySetRequest" +_UTESO = "UpdateThreatEntitySetOutput" +_cUTESRo = "com.amazonaws.guardduty#UpdateThreatEntitySetResponse" +_UTES = "UpdateThreatEntitySet" +_UTISI = "UpdateThreatIntelSetInput" +_cUTISR = "com.amazonaws.guardduty#UpdateThreatIntelSetRequest" +_UTISO = "UpdateThreatIntelSetOutput" +_cUTISRo = "com.amazonaws.guardduty#UpdateThreatIntelSetResponse" +_UTIS = "UpdateThreatIntelSet" +_UTESIp = "UpdateTrustedEntitySetInput" +_cUTESRom = "com.amazonaws.guardduty#UpdateTrustedEntitySetRequest" +_UTESOp = "UpdateTrustedEntitySetOutput" +_cUTESRoma = "com.amazonaws.guardduty#UpdateTrustedEntitySetResponse" +_UTESp = "UpdateTrustedEntitySet" +_GDAPIS = "GuardDutyAPIService" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" + +LIST_PUBLISHING_DESTINATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LPDI, + {_sSI: _cLPDR, _s: None}, + (_DI, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + ), +) + +LIST_PUBLISHING_DESTINATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPDO, + {_sSI: _cLPDRo, _smi: None}, + (_Dest, _NT), + ( + (lambda: schemas.DESTINATIONS, {_sN: _des, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_PUBLISHING_DESTINATIONS: StaticOperationSchema = ( + 23, + n0, + _LPDi, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/publishingDestination", + "code": 200, + } + ) + }, + LIST_PUBLISHING_DESTINATIONS_INPUT, + LIST_PUBLISHING_DESTINATIONS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +GUARD_DUTY_ARN: StaticSchema = (3, n0, _GDA, 0) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _s: None}, + (_RAe,), + ((GUARD_DUTY_ARN, 9),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smi: None}, + (_Ta,), + ((lambda: schemas.TAG_MAP, {_sN: _ta}),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/tags/{ResourceArn}", "code": 200} + ) + }, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +LIST_THREAT_ENTITY_SETS_INPUT: StaticSchema = ( + 18, + n0, + _LTESI, + {_sSI: _cLTESR, _s: None}, + (_DI, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + ), +) + +LIST_THREAT_ENTITY_SETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTESO, + {_sSI: _cLTESRo, _smi: None}, + (_TESIh, _NT), + ( + (lambda: THREAT_ENTITY_SET_IDS, {_sN: _tESIh, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_THREAT_ENTITY_SETS: StaticOperationSchema = ( + 23, + n0, + _LTES, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/threatentityset", + "code": 200, + } + ) + }, + LIST_THREAT_ENTITY_SETS_INPUT, + LIST_THREAT_ENTITY_SETS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +THREAT_ENTITY_SET_IDS: StaticSchema = ( + 16, + n0, + _TESIh, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +LIST_THREAT_INTEL_SETS_INPUT: StaticSchema = ( + 18, + n0, + _LTISI, + {_sSI: _cLTISR, _s: None}, + (_DI, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + ), +) + +LIST_THREAT_INTEL_SETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTISO, + {_sSI: _cLTISRo, _smi: None}, + (_TISIh, _NT), + ( + (lambda: THREAT_INTEL_SET_IDS, {_sN: _tISIh, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_THREAT_INTEL_SETS: StaticOperationSchema = ( + 23, + n0, + _LTIS, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/threatintelset", + "code": 200, + } + ) + }, + LIST_THREAT_INTEL_SETS_INPUT, + LIST_THREAT_INTEL_SETS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +THREAT_INTEL_SET_IDS: StaticSchema = ( + 16, + n0, + _TISIh, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +LIST_TRUSTED_ENTITY_SETS_INPUT: StaticSchema = ( + 18, + n0, + _LTESIi, + {_sSI: _cLTESRom, _s: None}, + (_DI, _MR, _NT), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.MAX_RESULTS, {_sQ: _mR}), + (lambda: schemas.STRING, {_sQ: _nT}), + ), +) + +LIST_TRUSTED_ENTITY_SETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTESOi, + {_sSI: _cLTESRoma, _smi: None}, + (_TESIru, _NT), + ( + (lambda: TRUSTED_ENTITY_SET_IDS, {_sN: _tESIru, _sm: None}), + (lambda: schemas.STRING, {_sN: _nT}), + ), +) + +LIST_TRUSTED_ENTITY_SETS: StaticOperationSchema = ( + 23, + n0, + _LTESi, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/detector/{DetectorId}/trustedentityset", + "code": 200, + } + ) + }, + LIST_TRUSTED_ENTITY_SETS_INPUT, + LIST_TRUSTED_ENTITY_SETS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +TRUSTED_ENTITY_SET_IDS: StaticSchema = ( + 16, + n0, + _TESIru, + 0, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +S3_OBJECT_FOR_SEND_OBJECT_MALWARE_SCAN: StaticSchema = ( + 18, + n0, + _SOFSOMS, + 0, + (_Bu, _Ke, _VI), + ( + (lambda: schemas.STRING, {_sN: _bu}), + (lambda: schemas.STRING, {_sN: _ke}), + (lambda: schemas.STRING, {_sN: _vI}), + ), +) + +SEND_OBJECT_MALWARE_SCAN_INPUT: StaticSchema = ( + 18, + n0, + _SOMSI, + {_sSI: _cSOMSR, _s: None}, + (_SO,), + ((S3_OBJECT_FOR_SEND_OBJECT_MALWARE_SCAN, {_sN: _sO}),), +) + +SEND_OBJECT_MALWARE_SCAN_OUTPUT: StaticSchema = ( + 18, + n0, + _SOMSO, + {_sSI: _cSOMSRo, _smi: None}, +) + +SEND_OBJECT_MALWARE_SCAN: StaticOperationSchema = ( + 23, + n0, + _SOMS, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/object-malware-scan/send", "code": 200} + ) + }, + SEND_OBJECT_MALWARE_SCAN_INPUT, + SEND_OBJECT_MALWARE_SCAN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +RESOURCE_ARN: StaticSchema = (3, n0, _RAe, 0) + +RECOVERY_POINT: StaticSchema = ( + 18, + n0, + _RP, + 0, + (_BVN, _CSD), + ( + (lambda: schemas.STRING, {_sN: _bVN, _sm: None}), + (lambda: schemas.CONTINUOUS_SCAN_DETAILS, {_sN: _cSD}), + ), +) + +START_MALWARE_SCAN_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SMSC, + 0, + (_Ro, _ISD, _RP), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sN: _ro, _sm: None}), + (lambda: schemas.INCREMENTAL_SCAN_DETAILS, {_sN: _iSD}), + (RECOVERY_POINT, {_sN: _rP}), + ), +) + +START_MALWARE_SCAN_INPUT: StaticSchema = ( + 18, + n0, + _SMSI, + {_sSI: _cSMSR, _s: None}, + (_RAe, _CTl, _SCca), + ( + (RESOURCE_ARN, {_sN: _rAe, _sm: None}), + (lambda: schemas.CLIENT_TOKEN, {_sN: _cTl, _sTm: None}), + (START_MALWARE_SCAN_CONFIGURATION, {_sN: _sCca}), + ), +) + +START_MALWARE_SCAN_OUTPUT: StaticSchema = ( + 18, + n0, + _SMSO, + {_sSI: _cSMSRo, _smi: None}, + (_SIc,), + ((lambda: schemas.NON_EMPTY_STRING, {_sN: _sI}),), +) + +START_MALWARE_SCAN: StaticOperationSchema = ( + 23, + n0, + _SMS, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/malware-scan/start", "code": 200} + ) + }, + START_MALWARE_SCAN_INPUT, + START_MALWARE_SCAN_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +START_MONITORING_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _SMMI, + {_sSI: _cSMMR, _s: None}, + (_DI, _AIcco), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), + ), +) + +START_MONITORING_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _SMMO, + {_sSI: _cSMMRo, _smi: None}, + (_UAnp,), + ((lambda: schemas.UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), +) + +START_MONITORING_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _SMM, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/member/start", + "code": 200, + } + ) + }, + START_MONITORING_MEMBERS_INPUT, + START_MONITORING_MEMBERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +STOP_MONITORING_MEMBERS_INPUT: StaticSchema = ( + 18, + n0, + _SMMIt, + {_sSI: _cSMMRom, _s: None}, + (_DI, _AIcco), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), + ), +) + +STOP_MONITORING_MEMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _SMMOt, + {_sSI: _cSMMRoma, _smi: None}, + (_UAnp,), + ((lambda: schemas.UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), +) + +STOP_MONITORING_MEMBERS: StaticOperationSchema = ( + 23, + n0, + _SMMt, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}/member/stop", "code": 200} + ) + }, + STOP_MONITORING_MEMBERS_INPUT, + STOP_MONITORING_MEMBERS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _s: None}, + (_RAe, _Ta), + ((GUARD_DUTY_ARN, 9), (lambda: schemas.TAG_MAP, {_sN: _ta, _sm: None})), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smi: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TRa, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/tags/{ResourceArn}", "code": 204} + ) + }, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UNARCHIVE_FINDINGS_INPUT: StaticSchema = ( + 18, + n0, + _UFIn, + {_sSI: _cUFR, _s: None}, + (_DI, _FIi), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.FINDING_IDS, {_sN: _fI, _sm: None}), + ), +) + +UNARCHIVE_FINDINGS_OUTPUT: StaticSchema = (18, n0, _UFO, {_sSI: _cUFRo, _smi: None}) + +UNARCHIVE_FINDINGS: StaticOperationSchema = ( + 23, + n0, + _UFn, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/findings/unarchive", + "code": 200, + } + ) + }, + UNARCHIVE_FINDINGS_INPUT, + UNARCHIVE_FINDINGS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _s: None}, + (_RAe, _TKa), + ((GUARD_DUTY_ARN, 9), (TAG_KEY_LIST, {_sQ: _tK, _sm: None})), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smi: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _URn, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/tags/{ResourceArn}", "code": 204} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT: StaticSchema = ( + 18, + n0, + _UCDRAI, + {_sSI: _cUCDRAR, _s: None}, + (_RI, _AIs, _Mo), + ( + (lambda: schemas.RULE_ID, 9), + (lambda: schemas.ASSOCIATION_ID, 9), + (lambda: schemas.ASSOCIATION_MODE, {_sN: _mo, _sm: None}), + ), +) + +UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UCDRAO, + {_sSI: _cUCDRARo, _smi: None}, +) + +UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION: StaticOperationSchema = ( + 23, + n0, + _UCDRA, + { + _smith: MappingProxyType( + { + "method": "PUT", + "uri": "/custom-detection-rule/rule/{RuleId}/association/{AssociationId}", + "code": 200, + } + ) + }, + UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_INPUT, + UPDATE_CUSTOM_DETECTION_RULE_ASSOCIATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UCDROCI, + {_sSI: _cUCDROCR, _s: None}, + (_RI, _Mo, _IAI, _EAI), + ( + (lambda: schemas.RULE_ID, 9), + (lambda: schemas.ASSOCIATION_MODE, {_sN: _mo, _sm: None}), + (lambda: schemas.DETECTION_RULE_ACCOUNT_IDS, {_sN: _iAI}), + (lambda: schemas.DETECTION_RULE_ACCOUNT_IDS, {_sN: _eAI}), + ), +) + +UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UCDROCO, + {_sSI: _cUCDROCRo, _smi: None}, +) + +UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _UCDROC, + { + _smith: MappingProxyType( + { + "method": "PUT", + "uri": "/custom-detection-rule/org-configuration/{RuleId}", + "code": 200, + } + ) + }, + UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_INPUT, + UPDATE_CUSTOM_DETECTION_RULE_ORG_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_DETECTOR_INPUT: StaticSchema = ( + 18, + n0, + _UDI, + {_sSI: _cUDR, _s: None}, + (_DI, _En, _FPF, _DS, _F), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.BOOLEAN, {_sN: _en}), + (lambda: schemas.FINDING_PUBLISHING_FREQUENCY, {_sN: _fPF}), + (lambda: schemas.DATA_SOURCE_CONFIGURATIONS, {_sN: _dS}), + (lambda: schemas.DETECTOR_FEATURE_CONFIGURATIONS, {_sN: _f}), + ), +) + +UPDATE_DETECTOR_OUTPUT: StaticSchema = (18, n0, _UDO, {_sSI: _cUDRo, _smi: None}) + +UPDATE_DETECTOR: StaticOperationSchema = ( + 23, + n0, + _UD, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}", "code": 200} + ) + }, + UPDATE_DETECTOR_INPUT, + UPDATE_DETECTOR_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UPDATE_FILTER_INPUT: StaticSchema = ( + 18, + n0, + _UFIp, + {_sSI: _cUFRom, _s: None}, + (_DI, _FN, _De, _Ac, _Ra, _FCin), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.FILTER_DESCRIPTION, {_sN: _de}), + (lambda: schemas.FILTER_ACTION, {_sN: _ac}), + (lambda: schemas.FILTER_RANK, {_sN: _ra}), + (lambda: schemas.FINDING_CRITERIA, {_sN: _fCin}), + ), +) + +UPDATE_FILTER_OUTPUT: StaticSchema = ( + 18, + n0, + _UFOp, + {_sSI: _cUFRoma, _smi: None}, + (_N,), + ((lambda: schemas.FILTER_NAME, {_sN: _n, _sm: None}),), +) + +UPDATE_FILTER: StaticOperationSchema = ( + 23, + n0, + _UFp, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/filter/{FilterName}", + "code": 200, + } + ) + }, + UPDATE_FILTER_INPUT, + UPDATE_FILTER_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UPDATE_FINDINGS_FEEDBACK_INPUT: StaticSchema = ( + 18, + n0, + _UFFI, + {_sSI: _cUFFR, _s: None}, + (_DI, _FIi, _Fe, _Com), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.FINDING_IDS, {_sN: _fI, _sm: None}), + (lambda: schemas.FEEDBACK, {_sN: _fee, _sm: None}), + (lambda: schemas.SENSITIVE_STRING, {_sN: _com}), + ), +) + +UPDATE_FINDINGS_FEEDBACK_OUTPUT: StaticSchema = ( + 18, + n0, + _UFFO, + {_sSI: _cUFFRo, _smi: None}, +) + +UPDATE_FINDINGS_FEEDBACK: StaticOperationSchema = ( + 23, + n0, + _UFF, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/findings/feedback", + "code": 200, + } + ) + }, + UPDATE_FINDINGS_FEEDBACK_INPUT, + UPDATE_FINDINGS_FEEDBACK_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UPDATE_IP_SET_INPUT: StaticSchema = ( + 18, + n0, + _UIPSI, + {_sSI: _cUIPSR, _s: None}, + (_DI, _ISI, _N, _Loc, _Activ, _EBO), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.NAME, {_sN: _n}), + (lambda: schemas.LOCATION, {_sN: _loc}), + (lambda: schemas.BOOLEAN, {_sN: _act}), + (lambda: schemas.ACCOUNT_ID, {_sN: _eBO}), + ), +) + +UPDATE_IP_SET_OUTPUT: StaticSchema = (18, n0, _UIPSO, {_sSI: _cUIPSRo, _smi: None}) + +UPDATE_IP_SET: StaticOperationSchema = ( + 23, + n0, + _UIPS, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/ipset/{IpSetId}", + "code": 200, + } + ) + }, + UPDATE_IP_SET_INPUT, + UPDATE_IP_SET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UPDATE_S3_BUCKET_RESOURCE: StaticSchema = ( + 18, + n0, + _USBR, + 0, + (_OP,), + ((lambda: schemas.MALWARE_PROTECTION_PLAN_OBJECT_PREFIXES_LIST, {_sN: _oP}),), +) + +UPDATE_PROTECTED_RESOURCE: StaticSchema = ( + 18, + n0, + _UPR, + 0, + (_SB,), + ((UPDATE_S3_BUCKET_RESOURCE, {_sN: _sB}),), +) + +UPDATE_MALWARE_PROTECTION_PLAN_INPUT: StaticSchema = ( + 18, + n0, + _UMPPI, + {_sSI: _cUMPPR, _s: None}, + (_MPPI, _Ro, _Actio, _PR), + ( + (lambda: schemas.STRING, 9), + (lambda: schemas.STRING, {_sN: _ro}), + (lambda: schemas.MALWARE_PROTECTION_PLAN_ACTIONS, {_sN: _acti}), + (UPDATE_PROTECTED_RESOURCE, {_sN: _pR}), + ), +) + +UPDATE_MALWARE_PROTECTION_PLAN_OUTPUT: StaticSchema = ( + 18, + n0, + _UMPPO, + {_sSI: _sU, _smi: None}, +) + +UPDATE_MALWARE_PROTECTION_PLAN: StaticOperationSchema = ( + 23, + n0, + _UMPP, + { + _smith: MappingProxyType( + { + "method": "PATCH", + "uri": "/malware-protection-plan/{MalwareProtectionPlanId}", + "code": 200, + } + ) + }, + UPDATE_MALWARE_PROTECTION_PLAN_INPUT, + UPDATE_MALWARE_PROTECTION_PLAN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_MALWARE_SCAN_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _UMSSI, + {_sSI: _cUMSSR, _s: None}, + (_DI, _SRCc, _ESP), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.SCAN_RESOURCE_CRITERIA, {_sN: _sRCc}), + (lambda: schemas.EBS_SNAPSHOT_PRESERVATION, {_sN: _eSP}), + ), +) + +UPDATE_MALWARE_SCAN_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _UMSSO, + {_sSI: _cUMSSRo, _smi: None}, +) + +UPDATE_MALWARE_SCAN_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _UMSS, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/malware-scan-settings", + "code": 200, + } + ) + }, + UPDATE_MALWARE_SCAN_SETTINGS_INPUT, + UPDATE_MALWARE_SCAN_SETTINGS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +MEMBER_ADDITIONAL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MACe, + 0, + (_N, _St), + ( + (lambda: schemas.ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), + (lambda: schemas.FEATURE_STATUS, {_sN: _st}), + ), +) + +MEMBER_ADDITIONAL_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _MACem, + 0, + (_me,), + ((MEMBER_ADDITIONAL_CONFIGURATION, 0),), +) + +MEMBER_FEATURES_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MFC, + 0, + (_N, _St, _ACd), + ( + (lambda: schemas.ORG_FEATURE, {_sN: _n}), + (lambda: schemas.FEATURE_STATUS, {_sN: _st}), + (MEMBER_ADDITIONAL_CONFIGURATIONS, {_sN: _aC}), + ), +) + +MEMBER_FEATURES_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _MFCe, + 0, + (_me,), + ((MEMBER_FEATURES_CONFIGURATION, 0),), +) + +UPDATE_MEMBER_DETECTORS_INPUT: StaticSchema = ( + 18, + n0, + _UMDI, + {_sSI: _cUMDR, _s: None}, + (_DI, _AIcco, _DS, _F), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.ACCOUNT_IDS, {_sN: _aIcc, _sm: None}), + (lambda: schemas.DATA_SOURCE_CONFIGURATIONS, {_sN: _dS}), + (MEMBER_FEATURES_CONFIGURATIONS, {_sN: _f}), + ), +) + +UPDATE_MEMBER_DETECTORS_OUTPUT: StaticSchema = ( + 18, + n0, + _UMDO, + {_sSI: _cUMDRo, _smi: None}, + (_UAnp,), + ((lambda: schemas.UNPROCESSED_ACCOUNTS, {_sN: _uAn, _sm: None}),), +) + +UPDATE_MEMBER_DETECTORS: StaticOperationSchema = ( + 23, + n0, + _UMD, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/member/detector/update", + "code": 200, + } + ) + }, + UPDATE_MEMBER_DETECTORS_INPUT, + UPDATE_MEMBER_DETECTORS_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OKALC, + 0, + (_AE,), + ((lambda: schemas.BOOLEAN, {_sN: _aE, _sm: None}),), +) + +ORGANIZATION_KUBERNETES_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OKC, + 0, + (_AL,), + ((ORGANIZATION_KUBERNETES_AUDIT_LOGS_CONFIGURATION, {_sN: _aL, _sm: None}),), +) + +ORGANIZATION_EBS_VOLUMES: StaticSchema = ( + 18, + n0, + _OEV, + 0, + (_AE,), + ((lambda: schemas.BOOLEAN, {_sN: _aE}),), +) + +ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS: StaticSchema = ( + 18, + n0, + _OSEIWF, + 0, + (_EV,), + ((ORGANIZATION_EBS_VOLUMES, {_sN: _eV}),), +) + +ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OMPC, + 0, + (_SEIWF,), + ((ORGANIZATION_SCAN_EC2_INSTANCE_WITH_FINDINGS, {_sN: _sEIWF}),), +) + +ORGANIZATION_S3_LOGS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OSLC, + 0, + (_AE,), + ((lambda: schemas.BOOLEAN, {_sN: _aE, _sm: None}),), +) + +ORGANIZATION_DATA_SOURCE_CONFIGURATIONS: StaticSchema = ( + 18, + n0, + _ODSC, + 0, + (_SL, _K, _MP), + ( + (ORGANIZATION_S3_LOGS_CONFIGURATION, {_sN: _sLo}), + (ORGANIZATION_KUBERNETES_CONFIGURATION, {_sN: _k}), + (ORGANIZATION_MALWARE_PROTECTION_CONFIGURATION, {_sN: _mP}), + ), +) + +ORGANIZATION_ADDITIONAL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OAC, + 0, + (_N, _AE), + ( + (lambda: schemas.ORG_FEATURE_ADDITIONAL_CONFIGURATION, {_sN: _n}), + (lambda: schemas.ORG_FEATURE_STATUS, {_sN: _aE}), + ), +) + +ORGANIZATION_ADDITIONAL_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _OACr, + 0, + (_me,), + ((ORGANIZATION_ADDITIONAL_CONFIGURATION, 0),), +) + +ORGANIZATION_FEATURE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OFC, + 0, + (_N, _AE, _ACd), + ( + (lambda: schemas.ORG_FEATURE, {_sN: _n}), + (lambda: schemas.ORG_FEATURE_STATUS, {_sN: _aE}), + (ORGANIZATION_ADDITIONAL_CONFIGURATIONS, {_sN: _aC}), + ), +) + +ORGANIZATION_FEATURES_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _OFCr, + 0, + (_me,), + ((ORGANIZATION_FEATURE_CONFIGURATION, 0),), +) + +UPDATE_ORGANIZATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UOCI, + {_sSI: _cUOCR, _s: None}, + (_DI, _AE, _DS, _F, _AEOM), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.BOOLEAN, {_sN: _aE}), + (ORGANIZATION_DATA_SOURCE_CONFIGURATIONS, {_sN: _dS}), + (ORGANIZATION_FEATURES_CONFIGURATIONS, {_sN: _f}), + (lambda: schemas.AUTO_ENABLE_MEMBERS, {_sN: _aEOM}), + ), +) + +UPDATE_ORGANIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UOCO, + {_sSI: _cUOCRo, _smi: None}, +) + +UPDATE_ORGANIZATION_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _UOC, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/detector/{DetectorId}/admin", "code": 200} + ) + }, + UPDATE_ORGANIZATION_CONFIGURATION_INPUT, + UPDATE_ORGANIZATION_CONFIGURATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UPDATE_PUBLISHING_DESTINATION_INPUT: StaticSchema = ( + 18, + n0, + _UPDI, + {_sSI: _cUPDR, _s: None}, + (_DI, _DIe, _DP), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.DESTINATION_PROPERTIES, {_sN: _dP}), + ), +) + +UPDATE_PUBLISHING_DESTINATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UPDO, + {_sSI: _cUPDRo, _smi: None}, +) + +UPDATE_PUBLISHING_DESTINATION: StaticOperationSchema = ( + 23, + n0, + _UPD, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/publishingDestination/{DestinationId}", + "code": 200, + } + ) + }, + UPDATE_PUBLISHING_DESTINATION_INPUT, + UPDATE_PUBLISHING_DESTINATION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UPDATE_THREAT_ENTITY_SET_INPUT: StaticSchema = ( + 18, + n0, + _UTESI, + {_sSI: _cUTESR, _s: None}, + (_DI, _TESI, _N, _Loc, _EBO, _Activ), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.NAME, {_sN: _n}), + (lambda: schemas.LOCATION, {_sN: _loc}), + (lambda: schemas.EXPECTED_BUCKET_OWNER, {_sN: _eBO}), + (lambda: schemas.BOOLEAN, {_sN: _act}), + ), +) + +UPDATE_THREAT_ENTITY_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _UTESO, + {_sSI: _cUTESRo, _smi: None}, +) + +UPDATE_THREAT_ENTITY_SET: StaticOperationSchema = ( + 23, + n0, + _UTES, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", + "code": 200, + } + ) + }, + UPDATE_THREAT_ENTITY_SET_INPUT, + UPDATE_THREAT_ENTITY_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UPDATE_THREAT_INTEL_SET_INPUT: StaticSchema = ( + 18, + n0, + _UTISI, + {_sSI: _cUTISR, _s: None}, + (_DI, _TISI, _N, _Loc, _Activ, _EBO), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.NAME, {_sN: _n}), + (lambda: schemas.LOCATION, {_sN: _loc}), + (lambda: schemas.BOOLEAN, {_sN: _act}), + (lambda: schemas.ACCOUNT_ID, {_sN: _eBO}), + ), +) + +UPDATE_THREAT_INTEL_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _UTISO, + {_sSI: _cUTISRo, _smi: None}, +) + +UPDATE_THREAT_INTEL_SET: StaticOperationSchema = ( + 23, + n0, + _UTIS, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", + "code": 200, + } + ) + }, + UPDATE_THREAT_INTEL_SET_INPUT, + UPDATE_THREAT_INTEL_SET_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +UPDATE_TRUSTED_ENTITY_SET_INPUT: StaticSchema = ( + 18, + n0, + _UTESIp, + {_sSI: _cUTESRom, _s: None}, + (_DI, _TESIr, _N, _Loc, _EBO, _Activ), + ( + (lambda: schemas.DETECTOR_ID, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.NAME, {_sN: _n}), + (lambda: schemas.LOCATION, {_sN: _loc}), + (lambda: schemas.EXPECTED_BUCKET_OWNER, {_sN: _eBO}), + (lambda: schemas.BOOLEAN, {_sN: _act}), + ), +) + +UPDATE_TRUSTED_ENTITY_SET_OUTPUT: StaticSchema = ( + 18, + n0, + _UTESOp, + {_sSI: _cUTESRoma, _smi: None}, +) + +UPDATE_TRUSTED_ENTITY_SET: StaticOperationSchema = ( + 23, + n0, + _UTESp, + { + _smith: MappingProxyType( + { + "method": "POST", + "uri": "/detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", + "code": 200, + } + ) + }, + UPDATE_TRUSTED_ENTITY_SET_INPUT, + UPDATE_TRUSTED_ENTITY_SET_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_ERROR_EXCEPTION, + ), +) + +GUARD_DUTY_API_SERVICE: StaticSchema = ( + 21, + n0, + _GDAPIS, + { + _aw: MappingProxyType({"name": "guardduty"}), + _aws: MappingProxyType( + { + "sdkId": "GuardDuty", + "arnNamespace": "guardduty", + "cloudFormationName": "GuardDuty", + "cloudTrailEventSource": "guardduty.amazonaws.com", + "endpointPrefix": "guardduty", + } + ), + _aJ: None, + }, +) diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/aio/client.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/aio/client.py index 336714114..f0d27ce26 100644 --- a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/aio/client.py +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/aio/config.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/aio/config.py index fb8f310fc..7d71f7bec 100644 --- a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/aio/config.py +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/client.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/client.py index e42d36da2..5f9db4ae7 100644 --- a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/client.py +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/config.py b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/config.py index d7c23e22c..c978237f3 100644 --- a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/config.py +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/models.pyi b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/models.pyi index 45d736500..540de2900 100644 --- a/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/models.pyi +++ b/clients/aws-sdk-guardduty/src/aws_sdk_guardduty/models.pyi @@ -1,16 +1,595 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum from typing import Self from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AcceptAdministratorInvitationInput as AcceptAdministratorInvitationInput, + AcceptAdministratorInvitationOutput as AcceptAdministratorInvitationOutput, + AcceptInvitationInput as AcceptInvitationInput, + AcceptInvitationOutput as AcceptInvitationOutput, + AccessControlList as AccessControlList, + AccessDeniedException as AccessDeniedException, + AccessKey as AccessKey, + AccessKeyDetails as AccessKeyDetails, + Account as Account, + AccountDetail as AccountDetail, + AccountFreeTrialInfo as AccountFreeTrialInfo, + AccountLevelPermissions as AccountLevelPermissions, + AccountStatistics as AccountStatistics, + Action as Action, + Activity as Activity, + ActivityType as ActivityType, + Actor as Actor, + ActorProcess as ActorProcess, + AdditionalInfo as AdditionalInfo, + AddonDetails as AddonDetails, + AdminAccount as AdminAccount, + Administrator as Administrator, + AdminStatus as AdminStatus, + AgentDetails as AgentDetails, + Anomaly as Anomaly, + AnomalyObject as AnomalyObject, + AnomalyUnusual as AnomalyUnusual, + ApiCall as ApiCall, + ArchiveFindingsInput as ArchiveFindingsInput, + ArchiveFindingsOutput as ArchiveFindingsOutput, + AssociationDetail as AssociationDetail, + AssociationMode as AssociationMode, + AssociationSummary as AssociationSummary, + AutoEnableMembers as AutoEnableMembers, + AutonomousSystem as AutonomousSystem, + AutoscalingAutoScalingGroup as AutoscalingAutoScalingGroup, + AwsApiCallAction as AwsApiCallAction, + BadRequestException as BadRequestException, + BedrockGuardrail as BedrockGuardrail, + BedrockGuardrailDetails as BedrockGuardrailDetails, + BedrockGuardrailResource as BedrockGuardrailResource, + BlockPublicAccess as BlockPublicAccess, + BucketLevelPermissions as BucketLevelPermissions, + BucketPolicy as BucketPolicy, + City as City, + CloudDetails as CloudDetails, + CloudformationStack as CloudformationStack, + CloudProvider as CloudProvider, + CloudTrailConfigurationResult as CloudTrailConfigurationResult, + ClusterStatus as ClusterStatus, + Condition as Condition, + Confidence as Confidence, + ConfidenceLevel as ConfidenceLevel, + ConflictException as ConflictException, + Container as Container, + ContainerFindingResource as ContainerFindingResource, + ContainerInstanceDetails as ContainerInstanceDetails, + ContentPolicyFilter as ContentPolicyFilter, + ContentPolicyFilterAction as ContentPolicyFilterAction, + ContentPolicyFilterType as ContentPolicyFilterType, + ContinuousScanDetails as ContinuousScanDetails, + Country as Country, + CoverageEc2InstanceDetails as CoverageEc2InstanceDetails, + CoverageEcsClusterDetails as CoverageEcsClusterDetails, + CoverageEksClusterDetails as CoverageEksClusterDetails, + CoverageFilterCondition as CoverageFilterCondition, + CoverageFilterCriteria as CoverageFilterCriteria, + CoverageFilterCriterion as CoverageFilterCriterion, + CoverageFilterCriterionKey as CoverageFilterCriterionKey, + CoverageResource as CoverageResource, + CoverageResourceDetails as CoverageResourceDetails, + CoverageSortCriteria as CoverageSortCriteria, + CoverageSortKey as CoverageSortKey, + CoverageStatistics as CoverageStatistics, + CoverageStatisticsType as CoverageStatisticsType, + CoverageStatus as CoverageStatus, + CreateCustomDetectionRuleAssociationInput as CreateCustomDetectionRuleAssociationInput, + CreateCustomDetectionRuleAssociationOutput as CreateCustomDetectionRuleAssociationOutput, + CreateCustomDetectionRuleOrgConfigurationInput as CreateCustomDetectionRuleOrgConfigurationInput, + CreateCustomDetectionRuleOrgConfigurationOutput as CreateCustomDetectionRuleOrgConfigurationOutput, + CreateDetectorInput as CreateDetectorInput, + CreateDetectorOutput as CreateDetectorOutput, + CreateFilterInput as CreateFilterInput, + CreateFilterOutput as CreateFilterOutput, + CreateInvestigationInput as CreateInvestigationInput, + CreateInvestigationOutput as CreateInvestigationOutput, + CreateIPSetInput as CreateIPSetInput, + CreateIPSetOutput as CreateIPSetOutput, + CreateMalwareProtectionPlanInput as CreateMalwareProtectionPlanInput, + CreateMalwareProtectionPlanOutput as CreateMalwareProtectionPlanOutput, + CreateMembersInput as CreateMembersInput, + CreateMembersOutput as CreateMembersOutput, + CreateProtectedResource as CreateProtectedResource, + CreatePublishingDestinationInput as CreatePublishingDestinationInput, + CreatePublishingDestinationOutput as CreatePublishingDestinationOutput, + CreateS3BucketResource as CreateS3BucketResource, + CreateSampleFindingsInput as CreateSampleFindingsInput, + CreateSampleFindingsOutput as CreateSampleFindingsOutput, + CreateThreatEntitySetInput as CreateThreatEntitySetInput, + CreateThreatEntitySetOutput as CreateThreatEntitySetOutput, + CreateThreatIntelSetInput as CreateThreatIntelSetInput, + CreateThreatIntelSetOutput as CreateThreatIntelSetOutput, + CreateTrustedEntitySetInput as CreateTrustedEntitySetInput, + CreateTrustedEntitySetOutput as CreateTrustedEntitySetOutput, + CriterionKey as CriterionKey, + DataSource as DataSource, + DataSourceConfigurations as DataSourceConfigurations, + DataSourceConfigurationsResult as DataSourceConfigurationsResult, + DataSourceFreeTrial as DataSourceFreeTrial, + DataSourcesFreeTrial as DataSourcesFreeTrial, + DataSourceStatus as DataSourceStatus, + DateStatistics as DateStatistics, + DeclineInvitationsInput as DeclineInvitationsInput, + DeclineInvitationsOutput as DeclineInvitationsOutput, + DefaultServerSideEncryption as DefaultServerSideEncryption, + DeleteCustomDetectionRuleAssociationInput as DeleteCustomDetectionRuleAssociationInput, + DeleteCustomDetectionRuleAssociationOutput as DeleteCustomDetectionRuleAssociationOutput, + DeleteCustomDetectionRuleOrgConfigurationInput as DeleteCustomDetectionRuleOrgConfigurationInput, + DeleteCustomDetectionRuleOrgConfigurationOutput as DeleteCustomDetectionRuleOrgConfigurationOutput, + DeleteDetectorInput as DeleteDetectorInput, + DeleteDetectorOutput as DeleteDetectorOutput, + DeleteFilterInput as DeleteFilterInput, + DeleteFilterOutput as DeleteFilterOutput, + DeleteInvitationsInput as DeleteInvitationsInput, + DeleteInvitationsOutput as DeleteInvitationsOutput, + DeleteIPSetInput as DeleteIPSetInput, + DeleteIPSetOutput as DeleteIPSetOutput, + DeleteMalwareProtectionPlanInput as DeleteMalwareProtectionPlanInput, + DeleteMalwareProtectionPlanOutput as DeleteMalwareProtectionPlanOutput, + DeleteMembersInput as DeleteMembersInput, + DeleteMembersOutput as DeleteMembersOutput, + DeletePublishingDestinationInput as DeletePublishingDestinationInput, + DeletePublishingDestinationOutput as DeletePublishingDestinationOutput, + DeleteThreatEntitySetInput as DeleteThreatEntitySetInput, + DeleteThreatEntitySetOutput as DeleteThreatEntitySetOutput, + DeleteThreatIntelSetInput as DeleteThreatIntelSetInput, + DeleteThreatIntelSetOutput as DeleteThreatIntelSetOutput, + DeleteTrustedEntitySetInput as DeleteTrustedEntitySetInput, + DeleteTrustedEntitySetOutput as DeleteTrustedEntitySetOutput, + DescribeMalwareScansInput as DescribeMalwareScansInput, + DescribeMalwareScansOutput as DescribeMalwareScansOutput, + DescribeOrganizationConfigurationInput as DescribeOrganizationConfigurationInput, + DescribeOrganizationConfigurationOutput as DescribeOrganizationConfigurationOutput, + DescribePublishingDestinationInput as DescribePublishingDestinationInput, + DescribePublishingDestinationOutput as DescribePublishingDestinationOutput, + Destination as Destination, + DestinationProperties as DestinationProperties, + DestinationType as DestinationType, + Detection as Detection, + DetectionRuleConfigurationStatus as DetectionRuleConfigurationStatus, + DetectionRuleDataSource as DetectionRuleDataSource, + DetectionRuleEc2Requirements as DetectionRuleEc2Requirements, + DetectionRuleEcsFargateRequirements as DetectionRuleEcsFargateRequirements, + DetectionRuleEksRequirements as DetectionRuleEksRequirements, + DetectionRuleFilter as DetectionRuleFilter, + DetectionRuleFilterCondition as DetectionRuleFilterCondition, + DetectionRuleOrgConfiguration as DetectionRuleOrgConfiguration, + DetectionRuleOrgConfigurationSummary as DetectionRuleOrgConfigurationSummary, + DetectionRuleRuntimeMonitoringDetails as DetectionRuleRuntimeMonitoringDetails, + DetectionRuleRuntimePlatforms as DetectionRuleRuntimePlatforms, + DetectionRuleSeverity as DetectionRuleSeverity, + DetectionSource as DetectionSource, + DetectorAdditionalConfiguration as DetectorAdditionalConfiguration, + DetectorAdditionalConfigurationResult as DetectorAdditionalConfigurationResult, + DetectorFeature as DetectorFeature, + DetectorFeatureConfiguration as DetectorFeatureConfiguration, + DetectorFeatureConfigurationResult as DetectorFeatureConfigurationResult, + DetectorFeatureResult as DetectorFeatureResult, + DetectorStatus as DetectorStatus, + DisableOrganizationAdminAccountInput as DisableOrganizationAdminAccountInput, + DisableOrganizationAdminAccountOutput as DisableOrganizationAdminAccountOutput, + DisassociateFromAdministratorAccountInput as DisassociateFromAdministratorAccountInput, + DisassociateFromAdministratorAccountOutput as DisassociateFromAdministratorAccountOutput, + DisassociateFromMasterAccountInput as DisassociateFromMasterAccountInput, + DisassociateFromMasterAccountOutput as DisassociateFromMasterAccountOutput, + DisassociateMembersInput as DisassociateMembersInput, + DisassociateMembersOutput as DisassociateMembersOutput, + DNSLogsConfigurationResult as DNSLogsConfigurationResult, + DnsRequestAction as DnsRequestAction, + DomainDetails as DomainDetails, + EbsSnapshot as EbsSnapshot, + EbsSnapshotDetails as EbsSnapshotDetails, + EbsSnapshotPreservation as EbsSnapshotPreservation, + EbsVolumeDetails as EbsVolumeDetails, + EbsVolumeScanDetails as EbsVolumeScanDetails, + EbsVolumesResult as EbsVolumesResult, + Ec2Image as Ec2Image, + Ec2ImageDetails as Ec2ImageDetails, + Ec2Instance as Ec2Instance, + Ec2LaunchTemplate as Ec2LaunchTemplate, + Ec2NetworkInterface as Ec2NetworkInterface, + Ec2Vpc as Ec2Vpc, + EcsCluster as EcsCluster, + EcsClusterDetails as EcsClusterDetails, + EcsClusterStatus as EcsClusterStatus, + EcsLaunchType as EcsLaunchType, + EcsTask as EcsTask, + EcsTaskDetails as EcsTaskDetails, + EksCluster as EksCluster, + EksClusterDetails as EksClusterDetails, + EnableOrganizationAdminAccountInput as EnableOrganizationAdminAccountInput, + EnableOrganizationAdminAccountOutput as EnableOrganizationAdminAccountOutput, + Evidence as Evidence, + FargateDetails as FargateDetails, + FeatureAdditionalConfiguration as FeatureAdditionalConfiguration, + FeatureStatus as FeatureStatus, + Feedback as Feedback, + FilterAction as FilterAction, + FilterCondition as FilterCondition, + FilterCriteria as FilterCriteria, + FilterCriterion as FilterCriterion, + FilterFieldName as FilterFieldName, + Finding as Finding, + FindingCriteria as FindingCriteria, + FindingPublishingFrequency as FindingPublishingFrequency, + FindingResourceType as FindingResourceType, + FindingStatistics as FindingStatistics, + FindingStatisticType as FindingStatisticType, + FindingTypeStatistics as FindingTypeStatistics, + FlowLogsConfigurationResult as FlowLogsConfigurationResult, + FreeTrialFeatureConfigurationResult as FreeTrialFeatureConfigurationResult, + FreeTrialFeatureResult as FreeTrialFeatureResult, + GeoLocation as GeoLocation, + GetAdministratorAccountInput as GetAdministratorAccountInput, + GetAdministratorAccountOutput as GetAdministratorAccountOutput, + GetCoverageStatisticsInput as GetCoverageStatisticsInput, + GetCoverageStatisticsOutput as GetCoverageStatisticsOutput, + GetCustomDetectionRuleAssociationInput as GetCustomDetectionRuleAssociationInput, + GetCustomDetectionRuleAssociationOutput as GetCustomDetectionRuleAssociationOutput, + GetCustomDetectionRuleInput as GetCustomDetectionRuleInput, + GetCustomDetectionRuleOrgConfigurationInput as GetCustomDetectionRuleOrgConfigurationInput, + GetCustomDetectionRuleOrgConfigurationOutput as GetCustomDetectionRuleOrgConfigurationOutput, + GetCustomDetectionRuleOutput as GetCustomDetectionRuleOutput, + GetDetectorInput as GetDetectorInput, + GetDetectorOutput as GetDetectorOutput, + GetFilterInput as GetFilterInput, + GetFilterOutput as GetFilterOutput, + GetFindingsInput as GetFindingsInput, + GetFindingsOutput as GetFindingsOutput, + GetFindingsStatisticsInput as GetFindingsStatisticsInput, + GetFindingsStatisticsOutput as GetFindingsStatisticsOutput, + GetInvestigationInput as GetInvestigationInput, + GetInvestigationOutput as GetInvestigationOutput, + GetInvitationsCountInput as GetInvitationsCountInput, + GetInvitationsCountOutput as GetInvitationsCountOutput, + GetIPSetInput as GetIPSetInput, + GetIPSetOutput as GetIPSetOutput, + GetMalwareProtectionPlanInput as GetMalwareProtectionPlanInput, + GetMalwareProtectionPlanOutput as GetMalwareProtectionPlanOutput, + GetMalwareScanInput as GetMalwareScanInput, +) + +from ._private.models_1 import ( + GetMalwareScanOutput as GetMalwareScanOutput, + GetMalwareScanResultDetails as GetMalwareScanResultDetails, + GetMalwareScanSettingsInput as GetMalwareScanSettingsInput, + GetMalwareScanSettingsOutput as GetMalwareScanSettingsOutput, + GetMasterAccountInput as GetMasterAccountInput, + GetMasterAccountOutput as GetMasterAccountOutput, + GetMemberDetectorsInput as GetMemberDetectorsInput, + GetMemberDetectorsOutput as GetMemberDetectorsOutput, + GetMembersInput as GetMembersInput, + GetMembersOutput as GetMembersOutput, + GetOrganizationStatisticsInput as GetOrganizationStatisticsInput, + GetOrganizationStatisticsOutput as GetOrganizationStatisticsOutput, + GetRemainingFreeTrialDaysInput as GetRemainingFreeTrialDaysInput, + GetRemainingFreeTrialDaysOutput as GetRemainingFreeTrialDaysOutput, + GetThreatEntitySetInput as GetThreatEntitySetInput, + GetThreatEntitySetOutput as GetThreatEntitySetOutput, + GetThreatIntelSetInput as GetThreatIntelSetInput, + GetThreatIntelSetOutput as GetThreatIntelSetOutput, + GetTrustedEntitySetInput as GetTrustedEntitySetInput, + GetTrustedEntitySetOutput as GetTrustedEntitySetOutput, + GetUsageStatisticsInput as GetUsageStatisticsInput, + GetUsageStatisticsOutput as GetUsageStatisticsOutput, + GroupByType as GroupByType, + GuardrailAction as GuardrailAction, + GuardrailSource as GuardrailSource, + HighestSeverityThreatDetails as HighestSeverityThreatDetails, + HostPath as HostPath, + IamInstanceProfile as IamInstanceProfile, + IamInstanceProfileV2 as IamInstanceProfileV2, + ImpersonatedUser as ImpersonatedUser, + IncrementalScanDetails as IncrementalScanDetails, + Indicator as Indicator, + IndicatorType as IndicatorType, + InstanceDetails as InstanceDetails, + InternalServerErrorException as InternalServerErrorException, + Investigation as Investigation, + InvestigationMetadata as InvestigationMetadata, + InvestigationSortCriteria as InvestigationSortCriteria, + InvestigationSortField as InvestigationSortField, + InvestigationStatus as InvestigationStatus, + InvestigationSummary as InvestigationSummary, + Invitation as Invitation, + InviteMembersInput as InviteMembersInput, + InviteMembersOutput as InviteMembersOutput, + IpSetFormat as IpSetFormat, + IpSetStatus as IpSetStatus, + ItemDetails as ItemDetails, + ItemPath as ItemPath, + KubernetesApiCallAction as KubernetesApiCallAction, + KubernetesAuditLogsConfiguration as KubernetesAuditLogsConfiguration, + KubernetesAuditLogsConfigurationResult as KubernetesAuditLogsConfigurationResult, + KubernetesConfiguration as KubernetesConfiguration, + KubernetesConfigurationResult as KubernetesConfigurationResult, + KubernetesDataSourceFreeTrial as KubernetesDataSourceFreeTrial, + KubernetesDetails as KubernetesDetails, + KubernetesPermissionCheckedDetails as KubernetesPermissionCheckedDetails, + KubernetesResourcesTypes as KubernetesResourcesTypes, + KubernetesRoleBindingDetails as KubernetesRoleBindingDetails, + KubernetesRoleDetails as KubernetesRoleDetails, + KubernetesUserDetails as KubernetesUserDetails, + KubernetesWorkload as KubernetesWorkload, + KubernetesWorkloadDetails as KubernetesWorkloadDetails, + LambdaDetails as LambdaDetails, + LineageObject as LineageObject, + ListCoverageInput as ListCoverageInput, + ListCoverageOutput as ListCoverageOutput, + ListCustomDetectionRuleAssociationsInput as ListCustomDetectionRuleAssociationsInput, + ListCustomDetectionRuleAssociationsOutput as ListCustomDetectionRuleAssociationsOutput, + ListCustomDetectionRuleOrgConfigurationsInput as ListCustomDetectionRuleOrgConfigurationsInput, + ListCustomDetectionRuleOrgConfigurationsOutput as ListCustomDetectionRuleOrgConfigurationsOutput, + ListCustomDetectionRulesInput as ListCustomDetectionRulesInput, + ListCustomDetectionRulesOutput as ListCustomDetectionRulesOutput, + ListDetectorsInput as ListDetectorsInput, + ListDetectorsOutput as ListDetectorsOutput, + ListFiltersInput as ListFiltersInput, + ListFiltersOutput as ListFiltersOutput, + ListFindingsInput as ListFindingsInput, + ListFindingsOutput as ListFindingsOutput, + ListInvestigationsInput as ListInvestigationsInput, + ListInvestigationsOutput as ListInvestigationsOutput, + ListInvitationsInput as ListInvitationsInput, + ListInvitationsOutput as ListInvitationsOutput, + ListIPSetsInput as ListIPSetsInput, + ListIPSetsOutput as ListIPSetsOutput, + ListMalwareProtectionPlansInput as ListMalwareProtectionPlansInput, + ListMalwareProtectionPlansOutput as ListMalwareProtectionPlansOutput, + ListMalwareScansCriterionKey as ListMalwareScansCriterionKey, + ListMalwareScansFilterCriteria as ListMalwareScansFilterCriteria, + ListMalwareScansFilterCriterion as ListMalwareScansFilterCriterion, + ListMalwareScansInput as ListMalwareScansInput, + ListMalwareScansOutput as ListMalwareScansOutput, + ListMembersInput as ListMembersInput, + ListMembersOutput as ListMembersOutput, + ListOrganizationAdminAccountsInput as ListOrganizationAdminAccountsInput, + ListOrganizationAdminAccountsOutput as ListOrganizationAdminAccountsOutput, + ListPublishingDestinationsInput as ListPublishingDestinationsInput, + ListPublishingDestinationsOutput as ListPublishingDestinationsOutput, + ListTagsForResourceInput as ListTagsForResourceInput, + ListTagsForResourceOutput as ListTagsForResourceOutput, + ListThreatEntitySetsInput as ListThreatEntitySetsInput, + ListThreatEntitySetsOutput as ListThreatEntitySetsOutput, + ListThreatIntelSetsInput as ListThreatIntelSetsInput, + ListThreatIntelSetsOutput as ListThreatIntelSetsOutput, + ListTrustedEntitySetsInput as ListTrustedEntitySetsInput, + ListTrustedEntitySetsOutput as ListTrustedEntitySetsOutput, + LocalIpDetails as LocalIpDetails, + LocalPortDetails as LocalPortDetails, + LoginAttribute as LoginAttribute, + MalwareProtectionConfiguration as MalwareProtectionConfiguration, + MalwareProtectionConfigurationResult as MalwareProtectionConfigurationResult, + MalwareProtectionDataSourceFreeTrial as MalwareProtectionDataSourceFreeTrial, + MalwareProtectionFindingsScanConfiguration as MalwareProtectionFindingsScanConfiguration, + MalwareProtectionPlanActions as MalwareProtectionPlanActions, + MalwareProtectionPlanStatus as MalwareProtectionPlanStatus, + MalwareProtectionPlanStatusReason as MalwareProtectionPlanStatusReason, + MalwareProtectionPlanSummary as MalwareProtectionPlanSummary, + MalwareProtectionPlanTaggingAction as MalwareProtectionPlanTaggingAction, + MalwareProtectionPlanTaggingActionStatus as MalwareProtectionPlanTaggingActionStatus, + MalwareProtectionResourceType as MalwareProtectionResourceType, + MalwareProtectionScanStatus as MalwareProtectionScanStatus, + MalwareProtectionScanType as MalwareProtectionScanType, + MalwareScan as MalwareScan, + MalwareScanDetails as MalwareScanDetails, + ManagedBy as ManagedBy, + ManagementType as ManagementType, + Master as Master, + Member as Member, + MemberAdditionalConfiguration as MemberAdditionalConfiguration, + MemberAdditionalConfigurationResult as MemberAdditionalConfigurationResult, + MemberDataSourceConfiguration as MemberDataSourceConfiguration, + MemberFeaturesConfiguration as MemberFeaturesConfiguration, + MemberFeaturesConfigurationResult as MemberFeaturesConfigurationResult, + MfaStatus as MfaStatus, + ModelDetail as ModelDetail, + NetworkConnection as NetworkConnection, + NetworkConnectionAction as NetworkConnectionAction, + NetworkDirection as NetworkDirection, + NetworkEndpoint as NetworkEndpoint, + NetworkGeoLocation as NetworkGeoLocation, + NetworkInterface as NetworkInterface, + Observations as Observations, + OrderBy as OrderBy, + Organization as Organization, + OrganizationAdditionalConfiguration as OrganizationAdditionalConfiguration, + OrganizationAdditionalConfigurationResult as OrganizationAdditionalConfigurationResult, + OrganizationDataSourceConfigurations as OrganizationDataSourceConfigurations, + OrganizationDataSourceConfigurationsResult as OrganizationDataSourceConfigurationsResult, + OrganizationDetails as OrganizationDetails, + OrganizationEbsVolumes as OrganizationEbsVolumes, + OrganizationEbsVolumesResult as OrganizationEbsVolumesResult, + OrganizationFeatureConfiguration as OrganizationFeatureConfiguration, + OrganizationFeatureConfigurationResult as OrganizationFeatureConfigurationResult, + OrganizationFeatureStatistics as OrganizationFeatureStatistics, + OrganizationFeatureStatisticsAdditionalConfiguration as OrganizationFeatureStatisticsAdditionalConfiguration, + OrganizationKubernetesAuditLogsConfiguration as OrganizationKubernetesAuditLogsConfiguration, + OrganizationKubernetesAuditLogsConfigurationResult as OrganizationKubernetesAuditLogsConfigurationResult, + OrganizationKubernetesConfiguration as OrganizationKubernetesConfiguration, + OrganizationKubernetesConfigurationResult as OrganizationKubernetesConfigurationResult, + OrganizationMalwareProtectionConfiguration as OrganizationMalwareProtectionConfiguration, + OrganizationMalwareProtectionConfigurationResult as OrganizationMalwareProtectionConfigurationResult, + OrganizationS3LogsConfiguration as OrganizationS3LogsConfiguration, + OrganizationS3LogsConfigurationResult as OrganizationS3LogsConfigurationResult, + OrganizationScanEc2InstanceWithFindings as OrganizationScanEc2InstanceWithFindings, + OrganizationScanEc2InstanceWithFindingsResult as OrganizationScanEc2InstanceWithFindingsResult, + OrganizationStatistics as OrganizationStatistics, + OrgFeature as OrgFeature, + OrgFeatureAdditionalConfiguration as OrgFeatureAdditionalConfiguration, + OrgFeatureStatus as OrgFeatureStatus, + Owner as Owner, + PermissionConfiguration as PermissionConfiguration, + PortProbeAction as PortProbeAction, + PortProbeDetail as PortProbeDetail, + PrivateIpAddressDetails as PrivateIpAddressDetails, + ProcessDetails as ProcessDetails, + Product as Product, + ProductCode as ProductCode, + ProfileSubtype as ProfileSubtype, + ProfileType as ProfileType, + PublicAccess as PublicAccess, + PublicAccessConfiguration as PublicAccessConfiguration, + PublicAccessStatus as PublicAccessStatus, + PublicAclIgnoreBehavior as PublicAclIgnoreBehavior, + PublicBucketRestrictBehavior as PublicBucketRestrictBehavior, + PublishingStatus as PublishingStatus, + RdsDbInstanceDetails as RdsDbInstanceDetails, + RdsDbUserDetails as RdsDbUserDetails, + RdsLimitlessDbDetails as RdsLimitlessDbDetails, + RdsLoginAttemptAction as RdsLoginAttemptAction, + RecoveryPoint as RecoveryPoint, + RecoveryPointDetails as RecoveryPointDetails, + RemoteAccountDetails as RemoteAccountDetails, + RemoteIpDetails as RemoteIpDetails, + RemotePortDetails as RemotePortDetails, + Resource as Resource, + ResourceData as ResourceData, + ResourceDetails as ResourceDetails, + ResourceNotFoundException as ResourceNotFoundException, + ResourceStatistics as ResourceStatistics, + ResourceType as ResourceType, + ResourceV2 as ResourceV2, + RiskLevel as RiskLevel, + RuleDefinition as RuleDefinition, + RuleDetail as RuleDetail, + RuleLanguage as RuleLanguage, + RuleSchema as RuleSchema, + RuleSummary as RuleSummary, + RuntimeContext as RuntimeContext, + RuntimeDetails as RuntimeDetails, + S3Bucket as S3Bucket, + S3BucketDetail as S3BucketDetail, + S3LogsConfiguration as S3LogsConfiguration, + S3LogsConfigurationResult as S3LogsConfigurationResult, + S3Object as S3Object, + S3ObjectDetail as S3ObjectDetail, + S3ObjectForSendObjectMalwareScan as S3ObjectForSendObjectMalwareScan, + Scan as Scan, + ScanCategory as ScanCategory, + ScanCondition as ScanCondition, + ScanConditionPair as ScanConditionPair, + ScanConfiguration as ScanConfiguration, + ScanConfigurationContinuousScanDetails as ScanConfigurationContinuousScanDetails, + ScanConfigurationRecoveryPoint as ScanConfigurationRecoveryPoint, + ScanCriterionKey as ScanCriterionKey, + ScanDetections as ScanDetections, + ScanEc2InstanceWithFindings as ScanEc2InstanceWithFindings, + ScanEc2InstanceWithFindingsResult as ScanEc2InstanceWithFindingsResult, + ScanFilePath as ScanFilePath, + ScannedItemCount as ScannedItemCount, + ScannedResource as ScannedResource, + ScannedResourceDetails as ScannedResourceDetails, + ScanResourceCriteria as ScanResourceCriteria, + ScanResult as ScanResult, + ScanResultDetails as ScanResultDetails, + ScanResultStatus as ScanResultStatus, + ScanResultThreat as ScanResultThreat, + ScanStatus as ScanStatus, + ScanStatusReason as ScanStatusReason, + ScanThreatName as ScanThreatName, + ScanType as ScanType, + SecurityContext as SecurityContext, + SecurityGroup as SecurityGroup, + SendObjectMalwareScanInput as SendObjectMalwareScanInput, + SendObjectMalwareScanOutput as SendObjectMalwareScanOutput, + Sequence as Sequence, + Service as Service, + ServiceAdditionalInfo as ServiceAdditionalInfo, + Session as Session, + SeverityStatistics as SeverityStatistics, + Signal as Signal, + SignalType as SignalType, +) + +from ._private.models_2 import ( + SortCriteria as SortCriteria, + StartMalwareScanConfiguration as StartMalwareScanConfiguration, + StartMalwareScanInput as StartMalwareScanInput, + StartMalwareScanOutput as StartMalwareScanOutput, + StartMonitoringMembersInput as StartMonitoringMembersInput, + StartMonitoringMembersOutput as StartMonitoringMembersOutput, + StopMonitoringMembersInput as StopMonitoringMembersInput, + StopMonitoringMembersOutput as StopMonitoringMembersOutput, + Tag as Tag, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + Threat as Threat, + ThreatDetectedByName as ThreatDetectedByName, + ThreatEntitySetFormat as ThreatEntitySetFormat, + ThreatEntitySetStatus as ThreatEntitySetStatus, + ThreatIntelligenceDetail as ThreatIntelligenceDetail, + ThreatIntelSetFormat as ThreatIntelSetFormat, + ThreatIntelSetStatus as ThreatIntelSetStatus, + ThreatsDetectedItemCount as ThreatsDetectedItemCount, + Total as Total, + TriggerDetails as TriggerDetails, + TriggerType as TriggerType, + TrustedEntitySetFormat as TrustedEntitySetFormat, + TrustedEntitySetStatus as TrustedEntitySetStatus, + UnarchiveFindingsInput as UnarchiveFindingsInput, + UnarchiveFindingsOutput as UnarchiveFindingsOutput, + UnprocessedAccount as UnprocessedAccount, + UnprocessedDataSourcesResult as UnprocessedDataSourcesResult, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateCustomDetectionRuleAssociationInput as UpdateCustomDetectionRuleAssociationInput, + UpdateCustomDetectionRuleAssociationOutput as UpdateCustomDetectionRuleAssociationOutput, + UpdateCustomDetectionRuleOrgConfigurationInput as UpdateCustomDetectionRuleOrgConfigurationInput, + UpdateCustomDetectionRuleOrgConfigurationOutput as UpdateCustomDetectionRuleOrgConfigurationOutput, + UpdateDetectorInput as UpdateDetectorInput, + UpdateDetectorOutput as UpdateDetectorOutput, + UpdateFilterInput as UpdateFilterInput, + UpdateFilterOutput as UpdateFilterOutput, + UpdateFindingsFeedbackInput as UpdateFindingsFeedbackInput, + UpdateFindingsFeedbackOutput as UpdateFindingsFeedbackOutput, + UpdateIPSetInput as UpdateIPSetInput, + UpdateIPSetOutput as UpdateIPSetOutput, + UpdateMalwareProtectionPlanInput as UpdateMalwareProtectionPlanInput, + UpdateMalwareProtectionPlanOutput as UpdateMalwareProtectionPlanOutput, + UpdateMalwareScanSettingsInput as UpdateMalwareScanSettingsInput, + UpdateMalwareScanSettingsOutput as UpdateMalwareScanSettingsOutput, + UpdateMemberDetectorsInput as UpdateMemberDetectorsInput, + UpdateMemberDetectorsOutput as UpdateMemberDetectorsOutput, + UpdateOrganizationConfigurationInput as UpdateOrganizationConfigurationInput, + UpdateOrganizationConfigurationOutput as UpdateOrganizationConfigurationOutput, + UpdateProtectedResource as UpdateProtectedResource, + UpdatePublishingDestinationInput as UpdatePublishingDestinationInput, + UpdatePublishingDestinationOutput as UpdatePublishingDestinationOutput, + UpdateS3BucketResource as UpdateS3BucketResource, + UpdateThreatEntitySetInput as UpdateThreatEntitySetInput, + UpdateThreatEntitySetOutput as UpdateThreatEntitySetOutput, + UpdateThreatIntelSetInput as UpdateThreatIntelSetInput, + UpdateThreatIntelSetOutput as UpdateThreatIntelSetOutput, + UpdateTrustedEntitySetInput as UpdateTrustedEntitySetInput, + UpdateTrustedEntitySetOutput as UpdateTrustedEntitySetOutput, + UsageAccountResult as UsageAccountResult, + UsageCriteria as UsageCriteria, + UsageDataSourceResult as UsageDataSourceResult, + UsageFeature as UsageFeature, + UsageFeatureResult as UsageFeatureResult, + UsageResourceResult as UsageResourceResult, + UsageStatistics as UsageStatistics, + UsageStatisticType as UsageStatisticType, + UsageTopAccountResult as UsageTopAccountResult, + UsageTopAccountsResult as UsageTopAccountsResult, + User as User, + Volume as Volume, + VolumeDetail as VolumeDetail, + VolumeMount as VolumeMount, + VpcConfig as VpcConfig, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -26,12711 +605,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AcceptAdministratorInvitationInput(_SerdeShape): - """Dataclass for AcceptAdministratorInvitationInput structure.""" - - detector_id: str | None = ... - """The unique ID of the detector of the GuardDuty member account.""" - administrator_id: str | None = ... - """ - The account ID of the GuardDuty administrator account whose invitation - you're accepting. - """ - invitation_id: str | None = ... - """ - The value that is used to validate the administrator account to the - member account. - """ - -@dataclass(kw_only=True) -class AcceptAdministratorInvitationOutput(_SerdeShape): - """Dataclass for AcceptAdministratorInvitationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcceptInvitationInput(_SerdeShape): - """Dataclass for AcceptInvitationInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty member account. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - master_id: str | None = ... - """ - The account ID of the GuardDuty administrator account whose invitation - you're accepting. - """ - invitation_id: str | None = ... - """ - The value that is used to validate the administrator account to the - member account. - """ - -@dataclass(kw_only=True) -class AcceptInvitationOutput(_SerdeShape): - """Dataclass for AcceptInvitationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AccessControlList(_SerdeShape): - """ - Contains information on the current access control policies for the - bucket. - """ - - allows_public_read_access: bool | None = ... - """ - A value that indicates whether public read access for the bucket is - enabled through an Access Control List (ACL). - """ - allows_public_write_access: bool | None = ... - """ - A value that indicates whether public write access for the bucket is - enabled through an Access Control List (ACL). - """ - -@dataclass(kw_only=True) -class AccessDeniedException(ServiceError, _SerdeShape): - """An access denied exception object.""" - - type: str | None = ... - """The error type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AccessKey(_SerdeShape): - """Contains information about the access keys.""" - - principal_id: str | None = ... - """Principal ID of the user.""" - user_name: str | None = ... - """Name of the user.""" - user_type: str | None = ... - """Type of the user.""" - -@dataclass(kw_only=True) -class AccessKeyDetails(_SerdeShape): - """Contains information about the access keys.""" - - access_key_id: str | None = ... - """The access key ID of the user.""" - principal_id: str | None = ... - """The principal ID of the user.""" - user_name: str | None = ... - """The name of the user.""" - user_type: str | None = ... - """The type of the user.""" - -@dataclass(kw_only=True) -class Account(_SerdeShape): - """ - Contains information about the Amazon Web Services account within which - the activity took place. - """ - - uid: str | None = ... - """ - The Amazon Web Services account ID within which the activity took place. - This may differ from the account that owns the user identity. - """ - name: str | None = ... - """Name of the member's Amazon Web Services account.""" - -@dataclass(kw_only=True) -class AccountDetail(_SerdeShape): - """Contains information about the account.""" - - account_id: str | None = ... - """The member account ID.""" - email: str | None = ... - """ - The email address of the member account. The following list includes the - rules for a valid email address: - - - The email address must be a minimum of 6 and a maximum of 64 - characters long. - - - All characters must be 7-bit ASCII characters. - - - There must be one and only one @ symbol, which separates the local - name from the domain name. - - - The local name can't contain any of the following characters: - - whitespace, \" ' ( ) < > [ ] : ' , \\ | % & - - - The local name can't begin with a dot (.). - - - The domain name can consist of only the characters [a-z], [A-Z], - [0-9], hyphen (-), or dot (.). - - - The domain name can't begin or end with a dot (.) or hyphen (-). - - - The domain name must contain at least one dot. - """ - -@dataclass(kw_only=True) -class AccountFreeTrialInfo(_SerdeShape): - """ - Provides details of the GuardDuty member account that uses a free trial - service. - """ - - account_id: str | None = ... - """The account identifier of the GuardDuty member account.""" - data_sources: DataSourcesFreeTrial | None = ... - """Describes the data source enabled for the GuardDuty member account.""" - features: list[FreeTrialFeatureConfigurationResult] | None = ... - """A list of features enabled for the GuardDuty account.""" - -@dataclass(kw_only=True) -class AccountLevelPermissions(_SerdeShape): - """ - Contains information about the account level permissions on the S3 - bucket. - """ - - block_public_access: BlockPublicAccess | None = ... - """ - Describes the S3 Block Public Access settings of the bucket's parent - account. - """ - -@dataclass(kw_only=True) -class AccountStatistics(_SerdeShape): - """ - Represents a list of map of accounts with the number of findings - associated with each account. - """ - - account_id: str | None = ... - """The ID of the Amazon Web Services account.""" - last_generated_at: datetime | None = ... - """The timestamp at which the finding for this account was last generated.""" - total_findings: int | None = ... - """The total number of findings associated with an account.""" - -@dataclass(kw_only=True) -class Action(_SerdeShape): - """Contains information about actions.""" - - action_type: str | None = ... - """The GuardDuty finding activity type.""" - aws_api_call_action: AwsApiCallAction | None = ... - """Information about the AWS_API_CALL action described in this finding.""" - dns_request_action: DnsRequestAction | None = ... - """Information about the DNS_REQUEST action described in this finding.""" - network_connection_action: NetworkConnectionAction | None = ... - """ - Information about the NETWORK_CONNECTION action described in this - finding. - """ - port_probe_action: PortProbeAction | None = ... - """Information about the PORT_PROBE action described in this finding.""" - kubernetes_api_call_action: KubernetesApiCallAction | None = ... - """ - Information about the Kubernetes API call action described in this - finding. - """ - kubernetes_permission_checked_details: ( - KubernetesPermissionCheckedDetails | None - ) = ... - """ - Information whether the user has the permission to use a specific - Kubernetes API. - """ - kubernetes_role_binding_details: KubernetesRoleBindingDetails | None = ... - """ - Information about the role binding that grants the permission defined in - a Kubernetes role. - """ - kubernetes_role_details: KubernetesRoleDetails | None = ... - """Information about the Kubernetes role name and role type.""" - rds_login_attempt_action: RdsLoginAttemptAction | None = ... - """Information about `RDS_LOGIN_ATTEMPT` action described in this finding.""" - -@dataclass(kw_only=True) -class Activity(_SerdeShape): - """ - Contains information about an activity, such as an API call, that was - observed for a signal. - """ - - type: str | None = ... - """The type of the observed activity.""" - api: ApiCall | None = ... - """ - Contains information about the API call that was observed, when the - activity type is `API_CALL`. - """ - -class ActivityType(UnknownEnumMixin, StrEnum): - """The type of an observed activity.""" - - API_CALL = "API_CALL" - """The observed activity is an API call.""" - -@dataclass(kw_only=True) -class Actor(_SerdeShape): - """Information about the actors involved in an attack sequence.""" - - id: str | None = ... - """ID of the threat actor.""" - user: User | None = ... - """ - Contains information about the user credentials used by the threat - actor. - """ - session: Session | None = ... - """ - Contains information about the user session where the activity - initiated. - """ - process: ActorProcess | None = ... - """ - Contains information about the process associated with the threat actor. - This includes details such as process name, path, execution time, and - unique identifiers that help track the actor's activities within the - system. - """ - -@dataclass(kw_only=True) -class ActorProcess(_SerdeShape): - """ - Contains information about a process involved in a GuardDuty finding, - including process identification, execution details, and file - information. - """ - - name: str | None = ... - """The name of the process as it appears in the system.""" - path: str | None = ... - """The full file path to the process executable on the system.""" - sha256: str | None = ... - """ - The SHA256 hash of the process executable file, which can be used for - identification and verification purposes. - """ - -@dataclass(kw_only=True) -class AdditionalInfo(_SerdeShape): - """Contains additional information about the detected threat.""" - - version_id: str | None = ... - """The version ID of the S3 object, if applicable.""" - device_name: str | None = ... - """The device name of the EBS volume, if applicable.""" - -@dataclass(kw_only=True) -class AddonDetails(_SerdeShape): - """Information about the installed EKS add-on (GuardDuty security agent).""" - - addon_version: str | None = ... - """Version of the installed EKS add-on.""" - addon_status: str | None = ... - """Status of the installed EKS add-on.""" - -@dataclass(kw_only=True) -class AdminAccount(_SerdeShape): - """ - The account within the organization specified as the GuardDuty delegated - administrator. - """ - - admin_account_id: str | None = ... - """The Amazon Web Services account ID for the account.""" - admin_status: str | None = ... - """Indicates whether the account is enabled as the delegated administrator.""" - -@dataclass(kw_only=True) -class Administrator(_SerdeShape): - """Contains information about the administrator account and invitation.""" - - account_id: str | None = ... - """The ID of the account used as the administrator account.""" - invitation_id: str | None = ... - """ - The value that is used to validate the administrator account to the - member account. - """ - relationship_status: str | None = ... - """ - The status of the relationship between the administrator and member - accounts. - """ - invited_at: str | None = ... - """The timestamp when the invitation was sent.""" - -class AdminStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS" - -@dataclass(kw_only=True) -class AgentDetails(_SerdeShape): - """Information about the installed GuardDuty security agent.""" - - version: str | None = ... - """Version of the installed GuardDuty security agent.""" - -@dataclass(kw_only=True) -class Anomaly(_SerdeShape): - """Contains information about the anomalies.""" - - profiles: dict[str, dict[str, list[AnomalyObject]]] | None = ... - """Information about the types of profiles.""" - unusual: AnomalyUnusual | None = ... - """Information about the behavior of the anomalies.""" - -@dataclass(kw_only=True) -class AnomalyObject(_SerdeShape): - """Contains information about the unusual anomalies.""" - - profile_type: str | None = ... - """The type of behavior of the profile.""" - profile_subtype: str | None = ... - """The frequency of the anomaly.""" - observations: Observations | None = ... - """The recorded value.""" - -@dataclass(kw_only=True) -class AnomalyUnusual(_SerdeShape): - """ - Contains information about the behavior of the anomaly that is new to - GuardDuty. - """ - - behavior: dict[str, dict[str, AnomalyObject]] | None = ... - """ - The behavior of the anomalous activity that caused GuardDuty to generate - the finding. - """ - -@dataclass(kw_only=True) -class ApiCall(_SerdeShape): - """ - Contains information about an API call that was observed as part of an - activity. - """ - - operation: str | None = ... - """The name of the API operation that was invoked.""" - service: str | None = ... - """The service that the API operation was invoked against.""" - error: str | None = ... - """The error code that was returned, if the API call failed.""" - user_agent: str | None = ... - """User agent in the request to the API operation""" - -@dataclass(kw_only=True) -class ArchiveFindingsInput(_SerdeShape): - """Dataclass for ArchiveFindingsInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector that specifies the GuardDuty service whose - findings you want to archive. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - finding_ids: list[str] | None = ... - """The IDs of the findings that you want to archive.""" - -@dataclass(kw_only=True) -class ArchiveFindingsOutput(_SerdeShape): - """Dataclass for ArchiveFindingsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AssociationDetail(_SerdeShape): - """Contains the full details of a custom detection rule association.""" - - association_id: str | None = ... - """The unique identifier for the association.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) of the association.""" - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - account_id: str | None = ... - """ - The Amazon Web Services account ID associated with this rule - association. - """ - mode: str | None = ... - """The rule execution mode. Valid values: `LIVE` | `DRY_RUN`.""" - created_at: datetime | None = ... - """The timestamp when the association was created.""" - updated_at: datetime | None = ... - """The timestamp when the association was last updated.""" - expires_at: datetime | None = ... - """The timestamp when the association expires.""" - -class AssociationMode(UnknownEnumMixin, StrEnum): - LIVE = "LIVE" - DRY_RUN = "DRY_RUN" - -@dataclass(kw_only=True) -class AssociationSummary(_SerdeShape): - """Contains summary information about a custom detection rule association.""" - - association_id: str | None = ... - """The unique identifier for the association.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) of the association.""" - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - mode: str | None = ... - """The rule execution mode. Valid values: `LIVE` | `DRY_RUN`.""" - created_at: datetime | None = ... - """The timestamp when the association was created.""" - updated_at: datetime | None = ... - """The timestamp when the association was last updated.""" - expires_at: datetime | None = ... - """The timestamp when the association expires.""" - -class AutoEnableMembers(UnknownEnumMixin, StrEnum): - NEW = "NEW" - ALL = "ALL" - NONE = "NONE" - -@dataclass(kw_only=True) -class AutonomousSystem(_SerdeShape): - """ - Contains information about the Autonomous System (AS) associated with - the network endpoints involved in an attack sequence. - """ - - name: str | None = ... - """Name associated with the Autonomous System (AS).""" - number: int | None = ... - """The unique number that identifies the Autonomous System (AS).""" - -@dataclass(kw_only=True) -class AutoscalingAutoScalingGroup(_SerdeShape): - """ - Contains information about the Auto Scaling Group involved in a - GuardDuty finding, including unique identifiers of the Amazon EC2 - instances. - """ - - ec2_instance_uids: list[str] | None = ... - """ - A list of unique identifiers for the compromised Amazon EC2 instances - that are part of the same Auto Scaling Group. - """ - -@dataclass(kw_only=True) -class AwsApiCallAction(_SerdeShape): - """Contains information about the API action.""" - - api: str | None = ... - """The Amazon Web Services API name.""" - caller_type: str | None = ... - """The Amazon Web Services API caller type.""" - domain_details: DomainDetails | None = ... - """The domain information for the Amazon Web Services API call.""" - error_code: str | None = ... - """The error code of the failed Amazon Web Services API action.""" - user_agent: str | None = ... - """The agent through which the API request was made.""" - remote_ip_details: RemoteIpDetails | None = ... - """ - The remote IP information of the connection that initiated the Amazon - Web Services API call. - """ - service_name: str | None = ... - """The Amazon Web Services service name whose API was invoked.""" - remote_account_details: RemoteAccountDetails | None = ... - """ - The details of the Amazon Web Services account that made the API call. - This field appears if the call was made from outside your account. - """ - affected_resources: dict[str, str] | None = ... - """ - The details of the Amazon Web Services account that made the API call. - This field identifies the resources that were affected by this API call. - """ - -@dataclass(kw_only=True) -class BadRequestException(ServiceError, _SerdeShape): - """A bad request exception object.""" - - type: str | None = ... - """The error type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BedrockGuardrail(_SerdeShape): - """ - Contains information about a Bedrock guardrail associated with a - finding. - """ - - arn: str | None = ... - """The ARN of the Bedrock guardrail.""" - version: str | None = ... - """The version of the Bedrock guardrail.""" - -@dataclass(kw_only=True) -class BedrockGuardrailDetails(_SerdeShape): - """ - Contains information about the Bedrock guardrail that was involved in a - finding. - """ - - guardrail_arn: str | None = ... - """ - The ARN of the Bedrock guardrail. This field is deprecated. Use the - `guardrails` list instead. - """ - guardrail_version: str | None = ... - """ - The version of the Bedrock guardrail. This field is deprecated. Use the - `guardrails` list instead. - """ - guardrails: list[BedrockGuardrail] | None = ... - """The list of Bedrock guardrails associated with the finding.""" - guardrail_action: str | None = ... - """Indicates whether the guardrail intervened or not.""" - guardrail_source: str | None = ... - """ - Indicates whether the guardrail was applied on the input or output of - the model invocation. - """ - content_policy_filters: list[ContentPolicyFilter] | None = ... - """ - The list of content policy filters that matched during the guardrail - evaluation. - """ - -@dataclass(kw_only=True) -class BedrockGuardrailResource(_SerdeShape): - """ - Contains details about an Amazon Bedrock guardrail evaluated during a - model invocation. - """ - - version: str | None = ... - """ - The version of the Amazon Bedrock guardrail. Valid values are a numeric - version, `DRAFT`, or `ENFORCED`. - """ - guardrail_action: str | None = ... - """Indicates whether the guardrail intervened during the model invocation.""" - guardrail_source: str | None = ... - """ - Indicates whether the guardrail was applied on the input or output of - the model invocation. - """ - -@dataclass(kw_only=True) -class BlockPublicAccess(_SerdeShape): - """ - Contains information on how the bucker owner's S3 Block Public Access - settings are being applied to the S3 bucket. See [S3 Block Public - Access](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) - for more information. - """ - - ignore_public_acls: bool | None = ... - """Indicates if S3 Block Public Access is set to `IgnorePublicAcls`.""" - restrict_public_buckets: bool | None = ... - """Indicates if S3 Block Public Access is set to `RestrictPublicBuckets`.""" - block_public_acls: bool | None = ... - """Indicates if S3 Block Public Access is set to `BlockPublicAcls`.""" - block_public_policy: bool | None = ... - """Indicates if S3 Block Public Access is set to `BlockPublicPolicy`.""" - -@dataclass(kw_only=True) -class BucketLevelPermissions(_SerdeShape): - """ - Contains information about the bucket level permissions for the S3 - bucket. - """ - - access_control_list: AccessControlList | None = ... - """ - Contains information on how Access Control Policies are applied to the - bucket. - """ - bucket_policy: BucketPolicy | None = ... - """Contains information on the bucket policies for the S3 bucket.""" - block_public_access: BlockPublicAccess | None = ... - """ - Contains information on which account level S3 Block Public Access - settings are applied to the S3 bucket. - """ - -@dataclass(kw_only=True) -class BucketPolicy(_SerdeShape): - """Contains information on the current bucket policies for the S3 bucket.""" - - allows_public_read_access: bool | None = ... - """ - A value that indicates whether public read access for the bucket is - enabled through a bucket policy. - """ - allows_public_write_access: bool | None = ... - """ - A value that indicates whether public write access for the bucket is - enabled through a bucket policy. - """ - -@dataclass(kw_only=True) -class City(_SerdeShape): - """Contains information about the city associated with the IP address.""" - - city_name: str | None = ... - """The city name of the remote IP address.""" - -@dataclass(kw_only=True) -class CloudDetails(_SerdeShape): - """ - Contains details about the cloud environment associated with an - investigation. - """ - - provider: str | None = ... - """The cloud provider. Currently, only `AWS` is supported.""" - region: str | None = ... - """ - The Amazon Web Services Region in which the investigated resource - resides. - """ - account: str | None = ... - """The Amazon Web Services account ID of the investigated resource.""" - -@dataclass(kw_only=True) -class CloudformationStack(_SerdeShape): - """ - Contains information about the CloudFormation stack involved in a - GuardDuty finding, including unique identifiers of the Amazon EC2 - instances. - """ - - ec2_instance_uids: list[str] | None = ... - """ - A list of unique identifiers for the compromised Amazon EC2 instances - that were created as part of the same CloudFormation stack. - """ - -class CloudProvider(UnknownEnumMixin, StrEnum): - AWS = "AWS" - -@dataclass(kw_only=True) -class CloudTrailConfigurationResult(_SerdeShape): - """ - Contains information on the status of CloudTrail as a data source for - the detector. - """ - - status: str | None = ... - """ - Describes whether CloudTrail is enabled as a data source for the - detector. - """ - -class ClusterStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - DELETING = "DELETING" - FAILED = "FAILED" - UPDATING = "UPDATING" - PENDING = "PENDING" - -@dataclass(kw_only=True) -class Condition(_SerdeShape): - """Contains information about the condition.""" - - eq: list[str] | None = ... - """ - Represents the *equal* condition to be applied to a single field when - querying for findings. - - Max values: 50 - """ - neq: list[str] | None = ... - """ - Represents the *not equal* condition to be applied to a single field - when querying for findings. - - Max values: 50 - """ - gt: int | None = ... - """ - Represents a *greater than* condition to be applied to a single field - when querying for findings. - """ - gte: int | None = ... - """ - Represents a *greater than or equal* condition to be applied to a single - field when querying for findings. - """ - lt: int | None = ... - """ - Represents a *less than* condition to be applied to a single field when - querying for findings. - """ - lte: int | None = ... - """ - Represents a *less than or equal* condition to be applied to a single - field when querying for findings. - """ - equals: list[str] | None = ... - """ - Represents an *equal* condition to be applied to a single field when - querying for findings. - - Max values: 50 - """ - not_equals: list[str] | None = ... - """ - Represents a *not equal* condition to be applied to a single field when - querying for findings. - - Max values: 50 - """ - greater_than: int | None = ... - """ - Represents a *greater than* condition to be applied to a single field - when querying for findings. - """ - greater_than_or_equal: int | None = ... - """ - Represents a *greater than or equal* condition to be applied to a single - field when querying for findings. - """ - less_than: int | None = ... - """ - Represents a *less than* condition to be applied to a single field when - querying for findings. - """ - less_than_or_equal: int | None = ... - """ - Represents a *less than or equal* condition to be applied to a single - field when querying for findings. - """ - matches: list[str] | None = ... - """ - Represents the *match* condition to be applied to a single field when - querying for findings. - - Note: - The *matches* condition is available only for create-filter and - update-filter APIs. - """ - not_matches: list[str] | None = ... - """ - Represents the *not match* condition to be applied to a single field - when querying for findings. - - Note: - The *not-matches* condition is available only for create-filter and - update-filter APIs. - """ - -class Confidence(UnknownEnumMixin, StrEnum): - UNKNOWN = "Unknown" - LOW = "Low" - MEDIUM = "Medium" - HIGH = "High" - -class ConfidenceLevel(UnknownEnumMixin, StrEnum): - HIGH = "HIGH" - MEDIUM = "MEDIUM" - LOW = "LOW" - NONE = "NONE" - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """A request conflict exception object.""" - - type: str | None = ... - """The error type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Container(_SerdeShape): - """Details of a container.""" - - container_runtime: str | None = ... - """ - The container runtime (such as, Docker or containerd) used to run the - container. - """ - id: str | None = ... - """Container ID.""" - name: str | None = ... - """Container name.""" - image: str | None = ... - """Container image.""" - image_prefix: str | None = ... - """ - Part of the image name before the last slash. For example, imagePrefix - for public.ecr.aws/amazonlinux/amazonlinux:latest would be - public.ecr.aws/amazonlinux. If the image name is relative and does not - have a slash, this field is empty. - """ - volume_mounts: list[VolumeMount] | None = ... - """Container volume mounts.""" - security_context: SecurityContext | None = ... - """Container security context.""" - -@dataclass(kw_only=True) -class ContainerFindingResource(_SerdeShape): - """ - Contains information about container resources involved in a GuardDuty - finding. This structure provides details about containers that were - identified as part of suspicious or malicious activity. - """ - - image: str | None = ... - """ - The container image information, including the image name and tag used - to run the container that was involved in the finding. - """ - image_uid: str | None = ... - """The unique ID associated with the container image.""" - -@dataclass(kw_only=True) -class ContainerInstanceDetails(_SerdeShape): - """ - Contains information about the Amazon EC2 instance that is running the - Amazon ECS container. - """ - - covered_container_instances: int | None = ... - """ - Represents the nodes in the Amazon ECS cluster that has a `HEALTHY` - coverage status. - """ - compatible_container_instances: int | None = ... - """Represents total number of nodes in the Amazon ECS cluster.""" - -@dataclass(kw_only=True) -class ContentPolicyFilter(_SerdeShape): - """ - Contains information about a content policy filter that matched during a - guardrail evaluation. - """ - - type: str | None = ... - """The type of content that was filtered by the guardrail.""" - confidence: str | None = ... - """The confidence level that the content matched the filter.""" - action: str | None = ... - """The action taken by the guardrail filter.""" - -class ContentPolicyFilterAction(UnknownEnumMixin, StrEnum): - BLOCKED = "BLOCKED" - NONE = "NONE" - -class ContentPolicyFilterType(UnknownEnumMixin, StrEnum): - PROMPT_ATTACK = "PROMPT_ATTACK" - JAILBREAK = "JAILBREAK" - HATE = "HATE" - INSULTS = "INSULTS" - SEXUAL = "SEXUAL" - VIOLENCE = "VIOLENCE" - MISCONDUCT = "MISCONDUCT" - -@dataclass(kw_only=True) -class ContinuousScanDetails(_SerdeShape): - """ - Contains information about the time range within the continuous backup - in Amazon Web Services Backup to scan for a point-in-time recovery - resource. - """ - - start_time: datetime | None = ... - """ - The timestamp representing the start of the time range to scan. Reserved - for internal use. - """ - end_time: datetime - """The timestamp representing the end of the time range to scan.""" - -@dataclass(kw_only=True) -class Country(_SerdeShape): - """ - Contains information about the country where the remote IP address is - located. - """ - - country_code: str | None = ... - """The country code of the remote IP address.""" - country_name: str | None = ... - """The country name of the remote IP address.""" - -@dataclass(kw_only=True) -class CoverageEc2InstanceDetails(_SerdeShape): - """ - Contains information about the Amazon EC2 instance runtime coverage - details. - """ - - instance_id: str | None = ... - """The Amazon EC2 instance ID.""" - instance_type: str | None = ... - """The instance type of the Amazon EC2 instance.""" - cluster_arn: str | None = ... - """ - The cluster ARN of the Amazon ECS cluster running on the Amazon EC2 - instance. - """ - agent_details: AgentDetails | None = ... - """Information about the installed security agent.""" - management_type: str | None = ... - """ - Indicates how the GuardDuty security agent is managed for this resource. - - - `AUTO_MANAGED` indicates that GuardDuty deploys and manages updates - for this resource. - - - `MANUAL` indicates that you are responsible to deploy, update, and - manage the GuardDuty security agent updates for this resource. - - Note: - The `DISABLED` status doesn't apply to Amazon EC2 instances and Amazon - EKS clusters. - """ - -@dataclass(kw_only=True) -class CoverageEcsClusterDetails(_SerdeShape): - """Contains information about Amazon ECS cluster runtime coverage details.""" - - cluster_name: str | None = ... - """The name of the Amazon ECS cluster.""" - fargate_details: FargateDetails | None = ... - """ - Information about the Fargate details associated with the Amazon ECS - cluster. - """ - container_instance_details: ContainerInstanceDetails | None = ... - """ - Information about the Amazon ECS container running on Amazon EC2 - instance. - """ - -@dataclass(kw_only=True) -class CoverageEksClusterDetails(_SerdeShape): - """Information about the EKS cluster that has a coverage status.""" - - cluster_name: str | None = ... - """Name of the EKS cluster.""" - covered_nodes: int | None = ... - """ - Represents the nodes within the EKS cluster that have a `HEALTHY` - coverage status. - """ - compatible_nodes: int | None = ... - """Represents all the nodes within the EKS cluster in your account.""" - addon_details: AddonDetails | None = ... - """Information about the installed EKS add-on.""" - management_type: str | None = ... - """ - Indicates how the Amazon EKS add-on GuardDuty agent is managed for this - EKS cluster. - - `AUTO_MANAGED` indicates GuardDuty deploys and manages updates for this - resource. - - `MANUAL` indicates that you are responsible to deploy, update, and - manage the Amazon EKS add-on GuardDuty agent for this resource. - """ - -@dataclass(kw_only=True) -class CoverageFilterCondition(_SerdeShape): - """ - Represents a condition that when matched will be added to the response - of the operation. - """ - - equals: list[str] | None = ... - """ - Represents an equal condition that is applied to a single field while - retrieving the coverage details. - """ - not_equals: list[str] | None = ... - """ - Represents a not equal condition that is applied to a single field while - retrieving the coverage details. - """ - -@dataclass(kw_only=True) -class CoverageFilterCriteria(_SerdeShape): - """Represents the criteria used in the filter.""" - - filter_criterion: list[CoverageFilterCriterion] | None = ... - """ - Represents a condition that when matched will be added to the response - of the operation. - """ - -@dataclass(kw_only=True) -class CoverageFilterCriterion(_SerdeShape): - """ - Represents a condition that when matched will be added to the response - of the operation. - """ - - criterion_key: str | None = ... - """ - An enum value representing possible filter fields. - - Note: - Replace the enum value `CLUSTER_NAME` with `EKS_CLUSTER_NAME`. - `CLUSTER_NAME` has been deprecated. - """ - filter_condition: CoverageFilterCondition | None = ... - """Contains information about the condition.""" - -class CoverageFilterCriterionKey(UnknownEnumMixin, StrEnum): - ACCOUNT_ID = "ACCOUNT_ID" - RESOURCE_TYPE = "RESOURCE_TYPE" - COVERAGE_STATUS = "COVERAGE_STATUS" - ADDON_VERSION = "ADDON_VERSION" - CLUSTER_NAME = "CLUSTER_NAME" - ECS_CLUSTER_NAME = "ECS_CLUSTER_NAME" - MANAGEMENT_TYPE = "MANAGEMENT_TYPE" - EKS_CLUSTER_NAME = "EKS_CLUSTER_NAME" - AGENT_VERSION = "AGENT_VERSION" - INSTANCE_ID = "INSTANCE_ID" - CLUSTER_ARN = "CLUSTER_ARN" - -@dataclass(kw_only=True) -class CoverageResource(_SerdeShape): - """Information about the resource of the GuardDuty account.""" - - resource_id: str | None = ... - """The unique ID of the resource.""" - detector_id: str | None = ... - """The unique ID of the GuardDuty detector associated with the resource.""" - account_id: str | None = ... - """The unique ID of the Amazon Web Services account.""" - resource_details: CoverageResourceDetails | None = ... - """ - Information about the resource for which the coverage statistics are - retrieved. - """ - coverage_status: str | None = ... - """Represents the status of the EKS cluster coverage.""" - issue: str | None = ... - """ - Represents the reason why a coverage status was `UNHEALTHY` for the EKS - cluster. - """ - updated_at: datetime | None = ... - """ - The timestamp at which the coverage details for the resource were last - updated. This is in UTC format. - """ - -@dataclass(kw_only=True) -class CoverageResourceDetails(_SerdeShape): - """Information about the resource for each individual EKS cluster.""" - - eks_cluster_details: CoverageEksClusterDetails | None = ... - """EKS cluster details involved in the coverage statistics.""" - ecs_cluster_details: CoverageEcsClusterDetails | None = ... - """ - Information about the Amazon ECS cluster that is assessed for runtime - coverage. - """ - ec2_instance_details: CoverageEc2InstanceDetails | None = ... - """Information about the Amazon EC2 instance assessed for runtime coverage.""" - resource_type: str | None = ... - """The type of Amazon Web Services resource.""" - -@dataclass(kw_only=True) -class CoverageSortCriteria(_SerdeShape): - """Information about the sorting criteria used in the coverage statistics.""" - - attribute_name: str | None = ... - """ - Represents the field name used to sort the coverage details. - - Note: - Replace the enum value `CLUSTER_NAME` with `EKS_CLUSTER_NAME`. - `CLUSTER_NAME` has been deprecated. - """ - order_by: str | None = ... - """The order in which the sorted findings are to be displayed.""" - -class CoverageSortKey(UnknownEnumMixin, StrEnum): - ACCOUNT_ID = "ACCOUNT_ID" - COVERAGE_STATUS = "COVERAGE_STATUS" - ISSUE = "ISSUE" - ADDON_VERSION = "ADDON_VERSION" - UPDATED_AT = "UPDATED_AT" - CLUSTER_NAME = "CLUSTER_NAME" - EKS_CLUSTER_NAME = "EKS_CLUSTER_NAME" - ECS_CLUSTER_NAME = "ECS_CLUSTER_NAME" - INSTANCE_ID = "INSTANCE_ID" - -@dataclass(kw_only=True) -class CoverageStatistics(_SerdeShape): - """Information about the coverage statistics for a resource.""" - - count_by_resource_type: dict[str, int] | None = ... - """ - Represents coverage statistics for EKS clusters aggregated by resource - type. - """ - count_by_coverage_status: dict[str, int] | None = ... - """ - Represents coverage statistics for EKS clusters aggregated by coverage - status. - """ - -class CoverageStatisticsType(UnknownEnumMixin, StrEnum): - COUNT_BY_RESOURCE_TYPE = "COUNT_BY_RESOURCE_TYPE" - COUNT_BY_COVERAGE_STATUS = "COUNT_BY_COVERAGE_STATUS" - -class CoverageStatus(UnknownEnumMixin, StrEnum): - HEALTHY = "HEALTHY" - UNHEALTHY = "UNHEALTHY" - -@dataclass(kw_only=True) -class CreateCustomDetectionRuleAssociationInput(_SerdeShape): - """Dataclass for CreateCustomDetectionRuleAssociationInput structure.""" - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - mode: str | None = ... - """The rule execution mode. Valid values: `LIVE` | `DRY_RUN`.""" - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. Maximum 64 characters. - """ - tags: dict[str, str] | None = ... - """ - The tags to be added to the new custom detection rule association - resource. - """ - -@dataclass(kw_only=True) -class CreateCustomDetectionRuleAssociationOutput(_SerdeShape): - """Dataclass for CreateCustomDetectionRuleAssociationOutput structure.""" - - rule_association: AssociationDetail | None = ... - """The details of the newly created custom detection rule association.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCustomDetectionRuleOrgConfigurationInput(_SerdeShape): - """Dataclass for CreateCustomDetectionRuleOrgConfigurationInput structure.""" - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - mode: str | None = ... - """ - The execution mode of the organization configuration. Valid values: - `LIVE` | `DRY_RUN`. - """ - include_account_ids: list[str] | None = ... - """ - The account IDs to include in the organization configuration. Mutually - exclusive with `ExcludeAccountIds`. - """ - exclude_account_ids: list[str] | None = ... - """ - The account IDs to exclude from the organization configuration. Mutually - exclusive with `IncludeAccountIds`. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure that the operation - completes no more than one time. - """ - -@dataclass(kw_only=True) -class CreateCustomDetectionRuleOrgConfigurationOutput(_SerdeShape): - """Dataclass for CreateCustomDetectionRuleOrgConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDetectorInput(_SerdeShape): - """Dataclass for CreateDetectorInput structure.""" - - enable: bool | None = ... - """A Boolean value that specifies whether the detector is to be enabled.""" - client_token: str | None = ... - """The idempotency token for the create request.""" - finding_publishing_frequency: str | None = ... - """A value that specifies how frequently updated findings are exported.""" - data_sources: DataSourceConfigurations | None = ... - """ - Describes which data sources will be enabled for the detector. - - There might be regional differences because some data sources might not - be available in all the Amazon Web Services Regions where GuardDuty is - presently supported. For more information, see [Regions and - endpoints](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). - """ - tags: dict[str, str] | None = ... - """The tags to be added to a new detector resource.""" - features: list[DetectorFeatureConfiguration] | None = ... - """A list of features that will be configured for the detector.""" - -@dataclass(kw_only=True) -class CreateDetectorOutput(_SerdeShape): - """Dataclass for CreateDetectorOutput structure.""" - - detector_id: str | None = ... - """The unique ID of the created detector.""" - unprocessed_data_sources: UnprocessedDataSourcesResult | None = ... - """ - Specifies the data sources that couldn't be enabled when GuardDuty was - enabled for the first time. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFilterInput(_SerdeShape): - """Dataclass for CreateFilterInput structure.""" - - detector_id: str | None = ... - """ - The detector ID associated with the GuardDuty account for which you want - to create a filter. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - name: str | None = ... - """ - The name of the filter. Valid characters include period (.), underscore - (_), dash (-), and alphanumeric characters. A whitespace is considered - to be an invalid character. - """ - description: str | None = ... - """ - The description of the filter. Valid characters include alphanumeric - characters, and special characters such as hyphen, period, colon, - underscore, parentheses (`{ }`, `[ ]`, and `( )`), forward slash, - horizontal tab, vertical tab, newline, form feed, return, and - whitespace. - """ - action: str | None = ... - """ - Specifies the action that is to be applied to the findings that match - the filter. - - Default: NOOP - """ - rank: int | None = ... - """ - Specifies the position of the filter in the list of current filters. - Also specifies the order in which this filter is applied to the - findings. - """ - finding_criteria: FindingCriteria | None = ... - """ - Represents the criteria to be used in the filter for querying findings. - The following fields are available for filtering: - - - accountId - - - arn - - - associatedAttackSequenceArn - - - confidence - - - createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - id - - - partition - - - region - - - resource.accessKeyDetails.accessKeyId - - - resource.accessKeyDetails.principalId - - - resource.accessKeyDetails.userIdentity.accessKeyId - - - resource.accessKeyDetails.userIdentity.accountId - - - resource.accessKeyDetails.userIdentity.arn - - - resource.accessKeyDetails.userIdentity.principalId - - - resource.accessKeyDetails.userIdentity.sessionContext.attributes.mfaAuthenticated - - - resource.accessKeyDetails.userIdentity.sessionContext.ec2RoleDelivery - - - resource.accessKeyDetails.userIdentity.sessionContext.invokedBy - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.accountId - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.arn - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.principalId - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.type - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.userName - - - resource.accessKeyDetails.userIdentity.sessionContext.sourceIdentity - - - resource.accessKeyDetails.userIdentity.sessionContext.webIdFederationData.attributes - - - resource.accessKeyDetails.userIdentity.sessionContext.webIdFederationData.federatedProvider - - - resource.accessKeyDetails.userIdentity.type - - - resource.accessKeyDetails.userIdentity.userName - - - resource.accessKeyDetails.userName - - - resource.accessKeyDetails.userType - - - resource.bedrockGuardrailDetails.guardrailArn - - - resource.bedrockGuardrailDetails.guardrailVersion - - - resource.containerDetails.containerRuntime - - - resource.containerDetails.id - - - resource.containerDetails.image - - - resource.containerDetails.imagePrefix - - - resource.containerDetails.name - - - resource.containerDetails.securityContext.allowPrivilegeEscalation - - - resource.containerDetails.securityContext.privileged - - - resource.containerDetails.volumeMounts.mountPath - - - resource.containerDetails.volumeMounts.name - - - resource.ebsSnapshotDetails.snapshotArn - - - resource.ebsVolumeDetails.scannedVolumeDetails.deviceName - - - resource.ebsVolumeDetails.scannedVolumeDetails.encryptionType - - - resource.ebsVolumeDetails.scannedVolumeDetails.kmsKeyArn - - - resource.ebsVolumeDetails.scannedVolumeDetails.snapshotArn - - - resource.ebsVolumeDetails.scannedVolumeDetails.volumeArn - - - resource.ebsVolumeDetails.scannedVolumeDetails.volumeSizeInGB - - - resource.ebsVolumeDetails.scannedVolumeDetails.volumeType - - - resource.ebsVolumeDetails.skippedVolumeDetails.deviceName - - - resource.ebsVolumeDetails.skippedVolumeDetails.encryptionType - - - resource.ebsVolumeDetails.skippedVolumeDetails.kmsKeyArn - - - resource.ebsVolumeDetails.skippedVolumeDetails.snapshotArn - - - resource.ebsVolumeDetails.skippedVolumeDetails.volumeArn - - - resource.ebsVolumeDetails.skippedVolumeDetails.volumeSizeInGB - - - resource.ebsVolumeDetails.skippedVolumeDetails.volumeType - - - resource.ec2ImageDetails.imageArn - - - resource.ecsClusterDetails.activeServicesCount - - - resource.ecsClusterDetails.arn - - - resource.ecsClusterDetails.name - - - resource.ecsClusterDetails.registeredContainerInstancesCount - - - resource.ecsClusterDetails.runningTasksCount - - - resource.ecsClusterDetails.status - - - resource.ecsClusterDetails.tags.key - - - resource.ecsClusterDetails.tags.value - - - resource.ecsClusterDetails.taskDetails.arn - - - resource.ecsClusterDetails.taskDetails.containers.containerRuntime - - - resource.ecsClusterDetails.taskDetails.containers.id - - - resource.ecsClusterDetails.taskDetails.containers.image - - - resource.ecsClusterDetails.taskDetails.containers.imagePrefix - - - resource.ecsClusterDetails.taskDetails.containers.name - - - resource.ecsClusterDetails.taskDetails.containers.securityContext.allowPrivilegeEscalation - - - resource.ecsClusterDetails.taskDetails.containers.securityContext.privileged - - - resource.ecsClusterDetails.taskDetails.containers.volumeMounts.mountPath - - - resource.ecsClusterDetails.taskDetails.containers.volumeMounts.name - - - resource.ecsClusterDetails.taskDetails.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.ecsClusterDetails.taskDetails.definitionArn - - - resource.ecsClusterDetails.taskDetails.group - - - resource.ecsClusterDetails.taskDetails.launchType - - - resource.ecsClusterDetails.taskDetails.startedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.ecsClusterDetails.taskDetails.startedBy - - - resource.ecsClusterDetails.taskDetails.tags.key - - - resource.ecsClusterDetails.taskDetails.tags.value - - - resource.ecsClusterDetails.taskDetails.version - - - resource.ecsClusterDetails.taskDetails.volumes.hostPath.path - - - resource.ecsClusterDetails.taskDetails.volumes.name - - - resource.eksClusterDetails.arn - - - resource.eksClusterDetails.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.eksClusterDetails.name - - - resource.eksClusterDetails.status - - - resource.eksClusterDetails.tags.key - - - resource.eksClusterDetails.tags.value - - - resource.eksClusterDetails.vpcId - - - resource.instanceDetails.availabilityZone - - - resource.instanceDetails.iamInstanceProfile.arn - - - resource.instanceDetails.iamInstanceProfile.id - - - resource.instanceDetails.imageDescription - - - resource.instanceDetails.imageId - - - resource.instanceDetails.instanceId - - - resource.instanceDetails.instanceState - - - resource.instanceDetails.instanceType - - - resource.instanceDetails.launchTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.instanceDetails.networkInterfaces.ipv6Addresses - - - resource.instanceDetails.networkInterfaces.networkInterfaceId - - - resource.instanceDetails.networkInterfaces.privateDnsName - - - resource.instanceDetails.networkInterfaces.privateIpAddress - - - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateDnsName - - - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress - - - resource.instanceDetails.networkInterfaces.publicDnsName - - - resource.instanceDetails.networkInterfaces.publicIp - - - resource.instanceDetails.networkInterfaces.securityGroups.groupId - - - resource.instanceDetails.networkInterfaces.securityGroups.groupName - - - resource.instanceDetails.networkInterfaces.subnetId - - - resource.instanceDetails.networkInterfaces.vpcId - - - resource.instanceDetails.outpostArn - - - resource.instanceDetails.platform - - - resource.instanceDetails.productCodes.productCodeId - - - resource.instanceDetails.productCodes.productCodeType - - - resource.instanceDetails.tags.key - - - resource.instanceDetails.tags.value - - - resource.kubernetesDetails.kubernetesUserDetails.groups - - - resource.kubernetesDetails.kubernetesUserDetails.impersonatedUser.groups - - - resource.kubernetesDetails.kubernetesUserDetails.impersonatedUser.username - - - resource.kubernetesDetails.kubernetesUserDetails.sessionName - - - resource.kubernetesDetails.kubernetesUserDetails.uid - - - resource.kubernetesDetails.kubernetesUserDetails.username - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.containerRuntime - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.id - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.image - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.imagePrefix - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.name - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.securityContext.allowPrivilegeEscalation - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.securityContext.privileged - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.volumeMounts.mountPath - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.volumeMounts.name - - - resource.kubernetesDetails.kubernetesWorkloadDetails.hostIpc - - - resource.kubernetesDetails.kubernetesWorkloadDetails.hostNetwork - - - resource.kubernetesDetails.kubernetesWorkloadDetails.hostPid - - - resource.kubernetesDetails.kubernetesWorkloadDetails.name - - - resource.kubernetesDetails.kubernetesWorkloadDetails.namespace - - - resource.kubernetesDetails.kubernetesWorkloadDetails.serviceAccountName - - - resource.kubernetesDetails.kubernetesWorkloadDetails.type - - - resource.kubernetesDetails.kubernetesWorkloadDetails.uid - - - resource.kubernetesDetails.kubernetesWorkloadDetails.volumes.hostPath.path - - - resource.kubernetesDetails.kubernetesWorkloadDetails.volumes.name - - - resource.lambdaDetails.description - - - resource.lambdaDetails.functionArn - - - resource.lambdaDetails.functionName - - - resource.lambdaDetails.functionVersion - - - resource.lambdaDetails.lastModifiedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.lambdaDetails.revisionId - - - resource.lambdaDetails.role - - - resource.lambdaDetails.tags.key - - - resource.lambdaDetails.tags.value - - - resource.lambdaDetails.vpcConfig.securityGroups.groupId - - - resource.lambdaDetails.vpcConfig.securityGroups.groupName - - - resource.lambdaDetails.vpcConfig.subnetIds - - - resource.lambdaDetails.vpcConfig.vpcId - - - resource.rdsDbInstanceDetails.dbClusterIdentifier - - - resource.rdsDbInstanceDetails.dbInstanceArn - - - resource.rdsDbInstanceDetails.dbInstanceIdentifier - - - resource.rdsDbInstanceDetails.dbSecurityGroups.name - - - resource.rdsDbInstanceDetails.dbSecurityGroups.status - - - resource.rdsDbInstanceDetails.dbiResourceId - - - resource.rdsDbInstanceDetails.engine - - - resource.rdsDbInstanceDetails.engineVersion - - - resource.rdsDbInstanceDetails.iamDatabaseAuthenticationEnabled - - - resource.rdsDbInstanceDetails.publiclyAccessible - - - resource.rdsDbInstanceDetails.vpcId - - - resource.rdsDbInstanceDetails.vpcSecurityGroups.status - - - resource.rdsDbInstanceDetails.vpcSecurityGroups.vpcSecurityGroupId - - - resource.rdsDbUserDetails.application - - - resource.rdsDbUserDetails.authMethod - - - resource.rdsDbUserDetails.database - - - resource.rdsDbUserDetails.ssl - - - resource.rdsDbUserDetails.user - - - resource.rdsLimitlessDbDetails.dbClusterIdentifier - - - resource.rdsLimitlessDbDetails.dbShardGroupArn - - - resource.rdsLimitlessDbDetails.dbShardGroupIdentifier - - - resource.rdsLimitlessDbDetails.dbShardGroupResourceId - - - resource.rdsLimitlessDbDetails.engine - - - resource.rdsLimitlessDbDetails.engineVersion - - - resource.rdsLimitlessDbDetails.tags.key - - - resource.rdsLimitlessDbDetails.tags.value - - - resource.recoveryPointDetails.backupVaultName - - - resource.recoveryPointDetails.recoveryPointArn - - - resource.resourceType - - - resource.s3BucketDetails.arn - - - resource.s3BucketDetails.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.s3BucketDetails.defaultServerSideEncryption.encryptionType - - - resource.s3BucketDetails.defaultServerSideEncryption.kmsMasterKeyArn - - - resource.s3BucketDetails.name - - - resource.s3BucketDetails.owner.id - - - resource.s3BucketDetails.publicAccess.effectivePermission - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.blockPublicAcls - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.blockPublicPolicy - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.ignorePublicAcls - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.restrictPublicBuckets - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.accessControlList.allowsPublicReadAccess - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.accessControlList.allowsPublicWriteAccess - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.blockPublicAcls - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.blockPublicPolicy - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.ignorePublicAcls - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.restrictPublicBuckets - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.bucketPolicy.allowsPublicReadAccess - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.bucketPolicy.allowsPublicWriteAccess - - - resource.s3BucketDetails.s3ObjectDetails.eTag - - - resource.s3BucketDetails.s3ObjectDetails.hash - - - resource.s3BucketDetails.s3ObjectDetails.key - - - resource.s3BucketDetails.s3ObjectDetails.objectArn - - - resource.s3BucketDetails.s3ObjectDetails.versionId - - - resource.s3BucketDetails.tags.key - - - resource.s3BucketDetails.tags.value - - - resource.s3BucketDetails.type - - - schemaVersion - - - service.action.actionType - - - service.action.awsApiCallAction.api - - - service.action.awsApiCallAction.callerType - - - service.action.awsApiCallAction.domainDetails.domain - - - service.action.awsApiCallAction.errorCode - - - service.action.awsApiCallAction.remoteAccountDetails.accountId - - - service.action.awsApiCallAction.remoteAccountDetails.affiliated - - - service.action.awsApiCallAction.remoteAccountDetails.awsServiceName - - - service.action.awsApiCallAction.remoteIpDetails.city.cityName - - - service.action.awsApiCallAction.remoteIpDetails.country.countryCode - - - service.action.awsApiCallAction.remoteIpDetails.country.countryName - - - service.action.awsApiCallAction.remoteIpDetails.geoLocation.lat - - - service.action.awsApiCallAction.remoteIpDetails.geoLocation.lon - - - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 - - - service.action.awsApiCallAction.remoteIpDetails.ipAddressV6 - - - service.action.awsApiCallAction.remoteIpDetails.organization.asn - - - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg - - - service.action.awsApiCallAction.remoteIpDetails.organization.isp - - - service.action.awsApiCallAction.remoteIpDetails.organization.org - - - service.action.awsApiCallAction.serviceName - - - service.action.awsApiCallAction.userAgent - - - service.action.dnsRequestAction.blocked - - - service.action.dnsRequestAction.domain - - - service.action.dnsRequestAction.domainWithSuffix - - - service.action.dnsRequestAction.protocol - - - service.action.dnsRequestAction.vpcOwnerAccountId - - - service.action.kubernetesApiCallAction.namespace - - - service.action.kubernetesApiCallAction.parameters - - - service.action.kubernetesApiCallAction.remoteIpDetails.city.cityName - - - service.action.kubernetesApiCallAction.remoteIpDetails.country.countryCode - - - service.action.kubernetesApiCallAction.remoteIpDetails.country.countryName - - - service.action.kubernetesApiCallAction.remoteIpDetails.geoLocation.lat - - - service.action.kubernetesApiCallAction.remoteIpDetails.geoLocation.lon - - - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4 - - - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6 - - - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn - - - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asnOrg - - - service.action.kubernetesApiCallAction.remoteIpDetails.organization.isp - - - service.action.kubernetesApiCallAction.remoteIpDetails.organization.org - - - service.action.kubernetesApiCallAction.requestUri - - - service.action.kubernetesApiCallAction.resource - - - service.action.kubernetesApiCallAction.resourceName - - - service.action.kubernetesApiCallAction.sourceIPs - - - service.action.kubernetesApiCallAction.statusCode - - - service.action.kubernetesApiCallAction.subresource - - - service.action.kubernetesApiCallAction.userAgent - - - service.action.kubernetesApiCallAction.verb - - - service.action.kubernetesPermissionCheckedDetails.allowed - - - service.action.kubernetesPermissionCheckedDetails.namespace - - - service.action.kubernetesPermissionCheckedDetails.resource - - - service.action.kubernetesPermissionCheckedDetails.verb - - - service.action.kubernetesRoleBindingDetails.kind - - - service.action.kubernetesRoleBindingDetails.name - - - service.action.kubernetesRoleBindingDetails.roleRefKind - - - service.action.kubernetesRoleBindingDetails.roleRefName - - - service.action.kubernetesRoleBindingDetails.uid - - - service.action.kubernetesRoleDetails.kind - - - service.action.kubernetesRoleDetails.name - - - service.action.kubernetesRoleDetails.uid - - - service.action.networkConnectionAction.blocked - - - service.action.networkConnectionAction.connectionDirection - - - service.action.networkConnectionAction.localIpDetails.ipAddressV4 - - - service.action.networkConnectionAction.localIpDetails.ipAddressV6 - - - service.action.networkConnectionAction.localNetworkInterface - - - service.action.networkConnectionAction.localPortDetails.port - - - service.action.networkConnectionAction.localPortDetails.portName - - - service.action.networkConnectionAction.protocol - - - service.action.networkConnectionAction.remoteIpDetails.city.cityName - - - service.action.networkConnectionAction.remoteIpDetails.country.countryCode - - - service.action.networkConnectionAction.remoteIpDetails.country.countryName - - - service.action.networkConnectionAction.remoteIpDetails.geoLocation.lat - - - service.action.networkConnectionAction.remoteIpDetails.geoLocation.lon - - - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 - - - service.action.networkConnectionAction.remoteIpDetails.ipAddressV6 - - - service.action.networkConnectionAction.remoteIpDetails.organization.asn - - - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg - - - service.action.networkConnectionAction.remoteIpDetails.organization.isp - - - service.action.networkConnectionAction.remoteIpDetails.organization.org - - - service.action.networkConnectionAction.remotePortDetails.port - - - service.action.networkConnectionAction.remotePortDetails.portName - - - service.action.portProbeAction.blocked - - - service.action.portProbeAction.portProbeDetails.localIpDetails.ipAddressV4 - - - service.action.portProbeAction.portProbeDetails.localIpDetails.ipAddressV6 - - - service.action.portProbeAction.portProbeDetails.localPortDetails.port - - - service.action.portProbeAction.portProbeDetails.localPortDetails.portName - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.city.cityName - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.country.countryCode - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.country.countryName - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.geoLocation.lat - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.geoLocation.lon - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.ipAddressV4 - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.ipAddressV6 - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.asn - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.asnOrg - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.isp - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.org - - - service.action.rdsLoginAttemptAction.loginAttributes.application - - - service.action.rdsLoginAttemptAction.loginAttributes.failedLoginAttempts - - - service.action.rdsLoginAttemptAction.loginAttributes.successfulLoginAttempts - - - service.action.rdsLoginAttemptAction.loginAttributes.user - - - service.action.rdsLoginAttemptAction.remoteIpDetails.city.cityName - - - service.action.rdsLoginAttemptAction.remoteIpDetails.country.countryCode - - - service.action.rdsLoginAttemptAction.remoteIpDetails.country.countryName - - - service.action.rdsLoginAttemptAction.remoteIpDetails.geoLocation.lat - - - service.action.rdsLoginAttemptAction.remoteIpDetails.geoLocation.lon - - - service.action.rdsLoginAttemptAction.remoteIpDetails.ipAddressV4 - - - service.action.rdsLoginAttemptAction.remoteIpDetails.ipAddressV6 - - - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.asn - - - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.asnOrg - - - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.isp - - - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.org - - - service.additionalInfo.agentDetails.agentId - - - service.additionalInfo.agentDetails.agentVersion - - - service.additionalInfo.anomalies.anomalousAPIs - - - service.additionalInfo.authenticationMethod - - - service.additionalInfo.averagePacketSizeIn - - - service.additionalInfo.averagePacketSizeOut - - - service.additionalInfo.context - - - service.additionalInfo.domain - - - service.additionalInfo.inBytes - - - service.additionalInfo.localNetworkInterfaceOwner - - - service.additionalInfo.localPort - - - service.additionalInfo.outBytes - - - service.additionalInfo.packetsIn - - - service.additionalInfo.packetsOut - - - service.additionalInfo.policyArn - - - service.additionalInfo.policyName - - - service.additionalInfo.remotePort - - - service.additionalInfo.sample - - - service.additionalInfo.scannedPort - - - service.additionalInfo.threatFileSha256 - - - service.additionalInfo.threatListName - - - service.additionalInfo.threatName - - - service.additionalInfo.totalBytesIn - - - service.additionalInfo.totalBytesOut - - - service.additionalInfo.type - - - service.additionalInfo.unusual.asnOrg - - - service.additionalInfo.unusual.port - - - service.additionalInfo.unusualProtocol - - - service.additionalInfo.userAgent.fullUserAgent - - - service.additionalInfo.userAgent.userAgentCategory - - - service.additionalInfo.value - - - service.additionalInfo.vpcOwnerAccountId - - - service.archived - - - service.count - - - service.detection.sequence.actors.id - - - service.detection.sequence.actors.process.name - - - service.detection.sequence.actors.process.path - - - service.detection.sequence.actors.process.sha256 - - - service.detection.sequence.actors.session.createdTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.actors.session.issuer - - - service.detection.sequence.actors.session.mfaStatus - - - service.detection.sequence.actors.session.uid - - - service.detection.sequence.actors.user.account.account - - - service.detection.sequence.actors.user.account.uid - - - service.detection.sequence.actors.user.credentialUid - - - service.detection.sequence.actors.user.name - - - service.detection.sequence.actors.user.type - - - service.detection.sequence.actors.user.uid - - - service.detection.sequence.additionalSequenceTypes - - - service.detection.sequence.description - - - service.detection.sequence.endpoints.autonomousSystem.name - - - service.detection.sequence.endpoints.autonomousSystem.number - - - service.detection.sequence.endpoints.connection.direction - - - service.detection.sequence.endpoints.domain - - - service.detection.sequence.endpoints.id - - - service.detection.sequence.endpoints.ip - - - service.detection.sequence.endpoints.location.city - - - service.detection.sequence.endpoints.location.country - - - service.detection.sequence.endpoints.location.lat - - - service.detection.sequence.endpoints.location.lon - - - service.detection.sequence.endpoints.port - - - service.detection.sequence.resources.accountId - - - service.detection.sequence.resources.cloudPartition - - - service.detection.sequence.resources.data.accessKey.principalId - - - service.detection.sequence.resources.data.accessKey.userName - - - service.detection.sequence.resources.data.accessKey.userType - - - service.detection.sequence.resources.data.autoscalingAutoScalingGroup.ec2InstanceUids - - - service.detection.sequence.resources.data.cloudformationStack.ec2InstanceUids - - - service.detection.sequence.resources.data.container.image - - - service.detection.sequence.resources.data.container.imageUid - - - service.detection.sequence.resources.data.ec2Image.ec2InstanceUids - - - service.detection.sequence.resources.data.ec2Instance.availabilityZone - - - service.detection.sequence.resources.data.ec2Instance.ec2NetworkInterfaceUids - - - service.detection.sequence.resources.data.ec2Instance.iamInstanceProfile.arn - - - service.detection.sequence.resources.data.ec2Instance.iamInstanceProfile.id - - - service.detection.sequence.resources.data.ec2Instance.imageDescription - - - service.detection.sequence.resources.data.ec2Instance.instanceState - - - service.detection.sequence.resources.data.ec2Instance.instanceType - - - service.detection.sequence.resources.data.ec2Instance.outpostArn - - - service.detection.sequence.resources.data.ec2Instance.platform - - - service.detection.sequence.resources.data.ec2Instance.productCodes.productCodeId - - - service.detection.sequence.resources.data.ec2Instance.productCodes.productCodeType - - - service.detection.sequence.resources.data.ec2LaunchTemplate.ec2InstanceUids - - - service.detection.sequence.resources.data.ec2LaunchTemplate.version - - - service.detection.sequence.resources.data.ec2NetworkInterface.ipv6Addresses - - - service.detection.sequence.resources.data.ec2NetworkInterface.privateIpAddresses.privateDnsName - - - service.detection.sequence.resources.data.ec2NetworkInterface.privateIpAddresses.privateIpAddress - - - service.detection.sequence.resources.data.ec2NetworkInterface.publicIp - - - service.detection.sequence.resources.data.ec2NetworkInterface.securityGroups.groupId - - - service.detection.sequence.resources.data.ec2NetworkInterface.securityGroups.groupName - - - service.detection.sequence.resources.data.ec2NetworkInterface.subNetId - - - service.detection.sequence.resources.data.ec2NetworkInterface.vpcId - - - service.detection.sequence.resources.data.ec2Vpc.ec2InstanceUids - - - service.detection.sequence.resources.data.ecsCluster.ec2InstanceUids - - - service.detection.sequence.resources.data.ecsCluster.status - - - service.detection.sequence.resources.data.ecsTask.containerUids - - - service.detection.sequence.resources.data.ecsTask.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.resources.data.ecsTask.launchType - - - service.detection.sequence.resources.data.ecsTask.taskDefinitionArn - - - service.detection.sequence.resources.data.eksCluster.arn - - - service.detection.sequence.resources.data.eksCluster.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.resources.data.eksCluster.ec2InstanceUids - - - service.detection.sequence.resources.data.eksCluster.status - - - service.detection.sequence.resources.data.eksCluster.vpcId - - - service.detection.sequence.resources.data.iamInstanceProfile.ec2InstanceUids - - - service.detection.sequence.resources.data.iamInstanceProfile.id - - - service.detection.sequence.resources.data.kubernetesWorkload.containerUids - - - service.detection.sequence.resources.data.kubernetesWorkload.namespace - - - service.detection.sequence.resources.data.kubernetesWorkload.type - - - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicAclAccess - - - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicAclIgnoreBehavior - - - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicBucketRestrictBehavior - - - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicPolicyAccess - - - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicAclAccess - - - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicAclIgnoreBehavior - - - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicBucketRestrictBehavior - - - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicPolicyAccess - - - service.detection.sequence.resources.data.s3Bucket.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.resources.data.s3Bucket.effectivePermission - - - service.detection.sequence.resources.data.s3Bucket.encryptionKeyArn - - - service.detection.sequence.resources.data.s3Bucket.encryptionType - - - service.detection.sequence.resources.data.s3Bucket.ownerId - - - service.detection.sequence.resources.data.s3Bucket.publicReadAccess - - - service.detection.sequence.resources.data.s3Bucket.publicWriteAccess - - - service.detection.sequence.resources.data.s3Bucket.s3ObjectUids - - - service.detection.sequence.resources.data.s3Object.eTag - - - service.detection.sequence.resources.data.s3Object.key - - - service.detection.sequence.resources.data.s3Object.versionId - - - service.detection.sequence.resources.name - - - service.detection.sequence.resources.region - - - service.detection.sequence.resources.resourceType - - - service.detection.sequence.resources.service - - - service.detection.sequence.resources.tags.key - - - service.detection.sequence.resources.tags.value - - - service.detection.sequence.resources.uid - - - service.detection.sequence.sequenceIndicators.key - - - service.detection.sequence.sequenceIndicators.title - - - service.detection.sequence.sequenceIndicators.values - - - service.detection.sequence.signals.actorIds - - - service.detection.sequence.signals.count - - - service.detection.sequence.signals.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.signals.description - - - service.detection.sequence.signals.endpointIds - - - service.detection.sequence.signals.firstSeenAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.signals.lastSeenAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.signals.name - - - service.detection.sequence.signals.resourceUids - - - service.detection.sequence.signals.severity - - - service.detection.sequence.signals.signalIndicators.key - - - service.detection.sequence.signals.signalIndicators.title - - - service.detection.sequence.signals.signalIndicators.values - - - service.detection.sequence.signals.type - - - service.detection.sequence.signals.uid - - - service.detection.sequence.signals.updatedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.uid - - - service.detectorId - - - service.ebsVolumeScanDetails.scanCompletedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.count - - - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.severity - - - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.threatName - - - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.files - - - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.totalGb - - - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.volumes - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.itemCount - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.shortened - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.fileName - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.filePath - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.volumeArn - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.itemCount - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.uniqueThreatNameCount - - - service.ebsVolumeScanDetails.scanDetections.threatsDetectedItemCount.files - - - service.ebsVolumeScanDetails.scanId - - - service.ebsVolumeScanDetails.scanStartedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.ebsVolumeScanDetails.scanType - - - service.ebsVolumeScanDetails.sources - - - service.ebsVolumeScanDetails.triggerFindingId - - - service.eventFirstSeen - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.eventLastSeen - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.evidence.threatIntelligenceDetails.threatFileSha256 - - - service.evidence.threatIntelligenceDetails.threatListName - - - service.evidence.threatIntelligenceDetails.threatNames - - - service.featureName - - - service.malwareScanDetails.scanCategory - - - service.malwareScanDetails.scanConfiguration.incrementalScanDetails.baselineResourceArn - - - service.malwareScanDetails.scanConfiguration.triggerType - - - service.malwareScanDetails.scanId - - - service.malwareScanDetails.scanType - - - service.malwareScanDetails.threats.count - - - service.malwareScanDetails.threats.hash - - - service.malwareScanDetails.threats.itemDetails.additionalInfo.deviceName - - - service.malwareScanDetails.threats.itemDetails.additionalInfo.versionId - - - service.malwareScanDetails.threats.itemDetails.hash - - - service.malwareScanDetails.threats.itemDetails.itemPath - - - service.malwareScanDetails.threats.itemDetails.resourceArn - - - service.malwareScanDetails.threats.itemPaths.hash - - - service.malwareScanDetails.threats.itemPaths.nestedItemPath - - - service.malwareScanDetails.threats.name - - - service.malwareScanDetails.threats.source - - - service.malwareScanDetails.uniqueThreatCount - - - service.resourceRole - - - service.runtimeDetails.context.addressFamily - - - service.runtimeDetails.context.commandLineExample - - - service.runtimeDetails.context.fileOperation - - - service.runtimeDetails.context.filePath - - - service.runtimeDetails.context.fileSystemType - - - service.runtimeDetails.context.flags - - - service.runtimeDetails.context.ianaProtocolNumber - - - service.runtimeDetails.context.ldPreloadValue - - - service.runtimeDetails.context.libraryPath - - - service.runtimeDetails.context.memoryRegions - - - service.runtimeDetails.context.modifiedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.modifyingProcess.euid - - - service.runtimeDetails.context.modifyingProcess.executablePath - - - service.runtimeDetails.context.modifyingProcess.executableSha256 - - - service.runtimeDetails.context.modifyingProcess.lineage.euid - - - service.runtimeDetails.context.modifyingProcess.lineage.executablePath - - - service.runtimeDetails.context.modifyingProcess.lineage.name - - - service.runtimeDetails.context.modifyingProcess.lineage.namespacePid - - - service.runtimeDetails.context.modifyingProcess.lineage.parentUuid - - - service.runtimeDetails.context.modifyingProcess.lineage.pid - - - service.runtimeDetails.context.modifyingProcess.lineage.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.modifyingProcess.lineage.userId - - - service.runtimeDetails.context.modifyingProcess.lineage.uuid - - - service.runtimeDetails.context.modifyingProcess.name - - - service.runtimeDetails.context.modifyingProcess.namespacePid - - - service.runtimeDetails.context.modifyingProcess.parentUuid - - - service.runtimeDetails.context.modifyingProcess.pid - - - service.runtimeDetails.context.modifyingProcess.pwd - - - service.runtimeDetails.context.modifyingProcess.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.modifyingProcess.user - - - service.runtimeDetails.context.modifyingProcess.userId - - - service.runtimeDetails.context.modifyingProcess.uuid - - - service.runtimeDetails.context.moduleFilePath - - - service.runtimeDetails.context.moduleName - - - service.runtimeDetails.context.moduleSha256 - - - service.runtimeDetails.context.mountSource - - - service.runtimeDetails.context.mountTarget - - - service.runtimeDetails.context.relatedFilePaths - - - service.runtimeDetails.context.releaseAgentPath - - - service.runtimeDetails.context.runcBinaryPath - - - service.runtimeDetails.context.scriptPath - - - service.runtimeDetails.context.serviceName - - - service.runtimeDetails.context.shellHistoryFilePath - - - service.runtimeDetails.context.socketPath - - - service.runtimeDetails.context.targetProcess.euid - - - service.runtimeDetails.context.targetProcess.executablePath - - - service.runtimeDetails.context.targetProcess.executableSha256 - - - service.runtimeDetails.context.targetProcess.lineage.euid - - - service.runtimeDetails.context.targetProcess.lineage.executablePath - - - service.runtimeDetails.context.targetProcess.lineage.name - - - service.runtimeDetails.context.targetProcess.lineage.namespacePid - - - service.runtimeDetails.context.targetProcess.lineage.parentUuid - - - service.runtimeDetails.context.targetProcess.lineage.pid - - - service.runtimeDetails.context.targetProcess.lineage.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.targetProcess.lineage.userId - - - service.runtimeDetails.context.targetProcess.lineage.uuid - - - service.runtimeDetails.context.targetProcess.name - - - service.runtimeDetails.context.targetProcess.namespacePid - - - service.runtimeDetails.context.targetProcess.parentUuid - - - service.runtimeDetails.context.targetProcess.pid - - - service.runtimeDetails.context.targetProcess.pwd - - - service.runtimeDetails.context.targetProcess.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.targetProcess.user - - - service.runtimeDetails.context.targetProcess.userId - - - service.runtimeDetails.context.targetProcess.uuid - - - service.runtimeDetails.context.threatFilePath - - - service.runtimeDetails.context.toolCategory - - - service.runtimeDetails.context.toolName - - - service.runtimeDetails.process.euid - - - service.runtimeDetails.process.executablePath - - - service.runtimeDetails.process.executableSha256 - - - service.runtimeDetails.process.lineage.euid - - - service.runtimeDetails.process.lineage.executablePath - - - service.runtimeDetails.process.lineage.name - - - service.runtimeDetails.process.lineage.namespacePid - - - service.runtimeDetails.process.lineage.parentUuid - - - service.runtimeDetails.process.lineage.pid - - - service.runtimeDetails.process.lineage.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.process.lineage.userId - - - service.runtimeDetails.process.lineage.uuid - - - service.runtimeDetails.process.name - - - service.runtimeDetails.process.namespacePid - - - service.runtimeDetails.process.parentUuid - - - service.runtimeDetails.process.pid - - - service.runtimeDetails.process.pwd - - - service.runtimeDetails.process.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.process.user - - - service.runtimeDetails.process.userId - - - service.runtimeDetails.process.uuid - - - service.serviceName - - - service.userFeedback - - - severity - - To configure severity based filters, use the following for the - [FindingCriteria](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_FindingCriteria.html) - condition: - - - **Low**: `["1", "2", "3"]` - - - **Medium**: `["4", "5", "6"]` - - - **High**: `["7", "8"]` - - - **Critical**: `["9", "10"]` - - For more information, see [Findings severity - levels](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings-severity.html) - in the *Amazon GuardDuty User Guide*. - - - type - - - updatedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - """ - client_token: str | None = ... - """The idempotency token for the create request.""" - tags: dict[str, str] | None = ... - """The tags to be added to a new filter resource.""" - -@dataclass(kw_only=True) -class CreateFilterOutput(_SerdeShape): - """Dataclass for CreateFilterOutput structure.""" - - name: str | None = ... - """The name of the successfully created filter.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInvestigationInput(_SerdeShape): - """Dataclass for CreateInvestigationInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the GuardDuty detector for the account in which the - investigation is created. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - trigger_prompt: str | None = ... - """ - A natural-language description of what to investigate. For example: - - - `"Investigate finding 1ab2c3d4e5f6a7b8c9d0e1f2a3b4c5d6 in account 123456789012"` - - - `"Analyze findings in account with id 123456789012"` - - - `"Analyze findings in my organization"` - """ - client_token: str | None = ... - """The idempotency token for the create request.""" - -@dataclass(kw_only=True) -class CreateInvestigationOutput(_SerdeShape): - """Dataclass for CreateInvestigationOutput structure.""" - - investigation_id: str | None = ... - """The unique identifier of the newly created investigation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIPSetInput(_SerdeShape): - """Dataclass for CreateIPSetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty account for which you - want to create an IPSet. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - name: str | None = ... - """ - The user-friendly name to identify the IPSet. - - Allowed characters are alphanumeric, whitespace, dash (-), and - underscores (_). - """ - format: str | None = ... - """The format of the file that contains the IPSet.""" - location: str | None = ... - """The URI of the file that contains the IPSet.""" - activate: bool | None = ... - """ - A Boolean value that indicates whether GuardDuty is to start using the - uploaded IPSet. - """ - client_token: str | None = ... - """The idempotency token for the create request.""" - tags: dict[str, str] | None = ... - """The tags to be added to a new IP set resource.""" - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - -@dataclass(kw_only=True) -class CreateIPSetOutput(_SerdeShape): - """Dataclass for CreateIPSetOutput structure.""" - - ip_set_id: str | None = ... - """The ID of the IPSet resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateMalwareProtectionPlanInput(_SerdeShape): - """Dataclass for CreateMalwareProtectionPlanInput structure.""" - - client_token: str | None = ... - """The idempotency token for the create request.""" - role: str | None = ... - """ - Amazon Resource Name (ARN) of the IAM role that has the permissions to - scan and add tags to the associated protected resource. - """ - protected_resource: CreateProtectedResource | None = ... - """ - Information about the protected resource that is associated with the - created Malware Protection plan. Presently, `S3Bucket` is the only - supported protected resource. - """ - actions: MalwareProtectionPlanActions | None = ... - """ - Information about whether the tags will be added to the S3 object after - scanning. - """ - tags: dict[str, str] | None = ... - """Tags added to the Malware Protection plan resource.""" - -@dataclass(kw_only=True) -class CreateMalwareProtectionPlanOutput(_SerdeShape): - """Dataclass for CreateMalwareProtectionPlanOutput structure.""" - - malware_protection_plan_id: str | None = ... - """ - A unique identifier associated with the Malware Protection plan - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateMembersInput(_SerdeShape): - """Dataclass for CreateMembersInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty account for which you - want to associate member accounts. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - account_details: list[AccountDetail] | None = ... - """ - A list of account ID and email address pairs of the accounts that you - want to associate with the GuardDuty administrator account. - """ - -@dataclass(kw_only=True) -class CreateMembersOutput(_SerdeShape): - """Dataclass for CreateMembersOutput structure.""" - - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of objects that include the `accountIds` of the unprocessed - accounts and a result string that explains why each was unprocessed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateProtectedResource(_SerdeShape): - """ - Information about the protected resource that is associated with the - created Malware Protection plan. Presently, `S3Bucket` is the only - supported protected resource. - """ - - s3_bucket: CreateS3BucketResource | None = ... - """Information about the protected S3 bucket resource.""" - -@dataclass(kw_only=True) -class CreatePublishingDestinationInput(_SerdeShape): - """Dataclass for CreatePublishingDestinationInput structure.""" - - detector_id: str | None = ... - """ - The ID of the GuardDuty detector associated with the publishing - destination. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - destination_type: str | None = ... - """ - The type of resource for the publishing destination. Currently only - Amazon S3 buckets are supported. - """ - destination_properties: DestinationProperties | None = ... - """ - The properties of the publishing destination, including the ARNs for the - destination and the KMS key used for encryption. - """ - client_token: str | None = ... - """The idempotency token for the request.""" - tags: dict[str, str] | None = ... - """The tags to be added to a new publishing destination resource.""" - -@dataclass(kw_only=True) -class CreatePublishingDestinationOutput(_SerdeShape): - """Dataclass for CreatePublishingDestinationOutput structure.""" - - destination_id: str | None = ... - """The ID of the publishing destination that is created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateS3BucketResource(_SerdeShape): - """Information about the protected S3 bucket resource.""" - - bucket_name: str | None = ... - """Name of the S3 bucket.""" - object_prefixes: list[str] | None = ... - """ - Information about the specified object prefixes. The S3 object will be - scanned only if it belongs to any of the specified object prefixes. - """ - -@dataclass(kw_only=True) -class CreateSampleFindingsInput(_SerdeShape): - """Dataclass for CreateSampleFindingsInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector for which you need to create sample findings. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - finding_types: list[str] | None = ... - """The types of sample findings to generate.""" - -@dataclass(kw_only=True) -class CreateSampleFindingsOutput(_SerdeShape): - """Dataclass for CreateSampleFindingsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateThreatEntitySetInput(_SerdeShape): - """Dataclass for CreateThreatEntitySetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty account for which you - want to create a threat entity set. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - name: str | None = ... - """ - A user-friendly name to identify the threat entity set. - - The name of your list can include lowercase letters, uppercase letters, - numbers, dash (-), and underscore (_). - """ - format: str | None = ... - """The format of the file that contains the threat entity set.""" - location: str | None = ... - """ - The URI of the file that contains the threat entity set. The format of - the `Location` URL must be a valid Amazon S3 URL format. Invalid URL - formats will result in an error, regardless of whether you activate the - entity set or not. For more information about format of the location - URLs, see [Format of location URL under Step 2: Adding trusted or threat - intelligence - data](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-lists-create-activate.html) - in the *Amazon GuardDuty User Guide*. - """ - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - activate: bool | None = ... - """ - A boolean value that indicates whether GuardDuty should start using the - uploaded threat entity set to generate findings. - """ - client_token: str | None = ... - """The idempotency token for the create request.""" - tags: dict[str, str] | None = ... - """The tags to be added to a new threat entity set resource.""" - -@dataclass(kw_only=True) -class CreateThreatEntitySetOutput(_SerdeShape): - """Dataclass for CreateThreatEntitySetOutput structure.""" - - threat_entity_set_id: str | None = ... - """ - The ID returned by GuardDuty after creation of the threat entity set - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateThreatIntelSetInput(_SerdeShape): - """Dataclass for CreateThreatIntelSetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty account for which you - want to create a `threatIntelSet`. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - name: str | None = ... - """ - A user-friendly ThreatIntelSet name displayed in all findings that are - generated by activity that involves IP addresses included in this - ThreatIntelSet. - """ - format: str | None = ... - """The format of the file that contains the ThreatIntelSet.""" - location: str | None = ... - """The URI of the file that contains the ThreatIntelSet.""" - activate: bool | None = ... - """ - A Boolean value that indicates whether GuardDuty is to start using the - uploaded ThreatIntelSet. - """ - client_token: str | None = ... - """The idempotency token for the create request.""" - tags: dict[str, str] | None = ... - """The tags to be added to a new threat list resource.""" - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - -@dataclass(kw_only=True) -class CreateThreatIntelSetOutput(_SerdeShape): - """Dataclass for CreateThreatIntelSetOutput structure.""" - - threat_intel_set_id: str | None = ... - """The ID of the ThreatIntelSet resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTrustedEntitySetInput(_SerdeShape): - """Dataclass for CreateTrustedEntitySetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty account for which you - want to create a trusted entity set. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - name: str | None = ... - """ - A user-friendly name to identify the trusted entity set. - - The name of your list can include lowercase letters, uppercase letters, - numbers, dash (-), and underscore (_). - """ - format: str | None = ... - """The format of the file that contains the trusted entity set.""" - location: str | None = ... - """ - The URI of the file that contains the threat entity set. The format of - the `Location` URL must be a valid Amazon S3 URL format. Invalid URL - formats will result in an error, regardless of whether you activate the - entity set or not. For more information about format of the location - URLs, see [Format of location URL under Step 2: Adding trusted or threat - intelligence - data](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-lists-create-activate.html) - in the *Amazon GuardDuty User Guide*. - """ - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - activate: bool | None = ... - """ - A boolean value that indicates whether GuardDuty is to start using the - uploaded trusted entity set. - """ - client_token: str | None = ... - """The idempotency token for the create request.""" - tags: dict[str, str] | None = ... - """The tags to be added to a new trusted entity set resource.""" - -@dataclass(kw_only=True) -class CreateTrustedEntitySetOutput(_SerdeShape): - """Dataclass for CreateTrustedEntitySetOutput structure.""" - - trusted_entity_set_id: str | None = ... - """ - The ID returned by GuardDuty after creation of the trusted entity set - resource. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CriterionKey(UnknownEnumMixin, StrEnum): - EC2_INSTANCE_ARN = "EC2_INSTANCE_ARN" - SCAN_ID = "SCAN_ID" - ACCOUNT_ID = "ACCOUNT_ID" - GUARDDUTY_FINDING_ID = "GUARDDUTY_FINDING_ID" - SCAN_START_TIME = "SCAN_START_TIME" - SCAN_STATUS = "SCAN_STATUS" - SCAN_TYPE = "SCAN_TYPE" - -class DataSource(UnknownEnumMixin, StrEnum): - FLOW_LOGS = "FLOW_LOGS" - CLOUD_TRAIL = "CLOUD_TRAIL" - DNS_LOGS = "DNS_LOGS" - S3_LOGS = "S3_LOGS" - KUBERNETES_AUDIT_LOGS = "KUBERNETES_AUDIT_LOGS" - EC2_MALWARE_SCAN = "EC2_MALWARE_SCAN" - -@dataclass(kw_only=True) -class DataSourceConfigurations(_SerdeShape): - """Contains information about which data sources are enabled.""" - - s3_logs: S3LogsConfiguration | None = ... - """Describes whether S3 data event logs are enabled as a data source.""" - kubernetes: KubernetesConfiguration | None = ... - """Describes whether any Kubernetes logs are enabled as data sources.""" - malware_protection: MalwareProtectionConfiguration | None = ... - """Describes whether Malware Protection is enabled as a data source.""" - -@dataclass(kw_only=True) -class DataSourceConfigurationsResult(_SerdeShape): - """Contains information on the status of data sources for the detector.""" - - cloud_trail: CloudTrailConfigurationResult | None = ... - """ - An object that contains information on the status of CloudTrail as a - data source. - """ - dns_logs: DNSLogsConfigurationResult | None = ... - """ - An object that contains information on the status of DNS logs as a data - source. - """ - flow_logs: FlowLogsConfigurationResult | None = ... - """ - An object that contains information on the status of VPC flow logs as a - data source. - """ - s3_logs: S3LogsConfigurationResult | None = ... - """ - An object that contains information on the status of S3 Data event logs - as a data source. - """ - kubernetes: KubernetesConfigurationResult | None = ... - """ - An object that contains information on the status of all Kubernetes data - sources. - """ - malware_protection: MalwareProtectionConfigurationResult | None = ... - """Describes the configuration of Malware Protection data sources.""" - -@dataclass(kw_only=True) -class DataSourceFreeTrial(_SerdeShape): - """ - Contains information about which data sources are enabled for the - GuardDuty member account. - """ - - free_trial_days_remaining: int | None = ... - """ - A value that specifies the number of days left to use each enabled data - source. - """ - -@dataclass(kw_only=True) -class DataSourcesFreeTrial(_SerdeShape): - """ - Contains information about which data sources are enabled for the - GuardDuty member account. - """ - - cloud_trail: DataSourceFreeTrial | None = ... - """ - Describes whether any Amazon Web Services CloudTrail management event - logs are enabled as data sources. - """ - dns_logs: DataSourceFreeTrial | None = ... - """Describes whether any DNS logs are enabled as data sources.""" - flow_logs: DataSourceFreeTrial | None = ... - """Describes whether any VPC Flow logs are enabled as data sources.""" - s3_logs: DataSourceFreeTrial | None = ... - """Describes whether any S3 data event logs are enabled as data sources.""" - kubernetes: KubernetesDataSourceFreeTrial | None = ... - """Describes whether any Kubernetes logs are enabled as data sources.""" - malware_protection: MalwareProtectionDataSourceFreeTrial | None = ... - """Describes whether Malware Protection is enabled as a data source.""" - -class DataSourceStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class DateStatistics(_SerdeShape): - """ - Represents list a map of dates with a count of total findings generated - on each date. - """ - - date: datetime | None = ... - """ - The timestamp when the total findings count is observed. - - For example, `Date` would look like `"2024-09-05T17:00:00-07:00"` - whereas `LastGeneratedAt` would look like 2024-09-05T17:12:29-07:00\". - """ - last_generated_at: datetime | None = ... - """ - The timestamp at which the last finding in the findings count, was - generated. - """ - severity: float | None = ... - """The severity of the findings generated on each date.""" - total_findings: int | None = ... - """ - The total number of findings that were generated per severity level on - each date. - """ - -@dataclass(kw_only=True) -class DeclineInvitationsInput(_SerdeShape): - """Dataclass for DeclineInvitationsInput structure.""" - - account_ids: list[str] | None = ... - """ - A list of account IDs of the Amazon Web Services accounts that sent - invitations to the current member account that you want to decline - invitations from. - """ - -@dataclass(kw_only=True) -class DeclineInvitationsOutput(_SerdeShape): - """Dataclass for DeclineInvitationsOutput structure.""" - - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of objects that contain the unprocessed account and a result - string that explains why it was unprocessed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DefaultServerSideEncryption(_SerdeShape): - """ - Contains information on the server side encryption method used in the S3 - bucket. See [S3 Server-Side - Encryption](https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) - for more information. - """ - - encryption_type: str | None = ... - """The type of encryption used for objects within the S3 bucket.""" - kms_master_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the KMS encryption key. Only available - if the bucket `EncryptionType` is `aws:kms`. - """ - -@dataclass(kw_only=True) -class DeleteCustomDetectionRuleAssociationInput(_SerdeShape): - """Dataclass for DeleteCustomDetectionRuleAssociationInput structure.""" - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - association_id: str | None = ... - """The unique identifier for the association to delete.""" - -@dataclass(kw_only=True) -class DeleteCustomDetectionRuleAssociationOutput(_SerdeShape): - """Dataclass for DeleteCustomDetectionRuleAssociationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCustomDetectionRuleOrgConfigurationInput(_SerdeShape): - """Dataclass for DeleteCustomDetectionRuleOrgConfigurationInput structure.""" - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - mode: str | None = ... - """ - The execution mode of the organization configuration to delete. Valid - values: `LIVE` | `DRY_RUN`. - """ - -@dataclass(kw_only=True) -class DeleteCustomDetectionRuleOrgConfigurationOutput(_SerdeShape): - """Dataclass for DeleteCustomDetectionRuleOrgConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDetectorInput(_SerdeShape): - """Dataclass for DeleteDetectorInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that you want to delete. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - -@dataclass(kw_only=True) -class DeleteDetectorOutput(_SerdeShape): - """Dataclass for DeleteDetectorOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFilterInput(_SerdeShape): - """Dataclass for DeleteFilterInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with the filter. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - filter_name: str | None = ... - """The name of the filter that you want to delete.""" - -@dataclass(kw_only=True) -class DeleteFilterOutput(_SerdeShape): - """Dataclass for DeleteFilterOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteInvitationsInput(_SerdeShape): - """Dataclass for DeleteInvitationsInput structure.""" - - account_ids: list[str] | None = ... - """ - A list of account IDs of the Amazon Web Services accounts that sent - invitations to the current member account that you want to delete - invitations from. - """ - -@dataclass(kw_only=True) -class DeleteInvitationsOutput(_SerdeShape): - """Dataclass for DeleteInvitationsOutput structure.""" - - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of objects that contain the unprocessed account and a result - string that explains why it was unprocessed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIPSetInput(_SerdeShape): - """Dataclass for DeleteIPSetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector associated with the IPSet. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - ip_set_id: str | None = ... - """The unique ID of the IPSet to delete.""" - -@dataclass(kw_only=True) -class DeleteIPSetOutput(_SerdeShape): - """Dataclass for DeleteIPSetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteMalwareProtectionPlanInput(_SerdeShape): - """Dataclass for DeleteMalwareProtectionPlanInput structure.""" - - malware_protection_plan_id: str | None = ... - """A unique identifier associated with Malware Protection plan resource.""" - -@dataclass(kw_only=True) -class DeleteMalwareProtectionPlanOutput(_SerdeShape): - """Dataclass for DeleteMalwareProtectionPlanOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteMembersInput(_SerdeShape): - """Dataclass for DeleteMembersInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty account whose members you - want to delete. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - account_ids: list[str] | None = ... - """ - A list of account IDs of the GuardDuty member accounts that you want to - delete. - """ - -@dataclass(kw_only=True) -class DeleteMembersOutput(_SerdeShape): - """Dataclass for DeleteMembersOutput structure.""" - - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """The accounts that could not be processed.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePublishingDestinationInput(_SerdeShape): - """Dataclass for DeletePublishingDestinationInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector associated with the publishing destination - to delete. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - destination_id: str | None = ... - """The ID of the publishing destination to delete.""" - -@dataclass(kw_only=True) -class DeletePublishingDestinationOutput(_SerdeShape): - """Dataclass for DeletePublishingDestinationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteThreatEntitySetInput(_SerdeShape): - """Dataclass for DeleteThreatEntitySetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector associated with the threat entity set - resource. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - threat_entity_set_id: str | None = ... - """ - The unique ID that helps GuardDuty identify which threat entity set - needs to be deleted. - """ - -@dataclass(kw_only=True) -class DeleteThreatEntitySetOutput(_SerdeShape): - """Dataclass for DeleteThreatEntitySetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteThreatIntelSetInput(_SerdeShape): - """Dataclass for DeleteThreatIntelSetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with the - threatIntelSet. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - threat_intel_set_id: str | None = ... - """The unique ID of the threatIntelSet that you want to delete.""" - -@dataclass(kw_only=True) -class DeleteThreatIntelSetOutput(_SerdeShape): - """Dataclass for DeleteThreatIntelSetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTrustedEntitySetInput(_SerdeShape): - """Dataclass for DeleteTrustedEntitySetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector associated with the trusted entity set - resource. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - trusted_entity_set_id: str | None = ... - """ - The unique ID that helps GuardDuty identify which trusted entity set - needs to be deleted. - """ - -@dataclass(kw_only=True) -class DeleteTrustedEntitySetOutput(_SerdeShape): - """Dataclass for DeleteTrustedEntitySetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeMalwareScansInput(_SerdeShape): - """Dataclass for DescribeMalwareScansInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that the request is associated with. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items that - you want in the response. The default value is 50. The maximum value is - 50. - """ - filter_criteria: FilterCriteria | None = ... - """ - Represents the criteria to be used in the filter for describing scan - entries. - """ - sort_criteria: SortCriteria | None = ... - """ - Represents the criteria used for sorting scan entries. The - [`attributeName`](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_SortCriteria.html#guardduty-Type-SortCriteria-attributeName) - is required and it must be `scanStartTime`. - """ - -@dataclass(kw_only=True) -class DescribeMalwareScansOutput(_SerdeShape): - """Dataclass for DescribeMalwareScansOutput structure.""" - - scans: list[Scan] | None = ... - """ - Contains information about malware scans associated with GuardDuty - Malware Protection for EC2. - """ - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeOrganizationConfigurationInput(_SerdeShape): - """Dataclass for DescribeOrganizationConfigurationInput structure.""" - - detector_id: str | None = ... - """ - The detector ID of the delegated administrator for which you need to - retrieve the information. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items that - you want in the response. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill `nextToken` in the request with the - value of `NextToken` from the previous response to continue listing - data. - """ - -@dataclass(kw_only=True) -class DescribeOrganizationConfigurationOutput(_SerdeShape): - """Dataclass for DescribeOrganizationConfigurationOutput structure.""" - - auto_enable: bool | None = ... - """ - Indicates whether GuardDuty is automatically enabled for accounts added - to the organization. - - Even though this is still supported, we recommend using - `AutoEnableOrganizationMembers` to achieve the similar results. - """ - member_account_limit_reached: bool | None = ... - """ - Indicates whether the maximum number of allowed member accounts are - already associated with the delegated administrator account for your - organization. - """ - data_sources: OrganizationDataSourceConfigurationsResult | None = ... - """ - Describes which data sources are enabled automatically for member - accounts. - """ - features: list[OrganizationFeatureConfigurationResult] | None = ... - """A list of features that are configured for this organization.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - auto_enable_organization_members: str | None = ... - """ - Indicates the auto-enablement configuration of GuardDuty or any of the - corresponding protection plans for the member accounts in the - organization. - - - `NEW`: Indicates that when a new account joins the organization, they - will have GuardDuty or any of the corresponding protection plans - enabled automatically. - - - `ALL`: Indicates that all accounts in the organization have GuardDuty - and any of the corresponding protection plans enabled automatically. - This includes `NEW` accounts that join the organization and accounts - that may have been suspended or removed from the organization in - GuardDuty. - - - `NONE`: Indicates that GuardDuty or any of the corresponding - protection plans will not be automatically enabled for any account in - the organization. The administrator must manage GuardDuty for each - account in the organization individually. - - When you update the auto-enable setting from `ALL` or `NEW` to `NONE`, - this action doesn't disable the corresponding option for your - existing accounts. This configuration will apply to the new accounts - that join the organization. After you update the auto-enable settings, - no new account will have the corresponding option as enabled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribePublishingDestinationInput(_SerdeShape): - """Dataclass for DescribePublishingDestinationInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector associated with the publishing destination - to retrieve. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - destination_id: str | None = ... - """The ID of the publishing destination to retrieve.""" - -@dataclass(kw_only=True) -class DescribePublishingDestinationOutput(_SerdeShape): - """Dataclass for DescribePublishingDestinationOutput structure.""" - - destination_id: str | None = ... - """The ID of the publishing destination.""" - destination_type: str | None = ... - """ - The type of publishing destination. Currently, only Amazon S3 buckets - are supported. - """ - status: str | None = ... - """The status of the publishing destination.""" - publishing_failure_start_timestamp: int | None = ... - """ - The time, in epoch millisecond format, at which GuardDuty was first - unable to publish findings to the destination. - """ - destination_properties: DestinationProperties | None = ... - """ - A `DestinationProperties` object that includes the `DestinationArn` and - `KmsKeyArn` of the publishing destination. - """ - tags: dict[str, str] | None = ... - """The tags of the publishing destination resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Destination(_SerdeShape): - """ - Contains information about the publishing destination, including the ID, - type, and status. - """ - - destination_id: str | None = ... - """The unique ID of the publishing destination.""" - destination_type: str | None = ... - """ - The type of resource used for the publishing destination. Currently, - only Amazon S3 buckets are supported. - """ - status: str | None = ... - """The status of the publishing destination.""" - -@dataclass(kw_only=True) -class DestinationProperties(_SerdeShape): - """ - Contains the Amazon Resource Name (ARN) of the resource to publish to, - such as an S3 bucket, and the ARN of the KMS key to use to encrypt - published findings. - """ - - destination_arn: str | None = ... - """ - The ARN of the resource to publish to. - - To specify an S3 bucket folder use the following format: - `arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/` - """ - kms_key_arn: str | None = ... - """The ARN of the KMS key to use for encryption.""" - expected_bucket_owner: str | None = ... - """ - The 12-digit Amazon Web Services account ID of the account that owns the - Amazon S3 bucket specified in the `DestinationArn` parameter. - - When you provide this value, GuardDuty verifies that the specified - account owns the bucket before it exports findings. If the account ID - doesn't match the actual owner of the bucket, GuardDuty doesn't export - findings to that bucket. This helps prevent GuardDuty from exporting - your findings to a bucket that a different Amazon Web Services account - owns (for example, if the original bucket was deleted and its name was - later claimed by another account). If you don't specify this value, - GuardDuty doesn't perform this verification. GuardDuty strongly - recommends that you provide the expected bucket owner when possible. - - When you update a publishing destination, omitting this field leaves the - currently stored value unchanged. This field appears in the response - only if it was provided when the publishing destination was created or - updated. - - For more information, see [Verifying the Amazon S3 bucket - owner](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html#guardduty-exportfindings-expected-bucket-owner) - in the *Amazon GuardDuty User Guide*. - """ - -class DestinationType(UnknownEnumMixin, StrEnum): - S3 = "S3" - -@dataclass(kw_only=True) -class Detection(_SerdeShape): - """Contains information about the detected behavior.""" - - anomaly: Anomaly | None = ... - """ - The details about the anomalous activity that caused GuardDuty to - generate the finding. - """ - sequence: Sequence | None = ... - """The details about the attack sequence.""" - -class DetectionRuleConfigurationStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - PROCESSING = "PROCESSING" - FAILED = "FAILED" - -class DetectionRuleDataSource(UnknownEnumMixin, StrEnum): - CLOUDTRAIL_MANAGEMENT_EVENT = "CloudTrailManagementEvent" - RUNTIME_MONITORING = "RuntimeMonitoring" - -@dataclass(kw_only=True) -class DetectionRuleEc2Requirements(_SerdeShape): - """ - The requirements for running a Runtime Monitoring custom detection rule - on Amazon EC2. - """ - - min_agent_version: str | None = ... - """ - The minimum GuardDuty agent version required to run the rule on Amazon - EC2. - """ - -@dataclass(kw_only=True) -class DetectionRuleEcsFargateRequirements(_SerdeShape): - """ - The requirements for running a Runtime Monitoring custom detection rule - on Amazon ECS with the Fargate launch type. - """ - - min_agent_version: str | None = ... - """ - The minimum GuardDuty agent version required to run the rule on Amazon - ECS with the Fargate launch type. - """ - -@dataclass(kw_only=True) -class DetectionRuleEksRequirements(_SerdeShape): - """ - The requirements for running a Runtime Monitoring custom detection rule - on Amazon EKS. - """ - - min_agent_version: str | None = ... - """ - The minimum GuardDuty agent version required to run the rule on Amazon - EKS. - """ - -@dataclass(kw_only=True) -class DetectionRuleFilter(_SerdeShape): - """ - Contains filter criteria for listing custom detection rules or - associations. - """ - - name: str | None = ... - """The name of the field to filter by.""" - values: list[str] | None = ... - """The values to match against the specified filter name.""" - condition: str | None = ... - """ - The condition to apply to the filter. For example, `EQUALS` or - `CONTAINS`. - """ - -class DetectionRuleFilterCondition(UnknownEnumMixin, StrEnum): - EQUALS = "EQUALS" - CONTAINS = "CONTAINS" - -@dataclass(kw_only=True) -class DetectionRuleOrgConfiguration(_SerdeShape): - """ - Contains the organization-level configuration for a custom detection - rule. - """ - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - mode: str | None = ... - """ - The execution mode of the organization configuration. Valid values: - `LIVE` | `DRY_RUN`. - """ - status: str | None = ... - """ - The configuration status. Valid values: `ACTIVE` | `PROCESSING` | - `FAILED`. - """ - status_reason: str | None = ... - """The reason for the current configuration status.""" - include_account_ids: list[str] | None = ... - """ - A list of member account IDs included in the organization configuration. - Mutually exclusive with `ExcludeAccountIds`. - """ - exclude_account_ids: list[str] | None = ... - """ - A list of member account IDs excluded from the organization - configuration. Mutually exclusive with `IncludeAccountIds`. - """ - created_at: datetime | None = ... - """The timestamp when the organization configuration was created.""" - updated_at: datetime | None = ... - """The timestamp when the organization configuration was last updated.""" - expires_at: datetime | None = ... - """The timestamp when the organization configuration expires.""" - -@dataclass(kw_only=True) -class DetectionRuleOrgConfigurationSummary(_SerdeShape): - """ - Contains summary information about an organization-level configuration - for a custom detection rule. - """ - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - mode: str | None = ... - """The rule execution mode.""" - status: str | None = ... - """The configuration status.""" - status_reason: str | None = ... - """The reason for the current configuration status.""" - created_at: datetime | None = ... - """The timestamp when the organization configuration was created.""" - updated_at: datetime | None = ... - """The timestamp when the organization configuration was last updated.""" - expires_at: datetime | None = ... - """The timestamp when the organization configuration expires.""" - -@dataclass(kw_only=True) -class DetectionRuleRuntimeMonitoringDetails(_SerdeShape): - """ - Contains Runtime Monitoring-specific details for a custom detection - rule. - """ - - platforms: DetectionRuleRuntimePlatforms | None = ... - """ - The platforms on which the rule can run. The presence of a platform - member indicates that the rule is supported on that platform; the - absence of a member indicates that the rule cannot run on that platform - at any agent version. - """ - -@dataclass(kw_only=True) -class DetectionRuleRuntimePlatforms(_SerdeShape): - """ - The platforms on which a Runtime Monitoring custom detection rule can - run. A member's presence is the support statement: when present, the - rule runs on that platform and `minAgentVersion` is the minimum - GuardDuty agent version required there. When absent, the rule cannot run - on that platform at any agent version. - """ - - eks: DetectionRuleEksRequirements | None = ... - """The requirements for running the rule on Amazon EKS.""" - ec2: DetectionRuleEc2Requirements | None = ... - """The requirements for running the rule on Amazon EC2.""" - ecs_fargate: DetectionRuleEcsFargateRequirements | None = ... - """ - The requirements for running the rule on Amazon ECS with the Fargate - launch type. - """ - -class DetectionRuleSeverity(UnknownEnumMixin, StrEnum): - CRITICAL = "CRITICAL" - HIGH = "HIGH" - MEDIUM = "MEDIUM" - LOW = "LOW" - -class DetectionSource(UnknownEnumMixin, StrEnum): - AMAZON = "AMAZON" - BITDEFENDER = "BITDEFENDER" - -@dataclass(kw_only=True) -class DetectorAdditionalConfiguration(_SerdeShape): - """ - Information about the additional configuration for a feature in your - GuardDuty account. - """ - - name: str | None = ... - """Name of the additional configuration.""" - status: str | None = ... - """Status of the additional configuration.""" - -@dataclass(kw_only=True) -class DetectorAdditionalConfigurationResult(_SerdeShape): - """Information about the additional configuration.""" - - name: str | None = ... - """Name of the additional configuration.""" - status: str | None = ... - """Status of the additional configuration.""" - updated_at: datetime | None = ... - """ - The timestamp at which the additional configuration was last updated. - This is in UTC format. - """ - managed_by: str | None = ... - """ - Indicates what manages the additional configuration. A value of - `GUARDDUTY_POLICY` means a GuardDuty policy manages the additional - configuration. - """ - -class DetectorFeature(UnknownEnumMixin, StrEnum): - S3_DATA_EVENTS = "S3_DATA_EVENTS" - EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" - EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" - RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" - LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" - EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" - RUNTIME_MONITORING = "RUNTIME_MONITORING" - AI_PROTECTION = "AI_PROTECTION" - AI_ANALYST = "AI_ANALYST" - -@dataclass(kw_only=True) -class DetectorFeatureConfiguration(_SerdeShape): - """ - Contains information about a GuardDuty feature. - - Specifying both EKS Runtime Monitoring (`EKS_RUNTIME_MONITORING`) and - Runtime Monitoring (`RUNTIME_MONITORING`) will cause an error. You can - add only one of these two features because Runtime Monitoring already - includes the threat detection for Amazon EKS resources. For more - information, see [Runtime - Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). - """ - - name: str | None = ... - """The name of the feature.""" - status: str | None = ... - """The status of the feature.""" - additional_configuration: list[DetectorAdditionalConfiguration] | None = ... - """Additional configuration for a resource.""" - -@dataclass(kw_only=True) -class DetectorFeatureConfigurationResult(_SerdeShape): - """ - Contains information about a GuardDuty feature. - - Specifying both EKS Runtime Monitoring (`EKS_RUNTIME_MONITORING`) and - Runtime Monitoring (`RUNTIME_MONITORING`) will cause an error. You can - add only one of these two features because Runtime Monitoring already - includes the threat detection for Amazon EKS resources. For more - information, see [Runtime - Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). - """ - - name: str | None = ... - """Indicates the name of the feature that can be enabled for the detector.""" - status: str | None = ... - """Indicates the status of the feature that is enabled for the detector.""" - updated_at: datetime | None = ... - """The timestamp at which the feature object was updated.""" - additional_configuration: list[DetectorAdditionalConfigurationResult] | None = ... - """Additional configuration for a resource.""" - managed_by: str | None = ... - """ - Indicates what manages the feature. A value of `GUARDDUTY_POLICY` means - a GuardDuty policy manages the feature. - """ - -class DetectorFeatureResult(UnknownEnumMixin, StrEnum): - FLOW_LOGS = "FLOW_LOGS" - CLOUD_TRAIL = "CLOUD_TRAIL" - DNS_LOGS = "DNS_LOGS" - S3_DATA_EVENTS = "S3_DATA_EVENTS" - EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" - EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" - RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" - LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" - EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" - RUNTIME_MONITORING = "RUNTIME_MONITORING" - AI_PROTECTION = "AI_PROTECTION" - AI_ANALYST = "AI_ANALYST" - -class DetectorStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class DisableOrganizationAdminAccountInput(_SerdeShape): - """Dataclass for DisableOrganizationAdminAccountInput structure.""" - - admin_account_id: str | None = ... - """ - The Amazon Web Services Account ID for the organizations account to be - disabled as a GuardDuty delegated administrator. - """ - -@dataclass(kw_only=True) -class DisableOrganizationAdminAccountOutput(_SerdeShape): - """Dataclass for DisableOrganizationAdminAccountOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateFromAdministratorAccountInput(_SerdeShape): - """Dataclass for DisassociateFromAdministratorAccountInput structure.""" - - detector_id: str | None = ... - """The unique ID of the detector of the GuardDuty member account.""" - -@dataclass(kw_only=True) -class DisassociateFromAdministratorAccountOutput(_SerdeShape): - """Dataclass for DisassociateFromAdministratorAccountOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateFromMasterAccountInput(_SerdeShape): - """Dataclass for DisassociateFromMasterAccountInput structure.""" - - detector_id: str | None = ... - """The unique ID of the detector of the GuardDuty member account.""" - -@dataclass(kw_only=True) -class DisassociateFromMasterAccountOutput(_SerdeShape): - """Dataclass for DisassociateFromMasterAccountOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociateMembersInput(_SerdeShape): - """Dataclass for DisassociateMembersInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty account whose members you - want to disassociate from the administrator account. - """ - account_ids: list[str] | None = ... - """ - A list of account IDs of the GuardDuty member accounts that you want to - disassociate from the administrator account. - """ - -@dataclass(kw_only=True) -class DisassociateMembersOutput(_SerdeShape): - """Dataclass for DisassociateMembersOutput structure.""" - - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of objects that contain the unprocessed account and a result - string that explains why it was unprocessed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DNSLogsConfigurationResult(_SerdeShape): - """Contains information on the status of DNS logs as a data source.""" - - status: str | None = ... - """Denotes whether DNS logs is enabled as a data source.""" - -@dataclass(kw_only=True) -class DnsRequestAction(_SerdeShape): - """ - Contains information about the DNS_REQUEST action described in this - finding. - """ - - domain: str | None = ... - """The domain information for the DNS query.""" - protocol: str | None = ... - """ - The network connection protocol observed in the activity that prompted - GuardDuty to generate the finding. - """ - blocked: bool | None = ... - """Indicates whether the targeted port is blocked.""" - domain_with_suffix: str | None = ... - """ - The second and top level domain involved in the activity that - potentially prompted GuardDuty to generate this finding. For a list of - top-level and second-level domains, see [public suffix - list](https://publicsuffix.org/). - """ - vpc_owner_account_id: str | None = ... - """ - The Amazon Web Services account ID that owns the VPC through which the - DNS request was made. - """ - -@dataclass(kw_only=True) -class DomainDetails(_SerdeShape): - """Contains information about the domain.""" - - domain: str | None = ... - """The domain information for the Amazon Web Services API call.""" - -@dataclass(kw_only=True) -class EbsSnapshot(_SerdeShape): - """Contains information about an EBS snapshot that was scanned for malware.""" - - device_name: str | None = ... - """The device name of the EBS snapshot that was scanned.""" - -@dataclass(kw_only=True) -class EbsSnapshotDetails(_SerdeShape): - """Contains details about the EBS snapshot that was scanned for malware.""" - - snapshot_arn: str | None = ... - """The Amazon Resource Name (ARN) of the EBS snapshot.""" - -class EbsSnapshotPreservation(UnknownEnumMixin, StrEnum): - NO_RETENTION = "NO_RETENTION" - RETENTION_WITH_FINDING = "RETENTION_WITH_FINDING" - -@dataclass(kw_only=True) -class EbsVolumeDetails(_SerdeShape): - """Contains list of scanned and skipped EBS volumes with details.""" - - scanned_volume_details: list[VolumeDetail] | None = ... - """List of EBS volumes that were scanned.""" - skipped_volume_details: list[VolumeDetail] | None = ... - """List of EBS volumes that were skipped from the malware scan.""" - -@dataclass(kw_only=True) -class EbsVolumeScanDetails(_SerdeShape): - """Contains details from the malware scan that created a finding.""" - - scan_id: str | None = ... - """Unique Id of the malware scan that generated the finding.""" - scan_started_at: datetime | None = ... - """Returns the start date and time of the malware scan.""" - scan_completed_at: datetime | None = ... - """Returns the completion date and time of the malware scan.""" - trigger_finding_id: str | None = ... - """GuardDuty finding ID that triggered a malware scan.""" - sources: list[str] | None = ... - """Contains list of threat intelligence sources used to detect threats.""" - scan_detections: ScanDetections | None = ... - """Contains a complete view providing malware scan result details.""" - scan_type: str | None = ... - """Specifies the scan type that invoked the malware scan.""" - -@dataclass(kw_only=True) -class EbsVolumesResult(_SerdeShape): - """Describes the configuration of scanning EBS volumes as a data source.""" - - status: str | None = ... - """Describes whether scanning EBS volumes is enabled as a data source.""" - reason: str | None = ... - """ - Specifies the reason why scanning EBS volumes (Malware Protection) was - not enabled as a data source. - """ - -@dataclass(kw_only=True) -class Ec2Image(_SerdeShape): - """ - Contains information about the Amazon EC2 Image involved in a GuardDuty - finding, including unique identifiers of the Amazon EC2 instances. - """ - - ec2_instance_uids: list[str] | None = ... - """ - A list of unique identifiers for the compromised Amazon EC2 instances - that were launched with the same Amazon Machine Image (AMI). - """ - -@dataclass(kw_only=True) -class Ec2ImageDetails(_SerdeShape): - """Contains details about the EC2 AMI that was scanned.""" - - image_arn: str | None = ... - """The Amazon Resource Name (ARN) of the EC2 AMI.""" - -@dataclass(kw_only=True) -class Ec2Instance(_SerdeShape): - """Details about the potentially impacted Amazon EC2 instance resource.""" - - availability_zone: str | None = ... - """ - The availability zone of the Amazon EC2 instance. For more information, - see [Availability - zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-availability-zones) - in the *Amazon EC2 User Guide*. - """ - image_description: str | None = ... - """The image description of the Amazon EC2 instance.""" - instance_state: str | None = ... - """ - The state of the Amazon EC2 instance. For more information, see [Amazon - EC2 instance state - changes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) - in the *Amazon EC2 User Guide*. - """ - iam_instance_profile: IamInstanceProfile | None = ... - """Contains information about the EC2 instance profile.""" - instance_type: str | None = ... - """Type of the Amazon EC2 instance.""" - outpost_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. This - shows applicable Amazon Web Services Outposts instances. - """ - platform: str | None = ... - """The platform of the Amazon EC2 instance.""" - product_codes: list[ProductCode] | None = ... - """The product code of the Amazon EC2 instance.""" - ec2_network_interface_uids: list[str] | None = ... - """The ID of the network interface.""" - -@dataclass(kw_only=True) -class Ec2LaunchTemplate(_SerdeShape): - """ - Contains information about the Amazon EC2 launch template involved in a - GuardDuty finding, including unique identifiers of the Amazon EC2 - instances. - """ - - ec2_instance_uids: list[str] | None = ... - """ - A list of unique identifiers for the compromised Amazon EC2 instances - that share the same Amazon EC2 launch template. - """ - version: str | None = ... - """Version of the EC2 launch template.""" - -@dataclass(kw_only=True) -class Ec2NetworkInterface(_SerdeShape): - """ - Contains information about the elastic network interface of the Amazon - EC2 instance. - """ - - ipv6_addresses: list[str] | None = ... - """A list of IPv6 addresses for the Amazon EC2 instance.""" - private_ip_addresses: list[PrivateIpAddressDetails] | None = ... - """Other private IP address information of the Amazon EC2 instance.""" - public_ip: str | None = ... - """The public IP address of the Amazon EC2 instance.""" - security_groups: list[SecurityGroup] | None = ... - """The security groups associated with the Amazon EC2 instance.""" - sub_net_id: str | None = ... - """The subnet ID of the Amazon EC2 instance.""" - vpc_id: str | None = ... - """The VPC ID of the Amazon EC2 instance.""" - -@dataclass(kw_only=True) -class Ec2Vpc(_SerdeShape): - """ - Contains information about the Amazon EC2 VPC involved in a GuardDuty - finding, including unique identifiers of the Amazon EC2 instances. - """ - - ec2_instance_uids: list[str] | None = ... - """ - A list of unique identifiers for the compromised Amazon EC2 instances - that were launched within the same Virtual Private Cloud (VPC). - """ - -@dataclass(kw_only=True) -class EcsCluster(_SerdeShape): - """ - Contains information about the Amazon ECS cluster involved in a - GuardDuty finding, including cluster identification and status. - """ - - status: str | None = ... - """The current status of the Amazon ECS cluster.""" - ec2_instance_uids: list[str] | None = ... - """ - A list of unique identifiers for the Amazon EC2 instances that serve as - container instances in the Amazon ECS cluster. - """ - -@dataclass(kw_only=True) -class EcsClusterDetails(_SerdeShape): - """Contains information about the details of the ECS Cluster.""" - - name: str | None = ... - """The name of the ECS Cluster.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) that identifies the cluster.""" - status: str | None = ... - """The status of the ECS cluster.""" - active_services_count: int | None = ... - """ - The number of services that are running on the cluster in an ACTIVE - state. - """ - registered_container_instances_count: int | None = ... - """The number of container instances registered into the cluster.""" - running_tasks_count: int | None = ... - """The number of tasks in the cluster that are in the RUNNING state.""" - tags: list[Tag] | None = ... - """The tags of the ECS Cluster.""" - task_details: EcsTaskDetails | None = ... - """Contains information about the details of the ECS Task.""" - -class EcsClusterStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - PROVISIONING = "PROVISIONING" - DEPROVISIONING = "DEPROVISIONING" - FAILED = "FAILED" - INACTIVE = "INACTIVE" - -class EcsLaunchType(UnknownEnumMixin, StrEnum): - FARGATE = "FARGATE" - EC2 = "EC2" - -@dataclass(kw_only=True) -class EcsTask(_SerdeShape): - """ - Contains information about Amazon ECS task involved in a GuardDuty - finding, including task definition and container identifiers. - """ - - created_at: datetime | None = ... - """ - The timestamp indicating when the Amazon ECS task was created, in UTC - format. - """ - task_definition_arn: str | None = ... - """ - The ARN of task definition which describes the container and volume - definitions of the Amazon ECS task. - """ - launch_type: str | None = ... - """The infrastructure type on which the Amazon ECS task runs.""" - container_uids: list[str] | None = ... - """ - A list of unique identifiers for the containers associated with the - Amazon ECS task. - """ - -@dataclass(kw_only=True) -class EcsTaskDetails(_SerdeShape): - """Contains information about the task in an ECS cluster.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the task.""" - definition_arn: str | None = ... - """The ARN of the task definition that creates the task.""" - version: str | None = ... - """The version counter for the task.""" - task_created_at: datetime | None = ... - """The Unix timestamp for the time when the task was created.""" - started_at: datetime | None = ... - """The Unix timestamp for the time when the task started.""" - started_by: str | None = ... - """Contains the tag specified when a task is started.""" - tags: list[Tag] | None = ... - """The tags of the ECS Task.""" - volumes: list[Volume] | None = ... - """The list of data volume definitions for the task.""" - containers: list[Container] | None = ... - """The containers that's associated with the task.""" - group: str | None = ... - """The name of the task group that's associated with the task.""" - launch_type: str | None = ... - """ - A capacity on which the task is running. For example, `Fargate` and - `EC2`. - """ - -@dataclass(kw_only=True) -class EksCluster(_SerdeShape): - """ - Contains information about the Amazon EKS cluster involved in a - GuardDuty finding, including cluster identification, status, and network - configuration. - """ - - arn: str | None = ... - """ - The Amazon Resource Name (ARN) that uniquely identifies the Amazon EKS - cluster involved in the finding. - """ - created_at: datetime | None = ... - """ - The timestamp indicating when the Amazon EKS cluster was created, in UTC - format. - """ - status: str | None = ... - """The current status of the Amazon EKS cluster.""" - vpc_id: str | None = ... - """ - The ID of the Amazon Virtual Private Cloud (Amazon VPC) associated with - the Amazon EKS cluster. - """ - ec2_instance_uids: list[str] | None = ... - """ - A list of unique identifiers for the Amazon EC2 instances that serve as - worker nodes in the Amazon EKS cluster. - """ - -@dataclass(kw_only=True) -class EksClusterDetails(_SerdeShape): - """Details about the EKS cluster involved in a Kubernetes finding.""" - - name: str | None = ... - """EKS cluster name.""" - arn: str | None = ... - """EKS cluster ARN.""" - vpc_id: str | None = ... - """The VPC ID to which the EKS cluster is attached.""" - status: str | None = ... - """The EKS cluster status.""" - tags: list[Tag] | None = ... - """The EKS cluster tags.""" - created_at: datetime | None = ... - """The timestamp when the EKS cluster was created.""" - -@dataclass(kw_only=True) -class EnableOrganizationAdminAccountInput(_SerdeShape): - """Dataclass for EnableOrganizationAdminAccountInput structure.""" - - admin_account_id: str | None = ... - """ - The Amazon Web Services account ID for the organization account to be - enabled as a GuardDuty delegated administrator. - """ - -@dataclass(kw_only=True) -class EnableOrganizationAdminAccountOutput(_SerdeShape): - """Dataclass for EnableOrganizationAdminAccountOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Evidence(_SerdeShape): - """Contains information about the reason that the finding was generated.""" - - threat_intelligence_details: list[ThreatIntelligenceDetail] | None = ... - """A list of threat intelligence details related to the evidence.""" - -@dataclass(kw_only=True) -class FargateDetails(_SerdeShape): - """ - Contains information about Amazon Web Services Fargate details - associated with an Amazon ECS cluster. - """ - - issues: list[str] | None = ... - """ - Runtime coverage issues identified for the resource running on Amazon - Web Services Fargate. - """ - management_type: str | None = ... - """ - Indicates how the GuardDuty security agent is managed for this resource. - - - `AUTO_MANAGED` indicates that GuardDuty deploys and manages updates - for this resource. - - - `DISABLED` indicates that the deployment of the GuardDuty security - agent is disabled for this resource. - - Note: - The `MANUAL` status doesn't apply to the Amazon Web Services Fargate - (Amazon ECS only) woprkloads. - """ - -class FeatureAdditionalConfiguration(UnknownEnumMixin, StrEnum): - EKS_ADDON_MANAGEMENT = "EKS_ADDON_MANAGEMENT" - ECS_FARGATE_AGENT_MANAGEMENT = "ECS_FARGATE_AGENT_MANAGEMENT" - EC2_AGENT_MANAGEMENT = "EC2_AGENT_MANAGEMENT" - RDS_DATA_RISK = "RDS_DATA_RISK" - """ - RDS Data Activity Monitoring, which monitors data activity on supported - Amazon RDS database engines to detect potentially unauthorized access to - your data. - """ - -class FeatureStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class Feedback(UnknownEnumMixin, StrEnum): - USEFUL = "USEFUL" - NOT_USEFUL = "NOT_USEFUL" - -class FilterAction(UnknownEnumMixin, StrEnum): - NOOP = "NOOP" - ARCHIVE = "ARCHIVE" - -@dataclass(kw_only=True) -class FilterCondition(_SerdeShape): - """Contains information about the condition.""" - - equals_value: str | None = ... - """ - Represents an *equal* condition to be applied to a single field when - querying for scan entries. - """ - greater_than: int | None = ... - """ - Represents a *greater than* condition to be applied to a single field - when querying for scan entries. - """ - less_than: int | None = ... - """ - Represents a *less than* condition to be applied to a single field when - querying for scan entries. - """ - -@dataclass(kw_only=True) -class FilterCriteria(_SerdeShape): - """ - Represents the criteria to be used in the filter for describing scan - entries. - """ - - filter_criterion: list[FilterCriterion] | None = ... - """ - Represents a condition that when matched will be added to the response - of the operation. - """ - -@dataclass(kw_only=True) -class FilterCriterion(_SerdeShape): - """ - Represents a condition that when matched will be added to the response - of the operation. Irrespective of using any filter criteria, an - administrator account can view the scan entries for all of its member - accounts. However, each member account can view the scan entries only - for their own account. - """ - - criterion_key: str | None = ... - """ - An enum value representing possible scan properties to match with given - scan entries. - """ - filter_condition: FilterCondition | None = ... - """Contains information about the condition.""" - -class FilterFieldName(UnknownEnumMixin, StrEnum): - NAME = "name" - DESCRIPTION = "description" - DATA_SOURCE = "dataSource" - SEVERITY = "severity" - TACTIC = "tactic" - TECHNIQUE = "technique" - SERVICE = "service" - -@dataclass(kw_only=True) -class Finding(_SerdeShape): - """ - Contains information about the finding that is generated when abnormal - or suspicious activity is detected. - """ - - account_id: str | None = ... - """The ID of the account in which the finding was generated.""" - arn: str | None = ... - """The ARN of the finding.""" - confidence: float | None = ... - """The confidence score for the finding.""" - created_at: str | None = ... - """The time and date when the finding was created.""" - description: str | None = ... - """The description of the finding.""" - id: str | None = ... - """The ID of the finding.""" - partition: str | None = ... - """The partition associated with the finding.""" - region: str | None = ... - """ - The Region where the finding was generated. For findings generated from - [Global Service - Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-global-service-events), - the Region value in the finding might differ from the Region where - GuardDuty identifies the potential threat. For more information, see - [How GuardDuty handles Amazon Web Services CloudTrail global - events](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_data-sources.html#cloudtrail_global) - in the *Amazon GuardDuty User Guide*. - """ - resource: Resource | None = ... - """ - Contains information about the Amazon Web Services resource associated - with the activity that prompted GuardDuty to generate a finding. - """ - schema_version: str | None = ... - """The version of the schema used for the finding.""" - service: Service | None = ... - """Contains additional information about the generated finding.""" - severity: float | None = ... - """The severity of the finding.""" - title: str | None = ... - """The title of the finding.""" - type: str | None = ... - """The type of finding.""" - updated_at: str | None = ... - """The time and date when the finding was last updated.""" - associated_attack_sequence_arn: str | None = ... - """Amazon Resource Name (ARN) associated with the attack sequence finding.""" - custom_detection_rule_name: str | None = ... - """The name of the custom detection rule that generated this finding.""" - -@dataclass(kw_only=True) -class FindingCriteria(_SerdeShape): - """Contains information about the criteria used for querying findings.""" - - criterion: dict[str, Condition] | None = ... - """ - Represents a map of finding properties that match specified conditions - and values when querying findings. - """ - -class FindingPublishingFrequency(UnknownEnumMixin, StrEnum): - FIFTEEN_MINUTES = "FIFTEEN_MINUTES" - ONE_HOUR = "ONE_HOUR" - SIX_HOURS = "SIX_HOURS" - -class FindingResourceType(UnknownEnumMixin, StrEnum): - EC2_INSTANCE = "EC2_INSTANCE" - EC2_NETWORK_INTERFACE = "EC2_NETWORK_INTERFACE" - S3_BUCKET = "S3_BUCKET" - S3_OBJECT = "S3_OBJECT" - ACCESS_KEY = "ACCESS_KEY" - EKS_CLUSTER = "EKS_CLUSTER" - KUBERNETES_WORKLOAD = "KUBERNETES_WORKLOAD" - CONTAINER = "CONTAINER" - ECS_CLUSTER = "ECS_CLUSTER" - ECS_TASK = "ECS_TASK" - AUTOSCALING_AUTO_SCALING_GROUP = "AUTOSCALING_AUTO_SCALING_GROUP" - IAM_INSTANCE_PROFILE = "IAM_INSTANCE_PROFILE" - CLOUDFORMATION_STACK = "CLOUDFORMATION_STACK" - EC2_LAUNCH_TEMPLATE = "EC2_LAUNCH_TEMPLATE" - EC2_VPC = "EC2_VPC" - EC2_IMAGE = "EC2_IMAGE" - BEDROCK_CUSTOM_MODEL = "BEDROCK_CUSTOM_MODEL" - """An Amazon Bedrock custom model fine-tuned by the customer.""" - BEDROCK_IMPORTED_MODEL = "BEDROCK_IMPORTED_MODEL" - """An Amazon Bedrock imported model brought in from an external source.""" - BEDROCK_PROVISIONED_MODEL = "BEDROCK_PROVISIONED_MODEL" - """An Amazon Bedrock model with provisioned throughput.""" - BEDROCK_CUSTOM_MODEL_DEPLOYMENT = "BEDROCK_CUSTOM_MODEL_DEPLOYMENT" - """A deployment of an Amazon Bedrock custom model.""" - BEDROCK_INFERENCE_PROFILE = "BEDROCK_INFERENCE_PROFILE" - """ - An Amazon Bedrock inference profile that routes model invocations across - Regions. - """ - BEDROCK_APPLICATION_INFERENCE_PROFILE = "BEDROCK_APPLICATION_INFERENCE_PROFILE" - """ - An application-scoped Amazon Bedrock inference profile used to track - invocation usage. - """ - BEDROCK_PROMPT = "BEDROCK_PROMPT" - """A managed prompt stored in Amazon Bedrock Prompt Management.""" - BEDROCK_PROMPT_ROUTER = "BEDROCK_PROMPT_ROUTER" - """An Amazon Bedrock prompt router that selects a model per request.""" - BEDROCK_GUARDRAIL = "BEDROCK_GUARDRAIL" - """An Amazon Bedrock guardrail evaluated during a model invocation.""" - SAGEMAKER_ENDPOINT = "SAGEMAKER_ENDPOINT" - """An Amazon SageMaker inference endpoint.""" - -@dataclass(kw_only=True) -class FindingStatistics(_SerdeShape): - """Contains information about finding statistics.""" - - count_by_severity: dict[str, int] | None = ... - """ - Represents a list of map of severity to count statistics for a set of - findings. - """ - grouped_by_account: list[AccountStatistics] | None = ... - """ - Represents a list of map of accounts with a findings count associated - with each account. - """ - grouped_by_date: list[DateStatistics] | None = ... - """ - Represents a list of map of dates with a count of total findings - generated on each date per severity level. - """ - grouped_by_finding_type: list[FindingTypeStatistics] | None = ... - """ - Represents a list of map of finding types with a count of total findings - generated for each type. - - Based on the `orderBy` parameter, this request returns either the most - occurring finding types or the least occurring finding types. If the - `orderBy` parameter is `ASC`, this will represent the least occurring - finding types in your account; otherwise, this will represent the most - occurring finding types. The default value of `orderBy` is `DESC`. - """ - grouped_by_resource: list[ResourceStatistics] | None = ... - """ - Represents a list of map of top resources with a count of total - findings. - """ - grouped_by_severity: list[SeverityStatistics] | None = ... - """Represents a list of map of total findings for each severity level.""" - -class FindingStatisticType(UnknownEnumMixin, StrEnum): - COUNT_BY_SEVERITY = "COUNT_BY_SEVERITY" - -@dataclass(kw_only=True) -class FindingTypeStatistics(_SerdeShape): - """ - Information about each finding type associated with the - `groupedByFindingType` statistics. - """ - - finding_type: str | None = ... - """Name of the finding type.""" - last_generated_at: datetime | None = ... - """ - The timestamp at which this finding type was last generated in your - environment. - """ - total_findings: int | None = ... - """ - The total number of findings associated with generated for each distinct - finding type. - """ - -@dataclass(kw_only=True) -class FlowLogsConfigurationResult(_SerdeShape): - """Contains information on the status of VPC flow logs as a data source.""" - - status: str | None = ... - """Denotes whether VPC flow logs is enabled as a data source.""" - -@dataclass(kw_only=True) -class FreeTrialFeatureConfigurationResult(_SerdeShape): - """Contains information about the free trial period for a feature.""" - - name: str | None = ... - """The name of the feature for which the free trial is configured.""" - free_trial_days_remaining: int | None = ... - """The number of the remaining free trial days for the feature.""" - -class FreeTrialFeatureResult(UnknownEnumMixin, StrEnum): - FLOW_LOGS = "FLOW_LOGS" - CLOUD_TRAIL = "CLOUD_TRAIL" - DNS_LOGS = "DNS_LOGS" - S3_DATA_EVENTS = "S3_DATA_EVENTS" - EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" - EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" - RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" - LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" - EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" - EC2_RUNTIME_MONITORING = "EC2_RUNTIME_MONITORING" - FARGATE_RUNTIME_MONITORING = "FARGATE_RUNTIME_MONITORING" - AI_PROTECTION = "AI_PROTECTION" - -@dataclass(kw_only=True) -class GeoLocation(_SerdeShape): - """ - Contains information about the location of the remote IP address. By - default, GuardDuty returns `Geolocation` with `Lat` and `Lon` as `0.0`. - """ - - lat: float | None = ... - """The latitude information of the remote IP address.""" - lon: float | None = ... - """The longitude information of the remote IP address.""" - -@dataclass(kw_only=True) -class GetAdministratorAccountInput(_SerdeShape): - """Dataclass for GetAdministratorAccountInput structure.""" - - detector_id: str | None = ... - """The unique ID of the detector of the GuardDuty member account.""" - -@dataclass(kw_only=True) -class GetAdministratorAccountOutput(_SerdeShape): - """Dataclass for GetAdministratorAccountOutput structure.""" - - administrator: Administrator | None = ... - """The administrator account details.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCoverageStatisticsInput(_SerdeShape): - """Dataclass for GetCoverageStatisticsInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the GuardDuty detector. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - filter_criteria: CoverageFilterCriteria | None = ... - """Represents the criteria used to filter the coverage statistics.""" - statistics_type: list[str] | None = ... - """Represents the statistics type used to aggregate the coverage details.""" - -@dataclass(kw_only=True) -class GetCoverageStatisticsOutput(_SerdeShape): - """Dataclass for GetCoverageStatisticsOutput structure.""" - - coverage_statistics: CoverageStatistics | None = ... - """Represents the count aggregated by the `statusCode` and `resourceType`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCustomDetectionRuleAssociationInput(_SerdeShape): - """Dataclass for GetCustomDetectionRuleAssociationInput structure.""" - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - association_id: str | None = ... - """The unique identifier for the association.""" - -@dataclass(kw_only=True) -class GetCustomDetectionRuleAssociationOutput(_SerdeShape): - """Dataclass for GetCustomDetectionRuleAssociationOutput structure.""" - - rule_association: AssociationDetail | None = ... - """The details of the custom detection rule association.""" - tags: dict[str, str] | None = ... - """The tags associated with the custom detection rule association resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCustomDetectionRuleInput(_SerdeShape): - """Dataclass for GetCustomDetectionRuleInput structure.""" - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - -@dataclass(kw_only=True) -class GetCustomDetectionRuleOrgConfigurationInput(_SerdeShape): - """Dataclass for GetCustomDetectionRuleOrgConfigurationInput structure.""" - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - mode: str | None = ... - """ - The execution mode of the organization configuration to retrieve. Valid - values: `LIVE` | `DRY_RUN`. - """ - -@dataclass(kw_only=True) -class GetCustomDetectionRuleOrgConfigurationOutput(_SerdeShape): - """Dataclass for GetCustomDetectionRuleOrgConfigurationOutput structure.""" - - configuration: DetectionRuleOrgConfiguration | None = ... - """The details of the organization configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCustomDetectionRuleOutput(_SerdeShape): - """Dataclass for GetCustomDetectionRuleOutput structure.""" - - rule: RuleDetail | None = ... - """The details of the custom detection rule.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDetectorInput(_SerdeShape): - """Dataclass for GetDetectorInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that you want to get. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - -@dataclass(kw_only=True) -class GetDetectorOutput(_SerdeShape): - """Dataclass for GetDetectorOutput structure.""" - - created_at: str | None = ... - """The timestamp of when the detector was created.""" - finding_publishing_frequency: str | None = ... - """The publishing frequency of the finding.""" - service_role: str | None = ... - """The GuardDuty service role.""" - status: str | None = ... - """The detector status.""" - updated_at: str | None = ... - """The last-updated timestamp for the detector.""" - data_sources: DataSourceConfigurationsResult | None = ... - """Describes which data sources are enabled for the detector.""" - tags: dict[str, str] | None = ... - """The tags of the detector resource.""" - features: list[DetectorFeatureConfigurationResult] | None = ... - """Describes the features that have been enabled for the detector.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFilterInput(_SerdeShape): - """Dataclass for GetFilterInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with this filter. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - filter_name: str | None = ... - """The name of the filter you want to get.""" - -@dataclass(kw_only=True) -class GetFilterOutput(_SerdeShape): - """Dataclass for GetFilterOutput structure.""" - - name: str | None = ... - """The name of the filter.""" - description: str | None = ... - """The description of the filter.""" - action: str | None = ... - """ - Specifies the action that is to be applied to the findings that match - the filter. - """ - rank: int | None = ... - """ - Specifies the position of the filter in the list of current filters. - Also specifies the order in which this filter is applied to the - findings. - """ - finding_criteria: FindingCriteria | None = ... - """Represents the criteria to be used in the filter for querying findings.""" - tags: dict[str, str] | None = ... - """The tags of the filter resource.""" - created_at: datetime | None = ... - """ - The timestamp when the filter was created. This field is not available - for filters that were created before the lifecycle metadata feature was - enabled (legacy filters). - """ - updated_at: datetime | None = ... - """ - The timestamp when the filter was last updated. For legacy filters, this - field is present only after the filter has been updated at least once - since the lifecycle metadata feature was enabled. - """ - version: int | None = ... - """ - The version of the filter. Every time the filter is updated, the version - increments by 1. This field is not available for legacy filters that - were created before the lifecycle metadata feature was enabled. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFindingsInput(_SerdeShape): - """Dataclass for GetFindingsInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector that specifies the GuardDuty service whose - findings you want to retrieve. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - finding_ids: list[str] | None = ... - """The IDs of the findings that you want to retrieve.""" - sort_criteria: SortCriteria | None = ... - """Represents the criteria used for sorting findings.""" - -@dataclass(kw_only=True) -class GetFindingsOutput(_SerdeShape): - """Dataclass for GetFindingsOutput structure.""" - - findings: list[Finding] | None = ... - """A list of findings.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFindingsStatisticsInput(_SerdeShape): - """Dataclass for GetFindingsStatisticsInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector whose findings statistics you want to retrieve. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - finding_statistic_types: list[str] | None = ... - """The types of finding statistics to retrieve.""" - finding_criteria: FindingCriteria | None = ... - """Represents the criteria that is used for querying findings.""" - group_by: str | None = ... - """ - Displays the findings statistics grouped by one of the listed valid - values. - """ - order_by: str | None = ... - """ - Displays the sorted findings in the requested order. The default value - of `orderBy` is `DESC`. - - You can use this parameter only with the `groupBy` parameter. - """ - max_results: int | None = ... - """ - The maximum number of results to be returned in the response. The - default value is 25. - - You can use this parameter only with the `groupBy` parameter. - """ - -@dataclass(kw_only=True) -class GetFindingsStatisticsOutput(_SerdeShape): - """Dataclass for GetFindingsStatisticsOutput structure.""" - - finding_statistics: FindingStatistics | None = ... - """The finding statistics object.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - - This parameter is currently not supported. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInvestigationInput(_SerdeShape): - """Dataclass for GetInvestigationInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the GuardDuty detector associated with the - investigation. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - investigation_id: str | None = ... - """The unique identifier of the investigation to retrieve.""" - -@dataclass(kw_only=True) -class GetInvestigationOutput(_SerdeShape): - """Dataclass for GetInvestigationOutput structure.""" - - investigation: Investigation | None = ... - """The details and results of the requested investigation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInvitationsCountInput(_SerdeShape): - """Dataclass for GetInvitationsCountInput structure.""" - -@dataclass(kw_only=True) -class GetInvitationsCountOutput(_SerdeShape): - """Dataclass for GetInvitationsCountOutput structure.""" - - invitations_count: int | None = ... - """The number of received invitations.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIPSetInput(_SerdeShape): - """Dataclass for GetIPSetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with the IPSet. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - ip_set_id: str | None = ... - """The unique ID of the IPSet to retrieve.""" - -@dataclass(kw_only=True) -class GetIPSetOutput(_SerdeShape): - """Dataclass for GetIPSetOutput structure.""" - - name: str | None = ... - """The user-friendly name for the IPSet.""" - format: str | None = ... - """The format of the file that contains the IPSet.""" - location: str | None = ... - """The URI of the file that contains the IPSet.""" - status: str | None = ... - """The status of IPSet file that was uploaded.""" - tags: dict[str, str] | None = ... - """The tags of the IPSet resource.""" - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. This field appears in the - response only if it was provided during IPSet creation or update. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMalwareProtectionPlanInput(_SerdeShape): - """Dataclass for GetMalwareProtectionPlanInput structure.""" - - malware_protection_plan_id: str | None = ... - """A unique identifier associated with Malware Protection plan resource.""" - -@dataclass(kw_only=True) -class GetMalwareProtectionPlanOutput(_SerdeShape): - """Dataclass for GetMalwareProtectionPlanOutput structure.""" - - arn: str | None = ... - """Amazon Resource Name (ARN) of the protected resource.""" - role: str | None = ... - """ - Amazon Resource Name (ARN) of the IAM role that includes the permissions - to scan and add tags to the associated protected resource. - """ - protected_resource: CreateProtectedResource | None = ... - """ - Information about the protected resource that is associated with the - created Malware Protection plan. Presently, `S3Bucket` is the only - supported protected resource. - """ - actions: MalwareProtectionPlanActions | None = ... - """ - Information about whether the tags will be added to the S3 object after - scanning. - """ - created_at: datetime | None = ... - """The timestamp when the Malware Protection plan resource was created.""" - status: str | None = ... - """Malware Protection plan status.""" - status_reasons: list[MalwareProtectionPlanStatusReason] | None = ... - """ - Information about the issue code and message associated to the status of - your Malware Protection plan. - """ - tags: dict[str, str] | None = ... - """Tags added to the Malware Protection plan resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMalwareScanInput(_SerdeShape): - """Dataclass for GetMalwareScanInput structure.""" - - scan_id: str | None = ... - """ - A unique identifier that gets generated when you invoke the API without - any error. Each malware scan has a corresponding scan ID. Using this - scan ID, you can monitor the status of your malware scan. - """ - -@dataclass(kw_only=True) -class GetMalwareScanOutput(_SerdeShape): - """Dataclass for GetMalwareScanOutput structure.""" - - scan_id: str | None = ... - """ - A unique identifier associated with the malware scan. Each malware scan - has a corresponding scan ID. Using this scan ID, you can monitor the - status of your malware scan. - """ - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with the request, if it - belongs to an account which is a GuardDuty customer. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - admin_detector_id: str | None = ... - """ - The unique detector ID of the administrator account that the request is - associated with. If the account is an administrator, the - `AdminDetectorId` will be the same as the one used for - `DetectorId. If the customer is not a GuardDuty customer, this field will not be present.`. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - resource_arn: str | None = ... - """ - Amazon Resource Name (ARN) of the resource on which a malware scan was - invoked. - """ - resource_type: str | None = ... - """The type of resource that was scanned for malware.""" - scanned_resources_count: int | None = ... - """ - The total number of resources that were successfully scanned. This is - dependent on the resource type. - """ - skipped_resources_count: int | None = ... - """The total number of resources that were skipped during the scan.""" - failed_resources_count: int | None = ... - """The total number of resources that failed to be scanned.""" - scanned_resources: list[ScannedResource] | None = ... - """ - A list of resources along with their metadata that were scanned as part - of the malware scan operation. - """ - scan_configuration: ScanConfiguration | None = ... - """Information about the scan configuration used for the malware scan.""" - scan_category: str | None = ... - """The category of the malware scan, indicating the type of scan performed.""" - scan_status: str | None = ... - """A value representing the current status of the malware scan.""" - scan_status_reason: str | None = ... - """Represents the reason for the current scan status, if applicable.""" - scan_type: str | None = ... - """A value representing the initiator of the scan.""" - scan_started_at: datetime | None = ... - """The timestamp representing when the malware scan was started.""" - scan_completed_at: datetime | None = ... - """The timestamp representing when the malware scan was completed.""" - scan_result_details: GetMalwareScanResultDetails | None = ... - """ - Detailed information about the results of the malware scan, if the scan - completed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMalwareScanResultDetails(_SerdeShape): - """Contains information about the results of the malware scan.""" - - scan_result_status: str | None = ... - """Status indicating whether threats were found for a completed scan.""" - skipped_file_count: int | None = ... - """The total number of files that were skipped during the scan.""" - failed_file_count: int | None = ... - """The total number of files that failed to be scanned.""" - threat_found_file_count: int | None = ... - """The total number of files in which threats were detected.""" - total_file_count: int | None = ... - """The total number of files that were processed during the scan.""" - total_bytes: int | None = ... - """The total number of bytes that were scanned.""" - unique_threat_count: int | None = ... - """The total number of unique threats that were detected during the scan.""" - threats: list[ScanResultThreat] | None = ... - """The threats that were detected during the malware scan.""" - -@dataclass(kw_only=True) -class GetMalwareScanSettingsInput(_SerdeShape): - """Dataclass for GetMalwareScanSettingsInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with this scan. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - -@dataclass(kw_only=True) -class GetMalwareScanSettingsOutput(_SerdeShape): - """Dataclass for GetMalwareScanSettingsOutput structure.""" - - scan_resource_criteria: ScanResourceCriteria | None = ... - """Represents the criteria to be used in the filter for scanning resources.""" - ebs_snapshot_preservation: str | None = ... - """An enum value representing possible snapshot preservation settings.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMasterAccountInput(_SerdeShape): - """Dataclass for GetMasterAccountInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty member account. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - -@dataclass(kw_only=True) -class GetMasterAccountOutput(_SerdeShape): - """Dataclass for GetMasterAccountOutput structure.""" - - master: Master | None = ... - """The administrator account details.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMemberDetectorsInput(_SerdeShape): - """Dataclass for GetMemberDetectorsInput structure.""" - - detector_id: str | None = ... - """ - The detector ID for the administrator account. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - account_ids: list[str] | None = ... - """A list of member account IDs.""" - -@dataclass(kw_only=True) -class GetMemberDetectorsOutput(_SerdeShape): - """Dataclass for GetMemberDetectorsOutput structure.""" - - member_data_source_configurations: list[MemberDataSourceConfiguration] | None = ... - """ - An object that describes which data sources are enabled for a member - account. - """ - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of member account IDs that were unable to be processed along with - an explanation for why they were not processed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMembersInput(_SerdeShape): - """Dataclass for GetMembersInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty account whose members you - want to retrieve. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - account_ids: list[str] | None = ... - """ - A list of account IDs of the GuardDuty member accounts that you want to - describe. - """ - -@dataclass(kw_only=True) -class GetMembersOutput(_SerdeShape): - """Dataclass for GetMembersOutput structure.""" - - members: list[Member] | None = ... - """A list of members.""" - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of objects that contain the unprocessed account and a result - string that explains why it was unprocessed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOrganizationStatisticsInput(_SerdeShape): - """Dataclass for GetOrganizationStatisticsInput structure.""" - -@dataclass(kw_only=True) -class GetOrganizationStatisticsOutput(_SerdeShape): - """Dataclass for GetOrganizationStatisticsOutput structure.""" - - organization_details: OrganizationDetails | None = ... - """Information about the statistics report for your organization.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRemainingFreeTrialDaysInput(_SerdeShape): - """Dataclass for GetRemainingFreeTrialDaysInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty member account. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - account_ids: list[str] | None = ... - """A list of account identifiers of the GuardDuty member account.""" - -@dataclass(kw_only=True) -class GetRemainingFreeTrialDaysOutput(_SerdeShape): - """Dataclass for GetRemainingFreeTrialDaysOutput structure.""" - - accounts: list[AccountFreeTrialInfo] | None = ... - """ - The member accounts which were included in a request and were processed - successfully. - """ - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - The member account that was included in a request but for which the - request could not be processed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetThreatEntitySetInput(_SerdeShape): - """Dataclass for GetThreatEntitySetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector associated with the threat entity set - resource. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - threat_entity_set_id: str | None = ... - """The unique ID that helps GuardDuty identify the threat entity set.""" - -@dataclass(kw_only=True) -class GetThreatEntitySetOutput(_SerdeShape): - """Dataclass for GetThreatEntitySetOutput structure.""" - - name: str | None = ... - """ - The name of the threat entity set associated with the specified - `threatEntitySetId`. - """ - format: str | None = ... - """The format of the file that contains the threat entity set.""" - location: str | None = ... - """The URI of the file that contains the threat entity set.""" - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - status: str | None = ... - """The status of the associated threat entity set.""" - tags: dict[str, str] | None = ... - """The tags associated with the threat entity set resource.""" - created_at: datetime | None = ... - """The timestamp when the associated threat entity set was created.""" - updated_at: datetime | None = ... - """The timestamp when the associated threat entity set was updated.""" - error_details: str | None = ... - """The error details when the status is shown as `ERROR`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetThreatIntelSetInput(_SerdeShape): - """Dataclass for GetThreatIntelSetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with the - threatIntelSet. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - threat_intel_set_id: str | None = ... - """The unique ID of the threatIntelSet that you want to get.""" - -@dataclass(kw_only=True) -class GetThreatIntelSetOutput(_SerdeShape): - """Dataclass for GetThreatIntelSetOutput structure.""" - - name: str | None = ... - """ - A user-friendly ThreatIntelSet name displayed in all findings that are - generated by activity that involves IP addresses included in this - ThreatIntelSet. - """ - format: str | None = ... - """The format of the threatIntelSet.""" - location: str | None = ... - """The URI of the file that contains the ThreatIntelSet.""" - status: str | None = ... - """The status of threatIntelSet file uploaded.""" - tags: dict[str, str] | None = ... - """The tags of the threat list resource.""" - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. This field appears in the - response only if it was provided during ThreatIntelSet creation or - update. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetTrustedEntitySetInput(_SerdeShape): - """Dataclass for GetTrustedEntitySetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the GuardDuty detector associated with this trusted - entity set. - """ - trusted_entity_set_id: str | None = ... - """The unique ID that helps GuardDuty identify the trusted entity set.""" - -@dataclass(kw_only=True) -class GetTrustedEntitySetOutput(_SerdeShape): - """Dataclass for GetTrustedEntitySetOutput structure.""" - - name: str | None = ... - """ - The name of the threat entity set associated with the specified - `trustedEntitySetId`. - """ - format: str | None = ... - """The format of the file that contains the trusted entity set.""" - location: str | None = ... - """The URI of the file that contains the trusted entity set.""" - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - status: str | None = ... - """The status of the associated trusted entity set.""" - tags: dict[str, str] | None = ... - """The tags associated with trusted entity set resource.""" - created_at: datetime | None = ... - """The timestamp when the associated trusted entity set was created.""" - updated_at: datetime | None = ... - """The timestamp when the associated trusted entity set was updated.""" - error_details: str | None = ... - """The error details when the status is shown as `ERROR`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUsageStatisticsInput(_SerdeShape): - """Dataclass for GetUsageStatisticsInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector that specifies the GuardDuty service whose usage - statistics you want to retrieve. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - usage_statistic_type: str | None = ... - """The type of usage statistics to retrieve.""" - usage_criteria: UsageCriteria | None = ... - """Represents the criteria used for querying usage.""" - unit: str | None = ... - """ - The currency unit you would like to view your usage statistics in. - Current valid values are USD. - """ - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """ - A token to use for paginating results that are returned in the response. - Set the value of this parameter to null for the first request to a list - action. For subsequent calls, use the NextToken value returned from the - previous request to continue listing results after the first page. - """ - -@dataclass(kw_only=True) -class GetUsageStatisticsOutput(_SerdeShape): - """Dataclass for GetUsageStatisticsOutput structure.""" - - usage_statistics: UsageStatistics | None = ... - """ - The usage statistics object. If a UsageStatisticType was provided, the - objects representing other types will be null. - """ - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class GroupByType(UnknownEnumMixin, StrEnum): - ACCOUNT = "ACCOUNT" - DATE = "DATE" - FINDING_TYPE = "FINDING_TYPE" - RESOURCE = "RESOURCE" - SEVERITY = "SEVERITY" - -class GuardrailAction(UnknownEnumMixin, StrEnum): - GUARDRAIL_INTERVENED = "GUARDRAIL_INTERVENED" - NONE = "NONE" - -class GuardrailSource(UnknownEnumMixin, StrEnum): - INPUT = "INPUT" - OUTPUT = "OUTPUT" - -@dataclass(kw_only=True) -class HighestSeverityThreatDetails(_SerdeShape): - """ - Contains details of the highest severity threat detected during scan and - number of infected files. - """ - - severity: str | None = ... - """Severity level of the highest severity threat detected.""" - threat_name: str | None = ... - """ - Threat name of the highest severity threat detected as part of the - malware scan. - """ - count: int | None = ... - """ - Total number of infected files with the highest severity threat - detected. - """ - -@dataclass(kw_only=True) -class HostPath(_SerdeShape): - """ - Represents a pre-existing file or directory on the host machine that the - volume maps to. - """ - - path: str | None = ... - """Path of the file or directory on the host that the volume maps to.""" - -@dataclass(kw_only=True) -class IamInstanceProfile(_SerdeShape): - """Contains information about the EC2 instance profile.""" - - arn: str | None = ... - """The profile ARN of the EC2 instance.""" - id: str | None = ... - """The profile ID of the EC2 instance.""" - -@dataclass(kw_only=True) -class IamInstanceProfileV2(_SerdeShape): - """ - Contains information about the IAM instance profile involved in a - GuardDuty finding, including unique identifiers of the Amazon EC2 - instances. - """ - - ec2_instance_uids: list[str] | None = ... - """ - A list of unique identifiers for the compromised Amazon EC2 instances - that share the same IAM instance profile. - """ - -@dataclass(kw_only=True) -class ImpersonatedUser(_SerdeShape): - """Contains information about the impersonated user.""" - - username: str | None = ... - """Information about the `username` that was being impersonated.""" - groups: list[str] | None = ... - """The `group` to which the user name belongs.""" - -@dataclass(kw_only=True) -class IncrementalScanDetails(_SerdeShape): - """Contains information about the incremental scan configuration.""" - - baseline_resource_arn: str | None = ... - """ - Amazon Resource Name (ARN) of the baseline resource used for incremental - scanning. The scan will only process changes since this baseline - resource was created. - """ - -@dataclass(kw_only=True) -class Indicator(_SerdeShape): - """ - Contains information about the indicators that include a set of signals - observed in an attack sequence. - """ - - key: str | None = ... - """ - Specific indicator keys observed in the attack sequence. For description - of the valid values for key, see [Attack sequence finding - details](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings-summary.html#guardduty-extended-threat-detection-attack-sequence-finding-details) - in the *Amazon GuardDuty User Guide*. - """ - values: list[str] | None = ... - """ - Values associated with each indicator key. For example, if the indicator - key is `SUSPICIOUS_NETWORK`, then the value will be the name of the - network. If the indicator key is `ATTACK_TACTIC`, then the value will be - one of the MITRE tactics. - """ - title: str | None = ... - """Title describing the indicator.""" - -class IndicatorType(UnknownEnumMixin, StrEnum): - SUSPICIOUS_USER_AGENT = "SUSPICIOUS_USER_AGENT" - SUSPICIOUS_NETWORK = "SUSPICIOUS_NETWORK" - MALICIOUS_IP = "MALICIOUS_IP" - TOR_IP = "TOR_IP" - ATTACK_TACTIC = "ATTACK_TACTIC" - HIGH_RISK_API = "HIGH_RISK_API" - ATTACK_TECHNIQUE = "ATTACK_TECHNIQUE" - UNUSUAL_API_FOR_ACCOUNT = "UNUSUAL_API_FOR_ACCOUNT" - UNUSUAL_ASN_FOR_ACCOUNT = "UNUSUAL_ASN_FOR_ACCOUNT" - UNUSUAL_ASN_FOR_USER = "UNUSUAL_ASN_FOR_USER" - SUSPICIOUS_PROCESS = "SUSPICIOUS_PROCESS" - MALICIOUS_DOMAIN = "MALICIOUS_DOMAIN" - MALICIOUS_PROCESS = "MALICIOUS_PROCESS" - CRYPTOMINING_IP = "CRYPTOMINING_IP" - CRYPTOMINING_DOMAIN = "CRYPTOMINING_DOMAIN" - CRYPTOMINING_PROCESS = "CRYPTOMINING_PROCESS" - MALICIOUS_FILE = "MALICIOUS_FILE" - VULNERABILITY = "VULNERABILITY" - MALICIOUS_PACKAGE = "MALICIOUS_PACKAGE" - MISCONFIGURATION = "MISCONFIGURATION" - REACHABILITY = "REACHABILITY" - SENSITIVE_DATA = "SENSITIVE_DATA" - -@dataclass(kw_only=True) -class InstanceDetails(_SerdeShape): - """Contains information about the details of an instance.""" - - availability_zone: str | None = ... - """The Availability Zone of the EC2 instance.""" - iam_instance_profile: IamInstanceProfile | None = ... - """The profile information of the EC2 instance.""" - image_description: str | None = ... - """The image description of the EC2 instance.""" - image_id: str | None = ... - """The image ID of the EC2 instance.""" - instance_id: str | None = ... - """The ID of the EC2 instance.""" - instance_state: str | None = ... - """The state of the EC2 instance.""" - instance_type: str | None = ... - """The type of the EC2 instance.""" - outpost_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. Only - applicable to Amazon Web Services Outposts instances. - """ - launch_time: str | None = ... - """The launch time of the EC2 instance.""" - network_interfaces: list[NetworkInterface] | None = ... - """The elastic network interface information of the EC2 instance.""" - platform: str | None = ... - """The platform of the EC2 instance.""" - product_codes: list[ProductCode] | None = ... - """The product code of the EC2 instance.""" - tags: list[Tag] | None = ... - """The tags of the EC2 instance.""" - -@dataclass(kw_only=True) -class InternalServerErrorException(ServiceError, _SerdeShape): - """An internal server error exception object.""" - - type: str | None = ... - """The error type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Investigation(_SerdeShape): - """Contains the details and results of a GuardDuty investigation.""" - - investigation_id: str | None = ... - """The unique identifier of the investigation.""" - status: str | None = ... - """ - The current status of the investigation. Possible values are `RUNNING`, - `COMPLETED`, and `FAILED`. - """ - trigger_prompt: str | None = ... - """The natural-language prompt that initiated this investigation.""" - triggered_by: str | None = ... - """The account that initiated the investigation.""" - metadata: InvestigationMetadata | None = ... - """Metadata about the product and version that produced the investigation.""" - cloud: CloudDetails | None = ... - """ - Details about the cloud environment in which the investigation was - performed, including the provider, region, and account. - """ - risk_level: str | None = ... - """ - The assessed risk level of the investigated threat. Possible values are - `Info`, `Low`, `Medium`, `High`, and `Critical`. - """ - risk: str | None = ... - """A human-readable description of the assessed risk.""" - confidence: str | None = ... - """ - The confidence level of the investigation's assessment. Possible values - are `Unknown`, `Low`, `Medium`, and `High`. - """ - summary: str | None = ... - """ - A structured summary of the investigation findings, including affected - resources, threat assessment, and recommended remediation steps. - """ - start_time: datetime | None = ... - """The timestamp at which the investigation started.""" - end_time: datetime | None = ... - """The timestamp at which the investigation completed.""" - error: str | None = ... - """Details about the error if the investigation status is `FAILED`.""" - -@dataclass(kw_only=True) -class InvestigationMetadata(_SerdeShape): - """ - Contains metadata about the product and version that produced an - investigation. - """ - - version: str | None = ... - """The version of the investigation engine that produced the results.""" - product: Product | None = ... - """Information about the product that produced the investigation.""" - -@dataclass(kw_only=True) -class InvestigationSortCriteria(_SerdeShape): - """Contains information about the criteria used for sorting investigations.""" - - attribute_name: str | None = ... - """The attribute by which to sort investigations.""" - order_by: str | None = ... - """The order in which the sorted results are to be displayed.""" - -class InvestigationSortField(UnknownEnumMixin, StrEnum): - START_TIME = "START_TIME" - END_TIME = "END_TIME" - STATUS = "STATUS" - RISK_LEVEL = "RISK_LEVEL" - CONFIDENCE = "CONFIDENCE" - -class InvestigationStatus(UnknownEnumMixin, StrEnum): - RUNNING = "RUNNING" - COMPLETED = "COMPLETED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class InvestigationSummary(_SerdeShape): - """Contains summary information about a GuardDuty investigation.""" - - investigation_id: str | None = ... - """The unique identifier of the investigation.""" - status: str | None = ... - """The current status of the investigation.""" - trigger_prompt: str | None = ... - """The natural-language prompt that initiated this investigation.""" - risk_level: str | None = ... - """The assessed risk level of the investigated threat.""" - confidence: str | None = ... - """The confidence level of the investigation's assessment.""" - title: str | None = ... - """A short title summarizing the investigation.""" - account_id: str | None = ... - """The Amazon Web Services account ID associated with the investigation.""" - start_time: datetime | None = ... - """The timestamp at which the investigation started.""" - end_time: datetime | None = ... - """The timestamp at which the investigation completed.""" - -@dataclass(kw_only=True) -class Invitation(_SerdeShape): - """Contains information about the invitation to become a member account.""" - - account_id: str | None = ... - """The ID of the account that the invitation was sent from.""" - invitation_id: str | None = ... - """ - The ID of the invitation. This value is used to validate the inviter - account to the member account. - """ - relationship_status: str | None = ... - """The status of the relationship between the inviter and invitee accounts.""" - invited_at: str | None = ... - """The timestamp when the invitation was sent.""" - -@dataclass(kw_only=True) -class InviteMembersInput(_SerdeShape): - """Dataclass for InviteMembersInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty account with which you - want to invite members. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - account_ids: list[str] | None = ... - """ - A list of account IDs of the accounts that you want to invite to - GuardDuty as members. - """ - disable_email_notification: bool | None = ... - """ - A Boolean value that specifies whether you want to disable email - notification to the accounts that you are inviting to GuardDuty as - members. - """ - message: str | None = ... - """ - The invitation message that you want to send to the accounts that - you're inviting to GuardDuty as members. - """ - -@dataclass(kw_only=True) -class InviteMembersOutput(_SerdeShape): - """Dataclass for InviteMembersOutput structure.""" - - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of objects that contain the unprocessed account and a result - string that explains why it was unprocessed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class IpSetFormat(UnknownEnumMixin, StrEnum): - TXT = "TXT" - STIX = "STIX" - OTX_CSV = "OTX_CSV" - ALIEN_VAULT = "ALIEN_VAULT" - PROOF_POINT = "PROOF_POINT" - FIRE_EYE = "FIRE_EYE" - -class IpSetStatus(UnknownEnumMixin, StrEnum): - INACTIVE = "INACTIVE" - ACTIVATING = "ACTIVATING" - ACTIVE = "ACTIVE" - DEACTIVATING = "DEACTIVATING" - ERROR = "ERROR" - DELETE_PENDING = "DELETE_PENDING" - DELETED = "DELETED" - -@dataclass(kw_only=True) -class ItemDetails(_SerdeShape): - """Contains detailed information about where a threat was detected.""" - - resource_arn: str | None = ... - """ - Amazon Resource Name (ARN) of the resource where the threat was - detected. - """ - item_path: str | None = ... - """The path where the threat was detected.""" - hash: str | None = ... - """The hash value of the infected item.""" - additional_info: AdditionalInfo | None = ... - """Additional information about the detected threat item.""" - -@dataclass(kw_only=True) -class ItemPath(_SerdeShape): - """ - Information about the nested item path and hash of the protected - resource. - """ - - nested_item_path: str | None = ... - """The nested item path where the infected file was found.""" - hash: str | None = ... - """The hash value of the infected resource.""" - -@dataclass(kw_only=True) -class KubernetesApiCallAction(_SerdeShape): - """ - Information about the Kubernetes API call action described in this - finding. - """ - - request_uri: str | None = ... - """The Kubernetes API request URI.""" - verb: str | None = ... - """The Kubernetes API request HTTP verb.""" - resource: str | None = ... - """The resource component in the Kubernetes API call action.""" - subresource: str | None = ... - """The name of the sub-resource in the Kubernetes API call action.""" - namespace: str | None = ... - """ - The name of the namespace where the Kubernetes API call action takes - place. - """ - resource_name: str | None = ... - """The name of the resource in the Kubernetes API call action.""" - source_ips: list[str] | None = ... - """ - The IP of the Kubernetes API caller and the IPs of any proxies or load - balancers between the caller and the API endpoint. - """ - user_agent: str | None = ... - """The user agent of the caller of the Kubernetes API.""" - remote_ip_details: RemoteIpDetails | None = ... - """Contains information about the remote IP address of the connection.""" - status_code: int | None = ... - """The resulting HTTP response code of the Kubernetes API call action.""" - parameters: str | None = ... - """Parameters related to the Kubernetes API call action.""" - -@dataclass(kw_only=True) -class KubernetesAuditLogsConfiguration(_SerdeShape): - """Describes whether Kubernetes audit logs are enabled as a data source.""" - - enable: bool | None = ... - """The status of Kubernetes audit logs as a data source.""" - -@dataclass(kw_only=True) -class KubernetesAuditLogsConfigurationResult(_SerdeShape): - """Describes whether Kubernetes audit logs are enabled as a data source.""" - - status: str | None = ... - """ - A value that describes whether Kubernetes audit logs are enabled as a - data source. - """ - -@dataclass(kw_only=True) -class KubernetesConfiguration(_SerdeShape): - """Describes whether any Kubernetes data sources are enabled.""" - - audit_logs: KubernetesAuditLogsConfiguration | None = ... - """The status of Kubernetes audit logs as a data source.""" - -@dataclass(kw_only=True) -class KubernetesConfigurationResult(_SerdeShape): - """Describes whether any Kubernetes logs will be enabled as a data source.""" - - audit_logs: KubernetesAuditLogsConfigurationResult | None = ... - """Describes whether Kubernetes audit logs are enabled as a data source.""" - -@dataclass(kw_only=True) -class KubernetesDataSourceFreeTrial(_SerdeShape): - """ - Provides details about the Kubernetes resources when it is enabled as a - data source. - """ - - audit_logs: DataSourceFreeTrial | None = ... - """Describes whether Kubernetes audit logs are enabled as a data source.""" - -@dataclass(kw_only=True) -class KubernetesDetails(_SerdeShape): - """ - Details about Kubernetes resources such as a Kubernetes user or workload - resource involved in a Kubernetes finding. - """ - - kubernetes_user_details: KubernetesUserDetails | None = ... - """Details about the Kubernetes user involved in a Kubernetes finding.""" - kubernetes_workload_details: KubernetesWorkloadDetails | None = ... - """Details about the Kubernetes workload involved in a Kubernetes finding.""" - -@dataclass(kw_only=True) -class KubernetesPermissionCheckedDetails(_SerdeShape): - """ - Information about the Kubernetes API for which you check if you have - permission to call. - """ - - verb: str | None = ... - """ - The verb component of the Kubernetes API call. For example, when you - check whether or not you have the permission to call the `CreatePod` - API, the verb component will be `Create`. - """ - resource: str | None = ... - """ - The Kubernetes resource with which your Kubernetes API call will - interact. - """ - namespace: str | None = ... - """The namespace where the Kubernetes API action will take place.""" - allowed: bool | None = ... - """ - Information whether the user has the permission to call the Kubernetes - API. - """ - -class KubernetesResourcesTypes(UnknownEnumMixin, StrEnum): - PODS = "PODS" - JOBS = "JOBS" - CRONJOBS = "CRONJOBS" - DEPLOYMENTS = "DEPLOYMENTS" - DAEMONSETS = "DAEMONSETS" - STATEFULSETS = "STATEFULSETS" - REPLICASETS = "REPLICASETS" - REPLICATIONCONTROLLERS = "REPLICATIONCONTROLLERS" - -@dataclass(kw_only=True) -class KubernetesRoleBindingDetails(_SerdeShape): - """ - Contains information about the role binding that grants the permission - defined in a Kubernetes role. - """ - - kind: str | None = ... - """ - The kind of the role. For role binding, this value will be - `RoleBinding`. - """ - name: str | None = ... - """The name of the `RoleBinding`.""" - uid: str | None = ... - """The unique identifier of the role binding.""" - role_ref_name: str | None = ... - """ - The name of the role being referenced. This must match the name of the - `Role` or `ClusterRole` that you want to bind to. - """ - role_ref_kind: str | None = ... - """ - The type of the role being referenced. This could be either `Role` or - `ClusterRole`. - """ - -@dataclass(kw_only=True) -class KubernetesRoleDetails(_SerdeShape): - """Information about the Kubernetes role name and role type.""" - - kind: str | None = ... - """The kind of role. For this API, the value of `kind` will be `Role`.""" - name: str | None = ... - """The name of the Kubernetes role.""" - uid: str | None = ... - """The unique identifier of the Kubernetes role name.""" - -@dataclass(kw_only=True) -class KubernetesUserDetails(_SerdeShape): - """Details about the Kubernetes user involved in a Kubernetes finding.""" - - username: str | None = ... - """The username of the user who called the Kubernetes API.""" - uid: str | None = ... - """The user ID of the user who called the Kubernetes API.""" - groups: list[str] | None = ... - """The groups that include the user who called the Kubernetes API.""" - session_name: list[str] | None = ... - """ - Entity that assumes the IAM role when Kubernetes RBAC permissions are - assigned to that role. - """ - impersonated_user: ImpersonatedUser | None = ... - """Information about the impersonated user.""" - -@dataclass(kw_only=True) -class KubernetesWorkload(_SerdeShape): - """ - Contains information about Kubernetes workloads involved in a GuardDuty - finding, including pods, deployments, and other Kubernetes resources. - """ - - container_uids: list[str] | None = ... - """ - A list of unique identifiers for the containers that are part of the - Kubernetes workload. - """ - namespace: str | None = ... - """ - The Kubernetes namespace in which the workload is running, providing - logical isolation within the cluster. - """ - kubernetes_resources_types: str | None = ... - """The types of Kubernetes resources involved in the workload.""" - -@dataclass(kw_only=True) -class KubernetesWorkloadDetails(_SerdeShape): - """Details about the Kubernetes workload involved in a Kubernetes finding.""" - - name: str | None = ... - """Kubernetes workload name.""" - type: str | None = ... - """Kubernetes workload type (e.g. Pod, Deployment, etc.).""" - uid: str | None = ... - """Kubernetes workload ID.""" - namespace: str | None = ... - """Kubernetes namespace that the workload is part of.""" - host_network: bool | None = ... - """ - Whether the hostNetwork flag is enabled for the pods included in the - workload. - """ - service_account_name: str | None = ... - """The service account name that is associated with a Kubernetes workload.""" - containers: list[Container] | None = ... - """Containers running as part of the Kubernetes workload.""" - volumes: list[Volume] | None = ... - """Volumes used by the Kubernetes workload.""" - host_ipc: bool | None = ... - """Whether the host IPC flag is enabled for the pods in the workload.""" - host_pid: bool | None = ... - """Whether the host PID flag is enabled for the pods in the workload.""" - -@dataclass(kw_only=True) -class LambdaDetails(_SerdeShape): - """Information about the Lambda function involved in the finding.""" - - function_arn: str | None = ... - """Amazon Resource Name (ARN) of the Lambda function.""" - function_name: str | None = ... - """Name of the Lambda function.""" - description: str | None = ... - """Description of the Lambda function.""" - last_modified_at: datetime | None = ... - """ - The timestamp when the Lambda function was last modified. This field is - in the UTC date string format `(2023-03-22T19:37:20.168Z)`. - """ - revision_id: str | None = ... - """The revision ID of the Lambda function version.""" - function_version: str | None = ... - """The version of the Lambda function.""" - role: str | None = ... - """The execution role of the Lambda function.""" - vpc_config: VpcConfig | None = ... - """ - Amazon Virtual Private Cloud configuration details associated with your - Lambda function. - """ - tags: list[Tag] | None = ... - """ - A list of tags attached to this resource, listed in the format of - `key`:`value` pair. - """ - -@dataclass(kw_only=True) -class LineageObject(_SerdeShape): - """Information about the runtime process details.""" - - start_time: datetime | None = ... - """The time when the process started. This is in UTC format.""" - namespace_pid: int | None = ... - """The process ID of the child process.""" - user_id: int | None = ... - """The user ID of the user that executed the process.""" - name: str | None = ... - """The name of the process.""" - pid: int | None = ... - """The ID of the process.""" - uuid: str | None = ... - """The unique ID assigned to the process by GuardDuty.""" - executable_path: str | None = ... - """The absolute path of the process executable file.""" - euid: int | None = ... - """The effective user ID that was used to execute the process.""" - parent_uuid: str | None = ... - """ - The unique ID of the parent process. This ID is assigned to the parent - process by GuardDuty. - """ - -@dataclass(kw_only=True) -class ListCoverageInput(_SerdeShape): - """Dataclass for ListCoverageInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector whose coverage details you want to - retrieve. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - next_token: str | None = ... - """ - A token to use for paginating results that are returned in the response. - Set the value of this parameter to null for the first request to a list - action. For subsequent calls, use the NextToken value returned from the - previous request to continue listing results after the first page. - """ - max_results: int | None = ... - """The maximum number of results to return in the response.""" - filter_criteria: CoverageFilterCriteria | None = ... - """Represents the criteria used to filter the coverage details.""" - sort_criteria: CoverageSortCriteria | None = ... - """Represents the criteria used to sort the coverage details.""" - -@dataclass(kw_only=True) -class ListCoverageOutput(_SerdeShape): - """Dataclass for ListCoverageOutput structure.""" - - resources: list[CoverageResource] | None = ... - """A list of resources and their attributes providing cluster details.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCustomDetectionRuleAssociationsInput(_SerdeShape): - """Dataclass for ListCustomDetectionRuleAssociationsInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in a single page. Minimum value - of 1, maximum value of 100. - """ - next_token: str | None = ... - """ - A pagination token from a previous response. Use this token to retrieve - the next page of results. - """ - rule_id: str | None = ... - """ - The unique identifier for the custom detection rule to filter - associations by. - """ - mode: str | None = ... - """The rule execution mode to filter associations by.""" - -@dataclass(kw_only=True) -class ListCustomDetectionRuleAssociationsOutput(_SerdeShape): - """Dataclass for ListCustomDetectionRuleAssociationsOutput structure.""" - - rule_associations: list[AssociationSummary] | None = ... - """A list of custom detection rule association summaries.""" - next_token: str | None = ... - """ - A pagination token to retrieve the next page of results. If this field - is empty, there are no additional results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCustomDetectionRuleOrgConfigurationsInput(_SerdeShape): - """Dataclass for ListCustomDetectionRuleOrgConfigurationsInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in a single page. Minimum value - of 1, maximum value of 100. - """ - next_token: str | None = ... - """ - A pagination token from a previous response. Use this token to retrieve - the next page of results. - """ - status: str | None = ... - """The configuration status to filter by.""" - -@dataclass(kw_only=True) -class ListCustomDetectionRuleOrgConfigurationsOutput(_SerdeShape): - """Dataclass for ListCustomDetectionRuleOrgConfigurationsOutput structure.""" - - configurations: list[DetectionRuleOrgConfigurationSummary] | None = ... - """A list of organization configurations for custom detection rules.""" - next_token: str | None = ... - """ - A pagination token to retrieve the next page of results. If this field - is empty, there are no additional results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCustomDetectionRulesInput(_SerdeShape): - """Dataclass for ListCustomDetectionRulesInput structure.""" - - max_results: int | None = ... - """ - The maximum number of results to return in a single page. Minimum value - of 1, maximum value of 100. - """ - next_token: str | None = ... - """ - A pagination token from a previous response. Use this token to retrieve - the next page of results. - """ - filters: list[DetectionRuleFilter] | None = ... - """A list of filter criteria to apply when listing custom detection rules.""" - -@dataclass(kw_only=True) -class ListCustomDetectionRulesOutput(_SerdeShape): - """Dataclass for ListCustomDetectionRulesOutput structure.""" - - rules: list[RuleSummary] | None = ... - """A list of custom detection rule summaries.""" - next_token: str | None = ... - """ - A pagination token to retrieve the next page of results. If this field - is empty, there are no additional results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDetectorsInput(_SerdeShape): - """Dataclass for ListDetectorsInput structure.""" - - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items that - you want in the response. The default value is 50. The maximum value is - 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - -@dataclass(kw_only=True) -class ListDetectorsOutput(_SerdeShape): - """Dataclass for ListDetectorsOutput structure.""" - - detector_ids: list[str] | None = ... - """A list of detector IDs.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFiltersInput(_SerdeShape): - """Dataclass for ListFiltersInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with the filter. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items that - you want in the response. The default value is 50. The maximum value is - 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - -@dataclass(kw_only=True) -class ListFiltersOutput(_SerdeShape): - """Dataclass for ListFiltersOutput structure.""" - - filter_names: list[str] | None = ... - """A list of filter names.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFindingsInput(_SerdeShape): - """Dataclass for ListFindingsInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector that specifies the GuardDuty service whose - findings you want to list. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - finding_criteria: FindingCriteria | None = ... - """ - Represents the criteria used for querying findings. Valid values - include: - - - JSON field name - - - accountId - - - region - - - confidence - - - id - - - resource.accessKeyDetails.accessKeyId - - - resource.accessKeyDetails.principalId - - - resource.accessKeyDetails.userName - - - resource.accessKeyDetails.userType - - - resource.instanceDetails.iamInstanceProfile.id - - - resource.instanceDetails.imageId - - - resource.instanceDetails.instanceId - - - resource.instanceDetails.networkInterfaces.ipv6Addresses - - - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress - - - resource.instanceDetails.networkInterfaces.publicDnsName - - - resource.instanceDetails.networkInterfaces.publicIp - - - resource.instanceDetails.networkInterfaces.securityGroups.groupId - - - resource.instanceDetails.networkInterfaces.securityGroups.groupName - - - resource.instanceDetails.networkInterfaces.subnetId - - - resource.instanceDetails.networkInterfaces.vpcId - - - resource.instanceDetails.tags.key - - - resource.instanceDetails.tags.value - - - resource.resourceType - - - service.action.actionType - - - service.action.awsApiCallAction.api - - - service.action.awsApiCallAction.callerType - - - service.action.awsApiCallAction.remoteIpDetails.city.cityName - - - service.action.awsApiCallAction.remoteIpDetails.country.countryName - - - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 - - - service.action.awsApiCallAction.remoteIpDetails.organization.asn - - - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg - - - service.action.awsApiCallAction.serviceName - - - service.action.dnsRequestAction.domain - - - service.action.dnsRequestAction.domainWithSuffix - - - service.action.networkConnectionAction.blocked - - - service.action.networkConnectionAction.connectionDirection - - - service.action.networkConnectionAction.localPortDetails.port - - - service.action.networkConnectionAction.protocol - - - service.action.networkConnectionAction.remoteIpDetails.country.countryName - - - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 - - - service.action.networkConnectionAction.remoteIpDetails.organization.asn - - - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg - - - service.action.networkConnectionAction.remotePortDetails.port - - - service.additionalInfo.threatListName - - - service.archived - - When this attribute is set to 'true', only archived findings are - listed. When it's set to 'false', only unarchived findings are - listed. When this attribute is not set, all existing findings are - listed. - - - service.ebsVolumeScanDetails.scanId - - - service.resourceRole - - - severity - - - type - - - updatedAt - - Type: Timestamp in Unix Epoch millisecond format: 1486685375000 - """ - sort_criteria: SortCriteria | None = ... - """Represents the criteria used for sorting findings.""" - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items you - want in the response. The default value is 50. The maximum value is 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - -@dataclass(kw_only=True) -class ListFindingsOutput(_SerdeShape): - """Dataclass for ListFindingsOutput structure.""" - - finding_ids: list[str] | None = ... - """The IDs of the findings that you're listing.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInvestigationsInput(_SerdeShape): - """Dataclass for ListInvestigationsInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the GuardDuty detector whose investigations you want to - list. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - sort_criteria: InvestigationSortCriteria | None = ... - """Represents the criteria used for sorting investigations.""" - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items you - want in the response. The default value is 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - -@dataclass(kw_only=True) -class ListInvestigationsOutput(_SerdeShape): - """Dataclass for ListInvestigationsOutput structure.""" - - investigations: list[InvestigationSummary] | None = ... - """ - A list of investigation summaries associated with the specified - detector. - """ - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInvitationsInput(_SerdeShape): - """Dataclass for ListInvitationsInput structure.""" - - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items that - you want in the response. The default value is 50. The maximum value is - 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - -@dataclass(kw_only=True) -class ListInvitationsOutput(_SerdeShape): - """Dataclass for ListInvitationsOutput structure.""" - - invitations: list[Invitation] | None = ... - """A list of invitation descriptions.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListIPSetsInput(_SerdeShape): - """Dataclass for ListIPSetsInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with IPSet. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items you - want in the response. The default value is 50. The maximum value is 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - -@dataclass(kw_only=True) -class ListIPSetsOutput(_SerdeShape): - """Dataclass for ListIPSetsOutput structure.""" - - ip_set_ids: list[str] | None = ... - """The IDs of the IPSet resources.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListMalwareProtectionPlansInput(_SerdeShape): - """Dataclass for ListMalwareProtectionPlansInput structure.""" - - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of `NextToken` from the previous response to continue listing - data. The default page size is 100 plans. - """ - -@dataclass(kw_only=True) -class ListMalwareProtectionPlansOutput(_SerdeShape): - """Dataclass for ListMalwareProtectionPlansOutput structure.""" - - malware_protection_plans: list[MalwareProtectionPlanSummary] | None = ... - """ - A list of unique identifiers associated with each Malware Protection - plan. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of `NextToken` from the previous response to continue listing - data. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ListMalwareScansCriterionKey(UnknownEnumMixin, StrEnum): - RESOURCE_ARN = "RESOURCE_ARN" - SCAN_ID = "SCAN_ID" - ACCOUNT_ID = "ACCOUNT_ID" - GUARDDUTY_FINDING_ID = "GUARDDUTY_FINDING_ID" - RESOURCE_TYPE = "RESOURCE_TYPE" - SCAN_START_TIME = "SCAN_START_TIME" - SCAN_STATUS = "SCAN_STATUS" - SCAN_TYPE = "SCAN_TYPE" - -@dataclass(kw_only=True) -class ListMalwareScansFilterCriteria(_SerdeShape): - """Represents the criteria used to filter the malware scan entries.""" - - list_malware_scans_filter_criterion: ( - list[ListMalwareScansFilterCriterion] | None - ) = ... - """ - Represents a condition that when matched will be added to the response - of the operation. - """ - -@dataclass(kw_only=True) -class ListMalwareScansFilterCriterion(_SerdeShape): - """ - Represents a condition that when matched will be added to the response - of the operation. Irrespective of using any filter criteria, an - administrator account can view the scan entries for all of its member - accounts. However, each member account can view the scan entries only - for their own account. - """ - - list_malware_scans_criterion_key: str | None = ... - """ - An enum value representing possible scan properties to match with given - scan entries. - """ - filter_condition: FilterCondition | None = ... - """Contains information about the condition.""" - -@dataclass(kw_only=True) -class ListMalwareScansInput(_SerdeShape): - """Dataclass for ListMalwareScansInput structure.""" - - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items that - you want in the response. The default value is 50. The maximum value is - 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing - results. - """ - filter_criteria: ListMalwareScansFilterCriteria | None = ... - """Represents the criteria used to filter the malware scan entries.""" - sort_criteria: SortCriteria | None = ... - """Represents the criteria used for sorting malware scan entries.""" - -@dataclass(kw_only=True) -class ListMalwareScansOutput(_SerdeShape): - """Dataclass for ListMalwareScansOutput structure.""" - - scans: list[MalwareScan] | None = ... - """The list of malware scans associated with the provided input parameters.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more scans. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListMembersInput(_SerdeShape): - """Dataclass for ListMembersInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with the member. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items you - want in the response. The default value is 50. The maximum value is 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - only_associated: str | None = ... - """ - Specifies whether to only return associated members or to return all - members (including members who haven't been invited yet or have been - disassociated). Member accounts must have been previously associated - with the GuardDuty administrator account using - [`Create Members`](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html) - . - """ - -@dataclass(kw_only=True) -class ListMembersOutput(_SerdeShape): - """Dataclass for ListMembersOutput structure.""" - - members: list[Member] | None = ... - """ - A list of members. - - Note: - The values for `email` and `invitedAt` are available only if the member - accounts are added by invitation. - """ - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListOrganizationAdminAccountsInput(_SerdeShape): - """Dataclass for ListOrganizationAdminAccountsInput structure.""" - - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """ - A token to use for paginating results that are returned in the response. - Set the value of this parameter to null for the first request to a list - action. For subsequent calls, use the `NextToken` value returned from - the previous request to continue listing results after the first page. - """ - -@dataclass(kw_only=True) -class ListOrganizationAdminAccountsOutput(_SerdeShape): - """Dataclass for ListOrganizationAdminAccountsOutput structure.""" - - admin_accounts: list[AdminAccount] | None = ... - """A list of accounts configured as GuardDuty delegated administrators.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPublishingDestinationsInput(_SerdeShape): - """Dataclass for ListPublishingDestinationsInput structure.""" - - detector_id: str | None = ... - """ - The detector ID for which you want to retrieve the publishing - destination. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - max_results: int | None = ... - """The maximum number of results to return in the response.""" - next_token: str | None = ... - """ - A token to use for paginating results that are returned in the response. - Set the value of this parameter to null for the first request to a list - action. For subsequent calls, use the `NextToken` value returned from - the previous request to continue listing results after the first page. - """ - -@dataclass(kw_only=True) -class ListPublishingDestinationsOutput(_SerdeShape): - """Dataclass for ListPublishingDestinationsOutput structure.""" - - destinations: list[Destination] | None = ... - """ - A `Destinations` object that includes information about each publishing - destination returned. - """ - next_token: str | None = ... - """ - A token to use for paginating results that are returned in the response. - Set the value of this parameter to null for the first request to a list - action. For subsequent calls, use the `NextToken` value returned from - the previous request to continue listing results after the first page. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceInput(_SerdeShape): - """Dataclass for ListTagsForResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) for the given GuardDuty resource.""" - -@dataclass(kw_only=True) -class ListTagsForResourceOutput(_SerdeShape): - """Dataclass for ListTagsForResourceOutput structure.""" - - tags: dict[str, str] | None = ... - """The tags associated with the resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListThreatEntitySetsInput(_SerdeShape): - """Dataclass for ListThreatEntitySetsInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the GuardDuty detector that is associated with this - threat entity set. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items you - want in the response. The default value is 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - -@dataclass(kw_only=True) -class ListThreatEntitySetsOutput(_SerdeShape): - """Dataclass for ListThreatEntitySetsOutput structure.""" - - threat_entity_set_ids: list[str] | None = ... - """The IDs of the threat entity set resources.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListThreatIntelSetsInput(_SerdeShape): - """Dataclass for ListThreatIntelSetsInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with the - threatIntelSet. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items that - you want in the response. The default value is 50. The maximum value is - 50. - """ - next_token: str | None = ... - """ - You can use this parameter to paginate results in the response. Set the - value of this parameter to null on your first call to the list action. - For subsequent calls to the action, fill nextToken in the request with - the value of NextToken from the previous response to continue listing - data. - """ - -@dataclass(kw_only=True) -class ListThreatIntelSetsOutput(_SerdeShape): - """Dataclass for ListThreatIntelSetsOutput structure.""" - - threat_intel_set_ids: list[str] | None = ... - """The IDs of the ThreatIntelSet resources.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTrustedEntitySetsInput(_SerdeShape): - """Dataclass for ListTrustedEntitySetsInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the GuardDuty detector that is associated with this - threat entity set. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - max_results: int | None = ... - """ - You can use this parameter to indicate the maximum number of items you - want in the response. The default value is 50. - """ - next_token: str | None = ... - """ - You can use this parameter when paginating results. Set the value of - this parameter to null on your first call to the list action. For - subsequent calls to the action, fill nextToken in the request with the - value of NextToken from the previous response to continue listing data. - """ - -@dataclass(kw_only=True) -class ListTrustedEntitySetsOutput(_SerdeShape): - """Dataclass for ListTrustedEntitySetsOutput structure.""" - - trusted_entity_set_ids: list[str] | None = ... - """The IDs of the trusted entity set resources.""" - next_token: str | None = ... - """ - The pagination parameter to be used on the next list operation to - retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LocalIpDetails(_SerdeShape): - """Contains information about the local IP address of the connection.""" - - ip_address_v4: str | None = ... - """The IPv4 local address of the connection.""" - ip_address_v6: str | None = ... - """The IPv6 local address of the connection.""" - -@dataclass(kw_only=True) -class LocalPortDetails(_SerdeShape): - """Contains information about the port for the local connection.""" - - port: int | None = ... - """The port number of the local connection.""" - port_name: str | None = ... - """The port name of the local connection.""" - -@dataclass(kw_only=True) -class LoginAttribute(_SerdeShape): - """Information about the login attempts.""" - - user: str | None = ... - """Indicates the user name which attempted to log in.""" - application: str | None = ... - """Indicates the application name used to attempt log in.""" - failed_login_attempts: int | None = ... - """ - Represents the sum of failed (unsuccessful) login attempts made to - establish a connection to the database instance. - """ - successful_login_attempts: int | None = ... - """ - Represents the sum of successful connections (a correct combination of - login attributes) made to the database instance by the actor. - """ - -@dataclass(kw_only=True) -class MalwareProtectionConfiguration(_SerdeShape): - """Describes whether Malware Protection will be enabled as a data source.""" - - scan_ec2_instance_with_findings: ScanEc2InstanceWithFindings | None = ... - """ - Describes the configuration of Malware Protection for EC2 instances with - findings. - """ - -@dataclass(kw_only=True) -class MalwareProtectionConfigurationResult(_SerdeShape): - """ - An object that contains information on the status of all Malware - Protection data sources. - """ - - scan_ec2_instance_with_findings: ScanEc2InstanceWithFindingsResult | None = ... - """ - Describes the configuration of Malware Protection for EC2 instances with - findings. - """ - service_role: str | None = ... - """The GuardDuty Malware Protection service role.""" - -@dataclass(kw_only=True) -class MalwareProtectionDataSourceFreeTrial(_SerdeShape): - """ - Provides details about Malware Protection when it is enabled as a data - source. - """ - - scan_ec2_instance_with_findings: DataSourceFreeTrial | None = ... - """ - Describes whether Malware Protection for EC2 instances with findings is - enabled as a data source. - """ - -@dataclass(kw_only=True) -class MalwareProtectionFindingsScanConfiguration(_SerdeShape): - """Contains finding configuration details about the malware scan.""" - - trigger_type: str | None = ... - """The event that triggered the malware scan.""" - incremental_scan_details: IncrementalScanDetails | None = ... - """Contains information about the incremental scan configuration.""" - -@dataclass(kw_only=True) -class MalwareProtectionPlanActions(_SerdeShape): - """ - Information about whether the tags will be added to the S3 object after - scanning. - """ - - tagging: MalwareProtectionPlanTaggingAction | None = ... - """ - Indicates whether the scanned S3 object will have tags about the scan - result. - """ - -class MalwareProtectionPlanStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "ACTIVE" - WARNING = "WARNING" - ERROR = "ERROR" - -@dataclass(kw_only=True) -class MalwareProtectionPlanStatusReason(_SerdeShape): - """ - Information about the issue code and message associated to the status of - your Malware Protection plan. - """ - - code: str | None = ... - """Issue code.""" - message: str | None = ... - """ - Issue message that specifies the reason. For information about potential - troubleshooting steps, see [Troubleshooting Malware Protection for S3 - status - issues](https://docs.aws.amazon.com/guardduty/latest/ug/troubleshoot-s3-malware-protection-status-errors.html) - in the *Amazon GuardDuty User Guide*. - """ - -@dataclass(kw_only=True) -class MalwareProtectionPlanSummary(_SerdeShape): - """Information about the Malware Protection plan resource.""" - - malware_protection_plan_id: str | None = ... - """A unique identifier associated with Malware Protection plan.""" - -@dataclass(kw_only=True) -class MalwareProtectionPlanTaggingAction(_SerdeShape): - """ - Information about adding tags to the scanned S3 object after the scan - result. - """ - - status: str | None = ... - """Indicates whether or not the tags will added.""" - -class MalwareProtectionPlanTaggingActionStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class MalwareProtectionResourceType(UnknownEnumMixin, StrEnum): - EBS_RECOVERY_POINT = "EBS_RECOVERY_POINT" - EBS_SNAPSHOT = "EBS_SNAPSHOT" - EBS_VOLUME = "EBS_VOLUME" - EC2_AMI = "EC2_AMI" - EC2_INSTANCE = "EC2_INSTANCE" - EC2_RECOVERY_POINT = "EC2_RECOVERY_POINT" - S3_RECOVERY_POINT = "S3_RECOVERY_POINT" - S3_BUCKET = "S3_BUCKET" - S3_POINT_IN_TIME_RECOVERY = "S3_POINT_IN_TIME_RECOVERY" - -class MalwareProtectionScanStatus(UnknownEnumMixin, StrEnum): - RUNNING = "RUNNING" - COMPLETED = "COMPLETED" - COMPLETED_WITH_ISSUES = "COMPLETED_WITH_ISSUES" - FAILED = "FAILED" - SKIPPED = "SKIPPED" - -class MalwareProtectionScanType(UnknownEnumMixin, StrEnum): - BACKUP_INITIATED = "BACKUP_INITIATED" - ON_DEMAND = "ON_DEMAND" - GUARDDUTY_INITIATED = "GUARDDUTY_INITIATED" - -@dataclass(kw_only=True) -class MalwareScan(_SerdeShape): - """Contains information about a particular malware scan.""" - - resource_arn: str | None = ... - """Amazon Resource Name (ARN) of the resource for the given malware scan.""" - resource_type: str | None = ... - """The type of resource that was scanned for malware.""" - scan_id: str | None = ... - """ - A unique identifier that gets generated when you invoke the API without - any error. Each malware scan has a corresponding scan ID. Using this - scan ID, you can monitor the status of your malware scan. - """ - scan_status: str | None = ... - """An enum value representing the current status of the malware scan.""" - scan_result_status: str | None = ... - """An enum value representing the result of the malware scan.""" - scan_type: str | None = ... - """An enum value representing the type of scan that was initiated.""" - scan_started_at: datetime | None = ... - """The timestamp representing when the malware scan was started.""" - scan_completed_at: datetime | None = ... - """The timestamp representing when the malware scan was completed.""" - -@dataclass(kw_only=True) -class MalwareScanDetails(_SerdeShape): - """Information about the malware scan that generated a GuardDuty finding.""" - - threats: list[Threat] | None = ... - """ - Information about the detected threats associated with the generated - GuardDuty finding. - """ - scan_id: str | None = ... - """The unique identifier for the malware scan.""" - scan_type: str | None = ... - """The type of malware scan performed.""" - scan_category: str | None = ... - """The category of the malware scan.""" - scan_configuration: MalwareProtectionFindingsScanConfiguration | None = ... - """The configuration settings used for the malware scan.""" - unique_threat_count: int | None = ... - """The number of unique malware threats detected during the scan.""" - -class ManagedBy(UnknownEnumMixin, StrEnum): - GUARDDUTY_POLICY = "GUARDDUTY_POLICY" - -class ManagementType(UnknownEnumMixin, StrEnum): - AUTO_MANAGED = "AUTO_MANAGED" - MANUAL = "MANUAL" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class Master(_SerdeShape): - """Contains information about the administrator account and invitation.""" - - account_id: str | None = ... - """The ID of the account used as the administrator account.""" - invitation_id: str | None = ... - """ - The value used to validate the administrator account to the member - account. - """ - relationship_status: str | None = ... - """ - The status of the relationship between the administrator and member - accounts. - """ - invited_at: str | None = ... - """The timestamp when the invitation was sent.""" - -@dataclass(kw_only=True) -class Member(_SerdeShape): - """Contains information about the member account.""" - - account_id: str | None = ... - """The ID of the member account.""" - detector_id: str | None = ... - """The detector ID of the member account.""" - master_id: str | None = ... - """The administrator account ID.""" - email: str | None = ... - """The email address of the member account.""" - relationship_status: str | None = ... - """The status of the relationship between the member and the administrator.""" - invited_at: str | None = ... - """The timestamp when the invitation was sent.""" - updated_at: str | None = ... - """The last-updated timestamp of the member.""" - administrator_id: str | None = ... - """The administrator account ID.""" - -@dataclass(kw_only=True) -class MemberAdditionalConfiguration(_SerdeShape): - """Information about the additional configuration for the member account.""" - - name: str | None = ... - """Name of the additional configuration.""" - status: str | None = ... - """Status of the additional configuration.""" - -@dataclass(kw_only=True) -class MemberAdditionalConfigurationResult(_SerdeShape): - """Information about the additional configuration for the member account.""" - - name: str | None = ... - """ - Indicates the name of the additional configuration that is set for the - member account. - """ - status: str | None = ... - """ - Indicates the status of the additional configuration that is set for the - member account. - """ - updated_at: datetime | None = ... - """ - The timestamp at which the additional configuration was set for the - member account. This is in UTC format. - """ - managed_by: str | None = ... - """ - Indicates what manages the additional configuration. A value of - `GUARDDUTY_POLICY` means a GuardDuty policy manages the additional - configuration. - """ - -@dataclass(kw_only=True) -class MemberDataSourceConfiguration(_SerdeShape): - """ - Contains information on which data sources are enabled for a member - account. - """ - - account_id: str | None = ... - """The account ID for the member account.""" - data_sources: DataSourceConfigurationsResult | None = ... - """Contains information on the status of data sources for the account.""" - features: list[MemberFeaturesConfigurationResult] | None = ... - """ - Contains information about the status of the features for the member - account. - """ - -@dataclass(kw_only=True) -class MemberFeaturesConfiguration(_SerdeShape): - """Contains information about the features for the member account.""" - - name: str | None = ... - """The name of the feature.""" - status: str | None = ... - """The status of the feature.""" - additional_configuration: list[MemberAdditionalConfiguration] | None = ... - """Additional configuration of the feature for the member account.""" - -@dataclass(kw_only=True) -class MemberFeaturesConfigurationResult(_SerdeShape): - """Contains information about the features for the member account.""" - - name: str | None = ... - """Indicates the name of the feature that is enabled for the detector.""" - status: str | None = ... - """Indicates the status of the feature that is enabled for the detector.""" - updated_at: datetime | None = ... - """The timestamp at which the feature object was updated.""" - additional_configuration: list[MemberAdditionalConfigurationResult] | None = ... - """ - Indicates the additional configuration of the feature that is configured - for the member account. - """ - managed_by: str | None = ... - """ - Indicates what manages the feature. A value of `GUARDDUTY_POLICY` means - a GuardDuty policy manages the feature. - """ - -class MfaStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class ModelDetail(_SerdeShape): - """Contains information about the AI model involved in a finding.""" - - model_id: str | None = ... - """The identifier of the AI model.""" - -@dataclass(kw_only=True) -class NetworkConnection(_SerdeShape): - """Contains information about the network connection.""" - - direction: str | None = ... - """The direction in which the network traffic is flowing.""" - -@dataclass(kw_only=True) -class NetworkConnectionAction(_SerdeShape): - """ - Contains information about the NETWORK_CONNECTION action described in - the finding. - """ - - blocked: bool | None = ... - """Indicates whether EC2 blocked the network connection to your instance.""" - connection_direction: str | None = ... - """The network connection direction.""" - local_port_details: LocalPortDetails | None = ... - """The local port information of the connection.""" - protocol: str | None = ... - """The network connection protocol.""" - local_ip_details: LocalIpDetails | None = ... - """The local IP information of the connection.""" - local_network_interface: str | None = ... - """ - The EC2 instance's local elastic network interface utilized for the - connection. - """ - remote_ip_details: RemoteIpDetails | None = ... - """The remote IP information of the connection.""" - remote_port_details: RemotePortDetails | None = ... - """The remote port information of the connection.""" - -class NetworkDirection(UnknownEnumMixin, StrEnum): - INBOUND = "INBOUND" - OUTBOUND = "OUTBOUND" - -@dataclass(kw_only=True) -class NetworkEndpoint(_SerdeShape): - """ - Contains information about network endpoints that were observed in the - attack sequence. - """ - - id: str | None = ... - """The ID of the network endpoint.""" - ip: str | None = ... - """The IP address associated with the network endpoint.""" - domain: str | None = ... - """The domain information for the network endpoint.""" - port: int | None = ... - """The port number associated with the network endpoint.""" - location: NetworkGeoLocation | None = ... - """Information about the location of the network endpoint.""" - autonomous_system: AutonomousSystem | None = ... - """The Autonomous System (AS) of the network endpoint.""" - connection: NetworkConnection | None = ... - """Information about the network connection.""" - -@dataclass(kw_only=True) -class NetworkGeoLocation(_SerdeShape): - """Contains information about network endpoint location.""" - - city: str | None = ... - """The name of the city.""" - country: str | None = ... - """The name of the country.""" - latitude: float | None = ... - """The latitude information of the endpoint location.""" - longitude: float | None = ... - """The longitude information of the endpoint location.""" - -@dataclass(kw_only=True) -class NetworkInterface(_SerdeShape): - """ - Contains information about the elastic network interface of the EC2 - instance. - """ - - ipv6_addresses: list[str] | None = ... - """A list of IPv6 addresses for the EC2 instance.""" - network_interface_id: str | None = ... - """The ID of the network interface.""" - private_dns_name: str | None = ... - """The private DNS name of the EC2 instance.""" - private_ip_address: str | None = ... - """The private IP address of the EC2 instance.""" - private_ip_addresses: list[PrivateIpAddressDetails] | None = ... - """Other private IP address information of the EC2 instance.""" - public_dns_name: str | None = ... - """The public DNS name of the EC2 instance.""" - public_ip: str | None = ... - """The public IP address of the EC2 instance.""" - security_groups: list[SecurityGroup] | None = ... - """The security groups associated with the EC2 instance.""" - subnet_id: str | None = ... - """The subnet ID of the EC2 instance.""" - vpc_id: str | None = ... - """The VPC ID of the EC2 instance.""" - -@dataclass(kw_only=True) -class Observations(_SerdeShape): - """Contains information about the observed behavior.""" - - text: list[str] | None = ... - """The text that was unusual.""" - number: list[int] | None = ... - """The numeric values that were unusual.""" - -class OrderBy(UnknownEnumMixin, StrEnum): - ASC = "ASC" - DESC = "DESC" - -@dataclass(kw_only=True) -class Organization(_SerdeShape): - """ - Contains information about the ISP organization of the remote IP - address. - """ - - asn: str | None = ... - """ - The Autonomous System Number (ASN) of the internet provider of the - remote IP address. - """ - asn_org: str | None = ... - """The organization that registered this ASN.""" - isp: str | None = ... - """The ISP information for the internet provider.""" - org: str | None = ... - """The name of the internet provider.""" - -@dataclass(kw_only=True) -class OrganizationAdditionalConfiguration(_SerdeShape): - """ - A list of additional configurations which will be configured for the - organization. - - Additional configuration applies to only GuardDuty Runtime Monitoring - protection plan. - """ - - name: str | None = ... - """ - The name of the additional configuration that will be configured for the - organization. These values are applicable to only Runtime Monitoring - protection plan. - """ - auto_enable: str | None = ... - """ - The status of the additional configuration that will be configured for - the organization. Use one of the following values to configure the - feature status for the entire organization: - - - `NEW`: Indicates that when a new account joins the organization, they - will have the additional configuration enabled automatically. - - - `ALL`: Indicates that all accounts in the organization have the - additional configuration enabled automatically. This includes `NEW` - accounts that join the organization and accounts that may have been - suspended or removed from the organization in GuardDuty. - - It may take up to 24 hours to update the configuration for all the - member accounts. - - - `NONE`: Indicates that the additional configuration will not be - automatically enabled for any account in the organization. The - administrator must manage the additional configuration for each - account individually. - """ - -@dataclass(kw_only=True) -class OrganizationAdditionalConfigurationResult(_SerdeShape): - """ - A list of additional configuration which will be configured for the - organization. - """ - - name: str | None = ... - """ - The name of the additional configuration that is configured for the - member accounts within the organization. These values are applicable to - only Runtime Monitoring protection plan. - """ - auto_enable: str | None = ... - """ - Describes the status of the additional configuration that is configured - for the member accounts within the organization. One of the following - values is the status for the entire organization: - - - `NEW`: Indicates that when a new account joins the organization, they - will have the additional configuration enabled automatically. - - - `ALL`: Indicates that all accounts in the organization have the - additional configuration enabled automatically. This includes `NEW` - accounts that join the organization and accounts that may have been - suspended or removed from the organization in GuardDuty. - - It may take up to 24 hours to update the configuration for all the - member accounts. - - - `NONE`: Indicates that the additional configuration will not be - automatically enabled for any account in the organization. The - administrator must manage the additional configuration for each - account individually. - """ - -@dataclass(kw_only=True) -class OrganizationDataSourceConfigurations(_SerdeShape): - """ - An object that contains information on which data sources will be - configured to be automatically enabled for new members within the - organization. - """ - - s3_logs: OrganizationS3LogsConfiguration | None = ... - """ - Describes whether S3 data event logs are enabled for new members of the - organization. - """ - kubernetes: OrganizationKubernetesConfiguration | None = ... - """ - Describes the configuration of Kubernetes data sources for new members - of the organization. - """ - malware_protection: OrganizationMalwareProtectionConfiguration | None = ... - """ - Describes the configuration of Malware Protection for new members of the - organization. - """ - -@dataclass(kw_only=True) -class OrganizationDataSourceConfigurationsResult(_SerdeShape): - """ - An object that contains information on which data sources are - automatically enabled for new members within the organization. - """ - - s3_logs: OrganizationS3LogsConfigurationResult | None = ... - """Describes whether S3 data event logs are enabled as a data source.""" - kubernetes: OrganizationKubernetesConfigurationResult | None = ... - """Describes the configuration of Kubernetes data sources.""" - malware_protection: OrganizationMalwareProtectionConfigurationResult | None = ... - """ - Describes the configuration of Malware Protection data source for an - organization. - """ - -@dataclass(kw_only=True) -class OrganizationDetails(_SerdeShape): - """ - Information about GuardDuty coverage statistics for members in your - Amazon Web Services organization. - """ - - updated_at: datetime | None = ... - """ - The timestamp at which the organization statistics was last updated. - This is in UTC format. - """ - organization_statistics: OrganizationStatistics | None = ... - """ - Information about the GuardDuty coverage statistics for members in your - Amazon Web Services organization. - """ - -@dataclass(kw_only=True) -class OrganizationEbsVolumes(_SerdeShape): - """Organization-wide EBS volumes scan configuration.""" - - auto_enable: bool | None = ... - """ - Whether scanning EBS volumes should be auto-enabled for new members - joining the organization. - """ - -@dataclass(kw_only=True) -class OrganizationEbsVolumesResult(_SerdeShape): - """ - An object that contains information on the status of whether EBS volumes - scanning will be enabled as a data source for an organization. - """ - - auto_enable: bool | None = ... - """ - An object that contains the status of whether scanning EBS volumes - should be auto-enabled for new members joining the organization. - """ - -@dataclass(kw_only=True) -class OrganizationFeatureConfiguration(_SerdeShape): - """A list of features which will be configured for the organization.""" - - name: str | None = ... - """The name of the feature that will be configured for the organization.""" - auto_enable: str | None = ... - """ - Describes the status of the feature that is configured for the member - accounts within the organization. One of the following values is the - status for the entire organization: - - - `NEW`: Indicates that when a new account joins the organization, they - will have the feature enabled automatically. - - - `ALL`: Indicates that all accounts in the organization have the - feature enabled automatically. This includes `NEW` accounts that join - the organization and accounts that may have been suspended or removed - from the organization in GuardDuty. - - It may take up to 24 hours to update the configuration for all the - member accounts. - - - `NONE`: Indicates that the feature will not be automatically enabled - for any account in the organization. The administrator must manage the - feature for each account individually. - """ - additional_configuration: list[OrganizationAdditionalConfiguration] | None = ... - """The additional information that will be configured for the organization.""" - -@dataclass(kw_only=True) -class OrganizationFeatureConfigurationResult(_SerdeShape): - """A list of features which will be configured for the organization.""" - - name: str | None = ... - """ - The name of the feature that is configured for the member accounts - within the organization. - """ - auto_enable: str | None = ... - """ - Describes the status of the feature that is configured for the member - accounts within the organization. - - - `NEW`: Indicates that when a new account joins the organization, they - will have the feature enabled automatically. - - - `ALL`: Indicates that all accounts in the organization have the - feature enabled automatically. This includes `NEW` accounts that join - the organization and accounts that may have been suspended or removed - from the organization in GuardDuty. - - - `NONE`: Indicates that the feature will not be automatically enabled - for any account in the organization. In this case, each account will - be managed individually by the administrator. - """ - additional_configuration: ( - list[OrganizationAdditionalConfigurationResult] | None - ) = ... - """ - The additional configuration that is configured for the member accounts - within the organization. - """ - -@dataclass(kw_only=True) -class OrganizationFeatureStatistics(_SerdeShape): - """ - Information about the number of accounts that have enabled a specific - feature. - """ - - name: str | None = ... - """Name of the feature.""" - enabled_accounts_count: int | None = ... - """Total number of accounts that have enabled a specific feature.""" - additional_configuration: ( - list[OrganizationFeatureStatisticsAdditionalConfiguration] | None - ) = ... - """Name of the additional configuration.""" - -@dataclass(kw_only=True) -class OrganizationFeatureStatisticsAdditionalConfiguration(_SerdeShape): - """ - Information about the coverage statistic for the additional - configuration of the feature. - """ - - name: str | None = ... - """Name of the additional configuration within a feature.""" - enabled_accounts_count: int | None = ... - """Total number of accounts that have enabled the additional configuration.""" - -@dataclass(kw_only=True) -class OrganizationKubernetesAuditLogsConfiguration(_SerdeShape): - """Organization-wide Kubernetes audit logs configuration.""" - - auto_enable: bool | None = ... - """ - A value that contains information on whether Kubernetes audit logs - should be enabled automatically as a data source for the organization. - """ - -@dataclass(kw_only=True) -class OrganizationKubernetesAuditLogsConfigurationResult(_SerdeShape): - """ - The current configuration of Kubernetes audit logs as a data source for - the organization. - """ - - auto_enable: bool | None = ... - """ - Whether Kubernetes audit logs data source should be auto-enabled for new - members joining the organization. - """ - -@dataclass(kw_only=True) -class OrganizationKubernetesConfiguration(_SerdeShape): - """Organization-wide Kubernetes data sources configurations.""" - - audit_logs: OrganizationKubernetesAuditLogsConfiguration | None = ... - """ - Whether Kubernetes audit logs data source should be auto-enabled for new - members joining the organization. - """ - -@dataclass(kw_only=True) -class OrganizationKubernetesConfigurationResult(_SerdeShape): - """ - The current configuration of all Kubernetes data sources for the - organization. - """ - - audit_logs: OrganizationKubernetesAuditLogsConfigurationResult | None = ... - """ - The current configuration of Kubernetes audit logs as a data source for - the organization. - """ - -@dataclass(kw_only=True) -class OrganizationMalwareProtectionConfiguration(_SerdeShape): - """Organization-wide Malware Protection configurations.""" - - scan_ec2_instance_with_findings: ( - OrganizationScanEc2InstanceWithFindings | None - ) = ... - """ - Whether Malware Protection for EC2 instances with findings should be - auto-enabled for new members joining the organization. - """ - -@dataclass(kw_only=True) -class OrganizationMalwareProtectionConfigurationResult(_SerdeShape): - """ - An object that contains information on the status of all Malware - Protection data source for an organization. - """ - - scan_ec2_instance_with_findings: ( - OrganizationScanEc2InstanceWithFindingsResult | None - ) = ... - """ - Describes the configuration for scanning EC2 instances with findings for - an organization. - """ - -@dataclass(kw_only=True) -class OrganizationS3LogsConfiguration(_SerdeShape): - """ - Describes whether S3 data event logs will be automatically enabled for - new members of the organization. - """ - - auto_enable: bool | None = ... - """ - A value that contains information on whether S3 data event logs will be - enabled automatically as a data source for the organization. - """ - -@dataclass(kw_only=True) -class OrganizationS3LogsConfigurationResult(_SerdeShape): - """ - The current configuration of S3 data event logs as a data source for the - organization. - """ - - auto_enable: bool | None = ... - """ - A value that describes whether S3 data event logs are automatically - enabled for new members of the organization. - """ - -@dataclass(kw_only=True) -class OrganizationScanEc2InstanceWithFindings(_SerdeShape): - """Organization-wide EC2 instances with findings scan configuration.""" - - ebs_volumes: OrganizationEbsVolumes | None = ... - """ - Whether scanning EBS volumes should be auto-enabled for new members - joining the organization. - """ - -@dataclass(kw_only=True) -class OrganizationScanEc2InstanceWithFindingsResult(_SerdeShape): - """ - An object that contains information on the status of scanning EC2 - instances with findings for an organization. - """ - - ebs_volumes: OrganizationEbsVolumesResult | None = ... - """ - Describes the configuration for scanning EBS volumes for an - organization. - """ - -@dataclass(kw_only=True) -class OrganizationStatistics(_SerdeShape): - """ - Information about the coverage statistics of the features for the entire - Amazon Web Services organization. - - When you create a new Amazon Web Services organization, it might take up - to 24 hours to generate the statistics summary for this organization. - """ - - total_accounts_count: int | None = ... - """Total number of accounts in your Amazon Web Services organization.""" - member_accounts_count: int | None = ... - """ - Total number of accounts in your Amazon Web Services organization that - are associated with GuardDuty. - """ - active_accounts_count: int | None = ... - """ - Total number of active accounts in your Amazon Web Services organization - that are associated with GuardDuty. - """ - enabled_accounts_count: int | None = ... - """Total number of accounts that have enabled GuardDuty.""" - count_by_feature: list[OrganizationFeatureStatistics] | None = ... - """Retrieves the coverage statistics for each feature.""" - -class OrgFeature(UnknownEnumMixin, StrEnum): - S3_DATA_EVENTS = "S3_DATA_EVENTS" - EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" - EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" - RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" - LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" - EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" - RUNTIME_MONITORING = "RUNTIME_MONITORING" - AI_PROTECTION = "AI_PROTECTION" - -class OrgFeatureAdditionalConfiguration(UnknownEnumMixin, StrEnum): - EKS_ADDON_MANAGEMENT = "EKS_ADDON_MANAGEMENT" - ECS_FARGATE_AGENT_MANAGEMENT = "ECS_FARGATE_AGENT_MANAGEMENT" - EC2_AGENT_MANAGEMENT = "EC2_AGENT_MANAGEMENT" - RDS_DATA_RISK = "RDS_DATA_RISK" - """ - RDS Data Activity Monitoring, which monitors data activity on supported - Amazon RDS database engines to detect potentially unauthorized access to - your data. - """ - -class OrgFeatureStatus(UnknownEnumMixin, StrEnum): - NEW = "NEW" - NONE = "NONE" - ALL = "ALL" - -@dataclass(kw_only=True) -class Owner(_SerdeShape): - """Contains information on the owner of the bucket.""" - - id: str | None = ... - """ - The canonical user ID of the bucket owner. For information about - locating your canonical user ID see [Finding Your Account Canonical User - ID.](https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html#FindingCanonicalId) - """ - -@dataclass(kw_only=True) -class PermissionConfiguration(_SerdeShape): - """ - Contains information about how permissions are configured for the S3 - bucket. - """ - - bucket_level_permissions: BucketLevelPermissions | None = ... - """ - Contains information about the bucket level permissions for the S3 - bucket. - """ - account_level_permissions: AccountLevelPermissions | None = ... - """ - Contains information about the account level permissions on the S3 - bucket. - """ - -@dataclass(kw_only=True) -class PortProbeAction(_SerdeShape): - """ - Contains information about the PORT_PROBE action described in the - finding. - """ - - blocked: bool | None = ... - """ - Indicates whether EC2 blocked the port probe to the instance, such as - with an ACL. - """ - port_probe_details: list[PortProbeDetail] | None = ... - """A list of objects related to port probe details.""" - -@dataclass(kw_only=True) -class PortProbeDetail(_SerdeShape): - """Contains information about the port probe details.""" - - local_port_details: LocalPortDetails | None = ... - """The local port information of the connection.""" - local_ip_details: LocalIpDetails | None = ... - """The local IP information of the connection.""" - remote_ip_details: RemoteIpDetails | None = ... - """The remote IP information of the connection.""" - -@dataclass(kw_only=True) -class PrivateIpAddressDetails(_SerdeShape): - """Contains other private IP address information of the EC2 instance.""" - - private_dns_name: str | None = ... - """The private DNS name of the EC2 instance.""" - private_ip_address: str | None = ... - """The private IP address of the EC2 instance.""" - -@dataclass(kw_only=True) -class ProcessDetails(_SerdeShape): - """Information about the observed process.""" - - name: str | None = ... - """The name of the process.""" - executable_path: str | None = ... - """The absolute path of the process executable file.""" - executable_sha256: str | None = ... - """The `SHA256` hash of the process executable.""" - namespace_pid: int | None = ... - """The ID of the child process.""" - pwd: str | None = ... - """The present working directory of the process.""" - pid: int | None = ... - """The ID of the process.""" - start_time: datetime | None = ... - """The time when the process started. This is in UTC format.""" - uuid: str | None = ... - """The unique ID assigned to the process by GuardDuty.""" - parent_uuid: str | None = ... - """ - The unique ID of the parent process. This ID is assigned to the parent - process by GuardDuty. - """ - user: str | None = ... - """The user that executed the process.""" - user_id: int | None = ... - """The unique ID of the user that executed the process.""" - euid: int | None = ... - """The effective user ID of the user that executed the process.""" - lineage: list[LineageObject] | None = ... - """Information about the process's lineage.""" - -@dataclass(kw_only=True) -class Product(_SerdeShape): - """Contains information about the product that produced an investigation.""" - - name: str | None = ... - """The name of the product.""" - feature: str | None = ... - """The specific feature within the product that produced the investigation.""" - -@dataclass(kw_only=True) -class ProductCode(_SerdeShape): - """Contains information about the product code for the EC2 instance.""" - - code: str | None = ... - """The product code information.""" - product_type: str | None = ... - """The product code type.""" - -class ProfileSubtype(UnknownEnumMixin, StrEnum): - FREQUENT = "FREQUENT" - INFREQUENT = "INFREQUENT" - UNSEEN = "UNSEEN" - RARE = "RARE" - COUNT = "COUNT" - AVERAGE = "AVERAGE" - -class ProfileType(UnknownEnumMixin, StrEnum): - FREQUENCY = "FREQUENCY" - VOLUME = "VOLUME" - -@dataclass(kw_only=True) -class PublicAccess(_SerdeShape): - """Describes the public access policies that apply to the S3 bucket.""" - - permission_configuration: PermissionConfiguration | None = ... - """ - Contains information about how permissions are configured for the S3 - bucket. - """ - effective_permission: str | None = ... - """ - Describes the effective permission on this bucket after factoring all - attached policies. - """ - -@dataclass(kw_only=True) -class PublicAccessConfiguration(_SerdeShape): - """ - Describes public access policies that apply to the Amazon S3 bucket. - - For information about each of the following settings, see [Blocking - public access to your Amazon S3 - storage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) - in the *Amazon S3 User Guide*. - """ - - public_acl_access: str | None = ... - """ - Indicates whether or not there is a setting that allows public access to - the Amazon S3 buckets through access control lists (ACLs). - """ - public_policy_access: str | None = ... - """ - Indicates whether or not there is a setting that allows public access to - the Amazon S3 bucket policy. - """ - public_acl_ignore_behavior: str | None = ... - """ - Indicates whether or not there is a setting that ignores all public - access control lists (ACLs) on the Amazon S3 bucket and the objects that - it contains. - """ - public_bucket_restrict_behavior: str | None = ... - """ - Indicates whether or not there is a setting that restricts access to the - bucket with specified policies. - """ - -class PublicAccessStatus(UnknownEnumMixin, StrEnum): - BLOCKED = "BLOCKED" - ALLOWED = "ALLOWED" - -class PublicAclIgnoreBehavior(UnknownEnumMixin, StrEnum): - IGNORED = "IGNORED" - NOT_IGNORED = "NOT_IGNORED" - -class PublicBucketRestrictBehavior(UnknownEnumMixin, StrEnum): - RESTRICTED = "RESTRICTED" - NOT_RESTRICTED = "NOT_RESTRICTED" - -class PublishingStatus(UnknownEnumMixin, StrEnum): - PENDING_VERIFICATION = "PENDING_VERIFICATION" - PUBLISHING = "PUBLISHING" - UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY = ( - "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY" - ) - STOPPED = "STOPPED" - -@dataclass(kw_only=True) -class RdsDbInstanceDetails(_SerdeShape): - """ - Contains information about the resource type `RDSDBInstance` involved in - a GuardDuty finding. - """ - - db_instance_identifier: str | None = ... - """ - The identifier associated to the database instance that was involved in - the finding. - """ - engine: str | None = ... - """The database engine of the database instance involved in the finding.""" - engine_version: str | None = ... - """The version of the database engine that was involved in the finding.""" - db_cluster_identifier: str | None = ... - """ - The identifier of the database cluster that contains the database - instance ID involved in the finding. - """ - db_instance_arn: str | None = ... - """ - The Amazon Resource Name (ARN) that identifies the database instance - involved in the finding. - """ - dbi_resource_id: str | None = ... - """ - The unique ID of the database resource involved in the activity that - prompted GuardDuty to generate the finding. - """ - tags: list[Tag] | None = ... - """Information about the tag key-value pairs.""" - -@dataclass(kw_only=True) -class RdsDbUserDetails(_SerdeShape): - """ - Contains information about the user and authentication details for a - database instance involved in the finding. - """ - - user: str | None = ... - """The user name used in the anomalous login attempt.""" - application: str | None = ... - """The application name used in the anomalous login attempt.""" - database: str | None = ... - """ - The name of the database instance involved in the anomalous login - attempt. - """ - ssl: str | None = ... - """The version of the Secure Socket Layer (SSL) used for the network.""" - auth_method: str | None = ... - """The authentication method used by the user involved in the finding.""" - -@dataclass(kw_only=True) -class RdsLimitlessDbDetails(_SerdeShape): - """ - Contains information about the resource type `RDSLimitlessDB` that is - involved in a GuardDuty finding. - """ - - db_shard_group_identifier: str | None = ... - """The name associated with the Limitless DB shard group.""" - db_shard_group_resource_id: str | None = ... - """ - The resource identifier of the DB shard group within the Limitless - Database. - """ - db_shard_group_arn: str | None = ... - """The Amazon Resource Name (ARN) that identifies the DB shard group.""" - engine: str | None = ... - """The database engine of the database instance involved in the finding.""" - engine_version: str | None = ... - """The version of the database engine.""" - db_cluster_identifier: str | None = ... - """ - The name of the database cluster that is a part of the Limitless - Database. - """ - tags: list[Tag] | None = ... - """Information about the tag key-value pair.""" - -@dataclass(kw_only=True) -class RdsLoginAttemptAction(_SerdeShape): - """ - Indicates that a login attempt was made to the potentially compromised - database from a remote IP address. - """ - - remote_ip_details: RemoteIpDetails | None = ... - """Contains information about the remote IP address of the connection.""" - login_attributes: list[LoginAttribute] | None = ... - """Indicates the login attributes used in the login attempt.""" - -@dataclass(kw_only=True) -class RecoveryPoint(_SerdeShape): - """ - Contains information about the recovery point configuration for scanning - backup data from Amazon Web Services Backup. - """ - - backup_vault_name: str | None = ... - """ - The name of the Amazon Web Services Backup vault that contains the name - of the recovery point to be scanned. - """ - continuous_scan_details: ContinuousScanDetails | None = ... - """ - Contains information about the time range within the continuous backup - in Amazon Web Services Backup to scan. - """ - -@dataclass(kw_only=True) -class RecoveryPointDetails(_SerdeShape): - """Contains details about the backup recovery point.""" - - recovery_point_arn: str | None = ... - """The Amazon Resource Name (ARN) of the recovery point.""" - backup_vault_name: str | None = ... - """The name of the backup vault containing the recovery point.""" - continuous_scan_details: ScanConfigurationContinuousScanDetails | None = ... - """ - Contains information about the time range within the continuous backup - in Amazon Web Services Backup that was scanned for a point-in-time - recovery resource. - """ - -@dataclass(kw_only=True) -class RemoteAccountDetails(_SerdeShape): - """ - Contains details about the remote Amazon Web Services account that made - the API call. - """ - - account_id: str | None = ... - """The Amazon Web Services account ID of the remote API caller.""" - affiliated: bool | None = ... - """ - Details on whether the Amazon Web Services account of the remote API - caller is related to your GuardDuty environment. If this value is `True` - the API caller is affiliated to your account in some way. If it is - `False` the API caller is from outside your environment. - """ - aws_service_name: str | None = ... - """ - If the remote account belongs to an Amazon Web Services service, this - field indicates which service the remote account belongs to. - """ - -@dataclass(kw_only=True) -class RemoteIpDetails(_SerdeShape): - """Contains information about the remote IP address of the connection.""" - - city: City | None = ... - """The city information of the remote IP address.""" - country: Country | None = ... - """The country code of the remote IP address.""" - geo_location: GeoLocation | None = ... - """The location information of the remote IP address.""" - ip_address_v4: str | None = ... - """The IPv4 remote address of the connection.""" - ip_address_v6: str | None = ... - """The IPv6 remote address of the connection.""" - organization: Organization | None = ... - """The ISP organization information of the remote IP address.""" - -@dataclass(kw_only=True) -class RemotePortDetails(_SerdeShape): - """Contains information about the remote port.""" - - port: int | None = ... - """The port number of the remote connection.""" - port_name: str | None = ... - """The port name of the remote connection.""" - -@dataclass(kw_only=True) -class Resource(_SerdeShape): - """ - Contains information about the Amazon Web Services resource associated - with the activity that prompted GuardDuty to generate a finding. - """ - - access_key_details: AccessKeyDetails | None = ... - """ - The IAM access key details (user information) of a user that engaged in - the activity that prompted GuardDuty to generate a finding. - """ - s3_bucket_details: list[S3BucketDetail] | None = ... - """Contains information on the S3 bucket.""" - instance_details: InstanceDetails | None = ... - """ - The information about the EC2 instance associated with the activity that - prompted GuardDuty to generate a finding. - """ - eks_cluster_details: EksClusterDetails | None = ... - """Details about the EKS cluster involved in a Kubernetes finding.""" - kubernetes_details: KubernetesDetails | None = ... - """ - Details about the Kubernetes user and workload involved in a Kubernetes - finding. - """ - resource_type: str | None = ... - """The type of Amazon Web Services resource.""" - ebs_volume_details: EbsVolumeDetails | None = ... - """Contains list of scanned and skipped EBS volumes with details.""" - ecs_cluster_details: EcsClusterDetails | None = ... - """Contains information about the details of the ECS Cluster.""" - container_details: Container | None = ... - """Details of a container.""" - lambda_details: LambdaDetails | None = ... - """ - Contains information about the Lambda function that was involved in a - finding. - """ - rds_db_instance_details: RdsDbInstanceDetails | None = ... - """ - Contains information about the database instance to which an anomalous - login attempt was made. - """ - rds_limitless_db_details: RdsLimitlessDbDetails | None = ... - """ - Contains information about the RDS Limitless database that was involved - in a GuardDuty finding. - """ - rds_db_user_details: RdsDbUserDetails | None = ... - """ - Contains information about the user details through which anomalous - login attempt was made. - """ - ebs_snapshot_details: EbsSnapshotDetails | None = ... - """Contains details about the EBS snapshot that was scanned.""" - ec2_image_details: Ec2ImageDetails | None = ... - """Contains details about the EC2 image that was scanned.""" - recovery_point_details: RecoveryPointDetails | None = ... - """Contains details about the backup recovery point that was scanned.""" - bedrock_guardrail_details: BedrockGuardrailDetails | None = ... - """ - Contains information about the Bedrock guardrail that was involved in a - finding. - """ - model_details: list[ModelDetail] | None = ... - """Contains information about the AI models involved in a finding.""" - -@dataclass(kw_only=True) -class ResourceData(_SerdeShape): - """ - Contains information about the Amazon Web Services resource that is - associated with the activity that prompted GuardDuty to generate a - finding. - """ - - s3_bucket: S3Bucket | None = ... - """Contains information about the Amazon S3 bucket.""" - ec2_instance: Ec2Instance | None = ... - """Contains information about the Amazon EC2 instance.""" - access_key: AccessKey | None = ... - """ - Contains information about the IAM access key details of a user that - involved in the GuardDuty finding. - """ - ec2_network_interface: Ec2NetworkInterface | None = ... - """ - Contains information about the elastic network interface of the Amazon - EC2 instance. - """ - s3_object: S3Object | None = ... - """Contains information about the Amazon S3 object.""" - eks_cluster: EksCluster | None = ... - """ - Contains detailed information about the Amazon EKS cluster associated - with the activity that prompted GuardDuty to generate a finding. - """ - kubernetes_workload: KubernetesWorkload | None = ... - """ - Contains detailed information about the Kubernetes workload associated - with the activity that prompted GuardDuty to generate a finding. - """ - container: ContainerFindingResource | None = ... - """ - Contains detailed information about the container associated with the - activity that prompted GuardDuty to generate a finding. - """ - ecs_cluster: EcsCluster | None = ... - """ - Contains detailed information about the Amazon ECS cluster associated - with the activity that prompted GuardDuty to generate a finding. - """ - ecs_task: EcsTask | None = ... - """ - Contains detailed information about the Amazon ECS task associated with - the activity that prompted GuardDuty to generate a finding. - """ - iam_instance_profile: IamInstanceProfileV2 | None = ... - """ - Contains detailed information about the IAM instance profile associated - with the activity that prompted GuardDuty to generate a finding. - """ - autoscaling_auto_scaling_group: AutoscalingAutoScalingGroup | None = ... - """ - Contains detailed information about the Auto Scaling Group associated - with the activity that prompted GuardDuty to generate a finding. - """ - ec2_launch_template: Ec2LaunchTemplate | None = ... - """ - Contains detailed information about the EC2 launch template associated - with the activity that prompted GuardDuty to generate a finding. - """ - ec2_vpc: Ec2Vpc | None = ... - """ - Contains detailed information about the EC2 VPC associated with the - activity that prompted GuardDuty to generate a finding. - """ - ec2_image: Ec2Image | None = ... - """ - Contains detailed information about the EC2 Image associated with the - activity that prompted GuardDuty to generate a finding. - """ - cloudformation_stack: CloudformationStack | None = ... - """ - Contains detailed information about the CloudFormation stack associated - with the activity that prompted GuardDuty to generate a finding. - """ - bedrock_guardrail: BedrockGuardrailResource | None = ... - """ - Contains detailed information about the Amazon Bedrock guardrail - associated with the activity that prompted GuardDuty to generate a - finding. - """ - -@dataclass(kw_only=True) -class ResourceDetails(_SerdeShape): - """Represents the resources that were scanned in the scan entry.""" - - instance_arn: str | None = ... - """Instance ARN that was scanned in the scan entry.""" - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """The requested resource can't be found.""" - - type: str | None = ... - """The error type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceStatistics(_SerdeShape): - """ - Information about each resource type associated with the - `groupedByResource` statistics. - """ - - account_id: str | None = ... - """The ID of the Amazon Web Services account.""" - last_generated_at: datetime | None = ... - """ - The timestamp at which the statistics for this resource was last - generated. - """ - resource_id: str | None = ... - """ - ID associated with each resource. The following list provides the - mapping of the resource type and resource ID. - - **Mapping of resource and resource ID** - - - AccessKey - `resource.accessKeyDetails.accessKeyId` - - - Container - `resource.containerDetails.id` - - - ECSCluster - `resource.ecsClusterDetails.name` - - - EKSCluster - `resource.eksClusterDetails.name` - - - Instance - `resource.instanceDetails.instanceId` - - - KubernetesCluster - - `resource.kubernetesDetails.kubernetesWorkloadDetails.name` - - - Lambda - `resource.lambdaDetails.functionName` - - - RDSDBInstance - `resource.rdsDbInstanceDetails.dbInstanceIdentifier` - - - S3Bucket - `resource.s3BucketDetails.name` - - - S3Object - `resource.s3BucketDetails.name` - """ - resource_type: str | None = ... - """The type of resource.""" - total_findings: int | None = ... - """The total number of findings associated with this resource.""" - -class ResourceType(UnknownEnumMixin, StrEnum): - EKS = "EKS" - ECS = "ECS" - EC2 = "EC2" - -@dataclass(kw_only=True) -class ResourceV2(_SerdeShape): - """ - Contains information about the Amazon Web Services resource that is - associated with the GuardDuty finding. - """ - - uid: str | None = ... - """The unique identifier of the resource.""" - name: str | None = ... - """The name of the resource.""" - account_id: str | None = ... - """The Amazon Web Services account ID to which the resource belongs.""" - resource_type: str | None = ... - """The type of the Amazon Web Services resource.""" - region: str | None = ... - """The Amazon Web Services Region where the resource belongs.""" - service: str | None = ... - """The Amazon Web Services service of the resource.""" - cloud_partition: str | None = ... - """ - The cloud partition within the Amazon Web Services Region to which the - resource belongs. - """ - tags: list[Tag] | None = ... - """Contains information about the tags associated with the resource.""" - data: ResourceData | None = ... - """ - Contains information about the Amazon Web Services resource associated - with the activity that prompted GuardDuty to generate a finding. - """ - -class RiskLevel(UnknownEnumMixin, StrEnum): - INFO = "Info" - LOW = "Low" - MEDIUM = "Medium" - HIGH = "High" - CRITICAL = "Critical" - -@dataclass(kw_only=True) -class RuleDefinition(_SerdeShape): - """Contains the detection logic for a custom detection rule.""" - - expression: str | None = ... - """The detection logic expression for the rule.""" - -@dataclass(kw_only=True) -class RuleDetail(_SerdeShape): - """ - Contains the full details of a custom detection rule, including its - detection logic. - """ - - rule_id: str | None = ... - """The unique identifier for the rule.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) of the rule.""" - name: str | None = ... - """The display name of the rule.""" - description: str | None = ... - """A description of what the rule detects.""" - severity: str | None = ... - """The severity level assigned to findings generated by this rule.""" - data_source: str | None = ... - """The data source that the rule analyzes.""" - tactic: str | None = ... - """The MITRE ATT&CK tactic associated with the rule.""" - technique: str | None = ... - """The MITRE ATT&CK technique associated with the rule.""" - service: str | None = ... - """The Amazon Web Services service associated with the rule.""" - definition: RuleDefinition | None = ... - """The detection logic definition for the rule.""" - language: str | None = ... - """The language used for the detection logic expression.""" - schema: str | None = ... - """The schema version used by the rule definition.""" - runtime_monitoring_details: DetectionRuleRuntimeMonitoringDetails | None = ... - """ - Runtime Monitoring-specific details for the rule, including the - platforms on which the rule can run and the minimum GuardDuty agent - version required on each. - """ - created_at: datetime | None = ... - """The timestamp when the rule was created.""" - updated_at: datetime | None = ... - """The timestamp when the rule was last updated.""" - -class RuleLanguage(UnknownEnumMixin, StrEnum): - SQL = "SQL" - -class RuleSchema(UnknownEnumMixin, StrEnum): - CLOUD_TRAIL = "CloudTrail" - -@dataclass(kw_only=True) -class RuleSummary(_SerdeShape): - """Contains summary information about a custom detection rule.""" - - rule_id: str | None = ... - """The unique identifier for the rule.""" - arn: str | None = ... - """The Amazon Resource Name (ARN) of the rule.""" - name: str | None = ... - """The display name of the rule.""" - description: str | None = ... - """A description of what the rule detects.""" - severity: str | None = ... - """The severity level assigned to findings generated by this rule.""" - data_source: str | None = ... - """The data source that the rule analyzes.""" - tactic: str | None = ... - """The MITRE ATT&CK tactic associated with the rule.""" - technique: str | None = ... - """The MITRE ATT&CK technique associated with the rule.""" - service: str | None = ... - """The Amazon Web Services service associated with the rule.""" - language: str | None = ... - """The language used for the detection logic expression.""" - schema: str | None = ... - """The schema version used by the rule definition.""" - created_at: datetime | None = ... - """The timestamp when the rule was created.""" - updated_at: datetime | None = ... - """The timestamp when the rule was last updated.""" - -@dataclass(kw_only=True) -class RuntimeContext(_SerdeShape): - """Additional information about the suspicious activity.""" - - modifying_process: ProcessDetails | None = ... - """ - Information about the process that modified the current process. This is - available for multiple finding types. - """ - modified_at: datetime | None = ... - """ - The timestamp at which the process modified the current process. The - timestamp is in UTC date string format. - """ - script_path: str | None = ... - """The path to the script that was executed.""" - library_path: str | None = ... - """The path to the new library that was loaded.""" - ld_preload_value: str | None = ... - """The value of the LD_PRELOAD environment variable.""" - socket_path: str | None = ... - """The path to the docket socket that was accessed.""" - runc_binary_path: str | None = ... - """The path to the leveraged `runc` implementation.""" - release_agent_path: str | None = ... - """The path in the container that modified the release agent file.""" - mount_source: str | None = ... - """The path on the host that is mounted by the container.""" - mount_target: str | None = ... - """The path in the container that is mapped to the host directory.""" - file_system_type: str | None = ... - """Represents the type of mounted fileSystem.""" - flags: list[str] | None = ... - """ - Represents options that control the behavior of a runtime operation or - action. For example, a filesystem mount operation may contain a - read-only flag. - """ - module_name: str | None = ... - """The name of the module loaded into the kernel.""" - module_file_path: str | None = ... - """The path to the module loaded into the kernel.""" - module_sha256: str | None = ... - """The `SHA256` hash of the module.""" - shell_history_file_path: str | None = ... - """The path to the modified shell history file.""" - target_process: ProcessDetails | None = ... - """ - Information about the process that had its memory overwritten by the - current process. - """ - address_family: str | None = ... - """ - Represents the communication protocol associated with the address. For - example, the address family `AF_INET` is used for IP version of 4 - protocol. - """ - iana_protocol_number: int | None = ... - """ - Specifies a particular protocol within the address family. Usually there - is a single protocol in address families. For example, the address - family `AF_INET` only has the IP protocol. - """ - memory_regions: list[str] | None = ... - """ - Specifies the Region of a process's address space such as stack and - heap. - """ - tool_name: str | None = ... - """Name of the potentially suspicious tool.""" - tool_category: str | None = ... - """ - Category that the tool belongs to. Some of the examples are Backdoor - Tool, Pentest Tool, Network Scanner, and Network Sniffer. - """ - service_name: str | None = ... - """Name of the security service that has been potentially disabled.""" - command_line_example: str | None = ... - """Example of the command line involved in the suspicious activity.""" - threat_file_path: str | None = ... - """ - The suspicious file path for which the threat intelligence details were - found. - """ - file_operation: str | None = ... - """ - Represents the type of file operation that triggered the finding, such - as Write, Delete, Rename, Link, or Symlink. - """ - file_path: str | None = ... - """ - The path of the sensitive file that was modified. Modification includes - write, delete, rename, link, or symlink operations. This field is - indexed for filtering. - """ - related_file_paths: list[str] | None = ... - """ - All file paths modified by the same process that triggered the finding, - up to a maximum of 25 paths. - """ - -@dataclass(kw_only=True) -class RuntimeDetails(_SerdeShape): - """ - Information about the process and any required context values for a - specific finding. - """ - - process: ProcessDetails | None = ... - """Information about the observed process.""" - context: RuntimeContext | None = ... - """Additional information about the suspicious activity.""" - -@dataclass(kw_only=True) -class S3Bucket(_SerdeShape): - """Contains information about the Amazon S3 bucket policies and encryption.""" - - owner_id: str | None = ... - """The owner ID of the associated S3Amazon S3bucket.""" - created_at: datetime | None = ... - """The timestamp at which the Amazon S3 bucket was created.""" - encryption_type: str | None = ... - """ - The type of encryption used for the Amazon S3 buckets and its objects. - For more information, see [Protecting data with server-side - encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/serv-side-encryption.html) - in the *Amazon S3 User Guide*. - """ - encryption_key_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the encryption key that is used to - encrypt the Amazon S3 bucket and its objects. - """ - effective_permission: str | None = ... - """ - Describes the effective permissions on this S3 bucket, after factoring - all the attached policies. - """ - public_read_access: str | None = ... - """ - Indicates whether or not the public read access is allowed for an Amazon - S3 bucket. - """ - public_write_access: str | None = ... - """ - Indicates whether or not the public write access is allowed for an - Amazon S3 bucket. - """ - account_public_access: PublicAccessConfiguration | None = ... - """ - Contains information about the public access policies that apply to the - Amazon S3 bucket at the account level. - """ - bucket_public_access: PublicAccessConfiguration | None = ... - """ - Contains information about public access policies that apply to the - Amazon S3 bucket. - """ - s3_object_uids: list[str] | None = ... - """Represents a list of Amazon S3 object identifiers.""" - -@dataclass(kw_only=True) -class S3BucketDetail(_SerdeShape): - """Contains information on the S3 bucket.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the S3 bucket.""" - name: str | None = ... - """The name of the S3 bucket.""" - type: str | None = ... - """Describes whether the bucket is a source or destination bucket.""" - created_at: datetime | None = ... - """The date and time the bucket was created at.""" - owner: Owner | None = ... - """The owner of the S3 bucket.""" - tags: list[Tag] | None = ... - """All tags attached to the S3 bucket""" - default_server_side_encryption: DefaultServerSideEncryption | None = ... - """Describes the server side encryption method used in the S3 bucket.""" - public_access: PublicAccess | None = ... - """Describes the public access policies that apply to the S3 bucket.""" - s3_object_details: list[S3ObjectDetail] | None = ... - """Information about the S3 object that was scanned.""" - -@dataclass(kw_only=True) -class S3LogsConfiguration(_SerdeShape): - """Describes whether S3 data event logs will be enabled as a data source.""" - - enable: bool | None = ... - """The status of S3 data event logs as a data source.""" - -@dataclass(kw_only=True) -class S3LogsConfigurationResult(_SerdeShape): - """Describes whether S3 data event logs will be enabled as a data source.""" - - status: str | None = ... - """ - A value that describes whether S3 data event logs are automatically - enabled for new members of the organization. - """ - -@dataclass(kw_only=True) -class S3Object(_SerdeShape): - """Contains information about the Amazon S3 object.""" - - e_tag: str | None = ... - """ - The entity tag is a hash of the Amazon S3 object. The ETag reflects - changes only to the contents of an object, and not its metadata. - """ - key: str | None = ... - """The key of the Amazon S3 object.""" - version_id: str | None = ... - """The version Id of the Amazon S3 object.""" - -@dataclass(kw_only=True) -class S3ObjectDetail(_SerdeShape): - """Information about the S3 object that was scanned""" - - object_arn: str | None = ... - """Amazon Resource Name (ARN) of the S3 object.""" - key: str | None = ... - """Key of the S3 object.""" - e_tag: str | None = ... - """ - The entity tag is a hash of the S3 object. The ETag reflects changes - only to the contents of an object, and not its metadata. - """ - hash: str | None = ... - """Hash of the threat detected in this finding.""" - version_id: str | None = ... - """Version ID of the object.""" - -@dataclass(kw_only=True) -class S3ObjectForSendObjectMalwareScan(_SerdeShape): - """ - The S3 object path to initiate a scan, including bucket name, object - key, and optional version ID. - """ - - bucket: str | None = ... - """ - The name of the S3 bucket containing the object to scan. The bucket must - have GuardDuty Malware Protection enabled. - """ - key: str | None = ... - """ - The key (name) of the S3 object to scan for malware. This must be the - full key path of the object within the bucket. - """ - version_id: str | None = ... - """ - The version ID of the S3 object to scan. If not specified, the latest - version of the object is scanned. - """ - -@dataclass(kw_only=True) -class Scan(_SerdeShape): - """ - Contains information about malware scans associated with GuardDuty - Malware Protection for EC2. - """ - - detector_id: str | None = ... - """ - The unique ID of the detector that is associated with the request. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - admin_detector_id: str | None = ... - """ - The unique detector ID of the administrator account that the request is - associated with. If the account is an administrator, the - `AdminDetectorId` will be the same as the one used for `DetectorId`. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - scan_id: str | None = ... - """The unique scan ID associated with a scan entry.""" - scan_status: str | None = ... - """An enum value representing possible scan statuses.""" - failure_reason: str | None = ... - """Represents the reason for `FAILED` scan status.""" - scan_start_time: datetime | None = ... - """The timestamp of when the scan was triggered.""" - scan_end_time: datetime | None = ... - """The timestamp of when the scan was finished.""" - trigger_details: TriggerDetails | None = ... - """Specifies the reason why the scan was initiated.""" - resource_details: ResourceDetails | None = ... - """Represents the resources that were scanned in the scan entry.""" - scan_result_details: ScanResultDetails | None = ... - """Represents the result of the scan.""" - account_id: str | None = ... - """The ID for the account that belongs to the scan.""" - total_bytes: int | None = ... - """Represents total bytes that were scanned.""" - file_count: int | None = ... - """Represents the number of files that were scanned.""" - attached_volumes: list[VolumeDetail] | None = ... - """ - List of volumes that were attached to the original instance to be - scanned. - """ - scan_type: str | None = ... - """Specifies the scan type that invoked the malware scan.""" - -class ScanCategory(UnknownEnumMixin, StrEnum): - FULL_SCAN = "FULL_SCAN" - INCREMENTAL_SCAN = "INCREMENTAL_SCAN" - -@dataclass(kw_only=True) -class ScanCondition(_SerdeShape): - """Contains information about the condition.""" - - map_equals: list[ScanConditionPair] | None = ... - """ - Represents an *mapEqual* condition to be applied to a single field when - triggering for malware scan. - """ - -@dataclass(kw_only=True) -class ScanConditionPair(_SerdeShape): - """ - Represents the `key:value` pair to be matched against given resource - property. - """ - - key: str | None = ... - """Represents the **key** in the map condition.""" - value: str | None = ... - """ - Represents optional **value** in the map condition. If not specified, - only the **key** will be matched. - """ - -@dataclass(kw_only=True) -class ScanConfiguration(_SerdeShape): - """Contains information about the configuration used for the malware scan.""" - - role: str | None = ... - """ - Amazon Resource Name (ARN) of the IAM role that should contain the - required permissions for the scan. - """ - trigger_details: TriggerDetails | None = ... - """Information about the entity that triggered the malware scan.""" - incremental_scan_details: IncrementalScanDetails | None = ... - """Information about the incremental scan configuration, if applicable.""" - recovery_point: ScanConfigurationRecoveryPoint | None = ... - """ - Information about the recovery point configuration used for the scan, if - applicable. - """ - -@dataclass(kw_only=True) -class ScanConfigurationContinuousScanDetails(_SerdeShape): - """ - Contains information about the time range within the continuous backup - in Amazon Web Services Backup that was scanned for a point-in-time - recovery resource. - """ - - start_time: datetime | None = ... - """The timestamp representing the start of the time range that was scanned.""" - end_time: datetime - """The timestamp representing the end of the time range that was scanned.""" - -@dataclass(kw_only=True) -class ScanConfigurationRecoveryPoint(_SerdeShape): - """ - Contains information about the recovery point configuration used in the - scan. - """ - - backup_vault_name: str | None = ... - """ - The name of the Amazon Web Services Backup vault that contains the - recovery point for the scanned. - """ - continuous_scan_details: ScanConfigurationContinuousScanDetails | None = ... - """ - The time range within the continuous backup in Amazon Web Services - Backup that was scanned for a point-in-time recovery resource. - """ - -class ScanCriterionKey(UnknownEnumMixin, StrEnum): - """ - An enum value representing possible resource properties to match with - given scan condition. - """ - - EC2_INSTANCE_TAG = "EC2_INSTANCE_TAG" - -@dataclass(kw_only=True) -class ScanDetections(_SerdeShape): - """Contains a complete view providing malware scan result details.""" - - scanned_item_count: ScannedItemCount | None = ... - """Total number of scanned files.""" - threats_detected_item_count: ThreatsDetectedItemCount | None = ... - """Total number of infected files.""" - highest_severity_threat_details: HighestSeverityThreatDetails | None = ... - """ - Details of the highest severity threat detected during malware scan and - number of infected files. - """ - threat_detected_by_name: ThreatDetectedByName | None = ... - """Contains details about identified threats organized by threat name.""" - -@dataclass(kw_only=True) -class ScanEc2InstanceWithFindings(_SerdeShape): - """ - Describes whether Malware Protection for EC2 instances with findings - will be enabled as a data source. - """ - - ebs_volumes: bool | None = ... - """Describes the configuration for scanning EBS volumes as data source.""" - -@dataclass(kw_only=True) -class ScanEc2InstanceWithFindingsResult(_SerdeShape): - """ - An object that contains information on the status of whether Malware - Protection for EC2 instances with findings will be enabled as a data - source. - """ - - ebs_volumes: EbsVolumesResult | None = ... - """Describes the configuration of scanning EBS volumes as a data source.""" - -@dataclass(kw_only=True) -class ScanFilePath(_SerdeShape): - """Contains details of infected file including name, file path and hash.""" - - file_path: str | None = ... - """The file path of the infected file.""" - volume_arn: str | None = ... - """EBS volume ARN details of the infected file.""" - hash: str | None = ... - """The hash value of the infected file.""" - file_name: str | None = ... - """File name of the infected file.""" - -@dataclass(kw_only=True) -class ScannedItemCount(_SerdeShape): - """Total number of scanned files.""" - - total_gb: int | None = ... - """Total GB of files scanned for malware.""" - files: int | None = ... - """Number of files scanned.""" - volumes: int | None = ... - """Total number of scanned volumes.""" - -@dataclass(kw_only=True) -class ScannedResource(_SerdeShape): - """ - Contains information about a resource that was scanned as part of the - malware scan operation. - """ - - scanned_resource_arn: str | None = ... - """Amazon Resource Name (ARN) of the scanned resource.""" - scanned_resource_type: str | None = ... - """The resource type of the scanned resource.""" - scanned_resource_status: str | None = ... - """The status of the scanned resource.""" - scan_status_reason: str | None = ... - """ - The reason for the scan status of this particular resource, if - applicable. - """ - resource_details: ScannedResourceDetails | None = ... - """Information about the scanned resource.""" - -@dataclass(kw_only=True) -class ScannedResourceDetails(_SerdeShape): - """Contains additional information about a resource that was scanned.""" - - ebs_volume: VolumeDetail | None = ... - """Contains information about the EBS volume that was scanned.""" - ebs_snapshot: EbsSnapshot | None = ... - """Contains information about the EBS snapshot that was scanned.""" - -@dataclass(kw_only=True) -class ScanResourceCriteria(_SerdeShape): - """ - Contains information about criteria used to filter resources before - triggering malware scan. - """ - - include: dict[str, ScanCondition] | None = ... - """ - Represents condition that when matched will allow a malware scan for a - certain resource. - """ - exclude: dict[str, ScanCondition] | None = ... - """ - Represents condition that when matched will prevent a malware scan for a - certain resource. - """ - -class ScanResult(UnknownEnumMixin, StrEnum): - CLEAN = "CLEAN" - INFECTED = "INFECTED" - -@dataclass(kw_only=True) -class ScanResultDetails(_SerdeShape): - """Represents the result of the scan.""" - - scan_result: str | None = ... - """An enum value representing possible scan results.""" - -class ScanResultStatus(UnknownEnumMixin, StrEnum): - NO_THREATS_FOUND = "NO_THREATS_FOUND" - THREATS_FOUND = "THREATS_FOUND" - -@dataclass(kw_only=True) -class ScanResultThreat(_SerdeShape): - """ - Contains information about a specific threat that was detected during - the malware scan. - """ - - name: str | None = ... - """The name of the detected threat.""" - source: str | None = ... - """The source that detected this threat.""" - count: int | None = ... - """The number of instances of this threat that were detected.""" - hash: str | None = ... - """The hash value associated with the detected threat.""" - item_details: list[ItemDetails] | None = ... - """Additional information about where this threat was detected.""" - -class ScanStatus(UnknownEnumMixin, StrEnum): - RUNNING = "RUNNING" - COMPLETED = "COMPLETED" - FAILED = "FAILED" - SKIPPED = "SKIPPED" - -class ScanStatusReason(UnknownEnumMixin, StrEnum): - ACCESS_DENIED = "ACCESS_DENIED" - RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND" - SNAPSHOT_SIZE_LIMIT_EXCEEDED = "SNAPSHOT_SIZE_LIMIT_EXCEEDED" - RESOURCE_UNAVAILABLE = "RESOURCE_UNAVAILABLE" - INCONSISTENT_SOURCE = "INCONSISTENT_SOURCE" - INCREMENTAL_NO_DIFFERENCE = "INCREMENTAL_NO_DIFFERENCE" - NO_EBS_VOLUMES_FOUND = "NO_EBS_VOLUMES_FOUND" - UNSUPPORTED_PRODUCT_CODE_TYPE = "UNSUPPORTED_PRODUCT_CODE_TYPE" - AMI_SNAPSHOT_LIMIT_EXCEEDED = "AMI_SNAPSHOT_LIMIT_EXCEEDED" - UNRELATED_RESOURCES = "UNRELATED_RESOURCES" - BASE_RESOURCE_NOT_SCANNED = "BASE_RESOURCE_NOT_SCANNED" - BASE_CREATED_AFTER_TARGET = "BASE_CREATED_AFTER_TARGET" - UNSUPPORTED_FOR_INCREMENTAL = "UNSUPPORTED_FOR_INCREMENTAL" - UNSUPPORTED_AMI = "UNSUPPORTED_AMI" - UNSUPPORTED_SNAPSHOT = "UNSUPPORTED_SNAPSHOT" - UNSUPPORTED_COMPOSITE_RECOVERY_POINT = "UNSUPPORTED_COMPOSITE_RECOVERY_POINT" - ALL_FILES_SKIPPED_OR_FAILED = "ALL_FILES_SKIPPED_OR_FAILED" - -@dataclass(kw_only=True) -class ScanThreatName(_SerdeShape): - """ - Contains files infected with the given threat providing details of - malware name and severity. - """ - - name: str | None = ... - """The name of the identified threat.""" - severity: str | None = ... - """Severity of threat identified as part of the malware scan.""" - item_count: int | None = ... - """Total number of files infected with given threat.""" - file_paths: list[ScanFilePath] | None = ... - """List of infected files in EBS volume with details.""" - -class ScanType(UnknownEnumMixin, StrEnum): - GUARDDUTY_INITIATED = "GUARDDUTY_INITIATED" - ON_DEMAND = "ON_DEMAND" - -@dataclass(kw_only=True) -class SecurityContext(_SerdeShape): - """Container security context.""" - - privileged: bool | None = ... - """Whether the container is privileged.""" - allow_privilege_escalation: bool | None = ... - """ - Whether or not a container or a Kubernetes pod is allowed to gain more - privileges than its parent process. - """ - -@dataclass(kw_only=True) -class SecurityGroup(_SerdeShape): - """ - Contains information about the security groups associated with the EC2 - instance. - """ - - group_id: str | None = ... - """The security group ID of the EC2 instance.""" - group_name: str | None = ... - """The security group name of the EC2 instance.""" - -@dataclass(kw_only=True) -class SendObjectMalwareScanInput(_SerdeShape): - """Dataclass for SendObjectMalwareScanInput structure.""" - - s3_object: S3ObjectForSendObjectMalwareScan | None = ... - """ - The S3 object information for the object you want to scan. The bucket - must have a Malware Protection plan configured to use this API. - """ - -@dataclass(kw_only=True) -class SendObjectMalwareScanOutput(_SerdeShape): - """Dataclass for SendObjectMalwareScanOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Sequence(_SerdeShape): - """Contains information about the GuardDuty attack sequence finding.""" - - uid: str | None = ... - """Unique identifier of the attack sequence.""" - description: str | None = ... - """Description of the attack sequence.""" - actors: list[Actor] | None = ... - """Contains information about the actors involved in the attack sequence.""" - resources: list[ResourceV2] | None = ... - """ - Contains information about the resources involved in the attack - sequence. - """ - endpoints: list[NetworkEndpoint] | None = ... - """ - Contains information about the network endpoints that were used in the - attack sequence. - """ - signals: list[Signal] | None = ... - """Contains information about the signals involved in the attack sequence.""" - sequence_indicators: list[Indicator] | None = ... - """ - Contains information about the indicators observed in the attack - sequence. - """ - additional_sequence_types: list[str] | None = ... - """ - Additional types of sequences that may be associated with the attack - sequence finding, providing further context about the nature of the - detected threat. - """ - -@dataclass(kw_only=True) -class Service(_SerdeShape): - """Contains additional information about the generated finding.""" - - action: Action | None = ... - """Information about the activity that is described in a finding.""" - evidence: Evidence | None = ... - """An evidence object associated with the service.""" - archived: bool | None = ... - """Indicates whether this finding is archived.""" - count: int | None = ... - """The total count of the occurrences of this finding type.""" - detector_id: str | None = ... - """The detector ID for the GuardDuty service.""" - event_first_seen: str | None = ... - """ - The first-seen timestamp of the activity that prompted GuardDuty to - generate this finding. - """ - event_last_seen: str | None = ... - """ - The last-seen timestamp of the activity that prompted GuardDuty to - generate this finding. - """ - resource_role: str | None = ... - """The resource role information for this finding.""" - service_name: str | None = ... - """ - The name of the Amazon Web Services service (GuardDuty) that generated a - finding. - """ - user_feedback: str | None = ... - """Feedback that was submitted about the finding.""" - additional_info: ServiceAdditionalInfo | None = ... - """Contains additional information about the generated finding.""" - feature_name: str | None = ... - """The name of the feature that generated a finding.""" - ebs_volume_scan_details: EbsVolumeScanDetails | None = ... - """Returns details from the malware scan that created a finding.""" - runtime_details: RuntimeDetails | None = ... - """ - Information about the process and any required context values for a - specific finding - """ - detection: Detection | None = ... - """Contains information about the detected unusual behavior.""" - malware_scan_details: MalwareScanDetails | None = ... - """ - Returns details from the malware scan that generated a GuardDuty - finding. - """ - -@dataclass(kw_only=True) -class ServiceAdditionalInfo(_SerdeShape): - """Additional information about the generated finding.""" - - value: str | None = ... - """This field specifies the value of the additional information.""" - type: str | None = ... - """Describes the type of the additional information.""" - -@dataclass(kw_only=True) -class Session(_SerdeShape): - """Contains information about the authenticated session.""" - - uid: str | None = ... - """The unique identifier of the session.""" - mfa_status: str | None = ... - """ - Indicates whether or not multi-factor authencation (MFA) was used during - authentication. - - In Amazon Web Services CloudTrail, you can find this value as - `userIdentity.sessionContext.attributes.mfaAuthenticated`. - """ - created_time: datetime | None = ... - """ - The timestamp for when the session was created. - - In Amazon Web Services CloudTrail, you can find this value as - `userIdentity.sessionContext.attributes.creationDate`. - """ - issuer: str | None = ... - """ - Identifier of the session issuer. - - In Amazon Web Services CloudTrail, you can find this value as - `userIdentity.sessionContext.sessionIssuer.arn`. - """ - -@dataclass(kw_only=True) -class SeverityStatistics(_SerdeShape): - """Information about severity level for each finding type.""" - - last_generated_at: datetime | None = ... - """ - The timestamp at which a finding type for a specific severity was last - generated. - """ - severity: float | None = ... - """The severity level associated with each finding type.""" - total_findings: int | None = ... - """The total number of findings associated with this severity.""" - -@dataclass(kw_only=True) -class Signal(_SerdeShape): - """Contains information about the signals involved in the attack sequence.""" - - uid: str | None = ... - """The unique identifier of the signal.""" - type: str | None = ... - """ - The type of the signal used to identify an attack sequence. - - Signals can be GuardDuty findings or activities observed in data sources - that GuardDuty monitors. For more information, see [Foundational data - sources](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_data-sources.html) - in the *Amazon GuardDuty User Guide*. - - A signal type can be one of the valid values listed in this API. Here - are the related descriptions: - - - `FINDING` - Individually generated GuardDuty finding. - - - `CLOUD_TRAIL` - Activity observed from CloudTrail logs - - - `S3_DATA_EVENTS` - Activity observed from CloudTrail data events for - S3. Activities associated with this type will show up only when you - have enabled GuardDuty S3 Protection feature in your account. For more - information about S3 Protection and steps to enable it, see [S3 - Protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html) - in the *Amazon GuardDuty User Guide*. - """ - description: str | None = ... - """The description of the signal.""" - name: str | None = ... - """ - The name of the signal. For example, when signal type is `FINDING`, the - signal name is the name of the finding. - """ - created_at: datetime | None = ... - """ - The timestamp when the first finding or activity related to this signal - was observed. - """ - updated_at: datetime | None = ... - """The timestamp when this signal was last observed.""" - first_seen_at: datetime | None = ... - """ - The timestamp when the first finding or activity related to this signal - was observed. - """ - last_seen_at: datetime | None = ... - """ - The timestamp when the last finding or activity related to this signal - was observed. - """ - severity: float | None = ... - """ - The severity associated with the signal. For more information about - severity, see [Findings severity - levels](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings-severity.html) - in the *Amazon GuardDuty User Guide*. - """ - count: int | None = ... - """The number of times this signal was observed.""" - resource_uids: list[str] | None = ... - """ - Information about the unique identifiers of the resources involved in - the signal. - """ - actor_ids: list[str] | None = ... - """Information about the IDs of the threat actors involved in the signal.""" - endpoint_ids: list[str] | None = ... - """Information about the endpoint IDs associated with this signal.""" - signal_indicators: list[Indicator] | None = ... - """Contains information about the indicators associated with the signals.""" - activities: list[Activity] | None = ... - """ - Contains information about the activities, such as API calls, that were - observed for this signal. - """ - -class SignalType(UnknownEnumMixin, StrEnum): - FINDING = "FINDING" - CLOUD_TRAIL = "CLOUD_TRAIL" - S3_DATA_EVENTS = "S3_DATA_EVENTS" - EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" - FLOW_LOGS = "FLOW_LOGS" - DNS_LOGS = "DNS_LOGS" - RUNTIME_MONITORING = "RUNTIME_MONITORING" - -@dataclass(kw_only=True) -class SortCriteria(_SerdeShape): - """Contains information about the criteria used for sorting findings.""" - - attribute_name: str | None = ... - """ - Represents the finding attribute, such as `accountId`, that sorts the - findings. - """ - order_by: str | None = ... - """The order by which the sorted findings are to be displayed.""" - -@dataclass(kw_only=True) -class StartMalwareScanConfiguration(_SerdeShape): - """ - Contains information about the configuration to be used for the malware - scan. - """ - - role: str | None = ... - """ - Amazon Resource Name (ARN) of the IAM role that is used for scanning the - resource. - """ - incremental_scan_details: IncrementalScanDetails | None = ... - """ - Contains information about the incremental scan configuration. When - specified, the scan will only process changes since the baseline - resource. - """ - recovery_point: RecoveryPoint | None = ... - """ - Contains information about the recovery point configuration for the - requested scan. - """ - -@dataclass(kw_only=True) -class StartMalwareScanInput(_SerdeShape): - """Dataclass for StartMalwareScanInput structure.""" - - resource_arn: str | None = ... - """ - Amazon Resource Name (ARN) of the resource for which you invoked the - API. - """ - client_token: str | None = ... - """The idempotency token for the create request.""" - scan_configuration: StartMalwareScanConfiguration | None = ... - """ - Contains information about the configuration to be used for the malware - scan. - """ - -@dataclass(kw_only=True) -class StartMalwareScanOutput(_SerdeShape): - """Dataclass for StartMalwareScanOutput structure.""" - - scan_id: str | None = ... - """ - A unique identifier that gets generated when you invoke the API without - any error. Each malware scan has a corresponding scan ID. Using this - scan ID, you can monitor the status of your malware scan. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartMonitoringMembersInput(_SerdeShape): - """Dataclass for StartMonitoringMembersInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector of the GuardDuty administrator account - associated with the member accounts to monitor. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - account_ids: list[str] | None = ... - """ - A list of account IDs of the GuardDuty member accounts to start - monitoring. - """ - -@dataclass(kw_only=True) -class StartMonitoringMembersOutput(_SerdeShape): - """Dataclass for StartMonitoringMembersOutput structure.""" - - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of objects that contain the unprocessed account and a result - string that explains why it was unprocessed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopMonitoringMembersInput(_SerdeShape): - """Dataclass for StopMonitoringMembersInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector associated with the GuardDuty - administrator account that is monitoring member accounts. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - account_ids: list[str] | None = ... - """A list of account IDs for the member accounts to stop monitoring.""" - -@dataclass(kw_only=True) -class StopMonitoringMembersOutput(_SerdeShape): - """Dataclass for StopMonitoringMembersOutput structure.""" - - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of objects that contain an accountId for each account that could - not be processed, and a result string that indicates why the account was - not processed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """Contains information about a tag key-value pair.""" - - key: str | None = ... - """Describes the key associated with the tag.""" - value: str | None = ... - """Describes the value associated with the tag key.""" - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Dataclass for TagResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the GuardDuty resource to apply a tag - to. - """ - tags: dict[str, str] | None = ... - """The tags to be added to a resource.""" - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Threat(_SerdeShape): - """ - Information about the detected threats associated with the generated - finding. - """ - - name: str | None = ... - """ - Name of the detected threat that caused GuardDuty to generate this - finding. - """ - source: str | None = ... - """Source of the threat that generated this finding.""" - item_paths: list[ItemPath] | None = ... - """ - Information about the nested item path and hash of the protected - resource. - """ - count: int | None = ... - """ - The number of occurrences of this specific threat detected during the - scan. - """ - hash: str | None = ... - """The hash identifier of the detected malware threat.""" - item_details: list[ItemDetails] | None = ... - """Detailed information about the detected malware threat.""" - -@dataclass(kw_only=True) -class ThreatDetectedByName(_SerdeShape): - """Contains details about identified threats organized by threat name.""" - - item_count: int | None = ... - """Total number of infected files identified.""" - unique_threat_name_count: int | None = ... - """ - Total number of unique threats by name identified, as part of the - malware scan. - """ - shortened: bool | None = ... - """ - Flag to determine if the finding contains every single infected - file-path and/or every threat. - """ - threat_names: list[ScanThreatName] | None = ... - """List of identified threats with details, organized by threat name.""" - -class ThreatEntitySetFormat(UnknownEnumMixin, StrEnum): - TXT = "TXT" - STIX = "STIX" - OTX_CSV = "OTX_CSV" - ALIEN_VAULT = "ALIEN_VAULT" - PROOF_POINT = "PROOF_POINT" - FIRE_EYE = "FIRE_EYE" - -class ThreatEntitySetStatus(UnknownEnumMixin, StrEnum): - INACTIVE = "INACTIVE" - ACTIVATING = "ACTIVATING" - ACTIVE = "ACTIVE" - DEACTIVATING = "DEACTIVATING" - ERROR = "ERROR" - DELETE_PENDING = "DELETE_PENDING" - DELETED = "DELETED" - -@dataclass(kw_only=True) -class ThreatIntelligenceDetail(_SerdeShape): - """ - An instance of a threat intelligence detail that constitutes evidence - for the finding. - """ - - threat_list_name: str | None = ... - """The name of the threat intelligence list that triggered the finding.""" - threat_names: list[str] | None = ... - """ - A list of names of the threats in the threat intelligence list that - triggered the finding. - """ - threat_file_sha256: str | None = ... - """SHA256 of the file that generated the finding.""" - -class ThreatIntelSetFormat(UnknownEnumMixin, StrEnum): - TXT = "TXT" - STIX = "STIX" - OTX_CSV = "OTX_CSV" - ALIEN_VAULT = "ALIEN_VAULT" - PROOF_POINT = "PROOF_POINT" - FIRE_EYE = "FIRE_EYE" - -class ThreatIntelSetStatus(UnknownEnumMixin, StrEnum): - INACTIVE = "INACTIVE" - ACTIVATING = "ACTIVATING" - ACTIVE = "ACTIVE" - DEACTIVATING = "DEACTIVATING" - ERROR = "ERROR" - DELETE_PENDING = "DELETE_PENDING" - DELETED = "DELETED" - -@dataclass(kw_only=True) -class ThreatsDetectedItemCount(_SerdeShape): - """Contains total number of infected files.""" - - files: int | None = ... - """Total number of infected files.""" - -@dataclass(kw_only=True) -class Total(_SerdeShape): - """ - Contains the total usage with the corresponding currency unit for that - value. - """ - - amount: str | None = ... - """The total usage.""" - unit: str | None = ... - """The currency unit that the amount is given in.""" - -@dataclass(kw_only=True) -class TriggerDetails(_SerdeShape): - """Represents the reason the scan was triggered.""" - - guard_duty_finding_id: str | None = ... - """The ID of the GuardDuty finding that triggered the malware scan.""" - description: str | None = ... - """The description of the scan trigger.""" - trigger_type: str | None = ... - """Specifies the trigger type that started the malware scan.""" - -class TriggerType(UnknownEnumMixin, StrEnum): - BACKUP = "BACKUP" - GUARDDUTY = "GUARDDUTY" - -class TrustedEntitySetFormat(UnknownEnumMixin, StrEnum): - TXT = "TXT" - STIX = "STIX" - OTX_CSV = "OTX_CSV" - ALIEN_VAULT = "ALIEN_VAULT" - PROOF_POINT = "PROOF_POINT" - FIRE_EYE = "FIRE_EYE" - -class TrustedEntitySetStatus(UnknownEnumMixin, StrEnum): - INACTIVE = "INACTIVE" - ACTIVATING = "ACTIVATING" - ACTIVE = "ACTIVE" - DEACTIVATING = "DEACTIVATING" - ERROR = "ERROR" - DELETE_PENDING = "DELETE_PENDING" - DELETED = "DELETED" - -@dataclass(kw_only=True) -class UnarchiveFindingsInput(_SerdeShape): - """Dataclass for UnarchiveFindingsInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector associated with the findings to unarchive. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - finding_ids: list[str] | None = ... - """The IDs of the findings to unarchive.""" - -@dataclass(kw_only=True) -class UnarchiveFindingsOutput(_SerdeShape): - """Dataclass for UnarchiveFindingsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UnprocessedAccount(_SerdeShape): - """Contains information about the accounts that weren't processed.""" - - account_id: str | None = ... - """The Amazon Web Services account ID.""" - result: str | None = ... - """A reason why the account hasn't been processed.""" - -@dataclass(kw_only=True) -class UnprocessedDataSourcesResult(_SerdeShape): - """Specifies the names of the data sources that couldn't be enabled.""" - - malware_protection: MalwareProtectionConfigurationResult | None = ... - """ - An object that contains information on the status of all Malware - Protection data sources. - """ - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Dataclass for UntagResourceInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) for the resource to remove tags from.""" - tag_keys: list[str] | None = ... - """The tag keys to remove from the resource.""" - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCustomDetectionRuleAssociationInput(_SerdeShape): - """Dataclass for UpdateCustomDetectionRuleAssociationInput structure.""" - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - association_id: str | None = ... - """The unique identifier for the association to update.""" - mode: str | None = ... - """The rule execution mode. Valid values: `LIVE` | `DRY_RUN`.""" - -@dataclass(kw_only=True) -class UpdateCustomDetectionRuleAssociationOutput(_SerdeShape): - """Dataclass for UpdateCustomDetectionRuleAssociationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCustomDetectionRuleOrgConfigurationInput(_SerdeShape): - """Dataclass for UpdateCustomDetectionRuleOrgConfigurationInput structure.""" - - rule_id: str | None = ... - """The unique identifier for the custom detection rule.""" - mode: str | None = ... - """ - The execution mode of the organization configuration. Valid values: - `LIVE` | `DRY_RUN`. - """ - include_account_ids: list[str] | None = ... - """ - The account IDs to include in the organization configuration. Mutually - exclusive with `ExcludeAccountIds`. - """ - exclude_account_ids: list[str] | None = ... - """ - The account IDs to exclude from the organization configuration. Mutually - exclusive with `IncludeAccountIds`. - """ - -@dataclass(kw_only=True) -class UpdateCustomDetectionRuleOrgConfigurationOutput(_SerdeShape): - """Dataclass for UpdateCustomDetectionRuleOrgConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDetectorInput(_SerdeShape): - """Dataclass for UpdateDetectorInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector to update. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - enable: bool | None = ... - """Specifies whether the detector is enabled or not enabled.""" - finding_publishing_frequency: str | None = ... - """ - An enum value that specifies how frequently findings are exported, such - as to CloudWatch Events. - """ - data_sources: DataSourceConfigurations | None = ... - """ - Describes which data sources will be updated. - - There might be regional differences because some data sources might not - be available in all the Amazon Web Services Regions where GuardDuty is - presently supported. For more information, see [Regions and - endpoints](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). - """ - features: list[DetectorFeatureConfiguration] | None = ... - """Provides the features that will be updated for the detector.""" - -@dataclass(kw_only=True) -class UpdateDetectorOutput(_SerdeShape): - """Dataclass for UpdateDetectorOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFilterInput(_SerdeShape): - """Dataclass for UpdateFilterInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that specifies the GuardDuty service where - you want to update a filter. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - filter_name: str | None = ... - """The name of the filter.""" - description: str | None = ... - """ - The description of the filter. Valid characters include alphanumeric - characters, and special characters such as hyphen, period, colon, - underscore, parentheses (`{ }`, `[ ]`, and `( )`), forward slash, - horizontal tab, vertical tab, newline, form feed, return, and - whitespace. - """ - action: str | None = ... - """ - Specifies the action that is to be applied to the findings that match - the filter. - - Default: NOOP - """ - rank: int | None = ... - """ - Specifies the position of the filter in the list of current filters. - Also specifies the order in which this filter is applied to the - findings. - """ - finding_criteria: FindingCriteria | None = ... - """ - Represents the criteria to be used in the filter for querying findings. - The following fields are available for filtering: - - - accountId - - - arn - - - associatedAttackSequenceArn - - - confidence - - - createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - id - - - partition - - - region - - - resource.accessKeyDetails.accessKeyId - - - resource.accessKeyDetails.principalId - - - resource.accessKeyDetails.userIdentity.accessKeyId - - - resource.accessKeyDetails.userIdentity.accountId - - - resource.accessKeyDetails.userIdentity.arn - - - resource.accessKeyDetails.userIdentity.principalId - - - resource.accessKeyDetails.userIdentity.sessionContext.attributes.mfaAuthenticated - - - resource.accessKeyDetails.userIdentity.sessionContext.ec2RoleDelivery - - - resource.accessKeyDetails.userIdentity.sessionContext.invokedBy - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.accountId - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.arn - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.principalId - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.type - - - resource.accessKeyDetails.userIdentity.sessionContext.sessionIssuer.userName - - - resource.accessKeyDetails.userIdentity.sessionContext.sourceIdentity - - - resource.accessKeyDetails.userIdentity.sessionContext.webIdFederationData.attributes - - - resource.accessKeyDetails.userIdentity.sessionContext.webIdFederationData.federatedProvider - - - resource.accessKeyDetails.userIdentity.type - - - resource.accessKeyDetails.userIdentity.userName - - - resource.accessKeyDetails.userName - - - resource.accessKeyDetails.userType - - - resource.bedrockGuardrailDetails.guardrailArn - - - resource.bedrockGuardrailDetails.guardrailVersion - - - resource.containerDetails.containerRuntime - - - resource.containerDetails.id - - - resource.containerDetails.image - - - resource.containerDetails.imagePrefix - - - resource.containerDetails.name - - - resource.containerDetails.securityContext.allowPrivilegeEscalation - - - resource.containerDetails.securityContext.privileged - - - resource.containerDetails.volumeMounts.mountPath - - - resource.containerDetails.volumeMounts.name - - - resource.ebsSnapshotDetails.snapshotArn - - - resource.ebsVolumeDetails.scannedVolumeDetails.deviceName - - - resource.ebsVolumeDetails.scannedVolumeDetails.encryptionType - - - resource.ebsVolumeDetails.scannedVolumeDetails.kmsKeyArn - - - resource.ebsVolumeDetails.scannedVolumeDetails.snapshotArn - - - resource.ebsVolumeDetails.scannedVolumeDetails.volumeArn - - - resource.ebsVolumeDetails.scannedVolumeDetails.volumeSizeInGB - - - resource.ebsVolumeDetails.scannedVolumeDetails.volumeType - - - resource.ebsVolumeDetails.skippedVolumeDetails.deviceName - - - resource.ebsVolumeDetails.skippedVolumeDetails.encryptionType - - - resource.ebsVolumeDetails.skippedVolumeDetails.kmsKeyArn - - - resource.ebsVolumeDetails.skippedVolumeDetails.snapshotArn - - - resource.ebsVolumeDetails.skippedVolumeDetails.volumeArn - - - resource.ebsVolumeDetails.skippedVolumeDetails.volumeSizeInGB - - - resource.ebsVolumeDetails.skippedVolumeDetails.volumeType - - - resource.ec2ImageDetails.imageArn - - - resource.ecsClusterDetails.activeServicesCount - - - resource.ecsClusterDetails.arn - - - resource.ecsClusterDetails.name - - - resource.ecsClusterDetails.registeredContainerInstancesCount - - - resource.ecsClusterDetails.runningTasksCount - - - resource.ecsClusterDetails.status - - - resource.ecsClusterDetails.tags.key - - - resource.ecsClusterDetails.tags.value - - - resource.ecsClusterDetails.taskDetails.arn - - - resource.ecsClusterDetails.taskDetails.containers.containerRuntime - - - resource.ecsClusterDetails.taskDetails.containers.id - - - resource.ecsClusterDetails.taskDetails.containers.image - - - resource.ecsClusterDetails.taskDetails.containers.imagePrefix - - - resource.ecsClusterDetails.taskDetails.containers.name - - - resource.ecsClusterDetails.taskDetails.containers.securityContext.allowPrivilegeEscalation - - - resource.ecsClusterDetails.taskDetails.containers.securityContext.privileged - - - resource.ecsClusterDetails.taskDetails.containers.volumeMounts.mountPath - - - resource.ecsClusterDetails.taskDetails.containers.volumeMounts.name - - - resource.ecsClusterDetails.taskDetails.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.ecsClusterDetails.taskDetails.definitionArn - - - resource.ecsClusterDetails.taskDetails.group - - - resource.ecsClusterDetails.taskDetails.launchType - - - resource.ecsClusterDetails.taskDetails.startedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.ecsClusterDetails.taskDetails.startedBy - - - resource.ecsClusterDetails.taskDetails.tags.key - - - resource.ecsClusterDetails.taskDetails.tags.value - - - resource.ecsClusterDetails.taskDetails.version - - - resource.ecsClusterDetails.taskDetails.volumes.hostPath.path - - - resource.ecsClusterDetails.taskDetails.volumes.name - - - resource.eksClusterDetails.arn - - - resource.eksClusterDetails.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.eksClusterDetails.name - - - resource.eksClusterDetails.status - - - resource.eksClusterDetails.tags.key - - - resource.eksClusterDetails.tags.value - - - resource.eksClusterDetails.vpcId - - - resource.instanceDetails.availabilityZone - - - resource.instanceDetails.iamInstanceProfile.arn - - - resource.instanceDetails.iamInstanceProfile.id - - - resource.instanceDetails.imageDescription - - - resource.instanceDetails.imageId - - - resource.instanceDetails.instanceId - - - resource.instanceDetails.instanceState - - - resource.instanceDetails.instanceType - - - resource.instanceDetails.launchTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.instanceDetails.networkInterfaces.ipv6Addresses - - - resource.instanceDetails.networkInterfaces.networkInterfaceId - - - resource.instanceDetails.networkInterfaces.privateDnsName - - - resource.instanceDetails.networkInterfaces.privateIpAddress - - - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateDnsName - - - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress - - - resource.instanceDetails.networkInterfaces.publicDnsName - - - resource.instanceDetails.networkInterfaces.publicIp - - - resource.instanceDetails.networkInterfaces.securityGroups.groupId - - - resource.instanceDetails.networkInterfaces.securityGroups.groupName - - - resource.instanceDetails.networkInterfaces.subnetId - - - resource.instanceDetails.networkInterfaces.vpcId - - - resource.instanceDetails.outpostArn - - - resource.instanceDetails.platform - - - resource.instanceDetails.productCodes.productCodeId - - - resource.instanceDetails.productCodes.productCodeType - - - resource.instanceDetails.tags.key - - - resource.instanceDetails.tags.value - - - resource.kubernetesDetails.kubernetesUserDetails.groups - - - resource.kubernetesDetails.kubernetesUserDetails.impersonatedUser.groups - - - resource.kubernetesDetails.kubernetesUserDetails.impersonatedUser.username - - - resource.kubernetesDetails.kubernetesUserDetails.sessionName - - - resource.kubernetesDetails.kubernetesUserDetails.uid - - - resource.kubernetesDetails.kubernetesUserDetails.username - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.containerRuntime - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.id - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.image - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.imagePrefix - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.name - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.securityContext.allowPrivilegeEscalation - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.securityContext.privileged - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.volumeMounts.mountPath - - - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.volumeMounts.name - - - resource.kubernetesDetails.kubernetesWorkloadDetails.hostIpc - - - resource.kubernetesDetails.kubernetesWorkloadDetails.hostNetwork - - - resource.kubernetesDetails.kubernetesWorkloadDetails.hostPid - - - resource.kubernetesDetails.kubernetesWorkloadDetails.name - - - resource.kubernetesDetails.kubernetesWorkloadDetails.namespace - - - resource.kubernetesDetails.kubernetesWorkloadDetails.serviceAccountName - - - resource.kubernetesDetails.kubernetesWorkloadDetails.type - - - resource.kubernetesDetails.kubernetesWorkloadDetails.uid - - - resource.kubernetesDetails.kubernetesWorkloadDetails.volumes.hostPath.path - - - resource.kubernetesDetails.kubernetesWorkloadDetails.volumes.name - - - resource.lambdaDetails.description - - - resource.lambdaDetails.functionArn - - - resource.lambdaDetails.functionName - - - resource.lambdaDetails.functionVersion - - - resource.lambdaDetails.lastModifiedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.lambdaDetails.revisionId - - - resource.lambdaDetails.role - - - resource.lambdaDetails.tags.key - - - resource.lambdaDetails.tags.value - - - resource.lambdaDetails.vpcConfig.securityGroups.groupId - - - resource.lambdaDetails.vpcConfig.securityGroups.groupName - - - resource.lambdaDetails.vpcConfig.subnetIds - - - resource.lambdaDetails.vpcConfig.vpcId - - - resource.rdsDbInstanceDetails.dbClusterIdentifier - - - resource.rdsDbInstanceDetails.dbInstanceArn - - - resource.rdsDbInstanceDetails.dbInstanceIdentifier - - - resource.rdsDbInstanceDetails.dbSecurityGroups.name - - - resource.rdsDbInstanceDetails.dbSecurityGroups.status - - - resource.rdsDbInstanceDetails.dbiResourceId - - - resource.rdsDbInstanceDetails.engine - - - resource.rdsDbInstanceDetails.engineVersion - - - resource.rdsDbInstanceDetails.iamDatabaseAuthenticationEnabled - - - resource.rdsDbInstanceDetails.publiclyAccessible - - - resource.rdsDbInstanceDetails.vpcId - - - resource.rdsDbInstanceDetails.vpcSecurityGroups.status - - - resource.rdsDbInstanceDetails.vpcSecurityGroups.vpcSecurityGroupId - - - resource.rdsDbUserDetails.application - - - resource.rdsDbUserDetails.authMethod - - - resource.rdsDbUserDetails.database - - - resource.rdsDbUserDetails.ssl - - - resource.rdsDbUserDetails.user - - - resource.rdsLimitlessDbDetails.dbClusterIdentifier - - - resource.rdsLimitlessDbDetails.dbShardGroupArn - - - resource.rdsLimitlessDbDetails.dbShardGroupIdentifier - - - resource.rdsLimitlessDbDetails.dbShardGroupResourceId - - - resource.rdsLimitlessDbDetails.engine - - - resource.rdsLimitlessDbDetails.engineVersion - - - resource.rdsLimitlessDbDetails.tags.key - - - resource.rdsLimitlessDbDetails.tags.value - - - resource.recoveryPointDetails.backupVaultName - - - resource.recoveryPointDetails.recoveryPointArn - - - resource.resourceType - - - resource.s3BucketDetails.arn - - - resource.s3BucketDetails.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - resource.s3BucketDetails.defaultServerSideEncryption.encryptionType - - - resource.s3BucketDetails.defaultServerSideEncryption.kmsMasterKeyArn - - - resource.s3BucketDetails.name - - - resource.s3BucketDetails.owner.id - - - resource.s3BucketDetails.publicAccess.effectivePermission - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.blockPublicAcls - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.blockPublicPolicy - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.ignorePublicAcls - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.accountLevelPermissions.blockPublicAccess.restrictPublicBuckets - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.accessControlList.allowsPublicReadAccess - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.accessControlList.allowsPublicWriteAccess - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.blockPublicAcls - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.blockPublicPolicy - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.ignorePublicAcls - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.blockPublicAccess.restrictPublicBuckets - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.bucketPolicy.allowsPublicReadAccess - - - resource.s3BucketDetails.publicAccess.permissionConfiguration.bucketLevelPermissions.bucketPolicy.allowsPublicWriteAccess - - - resource.s3BucketDetails.s3ObjectDetails.eTag - - - resource.s3BucketDetails.s3ObjectDetails.hash - - - resource.s3BucketDetails.s3ObjectDetails.key - - - resource.s3BucketDetails.s3ObjectDetails.objectArn - - - resource.s3BucketDetails.s3ObjectDetails.versionId - - - resource.s3BucketDetails.tags.key - - - resource.s3BucketDetails.tags.value - - - resource.s3BucketDetails.type - - - schemaVersion - - - service.action.actionType - - - service.action.awsApiCallAction.api - - - service.action.awsApiCallAction.callerType - - - service.action.awsApiCallAction.domainDetails.domain - - - service.action.awsApiCallAction.errorCode - - - service.action.awsApiCallAction.remoteAccountDetails.accountId - - - service.action.awsApiCallAction.remoteAccountDetails.affiliated - - - service.action.awsApiCallAction.remoteAccountDetails.awsServiceName - - - service.action.awsApiCallAction.remoteIpDetails.city.cityName - - - service.action.awsApiCallAction.remoteIpDetails.country.countryCode - - - service.action.awsApiCallAction.remoteIpDetails.country.countryName - - - service.action.awsApiCallAction.remoteIpDetails.geoLocation.lat - - - service.action.awsApiCallAction.remoteIpDetails.geoLocation.lon - - - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 - - - service.action.awsApiCallAction.remoteIpDetails.ipAddressV6 - - - service.action.awsApiCallAction.remoteIpDetails.organization.asn - - - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg - - - service.action.awsApiCallAction.remoteIpDetails.organization.isp - - - service.action.awsApiCallAction.remoteIpDetails.organization.org - - - service.action.awsApiCallAction.serviceName - - - service.action.awsApiCallAction.userAgent - - - service.action.dnsRequestAction.blocked - - - service.action.dnsRequestAction.domain - - - service.action.dnsRequestAction.domainWithSuffix - - - service.action.dnsRequestAction.protocol - - - service.action.dnsRequestAction.vpcOwnerAccountId - - - service.action.kubernetesApiCallAction.namespace - - - service.action.kubernetesApiCallAction.parameters - - - service.action.kubernetesApiCallAction.remoteIpDetails.city.cityName - - - service.action.kubernetesApiCallAction.remoteIpDetails.country.countryCode - - - service.action.kubernetesApiCallAction.remoteIpDetails.country.countryName - - - service.action.kubernetesApiCallAction.remoteIpDetails.geoLocation.lat - - - service.action.kubernetesApiCallAction.remoteIpDetails.geoLocation.lon - - - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4 - - - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6 - - - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn - - - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asnOrg - - - service.action.kubernetesApiCallAction.remoteIpDetails.organization.isp - - - service.action.kubernetesApiCallAction.remoteIpDetails.organization.org - - - service.action.kubernetesApiCallAction.requestUri - - - service.action.kubernetesApiCallAction.resource - - - service.action.kubernetesApiCallAction.resourceName - - - service.action.kubernetesApiCallAction.sourceIPs - - - service.action.kubernetesApiCallAction.statusCode - - - service.action.kubernetesApiCallAction.subresource - - - service.action.kubernetesApiCallAction.userAgent - - - service.action.kubernetesApiCallAction.verb - - - service.action.kubernetesPermissionCheckedDetails.allowed - - - service.action.kubernetesPermissionCheckedDetails.namespace - - - service.action.kubernetesPermissionCheckedDetails.resource - - - service.action.kubernetesPermissionCheckedDetails.verb - - - service.action.kubernetesRoleBindingDetails.kind - - - service.action.kubernetesRoleBindingDetails.name - - - service.action.kubernetesRoleBindingDetails.roleRefKind - - - service.action.kubernetesRoleBindingDetails.roleRefName - - - service.action.kubernetesRoleBindingDetails.uid - - - service.action.kubernetesRoleDetails.kind - - - service.action.kubernetesRoleDetails.name - - - service.action.kubernetesRoleDetails.uid - - - service.action.networkConnectionAction.blocked - - - service.action.networkConnectionAction.connectionDirection - - - service.action.networkConnectionAction.localIpDetails.ipAddressV4 - - - service.action.networkConnectionAction.localIpDetails.ipAddressV6 - - - service.action.networkConnectionAction.localNetworkInterface - - - service.action.networkConnectionAction.localPortDetails.port - - - service.action.networkConnectionAction.localPortDetails.portName - - - service.action.networkConnectionAction.protocol - - - service.action.networkConnectionAction.remoteIpDetails.city.cityName - - - service.action.networkConnectionAction.remoteIpDetails.country.countryCode - - - service.action.networkConnectionAction.remoteIpDetails.country.countryName - - - service.action.networkConnectionAction.remoteIpDetails.geoLocation.lat - - - service.action.networkConnectionAction.remoteIpDetails.geoLocation.lon - - - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 - - - service.action.networkConnectionAction.remoteIpDetails.ipAddressV6 - - - service.action.networkConnectionAction.remoteIpDetails.organization.asn - - - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg - - - service.action.networkConnectionAction.remoteIpDetails.organization.isp - - - service.action.networkConnectionAction.remoteIpDetails.organization.org - - - service.action.networkConnectionAction.remotePortDetails.port - - - service.action.networkConnectionAction.remotePortDetails.portName - - - service.action.portProbeAction.blocked - - - service.action.portProbeAction.portProbeDetails.localIpDetails.ipAddressV4 - - - service.action.portProbeAction.portProbeDetails.localIpDetails.ipAddressV6 - - - service.action.portProbeAction.portProbeDetails.localPortDetails.port - - - service.action.portProbeAction.portProbeDetails.localPortDetails.portName - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.city.cityName - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.country.countryCode - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.country.countryName - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.geoLocation.lat - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.geoLocation.lon - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.ipAddressV4 - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.ipAddressV6 - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.asn - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.asnOrg - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.isp - - - service.action.portProbeAction.portProbeDetails.remoteIpDetails.organization.org - - - service.action.rdsLoginAttemptAction.loginAttributes.application - - - service.action.rdsLoginAttemptAction.loginAttributes.failedLoginAttempts - - - service.action.rdsLoginAttemptAction.loginAttributes.successfulLoginAttempts - - - service.action.rdsLoginAttemptAction.loginAttributes.user - - - service.action.rdsLoginAttemptAction.remoteIpDetails.city.cityName - - - service.action.rdsLoginAttemptAction.remoteIpDetails.country.countryCode - - - service.action.rdsLoginAttemptAction.remoteIpDetails.country.countryName - - - service.action.rdsLoginAttemptAction.remoteIpDetails.geoLocation.lat - - - service.action.rdsLoginAttemptAction.remoteIpDetails.geoLocation.lon - - - service.action.rdsLoginAttemptAction.remoteIpDetails.ipAddressV4 - - - service.action.rdsLoginAttemptAction.remoteIpDetails.ipAddressV6 - - - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.asn - - - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.asnOrg - - - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.isp - - - service.action.rdsLoginAttemptAction.remoteIpDetails.organization.org - - - service.additionalInfo.agentDetails.agentId - - - service.additionalInfo.agentDetails.agentVersion - - - service.additionalInfo.anomalies.anomalousAPIs - - - service.additionalInfo.authenticationMethod - - - service.additionalInfo.averagePacketSizeIn - - - service.additionalInfo.averagePacketSizeOut - - - service.additionalInfo.context - - - service.additionalInfo.domain - - - service.additionalInfo.inBytes - - - service.additionalInfo.localNetworkInterfaceOwner - - - service.additionalInfo.localPort - - - service.additionalInfo.outBytes - - - service.additionalInfo.packetsIn - - - service.additionalInfo.packetsOut - - - service.additionalInfo.policyArn - - - service.additionalInfo.policyName - - - service.additionalInfo.remotePort - - - service.additionalInfo.sample - - - service.additionalInfo.scannedPort - - - service.additionalInfo.threatFileSha256 - - - service.additionalInfo.threatListName - - - service.additionalInfo.threatName - - - service.additionalInfo.totalBytesIn - - - service.additionalInfo.totalBytesOut - - - service.additionalInfo.type - - - service.additionalInfo.unusual.asnOrg - - - service.additionalInfo.unusual.port - - - service.additionalInfo.unusualProtocol - - - service.additionalInfo.userAgent.fullUserAgent - - - service.additionalInfo.userAgent.userAgentCategory - - - service.additionalInfo.value - - - service.additionalInfo.vpcOwnerAccountId - - - service.archived - - - service.count - - - service.detection.sequence.actors.id - - - service.detection.sequence.actors.process.name - - - service.detection.sequence.actors.process.path - - - service.detection.sequence.actors.process.sha256 - - - service.detection.sequence.actors.session.createdTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.actors.session.issuer - - - service.detection.sequence.actors.session.mfaStatus - - - service.detection.sequence.actors.session.uid - - - service.detection.sequence.actors.user.account.account - - - service.detection.sequence.actors.user.account.uid - - - service.detection.sequence.actors.user.credentialUid - - - service.detection.sequence.actors.user.name - - - service.detection.sequence.actors.user.type - - - service.detection.sequence.actors.user.uid - - - service.detection.sequence.additionalSequenceTypes - - - service.detection.sequence.description - - - service.detection.sequence.endpoints.autonomousSystem.name - - - service.detection.sequence.endpoints.autonomousSystem.number - - - service.detection.sequence.endpoints.connection.direction - - - service.detection.sequence.endpoints.domain - - - service.detection.sequence.endpoints.id - - - service.detection.sequence.endpoints.ip - - - service.detection.sequence.endpoints.location.city - - - service.detection.sequence.endpoints.location.country - - - service.detection.sequence.endpoints.location.lat - - - service.detection.sequence.endpoints.location.lon - - - service.detection.sequence.endpoints.port - - - service.detection.sequence.resources.accountId - - - service.detection.sequence.resources.cloudPartition - - - service.detection.sequence.resources.data.accessKey.principalId - - - service.detection.sequence.resources.data.accessKey.userName - - - service.detection.sequence.resources.data.accessKey.userType - - - service.detection.sequence.resources.data.autoscalingAutoScalingGroup.ec2InstanceUids - - - service.detection.sequence.resources.data.cloudformationStack.ec2InstanceUids - - - service.detection.sequence.resources.data.container.image - - - service.detection.sequence.resources.data.container.imageUid - - - service.detection.sequence.resources.data.ec2Image.ec2InstanceUids - - - service.detection.sequence.resources.data.ec2Instance.availabilityZone - - - service.detection.sequence.resources.data.ec2Instance.ec2NetworkInterfaceUids - - - service.detection.sequence.resources.data.ec2Instance.iamInstanceProfile.arn - - - service.detection.sequence.resources.data.ec2Instance.iamInstanceProfile.id - - - service.detection.sequence.resources.data.ec2Instance.imageDescription - - - service.detection.sequence.resources.data.ec2Instance.instanceState - - - service.detection.sequence.resources.data.ec2Instance.instanceType - - - service.detection.sequence.resources.data.ec2Instance.outpostArn - - - service.detection.sequence.resources.data.ec2Instance.platform - - - service.detection.sequence.resources.data.ec2Instance.productCodes.productCodeId - - - service.detection.sequence.resources.data.ec2Instance.productCodes.productCodeType - - - service.detection.sequence.resources.data.ec2LaunchTemplate.ec2InstanceUids - - - service.detection.sequence.resources.data.ec2LaunchTemplate.version - - - service.detection.sequence.resources.data.ec2NetworkInterface.ipv6Addresses - - - service.detection.sequence.resources.data.ec2NetworkInterface.privateIpAddresses.privateDnsName - - - service.detection.sequence.resources.data.ec2NetworkInterface.privateIpAddresses.privateIpAddress - - - service.detection.sequence.resources.data.ec2NetworkInterface.publicIp - - - service.detection.sequence.resources.data.ec2NetworkInterface.securityGroups.groupId - - - service.detection.sequence.resources.data.ec2NetworkInterface.securityGroups.groupName - - - service.detection.sequence.resources.data.ec2NetworkInterface.subNetId - - - service.detection.sequence.resources.data.ec2NetworkInterface.vpcId - - - service.detection.sequence.resources.data.ec2Vpc.ec2InstanceUids - - - service.detection.sequence.resources.data.ecsCluster.ec2InstanceUids - - - service.detection.sequence.resources.data.ecsCluster.status - - - service.detection.sequence.resources.data.ecsTask.containerUids - - - service.detection.sequence.resources.data.ecsTask.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.resources.data.ecsTask.launchType - - - service.detection.sequence.resources.data.ecsTask.taskDefinitionArn - - - service.detection.sequence.resources.data.eksCluster.arn - - - service.detection.sequence.resources.data.eksCluster.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.resources.data.eksCluster.ec2InstanceUids - - - service.detection.sequence.resources.data.eksCluster.status - - - service.detection.sequence.resources.data.eksCluster.vpcId - - - service.detection.sequence.resources.data.iamInstanceProfile.ec2InstanceUids - - - service.detection.sequence.resources.data.iamInstanceProfile.id - - - service.detection.sequence.resources.data.kubernetesWorkload.containerUids - - - service.detection.sequence.resources.data.kubernetesWorkload.namespace - - - service.detection.sequence.resources.data.kubernetesWorkload.type - - - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicAclAccess - - - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicAclIgnoreBehavior - - - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicBucketRestrictBehavior - - - service.detection.sequence.resources.data.s3Bucket.accountPublicAccess.publicPolicyAccess - - - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicAclAccess - - - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicAclIgnoreBehavior - - - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicBucketRestrictBehavior - - - service.detection.sequence.resources.data.s3Bucket.bucketPublicAccess.publicPolicyAccess - - - service.detection.sequence.resources.data.s3Bucket.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.resources.data.s3Bucket.effectivePermission - - - service.detection.sequence.resources.data.s3Bucket.encryptionKeyArn - - - service.detection.sequence.resources.data.s3Bucket.encryptionType - - - service.detection.sequence.resources.data.s3Bucket.ownerId - - - service.detection.sequence.resources.data.s3Bucket.publicReadAccess - - - service.detection.sequence.resources.data.s3Bucket.publicWriteAccess - - - service.detection.sequence.resources.data.s3Bucket.s3ObjectUids - - - service.detection.sequence.resources.data.s3Object.eTag - - - service.detection.sequence.resources.data.s3Object.key - - - service.detection.sequence.resources.data.s3Object.versionId - - - service.detection.sequence.resources.name - - - service.detection.sequence.resources.region - - - service.detection.sequence.resources.resourceType - - - service.detection.sequence.resources.service - - - service.detection.sequence.resources.tags.key - - - service.detection.sequence.resources.tags.value - - - service.detection.sequence.resources.uid - - - service.detection.sequence.sequenceIndicators.key - - - service.detection.sequence.sequenceIndicators.title - - - service.detection.sequence.sequenceIndicators.values - - - service.detection.sequence.signals.actorIds - - - service.detection.sequence.signals.count - - - service.detection.sequence.signals.createdAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.signals.description - - - service.detection.sequence.signals.endpointIds - - - service.detection.sequence.signals.firstSeenAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.signals.lastSeenAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.signals.name - - - service.detection.sequence.signals.resourceUids - - - service.detection.sequence.signals.severity - - - service.detection.sequence.signals.signalIndicators.key - - - service.detection.sequence.signals.signalIndicators.title - - - service.detection.sequence.signals.signalIndicators.values - - - service.detection.sequence.signals.type - - - service.detection.sequence.signals.uid - - - service.detection.sequence.signals.updatedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.detection.sequence.uid - - - service.detectorId - - - service.ebsVolumeScanDetails.scanCompletedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.count - - - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.severity - - - service.ebsVolumeScanDetails.scanDetections.highestSeverityThreatDetails.threatName - - - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.files - - - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.totalGb - - - service.ebsVolumeScanDetails.scanDetections.scannedItemCount.volumes - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.itemCount - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.shortened - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.fileName - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.filePath - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.volumeArn - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.itemCount - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity - - - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.uniqueThreatNameCount - - - service.ebsVolumeScanDetails.scanDetections.threatsDetectedItemCount.files - - - service.ebsVolumeScanDetails.scanId - - - service.ebsVolumeScanDetails.scanStartedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.ebsVolumeScanDetails.scanType - - - service.ebsVolumeScanDetails.sources - - - service.ebsVolumeScanDetails.triggerFindingId - - - service.eventFirstSeen - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.eventLastSeen - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.evidence.threatIntelligenceDetails.threatFileSha256 - - - service.evidence.threatIntelligenceDetails.threatListName - - - service.evidence.threatIntelligenceDetails.threatNames - - - service.featureName - - - service.malwareScanDetails.scanCategory - - - service.malwareScanDetails.scanConfiguration.incrementalScanDetails.baselineResourceArn - - - service.malwareScanDetails.scanConfiguration.triggerType - - - service.malwareScanDetails.scanId - - - service.malwareScanDetails.scanType - - - service.malwareScanDetails.threats.count - - - service.malwareScanDetails.threats.hash - - - service.malwareScanDetails.threats.itemDetails.additionalInfo.deviceName - - - service.malwareScanDetails.threats.itemDetails.additionalInfo.versionId - - - service.malwareScanDetails.threats.itemDetails.hash - - - service.malwareScanDetails.threats.itemDetails.itemPath - - - service.malwareScanDetails.threats.itemDetails.resourceArn - - - service.malwareScanDetails.threats.itemPaths.hash - - - service.malwareScanDetails.threats.itemPaths.nestedItemPath - - - service.malwareScanDetails.threats.name - - - service.malwareScanDetails.threats.source - - - service.malwareScanDetails.uniqueThreatCount - - - service.resourceRole - - - service.runtimeDetails.context.addressFamily - - - service.runtimeDetails.context.commandLineExample - - - service.runtimeDetails.context.fileOperation - - - service.runtimeDetails.context.filePath - - - service.runtimeDetails.context.fileSystemType - - - service.runtimeDetails.context.flags - - - service.runtimeDetails.context.ianaProtocolNumber - - - service.runtimeDetails.context.ldPreloadValue - - - service.runtimeDetails.context.libraryPath - - - service.runtimeDetails.context.memoryRegions - - - service.runtimeDetails.context.modifiedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.modifyingProcess.euid - - - service.runtimeDetails.context.modifyingProcess.executablePath - - - service.runtimeDetails.context.modifyingProcess.executableSha256 - - - service.runtimeDetails.context.modifyingProcess.lineage.euid - - - service.runtimeDetails.context.modifyingProcess.lineage.executablePath - - - service.runtimeDetails.context.modifyingProcess.lineage.name - - - service.runtimeDetails.context.modifyingProcess.lineage.namespacePid - - - service.runtimeDetails.context.modifyingProcess.lineage.parentUuid - - - service.runtimeDetails.context.modifyingProcess.lineage.pid - - - service.runtimeDetails.context.modifyingProcess.lineage.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.modifyingProcess.lineage.userId - - - service.runtimeDetails.context.modifyingProcess.lineage.uuid - - - service.runtimeDetails.context.modifyingProcess.name - - - service.runtimeDetails.context.modifyingProcess.namespacePid - - - service.runtimeDetails.context.modifyingProcess.parentUuid - - - service.runtimeDetails.context.modifyingProcess.pid - - - service.runtimeDetails.context.modifyingProcess.pwd - - - service.runtimeDetails.context.modifyingProcess.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.modifyingProcess.user - - - service.runtimeDetails.context.modifyingProcess.userId - - - service.runtimeDetails.context.modifyingProcess.uuid - - - service.runtimeDetails.context.moduleFilePath - - - service.runtimeDetails.context.moduleName - - - service.runtimeDetails.context.moduleSha256 - - - service.runtimeDetails.context.mountSource - - - service.runtimeDetails.context.mountTarget - - - service.runtimeDetails.context.relatedFilePaths - - - service.runtimeDetails.context.releaseAgentPath - - - service.runtimeDetails.context.runcBinaryPath - - - service.runtimeDetails.context.scriptPath - - - service.runtimeDetails.context.serviceName - - - service.runtimeDetails.context.shellHistoryFilePath - - - service.runtimeDetails.context.socketPath - - - service.runtimeDetails.context.targetProcess.euid - - - service.runtimeDetails.context.targetProcess.executablePath - - - service.runtimeDetails.context.targetProcess.executableSha256 - - - service.runtimeDetails.context.targetProcess.lineage.euid - - - service.runtimeDetails.context.targetProcess.lineage.executablePath - - - service.runtimeDetails.context.targetProcess.lineage.name - - - service.runtimeDetails.context.targetProcess.lineage.namespacePid - - - service.runtimeDetails.context.targetProcess.lineage.parentUuid - - - service.runtimeDetails.context.targetProcess.lineage.pid - - - service.runtimeDetails.context.targetProcess.lineage.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.targetProcess.lineage.userId - - - service.runtimeDetails.context.targetProcess.lineage.uuid - - - service.runtimeDetails.context.targetProcess.name - - - service.runtimeDetails.context.targetProcess.namespacePid - - - service.runtimeDetails.context.targetProcess.parentUuid - - - service.runtimeDetails.context.targetProcess.pid - - - service.runtimeDetails.context.targetProcess.pwd - - - service.runtimeDetails.context.targetProcess.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.context.targetProcess.user - - - service.runtimeDetails.context.targetProcess.userId - - - service.runtimeDetails.context.targetProcess.uuid - - - service.runtimeDetails.context.threatFilePath - - - service.runtimeDetails.context.toolCategory - - - service.runtimeDetails.context.toolName - - - service.runtimeDetails.process.euid - - - service.runtimeDetails.process.executablePath - - - service.runtimeDetails.process.executableSha256 - - - service.runtimeDetails.process.lineage.euid - - - service.runtimeDetails.process.lineage.executablePath - - - service.runtimeDetails.process.lineage.name - - - service.runtimeDetails.process.lineage.namespacePid - - - service.runtimeDetails.process.lineage.parentUuid - - - service.runtimeDetails.process.lineage.pid - - - service.runtimeDetails.process.lineage.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.process.lineage.userId - - - service.runtimeDetails.process.lineage.uuid - - - service.runtimeDetails.process.name - - - service.runtimeDetails.process.namespacePid - - - service.runtimeDetails.process.parentUuid - - - service.runtimeDetails.process.pid - - - service.runtimeDetails.process.pwd - - - service.runtimeDetails.process.startTime - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - - - service.runtimeDetails.process.user - - - service.runtimeDetails.process.userId - - - service.runtimeDetails.process.uuid - - - service.serviceName - - - service.userFeedback - - - severity - - To configure severity based filters, use the following for the - [FindingCriteria](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_FindingCriteria.html) - condition: - - - **Low**: `["1", "2", "3"]` - - - **Medium**: `["4", "5", "6"]` - - - **High**: `["7", "8"]` - - - **Critical**: `["9", "10"]` - - For more information, see [Findings severity - levels](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings-severity.html) - in the *Amazon GuardDuty User Guide*. - - - type - - - updatedAt - - Type: Timestamp in Unix Epoch millisecond format. Ex: 1486685375000 - """ - -@dataclass(kw_only=True) -class UpdateFilterOutput(_SerdeShape): - """Dataclass for UpdateFilterOutput structure.""" - - name: str | None = ... - """The name of the filter.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFindingsFeedbackInput(_SerdeShape): - """Dataclass for UpdateFindingsFeedbackInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector that is associated with the findings for which - you want to update the feedback. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - finding_ids: list[str] | None = ... - """The IDs of the findings that you want to mark as useful or not useful.""" - feedback: str | None = ... - """The feedback for the finding.""" - comments: str | None = ... - """Additional feedback about the GuardDuty findings.""" - -@dataclass(kw_only=True) -class UpdateFindingsFeedbackOutput(_SerdeShape): - """Dataclass for UpdateFindingsFeedbackOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateIPSetInput(_SerdeShape): - """Dataclass for UpdateIPSetInput structure.""" - - detector_id: str | None = ... - """ - The detectorID that specifies the GuardDuty service whose IPSet you want - to update. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - ip_set_id: str | None = ... - """The unique ID that specifies the IPSet that you want to update.""" - name: str | None = ... - """The unique ID that specifies the IPSet that you want to update.""" - location: str | None = ... - """The updated URI of the file that contains the IPSet.""" - activate: bool | None = ... - """ - The updated Boolean value that specifies whether the IPSet is active or - not. - """ - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - -@dataclass(kw_only=True) -class UpdateIPSetOutput(_SerdeShape): - """Dataclass for UpdateIPSetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateMalwareProtectionPlanInput(_SerdeShape): - """Dataclass for UpdateMalwareProtectionPlanInput structure.""" - - malware_protection_plan_id: str | None = ... - """A unique identifier associated with the Malware Protection plan.""" - role: str | None = ... - """ - Amazon Resource Name (ARN) of the IAM role with permissions to scan and - add tags to the associated protected resource. - """ - actions: MalwareProtectionPlanActions | None = ... - """ - Information about whether the tags will be added to the S3 object after - scanning. - """ - protected_resource: UpdateProtectedResource | None = ... - """ - Information about the protected resource that is associated with the - created Malware Protection plan. Presently, `S3Bucket` is the only - supported protected resource. - """ - -@dataclass(kw_only=True) -class UpdateMalwareProtectionPlanOutput(_SerdeShape): - """Dataclass for UpdateMalwareProtectionPlanOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateMalwareScanSettingsInput(_SerdeShape): - """Dataclass for UpdateMalwareScanSettingsInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the detector that specifies the GuardDuty service where - you want to update scan settings. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - scan_resource_criteria: ScanResourceCriteria | None = ... - """ - Represents the criteria to be used in the filter for selecting resources - to scan. - """ - ebs_snapshot_preservation: str | None = ... - """An enum value representing possible snapshot preservation settings.""" - -@dataclass(kw_only=True) -class UpdateMalwareScanSettingsOutput(_SerdeShape): - """Dataclass for UpdateMalwareScanSettingsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateMemberDetectorsInput(_SerdeShape): - """Dataclass for UpdateMemberDetectorsInput structure.""" - - detector_id: str | None = ... - """ - The detector ID of the administrator account. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - account_ids: list[str] | None = ... - """A list of member account IDs to be updated.""" - data_sources: DataSourceConfigurations | None = ... - """Describes which data sources will be updated.""" - features: list[MemberFeaturesConfiguration] | None = ... - """ - A list of features that will be updated for the specified member - accounts. - """ - -@dataclass(kw_only=True) -class UpdateMemberDetectorsOutput(_SerdeShape): - """Dataclass for UpdateMemberDetectorsOutput structure.""" - - unprocessed_accounts: list[UnprocessedAccount] | None = ... - """ - A list of member account IDs that were unable to be processed along with - an explanation for why they were not processed. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateOrganizationConfigurationInput(_SerdeShape): - """Dataclass for UpdateOrganizationConfigurationInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector that configures the delegated administrator. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - auto_enable: bool | None = ... - """ - Represents whether to automatically enable member accounts in the - organization. This applies to only new member accounts, not the existing - member accounts. When a new account joins the organization, the chosen - features will be enabled for them by default. - - Even though this is still supported, we recommend using - `AutoEnableOrganizationMembers` to achieve the similar results. You must - provide a value for either `autoEnableOrganizationMembers` or - `autoEnable`. - """ - data_sources: OrganizationDataSourceConfigurations | None = ... - """Describes which data sources will be updated.""" - features: list[OrganizationFeatureConfiguration] | None = ... - """A list of features that will be configured for the organization.""" - auto_enable_organization_members: str | None = ... - """ - Indicates the auto-enablement configuration of GuardDuty for the member - accounts in the organization. You must provide a value for either - `autoEnableOrganizationMembers` or `autoEnable`. - - Use one of the following configuration values for - `autoEnableOrganizationMembers`: - - - `NEW`: Indicates that when a new account joins the organization, they - will have GuardDuty enabled automatically. - - - `ALL`: Indicates that all accounts in the organization have GuardDuty - enabled automatically. This includes `NEW` accounts that join the - organization and accounts that may have been suspended or removed from - the organization in GuardDuty. - - It may take up to 24 hours to update the configuration for all the - member accounts. - - - `NONE`: Indicates that GuardDuty will not be automatically enabled for - any account in the organization. The administrator must manage - GuardDuty for each account in the organization individually. - - When you update the auto-enable setting from `ALL` or `NEW` to `NONE`, - this action doesn't disable the corresponding option for your - existing accounts. This configuration will apply to the new accounts - that join the organization. After you update the auto-enable settings, - no new account will have the corresponding option as enabled. - """ - -@dataclass(kw_only=True) -class UpdateOrganizationConfigurationOutput(_SerdeShape): - """Dataclass for UpdateOrganizationConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateProtectedResource(_SerdeShape): - """ - Information about the protected resource that is associated with the - created Malware Protection plan. Presently, `S3Bucket` is the only - supported protected resource. - """ - - s3_bucket: UpdateS3BucketResource | None = ... - """Information about the protected S3 bucket resource.""" - -@dataclass(kw_only=True) -class UpdatePublishingDestinationInput(_SerdeShape): - """Dataclass for UpdatePublishingDestinationInput structure.""" - - detector_id: str | None = ... - """ - The ID of the detector associated with the publishing destinations to - update. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - destination_id: str | None = ... - """The ID of the publishing destination to update.""" - destination_properties: DestinationProperties | None = ... - """ - A `DestinationProperties` object that includes the `DestinationArn` and - `KmsKeyArn` of the publishing destination. - """ - -@dataclass(kw_only=True) -class UpdatePublishingDestinationOutput(_SerdeShape): - """Dataclass for UpdatePublishingDestinationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateS3BucketResource(_SerdeShape): - """Information about the protected S3 bucket resource.""" - - object_prefixes: list[str] | None = ... - """ - Information about the specified object prefixes. The S3 object will be - scanned only if it belongs to any of the specified object prefixes. - """ - -@dataclass(kw_only=True) -class UpdateThreatEntitySetInput(_SerdeShape): - """Dataclass for UpdateThreatEntitySetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the GuardDuty detector associated with the threat - entity set that you want to update. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - threat_entity_set_id: str | None = ... - """ - The ID returned by GuardDuty after updating the threat entity set - resource. - """ - name: str | None = ... - """ - A user-friendly name to identify the trusted entity set. - - The name of your list can include lowercase letters, uppercase letters, - numbers, dash (-), and underscore (_). - """ - location: str | None = ... - """The URI of the file that contains the trusted entity set.""" - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - activate: bool | None = ... - """ - A boolean value that indicates whether GuardDuty is to start using this - updated threat entity set. After you update an entity set, you will need - to activate it again. It might take up to 15 minutes for the updated - entity set to be effective. - """ - -@dataclass(kw_only=True) -class UpdateThreatEntitySetOutput(_SerdeShape): - """Dataclass for UpdateThreatEntitySetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateThreatIntelSetInput(_SerdeShape): - """Dataclass for UpdateThreatIntelSetInput structure.""" - - detector_id: str | None = ... - """ - The detectorID that specifies the GuardDuty service whose ThreatIntelSet - you want to update. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - threat_intel_set_id: str | None = ... - """The unique ID that specifies the ThreatIntelSet that you want to update.""" - name: str | None = ... - """The unique ID that specifies the ThreatIntelSet that you want to update.""" - location: str | None = ... - """The updated URI of the file that contains the ThreateIntelSet.""" - activate: bool | None = ... - """ - The updated Boolean value that specifies whether the ThreateIntelSet is - active or not. - """ - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - -@dataclass(kw_only=True) -class UpdateThreatIntelSetOutput(_SerdeShape): - """Dataclass for UpdateThreatIntelSetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateTrustedEntitySetInput(_SerdeShape): - """Dataclass for UpdateTrustedEntitySetInput structure.""" - - detector_id: str | None = ... - """ - The unique ID of the GuardDuty detector associated with the threat - entity set that you want to update. - - To find the `detectorId` in the current Region, see the Settings page in - the GuardDuty console, or run the - [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) - API. - """ - trusted_entity_set_id: str | None = ... - """ - The ID returned by GuardDuty after updating the trusted entity set - resource. - """ - name: str | None = ... - """ - A user-friendly name to identify the trusted entity set. - - The name of your list can include lowercase letters, uppercase letters, - numbers, dash (-), and underscore (_). - """ - location: str | None = ... - """The URI of the file that contains the trusted entity set.""" - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID that owns the Amazon S3 bucket - specified in the **location** parameter. - """ - activate: bool | None = ... - """ - A boolean value that indicates whether GuardDuty is to start using this - updated trusted entity set. After you update an entity set, you will - need to activate it again. It might take up to 15 minutes for the - updated entity set to be effective. - """ - -@dataclass(kw_only=True) -class UpdateTrustedEntitySetOutput(_SerdeShape): - """Dataclass for UpdateTrustedEntitySetOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UsageAccountResult(_SerdeShape): - """Contains information on the total of usage based on account IDs.""" - - account_id: str | None = ... - """The Account ID that generated usage.""" - total: Total | None = ... - """Represents the total of usage for the Account ID.""" - -@dataclass(kw_only=True) -class UsageCriteria(_SerdeShape): - """Contains information about the criteria used to query usage statistics.""" - - account_ids: list[str] | None = ... - """The account IDs to aggregate usage statistics from.""" - data_sources: list[str] | None = ... - """The data sources to aggregate usage statistics from.""" - resources: list[str] | None = ... - """ - The resources to aggregate usage statistics from. Only accepts exact - resource names. - """ - features: list[str] | None = ... - """The features to aggregate usage statistics from.""" - -@dataclass(kw_only=True) -class UsageDataSourceResult(_SerdeShape): - """Contains information on the result of usage based on data source type.""" - - data_source: str | None = ... - """The data source type that generated usage.""" - total: Total | None = ... - """Represents the total of usage for the specified data source.""" - -class UsageFeature(UnknownEnumMixin, StrEnum): - FLOW_LOGS = "FLOW_LOGS" - CLOUD_TRAIL = "CLOUD_TRAIL" - DNS_LOGS = "DNS_LOGS" - S3_DATA_EVENTS = "S3_DATA_EVENTS" - EKS_AUDIT_LOGS = "EKS_AUDIT_LOGS" - EBS_MALWARE_PROTECTION = "EBS_MALWARE_PROTECTION" - RDS_LOGIN_EVENTS = "RDS_LOGIN_EVENTS" - LAMBDA_NETWORK_LOGS = "LAMBDA_NETWORK_LOGS" - EKS_RUNTIME_MONITORING = "EKS_RUNTIME_MONITORING" - EC2_RUNTIME_MONITORING = "EC2_RUNTIME_MONITORING" - FARGATE_RUNTIME_MONITORING = "FARGATE_RUNTIME_MONITORING" - RDS_DBI_PROTECTION_PROVISIONED = "RDS_DBI_PROTECTION_PROVISIONED" - RDS_DBI_PROTECTION_SERVERLESS = "RDS_DBI_PROTECTION_SERVERLESS" - RDS_DBI_PROTECTION_LIMITLESS = "RDS_DBI_PROTECTION_LIMITLESS" - """ - Usage attributed to RDS Protection database infrastructure monitoring - for Amazon Aurora DSQL Limitless databases. - """ - RDS_DATA_ACTIVITY_DBI_PROTECTION_PROVISIONED = ( - "RDS_DATA_ACTIVITY_DBI_PROTECTION_PROVISIONED" - ) - """ - Usage attributed to RDS Data Activity Monitoring for provisioned Amazon - RDS databases. - """ - RDS_DATA_ACTIVITY_DBI_PROTECTION_SERVERLESS = ( - "RDS_DATA_ACTIVITY_DBI_PROTECTION_SERVERLESS" - ) - """ - Usage attributed to RDS Data Activity Monitoring for Amazon Aurora - Serverless databases. - """ - RDS_DATA_ACTIVITY_DBI_PROTECTION_LIMITLESS = ( - "RDS_DATA_ACTIVITY_DBI_PROTECTION_LIMITLESS" - ) - """ - Usage attributed to RDS Data Activity Monitoring for Amazon Aurora DSQL - Limitless databases. - """ - AI_PROTECTION = "AI_PROTECTION" - -@dataclass(kw_only=True) -class UsageFeatureResult(_SerdeShape): - """ - Contains information about the result of the total usage based on the - feature. - """ - - feature: str | None = ... - """The feature that generated the usage cost.""" - total: Total | None = ... - """ - Contains the total usage with the corresponding currency unit for that - value. - """ - -@dataclass(kw_only=True) -class UsageResourceResult(_SerdeShape): - """ - Contains information on the sum of usage based on an Amazon Web Services - resource. - """ - - resource: str | None = ... - """The Amazon Web Services resource that generated usage.""" - total: Total | None = ... - """Represents the sum total of usage for the specified resource type.""" - -@dataclass(kw_only=True) -class UsageStatistics(_SerdeShape): - """ - Contains the result of GuardDuty usage. If a UsageStatisticType is - provided the result for other types will be null. - """ - - sum_by_account: list[UsageAccountResult] | None = ... - """The usage statistic sum organized by account ID.""" - top_accounts_by_feature: list[UsageTopAccountsResult] | None = ... - """ - Lists the top 50 accounts by feature that have generated the most - GuardDuty usage, in the order from most to least expensive. - - Currently, this doesn't support `RDS_LOGIN_EVENTS`. - """ - sum_by_data_source: list[UsageDataSourceResult] | None = ... - """The usage statistic sum organized by on data source.""" - sum_by_resource: list[UsageResourceResult] | None = ... - """The usage statistic sum organized by resource.""" - top_resources: list[UsageResourceResult] | None = ... - """ - Lists the top 50 resources that have generated the most GuardDuty usage, - in order from most to least expensive. - """ - sum_by_feature: list[UsageFeatureResult] | None = ... - """The usage statistic sum organized by feature.""" - -class UsageStatisticType(UnknownEnumMixin, StrEnum): - SUM_BY_ACCOUNT = "SUM_BY_ACCOUNT" - SUM_BY_DATA_SOURCE = "SUM_BY_DATA_SOURCE" - SUM_BY_RESOURCE = "SUM_BY_RESOURCE" - TOP_RESOURCES = "TOP_RESOURCES" - SUM_BY_FEATURES = "SUM_BY_FEATURES" - TOP_ACCOUNTS_BY_FEATURE = "TOP_ACCOUNTS_BY_FEATURE" - -@dataclass(kw_only=True) -class UsageTopAccountResult(_SerdeShape): - """ - Contains information on the total of usage based on the topmost 50 - account IDs. - """ - - account_id: str | None = ... - """The unique account ID.""" - total: Total | None = ... - """ - Contains the total usage with the corresponding currency unit for that - value. - """ - -@dataclass(kw_only=True) -class UsageTopAccountsResult(_SerdeShape): - """ - Information about the usage statistics, calculated by top accounts by - feature. - """ - - feature: str | None = ... - """ - Features by which you can generate the usage statistics. - - `RDS_LOGIN_EVENTS` is currently not supported with - `topAccountsByFeature`. - """ - accounts: list[UsageTopAccountResult] | None = ... - """The accounts that contributed to the total usage cost.""" - -@dataclass(kw_only=True) -class User(_SerdeShape): - """Contains information about the user involved in the attack sequence.""" - - name: str | None = ... - """The name of the user.""" - uid: str | None = ... - """The unique identifier of the user.""" - type: str | None = ... - """The type of the user.""" - credential_uid: str | None = ... - """The credentials of the user ID.""" - account: Account | None = ... - """ - Contains information about the Amazon Web Services account within which - the activity took place. This is not necessarily the account that owns - the user identity. - """ - -@dataclass(kw_only=True) -class Volume(_SerdeShape): - """Volume used by the Kubernetes workload.""" - - name: str | None = ... - """Volume name.""" - host_path: HostPath | None = ... - """ - Represents a pre-existing file or directory on the host machine that the - volume maps to. - """ - -@dataclass(kw_only=True) -class VolumeDetail(_SerdeShape): - """Contains EBS volume details.""" - - volume_arn: str | None = ... - """EBS volume ARN information.""" - volume_type: str | None = ... - """The EBS volume type.""" - device_name: str | None = ... - """The device name for the EBS volume.""" - volume_size_in_gb: int | None = ... - """EBS volume size in GB.""" - encryption_type: str | None = ... - """EBS volume encryption type.""" - snapshot_arn: str | None = ... - """Snapshot ARN of the EBS volume.""" - kms_key_arn: str | None = ... - """KMS key ARN used to encrypt the EBS volume.""" - -@dataclass(kw_only=True) -class VolumeMount(_SerdeShape): - """Container volume mount.""" - - name: str | None = ... - """Volume mount name.""" - mount_path: str | None = ... - """Volume mount path.""" - -@dataclass(kw_only=True) -class VpcConfig(_SerdeShape): - """ - Amazon Virtual Private Cloud configuration details associated with your - Lambda function. - """ - - subnet_ids: list[str] | None = ... - """ - The identifiers of the subnets that are associated with your Lambda - function. - """ - vpc_id: str | None = ... - """The identifier of the Amazon Virtual Private Cloud.""" - security_groups: list[SecurityGroup] | None = ... - """The identifier of the security group attached to the Lambda function.""" - ACCEPT_ADMINISTRATOR_INVITATION: APIOperation[ AcceptAdministratorInvitationInput, AcceptAdministratorInvitationOutput ] diff --git a/clients/aws-sdk-guardduty/tests/test_endpoints.py b/clients/aws-sdk-guardduty/tests/test_endpoints.py index 38a1de855..7d3bbe61c 100644 --- a/clients/aws-sdk-guardduty/tests/test_endpoints.py +++ b/clients/aws-sdk-guardduty/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-iam/pyproject.toml b/clients/aws-sdk-iam/pyproject.toml index b282de9d0..d040ef05e 100644 --- a/clients/aws-sdk-iam/pyproject.toml +++ b/clients/aws-sdk-iam/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_iam" version = "0.12.0" -description = "aws_sdk_iam client" +description = "Python client for AWS Identity and Access Management" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_iam"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[xml]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[xml]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/models_0.pyi b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/models_0.pyi new file mode 100644 index 000000000..cb92ed015 --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/models_0.pyi @@ -0,0 +1,5775 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + LoginProfile, + ManagedPolicyDetail, + OrganizationsDecisionDetail, + PasswordPolicy, + PermissionsBoundaryDecisionDetail, + Policy, + PolicyDetail, + PolicyGroup, + PolicyParameter, + PolicyRole, + PolicyUser, + PolicyVersion, + ReplacementValueEntry, + ResourceSpecificResult, + Role, + RoleDetail, + RoleTemplateVersion, + RoleUsageType, + SAMLPrivateKey, + SSHPublicKey, + ServerCertificate, + ServiceError, + ServiceLastAccessed, + ServiceSpecificCredential, + Statement, + Tag, + User, + UserDetail, + VirtualMFADevice, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AcceptDelegationRequestInput(_SerdeShape): + """Dataclass for AcceptDelegationRequestInput structure.""" + + delegation_request_id: str | None = ... + """The unique identifier of the delegation request to accept.""" + +@dataclass(kw_only=True) +class AcceptDelegationRequestOutput(_SerdeShape): + """Dataclass for AcceptDelegationRequestOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AccessAdvisorUsageGranularityType(UnknownEnumMixin, StrEnum): + SERVICE_LEVEL = "SERVICE_LEVEL" + ACTION_LEVEL = "ACTION_LEVEL" + +@dataclass(kw_only=True) +class AccessDetail(_SerdeShape): + """ + An object that contains details about when a principal in the reported + Organizations entity last attempted to access an Amazon Web Services + service. A principal can be an IAM user, an IAM role, or the Amazon Web + Services account root user within the reported Organizations entity. + + This data type is a response element in the + [GetOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html) + operation. + """ + + service_name: str + """The name of the service in which access was attempted.""" + service_namespace: str + """ + The namespace of the service in which access was attempted. + + To learn the service namespace of a service, see [Actions, resources, + and condition keys for Amazon Web Services + services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) + in the *Service Authorization Reference*. Choose the name of the service + to view details for that service. In the first paragraph, find the + service prefix. For example, `(service prefix: a4b)`. For more + information about service namespaces, see [Amazon Web Services service + namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) + in the *Amazon Web Services General Reference*. + """ + region: str | None = ... + """ + The Region where the last service access attempt occurred. + + This field is null if no principals in the reported Organizations entity + attempted to access the service within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + entity_path: str | None = ... + """ + The path of the Organizations entity (root, organizational unit, or + account) from which an authenticated principal last attempted to access + the service. Amazon Web Services does not report unauthenticated + requests. + + This field is null if no principals (IAM users, IAM roles, or root user) + in the reported Organizations entity attempted to access the service + within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + last_authenticated_time: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when an authenticated principal + most recently attempted to access the service. Amazon Web Services does + not report unauthenticated requests. + + This field is null if no principals in the reported Organizations entity + attempted to access the service within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + total_authenticated_entities: int | None = ... + """ + The number of accounts with authenticated principals (root user, IAM + users, and IAM roles) that attempted to access the service in the + tracking period. + """ + +@dataclass(kw_only=True) +class AccessKey(_SerdeShape): + """ + Contains information about an Amazon Web Services access key. + + This data type is used as a response element in the + [CreateAccessKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html) + and + [ListAccessKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html) + operations. + + Note: + The `SecretAccessKey` value is returned only in response to + [CreateAccessKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html). + You can get a secret access key only when you first create an access + key; you cannot recover the secret access key later. If you lose a + secret access key, you must create a new access key. + """ + + user_name: str + """The name of the IAM user that the access key is associated with.""" + access_key_id: str + """The ID for this access key.""" + status: str + """ + The status of the access key. `Active` means that the key is valid for + API calls, while `Inactive` means it is not. + """ + secret_access_key: str + """The secret key used to sign requests.""" + create_date: datetime | None = ... + """The date when the access key was created.""" + +@dataclass(kw_only=True) +class AccessKeyLastUsed(_SerdeShape): + """ + Contains information about the last time an Amazon Web Services access + key was used since IAM began tracking this information on April 22, + 2015. + + This data type is used as a response element in the + [GetAccessKeyLastUsed](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccessKeyLastUsed.html) + operation. + """ + + last_used_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the access key was most + recently used. This field is null in the following situations: + + - The user does not have an access key. + + - An access key exists but has not been used since IAM began tracking + this information. + + - There is no sign-in data associated with the user. + """ + service_name: str + """ + The name of the Amazon Web Services service with which this access key + was most recently used. The value of this field is \"N/A\" in the + following situations: + + - The user does not have an access key. + + - An access key exists but has not been used since IAM started tracking + this information. + + - There is no sign-in data associated with the user. + """ + region: str + """ + The Amazon Web Services Region where this access key was most recently + used. The value for this field is \"N/A\" in the following situations: + + - The user does not have an access key. + + - An access key exists but has not been used since IAM began tracking + this information. + + - There is no sign-in data associated with the user. + + For more information about Amazon Web Services Regions, see [Regions and + endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html) in + the Amazon Web Services General Reference. + """ + +@dataclass(kw_only=True) +class AccessKeyMetadata(_SerdeShape): + """ + Contains information about an Amazon Web Services access key, without + its secret key. + + This data type is used as a response element in the + [ListAccessKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html) + operation. + """ + + user_name: str | None = ... + """The name of the IAM user that the key is associated with.""" + access_key_id: str | None = ... + """The ID for this access key.""" + status: str | None = ... + """ + The status of the access key. `Active` means that the key is valid for + API calls; `Inactive` means it is not. + """ + create_date: datetime | None = ... + """The date when the access key was created.""" + +@dataclass(kw_only=True) +class AccountNotManagementOrDelegatedAdministratorException(ServiceError, _SerdeShape): + """ + The request was rejected because the account making the request is not + the management account or delegated administrator account for + [centralized root + access](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AcquireRoleInput(_SerdeShape): + """Dataclass for AcquireRoleInput structure.""" + + template_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the role template to create the role + from. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + template_minor_version: int | None = ... + """ + The minor version of the role template to use. If you do not specify a + minor version, the service uses the template's default minor version. + """ + replacement_values: dict[str, ReplacementValueEntry] | None = ... + """ + A map of values to substitute for the parameters that are defined in the + role template version. Each key is a parameter name from the template, + and each value is a structure that contains the replacement values for + that parameter. + """ + +@dataclass(kw_only=True) +class AcquireRoleOutput(_SerdeShape): + """Dataclass for AcquireRoleOutput structure.""" + + role: Role + """A structure that contains details about the IAM role that was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AddClientIDToOpenIDConnectProviderInput(_SerdeShape): + """Dataclass for AddClientIDToOpenIDConnectProviderInput structure.""" + + open_id_connect_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider + resource to add the client ID to. You can get a list of OIDC provider + ARNs by using the + [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) + operation. + """ + client_id: str | None = ... + """ + The client ID (also known as audience) to add to the IAM OpenID Connect + provider resource. + """ + +@dataclass(kw_only=True) +class AddClientIDToOpenIDConnectProviderOutput(_SerdeShape): + """Dataclass for AddClientIDToOpenIDConnectProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AddRoleToInstanceProfileInput(_SerdeShape): + """Dataclass for AddRoleToInstanceProfileInput structure.""" + + instance_profile_name: str | None = ... + """ + The name of the instance profile to update. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + role_name: str | None = ... + """ + The name of the role to add. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class AddRoleToInstanceProfileOutput(_SerdeShape): + """Dataclass for AddRoleToInstanceProfileOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AddUserToGroupInput(_SerdeShape): + """Dataclass for AddUserToGroupInput structure.""" + + group_name: str | None = ... + """ + The name of the group to update. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + user_name: str | None = ... + """ + The name of the user to add. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class AddUserToGroupOutput(_SerdeShape): + """Dataclass for AddUserToGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AssertionEncryptionModeType(UnknownEnumMixin, StrEnum): + REQUIRED = "Required" + ALLOWED = "Allowed" + +class AssignmentStatusType(UnknownEnumMixin, StrEnum): + ASSIGNED = "Assigned" + UNASSIGNED = "Unassigned" + ANY = "Any" + +@dataclass(kw_only=True) +class AssociateDelegationRequestInput(_SerdeShape): + """Dataclass for AssociateDelegationRequestInput structure.""" + + delegation_request_id: str | None = ... + """The unique identifier of the delegation request to associate.""" + +@dataclass(kw_only=True) +class AssociateDelegationRequestOutput(_SerdeShape): + """Dataclass for AssociateDelegationRequestOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AttachedPermissionsBoundary(_SerdeShape): + """ + Contains information about an attached permissions boundary. + + An attached permissions boundary is a managed policy that has been + attached to a user or role to set the permissions boundary. + + For more information about permissions boundaries, see [Permissions + boundaries for IAM + identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + """ + + permissions_boundary_type: str | None = ... + """ + The permissions boundary usage type that indicates what type of IAM + resource is used as the permissions boundary for an entity. This data + type can only have a value of `Policy`. + """ + permissions_boundary_arn: str | None = ... + """ + The ARN of the policy used to set the permissions boundary for the user + or role. + """ + +@dataclass(kw_only=True) +class AttachedPolicy(_SerdeShape): + """ + Contains information about an attached policy. + + An attached policy is a managed policy that has been attached to a user, + group, or role. This data type is used as a response element in the + [ListAttachedGroupPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedGroupPolicies.html), + [ListAttachedRolePolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedRolePolicies.html), + [ListAttachedUserPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedUserPolicies.html), + and + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + operations. + + For more information about managed policies, refer to [Managed policies + and inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) + in the *IAM User Guide*. + """ + + policy_name: str | None = ... + """The friendly name of the attached policy.""" + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class AttachGroupPolicyInput(_SerdeShape): + """Dataclass for AttachGroupPolicyInput structure.""" + + group_name: str | None = ... + """ + The name (friendly name, not ARN) of the group to attach the policy to. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy you want to attach. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class AttachGroupPolicyOutput(_SerdeShape): + """Dataclass for AttachGroupPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AttachmentType(UnknownEnumMixin, StrEnum): + USER = "user" + GROUP = "group" + ROLE = "role" + +@dataclass(kw_only=True) +class AttachRolePolicyInput(_SerdeShape): + """Dataclass for AttachRolePolicyInput structure.""" + + role_name: str | None = ... + """ + The name (friendly name, not ARN) of the role to attach the policy to. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy you want to attach. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class AttachRolePolicyOutput(_SerdeShape): + """Dataclass for AttachRolePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AttachUserPolicyInput(_SerdeShape): + """Dataclass for AttachUserPolicyInput structure.""" + + user_name: str | None = ... + """ + The name (friendly name, not ARN) of the IAM user to attach the policy + to. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy you want to attach. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class AttachUserPolicyOutput(_SerdeShape): + """Dataclass for AttachUserPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CallerIsNotManagementAccountException(ServiceError, _SerdeShape): + """ + The request was rejected because the account making the request is not + the management account for the organization. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ChangePasswordInput(_SerdeShape): + """Dataclass for ChangePasswordInput structure.""" + + old_password: str | None = ... + """The IAM user's current password.""" + new_password: str | None = ... + """ + The new password. The new password must conform to the Amazon Web + Services account's password policy, if one exists. + + The [regex pattern](http://wikipedia.org/wiki/regex) that is used to + validate this parameter is a string of characters. That string can + include almost any printable ASCII character from the space (`\u0020`) + through the end of the ASCII character range (`\u00ff`). You can also + include the tab (`\u0009`), line feed (`\u000a`), and carriage return + (`\u000d`) characters. Any of these characters are valid in a password. + However, many tools, such as the Amazon Web Services Management Console, + might restrict the ability to type certain characters because they have + special meaning within that tool. + """ + +@dataclass(kw_only=True) +class ChangePasswordOutput(_SerdeShape): + """Dataclass for ChangePasswordOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ConcurrentModificationException(ServiceError, _SerdeShape): + """ + The request was rejected because multiple requests to change this object + were submitted simultaneously. Wait a few minutes and submit your + request again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ContextEntry(_SerdeShape): + """ + Contains information about a condition context key. It includes the name + of the key and specifies the value (or values, if the context key + supports multiple values) to use in the simulation. This information is + used when evaluating the `Condition` elements of the input policies. + + This data type is used as an input parameter to + [SimulateCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html) + and + [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html). + """ + + context_key_name: str | None = ... + """ + The full name of a condition context key, including the service prefix. + For example, `aws:SourceIp` or `s3:VersionId`. + """ + context_key_values: list[str] | None = ... + """ + The value (or values, if the condition context key supports multiple + values) to provide to the simulation when the key is referenced by a + `Condition` element in an input policy. + """ + context_key_type: str | None = ... + """ + The data type of the value (or values) specified in the + `ContextKeyValues` parameter. + """ + +class ContextKeyTypeEnum(UnknownEnumMixin, StrEnum): + STRING = "string" + STRING_LIST = "stringList" + NUMERIC = "numeric" + NUMERIC_LIST = "numericList" + BOOLEAN = "boolean" + BOOLEAN_LIST = "booleanList" + IP = "ip" + IP_LIST = "ipList" + BINARY = "binary" + BINARY_LIST = "binaryList" + DATE = "date" + DATE_LIST = "dateList" + +@dataclass(kw_only=True) +class CreateAccessKeyInput(_SerdeShape): + """Dataclass for CreateAccessKeyInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user that the new key will belong to. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class CreateAccessKeyOutput(_SerdeShape): + """ + Contains the response to a successful + [CreateAccessKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html) + request. + """ + + access_key: AccessKey + """A structure with details about the access key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateAccountAliasInput(_SerdeShape): + """Dataclass for CreateAccountAliasInput structure.""" + + account_alias: str | None = ... + """ + The account alias to create. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of lowercase letters, digits, and dashes. You cannot start or + finish with a dash, nor can you have two dashes in a row. + """ + +@dataclass(kw_only=True) +class CreateAccountAliasOutput(_SerdeShape): + """Dataclass for CreateAccountAliasOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDelegationRequestInput(_SerdeShape): + """Dataclass for CreateDelegationRequestInput structure.""" + + owner_account_id: str | None = ... + """ + The Amazon Web Services account ID this delegation request is targeted + to. + + If the account ID is not known, this parameter can be omitted, resulting + in a request that can be associated by any account. If the account ID + passed, then the created delegation request can only be associated with + an identity of that target account. + """ + description: str | None = ... + """A description of the delegation request.""" + permissions: DelegationPermission | None = ... + """The permissions to be delegated in this delegation request.""" + request_message: str | None = ... + """ + A message explaining the reason for the delegation request. + + Requesters can utilize this field to add a custom note to the delegation + request. This field is different from the description such that this is + to be utilized for a custom messaging on a case-by-case basis. + + For example, if the current delegation request is in response to a + previous request being rejected, this explanation can be added to the + request via this field. + """ + requestor_workflow_id: str | None = ... + """ + The workflow ID associated with the requestor. + + This is the unique identifier on the partner side that can be used to + track the progress of the request. + + IAM maintains a uniqueness check on this workflow id for each request - + if a workflow id for an existing request is passed, this API call will + fail. + """ + redirect_url: str | None = ... + """ + The URL to redirect to after the delegation request is processed. + + This URL is used by the IAM console to show a link to the customer to + re-load the partner workflow. + """ + notification_channel: str | None = ... + """ + The notification channel for updates about the delegation request. + + At this time,only SNS topic ARNs are accepted for notification. This + topic ARN must have a resource policy granting `SNS:Publish` permission + to the IAM service principal (`iam.amazonaws.com`). See [partner + onboarding + documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation-partner-guide.html) + for more details. + """ + session_duration: int | None = ... + """ + The duration for which the delegated session should remain active, in + seconds. + + The active time window for the session starts when the customer calls + the + [SendDelegationToken](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html) + API. + """ + only_send_by_owner: bool = ... + """ + Specifies whether the delegation token should only be sent by the owner. + + This flag prevents any party other than the owner from calling + `SendDelegationToken` API for this delegation request. This behavior + becomes useful when the delegation request owner needs to be present for + subsequent partner interactions, but the delegation request was sent to + a more privileged user for approval due to the owner lacking sufficient + delegation permissions. + """ + +@dataclass(kw_only=True) +class CreateDelegationRequestOutput(_SerdeShape): + """Dataclass for CreateDelegationRequestOutput structure.""" + + console_deep_link: str | None = ... + """ + A deep link URL to the Amazon Web Services Management Console for + managing the delegation request. + + For a console based workflow, partners should redirect the customer to + this URL. If the customer is not logged in to any Amazon Web Services + account, the Amazon Web Services workflow will automatically direct the + customer to log in and then display the delegation request approval + page. + """ + delegation_request_id: str | None = ... + """The unique identifier for the created delegation request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGroupInput(_SerdeShape): + """Dataclass for CreateGroupInput structure.""" + + path: str | None = ... + """ + The path to the group. For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + + This parameter is optional. If it is not included, it defaults to a + slash (/). + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + group_name: str | None = ... + """ + The name of the group to create. Do not include the path in this value. + + IAM user, group, role, and policy names must be unique within the + account. Names are not distinguished by case. For example, you cannot + create resources named both \"MyResource\" and \"myresource\". + """ + +@dataclass(kw_only=True) +class CreateGroupOutput(_SerdeShape): + """ + Contains the response to a successful + [CreateGroup](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateGroup.html) + request. + """ + + group: Group + """A structure containing details about the new group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateInstanceProfileInput(_SerdeShape): + """Dataclass for CreateInstanceProfileInput structure.""" + + instance_profile_name: str | None = ... + """ + The name of the instance profile to create. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + path: str | None = ... + """ + The path to the instance profile. For more information about paths, see + [IAM + Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + + This parameter is optional. If it is not included, it defaults to a + slash (/). + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + tags: list[Tag] | None = ... + """ + A list of tags that you want to attach to the newly created IAM instance + profile. Each tag consists of a key name and an associated value. For + more information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + + Note: + If any one of the tags is invalid or if you exceed the allowed maximum + number of tags, then the entire request fails and the resource is not + created. + """ + +@dataclass(kw_only=True) +class CreateInstanceProfileOutput(_SerdeShape): + """ + Contains the response to a successful + [CreateInstanceProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateInstanceProfile.html) + request. + """ + + instance_profile: InstanceProfile + """A structure containing details about the new instance profile.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateLoginProfileInput(_SerdeShape): + """Dataclass for CreateLoginProfileInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user to create a password for. The user must already + exist. + + This parameter is optional. If no user name is included, it defaults to + the principal making the request. When you make this request with root + user credentials, you must use an + [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) + session to omit the user name. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + password: str | None = ... + """ + The new password for the user. + + This parameter must be omitted when you make the request with an + [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) + session. It is required in all other cases. + + The [regex pattern](http://wikipedia.org/wiki/regex) that is used to + validate this parameter is a string of characters. That string can + include almost any printable ASCII character from the space (`\u0020`) + through the end of the ASCII character range (`\u00ff`). You can also + include the tab (`\u0009`), line feed (`\u000a`), and carriage return + (`\u000d`) characters. Any of these characters are valid in a password. + However, many tools, such as the Amazon Web Services Management Console, + might restrict the ability to type certain characters because they have + special meaning within that tool. + """ + password_reset_required: bool = ... + """ + Specifies whether the user is required to set a new password on next + sign-in. + """ + +@dataclass(kw_only=True) +class CreateLoginProfileOutput(_SerdeShape): + """ + Contains the response to a successful + [CreateLoginProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateLoginProfile.html) + request. + """ + + login_profile: LoginProfile + """A structure containing the user name and password create date.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateOpenIDConnectProviderInput(_SerdeShape): + """Dataclass for CreateOpenIDConnectProviderInput structure.""" + + url: str | None = ... + """ + The URL of the identity provider. The URL must begin with `https://` and + should correspond to the `iss` claim in the provider's OpenID Connect + ID tokens. Per the OIDC standard, path components are allowed but query + parameters are not. Typically the URL consists of only a hostname, like + `https://server.example.org` or `https://example.com`. The URL should + not contain a port number. + + You cannot register the same provider multiple times in a single Amazon + Web Services account. If you try to submit a URL that has already been + used for an OpenID Connect provider in the Amazon Web Services account, + you will get an error. + """ + client_id_list: list[str] | None = ... + """ + Provides a list of client IDs, also known as audiences. When a mobile or + web app registers with an OpenID Connect provider, they establish a + value that identifies the application. This is the value that's sent as + the `client_id` parameter on OAuth requests. + + You can register multiple client IDs with the same provider. For + example, you might have multiple applications that use the same OIDC + provider. You cannot register more than 100 client IDs with a single IAM + OIDC provider. + + There is no defined format for a client ID. The + `CreateOpenIDConnectProviderRequest` operation accepts client IDs up to + 255 characters long. + """ + thumbprint_list: list[str] | None = ... + """ + A list of server certificate thumbprints for the OpenID Connect (OIDC) + identity provider's server certificates. Typically this list includes + only one entry. However, IAM lets you have up to five thumbprints for an + OIDC provider. This lets you maintain multiple thumbprints if the + identity provider is rotating certificates. + + This parameter is optional. If it is not included, IAM will retrieve and + use the top intermediate certificate authority (CA) thumbprint of the + OpenID Connect identity provider server certificate. + + The server certificate thumbprint is the hex-encoded SHA-1 hash value of + the X.509 certificate used by the domain where the OpenID Connect + provider makes its keys available. It is always a 40-character string. + + For example, assume that the OIDC provider is `server.example.com` and + the provider stores its keys at + https://keys.server.example.com/openid-connect. In that case, the + thumbprint string would be the hex-encoded SHA-1 hash value of the + certificate used by `https://keys.server.example.com.` + + For more information about obtaining the OIDC provider thumbprint, see + [Obtaining the thumbprint for an OpenID Connect + provider](https://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html) + in the *IAM user Guide*. + + Note: + If your OIDC provider's discovery endpoint and JWKS endpoint + (`jwks_uri`) use different certificates or hosts, include the + thumbprints for both endpoints in this list. + """ + tags: list[Tag] | None = ... + """ + A list of tags that you want to attach to the new IAM OpenID Connect + (OIDC) provider. Each tag consists of a key name and an associated + value. For more information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + + Note: + If any one of the tags is invalid or if you exceed the allowed maximum + number of tags, then the entire request fails and the resource is not + created. + """ + +@dataclass(kw_only=True) +class CreateOpenIDConnectProviderOutput(_SerdeShape): + """ + Contains the response to a successful + [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html) + request. + """ + + open_id_connect_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the new IAM OpenID Connect provider + that is created. For more information, see + [OpenIDConnectProviderListEntry](https://docs.aws.amazon.com/IAM/latest/APIReference/API_OpenIDConnectProviderListEntry.html). + """ + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the new IAM OIDC provider. The + returned list of tags is sorted by tag key. For more information about + tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePolicyInput(_SerdeShape): + """Dataclass for CreatePolicyInput structure.""" + + policy_name: str | None = ... + """ + The friendly name of the policy. + + IAM user, group, role, and policy names must be unique within the + account. Names are not distinguished by case. For example, you cannot + create resources named both \"MyResource\" and \"myresource\". + """ + path: str | None = ... + """ + The path for the policy. + + For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + + This parameter is optional. If it is not included, it defaults to a + slash (/). + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + + Note: + You cannot use an asterisk (*) in the path name. + """ + policy_document: str | None = ... + """ + The JSON policy document that you want to use as the content for the new + policy. + + You must provide policies in JSON format in IAM. However, for + CloudFormation templates formatted in YAML, you can provide the policy + in JSON or YAML format. CloudFormation always converts a YAML policy to + JSON format before submitting it to IAM. + + The maximum length of the policy document that you can pass in this + operation, including whitespace, is listed below. To view the maximum + character counts of a managed policy with no whitespaces, see [IAM and + STS character + quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). + + To learn more about JSON policy grammar, see [Grammar of the IAM JSON + policy + language](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html) + in the *IAM User Guide*. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + description: str | None = ... + """ + A friendly description of the policy. + + Typically used to store information about the permissions defined in the + policy. For example, \"Grants access to production DynamoDB tables.\" + + The policy description is immutable. After a value is assigned, it + cannot be changed. + """ + tags: list[Tag] | None = ... + """ + A list of tags that you want to attach to the new IAM customer managed + policy. Each tag consists of a key name and an associated value. For + more information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + + Note: + If any one of the tags is invalid or if you exceed the allowed maximum + number of tags, then the entire request fails and the resource is not + created. + """ + +@dataclass(kw_only=True) +class CreatePolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [CreatePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicy.html) + request. + """ + + policy: Policy | None = ... + """A structure containing details about the new policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePolicyVersionInput(_SerdeShape): + """Dataclass for CreatePolicyVersionInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy to which you want to + add a new version. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + policy_document: str | None = ... + """ + The JSON policy document that you want to use as the content for this + new version of the policy. + + You must provide policies in JSON format in IAM. However, for + CloudFormation templates formatted in YAML, you can provide the policy + in JSON or YAML format. CloudFormation always converts a YAML policy to + JSON format before submitting it to IAM. + + The maximum length of the policy document that you can pass in this + operation, including whitespace, is listed below. To view the maximum + character counts of a managed policy with no whitespaces, see [IAM and + STS character + quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + set_as_default: bool = ... + """ + Specifies whether to set this version as the policy's default version. + + When this parameter is `true`, the new policy version becomes the + operative version. That is, it becomes the version that is in effect for + the IAM users, groups, and roles that the policy is attached to. + + For more information about managed policy versions, see [Versioning for + managed + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class CreatePolicyVersionOutput(_SerdeShape): + """ + Contains the response to a successful + [CreatePolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicyVersion.html) + request. + """ + + policy_version: PolicyVersion | None = ... + """A structure containing details about the new policy version.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRoleInput(_SerdeShape): + """Dataclass for CreateRoleInput structure.""" + + path: str | None = ... + """ + The path to the role. For more information about paths, see [IAM + Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + + This parameter is optional. If it is not included, it defaults to a + slash (/). + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + role_name: str | None = ... + """ + The name of the role to create. + + IAM user, group, role, and policy names must be unique within the + account. Names are not distinguished by case. For example, you cannot + create resources named both \"MyResource\" and \"myresource\". + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + assume_role_policy_document: str | None = ... + """ + The trust relationship policy document that grants an entity permission + to assume the role. + + In IAM, you must provide a JSON policy that has been converted to a + string. However, for CloudFormation templates formatted in YAML, you can + provide the policy in JSON or YAML format. CloudFormation always + converts a YAML policy to JSON format before submitting it to IAM. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + + Upon success, the response includes the same trust policy in JSON + format. + """ + description: str | None = ... + """A description of the role.""" + max_session_duration: int | None = ... + """ + The maximum session duration (in seconds) that you want to set for the + specified role. If you do not specify a value for this setting, the + default value of one hour is applied. This setting can have a value from + 1 hour to 12 hours. + + Anyone who assumes the role from the CLI or API can use the + `DurationSeconds` API parameter or the `duration-seconds` CLI parameter + to request a longer session. The `MaxSessionDuration` setting determines + the maximum duration that can be requested using the `DurationSeconds` + parameter. If users don't specify a value for the `DurationSeconds` + parameter, their security credentials are valid for one hour by default. + This applies when you use the `AssumeRole*` API operations or the + `assume-role*` CLI operations but does not apply when you use those + operations to create a console URL. For more information, see [Using IAM + roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) + in the *IAM User Guide*. + """ + permissions_boundary: str | None = ... + """ + The ARN of the managed policy that is used to set the permissions + boundary for the role. + + A permissions boundary policy defines the maximum permissions that + identity-based policies can grant to an entity, but does not grant + permissions. Permissions boundaries do not define the maximum + permissions that a resource-based policy can grant to an entity. To + learn more, see [Permissions boundaries for IAM + entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + + For more information about policy types, see [Policy + types](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types) + in the *IAM User Guide*. + """ + tags: list[Tag] | None = ... + """ + A list of tags that you want to attach to the new role. Each tag + consists of a key name and an associated value. For more information + about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + + Note: + If any one of the tags is invalid or if you exceed the allowed maximum + number of tags, then the entire request fails and the resource is not + created. + """ + +@dataclass(kw_only=True) +class CreateRoleOutput(_SerdeShape): + """ + Contains the response to a successful + [CreateRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html) + request. + """ + + role: Role + """A structure containing details about the new role.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSAMLProviderInput(_SerdeShape): + """Dataclass for CreateSAMLProviderInput structure.""" + + saml_metadata_document: str | None = ... + """ + An XML document generated by an identity provider (IdP) that supports + SAML 2.0. The document includes the issuer's name, expiration + information, and keys that can be used to validate the SAML + authentication response (assertions) that are received from the IdP. You + must generate the metadata document using the identity management + software that is used as your organization's IdP. + + For more information, see [About SAML 2.0-based + federation](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html) + in the *IAM User Guide* + """ + name: str | None = ... + """ + The name of the provider to create. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + A list of tags that you want to attach to the new IAM SAML provider. + Each tag consists of a key name and an associated value. For more + information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + + Note: + If any one of the tags is invalid or if you exceed the allowed maximum + number of tags, then the entire request fails and the resource is not + created. + """ + assertion_encryption_mode: str | None = ... + """Specifies the encryption setting for the SAML provider.""" + add_private_key: str | None = ... + """ + The private key generated from your external identity provider. The + private key must be a .pem file that uses AES-GCM or AES-CBC encryption + algorithm to decrypt SAML assertions. + """ + +@dataclass(kw_only=True) +class CreateSAMLProviderOutput(_SerdeShape): + """ + Contains the response to a successful + [CreateSAMLProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateSAMLProvider.html) + request. + """ + + saml_provider_arn: str | None = ... + """The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.""" + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the new IAM SAML provider. The + returned list of tags is sorted by tag key. For more information about + tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateServiceLinkedRoleInput(_SerdeShape): + """Dataclass for CreateServiceLinkedRoleInput structure.""" + + aws_service_name: str | None = ... + """ + The service principal for the Amazon Web Services service to which this + role is attached. You use a string similar to a URL but without the + http:// in front. For example: `elasticbeanstalk.amazonaws.com`. + + Service principals are unique and case-sensitive. To find the exact + service principal for your service-linked role, see [Amazon Web Services + services that work with + IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html) + in the *IAM User Guide*. Look for the services that have **Yes** in the + **Service-Linked Role** column. Choose the **Yes** link to view the + service-linked role documentation for that service. + """ + description: str | None = ... + """The description of the role.""" + custom_suffix: str | None = ... + """ + A string that you provide, which is combined with the service-provided + prefix to form the complete role name. If you make multiple requests for + the same service, then you must supply a different `CustomSuffix` for + each request. Otherwise the request fails with a duplicate role name + error. For example, you could add `-1` or `-debug` to the suffix. + + Some services do not support the `CustomSuffix` parameter. If you + provide an optional suffix and the operation fails, try the operation + again without the suffix. + """ + +@dataclass(kw_only=True) +class CreateServiceLinkedRoleOutput(_SerdeShape): + """Dataclass for CreateServiceLinkedRoleOutput structure.""" + + role: Role | None = ... + """ + A + [Role](https://docs.aws.amazon.com/IAM/latest/APIReference/API_Role.html) + object that contains details about the newly created role. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateServiceSpecificCredentialInput(_SerdeShape): + """Dataclass for CreateServiceSpecificCredentialInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user that is to be associated with the credentials. + The new service-specific credentials have the same permissions as the + associated user except that they can be used only to access the + specified service. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + service_name: str | None = ... + """ + The name of the Amazon Web Services service that is to be associated + with the credentials. The service you specify here is the only service + that can be accessed using these credentials. + """ + credential_age_days: int | None = ... + """ + The number of days until the service specific credential expires. This + field is only valid for services that support long-term API keys and + must be a positive integer. When not specified, the credential will not + expire. + + To see which services support long-term API keys, refer to [API keys for + Amazon Web Services + services](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_api_keys_for_aws_services.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class CreateServiceSpecificCredentialOutput(_SerdeShape): + """Dataclass for CreateServiceSpecificCredentialOutput structure.""" + + service_specific_credential: ServiceSpecificCredential | None = ... + """ + A structure that contains information about the newly created + service-specific credential. + + Warning: + This is the only time that the password for this credential set is + available. It cannot be recovered later. Instead, you must reset the + password with + [ResetServiceSpecificCredential](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ResetServiceSpecificCredential.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateUserInput(_SerdeShape): + """Dataclass for CreateUserInput structure.""" + + path: str | None = ... + """ + The path for the user name. For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + + This parameter is optional. If it is not included, it defaults to a + slash (/). + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + user_name: str | None = ... + """ + The name of the user to create. + + IAM user, group, role, and policy names must be unique within the + account. Names are not distinguished by case. For example, you cannot + create resources named both \"MyResource\" and \"myresource\". + """ + permissions_boundary: str | None = ... + """ + The ARN of the managed policy that is used to set the permissions + boundary for the user. + + A permissions boundary policy defines the maximum permissions that + identity-based policies can grant to an entity, but does not grant + permissions. Permissions boundaries do not define the maximum + permissions that a resource-based policy can grant to an entity. To + learn more, see [Permissions boundaries for IAM + entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + + For more information about policy types, see [Policy + types](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types) + in the *IAM User Guide*. + """ + tags: list[Tag] | None = ... + """ + A list of tags that you want to attach to the new user. Each tag + consists of a key name and an associated value. For more information + about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + + Note: + If any one of the tags is invalid or if you exceed the allowed maximum + number of tags, then the entire request fails and the resource is not + created. + """ + +@dataclass(kw_only=True) +class CreateUserOutput(_SerdeShape): + """ + Contains the response to a successful + [CreateUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateUser.html) + request. + """ + + user: User | None = ... + """A structure with details about the new IAM user.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateVirtualMFADeviceInput(_SerdeShape): + """Dataclass for CreateVirtualMFADeviceInput structure.""" + + path: str | None = ... + """ + The path for the virtual MFA device. For more information about paths, + see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + + This parameter is optional. If it is not included, it defaults to a + slash (/). + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + virtual_mfa_device_name: str | None = ... + """ + The name of the virtual MFA device, which must be unique. Use with path + to uniquely identify a virtual MFA device. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + A list of tags that you want to attach to the new IAM virtual MFA + device. Each tag consists of a key name and an associated value. For + more information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + + Note: + If any one of the tags is invalid or if you exceed the allowed maximum + number of tags, then the entire request fails and the resource is not + created. + """ + +@dataclass(kw_only=True) +class CreateVirtualMFADeviceOutput(_SerdeShape): + """ + Contains the response to a successful + [CreateVirtualMFADevice](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateVirtualMFADevice.html) + request. + """ + + virtual_mfa_device: VirtualMFADevice + """A structure containing details about the new virtual MFA device.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CredentialReportExpiredException(ServiceError, _SerdeShape): + """ + The request was rejected because the most recent credential report has + expired. To generate a new credential report, use + [GenerateCredentialReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateCredentialReport.html). + For more information about credential report expiration, see [Getting + credential + reports](https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html) + in the *IAM User Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CredentialReportNotPresentException(ServiceError, _SerdeShape): + """ + The request was rejected because the credential report does not exist. + To generate a credential report, use + [GenerateCredentialReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateCredentialReport.html). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CredentialReportNotReadyException(ServiceError, _SerdeShape): + """ + The request was rejected because the credential report is still being + generated. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeactivateMFADeviceInput(_SerdeShape): + """Dataclass for DeactivateMFADeviceInput structure.""" + + user_name: str | None = ... + """ + The name of the user whose MFA device you want to deactivate. + + This parameter is optional. If no user name is included, it defaults to + the principal making the request. When you make this request with root + user credentials, you must use an + [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) + session to omit the user name. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + serial_number: str | None = ... + """ + The serial number that uniquely identifies the MFA device. For virtual + MFA devices, the serial number is the device ARN. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: =,.@:/- + """ + +@dataclass(kw_only=True) +class DeactivateMFADeviceOutput(_SerdeShape): + """Dataclass for DeactivateMFADeviceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DelegationPermission(_SerdeShape): + """ + Contains information about the permissions being delegated in a + delegation request. + """ + + policy_template_arn: str | None = ... + """ + This ARN maps to a pre-registered policy content for this partner. See + the [partner onboarding documentation]() to understand how to create a + delegation template. + """ + parameters: list[PolicyParameter] | None = ... + """ + A list of policy parameters that define the scope and constraints of the + delegated permissions. + """ + +@dataclass(kw_only=True) +class DelegationRequest(_SerdeShape): + """ + Contains information about a delegation request, including its status, + permissions, and associated metadata. + """ + + delegation_request_id: str | None = ... + """The unique identifier for the delegation request.""" + owner_account_id: str | None = ... + """Amazon Web Services account ID of the owner of the delegation request.""" + description: str | None = ... + """ + Description of the delegation request. This is a message that is + provided by the Amazon Web Services partner that filed the delegation + request. + """ + request_message: str | None = ... + """ + A custom message that is added to the delegation request by the partner. + + This element is different from the `Description` element such that this + is a request specific message injected by the partner. The `Description` + is typically a generic explanation of what the delegation request is + targeted to do. + """ + permissions: DelegationPermission | None = ... + """ + Contains information about the permissions being delegated in a + delegation request. + """ + permission_policy: str | None = ... + """ + JSON content of the associated permission policy of this delegation + request. + """ + role_permission_restriction_arns: list[str] | None = ... + """ + If the `PermissionPolicy` includes role creation permissions, this + element will include the list of permissions boundary policies + associated with the role creation. See [Permissions boundaries for IAM + entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + for more details about IAM permission boundaries. + """ + owner_id: str | None = ... + """ARN of the owner of this delegation request.""" + approver_id: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + state: str | None = ... + """ + The state of this delegation request. + + See the [Understanding the Request + Lifecycle](https://docs.aws.amazon.com/IAM/latest/UserGuide/temporary-delegation-building-integration.html#temporary-delegation-request-lifecycle) + for an explanation of how these states are transitioned. + """ + expiration_time: datetime | None = ... + """ + The expiry time of this delegation request + + See the [Understanding the Request + Lifecycle](https://docs.aws.amazon.com/IAM/latest/UserGuide/temporary-delegation-building-integration.html#temporary-delegation-request-lifecycle) + for details on the life time of a delegation request at each state. + """ + requestor_id: str | None = ... + """ + Identity of the requestor of this delegation request. This will be an + Amazon Web Services account ID. + """ + requestor_name: str | None = ... + """A friendly name of the requestor.""" + create_date: datetime | None = ... + """Creation date (timestamp) of this delegation request.""" + session_duration: int | None = ... + """The life-time of the requested session credential.""" + redirect_url: str | None = ... + """ + A URL to be redirected to once the delegation request is approved. + Partners provide this URL when creating the delegation request. + """ + notes: str | None = ... + """ + Notes added to this delegation request, if this request was updated via + the + [UpdateDelegationRequest](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateDelegationRequest.html) + API. + """ + rejection_reason: str | None = ... + """ + Reasons for rejecting this delegation request, if this request was + rejected. See also + [RejectDelegationRequest](https://docs.aws.amazon.com/IAM/latest/APIReference/API_RejectDelegationRequest.html) + API documentation. + """ + only_send_by_owner: bool = ... + """ + A flag indicating whether the + [SendDelegationToken](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html) + must be called by the owner of this delegation request. This is set by + the requesting partner. + """ + updated_time: datetime | None = ... + """Last updated timestamp of the request.""" + +@dataclass(kw_only=True) +class DeleteAccessKeyInput(_SerdeShape): + """Dataclass for DeleteAccessKeyInput structure.""" + + user_name: str | None = ... + """ + The name of the user whose access key pair you want to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + access_key_id: str | None = ... + """ + The access key ID for the access key ID and secret access key you want + to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + +@dataclass(kw_only=True) +class DeleteAccessKeyOutput(_SerdeShape): + """Dataclass for DeleteAccessKeyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAccountAliasInput(_SerdeShape): + """Dataclass for DeleteAccountAliasInput structure.""" + + account_alias: str | None = ... + """ + The name of the account alias to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of lowercase letters, digits, and dashes. You cannot start or + finish with a dash, nor can you have two dashes in a row. + """ + +@dataclass(kw_only=True) +class DeleteAccountAliasOutput(_SerdeShape): + """Dataclass for DeleteAccountAliasOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAccountPasswordPolicyInput(_SerdeShape): + """Dataclass for DeleteAccountPasswordPolicyInput structure.""" + +@dataclass(kw_only=True) +class DeleteAccountPasswordPolicyOutput(_SerdeShape): + """Dataclass for DeleteAccountPasswordPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteConflictException(ServiceError, _SerdeShape): + """ + The request was rejected because it attempted to delete a resource that + has attached subordinate entities. The error message describes these + entities. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGroupInput(_SerdeShape): + """Dataclass for DeleteGroupInput structure.""" + + group_name: str | None = ... + """ + The name of the IAM group to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class DeleteGroupOutput(_SerdeShape): + """Dataclass for DeleteGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGroupPolicyInput(_SerdeShape): + """Dataclass for DeleteGroupPolicyInput structure.""" + + group_name: str | None = ... + """ + The name (friendly name, not ARN) identifying the group that the policy + is embedded in. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_name: str | None = ... + """ + The name identifying the policy document to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class DeleteGroupPolicyOutput(_SerdeShape): + """Dataclass for DeleteGroupPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteInstanceProfileInput(_SerdeShape): + """Dataclass for DeleteInstanceProfileInput structure.""" + + instance_profile_name: str | None = ... + """ + The name of the instance profile to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class DeleteInstanceProfileOutput(_SerdeShape): + """Dataclass for DeleteInstanceProfileOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLoginProfileInput(_SerdeShape): + """Dataclass for DeleteLoginProfileInput structure.""" + + user_name: str | None = ... + """ + The name of the user whose password you want to delete. + + This parameter is optional. If no user name is included, it defaults to + the principal making the request. When you make this request with root + user credentials, you must use an + [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) + session to omit the user name. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class DeleteLoginProfileOutput(_SerdeShape): + """Dataclass for DeleteLoginProfileOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteOpenIDConnectProviderInput(_SerdeShape): + """Dataclass for DeleteOpenIDConnectProviderInput structure.""" + + open_id_connect_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM OpenID Connect provider + resource object to delete. You can get a list of OpenID Connect provider + resource ARNs by using the + [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) + operation. + """ + +@dataclass(kw_only=True) +class DeleteOpenIDConnectProviderOutput(_SerdeShape): + """Dataclass for DeleteOpenIDConnectProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePolicyInput(_SerdeShape): + """Dataclass for DeletePolicyInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy you want to delete. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class DeletePolicyOutput(_SerdeShape): + """Dataclass for DeletePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePolicyVersionInput(_SerdeShape): + """Dataclass for DeletePolicyVersionInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy from which you want to + delete a version. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + version_id: str | None = ... + """ + The policy version to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + consists of the lowercase letter 'v' followed by one or two digits, + and optionally followed by a period '.' and a string of letters and + digits. + + For more information about managed policy versions, see [Versioning for + managed + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class DeletePolicyVersionOutput(_SerdeShape): + """Dataclass for DeletePolicyVersionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRoleInput(_SerdeShape): + """Dataclass for DeleteRoleInput structure.""" + + role_name: str | None = ... + """ + The name of the role to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class DeleteRoleOutput(_SerdeShape): + """Dataclass for DeleteRoleOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRolePermissionsBoundaryInput(_SerdeShape): + """Dataclass for DeleteRolePermissionsBoundaryInput structure.""" + + role_name: str | None = ... + """ + The name (friendly name, not ARN) of the IAM role from which you want to + remove the permissions boundary. + """ + +@dataclass(kw_only=True) +class DeleteRolePermissionsBoundaryOutput(_SerdeShape): + """Dataclass for DeleteRolePermissionsBoundaryOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRolePolicyInput(_SerdeShape): + """Dataclass for DeleteRolePolicyInput structure.""" + + role_name: str | None = ... + """ + The name (friendly name, not ARN) identifying the role that the policy + is embedded in. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_name: str | None = ... + """ + The name of the inline policy to delete from the specified IAM role. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class DeleteRolePolicyOutput(_SerdeShape): + """Dataclass for DeleteRolePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSAMLProviderInput(_SerdeShape): + """Dataclass for DeleteSAMLProviderInput structure.""" + + saml_provider_arn: str | None = ... + """The Amazon Resource Name (ARN) of the SAML provider to delete.""" + +@dataclass(kw_only=True) +class DeleteSAMLProviderOutput(_SerdeShape): + """Dataclass for DeleteSAMLProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteServerCertificateInput(_SerdeShape): + """Dataclass for DeleteServerCertificateInput structure.""" + + server_certificate_name: str | None = ... + """ + The name of the server certificate you want to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class DeleteServerCertificateOutput(_SerdeShape): + """Dataclass for DeleteServerCertificateOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteServiceLinkedRoleInput(_SerdeShape): + """Dataclass for DeleteServiceLinkedRoleInput structure.""" + + role_name: str | None = ... + """The name of the service-linked role to be deleted.""" + +@dataclass(kw_only=True) +class DeleteServiceLinkedRoleOutput(_SerdeShape): + """Dataclass for DeleteServiceLinkedRoleOutput structure.""" + + deletion_task_id: str + """ + The deletion task identifier that you can use to check the status of the + deletion. This identifier is returned in the format + `task/aws-service-role/```{=html}`/```{=html}`/```{=html}. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteServiceSpecificCredentialInput(_SerdeShape): + """Dataclass for DeleteServiceSpecificCredentialInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user associated with the service-specific + credential. If this value is not specified, then the operation assumes + the user whose credentials are used to call the operation. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + service_specific_credential_id: str | None = ... + """ + The unique identifier of the service-specific credential. You can get + this value by calling + [ListServiceSpecificCredentials](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServiceSpecificCredentials.html). + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + +@dataclass(kw_only=True) +class DeleteServiceSpecificCredentialOutput(_SerdeShape): + """Dataclass for DeleteServiceSpecificCredentialOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSigningCertificateInput(_SerdeShape): + """Dataclass for DeleteSigningCertificateInput structure.""" + + user_name: str | None = ... + """ + The name of the user the signing certificate belongs to. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + certificate_id: str | None = ... + """ + The ID of the signing certificate to delete. + + The format of this parameter, as described by its + [regex](http://wikipedia.org/wiki/regex) pattern, is a string of + characters that can be upper- or lower-cased letters or digits. + """ + +@dataclass(kw_only=True) +class DeleteSigningCertificateOutput(_SerdeShape): + """Dataclass for DeleteSigningCertificateOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteSSHPublicKeyInput(_SerdeShape): + """Dataclass for DeleteSSHPublicKeyInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user associated with the SSH public key. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + ssh_public_key_id: str | None = ... + """ + The unique identifier for the SSH public key. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + +@dataclass(kw_only=True) +class DeleteSSHPublicKeyOutput(_SerdeShape): + """Dataclass for DeleteSSHPublicKeyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteUserInput(_SerdeShape): + """Dataclass for DeleteUserInput structure.""" + + user_name: str | None = ... + """ + The name of the user to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class DeleteUserOutput(_SerdeShape): + """Dataclass for DeleteUserOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteUserPermissionsBoundaryInput(_SerdeShape): + """Dataclass for DeleteUserPermissionsBoundaryInput structure.""" + + user_name: str | None = ... + """ + The name (friendly name, not ARN) of the IAM user from which you want to + remove the permissions boundary. + """ + +@dataclass(kw_only=True) +class DeleteUserPermissionsBoundaryOutput(_SerdeShape): + """Dataclass for DeleteUserPermissionsBoundaryOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteUserPolicyInput(_SerdeShape): + """Dataclass for DeleteUserPolicyInput structure.""" + + user_name: str | None = ... + """ + The name (friendly name, not ARN) identifying the user that the policy + is embedded in. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_name: str | None = ... + """ + The name identifying the policy document to delete. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class DeleteUserPolicyOutput(_SerdeShape): + """Dataclass for DeleteUserPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteVirtualMFADeviceInput(_SerdeShape): + """Dataclass for DeleteVirtualMFADeviceInput structure.""" + + serial_number: str | None = ... + """ + The serial number that uniquely identifies the MFA device. For virtual + MFA devices, the serial number is the same as the ARN. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: =,.@:/- + """ + +@dataclass(kw_only=True) +class DeleteVirtualMFADeviceOutput(_SerdeShape): + """Dataclass for DeleteVirtualMFADeviceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletionTaskFailureReasonType(_SerdeShape): + """ + The reason that the service-linked role deletion failed. + + This data type is used as a response element in the + [GetServiceLinkedRoleDeletionStatus](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLinkedRoleDeletionStatus.html) + operation. + """ + + reason: str | None = ... + """ + A short description of the reason that the service-linked role deletion + failed. + """ + role_usage_list: list[RoleUsageType] | None = ... + """ + A list of objects that contains details about the service-linked role + deletion failure, if that information is returned by the service. If the + service-linked role has active sessions or if any resources that were + used by the role have not been deleted from the linked service, the role + can't be deleted. This parameter includes a list of the resources that + are associated with the role and the Region in which the resources are + being used. + """ + +class DeletionTaskStatusType(UnknownEnumMixin, StrEnum): + SUCCEEDED = "SUCCEEDED" + IN_PROGRESS = "IN_PROGRESS" + FAILED = "FAILED" + NOT_STARTED = "NOT_STARTED" + +@dataclass(kw_only=True) +class DetachGroupPolicyInput(_SerdeShape): + """Dataclass for DetachGroupPolicyInput structure.""" + + group_name: str | None = ... + """ + The name (friendly name, not ARN) of the IAM group to detach the policy + from. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy you want to detach. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class DetachGroupPolicyOutput(_SerdeShape): + """Dataclass for DetachGroupPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetachRolePolicyInput(_SerdeShape): + """Dataclass for DetachRolePolicyInput structure.""" + + role_name: str | None = ... + """ + The name (friendly name, not ARN) of the IAM role to detach the policy + from. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy you want to detach. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class DetachRolePolicyOutput(_SerdeShape): + """Dataclass for DetachRolePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DetachUserPolicyInput(_SerdeShape): + """Dataclass for DetachUserPolicyInput structure.""" + + user_name: str | None = ... + """ + The name (friendly name, not ARN) of the IAM user to detach the policy + from. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy you want to detach. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class DetachUserPolicyOutput(_SerdeShape): + """Dataclass for DetachUserPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableOrganizationsRootCredentialsManagementInput(_SerdeShape): + """ + Dataclass for DisableOrganizationsRootCredentialsManagementInput + structure. + """ + +@dataclass(kw_only=True) +class DisableOrganizationsRootCredentialsManagementOutput(_SerdeShape): + """ + Dataclass for DisableOrganizationsRootCredentialsManagementOutput + structure. + """ + + organization_id: str | None = ... + """The unique identifier (ID) of an organization.""" + enabled_features: list[str] | None = ... + """ + The features enabled for centralized root access for member accounts in + your organization. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableOrganizationsRootSessionsInput(_SerdeShape): + """Dataclass for DisableOrganizationsRootSessionsInput structure.""" + +@dataclass(kw_only=True) +class DisableOrganizationsRootSessionsOutput(_SerdeShape): + """Dataclass for DisableOrganizationsRootSessionsOutput structure.""" + + organization_id: str | None = ... + """The unique identifier (ID) of an organization.""" + enabled_features: list[str] | None = ... + """ + The features you have enabled for centralized root access of member + accounts in your organization. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableOutboundWebIdentityFederationInput(_SerdeShape): + """Dataclass for DisableOutboundWebIdentityFederationInput structure.""" + +@dataclass(kw_only=True) +class DisableOutboundWebIdentityFederationOutput(_SerdeShape): + """Dataclass for DisableOutboundWebIdentityFederationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DuplicateCertificateException(ServiceError, _SerdeShape): + """ + The request was rejected because the same certificate is associated with + an IAM user in the account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DuplicateSSHPublicKeyException(ServiceError, _SerdeShape): + """ + The request was rejected because the SSH public key is already + associated with the specified IAM user. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableMFADeviceInput(_SerdeShape): + """Dataclass for EnableMFADeviceInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user for whom you want to enable the MFA device. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + serial_number: str | None = ... + """ + The serial number that uniquely identifies the MFA device. For virtual + MFA devices, the serial number is the device ARN. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: =,.@:/- + """ + authentication_code1: str | None = ... + """ + An authentication code emitted by the device. + + The format for this parameter is a string of six digits. + + Warning: + Submit your request immediately after generating the authentication + codes. If you generate the codes and then wait too long to submit the + request, the MFA device successfully associates with the user but the + MFA device becomes out of sync. This happens because time-based one-time + passwords (TOTP) expire after a short period of time. If this happens, + you can [resync the + device](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_sync.html). + """ + authentication_code2: str | None = ... + """ + A subsequent authentication code emitted by the device. + + The format for this parameter is a string of six digits. + + Warning: + Submit your request immediately after generating the authentication + codes. If you generate the codes and then wait too long to submit the + request, the MFA device successfully associates with the user but the + MFA device becomes out of sync. This happens because time-based one-time + passwords (TOTP) expire after a short period of time. If this happens, + you can [resync the + device](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_sync.html). + """ + +@dataclass(kw_only=True) +class EnableMFADeviceOutput(_SerdeShape): + """Dataclass for EnableMFADeviceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableOrganizationsRootCredentialsManagementInput(_SerdeShape): + """ + Dataclass for EnableOrganizationsRootCredentialsManagementInput + structure. + """ + +@dataclass(kw_only=True) +class EnableOrganizationsRootCredentialsManagementOutput(_SerdeShape): + """ + Dataclass for EnableOrganizationsRootCredentialsManagementOutput + structure. + """ + + organization_id: str | None = ... + """The unique identifier (ID) of an organization.""" + enabled_features: list[str] | None = ... + """The features you have enabled for centralized root access.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableOrganizationsRootSessionsInput(_SerdeShape): + """Dataclass for EnableOrganizationsRootSessionsInput structure.""" + +@dataclass(kw_only=True) +class EnableOrganizationsRootSessionsOutput(_SerdeShape): + """Dataclass for EnableOrganizationsRootSessionsOutput structure.""" + + organization_id: str | None = ... + """The unique identifier (ID) of an organization.""" + enabled_features: list[str] | None = ... + """The features you have enabled for centralized root access.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EnableOutboundWebIdentityFederationInput(_SerdeShape): + """Dataclass for EnableOutboundWebIdentityFederationInput structure.""" + +@dataclass(kw_only=True) +class EnableOutboundWebIdentityFederationOutput(_SerdeShape): + """Dataclass for EnableOutboundWebIdentityFederationOutput structure.""" + + issuer_identifier: str | None = ... + """ + A unique issuer URL for your Amazon Web Services account that hosts the + OpenID Connect (OIDC) discovery endpoints at + `/.well-known/openid-configuration and /.well-known/jwks.json`. The + OpenID Connect (OIDC) discovery endpoints contain verification keys and + metadata necessary for token verification. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class EncodingType(UnknownEnumMixin, StrEnum): + SSH = "SSH" + PEM = "PEM" + +@dataclass(kw_only=True) +class EntityAlreadyExistsException(ServiceError, _SerdeShape): + """ + The request was rejected because it attempted to create a resource that + already exists. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EntityDetails(_SerdeShape): + """ + An object that contains details about when the IAM entities (users or + roles) were last used in an attempt to access the specified Amazon Web + Services service. + + This data type is a response element in the + [GetServiceLastAccessedDetailsWithEntities](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html) + operation. + """ + + entity_info: EntityInfo + """ + The `EntityInfo` object that contains details about the entity (user or + role). + """ + last_authenticated: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the authenticated entity + last attempted to access Amazon Web Services. Amazon Web Services does + not report unauthenticated requests. + + This field is null if no IAM entities attempted to access the service + within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + +@dataclass(kw_only=True) +class EntityInfo(_SerdeShape): + """ + Contains details about the specified entity (user or role). + + This data type is an element of the + [EntityDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_EntityDetails.html) + object. + """ + + arn: str + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + name: str + """The name of the entity (user or role).""" + type: str + """The type of entity (user or role).""" + id: str + """The identifier of the entity (user or role).""" + path: str | None = ... + """ + The path to the entity (user or role). For more information about paths, + see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class EntityTemporarilyUnmodifiableException(ServiceError, _SerdeShape): + """ + The request was rejected because it referenced an entity that is + temporarily unmodifiable, such as a user name that was deleted and then + recreated. The error indicates that the request is likely to succeed if + you try again after waiting several minutes. The error message describes + the entity. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class EntityType(UnknownEnumMixin, StrEnum): + USER = "User" + ROLE = "Role" + GROUP = "Group" + LOCAL_MANAGED_POLICY = "LocalManagedPolicy" + AWS_MANAGED_POLICY = "AWSManagedPolicy" + +@dataclass(kw_only=True) +class ErrorDetails(_SerdeShape): + """ + Contains information about the reason that the operation failed. + + This data type is used as a response element in the + [GetOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html), + [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html), + and + [GetServiceLastAccessedDetailsWithEntities](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html) + operations. + """ + + message: str + """Detailed information about the reason that the operation failed.""" + code: str + """The error code associated with the operation failure.""" + +@dataclass(kw_only=True) +class EvaluationResult(_SerdeShape): + """ + Contains the results of a simulation. + + This data type is used by the return parameter of + ` `[`SimulateCustomPolicy`](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html)` ` + and + ` `[`SimulatePrincipalPolicy`](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html)` `. + + Warning: + The simulator now returns a single `EvaluationResult` per action, + regardless of how many resource ARNs are provided. Previously, + simulating one action against N resources returned N evaluation results, + each containing the same aggregate decision. The top-level fields + (`EvalDecision`, `MatchedStatements`, `MissingContextValues`, + `EvalDecisionDetails`) now represent the *aggregate* decision across all + requested resources. The top-level `EvalDecision` reflects the most + restrictive decision across all resources (for example, if any resource + produces `explicitDeny`, the top-level decision is `explicitDeny`). + + To see the decision for each individual resource, use + `ResourceSpecificResults`. If your application parses evaluation results + per resource ARN, update your code to read per-resource decisions from + `ResourceSpecificResults` rather than from the top-level result. + """ + + eval_action_name: str + """The name of the API operation tested on the indicated resource.""" + eval_resource_name: str | None = ... + """ + The ARN template for the simulated resource type (for example, + `arn:${Partition}:s3:::${BucketName}/${KeyName}`), or `*` if no ARN + format is defined for the action. This is not a specific + customer-provided resource ARN. To find the decision for a specific + resource, use `ResourceSpecificResults`. + + Note: + If you previously relied on `EvalResourceName` to identify which + specific resource a result applies to, you must now use the + `EvalResourceName` field within individual entries in + `ResourceSpecificResults` instead. + """ + eval_decision: str + """The result of the simulation.""" + matched_statements: list[Statement] | None = ... + """ + A list of the statements in the input policies that determine the result + for this scenario. Remember that even if multiple statements allow the + operation on the resource, if only one statement denies that operation, + then the explicit deny overrides any allow. In addition, the deny + statement is the only entry included in the result. + + In the top-level result, this field contains the union of matched + statements across all requested resources. Only statements that + contributed to the reported decision are included. For per-resource + matched statements, see `ResourceSpecificResults`. This field doesn't + include statements from service control policies (SCPs). Only statements + from identity-based and resource-based policies appear here. + """ + missing_context_values: list[str] | None = ... + """ + A list of context keys that are required by the included input policies + but that were not provided by one of the input parameters. This list is + used when the resource in a simulation is \"*\", either explicitly, or + when the `ResourceArns` parameter blank. If you include a list of + resources, then any missing context values are instead included under + the `ResourceSpecificResults` section. To discover the context keys used + by a set of policies, you can call + [GetContextKeysForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html) + or + [GetContextKeysForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html). + + In the top-level result, this field contains the deduplicated set of + missing context values across all requested resources. This field + doesn't include context keys referenced by service control policies + (SCPs). Only context keys referenced by identity-based and + resource-based policies appear here. + """ + organizations_decision_detail: OrganizationsDecisionDetail | None = ... + """ + A structure that details how Organizations and its service control + policies affect the results of the simulation. Only applies if the + simulated user's account is part of an organization. + + For resources that don't support organization-level evaluation, this + field is omitted from the top-level result. For per-resource details, + see `ResourceSpecificResults`. + """ + permissions_boundary_decision_detail: PermissionsBoundaryDecisionDetail | None = ... + """ + Contains information about the effect that a permissions boundary has on + a policy simulation when the boundary is applied to an IAM entity. + """ + eval_decision_details: dict[str, str] | None = ... + """ + Additional details about the results of the cross-account evaluation + decision. This parameter is populated for only cross-account + simulations. It contains a brief summary of how each policy type + contributes to the final evaluation decision. + + In the top-level result, this map reports the most restrictive decision + per policy type across all requested resources. + + If the simulation evaluates policies within the same account and + includes a resource ARN, then the parameter is present but the response + is empty. If the simulation evaluates policies within the same account + and specifies all resources (`*`), then the parameter is not returned. + + When you make a cross-account request, Amazon Web Services evaluates the + request in the trusting account and the trusted account. The request is + allowed only if both evaluations return `true`. For more information + about how policies are evaluated, see [Evaluating policies within a + single + account](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics). + + If an Organizations SCP included in the evaluation denies access, the + simulation ends. In this case, policy evaluation does not proceed any + further and this parameter is not returned. + """ + resource_specific_results: list[ResourceSpecificResult] | None = ... + """ + The individual results of the simulation of the API operation specified + in EvalActionName on each resource. + """ + +@dataclass(kw_only=True) +class FeatureDisabledException(ServiceError, _SerdeShape): + """ + The request failed because outbound identity federation is already + disabled for your Amazon Web Services account. You cannot disable the + feature multiple times + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FeatureEnabledException(ServiceError, _SerdeShape): + """ + The request failed because outbound identity federation is already + enabled for your Amazon Web Services account. You cannot enable the + feature multiple times. To fetch the current configuration (including + the unique issuer URL), use the `GetOutboundWebIdentityFederationInfo` + operation. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class FeatureType(UnknownEnumMixin, StrEnum): + ROOT_CREDENTIALS_MANAGEMENT = "RootCredentialsManagement" + ROOT_SESSIONS = "RootSessions" + +@dataclass(kw_only=True) +class GenerateCredentialReportInput(_SerdeShape): + """Dataclass for GenerateCredentialReportInput structure.""" + +@dataclass(kw_only=True) +class GenerateCredentialReportOutput(_SerdeShape): + """ + Contains the response to a successful + [GenerateCredentialReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateCredentialReport.html) + request. + """ + + state: str | None = ... + """Information about the state of the credential report.""" + description: str | None = ... + """Information about the credential report.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GenerateOrganizationsAccessReportInput(_SerdeShape): + """Dataclass for GenerateOrganizationsAccessReportInput structure.""" + + entity_path: str | None = ... + """ + The path of the Organizations entity (root, OU, or account). You can + build an entity path using the known structure of your organization. For + example, assume that your account ID is `123456789012` and its parent OU + ID is `ou-rge0-awsabcde`. The organization root ID is + `r-f6g7h8i9j0example` and your organization ID is `o-a1b2c3d4e5`. Your + entity path is + `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-rge0-awsabcde/123456789012`. + """ + organizations_policy_id: str | None = ... + """ + The identifier of the Organizations service control policy (SCP). This + parameter is optional. + + This ID is used to generate information about when an account principal + that is limited by the SCP attempted to access an Amazon Web Services + service. + """ + +@dataclass(kw_only=True) +class GenerateOrganizationsAccessReportOutput(_SerdeShape): + """Dataclass for GenerateOrganizationsAccessReportOutput structure.""" + + job_id: str | None = ... + """ + The job identifier that you can use in the + [GetOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html) + operation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GenerateServiceLastAccessedDetailsInput(_SerdeShape): + """Dataclass for GenerateServiceLastAccessedDetailsInput structure.""" + + arn: str | None = ... + """ + The ARN of the IAM resource (user, group, role, or managed policy) used + to generate information about when the resource was last used in an + attempt to access an Amazon Web Services service. + """ + granularity: str | None = ... + """ + The level of detail that you want to generate. You can specify whether + you want to generate information about the last attempt to access + services or actions. If you specify service-level granularity, this + operation generates only service data. If you specify action-level + granularity, it generates service and action data. If you don't include + this optional parameter, the operation generates service data. + """ + +@dataclass(kw_only=True) +class GenerateServiceLastAccessedDetailsOutput(_SerdeShape): + """Dataclass for GenerateServiceLastAccessedDetailsOutput structure.""" + + job_id: str | None = ... + """ + The `JobId` that you can use in the + [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html) + or + [GetServiceLastAccessedDetailsWithEntities](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html) + operations. The `JobId` returned by `GenerateServiceLastAccessedDetail` + must be used by the same role within a session, or by the same user when + used to call `GetServiceLastAccessedDetail`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAccessKeyLastUsedInput(_SerdeShape): + """Dataclass for GetAccessKeyLastUsedInput structure.""" + + access_key_id: str | None = ... + """ + The identifier of an access key. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + +@dataclass(kw_only=True) +class GetAccessKeyLastUsedOutput(_SerdeShape): + """ + Contains the response to a successful + [GetAccessKeyLastUsed](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccessKeyLastUsed.html) + request. It is also returned as a member of the + [AccessKeyMetaData](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AccessKeyMetaData.html) + structure returned by the + [ListAccessKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html) + action. + """ + + user_name: str | None = ... + """The name of the IAM user that owns this access key.""" + access_key_last_used: AccessKeyLastUsed | None = ... + """Contains information about the last time the access key was used.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAccountAuthorizationDetailsInput(_SerdeShape): + """Dataclass for GetAccountAuthorizationDetailsInput structure.""" + + filter: list[str] | None = ... + """ + A list of entity types used to filter the results. Only the entities + that match the types you specify are included in the output. Use the + value `LocalManagedPolicy` to include customer managed policies. + + The format for this parameter is a comma-separated (if more than one) + list of strings. Each string value in the list must be one of the valid + values listed below. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + +@dataclass(kw_only=True) +class GetAccountAuthorizationDetailsOutput(_SerdeShape): + """ + Contains the response to a successful + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + request. + """ + + user_detail_list: list[UserDetail] | None = ... + """A list containing information about IAM users.""" + group_detail_list: list[GroupDetail] | None = ... + """A list containing information about IAM groups.""" + role_detail_list: list[RoleDetail] | None = ... + """A list containing information about IAM roles.""" + policies: list[ManagedPolicyDetail] | None = ... + """A list containing information about managed policies.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAccountPasswordPolicyInput(_SerdeShape): + """Dataclass for GetAccountPasswordPolicyInput structure.""" + +@dataclass(kw_only=True) +class GetAccountPasswordPolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [GetAccountPasswordPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountPasswordPolicy.html) + request. + """ + + password_policy: PasswordPolicy + """A structure that contains details about the account's password policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAccountPropertiesInput(_SerdeShape): + """Dataclass for GetAccountPropertiesInput structure.""" + +@dataclass(kw_only=True) +class GetAccountPropertiesOutput(_SerdeShape): + """Dataclass for GetAccountPropertiesOutput structure.""" + + properties: dict[str, str] | None = ... + """ + A map of account property key-value pairs. Keys are in the format + `Namespace/PropertyName`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAccountSummaryInput(_SerdeShape): + """Dataclass for GetAccountSummaryInput structure.""" + +@dataclass(kw_only=True) +class GetAccountSummaryOutput(_SerdeShape): + """ + Contains the response to a successful + [GetAccountSummary](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountSummary.html) + request. + """ + + summary_map: dict[str, int] | None = ... + """ + A set of key--value pairs containing information about IAM entity usage + and IAM quotas. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetContextKeysForCustomPolicyInput(_SerdeShape): + """Dataclass for GetContextKeysForCustomPolicyInput structure.""" + + policy_input_list: list[str] | None = ... + """ + A list of policies for which you want the list of context keys + referenced in those policies. Each document is specified as a string + containing the complete, valid JSON text of an IAM policy. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + +@dataclass(kw_only=True) +class GetContextKeysForCustomPolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [GetContextKeysForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html) + or + [GetContextKeysForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html) + request. + """ + + context_key_names: list[str] | None = ... + """The list of context keys that are referenced in the input policies.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetContextKeysForPrincipalPolicyInput(_SerdeShape): + """Dataclass for GetContextKeysForPrincipalPolicyInput structure.""" + + policy_source_arn: str | None = ... + """ + The ARN of a user, group, or role whose policies contain the context + keys that you want listed. If you specify a user, the list includes + context keys that are found in all policies that are attached to the + user. The list also includes all groups that the user is a member of. If + you pick a group or a role, then it includes only those context keys + that are found in policies attached to that entity. Note that all + parameters are shown in unencoded form here for clarity, but must be URL + encoded to be included as a part of a real HTML request. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + policy_input_list: list[str] | None = ... + """ + An optional list of additional policies for which you want the list of + context keys that are referenced. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + +@dataclass(kw_only=True) +class GetContextKeysForPrincipalPolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [GetContextKeysForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html) + or + [GetContextKeysForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html) + request. + """ + + context_key_names: list[str] | None = ... + """The list of context keys that are referenced in the input policies.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCredentialReportInput(_SerdeShape): + """Dataclass for GetCredentialReportInput structure.""" + +@dataclass(kw_only=True) +class GetCredentialReportOutput(_SerdeShape): + """ + Contains the response to a successful + [GetCredentialReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetCredentialReport.html) + request. + """ + + content: bytes | None = ... + """Contains the credential report. The report is Base64-encoded.""" + report_format: str | None = ... + """The format (MIME type) of the credential report.""" + generated_time: datetime | None = ... + """ + The date and time when the credential report was created, in [ISO 8601 + date-time format](http://www.iso.org/iso/iso8601). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDelegationRequestInput(_SerdeShape): + """Dataclass for GetDelegationRequestInput structure.""" + + delegation_request_id: str | None = ... + """The unique identifier of the delegation request to retrieve.""" + delegation_permission_check: bool = ... + """ + Specifies whether to perform a permission check for the delegation + request. + + If set to true, the `GetDelegationRequest` API call will start a + permission check process. This process calculates whether the caller has + sufficient permissions to cover the asks from this delegation request. + + Setting this parameter to true does not guarantee an answer in the + response. See the `PermissionCheckStatus` and the + `PermissionCheckResult` response attributes for further details. + """ + +@dataclass(kw_only=True) +class GetDelegationRequestOutput(_SerdeShape): + """Dataclass for GetDelegationRequestOutput structure.""" + + delegation_request: DelegationRequest | None = ... + """The delegation request object containing all details about the request.""" + permission_check_status: str | None = ... + """ + The status of the permission check for the delegation request. + + This value indicates the status of the process to check whether the + caller has sufficient permissions to cover the requested actions in the + delegation request. Since this is an asynchronous process, there are + three potential values: + + - `IN_PROGRESS` : The permission check process has started. + + - `COMPLETED` : The permission check process has completed. The + `PermissionCheckResult` will include the result. + + - `FAILED` : The permission check process has failed. + """ + permission_check_result: str | None = ... + """ + The result of the permission check, indicating whether the caller has + sufficient permissions to cover the requested permissions. This is an + approximate result. + + - `ALLOWED` : The caller has sufficient permissions cover all the + requested permissions. + + - `DENIED` : The caller does not have sufficient permissions to cover + all the requested permissions. + + - `UNSURE` : It is not possible to determine whether the caller has all + the permissions needed. This output is most likely for cases when the + caller has permissions with conditions. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGroupInput(_SerdeShape): + """Dataclass for GetGroupInput structure.""" + + group_name: str | None = ... + """ + The name of the group. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class GetGroupOutput(_SerdeShape): + """ + Contains the response to a successful + [GetGroup](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroup.html) + request. + """ + + group: Group + """A structure that contains details about the group.""" + users: list[User] + """A list of users in the group.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGroupPolicyInput(_SerdeShape): + """Dataclass for GetGroupPolicyInput structure.""" + + group_name: str | None = ... + """ + The name of the group the policy is associated with. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_name: str | None = ... + """ + The name of the policy document to get. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class GetGroupPolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [GetGroupPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroupPolicy.html) + request. + """ + + group_name: str + """The group the policy is associated with.""" + policy_name: str + """The name of the policy.""" + policy_document: str + """ + The policy document. + + IAM stores policies in JSON format. However, resources that were created + using CloudFormation templates can be formatted in YAML. CloudFormation + always converts a YAML policy to JSON format before submitting it to + IAM. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetHumanReadableSummaryInput(_SerdeShape): + """Dataclass for GetHumanReadableSummaryInput structure.""" + + entity_arn: str | None = ... + """ + Arn of the entity to be summarized. At this time, the only supported + entity type is `delegation-request` + """ + locale: str | None = ... + """ + A string representing the locale to use for the summary generation. The + supported locale strings are based on the [Supported languages of the + Amazon Web Services Management + Console](/awsconsolehelpdocs/latest/gsg/change-language.html#supported-languages) + . + """ + +@dataclass(kw_only=True) +class GetHumanReadableSummaryOutput(_SerdeShape): + """Dataclass for GetHumanReadableSummaryOutput structure.""" + + summary_content: str | None = ... + """ + Summary content in the specified locale. Summary content is non-empty + only if the `SummaryState` is `AVAILABLE`. + """ + locale: str | None = ... + """ + The locale that this response was generated for. This maps to the input + locale. + """ + summary_state: str | None = ... + """ + State of summary generation. This generation process is asynchronous and + this attribute indicates the state of the generation process. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetInstanceProfileInput(_SerdeShape): + """Dataclass for GetInstanceProfileInput structure.""" + + instance_profile_name: str | None = ... + """ + The name of the instance profile to get information about. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class GetInstanceProfileOutput(_SerdeShape): + """ + Contains the response to a successful + [GetInstanceProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetInstanceProfile.html) + request. + """ + + instance_profile: InstanceProfile + """A structure containing details about the instance profile.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetLoginProfileInput(_SerdeShape): + """Dataclass for GetLoginProfileInput structure.""" + + user_name: str | None = ... + """ + The name of the user whose login profile you want to retrieve. + + This parameter is optional. If no user name is included, it defaults to + the principal making the request. When you make this request with root + user credentials, you must use an + [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) + session to omit the user name. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class GetLoginProfileOutput(_SerdeShape): + """ + Contains the response to a successful + [GetLoginProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetLoginProfile.html) + request. + """ + + login_profile: LoginProfile + """ + A structure containing the user name and the profile creation date for + the user. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMFADeviceInput(_SerdeShape): + """Dataclass for GetMFADeviceInput structure.""" + + serial_number: str | None = ... + """ + Serial number that uniquely identifies the MFA device. For this API, we + only accept FIDO security key + [ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html). + """ + user_name: str | None = ... + """The friendly name identifying the user.""" + +@dataclass(kw_only=True) +class GetMFADeviceOutput(_SerdeShape): + """Dataclass for GetMFADeviceOutput structure.""" + + user_name: str | None = ... + """The friendly name identifying the user.""" + serial_number: str + """ + Serial number that uniquely identifies the MFA device. For this API, we + only accept FIDO security key + [ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html). + """ + enable_date: datetime | None = ... + """The date that a specified user's MFA device was first enabled.""" + certifications: dict[str, str] | None = ... + """ + The certifications of a specified user's MFA device. We currently + provide FIPS-140-2, FIPS-140-3, and FIDO certification levels obtained + from [FIDO Alliance Metadata Service + (MDS)](https://fidoalliance.org/metadata/). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOpenIDConnectProviderInput(_SerdeShape): + """Dataclass for GetOpenIDConnectProviderInput structure.""" + + open_id_connect_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the OIDC provider resource object in + IAM to get information for. You can get a list of OIDC provider resource + ARNs by using the + [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) + operation. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class GetOpenIDConnectProviderOutput(_SerdeShape): + """ + Contains the response to a successful + [GetOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOpenIDConnectProvider.html) + request. + """ + + url: str | None = ... + """ + The URL that the IAM OIDC provider resource object is associated with. + For more information, see + [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). + """ + client_id_list: list[str] | None = ... + """ + A list of client IDs (also known as audiences) that are associated with + the specified IAM OIDC provider resource object. For more information, + see + [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). + """ + thumbprint_list: list[str] | None = ... + """ + A list of certificate thumbprints that are associated with the specified + IAM OIDC provider resource object. For more information, see + [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). + """ + create_date: datetime | None = ... + """ + The date and time when the IAM OIDC provider resource object was created + in the Amazon Web Services account. + """ + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the specified IAM OIDC provider. The + returned list of tags is sorted by tag key. For more information about + tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOrganizationsAccessReportInput(_SerdeShape): + """Dataclass for GetOrganizationsAccessReportInput structure.""" + + job_id: str | None = ... + """ + The identifier of the request generated by the + [GenerateOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateOrganizationsAccessReport.html) + operation. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + sort_key: str | None = ... + """ + The key that is used to sort the results. If you choose the namespace + key, the results are returned in alphabetical order. If you choose the + time key, the results are sorted numerically by the date and time. + """ + +@dataclass(kw_only=True) +class GetOrganizationsAccessReportOutput(_SerdeShape): + """Dataclass for GetOrganizationsAccessReportOutput structure.""" + + job_status: str + """The status of the job.""" + job_creation_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the report job was + created. + """ + job_completion_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the generated report job + was completed or failed. + + This field is null if the job is still in progress, as indicated by a + job status value of `IN_PROGRESS`. + """ + number_of_services_accessible: int | None = ... + """ + The number of services that the applicable SCPs allow account principals + to access. + """ + number_of_services_not_accessed: int | None = ... + """ + The number of services that account principals are allowed but did not + attempt to access. + """ + access_details: list[AccessDetail] | None = ... + """ + An object that contains details about the most recent attempt to access + the service. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + error_details: ErrorDetails | None = ... + """ + Contains information about the reason that the operation failed. + + This data type is used as a response element in the + [GetOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html), + [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html), + and + [GetServiceLastAccessedDetailsWithEntities](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html) + operations. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetOutboundWebIdentityFederationInfoInput(_SerdeShape): + """Dataclass for GetOutboundWebIdentityFederationInfoInput structure.""" + +@dataclass(kw_only=True) +class GetOutboundWebIdentityFederationInfoOutput(_SerdeShape): + """Dataclass for GetOutboundWebIdentityFederationInfoOutput structure.""" + + issuer_identifier: str | None = ... + """ + A unique issuer URL for your Amazon Web Services account that hosts the + OpenID Connect (OIDC) discovery endpoints at + `/.well-known/openid-configuration and /.well-known/jwks.json`. The + OpenID Connect (OIDC) discovery endpoints contain verification keys and + metadata necessary for token verification. + """ + jwt_vending_enabled: bool = ... + """ + Indicates whether outbound identity federation is currently enabled for + your Amazon Web Services account. When true, IAM principals in the + account can call the `GetWebIdentityToken` API to obtain JSON Web Tokens + (JWTs) for authentication with external services. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicyInput(_SerdeShape): + """Dataclass for GetPolicyInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the managed policy that you want + information about. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class GetPolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [GetPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html) + request. + """ + + policy: Policy | None = ... + """A structure containing details about the policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicyVersionInput(_SerdeShape): + """Dataclass for GetPolicyVersionInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the managed policy that you want + information about. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + version_id: str | None = ... + """ + Identifies the policy version to retrieve. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + consists of the lowercase letter 'v' followed by one or two digits, + and optionally followed by a period '.' and a string of letters and + digits. + """ + +@dataclass(kw_only=True) +class GetPolicyVersionOutput(_SerdeShape): + """ + Contains the response to a successful + [GetPolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html) + request. + """ + + policy_version: PolicyVersion | None = ... + """A structure containing details about the policy version.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRoleInput(_SerdeShape): + """Dataclass for GetRoleInput structure.""" + + role_name: str | None = ... + """ + The name of the IAM role to get information about. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class GetRoleOutput(_SerdeShape): + """ + Contains the response to a successful + [GetRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html) + request. + """ + + role: Role + """A structure containing details about the IAM role.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRolePolicyInput(_SerdeShape): + """Dataclass for GetRolePolicyInput structure.""" + + role_name: str | None = ... + """ + The name of the role associated with the policy. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_name: str | None = ... + """ + The name of the policy document to get. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class GetRolePolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [GetRolePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRolePolicy.html) + request. + """ + + role_name: str + """The role the policy is associated with.""" + policy_name: str + """The name of the policy.""" + policy_document: str + """ + The policy document. + + IAM stores policies in JSON format. However, resources that were created + using CloudFormation templates can be formatted in YAML. CloudFormation + always converts a YAML policy to JSON format before submitting it to + IAM. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRoleTemplateVersionInput(_SerdeShape): + """Dataclass for GetRoleTemplateVersionInput structure.""" + + template_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the role template whose version you + want to retrieve. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + minor_version: int | None = ... + """ + The minor version of the role template to retrieve. If you do not + specify a minor version, the service returns the template's default + minor version. + """ + +@dataclass(kw_only=True) +class GetRoleTemplateVersionOutput(_SerdeShape): + """Dataclass for GetRoleTemplateVersionOutput structure.""" + + role_template_version: RoleTemplateVersion + """ + A structure that contains details about the requested role template + version. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSAMLProviderInput(_SerdeShape): + """Dataclass for GetSAMLProviderInput structure.""" + + saml_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the SAML provider resource object in + IAM to get information about. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class GetSAMLProviderOutput(_SerdeShape): + """ + Contains the response to a successful + [GetSAMLProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html) + request. + """ + + saml_provider_uuid: str | None = ... + """The unique identifier assigned to the SAML provider.""" + saml_metadata_document: str | None = ... + """ + The XML metadata document that includes information about an identity + provider. + """ + create_date: datetime | None = ... + """The date and time when the SAML provider was created.""" + valid_until: datetime | None = ... + """The expiration date and time for the SAML provider.""" + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the specified IAM SAML provider. The + returned list of tags is sorted by tag key. For more information about + tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + assertion_encryption_mode: str | None = ... + """Specifies the encryption setting for the SAML provider.""" + private_key_list: list[SAMLPrivateKey] | None = ... + """The private key metadata for the SAML provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetServerCertificateInput(_SerdeShape): + """Dataclass for GetServerCertificateInput structure.""" + + server_certificate_name: str | None = ... + """ + The name of the server certificate you want to retrieve information + about. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class GetServerCertificateOutput(_SerdeShape): + """ + Contains the response to a successful + [GetServerCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServerCertificate.html) + request. + """ + + server_certificate: ServerCertificate + """A structure containing details about the server certificate.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetServiceLastAccessedDetailsInput(_SerdeShape): + """Dataclass for GetServiceLastAccessedDetailsInput structure.""" + + job_id: str | None = ... + """ + The ID of the request generated by the + [GenerateServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateServiceLastAccessedDetails.html) + operation. The `JobId` returned by `GenerateServiceLastAccessedDetail` + must be used by the same role within a session, or by the same user when + used to call `GetServiceLastAccessedDetail`. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + +@dataclass(kw_only=True) +class GetServiceLastAccessedDetailsOutput(_SerdeShape): + """Dataclass for GetServiceLastAccessedDetailsOutput structure.""" + + job_status: str + """The status of the job.""" + job_type: str | None = ... + """ + The type of job. Service jobs return information about when each service + was last accessed. Action jobs also include information about when + tracked actions within the service were last accessed. + """ + job_creation_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the report job was + created. + """ + services_last_accessed: list[ServiceLastAccessed] + """ + A `ServiceLastAccessed` object that contains details about the most + recent attempt to access the service. + """ + job_completion_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the generated report job + was completed or failed. + + This field is null if the job is still in progress, as indicated by a + job status value of `IN_PROGRESS`. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + error: ErrorDetails | None = ... + """An object that contains details about the reason the operation failed.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetServiceLastAccessedDetailsWithEntitiesInput(_SerdeShape): + """Dataclass for GetServiceLastAccessedDetailsWithEntitiesInput structure.""" + + job_id: str | None = ... + """ + The ID of the request generated by the + `GenerateServiceLastAccessedDetails` operation. + """ + service_namespace: str | None = ... + """ + The service namespace for an Amazon Web Services service. Provide the + service namespace to learn when the IAM entity last attempted to access + the specified service. + + To learn the service namespace for a service, see [Actions, resources, + and condition keys for Amazon Web Services + services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) + in the *IAM User Guide*. Choose the name of the service to view details + for that service. In the first paragraph, find the service prefix. For + example, `(service prefix: a4b)`. For more information about service + namespaces, see [Amazon Web Services service + namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) + in the *Amazon Web Services General Reference*. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + +@dataclass(kw_only=True) +class GetServiceLastAccessedDetailsWithEntitiesOutput(_SerdeShape): + """Dataclass for GetServiceLastAccessedDetailsWithEntitiesOutput structure.""" + + job_status: str + """The status of the job.""" + job_creation_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the report job was + created. + """ + job_completion_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the generated report job + was completed or failed. + + This field is null if the job is still in progress, as indicated by a + job status value of `IN_PROGRESS`. + """ + entity_details_list: list[EntityDetails] + """ + An `EntityDetailsList` object that contains details about when an IAM + entity (user or role) used group or policy permissions in an attempt to + access the specified Amazon Web Services service. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + error: ErrorDetails | None = ... + """An object that contains details about the reason the operation failed.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetServiceLinkedRoleDeletionStatusInput(_SerdeShape): + """Dataclass for GetServiceLinkedRoleDeletionStatusInput structure.""" + + deletion_task_id: str | None = ... + """ + The deletion task identifier. This identifier is returned by the + [DeleteServiceLinkedRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteServiceLinkedRole.html) + operation in the format + `task/aws-service-role/```{=html}`/```{=html}`/```{=html}. + """ + +@dataclass(kw_only=True) +class GetServiceLinkedRoleDeletionStatusOutput(_SerdeShape): + """Dataclass for GetServiceLinkedRoleDeletionStatusOutput structure.""" + + status: str + """The status of the deletion.""" + reason: DeletionTaskFailureReasonType | None = ... + """An object that contains details about the reason the deletion failed.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetSSHPublicKeyInput(_SerdeShape): + """Dataclass for GetSSHPublicKeyInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user associated with the SSH public key. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + ssh_public_key_id: str | None = ... + """ + The unique identifier for the SSH public key. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + encoding: str | None = ... + """ + Specifies the public key encoding format to use in the response. To + retrieve the public key in ssh-rsa format, use `SSH`. To retrieve the + public key in PEM format, use `PEM`. + """ + +@dataclass(kw_only=True) +class GetSSHPublicKeyOutput(_SerdeShape): + """ + Contains the response to a successful + [GetSSHPublicKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSSHPublicKey.html) + request. + """ + + ssh_public_key: SSHPublicKey | None = ... + """A structure containing details about the SSH public key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUserInput(_SerdeShape): + """Dataclass for GetUserInput structure.""" + + user_name: str | None = ... + """ + The name of the user to get information about. + + This parameter is optional. If it is not included, it defaults to the + user making the request. This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class GetUserOutput(_SerdeShape): + """ + Contains the response to a successful + [GetUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html) + request. + """ + + user: User + """ + A structure containing details about the IAM user. + + Warning: + Due to a service issue, password last used data does not include + password use from May 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This + affects [last + sign-in](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_finding-unused.html) + dates shown in the IAM console and password last used dates in the [IAM + credential + report](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_getting-report.html), + and returned by this operation. If users signed in during the affected + time, the password last used date that is returned is the date the user + last signed in before May 3, 2018. For users that signed in after May + 23, 2018 14:08 PDT, the returned password last used date is accurate. + + You can use password last used information to identify unused + credentials for deletion. For example, you might delete users who did + not sign in to Amazon Web Services in the last 90 days. In cases like + this, we recommend that you adjust your evaluation window to include + dates after May 23, 2018. Alternatively, if your users use access keys + to access Amazon Web Services programmatically you can refer to access + key last used information because it is accurate for all dates. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUserPolicyInput(_SerdeShape): + """Dataclass for GetUserPolicyInput structure.""" + + user_name: str | None = ... + """ + The name of the user who the policy is associated with. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_name: str | None = ... + """ + The name of the policy document to get. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class GetUserPolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [GetUserPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUserPolicy.html) + request. + """ + + user_name: str + """The user the policy is associated with.""" + policy_name: str + """The name of the policy.""" + policy_document: str + """ + The policy document. + + IAM stores policies in JSON format. However, resources that were created + using CloudFormation templates can be formatted in YAML. CloudFormation + always converts a YAML policy to JSON format before submitting it to + IAM. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class GlobalEndpointTokenVersion(UnknownEnumMixin, StrEnum): + V1_TOKEN = "v1Token" + V2_TOKEN = "v2Token" + +@dataclass(kw_only=True) +class Group(_SerdeShape): + """ + Contains information about an IAM group entity. + + This data type is used as a response element in the following + operations: + + - [CreateGroup](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateGroup.html) + + - [GetGroup](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroup.html) + + - [ListGroups](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroups.html) + """ + + path: str + """ + The path to the group. For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + group_name: str + """The friendly name that identifies the group.""" + group_id: str + """ + The stable and unique string identifying the group. For more information + about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str + """ + The Amazon Resource Name (ARN) specifying the group. For more + information about ARNs and how to use them in policies, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + create_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the group was created. + """ + +@dataclass(kw_only=True) +class GroupDetail(_SerdeShape): + """ + Contains information about an IAM group, including all of the group's + policies. + + This data type is used as a response element in the + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + operation. + """ + + path: str | None = ... + """ + The path to the group. For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + group_name: str | None = ... + """The friendly name that identifies the group.""" + group_id: str | None = ... + """ + The stable and unique string identifying the group. For more information + about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + create_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the group was created. + """ + group_policy_list: list[PolicyDetail] | None = ... + """A list of the inline policies embedded in the group.""" + attached_managed_policies: list[AttachedPolicy] | None = ... + """A list of the managed policies attached to the group.""" + +@dataclass(kw_only=True) +class InlinePolicy(_SerdeShape): + """ + Contains an inline policy template that the service embeds in roles that + you create from a role template. + """ + + policy_name: str + """The name of the inline policy.""" + policy_document: str + """The inline policy document.""" + +@dataclass(kw_only=True) +class InlinePolicyIdentifierType(_SerdeShape): + """ + Identifies one or more inline policies that are embedded in IAM users, + groups, or roles, by the name of the policy together with the type and + name of the entity that it is attached to. Wildcard characters in the + entity name can match multiple entities, so a single identifier can + select more than one attached inline policy. + """ + + policy_name: str + """The name of the inline policy.""" + attachment_type: str + """The type of IAM entity that the inline policy is attached to.""" + attachment_name: str + """ + The name of the IAM user, group, or role that the inline policy is + attached to. Wildcard characters are supported to match multiple + entities: use at most one `*` (matches any sequence of characters, + including none), and any number of `?` (each matches exactly one + character). + """ + +@dataclass(kw_only=True) +class InstanceProfile(_SerdeShape): + """ + Contains information about an instance profile. + + This data type is used as a response element in the following + operations: + + - [CreateInstanceProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateInstanceProfile.html) + + - [GetInstanceProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetInstanceProfile.html) + + - [ListInstanceProfiles](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfiles.html) + + - [ListInstanceProfilesForRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfilesForRole.html) + """ + + path: str + """ + The path to the instance profile. For more information about paths, see + [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + instance_profile_name: str + """The name identifying the instance profile.""" + instance_profile_id: str + """ + The stable and unique string identifying the instance profile. For more + information about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str + """ + The Amazon Resource Name (ARN) specifying the instance profile. For more + information about ARNs and how to use them in policies, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + create_date: datetime + """The date when the instance profile was created.""" + roles: list[Role] + """The role associated with the instance profile.""" + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the instance profile. For more + information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class InvalidAuthenticationCodeException(ServiceError, _SerdeShape): + """ + The request was rejected because the authentication code was not + recognized. The error message describes the specific error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidCertificateException(ServiceError, _SerdeShape): + """The request was rejected because the certificate is invalid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidInputException(ServiceError, _SerdeShape): + """ + The request was rejected because an invalid or out-of-range value was + supplied for an input parameter. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidPublicKeyException(ServiceError, _SerdeShape): + """ + The request was rejected because the public key is malformed or + otherwise invalid. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidUserTypeException(ServiceError, _SerdeShape): + """ + The request was rejected because the type of user for the transaction + was incorrect. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class JobStatusType(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "IN_PROGRESS" + COMPLETED = "COMPLETED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class KeyPairMismatchException(ServiceError, _SerdeShape): + """ + The request was rejected because the public key certificate and the + private key do not match. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LimitExceededException(ServiceError, _SerdeShape): + """ + The request was rejected because it attempted to create resources beyond + the current Amazon Web Services account limits. The error message + describes the limit exceeded. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAccessKeysInput(_SerdeShape): + """Dataclass for ListAccessKeysInput structure.""" + + user_name: str | None = ... + """ + The name of the user. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListAccessKeysOutput(_SerdeShape): + """ + Contains the response to a successful + [ListAccessKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html) + request. + """ + + access_key_metadata: list[AccessKeyMetadata] + """A list of objects containing metadata about the access keys.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAccountAliasesInput(_SerdeShape): + """Dataclass for ListAccountAliasesInput structure.""" + + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListAccountAliasesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListAccountAliases](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccountAliases.html) + request. + """ + + account_aliases: list[str] + """ + A list of aliases associated with the account. Amazon Web Services + supports only one alias per account. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAttachedGroupPoliciesInput(_SerdeShape): + """Dataclass for ListAttachedGroupPoliciesInput structure.""" + + group_name: str | None = ... + """ + The name (friendly name, not ARN) of the group to list attached policies + for. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + path_prefix: str | None = ... + """ + The path prefix for filtering the results. This parameter is optional. + If it is not included, it defaults to a slash (/), listing all policies. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListAttachedGroupPoliciesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListAttachedGroupPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedGroupPolicies.html) + request. + """ + + attached_policies: list[AttachedPolicy] | None = ... + """A list of the attached policies.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAttachedRolePoliciesInput(_SerdeShape): + """Dataclass for ListAttachedRolePoliciesInput structure.""" + + role_name: str | None = ... + """ + The name (friendly name, not ARN) of the role to list attached policies + for. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + path_prefix: str | None = ... + """ + The path prefix for filtering the results. This parameter is optional. + If it is not included, it defaults to a slash (/), listing all policies. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListAttachedRolePoliciesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListAttachedRolePolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedRolePolicies.html) + request. + """ + + attached_policies: list[AttachedPolicy] | None = ... + """A list of the attached policies.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAttachedUserPoliciesInput(_SerdeShape): + """Dataclass for ListAttachedUserPoliciesInput structure.""" + + user_name: str | None = ... + """ + The name (friendly name, not ARN) of the user to list attached policies + for. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + path_prefix: str | None = ... + """ + The path prefix for filtering the results. This parameter is optional. + If it is not included, it defaults to a slash (/), listing all policies. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListAttachedUserPoliciesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListAttachedUserPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedUserPolicies.html) + request. + """ + + attached_policies: list[AttachedPolicy] | None = ... + """A list of the attached policies.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDelegationRequestsInput(_SerdeShape): + """Dataclass for ListDelegationRequestsInput structure.""" + + owner_id: str | None = ... + """The owner ID to filter delegation requests by.""" + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM may return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListDelegationRequestsOutput(_SerdeShape): + """Dataclass for ListDelegationRequestsOutput structure.""" + + delegation_requests: list[DelegationRequest] | None = ... + """A list of delegation requests that match the specified criteria.""" + marker: str | None = ... + """ + When `isTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListEntitiesForPolicyInput(_SerdeShape): + """Dataclass for ListEntitiesForPolicyInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy for which you want the + versions. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + entity_filter: str | None = ... + """ + The entity type to use for filtering the results. + + For example, when `EntityFilter` is `Role`, only the roles that are + attached to the specified policy are returned. This parameter is + optional. If it is not included, all attached entities (users, groups, + and roles) are returned. The argument for this parameter must be one of + the valid values listed below. + """ + path_prefix: str | None = ... + """ + The path prefix for filtering the results. This parameter is optional. + If it is not included, it defaults to a slash (/), listing all entities. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + policy_usage_filter: str | None = ... + """ + The policy usage method to use for filtering the results. + + To list only permissions policies, set `PolicyUsageFilter` to + `PermissionsPolicy`. To list only the policies used to set permissions + boundaries, set the value to `PermissionsBoundary`. + + This parameter is optional. If it is not included, all policies are + returned. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListEntitiesForPolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [ListEntitiesForPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html) + request. + """ + + policy_groups: list[PolicyGroup] | None = ... + """A list of IAM groups that the policy is attached to.""" + policy_users: list[PolicyUser] | None = ... + """A list of IAM users that the policy is attached to.""" + policy_roles: list[PolicyRole] | None = ... + """A list of IAM roles that the policy is attached to.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/models_1.pyi b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/models_1.pyi new file mode 100644 index 000000000..d25694dca --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/models_1.pyi @@ -0,0 +1,6726 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AttachedPermissionsBoundary, + AttachedPolicy, + ContextEntry, + EvaluationResult, + Group, + InlinePolicy, + InlinePolicyIdentifierType, + InstanceProfile, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class ListGroupPoliciesInput(_SerdeShape): + """Dataclass for ListGroupPoliciesInput structure.""" + + group_name: str | None = ... + """ + The name of the group to list policies for. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListGroupPoliciesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListGroupPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroupPolicies.html) + request. + """ + + policy_names: list[str] + """ + A list of policy names. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGroupsForUserInput(_SerdeShape): + """Dataclass for ListGroupsForUserInput structure.""" + + user_name: str | None = ... + """ + The name of the user to list groups for. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListGroupsForUserOutput(_SerdeShape): + """ + Contains the response to a successful + [ListGroupsForUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroupsForUser.html) + request. + """ + + groups: list[Group] + """A list of groups.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGroupsInput(_SerdeShape): + """Dataclass for ListGroupsInput structure.""" + + path_prefix: str | None = ... + """ + The path prefix for filtering the results. For example, the prefix + `/division_abc/subdivision_xyz/` gets all groups whose path starts with + `/division_abc/subdivision_xyz/`. + + This parameter is optional. If it is not included, it defaults to a + slash (/), listing all groups. This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListGroupsOutput(_SerdeShape): + """ + Contains the response to a successful + [ListGroups](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroups.html) + request. + """ + + groups: list[Group] + """A list of groups.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInstanceProfilesForRoleInput(_SerdeShape): + """Dataclass for ListInstanceProfilesForRoleInput structure.""" + + role_name: str | None = ... + """ + The name of the role to list instance profiles for. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListInstanceProfilesForRoleOutput(_SerdeShape): + """ + Contains the response to a successful + [ListInstanceProfilesForRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfilesForRole.html) + request. + """ + + instance_profiles: list[InstanceProfile] + """A list of instance profiles.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInstanceProfilesInput(_SerdeShape): + """Dataclass for ListInstanceProfilesInput structure.""" + + path_prefix: str | None = ... + """ + The path prefix for filtering the results. For example, the prefix + `/application_abc/component_xyz/` gets all instance profiles whose path + starts with `/application_abc/component_xyz/`. + + This parameter is optional. If it is not included, it defaults to a + slash (/), listing all instance profiles. This parameter allows (through + its [regex pattern](http://wikipedia.org/wiki/regex)) a string of + characters consisting of either a forward slash (/) by itself or a + string that must begin and end with forward slashes. In addition, it can + contain any ASCII character from the ! (`\u0021`) through the DEL + character (`\u007f`), including most punctuation characters, digits, and + upper and lowercased letters. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListInstanceProfilesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListInstanceProfiles](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfiles.html) + request. + """ + + instance_profiles: list[InstanceProfile] + """A list of instance profiles.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListInstanceProfileTagsInput(_SerdeShape): + """Dataclass for ListInstanceProfileTagsInput structure.""" + + instance_profile_name: str | None = ... + """ + The name of the IAM instance profile whose tags you want to see. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListInstanceProfileTagsOutput(_SerdeShape): + """Dataclass for ListInstanceProfileTagsOutput structure.""" + + tags: list[Tag] + """ + The list of tags that are currently attached to the IAM instance + profile. Each tag consists of a key name and an associated value. If no + tags are attached to the specified resource, the response contains an + empty list. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListMFADevicesInput(_SerdeShape): + """Dataclass for ListMFADevicesInput structure.""" + + user_name: str | None = ... + """ + The name of the user whose MFA devices you want to list. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListMFADevicesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListMFADevices](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADevices.html) + request. + """ + + mfa_devices: list[MFADevice] + """A list of MFA devices.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListMFADeviceTagsInput(_SerdeShape): + """Dataclass for ListMFADeviceTagsInput structure.""" + + serial_number: str | None = ... + """ + The unique identifier for the IAM virtual MFA device whose tags you want + to see. For virtual MFA devices, the serial number is the same as the + ARN. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListMFADeviceTagsOutput(_SerdeShape): + """Dataclass for ListMFADeviceTagsOutput structure.""" + + tags: list[Tag] + """ + The list of tags that are currently attached to the virtual MFA device. + Each tag consists of a key name and an associated value. If no tags are + attached to the specified resource, the response contains an empty list. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListOpenIDConnectProvidersInput(_SerdeShape): + """Dataclass for ListOpenIDConnectProvidersInput structure.""" + +@dataclass(kw_only=True) +class ListOpenIDConnectProvidersOutput(_SerdeShape): + """ + Contains the response to a successful + [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) + request. + """ + + open_id_connect_provider_list: list[OpenIDConnectProviderListEntry] | None = ... + """ + The list of IAM OIDC provider resource objects defined in the Amazon Web + Services account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListOpenIDConnectProviderTagsInput(_SerdeShape): + """Dataclass for ListOpenIDConnectProviderTagsInput structure.""" + + open_id_connect_provider_arn: str | None = ... + """ + The ARN of the OpenID Connect (OIDC) identity provider whose tags you + want to see. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListOpenIDConnectProviderTagsOutput(_SerdeShape): + """Dataclass for ListOpenIDConnectProviderTagsOutput structure.""" + + tags: list[Tag] + """ + The list of tags that are currently attached to the OpenID Connect + (OIDC) identity provider. Each tag consists of a key name and an + associated value. If no tags are attached to the specified resource, the + response contains an empty list. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListOrganizationsFeaturesInput(_SerdeShape): + """Dataclass for ListOrganizationsFeaturesInput structure.""" + +@dataclass(kw_only=True) +class ListOrganizationsFeaturesOutput(_SerdeShape): + """Dataclass for ListOrganizationsFeaturesOutput structure.""" + + organization_id: str | None = ... + """The unique identifier (ID) of an organization.""" + enabled_features: list[str] | None = ... + """ + Specifies the features that are currently available in your + organization. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPoliciesGrantingServiceAccessEntry(_SerdeShape): + """ + Contains details about the permissions policies that are attached to the + specified identity (user, group, or role). + + This data type is used as a response element in the + [ListPoliciesGrantingServiceAccess](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPoliciesGrantingServiceAccess.html) + operation. + """ + + service_namespace: str | None = ... + """ + The namespace of the service that was accessed. + + To learn the service namespace of a service, see [Actions, resources, + and condition keys for Amazon Web Services + services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) + in the *Service Authorization Reference*. Choose the name of the service + to view details for that service. In the first paragraph, find the + service prefix. For example, `(service prefix: a4b)`. For more + information about service namespaces, see [Amazon Web Services service + namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) + in the *Amazon Web Services General Reference*. + """ + policies: list[PolicyGrantingServiceAccess] | None = ... + """ + The `PoliciesGrantingServiceAccess` object that contains details about + the policy. + """ + +@dataclass(kw_only=True) +class ListPoliciesGrantingServiceAccessInput(_SerdeShape): + """Dataclass for ListPoliciesGrantingServiceAccessInput structure.""" + + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + arn: str | None = ... + """ + The ARN of the IAM identity (user, group, or role) whose policies you + want to list. + """ + service_namespaces: list[str] | None = ... + """ + The service namespace for the Amazon Web Services services whose + policies you want to list. + + To learn the service namespace for a service, see [Actions, resources, + and condition keys for Amazon Web Services + services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) + in the *IAM User Guide*. Choose the name of the service to view details + for that service. In the first paragraph, find the service prefix. For + example, `(service prefix: a4b)`. For more information about service + namespaces, see [Amazon Web Services service + namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class ListPoliciesGrantingServiceAccessOutput(_SerdeShape): + """Dataclass for ListPoliciesGrantingServiceAccessOutput structure.""" + + policies_granting_service_access: list[ListPoliciesGrantingServiceAccessEntry] + """ + A `ListPoliciesGrantingServiceAccess` object that contains details about + the permissions policies attached to the specified identity (user, + group, or role). + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. We + recommend that you check `IsTruncated` after every call to ensure that + you receive all your results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPoliciesInput(_SerdeShape): + """Dataclass for ListPoliciesInput structure.""" + + scope: str | None = ... + """ + The scope to use for filtering the results. + + To list only Amazon Web Services managed policies, set `Scope` to `AWS`. + To list only the customer managed policies in your Amazon Web Services + account, set `Scope` to `Local`. + + This parameter is optional. If it is not included, or if it is set to + `All`, all policies are returned. + """ + only_attached: bool = ... + """ + A flag to filter the results to only the attached policies. + + When `OnlyAttached` is `true`, the returned list contains only the + policies that are attached to an IAM user, group, or role. When + `OnlyAttached` is `false`, or when the parameter is not included, all + policies are returned. + """ + path_prefix: str | None = ... + """ + The path prefix for filtering the results. This parameter is optional. + If it is not included, it defaults to a slash (/), listing all policies. + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + policy_usage_filter: str | None = ... + """ + The policy usage method to use for filtering the results. + + To list only permissions policies, set `PolicyUsageFilter` to + `PermissionsPolicy`. To list only the policies used to set permissions + boundaries, set the value to `PermissionsBoundary`. + + This parameter is optional. If it is not included, all policies are + returned. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListPoliciesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicies.html) + request. + """ + + policies: list[Policy] | None = ... + """A list of policies.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPolicyTagsInput(_SerdeShape): + """Dataclass for ListPolicyTagsInput structure.""" + + policy_arn: str | None = ... + """ + The ARN of the IAM customer managed policy whose tags you want to see. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListPolicyTagsOutput(_SerdeShape): + """Dataclass for ListPolicyTagsOutput structure.""" + + tags: list[Tag] + """ + The list of tags that are currently attached to the IAM customer managed + policy. Each tag consists of a key name and an associated value. If no + tags are attached to the specified resource, the response contains an + empty list. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPolicyVersionsInput(_SerdeShape): + """Dataclass for ListPolicyVersionsInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy for which you want the + versions. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListPolicyVersionsOutput(_SerdeShape): + """ + Contains the response to a successful + [ListPolicyVersions](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html) + request. + """ + + versions: list[PolicyVersion] | None = ... + """ + A list of policy versions. + + For more information about managed policy versions, see [Versioning for + managed + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) + in the *IAM User Guide*. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRolePoliciesInput(_SerdeShape): + """Dataclass for ListRolePoliciesInput structure.""" + + role_name: str | None = ... + """ + The name of the role to list policies for. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListRolePoliciesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListRolePolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListRolePolicies.html) + request. + """ + + policy_names: list[str] + """A list of policy names.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRolesInput(_SerdeShape): + """Dataclass for ListRolesInput structure.""" + + path_prefix: str | None = ... + """ + The path prefix for filtering the results. For example, the prefix + `/application_abc/component_xyz/` gets all roles whose path starts with + `/application_abc/component_xyz/`. + + This parameter is optional. If it is not included, it defaults to a + slash (/), listing all roles. This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListRolesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListRoles](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListRoles.html) + request. + """ + + roles: list[Role] + """A list of roles.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRoleTagsInput(_SerdeShape): + """Dataclass for ListRoleTagsInput structure.""" + + role_name: str | None = ... + """ + The name of the IAM role for which you want to see the list of tags. + + This parameter accepts (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + consist of upper and lowercase alphanumeric characters with no spaces. + You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListRoleTagsOutput(_SerdeShape): + """Dataclass for ListRoleTagsOutput structure.""" + + tags: list[Tag] + """ + The list of tags that are currently attached to the role. Each tag + consists of a key name and an associated value. If no tags are attached + to the specified resource, the response contains an empty list. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListSAMLProvidersInput(_SerdeShape): + """Dataclass for ListSAMLProvidersInput structure.""" + +@dataclass(kw_only=True) +class ListSAMLProvidersOutput(_SerdeShape): + """ + Contains the response to a successful + [ListSAMLProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSAMLProviders.html) + request. + """ + + saml_provider_list: list[SAMLProviderListEntry] | None = ... + """ + The list of SAML provider resource objects defined in IAM for this + Amazon Web Services account. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListSAMLProviderTagsInput(_SerdeShape): + """Dataclass for ListSAMLProviderTagsInput structure.""" + + saml_provider_arn: str | None = ... + """ + The ARN of the Security Assertion Markup Language (SAML) identity + provider whose tags you want to see. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListSAMLProviderTagsOutput(_SerdeShape): + """Dataclass for ListSAMLProviderTagsOutput structure.""" + + tags: list[Tag] + """ + The list of tags that are currently attached to the Security Assertion + Markup Language (SAML) identity provider. Each tag consists of a key + name and an associated value. If no tags are attached to the specified + resource, the response contains an empty list. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListServerCertificatesInput(_SerdeShape): + """Dataclass for ListServerCertificatesInput structure.""" + + path_prefix: str | None = ... + """ + The path prefix for filtering the results. For example: + `/company/servercerts` would get all server certificates for which the + path starts with `/company/servercerts`. + + This parameter is optional. If it is not included, it defaults to a + slash (/), listing all server certificates. This parameter allows + (through its [regex pattern](http://wikipedia.org/wiki/regex)) a string + of characters consisting of either a forward slash (/) by itself or a + string that must begin and end with forward slashes. In addition, it can + contain any ASCII character from the ! (`\u0021`) through the DEL + character (`\u007f`), including most punctuation characters, digits, and + upper and lowercased letters. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListServerCertificatesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListServerCertificates](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServerCertificates.html) + request. + """ + + server_certificate_metadata_list: list[ServerCertificateMetadata] + """A list of server certificates.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListServerCertificateTagsInput(_SerdeShape): + """Dataclass for ListServerCertificateTagsInput structure.""" + + server_certificate_name: str | None = ... + """ + The name of the IAM server certificate whose tags you want to see. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListServerCertificateTagsOutput(_SerdeShape): + """Dataclass for ListServerCertificateTagsOutput structure.""" + + tags: list[Tag] + """ + The list of tags that are currently attached to the IAM server + certificate. Each tag consists of a key name and an associated value. If + no tags are attached to the specified resource, the response contains an + empty list. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListServiceSpecificCredentialsInput(_SerdeShape): + """Dataclass for ListServiceSpecificCredentialsInput structure.""" + + user_name: str | None = ... + """ + The name of the user whose service-specific credentials you want + information about. If this value is not specified, then the operation + assumes the user whose credentials are used to call the operation. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + service_name: str | None = ... + """ + Filters the returned results to only those for the specified Amazon Web + Services service. If not specified, then Amazon Web Services returns + service-specific credentials for all services. + """ + all_users: bool | None = ... + """ + A flag indicating whether to list service specific credentials for all + users. This parameter cannot be specified together with UserName. When + true, returns all credentials associated with the specified service. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the Marker from the response that you received to indicate + where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the IsTruncated response element is true. + """ + +@dataclass(kw_only=True) +class ListServiceSpecificCredentialsOutput(_SerdeShape): + """Dataclass for ListServiceSpecificCredentialsOutput structure.""" + + service_specific_credentials: list[ServiceSpecificCredentialMetadata] | None = ... + """ + A list of structures that each contain details about a service-specific + credential. + """ + marker: str | None = ... + """ + When IsTruncated is true, this element is present and contains the value + to use for the Marker parameter in a subsequent pagination request. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the Marker request parameter to retrieve more items. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListSigningCertificatesInput(_SerdeShape): + """Dataclass for ListSigningCertificatesInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user whose signing certificates you want to examine. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListSigningCertificatesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListSigningCertificates](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSigningCertificates.html) + request. + """ + + certificates: list[SigningCertificate] + """A list of the user's signing certificate information.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListSSHPublicKeysInput(_SerdeShape): + """Dataclass for ListSSHPublicKeysInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user to list SSH public keys for. If none is + specified, the `UserName` field is determined implicitly based on the + Amazon Web Services access key used to sign the request. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListSSHPublicKeysOutput(_SerdeShape): + """ + Contains the response to a successful + [ListSSHPublicKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSSHPublicKeys.html) + request. + """ + + ssh_public_keys: list[SSHPublicKeyMetadata] | None = ... + """A list of the SSH public keys assigned to IAM user.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListUserPoliciesInput(_SerdeShape): + """Dataclass for ListUserPoliciesInput structure.""" + + user_name: str | None = ... + """ + The name of the user to list policies for. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListUserPoliciesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListUserPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUserPolicies.html) + request. + """ + + policy_names: list[str] + """A list of policy names.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListUsersInput(_SerdeShape): + """Dataclass for ListUsersInput structure.""" + + path_prefix: str | None = ... + """ + The path prefix for filtering the results. For example: + `/division_abc/subdivision_xyz/`, which would get all user names whose + path starts with `/division_abc/subdivision_xyz/`. + + This parameter is optional. If it is not included, it defaults to a + slash (/), listing all user names. This parameter allows (through its + [regex pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListUsersOutput(_SerdeShape): + """ + Contains the response to a successful + [ListUsers](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUsers.html) + request. + """ + + users: list[User] + """A list of users.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListUserTagsInput(_SerdeShape): + """Dataclass for ListUserTagsInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user whose tags you want to see. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListUserTagsOutput(_SerdeShape): + """Dataclass for ListUserTagsOutput structure.""" + + tags: list[Tag] + """ + The list of tags that are currently attached to the user. Each tag + consists of a key name and an associated value. If no tags are attached + to the specified resource, the response contains an empty list. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListVirtualMFADevicesInput(_SerdeShape): + """Dataclass for ListVirtualMFADevicesInput structure.""" + + assignment_status: str | None = ... + """ + The status (`Unassigned` or `Assigned`) of the devices to list. If you + do not specify an `AssignmentStatus`, the operation defaults to `Any`, + which lists both assigned and unassigned virtual MFA devices., + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + +@dataclass(kw_only=True) +class ListVirtualMFADevicesOutput(_SerdeShape): + """ + Contains the response to a successful + [ListVirtualMFADevices](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListVirtualMFADevices.html) + request. + """ + + virtual_mfa_devices: list[VirtualMFADevice] + """ + The list of virtual MFA devices in the current account that match the + `AssignmentStatus` value that was passed in the request. + """ + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LoginProfile(_SerdeShape): + """ + Contains the user name and password create date for a user. + + This data type is used as a response element in the + [CreateLoginProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateLoginProfile.html) + and + [GetLoginProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetLoginProfile.html) + operations. + """ + + user_name: str + """ + The name of the user, which can be used for signing in to the Amazon Web + Services Management Console. + """ + create_date: datetime + """The date when the password for the user was created.""" + password_reset_required: bool = ... + """ + Specifies whether the user is required to set a new password on next + sign-in. + """ + +@dataclass(kw_only=True) +class MalformedCertificateException(ServiceError, _SerdeShape): + """ + The request was rejected because the certificate was malformed or + expired. The error message describes the specific error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class MalformedPolicyDocumentException(ServiceError, _SerdeShape): + """ + The request was rejected because the policy document was malformed. The + error message describes the specific error. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ManagedByTypeType(UnknownEnumMixin, StrEnum): + SERVICE = "Service" + +@dataclass(kw_only=True) +class ManagedPolicyDetail(_SerdeShape): + """ + Contains information about a managed policy, including the policy's + ARN, versions, and the number of principal entities (users, groups, and + roles) that the policy is attached to. + + This data type is used as a response element in the + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + operation. + + For more information about managed policies, see [Managed policies and + inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) + in the *IAM User Guide*. + """ + + policy_name: str | None = ... + """The friendly name (not ARN) identifying the policy.""" + policy_id: str | None = ... + """ + The stable and unique string identifying the policy. + + For more information about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + path: str | None = ... + """ + The path to the policy. + + For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + default_version_id: str | None = ... + """ + The identifier for the version of the policy that is set as the default + (operative) version. + + For more information about policy versions, see [Versioning for managed + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) + in the *IAM User Guide*. + """ + attachment_count: int | None = ... + """ + The number of principal entities (users, groups, and roles) that the + policy is attached to. + """ + permissions_boundary_usage_count: int | None = ... + """ + The number of entities (users and roles) for which the policy is used as + the permissions boundary. + + For more information about permissions boundaries, see [Permissions + boundaries for IAM + identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + """ + is_attachable: bool = ... + """ + Specifies whether the policy can be attached to an IAM user, group, or + role. + """ + description: str | None = ... + """A friendly description of the policy.""" + create_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the policy was created. + """ + update_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the policy was last + updated. + + When a policy has only one version, this field contains the date and + time when the policy was created. When a policy has more than one + version, this field contains the date and time when the most recent + policy version was created. + """ + policy_version_list: list[PolicyVersion] | None = ... + """A list containing information about the versions of the policy.""" + +@dataclass(kw_only=True) +class MFADevice(_SerdeShape): + """ + Contains information about an MFA device. + + This data type is used as a response element in the + [ListMFADevices](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADevices.html) + operation. + """ + + user_name: str + """The user with whom the MFA device is associated.""" + serial_number: str + """ + The serial number that uniquely identifies the MFA device. For virtual + MFA devices, the serial number is the device ARN. + """ + enable_date: datetime + """The date when the MFA device was enabled for the user.""" + +@dataclass(kw_only=True) +class NameConflictException(ServiceError, _SerdeShape): + """ + The request was rejected because the resulting role name conflicts with + an existing role in the account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchEntityException(ServiceError, _SerdeShape): + """ + The request was rejected because it referenced a resource entity that + does not exist. The error message describes the resource. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OpenIDConnectProviderListEntry(_SerdeShape): + """ + Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect + provider. + """ + + arn: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + +@dataclass(kw_only=True) +class OpenIdIdpCommunicationErrorException(ServiceError, _SerdeShape): + """ + The request failed because IAM cannot connect to the OpenID Connect + identity provider URL. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OrderedOrganizationPolicyType(_SerdeShape): + """ + Represents one level of an Organizations hierarchy---the organization + root, an organizational unit (OU), or an account---together with the + service control policies (SCPs) that apply at that level. Each element + in the list represents one level of the hierarchy, ordered from the + organization root down to the account. + + For more information about SCPs, see [Service control policies + (SCPs)](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html) + in the *Organizations User Guide*. + """ + + service_control_policy_input_list: list[str] | None = ... + """ + A list of SCP documents that apply at this level of the Organizations + hierarchy. Each document is specified as a string containing the + complete, valid JSON text of an SCP. + """ + +@dataclass(kw_only=True) +class OrganizationNotFoundException(ServiceError, _SerdeShape): + """ + The request was rejected because no organization is associated with your + account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OrganizationNotInAllFeaturesModeException(ServiceError, _SerdeShape): + """ + The request was rejected because your organization does not have All + features enabled. For more information, see [Available feature + sets](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set) + in the *Organizations User Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OrganizationsDecisionDetail(_SerdeShape): + """ + Contains information about the effect that Organizations has on a policy + simulation. + """ + + allowed_by_organizations: bool = ... + """ + Specifies whether the simulated operation is allowed by the + Organizations service control policies that impact the simulated user's + account. + """ + +@dataclass(kw_only=True) +class ParameterDefinition(_SerdeShape): + """ + Defines a parameter that a role template accepts. You supply values for + these parameters when you create a role with + [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). + """ + + name: str + """The name of the parameter.""" + type: str + """ + The data type of the parameter. Valid values are `String`, `StringList`, + `Number`, `NumberList`, `Arn`, and `ArnList`. + """ + sub_type: str | None = ... + """ + An optional subtype that further constrains the values that are allowed + for the parameter. + """ + description: str | None = ... + """A description of the parameter.""" + is_required: bool = ... + """ + Specifies whether you must supply a value for the parameter when you + create a role from the template. + """ + default_value: str | None = ... + """ + The value that the service uses for the parameter when you do not supply + one. + """ + immutable: bool = ... + """ + Specifies whether you can change the parameter value after you create + the role. + """ + +class ParameterTypeType(UnknownEnumMixin, StrEnum): + STRING = "String" + STRING_LIST = "StringList" + NUMBER = "Number" + NUMBER_LIST = "NumberList" + ARN = "Arn" + ARN_LIST = "ArnList" + +@dataclass(kw_only=True) +class PasswordPolicy(_SerdeShape): + """ + Contains information about the account password policy. + + This data type is used as a response element in the + [GetAccountPasswordPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountPasswordPolicy.html) + operation. + """ + + minimum_password_length: int | None = ... + """Minimum length to require for IAM user passwords.""" + require_symbols: bool = ... + """ + Specifies whether IAM user passwords must contain at least one of the + following symbols: + + ! @ # $ % ^ & * ( ) _ + - = [ ] { } | ' + """ + require_numbers: bool = ... + """ + Specifies whether IAM user passwords must contain at least one numeric + character (0 to 9). + """ + require_uppercase_characters: bool = ... + """ + Specifies whether IAM user passwords must contain at least one uppercase + character (A to Z). + """ + require_lowercase_characters: bool = ... + """ + Specifies whether IAM user passwords must contain at least one lowercase + character (a to z). + """ + allow_users_to_change_password: bool = ... + """ + Specifies whether IAM users are allowed to change their own password. + Gives IAM users permissions to `iam:ChangePassword` for only their user + and to the `iam:GetAccountPasswordPolicy` action. This option does not + attach a permissions policy to each user, rather the permissions are + applied at the account-level for all users by IAM. + """ + expire_passwords: bool = ... + """ + Indicates whether passwords in the account expire. Returns true if + `MaxPasswordAge` contains a value greater than 0. Returns false if + MaxPasswordAge is 0 or not present. + """ + max_password_age: int | None = ... + """The number of days that an IAM user password is valid.""" + password_reuse_prevention: int | None = ... + """ + Specifies the number of previous passwords that IAM users are prevented + from reusing. + """ + hard_expiry: bool | None = ... + """ + Specifies whether IAM users are prevented from setting a new password + via the Amazon Web Services Management Console after their password has + expired. The IAM user cannot access the console until an administrator + resets the password. IAM users with `iam:ChangePassword` permission and + active access keys can reset their own expired console password using + the CLI or API. + """ + +@dataclass(kw_only=True) +class PasswordPolicyViolationException(ServiceError, _SerdeShape): + """ + The request was rejected because the provided password did not meet the + requirements imposed by the account password policy. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class PermissionCheckResultType(UnknownEnumMixin, StrEnum): + ALLOWED = "ALLOWED" + DENIED = "DENIED" + UNSURE = "UNSURE" + +class PermissionCheckStatusType(UnknownEnumMixin, StrEnum): + COMPLETE = "COMPLETE" + IN_PROGRESS = "IN_PROGRESS" + FAILED = "FAILED" + +class PermissionsBoundaryAttachmentType(UnknownEnumMixin, StrEnum): + POLICY = "PermissionsBoundaryPolicy" + +@dataclass(kw_only=True) +class PermissionsBoundaryDecisionDetail(_SerdeShape): + """ + Contains information about the effect that a permissions boundary has on + a policy simulation when the boundary is applied to an IAM entity. + """ + + allowed_by_permissions_boundary: bool = ... + """ + Specifies whether an action is allowed by a permissions boundary that is + applied to an IAM entity (user or role). A value of `true` means that + the permissions boundary does not deny the action. This means that the + policy includes an `Allow` statement that matches the request. In this + case, if an identity-based policy also allows the action, the request is + allowed. A value of `false` means that either the requested action is + not allowed (implicitly denied) or that the action is explicitly denied + by the permissions boundary. In both of these cases, the action is not + allowed, regardless of the identity-based policy. + """ + +@dataclass(kw_only=True) +class Policy(_SerdeShape): + """ + Contains information about a managed policy. + + This data type is used as a response element in the + [CreatePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicy.html), + [GetPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html), + and + [ListPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicies.html) + operations. + + For more information about managed policies, refer to [Managed policies + and inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) + in the *IAM User Guide*. + """ + + policy_name: str | None = ... + """The friendly name (not ARN) identifying the policy.""" + policy_id: str | None = ... + """ + The stable and unique string identifying the policy. + + For more information about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + path: str | None = ... + """ + The path to the policy. + + For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + default_version_id: str | None = ... + """ + The identifier for the version of the policy that is set as the default + version. + """ + attachment_count: int | None = ... + """ + The number of entities (users, groups, and roles) that the policy is + attached to. + """ + permissions_boundary_usage_count: int | None = ... + """ + The number of entities (users and roles) for which the policy is used to + set the permissions boundary. + + For more information about permissions boundaries, see [Permissions + boundaries for IAM + identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + """ + is_attachable: bool = ... + """ + Specifies whether the policy can be attached to an IAM user, group, or + role. + """ + description: str | None = ... + """ + A friendly description of the policy. + + This element is included in the response to the + [GetPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html) + operation. It is not included in the response to the + [ListPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicies.html) + operation. + """ + create_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the policy was created. + """ + update_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the policy was last + updated. + + When a policy has only one version, this field contains the date and + time when the policy was created. When a policy has more than one + version, this field contains the date and time when the most recent + policy version was created. + """ + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the instance profile. For more + information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class PolicyDetail(_SerdeShape): + """ + Contains information about an IAM policy, including the policy document. + + This data type is used as a response element in the + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + operation. + """ + + policy_name: str | None = ... + """The name of the policy.""" + policy_document: str | None = ... + """The policy document.""" + +class PolicyEvaluationDecisionType(UnknownEnumMixin, StrEnum): + ALLOWED = "allowed" + EXPLICIT_DENY = "explicitDeny" + IMPLICIT_DENY = "implicitDeny" + +@dataclass(kw_only=True) +class PolicyEvaluationException(ServiceError, _SerdeShape): + """ + The request failed because a provided policy could not be successfully + evaluated. An additional detailed message indicates the source of the + failure. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PolicyGrantingServiceAccess(_SerdeShape): + """ + Contains details about the permissions policies that are attached to the + specified identity (user, group, or role). + + This data type is an element of the + [ListPoliciesGrantingServiceAccessEntry](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPoliciesGrantingServiceAccessEntry.html) + object. + """ + + policy_name: str + """The policy name.""" + policy_type: str + """ + The policy type. For more information about these policy types, see + [Managed policies and inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html) + in the *IAM User Guide*. + """ + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + entity_type: str | None = ... + """ + The type of entity (user or role) that used the policy to access the + service to which the inline policy is attached. + + This field is null for managed policies. For more information about + these policy types, see [Managed policies and inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html) + in the *IAM User Guide*. + """ + entity_name: str | None = ... + """ + The name of the entity (user or role) to which the inline policy is + attached. + + This field is null for managed policies. For more information about + these policy types, see [Managed policies and inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class PolicyGroup(_SerdeShape): + """ + Contains information about a group that a managed policy is attached to. + + This data type is used as a response element in the + [ListEntitiesForPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html) + operation. + + For more information about managed policies, refer to [Managed policies + and inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) + in the *IAM User Guide*. + """ + + group_name: str | None = ... + """The name (friendly name, not ARN) identifying the group.""" + group_id: str | None = ... + """ + The stable and unique string identifying the group. For more information + about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) + in the *IAM User Guide*. + """ + +@dataclass +class PolicyIdentifier_PolicyType(_SerdeShape): + """ + The policy type to identify. All policies of the specified type are + matched. + """ + + value: str + +@dataclass +class PolicyIdentifierPolicyArn(_SerdeShape): + """ + The Amazon Resource Name (ARN) of an Amazon Web Services managed policy + or a customer managed policy that is attached to an IAM user, group, or + role. Wildcard characters are supported in the resource name portion of + the ARN to match multiple managed policies: use at most one `*` (matches + any sequence of characters, including none), and any number of `?` (each + matches exactly one character). + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + + value: str + +@dataclass +class PolicyIdentifierInlinePolicyIdentifier(_SerdeShape): + """ + An inline policy identifier consisting of a policy name and the entity + it is attached to. Wildcard characters (`*` and `?`) in the entity name + can match multiple entities. + """ + + value: InlinePolicyIdentifierType + +@dataclass +class PolicyIdentifierUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PolicyIdentifier = Union[ + PolicyIdentifier_PolicyType + | PolicyIdentifierPolicyArn + | PolicyIdentifierInlinePolicyIdentifier + | PolicyIdentifierUnknown +] +""" +Identifies one or more policies as a union type. Specify exactly one of +`PolicyType`, `PolicyArn`, or `InlinePolicyIdentifier` to identify +policies by their type, by Amazon Resource Name (ARN), or by the name of +an inline policy and the entity it is attached to. +""" + +class _PolicyIdentifierDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> PolicyIdentifier: ... + +class PolicyIdentifierPolicyType(UnknownEnumMixin, StrEnum): + INLINE = "inline" + AWS_MANAGED = "aws-managed" + USER_MANAGED = "user-managed" + PERMISSION_BOUNDARY = "permission-boundary" + SCP = "scp" + RCP = "rcp" + +@dataclass(kw_only=True) +class PolicyNotAttachableException(ServiceError, _SerdeShape): + """ + The request failed because Amazon Web Services service role policies can + only be attached to the service-linked role for that service. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class PolicyOwnerEntityType(UnknownEnumMixin, StrEnum): + USER = "USER" + ROLE = "ROLE" + GROUP = "GROUP" + +@dataclass(kw_only=True) +class PolicyParameter(_SerdeShape): + """ + Contains information about a policy parameter used to customize + delegated permissions. + """ + + name: str | None = ... + """The name of the policy parameter.""" + values: list[str] | None = ... + """The allowed values for the policy parameter.""" + type: str | None = ... + """The data type of the policy parameter value.""" + +class PolicyParameterTypeEnum(UnknownEnumMixin, StrEnum): + STRING = "string" + STRING_LIST = "stringList" + +@dataclass(kw_only=True) +class PolicyRole(_SerdeShape): + """ + Contains information about a role that a managed policy is attached to. + + This data type is used as a response element in the + [ListEntitiesForPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html) + operation. + + For more information about managed policies, refer to [Managed policies + and inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) + in the *IAM User Guide*. + """ + + role_name: str | None = ... + """The name (friendly name, not ARN) identifying the role.""" + role_id: str | None = ... + """ + The stable and unique string identifying the role. For more information + about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) + in the *IAM User Guide*. + """ + +class PolicyScopeType(UnknownEnumMixin, StrEnum): + ALL = "All" + AWS = "AWS" + LOCAL = "Local" + +class PolicySourceType(UnknownEnumMixin, StrEnum): + USER = "user" + GROUP = "group" + ROLE = "role" + AWS_MANAGED = "aws-managed" + USER_MANAGED = "user-managed" + RESOURCE = "resource" + NONE = "none" + +class PolicyType(UnknownEnumMixin, StrEnum): + INLINE = "INLINE" + MANAGED = "MANAGED" + +class PolicyUsageType(UnknownEnumMixin, StrEnum): + """ + The policy usage type that indicates whether the policy is used as a + permissions policy or as the permissions boundary for an entity. + + For more information about permissions boundaries, see [Permissions + boundaries for IAM + identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + """ + + PERMISSIONS_POLICY = "PermissionsPolicy" + PERMISSIONS_BOUNDARY = "PermissionsBoundary" + +@dataclass(kw_only=True) +class PolicyUser(_SerdeShape): + """ + Contains information about a user that a managed policy is attached to. + + This data type is used as a response element in the + [ListEntitiesForPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html) + operation. + + For more information about managed policies, refer to [Managed policies + and inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) + in the *IAM User Guide*. + """ + + user_name: str | None = ... + """The name (friendly name, not ARN) identifying the user.""" + user_id: str | None = ... + """ + The stable and unique string identifying the user. For more information + about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class PolicyVersion(_SerdeShape): + """ + Contains information about a version of a managed policy. + + This data type is used as a response element in the + [CreatePolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicyVersion.html), + [GetPolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html), + [ListPolicyVersions](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html), + and + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + operations. + + For more information about managed policies, refer to [Managed policies + and inline + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) + in the *IAM User Guide*. + """ + + document: str | None = ... + """ + The policy document. + + The policy document is returned in the response to the + [GetPolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html) + and + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + operations. It is not returned in the response to the + [CreatePolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicyVersion.html) + or + [ListPolicyVersions](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html) + operations. + + The policy document returned in this structure is URL-encoded compliant + with [RFC 3986](https://tools.ietf.org/html/rfc3986). You can use a URL + decoding method to convert the policy back to plain JSON text. For + example, if you use Java, you can use the `decode` method of the + `java.net.URLDecoder` utility class in the Java SDK. Other languages and + SDKs provide similar functionality. + """ + version_id: str | None = ... + """ + The identifier for the policy version. + + Policy version identifiers always begin with `v` (always lowercase). + When a policy is created, the first policy version is `v1`. + """ + is_default_version: bool = ... + """ + Specifies whether the policy version is set as the policy's default + version. + """ + create_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the policy version was + created. + """ + +@dataclass(kw_only=True) +class Position(_SerdeShape): + """ + Contains the row and column of a location of a `Statement` element in a + policy document. + + This data type is used as a member of the + ` `[`Statement`](https://docs.aws.amazon.com/IAM/latest/APIReference/API_Statement.html)` ` + type. + """ + + line: int = ... + """The line containing the specified position in the document.""" + column: int = ... + """ + The column in the line containing the specified position in the + document. + """ + +@dataclass(kw_only=True) +class PutAccountPropertiesInput(_SerdeShape): + """Dataclass for PutAccountPropertiesInput structure.""" + + properties: dict[str, str] | None = ... + """ + A map of property key-value pairs to set. All keys must belong to the + same namespace. + + Each key uses the format `Namespace/PropertyName`. The key must contain + exactly one `/` separating the namespace from the property name, and + cannot start or end with `/`. + + The service validates each value based on the property key's expected + type. For example, boolean properties expect `true` or `false`. + """ + +@dataclass(kw_only=True) +class PutAccountPropertiesOutput(_SerdeShape): + """Dataclass for PutAccountPropertiesOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutGroupPolicyInput(_SerdeShape): + """Dataclass for PutGroupPolicyInput structure.""" + + group_name: str | None = ... + """ + The name of the group to associate the policy with. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@-. + """ + policy_name: str | None = ... + """ + The name of the policy document. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_document: str | None = ... + """ + The policy document. + + You must provide policies in JSON format in IAM. However, for + CloudFormation templates formatted in YAML, you can provide the policy + in JSON or YAML format. CloudFormation always converts a YAML policy to + JSON format before submitting it to IAM. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + +@dataclass(kw_only=True) +class PutGroupPolicyOutput(_SerdeShape): + """Dataclass for PutGroupPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutRolePermissionsBoundaryInput(_SerdeShape): + """Dataclass for PutRolePermissionsBoundaryInput structure.""" + + role_name: str | None = ... + """ + The name (friendly name, not ARN) of the IAM role for which you want to + set the permissions boundary. + """ + permissions_boundary: str | None = ... + """ + The ARN of the managed policy that is used to set the permissions + boundary for the role. + + A permissions boundary policy defines the maximum permissions that + identity-based policies can grant to an entity, but does not grant + permissions. Permissions boundaries do not define the maximum + permissions that a resource-based policy can grant to an entity. To + learn more, see [Permissions boundaries for IAM + entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + + For more information about policy types, see [Policy + types](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class PutRolePermissionsBoundaryOutput(_SerdeShape): + """Dataclass for PutRolePermissionsBoundaryOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutRolePolicyInput(_SerdeShape): + """Dataclass for PutRolePolicyInput structure.""" + + role_name: str | None = ... + """ + The name of the role to associate the policy with. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_name: str | None = ... + """ + The name of the policy document. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_document: str | None = ... + """ + The policy document. + + You must provide policies in JSON format in IAM. However, for + CloudFormation templates formatted in YAML, you can provide the policy + in JSON or YAML format. CloudFormation always converts a YAML policy to + JSON format before submitting it to IAM. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + +@dataclass(kw_only=True) +class PutRolePolicyOutput(_SerdeShape): + """Dataclass for PutRolePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutUserPermissionsBoundaryInput(_SerdeShape): + """Dataclass for PutUserPermissionsBoundaryInput structure.""" + + user_name: str | None = ... + """ + The name (friendly name, not ARN) of the IAM user for which you want to + set the permissions boundary. + """ + permissions_boundary: str | None = ... + """ + The ARN of the managed policy that is used to set the permissions + boundary for the user. + + A permissions boundary policy defines the maximum permissions that + identity-based policies can grant to an entity, but does not grant + permissions. Permissions boundaries do not define the maximum + permissions that a resource-based policy can grant to an entity. To + learn more, see [Permissions boundaries for IAM + entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + + For more information about policy types, see [Policy + types](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class PutUserPermissionsBoundaryOutput(_SerdeShape): + """Dataclass for PutUserPermissionsBoundaryOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutUserPolicyInput(_SerdeShape): + """Dataclass for PutUserPolicyInput structure.""" + + user_name: str | None = ... + """ + The name of the user to associate the policy with. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_name: str | None = ... + """ + The name of the policy document. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_document: str | None = ... + """ + The policy document. + + You must provide policies in JSON format in IAM. However, for + CloudFormation templates formatted in YAML, you can provide the policy + in JSON or YAML format. CloudFormation always converts a YAML policy to + JSON format before submitting it to IAM. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + +@dataclass(kw_only=True) +class PutUserPolicyOutput(_SerdeShape): + """Dataclass for PutUserPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RejectDelegationRequestInput(_SerdeShape): + """Dataclass for RejectDelegationRequestInput structure.""" + + delegation_request_id: str | None = ... + """The unique identifier of the delegation request to reject.""" + notes: str | None = ... + """ + Optional notes explaining the reason for rejecting the delegation + request. + """ + +@dataclass(kw_only=True) +class RejectDelegationRequestOutput(_SerdeShape): + """Dataclass for RejectDelegationRequestOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveClientIDFromOpenIDConnectProviderInput(_SerdeShape): + """Dataclass for RemoveClientIDFromOpenIDConnectProviderInput structure.""" + + open_id_connect_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM OIDC provider resource to + remove the client ID from. You can get a list of OIDC provider ARNs by + using the + [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) + operation. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + client_id: str | None = ... + """ + The client ID (also known as audience) to remove from the IAM OIDC + provider resource. For more information about client IDs, see + [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). + """ + +@dataclass(kw_only=True) +class RemoveClientIDFromOpenIDConnectProviderOutput(_SerdeShape): + """Dataclass for RemoveClientIDFromOpenIDConnectProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveRoleFromInstanceProfileInput(_SerdeShape): + """Dataclass for RemoveRoleFromInstanceProfileInput structure.""" + + instance_profile_name: str | None = ... + """ + The name of the instance profile to update. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + role_name: str | None = ... + """ + The name of the role to remove. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class RemoveRoleFromInstanceProfileOutput(_SerdeShape): + """Dataclass for RemoveRoleFromInstanceProfileOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveUserFromGroupInput(_SerdeShape): + """Dataclass for RemoveUserFromGroupInput structure.""" + + group_name: str | None = ... + """ + The name of the group to update. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + user_name: str | None = ... + """ + The name of the user to remove. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class RemoveUserFromGroupOutput(_SerdeShape): + """Dataclass for RemoveUserFromGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplacementValueEntry(_SerdeShape): + """ + Contains the list of replacement values for a single template parameter + used when creating a role from a role template. + """ + + values: list[str] + """The list of replacement values for the template parameter.""" + +class ReportFormatType(UnknownEnumMixin, StrEnum): + TEXT_CSV = "text/csv" + +@dataclass(kw_only=True) +class ReportGenerationLimitExceededException(ServiceError, _SerdeShape): + """ + The request failed because the maximum number of concurrent requests for + this account are already running. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ReportStateType(UnknownEnumMixin, StrEnum): + STARTED = "STARTED" + INPROGRESS = "INPROGRESS" + COMPLETE = "COMPLETE" + +@dataclass(kw_only=True) +class ResetServiceSpecificCredentialInput(_SerdeShape): + """Dataclass for ResetServiceSpecificCredentialInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user associated with the service-specific + credential. If this value is not specified, then the operation assumes + the user whose credentials are used to call the operation. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + service_specific_credential_id: str | None = ... + """ + The unique identifier of the service-specific credential. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + +@dataclass(kw_only=True) +class ResetServiceSpecificCredentialOutput(_SerdeShape): + """Dataclass for ResetServiceSpecificCredentialOutput structure.""" + + service_specific_credential: ServiceSpecificCredential | None = ... + """ + A structure with details about the updated service-specific credential, + including the new password. + + Warning: + This is the **only** time that you can access the password. You cannot + recover the password later, but you can reset it again. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceSpecificResult(_SerdeShape): + """ + Contains the result of the simulation of a single API operation call on + a single resource. + + This data type is used by a member of the + [EvaluationResult](https://docs.aws.amazon.com/IAM/latest/APIReference/API_EvaluationResult.html) + data type. + """ + + eval_resource_name: str + """ + The name of the simulated resource, in Amazon Resource Name (ARN) + format. + """ + eval_resource_decision: str + """ + The result of the simulation of the simulated API operation on the + resource specified in `EvalResourceName`. + """ + matched_statements: list[Statement] | None = ... + """ + A list of the statements in the input policies that determine the result + for this part of the simulation. Remember that even if multiple + statements allow the operation on the resource, if *any* statement + denies that operation, then the explicit deny overrides any allow. In + addition, the deny statement is the only entry included in the result. + """ + missing_context_values: list[str] | None = ... + """ + A list of context keys that are required by the included input policies + but that were not provided by one of the input parameters. This list is + used when a list of ARNs is included in the `ResourceArns` parameter + instead of \"*\". If you do not specify individual resources, by + setting `ResourceArns` to \"*\" or by not including the `ResourceArns` + parameter, then any missing context values are instead included under + the `EvaluationResults` section. To discover the context keys used by a + set of policies, you can call + [GetContextKeysForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html) + or + [GetContextKeysForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html). + """ + eval_decision_details: dict[str, str] | None = ... + """ + Additional details about the results of the evaluation decision on a + single resource. This parameter is returned only for cross-account + simulations. This parameter explains how each policy type contributes to + the resource-specific evaluation decision. + """ + permissions_boundary_decision_detail: PermissionsBoundaryDecisionDetail | None = ... + """ + Contains information about the effect that a permissions boundary has on + a policy simulation when that boundary is applied to an IAM entity. + """ + +@dataclass(kw_only=True) +class ResyncMFADeviceInput(_SerdeShape): + """Dataclass for ResyncMFADeviceInput structure.""" + + user_name: str | None = ... + """ + The name of the user whose MFA device you want to resynchronize. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + serial_number: str | None = ... + """ + Serial number that uniquely identifies the MFA device. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + authentication_code1: str | None = ... + """ + An authentication code emitted by the device. + + The format for this parameter is a sequence of six digits. + """ + authentication_code2: str | None = ... + """ + A subsequent authentication code emitted by the device. + + The format for this parameter is a sequence of six digits. + """ + +@dataclass(kw_only=True) +class ResyncMFADeviceOutput(_SerdeShape): + """Dataclass for ResyncMFADeviceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Role(_SerdeShape): + """ + Contains information about an IAM role. This structure is returned as a + response element in several API operations that interact with roles. + """ + + path: str + """ + The path to the role. For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + role_name: str + """The friendly name that identifies the role.""" + role_id: str + """ + The stable and unique string identifying the role. For more information + about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str + """ + The Amazon Resource Name (ARN) specifying the role. For more information + about ARNs and how to use them in policies, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide* guide. + """ + create_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the role was created. + """ + assume_role_policy_document: str | None = ... + """The policy that grants an entity permission to assume the role.""" + description: str | None = ... + """A description of the role that you provide.""" + max_session_duration: int | None = ... + """ + The maximum session duration (in seconds) for the specified role. Anyone + who uses the CLI, or API to assume the role can specify the duration + using the optional `DurationSeconds` API parameter or `duration-seconds` + CLI parameter. + """ + permissions_boundary: AttachedPermissionsBoundary | None = ... + """ + The ARN of the policy used to set the permissions boundary for the role. + + For more information about permissions boundaries, see [Permissions + boundaries for IAM + identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + """ + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the role. For more information about + tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + role_last_used: RoleLastUsed | None = ... + """ + Contains information about the last time that an IAM role was used. This + includes the date and time and the Region in which the role was last + used. Activity is only reported for the trailing 400 days. This period + can be shorter if your Region began supporting these features within the + last year. The role might have been used more than 400 days ago. For + more information, see [Regions where data is + tracked](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period) + in the *IAM user Guide*. + """ + source_role_template: SourceRoleTemplate | None = ... + """ + Contains information about the role template that this role was created + from. This member is present only for roles created with + [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). + """ + +@dataclass(kw_only=True) +class RoleDetail(_SerdeShape): + """ + Contains information about an IAM role, including all of the role's + policies. + + This data type is used as a response element in the + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + operation. + """ + + path: str | None = ... + """ + The path to the role. For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + role_name: str | None = ... + """The friendly name that identifies the role.""" + role_id: str | None = ... + """ + The stable and unique string identifying the role. For more information + about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + create_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the role was created. + """ + assume_role_policy_document: str | None = ... + """The trust policy that grants permission to assume the role.""" + instance_profile_list: list[InstanceProfile] | None = ... + """A list of instance profiles that contain this role.""" + role_policy_list: list[PolicyDetail] | None = ... + """ + A list of inline policies embedded in the role. These policies are the + role's access (permissions) policies. + """ + attached_managed_policies: list[AttachedPolicy] | None = ... + """ + A list of managed policies attached to the role. These policies are the + role's access (permissions) policies. + """ + permissions_boundary: AttachedPermissionsBoundary | None = ... + """ + The ARN of the policy used to set the permissions boundary for the role. + + For more information about permissions boundaries, see [Permissions + boundaries for IAM + identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + """ + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the role. For more information about + tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + role_last_used: RoleLastUsed | None = ... + """ + Contains information about the last time that an IAM role was used. This + includes the date and time and the Region in which the role was last + used. Activity is only reported for the trailing 400 days. This period + can be shorter if your Region began supporting these features within the + last year. The role might have been used more than 400 days ago. For + more information, see [Regions where data is + tracked](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class RoleLastUsed(_SerdeShape): + """ + Contains information about the last time that an IAM role was used. This + includes the date and time and the Region in which the role was last + used. Activity is only reported for the trailing 400 days. This period + can be shorter if your Region began supporting these features within the + last year. The role might have been used more than 400 days ago. For + more information, see [Regions where data is + tracked](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period) + in the *IAM user Guide*. + + This data type is returned as a response element in the + [GetRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html) + and + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + operations. + """ + + last_used_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601) that the role was last used. + + This field is null if the role has not been used within the IAM tracking + period. For more information about the tracking period, see [Regions + where data is + tracked](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period) + in the *IAM User Guide*. + """ + region: str | None = ... + """ + The name of the Amazon Web Services Region in which the role was last + used. + """ + +@dataclass(kw_only=True) +class RoleModifiedException(ServiceError, _SerdeShape): + """ + The request was rejected because someone modified the role template + while the service was creating the role. Wait a few minutes and try the + request again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RoleTemplateDisabledException(ServiceError, _SerdeShape): + """ + The request was rejected because the specified role template is + disabled. A disabled role template cannot be used to create new roles. + Contact your administrator to enable the role template, or use a + different role template. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RoleTemplateVersion(_SerdeShape): + """ + Contains information about a version of an IAM role template, including + the configuration that is used to create roles with + [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). + This structure is returned as a response element by the + [GetRoleTemplateVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRoleTemplateVersion.html) + operation. + """ + + template_arn: str | None = ... + """ + The Amazon Resource Name (ARN) that identifies the role template. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + template_name: str | None = ... + """The friendly name that identifies the role template.""" + template_version_id: str | None = ... + """The identifier of the role template version.""" + description: str | None = ... + """The description of the role template.""" + major_version: int | None = ... + """The major version number of the role template.""" + default_minor_version: int | None = ... + """ + The minor version that the service uses by default when you create a + role from this template without specifying a minor version. + """ + managed_by_type: str | None = ... + """ + Indicates that the role template is managed by an Amazon Web Services + service. + """ + managed_by_value: str | None = ... + """ + The identifier of the Amazon Web Services service that manages the role + template. + """ + enabled: bool = ... + """ + Specifies whether the role template is enabled. When a template is + disabled, you cannot create roles from it. + """ + minor_version: int | None = ... + """The minor version number of this role template version.""" + role_name_pattern: str | None = ... + """ + The pattern that is used to generate the name of a role that is created + from this template. The pattern can include `@{parameter}` placeholders + that are replaced with the values you supply in the `ReplacementValues` + parameter of + [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). + """ + role_path_pattern: str | None = ... + """ + The pattern that is used to generate the path of a role that is created + from this template. + """ + role_description_pattern: str | None = ... + """ + The pattern that is used to generate the description of a role that is + created from this template. + """ + assume_role_policy_document_template: str | None = ... + """ + The trust policy template that grants an entity permission to assume + roles that you create from this template. + """ + inline_policy_templates: list[InlinePolicy] | None = ... + """ + A list of inline policy templates that the service embeds in roles that + you create from this template. + """ + managed_policy_arns: list[str] | None = ... + """ + A list of the ARNs of the managed policies that the service attaches to + roles that you create from this template. + """ + permission_boundary_arn: str | None = ... + """ + The ARN of the policy that sets the permissions boundary for roles that + you create from this template. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + parameters_definition: list[ParameterDefinition] | None = ... + """ + A list of the parameters that are defined for this role template + version. You supply values for these parameters when you create a role + with + [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). + """ + role_tags_template: list[TagTemplate] | None = ... + """ + A list of tag templates that are applied to roles that are created from + this template. + """ + max_session_duration: int | None = ... + """ + The maximum session duration (in seconds) for roles that are created + from this template. + """ + version_enabled: bool = ... + """ + Specifies whether this specific minor version of the role template is + enabled. + """ + create_timestamp: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the role template version + was created. + """ + update_timestamp: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the role template version + was last updated. + """ + +@dataclass(kw_only=True) +class RoleUsageType(_SerdeShape): + """ + An object that contains details about how a service-linked role is used, + if that information is returned by the service. + + This data type is used as a response element in the + [GetServiceLinkedRoleDeletionStatus](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLinkedRoleDeletionStatus.html) + operation. + """ + + region: str | None = ... + """The name of the Region where the service-linked role is being used.""" + resources: list[str] | None = ... + """The name of the resource that is using the service-linked role.""" + +@dataclass(kw_only=True) +class SAMLPrivateKey(_SerdeShape): + """ + Contains the private keys for the SAML provider. + + This data type is used as a response element in the + [GetSAMLProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html) + operation. + """ + + key_id: str | None = ... + """The unique identifier for the SAML private key.""" + timestamp: datetime | None = ... + """ + The date and time, in [ISO 8601 + date-time](http://www.iso.org/iso/iso8601) format, when the private key + was uploaded. + """ + +@dataclass(kw_only=True) +class SAMLProviderListEntry(_SerdeShape): + """Contains the list of SAML providers for this account.""" + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the SAML provider.""" + valid_until: datetime | None = ... + """The expiration date and time for the SAML provider.""" + create_date: datetime | None = ... + """The date and time when the SAML provider was created.""" + +@dataclass(kw_only=True) +class SendDelegationTokenInput(_SerdeShape): + """Dataclass for SendDelegationTokenInput structure.""" + + delegation_request_id: str | None = ... + """ + The unique identifier of the delegation request for which to send the + token. + """ + +@dataclass(kw_only=True) +class SendDelegationTokenOutput(_SerdeShape): + """Dataclass for SendDelegationTokenOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServerCertificate(_SerdeShape): + """ + Contains information about a server certificate. + + This data type is used as a response element in the + [GetServerCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServerCertificate.html) + operation. + """ + + server_certificate_metadata: ServerCertificateMetadata + """ + The meta information of the server certificate, such as its name, path, + ID, and ARN. + """ + certificate_body: str + """The contents of the public key certificate.""" + certificate_chain: str | None = ... + """The contents of the public key certificate chain.""" + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the server certificate. For more + information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class ServerCertificateMetadata(_SerdeShape): + """ + Contains information about a server certificate without its certificate + body, certificate chain, and private key. + + This data type is used as a response element in the + [UploadServerCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadServerCertificate.html) + and + [ListServerCertificates](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServerCertificates.html) + operations. + """ + + path: str + """ + The path to the server certificate. For more information about paths, + see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + server_certificate_name: str + """The name that identifies the server certificate.""" + server_certificate_id: str + """ + The stable and unique string identifying the server certificate. For + more information about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str + """ + The Amazon Resource Name (ARN) specifying the server certificate. For + more information about ARNs and how to use them in policies, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + upload_date: datetime | None = ... + """The date when the server certificate was uploaded.""" + expiration: datetime | None = ... + """The date on which the certificate is set to expire.""" + +@dataclass(kw_only=True) +class ServiceAccessNotEnabledException(ServiceError, _SerdeShape): + """ + The request was rejected because trusted access is not enabled for IAM + in Organizations. For details, see IAM and Organizations in the + *Organizations User Guide*. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceFailureException(ServiceError, _SerdeShape): + """ + The request processing has failed because of an unknown error, exception + or failure. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceLastAccessed(_SerdeShape): + """ + Contains details about the most recent attempt to access the service. + + This data type is used as a response element in the + [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html) + operation. + """ + + service_name: str + """The name of the service in which access was attempted.""" + last_authenticated: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when an authenticated entity + most recently attempted to access the service. Amazon Web Services does + not report unauthenticated requests. + + This field is null if no IAM entities attempted to access the service + within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + service_namespace: str + """ + The namespace of the service in which access was attempted. + + To learn the service namespace of a service, see [Actions, resources, + and condition keys for Amazon Web Services + services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) + in the *Service Authorization Reference*. Choose the name of the service + to view details for that service. In the first paragraph, find the + service prefix. For example, `(service prefix: a4b)`. For more + information about service namespaces, see [Amazon Web Services Service + Namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) + in the *Amazon Web Services General Reference*. + """ + last_authenticated_entity: str | None = ... + """ + The ARN of the authenticated entity (user or role) that last attempted + to access the service. Amazon Web Services does not report + unauthenticated requests. + + This field is null if no IAM entities attempted to access the service + within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + last_authenticated_region: str | None = ... + """ + The Region from which the authenticated entity (user or role) last + attempted to access the service. Amazon Web Services does not report + unauthenticated requests. + + This field is null if no IAM entities attempted to access the service + within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + total_authenticated_entities: int | None = ... + """ + The total number of authenticated principals (root user, IAM users, or + IAM roles) that have attempted to access the service. + + This field is null if no principals attempted to access the service + within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + tracked_actions_last_accessed: list[TrackedActionLastAccessed] | None = ... + """ + An object that contains details about the most recent attempt to access + a tracked action within the service. + + This field is null if there no tracked actions or if the principal did + not use the tracked actions within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + This field is also null if the report was generated at the service level + and not the action level. For more information, see the `Granularity` + field in + [GenerateServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateServiceLastAccessedDetails.html). + """ + +@dataclass(kw_only=True) +class ServiceNotSupportedException(ServiceError, _SerdeShape): + """The specified service does not support service-specific credentials.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceSpecificCredential(_SerdeShape): + """Contains the details of a service-specific credential.""" + + create_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the service-specific + credential were created. + """ + expiration_date: datetime | None = ... + """ + The date and time when the service specific credential expires. This + field is only present for Bedrock API keys and CloudWatch Logs API keys + that were created with an expiration period. + """ + service_name: str + """The name of the service associated with the service-specific credential.""" + service_user_name: str = ... + """ + The generated user name for the service-specific credential. This value + is generated by combining the IAM user's name combined with the ID + number of the Amazon Web Services account, as in `jane-at-123456789012`, + for example. This value cannot be configured by the user. + """ + service_password: str = ... + """The generated password for the service-specific credential.""" + service_credential_alias: str | None = ... + """ + For Bedrock API keys and CloudWatch Logs API keys, this is the public + portion of the credential that includes the IAM user name and a suffix + containing version and creation information. + """ + service_credential_secret: str | None = ... + """ + For Bedrock API keys and CloudWatch Logs API keys, this is the secret + portion of the credential that should be used to authenticate API calls. + This value is returned only when the credential is created. + """ + service_specific_credential_id: str + """The unique identifier for the service-specific credential.""" + user_name: str + """ + The name of the IAM user associated with the service-specific + credential. + """ + status: str + """ + The status of the service-specific credential. `Active` means that the + key is valid for API calls, while `Inactive` means it is not. + """ + +@dataclass(kw_only=True) +class ServiceSpecificCredentialMetadata(_SerdeShape): + """Contains additional details about a service-specific credential.""" + + user_name: str + """ + The name of the IAM user associated with the service-specific + credential. + """ + status: str + """ + The status of the service-specific credential. `Active` means that the + key is valid for API calls, while `Inactive` means it is not. + """ + service_user_name: str = ... + """The generated user name for the service-specific credential.""" + service_credential_alias: str | None = ... + """ + For Bedrock API keys and CloudWatch Logs API keys, this is the public + portion of the credential that includes the IAM user name and a suffix + containing version and creation information. + """ + create_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the service-specific + credential were created. + """ + expiration_date: datetime | None = ... + """ + The date and time when the service specific credential expires. This + field is only present for Bedrock API keys and CloudWatch Logs API keys + that were created with an expiration period. + """ + service_specific_credential_id: str + """The unique identifier for the service-specific credential.""" + service_name: str + """The name of the service associated with the service-specific credential.""" + +@dataclass(kw_only=True) +class SetDefaultPolicyVersionInput(_SerdeShape): + """Dataclass for SetDefaultPolicyVersionInput structure.""" + + policy_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM policy whose default version + you want to set. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + version_id: str | None = ... + """ + The version of the policy to set as the default (operative) version. + + For more information about managed policy versions, see [Versioning for + managed + policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class SetDefaultPolicyVersionOutput(_SerdeShape): + """Dataclass for SetDefaultPolicyVersionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SetSecurityTokenServicePreferencesInput(_SerdeShape): + """Dataclass for SetSecurityTokenServicePreferencesInput structure.""" + + global_endpoint_token_version: str | None = ... + """ + The version of the global endpoint token. Version 1 tokens are valid + only in Amazon Web Services Regions that are available by default. These + tokens do not work in manually enabled Regions, such as Asia Pacific + (Hong Kong). Version 2 tokens are valid in all Regions. However, version + 2 tokens are longer and might affect systems where you temporarily store + tokens. + + For information, see [Activating and deactivating STS in an Amazon Web + Services + Region](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class SetSecurityTokenServicePreferencesOutput(_SerdeShape): + """Dataclass for SetSecurityTokenServicePreferencesOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SigningCertificate(_SerdeShape): + """ + Contains information about an X.509 signing certificate. + + This data type is used as a response element in the + [UploadSigningCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSigningCertificate.html) + and + [ListSigningCertificates](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSigningCertificates.html) + operations. + """ + + user_name: str + """The name of the user the signing certificate is associated with.""" + certificate_id: str + """The ID for the signing certificate.""" + certificate_body: str + """The contents of the signing certificate.""" + status: str + """ + The status of the signing certificate. `Active` means that the key is + valid for API calls, while `Inactive` means it is not. + """ + upload_date: datetime | None = ... + """The date when the signing certificate was uploaded.""" + +@dataclass(kw_only=True) +class SimulateCustomPolicyInput(_SerdeShape): + """Dataclass for SimulateCustomPolicyInput structure.""" + + policy_input_list: list[str] | None = ... + """ + A list of policy documents to include in the simulation. Each document + is specified as a string containing the complete, valid JSON text of an + IAM policy. Do not include any resource-based policies in this + parameter. Any resource-based policy must be submitted with the + `ResourcePolicy` parameter. The policies cannot be \"scope-down\" + policies, such as you could include in a call to + [GetFederationToken](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetFederationToken.html) + or one of the + [AssumeRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AssumeRole.html) + API operations. In other words, do not use policies designed to restrict + what a user can do while using the temporary credentials. + + The maximum length of the policy document that you can pass in this + operation, including whitespace, is listed below. To view the maximum + character counts of a managed policy with no whitespaces, see [IAM and + STS character + quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + permissions_boundary_policy_input_list: list[str] | None = ... + """ + The IAM permissions boundary policy to simulate. The permissions + boundary sets the maximum permissions that an IAM entity can have. You + can input only one permissions boundary when you pass a policy to this + operation. For more information about permissions boundaries, see + [Permissions boundaries for IAM + entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. The policy input is specified as a string that + contains the complete, valid JSON text of a permissions boundary policy. + + The maximum length of the policy document that you can pass in this + operation, including whitespace, is listed below. To view the maximum + character counts of a managed policy with no whitespaces, see [IAM and + STS character + quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + ordered_organization_policy_input_list: ( + list[OrderedOrganizationPolicyType] | None + ) = ... + """ + An ordered list of service control policies (SCPs) to include in the + simulation. Each element represents one level of an Organizations + hierarchy, from the organization root to the account. + + The simulator evaluates SCPs in the order that you provide, consistent + with how Organizations enforces SCPs. The first element must represent + the organization root, and the last element must represent the account. + Any elements between them represent organizational units (OUs) in + descending order. + + Use this parameter to simulate the effect of an SCP hierarchy without + calling + [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html). + """ + action_names: list[str] | None = ... + """ + A list of names of API operations to evaluate in the simulation. Each + operation is evaluated against each resource. Each operation must + include the service identifier, such as `iam:CreateUser`. This operation + does not support using wildcards (*) in an action name. + """ + resource_arns: list[str] | None = ... + """ + A list of ARNs of Amazon Web Services resources to include in the + simulation. If this parameter is not provided, then the value defaults + to `*` (all resources). Each API in the `ActionNames` parameter is + evaluated for each resource in this list. The simulation determines the + access result (allowed or denied) of each combination and reports it in + the response. You can simulate resources that don't exist in your + account. + + The simulation does not automatically retrieve policies for the + specified resources. If you want to include a resource policy in the + simulation, then you must include the policy as a string in the + `ResourcePolicy` parameter. + + If you include a `ResourcePolicy`, then it must be applicable to all of + the resources included in the simulation or you receive an invalid input + error. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + + Note: + Simulation of resource-based policies isn't supported for IAM roles. + """ + resource_policy: str | None = ... + """ + A resource-based policy to include in the simulation provided as a + string. Each resource in the simulation is treated as if it had this + policy attached. You can include only one resource-based policy in a + simulation. + + The maximum length of the policy document that you can pass in this + operation, including whitespace, is listed below. To view the maximum + character counts of a managed policy with no whitespaces, see [IAM and + STS character + quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + + Note: + Simulation of resource-based policies isn't supported for IAM roles. + """ + resource_owner: str | None = ... + """ + An ARN representing the Amazon Web Services account ID that specifies + the owner of any simulated resource that does not identify its owner in + the resource ARN. Examples of resource ARNs include an S3 bucket or + object. If `ResourceOwner` is specified, it is also used as the account + owner of any `ResourcePolicy` included in the simulation. If the + `ResourceOwner` parameter is not specified, then the owner of the + resources and the resource policy defaults to the account of the + identity provided in `CallerArn`. This parameter is required only if you + specify a resource-based policy and account that owns the resource is + different from the account that owns the simulated calling user + `CallerArn`. + + The ARN for an account uses the following syntax: + `arn:aws:iam::`*`AWS-account-ID`*`:root`. For example, to represent the + account with the 112233445566 ID, use the following ARN: + `arn:aws:iam::112233445566-ID:root`. + """ + caller_arn: str | None = ... + """ + The ARN of the IAM user, group, or role that you want to use as the + simulated caller of the API operations. `CallerArn` is required if you + include a `ResourcePolicy` so that the policy's `Principal` element has + a value to use in evaluating the policy. + + You cannot specify the ARN of an assumed role, federated user, or a + service principal. + """ + context_entries: list[ContextEntry] | None = ... + """ + A list of context keys and corresponding values for the simulation to + use. Whenever a context key is evaluated in one of the simulated IAM + permissions policies, the corresponding value is supplied. + """ + resource_handling_option: str | None = ... + """ + Specifies the type of simulation to run. Different API operations that + support resource-based policies require different combinations of + resources. By specifying the type of simulation to run, you enable the + policy simulator to enforce the presence of the required resources to + ensure reliable simulation results. If your simulation does not match + one of the following scenarios, then you can omit this parameter. The + following list shows each of the supported scenario values and the + resources that you must define to run the simulation. + + Each of the Amazon EC2 scenarios requires that you specify instance, + image, and security group resources. If your scenario includes an EBS + volume, then you must specify that volume as a resource. If the Amazon + EC2 scenario includes VPC, then you must supply the network interface + resource. If it includes an IP subnet, then you must specify the subnet + resource. For more information on the Amazon EC2 scenario options, see + [Supported + platforms](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html) + in the *Amazon EC2 User Guide*. + + - **EC2-VPC-InstanceStore** + + instance, image, security group, network interface + + - **EC2-VPC-InstanceStore-Subnet** + + instance, image, security group, network interface, subnet + + - **EC2-VPC-EBS** + + instance, image, security group, network interface, volume + + - **EC2-VPC-EBS-Subnet** + + instance, image, security group, network interface, subnet, volume + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + +@dataclass(kw_only=True) +class SimulateCustomPolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html) + or + [SimulateCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html) + request. + """ + + evaluation_results: list[EvaluationResult] | None = ... + """The results of the simulation.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SimulatePrincipalPolicyInput(_SerdeShape): + """Dataclass for SimulatePrincipalPolicyInput structure.""" + + policy_source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a user, group, or role whose policies + you want to include in the simulation. If you specify a user, group, or + role, the simulation includes all policies that are associated with that + entity. If you specify a user, the simulation also includes all policies + that are attached to any groups the user belongs to. + + The maximum length of the policy document that you can pass in this + operation, including whitespace, is listed below. To view the maximum + character counts of a managed policy with no whitespaces, see [IAM and + STS character + quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + policy_input_list: list[str] | None = ... + """ + An optional list of additional policy documents to include in the + simulation. Each document is specified as a string containing the + complete, valid JSON text of an IAM policy. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + permissions_boundary_policy_input_list: list[str] | None = ... + """ + The IAM permissions boundary policy to simulate. The permissions + boundary sets the maximum permissions that the entity can have. You can + input only one permissions boundary when you pass a policy to this + operation. An IAM entity can only have one permissions boundary in + effect at a time. For example, if a permissions boundary is attached to + an entity and you pass in a different permissions boundary policy using + this parameter, then the new permissions boundary policy is used for the + simulation. For more information about permissions boundaries, see + [Permissions boundaries for IAM + entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. The policy input is specified as a string + containing the complete, valid JSON text of a permissions boundary + policy. + + The maximum length of the policy document that you can pass in this + operation, including whitespace, is listed below. To view the maximum + character counts of a managed policy with no whitespaces, see [IAM and + STS character + quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + policy_exclusion_list: list[PolicyIdentifier] | None = ... + """ + A list of policies to exclude from the simulation. Use this parameter to + test what the simulation result would be if a policy were removed, + without changing which policies are actually attached to the principal + identified by `PolicySourceArn`. + + Each entry is a + [PolicyIdentifier](https://docs.aws.amazon.com/IAM/latest/APIReference/API_PolicyIdentifier.html) + that identifies one or more policies to exclude by policy type, by + Amazon Resource Name (ARN), or by the name of an inline policy and the + entity it is attached to. + + Syntactically invalid identifiers, such as malformed ARNs or wildcards + in disallowed positions, cause the request to fail with an + `InvalidInput` error. Syntactically valid identifiers that don't match + any attached policy are ignored. Resource control policies (RCPs) are + not supported in this release; identifiers that target RCPs are also + ignored. + """ + action_names: list[str] | None = ... + """ + A list of names of API operations to evaluate in the simulation. Each + operation is evaluated for each resource. Each operation must include + the service identifier, such as `iam:CreateUser`. + """ + resource_arns: list[str] | None = ... + """ + A list of ARNs of Amazon Web Services resources to include in the + simulation. If this parameter is not provided, then the value defaults + to `*` (all resources). Each API in the `ActionNames` parameter is + evaluated for each resource in this list. The simulation determines the + access result (allowed or denied) of each combination and reports it in + the response. You can simulate resources that don't exist in your + account. + + The simulation does not automatically retrieve policies for the + specified resources. If you want to include a resource policy in the + simulation, then you must include the policy as a string in the + `ResourcePolicy` parameter. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + + Note: + Simulation of resource-based policies isn't supported for IAM roles. + """ + resource_policy: str | None = ... + """ + A resource-based policy to include in the simulation provided as a + string. Each resource in the simulation is treated as if it had this + policy attached. You can include only one resource-based policy in a + simulation. + + The maximum length of the policy document that you can pass in this + operation, including whitespace, is listed below. To view the maximum + character counts of a managed policy with no whitespaces, see [IAM and + STS character + quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + + Note: + Simulation of resource-based policies isn't supported for IAM roles. + """ + resource_owner: str | None = ... + """ + An Amazon Web Services account ID that specifies the owner of any + simulated resource that does not identify its owner in the resource ARN. + Examples of resource ARNs include an S3 bucket or object. If + `ResourceOwner` is specified, it is also used as the account owner of + any `ResourcePolicy` included in the simulation. If the `ResourceOwner` + parameter is not specified, then the owner of the resources and the + resource policy defaults to the account of the identity provided in + `CallerArn`. This parameter is required only if you specify a + resource-based policy and account that owns the resource is different + from the account that owns the simulated calling user `CallerArn`. + """ + caller_arn: str | None = ... + """ + The ARN of the IAM user, group, or role that you want to specify as the + simulated caller of the API operations. If you do not specify a + `CallerArn`, it defaults to the ARN of the user, group, or role that you + specify in `PolicySourceArn`. If you include both a `PolicySourceArn` + (for example, `arn:aws:iam::123456789012:user/David`) and a `CallerArn` + (for example, `arn:aws:iam::123456789012:user/Bob`), the result is that + you simulate calling the API operations as Bob, as if Bob had David's + policies. + + You can specify the ARN of an IAM user, group, or role. You cannot + specify the ARN of an assumed role, federated user, or a service + principal. + + `CallerArn` is required if you include a `ResourcePolicy` and the + `PolicySourceArn` is not the ARN for an IAM user, group, or role. This + is required so that the resource-based policy's `Principal` element has + a value to use in evaluating the policy. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + context_entries: list[ContextEntry] | None = ... + """ + A list of context keys and corresponding values for the simulation to + use. Whenever a context key is evaluated in one of the simulated IAM + permissions policies, the corresponding value is supplied. + """ + resource_handling_option: str | None = ... + """ + Specifies the type of simulation to run. Different API operations that + support resource-based policies require different combinations of + resources. By specifying the type of simulation to run, you enable the + policy simulator to enforce the presence of the required resources to + ensure reliable simulation results. If your simulation does not match + one of the following scenarios, then you can omit this parameter. The + following list shows each of the supported scenario values and the + resources that you must define to run the simulation. + + Each of the Amazon EC2 scenarios requires that you specify instance, + image, and security group resources. If your scenario includes an EBS + volume, then you must specify that volume as a resource. If the Amazon + EC2 scenario includes VPC, then you must supply the network interface + resource. If it includes an IP subnet, then you must specify the subnet + resource. For more information on the Amazon EC2 scenario options, see + [Supported + platforms](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html) + in the *Amazon EC2 User Guide*. + + - **EC2-VPC-InstanceStore** + + instance, image, security group, network interface + + - **EC2-VPC-InstanceStore-Subnet** + + instance, image, security group, network interface, subnet + + - **EC2-VPC-EBS** + + instance, image, security group, network interface, volume + + - **EC2-VPC-EBS-Subnet** + + instance, image, security group, network interface, subnet, volume + """ + max_items: int | None = ... + """ + Use this only when paginating results to indicate the maximum number of + items you want in the response. If additional items exist beyond the + maximum you specify, the `IsTruncated` response element is `true`. + + If you do not include this parameter, the number of items defaults to + 100. Note that IAM might return fewer results, even when there are more + results available. In that case, the `IsTruncated` response element + returns `true`, and `Marker` contains a value to include in the + subsequent call that tells the service where to continue from. + """ + marker: str | None = ... + """ + Use this parameter only when paginating results and only after you + receive a response indicating that the results are truncated. Set it to + the value of the `Marker` element in the response that you received to + indicate where the next call should start. + """ + +@dataclass(kw_only=True) +class SimulatePrincipalPolicyOutput(_SerdeShape): + """ + Contains the response to a successful + [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html) + or + [SimulateCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html) + request. + """ + + evaluation_results: list[EvaluationResult] | None = ... + """The results of the simulation.""" + is_truncated: bool = ... + """ + A flag that indicates whether there are more items to return. If your + results were truncated, you can make a subsequent pagination request + using the `Marker` request parameter to retrieve more items. Note that + IAM might return fewer than the `MaxItems` number of results even when + there are more results available. We recommend that you check + `IsTruncated` after every call to ensure that you receive all your + results. + """ + marker: str | None = ... + """ + When `IsTruncated` is `true`, this element is present and contains the + value to use for the `Marker` parameter in a subsequent pagination + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class SortKeyType(UnknownEnumMixin, StrEnum): + SERVICE_NAMESPACE_ASCENDING = "SERVICE_NAMESPACE_ASCENDING" + SERVICE_NAMESPACE_DESCENDING = "SERVICE_NAMESPACE_DESCENDING" + LAST_AUTHENTICATED_TIME_ASCENDING = "LAST_AUTHENTICATED_TIME_ASCENDING" + LAST_AUTHENTICATED_TIME_DESCENDING = "LAST_AUTHENTICATED_TIME_DESCENDING" + +@dataclass(kw_only=True) +class SourceRoleTemplate(_SerdeShape): + """ + Contains information about the role template that a role was created + from. + """ + + template_arn: str + """ + The Amazon Resource Name (ARN) of the role template that the role was + created from. + """ + template_minor_version: int + """The minor version of the role template that was used to create the role.""" + +@dataclass(kw_only=True) +class SSHPublicKey(_SerdeShape): + """ + Contains information about an SSH public key. + + This data type is used as a response element in the + [GetSSHPublicKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSSHPublicKey.html) + and + [UploadSSHPublicKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSSHPublicKey.html) + operations. + """ + + user_name: str + """The name of the IAM user associated with the SSH public key.""" + ssh_public_key_id: str + """The unique identifier for the SSH public key.""" + fingerprint: str + """The MD5 message digest of the SSH public key.""" + ssh_public_key_body: str + """The SSH public key.""" + status: str + """ + The status of the SSH public key. `Active` means that the key can be + used for authentication with an CodeCommit repository. `Inactive` means + that the key cannot be used. + """ + upload_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the SSH public key was + uploaded. + """ + +@dataclass(kw_only=True) +class SSHPublicKeyMetadata(_SerdeShape): + """ + Contains information about an SSH public key, without the key's body or + fingerprint. + + This data type is used as a response element in the + [ListSSHPublicKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSSHPublicKeys.html) + operation. + """ + + user_name: str + """The name of the IAM user associated with the SSH public key.""" + ssh_public_key_id: str + """The unique identifier for the SSH public key.""" + status: str + """ + The status of the SSH public key. `Active` means that the key can be + used for authentication with an CodeCommit repository. `Inactive` means + that the key cannot be used. + """ + upload_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the SSH public key was + uploaded. + """ + +@dataclass(kw_only=True) +class Statement(_SerdeShape): + """ + Contains a reference to a `Statement` element in a policy document that + determines the result of the simulation. + + This data type is used by the `MatchedStatements` member of the + ` `[`EvaluationResult`](https://docs.aws.amazon.com/IAM/latest/APIReference/API_EvaluationResult.html)` ` + type. + """ + + source_policy_id: str | None = ... + """The identifier of the policy that was provided as an input.""" + source_policy_type: str | None = ... + """The type of the policy.""" + start_position: Position | None = ... + """The row and column of the beginning of the `Statement` in an IAM policy.""" + end_position: Position | None = ... + """The row and column of the end of a `Statement` in an IAM policy.""" + +class StateType(UnknownEnumMixin, StrEnum): + UNASSIGNED = "UNASSIGNED" + ASSIGNED = "ASSIGNED" + PENDING_APPROVAL = "PENDING_APPROVAL" + FINALIZED = "FINALIZED" + ACCEPTED = "ACCEPTED" + REJECTED = "REJECTED" + EXPIRED = "EXPIRED" + +class StatusType(UnknownEnumMixin, StrEnum): + ACTIVE = "Active" + INACTIVE = "Inactive" + EXPIRED = "Expired" + +class SummaryKeyType(UnknownEnumMixin, StrEnum): + USERS = "Users" + USERS_QUOTA = "UsersQuota" + GROUPS = "Groups" + GROUPS_QUOTA = "GroupsQuota" + SERVER_CERTIFICATES = "ServerCertificates" + SERVER_CERTIFICATES_QUOTA = "ServerCertificatesQuota" + USER_POLICY_SIZE_QUOTA = "UserPolicySizeQuota" + GROUP_POLICY_SIZE_QUOTA = "GroupPolicySizeQuota" + GROUPS_PER_USER_QUOTA = "GroupsPerUserQuota" + SIGNING_CERTIFICATES_PER_USER_QUOTA = "SigningCertificatesPerUserQuota" + ACCESS_KEYS_PER_USER_QUOTA = "AccessKeysPerUserQuota" + MFA_DEVICES = "MFADevices" + MFA_DEVICES_IN_USE = "MFADevicesInUse" + ACCOUNT_MFA_ENABLED = "AccountMFAEnabled" + ACCOUNT_ACCESS_KEYS_PRESENT = "AccountAccessKeysPresent" + ACCOUNT_PASSWORD_PRESENT = "AccountPasswordPresent" + ACCOUNT_SIGNING_CERTIFICATES_PRESENT = "AccountSigningCertificatesPresent" + ATTACHED_POLICIES_PER_GROUP_QUOTA = "AttachedPoliciesPerGroupQuota" + ATTACHED_POLICIES_PER_ROLE_QUOTA = "AttachedPoliciesPerRoleQuota" + ATTACHED_POLICIES_PER_USER_QUOTA = "AttachedPoliciesPerUserQuota" + POLICIES = "Policies" + POLICIES_QUOTA = "PoliciesQuota" + POLICY_SIZE_QUOTA = "PolicySizeQuota" + POLICY_VERSIONS_IN_USE = "PolicyVersionsInUse" + POLICY_VERSIONS_IN_USE_QUOTA = "PolicyVersionsInUseQuota" + VERSIONS_PER_POLICY_QUOTA = "VersionsPerPolicyQuota" + GLOBAL_ENDPOINT_TOKEN_VERSION = "GlobalEndpointTokenVersion" + ASSUME_ROLE_POLICY_SIZE_QUOTA = "AssumeRolePolicySizeQuota" + INSTANCE_PROFILES = "InstanceProfiles" + INSTANCE_PROFILES_QUOTA = "InstanceProfilesQuota" + PROVIDERS = "Providers" + ROLE_POLICY_SIZE_QUOTA = "RolePolicySizeQuota" + ROLES = "Roles" + ROLES_QUOTA = "RolesQuota" + +class SummaryStateType(UnknownEnumMixin, StrEnum): + AVAILABLE = "AVAILABLE" + NOT_AVAILABLE = "NOT_AVAILABLE" + NOT_SUPPORTED = "NOT_SUPPORTED" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """ + A structure that represents user-provided metadata that can be + associated with an IAM resource. For more information about tagging, see + [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + + key: str + """ + The key name that can be used to look up or retrieve the associated + value. For example, `Department` or `Cost Center` are common choices. + """ + value: str + """ + The value associated with this tag. For example, tags with a key name of + `Department` could have values such as `Human Resources`, `Accounting`, + and `Support`. Tags with a key name of `Cost Center` might have values + that consist of the number associated with the different cost centers in + your company. Typically, many resources have tags with the same key name + but with different values. + """ + +@dataclass(kw_only=True) +class TagInstanceProfileInput(_SerdeShape): + """Dataclass for TagInstanceProfileInput structure.""" + + instance_profile_name: str | None = ... + """ + The name of the IAM instance profile to which you want to add tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + The list of tags that you want to attach to the IAM instance profile. + Each tag consists of a key name and an associated value. + """ + +@dataclass(kw_only=True) +class TagInstanceProfileOutput(_SerdeShape): + """Dataclass for TagInstanceProfileOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TagMFADeviceInput(_SerdeShape): + """Dataclass for TagMFADeviceInput structure.""" + + serial_number: str | None = ... + """ + The unique identifier for the IAM virtual MFA device to which you want + to add tags. For virtual MFA devices, the serial number is the same as + the ARN. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + The list of tags that you want to attach to the IAM virtual MFA device. + Each tag consists of a key name and an associated value. + """ + +@dataclass(kw_only=True) +class TagMFADeviceOutput(_SerdeShape): + """Dataclass for TagMFADeviceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TagOpenIDConnectProviderInput(_SerdeShape): + """Dataclass for TagOpenIDConnectProviderInput structure.""" + + open_id_connect_provider_arn: str | None = ... + """ + The ARN of the OIDC identity provider in IAM to which you want to add + tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + The list of tags that you want to attach to the OIDC identity provider + in IAM. Each tag consists of a key name and an associated value. + """ + +@dataclass(kw_only=True) +class TagOpenIDConnectProviderOutput(_SerdeShape): + """Dataclass for TagOpenIDConnectProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TagPolicyInput(_SerdeShape): + """Dataclass for TagPolicyInput structure.""" + + policy_arn: str | None = ... + """ + The ARN of the IAM customer managed policy to which you want to add + tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + The list of tags that you want to attach to the IAM customer managed + policy. Each tag consists of a key name and an associated value. + """ + +@dataclass(kw_only=True) +class TagPolicyOutput(_SerdeShape): + """Dataclass for TagPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TagRoleInput(_SerdeShape): + """Dataclass for TagRoleInput structure.""" + + role_name: str | None = ... + """ + The name of the IAM role to which you want to add tags. + + This parameter accepts (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + consist of upper and lowercase alphanumeric characters with no spaces. + You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + The list of tags that you want to attach to the IAM role. Each tag + consists of a key name and an associated value. + """ + +@dataclass(kw_only=True) +class TagRoleOutput(_SerdeShape): + """Dataclass for TagRoleOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TagSAMLProviderInput(_SerdeShape): + """Dataclass for TagSAMLProviderInput structure.""" + + saml_provider_arn: str | None = ... + """ + The ARN of the SAML identity provider in IAM to which you want to add + tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + The list of tags that you want to attach to the SAML identity provider + in IAM. Each tag consists of a key name and an associated value. + """ + +@dataclass(kw_only=True) +class TagSAMLProviderOutput(_SerdeShape): + """Dataclass for TagSAMLProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TagServerCertificateInput(_SerdeShape): + """Dataclass for TagServerCertificateInput structure.""" + + server_certificate_name: str | None = ... + """ + The name of the IAM server certificate to which you want to add tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + The list of tags that you want to attach to the IAM server certificate. + Each tag consists of a key name and an associated value. + """ + +@dataclass(kw_only=True) +class TagServerCertificateOutput(_SerdeShape): + """Dataclass for TagServerCertificateOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TagTemplate(_SerdeShape): + """ + Represents a tag that is applied to roles that are created from a role + template. The key and value can include `@{parameter}` placeholders that + are replaced with template parameter values when the role is created. + """ + + key: str + """The key name of the tag.""" + value: str + """The value associated with the tag key.""" + +@dataclass(kw_only=True) +class TagUserInput(_SerdeShape): + """Dataclass for TagUserInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user to which you want to add tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tags: list[Tag] | None = ... + """ + The list of tags that you want to attach to the IAM user. Each tag + consists of a key name and an associated value. + """ + +@dataclass(kw_only=True) +class TagUserOutput(_SerdeShape): + """Dataclass for TagUserOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TrackedActionLastAccessed(_SerdeShape): + """ + Contains details about the most recent attempt to access an action + within the service. + + This data type is used as a response element in the + [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html) + operation. + """ + + action_name: str | None = ... + """ + The name of the tracked action to which access was attempted. Tracked + actions are actions that report activity to IAM. + """ + last_accessed_entity: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + last_accessed_time: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when an authenticated entity + most recently attempted to access the tracked service. Amazon Web + Services does not report unauthenticated requests. + + This field is null if no IAM entities attempted to access the service + within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + last_accessed_region: str | None = ... + """ + The Region from which the authenticated entity (user or role) last + attempted to access the tracked action. Amazon Web Services does not + report unauthenticated requests. + + This field is null if no IAM entities attempted to access the service + within the [tracking + period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). + """ + +@dataclass(kw_only=True) +class UnmodifiableEntityException(ServiceError, _SerdeShape): + """ + The request was rejected because service-linked roles are protected + Amazon Web Services resources. Only the service that depends on the + service-linked role can modify or delete the role on your behalf. The + error message includes the name of the service that depends on this + service-linked role. You must request the change through that service. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UnrecognizedPublicKeyEncodingException(ServiceError, _SerdeShape): + """ + The request was rejected because the public key encoding format is + unsupported or unrecognized. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagInstanceProfileInput(_SerdeShape): + """Dataclass for UntagInstanceProfileInput structure.""" + + instance_profile_name: str | None = ... + """ + The name of the IAM instance profile from which you want to remove tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tag_keys: list[str] | None = ... + """ + A list of key names as a simple array of strings. The tags with matching + keys are removed from the specified instance profile. + """ + +@dataclass(kw_only=True) +class UntagInstanceProfileOutput(_SerdeShape): + """Dataclass for UntagInstanceProfileOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagMFADeviceInput(_SerdeShape): + """Dataclass for UntagMFADeviceInput structure.""" + + serial_number: str | None = ... + """ + The unique identifier for the IAM virtual MFA device from which you want + to remove tags. For virtual MFA devices, the serial number is the same + as the ARN. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tag_keys: list[str] | None = ... + """ + A list of key names as a simple array of strings. The tags with matching + keys are removed from the specified instance profile. + """ + +@dataclass(kw_only=True) +class UntagMFADeviceOutput(_SerdeShape): + """Dataclass for UntagMFADeviceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagOpenIDConnectProviderInput(_SerdeShape): + """Dataclass for UntagOpenIDConnectProviderInput structure.""" + + open_id_connect_provider_arn: str | None = ... + """ + The ARN of the OIDC provider in IAM from which you want to remove tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tag_keys: list[str] | None = ... + """ + A list of key names as a simple array of strings. The tags with matching + keys are removed from the specified OIDC provider. + """ + +@dataclass(kw_only=True) +class UntagOpenIDConnectProviderOutput(_SerdeShape): + """Dataclass for UntagOpenIDConnectProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagPolicyInput(_SerdeShape): + """Dataclass for UntagPolicyInput structure.""" + + policy_arn: str | None = ... + """ + The ARN of the IAM customer managed policy from which you want to remove + tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tag_keys: list[str] | None = ... + """ + A list of key names as a simple array of strings. The tags with matching + keys are removed from the specified policy. + """ + +@dataclass(kw_only=True) +class UntagPolicyOutput(_SerdeShape): + """Dataclass for UntagPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagRoleInput(_SerdeShape): + """Dataclass for UntagRoleInput structure.""" + + role_name: str | None = ... + """ + The name of the IAM role from which you want to remove tags. + + This parameter accepts (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + consist of upper and lowercase alphanumeric characters with no spaces. + You can also include any of the following characters: _+=,.@- + """ + tag_keys: list[str] | None = ... + """ + A list of key names as a simple array of strings. The tags with matching + keys are removed from the specified role. + """ + +@dataclass(kw_only=True) +class UntagRoleOutput(_SerdeShape): + """Dataclass for UntagRoleOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagSAMLProviderInput(_SerdeShape): + """Dataclass for UntagSAMLProviderInput structure.""" + + saml_provider_arn: str | None = ... + """ + The ARN of the SAML identity provider in IAM from which you want to + remove tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tag_keys: list[str] | None = ... + """ + A list of key names as a simple array of strings. The tags with matching + keys are removed from the specified SAML identity provider. + """ + +@dataclass(kw_only=True) +class UntagSAMLProviderOutput(_SerdeShape): + """Dataclass for UntagSAMLProviderOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagServerCertificateInput(_SerdeShape): + """Dataclass for UntagServerCertificateInput structure.""" + + server_certificate_name: str | None = ... + """ + The name of the IAM server certificate from which you want to remove + tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tag_keys: list[str] | None = ... + """ + A list of key names as a simple array of strings. The tags with matching + keys are removed from the specified IAM server certificate. + """ + +@dataclass(kw_only=True) +class UntagServerCertificateOutput(_SerdeShape): + """Dataclass for UntagServerCertificateOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagUserInput(_SerdeShape): + """Dataclass for UntagUserInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user from which you want to remove tags. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + tag_keys: list[str] | None = ... + """ + A list of key names as a simple array of strings. The tags with matching + keys are removed from the specified user. + """ + +@dataclass(kw_only=True) +class UntagUserOutput(_SerdeShape): + """Dataclass for UntagUserOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAccessKeyInput(_SerdeShape): + """Dataclass for UpdateAccessKeyInput structure.""" + + user_name: str | None = ... + """ + The name of the user whose key you want to update. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + access_key_id: str | None = ... + """ + The access key ID of the secret access key you want to update. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + status: str | None = ... + """ + The status you want to assign to the secret access key. `Active` means + that the key can be used for programmatic calls to Amazon Web Services, + while `Inactive` means that the key cannot be used. + """ + +@dataclass(kw_only=True) +class UpdateAccessKeyOutput(_SerdeShape): + """Dataclass for UpdateAccessKeyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAccountPasswordPolicyInput(_SerdeShape): + """Dataclass for UpdateAccountPasswordPolicyInput structure.""" + + minimum_password_length: int | None = ... + """ + The minimum number of characters allowed in an IAM user password. + + If you do not specify a value for this parameter, then the operation + uses the default value of `6`. + """ + require_symbols: bool = ... + """ + Specifies whether IAM user passwords must contain at least one of the + following non-alphanumeric characters: + + ! @ # $ % ^ & * ( ) _ + - = [ ] { } | ' + + If you do not specify a value for this parameter, then the operation + uses the default value of `false`. The result is that passwords do not + require at least one symbol character. + """ + require_numbers: bool = ... + """ + Specifies whether IAM user passwords must contain at least one numeric + character (0 to 9). + + If you do not specify a value for this parameter, then the operation + uses the default value of `false`. The result is that passwords do not + require at least one numeric character. + """ + require_uppercase_characters: bool = ... + """ + Specifies whether IAM user passwords must contain at least one uppercase + character from the ISO basic Latin alphabet (A to Z). + + If you do not specify a value for this parameter, then the operation + uses the default value of `false`. The result is that passwords do not + require at least one uppercase character. + """ + require_lowercase_characters: bool = ... + """ + Specifies whether IAM user passwords must contain at least one lowercase + character from the ISO basic Latin alphabet (a to z). + + If you do not specify a value for this parameter, then the operation + uses the default value of `false`. The result is that passwords do not + require at least one lowercase character. + """ + allow_users_to_change_password: bool = ... + """ + Allows all IAM users in your account to use the Amazon Web Services + Management Console to change their own passwords. For more information, + see [Permitting IAM users to change their own + passwords](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_enable-user-change.html) + in the *IAM User Guide*. + + If you do not specify a value for this parameter, then the operation + uses the default value of `false`. The result is that IAM users in the + account do not automatically have permissions to change their own + password. + """ + max_password_age: int | None = ... + """ + The number of days that an IAM user password is valid. + + If you do not specify a value for this parameter, then the operation + uses the default value of `0`. The result is that IAM user passwords + never expire. + """ + password_reuse_prevention: int | None = ... + """ + Specifies the number of previous passwords that IAM users are prevented + from reusing. + + If you do not specify a value for this parameter, then the operation + uses the default value of `0`. The result is that IAM users are not + prevented from reusing previous passwords. + """ + hard_expiry: bool | None = ... + """ + Prevents IAM users who are accessing the account via the Amazon Web + Services Management Console from setting a new console password after + their password has expired. The IAM user cannot access the console until + an administrator resets the password. + + If you do not specify a value for this parameter, then the operation + uses the default value of `false`. The result is that IAM users can + change their passwords after they expire and continue to sign in as the + user. + + Note: + In the Amazon Web Services Management Console, the custom password + policy option **Allow users to change their own password** gives IAM + users permissions to `iam:ChangePassword` for only their user and to the + `iam:GetAccountPasswordPolicy` action. This option does not attach a + permissions policy to each user, rather the permissions are applied at + the account-level for all users by IAM. IAM users with + `iam:ChangePassword` permission and active access keys can reset their + own expired console password using the CLI or API. + """ + +@dataclass(kw_only=True) +class UpdateAccountPasswordPolicyOutput(_SerdeShape): + """Dataclass for UpdateAccountPasswordPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAssumeRolePolicyInput(_SerdeShape): + """Dataclass for UpdateAssumeRolePolicyInput structure.""" + + role_name: str | None = ... + """ + The name of the role to update with the new policy. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + policy_document: str | None = ... + """ + The policy that grants an entity permission to assume the role. + + You must provide policies in JSON format in IAM. However, for + CloudFormation templates formatted in YAML, you can provide the policy + in JSON or YAML format. CloudFormation always converts a YAML policy to + JSON format before submitting it to IAM. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + +@dataclass(kw_only=True) +class UpdateAssumeRolePolicyOutput(_SerdeShape): + """Dataclass for UpdateAssumeRolePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDelegationRequestInput(_SerdeShape): + """Dataclass for UpdateDelegationRequestInput structure.""" + + delegation_request_id: str | None = ... + """The unique identifier of the delegation request to update.""" + notes: str | None = ... + """Additional notes or comments to add to the delegation request.""" + +@dataclass(kw_only=True) +class UpdateDelegationRequestOutput(_SerdeShape): + """Dataclass for UpdateDelegationRequestOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateGroupInput(_SerdeShape): + """Dataclass for UpdateGroupInput structure.""" + + group_name: str | None = ... + """ + Name of the IAM group to update. If you're changing the name of the + group, this is the original name. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + new_path: str | None = ... + """ + New path for the IAM group. Only include this if changing the group's + path. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + new_group_name: str | None = ... + """ + New name for the IAM group. Only include this if changing the group's + name. + + IAM user, group, role, and policy names must be unique within the + account. Names are not distinguished by case. For example, you cannot + create resources named both \"MyResource\" and \"myresource\". + """ + +@dataclass(kw_only=True) +class UpdateGroupOutput(_SerdeShape): + """Dataclass for UpdateGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateLoginProfileInput(_SerdeShape): + """Dataclass for UpdateLoginProfileInput structure.""" + + user_name: str | None = ... + """ + The name of the user whose password you want to update. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + password: str | None = ... + """ + The new password for the specified IAM user. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + + However, the format can be further restricted by the account + administrator by setting a password policy on the Amazon Web Services + account. For more information, see + [UpdateAccountPasswordPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAccountPasswordPolicy.html). + """ + password_reset_required: bool | None = ... + """ + Allows this new password to be used only once by requiring the specified + IAM user to set a new password on next sign-in. + """ + +@dataclass(kw_only=True) +class UpdateLoginProfileOutput(_SerdeShape): + """Dataclass for UpdateLoginProfileOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateOpenIDConnectProviderThumbprintInput(_SerdeShape): + """Dataclass for UpdateOpenIDConnectProviderThumbprintInput structure.""" + + open_id_connect_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM OIDC provider resource object + for which you want to update the thumbprint. You can get a list of OIDC + provider ARNs by using the + [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) + operation. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + thumbprint_list: list[str] | None = ... + """ + A list of certificate thumbprints that are associated with the specified + IAM OpenID Connect provider. For more information, see + [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). + """ + +@dataclass(kw_only=True) +class UpdateOpenIDConnectProviderThumbprintOutput(_SerdeShape): + """Dataclass for UpdateOpenIDConnectProviderThumbprintOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRoleDescriptionInput(_SerdeShape): + """Dataclass for UpdateRoleDescriptionInput structure.""" + + role_name: str | None = ... + """The name of the role that you want to modify.""" + description: str | None = ... + """The new description that you want to apply to the specified role.""" + +@dataclass(kw_only=True) +class UpdateRoleDescriptionOutput(_SerdeShape): + """Dataclass for UpdateRoleDescriptionOutput structure.""" + + role: Role | None = ... + """A structure that contains details about the modified role.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRoleInput(_SerdeShape): + """Dataclass for UpdateRoleInput structure.""" + + role_name: str | None = ... + """The name of the role that you want to modify.""" + description: str | None = ... + """The new description that you want to apply to the specified role.""" + max_session_duration: int | None = ... + """ + The maximum session duration (in seconds) that you want to set for the + specified role. If you do not specify a value for this setting, the + default value of one hour is applied. This setting can have a value from + 1 hour to 12 hours. + + Anyone who assumes the role from the CLI or API can use the + `DurationSeconds` API parameter or the `duration-seconds` CLI parameter + to request a longer session. The `MaxSessionDuration` setting determines + the maximum duration that can be requested using the `DurationSeconds` + parameter. If users don't specify a value for the `DurationSeconds` + parameter, their security credentials are valid for one hour by default. + This applies when you use the `AssumeRole*` API operations or the + `assume-role*` CLI operations but does not apply when you use those + operations to create a console URL. For more information, see [Using IAM + roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) + in the *IAM User Guide*. + + Note: + IAM role credentials provided by Amazon EC2 instances assigned to the + role are not subject to the specified maximum session duration. + """ + +@dataclass(kw_only=True) +class UpdateRoleOutput(_SerdeShape): + """Dataclass for UpdateRoleOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateSAMLProviderInput(_SerdeShape): + """Dataclass for UpdateSAMLProviderInput structure.""" + + saml_metadata_document: str | None = ... + """ + An XML document generated by an identity provider (IdP) that supports + SAML 2.0. The document includes the issuer's name, expiration + information, and keys that can be used to validate the SAML + authentication response (assertions) that are received from the IdP. You + must generate the metadata document using the identity management + software that is used as your IdP. + """ + saml_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the SAML provider to update. + + For more information about ARNs, see [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + assertion_encryption_mode: str | None = ... + """Specifies the encryption setting for the SAML provider.""" + add_private_key: str | None = ... + """ + Specifies the new private key from your external identity provider. The + private key must be a .pem file that uses AES-GCM or AES-CBC encryption + algorithm to decrypt SAML assertions. + """ + remove_private_key: str | None = ... + """The Key ID of the private key to remove.""" + +@dataclass(kw_only=True) +class UpdateSAMLProviderOutput(_SerdeShape): + """ + Contains the response to a successful + [UpdateSAMLProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateSAMLProvider.html) + request. + """ + + saml_provider_arn: str | None = ... + """The Amazon Resource Name (ARN) of the SAML provider that was updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateServerCertificateInput(_SerdeShape): + """Dataclass for UpdateServerCertificateInput structure.""" + + server_certificate_name: str | None = ... + """ + The name of the server certificate that you want to update. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + new_path: str | None = ... + """ + The new path for the server certificate. Include this only if you are + updating the server certificate's path. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + new_server_certificate_name: str | None = ... + """ + The new name for the server certificate. Include this only if you are + updating the server certificate's name. The name of the certificate + cannot contain any spaces. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + +@dataclass(kw_only=True) +class UpdateServerCertificateOutput(_SerdeShape): + """Dataclass for UpdateServerCertificateOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateServiceSpecificCredentialInput(_SerdeShape): + """Dataclass for UpdateServiceSpecificCredentialInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user associated with the service-specific + credential. If you do not specify this value, then the operation assumes + the user whose credentials are used to call the operation. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + service_specific_credential_id: str | None = ... + """ + The unique identifier of the service-specific credential. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + status: str | None = ... + """The status to be assigned to the service-specific credential.""" + +@dataclass(kw_only=True) +class UpdateServiceSpecificCredentialOutput(_SerdeShape): + """Dataclass for UpdateServiceSpecificCredentialOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateSigningCertificateInput(_SerdeShape): + """Dataclass for UpdateSigningCertificateInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user the signing certificate belongs to. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + certificate_id: str | None = ... + """ + The ID of the signing certificate you want to update. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + status: str | None = ... + """ + The status you want to assign to the certificate. `Active` means that + the certificate can be used for programmatic calls to Amazon Web + Services `Inactive` means that the certificate cannot be used. + """ + +@dataclass(kw_only=True) +class UpdateSigningCertificateOutput(_SerdeShape): + """Dataclass for UpdateSigningCertificateOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateSSHPublicKeyInput(_SerdeShape): + """Dataclass for UpdateSSHPublicKeyInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user associated with the SSH public key. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + ssh_public_key_id: str | None = ... + """ + The unique identifier for the SSH public key. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters that + can consist of any upper or lowercased letter or digit. + """ + status: str | None = ... + """ + The status to assign to the SSH public key. `Active` means that the key + can be used for authentication with an CodeCommit repository. `Inactive` + means that the key cannot be used. + """ + +@dataclass(kw_only=True) +class UpdateSSHPublicKeyOutput(_SerdeShape): + """Dataclass for UpdateSSHPublicKeyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateUserInput(_SerdeShape): + """Dataclass for UpdateUserInput structure.""" + + user_name: str | None = ... + """ + Name of the user to update. If you're changing the name of the user, + this is the original user name. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + new_path: str | None = ... + """ + New path for the IAM user. Include this parameter only if you're + changing the user's path. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + """ + new_user_name: str | None = ... + """ + New name for the user. Include this parameter only if you're changing + the user's name. + + IAM user, group, role, and policy names must be unique within the + account. Names are not distinguished by case. For example, you cannot + create resources named both \"MyResource\" and \"myresource\". + """ + +@dataclass(kw_only=True) +class UpdateUserOutput(_SerdeShape): + """Dataclass for UpdateUserOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UploadServerCertificateInput(_SerdeShape): + """Dataclass for UploadServerCertificateInput structure.""" + + path: str | None = ... + """ + The path for the server certificate. For more information about paths, + see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + + This parameter is optional. If it is not included, it defaults to a + slash (/). This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of either a forward slash (/) by itself or a string that must + begin and end with forward slashes. In addition, it can contain any + ASCII character from the ! (`\u0021`) through the DEL character + (`\u007f`), including most punctuation characters, digits, and upper and + lowercased letters. + + Note: + If you are uploading a server certificate specifically for use with + Amazon CloudFront distributions, you must specify a path using the + `path` parameter. The path must begin with `/cloudfront` and must + include a trailing slash (for example, `/cloudfront/test/`). + """ + server_certificate_name: str | None = ... + """ + The name for the server certificate. Do not include the path in this + value. The name of the certificate cannot contain any spaces. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + certificate_body: str | None = ... + """ + The contents of the public key certificate in PEM-encoded format. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + private_key: str | None = ... + """ + The contents of the private key in PEM-encoded format. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + certificate_chain: str | None = ... + """ + The contents of the certificate chain. This is typically a concatenation + of the PEM-encoded public key certificates of the chain. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + tags: list[Tag] | None = ... + """ + A list of tags that you want to attach to the new IAM server certificate + resource. Each tag consists of a key name and an associated value. For + more information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + + Note: + If any one of the tags is invalid or if you exceed the allowed maximum + number of tags, then the entire request fails and the resource is not + created. + """ + +@dataclass(kw_only=True) +class UploadServerCertificateOutput(_SerdeShape): + """ + Contains the response to a successful + [UploadServerCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadServerCertificate.html) + request. + """ + + server_certificate_metadata: ServerCertificateMetadata | None = ... + """ + The meta information of the uploaded server certificate without its + certificate body, certificate chain, and private key. + """ + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the new IAM server certificate. The + returned list of tags is sorted by tag key. For more information about + tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UploadSigningCertificateInput(_SerdeShape): + """Dataclass for UploadSigningCertificateInput structure.""" + + user_name: str | None = ... + """ + The name of the user the signing certificate is for. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + certificate_body: str | None = ... + """ + The contents of the signing certificate. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + +@dataclass(kw_only=True) +class UploadSigningCertificateOutput(_SerdeShape): + """ + Contains the response to a successful + [UploadSigningCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSigningCertificate.html) + request. + """ + + certificate: SigningCertificate + """Information about the certificate.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UploadSSHPublicKeyInput(_SerdeShape): + """Dataclass for UploadSSHPublicKeyInput structure.""" + + user_name: str | None = ... + """ + The name of the IAM user to associate the SSH public key with. + + This parameter allows (through its [regex + pattern](http://wikipedia.org/wiki/regex)) a string of characters + consisting of upper and lowercase alphanumeric characters with no + spaces. You can also include any of the following characters: _+=,.@- + """ + ssh_public_key_body: str | None = ... + """ + The SSH public key. The public key must be encoded in ssh-rsa format or + PEM format. The minimum bit-length of the public key is 2048 bits. For + example, you can generate a 2048-bit key, and the resulting PEM file is + 1679 bytes long. + + The [regex pattern](http://wikipedia.org/wiki/regex) used to validate + this parameter is a string of characters consisting of the following: + + - Any printable ASCII character ranging from the space character + (`\u0020`) through the end of the ASCII character range + + - The printable characters in the Basic Latin and Latin-1 Supplement + character set (through `\u00ff`) + + - The special characters tab (`\u0009`), line feed (`\u000a`), and + carriage return (`\u000d`) + """ + +@dataclass(kw_only=True) +class UploadSSHPublicKeyOutput(_SerdeShape): + """ + Contains the response to a successful + [UploadSSHPublicKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSSHPublicKey.html) + request. + """ + + ssh_public_key: SSHPublicKey | None = ... + """Contains information about the SSH public key.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class User(_SerdeShape): + """ + Contains information about an IAM user entity. + + This data type is used as a response element in the following + operations: + + - [CreateUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateUser.html) + + - [GetUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html) + + - [ListUsers](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUsers.html) + """ + + path: str + """ + The path to the user. For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + + The ARN of the policy used to set the permissions boundary for the user. + """ + user_name: str + """The friendly name identifying the user.""" + user_id: str + """ + The stable and unique string identifying the user. For more information + about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str + """ + The Amazon Resource Name (ARN) that identifies the user. For more + information about ARNs and how to use ARNs in policies, see [IAM + Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + create_date: datetime + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the user was created. + """ + password_last_used: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the user's password was + last used to sign in to an Amazon Web Services website. For a list of + Amazon Web Services websites that capture a user's last sign-in time, + see the [Credential + reports](https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html) + topic in the *IAM User Guide*. If a password is used more than once in a + five-minute span, only the first use is returned in this field. If the + field is null (no value), then it indicates that they never signed in + with a password. This can be because: + + - The user never had a password. + + - A password exists but has not been used since IAM started tracking + this information on October 20, 2014. + + A null value does not mean that the user *never* had a password. Also, + if the user does not currently have a password but had one in the past, + then this field contains the date and time the most recent password was + used. + + This value is returned only in the + [GetUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html) + and + [ListUsers](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUsers.html) + operations. + """ + permissions_boundary: AttachedPermissionsBoundary | None = ... + """ + For more information about permissions boundaries, see [Permissions + boundaries for IAM + identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + """ + tags: list[Tag] | None = ... + """ + A list of tags that are associated with the user. For more information + about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class UserDetail(_SerdeShape): + """ + Contains information about an IAM user, including all the user's + policies and all the IAM groups the user is in. + + This data type is used as a response element in the + [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) + operation. + """ + + path: str | None = ... + """ + The path to the user. For more information about paths, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + user_name: str | None = ... + """The friendly name identifying the user.""" + user_id: str | None = ... + """ + The stable and unique string identifying the user. For more information + about IDs, see [IAM + identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) + in the *IAM User Guide*. + """ + arn: str | None = ... + """ + The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon + Web Services resources. + + For more information about ARNs, go to [Amazon Resource Names + (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + in the *Amazon Web Services General Reference*. + """ + create_date: datetime | None = ... + """ + The date and time, in [ISO 8601 date-time + format](http://www.iso.org/iso/iso8601), when the user was created. + """ + user_policy_list: list[PolicyDetail] | None = ... + """A list of the inline policies embedded in the user.""" + group_list: list[str] | None = ... + """A list of IAM groups that the user is in.""" + attached_managed_policies: list[AttachedPolicy] | None = ... + """A list of the managed policies attached to the user.""" + permissions_boundary: AttachedPermissionsBoundary | None = ... + """ + The ARN of the policy used to set the permissions boundary for the user. + + For more information about permissions boundaries, see [Permissions + boundaries for IAM + identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) + in the *IAM User Guide*. + """ + tags: list[Tag] | None = ... + """ + A list of tags that are associated with the user. For more information + about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ + +@dataclass(kw_only=True) +class VirtualMFADevice(_SerdeShape): + """Contains information about a virtual MFA device.""" + + serial_number: str + """The serial number associated with `VirtualMFADevice`.""" + base32_string_seed: bytes | None = ... + """ + The base32 seed defined as specified in + [RFC3548](https://tools.ietf.org/html/rfc3548.txt). The + `Base32StringSeed` is base32-encoded. + """ + qr_code_png: bytes | None = ... + """ + A QR code PNG image that encodes + `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` + where `$virtualMFADeviceName` is one of the create call arguments. + `AccountName` is the user name if set (otherwise, the account ID + otherwise), and `Base32String` is the seed in base32 format. The + `Base32String` value is base64-encoded. + """ + user: User | None = ... + """The IAM user associated with this virtual MFA device.""" + enable_date: datetime | None = ... + """The date and time on which the virtual MFA device was enabled.""" + tags: list[Tag] | None = ... + """ + A list of tags that are attached to the virtual MFA device. For more + information about tagging, see [Tagging IAM + resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) + in the *IAM User Guide*. + """ diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas.py index 3552a4ae9..d0a0a3b81 100644 --- a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas.py +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas.py @@ -1,9560 +1,941 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.iam" -_dRIT = "delegationRequestIdType" -_ADRI = "AcceptDelegationRequestInput" -_sSI = "smithy.synthetic#originalShapeId" -_cADRR = "com.amazonaws.iam#AcceptDelegationRequestRequest" -_s = "smithy.api#input" -_DRI = "DelegationRequestId" -_sm = "smithy.api#required" -_ADRO = "AcceptDelegationRequestOutput" -_sU = "smithy.api#Unit" -_smi = "smithy.api#output" -_CMM = "ConcurrentModificationMessage" -_CME = "ConcurrentModificationException" -_smit = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_m = "message" -_nSEM = "noSuchEntityMessage" -_NSEE = "NoSuchEntityException" -_sFEM = "serviceFailureExceptionMessage" -_SFE = "ServiceFailureException" -_se = "server" -_ADR = "AcceptDelegationRequest" -_AAUGT = "AccessAdvisorUsageGranularityType" -_SL = "SERVICE_LEVEL" -_sV = "smithy.api#enumValue" -_AL = "ACTION_LEVEL" -_oEPT = "organizationsEntityPathType" -_dT = "dateType" -_sT = "stringType" -_sNT = "serviceNameType" -_sNTe = "serviceNamespaceType" -_iT = "integerType" -_AD = "AccessDetail" -_SN = "ServiceName" -_SNe = "ServiceNamespace" -_R = "Region" -_EP = "EntityPath" -_LAT = "LastAuthenticatedTime" -_TAE = "TotalAuthenticatedEntities" -_ADc = "AccessDetails" -_me = "member" -_aKIT = "accessKeyIdType" -_aKST = "accessKeySecretType" -_smith = "smithy.api#sensitive" -_sTt = "statusType" -_A = "Active" -_I = "Inactive" -_E = "Expired" -_uNT = "userNameType" -_AK = "AccessKey" -_UN = "UserName" -_AKI = "AccessKeyId" -_S = "Status" -_SAK = "SecretAccessKey" -_CD = "CreateDate" -_AKLU = "AccessKeyLastUsed" -_LUD = "LastUsedDate" -_AKM = "AccessKeyMetadata" -_aKMLT = "accessKeyMetadataListType" -_aAT = "accountAliasType" -_aALT = "accountAliasListType" -_aIT = "accountIdType" -_EM = "ExceptionMessage" -_ANMODAE = "AccountNotManagementOrDelegatedAdministratorException" -_M = "Message" -_aPKT = "accountPropertyKeyType" -_aPVT = "accountPropertyValueType" -_aPMT = "accountPropertiesMapType" -_k = "key" -_v = "value" -_rVLT = "replacementValueListType" -_RVE = "ReplacementValueEntry" -_V = "Values" -_mSRVE = "mapStringReplacementValueEntry" -_aT = "arnType" -_ARI = "AcquireRoleInput" -_cARR = "com.amazonaws.iam#AcquireRoleRequest" -_TA = "TemplateArn" -_TMV = "TemplateMinorVersion" -_RV = "ReplacementValues" -_pDT = "policyDocumentType" -_rDT = "roleDescriptionType" -_rMSDT = "roleMaxSessionDurationType" -_pT = "pathType" -_PBAT = "PermissionsBoundaryAttachmentType" -_P = "Policy" -_PBP = "PermissionsBoundaryPolicy" -_APB = "AttachedPermissionsBoundary" -_PBT = "PermissionsBoundaryType" -_PBA = "PermissionsBoundaryArn" -_iTd = "idType" -_RLU = "RoleLastUsed" -_rNT = "roleNameType" -_SRT = "SourceRoleTemplate" -_tKT = "tagKeyType" -_tVT = "tagValueType" -_T = "Tag" -_K = "Key" -_Va = "Value" -_tLT = "tagListType" -_Ro = "Role" -_Pa = "Path" -_RN = "RoleName" -_RI = "RoleId" -_Ar = "Arn" -_ARPD = "AssumeRolePolicyDocument" -_D = "Description" -_MSD = "MaxSessionDuration" -_PB = "PermissionsBoundary" -_Ta = "Tags" -_ARO = "AcquireRoleOutput" -_cARRo = "com.amazonaws.iam#AcquireRoleResponse" -_eAEM = "entityAlreadyExistsMessage" -_EAEE = "EntityAlreadyExistsException" -_iIM = "invalidInputMessage" -_IIE = "InvalidInputException" -_lEM = "limitExceededMessage" -_LEE = "LimitExceededException" -_mPDM = "malformedPolicyDocumentMessage" -_MPDE = "MalformedPolicyDocumentException" -_nCM = "nameConflictMessage" -_NCE = "NameConflictException" -_rMM = "roleModifiedMessage" -_RME = "RoleModifiedException" -_rTDM = "roleTemplateDisabledMessage" -_RTDE = "RoleTemplateDisabledException" -_AR = "AcquireRole" -_ANT = "ActionNameType" -_ANLT = "ActionNameListType" -_cIDT = "clientIDType" -_ACIDTOIDCPI = "AddClientIDToOpenIDConnectProviderInput" -_cACIDTOIDCPR = "com.amazonaws.iam#AddClientIDToOpenIDConnectProviderRequest" -_OIDCPA = "OpenIDConnectProviderArn" -_CID = "ClientID" -_ACIDTOIDCPO = "AddClientIDToOpenIDConnectProviderOutput" -_ACIDTOIDCP = "AddClientIDToOpenIDConnectProvider" -_iPNT = "instanceProfileNameType" -_ARTIPI = "AddRoleToInstanceProfileInput" -_cARTIPR = "com.amazonaws.iam#AddRoleToInstanceProfileRequest" -_IPN = "InstanceProfileName" -_ARTIPO = "AddRoleToInstanceProfileOutput" -_uEM = "unmodifiableEntityMessage" -_UEE = "UnmodifiableEntityException" -_ARTIP = "AddRoleToInstanceProfile" -_gNT = "groupNameType" -_eUNT = "existingUserNameType" -_AUTGI = "AddUserToGroupInput" -_cAUTGR = "com.amazonaws.iam#AddUserToGroupRequest" -_GN = "GroupName" -_AUTGO = "AddUserToGroupOutput" -_AUTG = "AddUserToGroup" -_aU = "allUsers" -_ALT = "ArnListType" -_aEMT = "assertionEncryptionModeType" -_Re = "Required" -_Al = "Allowed" -_aST = "assignmentStatusType" -_As = "Assigned" -_U = "Unassigned" -_An = "Any" -_ADRIs = "AssociateDelegationRequestInput" -_cADRRo = "com.amazonaws.iam#AssociateDelegationRequestRequest" -_ADROs = "AssociateDelegationRequestOutput" -_ADRs = "AssociateDelegationRequest" -_pNT = "policyNameType" -_AP = "AttachedPolicy" -_PN = "PolicyName" -_PA = "PolicyArn" -_aPLT = "attachedPoliciesListType" -_AGPI = "AttachGroupPolicyInput" -_cAGPR = "com.amazonaws.iam#AttachGroupPolicyRequest" -_AGPO = "AttachGroupPolicyOutput" -_pNAM = "policyNotAttachableMessage" -_PNAE = "PolicyNotAttachableException" -_AGP = "AttachGroupPolicy" -_aCT = "attachmentCountType" -_AN = "AttachmentName" -_AT = "AttachmentType" -_USER = "USER" -_u = "user" -_GROUP = "GROUP" -_g = "group" -_ROLE = "ROLE" -_r = "role" -_ARPI = "AttachRolePolicyInput" -_cARPR = "com.amazonaws.iam#AttachRolePolicyRequest" -_ARPO = "AttachRolePolicyOutput" -_ARP = "AttachRolePolicy" -_AUPI = "AttachUserPolicyInput" -_cAUPR = "com.amazonaws.iam#AttachUserPolicyRequest" -_AUPO = "AttachUserPolicyOutput" -_AUP = "AttachUserPolicy" -_aCTu = "authenticationCodeType" -_pTa = "passwordType" -_CPI = "ChangePasswordInput" -_cCPR = "com.amazonaws.iam#ChangePasswordRequest" -_OP = "OldPassword" -_NP = "NewPassword" -_CPO = "ChangePasswordOutput" -_eTUM = "entityTemporarilyUnmodifiableMessage" -_ETUE = "EntityTemporarilyUnmodifiableException" -_iUTM = "invalidUserTypeMessage" -_IUTE = "InvalidUserTypeException" -_pPVM = "passwordPolicyViolationMessage" -_PPVE = "PasswordPolicyViolationException" -_CP = "ChangePassword" -_CAKI = "CreateAccessKeyInput" -_cCAKR = "com.amazonaws.iam#CreateAccessKeyRequest" -_CAKO = "CreateAccessKeyOutput" -_cCAKRo = "com.amazonaws.iam#CreateAccessKeyResponse" -_CAK = "CreateAccessKey" -_CAAI = "CreateAccountAliasInput" -_cCAAR = "com.amazonaws.iam#CreateAccountAliasRequest" -_AA = "AccountAlias" -_CAAO = "CreateAccountAliasOutput" -_CAA = "CreateAccountAlias" -_dRDT = "delegationRequestDescriptionType" -_nCT = "notificationChannelType" -_bT = "booleanType" -_smithy = "smithy.api#default" -_pPNT = "policyParameterNameType" -_PPTE = "PolicyParameterTypeEnum" -_STRING = "STRING" -_st = "string" -_SL_ = "STRING_LIST" -_sL = "stringList" -_pPVT = "policyParameterValueType" -_pPVLT = "policyParameterValuesListType" -_PP = "PolicyParameter" -_N = "Name" -_Ty = "Type" -_pPLT = "policyParameterListType" -_DP = "DelegationPermission" -_PTA = "PolicyTemplateArn" -_Par = "Parameters" -_rUT = "redirectUrlType" -_rMT = "requestMessageType" -_rWIT = "requestorWorkflowIdType" -_sDT = "sessionDurationType" -_CDRI = "CreateDelegationRequestInput" -_cCDRR = "com.amazonaws.iam#CreateDelegationRequestRequest" -_OAI = "OwnerAccountId" -_Pe = "Permissions" -_RM = "RequestMessage" -_RWI = "RequestorWorkflowId" -_RU = "RedirectUrl" -_NC = "NotificationChannel" -_SD = "SessionDuration" -_OSBO = "OnlySendByOwner" -_cDLT = "consoleDeepLinkType" -_CDRO = "CreateDelegationRequestOutput" -_cCDRRo = "com.amazonaws.iam#CreateDelegationRequestResponse" -_CDL = "ConsoleDeepLink" -_CDR = "CreateDelegationRequest" -_CGI = "CreateGroupInput" -_cCGR = "com.amazonaws.iam#CreateGroupRequest" -_G = "Group" -_GI = "GroupId" -_CGO = "CreateGroupOutput" -_cCGRo = "com.amazonaws.iam#CreateGroupResponse" -_CG = "CreateGroup" -_CIPI = "CreateInstanceProfileInput" -_cCIPR = "com.amazonaws.iam#CreateInstanceProfileRequest" -_rLT = "roleListType" -_IP = "InstanceProfile" -_IPI = "InstanceProfileId" -_Rol = "Roles" -_CIPO = "CreateInstanceProfileOutput" -_cCIPRo = "com.amazonaws.iam#CreateInstanceProfileResponse" -_CIP = "CreateInstanceProfile" -_CLPI = "CreateLoginProfileInput" -_cCLPR = "com.amazonaws.iam#CreateLoginProfileRequest" -_Pas = "Password" -_PRR = "PasswordResetRequired" -_LP = "LoginProfile" -_CLPO = "CreateLoginProfileOutput" -_cCLPRo = "com.amazonaws.iam#CreateLoginProfileResponse" -_CLP = "CreateLoginProfile" -_cIDLT = "clientIDListType" -_tT = "thumbprintType" -_tLTh = "thumbprintListType" -_OIDCPUT = "OpenIDConnectProviderUrlType" -_COIDCPI = "CreateOpenIDConnectProviderInput" -_cCOIDCPR = "com.amazonaws.iam#CreateOpenIDConnectProviderRequest" -_Ur = "Url" -_CIDL = "ClientIDList" -_TL = "ThumbprintList" -_COIDCPO = "CreateOpenIDConnectProviderOutput" -_cCOIDCPRo = "com.amazonaws.iam#CreateOpenIDConnectProviderResponse" -_oIICEEM = "openIdIdpCommunicationErrorExceptionMessage" -_OIICEE = "OpenIdIdpCommunicationErrorException" -_COIDCP = "CreateOpenIDConnectProvider" -_pDTo = "policyDescriptionType" -_pPT = "policyPathType" -_CPIr = "CreatePolicyInput" -_cCPRo = "com.amazonaws.iam#CreatePolicyRequest" -_PD = "PolicyDocument" -_pVIT = "policyVersionIdType" -_PI = "PolicyId" -_DVI = "DefaultVersionId" -_AC = "AttachmentCount" -_PBUC = "PermissionsBoundaryUsageCount" -_IA = "IsAttachable" -_UD = "UpdateDate" -_CPOr = "CreatePolicyOutput" -_cCPRom = "com.amazonaws.iam#CreatePolicyResponse" -_CPr = "CreatePolicy" -_CPVI = "CreatePolicyVersionInput" -_cCPVR = "com.amazonaws.iam#CreatePolicyVersionRequest" -_SAD = "SetAsDefault" -_PV = "PolicyVersion" -_Do = "Document" -_VI = "VersionId" -_IDV = "IsDefaultVersion" -_CPVO = "CreatePolicyVersionOutput" -_cCPVRo = "com.amazonaws.iam#CreatePolicyVersionResponse" -_CPV = "CreatePolicyVersion" -_CRI = "CreateRoleInput" -_cCRR = "com.amazonaws.iam#CreateRoleRequest" -_CRO = "CreateRoleOutput" -_cCRRo = "com.amazonaws.iam#CreateRoleResponse" -_CR = "CreateRole" -_pKT = "privateKeyType" -_SAMLPNT = "SAMLProviderNameType" -_SAMLMDT = "SAMLMetadataDocumentType" -_CSAMLPI = "CreateSAMLProviderInput" -_cCSAMLPR = "com.amazonaws.iam#CreateSAMLProviderRequest" -_SAMLMD = "SAMLMetadataDocument" -_AEM = "AssertionEncryptionMode" -_APK = "AddPrivateKey" -_CSAMLPO = "CreateSAMLProviderOutput" -_cCSAMLPRo = "com.amazonaws.iam#CreateSAMLProviderResponse" -_SAMLPA = "SAMLProviderArn" -_CSAMLP = "CreateSAMLProvider" -_cST = "customSuffixType" -_CSLRI = "CreateServiceLinkedRoleInput" -_cCSLRR = "com.amazonaws.iam#CreateServiceLinkedRoleRequest" -_AWSSN = "AWSServiceName" -_CS = "CustomSuffix" -_CSLRO = "CreateServiceLinkedRoleOutput" -_cCSLRRo = "com.amazonaws.iam#CreateServiceLinkedRoleResponse" -_CSLR = "CreateServiceLinkedRole" -_cAD = "credentialAgeDays" -_sN = "serviceName" -_CSSCI = "CreateServiceSpecificCredentialInput" -_cCSSCR = "com.amazonaws.iam#CreateServiceSpecificCredentialRequest" -_CAD = "CredentialAgeDays" -_sCA = "serviceCredentialAlias" -_sCS = "serviceCredentialSecret" -_sP = "servicePassword" -_sSCI = "serviceSpecificCredentialId" -_sUN = "serviceUserName" -_SSC = "ServiceSpecificCredential" -_ED = "ExpirationDate" -_SUN = "ServiceUserName" -_v_ = "" -_SP = "ServicePassword" -_SCA = "ServiceCredentialAlias" -_SCS = "ServiceCredentialSecret" -_SSCI = "ServiceSpecificCredentialId" -_CSSCO = "CreateServiceSpecificCredentialOutput" -_cCSSCRo = "com.amazonaws.iam#CreateServiceSpecificCredentialResponse" -_sNSM = "serviceNotSupportedMessage" -_SNSE = "ServiceNotSupportedException" -_CSSC = "CreateServiceSpecificCredential" -_CUI = "CreateUserInput" -_cCUR = "com.amazonaws.iam#CreateUserRequest" -_Us = "User" -_UI = "UserId" -_PLU = "PasswordLastUsed" -_CUO = "CreateUserOutput" -_cCURo = "com.amazonaws.iam#CreateUserResponse" -_CU = "CreateUser" -_vMFADN = "virtualMFADeviceName" -_CVMFADI = "CreateVirtualMFADeviceInput" -_cCVMFADR = "com.amazonaws.iam#CreateVirtualMFADeviceRequest" -_VMFADN = "VirtualMFADeviceName" -_BD = "BootstrapDatum" -_sNTer = "serialNumberType" -_VMFAD = "VirtualMFADevice" -_SNer = "SerialNumber" -_BSS = "Base32StringSeed" -_QRCPNG = "QRCodePNG" -_EDn = "EnableDate" -_CVMFADO = "CreateVirtualMFADeviceOutput" -_cCVMFADRo = "com.amazonaws.iam#CreateVirtualMFADeviceResponse" -_CVMFAD = "CreateVirtualMFADevice" -_DMFADI = "DeactivateMFADeviceInput" -_cDMFADR = "com.amazonaws.iam#DeactivateMFADeviceRequest" -_DMFADO = "DeactivateMFADeviceOutput" -_DMFAD = "DeactivateMFADevice" -_DAKI = "DeleteAccessKeyInput" -_cDAKR = "com.amazonaws.iam#DeleteAccessKeyRequest" -_DAKO = "DeleteAccessKeyOutput" -_DAK = "DeleteAccessKey" -_DAAI = "DeleteAccountAliasInput" -_cDAAR = "com.amazonaws.iam#DeleteAccountAliasRequest" -_DAAO = "DeleteAccountAliasOutput" -_DAA = "DeleteAccountAlias" -_DAPPI = "DeleteAccountPasswordPolicyInput" -_DAPPO = "DeleteAccountPasswordPolicyOutput" -_DAPP = "DeleteAccountPasswordPolicy" -_dCM = "deleteConflictMessage" -_DCE = "DeleteConflictException" -_DGI = "DeleteGroupInput" -_cDGR = "com.amazonaws.iam#DeleteGroupRequest" -_DGO = "DeleteGroupOutput" -_DG = "DeleteGroup" -_DGPI = "DeleteGroupPolicyInput" -_cDGPR = "com.amazonaws.iam#DeleteGroupPolicyRequest" -_DGPO = "DeleteGroupPolicyOutput" -_DGP = "DeleteGroupPolicy" -_DIPI = "DeleteInstanceProfileInput" -_cDIPR = "com.amazonaws.iam#DeleteInstanceProfileRequest" -_DIPO = "DeleteInstanceProfileOutput" -_DIP = "DeleteInstanceProfile" -_DLPI = "DeleteLoginProfileInput" -_cDLPR = "com.amazonaws.iam#DeleteLoginProfileRequest" -_DLPO = "DeleteLoginProfileOutput" -_DLP = "DeleteLoginProfile" -_DOIDCPI = "DeleteOpenIDConnectProviderInput" -_cDOIDCPR = "com.amazonaws.iam#DeleteOpenIDConnectProviderRequest" -_DOIDCPO = "DeleteOpenIDConnectProviderOutput" -_DOIDCP = "DeleteOpenIDConnectProvider" -_DPI = "DeletePolicyInput" -_cDPR = "com.amazonaws.iam#DeletePolicyRequest" -_DPO = "DeletePolicyOutput" -_DPe = "DeletePolicy" -_DPVI = "DeletePolicyVersionInput" -_cDPVR = "com.amazonaws.iam#DeletePolicyVersionRequest" -_DPVO = "DeletePolicyVersionOutput" -_DPV = "DeletePolicyVersion" -_DRIe = "DeleteRoleInput" -_cDRR = "com.amazonaws.iam#DeleteRoleRequest" -_DRO = "DeleteRoleOutput" -_DR = "DeleteRole" -_DRPBI = "DeleteRolePermissionsBoundaryInput" -_cDRPBR = "com.amazonaws.iam#DeleteRolePermissionsBoundaryRequest" -_DRPBO = "DeleteRolePermissionsBoundaryOutput" -_DRPB = "DeleteRolePermissionsBoundary" -_DRPI = "DeleteRolePolicyInput" -_cDRPR = "com.amazonaws.iam#DeleteRolePolicyRequest" -_DRPO = "DeleteRolePolicyOutput" -_DRP = "DeleteRolePolicy" -_DSAMLPI = "DeleteSAMLProviderInput" -_cDSAMLPR = "com.amazonaws.iam#DeleteSAMLProviderRequest" -_DSAMLPO = "DeleteSAMLProviderOutput" -_DSAMLP = "DeleteSAMLProvider" -_sCNT = "serverCertificateNameType" -_DSCI = "DeleteServerCertificateInput" -_cDSCR = "com.amazonaws.iam#DeleteServerCertificateRequest" -_SCN = "ServerCertificateName" -_DSCO = "DeleteServerCertificateOutput" -_DSC = "DeleteServerCertificate" -_DSLRI = "DeleteServiceLinkedRoleInput" -_cDSLRR = "com.amazonaws.iam#DeleteServiceLinkedRoleRequest" -_DTIT = "DeletionTaskIdType" -_DSLRO = "DeleteServiceLinkedRoleOutput" -_cDSLRRo = "com.amazonaws.iam#DeleteServiceLinkedRoleResponse" -_DTI = "DeletionTaskId" -_DSLR = "DeleteServiceLinkedRole" -_DSSCI = "DeleteServiceSpecificCredentialInput" -_cDSSCR = "com.amazonaws.iam#DeleteServiceSpecificCredentialRequest" -_DSSCO = "DeleteServiceSpecificCredentialOutput" -_DSSC = "DeleteServiceSpecificCredential" -_cIT = "certificateIdType" -_DSCIe = "DeleteSigningCertificateInput" -_cDSCRo = "com.amazonaws.iam#DeleteSigningCertificateRequest" -_CI = "CertificateId" -_DSCOe = "DeleteSigningCertificateOutput" -_DSCe = "DeleteSigningCertificate" -_pKIT = "publicKeyIdType" -_DSSHPKI = "DeleteSSHPublicKeyInput" -_cDSSHPKR = "com.amazonaws.iam#DeleteSSHPublicKeyRequest" -_SSHPKI = "SSHPublicKeyId" -_DSSHPKO = "DeleteSSHPublicKeyOutput" -_DSSHPK = "DeleteSSHPublicKey" -_DUI = "DeleteUserInput" -_cDUR = "com.amazonaws.iam#DeleteUserRequest" -_DUO = "DeleteUserOutput" -_DU = "DeleteUser" -_DUPBI = "DeleteUserPermissionsBoundaryInput" -_cDUPBR = "com.amazonaws.iam#DeleteUserPermissionsBoundaryRequest" -_DUPBO = "DeleteUserPermissionsBoundaryOutput" -_DUPB = "DeleteUserPermissionsBoundary" -_DUPI = "DeleteUserPolicyInput" -_cDUPR = "com.amazonaws.iam#DeleteUserPolicyRequest" -_DUPO = "DeleteUserPolicyOutput" -_DUP = "DeleteUserPolicy" -_DVMFADI = "DeleteVirtualMFADeviceInput" -_cDVMFADR = "com.amazonaws.iam#DeleteVirtualMFADeviceRequest" -_DVMFADO = "DeleteVirtualMFADeviceOutput" -_DVMFAD = "DeleteVirtualMFADevice" -_DGPIe = "DetachGroupPolicyInput" -_cDGPRo = "com.amazonaws.iam#DetachGroupPolicyRequest" -_DGPOe = "DetachGroupPolicyOutput" -_DGPe = "DetachGroupPolicy" -_DRPIe = "DetachRolePolicyInput" -_cDRPRo = "com.amazonaws.iam#DetachRolePolicyRequest" -_DRPOe = "DetachRolePolicyOutput" -_DRPe = "DetachRolePolicy" -_DUPIe = "DetachUserPolicyInput" -_cDUPRo = "com.amazonaws.iam#DetachUserPolicyRequest" -_DUPOe = "DetachUserPolicyOutput" -_DUPe = "DetachUserPolicy" -_DORCMI = "DisableOrganizationsRootCredentialsManagementInput" -_cDORCMR = "com.amazonaws.iam#DisableOrganizationsRootCredentialsManagementRequest" -_FT = "FeatureType" -_RCM = "ROOT_CREDENTIALS_MANAGEMENT" -_RCMo = "RootCredentialsManagement" -_RS = "ROOT_SESSIONS" -_RSo = "RootSessions" -_FLT = "FeaturesListType" -_OIT = "OrganizationIdType" -_DORCMO = "DisableOrganizationsRootCredentialsManagementOutput" -_cDORCMRo = "com.amazonaws.iam#DisableOrganizationsRootCredentialsManagementResponse" -_OI = "OrganizationId" -_EF = "EnabledFeatures" -_ONFE = "OrganizationNotFoundException" -_ONIAFME = "OrganizationNotInAllFeaturesModeException" -_SANEE = "ServiceAccessNotEnabledException" -_DORCM = "DisableOrganizationsRootCredentialsManagement" -_DORSI = "DisableOrganizationsRootSessionsInput" -_cDORSR = "com.amazonaws.iam#DisableOrganizationsRootSessionsRequest" -_DORSO = "DisableOrganizationsRootSessionsOutput" -_cDORSRo = "com.amazonaws.iam#DisableOrganizationsRootSessionsResponse" -_DORS = "DisableOrganizationsRootSessions" -_DOWIFI = "DisableOutboundWebIdentityFederationInput" -_DOWIFO = "DisableOutboundWebIdentityFederationOutput" -_FDM = "FeatureDisabledMessage" -_FDE = "FeatureDisabledException" -_DOWIF = "DisableOutboundWebIdentityFederation" -_EMFADI = "EnableMFADeviceInput" -_cEMFADR = "com.amazonaws.iam#EnableMFADeviceRequest" -_ACu = "AuthenticationCode1" -_ACut = "AuthenticationCode2" -_EMFADO = "EnableMFADeviceOutput" -_iACM = "invalidAuthenticationCodeMessage" -_IACE = "InvalidAuthenticationCodeException" -_EMFAD = "EnableMFADevice" -_CINMAE = "CallerIsNotManagementAccountException" -_EORCMI = "EnableOrganizationsRootCredentialsManagementInput" -_cEORCMR = "com.amazonaws.iam#EnableOrganizationsRootCredentialsManagementRequest" -_EORCMO = "EnableOrganizationsRootCredentialsManagementOutput" -_cEORCMRo = "com.amazonaws.iam#EnableOrganizationsRootCredentialsManagementResponse" -_EORCM = "EnableOrganizationsRootCredentialsManagement" -_EORSI = "EnableOrganizationsRootSessionsInput" -_cEORSR = "com.amazonaws.iam#EnableOrganizationsRootSessionsRequest" -_EORSO = "EnableOrganizationsRootSessionsOutput" -_cEORSRo = "com.amazonaws.iam#EnableOrganizationsRootSessionsResponse" -_EORS = "EnableOrganizationsRootSessions" -_EOWIFI = "EnableOutboundWebIdentityFederationInput" -_EOWIFO = "EnableOutboundWebIdentityFederationOutput" -_cEOWIFR = "com.amazonaws.iam#EnableOutboundWebIdentityFederationResponse" -_II = "IssuerIdentifier" -_FEM = "FeatureEnabledMessage" -_FEE = "FeatureEnabledException" -_EOWIF = "EnableOutboundWebIdentityFederation" -_GCRI = "GenerateCredentialReportInput" -_RSDT = "ReportStateDescriptionType" -_RST = "ReportStateType" -_STARTED = "STARTED" -_INPROGRESS = "INPROGRESS" -_COMPLETE = "COMPLETE" -_GCRO = "GenerateCredentialReportOutput" -_cGCRR = "com.amazonaws.iam#GenerateCredentialReportResponse" -_St = "State" -_GCR = "GenerateCredentialReport" -_oPIT = "organizationsPolicyIdType" -_GOARI = "GenerateOrganizationsAccessReportInput" -_cGOARR = "com.amazonaws.iam#GenerateOrganizationsAccessReportRequest" -_OPI = "OrganizationsPolicyId" -_jIDT = "jobIDType" -_GOARO = "GenerateOrganizationsAccessReportOutput" -_cGOARRo = "com.amazonaws.iam#GenerateOrganizationsAccessReportResponse" -_JI = "JobId" -_rGLEM = "reportGenerationLimitExceededMessage" -_RGLEE = "ReportGenerationLimitExceededException" -_GOAR = "GenerateOrganizationsAccessReport" -_GSLADI = "GenerateServiceLastAccessedDetailsInput" -_cGSLADR = "com.amazonaws.iam#GenerateServiceLastAccessedDetailsRequest" -_Gr = "Granularity" -_GSLADO = "GenerateServiceLastAccessedDetailsOutput" -_cGSLADRo = "com.amazonaws.iam#GenerateServiceLastAccessedDetailsResponse" -_GSLAD = "GenerateServiceLastAccessedDetails" -_GAKLUI = "GetAccessKeyLastUsedInput" -_cGAKLUR = "com.amazonaws.iam#GetAccessKeyLastUsedRequest" -_GAKLUO = "GetAccessKeyLastUsedOutput" -_cGAKLURo = "com.amazonaws.iam#GetAccessKeyLastUsedResponse" -_GAKLU = "GetAccessKeyLastUsed" -_ET = "EntityType" -_LMP = "LocalManagedPolicy" -_AWSMP = "AWSManagedPolicy" -_eLT = "entityListType" -_mT = "markerType" -_mIT = "maxItemsType" -_GAADI = "GetAccountAuthorizationDetailsInput" -_cGAADR = "com.amazonaws.iam#GetAccountAuthorizationDetailsRequest" -_F = "Filter" -_MI = "MaxItems" -_Ma = "Marker" -_PDo = "PolicyDetail" -_pDLT = "policyDetailListType" -_GD = "GroupDetail" -_GPL = "GroupPolicyList" -_AMP = "AttachedManagedPolicies" -_gDLT = "groupDetailListType" -_rMTe = "responseMarkerType" -_pDVLT = "policyDocumentVersionListType" -_MPD = "ManagedPolicyDetail" -_PVL = "PolicyVersionList" -_MPDLT = "ManagedPolicyDetailListType" -_iPLT = "instanceProfileListType" -_RD = "RoleDetail" -_IPL = "InstanceProfileList" -_RPL = "RolePolicyList" -_rDLT = "roleDetailListType" -_gNLT = "groupNameListType" -_UDs = "UserDetail" -_UPL = "UserPolicyList" -_GL = "GroupList" -_uDLT = "userDetailListType" -_GAADO = "GetAccountAuthorizationDetailsOutput" -_cGAADRo = "com.amazonaws.iam#GetAccountAuthorizationDetailsResponse" -_UDL = "UserDetailList" -_GDL = "GroupDetailList" -_RDL = "RoleDetailList" -_Po = "Policies" -_IT = "IsTruncated" -_GAAD = "GetAccountAuthorizationDetails" -_GAPPI = "GetAccountPasswordPolicyInput" -_bOT = "booleanObjectType" -_mPAT = "maxPasswordAgeType" -_mPLT = "minimumPasswordLengthType" -_pRPT = "passwordReusePreventionType" -_PPa = "PasswordPolicy" -_MPL = "MinimumPasswordLength" -_RSe = "RequireSymbols" -_RNe = "RequireNumbers" -_RUC = "RequireUppercaseCharacters" -_RLC = "RequireLowercaseCharacters" -_AUTCP = "AllowUsersToChangePassword" -_EPx = "ExpirePasswords" -_MPA = "MaxPasswordAge" -_PRP = "PasswordReusePrevention" -_HE = "HardExpiry" -_GAPPO = "GetAccountPasswordPolicyOutput" -_cGAPPR = "com.amazonaws.iam#GetAccountPasswordPolicyResponse" -_GAPP = "GetAccountPasswordPolicy" -_GAPI = "GetAccountPropertiesInput" -_cGAPR = "com.amazonaws.iam#GetAccountPropertiesRequest" -_GAPO = "GetAccountPropertiesOutput" -_cGAPRo = "com.amazonaws.iam#GetAccountPropertiesResponse" -_Pr = "Properties" -_GAP = "GetAccountProperties" -_GASI = "GetAccountSummaryInput" -_sKT = "summaryKeyType" -_Use = "Users" -_UQ = "UsersQuota" -_Gro = "Groups" -_GQ = "GroupsQuota" -_SC = "ServerCertificates" -_SCQ = "ServerCertificatesQuota" -_UPSQ = "UserPolicySizeQuota" -_GPSQ = "GroupPolicySizeQuota" -_GPUQ = "GroupsPerUserQuota" -_SCPUQ = "SigningCertificatesPerUserQuota" -_AKPUQ = "AccessKeysPerUserQuota" -_MFAD = "MFADevices" -_MFADIU = "MFADevicesInUse" -_AMFAE = "AccountMFAEnabled" -_AAKP = "AccountAccessKeysPresent" -_APP = "AccountPasswordPresent" -_ASCP = "AccountSigningCertificatesPresent" -_APPGQ = "AttachedPoliciesPerGroupQuota" -_APPRQ = "AttachedPoliciesPerRoleQuota" -_APPUQ = "AttachedPoliciesPerUserQuota" -_PQ = "PoliciesQuota" -_PSQ = "PolicySizeQuota" -_PVIU = "PolicyVersionsInUse" -_PVIUQ = "PolicyVersionsInUseQuota" -_VPPQ = "VersionsPerPolicyQuota" -_GETV = "GlobalEndpointTokenVersion" -_ARPSQ = "AssumeRolePolicySizeQuota" -_IPn = "InstanceProfiles" -_IPQ = "InstanceProfilesQuota" -_Pro = "Providers" -_RPSQ = "RolePolicySizeQuota" -_RQ = "RolesQuota" -_sVT = "summaryValueType" -_sMT = "summaryMapType" -_GASO = "GetAccountSummaryOutput" -_cGASR = "com.amazonaws.iam#GetAccountSummaryResponse" -_SM = "SummaryMap" -_GAS = "GetAccountSummary" -_SPLT = "SimulationPolicyListType" -_GCKFCPI = "GetContextKeysForCustomPolicyInput" -_cGCKFCPR = "com.amazonaws.iam#GetContextKeysForCustomPolicyRequest" -_PIL = "PolicyInputList" -_CKNT = "ContextKeyNameType" -_CKNRLT = "ContextKeyNamesResultListType" -_GCKFCPO = "GetContextKeysForCustomPolicyOutput" -_cGCKFPR = "com.amazonaws.iam#GetContextKeysForPolicyResponse" -_CKN = "ContextKeyNames" -_GCKFCP = "GetContextKeysForCustomPolicy" -_GCKFPPI = "GetContextKeysForPrincipalPolicyInput" -_cGCKFPPR = "com.amazonaws.iam#GetContextKeysForPrincipalPolicyRequest" -_PSA = "PolicySourceArn" -_GCKFPPO = "GetContextKeysForPrincipalPolicyOutput" -_GCKFPP = "GetContextKeysForPrincipalPolicy" -_cREEM = "credentialReportExpiredExceptionMessage" -_CREE = "CredentialReportExpiredException" -_cRNPEM = "credentialReportNotPresentExceptionMessage" -_CRNPE = "CredentialReportNotPresentException" -_cRNREM = "credentialReportNotReadyExceptionMessage" -_CRNRE = "CredentialReportNotReadyException" -_GCRIe = "GetCredentialReportInput" -_RCT = "ReportContentType" -_RFT = "ReportFormatType" -_tc = "text_csv" -_t = "text/csv" -_GCROe = "GetCredentialReportOutput" -_cGCRRo = "com.amazonaws.iam#GetCredentialReportResponse" -_C = "Content" -_RF = "ReportFormat" -_GT = "GeneratedTime" -_GCRe = "GetCredentialReport" -_GDRI = "GetDelegationRequestInput" -_cGDRR = "com.amazonaws.iam#GetDelegationRequestRequest" -_DPC = "DelegationPermissionCheck" -_nT = "notesType" -_oIT = "ownerIdType" -_pTe = "permissionType" -_rNTe = "requestorNameType" -_rPRALT = "rolePermissionRestrictionArnListType" -_sTta = "stateType" -_UNASSIGNED = "UNASSIGNED" -_ASSIGNED = "ASSIGNED" -_PA_ = "PENDING_APPROVAL" -_FINALIZED = "FINALIZED" -_ACCEPTED = "ACCEPTED" -_REJECTED = "REJECTED" -_EXPIRED = "EXPIRED" -_DRe = "DelegationRequest" -_PPe = "PermissionPolicy" -_RPRA = "RolePermissionRestrictionArns" -_OIw = "OwnerId" -_AI = "ApproverId" -_ETx = "ExpirationTime" -_RIe = "RequestorId" -_RNeq = "RequestorName" -_No = "Notes" -_RR = "RejectionReason" -_UT = "UpdatedTime" -_pCRT = "permissionCheckResultType" -_ALLOWED = "ALLOWED" -_DENIED = "DENIED" -_UNSURE = "UNSURE" -_pCST = "permissionCheckStatusType" -_IP_ = "IN_PROGRESS" -_FAILED = "FAILED" -_GDRO = "GetDelegationRequestOutput" -_cGDRRo = "com.amazonaws.iam#GetDelegationRequestResponse" -_PCS = "PermissionCheckStatus" -_PCR = "PermissionCheckResult" -_GDR = "GetDelegationRequest" -_GGI = "GetGroupInput" -_cGGR = "com.amazonaws.iam#GetGroupRequest" -_uLT = "userListType" -_GGO = "GetGroupOutput" -_cGGRo = "com.amazonaws.iam#GetGroupResponse" -_GG = "GetGroup" -_GGPI = "GetGroupPolicyInput" -_cGGPR = "com.amazonaws.iam#GetGroupPolicyRequest" -_GGPO = "GetGroupPolicyOutput" -_cGGPRo = "com.amazonaws.iam#GetGroupPolicyResponse" -_GGP = "GetGroupPolicy" -_lT = "localeType" -_GHRSI = "GetHumanReadableSummaryInput" -_cGHRSR = "com.amazonaws.iam#GetHumanReadableSummaryRequest" -_EA = "EntityArn" -_L = "Locale" -_sCT = "summaryContentType" -_sST = "summaryStateType" -_AVAILABLE = "AVAILABLE" -_NA = "NOT_AVAILABLE" -_NS = "NOT_SUPPORTED" -_GHRSO = "GetHumanReadableSummaryOutput" -_cGHRSRo = "com.amazonaws.iam#GetHumanReadableSummaryResponse" -_SCu = "SummaryContent" -_SS = "SummaryState" -_GHRS = "GetHumanReadableSummary" -_GIPI = "GetInstanceProfileInput" -_cGIPR = "com.amazonaws.iam#GetInstanceProfileRequest" -_GIPO = "GetInstanceProfileOutput" -_cGIPRo = "com.amazonaws.iam#GetInstanceProfileResponse" -_GIP = "GetInstanceProfile" -_GLPI = "GetLoginProfileInput" -_cGLPR = "com.amazonaws.iam#GetLoginProfileRequest" -_GLPO = "GetLoginProfileOutput" -_cGLPRo = "com.amazonaws.iam#GetLoginProfileResponse" -_GLP = "GetLoginProfile" -_GMFADI = "GetMFADeviceInput" -_cGMFADR = "com.amazonaws.iam#GetMFADeviceRequest" -_CKT = "CertificationKeyType" -_CVT = "CertificationValueType" -_CMT = "CertificationMapType" -_GMFADO = "GetMFADeviceOutput" -_cGMFADRo = "com.amazonaws.iam#GetMFADeviceResponse" -_Ce = "Certifications" -_GMFAD = "GetMFADevice" -_GOIDCPI = "GetOpenIDConnectProviderInput" -_cGOIDCPR = "com.amazonaws.iam#GetOpenIDConnectProviderRequest" -_GOIDCPO = "GetOpenIDConnectProviderOutput" -_cGOIDCPRo = "com.amazonaws.iam#GetOpenIDConnectProviderResponse" -_GOIDCP = "GetOpenIDConnectProvider" -_sKTo = "sortKeyType" -_SNA = "SERVICE_NAMESPACE_ASCENDING" -_SND = "SERVICE_NAMESPACE_DESCENDING" -_LATA = "LAST_AUTHENTICATED_TIME_ASCENDING" -_LATD = "LAST_AUTHENTICATED_TIME_DESCENDING" -_GOARIe = "GetOrganizationsAccessReportInput" -_cGOARRom = "com.amazonaws.iam#GetOrganizationsAccessReportRequest" -_SK = "SortKey" -_EDr = "ErrorDetails" -_Co = "Code" -_jST = "jobStatusType" -_COMPLETED = "COMPLETED" -_GOAROe = "GetOrganizationsAccessReportOutput" -_cGOARRoma = "com.amazonaws.iam#GetOrganizationsAccessReportResponse" -_JS = "JobStatus" -_JCD = "JobCreationDate" -_JCDo = "JobCompletionDate" -_NOSA = "NumberOfServicesAccessible" -_NOSNA = "NumberOfServicesNotAccessed" -_GOARe = "GetOrganizationsAccessReport" -_GOWIFII = "GetOutboundWebIdentityFederationInfoInput" -_GOWIFIO = "GetOutboundWebIdentityFederationInfoOutput" -_cGOWIFIR = "com.amazonaws.iam#GetOutboundWebIdentityFederationInfoResponse" -_JVE = "JwtVendingEnabled" -_GOWIFI = "GetOutboundWebIdentityFederationInfo" -_GPI = "GetPolicyInput" -_cGPR = "com.amazonaws.iam#GetPolicyRequest" -_GPO = "GetPolicyOutput" -_cGPRo = "com.amazonaws.iam#GetPolicyResponse" -_GP = "GetPolicy" -_GPVI = "GetPolicyVersionInput" -_cGPVR = "com.amazonaws.iam#GetPolicyVersionRequest" -_GPVO = "GetPolicyVersionOutput" -_cGPVRo = "com.amazonaws.iam#GetPolicyVersionResponse" -_GPV = "GetPolicyVersion" -_GRI = "GetRoleInput" -_cGRR = "com.amazonaws.iam#GetRoleRequest" -_GRO = "GetRoleOutput" -_cGRRo = "com.amazonaws.iam#GetRoleResponse" -_GR = "GetRole" -_GRPI = "GetRolePolicyInput" -_cGRPR = "com.amazonaws.iam#GetRolePolicyRequest" -_GRPO = "GetRolePolicyOutput" -_cGRPRo = "com.amazonaws.iam#GetRolePolicyResponse" -_GRP = "GetRolePolicy" -_mVT = "minorVersionType" -_GRTVI = "GetRoleTemplateVersionInput" -_cGRTVR = "com.amazonaws.iam#GetRoleTemplateVersionRequest" -_MV = "MinorVersion" -_rTDT = "roleTemplateDescriptionType" -_IPnl = "InlinePolicy" -_iPTLT = "inlinePolicyTemplateListType" -_mBTT = "managedByTypeType" -_Se = "Service" -_mBVT = "managedByValueType" -_mPALT = "managedPolicyArnListType" -_pDVT = "parameterDefaultValueType" -_pDTa = "parameterDescriptionType" -_pNTa = "parameterNameType" -_pSTT = "parameterSubTypeType" -_pTT = "parameterTypeType" -_Str = "String" -_SLt = "StringList" -_Nu = "Number" -_NL = "NumberList" -_ALr = "ArnList" -_PDa = "ParameterDefinition" -_ST = "SubType" -_IR = "IsRequired" -_DV = "DefaultValue" -_Im = "Immutable" -_pDLTa = "parametersDefinitionListType" -_rDPT = "roleDescriptionPatternType" -_rNPT = "roleNamePatternType" -_rPPT = "rolePathPatternType" -_tTKT = "tagTemplateKeyType" -_tTVT = "tagTemplateValueType" -_TT = "TagTemplate" -_tTLT = "tagTemplateListType" -_rTNT = "roleTemplateNameType" -_RTV = "RoleTemplateVersion" -_TN = "TemplateName" -_TVI = "TemplateVersionId" -_MVa = "MajorVersion" -_DMV = "DefaultMinorVersion" -_MBT = "ManagedByType" -_MBV = "ManagedByValue" -_En = "Enabled" -_RNP = "RoleNamePattern" -_RPP = "RolePathPattern" -_RDP = "RoleDescriptionPattern" -_ARPDT = "AssumeRolePolicyDocumentTemplate" -_IPT = "InlinePolicyTemplates" -_MPAa = "ManagedPolicyArns" -_PBAe = "PermissionBoundaryArn" -_PDar = "ParametersDefinition" -_RTT = "RoleTagsTemplate" -_VE = "VersionEnabled" -_CT = "CreateTimestamp" -_UTp = "UpdateTimestamp" -_GRTVO = "GetRoleTemplateVersionOutput" -_cGRTVRo = "com.amazonaws.iam#GetRoleTemplateVersionResponse" -_GRTV = "GetRoleTemplateVersion" -_GSAMLPI = "GetSAMLProviderInput" -_cGSAMLPR = "com.amazonaws.iam#GetSAMLProviderRequest" -_pKITr = "privateKeyIdType" -_SAMLPK = "SAMLPrivateKey" -_KI = "KeyId" -_Ti = "Timestamp" -_pKL = "privateKeyList" -_GSAMLPO = "GetSAMLProviderOutput" -_cGSAMLPRo = "com.amazonaws.iam#GetSAMLProviderResponse" -_SAMLPUUID = "SAMLProviderUUID" -_VU = "ValidUntil" -_PKL = "PrivateKeyList" -_GSAMLP = "GetSAMLProvider" -_GSCI = "GetServerCertificateInput" -_cGSCR = "com.amazonaws.iam#GetServerCertificateRequest" -_cBT = "certificateBodyType" -_cCT = "certificateChainType" -_SCM = "ServerCertificateMetadata" -_SCI = "ServerCertificateId" -_UDp = "UploadDate" -_Ex = "Expiration" -_SCe = "ServerCertificate" -_CB = "CertificateBody" -_CC = "CertificateChain" -_GSCO = "GetServerCertificateOutput" -_cGSCRo = "com.amazonaws.iam#GetServerCertificateResponse" -_GSC = "GetServerCertificate" -_GSLADIe = "GetServiceLastAccessedDetailsInput" -_cGSLADRom = "com.amazonaws.iam#GetServiceLastAccessedDetailsRequest" -_TALA = "TrackedActionLastAccessed" -_ANc = "ActionName" -_LAE = "LastAccessedEntity" -_LATa = "LastAccessedTime" -_LAR = "LastAccessedRegion" -_TALAr = "TrackedActionsLastAccessed" -_SLA = "ServiceLastAccessed" -_LA = "LastAuthenticated" -_LAEa = "LastAuthenticatedEntity" -_LARa = "LastAuthenticatedRegion" -_SLAe = "ServicesLastAccessed" -_GSLADOe = "GetServiceLastAccessedDetailsOutput" -_cGSLADRoma = "com.amazonaws.iam#GetServiceLastAccessedDetailsResponse" -_JT = "JobType" -_Er = "Error" -_GSLADe = "GetServiceLastAccessedDetails" -_GSLADWEI = "GetServiceLastAccessedDetailsWithEntitiesInput" -_cGSLADWER = "com.amazonaws.iam#GetServiceLastAccessedDetailsWithEntitiesRequest" -_pOET = "policyOwnerEntityType" -_EI = "EntityInfo" -_Id = "Id" -_EDnt = "EntityDetails" -_eDLT = "entityDetailsListType" -_GSLADWEO = "GetServiceLastAccessedDetailsWithEntitiesOutput" -_cGSLADWERo = "com.amazonaws.iam#GetServiceLastAccessedDetailsWithEntitiesResponse" -_EDL = "EntityDetailsList" -_GSLADWE = "GetServiceLastAccessedDetailsWithEntities" -_GSLRDSI = "GetServiceLinkedRoleDeletionStatusInput" -_cGSLRDSR = "com.amazonaws.iam#GetServiceLinkedRoleDeletionStatusRequest" -_RT = "ReasonType" -_RNT = "RegionNameType" -_RUT = "RoleUsageType" -_Res = "Resources" -_RULT = "RoleUsageListType" -_DTFRT = "DeletionTaskFailureReasonType" -_Rea = "Reason" -_RUL = "RoleUsageList" -_DTST = "DeletionTaskStatusType" -_SUCCEEDED = "SUCCEEDED" -_NS_ = "NOT_STARTED" -_GSLRDSO = "GetServiceLinkedRoleDeletionStatusOutput" -_cGSLRDSRo = "com.amazonaws.iam#GetServiceLinkedRoleDeletionStatusResponse" -_GSLRDS = "GetServiceLinkedRoleDeletionStatus" -_eT = "encodingType" -_SSH = "SSH" -_PEM = "PEM" -_GSSHPKI = "GetSSHPublicKeyInput" -_cGSSHPKR = "com.amazonaws.iam#GetSSHPublicKeyRequest" -_Enc = "Encoding" -_pKFT = "publicKeyFingerprintType" -_pKMT = "publicKeyMaterialType" -_SSHPK = "SSHPublicKey" -_Fi = "Fingerprint" -_SSHPKB = "SSHPublicKeyBody" -_GSSHPKO = "GetSSHPublicKeyOutput" -_cGSSHPKRo = "com.amazonaws.iam#GetSSHPublicKeyResponse" -_uPKEM = "unrecognizedPublicKeyEncodingMessage" -_UPKEE = "UnrecognizedPublicKeyEncodingException" -_GSSHPK = "GetSSHPublicKey" -_GUI = "GetUserInput" -_cGUR = "com.amazonaws.iam#GetUserRequest" -_GUO = "GetUserOutput" -_cGURo = "com.amazonaws.iam#GetUserResponse" -_GU = "GetUser" -_GUPI = "GetUserPolicyInput" -_cGUPR = "com.amazonaws.iam#GetUserPolicyRequest" -_GUPO = "GetUserPolicyOutput" -_cGUPRo = "com.amazonaws.iam#GetUserPolicyResponse" -_GUP = "GetUserPolicy" -_LAKI = "ListAccessKeysInput" -_cLAKR = "com.amazonaws.iam#ListAccessKeysRequest" -_LAKO = "ListAccessKeysOutput" -_cLAKRo = "com.amazonaws.iam#ListAccessKeysResponse" -_LAK = "ListAccessKeys" -_LAAI = "ListAccountAliasesInput" -_cLAAR = "com.amazonaws.iam#ListAccountAliasesRequest" -_LAAO = "ListAccountAliasesOutput" -_cLAARo = "com.amazonaws.iam#ListAccountAliasesResponse" -_AAc = "AccountAliases" -_LAA = "ListAccountAliases" -_LAGPI = "ListAttachedGroupPoliciesInput" -_cLAGPR = "com.amazonaws.iam#ListAttachedGroupPoliciesRequest" -_PPat = "PathPrefix" -_LAGPO = "ListAttachedGroupPoliciesOutput" -_cLAGPRo = "com.amazonaws.iam#ListAttachedGroupPoliciesResponse" -_APt = "AttachedPolicies" -_LAGP = "ListAttachedGroupPolicies" -_LARPI = "ListAttachedRolePoliciesInput" -_cLARPR = "com.amazonaws.iam#ListAttachedRolePoliciesRequest" -_LARPO = "ListAttachedRolePoliciesOutput" -_cLARPRo = "com.amazonaws.iam#ListAttachedRolePoliciesResponse" -_LARP = "ListAttachedRolePolicies" -_LAUPI = "ListAttachedUserPoliciesInput" -_cLAUPR = "com.amazonaws.iam#ListAttachedUserPoliciesRequest" -_LAUPO = "ListAttachedUserPoliciesOutput" -_cLAUPRo = "com.amazonaws.iam#ListAttachedUserPoliciesResponse" -_LAUP = "ListAttachedUserPolicies" -_LDRI = "ListDelegationRequestsInput" -_cLDRR = "com.amazonaws.iam#ListDelegationRequestsRequest" -_dRLT = "delegationRequestsListType" -_LDRO = "ListDelegationRequestsOutput" -_cLDRRo = "com.amazonaws.iam#ListDelegationRequestsResponse" -_DRel = "DelegationRequests" -_iTs = "isTruncated" -_LDR = "ListDelegationRequests" -_PUT = "PolicyUsageType" -_PPer = "PermissionsPolicy" -_LEFPI = "ListEntitiesForPolicyInput" -_cLEFPR = "com.amazonaws.iam#ListEntitiesForPolicyRequest" -_EFn = "EntityFilter" -_PUF = "PolicyUsageFilter" -_PG = "PolicyGroup" -_PGLT = "PolicyGroupListType" -_PR = "PolicyRole" -_PRLT = "PolicyRoleListType" -_PU = "PolicyUser" -_PULT = "PolicyUserListType" -_LEFPO = "ListEntitiesForPolicyOutput" -_cLEFPRo = "com.amazonaws.iam#ListEntitiesForPolicyResponse" -_PGo = "PolicyGroups" -_PUo = "PolicyUsers" -_PRo = "PolicyRoles" -_LEFP = "ListEntitiesForPolicy" -_LGPI = "ListGroupPoliciesInput" -_cLGPR = "com.amazonaws.iam#ListGroupPoliciesRequest" -_pNLT = "policyNameListType" -_LGPO = "ListGroupPoliciesOutput" -_cLGPRo = "com.amazonaws.iam#ListGroupPoliciesResponse" -_PNo = "PolicyNames" -_LGP = "ListGroupPolicies" -_pPTa = "pathPrefixType" -_LGI = "ListGroupsInput" -_cLGR = "com.amazonaws.iam#ListGroupsRequest" -_gLT = "groupListType" -_LGO = "ListGroupsOutput" -_cLGRo = "com.amazonaws.iam#ListGroupsResponse" -_LG = "ListGroups" -_LGFUI = "ListGroupsForUserInput" -_cLGFUR = "com.amazonaws.iam#ListGroupsForUserRequest" -_LGFUO = "ListGroupsForUserOutput" -_cLGFURo = "com.amazonaws.iam#ListGroupsForUserResponse" -_LGFU = "ListGroupsForUser" -_LIPI = "ListInstanceProfilesInput" -_cLIPR = "com.amazonaws.iam#ListInstanceProfilesRequest" -_LIPO = "ListInstanceProfilesOutput" -_cLIPRo = "com.amazonaws.iam#ListInstanceProfilesResponse" -_LIP = "ListInstanceProfiles" -_LIPFRI = "ListInstanceProfilesForRoleInput" -_cLIPFRR = "com.amazonaws.iam#ListInstanceProfilesForRoleRequest" -_LIPFRO = "ListInstanceProfilesForRoleOutput" -_cLIPFRRo = "com.amazonaws.iam#ListInstanceProfilesForRoleResponse" -_LIPFR = "ListInstanceProfilesForRole" -_LIPTI = "ListInstanceProfileTagsInput" -_cLIPTR = "com.amazonaws.iam#ListInstanceProfileTagsRequest" -_LIPTO = "ListInstanceProfileTagsOutput" -_cLIPTRo = "com.amazonaws.iam#ListInstanceProfileTagsResponse" -_LIPT = "ListInstanceProfileTags" -_LMFADI = "ListMFADevicesInput" -_cLMFADR = "com.amazonaws.iam#ListMFADevicesRequest" -_MFADe = "MFADevice" -_mDLT = "mfaDeviceListType" -_LMFADO = "ListMFADevicesOutput" -_cLMFADRo = "com.amazonaws.iam#ListMFADevicesResponse" -_LMFAD = "ListMFADevices" -_LMFADTI = "ListMFADeviceTagsInput" -_cLMFADTR = "com.amazonaws.iam#ListMFADeviceTagsRequest" -_LMFADTO = "ListMFADeviceTagsOutput" -_cLMFADTRo = "com.amazonaws.iam#ListMFADeviceTagsResponse" -_LMFADT = "ListMFADeviceTags" -_LOIDCPI = "ListOpenIDConnectProvidersInput" -_cLOIDCPR = "com.amazonaws.iam#ListOpenIDConnectProvidersRequest" -_OIDCPLE = "OpenIDConnectProviderListEntry" -_OIDCPLT = "OpenIDConnectProviderListType" -_LOIDCPO = "ListOpenIDConnectProvidersOutput" -_cLOIDCPRo = "com.amazonaws.iam#ListOpenIDConnectProvidersResponse" -_OIDCPL = "OpenIDConnectProviderList" -_LOIDCP = "ListOpenIDConnectProviders" -_LOIDCPTI = "ListOpenIDConnectProviderTagsInput" -_cLOIDCPTR = "com.amazonaws.iam#ListOpenIDConnectProviderTagsRequest" -_LOIDCPTO = "ListOpenIDConnectProviderTagsOutput" -_cLOIDCPTRo = "com.amazonaws.iam#ListOpenIDConnectProviderTagsResponse" -_LOIDCPT = "ListOpenIDConnectProviderTags" -_LOFI = "ListOrganizationsFeaturesInput" -_cLOFR = "com.amazonaws.iam#ListOrganizationsFeaturesRequest" -_LOFO = "ListOrganizationsFeaturesOutput" -_cLOFRo = "com.amazonaws.iam#ListOrganizationsFeaturesResponse" -_LOF = "ListOrganizationsFeatures" -_pST = "policyScopeType" -_All = "All" -_AWS = "AWS" -_Lo = "Local" -_LPI = "ListPoliciesInput" -_cLPR = "com.amazonaws.iam#ListPoliciesRequest" -_Sc = "Scope" -_OA = "OnlyAttached" -_pLT = "policyListType" -_LPO = "ListPoliciesOutput" -_cLPRo = "com.amazonaws.iam#ListPoliciesResponse" -_LPi = "ListPolicies" -_sNLT = "serviceNamespaceListType" -_LPGSAI = "ListPoliciesGrantingServiceAccessInput" -_cLPGSAR = "com.amazonaws.iam#ListPoliciesGrantingServiceAccessRequest" -_SNerv = "ServiceNamespaces" -_eNT = "entityNameType" -_pTo = "policyType" -_INLINE = "INLINE" -_MANAGED = "MANAGED" -_PGSA = "PolicyGrantingServiceAccess" -_PT = "PolicyType" -_EN = "EntityName" -_pGSALT = "policyGrantingServiceAccessListType" -_LPGSAE = "ListPoliciesGrantingServiceAccessEntry" -_lPGSARLT = "listPolicyGrantingServiceAccessResponseListType" -_LPGSAO = "ListPoliciesGrantingServiceAccessOutput" -_cLPGSARo = "com.amazonaws.iam#ListPoliciesGrantingServiceAccessResponse" -_PGSAo = "PoliciesGrantingServiceAccess" -_LPGSA = "ListPoliciesGrantingServiceAccess" -_LPTI = "ListPolicyTagsInput" -_cLPTR = "com.amazonaws.iam#ListPolicyTagsRequest" -_LPTO = "ListPolicyTagsOutput" -_cLPTRo = "com.amazonaws.iam#ListPolicyTagsResponse" -_LPT = "ListPolicyTags" -_LPVI = "ListPolicyVersionsInput" -_cLPVR = "com.amazonaws.iam#ListPolicyVersionsRequest" -_LPVO = "ListPolicyVersionsOutput" -_cLPVRo = "com.amazonaws.iam#ListPolicyVersionsResponse" -_Ve = "Versions" -_LPV = "ListPolicyVersions" -_LRPI = "ListRolePoliciesInput" -_cLRPR = "com.amazonaws.iam#ListRolePoliciesRequest" -_LRPO = "ListRolePoliciesOutput" -_cLRPRo = "com.amazonaws.iam#ListRolePoliciesResponse" -_LRP = "ListRolePolicies" -_LRI = "ListRolesInput" -_cLRR = "com.amazonaws.iam#ListRolesRequest" -_LRO = "ListRolesOutput" -_cLRRo = "com.amazonaws.iam#ListRolesResponse" -_LR = "ListRoles" -_LRTI = "ListRoleTagsInput" -_cLRTR = "com.amazonaws.iam#ListRoleTagsRequest" -_LRTO = "ListRoleTagsOutput" -_cLRTRo = "com.amazonaws.iam#ListRoleTagsResponse" -_LRT = "ListRoleTags" -_LSAMLPI = "ListSAMLProvidersInput" -_cLSAMLPR = "com.amazonaws.iam#ListSAMLProvidersRequest" -_SAMLPLE = "SAMLProviderListEntry" -_SAMLPLT = "SAMLProviderListType" -_LSAMLPO = "ListSAMLProvidersOutput" -_cLSAMLPRo = "com.amazonaws.iam#ListSAMLProvidersResponse" -_SAMLPL = "SAMLProviderList" -_LSAMLP = "ListSAMLProviders" -_LSAMLPTI = "ListSAMLProviderTagsInput" -_cLSAMLPTR = "com.amazonaws.iam#ListSAMLProviderTagsRequest" -_LSAMLPTO = "ListSAMLProviderTagsOutput" -_cLSAMLPTRo = "com.amazonaws.iam#ListSAMLProviderTagsResponse" -_LSAMLPT = "ListSAMLProviderTags" -_LSCI = "ListServerCertificatesInput" -_cLSCR = "com.amazonaws.iam#ListServerCertificatesRequest" -_sCMLT = "serverCertificateMetadataListType" -_LSCO = "ListServerCertificatesOutput" -_cLSCRo = "com.amazonaws.iam#ListServerCertificatesResponse" -_SCML = "ServerCertificateMetadataList" -_LSC = "ListServerCertificates" -_LSCTI = "ListServerCertificateTagsInput" -_cLSCTR = "com.amazonaws.iam#ListServerCertificateTagsRequest" -_LSCTO = "ListServerCertificateTagsOutput" -_cLSCTRo = "com.amazonaws.iam#ListServerCertificateTagsResponse" -_LSCT = "ListServerCertificateTags" -_LSSCI = "ListServiceSpecificCredentialsInput" -_cLSSCR = "com.amazonaws.iam#ListServiceSpecificCredentialsRequest" -_AU = "AllUsers" -_SSCM = "ServiceSpecificCredentialMetadata" -_SSCLT = "ServiceSpecificCredentialsListType" -_LSSCO = "ListServiceSpecificCredentialsOutput" -_cLSSCRo = "com.amazonaws.iam#ListServiceSpecificCredentialsResponse" -_SSCe = "ServiceSpecificCredentials" -_LSSC = "ListServiceSpecificCredentials" -_LSCIi = "ListSigningCertificatesInput" -_cLSCRom = "com.amazonaws.iam#ListSigningCertificatesRequest" -_SCi = "SigningCertificate" -_cLT = "certificateListType" -_LSCOi = "ListSigningCertificatesOutput" -_cLSCRoma = "com.amazonaws.iam#ListSigningCertificatesResponse" -_Cer = "Certificates" -_LSCi = "ListSigningCertificates" -_LSSHPKI = "ListSSHPublicKeysInput" -_cLSSHPKR = "com.amazonaws.iam#ListSSHPublicKeysRequest" -_SSHPKM = "SSHPublicKeyMetadata" -_SSHPKLT = "SSHPublicKeyListType" -_LSSHPKO = "ListSSHPublicKeysOutput" -_cLSSHPKRo = "com.amazonaws.iam#ListSSHPublicKeysResponse" -_SSHPKu = "SSHPublicKeys" -_LSSHPK = "ListSSHPublicKeys" -_LUPI = "ListUserPoliciesInput" -_cLUPR = "com.amazonaws.iam#ListUserPoliciesRequest" -_LUPO = "ListUserPoliciesOutput" -_cLUPRo = "com.amazonaws.iam#ListUserPoliciesResponse" -_LUP = "ListUserPolicies" -_LUI = "ListUsersInput" -_cLUR = "com.amazonaws.iam#ListUsersRequest" -_LUO = "ListUsersOutput" -_cLURo = "com.amazonaws.iam#ListUsersResponse" -_LU = "ListUsers" -_LUTI = "ListUserTagsInput" -_cLUTR = "com.amazonaws.iam#ListUserTagsRequest" -_LUTO = "ListUserTagsOutput" -_cLUTRo = "com.amazonaws.iam#ListUserTagsResponse" -_LUT = "ListUserTags" -_LVMFADI = "ListVirtualMFADevicesInput" -_cLVMFADR = "com.amazonaws.iam#ListVirtualMFADevicesRequest" -_AS = "AssignmentStatus" -_vMFADLT = "virtualMFADeviceListType" -_LVMFADO = "ListVirtualMFADevicesOutput" -_cLVMFADRo = "com.amazonaws.iam#ListVirtualMFADevicesResponse" -_VMFADi = "VirtualMFADevices" -_LVMFAD = "ListVirtualMFADevices" -_PAPI = "PutAccountPropertiesInput" -_cPAPR = "com.amazonaws.iam#PutAccountPropertiesRequest" -_PAPO = "PutAccountPropertiesOutput" -_cPAPRo = "com.amazonaws.iam#PutAccountPropertiesResponse" -_PAP = "PutAccountProperties" -_PGPI = "PutGroupPolicyInput" -_cPGPR = "com.amazonaws.iam#PutGroupPolicyRequest" -_PGPO = "PutGroupPolicyOutput" -_PGP = "PutGroupPolicy" -_PRPBI = "PutRolePermissionsBoundaryInput" -_cPRPBR = "com.amazonaws.iam#PutRolePermissionsBoundaryRequest" -_PRPBO = "PutRolePermissionsBoundaryOutput" -_PRPB = "PutRolePermissionsBoundary" -_PRPI = "PutRolePolicyInput" -_cPRPR = "com.amazonaws.iam#PutRolePolicyRequest" -_PRPO = "PutRolePolicyOutput" -_PRPu = "PutRolePolicy" -_PUPBI = "PutUserPermissionsBoundaryInput" -_cPUPBR = "com.amazonaws.iam#PutUserPermissionsBoundaryRequest" -_PUPBO = "PutUserPermissionsBoundaryOutput" -_PUPB = "PutUserPermissionsBoundary" -_PUPI = "PutUserPolicyInput" -_cPUPR = "com.amazonaws.iam#PutUserPolicyRequest" -_PUPO = "PutUserPolicyOutput" -_PUP = "PutUserPolicy" -_RDRI = "RejectDelegationRequestInput" -_cRDRR = "com.amazonaws.iam#RejectDelegationRequestRequest" -_RDRO = "RejectDelegationRequestOutput" -_RDR = "RejectDelegationRequest" -_RCIDFOIDCPI = "RemoveClientIDFromOpenIDConnectProviderInput" -_cRCIDFOIDCPR = "com.amazonaws.iam#RemoveClientIDFromOpenIDConnectProviderRequest" -_RCIDFOIDCPO = "RemoveClientIDFromOpenIDConnectProviderOutput" -_RCIDFOIDCP = "RemoveClientIDFromOpenIDConnectProvider" -_RRFIPI = "RemoveRoleFromInstanceProfileInput" -_cRRFIPR = "com.amazonaws.iam#RemoveRoleFromInstanceProfileRequest" -_RRFIPO = "RemoveRoleFromInstanceProfileOutput" -_RRFIP = "RemoveRoleFromInstanceProfile" -_RUFGI = "RemoveUserFromGroupInput" -_cRUFGR = "com.amazonaws.iam#RemoveUserFromGroupRequest" -_RUFGO = "RemoveUserFromGroupOutput" -_RUFG = "RemoveUserFromGroup" -_RSSCI = "ResetServiceSpecificCredentialInput" -_cRSSCR = "com.amazonaws.iam#ResetServiceSpecificCredentialRequest" -_RSSCO = "ResetServiceSpecificCredentialOutput" -_cRSSCRo = "com.amazonaws.iam#ResetServiceSpecificCredentialResponse" -_RSSC = "ResetServiceSpecificCredential" -_RMFADI = "ResyncMFADeviceInput" -_cRMFADR = "com.amazonaws.iam#ResyncMFADeviceRequest" -_RMFADO = "ResyncMFADeviceOutput" -_RMFAD = "ResyncMFADevice" -_SDTI = "SendDelegationTokenInput" -_cSDTR = "com.amazonaws.iam#SendDelegationTokenRequest" -_SDTO = "SendDelegationTokenOutput" -_SDT = "SendDelegationToken" -_SDPVI = "SetDefaultPolicyVersionInput" -_cSDPVR = "com.amazonaws.iam#SetDefaultPolicyVersionRequest" -_SDPVO = "SetDefaultPolicyVersionOutput" -_SDPV = "SetDefaultPolicyVersion" -_gETV = "globalEndpointTokenVersion" -_vT = "v1Token" -_vTo = "v2Token" -_SSTSPI = "SetSecurityTokenServicePreferencesInput" -_cSSTSPR = "com.amazonaws.iam#SetSecurityTokenServicePreferencesRequest" -_SSTSPO = "SetSecurityTokenServicePreferencesOutput" -_SSTSP = "SetSecurityTokenServicePreferences" -_pEEM = "policyEvaluationErrorMessage" -_PEE = "PolicyEvaluationException" -_RNTe = "ResourceNameType" -_CKTE = "ContextKeyTypeEnum" -_NUMERIC = "NUMERIC" -_n = "numeric" -_NL_ = "NUMERIC_LIST" -_nL = "numericList" -_BOOLEAN = "BOOLEAN" -_b = "boolean" -_BL = "BOOLEAN_LIST" -_bL = "booleanList" -_IP__ = "IP" -_i = "ip" -_IL = "IP_LIST" -_iL = "ipList" -_BINARY = "BINARY" -_bi = "binary" -_BL_ = "BINARY_LIST" -_bLi = "binaryList" -_DATE = "DATE" -_d = "date" -_DL = "DATE_LIST" -_dL = "dateList" -_CKVT = "ContextKeyValueType" -_CKVLT = "ContextKeyValueListType" -_CE = "ContextEntry" -_CKNo = "ContextKeyName" -_CKV = "ContextKeyValues" -_CKTo = "ContextKeyType" -_CELT = "ContextEntryListType" -_OOPT = "OrderedOrganizationPolicyType" -_SCPIL = "ServiceControlPolicyInputList" -_OPLT = "OrganizationPolicyListType" -_RNLT = "ResourceNameListType" -_RHOT = "ResourceHandlingOptionType" -_SCPI = "SimulateCustomPolicyInput" -_cSCPR = "com.amazonaws.iam#SimulateCustomPolicyRequest" -_PBPIL = "PermissionsBoundaryPolicyInputList" -_OOPIL = "OrderedOrganizationPolicyInputList" -_ANct = "ActionNames" -_RA = "ResourceArns" -_RP = "ResourcePolicy" -_RO = "ResourceOwner" -_CA = "CallerArn" -_CEo = "ContextEntries" -_RHO = "ResourceHandlingOption" -_PEDT = "PolicyEvaluationDecisionType" -_a = "allowed" -_ED_ = "EXPLICIT_DENY" -_eD = "explicitDeny" -_ID = "IMPLICIT_DENY" -_iD = "implicitDeny" -_EDST = "EvalDecisionSourceType" -_EDDT = "EvalDecisionDetailsType" -_CN = "ColumnNumber" -_LN = "LineNumber" -_Pos = "Position" -_Li = "Line" -_Col = "Column" -_PIT = "PolicyIdentifierType" -_PST = "PolicySourceType" -_AM = "AWS_MANAGED" -_am = "aws-managed" -_UM = "USER_MANAGED" -_um = "user-managed" -_RESOURCE = "RESOURCE" -_re = "resource" -_NONE = "NONE" -_no = "none" -_Sta = "Statement" -_SPI = "SourcePolicyId" -_SPT = "SourcePolicyType" -_SPt = "StartPosition" -_EPn = "EndPosition" -_SLT = "StatementListType" -_ODD = "OrganizationsDecisionDetail" -_ABO = "AllowedByOrganizations" -_PBDD = "PermissionsBoundaryDecisionDetail" -_ABPB = "AllowedByPermissionsBoundary" -_RSR = "ResourceSpecificResult" -_ERN = "EvalResourceName" -_ERD = "EvalResourceDecision" -_MS = "MatchedStatements" -_MCV = "MissingContextValues" -_EDD = "EvalDecisionDetails" -_RSRLT = "ResourceSpecificResultListType" -_ER = "EvaluationResult" -_EAN = "EvalActionName" -_EDv = "EvalDecision" -_RSRe = "ResourceSpecificResults" -_ERLT = "EvaluationResultsListType" -_SCPO = "SimulateCustomPolicyOutput" -_cSPR = "com.amazonaws.iam#SimulatePolicyResponse" -_ERv = "EvaluationResults" -_SCP = "SimulateCustomPolicy" -_IPIT = "InlinePolicyIdentifierType" -_PIPT = "PolicyIdentifierPolicyType" -_in = "inline" -_PB_ = "PERMISSION_BOUNDARY" -_pb = "permission-boundary" -_SCP_ = "SCP" -_sc = "scp" -_RCP = "RCP" -_rc = "rcp" -_PIo = "PolicyIdentifier" -_IPIn = "InlinePolicyIdentifier" -_PELT = "PolicyExclusionsListType" -_SPPI = "SimulatePrincipalPolicyInput" -_cSPPR = "com.amazonaws.iam#SimulatePrincipalPolicyRequest" -_PEL = "PolicyExclusionList" -_SPPO = "SimulatePrincipalPolicyOutput" -_SPP = "SimulatePrincipalPolicy" -_TIPI = "TagInstanceProfileInput" -_cTIPR = "com.amazonaws.iam#TagInstanceProfileRequest" -_TIPO = "TagInstanceProfileOutput" -_TIP = "TagInstanceProfile" -_TMFADI = "TagMFADeviceInput" -_cTMFADR = "com.amazonaws.iam#TagMFADeviceRequest" -_TMFADO = "TagMFADeviceOutput" -_TMFAD = "TagMFADevice" -_TOIDCPI = "TagOpenIDConnectProviderInput" -_cTOIDCPR = "com.amazonaws.iam#TagOpenIDConnectProviderRequest" -_TOIDCPO = "TagOpenIDConnectProviderOutput" -_TOIDCP = "TagOpenIDConnectProvider" -_TPI = "TagPolicyInput" -_cTPR = "com.amazonaws.iam#TagPolicyRequest" -_TPO = "TagPolicyOutput" -_TP = "TagPolicy" -_TRI = "TagRoleInput" -_cTRR = "com.amazonaws.iam#TagRoleRequest" -_TRO = "TagRoleOutput" -_TR = "TagRole" -_TSAMLPI = "TagSAMLProviderInput" -_cTSAMLPR = "com.amazonaws.iam#TagSAMLProviderRequest" -_TSAMLPO = "TagSAMLProviderOutput" -_TSAMLP = "TagSAMLProvider" -_TSCI = "TagServerCertificateInput" -_cTSCR = "com.amazonaws.iam#TagServerCertificateRequest" -_TSCO = "TagServerCertificateOutput" -_TSC = "TagServerCertificate" -_TUI = "TagUserInput" -_cTUR = "com.amazonaws.iam#TagUserRequest" -_TUO = "TagUserOutput" -_TU = "TagUser" -_tKLT = "tagKeyListType" -_UIPI = "UntagInstanceProfileInput" -_cUIPR = "com.amazonaws.iam#UntagInstanceProfileRequest" -_TK = "TagKeys" -_UIPO = "UntagInstanceProfileOutput" -_UIP = "UntagInstanceProfile" -_UMFADI = "UntagMFADeviceInput" -_cUMFADR = "com.amazonaws.iam#UntagMFADeviceRequest" -_UMFADO = "UntagMFADeviceOutput" -_UMFAD = "UntagMFADevice" -_UOIDCPI = "UntagOpenIDConnectProviderInput" -_cUOIDCPR = "com.amazonaws.iam#UntagOpenIDConnectProviderRequest" -_UOIDCPO = "UntagOpenIDConnectProviderOutput" -_UOIDCP = "UntagOpenIDConnectProvider" -_UPI = "UntagPolicyInput" -_cUPR = "com.amazonaws.iam#UntagPolicyRequest" -_UPO = "UntagPolicyOutput" -_UP = "UntagPolicy" -_URI = "UntagRoleInput" -_cURR = "com.amazonaws.iam#UntagRoleRequest" -_URO = "UntagRoleOutput" -_UR = "UntagRole" -_USAMLPI = "UntagSAMLProviderInput" -_cUSAMLPR = "com.amazonaws.iam#UntagSAMLProviderRequest" -_USAMLPO = "UntagSAMLProviderOutput" -_USAMLP = "UntagSAMLProvider" -_USCI = "UntagServerCertificateInput" -_cUSCR = "com.amazonaws.iam#UntagServerCertificateRequest" -_USCO = "UntagServerCertificateOutput" -_USC = "UntagServerCertificate" -_UUI = "UntagUserInput" -_cUUR = "com.amazonaws.iam#UntagUserRequest" -_UUO = "UntagUserOutput" -_UU = "UntagUser" -_UAKI = "UpdateAccessKeyInput" -_cUAKR = "com.amazonaws.iam#UpdateAccessKeyRequest" -_UAKO = "UpdateAccessKeyOutput" -_UAK = "UpdateAccessKey" -_UAPPI = "UpdateAccountPasswordPolicyInput" -_cUAPPR = "com.amazonaws.iam#UpdateAccountPasswordPolicyRequest" -_UAPPO = "UpdateAccountPasswordPolicyOutput" -_UAPP = "UpdateAccountPasswordPolicy" -_UARPI = "UpdateAssumeRolePolicyInput" -_cUARPR = "com.amazonaws.iam#UpdateAssumeRolePolicyRequest" -_UARPO = "UpdateAssumeRolePolicyOutput" -_UARP = "UpdateAssumeRolePolicy" -_UDRI = "UpdateDelegationRequestInput" -_cUDRR = "com.amazonaws.iam#UpdateDelegationRequestRequest" -_UDRO = "UpdateDelegationRequestOutput" -_UDR = "UpdateDelegationRequest" -_UGI = "UpdateGroupInput" -_cUGR = "com.amazonaws.iam#UpdateGroupRequest" -_NPe = "NewPath" -_NGN = "NewGroupName" -_UGO = "UpdateGroupOutput" -_UG = "UpdateGroup" -_ULPI = "UpdateLoginProfileInput" -_cULPR = "com.amazonaws.iam#UpdateLoginProfileRequest" -_ULPO = "UpdateLoginProfileOutput" -_ULP = "UpdateLoginProfile" -_UOIDCPTI = "UpdateOpenIDConnectProviderThumbprintInput" -_cUOIDCPTR = "com.amazonaws.iam#UpdateOpenIDConnectProviderThumbprintRequest" -_UOIDCPTO = "UpdateOpenIDConnectProviderThumbprintOutput" -_UOIDCPT = "UpdateOpenIDConnectProviderThumbprint" -_URIp = "UpdateRoleInput" -_cURRo = "com.amazonaws.iam#UpdateRoleRequest" -_UROp = "UpdateRoleOutput" -_cURRom = "com.amazonaws.iam#UpdateRoleResponse" -_URp = "UpdateRole" -_URDI = "UpdateRoleDescriptionInput" -_cURDR = "com.amazonaws.iam#UpdateRoleDescriptionRequest" -_URDO = "UpdateRoleDescriptionOutput" -_cURDRo = "com.amazonaws.iam#UpdateRoleDescriptionResponse" -_URD = "UpdateRoleDescription" -_USAMLPIp = "UpdateSAMLProviderInput" -_cUSAMLPRo = "com.amazonaws.iam#UpdateSAMLProviderRequest" -_RPK = "RemovePrivateKey" -_USAMLPOp = "UpdateSAMLProviderOutput" -_cUSAMLPRom = "com.amazonaws.iam#UpdateSAMLProviderResponse" -_USAMLPp = "UpdateSAMLProvider" -_USCIp = "UpdateServerCertificateInput" -_cUSCRo = "com.amazonaws.iam#UpdateServerCertificateRequest" -_NSCN = "NewServerCertificateName" -_USCOp = "UpdateServerCertificateOutput" -_USCp = "UpdateServerCertificate" -_USSCI = "UpdateServiceSpecificCredentialInput" -_cUSSCR = "com.amazonaws.iam#UpdateServiceSpecificCredentialRequest" -_USSCO = "UpdateServiceSpecificCredentialOutput" -_USSC = "UpdateServiceSpecificCredential" -_USCIpd = "UpdateSigningCertificateInput" -_cUSCRom = "com.amazonaws.iam#UpdateSigningCertificateRequest" -_USCOpd = "UpdateSigningCertificateOutput" -_USCpd = "UpdateSigningCertificate" -_USSHPKI = "UpdateSSHPublicKeyInput" -_cUSSHPKR = "com.amazonaws.iam#UpdateSSHPublicKeyRequest" -_USSHPKO = "UpdateSSHPublicKeyOutput" -_USSHPK = "UpdateSSHPublicKey" -_UUIp = "UpdateUserInput" -_cUURo = "com.amazonaws.iam#UpdateUserRequest" -_NUN = "NewUserName" -_UUOp = "UpdateUserOutput" -_UUp = "UpdateUser" -_kPMM = "keyPairMismatchMessage" -_KPME = "KeyPairMismatchException" -_mCM = "malformedCertificateMessage" -_MCE = "MalformedCertificateException" -_USCIpl = "UploadServerCertificateInput" -_cUSCRoma = "com.amazonaws.iam#UploadServerCertificateRequest" -_PK = "PrivateKey" -_USCOpl = "UploadServerCertificateOutput" -_cUSCRomam = "com.amazonaws.iam#UploadServerCertificateResponse" -_USCpl = "UploadServerCertificate" -_dCMu = "duplicateCertificateMessage" -_DCEu = "DuplicateCertificateException" -_iCM = "invalidCertificateMessage" -_ICE = "InvalidCertificateException" -_USCIplo = "UploadSigningCertificateInput" -_cUSCRomama = "com.amazonaws.iam#UploadSigningCertificateRequest" -_USCOplo = "UploadSigningCertificateOutput" -_cUSCRomamaz = "com.amazonaws.iam#UploadSigningCertificateResponse" -_Cert = "Certificate" -_USCplo = "UploadSigningCertificate" -_dSSHPKM = "duplicateSSHPublicKeyMessage" -_DSSHPKE = "DuplicateSSHPublicKeyException" -_iPKM = "invalidPublicKeyMessage" -_IPKE = "InvalidPublicKeyException" -_USSHPKIp = "UploadSSHPublicKeyInput" -_cUSSHPKRo = "com.amazonaws.iam#UploadSSHPublicKeyRequest" -_USSHPKOp = "UploadSSHPublicKeyOutput" -_cUSSHPKRom = "com.amazonaws.iam#UploadSSHPublicKeyResponse" -_USSHPKp = "UploadSSHPublicKey" -_AWSIMV = "AWSIdentityManagementV20100508" -_aw = "aws.auth#sigv4" -_aQ = "aws.protocols#awsQuery" -_aws = "aws.api#service" -_sNm = "smithy.api#xmlNamespace" - -DELEGATION_REQUEST_ID_TYPE: StaticSchema = (3, n0, _dRIT, 0) - -ACCEPT_DELEGATION_REQUEST_INPUT: StaticSchema = ( - 18, - n0, - _ADRI, - {_sSI: _cADRR, _s: None}, - (_DRI,), - ((DELEGATION_REQUEST_ID_TYPE, 1),), -) - -ACCEPT_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( - 18, - n0, - _ADRO, - {_sSI: _sU, _smi: None}, -) - -CONCURRENT_MODIFICATION_MESSAGE: StaticSchema = (3, n0, _CMM, 0) - -CONCURRENT_MODIFICATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _CME, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "ConcurrentModification", "httpResponseCode": 409} - ), - }, - (_m,), - ((CONCURRENT_MODIFICATION_MESSAGE, 0),), -) - -NO_SUCH_ENTITY_MESSAGE: StaticSchema = (3, n0, _nSEM, 0) - -NO_SUCH_ENTITY_EXCEPTION: StaticSchema = ( - 18, - n0, - _NSEE, - { - _smit: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "NoSuchEntity", "httpResponseCode": 404}), - }, - (_m,), - ((NO_SUCH_ENTITY_MESSAGE, 0),), -) - -SERVICE_FAILURE_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _sFEM, 0) - -SERVICE_FAILURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SFE, - { - _smit: _se, - _sE: 500, - _aQE: MappingProxyType({"code": "ServiceFailure", "httpResponseCode": 500}), - }, - (_m,), - ((SERVICE_FAILURE_EXCEPTION_MESSAGE, 0),), -) - -ACCEPT_DELEGATION_REQUEST: StaticOperationSchema = ( - 23, - n0, - _ADR, - 0, - ACCEPT_DELEGATION_REQUEST_INPUT, - ACCEPT_DELEGATION_REQUEST_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -ACCESS_ADVISOR_USAGE_GRANULARITY_TYPE: StaticSchema = ( - 14, - n0, - _AAUGT, - 0, - (_SL, _AL), - ((-1, {_sV: _SL}), (-1, {_sV: _AL})), -) - -ORGANIZATIONS_ENTITY_PATH_TYPE: StaticSchema = (3, n0, _oEPT, 0) - -DATE_TYPE: StaticSchema = (4, n0, _dT, 0) - -STRING_TYPE: StaticSchema = (3, n0, _sT, 0) - -SERVICE_NAME_TYPE: StaticSchema = (3, n0, _sNT, 0) - -SERVICE_NAMESPACE_TYPE: StaticSchema = (3, n0, _sNTe, 0) - -INTEGER_TYPE: StaticSchema = (7, n0, _iT, 0) - -ACCESS_DETAIL: StaticSchema = ( - 18, - n0, - _AD, - 0, - (_SN, _SNe, _R, _EP, _LAT, _TAE), - ( - (SERVICE_NAME_TYPE, 1), - (SERVICE_NAMESPACE_TYPE, 1), - (STRING_TYPE, 0), - (ORGANIZATIONS_ENTITY_PATH_TYPE, 0), - (DATE_TYPE, 0), - (INTEGER_TYPE, 0), - ), -) - -ACCESS_DETAILS: StaticSchema = (16, n0, _ADc, 0, (_me,), ((ACCESS_DETAIL, 0),)) - -ACCESS_KEY_ID_TYPE: StaticSchema = (3, n0, _aKIT, 0) - -ACCESS_KEY_SECRET_TYPE: StaticSchema = (3, n0, _aKST, 4) - -STATUS_TYPE: StaticSchema = ( - 14, - n0, - _sTt, - 0, - (_A, _I, _E), - ((-1, {_sV: _A}), (-1, {_sV: _I}), (-1, {_sV: _E})), -) - -USER_NAME_TYPE: StaticSchema = (3, n0, _uNT, 0) - -ACCESS_KEY: StaticSchema = ( - 18, - n0, - _AK, - 0, - (_UN, _AKI, _S, _SAK, _CD), - ( - (USER_NAME_TYPE, 1), - (ACCESS_KEY_ID_TYPE, 1), - (STATUS_TYPE, 1), - (ACCESS_KEY_SECRET_TYPE, 1), - (DATE_TYPE, 0), - ), -) - -ACCESS_KEY_LAST_USED: StaticSchema = ( - 18, - n0, - _AKLU, - 0, - (_LUD, _SN, _R), - ((DATE_TYPE, 0), (STRING_TYPE, 1), (STRING_TYPE, 1)), -) - -ACCESS_KEY_METADATA: StaticSchema = ( - 18, - n0, - _AKM, - 0, - (_UN, _AKI, _S, _CD), - ((USER_NAME_TYPE, 0), (ACCESS_KEY_ID_TYPE, 0), (STATUS_TYPE, 0), (DATE_TYPE, 0)), -) - -ACCESS_KEY_METADATA_LIST_TYPE: StaticSchema = ( - 16, - n0, - _aKMLT, - 0, - (_me,), - ((ACCESS_KEY_METADATA, 0),), -) - -ACCOUNT_ALIAS_TYPE: StaticSchema = (3, n0, _aAT, 0) - -ACCOUNT_ALIAS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _aALT, - 0, - (_me,), - ((ACCOUNT_ALIAS_TYPE, 0),), -) - -ACCOUNT_ID_TYPE: StaticSchema = (3, n0, _aIT, 0) - -EXCEPTION_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION: StaticSchema = ( - 18, - n0, - _ANMODAE, - {_smit: _c, _sE: 400}, - (_M,), - ((EXCEPTION_MESSAGE, 0),), -) - -ACCOUNT_PROPERTY_KEY_TYPE: StaticSchema = (3, n0, _aPKT, 0) - -ACCOUNT_PROPERTY_VALUE_TYPE: StaticSchema = (3, n0, _aPVT, 0) - -ACCOUNT_PROPERTIES_MAP_TYPE: StaticSchema = ( - 17, - n0, - _aPMT, - 0, - (_k, _v), - ((ACCOUNT_PROPERTY_KEY_TYPE, 0), (ACCOUNT_PROPERTY_VALUE_TYPE, 0)), -) - -REPLACEMENT_VALUE_LIST_TYPE: StaticSchema = ( - 16, - n0, - _rVLT, - 0, - (_me,), - ((STRING_TYPE, 0),), -) - -REPLACEMENT_VALUE_ENTRY: StaticSchema = ( - 18, - n0, - _RVE, - 0, - (_V,), - ((REPLACEMENT_VALUE_LIST_TYPE, 1),), -) - -MAP_STRING_REPLACEMENT_VALUE_ENTRY: StaticSchema = ( - 17, - n0, - _mSRVE, - 0, - (_k, _v), - ((STRING_TYPE, 0), (REPLACEMENT_VALUE_ENTRY, 0)), -) - -ARN_TYPE: StaticSchema = (3, n0, _aT, 0) - -ACQUIRE_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _ARI, - {_sSI: _cARR, _s: None}, - (_TA, _TMV, _RV), - ((ARN_TYPE, 1), (INTEGER_TYPE, 0), (MAP_STRING_REPLACEMENT_VALUE_ENTRY, 0)), -) - -POLICY_DOCUMENT_TYPE: StaticSchema = (3, n0, _pDT, 0) - -ROLE_DESCRIPTION_TYPE: StaticSchema = (3, n0, _rDT, 0) - -ROLE_MAX_SESSION_DURATION_TYPE: StaticSchema = (7, n0, _rMSDT, 0) - -PATH_TYPE: StaticSchema = (3, n0, _pT, 0) - -PERMISSIONS_BOUNDARY_ATTACHMENT_TYPE: StaticSchema = ( - 14, - n0, - _PBAT, - 0, - (_P,), - ((-1, {_sV: _PBP}),), -) - -ATTACHED_PERMISSIONS_BOUNDARY: StaticSchema = ( - 18, - n0, - _APB, - 0, - (_PBT, _PBA), - ((PERMISSIONS_BOUNDARY_ATTACHMENT_TYPE, 0), (ARN_TYPE, 0)), -) - -ID_TYPE: StaticSchema = (3, n0, _iTd, 0) - -ROLE_LAST_USED: StaticSchema = ( - 18, - n0, - _RLU, - 0, - (_LUD, _R), - ((DATE_TYPE, 0), (STRING_TYPE, 0)), -) - -ROLE_NAME_TYPE: StaticSchema = (3, n0, _rNT, 0) - -SOURCE_ROLE_TEMPLATE: StaticSchema = ( - 18, - n0, - _SRT, - 0, - (_TA, _TMV), - ((ARN_TYPE, 1), (INTEGER_TYPE, 1)), -) - -TAG_KEY_TYPE: StaticSchema = (3, n0, _tKT, 0) - -TAG_VALUE_TYPE: StaticSchema = (3, n0, _tVT, 0) - -TAG: StaticSchema = (18, n0, _T, 0, (_K, _Va), ((TAG_KEY_TYPE, 1), (TAG_VALUE_TYPE, 1))) - -TAG_LIST_TYPE: StaticSchema = (16, n0, _tLT, 0, (_me,), ((TAG, 0),)) - -ROLE: StaticSchema = ( - 18, - n0, - _Ro, - 0, - (_Pa, _RN, _RI, _Ar, _CD, _ARPD, _D, _MSD, _PB, _Ta, _RLU, _SRT), - ( - (PATH_TYPE, 1), - (ROLE_NAME_TYPE, 1), - (ID_TYPE, 1), - (ARN_TYPE, 1), - (DATE_TYPE, 1), - (POLICY_DOCUMENT_TYPE, 0), - (ROLE_DESCRIPTION_TYPE, 0), - (ROLE_MAX_SESSION_DURATION_TYPE, 0), - (ATTACHED_PERMISSIONS_BOUNDARY, 0), - (TAG_LIST_TYPE, 0), - (ROLE_LAST_USED, 0), - (SOURCE_ROLE_TEMPLATE, 0), - ), -) - -ACQUIRE_ROLE_OUTPUT: StaticSchema = ( - 18, - n0, - _ARO, - {_sSI: _cARRo, _smi: None}, - (_Ro,), - ((ROLE, 1),), -) - -ENTITY_ALREADY_EXISTS_MESSAGE: StaticSchema = (3, n0, _eAEM, 0) - -ENTITY_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _EAEE, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "EntityAlreadyExists", "httpResponseCode": 409} - ), - }, - (_m,), - ((ENTITY_ALREADY_EXISTS_MESSAGE, 0),), -) - -INVALID_INPUT_MESSAGE: StaticSchema = (3, n0, _iIM, 0) - -INVALID_INPUT_EXCEPTION: StaticSchema = ( - 18, - n0, - _IIE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidInput", "httpResponseCode": 400}), - }, - (_m,), - ((INVALID_INPUT_MESSAGE, 0),), -) - -LIMIT_EXCEEDED_MESSAGE: StaticSchema = (3, n0, _lEM, 0) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType({"code": "LimitExceeded", "httpResponseCode": 409}), - }, - (_m,), - ((LIMIT_EXCEEDED_MESSAGE, 0),), -) - -MALFORMED_POLICY_DOCUMENT_MESSAGE: StaticSchema = (3, n0, _mPDM, 0) - -MALFORMED_POLICY_DOCUMENT_EXCEPTION: StaticSchema = ( - 18, - n0, - _MPDE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "MalformedPolicyDocument", "httpResponseCode": 400} - ), - }, - (_m,), - ((MALFORMED_POLICY_DOCUMENT_MESSAGE, 0),), -) - -NAME_CONFLICT_MESSAGE: StaticSchema = (3, n0, _nCM, 0) - -NAME_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _NCE, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType({"code": "NameConflict", "httpResponseCode": 409}), - }, - (_m,), - ((NAME_CONFLICT_MESSAGE, 0),), -) - -ROLE_MODIFIED_MESSAGE: StaticSchema = (3, n0, _rMM, 0) - -ROLE_MODIFIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _RME, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType({"code": "RoleModified", "httpResponseCode": 409}), - }, - (_m,), - ((ROLE_MODIFIED_MESSAGE, 0),), -) - -ROLE_TEMPLATE_DISABLED_MESSAGE: StaticSchema = (3, n0, _rTDM, 0) - -ROLE_TEMPLATE_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _RTDE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "RoleTemplateDisabled", "httpResponseCode": 400} - ), - }, - (_m,), - ((ROLE_TEMPLATE_DISABLED_MESSAGE, 0),), -) - -ACQUIRE_ROLE: StaticOperationSchema = ( - 23, - n0, - _AR, - 0, - ACQUIRE_ROLE_INPUT, - ACQUIRE_ROLE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - NAME_CONFLICT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - ROLE_MODIFIED_EXCEPTION, - ROLE_TEMPLATE_DISABLED_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -ACTION_NAME_TYPE: StaticSchema = (3, n0, _ANT, 0) - -ACTION_NAME_LIST_TYPE: StaticSchema = ( - 16, - n0, - _ANLT, - 0, - (_me,), - ((ACTION_NAME_TYPE, 0),), -) - -CLIENT_ID_TYPE: StaticSchema = (3, n0, _cIDT, 0) - -ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _ACIDTOIDCPI, - {_sSI: _cACIDTOIDCPR, _s: None}, - (_OIDCPA, _CID), - ((ARN_TYPE, 1), (CLIENT_ID_TYPE, 1)), -) - -ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _ACIDTOIDCPO, - {_sSI: _sU, _smi: None}, -) - -ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _ACIDTOIDCP, - 0, - ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_INPUT, - ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -INSTANCE_PROFILE_NAME_TYPE: StaticSchema = (3, n0, _iPNT, 0) - -ADD_ROLE_TO_INSTANCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _ARTIPI, - {_sSI: _cARTIPR, _s: None}, - (_IPN, _RN), - ((INSTANCE_PROFILE_NAME_TYPE, 1), (ROLE_NAME_TYPE, 1)), -) - -ADD_ROLE_TO_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _ARTIPO, - {_sSI: _sU, _smi: None}, -) - -UNMODIFIABLE_ENTITY_MESSAGE: StaticSchema = (3, n0, _uEM, 0) - -UNMODIFIABLE_ENTITY_EXCEPTION: StaticSchema = ( - 18, - n0, - _UEE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "UnmodifiableEntity", "httpResponseCode": 400}), - }, - (_m,), - ((UNMODIFIABLE_ENTITY_MESSAGE, 0),), -) - -ADD_ROLE_TO_INSTANCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _ARTIP, - 0, - ADD_ROLE_TO_INSTANCE_PROFILE_INPUT, - ADD_ROLE_TO_INSTANCE_PROFILE_OUTPUT, - ( - ENTITY_ALREADY_EXISTS_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -GROUP_NAME_TYPE: StaticSchema = (3, n0, _gNT, 0) - -EXISTING_USER_NAME_TYPE: StaticSchema = (3, n0, _eUNT, 0) - -ADD_USER_TO_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _AUTGI, - {_sSI: _cAUTGR, _s: None}, - (_GN, _UN), - ((GROUP_NAME_TYPE, 1), (EXISTING_USER_NAME_TYPE, 1)), -) - -ADD_USER_TO_GROUP_OUTPUT: StaticSchema = (18, n0, _AUTGO, {_sSI: _sU, _smi: None}) - -ADD_USER_TO_GROUP: StaticOperationSchema = ( - 23, - n0, - _AUTG, - 0, - ADD_USER_TO_GROUP_INPUT, - ADD_USER_TO_GROUP_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -ALL_USERS: StaticSchema = (2, n0, _aU, 0) - -ARN_LIST_TYPE: StaticSchema = (16, n0, _ALT, 0, (_me,), ((ARN_TYPE, 0),)) - -ASSERTION_ENCRYPTION_MODE_TYPE: StaticSchema = ( - 14, - n0, - _aEMT, - 0, - (_Re, _Al), - ((-1, {_sV: _Re}), (-1, {_sV: _Al})), -) - -ASSIGNMENT_STATUS_TYPE: StaticSchema = ( - 14, - n0, - _aST, - 0, - (_As, _U, _An), - ((-1, {_sV: _As}), (-1, {_sV: _U}), (-1, {_sV: _An})), -) - -ASSOCIATE_DELEGATION_REQUEST_INPUT: StaticSchema = ( - 18, - n0, - _ADRIs, - {_sSI: _cADRRo, _s: None}, - (_DRI,), - ((DELEGATION_REQUEST_ID_TYPE, 1),), -) - -ASSOCIATE_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( - 18, - n0, - _ADROs, - {_sSI: _sU, _smi: None}, -) - -ASSOCIATE_DELEGATION_REQUEST: StaticOperationSchema = ( - 23, - n0, - _ADRs, - 0, - ASSOCIATE_DELEGATION_REQUEST_INPUT, - ASSOCIATE_DELEGATION_REQUEST_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -POLICY_NAME_TYPE: StaticSchema = (3, n0, _pNT, 0) - -ATTACHED_POLICY: StaticSchema = ( - 18, - n0, - _AP, - 0, - (_PN, _PA), - ((POLICY_NAME_TYPE, 0), (ARN_TYPE, 0)), -) - -ATTACHED_POLICIES_LIST_TYPE: StaticSchema = ( - 16, - n0, - _aPLT, - 0, - (_me,), - ((ATTACHED_POLICY, 0),), -) - -ATTACH_GROUP_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _AGPI, - {_sSI: _cAGPR, _s: None}, - (_GN, _PA), - ((GROUP_NAME_TYPE, 1), (ARN_TYPE, 1)), -) - -ATTACH_GROUP_POLICY_OUTPUT: StaticSchema = (18, n0, _AGPO, {_sSI: _sU, _smi: None}) - -POLICY_NOT_ATTACHABLE_MESSAGE: StaticSchema = (3, n0, _pNAM, 0) - -POLICY_NOT_ATTACHABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _PNAE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "PolicyNotAttachable", "httpResponseCode": 400} - ), - }, - (_m,), - ((POLICY_NOT_ATTACHABLE_MESSAGE, 0),), -) - -ATTACH_GROUP_POLICY: StaticOperationSchema = ( - 23, - n0, - _AGP, - 0, - ATTACH_GROUP_POLICY_INPUT, - ATTACH_GROUP_POLICY_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - POLICY_NOT_ATTACHABLE_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -ATTACHMENT_COUNT_TYPE: StaticSchema = (7, n0, _aCT, 0) - -ATTACHMENT_NAME: StaticSchema = (3, n0, _AN, 0) - -ATTACHMENT_TYPE: StaticSchema = ( - 14, - n0, - _AT, - 0, - (_USER, _GROUP, _ROLE), - ((-1, {_sV: _u}), (-1, {_sV: _g}), (-1, {_sV: _r})), -) - -ATTACH_ROLE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _ARPI, - {_sSI: _cARPR, _s: None}, - (_RN, _PA), - ((ROLE_NAME_TYPE, 1), (ARN_TYPE, 1)), -) - -ATTACH_ROLE_POLICY_OUTPUT: StaticSchema = (18, n0, _ARPO, {_sSI: _sU, _smi: None}) - -ATTACH_ROLE_POLICY: StaticOperationSchema = ( - 23, - n0, - _ARP, - 0, - ATTACH_ROLE_POLICY_INPUT, - ATTACH_ROLE_POLICY_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - POLICY_NOT_ATTACHABLE_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -ATTACH_USER_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _AUPI, - {_sSI: _cAUPR, _s: None}, - (_UN, _PA), - ((USER_NAME_TYPE, 1), (ARN_TYPE, 1)), -) - -ATTACH_USER_POLICY_OUTPUT: StaticSchema = (18, n0, _AUPO, {_sSI: _sU, _smi: None}) - -ATTACH_USER_POLICY: StaticOperationSchema = ( - 23, - n0, - _AUP, - 0, - ATTACH_USER_POLICY_INPUT, - ATTACH_USER_POLICY_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - POLICY_NOT_ATTACHABLE_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -AUTHENTICATION_CODE_TYPE: StaticSchema = (3, n0, _aCTu, 0) - -PASSWORD_TYPE: StaticSchema = (3, n0, _pTa, 4) - -CHANGE_PASSWORD_INPUT: StaticSchema = ( - 18, - n0, - _CPI, - {_sSI: _cCPR, _s: None}, - (_OP, _NP), - ((PASSWORD_TYPE, 1), (PASSWORD_TYPE, 1)), -) - -CHANGE_PASSWORD_OUTPUT: StaticSchema = (18, n0, _CPO, {_sSI: _sU, _smi: None}) - -ENTITY_TEMPORARILY_UNMODIFIABLE_MESSAGE: StaticSchema = (3, n0, _eTUM, 0) - -ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ETUE, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "EntityTemporarilyUnmodifiable", "httpResponseCode": 409} - ), - }, - (_m,), - ((ENTITY_TEMPORARILY_UNMODIFIABLE_MESSAGE, 0),), -) - -INVALID_USER_TYPE_MESSAGE: StaticSchema = (3, n0, _iUTM, 0) - -INVALID_USER_TYPE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IUTE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidUserType", "httpResponseCode": 400}), - }, - (_m,), - ((INVALID_USER_TYPE_MESSAGE, 0),), -) - -PASSWORD_POLICY_VIOLATION_MESSAGE: StaticSchema = (3, n0, _pPVM, 0) - -PASSWORD_POLICY_VIOLATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _PPVE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "PasswordPolicyViolation", "httpResponseCode": 400} - ), - }, - (_m,), - ((PASSWORD_POLICY_VIOLATION_MESSAGE, 0),), -) - -CHANGE_PASSWORD: StaticOperationSchema = ( - 23, - n0, - _CP, - 0, - CHANGE_PASSWORD_INPUT, - CHANGE_PASSWORD_OUTPUT, - ( - ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, - INVALID_USER_TYPE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - PASSWORD_POLICY_VIOLATION_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CREATE_ACCESS_KEY_INPUT: StaticSchema = ( - 18, - n0, - _CAKI, - {_sSI: _cCAKR, _s: None}, - (_UN,), - ((EXISTING_USER_NAME_TYPE, 0),), -) - -CREATE_ACCESS_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _CAKO, - {_sSI: _cCAKRo, _smi: None}, - (_AK,), - ((ACCESS_KEY, 1),), -) - -CREATE_ACCESS_KEY: StaticOperationSchema = ( - 23, - n0, - _CAK, - 0, - CREATE_ACCESS_KEY_INPUT, - CREATE_ACCESS_KEY_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -CREATE_ACCOUNT_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _CAAI, - {_sSI: _cCAAR, _s: None}, - (_AA,), - ((ACCOUNT_ALIAS_TYPE, 1),), -) - -CREATE_ACCOUNT_ALIAS_OUTPUT: StaticSchema = (18, n0, _CAAO, {_sSI: _sU, _smi: None}) - -CREATE_ACCOUNT_ALIAS: StaticOperationSchema = ( - 23, - n0, - _CAA, - 0, - CREATE_ACCOUNT_ALIAS_INPUT, - CREATE_ACCOUNT_ALIAS_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELEGATION_REQUEST_DESCRIPTION_TYPE: StaticSchema = (3, n0, _dRDT, 0) - -NOTIFICATION_CHANNEL_TYPE: StaticSchema = (3, n0, _nCT, 0) - -BOOLEAN_TYPE: StaticSchema = (2, n0, _bT, {_smithy: False}) - -POLICY_PARAMETER_NAME_TYPE: StaticSchema = (3, n0, _pPNT, 0) - -POLICY_PARAMETER_TYPE_ENUM: StaticSchema = ( - 14, - n0, - _PPTE, - 0, - (_STRING, _SL_), - ((-1, {_sV: _st}), (-1, {_sV: _sL})), -) - -POLICY_PARAMETER_VALUE_TYPE: StaticSchema = (3, n0, _pPVT, 0) - -POLICY_PARAMETER_VALUES_LIST_TYPE: StaticSchema = ( - 16, - n0, - _pPVLT, - 0, - (_me,), - ((POLICY_PARAMETER_VALUE_TYPE, 0),), -) - -POLICY_PARAMETER: StaticSchema = ( - 18, - n0, - _PP, - 0, - (_N, _V, _Ty), - ( - (POLICY_PARAMETER_NAME_TYPE, 0), - (POLICY_PARAMETER_VALUES_LIST_TYPE, 0), - (POLICY_PARAMETER_TYPE_ENUM, 0), - ), -) - -POLICY_PARAMETER_LIST_TYPE: StaticSchema = ( - 16, - n0, - _pPLT, - 0, - (_me,), - ((POLICY_PARAMETER, 0),), -) - -DELEGATION_PERMISSION: StaticSchema = ( - 18, - n0, - _DP, - 0, - (_PTA, _Par), - ((ARN_TYPE, 0), (POLICY_PARAMETER_LIST_TYPE, 0)), -) - -REDIRECT_URL_TYPE: StaticSchema = (3, n0, _rUT, 0) - -REQUEST_MESSAGE_TYPE: StaticSchema = (3, n0, _rMT, 0) - -REQUESTOR_WORKFLOW_ID_TYPE: StaticSchema = (3, n0, _rWIT, 0) - -SESSION_DURATION_TYPE: StaticSchema = (7, n0, _sDT, 0) - -CREATE_DELEGATION_REQUEST_INPUT: StaticSchema = ( - 18, - n0, - _CDRI, - {_sSI: _cCDRR, _s: None}, - (_OAI, _D, _Pe, _RM, _RWI, _RU, _NC, _SD, _OSBO), - ( - (ACCOUNT_ID_TYPE, 0), - (DELEGATION_REQUEST_DESCRIPTION_TYPE, 1), - (DELEGATION_PERMISSION, 1), - (REQUEST_MESSAGE_TYPE, 0), - (REQUESTOR_WORKFLOW_ID_TYPE, 1), - (REDIRECT_URL_TYPE, 0), - (NOTIFICATION_CHANNEL_TYPE, 1), - (SESSION_DURATION_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - ), -) - -CONSOLE_DEEP_LINK_TYPE: StaticSchema = (3, n0, _cDLT, 0) - -CREATE_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( - 18, - n0, - _CDRO, - {_sSI: _cCDRRo, _smi: None}, - (_CDL, _DRI), - ((CONSOLE_DEEP_LINK_TYPE, 0), (DELEGATION_REQUEST_ID_TYPE, 0)), -) - -CREATE_DELEGATION_REQUEST: StaticOperationSchema = ( - 23, - n0, - _CDR, - 0, - CREATE_DELEGATION_REQUEST_INPUT, - CREATE_DELEGATION_REQUEST_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CREATE_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CGI, - {_sSI: _cCGR, _s: None}, - (_Pa, _GN), - ((PATH_TYPE, 0), (GROUP_NAME_TYPE, 1)), -) - -GROUP: StaticSchema = ( - 18, - n0, - _G, - 0, - (_Pa, _GN, _GI, _Ar, _CD), - ((PATH_TYPE, 1), (GROUP_NAME_TYPE, 1), (ID_TYPE, 1), (ARN_TYPE, 1), (DATE_TYPE, 1)), -) - -CREATE_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CGO, - {_sSI: _cCGRo, _smi: None}, - (_G,), - ((GROUP, 1),), -) - -CREATE_GROUP: StaticOperationSchema = ( - 23, - n0, - _CG, - 0, - CREATE_GROUP_INPUT, - CREATE_GROUP_OUTPUT, - ( - ENTITY_ALREADY_EXISTS_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CREATE_INSTANCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _CIPI, - {_sSI: _cCIPR, _s: None}, - (_IPN, _Pa, _Ta), - ((INSTANCE_PROFILE_NAME_TYPE, 1), (PATH_TYPE, 0), (TAG_LIST_TYPE, 0)), -) - -ROLE_LIST_TYPE: StaticSchema = (16, n0, _rLT, 0, (_me,), ((ROLE, 0),)) - -INSTANCE_PROFILE: StaticSchema = ( - 18, - n0, - _IP, - 0, - (_Pa, _IPN, _IPI, _Ar, _CD, _Rol, _Ta), - ( - (PATH_TYPE, 1), - (INSTANCE_PROFILE_NAME_TYPE, 1), - (ID_TYPE, 1), - (ARN_TYPE, 1), - (DATE_TYPE, 1), - (ROLE_LIST_TYPE, 1), - (TAG_LIST_TYPE, 0), - ), -) - -CREATE_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _CIPO, - {_sSI: _cCIPRo, _smi: None}, - (_IP,), - ((INSTANCE_PROFILE, 1),), -) - -CREATE_INSTANCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _CIP, - 0, - CREATE_INSTANCE_PROFILE_INPUT, - CREATE_INSTANCE_PROFILE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CREATE_LOGIN_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _CLPI, - {_sSI: _cCLPR, _s: None}, - (_UN, _Pas, _PRR), - ((USER_NAME_TYPE, 0), (PASSWORD_TYPE, 0), (BOOLEAN_TYPE, {_smithy: False})), -) - -LOGIN_PROFILE: StaticSchema = ( - 18, - n0, - _LP, - 0, - (_UN, _CD, _PRR), - ((USER_NAME_TYPE, 1), (DATE_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False})), -) - -CREATE_LOGIN_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _CLPO, - {_sSI: _cCLPRo, _smi: None}, - (_LP,), - ((LOGIN_PROFILE, 1),), -) - -CREATE_LOGIN_PROFILE: StaticOperationSchema = ( - 23, - n0, - _CLP, - 0, - CREATE_LOGIN_PROFILE_INPUT, - CREATE_LOGIN_PROFILE_OUTPUT, - ( - ENTITY_ALREADY_EXISTS_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - PASSWORD_POLICY_VIOLATION_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CLIENT_ID_LIST_TYPE: StaticSchema = (16, n0, _cIDLT, 0, (_me,), ((CLIENT_ID_TYPE, 0),)) - -THUMBPRINT_TYPE: StaticSchema = (3, n0, _tT, 0) - -THUMBPRINT_LIST_TYPE: StaticSchema = (16, n0, _tLTh, 0, (_me,), ((THUMBPRINT_TYPE, 0),)) - -OPEN_ID_CONNECT_PROVIDER_URL_TYPE: StaticSchema = (3, n0, _OIDCPUT, 0) - -CREATE_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _COIDCPI, - {_sSI: _cCOIDCPR, _s: None}, - (_Ur, _CIDL, _TL, _Ta), - ( - (OPEN_ID_CONNECT_PROVIDER_URL_TYPE, 1), - (CLIENT_ID_LIST_TYPE, 0), - (THUMBPRINT_LIST_TYPE, 0), - (TAG_LIST_TYPE, 0), - ), -) - -CREATE_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _COIDCPO, - {_sSI: _cCOIDCPRo, _smi: None}, - (_OIDCPA, _Ta), - ((ARN_TYPE, 0), (TAG_LIST_TYPE, 0)), -) - -OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _oIICEEM, 0) - -OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION: StaticSchema = ( - 18, - n0, - _OIICEE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "OpenIdIdpCommunicationError", "httpResponseCode": 400} - ), - }, - (_m,), - ((OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION_MESSAGE, 0),), -) - -CREATE_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _COIDCP, - 0, - CREATE_OPEN_ID_CONNECT_PROVIDER_INPUT, - CREATE_OPEN_ID_CONNECT_PROVIDER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -POLICY_DESCRIPTION_TYPE: StaticSchema = (3, n0, _pDTo, 0) - -POLICY_PATH_TYPE: StaticSchema = (3, n0, _pPT, 0) - -CREATE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _CPIr, - {_sSI: _cCPRo, _s: None}, - (_PN, _Pa, _PD, _D, _Ta), - ( - (POLICY_NAME_TYPE, 1), - (POLICY_PATH_TYPE, 0), - (POLICY_DOCUMENT_TYPE, 1), - (POLICY_DESCRIPTION_TYPE, 0), - (TAG_LIST_TYPE, 0), - ), -) - -POLICY_VERSION_ID_TYPE: StaticSchema = (3, n0, _pVIT, 0) - -POLICY: StaticSchema = ( - 18, - n0, - _P, - 0, - (_PN, _PI, _Ar, _Pa, _DVI, _AC, _PBUC, _IA, _D, _CD, _UD, _Ta), - ( - (POLICY_NAME_TYPE, 0), - (ID_TYPE, 0), - (ARN_TYPE, 0), - (POLICY_PATH_TYPE, 0), - (POLICY_VERSION_ID_TYPE, 0), - (ATTACHMENT_COUNT_TYPE, 0), - (ATTACHMENT_COUNT_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (POLICY_DESCRIPTION_TYPE, 0), - (DATE_TYPE, 0), - (DATE_TYPE, 0), - (TAG_LIST_TYPE, 0), - ), -) - -CREATE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _CPOr, - {_sSI: _cCPRom, _smi: None}, - (_P,), - ((POLICY, 0),), -) - -CREATE_POLICY: StaticOperationSchema = ( - 23, - n0, - _CPr, - 0, - CREATE_POLICY_INPUT, - CREATE_POLICY_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CREATE_POLICY_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CPVI, - {_sSI: _cCPVR, _s: None}, - (_PA, _PD, _SAD), - ((ARN_TYPE, 1), (POLICY_DOCUMENT_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False})), -) - -POLICY_VERSION: StaticSchema = ( - 18, - n0, - _PV, - 0, - (_Do, _VI, _IDV, _CD), - ( - (POLICY_DOCUMENT_TYPE, 0), - (POLICY_VERSION_ID_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (DATE_TYPE, 0), - ), -) - -CREATE_POLICY_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CPVO, - {_sSI: _cCPVRo, _smi: None}, - (_PV,), - ((POLICY_VERSION, 0),), -) - -CREATE_POLICY_VERSION: StaticOperationSchema = ( - 23, - n0, - _CPV, - 0, - CREATE_POLICY_VERSION_INPUT, - CREATE_POLICY_VERSION_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CREATE_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _CRI, - {_sSI: _cCRR, _s: None}, - (_Pa, _RN, _ARPD, _D, _MSD, _PB, _Ta), - ( - (PATH_TYPE, 0), - (ROLE_NAME_TYPE, 1), - (POLICY_DOCUMENT_TYPE, 1), - (ROLE_DESCRIPTION_TYPE, 0), - (ROLE_MAX_SESSION_DURATION_TYPE, 0), - (ARN_TYPE, 0), - (TAG_LIST_TYPE, 0), - ), -) - -CREATE_ROLE_OUTPUT: StaticSchema = ( - 18, - n0, - _CRO, - {_sSI: _cCRRo, _smi: None}, - (_Ro,), - ((ROLE, 1),), -) - -CREATE_ROLE: StaticOperationSchema = ( - 23, - n0, - _CR, - 0, - CREATE_ROLE_INPUT, - CREATE_ROLE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -PRIVATE_KEY_TYPE: StaticSchema = (3, n0, _pKT, 4) - -SAML_PROVIDER_NAME_TYPE: StaticSchema = (3, n0, _SAMLPNT, 0) - -SAML_METADATA_DOCUMENT_TYPE: StaticSchema = (3, n0, _SAMLMDT, 0) - -CREATE_SAML_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _CSAMLPI, - {_sSI: _cCSAMLPR, _s: None}, - (_SAMLMD, _N, _Ta, _AEM, _APK), - ( - (SAML_METADATA_DOCUMENT_TYPE, 1), - (SAML_PROVIDER_NAME_TYPE, 1), - (TAG_LIST_TYPE, 0), - (ASSERTION_ENCRYPTION_MODE_TYPE, 0), - (PRIVATE_KEY_TYPE, 0), - ), -) - -CREATE_SAML_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _CSAMLPO, - {_sSI: _cCSAMLPRo, _smi: None}, - (_SAMLPA, _Ta), - ((ARN_TYPE, 0), (TAG_LIST_TYPE, 0)), -) - -CREATE_SAML_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _CSAMLP, - 0, - CREATE_SAML_PROVIDER_INPUT, - CREATE_SAML_PROVIDER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CUSTOM_SUFFIX_TYPE: StaticSchema = (3, n0, _cST, 0) - -CREATE_SERVICE_LINKED_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _CSLRI, - {_sSI: _cCSLRR, _s: None}, - (_AWSSN, _D, _CS), - ((GROUP_NAME_TYPE, 1), (ROLE_DESCRIPTION_TYPE, 0), (CUSTOM_SUFFIX_TYPE, 0)), -) - -CREATE_SERVICE_LINKED_ROLE_OUTPUT: StaticSchema = ( - 18, - n0, - _CSLRO, - {_sSI: _cCSLRRo, _smi: None}, - (_Ro,), - ((ROLE, 0),), -) - -CREATE_SERVICE_LINKED_ROLE: StaticOperationSchema = ( - 23, - n0, - _CSLR, - 0, - CREATE_SERVICE_LINKED_ROLE_INPUT, - CREATE_SERVICE_LINKED_ROLE_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CREDENTIAL_AGE_DAYS: StaticSchema = (7, n0, _cAD, 0) - -SERVICE_NAME: StaticSchema = (3, n0, _sN, 0) - -CREATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT: StaticSchema = ( - 18, - n0, - _CSSCI, - {_sSI: _cCSSCR, _s: None}, - (_UN, _SN, _CAD), - ((USER_NAME_TYPE, 1), (SERVICE_NAME, 1), (CREDENTIAL_AGE_DAYS, 0)), -) - -SERVICE_CREDENTIAL_ALIAS: StaticSchema = (3, n0, _sCA, 0) - -SERVICE_CREDENTIAL_SECRET: StaticSchema = (3, n0, _sCS, 4) - -SERVICE_PASSWORD: StaticSchema = (3, n0, _sP, 4) - -SERVICE_SPECIFIC_CREDENTIAL_ID: StaticSchema = (3, n0, _sSCI, 0) - -SERVICE_USER_NAME: StaticSchema = (3, n0, _sUN, 0) - -SERVICE_SPECIFIC_CREDENTIAL: StaticSchema = ( - 18, - n0, - _SSC, - 0, - (_CD, _ED, _SN, _SUN, _SP, _SCA, _SCS, _SSCI, _UN, _S), - ( - (DATE_TYPE, 1), - (DATE_TYPE, 0), - (SERVICE_NAME, 1), - (SERVICE_USER_NAME, {_smithy: _v_}), - (SERVICE_PASSWORD, {_smithy: _v_}), - (SERVICE_CREDENTIAL_ALIAS, 0), - (SERVICE_CREDENTIAL_SECRET, 0), - (SERVICE_SPECIFIC_CREDENTIAL_ID, 1), - (USER_NAME_TYPE, 1), - (STATUS_TYPE, 1), - ), -) - -CREATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT: StaticSchema = ( - 18, - n0, - _CSSCO, - {_sSI: _cCSSCRo, _smi: None}, - (_SSC,), - ((SERVICE_SPECIFIC_CREDENTIAL, 0),), -) - -SERVICE_NOT_SUPPORTED_MESSAGE: StaticSchema = (3, n0, _sNSM, 0) - -SERVICE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SNSE, - { - _smit: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "NotSupportedService", "httpResponseCode": 404} - ), - }, - (_m,), - ((SERVICE_NOT_SUPPORTED_MESSAGE, 0),), -) - -CREATE_SERVICE_SPECIFIC_CREDENTIAL: StaticOperationSchema = ( - 23, - n0, - _CSSC, - 0, - CREATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT, - CREATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT, - ( - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_NOT_SUPPORTED_EXCEPTION, - ), -) - -CREATE_USER_INPUT: StaticSchema = ( - 18, - n0, - _CUI, - {_sSI: _cCUR, _s: None}, - (_Pa, _UN, _PB, _Ta), - ((PATH_TYPE, 0), (USER_NAME_TYPE, 1), (ARN_TYPE, 0), (TAG_LIST_TYPE, 0)), -) - -USER: StaticSchema = ( - 18, - n0, - _Us, - 0, - (_Pa, _UN, _UI, _Ar, _CD, _PLU, _PB, _Ta), - ( - (PATH_TYPE, 1), - (USER_NAME_TYPE, 1), - (ID_TYPE, 1), - (ARN_TYPE, 1), - (DATE_TYPE, 1), - (DATE_TYPE, 0), - (ATTACHED_PERMISSIONS_BOUNDARY, 0), - (TAG_LIST_TYPE, 0), - ), -) - -CREATE_USER_OUTPUT: StaticSchema = ( - 18, - n0, - _CUO, - {_sSI: _cCURo, _smi: None}, - (_Us,), - ((USER, 0),), -) - -CREATE_USER: StaticOperationSchema = ( - 23, - n0, - _CU, - 0, - CREATE_USER_INPUT, - CREATE_USER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -VIRTUAL_MFA_DEVICE_NAME: StaticSchema = (3, n0, _vMFADN, 0) - -CREATE_VIRTUAL_MFA_DEVICE_INPUT: StaticSchema = ( - 18, - n0, - _CVMFADI, - {_sSI: _cCVMFADR, _s: None}, - (_Pa, _VMFADN, _Ta), - ((PATH_TYPE, 0), (VIRTUAL_MFA_DEVICE_NAME, 1), (TAG_LIST_TYPE, 0)), -) - -BOOTSTRAP_DATUM: StaticSchema = (1, n0, _BD, 4) - -SERIAL_NUMBER_TYPE: StaticSchema = (3, n0, _sNTer, 0) - -VIRTUAL_MFA_DEVICE: StaticSchema = ( - 18, - n0, - _VMFAD, - 0, - (_SNer, _BSS, _QRCPNG, _Us, _EDn, _Ta), - ( - (SERIAL_NUMBER_TYPE, 1), - (BOOTSTRAP_DATUM, 0), - (BOOTSTRAP_DATUM, 0), - (USER, 0), - (DATE_TYPE, 0), - (TAG_LIST_TYPE, 0), - ), -) - -CREATE_VIRTUAL_MFA_DEVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _CVMFADO, - {_sSI: _cCVMFADRo, _smi: None}, - (_VMFAD,), - ((VIRTUAL_MFA_DEVICE, 1),), -) - -CREATE_VIRTUAL_MFA_DEVICE: StaticOperationSchema = ( - 23, - n0, - _CVMFAD, - 0, - CREATE_VIRTUAL_MFA_DEVICE_INPUT, - CREATE_VIRTUAL_MFA_DEVICE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DEACTIVATE_MFA_DEVICE_INPUT: StaticSchema = ( - 18, - n0, - _DMFADI, - {_sSI: _cDMFADR, _s: None}, - (_UN, _SNer), - ((EXISTING_USER_NAME_TYPE, 0), (SERIAL_NUMBER_TYPE, 1)), -) - -DEACTIVATE_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _DMFADO, {_sSI: _sU, _smi: None}) - -DEACTIVATE_MFA_DEVICE: StaticOperationSchema = ( - 23, - n0, - _DMFAD, - 0, - DEACTIVATE_MFA_DEVICE_INPUT, - DEACTIVATE_MFA_DEVICE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELETE_ACCESS_KEY_INPUT: StaticSchema = ( - 18, - n0, - _DAKI, - {_sSI: _cDAKR, _s: None}, - (_UN, _AKI), - ((EXISTING_USER_NAME_TYPE, 0), (ACCESS_KEY_ID_TYPE, 1)), -) - -DELETE_ACCESS_KEY_OUTPUT: StaticSchema = (18, n0, _DAKO, {_sSI: _sU, _smi: None}) - -DELETE_ACCESS_KEY: StaticOperationSchema = ( - 23, - n0, - _DAK, - 0, - DELETE_ACCESS_KEY_INPUT, - DELETE_ACCESS_KEY_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -DELETE_ACCOUNT_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _DAAI, - {_sSI: _cDAAR, _s: None}, - (_AA,), - ((ACCOUNT_ALIAS_TYPE, 1),), -) - -DELETE_ACCOUNT_ALIAS_OUTPUT: StaticSchema = (18, n0, _DAAO, {_sSI: _sU, _smi: None}) - -DELETE_ACCOUNT_ALIAS: StaticOperationSchema = ( - 23, - n0, - _DAA, - 0, - DELETE_ACCOUNT_ALIAS_INPUT, - DELETE_ACCOUNT_ALIAS_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELETE_ACCOUNT_PASSWORD_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DAPPI, - {_sSI: _sU, _s: None}, -) - -DELETE_ACCOUNT_PASSWORD_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DAPPO, - {_sSI: _sU, _smi: None}, -) - -DELETE_ACCOUNT_PASSWORD_POLICY: StaticOperationSchema = ( - 23, - n0, - _DAPP, - 0, - DELETE_ACCOUNT_PASSWORD_POLICY_INPUT, - DELETE_ACCOUNT_PASSWORD_POLICY_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -DELETE_CONFLICT_MESSAGE: StaticSchema = (3, n0, _dCM, 0) - -DELETE_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _DCE, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType({"code": "DeleteConflict", "httpResponseCode": 409}), - }, - (_m,), - ((DELETE_CONFLICT_MESSAGE, 0),), -) - -DELETE_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DGI, - {_sSI: _cDGR, _s: None}, - (_GN,), - ((GROUP_NAME_TYPE, 1),), -) - -DELETE_GROUP_OUTPUT: StaticSchema = (18, n0, _DGO, {_sSI: _sU, _smi: None}) - -DELETE_GROUP: StaticOperationSchema = ( - 23, - n0, - _DG, - 0, - DELETE_GROUP_INPUT, - DELETE_GROUP_OUTPUT, - ( - DELETE_CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELETE_GROUP_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DGPI, - {_sSI: _cDGPR, _s: None}, - (_GN, _PN), - ((GROUP_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1)), -) - -DELETE_GROUP_POLICY_OUTPUT: StaticSchema = (18, n0, _DGPO, {_sSI: _sU, _smi: None}) - -DELETE_GROUP_POLICY: StaticOperationSchema = ( - 23, - n0, - _DGP, - 0, - DELETE_GROUP_POLICY_INPUT, - DELETE_GROUP_POLICY_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -DELETE_INSTANCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _DIPI, - {_sSI: _cDIPR, _s: None}, - (_IPN,), - ((INSTANCE_PROFILE_NAME_TYPE, 1),), -) - -DELETE_INSTANCE_PROFILE_OUTPUT: StaticSchema = (18, n0, _DIPO, {_sSI: _sU, _smi: None}) - -DELETE_INSTANCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _DIP, - 0, - DELETE_INSTANCE_PROFILE_INPUT, - DELETE_INSTANCE_PROFILE_OUTPUT, - ( - DELETE_CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELETE_LOGIN_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _DLPI, - {_sSI: _cDLPR, _s: None}, - (_UN,), - ((USER_NAME_TYPE, 0),), -) - -DELETE_LOGIN_PROFILE_OUTPUT: StaticSchema = (18, n0, _DLPO, {_sSI: _sU, _smi: None}) - -DELETE_LOGIN_PROFILE: StaticOperationSchema = ( - 23, - n0, - _DLP, - 0, - DELETE_LOGIN_PROFILE_INPUT, - DELETE_LOGIN_PROFILE_OUTPUT, - ( - ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELETE_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DOIDCPI, - {_sSI: _cDOIDCPR, _s: None}, - (_OIDCPA,), - ((ARN_TYPE, 1),), -) - -DELETE_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _DOIDCPO, - {_sSI: _sU, _smi: None}, -) - -DELETE_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DOIDCP, - 0, - DELETE_OPEN_ID_CONNECT_PROVIDER_INPUT, - DELETE_OPEN_ID_CONNECT_PROVIDER_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -DELETE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DPI, - {_sSI: _cDPR, _s: None}, - (_PA,), - ((ARN_TYPE, 1),), -) - -DELETE_POLICY_OUTPUT: StaticSchema = (18, n0, _DPO, {_sSI: _sU, _smi: None}) - -DELETE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DPe, - 0, - DELETE_POLICY_INPUT, - DELETE_POLICY_OUTPUT, - ( - DELETE_CONFLICT_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELETE_POLICY_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _DPVI, - {_sSI: _cDPVR, _s: None}, - (_PA, _VI), - ((ARN_TYPE, 1), (POLICY_VERSION_ID_TYPE, 1)), -) - -DELETE_POLICY_VERSION_OUTPUT: StaticSchema = (18, n0, _DPVO, {_sSI: _sU, _smi: None}) - -DELETE_POLICY_VERSION: StaticOperationSchema = ( - 23, - n0, - _DPV, - 0, - DELETE_POLICY_VERSION_INPUT, - DELETE_POLICY_VERSION_OUTPUT, - ( - DELETE_CONFLICT_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELETE_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _DRIe, - {_sSI: _cDRR, _s: None}, - (_RN,), - ((ROLE_NAME_TYPE, 1),), -) - -DELETE_ROLE_OUTPUT: StaticSchema = (18, n0, _DRO, {_sSI: _sU, _smi: None}) - -DELETE_ROLE: StaticOperationSchema = ( - 23, - n0, - _DR, - 0, - DELETE_ROLE_INPUT, - DELETE_ROLE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - DELETE_CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -DELETE_ROLE_PERMISSIONS_BOUNDARY_INPUT: StaticSchema = ( - 18, - n0, - _DRPBI, - {_sSI: _cDRPBR, _s: None}, - (_RN,), - ((ROLE_NAME_TYPE, 1),), -) - -DELETE_ROLE_PERMISSIONS_BOUNDARY_OUTPUT: StaticSchema = ( - 18, - n0, - _DRPBO, - {_sSI: _sU, _smi: None}, -) - -DELETE_ROLE_PERMISSIONS_BOUNDARY: StaticOperationSchema = ( - 23, - n0, - _DRPB, - 0, - DELETE_ROLE_PERMISSIONS_BOUNDARY_INPUT, - DELETE_ROLE_PERMISSIONS_BOUNDARY_OUTPUT, - ( - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -DELETE_ROLE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_sSI: _cDRPR, _s: None}, - (_RN, _PN), - ((ROLE_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1)), -) - -DELETE_ROLE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPO, {_sSI: _sU, _smi: None}) - -DELETE_ROLE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - 0, - DELETE_ROLE_POLICY_INPUT, - DELETE_ROLE_POLICY_OUTPUT, - ( - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -DELETE_SAML_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DSAMLPI, - {_sSI: _cDSAMLPR, _s: None}, - (_SAMLPA,), - ((ARN_TYPE, 1),), -) - -DELETE_SAML_PROVIDER_OUTPUT: StaticSchema = (18, n0, _DSAMLPO, {_sSI: _sU, _smi: None}) - -DELETE_SAML_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DSAMLP, - 0, - DELETE_SAML_PROVIDER_INPUT, - DELETE_SAML_PROVIDER_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -SERVER_CERTIFICATE_NAME_TYPE: StaticSchema = (3, n0, _sCNT, 0) - -DELETE_SERVER_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _DSCI, - {_sSI: _cDSCR, _s: None}, - (_SCN,), - ((SERVER_CERTIFICATE_NAME_TYPE, 1),), -) - -DELETE_SERVER_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _DSCO, - {_sSI: _sU, _smi: None}, -) - -DELETE_SERVER_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _DSC, - 0, - DELETE_SERVER_CERTIFICATE_INPUT, - DELETE_SERVER_CERTIFICATE_OUTPUT, - ( - DELETE_CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELETE_SERVICE_LINKED_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _DSLRI, - {_sSI: _cDSLRR, _s: None}, - (_RN,), - ((ROLE_NAME_TYPE, 1),), -) - -DELETION_TASK_ID_TYPE: StaticSchema = (3, n0, _DTIT, 0) - -DELETE_SERVICE_LINKED_ROLE_OUTPUT: StaticSchema = ( - 18, - n0, - _DSLRO, - {_sSI: _cDSLRRo, _smi: None}, - (_DTI,), - ((DELETION_TASK_ID_TYPE, 1),), -) - -DELETE_SERVICE_LINKED_ROLE: StaticOperationSchema = ( - 23, - n0, - _DSLR, - 0, - DELETE_SERVICE_LINKED_ROLE_INPUT, - DELETE_SERVICE_LINKED_ROLE_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -DELETE_SERVICE_SPECIFIC_CREDENTIAL_INPUT: StaticSchema = ( - 18, - n0, - _DSSCI, - {_sSI: _cDSSCR, _s: None}, - (_UN, _SSCI), - ((USER_NAME_TYPE, 0), (SERVICE_SPECIFIC_CREDENTIAL_ID, 1)), -) - -DELETE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT: StaticSchema = ( - 18, - n0, - _DSSCO, - {_sSI: _sU, _smi: None}, -) - -DELETE_SERVICE_SPECIFIC_CREDENTIAL: StaticOperationSchema = ( - 23, - n0, - _DSSC, - 0, - DELETE_SERVICE_SPECIFIC_CREDENTIAL_INPUT, - DELETE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION,), -) - -CERTIFICATE_ID_TYPE: StaticSchema = (3, n0, _cIT, 0) - -DELETE_SIGNING_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _DSCIe, - {_sSI: _cDSCRo, _s: None}, - (_UN, _CI), - ((EXISTING_USER_NAME_TYPE, 0), (CERTIFICATE_ID_TYPE, 1)), -) - -DELETE_SIGNING_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _DSCOe, - {_sSI: _sU, _smi: None}, -) - -DELETE_SIGNING_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _DSCe, - 0, - DELETE_SIGNING_CERTIFICATE_INPUT, - DELETE_SIGNING_CERTIFICATE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -PUBLIC_KEY_ID_TYPE: StaticSchema = (3, n0, _pKIT, 0) - -DELETE_SSH_PUBLIC_KEY_INPUT: StaticSchema = ( - 18, - n0, - _DSSHPKI, - {_sSI: _cDSSHPKR, _s: None}, - (_UN, _SSHPKI), - ((USER_NAME_TYPE, 1), (PUBLIC_KEY_ID_TYPE, 1)), -) - -DELETE_SSH_PUBLIC_KEY_OUTPUT: StaticSchema = (18, n0, _DSSHPKO, {_sSI: _sU, _smi: None}) - -DELETE_SSH_PUBLIC_KEY: StaticOperationSchema = ( - 23, - n0, - _DSSHPK, - 0, - DELETE_SSH_PUBLIC_KEY_INPUT, - DELETE_SSH_PUBLIC_KEY_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION,), -) - -DELETE_USER_INPUT: StaticSchema = ( - 18, - n0, - _DUI, - {_sSI: _cDUR, _s: None}, - (_UN,), - ((EXISTING_USER_NAME_TYPE, 1),), -) - -DELETE_USER_OUTPUT: StaticSchema = (18, n0, _DUO, {_sSI: _sU, _smi: None}) - -DELETE_USER: StaticOperationSchema = ( - 23, - n0, - _DU, - 0, - DELETE_USER_INPUT, - DELETE_USER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - DELETE_CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DELETE_USER_PERMISSIONS_BOUNDARY_INPUT: StaticSchema = ( - 18, - n0, - _DUPBI, - {_sSI: _cDUPBR, _s: None}, - (_UN,), - ((USER_NAME_TYPE, 1),), -) - -DELETE_USER_PERMISSIONS_BOUNDARY_OUTPUT: StaticSchema = ( - 18, - n0, - _DUPBO, - {_sSI: _sU, _smi: None}, -) - -DELETE_USER_PERMISSIONS_BOUNDARY: StaticOperationSchema = ( - 23, - n0, - _DUPB, - 0, - DELETE_USER_PERMISSIONS_BOUNDARY_INPUT, - DELETE_USER_PERMISSIONS_BOUNDARY_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -DELETE_USER_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DUPI, - {_sSI: _cDUPR, _s: None}, - (_UN, _PN), - ((EXISTING_USER_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1)), -) - -DELETE_USER_POLICY_OUTPUT: StaticSchema = (18, n0, _DUPO, {_sSI: _sU, _smi: None}) - -DELETE_USER_POLICY: StaticOperationSchema = ( - 23, - n0, - _DUP, - 0, - DELETE_USER_POLICY_INPUT, - DELETE_USER_POLICY_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -DELETE_VIRTUAL_MFA_DEVICE_INPUT: StaticSchema = ( - 18, - n0, - _DVMFADI, - {_sSI: _cDVMFADR, _s: None}, - (_SNer,), - ((SERIAL_NUMBER_TYPE, 1),), -) - -DELETE_VIRTUAL_MFA_DEVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _DVMFADO, - {_sSI: _sU, _smi: None}, -) - -DELETE_VIRTUAL_MFA_DEVICE: StaticOperationSchema = ( - 23, - n0, - _DVMFAD, - 0, - DELETE_VIRTUAL_MFA_DEVICE_INPUT, - DELETE_VIRTUAL_MFA_DEVICE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - DELETE_CONFLICT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DETACH_GROUP_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DGPIe, - {_sSI: _cDGPRo, _s: None}, - (_GN, _PA), - ((GROUP_NAME_TYPE, 1), (ARN_TYPE, 1)), -) - -DETACH_GROUP_POLICY_OUTPUT: StaticSchema = (18, n0, _DGPOe, {_sSI: _sU, _smi: None}) - -DETACH_GROUP_POLICY: StaticOperationSchema = ( - 23, - n0, - _DGPe, - 0, - DETACH_GROUP_POLICY_INPUT, - DETACH_GROUP_POLICY_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DETACH_ROLE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPIe, - {_sSI: _cDRPRo, _s: None}, - (_RN, _PA), - ((ROLE_NAME_TYPE, 1), (ARN_TYPE, 1)), -) - -DETACH_ROLE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPOe, {_sSI: _sU, _smi: None}) - -DETACH_ROLE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRPe, - 0, - DETACH_ROLE_POLICY_INPUT, - DETACH_ROLE_POLICY_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -DETACH_USER_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DUPIe, - {_sSI: _cDUPRo, _s: None}, - (_UN, _PA), - ((USER_NAME_TYPE, 1), (ARN_TYPE, 1)), -) - -DETACH_USER_POLICY_OUTPUT: StaticSchema = (18, n0, _DUPOe, {_sSI: _sU, _smi: None}) - -DETACH_USER_POLICY: StaticOperationSchema = ( - 23, - n0, - _DUPe, - 0, - DETACH_USER_POLICY_INPUT, - DETACH_USER_POLICY_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT: StaticSchema = ( - 18, - n0, - _DORCMI, - {_sSI: _cDORCMR, _s: None}, -) - -FEATURE_TYPE: StaticSchema = ( - 14, - n0, - _FT, - 0, - (_RCM, _RS), - ((-1, {_sV: _RCMo}), (-1, {_sV: _RSo})), -) - -FEATURES_LIST_TYPE: StaticSchema = (16, n0, _FLT, 0, (_me,), ((FEATURE_TYPE, 0),)) - -ORGANIZATION_ID_TYPE: StaticSchema = (3, n0, _OIT, 0) - -DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DORCMO, - {_sSI: _cDORCMRo, _smi: None}, - (_OI, _EF), - ((ORGANIZATION_ID_TYPE, 0), (FEATURES_LIST_TYPE, 0)), -) - -ORGANIZATION_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _ONFE, - {_smit: _c, _sE: 400}, - (_M,), - ((EXCEPTION_MESSAGE, 0),), -) - -ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ONIAFME, - {_smit: _c, _sE: 400}, - (_M,), - ((EXCEPTION_MESSAGE, 0),), -) - -SERVICE_ACCESS_NOT_ENABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SANEE, - {_smit: _c, _sE: 400}, - (_M,), - ((EXCEPTION_MESSAGE, 0),), -) - -DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT: StaticOperationSchema = ( - 23, - n0, - _DORCM, - 0, - DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT, - DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT, - ( - ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, - ORGANIZATION_NOT_FOUND_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, - ), -) - -DISABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DORSI, - {_sSI: _cDORSR, _s: None}, -) - -DISABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DORSO, - {_sSI: _cDORSRo, _smi: None}, - (_OI, _EF), - ((ORGANIZATION_ID_TYPE, 0), (FEATURES_LIST_TYPE, 0)), -) - -DISABLE_ORGANIZATIONS_ROOT_SESSIONS: StaticOperationSchema = ( - 23, - n0, - _DORS, - 0, - DISABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT, - DISABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT, - ( - ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, - ORGANIZATION_NOT_FOUND_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, - ), -) - -DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT: StaticSchema = ( - 18, - n0, - _DOWIFI, - {_sSI: _sU, _s: None}, -) - -DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DOWIFO, - {_sSI: _sU, _smi: None}, -) - -FEATURE_DISABLED_MESSAGE: StaticSchema = (3, n0, _FDM, 0) - -FEATURE_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _FDE, - { - _smit: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "FeatureDisabled", "httpResponseCode": 404}), - }, - (_m,), - ((FEATURE_DISABLED_MESSAGE, 0),), -) - -DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION: StaticOperationSchema = ( - 23, - n0, - _DOWIF, - 0, - DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT, - DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT, - (FEATURE_DISABLED_EXCEPTION,), -) - -ENABLE_MFA_DEVICE_INPUT: StaticSchema = ( - 18, - n0, - _EMFADI, - {_sSI: _cEMFADR, _s: None}, - (_UN, _SNer, _ACu, _ACut), - ( - (EXISTING_USER_NAME_TYPE, 1), - (SERIAL_NUMBER_TYPE, 1), - (AUTHENTICATION_CODE_TYPE, 1), - (AUTHENTICATION_CODE_TYPE, 1), - ), -) - -ENABLE_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _EMFADO, {_sSI: _sU, _smi: None}) - -INVALID_AUTHENTICATION_CODE_MESSAGE: StaticSchema = (3, n0, _iACM, 0) - -INVALID_AUTHENTICATION_CODE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IACE, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "InvalidAuthenticationCode", "httpResponseCode": 403} - ), - }, - (_m,), - ((INVALID_AUTHENTICATION_CODE_MESSAGE, 0),), -) - -ENABLE_MFA_DEVICE: StaticOperationSchema = ( - 23, - n0, - _EMFAD, - 0, - ENABLE_MFA_DEVICE_INPUT, - ENABLE_MFA_DEVICE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, - INVALID_AUTHENTICATION_CODE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -CALLER_IS_NOT_MANAGEMENT_ACCOUNT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CINMAE, - {_smit: _c, _sE: 400}, - (_M,), - ((EXCEPTION_MESSAGE, 0),), -) - -ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT: StaticSchema = ( - 18, - n0, - _EORCMI, - {_sSI: _cEORCMR, _s: None}, -) - -ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _EORCMO, - {_sSI: _cEORCMRo, _smi: None}, - (_OI, _EF), - ((ORGANIZATION_ID_TYPE, 0), (FEATURES_LIST_TYPE, 0)), -) - -ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT: StaticOperationSchema = ( - 23, - n0, - _EORCM, - 0, - ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT, - ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT, - ( - ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, - CALLER_IS_NOT_MANAGEMENT_ACCOUNT_EXCEPTION, - ORGANIZATION_NOT_FOUND_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, - ), -) - -ENABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT: StaticSchema = ( - 18, - n0, - _EORSI, - {_sSI: _cEORSR, _s: None}, -) - -ENABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _EORSO, - {_sSI: _cEORSRo, _smi: None}, - (_OI, _EF), - ((ORGANIZATION_ID_TYPE, 0), (FEATURES_LIST_TYPE, 0)), -) - -ENABLE_ORGANIZATIONS_ROOT_SESSIONS: StaticOperationSchema = ( - 23, - n0, - _EORS, - 0, - ENABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT, - ENABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT, - ( - ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, - CALLER_IS_NOT_MANAGEMENT_ACCOUNT_EXCEPTION, - ORGANIZATION_NOT_FOUND_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, - ), -) - -ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT: StaticSchema = ( - 18, - n0, - _EOWIFI, - {_sSI: _sU, _s: None}, -) - -ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT: StaticSchema = ( - 18, - n0, - _EOWIFO, - {_sSI: _cEOWIFR, _smi: None}, - (_II,), - ((STRING_TYPE, 0),), -) - -FEATURE_ENABLED_MESSAGE: StaticSchema = (3, n0, _FEM, 0) - -FEATURE_ENABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _FEE, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType({"code": "FeatureEnabled", "httpResponseCode": 409}), - }, - (_m,), - ((FEATURE_ENABLED_MESSAGE, 0),), -) - -ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION: StaticOperationSchema = ( - 23, - n0, - _EOWIF, - 0, - ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT, - ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT, - (FEATURE_ENABLED_EXCEPTION,), -) - -GENERATE_CREDENTIAL_REPORT_INPUT: StaticSchema = (18, n0, _GCRI, {_sSI: _sU, _s: None}) - -REPORT_STATE_DESCRIPTION_TYPE: StaticSchema = (3, n0, _RSDT, 0) - -REPORT_STATE_TYPE: StaticSchema = ( - 14, - n0, - _RST, - 0, - (_STARTED, _INPROGRESS, _COMPLETE), - ((-1, {_sV: _STARTED}), (-1, {_sV: _INPROGRESS}), (-1, {_sV: _COMPLETE})), -) - -GENERATE_CREDENTIAL_REPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _GCRO, - {_sSI: _cGCRR, _smi: None}, - (_St, _D), - ((REPORT_STATE_TYPE, 0), (REPORT_STATE_DESCRIPTION_TYPE, 0)), -) - -GENERATE_CREDENTIAL_REPORT: StaticOperationSchema = ( - 23, - n0, - _GCR, - 0, - GENERATE_CREDENTIAL_REPORT_INPUT, - GENERATE_CREDENTIAL_REPORT_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -ORGANIZATIONS_POLICY_ID_TYPE: StaticSchema = (3, n0, _oPIT, 0) - -GENERATE_ORGANIZATIONS_ACCESS_REPORT_INPUT: StaticSchema = ( - 18, - n0, - _GOARI, - {_sSI: _cGOARR, _s: None}, - (_EP, _OPI), - ((ORGANIZATIONS_ENTITY_PATH_TYPE, 1), (ORGANIZATIONS_POLICY_ID_TYPE, 0)), -) - -JOB_ID_TYPE: StaticSchema = (3, n0, _jIDT, 0) - -GENERATE_ORGANIZATIONS_ACCESS_REPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _GOARO, - {_sSI: _cGOARRo, _smi: None}, - (_JI,), - ((JOB_ID_TYPE, 0),), -) - -REPORT_GENERATION_LIMIT_EXCEEDED_MESSAGE: StaticSchema = (3, n0, _rGLEM, 0) - -REPORT_GENERATION_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _RGLEE, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "ReportGenerationLimitExceeded", "httpResponseCode": 409} - ), - }, - (_m,), - ((REPORT_GENERATION_LIMIT_EXCEEDED_MESSAGE, 0),), -) - -GENERATE_ORGANIZATIONS_ACCESS_REPORT: StaticOperationSchema = ( - 23, - n0, - _GOAR, - 0, - GENERATE_ORGANIZATIONS_ACCESS_REPORT_INPUT, - GENERATE_ORGANIZATIONS_ACCESS_REPORT_OUTPUT, - (REPORT_GENERATION_LIMIT_EXCEEDED_EXCEPTION,), -) - -GENERATE_SERVICE_LAST_ACCESSED_DETAILS_INPUT: StaticSchema = ( - 18, - n0, - _GSLADI, - {_sSI: _cGSLADR, _s: None}, - (_Ar, _Gr), - ((ARN_TYPE, 1), (ACCESS_ADVISOR_USAGE_GRANULARITY_TYPE, 0)), -) - -GENERATE_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT: StaticSchema = ( - 18, - n0, - _GSLADO, - {_sSI: _cGSLADRo, _smi: None}, - (_JI,), - ((JOB_ID_TYPE, 0),), -) - -GENERATE_SERVICE_LAST_ACCESSED_DETAILS: StaticOperationSchema = ( - 23, - n0, - _GSLAD, - 0, - GENERATE_SERVICE_LAST_ACCESSED_DETAILS_INPUT, - GENERATE_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION), -) - -GET_ACCESS_KEY_LAST_USED_INPUT: StaticSchema = ( - 18, - n0, - _GAKLUI, - {_sSI: _cGAKLUR, _s: None}, - (_AKI,), - ((ACCESS_KEY_ID_TYPE, 1),), -) - -GET_ACCESS_KEY_LAST_USED_OUTPUT: StaticSchema = ( - 18, - n0, - _GAKLUO, - {_sSI: _cGAKLURo, _smi: None}, - (_UN, _AKLU), - ((EXISTING_USER_NAME_TYPE, 0), (ACCESS_KEY_LAST_USED, 0)), -) - -GET_ACCESS_KEY_LAST_USED: StaticOperationSchema = ( - 23, - n0, - _GAKLU, - 0, - GET_ACCESS_KEY_LAST_USED_INPUT, - GET_ACCESS_KEY_LAST_USED_OUTPUT, - (), -) - -ENTITY_TYPE: StaticSchema = ( - 14, - n0, - _ET, - 0, - (_Us, _Ro, _G, _LMP, _AWSMP), - ( - (-1, {_sV: _Us}), - (-1, {_sV: _Ro}), - (-1, {_sV: _G}), - (-1, {_sV: _LMP}), - (-1, {_sV: _AWSMP}), - ), -) - -ENTITY_LIST_TYPE: StaticSchema = (16, n0, _eLT, 0, (_me,), ((ENTITY_TYPE, 0),)) - -MARKER_TYPE: StaticSchema = (3, n0, _mT, 0) - -MAX_ITEMS_TYPE: StaticSchema = (7, n0, _mIT, 0) - -GET_ACCOUNT_AUTHORIZATION_DETAILS_INPUT: StaticSchema = ( - 18, - n0, - _GAADI, - {_sSI: _cGAADR, _s: None}, - (_F, _MI, _Ma), - ((ENTITY_LIST_TYPE, 0), (MAX_ITEMS_TYPE, 0), (MARKER_TYPE, 0)), -) - -POLICY_DETAIL: StaticSchema = ( - 18, - n0, - _PDo, - 0, - (_PN, _PD), - ((POLICY_NAME_TYPE, 0), (POLICY_DOCUMENT_TYPE, 0)), -) - -POLICY_DETAIL_LIST_TYPE: StaticSchema = ( - 16, - n0, - _pDLT, - 0, - (_me,), - ((POLICY_DETAIL, 0),), -) - -GROUP_DETAIL: StaticSchema = ( - 18, - n0, - _GD, - 0, - (_Pa, _GN, _GI, _Ar, _CD, _GPL, _AMP), - ( - (PATH_TYPE, 0), - (GROUP_NAME_TYPE, 0), - (ID_TYPE, 0), - (ARN_TYPE, 0), - (DATE_TYPE, 0), - (POLICY_DETAIL_LIST_TYPE, 0), - (ATTACHED_POLICIES_LIST_TYPE, 0), - ), -) - -GROUP_DETAIL_LIST_TYPE: StaticSchema = (16, n0, _gDLT, 0, (_me,), ((GROUP_DETAIL, 0),)) - -RESPONSE_MARKER_TYPE: StaticSchema = (3, n0, _rMTe, 0) - -POLICY_DOCUMENT_VERSION_LIST_TYPE: StaticSchema = ( - 16, - n0, - _pDVLT, - 0, - (_me,), - ((POLICY_VERSION, 0),), -) - -MANAGED_POLICY_DETAIL: StaticSchema = ( - 18, - n0, - _MPD, - 0, - (_PN, _PI, _Ar, _Pa, _DVI, _AC, _PBUC, _IA, _D, _CD, _UD, _PVL), - ( - (POLICY_NAME_TYPE, 0), - (ID_TYPE, 0), - (ARN_TYPE, 0), - (POLICY_PATH_TYPE, 0), - (POLICY_VERSION_ID_TYPE, 0), - (ATTACHMENT_COUNT_TYPE, 0), - (ATTACHMENT_COUNT_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (POLICY_DESCRIPTION_TYPE, 0), - (DATE_TYPE, 0), - (DATE_TYPE, 0), - (POLICY_DOCUMENT_VERSION_LIST_TYPE, 0), - ), -) - -MANAGED_POLICY_DETAIL_LIST_TYPE: StaticSchema = ( - 16, - n0, - _MPDLT, - 0, - (_me,), - ((MANAGED_POLICY_DETAIL, 0),), -) - -INSTANCE_PROFILE_LIST_TYPE: StaticSchema = ( - 16, - n0, - _iPLT, - 0, - (_me,), - ((INSTANCE_PROFILE, 0),), -) - -ROLE_DETAIL: StaticSchema = ( - 18, - n0, - _RD, - 0, - (_Pa, _RN, _RI, _Ar, _CD, _ARPD, _IPL, _RPL, _AMP, _PB, _Ta, _RLU), - ( - (PATH_TYPE, 0), - (ROLE_NAME_TYPE, 0), - (ID_TYPE, 0), - (ARN_TYPE, 0), - (DATE_TYPE, 0), - (POLICY_DOCUMENT_TYPE, 0), - (INSTANCE_PROFILE_LIST_TYPE, 0), - (POLICY_DETAIL_LIST_TYPE, 0), - (ATTACHED_POLICIES_LIST_TYPE, 0), - (ATTACHED_PERMISSIONS_BOUNDARY, 0), - (TAG_LIST_TYPE, 0), - (ROLE_LAST_USED, 0), - ), -) - -ROLE_DETAIL_LIST_TYPE: StaticSchema = (16, n0, _rDLT, 0, (_me,), ((ROLE_DETAIL, 0),)) - -GROUP_NAME_LIST_TYPE: StaticSchema = (16, n0, _gNLT, 0, (_me,), ((GROUP_NAME_TYPE, 0),)) - -USER_DETAIL: StaticSchema = ( - 18, - n0, - _UDs, - 0, - (_Pa, _UN, _UI, _Ar, _CD, _UPL, _GL, _AMP, _PB, _Ta), - ( - (PATH_TYPE, 0), - (USER_NAME_TYPE, 0), - (ID_TYPE, 0), - (ARN_TYPE, 0), - (DATE_TYPE, 0), - (POLICY_DETAIL_LIST_TYPE, 0), - (GROUP_NAME_LIST_TYPE, 0), - (ATTACHED_POLICIES_LIST_TYPE, 0), - (ATTACHED_PERMISSIONS_BOUNDARY, 0), - (TAG_LIST_TYPE, 0), - ), -) - -USER_DETAIL_LIST_TYPE: StaticSchema = (16, n0, _uDLT, 0, (_me,), ((USER_DETAIL, 0),)) - -GET_ACCOUNT_AUTHORIZATION_DETAILS_OUTPUT: StaticSchema = ( - 18, - n0, - _GAADO, - {_sSI: _cGAADRo, _smi: None}, - (_UDL, _GDL, _RDL, _Po, _IT, _Ma), - ( - (USER_DETAIL_LIST_TYPE, 0), - (GROUP_DETAIL_LIST_TYPE, 0), - (ROLE_DETAIL_LIST_TYPE, 0), - (MANAGED_POLICY_DETAIL_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -GET_ACCOUNT_AUTHORIZATION_DETAILS: StaticOperationSchema = ( - 23, - n0, - _GAAD, - 0, - GET_ACCOUNT_AUTHORIZATION_DETAILS_INPUT, - GET_ACCOUNT_AUTHORIZATION_DETAILS_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -GET_ACCOUNT_PASSWORD_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GAPPI, - {_sSI: _sU, _s: None}, -) - -BOOLEAN_OBJECT_TYPE: StaticSchema = (2, n0, _bOT, 0) - -MAX_PASSWORD_AGE_TYPE: StaticSchema = (7, n0, _mPAT, 0) - -MINIMUM_PASSWORD_LENGTH_TYPE: StaticSchema = (7, n0, _mPLT, 0) - -PASSWORD_REUSE_PREVENTION_TYPE: StaticSchema = (7, n0, _pRPT, 0) - -PASSWORD_POLICY: StaticSchema = ( - 18, - n0, - _PPa, - 0, - (_MPL, _RSe, _RNe, _RUC, _RLC, _AUTCP, _EPx, _MPA, _PRP, _HE), - ( - (MINIMUM_PASSWORD_LENGTH_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (BOOLEAN_TYPE, {_smithy: False}), - (BOOLEAN_TYPE, {_smithy: False}), - (BOOLEAN_TYPE, {_smithy: False}), - (BOOLEAN_TYPE, {_smithy: False}), - (BOOLEAN_TYPE, {_smithy: False}), - (MAX_PASSWORD_AGE_TYPE, 0), - (PASSWORD_REUSE_PREVENTION_TYPE, 0), - (BOOLEAN_OBJECT_TYPE, 0), - ), -) - -GET_ACCOUNT_PASSWORD_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GAPPO, - {_sSI: _cGAPPR, _smi: None}, - (_PPa,), - ((PASSWORD_POLICY, 1),), -) - -GET_ACCOUNT_PASSWORD_POLICY: StaticOperationSchema = ( - 23, - n0, - _GAPP, - 0, - GET_ACCOUNT_PASSWORD_POLICY_INPUT, - GET_ACCOUNT_PASSWORD_POLICY_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_ACCOUNT_PROPERTIES_INPUT: StaticSchema = (18, n0, _GAPI, {_sSI: _cGAPR, _s: None}) - -GET_ACCOUNT_PROPERTIES_OUTPUT: StaticSchema = ( - 18, - n0, - _GAPO, - {_sSI: _cGAPRo, _smi: None}, - (_Pr,), - ((ACCOUNT_PROPERTIES_MAP_TYPE, 0),), -) - -GET_ACCOUNT_PROPERTIES: StaticOperationSchema = ( - 23, - n0, - _GAP, - 0, - GET_ACCOUNT_PROPERTIES_INPUT, - GET_ACCOUNT_PROPERTIES_OUTPUT, - (INVALID_INPUT_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_ACCOUNT_SUMMARY_INPUT: StaticSchema = (18, n0, _GASI, {_sSI: _sU, _s: None}) - -SUMMARY_KEY_TYPE: StaticSchema = ( - 14, - n0, - _sKT, - 0, - ( - _Use, - _UQ, - _Gro, - _GQ, - _SC, - _SCQ, - _UPSQ, - _GPSQ, - _GPUQ, - _SCPUQ, - _AKPUQ, - _MFAD, - _MFADIU, - _AMFAE, - _AAKP, - _APP, - _ASCP, - _APPGQ, - _APPRQ, - _APPUQ, - _Po, - _PQ, - _PSQ, - _PVIU, - _PVIUQ, - _VPPQ, - _GETV, - _ARPSQ, - _IPn, - _IPQ, - _Pro, - _RPSQ, - _Rol, - _RQ, - ), - ( - (-1, {_sV: _Use}), - (-1, {_sV: _UQ}), - (-1, {_sV: _Gro}), - (-1, {_sV: _GQ}), - (-1, {_sV: _SC}), - (-1, {_sV: _SCQ}), - (-1, {_sV: _UPSQ}), - (-1, {_sV: _GPSQ}), - (-1, {_sV: _GPUQ}), - (-1, {_sV: _SCPUQ}), - (-1, {_sV: _AKPUQ}), - (-1, {_sV: _MFAD}), - (-1, {_sV: _MFADIU}), - (-1, {_sV: _AMFAE}), - (-1, {_sV: _AAKP}), - (-1, {_sV: _APP}), - (-1, {_sV: _ASCP}), - (-1, {_sV: _APPGQ}), - (-1, {_sV: _APPRQ}), - (-1, {_sV: _APPUQ}), - (-1, {_sV: _Po}), - (-1, {_sV: _PQ}), - (-1, {_sV: _PSQ}), - (-1, {_sV: _PVIU}), - (-1, {_sV: _PVIUQ}), - (-1, {_sV: _VPPQ}), - (-1, {_sV: _GETV}), - (-1, {_sV: _ARPSQ}), - (-1, {_sV: _IPn}), - (-1, {_sV: _IPQ}), - (-1, {_sV: _Pro}), - (-1, {_sV: _RPSQ}), - (-1, {_sV: _Rol}), - (-1, {_sV: _RQ}), - ), -) - -SUMMARY_VALUE_TYPE: StaticSchema = (7, n0, _sVT, 0) - -SUMMARY_MAP_TYPE: StaticSchema = ( - 17, - n0, - _sMT, - 0, - (_k, _v), - ((SUMMARY_KEY_TYPE, 0), (SUMMARY_VALUE_TYPE, 0)), -) - -GET_ACCOUNT_SUMMARY_OUTPUT: StaticSchema = ( - 18, - n0, - _GASO, - {_sSI: _cGASR, _smi: None}, - (_SM,), - ((SUMMARY_MAP_TYPE, 0),), -) - -GET_ACCOUNT_SUMMARY: StaticOperationSchema = ( - 23, - n0, - _GAS, - 0, - GET_ACCOUNT_SUMMARY_INPUT, - GET_ACCOUNT_SUMMARY_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -SIMULATION_POLICY_LIST_TYPE: StaticSchema = ( - 16, - n0, - _SPLT, - 0, - (_me,), - ((POLICY_DOCUMENT_TYPE, 0),), -) - -GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GCKFCPI, - {_sSI: _cGCKFCPR, _s: None}, - (_PIL,), - ((SIMULATION_POLICY_LIST_TYPE, 1),), -) - -CONTEXT_KEY_NAME_TYPE: StaticSchema = (3, n0, _CKNT, 0) - -CONTEXT_KEY_NAMES_RESULT_LIST_TYPE: StaticSchema = ( - 16, - n0, - _CKNRLT, - 0, - (_me,), - ((CONTEXT_KEY_NAME_TYPE, 0),), -) - -GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GCKFCPO, - {_sSI: _cGCKFPR, _smi: None}, - (_CKN,), - ((CONTEXT_KEY_NAMES_RESULT_LIST_TYPE, 0),), -) - -GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY: StaticOperationSchema = ( - 23, - n0, - _GCKFCP, - 0, - GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_INPUT, - GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_OUTPUT, - (INVALID_INPUT_EXCEPTION,), -) - -GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GCKFPPI, - {_sSI: _cGCKFPPR, _s: None}, - (_PSA, _PIL), - ((ARN_TYPE, 1), (SIMULATION_POLICY_LIST_TYPE, 0)), -) - -GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GCKFPPO, - {_sSI: _cGCKFPR, _smi: None}, - (_CKN,), - ((CONTEXT_KEY_NAMES_RESULT_LIST_TYPE, 0),), -) - -GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY: StaticOperationSchema = ( - 23, - n0, - _GCKFPP, - 0, - GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_INPUT, - GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION), -) - -CREDENTIAL_REPORT_EXPIRED_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _cREEM, 0) - -CREDENTIAL_REPORT_EXPIRED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CREE, - { - _smit: _c, - _sE: 410, - _aQE: MappingProxyType({"code": "ReportExpired", "httpResponseCode": 410}), - }, - (_m,), - ((CREDENTIAL_REPORT_EXPIRED_EXCEPTION_MESSAGE, 0),), -) - -CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _cRNPEM, 0) - -CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CRNPE, - { - _smit: _c, - _sE: 410, - _aQE: MappingProxyType({"code": "ReportNotPresent", "httpResponseCode": 410}), - }, - (_m,), - ((CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION_MESSAGE, 0),), -) - -CREDENTIAL_REPORT_NOT_READY_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _cRNREM, 0) - -CREDENTIAL_REPORT_NOT_READY_EXCEPTION: StaticSchema = ( - 18, - n0, - _CRNRE, - { - _smit: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "ReportInProgress", "httpResponseCode": 404}), - }, - (_m,), - ((CREDENTIAL_REPORT_NOT_READY_EXCEPTION_MESSAGE, 0),), -) - -GET_CREDENTIAL_REPORT_INPUT: StaticSchema = (18, n0, _GCRIe, {_sSI: _sU, _s: None}) - -REPORT_CONTENT_TYPE: StaticSchema = (1, n0, _RCT, 0) - -REPORT_FORMAT_TYPE: StaticSchema = (14, n0, _RFT, 0, (_tc,), ((-1, {_sV: _t}),)) - -GET_CREDENTIAL_REPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _GCROe, - {_sSI: _cGCRRo, _smi: None}, - (_C, _RF, _GT), - ((REPORT_CONTENT_TYPE, 0), (REPORT_FORMAT_TYPE, 0), (DATE_TYPE, 0)), -) - -GET_CREDENTIAL_REPORT: StaticOperationSchema = ( - 23, - n0, - _GCRe, - 0, - GET_CREDENTIAL_REPORT_INPUT, - GET_CREDENTIAL_REPORT_OUTPUT, - ( - CREDENTIAL_REPORT_EXPIRED_EXCEPTION, - CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION, - CREDENTIAL_REPORT_NOT_READY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -GET_DELEGATION_REQUEST_INPUT: StaticSchema = ( - 18, - n0, - _GDRI, - {_sSI: _cGDRR, _s: None}, - (_DRI, _DPC), - ((DELEGATION_REQUEST_ID_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False})), -) - -NOTES_TYPE: StaticSchema = (3, n0, _nT, 0) - -OWNER_ID_TYPE: StaticSchema = (3, n0, _oIT, 0) - -PERMISSION_TYPE: StaticSchema = (3, n0, _pTe, 0) - -REQUESTOR_NAME_TYPE: StaticSchema = (3, n0, _rNTe, 0) - -ROLE_PERMISSION_RESTRICTION_ARN_LIST_TYPE: StaticSchema = ( - 16, - n0, - _rPRALT, - 0, - (_me,), - ((ARN_TYPE, 0),), -) - -STATE_TYPE: StaticSchema = ( - 14, - n0, - _sTta, - 0, - (_UNASSIGNED, _ASSIGNED, _PA_, _FINALIZED, _ACCEPTED, _REJECTED, _EXPIRED), - ( - (-1, {_sV: _UNASSIGNED}), - (-1, {_sV: _ASSIGNED}), - (-1, {_sV: _PA_}), - (-1, {_sV: _FINALIZED}), - (-1, {_sV: _ACCEPTED}), - (-1, {_sV: _REJECTED}), - (-1, {_sV: _EXPIRED}), - ), -) - -DELEGATION_REQUEST: StaticSchema = ( - 18, - n0, - _DRe, - 0, - ( - _DRI, - _OAI, - _D, - _RM, - _Pe, - _PPe, - _RPRA, - _OIw, - _AI, - _St, - _ETx, - _RIe, - _RNeq, - _CD, - _SD, - _RU, - _No, - _RR, - _OSBO, - _UT, - ), - ( - (DELEGATION_REQUEST_ID_TYPE, 0), - (ACCOUNT_ID_TYPE, 0), - (DELEGATION_REQUEST_DESCRIPTION_TYPE, 0), - (REQUEST_MESSAGE_TYPE, 0), - (DELEGATION_PERMISSION, 0), - (PERMISSION_TYPE, 0), - (ROLE_PERMISSION_RESTRICTION_ARN_LIST_TYPE, 0), - (OWNER_ID_TYPE, 0), - (ARN_TYPE, 0), - (STATE_TYPE, 0), - (DATE_TYPE, 0), - (ACCOUNT_ID_TYPE, 0), - (REQUESTOR_NAME_TYPE, 0), - (DATE_TYPE, 0), - (SESSION_DURATION_TYPE, 0), - (REDIRECT_URL_TYPE, 0), - (NOTES_TYPE, 0), - (NOTES_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (DATE_TYPE, 0), - ), -) - -PERMISSION_CHECK_RESULT_TYPE: StaticSchema = ( - 14, - n0, - _pCRT, - 0, - (_ALLOWED, _DENIED, _UNSURE), - ((-1, {_sV: _ALLOWED}), (-1, {_sV: _DENIED}), (-1, {_sV: _UNSURE})), -) - -PERMISSION_CHECK_STATUS_TYPE: StaticSchema = ( - 14, - n0, - _pCST, - 0, - (_COMPLETE, _IP_, _FAILED), - ((-1, {_sV: _COMPLETE}), (-1, {_sV: _IP_}), (-1, {_sV: _FAILED})), -) - -GET_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( - 18, - n0, - _GDRO, - {_sSI: _cGDRRo, _smi: None}, - (_DRe, _PCS, _PCR), - ( - (DELEGATION_REQUEST, 0), - (PERMISSION_CHECK_STATUS_TYPE, 0), - (PERMISSION_CHECK_RESULT_TYPE, 0), - ), -) - -GET_DELEGATION_REQUEST: StaticOperationSchema = ( - 23, - n0, - _GDR, - 0, - GET_DELEGATION_REQUEST_INPUT, - GET_DELEGATION_REQUEST_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _GGI, - {_sSI: _cGGR, _s: None}, - (_GN, _Ma, _MI), - ((GROUP_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -USER_LIST_TYPE: StaticSchema = (16, n0, _uLT, 0, (_me,), ((USER, 0),)) - -GET_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _GGO, - {_sSI: _cGGRo, _smi: None}, - (_G, _Use, _IT, _Ma), - ( - (GROUP, 1), - (USER_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -GET_GROUP: StaticOperationSchema = ( - 23, - n0, - _GG, - 0, - GET_GROUP_INPUT, - GET_GROUP_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_GROUP_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GGPI, - {_sSI: _cGGPR, _s: None}, - (_GN, _PN), - ((GROUP_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1)), -) - -GET_GROUP_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GGPO, - {_sSI: _cGGPRo, _smi: None}, - (_GN, _PN, _PD), - ((GROUP_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1), (POLICY_DOCUMENT_TYPE, 1)), -) - -GET_GROUP_POLICY: StaticOperationSchema = ( - 23, - n0, - _GGP, - 0, - GET_GROUP_POLICY_INPUT, - GET_GROUP_POLICY_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LOCALE_TYPE: StaticSchema = (3, n0, _lT, 0) - -GET_HUMAN_READABLE_SUMMARY_INPUT: StaticSchema = ( - 18, - n0, - _GHRSI, - {_sSI: _cGHRSR, _s: None}, - (_EA, _L), - ((ARN_TYPE, 1), (LOCALE_TYPE, 0)), -) - -SUMMARY_CONTENT_TYPE: StaticSchema = (3, n0, _sCT, 0) - -SUMMARY_STATE_TYPE: StaticSchema = ( - 14, - n0, - _sST, - 0, - (_AVAILABLE, _NA, _NS, _FAILED), - ((-1, {_sV: _AVAILABLE}), (-1, {_sV: _NA}), (-1, {_sV: _NS}), (-1, {_sV: _FAILED})), -) - -GET_HUMAN_READABLE_SUMMARY_OUTPUT: StaticSchema = ( - 18, - n0, - _GHRSO, - {_sSI: _cGHRSRo, _smi: None}, - (_SCu, _L, _SS), - ((SUMMARY_CONTENT_TYPE, 0), (LOCALE_TYPE, 0), (SUMMARY_STATE_TYPE, 0)), -) - -GET_HUMAN_READABLE_SUMMARY: StaticOperationSchema = ( - 23, - n0, - _GHRS, - 0, - GET_HUMAN_READABLE_SUMMARY_INPUT, - GET_HUMAN_READABLE_SUMMARY_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_INSTANCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _GIPI, - {_sSI: _cGIPR, _s: None}, - (_IPN,), - ((INSTANCE_PROFILE_NAME_TYPE, 1),), -) - -GET_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _GIPO, - {_sSI: _cGIPRo, _smi: None}, - (_IP,), - ((INSTANCE_PROFILE, 1),), -) - -GET_INSTANCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _GIP, - 0, - GET_INSTANCE_PROFILE_INPUT, - GET_INSTANCE_PROFILE_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_LOGIN_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _GLPI, - {_sSI: _cGLPR, _s: None}, - (_UN,), - ((USER_NAME_TYPE, 0),), -) - -GET_LOGIN_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _GLPO, - {_sSI: _cGLPRo, _smi: None}, - (_LP,), - ((LOGIN_PROFILE, 1),), -) - -GET_LOGIN_PROFILE: StaticOperationSchema = ( - 23, - n0, - _GLP, - 0, - GET_LOGIN_PROFILE_INPUT, - GET_LOGIN_PROFILE_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_MFA_DEVICE_INPUT: StaticSchema = ( - 18, - n0, - _GMFADI, - {_sSI: _cGMFADR, _s: None}, - (_SNer, _UN), - ((SERIAL_NUMBER_TYPE, 1), (USER_NAME_TYPE, 0)), -) - -CERTIFICATION_KEY_TYPE: StaticSchema = (3, n0, _CKT, 0) - -CERTIFICATION_VALUE_TYPE: StaticSchema = (3, n0, _CVT, 0) - -CERTIFICATION_MAP_TYPE: StaticSchema = ( - 17, - n0, - _CMT, - 0, - (_k, _v), - ((CERTIFICATION_KEY_TYPE, 0), (CERTIFICATION_VALUE_TYPE, 0)), -) - -GET_MFA_DEVICE_OUTPUT: StaticSchema = ( - 18, - n0, - _GMFADO, - {_sSI: _cGMFADRo, _smi: None}, - (_UN, _SNer, _EDn, _Ce), - ( - (USER_NAME_TYPE, 0), - (SERIAL_NUMBER_TYPE, 1), - (DATE_TYPE, 0), - (CERTIFICATION_MAP_TYPE, 0), - ), -) - -GET_MFA_DEVICE: StaticOperationSchema = ( - 23, - n0, - _GMFAD, - 0, - GET_MFA_DEVICE_INPUT, - GET_MFA_DEVICE_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _GOIDCPI, - {_sSI: _cGOIDCPR, _s: None}, - (_OIDCPA,), - ((ARN_TYPE, 1),), -) - -GET_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _GOIDCPO, - {_sSI: _cGOIDCPRo, _smi: None}, - (_Ur, _CIDL, _TL, _CD, _Ta), - ( - (OPEN_ID_CONNECT_PROVIDER_URL_TYPE, 0), - (CLIENT_ID_LIST_TYPE, 0), - (THUMBPRINT_LIST_TYPE, 0), - (DATE_TYPE, 0), - (TAG_LIST_TYPE, 0), - ), -) - -GET_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _GOIDCP, - 0, - GET_OPEN_ID_CONNECT_PROVIDER_INPUT, - GET_OPEN_ID_CONNECT_PROVIDER_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -SORT_KEY_TYPE: StaticSchema = ( - 14, - n0, - _sKTo, - 0, - (_SNA, _SND, _LATA, _LATD), - ((-1, {_sV: _SNA}), (-1, {_sV: _SND}), (-1, {_sV: _LATA}), (-1, {_sV: _LATD})), -) - -GET_ORGANIZATIONS_ACCESS_REPORT_INPUT: StaticSchema = ( - 18, - n0, - _GOARIe, - {_sSI: _cGOARRom, _s: None}, - (_JI, _MI, _Ma, _SK), - ((JOB_ID_TYPE, 1), (MAX_ITEMS_TYPE, 0), (MARKER_TYPE, 0), (SORT_KEY_TYPE, 0)), -) - -ERROR_DETAILS: StaticSchema = ( - 18, - n0, - _EDr, - 0, - (_M, _Co), - ((STRING_TYPE, 1), (STRING_TYPE, 1)), -) - -JOB_STATUS_TYPE: StaticSchema = ( - 14, - n0, - _jST, - 0, - (_IP_, _COMPLETED, _FAILED), - ((-1, {_sV: _IP_}), (-1, {_sV: _COMPLETED}), (-1, {_sV: _FAILED})), -) - -GET_ORGANIZATIONS_ACCESS_REPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _GOAROe, - {_sSI: _cGOARRoma, _smi: None}, - (_JS, _JCD, _JCDo, _NOSA, _NOSNA, _ADc, _IT, _Ma, _EDr), - ( - (JOB_STATUS_TYPE, 1), - (DATE_TYPE, 1), - (DATE_TYPE, 0), - (INTEGER_TYPE, 0), - (INTEGER_TYPE, 0), - (ACCESS_DETAILS, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (MARKER_TYPE, 0), - (ERROR_DETAILS, 0), - ), -) - -GET_ORGANIZATIONS_ACCESS_REPORT: StaticOperationSchema = ( - 23, - n0, - _GOARe, - 0, - GET_ORGANIZATIONS_ACCESS_REPORT_INPUT, - GET_ORGANIZATIONS_ACCESS_REPORT_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION,), -) - -GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_INPUT: StaticSchema = ( - 18, - n0, - _GOWIFII, - {_sSI: _sU, _s: None}, -) - -GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_OUTPUT: StaticSchema = ( - 18, - n0, - _GOWIFIO, - {_sSI: _cGOWIFIR, _smi: None}, - (_II, _JVE), - ((STRING_TYPE, 0), (BOOLEAN_TYPE, {_smithy: False})), -) - -GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO: StaticOperationSchema = ( - 23, - n0, - _GOWIFI, - 0, - GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_INPUT, - GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_OUTPUT, - (FEATURE_DISABLED_EXCEPTION,), -) - -GET_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GPI, - {_sSI: _cGPR, _s: None}, - (_PA,), - ((ARN_TYPE, 1),), -) - -GET_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GPO, - {_sSI: _cGPRo, _smi: None}, - (_P,), - ((POLICY, 0),), -) - -GET_POLICY: StaticOperationSchema = ( - 23, - n0, - _GP, - 0, - GET_POLICY_INPUT, - GET_POLICY_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_POLICY_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _GPVI, - {_sSI: _cGPVR, _s: None}, - (_PA, _VI), - ((ARN_TYPE, 1), (POLICY_VERSION_ID_TYPE, 1)), -) - -GET_POLICY_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GPVO, - {_sSI: _cGPVRo, _smi: None}, - (_PV,), - ((POLICY_VERSION, 0),), -) - -GET_POLICY_VERSION: StaticOperationSchema = ( - 23, - n0, - _GPV, - 0, - GET_POLICY_VERSION_INPUT, - GET_POLICY_VERSION_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _GRI, - {_sSI: _cGRR, _s: None}, - (_RN,), - ((ROLE_NAME_TYPE, 1),), -) - -GET_ROLE_OUTPUT: StaticSchema = ( - 18, - n0, - _GRO, - {_sSI: _cGRRo, _smi: None}, - (_Ro,), - ((ROLE, 1),), -) - -GET_ROLE: StaticOperationSchema = ( - 23, - n0, - _GR, - 0, - GET_ROLE_INPUT, - GET_ROLE_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_ROLE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_sSI: _cGRPR, _s: None}, - (_RN, _PN), - ((ROLE_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1)), -) - -GET_ROLE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_sSI: _cGRPRo, _smi: None}, - (_RN, _PN, _PD), - ((ROLE_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1), (POLICY_DOCUMENT_TYPE, 1)), -) - -GET_ROLE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRP, - 0, - GET_ROLE_POLICY_INPUT, - GET_ROLE_POLICY_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -MINOR_VERSION_TYPE: StaticSchema = (7, n0, _mVT, 0) - -GET_ROLE_TEMPLATE_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _GRTVI, - {_sSI: _cGRTVR, _s: None}, - (_TA, _MV), - ((ARN_TYPE, 1), (MINOR_VERSION_TYPE, 0)), -) - -ROLE_TEMPLATE_DESCRIPTION_TYPE: StaticSchema = (3, n0, _rTDT, 0) - -INLINE_POLICY: StaticSchema = ( - 18, - n0, - _IPnl, - 0, - (_PN, _PD), - ((POLICY_NAME_TYPE, 1), (POLICY_DOCUMENT_TYPE, 1)), -) - -INLINE_POLICY_TEMPLATE_LIST_TYPE: StaticSchema = ( - 16, - n0, - _iPTLT, - 0, - (_me,), - ((INLINE_POLICY, 0),), -) - -MANAGED_BY_TYPE_TYPE: StaticSchema = (14, n0, _mBTT, 0, (_Se,), ((-1, {_sV: _Se}),)) - -MANAGED_BY_VALUE_TYPE: StaticSchema = (3, n0, _mBVT, 0) - -MANAGED_POLICY_ARN_LIST_TYPE: StaticSchema = ( - 16, - n0, - _mPALT, - 0, - (_me,), - ((ARN_TYPE, 0),), -) - -PARAMETER_DEFAULT_VALUE_TYPE: StaticSchema = (3, n0, _pDVT, 0) - -PARAMETER_DESCRIPTION_TYPE: StaticSchema = (3, n0, _pDTa, 0) - -PARAMETER_NAME_TYPE: StaticSchema = (3, n0, _pNTa, 0) - -PARAMETER_SUB_TYPE_TYPE: StaticSchema = (3, n0, _pSTT, 0) - -PARAMETER_TYPE_TYPE: StaticSchema = ( - 14, - n0, - _pTT, - 0, - (_Str, _SLt, _Nu, _NL, _Ar, _ALr), - ( - (-1, {_sV: _Str}), - (-1, {_sV: _SLt}), - (-1, {_sV: _Nu}), - (-1, {_sV: _NL}), - (-1, {_sV: _Ar}), - (-1, {_sV: _ALr}), - ), -) - -PARAMETER_DEFINITION: StaticSchema = ( - 18, - n0, - _PDa, - 0, - (_N, _Ty, _ST, _D, _IR, _DV, _Im), - ( - (PARAMETER_NAME_TYPE, 1), - (PARAMETER_TYPE_TYPE, 1), - (PARAMETER_SUB_TYPE_TYPE, 0), - (PARAMETER_DESCRIPTION_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (PARAMETER_DEFAULT_VALUE_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - ), -) - -PARAMETERS_DEFINITION_LIST_TYPE: StaticSchema = ( - 16, - n0, - _pDLTa, - 0, - (_me,), - ((PARAMETER_DEFINITION, 0),), -) - -ROLE_DESCRIPTION_PATTERN_TYPE: StaticSchema = (3, n0, _rDPT, 0) - -ROLE_NAME_PATTERN_TYPE: StaticSchema = (3, n0, _rNPT, 0) - -ROLE_PATH_PATTERN_TYPE: StaticSchema = (3, n0, _rPPT, 0) - -TAG_TEMPLATE_KEY_TYPE: StaticSchema = (3, n0, _tTKT, 0) - -TAG_TEMPLATE_VALUE_TYPE: StaticSchema = (3, n0, _tTVT, 0) - -TAG_TEMPLATE: StaticSchema = ( - 18, - n0, - _TT, - 0, - (_K, _Va), - ((TAG_TEMPLATE_KEY_TYPE, 1), (TAG_TEMPLATE_VALUE_TYPE, 1)), -) - -TAG_TEMPLATE_LIST_TYPE: StaticSchema = (16, n0, _tTLT, 0, (_me,), ((TAG_TEMPLATE, 0),)) - -ROLE_TEMPLATE_NAME_TYPE: StaticSchema = (3, n0, _rTNT, 0) - -ROLE_TEMPLATE_VERSION: StaticSchema = ( - 18, - n0, - _RTV, - 0, - ( - _TA, - _TN, - _TVI, - _D, - _MVa, - _DMV, - _MBT, - _MBV, - _En, - _MV, - _RNP, - _RPP, - _RDP, - _ARPDT, - _IPT, - _MPAa, - _PBAe, - _PDar, - _RTT, - _MSD, - _VE, - _CT, - _UTp, - ), - ( - (ARN_TYPE, 0), - (ROLE_TEMPLATE_NAME_TYPE, 0), - (ID_TYPE, 0), - (ROLE_TEMPLATE_DESCRIPTION_TYPE, 0), - (INTEGER_TYPE, 0), - (MINOR_VERSION_TYPE, 0), - (MANAGED_BY_TYPE_TYPE, 0), - (MANAGED_BY_VALUE_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (MINOR_VERSION_TYPE, 0), - (ROLE_NAME_PATTERN_TYPE, 0), - (ROLE_PATH_PATTERN_TYPE, 0), - (ROLE_DESCRIPTION_PATTERN_TYPE, 0), - (POLICY_DOCUMENT_TYPE, 0), - (INLINE_POLICY_TEMPLATE_LIST_TYPE, 0), - (MANAGED_POLICY_ARN_LIST_TYPE, 0), - (ARN_TYPE, 0), - (PARAMETERS_DEFINITION_LIST_TYPE, 0), - (TAG_TEMPLATE_LIST_TYPE, 0), - (ROLE_MAX_SESSION_DURATION_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (DATE_TYPE, 0), - (DATE_TYPE, 0), - ), -) - -GET_ROLE_TEMPLATE_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GRTVO, - {_sSI: _cGRTVRo, _smi: None}, - (_RTV,), - ((ROLE_TEMPLATE_VERSION, 1),), -) - -GET_ROLE_TEMPLATE_VERSION: StaticOperationSchema = ( - 23, - n0, - _GRTV, - 0, - GET_ROLE_TEMPLATE_VERSION_INPUT, - GET_ROLE_TEMPLATE_VERSION_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_SAML_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _GSAMLPI, - {_sSI: _cGSAMLPR, _s: None}, - (_SAMLPA,), - ((ARN_TYPE, 1),), -) - -PRIVATE_KEY_ID_TYPE: StaticSchema = (3, n0, _pKITr, 0) - -SAML_PRIVATE_KEY: StaticSchema = ( - 18, - n0, - _SAMLPK, - 0, - (_KI, _Ti), - ((PRIVATE_KEY_ID_TYPE, 0), (DATE_TYPE, 0)), -) - -PRIVATE_KEY_LIST: StaticSchema = (16, n0, _pKL, 0, (_me,), ((SAML_PRIVATE_KEY, 0),)) - -GET_SAML_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _GSAMLPO, - {_sSI: _cGSAMLPRo, _smi: None}, - (_SAMLPUUID, _SAMLMD, _CD, _VU, _Ta, _AEM, _PKL), - ( - (PRIVATE_KEY_ID_TYPE, 0), - (SAML_METADATA_DOCUMENT_TYPE, 0), - (DATE_TYPE, 0), - (DATE_TYPE, 0), - (TAG_LIST_TYPE, 0), - (ASSERTION_ENCRYPTION_MODE_TYPE, 0), - (PRIVATE_KEY_LIST, 0), - ), -) - -GET_SAML_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _GSAMLP, - 0, - GET_SAML_PROVIDER_INPUT, - GET_SAML_PROVIDER_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_SERVER_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _GSCI, - {_sSI: _cGSCR, _s: None}, - (_SCN,), - ((SERVER_CERTIFICATE_NAME_TYPE, 1),), -) - -CERTIFICATE_BODY_TYPE: StaticSchema = (3, n0, _cBT, 0) - -CERTIFICATE_CHAIN_TYPE: StaticSchema = (3, n0, _cCT, 0) - -SERVER_CERTIFICATE_METADATA: StaticSchema = ( - 18, - n0, - _SCM, - 0, - (_Pa, _SCN, _SCI, _Ar, _UDp, _Ex), - ( - (PATH_TYPE, 1), - (SERVER_CERTIFICATE_NAME_TYPE, 1), - (ID_TYPE, 1), - (ARN_TYPE, 1), - (DATE_TYPE, 0), - (DATE_TYPE, 0), - ), -) - -SERVER_CERTIFICATE: StaticSchema = ( - 18, - n0, - _SCe, - 0, - (_SCM, _CB, _CC, _Ta), - ( - (SERVER_CERTIFICATE_METADATA, 1), - (CERTIFICATE_BODY_TYPE, 1), - (CERTIFICATE_CHAIN_TYPE, 0), - (TAG_LIST_TYPE, 0), - ), -) - -GET_SERVER_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GSCO, - {_sSI: _cGSCRo, _smi: None}, - (_SCe,), - ((SERVER_CERTIFICATE, 1),), -) - -GET_SERVER_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _GSC, - 0, - GET_SERVER_CERTIFICATE_INPUT, - GET_SERVER_CERTIFICATE_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_SERVICE_LAST_ACCESSED_DETAILS_INPUT: StaticSchema = ( - 18, - n0, - _GSLADIe, - {_sSI: _cGSLADRom, _s: None}, - (_JI, _MI, _Ma), - ((JOB_ID_TYPE, 1), (MAX_ITEMS_TYPE, 0), (MARKER_TYPE, 0)), -) - -TRACKED_ACTION_LAST_ACCESSED: StaticSchema = ( - 18, - n0, - _TALA, - 0, - (_ANc, _LAE, _LATa, _LAR), - ((STRING_TYPE, 0), (ARN_TYPE, 0), (DATE_TYPE, 0), (STRING_TYPE, 0)), -) - -TRACKED_ACTIONS_LAST_ACCESSED: StaticSchema = ( - 16, - n0, - _TALAr, - 0, - (_me,), - ((TRACKED_ACTION_LAST_ACCESSED, 0),), -) - -SERVICE_LAST_ACCESSED: StaticSchema = ( - 18, - n0, - _SLA, - 0, - (_SN, _LA, _SNe, _LAEa, _LARa, _TAE, _TALAr), - ( - (SERVICE_NAME_TYPE, 1), - (DATE_TYPE, 0), - (SERVICE_NAMESPACE_TYPE, 1), - (ARN_TYPE, 0), - (STRING_TYPE, 0), - (INTEGER_TYPE, 0), - (TRACKED_ACTIONS_LAST_ACCESSED, 0), - ), -) - -SERVICES_LAST_ACCESSED: StaticSchema = ( - 16, - n0, - _SLAe, - 0, - (_me,), - ((SERVICE_LAST_ACCESSED, 0),), -) - -GET_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT: StaticSchema = ( - 18, - n0, - _GSLADOe, - {_sSI: _cGSLADRoma, _smi: None}, - (_JS, _JT, _JCD, _SLAe, _JCDo, _IT, _Ma, _Er), - ( - (JOB_STATUS_TYPE, 1), - (ACCESS_ADVISOR_USAGE_GRANULARITY_TYPE, 0), - (DATE_TYPE, 1), - (SERVICES_LAST_ACCESSED, 1), - (DATE_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - (ERROR_DETAILS, 0), - ), -) - -GET_SERVICE_LAST_ACCESSED_DETAILS: StaticOperationSchema = ( - 23, - n0, - _GSLADe, - 0, - GET_SERVICE_LAST_ACCESSED_DETAILS_INPUT, - GET_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION), -) - -GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_INPUT: StaticSchema = ( - 18, - n0, - _GSLADWEI, - {_sSI: _cGSLADWER, _s: None}, - (_JI, _SNe, _MI, _Ma), - ( - (JOB_ID_TYPE, 1), - (SERVICE_NAMESPACE_TYPE, 1), - (MAX_ITEMS_TYPE, 0), - (MARKER_TYPE, 0), - ), -) - -POLICY_OWNER_ENTITY_TYPE: StaticSchema = ( - 14, - n0, - _pOET, - 0, - (_USER, _ROLE, _GROUP), - ((-1, {_sV: _USER}), (-1, {_sV: _ROLE}), (-1, {_sV: _GROUP})), -) - -ENTITY_INFO: StaticSchema = ( - 18, - n0, - _EI, - 0, - (_Ar, _N, _Ty, _Id, _Pa), - ( - (ARN_TYPE, 1), - (USER_NAME_TYPE, 1), - (POLICY_OWNER_ENTITY_TYPE, 1), - (ID_TYPE, 1), - (PATH_TYPE, 0), - ), -) - -ENTITY_DETAILS: StaticSchema = ( - 18, - n0, - _EDnt, - 0, - (_EI, _LA), - ((ENTITY_INFO, 1), (DATE_TYPE, 0)), -) - -ENTITY_DETAILS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _eDLT, - 0, - (_me,), - ((ENTITY_DETAILS, 0),), -) - -GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_OUTPUT: StaticSchema = ( - 18, - n0, - _GSLADWEO, - {_sSI: _cGSLADWERo, _smi: None}, - (_JS, _JCD, _JCDo, _EDL, _IT, _Ma, _Er), - ( - (JOB_STATUS_TYPE, 1), - (DATE_TYPE, 1), - (DATE_TYPE, 1), - (ENTITY_DETAILS_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - (ERROR_DETAILS, 0), - ), -) - -GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES: StaticOperationSchema = ( - 23, - n0, - _GSLADWE, - 0, - GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_INPUT, - GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION), -) - -GET_SERVICE_LINKED_ROLE_DELETION_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _GSLRDSI, - {_sSI: _cGSLRDSR, _s: None}, - (_DTI,), - ((DELETION_TASK_ID_TYPE, 1),), -) - -REASON_TYPE: StaticSchema = (3, n0, _RT, 0) - -REGION_NAME_TYPE: StaticSchema = (3, n0, _RNT, 0) - -ROLE_USAGE_TYPE: StaticSchema = ( - 18, - n0, - _RUT, - 0, - (_R, _Res), - ((REGION_NAME_TYPE, 0), (ARN_LIST_TYPE, 0)), -) - -ROLE_USAGE_LIST_TYPE: StaticSchema = (16, n0, _RULT, 0, (_me,), ((ROLE_USAGE_TYPE, 0),)) - -DELETION_TASK_FAILURE_REASON_TYPE: StaticSchema = ( - 18, - n0, - _DTFRT, - 0, - (_Rea, _RUL), - ((REASON_TYPE, 0), (ROLE_USAGE_LIST_TYPE, 0)), -) - -DELETION_TASK_STATUS_TYPE: StaticSchema = ( - 14, - n0, - _DTST, - 0, - (_SUCCEEDED, _IP_, _FAILED, _NS_), - ( - (-1, {_sV: _SUCCEEDED}), - (-1, {_sV: _IP_}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _NS_}), - ), -) - -GET_SERVICE_LINKED_ROLE_DELETION_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _GSLRDSO, - {_sSI: _cGSLRDSRo, _smi: None}, - (_S, _Rea), - ((DELETION_TASK_STATUS_TYPE, 1), (DELETION_TASK_FAILURE_REASON_TYPE, 0)), -) - -GET_SERVICE_LINKED_ROLE_DELETION_STATUS: StaticOperationSchema = ( - 23, - n0, - _GSLRDS, - 0, - GET_SERVICE_LINKED_ROLE_DELETION_STATUS_INPUT, - GET_SERVICE_LINKED_ROLE_DELETION_STATUS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -ENCODING_TYPE: StaticSchema = ( - 14, - n0, - _eT, - 0, - (_SSH, _PEM), - ((-1, {_sV: _SSH}), (-1, {_sV: _PEM})), -) - -GET_SSH_PUBLIC_KEY_INPUT: StaticSchema = ( - 18, - n0, - _GSSHPKI, - {_sSI: _cGSSHPKR, _s: None}, - (_UN, _SSHPKI, _Enc), - ((USER_NAME_TYPE, 1), (PUBLIC_KEY_ID_TYPE, 1), (ENCODING_TYPE, 1)), -) - -PUBLIC_KEY_FINGERPRINT_TYPE: StaticSchema = (3, n0, _pKFT, 0) - -PUBLIC_KEY_MATERIAL_TYPE: StaticSchema = (3, n0, _pKMT, 0) - -SSH_PUBLIC_KEY: StaticSchema = ( - 18, - n0, - _SSHPK, - 0, - (_UN, _SSHPKI, _Fi, _SSHPKB, _S, _UDp), - ( - (USER_NAME_TYPE, 1), - (PUBLIC_KEY_ID_TYPE, 1), - (PUBLIC_KEY_FINGERPRINT_TYPE, 1), - (PUBLIC_KEY_MATERIAL_TYPE, 1), - (STATUS_TYPE, 1), - (DATE_TYPE, 0), - ), -) - -GET_SSH_PUBLIC_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _GSSHPKO, - {_sSI: _cGSSHPKRo, _smi: None}, - (_SSHPK,), - ((SSH_PUBLIC_KEY, 0),), -) - -UNRECOGNIZED_PUBLIC_KEY_ENCODING_MESSAGE: StaticSchema = (3, n0, _uPKEM, 0) - -UNRECOGNIZED_PUBLIC_KEY_ENCODING_EXCEPTION: StaticSchema = ( - 18, - n0, - _UPKEE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "UnrecognizedPublicKeyEncoding", "httpResponseCode": 400} - ), - }, - (_m,), - ((UNRECOGNIZED_PUBLIC_KEY_ENCODING_MESSAGE, 0),), -) - -GET_SSH_PUBLIC_KEY: StaticOperationSchema = ( - 23, - n0, - _GSSHPK, - 0, - GET_SSH_PUBLIC_KEY_INPUT, - GET_SSH_PUBLIC_KEY_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, UNRECOGNIZED_PUBLIC_KEY_ENCODING_EXCEPTION), -) - -GET_USER_INPUT: StaticSchema = ( - 18, - n0, - _GUI, - {_sSI: _cGUR, _s: None}, - (_UN,), - ((EXISTING_USER_NAME_TYPE, 0),), -) - -GET_USER_OUTPUT: StaticSchema = ( - 18, - n0, - _GUO, - {_sSI: _cGURo, _smi: None}, - (_Us,), - ((USER, 1),), -) - -GET_USER: StaticOperationSchema = ( - 23, - n0, - _GU, - 0, - GET_USER_INPUT, - GET_USER_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -GET_USER_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GUPI, - {_sSI: _cGUPR, _s: None}, - (_UN, _PN), - ((EXISTING_USER_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1)), -) - -GET_USER_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GUPO, - {_sSI: _cGUPRo, _smi: None}, - (_UN, _PN, _PD), - ((EXISTING_USER_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1), (POLICY_DOCUMENT_TYPE, 1)), -) - -GET_USER_POLICY: StaticOperationSchema = ( - 23, - n0, - _GUP, - 0, - GET_USER_POLICY_INPUT, - GET_USER_POLICY_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_ACCESS_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _LAKI, - {_sSI: _cLAKR, _s: None}, - (_UN, _Ma, _MI), - ((EXISTING_USER_NAME_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_ACCESS_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAKO, - {_sSI: _cLAKRo, _smi: None}, - (_AKM, _IT, _Ma), - ( - (ACCESS_KEY_METADATA_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_ACCESS_KEYS: StaticOperationSchema = ( - 23, - n0, - _LAK, - 0, - LIST_ACCESS_KEYS_INPUT, - LIST_ACCESS_KEYS_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_ACCOUNT_ALIASES_INPUT: StaticSchema = ( - 18, - n0, - _LAAI, - {_sSI: _cLAAR, _s: None}, - (_Ma, _MI), - ((MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_ACCOUNT_ALIASES_OUTPUT: StaticSchema = ( - 18, - n0, - _LAAO, - {_sSI: _cLAARo, _smi: None}, - (_AAc, _IT, _Ma), - ( - (ACCOUNT_ALIAS_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_ACCOUNT_ALIASES: StaticOperationSchema = ( - 23, - n0, - _LAA, - 0, - LIST_ACCOUNT_ALIASES_INPUT, - LIST_ACCOUNT_ALIASES_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -LIST_ATTACHED_GROUP_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LAGPI, - {_sSI: _cLAGPR, _s: None}, - (_GN, _PPat, _Ma, _MI), - ( - (GROUP_NAME_TYPE, 1), - (POLICY_PATH_TYPE, 0), - (MARKER_TYPE, 0), - (MAX_ITEMS_TYPE, 0), - ), -) - -LIST_ATTACHED_GROUP_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LAGPO, - {_sSI: _cLAGPRo, _smi: None}, - (_APt, _IT, _Ma), - ( - (ATTACHED_POLICIES_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_ATTACHED_GROUP_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LAGP, - 0, - LIST_ATTACHED_GROUP_POLICIES_INPUT, - LIST_ATTACHED_GROUP_POLICIES_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_ATTACHED_ROLE_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LARPI, - {_sSI: _cLARPR, _s: None}, - (_RN, _PPat, _Ma, _MI), - ((ROLE_NAME_TYPE, 1), (POLICY_PATH_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_ATTACHED_ROLE_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LARPO, - {_sSI: _cLARPRo, _smi: None}, - (_APt, _IT, _Ma), - ( - (ATTACHED_POLICIES_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_ATTACHED_ROLE_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LARP, - 0, - LIST_ATTACHED_ROLE_POLICIES_INPUT, - LIST_ATTACHED_ROLE_POLICIES_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_ATTACHED_USER_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LAUPI, - {_sSI: _cLAUPR, _s: None}, - (_UN, _PPat, _Ma, _MI), - ((USER_NAME_TYPE, 1), (POLICY_PATH_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_ATTACHED_USER_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LAUPO, - {_sSI: _cLAUPRo, _smi: None}, - (_APt, _IT, _Ma), - ( - (ATTACHED_POLICIES_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_ATTACHED_USER_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LAUP, - 0, - LIST_ATTACHED_USER_POLICIES_INPUT, - LIST_ATTACHED_USER_POLICIES_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_DELEGATION_REQUESTS_INPUT: StaticSchema = ( - 18, - n0, - _LDRI, - {_sSI: _cLDRR, _s: None}, - (_OIw, _Ma, _MI), - ((OWNER_ID_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -DELEGATION_REQUESTS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _dRLT, - 0, - (_me,), - ((DELEGATION_REQUEST, 0),), -) - -LIST_DELEGATION_REQUESTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDRO, - {_sSI: _cLDRRo, _smi: None}, - (_DRel, _Ma, _iTs), - ( - (DELEGATION_REQUESTS_LIST_TYPE, 0), - (MARKER_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - ), -) - -LIST_DELEGATION_REQUESTS: StaticOperationSchema = ( - 23, - n0, - _LDR, - 0, - LIST_DELEGATION_REQUESTS_INPUT, - LIST_DELEGATION_REQUESTS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -POLICY_USAGE_TYPE: StaticSchema = ( - 14, - n0, - _PUT, - 0, - (_PPer, _PB), - ((-1, {_sV: _PPer}), (-1, {_sV: _PB})), -) - -LIST_ENTITIES_FOR_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _LEFPI, - {_sSI: _cLEFPR, _s: None}, - (_PA, _EFn, _PPat, _PUF, _Ma, _MI), - ( - (ARN_TYPE, 1), - (ENTITY_TYPE, 0), - (PATH_TYPE, 0), - (POLICY_USAGE_TYPE, 0), - (MARKER_TYPE, 0), - (MAX_ITEMS_TYPE, 0), - ), -) - -POLICY_GROUP: StaticSchema = ( - 18, - n0, - _PG, - 0, - (_GN, _GI), - ((GROUP_NAME_TYPE, 0), (ID_TYPE, 0)), -) - -POLICY_GROUP_LIST_TYPE: StaticSchema = (16, n0, _PGLT, 0, (_me,), ((POLICY_GROUP, 0),)) - -POLICY_ROLE: StaticSchema = ( - 18, - n0, - _PR, - 0, - (_RN, _RI), - ((ROLE_NAME_TYPE, 0), (ID_TYPE, 0)), -) - -POLICY_ROLE_LIST_TYPE: StaticSchema = (16, n0, _PRLT, 0, (_me,), ((POLICY_ROLE, 0),)) - -POLICY_USER: StaticSchema = ( - 18, - n0, - _PU, - 0, - (_UN, _UI), - ((USER_NAME_TYPE, 0), (ID_TYPE, 0)), -) - -POLICY_USER_LIST_TYPE: StaticSchema = (16, n0, _PULT, 0, (_me,), ((POLICY_USER, 0),)) - -LIST_ENTITIES_FOR_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _LEFPO, - {_sSI: _cLEFPRo, _smi: None}, - (_PGo, _PUo, _PRo, _IT, _Ma), - ( - (POLICY_GROUP_LIST_TYPE, 0), - (POLICY_USER_LIST_TYPE, 0), - (POLICY_ROLE_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_ENTITIES_FOR_POLICY: StaticOperationSchema = ( - 23, - n0, - _LEFP, - 0, - LIST_ENTITIES_FOR_POLICY_INPUT, - LIST_ENTITIES_FOR_POLICY_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_GROUP_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LGPI, - {_sSI: _cLGPR, _s: None}, - (_GN, _Ma, _MI), - ((GROUP_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -POLICY_NAME_LIST_TYPE: StaticSchema = ( - 16, - n0, - _pNLT, - 0, - (_me,), - ((POLICY_NAME_TYPE, 0),), -) - -LIST_GROUP_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LGPO, - {_sSI: _cLGPRo, _smi: None}, - (_PNo, _IT, _Ma), - ( - (POLICY_NAME_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_GROUP_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LGP, - 0, - LIST_GROUP_POLICIES_INPUT, - LIST_GROUP_POLICIES_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -PATH_PREFIX_TYPE: StaticSchema = (3, n0, _pPTa, 0) - -LIST_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _LGI, - {_sSI: _cLGR, _s: None}, - (_PPat, _Ma, _MI), - ((PATH_PREFIX_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -GROUP_LIST_TYPE: StaticSchema = (16, n0, _gLT, 0, (_me,), ((GROUP, 0),)) - -LIST_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _LGO, - {_sSI: _cLGRo, _smi: None}, - (_Gro, _IT, _Ma), - ((GROUP_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_GROUPS: StaticOperationSchema = ( - 23, - n0, - _LG, - 0, - LIST_GROUPS_INPUT, - LIST_GROUPS_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -LIST_GROUPS_FOR_USER_INPUT: StaticSchema = ( - 18, - n0, - _LGFUI, - {_sSI: _cLGFUR, _s: None}, - (_UN, _Ma, _MI), - ((EXISTING_USER_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_GROUPS_FOR_USER_OUTPUT: StaticSchema = ( - 18, - n0, - _LGFUO, - {_sSI: _cLGFURo, _smi: None}, - (_Gro, _IT, _Ma), - ((GROUP_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_GROUPS_FOR_USER: StaticOperationSchema = ( - 23, - n0, - _LGFU, - 0, - LIST_GROUPS_FOR_USER_INPUT, - LIST_GROUPS_FOR_USER_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_INSTANCE_PROFILES_INPUT: StaticSchema = ( - 18, - n0, - _LIPI, - {_sSI: _cLIPR, _s: None}, - (_PPat, _Ma, _MI), - ((PATH_PREFIX_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_INSTANCE_PROFILES_OUTPUT: StaticSchema = ( - 18, - n0, - _LIPO, - {_sSI: _cLIPRo, _smi: None}, - (_IPn, _IT, _Ma), - ( - (INSTANCE_PROFILE_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_INSTANCE_PROFILES: StaticOperationSchema = ( - 23, - n0, - _LIP, - 0, - LIST_INSTANCE_PROFILES_INPUT, - LIST_INSTANCE_PROFILES_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -LIST_INSTANCE_PROFILES_FOR_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _LIPFRI, - {_sSI: _cLIPFRR, _s: None}, - (_RN, _Ma, _MI), - ((ROLE_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_INSTANCE_PROFILES_FOR_ROLE_OUTPUT: StaticSchema = ( - 18, - n0, - _LIPFRO, - {_sSI: _cLIPFRRo, _smi: None}, - (_IPn, _IT, _Ma), - ( - (INSTANCE_PROFILE_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_INSTANCE_PROFILES_FOR_ROLE: StaticOperationSchema = ( - 23, - n0, - _LIPFR, - 0, - LIST_INSTANCE_PROFILES_FOR_ROLE_INPUT, - LIST_INSTANCE_PROFILES_FOR_ROLE_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_INSTANCE_PROFILE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LIPTI, - {_sSI: _cLIPTR, _s: None}, - (_IPN, _Ma, _MI), - ((INSTANCE_PROFILE_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_INSTANCE_PROFILE_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LIPTO, - {_sSI: _cLIPTRo, _smi: None}, - (_Ta, _IT, _Ma), - ((TAG_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_INSTANCE_PROFILE_TAGS: StaticOperationSchema = ( - 23, - n0, - _LIPT, - 0, - LIST_INSTANCE_PROFILE_TAGS_INPUT, - LIST_INSTANCE_PROFILE_TAGS_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_MFA_DEVICES_INPUT: StaticSchema = ( - 18, - n0, - _LMFADI, - {_sSI: _cLMFADR, _s: None}, - (_UN, _Ma, _MI), - ((EXISTING_USER_NAME_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -MFA_DEVICE: StaticSchema = ( - 18, - n0, - _MFADe, - 0, - (_UN, _SNer, _EDn), - ((USER_NAME_TYPE, 1), (SERIAL_NUMBER_TYPE, 1), (DATE_TYPE, 1)), -) - -MFA_DEVICE_LIST_TYPE: StaticSchema = (16, n0, _mDLT, 0, (_me,), ((MFA_DEVICE, 0),)) - -LIST_MFA_DEVICES_OUTPUT: StaticSchema = ( - 18, - n0, - _LMFADO, - {_sSI: _cLMFADRo, _smi: None}, - (_MFAD, _IT, _Ma), - ( - (MFA_DEVICE_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_MFA_DEVICES: StaticOperationSchema = ( - 23, - n0, - _LMFAD, - 0, - LIST_MFA_DEVICES_INPUT, - LIST_MFA_DEVICES_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_MFA_DEVICE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LMFADTI, - {_sSI: _cLMFADTR, _s: None}, - (_SNer, _Ma, _MI), - ((SERIAL_NUMBER_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_MFA_DEVICE_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMFADTO, - {_sSI: _cLMFADTRo, _smi: None}, - (_Ta, _IT, _Ma), - ((TAG_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_MFA_DEVICE_TAGS: StaticOperationSchema = ( - 23, - n0, - _LMFADT, - 0, - LIST_MFA_DEVICE_TAGS_INPUT, - LIST_MFA_DEVICE_TAGS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_OPEN_ID_CONNECT_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _LOIDCPI, - {_sSI: _cLOIDCPR, _s: None}, -) - -OPEN_ID_CONNECT_PROVIDER_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _OIDCPLE, - 0, - (_Ar,), - ((ARN_TYPE, 0),), -) - -OPEN_ID_CONNECT_PROVIDER_LIST_TYPE: StaticSchema = ( - 16, - n0, - _OIDCPLT, - 0, - (_me,), - ((OPEN_ID_CONNECT_PROVIDER_LIST_ENTRY, 0),), -) - -LIST_OPEN_ID_CONNECT_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LOIDCPO, - {_sSI: _cLOIDCPRo, _smi: None}, - (_OIDCPL,), - ((OPEN_ID_CONNECT_PROVIDER_LIST_TYPE, 0),), -) - -LIST_OPEN_ID_CONNECT_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _LOIDCP, - 0, - LIST_OPEN_ID_CONNECT_PROVIDERS_INPUT, - LIST_OPEN_ID_CONNECT_PROVIDERS_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LOIDCPTI, - {_sSI: _cLOIDCPTR, _s: None}, - (_OIDCPA, _Ma, _MI), - ((ARN_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LOIDCPTO, - {_sSI: _cLOIDCPTRo, _smi: None}, - (_Ta, _IT, _Ma), - ((TAG_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_OPEN_ID_CONNECT_PROVIDER_TAGS: StaticOperationSchema = ( - 23, - n0, - _LOIDCPT, - 0, - LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_INPUT, - LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_ORGANIZATIONS_FEATURES_INPUT: StaticSchema = ( - 18, - n0, - _LOFI, - {_sSI: _cLOFR, _s: None}, -) - -LIST_ORGANIZATIONS_FEATURES_OUTPUT: StaticSchema = ( - 18, - n0, - _LOFO, - {_sSI: _cLOFRo, _smi: None}, - (_OI, _EF), - ((ORGANIZATION_ID_TYPE, 0), (FEATURES_LIST_TYPE, 0)), -) - -LIST_ORGANIZATIONS_FEATURES: StaticOperationSchema = ( - 23, - n0, - _LOF, - 0, - LIST_ORGANIZATIONS_FEATURES_INPUT, - LIST_ORGANIZATIONS_FEATURES_OUTPUT, - ( - ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, - ORGANIZATION_NOT_FOUND_EXCEPTION, - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, - SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, - ), -) - -POLICY_SCOPE_TYPE: StaticSchema = ( - 14, - n0, - _pST, - 0, - (_All, _AWS, _Lo), - ((-1, {_sV: _All}), (-1, {_sV: _AWS}), (-1, {_sV: _Lo})), -) - -LIST_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LPI, - {_sSI: _cLPR, _s: None}, - (_Sc, _OA, _PPat, _PUF, _Ma, _MI), - ( - (POLICY_SCOPE_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (POLICY_PATH_TYPE, 0), - (POLICY_USAGE_TYPE, 0), - (MARKER_TYPE, 0), - (MAX_ITEMS_TYPE, 0), - ), -) - -POLICY_LIST_TYPE: StaticSchema = (16, n0, _pLT, 0, (_me,), ((POLICY, 0),)) - -LIST_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LPO, - {_sSI: _cLPRo, _smi: None}, - (_Po, _IT, _Ma), - ( - (POLICY_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LPi, - 0, - LIST_POLICIES_INPUT, - LIST_POLICIES_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -SERVICE_NAMESPACE_LIST_TYPE: StaticSchema = ( - 16, - n0, - _sNLT, - 0, - (_me,), - ((SERVICE_NAMESPACE_TYPE, 0),), -) - -LIST_POLICIES_GRANTING_SERVICE_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _LPGSAI, - {_sSI: _cLPGSAR, _s: None}, - (_Ma, _Ar, _SNerv), - ((MARKER_TYPE, 0), (ARN_TYPE, 1), (SERVICE_NAMESPACE_LIST_TYPE, 1)), -) - -ENTITY_NAME_TYPE: StaticSchema = (3, n0, _eNT, 0) - -POLICY_TYPE: StaticSchema = ( - 14, - n0, - _pTo, - 0, - (_INLINE, _MANAGED), - ((-1, {_sV: _INLINE}), (-1, {_sV: _MANAGED})), -) - -POLICY_GRANTING_SERVICE_ACCESS: StaticSchema = ( - 18, - n0, - _PGSA, - 0, - (_PN, _PT, _PA, _ET, _EN), - ( - (POLICY_NAME_TYPE, 1), - (POLICY_TYPE, 1), - (ARN_TYPE, 0), - (POLICY_OWNER_ENTITY_TYPE, 0), - (ENTITY_NAME_TYPE, 0), - ), -) - -POLICY_GRANTING_SERVICE_ACCESS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _pGSALT, - 0, - (_me,), - ((POLICY_GRANTING_SERVICE_ACCESS, 0),), -) - -LIST_POLICIES_GRANTING_SERVICE_ACCESS_ENTRY: StaticSchema = ( - 18, - n0, - _LPGSAE, - 0, - (_SNe, _Po), - ((SERVICE_NAMESPACE_TYPE, 0), (POLICY_GRANTING_SERVICE_ACCESS_LIST_TYPE, 0)), -) - -LIST_POLICY_GRANTING_SERVICE_ACCESS_RESPONSE_LIST_TYPE: StaticSchema = ( - 16, - n0, - _lPGSARLT, - 0, - (_me,), - ((LIST_POLICIES_GRANTING_SERVICE_ACCESS_ENTRY, 0),), -) - -LIST_POLICIES_GRANTING_SERVICE_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPGSAO, - {_sSI: _cLPGSARo, _smi: None}, - (_PGSAo, _IT, _Ma), - ( - (LIST_POLICY_GRANTING_SERVICE_ACCESS_RESPONSE_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_POLICIES_GRANTING_SERVICE_ACCESS: StaticOperationSchema = ( - 23, - n0, - _LPGSA, - 0, - LIST_POLICIES_GRANTING_SERVICE_ACCESS_INPUT, - LIST_POLICIES_GRANTING_SERVICE_ACCESS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION), -) - -LIST_POLICY_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LPTI, - {_sSI: _cLPTR, _s: None}, - (_PA, _Ma, _MI), - ((ARN_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_POLICY_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPTO, - {_sSI: _cLPTRo, _smi: None}, - (_Ta, _IT, _Ma), - ((TAG_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_POLICY_TAGS: StaticOperationSchema = ( - 23, - n0, - _LPT, - 0, - LIST_POLICY_TAGS_INPUT, - LIST_POLICY_TAGS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_POLICY_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LPVI, - {_sSI: _cLPVR, _s: None}, - (_PA, _Ma, _MI), - ((ARN_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_POLICY_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPVO, - {_sSI: _cLPVRo, _smi: None}, - (_Ve, _IT, _Ma), - ( - (POLICY_DOCUMENT_VERSION_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_POLICY_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LPV, - 0, - LIST_POLICY_VERSIONS_INPUT, - LIST_POLICY_VERSIONS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_ROLE_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LRPI, - {_sSI: _cLRPR, _s: None}, - (_RN, _Ma, _MI), - ((ROLE_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_ROLE_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LRPO, - {_sSI: _cLRPRo, _smi: None}, - (_PNo, _IT, _Ma), - ( - (POLICY_NAME_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_ROLE_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LRP, - 0, - LIST_ROLE_POLICIES_INPUT, - LIST_ROLE_POLICIES_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_ROLES_INPUT: StaticSchema = ( - 18, - n0, - _LRI, - {_sSI: _cLRR, _s: None}, - (_PPat, _Ma, _MI), - ((PATH_PREFIX_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_ROLES_OUTPUT: StaticSchema = ( - 18, - n0, - _LRO, - {_sSI: _cLRRo, _smi: None}, - (_Rol, _IT, _Ma), - ((ROLE_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_ROLES: StaticOperationSchema = ( - 23, - n0, - _LR, - 0, - LIST_ROLES_INPUT, - LIST_ROLES_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -LIST_ROLE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LRTI, - {_sSI: _cLRTR, _s: None}, - (_RN, _Ma, _MI), - ((ROLE_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_ROLE_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRTO, - {_sSI: _cLRTRo, _smi: None}, - (_Ta, _IT, _Ma), - ((TAG_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_ROLE_TAGS: StaticOperationSchema = ( - 23, - n0, - _LRT, - 0, - LIST_ROLE_TAGS_INPUT, - LIST_ROLE_TAGS_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_SAML_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _LSAMLPI, - {_sSI: _cLSAMLPR, _s: None}, -) - -SAML_PROVIDER_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _SAMLPLE, - 0, - (_Ar, _VU, _CD), - ((ARN_TYPE, 0), (DATE_TYPE, 0), (DATE_TYPE, 0)), -) - -SAML_PROVIDER_LIST_TYPE: StaticSchema = ( - 16, - n0, - _SAMLPLT, - 0, - (_me,), - ((SAML_PROVIDER_LIST_ENTRY, 0),), -) - -LIST_SAML_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSAMLPO, - {_sSI: _cLSAMLPRo, _smi: None}, - (_SAMLPL,), - ((SAML_PROVIDER_LIST_TYPE, 0),), -) - -LIST_SAML_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _LSAMLP, - 0, - LIST_SAML_PROVIDERS_INPUT, - LIST_SAML_PROVIDERS_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -LIST_SAML_PROVIDER_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LSAMLPTI, - {_sSI: _cLSAMLPTR, _s: None}, - (_SAMLPA, _Ma, _MI), - ((ARN_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_SAML_PROVIDER_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSAMLPTO, - {_sSI: _cLSAMLPTRo, _smi: None}, - (_Ta, _IT, _Ma), - ((TAG_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_SAML_PROVIDER_TAGS: StaticOperationSchema = ( - 23, - n0, - _LSAMLPT, - 0, - LIST_SAML_PROVIDER_TAGS_INPUT, - LIST_SAML_PROVIDER_TAGS_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_SERVER_CERTIFICATES_INPUT: StaticSchema = ( - 18, - n0, - _LSCI, - {_sSI: _cLSCR, _s: None}, - (_PPat, _Ma, _MI), - ((PATH_PREFIX_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -SERVER_CERTIFICATE_METADATA_LIST_TYPE: StaticSchema = ( - 16, - n0, - _sCMLT, - 0, - (_me,), - ((SERVER_CERTIFICATE_METADATA, 0),), -) - -LIST_SERVER_CERTIFICATES_OUTPUT: StaticSchema = ( - 18, - n0, - _LSCO, - {_sSI: _cLSCRo, _smi: None}, - (_SCML, _IT, _Ma), - ( - (SERVER_CERTIFICATE_METADATA_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_SERVER_CERTIFICATES: StaticOperationSchema = ( - 23, - n0, - _LSC, - 0, - LIST_SERVER_CERTIFICATES_INPUT, - LIST_SERVER_CERTIFICATES_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -LIST_SERVER_CERTIFICATE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LSCTI, - {_sSI: _cLSCTR, _s: None}, - (_SCN, _Ma, _MI), - ((SERVER_CERTIFICATE_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_SERVER_CERTIFICATE_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSCTO, - {_sSI: _cLSCTRo, _smi: None}, - (_Ta, _IT, _Ma), - ((TAG_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_SERVER_CERTIFICATE_TAGS: StaticOperationSchema = ( - 23, - n0, - _LSCT, - 0, - LIST_SERVER_CERTIFICATE_TAGS_INPUT, - LIST_SERVER_CERTIFICATE_TAGS_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_SERVICE_SPECIFIC_CREDENTIALS_INPUT: StaticSchema = ( - 18, - n0, - _LSSCI, - {_sSI: _cLSSCR, _s: None}, - (_UN, _SN, _AU, _Ma, _MI), - ( - (USER_NAME_TYPE, 0), - (SERVICE_NAME, 0), - (ALL_USERS, 0), - (MARKER_TYPE, 0), - (MAX_ITEMS_TYPE, 0), - ), -) - -SERVICE_SPECIFIC_CREDENTIAL_METADATA: StaticSchema = ( - 18, - n0, - _SSCM, - 0, - (_UN, _S, _SUN, _SCA, _CD, _ED, _SSCI, _SN), - ( - (USER_NAME_TYPE, 1), - (STATUS_TYPE, 1), - (SERVICE_USER_NAME, {_smithy: _v_}), - (SERVICE_CREDENTIAL_ALIAS, 0), - (DATE_TYPE, 1), - (DATE_TYPE, 0), - (SERVICE_SPECIFIC_CREDENTIAL_ID, 1), - (SERVICE_NAME, 1), - ), -) - -SERVICE_SPECIFIC_CREDENTIALS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _SSCLT, - 0, - (_me,), - ((SERVICE_SPECIFIC_CREDENTIAL_METADATA, 0),), -) - -LIST_SERVICE_SPECIFIC_CREDENTIALS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSSCO, - {_sSI: _cLSSCRo, _smi: None}, - (_SSCe, _Ma, _IT), - ( - (SERVICE_SPECIFIC_CREDENTIALS_LIST_TYPE, 0), - (RESPONSE_MARKER_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - ), -) - -LIST_SERVICE_SPECIFIC_CREDENTIALS: StaticOperationSchema = ( - 23, - n0, - _LSSC, - 0, - LIST_SERVICE_SPECIFIC_CREDENTIALS_INPUT, - LIST_SERVICE_SPECIFIC_CREDENTIALS_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_NOT_SUPPORTED_EXCEPTION), -) - -LIST_SIGNING_CERTIFICATES_INPUT: StaticSchema = ( - 18, - n0, - _LSCIi, - {_sSI: _cLSCRom, _s: None}, - (_UN, _Ma, _MI), - ((EXISTING_USER_NAME_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -SIGNING_CERTIFICATE: StaticSchema = ( - 18, - n0, - _SCi, - 0, - (_UN, _CI, _CB, _S, _UDp), - ( - (USER_NAME_TYPE, 1), - (CERTIFICATE_ID_TYPE, 1), - (CERTIFICATE_BODY_TYPE, 1), - (STATUS_TYPE, 1), - (DATE_TYPE, 0), - ), -) - -CERTIFICATE_LIST_TYPE: StaticSchema = ( - 16, - n0, - _cLT, - 0, - (_me,), - ((SIGNING_CERTIFICATE, 0),), -) - -LIST_SIGNING_CERTIFICATES_OUTPUT: StaticSchema = ( - 18, - n0, - _LSCOi, - {_sSI: _cLSCRoma, _smi: None}, - (_Cer, _IT, _Ma), - ( - (CERTIFICATE_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_SIGNING_CERTIFICATES: StaticOperationSchema = ( - 23, - n0, - _LSCi, - 0, - LIST_SIGNING_CERTIFICATES_INPUT, - LIST_SIGNING_CERTIFICATES_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_SSH_PUBLIC_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _LSSHPKI, - {_sSI: _cLSSHPKR, _s: None}, - (_UN, _Ma, _MI), - ((USER_NAME_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -SSH_PUBLIC_KEY_METADATA: StaticSchema = ( - 18, - n0, - _SSHPKM, - 0, - (_UN, _SSHPKI, _S, _UDp), - ((USER_NAME_TYPE, 1), (PUBLIC_KEY_ID_TYPE, 1), (STATUS_TYPE, 1), (DATE_TYPE, 1)), -) - -SSH_PUBLIC_KEY_LIST_TYPE: StaticSchema = ( - 16, - n0, - _SSHPKLT, - 0, - (_me,), - ((SSH_PUBLIC_KEY_METADATA, 0),), -) - -LIST_SSH_PUBLIC_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSSHPKO, - {_sSI: _cLSSHPKRo, _smi: None}, - (_SSHPKu, _IT, _Ma), - ( - (SSH_PUBLIC_KEY_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_SSH_PUBLIC_KEYS: StaticOperationSchema = ( - 23, - n0, - _LSSHPK, - 0, - LIST_SSH_PUBLIC_KEYS_INPUT, - LIST_SSH_PUBLIC_KEYS_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION,), -) - -LIST_USER_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LUPI, - {_sSI: _cLUPR, _s: None}, - (_UN, _Ma, _MI), - ((EXISTING_USER_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_USER_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LUPO, - {_sSI: _cLUPRo, _smi: None}, - (_PNo, _IT, _Ma), - ( - (POLICY_NAME_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_USER_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LUP, - 0, - LIST_USER_POLICIES_INPUT, - LIST_USER_POLICIES_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_USERS_INPUT: StaticSchema = ( - 18, - n0, - _LUI, - {_sSI: _cLUR, _s: None}, - (_PPat, _Ma, _MI), - ((PATH_PREFIX_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_USERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LUO, - {_sSI: _cLURo, _smi: None}, - (_Use, _IT, _Ma), - ((USER_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_USERS: StaticOperationSchema = ( - 23, - n0, - _LU, - 0, - LIST_USERS_INPUT, - LIST_USERS_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -LIST_USER_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LUTI, - {_sSI: _cLUTR, _s: None}, - (_UN, _Ma, _MI), - ((EXISTING_USER_NAME_TYPE, 1), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -LIST_USER_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LUTO, - {_sSI: _cLUTRo, _smi: None}, - (_Ta, _IT, _Ma), - ((TAG_LIST_TYPE, 1), (BOOLEAN_TYPE, {_smithy: False}), (RESPONSE_MARKER_TYPE, 0)), -) - -LIST_USER_TAGS: StaticOperationSchema = ( - 23, - n0, - _LUT, - 0, - LIST_USER_TAGS_INPUT, - LIST_USER_TAGS_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_VIRTUAL_MFA_DEVICES_INPUT: StaticSchema = ( - 18, - n0, - _LVMFADI, - {_sSI: _cLVMFADR, _s: None}, - (_AS, _Ma, _MI), - ((ASSIGNMENT_STATUS_TYPE, 0), (MARKER_TYPE, 0), (MAX_ITEMS_TYPE, 0)), -) - -VIRTUAL_MFA_DEVICE_LIST_TYPE: StaticSchema = ( - 16, - n0, - _vMFADLT, - 0, - (_me,), - ((VIRTUAL_MFA_DEVICE, 0),), -) - -LIST_VIRTUAL_MFA_DEVICES_OUTPUT: StaticSchema = ( - 18, - n0, - _LVMFADO, - {_sSI: _cLVMFADRo, _smi: None}, - (_VMFADi, _IT, _Ma), - ( - (VIRTUAL_MFA_DEVICE_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -LIST_VIRTUAL_MFA_DEVICES: StaticOperationSchema = ( - 23, - n0, - _LVMFAD, - 0, - LIST_VIRTUAL_MFA_DEVICES_INPUT, - LIST_VIRTUAL_MFA_DEVICES_OUTPUT, - (), -) - -PUT_ACCOUNT_PROPERTIES_INPUT: StaticSchema = ( - 18, - n0, - _PAPI, - {_sSI: _cPAPR, _s: None}, - (_Pr,), - ((ACCOUNT_PROPERTIES_MAP_TYPE, 1),), -) - -PUT_ACCOUNT_PROPERTIES_OUTPUT: StaticSchema = ( - 18, - n0, - _PAPO, - {_sSI: _cPAPRo, _smi: None}, -) - -PUT_ACCOUNT_PROPERTIES: StaticOperationSchema = ( - 23, - n0, - _PAP, - 0, - PUT_ACCOUNT_PROPERTIES_INPUT, - PUT_ACCOUNT_PROPERTIES_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -PUT_GROUP_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PGPI, - {_sSI: _cPGPR, _s: None}, - (_GN, _PN, _PD), - ((GROUP_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1), (POLICY_DOCUMENT_TYPE, 1)), -) - -PUT_GROUP_POLICY_OUTPUT: StaticSchema = (18, n0, _PGPO, {_sSI: _sU, _smi: None}) - -PUT_GROUP_POLICY: StaticOperationSchema = ( - 23, - n0, - _PGP, - 0, - PUT_GROUP_POLICY_INPUT, - PUT_GROUP_POLICY_OUTPUT, - ( - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -PUT_ROLE_PERMISSIONS_BOUNDARY_INPUT: StaticSchema = ( - 18, - n0, - _PRPBI, - {_sSI: _cPRPBR, _s: None}, - (_RN, _PB), - ((ROLE_NAME_TYPE, 1), (ARN_TYPE, 1)), -) - -PUT_ROLE_PERMISSIONS_BOUNDARY_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPBO, - {_sSI: _sU, _smi: None}, -) - -PUT_ROLE_PERMISSIONS_BOUNDARY: StaticOperationSchema = ( - 23, - n0, - _PRPB, - 0, - PUT_ROLE_PERMISSIONS_BOUNDARY_INPUT, - PUT_ROLE_PERMISSIONS_BOUNDARY_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - POLICY_NOT_ATTACHABLE_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -PUT_ROLE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_sSI: _cPRPR, _s: None}, - (_RN, _PN, _PD), - ((ROLE_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1), (POLICY_DOCUMENT_TYPE, 1)), -) - -PUT_ROLE_POLICY_OUTPUT: StaticSchema = (18, n0, _PRPO, {_sSI: _sU, _smi: None}) - -PUT_ROLE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRPu, - 0, - PUT_ROLE_POLICY_INPUT, - PUT_ROLE_POLICY_OUTPUT, - ( - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -PUT_USER_PERMISSIONS_BOUNDARY_INPUT: StaticSchema = ( - 18, - n0, - _PUPBI, - {_sSI: _cPUPBR, _s: None}, - (_UN, _PB), - ((USER_NAME_TYPE, 1), (ARN_TYPE, 1)), -) - -PUT_USER_PERMISSIONS_BOUNDARY_OUTPUT: StaticSchema = ( - 18, - n0, - _PUPBO, - {_sSI: _sU, _smi: None}, -) - -PUT_USER_PERMISSIONS_BOUNDARY: StaticOperationSchema = ( - 23, - n0, - _PUPB, - 0, - PUT_USER_PERMISSIONS_BOUNDARY_INPUT, - PUT_USER_PERMISSIONS_BOUNDARY_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - POLICY_NOT_ATTACHABLE_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -PUT_USER_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PUPI, - {_sSI: _cPUPR, _s: None}, - (_UN, _PN, _PD), - ((EXISTING_USER_NAME_TYPE, 1), (POLICY_NAME_TYPE, 1), (POLICY_DOCUMENT_TYPE, 1)), -) - -PUT_USER_POLICY_OUTPUT: StaticSchema = (18, n0, _PUPO, {_sSI: _sU, _smi: None}) - -PUT_USER_POLICY: StaticOperationSchema = ( - 23, - n0, - _PUP, - 0, - PUT_USER_POLICY_INPUT, - PUT_USER_POLICY_OUTPUT, - ( - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -REJECT_DELEGATION_REQUEST_INPUT: StaticSchema = ( - 18, - n0, - _RDRI, - {_sSI: _cRDRR, _s: None}, - (_DRI, _No), - ((DELEGATION_REQUEST_ID_TYPE, 1), (NOTES_TYPE, 0)), -) - -REJECT_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( - 18, - n0, - _RDRO, - {_sSI: _sU, _smi: None}, -) - -REJECT_DELEGATION_REQUEST: StaticOperationSchema = ( - 23, - n0, - _RDR, - 0, - REJECT_DELEGATION_REQUEST_INPUT, - REJECT_DELEGATION_REQUEST_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _RCIDFOIDCPI, - {_sSI: _cRCIDFOIDCPR, _s: None}, - (_OIDCPA, _CID), - ((ARN_TYPE, 1), (CLIENT_ID_TYPE, 1)), -) - -REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _RCIDFOIDCPO, - {_sSI: _sU, _smi: None}, -) - -REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _RCIDFOIDCP, - 0, - REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_INPUT, - REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -REMOVE_ROLE_FROM_INSTANCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _RRFIPI, - {_sSI: _cRRFIPR, _s: None}, - (_IPN, _RN), - ((INSTANCE_PROFILE_NAME_TYPE, 1), (ROLE_NAME_TYPE, 1)), -) - -REMOVE_ROLE_FROM_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( - 18, - n0, - _RRFIPO, - {_sSI: _sU, _smi: None}, -) - -REMOVE_ROLE_FROM_INSTANCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _RRFIP, - 0, - REMOVE_ROLE_FROM_INSTANCE_PROFILE_INPUT, - REMOVE_ROLE_FROM_INSTANCE_PROFILE_OUTPUT, - ( - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -REMOVE_USER_FROM_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _RUFGI, - {_sSI: _cRUFGR, _s: None}, - (_GN, _UN), - ((GROUP_NAME_TYPE, 1), (EXISTING_USER_NAME_TYPE, 1)), -) - -REMOVE_USER_FROM_GROUP_OUTPUT: StaticSchema = (18, n0, _RUFGO, {_sSI: _sU, _smi: None}) - -REMOVE_USER_FROM_GROUP: StaticOperationSchema = ( - 23, - n0, - _RUFG, - 0, - REMOVE_USER_FROM_GROUP_INPUT, - REMOVE_USER_FROM_GROUP_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -RESET_SERVICE_SPECIFIC_CREDENTIAL_INPUT: StaticSchema = ( - 18, - n0, - _RSSCI, - {_sSI: _cRSSCR, _s: None}, - (_UN, _SSCI), - ((USER_NAME_TYPE, 0), (SERVICE_SPECIFIC_CREDENTIAL_ID, 1)), -) - -RESET_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT: StaticSchema = ( - 18, - n0, - _RSSCO, - {_sSI: _cRSSCRo, _smi: None}, - (_SSC,), - ((SERVICE_SPECIFIC_CREDENTIAL, 0),), -) - -RESET_SERVICE_SPECIFIC_CREDENTIAL: StaticOperationSchema = ( - 23, - n0, - _RSSC, - 0, - RESET_SERVICE_SPECIFIC_CREDENTIAL_INPUT, - RESET_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION,), -) - -RESYNC_MFA_DEVICE_INPUT: StaticSchema = ( - 18, - n0, - _RMFADI, - {_sSI: _cRMFADR, _s: None}, - (_UN, _SNer, _ACu, _ACut), - ( - (EXISTING_USER_NAME_TYPE, 1), - (SERIAL_NUMBER_TYPE, 1), - (AUTHENTICATION_CODE_TYPE, 1), - (AUTHENTICATION_CODE_TYPE, 1), - ), -) - -RESYNC_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _RMFADO, {_sSI: _sU, _smi: None}) - -RESYNC_MFA_DEVICE: StaticOperationSchema = ( - 23, - n0, - _RMFAD, - 0, - RESYNC_MFA_DEVICE_INPUT, - RESYNC_MFA_DEVICE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_AUTHENTICATION_CODE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -SEND_DELEGATION_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _SDTI, - {_sSI: _cSDTR, _s: None}, - (_DRI,), - ((DELEGATION_REQUEST_ID_TYPE, 1),), -) - -SEND_DELEGATION_TOKEN_OUTPUT: StaticSchema = (18, n0, _SDTO, {_sSI: _sU, _smi: None}) - -SEND_DELEGATION_TOKEN: StaticOperationSchema = ( - 23, - n0, - _SDT, - 0, - SEND_DELEGATION_TOKEN_INPUT, - SEND_DELEGATION_TOKEN_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -SET_DEFAULT_POLICY_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _SDPVI, - {_sSI: _cSDPVR, _s: None}, - (_PA, _VI), - ((ARN_TYPE, 1), (POLICY_VERSION_ID_TYPE, 1)), -) - -SET_DEFAULT_POLICY_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _SDPVO, - {_sSI: _sU, _smi: None}, -) - -SET_DEFAULT_POLICY_VERSION: StaticOperationSchema = ( - 23, - n0, - _SDPV, - 0, - SET_DEFAULT_POLICY_VERSION_INPUT, - SET_DEFAULT_POLICY_VERSION_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -GLOBAL_ENDPOINT_TOKEN_VERSION: StaticSchema = ( - 14, - n0, - _gETV, - 0, - (_vT, _vTo), - ((-1, {_sV: _vT}), (-1, {_sV: _vTo})), -) - -SET_SECURITY_TOKEN_SERVICE_PREFERENCES_INPUT: StaticSchema = ( - 18, - n0, - _SSTSPI, - {_sSI: _cSSTSPR, _s: None}, - (_GETV,), - ((GLOBAL_ENDPOINT_TOKEN_VERSION, 1),), -) - -SET_SECURITY_TOKEN_SERVICE_PREFERENCES_OUTPUT: StaticSchema = ( - 18, - n0, - _SSTSPO, - {_sSI: _sU, _smi: None}, -) - -SET_SECURITY_TOKEN_SERVICE_PREFERENCES: StaticOperationSchema = ( - 23, - n0, - _SSTSP, - 0, - SET_SECURITY_TOKEN_SERVICE_PREFERENCES_INPUT, - SET_SECURITY_TOKEN_SERVICE_PREFERENCES_OUTPUT, - (SERVICE_FAILURE_EXCEPTION,), -) - -POLICY_EVALUATION_ERROR_MESSAGE: StaticSchema = (3, n0, _pEEM, 0) - -POLICY_EVALUATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _PEE, - { - _smit: _se, - _sE: 500, - _aQE: MappingProxyType({"code": "PolicyEvaluation", "httpResponseCode": 500}), - }, - (_m,), - ((POLICY_EVALUATION_ERROR_MESSAGE, 0),), -) - -RESOURCE_NAME_TYPE: StaticSchema = (3, n0, _RNTe, 0) - -CONTEXT_KEY_TYPE_ENUM: StaticSchema = ( - 14, - n0, - _CKTE, - 0, - ( - _STRING, - _SL_, - _NUMERIC, - _NL_, - _BOOLEAN, - _BL, - _IP__, - _IL, - _BINARY, - _BL_, - _DATE, - _DL, - ), - ( - (-1, {_sV: _st}), - (-1, {_sV: _sL}), - (-1, {_sV: _n}), - (-1, {_sV: _nL}), - (-1, {_sV: _b}), - (-1, {_sV: _bL}), - (-1, {_sV: _i}), - (-1, {_sV: _iL}), - (-1, {_sV: _bi}), - (-1, {_sV: _bLi}), - (-1, {_sV: _d}), - (-1, {_sV: _dL}), - ), -) - -CONTEXT_KEY_VALUE_TYPE: StaticSchema = (3, n0, _CKVT, 0) - -CONTEXT_KEY_VALUE_LIST_TYPE: StaticSchema = ( - 16, - n0, - _CKVLT, - 0, - (_me,), - ((CONTEXT_KEY_VALUE_TYPE, 0),), -) - -CONTEXT_ENTRY: StaticSchema = ( - 18, - n0, - _CE, - 0, - (_CKNo, _CKV, _CKTo), - ( - (CONTEXT_KEY_NAME_TYPE, 0), - (CONTEXT_KEY_VALUE_LIST_TYPE, 0), - (CONTEXT_KEY_TYPE_ENUM, 0), - ), -) - -CONTEXT_ENTRY_LIST_TYPE: StaticSchema = ( - 16, - n0, - _CELT, - 0, - (_me,), - ((CONTEXT_ENTRY, 0),), -) - -ORDERED_ORGANIZATION_POLICY_TYPE: StaticSchema = ( - 18, - n0, - _OOPT, - 0, - (_SCPIL,), - ((SIMULATION_POLICY_LIST_TYPE, 0),), -) - -ORGANIZATION_POLICY_LIST_TYPE: StaticSchema = ( - 16, - n0, - _OPLT, - 0, - (_me,), - ((ORDERED_ORGANIZATION_POLICY_TYPE, 0),), -) - -RESOURCE_NAME_LIST_TYPE: StaticSchema = ( - 16, - n0, - _RNLT, - 0, - (_me,), - ((RESOURCE_NAME_TYPE, 0),), -) - -RESOURCE_HANDLING_OPTION_TYPE: StaticSchema = (3, n0, _RHOT, 0) - -SIMULATE_CUSTOM_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _SCPI, - {_sSI: _cSCPR, _s: None}, - (_PIL, _PBPIL, _OOPIL, _ANct, _RA, _RP, _RO, _CA, _CEo, _RHO, _MI, _Ma), - ( - (SIMULATION_POLICY_LIST_TYPE, 1), - (SIMULATION_POLICY_LIST_TYPE, 0), - (ORGANIZATION_POLICY_LIST_TYPE, 0), - (ACTION_NAME_LIST_TYPE, 1), - (RESOURCE_NAME_LIST_TYPE, 0), - (POLICY_DOCUMENT_TYPE, 0), - (RESOURCE_NAME_TYPE, 0), - (RESOURCE_NAME_TYPE, 0), - (CONTEXT_ENTRY_LIST_TYPE, 0), - (RESOURCE_HANDLING_OPTION_TYPE, 0), - (MAX_ITEMS_TYPE, 0), - (MARKER_TYPE, 0), - ), -) - -POLICY_EVALUATION_DECISION_TYPE: StaticSchema = ( - 14, - n0, - _PEDT, - 0, - (_ALLOWED, _ED_, _ID), - ((-1, {_sV: _a}), (-1, {_sV: _eD}), (-1, {_sV: _iD})), -) - -EVAL_DECISION_SOURCE_TYPE: StaticSchema = (3, n0, _EDST, 0) - -EVAL_DECISION_DETAILS_TYPE: StaticSchema = ( - 17, - n0, - _EDDT, - 0, - (_k, _v), - ((EVAL_DECISION_SOURCE_TYPE, 0), (POLICY_EVALUATION_DECISION_TYPE, 0)), -) - -COLUMN_NUMBER: StaticSchema = (7, n0, _CN, {_smithy: 0}) - -LINE_NUMBER: StaticSchema = (7, n0, _LN, {_smithy: 0}) - -POSITION: StaticSchema = ( - 18, - n0, - _Pos, - 0, - (_Li, _Col), - ((LINE_NUMBER, {_smithy: 0}), (COLUMN_NUMBER, {_smithy: 0})), -) - -POLICY_IDENTIFIER_TYPE: StaticSchema = (3, n0, _PIT, 0) - -POLICY_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _PST, - 0, - (_USER, _GROUP, _ROLE, _AM, _UM, _RESOURCE, _NONE), - ( - (-1, {_sV: _u}), - (-1, {_sV: _g}), - (-1, {_sV: _r}), - (-1, {_sV: _am}), - (-1, {_sV: _um}), - (-1, {_sV: _re}), - (-1, {_sV: _no}), - ), -) - -STATEMENT: StaticSchema = ( - 18, - n0, - _Sta, - 0, - (_SPI, _SPT, _SPt, _EPn), - ( - (POLICY_IDENTIFIER_TYPE, 0), - (POLICY_SOURCE_TYPE, 0), - (POSITION, 0), - (POSITION, 0), - ), -) - -STATEMENT_LIST_TYPE: StaticSchema = (16, n0, _SLT, 0, (_me,), ((STATEMENT, 0),)) - -ORGANIZATIONS_DECISION_DETAIL: StaticSchema = ( - 18, - n0, - _ODD, - 0, - (_ABO,), - ((BOOLEAN_TYPE, {_smithy: False}),), -) - -PERMISSIONS_BOUNDARY_DECISION_DETAIL: StaticSchema = ( - 18, - n0, - _PBDD, - 0, - (_ABPB,), - ((BOOLEAN_TYPE, {_smithy: False}),), -) - -RESOURCE_SPECIFIC_RESULT: StaticSchema = ( - 18, - n0, - _RSR, - 0, - (_ERN, _ERD, _MS, _MCV, _EDD, _PBDD), - ( - (RESOURCE_NAME_TYPE, 1), - (POLICY_EVALUATION_DECISION_TYPE, 1), - (STATEMENT_LIST_TYPE, 0), - (CONTEXT_KEY_NAMES_RESULT_LIST_TYPE, 0), - (EVAL_DECISION_DETAILS_TYPE, 0), - (PERMISSIONS_BOUNDARY_DECISION_DETAIL, 0), - ), -) - -RESOURCE_SPECIFIC_RESULT_LIST_TYPE: StaticSchema = ( - 16, - n0, - _RSRLT, - 0, - (_me,), - ((RESOURCE_SPECIFIC_RESULT, 0),), -) - -EVALUATION_RESULT: StaticSchema = ( - 18, - n0, - _ER, - 0, - (_EAN, _ERN, _EDv, _MS, _MCV, _ODD, _PBDD, _EDD, _RSRe), - ( - (ACTION_NAME_TYPE, 1), - (RESOURCE_NAME_TYPE, 0), - (POLICY_EVALUATION_DECISION_TYPE, 1), - (STATEMENT_LIST_TYPE, 0), - (CONTEXT_KEY_NAMES_RESULT_LIST_TYPE, 0), - (ORGANIZATIONS_DECISION_DETAIL, 0), - (PERMISSIONS_BOUNDARY_DECISION_DETAIL, 0), - (EVAL_DECISION_DETAILS_TYPE, 0), - (RESOURCE_SPECIFIC_RESULT_LIST_TYPE, 0), - ), -) - -EVALUATION_RESULTS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _ERLT, - 0, - (_me,), - ((EVALUATION_RESULT, 0),), -) - -SIMULATE_CUSTOM_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _SCPO, - {_sSI: _cSPR, _smi: None}, - (_ERv, _IT, _Ma), - ( - (EVALUATION_RESULTS_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -SIMULATE_CUSTOM_POLICY: StaticOperationSchema = ( - 23, - n0, - _SCP, - 0, - SIMULATE_CUSTOM_POLICY_INPUT, - SIMULATE_CUSTOM_POLICY_OUTPUT, - (INVALID_INPUT_EXCEPTION, POLICY_EVALUATION_EXCEPTION), -) - -INLINE_POLICY_IDENTIFIER_TYPE: StaticSchema = ( - 18, - n0, - _IPIT, - 0, - (_PN, _AT, _AN), - ((POLICY_NAME_TYPE, 1), (ATTACHMENT_TYPE, 1), (ATTACHMENT_NAME, 1)), -) - -POLICY_IDENTIFIER_POLICY_TYPE: StaticSchema = ( - 14, - n0, - _PIPT, - 0, - (_INLINE, _AM, _UM, _PB_, _SCP_, _RCP), - ( - (-1, {_sV: _in}), - (-1, {_sV: _am}), - (-1, {_sV: _um}), - (-1, {_sV: _pb}), - (-1, {_sV: _sc}), - (-1, {_sV: _rc}), - ), -) - -POLICY_IDENTIFIER: StaticSchema = ( - 19, - n0, - _PIo, - 0, - (_PT, _PA, _IPIn), - ( - (POLICY_IDENTIFIER_POLICY_TYPE, 0), - (ARN_TYPE, 0), - (INLINE_POLICY_IDENTIFIER_TYPE, 0), - ), -) - -POLICY_EXCLUSIONS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _PELT, - 0, - (_me,), - ((POLICY_IDENTIFIER, 0),), -) - -SIMULATE_PRINCIPAL_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _SPPI, - {_sSI: _cSPPR, _s: None}, - (_PSA, _PIL, _PBPIL, _PEL, _ANct, _RA, _RP, _RO, _CA, _CEo, _RHO, _MI, _Ma), - ( - (ARN_TYPE, 1), - (SIMULATION_POLICY_LIST_TYPE, 0), - (SIMULATION_POLICY_LIST_TYPE, 0), - (POLICY_EXCLUSIONS_LIST_TYPE, 0), - (ACTION_NAME_LIST_TYPE, 1), - (RESOURCE_NAME_LIST_TYPE, 0), - (POLICY_DOCUMENT_TYPE, 0), - (RESOURCE_NAME_TYPE, 0), - (RESOURCE_NAME_TYPE, 0), - (CONTEXT_ENTRY_LIST_TYPE, 0), - (RESOURCE_HANDLING_OPTION_TYPE, 0), - (MAX_ITEMS_TYPE, 0), - (MARKER_TYPE, 0), - ), -) - -SIMULATE_PRINCIPAL_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _SPPO, - {_sSI: _cSPR, _smi: None}, - (_ERv, _IT, _Ma), - ( - (EVALUATION_RESULTS_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (RESPONSE_MARKER_TYPE, 0), - ), -) - -SIMULATE_PRINCIPAL_POLICY: StaticOperationSchema = ( - 23, - n0, - _SPP, - 0, - SIMULATE_PRINCIPAL_POLICY_INPUT, - SIMULATE_PRINCIPAL_POLICY_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, POLICY_EVALUATION_EXCEPTION), -) - -TAG_INSTANCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _TIPI, - {_sSI: _cTIPR, _s: None}, - (_IPN, _Ta), - ((INSTANCE_PROFILE_NAME_TYPE, 1), (TAG_LIST_TYPE, 1)), -) - -TAG_INSTANCE_PROFILE_OUTPUT: StaticSchema = (18, n0, _TIPO, {_sSI: _sU, _smi: None}) - -TAG_INSTANCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _TIP, - 0, - TAG_INSTANCE_PROFILE_INPUT, - TAG_INSTANCE_PROFILE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -TAG_MFA_DEVICE_INPUT: StaticSchema = ( - 18, - n0, - _TMFADI, - {_sSI: _cTMFADR, _s: None}, - (_SNer, _Ta), - ((SERIAL_NUMBER_TYPE, 1), (TAG_LIST_TYPE, 1)), -) - -TAG_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _TMFADO, {_sSI: _sU, _smi: None}) - -TAG_MFA_DEVICE: StaticOperationSchema = ( - 23, - n0, - _TMFAD, - 0, - TAG_MFA_DEVICE_INPUT, - TAG_MFA_DEVICE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -TAG_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _TOIDCPI, - {_sSI: _cTOIDCPR, _s: None}, - (_OIDCPA, _Ta), - ((ARN_TYPE, 1), (TAG_LIST_TYPE, 1)), -) - -TAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _TOIDCPO, - {_sSI: _sU, _smi: None}, -) - -TAG_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _TOIDCP, - 0, - TAG_OPEN_ID_CONNECT_PROVIDER_INPUT, - TAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -TAG_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _TPI, - {_sSI: _cTPR, _s: None}, - (_PA, _Ta), - ((ARN_TYPE, 1), (TAG_LIST_TYPE, 1)), -) - -TAG_POLICY_OUTPUT: StaticSchema = (18, n0, _TPO, {_sSI: _sU, _smi: None}) - -TAG_POLICY: StaticOperationSchema = ( - 23, - n0, - _TP, - 0, - TAG_POLICY_INPUT, - TAG_POLICY_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -TAG_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _s: None}, - (_RN, _Ta), - ((ROLE_NAME_TYPE, 1), (TAG_LIST_TYPE, 1)), -) - -TAG_ROLE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smi: None}) - -TAG_ROLE: StaticOperationSchema = ( - 23, - n0, - _TR, - 0, - TAG_ROLE_INPUT, - TAG_ROLE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -TAG_SAML_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _TSAMLPI, - {_sSI: _cTSAMLPR, _s: None}, - (_SAMLPA, _Ta), - ((ARN_TYPE, 1), (TAG_LIST_TYPE, 1)), -) - -TAG_SAML_PROVIDER_OUTPUT: StaticSchema = (18, n0, _TSAMLPO, {_sSI: _sU, _smi: None}) - -TAG_SAML_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _TSAMLP, - 0, - TAG_SAML_PROVIDER_INPUT, - TAG_SAML_PROVIDER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -TAG_SERVER_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _TSCI, - {_sSI: _cTSCR, _s: None}, - (_SCN, _Ta), - ((SERVER_CERTIFICATE_NAME_TYPE, 1), (TAG_LIST_TYPE, 1)), -) - -TAG_SERVER_CERTIFICATE_OUTPUT: StaticSchema = (18, n0, _TSCO, {_sSI: _sU, _smi: None}) - -TAG_SERVER_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _TSC, - 0, - TAG_SERVER_CERTIFICATE_INPUT, - TAG_SERVER_CERTIFICATE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -TAG_USER_INPUT: StaticSchema = ( - 18, - n0, - _TUI, - {_sSI: _cTUR, _s: None}, - (_UN, _Ta), - ((EXISTING_USER_NAME_TYPE, 1), (TAG_LIST_TYPE, 1)), -) - -TAG_USER_OUTPUT: StaticSchema = (18, n0, _TUO, {_sSI: _sU, _smi: None}) - -TAG_USER: StaticOperationSchema = ( - 23, - n0, - _TU, - 0, - TAG_USER_INPUT, - TAG_USER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -TAG_KEY_LIST_TYPE: StaticSchema = (16, n0, _tKLT, 0, (_me,), ((TAG_KEY_TYPE, 0),)) - -UNTAG_INSTANCE_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _UIPI, - {_sSI: _cUIPR, _s: None}, - (_IPN, _TK), - ((INSTANCE_PROFILE_NAME_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), -) - -UNTAG_INSTANCE_PROFILE_OUTPUT: StaticSchema = (18, n0, _UIPO, {_sSI: _sU, _smi: None}) - -UNTAG_INSTANCE_PROFILE: StaticOperationSchema = ( - 23, - n0, - _UIP, - 0, - UNTAG_INSTANCE_PROFILE_INPUT, - UNTAG_INSTANCE_PROFILE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UNTAG_MFA_DEVICE_INPUT: StaticSchema = ( - 18, - n0, - _UMFADI, - {_sSI: _cUMFADR, _s: None}, - (_SNer, _TK), - ((SERIAL_NUMBER_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), -) - -UNTAG_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _UMFADO, {_sSI: _sU, _smi: None}) - -UNTAG_MFA_DEVICE: StaticOperationSchema = ( - 23, - n0, - _UMFAD, - 0, - UNTAG_MFA_DEVICE_INPUT, - UNTAG_MFA_DEVICE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UNTAG_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _UOIDCPI, - {_sSI: _cUOIDCPR, _s: None}, - (_OIDCPA, _TK), - ((ARN_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), -) - -UNTAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _UOIDCPO, - {_sSI: _sU, _smi: None}, -) - -UNTAG_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _UOIDCP, - 0, - UNTAG_OPEN_ID_CONNECT_PROVIDER_INPUT, - UNTAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UNTAG_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _UPI, - {_sSI: _cUPR, _s: None}, - (_PA, _TK), - ((ARN_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), -) - -UNTAG_POLICY_OUTPUT: StaticSchema = (18, n0, _UPO, {_sSI: _sU, _smi: None}) - -UNTAG_POLICY: StaticOperationSchema = ( - 23, - n0, - _UP, - 0, - UNTAG_POLICY_INPUT, - UNTAG_POLICY_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UNTAG_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _s: None}, - (_RN, _TK), - ((ROLE_NAME_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), -) - -UNTAG_ROLE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smi: None}) - -UNTAG_ROLE: StaticOperationSchema = ( - 23, - n0, - _UR, - 0, - UNTAG_ROLE_INPUT, - UNTAG_ROLE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UNTAG_SAML_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _USAMLPI, - {_sSI: _cUSAMLPR, _s: None}, - (_SAMLPA, _TK), - ((ARN_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), -) - -UNTAG_SAML_PROVIDER_OUTPUT: StaticSchema = (18, n0, _USAMLPO, {_sSI: _sU, _smi: None}) - -UNTAG_SAML_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _USAMLP, - 0, - UNTAG_SAML_PROVIDER_INPUT, - UNTAG_SAML_PROVIDER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UNTAG_SERVER_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _USCI, - {_sSI: _cUSCR, _s: None}, - (_SCN, _TK), - ((SERVER_CERTIFICATE_NAME_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), -) - -UNTAG_SERVER_CERTIFICATE_OUTPUT: StaticSchema = (18, n0, _USCO, {_sSI: _sU, _smi: None}) - -UNTAG_SERVER_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _USC, - 0, - UNTAG_SERVER_CERTIFICATE_INPUT, - UNTAG_SERVER_CERTIFICATE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UNTAG_USER_INPUT: StaticSchema = ( - 18, - n0, - _UUI, - {_sSI: _cUUR, _s: None}, - (_UN, _TK), - ((EXISTING_USER_NAME_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), -) - -UNTAG_USER_OUTPUT: StaticSchema = (18, n0, _UUO, {_sSI: _sU, _smi: None}) - -UNTAG_USER: StaticOperationSchema = ( - 23, - n0, - _UU, - 0, - UNTAG_USER_INPUT, - UNTAG_USER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_ACCESS_KEY_INPUT: StaticSchema = ( - 18, - n0, - _UAKI, - {_sSI: _cUAKR, _s: None}, - (_UN, _AKI, _S), - ((EXISTING_USER_NAME_TYPE, 0), (ACCESS_KEY_ID_TYPE, 1), (STATUS_TYPE, 1)), -) - -UPDATE_ACCESS_KEY_OUTPUT: StaticSchema = (18, n0, _UAKO, {_sSI: _sU, _smi: None}) - -UPDATE_ACCESS_KEY: StaticOperationSchema = ( - 23, - n0, - _UAK, - 0, - UPDATE_ACCESS_KEY_INPUT, - UPDATE_ACCESS_KEY_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_ACCOUNT_PASSWORD_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _UAPPI, - {_sSI: _cUAPPR, _s: None}, - (_MPL, _RSe, _RNe, _RUC, _RLC, _AUTCP, _MPA, _PRP, _HE), - ( - (MINIMUM_PASSWORD_LENGTH_TYPE, 0), - (BOOLEAN_TYPE, {_smithy: False}), - (BOOLEAN_TYPE, {_smithy: False}), - (BOOLEAN_TYPE, {_smithy: False}), - (BOOLEAN_TYPE, {_smithy: False}), - (BOOLEAN_TYPE, {_smithy: False}), - (MAX_PASSWORD_AGE_TYPE, 0), - (PASSWORD_REUSE_PREVENTION_TYPE, 0), - (BOOLEAN_OBJECT_TYPE, 0), - ), -) - -UPDATE_ACCOUNT_PASSWORD_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _UAPPO, - {_sSI: _sU, _smi: None}, -) - -UPDATE_ACCOUNT_PASSWORD_POLICY: StaticOperationSchema = ( - 23, - n0, - _UAPP, - 0, - UPDATE_ACCOUNT_PASSWORD_POLICY_INPUT, - UPDATE_ACCOUNT_PASSWORD_POLICY_OUTPUT, - ( - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_ASSUME_ROLE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _UARPI, - {_sSI: _cUARPR, _s: None}, - (_RN, _PD), - ((ROLE_NAME_TYPE, 1), (POLICY_DOCUMENT_TYPE, 1)), -) - -UPDATE_ASSUME_ROLE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _UARPO, - {_sSI: _sU, _smi: None}, -) - -UPDATE_ASSUME_ROLE_POLICY: StaticOperationSchema = ( - 23, - n0, - _UARP, - 0, - UPDATE_ASSUME_ROLE_POLICY_INPUT, - UPDATE_ASSUME_ROLE_POLICY_OUTPUT, - ( - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -UPDATE_DELEGATION_REQUEST_INPUT: StaticSchema = ( - 18, - n0, - _UDRI, - {_sSI: _cUDRR, _s: None}, - (_DRI, _No), - ((DELEGATION_REQUEST_ID_TYPE, 1), (NOTES_TYPE, 0)), -) - -UPDATE_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( - 18, - n0, - _UDRO, - {_sSI: _sU, _smi: None}, -) - -UPDATE_DELEGATION_REQUEST: StaticOperationSchema = ( - 23, - n0, - _UDR, - 0, - UPDATE_DELEGATION_REQUEST_INPUT, - UPDATE_DELEGATION_REQUEST_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _UGI, - {_sSI: _cUGR, _s: None}, - (_GN, _NPe, _NGN), - ((GROUP_NAME_TYPE, 1), (PATH_TYPE, 0), (GROUP_NAME_TYPE, 0)), -) - -UPDATE_GROUP_OUTPUT: StaticSchema = (18, n0, _UGO, {_sSI: _sU, _smi: None}) - -UPDATE_GROUP: StaticOperationSchema = ( - 23, - n0, - _UG, - 0, - UPDATE_GROUP_INPUT, - UPDATE_GROUP_OUTPUT, - ( - ENTITY_ALREADY_EXISTS_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_LOGIN_PROFILE_INPUT: StaticSchema = ( - 18, - n0, - _ULPI, - {_sSI: _cULPR, _s: None}, - (_UN, _Pas, _PRR), - ((USER_NAME_TYPE, 1), (PASSWORD_TYPE, 0), (BOOLEAN_OBJECT_TYPE, 0)), -) - -UPDATE_LOGIN_PROFILE_OUTPUT: StaticSchema = (18, n0, _ULPO, {_sSI: _sU, _smi: None}) - -UPDATE_LOGIN_PROFILE: StaticOperationSchema = ( - 23, - n0, - _ULP, - 0, - UPDATE_LOGIN_PROFILE_INPUT, - UPDATE_LOGIN_PROFILE_OUTPUT, - ( - ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - PASSWORD_POLICY_VIOLATION_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_INPUT: StaticSchema = ( - 18, - n0, - _UOIDCPTI, - {_sSI: _cUOIDCPTR, _s: None}, - (_OIDCPA, _TL), - ((ARN_TYPE, 1), (THUMBPRINT_LIST_TYPE, 1)), -) - -UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_OUTPUT: StaticSchema = ( - 18, - n0, - _UOIDCPTO, - {_sSI: _sU, _smi: None}, -) - -UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT: StaticOperationSchema = ( - 23, - n0, - _UOIDCPT, - 0, - UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_INPUT, - UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _URIp, - {_sSI: _cURRo, _s: None}, - (_RN, _D, _MSD), - ( - (ROLE_NAME_TYPE, 1), - (ROLE_DESCRIPTION_TYPE, 0), - (ROLE_MAX_SESSION_DURATION_TYPE, 0), - ), -) - -UPDATE_ROLE_OUTPUT: StaticSchema = (18, n0, _UROp, {_sSI: _cURRom, _smi: None}) - -UPDATE_ROLE: StaticOperationSchema = ( - 23, - n0, - _URp, - 0, - UPDATE_ROLE_INPUT, - UPDATE_ROLE_OUTPUT, - ( - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -UPDATE_ROLE_DESCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _URDI, - {_sSI: _cURDR, _s: None}, - (_RN, _D), - ((ROLE_NAME_TYPE, 1), (ROLE_DESCRIPTION_TYPE, 1)), -) - -UPDATE_ROLE_DESCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _URDO, - {_sSI: _cURDRo, _smi: None}, - (_Ro,), - ((ROLE, 0),), -) - -UPDATE_ROLE_DESCRIPTION: StaticOperationSchema = ( - 23, - n0, - _URD, - 0, - UPDATE_ROLE_DESCRIPTION_INPUT, - UPDATE_ROLE_DESCRIPTION_OUTPUT, - ( - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - UNMODIFIABLE_ENTITY_EXCEPTION, - ), -) - -UPDATE_SAML_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _USAMLPIp, - {_sSI: _cUSAMLPRo, _s: None}, - (_SAMLMD, _SAMLPA, _AEM, _APK, _RPK), - ( - (SAML_METADATA_DOCUMENT_TYPE, 0), - (ARN_TYPE, 1), - (ASSERTION_ENCRYPTION_MODE_TYPE, 0), - (PRIVATE_KEY_TYPE, 0), - (PRIVATE_KEY_ID_TYPE, 0), - ), -) - -UPDATE_SAML_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _USAMLPOp, - {_sSI: _cUSAMLPRom, _smi: None}, - (_SAMLPA,), - ((ARN_TYPE, 0),), -) - -UPDATE_SAML_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _USAMLPp, - 0, - UPDATE_SAML_PROVIDER_INPUT, - UPDATE_SAML_PROVIDER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_SERVER_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _USCIp, - {_sSI: _cUSCRo, _s: None}, - (_SCN, _NPe, _NSCN), - ( - (SERVER_CERTIFICATE_NAME_TYPE, 1), - (PATH_TYPE, 0), - (SERVER_CERTIFICATE_NAME_TYPE, 0), - ), -) - -UPDATE_SERVER_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _USCOp, - {_sSI: _sU, _smi: None}, -) - -UPDATE_SERVER_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _USCp, - 0, - UPDATE_SERVER_CERTIFICATE_INPUT, - UPDATE_SERVER_CERTIFICATE_OUTPUT, - ( - ENTITY_ALREADY_EXISTS_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT: StaticSchema = ( - 18, - n0, - _USSCI, - {_sSI: _cUSSCR, _s: None}, - (_UN, _SSCI, _S), - ((USER_NAME_TYPE, 0), (SERVICE_SPECIFIC_CREDENTIAL_ID, 1), (STATUS_TYPE, 1)), -) - -UPDATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT: StaticSchema = ( - 18, - n0, - _USSCO, - {_sSI: _sU, _smi: None}, -) - -UPDATE_SERVICE_SPECIFIC_CREDENTIAL: StaticOperationSchema = ( - 23, - n0, - _USSC, - 0, - UPDATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT, - UPDATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT, - (NO_SUCH_ENTITY_EXCEPTION,), -) - -UPDATE_SIGNING_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _USCIpd, - {_sSI: _cUSCRom, _s: None}, - (_UN, _CI, _S), - ((EXISTING_USER_NAME_TYPE, 0), (CERTIFICATE_ID_TYPE, 1), (STATUS_TYPE, 1)), -) - -UPDATE_SIGNING_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _USCOpd, - {_sSI: _sU, _smi: None}, -) - -UPDATE_SIGNING_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _USCpd, - 0, - UPDATE_SIGNING_CERTIFICATE_INPUT, - UPDATE_SIGNING_CERTIFICATE_OUTPUT, - ( - INVALID_INPUT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -UPDATE_SSH_PUBLIC_KEY_INPUT: StaticSchema = ( - 18, - n0, - _USSHPKI, - {_sSI: _cUSSHPKR, _s: None}, - (_UN, _SSHPKI, _S), - ((USER_NAME_TYPE, 1), (PUBLIC_KEY_ID_TYPE, 1), (STATUS_TYPE, 1)), -) - -UPDATE_SSH_PUBLIC_KEY_OUTPUT: StaticSchema = (18, n0, _USSHPKO, {_sSI: _sU, _smi: None}) - -UPDATE_SSH_PUBLIC_KEY: StaticOperationSchema = ( - 23, - n0, - _USSHPK, - 0, - UPDATE_SSH_PUBLIC_KEY_INPUT, - UPDATE_SSH_PUBLIC_KEY_OUTPUT, - (INVALID_INPUT_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION), -) - -UPDATE_USER_INPUT: StaticSchema = ( - 18, - n0, - _UUIp, - {_sSI: _cUURo, _s: None}, - (_UN, _NPe, _NUN), - ((EXISTING_USER_NAME_TYPE, 1), (PATH_TYPE, 0), (USER_NAME_TYPE, 0)), -) - -UPDATE_USER_OUTPUT: StaticSchema = (18, n0, _UUOp, {_sSI: _sU, _smi: None}) - -UPDATE_USER: StaticOperationSchema = ( - 23, - n0, - _UUp, - 0, - UPDATE_USER_INPUT, - UPDATE_USER_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -KEY_PAIR_MISMATCH_MESSAGE: StaticSchema = (3, n0, _kPMM, 0) - -KEY_PAIR_MISMATCH_EXCEPTION: StaticSchema = ( - 18, - n0, - _KPME, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KeyPairMismatch", "httpResponseCode": 400}), - }, - (_m,), - ((KEY_PAIR_MISMATCH_MESSAGE, 0),), -) - -MALFORMED_CERTIFICATE_MESSAGE: StaticSchema = (3, n0, _mCM, 0) - -MALFORMED_CERTIFICATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _MCE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "MalformedCertificate", "httpResponseCode": 400} - ), - }, - (_m,), - ((MALFORMED_CERTIFICATE_MESSAGE, 0),), -) - -UPLOAD_SERVER_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _USCIpl, - {_sSI: _cUSCRoma, _s: None}, - (_Pa, _SCN, _CB, _PK, _CC, _Ta), - ( - (PATH_TYPE, 0), - (SERVER_CERTIFICATE_NAME_TYPE, 1), - (CERTIFICATE_BODY_TYPE, 1), - (PRIVATE_KEY_TYPE, 1), - (CERTIFICATE_CHAIN_TYPE, 0), - (TAG_LIST_TYPE, 0), - ), -) - -UPLOAD_SERVER_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _USCOpl, - {_sSI: _cUSCRomam, _smi: None}, - (_SCM, _Ta), - ((SERVER_CERTIFICATE_METADATA, 0), (TAG_LIST_TYPE, 0)), -) - -UPLOAD_SERVER_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _USCpl, - 0, - UPLOAD_SERVER_CERTIFICATE_INPUT, - UPLOAD_SERVER_CERTIFICATE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_INPUT_EXCEPTION, - KEY_PAIR_MISMATCH_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_CERTIFICATE_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DUPLICATE_CERTIFICATE_MESSAGE: StaticSchema = (3, n0, _dCMu, 0) - -DUPLICATE_CERTIFICATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _DCEu, - { - _smit: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "DuplicateCertificate", "httpResponseCode": 409} - ), - }, - (_m,), - ((DUPLICATE_CERTIFICATE_MESSAGE, 0),), -) - -INVALID_CERTIFICATE_MESSAGE: StaticSchema = (3, n0, _iCM, 0) - -INVALID_CERTIFICATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ICE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidCertificate", "httpResponseCode": 400}), - }, - (_m,), - ((INVALID_CERTIFICATE_MESSAGE, 0),), -) - -UPLOAD_SIGNING_CERTIFICATE_INPUT: StaticSchema = ( - 18, - n0, - _USCIplo, - {_sSI: _cUSCRomama, _s: None}, - (_UN, _CB), - ((EXISTING_USER_NAME_TYPE, 0), (CERTIFICATE_BODY_TYPE, 1)), -) - -UPLOAD_SIGNING_CERTIFICATE_OUTPUT: StaticSchema = ( - 18, - n0, - _USCOplo, - {_sSI: _cUSCRomamaz, _smi: None}, - (_Cert,), - ((SIGNING_CERTIFICATE, 1),), -) - -UPLOAD_SIGNING_CERTIFICATE: StaticOperationSchema = ( - 23, - n0, - _USCplo, - 0, - UPLOAD_SIGNING_CERTIFICATE_INPUT, - UPLOAD_SIGNING_CERTIFICATE_OUTPUT, - ( - CONCURRENT_MODIFICATION_EXCEPTION, - DUPLICATE_CERTIFICATE_EXCEPTION, - ENTITY_ALREADY_EXISTS_EXCEPTION, - INVALID_CERTIFICATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_CERTIFICATE_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - ), -) - -DUPLICATE_SSH_PUBLIC_KEY_MESSAGE: StaticSchema = (3, n0, _dSSHPKM, 0) - -DUPLICATE_SSH_PUBLIC_KEY_EXCEPTION: StaticSchema = ( - 18, - n0, - _DSSHPKE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DuplicateSSHPublicKey", "httpResponseCode": 400} - ), - }, - (_m,), - ((DUPLICATE_SSH_PUBLIC_KEY_MESSAGE, 0),), -) - -INVALID_PUBLIC_KEY_MESSAGE: StaticSchema = (3, n0, _iPKM, 0) - -INVALID_PUBLIC_KEY_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPKE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidPublicKey", "httpResponseCode": 400}), - }, - (_m,), - ((INVALID_PUBLIC_KEY_MESSAGE, 0),), -) - -UPLOAD_SSH_PUBLIC_KEY_INPUT: StaticSchema = ( - 18, - n0, - _USSHPKIp, - {_sSI: _cUSSHPKRo, _s: None}, - (_UN, _SSHPKB), - ((USER_NAME_TYPE, 1), (PUBLIC_KEY_MATERIAL_TYPE, 1)), -) - -UPLOAD_SSH_PUBLIC_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _USSHPKOp, - {_sSI: _cUSSHPKRom, _smi: None}, - (_SSHPK,), - ((SSH_PUBLIC_KEY, 0),), -) - -UPLOAD_SSH_PUBLIC_KEY: StaticOperationSchema = ( - 23, - n0, - _USSHPKp, - 0, - UPLOAD_SSH_PUBLIC_KEY_INPUT, - UPLOAD_SSH_PUBLIC_KEY_OUTPUT, - ( - DUPLICATE_SSH_PUBLIC_KEY_EXCEPTION, - INVALID_PUBLIC_KEY_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NO_SUCH_ENTITY_EXCEPTION, - UNRECOGNIZED_PUBLIC_KEY_ENCODING_EXCEPTION, - ), -) - -AWS_IDENTITY_MANAGEMENT_V20100508: StaticSchema = ( - 21, - n0, - _AWSIMV, - { - _aw: MappingProxyType({"name": "iam"}), - _aQ: None, - _aws: MappingProxyType( - { - "sdkId": "IAM", - "arnNamespace": "iam", - "cloudFormationName": "IAM", - "cloudTrailEventSource": "iam.amazonaws.com", - "endpointPrefix": "iam", - } - ), - _sNm: MappingProxyType({"uri": "https://iam.amazonaws.com/doc/2010-05-08/"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "DELEGATION_REQUEST_ID_TYPE", + "ACCEPT_DELEGATION_REQUEST_INPUT", + "ACCEPT_DELEGATION_REQUEST_OUTPUT", + "ACCEPT_DELEGATION_REQUEST", + "CONCURRENT_MODIFICATION_MESSAGE", + "CONCURRENT_MODIFICATION_EXCEPTION", + "NO_SUCH_ENTITY_MESSAGE", + "NO_SUCH_ENTITY_EXCEPTION", + "SERVICE_FAILURE_EXCEPTION_MESSAGE", + "SERVICE_FAILURE_EXCEPTION", + "ACCESS_ADVISOR_USAGE_GRANULARITY_TYPE", + "DATE_TYPE", + "STRING_TYPE", + "SERVICE_NAME_TYPE", + "SERVICE_NAMESPACE_TYPE", + "INTEGER_TYPE", + "ACCESS_DETAIL", + "ACCESS_DETAILS", + "ACCESS_KEY_ID_TYPE", + "ACCESS_KEY_SECRET_TYPE", + "STATUS_TYPE", + "USER_NAME_TYPE", + "ACCESS_KEY", + "ACCESS_KEY_LAST_USED", + "ACCESS_KEY_METADATA", + "ACCESS_KEY_METADATA_LIST_TYPE", + "ACCOUNT_ALIAS_TYPE", + "ACCOUNT_ALIAS_LIST_TYPE", + "ACCOUNT_ID_TYPE", + "EXCEPTION_MESSAGE", + "ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION", + "ACCOUNT_PROPERTY_KEY_TYPE", + "ACCOUNT_PROPERTY_VALUE_TYPE", + "ACCOUNT_PROPERTIES_MAP_TYPE", + "REPLACEMENT_VALUE_LIST_TYPE", + "REPLACEMENT_VALUE_ENTRY", + "MAP_STRING_REPLACEMENT_VALUE_ENTRY", + "ARN_TYPE", + "ACQUIRE_ROLE_INPUT", + "ACQUIRE_ROLE_OUTPUT", + "ACQUIRE_ROLE", + "POLICY_DOCUMENT_TYPE", + "ROLE_DESCRIPTION_TYPE", + "ROLE_MAX_SESSION_DURATION_TYPE", + "PATH_TYPE", + "PERMISSIONS_BOUNDARY_ATTACHMENT_TYPE", + "ATTACHED_PERMISSIONS_BOUNDARY", + "ID_TYPE", + "ROLE_LAST_USED", + "ROLE_NAME_TYPE", + "SOURCE_ROLE_TEMPLATE", + "TAG_KEY_TYPE", + "TAG_VALUE_TYPE", + "TAG", + "TAG_LIST_TYPE", + "ROLE", + "ENTITY_ALREADY_EXISTS_MESSAGE", + "ENTITY_ALREADY_EXISTS_EXCEPTION", + "INVALID_INPUT_MESSAGE", + "INVALID_INPUT_EXCEPTION", + "LIMIT_EXCEEDED_MESSAGE", + "LIMIT_EXCEEDED_EXCEPTION", + "MALFORMED_POLICY_DOCUMENT_MESSAGE", + "MALFORMED_POLICY_DOCUMENT_EXCEPTION", + "NAME_CONFLICT_MESSAGE", + "NAME_CONFLICT_EXCEPTION", + "ROLE_MODIFIED_MESSAGE", + "ROLE_MODIFIED_EXCEPTION", + "ROLE_TEMPLATE_DISABLED_MESSAGE", + "ROLE_TEMPLATE_DISABLED_EXCEPTION", + "ACTION_NAME_TYPE", + "ACTION_NAME_LIST_TYPE", + "CLIENT_ID_TYPE", + "ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_INPUT", + "ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_OUTPUT", + "ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER", + "INSTANCE_PROFILE_NAME_TYPE", + "ADD_ROLE_TO_INSTANCE_PROFILE_INPUT", + "ADD_ROLE_TO_INSTANCE_PROFILE_OUTPUT", + "ADD_ROLE_TO_INSTANCE_PROFILE", + "UNMODIFIABLE_ENTITY_MESSAGE", + "UNMODIFIABLE_ENTITY_EXCEPTION", + "GROUP_NAME_TYPE", + "EXISTING_USER_NAME_TYPE", + "ADD_USER_TO_GROUP_INPUT", + "ADD_USER_TO_GROUP_OUTPUT", + "ADD_USER_TO_GROUP", + "ALL_USERS", + "ARN_LIST_TYPE", + "ASSERTION_ENCRYPTION_MODE_TYPE", + "ASSIGNMENT_STATUS_TYPE", + "ASSOCIATE_DELEGATION_REQUEST_INPUT", + "ASSOCIATE_DELEGATION_REQUEST_OUTPUT", + "ASSOCIATE_DELEGATION_REQUEST", + "POLICY_NAME_TYPE", + "ATTACHED_POLICY", + "ATTACHED_POLICIES_LIST_TYPE", + "ATTACH_GROUP_POLICY_INPUT", + "ATTACH_GROUP_POLICY_OUTPUT", + "ATTACH_GROUP_POLICY", + "POLICY_NOT_ATTACHABLE_MESSAGE", + "POLICY_NOT_ATTACHABLE_EXCEPTION", + "ATTACHMENT_COUNT_TYPE", + "ATTACHMENT_NAME", + "ATTACHMENT_TYPE", + "ATTACH_ROLE_POLICY_INPUT", + "ATTACH_ROLE_POLICY_OUTPUT", + "ATTACH_ROLE_POLICY", + "ATTACH_USER_POLICY_INPUT", + "ATTACH_USER_POLICY_OUTPUT", + "ATTACH_USER_POLICY", + "AUTHENTICATION_CODE_TYPE", + "PASSWORD_TYPE", + "CHANGE_PASSWORD_INPUT", + "CHANGE_PASSWORD_OUTPUT", + "CHANGE_PASSWORD", + "POLICY_VERSION_ID_TYPE", + "PRIVATE_KEY_TYPE", + "SAML_METADATA_DOCUMENT_TYPE", + "SERVICE_SPECIFIC_CREDENTIAL_ID", + "USER", + "SERIAL_NUMBER_TYPE", + "SERVER_CERTIFICATE_NAME_TYPE", + "DELETION_TASK_ID_TYPE", + "CERTIFICATE_ID_TYPE", + ), + ( + "ENTITY_TEMPORARILY_UNMODIFIABLE_MESSAGE", + "ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION", + "INVALID_USER_TYPE_MESSAGE", + "INVALID_USER_TYPE_EXCEPTION", + "PASSWORD_POLICY_VIOLATION_MESSAGE", + "PASSWORD_POLICY_VIOLATION_EXCEPTION", + "CREATE_ACCESS_KEY_INPUT", + "CREATE_ACCESS_KEY_OUTPUT", + "CREATE_ACCESS_KEY", + "CREATE_ACCOUNT_ALIAS_INPUT", + "CREATE_ACCOUNT_ALIAS_OUTPUT", + "CREATE_ACCOUNT_ALIAS", + "DELEGATION_REQUEST_DESCRIPTION_TYPE", + "NOTIFICATION_CHANNEL_TYPE", + "BOOLEAN_TYPE", + "POLICY_PARAMETER_NAME_TYPE", + "POLICY_PARAMETER_TYPE_ENUM", + "POLICY_PARAMETER_VALUE_TYPE", + "POLICY_PARAMETER_VALUES_LIST_TYPE", + "POLICY_PARAMETER", + "POLICY_PARAMETER_LIST_TYPE", + "DELEGATION_PERMISSION", + "REDIRECT_URL_TYPE", + "REQUEST_MESSAGE_TYPE", + "REQUESTOR_WORKFLOW_ID_TYPE", + "SESSION_DURATION_TYPE", + "CREATE_DELEGATION_REQUEST_INPUT", + "CREATE_DELEGATION_REQUEST_OUTPUT", + "CREATE_DELEGATION_REQUEST", + "CONSOLE_DEEP_LINK_TYPE", + "CREATE_GROUP_INPUT", + "CREATE_GROUP_OUTPUT", + "CREATE_GROUP", + "GROUP", + "CREATE_INSTANCE_PROFILE_INPUT", + "CREATE_INSTANCE_PROFILE_OUTPUT", + "CREATE_INSTANCE_PROFILE", + "ROLE_LIST_TYPE", + "INSTANCE_PROFILE", + "CREATE_LOGIN_PROFILE_INPUT", + "CREATE_LOGIN_PROFILE_OUTPUT", + "CREATE_LOGIN_PROFILE", + "LOGIN_PROFILE", + "CLIENT_ID_LIST_TYPE", + "THUMBPRINT_TYPE", + "THUMBPRINT_LIST_TYPE", + "OPEN_ID_CONNECT_PROVIDER_URL_TYPE", + "CREATE_OPEN_ID_CONNECT_PROVIDER_INPUT", + "CREATE_OPEN_ID_CONNECT_PROVIDER_OUTPUT", + "CREATE_OPEN_ID_CONNECT_PROVIDER", + "OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION_MESSAGE", + "OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION", + "POLICY_DESCRIPTION_TYPE", + "POLICY_PATH_TYPE", + "CREATE_POLICY_INPUT", + "CREATE_POLICY_OUTPUT", + "CREATE_POLICY", + "POLICY", + "CREATE_POLICY_VERSION_INPUT", + "CREATE_POLICY_VERSION_OUTPUT", + "CREATE_POLICY_VERSION", + "POLICY_VERSION", + "CREATE_ROLE_INPUT", + "CREATE_ROLE_OUTPUT", + "CREATE_ROLE", + "SAML_PROVIDER_NAME_TYPE", + "CREATE_SAML_PROVIDER_INPUT", + "CREATE_SAML_PROVIDER_OUTPUT", + "CREATE_SAML_PROVIDER", + "CUSTOM_SUFFIX_TYPE", + "CREATE_SERVICE_LINKED_ROLE_INPUT", + "CREATE_SERVICE_LINKED_ROLE_OUTPUT", + "CREATE_SERVICE_LINKED_ROLE", + "CREDENTIAL_AGE_DAYS", + "SERVICE_NAME", + "CREATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT", + "CREATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT", + "CREATE_SERVICE_SPECIFIC_CREDENTIAL", + "SERVICE_CREDENTIAL_ALIAS", + "SERVICE_CREDENTIAL_SECRET", + "SERVICE_PASSWORD", + "SERVICE_USER_NAME", + "SERVICE_SPECIFIC_CREDENTIAL", + "SERVICE_NOT_SUPPORTED_MESSAGE", + "SERVICE_NOT_SUPPORTED_EXCEPTION", + "CREATE_USER_INPUT", + "CREATE_USER_OUTPUT", + "CREATE_USER", + "BOOLEAN_OBJECT_TYPE", + "USER_LIST_TYPE", + "POLICY_OWNER_ENTITY_TYPE", + "POLICY_NAME_LIST_TYPE", + "PATH_PREFIX_TYPE", + ), + ( + "VIRTUAL_MFA_DEVICE_NAME", + "CREATE_VIRTUAL_MFA_DEVICE_INPUT", + "CREATE_VIRTUAL_MFA_DEVICE_OUTPUT", + "CREATE_VIRTUAL_MFA_DEVICE", + "BOOTSTRAP_DATUM", + "VIRTUAL_MFA_DEVICE", + "DEACTIVATE_MFA_DEVICE_INPUT", + "DEACTIVATE_MFA_DEVICE_OUTPUT", + "DEACTIVATE_MFA_DEVICE", + "DELETE_ACCESS_KEY_INPUT", + "DELETE_ACCESS_KEY_OUTPUT", + "DELETE_ACCESS_KEY", + "DELETE_ACCOUNT_ALIAS_INPUT", + "DELETE_ACCOUNT_ALIAS_OUTPUT", + "DELETE_ACCOUNT_ALIAS", + "DELETE_ACCOUNT_PASSWORD_POLICY_INPUT", + "DELETE_ACCOUNT_PASSWORD_POLICY_OUTPUT", + "DELETE_ACCOUNT_PASSWORD_POLICY", + "DELETE_CONFLICT_MESSAGE", + "DELETE_CONFLICT_EXCEPTION", + "DELETE_GROUP_INPUT", + "DELETE_GROUP_OUTPUT", + "DELETE_GROUP", + "DELETE_GROUP_POLICY_INPUT", + "DELETE_GROUP_POLICY_OUTPUT", + "DELETE_GROUP_POLICY", + "DELETE_INSTANCE_PROFILE_INPUT", + "DELETE_INSTANCE_PROFILE_OUTPUT", + "DELETE_INSTANCE_PROFILE", + "DELETE_LOGIN_PROFILE_INPUT", + "DELETE_LOGIN_PROFILE_OUTPUT", + "DELETE_LOGIN_PROFILE", + "DELETE_OPEN_ID_CONNECT_PROVIDER_INPUT", + "DELETE_OPEN_ID_CONNECT_PROVIDER_OUTPUT", + "DELETE_OPEN_ID_CONNECT_PROVIDER", + "DELETE_POLICY_INPUT", + "DELETE_POLICY_OUTPUT", + "DELETE_POLICY", + "DELETE_POLICY_VERSION_INPUT", + "DELETE_POLICY_VERSION_OUTPUT", + "DELETE_POLICY_VERSION", + "DELETE_ROLE_INPUT", + "DELETE_ROLE_OUTPUT", + "DELETE_ROLE", + "DELETE_ROLE_PERMISSIONS_BOUNDARY_INPUT", + "DELETE_ROLE_PERMISSIONS_BOUNDARY_OUTPUT", + "DELETE_ROLE_PERMISSIONS_BOUNDARY", + "DELETE_ROLE_POLICY_INPUT", + "DELETE_ROLE_POLICY_OUTPUT", + "DELETE_ROLE_POLICY", + "DELETE_SAML_PROVIDER_INPUT", + "DELETE_SAML_PROVIDER_OUTPUT", + "DELETE_SAML_PROVIDER", + "DELETE_SERVER_CERTIFICATE_INPUT", + "DELETE_SERVER_CERTIFICATE_OUTPUT", + "DELETE_SERVER_CERTIFICATE", + "DELETE_SERVICE_LINKED_ROLE_INPUT", + "DELETE_SERVICE_LINKED_ROLE_OUTPUT", + "DELETE_SERVICE_LINKED_ROLE", + "DELETE_SERVICE_SPECIFIC_CREDENTIAL_INPUT", + "DELETE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT", + "DELETE_SERVICE_SPECIFIC_CREDENTIAL", + "DELETE_SIGNING_CERTIFICATE_INPUT", + "DELETE_SIGNING_CERTIFICATE_OUTPUT", + "DELETE_SIGNING_CERTIFICATE", + "DELETE_SSH_PUBLIC_KEY_INPUT", + "DELETE_SSH_PUBLIC_KEY_OUTPUT", + "DELETE_SSH_PUBLIC_KEY", + "DELETE_USER_INPUT", + "DELETE_USER_OUTPUT", + "DELETE_USER", + "DELETE_USER_PERMISSIONS_BOUNDARY_INPUT", + "DELETE_USER_PERMISSIONS_BOUNDARY_OUTPUT", + "DELETE_USER_PERMISSIONS_BOUNDARY", + "DELETE_USER_POLICY_INPUT", + "DELETE_USER_POLICY_OUTPUT", + "DELETE_USER_POLICY", + "DELETE_VIRTUAL_MFA_DEVICE_INPUT", + "DELETE_VIRTUAL_MFA_DEVICE_OUTPUT", + "DELETE_VIRTUAL_MFA_DEVICE", + "DETACH_GROUP_POLICY_INPUT", + "DETACH_GROUP_POLICY_OUTPUT", + "DETACH_GROUP_POLICY", + "DETACH_ROLE_POLICY_INPUT", + "DETACH_ROLE_POLICY_OUTPUT", + "DETACH_ROLE_POLICY", + "DETACH_USER_POLICY_INPUT", + "DETACH_USER_POLICY_OUTPUT", + "DETACH_USER_POLICY", + "DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT", + "DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT", + "DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT", + "FEATURE_TYPE", + "FEATURES_LIST_TYPE", + "ORGANIZATION_ID_TYPE", + "ORGANIZATION_NOT_FOUND_EXCEPTION", + "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION", + "SERVICE_ACCESS_NOT_ENABLED_EXCEPTION", + ), + ( + "ORGANIZATIONS_ENTITY_PATH_TYPE", + "DISABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT", + "DISABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT", + "DISABLE_ORGANIZATIONS_ROOT_SESSIONS", + "DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT", + "DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT", + "DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION", + "FEATURE_DISABLED_MESSAGE", + "FEATURE_DISABLED_EXCEPTION", + "ENABLE_MFA_DEVICE_INPUT", + "ENABLE_MFA_DEVICE_OUTPUT", + "ENABLE_MFA_DEVICE", + "INVALID_AUTHENTICATION_CODE_MESSAGE", + "INVALID_AUTHENTICATION_CODE_EXCEPTION", + "CALLER_IS_NOT_MANAGEMENT_ACCOUNT_EXCEPTION", + "ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT", + "ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT", + "ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT", + "ENABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT", + "ENABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT", + "ENABLE_ORGANIZATIONS_ROOT_SESSIONS", + "ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT", + "ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT", + "ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION", + "FEATURE_ENABLED_MESSAGE", + "FEATURE_ENABLED_EXCEPTION", + "GENERATE_CREDENTIAL_REPORT_INPUT", + "GENERATE_CREDENTIAL_REPORT_OUTPUT", + "GENERATE_CREDENTIAL_REPORT", + "REPORT_STATE_DESCRIPTION_TYPE", + "REPORT_STATE_TYPE", + "ORGANIZATIONS_POLICY_ID_TYPE", + "GENERATE_ORGANIZATIONS_ACCESS_REPORT_INPUT", + "GENERATE_ORGANIZATIONS_ACCESS_REPORT_OUTPUT", + "GENERATE_ORGANIZATIONS_ACCESS_REPORT", + "JOB_ID_TYPE", + "REPORT_GENERATION_LIMIT_EXCEEDED_MESSAGE", + "REPORT_GENERATION_LIMIT_EXCEEDED_EXCEPTION", + "GENERATE_SERVICE_LAST_ACCESSED_DETAILS_INPUT", + "GENERATE_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT", + "GENERATE_SERVICE_LAST_ACCESSED_DETAILS", + "GET_ACCESS_KEY_LAST_USED_INPUT", + "GET_ACCESS_KEY_LAST_USED_OUTPUT", + "GET_ACCESS_KEY_LAST_USED", + "ENTITY_TYPE", + "ENTITY_LIST_TYPE", + "MARKER_TYPE", + "MAX_ITEMS_TYPE", + "GET_ACCOUNT_AUTHORIZATION_DETAILS_INPUT", + "GET_ACCOUNT_AUTHORIZATION_DETAILS_OUTPUT", + "GET_ACCOUNT_AUTHORIZATION_DETAILS", + "POLICY_DETAIL", + "POLICY_DETAIL_LIST_TYPE", + "GROUP_DETAIL", + "GROUP_DETAIL_LIST_TYPE", + "RESPONSE_MARKER_TYPE", + "POLICY_DOCUMENT_VERSION_LIST_TYPE", + "MANAGED_POLICY_DETAIL", + "MANAGED_POLICY_DETAIL_LIST_TYPE", + "INSTANCE_PROFILE_LIST_TYPE", + "ROLE_DETAIL", + "ROLE_DETAIL_LIST_TYPE", + "GROUP_NAME_LIST_TYPE", + "USER_DETAIL", + "USER_DETAIL_LIST_TYPE", + "GET_ACCOUNT_PASSWORD_POLICY_INPUT", + "GET_ACCOUNT_PASSWORD_POLICY_OUTPUT", + "GET_ACCOUNT_PASSWORD_POLICY", + "MAX_PASSWORD_AGE_TYPE", + "MINIMUM_PASSWORD_LENGTH_TYPE", + "PASSWORD_REUSE_PREVENTION_TYPE", + "PASSWORD_POLICY", + "GET_ACCOUNT_PROPERTIES_INPUT", + "GET_ACCOUNT_PROPERTIES_OUTPUT", + "GET_ACCOUNT_PROPERTIES", + "GET_ACCOUNT_SUMMARY_INPUT", + "GET_ACCOUNT_SUMMARY_OUTPUT", + "GET_ACCOUNT_SUMMARY", + "SUMMARY_KEY_TYPE", + ), + ( + "SUMMARY_VALUE_TYPE", + "SUMMARY_MAP_TYPE", + "SIMULATION_POLICY_LIST_TYPE", + "GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_INPUT", + "GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_OUTPUT", + "GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY", + "CONTEXT_KEY_NAME_TYPE", + "CONTEXT_KEY_NAMES_RESULT_LIST_TYPE", + "GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_INPUT", + "GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_OUTPUT", + "GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY", + "CREDENTIAL_REPORT_EXPIRED_EXCEPTION_MESSAGE", + "CREDENTIAL_REPORT_EXPIRED_EXCEPTION", + "CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION_MESSAGE", + "CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION", + "CREDENTIAL_REPORT_NOT_READY_EXCEPTION_MESSAGE", + "CREDENTIAL_REPORT_NOT_READY_EXCEPTION", + "GET_CREDENTIAL_REPORT_INPUT", + "GET_CREDENTIAL_REPORT_OUTPUT", + "GET_CREDENTIAL_REPORT", + "REPORT_CONTENT_TYPE", + "REPORT_FORMAT_TYPE", + "GET_DELEGATION_REQUEST_INPUT", + "GET_DELEGATION_REQUEST_OUTPUT", + "GET_DELEGATION_REQUEST", + "NOTES_TYPE", + "OWNER_ID_TYPE", + "PERMISSION_TYPE", + "REQUESTOR_NAME_TYPE", + "ROLE_PERMISSION_RESTRICTION_ARN_LIST_TYPE", + "STATE_TYPE", + "DELEGATION_REQUEST", + "PERMISSION_CHECK_RESULT_TYPE", + "PERMISSION_CHECK_STATUS_TYPE", + "GET_GROUP_INPUT", + "GET_GROUP_OUTPUT", + "GET_GROUP", + "GET_GROUP_POLICY_INPUT", + "GET_GROUP_POLICY_OUTPUT", + "GET_GROUP_POLICY", + "LOCALE_TYPE", + "GET_HUMAN_READABLE_SUMMARY_INPUT", + "GET_HUMAN_READABLE_SUMMARY_OUTPUT", + "GET_HUMAN_READABLE_SUMMARY", + "SUMMARY_CONTENT_TYPE", + "SUMMARY_STATE_TYPE", + "GET_INSTANCE_PROFILE_INPUT", + "GET_INSTANCE_PROFILE_OUTPUT", + "GET_INSTANCE_PROFILE", + "GET_LOGIN_PROFILE_INPUT", + "GET_LOGIN_PROFILE_OUTPUT", + "GET_LOGIN_PROFILE", + "GET_MFA_DEVICE_INPUT", + "GET_MFA_DEVICE_OUTPUT", + "GET_MFA_DEVICE", + "CERTIFICATION_KEY_TYPE", + "CERTIFICATION_VALUE_TYPE", + "CERTIFICATION_MAP_TYPE", + "GET_OPEN_ID_CONNECT_PROVIDER_INPUT", + "GET_OPEN_ID_CONNECT_PROVIDER_OUTPUT", + "GET_OPEN_ID_CONNECT_PROVIDER", + "SORT_KEY_TYPE", + "GET_ORGANIZATIONS_ACCESS_REPORT_INPUT", + "GET_ORGANIZATIONS_ACCESS_REPORT_OUTPUT", + "GET_ORGANIZATIONS_ACCESS_REPORT", + "ERROR_DETAILS", + "JOB_STATUS_TYPE", + "GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_INPUT", + "GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_OUTPUT", + "GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO", + "GET_POLICY_INPUT", + "GET_POLICY_OUTPUT", + "GET_POLICY", + "GET_POLICY_VERSION_INPUT", + "GET_POLICY_VERSION_OUTPUT", + "GET_POLICY_VERSION", + "GET_ROLE_INPUT", + "GET_ROLE_OUTPUT", + "GET_ROLE", + "GET_ROLE_POLICY_INPUT", + "GET_ROLE_POLICY_OUTPUT", + "GET_ROLE_POLICY", + "MINOR_VERSION_TYPE", + "GET_ROLE_TEMPLATE_VERSION_INPUT", + "GET_ROLE_TEMPLATE_VERSION_OUTPUT", + "GET_ROLE_TEMPLATE_VERSION", + ), + ( + "PUBLIC_KEY_ID_TYPE", + "ROLE_TEMPLATE_DESCRIPTION_TYPE", + "INLINE_POLICY", + "INLINE_POLICY_TEMPLATE_LIST_TYPE", + "MANAGED_BY_TYPE_TYPE", + "MANAGED_BY_VALUE_TYPE", + "MANAGED_POLICY_ARN_LIST_TYPE", + "PARAMETER_DEFAULT_VALUE_TYPE", + "PARAMETER_DESCRIPTION_TYPE", + "PARAMETER_NAME_TYPE", + "PARAMETER_SUB_TYPE_TYPE", + "PARAMETER_TYPE_TYPE", + "PARAMETER_DEFINITION", + "PARAMETERS_DEFINITION_LIST_TYPE", + "ROLE_DESCRIPTION_PATTERN_TYPE", + "ROLE_NAME_PATTERN_TYPE", + "ROLE_PATH_PATTERN_TYPE", + "TAG_TEMPLATE_KEY_TYPE", + "TAG_TEMPLATE_VALUE_TYPE", + "TAG_TEMPLATE", + "TAG_TEMPLATE_LIST_TYPE", + "ROLE_TEMPLATE_NAME_TYPE", + "ROLE_TEMPLATE_VERSION", + "GET_SAML_PROVIDER_INPUT", + "GET_SAML_PROVIDER_OUTPUT", + "GET_SAML_PROVIDER", + "PRIVATE_KEY_ID_TYPE", + "SAML_PRIVATE_KEY", + "PRIVATE_KEY_LIST", + "GET_SERVER_CERTIFICATE_INPUT", + "GET_SERVER_CERTIFICATE_OUTPUT", + "GET_SERVER_CERTIFICATE", + "CERTIFICATE_BODY_TYPE", + "CERTIFICATE_CHAIN_TYPE", + "SERVER_CERTIFICATE_METADATA", + "SERVER_CERTIFICATE", + "GET_SERVICE_LAST_ACCESSED_DETAILS_INPUT", + "GET_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT", + "GET_SERVICE_LAST_ACCESSED_DETAILS", + "TRACKED_ACTION_LAST_ACCESSED", + "TRACKED_ACTIONS_LAST_ACCESSED", + "SERVICE_LAST_ACCESSED", + "SERVICES_LAST_ACCESSED", + "GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_INPUT", + "GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_OUTPUT", + "GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES", + "ENTITY_INFO", + "ENTITY_DETAILS", + "ENTITY_DETAILS_LIST_TYPE", + "GET_SERVICE_LINKED_ROLE_DELETION_STATUS_INPUT", + "GET_SERVICE_LINKED_ROLE_DELETION_STATUS_OUTPUT", + "GET_SERVICE_LINKED_ROLE_DELETION_STATUS", + "REASON_TYPE", + "REGION_NAME_TYPE", + "ROLE_USAGE_TYPE", + "ROLE_USAGE_LIST_TYPE", + "DELETION_TASK_FAILURE_REASON_TYPE", + "DELETION_TASK_STATUS_TYPE", + "ENCODING_TYPE", + "GET_SSH_PUBLIC_KEY_INPUT", + "GET_SSH_PUBLIC_KEY_OUTPUT", + "GET_SSH_PUBLIC_KEY", + "PUBLIC_KEY_FINGERPRINT_TYPE", + "PUBLIC_KEY_MATERIAL_TYPE", + "SSH_PUBLIC_KEY", + "UNRECOGNIZED_PUBLIC_KEY_ENCODING_MESSAGE", + "UNRECOGNIZED_PUBLIC_KEY_ENCODING_EXCEPTION", + "GET_USER_INPUT", + "GET_USER_OUTPUT", + "GET_USER", + "GET_USER_POLICY_INPUT", + "GET_USER_POLICY_OUTPUT", + "GET_USER_POLICY", + "LIST_ACCESS_KEYS_INPUT", + "LIST_ACCESS_KEYS_OUTPUT", + "LIST_ACCESS_KEYS", + "LIST_ACCOUNT_ALIASES_INPUT", + "LIST_ACCOUNT_ALIASES_OUTPUT", + "LIST_ACCOUNT_ALIASES", + "LIST_ATTACHED_GROUP_POLICIES_INPUT", + "LIST_ATTACHED_GROUP_POLICIES_OUTPUT", + "LIST_ATTACHED_GROUP_POLICIES", + "SIGNING_CERTIFICATE", + ), + ( + "LIST_ATTACHED_ROLE_POLICIES_INPUT", + "LIST_ATTACHED_ROLE_POLICIES_OUTPUT", + "LIST_ATTACHED_ROLE_POLICIES", + "LIST_ATTACHED_USER_POLICIES_INPUT", + "LIST_ATTACHED_USER_POLICIES_OUTPUT", + "LIST_ATTACHED_USER_POLICIES", + "LIST_DELEGATION_REQUESTS_INPUT", + "LIST_DELEGATION_REQUESTS_OUTPUT", + "LIST_DELEGATION_REQUESTS", + "DELEGATION_REQUESTS_LIST_TYPE", + "POLICY_USAGE_TYPE", + "LIST_ENTITIES_FOR_POLICY_INPUT", + "LIST_ENTITIES_FOR_POLICY_OUTPUT", + "LIST_ENTITIES_FOR_POLICY", + "POLICY_GROUP", + "POLICY_GROUP_LIST_TYPE", + "POLICY_ROLE", + "POLICY_ROLE_LIST_TYPE", + "POLICY_USER", + "POLICY_USER_LIST_TYPE", + "LIST_GROUP_POLICIES_INPUT", + "LIST_GROUP_POLICIES_OUTPUT", + "LIST_GROUP_POLICIES", + "LIST_GROUPS_INPUT", + "LIST_GROUPS_OUTPUT", + "LIST_GROUPS", + "GROUP_LIST_TYPE", + "LIST_GROUPS_FOR_USER_INPUT", + "LIST_GROUPS_FOR_USER_OUTPUT", + "LIST_GROUPS_FOR_USER", + "LIST_INSTANCE_PROFILES_INPUT", + "LIST_INSTANCE_PROFILES_OUTPUT", + "LIST_INSTANCE_PROFILES", + "LIST_INSTANCE_PROFILES_FOR_ROLE_INPUT", + "LIST_INSTANCE_PROFILES_FOR_ROLE_OUTPUT", + "LIST_INSTANCE_PROFILES_FOR_ROLE", + "LIST_INSTANCE_PROFILE_TAGS_INPUT", + "LIST_INSTANCE_PROFILE_TAGS_OUTPUT", + "LIST_INSTANCE_PROFILE_TAGS", + "LIST_MFA_DEVICES_INPUT", + "LIST_MFA_DEVICES_OUTPUT", + "LIST_MFA_DEVICES", + "MFA_DEVICE", + "MFA_DEVICE_LIST_TYPE", + "LIST_MFA_DEVICE_TAGS_INPUT", + "LIST_MFA_DEVICE_TAGS_OUTPUT", + "LIST_MFA_DEVICE_TAGS", + "LIST_OPEN_ID_CONNECT_PROVIDERS_INPUT", + "LIST_OPEN_ID_CONNECT_PROVIDERS_OUTPUT", + "LIST_OPEN_ID_CONNECT_PROVIDERS", + "OPEN_ID_CONNECT_PROVIDER_LIST_ENTRY", + "OPEN_ID_CONNECT_PROVIDER_LIST_TYPE", + "LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_INPUT", + "LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_OUTPUT", + "LIST_OPEN_ID_CONNECT_PROVIDER_TAGS", + "LIST_ORGANIZATIONS_FEATURES_INPUT", + "LIST_ORGANIZATIONS_FEATURES_OUTPUT", + "LIST_ORGANIZATIONS_FEATURES", + "POLICY_SCOPE_TYPE", + "LIST_POLICIES_INPUT", + "LIST_POLICIES_OUTPUT", + "LIST_POLICIES", + "POLICY_LIST_TYPE", + "SERVICE_NAMESPACE_LIST_TYPE", + "LIST_POLICIES_GRANTING_SERVICE_ACCESS_INPUT", + "LIST_POLICIES_GRANTING_SERVICE_ACCESS_OUTPUT", + "LIST_POLICIES_GRANTING_SERVICE_ACCESS", + "ENTITY_NAME_TYPE", + "POLICY_TYPE", + "POLICY_GRANTING_SERVICE_ACCESS", + "POLICY_GRANTING_SERVICE_ACCESS_LIST_TYPE", + "LIST_POLICIES_GRANTING_SERVICE_ACCESS_ENTRY", + "LIST_POLICY_GRANTING_SERVICE_ACCESS_RESPONSE_LIST_TYPE", + "LIST_POLICY_TAGS_INPUT", + "LIST_POLICY_TAGS_OUTPUT", + "LIST_POLICY_TAGS", + "LIST_POLICY_VERSIONS_INPUT", + "LIST_POLICY_VERSIONS_OUTPUT", + "LIST_POLICY_VERSIONS", + ), + ( + "LIST_ROLE_POLICIES_INPUT", + "LIST_ROLE_POLICIES_OUTPUT", + "LIST_ROLE_POLICIES", + "LIST_ROLES_INPUT", + "LIST_ROLES_OUTPUT", + "LIST_ROLES", + "LIST_ROLE_TAGS_INPUT", + "LIST_ROLE_TAGS_OUTPUT", + "LIST_ROLE_TAGS", + "LIST_SAML_PROVIDERS_INPUT", + "LIST_SAML_PROVIDERS_OUTPUT", + "LIST_SAML_PROVIDERS", + "SAML_PROVIDER_LIST_ENTRY", + "SAML_PROVIDER_LIST_TYPE", + "LIST_SAML_PROVIDER_TAGS_INPUT", + "LIST_SAML_PROVIDER_TAGS_OUTPUT", + "LIST_SAML_PROVIDER_TAGS", + "LIST_SERVER_CERTIFICATES_INPUT", + "LIST_SERVER_CERTIFICATES_OUTPUT", + "LIST_SERVER_CERTIFICATES", + "SERVER_CERTIFICATE_METADATA_LIST_TYPE", + "LIST_SERVER_CERTIFICATE_TAGS_INPUT", + "LIST_SERVER_CERTIFICATE_TAGS_OUTPUT", + "LIST_SERVER_CERTIFICATE_TAGS", + "LIST_SERVICE_SPECIFIC_CREDENTIALS_INPUT", + "LIST_SERVICE_SPECIFIC_CREDENTIALS_OUTPUT", + "LIST_SERVICE_SPECIFIC_CREDENTIALS", + "SERVICE_SPECIFIC_CREDENTIAL_METADATA", + "SERVICE_SPECIFIC_CREDENTIALS_LIST_TYPE", + "LIST_SIGNING_CERTIFICATES_INPUT", + "LIST_SIGNING_CERTIFICATES_OUTPUT", + "LIST_SIGNING_CERTIFICATES", + "CERTIFICATE_LIST_TYPE", + "LIST_SSH_PUBLIC_KEYS_INPUT", + "LIST_SSH_PUBLIC_KEYS_OUTPUT", + "LIST_SSH_PUBLIC_KEYS", + "SSH_PUBLIC_KEY_METADATA", + "SSH_PUBLIC_KEY_LIST_TYPE", + "LIST_USER_POLICIES_INPUT", + "LIST_USER_POLICIES_OUTPUT", + "LIST_USER_POLICIES", + "LIST_USERS_INPUT", + "LIST_USERS_OUTPUT", + "LIST_USERS", + "LIST_USER_TAGS_INPUT", + "LIST_USER_TAGS_OUTPUT", + "LIST_USER_TAGS", + "LIST_VIRTUAL_MFA_DEVICES_INPUT", + "LIST_VIRTUAL_MFA_DEVICES_OUTPUT", + "LIST_VIRTUAL_MFA_DEVICES", + "VIRTUAL_MFA_DEVICE_LIST_TYPE", + "PUT_ACCOUNT_PROPERTIES_INPUT", + "PUT_ACCOUNT_PROPERTIES_OUTPUT", + "PUT_ACCOUNT_PROPERTIES", + "PUT_GROUP_POLICY_INPUT", + "PUT_GROUP_POLICY_OUTPUT", + "PUT_GROUP_POLICY", + "PUT_ROLE_PERMISSIONS_BOUNDARY_INPUT", + "PUT_ROLE_PERMISSIONS_BOUNDARY_OUTPUT", + "PUT_ROLE_PERMISSIONS_BOUNDARY", + "PUT_ROLE_POLICY_INPUT", + "PUT_ROLE_POLICY_OUTPUT", + "PUT_ROLE_POLICY", + "PUT_USER_PERMISSIONS_BOUNDARY_INPUT", + "PUT_USER_PERMISSIONS_BOUNDARY_OUTPUT", + "PUT_USER_PERMISSIONS_BOUNDARY", + "PUT_USER_POLICY_INPUT", + "PUT_USER_POLICY_OUTPUT", + "PUT_USER_POLICY", + "REJECT_DELEGATION_REQUEST_INPUT", + "REJECT_DELEGATION_REQUEST_OUTPUT", + "REJECT_DELEGATION_REQUEST", + "REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_INPUT", + "REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_OUTPUT", + "REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER", + "REMOVE_ROLE_FROM_INSTANCE_PROFILE_INPUT", + "REMOVE_ROLE_FROM_INSTANCE_PROFILE_OUTPUT", + "REMOVE_ROLE_FROM_INSTANCE_PROFILE", + "REMOVE_USER_FROM_GROUP_INPUT", + "REMOVE_USER_FROM_GROUP_OUTPUT", + "REMOVE_USER_FROM_GROUP", + ), + ( + "RESET_SERVICE_SPECIFIC_CREDENTIAL_INPUT", + "RESET_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT", + "RESET_SERVICE_SPECIFIC_CREDENTIAL", + "RESYNC_MFA_DEVICE_INPUT", + "RESYNC_MFA_DEVICE_OUTPUT", + "RESYNC_MFA_DEVICE", + "SEND_DELEGATION_TOKEN_INPUT", + "SEND_DELEGATION_TOKEN_OUTPUT", + "SEND_DELEGATION_TOKEN", + "SET_DEFAULT_POLICY_VERSION_INPUT", + "SET_DEFAULT_POLICY_VERSION_OUTPUT", + "SET_DEFAULT_POLICY_VERSION", + "GLOBAL_ENDPOINT_TOKEN_VERSION", + "SET_SECURITY_TOKEN_SERVICE_PREFERENCES_INPUT", + "SET_SECURITY_TOKEN_SERVICE_PREFERENCES_OUTPUT", + "SET_SECURITY_TOKEN_SERVICE_PREFERENCES", + "POLICY_EVALUATION_ERROR_MESSAGE", + "POLICY_EVALUATION_EXCEPTION", + "RESOURCE_NAME_TYPE", + "CONTEXT_KEY_TYPE_ENUM", + "CONTEXT_KEY_VALUE_TYPE", + "CONTEXT_KEY_VALUE_LIST_TYPE", + "CONTEXT_ENTRY", + "CONTEXT_ENTRY_LIST_TYPE", + "ORDERED_ORGANIZATION_POLICY_TYPE", + "ORGANIZATION_POLICY_LIST_TYPE", + "RESOURCE_NAME_LIST_TYPE", + "RESOURCE_HANDLING_OPTION_TYPE", + "SIMULATE_CUSTOM_POLICY_INPUT", + "SIMULATE_CUSTOM_POLICY_OUTPUT", + "SIMULATE_CUSTOM_POLICY", + "POLICY_EVALUATION_DECISION_TYPE", + "EVAL_DECISION_SOURCE_TYPE", + "EVAL_DECISION_DETAILS_TYPE", + "COLUMN_NUMBER", + "LINE_NUMBER", + "POSITION", + "POLICY_IDENTIFIER_TYPE", + "POLICY_SOURCE_TYPE", + "STATEMENT", + "STATEMENT_LIST_TYPE", + "ORGANIZATIONS_DECISION_DETAIL", + "PERMISSIONS_BOUNDARY_DECISION_DETAIL", + "RESOURCE_SPECIFIC_RESULT", + "RESOURCE_SPECIFIC_RESULT_LIST_TYPE", + "EVALUATION_RESULT", + "EVALUATION_RESULTS_LIST_TYPE", + "INLINE_POLICY_IDENTIFIER_TYPE", + "POLICY_IDENTIFIER_POLICY_TYPE", + "POLICY_IDENTIFIER", + "POLICY_EXCLUSIONS_LIST_TYPE", + "SIMULATE_PRINCIPAL_POLICY_INPUT", + "SIMULATE_PRINCIPAL_POLICY_OUTPUT", + "SIMULATE_PRINCIPAL_POLICY", + "TAG_INSTANCE_PROFILE_INPUT", + "TAG_INSTANCE_PROFILE_OUTPUT", + "TAG_INSTANCE_PROFILE", + "TAG_MFA_DEVICE_INPUT", + "TAG_MFA_DEVICE_OUTPUT", + "TAG_MFA_DEVICE", + "TAG_OPEN_ID_CONNECT_PROVIDER_INPUT", + "TAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT", + "TAG_OPEN_ID_CONNECT_PROVIDER", + "TAG_POLICY_INPUT", + "TAG_POLICY_OUTPUT", + "TAG_POLICY", + "TAG_ROLE_INPUT", + "TAG_ROLE_OUTPUT", + "TAG_ROLE", + "TAG_SAML_PROVIDER_INPUT", + "TAG_SAML_PROVIDER_OUTPUT", + "TAG_SAML_PROVIDER", + "TAG_SERVER_CERTIFICATE_INPUT", + "TAG_SERVER_CERTIFICATE_OUTPUT", + "TAG_SERVER_CERTIFICATE", + "TAG_USER_INPUT", + "TAG_USER_OUTPUT", + "TAG_USER", + "UNTAG_INSTANCE_PROFILE_INPUT", + "UNTAG_INSTANCE_PROFILE_OUTPUT", + "UNTAG_INSTANCE_PROFILE", + ), + ( + "TAG_KEY_LIST_TYPE", + "UNTAG_MFA_DEVICE_INPUT", + "UNTAG_MFA_DEVICE_OUTPUT", + "UNTAG_MFA_DEVICE", + "UNTAG_OPEN_ID_CONNECT_PROVIDER_INPUT", + "UNTAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT", + "UNTAG_OPEN_ID_CONNECT_PROVIDER", + "UNTAG_POLICY_INPUT", + "UNTAG_POLICY_OUTPUT", + "UNTAG_POLICY", + "UNTAG_ROLE_INPUT", + "UNTAG_ROLE_OUTPUT", + "UNTAG_ROLE", + "UNTAG_SAML_PROVIDER_INPUT", + "UNTAG_SAML_PROVIDER_OUTPUT", + "UNTAG_SAML_PROVIDER", + "UNTAG_SERVER_CERTIFICATE_INPUT", + "UNTAG_SERVER_CERTIFICATE_OUTPUT", + "UNTAG_SERVER_CERTIFICATE", + "UNTAG_USER_INPUT", + "UNTAG_USER_OUTPUT", + "UNTAG_USER", + "UPDATE_ACCESS_KEY_INPUT", + "UPDATE_ACCESS_KEY_OUTPUT", + "UPDATE_ACCESS_KEY", + "UPDATE_ACCOUNT_PASSWORD_POLICY_INPUT", + "UPDATE_ACCOUNT_PASSWORD_POLICY_OUTPUT", + "UPDATE_ACCOUNT_PASSWORD_POLICY", + "UPDATE_ASSUME_ROLE_POLICY_INPUT", + "UPDATE_ASSUME_ROLE_POLICY_OUTPUT", + "UPDATE_ASSUME_ROLE_POLICY", + "UPDATE_DELEGATION_REQUEST_INPUT", + "UPDATE_DELEGATION_REQUEST_OUTPUT", + "UPDATE_DELEGATION_REQUEST", + "UPDATE_GROUP_INPUT", + "UPDATE_GROUP_OUTPUT", + "UPDATE_GROUP", + "UPDATE_LOGIN_PROFILE_INPUT", + "UPDATE_LOGIN_PROFILE_OUTPUT", + "UPDATE_LOGIN_PROFILE", + "UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_INPUT", + "UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_OUTPUT", + "UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT", + "UPDATE_ROLE_INPUT", + "UPDATE_ROLE_OUTPUT", + "UPDATE_ROLE", + "UPDATE_ROLE_DESCRIPTION_INPUT", + "UPDATE_ROLE_DESCRIPTION_OUTPUT", + "UPDATE_ROLE_DESCRIPTION", + "UPDATE_SAML_PROVIDER_INPUT", + "UPDATE_SAML_PROVIDER_OUTPUT", + "UPDATE_SAML_PROVIDER", + "UPDATE_SERVER_CERTIFICATE_INPUT", + "UPDATE_SERVER_CERTIFICATE_OUTPUT", + "UPDATE_SERVER_CERTIFICATE", + "UPDATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT", + "UPDATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT", + "UPDATE_SERVICE_SPECIFIC_CREDENTIAL", + "UPDATE_SIGNING_CERTIFICATE_INPUT", + "UPDATE_SIGNING_CERTIFICATE_OUTPUT", + "UPDATE_SIGNING_CERTIFICATE", + "UPDATE_SSH_PUBLIC_KEY_INPUT", + "UPDATE_SSH_PUBLIC_KEY_OUTPUT", + "UPDATE_SSH_PUBLIC_KEY", + "UPDATE_USER_INPUT", + "UPDATE_USER_OUTPUT", + "UPDATE_USER", + "KEY_PAIR_MISMATCH_MESSAGE", + "KEY_PAIR_MISMATCH_EXCEPTION", + "MALFORMED_CERTIFICATE_MESSAGE", + "MALFORMED_CERTIFICATE_EXCEPTION", + "UPLOAD_SERVER_CERTIFICATE_INPUT", + "UPLOAD_SERVER_CERTIFICATE_OUTPUT", + "UPLOAD_SERVER_CERTIFICATE", + "DUPLICATE_CERTIFICATE_MESSAGE", + "DUPLICATE_CERTIFICATE_EXCEPTION", + "INVALID_CERTIFICATE_MESSAGE", + "INVALID_CERTIFICATE_EXCEPTION", + "UPLOAD_SIGNING_CERTIFICATE_INPUT", + "UPLOAD_SIGNING_CERTIFICATE_OUTPUT", + "UPLOAD_SIGNING_CERTIFICATE", + "DUPLICATE_SSH_PUBLIC_KEY_MESSAGE", + "DUPLICATE_SSH_PUBLIC_KEY_EXCEPTION", + "INVALID_PUBLIC_KEY_MESSAGE", + "INVALID_PUBLIC_KEY_EXCEPTION", + "UPLOAD_SSH_PUBLIC_KEY_INPUT", + "UPLOAD_SSH_PUBLIC_KEY_OUTPUT", + "UPLOAD_SSH_PUBLIC_KEY", + "AWS_IDENTITY_MANAGEMENT_V20100508", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_0.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_0.py new file mode 100644 index 000000000..6cba6795c --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_0.py @@ -0,0 +1,1058 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_dRIT = "delegationRequestIdType" +_ADRI = "AcceptDelegationRequestInput" +_sSI = "smithy.synthetic#originalShapeId" +_cADRR = "com.amazonaws.iam#AcceptDelegationRequestRequest" +_s = "smithy.api#input" +_DRI = "DelegationRequestId" +_sm = "smithy.api#required" +_ADRO = "AcceptDelegationRequestOutput" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_CMM = "ConcurrentModificationMessage" +_CME = "ConcurrentModificationException" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_m = "message" +_nSEM = "noSuchEntityMessage" +_NSEE = "NoSuchEntityException" +_sFEM = "serviceFailureExceptionMessage" +_SFE = "ServiceFailureException" +_se = "server" +_ADR = "AcceptDelegationRequest" +_AAUGT = "AccessAdvisorUsageGranularityType" +_SL = "SERVICE_LEVEL" +_sV = "smithy.api#enumValue" +_AL = "ACTION_LEVEL" +_dT = "dateType" +_sT = "stringType" +_sNT = "serviceNameType" +_sNTe = "serviceNamespaceType" +_iT = "integerType" +_AD = "AccessDetail" +_SN = "ServiceName" +_SNe = "ServiceNamespace" +_R = "Region" +_EP = "EntityPath" +_LAT = "LastAuthenticatedTime" +_TAE = "TotalAuthenticatedEntities" +_ADc = "AccessDetails" +_me = "member" +_aKIT = "accessKeyIdType" +_aKST = "accessKeySecretType" +_smith = "smithy.api#sensitive" +_sTt = "statusType" +_A = "Active" +_I = "Inactive" +_E = "Expired" +_uNT = "userNameType" +_AK = "AccessKey" +_UN = "UserName" +_AKI = "AccessKeyId" +_S = "Status" +_SAK = "SecretAccessKey" +_CD = "CreateDate" +_AKLU = "AccessKeyLastUsed" +_LUD = "LastUsedDate" +_AKM = "AccessKeyMetadata" +_aKMLT = "accessKeyMetadataListType" +_aAT = "accountAliasType" +_aALT = "accountAliasListType" +_aIT = "accountIdType" +_EM = "ExceptionMessage" +_ANMODAE = "AccountNotManagementOrDelegatedAdministratorException" +_M = "Message" +_aPKT = "accountPropertyKeyType" +_aPVT = "accountPropertyValueType" +_aPMT = "accountPropertiesMapType" +_k = "key" +_v = "value" +_rVLT = "replacementValueListType" +_RVE = "ReplacementValueEntry" +_V = "Values" +_mSRVE = "mapStringReplacementValueEntry" +_aT = "arnType" +_ARI = "AcquireRoleInput" +_cARR = "com.amazonaws.iam#AcquireRoleRequest" +_TA = "TemplateArn" +_TMV = "TemplateMinorVersion" +_RV = "ReplacementValues" +_pDT = "policyDocumentType" +_rDT = "roleDescriptionType" +_rMSDT = "roleMaxSessionDurationType" +_pT = "pathType" +_PBAT = "PermissionsBoundaryAttachmentType" +_P = "Policy" +_PBP = "PermissionsBoundaryPolicy" +_APB = "AttachedPermissionsBoundary" +_PBT = "PermissionsBoundaryType" +_PBA = "PermissionsBoundaryArn" +_iTd = "idType" +_RLU = "RoleLastUsed" +_rNT = "roleNameType" +_SRT = "SourceRoleTemplate" +_tKT = "tagKeyType" +_tVT = "tagValueType" +_T = "Tag" +_K = "Key" +_Va = "Value" +_tLT = "tagListType" +_Ro = "Role" +_Pa = "Path" +_RN = "RoleName" +_RI = "RoleId" +_Ar = "Arn" +_ARPD = "AssumeRolePolicyDocument" +_D = "Description" +_MSD = "MaxSessionDuration" +_PB = "PermissionsBoundary" +_Ta = "Tags" +_ARO = "AcquireRoleOutput" +_cARRo = "com.amazonaws.iam#AcquireRoleResponse" +_eAEM = "entityAlreadyExistsMessage" +_EAEE = "EntityAlreadyExistsException" +_iIM = "invalidInputMessage" +_IIE = "InvalidInputException" +_lEM = "limitExceededMessage" +_LEE = "LimitExceededException" +_mPDM = "malformedPolicyDocumentMessage" +_MPDE = "MalformedPolicyDocumentException" +_nCM = "nameConflictMessage" +_NCE = "NameConflictException" +_rMM = "roleModifiedMessage" +_RME = "RoleModifiedException" +_rTDM = "roleTemplateDisabledMessage" +_RTDE = "RoleTemplateDisabledException" +_AR = "AcquireRole" +_ANT = "ActionNameType" +_ANLT = "ActionNameListType" +_cIDT = "clientIDType" +_ACIDTOIDCPI = "AddClientIDToOpenIDConnectProviderInput" +_cACIDTOIDCPR = "com.amazonaws.iam#AddClientIDToOpenIDConnectProviderRequest" +_OIDCPA = "OpenIDConnectProviderArn" +_CID = "ClientID" +_ACIDTOIDCPO = "AddClientIDToOpenIDConnectProviderOutput" +_ACIDTOIDCP = "AddClientIDToOpenIDConnectProvider" +_iPNT = "instanceProfileNameType" +_ARTIPI = "AddRoleToInstanceProfileInput" +_cARTIPR = "com.amazonaws.iam#AddRoleToInstanceProfileRequest" +_IPN = "InstanceProfileName" +_ARTIPO = "AddRoleToInstanceProfileOutput" +_uEM = "unmodifiableEntityMessage" +_UEE = "UnmodifiableEntityException" +_ARTIP = "AddRoleToInstanceProfile" +_gNT = "groupNameType" +_eUNT = "existingUserNameType" +_AUTGI = "AddUserToGroupInput" +_cAUTGR = "com.amazonaws.iam#AddUserToGroupRequest" +_GN = "GroupName" +_AUTGO = "AddUserToGroupOutput" +_AUTG = "AddUserToGroup" +_aU = "allUsers" +_ALT = "ArnListType" +_aEMT = "assertionEncryptionModeType" +_Re = "Required" +_Al = "Allowed" +_aST = "assignmentStatusType" +_As = "Assigned" +_U = "Unassigned" +_An = "Any" +_ADRIs = "AssociateDelegationRequestInput" +_cADRRo = "com.amazonaws.iam#AssociateDelegationRequestRequest" +_ADROs = "AssociateDelegationRequestOutput" +_ADRs = "AssociateDelegationRequest" +_pNT = "policyNameType" +_AP = "AttachedPolicy" +_PN = "PolicyName" +_PA = "PolicyArn" +_aPLT = "attachedPoliciesListType" +_AGPI = "AttachGroupPolicyInput" +_cAGPR = "com.amazonaws.iam#AttachGroupPolicyRequest" +_AGPO = "AttachGroupPolicyOutput" +_pNAM = "policyNotAttachableMessage" +_PNAE = "PolicyNotAttachableException" +_AGP = "AttachGroupPolicy" +_aCT = "attachmentCountType" +_AN = "AttachmentName" +_AT = "AttachmentType" +_USER = "USER" +_u = "user" +_GROUP = "GROUP" +_g = "group" +_ROLE = "ROLE" +_r = "role" +_ARPI = "AttachRolePolicyInput" +_cARPR = "com.amazonaws.iam#AttachRolePolicyRequest" +_ARPO = "AttachRolePolicyOutput" +_ARP = "AttachRolePolicy" +_AUPI = "AttachUserPolicyInput" +_cAUPR = "com.amazonaws.iam#AttachUserPolicyRequest" +_AUPO = "AttachUserPolicyOutput" +_AUP = "AttachUserPolicy" +_aCTu = "authenticationCodeType" +_pTa = "passwordType" +_CPI = "ChangePasswordInput" +_cCPR = "com.amazonaws.iam#ChangePasswordRequest" +_OP = "OldPassword" +_NP = "NewPassword" +_CPO = "ChangePasswordOutput" +_CP = "ChangePassword" +_pVIT = "policyVersionIdType" +_pKT = "privateKeyType" +_SAMLMDT = "SAMLMetadataDocumentType" +_sSCI = "serviceSpecificCredentialId" +_Us = "User" +_UI = "UserId" +_PLU = "PasswordLastUsed" +_sNTer = "serialNumberType" +_sCNT = "serverCertificateNameType" +_DTIT = "DeletionTaskIdType" +_cIT = "certificateIdType" + +DELEGATION_REQUEST_ID_TYPE: StaticSchema = (3, n0, _dRIT, 0) + +ACCEPT_DELEGATION_REQUEST_INPUT: StaticSchema = ( + 18, + n0, + _ADRI, + {_sSI: _cADRR, _s: None}, + (_DRI,), + ((DELEGATION_REQUEST_ID_TYPE, 1),), +) + +ACCEPT_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( + 18, + n0, + _ADRO, + {_sSI: _sU, _smi: None}, +) + +ACCEPT_DELEGATION_REQUEST: StaticOperationSchema = ( + 23, + n0, + _ADR, + 0, + ACCEPT_DELEGATION_REQUEST_INPUT, + ACCEPT_DELEGATION_REQUEST_OUTPUT, + ( + lambda: CONCURRENT_MODIFICATION_EXCEPTION, + lambda: NO_SUCH_ENTITY_EXCEPTION, + lambda: SERVICE_FAILURE_EXCEPTION, + ), +) + +CONCURRENT_MODIFICATION_MESSAGE: StaticSchema = (3, n0, _CMM, 0) + +CONCURRENT_MODIFICATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _CME, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "ConcurrentModification", "httpResponseCode": 409} + ), + }, + (_m,), + ((CONCURRENT_MODIFICATION_MESSAGE, 0),), +) + +NO_SUCH_ENTITY_MESSAGE: StaticSchema = (3, n0, _nSEM, 0) + +NO_SUCH_ENTITY_EXCEPTION: StaticSchema = ( + 18, + n0, + _NSEE, + { + _smit: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "NoSuchEntity", "httpResponseCode": 404}), + }, + (_m,), + ((NO_SUCH_ENTITY_MESSAGE, 0),), +) + +SERVICE_FAILURE_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _sFEM, 0) + +SERVICE_FAILURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SFE, + { + _smit: _se, + _sE: 500, + _aQE: MappingProxyType({"code": "ServiceFailure", "httpResponseCode": 500}), + }, + (_m,), + ((SERVICE_FAILURE_EXCEPTION_MESSAGE, 0),), +) + +ACCESS_ADVISOR_USAGE_GRANULARITY_TYPE: StaticSchema = ( + 14, + n0, + _AAUGT, + 0, + (_SL, _AL), + ((-1, {_sV: _SL}), (-1, {_sV: _AL})), +) + +DATE_TYPE: StaticSchema = (4, n0, _dT, 0) + +STRING_TYPE: StaticSchema = (3, n0, _sT, 0) + +SERVICE_NAME_TYPE: StaticSchema = (3, n0, _sNT, 0) + +SERVICE_NAMESPACE_TYPE: StaticSchema = (3, n0, _sNTe, 0) + +INTEGER_TYPE: StaticSchema = (7, n0, _iT, 0) + +ACCESS_DETAIL: StaticSchema = ( + 18, + n0, + _AD, + 0, + (_SN, _SNe, _R, _EP, _LAT, _TAE), + ( + (SERVICE_NAME_TYPE, 1), + (SERVICE_NAMESPACE_TYPE, 1), + (STRING_TYPE, 0), + (lambda: schemas.ORGANIZATIONS_ENTITY_PATH_TYPE, 0), + (DATE_TYPE, 0), + (INTEGER_TYPE, 0), + ), +) + +ACCESS_DETAILS: StaticSchema = (16, n0, _ADc, 0, (_me,), ((ACCESS_DETAIL, 0),)) + +ACCESS_KEY_ID_TYPE: StaticSchema = (3, n0, _aKIT, 0) + +ACCESS_KEY_SECRET_TYPE: StaticSchema = (3, n0, _aKST, 4) + +STATUS_TYPE: StaticSchema = ( + 14, + n0, + _sTt, + 0, + (_A, _I, _E), + ((-1, {_sV: _A}), (-1, {_sV: _I}), (-1, {_sV: _E})), +) + +USER_NAME_TYPE: StaticSchema = (3, n0, _uNT, 0) + +ACCESS_KEY: StaticSchema = ( + 18, + n0, + _AK, + 0, + (_UN, _AKI, _S, _SAK, _CD), + ( + (USER_NAME_TYPE, 1), + (ACCESS_KEY_ID_TYPE, 1), + (STATUS_TYPE, 1), + (ACCESS_KEY_SECRET_TYPE, 1), + (DATE_TYPE, 0), + ), +) + +ACCESS_KEY_LAST_USED: StaticSchema = ( + 18, + n0, + _AKLU, + 0, + (_LUD, _SN, _R), + ((DATE_TYPE, 0), (STRING_TYPE, 1), (STRING_TYPE, 1)), +) + +ACCESS_KEY_METADATA: StaticSchema = ( + 18, + n0, + _AKM, + 0, + (_UN, _AKI, _S, _CD), + ((USER_NAME_TYPE, 0), (ACCESS_KEY_ID_TYPE, 0), (STATUS_TYPE, 0), (DATE_TYPE, 0)), +) + +ACCESS_KEY_METADATA_LIST_TYPE: StaticSchema = ( + 16, + n0, + _aKMLT, + 0, + (_me,), + ((ACCESS_KEY_METADATA, 0),), +) + +ACCOUNT_ALIAS_TYPE: StaticSchema = (3, n0, _aAT, 0) + +ACCOUNT_ALIAS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _aALT, + 0, + (_me,), + ((ACCOUNT_ALIAS_TYPE, 0),), +) + +ACCOUNT_ID_TYPE: StaticSchema = (3, n0, _aIT, 0) + +EXCEPTION_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION: StaticSchema = ( + 18, + n0, + _ANMODAE, + {_smit: _c, _sE: 400}, + (_M,), + ((EXCEPTION_MESSAGE, 0),), +) + +ACCOUNT_PROPERTY_KEY_TYPE: StaticSchema = (3, n0, _aPKT, 0) + +ACCOUNT_PROPERTY_VALUE_TYPE: StaticSchema = (3, n0, _aPVT, 0) + +ACCOUNT_PROPERTIES_MAP_TYPE: StaticSchema = ( + 17, + n0, + _aPMT, + 0, + (_k, _v), + ((ACCOUNT_PROPERTY_KEY_TYPE, 0), (ACCOUNT_PROPERTY_VALUE_TYPE, 0)), +) + +REPLACEMENT_VALUE_LIST_TYPE: StaticSchema = ( + 16, + n0, + _rVLT, + 0, + (_me,), + ((STRING_TYPE, 0),), +) + +REPLACEMENT_VALUE_ENTRY: StaticSchema = ( + 18, + n0, + _RVE, + 0, + (_V,), + ((REPLACEMENT_VALUE_LIST_TYPE, 1),), +) + +MAP_STRING_REPLACEMENT_VALUE_ENTRY: StaticSchema = ( + 17, + n0, + _mSRVE, + 0, + (_k, _v), + ((STRING_TYPE, 0), (REPLACEMENT_VALUE_ENTRY, 0)), +) + +ARN_TYPE: StaticSchema = (3, n0, _aT, 0) + +ACQUIRE_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _ARI, + {_sSI: _cARR, _s: None}, + (_TA, _TMV, _RV), + ((ARN_TYPE, 1), (INTEGER_TYPE, 0), (MAP_STRING_REPLACEMENT_VALUE_ENTRY, 0)), +) + +ACQUIRE_ROLE_OUTPUT: StaticSchema = ( + 18, + n0, + _ARO, + {_sSI: _cARRo, _smi: None}, + (_Ro,), + ((lambda: ROLE, 1),), +) + +ACQUIRE_ROLE: StaticOperationSchema = ( + 23, + n0, + _AR, + 0, + ACQUIRE_ROLE_INPUT, + ACQUIRE_ROLE_OUTPUT, + ( + CONCURRENT_MODIFICATION_EXCEPTION, + lambda: ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: INVALID_INPUT_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + lambda: MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: NAME_CONFLICT_EXCEPTION, + NO_SUCH_ENTITY_EXCEPTION, + lambda: ROLE_MODIFIED_EXCEPTION, + lambda: ROLE_TEMPLATE_DISABLED_EXCEPTION, + SERVICE_FAILURE_EXCEPTION, + ), +) + +POLICY_DOCUMENT_TYPE: StaticSchema = (3, n0, _pDT, 0) + +ROLE_DESCRIPTION_TYPE: StaticSchema = (3, n0, _rDT, 0) + +ROLE_MAX_SESSION_DURATION_TYPE: StaticSchema = (7, n0, _rMSDT, 0) + +PATH_TYPE: StaticSchema = (3, n0, _pT, 0) + +PERMISSIONS_BOUNDARY_ATTACHMENT_TYPE: StaticSchema = ( + 14, + n0, + _PBAT, + 0, + (_P,), + ((-1, {_sV: _PBP}),), +) + +ATTACHED_PERMISSIONS_BOUNDARY: StaticSchema = ( + 18, + n0, + _APB, + 0, + (_PBT, _PBA), + ((PERMISSIONS_BOUNDARY_ATTACHMENT_TYPE, 0), (ARN_TYPE, 0)), +) + +ID_TYPE: StaticSchema = (3, n0, _iTd, 0) + +ROLE_LAST_USED: StaticSchema = ( + 18, + n0, + _RLU, + 0, + (_LUD, _R), + ((DATE_TYPE, 0), (STRING_TYPE, 0)), +) + +ROLE_NAME_TYPE: StaticSchema = (3, n0, _rNT, 0) + +SOURCE_ROLE_TEMPLATE: StaticSchema = ( + 18, + n0, + _SRT, + 0, + (_TA, _TMV), + ((ARN_TYPE, 1), (INTEGER_TYPE, 1)), +) + +TAG_KEY_TYPE: StaticSchema = (3, n0, _tKT, 0) + +TAG_VALUE_TYPE: StaticSchema = (3, n0, _tVT, 0) + +TAG: StaticSchema = (18, n0, _T, 0, (_K, _Va), ((TAG_KEY_TYPE, 1), (TAG_VALUE_TYPE, 1))) + +TAG_LIST_TYPE: StaticSchema = (16, n0, _tLT, 0, (_me,), ((TAG, 0),)) + +ROLE: StaticSchema = ( + 18, + n0, + _Ro, + 0, + (_Pa, _RN, _RI, _Ar, _CD, _ARPD, _D, _MSD, _PB, _Ta, _RLU, _SRT), + ( + (PATH_TYPE, 1), + (ROLE_NAME_TYPE, 1), + (ID_TYPE, 1), + (ARN_TYPE, 1), + (DATE_TYPE, 1), + (POLICY_DOCUMENT_TYPE, 0), + (ROLE_DESCRIPTION_TYPE, 0), + (ROLE_MAX_SESSION_DURATION_TYPE, 0), + (ATTACHED_PERMISSIONS_BOUNDARY, 0), + (TAG_LIST_TYPE, 0), + (ROLE_LAST_USED, 0), + (SOURCE_ROLE_TEMPLATE, 0), + ), +) + +ENTITY_ALREADY_EXISTS_MESSAGE: StaticSchema = (3, n0, _eAEM, 0) + +ENTITY_ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _EAEE, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "EntityAlreadyExists", "httpResponseCode": 409} + ), + }, + (_m,), + ((ENTITY_ALREADY_EXISTS_MESSAGE, 0),), +) + +INVALID_INPUT_MESSAGE: StaticSchema = (3, n0, _iIM, 0) + +INVALID_INPUT_EXCEPTION: StaticSchema = ( + 18, + n0, + _IIE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidInput", "httpResponseCode": 400}), + }, + (_m,), + ((INVALID_INPUT_MESSAGE, 0),), +) + +LIMIT_EXCEEDED_MESSAGE: StaticSchema = (3, n0, _lEM, 0) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType({"code": "LimitExceeded", "httpResponseCode": 409}), + }, + (_m,), + ((LIMIT_EXCEEDED_MESSAGE, 0),), +) + +MALFORMED_POLICY_DOCUMENT_MESSAGE: StaticSchema = (3, n0, _mPDM, 0) + +MALFORMED_POLICY_DOCUMENT_EXCEPTION: StaticSchema = ( + 18, + n0, + _MPDE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "MalformedPolicyDocument", "httpResponseCode": 400} + ), + }, + (_m,), + ((MALFORMED_POLICY_DOCUMENT_MESSAGE, 0),), +) + +NAME_CONFLICT_MESSAGE: StaticSchema = (3, n0, _nCM, 0) + +NAME_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _NCE, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType({"code": "NameConflict", "httpResponseCode": 409}), + }, + (_m,), + ((NAME_CONFLICT_MESSAGE, 0),), +) + +ROLE_MODIFIED_MESSAGE: StaticSchema = (3, n0, _rMM, 0) + +ROLE_MODIFIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _RME, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType({"code": "RoleModified", "httpResponseCode": 409}), + }, + (_m,), + ((ROLE_MODIFIED_MESSAGE, 0),), +) + +ROLE_TEMPLATE_DISABLED_MESSAGE: StaticSchema = (3, n0, _rTDM, 0) + +ROLE_TEMPLATE_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _RTDE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "RoleTemplateDisabled", "httpResponseCode": 400} + ), + }, + (_m,), + ((ROLE_TEMPLATE_DISABLED_MESSAGE, 0),), +) + +ACTION_NAME_TYPE: StaticSchema = (3, n0, _ANT, 0) + +ACTION_NAME_LIST_TYPE: StaticSchema = ( + 16, + n0, + _ANLT, + 0, + (_me,), + ((ACTION_NAME_TYPE, 0),), +) + +CLIENT_ID_TYPE: StaticSchema = (3, n0, _cIDT, 0) + +ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _ACIDTOIDCPI, + {_sSI: _cACIDTOIDCPR, _s: None}, + (_OIDCPA, _CID), + ((ARN_TYPE, 1), (CLIENT_ID_TYPE, 1)), +) + +ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _ACIDTOIDCPO, + {_sSI: _sU, _smi: None}, +) + +ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _ACIDTOIDCP, + 0, + ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_INPUT, + ADD_CLIENT_ID_TO_OPEN_ID_CONNECT_PROVIDER_OUTPUT, + ( + CONCURRENT_MODIFICATION_EXCEPTION, + INVALID_INPUT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NO_SUCH_ENTITY_EXCEPTION, + SERVICE_FAILURE_EXCEPTION, + ), +) + +INSTANCE_PROFILE_NAME_TYPE: StaticSchema = (3, n0, _iPNT, 0) + +ADD_ROLE_TO_INSTANCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _ARTIPI, + {_sSI: _cARTIPR, _s: None}, + (_IPN, _RN), + ((INSTANCE_PROFILE_NAME_TYPE, 1), (ROLE_NAME_TYPE, 1)), +) + +ADD_ROLE_TO_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _ARTIPO, + {_sSI: _sU, _smi: None}, +) + +ADD_ROLE_TO_INSTANCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _ARTIP, + 0, + ADD_ROLE_TO_INSTANCE_PROFILE_INPUT, + ADD_ROLE_TO_INSTANCE_PROFILE_OUTPUT, + ( + ENTITY_ALREADY_EXISTS_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NO_SUCH_ENTITY_EXCEPTION, + SERVICE_FAILURE_EXCEPTION, + lambda: UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +UNMODIFIABLE_ENTITY_MESSAGE: StaticSchema = (3, n0, _uEM, 0) + +UNMODIFIABLE_ENTITY_EXCEPTION: StaticSchema = ( + 18, + n0, + _UEE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "UnmodifiableEntity", "httpResponseCode": 400}), + }, + (_m,), + ((UNMODIFIABLE_ENTITY_MESSAGE, 0),), +) + +GROUP_NAME_TYPE: StaticSchema = (3, n0, _gNT, 0) + +EXISTING_USER_NAME_TYPE: StaticSchema = (3, n0, _eUNT, 0) + +ADD_USER_TO_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _AUTGI, + {_sSI: _cAUTGR, _s: None}, + (_GN, _UN), + ((GROUP_NAME_TYPE, 1), (EXISTING_USER_NAME_TYPE, 1)), +) + +ADD_USER_TO_GROUP_OUTPUT: StaticSchema = (18, n0, _AUTGO, {_sSI: _sU, _smi: None}) + +ADD_USER_TO_GROUP: StaticOperationSchema = ( + 23, + n0, + _AUTG, + 0, + ADD_USER_TO_GROUP_INPUT, + ADD_USER_TO_GROUP_OUTPUT, + (LIMIT_EXCEEDED_EXCEPTION, NO_SUCH_ENTITY_EXCEPTION, SERVICE_FAILURE_EXCEPTION), +) + +ALL_USERS: StaticSchema = (2, n0, _aU, 0) + +ARN_LIST_TYPE: StaticSchema = (16, n0, _ALT, 0, (_me,), ((ARN_TYPE, 0),)) + +ASSERTION_ENCRYPTION_MODE_TYPE: StaticSchema = ( + 14, + n0, + _aEMT, + 0, + (_Re, _Al), + ((-1, {_sV: _Re}), (-1, {_sV: _Al})), +) + +ASSIGNMENT_STATUS_TYPE: StaticSchema = ( + 14, + n0, + _aST, + 0, + (_As, _U, _An), + ((-1, {_sV: _As}), (-1, {_sV: _U}), (-1, {_sV: _An})), +) + +ASSOCIATE_DELEGATION_REQUEST_INPUT: StaticSchema = ( + 18, + n0, + _ADRIs, + {_sSI: _cADRRo, _s: None}, + (_DRI,), + ((DELEGATION_REQUEST_ID_TYPE, 1),), +) + +ASSOCIATE_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( + 18, + n0, + _ADROs, + {_sSI: _sU, _smi: None}, +) + +ASSOCIATE_DELEGATION_REQUEST: StaticOperationSchema = ( + 23, + n0, + _ADRs, + 0, + ASSOCIATE_DELEGATION_REQUEST_INPUT, + ASSOCIATE_DELEGATION_REQUEST_OUTPUT, + ( + CONCURRENT_MODIFICATION_EXCEPTION, + INVALID_INPUT_EXCEPTION, + NO_SUCH_ENTITY_EXCEPTION, + SERVICE_FAILURE_EXCEPTION, + ), +) + +POLICY_NAME_TYPE: StaticSchema = (3, n0, _pNT, 0) + +ATTACHED_POLICY: StaticSchema = ( + 18, + n0, + _AP, + 0, + (_PN, _PA), + ((POLICY_NAME_TYPE, 0), (ARN_TYPE, 0)), +) + +ATTACHED_POLICIES_LIST_TYPE: StaticSchema = ( + 16, + n0, + _aPLT, + 0, + (_me,), + ((ATTACHED_POLICY, 0),), +) + +ATTACH_GROUP_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _AGPI, + {_sSI: _cAGPR, _s: None}, + (_GN, _PA), + ((GROUP_NAME_TYPE, 1), (ARN_TYPE, 1)), +) + +ATTACH_GROUP_POLICY_OUTPUT: StaticSchema = (18, n0, _AGPO, {_sSI: _sU, _smi: None}) + +ATTACH_GROUP_POLICY: StaticOperationSchema = ( + 23, + n0, + _AGP, + 0, + ATTACH_GROUP_POLICY_INPUT, + ATTACH_GROUP_POLICY_OUTPUT, + ( + INVALID_INPUT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NO_SUCH_ENTITY_EXCEPTION, + lambda: POLICY_NOT_ATTACHABLE_EXCEPTION, + SERVICE_FAILURE_EXCEPTION, + ), +) + +POLICY_NOT_ATTACHABLE_MESSAGE: StaticSchema = (3, n0, _pNAM, 0) + +POLICY_NOT_ATTACHABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _PNAE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "PolicyNotAttachable", "httpResponseCode": 400} + ), + }, + (_m,), + ((POLICY_NOT_ATTACHABLE_MESSAGE, 0),), +) + +ATTACHMENT_COUNT_TYPE: StaticSchema = (7, n0, _aCT, 0) + +ATTACHMENT_NAME: StaticSchema = (3, n0, _AN, 0) + +ATTACHMENT_TYPE: StaticSchema = ( + 14, + n0, + _AT, + 0, + (_USER, _GROUP, _ROLE), + ((-1, {_sV: _u}), (-1, {_sV: _g}), (-1, {_sV: _r})), +) + +ATTACH_ROLE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _ARPI, + {_sSI: _cARPR, _s: None}, + (_RN, _PA), + ((ROLE_NAME_TYPE, 1), (ARN_TYPE, 1)), +) + +ATTACH_ROLE_POLICY_OUTPUT: StaticSchema = (18, n0, _ARPO, {_sSI: _sU, _smi: None}) + +ATTACH_ROLE_POLICY: StaticOperationSchema = ( + 23, + n0, + _ARP, + 0, + ATTACH_ROLE_POLICY_INPUT, + ATTACH_ROLE_POLICY_OUTPUT, + ( + INVALID_INPUT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NO_SUCH_ENTITY_EXCEPTION, + POLICY_NOT_ATTACHABLE_EXCEPTION, + SERVICE_FAILURE_EXCEPTION, + UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +ATTACH_USER_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _AUPI, + {_sSI: _cAUPR, _s: None}, + (_UN, _PA), + ((USER_NAME_TYPE, 1), (ARN_TYPE, 1)), +) + +ATTACH_USER_POLICY_OUTPUT: StaticSchema = (18, n0, _AUPO, {_sSI: _sU, _smi: None}) + +ATTACH_USER_POLICY: StaticOperationSchema = ( + 23, + n0, + _AUP, + 0, + ATTACH_USER_POLICY_INPUT, + ATTACH_USER_POLICY_OUTPUT, + ( + INVALID_INPUT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NO_SUCH_ENTITY_EXCEPTION, + POLICY_NOT_ATTACHABLE_EXCEPTION, + SERVICE_FAILURE_EXCEPTION, + ), +) + +AUTHENTICATION_CODE_TYPE: StaticSchema = (3, n0, _aCTu, 0) + +PASSWORD_TYPE: StaticSchema = (3, n0, _pTa, 4) + +CHANGE_PASSWORD_INPUT: StaticSchema = ( + 18, + n0, + _CPI, + {_sSI: _cCPR, _s: None}, + (_OP, _NP), + ((PASSWORD_TYPE, 1), (PASSWORD_TYPE, 1)), +) + +CHANGE_PASSWORD_OUTPUT: StaticSchema = (18, n0, _CPO, {_sSI: _sU, _smi: None}) + +CHANGE_PASSWORD: StaticOperationSchema = ( + 23, + n0, + _CP, + 0, + CHANGE_PASSWORD_INPUT, + CHANGE_PASSWORD_OUTPUT, + ( + lambda: schemas.ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, + lambda: schemas.INVALID_USER_TYPE_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.PASSWORD_POLICY_VIOLATION_EXCEPTION, + SERVICE_FAILURE_EXCEPTION, + ), +) + +POLICY_VERSION_ID_TYPE: StaticSchema = (3, n0, _pVIT, 0) + +PRIVATE_KEY_TYPE: StaticSchema = (3, n0, _pKT, 4) + +SAML_METADATA_DOCUMENT_TYPE: StaticSchema = (3, n0, _SAMLMDT, 0) + +SERVICE_SPECIFIC_CREDENTIAL_ID: StaticSchema = (3, n0, _sSCI, 0) + +USER: StaticSchema = ( + 18, + n0, + _Us, + 0, + (_Pa, _UN, _UI, _Ar, _CD, _PLU, _PB, _Ta), + ( + (PATH_TYPE, 1), + (USER_NAME_TYPE, 1), + (ID_TYPE, 1), + (ARN_TYPE, 1), + (DATE_TYPE, 1), + (DATE_TYPE, 0), + (ATTACHED_PERMISSIONS_BOUNDARY, 0), + (TAG_LIST_TYPE, 0), + ), +) + +SERIAL_NUMBER_TYPE: StaticSchema = (3, n0, _sNTer, 0) + +SERVER_CERTIFICATE_NAME_TYPE: StaticSchema = (3, n0, _sCNT, 0) + +DELETION_TASK_ID_TYPE: StaticSchema = (3, n0, _DTIT, 0) + +CERTIFICATE_ID_TYPE: StaticSchema = (3, n0, _cIT, 0) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_1.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_1.py new file mode 100644 index 000000000..1a7c173fb --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_1.py @@ -0,0 +1,1059 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_DRI = "DelegationRequestId" +_sm = "smithy.api#required" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_m = "message" +_sV = "smithy.api#enumValue" +_SN = "ServiceName" +_me = "member" +_smith = "smithy.api#sensitive" +_AK = "AccessKey" +_UN = "UserName" +_S = "Status" +_CD = "CreateDate" +_V = "Values" +_P = "Policy" +_Ro = "Role" +_Pa = "Path" +_RN = "RoleName" +_Ar = "Arn" +_ARPD = "AssumeRolePolicyDocument" +_D = "Description" +_MSD = "MaxSessionDuration" +_PB = "PermissionsBoundary" +_Ta = "Tags" +_OIDCPA = "OpenIDConnectProviderArn" +_IPN = "InstanceProfileName" +_GN = "GroupName" +_PN = "PolicyName" +_PA = "PolicyArn" +_USER = "USER" +_GROUP = "GROUP" +_ROLE = "ROLE" +_eTUM = "entityTemporarilyUnmodifiableMessage" +_ETUE = "EntityTemporarilyUnmodifiableException" +_iUTM = "invalidUserTypeMessage" +_IUTE = "InvalidUserTypeException" +_pPVM = "passwordPolicyViolationMessage" +_PPVE = "PasswordPolicyViolationException" +_CAKI = "CreateAccessKeyInput" +_cCAKR = "com.amazonaws.iam#CreateAccessKeyRequest" +_CAKO = "CreateAccessKeyOutput" +_cCAKRo = "com.amazonaws.iam#CreateAccessKeyResponse" +_CAK = "CreateAccessKey" +_CAAI = "CreateAccountAliasInput" +_cCAAR = "com.amazonaws.iam#CreateAccountAliasRequest" +_AA = "AccountAlias" +_CAAO = "CreateAccountAliasOutput" +_CAA = "CreateAccountAlias" +_dRDT = "delegationRequestDescriptionType" +_nCT = "notificationChannelType" +_bT = "booleanType" +_smithy = "smithy.api#default" +_pPNT = "policyParameterNameType" +_PPTE = "PolicyParameterTypeEnum" +_STRING = "STRING" +_st = "string" +_SL_ = "STRING_LIST" +_sL = "stringList" +_pPVT = "policyParameterValueType" +_pPVLT = "policyParameterValuesListType" +_PP = "PolicyParameter" +_N = "Name" +_Ty = "Type" +_pPLT = "policyParameterListType" +_DP = "DelegationPermission" +_PTA = "PolicyTemplateArn" +_Par = "Parameters" +_rUT = "redirectUrlType" +_rMT = "requestMessageType" +_rWIT = "requestorWorkflowIdType" +_sDT = "sessionDurationType" +_CDRI = "CreateDelegationRequestInput" +_cCDRR = "com.amazonaws.iam#CreateDelegationRequestRequest" +_OAI = "OwnerAccountId" +_Pe = "Permissions" +_RM = "RequestMessage" +_RWI = "RequestorWorkflowId" +_RU = "RedirectUrl" +_NC = "NotificationChannel" +_SD = "SessionDuration" +_OSBO = "OnlySendByOwner" +_cDLT = "consoleDeepLinkType" +_CDRO = "CreateDelegationRequestOutput" +_cCDRRo = "com.amazonaws.iam#CreateDelegationRequestResponse" +_CDL = "ConsoleDeepLink" +_CDR = "CreateDelegationRequest" +_CGI = "CreateGroupInput" +_cCGR = "com.amazonaws.iam#CreateGroupRequest" +_G = "Group" +_GI = "GroupId" +_CGO = "CreateGroupOutput" +_cCGRo = "com.amazonaws.iam#CreateGroupResponse" +_CG = "CreateGroup" +_CIPI = "CreateInstanceProfileInput" +_cCIPR = "com.amazonaws.iam#CreateInstanceProfileRequest" +_rLT = "roleListType" +_IP = "InstanceProfile" +_IPI = "InstanceProfileId" +_Rol = "Roles" +_CIPO = "CreateInstanceProfileOutput" +_cCIPRo = "com.amazonaws.iam#CreateInstanceProfileResponse" +_CIP = "CreateInstanceProfile" +_CLPI = "CreateLoginProfileInput" +_cCLPR = "com.amazonaws.iam#CreateLoginProfileRequest" +_Pas = "Password" +_PRR = "PasswordResetRequired" +_LP = "LoginProfile" +_CLPO = "CreateLoginProfileOutput" +_cCLPRo = "com.amazonaws.iam#CreateLoginProfileResponse" +_CLP = "CreateLoginProfile" +_cIDLT = "clientIDListType" +_tT = "thumbprintType" +_tLTh = "thumbprintListType" +_OIDCPUT = "OpenIDConnectProviderUrlType" +_COIDCPI = "CreateOpenIDConnectProviderInput" +_cCOIDCPR = "com.amazonaws.iam#CreateOpenIDConnectProviderRequest" +_Ur = "Url" +_CIDL = "ClientIDList" +_TL = "ThumbprintList" +_COIDCPO = "CreateOpenIDConnectProviderOutput" +_cCOIDCPRo = "com.amazonaws.iam#CreateOpenIDConnectProviderResponse" +_oIICEEM = "openIdIdpCommunicationErrorExceptionMessage" +_OIICEE = "OpenIdIdpCommunicationErrorException" +_COIDCP = "CreateOpenIDConnectProvider" +_pDTo = "policyDescriptionType" +_pPT = "policyPathType" +_CPIr = "CreatePolicyInput" +_cCPRo = "com.amazonaws.iam#CreatePolicyRequest" +_PD = "PolicyDocument" +_PI = "PolicyId" +_DVI = "DefaultVersionId" +_AC = "AttachmentCount" +_PBUC = "PermissionsBoundaryUsageCount" +_IA = "IsAttachable" +_UD = "UpdateDate" +_CPOr = "CreatePolicyOutput" +_cCPRom = "com.amazonaws.iam#CreatePolicyResponse" +_CPr = "CreatePolicy" +_CPVI = "CreatePolicyVersionInput" +_cCPVR = "com.amazonaws.iam#CreatePolicyVersionRequest" +_SAD = "SetAsDefault" +_PV = "PolicyVersion" +_Do = "Document" +_VI = "VersionId" +_IDV = "IsDefaultVersion" +_CPVO = "CreatePolicyVersionOutput" +_cCPVRo = "com.amazonaws.iam#CreatePolicyVersionResponse" +_CPV = "CreatePolicyVersion" +_CRI = "CreateRoleInput" +_cCRR = "com.amazonaws.iam#CreateRoleRequest" +_CRO = "CreateRoleOutput" +_cCRRo = "com.amazonaws.iam#CreateRoleResponse" +_CR = "CreateRole" +_SAMLPNT = "SAMLProviderNameType" +_CSAMLPI = "CreateSAMLProviderInput" +_cCSAMLPR = "com.amazonaws.iam#CreateSAMLProviderRequest" +_SAMLMD = "SAMLMetadataDocument" +_AEM = "AssertionEncryptionMode" +_APK = "AddPrivateKey" +_CSAMLPO = "CreateSAMLProviderOutput" +_cCSAMLPRo = "com.amazonaws.iam#CreateSAMLProviderResponse" +_SAMLPA = "SAMLProviderArn" +_CSAMLP = "CreateSAMLProvider" +_cST = "customSuffixType" +_CSLRI = "CreateServiceLinkedRoleInput" +_cCSLRR = "com.amazonaws.iam#CreateServiceLinkedRoleRequest" +_AWSSN = "AWSServiceName" +_CS = "CustomSuffix" +_CSLRO = "CreateServiceLinkedRoleOutput" +_cCSLRRo = "com.amazonaws.iam#CreateServiceLinkedRoleResponse" +_CSLR = "CreateServiceLinkedRole" +_cAD = "credentialAgeDays" +_sN = "serviceName" +_CSSCI = "CreateServiceSpecificCredentialInput" +_cCSSCR = "com.amazonaws.iam#CreateServiceSpecificCredentialRequest" +_CAD = "CredentialAgeDays" +_sCA = "serviceCredentialAlias" +_sCS = "serviceCredentialSecret" +_sP = "servicePassword" +_sUN = "serviceUserName" +_SSC = "ServiceSpecificCredential" +_ED = "ExpirationDate" +_SUN = "ServiceUserName" +_v_ = "" +_SP = "ServicePassword" +_SCA = "ServiceCredentialAlias" +_SCS = "ServiceCredentialSecret" +_SSCI = "ServiceSpecificCredentialId" +_CSSCO = "CreateServiceSpecificCredentialOutput" +_cCSSCRo = "com.amazonaws.iam#CreateServiceSpecificCredentialResponse" +_sNSM = "serviceNotSupportedMessage" +_SNSE = "ServiceNotSupportedException" +_CSSC = "CreateServiceSpecificCredential" +_CUI = "CreateUserInput" +_cCUR = "com.amazonaws.iam#CreateUserRequest" +_Us = "User" +_CUO = "CreateUserOutput" +_cCURo = "com.amazonaws.iam#CreateUserResponse" +_CU = "CreateUser" +_bOT = "booleanObjectType" +_uLT = "userListType" +_pOET = "policyOwnerEntityType" +_pNLT = "policyNameListType" +_pPTa = "pathPrefixType" + +ENTITY_TEMPORARILY_UNMODIFIABLE_MESSAGE: StaticSchema = (3, n0, _eTUM, 0) + +ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ETUE, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "EntityTemporarilyUnmodifiable", "httpResponseCode": 409} + ), + }, + (_m,), + ((ENTITY_TEMPORARILY_UNMODIFIABLE_MESSAGE, 0),), +) + +INVALID_USER_TYPE_MESSAGE: StaticSchema = (3, n0, _iUTM, 0) + +INVALID_USER_TYPE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IUTE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidUserType", "httpResponseCode": 400}), + }, + (_m,), + ((INVALID_USER_TYPE_MESSAGE, 0),), +) + +PASSWORD_POLICY_VIOLATION_MESSAGE: StaticSchema = (3, n0, _pPVM, 0) + +PASSWORD_POLICY_VIOLATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _PPVE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "PasswordPolicyViolation", "httpResponseCode": 400} + ), + }, + (_m,), + ((PASSWORD_POLICY_VIOLATION_MESSAGE, 0),), +) + +CREATE_ACCESS_KEY_INPUT: StaticSchema = ( + 18, + n0, + _CAKI, + {_sSI: _cCAKR, _s: None}, + (_UN,), + ((lambda: schemas.EXISTING_USER_NAME_TYPE, 0),), +) + +CREATE_ACCESS_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _CAKO, + {_sSI: _cCAKRo, _smi: None}, + (_AK,), + ((lambda: schemas.ACCESS_KEY, 1),), +) + +CREATE_ACCESS_KEY: StaticOperationSchema = ( + 23, + n0, + _CAK, + 0, + CREATE_ACCESS_KEY_INPUT, + CREATE_ACCESS_KEY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +CREATE_ACCOUNT_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _CAAI, + {_sSI: _cCAAR, _s: None}, + (_AA,), + ((lambda: schemas.ACCOUNT_ALIAS_TYPE, 1),), +) + +CREATE_ACCOUNT_ALIAS_OUTPUT: StaticSchema = (18, n0, _CAAO, {_sSI: _sU, _smi: None}) + +CREATE_ACCOUNT_ALIAS: StaticOperationSchema = ( + 23, + n0, + _CAA, + 0, + CREATE_ACCOUNT_ALIAS_INPUT, + CREATE_ACCOUNT_ALIAS_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELEGATION_REQUEST_DESCRIPTION_TYPE: StaticSchema = (3, n0, _dRDT, 0) + +NOTIFICATION_CHANNEL_TYPE: StaticSchema = (3, n0, _nCT, 0) + +BOOLEAN_TYPE: StaticSchema = (2, n0, _bT, {_smithy: False}) + +POLICY_PARAMETER_NAME_TYPE: StaticSchema = (3, n0, _pPNT, 0) + +POLICY_PARAMETER_TYPE_ENUM: StaticSchema = ( + 14, + n0, + _PPTE, + 0, + (_STRING, _SL_), + ((-1, {_sV: _st}), (-1, {_sV: _sL})), +) + +POLICY_PARAMETER_VALUE_TYPE: StaticSchema = (3, n0, _pPVT, 0) + +POLICY_PARAMETER_VALUES_LIST_TYPE: StaticSchema = ( + 16, + n0, + _pPVLT, + 0, + (_me,), + ((POLICY_PARAMETER_VALUE_TYPE, 0),), +) + +POLICY_PARAMETER: StaticSchema = ( + 18, + n0, + _PP, + 0, + (_N, _V, _Ty), + ( + (POLICY_PARAMETER_NAME_TYPE, 0), + (POLICY_PARAMETER_VALUES_LIST_TYPE, 0), + (POLICY_PARAMETER_TYPE_ENUM, 0), + ), +) + +POLICY_PARAMETER_LIST_TYPE: StaticSchema = ( + 16, + n0, + _pPLT, + 0, + (_me,), + ((POLICY_PARAMETER, 0),), +) + +DELEGATION_PERMISSION: StaticSchema = ( + 18, + n0, + _DP, + 0, + (_PTA, _Par), + ((lambda: schemas.ARN_TYPE, 0), (POLICY_PARAMETER_LIST_TYPE, 0)), +) + +REDIRECT_URL_TYPE: StaticSchema = (3, n0, _rUT, 0) + +REQUEST_MESSAGE_TYPE: StaticSchema = (3, n0, _rMT, 0) + +REQUESTOR_WORKFLOW_ID_TYPE: StaticSchema = (3, n0, _rWIT, 0) + +SESSION_DURATION_TYPE: StaticSchema = (7, n0, _sDT, 0) + +CREATE_DELEGATION_REQUEST_INPUT: StaticSchema = ( + 18, + n0, + _CDRI, + {_sSI: _cCDRR, _s: None}, + (_OAI, _D, _Pe, _RM, _RWI, _RU, _NC, _SD, _OSBO), + ( + (lambda: schemas.ACCOUNT_ID_TYPE, 0), + (DELEGATION_REQUEST_DESCRIPTION_TYPE, 1), + (DELEGATION_PERMISSION, 1), + (REQUEST_MESSAGE_TYPE, 0), + (REQUESTOR_WORKFLOW_ID_TYPE, 1), + (REDIRECT_URL_TYPE, 0), + (NOTIFICATION_CHANNEL_TYPE, 1), + (SESSION_DURATION_TYPE, 1), + (BOOLEAN_TYPE, {_smithy: False}), + ), +) + +CREATE_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( + 18, + n0, + _CDRO, + {_sSI: _cCDRRo, _smi: None}, + (_CDL, _DRI), + ( + (lambda: CONSOLE_DEEP_LINK_TYPE, 0), + (lambda: schemas.DELEGATION_REQUEST_ID_TYPE, 0), + ), +) + +CREATE_DELEGATION_REQUEST: StaticOperationSchema = ( + 23, + n0, + _CDR, + 0, + CREATE_DELEGATION_REQUEST_INPUT, + CREATE_DELEGATION_REQUEST_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +CONSOLE_DEEP_LINK_TYPE: StaticSchema = (3, n0, _cDLT, 0) + +CREATE_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CGI, + {_sSI: _cCGR, _s: None}, + (_Pa, _GN), + ((lambda: schemas.PATH_TYPE, 0), (lambda: schemas.GROUP_NAME_TYPE, 1)), +) + +CREATE_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CGO, + {_sSI: _cCGRo, _smi: None}, + (_G,), + ((lambda: GROUP, 1),), +) + +CREATE_GROUP: StaticOperationSchema = ( + 23, + n0, + _CG, + 0, + CREATE_GROUP_INPUT, + CREATE_GROUP_OUTPUT, + ( + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GROUP: StaticSchema = ( + 18, + n0, + _G, + 0, + (_Pa, _GN, _GI, _Ar, _CD), + ( + (lambda: schemas.PATH_TYPE, 1), + (lambda: schemas.GROUP_NAME_TYPE, 1), + (lambda: schemas.ID_TYPE, 1), + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.DATE_TYPE, 1), + ), +) + +CREATE_INSTANCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _CIPI, + {_sSI: _cCIPR, _s: None}, + (_IPN, _Pa, _Ta), + ( + (lambda: schemas.INSTANCE_PROFILE_NAME_TYPE, 1), + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +CREATE_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _CIPO, + {_sSI: _cCIPRo, _smi: None}, + (_IP,), + ((lambda: INSTANCE_PROFILE, 1),), +) + +CREATE_INSTANCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _CIP, + 0, + CREATE_INSTANCE_PROFILE_INPUT, + CREATE_INSTANCE_PROFILE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +ROLE_LIST_TYPE: StaticSchema = (16, n0, _rLT, 0, (_me,), ((lambda: schemas.ROLE, 0),)) + +INSTANCE_PROFILE: StaticSchema = ( + 18, + n0, + _IP, + 0, + (_Pa, _IPN, _IPI, _Ar, _CD, _Rol, _Ta), + ( + (lambda: schemas.PATH_TYPE, 1), + (lambda: schemas.INSTANCE_PROFILE_NAME_TYPE, 1), + (lambda: schemas.ID_TYPE, 1), + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.DATE_TYPE, 1), + (ROLE_LIST_TYPE, 1), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +CREATE_LOGIN_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _CLPI, + {_sSI: _cCLPR, _s: None}, + (_UN, _Pas, _PRR), + ( + (lambda: schemas.USER_NAME_TYPE, 0), + (lambda: schemas.PASSWORD_TYPE, 0), + (BOOLEAN_TYPE, {_smithy: False}), + ), +) + +CREATE_LOGIN_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _CLPO, + {_sSI: _cCLPRo, _smi: None}, + (_LP,), + ((lambda: LOGIN_PROFILE, 1),), +) + +CREATE_LOGIN_PROFILE: StaticOperationSchema = ( + 23, + n0, + _CLP, + 0, + CREATE_LOGIN_PROFILE_INPUT, + CREATE_LOGIN_PROFILE_OUTPUT, + ( + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + PASSWORD_POLICY_VIOLATION_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LOGIN_PROFILE: StaticSchema = ( + 18, + n0, + _LP, + 0, + (_UN, _CD, _PRR), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.DATE_TYPE, 1), + (BOOLEAN_TYPE, {_smithy: False}), + ), +) + +CLIENT_ID_LIST_TYPE: StaticSchema = ( + 16, + n0, + _cIDLT, + 0, + (_me,), + ((lambda: schemas.CLIENT_ID_TYPE, 0),), +) + +THUMBPRINT_TYPE: StaticSchema = (3, n0, _tT, 0) + +THUMBPRINT_LIST_TYPE: StaticSchema = (16, n0, _tLTh, 0, (_me,), ((THUMBPRINT_TYPE, 0),)) + +OPEN_ID_CONNECT_PROVIDER_URL_TYPE: StaticSchema = (3, n0, _OIDCPUT, 0) + +CREATE_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _COIDCPI, + {_sSI: _cCOIDCPR, _s: None}, + (_Ur, _CIDL, _TL, _Ta), + ( + (OPEN_ID_CONNECT_PROVIDER_URL_TYPE, 1), + (CLIENT_ID_LIST_TYPE, 0), + (THUMBPRINT_LIST_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +CREATE_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _COIDCPO, + {_sSI: _cCOIDCPRo, _smi: None}, + (_OIDCPA, _Ta), + ((lambda: schemas.ARN_TYPE, 0), (lambda: schemas.TAG_LIST_TYPE, 0)), +) + +CREATE_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _COIDCP, + 0, + CREATE_OPEN_ID_CONNECT_PROVIDER_INPUT, + CREATE_OPEN_ID_CONNECT_PROVIDER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _oIICEEM, 0) + +OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION: StaticSchema = ( + 18, + n0, + _OIICEE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "OpenIdIdpCommunicationError", "httpResponseCode": 400} + ), + }, + (_m,), + ((OPEN_ID_IDP_COMMUNICATION_ERROR_EXCEPTION_MESSAGE, 0),), +) + +POLICY_DESCRIPTION_TYPE: StaticSchema = (3, n0, _pDTo, 0) + +POLICY_PATH_TYPE: StaticSchema = (3, n0, _pPT, 0) + +CREATE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _CPIr, + {_sSI: _cCPRo, _s: None}, + (_PN, _Pa, _PD, _D, _Ta), + ( + (lambda: schemas.POLICY_NAME_TYPE, 1), + (POLICY_PATH_TYPE, 0), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 1), + (POLICY_DESCRIPTION_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +CREATE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _CPOr, + {_sSI: _cCPRom, _smi: None}, + (_P,), + ((lambda: POLICY, 0),), +) + +CREATE_POLICY: StaticOperationSchema = ( + 23, + n0, + _CPr, + 0, + CREATE_POLICY_INPUT, + CREATE_POLICY_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +POLICY: StaticSchema = ( + 18, + n0, + _P, + 0, + (_PN, _PI, _Ar, _Pa, _DVI, _AC, _PBUC, _IA, _D, _CD, _UD, _Ta), + ( + (lambda: schemas.POLICY_NAME_TYPE, 0), + (lambda: schemas.ID_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (POLICY_PATH_TYPE, 0), + (lambda: schemas.POLICY_VERSION_ID_TYPE, 0), + (lambda: schemas.ATTACHMENT_COUNT_TYPE, 0), + (lambda: schemas.ATTACHMENT_COUNT_TYPE, 0), + (BOOLEAN_TYPE, {_smithy: False}), + (POLICY_DESCRIPTION_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +CREATE_POLICY_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CPVI, + {_sSI: _cCPVR, _s: None}, + (_PA, _PD, _SAD), + ( + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 1), + (BOOLEAN_TYPE, {_smithy: False}), + ), +) + +CREATE_POLICY_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CPVO, + {_sSI: _cCPVRo, _smi: None}, + (_PV,), + ((lambda: POLICY_VERSION, 0),), +) + +CREATE_POLICY_VERSION: StaticOperationSchema = ( + 23, + n0, + _CPV, + 0, + CREATE_POLICY_VERSION_INPUT, + CREATE_POLICY_VERSION_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +POLICY_VERSION: StaticSchema = ( + 18, + n0, + _PV, + 0, + (_Do, _VI, _IDV, _CD), + ( + (lambda: schemas.POLICY_DOCUMENT_TYPE, 0), + (lambda: schemas.POLICY_VERSION_ID_TYPE, 0), + (BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +CREATE_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _CRI, + {_sSI: _cCRR, _s: None}, + (_Pa, _RN, _ARPD, _D, _MSD, _PB, _Ta), + ( + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.ROLE_NAME_TYPE, 1), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 1), + (lambda: schemas.ROLE_DESCRIPTION_TYPE, 0), + (lambda: schemas.ROLE_MAX_SESSION_DURATION_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +CREATE_ROLE_OUTPUT: StaticSchema = ( + 18, + n0, + _CRO, + {_sSI: _cCRRo, _smi: None}, + (_Ro,), + ((lambda: schemas.ROLE, 1),), +) + +CREATE_ROLE: StaticOperationSchema = ( + 23, + n0, + _CR, + 0, + CREATE_ROLE_INPUT, + CREATE_ROLE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +SAML_PROVIDER_NAME_TYPE: StaticSchema = (3, n0, _SAMLPNT, 0) + +CREATE_SAML_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _CSAMLPI, + {_sSI: _cCSAMLPR, _s: None}, + (_SAMLMD, _N, _Ta, _AEM, _APK), + ( + (lambda: schemas.SAML_METADATA_DOCUMENT_TYPE, 1), + (SAML_PROVIDER_NAME_TYPE, 1), + (lambda: schemas.TAG_LIST_TYPE, 0), + (lambda: schemas.ASSERTION_ENCRYPTION_MODE_TYPE, 0), + (lambda: schemas.PRIVATE_KEY_TYPE, 0), + ), +) + +CREATE_SAML_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _CSAMLPO, + {_sSI: _cCSAMLPRo, _smi: None}, + (_SAMLPA, _Ta), + ((lambda: schemas.ARN_TYPE, 0), (lambda: schemas.TAG_LIST_TYPE, 0)), +) + +CREATE_SAML_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _CSAMLP, + 0, + CREATE_SAML_PROVIDER_INPUT, + CREATE_SAML_PROVIDER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +CUSTOM_SUFFIX_TYPE: StaticSchema = (3, n0, _cST, 0) + +CREATE_SERVICE_LINKED_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _CSLRI, + {_sSI: _cCSLRR, _s: None}, + (_AWSSN, _D, _CS), + ( + (lambda: schemas.GROUP_NAME_TYPE, 1), + (lambda: schemas.ROLE_DESCRIPTION_TYPE, 0), + (CUSTOM_SUFFIX_TYPE, 0), + ), +) + +CREATE_SERVICE_LINKED_ROLE_OUTPUT: StaticSchema = ( + 18, + n0, + _CSLRO, + {_sSI: _cCSLRRo, _smi: None}, + (_Ro,), + ((lambda: schemas.ROLE, 0),), +) + +CREATE_SERVICE_LINKED_ROLE: StaticOperationSchema = ( + 23, + n0, + _CSLR, + 0, + CREATE_SERVICE_LINKED_ROLE_INPUT, + CREATE_SERVICE_LINKED_ROLE_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +CREDENTIAL_AGE_DAYS: StaticSchema = (7, n0, _cAD, 0) + +SERVICE_NAME: StaticSchema = (3, n0, _sN, 0) + +CREATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT: StaticSchema = ( + 18, + n0, + _CSSCI, + {_sSI: _cCSSCR, _s: None}, + (_UN, _SN, _CAD), + ((lambda: schemas.USER_NAME_TYPE, 1), (SERVICE_NAME, 1), (CREDENTIAL_AGE_DAYS, 0)), +) + +CREATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT: StaticSchema = ( + 18, + n0, + _CSSCO, + {_sSI: _cCSSCRo, _smi: None}, + (_SSC,), + ((lambda: SERVICE_SPECIFIC_CREDENTIAL, 0),), +) + +CREATE_SERVICE_SPECIFIC_CREDENTIAL: StaticOperationSchema = ( + 23, + n0, + _CSSC, + 0, + CREATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT, + CREATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: SERVICE_NOT_SUPPORTED_EXCEPTION, + ), +) + +SERVICE_CREDENTIAL_ALIAS: StaticSchema = (3, n0, _sCA, 0) + +SERVICE_CREDENTIAL_SECRET: StaticSchema = (3, n0, _sCS, 4) + +SERVICE_PASSWORD: StaticSchema = (3, n0, _sP, 4) + +SERVICE_USER_NAME: StaticSchema = (3, n0, _sUN, 0) + +SERVICE_SPECIFIC_CREDENTIAL: StaticSchema = ( + 18, + n0, + _SSC, + 0, + (_CD, _ED, _SN, _SUN, _SP, _SCA, _SCS, _SSCI, _UN, _S), + ( + (lambda: schemas.DATE_TYPE, 1), + (lambda: schemas.DATE_TYPE, 0), + (SERVICE_NAME, 1), + (SERVICE_USER_NAME, {_smithy: _v_}), + (SERVICE_PASSWORD, {_smithy: _v_}), + (SERVICE_CREDENTIAL_ALIAS, 0), + (SERVICE_CREDENTIAL_SECRET, 0), + (lambda: schemas.SERVICE_SPECIFIC_CREDENTIAL_ID, 1), + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.STATUS_TYPE, 1), + ), +) + +SERVICE_NOT_SUPPORTED_MESSAGE: StaticSchema = (3, n0, _sNSM, 0) + +SERVICE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SNSE, + { + _smit: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "NotSupportedService", "httpResponseCode": 404} + ), + }, + (_m,), + ((SERVICE_NOT_SUPPORTED_MESSAGE, 0),), +) + +CREATE_USER_INPUT: StaticSchema = ( + 18, + n0, + _CUI, + {_sSI: _cCUR, _s: None}, + (_Pa, _UN, _PB, _Ta), + ( + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +CREATE_USER_OUTPUT: StaticSchema = ( + 18, + n0, + _CUO, + {_sSI: _cCURo, _smi: None}, + (_Us,), + ((lambda: schemas.USER, 0),), +) + +CREATE_USER: StaticOperationSchema = ( + 23, + n0, + _CU, + 0, + CREATE_USER_INPUT, + CREATE_USER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +BOOLEAN_OBJECT_TYPE: StaticSchema = (2, n0, _bOT, 0) + +USER_LIST_TYPE: StaticSchema = (16, n0, _uLT, 0, (_me,), ((lambda: schemas.USER, 0),)) + +POLICY_OWNER_ENTITY_TYPE: StaticSchema = ( + 14, + n0, + _pOET, + 0, + (_USER, _ROLE, _GROUP), + ((-1, {_sV: _USER}), (-1, {_sV: _ROLE}), (-1, {_sV: _GROUP})), +) + +POLICY_NAME_LIST_TYPE: StaticSchema = ( + 16, + n0, + _pNLT, + 0, + (_me,), + ((lambda: schemas.POLICY_NAME_TYPE, 0),), +) + +PATH_PREFIX_TYPE: StaticSchema = (3, n0, _pPTa, 0) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_2.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_2.py new file mode 100644 index 000000000..addd5fe7c --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_2.py @@ -0,0 +1,1078 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_m = "message" +_sV = "smithy.api#enumValue" +_me = "member" +_smith = "smithy.api#sensitive" +_UN = "UserName" +_AKI = "AccessKeyId" +_M = "Message" +_Pa = "Path" +_RN = "RoleName" +_Ta = "Tags" +_OIDCPA = "OpenIDConnectProviderArn" +_IPN = "InstanceProfileName" +_GN = "GroupName" +_PN = "PolicyName" +_PA = "PolicyArn" +_AA = "AccountAlias" +_VI = "VersionId" +_SAMLPA = "SAMLProviderArn" +_SSCI = "ServiceSpecificCredentialId" +_Us = "User" +_vMFADN = "virtualMFADeviceName" +_CVMFADI = "CreateVirtualMFADeviceInput" +_cCVMFADR = "com.amazonaws.iam#CreateVirtualMFADeviceRequest" +_VMFADN = "VirtualMFADeviceName" +_BD = "BootstrapDatum" +_VMFAD = "VirtualMFADevice" +_SNer = "SerialNumber" +_BSS = "Base32StringSeed" +_QRCPNG = "QRCodePNG" +_EDn = "EnableDate" +_CVMFADO = "CreateVirtualMFADeviceOutput" +_cCVMFADRo = "com.amazonaws.iam#CreateVirtualMFADeviceResponse" +_CVMFAD = "CreateVirtualMFADevice" +_DMFADI = "DeactivateMFADeviceInput" +_cDMFADR = "com.amazonaws.iam#DeactivateMFADeviceRequest" +_DMFADO = "DeactivateMFADeviceOutput" +_DMFAD = "DeactivateMFADevice" +_DAKI = "DeleteAccessKeyInput" +_cDAKR = "com.amazonaws.iam#DeleteAccessKeyRequest" +_DAKO = "DeleteAccessKeyOutput" +_DAK = "DeleteAccessKey" +_DAAI = "DeleteAccountAliasInput" +_cDAAR = "com.amazonaws.iam#DeleteAccountAliasRequest" +_DAAO = "DeleteAccountAliasOutput" +_DAA = "DeleteAccountAlias" +_DAPPI = "DeleteAccountPasswordPolicyInput" +_DAPPO = "DeleteAccountPasswordPolicyOutput" +_DAPP = "DeleteAccountPasswordPolicy" +_dCM = "deleteConflictMessage" +_DCE = "DeleteConflictException" +_DGI = "DeleteGroupInput" +_cDGR = "com.amazonaws.iam#DeleteGroupRequest" +_DGO = "DeleteGroupOutput" +_DG = "DeleteGroup" +_DGPI = "DeleteGroupPolicyInput" +_cDGPR = "com.amazonaws.iam#DeleteGroupPolicyRequest" +_DGPO = "DeleteGroupPolicyOutput" +_DGP = "DeleteGroupPolicy" +_DIPI = "DeleteInstanceProfileInput" +_cDIPR = "com.amazonaws.iam#DeleteInstanceProfileRequest" +_DIPO = "DeleteInstanceProfileOutput" +_DIP = "DeleteInstanceProfile" +_DLPI = "DeleteLoginProfileInput" +_cDLPR = "com.amazonaws.iam#DeleteLoginProfileRequest" +_DLPO = "DeleteLoginProfileOutput" +_DLP = "DeleteLoginProfile" +_DOIDCPI = "DeleteOpenIDConnectProviderInput" +_cDOIDCPR = "com.amazonaws.iam#DeleteOpenIDConnectProviderRequest" +_DOIDCPO = "DeleteOpenIDConnectProviderOutput" +_DOIDCP = "DeleteOpenIDConnectProvider" +_DPI = "DeletePolicyInput" +_cDPR = "com.amazonaws.iam#DeletePolicyRequest" +_DPO = "DeletePolicyOutput" +_DPe = "DeletePolicy" +_DPVI = "DeletePolicyVersionInput" +_cDPVR = "com.amazonaws.iam#DeletePolicyVersionRequest" +_DPVO = "DeletePolicyVersionOutput" +_DPV = "DeletePolicyVersion" +_DRIe = "DeleteRoleInput" +_cDRR = "com.amazonaws.iam#DeleteRoleRequest" +_DRO = "DeleteRoleOutput" +_DR = "DeleteRole" +_DRPBI = "DeleteRolePermissionsBoundaryInput" +_cDRPBR = "com.amazonaws.iam#DeleteRolePermissionsBoundaryRequest" +_DRPBO = "DeleteRolePermissionsBoundaryOutput" +_DRPB = "DeleteRolePermissionsBoundary" +_DRPI = "DeleteRolePolicyInput" +_cDRPR = "com.amazonaws.iam#DeleteRolePolicyRequest" +_DRPO = "DeleteRolePolicyOutput" +_DRP = "DeleteRolePolicy" +_DSAMLPI = "DeleteSAMLProviderInput" +_cDSAMLPR = "com.amazonaws.iam#DeleteSAMLProviderRequest" +_DSAMLPO = "DeleteSAMLProviderOutput" +_DSAMLP = "DeleteSAMLProvider" +_DSCI = "DeleteServerCertificateInput" +_cDSCR = "com.amazonaws.iam#DeleteServerCertificateRequest" +_SCN = "ServerCertificateName" +_DSCO = "DeleteServerCertificateOutput" +_DSC = "DeleteServerCertificate" +_DSLRI = "DeleteServiceLinkedRoleInput" +_cDSLRR = "com.amazonaws.iam#DeleteServiceLinkedRoleRequest" +_DSLRO = "DeleteServiceLinkedRoleOutput" +_cDSLRRo = "com.amazonaws.iam#DeleteServiceLinkedRoleResponse" +_DTI = "DeletionTaskId" +_DSLR = "DeleteServiceLinkedRole" +_DSSCI = "DeleteServiceSpecificCredentialInput" +_cDSSCR = "com.amazonaws.iam#DeleteServiceSpecificCredentialRequest" +_DSSCO = "DeleteServiceSpecificCredentialOutput" +_DSSC = "DeleteServiceSpecificCredential" +_DSCIe = "DeleteSigningCertificateInput" +_cDSCRo = "com.amazonaws.iam#DeleteSigningCertificateRequest" +_CI = "CertificateId" +_DSCOe = "DeleteSigningCertificateOutput" +_DSCe = "DeleteSigningCertificate" +_DSSHPKI = "DeleteSSHPublicKeyInput" +_cDSSHPKR = "com.amazonaws.iam#DeleteSSHPublicKeyRequest" +_SSHPKI = "SSHPublicKeyId" +_DSSHPKO = "DeleteSSHPublicKeyOutput" +_DSSHPK = "DeleteSSHPublicKey" +_DUI = "DeleteUserInput" +_cDUR = "com.amazonaws.iam#DeleteUserRequest" +_DUO = "DeleteUserOutput" +_DU = "DeleteUser" +_DUPBI = "DeleteUserPermissionsBoundaryInput" +_cDUPBR = "com.amazonaws.iam#DeleteUserPermissionsBoundaryRequest" +_DUPBO = "DeleteUserPermissionsBoundaryOutput" +_DUPB = "DeleteUserPermissionsBoundary" +_DUPI = "DeleteUserPolicyInput" +_cDUPR = "com.amazonaws.iam#DeleteUserPolicyRequest" +_DUPO = "DeleteUserPolicyOutput" +_DUP = "DeleteUserPolicy" +_DVMFADI = "DeleteVirtualMFADeviceInput" +_cDVMFADR = "com.amazonaws.iam#DeleteVirtualMFADeviceRequest" +_DVMFADO = "DeleteVirtualMFADeviceOutput" +_DVMFAD = "DeleteVirtualMFADevice" +_DGPIe = "DetachGroupPolicyInput" +_cDGPRo = "com.amazonaws.iam#DetachGroupPolicyRequest" +_DGPOe = "DetachGroupPolicyOutput" +_DGPe = "DetachGroupPolicy" +_DRPIe = "DetachRolePolicyInput" +_cDRPRo = "com.amazonaws.iam#DetachRolePolicyRequest" +_DRPOe = "DetachRolePolicyOutput" +_DRPe = "DetachRolePolicy" +_DUPIe = "DetachUserPolicyInput" +_cDUPRo = "com.amazonaws.iam#DetachUserPolicyRequest" +_DUPOe = "DetachUserPolicyOutput" +_DUPe = "DetachUserPolicy" +_DORCMI = "DisableOrganizationsRootCredentialsManagementInput" +_cDORCMR = "com.amazonaws.iam#DisableOrganizationsRootCredentialsManagementRequest" +_FT = "FeatureType" +_RCM = "ROOT_CREDENTIALS_MANAGEMENT" +_RCMo = "RootCredentialsManagement" +_RS = "ROOT_SESSIONS" +_RSo = "RootSessions" +_FLT = "FeaturesListType" +_OIT = "OrganizationIdType" +_DORCMO = "DisableOrganizationsRootCredentialsManagementOutput" +_cDORCMRo = "com.amazonaws.iam#DisableOrganizationsRootCredentialsManagementResponse" +_OI = "OrganizationId" +_EF = "EnabledFeatures" +_ONFE = "OrganizationNotFoundException" +_ONIAFME = "OrganizationNotInAllFeaturesModeException" +_SANEE = "ServiceAccessNotEnabledException" +_DORCM = "DisableOrganizationsRootCredentialsManagement" + +VIRTUAL_MFA_DEVICE_NAME: StaticSchema = (3, n0, _vMFADN, 0) + +CREATE_VIRTUAL_MFA_DEVICE_INPUT: StaticSchema = ( + 18, + n0, + _CVMFADI, + {_sSI: _cCVMFADR, _s: None}, + (_Pa, _VMFADN, _Ta), + ( + (lambda: schemas.PATH_TYPE, 0), + (VIRTUAL_MFA_DEVICE_NAME, 1), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +CREATE_VIRTUAL_MFA_DEVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _CVMFADO, + {_sSI: _cCVMFADRo, _smi: None}, + (_VMFAD,), + ((lambda: VIRTUAL_MFA_DEVICE, 1),), +) + +CREATE_VIRTUAL_MFA_DEVICE: StaticOperationSchema = ( + 23, + n0, + _CVMFAD, + 0, + CREATE_VIRTUAL_MFA_DEVICE_INPUT, + CREATE_VIRTUAL_MFA_DEVICE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +BOOTSTRAP_DATUM: StaticSchema = (1, n0, _BD, 4) + +VIRTUAL_MFA_DEVICE: StaticSchema = ( + 18, + n0, + _VMFAD, + 0, + (_SNer, _BSS, _QRCPNG, _Us, _EDn, _Ta), + ( + (lambda: schemas.SERIAL_NUMBER_TYPE, 1), + (BOOTSTRAP_DATUM, 0), + (BOOTSTRAP_DATUM, 0), + (lambda: schemas.USER, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +DEACTIVATE_MFA_DEVICE_INPUT: StaticSchema = ( + 18, + n0, + _DMFADI, + {_sSI: _cDMFADR, _s: None}, + (_UN, _SNer), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.SERIAL_NUMBER_TYPE, 1), + ), +) + +DEACTIVATE_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _DMFADO, {_sSI: _sU, _smi: None}) + +DEACTIVATE_MFA_DEVICE: StaticOperationSchema = ( + 23, + n0, + _DMFAD, + 0, + DEACTIVATE_MFA_DEVICE_INPUT, + DEACTIVATE_MFA_DEVICE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_ACCESS_KEY_INPUT: StaticSchema = ( + 18, + n0, + _DAKI, + {_sSI: _cDAKR, _s: None}, + (_UN, _AKI), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.ACCESS_KEY_ID_TYPE, 1), + ), +) + +DELETE_ACCESS_KEY_OUTPUT: StaticSchema = (18, n0, _DAKO, {_sSI: _sU, _smi: None}) + +DELETE_ACCESS_KEY: StaticOperationSchema = ( + 23, + n0, + _DAK, + 0, + DELETE_ACCESS_KEY_INPUT, + DELETE_ACCESS_KEY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_ACCOUNT_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _DAAI, + {_sSI: _cDAAR, _s: None}, + (_AA,), + ((lambda: schemas.ACCOUNT_ALIAS_TYPE, 1),), +) + +DELETE_ACCOUNT_ALIAS_OUTPUT: StaticSchema = (18, n0, _DAAO, {_sSI: _sU, _smi: None}) + +DELETE_ACCOUNT_ALIAS: StaticOperationSchema = ( + 23, + n0, + _DAA, + 0, + DELETE_ACCOUNT_ALIAS_INPUT, + DELETE_ACCOUNT_ALIAS_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_ACCOUNT_PASSWORD_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DAPPI, + {_sSI: _sU, _s: None}, +) + +DELETE_ACCOUNT_PASSWORD_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DAPPO, + {_sSI: _sU, _smi: None}, +) + +DELETE_ACCOUNT_PASSWORD_POLICY: StaticOperationSchema = ( + 23, + n0, + _DAPP, + 0, + DELETE_ACCOUNT_PASSWORD_POLICY_INPUT, + DELETE_ACCOUNT_PASSWORD_POLICY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_CONFLICT_MESSAGE: StaticSchema = (3, n0, _dCM, 0) + +DELETE_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _DCE, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType({"code": "DeleteConflict", "httpResponseCode": 409}), + }, + (_m,), + ((DELETE_CONFLICT_MESSAGE, 0),), +) + +DELETE_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DGI, + {_sSI: _cDGR, _s: None}, + (_GN,), + ((lambda: schemas.GROUP_NAME_TYPE, 1),), +) + +DELETE_GROUP_OUTPUT: StaticSchema = (18, n0, _DGO, {_sSI: _sU, _smi: None}) + +DELETE_GROUP: StaticOperationSchema = ( + 23, + n0, + _DG, + 0, + DELETE_GROUP_INPUT, + DELETE_GROUP_OUTPUT, + ( + DELETE_CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_GROUP_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DGPI, + {_sSI: _cDGPR, _s: None}, + (_GN, _PN), + ((lambda: schemas.GROUP_NAME_TYPE, 1), (lambda: schemas.POLICY_NAME_TYPE, 1)), +) + +DELETE_GROUP_POLICY_OUTPUT: StaticSchema = (18, n0, _DGPO, {_sSI: _sU, _smi: None}) + +DELETE_GROUP_POLICY: StaticOperationSchema = ( + 23, + n0, + _DGP, + 0, + DELETE_GROUP_POLICY_INPUT, + DELETE_GROUP_POLICY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_INSTANCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _DIPI, + {_sSI: _cDIPR, _s: None}, + (_IPN,), + ((lambda: schemas.INSTANCE_PROFILE_NAME_TYPE, 1),), +) + +DELETE_INSTANCE_PROFILE_OUTPUT: StaticSchema = (18, n0, _DIPO, {_sSI: _sU, _smi: None}) + +DELETE_INSTANCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _DIP, + 0, + DELETE_INSTANCE_PROFILE_INPUT, + DELETE_INSTANCE_PROFILE_OUTPUT, + ( + DELETE_CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_LOGIN_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _DLPI, + {_sSI: _cDLPR, _s: None}, + (_UN,), + ((lambda: schemas.USER_NAME_TYPE, 0),), +) + +DELETE_LOGIN_PROFILE_OUTPUT: StaticSchema = (18, n0, _DLPO, {_sSI: _sU, _smi: None}) + +DELETE_LOGIN_PROFILE: StaticOperationSchema = ( + 23, + n0, + _DLP, + 0, + DELETE_LOGIN_PROFILE_INPUT, + DELETE_LOGIN_PROFILE_OUTPUT, + ( + lambda: schemas.ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DOIDCPI, + {_sSI: _cDOIDCPR, _s: None}, + (_OIDCPA,), + ((lambda: schemas.ARN_TYPE, 1),), +) + +DELETE_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _DOIDCPO, + {_sSI: _sU, _smi: None}, +) + +DELETE_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DOIDCP, + 0, + DELETE_OPEN_ID_CONNECT_PROVIDER_INPUT, + DELETE_OPEN_ID_CONNECT_PROVIDER_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DPI, + {_sSI: _cDPR, _s: None}, + (_PA,), + ((lambda: schemas.ARN_TYPE, 1),), +) + +DELETE_POLICY_OUTPUT: StaticSchema = (18, n0, _DPO, {_sSI: _sU, _smi: None}) + +DELETE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DPe, + 0, + DELETE_POLICY_INPUT, + DELETE_POLICY_OUTPUT, + ( + DELETE_CONFLICT_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_POLICY_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _DPVI, + {_sSI: _cDPVR, _s: None}, + (_PA, _VI), + ((lambda: schemas.ARN_TYPE, 1), (lambda: schemas.POLICY_VERSION_ID_TYPE, 1)), +) + +DELETE_POLICY_VERSION_OUTPUT: StaticSchema = (18, n0, _DPVO, {_sSI: _sU, _smi: None}) + +DELETE_POLICY_VERSION: StaticOperationSchema = ( + 23, + n0, + _DPV, + 0, + DELETE_POLICY_VERSION_INPUT, + DELETE_POLICY_VERSION_OUTPUT, + ( + DELETE_CONFLICT_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _DRIe, + {_sSI: _cDRR, _s: None}, + (_RN,), + ((lambda: schemas.ROLE_NAME_TYPE, 1),), +) + +DELETE_ROLE_OUTPUT: StaticSchema = (18, n0, _DRO, {_sSI: _sU, _smi: None}) + +DELETE_ROLE: StaticOperationSchema = ( + 23, + n0, + _DR, + 0, + DELETE_ROLE_INPUT, + DELETE_ROLE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + DELETE_CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +DELETE_ROLE_PERMISSIONS_BOUNDARY_INPUT: StaticSchema = ( + 18, + n0, + _DRPBI, + {_sSI: _cDRPBR, _s: None}, + (_RN,), + ((lambda: schemas.ROLE_NAME_TYPE, 1),), +) + +DELETE_ROLE_PERMISSIONS_BOUNDARY_OUTPUT: StaticSchema = ( + 18, + n0, + _DRPBO, + {_sSI: _sU, _smi: None}, +) + +DELETE_ROLE_PERMISSIONS_BOUNDARY: StaticOperationSchema = ( + 23, + n0, + _DRPB, + 0, + DELETE_ROLE_PERMISSIONS_BOUNDARY_INPUT, + DELETE_ROLE_PERMISSIONS_BOUNDARY_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +DELETE_ROLE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_sSI: _cDRPR, _s: None}, + (_RN, _PN), + ((lambda: schemas.ROLE_NAME_TYPE, 1), (lambda: schemas.POLICY_NAME_TYPE, 1)), +) + +DELETE_ROLE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPO, {_sSI: _sU, _smi: None}) + +DELETE_ROLE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + 0, + DELETE_ROLE_POLICY_INPUT, + DELETE_ROLE_POLICY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +DELETE_SAML_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DSAMLPI, + {_sSI: _cDSAMLPR, _s: None}, + (_SAMLPA,), + ((lambda: schemas.ARN_TYPE, 1),), +) + +DELETE_SAML_PROVIDER_OUTPUT: StaticSchema = (18, n0, _DSAMLPO, {_sSI: _sU, _smi: None}) + +DELETE_SAML_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DSAMLP, + 0, + DELETE_SAML_PROVIDER_INPUT, + DELETE_SAML_PROVIDER_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_SERVER_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _DSCI, + {_sSI: _cDSCR, _s: None}, + (_SCN,), + ((lambda: schemas.SERVER_CERTIFICATE_NAME_TYPE, 1),), +) + +DELETE_SERVER_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _DSCO, + {_sSI: _sU, _smi: None}, +) + +DELETE_SERVER_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _DSC, + 0, + DELETE_SERVER_CERTIFICATE_INPUT, + DELETE_SERVER_CERTIFICATE_OUTPUT, + ( + DELETE_CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_SERVICE_LINKED_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _DSLRI, + {_sSI: _cDSLRR, _s: None}, + (_RN,), + ((lambda: schemas.ROLE_NAME_TYPE, 1),), +) + +DELETE_SERVICE_LINKED_ROLE_OUTPUT: StaticSchema = ( + 18, + n0, + _DSLRO, + {_sSI: _cDSLRRo, _smi: None}, + (_DTI,), + ((lambda: schemas.DELETION_TASK_ID_TYPE, 1),), +) + +DELETE_SERVICE_LINKED_ROLE: StaticOperationSchema = ( + 23, + n0, + _DSLR, + 0, + DELETE_SERVICE_LINKED_ROLE_INPUT, + DELETE_SERVICE_LINKED_ROLE_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_SERVICE_SPECIFIC_CREDENTIAL_INPUT: StaticSchema = ( + 18, + n0, + _DSSCI, + {_sSI: _cDSSCR, _s: None}, + (_UN, _SSCI), + ( + (lambda: schemas.USER_NAME_TYPE, 0), + (lambda: schemas.SERVICE_SPECIFIC_CREDENTIAL_ID, 1), + ), +) + +DELETE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT: StaticSchema = ( + 18, + n0, + _DSSCO, + {_sSI: _sU, _smi: None}, +) + +DELETE_SERVICE_SPECIFIC_CREDENTIAL: StaticOperationSchema = ( + 23, + n0, + _DSSC, + 0, + DELETE_SERVICE_SPECIFIC_CREDENTIAL_INPUT, + DELETE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT, + (lambda: schemas.NO_SUCH_ENTITY_EXCEPTION,), +) + +DELETE_SIGNING_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _DSCIe, + {_sSI: _cDSCRo, _s: None}, + (_UN, _CI), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.CERTIFICATE_ID_TYPE, 1), + ), +) + +DELETE_SIGNING_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _DSCOe, + {_sSI: _sU, _smi: None}, +) + +DELETE_SIGNING_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _DSCe, + 0, + DELETE_SIGNING_CERTIFICATE_INPUT, + DELETE_SIGNING_CERTIFICATE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_SSH_PUBLIC_KEY_INPUT: StaticSchema = ( + 18, + n0, + _DSSHPKI, + {_sSI: _cDSSHPKR, _s: None}, + (_UN, _SSHPKI), + ((lambda: schemas.USER_NAME_TYPE, 1), (lambda: schemas.PUBLIC_KEY_ID_TYPE, 1)), +) + +DELETE_SSH_PUBLIC_KEY_OUTPUT: StaticSchema = (18, n0, _DSSHPKO, {_sSI: _sU, _smi: None}) + +DELETE_SSH_PUBLIC_KEY: StaticOperationSchema = ( + 23, + n0, + _DSSHPK, + 0, + DELETE_SSH_PUBLIC_KEY_INPUT, + DELETE_SSH_PUBLIC_KEY_OUTPUT, + (lambda: schemas.NO_SUCH_ENTITY_EXCEPTION,), +) + +DELETE_USER_INPUT: StaticSchema = ( + 18, + n0, + _DUI, + {_sSI: _cDUR, _s: None}, + (_UN,), + ((lambda: schemas.EXISTING_USER_NAME_TYPE, 1),), +) + +DELETE_USER_OUTPUT: StaticSchema = (18, n0, _DUO, {_sSI: _sU, _smi: None}) + +DELETE_USER: StaticOperationSchema = ( + 23, + n0, + _DU, + 0, + DELETE_USER_INPUT, + DELETE_USER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + DELETE_CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_USER_PERMISSIONS_BOUNDARY_INPUT: StaticSchema = ( + 18, + n0, + _DUPBI, + {_sSI: _cDUPBR, _s: None}, + (_UN,), + ((lambda: schemas.USER_NAME_TYPE, 1),), +) + +DELETE_USER_PERMISSIONS_BOUNDARY_OUTPUT: StaticSchema = ( + 18, + n0, + _DUPBO, + {_sSI: _sU, _smi: None}, +) + +DELETE_USER_PERMISSIONS_BOUNDARY: StaticOperationSchema = ( + 23, + n0, + _DUPB, + 0, + DELETE_USER_PERMISSIONS_BOUNDARY_INPUT, + DELETE_USER_PERMISSIONS_BOUNDARY_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_USER_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DUPI, + {_sSI: _cDUPR, _s: None}, + (_UN, _PN), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.POLICY_NAME_TYPE, 1), + ), +) + +DELETE_USER_POLICY_OUTPUT: StaticSchema = (18, n0, _DUPO, {_sSI: _sU, _smi: None}) + +DELETE_USER_POLICY: StaticOperationSchema = ( + 23, + n0, + _DUP, + 0, + DELETE_USER_POLICY_INPUT, + DELETE_USER_POLICY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELETE_VIRTUAL_MFA_DEVICE_INPUT: StaticSchema = ( + 18, + n0, + _DVMFADI, + {_sSI: _cDVMFADR, _s: None}, + (_SNer,), + ((lambda: schemas.SERIAL_NUMBER_TYPE, 1),), +) + +DELETE_VIRTUAL_MFA_DEVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _DVMFADO, + {_sSI: _sU, _smi: None}, +) + +DELETE_VIRTUAL_MFA_DEVICE: StaticOperationSchema = ( + 23, + n0, + _DVMFAD, + 0, + DELETE_VIRTUAL_MFA_DEVICE_INPUT, + DELETE_VIRTUAL_MFA_DEVICE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + DELETE_CONFLICT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DETACH_GROUP_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DGPIe, + {_sSI: _cDGPRo, _s: None}, + (_GN, _PA), + ((lambda: schemas.GROUP_NAME_TYPE, 1), (lambda: schemas.ARN_TYPE, 1)), +) + +DETACH_GROUP_POLICY_OUTPUT: StaticSchema = (18, n0, _DGPOe, {_sSI: _sU, _smi: None}) + +DETACH_GROUP_POLICY: StaticOperationSchema = ( + 23, + n0, + _DGPe, + 0, + DETACH_GROUP_POLICY_INPUT, + DETACH_GROUP_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DETACH_ROLE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPIe, + {_sSI: _cDRPRo, _s: None}, + (_RN, _PA), + ((lambda: schemas.ROLE_NAME_TYPE, 1), (lambda: schemas.ARN_TYPE, 1)), +) + +DETACH_ROLE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPOe, {_sSI: _sU, _smi: None}) + +DETACH_ROLE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRPe, + 0, + DETACH_ROLE_POLICY_INPUT, + DETACH_ROLE_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +DETACH_USER_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DUPIe, + {_sSI: _cDUPRo, _s: None}, + (_UN, _PA), + ((lambda: schemas.USER_NAME_TYPE, 1), (lambda: schemas.ARN_TYPE, 1)), +) + +DETACH_USER_POLICY_OUTPUT: StaticSchema = (18, n0, _DUPOe, {_sSI: _sU, _smi: None}) + +DETACH_USER_POLICY: StaticOperationSchema = ( + 23, + n0, + _DUPe, + 0, + DETACH_USER_POLICY_INPUT, + DETACH_USER_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT: StaticSchema = ( + 18, + n0, + _DORCMI, + {_sSI: _cDORCMR, _s: None}, +) + +DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DORCMO, + {_sSI: _cDORCMRo, _smi: None}, + (_OI, _EF), + ((lambda: ORGANIZATION_ID_TYPE, 0), (lambda: FEATURES_LIST_TYPE, 0)), +) + +DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT: StaticOperationSchema = ( + 23, + n0, + _DORCM, + 0, + DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT, + DISABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT, + ( + lambda: schemas.ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, + lambda: ORGANIZATION_NOT_FOUND_EXCEPTION, + lambda: ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, + ), +) + +FEATURE_TYPE: StaticSchema = ( + 14, + n0, + _FT, + 0, + (_RCM, _RS), + ((-1, {_sV: _RCMo}), (-1, {_sV: _RSo})), +) + +FEATURES_LIST_TYPE: StaticSchema = (16, n0, _FLT, 0, (_me,), ((FEATURE_TYPE, 0),)) + +ORGANIZATION_ID_TYPE: StaticSchema = (3, n0, _OIT, 0) + +ORGANIZATION_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _ONFE, + {_smit: _c, _sE: 400}, + (_M,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ONIAFME, + {_smit: _c, _sE: 400}, + (_M,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +SERVICE_ACCESS_NOT_ENABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SANEE, + {_smit: _c, _sE: 400}, + (_M,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_3.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_3.py new file mode 100644 index 000000000..295e8088b --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_3.py @@ -0,0 +1,997 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_m = "message" +_sV = "smithy.api#enumValue" +_oEPT = "organizationsEntityPathType" +_EP = "EntityPath" +_me = "member" +_UN = "UserName" +_AKI = "AccessKeyId" +_CD = "CreateDate" +_AKLU = "AccessKeyLastUsed" +_M = "Message" +_RLU = "RoleLastUsed" +_Ro = "Role" +_Pa = "Path" +_RN = "RoleName" +_RI = "RoleId" +_Ar = "Arn" +_ARPD = "AssumeRolePolicyDocument" +_D = "Description" +_PB = "PermissionsBoundary" +_Ta = "Tags" +_GN = "GroupName" +_PN = "PolicyName" +_smithy = "smithy.api#default" +_G = "Group" +_GI = "GroupId" +_Rol = "Roles" +_PD = "PolicyDocument" +_PI = "PolicyId" +_DVI = "DefaultVersionId" +_AC = "AttachmentCount" +_PBUC = "PermissionsBoundaryUsageCount" +_IA = "IsAttachable" +_UD = "UpdateDate" +_Us = "User" +_UI = "UserId" +_SNer = "SerialNumber" +_OI = "OrganizationId" +_EF = "EnabledFeatures" +_DORSI = "DisableOrganizationsRootSessionsInput" +_cDORSR = "com.amazonaws.iam#DisableOrganizationsRootSessionsRequest" +_DORSO = "DisableOrganizationsRootSessionsOutput" +_cDORSRo = "com.amazonaws.iam#DisableOrganizationsRootSessionsResponse" +_DORS = "DisableOrganizationsRootSessions" +_DOWIFI = "DisableOutboundWebIdentityFederationInput" +_DOWIFO = "DisableOutboundWebIdentityFederationOutput" +_FDM = "FeatureDisabledMessage" +_FDE = "FeatureDisabledException" +_DOWIF = "DisableOutboundWebIdentityFederation" +_EMFADI = "EnableMFADeviceInput" +_cEMFADR = "com.amazonaws.iam#EnableMFADeviceRequest" +_ACu = "AuthenticationCode1" +_ACut = "AuthenticationCode2" +_EMFADO = "EnableMFADeviceOutput" +_iACM = "invalidAuthenticationCodeMessage" +_IACE = "InvalidAuthenticationCodeException" +_EMFAD = "EnableMFADevice" +_CINMAE = "CallerIsNotManagementAccountException" +_EORCMI = "EnableOrganizationsRootCredentialsManagementInput" +_cEORCMR = "com.amazonaws.iam#EnableOrganizationsRootCredentialsManagementRequest" +_EORCMO = "EnableOrganizationsRootCredentialsManagementOutput" +_cEORCMRo = "com.amazonaws.iam#EnableOrganizationsRootCredentialsManagementResponse" +_EORCM = "EnableOrganizationsRootCredentialsManagement" +_EORSI = "EnableOrganizationsRootSessionsInput" +_cEORSR = "com.amazonaws.iam#EnableOrganizationsRootSessionsRequest" +_EORSO = "EnableOrganizationsRootSessionsOutput" +_cEORSRo = "com.amazonaws.iam#EnableOrganizationsRootSessionsResponse" +_EORS = "EnableOrganizationsRootSessions" +_EOWIFI = "EnableOutboundWebIdentityFederationInput" +_EOWIFO = "EnableOutboundWebIdentityFederationOutput" +_cEOWIFR = "com.amazonaws.iam#EnableOutboundWebIdentityFederationResponse" +_II = "IssuerIdentifier" +_FEM = "FeatureEnabledMessage" +_FEE = "FeatureEnabledException" +_EOWIF = "EnableOutboundWebIdentityFederation" +_GCRI = "GenerateCredentialReportInput" +_RSDT = "ReportStateDescriptionType" +_RST = "ReportStateType" +_STARTED = "STARTED" +_INPROGRESS = "INPROGRESS" +_COMPLETE = "COMPLETE" +_GCRO = "GenerateCredentialReportOutput" +_cGCRR = "com.amazonaws.iam#GenerateCredentialReportResponse" +_St = "State" +_GCR = "GenerateCredentialReport" +_oPIT = "organizationsPolicyIdType" +_GOARI = "GenerateOrganizationsAccessReportInput" +_cGOARR = "com.amazonaws.iam#GenerateOrganizationsAccessReportRequest" +_OPI = "OrganizationsPolicyId" +_jIDT = "jobIDType" +_GOARO = "GenerateOrganizationsAccessReportOutput" +_cGOARRo = "com.amazonaws.iam#GenerateOrganizationsAccessReportResponse" +_JI = "JobId" +_rGLEM = "reportGenerationLimitExceededMessage" +_RGLEE = "ReportGenerationLimitExceededException" +_GOAR = "GenerateOrganizationsAccessReport" +_GSLADI = "GenerateServiceLastAccessedDetailsInput" +_cGSLADR = "com.amazonaws.iam#GenerateServiceLastAccessedDetailsRequest" +_Gr = "Granularity" +_GSLADO = "GenerateServiceLastAccessedDetailsOutput" +_cGSLADRo = "com.amazonaws.iam#GenerateServiceLastAccessedDetailsResponse" +_GSLAD = "GenerateServiceLastAccessedDetails" +_GAKLUI = "GetAccessKeyLastUsedInput" +_cGAKLUR = "com.amazonaws.iam#GetAccessKeyLastUsedRequest" +_GAKLUO = "GetAccessKeyLastUsedOutput" +_cGAKLURo = "com.amazonaws.iam#GetAccessKeyLastUsedResponse" +_GAKLU = "GetAccessKeyLastUsed" +_ET = "EntityType" +_LMP = "LocalManagedPolicy" +_AWSMP = "AWSManagedPolicy" +_eLT = "entityListType" +_mT = "markerType" +_mIT = "maxItemsType" +_GAADI = "GetAccountAuthorizationDetailsInput" +_cGAADR = "com.amazonaws.iam#GetAccountAuthorizationDetailsRequest" +_F = "Filter" +_MI = "MaxItems" +_Ma = "Marker" +_PDo = "PolicyDetail" +_pDLT = "policyDetailListType" +_GD = "GroupDetail" +_GPL = "GroupPolicyList" +_AMP = "AttachedManagedPolicies" +_gDLT = "groupDetailListType" +_rMTe = "responseMarkerType" +_pDVLT = "policyDocumentVersionListType" +_MPD = "ManagedPolicyDetail" +_PVL = "PolicyVersionList" +_MPDLT = "ManagedPolicyDetailListType" +_iPLT = "instanceProfileListType" +_RD = "RoleDetail" +_IPL = "InstanceProfileList" +_RPL = "RolePolicyList" +_rDLT = "roleDetailListType" +_gNLT = "groupNameListType" +_UDs = "UserDetail" +_UPL = "UserPolicyList" +_GL = "GroupList" +_uDLT = "userDetailListType" +_GAADO = "GetAccountAuthorizationDetailsOutput" +_cGAADRo = "com.amazonaws.iam#GetAccountAuthorizationDetailsResponse" +_UDL = "UserDetailList" +_GDL = "GroupDetailList" +_RDL = "RoleDetailList" +_Po = "Policies" +_IT = "IsTruncated" +_GAAD = "GetAccountAuthorizationDetails" +_GAPPI = "GetAccountPasswordPolicyInput" +_mPAT = "maxPasswordAgeType" +_mPLT = "minimumPasswordLengthType" +_pRPT = "passwordReusePreventionType" +_PPa = "PasswordPolicy" +_MPL = "MinimumPasswordLength" +_RSe = "RequireSymbols" +_RNe = "RequireNumbers" +_RUC = "RequireUppercaseCharacters" +_RLC = "RequireLowercaseCharacters" +_AUTCP = "AllowUsersToChangePassword" +_EPx = "ExpirePasswords" +_MPA = "MaxPasswordAge" +_PRP = "PasswordReusePrevention" +_HE = "HardExpiry" +_GAPPO = "GetAccountPasswordPolicyOutput" +_cGAPPR = "com.amazonaws.iam#GetAccountPasswordPolicyResponse" +_GAPP = "GetAccountPasswordPolicy" +_GAPI = "GetAccountPropertiesInput" +_cGAPR = "com.amazonaws.iam#GetAccountPropertiesRequest" +_GAPO = "GetAccountPropertiesOutput" +_cGAPRo = "com.amazonaws.iam#GetAccountPropertiesResponse" +_Pr = "Properties" +_GAP = "GetAccountProperties" +_GASI = "GetAccountSummaryInput" +_sKT = "summaryKeyType" +_Use = "Users" +_UQ = "UsersQuota" +_Gro = "Groups" +_GQ = "GroupsQuota" +_SC = "ServerCertificates" +_SCQ = "ServerCertificatesQuota" +_UPSQ = "UserPolicySizeQuota" +_GPSQ = "GroupPolicySizeQuota" +_GPUQ = "GroupsPerUserQuota" +_SCPUQ = "SigningCertificatesPerUserQuota" +_AKPUQ = "AccessKeysPerUserQuota" +_MFAD = "MFADevices" +_MFADIU = "MFADevicesInUse" +_AMFAE = "AccountMFAEnabled" +_AAKP = "AccountAccessKeysPresent" +_APP = "AccountPasswordPresent" +_ASCP = "AccountSigningCertificatesPresent" +_APPGQ = "AttachedPoliciesPerGroupQuota" +_APPRQ = "AttachedPoliciesPerRoleQuota" +_APPUQ = "AttachedPoliciesPerUserQuota" +_PQ = "PoliciesQuota" +_PSQ = "PolicySizeQuota" +_PVIU = "PolicyVersionsInUse" +_PVIUQ = "PolicyVersionsInUseQuota" +_VPPQ = "VersionsPerPolicyQuota" +_GETV = "GlobalEndpointTokenVersion" +_ARPSQ = "AssumeRolePolicySizeQuota" +_IPn = "InstanceProfiles" +_IPQ = "InstanceProfilesQuota" +_Pro = "Providers" +_RPSQ = "RolePolicySizeQuota" +_RQ = "RolesQuota" +_GASO = "GetAccountSummaryOutput" +_cGASR = "com.amazonaws.iam#GetAccountSummaryResponse" +_SM = "SummaryMap" +_GAS = "GetAccountSummary" + +ORGANIZATIONS_ENTITY_PATH_TYPE: StaticSchema = (3, n0, _oEPT, 0) + +DISABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DORSI, + {_sSI: _cDORSR, _s: None}, +) + +DISABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DORSO, + {_sSI: _cDORSRo, _smi: None}, + (_OI, _EF), + ( + (lambda: schemas.ORGANIZATION_ID_TYPE, 0), + (lambda: schemas.FEATURES_LIST_TYPE, 0), + ), +) + +DISABLE_ORGANIZATIONS_ROOT_SESSIONS: StaticOperationSchema = ( + 23, + n0, + _DORS, + 0, + DISABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT, + DISABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT, + ( + lambda: schemas.ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_FOUND_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: schemas.SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, + ), +) + +DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT: StaticSchema = ( + 18, + n0, + _DOWIFI, + {_sSI: _sU, _s: None}, +) + +DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DOWIFO, + {_sSI: _sU, _smi: None}, +) + +DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION: StaticOperationSchema = ( + 23, + n0, + _DOWIF, + 0, + DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT, + DISABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT, + (lambda: FEATURE_DISABLED_EXCEPTION,), +) + +FEATURE_DISABLED_MESSAGE: StaticSchema = (3, n0, _FDM, 0) + +FEATURE_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _FDE, + { + _smit: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "FeatureDisabled", "httpResponseCode": 404}), + }, + (_m,), + ((FEATURE_DISABLED_MESSAGE, 0),), +) + +ENABLE_MFA_DEVICE_INPUT: StaticSchema = ( + 18, + n0, + _EMFADI, + {_sSI: _cEMFADR, _s: None}, + (_UN, _SNer, _ACu, _ACut), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.SERIAL_NUMBER_TYPE, 1), + (lambda: schemas.AUTHENTICATION_CODE_TYPE, 1), + (lambda: schemas.AUTHENTICATION_CODE_TYPE, 1), + ), +) + +ENABLE_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _EMFADO, {_sSI: _sU, _smi: None}) + +ENABLE_MFA_DEVICE: StaticOperationSchema = ( + 23, + n0, + _EMFAD, + 0, + ENABLE_MFA_DEVICE_INPUT, + ENABLE_MFA_DEVICE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, + lambda: INVALID_AUTHENTICATION_CODE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +INVALID_AUTHENTICATION_CODE_MESSAGE: StaticSchema = (3, n0, _iACM, 0) + +INVALID_AUTHENTICATION_CODE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IACE, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "InvalidAuthenticationCode", "httpResponseCode": 403} + ), + }, + (_m,), + ((INVALID_AUTHENTICATION_CODE_MESSAGE, 0),), +) + +CALLER_IS_NOT_MANAGEMENT_ACCOUNT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CINMAE, + {_smit: _c, _sE: 400}, + (_M,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT: StaticSchema = ( + 18, + n0, + _EORCMI, + {_sSI: _cEORCMR, _s: None}, +) + +ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _EORCMO, + {_sSI: _cEORCMRo, _smi: None}, + (_OI, _EF), + ( + (lambda: schemas.ORGANIZATION_ID_TYPE, 0), + (lambda: schemas.FEATURES_LIST_TYPE, 0), + ), +) + +ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT: StaticOperationSchema = ( + 23, + n0, + _EORCM, + 0, + ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_INPUT, + ENABLE_ORGANIZATIONS_ROOT_CREDENTIALS_MANAGEMENT_OUTPUT, + ( + lambda: schemas.ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, + CALLER_IS_NOT_MANAGEMENT_ACCOUNT_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_FOUND_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: schemas.SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, + ), +) + +ENABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT: StaticSchema = ( + 18, + n0, + _EORSI, + {_sSI: _cEORSR, _s: None}, +) + +ENABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _EORSO, + {_sSI: _cEORSRo, _smi: None}, + (_OI, _EF), + ( + (lambda: schemas.ORGANIZATION_ID_TYPE, 0), + (lambda: schemas.FEATURES_LIST_TYPE, 0), + ), +) + +ENABLE_ORGANIZATIONS_ROOT_SESSIONS: StaticOperationSchema = ( + 23, + n0, + _EORS, + 0, + ENABLE_ORGANIZATIONS_ROOT_SESSIONS_INPUT, + ENABLE_ORGANIZATIONS_ROOT_SESSIONS_OUTPUT, + ( + lambda: schemas.ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, + CALLER_IS_NOT_MANAGEMENT_ACCOUNT_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_FOUND_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: schemas.SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, + ), +) + +ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT: StaticSchema = ( + 18, + n0, + _EOWIFI, + {_sSI: _sU, _s: None}, +) + +ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT: StaticSchema = ( + 18, + n0, + _EOWIFO, + {_sSI: _cEOWIFR, _smi: None}, + (_II,), + ((lambda: schemas.STRING_TYPE, 0),), +) + +ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION: StaticOperationSchema = ( + 23, + n0, + _EOWIF, + 0, + ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_INPUT, + ENABLE_OUTBOUND_WEB_IDENTITY_FEDERATION_OUTPUT, + (lambda: FEATURE_ENABLED_EXCEPTION,), +) + +FEATURE_ENABLED_MESSAGE: StaticSchema = (3, n0, _FEM, 0) + +FEATURE_ENABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _FEE, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType({"code": "FeatureEnabled", "httpResponseCode": 409}), + }, + (_m,), + ((FEATURE_ENABLED_MESSAGE, 0),), +) + +GENERATE_CREDENTIAL_REPORT_INPUT: StaticSchema = (18, n0, _GCRI, {_sSI: _sU, _s: None}) + +GENERATE_CREDENTIAL_REPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _GCRO, + {_sSI: _cGCRR, _smi: None}, + (_St, _D), + ((lambda: REPORT_STATE_TYPE, 0), (lambda: REPORT_STATE_DESCRIPTION_TYPE, 0)), +) + +GENERATE_CREDENTIAL_REPORT: StaticOperationSchema = ( + 23, + n0, + _GCR, + 0, + GENERATE_CREDENTIAL_REPORT_INPUT, + GENERATE_CREDENTIAL_REPORT_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +REPORT_STATE_DESCRIPTION_TYPE: StaticSchema = (3, n0, _RSDT, 0) + +REPORT_STATE_TYPE: StaticSchema = ( + 14, + n0, + _RST, + 0, + (_STARTED, _INPROGRESS, _COMPLETE), + ((-1, {_sV: _STARTED}), (-1, {_sV: _INPROGRESS}), (-1, {_sV: _COMPLETE})), +) + +ORGANIZATIONS_POLICY_ID_TYPE: StaticSchema = (3, n0, _oPIT, 0) + +GENERATE_ORGANIZATIONS_ACCESS_REPORT_INPUT: StaticSchema = ( + 18, + n0, + _GOARI, + {_sSI: _cGOARR, _s: None}, + (_EP, _OPI), + ((ORGANIZATIONS_ENTITY_PATH_TYPE, 1), (ORGANIZATIONS_POLICY_ID_TYPE, 0)), +) + +GENERATE_ORGANIZATIONS_ACCESS_REPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _GOARO, + {_sSI: _cGOARRo, _smi: None}, + (_JI,), + ((lambda: JOB_ID_TYPE, 0),), +) + +GENERATE_ORGANIZATIONS_ACCESS_REPORT: StaticOperationSchema = ( + 23, + n0, + _GOAR, + 0, + GENERATE_ORGANIZATIONS_ACCESS_REPORT_INPUT, + GENERATE_ORGANIZATIONS_ACCESS_REPORT_OUTPUT, + (lambda: REPORT_GENERATION_LIMIT_EXCEEDED_EXCEPTION,), +) + +JOB_ID_TYPE: StaticSchema = (3, n0, _jIDT, 0) + +REPORT_GENERATION_LIMIT_EXCEEDED_MESSAGE: StaticSchema = (3, n0, _rGLEM, 0) + +REPORT_GENERATION_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _RGLEE, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "ReportGenerationLimitExceeded", "httpResponseCode": 409} + ), + }, + (_m,), + ((REPORT_GENERATION_LIMIT_EXCEEDED_MESSAGE, 0),), +) + +GENERATE_SERVICE_LAST_ACCESSED_DETAILS_INPUT: StaticSchema = ( + 18, + n0, + _GSLADI, + {_sSI: _cGSLADR, _s: None}, + (_Ar, _Gr), + ( + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.ACCESS_ADVISOR_USAGE_GRANULARITY_TYPE, 0), + ), +) + +GENERATE_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT: StaticSchema = ( + 18, + n0, + _GSLADO, + {_sSI: _cGSLADRo, _smi: None}, + (_JI,), + ((JOB_ID_TYPE, 0),), +) + +GENERATE_SERVICE_LAST_ACCESSED_DETAILS: StaticOperationSchema = ( + 23, + n0, + _GSLAD, + 0, + GENERATE_SERVICE_LAST_ACCESSED_DETAILS_INPUT, + GENERATE_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT, + (lambda: schemas.INVALID_INPUT_EXCEPTION, lambda: schemas.NO_SUCH_ENTITY_EXCEPTION), +) + +GET_ACCESS_KEY_LAST_USED_INPUT: StaticSchema = ( + 18, + n0, + _GAKLUI, + {_sSI: _cGAKLUR, _s: None}, + (_AKI,), + ((lambda: schemas.ACCESS_KEY_ID_TYPE, 1),), +) + +GET_ACCESS_KEY_LAST_USED_OUTPUT: StaticSchema = ( + 18, + n0, + _GAKLUO, + {_sSI: _cGAKLURo, _smi: None}, + (_UN, _AKLU), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.ACCESS_KEY_LAST_USED, 0), + ), +) + +GET_ACCESS_KEY_LAST_USED: StaticOperationSchema = ( + 23, + n0, + _GAKLU, + 0, + GET_ACCESS_KEY_LAST_USED_INPUT, + GET_ACCESS_KEY_LAST_USED_OUTPUT, + (), +) + +ENTITY_TYPE: StaticSchema = ( + 14, + n0, + _ET, + 0, + (_Us, _Ro, _G, _LMP, _AWSMP), + ( + (-1, {_sV: _Us}), + (-1, {_sV: _Ro}), + (-1, {_sV: _G}), + (-1, {_sV: _LMP}), + (-1, {_sV: _AWSMP}), + ), +) + +ENTITY_LIST_TYPE: StaticSchema = (16, n0, _eLT, 0, (_me,), ((ENTITY_TYPE, 0),)) + +MARKER_TYPE: StaticSchema = (3, n0, _mT, 0) + +MAX_ITEMS_TYPE: StaticSchema = (7, n0, _mIT, 0) + +GET_ACCOUNT_AUTHORIZATION_DETAILS_INPUT: StaticSchema = ( + 18, + n0, + _GAADI, + {_sSI: _cGAADR, _s: None}, + (_F, _MI, _Ma), + ((ENTITY_LIST_TYPE, 0), (MAX_ITEMS_TYPE, 0), (MARKER_TYPE, 0)), +) + +GET_ACCOUNT_AUTHORIZATION_DETAILS_OUTPUT: StaticSchema = ( + 18, + n0, + _GAADO, + {_sSI: _cGAADRo, _smi: None}, + (_UDL, _GDL, _RDL, _Po, _IT, _Ma), + ( + (lambda: USER_DETAIL_LIST_TYPE, 0), + (lambda: GROUP_DETAIL_LIST_TYPE, 0), + (lambda: ROLE_DETAIL_LIST_TYPE, 0), + (lambda: MANAGED_POLICY_DETAIL_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: RESPONSE_MARKER_TYPE, 0), + ), +) + +GET_ACCOUNT_AUTHORIZATION_DETAILS: StaticOperationSchema = ( + 23, + n0, + _GAAD, + 0, + GET_ACCOUNT_AUTHORIZATION_DETAILS_INPUT, + GET_ACCOUNT_AUTHORIZATION_DETAILS_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +POLICY_DETAIL: StaticSchema = ( + 18, + n0, + _PDo, + 0, + (_PN, _PD), + ((lambda: schemas.POLICY_NAME_TYPE, 0), (lambda: schemas.POLICY_DOCUMENT_TYPE, 0)), +) + +POLICY_DETAIL_LIST_TYPE: StaticSchema = ( + 16, + n0, + _pDLT, + 0, + (_me,), + ((POLICY_DETAIL, 0),), +) + +GROUP_DETAIL: StaticSchema = ( + 18, + n0, + _GD, + 0, + (_Pa, _GN, _GI, _Ar, _CD, _GPL, _AMP), + ( + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.GROUP_NAME_TYPE, 0), + (lambda: schemas.ID_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (POLICY_DETAIL_LIST_TYPE, 0), + (lambda: schemas.ATTACHED_POLICIES_LIST_TYPE, 0), + ), +) + +GROUP_DETAIL_LIST_TYPE: StaticSchema = (16, n0, _gDLT, 0, (_me,), ((GROUP_DETAIL, 0),)) + +RESPONSE_MARKER_TYPE: StaticSchema = (3, n0, _rMTe, 0) + +POLICY_DOCUMENT_VERSION_LIST_TYPE: StaticSchema = ( + 16, + n0, + _pDVLT, + 0, + (_me,), + ((lambda: schemas.POLICY_VERSION, 0),), +) + +MANAGED_POLICY_DETAIL: StaticSchema = ( + 18, + n0, + _MPD, + 0, + (_PN, _PI, _Ar, _Pa, _DVI, _AC, _PBUC, _IA, _D, _CD, _UD, _PVL), + ( + (lambda: schemas.POLICY_NAME_TYPE, 0), + (lambda: schemas.ID_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.POLICY_PATH_TYPE, 0), + (lambda: schemas.POLICY_VERSION_ID_TYPE, 0), + (lambda: schemas.ATTACHMENT_COUNT_TYPE, 0), + (lambda: schemas.ATTACHMENT_COUNT_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.POLICY_DESCRIPTION_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (POLICY_DOCUMENT_VERSION_LIST_TYPE, 0), + ), +) + +MANAGED_POLICY_DETAIL_LIST_TYPE: StaticSchema = ( + 16, + n0, + _MPDLT, + 0, + (_me,), + ((MANAGED_POLICY_DETAIL, 0),), +) + +INSTANCE_PROFILE_LIST_TYPE: StaticSchema = ( + 16, + n0, + _iPLT, + 0, + (_me,), + ((lambda: schemas.INSTANCE_PROFILE, 0),), +) + +ROLE_DETAIL: StaticSchema = ( + 18, + n0, + _RD, + 0, + (_Pa, _RN, _RI, _Ar, _CD, _ARPD, _IPL, _RPL, _AMP, _PB, _Ta, _RLU), + ( + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.ROLE_NAME_TYPE, 0), + (lambda: schemas.ID_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 0), + (INSTANCE_PROFILE_LIST_TYPE, 0), + (POLICY_DETAIL_LIST_TYPE, 0), + (lambda: schemas.ATTACHED_POLICIES_LIST_TYPE, 0), + (lambda: schemas.ATTACHED_PERMISSIONS_BOUNDARY, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + (lambda: schemas.ROLE_LAST_USED, 0), + ), +) + +ROLE_DETAIL_LIST_TYPE: StaticSchema = (16, n0, _rDLT, 0, (_me,), ((ROLE_DETAIL, 0),)) + +GROUP_NAME_LIST_TYPE: StaticSchema = ( + 16, + n0, + _gNLT, + 0, + (_me,), + ((lambda: schemas.GROUP_NAME_TYPE, 0),), +) + +USER_DETAIL: StaticSchema = ( + 18, + n0, + _UDs, + 0, + (_Pa, _UN, _UI, _Ar, _CD, _UPL, _GL, _AMP, _PB, _Ta), + ( + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.USER_NAME_TYPE, 0), + (lambda: schemas.ID_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (POLICY_DETAIL_LIST_TYPE, 0), + (GROUP_NAME_LIST_TYPE, 0), + (lambda: schemas.ATTACHED_POLICIES_LIST_TYPE, 0), + (lambda: schemas.ATTACHED_PERMISSIONS_BOUNDARY, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +USER_DETAIL_LIST_TYPE: StaticSchema = (16, n0, _uDLT, 0, (_me,), ((USER_DETAIL, 0),)) + +GET_ACCOUNT_PASSWORD_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GAPPI, + {_sSI: _sU, _s: None}, +) + +GET_ACCOUNT_PASSWORD_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GAPPO, + {_sSI: _cGAPPR, _smi: None}, + (_PPa,), + ((lambda: PASSWORD_POLICY, 1),), +) + +GET_ACCOUNT_PASSWORD_POLICY: StaticOperationSchema = ( + 23, + n0, + _GAPP, + 0, + GET_ACCOUNT_PASSWORD_POLICY_INPUT, + GET_ACCOUNT_PASSWORD_POLICY_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +MAX_PASSWORD_AGE_TYPE: StaticSchema = (7, n0, _mPAT, 0) + +MINIMUM_PASSWORD_LENGTH_TYPE: StaticSchema = (7, n0, _mPLT, 0) + +PASSWORD_REUSE_PREVENTION_TYPE: StaticSchema = (7, n0, _pRPT, 0) + +PASSWORD_POLICY: StaticSchema = ( + 18, + n0, + _PPa, + 0, + (_MPL, _RSe, _RNe, _RUC, _RLC, _AUTCP, _EPx, _MPA, _PRP, _HE), + ( + (MINIMUM_PASSWORD_LENGTH_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (MAX_PASSWORD_AGE_TYPE, 0), + (PASSWORD_REUSE_PREVENTION_TYPE, 0), + (lambda: schemas.BOOLEAN_OBJECT_TYPE, 0), + ), +) + +GET_ACCOUNT_PROPERTIES_INPUT: StaticSchema = (18, n0, _GAPI, {_sSI: _cGAPR, _s: None}) + +GET_ACCOUNT_PROPERTIES_OUTPUT: StaticSchema = ( + 18, + n0, + _GAPO, + {_sSI: _cGAPRo, _smi: None}, + (_Pr,), + ((lambda: schemas.ACCOUNT_PROPERTIES_MAP_TYPE, 0),), +) + +GET_ACCOUNT_PROPERTIES: StaticOperationSchema = ( + 23, + n0, + _GAP, + 0, + GET_ACCOUNT_PROPERTIES_INPUT, + GET_ACCOUNT_PROPERTIES_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GET_ACCOUNT_SUMMARY_INPUT: StaticSchema = (18, n0, _GASI, {_sSI: _sU, _s: None}) + +GET_ACCOUNT_SUMMARY_OUTPUT: StaticSchema = ( + 18, + n0, + _GASO, + {_sSI: _cGASR, _smi: None}, + (_SM,), + ((lambda: schemas.SUMMARY_MAP_TYPE, 0),), +) + +GET_ACCOUNT_SUMMARY: StaticOperationSchema = ( + 23, + n0, + _GAS, + 0, + GET_ACCOUNT_SUMMARY_INPUT, + GET_ACCOUNT_SUMMARY_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +SUMMARY_KEY_TYPE: StaticSchema = ( + 14, + n0, + _sKT, + 0, + ( + _Use, + _UQ, + _Gro, + _GQ, + _SC, + _SCQ, + _UPSQ, + _GPSQ, + _GPUQ, + _SCPUQ, + _AKPUQ, + _MFAD, + _MFADIU, + _AMFAE, + _AAKP, + _APP, + _ASCP, + _APPGQ, + _APPRQ, + _APPUQ, + _Po, + _PQ, + _PSQ, + _PVIU, + _PVIUQ, + _VPPQ, + _GETV, + _ARPSQ, + _IPn, + _IPQ, + _Pro, + _RPSQ, + _Rol, + _RQ, + ), + ( + (-1, {_sV: _Use}), + (-1, {_sV: _UQ}), + (-1, {_sV: _Gro}), + (-1, {_sV: _GQ}), + (-1, {_sV: _SC}), + (-1, {_sV: _SCQ}), + (-1, {_sV: _UPSQ}), + (-1, {_sV: _GPSQ}), + (-1, {_sV: _GPUQ}), + (-1, {_sV: _SCPUQ}), + (-1, {_sV: _AKPUQ}), + (-1, {_sV: _MFAD}), + (-1, {_sV: _MFADIU}), + (-1, {_sV: _AMFAE}), + (-1, {_sV: _AAKP}), + (-1, {_sV: _APP}), + (-1, {_sV: _ASCP}), + (-1, {_sV: _APPGQ}), + (-1, {_sV: _APPRQ}), + (-1, {_sV: _APPUQ}), + (-1, {_sV: _Po}), + (-1, {_sV: _PQ}), + (-1, {_sV: _PSQ}), + (-1, {_sV: _PVIU}), + (-1, {_sV: _PVIUQ}), + (-1, {_sV: _VPPQ}), + (-1, {_sV: _GETV}), + (-1, {_sV: _ARPSQ}), + (-1, {_sV: _IPn}), + (-1, {_sV: _IPQ}), + (-1, {_sV: _Pro}), + (-1, {_sV: _RPSQ}), + (-1, {_sV: _Rol}), + (-1, {_sV: _RQ}), + ), +) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_4.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_4.py new file mode 100644 index 000000000..7467d3b8a --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_4.py @@ -0,0 +1,1084 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_DRI = "DelegationRequestId" +_sm = "smithy.api#required" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_m = "message" +_sV = "smithy.api#enumValue" +_ADc = "AccessDetails" +_me = "member" +_UN = "UserName" +_CD = "CreateDate" +_M = "Message" +_k = "key" +_v = "value" +_TA = "TemplateArn" +_P = "Policy" +_Ro = "Role" +_RN = "RoleName" +_D = "Description" +_Ta = "Tags" +_OIDCPA = "OpenIDConnectProviderArn" +_IPN = "InstanceProfileName" +_GN = "GroupName" +_PN = "PolicyName" +_PA = "PolicyArn" +_smithy = "smithy.api#default" +_OAI = "OwnerAccountId" +_Pe = "Permissions" +_RM = "RequestMessage" +_RU = "RedirectUrl" +_SD = "SessionDuration" +_OSBO = "OnlySendByOwner" +_G = "Group" +_IP = "InstanceProfile" +_LP = "LoginProfile" +_Ur = "Url" +_CIDL = "ClientIDList" +_TL = "ThumbprintList" +_PD = "PolicyDocument" +_PV = "PolicyVersion" +_VI = "VersionId" +_SNer = "SerialNumber" +_EDn = "EnableDate" +_II = "IssuerIdentifier" +_COMPLETE = "COMPLETE" +_St = "State" +_JI = "JobId" +_MI = "MaxItems" +_Ma = "Marker" +_IT = "IsTruncated" +_Use = "Users" +_sVT = "summaryValueType" +_sMT = "summaryMapType" +_SPLT = "SimulationPolicyListType" +_GCKFCPI = "GetContextKeysForCustomPolicyInput" +_cGCKFCPR = "com.amazonaws.iam#GetContextKeysForCustomPolicyRequest" +_PIL = "PolicyInputList" +_CKNT = "ContextKeyNameType" +_CKNRLT = "ContextKeyNamesResultListType" +_GCKFCPO = "GetContextKeysForCustomPolicyOutput" +_cGCKFPR = "com.amazonaws.iam#GetContextKeysForPolicyResponse" +_CKN = "ContextKeyNames" +_GCKFCP = "GetContextKeysForCustomPolicy" +_GCKFPPI = "GetContextKeysForPrincipalPolicyInput" +_cGCKFPPR = "com.amazonaws.iam#GetContextKeysForPrincipalPolicyRequest" +_PSA = "PolicySourceArn" +_GCKFPPO = "GetContextKeysForPrincipalPolicyOutput" +_GCKFPP = "GetContextKeysForPrincipalPolicy" +_cREEM = "credentialReportExpiredExceptionMessage" +_CREE = "CredentialReportExpiredException" +_cRNPEM = "credentialReportNotPresentExceptionMessage" +_CRNPE = "CredentialReportNotPresentException" +_cRNREM = "credentialReportNotReadyExceptionMessage" +_CRNRE = "CredentialReportNotReadyException" +_GCRIe = "GetCredentialReportInput" +_RCT = "ReportContentType" +_RFT = "ReportFormatType" +_tc = "text_csv" +_t = "text/csv" +_GCROe = "GetCredentialReportOutput" +_cGCRRo = "com.amazonaws.iam#GetCredentialReportResponse" +_C = "Content" +_RF = "ReportFormat" +_GT = "GeneratedTime" +_GCRe = "GetCredentialReport" +_GDRI = "GetDelegationRequestInput" +_cGDRR = "com.amazonaws.iam#GetDelegationRequestRequest" +_DPC = "DelegationPermissionCheck" +_nT = "notesType" +_oIT = "ownerIdType" +_pTe = "permissionType" +_rNTe = "requestorNameType" +_rPRALT = "rolePermissionRestrictionArnListType" +_sTta = "stateType" +_UNASSIGNED = "UNASSIGNED" +_ASSIGNED = "ASSIGNED" +_PA_ = "PENDING_APPROVAL" +_FINALIZED = "FINALIZED" +_ACCEPTED = "ACCEPTED" +_REJECTED = "REJECTED" +_EXPIRED = "EXPIRED" +_DRe = "DelegationRequest" +_PPe = "PermissionPolicy" +_RPRA = "RolePermissionRestrictionArns" +_OIw = "OwnerId" +_AI = "ApproverId" +_ETx = "ExpirationTime" +_RIe = "RequestorId" +_RNeq = "RequestorName" +_No = "Notes" +_RR = "RejectionReason" +_UT = "UpdatedTime" +_pCRT = "permissionCheckResultType" +_ALLOWED = "ALLOWED" +_DENIED = "DENIED" +_UNSURE = "UNSURE" +_pCST = "permissionCheckStatusType" +_IP_ = "IN_PROGRESS" +_FAILED = "FAILED" +_GDRO = "GetDelegationRequestOutput" +_cGDRRo = "com.amazonaws.iam#GetDelegationRequestResponse" +_PCS = "PermissionCheckStatus" +_PCR = "PermissionCheckResult" +_GDR = "GetDelegationRequest" +_GGI = "GetGroupInput" +_cGGR = "com.amazonaws.iam#GetGroupRequest" +_GGO = "GetGroupOutput" +_cGGRo = "com.amazonaws.iam#GetGroupResponse" +_GG = "GetGroup" +_GGPI = "GetGroupPolicyInput" +_cGGPR = "com.amazonaws.iam#GetGroupPolicyRequest" +_GGPO = "GetGroupPolicyOutput" +_cGGPRo = "com.amazonaws.iam#GetGroupPolicyResponse" +_GGP = "GetGroupPolicy" +_lT = "localeType" +_GHRSI = "GetHumanReadableSummaryInput" +_cGHRSR = "com.amazonaws.iam#GetHumanReadableSummaryRequest" +_EA = "EntityArn" +_L = "Locale" +_sCT = "summaryContentType" +_sST = "summaryStateType" +_AVAILABLE = "AVAILABLE" +_NA = "NOT_AVAILABLE" +_NS = "NOT_SUPPORTED" +_GHRSO = "GetHumanReadableSummaryOutput" +_cGHRSRo = "com.amazonaws.iam#GetHumanReadableSummaryResponse" +_SCu = "SummaryContent" +_SS = "SummaryState" +_GHRS = "GetHumanReadableSummary" +_GIPI = "GetInstanceProfileInput" +_cGIPR = "com.amazonaws.iam#GetInstanceProfileRequest" +_GIPO = "GetInstanceProfileOutput" +_cGIPRo = "com.amazonaws.iam#GetInstanceProfileResponse" +_GIP = "GetInstanceProfile" +_GLPI = "GetLoginProfileInput" +_cGLPR = "com.amazonaws.iam#GetLoginProfileRequest" +_GLPO = "GetLoginProfileOutput" +_cGLPRo = "com.amazonaws.iam#GetLoginProfileResponse" +_GLP = "GetLoginProfile" +_GMFADI = "GetMFADeviceInput" +_cGMFADR = "com.amazonaws.iam#GetMFADeviceRequest" +_CKT = "CertificationKeyType" +_CVT = "CertificationValueType" +_CMT = "CertificationMapType" +_GMFADO = "GetMFADeviceOutput" +_cGMFADRo = "com.amazonaws.iam#GetMFADeviceResponse" +_Ce = "Certifications" +_GMFAD = "GetMFADevice" +_GOIDCPI = "GetOpenIDConnectProviderInput" +_cGOIDCPR = "com.amazonaws.iam#GetOpenIDConnectProviderRequest" +_GOIDCPO = "GetOpenIDConnectProviderOutput" +_cGOIDCPRo = "com.amazonaws.iam#GetOpenIDConnectProviderResponse" +_GOIDCP = "GetOpenIDConnectProvider" +_sKTo = "sortKeyType" +_SNA = "SERVICE_NAMESPACE_ASCENDING" +_SND = "SERVICE_NAMESPACE_DESCENDING" +_LATA = "LAST_AUTHENTICATED_TIME_ASCENDING" +_LATD = "LAST_AUTHENTICATED_TIME_DESCENDING" +_GOARIe = "GetOrganizationsAccessReportInput" +_cGOARRom = "com.amazonaws.iam#GetOrganizationsAccessReportRequest" +_SK = "SortKey" +_EDr = "ErrorDetails" +_Co = "Code" +_jST = "jobStatusType" +_COMPLETED = "COMPLETED" +_GOAROe = "GetOrganizationsAccessReportOutput" +_cGOARRoma = "com.amazonaws.iam#GetOrganizationsAccessReportResponse" +_JS = "JobStatus" +_JCD = "JobCreationDate" +_JCDo = "JobCompletionDate" +_NOSA = "NumberOfServicesAccessible" +_NOSNA = "NumberOfServicesNotAccessed" +_GOARe = "GetOrganizationsAccessReport" +_GOWIFII = "GetOutboundWebIdentityFederationInfoInput" +_GOWIFIO = "GetOutboundWebIdentityFederationInfoOutput" +_cGOWIFIR = "com.amazonaws.iam#GetOutboundWebIdentityFederationInfoResponse" +_JVE = "JwtVendingEnabled" +_GOWIFI = "GetOutboundWebIdentityFederationInfo" +_GPI = "GetPolicyInput" +_cGPR = "com.amazonaws.iam#GetPolicyRequest" +_GPO = "GetPolicyOutput" +_cGPRo = "com.amazonaws.iam#GetPolicyResponse" +_GP = "GetPolicy" +_GPVI = "GetPolicyVersionInput" +_cGPVR = "com.amazonaws.iam#GetPolicyVersionRequest" +_GPVO = "GetPolicyVersionOutput" +_cGPVRo = "com.amazonaws.iam#GetPolicyVersionResponse" +_GPV = "GetPolicyVersion" +_GRI = "GetRoleInput" +_cGRR = "com.amazonaws.iam#GetRoleRequest" +_GRO = "GetRoleOutput" +_cGRRo = "com.amazonaws.iam#GetRoleResponse" +_GR = "GetRole" +_GRPI = "GetRolePolicyInput" +_cGRPR = "com.amazonaws.iam#GetRolePolicyRequest" +_GRPO = "GetRolePolicyOutput" +_cGRPRo = "com.amazonaws.iam#GetRolePolicyResponse" +_GRP = "GetRolePolicy" +_mVT = "minorVersionType" +_GRTVI = "GetRoleTemplateVersionInput" +_cGRTVR = "com.amazonaws.iam#GetRoleTemplateVersionRequest" +_MV = "MinorVersion" +_RTV = "RoleTemplateVersion" +_GRTVO = "GetRoleTemplateVersionOutput" +_cGRTVRo = "com.amazonaws.iam#GetRoleTemplateVersionResponse" +_GRTV = "GetRoleTemplateVersion" + +SUMMARY_VALUE_TYPE: StaticSchema = (7, n0, _sVT, 0) + +SUMMARY_MAP_TYPE: StaticSchema = ( + 17, + n0, + _sMT, + 0, + (_k, _v), + ((lambda: schemas.SUMMARY_KEY_TYPE, 0), (SUMMARY_VALUE_TYPE, 0)), +) + +SIMULATION_POLICY_LIST_TYPE: StaticSchema = ( + 16, + n0, + _SPLT, + 0, + (_me,), + ((lambda: schemas.POLICY_DOCUMENT_TYPE, 0),), +) + +GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GCKFCPI, + {_sSI: _cGCKFCPR, _s: None}, + (_PIL,), + ((SIMULATION_POLICY_LIST_TYPE, 1),), +) + +GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GCKFCPO, + {_sSI: _cGCKFPR, _smi: None}, + (_CKN,), + ((lambda: CONTEXT_KEY_NAMES_RESULT_LIST_TYPE, 0),), +) + +GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY: StaticOperationSchema = ( + 23, + n0, + _GCKFCP, + 0, + GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_INPUT, + GET_CONTEXT_KEYS_FOR_CUSTOM_POLICY_OUTPUT, + (lambda: schemas.INVALID_INPUT_EXCEPTION,), +) + +CONTEXT_KEY_NAME_TYPE: StaticSchema = (3, n0, _CKNT, 0) + +CONTEXT_KEY_NAMES_RESULT_LIST_TYPE: StaticSchema = ( + 16, + n0, + _CKNRLT, + 0, + (_me,), + ((CONTEXT_KEY_NAME_TYPE, 0),), +) + +GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GCKFPPI, + {_sSI: _cGCKFPPR, _s: None}, + (_PSA, _PIL), + ((lambda: schemas.ARN_TYPE, 1), (SIMULATION_POLICY_LIST_TYPE, 0)), +) + +GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GCKFPPO, + {_sSI: _cGCKFPR, _smi: None}, + (_CKN,), + ((CONTEXT_KEY_NAMES_RESULT_LIST_TYPE, 0),), +) + +GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY: StaticOperationSchema = ( + 23, + n0, + _GCKFPP, + 0, + GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_INPUT, + GET_CONTEXT_KEYS_FOR_PRINCIPAL_POLICY_OUTPUT, + (lambda: schemas.INVALID_INPUT_EXCEPTION, lambda: schemas.NO_SUCH_ENTITY_EXCEPTION), +) + +CREDENTIAL_REPORT_EXPIRED_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _cREEM, 0) + +CREDENTIAL_REPORT_EXPIRED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CREE, + { + _smit: _c, + _sE: 410, + _aQE: MappingProxyType({"code": "ReportExpired", "httpResponseCode": 410}), + }, + (_m,), + ((CREDENTIAL_REPORT_EXPIRED_EXCEPTION_MESSAGE, 0),), +) + +CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _cRNPEM, 0) + +CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CRNPE, + { + _smit: _c, + _sE: 410, + _aQE: MappingProxyType({"code": "ReportNotPresent", "httpResponseCode": 410}), + }, + (_m,), + ((CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION_MESSAGE, 0),), +) + +CREDENTIAL_REPORT_NOT_READY_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _cRNREM, 0) + +CREDENTIAL_REPORT_NOT_READY_EXCEPTION: StaticSchema = ( + 18, + n0, + _CRNRE, + { + _smit: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "ReportInProgress", "httpResponseCode": 404}), + }, + (_m,), + ((CREDENTIAL_REPORT_NOT_READY_EXCEPTION_MESSAGE, 0),), +) + +GET_CREDENTIAL_REPORT_INPUT: StaticSchema = (18, n0, _GCRIe, {_sSI: _sU, _s: None}) + +GET_CREDENTIAL_REPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _GCROe, + {_sSI: _cGCRRo, _smi: None}, + (_C, _RF, _GT), + ( + (lambda: REPORT_CONTENT_TYPE, 0), + (lambda: REPORT_FORMAT_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +GET_CREDENTIAL_REPORT: StaticOperationSchema = ( + 23, + n0, + _GCRe, + 0, + GET_CREDENTIAL_REPORT_INPUT, + GET_CREDENTIAL_REPORT_OUTPUT, + ( + CREDENTIAL_REPORT_EXPIRED_EXCEPTION, + CREDENTIAL_REPORT_NOT_PRESENT_EXCEPTION, + CREDENTIAL_REPORT_NOT_READY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +REPORT_CONTENT_TYPE: StaticSchema = (1, n0, _RCT, 0) + +REPORT_FORMAT_TYPE: StaticSchema = (14, n0, _RFT, 0, (_tc,), ((-1, {_sV: _t}),)) + +GET_DELEGATION_REQUEST_INPUT: StaticSchema = ( + 18, + n0, + _GDRI, + {_sSI: _cGDRR, _s: None}, + (_DRI, _DPC), + ( + (lambda: schemas.DELEGATION_REQUEST_ID_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + ), +) + +GET_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( + 18, + n0, + _GDRO, + {_sSI: _cGDRRo, _smi: None}, + (_DRe, _PCS, _PCR), + ( + (lambda: DELEGATION_REQUEST, 0), + (lambda: PERMISSION_CHECK_STATUS_TYPE, 0), + (lambda: PERMISSION_CHECK_RESULT_TYPE, 0), + ), +) + +GET_DELEGATION_REQUEST: StaticOperationSchema = ( + 23, + n0, + _GDR, + 0, + GET_DELEGATION_REQUEST_INPUT, + GET_DELEGATION_REQUEST_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +NOTES_TYPE: StaticSchema = (3, n0, _nT, 0) + +OWNER_ID_TYPE: StaticSchema = (3, n0, _oIT, 0) + +PERMISSION_TYPE: StaticSchema = (3, n0, _pTe, 0) + +REQUESTOR_NAME_TYPE: StaticSchema = (3, n0, _rNTe, 0) + +ROLE_PERMISSION_RESTRICTION_ARN_LIST_TYPE: StaticSchema = ( + 16, + n0, + _rPRALT, + 0, + (_me,), + ((lambda: schemas.ARN_TYPE, 0),), +) + +STATE_TYPE: StaticSchema = ( + 14, + n0, + _sTta, + 0, + (_UNASSIGNED, _ASSIGNED, _PA_, _FINALIZED, _ACCEPTED, _REJECTED, _EXPIRED), + ( + (-1, {_sV: _UNASSIGNED}), + (-1, {_sV: _ASSIGNED}), + (-1, {_sV: _PA_}), + (-1, {_sV: _FINALIZED}), + (-1, {_sV: _ACCEPTED}), + (-1, {_sV: _REJECTED}), + (-1, {_sV: _EXPIRED}), + ), +) + +DELEGATION_REQUEST: StaticSchema = ( + 18, + n0, + _DRe, + 0, + ( + _DRI, + _OAI, + _D, + _RM, + _Pe, + _PPe, + _RPRA, + _OIw, + _AI, + _St, + _ETx, + _RIe, + _RNeq, + _CD, + _SD, + _RU, + _No, + _RR, + _OSBO, + _UT, + ), + ( + (lambda: schemas.DELEGATION_REQUEST_ID_TYPE, 0), + (lambda: schemas.ACCOUNT_ID_TYPE, 0), + (lambda: schemas.DELEGATION_REQUEST_DESCRIPTION_TYPE, 0), + (lambda: schemas.REQUEST_MESSAGE_TYPE, 0), + (lambda: schemas.DELEGATION_PERMISSION, 0), + (PERMISSION_TYPE, 0), + (ROLE_PERMISSION_RESTRICTION_ARN_LIST_TYPE, 0), + (OWNER_ID_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (STATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.ACCOUNT_ID_TYPE, 0), + (REQUESTOR_NAME_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.SESSION_DURATION_TYPE, 0), + (lambda: schemas.REDIRECT_URL_TYPE, 0), + (NOTES_TYPE, 0), + (NOTES_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +PERMISSION_CHECK_RESULT_TYPE: StaticSchema = ( + 14, + n0, + _pCRT, + 0, + (_ALLOWED, _DENIED, _UNSURE), + ((-1, {_sV: _ALLOWED}), (-1, {_sV: _DENIED}), (-1, {_sV: _UNSURE})), +) + +PERMISSION_CHECK_STATUS_TYPE: StaticSchema = ( + 14, + n0, + _pCST, + 0, + (_COMPLETE, _IP_, _FAILED), + ((-1, {_sV: _COMPLETE}), (-1, {_sV: _IP_}), (-1, {_sV: _FAILED})), +) + +GET_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _GGI, + {_sSI: _cGGR, _s: None}, + (_GN, _Ma, _MI), + ( + (lambda: schemas.GROUP_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +GET_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _GGO, + {_sSI: _cGGRo, _smi: None}, + (_G, _Use, _IT, _Ma), + ( + (lambda: schemas.GROUP, 1), + (lambda: schemas.USER_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +GET_GROUP: StaticOperationSchema = ( + 23, + n0, + _GG, + 0, + GET_GROUP_INPUT, + GET_GROUP_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GET_GROUP_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GGPI, + {_sSI: _cGGPR, _s: None}, + (_GN, _PN), + ((lambda: schemas.GROUP_NAME_TYPE, 1), (lambda: schemas.POLICY_NAME_TYPE, 1)), +) + +GET_GROUP_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GGPO, + {_sSI: _cGGPRo, _smi: None}, + (_GN, _PN, _PD), + ( + (lambda: schemas.GROUP_NAME_TYPE, 1), + (lambda: schemas.POLICY_NAME_TYPE, 1), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 1), + ), +) + +GET_GROUP_POLICY: StaticOperationSchema = ( + 23, + n0, + _GGP, + 0, + GET_GROUP_POLICY_INPUT, + GET_GROUP_POLICY_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LOCALE_TYPE: StaticSchema = (3, n0, _lT, 0) + +GET_HUMAN_READABLE_SUMMARY_INPUT: StaticSchema = ( + 18, + n0, + _GHRSI, + {_sSI: _cGHRSR, _s: None}, + (_EA, _L), + ((lambda: schemas.ARN_TYPE, 1), (LOCALE_TYPE, 0)), +) + +GET_HUMAN_READABLE_SUMMARY_OUTPUT: StaticSchema = ( + 18, + n0, + _GHRSO, + {_sSI: _cGHRSRo, _smi: None}, + (_SCu, _L, _SS), + ( + (lambda: SUMMARY_CONTENT_TYPE, 0), + (LOCALE_TYPE, 0), + (lambda: SUMMARY_STATE_TYPE, 0), + ), +) + +GET_HUMAN_READABLE_SUMMARY: StaticOperationSchema = ( + 23, + n0, + _GHRS, + 0, + GET_HUMAN_READABLE_SUMMARY_INPUT, + GET_HUMAN_READABLE_SUMMARY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +SUMMARY_CONTENT_TYPE: StaticSchema = (3, n0, _sCT, 0) + +SUMMARY_STATE_TYPE: StaticSchema = ( + 14, + n0, + _sST, + 0, + (_AVAILABLE, _NA, _NS, _FAILED), + ((-1, {_sV: _AVAILABLE}), (-1, {_sV: _NA}), (-1, {_sV: _NS}), (-1, {_sV: _FAILED})), +) + +GET_INSTANCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _GIPI, + {_sSI: _cGIPR, _s: None}, + (_IPN,), + ((lambda: schemas.INSTANCE_PROFILE_NAME_TYPE, 1),), +) + +GET_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _GIPO, + {_sSI: _cGIPRo, _smi: None}, + (_IP,), + ((lambda: schemas.INSTANCE_PROFILE, 1),), +) + +GET_INSTANCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _GIP, + 0, + GET_INSTANCE_PROFILE_INPUT, + GET_INSTANCE_PROFILE_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GET_LOGIN_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _GLPI, + {_sSI: _cGLPR, _s: None}, + (_UN,), + ((lambda: schemas.USER_NAME_TYPE, 0),), +) + +GET_LOGIN_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _GLPO, + {_sSI: _cGLPRo, _smi: None}, + (_LP,), + ((lambda: schemas.LOGIN_PROFILE, 1),), +) + +GET_LOGIN_PROFILE: StaticOperationSchema = ( + 23, + n0, + _GLP, + 0, + GET_LOGIN_PROFILE_INPUT, + GET_LOGIN_PROFILE_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GET_MFA_DEVICE_INPUT: StaticSchema = ( + 18, + n0, + _GMFADI, + {_sSI: _cGMFADR, _s: None}, + (_SNer, _UN), + ((lambda: schemas.SERIAL_NUMBER_TYPE, 1), (lambda: schemas.USER_NAME_TYPE, 0)), +) + +GET_MFA_DEVICE_OUTPUT: StaticSchema = ( + 18, + n0, + _GMFADO, + {_sSI: _cGMFADRo, _smi: None}, + (_UN, _SNer, _EDn, _Ce), + ( + (lambda: schemas.USER_NAME_TYPE, 0), + (lambda: schemas.SERIAL_NUMBER_TYPE, 1), + (lambda: schemas.DATE_TYPE, 0), + (lambda: CERTIFICATION_MAP_TYPE, 0), + ), +) + +GET_MFA_DEVICE: StaticOperationSchema = ( + 23, + n0, + _GMFAD, + 0, + GET_MFA_DEVICE_INPUT, + GET_MFA_DEVICE_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +CERTIFICATION_KEY_TYPE: StaticSchema = (3, n0, _CKT, 0) + +CERTIFICATION_VALUE_TYPE: StaticSchema = (3, n0, _CVT, 0) + +CERTIFICATION_MAP_TYPE: StaticSchema = ( + 17, + n0, + _CMT, + 0, + (_k, _v), + ((CERTIFICATION_KEY_TYPE, 0), (CERTIFICATION_VALUE_TYPE, 0)), +) + +GET_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _GOIDCPI, + {_sSI: _cGOIDCPR, _s: None}, + (_OIDCPA,), + ((lambda: schemas.ARN_TYPE, 1),), +) + +GET_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _GOIDCPO, + {_sSI: _cGOIDCPRo, _smi: None}, + (_Ur, _CIDL, _TL, _CD, _Ta), + ( + (lambda: schemas.OPEN_ID_CONNECT_PROVIDER_URL_TYPE, 0), + (lambda: schemas.CLIENT_ID_LIST_TYPE, 0), + (lambda: schemas.THUMBPRINT_LIST_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +GET_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _GOIDCP, + 0, + GET_OPEN_ID_CONNECT_PROVIDER_INPUT, + GET_OPEN_ID_CONNECT_PROVIDER_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +SORT_KEY_TYPE: StaticSchema = ( + 14, + n0, + _sKTo, + 0, + (_SNA, _SND, _LATA, _LATD), + ((-1, {_sV: _SNA}), (-1, {_sV: _SND}), (-1, {_sV: _LATA}), (-1, {_sV: _LATD})), +) + +GET_ORGANIZATIONS_ACCESS_REPORT_INPUT: StaticSchema = ( + 18, + n0, + _GOARIe, + {_sSI: _cGOARRom, _s: None}, + (_JI, _MI, _Ma, _SK), + ( + (lambda: schemas.JOB_ID_TYPE, 1), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (SORT_KEY_TYPE, 0), + ), +) + +GET_ORGANIZATIONS_ACCESS_REPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _GOAROe, + {_sSI: _cGOARRoma, _smi: None}, + (_JS, _JCD, _JCDo, _NOSA, _NOSNA, _ADc, _IT, _Ma, _EDr), + ( + (lambda: JOB_STATUS_TYPE, 1), + (lambda: schemas.DATE_TYPE, 1), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.INTEGER_TYPE, 0), + (lambda: schemas.INTEGER_TYPE, 0), + (lambda: schemas.ACCESS_DETAILS, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: ERROR_DETAILS, 0), + ), +) + +GET_ORGANIZATIONS_ACCESS_REPORT: StaticOperationSchema = ( + 23, + n0, + _GOARe, + 0, + GET_ORGANIZATIONS_ACCESS_REPORT_INPUT, + GET_ORGANIZATIONS_ACCESS_REPORT_OUTPUT, + (lambda: schemas.NO_SUCH_ENTITY_EXCEPTION,), +) + +ERROR_DETAILS: StaticSchema = ( + 18, + n0, + _EDr, + 0, + (_M, _Co), + ((lambda: schemas.STRING_TYPE, 1), (lambda: schemas.STRING_TYPE, 1)), +) + +JOB_STATUS_TYPE: StaticSchema = ( + 14, + n0, + _jST, + 0, + (_IP_, _COMPLETED, _FAILED), + ((-1, {_sV: _IP_}), (-1, {_sV: _COMPLETED}), (-1, {_sV: _FAILED})), +) + +GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_INPUT: StaticSchema = ( + 18, + n0, + _GOWIFII, + {_sSI: _sU, _s: None}, +) + +GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_OUTPUT: StaticSchema = ( + 18, + n0, + _GOWIFIO, + {_sSI: _cGOWIFIR, _smi: None}, + (_II, _JVE), + ( + (lambda: schemas.STRING_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + ), +) + +GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO: StaticOperationSchema = ( + 23, + n0, + _GOWIFI, + 0, + GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_INPUT, + GET_OUTBOUND_WEB_IDENTITY_FEDERATION_INFO_OUTPUT, + (lambda: schemas.FEATURE_DISABLED_EXCEPTION,), +) + +GET_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GPI, + {_sSI: _cGPR, _s: None}, + (_PA,), + ((lambda: schemas.ARN_TYPE, 1),), +) + +GET_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GPO, + {_sSI: _cGPRo, _smi: None}, + (_P,), + ((lambda: schemas.POLICY, 0),), +) + +GET_POLICY: StaticOperationSchema = ( + 23, + n0, + _GP, + 0, + GET_POLICY_INPUT, + GET_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GET_POLICY_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _GPVI, + {_sSI: _cGPVR, _s: None}, + (_PA, _VI), + ((lambda: schemas.ARN_TYPE, 1), (lambda: schemas.POLICY_VERSION_ID_TYPE, 1)), +) + +GET_POLICY_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GPVO, + {_sSI: _cGPVRo, _smi: None}, + (_PV,), + ((lambda: schemas.POLICY_VERSION, 0),), +) + +GET_POLICY_VERSION: StaticOperationSchema = ( + 23, + n0, + _GPV, + 0, + GET_POLICY_VERSION_INPUT, + GET_POLICY_VERSION_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GET_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _GRI, + {_sSI: _cGRR, _s: None}, + (_RN,), + ((lambda: schemas.ROLE_NAME_TYPE, 1),), +) + +GET_ROLE_OUTPUT: StaticSchema = ( + 18, + n0, + _GRO, + {_sSI: _cGRRo, _smi: None}, + (_Ro,), + ((lambda: schemas.ROLE, 1),), +) + +GET_ROLE: StaticOperationSchema = ( + 23, + n0, + _GR, + 0, + GET_ROLE_INPUT, + GET_ROLE_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GET_ROLE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_sSI: _cGRPR, _s: None}, + (_RN, _PN), + ((lambda: schemas.ROLE_NAME_TYPE, 1), (lambda: schemas.POLICY_NAME_TYPE, 1)), +) + +GET_ROLE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_sSI: _cGRPRo, _smi: None}, + (_RN, _PN, _PD), + ( + (lambda: schemas.ROLE_NAME_TYPE, 1), + (lambda: schemas.POLICY_NAME_TYPE, 1), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 1), + ), +) + +GET_ROLE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRP, + 0, + GET_ROLE_POLICY_INPUT, + GET_ROLE_POLICY_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +MINOR_VERSION_TYPE: StaticSchema = (7, n0, _mVT, 0) + +GET_ROLE_TEMPLATE_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _GRTVI, + {_sSI: _cGRTVR, _s: None}, + (_TA, _MV), + ((lambda: schemas.ARN_TYPE, 1), (MINOR_VERSION_TYPE, 0)), +) + +GET_ROLE_TEMPLATE_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GRTVO, + {_sSI: _cGRTVRo, _smi: None}, + (_RTV,), + ((lambda: schemas.ROLE_TEMPLATE_VERSION, 1),), +) + +GET_ROLE_TEMPLATE_VERSION: StaticOperationSchema = ( + 23, + n0, + _GRTV, + 0, + GET_ROLE_TEMPLATE_VERSION_INPUT, + GET_ROLE_TEMPLATE_VERSION_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_5.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_5.py new file mode 100644 index 000000000..96f931b6b --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_5.py @@ -0,0 +1,1022 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_m = "message" +_sV = "smithy.api#enumValue" +_SN = "ServiceName" +_SNe = "ServiceNamespace" +_R = "Region" +_TAE = "TotalAuthenticatedEntities" +_me = "member" +_UN = "UserName" +_S = "Status" +_CD = "CreateDate" +_AKM = "AccessKeyMetadata" +_TA = "TemplateArn" +_K = "Key" +_Va = "Value" +_Pa = "Path" +_Ar = "Arn" +_D = "Description" +_MSD = "MaxSessionDuration" +_Ta = "Tags" +_GN = "GroupName" +_PN = "PolicyName" +_smithy = "smithy.api#default" +_N = "Name" +_Ty = "Type" +_PD = "PolicyDocument" +_SAMLMD = "SAMLMetadataDocument" +_AEM = "AssertionEncryptionMode" +_SAMLPA = "SAMLProviderArn" +_Us = "User" +_SCN = "ServerCertificateName" +_DTI = "DeletionTaskId" +_CI = "CertificateId" +_pKIT = "publicKeyIdType" +_SSHPKI = "SSHPublicKeyId" +_JI = "JobId" +_MI = "MaxItems" +_Ma = "Marker" +_IT = "IsTruncated" +_IP_ = "IN_PROGRESS" +_FAILED = "FAILED" +_JS = "JobStatus" +_JCD = "JobCreationDate" +_JCDo = "JobCompletionDate" +_MV = "MinorVersion" +_rTDT = "roleTemplateDescriptionType" +_IPnl = "InlinePolicy" +_iPTLT = "inlinePolicyTemplateListType" +_mBTT = "managedByTypeType" +_Se = "Service" +_mBVT = "managedByValueType" +_mPALT = "managedPolicyArnListType" +_pDVT = "parameterDefaultValueType" +_pDTa = "parameterDescriptionType" +_pNTa = "parameterNameType" +_pSTT = "parameterSubTypeType" +_pTT = "parameterTypeType" +_Str = "String" +_SLt = "StringList" +_Nu = "Number" +_NL = "NumberList" +_ALr = "ArnList" +_PDa = "ParameterDefinition" +_ST = "SubType" +_IR = "IsRequired" +_DV = "DefaultValue" +_Im = "Immutable" +_pDLTa = "parametersDefinitionListType" +_rDPT = "roleDescriptionPatternType" +_rNPT = "roleNamePatternType" +_rPPT = "rolePathPatternType" +_tTKT = "tagTemplateKeyType" +_tTVT = "tagTemplateValueType" +_TT = "TagTemplate" +_tTLT = "tagTemplateListType" +_rTNT = "roleTemplateNameType" +_RTV = "RoleTemplateVersion" +_TN = "TemplateName" +_TVI = "TemplateVersionId" +_MVa = "MajorVersion" +_DMV = "DefaultMinorVersion" +_MBT = "ManagedByType" +_MBV = "ManagedByValue" +_En = "Enabled" +_RNP = "RoleNamePattern" +_RPP = "RolePathPattern" +_RDP = "RoleDescriptionPattern" +_ARPDT = "AssumeRolePolicyDocumentTemplate" +_IPT = "InlinePolicyTemplates" +_MPAa = "ManagedPolicyArns" +_PBAe = "PermissionBoundaryArn" +_PDar = "ParametersDefinition" +_RTT = "RoleTagsTemplate" +_VE = "VersionEnabled" +_CT = "CreateTimestamp" +_UTp = "UpdateTimestamp" +_GSAMLPI = "GetSAMLProviderInput" +_cGSAMLPR = "com.amazonaws.iam#GetSAMLProviderRequest" +_pKITr = "privateKeyIdType" +_SAMLPK = "SAMLPrivateKey" +_KI = "KeyId" +_Ti = "Timestamp" +_pKL = "privateKeyList" +_GSAMLPO = "GetSAMLProviderOutput" +_cGSAMLPRo = "com.amazonaws.iam#GetSAMLProviderResponse" +_SAMLPUUID = "SAMLProviderUUID" +_VU = "ValidUntil" +_PKL = "PrivateKeyList" +_GSAMLP = "GetSAMLProvider" +_GSCI = "GetServerCertificateInput" +_cGSCR = "com.amazonaws.iam#GetServerCertificateRequest" +_cBT = "certificateBodyType" +_cCT = "certificateChainType" +_SCM = "ServerCertificateMetadata" +_SCI = "ServerCertificateId" +_UDp = "UploadDate" +_Ex = "Expiration" +_SCe = "ServerCertificate" +_CB = "CertificateBody" +_CC = "CertificateChain" +_GSCO = "GetServerCertificateOutput" +_cGSCRo = "com.amazonaws.iam#GetServerCertificateResponse" +_GSC = "GetServerCertificate" +_GSLADIe = "GetServiceLastAccessedDetailsInput" +_cGSLADRom = "com.amazonaws.iam#GetServiceLastAccessedDetailsRequest" +_TALA = "TrackedActionLastAccessed" +_ANc = "ActionName" +_LAE = "LastAccessedEntity" +_LATa = "LastAccessedTime" +_LAR = "LastAccessedRegion" +_TALAr = "TrackedActionsLastAccessed" +_SLA = "ServiceLastAccessed" +_LA = "LastAuthenticated" +_LAEa = "LastAuthenticatedEntity" +_LARa = "LastAuthenticatedRegion" +_SLAe = "ServicesLastAccessed" +_GSLADOe = "GetServiceLastAccessedDetailsOutput" +_cGSLADRoma = "com.amazonaws.iam#GetServiceLastAccessedDetailsResponse" +_JT = "JobType" +_Er = "Error" +_GSLADe = "GetServiceLastAccessedDetails" +_GSLADWEI = "GetServiceLastAccessedDetailsWithEntitiesInput" +_cGSLADWER = "com.amazonaws.iam#GetServiceLastAccessedDetailsWithEntitiesRequest" +_EI = "EntityInfo" +_Id = "Id" +_EDnt = "EntityDetails" +_eDLT = "entityDetailsListType" +_GSLADWEO = "GetServiceLastAccessedDetailsWithEntitiesOutput" +_cGSLADWERo = "com.amazonaws.iam#GetServiceLastAccessedDetailsWithEntitiesResponse" +_EDL = "EntityDetailsList" +_GSLADWE = "GetServiceLastAccessedDetailsWithEntities" +_GSLRDSI = "GetServiceLinkedRoleDeletionStatusInput" +_cGSLRDSR = "com.amazonaws.iam#GetServiceLinkedRoleDeletionStatusRequest" +_RT = "ReasonType" +_RNT = "RegionNameType" +_RUT = "RoleUsageType" +_Res = "Resources" +_RULT = "RoleUsageListType" +_DTFRT = "DeletionTaskFailureReasonType" +_Rea = "Reason" +_RUL = "RoleUsageList" +_DTST = "DeletionTaskStatusType" +_SUCCEEDED = "SUCCEEDED" +_NS_ = "NOT_STARTED" +_GSLRDSO = "GetServiceLinkedRoleDeletionStatusOutput" +_cGSLRDSRo = "com.amazonaws.iam#GetServiceLinkedRoleDeletionStatusResponse" +_GSLRDS = "GetServiceLinkedRoleDeletionStatus" +_eT = "encodingType" +_SSH = "SSH" +_PEM = "PEM" +_GSSHPKI = "GetSSHPublicKeyInput" +_cGSSHPKR = "com.amazonaws.iam#GetSSHPublicKeyRequest" +_Enc = "Encoding" +_pKFT = "publicKeyFingerprintType" +_pKMT = "publicKeyMaterialType" +_SSHPK = "SSHPublicKey" +_Fi = "Fingerprint" +_SSHPKB = "SSHPublicKeyBody" +_GSSHPKO = "GetSSHPublicKeyOutput" +_cGSSHPKRo = "com.amazonaws.iam#GetSSHPublicKeyResponse" +_uPKEM = "unrecognizedPublicKeyEncodingMessage" +_UPKEE = "UnrecognizedPublicKeyEncodingException" +_GSSHPK = "GetSSHPublicKey" +_GUI = "GetUserInput" +_cGUR = "com.amazonaws.iam#GetUserRequest" +_GUO = "GetUserOutput" +_cGURo = "com.amazonaws.iam#GetUserResponse" +_GU = "GetUser" +_GUPI = "GetUserPolicyInput" +_cGUPR = "com.amazonaws.iam#GetUserPolicyRequest" +_GUPO = "GetUserPolicyOutput" +_cGUPRo = "com.amazonaws.iam#GetUserPolicyResponse" +_GUP = "GetUserPolicy" +_LAKI = "ListAccessKeysInput" +_cLAKR = "com.amazonaws.iam#ListAccessKeysRequest" +_LAKO = "ListAccessKeysOutput" +_cLAKRo = "com.amazonaws.iam#ListAccessKeysResponse" +_LAK = "ListAccessKeys" +_LAAI = "ListAccountAliasesInput" +_cLAAR = "com.amazonaws.iam#ListAccountAliasesRequest" +_LAAO = "ListAccountAliasesOutput" +_cLAARo = "com.amazonaws.iam#ListAccountAliasesResponse" +_AAc = "AccountAliases" +_LAA = "ListAccountAliases" +_LAGPI = "ListAttachedGroupPoliciesInput" +_cLAGPR = "com.amazonaws.iam#ListAttachedGroupPoliciesRequest" +_PPat = "PathPrefix" +_LAGPO = "ListAttachedGroupPoliciesOutput" +_cLAGPRo = "com.amazonaws.iam#ListAttachedGroupPoliciesResponse" +_APt = "AttachedPolicies" +_LAGP = "ListAttachedGroupPolicies" +_SCi = "SigningCertificate" + +PUBLIC_KEY_ID_TYPE: StaticSchema = (3, n0, _pKIT, 0) + +ROLE_TEMPLATE_DESCRIPTION_TYPE: StaticSchema = (3, n0, _rTDT, 0) + +INLINE_POLICY: StaticSchema = ( + 18, + n0, + _IPnl, + 0, + (_PN, _PD), + ((lambda: schemas.POLICY_NAME_TYPE, 1), (lambda: schemas.POLICY_DOCUMENT_TYPE, 1)), +) + +INLINE_POLICY_TEMPLATE_LIST_TYPE: StaticSchema = ( + 16, + n0, + _iPTLT, + 0, + (_me,), + ((INLINE_POLICY, 0),), +) + +MANAGED_BY_TYPE_TYPE: StaticSchema = (14, n0, _mBTT, 0, (_Se,), ((-1, {_sV: _Se}),)) + +MANAGED_BY_VALUE_TYPE: StaticSchema = (3, n0, _mBVT, 0) + +MANAGED_POLICY_ARN_LIST_TYPE: StaticSchema = ( + 16, + n0, + _mPALT, + 0, + (_me,), + ((lambda: schemas.ARN_TYPE, 0),), +) + +PARAMETER_DEFAULT_VALUE_TYPE: StaticSchema = (3, n0, _pDVT, 0) + +PARAMETER_DESCRIPTION_TYPE: StaticSchema = (3, n0, _pDTa, 0) + +PARAMETER_NAME_TYPE: StaticSchema = (3, n0, _pNTa, 0) + +PARAMETER_SUB_TYPE_TYPE: StaticSchema = (3, n0, _pSTT, 0) + +PARAMETER_TYPE_TYPE: StaticSchema = ( + 14, + n0, + _pTT, + 0, + (_Str, _SLt, _Nu, _NL, _Ar, _ALr), + ( + (-1, {_sV: _Str}), + (-1, {_sV: _SLt}), + (-1, {_sV: _Nu}), + (-1, {_sV: _NL}), + (-1, {_sV: _Ar}), + (-1, {_sV: _ALr}), + ), +) + +PARAMETER_DEFINITION: StaticSchema = ( + 18, + n0, + _PDa, + 0, + (_N, _Ty, _ST, _D, _IR, _DV, _Im), + ( + (PARAMETER_NAME_TYPE, 1), + (PARAMETER_TYPE_TYPE, 1), + (PARAMETER_SUB_TYPE_TYPE, 0), + (PARAMETER_DESCRIPTION_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (PARAMETER_DEFAULT_VALUE_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + ), +) + +PARAMETERS_DEFINITION_LIST_TYPE: StaticSchema = ( + 16, + n0, + _pDLTa, + 0, + (_me,), + ((PARAMETER_DEFINITION, 0),), +) + +ROLE_DESCRIPTION_PATTERN_TYPE: StaticSchema = (3, n0, _rDPT, 0) + +ROLE_NAME_PATTERN_TYPE: StaticSchema = (3, n0, _rNPT, 0) + +ROLE_PATH_PATTERN_TYPE: StaticSchema = (3, n0, _rPPT, 0) + +TAG_TEMPLATE_KEY_TYPE: StaticSchema = (3, n0, _tTKT, 0) + +TAG_TEMPLATE_VALUE_TYPE: StaticSchema = (3, n0, _tTVT, 0) + +TAG_TEMPLATE: StaticSchema = ( + 18, + n0, + _TT, + 0, + (_K, _Va), + ((TAG_TEMPLATE_KEY_TYPE, 1), (TAG_TEMPLATE_VALUE_TYPE, 1)), +) + +TAG_TEMPLATE_LIST_TYPE: StaticSchema = (16, n0, _tTLT, 0, (_me,), ((TAG_TEMPLATE, 0),)) + +ROLE_TEMPLATE_NAME_TYPE: StaticSchema = (3, n0, _rTNT, 0) + +ROLE_TEMPLATE_VERSION: StaticSchema = ( + 18, + n0, + _RTV, + 0, + ( + _TA, + _TN, + _TVI, + _D, + _MVa, + _DMV, + _MBT, + _MBV, + _En, + _MV, + _RNP, + _RPP, + _RDP, + _ARPDT, + _IPT, + _MPAa, + _PBAe, + _PDar, + _RTT, + _MSD, + _VE, + _CT, + _UTp, + ), + ( + (lambda: schemas.ARN_TYPE, 0), + (ROLE_TEMPLATE_NAME_TYPE, 0), + (lambda: schemas.ID_TYPE, 0), + (ROLE_TEMPLATE_DESCRIPTION_TYPE, 0), + (lambda: schemas.INTEGER_TYPE, 0), + (lambda: schemas.MINOR_VERSION_TYPE, 0), + (MANAGED_BY_TYPE_TYPE, 0), + (MANAGED_BY_VALUE_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.MINOR_VERSION_TYPE, 0), + (ROLE_NAME_PATTERN_TYPE, 0), + (ROLE_PATH_PATTERN_TYPE, 0), + (ROLE_DESCRIPTION_PATTERN_TYPE, 0), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 0), + (INLINE_POLICY_TEMPLATE_LIST_TYPE, 0), + (MANAGED_POLICY_ARN_LIST_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (PARAMETERS_DEFINITION_LIST_TYPE, 0), + (TAG_TEMPLATE_LIST_TYPE, 0), + (lambda: schemas.ROLE_MAX_SESSION_DURATION_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +GET_SAML_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _GSAMLPI, + {_sSI: _cGSAMLPR, _s: None}, + (_SAMLPA,), + ((lambda: schemas.ARN_TYPE, 1),), +) + +GET_SAML_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _GSAMLPO, + {_sSI: _cGSAMLPRo, _smi: None}, + (_SAMLPUUID, _SAMLMD, _CD, _VU, _Ta, _AEM, _PKL), + ( + (lambda: PRIVATE_KEY_ID_TYPE, 0), + (lambda: schemas.SAML_METADATA_DOCUMENT_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + (lambda: schemas.ASSERTION_ENCRYPTION_MODE_TYPE, 0), + (lambda: PRIVATE_KEY_LIST, 0), + ), +) + +GET_SAML_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _GSAMLP, + 0, + GET_SAML_PROVIDER_INPUT, + GET_SAML_PROVIDER_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +PRIVATE_KEY_ID_TYPE: StaticSchema = (3, n0, _pKITr, 0) + +SAML_PRIVATE_KEY: StaticSchema = ( + 18, + n0, + _SAMLPK, + 0, + (_KI, _Ti), + ((PRIVATE_KEY_ID_TYPE, 0), (lambda: schemas.DATE_TYPE, 0)), +) + +PRIVATE_KEY_LIST: StaticSchema = (16, n0, _pKL, 0, (_me,), ((SAML_PRIVATE_KEY, 0),)) + +GET_SERVER_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _GSCI, + {_sSI: _cGSCR, _s: None}, + (_SCN,), + ((lambda: schemas.SERVER_CERTIFICATE_NAME_TYPE, 1),), +) + +GET_SERVER_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GSCO, + {_sSI: _cGSCRo, _smi: None}, + (_SCe,), + ((lambda: SERVER_CERTIFICATE, 1),), +) + +GET_SERVER_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _GSC, + 0, + GET_SERVER_CERTIFICATE_INPUT, + GET_SERVER_CERTIFICATE_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +CERTIFICATE_BODY_TYPE: StaticSchema = (3, n0, _cBT, 0) + +CERTIFICATE_CHAIN_TYPE: StaticSchema = (3, n0, _cCT, 0) + +SERVER_CERTIFICATE_METADATA: StaticSchema = ( + 18, + n0, + _SCM, + 0, + (_Pa, _SCN, _SCI, _Ar, _UDp, _Ex), + ( + (lambda: schemas.PATH_TYPE, 1), + (lambda: schemas.SERVER_CERTIFICATE_NAME_TYPE, 1), + (lambda: schemas.ID_TYPE, 1), + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +SERVER_CERTIFICATE: StaticSchema = ( + 18, + n0, + _SCe, + 0, + (_SCM, _CB, _CC, _Ta), + ( + (SERVER_CERTIFICATE_METADATA, 1), + (CERTIFICATE_BODY_TYPE, 1), + (CERTIFICATE_CHAIN_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +GET_SERVICE_LAST_ACCESSED_DETAILS_INPUT: StaticSchema = ( + 18, + n0, + _GSLADIe, + {_sSI: _cGSLADRom, _s: None}, + (_JI, _MI, _Ma), + ( + (lambda: schemas.JOB_ID_TYPE, 1), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + ), +) + +GET_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT: StaticSchema = ( + 18, + n0, + _GSLADOe, + {_sSI: _cGSLADRoma, _smi: None}, + (_JS, _JT, _JCD, _SLAe, _JCDo, _IT, _Ma, _Er), + ( + (lambda: schemas.JOB_STATUS_TYPE, 1), + (lambda: schemas.ACCESS_ADVISOR_USAGE_GRANULARITY_TYPE, 0), + (lambda: schemas.DATE_TYPE, 1), + (lambda: SERVICES_LAST_ACCESSED, 1), + (lambda: schemas.DATE_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + (lambda: schemas.ERROR_DETAILS, 0), + ), +) + +GET_SERVICE_LAST_ACCESSED_DETAILS: StaticOperationSchema = ( + 23, + n0, + _GSLADe, + 0, + GET_SERVICE_LAST_ACCESSED_DETAILS_INPUT, + GET_SERVICE_LAST_ACCESSED_DETAILS_OUTPUT, + (lambda: schemas.INVALID_INPUT_EXCEPTION, lambda: schemas.NO_SUCH_ENTITY_EXCEPTION), +) + +TRACKED_ACTION_LAST_ACCESSED: StaticSchema = ( + 18, + n0, + _TALA, + 0, + (_ANc, _LAE, _LATa, _LAR), + ( + (lambda: schemas.STRING_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.STRING_TYPE, 0), + ), +) + +TRACKED_ACTIONS_LAST_ACCESSED: StaticSchema = ( + 16, + n0, + _TALAr, + 0, + (_me,), + ((TRACKED_ACTION_LAST_ACCESSED, 0),), +) + +SERVICE_LAST_ACCESSED: StaticSchema = ( + 18, + n0, + _SLA, + 0, + (_SN, _LA, _SNe, _LAEa, _LARa, _TAE, _TALAr), + ( + (lambda: schemas.SERVICE_NAME_TYPE, 1), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.SERVICE_NAMESPACE_TYPE, 1), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.STRING_TYPE, 0), + (lambda: schemas.INTEGER_TYPE, 0), + (TRACKED_ACTIONS_LAST_ACCESSED, 0), + ), +) + +SERVICES_LAST_ACCESSED: StaticSchema = ( + 16, + n0, + _SLAe, + 0, + (_me,), + ((SERVICE_LAST_ACCESSED, 0),), +) + +GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_INPUT: StaticSchema = ( + 18, + n0, + _GSLADWEI, + {_sSI: _cGSLADWER, _s: None}, + (_JI, _SNe, _MI, _Ma), + ( + (lambda: schemas.JOB_ID_TYPE, 1), + (lambda: schemas.SERVICE_NAMESPACE_TYPE, 1), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + ), +) + +GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_OUTPUT: StaticSchema = ( + 18, + n0, + _GSLADWEO, + {_sSI: _cGSLADWERo, _smi: None}, + (_JS, _JCD, _JCDo, _EDL, _IT, _Ma, _Er), + ( + (lambda: schemas.JOB_STATUS_TYPE, 1), + (lambda: schemas.DATE_TYPE, 1), + (lambda: schemas.DATE_TYPE, 1), + (lambda: ENTITY_DETAILS_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + (lambda: schemas.ERROR_DETAILS, 0), + ), +) + +GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES: StaticOperationSchema = ( + 23, + n0, + _GSLADWE, + 0, + GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_INPUT, + GET_SERVICE_LAST_ACCESSED_DETAILS_WITH_ENTITIES_OUTPUT, + (lambda: schemas.INVALID_INPUT_EXCEPTION, lambda: schemas.NO_SUCH_ENTITY_EXCEPTION), +) + +ENTITY_INFO: StaticSchema = ( + 18, + n0, + _EI, + 0, + (_Ar, _N, _Ty, _Id, _Pa), + ( + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.POLICY_OWNER_ENTITY_TYPE, 1), + (lambda: schemas.ID_TYPE, 1), + (lambda: schemas.PATH_TYPE, 0), + ), +) + +ENTITY_DETAILS: StaticSchema = ( + 18, + n0, + _EDnt, + 0, + (_EI, _LA), + ((ENTITY_INFO, 1), (lambda: schemas.DATE_TYPE, 0)), +) + +ENTITY_DETAILS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _eDLT, + 0, + (_me,), + ((ENTITY_DETAILS, 0),), +) + +GET_SERVICE_LINKED_ROLE_DELETION_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _GSLRDSI, + {_sSI: _cGSLRDSR, _s: None}, + (_DTI,), + ((lambda: schemas.DELETION_TASK_ID_TYPE, 1),), +) + +GET_SERVICE_LINKED_ROLE_DELETION_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _GSLRDSO, + {_sSI: _cGSLRDSRo, _smi: None}, + (_S, _Rea), + ( + (lambda: DELETION_TASK_STATUS_TYPE, 1), + (lambda: DELETION_TASK_FAILURE_REASON_TYPE, 0), + ), +) + +GET_SERVICE_LINKED_ROLE_DELETION_STATUS: StaticOperationSchema = ( + 23, + n0, + _GSLRDS, + 0, + GET_SERVICE_LINKED_ROLE_DELETION_STATUS_INPUT, + GET_SERVICE_LINKED_ROLE_DELETION_STATUS_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +REASON_TYPE: StaticSchema = (3, n0, _RT, 0) + +REGION_NAME_TYPE: StaticSchema = (3, n0, _RNT, 0) + +ROLE_USAGE_TYPE: StaticSchema = ( + 18, + n0, + _RUT, + 0, + (_R, _Res), + ((REGION_NAME_TYPE, 0), (lambda: schemas.ARN_LIST_TYPE, 0)), +) + +ROLE_USAGE_LIST_TYPE: StaticSchema = (16, n0, _RULT, 0, (_me,), ((ROLE_USAGE_TYPE, 0),)) + +DELETION_TASK_FAILURE_REASON_TYPE: StaticSchema = ( + 18, + n0, + _DTFRT, + 0, + (_Rea, _RUL), + ((REASON_TYPE, 0), (ROLE_USAGE_LIST_TYPE, 0)), +) + +DELETION_TASK_STATUS_TYPE: StaticSchema = ( + 14, + n0, + _DTST, + 0, + (_SUCCEEDED, _IP_, _FAILED, _NS_), + ( + (-1, {_sV: _SUCCEEDED}), + (-1, {_sV: _IP_}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _NS_}), + ), +) + +ENCODING_TYPE: StaticSchema = ( + 14, + n0, + _eT, + 0, + (_SSH, _PEM), + ((-1, {_sV: _SSH}), (-1, {_sV: _PEM})), +) + +GET_SSH_PUBLIC_KEY_INPUT: StaticSchema = ( + 18, + n0, + _GSSHPKI, + {_sSI: _cGSSHPKR, _s: None}, + (_UN, _SSHPKI, _Enc), + ((lambda: schemas.USER_NAME_TYPE, 1), (PUBLIC_KEY_ID_TYPE, 1), (ENCODING_TYPE, 1)), +) + +GET_SSH_PUBLIC_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _GSSHPKO, + {_sSI: _cGSSHPKRo, _smi: None}, + (_SSHPK,), + ((lambda: SSH_PUBLIC_KEY, 0),), +) + +GET_SSH_PUBLIC_KEY: StaticOperationSchema = ( + 23, + n0, + _GSSHPK, + 0, + GET_SSH_PUBLIC_KEY_INPUT, + GET_SSH_PUBLIC_KEY_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: UNRECOGNIZED_PUBLIC_KEY_ENCODING_EXCEPTION, + ), +) + +PUBLIC_KEY_FINGERPRINT_TYPE: StaticSchema = (3, n0, _pKFT, 0) + +PUBLIC_KEY_MATERIAL_TYPE: StaticSchema = (3, n0, _pKMT, 0) + +SSH_PUBLIC_KEY: StaticSchema = ( + 18, + n0, + _SSHPK, + 0, + (_UN, _SSHPKI, _Fi, _SSHPKB, _S, _UDp), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (PUBLIC_KEY_ID_TYPE, 1), + (PUBLIC_KEY_FINGERPRINT_TYPE, 1), + (PUBLIC_KEY_MATERIAL_TYPE, 1), + (lambda: schemas.STATUS_TYPE, 1), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +UNRECOGNIZED_PUBLIC_KEY_ENCODING_MESSAGE: StaticSchema = (3, n0, _uPKEM, 0) + +UNRECOGNIZED_PUBLIC_KEY_ENCODING_EXCEPTION: StaticSchema = ( + 18, + n0, + _UPKEE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "UnrecognizedPublicKeyEncoding", "httpResponseCode": 400} + ), + }, + (_m,), + ((UNRECOGNIZED_PUBLIC_KEY_ENCODING_MESSAGE, 0),), +) + +GET_USER_INPUT: StaticSchema = ( + 18, + n0, + _GUI, + {_sSI: _cGUR, _s: None}, + (_UN,), + ((lambda: schemas.EXISTING_USER_NAME_TYPE, 0),), +) + +GET_USER_OUTPUT: StaticSchema = ( + 18, + n0, + _GUO, + {_sSI: _cGURo, _smi: None}, + (_Us,), + ((lambda: schemas.USER, 1),), +) + +GET_USER: StaticOperationSchema = ( + 23, + n0, + _GU, + 0, + GET_USER_INPUT, + GET_USER_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GET_USER_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GUPI, + {_sSI: _cGUPR, _s: None}, + (_UN, _PN), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.POLICY_NAME_TYPE, 1), + ), +) + +GET_USER_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GUPO, + {_sSI: _cGUPRo, _smi: None}, + (_UN, _PN, _PD), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.POLICY_NAME_TYPE, 1), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 1), + ), +) + +GET_USER_POLICY: StaticOperationSchema = ( + 23, + n0, + _GUP, + 0, + GET_USER_POLICY_INPUT, + GET_USER_POLICY_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_ACCESS_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _LAKI, + {_sSI: _cLAKR, _s: None}, + (_UN, _Ma, _MI), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_ACCESS_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAKO, + {_sSI: _cLAKRo, _smi: None}, + (_AKM, _IT, _Ma), + ( + (lambda: schemas.ACCESS_KEY_METADATA_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_ACCESS_KEYS: StaticOperationSchema = ( + 23, + n0, + _LAK, + 0, + LIST_ACCESS_KEYS_INPUT, + LIST_ACCESS_KEYS_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_ACCOUNT_ALIASES_INPUT: StaticSchema = ( + 18, + n0, + _LAAI, + {_sSI: _cLAAR, _s: None}, + (_Ma, _MI), + ((lambda: schemas.MARKER_TYPE, 0), (lambda: schemas.MAX_ITEMS_TYPE, 0)), +) + +LIST_ACCOUNT_ALIASES_OUTPUT: StaticSchema = ( + 18, + n0, + _LAAO, + {_sSI: _cLAARo, _smi: None}, + (_AAc, _IT, _Ma), + ( + (lambda: schemas.ACCOUNT_ALIAS_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_ACCOUNT_ALIASES: StaticOperationSchema = ( + 23, + n0, + _LAA, + 0, + LIST_ACCOUNT_ALIASES_INPUT, + LIST_ACCOUNT_ALIASES_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +LIST_ATTACHED_GROUP_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LAGPI, + {_sSI: _cLAGPR, _s: None}, + (_GN, _PPat, _Ma, _MI), + ( + (lambda: schemas.GROUP_NAME_TYPE, 1), + (lambda: schemas.POLICY_PATH_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_ATTACHED_GROUP_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LAGPO, + {_sSI: _cLAGPRo, _smi: None}, + (_APt, _IT, _Ma), + ( + (lambda: schemas.ATTACHED_POLICIES_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_ATTACHED_GROUP_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LAGP, + 0, + LIST_ATTACHED_GROUP_POLICIES_INPUT, + LIST_ATTACHED_GROUP_POLICIES_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +SIGNING_CERTIFICATE: StaticSchema = ( + 18, + n0, + _SCi, + 0, + (_UN, _CI, _CB, _S, _UDp), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.CERTIFICATE_ID_TYPE, 1), + (CERTIFICATE_BODY_TYPE, 1), + (lambda: schemas.STATUS_TYPE, 1), + (lambda: schemas.DATE_TYPE, 0), + ), +) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_6.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_6.py new file mode 100644 index 000000000..efac7ecf2 --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_6.py @@ -0,0 +1,1081 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_sm = "smithy.api#required" +_smi = "smithy.api#output" +_sV = "smithy.api#enumValue" +_SNe = "ServiceNamespace" +_me = "member" +_UN = "UserName" +_RN = "RoleName" +_RI = "RoleId" +_Ar = "Arn" +_PB = "PermissionsBoundary" +_Ta = "Tags" +_OIDCPA = "OpenIDConnectProviderArn" +_IPN = "InstanceProfileName" +_GN = "GroupName" +_PN = "PolicyName" +_PA = "PolicyArn" +_smithy = "smithy.api#default" +_GI = "GroupId" +_UI = "UserId" +_SNer = "SerialNumber" +_EDn = "EnableDate" +_OI = "OrganizationId" +_EF = "EnabledFeatures" +_ET = "EntityType" +_MI = "MaxItems" +_Ma = "Marker" +_Po = "Policies" +_IT = "IsTruncated" +_Gro = "Groups" +_MFAD = "MFADevices" +_IPn = "InstanceProfiles" +_OIw = "OwnerId" +_PPat = "PathPrefix" +_APt = "AttachedPolicies" +_LARPI = "ListAttachedRolePoliciesInput" +_cLARPR = "com.amazonaws.iam#ListAttachedRolePoliciesRequest" +_LARPO = "ListAttachedRolePoliciesOutput" +_cLARPRo = "com.amazonaws.iam#ListAttachedRolePoliciesResponse" +_LARP = "ListAttachedRolePolicies" +_LAUPI = "ListAttachedUserPoliciesInput" +_cLAUPR = "com.amazonaws.iam#ListAttachedUserPoliciesRequest" +_LAUPO = "ListAttachedUserPoliciesOutput" +_cLAUPRo = "com.amazonaws.iam#ListAttachedUserPoliciesResponse" +_LAUP = "ListAttachedUserPolicies" +_LDRI = "ListDelegationRequestsInput" +_cLDRR = "com.amazonaws.iam#ListDelegationRequestsRequest" +_dRLT = "delegationRequestsListType" +_LDRO = "ListDelegationRequestsOutput" +_cLDRRo = "com.amazonaws.iam#ListDelegationRequestsResponse" +_DRel = "DelegationRequests" +_iTs = "isTruncated" +_LDR = "ListDelegationRequests" +_PUT = "PolicyUsageType" +_PPer = "PermissionsPolicy" +_LEFPI = "ListEntitiesForPolicyInput" +_cLEFPR = "com.amazonaws.iam#ListEntitiesForPolicyRequest" +_EFn = "EntityFilter" +_PUF = "PolicyUsageFilter" +_PG = "PolicyGroup" +_PGLT = "PolicyGroupListType" +_PR = "PolicyRole" +_PRLT = "PolicyRoleListType" +_PU = "PolicyUser" +_PULT = "PolicyUserListType" +_LEFPO = "ListEntitiesForPolicyOutput" +_cLEFPRo = "com.amazonaws.iam#ListEntitiesForPolicyResponse" +_PGo = "PolicyGroups" +_PUo = "PolicyUsers" +_PRo = "PolicyRoles" +_LEFP = "ListEntitiesForPolicy" +_LGPI = "ListGroupPoliciesInput" +_cLGPR = "com.amazonaws.iam#ListGroupPoliciesRequest" +_LGPO = "ListGroupPoliciesOutput" +_cLGPRo = "com.amazonaws.iam#ListGroupPoliciesResponse" +_PNo = "PolicyNames" +_LGP = "ListGroupPolicies" +_LGI = "ListGroupsInput" +_cLGR = "com.amazonaws.iam#ListGroupsRequest" +_gLT = "groupListType" +_LGO = "ListGroupsOutput" +_cLGRo = "com.amazonaws.iam#ListGroupsResponse" +_LG = "ListGroups" +_LGFUI = "ListGroupsForUserInput" +_cLGFUR = "com.amazonaws.iam#ListGroupsForUserRequest" +_LGFUO = "ListGroupsForUserOutput" +_cLGFURo = "com.amazonaws.iam#ListGroupsForUserResponse" +_LGFU = "ListGroupsForUser" +_LIPI = "ListInstanceProfilesInput" +_cLIPR = "com.amazonaws.iam#ListInstanceProfilesRequest" +_LIPO = "ListInstanceProfilesOutput" +_cLIPRo = "com.amazonaws.iam#ListInstanceProfilesResponse" +_LIP = "ListInstanceProfiles" +_LIPFRI = "ListInstanceProfilesForRoleInput" +_cLIPFRR = "com.amazonaws.iam#ListInstanceProfilesForRoleRequest" +_LIPFRO = "ListInstanceProfilesForRoleOutput" +_cLIPFRRo = "com.amazonaws.iam#ListInstanceProfilesForRoleResponse" +_LIPFR = "ListInstanceProfilesForRole" +_LIPTI = "ListInstanceProfileTagsInput" +_cLIPTR = "com.amazonaws.iam#ListInstanceProfileTagsRequest" +_LIPTO = "ListInstanceProfileTagsOutput" +_cLIPTRo = "com.amazonaws.iam#ListInstanceProfileTagsResponse" +_LIPT = "ListInstanceProfileTags" +_LMFADI = "ListMFADevicesInput" +_cLMFADR = "com.amazonaws.iam#ListMFADevicesRequest" +_MFADe = "MFADevice" +_mDLT = "mfaDeviceListType" +_LMFADO = "ListMFADevicesOutput" +_cLMFADRo = "com.amazonaws.iam#ListMFADevicesResponse" +_LMFAD = "ListMFADevices" +_LMFADTI = "ListMFADeviceTagsInput" +_cLMFADTR = "com.amazonaws.iam#ListMFADeviceTagsRequest" +_LMFADTO = "ListMFADeviceTagsOutput" +_cLMFADTRo = "com.amazonaws.iam#ListMFADeviceTagsResponse" +_LMFADT = "ListMFADeviceTags" +_LOIDCPI = "ListOpenIDConnectProvidersInput" +_cLOIDCPR = "com.amazonaws.iam#ListOpenIDConnectProvidersRequest" +_OIDCPLE = "OpenIDConnectProviderListEntry" +_OIDCPLT = "OpenIDConnectProviderListType" +_LOIDCPO = "ListOpenIDConnectProvidersOutput" +_cLOIDCPRo = "com.amazonaws.iam#ListOpenIDConnectProvidersResponse" +_OIDCPL = "OpenIDConnectProviderList" +_LOIDCP = "ListOpenIDConnectProviders" +_LOIDCPTI = "ListOpenIDConnectProviderTagsInput" +_cLOIDCPTR = "com.amazonaws.iam#ListOpenIDConnectProviderTagsRequest" +_LOIDCPTO = "ListOpenIDConnectProviderTagsOutput" +_cLOIDCPTRo = "com.amazonaws.iam#ListOpenIDConnectProviderTagsResponse" +_LOIDCPT = "ListOpenIDConnectProviderTags" +_LOFI = "ListOrganizationsFeaturesInput" +_cLOFR = "com.amazonaws.iam#ListOrganizationsFeaturesRequest" +_LOFO = "ListOrganizationsFeaturesOutput" +_cLOFRo = "com.amazonaws.iam#ListOrganizationsFeaturesResponse" +_LOF = "ListOrganizationsFeatures" +_pST = "policyScopeType" +_All = "All" +_AWS = "AWS" +_Lo = "Local" +_LPI = "ListPoliciesInput" +_cLPR = "com.amazonaws.iam#ListPoliciesRequest" +_Sc = "Scope" +_OA = "OnlyAttached" +_pLT = "policyListType" +_LPO = "ListPoliciesOutput" +_cLPRo = "com.amazonaws.iam#ListPoliciesResponse" +_LPi = "ListPolicies" +_sNLT = "serviceNamespaceListType" +_LPGSAI = "ListPoliciesGrantingServiceAccessInput" +_cLPGSAR = "com.amazonaws.iam#ListPoliciesGrantingServiceAccessRequest" +_SNerv = "ServiceNamespaces" +_eNT = "entityNameType" +_pTo = "policyType" +_INLINE = "INLINE" +_MANAGED = "MANAGED" +_PGSA = "PolicyGrantingServiceAccess" +_PT = "PolicyType" +_EN = "EntityName" +_pGSALT = "policyGrantingServiceAccessListType" +_LPGSAE = "ListPoliciesGrantingServiceAccessEntry" +_lPGSARLT = "listPolicyGrantingServiceAccessResponseListType" +_LPGSAO = "ListPoliciesGrantingServiceAccessOutput" +_cLPGSARo = "com.amazonaws.iam#ListPoliciesGrantingServiceAccessResponse" +_PGSAo = "PoliciesGrantingServiceAccess" +_LPGSA = "ListPoliciesGrantingServiceAccess" +_LPTI = "ListPolicyTagsInput" +_cLPTR = "com.amazonaws.iam#ListPolicyTagsRequest" +_LPTO = "ListPolicyTagsOutput" +_cLPTRo = "com.amazonaws.iam#ListPolicyTagsResponse" +_LPT = "ListPolicyTags" +_LPVI = "ListPolicyVersionsInput" +_cLPVR = "com.amazonaws.iam#ListPolicyVersionsRequest" +_LPVO = "ListPolicyVersionsOutput" +_cLPVRo = "com.amazonaws.iam#ListPolicyVersionsResponse" +_Ve = "Versions" +_LPV = "ListPolicyVersions" + +LIST_ATTACHED_ROLE_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LARPI, + {_sSI: _cLARPR, _s: None}, + (_RN, _PPat, _Ma, _MI), + ( + (lambda: schemas.ROLE_NAME_TYPE, 1), + (lambda: schemas.POLICY_PATH_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_ATTACHED_ROLE_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LARPO, + {_sSI: _cLARPRo, _smi: None}, + (_APt, _IT, _Ma), + ( + (lambda: schemas.ATTACHED_POLICIES_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_ATTACHED_ROLE_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LARP, + 0, + LIST_ATTACHED_ROLE_POLICIES_INPUT, + LIST_ATTACHED_ROLE_POLICIES_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_ATTACHED_USER_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LAUPI, + {_sSI: _cLAUPR, _s: None}, + (_UN, _PPat, _Ma, _MI), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.POLICY_PATH_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_ATTACHED_USER_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LAUPO, + {_sSI: _cLAUPRo, _smi: None}, + (_APt, _IT, _Ma), + ( + (lambda: schemas.ATTACHED_POLICIES_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_ATTACHED_USER_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LAUP, + 0, + LIST_ATTACHED_USER_POLICIES_INPUT, + LIST_ATTACHED_USER_POLICIES_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_DELEGATION_REQUESTS_INPUT: StaticSchema = ( + 18, + n0, + _LDRI, + {_sSI: _cLDRR, _s: None}, + (_OIw, _Ma, _MI), + ( + (lambda: schemas.OWNER_ID_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_DELEGATION_REQUESTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDRO, + {_sSI: _cLDRRo, _smi: None}, + (_DRel, _Ma, _iTs), + ( + (lambda: DELEGATION_REQUESTS_LIST_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + ), +) + +LIST_DELEGATION_REQUESTS: StaticOperationSchema = ( + 23, + n0, + _LDR, + 0, + LIST_DELEGATION_REQUESTS_INPUT, + LIST_DELEGATION_REQUESTS_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DELEGATION_REQUESTS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _dRLT, + 0, + (_me,), + ((lambda: schemas.DELEGATION_REQUEST, 0),), +) + +POLICY_USAGE_TYPE: StaticSchema = ( + 14, + n0, + _PUT, + 0, + (_PPer, _PB), + ((-1, {_sV: _PPer}), (-1, {_sV: _PB})), +) + +LIST_ENTITIES_FOR_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _LEFPI, + {_sSI: _cLEFPR, _s: None}, + (_PA, _EFn, _PPat, _PUF, _Ma, _MI), + ( + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.ENTITY_TYPE, 0), + (lambda: schemas.PATH_TYPE, 0), + (POLICY_USAGE_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_ENTITIES_FOR_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _LEFPO, + {_sSI: _cLEFPRo, _smi: None}, + (_PGo, _PUo, _PRo, _IT, _Ma), + ( + (lambda: POLICY_GROUP_LIST_TYPE, 0), + (lambda: POLICY_USER_LIST_TYPE, 0), + (lambda: POLICY_ROLE_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_ENTITIES_FOR_POLICY: StaticOperationSchema = ( + 23, + n0, + _LEFP, + 0, + LIST_ENTITIES_FOR_POLICY_INPUT, + LIST_ENTITIES_FOR_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +POLICY_GROUP: StaticSchema = ( + 18, + n0, + _PG, + 0, + (_GN, _GI), + ((lambda: schemas.GROUP_NAME_TYPE, 0), (lambda: schemas.ID_TYPE, 0)), +) + +POLICY_GROUP_LIST_TYPE: StaticSchema = (16, n0, _PGLT, 0, (_me,), ((POLICY_GROUP, 0),)) + +POLICY_ROLE: StaticSchema = ( + 18, + n0, + _PR, + 0, + (_RN, _RI), + ((lambda: schemas.ROLE_NAME_TYPE, 0), (lambda: schemas.ID_TYPE, 0)), +) + +POLICY_ROLE_LIST_TYPE: StaticSchema = (16, n0, _PRLT, 0, (_me,), ((POLICY_ROLE, 0),)) + +POLICY_USER: StaticSchema = ( + 18, + n0, + _PU, + 0, + (_UN, _UI), + ((lambda: schemas.USER_NAME_TYPE, 0), (lambda: schemas.ID_TYPE, 0)), +) + +POLICY_USER_LIST_TYPE: StaticSchema = (16, n0, _PULT, 0, (_me,), ((POLICY_USER, 0),)) + +LIST_GROUP_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LGPI, + {_sSI: _cLGPR, _s: None}, + (_GN, _Ma, _MI), + ( + (lambda: schemas.GROUP_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_GROUP_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LGPO, + {_sSI: _cLGPRo, _smi: None}, + (_PNo, _IT, _Ma), + ( + (lambda: schemas.POLICY_NAME_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_GROUP_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LGP, + 0, + LIST_GROUP_POLICIES_INPUT, + LIST_GROUP_POLICIES_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _LGI, + {_sSI: _cLGR, _s: None}, + (_PPat, _Ma, _MI), + ( + (lambda: schemas.PATH_PREFIX_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _LGO, + {_sSI: _cLGRo, _smi: None}, + (_Gro, _IT, _Ma), + ( + (lambda: GROUP_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_GROUPS: StaticOperationSchema = ( + 23, + n0, + _LG, + 0, + LIST_GROUPS_INPUT, + LIST_GROUPS_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +GROUP_LIST_TYPE: StaticSchema = (16, n0, _gLT, 0, (_me,), ((lambda: schemas.GROUP, 0),)) + +LIST_GROUPS_FOR_USER_INPUT: StaticSchema = ( + 18, + n0, + _LGFUI, + {_sSI: _cLGFUR, _s: None}, + (_UN, _Ma, _MI), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_GROUPS_FOR_USER_OUTPUT: StaticSchema = ( + 18, + n0, + _LGFUO, + {_sSI: _cLGFURo, _smi: None}, + (_Gro, _IT, _Ma), + ( + (GROUP_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_GROUPS_FOR_USER: StaticOperationSchema = ( + 23, + n0, + _LGFU, + 0, + LIST_GROUPS_FOR_USER_INPUT, + LIST_GROUPS_FOR_USER_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_INSTANCE_PROFILES_INPUT: StaticSchema = ( + 18, + n0, + _LIPI, + {_sSI: _cLIPR, _s: None}, + (_PPat, _Ma, _MI), + ( + (lambda: schemas.PATH_PREFIX_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_INSTANCE_PROFILES_OUTPUT: StaticSchema = ( + 18, + n0, + _LIPO, + {_sSI: _cLIPRo, _smi: None}, + (_IPn, _IT, _Ma), + ( + (lambda: schemas.INSTANCE_PROFILE_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_INSTANCE_PROFILES: StaticOperationSchema = ( + 23, + n0, + _LIP, + 0, + LIST_INSTANCE_PROFILES_INPUT, + LIST_INSTANCE_PROFILES_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +LIST_INSTANCE_PROFILES_FOR_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _LIPFRI, + {_sSI: _cLIPFRR, _s: None}, + (_RN, _Ma, _MI), + ( + (lambda: schemas.ROLE_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_INSTANCE_PROFILES_FOR_ROLE_OUTPUT: StaticSchema = ( + 18, + n0, + _LIPFRO, + {_sSI: _cLIPFRRo, _smi: None}, + (_IPn, _IT, _Ma), + ( + (lambda: schemas.INSTANCE_PROFILE_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_INSTANCE_PROFILES_FOR_ROLE: StaticOperationSchema = ( + 23, + n0, + _LIPFR, + 0, + LIST_INSTANCE_PROFILES_FOR_ROLE_INPUT, + LIST_INSTANCE_PROFILES_FOR_ROLE_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_INSTANCE_PROFILE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LIPTI, + {_sSI: _cLIPTR, _s: None}, + (_IPN, _Ma, _MI), + ( + (lambda: schemas.INSTANCE_PROFILE_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_INSTANCE_PROFILE_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LIPTO, + {_sSI: _cLIPTRo, _smi: None}, + (_Ta, _IT, _Ma), + ( + (lambda: schemas.TAG_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_INSTANCE_PROFILE_TAGS: StaticOperationSchema = ( + 23, + n0, + _LIPT, + 0, + LIST_INSTANCE_PROFILE_TAGS_INPUT, + LIST_INSTANCE_PROFILE_TAGS_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_MFA_DEVICES_INPUT: StaticSchema = ( + 18, + n0, + _LMFADI, + {_sSI: _cLMFADR, _s: None}, + (_UN, _Ma, _MI), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_MFA_DEVICES_OUTPUT: StaticSchema = ( + 18, + n0, + _LMFADO, + {_sSI: _cLMFADRo, _smi: None}, + (_MFAD, _IT, _Ma), + ( + (lambda: MFA_DEVICE_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_MFA_DEVICES: StaticOperationSchema = ( + 23, + n0, + _LMFAD, + 0, + LIST_MFA_DEVICES_INPUT, + LIST_MFA_DEVICES_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +MFA_DEVICE: StaticSchema = ( + 18, + n0, + _MFADe, + 0, + (_UN, _SNer, _EDn), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.SERIAL_NUMBER_TYPE, 1), + (lambda: schemas.DATE_TYPE, 1), + ), +) + +MFA_DEVICE_LIST_TYPE: StaticSchema = (16, n0, _mDLT, 0, (_me,), ((MFA_DEVICE, 0),)) + +LIST_MFA_DEVICE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LMFADTI, + {_sSI: _cLMFADTR, _s: None}, + (_SNer, _Ma, _MI), + ( + (lambda: schemas.SERIAL_NUMBER_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_MFA_DEVICE_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMFADTO, + {_sSI: _cLMFADTRo, _smi: None}, + (_Ta, _IT, _Ma), + ( + (lambda: schemas.TAG_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_MFA_DEVICE_TAGS: StaticOperationSchema = ( + 23, + n0, + _LMFADT, + 0, + LIST_MFA_DEVICE_TAGS_INPUT, + LIST_MFA_DEVICE_TAGS_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_OPEN_ID_CONNECT_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _LOIDCPI, + {_sSI: _cLOIDCPR, _s: None}, +) + +LIST_OPEN_ID_CONNECT_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LOIDCPO, + {_sSI: _cLOIDCPRo, _smi: None}, + (_OIDCPL,), + ((lambda: OPEN_ID_CONNECT_PROVIDER_LIST_TYPE, 0),), +) + +LIST_OPEN_ID_CONNECT_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _LOIDCP, + 0, + LIST_OPEN_ID_CONNECT_PROVIDERS_INPUT, + LIST_OPEN_ID_CONNECT_PROVIDERS_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +OPEN_ID_CONNECT_PROVIDER_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _OIDCPLE, + 0, + (_Ar,), + ((lambda: schemas.ARN_TYPE, 0),), +) + +OPEN_ID_CONNECT_PROVIDER_LIST_TYPE: StaticSchema = ( + 16, + n0, + _OIDCPLT, + 0, + (_me,), + ((OPEN_ID_CONNECT_PROVIDER_LIST_ENTRY, 0),), +) + +LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LOIDCPTI, + {_sSI: _cLOIDCPTR, _s: None}, + (_OIDCPA, _Ma, _MI), + ( + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LOIDCPTO, + {_sSI: _cLOIDCPTRo, _smi: None}, + (_Ta, _IT, _Ma), + ( + (lambda: schemas.TAG_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_OPEN_ID_CONNECT_PROVIDER_TAGS: StaticOperationSchema = ( + 23, + n0, + _LOIDCPT, + 0, + LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_INPUT, + LIST_OPEN_ID_CONNECT_PROVIDER_TAGS_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_ORGANIZATIONS_FEATURES_INPUT: StaticSchema = ( + 18, + n0, + _LOFI, + {_sSI: _cLOFR, _s: None}, +) + +LIST_ORGANIZATIONS_FEATURES_OUTPUT: StaticSchema = ( + 18, + n0, + _LOFO, + {_sSI: _cLOFRo, _smi: None}, + (_OI, _EF), + ( + (lambda: schemas.ORGANIZATION_ID_TYPE, 0), + (lambda: schemas.FEATURES_LIST_TYPE, 0), + ), +) + +LIST_ORGANIZATIONS_FEATURES: StaticOperationSchema = ( + 23, + n0, + _LOF, + 0, + LIST_ORGANIZATIONS_FEATURES_INPUT, + LIST_ORGANIZATIONS_FEATURES_OUTPUT, + ( + lambda: schemas.ACCOUNT_NOT_MANAGEMENT_OR_DELEGATED_ADMINISTRATOR_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_FOUND_EXCEPTION, + lambda: schemas.ORGANIZATION_NOT_IN_ALL_FEATURES_MODE_EXCEPTION, + lambda: schemas.SERVICE_ACCESS_NOT_ENABLED_EXCEPTION, + ), +) + +POLICY_SCOPE_TYPE: StaticSchema = ( + 14, + n0, + _pST, + 0, + (_All, _AWS, _Lo), + ((-1, {_sV: _All}), (-1, {_sV: _AWS}), (-1, {_sV: _Lo})), +) + +LIST_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LPI, + {_sSI: _cLPR, _s: None}, + (_Sc, _OA, _PPat, _PUF, _Ma, _MI), + ( + (POLICY_SCOPE_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.POLICY_PATH_TYPE, 0), + (POLICY_USAGE_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LPO, + {_sSI: _cLPRo, _smi: None}, + (_Po, _IT, _Ma), + ( + (lambda: POLICY_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LPi, + 0, + LIST_POLICIES_INPUT, + LIST_POLICIES_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +POLICY_LIST_TYPE: StaticSchema = ( + 16, + n0, + _pLT, + 0, + (_me,), + ((lambda: schemas.POLICY, 0),), +) + +SERVICE_NAMESPACE_LIST_TYPE: StaticSchema = ( + 16, + n0, + _sNLT, + 0, + (_me,), + ((lambda: schemas.SERVICE_NAMESPACE_TYPE, 0),), +) + +LIST_POLICIES_GRANTING_SERVICE_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _LPGSAI, + {_sSI: _cLPGSAR, _s: None}, + (_Ma, _Ar, _SNerv), + ( + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.ARN_TYPE, 1), + (SERVICE_NAMESPACE_LIST_TYPE, 1), + ), +) + +LIST_POLICIES_GRANTING_SERVICE_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPGSAO, + {_sSI: _cLPGSARo, _smi: None}, + (_PGSAo, _IT, _Ma), + ( + (lambda: LIST_POLICY_GRANTING_SERVICE_ACCESS_RESPONSE_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_POLICIES_GRANTING_SERVICE_ACCESS: StaticOperationSchema = ( + 23, + n0, + _LPGSA, + 0, + LIST_POLICIES_GRANTING_SERVICE_ACCESS_INPUT, + LIST_POLICIES_GRANTING_SERVICE_ACCESS_OUTPUT, + (lambda: schemas.INVALID_INPUT_EXCEPTION, lambda: schemas.NO_SUCH_ENTITY_EXCEPTION), +) + +ENTITY_NAME_TYPE: StaticSchema = (3, n0, _eNT, 0) + +POLICY_TYPE: StaticSchema = ( + 14, + n0, + _pTo, + 0, + (_INLINE, _MANAGED), + ((-1, {_sV: _INLINE}), (-1, {_sV: _MANAGED})), +) + +POLICY_GRANTING_SERVICE_ACCESS: StaticSchema = ( + 18, + n0, + _PGSA, + 0, + (_PN, _PT, _PA, _ET, _EN), + ( + (lambda: schemas.POLICY_NAME_TYPE, 1), + (POLICY_TYPE, 1), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.POLICY_OWNER_ENTITY_TYPE, 0), + (ENTITY_NAME_TYPE, 0), + ), +) + +POLICY_GRANTING_SERVICE_ACCESS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _pGSALT, + 0, + (_me,), + ((POLICY_GRANTING_SERVICE_ACCESS, 0),), +) + +LIST_POLICIES_GRANTING_SERVICE_ACCESS_ENTRY: StaticSchema = ( + 18, + n0, + _LPGSAE, + 0, + (_SNe, _Po), + ( + (lambda: schemas.SERVICE_NAMESPACE_TYPE, 0), + (POLICY_GRANTING_SERVICE_ACCESS_LIST_TYPE, 0), + ), +) + +LIST_POLICY_GRANTING_SERVICE_ACCESS_RESPONSE_LIST_TYPE: StaticSchema = ( + 16, + n0, + _lPGSARLT, + 0, + (_me,), + ((LIST_POLICIES_GRANTING_SERVICE_ACCESS_ENTRY, 0),), +) + +LIST_POLICY_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LPTI, + {_sSI: _cLPTR, _s: None}, + (_PA, _Ma, _MI), + ( + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_POLICY_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPTO, + {_sSI: _cLPTRo, _smi: None}, + (_Ta, _IT, _Ma), + ( + (lambda: schemas.TAG_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_POLICY_TAGS: StaticOperationSchema = ( + 23, + n0, + _LPT, + 0, + LIST_POLICY_TAGS_INPUT, + LIST_POLICY_TAGS_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_POLICY_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LPVI, + {_sSI: _cLPVR, _s: None}, + (_PA, _Ma, _MI), + ( + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_POLICY_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPVO, + {_sSI: _cLPVRo, _smi: None}, + (_Ve, _IT, _Ma), + ( + (lambda: schemas.POLICY_DOCUMENT_VERSION_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_POLICY_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LPV, + 0, + LIST_POLICY_VERSIONS_INPUT, + LIST_POLICY_VERSIONS_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_7.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_7.py new file mode 100644 index 000000000..7cbe7873f --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_7.py @@ -0,0 +1,1105 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_DRI = "DelegationRequestId" +_sm = "smithy.api#required" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_SN = "ServiceName" +_me = "member" +_UN = "UserName" +_S = "Status" +_CD = "CreateDate" +_RN = "RoleName" +_Ar = "Arn" +_PB = "PermissionsBoundary" +_Ta = "Tags" +_OIDCPA = "OpenIDConnectProviderArn" +_CID = "ClientID" +_IPN = "InstanceProfileName" +_GN = "GroupName" +_PN = "PolicyName" +_smithy = "smithy.api#default" +_Rol = "Roles" +_PD = "PolicyDocument" +_SAMLPA = "SAMLProviderArn" +_ED = "ExpirationDate" +_SUN = "ServiceUserName" +_v_ = "" +_SCA = "ServiceCredentialAlias" +_SSCI = "ServiceSpecificCredentialId" +_SCN = "ServerCertificateName" +_SSHPKI = "SSHPublicKeyId" +_MI = "MaxItems" +_Ma = "Marker" +_IT = "IsTruncated" +_Pr = "Properties" +_Use = "Users" +_No = "Notes" +_VU = "ValidUntil" +_UDp = "UploadDate" +_PPat = "PathPrefix" +_PNo = "PolicyNames" +_LRPI = "ListRolePoliciesInput" +_cLRPR = "com.amazonaws.iam#ListRolePoliciesRequest" +_LRPO = "ListRolePoliciesOutput" +_cLRPRo = "com.amazonaws.iam#ListRolePoliciesResponse" +_LRP = "ListRolePolicies" +_LRI = "ListRolesInput" +_cLRR = "com.amazonaws.iam#ListRolesRequest" +_LRO = "ListRolesOutput" +_cLRRo = "com.amazonaws.iam#ListRolesResponse" +_LR = "ListRoles" +_LRTI = "ListRoleTagsInput" +_cLRTR = "com.amazonaws.iam#ListRoleTagsRequest" +_LRTO = "ListRoleTagsOutput" +_cLRTRo = "com.amazonaws.iam#ListRoleTagsResponse" +_LRT = "ListRoleTags" +_LSAMLPI = "ListSAMLProvidersInput" +_cLSAMLPR = "com.amazonaws.iam#ListSAMLProvidersRequest" +_SAMLPLE = "SAMLProviderListEntry" +_SAMLPLT = "SAMLProviderListType" +_LSAMLPO = "ListSAMLProvidersOutput" +_cLSAMLPRo = "com.amazonaws.iam#ListSAMLProvidersResponse" +_SAMLPL = "SAMLProviderList" +_LSAMLP = "ListSAMLProviders" +_LSAMLPTI = "ListSAMLProviderTagsInput" +_cLSAMLPTR = "com.amazonaws.iam#ListSAMLProviderTagsRequest" +_LSAMLPTO = "ListSAMLProviderTagsOutput" +_cLSAMLPTRo = "com.amazonaws.iam#ListSAMLProviderTagsResponse" +_LSAMLPT = "ListSAMLProviderTags" +_LSCI = "ListServerCertificatesInput" +_cLSCR = "com.amazonaws.iam#ListServerCertificatesRequest" +_sCMLT = "serverCertificateMetadataListType" +_LSCO = "ListServerCertificatesOutput" +_cLSCRo = "com.amazonaws.iam#ListServerCertificatesResponse" +_SCML = "ServerCertificateMetadataList" +_LSC = "ListServerCertificates" +_LSCTI = "ListServerCertificateTagsInput" +_cLSCTR = "com.amazonaws.iam#ListServerCertificateTagsRequest" +_LSCTO = "ListServerCertificateTagsOutput" +_cLSCTRo = "com.amazonaws.iam#ListServerCertificateTagsResponse" +_LSCT = "ListServerCertificateTags" +_LSSCI = "ListServiceSpecificCredentialsInput" +_cLSSCR = "com.amazonaws.iam#ListServiceSpecificCredentialsRequest" +_AU = "AllUsers" +_SSCM = "ServiceSpecificCredentialMetadata" +_SSCLT = "ServiceSpecificCredentialsListType" +_LSSCO = "ListServiceSpecificCredentialsOutput" +_cLSSCRo = "com.amazonaws.iam#ListServiceSpecificCredentialsResponse" +_SSCe = "ServiceSpecificCredentials" +_LSSC = "ListServiceSpecificCredentials" +_LSCIi = "ListSigningCertificatesInput" +_cLSCRom = "com.amazonaws.iam#ListSigningCertificatesRequest" +_cLT = "certificateListType" +_LSCOi = "ListSigningCertificatesOutput" +_cLSCRoma = "com.amazonaws.iam#ListSigningCertificatesResponse" +_Cer = "Certificates" +_LSCi = "ListSigningCertificates" +_LSSHPKI = "ListSSHPublicKeysInput" +_cLSSHPKR = "com.amazonaws.iam#ListSSHPublicKeysRequest" +_SSHPKM = "SSHPublicKeyMetadata" +_SSHPKLT = "SSHPublicKeyListType" +_LSSHPKO = "ListSSHPublicKeysOutput" +_cLSSHPKRo = "com.amazonaws.iam#ListSSHPublicKeysResponse" +_SSHPKu = "SSHPublicKeys" +_LSSHPK = "ListSSHPublicKeys" +_LUPI = "ListUserPoliciesInput" +_cLUPR = "com.amazonaws.iam#ListUserPoliciesRequest" +_LUPO = "ListUserPoliciesOutput" +_cLUPRo = "com.amazonaws.iam#ListUserPoliciesResponse" +_LUP = "ListUserPolicies" +_LUI = "ListUsersInput" +_cLUR = "com.amazonaws.iam#ListUsersRequest" +_LUO = "ListUsersOutput" +_cLURo = "com.amazonaws.iam#ListUsersResponse" +_LU = "ListUsers" +_LUTI = "ListUserTagsInput" +_cLUTR = "com.amazonaws.iam#ListUserTagsRequest" +_LUTO = "ListUserTagsOutput" +_cLUTRo = "com.amazonaws.iam#ListUserTagsResponse" +_LUT = "ListUserTags" +_LVMFADI = "ListVirtualMFADevicesInput" +_cLVMFADR = "com.amazonaws.iam#ListVirtualMFADevicesRequest" +_AS = "AssignmentStatus" +_vMFADLT = "virtualMFADeviceListType" +_LVMFADO = "ListVirtualMFADevicesOutput" +_cLVMFADRo = "com.amazonaws.iam#ListVirtualMFADevicesResponse" +_VMFADi = "VirtualMFADevices" +_LVMFAD = "ListVirtualMFADevices" +_PAPI = "PutAccountPropertiesInput" +_cPAPR = "com.amazonaws.iam#PutAccountPropertiesRequest" +_PAPO = "PutAccountPropertiesOutput" +_cPAPRo = "com.amazonaws.iam#PutAccountPropertiesResponse" +_PAP = "PutAccountProperties" +_PGPI = "PutGroupPolicyInput" +_cPGPR = "com.amazonaws.iam#PutGroupPolicyRequest" +_PGPO = "PutGroupPolicyOutput" +_PGP = "PutGroupPolicy" +_PRPBI = "PutRolePermissionsBoundaryInput" +_cPRPBR = "com.amazonaws.iam#PutRolePermissionsBoundaryRequest" +_PRPBO = "PutRolePermissionsBoundaryOutput" +_PRPB = "PutRolePermissionsBoundary" +_PRPI = "PutRolePolicyInput" +_cPRPR = "com.amazonaws.iam#PutRolePolicyRequest" +_PRPO = "PutRolePolicyOutput" +_PRPu = "PutRolePolicy" +_PUPBI = "PutUserPermissionsBoundaryInput" +_cPUPBR = "com.amazonaws.iam#PutUserPermissionsBoundaryRequest" +_PUPBO = "PutUserPermissionsBoundaryOutput" +_PUPB = "PutUserPermissionsBoundary" +_PUPI = "PutUserPolicyInput" +_cPUPR = "com.amazonaws.iam#PutUserPolicyRequest" +_PUPO = "PutUserPolicyOutput" +_PUP = "PutUserPolicy" +_RDRI = "RejectDelegationRequestInput" +_cRDRR = "com.amazonaws.iam#RejectDelegationRequestRequest" +_RDRO = "RejectDelegationRequestOutput" +_RDR = "RejectDelegationRequest" +_RCIDFOIDCPI = "RemoveClientIDFromOpenIDConnectProviderInput" +_cRCIDFOIDCPR = "com.amazonaws.iam#RemoveClientIDFromOpenIDConnectProviderRequest" +_RCIDFOIDCPO = "RemoveClientIDFromOpenIDConnectProviderOutput" +_RCIDFOIDCP = "RemoveClientIDFromOpenIDConnectProvider" +_RRFIPI = "RemoveRoleFromInstanceProfileInput" +_cRRFIPR = "com.amazonaws.iam#RemoveRoleFromInstanceProfileRequest" +_RRFIPO = "RemoveRoleFromInstanceProfileOutput" +_RRFIP = "RemoveRoleFromInstanceProfile" +_RUFGI = "RemoveUserFromGroupInput" +_cRUFGR = "com.amazonaws.iam#RemoveUserFromGroupRequest" +_RUFGO = "RemoveUserFromGroupOutput" +_RUFG = "RemoveUserFromGroup" + +LIST_ROLE_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LRPI, + {_sSI: _cLRPR, _s: None}, + (_RN, _Ma, _MI), + ( + (lambda: schemas.ROLE_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_ROLE_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LRPO, + {_sSI: _cLRPRo, _smi: None}, + (_PNo, _IT, _Ma), + ( + (lambda: schemas.POLICY_NAME_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_ROLE_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LRP, + 0, + LIST_ROLE_POLICIES_INPUT, + LIST_ROLE_POLICIES_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_ROLES_INPUT: StaticSchema = ( + 18, + n0, + _LRI, + {_sSI: _cLRR, _s: None}, + (_PPat, _Ma, _MI), + ( + (lambda: schemas.PATH_PREFIX_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_ROLES_OUTPUT: StaticSchema = ( + 18, + n0, + _LRO, + {_sSI: _cLRRo, _smi: None}, + (_Rol, _IT, _Ma), + ( + (lambda: schemas.ROLE_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_ROLES: StaticOperationSchema = ( + 23, + n0, + _LR, + 0, + LIST_ROLES_INPUT, + LIST_ROLES_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +LIST_ROLE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LRTI, + {_sSI: _cLRTR, _s: None}, + (_RN, _Ma, _MI), + ( + (lambda: schemas.ROLE_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_ROLE_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRTO, + {_sSI: _cLRTRo, _smi: None}, + (_Ta, _IT, _Ma), + ( + (lambda: schemas.TAG_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_ROLE_TAGS: StaticOperationSchema = ( + 23, + n0, + _LRT, + 0, + LIST_ROLE_TAGS_INPUT, + LIST_ROLE_TAGS_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_SAML_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _LSAMLPI, + {_sSI: _cLSAMLPR, _s: None}, +) + +LIST_SAML_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSAMLPO, + {_sSI: _cLSAMLPRo, _smi: None}, + (_SAMLPL,), + ((lambda: SAML_PROVIDER_LIST_TYPE, 0),), +) + +LIST_SAML_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _LSAMLP, + 0, + LIST_SAML_PROVIDERS_INPUT, + LIST_SAML_PROVIDERS_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +SAML_PROVIDER_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _SAMLPLE, + 0, + (_Ar, _VU, _CD), + ( + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +SAML_PROVIDER_LIST_TYPE: StaticSchema = ( + 16, + n0, + _SAMLPLT, + 0, + (_me,), + ((SAML_PROVIDER_LIST_ENTRY, 0),), +) + +LIST_SAML_PROVIDER_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LSAMLPTI, + {_sSI: _cLSAMLPTR, _s: None}, + (_SAMLPA, _Ma, _MI), + ( + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_SAML_PROVIDER_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSAMLPTO, + {_sSI: _cLSAMLPTRo, _smi: None}, + (_Ta, _IT, _Ma), + ( + (lambda: schemas.TAG_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_SAML_PROVIDER_TAGS: StaticOperationSchema = ( + 23, + n0, + _LSAMLPT, + 0, + LIST_SAML_PROVIDER_TAGS_INPUT, + LIST_SAML_PROVIDER_TAGS_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_SERVER_CERTIFICATES_INPUT: StaticSchema = ( + 18, + n0, + _LSCI, + {_sSI: _cLSCR, _s: None}, + (_PPat, _Ma, _MI), + ( + (lambda: schemas.PATH_PREFIX_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_SERVER_CERTIFICATES_OUTPUT: StaticSchema = ( + 18, + n0, + _LSCO, + {_sSI: _cLSCRo, _smi: None}, + (_SCML, _IT, _Ma), + ( + (lambda: SERVER_CERTIFICATE_METADATA_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_SERVER_CERTIFICATES: StaticOperationSchema = ( + 23, + n0, + _LSC, + 0, + LIST_SERVER_CERTIFICATES_INPUT, + LIST_SERVER_CERTIFICATES_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +SERVER_CERTIFICATE_METADATA_LIST_TYPE: StaticSchema = ( + 16, + n0, + _sCMLT, + 0, + (_me,), + ((lambda: schemas.SERVER_CERTIFICATE_METADATA, 0),), +) + +LIST_SERVER_CERTIFICATE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LSCTI, + {_sSI: _cLSCTR, _s: None}, + (_SCN, _Ma, _MI), + ( + (lambda: schemas.SERVER_CERTIFICATE_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_SERVER_CERTIFICATE_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSCTO, + {_sSI: _cLSCTRo, _smi: None}, + (_Ta, _IT, _Ma), + ( + (lambda: schemas.TAG_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_SERVER_CERTIFICATE_TAGS: StaticOperationSchema = ( + 23, + n0, + _LSCT, + 0, + LIST_SERVER_CERTIFICATE_TAGS_INPUT, + LIST_SERVER_CERTIFICATE_TAGS_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_SERVICE_SPECIFIC_CREDENTIALS_INPUT: StaticSchema = ( + 18, + n0, + _LSSCI, + {_sSI: _cLSSCR, _s: None}, + (_UN, _SN, _AU, _Ma, _MI), + ( + (lambda: schemas.USER_NAME_TYPE, 0), + (lambda: schemas.SERVICE_NAME, 0), + (lambda: schemas.ALL_USERS, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_SERVICE_SPECIFIC_CREDENTIALS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSSCO, + {_sSI: _cLSSCRo, _smi: None}, + (_SSCe, _Ma, _IT), + ( + (lambda: SERVICE_SPECIFIC_CREDENTIALS_LIST_TYPE, 0), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + ), +) + +LIST_SERVICE_SPECIFIC_CREDENTIALS: StaticOperationSchema = ( + 23, + n0, + _LSSC, + 0, + LIST_SERVICE_SPECIFIC_CREDENTIALS_INPUT, + LIST_SERVICE_SPECIFIC_CREDENTIALS_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_NOT_SUPPORTED_EXCEPTION, + ), +) + +SERVICE_SPECIFIC_CREDENTIAL_METADATA: StaticSchema = ( + 18, + n0, + _SSCM, + 0, + (_UN, _S, _SUN, _SCA, _CD, _ED, _SSCI, _SN), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.STATUS_TYPE, 1), + (lambda: schemas.SERVICE_USER_NAME, {_smithy: _v_}), + (lambda: schemas.SERVICE_CREDENTIAL_ALIAS, 0), + (lambda: schemas.DATE_TYPE, 1), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.SERVICE_SPECIFIC_CREDENTIAL_ID, 1), + (lambda: schemas.SERVICE_NAME, 1), + ), +) + +SERVICE_SPECIFIC_CREDENTIALS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _SSCLT, + 0, + (_me,), + ((SERVICE_SPECIFIC_CREDENTIAL_METADATA, 0),), +) + +LIST_SIGNING_CERTIFICATES_INPUT: StaticSchema = ( + 18, + n0, + _LSCIi, + {_sSI: _cLSCRom, _s: None}, + (_UN, _Ma, _MI), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_SIGNING_CERTIFICATES_OUTPUT: StaticSchema = ( + 18, + n0, + _LSCOi, + {_sSI: _cLSCRoma, _smi: None}, + (_Cer, _IT, _Ma), + ( + (lambda: CERTIFICATE_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_SIGNING_CERTIFICATES: StaticOperationSchema = ( + 23, + n0, + _LSCi, + 0, + LIST_SIGNING_CERTIFICATES_INPUT, + LIST_SIGNING_CERTIFICATES_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +CERTIFICATE_LIST_TYPE: StaticSchema = ( + 16, + n0, + _cLT, + 0, + (_me,), + ((lambda: schemas.SIGNING_CERTIFICATE, 0),), +) + +LIST_SSH_PUBLIC_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _LSSHPKI, + {_sSI: _cLSSHPKR, _s: None}, + (_UN, _Ma, _MI), + ( + (lambda: schemas.USER_NAME_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_SSH_PUBLIC_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSSHPKO, + {_sSI: _cLSSHPKRo, _smi: None}, + (_SSHPKu, _IT, _Ma), + ( + (lambda: SSH_PUBLIC_KEY_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_SSH_PUBLIC_KEYS: StaticOperationSchema = ( + 23, + n0, + _LSSHPK, + 0, + LIST_SSH_PUBLIC_KEYS_INPUT, + LIST_SSH_PUBLIC_KEYS_OUTPUT, + (lambda: schemas.NO_SUCH_ENTITY_EXCEPTION,), +) + +SSH_PUBLIC_KEY_METADATA: StaticSchema = ( + 18, + n0, + _SSHPKM, + 0, + (_UN, _SSHPKI, _S, _UDp), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.PUBLIC_KEY_ID_TYPE, 1), + (lambda: schemas.STATUS_TYPE, 1), + (lambda: schemas.DATE_TYPE, 1), + ), +) + +SSH_PUBLIC_KEY_LIST_TYPE: StaticSchema = ( + 16, + n0, + _SSHPKLT, + 0, + (_me,), + ((SSH_PUBLIC_KEY_METADATA, 0),), +) + +LIST_USER_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LUPI, + {_sSI: _cLUPR, _s: None}, + (_UN, _Ma, _MI), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_USER_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LUPO, + {_sSI: _cLUPRo, _smi: None}, + (_PNo, _IT, _Ma), + ( + (lambda: schemas.POLICY_NAME_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_USER_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LUP, + 0, + LIST_USER_POLICIES_INPUT, + LIST_USER_POLICIES_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_USERS_INPUT: StaticSchema = ( + 18, + n0, + _LUI, + {_sSI: _cLUR, _s: None}, + (_PPat, _Ma, _MI), + ( + (lambda: schemas.PATH_PREFIX_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_USERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LUO, + {_sSI: _cLURo, _smi: None}, + (_Use, _IT, _Ma), + ( + (lambda: schemas.USER_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_USERS: StaticOperationSchema = ( + 23, + n0, + _LU, + 0, + LIST_USERS_INPUT, + LIST_USERS_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +LIST_USER_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LUTI, + {_sSI: _cLUTR, _s: None}, + (_UN, _Ma, _MI), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_USER_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LUTO, + {_sSI: _cLUTRo, _smi: None}, + (_Ta, _IT, _Ma), + ( + (lambda: schemas.TAG_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_USER_TAGS: StaticOperationSchema = ( + 23, + n0, + _LUT, + 0, + LIST_USER_TAGS_INPUT, + LIST_USER_TAGS_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +LIST_VIRTUAL_MFA_DEVICES_INPUT: StaticSchema = ( + 18, + n0, + _LVMFADI, + {_sSI: _cLVMFADR, _s: None}, + (_AS, _Ma, _MI), + ( + (lambda: schemas.ASSIGNMENT_STATUS_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + ), +) + +LIST_VIRTUAL_MFA_DEVICES_OUTPUT: StaticSchema = ( + 18, + n0, + _LVMFADO, + {_sSI: _cLVMFADRo, _smi: None}, + (_VMFADi, _IT, _Ma), + ( + (lambda: VIRTUAL_MFA_DEVICE_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +LIST_VIRTUAL_MFA_DEVICES: StaticOperationSchema = ( + 23, + n0, + _LVMFAD, + 0, + LIST_VIRTUAL_MFA_DEVICES_INPUT, + LIST_VIRTUAL_MFA_DEVICES_OUTPUT, + (), +) + +VIRTUAL_MFA_DEVICE_LIST_TYPE: StaticSchema = ( + 16, + n0, + _vMFADLT, + 0, + (_me,), + ((lambda: schemas.VIRTUAL_MFA_DEVICE, 0),), +) + +PUT_ACCOUNT_PROPERTIES_INPUT: StaticSchema = ( + 18, + n0, + _PAPI, + {_sSI: _cPAPR, _s: None}, + (_Pr,), + ((lambda: schemas.ACCOUNT_PROPERTIES_MAP_TYPE, 1),), +) + +PUT_ACCOUNT_PROPERTIES_OUTPUT: StaticSchema = ( + 18, + n0, + _PAPO, + {_sSI: _cPAPRo, _smi: None}, +) + +PUT_ACCOUNT_PROPERTIES: StaticOperationSchema = ( + 23, + n0, + _PAP, + 0, + PUT_ACCOUNT_PROPERTIES_INPUT, + PUT_ACCOUNT_PROPERTIES_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +PUT_GROUP_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PGPI, + {_sSI: _cPGPR, _s: None}, + (_GN, _PN, _PD), + ( + (lambda: schemas.GROUP_NAME_TYPE, 1), + (lambda: schemas.POLICY_NAME_TYPE, 1), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 1), + ), +) + +PUT_GROUP_POLICY_OUTPUT: StaticSchema = (18, n0, _PGPO, {_sSI: _sU, _smi: None}) + +PUT_GROUP_POLICY: StaticOperationSchema = ( + 23, + n0, + _PGP, + 0, + PUT_GROUP_POLICY_INPUT, + PUT_GROUP_POLICY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +PUT_ROLE_PERMISSIONS_BOUNDARY_INPUT: StaticSchema = ( + 18, + n0, + _PRPBI, + {_sSI: _cPRPBR, _s: None}, + (_RN, _PB), + ((lambda: schemas.ROLE_NAME_TYPE, 1), (lambda: schemas.ARN_TYPE, 1)), +) + +PUT_ROLE_PERMISSIONS_BOUNDARY_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPBO, + {_sSI: _sU, _smi: None}, +) + +PUT_ROLE_PERMISSIONS_BOUNDARY: StaticOperationSchema = ( + 23, + n0, + _PRPB, + 0, + PUT_ROLE_PERMISSIONS_BOUNDARY_INPUT, + PUT_ROLE_PERMISSIONS_BOUNDARY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.POLICY_NOT_ATTACHABLE_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +PUT_ROLE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_sSI: _cPRPR, _s: None}, + (_RN, _PN, _PD), + ( + (lambda: schemas.ROLE_NAME_TYPE, 1), + (lambda: schemas.POLICY_NAME_TYPE, 1), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 1), + ), +) + +PUT_ROLE_POLICY_OUTPUT: StaticSchema = (18, n0, _PRPO, {_sSI: _sU, _smi: None}) + +PUT_ROLE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRPu, + 0, + PUT_ROLE_POLICY_INPUT, + PUT_ROLE_POLICY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +PUT_USER_PERMISSIONS_BOUNDARY_INPUT: StaticSchema = ( + 18, + n0, + _PUPBI, + {_sSI: _cPUPBR, _s: None}, + (_UN, _PB), + ((lambda: schemas.USER_NAME_TYPE, 1), (lambda: schemas.ARN_TYPE, 1)), +) + +PUT_USER_PERMISSIONS_BOUNDARY_OUTPUT: StaticSchema = ( + 18, + n0, + _PUPBO, + {_sSI: _sU, _smi: None}, +) + +PUT_USER_PERMISSIONS_BOUNDARY: StaticOperationSchema = ( + 23, + n0, + _PUPB, + 0, + PUT_USER_PERMISSIONS_BOUNDARY_INPUT, + PUT_USER_PERMISSIONS_BOUNDARY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.POLICY_NOT_ATTACHABLE_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +PUT_USER_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PUPI, + {_sSI: _cPUPR, _s: None}, + (_UN, _PN, _PD), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.POLICY_NAME_TYPE, 1), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 1), + ), +) + +PUT_USER_POLICY_OUTPUT: StaticSchema = (18, n0, _PUPO, {_sSI: _sU, _smi: None}) + +PUT_USER_POLICY: StaticOperationSchema = ( + 23, + n0, + _PUP, + 0, + PUT_USER_POLICY_INPUT, + PUT_USER_POLICY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +REJECT_DELEGATION_REQUEST_INPUT: StaticSchema = ( + 18, + n0, + _RDRI, + {_sSI: _cRDRR, _s: None}, + (_DRI, _No), + ((lambda: schemas.DELEGATION_REQUEST_ID_TYPE, 1), (lambda: schemas.NOTES_TYPE, 0)), +) + +REJECT_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( + 18, + n0, + _RDRO, + {_sSI: _sU, _smi: None}, +) + +REJECT_DELEGATION_REQUEST: StaticOperationSchema = ( + 23, + n0, + _RDR, + 0, + REJECT_DELEGATION_REQUEST_INPUT, + REJECT_DELEGATION_REQUEST_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _RCIDFOIDCPI, + {_sSI: _cRCIDFOIDCPR, _s: None}, + (_OIDCPA, _CID), + ((lambda: schemas.ARN_TYPE, 1), (lambda: schemas.CLIENT_ID_TYPE, 1)), +) + +REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _RCIDFOIDCPO, + {_sSI: _sU, _smi: None}, +) + +REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _RCIDFOIDCP, + 0, + REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_INPUT, + REMOVE_CLIENT_ID_FROM_OPEN_ID_CONNECT_PROVIDER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +REMOVE_ROLE_FROM_INSTANCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _RRFIPI, + {_sSI: _cRRFIPR, _s: None}, + (_IPN, _RN), + ( + (lambda: schemas.INSTANCE_PROFILE_NAME_TYPE, 1), + (lambda: schemas.ROLE_NAME_TYPE, 1), + ), +) + +REMOVE_ROLE_FROM_INSTANCE_PROFILE_OUTPUT: StaticSchema = ( + 18, + n0, + _RRFIPO, + {_sSI: _sU, _smi: None}, +) + +REMOVE_ROLE_FROM_INSTANCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _RRFIP, + 0, + REMOVE_ROLE_FROM_INSTANCE_PROFILE_INPUT, + REMOVE_ROLE_FROM_INSTANCE_PROFILE_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +REMOVE_USER_FROM_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _RUFGI, + {_sSI: _cRUFGR, _s: None}, + (_GN, _UN), + ( + (lambda: schemas.GROUP_NAME_TYPE, 1), + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + ), +) + +REMOVE_USER_FROM_GROUP_OUTPUT: StaticSchema = (18, n0, _RUFGO, {_sSI: _sU, _smi: None}) + +REMOVE_USER_FROM_GROUP: StaticOperationSchema = ( + 23, + n0, + _RUFG, + 0, + REMOVE_USER_FROM_GROUP_INPUT, + REMOVE_USER_FROM_GROUP_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_8.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_8.py new file mode 100644 index 000000000..1cc688537 --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_8.py @@ -0,0 +1,1046 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_DRI = "DelegationRequestId" +_sm = "smithy.api#required" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_m = "message" +_se = "server" +_sV = "smithy.api#enumValue" +_me = "member" +_UN = "UserName" +_k = "key" +_v = "value" +_RN = "RoleName" +_Ta = "Tags" +_OIDCPA = "OpenIDConnectProviderArn" +_IPN = "InstanceProfileName" +_PN = "PolicyName" +_PA = "PolicyArn" +_AN = "AttachmentName" +_AT = "AttachmentType" +_USER = "USER" +_u = "user" +_GROUP = "GROUP" +_g = "group" +_ROLE = "ROLE" +_r = "role" +_smithy = "smithy.api#default" +_STRING = "STRING" +_st = "string" +_SL_ = "STRING_LIST" +_sL = "stringList" +_VI = "VersionId" +_SAMLPA = "SAMLProviderArn" +_SSC = "ServiceSpecificCredential" +_SSCI = "ServiceSpecificCredentialId" +_SNer = "SerialNumber" +_SCN = "ServerCertificateName" +_ACu = "AuthenticationCode1" +_ACut = "AuthenticationCode2" +_MI = "MaxItems" +_Ma = "Marker" +_IT = "IsTruncated" +_GETV = "GlobalEndpointTokenVersion" +_PIL = "PolicyInputList" +_PSA = "PolicySourceArn" +_ALLOWED = "ALLOWED" +_INLINE = "INLINE" +_PT = "PolicyType" +_RSSCI = "ResetServiceSpecificCredentialInput" +_cRSSCR = "com.amazonaws.iam#ResetServiceSpecificCredentialRequest" +_RSSCO = "ResetServiceSpecificCredentialOutput" +_cRSSCRo = "com.amazonaws.iam#ResetServiceSpecificCredentialResponse" +_RSSC = "ResetServiceSpecificCredential" +_RMFADI = "ResyncMFADeviceInput" +_cRMFADR = "com.amazonaws.iam#ResyncMFADeviceRequest" +_RMFADO = "ResyncMFADeviceOutput" +_RMFAD = "ResyncMFADevice" +_SDTI = "SendDelegationTokenInput" +_cSDTR = "com.amazonaws.iam#SendDelegationTokenRequest" +_SDTO = "SendDelegationTokenOutput" +_SDT = "SendDelegationToken" +_SDPVI = "SetDefaultPolicyVersionInput" +_cSDPVR = "com.amazonaws.iam#SetDefaultPolicyVersionRequest" +_SDPVO = "SetDefaultPolicyVersionOutput" +_SDPV = "SetDefaultPolicyVersion" +_gETV = "globalEndpointTokenVersion" +_vT = "v1Token" +_vTo = "v2Token" +_SSTSPI = "SetSecurityTokenServicePreferencesInput" +_cSSTSPR = "com.amazonaws.iam#SetSecurityTokenServicePreferencesRequest" +_SSTSPO = "SetSecurityTokenServicePreferencesOutput" +_SSTSP = "SetSecurityTokenServicePreferences" +_pEEM = "policyEvaluationErrorMessage" +_PEE = "PolicyEvaluationException" +_RNTe = "ResourceNameType" +_CKTE = "ContextKeyTypeEnum" +_NUMERIC = "NUMERIC" +_n = "numeric" +_NL_ = "NUMERIC_LIST" +_nL = "numericList" +_BOOLEAN = "BOOLEAN" +_b = "boolean" +_BL = "BOOLEAN_LIST" +_bL = "booleanList" +_IP__ = "IP" +_i = "ip" +_IL = "IP_LIST" +_iL = "ipList" +_BINARY = "BINARY" +_bi = "binary" +_BL_ = "BINARY_LIST" +_bLi = "binaryList" +_DATE = "DATE" +_d = "date" +_DL = "DATE_LIST" +_dL = "dateList" +_CKVT = "ContextKeyValueType" +_CKVLT = "ContextKeyValueListType" +_CE = "ContextEntry" +_CKNo = "ContextKeyName" +_CKV = "ContextKeyValues" +_CKTo = "ContextKeyType" +_CELT = "ContextEntryListType" +_OOPT = "OrderedOrganizationPolicyType" +_SCPIL = "ServiceControlPolicyInputList" +_OPLT = "OrganizationPolicyListType" +_RNLT = "ResourceNameListType" +_RHOT = "ResourceHandlingOptionType" +_SCPI = "SimulateCustomPolicyInput" +_cSCPR = "com.amazonaws.iam#SimulateCustomPolicyRequest" +_PBPIL = "PermissionsBoundaryPolicyInputList" +_OOPIL = "OrderedOrganizationPolicyInputList" +_ANct = "ActionNames" +_RA = "ResourceArns" +_RP = "ResourcePolicy" +_RO = "ResourceOwner" +_CA = "CallerArn" +_CEo = "ContextEntries" +_RHO = "ResourceHandlingOption" +_PEDT = "PolicyEvaluationDecisionType" +_a = "allowed" +_ED_ = "EXPLICIT_DENY" +_eD = "explicitDeny" +_ID = "IMPLICIT_DENY" +_iD = "implicitDeny" +_EDST = "EvalDecisionSourceType" +_EDDT = "EvalDecisionDetailsType" +_CN = "ColumnNumber" +_LN = "LineNumber" +_Pos = "Position" +_Li = "Line" +_Col = "Column" +_PIT = "PolicyIdentifierType" +_PST = "PolicySourceType" +_AM = "AWS_MANAGED" +_am = "aws-managed" +_UM = "USER_MANAGED" +_um = "user-managed" +_RESOURCE = "RESOURCE" +_re = "resource" +_NONE = "NONE" +_no = "none" +_Sta = "Statement" +_SPI = "SourcePolicyId" +_SPT = "SourcePolicyType" +_SPt = "StartPosition" +_EPn = "EndPosition" +_SLT = "StatementListType" +_ODD = "OrganizationsDecisionDetail" +_ABO = "AllowedByOrganizations" +_PBDD = "PermissionsBoundaryDecisionDetail" +_ABPB = "AllowedByPermissionsBoundary" +_RSR = "ResourceSpecificResult" +_ERN = "EvalResourceName" +_ERD = "EvalResourceDecision" +_MS = "MatchedStatements" +_MCV = "MissingContextValues" +_EDD = "EvalDecisionDetails" +_RSRLT = "ResourceSpecificResultListType" +_ER = "EvaluationResult" +_EAN = "EvalActionName" +_EDv = "EvalDecision" +_RSRe = "ResourceSpecificResults" +_ERLT = "EvaluationResultsListType" +_SCPO = "SimulateCustomPolicyOutput" +_cSPR = "com.amazonaws.iam#SimulatePolicyResponse" +_ERv = "EvaluationResults" +_SCP = "SimulateCustomPolicy" +_IPIT = "InlinePolicyIdentifierType" +_PIPT = "PolicyIdentifierPolicyType" +_in = "inline" +_PB_ = "PERMISSION_BOUNDARY" +_pb = "permission-boundary" +_SCP_ = "SCP" +_sc = "scp" +_RCP = "RCP" +_rc = "rcp" +_PIo = "PolicyIdentifier" +_IPIn = "InlinePolicyIdentifier" +_PELT = "PolicyExclusionsListType" +_SPPI = "SimulatePrincipalPolicyInput" +_cSPPR = "com.amazonaws.iam#SimulatePrincipalPolicyRequest" +_PEL = "PolicyExclusionList" +_SPPO = "SimulatePrincipalPolicyOutput" +_SPP = "SimulatePrincipalPolicy" +_TIPI = "TagInstanceProfileInput" +_cTIPR = "com.amazonaws.iam#TagInstanceProfileRequest" +_TIPO = "TagInstanceProfileOutput" +_TIP = "TagInstanceProfile" +_TMFADI = "TagMFADeviceInput" +_cTMFADR = "com.amazonaws.iam#TagMFADeviceRequest" +_TMFADO = "TagMFADeviceOutput" +_TMFAD = "TagMFADevice" +_TOIDCPI = "TagOpenIDConnectProviderInput" +_cTOIDCPR = "com.amazonaws.iam#TagOpenIDConnectProviderRequest" +_TOIDCPO = "TagOpenIDConnectProviderOutput" +_TOIDCP = "TagOpenIDConnectProvider" +_TPI = "TagPolicyInput" +_cTPR = "com.amazonaws.iam#TagPolicyRequest" +_TPO = "TagPolicyOutput" +_TP = "TagPolicy" +_TRI = "TagRoleInput" +_cTRR = "com.amazonaws.iam#TagRoleRequest" +_TRO = "TagRoleOutput" +_TR = "TagRole" +_TSAMLPI = "TagSAMLProviderInput" +_cTSAMLPR = "com.amazonaws.iam#TagSAMLProviderRequest" +_TSAMLPO = "TagSAMLProviderOutput" +_TSAMLP = "TagSAMLProvider" +_TSCI = "TagServerCertificateInput" +_cTSCR = "com.amazonaws.iam#TagServerCertificateRequest" +_TSCO = "TagServerCertificateOutput" +_TSC = "TagServerCertificate" +_TUI = "TagUserInput" +_cTUR = "com.amazonaws.iam#TagUserRequest" +_TUO = "TagUserOutput" +_TU = "TagUser" +_UIPI = "UntagInstanceProfileInput" +_cUIPR = "com.amazonaws.iam#UntagInstanceProfileRequest" +_TK = "TagKeys" +_UIPO = "UntagInstanceProfileOutput" +_UIP = "UntagInstanceProfile" + +RESET_SERVICE_SPECIFIC_CREDENTIAL_INPUT: StaticSchema = ( + 18, + n0, + _RSSCI, + {_sSI: _cRSSCR, _s: None}, + (_UN, _SSCI), + ( + (lambda: schemas.USER_NAME_TYPE, 0), + (lambda: schemas.SERVICE_SPECIFIC_CREDENTIAL_ID, 1), + ), +) + +RESET_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT: StaticSchema = ( + 18, + n0, + _RSSCO, + {_sSI: _cRSSCRo, _smi: None}, + (_SSC,), + ((lambda: schemas.SERVICE_SPECIFIC_CREDENTIAL, 0),), +) + +RESET_SERVICE_SPECIFIC_CREDENTIAL: StaticOperationSchema = ( + 23, + n0, + _RSSC, + 0, + RESET_SERVICE_SPECIFIC_CREDENTIAL_INPUT, + RESET_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT, + (lambda: schemas.NO_SUCH_ENTITY_EXCEPTION,), +) + +RESYNC_MFA_DEVICE_INPUT: StaticSchema = ( + 18, + n0, + _RMFADI, + {_sSI: _cRMFADR, _s: None}, + (_UN, _SNer, _ACu, _ACut), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.SERIAL_NUMBER_TYPE, 1), + (lambda: schemas.AUTHENTICATION_CODE_TYPE, 1), + (lambda: schemas.AUTHENTICATION_CODE_TYPE, 1), + ), +) + +RESYNC_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _RMFADO, {_sSI: _sU, _smi: None}) + +RESYNC_MFA_DEVICE: StaticOperationSchema = ( + 23, + n0, + _RMFAD, + 0, + RESYNC_MFA_DEVICE_INPUT, + RESYNC_MFA_DEVICE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_AUTHENTICATION_CODE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +SEND_DELEGATION_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _SDTI, + {_sSI: _cSDTR, _s: None}, + (_DRI,), + ((lambda: schemas.DELEGATION_REQUEST_ID_TYPE, 1),), +) + +SEND_DELEGATION_TOKEN_OUTPUT: StaticSchema = (18, n0, _SDTO, {_sSI: _sU, _smi: None}) + +SEND_DELEGATION_TOKEN: StaticOperationSchema = ( + 23, + n0, + _SDT, + 0, + SEND_DELEGATION_TOKEN_INPUT, + SEND_DELEGATION_TOKEN_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +SET_DEFAULT_POLICY_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _SDPVI, + {_sSI: _cSDPVR, _s: None}, + (_PA, _VI), + ((lambda: schemas.ARN_TYPE, 1), (lambda: schemas.POLICY_VERSION_ID_TYPE, 1)), +) + +SET_DEFAULT_POLICY_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _SDPVO, + {_sSI: _sU, _smi: None}, +) + +SET_DEFAULT_POLICY_VERSION: StaticOperationSchema = ( + 23, + n0, + _SDPV, + 0, + SET_DEFAULT_POLICY_VERSION_INPUT, + SET_DEFAULT_POLICY_VERSION_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +GLOBAL_ENDPOINT_TOKEN_VERSION: StaticSchema = ( + 14, + n0, + _gETV, + 0, + (_vT, _vTo), + ((-1, {_sV: _vT}), (-1, {_sV: _vTo})), +) + +SET_SECURITY_TOKEN_SERVICE_PREFERENCES_INPUT: StaticSchema = ( + 18, + n0, + _SSTSPI, + {_sSI: _cSSTSPR, _s: None}, + (_GETV,), + ((GLOBAL_ENDPOINT_TOKEN_VERSION, 1),), +) + +SET_SECURITY_TOKEN_SERVICE_PREFERENCES_OUTPUT: StaticSchema = ( + 18, + n0, + _SSTSPO, + {_sSI: _sU, _smi: None}, +) + +SET_SECURITY_TOKEN_SERVICE_PREFERENCES: StaticOperationSchema = ( + 23, + n0, + _SSTSP, + 0, + SET_SECURITY_TOKEN_SERVICE_PREFERENCES_INPUT, + SET_SECURITY_TOKEN_SERVICE_PREFERENCES_OUTPUT, + (lambda: schemas.SERVICE_FAILURE_EXCEPTION,), +) + +POLICY_EVALUATION_ERROR_MESSAGE: StaticSchema = (3, n0, _pEEM, 0) + +POLICY_EVALUATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _PEE, + { + _smit: _se, + _sE: 500, + _aQE: MappingProxyType({"code": "PolicyEvaluation", "httpResponseCode": 500}), + }, + (_m,), + ((POLICY_EVALUATION_ERROR_MESSAGE, 0),), +) + +RESOURCE_NAME_TYPE: StaticSchema = (3, n0, _RNTe, 0) + +CONTEXT_KEY_TYPE_ENUM: StaticSchema = ( + 14, + n0, + _CKTE, + 0, + ( + _STRING, + _SL_, + _NUMERIC, + _NL_, + _BOOLEAN, + _BL, + _IP__, + _IL, + _BINARY, + _BL_, + _DATE, + _DL, + ), + ( + (-1, {_sV: _st}), + (-1, {_sV: _sL}), + (-1, {_sV: _n}), + (-1, {_sV: _nL}), + (-1, {_sV: _b}), + (-1, {_sV: _bL}), + (-1, {_sV: _i}), + (-1, {_sV: _iL}), + (-1, {_sV: _bi}), + (-1, {_sV: _bLi}), + (-1, {_sV: _d}), + (-1, {_sV: _dL}), + ), +) + +CONTEXT_KEY_VALUE_TYPE: StaticSchema = (3, n0, _CKVT, 0) + +CONTEXT_KEY_VALUE_LIST_TYPE: StaticSchema = ( + 16, + n0, + _CKVLT, + 0, + (_me,), + ((CONTEXT_KEY_VALUE_TYPE, 0),), +) + +CONTEXT_ENTRY: StaticSchema = ( + 18, + n0, + _CE, + 0, + (_CKNo, _CKV, _CKTo), + ( + (lambda: schemas.CONTEXT_KEY_NAME_TYPE, 0), + (CONTEXT_KEY_VALUE_LIST_TYPE, 0), + (CONTEXT_KEY_TYPE_ENUM, 0), + ), +) + +CONTEXT_ENTRY_LIST_TYPE: StaticSchema = ( + 16, + n0, + _CELT, + 0, + (_me,), + ((CONTEXT_ENTRY, 0),), +) + +ORDERED_ORGANIZATION_POLICY_TYPE: StaticSchema = ( + 18, + n0, + _OOPT, + 0, + (_SCPIL,), + ((lambda: schemas.SIMULATION_POLICY_LIST_TYPE, 0),), +) + +ORGANIZATION_POLICY_LIST_TYPE: StaticSchema = ( + 16, + n0, + _OPLT, + 0, + (_me,), + ((ORDERED_ORGANIZATION_POLICY_TYPE, 0),), +) + +RESOURCE_NAME_LIST_TYPE: StaticSchema = ( + 16, + n0, + _RNLT, + 0, + (_me,), + ((RESOURCE_NAME_TYPE, 0),), +) + +RESOURCE_HANDLING_OPTION_TYPE: StaticSchema = (3, n0, _RHOT, 0) + +SIMULATE_CUSTOM_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _SCPI, + {_sSI: _cSCPR, _s: None}, + (_PIL, _PBPIL, _OOPIL, _ANct, _RA, _RP, _RO, _CA, _CEo, _RHO, _MI, _Ma), + ( + (lambda: schemas.SIMULATION_POLICY_LIST_TYPE, 1), + (lambda: schemas.SIMULATION_POLICY_LIST_TYPE, 0), + (ORGANIZATION_POLICY_LIST_TYPE, 0), + (lambda: schemas.ACTION_NAME_LIST_TYPE, 1), + (RESOURCE_NAME_LIST_TYPE, 0), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 0), + (RESOURCE_NAME_TYPE, 0), + (RESOURCE_NAME_TYPE, 0), + (CONTEXT_ENTRY_LIST_TYPE, 0), + (RESOURCE_HANDLING_OPTION_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + ), +) + +SIMULATE_CUSTOM_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _SCPO, + {_sSI: _cSPR, _smi: None}, + (_ERv, _IT, _Ma), + ( + (lambda: EVALUATION_RESULTS_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +SIMULATE_CUSTOM_POLICY: StaticOperationSchema = ( + 23, + n0, + _SCP, + 0, + SIMULATE_CUSTOM_POLICY_INPUT, + SIMULATE_CUSTOM_POLICY_OUTPUT, + (lambda: schemas.INVALID_INPUT_EXCEPTION, POLICY_EVALUATION_EXCEPTION), +) + +POLICY_EVALUATION_DECISION_TYPE: StaticSchema = ( + 14, + n0, + _PEDT, + 0, + (_ALLOWED, _ED_, _ID), + ((-1, {_sV: _a}), (-1, {_sV: _eD}), (-1, {_sV: _iD})), +) + +EVAL_DECISION_SOURCE_TYPE: StaticSchema = (3, n0, _EDST, 0) + +EVAL_DECISION_DETAILS_TYPE: StaticSchema = ( + 17, + n0, + _EDDT, + 0, + (_k, _v), + ((EVAL_DECISION_SOURCE_TYPE, 0), (POLICY_EVALUATION_DECISION_TYPE, 0)), +) + +COLUMN_NUMBER: StaticSchema = (7, n0, _CN, {_smithy: 0}) + +LINE_NUMBER: StaticSchema = (7, n0, _LN, {_smithy: 0}) + +POSITION: StaticSchema = ( + 18, + n0, + _Pos, + 0, + (_Li, _Col), + ((LINE_NUMBER, {_smithy: 0}), (COLUMN_NUMBER, {_smithy: 0})), +) + +POLICY_IDENTIFIER_TYPE: StaticSchema = (3, n0, _PIT, 0) + +POLICY_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _PST, + 0, + (_USER, _GROUP, _ROLE, _AM, _UM, _RESOURCE, _NONE), + ( + (-1, {_sV: _u}), + (-1, {_sV: _g}), + (-1, {_sV: _r}), + (-1, {_sV: _am}), + (-1, {_sV: _um}), + (-1, {_sV: _re}), + (-1, {_sV: _no}), + ), +) + +STATEMENT: StaticSchema = ( + 18, + n0, + _Sta, + 0, + (_SPI, _SPT, _SPt, _EPn), + ( + (POLICY_IDENTIFIER_TYPE, 0), + (POLICY_SOURCE_TYPE, 0), + (POSITION, 0), + (POSITION, 0), + ), +) + +STATEMENT_LIST_TYPE: StaticSchema = (16, n0, _SLT, 0, (_me,), ((STATEMENT, 0),)) + +ORGANIZATIONS_DECISION_DETAIL: StaticSchema = ( + 18, + n0, + _ODD, + 0, + (_ABO,), + ((lambda: schemas.BOOLEAN_TYPE, {_smithy: False}),), +) + +PERMISSIONS_BOUNDARY_DECISION_DETAIL: StaticSchema = ( + 18, + n0, + _PBDD, + 0, + (_ABPB,), + ((lambda: schemas.BOOLEAN_TYPE, {_smithy: False}),), +) + +RESOURCE_SPECIFIC_RESULT: StaticSchema = ( + 18, + n0, + _RSR, + 0, + (_ERN, _ERD, _MS, _MCV, _EDD, _PBDD), + ( + (RESOURCE_NAME_TYPE, 1), + (POLICY_EVALUATION_DECISION_TYPE, 1), + (STATEMENT_LIST_TYPE, 0), + (lambda: schemas.CONTEXT_KEY_NAMES_RESULT_LIST_TYPE, 0), + (EVAL_DECISION_DETAILS_TYPE, 0), + (PERMISSIONS_BOUNDARY_DECISION_DETAIL, 0), + ), +) + +RESOURCE_SPECIFIC_RESULT_LIST_TYPE: StaticSchema = ( + 16, + n0, + _RSRLT, + 0, + (_me,), + ((RESOURCE_SPECIFIC_RESULT, 0),), +) + +EVALUATION_RESULT: StaticSchema = ( + 18, + n0, + _ER, + 0, + (_EAN, _ERN, _EDv, _MS, _MCV, _ODD, _PBDD, _EDD, _RSRe), + ( + (lambda: schemas.ACTION_NAME_TYPE, 1), + (RESOURCE_NAME_TYPE, 0), + (POLICY_EVALUATION_DECISION_TYPE, 1), + (STATEMENT_LIST_TYPE, 0), + (lambda: schemas.CONTEXT_KEY_NAMES_RESULT_LIST_TYPE, 0), + (ORGANIZATIONS_DECISION_DETAIL, 0), + (PERMISSIONS_BOUNDARY_DECISION_DETAIL, 0), + (EVAL_DECISION_DETAILS_TYPE, 0), + (RESOURCE_SPECIFIC_RESULT_LIST_TYPE, 0), + ), +) + +EVALUATION_RESULTS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _ERLT, + 0, + (_me,), + ((EVALUATION_RESULT, 0),), +) + +INLINE_POLICY_IDENTIFIER_TYPE: StaticSchema = ( + 18, + n0, + _IPIT, + 0, + (_PN, _AT, _AN), + ( + (lambda: schemas.POLICY_NAME_TYPE, 1), + (lambda: schemas.ATTACHMENT_TYPE, 1), + (lambda: schemas.ATTACHMENT_NAME, 1), + ), +) + +POLICY_IDENTIFIER_POLICY_TYPE: StaticSchema = ( + 14, + n0, + _PIPT, + 0, + (_INLINE, _AM, _UM, _PB_, _SCP_, _RCP), + ( + (-1, {_sV: _in}), + (-1, {_sV: _am}), + (-1, {_sV: _um}), + (-1, {_sV: _pb}), + (-1, {_sV: _sc}), + (-1, {_sV: _rc}), + ), +) + +POLICY_IDENTIFIER: StaticSchema = ( + 19, + n0, + _PIo, + 0, + (_PT, _PA, _IPIn), + ( + (POLICY_IDENTIFIER_POLICY_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + (INLINE_POLICY_IDENTIFIER_TYPE, 0), + ), +) + +POLICY_EXCLUSIONS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _PELT, + 0, + (_me,), + ((POLICY_IDENTIFIER, 0),), +) + +SIMULATE_PRINCIPAL_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _SPPI, + {_sSI: _cSPPR, _s: None}, + (_PSA, _PIL, _PBPIL, _PEL, _ANct, _RA, _RP, _RO, _CA, _CEo, _RHO, _MI, _Ma), + ( + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.SIMULATION_POLICY_LIST_TYPE, 0), + (lambda: schemas.SIMULATION_POLICY_LIST_TYPE, 0), + (POLICY_EXCLUSIONS_LIST_TYPE, 0), + (lambda: schemas.ACTION_NAME_LIST_TYPE, 1), + (RESOURCE_NAME_LIST_TYPE, 0), + (lambda: schemas.POLICY_DOCUMENT_TYPE, 0), + (RESOURCE_NAME_TYPE, 0), + (RESOURCE_NAME_TYPE, 0), + (CONTEXT_ENTRY_LIST_TYPE, 0), + (RESOURCE_HANDLING_OPTION_TYPE, 0), + (lambda: schemas.MAX_ITEMS_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + ), +) + +SIMULATE_PRINCIPAL_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _SPPO, + {_sSI: _cSPR, _smi: None}, + (_ERv, _IT, _Ma), + ( + (EVALUATION_RESULTS_LIST_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.RESPONSE_MARKER_TYPE, 0), + ), +) + +SIMULATE_PRINCIPAL_POLICY: StaticOperationSchema = ( + 23, + n0, + _SPP, + 0, + SIMULATE_PRINCIPAL_POLICY_INPUT, + SIMULATE_PRINCIPAL_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + POLICY_EVALUATION_EXCEPTION, + ), +) + +TAG_INSTANCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _TIPI, + {_sSI: _cTIPR, _s: None}, + (_IPN, _Ta), + ( + (lambda: schemas.INSTANCE_PROFILE_NAME_TYPE, 1), + (lambda: schemas.TAG_LIST_TYPE, 1), + ), +) + +TAG_INSTANCE_PROFILE_OUTPUT: StaticSchema = (18, n0, _TIPO, {_sSI: _sU, _smi: None}) + +TAG_INSTANCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _TIP, + 0, + TAG_INSTANCE_PROFILE_INPUT, + TAG_INSTANCE_PROFILE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +TAG_MFA_DEVICE_INPUT: StaticSchema = ( + 18, + n0, + _TMFADI, + {_sSI: _cTMFADR, _s: None}, + (_SNer, _Ta), + ((lambda: schemas.SERIAL_NUMBER_TYPE, 1), (lambda: schemas.TAG_LIST_TYPE, 1)), +) + +TAG_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _TMFADO, {_sSI: _sU, _smi: None}) + +TAG_MFA_DEVICE: StaticOperationSchema = ( + 23, + n0, + _TMFAD, + 0, + TAG_MFA_DEVICE_INPUT, + TAG_MFA_DEVICE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +TAG_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _TOIDCPI, + {_sSI: _cTOIDCPR, _s: None}, + (_OIDCPA, _Ta), + ((lambda: schemas.ARN_TYPE, 1), (lambda: schemas.TAG_LIST_TYPE, 1)), +) + +TAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _TOIDCPO, + {_sSI: _sU, _smi: None}, +) + +TAG_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _TOIDCP, + 0, + TAG_OPEN_ID_CONNECT_PROVIDER_INPUT, + TAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +TAG_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _TPI, + {_sSI: _cTPR, _s: None}, + (_PA, _Ta), + ((lambda: schemas.ARN_TYPE, 1), (lambda: schemas.TAG_LIST_TYPE, 1)), +) + +TAG_POLICY_OUTPUT: StaticSchema = (18, n0, _TPO, {_sSI: _sU, _smi: None}) + +TAG_POLICY: StaticOperationSchema = ( + 23, + n0, + _TP, + 0, + TAG_POLICY_INPUT, + TAG_POLICY_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +TAG_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _s: None}, + (_RN, _Ta), + ((lambda: schemas.ROLE_NAME_TYPE, 1), (lambda: schemas.TAG_LIST_TYPE, 1)), +) + +TAG_ROLE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smi: None}) + +TAG_ROLE: StaticOperationSchema = ( + 23, + n0, + _TR, + 0, + TAG_ROLE_INPUT, + TAG_ROLE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +TAG_SAML_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _TSAMLPI, + {_sSI: _cTSAMLPR, _s: None}, + (_SAMLPA, _Ta), + ((lambda: schemas.ARN_TYPE, 1), (lambda: schemas.TAG_LIST_TYPE, 1)), +) + +TAG_SAML_PROVIDER_OUTPUT: StaticSchema = (18, n0, _TSAMLPO, {_sSI: _sU, _smi: None}) + +TAG_SAML_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _TSAMLP, + 0, + TAG_SAML_PROVIDER_INPUT, + TAG_SAML_PROVIDER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +TAG_SERVER_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _TSCI, + {_sSI: _cTSCR, _s: None}, + (_SCN, _Ta), + ( + (lambda: schemas.SERVER_CERTIFICATE_NAME_TYPE, 1), + (lambda: schemas.TAG_LIST_TYPE, 1), + ), +) + +TAG_SERVER_CERTIFICATE_OUTPUT: StaticSchema = (18, n0, _TSCO, {_sSI: _sU, _smi: None}) + +TAG_SERVER_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _TSC, + 0, + TAG_SERVER_CERTIFICATE_INPUT, + TAG_SERVER_CERTIFICATE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +TAG_USER_INPUT: StaticSchema = ( + 18, + n0, + _TUI, + {_sSI: _cTUR, _s: None}, + (_UN, _Ta), + ((lambda: schemas.EXISTING_USER_NAME_TYPE, 1), (lambda: schemas.TAG_LIST_TYPE, 1)), +) + +TAG_USER_OUTPUT: StaticSchema = (18, n0, _TUO, {_sSI: _sU, _smi: None}) + +TAG_USER: StaticOperationSchema = ( + 23, + n0, + _TU, + 0, + TAG_USER_INPUT, + TAG_USER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UNTAG_INSTANCE_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _UIPI, + {_sSI: _cUIPR, _s: None}, + (_IPN, _TK), + ( + (lambda: schemas.INSTANCE_PROFILE_NAME_TYPE, 1), + (lambda: schemas.TAG_KEY_LIST_TYPE, 1), + ), +) + +UNTAG_INSTANCE_PROFILE_OUTPUT: StaticSchema = (18, n0, _UIPO, {_sSI: _sU, _smi: None}) + +UNTAG_INSTANCE_PROFILE: StaticOperationSchema = ( + 23, + n0, + _UIP, + 0, + UNTAG_INSTANCE_PROFILE_INPUT, + UNTAG_INSTANCE_PROFILE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_9.py b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_9.py new file mode 100644 index 000000000..42842c1f8 --- /dev/null +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/_private/schemas_9.py @@ -0,0 +1,1112 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.iam" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_DRI = "DelegationRequestId" +_sm = "smithy.api#required" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_m = "message" +_me = "member" +_UN = "UserName" +_AKI = "AccessKeyId" +_S = "Status" +_Ro = "Role" +_Pa = "Path" +_RN = "RoleName" +_D = "Description" +_MSD = "MaxSessionDuration" +_Ta = "Tags" +_OIDCPA = "OpenIDConnectProviderArn" +_GN = "GroupName" +_PA = "PolicyArn" +_smithy = "smithy.api#default" +_Pas = "Password" +_PRR = "PasswordResetRequired" +_TL = "ThumbprintList" +_PD = "PolicyDocument" +_SAMLMD = "SAMLMetadataDocument" +_AEM = "AssertionEncryptionMode" +_APK = "AddPrivateKey" +_SAMLPA = "SAMLProviderArn" +_SSCI = "ServiceSpecificCredentialId" +_SNer = "SerialNumber" +_SCN = "ServerCertificateName" +_CI = "CertificateId" +_SSHPKI = "SSHPublicKeyId" +_MPL = "MinimumPasswordLength" +_RSe = "RequireSymbols" +_RNe = "RequireNumbers" +_RUC = "RequireUppercaseCharacters" +_RLC = "RequireLowercaseCharacters" +_AUTCP = "AllowUsersToChangePassword" +_MPA = "MaxPasswordAge" +_PRP = "PasswordReusePrevention" +_HE = "HardExpiry" +_No = "Notes" +_SCM = "ServerCertificateMetadata" +_CB = "CertificateBody" +_CC = "CertificateChain" +_SSHPK = "SSHPublicKey" +_SSHPKB = "SSHPublicKeyBody" +_tKLT = "tagKeyListType" +_TK = "TagKeys" +_UMFADI = "UntagMFADeviceInput" +_cUMFADR = "com.amazonaws.iam#UntagMFADeviceRequest" +_UMFADO = "UntagMFADeviceOutput" +_UMFAD = "UntagMFADevice" +_UOIDCPI = "UntagOpenIDConnectProviderInput" +_cUOIDCPR = "com.amazonaws.iam#UntagOpenIDConnectProviderRequest" +_UOIDCPO = "UntagOpenIDConnectProviderOutput" +_UOIDCP = "UntagOpenIDConnectProvider" +_UPI = "UntagPolicyInput" +_cUPR = "com.amazonaws.iam#UntagPolicyRequest" +_UPO = "UntagPolicyOutput" +_UP = "UntagPolicy" +_URI = "UntagRoleInput" +_cURR = "com.amazonaws.iam#UntagRoleRequest" +_URO = "UntagRoleOutput" +_UR = "UntagRole" +_USAMLPI = "UntagSAMLProviderInput" +_cUSAMLPR = "com.amazonaws.iam#UntagSAMLProviderRequest" +_USAMLPO = "UntagSAMLProviderOutput" +_USAMLP = "UntagSAMLProvider" +_USCI = "UntagServerCertificateInput" +_cUSCR = "com.amazonaws.iam#UntagServerCertificateRequest" +_USCO = "UntagServerCertificateOutput" +_USC = "UntagServerCertificate" +_UUI = "UntagUserInput" +_cUUR = "com.amazonaws.iam#UntagUserRequest" +_UUO = "UntagUserOutput" +_UU = "UntagUser" +_UAKI = "UpdateAccessKeyInput" +_cUAKR = "com.amazonaws.iam#UpdateAccessKeyRequest" +_UAKO = "UpdateAccessKeyOutput" +_UAK = "UpdateAccessKey" +_UAPPI = "UpdateAccountPasswordPolicyInput" +_cUAPPR = "com.amazonaws.iam#UpdateAccountPasswordPolicyRequest" +_UAPPO = "UpdateAccountPasswordPolicyOutput" +_UAPP = "UpdateAccountPasswordPolicy" +_UARPI = "UpdateAssumeRolePolicyInput" +_cUARPR = "com.amazonaws.iam#UpdateAssumeRolePolicyRequest" +_UARPO = "UpdateAssumeRolePolicyOutput" +_UARP = "UpdateAssumeRolePolicy" +_UDRI = "UpdateDelegationRequestInput" +_cUDRR = "com.amazonaws.iam#UpdateDelegationRequestRequest" +_UDRO = "UpdateDelegationRequestOutput" +_UDR = "UpdateDelegationRequest" +_UGI = "UpdateGroupInput" +_cUGR = "com.amazonaws.iam#UpdateGroupRequest" +_NPe = "NewPath" +_NGN = "NewGroupName" +_UGO = "UpdateGroupOutput" +_UG = "UpdateGroup" +_ULPI = "UpdateLoginProfileInput" +_cULPR = "com.amazonaws.iam#UpdateLoginProfileRequest" +_ULPO = "UpdateLoginProfileOutput" +_ULP = "UpdateLoginProfile" +_UOIDCPTI = "UpdateOpenIDConnectProviderThumbprintInput" +_cUOIDCPTR = "com.amazonaws.iam#UpdateOpenIDConnectProviderThumbprintRequest" +_UOIDCPTO = "UpdateOpenIDConnectProviderThumbprintOutput" +_UOIDCPT = "UpdateOpenIDConnectProviderThumbprint" +_URIp = "UpdateRoleInput" +_cURRo = "com.amazonaws.iam#UpdateRoleRequest" +_UROp = "UpdateRoleOutput" +_cURRom = "com.amazonaws.iam#UpdateRoleResponse" +_URp = "UpdateRole" +_URDI = "UpdateRoleDescriptionInput" +_cURDR = "com.amazonaws.iam#UpdateRoleDescriptionRequest" +_URDO = "UpdateRoleDescriptionOutput" +_cURDRo = "com.amazonaws.iam#UpdateRoleDescriptionResponse" +_URD = "UpdateRoleDescription" +_USAMLPIp = "UpdateSAMLProviderInput" +_cUSAMLPRo = "com.amazonaws.iam#UpdateSAMLProviderRequest" +_RPK = "RemovePrivateKey" +_USAMLPOp = "UpdateSAMLProviderOutput" +_cUSAMLPRom = "com.amazonaws.iam#UpdateSAMLProviderResponse" +_USAMLPp = "UpdateSAMLProvider" +_USCIp = "UpdateServerCertificateInput" +_cUSCRo = "com.amazonaws.iam#UpdateServerCertificateRequest" +_NSCN = "NewServerCertificateName" +_USCOp = "UpdateServerCertificateOutput" +_USCp = "UpdateServerCertificate" +_USSCI = "UpdateServiceSpecificCredentialInput" +_cUSSCR = "com.amazonaws.iam#UpdateServiceSpecificCredentialRequest" +_USSCO = "UpdateServiceSpecificCredentialOutput" +_USSC = "UpdateServiceSpecificCredential" +_USCIpd = "UpdateSigningCertificateInput" +_cUSCRom = "com.amazonaws.iam#UpdateSigningCertificateRequest" +_USCOpd = "UpdateSigningCertificateOutput" +_USCpd = "UpdateSigningCertificate" +_USSHPKI = "UpdateSSHPublicKeyInput" +_cUSSHPKR = "com.amazonaws.iam#UpdateSSHPublicKeyRequest" +_USSHPKO = "UpdateSSHPublicKeyOutput" +_USSHPK = "UpdateSSHPublicKey" +_UUIp = "UpdateUserInput" +_cUURo = "com.amazonaws.iam#UpdateUserRequest" +_NUN = "NewUserName" +_UUOp = "UpdateUserOutput" +_UUp = "UpdateUser" +_kPMM = "keyPairMismatchMessage" +_KPME = "KeyPairMismatchException" +_mCM = "malformedCertificateMessage" +_MCE = "MalformedCertificateException" +_USCIpl = "UploadServerCertificateInput" +_cUSCRoma = "com.amazonaws.iam#UploadServerCertificateRequest" +_PK = "PrivateKey" +_USCOpl = "UploadServerCertificateOutput" +_cUSCRomam = "com.amazonaws.iam#UploadServerCertificateResponse" +_USCpl = "UploadServerCertificate" +_dCMu = "duplicateCertificateMessage" +_DCEu = "DuplicateCertificateException" +_iCM = "invalidCertificateMessage" +_ICE = "InvalidCertificateException" +_USCIplo = "UploadSigningCertificateInput" +_cUSCRomama = "com.amazonaws.iam#UploadSigningCertificateRequest" +_USCOplo = "UploadSigningCertificateOutput" +_cUSCRomamaz = "com.amazonaws.iam#UploadSigningCertificateResponse" +_Cert = "Certificate" +_USCplo = "UploadSigningCertificate" +_dSSHPKM = "duplicateSSHPublicKeyMessage" +_DSSHPKE = "DuplicateSSHPublicKeyException" +_iPKM = "invalidPublicKeyMessage" +_IPKE = "InvalidPublicKeyException" +_USSHPKIp = "UploadSSHPublicKeyInput" +_cUSSHPKRo = "com.amazonaws.iam#UploadSSHPublicKeyRequest" +_USSHPKOp = "UploadSSHPublicKeyOutput" +_cUSSHPKRom = "com.amazonaws.iam#UploadSSHPublicKeyResponse" +_USSHPKp = "UploadSSHPublicKey" +_AWSIMV = "AWSIdentityManagementV20100508" +_aw = "aws.auth#sigv4" +_aQ = "aws.protocols#awsQuery" +_aws = "aws.api#service" +_sNm = "smithy.api#xmlNamespace" + +TAG_KEY_LIST_TYPE: StaticSchema = ( + 16, + n0, + _tKLT, + 0, + (_me,), + ((lambda: schemas.TAG_KEY_TYPE, 0),), +) + +UNTAG_MFA_DEVICE_INPUT: StaticSchema = ( + 18, + n0, + _UMFADI, + {_sSI: _cUMFADR, _s: None}, + (_SNer, _TK), + ((lambda: schemas.SERIAL_NUMBER_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), +) + +UNTAG_MFA_DEVICE_OUTPUT: StaticSchema = (18, n0, _UMFADO, {_sSI: _sU, _smi: None}) + +UNTAG_MFA_DEVICE: StaticOperationSchema = ( + 23, + n0, + _UMFAD, + 0, + UNTAG_MFA_DEVICE_INPUT, + UNTAG_MFA_DEVICE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UNTAG_OPEN_ID_CONNECT_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _UOIDCPI, + {_sSI: _cUOIDCPR, _s: None}, + (_OIDCPA, _TK), + ((lambda: schemas.ARN_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), +) + +UNTAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _UOIDCPO, + {_sSI: _sU, _smi: None}, +) + +UNTAG_OPEN_ID_CONNECT_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _UOIDCP, + 0, + UNTAG_OPEN_ID_CONNECT_PROVIDER_INPUT, + UNTAG_OPEN_ID_CONNECT_PROVIDER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UNTAG_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _UPI, + {_sSI: _cUPR, _s: None}, + (_PA, _TK), + ((lambda: schemas.ARN_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), +) + +UNTAG_POLICY_OUTPUT: StaticSchema = (18, n0, _UPO, {_sSI: _sU, _smi: None}) + +UNTAG_POLICY: StaticOperationSchema = ( + 23, + n0, + _UP, + 0, + UNTAG_POLICY_INPUT, + UNTAG_POLICY_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UNTAG_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _s: None}, + (_RN, _TK), + ((lambda: schemas.ROLE_NAME_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), +) + +UNTAG_ROLE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smi: None}) + +UNTAG_ROLE: StaticOperationSchema = ( + 23, + n0, + _UR, + 0, + UNTAG_ROLE_INPUT, + UNTAG_ROLE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UNTAG_SAML_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _USAMLPI, + {_sSI: _cUSAMLPR, _s: None}, + (_SAMLPA, _TK), + ((lambda: schemas.ARN_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), +) + +UNTAG_SAML_PROVIDER_OUTPUT: StaticSchema = (18, n0, _USAMLPO, {_sSI: _sU, _smi: None}) + +UNTAG_SAML_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _USAMLP, + 0, + UNTAG_SAML_PROVIDER_INPUT, + UNTAG_SAML_PROVIDER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UNTAG_SERVER_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _USCI, + {_sSI: _cUSCR, _s: None}, + (_SCN, _TK), + ((lambda: schemas.SERVER_CERTIFICATE_NAME_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), +) + +UNTAG_SERVER_CERTIFICATE_OUTPUT: StaticSchema = (18, n0, _USCO, {_sSI: _sU, _smi: None}) + +UNTAG_SERVER_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _USC, + 0, + UNTAG_SERVER_CERTIFICATE_INPUT, + UNTAG_SERVER_CERTIFICATE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UNTAG_USER_INPUT: StaticSchema = ( + 18, + n0, + _UUI, + {_sSI: _cUUR, _s: None}, + (_UN, _TK), + ((lambda: schemas.EXISTING_USER_NAME_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), +) + +UNTAG_USER_OUTPUT: StaticSchema = (18, n0, _UUO, {_sSI: _sU, _smi: None}) + +UNTAG_USER: StaticOperationSchema = ( + 23, + n0, + _UU, + 0, + UNTAG_USER_INPUT, + UNTAG_USER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_ACCESS_KEY_INPUT: StaticSchema = ( + 18, + n0, + _UAKI, + {_sSI: _cUAKR, _s: None}, + (_UN, _AKI, _S), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.ACCESS_KEY_ID_TYPE, 1), + (lambda: schemas.STATUS_TYPE, 1), + ), +) + +UPDATE_ACCESS_KEY_OUTPUT: StaticSchema = (18, n0, _UAKO, {_sSI: _sU, _smi: None}) + +UPDATE_ACCESS_KEY: StaticOperationSchema = ( + 23, + n0, + _UAK, + 0, + UPDATE_ACCESS_KEY_INPUT, + UPDATE_ACCESS_KEY_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_ACCOUNT_PASSWORD_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _UAPPI, + {_sSI: _cUAPPR, _s: None}, + (_MPL, _RSe, _RNe, _RUC, _RLC, _AUTCP, _MPA, _PRP, _HE), + ( + (lambda: schemas.MINIMUM_PASSWORD_LENGTH_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.BOOLEAN_TYPE, {_smithy: False}), + (lambda: schemas.MAX_PASSWORD_AGE_TYPE, 0), + (lambda: schemas.PASSWORD_REUSE_PREVENTION_TYPE, 0), + (lambda: schemas.BOOLEAN_OBJECT_TYPE, 0), + ), +) + +UPDATE_ACCOUNT_PASSWORD_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _UAPPO, + {_sSI: _sU, _smi: None}, +) + +UPDATE_ACCOUNT_PASSWORD_POLICY: StaticOperationSchema = ( + 23, + n0, + _UAPP, + 0, + UPDATE_ACCOUNT_PASSWORD_POLICY_INPUT, + UPDATE_ACCOUNT_PASSWORD_POLICY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_ASSUME_ROLE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _UARPI, + {_sSI: _cUARPR, _s: None}, + (_RN, _PD), + ((lambda: schemas.ROLE_NAME_TYPE, 1), (lambda: schemas.POLICY_DOCUMENT_TYPE, 1)), +) + +UPDATE_ASSUME_ROLE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _UARPO, + {_sSI: _sU, _smi: None}, +) + +UPDATE_ASSUME_ROLE_POLICY: StaticOperationSchema = ( + 23, + n0, + _UARP, + 0, + UPDATE_ASSUME_ROLE_POLICY_INPUT, + UPDATE_ASSUME_ROLE_POLICY_OUTPUT, + ( + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +UPDATE_DELEGATION_REQUEST_INPUT: StaticSchema = ( + 18, + n0, + _UDRI, + {_sSI: _cUDRR, _s: None}, + (_DRI, _No), + ((lambda: schemas.DELEGATION_REQUEST_ID_TYPE, 1), (lambda: schemas.NOTES_TYPE, 0)), +) + +UPDATE_DELEGATION_REQUEST_OUTPUT: StaticSchema = ( + 18, + n0, + _UDRO, + {_sSI: _sU, _smi: None}, +) + +UPDATE_DELEGATION_REQUEST: StaticOperationSchema = ( + 23, + n0, + _UDR, + 0, + UPDATE_DELEGATION_REQUEST_INPUT, + UPDATE_DELEGATION_REQUEST_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _UGI, + {_sSI: _cUGR, _s: None}, + (_GN, _NPe, _NGN), + ( + (lambda: schemas.GROUP_NAME_TYPE, 1), + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.GROUP_NAME_TYPE, 0), + ), +) + +UPDATE_GROUP_OUTPUT: StaticSchema = (18, n0, _UGO, {_sSI: _sU, _smi: None}) + +UPDATE_GROUP: StaticOperationSchema = ( + 23, + n0, + _UG, + 0, + UPDATE_GROUP_INPUT, + UPDATE_GROUP_OUTPUT, + ( + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_LOGIN_PROFILE_INPUT: StaticSchema = ( + 18, + n0, + _ULPI, + {_sSI: _cULPR, _s: None}, + (_UN, _Pas, _PRR), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.PASSWORD_TYPE, 0), + (lambda: schemas.BOOLEAN_OBJECT_TYPE, 0), + ), +) + +UPDATE_LOGIN_PROFILE_OUTPUT: StaticSchema = (18, n0, _ULPO, {_sSI: _sU, _smi: None}) + +UPDATE_LOGIN_PROFILE: StaticOperationSchema = ( + 23, + n0, + _ULP, + 0, + UPDATE_LOGIN_PROFILE_INPUT, + UPDATE_LOGIN_PROFILE_OUTPUT, + ( + lambda: schemas.ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.PASSWORD_POLICY_VIOLATION_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_INPUT: StaticSchema = ( + 18, + n0, + _UOIDCPTI, + {_sSI: _cUOIDCPTR, _s: None}, + (_OIDCPA, _TL), + ((lambda: schemas.ARN_TYPE, 1), (lambda: schemas.THUMBPRINT_LIST_TYPE, 1)), +) + +UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_OUTPUT: StaticSchema = ( + 18, + n0, + _UOIDCPTO, + {_sSI: _sU, _smi: None}, +) + +UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT: StaticOperationSchema = ( + 23, + n0, + _UOIDCPT, + 0, + UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_INPUT, + UPDATE_OPEN_ID_CONNECT_PROVIDER_THUMBPRINT_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _URIp, + {_sSI: _cURRo, _s: None}, + (_RN, _D, _MSD), + ( + (lambda: schemas.ROLE_NAME_TYPE, 1), + (lambda: schemas.ROLE_DESCRIPTION_TYPE, 0), + (lambda: schemas.ROLE_MAX_SESSION_DURATION_TYPE, 0), + ), +) + +UPDATE_ROLE_OUTPUT: StaticSchema = (18, n0, _UROp, {_sSI: _cURRom, _smi: None}) + +UPDATE_ROLE: StaticOperationSchema = ( + 23, + n0, + _URp, + 0, + UPDATE_ROLE_INPUT, + UPDATE_ROLE_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +UPDATE_ROLE_DESCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _URDI, + {_sSI: _cURDR, _s: None}, + (_RN, _D), + ((lambda: schemas.ROLE_NAME_TYPE, 1), (lambda: schemas.ROLE_DESCRIPTION_TYPE, 1)), +) + +UPDATE_ROLE_DESCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _URDO, + {_sSI: _cURDRo, _smi: None}, + (_Ro,), + ((lambda: schemas.ROLE, 0),), +) + +UPDATE_ROLE_DESCRIPTION: StaticOperationSchema = ( + 23, + n0, + _URD, + 0, + UPDATE_ROLE_DESCRIPTION_INPUT, + UPDATE_ROLE_DESCRIPTION_OUTPUT, + ( + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: schemas.UNMODIFIABLE_ENTITY_EXCEPTION, + ), +) + +UPDATE_SAML_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _USAMLPIp, + {_sSI: _cUSAMLPRo, _s: None}, + (_SAMLMD, _SAMLPA, _AEM, _APK, _RPK), + ( + (lambda: schemas.SAML_METADATA_DOCUMENT_TYPE, 0), + (lambda: schemas.ARN_TYPE, 1), + (lambda: schemas.ASSERTION_ENCRYPTION_MODE_TYPE, 0), + (lambda: schemas.PRIVATE_KEY_TYPE, 0), + (lambda: schemas.PRIVATE_KEY_ID_TYPE, 0), + ), +) + +UPDATE_SAML_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _USAMLPOp, + {_sSI: _cUSAMLPRom, _smi: None}, + (_SAMLPA,), + ((lambda: schemas.ARN_TYPE, 0),), +) + +UPDATE_SAML_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _USAMLPp, + 0, + UPDATE_SAML_PROVIDER_INPUT, + UPDATE_SAML_PROVIDER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_SERVER_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _USCIp, + {_sSI: _cUSCRo, _s: None}, + (_SCN, _NPe, _NSCN), + ( + (lambda: schemas.SERVER_CERTIFICATE_NAME_TYPE, 1), + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.SERVER_CERTIFICATE_NAME_TYPE, 0), + ), +) + +UPDATE_SERVER_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _USCOp, + {_sSI: _sU, _smi: None}, +) + +UPDATE_SERVER_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _USCp, + 0, + UPDATE_SERVER_CERTIFICATE_INPUT, + UPDATE_SERVER_CERTIFICATE_OUTPUT, + ( + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT: StaticSchema = ( + 18, + n0, + _USSCI, + {_sSI: _cUSSCR, _s: None}, + (_UN, _SSCI, _S), + ( + (lambda: schemas.USER_NAME_TYPE, 0), + (lambda: schemas.SERVICE_SPECIFIC_CREDENTIAL_ID, 1), + (lambda: schemas.STATUS_TYPE, 1), + ), +) + +UPDATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT: StaticSchema = ( + 18, + n0, + _USSCO, + {_sSI: _sU, _smi: None}, +) + +UPDATE_SERVICE_SPECIFIC_CREDENTIAL: StaticOperationSchema = ( + 23, + n0, + _USSC, + 0, + UPDATE_SERVICE_SPECIFIC_CREDENTIAL_INPUT, + UPDATE_SERVICE_SPECIFIC_CREDENTIAL_OUTPUT, + (lambda: schemas.NO_SUCH_ENTITY_EXCEPTION,), +) + +UPDATE_SIGNING_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _USCIpd, + {_sSI: _cUSCRom, _s: None}, + (_UN, _CI, _S), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.CERTIFICATE_ID_TYPE, 1), + (lambda: schemas.STATUS_TYPE, 1), + ), +) + +UPDATE_SIGNING_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _USCOpd, + {_sSI: _sU, _smi: None}, +) + +UPDATE_SIGNING_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _USCpd, + 0, + UPDATE_SIGNING_CERTIFICATE_INPUT, + UPDATE_SIGNING_CERTIFICATE_OUTPUT, + ( + lambda: schemas.INVALID_INPUT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +UPDATE_SSH_PUBLIC_KEY_INPUT: StaticSchema = ( + 18, + n0, + _USSHPKI, + {_sSI: _cUSSHPKR, _s: None}, + (_UN, _SSHPKI, _S), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.PUBLIC_KEY_ID_TYPE, 1), + (lambda: schemas.STATUS_TYPE, 1), + ), +) + +UPDATE_SSH_PUBLIC_KEY_OUTPUT: StaticSchema = (18, n0, _USSHPKO, {_sSI: _sU, _smi: None}) + +UPDATE_SSH_PUBLIC_KEY: StaticOperationSchema = ( + 23, + n0, + _USSHPK, + 0, + UPDATE_SSH_PUBLIC_KEY_INPUT, + UPDATE_SSH_PUBLIC_KEY_OUTPUT, + (lambda: schemas.INVALID_INPUT_EXCEPTION, lambda: schemas.NO_SUCH_ENTITY_EXCEPTION), +) + +UPDATE_USER_INPUT: StaticSchema = ( + 18, + n0, + _UUIp, + {_sSI: _cUURo, _s: None}, + (_UN, _NPe, _NUN), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 1), + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.USER_NAME_TYPE, 0), + ), +) + +UPDATE_USER_OUTPUT: StaticSchema = (18, n0, _UUOp, {_sSI: _sU, _smi: None}) + +UPDATE_USER: StaticOperationSchema = ( + 23, + n0, + _UUp, + 0, + UPDATE_USER_INPUT, + UPDATE_USER_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.ENTITY_TEMPORARILY_UNMODIFIABLE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +KEY_PAIR_MISMATCH_MESSAGE: StaticSchema = (3, n0, _kPMM, 0) + +KEY_PAIR_MISMATCH_EXCEPTION: StaticSchema = ( + 18, + n0, + _KPME, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KeyPairMismatch", "httpResponseCode": 400}), + }, + (_m,), + ((KEY_PAIR_MISMATCH_MESSAGE, 0),), +) + +MALFORMED_CERTIFICATE_MESSAGE: StaticSchema = (3, n0, _mCM, 0) + +MALFORMED_CERTIFICATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _MCE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "MalformedCertificate", "httpResponseCode": 400} + ), + }, + (_m,), + ((MALFORMED_CERTIFICATE_MESSAGE, 0),), +) + +UPLOAD_SERVER_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _USCIpl, + {_sSI: _cUSCRoma, _s: None}, + (_Pa, _SCN, _CB, _PK, _CC, _Ta), + ( + (lambda: schemas.PATH_TYPE, 0), + (lambda: schemas.SERVER_CERTIFICATE_NAME_TYPE, 1), + (lambda: schemas.CERTIFICATE_BODY_TYPE, 1), + (lambda: schemas.PRIVATE_KEY_TYPE, 1), + (lambda: schemas.CERTIFICATE_CHAIN_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +UPLOAD_SERVER_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _USCOpl, + {_sSI: _cUSCRomam, _smi: None}, + (_SCM, _Ta), + ( + (lambda: schemas.SERVER_CERTIFICATE_METADATA, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +UPLOAD_SERVER_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _USCpl, + 0, + UPLOAD_SERVER_CERTIFICATE_INPUT, + UPLOAD_SERVER_CERTIFICATE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + lambda: schemas.INVALID_INPUT_EXCEPTION, + KEY_PAIR_MISMATCH_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + MALFORMED_CERTIFICATE_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DUPLICATE_CERTIFICATE_MESSAGE: StaticSchema = (3, n0, _dCMu, 0) + +DUPLICATE_CERTIFICATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _DCEu, + { + _smit: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "DuplicateCertificate", "httpResponseCode": 409} + ), + }, + (_m,), + ((DUPLICATE_CERTIFICATE_MESSAGE, 0),), +) + +INVALID_CERTIFICATE_MESSAGE: StaticSchema = (3, n0, _iCM, 0) + +INVALID_CERTIFICATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ICE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidCertificate", "httpResponseCode": 400}), + }, + (_m,), + ((INVALID_CERTIFICATE_MESSAGE, 0),), +) + +UPLOAD_SIGNING_CERTIFICATE_INPUT: StaticSchema = ( + 18, + n0, + _USCIplo, + {_sSI: _cUSCRomama, _s: None}, + (_UN, _CB), + ( + (lambda: schemas.EXISTING_USER_NAME_TYPE, 0), + (lambda: schemas.CERTIFICATE_BODY_TYPE, 1), + ), +) + +UPLOAD_SIGNING_CERTIFICATE_OUTPUT: StaticSchema = ( + 18, + n0, + _USCOplo, + {_sSI: _cUSCRomamaz, _smi: None}, + (_Cert,), + ((lambda: schemas.SIGNING_CERTIFICATE, 1),), +) + +UPLOAD_SIGNING_CERTIFICATE: StaticOperationSchema = ( + 23, + n0, + _USCplo, + 0, + UPLOAD_SIGNING_CERTIFICATE_INPUT, + UPLOAD_SIGNING_CERTIFICATE_OUTPUT, + ( + lambda: schemas.CONCURRENT_MODIFICATION_EXCEPTION, + DUPLICATE_CERTIFICATE_EXCEPTION, + lambda: schemas.ENTITY_ALREADY_EXISTS_EXCEPTION, + INVALID_CERTIFICATE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + MALFORMED_CERTIFICATE_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +DUPLICATE_SSH_PUBLIC_KEY_MESSAGE: StaticSchema = (3, n0, _dSSHPKM, 0) + +DUPLICATE_SSH_PUBLIC_KEY_EXCEPTION: StaticSchema = ( + 18, + n0, + _DSSHPKE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DuplicateSSHPublicKey", "httpResponseCode": 400} + ), + }, + (_m,), + ((DUPLICATE_SSH_PUBLIC_KEY_MESSAGE, 0),), +) + +INVALID_PUBLIC_KEY_MESSAGE: StaticSchema = (3, n0, _iPKM, 0) + +INVALID_PUBLIC_KEY_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPKE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidPublicKey", "httpResponseCode": 400}), + }, + (_m,), + ((INVALID_PUBLIC_KEY_MESSAGE, 0),), +) + +UPLOAD_SSH_PUBLIC_KEY_INPUT: StaticSchema = ( + 18, + n0, + _USSHPKIp, + {_sSI: _cUSSHPKRo, _s: None}, + (_UN, _SSHPKB), + ( + (lambda: schemas.USER_NAME_TYPE, 1), + (lambda: schemas.PUBLIC_KEY_MATERIAL_TYPE, 1), + ), +) + +UPLOAD_SSH_PUBLIC_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _USSHPKOp, + {_sSI: _cUSSHPKRom, _smi: None}, + (_SSHPK,), + ((lambda: schemas.SSH_PUBLIC_KEY, 0),), +) + +UPLOAD_SSH_PUBLIC_KEY: StaticOperationSchema = ( + 23, + n0, + _USSHPKp, + 0, + UPLOAD_SSH_PUBLIC_KEY_INPUT, + UPLOAD_SSH_PUBLIC_KEY_OUTPUT, + ( + DUPLICATE_SSH_PUBLIC_KEY_EXCEPTION, + INVALID_PUBLIC_KEY_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NO_SUCH_ENTITY_EXCEPTION, + lambda: schemas.UNRECOGNIZED_PUBLIC_KEY_ENCODING_EXCEPTION, + ), +) + +AWS_IDENTITY_MANAGEMENT_V20100508: StaticSchema = ( + 21, + n0, + _AWSIMV, + { + _aw: MappingProxyType({"name": "iam"}), + _aQ: None, + _aws: MappingProxyType( + { + "sdkId": "IAM", + "arnNamespace": "iam", + "cloudFormationName": "IAM", + "cloudTrailEventSource": "iam.amazonaws.com", + "endpointPrefix": "iam", + } + ), + _sNm: MappingProxyType({"uri": "https://iam.amazonaws.com/doc/2010-05-08/"}), + }, +) diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/aio/client.py b/clients/aws-sdk-iam/src/aws_sdk_iam/aio/client.py index bc38ba291..ea5ae9895 100644 --- a/clients/aws-sdk-iam/src/aws_sdk_iam/aio/client.py +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/aio/config.py b/clients/aws-sdk-iam/src/aws_sdk_iam/aio/config.py index 03db59658..d0e43e6e7 100644 --- a/clients/aws-sdk-iam/src/aws_sdk_iam/aio/config.py +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -25,7 +25,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/client.py b/clients/aws-sdk-iam/src/aws_sdk_iam/client.py index e00e502bd..b488ab4b8 100644 --- a/clients/aws-sdk-iam/src/aws_sdk_iam/client.py +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/config.py b/clients/aws-sdk-iam/src/aws_sdk_iam/config.py index 8be3fb3db..4fa96c1de 100644 --- a/clients/aws-sdk-iam/src/aws_sdk_iam/config.py +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-iam/src/aws_sdk_iam/models.pyi b/clients/aws-sdk-iam/src/aws_sdk_iam/models.pyi index c70079f73..0d56927de 100644 --- a/clients/aws-sdk-iam/src/aws_sdk_iam/models.pyi +++ b/clients/aws-sdk-iam/src/aws_sdk_iam/models.pyi @@ -1,16 +1,515 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AcceptDelegationRequestInput as AcceptDelegationRequestInput, + AcceptDelegationRequestOutput as AcceptDelegationRequestOutput, + AccessAdvisorUsageGranularityType as AccessAdvisorUsageGranularityType, + AccessDetail as AccessDetail, + AccessKey as AccessKey, + AccessKeyLastUsed as AccessKeyLastUsed, + AccessKeyMetadata as AccessKeyMetadata, + AccountNotManagementOrDelegatedAdministratorException as AccountNotManagementOrDelegatedAdministratorException, + AcquireRoleInput as AcquireRoleInput, + AcquireRoleOutput as AcquireRoleOutput, + AddClientIDToOpenIDConnectProviderInput as AddClientIDToOpenIDConnectProviderInput, + AddClientIDToOpenIDConnectProviderOutput as AddClientIDToOpenIDConnectProviderOutput, + AddRoleToInstanceProfileInput as AddRoleToInstanceProfileInput, + AddRoleToInstanceProfileOutput as AddRoleToInstanceProfileOutput, + AddUserToGroupInput as AddUserToGroupInput, + AddUserToGroupOutput as AddUserToGroupOutput, + AssertionEncryptionModeType as AssertionEncryptionModeType, + AssignmentStatusType as AssignmentStatusType, + AssociateDelegationRequestInput as AssociateDelegationRequestInput, + AssociateDelegationRequestOutput as AssociateDelegationRequestOutput, + AttachedPermissionsBoundary as AttachedPermissionsBoundary, + AttachedPolicy as AttachedPolicy, + AttachGroupPolicyInput as AttachGroupPolicyInput, + AttachGroupPolicyOutput as AttachGroupPolicyOutput, + AttachmentType as AttachmentType, + AttachRolePolicyInput as AttachRolePolicyInput, + AttachRolePolicyOutput as AttachRolePolicyOutput, + AttachUserPolicyInput as AttachUserPolicyInput, + AttachUserPolicyOutput as AttachUserPolicyOutput, + CallerIsNotManagementAccountException as CallerIsNotManagementAccountException, + ChangePasswordInput as ChangePasswordInput, + ChangePasswordOutput as ChangePasswordOutput, + ConcurrentModificationException as ConcurrentModificationException, + ContextEntry as ContextEntry, + ContextKeyTypeEnum as ContextKeyTypeEnum, + CreateAccessKeyInput as CreateAccessKeyInput, + CreateAccessKeyOutput as CreateAccessKeyOutput, + CreateAccountAliasInput as CreateAccountAliasInput, + CreateAccountAliasOutput as CreateAccountAliasOutput, + CreateDelegationRequestInput as CreateDelegationRequestInput, + CreateDelegationRequestOutput as CreateDelegationRequestOutput, + CreateGroupInput as CreateGroupInput, + CreateGroupOutput as CreateGroupOutput, + CreateInstanceProfileInput as CreateInstanceProfileInput, + CreateInstanceProfileOutput as CreateInstanceProfileOutput, + CreateLoginProfileInput as CreateLoginProfileInput, + CreateLoginProfileOutput as CreateLoginProfileOutput, + CreateOpenIDConnectProviderInput as CreateOpenIDConnectProviderInput, + CreateOpenIDConnectProviderOutput as CreateOpenIDConnectProviderOutput, + CreatePolicyInput as CreatePolicyInput, + CreatePolicyOutput as CreatePolicyOutput, + CreatePolicyVersionInput as CreatePolicyVersionInput, + CreatePolicyVersionOutput as CreatePolicyVersionOutput, + CreateRoleInput as CreateRoleInput, + CreateRoleOutput as CreateRoleOutput, + CreateSAMLProviderInput as CreateSAMLProviderInput, + CreateSAMLProviderOutput as CreateSAMLProviderOutput, + CreateServiceLinkedRoleInput as CreateServiceLinkedRoleInput, + CreateServiceLinkedRoleOutput as CreateServiceLinkedRoleOutput, + CreateServiceSpecificCredentialInput as CreateServiceSpecificCredentialInput, + CreateServiceSpecificCredentialOutput as CreateServiceSpecificCredentialOutput, + CreateUserInput as CreateUserInput, + CreateUserOutput as CreateUserOutput, + CreateVirtualMFADeviceInput as CreateVirtualMFADeviceInput, + CreateVirtualMFADeviceOutput as CreateVirtualMFADeviceOutput, + CredentialReportExpiredException as CredentialReportExpiredException, + CredentialReportNotPresentException as CredentialReportNotPresentException, + CredentialReportNotReadyException as CredentialReportNotReadyException, + DeactivateMFADeviceInput as DeactivateMFADeviceInput, + DeactivateMFADeviceOutput as DeactivateMFADeviceOutput, + DelegationPermission as DelegationPermission, + DelegationRequest as DelegationRequest, + DeleteAccessKeyInput as DeleteAccessKeyInput, + DeleteAccessKeyOutput as DeleteAccessKeyOutput, + DeleteAccountAliasInput as DeleteAccountAliasInput, + DeleteAccountAliasOutput as DeleteAccountAliasOutput, + DeleteAccountPasswordPolicyInput as DeleteAccountPasswordPolicyInput, + DeleteAccountPasswordPolicyOutput as DeleteAccountPasswordPolicyOutput, + DeleteConflictException as DeleteConflictException, + DeleteGroupInput as DeleteGroupInput, + DeleteGroupOutput as DeleteGroupOutput, + DeleteGroupPolicyInput as DeleteGroupPolicyInput, + DeleteGroupPolicyOutput as DeleteGroupPolicyOutput, + DeleteInstanceProfileInput as DeleteInstanceProfileInput, + DeleteInstanceProfileOutput as DeleteInstanceProfileOutput, + DeleteLoginProfileInput as DeleteLoginProfileInput, + DeleteLoginProfileOutput as DeleteLoginProfileOutput, + DeleteOpenIDConnectProviderInput as DeleteOpenIDConnectProviderInput, + DeleteOpenIDConnectProviderOutput as DeleteOpenIDConnectProviderOutput, + DeletePolicyInput as DeletePolicyInput, + DeletePolicyOutput as DeletePolicyOutput, + DeletePolicyVersionInput as DeletePolicyVersionInput, + DeletePolicyVersionOutput as DeletePolicyVersionOutput, + DeleteRoleInput as DeleteRoleInput, + DeleteRoleOutput as DeleteRoleOutput, + DeleteRolePermissionsBoundaryInput as DeleteRolePermissionsBoundaryInput, + DeleteRolePermissionsBoundaryOutput as DeleteRolePermissionsBoundaryOutput, + DeleteRolePolicyInput as DeleteRolePolicyInput, + DeleteRolePolicyOutput as DeleteRolePolicyOutput, + DeleteSAMLProviderInput as DeleteSAMLProviderInput, + DeleteSAMLProviderOutput as DeleteSAMLProviderOutput, + DeleteServerCertificateInput as DeleteServerCertificateInput, + DeleteServerCertificateOutput as DeleteServerCertificateOutput, + DeleteServiceLinkedRoleInput as DeleteServiceLinkedRoleInput, + DeleteServiceLinkedRoleOutput as DeleteServiceLinkedRoleOutput, + DeleteServiceSpecificCredentialInput as DeleteServiceSpecificCredentialInput, + DeleteServiceSpecificCredentialOutput as DeleteServiceSpecificCredentialOutput, + DeleteSigningCertificateInput as DeleteSigningCertificateInput, + DeleteSigningCertificateOutput as DeleteSigningCertificateOutput, + DeleteSSHPublicKeyInput as DeleteSSHPublicKeyInput, + DeleteSSHPublicKeyOutput as DeleteSSHPublicKeyOutput, + DeleteUserInput as DeleteUserInput, + DeleteUserOutput as DeleteUserOutput, + DeleteUserPermissionsBoundaryInput as DeleteUserPermissionsBoundaryInput, + DeleteUserPermissionsBoundaryOutput as DeleteUserPermissionsBoundaryOutput, + DeleteUserPolicyInput as DeleteUserPolicyInput, + DeleteUserPolicyOutput as DeleteUserPolicyOutput, + DeleteVirtualMFADeviceInput as DeleteVirtualMFADeviceInput, + DeleteVirtualMFADeviceOutput as DeleteVirtualMFADeviceOutput, + DeletionTaskFailureReasonType as DeletionTaskFailureReasonType, + DeletionTaskStatusType as DeletionTaskStatusType, + DetachGroupPolicyInput as DetachGroupPolicyInput, + DetachGroupPolicyOutput as DetachGroupPolicyOutput, + DetachRolePolicyInput as DetachRolePolicyInput, + DetachRolePolicyOutput as DetachRolePolicyOutput, + DetachUserPolicyInput as DetachUserPolicyInput, + DetachUserPolicyOutput as DetachUserPolicyOutput, + DisableOrganizationsRootCredentialsManagementInput as DisableOrganizationsRootCredentialsManagementInput, + DisableOrganizationsRootCredentialsManagementOutput as DisableOrganizationsRootCredentialsManagementOutput, + DisableOrganizationsRootSessionsInput as DisableOrganizationsRootSessionsInput, + DisableOrganizationsRootSessionsOutput as DisableOrganizationsRootSessionsOutput, + DisableOutboundWebIdentityFederationInput as DisableOutboundWebIdentityFederationInput, + DisableOutboundWebIdentityFederationOutput as DisableOutboundWebIdentityFederationOutput, + DuplicateCertificateException as DuplicateCertificateException, + DuplicateSSHPublicKeyException as DuplicateSSHPublicKeyException, + EnableMFADeviceInput as EnableMFADeviceInput, + EnableMFADeviceOutput as EnableMFADeviceOutput, + EnableOrganizationsRootCredentialsManagementInput as EnableOrganizationsRootCredentialsManagementInput, + EnableOrganizationsRootCredentialsManagementOutput as EnableOrganizationsRootCredentialsManagementOutput, + EnableOrganizationsRootSessionsInput as EnableOrganizationsRootSessionsInput, + EnableOrganizationsRootSessionsOutput as EnableOrganizationsRootSessionsOutput, + EnableOutboundWebIdentityFederationInput as EnableOutboundWebIdentityFederationInput, + EnableOutboundWebIdentityFederationOutput as EnableOutboundWebIdentityFederationOutput, + EncodingType as EncodingType, + EntityAlreadyExistsException as EntityAlreadyExistsException, + EntityDetails as EntityDetails, + EntityInfo as EntityInfo, + EntityTemporarilyUnmodifiableException as EntityTemporarilyUnmodifiableException, + EntityType as EntityType, + ErrorDetails as ErrorDetails, + EvaluationResult as EvaluationResult, + FeatureDisabledException as FeatureDisabledException, + FeatureEnabledException as FeatureEnabledException, + FeatureType as FeatureType, + GenerateCredentialReportInput as GenerateCredentialReportInput, + GenerateCredentialReportOutput as GenerateCredentialReportOutput, + GenerateOrganizationsAccessReportInput as GenerateOrganizationsAccessReportInput, + GenerateOrganizationsAccessReportOutput as GenerateOrganizationsAccessReportOutput, + GenerateServiceLastAccessedDetailsInput as GenerateServiceLastAccessedDetailsInput, + GenerateServiceLastAccessedDetailsOutput as GenerateServiceLastAccessedDetailsOutput, + GetAccessKeyLastUsedInput as GetAccessKeyLastUsedInput, + GetAccessKeyLastUsedOutput as GetAccessKeyLastUsedOutput, + GetAccountAuthorizationDetailsInput as GetAccountAuthorizationDetailsInput, + GetAccountAuthorizationDetailsOutput as GetAccountAuthorizationDetailsOutput, + GetAccountPasswordPolicyInput as GetAccountPasswordPolicyInput, + GetAccountPasswordPolicyOutput as GetAccountPasswordPolicyOutput, + GetAccountPropertiesInput as GetAccountPropertiesInput, + GetAccountPropertiesOutput as GetAccountPropertiesOutput, + GetAccountSummaryInput as GetAccountSummaryInput, + GetAccountSummaryOutput as GetAccountSummaryOutput, + GetContextKeysForCustomPolicyInput as GetContextKeysForCustomPolicyInput, + GetContextKeysForCustomPolicyOutput as GetContextKeysForCustomPolicyOutput, + GetContextKeysForPrincipalPolicyInput as GetContextKeysForPrincipalPolicyInput, + GetContextKeysForPrincipalPolicyOutput as GetContextKeysForPrincipalPolicyOutput, + GetCredentialReportInput as GetCredentialReportInput, + GetCredentialReportOutput as GetCredentialReportOutput, + GetDelegationRequestInput as GetDelegationRequestInput, + GetDelegationRequestOutput as GetDelegationRequestOutput, + GetGroupInput as GetGroupInput, + GetGroupOutput as GetGroupOutput, + GetGroupPolicyInput as GetGroupPolicyInput, + GetGroupPolicyOutput as GetGroupPolicyOutput, + GetHumanReadableSummaryInput as GetHumanReadableSummaryInput, + GetHumanReadableSummaryOutput as GetHumanReadableSummaryOutput, + GetInstanceProfileInput as GetInstanceProfileInput, + GetInstanceProfileOutput as GetInstanceProfileOutput, + GetLoginProfileInput as GetLoginProfileInput, + GetLoginProfileOutput as GetLoginProfileOutput, + GetMFADeviceInput as GetMFADeviceInput, + GetMFADeviceOutput as GetMFADeviceOutput, + GetOpenIDConnectProviderInput as GetOpenIDConnectProviderInput, + GetOpenIDConnectProviderOutput as GetOpenIDConnectProviderOutput, + GetOrganizationsAccessReportInput as GetOrganizationsAccessReportInput, + GetOrganizationsAccessReportOutput as GetOrganizationsAccessReportOutput, + GetOutboundWebIdentityFederationInfoInput as GetOutboundWebIdentityFederationInfoInput, + GetOutboundWebIdentityFederationInfoOutput as GetOutboundWebIdentityFederationInfoOutput, + GetPolicyInput as GetPolicyInput, + GetPolicyOutput as GetPolicyOutput, + GetPolicyVersionInput as GetPolicyVersionInput, + GetPolicyVersionOutput as GetPolicyVersionOutput, + GetRoleInput as GetRoleInput, + GetRoleOutput as GetRoleOutput, + GetRolePolicyInput as GetRolePolicyInput, + GetRolePolicyOutput as GetRolePolicyOutput, + GetRoleTemplateVersionInput as GetRoleTemplateVersionInput, + GetRoleTemplateVersionOutput as GetRoleTemplateVersionOutput, + GetSAMLProviderInput as GetSAMLProviderInput, + GetSAMLProviderOutput as GetSAMLProviderOutput, + GetServerCertificateInput as GetServerCertificateInput, + GetServerCertificateOutput as GetServerCertificateOutput, + GetServiceLastAccessedDetailsInput as GetServiceLastAccessedDetailsInput, + GetServiceLastAccessedDetailsOutput as GetServiceLastAccessedDetailsOutput, + GetServiceLastAccessedDetailsWithEntitiesInput as GetServiceLastAccessedDetailsWithEntitiesInput, + GetServiceLastAccessedDetailsWithEntitiesOutput as GetServiceLastAccessedDetailsWithEntitiesOutput, + GetServiceLinkedRoleDeletionStatusInput as GetServiceLinkedRoleDeletionStatusInput, + GetServiceLinkedRoleDeletionStatusOutput as GetServiceLinkedRoleDeletionStatusOutput, + GetSSHPublicKeyInput as GetSSHPublicKeyInput, + GetSSHPublicKeyOutput as GetSSHPublicKeyOutput, + GetUserInput as GetUserInput, + GetUserOutput as GetUserOutput, + GetUserPolicyInput as GetUserPolicyInput, + GetUserPolicyOutput as GetUserPolicyOutput, + GlobalEndpointTokenVersion as GlobalEndpointTokenVersion, + Group as Group, + GroupDetail as GroupDetail, + InlinePolicy as InlinePolicy, + InlinePolicyIdentifierType as InlinePolicyIdentifierType, + InstanceProfile as InstanceProfile, + InvalidAuthenticationCodeException as InvalidAuthenticationCodeException, + InvalidCertificateException as InvalidCertificateException, + InvalidInputException as InvalidInputException, + InvalidPublicKeyException as InvalidPublicKeyException, + InvalidUserTypeException as InvalidUserTypeException, + JobStatusType as JobStatusType, + KeyPairMismatchException as KeyPairMismatchException, + LimitExceededException as LimitExceededException, + ListAccessKeysInput as ListAccessKeysInput, + ListAccessKeysOutput as ListAccessKeysOutput, + ListAccountAliasesInput as ListAccountAliasesInput, + ListAccountAliasesOutput as ListAccountAliasesOutput, + ListAttachedGroupPoliciesInput as ListAttachedGroupPoliciesInput, + ListAttachedGroupPoliciesOutput as ListAttachedGroupPoliciesOutput, + ListAttachedRolePoliciesInput as ListAttachedRolePoliciesInput, + ListAttachedRolePoliciesOutput as ListAttachedRolePoliciesOutput, + ListAttachedUserPoliciesInput as ListAttachedUserPoliciesInput, + ListAttachedUserPoliciesOutput as ListAttachedUserPoliciesOutput, + ListDelegationRequestsInput as ListDelegationRequestsInput, + ListDelegationRequestsOutput as ListDelegationRequestsOutput, + ListEntitiesForPolicyInput as ListEntitiesForPolicyInput, + ListEntitiesForPolicyOutput as ListEntitiesForPolicyOutput, +) + +from ._private.models_1 import ( + ListGroupPoliciesInput as ListGroupPoliciesInput, + ListGroupPoliciesOutput as ListGroupPoliciesOutput, + ListGroupsForUserInput as ListGroupsForUserInput, + ListGroupsForUserOutput as ListGroupsForUserOutput, + ListGroupsInput as ListGroupsInput, + ListGroupsOutput as ListGroupsOutput, + ListInstanceProfilesForRoleInput as ListInstanceProfilesForRoleInput, + ListInstanceProfilesForRoleOutput as ListInstanceProfilesForRoleOutput, + ListInstanceProfilesInput as ListInstanceProfilesInput, + ListInstanceProfilesOutput as ListInstanceProfilesOutput, + ListInstanceProfileTagsInput as ListInstanceProfileTagsInput, + ListInstanceProfileTagsOutput as ListInstanceProfileTagsOutput, + ListMFADevicesInput as ListMFADevicesInput, + ListMFADevicesOutput as ListMFADevicesOutput, + ListMFADeviceTagsInput as ListMFADeviceTagsInput, + ListMFADeviceTagsOutput as ListMFADeviceTagsOutput, + ListOpenIDConnectProvidersInput as ListOpenIDConnectProvidersInput, + ListOpenIDConnectProvidersOutput as ListOpenIDConnectProvidersOutput, + ListOpenIDConnectProviderTagsInput as ListOpenIDConnectProviderTagsInput, + ListOpenIDConnectProviderTagsOutput as ListOpenIDConnectProviderTagsOutput, + ListOrganizationsFeaturesInput as ListOrganizationsFeaturesInput, + ListOrganizationsFeaturesOutput as ListOrganizationsFeaturesOutput, + ListPoliciesGrantingServiceAccessEntry as ListPoliciesGrantingServiceAccessEntry, + ListPoliciesGrantingServiceAccessInput as ListPoliciesGrantingServiceAccessInput, + ListPoliciesGrantingServiceAccessOutput as ListPoliciesGrantingServiceAccessOutput, + ListPoliciesInput as ListPoliciesInput, + ListPoliciesOutput as ListPoliciesOutput, + ListPolicyTagsInput as ListPolicyTagsInput, + ListPolicyTagsOutput as ListPolicyTagsOutput, + ListPolicyVersionsInput as ListPolicyVersionsInput, + ListPolicyVersionsOutput as ListPolicyVersionsOutput, + ListRolePoliciesInput as ListRolePoliciesInput, + ListRolePoliciesOutput as ListRolePoliciesOutput, + ListRolesInput as ListRolesInput, + ListRolesOutput as ListRolesOutput, + ListRoleTagsInput as ListRoleTagsInput, + ListRoleTagsOutput as ListRoleTagsOutput, + ListSAMLProvidersInput as ListSAMLProvidersInput, + ListSAMLProvidersOutput as ListSAMLProvidersOutput, + ListSAMLProviderTagsInput as ListSAMLProviderTagsInput, + ListSAMLProviderTagsOutput as ListSAMLProviderTagsOutput, + ListServerCertificatesInput as ListServerCertificatesInput, + ListServerCertificatesOutput as ListServerCertificatesOutput, + ListServerCertificateTagsInput as ListServerCertificateTagsInput, + ListServerCertificateTagsOutput as ListServerCertificateTagsOutput, + ListServiceSpecificCredentialsInput as ListServiceSpecificCredentialsInput, + ListServiceSpecificCredentialsOutput as ListServiceSpecificCredentialsOutput, + ListSigningCertificatesInput as ListSigningCertificatesInput, + ListSigningCertificatesOutput as ListSigningCertificatesOutput, + ListSSHPublicKeysInput as ListSSHPublicKeysInput, + ListSSHPublicKeysOutput as ListSSHPublicKeysOutput, + ListUserPoliciesInput as ListUserPoliciesInput, + ListUserPoliciesOutput as ListUserPoliciesOutput, + ListUsersInput as ListUsersInput, + ListUsersOutput as ListUsersOutput, + ListUserTagsInput as ListUserTagsInput, + ListUserTagsOutput as ListUserTagsOutput, + ListVirtualMFADevicesInput as ListVirtualMFADevicesInput, + ListVirtualMFADevicesOutput as ListVirtualMFADevicesOutput, + LoginProfile as LoginProfile, + MalformedCertificateException as MalformedCertificateException, + MalformedPolicyDocumentException as MalformedPolicyDocumentException, + ManagedByTypeType as ManagedByTypeType, + ManagedPolicyDetail as ManagedPolicyDetail, + MFADevice as MFADevice, + NameConflictException as NameConflictException, + NoSuchEntityException as NoSuchEntityException, + OpenIDConnectProviderListEntry as OpenIDConnectProviderListEntry, + OpenIdIdpCommunicationErrorException as OpenIdIdpCommunicationErrorException, + OrderedOrganizationPolicyType as OrderedOrganizationPolicyType, + OrganizationNotFoundException as OrganizationNotFoundException, + OrganizationNotInAllFeaturesModeException as OrganizationNotInAllFeaturesModeException, + OrganizationsDecisionDetail as OrganizationsDecisionDetail, + ParameterDefinition as ParameterDefinition, + ParameterTypeType as ParameterTypeType, + PasswordPolicy as PasswordPolicy, + PasswordPolicyViolationException as PasswordPolicyViolationException, + PermissionCheckResultType as PermissionCheckResultType, + PermissionCheckStatusType as PermissionCheckStatusType, + PermissionsBoundaryAttachmentType as PermissionsBoundaryAttachmentType, + PermissionsBoundaryDecisionDetail as PermissionsBoundaryDecisionDetail, + Policy as Policy, + PolicyDetail as PolicyDetail, + PolicyEvaluationDecisionType as PolicyEvaluationDecisionType, + PolicyEvaluationException as PolicyEvaluationException, + PolicyGrantingServiceAccess as PolicyGrantingServiceAccess, + PolicyGroup as PolicyGroup, + PolicyIdentifier_PolicyType as PolicyIdentifier_PolicyType, + PolicyIdentifierPolicyArn as PolicyIdentifierPolicyArn, + PolicyIdentifierInlinePolicyIdentifier as PolicyIdentifierInlinePolicyIdentifier, + PolicyIdentifierUnknown as PolicyIdentifierUnknown, + PolicyIdentifier as PolicyIdentifier, + _PolicyIdentifierDeserializer as _PolicyIdentifierDeserializer, + PolicyIdentifierPolicyType as PolicyIdentifierPolicyType, + PolicyNotAttachableException as PolicyNotAttachableException, + PolicyOwnerEntityType as PolicyOwnerEntityType, + PolicyParameter as PolicyParameter, + PolicyParameterTypeEnum as PolicyParameterTypeEnum, + PolicyRole as PolicyRole, + PolicyScopeType as PolicyScopeType, + PolicySourceType as PolicySourceType, + PolicyType as PolicyType, + PolicyUsageType as PolicyUsageType, + PolicyUser as PolicyUser, + PolicyVersion as PolicyVersion, + Position as Position, + PutAccountPropertiesInput as PutAccountPropertiesInput, + PutAccountPropertiesOutput as PutAccountPropertiesOutput, + PutGroupPolicyInput as PutGroupPolicyInput, + PutGroupPolicyOutput as PutGroupPolicyOutput, + PutRolePermissionsBoundaryInput as PutRolePermissionsBoundaryInput, + PutRolePermissionsBoundaryOutput as PutRolePermissionsBoundaryOutput, + PutRolePolicyInput as PutRolePolicyInput, + PutRolePolicyOutput as PutRolePolicyOutput, + PutUserPermissionsBoundaryInput as PutUserPermissionsBoundaryInput, + PutUserPermissionsBoundaryOutput as PutUserPermissionsBoundaryOutput, + PutUserPolicyInput as PutUserPolicyInput, + PutUserPolicyOutput as PutUserPolicyOutput, + RejectDelegationRequestInput as RejectDelegationRequestInput, + RejectDelegationRequestOutput as RejectDelegationRequestOutput, + RemoveClientIDFromOpenIDConnectProviderInput as RemoveClientIDFromOpenIDConnectProviderInput, + RemoveClientIDFromOpenIDConnectProviderOutput as RemoveClientIDFromOpenIDConnectProviderOutput, + RemoveRoleFromInstanceProfileInput as RemoveRoleFromInstanceProfileInput, + RemoveRoleFromInstanceProfileOutput as RemoveRoleFromInstanceProfileOutput, + RemoveUserFromGroupInput as RemoveUserFromGroupInput, + RemoveUserFromGroupOutput as RemoveUserFromGroupOutput, + ReplacementValueEntry as ReplacementValueEntry, + ReportFormatType as ReportFormatType, + ReportGenerationLimitExceededException as ReportGenerationLimitExceededException, + ReportStateType as ReportStateType, + ResetServiceSpecificCredentialInput as ResetServiceSpecificCredentialInput, + ResetServiceSpecificCredentialOutput as ResetServiceSpecificCredentialOutput, + ResourceSpecificResult as ResourceSpecificResult, + ResyncMFADeviceInput as ResyncMFADeviceInput, + ResyncMFADeviceOutput as ResyncMFADeviceOutput, + Role as Role, + RoleDetail as RoleDetail, + RoleLastUsed as RoleLastUsed, + RoleModifiedException as RoleModifiedException, + RoleTemplateDisabledException as RoleTemplateDisabledException, + RoleTemplateVersion as RoleTemplateVersion, + RoleUsageType as RoleUsageType, + SAMLPrivateKey as SAMLPrivateKey, + SAMLProviderListEntry as SAMLProviderListEntry, + SendDelegationTokenInput as SendDelegationTokenInput, + SendDelegationTokenOutput as SendDelegationTokenOutput, + ServerCertificate as ServerCertificate, + ServerCertificateMetadata as ServerCertificateMetadata, + ServiceAccessNotEnabledException as ServiceAccessNotEnabledException, + ServiceFailureException as ServiceFailureException, + ServiceLastAccessed as ServiceLastAccessed, + ServiceNotSupportedException as ServiceNotSupportedException, + ServiceSpecificCredential as ServiceSpecificCredential, + ServiceSpecificCredentialMetadata as ServiceSpecificCredentialMetadata, + SetDefaultPolicyVersionInput as SetDefaultPolicyVersionInput, + SetDefaultPolicyVersionOutput as SetDefaultPolicyVersionOutput, + SetSecurityTokenServicePreferencesInput as SetSecurityTokenServicePreferencesInput, + SetSecurityTokenServicePreferencesOutput as SetSecurityTokenServicePreferencesOutput, + SigningCertificate as SigningCertificate, + SimulateCustomPolicyInput as SimulateCustomPolicyInput, + SimulateCustomPolicyOutput as SimulateCustomPolicyOutput, + SimulatePrincipalPolicyInput as SimulatePrincipalPolicyInput, + SimulatePrincipalPolicyOutput as SimulatePrincipalPolicyOutput, + SortKeyType as SortKeyType, + SourceRoleTemplate as SourceRoleTemplate, + SSHPublicKey as SSHPublicKey, + SSHPublicKeyMetadata as SSHPublicKeyMetadata, + Statement as Statement, + StateType as StateType, + StatusType as StatusType, + SummaryKeyType as SummaryKeyType, + SummaryStateType as SummaryStateType, + Tag as Tag, + TagInstanceProfileInput as TagInstanceProfileInput, + TagInstanceProfileOutput as TagInstanceProfileOutput, + TagMFADeviceInput as TagMFADeviceInput, + TagMFADeviceOutput as TagMFADeviceOutput, + TagOpenIDConnectProviderInput as TagOpenIDConnectProviderInput, + TagOpenIDConnectProviderOutput as TagOpenIDConnectProviderOutput, + TagPolicyInput as TagPolicyInput, + TagPolicyOutput as TagPolicyOutput, + TagRoleInput as TagRoleInput, + TagRoleOutput as TagRoleOutput, + TagSAMLProviderInput as TagSAMLProviderInput, + TagSAMLProviderOutput as TagSAMLProviderOutput, + TagServerCertificateInput as TagServerCertificateInput, + TagServerCertificateOutput as TagServerCertificateOutput, + TagTemplate as TagTemplate, + TagUserInput as TagUserInput, + TagUserOutput as TagUserOutput, + TrackedActionLastAccessed as TrackedActionLastAccessed, + UnmodifiableEntityException as UnmodifiableEntityException, + UnrecognizedPublicKeyEncodingException as UnrecognizedPublicKeyEncodingException, + UntagInstanceProfileInput as UntagInstanceProfileInput, + UntagInstanceProfileOutput as UntagInstanceProfileOutput, + UntagMFADeviceInput as UntagMFADeviceInput, + UntagMFADeviceOutput as UntagMFADeviceOutput, + UntagOpenIDConnectProviderInput as UntagOpenIDConnectProviderInput, + UntagOpenIDConnectProviderOutput as UntagOpenIDConnectProviderOutput, + UntagPolicyInput as UntagPolicyInput, + UntagPolicyOutput as UntagPolicyOutput, + UntagRoleInput as UntagRoleInput, + UntagRoleOutput as UntagRoleOutput, + UntagSAMLProviderInput as UntagSAMLProviderInput, + UntagSAMLProviderOutput as UntagSAMLProviderOutput, + UntagServerCertificateInput as UntagServerCertificateInput, + UntagServerCertificateOutput as UntagServerCertificateOutput, + UntagUserInput as UntagUserInput, + UntagUserOutput as UntagUserOutput, + UpdateAccessKeyInput as UpdateAccessKeyInput, + UpdateAccessKeyOutput as UpdateAccessKeyOutput, + UpdateAccountPasswordPolicyInput as UpdateAccountPasswordPolicyInput, + UpdateAccountPasswordPolicyOutput as UpdateAccountPasswordPolicyOutput, + UpdateAssumeRolePolicyInput as UpdateAssumeRolePolicyInput, + UpdateAssumeRolePolicyOutput as UpdateAssumeRolePolicyOutput, + UpdateDelegationRequestInput as UpdateDelegationRequestInput, + UpdateDelegationRequestOutput as UpdateDelegationRequestOutput, + UpdateGroupInput as UpdateGroupInput, + UpdateGroupOutput as UpdateGroupOutput, + UpdateLoginProfileInput as UpdateLoginProfileInput, + UpdateLoginProfileOutput as UpdateLoginProfileOutput, + UpdateOpenIDConnectProviderThumbprintInput as UpdateOpenIDConnectProviderThumbprintInput, + UpdateOpenIDConnectProviderThumbprintOutput as UpdateOpenIDConnectProviderThumbprintOutput, + UpdateRoleDescriptionInput as UpdateRoleDescriptionInput, + UpdateRoleDescriptionOutput as UpdateRoleDescriptionOutput, + UpdateRoleInput as UpdateRoleInput, + UpdateRoleOutput as UpdateRoleOutput, + UpdateSAMLProviderInput as UpdateSAMLProviderInput, + UpdateSAMLProviderOutput as UpdateSAMLProviderOutput, + UpdateServerCertificateInput as UpdateServerCertificateInput, + UpdateServerCertificateOutput as UpdateServerCertificateOutput, + UpdateServiceSpecificCredentialInput as UpdateServiceSpecificCredentialInput, + UpdateServiceSpecificCredentialOutput as UpdateServiceSpecificCredentialOutput, + UpdateSigningCertificateInput as UpdateSigningCertificateInput, + UpdateSigningCertificateOutput as UpdateSigningCertificateOutput, + UpdateSSHPublicKeyInput as UpdateSSHPublicKeyInput, + UpdateSSHPublicKeyOutput as UpdateSSHPublicKeyOutput, + UpdateUserInput as UpdateUserInput, + UpdateUserOutput as UpdateUserOutput, + UploadServerCertificateInput as UploadServerCertificateInput, + UploadServerCertificateOutput as UploadServerCertificateOutput, + UploadSigningCertificateInput as UploadSigningCertificateInput, + UploadSigningCertificateOutput as UploadSigningCertificateOutput, + UploadSSHPublicKeyInput as UploadSSHPublicKeyInput, + UploadSSHPublicKeyOutput as UploadSSHPublicKeyOutput, + User as User, + UserDetail as UserDetail, + VirtualMFADevice as VirtualMFADevice, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -26,12443 +525,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AcceptDelegationRequestInput(_SerdeShape): - """Dataclass for AcceptDelegationRequestInput structure.""" - - delegation_request_id: str | None = ... - """The unique identifier of the delegation request to accept.""" - -@dataclass(kw_only=True) -class AcceptDelegationRequestOutput(_SerdeShape): - """Dataclass for AcceptDelegationRequestOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AccessAdvisorUsageGranularityType(UnknownEnumMixin, StrEnum): - SERVICE_LEVEL = "SERVICE_LEVEL" - ACTION_LEVEL = "ACTION_LEVEL" - -@dataclass(kw_only=True) -class AccessDetail(_SerdeShape): - """ - An object that contains details about when a principal in the reported - Organizations entity last attempted to access an Amazon Web Services - service. A principal can be an IAM user, an IAM role, or the Amazon Web - Services account root user within the reported Organizations entity. - - This data type is a response element in the - [GetOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html) - operation. - """ - - service_name: str - """The name of the service in which access was attempted.""" - service_namespace: str - """ - The namespace of the service in which access was attempted. - - To learn the service namespace of a service, see [Actions, resources, - and condition keys for Amazon Web Services - services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) - in the *Service Authorization Reference*. Choose the name of the service - to view details for that service. In the first paragraph, find the - service prefix. For example, `(service prefix: a4b)`. For more - information about service namespaces, see [Amazon Web Services service - namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) - in the *Amazon Web Services General Reference*. - """ - region: str | None = ... - """ - The Region where the last service access attempt occurred. - - This field is null if no principals in the reported Organizations entity - attempted to access the service within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - entity_path: str | None = ... - """ - The path of the Organizations entity (root, organizational unit, or - account) from which an authenticated principal last attempted to access - the service. Amazon Web Services does not report unauthenticated - requests. - - This field is null if no principals (IAM users, IAM roles, or root user) - in the reported Organizations entity attempted to access the service - within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - last_authenticated_time: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when an authenticated principal - most recently attempted to access the service. Amazon Web Services does - not report unauthenticated requests. - - This field is null if no principals in the reported Organizations entity - attempted to access the service within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - total_authenticated_entities: int | None = ... - """ - The number of accounts with authenticated principals (root user, IAM - users, and IAM roles) that attempted to access the service in the - tracking period. - """ - -@dataclass(kw_only=True) -class AccessKey(_SerdeShape): - """ - Contains information about an Amazon Web Services access key. - - This data type is used as a response element in the - [CreateAccessKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html) - and - [ListAccessKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html) - operations. - - Note: - The `SecretAccessKey` value is returned only in response to - [CreateAccessKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html). - You can get a secret access key only when you first create an access - key; you cannot recover the secret access key later. If you lose a - secret access key, you must create a new access key. - """ - - user_name: str - """The name of the IAM user that the access key is associated with.""" - access_key_id: str - """The ID for this access key.""" - status: str - """ - The status of the access key. `Active` means that the key is valid for - API calls, while `Inactive` means it is not. - """ - secret_access_key: str - """The secret key used to sign requests.""" - create_date: datetime | None = ... - """The date when the access key was created.""" - -@dataclass(kw_only=True) -class AccessKeyLastUsed(_SerdeShape): - """ - Contains information about the last time an Amazon Web Services access - key was used since IAM began tracking this information on April 22, - 2015. - - This data type is used as a response element in the - [GetAccessKeyLastUsed](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccessKeyLastUsed.html) - operation. - """ - - last_used_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the access key was most - recently used. This field is null in the following situations: - - - The user does not have an access key. - - - An access key exists but has not been used since IAM began tracking - this information. - - - There is no sign-in data associated with the user. - """ - service_name: str - """ - The name of the Amazon Web Services service with which this access key - was most recently used. The value of this field is \"N/A\" in the - following situations: - - - The user does not have an access key. - - - An access key exists but has not been used since IAM started tracking - this information. - - - There is no sign-in data associated with the user. - """ - region: str - """ - The Amazon Web Services Region where this access key was most recently - used. The value for this field is \"N/A\" in the following situations: - - - The user does not have an access key. - - - An access key exists but has not been used since IAM began tracking - this information. - - - There is no sign-in data associated with the user. - - For more information about Amazon Web Services Regions, see [Regions and - endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html) in - the Amazon Web Services General Reference. - """ - -@dataclass(kw_only=True) -class AccessKeyMetadata(_SerdeShape): - """ - Contains information about an Amazon Web Services access key, without - its secret key. - - This data type is used as a response element in the - [ListAccessKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html) - operation. - """ - - user_name: str | None = ... - """The name of the IAM user that the key is associated with.""" - access_key_id: str | None = ... - """The ID for this access key.""" - status: str | None = ... - """ - The status of the access key. `Active` means that the key is valid for - API calls; `Inactive` means it is not. - """ - create_date: datetime | None = ... - """The date when the access key was created.""" - -@dataclass(kw_only=True) -class AccountNotManagementOrDelegatedAdministratorException(ServiceError, _SerdeShape): - """ - The request was rejected because the account making the request is not - the management account or delegated administrator account for - [centralized root - access](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AcquireRoleInput(_SerdeShape): - """Dataclass for AcquireRoleInput structure.""" - - template_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the role template to create the role - from. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - template_minor_version: int | None = ... - """ - The minor version of the role template to use. If you do not specify a - minor version, the service uses the template's default minor version. - """ - replacement_values: dict[str, ReplacementValueEntry] | None = ... - """ - A map of values to substitute for the parameters that are defined in the - role template version. Each key is a parameter name from the template, - and each value is a structure that contains the replacement values for - that parameter. - """ - -@dataclass(kw_only=True) -class AcquireRoleOutput(_SerdeShape): - """Dataclass for AcquireRoleOutput structure.""" - - role: Role - """A structure that contains details about the IAM role that was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AddClientIDToOpenIDConnectProviderInput(_SerdeShape): - """Dataclass for AddClientIDToOpenIDConnectProviderInput structure.""" - - open_id_connect_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider - resource to add the client ID to. You can get a list of OIDC provider - ARNs by using the - [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) - operation. - """ - client_id: str | None = ... - """ - The client ID (also known as audience) to add to the IAM OpenID Connect - provider resource. - """ - -@dataclass(kw_only=True) -class AddClientIDToOpenIDConnectProviderOutput(_SerdeShape): - """Dataclass for AddClientIDToOpenIDConnectProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AddRoleToInstanceProfileInput(_SerdeShape): - """Dataclass for AddRoleToInstanceProfileInput structure.""" - - instance_profile_name: str | None = ... - """ - The name of the instance profile to update. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - role_name: str | None = ... - """ - The name of the role to add. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class AddRoleToInstanceProfileOutput(_SerdeShape): - """Dataclass for AddRoleToInstanceProfileOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AddUserToGroupInput(_SerdeShape): - """Dataclass for AddUserToGroupInput structure.""" - - group_name: str | None = ... - """ - The name of the group to update. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - user_name: str | None = ... - """ - The name of the user to add. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class AddUserToGroupOutput(_SerdeShape): - """Dataclass for AddUserToGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AssertionEncryptionModeType(UnknownEnumMixin, StrEnum): - REQUIRED = "Required" - ALLOWED = "Allowed" - -class AssignmentStatusType(UnknownEnumMixin, StrEnum): - ASSIGNED = "Assigned" - UNASSIGNED = "Unassigned" - ANY = "Any" - -@dataclass(kw_only=True) -class AssociateDelegationRequestInput(_SerdeShape): - """Dataclass for AssociateDelegationRequestInput structure.""" - - delegation_request_id: str | None = ... - """The unique identifier of the delegation request to associate.""" - -@dataclass(kw_only=True) -class AssociateDelegationRequestOutput(_SerdeShape): - """Dataclass for AssociateDelegationRequestOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AttachedPermissionsBoundary(_SerdeShape): - """ - Contains information about an attached permissions boundary. - - An attached permissions boundary is a managed policy that has been - attached to a user or role to set the permissions boundary. - - For more information about permissions boundaries, see [Permissions - boundaries for IAM - identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - """ - - permissions_boundary_type: str | None = ... - """ - The permissions boundary usage type that indicates what type of IAM - resource is used as the permissions boundary for an entity. This data - type can only have a value of `Policy`. - """ - permissions_boundary_arn: str | None = ... - """ - The ARN of the policy used to set the permissions boundary for the user - or role. - """ - -@dataclass(kw_only=True) -class AttachedPolicy(_SerdeShape): - """ - Contains information about an attached policy. - - An attached policy is a managed policy that has been attached to a user, - group, or role. This data type is used as a response element in the - [ListAttachedGroupPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedGroupPolicies.html), - [ListAttachedRolePolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedRolePolicies.html), - [ListAttachedUserPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedUserPolicies.html), - and - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - operations. - - For more information about managed policies, refer to [Managed policies - and inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) - in the *IAM User Guide*. - """ - - policy_name: str | None = ... - """The friendly name of the attached policy.""" - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class AttachGroupPolicyInput(_SerdeShape): - """Dataclass for AttachGroupPolicyInput structure.""" - - group_name: str | None = ... - """ - The name (friendly name, not ARN) of the group to attach the policy to. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy you want to attach. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class AttachGroupPolicyOutput(_SerdeShape): - """Dataclass for AttachGroupPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AttachmentType(UnknownEnumMixin, StrEnum): - USER = "user" - GROUP = "group" - ROLE = "role" - -@dataclass(kw_only=True) -class AttachRolePolicyInput(_SerdeShape): - """Dataclass for AttachRolePolicyInput structure.""" - - role_name: str | None = ... - """ - The name (friendly name, not ARN) of the role to attach the policy to. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy you want to attach. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class AttachRolePolicyOutput(_SerdeShape): - """Dataclass for AttachRolePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AttachUserPolicyInput(_SerdeShape): - """Dataclass for AttachUserPolicyInput structure.""" - - user_name: str | None = ... - """ - The name (friendly name, not ARN) of the IAM user to attach the policy - to. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy you want to attach. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class AttachUserPolicyOutput(_SerdeShape): - """Dataclass for AttachUserPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CallerIsNotManagementAccountException(ServiceError, _SerdeShape): - """ - The request was rejected because the account making the request is not - the management account for the organization. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ChangePasswordInput(_SerdeShape): - """Dataclass for ChangePasswordInput structure.""" - - old_password: str | None = ... - """The IAM user's current password.""" - new_password: str | None = ... - """ - The new password. The new password must conform to the Amazon Web - Services account's password policy, if one exists. - - The [regex pattern](http://wikipedia.org/wiki/regex) that is used to - validate this parameter is a string of characters. That string can - include almost any printable ASCII character from the space (`\u0020`) - through the end of the ASCII character range (`\u00ff`). You can also - include the tab (`\u0009`), line feed (`\u000a`), and carriage return - (`\u000d`) characters. Any of these characters are valid in a password. - However, many tools, such as the Amazon Web Services Management Console, - might restrict the ability to type certain characters because they have - special meaning within that tool. - """ - -@dataclass(kw_only=True) -class ChangePasswordOutput(_SerdeShape): - """Dataclass for ChangePasswordOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ConcurrentModificationException(ServiceError, _SerdeShape): - """ - The request was rejected because multiple requests to change this object - were submitted simultaneously. Wait a few minutes and submit your - request again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ContextEntry(_SerdeShape): - """ - Contains information about a condition context key. It includes the name - of the key and specifies the value (or values, if the context key - supports multiple values) to use in the simulation. This information is - used when evaluating the `Condition` elements of the input policies. - - This data type is used as an input parameter to - [SimulateCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html) - and - [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html). - """ - - context_key_name: str | None = ... - """ - The full name of a condition context key, including the service prefix. - For example, `aws:SourceIp` or `s3:VersionId`. - """ - context_key_values: list[str] | None = ... - """ - The value (or values, if the condition context key supports multiple - values) to provide to the simulation when the key is referenced by a - `Condition` element in an input policy. - """ - context_key_type: str | None = ... - """ - The data type of the value (or values) specified in the - `ContextKeyValues` parameter. - """ - -class ContextKeyTypeEnum(UnknownEnumMixin, StrEnum): - STRING = "string" - STRING_LIST = "stringList" - NUMERIC = "numeric" - NUMERIC_LIST = "numericList" - BOOLEAN = "boolean" - BOOLEAN_LIST = "booleanList" - IP = "ip" - IP_LIST = "ipList" - BINARY = "binary" - BINARY_LIST = "binaryList" - DATE = "date" - DATE_LIST = "dateList" - -@dataclass(kw_only=True) -class CreateAccessKeyInput(_SerdeShape): - """Dataclass for CreateAccessKeyInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user that the new key will belong to. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class CreateAccessKeyOutput(_SerdeShape): - """ - Contains the response to a successful - [CreateAccessKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html) - request. - """ - - access_key: AccessKey - """A structure with details about the access key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateAccountAliasInput(_SerdeShape): - """Dataclass for CreateAccountAliasInput structure.""" - - account_alias: str | None = ... - """ - The account alias to create. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of lowercase letters, digits, and dashes. You cannot start or - finish with a dash, nor can you have two dashes in a row. - """ - -@dataclass(kw_only=True) -class CreateAccountAliasOutput(_SerdeShape): - """Dataclass for CreateAccountAliasOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDelegationRequestInput(_SerdeShape): - """Dataclass for CreateDelegationRequestInput structure.""" - - owner_account_id: str | None = ... - """ - The Amazon Web Services account ID this delegation request is targeted - to. - - If the account ID is not known, this parameter can be omitted, resulting - in a request that can be associated by any account. If the account ID - passed, then the created delegation request can only be associated with - an identity of that target account. - """ - description: str | None = ... - """A description of the delegation request.""" - permissions: DelegationPermission | None = ... - """The permissions to be delegated in this delegation request.""" - request_message: str | None = ... - """ - A message explaining the reason for the delegation request. - - Requesters can utilize this field to add a custom note to the delegation - request. This field is different from the description such that this is - to be utilized for a custom messaging on a case-by-case basis. - - For example, if the current delegation request is in response to a - previous request being rejected, this explanation can be added to the - request via this field. - """ - requestor_workflow_id: str | None = ... - """ - The workflow ID associated with the requestor. - - This is the unique identifier on the partner side that can be used to - track the progress of the request. - - IAM maintains a uniqueness check on this workflow id for each request - - if a workflow id for an existing request is passed, this API call will - fail. - """ - redirect_url: str | None = ... - """ - The URL to redirect to after the delegation request is processed. - - This URL is used by the IAM console to show a link to the customer to - re-load the partner workflow. - """ - notification_channel: str | None = ... - """ - The notification channel for updates about the delegation request. - - At this time,only SNS topic ARNs are accepted for notification. This - topic ARN must have a resource policy granting `SNS:Publish` permission - to the IAM service principal (`iam.amazonaws.com`). See [partner - onboarding - documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation-partner-guide.html) - for more details. - """ - session_duration: int | None = ... - """ - The duration for which the delegated session should remain active, in - seconds. - - The active time window for the session starts when the customer calls - the - [SendDelegationToken](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html) - API. - """ - only_send_by_owner: bool = ... - """ - Specifies whether the delegation token should only be sent by the owner. - - This flag prevents any party other than the owner from calling - `SendDelegationToken` API for this delegation request. This behavior - becomes useful when the delegation request owner needs to be present for - subsequent partner interactions, but the delegation request was sent to - a more privileged user for approval due to the owner lacking sufficient - delegation permissions. - """ - -@dataclass(kw_only=True) -class CreateDelegationRequestOutput(_SerdeShape): - """Dataclass for CreateDelegationRequestOutput structure.""" - - console_deep_link: str | None = ... - """ - A deep link URL to the Amazon Web Services Management Console for - managing the delegation request. - - For a console based workflow, partners should redirect the customer to - this URL. If the customer is not logged in to any Amazon Web Services - account, the Amazon Web Services workflow will automatically direct the - customer to log in and then display the delegation request approval - page. - """ - delegation_request_id: str | None = ... - """The unique identifier for the created delegation request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGroupInput(_SerdeShape): - """Dataclass for CreateGroupInput structure.""" - - path: str | None = ... - """ - The path to the group. For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - - This parameter is optional. If it is not included, it defaults to a - slash (/). - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - group_name: str | None = ... - """ - The name of the group to create. Do not include the path in this value. - - IAM user, group, role, and policy names must be unique within the - account. Names are not distinguished by case. For example, you cannot - create resources named both \"MyResource\" and \"myresource\". - """ - -@dataclass(kw_only=True) -class CreateGroupOutput(_SerdeShape): - """ - Contains the response to a successful - [CreateGroup](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateGroup.html) - request. - """ - - group: Group - """A structure containing details about the new group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateInstanceProfileInput(_SerdeShape): - """Dataclass for CreateInstanceProfileInput structure.""" - - instance_profile_name: str | None = ... - """ - The name of the instance profile to create. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - path: str | None = ... - """ - The path to the instance profile. For more information about paths, see - [IAM - Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - - This parameter is optional. If it is not included, it defaults to a - slash (/). - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - tags: list[Tag] | None = ... - """ - A list of tags that you want to attach to the newly created IAM instance - profile. Each tag consists of a key name and an associated value. For - more information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - - Note: - If any one of the tags is invalid or if you exceed the allowed maximum - number of tags, then the entire request fails and the resource is not - created. - """ - -@dataclass(kw_only=True) -class CreateInstanceProfileOutput(_SerdeShape): - """ - Contains the response to a successful - [CreateInstanceProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateInstanceProfile.html) - request. - """ - - instance_profile: InstanceProfile - """A structure containing details about the new instance profile.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateLoginProfileInput(_SerdeShape): - """Dataclass for CreateLoginProfileInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user to create a password for. The user must already - exist. - - This parameter is optional. If no user name is included, it defaults to - the principal making the request. When you make this request with root - user credentials, you must use an - [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) - session to omit the user name. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - password: str | None = ... - """ - The new password for the user. - - This parameter must be omitted when you make the request with an - [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) - session. It is required in all other cases. - - The [regex pattern](http://wikipedia.org/wiki/regex) that is used to - validate this parameter is a string of characters. That string can - include almost any printable ASCII character from the space (`\u0020`) - through the end of the ASCII character range (`\u00ff`). You can also - include the tab (`\u0009`), line feed (`\u000a`), and carriage return - (`\u000d`) characters. Any of these characters are valid in a password. - However, many tools, such as the Amazon Web Services Management Console, - might restrict the ability to type certain characters because they have - special meaning within that tool. - """ - password_reset_required: bool = ... - """ - Specifies whether the user is required to set a new password on next - sign-in. - """ - -@dataclass(kw_only=True) -class CreateLoginProfileOutput(_SerdeShape): - """ - Contains the response to a successful - [CreateLoginProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateLoginProfile.html) - request. - """ - - login_profile: LoginProfile - """A structure containing the user name and password create date.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateOpenIDConnectProviderInput(_SerdeShape): - """Dataclass for CreateOpenIDConnectProviderInput structure.""" - - url: str | None = ... - """ - The URL of the identity provider. The URL must begin with `https://` and - should correspond to the `iss` claim in the provider's OpenID Connect - ID tokens. Per the OIDC standard, path components are allowed but query - parameters are not. Typically the URL consists of only a hostname, like - `https://server.example.org` or `https://example.com`. The URL should - not contain a port number. - - You cannot register the same provider multiple times in a single Amazon - Web Services account. If you try to submit a URL that has already been - used for an OpenID Connect provider in the Amazon Web Services account, - you will get an error. - """ - client_id_list: list[str] | None = ... - """ - Provides a list of client IDs, also known as audiences. When a mobile or - web app registers with an OpenID Connect provider, they establish a - value that identifies the application. This is the value that's sent as - the `client_id` parameter on OAuth requests. - - You can register multiple client IDs with the same provider. For - example, you might have multiple applications that use the same OIDC - provider. You cannot register more than 100 client IDs with a single IAM - OIDC provider. - - There is no defined format for a client ID. The - `CreateOpenIDConnectProviderRequest` operation accepts client IDs up to - 255 characters long. - """ - thumbprint_list: list[str] | None = ... - """ - A list of server certificate thumbprints for the OpenID Connect (OIDC) - identity provider's server certificates. Typically this list includes - only one entry. However, IAM lets you have up to five thumbprints for an - OIDC provider. This lets you maintain multiple thumbprints if the - identity provider is rotating certificates. - - This parameter is optional. If it is not included, IAM will retrieve and - use the top intermediate certificate authority (CA) thumbprint of the - OpenID Connect identity provider server certificate. - - The server certificate thumbprint is the hex-encoded SHA-1 hash value of - the X.509 certificate used by the domain where the OpenID Connect - provider makes its keys available. It is always a 40-character string. - - For example, assume that the OIDC provider is `server.example.com` and - the provider stores its keys at - https://keys.server.example.com/openid-connect. In that case, the - thumbprint string would be the hex-encoded SHA-1 hash value of the - certificate used by `https://keys.server.example.com.` - - For more information about obtaining the OIDC provider thumbprint, see - [Obtaining the thumbprint for an OpenID Connect - provider](https://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html) - in the *IAM user Guide*. - - Note: - If your OIDC provider's discovery endpoint and JWKS endpoint - (`jwks_uri`) use different certificates or hosts, include the - thumbprints for both endpoints in this list. - """ - tags: list[Tag] | None = ... - """ - A list of tags that you want to attach to the new IAM OpenID Connect - (OIDC) provider. Each tag consists of a key name and an associated - value. For more information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - - Note: - If any one of the tags is invalid or if you exceed the allowed maximum - number of tags, then the entire request fails and the resource is not - created. - """ - -@dataclass(kw_only=True) -class CreateOpenIDConnectProviderOutput(_SerdeShape): - """ - Contains the response to a successful - [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html) - request. - """ - - open_id_connect_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the new IAM OpenID Connect provider - that is created. For more information, see - [OpenIDConnectProviderListEntry](https://docs.aws.amazon.com/IAM/latest/APIReference/API_OpenIDConnectProviderListEntry.html). - """ - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the new IAM OIDC provider. The - returned list of tags is sorted by tag key. For more information about - tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePolicyInput(_SerdeShape): - """Dataclass for CreatePolicyInput structure.""" - - policy_name: str | None = ... - """ - The friendly name of the policy. - - IAM user, group, role, and policy names must be unique within the - account. Names are not distinguished by case. For example, you cannot - create resources named both \"MyResource\" and \"myresource\". - """ - path: str | None = ... - """ - The path for the policy. - - For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - - This parameter is optional. If it is not included, it defaults to a - slash (/). - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - - Note: - You cannot use an asterisk (*) in the path name. - """ - policy_document: str | None = ... - """ - The JSON policy document that you want to use as the content for the new - policy. - - You must provide policies in JSON format in IAM. However, for - CloudFormation templates formatted in YAML, you can provide the policy - in JSON or YAML format. CloudFormation always converts a YAML policy to - JSON format before submitting it to IAM. - - The maximum length of the policy document that you can pass in this - operation, including whitespace, is listed below. To view the maximum - character counts of a managed policy with no whitespaces, see [IAM and - STS character - quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). - - To learn more about JSON policy grammar, see [Grammar of the IAM JSON - policy - language](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html) - in the *IAM User Guide*. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - description: str | None = ... - """ - A friendly description of the policy. - - Typically used to store information about the permissions defined in the - policy. For example, \"Grants access to production DynamoDB tables.\" - - The policy description is immutable. After a value is assigned, it - cannot be changed. - """ - tags: list[Tag] | None = ... - """ - A list of tags that you want to attach to the new IAM customer managed - policy. Each tag consists of a key name and an associated value. For - more information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - - Note: - If any one of the tags is invalid or if you exceed the allowed maximum - number of tags, then the entire request fails and the resource is not - created. - """ - -@dataclass(kw_only=True) -class CreatePolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [CreatePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicy.html) - request. - """ - - policy: Policy | None = ... - """A structure containing details about the new policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePolicyVersionInput(_SerdeShape): - """Dataclass for CreatePolicyVersionInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy to which you want to - add a new version. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - policy_document: str | None = ... - """ - The JSON policy document that you want to use as the content for this - new version of the policy. - - You must provide policies in JSON format in IAM. However, for - CloudFormation templates formatted in YAML, you can provide the policy - in JSON or YAML format. CloudFormation always converts a YAML policy to - JSON format before submitting it to IAM. - - The maximum length of the policy document that you can pass in this - operation, including whitespace, is listed below. To view the maximum - character counts of a managed policy with no whitespaces, see [IAM and - STS character - quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - set_as_default: bool = ... - """ - Specifies whether to set this version as the policy's default version. - - When this parameter is `true`, the new policy version becomes the - operative version. That is, it becomes the version that is in effect for - the IAM users, groups, and roles that the policy is attached to. - - For more information about managed policy versions, see [Versioning for - managed - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class CreatePolicyVersionOutput(_SerdeShape): - """ - Contains the response to a successful - [CreatePolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicyVersion.html) - request. - """ - - policy_version: PolicyVersion | None = ... - """A structure containing details about the new policy version.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRoleInput(_SerdeShape): - """Dataclass for CreateRoleInput structure.""" - - path: str | None = ... - """ - The path to the role. For more information about paths, see [IAM - Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - - This parameter is optional. If it is not included, it defaults to a - slash (/). - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - role_name: str | None = ... - """ - The name of the role to create. - - IAM user, group, role, and policy names must be unique within the - account. Names are not distinguished by case. For example, you cannot - create resources named both \"MyResource\" and \"myresource\". - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - assume_role_policy_document: str | None = ... - """ - The trust relationship policy document that grants an entity permission - to assume the role. - - In IAM, you must provide a JSON policy that has been converted to a - string. However, for CloudFormation templates formatted in YAML, you can - provide the policy in JSON or YAML format. CloudFormation always - converts a YAML policy to JSON format before submitting it to IAM. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - - Upon success, the response includes the same trust policy in JSON - format. - """ - description: str | None = ... - """A description of the role.""" - max_session_duration: int | None = ... - """ - The maximum session duration (in seconds) that you want to set for the - specified role. If you do not specify a value for this setting, the - default value of one hour is applied. This setting can have a value from - 1 hour to 12 hours. - - Anyone who assumes the role from the CLI or API can use the - `DurationSeconds` API parameter or the `duration-seconds` CLI parameter - to request a longer session. The `MaxSessionDuration` setting determines - the maximum duration that can be requested using the `DurationSeconds` - parameter. If users don't specify a value for the `DurationSeconds` - parameter, their security credentials are valid for one hour by default. - This applies when you use the `AssumeRole*` API operations or the - `assume-role*` CLI operations but does not apply when you use those - operations to create a console URL. For more information, see [Using IAM - roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) - in the *IAM User Guide*. - """ - permissions_boundary: str | None = ... - """ - The ARN of the managed policy that is used to set the permissions - boundary for the role. - - A permissions boundary policy defines the maximum permissions that - identity-based policies can grant to an entity, but does not grant - permissions. Permissions boundaries do not define the maximum - permissions that a resource-based policy can grant to an entity. To - learn more, see [Permissions boundaries for IAM - entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - - For more information about policy types, see [Policy - types](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types) - in the *IAM User Guide*. - """ - tags: list[Tag] | None = ... - """ - A list of tags that you want to attach to the new role. Each tag - consists of a key name and an associated value. For more information - about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - - Note: - If any one of the tags is invalid or if you exceed the allowed maximum - number of tags, then the entire request fails and the resource is not - created. - """ - -@dataclass(kw_only=True) -class CreateRoleOutput(_SerdeShape): - """ - Contains the response to a successful - [CreateRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html) - request. - """ - - role: Role - """A structure containing details about the new role.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSAMLProviderInput(_SerdeShape): - """Dataclass for CreateSAMLProviderInput structure.""" - - saml_metadata_document: str | None = ... - """ - An XML document generated by an identity provider (IdP) that supports - SAML 2.0. The document includes the issuer's name, expiration - information, and keys that can be used to validate the SAML - authentication response (assertions) that are received from the IdP. You - must generate the metadata document using the identity management - software that is used as your organization's IdP. - - For more information, see [About SAML 2.0-based - federation](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html) - in the *IAM User Guide* - """ - name: str | None = ... - """ - The name of the provider to create. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - A list of tags that you want to attach to the new IAM SAML provider. - Each tag consists of a key name and an associated value. For more - information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - - Note: - If any one of the tags is invalid or if you exceed the allowed maximum - number of tags, then the entire request fails and the resource is not - created. - """ - assertion_encryption_mode: str | None = ... - """Specifies the encryption setting for the SAML provider.""" - add_private_key: str | None = ... - """ - The private key generated from your external identity provider. The - private key must be a .pem file that uses AES-GCM or AES-CBC encryption - algorithm to decrypt SAML assertions. - """ - -@dataclass(kw_only=True) -class CreateSAMLProviderOutput(_SerdeShape): - """ - Contains the response to a successful - [CreateSAMLProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateSAMLProvider.html) - request. - """ - - saml_provider_arn: str | None = ... - """The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.""" - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the new IAM SAML provider. The - returned list of tags is sorted by tag key. For more information about - tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateServiceLinkedRoleInput(_SerdeShape): - """Dataclass for CreateServiceLinkedRoleInput structure.""" - - aws_service_name: str | None = ... - """ - The service principal for the Amazon Web Services service to which this - role is attached. You use a string similar to a URL but without the - http:// in front. For example: `elasticbeanstalk.amazonaws.com`. - - Service principals are unique and case-sensitive. To find the exact - service principal for your service-linked role, see [Amazon Web Services - services that work with - IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html) - in the *IAM User Guide*. Look for the services that have **Yes** in the - **Service-Linked Role** column. Choose the **Yes** link to view the - service-linked role documentation for that service. - """ - description: str | None = ... - """The description of the role.""" - custom_suffix: str | None = ... - """ - A string that you provide, which is combined with the service-provided - prefix to form the complete role name. If you make multiple requests for - the same service, then you must supply a different `CustomSuffix` for - each request. Otherwise the request fails with a duplicate role name - error. For example, you could add `-1` or `-debug` to the suffix. - - Some services do not support the `CustomSuffix` parameter. If you - provide an optional suffix and the operation fails, try the operation - again without the suffix. - """ - -@dataclass(kw_only=True) -class CreateServiceLinkedRoleOutput(_SerdeShape): - """Dataclass for CreateServiceLinkedRoleOutput structure.""" - - role: Role | None = ... - """ - A - [Role](https://docs.aws.amazon.com/IAM/latest/APIReference/API_Role.html) - object that contains details about the newly created role. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateServiceSpecificCredentialInput(_SerdeShape): - """Dataclass for CreateServiceSpecificCredentialInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user that is to be associated with the credentials. - The new service-specific credentials have the same permissions as the - associated user except that they can be used only to access the - specified service. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - service_name: str | None = ... - """ - The name of the Amazon Web Services service that is to be associated - with the credentials. The service you specify here is the only service - that can be accessed using these credentials. - """ - credential_age_days: int | None = ... - """ - The number of days until the service specific credential expires. This - field is only valid for services that support long-term API keys and - must be a positive integer. When not specified, the credential will not - expire. - - To see which services support long-term API keys, refer to [API keys for - Amazon Web Services - services](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_api_keys_for_aws_services.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class CreateServiceSpecificCredentialOutput(_SerdeShape): - """Dataclass for CreateServiceSpecificCredentialOutput structure.""" - - service_specific_credential: ServiceSpecificCredential | None = ... - """ - A structure that contains information about the newly created - service-specific credential. - - Warning: - This is the only time that the password for this credential set is - available. It cannot be recovered later. Instead, you must reset the - password with - [ResetServiceSpecificCredential](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ResetServiceSpecificCredential.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateUserInput(_SerdeShape): - """Dataclass for CreateUserInput structure.""" - - path: str | None = ... - """ - The path for the user name. For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - - This parameter is optional. If it is not included, it defaults to a - slash (/). - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - user_name: str | None = ... - """ - The name of the user to create. - - IAM user, group, role, and policy names must be unique within the - account. Names are not distinguished by case. For example, you cannot - create resources named both \"MyResource\" and \"myresource\". - """ - permissions_boundary: str | None = ... - """ - The ARN of the managed policy that is used to set the permissions - boundary for the user. - - A permissions boundary policy defines the maximum permissions that - identity-based policies can grant to an entity, but does not grant - permissions. Permissions boundaries do not define the maximum - permissions that a resource-based policy can grant to an entity. To - learn more, see [Permissions boundaries for IAM - entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - - For more information about policy types, see [Policy - types](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types) - in the *IAM User Guide*. - """ - tags: list[Tag] | None = ... - """ - A list of tags that you want to attach to the new user. Each tag - consists of a key name and an associated value. For more information - about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - - Note: - If any one of the tags is invalid or if you exceed the allowed maximum - number of tags, then the entire request fails and the resource is not - created. - """ - -@dataclass(kw_only=True) -class CreateUserOutput(_SerdeShape): - """ - Contains the response to a successful - [CreateUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateUser.html) - request. - """ - - user: User | None = ... - """A structure with details about the new IAM user.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateVirtualMFADeviceInput(_SerdeShape): - """Dataclass for CreateVirtualMFADeviceInput structure.""" - - path: str | None = ... - """ - The path for the virtual MFA device. For more information about paths, - see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - - This parameter is optional. If it is not included, it defaults to a - slash (/). - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - virtual_mfa_device_name: str | None = ... - """ - The name of the virtual MFA device, which must be unique. Use with path - to uniquely identify a virtual MFA device. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - A list of tags that you want to attach to the new IAM virtual MFA - device. Each tag consists of a key name and an associated value. For - more information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - - Note: - If any one of the tags is invalid or if you exceed the allowed maximum - number of tags, then the entire request fails and the resource is not - created. - """ - -@dataclass(kw_only=True) -class CreateVirtualMFADeviceOutput(_SerdeShape): - """ - Contains the response to a successful - [CreateVirtualMFADevice](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateVirtualMFADevice.html) - request. - """ - - virtual_mfa_device: VirtualMFADevice - """A structure containing details about the new virtual MFA device.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CredentialReportExpiredException(ServiceError, _SerdeShape): - """ - The request was rejected because the most recent credential report has - expired. To generate a new credential report, use - [GenerateCredentialReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateCredentialReport.html). - For more information about credential report expiration, see [Getting - credential - reports](https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html) - in the *IAM User Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CredentialReportNotPresentException(ServiceError, _SerdeShape): - """ - The request was rejected because the credential report does not exist. - To generate a credential report, use - [GenerateCredentialReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateCredentialReport.html). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CredentialReportNotReadyException(ServiceError, _SerdeShape): - """ - The request was rejected because the credential report is still being - generated. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeactivateMFADeviceInput(_SerdeShape): - """Dataclass for DeactivateMFADeviceInput structure.""" - - user_name: str | None = ... - """ - The name of the user whose MFA device you want to deactivate. - - This parameter is optional. If no user name is included, it defaults to - the principal making the request. When you make this request with root - user credentials, you must use an - [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) - session to omit the user name. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - serial_number: str | None = ... - """ - The serial number that uniquely identifies the MFA device. For virtual - MFA devices, the serial number is the device ARN. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: =,.@:/- - """ - -@dataclass(kw_only=True) -class DeactivateMFADeviceOutput(_SerdeShape): - """Dataclass for DeactivateMFADeviceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DelegationPermission(_SerdeShape): - """ - Contains information about the permissions being delegated in a - delegation request. - """ - - policy_template_arn: str | None = ... - """ - This ARN maps to a pre-registered policy content for this partner. See - the [partner onboarding documentation]() to understand how to create a - delegation template. - """ - parameters: list[PolicyParameter] | None = ... - """ - A list of policy parameters that define the scope and constraints of the - delegated permissions. - """ - -@dataclass(kw_only=True) -class DelegationRequest(_SerdeShape): - """ - Contains information about a delegation request, including its status, - permissions, and associated metadata. - """ - - delegation_request_id: str | None = ... - """The unique identifier for the delegation request.""" - owner_account_id: str | None = ... - """Amazon Web Services account ID of the owner of the delegation request.""" - description: str | None = ... - """ - Description of the delegation request. This is a message that is - provided by the Amazon Web Services partner that filed the delegation - request. - """ - request_message: str | None = ... - """ - A custom message that is added to the delegation request by the partner. - - This element is different from the `Description` element such that this - is a request specific message injected by the partner. The `Description` - is typically a generic explanation of what the delegation request is - targeted to do. - """ - permissions: DelegationPermission | None = ... - """ - Contains information about the permissions being delegated in a - delegation request. - """ - permission_policy: str | None = ... - """ - JSON content of the associated permission policy of this delegation - request. - """ - role_permission_restriction_arns: list[str] | None = ... - """ - If the `PermissionPolicy` includes role creation permissions, this - element will include the list of permissions boundary policies - associated with the role creation. See [Permissions boundaries for IAM - entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - for more details about IAM permission boundaries. - """ - owner_id: str | None = ... - """ARN of the owner of this delegation request.""" - approver_id: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - state: str | None = ... - """ - The state of this delegation request. - - See the [Understanding the Request - Lifecycle](https://docs.aws.amazon.com/IAM/latest/UserGuide/temporary-delegation-building-integration.html#temporary-delegation-request-lifecycle) - for an explanation of how these states are transitioned. - """ - expiration_time: datetime | None = ... - """ - The expiry time of this delegation request - - See the [Understanding the Request - Lifecycle](https://docs.aws.amazon.com/IAM/latest/UserGuide/temporary-delegation-building-integration.html#temporary-delegation-request-lifecycle) - for details on the life time of a delegation request at each state. - """ - requestor_id: str | None = ... - """ - Identity of the requestor of this delegation request. This will be an - Amazon Web Services account ID. - """ - requestor_name: str | None = ... - """A friendly name of the requestor.""" - create_date: datetime | None = ... - """Creation date (timestamp) of this delegation request.""" - session_duration: int | None = ... - """The life-time of the requested session credential.""" - redirect_url: str | None = ... - """ - A URL to be redirected to once the delegation request is approved. - Partners provide this URL when creating the delegation request. - """ - notes: str | None = ... - """ - Notes added to this delegation request, if this request was updated via - the - [UpdateDelegationRequest](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateDelegationRequest.html) - API. - """ - rejection_reason: str | None = ... - """ - Reasons for rejecting this delegation request, if this request was - rejected. See also - [RejectDelegationRequest](https://docs.aws.amazon.com/IAM/latest/APIReference/API_RejectDelegationRequest.html) - API documentation. - """ - only_send_by_owner: bool = ... - """ - A flag indicating whether the - [SendDelegationToken](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SendDelegationToken.html) - must be called by the owner of this delegation request. This is set by - the requesting partner. - """ - updated_time: datetime | None = ... - """Last updated timestamp of the request.""" - -@dataclass(kw_only=True) -class DeleteAccessKeyInput(_SerdeShape): - """Dataclass for DeleteAccessKeyInput structure.""" - - user_name: str | None = ... - """ - The name of the user whose access key pair you want to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - access_key_id: str | None = ... - """ - The access key ID for the access key ID and secret access key you want - to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - -@dataclass(kw_only=True) -class DeleteAccessKeyOutput(_SerdeShape): - """Dataclass for DeleteAccessKeyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAccountAliasInput(_SerdeShape): - """Dataclass for DeleteAccountAliasInput structure.""" - - account_alias: str | None = ... - """ - The name of the account alias to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of lowercase letters, digits, and dashes. You cannot start or - finish with a dash, nor can you have two dashes in a row. - """ - -@dataclass(kw_only=True) -class DeleteAccountAliasOutput(_SerdeShape): - """Dataclass for DeleteAccountAliasOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAccountPasswordPolicyInput(_SerdeShape): - """Dataclass for DeleteAccountPasswordPolicyInput structure.""" - -@dataclass(kw_only=True) -class DeleteAccountPasswordPolicyOutput(_SerdeShape): - """Dataclass for DeleteAccountPasswordPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteConflictException(ServiceError, _SerdeShape): - """ - The request was rejected because it attempted to delete a resource that - has attached subordinate entities. The error message describes these - entities. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGroupInput(_SerdeShape): - """Dataclass for DeleteGroupInput structure.""" - - group_name: str | None = ... - """ - The name of the IAM group to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class DeleteGroupOutput(_SerdeShape): - """Dataclass for DeleteGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGroupPolicyInput(_SerdeShape): - """Dataclass for DeleteGroupPolicyInput structure.""" - - group_name: str | None = ... - """ - The name (friendly name, not ARN) identifying the group that the policy - is embedded in. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_name: str | None = ... - """ - The name identifying the policy document to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class DeleteGroupPolicyOutput(_SerdeShape): - """Dataclass for DeleteGroupPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteInstanceProfileInput(_SerdeShape): - """Dataclass for DeleteInstanceProfileInput structure.""" - - instance_profile_name: str | None = ... - """ - The name of the instance profile to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class DeleteInstanceProfileOutput(_SerdeShape): - """Dataclass for DeleteInstanceProfileOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLoginProfileInput(_SerdeShape): - """Dataclass for DeleteLoginProfileInput structure.""" - - user_name: str | None = ... - """ - The name of the user whose password you want to delete. - - This parameter is optional. If no user name is included, it defaults to - the principal making the request. When you make this request with root - user credentials, you must use an - [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) - session to omit the user name. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class DeleteLoginProfileOutput(_SerdeShape): - """Dataclass for DeleteLoginProfileOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteOpenIDConnectProviderInput(_SerdeShape): - """Dataclass for DeleteOpenIDConnectProviderInput structure.""" - - open_id_connect_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM OpenID Connect provider - resource object to delete. You can get a list of OpenID Connect provider - resource ARNs by using the - [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) - operation. - """ - -@dataclass(kw_only=True) -class DeleteOpenIDConnectProviderOutput(_SerdeShape): - """Dataclass for DeleteOpenIDConnectProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePolicyInput(_SerdeShape): - """Dataclass for DeletePolicyInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy you want to delete. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class DeletePolicyOutput(_SerdeShape): - """Dataclass for DeletePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePolicyVersionInput(_SerdeShape): - """Dataclass for DeletePolicyVersionInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy from which you want to - delete a version. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - version_id: str | None = ... - """ - The policy version to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - consists of the lowercase letter 'v' followed by one or two digits, - and optionally followed by a period '.' and a string of letters and - digits. - - For more information about managed policy versions, see [Versioning for - managed - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class DeletePolicyVersionOutput(_SerdeShape): - """Dataclass for DeletePolicyVersionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRoleInput(_SerdeShape): - """Dataclass for DeleteRoleInput structure.""" - - role_name: str | None = ... - """ - The name of the role to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class DeleteRoleOutput(_SerdeShape): - """Dataclass for DeleteRoleOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRolePermissionsBoundaryInput(_SerdeShape): - """Dataclass for DeleteRolePermissionsBoundaryInput structure.""" - - role_name: str | None = ... - """ - The name (friendly name, not ARN) of the IAM role from which you want to - remove the permissions boundary. - """ - -@dataclass(kw_only=True) -class DeleteRolePermissionsBoundaryOutput(_SerdeShape): - """Dataclass for DeleteRolePermissionsBoundaryOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRolePolicyInput(_SerdeShape): - """Dataclass for DeleteRolePolicyInput structure.""" - - role_name: str | None = ... - """ - The name (friendly name, not ARN) identifying the role that the policy - is embedded in. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_name: str | None = ... - """ - The name of the inline policy to delete from the specified IAM role. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class DeleteRolePolicyOutput(_SerdeShape): - """Dataclass for DeleteRolePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSAMLProviderInput(_SerdeShape): - """Dataclass for DeleteSAMLProviderInput structure.""" - - saml_provider_arn: str | None = ... - """The Amazon Resource Name (ARN) of the SAML provider to delete.""" - -@dataclass(kw_only=True) -class DeleteSAMLProviderOutput(_SerdeShape): - """Dataclass for DeleteSAMLProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteServerCertificateInput(_SerdeShape): - """Dataclass for DeleteServerCertificateInput structure.""" - - server_certificate_name: str | None = ... - """ - The name of the server certificate you want to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class DeleteServerCertificateOutput(_SerdeShape): - """Dataclass for DeleteServerCertificateOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteServiceLinkedRoleInput(_SerdeShape): - """Dataclass for DeleteServiceLinkedRoleInput structure.""" - - role_name: str | None = ... - """The name of the service-linked role to be deleted.""" - -@dataclass(kw_only=True) -class DeleteServiceLinkedRoleOutput(_SerdeShape): - """Dataclass for DeleteServiceLinkedRoleOutput structure.""" - - deletion_task_id: str - """ - The deletion task identifier that you can use to check the status of the - deletion. This identifier is returned in the format - `task/aws-service-role/```{=html}`/```{=html}`/```{=html}. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteServiceSpecificCredentialInput(_SerdeShape): - """Dataclass for DeleteServiceSpecificCredentialInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user associated with the service-specific - credential. If this value is not specified, then the operation assumes - the user whose credentials are used to call the operation. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - service_specific_credential_id: str | None = ... - """ - The unique identifier of the service-specific credential. You can get - this value by calling - [ListServiceSpecificCredentials](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServiceSpecificCredentials.html). - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - -@dataclass(kw_only=True) -class DeleteServiceSpecificCredentialOutput(_SerdeShape): - """Dataclass for DeleteServiceSpecificCredentialOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSigningCertificateInput(_SerdeShape): - """Dataclass for DeleteSigningCertificateInput structure.""" - - user_name: str | None = ... - """ - The name of the user the signing certificate belongs to. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - certificate_id: str | None = ... - """ - The ID of the signing certificate to delete. - - The format of this parameter, as described by its - [regex](http://wikipedia.org/wiki/regex) pattern, is a string of - characters that can be upper- or lower-cased letters or digits. - """ - -@dataclass(kw_only=True) -class DeleteSigningCertificateOutput(_SerdeShape): - """Dataclass for DeleteSigningCertificateOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteSSHPublicKeyInput(_SerdeShape): - """Dataclass for DeleteSSHPublicKeyInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user associated with the SSH public key. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - ssh_public_key_id: str | None = ... - """ - The unique identifier for the SSH public key. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - -@dataclass(kw_only=True) -class DeleteSSHPublicKeyOutput(_SerdeShape): - """Dataclass for DeleteSSHPublicKeyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteUserInput(_SerdeShape): - """Dataclass for DeleteUserInput structure.""" - - user_name: str | None = ... - """ - The name of the user to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class DeleteUserOutput(_SerdeShape): - """Dataclass for DeleteUserOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteUserPermissionsBoundaryInput(_SerdeShape): - """Dataclass for DeleteUserPermissionsBoundaryInput structure.""" - - user_name: str | None = ... - """ - The name (friendly name, not ARN) of the IAM user from which you want to - remove the permissions boundary. - """ - -@dataclass(kw_only=True) -class DeleteUserPermissionsBoundaryOutput(_SerdeShape): - """Dataclass for DeleteUserPermissionsBoundaryOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteUserPolicyInput(_SerdeShape): - """Dataclass for DeleteUserPolicyInput structure.""" - - user_name: str | None = ... - """ - The name (friendly name, not ARN) identifying the user that the policy - is embedded in. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_name: str | None = ... - """ - The name identifying the policy document to delete. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class DeleteUserPolicyOutput(_SerdeShape): - """Dataclass for DeleteUserPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteVirtualMFADeviceInput(_SerdeShape): - """Dataclass for DeleteVirtualMFADeviceInput structure.""" - - serial_number: str | None = ... - """ - The serial number that uniquely identifies the MFA device. For virtual - MFA devices, the serial number is the same as the ARN. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: =,.@:/- - """ - -@dataclass(kw_only=True) -class DeleteVirtualMFADeviceOutput(_SerdeShape): - """Dataclass for DeleteVirtualMFADeviceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletionTaskFailureReasonType(_SerdeShape): - """ - The reason that the service-linked role deletion failed. - - This data type is used as a response element in the - [GetServiceLinkedRoleDeletionStatus](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLinkedRoleDeletionStatus.html) - operation. - """ - - reason: str | None = ... - """ - A short description of the reason that the service-linked role deletion - failed. - """ - role_usage_list: list[RoleUsageType] | None = ... - """ - A list of objects that contains details about the service-linked role - deletion failure, if that information is returned by the service. If the - service-linked role has active sessions or if any resources that were - used by the role have not been deleted from the linked service, the role - can't be deleted. This parameter includes a list of the resources that - are associated with the role and the Region in which the resources are - being used. - """ - -class DeletionTaskStatusType(UnknownEnumMixin, StrEnum): - SUCCEEDED = "SUCCEEDED" - IN_PROGRESS = "IN_PROGRESS" - FAILED = "FAILED" - NOT_STARTED = "NOT_STARTED" - -@dataclass(kw_only=True) -class DetachGroupPolicyInput(_SerdeShape): - """Dataclass for DetachGroupPolicyInput structure.""" - - group_name: str | None = ... - """ - The name (friendly name, not ARN) of the IAM group to detach the policy - from. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy you want to detach. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class DetachGroupPolicyOutput(_SerdeShape): - """Dataclass for DetachGroupPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetachRolePolicyInput(_SerdeShape): - """Dataclass for DetachRolePolicyInput structure.""" - - role_name: str | None = ... - """ - The name (friendly name, not ARN) of the IAM role to detach the policy - from. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy you want to detach. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class DetachRolePolicyOutput(_SerdeShape): - """Dataclass for DetachRolePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DetachUserPolicyInput(_SerdeShape): - """Dataclass for DetachUserPolicyInput structure.""" - - user_name: str | None = ... - """ - The name (friendly name, not ARN) of the IAM user to detach the policy - from. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy you want to detach. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class DetachUserPolicyOutput(_SerdeShape): - """Dataclass for DetachUserPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableOrganizationsRootCredentialsManagementInput(_SerdeShape): - """ - Dataclass for DisableOrganizationsRootCredentialsManagementInput - structure. - """ - -@dataclass(kw_only=True) -class DisableOrganizationsRootCredentialsManagementOutput(_SerdeShape): - """ - Dataclass for DisableOrganizationsRootCredentialsManagementOutput - structure. - """ - - organization_id: str | None = ... - """The unique identifier (ID) of an organization.""" - enabled_features: list[str] | None = ... - """ - The features enabled for centralized root access for member accounts in - your organization. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableOrganizationsRootSessionsInput(_SerdeShape): - """Dataclass for DisableOrganizationsRootSessionsInput structure.""" - -@dataclass(kw_only=True) -class DisableOrganizationsRootSessionsOutput(_SerdeShape): - """Dataclass for DisableOrganizationsRootSessionsOutput structure.""" - - organization_id: str | None = ... - """The unique identifier (ID) of an organization.""" - enabled_features: list[str] | None = ... - """ - The features you have enabled for centralized root access of member - accounts in your organization. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableOutboundWebIdentityFederationInput(_SerdeShape): - """Dataclass for DisableOutboundWebIdentityFederationInput structure.""" - -@dataclass(kw_only=True) -class DisableOutboundWebIdentityFederationOutput(_SerdeShape): - """Dataclass for DisableOutboundWebIdentityFederationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DuplicateCertificateException(ServiceError, _SerdeShape): - """ - The request was rejected because the same certificate is associated with - an IAM user in the account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DuplicateSSHPublicKeyException(ServiceError, _SerdeShape): - """ - The request was rejected because the SSH public key is already - associated with the specified IAM user. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableMFADeviceInput(_SerdeShape): - """Dataclass for EnableMFADeviceInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user for whom you want to enable the MFA device. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - serial_number: str | None = ... - """ - The serial number that uniquely identifies the MFA device. For virtual - MFA devices, the serial number is the device ARN. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: =,.@:/- - """ - authentication_code1: str | None = ... - """ - An authentication code emitted by the device. - - The format for this parameter is a string of six digits. - - Warning: - Submit your request immediately after generating the authentication - codes. If you generate the codes and then wait too long to submit the - request, the MFA device successfully associates with the user but the - MFA device becomes out of sync. This happens because time-based one-time - passwords (TOTP) expire after a short period of time. If this happens, - you can [resync the - device](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_sync.html). - """ - authentication_code2: str | None = ... - """ - A subsequent authentication code emitted by the device. - - The format for this parameter is a string of six digits. - - Warning: - Submit your request immediately after generating the authentication - codes. If you generate the codes and then wait too long to submit the - request, the MFA device successfully associates with the user but the - MFA device becomes out of sync. This happens because time-based one-time - passwords (TOTP) expire after a short period of time. If this happens, - you can [resync the - device](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_sync.html). - """ - -@dataclass(kw_only=True) -class EnableMFADeviceOutput(_SerdeShape): - """Dataclass for EnableMFADeviceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableOrganizationsRootCredentialsManagementInput(_SerdeShape): - """ - Dataclass for EnableOrganizationsRootCredentialsManagementInput - structure. - """ - -@dataclass(kw_only=True) -class EnableOrganizationsRootCredentialsManagementOutput(_SerdeShape): - """ - Dataclass for EnableOrganizationsRootCredentialsManagementOutput - structure. - """ - - organization_id: str | None = ... - """The unique identifier (ID) of an organization.""" - enabled_features: list[str] | None = ... - """The features you have enabled for centralized root access.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableOrganizationsRootSessionsInput(_SerdeShape): - """Dataclass for EnableOrganizationsRootSessionsInput structure.""" - -@dataclass(kw_only=True) -class EnableOrganizationsRootSessionsOutput(_SerdeShape): - """Dataclass for EnableOrganizationsRootSessionsOutput structure.""" - - organization_id: str | None = ... - """The unique identifier (ID) of an organization.""" - enabled_features: list[str] | None = ... - """The features you have enabled for centralized root access.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EnableOutboundWebIdentityFederationInput(_SerdeShape): - """Dataclass for EnableOutboundWebIdentityFederationInput structure.""" - -@dataclass(kw_only=True) -class EnableOutboundWebIdentityFederationOutput(_SerdeShape): - """Dataclass for EnableOutboundWebIdentityFederationOutput structure.""" - - issuer_identifier: str | None = ... - """ - A unique issuer URL for your Amazon Web Services account that hosts the - OpenID Connect (OIDC) discovery endpoints at - `/.well-known/openid-configuration and /.well-known/jwks.json`. The - OpenID Connect (OIDC) discovery endpoints contain verification keys and - metadata necessary for token verification. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class EncodingType(UnknownEnumMixin, StrEnum): - SSH = "SSH" - PEM = "PEM" - -@dataclass(kw_only=True) -class EntityAlreadyExistsException(ServiceError, _SerdeShape): - """ - The request was rejected because it attempted to create a resource that - already exists. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EntityDetails(_SerdeShape): - """ - An object that contains details about when the IAM entities (users or - roles) were last used in an attempt to access the specified Amazon Web - Services service. - - This data type is a response element in the - [GetServiceLastAccessedDetailsWithEntities](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html) - operation. - """ - - entity_info: EntityInfo - """ - The `EntityInfo` object that contains details about the entity (user or - role). - """ - last_authenticated: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the authenticated entity - last attempted to access Amazon Web Services. Amazon Web Services does - not report unauthenticated requests. - - This field is null if no IAM entities attempted to access the service - within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - -@dataclass(kw_only=True) -class EntityInfo(_SerdeShape): - """ - Contains details about the specified entity (user or role). - - This data type is an element of the - [EntityDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_EntityDetails.html) - object. - """ - - arn: str - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - name: str - """The name of the entity (user or role).""" - type: str - """The type of entity (user or role).""" - id: str - """The identifier of the entity (user or role).""" - path: str | None = ... - """ - The path to the entity (user or role). For more information about paths, - see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class EntityTemporarilyUnmodifiableException(ServiceError, _SerdeShape): - """ - The request was rejected because it referenced an entity that is - temporarily unmodifiable, such as a user name that was deleted and then - recreated. The error indicates that the request is likely to succeed if - you try again after waiting several minutes. The error message describes - the entity. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class EntityType(UnknownEnumMixin, StrEnum): - USER = "User" - ROLE = "Role" - GROUP = "Group" - LOCAL_MANAGED_POLICY = "LocalManagedPolicy" - AWS_MANAGED_POLICY = "AWSManagedPolicy" - -@dataclass(kw_only=True) -class ErrorDetails(_SerdeShape): - """ - Contains information about the reason that the operation failed. - - This data type is used as a response element in the - [GetOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html), - [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html), - and - [GetServiceLastAccessedDetailsWithEntities](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html) - operations. - """ - - message: str - """Detailed information about the reason that the operation failed.""" - code: str - """The error code associated with the operation failure.""" - -@dataclass(kw_only=True) -class EvaluationResult(_SerdeShape): - """ - Contains the results of a simulation. - - This data type is used by the return parameter of - ` `[`SimulateCustomPolicy`](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html)` ` - and - ` `[`SimulatePrincipalPolicy`](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html)` `. - - Warning: - The simulator now returns a single `EvaluationResult` per action, - regardless of how many resource ARNs are provided. Previously, - simulating one action against N resources returned N evaluation results, - each containing the same aggregate decision. The top-level fields - (`EvalDecision`, `MatchedStatements`, `MissingContextValues`, - `EvalDecisionDetails`) now represent the *aggregate* decision across all - requested resources. The top-level `EvalDecision` reflects the most - restrictive decision across all resources (for example, if any resource - produces `explicitDeny`, the top-level decision is `explicitDeny`). - - To see the decision for each individual resource, use - `ResourceSpecificResults`. If your application parses evaluation results - per resource ARN, update your code to read per-resource decisions from - `ResourceSpecificResults` rather than from the top-level result. - """ - - eval_action_name: str - """The name of the API operation tested on the indicated resource.""" - eval_resource_name: str | None = ... - """ - The ARN template for the simulated resource type (for example, - `arn:${Partition}:s3:::${BucketName}/${KeyName}`), or `*` if no ARN - format is defined for the action. This is not a specific - customer-provided resource ARN. To find the decision for a specific - resource, use `ResourceSpecificResults`. - - Note: - If you previously relied on `EvalResourceName` to identify which - specific resource a result applies to, you must now use the - `EvalResourceName` field within individual entries in - `ResourceSpecificResults` instead. - """ - eval_decision: str - """The result of the simulation.""" - matched_statements: list[Statement] | None = ... - """ - A list of the statements in the input policies that determine the result - for this scenario. Remember that even if multiple statements allow the - operation on the resource, if only one statement denies that operation, - then the explicit deny overrides any allow. In addition, the deny - statement is the only entry included in the result. - - In the top-level result, this field contains the union of matched - statements across all requested resources. Only statements that - contributed to the reported decision are included. For per-resource - matched statements, see `ResourceSpecificResults`. This field doesn't - include statements from service control policies (SCPs). Only statements - from identity-based and resource-based policies appear here. - """ - missing_context_values: list[str] | None = ... - """ - A list of context keys that are required by the included input policies - but that were not provided by one of the input parameters. This list is - used when the resource in a simulation is \"*\", either explicitly, or - when the `ResourceArns` parameter blank. If you include a list of - resources, then any missing context values are instead included under - the `ResourceSpecificResults` section. To discover the context keys used - by a set of policies, you can call - [GetContextKeysForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html) - or - [GetContextKeysForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html). - - In the top-level result, this field contains the deduplicated set of - missing context values across all requested resources. This field - doesn't include context keys referenced by service control policies - (SCPs). Only context keys referenced by identity-based and - resource-based policies appear here. - """ - organizations_decision_detail: OrganizationsDecisionDetail | None = ... - """ - A structure that details how Organizations and its service control - policies affect the results of the simulation. Only applies if the - simulated user's account is part of an organization. - - For resources that don't support organization-level evaluation, this - field is omitted from the top-level result. For per-resource details, - see `ResourceSpecificResults`. - """ - permissions_boundary_decision_detail: PermissionsBoundaryDecisionDetail | None = ... - """ - Contains information about the effect that a permissions boundary has on - a policy simulation when the boundary is applied to an IAM entity. - """ - eval_decision_details: dict[str, str] | None = ... - """ - Additional details about the results of the cross-account evaluation - decision. This parameter is populated for only cross-account - simulations. It contains a brief summary of how each policy type - contributes to the final evaluation decision. - - In the top-level result, this map reports the most restrictive decision - per policy type across all requested resources. - - If the simulation evaluates policies within the same account and - includes a resource ARN, then the parameter is present but the response - is empty. If the simulation evaluates policies within the same account - and specifies all resources (`*`), then the parameter is not returned. - - When you make a cross-account request, Amazon Web Services evaluates the - request in the trusting account and the trusted account. The request is - allowed only if both evaluations return `true`. For more information - about how policies are evaluated, see [Evaluating policies within a - single - account](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics). - - If an Organizations SCP included in the evaluation denies access, the - simulation ends. In this case, policy evaluation does not proceed any - further and this parameter is not returned. - """ - resource_specific_results: list[ResourceSpecificResult] | None = ... - """ - The individual results of the simulation of the API operation specified - in EvalActionName on each resource. - """ - -@dataclass(kw_only=True) -class FeatureDisabledException(ServiceError, _SerdeShape): - """ - The request failed because outbound identity federation is already - disabled for your Amazon Web Services account. You cannot disable the - feature multiple times - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FeatureEnabledException(ServiceError, _SerdeShape): - """ - The request failed because outbound identity federation is already - enabled for your Amazon Web Services account. You cannot enable the - feature multiple times. To fetch the current configuration (including - the unique issuer URL), use the `GetOutboundWebIdentityFederationInfo` - operation. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class FeatureType(UnknownEnumMixin, StrEnum): - ROOT_CREDENTIALS_MANAGEMENT = "RootCredentialsManagement" - ROOT_SESSIONS = "RootSessions" - -@dataclass(kw_only=True) -class GenerateCredentialReportInput(_SerdeShape): - """Dataclass for GenerateCredentialReportInput structure.""" - -@dataclass(kw_only=True) -class GenerateCredentialReportOutput(_SerdeShape): - """ - Contains the response to a successful - [GenerateCredentialReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateCredentialReport.html) - request. - """ - - state: str | None = ... - """Information about the state of the credential report.""" - description: str | None = ... - """Information about the credential report.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GenerateOrganizationsAccessReportInput(_SerdeShape): - """Dataclass for GenerateOrganizationsAccessReportInput structure.""" - - entity_path: str | None = ... - """ - The path of the Organizations entity (root, OU, or account). You can - build an entity path using the known structure of your organization. For - example, assume that your account ID is `123456789012` and its parent OU - ID is `ou-rge0-awsabcde`. The organization root ID is - `r-f6g7h8i9j0example` and your organization ID is `o-a1b2c3d4e5`. Your - entity path is - `o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-rge0-awsabcde/123456789012`. - """ - organizations_policy_id: str | None = ... - """ - The identifier of the Organizations service control policy (SCP). This - parameter is optional. - - This ID is used to generate information about when an account principal - that is limited by the SCP attempted to access an Amazon Web Services - service. - """ - -@dataclass(kw_only=True) -class GenerateOrganizationsAccessReportOutput(_SerdeShape): - """Dataclass for GenerateOrganizationsAccessReportOutput structure.""" - - job_id: str | None = ... - """ - The job identifier that you can use in the - [GetOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html) - operation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GenerateServiceLastAccessedDetailsInput(_SerdeShape): - """Dataclass for GenerateServiceLastAccessedDetailsInput structure.""" - - arn: str | None = ... - """ - The ARN of the IAM resource (user, group, role, or managed policy) used - to generate information about when the resource was last used in an - attempt to access an Amazon Web Services service. - """ - granularity: str | None = ... - """ - The level of detail that you want to generate. You can specify whether - you want to generate information about the last attempt to access - services or actions. If you specify service-level granularity, this - operation generates only service data. If you specify action-level - granularity, it generates service and action data. If you don't include - this optional parameter, the operation generates service data. - """ - -@dataclass(kw_only=True) -class GenerateServiceLastAccessedDetailsOutput(_SerdeShape): - """Dataclass for GenerateServiceLastAccessedDetailsOutput structure.""" - - job_id: str | None = ... - """ - The `JobId` that you can use in the - [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html) - or - [GetServiceLastAccessedDetailsWithEntities](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html) - operations. The `JobId` returned by `GenerateServiceLastAccessedDetail` - must be used by the same role within a session, or by the same user when - used to call `GetServiceLastAccessedDetail`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAccessKeyLastUsedInput(_SerdeShape): - """Dataclass for GetAccessKeyLastUsedInput structure.""" - - access_key_id: str | None = ... - """ - The identifier of an access key. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - -@dataclass(kw_only=True) -class GetAccessKeyLastUsedOutput(_SerdeShape): - """ - Contains the response to a successful - [GetAccessKeyLastUsed](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccessKeyLastUsed.html) - request. It is also returned as a member of the - [AccessKeyMetaData](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AccessKeyMetaData.html) - structure returned by the - [ListAccessKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html) - action. - """ - - user_name: str | None = ... - """The name of the IAM user that owns this access key.""" - access_key_last_used: AccessKeyLastUsed | None = ... - """Contains information about the last time the access key was used.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAccountAuthorizationDetailsInput(_SerdeShape): - """Dataclass for GetAccountAuthorizationDetailsInput structure.""" - - filter: list[str] | None = ... - """ - A list of entity types used to filter the results. Only the entities - that match the types you specify are included in the output. Use the - value `LocalManagedPolicy` to include customer managed policies. - - The format for this parameter is a comma-separated (if more than one) - list of strings. Each string value in the list must be one of the valid - values listed below. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - -@dataclass(kw_only=True) -class GetAccountAuthorizationDetailsOutput(_SerdeShape): - """ - Contains the response to a successful - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - request. - """ - - user_detail_list: list[UserDetail] | None = ... - """A list containing information about IAM users.""" - group_detail_list: list[GroupDetail] | None = ... - """A list containing information about IAM groups.""" - role_detail_list: list[RoleDetail] | None = ... - """A list containing information about IAM roles.""" - policies: list[ManagedPolicyDetail] | None = ... - """A list containing information about managed policies.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAccountPasswordPolicyInput(_SerdeShape): - """Dataclass for GetAccountPasswordPolicyInput structure.""" - -@dataclass(kw_only=True) -class GetAccountPasswordPolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [GetAccountPasswordPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountPasswordPolicy.html) - request. - """ - - password_policy: PasswordPolicy - """A structure that contains details about the account's password policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAccountPropertiesInput(_SerdeShape): - """Dataclass for GetAccountPropertiesInput structure.""" - -@dataclass(kw_only=True) -class GetAccountPropertiesOutput(_SerdeShape): - """Dataclass for GetAccountPropertiesOutput structure.""" - - properties: dict[str, str] | None = ... - """ - A map of account property key-value pairs. Keys are in the format - `Namespace/PropertyName`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAccountSummaryInput(_SerdeShape): - """Dataclass for GetAccountSummaryInput structure.""" - -@dataclass(kw_only=True) -class GetAccountSummaryOutput(_SerdeShape): - """ - Contains the response to a successful - [GetAccountSummary](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountSummary.html) - request. - """ - - summary_map: dict[str, int] | None = ... - """ - A set of key--value pairs containing information about IAM entity usage - and IAM quotas. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetContextKeysForCustomPolicyInput(_SerdeShape): - """Dataclass for GetContextKeysForCustomPolicyInput structure.""" - - policy_input_list: list[str] | None = ... - """ - A list of policies for which you want the list of context keys - referenced in those policies. Each document is specified as a string - containing the complete, valid JSON text of an IAM policy. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - -@dataclass(kw_only=True) -class GetContextKeysForCustomPolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [GetContextKeysForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html) - or - [GetContextKeysForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html) - request. - """ - - context_key_names: list[str] | None = ... - """The list of context keys that are referenced in the input policies.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetContextKeysForPrincipalPolicyInput(_SerdeShape): - """Dataclass for GetContextKeysForPrincipalPolicyInput structure.""" - - policy_source_arn: str | None = ... - """ - The ARN of a user, group, or role whose policies contain the context - keys that you want listed. If you specify a user, the list includes - context keys that are found in all policies that are attached to the - user. The list also includes all groups that the user is a member of. If - you pick a group or a role, then it includes only those context keys - that are found in policies attached to that entity. Note that all - parameters are shown in unencoded form here for clarity, but must be URL - encoded to be included as a part of a real HTML request. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - policy_input_list: list[str] | None = ... - """ - An optional list of additional policies for which you want the list of - context keys that are referenced. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - -@dataclass(kw_only=True) -class GetContextKeysForPrincipalPolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [GetContextKeysForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html) - or - [GetContextKeysForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html) - request. - """ - - context_key_names: list[str] | None = ... - """The list of context keys that are referenced in the input policies.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCredentialReportInput(_SerdeShape): - """Dataclass for GetCredentialReportInput structure.""" - -@dataclass(kw_only=True) -class GetCredentialReportOutput(_SerdeShape): - """ - Contains the response to a successful - [GetCredentialReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetCredentialReport.html) - request. - """ - - content: bytes | None = ... - """Contains the credential report. The report is Base64-encoded.""" - report_format: str | None = ... - """The format (MIME type) of the credential report.""" - generated_time: datetime | None = ... - """ - The date and time when the credential report was created, in [ISO 8601 - date-time format](http://www.iso.org/iso/iso8601). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDelegationRequestInput(_SerdeShape): - """Dataclass for GetDelegationRequestInput structure.""" - - delegation_request_id: str | None = ... - """The unique identifier of the delegation request to retrieve.""" - delegation_permission_check: bool = ... - """ - Specifies whether to perform a permission check for the delegation - request. - - If set to true, the `GetDelegationRequest` API call will start a - permission check process. This process calculates whether the caller has - sufficient permissions to cover the asks from this delegation request. - - Setting this parameter to true does not guarantee an answer in the - response. See the `PermissionCheckStatus` and the - `PermissionCheckResult` response attributes for further details. - """ - -@dataclass(kw_only=True) -class GetDelegationRequestOutput(_SerdeShape): - """Dataclass for GetDelegationRequestOutput structure.""" - - delegation_request: DelegationRequest | None = ... - """The delegation request object containing all details about the request.""" - permission_check_status: str | None = ... - """ - The status of the permission check for the delegation request. - - This value indicates the status of the process to check whether the - caller has sufficient permissions to cover the requested actions in the - delegation request. Since this is an asynchronous process, there are - three potential values: - - - `IN_PROGRESS` : The permission check process has started. - - - `COMPLETED` : The permission check process has completed. The - `PermissionCheckResult` will include the result. - - - `FAILED` : The permission check process has failed. - """ - permission_check_result: str | None = ... - """ - The result of the permission check, indicating whether the caller has - sufficient permissions to cover the requested permissions. This is an - approximate result. - - - `ALLOWED` : The caller has sufficient permissions cover all the - requested permissions. - - - `DENIED` : The caller does not have sufficient permissions to cover - all the requested permissions. - - - `UNSURE` : It is not possible to determine whether the caller has all - the permissions needed. This output is most likely for cases when the - caller has permissions with conditions. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGroupInput(_SerdeShape): - """Dataclass for GetGroupInput structure.""" - - group_name: str | None = ... - """ - The name of the group. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class GetGroupOutput(_SerdeShape): - """ - Contains the response to a successful - [GetGroup](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroup.html) - request. - """ - - group: Group - """A structure that contains details about the group.""" - users: list[User] - """A list of users in the group.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGroupPolicyInput(_SerdeShape): - """Dataclass for GetGroupPolicyInput structure.""" - - group_name: str | None = ... - """ - The name of the group the policy is associated with. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_name: str | None = ... - """ - The name of the policy document to get. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class GetGroupPolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [GetGroupPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroupPolicy.html) - request. - """ - - group_name: str - """The group the policy is associated with.""" - policy_name: str - """The name of the policy.""" - policy_document: str - """ - The policy document. - - IAM stores policies in JSON format. However, resources that were created - using CloudFormation templates can be formatted in YAML. CloudFormation - always converts a YAML policy to JSON format before submitting it to - IAM. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetHumanReadableSummaryInput(_SerdeShape): - """Dataclass for GetHumanReadableSummaryInput structure.""" - - entity_arn: str | None = ... - """ - Arn of the entity to be summarized. At this time, the only supported - entity type is `delegation-request` - """ - locale: str | None = ... - """ - A string representing the locale to use for the summary generation. The - supported locale strings are based on the [Supported languages of the - Amazon Web Services Management - Console](/awsconsolehelpdocs/latest/gsg/change-language.html#supported-languages) - . - """ - -@dataclass(kw_only=True) -class GetHumanReadableSummaryOutput(_SerdeShape): - """Dataclass for GetHumanReadableSummaryOutput structure.""" - - summary_content: str | None = ... - """ - Summary content in the specified locale. Summary content is non-empty - only if the `SummaryState` is `AVAILABLE`. - """ - locale: str | None = ... - """ - The locale that this response was generated for. This maps to the input - locale. - """ - summary_state: str | None = ... - """ - State of summary generation. This generation process is asynchronous and - this attribute indicates the state of the generation process. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetInstanceProfileInput(_SerdeShape): - """Dataclass for GetInstanceProfileInput structure.""" - - instance_profile_name: str | None = ... - """ - The name of the instance profile to get information about. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class GetInstanceProfileOutput(_SerdeShape): - """ - Contains the response to a successful - [GetInstanceProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetInstanceProfile.html) - request. - """ - - instance_profile: InstanceProfile - """A structure containing details about the instance profile.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetLoginProfileInput(_SerdeShape): - """Dataclass for GetLoginProfileInput structure.""" - - user_name: str | None = ... - """ - The name of the user whose login profile you want to retrieve. - - This parameter is optional. If no user name is included, it defaults to - the principal making the request. When you make this request with root - user credentials, you must use an - [AssumeRoot](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html) - session to omit the user name. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class GetLoginProfileOutput(_SerdeShape): - """ - Contains the response to a successful - [GetLoginProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetLoginProfile.html) - request. - """ - - login_profile: LoginProfile - """ - A structure containing the user name and the profile creation date for - the user. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMFADeviceInput(_SerdeShape): - """Dataclass for GetMFADeviceInput structure.""" - - serial_number: str | None = ... - """ - Serial number that uniquely identifies the MFA device. For this API, we - only accept FIDO security key - [ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html). - """ - user_name: str | None = ... - """The friendly name identifying the user.""" - -@dataclass(kw_only=True) -class GetMFADeviceOutput(_SerdeShape): - """Dataclass for GetMFADeviceOutput structure.""" - - user_name: str | None = ... - """The friendly name identifying the user.""" - serial_number: str - """ - Serial number that uniquely identifies the MFA device. For this API, we - only accept FIDO security key - [ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html). - """ - enable_date: datetime | None = ... - """The date that a specified user's MFA device was first enabled.""" - certifications: dict[str, str] | None = ... - """ - The certifications of a specified user's MFA device. We currently - provide FIPS-140-2, FIPS-140-3, and FIDO certification levels obtained - from [FIDO Alliance Metadata Service - (MDS)](https://fidoalliance.org/metadata/). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOpenIDConnectProviderInput(_SerdeShape): - """Dataclass for GetOpenIDConnectProviderInput structure.""" - - open_id_connect_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the OIDC provider resource object in - IAM to get information for. You can get a list of OIDC provider resource - ARNs by using the - [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) - operation. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class GetOpenIDConnectProviderOutput(_SerdeShape): - """ - Contains the response to a successful - [GetOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOpenIDConnectProvider.html) - request. - """ - - url: str | None = ... - """ - The URL that the IAM OIDC provider resource object is associated with. - For more information, see - [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). - """ - client_id_list: list[str] | None = ... - """ - A list of client IDs (also known as audiences) that are associated with - the specified IAM OIDC provider resource object. For more information, - see - [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). - """ - thumbprint_list: list[str] | None = ... - """ - A list of certificate thumbprints that are associated with the specified - IAM OIDC provider resource object. For more information, see - [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). - """ - create_date: datetime | None = ... - """ - The date and time when the IAM OIDC provider resource object was created - in the Amazon Web Services account. - """ - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the specified IAM OIDC provider. The - returned list of tags is sorted by tag key. For more information about - tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOrganizationsAccessReportInput(_SerdeShape): - """Dataclass for GetOrganizationsAccessReportInput structure.""" - - job_id: str | None = ... - """ - The identifier of the request generated by the - [GenerateOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateOrganizationsAccessReport.html) - operation. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - sort_key: str | None = ... - """ - The key that is used to sort the results. If you choose the namespace - key, the results are returned in alphabetical order. If you choose the - time key, the results are sorted numerically by the date and time. - """ - -@dataclass(kw_only=True) -class GetOrganizationsAccessReportOutput(_SerdeShape): - """Dataclass for GetOrganizationsAccessReportOutput structure.""" - - job_status: str - """The status of the job.""" - job_creation_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the report job was - created. - """ - job_completion_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the generated report job - was completed or failed. - - This field is null if the job is still in progress, as indicated by a - job status value of `IN_PROGRESS`. - """ - number_of_services_accessible: int | None = ... - """ - The number of services that the applicable SCPs allow account principals - to access. - """ - number_of_services_not_accessed: int | None = ... - """ - The number of services that account principals are allowed but did not - attempt to access. - """ - access_details: list[AccessDetail] | None = ... - """ - An object that contains details about the most recent attempt to access - the service. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - error_details: ErrorDetails | None = ... - """ - Contains information about the reason that the operation failed. - - This data type is used as a response element in the - [GetOrganizationsAccessReport](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOrganizationsAccessReport.html), - [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html), - and - [GetServiceLastAccessedDetailsWithEntities](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetailsWithEntities.html) - operations. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetOutboundWebIdentityFederationInfoInput(_SerdeShape): - """Dataclass for GetOutboundWebIdentityFederationInfoInput structure.""" - -@dataclass(kw_only=True) -class GetOutboundWebIdentityFederationInfoOutput(_SerdeShape): - """Dataclass for GetOutboundWebIdentityFederationInfoOutput structure.""" - - issuer_identifier: str | None = ... - """ - A unique issuer URL for your Amazon Web Services account that hosts the - OpenID Connect (OIDC) discovery endpoints at - `/.well-known/openid-configuration and /.well-known/jwks.json`. The - OpenID Connect (OIDC) discovery endpoints contain verification keys and - metadata necessary for token verification. - """ - jwt_vending_enabled: bool = ... - """ - Indicates whether outbound identity federation is currently enabled for - your Amazon Web Services account. When true, IAM principals in the - account can call the `GetWebIdentityToken` API to obtain JSON Web Tokens - (JWTs) for authentication with external services. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicyInput(_SerdeShape): - """Dataclass for GetPolicyInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the managed policy that you want - information about. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class GetPolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [GetPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html) - request. - """ - - policy: Policy | None = ... - """A structure containing details about the policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicyVersionInput(_SerdeShape): - """Dataclass for GetPolicyVersionInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the managed policy that you want - information about. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - version_id: str | None = ... - """ - Identifies the policy version to retrieve. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - consists of the lowercase letter 'v' followed by one or two digits, - and optionally followed by a period '.' and a string of letters and - digits. - """ - -@dataclass(kw_only=True) -class GetPolicyVersionOutput(_SerdeShape): - """ - Contains the response to a successful - [GetPolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html) - request. - """ - - policy_version: PolicyVersion | None = ... - """A structure containing details about the policy version.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRoleInput(_SerdeShape): - """Dataclass for GetRoleInput structure.""" - - role_name: str | None = ... - """ - The name of the IAM role to get information about. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class GetRoleOutput(_SerdeShape): - """ - Contains the response to a successful - [GetRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html) - request. - """ - - role: Role - """A structure containing details about the IAM role.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRolePolicyInput(_SerdeShape): - """Dataclass for GetRolePolicyInput structure.""" - - role_name: str | None = ... - """ - The name of the role associated with the policy. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_name: str | None = ... - """ - The name of the policy document to get. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class GetRolePolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [GetRolePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRolePolicy.html) - request. - """ - - role_name: str - """The role the policy is associated with.""" - policy_name: str - """The name of the policy.""" - policy_document: str - """ - The policy document. - - IAM stores policies in JSON format. However, resources that were created - using CloudFormation templates can be formatted in YAML. CloudFormation - always converts a YAML policy to JSON format before submitting it to - IAM. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRoleTemplateVersionInput(_SerdeShape): - """Dataclass for GetRoleTemplateVersionInput structure.""" - - template_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the role template whose version you - want to retrieve. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - minor_version: int | None = ... - """ - The minor version of the role template to retrieve. If you do not - specify a minor version, the service returns the template's default - minor version. - """ - -@dataclass(kw_only=True) -class GetRoleTemplateVersionOutput(_SerdeShape): - """Dataclass for GetRoleTemplateVersionOutput structure.""" - - role_template_version: RoleTemplateVersion - """ - A structure that contains details about the requested role template - version. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSAMLProviderInput(_SerdeShape): - """Dataclass for GetSAMLProviderInput structure.""" - - saml_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the SAML provider resource object in - IAM to get information about. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class GetSAMLProviderOutput(_SerdeShape): - """ - Contains the response to a successful - [GetSAMLProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html) - request. - """ - - saml_provider_uuid: str | None = ... - """The unique identifier assigned to the SAML provider.""" - saml_metadata_document: str | None = ... - """ - The XML metadata document that includes information about an identity - provider. - """ - create_date: datetime | None = ... - """The date and time when the SAML provider was created.""" - valid_until: datetime | None = ... - """The expiration date and time for the SAML provider.""" - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the specified IAM SAML provider. The - returned list of tags is sorted by tag key. For more information about - tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - assertion_encryption_mode: str | None = ... - """Specifies the encryption setting for the SAML provider.""" - private_key_list: list[SAMLPrivateKey] | None = ... - """The private key metadata for the SAML provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetServerCertificateInput(_SerdeShape): - """Dataclass for GetServerCertificateInput structure.""" - - server_certificate_name: str | None = ... - """ - The name of the server certificate you want to retrieve information - about. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class GetServerCertificateOutput(_SerdeShape): - """ - Contains the response to a successful - [GetServerCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServerCertificate.html) - request. - """ - - server_certificate: ServerCertificate - """A structure containing details about the server certificate.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetServiceLastAccessedDetailsInput(_SerdeShape): - """Dataclass for GetServiceLastAccessedDetailsInput structure.""" - - job_id: str | None = ... - """ - The ID of the request generated by the - [GenerateServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateServiceLastAccessedDetails.html) - operation. The `JobId` returned by `GenerateServiceLastAccessedDetail` - must be used by the same role within a session, or by the same user when - used to call `GetServiceLastAccessedDetail`. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - -@dataclass(kw_only=True) -class GetServiceLastAccessedDetailsOutput(_SerdeShape): - """Dataclass for GetServiceLastAccessedDetailsOutput structure.""" - - job_status: str - """The status of the job.""" - job_type: str | None = ... - """ - The type of job. Service jobs return information about when each service - was last accessed. Action jobs also include information about when - tracked actions within the service were last accessed. - """ - job_creation_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the report job was - created. - """ - services_last_accessed: list[ServiceLastAccessed] - """ - A `ServiceLastAccessed` object that contains details about the most - recent attempt to access the service. - """ - job_completion_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the generated report job - was completed or failed. - - This field is null if the job is still in progress, as indicated by a - job status value of `IN_PROGRESS`. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - error: ErrorDetails | None = ... - """An object that contains details about the reason the operation failed.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetServiceLastAccessedDetailsWithEntitiesInput(_SerdeShape): - """Dataclass for GetServiceLastAccessedDetailsWithEntitiesInput structure.""" - - job_id: str | None = ... - """ - The ID of the request generated by the - `GenerateServiceLastAccessedDetails` operation. - """ - service_namespace: str | None = ... - """ - The service namespace for an Amazon Web Services service. Provide the - service namespace to learn when the IAM entity last attempted to access - the specified service. - - To learn the service namespace for a service, see [Actions, resources, - and condition keys for Amazon Web Services - services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) - in the *IAM User Guide*. Choose the name of the service to view details - for that service. In the first paragraph, find the service prefix. For - example, `(service prefix: a4b)`. For more information about service - namespaces, see [Amazon Web Services service - namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) - in the *Amazon Web Services General Reference*. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - -@dataclass(kw_only=True) -class GetServiceLastAccessedDetailsWithEntitiesOutput(_SerdeShape): - """Dataclass for GetServiceLastAccessedDetailsWithEntitiesOutput structure.""" - - job_status: str - """The status of the job.""" - job_creation_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the report job was - created. - """ - job_completion_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the generated report job - was completed or failed. - - This field is null if the job is still in progress, as indicated by a - job status value of `IN_PROGRESS`. - """ - entity_details_list: list[EntityDetails] - """ - An `EntityDetailsList` object that contains details about when an IAM - entity (user or role) used group or policy permissions in an attempt to - access the specified Amazon Web Services service. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - error: ErrorDetails | None = ... - """An object that contains details about the reason the operation failed.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetServiceLinkedRoleDeletionStatusInput(_SerdeShape): - """Dataclass for GetServiceLinkedRoleDeletionStatusInput structure.""" - - deletion_task_id: str | None = ... - """ - The deletion task identifier. This identifier is returned by the - [DeleteServiceLinkedRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteServiceLinkedRole.html) - operation in the format - `task/aws-service-role/```{=html}`/```{=html}`/```{=html}. - """ - -@dataclass(kw_only=True) -class GetServiceLinkedRoleDeletionStatusOutput(_SerdeShape): - """Dataclass for GetServiceLinkedRoleDeletionStatusOutput structure.""" - - status: str - """The status of the deletion.""" - reason: DeletionTaskFailureReasonType | None = ... - """An object that contains details about the reason the deletion failed.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetSSHPublicKeyInput(_SerdeShape): - """Dataclass for GetSSHPublicKeyInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user associated with the SSH public key. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - ssh_public_key_id: str | None = ... - """ - The unique identifier for the SSH public key. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - encoding: str | None = ... - """ - Specifies the public key encoding format to use in the response. To - retrieve the public key in ssh-rsa format, use `SSH`. To retrieve the - public key in PEM format, use `PEM`. - """ - -@dataclass(kw_only=True) -class GetSSHPublicKeyOutput(_SerdeShape): - """ - Contains the response to a successful - [GetSSHPublicKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSSHPublicKey.html) - request. - """ - - ssh_public_key: SSHPublicKey | None = ... - """A structure containing details about the SSH public key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUserInput(_SerdeShape): - """Dataclass for GetUserInput structure.""" - - user_name: str | None = ... - """ - The name of the user to get information about. - - This parameter is optional. If it is not included, it defaults to the - user making the request. This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class GetUserOutput(_SerdeShape): - """ - Contains the response to a successful - [GetUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html) - request. - """ - - user: User - """ - A structure containing details about the IAM user. - - Warning: - Due to a service issue, password last used data does not include - password use from May 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This - affects [last - sign-in](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_finding-unused.html) - dates shown in the IAM console and password last used dates in the [IAM - credential - report](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_getting-report.html), - and returned by this operation. If users signed in during the affected - time, the password last used date that is returned is the date the user - last signed in before May 3, 2018. For users that signed in after May - 23, 2018 14:08 PDT, the returned password last used date is accurate. - - You can use password last used information to identify unused - credentials for deletion. For example, you might delete users who did - not sign in to Amazon Web Services in the last 90 days. In cases like - this, we recommend that you adjust your evaluation window to include - dates after May 23, 2018. Alternatively, if your users use access keys - to access Amazon Web Services programmatically you can refer to access - key last used information because it is accurate for all dates. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUserPolicyInput(_SerdeShape): - """Dataclass for GetUserPolicyInput structure.""" - - user_name: str | None = ... - """ - The name of the user who the policy is associated with. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_name: str | None = ... - """ - The name of the policy document to get. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class GetUserPolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [GetUserPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUserPolicy.html) - request. - """ - - user_name: str - """The user the policy is associated with.""" - policy_name: str - """The name of the policy.""" - policy_document: str - """ - The policy document. - - IAM stores policies in JSON format. However, resources that were created - using CloudFormation templates can be formatted in YAML. CloudFormation - always converts a YAML policy to JSON format before submitting it to - IAM. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class GlobalEndpointTokenVersion(UnknownEnumMixin, StrEnum): - V1_TOKEN = "v1Token" - V2_TOKEN = "v2Token" - -@dataclass(kw_only=True) -class Group(_SerdeShape): - """ - Contains information about an IAM group entity. - - This data type is used as a response element in the following - operations: - - - [CreateGroup](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateGroup.html) - - - [GetGroup](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroup.html) - - - [ListGroups](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroups.html) - """ - - path: str - """ - The path to the group. For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - group_name: str - """The friendly name that identifies the group.""" - group_id: str - """ - The stable and unique string identifying the group. For more information - about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str - """ - The Amazon Resource Name (ARN) specifying the group. For more - information about ARNs and how to use them in policies, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - create_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the group was created. - """ - -@dataclass(kw_only=True) -class GroupDetail(_SerdeShape): - """ - Contains information about an IAM group, including all of the group's - policies. - - This data type is used as a response element in the - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - operation. - """ - - path: str | None = ... - """ - The path to the group. For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - group_name: str | None = ... - """The friendly name that identifies the group.""" - group_id: str | None = ... - """ - The stable and unique string identifying the group. For more information - about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - create_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the group was created. - """ - group_policy_list: list[PolicyDetail] | None = ... - """A list of the inline policies embedded in the group.""" - attached_managed_policies: list[AttachedPolicy] | None = ... - """A list of the managed policies attached to the group.""" - -@dataclass(kw_only=True) -class InlinePolicy(_SerdeShape): - """ - Contains an inline policy template that the service embeds in roles that - you create from a role template. - """ - - policy_name: str - """The name of the inline policy.""" - policy_document: str - """The inline policy document.""" - -@dataclass(kw_only=True) -class InlinePolicyIdentifierType(_SerdeShape): - """ - Identifies one or more inline policies that are embedded in IAM users, - groups, or roles, by the name of the policy together with the type and - name of the entity that it is attached to. Wildcard characters in the - entity name can match multiple entities, so a single identifier can - select more than one attached inline policy. - """ - - policy_name: str - """The name of the inline policy.""" - attachment_type: str - """The type of IAM entity that the inline policy is attached to.""" - attachment_name: str - """ - The name of the IAM user, group, or role that the inline policy is - attached to. Wildcard characters are supported to match multiple - entities: use at most one `*` (matches any sequence of characters, - including none), and any number of `?` (each matches exactly one - character). - """ - -@dataclass(kw_only=True) -class InstanceProfile(_SerdeShape): - """ - Contains information about an instance profile. - - This data type is used as a response element in the following - operations: - - - [CreateInstanceProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateInstanceProfile.html) - - - [GetInstanceProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetInstanceProfile.html) - - - [ListInstanceProfiles](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfiles.html) - - - [ListInstanceProfilesForRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfilesForRole.html) - """ - - path: str - """ - The path to the instance profile. For more information about paths, see - [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - instance_profile_name: str - """The name identifying the instance profile.""" - instance_profile_id: str - """ - The stable and unique string identifying the instance profile. For more - information about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str - """ - The Amazon Resource Name (ARN) specifying the instance profile. For more - information about ARNs and how to use them in policies, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - create_date: datetime - """The date when the instance profile was created.""" - roles: list[Role] - """The role associated with the instance profile.""" - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the instance profile. For more - information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class InvalidAuthenticationCodeException(ServiceError, _SerdeShape): - """ - The request was rejected because the authentication code was not - recognized. The error message describes the specific error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidCertificateException(ServiceError, _SerdeShape): - """The request was rejected because the certificate is invalid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidInputException(ServiceError, _SerdeShape): - """ - The request was rejected because an invalid or out-of-range value was - supplied for an input parameter. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidPublicKeyException(ServiceError, _SerdeShape): - """ - The request was rejected because the public key is malformed or - otherwise invalid. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidUserTypeException(ServiceError, _SerdeShape): - """ - The request was rejected because the type of user for the transaction - was incorrect. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class JobStatusType(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "IN_PROGRESS" - COMPLETED = "COMPLETED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class KeyPairMismatchException(ServiceError, _SerdeShape): - """ - The request was rejected because the public key certificate and the - private key do not match. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LimitExceededException(ServiceError, _SerdeShape): - """ - The request was rejected because it attempted to create resources beyond - the current Amazon Web Services account limits. The error message - describes the limit exceeded. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAccessKeysInput(_SerdeShape): - """Dataclass for ListAccessKeysInput structure.""" - - user_name: str | None = ... - """ - The name of the user. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListAccessKeysOutput(_SerdeShape): - """ - Contains the response to a successful - [ListAccessKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccessKeys.html) - request. - """ - - access_key_metadata: list[AccessKeyMetadata] - """A list of objects containing metadata about the access keys.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAccountAliasesInput(_SerdeShape): - """Dataclass for ListAccountAliasesInput structure.""" - - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListAccountAliasesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListAccountAliases](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccountAliases.html) - request. - """ - - account_aliases: list[str] - """ - A list of aliases associated with the account. Amazon Web Services - supports only one alias per account. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAttachedGroupPoliciesInput(_SerdeShape): - """Dataclass for ListAttachedGroupPoliciesInput structure.""" - - group_name: str | None = ... - """ - The name (friendly name, not ARN) of the group to list attached policies - for. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - path_prefix: str | None = ... - """ - The path prefix for filtering the results. This parameter is optional. - If it is not included, it defaults to a slash (/), listing all policies. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListAttachedGroupPoliciesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListAttachedGroupPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedGroupPolicies.html) - request. - """ - - attached_policies: list[AttachedPolicy] | None = ... - """A list of the attached policies.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAttachedRolePoliciesInput(_SerdeShape): - """Dataclass for ListAttachedRolePoliciesInput structure.""" - - role_name: str | None = ... - """ - The name (friendly name, not ARN) of the role to list attached policies - for. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - path_prefix: str | None = ... - """ - The path prefix for filtering the results. This parameter is optional. - If it is not included, it defaults to a slash (/), listing all policies. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListAttachedRolePoliciesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListAttachedRolePolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedRolePolicies.html) - request. - """ - - attached_policies: list[AttachedPolicy] | None = ... - """A list of the attached policies.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAttachedUserPoliciesInput(_SerdeShape): - """Dataclass for ListAttachedUserPoliciesInput structure.""" - - user_name: str | None = ... - """ - The name (friendly name, not ARN) of the user to list attached policies - for. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - path_prefix: str | None = ... - """ - The path prefix for filtering the results. This parameter is optional. - If it is not included, it defaults to a slash (/), listing all policies. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListAttachedUserPoliciesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListAttachedUserPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAttachedUserPolicies.html) - request. - """ - - attached_policies: list[AttachedPolicy] | None = ... - """A list of the attached policies.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDelegationRequestsInput(_SerdeShape): - """Dataclass for ListDelegationRequestsInput structure.""" - - owner_id: str | None = ... - """The owner ID to filter delegation requests by.""" - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM may return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListDelegationRequestsOutput(_SerdeShape): - """Dataclass for ListDelegationRequestsOutput structure.""" - - delegation_requests: list[DelegationRequest] | None = ... - """A list of delegation requests that match the specified criteria.""" - marker: str | None = ... - """ - When `isTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListEntitiesForPolicyInput(_SerdeShape): - """Dataclass for ListEntitiesForPolicyInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy for which you want the - versions. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - entity_filter: str | None = ... - """ - The entity type to use for filtering the results. - - For example, when `EntityFilter` is `Role`, only the roles that are - attached to the specified policy are returned. This parameter is - optional. If it is not included, all attached entities (users, groups, - and roles) are returned. The argument for this parameter must be one of - the valid values listed below. - """ - path_prefix: str | None = ... - """ - The path prefix for filtering the results. This parameter is optional. - If it is not included, it defaults to a slash (/), listing all entities. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - policy_usage_filter: str | None = ... - """ - The policy usage method to use for filtering the results. - - To list only permissions policies, set `PolicyUsageFilter` to - `PermissionsPolicy`. To list only the policies used to set permissions - boundaries, set the value to `PermissionsBoundary`. - - This parameter is optional. If it is not included, all policies are - returned. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListEntitiesForPolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [ListEntitiesForPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html) - request. - """ - - policy_groups: list[PolicyGroup] | None = ... - """A list of IAM groups that the policy is attached to.""" - policy_users: list[PolicyUser] | None = ... - """A list of IAM users that the policy is attached to.""" - policy_roles: list[PolicyRole] | None = ... - """A list of IAM roles that the policy is attached to.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGroupPoliciesInput(_SerdeShape): - """Dataclass for ListGroupPoliciesInput structure.""" - - group_name: str | None = ... - """ - The name of the group to list policies for. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListGroupPoliciesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListGroupPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroupPolicies.html) - request. - """ - - policy_names: list[str] - """ - A list of policy names. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGroupsForUserInput(_SerdeShape): - """Dataclass for ListGroupsForUserInput structure.""" - - user_name: str | None = ... - """ - The name of the user to list groups for. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListGroupsForUserOutput(_SerdeShape): - """ - Contains the response to a successful - [ListGroupsForUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroupsForUser.html) - request. - """ - - groups: list[Group] - """A list of groups.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGroupsInput(_SerdeShape): - """Dataclass for ListGroupsInput structure.""" - - path_prefix: str | None = ... - """ - The path prefix for filtering the results. For example, the prefix - `/division_abc/subdivision_xyz/` gets all groups whose path starts with - `/division_abc/subdivision_xyz/`. - - This parameter is optional. If it is not included, it defaults to a - slash (/), listing all groups. This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListGroupsOutput(_SerdeShape): - """ - Contains the response to a successful - [ListGroups](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListGroups.html) - request. - """ - - groups: list[Group] - """A list of groups.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInstanceProfilesForRoleInput(_SerdeShape): - """Dataclass for ListInstanceProfilesForRoleInput structure.""" - - role_name: str | None = ... - """ - The name of the role to list instance profiles for. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListInstanceProfilesForRoleOutput(_SerdeShape): - """ - Contains the response to a successful - [ListInstanceProfilesForRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfilesForRole.html) - request. - """ - - instance_profiles: list[InstanceProfile] - """A list of instance profiles.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInstanceProfilesInput(_SerdeShape): - """Dataclass for ListInstanceProfilesInput structure.""" - - path_prefix: str | None = ... - """ - The path prefix for filtering the results. For example, the prefix - `/application_abc/component_xyz/` gets all instance profiles whose path - starts with `/application_abc/component_xyz/`. - - This parameter is optional. If it is not included, it defaults to a - slash (/), listing all instance profiles. This parameter allows (through - its [regex pattern](http://wikipedia.org/wiki/regex)) a string of - characters consisting of either a forward slash (/) by itself or a - string that must begin and end with forward slashes. In addition, it can - contain any ASCII character from the ! (`\u0021`) through the DEL - character (`\u007f`), including most punctuation characters, digits, and - upper and lowercased letters. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListInstanceProfilesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListInstanceProfiles](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListInstanceProfiles.html) - request. - """ - - instance_profiles: list[InstanceProfile] - """A list of instance profiles.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListInstanceProfileTagsInput(_SerdeShape): - """Dataclass for ListInstanceProfileTagsInput structure.""" - - instance_profile_name: str | None = ... - """ - The name of the IAM instance profile whose tags you want to see. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListInstanceProfileTagsOutput(_SerdeShape): - """Dataclass for ListInstanceProfileTagsOutput structure.""" - - tags: list[Tag] - """ - The list of tags that are currently attached to the IAM instance - profile. Each tag consists of a key name and an associated value. If no - tags are attached to the specified resource, the response contains an - empty list. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListMFADevicesInput(_SerdeShape): - """Dataclass for ListMFADevicesInput structure.""" - - user_name: str | None = ... - """ - The name of the user whose MFA devices you want to list. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListMFADevicesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListMFADevices](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADevices.html) - request. - """ - - mfa_devices: list[MFADevice] - """A list of MFA devices.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListMFADeviceTagsInput(_SerdeShape): - """Dataclass for ListMFADeviceTagsInput structure.""" - - serial_number: str | None = ... - """ - The unique identifier for the IAM virtual MFA device whose tags you want - to see. For virtual MFA devices, the serial number is the same as the - ARN. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListMFADeviceTagsOutput(_SerdeShape): - """Dataclass for ListMFADeviceTagsOutput structure.""" - - tags: list[Tag] - """ - The list of tags that are currently attached to the virtual MFA device. - Each tag consists of a key name and an associated value. If no tags are - attached to the specified resource, the response contains an empty list. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListOpenIDConnectProvidersInput(_SerdeShape): - """Dataclass for ListOpenIDConnectProvidersInput structure.""" - -@dataclass(kw_only=True) -class ListOpenIDConnectProvidersOutput(_SerdeShape): - """ - Contains the response to a successful - [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) - request. - """ - - open_id_connect_provider_list: list[OpenIDConnectProviderListEntry] | None = ... - """ - The list of IAM OIDC provider resource objects defined in the Amazon Web - Services account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListOpenIDConnectProviderTagsInput(_SerdeShape): - """Dataclass for ListOpenIDConnectProviderTagsInput structure.""" - - open_id_connect_provider_arn: str | None = ... - """ - The ARN of the OpenID Connect (OIDC) identity provider whose tags you - want to see. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListOpenIDConnectProviderTagsOutput(_SerdeShape): - """Dataclass for ListOpenIDConnectProviderTagsOutput structure.""" - - tags: list[Tag] - """ - The list of tags that are currently attached to the OpenID Connect - (OIDC) identity provider. Each tag consists of a key name and an - associated value. If no tags are attached to the specified resource, the - response contains an empty list. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListOrganizationsFeaturesInput(_SerdeShape): - """Dataclass for ListOrganizationsFeaturesInput structure.""" - -@dataclass(kw_only=True) -class ListOrganizationsFeaturesOutput(_SerdeShape): - """Dataclass for ListOrganizationsFeaturesOutput structure.""" - - organization_id: str | None = ... - """The unique identifier (ID) of an organization.""" - enabled_features: list[str] | None = ... - """ - Specifies the features that are currently available in your - organization. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPoliciesGrantingServiceAccessEntry(_SerdeShape): - """ - Contains details about the permissions policies that are attached to the - specified identity (user, group, or role). - - This data type is used as a response element in the - [ListPoliciesGrantingServiceAccess](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPoliciesGrantingServiceAccess.html) - operation. - """ - - service_namespace: str | None = ... - """ - The namespace of the service that was accessed. - - To learn the service namespace of a service, see [Actions, resources, - and condition keys for Amazon Web Services - services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) - in the *Service Authorization Reference*. Choose the name of the service - to view details for that service. In the first paragraph, find the - service prefix. For example, `(service prefix: a4b)`. For more - information about service namespaces, see [Amazon Web Services service - namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) - in the *Amazon Web Services General Reference*. - """ - policies: list[PolicyGrantingServiceAccess] | None = ... - """ - The `PoliciesGrantingServiceAccess` object that contains details about - the policy. - """ - -@dataclass(kw_only=True) -class ListPoliciesGrantingServiceAccessInput(_SerdeShape): - """Dataclass for ListPoliciesGrantingServiceAccessInput structure.""" - - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - arn: str | None = ... - """ - The ARN of the IAM identity (user, group, or role) whose policies you - want to list. - """ - service_namespaces: list[str] | None = ... - """ - The service namespace for the Amazon Web Services services whose - policies you want to list. - - To learn the service namespace for a service, see [Actions, resources, - and condition keys for Amazon Web Services - services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) - in the *IAM User Guide*. Choose the name of the service to view details - for that service. In the first paragraph, find the service prefix. For - example, `(service prefix: a4b)`. For more information about service - namespaces, see [Amazon Web Services service - namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class ListPoliciesGrantingServiceAccessOutput(_SerdeShape): - """Dataclass for ListPoliciesGrantingServiceAccessOutput structure.""" - - policies_granting_service_access: list[ListPoliciesGrantingServiceAccessEntry] - """ - A `ListPoliciesGrantingServiceAccess` object that contains details about - the permissions policies attached to the specified identity (user, - group, or role). - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. We - recommend that you check `IsTruncated` after every call to ensure that - you receive all your results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPoliciesInput(_SerdeShape): - """Dataclass for ListPoliciesInput structure.""" - - scope: str | None = ... - """ - The scope to use for filtering the results. - - To list only Amazon Web Services managed policies, set `Scope` to `AWS`. - To list only the customer managed policies in your Amazon Web Services - account, set `Scope` to `Local`. - - This parameter is optional. If it is not included, or if it is set to - `All`, all policies are returned. - """ - only_attached: bool = ... - """ - A flag to filter the results to only the attached policies. - - When `OnlyAttached` is `true`, the returned list contains only the - policies that are attached to an IAM user, group, or role. When - `OnlyAttached` is `false`, or when the parameter is not included, all - policies are returned. - """ - path_prefix: str | None = ... - """ - The path prefix for filtering the results. This parameter is optional. - If it is not included, it defaults to a slash (/), listing all policies. - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - policy_usage_filter: str | None = ... - """ - The policy usage method to use for filtering the results. - - To list only permissions policies, set `PolicyUsageFilter` to - `PermissionsPolicy`. To list only the policies used to set permissions - boundaries, set the value to `PermissionsBoundary`. - - This parameter is optional. If it is not included, all policies are - returned. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListPoliciesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicies.html) - request. - """ - - policies: list[Policy] | None = ... - """A list of policies.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPolicyTagsInput(_SerdeShape): - """Dataclass for ListPolicyTagsInput structure.""" - - policy_arn: str | None = ... - """ - The ARN of the IAM customer managed policy whose tags you want to see. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListPolicyTagsOutput(_SerdeShape): - """Dataclass for ListPolicyTagsOutput structure.""" - - tags: list[Tag] - """ - The list of tags that are currently attached to the IAM customer managed - policy. Each tag consists of a key name and an associated value. If no - tags are attached to the specified resource, the response contains an - empty list. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPolicyVersionsInput(_SerdeShape): - """Dataclass for ListPolicyVersionsInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy for which you want the - versions. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListPolicyVersionsOutput(_SerdeShape): - """ - Contains the response to a successful - [ListPolicyVersions](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html) - request. - """ - - versions: list[PolicyVersion] | None = ... - """ - A list of policy versions. - - For more information about managed policy versions, see [Versioning for - managed - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) - in the *IAM User Guide*. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRolePoliciesInput(_SerdeShape): - """Dataclass for ListRolePoliciesInput structure.""" - - role_name: str | None = ... - """ - The name of the role to list policies for. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListRolePoliciesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListRolePolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListRolePolicies.html) - request. - """ - - policy_names: list[str] - """A list of policy names.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRolesInput(_SerdeShape): - """Dataclass for ListRolesInput structure.""" - - path_prefix: str | None = ... - """ - The path prefix for filtering the results. For example, the prefix - `/application_abc/component_xyz/` gets all roles whose path starts with - `/application_abc/component_xyz/`. - - This parameter is optional. If it is not included, it defaults to a - slash (/), listing all roles. This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListRolesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListRoles](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListRoles.html) - request. - """ - - roles: list[Role] - """A list of roles.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRoleTagsInput(_SerdeShape): - """Dataclass for ListRoleTagsInput structure.""" - - role_name: str | None = ... - """ - The name of the IAM role for which you want to see the list of tags. - - This parameter accepts (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - consist of upper and lowercase alphanumeric characters with no spaces. - You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListRoleTagsOutput(_SerdeShape): - """Dataclass for ListRoleTagsOutput structure.""" - - tags: list[Tag] - """ - The list of tags that are currently attached to the role. Each tag - consists of a key name and an associated value. If no tags are attached - to the specified resource, the response contains an empty list. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListSAMLProvidersInput(_SerdeShape): - """Dataclass for ListSAMLProvidersInput structure.""" - -@dataclass(kw_only=True) -class ListSAMLProvidersOutput(_SerdeShape): - """ - Contains the response to a successful - [ListSAMLProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSAMLProviders.html) - request. - """ - - saml_provider_list: list[SAMLProviderListEntry] | None = ... - """ - The list of SAML provider resource objects defined in IAM for this - Amazon Web Services account. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListSAMLProviderTagsInput(_SerdeShape): - """Dataclass for ListSAMLProviderTagsInput structure.""" - - saml_provider_arn: str | None = ... - """ - The ARN of the Security Assertion Markup Language (SAML) identity - provider whose tags you want to see. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListSAMLProviderTagsOutput(_SerdeShape): - """Dataclass for ListSAMLProviderTagsOutput structure.""" - - tags: list[Tag] - """ - The list of tags that are currently attached to the Security Assertion - Markup Language (SAML) identity provider. Each tag consists of a key - name and an associated value. If no tags are attached to the specified - resource, the response contains an empty list. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListServerCertificatesInput(_SerdeShape): - """Dataclass for ListServerCertificatesInput structure.""" - - path_prefix: str | None = ... - """ - The path prefix for filtering the results. For example: - `/company/servercerts` would get all server certificates for which the - path starts with `/company/servercerts`. - - This parameter is optional. If it is not included, it defaults to a - slash (/), listing all server certificates. This parameter allows - (through its [regex pattern](http://wikipedia.org/wiki/regex)) a string - of characters consisting of either a forward slash (/) by itself or a - string that must begin and end with forward slashes. In addition, it can - contain any ASCII character from the ! (`\u0021`) through the DEL - character (`\u007f`), including most punctuation characters, digits, and - upper and lowercased letters. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListServerCertificatesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListServerCertificates](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServerCertificates.html) - request. - """ - - server_certificate_metadata_list: list[ServerCertificateMetadata] - """A list of server certificates.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListServerCertificateTagsInput(_SerdeShape): - """Dataclass for ListServerCertificateTagsInput structure.""" - - server_certificate_name: str | None = ... - """ - The name of the IAM server certificate whose tags you want to see. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListServerCertificateTagsOutput(_SerdeShape): - """Dataclass for ListServerCertificateTagsOutput structure.""" - - tags: list[Tag] - """ - The list of tags that are currently attached to the IAM server - certificate. Each tag consists of a key name and an associated value. If - no tags are attached to the specified resource, the response contains an - empty list. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListServiceSpecificCredentialsInput(_SerdeShape): - """Dataclass for ListServiceSpecificCredentialsInput structure.""" - - user_name: str | None = ... - """ - The name of the user whose service-specific credentials you want - information about. If this value is not specified, then the operation - assumes the user whose credentials are used to call the operation. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - service_name: str | None = ... - """ - Filters the returned results to only those for the specified Amazon Web - Services service. If not specified, then Amazon Web Services returns - service-specific credentials for all services. - """ - all_users: bool | None = ... - """ - A flag indicating whether to list service specific credentials for all - users. This parameter cannot be specified together with UserName. When - true, returns all credentials associated with the specified service. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the Marker from the response that you received to indicate - where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the IsTruncated response element is true. - """ - -@dataclass(kw_only=True) -class ListServiceSpecificCredentialsOutput(_SerdeShape): - """Dataclass for ListServiceSpecificCredentialsOutput structure.""" - - service_specific_credentials: list[ServiceSpecificCredentialMetadata] | None = ... - """ - A list of structures that each contain details about a service-specific - credential. - """ - marker: str | None = ... - """ - When IsTruncated is true, this element is present and contains the value - to use for the Marker parameter in a subsequent pagination request. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the Marker request parameter to retrieve more items. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListSigningCertificatesInput(_SerdeShape): - """Dataclass for ListSigningCertificatesInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user whose signing certificates you want to examine. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListSigningCertificatesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListSigningCertificates](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSigningCertificates.html) - request. - """ - - certificates: list[SigningCertificate] - """A list of the user's signing certificate information.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListSSHPublicKeysInput(_SerdeShape): - """Dataclass for ListSSHPublicKeysInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user to list SSH public keys for. If none is - specified, the `UserName` field is determined implicitly based on the - Amazon Web Services access key used to sign the request. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListSSHPublicKeysOutput(_SerdeShape): - """ - Contains the response to a successful - [ListSSHPublicKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSSHPublicKeys.html) - request. - """ - - ssh_public_keys: list[SSHPublicKeyMetadata] | None = ... - """A list of the SSH public keys assigned to IAM user.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListUserPoliciesInput(_SerdeShape): - """Dataclass for ListUserPoliciesInput structure.""" - - user_name: str | None = ... - """ - The name of the user to list policies for. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListUserPoliciesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListUserPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUserPolicies.html) - request. - """ - - policy_names: list[str] - """A list of policy names.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListUsersInput(_SerdeShape): - """Dataclass for ListUsersInput structure.""" - - path_prefix: str | None = ... - """ - The path prefix for filtering the results. For example: - `/division_abc/subdivision_xyz/`, which would get all user names whose - path starts with `/division_abc/subdivision_xyz/`. - - This parameter is optional. If it is not included, it defaults to a - slash (/), listing all user names. This parameter allows (through its - [regex pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListUsersOutput(_SerdeShape): - """ - Contains the response to a successful - [ListUsers](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUsers.html) - request. - """ - - users: list[User] - """A list of users.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListUserTagsInput(_SerdeShape): - """Dataclass for ListUserTagsInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user whose tags you want to see. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListUserTagsOutput(_SerdeShape): - """Dataclass for ListUserTagsOutput structure.""" - - tags: list[Tag] - """ - The list of tags that are currently attached to the user. Each tag - consists of a key name and an associated value. If no tags are attached - to the specified resource, the response contains an empty list. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListVirtualMFADevicesInput(_SerdeShape): - """Dataclass for ListVirtualMFADevicesInput structure.""" - - assignment_status: str | None = ... - """ - The status (`Unassigned` or `Assigned`) of the devices to list. If you - do not specify an `AssignmentStatus`, the operation defaults to `Any`, - which lists both assigned and unassigned virtual MFA devices., - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - -@dataclass(kw_only=True) -class ListVirtualMFADevicesOutput(_SerdeShape): - """ - Contains the response to a successful - [ListVirtualMFADevices](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListVirtualMFADevices.html) - request. - """ - - virtual_mfa_devices: list[VirtualMFADevice] - """ - The list of virtual MFA devices in the current account that match the - `AssignmentStatus` value that was passed in the request. - """ - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LoginProfile(_SerdeShape): - """ - Contains the user name and password create date for a user. - - This data type is used as a response element in the - [CreateLoginProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateLoginProfile.html) - and - [GetLoginProfile](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetLoginProfile.html) - operations. - """ - - user_name: str - """ - The name of the user, which can be used for signing in to the Amazon Web - Services Management Console. - """ - create_date: datetime - """The date when the password for the user was created.""" - password_reset_required: bool = ... - """ - Specifies whether the user is required to set a new password on next - sign-in. - """ - -@dataclass(kw_only=True) -class MalformedCertificateException(ServiceError, _SerdeShape): - """ - The request was rejected because the certificate was malformed or - expired. The error message describes the specific error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class MalformedPolicyDocumentException(ServiceError, _SerdeShape): - """ - The request was rejected because the policy document was malformed. The - error message describes the specific error. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ManagedByTypeType(UnknownEnumMixin, StrEnum): - SERVICE = "Service" - -@dataclass(kw_only=True) -class ManagedPolicyDetail(_SerdeShape): - """ - Contains information about a managed policy, including the policy's - ARN, versions, and the number of principal entities (users, groups, and - roles) that the policy is attached to. - - This data type is used as a response element in the - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - operation. - - For more information about managed policies, see [Managed policies and - inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) - in the *IAM User Guide*. - """ - - policy_name: str | None = ... - """The friendly name (not ARN) identifying the policy.""" - policy_id: str | None = ... - """ - The stable and unique string identifying the policy. - - For more information about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - path: str | None = ... - """ - The path to the policy. - - For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - default_version_id: str | None = ... - """ - The identifier for the version of the policy that is set as the default - (operative) version. - - For more information about policy versions, see [Versioning for managed - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) - in the *IAM User Guide*. - """ - attachment_count: int | None = ... - """ - The number of principal entities (users, groups, and roles) that the - policy is attached to. - """ - permissions_boundary_usage_count: int | None = ... - """ - The number of entities (users and roles) for which the policy is used as - the permissions boundary. - - For more information about permissions boundaries, see [Permissions - boundaries for IAM - identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - """ - is_attachable: bool = ... - """ - Specifies whether the policy can be attached to an IAM user, group, or - role. - """ - description: str | None = ... - """A friendly description of the policy.""" - create_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the policy was created. - """ - update_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the policy was last - updated. - - When a policy has only one version, this field contains the date and - time when the policy was created. When a policy has more than one - version, this field contains the date and time when the most recent - policy version was created. - """ - policy_version_list: list[PolicyVersion] | None = ... - """A list containing information about the versions of the policy.""" - -@dataclass(kw_only=True) -class MFADevice(_SerdeShape): - """ - Contains information about an MFA device. - - This data type is used as a response element in the - [ListMFADevices](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADevices.html) - operation. - """ - - user_name: str - """The user with whom the MFA device is associated.""" - serial_number: str - """ - The serial number that uniquely identifies the MFA device. For virtual - MFA devices, the serial number is the device ARN. - """ - enable_date: datetime - """The date when the MFA device was enabled for the user.""" - -@dataclass(kw_only=True) -class NameConflictException(ServiceError, _SerdeShape): - """ - The request was rejected because the resulting role name conflicts with - an existing role in the account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchEntityException(ServiceError, _SerdeShape): - """ - The request was rejected because it referenced a resource entity that - does not exist. The error message describes the resource. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OpenIDConnectProviderListEntry(_SerdeShape): - """ - Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect - provider. - """ - - arn: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - -@dataclass(kw_only=True) -class OpenIdIdpCommunicationErrorException(ServiceError, _SerdeShape): - """ - The request failed because IAM cannot connect to the OpenID Connect - identity provider URL. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OrderedOrganizationPolicyType(_SerdeShape): - """ - Represents one level of an Organizations hierarchy---the organization - root, an organizational unit (OU), or an account---together with the - service control policies (SCPs) that apply at that level. Each element - in the list represents one level of the hierarchy, ordered from the - organization root down to the account. - - For more information about SCPs, see [Service control policies - (SCPs)](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html) - in the *Organizations User Guide*. - """ - - service_control_policy_input_list: list[str] | None = ... - """ - A list of SCP documents that apply at this level of the Organizations - hierarchy. Each document is specified as a string containing the - complete, valid JSON text of an SCP. - """ - -@dataclass(kw_only=True) -class OrganizationNotFoundException(ServiceError, _SerdeShape): - """ - The request was rejected because no organization is associated with your - account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OrganizationNotInAllFeaturesModeException(ServiceError, _SerdeShape): - """ - The request was rejected because your organization does not have All - features enabled. For more information, see [Available feature - sets](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set) - in the *Organizations User Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OrganizationsDecisionDetail(_SerdeShape): - """ - Contains information about the effect that Organizations has on a policy - simulation. - """ - - allowed_by_organizations: bool = ... - """ - Specifies whether the simulated operation is allowed by the - Organizations service control policies that impact the simulated user's - account. - """ - -@dataclass(kw_only=True) -class ParameterDefinition(_SerdeShape): - """ - Defines a parameter that a role template accepts. You supply values for - these parameters when you create a role with - [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). - """ - - name: str - """The name of the parameter.""" - type: str - """ - The data type of the parameter. Valid values are `String`, `StringList`, - `Number`, `NumberList`, `Arn`, and `ArnList`. - """ - sub_type: str | None = ... - """ - An optional subtype that further constrains the values that are allowed - for the parameter. - """ - description: str | None = ... - """A description of the parameter.""" - is_required: bool = ... - """ - Specifies whether you must supply a value for the parameter when you - create a role from the template. - """ - default_value: str | None = ... - """ - The value that the service uses for the parameter when you do not supply - one. - """ - immutable: bool = ... - """ - Specifies whether you can change the parameter value after you create - the role. - """ - -class ParameterTypeType(UnknownEnumMixin, StrEnum): - STRING = "String" - STRING_LIST = "StringList" - NUMBER = "Number" - NUMBER_LIST = "NumberList" - ARN = "Arn" - ARN_LIST = "ArnList" - -@dataclass(kw_only=True) -class PasswordPolicy(_SerdeShape): - """ - Contains information about the account password policy. - - This data type is used as a response element in the - [GetAccountPasswordPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountPasswordPolicy.html) - operation. - """ - - minimum_password_length: int | None = ... - """Minimum length to require for IAM user passwords.""" - require_symbols: bool = ... - """ - Specifies whether IAM user passwords must contain at least one of the - following symbols: - - ! @ # $ % ^ & * ( ) _ + - = [ ] { } | ' - """ - require_numbers: bool = ... - """ - Specifies whether IAM user passwords must contain at least one numeric - character (0 to 9). - """ - require_uppercase_characters: bool = ... - """ - Specifies whether IAM user passwords must contain at least one uppercase - character (A to Z). - """ - require_lowercase_characters: bool = ... - """ - Specifies whether IAM user passwords must contain at least one lowercase - character (a to z). - """ - allow_users_to_change_password: bool = ... - """ - Specifies whether IAM users are allowed to change their own password. - Gives IAM users permissions to `iam:ChangePassword` for only their user - and to the `iam:GetAccountPasswordPolicy` action. This option does not - attach a permissions policy to each user, rather the permissions are - applied at the account-level for all users by IAM. - """ - expire_passwords: bool = ... - """ - Indicates whether passwords in the account expire. Returns true if - `MaxPasswordAge` contains a value greater than 0. Returns false if - MaxPasswordAge is 0 or not present. - """ - max_password_age: int | None = ... - """The number of days that an IAM user password is valid.""" - password_reuse_prevention: int | None = ... - """ - Specifies the number of previous passwords that IAM users are prevented - from reusing. - """ - hard_expiry: bool | None = ... - """ - Specifies whether IAM users are prevented from setting a new password - via the Amazon Web Services Management Console after their password has - expired. The IAM user cannot access the console until an administrator - resets the password. IAM users with `iam:ChangePassword` permission and - active access keys can reset their own expired console password using - the CLI or API. - """ - -@dataclass(kw_only=True) -class PasswordPolicyViolationException(ServiceError, _SerdeShape): - """ - The request was rejected because the provided password did not meet the - requirements imposed by the account password policy. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class PermissionCheckResultType(UnknownEnumMixin, StrEnum): - ALLOWED = "ALLOWED" - DENIED = "DENIED" - UNSURE = "UNSURE" - -class PermissionCheckStatusType(UnknownEnumMixin, StrEnum): - COMPLETE = "COMPLETE" - IN_PROGRESS = "IN_PROGRESS" - FAILED = "FAILED" - -class PermissionsBoundaryAttachmentType(UnknownEnumMixin, StrEnum): - POLICY = "PermissionsBoundaryPolicy" - -@dataclass(kw_only=True) -class PermissionsBoundaryDecisionDetail(_SerdeShape): - """ - Contains information about the effect that a permissions boundary has on - a policy simulation when the boundary is applied to an IAM entity. - """ - - allowed_by_permissions_boundary: bool = ... - """ - Specifies whether an action is allowed by a permissions boundary that is - applied to an IAM entity (user or role). A value of `true` means that - the permissions boundary does not deny the action. This means that the - policy includes an `Allow` statement that matches the request. In this - case, if an identity-based policy also allows the action, the request is - allowed. A value of `false` means that either the requested action is - not allowed (implicitly denied) or that the action is explicitly denied - by the permissions boundary. In both of these cases, the action is not - allowed, regardless of the identity-based policy. - """ - -@dataclass(kw_only=True) -class Policy(_SerdeShape): - """ - Contains information about a managed policy. - - This data type is used as a response element in the - [CreatePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicy.html), - [GetPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html), - and - [ListPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicies.html) - operations. - - For more information about managed policies, refer to [Managed policies - and inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) - in the *IAM User Guide*. - """ - - policy_name: str | None = ... - """The friendly name (not ARN) identifying the policy.""" - policy_id: str | None = ... - """ - The stable and unique string identifying the policy. - - For more information about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - path: str | None = ... - """ - The path to the policy. - - For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - default_version_id: str | None = ... - """ - The identifier for the version of the policy that is set as the default - version. - """ - attachment_count: int | None = ... - """ - The number of entities (users, groups, and roles) that the policy is - attached to. - """ - permissions_boundary_usage_count: int | None = ... - """ - The number of entities (users and roles) for which the policy is used to - set the permissions boundary. - - For more information about permissions boundaries, see [Permissions - boundaries for IAM - identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - """ - is_attachable: bool = ... - """ - Specifies whether the policy can be attached to an IAM user, group, or - role. - """ - description: str | None = ... - """ - A friendly description of the policy. - - This element is included in the response to the - [GetPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html) - operation. It is not included in the response to the - [ListPolicies](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicies.html) - operation. - """ - create_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the policy was created. - """ - update_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the policy was last - updated. - - When a policy has only one version, this field contains the date and - time when the policy was created. When a policy has more than one - version, this field contains the date and time when the most recent - policy version was created. - """ - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the instance profile. For more - information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class PolicyDetail(_SerdeShape): - """ - Contains information about an IAM policy, including the policy document. - - This data type is used as a response element in the - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - operation. - """ - - policy_name: str | None = ... - """The name of the policy.""" - policy_document: str | None = ... - """The policy document.""" - -class PolicyEvaluationDecisionType(UnknownEnumMixin, StrEnum): - ALLOWED = "allowed" - EXPLICIT_DENY = "explicitDeny" - IMPLICIT_DENY = "implicitDeny" - -@dataclass(kw_only=True) -class PolicyEvaluationException(ServiceError, _SerdeShape): - """ - The request failed because a provided policy could not be successfully - evaluated. An additional detailed message indicates the source of the - failure. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PolicyGrantingServiceAccess(_SerdeShape): - """ - Contains details about the permissions policies that are attached to the - specified identity (user, group, or role). - - This data type is an element of the - [ListPoliciesGrantingServiceAccessEntry](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPoliciesGrantingServiceAccessEntry.html) - object. - """ - - policy_name: str - """The policy name.""" - policy_type: str - """ - The policy type. For more information about these policy types, see - [Managed policies and inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html) - in the *IAM User Guide*. - """ - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - entity_type: str | None = ... - """ - The type of entity (user or role) that used the policy to access the - service to which the inline policy is attached. - - This field is null for managed policies. For more information about - these policy types, see [Managed policies and inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html) - in the *IAM User Guide*. - """ - entity_name: str | None = ... - """ - The name of the entity (user or role) to which the inline policy is - attached. - - This field is null for managed policies. For more information about - these policy types, see [Managed policies and inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class PolicyGroup(_SerdeShape): - """ - Contains information about a group that a managed policy is attached to. - - This data type is used as a response element in the - [ListEntitiesForPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html) - operation. - - For more information about managed policies, refer to [Managed policies - and inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) - in the *IAM User Guide*. - """ - - group_name: str | None = ... - """The name (friendly name, not ARN) identifying the group.""" - group_id: str | None = ... - """ - The stable and unique string identifying the group. For more information - about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) - in the *IAM User Guide*. - """ - -@dataclass -class PolicyIdentifier_PolicyType(_SerdeShape): - """ - The policy type to identify. All policies of the specified type are - matched. - """ - - value: str - -@dataclass -class PolicyIdentifierPolicyArn(_SerdeShape): - """ - The Amazon Resource Name (ARN) of an Amazon Web Services managed policy - or a customer managed policy that is attached to an IAM user, group, or - role. Wildcard characters are supported in the resource name portion of - the ARN to match multiple managed policies: use at most one `*` (matches - any sequence of characters, including none), and any number of `?` (each - matches exactly one character). - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - - value: str - -@dataclass -class PolicyIdentifierInlinePolicyIdentifier(_SerdeShape): - """ - An inline policy identifier consisting of a policy name and the entity - it is attached to. Wildcard characters (`*` and `?`) in the entity name - can match multiple entities. - """ - - value: InlinePolicyIdentifierType - -@dataclass -class PolicyIdentifierUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PolicyIdentifier = Union[ - PolicyIdentifier_PolicyType - | PolicyIdentifierPolicyArn - | PolicyIdentifierInlinePolicyIdentifier - | PolicyIdentifierUnknown -] -""" -Identifies one or more policies as a union type. Specify exactly one of -`PolicyType`, `PolicyArn`, or `InlinePolicyIdentifier` to identify -policies by their type, by Amazon Resource Name (ARN), or by the name of -an inline policy and the entity it is attached to. -""" - -class _PolicyIdentifierDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> PolicyIdentifier: ... - -class PolicyIdentifierPolicyType(UnknownEnumMixin, StrEnum): - INLINE = "inline" - AWS_MANAGED = "aws-managed" - USER_MANAGED = "user-managed" - PERMISSION_BOUNDARY = "permission-boundary" - SCP = "scp" - RCP = "rcp" - -@dataclass(kw_only=True) -class PolicyNotAttachableException(ServiceError, _SerdeShape): - """ - The request failed because Amazon Web Services service role policies can - only be attached to the service-linked role for that service. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class PolicyOwnerEntityType(UnknownEnumMixin, StrEnum): - USER = "USER" - ROLE = "ROLE" - GROUP = "GROUP" - -@dataclass(kw_only=True) -class PolicyParameter(_SerdeShape): - """ - Contains information about a policy parameter used to customize - delegated permissions. - """ - - name: str | None = ... - """The name of the policy parameter.""" - values: list[str] | None = ... - """The allowed values for the policy parameter.""" - type: str | None = ... - """The data type of the policy parameter value.""" - -class PolicyParameterTypeEnum(UnknownEnumMixin, StrEnum): - STRING = "string" - STRING_LIST = "stringList" - -@dataclass(kw_only=True) -class PolicyRole(_SerdeShape): - """ - Contains information about a role that a managed policy is attached to. - - This data type is used as a response element in the - [ListEntitiesForPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html) - operation. - - For more information about managed policies, refer to [Managed policies - and inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) - in the *IAM User Guide*. - """ - - role_name: str | None = ... - """The name (friendly name, not ARN) identifying the role.""" - role_id: str | None = ... - """ - The stable and unique string identifying the role. For more information - about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) - in the *IAM User Guide*. - """ - -class PolicyScopeType(UnknownEnumMixin, StrEnum): - ALL = "All" - AWS = "AWS" - LOCAL = "Local" - -class PolicySourceType(UnknownEnumMixin, StrEnum): - USER = "user" - GROUP = "group" - ROLE = "role" - AWS_MANAGED = "aws-managed" - USER_MANAGED = "user-managed" - RESOURCE = "resource" - NONE = "none" - -class PolicyType(UnknownEnumMixin, StrEnum): - INLINE = "INLINE" - MANAGED = "MANAGED" - -class PolicyUsageType(UnknownEnumMixin, StrEnum): - """ - The policy usage type that indicates whether the policy is used as a - permissions policy or as the permissions boundary for an entity. - - For more information about permissions boundaries, see [Permissions - boundaries for IAM - identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - """ - - PERMISSIONS_POLICY = "PermissionsPolicy" - PERMISSIONS_BOUNDARY = "PermissionsBoundary" - -@dataclass(kw_only=True) -class PolicyUser(_SerdeShape): - """ - Contains information about a user that a managed policy is attached to. - - This data type is used as a response element in the - [ListEntitiesForPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListEntitiesForPolicy.html) - operation. - - For more information about managed policies, refer to [Managed policies - and inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) - in the *IAM User Guide*. - """ - - user_name: str | None = ... - """The name (friendly name, not ARN) identifying the user.""" - user_id: str | None = ... - """ - The stable and unique string identifying the user. For more information - about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class PolicyVersion(_SerdeShape): - """ - Contains information about a version of a managed policy. - - This data type is used as a response element in the - [CreatePolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicyVersion.html), - [GetPolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html), - [ListPolicyVersions](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html), - and - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - operations. - - For more information about managed policies, refer to [Managed policies - and inline - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) - in the *IAM User Guide*. - """ - - document: str | None = ... - """ - The policy document. - - The policy document is returned in the response to the - [GetPolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html) - and - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - operations. It is not returned in the response to the - [CreatePolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreatePolicyVersion.html) - or - [ListPolicyVersions](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListPolicyVersions.html) - operations. - - The policy document returned in this structure is URL-encoded compliant - with [RFC 3986](https://tools.ietf.org/html/rfc3986). You can use a URL - decoding method to convert the policy back to plain JSON text. For - example, if you use Java, you can use the `decode` method of the - `java.net.URLDecoder` utility class in the Java SDK. Other languages and - SDKs provide similar functionality. - """ - version_id: str | None = ... - """ - The identifier for the policy version. - - Policy version identifiers always begin with `v` (always lowercase). - When a policy is created, the first policy version is `v1`. - """ - is_default_version: bool = ... - """ - Specifies whether the policy version is set as the policy's default - version. - """ - create_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the policy version was - created. - """ - -@dataclass(kw_only=True) -class Position(_SerdeShape): - """ - Contains the row and column of a location of a `Statement` element in a - policy document. - - This data type is used as a member of the - ` `[`Statement`](https://docs.aws.amazon.com/IAM/latest/APIReference/API_Statement.html)` ` - type. - """ - - line: int = ... - """The line containing the specified position in the document.""" - column: int = ... - """ - The column in the line containing the specified position in the - document. - """ - -@dataclass(kw_only=True) -class PutAccountPropertiesInput(_SerdeShape): - """Dataclass for PutAccountPropertiesInput structure.""" - - properties: dict[str, str] | None = ... - """ - A map of property key-value pairs to set. All keys must belong to the - same namespace. - - Each key uses the format `Namespace/PropertyName`. The key must contain - exactly one `/` separating the namespace from the property name, and - cannot start or end with `/`. - - The service validates each value based on the property key's expected - type. For example, boolean properties expect `true` or `false`. - """ - -@dataclass(kw_only=True) -class PutAccountPropertiesOutput(_SerdeShape): - """Dataclass for PutAccountPropertiesOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutGroupPolicyInput(_SerdeShape): - """Dataclass for PutGroupPolicyInput structure.""" - - group_name: str | None = ... - """ - The name of the group to associate the policy with. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@-. - """ - policy_name: str | None = ... - """ - The name of the policy document. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_document: str | None = ... - """ - The policy document. - - You must provide policies in JSON format in IAM. However, for - CloudFormation templates formatted in YAML, you can provide the policy - in JSON or YAML format. CloudFormation always converts a YAML policy to - JSON format before submitting it to IAM. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - -@dataclass(kw_only=True) -class PutGroupPolicyOutput(_SerdeShape): - """Dataclass for PutGroupPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutRolePermissionsBoundaryInput(_SerdeShape): - """Dataclass for PutRolePermissionsBoundaryInput structure.""" - - role_name: str | None = ... - """ - The name (friendly name, not ARN) of the IAM role for which you want to - set the permissions boundary. - """ - permissions_boundary: str | None = ... - """ - The ARN of the managed policy that is used to set the permissions - boundary for the role. - - A permissions boundary policy defines the maximum permissions that - identity-based policies can grant to an entity, but does not grant - permissions. Permissions boundaries do not define the maximum - permissions that a resource-based policy can grant to an entity. To - learn more, see [Permissions boundaries for IAM - entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - - For more information about policy types, see [Policy - types](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class PutRolePermissionsBoundaryOutput(_SerdeShape): - """Dataclass for PutRolePermissionsBoundaryOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutRolePolicyInput(_SerdeShape): - """Dataclass for PutRolePolicyInput structure.""" - - role_name: str | None = ... - """ - The name of the role to associate the policy with. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_name: str | None = ... - """ - The name of the policy document. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_document: str | None = ... - """ - The policy document. - - You must provide policies in JSON format in IAM. However, for - CloudFormation templates formatted in YAML, you can provide the policy - in JSON or YAML format. CloudFormation always converts a YAML policy to - JSON format before submitting it to IAM. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - -@dataclass(kw_only=True) -class PutRolePolicyOutput(_SerdeShape): - """Dataclass for PutRolePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutUserPermissionsBoundaryInput(_SerdeShape): - """Dataclass for PutUserPermissionsBoundaryInput structure.""" - - user_name: str | None = ... - """ - The name (friendly name, not ARN) of the IAM user for which you want to - set the permissions boundary. - """ - permissions_boundary: str | None = ... - """ - The ARN of the managed policy that is used to set the permissions - boundary for the user. - - A permissions boundary policy defines the maximum permissions that - identity-based policies can grant to an entity, but does not grant - permissions. Permissions boundaries do not define the maximum - permissions that a resource-based policy can grant to an entity. To - learn more, see [Permissions boundaries for IAM - entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - - For more information about policy types, see [Policy - types](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class PutUserPermissionsBoundaryOutput(_SerdeShape): - """Dataclass for PutUserPermissionsBoundaryOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutUserPolicyInput(_SerdeShape): - """Dataclass for PutUserPolicyInput structure.""" - - user_name: str | None = ... - """ - The name of the user to associate the policy with. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_name: str | None = ... - """ - The name of the policy document. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_document: str | None = ... - """ - The policy document. - - You must provide policies in JSON format in IAM. However, for - CloudFormation templates formatted in YAML, you can provide the policy - in JSON or YAML format. CloudFormation always converts a YAML policy to - JSON format before submitting it to IAM. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - -@dataclass(kw_only=True) -class PutUserPolicyOutput(_SerdeShape): - """Dataclass for PutUserPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RejectDelegationRequestInput(_SerdeShape): - """Dataclass for RejectDelegationRequestInput structure.""" - - delegation_request_id: str | None = ... - """The unique identifier of the delegation request to reject.""" - notes: str | None = ... - """ - Optional notes explaining the reason for rejecting the delegation - request. - """ - -@dataclass(kw_only=True) -class RejectDelegationRequestOutput(_SerdeShape): - """Dataclass for RejectDelegationRequestOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveClientIDFromOpenIDConnectProviderInput(_SerdeShape): - """Dataclass for RemoveClientIDFromOpenIDConnectProviderInput structure.""" - - open_id_connect_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM OIDC provider resource to - remove the client ID from. You can get a list of OIDC provider ARNs by - using the - [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) - operation. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - client_id: str | None = ... - """ - The client ID (also known as audience) to remove from the IAM OIDC - provider resource. For more information about client IDs, see - [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). - """ - -@dataclass(kw_only=True) -class RemoveClientIDFromOpenIDConnectProviderOutput(_SerdeShape): - """Dataclass for RemoveClientIDFromOpenIDConnectProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveRoleFromInstanceProfileInput(_SerdeShape): - """Dataclass for RemoveRoleFromInstanceProfileInput structure.""" - - instance_profile_name: str | None = ... - """ - The name of the instance profile to update. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - role_name: str | None = ... - """ - The name of the role to remove. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class RemoveRoleFromInstanceProfileOutput(_SerdeShape): - """Dataclass for RemoveRoleFromInstanceProfileOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveUserFromGroupInput(_SerdeShape): - """Dataclass for RemoveUserFromGroupInput structure.""" - - group_name: str | None = ... - """ - The name of the group to update. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - user_name: str | None = ... - """ - The name of the user to remove. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class RemoveUserFromGroupOutput(_SerdeShape): - """Dataclass for RemoveUserFromGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplacementValueEntry(_SerdeShape): - """ - Contains the list of replacement values for a single template parameter - used when creating a role from a role template. - """ - - values: list[str] - """The list of replacement values for the template parameter.""" - -class ReportFormatType(UnknownEnumMixin, StrEnum): - TEXT_CSV = "text/csv" - -@dataclass(kw_only=True) -class ReportGenerationLimitExceededException(ServiceError, _SerdeShape): - """ - The request failed because the maximum number of concurrent requests for - this account are already running. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ReportStateType(UnknownEnumMixin, StrEnum): - STARTED = "STARTED" - INPROGRESS = "INPROGRESS" - COMPLETE = "COMPLETE" - -@dataclass(kw_only=True) -class ResetServiceSpecificCredentialInput(_SerdeShape): - """Dataclass for ResetServiceSpecificCredentialInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user associated with the service-specific - credential. If this value is not specified, then the operation assumes - the user whose credentials are used to call the operation. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - service_specific_credential_id: str | None = ... - """ - The unique identifier of the service-specific credential. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - -@dataclass(kw_only=True) -class ResetServiceSpecificCredentialOutput(_SerdeShape): - """Dataclass for ResetServiceSpecificCredentialOutput structure.""" - - service_specific_credential: ServiceSpecificCredential | None = ... - """ - A structure with details about the updated service-specific credential, - including the new password. - - Warning: - This is the **only** time that you can access the password. You cannot - recover the password later, but you can reset it again. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceSpecificResult(_SerdeShape): - """ - Contains the result of the simulation of a single API operation call on - a single resource. - - This data type is used by a member of the - [EvaluationResult](https://docs.aws.amazon.com/IAM/latest/APIReference/API_EvaluationResult.html) - data type. - """ - - eval_resource_name: str - """ - The name of the simulated resource, in Amazon Resource Name (ARN) - format. - """ - eval_resource_decision: str - """ - The result of the simulation of the simulated API operation on the - resource specified in `EvalResourceName`. - """ - matched_statements: list[Statement] | None = ... - """ - A list of the statements in the input policies that determine the result - for this part of the simulation. Remember that even if multiple - statements allow the operation on the resource, if *any* statement - denies that operation, then the explicit deny overrides any allow. In - addition, the deny statement is the only entry included in the result. - """ - missing_context_values: list[str] | None = ... - """ - A list of context keys that are required by the included input policies - but that were not provided by one of the input parameters. This list is - used when a list of ARNs is included in the `ResourceArns` parameter - instead of \"*\". If you do not specify individual resources, by - setting `ResourceArns` to \"*\" or by not including the `ResourceArns` - parameter, then any missing context values are instead included under - the `EvaluationResults` section. To discover the context keys used by a - set of policies, you can call - [GetContextKeysForCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html) - or - [GetContextKeysForPrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html). - """ - eval_decision_details: dict[str, str] | None = ... - """ - Additional details about the results of the evaluation decision on a - single resource. This parameter is returned only for cross-account - simulations. This parameter explains how each policy type contributes to - the resource-specific evaluation decision. - """ - permissions_boundary_decision_detail: PermissionsBoundaryDecisionDetail | None = ... - """ - Contains information about the effect that a permissions boundary has on - a policy simulation when that boundary is applied to an IAM entity. - """ - -@dataclass(kw_only=True) -class ResyncMFADeviceInput(_SerdeShape): - """Dataclass for ResyncMFADeviceInput structure.""" - - user_name: str | None = ... - """ - The name of the user whose MFA device you want to resynchronize. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - serial_number: str | None = ... - """ - Serial number that uniquely identifies the MFA device. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - authentication_code1: str | None = ... - """ - An authentication code emitted by the device. - - The format for this parameter is a sequence of six digits. - """ - authentication_code2: str | None = ... - """ - A subsequent authentication code emitted by the device. - - The format for this parameter is a sequence of six digits. - """ - -@dataclass(kw_only=True) -class ResyncMFADeviceOutput(_SerdeShape): - """Dataclass for ResyncMFADeviceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Role(_SerdeShape): - """ - Contains information about an IAM role. This structure is returned as a - response element in several API operations that interact with roles. - """ - - path: str - """ - The path to the role. For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - role_name: str - """The friendly name that identifies the role.""" - role_id: str - """ - The stable and unique string identifying the role. For more information - about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str - """ - The Amazon Resource Name (ARN) specifying the role. For more information - about ARNs and how to use them in policies, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide* guide. - """ - create_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the role was created. - """ - assume_role_policy_document: str | None = ... - """The policy that grants an entity permission to assume the role.""" - description: str | None = ... - """A description of the role that you provide.""" - max_session_duration: int | None = ... - """ - The maximum session duration (in seconds) for the specified role. Anyone - who uses the CLI, or API to assume the role can specify the duration - using the optional `DurationSeconds` API parameter or `duration-seconds` - CLI parameter. - """ - permissions_boundary: AttachedPermissionsBoundary | None = ... - """ - The ARN of the policy used to set the permissions boundary for the role. - - For more information about permissions boundaries, see [Permissions - boundaries for IAM - identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - """ - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the role. For more information about - tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - role_last_used: RoleLastUsed | None = ... - """ - Contains information about the last time that an IAM role was used. This - includes the date and time and the Region in which the role was last - used. Activity is only reported for the trailing 400 days. This period - can be shorter if your Region began supporting these features within the - last year. The role might have been used more than 400 days ago. For - more information, see [Regions where data is - tracked](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period) - in the *IAM user Guide*. - """ - source_role_template: SourceRoleTemplate | None = ... - """ - Contains information about the role template that this role was created - from. This member is present only for roles created with - [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). - """ - -@dataclass(kw_only=True) -class RoleDetail(_SerdeShape): - """ - Contains information about an IAM role, including all of the role's - policies. - - This data type is used as a response element in the - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - operation. - """ - - path: str | None = ... - """ - The path to the role. For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - role_name: str | None = ... - """The friendly name that identifies the role.""" - role_id: str | None = ... - """ - The stable and unique string identifying the role. For more information - about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - create_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the role was created. - """ - assume_role_policy_document: str | None = ... - """The trust policy that grants permission to assume the role.""" - instance_profile_list: list[InstanceProfile] | None = ... - """A list of instance profiles that contain this role.""" - role_policy_list: list[PolicyDetail] | None = ... - """ - A list of inline policies embedded in the role. These policies are the - role's access (permissions) policies. - """ - attached_managed_policies: list[AttachedPolicy] | None = ... - """ - A list of managed policies attached to the role. These policies are the - role's access (permissions) policies. - """ - permissions_boundary: AttachedPermissionsBoundary | None = ... - """ - The ARN of the policy used to set the permissions boundary for the role. - - For more information about permissions boundaries, see [Permissions - boundaries for IAM - identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - """ - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the role. For more information about - tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - role_last_used: RoleLastUsed | None = ... - """ - Contains information about the last time that an IAM role was used. This - includes the date and time and the Region in which the role was last - used. Activity is only reported for the trailing 400 days. This period - can be shorter if your Region began supporting these features within the - last year. The role might have been used more than 400 days ago. For - more information, see [Regions where data is - tracked](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class RoleLastUsed(_SerdeShape): - """ - Contains information about the last time that an IAM role was used. This - includes the date and time and the Region in which the role was last - used. Activity is only reported for the trailing 400 days. This period - can be shorter if your Region began supporting these features within the - last year. The role might have been used more than 400 days ago. For - more information, see [Regions where data is - tracked](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period) - in the *IAM user Guide*. - - This data type is returned as a response element in the - [GetRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRole.html) - and - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - operations. - """ - - last_used_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601) that the role was last used. - - This field is null if the role has not been used within the IAM tracking - period. For more information about the tracking period, see [Regions - where data is - tracked](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period) - in the *IAM User Guide*. - """ - region: str | None = ... - """ - The name of the Amazon Web Services Region in which the role was last - used. - """ - -@dataclass(kw_only=True) -class RoleModifiedException(ServiceError, _SerdeShape): - """ - The request was rejected because someone modified the role template - while the service was creating the role. Wait a few minutes and try the - request again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RoleTemplateDisabledException(ServiceError, _SerdeShape): - """ - The request was rejected because the specified role template is - disabled. A disabled role template cannot be used to create new roles. - Contact your administrator to enable the role template, or use a - different role template. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RoleTemplateVersion(_SerdeShape): - """ - Contains information about a version of an IAM role template, including - the configuration that is used to create roles with - [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). - This structure is returned as a response element by the - [GetRoleTemplateVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetRoleTemplateVersion.html) - operation. - """ - - template_arn: str | None = ... - """ - The Amazon Resource Name (ARN) that identifies the role template. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - template_name: str | None = ... - """The friendly name that identifies the role template.""" - template_version_id: str | None = ... - """The identifier of the role template version.""" - description: str | None = ... - """The description of the role template.""" - major_version: int | None = ... - """The major version number of the role template.""" - default_minor_version: int | None = ... - """ - The minor version that the service uses by default when you create a - role from this template without specifying a minor version. - """ - managed_by_type: str | None = ... - """ - Indicates that the role template is managed by an Amazon Web Services - service. - """ - managed_by_value: str | None = ... - """ - The identifier of the Amazon Web Services service that manages the role - template. - """ - enabled: bool = ... - """ - Specifies whether the role template is enabled. When a template is - disabled, you cannot create roles from it. - """ - minor_version: int | None = ... - """The minor version number of this role template version.""" - role_name_pattern: str | None = ... - """ - The pattern that is used to generate the name of a role that is created - from this template. The pattern can include `@{parameter}` placeholders - that are replaced with the values you supply in the `ReplacementValues` - parameter of - [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). - """ - role_path_pattern: str | None = ... - """ - The pattern that is used to generate the path of a role that is created - from this template. - """ - role_description_pattern: str | None = ... - """ - The pattern that is used to generate the description of a role that is - created from this template. - """ - assume_role_policy_document_template: str | None = ... - """ - The trust policy template that grants an entity permission to assume - roles that you create from this template. - """ - inline_policy_templates: list[InlinePolicy] | None = ... - """ - A list of inline policy templates that the service embeds in roles that - you create from this template. - """ - managed_policy_arns: list[str] | None = ... - """ - A list of the ARNs of the managed policies that the service attaches to - roles that you create from this template. - """ - permission_boundary_arn: str | None = ... - """ - The ARN of the policy that sets the permissions boundary for roles that - you create from this template. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - parameters_definition: list[ParameterDefinition] | None = ... - """ - A list of the parameters that are defined for this role template - version. You supply values for these parameters when you create a role - with - [AcquireRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AcquireRole.html). - """ - role_tags_template: list[TagTemplate] | None = ... - """ - A list of tag templates that are applied to roles that are created from - this template. - """ - max_session_duration: int | None = ... - """ - The maximum session duration (in seconds) for roles that are created - from this template. - """ - version_enabled: bool = ... - """ - Specifies whether this specific minor version of the role template is - enabled. - """ - create_timestamp: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the role template version - was created. - """ - update_timestamp: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the role template version - was last updated. - """ - -@dataclass(kw_only=True) -class RoleUsageType(_SerdeShape): - """ - An object that contains details about how a service-linked role is used, - if that information is returned by the service. - - This data type is used as a response element in the - [GetServiceLinkedRoleDeletionStatus](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLinkedRoleDeletionStatus.html) - operation. - """ - - region: str | None = ... - """The name of the Region where the service-linked role is being used.""" - resources: list[str] | None = ... - """The name of the resource that is using the service-linked role.""" - -@dataclass(kw_only=True) -class SAMLPrivateKey(_SerdeShape): - """ - Contains the private keys for the SAML provider. - - This data type is used as a response element in the - [GetSAMLProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html) - operation. - """ - - key_id: str | None = ... - """The unique identifier for the SAML private key.""" - timestamp: datetime | None = ... - """ - The date and time, in [ISO 8601 - date-time](http://www.iso.org/iso/iso8601) format, when the private key - was uploaded. - """ - -@dataclass(kw_only=True) -class SAMLProviderListEntry(_SerdeShape): - """Contains the list of SAML providers for this account.""" - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the SAML provider.""" - valid_until: datetime | None = ... - """The expiration date and time for the SAML provider.""" - create_date: datetime | None = ... - """The date and time when the SAML provider was created.""" - -@dataclass(kw_only=True) -class SendDelegationTokenInput(_SerdeShape): - """Dataclass for SendDelegationTokenInput structure.""" - - delegation_request_id: str | None = ... - """ - The unique identifier of the delegation request for which to send the - token. - """ - -@dataclass(kw_only=True) -class SendDelegationTokenOutput(_SerdeShape): - """Dataclass for SendDelegationTokenOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServerCertificate(_SerdeShape): - """ - Contains information about a server certificate. - - This data type is used as a response element in the - [GetServerCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServerCertificate.html) - operation. - """ - - server_certificate_metadata: ServerCertificateMetadata - """ - The meta information of the server certificate, such as its name, path, - ID, and ARN. - """ - certificate_body: str - """The contents of the public key certificate.""" - certificate_chain: str | None = ... - """The contents of the public key certificate chain.""" - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the server certificate. For more - information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class ServerCertificateMetadata(_SerdeShape): - """ - Contains information about a server certificate without its certificate - body, certificate chain, and private key. - - This data type is used as a response element in the - [UploadServerCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadServerCertificate.html) - and - [ListServerCertificates](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListServerCertificates.html) - operations. - """ - - path: str - """ - The path to the server certificate. For more information about paths, - see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - server_certificate_name: str - """The name that identifies the server certificate.""" - server_certificate_id: str - """ - The stable and unique string identifying the server certificate. For - more information about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str - """ - The Amazon Resource Name (ARN) specifying the server certificate. For - more information about ARNs and how to use them in policies, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - upload_date: datetime | None = ... - """The date when the server certificate was uploaded.""" - expiration: datetime | None = ... - """The date on which the certificate is set to expire.""" - -@dataclass(kw_only=True) -class ServiceAccessNotEnabledException(ServiceError, _SerdeShape): - """ - The request was rejected because trusted access is not enabled for IAM - in Organizations. For details, see IAM and Organizations in the - *Organizations User Guide*. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceFailureException(ServiceError, _SerdeShape): - """ - The request processing has failed because of an unknown error, exception - or failure. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceLastAccessed(_SerdeShape): - """ - Contains details about the most recent attempt to access the service. - - This data type is used as a response element in the - [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html) - operation. - """ - - service_name: str - """The name of the service in which access was attempted.""" - last_authenticated: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when an authenticated entity - most recently attempted to access the service. Amazon Web Services does - not report unauthenticated requests. - - This field is null if no IAM entities attempted to access the service - within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - service_namespace: str - """ - The namespace of the service in which access was attempted. - - To learn the service namespace of a service, see [Actions, resources, - and condition keys for Amazon Web Services - services](https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html) - in the *Service Authorization Reference*. Choose the name of the service - to view details for that service. In the first paragraph, find the - service prefix. For example, `(service prefix: a4b)`. For more - information about service namespaces, see [Amazon Web Services Service - Namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) - in the *Amazon Web Services General Reference*. - """ - last_authenticated_entity: str | None = ... - """ - The ARN of the authenticated entity (user or role) that last attempted - to access the service. Amazon Web Services does not report - unauthenticated requests. - - This field is null if no IAM entities attempted to access the service - within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - last_authenticated_region: str | None = ... - """ - The Region from which the authenticated entity (user or role) last - attempted to access the service. Amazon Web Services does not report - unauthenticated requests. - - This field is null if no IAM entities attempted to access the service - within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - total_authenticated_entities: int | None = ... - """ - The total number of authenticated principals (root user, IAM users, or - IAM roles) that have attempted to access the service. - - This field is null if no principals attempted to access the service - within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - tracked_actions_last_accessed: list[TrackedActionLastAccessed] | None = ... - """ - An object that contains details about the most recent attempt to access - a tracked action within the service. - - This field is null if there no tracked actions or if the principal did - not use the tracked actions within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - This field is also null if the report was generated at the service level - and not the action level. For more information, see the `Granularity` - field in - [GenerateServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GenerateServiceLastAccessedDetails.html). - """ - -@dataclass(kw_only=True) -class ServiceNotSupportedException(ServiceError, _SerdeShape): - """The specified service does not support service-specific credentials.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceSpecificCredential(_SerdeShape): - """Contains the details of a service-specific credential.""" - - create_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the service-specific - credential were created. - """ - expiration_date: datetime | None = ... - """ - The date and time when the service specific credential expires. This - field is only present for Bedrock API keys and CloudWatch Logs API keys - that were created with an expiration period. - """ - service_name: str - """The name of the service associated with the service-specific credential.""" - service_user_name: str = ... - """ - The generated user name for the service-specific credential. This value - is generated by combining the IAM user's name combined with the ID - number of the Amazon Web Services account, as in `jane-at-123456789012`, - for example. This value cannot be configured by the user. - """ - service_password: str = ... - """The generated password for the service-specific credential.""" - service_credential_alias: str | None = ... - """ - For Bedrock API keys and CloudWatch Logs API keys, this is the public - portion of the credential that includes the IAM user name and a suffix - containing version and creation information. - """ - service_credential_secret: str | None = ... - """ - For Bedrock API keys and CloudWatch Logs API keys, this is the secret - portion of the credential that should be used to authenticate API calls. - This value is returned only when the credential is created. - """ - service_specific_credential_id: str - """The unique identifier for the service-specific credential.""" - user_name: str - """ - The name of the IAM user associated with the service-specific - credential. - """ - status: str - """ - The status of the service-specific credential. `Active` means that the - key is valid for API calls, while `Inactive` means it is not. - """ - -@dataclass(kw_only=True) -class ServiceSpecificCredentialMetadata(_SerdeShape): - """Contains additional details about a service-specific credential.""" - - user_name: str - """ - The name of the IAM user associated with the service-specific - credential. - """ - status: str - """ - The status of the service-specific credential. `Active` means that the - key is valid for API calls, while `Inactive` means it is not. - """ - service_user_name: str = ... - """The generated user name for the service-specific credential.""" - service_credential_alias: str | None = ... - """ - For Bedrock API keys and CloudWatch Logs API keys, this is the public - portion of the credential that includes the IAM user name and a suffix - containing version and creation information. - """ - create_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the service-specific - credential were created. - """ - expiration_date: datetime | None = ... - """ - The date and time when the service specific credential expires. This - field is only present for Bedrock API keys and CloudWatch Logs API keys - that were created with an expiration period. - """ - service_specific_credential_id: str - """The unique identifier for the service-specific credential.""" - service_name: str - """The name of the service associated with the service-specific credential.""" - -@dataclass(kw_only=True) -class SetDefaultPolicyVersionInput(_SerdeShape): - """Dataclass for SetDefaultPolicyVersionInput structure.""" - - policy_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM policy whose default version - you want to set. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - version_id: str | None = ... - """ - The version of the policy to set as the default (operative) version. - - For more information about managed policy versions, see [Versioning for - managed - policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class SetDefaultPolicyVersionOutput(_SerdeShape): - """Dataclass for SetDefaultPolicyVersionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SetSecurityTokenServicePreferencesInput(_SerdeShape): - """Dataclass for SetSecurityTokenServicePreferencesInput structure.""" - - global_endpoint_token_version: str | None = ... - """ - The version of the global endpoint token. Version 1 tokens are valid - only in Amazon Web Services Regions that are available by default. These - tokens do not work in manually enabled Regions, such as Asia Pacific - (Hong Kong). Version 2 tokens are valid in all Regions. However, version - 2 tokens are longer and might affect systems where you temporarily store - tokens. - - For information, see [Activating and deactivating STS in an Amazon Web - Services - Region](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class SetSecurityTokenServicePreferencesOutput(_SerdeShape): - """Dataclass for SetSecurityTokenServicePreferencesOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SigningCertificate(_SerdeShape): - """ - Contains information about an X.509 signing certificate. - - This data type is used as a response element in the - [UploadSigningCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSigningCertificate.html) - and - [ListSigningCertificates](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSigningCertificates.html) - operations. - """ - - user_name: str - """The name of the user the signing certificate is associated with.""" - certificate_id: str - """The ID for the signing certificate.""" - certificate_body: str - """The contents of the signing certificate.""" - status: str - """ - The status of the signing certificate. `Active` means that the key is - valid for API calls, while `Inactive` means it is not. - """ - upload_date: datetime | None = ... - """The date when the signing certificate was uploaded.""" - -@dataclass(kw_only=True) -class SimulateCustomPolicyInput(_SerdeShape): - """Dataclass for SimulateCustomPolicyInput structure.""" - - policy_input_list: list[str] | None = ... - """ - A list of policy documents to include in the simulation. Each document - is specified as a string containing the complete, valid JSON text of an - IAM policy. Do not include any resource-based policies in this - parameter. Any resource-based policy must be submitted with the - `ResourcePolicy` parameter. The policies cannot be \"scope-down\" - policies, such as you could include in a call to - [GetFederationToken](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetFederationToken.html) - or one of the - [AssumeRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_AssumeRole.html) - API operations. In other words, do not use policies designed to restrict - what a user can do while using the temporary credentials. - - The maximum length of the policy document that you can pass in this - operation, including whitespace, is listed below. To view the maximum - character counts of a managed policy with no whitespaces, see [IAM and - STS character - quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - permissions_boundary_policy_input_list: list[str] | None = ... - """ - The IAM permissions boundary policy to simulate. The permissions - boundary sets the maximum permissions that an IAM entity can have. You - can input only one permissions boundary when you pass a policy to this - operation. For more information about permissions boundaries, see - [Permissions boundaries for IAM - entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. The policy input is specified as a string that - contains the complete, valid JSON text of a permissions boundary policy. - - The maximum length of the policy document that you can pass in this - operation, including whitespace, is listed below. To view the maximum - character counts of a managed policy with no whitespaces, see [IAM and - STS character - quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - ordered_organization_policy_input_list: ( - list[OrderedOrganizationPolicyType] | None - ) = ... - """ - An ordered list of service control policies (SCPs) to include in the - simulation. Each element represents one level of an Organizations - hierarchy, from the organization root to the account. - - The simulator evaluates SCPs in the order that you provide, consistent - with how Organizations enforces SCPs. The first element must represent - the organization root, and the last element must represent the account. - Any elements between them represent organizational units (OUs) in - descending order. - - Use this parameter to simulate the effect of an SCP hierarchy without - calling - [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html). - """ - action_names: list[str] | None = ... - """ - A list of names of API operations to evaluate in the simulation. Each - operation is evaluated against each resource. Each operation must - include the service identifier, such as `iam:CreateUser`. This operation - does not support using wildcards (*) in an action name. - """ - resource_arns: list[str] | None = ... - """ - A list of ARNs of Amazon Web Services resources to include in the - simulation. If this parameter is not provided, then the value defaults - to `*` (all resources). Each API in the `ActionNames` parameter is - evaluated for each resource in this list. The simulation determines the - access result (allowed or denied) of each combination and reports it in - the response. You can simulate resources that don't exist in your - account. - - The simulation does not automatically retrieve policies for the - specified resources. If you want to include a resource policy in the - simulation, then you must include the policy as a string in the - `ResourcePolicy` parameter. - - If you include a `ResourcePolicy`, then it must be applicable to all of - the resources included in the simulation or you receive an invalid input - error. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - - Note: - Simulation of resource-based policies isn't supported for IAM roles. - """ - resource_policy: str | None = ... - """ - A resource-based policy to include in the simulation provided as a - string. Each resource in the simulation is treated as if it had this - policy attached. You can include only one resource-based policy in a - simulation. - - The maximum length of the policy document that you can pass in this - operation, including whitespace, is listed below. To view the maximum - character counts of a managed policy with no whitespaces, see [IAM and - STS character - quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - - Note: - Simulation of resource-based policies isn't supported for IAM roles. - """ - resource_owner: str | None = ... - """ - An ARN representing the Amazon Web Services account ID that specifies - the owner of any simulated resource that does not identify its owner in - the resource ARN. Examples of resource ARNs include an S3 bucket or - object. If `ResourceOwner` is specified, it is also used as the account - owner of any `ResourcePolicy` included in the simulation. If the - `ResourceOwner` parameter is not specified, then the owner of the - resources and the resource policy defaults to the account of the - identity provided in `CallerArn`. This parameter is required only if you - specify a resource-based policy and account that owns the resource is - different from the account that owns the simulated calling user - `CallerArn`. - - The ARN for an account uses the following syntax: - `arn:aws:iam::`*`AWS-account-ID`*`:root`. For example, to represent the - account with the 112233445566 ID, use the following ARN: - `arn:aws:iam::112233445566-ID:root`. - """ - caller_arn: str | None = ... - """ - The ARN of the IAM user, group, or role that you want to use as the - simulated caller of the API operations. `CallerArn` is required if you - include a `ResourcePolicy` so that the policy's `Principal` element has - a value to use in evaluating the policy. - - You cannot specify the ARN of an assumed role, federated user, or a - service principal. - """ - context_entries: list[ContextEntry] | None = ... - """ - A list of context keys and corresponding values for the simulation to - use. Whenever a context key is evaluated in one of the simulated IAM - permissions policies, the corresponding value is supplied. - """ - resource_handling_option: str | None = ... - """ - Specifies the type of simulation to run. Different API operations that - support resource-based policies require different combinations of - resources. By specifying the type of simulation to run, you enable the - policy simulator to enforce the presence of the required resources to - ensure reliable simulation results. If your simulation does not match - one of the following scenarios, then you can omit this parameter. The - following list shows each of the supported scenario values and the - resources that you must define to run the simulation. - - Each of the Amazon EC2 scenarios requires that you specify instance, - image, and security group resources. If your scenario includes an EBS - volume, then you must specify that volume as a resource. If the Amazon - EC2 scenario includes VPC, then you must supply the network interface - resource. If it includes an IP subnet, then you must specify the subnet - resource. For more information on the Amazon EC2 scenario options, see - [Supported - platforms](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html) - in the *Amazon EC2 User Guide*. - - - **EC2-VPC-InstanceStore** - - instance, image, security group, network interface - - - **EC2-VPC-InstanceStore-Subnet** - - instance, image, security group, network interface, subnet - - - **EC2-VPC-EBS** - - instance, image, security group, network interface, volume - - - **EC2-VPC-EBS-Subnet** - - instance, image, security group, network interface, subnet, volume - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - -@dataclass(kw_only=True) -class SimulateCustomPolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html) - or - [SimulateCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html) - request. - """ - - evaluation_results: list[EvaluationResult] | None = ... - """The results of the simulation.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SimulatePrincipalPolicyInput(_SerdeShape): - """Dataclass for SimulatePrincipalPolicyInput structure.""" - - policy_source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a user, group, or role whose policies - you want to include in the simulation. If you specify a user, group, or - role, the simulation includes all policies that are associated with that - entity. If you specify a user, the simulation also includes all policies - that are attached to any groups the user belongs to. - - The maximum length of the policy document that you can pass in this - operation, including whitespace, is listed below. To view the maximum - character counts of a managed policy with no whitespaces, see [IAM and - STS character - quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - policy_input_list: list[str] | None = ... - """ - An optional list of additional policy documents to include in the - simulation. Each document is specified as a string containing the - complete, valid JSON text of an IAM policy. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - permissions_boundary_policy_input_list: list[str] | None = ... - """ - The IAM permissions boundary policy to simulate. The permissions - boundary sets the maximum permissions that the entity can have. You can - input only one permissions boundary when you pass a policy to this - operation. An IAM entity can only have one permissions boundary in - effect at a time. For example, if a permissions boundary is attached to - an entity and you pass in a different permissions boundary policy using - this parameter, then the new permissions boundary policy is used for the - simulation. For more information about permissions boundaries, see - [Permissions boundaries for IAM - entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. The policy input is specified as a string - containing the complete, valid JSON text of a permissions boundary - policy. - - The maximum length of the policy document that you can pass in this - operation, including whitespace, is listed below. To view the maximum - character counts of a managed policy with no whitespaces, see [IAM and - STS character - quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - policy_exclusion_list: list[PolicyIdentifier] | None = ... - """ - A list of policies to exclude from the simulation. Use this parameter to - test what the simulation result would be if a policy were removed, - without changing which policies are actually attached to the principal - identified by `PolicySourceArn`. - - Each entry is a - [PolicyIdentifier](https://docs.aws.amazon.com/IAM/latest/APIReference/API_PolicyIdentifier.html) - that identifies one or more policies to exclude by policy type, by - Amazon Resource Name (ARN), or by the name of an inline policy and the - entity it is attached to. - - Syntactically invalid identifiers, such as malformed ARNs or wildcards - in disallowed positions, cause the request to fail with an - `InvalidInput` error. Syntactically valid identifiers that don't match - any attached policy are ignored. Resource control policies (RCPs) are - not supported in this release; identifiers that target RCPs are also - ignored. - """ - action_names: list[str] | None = ... - """ - A list of names of API operations to evaluate in the simulation. Each - operation is evaluated for each resource. Each operation must include - the service identifier, such as `iam:CreateUser`. - """ - resource_arns: list[str] | None = ... - """ - A list of ARNs of Amazon Web Services resources to include in the - simulation. If this parameter is not provided, then the value defaults - to `*` (all resources). Each API in the `ActionNames` parameter is - evaluated for each resource in this list. The simulation determines the - access result (allowed or denied) of each combination and reports it in - the response. You can simulate resources that don't exist in your - account. - - The simulation does not automatically retrieve policies for the - specified resources. If you want to include a resource policy in the - simulation, then you must include the policy as a string in the - `ResourcePolicy` parameter. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - - Note: - Simulation of resource-based policies isn't supported for IAM roles. - """ - resource_policy: str | None = ... - """ - A resource-based policy to include in the simulation provided as a - string. Each resource in the simulation is treated as if it had this - policy attached. You can include only one resource-based policy in a - simulation. - - The maximum length of the policy document that you can pass in this - operation, including whitespace, is listed below. To view the maximum - character counts of a managed policy with no whitespaces, see [IAM and - STS character - quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length). - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - - Note: - Simulation of resource-based policies isn't supported for IAM roles. - """ - resource_owner: str | None = ... - """ - An Amazon Web Services account ID that specifies the owner of any - simulated resource that does not identify its owner in the resource ARN. - Examples of resource ARNs include an S3 bucket or object. If - `ResourceOwner` is specified, it is also used as the account owner of - any `ResourcePolicy` included in the simulation. If the `ResourceOwner` - parameter is not specified, then the owner of the resources and the - resource policy defaults to the account of the identity provided in - `CallerArn`. This parameter is required only if you specify a - resource-based policy and account that owns the resource is different - from the account that owns the simulated calling user `CallerArn`. - """ - caller_arn: str | None = ... - """ - The ARN of the IAM user, group, or role that you want to specify as the - simulated caller of the API operations. If you do not specify a - `CallerArn`, it defaults to the ARN of the user, group, or role that you - specify in `PolicySourceArn`. If you include both a `PolicySourceArn` - (for example, `arn:aws:iam::123456789012:user/David`) and a `CallerArn` - (for example, `arn:aws:iam::123456789012:user/Bob`), the result is that - you simulate calling the API operations as Bob, as if Bob had David's - policies. - - You can specify the ARN of an IAM user, group, or role. You cannot - specify the ARN of an assumed role, federated user, or a service - principal. - - `CallerArn` is required if you include a `ResourcePolicy` and the - `PolicySourceArn` is not the ARN for an IAM user, group, or role. This - is required so that the resource-based policy's `Principal` element has - a value to use in evaluating the policy. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - context_entries: list[ContextEntry] | None = ... - """ - A list of context keys and corresponding values for the simulation to - use. Whenever a context key is evaluated in one of the simulated IAM - permissions policies, the corresponding value is supplied. - """ - resource_handling_option: str | None = ... - """ - Specifies the type of simulation to run. Different API operations that - support resource-based policies require different combinations of - resources. By specifying the type of simulation to run, you enable the - policy simulator to enforce the presence of the required resources to - ensure reliable simulation results. If your simulation does not match - one of the following scenarios, then you can omit this parameter. The - following list shows each of the supported scenario values and the - resources that you must define to run the simulation. - - Each of the Amazon EC2 scenarios requires that you specify instance, - image, and security group resources. If your scenario includes an EBS - volume, then you must specify that volume as a resource. If the Amazon - EC2 scenario includes VPC, then you must supply the network interface - resource. If it includes an IP subnet, then you must specify the subnet - resource. For more information on the Amazon EC2 scenario options, see - [Supported - platforms](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html) - in the *Amazon EC2 User Guide*. - - - **EC2-VPC-InstanceStore** - - instance, image, security group, network interface - - - **EC2-VPC-InstanceStore-Subnet** - - instance, image, security group, network interface, subnet - - - **EC2-VPC-EBS** - - instance, image, security group, network interface, volume - - - **EC2-VPC-EBS-Subnet** - - instance, image, security group, network interface, subnet, volume - """ - max_items: int | None = ... - """ - Use this only when paginating results to indicate the maximum number of - items you want in the response. If additional items exist beyond the - maximum you specify, the `IsTruncated` response element is `true`. - - If you do not include this parameter, the number of items defaults to - 100. Note that IAM might return fewer results, even when there are more - results available. In that case, the `IsTruncated` response element - returns `true`, and `Marker` contains a value to include in the - subsequent call that tells the service where to continue from. - """ - marker: str | None = ... - """ - Use this parameter only when paginating results and only after you - receive a response indicating that the results are truncated. Set it to - the value of the `Marker` element in the response that you received to - indicate where the next call should start. - """ - -@dataclass(kw_only=True) -class SimulatePrincipalPolicyOutput(_SerdeShape): - """ - Contains the response to a successful - [SimulatePrincipalPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html) - or - [SimulateCustomPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html) - request. - """ - - evaluation_results: list[EvaluationResult] | None = ... - """The results of the simulation.""" - is_truncated: bool = ... - """ - A flag that indicates whether there are more items to return. If your - results were truncated, you can make a subsequent pagination request - using the `Marker` request parameter to retrieve more items. Note that - IAM might return fewer than the `MaxItems` number of results even when - there are more results available. We recommend that you check - `IsTruncated` after every call to ensure that you receive all your - results. - """ - marker: str | None = ... - """ - When `IsTruncated` is `true`, this element is present and contains the - value to use for the `Marker` parameter in a subsequent pagination - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class SortKeyType(UnknownEnumMixin, StrEnum): - SERVICE_NAMESPACE_ASCENDING = "SERVICE_NAMESPACE_ASCENDING" - SERVICE_NAMESPACE_DESCENDING = "SERVICE_NAMESPACE_DESCENDING" - LAST_AUTHENTICATED_TIME_ASCENDING = "LAST_AUTHENTICATED_TIME_ASCENDING" - LAST_AUTHENTICATED_TIME_DESCENDING = "LAST_AUTHENTICATED_TIME_DESCENDING" - -@dataclass(kw_only=True) -class SourceRoleTemplate(_SerdeShape): - """ - Contains information about the role template that a role was created - from. - """ - - template_arn: str - """ - The Amazon Resource Name (ARN) of the role template that the role was - created from. - """ - template_minor_version: int - """The minor version of the role template that was used to create the role.""" - -@dataclass(kw_only=True) -class SSHPublicKey(_SerdeShape): - """ - Contains information about an SSH public key. - - This data type is used as a response element in the - [GetSSHPublicKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSSHPublicKey.html) - and - [UploadSSHPublicKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSSHPublicKey.html) - operations. - """ - - user_name: str - """The name of the IAM user associated with the SSH public key.""" - ssh_public_key_id: str - """The unique identifier for the SSH public key.""" - fingerprint: str - """The MD5 message digest of the SSH public key.""" - ssh_public_key_body: str - """The SSH public key.""" - status: str - """ - The status of the SSH public key. `Active` means that the key can be - used for authentication with an CodeCommit repository. `Inactive` means - that the key cannot be used. - """ - upload_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the SSH public key was - uploaded. - """ - -@dataclass(kw_only=True) -class SSHPublicKeyMetadata(_SerdeShape): - """ - Contains information about an SSH public key, without the key's body or - fingerprint. - - This data type is used as a response element in the - [ListSSHPublicKeys](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSSHPublicKeys.html) - operation. - """ - - user_name: str - """The name of the IAM user associated with the SSH public key.""" - ssh_public_key_id: str - """The unique identifier for the SSH public key.""" - status: str - """ - The status of the SSH public key. `Active` means that the key can be - used for authentication with an CodeCommit repository. `Inactive` means - that the key cannot be used. - """ - upload_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the SSH public key was - uploaded. - """ - -@dataclass(kw_only=True) -class Statement(_SerdeShape): - """ - Contains a reference to a `Statement` element in a policy document that - determines the result of the simulation. - - This data type is used by the `MatchedStatements` member of the - ` `[`EvaluationResult`](https://docs.aws.amazon.com/IAM/latest/APIReference/API_EvaluationResult.html)` ` - type. - """ - - source_policy_id: str | None = ... - """The identifier of the policy that was provided as an input.""" - source_policy_type: str | None = ... - """The type of the policy.""" - start_position: Position | None = ... - """The row and column of the beginning of the `Statement` in an IAM policy.""" - end_position: Position | None = ... - """The row and column of the end of a `Statement` in an IAM policy.""" - -class StateType(UnknownEnumMixin, StrEnum): - UNASSIGNED = "UNASSIGNED" - ASSIGNED = "ASSIGNED" - PENDING_APPROVAL = "PENDING_APPROVAL" - FINALIZED = "FINALIZED" - ACCEPTED = "ACCEPTED" - REJECTED = "REJECTED" - EXPIRED = "EXPIRED" - -class StatusType(UnknownEnumMixin, StrEnum): - ACTIVE = "Active" - INACTIVE = "Inactive" - EXPIRED = "Expired" - -class SummaryKeyType(UnknownEnumMixin, StrEnum): - USERS = "Users" - USERS_QUOTA = "UsersQuota" - GROUPS = "Groups" - GROUPS_QUOTA = "GroupsQuota" - SERVER_CERTIFICATES = "ServerCertificates" - SERVER_CERTIFICATES_QUOTA = "ServerCertificatesQuota" - USER_POLICY_SIZE_QUOTA = "UserPolicySizeQuota" - GROUP_POLICY_SIZE_QUOTA = "GroupPolicySizeQuota" - GROUPS_PER_USER_QUOTA = "GroupsPerUserQuota" - SIGNING_CERTIFICATES_PER_USER_QUOTA = "SigningCertificatesPerUserQuota" - ACCESS_KEYS_PER_USER_QUOTA = "AccessKeysPerUserQuota" - MFA_DEVICES = "MFADevices" - MFA_DEVICES_IN_USE = "MFADevicesInUse" - ACCOUNT_MFA_ENABLED = "AccountMFAEnabled" - ACCOUNT_ACCESS_KEYS_PRESENT = "AccountAccessKeysPresent" - ACCOUNT_PASSWORD_PRESENT = "AccountPasswordPresent" - ACCOUNT_SIGNING_CERTIFICATES_PRESENT = "AccountSigningCertificatesPresent" - ATTACHED_POLICIES_PER_GROUP_QUOTA = "AttachedPoliciesPerGroupQuota" - ATTACHED_POLICIES_PER_ROLE_QUOTA = "AttachedPoliciesPerRoleQuota" - ATTACHED_POLICIES_PER_USER_QUOTA = "AttachedPoliciesPerUserQuota" - POLICIES = "Policies" - POLICIES_QUOTA = "PoliciesQuota" - POLICY_SIZE_QUOTA = "PolicySizeQuota" - POLICY_VERSIONS_IN_USE = "PolicyVersionsInUse" - POLICY_VERSIONS_IN_USE_QUOTA = "PolicyVersionsInUseQuota" - VERSIONS_PER_POLICY_QUOTA = "VersionsPerPolicyQuota" - GLOBAL_ENDPOINT_TOKEN_VERSION = "GlobalEndpointTokenVersion" - ASSUME_ROLE_POLICY_SIZE_QUOTA = "AssumeRolePolicySizeQuota" - INSTANCE_PROFILES = "InstanceProfiles" - INSTANCE_PROFILES_QUOTA = "InstanceProfilesQuota" - PROVIDERS = "Providers" - ROLE_POLICY_SIZE_QUOTA = "RolePolicySizeQuota" - ROLES = "Roles" - ROLES_QUOTA = "RolesQuota" - -class SummaryStateType(UnknownEnumMixin, StrEnum): - AVAILABLE = "AVAILABLE" - NOT_AVAILABLE = "NOT_AVAILABLE" - NOT_SUPPORTED = "NOT_SUPPORTED" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """ - A structure that represents user-provided metadata that can be - associated with an IAM resource. For more information about tagging, see - [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - - key: str - """ - The key name that can be used to look up or retrieve the associated - value. For example, `Department` or `Cost Center` are common choices. - """ - value: str - """ - The value associated with this tag. For example, tags with a key name of - `Department` could have values such as `Human Resources`, `Accounting`, - and `Support`. Tags with a key name of `Cost Center` might have values - that consist of the number associated with the different cost centers in - your company. Typically, many resources have tags with the same key name - but with different values. - """ - -@dataclass(kw_only=True) -class TagInstanceProfileInput(_SerdeShape): - """Dataclass for TagInstanceProfileInput structure.""" - - instance_profile_name: str | None = ... - """ - The name of the IAM instance profile to which you want to add tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - The list of tags that you want to attach to the IAM instance profile. - Each tag consists of a key name and an associated value. - """ - -@dataclass(kw_only=True) -class TagInstanceProfileOutput(_SerdeShape): - """Dataclass for TagInstanceProfileOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TagMFADeviceInput(_SerdeShape): - """Dataclass for TagMFADeviceInput structure.""" - - serial_number: str | None = ... - """ - The unique identifier for the IAM virtual MFA device to which you want - to add tags. For virtual MFA devices, the serial number is the same as - the ARN. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - The list of tags that you want to attach to the IAM virtual MFA device. - Each tag consists of a key name and an associated value. - """ - -@dataclass(kw_only=True) -class TagMFADeviceOutput(_SerdeShape): - """Dataclass for TagMFADeviceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TagOpenIDConnectProviderInput(_SerdeShape): - """Dataclass for TagOpenIDConnectProviderInput structure.""" - - open_id_connect_provider_arn: str | None = ... - """ - The ARN of the OIDC identity provider in IAM to which you want to add - tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - The list of tags that you want to attach to the OIDC identity provider - in IAM. Each tag consists of a key name and an associated value. - """ - -@dataclass(kw_only=True) -class TagOpenIDConnectProviderOutput(_SerdeShape): - """Dataclass for TagOpenIDConnectProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TagPolicyInput(_SerdeShape): - """Dataclass for TagPolicyInput structure.""" - - policy_arn: str | None = ... - """ - The ARN of the IAM customer managed policy to which you want to add - tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - The list of tags that you want to attach to the IAM customer managed - policy. Each tag consists of a key name and an associated value. - """ - -@dataclass(kw_only=True) -class TagPolicyOutput(_SerdeShape): - """Dataclass for TagPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TagRoleInput(_SerdeShape): - """Dataclass for TagRoleInput structure.""" - - role_name: str | None = ... - """ - The name of the IAM role to which you want to add tags. - - This parameter accepts (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - consist of upper and lowercase alphanumeric characters with no spaces. - You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - The list of tags that you want to attach to the IAM role. Each tag - consists of a key name and an associated value. - """ - -@dataclass(kw_only=True) -class TagRoleOutput(_SerdeShape): - """Dataclass for TagRoleOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TagSAMLProviderInput(_SerdeShape): - """Dataclass for TagSAMLProviderInput structure.""" - - saml_provider_arn: str | None = ... - """ - The ARN of the SAML identity provider in IAM to which you want to add - tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - The list of tags that you want to attach to the SAML identity provider - in IAM. Each tag consists of a key name and an associated value. - """ - -@dataclass(kw_only=True) -class TagSAMLProviderOutput(_SerdeShape): - """Dataclass for TagSAMLProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TagServerCertificateInput(_SerdeShape): - """Dataclass for TagServerCertificateInput structure.""" - - server_certificate_name: str | None = ... - """ - The name of the IAM server certificate to which you want to add tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - The list of tags that you want to attach to the IAM server certificate. - Each tag consists of a key name and an associated value. - """ - -@dataclass(kw_only=True) -class TagServerCertificateOutput(_SerdeShape): - """Dataclass for TagServerCertificateOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TagTemplate(_SerdeShape): - """ - Represents a tag that is applied to roles that are created from a role - template. The key and value can include `@{parameter}` placeholders that - are replaced with template parameter values when the role is created. - """ - - key: str - """The key name of the tag.""" - value: str - """The value associated with the tag key.""" - -@dataclass(kw_only=True) -class TagUserInput(_SerdeShape): - """Dataclass for TagUserInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user to which you want to add tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tags: list[Tag] | None = ... - """ - The list of tags that you want to attach to the IAM user. Each tag - consists of a key name and an associated value. - """ - -@dataclass(kw_only=True) -class TagUserOutput(_SerdeShape): - """Dataclass for TagUserOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TrackedActionLastAccessed(_SerdeShape): - """ - Contains details about the most recent attempt to access an action - within the service. - - This data type is used as a response element in the - [GetServiceLastAccessedDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetServiceLastAccessedDetails.html) - operation. - """ - - action_name: str | None = ... - """ - The name of the tracked action to which access was attempted. Tracked - actions are actions that report activity to IAM. - """ - last_accessed_entity: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - last_accessed_time: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when an authenticated entity - most recently attempted to access the tracked service. Amazon Web - Services does not report unauthenticated requests. - - This field is null if no IAM entities attempted to access the service - within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - last_accessed_region: str | None = ... - """ - The Region from which the authenticated entity (user or role) last - attempted to access the tracked action. Amazon Web Services does not - report unauthenticated requests. - - This field is null if no IAM entities attempted to access the service - within the [tracking - period](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). - """ - -@dataclass(kw_only=True) -class UnmodifiableEntityException(ServiceError, _SerdeShape): - """ - The request was rejected because service-linked roles are protected - Amazon Web Services resources. Only the service that depends on the - service-linked role can modify or delete the role on your behalf. The - error message includes the name of the service that depends on this - service-linked role. You must request the change through that service. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UnrecognizedPublicKeyEncodingException(ServiceError, _SerdeShape): - """ - The request was rejected because the public key encoding format is - unsupported or unrecognized. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagInstanceProfileInput(_SerdeShape): - """Dataclass for UntagInstanceProfileInput structure.""" - - instance_profile_name: str | None = ... - """ - The name of the IAM instance profile from which you want to remove tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tag_keys: list[str] | None = ... - """ - A list of key names as a simple array of strings. The tags with matching - keys are removed from the specified instance profile. - """ - -@dataclass(kw_only=True) -class UntagInstanceProfileOutput(_SerdeShape): - """Dataclass for UntagInstanceProfileOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagMFADeviceInput(_SerdeShape): - """Dataclass for UntagMFADeviceInput structure.""" - - serial_number: str | None = ... - """ - The unique identifier for the IAM virtual MFA device from which you want - to remove tags. For virtual MFA devices, the serial number is the same - as the ARN. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tag_keys: list[str] | None = ... - """ - A list of key names as a simple array of strings. The tags with matching - keys are removed from the specified instance profile. - """ - -@dataclass(kw_only=True) -class UntagMFADeviceOutput(_SerdeShape): - """Dataclass for UntagMFADeviceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagOpenIDConnectProviderInput(_SerdeShape): - """Dataclass for UntagOpenIDConnectProviderInput structure.""" - - open_id_connect_provider_arn: str | None = ... - """ - The ARN of the OIDC provider in IAM from which you want to remove tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tag_keys: list[str] | None = ... - """ - A list of key names as a simple array of strings. The tags with matching - keys are removed from the specified OIDC provider. - """ - -@dataclass(kw_only=True) -class UntagOpenIDConnectProviderOutput(_SerdeShape): - """Dataclass for UntagOpenIDConnectProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagPolicyInput(_SerdeShape): - """Dataclass for UntagPolicyInput structure.""" - - policy_arn: str | None = ... - """ - The ARN of the IAM customer managed policy from which you want to remove - tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tag_keys: list[str] | None = ... - """ - A list of key names as a simple array of strings. The tags with matching - keys are removed from the specified policy. - """ - -@dataclass(kw_only=True) -class UntagPolicyOutput(_SerdeShape): - """Dataclass for UntagPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagRoleInput(_SerdeShape): - """Dataclass for UntagRoleInput structure.""" - - role_name: str | None = ... - """ - The name of the IAM role from which you want to remove tags. - - This parameter accepts (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - consist of upper and lowercase alphanumeric characters with no spaces. - You can also include any of the following characters: _+=,.@- - """ - tag_keys: list[str] | None = ... - """ - A list of key names as a simple array of strings. The tags with matching - keys are removed from the specified role. - """ - -@dataclass(kw_only=True) -class UntagRoleOutput(_SerdeShape): - """Dataclass for UntagRoleOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagSAMLProviderInput(_SerdeShape): - """Dataclass for UntagSAMLProviderInput structure.""" - - saml_provider_arn: str | None = ... - """ - The ARN of the SAML identity provider in IAM from which you want to - remove tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tag_keys: list[str] | None = ... - """ - A list of key names as a simple array of strings. The tags with matching - keys are removed from the specified SAML identity provider. - """ - -@dataclass(kw_only=True) -class UntagSAMLProviderOutput(_SerdeShape): - """Dataclass for UntagSAMLProviderOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagServerCertificateInput(_SerdeShape): - """Dataclass for UntagServerCertificateInput structure.""" - - server_certificate_name: str | None = ... - """ - The name of the IAM server certificate from which you want to remove - tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tag_keys: list[str] | None = ... - """ - A list of key names as a simple array of strings. The tags with matching - keys are removed from the specified IAM server certificate. - """ - -@dataclass(kw_only=True) -class UntagServerCertificateOutput(_SerdeShape): - """Dataclass for UntagServerCertificateOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagUserInput(_SerdeShape): - """Dataclass for UntagUserInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user from which you want to remove tags. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - tag_keys: list[str] | None = ... - """ - A list of key names as a simple array of strings. The tags with matching - keys are removed from the specified user. - """ - -@dataclass(kw_only=True) -class UntagUserOutput(_SerdeShape): - """Dataclass for UntagUserOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAccessKeyInput(_SerdeShape): - """Dataclass for UpdateAccessKeyInput structure.""" - - user_name: str | None = ... - """ - The name of the user whose key you want to update. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - access_key_id: str | None = ... - """ - The access key ID of the secret access key you want to update. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - status: str | None = ... - """ - The status you want to assign to the secret access key. `Active` means - that the key can be used for programmatic calls to Amazon Web Services, - while `Inactive` means that the key cannot be used. - """ - -@dataclass(kw_only=True) -class UpdateAccessKeyOutput(_SerdeShape): - """Dataclass for UpdateAccessKeyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAccountPasswordPolicyInput(_SerdeShape): - """Dataclass for UpdateAccountPasswordPolicyInput structure.""" - - minimum_password_length: int | None = ... - """ - The minimum number of characters allowed in an IAM user password. - - If you do not specify a value for this parameter, then the operation - uses the default value of `6`. - """ - require_symbols: bool = ... - """ - Specifies whether IAM user passwords must contain at least one of the - following non-alphanumeric characters: - - ! @ # $ % ^ & * ( ) _ + - = [ ] { } | ' - - If you do not specify a value for this parameter, then the operation - uses the default value of `false`. The result is that passwords do not - require at least one symbol character. - """ - require_numbers: bool = ... - """ - Specifies whether IAM user passwords must contain at least one numeric - character (0 to 9). - - If you do not specify a value for this parameter, then the operation - uses the default value of `false`. The result is that passwords do not - require at least one numeric character. - """ - require_uppercase_characters: bool = ... - """ - Specifies whether IAM user passwords must contain at least one uppercase - character from the ISO basic Latin alphabet (A to Z). - - If you do not specify a value for this parameter, then the operation - uses the default value of `false`. The result is that passwords do not - require at least one uppercase character. - """ - require_lowercase_characters: bool = ... - """ - Specifies whether IAM user passwords must contain at least one lowercase - character from the ISO basic Latin alphabet (a to z). - - If you do not specify a value for this parameter, then the operation - uses the default value of `false`. The result is that passwords do not - require at least one lowercase character. - """ - allow_users_to_change_password: bool = ... - """ - Allows all IAM users in your account to use the Amazon Web Services - Management Console to change their own passwords. For more information, - see [Permitting IAM users to change their own - passwords](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_enable-user-change.html) - in the *IAM User Guide*. - - If you do not specify a value for this parameter, then the operation - uses the default value of `false`. The result is that IAM users in the - account do not automatically have permissions to change their own - password. - """ - max_password_age: int | None = ... - """ - The number of days that an IAM user password is valid. - - If you do not specify a value for this parameter, then the operation - uses the default value of `0`. The result is that IAM user passwords - never expire. - """ - password_reuse_prevention: int | None = ... - """ - Specifies the number of previous passwords that IAM users are prevented - from reusing. - - If you do not specify a value for this parameter, then the operation - uses the default value of `0`. The result is that IAM users are not - prevented from reusing previous passwords. - """ - hard_expiry: bool | None = ... - """ - Prevents IAM users who are accessing the account via the Amazon Web - Services Management Console from setting a new console password after - their password has expired. The IAM user cannot access the console until - an administrator resets the password. - - If you do not specify a value for this parameter, then the operation - uses the default value of `false`. The result is that IAM users can - change their passwords after they expire and continue to sign in as the - user. - - Note: - In the Amazon Web Services Management Console, the custom password - policy option **Allow users to change their own password** gives IAM - users permissions to `iam:ChangePassword` for only their user and to the - `iam:GetAccountPasswordPolicy` action. This option does not attach a - permissions policy to each user, rather the permissions are applied at - the account-level for all users by IAM. IAM users with - `iam:ChangePassword` permission and active access keys can reset their - own expired console password using the CLI or API. - """ - -@dataclass(kw_only=True) -class UpdateAccountPasswordPolicyOutput(_SerdeShape): - """Dataclass for UpdateAccountPasswordPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAssumeRolePolicyInput(_SerdeShape): - """Dataclass for UpdateAssumeRolePolicyInput structure.""" - - role_name: str | None = ... - """ - The name of the role to update with the new policy. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - policy_document: str | None = ... - """ - The policy that grants an entity permission to assume the role. - - You must provide policies in JSON format in IAM. However, for - CloudFormation templates formatted in YAML, you can provide the policy - in JSON or YAML format. CloudFormation always converts a YAML policy to - JSON format before submitting it to IAM. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - -@dataclass(kw_only=True) -class UpdateAssumeRolePolicyOutput(_SerdeShape): - """Dataclass for UpdateAssumeRolePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDelegationRequestInput(_SerdeShape): - """Dataclass for UpdateDelegationRequestInput structure.""" - - delegation_request_id: str | None = ... - """The unique identifier of the delegation request to update.""" - notes: str | None = ... - """Additional notes or comments to add to the delegation request.""" - -@dataclass(kw_only=True) -class UpdateDelegationRequestOutput(_SerdeShape): - """Dataclass for UpdateDelegationRequestOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateGroupInput(_SerdeShape): - """Dataclass for UpdateGroupInput structure.""" - - group_name: str | None = ... - """ - Name of the IAM group to update. If you're changing the name of the - group, this is the original name. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - new_path: str | None = ... - """ - New path for the IAM group. Only include this if changing the group's - path. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - new_group_name: str | None = ... - """ - New name for the IAM group. Only include this if changing the group's - name. - - IAM user, group, role, and policy names must be unique within the - account. Names are not distinguished by case. For example, you cannot - create resources named both \"MyResource\" and \"myresource\". - """ - -@dataclass(kw_only=True) -class UpdateGroupOutput(_SerdeShape): - """Dataclass for UpdateGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateLoginProfileInput(_SerdeShape): - """Dataclass for UpdateLoginProfileInput structure.""" - - user_name: str | None = ... - """ - The name of the user whose password you want to update. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - password: str | None = ... - """ - The new password for the specified IAM user. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - - However, the format can be further restricted by the account - administrator by setting a password policy on the Amazon Web Services - account. For more information, see - [UpdateAccountPasswordPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAccountPasswordPolicy.html). - """ - password_reset_required: bool | None = ... - """ - Allows this new password to be used only once by requiring the specified - IAM user to set a new password on next sign-in. - """ - -@dataclass(kw_only=True) -class UpdateLoginProfileOutput(_SerdeShape): - """Dataclass for UpdateLoginProfileOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateOpenIDConnectProviderThumbprintInput(_SerdeShape): - """Dataclass for UpdateOpenIDConnectProviderThumbprintInput structure.""" - - open_id_connect_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM OIDC provider resource object - for which you want to update the thumbprint. You can get a list of OIDC - provider ARNs by using the - [ListOpenIDConnectProviders](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html) - operation. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - thumbprint_list: list[str] | None = ... - """ - A list of certificate thumbprints that are associated with the specified - IAM OpenID Connect provider. For more information, see - [CreateOpenIDConnectProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html). - """ - -@dataclass(kw_only=True) -class UpdateOpenIDConnectProviderThumbprintOutput(_SerdeShape): - """Dataclass for UpdateOpenIDConnectProviderThumbprintOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRoleDescriptionInput(_SerdeShape): - """Dataclass for UpdateRoleDescriptionInput structure.""" - - role_name: str | None = ... - """The name of the role that you want to modify.""" - description: str | None = ... - """The new description that you want to apply to the specified role.""" - -@dataclass(kw_only=True) -class UpdateRoleDescriptionOutput(_SerdeShape): - """Dataclass for UpdateRoleDescriptionOutput structure.""" - - role: Role | None = ... - """A structure that contains details about the modified role.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRoleInput(_SerdeShape): - """Dataclass for UpdateRoleInput structure.""" - - role_name: str | None = ... - """The name of the role that you want to modify.""" - description: str | None = ... - """The new description that you want to apply to the specified role.""" - max_session_duration: int | None = ... - """ - The maximum session duration (in seconds) that you want to set for the - specified role. If you do not specify a value for this setting, the - default value of one hour is applied. This setting can have a value from - 1 hour to 12 hours. - - Anyone who assumes the role from the CLI or API can use the - `DurationSeconds` API parameter or the `duration-seconds` CLI parameter - to request a longer session. The `MaxSessionDuration` setting determines - the maximum duration that can be requested using the `DurationSeconds` - parameter. If users don't specify a value for the `DurationSeconds` - parameter, their security credentials are valid for one hour by default. - This applies when you use the `AssumeRole*` API operations or the - `assume-role*` CLI operations but does not apply when you use those - operations to create a console URL. For more information, see [Using IAM - roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) - in the *IAM User Guide*. - - Note: - IAM role credentials provided by Amazon EC2 instances assigned to the - role are not subject to the specified maximum session duration. - """ - -@dataclass(kw_only=True) -class UpdateRoleOutput(_SerdeShape): - """Dataclass for UpdateRoleOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateSAMLProviderInput(_SerdeShape): - """Dataclass for UpdateSAMLProviderInput structure.""" - - saml_metadata_document: str | None = ... - """ - An XML document generated by an identity provider (IdP) that supports - SAML 2.0. The document includes the issuer's name, expiration - information, and keys that can be used to validate the SAML - authentication response (assertions) that are received from the IdP. You - must generate the metadata document using the identity management - software that is used as your IdP. - """ - saml_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the SAML provider to update. - - For more information about ARNs, see [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - assertion_encryption_mode: str | None = ... - """Specifies the encryption setting for the SAML provider.""" - add_private_key: str | None = ... - """ - Specifies the new private key from your external identity provider. The - private key must be a .pem file that uses AES-GCM or AES-CBC encryption - algorithm to decrypt SAML assertions. - """ - remove_private_key: str | None = ... - """The Key ID of the private key to remove.""" - -@dataclass(kw_only=True) -class UpdateSAMLProviderOutput(_SerdeShape): - """ - Contains the response to a successful - [UpdateSAMLProvider](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateSAMLProvider.html) - request. - """ - - saml_provider_arn: str | None = ... - """The Amazon Resource Name (ARN) of the SAML provider that was updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateServerCertificateInput(_SerdeShape): - """Dataclass for UpdateServerCertificateInput structure.""" - - server_certificate_name: str | None = ... - """ - The name of the server certificate that you want to update. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - new_path: str | None = ... - """ - The new path for the server certificate. Include this only if you are - updating the server certificate's path. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - new_server_certificate_name: str | None = ... - """ - The new name for the server certificate. Include this only if you are - updating the server certificate's name. The name of the certificate - cannot contain any spaces. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - -@dataclass(kw_only=True) -class UpdateServerCertificateOutput(_SerdeShape): - """Dataclass for UpdateServerCertificateOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateServiceSpecificCredentialInput(_SerdeShape): - """Dataclass for UpdateServiceSpecificCredentialInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user associated with the service-specific - credential. If you do not specify this value, then the operation assumes - the user whose credentials are used to call the operation. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - service_specific_credential_id: str | None = ... - """ - The unique identifier of the service-specific credential. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - status: str | None = ... - """The status to be assigned to the service-specific credential.""" - -@dataclass(kw_only=True) -class UpdateServiceSpecificCredentialOutput(_SerdeShape): - """Dataclass for UpdateServiceSpecificCredentialOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateSigningCertificateInput(_SerdeShape): - """Dataclass for UpdateSigningCertificateInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user the signing certificate belongs to. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - certificate_id: str | None = ... - """ - The ID of the signing certificate you want to update. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - status: str | None = ... - """ - The status you want to assign to the certificate. `Active` means that - the certificate can be used for programmatic calls to Amazon Web - Services `Inactive` means that the certificate cannot be used. - """ - -@dataclass(kw_only=True) -class UpdateSigningCertificateOutput(_SerdeShape): - """Dataclass for UpdateSigningCertificateOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateSSHPublicKeyInput(_SerdeShape): - """Dataclass for UpdateSSHPublicKeyInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user associated with the SSH public key. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - ssh_public_key_id: str | None = ... - """ - The unique identifier for the SSH public key. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters that - can consist of any upper or lowercased letter or digit. - """ - status: str | None = ... - """ - The status to assign to the SSH public key. `Active` means that the key - can be used for authentication with an CodeCommit repository. `Inactive` - means that the key cannot be used. - """ - -@dataclass(kw_only=True) -class UpdateSSHPublicKeyOutput(_SerdeShape): - """Dataclass for UpdateSSHPublicKeyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateUserInput(_SerdeShape): - """Dataclass for UpdateUserInput structure.""" - - user_name: str | None = ... - """ - Name of the user to update. If you're changing the name of the user, - this is the original user name. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - new_path: str | None = ... - """ - New path for the IAM user. Include this parameter only if you're - changing the user's path. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - """ - new_user_name: str | None = ... - """ - New name for the user. Include this parameter only if you're changing - the user's name. - - IAM user, group, role, and policy names must be unique within the - account. Names are not distinguished by case. For example, you cannot - create resources named both \"MyResource\" and \"myresource\". - """ - -@dataclass(kw_only=True) -class UpdateUserOutput(_SerdeShape): - """Dataclass for UpdateUserOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UploadServerCertificateInput(_SerdeShape): - """Dataclass for UploadServerCertificateInput structure.""" - - path: str | None = ... - """ - The path for the server certificate. For more information about paths, - see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - - This parameter is optional. If it is not included, it defaults to a - slash (/). This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of either a forward slash (/) by itself or a string that must - begin and end with forward slashes. In addition, it can contain any - ASCII character from the ! (`\u0021`) through the DEL character - (`\u007f`), including most punctuation characters, digits, and upper and - lowercased letters. - - Note: - If you are uploading a server certificate specifically for use with - Amazon CloudFront distributions, you must specify a path using the - `path` parameter. The path must begin with `/cloudfront` and must - include a trailing slash (for example, `/cloudfront/test/`). - """ - server_certificate_name: str | None = ... - """ - The name for the server certificate. Do not include the path in this - value. The name of the certificate cannot contain any spaces. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - certificate_body: str | None = ... - """ - The contents of the public key certificate in PEM-encoded format. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - private_key: str | None = ... - """ - The contents of the private key in PEM-encoded format. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - certificate_chain: str | None = ... - """ - The contents of the certificate chain. This is typically a concatenation - of the PEM-encoded public key certificates of the chain. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - tags: list[Tag] | None = ... - """ - A list of tags that you want to attach to the new IAM server certificate - resource. Each tag consists of a key name and an associated value. For - more information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - - Note: - If any one of the tags is invalid or if you exceed the allowed maximum - number of tags, then the entire request fails and the resource is not - created. - """ - -@dataclass(kw_only=True) -class UploadServerCertificateOutput(_SerdeShape): - """ - Contains the response to a successful - [UploadServerCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadServerCertificate.html) - request. - """ - - server_certificate_metadata: ServerCertificateMetadata | None = ... - """ - The meta information of the uploaded server certificate without its - certificate body, certificate chain, and private key. - """ - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the new IAM server certificate. The - returned list of tags is sorted by tag key. For more information about - tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UploadSigningCertificateInput(_SerdeShape): - """Dataclass for UploadSigningCertificateInput structure.""" - - user_name: str | None = ... - """ - The name of the user the signing certificate is for. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - certificate_body: str | None = ... - """ - The contents of the signing certificate. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - -@dataclass(kw_only=True) -class UploadSigningCertificateOutput(_SerdeShape): - """ - Contains the response to a successful - [UploadSigningCertificate](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSigningCertificate.html) - request. - """ - - certificate: SigningCertificate - """Information about the certificate.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UploadSSHPublicKeyInput(_SerdeShape): - """Dataclass for UploadSSHPublicKeyInput structure.""" - - user_name: str | None = ... - """ - The name of the IAM user to associate the SSH public key with. - - This parameter allows (through its [regex - pattern](http://wikipedia.org/wiki/regex)) a string of characters - consisting of upper and lowercase alphanumeric characters with no - spaces. You can also include any of the following characters: _+=,.@- - """ - ssh_public_key_body: str | None = ... - """ - The SSH public key. The public key must be encoded in ssh-rsa format or - PEM format. The minimum bit-length of the public key is 2048 bits. For - example, you can generate a 2048-bit key, and the resulting PEM file is - 1679 bytes long. - - The [regex pattern](http://wikipedia.org/wiki/regex) used to validate - this parameter is a string of characters consisting of the following: - - - Any printable ASCII character ranging from the space character - (`\u0020`) through the end of the ASCII character range - - - The printable characters in the Basic Latin and Latin-1 Supplement - character set (through `\u00ff`) - - - The special characters tab (`\u0009`), line feed (`\u000a`), and - carriage return (`\u000d`) - """ - -@dataclass(kw_only=True) -class UploadSSHPublicKeyOutput(_SerdeShape): - """ - Contains the response to a successful - [UploadSSHPublicKey](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSSHPublicKey.html) - request. - """ - - ssh_public_key: SSHPublicKey | None = ... - """Contains information about the SSH public key.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class User(_SerdeShape): - """ - Contains information about an IAM user entity. - - This data type is used as a response element in the following - operations: - - - [CreateUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateUser.html) - - - [GetUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html) - - - [ListUsers](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUsers.html) - """ - - path: str - """ - The path to the user. For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - - The ARN of the policy used to set the permissions boundary for the user. - """ - user_name: str - """The friendly name identifying the user.""" - user_id: str - """ - The stable and unique string identifying the user. For more information - about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str - """ - The Amazon Resource Name (ARN) that identifies the user. For more - information about ARNs and how to use ARNs in policies, see [IAM - Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - create_date: datetime - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the user was created. - """ - password_last_used: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the user's password was - last used to sign in to an Amazon Web Services website. For a list of - Amazon Web Services websites that capture a user's last sign-in time, - see the [Credential - reports](https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html) - topic in the *IAM User Guide*. If a password is used more than once in a - five-minute span, only the first use is returned in this field. If the - field is null (no value), then it indicates that they never signed in - with a password. This can be because: - - - The user never had a password. - - - A password exists but has not been used since IAM started tracking - this information on October 20, 2014. - - A null value does not mean that the user *never* had a password. Also, - if the user does not currently have a password but had one in the past, - then this field contains the date and time the most recent password was - used. - - This value is returned only in the - [GetUser](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetUser.html) - and - [ListUsers](https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListUsers.html) - operations. - """ - permissions_boundary: AttachedPermissionsBoundary | None = ... - """ - For more information about permissions boundaries, see [Permissions - boundaries for IAM - identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - """ - tags: list[Tag] | None = ... - """ - A list of tags that are associated with the user. For more information - about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class UserDetail(_SerdeShape): - """ - Contains information about an IAM user, including all the user's - policies and all the IAM groups the user is in. - - This data type is used as a response element in the - [GetAccountAuthorizationDetails](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountAuthorizationDetails.html) - operation. - """ - - path: str | None = ... - """ - The path to the user. For more information about paths, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - user_name: str | None = ... - """The friendly name identifying the user.""" - user_id: str | None = ... - """ - The stable and unique string identifying the user. For more information - about IDs, see [IAM - identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) - in the *IAM User Guide*. - """ - arn: str | None = ... - """ - The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon - Web Services resources. - - For more information about ARNs, go to [Amazon Resource Names - (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) - in the *Amazon Web Services General Reference*. - """ - create_date: datetime | None = ... - """ - The date and time, in [ISO 8601 date-time - format](http://www.iso.org/iso/iso8601), when the user was created. - """ - user_policy_list: list[PolicyDetail] | None = ... - """A list of the inline policies embedded in the user.""" - group_list: list[str] | None = ... - """A list of IAM groups that the user is in.""" - attached_managed_policies: list[AttachedPolicy] | None = ... - """A list of the managed policies attached to the user.""" - permissions_boundary: AttachedPermissionsBoundary | None = ... - """ - The ARN of the policy used to set the permissions boundary for the user. - - For more information about permissions boundaries, see [Permissions - boundaries for IAM - identities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) - in the *IAM User Guide*. - """ - tags: list[Tag] | None = ... - """ - A list of tags that are associated with the user. For more information - about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - -@dataclass(kw_only=True) -class VirtualMFADevice(_SerdeShape): - """Contains information about a virtual MFA device.""" - - serial_number: str - """The serial number associated with `VirtualMFADevice`.""" - base32_string_seed: bytes | None = ... - """ - The base32 seed defined as specified in - [RFC3548](https://tools.ietf.org/html/rfc3548.txt). The - `Base32StringSeed` is base32-encoded. - """ - qr_code_png: bytes | None = ... - """ - A QR code PNG image that encodes - `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` - where `$virtualMFADeviceName` is one of the create call arguments. - `AccountName` is the user name if set (otherwise, the account ID - otherwise), and `Base32String` is the seed in base32 format. The - `Base32String` value is base64-encoded. - """ - user: User | None = ... - """The IAM user associated with this virtual MFA device.""" - enable_date: datetime | None = ... - """The date and time on which the virtual MFA device was enabled.""" - tags: list[Tag] | None = ... - """ - A list of tags that are attached to the virtual MFA device. For more - information about tagging, see [Tagging IAM - resources](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) - in the *IAM User Guide*. - """ - ACCEPT_DELEGATION_REQUEST: APIOperation[ AcceptDelegationRequestInput, AcceptDelegationRequestOutput ] diff --git a/clients/aws-sdk-iam/tests/test_endpoints.py b/clients/aws-sdk-iam/tests/test_endpoints.py index 2197dc3b4..8322a4ef5 100644 --- a/clients/aws-sdk-iam/tests/test_endpoints.py +++ b/clients/aws-sdk-iam/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-kinesis/pyproject.toml b/clients/aws-sdk-kinesis/pyproject.toml index f94c030d2..46fea93d2 100644 --- a/clients/aws-sdk-kinesis/pyproject.toml +++ b/clients/aws-sdk-kinesis/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_kinesis" version = "0.12.0" -description = "aws_sdk_kinesis client" +description = "Python client for Amazon Kinesis" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_kinesis"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas.py b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas.py index 890e1b0ef..f29846701 100644 --- a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas.py +++ b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas.py @@ -1,3200 +1,326 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.kinesis" -_EM = "ErrorMessage" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_m = "message" -_SARN = "StreamARN" -_SI = "StreamId" -_SN = "StreamName" -_TK = "TagKey" -_TV = "TagValue" -_TM = "TagMap" -_k = "key" -_v = "value" -_ATTSI = "AddTagsToStreamInput" -_sm = "smithy.api#input" -_T = "Tags" -_smi = "smithy.api#required" -_sP = "smithy.rules#contextParam" -_ATTSO = "AddTagsToStreamOutput" -_sSI = "smithy.synthetic#originalShapeId" -_sU = "smithy.api#Unit" -_smit = "smithy.api#output" -_IAE = "InvalidArgumentException" -_LEE = "LimitExceededException" -_RIUE = "ResourceInUseException" -_RNFE = "ResourceNotFoundException" -_ATTS = "AddTagsToStream" -_sCP = "smithy.rules#staticContextParams" -_BO = "BooleanObject" -_BARN = "BucketARN" -_CARN = "ChannelARN" -_CCO = "ChannelCountObject" -_Ti = "Timestamp" -_CI = "ChannelId" -_CN = "ChannelName" -_CS = "ChannelStatus" -_CREATING = "CREATING" -_sV = "smithy.api#enumValue" -_ACTIVE = "ACTIVE" -_UPDATING = "UPDATING" -_DELETING = "DELETING" -_FAILED = "FAILED" -_CSR = "ChannelStatusReason" -_CET = "ChannelEncryptionType" -_KMS = "KMS" -_KI = "KeyId" -_CEC = "ChannelEncryptionConfiguration" -_ET = "EncryptionType" -_CWLGN = "CloudWatchLogGroupName" -_CWLSN = "CloudWatchLogStreamName" -_CWL = "CloudWatchLogs" -_E = "Enabled" -_LGN = "LogGroupName" -_LSN = "LogStreamName" -_CLC = "ChannelLoggingConfiguration" -_DFIS = "DataFreshnessInSeconds" -_SEOP = "S3ErrorOutputPrefix" -_EBO = "ExpectedBucketOwner" -_DLQSC = "DeadLetterQueueS3Configuration" -_EOP = "ErrorOutputPrefix" -_SCT = "S3CompressionType" -_NONE = "NONE" -_GZIP = "GZIP" -_ZSTD = "ZSTD" -_SOKT = "S3OutputKeyTemplate" -_SSC = "S3StorageClass" -_STANDARD = "STANDARD" -_IT = "INTELLIGENT_TIERING" -_GI = "GLACIER_IR" -_SSCt = "S3StorageConfiguration" -_OKT = "OutputKeyTemplate" -_SC = "StorageClass" -_CT = "CompressionType" -_SDD = "S3DestinationDescription" -_SCt = "StorageConfiguration" -_STCT = "S3TablesCompressionType" -_SNAPPY = "SNAPPY" -_STN = "S3TablesNamespace" -_PSN = "PartitionSourceName" -_PT = "PartitionTransform" -_TH = "TIME_HOUR" -_PF = "PartitionField" -_Tr = "Transform" -_SNo = "SourceName" -_PFL = "PartitionFieldList" -_me = "member" -_PS = "PartitionSpec" -_PFa = "PartitionFields" -_TBARN = "TableBucketARN" -_STTN = "S3TablesTableName" -_STC = "S3TablesConfiguration" -_N = "Namespace" -_TN = "TableName" -_STCL = "S3TablesConfigurationList" -_STDD = "S3TablesDestinationDescription" -_RARN = "RoleARN" -_GSRSARN = "GSRSchemaARN" -_RFT = "RecordFormatType" -_GJ = "GSR_JSON" -_JSON = "JSON" -_STRING = "STRING" -_BA = "BYTE_ARRAY" -_RC = "RecordConfiguration" -_CSD = "ChannelStreamDescription" -_SCTt = "StreamCreationTimestamp" -_CSDL = "ChannelStreamDescriptionList" -_CD = "ChannelDescription" -_CCT = "ChannelCreationTimestamp" -_SERARN = "ServiceExecutionRoleARN" -_SCL = "StreamConfigurationList" -_SDC = "S3DestinationConfiguration" -_STDC = "S3TablesDestinationConfiguration" -_EC = "EncryptionConfiguration" -_LC = "LoggingConfiguration" -_CDT = "ChannelDestinationType" -_S = "S3" -_ST = "S3_TABLES" -_CWLUI = "CloudWatchLogsUpdateInput" -_CLUI = "ChannelLoggingUpdateInput" -_CSC = "ChannelStreamConfiguration" -_CSCL = "ChannelStreamConfigurationList" -_CSI = "ChannelStreamIdentifier" -_CSIL = "ChannelStreamIdentifierList" -_CSh = "ChannelSummary" -_St = "Streams" -_CSL = "ChannelSummaryList" -_HK = "HashKey" -_HKR = "HashKeyRange" -_SHK = "StartingHashKey" -_EHK = "EndingHashKey" -_SIh = "ShardId" -_SIL = "ShardIdList" -_CShi = "ChildShard" -_PSa = "ParentShards" -_CSLh = "ChildShardList" -_CARNo = "ConsumerARN" -_CNo = "ConsumerName" -_CSo = "ConsumerStatus" -_C = "Consumer" -_CCTo = "ConsumerCreationTimestamp" -_CCOo = "ConsumerCountObject" -_CDo = "ConsumerDescription" -_CL = "ConsumerList" -_CCI = "CreateChannelInput" -_CCOr = "CreateChannelOutput" -_KMSADE = "KMSAccessDeniedException" -_KMSDE = "KMSDisabledException" -_KMSISE = "KMSInvalidStateException" -_KMSNFE = "KMSNotFoundException" -_KMSOIR = "KMSOptInRequired" -_KMSTE = "KMSThrottlingException" -_VE = "ValidationException" -_CC = "CreateChannel" -_MRSIKB = "MaxRecordSizeInKiB" -_RDS = "RecordDistributionStrategy" -_AUTO = "AUTO" -_UPK = "USER_PARTITION_KEY" -_PIO = "PositiveIntegerObject" -_SM = "StreamMode" -_PROVISIONED = "PROVISIONED" -_OD = "ON_DEMAND" -_SMD = "StreamModeDetails" -_NIO = "NaturalIntegerObject" -_CSIr = "CreateStreamInput" -_SCh = "ShardCount" -_WTMB = "WarmThroughputMiBps" -_CSO = "CreateStreamOutput" -_CSr = "CreateStream" -_D = "Data" -_RPH = "RetentionPeriodHours" -_DSRPI = "DecreaseStreamRetentionPeriodInput" -_DSRPO = "DecreaseStreamRetentionPeriodOutput" -_DSRP = "DecreaseStreamRetentionPeriod" -_DCI = "DeleteChannelInput" -_DCO = "DeleteChannelOutput" -_DC = "DeleteChannel" -_RARNe = "ResourceARN" -_DRPI = "DeleteResourcePolicyInput" -_DRPO = "DeleteResourcePolicyOutput" -_DRP = "DeleteResourcePolicy" -_DSI = "DeleteStreamInput" -_ECD = "EnforceConsumerDeletion" -_DSO = "DeleteStreamOutput" -_DS = "DeleteStream" -_DSCI = "DeregisterStreamConsumerInput" -_DSCO = "DeregisterStreamConsumerOutput" -_DSC = "DeregisterStreamConsumer" -_DASI = "DescribeAccountSettingsInput" -_MTBCOS = "MinimumThroughputBillingCommitmentOutputStatus" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_EUEAE = "ENABLED_UNTIL_EARLIEST_ALLOWED_END" -_MTBCO = "MinimumThroughputBillingCommitmentOutput" -_Sta = "Status" -_SA = "StartedAt" -_EA = "EndedAt" -_EAEA = "EarliestAllowedEndAt" -_DASO = "DescribeAccountSettingsOutput" -_MTBC = "MinimumThroughputBillingCommitment" -_DAS = "DescribeAccountSettings" -_DCIe = "DescribeChannelInput" -_DCOe = "DescribeChannelOutput" -_DCe = "DescribeChannel" -_DLI = "DescribeLimitsInput" -_ODSCO = "OnDemandStreamCountObject" -_ODSCLO = "OnDemandStreamCountLimitObject" -_SCO = "ShardCountObject" -_DLO = "DescribeLimitsOutput" -_SL = "ShardLimit" -_OSC = "OpenShardCount" -_ODSC = "OnDemandStreamCount" -_ODSCL = "OnDemandStreamCountLimit" -_CCh = "ChannelCount" -_CCL = "ChannelCountLimit" -_DL = "DescribeLimits" -_DSIL = "DescribeStreamInputLimit" -_DSIe = "DescribeStreamInput" -_L = "Limit" -_ESSI = "ExclusiveStartShardId" -_MN = "MetricsName" -_IB = "INCOMING_BYTES" -_IBn = "IncomingBytes" -_IR = "INCOMING_RECORDS" -_IRn = "IncomingRecords" -_OB = "OUTGOING_BYTES" -_OBu = "OutgoingBytes" -_OR = "OUTGOING_RECORDS" -_ORu = "OutgoingRecords" -_WPTE = "WRITE_PROVISIONED_THROUGHPUT_EXCEEDED" -_WPTEr = "WriteProvisionedThroughputExceeded" -_RPTE = "READ_PROVISIONED_THROUGHPUT_EXCEEDED" -_RPTEe = "ReadProvisionedThroughputExceeded" -_IAM = "ITERATOR_AGE_MILLISECONDS" -_IAMt = "IteratorAgeMilliseconds" -_ALL = "ALL" -_MNL = "MetricsNameList" -_EMn = "EnhancedMetrics" -_SLM = "ShardLevelMetrics" -_EML = "EnhancedMonitoringList" -_SNe = "SequenceNumber" -_SNR = "SequenceNumberRange" -_SSN = "StartingSequenceNumber" -_ESN = "EndingSequenceNumber" -_Sh = "Shard" -_PSI = "ParentShardId" -_APSI = "AdjacentParentShardId" -_SLh = "ShardList" -_SS = "StreamStatus" -_SD = "StreamDescription" -_Sha = "Shards" -_HMS = "HasMoreShards" -_EMnh = "EnhancedMonitoring" -_DSOe = "DescribeStreamOutput" -_DSe = "DescribeStream" -_DSCIe = "DescribeStreamConsumerInput" -_DSCOe = "DescribeStreamConsumerOutput" -_DSCe = "DescribeStreamConsumer" -_DSSI = "DescribeStreamSummaryInput" -_WTO = "WarmThroughputObject" -_TMB = "TargetMiBps" -_CMB = "CurrentMiBps" -_SDS = "StreamDescriptionSummary" -_CCo = "ConsumerCount" -_WT = "WarmThroughput" -_DSSO = "DescribeStreamSummaryOutput" -_DSS = "DescribeStreamSummary" -_DEMI = "DisableEnhancedMonitoringInput" -_DEMO = "DisableEnhancedMonitoringOutput" -_cEMO = "com.amazonaws.kinesis#EnhancedMonitoringOutput" -_CSLM = "CurrentShardLevelMetrics" -_DSLM = "DesiredShardLevelMetrics" -_DEM = "DisableEnhancedMonitoring" -_DROE = "DryRunOperationException" -_EEMI = "EnableEnhancedMonitoringInput" -_EEMO = "EnableEnhancedMonitoringOutput" -_EEM = "EnableEnhancedMonitoring" -_ECr = "ErrorCode" -_EIE = "ExpiredIteratorException" -_ENTE = "ExpiredNextTokenException" -_GRIL = "GetRecordsInputLimit" -_SIha = "ShardIterator" -_GRI = "GetRecordsInput" -_DR = "DryRun" -_MBL = "MillisBehindLatest" -_PK = "PartitionKey" -_R = "Record" -_AAT = "ApproximateArrivalTimestamp" -_RL = "RecordList" -_GRO = "GetRecordsOutput" -_Re = "Records" -_NSI = "NextShardIterator" -_CShil = "ChildShards" -_IFE = "InternalFailureException" -_se = "server" -_PTEE = "ProvisionedThroughputExceededException" -_GR = "GetRecords" -_GRPI = "GetResourcePolicyInput" -_P = "Policy" -_GRPO = "GetResourcePolicyOutput" -_GRP = "GetResourcePolicy" -_SIT = "ShardIteratorType" -_ASN = "AT_SEQUENCE_NUMBER" -_ASN_ = "AFTER_SEQUENCE_NUMBER" -_TH_ = "TRIM_HORIZON" -_LATEST = "LATEST" -_AT = "AT_TIMESTAMP" -_GSII = "GetShardIteratorInput" -_GSIO = "GetShardIteratorOutput" -_GSI = "GetShardIterator" -_ISRPI = "IncreaseStreamRetentionPeriodInput" -_ISRPO = "IncreaseStreamRetentionPeriodOutput" -_ISRP = "IncreaseStreamRetentionPeriod" -_LCIL = "ListChannelsInputLimit" -_NT = "NextToken" -_SF = "StreamFilter" -_SFL = "StreamFilterList" -_LCI = "ListChannelsInput" -_MR = "MaxResults" -_LCO = "ListChannelsOutput" -_CSha = "ChannelSummaries" -_LCi = "ListChannels" -_LSIL = "ListShardsInputLimit" -_SFT = "ShardFilterType" -_ASI = "AFTER_SHARD_ID" -_ATH = "AT_TRIM_HORIZON" -_FTH = "FROM_TRIM_HORIZON" -_AL = "AT_LATEST" -_FT = "FROM_TIMESTAMP" -_SFh = "ShardFilter" -_Ty = "Type" -_LSI = "ListShardsInput" -_LSO = "ListShardsOutput" -_LS = "ListShards" -_LSCIL = "ListStreamConsumersInputLimit" -_LSCI = "ListStreamConsumersInput" -_LSCO = "ListStreamConsumersOutput" -_Co = "Consumers" -_LSC = "ListStreamConsumers" -_LSILi = "ListStreamsInputLimit" -_LSIi = "ListStreamsInput" -_ESSN = "ExclusiveStartStreamName" -_SNL = "StreamNameList" -_SSt = "StreamSummary" -_SSL = "StreamSummaryList" -_LSOi = "ListStreamsOutput" -_SNt = "StreamNames" -_HMSa = "HasMoreStreams" -_SStr = "StreamSummaries" -_LSi = "ListStreams" -_LTFRI = "ListTagsForResourceInput" -_Ta = "Tag" -_K = "Key" -_V = "Value" -_TL = "TagList" -_LTFRO = "ListTagsForResourceOutput" -_LTFR = "ListTagsForResource" -_LTFSIL = "ListTagsForStreamInputLimit" -_LTFSI = "ListTagsForStreamInput" -_ESTK = "ExclusiveStartTagKey" -_LTFSO = "ListTagsForStreamOutput" -_HMT = "HasMoreTags" -_LTFS = "ListTagsForStream" -_MSI = "MergeShardsInput" -_STM = "ShardToMerge" -_ASTM = "AdjacentShardToMerge" -_MSO = "MergeShardsOutput" -_MS = "MergeShards" -_PRI = "PutRecordInput" -_EHKx = "ExplicitHashKey" -_SNFO = "SequenceNumberForOrdering" -_PRO = "PutRecordOutput" -_PR = "PutRecord" -_PRRE = "PutRecordsRequestEntry" -_PRREL = "PutRecordsRequestEntryList" -_PRIu = "PutRecordsInput" -_PRREu = "PutRecordsResultEntry" -_PRRELu = "PutRecordsResultEntryList" -_PROu = "PutRecordsOutput" -_FRC = "FailedRecordCount" -_PRu = "PutRecords" -_PRPI = "PutResourcePolicyInput" -_PRPO = "PutResourcePolicyOutput" -_PRP = "PutResourcePolicy" -_RSCI = "RegisterStreamConsumerInput" -_RSCO = "RegisterStreamConsumerOutput" -_RSC = "RegisterStreamConsumer" -_TKL = "TagKeyList" -_RTFSI = "RemoveTagsFromStreamInput" -_TKa = "TagKeys" -_RTFSO = "RemoveTagsFromStreamOutput" -_RTFS = "RemoveTagsFromStream" -_SSI = "SplitShardInput" -_STS = "ShardToSplit" -_NSHK = "NewStartingHashKey" -_SSO = "SplitShardOutput" -_SSp = "SplitShard" -_SSEI = "StartStreamEncryptionInput" -_SSEO = "StartStreamEncryptionOutput" -_SSE = "StartStreamEncryption" -_SSEIt = "StopStreamEncryptionInput" -_SSEOt = "StopStreamEncryptionOutput" -_SSEt = "StopStreamEncryption" -_SP = "StartingPosition" -_STSI = "SubscribeToShardInput" -_STSE = "SubscribeToShardEvent" -_CSN = "ContinuationSequenceNumber" -_STSES = "SubscribeToShardEventStream" -_smith = "smithy.api#streaming" -_STSO = "SubscribeToShardOutput" -_ES = "EventStream" -_STSu = "SubscribeToShard" -_TRI = "TagResourceInput" -_TRO = "TagResourceOutput" -_TR = "TagResource" -_URI = "UntagResourceInput" -_URO = "UntagResourceOutput" -_UR = "UntagResource" -_MTBCIS = "MinimumThroughputBillingCommitmentInputStatus" -_MTBCI = "MinimumThroughputBillingCommitmentInput" -_UASI = "UpdateAccountSettingsInput" -_UASO = "UpdateAccountSettingsOutput" -_UAS = "UpdateAccountSettings" -_SDUI = "S3DestinationUpdateInput" -_STDUI = "S3TablesDestinationUpdateInput" -_UCI = "UpdateChannelInput" -_UCO = "UpdateChannelOutput" -_UC = "UpdateChannel" -_UMRSI = "UpdateMaxRecordSizeInput" -_UMRSO = "UpdateMaxRecordSizeOutput" -_UMRS = "UpdateMaxRecordSize" -_STc = "ScalingType" -_US = "UNIFORM_SCALING" -_USCI = "UpdateShardCountInput" -_TSC = "TargetShardCount" -_USCO = "UpdateShardCountOutput" -_CSCu = "CurrentShardCount" -_USC = "UpdateShardCount" -_USMI = "UpdateStreamModeInput" -_USMO = "UpdateStreamModeOutput" -_USM = "UpdateStreamMode" -_USRDSI = "UpdateStreamRecordDistributionStrategyInput" -_USRDSO = "UpdateStreamRecordDistributionStrategyOutput" -_USRDS = "UpdateStreamRecordDistributionStrategy" -_USWTI = "UpdateStreamWarmThroughputInput" -_USWTO = "UpdateStreamWarmThroughputOutput" -_USWT = "UpdateStreamWarmThroughput" -_K_ = "Kinesis_20131202" -_a = "aws.auth#sigv4" -_a_ = "aws.protocols#awsJson1_1" -_aw = "aws.api#service" -_sN = "smithy.api#xmlNamespace" - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -STREAM_ARN: StaticSchema = (3, n0, _SARN, 0) - -STREAM_ID: StaticSchema = (3, n0, _SI, 0) - -STREAM_NAME: StaticSchema = (3, n0, _SN, 0) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -ADD_TAGS_TO_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _ATTSI, - {_sm: None}, - (_SN, _T, _SARN, _SI), - ( - (STREAM_NAME, 0), - (TAG_MAP, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -ADD_TAGS_TO_STREAM_OUTPUT: StaticSchema = (18, n0, _ATTSO, {_sSI: _sU, _smit: None}) - -INVALID_ARGUMENT_EXCEPTION: StaticSchema = ( - 18, - n0, - _IAE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _RIUE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -ADD_TAGS_TO_STREAM: StaticOperationSchema = ( - 23, - n0, - _ATTS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - ADD_TAGS_TO_STREAM_INPUT, - ADD_TAGS_TO_STREAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -BOOLEAN_OBJECT: StaticSchema = (2, n0, _BO, 0) - -BUCKET_ARN: StaticSchema = (3, n0, _BARN, 0) - -CHANNEL_ARN: StaticSchema = (3, n0, _CARN, 0) - -CHANNEL_COUNT_OBJECT: StaticSchema = (7, n0, _CCO, 0) - -TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) - -CHANNEL_ID: StaticSchema = (3, n0, _CI, 0) - -CHANNEL_NAME: StaticSchema = (3, n0, _CN, 0) - -CHANNEL_STATUS: StaticSchema = ( - 14, - n0, - _CS, - 0, - (_CREATING, _ACTIVE, _UPDATING, _DELETING, _FAILED), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _FAILED}), - ), -) - -CHANNEL_STATUS_REASON: StaticSchema = (3, n0, _CSR, 0) - -CHANNEL_ENCRYPTION_TYPE: StaticSchema = (14, n0, _CET, 0, (_KMS,), ((-1, {_sV: _KMS}),)) - -KEY_ID: StaticSchema = (3, n0, _KI, 0) - -CHANNEL_ENCRYPTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CEC, - 0, - (_ET, _KI), - ((CHANNEL_ENCRYPTION_TYPE, 1), (KEY_ID, 1)), -) - -CLOUD_WATCH_LOG_GROUP_NAME: StaticSchema = (3, n0, _CWLGN, 0) - -CLOUD_WATCH_LOG_STREAM_NAME: StaticSchema = (3, n0, _CWLSN, 0) - -CLOUD_WATCH_LOGS: StaticSchema = ( - 18, - n0, - _CWL, - 0, - (_E, _LGN, _LSN), - ( - (BOOLEAN_OBJECT, 1), - (CLOUD_WATCH_LOG_GROUP_NAME, 0), - (CLOUD_WATCH_LOG_STREAM_NAME, 0), - ), -) - -CHANNEL_LOGGING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CLC, - 0, - (_CWL,), - ((CLOUD_WATCH_LOGS, 1),), -) - -DATA_FRESHNESS_IN_SECONDS: StaticSchema = (7, n0, _DFIS, 0) - -S3_ERROR_OUTPUT_PREFIX: StaticSchema = (3, n0, _SEOP, 0) - -EXPECTED_BUCKET_OWNER: StaticSchema = (3, n0, _EBO, 0) - -DEAD_LETTER_QUEUE_S3_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DLQSC, - 0, - (_BARN, _EBO, _EOP), - ((BUCKET_ARN, 1), (EXPECTED_BUCKET_OWNER, 1), (S3_ERROR_OUTPUT_PREFIX, 0)), -) - -S3_COMPRESSION_TYPE: StaticSchema = ( - 14, - n0, - _SCT, - 0, - (_NONE, _GZIP, _ZSTD), - ((-1, {_sV: _NONE}), (-1, {_sV: _GZIP}), (-1, {_sV: _ZSTD})), -) - -S3_OUTPUT_KEY_TEMPLATE: StaticSchema = (3, n0, _SOKT, 0) - -S3_STORAGE_CLASS: StaticSchema = ( - 14, - n0, - _SSC, - 0, - (_STANDARD, _IT, _GI), - ((-1, {_sV: _STANDARD}), (-1, {_sV: _IT}), (-1, {_sV: _GI})), -) - -S3_STORAGE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SSCt, - 0, - (_BARN, _EBO, _OKT, _SC, _CT), - ( - (BUCKET_ARN, 1), - (EXPECTED_BUCKET_OWNER, 1), - (S3_OUTPUT_KEY_TEMPLATE, 0), - (S3_STORAGE_CLASS, 0), - (S3_COMPRESSION_TYPE, 1), - ), -) - -S3_DESTINATION_DESCRIPTION: StaticSchema = ( - 18, - n0, - _SDD, - 0, - (_DFIS, _DLQSC, _SCt), - ( - (DATA_FRESHNESS_IN_SECONDS, 1), - (DEAD_LETTER_QUEUE_S3_CONFIGURATION, 1), - (S3_STORAGE_CONFIGURATION, 1), - ), -) - -S3_TABLES_COMPRESSION_TYPE: StaticSchema = ( - 14, - n0, - _STCT, - 0, - (_NONE, _ZSTD, _SNAPPY), - ((-1, {_sV: _NONE}), (-1, {_sV: _ZSTD}), (-1, {_sV: _SNAPPY})), -) - -S3_TABLES_NAMESPACE: StaticSchema = (3, n0, _STN, 0) - -PARTITION_SOURCE_NAME: StaticSchema = (3, n0, _PSN, 0) - -PARTITION_TRANSFORM: StaticSchema = (14, n0, _PT, 0, (_TH,), ((-1, {_sV: _TH}),)) - -PARTITION_FIELD: StaticSchema = ( - 18, - n0, - _PF, - 0, - (_Tr, _SNo), - ((PARTITION_TRANSFORM, 1), (PARTITION_SOURCE_NAME, 1)), -) - -PARTITION_FIELD_LIST: StaticSchema = (16, n0, _PFL, 0, (_me,), ((PARTITION_FIELD, 0),)) - -PARTITION_SPEC: StaticSchema = (18, n0, _PS, 0, (_PFa,), ((PARTITION_FIELD_LIST, 1),)) - -TABLE_BUCKET_ARN: StaticSchema = (3, n0, _TBARN, 0) - -S3_TABLES_TABLE_NAME: StaticSchema = (3, n0, _STTN, 0) - -S3_TABLES_CONFIGURATION: StaticSchema = ( - 18, - n0, - _STC, - 0, - (_TBARN, _N, _TN, _CT, _PS), - ( - (TABLE_BUCKET_ARN, 1), - (S3_TABLES_NAMESPACE, 1), - (S3_TABLES_TABLE_NAME, 1), - (S3_TABLES_COMPRESSION_TYPE, 1), - (PARTITION_SPEC, 0), - ), -) - -S3_TABLES_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _STCL, - 0, - (_me,), - ((S3_TABLES_CONFIGURATION, 0),), -) - -S3_TABLES_DESTINATION_DESCRIPTION: StaticSchema = ( - 18, - n0, - _STDD, - 0, - (_DFIS, _DLQSC, _STCL), - ( - (DATA_FRESHNESS_IN_SECONDS, 1), - (DEAD_LETTER_QUEUE_S3_CONFIGURATION, 1), - (S3_TABLES_CONFIGURATION_LIST, 1), - ), -) - -ROLE_ARN: StaticSchema = (3, n0, _RARN, 0) - -GSR_SCHEMA_ARN: StaticSchema = (3, n0, _GSRSARN, 0) - -RECORD_FORMAT_TYPE: StaticSchema = ( - 14, - n0, - _RFT, - 0, - (_GJ, _JSON, _STRING, _BA), - ((-1, {_sV: _GJ}), (-1, {_sV: _JSON}), (-1, {_sV: _STRING}), (-1, {_sV: _BA})), -) - -RECORD_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RC, - 0, - (_RFT, _GSRSARN), - ((RECORD_FORMAT_TYPE, 1), (GSR_SCHEMA_ARN, 0)), -) - -CHANNEL_STREAM_DESCRIPTION: StaticSchema = ( - 18, - n0, - _CSD, - 0, - (_SARN, _SCTt, _RC), - ((STREAM_ARN, 1), (TIMESTAMP, 1), (RECORD_CONFIGURATION, 1)), -) - -CHANNEL_STREAM_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _CSDL, - 0, - (_me,), - ((CHANNEL_STREAM_DESCRIPTION, 0),), -) - -CHANNEL_DESCRIPTION: StaticSchema = ( - 18, - n0, - _CD, - 0, - (_CN, _CARN, _CI, _CS, _CSR, _CCT, _SERARN, _SCL, _SDC, _STDC, _EC, _LC), - ( - (CHANNEL_NAME, 1), - (CHANNEL_ARN, 1), - (CHANNEL_ID, 1), - (CHANNEL_STATUS, 1), - (CHANNEL_STATUS_REASON, 0), - (TIMESTAMP, 1), - (ROLE_ARN, 1), - (CHANNEL_STREAM_DESCRIPTION_LIST, 1), - (S3_DESTINATION_DESCRIPTION, 0), - (S3_TABLES_DESTINATION_DESCRIPTION, 0), - (CHANNEL_ENCRYPTION_CONFIGURATION, 0), - (CHANNEL_LOGGING_CONFIGURATION, 1), - ), -) - -CHANNEL_DESTINATION_TYPE: StaticSchema = ( - 14, - n0, - _CDT, - 0, - (_S, _ST), - ((-1, {_sV: _S}), (-1, {_sV: _ST})), -) - -CLOUD_WATCH_LOGS_UPDATE_INPUT: StaticSchema = ( - 18, - n0, - _CWLUI, - 0, - (_E, _LGN, _LSN), - ( - (BOOLEAN_OBJECT, 1), - (CLOUD_WATCH_LOG_GROUP_NAME, 0), - (CLOUD_WATCH_LOG_STREAM_NAME, 0), - ), -) - -CHANNEL_LOGGING_UPDATE_INPUT: StaticSchema = ( - 18, - n0, - _CLUI, - 0, - (_CWL,), - ((CLOUD_WATCH_LOGS_UPDATE_INPUT, 1),), -) - -CHANNEL_STREAM_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CSC, - 0, - (_SARN, _RC), - ((STREAM_ARN, 1), (RECORD_CONFIGURATION, 1)), -) - -CHANNEL_STREAM_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _CSCL, - 0, - (_me,), - ((CHANNEL_STREAM_CONFIGURATION, 0),), -) - -CHANNEL_STREAM_IDENTIFIER: StaticSchema = ( - 18, - n0, - _CSI, - 0, - (_SARN, _SCTt), - ((STREAM_ARN, 1), (TIMESTAMP, 1)), -) - -CHANNEL_STREAM_IDENTIFIER_LIST: StaticSchema = ( - 16, - n0, - _CSIL, - 0, - (_me,), - ((CHANNEL_STREAM_IDENTIFIER, 0),), -) - -CHANNEL_SUMMARY: StaticSchema = ( - 18, - n0, - _CSh, - 0, - (_CN, _CARN, _CI, _CS, _CSR, _CCT, _CDT, _St), - ( - (CHANNEL_NAME, 1), - (CHANNEL_ARN, 1), - (CHANNEL_ID, 1), - (CHANNEL_STATUS, 1), - (CHANNEL_STATUS_REASON, 0), - (TIMESTAMP, 1), - (CHANNEL_DESTINATION_TYPE, 1), - (CHANNEL_STREAM_IDENTIFIER_LIST, 1), - ), -) - -CHANNEL_SUMMARY_LIST: StaticSchema = (16, n0, _CSL, 0, (_me,), ((CHANNEL_SUMMARY, 0),)) - -HASH_KEY: StaticSchema = (3, n0, _HK, 0) - -HASH_KEY_RANGE: StaticSchema = ( - 18, - n0, - _HKR, - 0, - (_SHK, _EHK), - ((HASH_KEY, 1), (HASH_KEY, 1)), -) - -SHARD_ID: StaticSchema = (3, n0, _SIh, 0) - -SHARD_ID_LIST: StaticSchema = (16, n0, _SIL, 0, (_me,), ((SHARD_ID, 0),)) - -CHILD_SHARD: StaticSchema = ( - 18, - n0, - _CShi, - 0, - (_SIh, _PSa, _HKR), - ((SHARD_ID, 1), (SHARD_ID_LIST, 1), (HASH_KEY_RANGE, 1)), -) - -CHILD_SHARD_LIST: StaticSchema = (16, n0, _CSLh, 0, (_me,), ((CHILD_SHARD, 0),)) - -CONSUMER_ARN: StaticSchema = (3, n0, _CARNo, 0) - -CONSUMER_NAME: StaticSchema = (3, n0, _CNo, 0) - -CONSUMER_STATUS: StaticSchema = ( - 14, - n0, - _CSo, - 0, - (_CREATING, _DELETING, _ACTIVE), - ((-1, {_sV: _CREATING}), (-1, {_sV: _DELETING}), (-1, {_sV: _ACTIVE})), -) - -CONSUMER: StaticSchema = ( - 18, - n0, - _C, - 0, - (_CNo, _CARNo, _CSo, _CCTo), - ((CONSUMER_NAME, 1), (CONSUMER_ARN, 1), (CONSUMER_STATUS, 1), (TIMESTAMP, 1)), -) - -CONSUMER_COUNT_OBJECT: StaticSchema = (7, n0, _CCOo, 0) - -CONSUMER_DESCRIPTION: StaticSchema = ( - 18, - n0, - _CDo, - 0, - (_CNo, _CARNo, _CSo, _CCTo, _SARN), - ( - (CONSUMER_NAME, 1), - (CONSUMER_ARN, 1), - (CONSUMER_STATUS, 1), - (TIMESTAMP, 1), - (STREAM_ARN, 1), - ), -) - -CONSUMER_LIST: StaticSchema = (16, n0, _CL, 0, (_me,), ((CONSUMER, 0),)) - -S3_DESTINATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SDC, - 0, - (_DFIS, _DLQSC, _SCt), - ( - (DATA_FRESHNESS_IN_SECONDS, 0), - (DEAD_LETTER_QUEUE_S3_CONFIGURATION, 0), - (S3_STORAGE_CONFIGURATION, 1), - ), -) - -S3_TABLES_DESTINATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _STDC, - 0, - (_DFIS, _DLQSC, _STCL), - ( - (DATA_FRESHNESS_IN_SECONDS, 0), - (DEAD_LETTER_QUEUE_S3_CONFIGURATION, 1), - (S3_TABLES_CONFIGURATION_LIST, 1), - ), -) - -CREATE_CHANNEL_INPUT: StaticSchema = ( - 18, - n0, - _CCI, - {_sm: None}, - (_CN, _SERARN, _SCL, _SDC, _STDC, _EC, _T, _LC), - ( - (CHANNEL_NAME, 1), - (ROLE_ARN, 1), - (CHANNEL_STREAM_CONFIGURATION_LIST, 1), - (S3_DESTINATION_CONFIGURATION, 0), - (S3_TABLES_DESTINATION_CONFIGURATION, 0), - (CHANNEL_ENCRYPTION_CONFIGURATION, 0), - (TAG_MAP, 0), - (CHANNEL_LOGGING_CONFIGURATION, 0), - ), -) - -CREATE_CHANNEL_OUTPUT: StaticSchema = ( - 18, - n0, - _CCOr, - {_smit: None}, - (_CD,), - ((CHANNEL_DESCRIPTION, 1),), -) - -KMS_ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSADE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -KMS_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSDE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -KMS_INVALID_STATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSISE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -KMS_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSNFE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -KMS_OPT_IN_REQUIRED: StaticSchema = ( - 18, - n0, - _KMSOIR, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -KMS_THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSTE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_CHANNEL: StaticOperationSchema = ( - 23, - n0, - _CC, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - CREATE_CHANNEL_INPUT, - CREATE_CHANNEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLING_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RECORD_SIZE_IN_KI_B: StaticSchema = (7, n0, _MRSIKB, 0) - -RECORD_DISTRIBUTION_STRATEGY: StaticSchema = ( - 14, - n0, - _RDS, - 0, - (_AUTO, _UPK), - ((-1, {_sV: _AUTO}), (-1, {_sV: _UPK})), -) - -POSITIVE_INTEGER_OBJECT: StaticSchema = (7, n0, _PIO, 0) - -STREAM_MODE: StaticSchema = ( - 14, - n0, - _SM, - 0, - (_PROVISIONED, _OD), - ((-1, {_sV: _PROVISIONED}), (-1, {_sV: _OD})), -) - -STREAM_MODE_DETAILS: StaticSchema = (18, n0, _SMD, 0, (_SM,), ((STREAM_MODE, 1),)) - -NATURAL_INTEGER_OBJECT: StaticSchema = (7, n0, _NIO, 0) - -CREATE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _CSIr, - {_sm: None}, - (_SN, _SCh, _SMD, _T, _WTMB, _MRSIKB, _RDS), - ( - (STREAM_NAME, 1), - (POSITIVE_INTEGER_OBJECT, 0), - (STREAM_MODE_DETAILS, 0), - (TAG_MAP, 0), - (NATURAL_INTEGER_OBJECT, 0), - (MAX_RECORD_SIZE_IN_KI_B, 0), - (RECORD_DISTRIBUTION_STRATEGY, 0), - ), -) - -CREATE_STREAM_OUTPUT: StaticSchema = (18, n0, _CSO, {_sSI: _sU, _smit: None}) - -CREATE_STREAM: StaticOperationSchema = ( - 23, - n0, - _CSr, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - CREATE_STREAM_INPUT, - CREATE_STREAM_OUTPUT, - ( - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DATA: StaticSchema = (1, n0, _D, 0) - -RETENTION_PERIOD_HOURS: StaticSchema = (7, n0, _RPH, 0) - -DECREASE_STREAM_RETENTION_PERIOD_INPUT: StaticSchema = ( - 18, - n0, - _DSRPI, - {_sm: None}, - (_SN, _RPH, _SARN, _SI), - ( - (STREAM_NAME, 0), - (RETENTION_PERIOD_HOURS, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -DECREASE_STREAM_RETENTION_PERIOD_OUTPUT: StaticSchema = ( - 18, - n0, - _DSRPO, - {_sSI: _sU, _smit: None}, -) - -DECREASE_STREAM_RETENTION_PERIOD: StaticOperationSchema = ( - 23, - n0, - _DSRP, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DECREASE_STREAM_RETENTION_PERIOD_INPUT, - DECREASE_STREAM_RETENTION_PERIOD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DELETE_CHANNEL_INPUT: StaticSchema = ( - 18, - n0, - _DCI, - {_sm: None}, - (_CARN,), - ((CHANNEL_ARN, {_sP: MappingProxyType({"name": "ChannelARN"}), _smi: None}),), -) - -DELETE_CHANNEL_OUTPUT: StaticSchema = (18, n0, _DCO, {_sSI: _sU, _smit: None}) - -DELETE_CHANNEL: StaticOperationSchema = ( - 23, - n0, - _DC, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DELETE_CHANNEL_INPUT, - DELETE_CHANNEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -RESOURCE_ARN: StaticSchema = (3, n0, _RARNe, 0) - -DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_sm: None}, - (_RARNe, _SI), - ( - (RESOURCE_ARN, {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPO, {_sSI: _sU, _smit: None}) - -DELETE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DELETE_RESOURCE_POLICY_INPUT, - DELETE_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DELETE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _DSI, - {_sm: None}, - (_SN, _ECD, _SARN, _SI), - ( - (STREAM_NAME, 0), - (BOOLEAN_OBJECT, 0), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -DELETE_STREAM_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _sU, _smit: None}) - -DELETE_STREAM: StaticOperationSchema = ( - 23, - n0, - _DS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DELETE_STREAM_INPUT, - DELETE_STREAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DEREGISTER_STREAM_CONSUMER_INPUT: StaticSchema = ( - 18, - n0, - _DSCI, - {_sm: None}, - (_SARN, _CNo, _CARNo, _SI), - ( - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (CONSUMER_NAME, 0), - (CONSUMER_ARN, {_sP: MappingProxyType({"name": "ConsumerARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -DEREGISTER_STREAM_CONSUMER_OUTPUT: StaticSchema = ( - 18, - n0, - _DSCO, - {_sSI: _sU, _smit: None}, -) - -DEREGISTER_STREAM_CONSUMER: StaticOperationSchema = ( - 23, - n0, - _DSC, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DEREGISTER_STREAM_CONSUMER_INPUT, - DEREGISTER_STREAM_CONSUMER_OUTPUT, - ( - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DESCRIBE_ACCOUNT_SETTINGS_INPUT: StaticSchema = (18, n0, _DASI, {_sm: None}) - -MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT_STATUS: StaticSchema = ( - 14, - n0, - _MTBCOS, - 0, - (_ENABLED, _DISABLED, _EUEAE), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _EUEAE})), -) - -MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _MTBCO, - 0, - (_Sta, _SA, _EA, _EAEA), - ( - (MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT_STATUS, 1), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -DESCRIBE_ACCOUNT_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DASO, - {_smit: None}, - (_MTBC,), - ((MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT, 0),), -) - -DESCRIBE_ACCOUNT_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _DAS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DESCRIBE_ACCOUNT_SETTINGS_INPUT, - DESCRIBE_ACCOUNT_SETTINGS_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION,), -) - -DESCRIBE_CHANNEL_INPUT: StaticSchema = ( - 18, - n0, - _DCIe, - {_sm: None}, - (_CARN,), - ((CHANNEL_ARN, {_sP: MappingProxyType({"name": "ChannelARN"}), _smi: None}),), -) - -DESCRIBE_CHANNEL_OUTPUT: StaticSchema = ( - 18, - n0, - _DCOe, - {_smit: None}, - (_CD,), - ((CHANNEL_DESCRIPTION, 1),), -) - -DESCRIBE_CHANNEL: StaticOperationSchema = ( - 23, - n0, - _DCe, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DESCRIBE_CHANNEL_INPUT, - DESCRIBE_CHANNEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DESCRIBE_LIMITS_INPUT: StaticSchema = (18, n0, _DLI, {_sm: None}) - -ON_DEMAND_STREAM_COUNT_OBJECT: StaticSchema = (7, n0, _ODSCO, 0) - -ON_DEMAND_STREAM_COUNT_LIMIT_OBJECT: StaticSchema = (7, n0, _ODSCLO, 0) - -SHARD_COUNT_OBJECT: StaticSchema = (7, n0, _SCO, 0) - -DESCRIBE_LIMITS_OUTPUT: StaticSchema = ( - 18, - n0, - _DLO, - {_smit: None}, - (_SL, _OSC, _ODSC, _ODSCL, _CCh, _CCL), - ( - (SHARD_COUNT_OBJECT, 1), - (SHARD_COUNT_OBJECT, 1), - (ON_DEMAND_STREAM_COUNT_OBJECT, 1), - (ON_DEMAND_STREAM_COUNT_LIMIT_OBJECT, 1), - (CHANNEL_COUNT_OBJECT, 0), - (CHANNEL_COUNT_OBJECT, 0), - ), -) - -DESCRIBE_LIMITS: StaticOperationSchema = ( - 23, - n0, - _DL, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DESCRIBE_LIMITS_INPUT, - DESCRIBE_LIMITS_OUTPUT, - (LIMIT_EXCEEDED_EXCEPTION,), -) - -DESCRIBE_STREAM_INPUT_LIMIT: StaticSchema = (7, n0, _DSIL, 0) - -DESCRIBE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _DSIe, - {_sm: None}, - (_SN, _L, _ESSI, _SARN, _SI), - ( - (STREAM_NAME, 0), - (DESCRIBE_STREAM_INPUT_LIMIT, 0), - (SHARD_ID, 0), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -ENCRYPTION_TYPE: StaticSchema = ( - 14, - n0, - _ET, - 0, - (_NONE, _KMS), - ((-1, {_sV: _NONE}), (-1, {_sV: _KMS})), -) - -METRICS_NAME: StaticSchema = ( - 14, - n0, - _MN, - 0, - (_IB, _IR, _OB, _OR, _WPTE, _RPTE, _IAM, _ALL), - ( - (-1, {_sV: _IBn}), - (-1, {_sV: _IRn}), - (-1, {_sV: _OBu}), - (-1, {_sV: _ORu}), - (-1, {_sV: _WPTEr}), - (-1, {_sV: _RPTEe}), - (-1, {_sV: _IAMt}), - (-1, {_sV: _ALL}), - ), -) - -METRICS_NAME_LIST: StaticSchema = (16, n0, _MNL, 0, (_me,), ((METRICS_NAME, 0),)) - -ENHANCED_METRICS: StaticSchema = (18, n0, _EMn, 0, (_SLM,), ((METRICS_NAME_LIST, 0),)) - -ENHANCED_MONITORING_LIST: StaticSchema = ( - 16, - n0, - _EML, - 0, - (_me,), - ((ENHANCED_METRICS, 0),), -) - -SEQUENCE_NUMBER: StaticSchema = (3, n0, _SNe, 0) - -SEQUENCE_NUMBER_RANGE: StaticSchema = ( - 18, - n0, - _SNR, - 0, - (_SSN, _ESN), - ((SEQUENCE_NUMBER, 1), (SEQUENCE_NUMBER, 0)), -) - -SHARD: StaticSchema = ( - 18, - n0, - _Sh, - 0, - (_SIh, _PSI, _APSI, _HKR, _SNR), - ( - (SHARD_ID, 1), - (SHARD_ID, 0), - (SHARD_ID, 0), - (HASH_KEY_RANGE, 1), - (SEQUENCE_NUMBER_RANGE, 1), - ), -) - -SHARD_LIST: StaticSchema = (16, n0, _SLh, 0, (_me,), ((SHARD, 0),)) - -STREAM_STATUS: StaticSchema = ( - 14, - n0, - _SS, - 0, - (_CREATING, _DELETING, _ACTIVE, _UPDATING), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _UPDATING}), - ), -) - -STREAM_DESCRIPTION: StaticSchema = ( - 18, - n0, - _SD, - 0, - (_SN, _SARN, _SS, _SMD, _Sha, _HMS, _RPH, _SCTt, _EMnh, _ET, _KI), - ( - (STREAM_NAME, 1), - (STREAM_ARN, 1), - (STREAM_STATUS, 1), - (STREAM_MODE_DETAILS, 0), - (SHARD_LIST, 1), - (BOOLEAN_OBJECT, 1), - (RETENTION_PERIOD_HOURS, 1), - (TIMESTAMP, 1), - (ENHANCED_MONITORING_LIST, 1), - (ENCRYPTION_TYPE, 0), - (KEY_ID, 0), - ), -) - -DESCRIBE_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _DSOe, - {_smit: None}, - (_SD,), - ((STREAM_DESCRIPTION, 1),), -) - -DESCRIBE_STREAM: StaticOperationSchema = ( - 23, - n0, - _DSe, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DESCRIBE_STREAM_INPUT, - DESCRIBE_STREAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DESCRIBE_STREAM_CONSUMER_INPUT: StaticSchema = ( - 18, - n0, - _DSCIe, - {_sm: None}, - (_SARN, _CNo, _CARNo, _SI), - ( - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (CONSUMER_NAME, 0), - (CONSUMER_ARN, {_sP: MappingProxyType({"name": "ConsumerARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -DESCRIBE_STREAM_CONSUMER_OUTPUT: StaticSchema = ( - 18, - n0, - _DSCOe, - {_smit: None}, - (_CDo,), - ((CONSUMER_DESCRIPTION, 1),), -) - -DESCRIBE_STREAM_CONSUMER: StaticOperationSchema = ( - 23, - n0, - _DSCe, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DESCRIBE_STREAM_CONSUMER_INPUT, - DESCRIBE_STREAM_CONSUMER_OUTPUT, - ( - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DESCRIBE_STREAM_SUMMARY_INPUT: StaticSchema = ( - 18, - n0, - _DSSI, - {_sm: None}, - (_SN, _SARN, _SI), - ( - (STREAM_NAME, 0), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -WARM_THROUGHPUT_OBJECT: StaticSchema = ( - 18, - n0, - _WTO, - 0, - (_TMB, _CMB), - ((NATURAL_INTEGER_OBJECT, 0), (NATURAL_INTEGER_OBJECT, 0)), -) - -STREAM_DESCRIPTION_SUMMARY: StaticSchema = ( - 18, - n0, - _SDS, - 0, - ( - _SN, - _SARN, - _SI, - _SS, - _SMD, - _RPH, - _SCTt, - _EMnh, - _ET, - _KI, - _OSC, - _CCo, - _WT, - _MRSIKB, - _CCh, - _RDS, - ), - ( - (STREAM_NAME, 1), - (STREAM_ARN, 1), - (STREAM_ID, 0), - (STREAM_STATUS, 1), - (STREAM_MODE_DETAILS, 0), - (RETENTION_PERIOD_HOURS, 1), - (TIMESTAMP, 1), - (ENHANCED_MONITORING_LIST, 1), - (ENCRYPTION_TYPE, 0), - (KEY_ID, 0), - (SHARD_COUNT_OBJECT, 1), - (CONSUMER_COUNT_OBJECT, 0), - (WARM_THROUGHPUT_OBJECT, 0), - (MAX_RECORD_SIZE_IN_KI_B, 0), - (CHANNEL_COUNT_OBJECT, 0), - (RECORD_DISTRIBUTION_STRATEGY, 0), - ), -) - -DESCRIBE_STREAM_SUMMARY_OUTPUT: StaticSchema = ( - 18, - n0, - _DSSO, - {_smit: None}, - (_SDS,), - ((STREAM_DESCRIPTION_SUMMARY, 1),), -) - -DESCRIBE_STREAM_SUMMARY: StaticOperationSchema = ( - 23, - n0, - _DSS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DESCRIBE_STREAM_SUMMARY_INPUT, - DESCRIBE_STREAM_SUMMARY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DISABLE_ENHANCED_MONITORING_INPUT: StaticSchema = ( - 18, - n0, - _DEMI, - {_sm: None}, - (_SN, _SLM, _SARN, _SI), - ( - (STREAM_NAME, 0), - (METRICS_NAME_LIST, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -DISABLE_ENHANCED_MONITORING_OUTPUT: StaticSchema = ( - 18, - n0, - _DEMO, - {_sSI: _cEMO, _smit: None}, - (_SN, _CSLM, _DSLM, _SARN), - ((STREAM_NAME, 0), (METRICS_NAME_LIST, 0), (METRICS_NAME_LIST, 0), (STREAM_ARN, 0)), -) - -DISABLE_ENHANCED_MONITORING: StaticOperationSchema = ( - 23, - n0, - _DEM, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - DISABLE_ENHANCED_MONITORING_INPUT, - DISABLE_ENHANCED_MONITORING_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DRY_RUN_OPERATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _DROE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -ENABLE_ENHANCED_MONITORING_INPUT: StaticSchema = ( - 18, - n0, - _EEMI, - {_sm: None}, - (_SN, _SLM, _SARN, _SI), - ( - (STREAM_NAME, 0), - (METRICS_NAME_LIST, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -ENABLE_ENHANCED_MONITORING_OUTPUT: StaticSchema = ( - 18, - n0, - _EEMO, - {_sSI: _cEMO, _smit: None}, - (_SN, _CSLM, _DSLM, _SARN), - ((STREAM_NAME, 0), (METRICS_NAME_LIST, 0), (METRICS_NAME_LIST, 0), (STREAM_ARN, 0)), -) - -ENABLE_ENHANCED_MONITORING: StaticOperationSchema = ( - 23, - n0, - _EEM, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - ENABLE_ENHANCED_MONITORING_INPUT, - ENABLE_ENHANCED_MONITORING_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -ERROR_CODE: StaticSchema = (3, n0, _ECr, 0) - -EXPIRED_ITERATOR_EXCEPTION: StaticSchema = ( - 18, - n0, - _EIE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -EXPIRED_NEXT_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _ENTE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -GET_RECORDS_INPUT_LIMIT: StaticSchema = (7, n0, _GRIL, 0) - -SHARD_ITERATOR: StaticSchema = (3, n0, _SIha, 0) - -GET_RECORDS_INPUT: StaticSchema = ( - 18, - n0, - _GRI, - {_sm: None}, - (_SIha, _L, _SARN, _SI, _DR), - ( - (SHARD_ITERATOR, 1), - (GET_RECORDS_INPUT_LIMIT, 0), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (BOOLEAN_OBJECT, 0), - ), -) - -MILLIS_BEHIND_LATEST: StaticSchema = (8, n0, _MBL, 0) - -PARTITION_KEY: StaticSchema = (3, n0, _PK, 0) - -RECORD: StaticSchema = ( - 18, - n0, - _R, - 0, - (_SNe, _AAT, _D, _PK, _ET), - ( - (SEQUENCE_NUMBER, 1), - (TIMESTAMP, 0), - (DATA, 1), - (PARTITION_KEY, 0), - (ENCRYPTION_TYPE, 0), - ), -) - -RECORD_LIST: StaticSchema = (16, n0, _RL, 0, (_me,), ((RECORD, 0),)) - -GET_RECORDS_OUTPUT: StaticSchema = ( - 18, - n0, - _GRO, - {_smit: None}, - (_Re, _NSI, _MBL, _CShil), - ( - (RECORD_LIST, 1), - (SHARD_ITERATOR, 0), - (MILLIS_BEHIND_LATEST, 0), - (CHILD_SHARD_LIST, 0), - ), -) - -INTERNAL_FAILURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IFE, - {_s: _se}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _PTEE, - {_s: _c}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -GET_RECORDS: StaticOperationSchema = ( - 23, - n0, - _GR, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, - GET_RECORDS_INPUT, - GET_RECORDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - EXPIRED_ITERATOR_EXCEPTION, - INTERNAL_FAILURE_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLING_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_sm: None}, - (_RARNe, _SI), - ( - (RESOURCE_ARN, {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -POLICY: StaticSchema = (3, n0, _P, 0) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_smit: None}, - (_P,), - ((POLICY, 1),), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRP, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -SHARD_ITERATOR_TYPE: StaticSchema = ( - 14, - n0, - _SIT, - 0, - (_ASN, _ASN_, _TH_, _LATEST, _AT), - ( - (-1, {_sV: _ASN}), - (-1, {_sV: _ASN_}), - (-1, {_sV: _TH_}), - (-1, {_sV: _LATEST}), - (-1, {_sV: _AT}), - ), -) - -GET_SHARD_ITERATOR_INPUT: StaticSchema = ( - 18, - n0, - _GSII, - {_sm: None}, - (_SN, _SIh, _SIT, _SSN, _Ti, _SARN, _SI, _DR), - ( - (STREAM_NAME, 0), - (SHARD_ID, 1), - (SHARD_ITERATOR_TYPE, 1), - (SEQUENCE_NUMBER, 0), - (TIMESTAMP, 0), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (BOOLEAN_OBJECT, 0), - ), -) - -GET_SHARD_ITERATOR_OUTPUT: StaticSchema = ( - 18, - n0, - _GSIO, - {_smit: None}, - (_SIha,), - ((SHARD_ITERATOR, 0),), -) - -GET_SHARD_ITERATOR: StaticOperationSchema = ( - 23, - n0, - _GSI, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, - GET_SHARD_ITERATOR_INPUT, - GET_SHARD_ITERATOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INTERNAL_FAILURE_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -INCREASE_STREAM_RETENTION_PERIOD_INPUT: StaticSchema = ( - 18, - n0, - _ISRPI, - {_sm: None}, - (_SN, _RPH, _SARN, _SI), - ( - (STREAM_NAME, 0), - (RETENTION_PERIOD_HOURS, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -INCREASE_STREAM_RETENTION_PERIOD_OUTPUT: StaticSchema = ( - 18, - n0, - _ISRPO, - {_sSI: _sU, _smit: None}, -) - -INCREASE_STREAM_RETENTION_PERIOD: StaticOperationSchema = ( - 23, - n0, - _ISRP, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - INCREASE_STREAM_RETENTION_PERIOD_INPUT, - INCREASE_STREAM_RETENTION_PERIOD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -LIST_CHANNELS_INPUT_LIMIT: StaticSchema = (7, n0, _LCIL, 0) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -STREAM_FILTER: StaticSchema = ( - 18, - n0, - _SF, - 0, - (_SARN, _SCTt), - ((STREAM_ARN, 1), (TIMESTAMP, 0)), -) - -STREAM_FILTER_LIST: StaticSchema = (16, n0, _SFL, 0, (_me,), ((STREAM_FILTER, 0),)) - -LIST_CHANNELS_INPUT: StaticSchema = ( - 18, - n0, - _LCI, - {_sm: None}, - (_SF, _MR, _NT), - ((STREAM_FILTER_LIST, 0), (LIST_CHANNELS_INPUT_LIMIT, 0), (NEXT_TOKEN, 0)), -) - -LIST_CHANNELS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCO, - {_smit: None}, - (_CSha, _NT), - ((CHANNEL_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), -) - -LIST_CHANNELS: StaticOperationSchema = ( - 23, - n0, - _LCi, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - LIST_CHANNELS_INPUT, - LIST_CHANNELS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - EXPIRED_NEXT_TOKEN_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_SHARDS_INPUT_LIMIT: StaticSchema = (7, n0, _LSIL, 0) - -SHARD_FILTER_TYPE: StaticSchema = ( - 14, - n0, - _SFT, - 0, - (_ASI, _ATH, _FTH, _AL, _AT, _FT), - ( - (-1, {_sV: _ASI}), - (-1, {_sV: _ATH}), - (-1, {_sV: _FTH}), - (-1, {_sV: _AL}), - (-1, {_sV: _AT}), - (-1, {_sV: _FT}), - ), -) - -SHARD_FILTER: StaticSchema = ( - 18, - n0, - _SFh, - 0, - (_Ty, _SIh, _Ti), - ((SHARD_FILTER_TYPE, 1), (SHARD_ID, 0), (TIMESTAMP, 0)), -) - -LIST_SHARDS_INPUT: StaticSchema = ( - 18, - n0, - _LSI, - {_sm: None}, - (_SN, _NT, _ESSI, _MR, _SCTt, _SFh, _SARN, _SI), - ( - (STREAM_NAME, 0), - (NEXT_TOKEN, 0), - (SHARD_ID, 0), - (LIST_SHARDS_INPUT_LIMIT, 0), - (TIMESTAMP, 0), - (SHARD_FILTER, 0), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -LIST_SHARDS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_smit: None}, - (_Sha, _NT), - ((SHARD_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_SHARDS: StaticOperationSchema = ( - 23, - n0, - _LS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - LIST_SHARDS_INPUT, - LIST_SHARDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - EXPIRED_NEXT_TOKEN_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -LIST_STREAM_CONSUMERS_INPUT_LIMIT: StaticSchema = (7, n0, _LSCIL, 0) - -LIST_STREAM_CONSUMERS_INPUT: StaticSchema = ( - 18, - n0, - _LSCI, - {_sm: None}, - (_SARN, _NT, _MR, _SCTt, _SI), - ( - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"}), _smi: None}), - (NEXT_TOKEN, 0), - (LIST_STREAM_CONSUMERS_INPUT_LIMIT, 0), - (TIMESTAMP, 0), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -LIST_STREAM_CONSUMERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSCO, - {_smit: None}, - (_Co, _NT), - ((CONSUMER_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_STREAM_CONSUMERS: StaticOperationSchema = ( - 23, - n0, - _LSC, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - LIST_STREAM_CONSUMERS_INPUT, - LIST_STREAM_CONSUMERS_OUTPUT, - ( - EXPIRED_NEXT_TOKEN_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -LIST_STREAMS_INPUT_LIMIT: StaticSchema = (7, n0, _LSILi, 0) - -LIST_STREAMS_INPUT: StaticSchema = ( - 18, - n0, - _LSIi, - {_sm: None}, - (_L, _ESSN, _NT), - ((LIST_STREAMS_INPUT_LIMIT, 0), (STREAM_NAME, 0), (NEXT_TOKEN, 0)), -) - -STREAM_NAME_LIST: StaticSchema = (16, n0, _SNL, 0, (_me,), ((STREAM_NAME, 0),)) - -STREAM_SUMMARY: StaticSchema = ( - 18, - n0, - _SSt, - 0, - (_SN, _SARN, _SS, _SMD, _SCTt), - ( - (STREAM_NAME, 1), - (STREAM_ARN, 1), - (STREAM_STATUS, 1), - (STREAM_MODE_DETAILS, 0), - (TIMESTAMP, 0), - ), -) - -STREAM_SUMMARY_LIST: StaticSchema = (16, n0, _SSL, 0, (_me,), ((STREAM_SUMMARY, 0),)) - -LIST_STREAMS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSOi, - {_smit: None}, - (_SNt, _HMSa, _NT, _SStr), - ( - (STREAM_NAME_LIST, 1), - (BOOLEAN_OBJECT, 1), - (NEXT_TOKEN, 0), - (STREAM_SUMMARY_LIST, 0), - ), -) - -LIST_STREAMS: StaticOperationSchema = ( - 23, - n0, - _LSi, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - LIST_STREAMS_INPUT, - LIST_STREAMS_OUTPUT, - ( - EXPIRED_NEXT_TOKEN_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - ), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sm: None}, - (_RARNe, _SI), - ( - (RESOURCE_ARN, {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -TAG: StaticSchema = (18, n0, _Ta, 0, (_K, _V), ((TAG_KEY, 1), (TAG_VALUE, 0))) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, 0),)) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_smit: None}, - (_T,), - ((TAG_LIST, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -LIST_TAGS_FOR_STREAM_INPUT_LIMIT: StaticSchema = (7, n0, _LTFSIL, 0) - -LIST_TAGS_FOR_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _LTFSI, - {_sm: None}, - (_SN, _ESTK, _L, _SARN, _SI), - ( - (STREAM_NAME, 0), - (TAG_KEY, 0), - (LIST_TAGS_FOR_STREAM_INPUT_LIMIT, 0), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -LIST_TAGS_FOR_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFSO, - {_smit: None}, - (_T, _HMT), - ((TAG_LIST, 1), (BOOLEAN_OBJECT, 1)), -) - -LIST_TAGS_FOR_STREAM: StaticOperationSchema = ( - 23, - n0, - _LTFS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - LIST_TAGS_FOR_STREAM_INPUT, - LIST_TAGS_FOR_STREAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -MERGE_SHARDS_INPUT: StaticSchema = ( - 18, - n0, - _MSI, - {_sm: None}, - (_SN, _STM, _ASTM, _SARN, _SI), - ( - (STREAM_NAME, 0), - (SHARD_ID, 1), - (SHARD_ID, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -MERGE_SHARDS_OUTPUT: StaticSchema = (18, n0, _MSO, {_sSI: _sU, _smit: None}) - -MERGE_SHARDS: StaticOperationSchema = ( - 23, - n0, - _MS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - MERGE_SHARDS_INPUT, - MERGE_SHARDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PUT_RECORD_INPUT: StaticSchema = ( - 18, - n0, - _PRI, - {_sm: None}, - (_SN, _D, _PK, _EHKx, _SNFO, _SARN, _SI, _DR), - ( - (STREAM_NAME, 0), - (DATA, 1), - (PARTITION_KEY, 0), - (HASH_KEY, 0), - (SEQUENCE_NUMBER, 0), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (BOOLEAN_OBJECT, 0), - ), -) - -PUT_RECORD_OUTPUT: StaticSchema = ( - 18, - n0, - _PRO, - {_smit: None}, - (_SIh, _SNe, _ET), - ((SHARD_ID, 1), (SEQUENCE_NUMBER, 1), (ENCRYPTION_TYPE, 0)), -) - -PUT_RECORD: StaticOperationSchema = ( - 23, - n0, - _PR, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, - PUT_RECORD_INPUT, - PUT_RECORD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INTERNAL_FAILURE_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLING_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -PUT_RECORDS_REQUEST_ENTRY: StaticSchema = ( - 18, - n0, - _PRRE, - 0, - (_D, _EHKx, _PK), - ((DATA, 1), (HASH_KEY, 0), (PARTITION_KEY, 0)), -) - -PUT_RECORDS_REQUEST_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _PRREL, - 0, - (_me,), - ((PUT_RECORDS_REQUEST_ENTRY, 0),), -) - -PUT_RECORDS_INPUT: StaticSchema = ( - 18, - n0, - _PRIu, - {_sm: None}, - (_Re, _SN, _SARN, _SI, _DR), - ( - (PUT_RECORDS_REQUEST_ENTRY_LIST, 1), - (STREAM_NAME, 0), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (BOOLEAN_OBJECT, 0), - ), -) - -PUT_RECORDS_RESULT_ENTRY: StaticSchema = ( - 18, - n0, - _PRREu, - 0, - (_SNe, _SIh, _ECr, _EM), - ((SEQUENCE_NUMBER, 0), (SHARD_ID, 0), (ERROR_CODE, 0), (ERROR_MESSAGE, 0)), -) - -PUT_RECORDS_RESULT_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _PRRELu, - 0, - (_me,), - ((PUT_RECORDS_RESULT_ENTRY, 0),), -) - -PUT_RECORDS_OUTPUT: StaticSchema = ( - 18, - n0, - _PROu, - {_smit: None}, - (_FRC, _Re, _ET), - ( - (POSITIVE_INTEGER_OBJECT, 0), - (PUT_RECORDS_RESULT_ENTRY_LIST, 1), - (ENCRYPTION_TYPE, 0), - ), -) - -PUT_RECORDS: StaticOperationSchema = ( - 23, - n0, - _PRu, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, - PUT_RECORDS_INPUT, - PUT_RECORDS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INTERNAL_FAILURE_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLING_EXCEPTION, - PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_sm: None}, - (_RARNe, _SI, _P), - ( - (RESOURCE_ARN, {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (POLICY, 1), - ), -) - -PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = (18, n0, _PRPO, {_sSI: _sU, _smit: None}) - -PUT_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRP, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - PUT_RESOURCE_POLICY_INPUT, - PUT_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -REGISTER_STREAM_CONSUMER_INPUT: StaticSchema = ( - 18, - n0, - _RSCI, - {_sm: None}, - (_SARN, _CNo, _SI, _T), - ( - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"}), _smi: None}), - (CONSUMER_NAME, 1), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (TAG_MAP, 0), - ), -) - -REGISTER_STREAM_CONSUMER_OUTPUT: StaticSchema = ( - 18, - n0, - _RSCO, - {_smit: None}, - (_C,), - ((CONSUMER, 1),), -) - -REGISTER_STREAM_CONSUMER: StaticOperationSchema = ( - 23, - n0, - _RSC, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - REGISTER_STREAM_CONSUMER_INPUT, - REGISTER_STREAM_CONSUMER_OUTPUT, - ( - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, 0),)) - -REMOVE_TAGS_FROM_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _RTFSI, - {_sm: None}, - (_SN, _TKa, _SARN, _SI), - ( - (STREAM_NAME, 0), - (TAG_KEY_LIST, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -REMOVE_TAGS_FROM_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _RTFSO, - {_sSI: _sU, _smit: None}, -) - -REMOVE_TAGS_FROM_STREAM: StaticOperationSchema = ( - 23, - n0, - _RTFS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - REMOVE_TAGS_FROM_STREAM_INPUT, - REMOVE_TAGS_FROM_STREAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -SPLIT_SHARD_INPUT: StaticSchema = ( - 18, - n0, - _SSI, - {_sm: None}, - (_SN, _STS, _NSHK, _SARN, _SI), - ( - (STREAM_NAME, 0), - (SHARD_ID, 1), - (HASH_KEY, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -SPLIT_SHARD_OUTPUT: StaticSchema = (18, n0, _SSO, {_sSI: _sU, _smit: None}) - -SPLIT_SHARD: StaticOperationSchema = ( - 23, - n0, - _SSp, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - SPLIT_SHARD_INPUT, - SPLIT_SHARD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -START_STREAM_ENCRYPTION_INPUT: StaticSchema = ( - 18, - n0, - _SSEI, - {_sm: None}, - (_SN, _ET, _KI, _SARN, _SI), - ( - (STREAM_NAME, 0), - (ENCRYPTION_TYPE, 1), - (KEY_ID, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -START_STREAM_ENCRYPTION_OUTPUT: StaticSchema = (18, n0, _SSEO, {_sSI: _sU, _smit: None}) - -START_STREAM_ENCRYPTION: StaticOperationSchema = ( - 23, - n0, - _SSE, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - START_STREAM_ENCRYPTION_INPUT, - START_STREAM_ENCRYPTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLING_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -STOP_STREAM_ENCRYPTION_INPUT: StaticSchema = ( - 18, - n0, - _SSEIt, - {_sm: None}, - (_SN, _ET, _KI, _SARN, _SI), - ( - (STREAM_NAME, 0), - (ENCRYPTION_TYPE, 1), - (KEY_ID, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -STOP_STREAM_ENCRYPTION_OUTPUT: StaticSchema = (18, n0, _SSEOt, {_sSI: _sU, _smit: None}) - -STOP_STREAM_ENCRYPTION: StaticOperationSchema = ( - 23, - n0, - _SSEt, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - STOP_STREAM_ENCRYPTION_INPUT, - STOP_STREAM_ENCRYPTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -STARTING_POSITION: StaticSchema = ( - 18, - n0, - _SP, - 0, - (_Ty, _SNe, _Ti), - ((SHARD_ITERATOR_TYPE, 1), (SEQUENCE_NUMBER, 0), (TIMESTAMP, 0)), -) - -SUBSCRIBE_TO_SHARD_INPUT: StaticSchema = ( - 18, - n0, - _STSI, - {_sm: None}, - (_CARNo, _SI, _SIh, _SP, _DR), - ( - (CONSUMER_ARN, {_sP: MappingProxyType({"name": "ConsumerARN"}), _smi: None}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (SHARD_ID, 1), - (STARTING_POSITION, 1), - (BOOLEAN_OBJECT, 0), - ), -) - -SUBSCRIBE_TO_SHARD_EVENT: StaticSchema = ( - 18, - n0, - _STSE, - 0, - (_Re, _CSN, _MBL, _CShil), - ( - (RECORD_LIST, 1), - (SEQUENCE_NUMBER, 1), - (MILLIS_BEHIND_LATEST, 1), - (CHILD_SHARD_LIST, 0), - ), -) - -SUBSCRIBE_TO_SHARD_EVENT_STREAM: StaticSchema = ( - 19, - n0, - _STSES, - {_smith: None}, - (_STSE, _RNFE, _RIUE, _KMSDE, _KMSISE, _KMSADE, _KMSNFE, _KMSOIR, _KMSTE, _IFE), - ( - (SUBSCRIBE_TO_SHARD_EVENT, 0), - (RESOURCE_NOT_FOUND_EXCEPTION, 0), - (RESOURCE_IN_USE_EXCEPTION, 0), - (KMS_DISABLED_EXCEPTION, 0), - (KMS_INVALID_STATE_EXCEPTION, 0), - (KMS_ACCESS_DENIED_EXCEPTION, 0), - (KMS_NOT_FOUND_EXCEPTION, 0), - (KMS_OPT_IN_REQUIRED, 0), - (KMS_THROTTLING_EXCEPTION, 0), - (INTERNAL_FAILURE_EXCEPTION, 0), - ), -) - -SUBSCRIBE_TO_SHARD_OUTPUT: StaticSchema = ( - 18, - n0, - _STSO, - {_smit: None}, - (_ES,), - ((SUBSCRIBE_TO_SHARD_EVENT_STREAM, 1),), -) - -SUBSCRIBE_TO_SHARD: StaticOperationSchema = ( - 23, - n0, - _STSu, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, - SUBSCRIBE_TO_SHARD_INPUT, - SUBSCRIBE_TO_SHARD_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sm: None}, - (_T, _RARNe, _SI), - ( - (TAG_MAP, 1), - (RESOURCE_ARN, {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smit: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sm: None}, - (_TKa, _RARNe, _SI), - ( - (TAG_KEY_LIST, 1), - (RESOURCE_ARN, {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smit: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT_STATUS: StaticSchema = ( - 14, - n0, - _MTBCIS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT: StaticSchema = ( - 18, - n0, - _MTBCI, - 0, - (_Sta,), - ((MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT_STATUS, 1),), -) - -UPDATE_ACCOUNT_SETTINGS_INPUT: StaticSchema = ( - 18, - n0, - _UASI, - {_sm: None}, - (_MTBC,), - ((MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT, 1),), -) - -UPDATE_ACCOUNT_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _UASO, - {_smit: None}, - (_MTBC,), - ((MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT, 0),), -) - -UPDATE_ACCOUNT_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _UAS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - UPDATE_ACCOUNT_SETTINGS_INPUT, - UPDATE_ACCOUNT_SETTINGS_OUTPUT, - (INVALID_ARGUMENT_EXCEPTION, LIMIT_EXCEEDED_EXCEPTION, VALIDATION_EXCEPTION), -) - -S3_DESTINATION_UPDATE_INPUT: StaticSchema = ( - 18, - n0, - _SDUI, - 0, - (_DFIS,), - ((DATA_FRESHNESS_IN_SECONDS, 1),), -) - -S3_TABLES_DESTINATION_UPDATE_INPUT: StaticSchema = ( - 18, - n0, - _STDUI, - 0, - (_DFIS,), - ((DATA_FRESHNESS_IN_SECONDS, 1),), -) - -UPDATE_CHANNEL_INPUT: StaticSchema = ( - 18, - n0, - _UCI, - {_sm: None}, - (_CARN, _SDC, _STDC, _LC), - ( - (CHANNEL_ARN, {_sP: MappingProxyType({"name": "ChannelARN"}), _smi: None}), - (S3_DESTINATION_UPDATE_INPUT, 0), - (S3_TABLES_DESTINATION_UPDATE_INPUT, 0), - (CHANNEL_LOGGING_UPDATE_INPUT, 0), - ), -) - -UPDATE_CHANNEL_OUTPUT: StaticSchema = ( - 18, - n0, - _UCO, - {_smit: None}, - (_CD,), - ((CHANNEL_DESCRIPTION, 1),), -) - -UPDATE_CHANNEL: StaticOperationSchema = ( - 23, - n0, - _UC, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - UPDATE_CHANNEL_INPUT, - UPDATE_CHANNEL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_MAX_RECORD_SIZE_INPUT: StaticSchema = ( - 18, - n0, - _UMRSI, - {_sm: None}, - (_SARN, _SI, _MRSIKB), - ( - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (MAX_RECORD_SIZE_IN_KI_B, 1), - ), -) - -UPDATE_MAX_RECORD_SIZE_OUTPUT: StaticSchema = (18, n0, _UMRSO, {_sSI: _sU, _smit: None}) - -UPDATE_MAX_RECORD_SIZE: StaticOperationSchema = ( - 23, - n0, - _UMRS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - UPDATE_MAX_RECORD_SIZE_INPUT, - UPDATE_MAX_RECORD_SIZE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SCALING_TYPE: StaticSchema = (14, n0, _STc, 0, (_US,), ((-1, {_sV: _US}),)) - -UPDATE_SHARD_COUNT_INPUT: StaticSchema = ( - 18, - n0, - _USCI, - {_sm: None}, - (_SN, _TSC, _STc, _SARN, _SI), - ( - (STREAM_NAME, 0), - (POSITIVE_INTEGER_OBJECT, 1), - (SCALING_TYPE, 1), - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - ), -) - -UPDATE_SHARD_COUNT_OUTPUT: StaticSchema = ( - 18, - n0, - _USCO, - {_smit: None}, - (_SN, _CSCu, _TSC, _SARN), - ( - (STREAM_NAME, 0), - (POSITIVE_INTEGER_OBJECT, 0), - (POSITIVE_INTEGER_OBJECT, 0), - (STREAM_ARN, 0), - ), -) - -UPDATE_SHARD_COUNT: StaticOperationSchema = ( - 23, - n0, - _USC, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - UPDATE_SHARD_COUNT_INPUT, - UPDATE_SHARD_COUNT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_STREAM_MODE_INPUT: StaticSchema = ( - 18, - n0, - _USMI, - {_sm: None}, - (_SARN, _SI, _SMD, _WTMB), - ( - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"}), _smi: None}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (STREAM_MODE_DETAILS, 1), - (NATURAL_INTEGER_OBJECT, 0), - ), -) - -UPDATE_STREAM_MODE_OUTPUT: StaticSchema = (18, n0, _USMO, {_sSI: _sU, _smit: None}) - -UPDATE_STREAM_MODE: StaticOperationSchema = ( - 23, - n0, - _USM, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - UPDATE_STREAM_MODE_INPUT, - UPDATE_STREAM_MODE_OUTPUT, - ( - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_INPUT: StaticSchema = ( - 18, - n0, - _USRDSI, - {_sm: None}, - (_SARN, _SI, _RDS), - ( - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"}), _smi: None}), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (RECORD_DISTRIBUTION_STRATEGY, 1), - ), -) - -UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_OUTPUT: StaticSchema = ( - 18, - n0, - _USRDSO, - {_sSI: _sU, _smit: None}, -) - -UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY: StaticOperationSchema = ( - 23, - n0, - _USRDS, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_INPUT, - UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_STREAM_WARM_THROUGHPUT_INPUT: StaticSchema = ( - 18, - n0, - _USWTI, - {_sm: None}, - (_SARN, _SN, _SI, _WTMB), - ( - (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), - (STREAM_NAME, 0), - (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), - (NATURAL_INTEGER_OBJECT, 1), - ), -) - -UPDATE_STREAM_WARM_THROUGHPUT_OUTPUT: StaticSchema = ( - 18, - n0, - _USWTO, - {_smit: None}, - (_SARN, _SN, _WT), - ((STREAM_ARN, 0), (STREAM_NAME, 0), (WARM_THROUGHPUT_OBJECT, 0)), -) - -UPDATE_STREAM_WARM_THROUGHPUT: StaticOperationSchema = ( - 23, - n0, - _USWT, - {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, - UPDATE_STREAM_WARM_THROUGHPUT_INPUT, - UPDATE_STREAM_WARM_THROUGHPUT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INVALID_ARGUMENT_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -KINESIS_20131202: StaticSchema = ( - 21, - n0, - _K_, - { - _a: MappingProxyType({"name": "kinesis"}), - _a_: MappingProxyType({"http": ("http/1.1", "h2"), "eventStreamHttp": ("h2",)}), - _aw: MappingProxyType( - { - "sdkId": "Kinesis", - "arnNamespace": "kinesis", - "cloudFormationName": "Kinesis", - "cloudTrailEventSource": "kinesis.amazonaws.com", - "endpointPrefix": "kinesis", - } - ), - _sN: MappingProxyType({"uri": "http://kinesis.amazonaws.com/doc/2013-12-02"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ERROR_MESSAGE", + "ACCESS_DENIED_EXCEPTION", + "STREAM_ARN", + "STREAM_ID", + "STREAM_NAME", + "TAG_KEY", + "TAG_VALUE", + "TAG_MAP", + "ADD_TAGS_TO_STREAM_INPUT", + "ADD_TAGS_TO_STREAM_OUTPUT", + "ADD_TAGS_TO_STREAM", + "INVALID_ARGUMENT_EXCEPTION", + "LIMIT_EXCEEDED_EXCEPTION", + "RESOURCE_IN_USE_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "BOOLEAN_OBJECT", + "BUCKET_ARN", + "CHANNEL_ARN", + "CHANNEL_COUNT_OBJECT", + "TIMESTAMP", + "CHANNEL_ID", + "CHANNEL_NAME", + "CHANNEL_STATUS", + "CHANNEL_STATUS_REASON", + "CHANNEL_ENCRYPTION_TYPE", + "KEY_ID", + "CHANNEL_ENCRYPTION_CONFIGURATION", + "CLOUD_WATCH_LOG_GROUP_NAME", + "CLOUD_WATCH_LOG_STREAM_NAME", + "CLOUD_WATCH_LOGS", + "CHANNEL_LOGGING_CONFIGURATION", + "DATA_FRESHNESS_IN_SECONDS", + "S3_ERROR_OUTPUT_PREFIX", + "EXPECTED_BUCKET_OWNER", + "DEAD_LETTER_QUEUE_S3_CONFIGURATION", + "S3_COMPRESSION_TYPE", + "S3_OUTPUT_KEY_TEMPLATE", + "S3_STORAGE_CLASS", + "S3_STORAGE_CONFIGURATION", + "S3_DESTINATION_DESCRIPTION", + "S3_TABLES_COMPRESSION_TYPE", + "S3_TABLES_NAMESPACE", + "PARTITION_SOURCE_NAME", + "PARTITION_TRANSFORM", + "PARTITION_FIELD", + "PARTITION_FIELD_LIST", + "PARTITION_SPEC", + "TABLE_BUCKET_ARN", + "S3_TABLES_TABLE_NAME", + "S3_TABLES_CONFIGURATION", + "S3_TABLES_CONFIGURATION_LIST", + "S3_TABLES_DESTINATION_DESCRIPTION", + "ROLE_ARN", + "GSR_SCHEMA_ARN", + "RECORD_FORMAT_TYPE", + "RECORD_CONFIGURATION", + "CHANNEL_STREAM_DESCRIPTION", + "CHANNEL_STREAM_DESCRIPTION_LIST", + "CHANNEL_DESCRIPTION", + "CHANNEL_DESTINATION_TYPE", + "CLOUD_WATCH_LOGS_UPDATE_INPUT", + "CHANNEL_LOGGING_UPDATE_INPUT", + "CHANNEL_STREAM_CONFIGURATION", + "CHANNEL_STREAM_CONFIGURATION_LIST", + "CHANNEL_STREAM_IDENTIFIER", + "CHANNEL_STREAM_IDENTIFIER_LIST", + "CHANNEL_SUMMARY", + "CHANNEL_SUMMARY_LIST", + "HASH_KEY", + "HASH_KEY_RANGE", + "SHARD_ID", + "SHARD_ID_LIST", + "CHILD_SHARD", + "CHILD_SHARD_LIST", + "CONSUMER_ARN", + "CONSUMER_NAME", + "CONSUMER_STATUS", + "CONSUMER", + "CONSUMER_COUNT_OBJECT", + "CONSUMER_DESCRIPTION", + "CONSUMER_LIST", + "S3_DESTINATION_CONFIGURATION", + "S3_TABLES_DESTINATION_CONFIGURATION", + "CREATE_CHANNEL_INPUT", + "CREATE_CHANNEL_OUTPUT", + "CREATE_CHANNEL", + "KMS_ACCESS_DENIED_EXCEPTION", + "KMS_DISABLED_EXCEPTION", + "KMS_INVALID_STATE_EXCEPTION", + "KMS_NOT_FOUND_EXCEPTION", + "KMS_OPT_IN_REQUIRED", + "KMS_THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION", + "MAX_RECORD_SIZE_IN_KI_B", + "RECORD_DISTRIBUTION_STRATEGY", + "POSITIVE_INTEGER_OBJECT", + "STREAM_MODE", + "STREAM_MODE_DETAILS", + "NATURAL_INTEGER_OBJECT", + "CREATE_STREAM_INPUT", + "CREATE_STREAM_OUTPUT", + "CREATE_STREAM", + "DATA", + "RETENTION_PERIOD_HOURS", + "DECREASE_STREAM_RETENTION_PERIOD_INPUT", + "DECREASE_STREAM_RETENTION_PERIOD_OUTPUT", + "DECREASE_STREAM_RETENTION_PERIOD", + "DELETE_CHANNEL_INPUT", + "DELETE_CHANNEL_OUTPUT", + "DELETE_CHANNEL", + "RESOURCE_ARN", + "DELETE_RESOURCE_POLICY_INPUT", + "DELETE_RESOURCE_POLICY_OUTPUT", + "DELETE_RESOURCE_POLICY", + "DELETE_STREAM_INPUT", + "DELETE_STREAM_OUTPUT", + "DELETE_STREAM", + "ENCRYPTION_TYPE", + "WARM_THROUGHPUT_OBJECT", + "POLICY", + ), + ( + "DEREGISTER_STREAM_CONSUMER_INPUT", + "DEREGISTER_STREAM_CONSUMER_OUTPUT", + "DEREGISTER_STREAM_CONSUMER", + "DESCRIBE_ACCOUNT_SETTINGS_INPUT", + "DESCRIBE_ACCOUNT_SETTINGS_OUTPUT", + "DESCRIBE_ACCOUNT_SETTINGS", + "MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT_STATUS", + "MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT", + "DESCRIBE_CHANNEL_INPUT", + "DESCRIBE_CHANNEL_OUTPUT", + "DESCRIBE_CHANNEL", + "DESCRIBE_LIMITS_INPUT", + "DESCRIBE_LIMITS_OUTPUT", + "DESCRIBE_LIMITS", + "ON_DEMAND_STREAM_COUNT_OBJECT", + "ON_DEMAND_STREAM_COUNT_LIMIT_OBJECT", + "SHARD_COUNT_OBJECT", + "DESCRIBE_STREAM_INPUT_LIMIT", + "DESCRIBE_STREAM_INPUT", + "DESCRIBE_STREAM_OUTPUT", + "DESCRIBE_STREAM", + "METRICS_NAME", + "METRICS_NAME_LIST", + "ENHANCED_METRICS", + "ENHANCED_MONITORING_LIST", + "SEQUENCE_NUMBER", + "SEQUENCE_NUMBER_RANGE", + "SHARD", + "SHARD_LIST", + "STREAM_STATUS", + "STREAM_DESCRIPTION", + "DESCRIBE_STREAM_CONSUMER_INPUT", + "DESCRIBE_STREAM_CONSUMER_OUTPUT", + "DESCRIBE_STREAM_CONSUMER", + "DESCRIBE_STREAM_SUMMARY_INPUT", + "DESCRIBE_STREAM_SUMMARY_OUTPUT", + "DESCRIBE_STREAM_SUMMARY", + "STREAM_DESCRIPTION_SUMMARY", + "DISABLE_ENHANCED_MONITORING_INPUT", + "DISABLE_ENHANCED_MONITORING_OUTPUT", + "DISABLE_ENHANCED_MONITORING", + "DRY_RUN_OPERATION_EXCEPTION", + "ENABLE_ENHANCED_MONITORING_INPUT", + "ENABLE_ENHANCED_MONITORING_OUTPUT", + "ENABLE_ENHANCED_MONITORING", + "ERROR_CODE", + "EXPIRED_ITERATOR_EXCEPTION", + "EXPIRED_NEXT_TOKEN_EXCEPTION", + "GET_RECORDS_INPUT_LIMIT", + "SHARD_ITERATOR", + "GET_RECORDS_INPUT", + "GET_RECORDS_OUTPUT", + "GET_RECORDS", + "MILLIS_BEHIND_LATEST", + "PARTITION_KEY", + "RECORD", + "RECORD_LIST", + "INTERNAL_FAILURE_EXCEPTION", + "PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + "SHARD_ITERATOR_TYPE", + "GET_SHARD_ITERATOR_INPUT", + "GET_SHARD_ITERATOR_OUTPUT", + "GET_SHARD_ITERATOR", + "INCREASE_STREAM_RETENTION_PERIOD_INPUT", + "INCREASE_STREAM_RETENTION_PERIOD_OUTPUT", + "INCREASE_STREAM_RETENTION_PERIOD", + "LIST_CHANNELS_INPUT_LIMIT", + "NEXT_TOKEN", + "STREAM_FILTER", + "STREAM_FILTER_LIST", + "LIST_CHANNELS_INPUT", + "LIST_CHANNELS_OUTPUT", + "LIST_CHANNELS", + "LIST_SHARDS_INPUT_LIMIT", + "SHARD_FILTER_TYPE", + "SHARD_FILTER", + "LIST_SHARDS_INPUT", + "LIST_SHARDS_OUTPUT", + "LIST_SHARDS", + "LIST_STREAM_CONSUMERS_INPUT_LIMIT", + "LIST_STREAM_CONSUMERS_INPUT", + "LIST_STREAM_CONSUMERS_OUTPUT", + "LIST_STREAM_CONSUMERS", + "LIST_STREAMS_INPUT_LIMIT", + ), + ( + "LIST_STREAMS_INPUT", + "LIST_STREAMS_OUTPUT", + "LIST_STREAMS", + "STREAM_NAME_LIST", + "STREAM_SUMMARY", + "STREAM_SUMMARY_LIST", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "TAG", + "TAG_LIST", + "LIST_TAGS_FOR_STREAM_INPUT_LIMIT", + "LIST_TAGS_FOR_STREAM_INPUT", + "LIST_TAGS_FOR_STREAM_OUTPUT", + "LIST_TAGS_FOR_STREAM", + "MERGE_SHARDS_INPUT", + "MERGE_SHARDS_OUTPUT", + "MERGE_SHARDS", + "PUT_RECORD_INPUT", + "PUT_RECORD_OUTPUT", + "PUT_RECORD", + "PUT_RECORDS_REQUEST_ENTRY", + "PUT_RECORDS_REQUEST_ENTRY_LIST", + "PUT_RECORDS_INPUT", + "PUT_RECORDS_OUTPUT", + "PUT_RECORDS", + "PUT_RECORDS_RESULT_ENTRY", + "PUT_RECORDS_RESULT_ENTRY_LIST", + "PUT_RESOURCE_POLICY_INPUT", + "PUT_RESOURCE_POLICY_OUTPUT", + "PUT_RESOURCE_POLICY", + "REGISTER_STREAM_CONSUMER_INPUT", + "REGISTER_STREAM_CONSUMER_OUTPUT", + "REGISTER_STREAM_CONSUMER", + "TAG_KEY_LIST", + "REMOVE_TAGS_FROM_STREAM_INPUT", + "REMOVE_TAGS_FROM_STREAM_OUTPUT", + "REMOVE_TAGS_FROM_STREAM", + "SPLIT_SHARD_INPUT", + "SPLIT_SHARD_OUTPUT", + "SPLIT_SHARD", + "START_STREAM_ENCRYPTION_INPUT", + "START_STREAM_ENCRYPTION_OUTPUT", + "START_STREAM_ENCRYPTION", + "STOP_STREAM_ENCRYPTION_INPUT", + "STOP_STREAM_ENCRYPTION_OUTPUT", + "STOP_STREAM_ENCRYPTION", + "STARTING_POSITION", + "SUBSCRIBE_TO_SHARD_INPUT", + "SUBSCRIBE_TO_SHARD_OUTPUT", + "SUBSCRIBE_TO_SHARD", + "SUBSCRIBE_TO_SHARD_EVENT", + "SUBSCRIBE_TO_SHARD_EVENT_STREAM", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT_STATUS", + "MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT", + "UPDATE_ACCOUNT_SETTINGS_INPUT", + "UPDATE_ACCOUNT_SETTINGS_OUTPUT", + "UPDATE_ACCOUNT_SETTINGS", + "S3_DESTINATION_UPDATE_INPUT", + "S3_TABLES_DESTINATION_UPDATE_INPUT", + "UPDATE_CHANNEL_INPUT", + "UPDATE_CHANNEL_OUTPUT", + "UPDATE_CHANNEL", + "UPDATE_MAX_RECORD_SIZE_INPUT", + "UPDATE_MAX_RECORD_SIZE_OUTPUT", + "UPDATE_MAX_RECORD_SIZE", + "SCALING_TYPE", + "UPDATE_SHARD_COUNT_INPUT", + "UPDATE_SHARD_COUNT_OUTPUT", + "UPDATE_SHARD_COUNT", + "UPDATE_STREAM_MODE_INPUT", + "UPDATE_STREAM_MODE_OUTPUT", + "UPDATE_STREAM_MODE", + "UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_INPUT", + "UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_OUTPUT", + "UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY", + "UPDATE_STREAM_WARM_THROUGHPUT_INPUT", + "UPDATE_STREAM_WARM_THROUGHPUT_OUTPUT", + "UPDATE_STREAM_WARM_THROUGHPUT", + "KINESIS_20131202", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas_0.py b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas_0.py new file mode 100644 index 000000000..0fb406d40 --- /dev/null +++ b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas_0.py @@ -0,0 +1,1056 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.kinesis" +_EM = "ErrorMessage" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_m = "message" +_SARN = "StreamARN" +_SI = "StreamId" +_SN = "StreamName" +_TK = "TagKey" +_TV = "TagValue" +_TM = "TagMap" +_k = "key" +_v = "value" +_ATTSI = "AddTagsToStreamInput" +_sm = "smithy.api#input" +_T = "Tags" +_smi = "smithy.api#required" +_sP = "smithy.rules#contextParam" +_ATTSO = "AddTagsToStreamOutput" +_sSI = "smithy.synthetic#originalShapeId" +_sU = "smithy.api#Unit" +_smit = "smithy.api#output" +_IAE = "InvalidArgumentException" +_LEE = "LimitExceededException" +_RIUE = "ResourceInUseException" +_RNFE = "ResourceNotFoundException" +_ATTS = "AddTagsToStream" +_sCP = "smithy.rules#staticContextParams" +_BO = "BooleanObject" +_BARN = "BucketARN" +_CARN = "ChannelARN" +_CCO = "ChannelCountObject" +_Ti = "Timestamp" +_CI = "ChannelId" +_CN = "ChannelName" +_CS = "ChannelStatus" +_CREATING = "CREATING" +_sV = "smithy.api#enumValue" +_ACTIVE = "ACTIVE" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_FAILED = "FAILED" +_CSR = "ChannelStatusReason" +_CET = "ChannelEncryptionType" +_KMS = "KMS" +_KI = "KeyId" +_CEC = "ChannelEncryptionConfiguration" +_ET = "EncryptionType" +_CWLGN = "CloudWatchLogGroupName" +_CWLSN = "CloudWatchLogStreamName" +_CWL = "CloudWatchLogs" +_E = "Enabled" +_LGN = "LogGroupName" +_LSN = "LogStreamName" +_CLC = "ChannelLoggingConfiguration" +_DFIS = "DataFreshnessInSeconds" +_SEOP = "S3ErrorOutputPrefix" +_EBO = "ExpectedBucketOwner" +_DLQSC = "DeadLetterQueueS3Configuration" +_EOP = "ErrorOutputPrefix" +_SCT = "S3CompressionType" +_NONE = "NONE" +_GZIP = "GZIP" +_ZSTD = "ZSTD" +_SOKT = "S3OutputKeyTemplate" +_SSC = "S3StorageClass" +_STANDARD = "STANDARD" +_IT = "INTELLIGENT_TIERING" +_GI = "GLACIER_IR" +_SSCt = "S3StorageConfiguration" +_OKT = "OutputKeyTemplate" +_SC = "StorageClass" +_CT = "CompressionType" +_SDD = "S3DestinationDescription" +_SCt = "StorageConfiguration" +_STCT = "S3TablesCompressionType" +_SNAPPY = "SNAPPY" +_STN = "S3TablesNamespace" +_PSN = "PartitionSourceName" +_PT = "PartitionTransform" +_TH = "TIME_HOUR" +_PF = "PartitionField" +_Tr = "Transform" +_SNo = "SourceName" +_PFL = "PartitionFieldList" +_me = "member" +_PS = "PartitionSpec" +_PFa = "PartitionFields" +_TBARN = "TableBucketARN" +_STTN = "S3TablesTableName" +_STC = "S3TablesConfiguration" +_N = "Namespace" +_TN = "TableName" +_STCL = "S3TablesConfigurationList" +_STDD = "S3TablesDestinationDescription" +_RARN = "RoleARN" +_GSRSARN = "GSRSchemaARN" +_RFT = "RecordFormatType" +_GJ = "GSR_JSON" +_JSON = "JSON" +_STRING = "STRING" +_BA = "BYTE_ARRAY" +_RC = "RecordConfiguration" +_CSD = "ChannelStreamDescription" +_SCTt = "StreamCreationTimestamp" +_CSDL = "ChannelStreamDescriptionList" +_CD = "ChannelDescription" +_CCT = "ChannelCreationTimestamp" +_SERARN = "ServiceExecutionRoleARN" +_SCL = "StreamConfigurationList" +_SDC = "S3DestinationConfiguration" +_STDC = "S3TablesDestinationConfiguration" +_EC = "EncryptionConfiguration" +_LC = "LoggingConfiguration" +_CDT = "ChannelDestinationType" +_S = "S3" +_ST = "S3_TABLES" +_CWLUI = "CloudWatchLogsUpdateInput" +_CLUI = "ChannelLoggingUpdateInput" +_CSC = "ChannelStreamConfiguration" +_CSCL = "ChannelStreamConfigurationList" +_CSI = "ChannelStreamIdentifier" +_CSIL = "ChannelStreamIdentifierList" +_CSh = "ChannelSummary" +_St = "Streams" +_CSL = "ChannelSummaryList" +_HK = "HashKey" +_HKR = "HashKeyRange" +_SHK = "StartingHashKey" +_EHK = "EndingHashKey" +_SIh = "ShardId" +_SIL = "ShardIdList" +_CShi = "ChildShard" +_PSa = "ParentShards" +_CSLh = "ChildShardList" +_CARNo = "ConsumerARN" +_CNo = "ConsumerName" +_CSo = "ConsumerStatus" +_C = "Consumer" +_CCTo = "ConsumerCreationTimestamp" +_CCOo = "ConsumerCountObject" +_CDo = "ConsumerDescription" +_CL = "ConsumerList" +_CCI = "CreateChannelInput" +_CCOr = "CreateChannelOutput" +_KMSADE = "KMSAccessDeniedException" +_KMSDE = "KMSDisabledException" +_KMSISE = "KMSInvalidStateException" +_KMSNFE = "KMSNotFoundException" +_KMSOIR = "KMSOptInRequired" +_KMSTE = "KMSThrottlingException" +_VE = "ValidationException" +_CC = "CreateChannel" +_MRSIKB = "MaxRecordSizeInKiB" +_RDS = "RecordDistributionStrategy" +_AUTO = "AUTO" +_UPK = "USER_PARTITION_KEY" +_PIO = "PositiveIntegerObject" +_SM = "StreamMode" +_PROVISIONED = "PROVISIONED" +_OD = "ON_DEMAND" +_SMD = "StreamModeDetails" +_NIO = "NaturalIntegerObject" +_CSIr = "CreateStreamInput" +_SCh = "ShardCount" +_WTMB = "WarmThroughputMiBps" +_CSO = "CreateStreamOutput" +_CSr = "CreateStream" +_D = "Data" +_RPH = "RetentionPeriodHours" +_DSRPI = "DecreaseStreamRetentionPeriodInput" +_DSRPO = "DecreaseStreamRetentionPeriodOutput" +_DSRP = "DecreaseStreamRetentionPeriod" +_DCI = "DeleteChannelInput" +_DCO = "DeleteChannelOutput" +_DC = "DeleteChannel" +_RARNe = "ResourceARN" +_DRPI = "DeleteResourcePolicyInput" +_DRPO = "DeleteResourcePolicyOutput" +_DRP = "DeleteResourcePolicy" +_DSI = "DeleteStreamInput" +_ECD = "EnforceConsumerDeletion" +_DSO = "DeleteStreamOutput" +_DS = "DeleteStream" +_WTO = "WarmThroughputObject" +_TMB = "TargetMiBps" +_CMB = "CurrentMiBps" +_P = "Policy" + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +STREAM_ARN: StaticSchema = (3, n0, _SARN, 0) + +STREAM_ID: StaticSchema = (3, n0, _SI, 0) + +STREAM_NAME: StaticSchema = (3, n0, _SN, 0) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) + +ADD_TAGS_TO_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _ATTSI, + {_sm: None}, + (_SN, _T, _SARN, _SI), + ( + (STREAM_NAME, 0), + (TAG_MAP, 1), + (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +ADD_TAGS_TO_STREAM_OUTPUT: StaticSchema = (18, n0, _ATTSO, {_sSI: _sU, _smit: None}) + +ADD_TAGS_TO_STREAM: StaticOperationSchema = ( + 23, + n0, + _ATTS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + ADD_TAGS_TO_STREAM_INPUT, + ADD_TAGS_TO_STREAM_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + lambda: INVALID_ARGUMENT_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + lambda: RESOURCE_IN_USE_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +INVALID_ARGUMENT_EXCEPTION: StaticSchema = ( + 18, + n0, + _IAE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _RIUE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +BOOLEAN_OBJECT: StaticSchema = (2, n0, _BO, 0) + +BUCKET_ARN: StaticSchema = (3, n0, _BARN, 0) + +CHANNEL_ARN: StaticSchema = (3, n0, _CARN, 0) + +CHANNEL_COUNT_OBJECT: StaticSchema = (7, n0, _CCO, 0) + +TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) + +CHANNEL_ID: StaticSchema = (3, n0, _CI, 0) + +CHANNEL_NAME: StaticSchema = (3, n0, _CN, 0) + +CHANNEL_STATUS: StaticSchema = ( + 14, + n0, + _CS, + 0, + (_CREATING, _ACTIVE, _UPDATING, _DELETING, _FAILED), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _FAILED}), + ), +) + +CHANNEL_STATUS_REASON: StaticSchema = (3, n0, _CSR, 0) + +CHANNEL_ENCRYPTION_TYPE: StaticSchema = (14, n0, _CET, 0, (_KMS,), ((-1, {_sV: _KMS}),)) + +KEY_ID: StaticSchema = (3, n0, _KI, 0) + +CHANNEL_ENCRYPTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CEC, + 0, + (_ET, _KI), + ((CHANNEL_ENCRYPTION_TYPE, 1), (KEY_ID, 1)), +) + +CLOUD_WATCH_LOG_GROUP_NAME: StaticSchema = (3, n0, _CWLGN, 0) + +CLOUD_WATCH_LOG_STREAM_NAME: StaticSchema = (3, n0, _CWLSN, 0) + +CLOUD_WATCH_LOGS: StaticSchema = ( + 18, + n0, + _CWL, + 0, + (_E, _LGN, _LSN), + ( + (BOOLEAN_OBJECT, 1), + (CLOUD_WATCH_LOG_GROUP_NAME, 0), + (CLOUD_WATCH_LOG_STREAM_NAME, 0), + ), +) + +CHANNEL_LOGGING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CLC, + 0, + (_CWL,), + ((CLOUD_WATCH_LOGS, 1),), +) + +DATA_FRESHNESS_IN_SECONDS: StaticSchema = (7, n0, _DFIS, 0) + +S3_ERROR_OUTPUT_PREFIX: StaticSchema = (3, n0, _SEOP, 0) + +EXPECTED_BUCKET_OWNER: StaticSchema = (3, n0, _EBO, 0) + +DEAD_LETTER_QUEUE_S3_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DLQSC, + 0, + (_BARN, _EBO, _EOP), + ((BUCKET_ARN, 1), (EXPECTED_BUCKET_OWNER, 1), (S3_ERROR_OUTPUT_PREFIX, 0)), +) + +S3_COMPRESSION_TYPE: StaticSchema = ( + 14, + n0, + _SCT, + 0, + (_NONE, _GZIP, _ZSTD), + ((-1, {_sV: _NONE}), (-1, {_sV: _GZIP}), (-1, {_sV: _ZSTD})), +) + +S3_OUTPUT_KEY_TEMPLATE: StaticSchema = (3, n0, _SOKT, 0) + +S3_STORAGE_CLASS: StaticSchema = ( + 14, + n0, + _SSC, + 0, + (_STANDARD, _IT, _GI), + ((-1, {_sV: _STANDARD}), (-1, {_sV: _IT}), (-1, {_sV: _GI})), +) + +S3_STORAGE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SSCt, + 0, + (_BARN, _EBO, _OKT, _SC, _CT), + ( + (BUCKET_ARN, 1), + (EXPECTED_BUCKET_OWNER, 1), + (S3_OUTPUT_KEY_TEMPLATE, 0), + (S3_STORAGE_CLASS, 0), + (S3_COMPRESSION_TYPE, 1), + ), +) + +S3_DESTINATION_DESCRIPTION: StaticSchema = ( + 18, + n0, + _SDD, + 0, + (_DFIS, _DLQSC, _SCt), + ( + (DATA_FRESHNESS_IN_SECONDS, 1), + (DEAD_LETTER_QUEUE_S3_CONFIGURATION, 1), + (S3_STORAGE_CONFIGURATION, 1), + ), +) + +S3_TABLES_COMPRESSION_TYPE: StaticSchema = ( + 14, + n0, + _STCT, + 0, + (_NONE, _ZSTD, _SNAPPY), + ((-1, {_sV: _NONE}), (-1, {_sV: _ZSTD}), (-1, {_sV: _SNAPPY})), +) + +S3_TABLES_NAMESPACE: StaticSchema = (3, n0, _STN, 0) + +PARTITION_SOURCE_NAME: StaticSchema = (3, n0, _PSN, 0) + +PARTITION_TRANSFORM: StaticSchema = (14, n0, _PT, 0, (_TH,), ((-1, {_sV: _TH}),)) + +PARTITION_FIELD: StaticSchema = ( + 18, + n0, + _PF, + 0, + (_Tr, _SNo), + ((PARTITION_TRANSFORM, 1), (PARTITION_SOURCE_NAME, 1)), +) + +PARTITION_FIELD_LIST: StaticSchema = (16, n0, _PFL, 0, (_me,), ((PARTITION_FIELD, 0),)) + +PARTITION_SPEC: StaticSchema = (18, n0, _PS, 0, (_PFa,), ((PARTITION_FIELD_LIST, 1),)) + +TABLE_BUCKET_ARN: StaticSchema = (3, n0, _TBARN, 0) + +S3_TABLES_TABLE_NAME: StaticSchema = (3, n0, _STTN, 0) + +S3_TABLES_CONFIGURATION: StaticSchema = ( + 18, + n0, + _STC, + 0, + (_TBARN, _N, _TN, _CT, _PS), + ( + (TABLE_BUCKET_ARN, 1), + (S3_TABLES_NAMESPACE, 1), + (S3_TABLES_TABLE_NAME, 1), + (S3_TABLES_COMPRESSION_TYPE, 1), + (PARTITION_SPEC, 0), + ), +) + +S3_TABLES_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _STCL, + 0, + (_me,), + ((S3_TABLES_CONFIGURATION, 0),), +) + +S3_TABLES_DESTINATION_DESCRIPTION: StaticSchema = ( + 18, + n0, + _STDD, + 0, + (_DFIS, _DLQSC, _STCL), + ( + (DATA_FRESHNESS_IN_SECONDS, 1), + (DEAD_LETTER_QUEUE_S3_CONFIGURATION, 1), + (S3_TABLES_CONFIGURATION_LIST, 1), + ), +) + +ROLE_ARN: StaticSchema = (3, n0, _RARN, 0) + +GSR_SCHEMA_ARN: StaticSchema = (3, n0, _GSRSARN, 0) + +RECORD_FORMAT_TYPE: StaticSchema = ( + 14, + n0, + _RFT, + 0, + (_GJ, _JSON, _STRING, _BA), + ((-1, {_sV: _GJ}), (-1, {_sV: _JSON}), (-1, {_sV: _STRING}), (-1, {_sV: _BA})), +) + +RECORD_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RC, + 0, + (_RFT, _GSRSARN), + ((RECORD_FORMAT_TYPE, 1), (GSR_SCHEMA_ARN, 0)), +) + +CHANNEL_STREAM_DESCRIPTION: StaticSchema = ( + 18, + n0, + _CSD, + 0, + (_SARN, _SCTt, _RC), + ((STREAM_ARN, 1), (TIMESTAMP, 1), (RECORD_CONFIGURATION, 1)), +) + +CHANNEL_STREAM_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _CSDL, + 0, + (_me,), + ((CHANNEL_STREAM_DESCRIPTION, 0),), +) + +CHANNEL_DESCRIPTION: StaticSchema = ( + 18, + n0, + _CD, + 0, + (_CN, _CARN, _CI, _CS, _CSR, _CCT, _SERARN, _SCL, _SDC, _STDC, _EC, _LC), + ( + (CHANNEL_NAME, 1), + (CHANNEL_ARN, 1), + (CHANNEL_ID, 1), + (CHANNEL_STATUS, 1), + (CHANNEL_STATUS_REASON, 0), + (TIMESTAMP, 1), + (ROLE_ARN, 1), + (CHANNEL_STREAM_DESCRIPTION_LIST, 1), + (S3_DESTINATION_DESCRIPTION, 0), + (S3_TABLES_DESTINATION_DESCRIPTION, 0), + (CHANNEL_ENCRYPTION_CONFIGURATION, 0), + (CHANNEL_LOGGING_CONFIGURATION, 1), + ), +) + +CHANNEL_DESTINATION_TYPE: StaticSchema = ( + 14, + n0, + _CDT, + 0, + (_S, _ST), + ((-1, {_sV: _S}), (-1, {_sV: _ST})), +) + +CLOUD_WATCH_LOGS_UPDATE_INPUT: StaticSchema = ( + 18, + n0, + _CWLUI, + 0, + (_E, _LGN, _LSN), + ( + (BOOLEAN_OBJECT, 1), + (CLOUD_WATCH_LOG_GROUP_NAME, 0), + (CLOUD_WATCH_LOG_STREAM_NAME, 0), + ), +) + +CHANNEL_LOGGING_UPDATE_INPUT: StaticSchema = ( + 18, + n0, + _CLUI, + 0, + (_CWL,), + ((CLOUD_WATCH_LOGS_UPDATE_INPUT, 1),), +) + +CHANNEL_STREAM_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CSC, + 0, + (_SARN, _RC), + ((STREAM_ARN, 1), (RECORD_CONFIGURATION, 1)), +) + +CHANNEL_STREAM_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _CSCL, + 0, + (_me,), + ((CHANNEL_STREAM_CONFIGURATION, 0),), +) + +CHANNEL_STREAM_IDENTIFIER: StaticSchema = ( + 18, + n0, + _CSI, + 0, + (_SARN, _SCTt), + ((STREAM_ARN, 1), (TIMESTAMP, 1)), +) + +CHANNEL_STREAM_IDENTIFIER_LIST: StaticSchema = ( + 16, + n0, + _CSIL, + 0, + (_me,), + ((CHANNEL_STREAM_IDENTIFIER, 0),), +) + +CHANNEL_SUMMARY: StaticSchema = ( + 18, + n0, + _CSh, + 0, + (_CN, _CARN, _CI, _CS, _CSR, _CCT, _CDT, _St), + ( + (CHANNEL_NAME, 1), + (CHANNEL_ARN, 1), + (CHANNEL_ID, 1), + (CHANNEL_STATUS, 1), + (CHANNEL_STATUS_REASON, 0), + (TIMESTAMP, 1), + (CHANNEL_DESTINATION_TYPE, 1), + (CHANNEL_STREAM_IDENTIFIER_LIST, 1), + ), +) + +CHANNEL_SUMMARY_LIST: StaticSchema = (16, n0, _CSL, 0, (_me,), ((CHANNEL_SUMMARY, 0),)) + +HASH_KEY: StaticSchema = (3, n0, _HK, 0) + +HASH_KEY_RANGE: StaticSchema = ( + 18, + n0, + _HKR, + 0, + (_SHK, _EHK), + ((HASH_KEY, 1), (HASH_KEY, 1)), +) + +SHARD_ID: StaticSchema = (3, n0, _SIh, 0) + +SHARD_ID_LIST: StaticSchema = (16, n0, _SIL, 0, (_me,), ((SHARD_ID, 0),)) + +CHILD_SHARD: StaticSchema = ( + 18, + n0, + _CShi, + 0, + (_SIh, _PSa, _HKR), + ((SHARD_ID, 1), (SHARD_ID_LIST, 1), (HASH_KEY_RANGE, 1)), +) + +CHILD_SHARD_LIST: StaticSchema = (16, n0, _CSLh, 0, (_me,), ((CHILD_SHARD, 0),)) + +CONSUMER_ARN: StaticSchema = (3, n0, _CARNo, 0) + +CONSUMER_NAME: StaticSchema = (3, n0, _CNo, 0) + +CONSUMER_STATUS: StaticSchema = ( + 14, + n0, + _CSo, + 0, + (_CREATING, _DELETING, _ACTIVE), + ((-1, {_sV: _CREATING}), (-1, {_sV: _DELETING}), (-1, {_sV: _ACTIVE})), +) + +CONSUMER: StaticSchema = ( + 18, + n0, + _C, + 0, + (_CNo, _CARNo, _CSo, _CCTo), + ((CONSUMER_NAME, 1), (CONSUMER_ARN, 1), (CONSUMER_STATUS, 1), (TIMESTAMP, 1)), +) + +CONSUMER_COUNT_OBJECT: StaticSchema = (7, n0, _CCOo, 0) + +CONSUMER_DESCRIPTION: StaticSchema = ( + 18, + n0, + _CDo, + 0, + (_CNo, _CARNo, _CSo, _CCTo, _SARN), + ( + (CONSUMER_NAME, 1), + (CONSUMER_ARN, 1), + (CONSUMER_STATUS, 1), + (TIMESTAMP, 1), + (STREAM_ARN, 1), + ), +) + +CONSUMER_LIST: StaticSchema = (16, n0, _CL, 0, (_me,), ((CONSUMER, 0),)) + +S3_DESTINATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SDC, + 0, + (_DFIS, _DLQSC, _SCt), + ( + (DATA_FRESHNESS_IN_SECONDS, 0), + (DEAD_LETTER_QUEUE_S3_CONFIGURATION, 0), + (S3_STORAGE_CONFIGURATION, 1), + ), +) + +S3_TABLES_DESTINATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _STDC, + 0, + (_DFIS, _DLQSC, _STCL), + ( + (DATA_FRESHNESS_IN_SECONDS, 0), + (DEAD_LETTER_QUEUE_S3_CONFIGURATION, 1), + (S3_TABLES_CONFIGURATION_LIST, 1), + ), +) + +CREATE_CHANNEL_INPUT: StaticSchema = ( + 18, + n0, + _CCI, + {_sm: None}, + (_CN, _SERARN, _SCL, _SDC, _STDC, _EC, _T, _LC), + ( + (CHANNEL_NAME, 1), + (ROLE_ARN, 1), + (CHANNEL_STREAM_CONFIGURATION_LIST, 1), + (S3_DESTINATION_CONFIGURATION, 0), + (S3_TABLES_DESTINATION_CONFIGURATION, 0), + (CHANNEL_ENCRYPTION_CONFIGURATION, 0), + (TAG_MAP, 0), + (CHANNEL_LOGGING_CONFIGURATION, 0), + ), +) + +CREATE_CHANNEL_OUTPUT: StaticSchema = ( + 18, + n0, + _CCOr, + {_smit: None}, + (_CD,), + ((CHANNEL_DESCRIPTION, 1),), +) + +CREATE_CHANNEL: StaticOperationSchema = ( + 23, + n0, + _CC, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + CREATE_CHANNEL_INPUT, + CREATE_CHANNEL_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INVALID_ARGUMENT_EXCEPTION, + lambda: KMS_ACCESS_DENIED_EXCEPTION, + lambda: KMS_DISABLED_EXCEPTION, + lambda: KMS_INVALID_STATE_EXCEPTION, + lambda: KMS_NOT_FOUND_EXCEPTION, + lambda: KMS_OPT_IN_REQUIRED, + lambda: KMS_THROTTLING_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + RESOURCE_IN_USE_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +KMS_ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSADE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +KMS_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSDE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +KMS_INVALID_STATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSISE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +KMS_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSNFE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +KMS_OPT_IN_REQUIRED: StaticSchema = ( + 18, + n0, + _KMSOIR, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +KMS_THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSTE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_s: _c}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +MAX_RECORD_SIZE_IN_KI_B: StaticSchema = (7, n0, _MRSIKB, 0) + +RECORD_DISTRIBUTION_STRATEGY: StaticSchema = ( + 14, + n0, + _RDS, + 0, + (_AUTO, _UPK), + ((-1, {_sV: _AUTO}), (-1, {_sV: _UPK})), +) + +POSITIVE_INTEGER_OBJECT: StaticSchema = (7, n0, _PIO, 0) + +STREAM_MODE: StaticSchema = ( + 14, + n0, + _SM, + 0, + (_PROVISIONED, _OD), + ((-1, {_sV: _PROVISIONED}), (-1, {_sV: _OD})), +) + +STREAM_MODE_DETAILS: StaticSchema = (18, n0, _SMD, 0, (_SM,), ((STREAM_MODE, 1),)) + +NATURAL_INTEGER_OBJECT: StaticSchema = (7, n0, _NIO, 0) + +CREATE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _CSIr, + {_sm: None}, + (_SN, _SCh, _SMD, _T, _WTMB, _MRSIKB, _RDS), + ( + (STREAM_NAME, 1), + (POSITIVE_INTEGER_OBJECT, 0), + (STREAM_MODE_DETAILS, 0), + (TAG_MAP, 0), + (NATURAL_INTEGER_OBJECT, 0), + (MAX_RECORD_SIZE_IN_KI_B, 0), + (RECORD_DISTRIBUTION_STRATEGY, 0), + ), +) + +CREATE_STREAM_OUTPUT: StaticSchema = (18, n0, _CSO, {_sSI: _sU, _smit: None}) + +CREATE_STREAM: StaticOperationSchema = ( + 23, + n0, + _CSr, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + CREATE_STREAM_INPUT, + CREATE_STREAM_OUTPUT, + ( + INVALID_ARGUMENT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + RESOURCE_IN_USE_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +DATA: StaticSchema = (1, n0, _D, 0) + +RETENTION_PERIOD_HOURS: StaticSchema = (7, n0, _RPH, 0) + +DECREASE_STREAM_RETENTION_PERIOD_INPUT: StaticSchema = ( + 18, + n0, + _DSRPI, + {_sm: None}, + (_SN, _RPH, _SARN, _SI), + ( + (STREAM_NAME, 0), + (RETENTION_PERIOD_HOURS, 1), + (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +DECREASE_STREAM_RETENTION_PERIOD_OUTPUT: StaticSchema = ( + 18, + n0, + _DSRPO, + {_sSI: _sU, _smit: None}, +) + +DECREASE_STREAM_RETENTION_PERIOD: StaticOperationSchema = ( + 23, + n0, + _DSRP, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DECREASE_STREAM_RETENTION_PERIOD_INPUT, + DECREASE_STREAM_RETENTION_PERIOD_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INVALID_ARGUMENT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + RESOURCE_IN_USE_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DELETE_CHANNEL_INPUT: StaticSchema = ( + 18, + n0, + _DCI, + {_sm: None}, + (_CARN,), + ((CHANNEL_ARN, {_sP: MappingProxyType({"name": "ChannelARN"}), _smi: None}),), +) + +DELETE_CHANNEL_OUTPUT: StaticSchema = (18, n0, _DCO, {_sSI: _sU, _smit: None}) + +DELETE_CHANNEL: StaticOperationSchema = ( + 23, + n0, + _DC, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DELETE_CHANNEL_INPUT, + DELETE_CHANNEL_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INVALID_ARGUMENT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +RESOURCE_ARN: StaticSchema = (3, n0, _RARNe, 0) + +DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_sm: None}, + (_RARNe, _SI), + ( + (RESOURCE_ARN, {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}), + (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPO, {_sSI: _sU, _smit: None}) + +DELETE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DELETE_RESOURCE_POLICY_INPUT, + DELETE_RESOURCE_POLICY_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INVALID_ARGUMENT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + RESOURCE_IN_USE_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DELETE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _DSI, + {_sm: None}, + (_SN, _ECD, _SARN, _SI), + ( + (STREAM_NAME, 0), + (BOOLEAN_OBJECT, 0), + (STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +DELETE_STREAM_OUTPUT: StaticSchema = (18, n0, _DSO, {_sSI: _sU, _smit: None}) + +DELETE_STREAM: StaticOperationSchema = ( + 23, + n0, + _DS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DELETE_STREAM_INPUT, + DELETE_STREAM_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INVALID_ARGUMENT_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + RESOURCE_IN_USE_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +ENCRYPTION_TYPE: StaticSchema = ( + 14, + n0, + _ET, + 0, + (_NONE, _KMS), + ((-1, {_sV: _NONE}), (-1, {_sV: _KMS})), +) + +WARM_THROUGHPUT_OBJECT: StaticSchema = ( + 18, + n0, + _WTO, + 0, + (_TMB, _CMB), + ((NATURAL_INTEGER_OBJECT, 0), (NATURAL_INTEGER_OBJECT, 0)), +) + +POLICY: StaticSchema = (3, n0, _P, 0) diff --git a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas_1.py b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas_1.py new file mode 100644 index 000000000..1a8a11e8f --- /dev/null +++ b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas_1.py @@ -0,0 +1,1128 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.kinesis" +_s = "smithy.api#error" +_c = "client" +_m = "message" +_SARN = "StreamARN" +_SI = "StreamId" +_SN = "StreamName" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sP = "smithy.rules#contextParam" +_sSI = "smithy.synthetic#originalShapeId" +_sU = "smithy.api#Unit" +_smit = "smithy.api#output" +_sCP = "smithy.rules#staticContextParams" +_CARN = "ChannelARN" +_Ti = "Timestamp" +_CREATING = "CREATING" +_sV = "smithy.api#enumValue" +_ACTIVE = "ACTIVE" +_UPDATING = "UPDATING" +_DELETING = "DELETING" +_KI = "KeyId" +_ET = "EncryptionType" +_me = "member" +_SCTt = "StreamCreationTimestamp" +_CD = "ChannelDescription" +_HKR = "HashKeyRange" +_SIh = "ShardId" +_CARNo = "ConsumerARN" +_CNo = "ConsumerName" +_CDo = "ConsumerDescription" +_MRSIKB = "MaxRecordSizeInKiB" +_RDS = "RecordDistributionStrategy" +_SMD = "StreamModeDetails" +_D = "Data" +_RPH = "RetentionPeriodHours" +_RARNe = "ResourceARN" +_DSCI = "DeregisterStreamConsumerInput" +_DSCO = "DeregisterStreamConsumerOutput" +_DSC = "DeregisterStreamConsumer" +_DASI = "DescribeAccountSettingsInput" +_MTBCOS = "MinimumThroughputBillingCommitmentOutputStatus" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_EUEAE = "ENABLED_UNTIL_EARLIEST_ALLOWED_END" +_MTBCO = "MinimumThroughputBillingCommitmentOutput" +_Sta = "Status" +_SA = "StartedAt" +_EA = "EndedAt" +_EAEA = "EarliestAllowedEndAt" +_DASO = "DescribeAccountSettingsOutput" +_MTBC = "MinimumThroughputBillingCommitment" +_DAS = "DescribeAccountSettings" +_DCIe = "DescribeChannelInput" +_DCOe = "DescribeChannelOutput" +_DCe = "DescribeChannel" +_DLI = "DescribeLimitsInput" +_ODSCO = "OnDemandStreamCountObject" +_ODSCLO = "OnDemandStreamCountLimitObject" +_SCO = "ShardCountObject" +_DLO = "DescribeLimitsOutput" +_SL = "ShardLimit" +_OSC = "OpenShardCount" +_ODSC = "OnDemandStreamCount" +_ODSCL = "OnDemandStreamCountLimit" +_CCh = "ChannelCount" +_CCL = "ChannelCountLimit" +_DL = "DescribeLimits" +_DSIL = "DescribeStreamInputLimit" +_DSIe = "DescribeStreamInput" +_L = "Limit" +_ESSI = "ExclusiveStartShardId" +_MN = "MetricsName" +_IB = "INCOMING_BYTES" +_IBn = "IncomingBytes" +_IR = "INCOMING_RECORDS" +_IRn = "IncomingRecords" +_OB = "OUTGOING_BYTES" +_OBu = "OutgoingBytes" +_OR = "OUTGOING_RECORDS" +_ORu = "OutgoingRecords" +_WPTE = "WRITE_PROVISIONED_THROUGHPUT_EXCEEDED" +_WPTEr = "WriteProvisionedThroughputExceeded" +_RPTE = "READ_PROVISIONED_THROUGHPUT_EXCEEDED" +_RPTEe = "ReadProvisionedThroughputExceeded" +_IAM = "ITERATOR_AGE_MILLISECONDS" +_IAMt = "IteratorAgeMilliseconds" +_ALL = "ALL" +_MNL = "MetricsNameList" +_EMn = "EnhancedMetrics" +_SLM = "ShardLevelMetrics" +_EML = "EnhancedMonitoringList" +_SNe = "SequenceNumber" +_SNR = "SequenceNumberRange" +_SSN = "StartingSequenceNumber" +_ESN = "EndingSequenceNumber" +_Sh = "Shard" +_PSI = "ParentShardId" +_APSI = "AdjacentParentShardId" +_SLh = "ShardList" +_SS = "StreamStatus" +_SD = "StreamDescription" +_Sha = "Shards" +_HMS = "HasMoreShards" +_EMnh = "EnhancedMonitoring" +_DSOe = "DescribeStreamOutput" +_DSe = "DescribeStream" +_DSCIe = "DescribeStreamConsumerInput" +_DSCOe = "DescribeStreamConsumerOutput" +_DSCe = "DescribeStreamConsumer" +_DSSI = "DescribeStreamSummaryInput" +_SDS = "StreamDescriptionSummary" +_CCo = "ConsumerCount" +_WT = "WarmThroughput" +_DSSO = "DescribeStreamSummaryOutput" +_DSS = "DescribeStreamSummary" +_DEMI = "DisableEnhancedMonitoringInput" +_DEMO = "DisableEnhancedMonitoringOutput" +_cEMO = "com.amazonaws.kinesis#EnhancedMonitoringOutput" +_CSLM = "CurrentShardLevelMetrics" +_DSLM = "DesiredShardLevelMetrics" +_DEM = "DisableEnhancedMonitoring" +_DROE = "DryRunOperationException" +_EEMI = "EnableEnhancedMonitoringInput" +_EEMO = "EnableEnhancedMonitoringOutput" +_EEM = "EnableEnhancedMonitoring" +_ECr = "ErrorCode" +_EIE = "ExpiredIteratorException" +_ENTE = "ExpiredNextTokenException" +_GRIL = "GetRecordsInputLimit" +_SIha = "ShardIterator" +_GRI = "GetRecordsInput" +_DR = "DryRun" +_MBL = "MillisBehindLatest" +_PK = "PartitionKey" +_R = "Record" +_AAT = "ApproximateArrivalTimestamp" +_RL = "RecordList" +_GRO = "GetRecordsOutput" +_Re = "Records" +_NSI = "NextShardIterator" +_CShil = "ChildShards" +_IFE = "InternalFailureException" +_se = "server" +_PTEE = "ProvisionedThroughputExceededException" +_GR = "GetRecords" +_GRPI = "GetResourcePolicyInput" +_P = "Policy" +_GRPO = "GetResourcePolicyOutput" +_GRP = "GetResourcePolicy" +_SIT = "ShardIteratorType" +_ASN = "AT_SEQUENCE_NUMBER" +_ASN_ = "AFTER_SEQUENCE_NUMBER" +_TH_ = "TRIM_HORIZON" +_LATEST = "LATEST" +_AT = "AT_TIMESTAMP" +_GSII = "GetShardIteratorInput" +_GSIO = "GetShardIteratorOutput" +_GSI = "GetShardIterator" +_ISRPI = "IncreaseStreamRetentionPeriodInput" +_ISRPO = "IncreaseStreamRetentionPeriodOutput" +_ISRP = "IncreaseStreamRetentionPeriod" +_LCIL = "ListChannelsInputLimit" +_NT = "NextToken" +_SF = "StreamFilter" +_SFL = "StreamFilterList" +_LCI = "ListChannelsInput" +_MR = "MaxResults" +_LCO = "ListChannelsOutput" +_CSha = "ChannelSummaries" +_LCi = "ListChannels" +_LSIL = "ListShardsInputLimit" +_SFT = "ShardFilterType" +_ASI = "AFTER_SHARD_ID" +_ATH = "AT_TRIM_HORIZON" +_FTH = "FROM_TRIM_HORIZON" +_AL = "AT_LATEST" +_FT = "FROM_TIMESTAMP" +_SFh = "ShardFilter" +_Ty = "Type" +_LSI = "ListShardsInput" +_LSO = "ListShardsOutput" +_LS = "ListShards" +_LSCIL = "ListStreamConsumersInputLimit" +_LSCI = "ListStreamConsumersInput" +_LSCO = "ListStreamConsumersOutput" +_Co = "Consumers" +_LSC = "ListStreamConsumers" +_LSILi = "ListStreamsInputLimit" + +DEREGISTER_STREAM_CONSUMER_INPUT: StaticSchema = ( + 18, + n0, + _DSCI, + {_sm: None}, + (_SARN, _CNo, _CARNo, _SI), + ( + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.CONSUMER_NAME, 0), + ( + lambda: schemas.CONSUMER_ARN, + {_sP: MappingProxyType({"name": "ConsumerARN"})}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +DEREGISTER_STREAM_CONSUMER_OUTPUT: StaticSchema = ( + 18, + n0, + _DSCO, + {_sSI: _sU, _smit: None}, +) + +DEREGISTER_STREAM_CONSUMER: StaticOperationSchema = ( + 23, + n0, + _DSC, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DEREGISTER_STREAM_CONSUMER_INPUT, + DEREGISTER_STREAM_CONSUMER_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DESCRIBE_ACCOUNT_SETTINGS_INPUT: StaticSchema = (18, n0, _DASI, {_sm: None}) + +DESCRIBE_ACCOUNT_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DASO, + {_smit: None}, + (_MTBC,), + ((lambda: MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT, 0),), +) + +DESCRIBE_ACCOUNT_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _DAS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DESCRIBE_ACCOUNT_SETTINGS_INPUT, + DESCRIBE_ACCOUNT_SETTINGS_OUTPUT, + (lambda: schemas.LIMIT_EXCEEDED_EXCEPTION,), +) + +MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT_STATUS: StaticSchema = ( + 14, + n0, + _MTBCOS, + 0, + (_ENABLED, _DISABLED, _EUEAE), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _EUEAE})), +) + +MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _MTBCO, + 0, + (_Sta, _SA, _EA, _EAEA), + ( + (MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT_STATUS, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +DESCRIBE_CHANNEL_INPUT: StaticSchema = ( + 18, + n0, + _DCIe, + {_sm: None}, + (_CARN,), + ( + ( + lambda: schemas.CHANNEL_ARN, + {_sP: MappingProxyType({"name": "ChannelARN"}), _smi: None}, + ), + ), +) + +DESCRIBE_CHANNEL_OUTPUT: StaticSchema = ( + 18, + n0, + _DCOe, + {_smit: None}, + (_CD,), + ((lambda: schemas.CHANNEL_DESCRIPTION, 1),), +) + +DESCRIBE_CHANNEL: StaticOperationSchema = ( + 23, + n0, + _DCe, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DESCRIBE_CHANNEL_INPUT, + DESCRIBE_CHANNEL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DESCRIBE_LIMITS_INPUT: StaticSchema = (18, n0, _DLI, {_sm: None}) + +DESCRIBE_LIMITS_OUTPUT: StaticSchema = ( + 18, + n0, + _DLO, + {_smit: None}, + (_SL, _OSC, _ODSC, _ODSCL, _CCh, _CCL), + ( + (lambda: SHARD_COUNT_OBJECT, 1), + (lambda: SHARD_COUNT_OBJECT, 1), + (lambda: ON_DEMAND_STREAM_COUNT_OBJECT, 1), + (lambda: ON_DEMAND_STREAM_COUNT_LIMIT_OBJECT, 1), + (lambda: schemas.CHANNEL_COUNT_OBJECT, 0), + (lambda: schemas.CHANNEL_COUNT_OBJECT, 0), + ), +) + +DESCRIBE_LIMITS: StaticOperationSchema = ( + 23, + n0, + _DL, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DESCRIBE_LIMITS_INPUT, + DESCRIBE_LIMITS_OUTPUT, + (lambda: schemas.LIMIT_EXCEEDED_EXCEPTION,), +) + +ON_DEMAND_STREAM_COUNT_OBJECT: StaticSchema = (7, n0, _ODSCO, 0) + +ON_DEMAND_STREAM_COUNT_LIMIT_OBJECT: StaticSchema = (7, n0, _ODSCLO, 0) + +SHARD_COUNT_OBJECT: StaticSchema = (7, n0, _SCO, 0) + +DESCRIBE_STREAM_INPUT_LIMIT: StaticSchema = (7, n0, _DSIL, 0) + +DESCRIBE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _DSIe, + {_sm: None}, + (_SN, _L, _ESSI, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (DESCRIBE_STREAM_INPUT_LIMIT, 0), + (lambda: schemas.SHARD_ID, 0), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +DESCRIBE_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _DSOe, + {_smit: None}, + (_SD,), + ((lambda: STREAM_DESCRIPTION, 1),), +) + +DESCRIBE_STREAM: StaticOperationSchema = ( + 23, + n0, + _DSe, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DESCRIBE_STREAM_INPUT, + DESCRIBE_STREAM_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +METRICS_NAME: StaticSchema = ( + 14, + n0, + _MN, + 0, + (_IB, _IR, _OB, _OR, _WPTE, _RPTE, _IAM, _ALL), + ( + (-1, {_sV: _IBn}), + (-1, {_sV: _IRn}), + (-1, {_sV: _OBu}), + (-1, {_sV: _ORu}), + (-1, {_sV: _WPTEr}), + (-1, {_sV: _RPTEe}), + (-1, {_sV: _IAMt}), + (-1, {_sV: _ALL}), + ), +) + +METRICS_NAME_LIST: StaticSchema = (16, n0, _MNL, 0, (_me,), ((METRICS_NAME, 0),)) + +ENHANCED_METRICS: StaticSchema = (18, n0, _EMn, 0, (_SLM,), ((METRICS_NAME_LIST, 0),)) + +ENHANCED_MONITORING_LIST: StaticSchema = ( + 16, + n0, + _EML, + 0, + (_me,), + ((ENHANCED_METRICS, 0),), +) + +SEQUENCE_NUMBER: StaticSchema = (3, n0, _SNe, 0) + +SEQUENCE_NUMBER_RANGE: StaticSchema = ( + 18, + n0, + _SNR, + 0, + (_SSN, _ESN), + ((SEQUENCE_NUMBER, 1), (SEQUENCE_NUMBER, 0)), +) + +SHARD: StaticSchema = ( + 18, + n0, + _Sh, + 0, + (_SIh, _PSI, _APSI, _HKR, _SNR), + ( + (lambda: schemas.SHARD_ID, 1), + (lambda: schemas.SHARD_ID, 0), + (lambda: schemas.SHARD_ID, 0), + (lambda: schemas.HASH_KEY_RANGE, 1), + (SEQUENCE_NUMBER_RANGE, 1), + ), +) + +SHARD_LIST: StaticSchema = (16, n0, _SLh, 0, (_me,), ((SHARD, 0),)) + +STREAM_STATUS: StaticSchema = ( + 14, + n0, + _SS, + 0, + (_CREATING, _DELETING, _ACTIVE, _UPDATING), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _UPDATING}), + ), +) + +STREAM_DESCRIPTION: StaticSchema = ( + 18, + n0, + _SD, + 0, + (_SN, _SARN, _SS, _SMD, _Sha, _HMS, _RPH, _SCTt, _EMnh, _ET, _KI), + ( + (lambda: schemas.STREAM_NAME, 1), + (lambda: schemas.STREAM_ARN, 1), + (STREAM_STATUS, 1), + (lambda: schemas.STREAM_MODE_DETAILS, 0), + (SHARD_LIST, 1), + (lambda: schemas.BOOLEAN_OBJECT, 1), + (lambda: schemas.RETENTION_PERIOD_HOURS, 1), + (lambda: schemas.TIMESTAMP, 1), + (ENHANCED_MONITORING_LIST, 1), + (lambda: schemas.ENCRYPTION_TYPE, 0), + (lambda: schemas.KEY_ID, 0), + ), +) + +DESCRIBE_STREAM_CONSUMER_INPUT: StaticSchema = ( + 18, + n0, + _DSCIe, + {_sm: None}, + (_SARN, _CNo, _CARNo, _SI), + ( + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.CONSUMER_NAME, 0), + ( + lambda: schemas.CONSUMER_ARN, + {_sP: MappingProxyType({"name": "ConsumerARN"})}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +DESCRIBE_STREAM_CONSUMER_OUTPUT: StaticSchema = ( + 18, + n0, + _DSCOe, + {_smit: None}, + (_CDo,), + ((lambda: schemas.CONSUMER_DESCRIPTION, 1),), +) + +DESCRIBE_STREAM_CONSUMER: StaticOperationSchema = ( + 23, + n0, + _DSCe, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DESCRIBE_STREAM_CONSUMER_INPUT, + DESCRIBE_STREAM_CONSUMER_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DESCRIBE_STREAM_SUMMARY_INPUT: StaticSchema = ( + 18, + n0, + _DSSI, + {_sm: None}, + (_SN, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +DESCRIBE_STREAM_SUMMARY_OUTPUT: StaticSchema = ( + 18, + n0, + _DSSO, + {_smit: None}, + (_SDS,), + ((lambda: STREAM_DESCRIPTION_SUMMARY, 1),), +) + +DESCRIBE_STREAM_SUMMARY: StaticOperationSchema = ( + 23, + n0, + _DSS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DESCRIBE_STREAM_SUMMARY_INPUT, + DESCRIBE_STREAM_SUMMARY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +STREAM_DESCRIPTION_SUMMARY: StaticSchema = ( + 18, + n0, + _SDS, + 0, + ( + _SN, + _SARN, + _SI, + _SS, + _SMD, + _RPH, + _SCTt, + _EMnh, + _ET, + _KI, + _OSC, + _CCo, + _WT, + _MRSIKB, + _CCh, + _RDS, + ), + ( + (lambda: schemas.STREAM_NAME, 1), + (lambda: schemas.STREAM_ARN, 1), + (lambda: schemas.STREAM_ID, 0), + (STREAM_STATUS, 1), + (lambda: schemas.STREAM_MODE_DETAILS, 0), + (lambda: schemas.RETENTION_PERIOD_HOURS, 1), + (lambda: schemas.TIMESTAMP, 1), + (ENHANCED_MONITORING_LIST, 1), + (lambda: schemas.ENCRYPTION_TYPE, 0), + (lambda: schemas.KEY_ID, 0), + (SHARD_COUNT_OBJECT, 1), + (lambda: schemas.CONSUMER_COUNT_OBJECT, 0), + (lambda: schemas.WARM_THROUGHPUT_OBJECT, 0), + (lambda: schemas.MAX_RECORD_SIZE_IN_KI_B, 0), + (lambda: schemas.CHANNEL_COUNT_OBJECT, 0), + (lambda: schemas.RECORD_DISTRIBUTION_STRATEGY, 0), + ), +) + +DISABLE_ENHANCED_MONITORING_INPUT: StaticSchema = ( + 18, + n0, + _DEMI, + {_sm: None}, + (_SN, _SLM, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (METRICS_NAME_LIST, 1), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +DISABLE_ENHANCED_MONITORING_OUTPUT: StaticSchema = ( + 18, + n0, + _DEMO, + {_sSI: _cEMO, _smit: None}, + (_SN, _CSLM, _DSLM, _SARN), + ( + (lambda: schemas.STREAM_NAME, 0), + (METRICS_NAME_LIST, 0), + (METRICS_NAME_LIST, 0), + (lambda: schemas.STREAM_ARN, 0), + ), +) + +DISABLE_ENHANCED_MONITORING: StaticOperationSchema = ( + 23, + n0, + _DEM, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + DISABLE_ENHANCED_MONITORING_INPUT, + DISABLE_ENHANCED_MONITORING_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DRY_RUN_OPERATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _DROE, + {_s: _c}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +ENABLE_ENHANCED_MONITORING_INPUT: StaticSchema = ( + 18, + n0, + _EEMI, + {_sm: None}, + (_SN, _SLM, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (METRICS_NAME_LIST, 1), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +ENABLE_ENHANCED_MONITORING_OUTPUT: StaticSchema = ( + 18, + n0, + _EEMO, + {_sSI: _cEMO, _smit: None}, + (_SN, _CSLM, _DSLM, _SARN), + ( + (lambda: schemas.STREAM_NAME, 0), + (METRICS_NAME_LIST, 0), + (METRICS_NAME_LIST, 0), + (lambda: schemas.STREAM_ARN, 0), + ), +) + +ENABLE_ENHANCED_MONITORING: StaticOperationSchema = ( + 23, + n0, + _EEM, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + ENABLE_ENHANCED_MONITORING_INPUT, + ENABLE_ENHANCED_MONITORING_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +ERROR_CODE: StaticSchema = (3, n0, _ECr, 0) + +EXPIRED_ITERATOR_EXCEPTION: StaticSchema = ( + 18, + n0, + _EIE, + {_s: _c}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +EXPIRED_NEXT_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _ENTE, + {_s: _c}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +GET_RECORDS_INPUT_LIMIT: StaticSchema = (7, n0, _GRIL, 0) + +SHARD_ITERATOR: StaticSchema = (3, n0, _SIha, 0) + +GET_RECORDS_INPUT: StaticSchema = ( + 18, + n0, + _GRI, + {_sm: None}, + (_SIha, _L, _SARN, _SI, _DR), + ( + (SHARD_ITERATOR, 1), + (GET_RECORDS_INPUT_LIMIT, 0), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.BOOLEAN_OBJECT, 0), + ), +) + +GET_RECORDS_OUTPUT: StaticSchema = ( + 18, + n0, + _GRO, + {_smit: None}, + (_Re, _NSI, _MBL, _CShil), + ( + (lambda: RECORD_LIST, 1), + (SHARD_ITERATOR, 0), + (lambda: MILLIS_BEHIND_LATEST, 0), + (lambda: schemas.CHILD_SHARD_LIST, 0), + ), +) + +GET_RECORDS: StaticOperationSchema = ( + 23, + n0, + _GR, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, + GET_RECORDS_INPUT, + GET_RECORDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + DRY_RUN_OPERATION_EXCEPTION, + EXPIRED_ITERATOR_EXCEPTION, + lambda: INTERNAL_FAILURE_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.KMS_OPT_IN_REQUIRED, + lambda: schemas.KMS_THROTTLING_EXCEPTION, + lambda: PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +MILLIS_BEHIND_LATEST: StaticSchema = (8, n0, _MBL, 0) + +PARTITION_KEY: StaticSchema = (3, n0, _PK, 0) + +RECORD: StaticSchema = ( + 18, + n0, + _R, + 0, + (_SNe, _AAT, _D, _PK, _ET), + ( + (SEQUENCE_NUMBER, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.DATA, 1), + (PARTITION_KEY, 0), + (lambda: schemas.ENCRYPTION_TYPE, 0), + ), +) + +RECORD_LIST: StaticSchema = (16, n0, _RL, 0, (_me,), ((RECORD, 0),)) + +INTERNAL_FAILURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IFE, + {_s: _se}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _PTEE, + {_s: _c}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_sm: None}, + (_RARNe, _SI), + ( + ( + lambda: schemas.RESOURCE_ARN, + {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_smit: None}, + (_P,), + ((lambda: schemas.POLICY, 1),), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRP, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +SHARD_ITERATOR_TYPE: StaticSchema = ( + 14, + n0, + _SIT, + 0, + (_ASN, _ASN_, _TH_, _LATEST, _AT), + ( + (-1, {_sV: _ASN}), + (-1, {_sV: _ASN_}), + (-1, {_sV: _TH_}), + (-1, {_sV: _LATEST}), + (-1, {_sV: _AT}), + ), +) + +GET_SHARD_ITERATOR_INPUT: StaticSchema = ( + 18, + n0, + _GSII, + {_sm: None}, + (_SN, _SIh, _SIT, _SSN, _Ti, _SARN, _SI, _DR), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.SHARD_ID, 1), + (SHARD_ITERATOR_TYPE, 1), + (SEQUENCE_NUMBER, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.BOOLEAN_OBJECT, 0), + ), +) + +GET_SHARD_ITERATOR_OUTPUT: StaticSchema = ( + 18, + n0, + _GSIO, + {_smit: None}, + (_SIha,), + ((SHARD_ITERATOR, 0),), +) + +GET_SHARD_ITERATOR: StaticOperationSchema = ( + 23, + n0, + _GSI, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, + GET_SHARD_ITERATOR_INPUT, + GET_SHARD_ITERATOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + DRY_RUN_OPERATION_EXCEPTION, + INTERNAL_FAILURE_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +INCREASE_STREAM_RETENTION_PERIOD_INPUT: StaticSchema = ( + 18, + n0, + _ISRPI, + {_sm: None}, + (_SN, _RPH, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.RETENTION_PERIOD_HOURS, 1), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +INCREASE_STREAM_RETENTION_PERIOD_OUTPUT: StaticSchema = ( + 18, + n0, + _ISRPO, + {_sSI: _sU, _smit: None}, +) + +INCREASE_STREAM_RETENTION_PERIOD: StaticOperationSchema = ( + 23, + n0, + _ISRP, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + INCREASE_STREAM_RETENTION_PERIOD_INPUT, + INCREASE_STREAM_RETENTION_PERIOD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +LIST_CHANNELS_INPUT_LIMIT: StaticSchema = (7, n0, _LCIL, 0) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +STREAM_FILTER: StaticSchema = ( + 18, + n0, + _SF, + 0, + (_SARN, _SCTt), + ((lambda: schemas.STREAM_ARN, 1), (lambda: schemas.TIMESTAMP, 0)), +) + +STREAM_FILTER_LIST: StaticSchema = (16, n0, _SFL, 0, (_me,), ((STREAM_FILTER, 0),)) + +LIST_CHANNELS_INPUT: StaticSchema = ( + 18, + n0, + _LCI, + {_sm: None}, + (_SF, _MR, _NT), + ((STREAM_FILTER_LIST, 0), (LIST_CHANNELS_INPUT_LIMIT, 0), (NEXT_TOKEN, 0)), +) + +LIST_CHANNELS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCO, + {_smit: None}, + (_CSha, _NT), + ((lambda: schemas.CHANNEL_SUMMARY_LIST, 1), (NEXT_TOKEN, 0)), +) + +LIST_CHANNELS: StaticOperationSchema = ( + 23, + n0, + _LCi, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + LIST_CHANNELS_INPUT, + LIST_CHANNELS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + EXPIRED_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_SHARDS_INPUT_LIMIT: StaticSchema = (7, n0, _LSIL, 0) + +SHARD_FILTER_TYPE: StaticSchema = ( + 14, + n0, + _SFT, + 0, + (_ASI, _ATH, _FTH, _AL, _AT, _FT), + ( + (-1, {_sV: _ASI}), + (-1, {_sV: _ATH}), + (-1, {_sV: _FTH}), + (-1, {_sV: _AL}), + (-1, {_sV: _AT}), + (-1, {_sV: _FT}), + ), +) + +SHARD_FILTER: StaticSchema = ( + 18, + n0, + _SFh, + 0, + (_Ty, _SIh, _Ti), + ( + (SHARD_FILTER_TYPE, 1), + (lambda: schemas.SHARD_ID, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +LIST_SHARDS_INPUT: StaticSchema = ( + 18, + n0, + _LSI, + {_sm: None}, + (_SN, _NT, _ESSI, _MR, _SCTt, _SFh, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (NEXT_TOKEN, 0), + (lambda: schemas.SHARD_ID, 0), + (LIST_SHARDS_INPUT_LIMIT, 0), + (lambda: schemas.TIMESTAMP, 0), + (SHARD_FILTER, 0), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +LIST_SHARDS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_smit: None}, + (_Sha, _NT), + ((SHARD_LIST, 0), (NEXT_TOKEN, 0)), +) + +LIST_SHARDS: StaticOperationSchema = ( + 23, + n0, + _LS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + LIST_SHARDS_INPUT, + LIST_SHARDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + EXPIRED_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +LIST_STREAM_CONSUMERS_INPUT_LIMIT: StaticSchema = (7, n0, _LSCIL, 0) + +LIST_STREAM_CONSUMERS_INPUT: StaticSchema = ( + 18, + n0, + _LSCI, + {_sm: None}, + (_SARN, _NT, _MR, _SCTt, _SI), + ( + ( + lambda: schemas.STREAM_ARN, + {_sP: MappingProxyType({"name": "StreamARN"}), _smi: None}, + ), + (NEXT_TOKEN, 0), + (LIST_STREAM_CONSUMERS_INPUT_LIMIT, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +LIST_STREAM_CONSUMERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSCO, + {_smit: None}, + (_Co, _NT), + ((lambda: schemas.CONSUMER_LIST, 0), (NEXT_TOKEN, 0)), +) + +LIST_STREAM_CONSUMERS: StaticOperationSchema = ( + 23, + n0, + _LSC, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + LIST_STREAM_CONSUMERS_INPUT, + LIST_STREAM_CONSUMERS_OUTPUT, + ( + EXPIRED_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +LIST_STREAMS_INPUT_LIMIT: StaticSchema = (7, n0, _LSILi, 0) diff --git a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas_2.py b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas_2.py new file mode 100644 index 000000000..580cc6fb2 --- /dev/null +++ b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/_private/schemas_2.py @@ -0,0 +1,1234 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.kinesis" +_EM = "ErrorMessage" +_SARN = "StreamARN" +_SI = "StreamId" +_SN = "StreamName" +_sm = "smithy.api#input" +_T = "Tags" +_smi = "smithy.api#required" +_sP = "smithy.rules#contextParam" +_sSI = "smithy.synthetic#originalShapeId" +_sU = "smithy.api#Unit" +_smit = "smithy.api#output" +_RIUE = "ResourceInUseException" +_RNFE = "ResourceNotFoundException" +_sCP = "smithy.rules#staticContextParams" +_CARN = "ChannelARN" +_Ti = "Timestamp" +_sV = "smithy.api#enumValue" +_KI = "KeyId" +_ET = "EncryptionType" +_DFIS = "DataFreshnessInSeconds" +_me = "member" +_SCTt = "StreamCreationTimestamp" +_CD = "ChannelDescription" +_SDC = "S3DestinationConfiguration" +_STDC = "S3TablesDestinationConfiguration" +_LC = "LoggingConfiguration" +_SIh = "ShardId" +_CARNo = "ConsumerARN" +_CNo = "ConsumerName" +_C = "Consumer" +_KMSADE = "KMSAccessDeniedException" +_KMSDE = "KMSDisabledException" +_KMSISE = "KMSInvalidStateException" +_KMSNFE = "KMSNotFoundException" +_KMSOIR = "KMSOptInRequired" +_KMSTE = "KMSThrottlingException" +_MRSIKB = "MaxRecordSizeInKiB" +_RDS = "RecordDistributionStrategy" +_SMD = "StreamModeDetails" +_WTMB = "WarmThroughputMiBps" +_D = "Data" +_RARNe = "ResourceARN" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_Sta = "Status" +_MTBC = "MinimumThroughputBillingCommitment" +_L = "Limit" +_SNe = "SequenceNumber" +_SS = "StreamStatus" +_WT = "WarmThroughput" +_ECr = "ErrorCode" +_DR = "DryRun" +_MBL = "MillisBehindLatest" +_PK = "PartitionKey" +_Re = "Records" +_CShil = "ChildShards" +_IFE = "InternalFailureException" +_P = "Policy" +_NT = "NextToken" +_Ty = "Type" +_LSIi = "ListStreamsInput" +_ESSN = "ExclusiveStartStreamName" +_SNL = "StreamNameList" +_SSt = "StreamSummary" +_SSL = "StreamSummaryList" +_LSOi = "ListStreamsOutput" +_SNt = "StreamNames" +_HMSa = "HasMoreStreams" +_SStr = "StreamSummaries" +_LSi = "ListStreams" +_LTFRI = "ListTagsForResourceInput" +_Ta = "Tag" +_K = "Key" +_V = "Value" +_TL = "TagList" +_LTFRO = "ListTagsForResourceOutput" +_LTFR = "ListTagsForResource" +_LTFSIL = "ListTagsForStreamInputLimit" +_LTFSI = "ListTagsForStreamInput" +_ESTK = "ExclusiveStartTagKey" +_LTFSO = "ListTagsForStreamOutput" +_HMT = "HasMoreTags" +_LTFS = "ListTagsForStream" +_MSI = "MergeShardsInput" +_STM = "ShardToMerge" +_ASTM = "AdjacentShardToMerge" +_MSO = "MergeShardsOutput" +_MS = "MergeShards" +_PRI = "PutRecordInput" +_EHKx = "ExplicitHashKey" +_SNFO = "SequenceNumberForOrdering" +_PRO = "PutRecordOutput" +_PR = "PutRecord" +_PRRE = "PutRecordsRequestEntry" +_PRREL = "PutRecordsRequestEntryList" +_PRIu = "PutRecordsInput" +_PRREu = "PutRecordsResultEntry" +_PRRELu = "PutRecordsResultEntryList" +_PROu = "PutRecordsOutput" +_FRC = "FailedRecordCount" +_PRu = "PutRecords" +_PRPI = "PutResourcePolicyInput" +_PRPO = "PutResourcePolicyOutput" +_PRP = "PutResourcePolicy" +_RSCI = "RegisterStreamConsumerInput" +_RSCO = "RegisterStreamConsumerOutput" +_RSC = "RegisterStreamConsumer" +_TKL = "TagKeyList" +_RTFSI = "RemoveTagsFromStreamInput" +_TKa = "TagKeys" +_RTFSO = "RemoveTagsFromStreamOutput" +_RTFS = "RemoveTagsFromStream" +_SSI = "SplitShardInput" +_STS = "ShardToSplit" +_NSHK = "NewStartingHashKey" +_SSO = "SplitShardOutput" +_SSp = "SplitShard" +_SSEI = "StartStreamEncryptionInput" +_SSEO = "StartStreamEncryptionOutput" +_SSE = "StartStreamEncryption" +_SSEIt = "StopStreamEncryptionInput" +_SSEOt = "StopStreamEncryptionOutput" +_SSEt = "StopStreamEncryption" +_SP = "StartingPosition" +_STSI = "SubscribeToShardInput" +_STSE = "SubscribeToShardEvent" +_CSN = "ContinuationSequenceNumber" +_STSES = "SubscribeToShardEventStream" +_smith = "smithy.api#streaming" +_STSO = "SubscribeToShardOutput" +_ES = "EventStream" +_STSu = "SubscribeToShard" +_TRI = "TagResourceInput" +_TRO = "TagResourceOutput" +_TR = "TagResource" +_URI = "UntagResourceInput" +_URO = "UntagResourceOutput" +_UR = "UntagResource" +_MTBCIS = "MinimumThroughputBillingCommitmentInputStatus" +_MTBCI = "MinimumThroughputBillingCommitmentInput" +_UASI = "UpdateAccountSettingsInput" +_UASO = "UpdateAccountSettingsOutput" +_UAS = "UpdateAccountSettings" +_SDUI = "S3DestinationUpdateInput" +_STDUI = "S3TablesDestinationUpdateInput" +_UCI = "UpdateChannelInput" +_UCO = "UpdateChannelOutput" +_UC = "UpdateChannel" +_UMRSI = "UpdateMaxRecordSizeInput" +_UMRSO = "UpdateMaxRecordSizeOutput" +_UMRS = "UpdateMaxRecordSize" +_STc = "ScalingType" +_US = "UNIFORM_SCALING" +_USCI = "UpdateShardCountInput" +_TSC = "TargetShardCount" +_USCO = "UpdateShardCountOutput" +_CSCu = "CurrentShardCount" +_USC = "UpdateShardCount" +_USMI = "UpdateStreamModeInput" +_USMO = "UpdateStreamModeOutput" +_USM = "UpdateStreamMode" +_USRDSI = "UpdateStreamRecordDistributionStrategyInput" +_USRDSO = "UpdateStreamRecordDistributionStrategyOutput" +_USRDS = "UpdateStreamRecordDistributionStrategy" +_USWTI = "UpdateStreamWarmThroughputInput" +_USWTO = "UpdateStreamWarmThroughputOutput" +_USWT = "UpdateStreamWarmThroughput" +_K_ = "Kinesis_20131202" +_a = "aws.auth#sigv4" +_a_ = "aws.protocols#awsJson1_1" +_aw = "aws.api#service" +_sN = "smithy.api#xmlNamespace" + +LIST_STREAMS_INPUT: StaticSchema = ( + 18, + n0, + _LSIi, + {_sm: None}, + (_L, _ESSN, _NT), + ( + (lambda: schemas.LIST_STREAMS_INPUT_LIMIT, 0), + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_STREAMS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSOi, + {_smit: None}, + (_SNt, _HMSa, _NT, _SStr), + ( + (lambda: STREAM_NAME_LIST, 1), + (lambda: schemas.BOOLEAN_OBJECT, 1), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: STREAM_SUMMARY_LIST, 0), + ), +) + +LIST_STREAMS: StaticOperationSchema = ( + 23, + n0, + _LSi, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + LIST_STREAMS_INPUT, + LIST_STREAMS_OUTPUT, + ( + lambda: schemas.EXPIRED_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + ), +) + +STREAM_NAME_LIST: StaticSchema = ( + 16, + n0, + _SNL, + 0, + (_me,), + ((lambda: schemas.STREAM_NAME, 0),), +) + +STREAM_SUMMARY: StaticSchema = ( + 18, + n0, + _SSt, + 0, + (_SN, _SARN, _SS, _SMD, _SCTt), + ( + (lambda: schemas.STREAM_NAME, 1), + (lambda: schemas.STREAM_ARN, 1), + (lambda: schemas.STREAM_STATUS, 1), + (lambda: schemas.STREAM_MODE_DETAILS, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +STREAM_SUMMARY_LIST: StaticSchema = (16, n0, _SSL, 0, (_me,), ((STREAM_SUMMARY, 0),)) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sm: None}, + (_RARNe, _SI), + ( + ( + lambda: schemas.RESOURCE_ARN, + {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_smit: None}, + (_T,), + ((lambda: TAG_LIST, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +TAG: StaticSchema = ( + 18, + n0, + _Ta, + 0, + (_K, _V), + ((lambda: schemas.TAG_KEY, 1), (lambda: schemas.TAG_VALUE, 0)), +) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_me,), ((TAG, 0),)) + +LIST_TAGS_FOR_STREAM_INPUT_LIMIT: StaticSchema = (7, n0, _LTFSIL, 0) + +LIST_TAGS_FOR_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _LTFSI, + {_sm: None}, + (_SN, _ESTK, _L, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.TAG_KEY, 0), + (LIST_TAGS_FOR_STREAM_INPUT_LIMIT, 0), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +LIST_TAGS_FOR_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFSO, + {_smit: None}, + (_T, _HMT), + ((TAG_LIST, 1), (lambda: schemas.BOOLEAN_OBJECT, 1)), +) + +LIST_TAGS_FOR_STREAM: StaticOperationSchema = ( + 23, + n0, + _LTFS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + LIST_TAGS_FOR_STREAM_INPUT, + LIST_TAGS_FOR_STREAM_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +MERGE_SHARDS_INPUT: StaticSchema = ( + 18, + n0, + _MSI, + {_sm: None}, + (_SN, _STM, _ASTM, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.SHARD_ID, 1), + (lambda: schemas.SHARD_ID, 1), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +MERGE_SHARDS_OUTPUT: StaticSchema = (18, n0, _MSO, {_sSI: _sU, _smit: None}) + +MERGE_SHARDS: StaticOperationSchema = ( + 23, + n0, + _MS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + MERGE_SHARDS_INPUT, + MERGE_SHARDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PUT_RECORD_INPUT: StaticSchema = ( + 18, + n0, + _PRI, + {_sm: None}, + (_SN, _D, _PK, _EHKx, _SNFO, _SARN, _SI, _DR), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.DATA, 1), + (lambda: schemas.PARTITION_KEY, 0), + (lambda: schemas.HASH_KEY, 0), + (lambda: schemas.SEQUENCE_NUMBER, 0), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.BOOLEAN_OBJECT, 0), + ), +) + +PUT_RECORD_OUTPUT: StaticSchema = ( + 18, + n0, + _PRO, + {_smit: None}, + (_SIh, _SNe, _ET), + ( + (lambda: schemas.SHARD_ID, 1), + (lambda: schemas.SEQUENCE_NUMBER, 1), + (lambda: schemas.ENCRYPTION_TYPE, 0), + ), +) + +PUT_RECORD: StaticOperationSchema = ( + 23, + n0, + _PR, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, + PUT_RECORD_INPUT, + PUT_RECORD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INTERNAL_FAILURE_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.KMS_OPT_IN_REQUIRED, + lambda: schemas.KMS_THROTTLING_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +PUT_RECORDS_REQUEST_ENTRY: StaticSchema = ( + 18, + n0, + _PRRE, + 0, + (_D, _EHKx, _PK), + ( + (lambda: schemas.DATA, 1), + (lambda: schemas.HASH_KEY, 0), + (lambda: schemas.PARTITION_KEY, 0), + ), +) + +PUT_RECORDS_REQUEST_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _PRREL, + 0, + (_me,), + ((PUT_RECORDS_REQUEST_ENTRY, 0),), +) + +PUT_RECORDS_INPUT: StaticSchema = ( + 18, + n0, + _PRIu, + {_sm: None}, + (_Re, _SN, _SARN, _SI, _DR), + ( + (PUT_RECORDS_REQUEST_ENTRY_LIST, 1), + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.BOOLEAN_OBJECT, 0), + ), +) + +PUT_RECORDS_OUTPUT: StaticSchema = ( + 18, + n0, + _PROu, + {_smit: None}, + (_FRC, _Re, _ET), + ( + (lambda: schemas.POSITIVE_INTEGER_OBJECT, 0), + (lambda: PUT_RECORDS_RESULT_ENTRY_LIST, 1), + (lambda: schemas.ENCRYPTION_TYPE, 0), + ), +) + +PUT_RECORDS: StaticOperationSchema = ( + 23, + n0, + _PRu, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, + PUT_RECORDS_INPUT, + PUT_RECORDS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INTERNAL_FAILURE_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.KMS_OPT_IN_REQUIRED, + lambda: schemas.KMS_THROTTLING_EXCEPTION, + lambda: schemas.PROVISIONED_THROUGHPUT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +PUT_RECORDS_RESULT_ENTRY: StaticSchema = ( + 18, + n0, + _PRREu, + 0, + (_SNe, _SIh, _ECr, _EM), + ( + (lambda: schemas.SEQUENCE_NUMBER, 0), + (lambda: schemas.SHARD_ID, 0), + (lambda: schemas.ERROR_CODE, 0), + (lambda: schemas.ERROR_MESSAGE, 0), + ), +) + +PUT_RECORDS_RESULT_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _PRRELu, + 0, + (_me,), + ((PUT_RECORDS_RESULT_ENTRY, 0),), +) + +PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_sm: None}, + (_RARNe, _SI, _P), + ( + ( + lambda: schemas.RESOURCE_ARN, + {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.POLICY, 1), + ), +) + +PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = (18, n0, _PRPO, {_sSI: _sU, _smit: None}) + +PUT_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRP, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + PUT_RESOURCE_POLICY_INPUT, + PUT_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +REGISTER_STREAM_CONSUMER_INPUT: StaticSchema = ( + 18, + n0, + _RSCI, + {_sm: None}, + (_SARN, _CNo, _SI, _T), + ( + ( + lambda: schemas.STREAM_ARN, + {_sP: MappingProxyType({"name": "StreamARN"}), _smi: None}, + ), + (lambda: schemas.CONSUMER_NAME, 1), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.TAG_MAP, 0), + ), +) + +REGISTER_STREAM_CONSUMER_OUTPUT: StaticSchema = ( + 18, + n0, + _RSCO, + {_smit: None}, + (_C,), + ((lambda: schemas.CONSUMER, 1),), +) + +REGISTER_STREAM_CONSUMER: StaticOperationSchema = ( + 23, + n0, + _RSC, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + REGISTER_STREAM_CONSUMER_INPUT, + REGISTER_STREAM_CONSUMER_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((lambda: schemas.TAG_KEY, 0),)) + +REMOVE_TAGS_FROM_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _RTFSI, + {_sm: None}, + (_SN, _TKa, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (TAG_KEY_LIST, 1), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +REMOVE_TAGS_FROM_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _RTFSO, + {_sSI: _sU, _smit: None}, +) + +REMOVE_TAGS_FROM_STREAM: StaticOperationSchema = ( + 23, + n0, + _RTFS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + REMOVE_TAGS_FROM_STREAM_INPUT, + REMOVE_TAGS_FROM_STREAM_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +SPLIT_SHARD_INPUT: StaticSchema = ( + 18, + n0, + _SSI, + {_sm: None}, + (_SN, _STS, _NSHK, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.SHARD_ID, 1), + (lambda: schemas.HASH_KEY, 1), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +SPLIT_SHARD_OUTPUT: StaticSchema = (18, n0, _SSO, {_sSI: _sU, _smit: None}) + +SPLIT_SHARD: StaticOperationSchema = ( + 23, + n0, + _SSp, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + SPLIT_SHARD_INPUT, + SPLIT_SHARD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +START_STREAM_ENCRYPTION_INPUT: StaticSchema = ( + 18, + n0, + _SSEI, + {_sm: None}, + (_SN, _ET, _KI, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.ENCRYPTION_TYPE, 1), + (lambda: schemas.KEY_ID, 1), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +START_STREAM_ENCRYPTION_OUTPUT: StaticSchema = (18, n0, _SSEO, {_sSI: _sU, _smit: None}) + +START_STREAM_ENCRYPTION: StaticOperationSchema = ( + 23, + n0, + _SSE, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + START_STREAM_ENCRYPTION_INPUT, + START_STREAM_ENCRYPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.KMS_OPT_IN_REQUIRED, + lambda: schemas.KMS_THROTTLING_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +STOP_STREAM_ENCRYPTION_INPUT: StaticSchema = ( + 18, + n0, + _SSEIt, + {_sm: None}, + (_SN, _ET, _KI, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.ENCRYPTION_TYPE, 1), + (lambda: schemas.KEY_ID, 1), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +STOP_STREAM_ENCRYPTION_OUTPUT: StaticSchema = (18, n0, _SSEOt, {_sSI: _sU, _smit: None}) + +STOP_STREAM_ENCRYPTION: StaticOperationSchema = ( + 23, + n0, + _SSEt, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + STOP_STREAM_ENCRYPTION_INPUT, + STOP_STREAM_ENCRYPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +STARTING_POSITION: StaticSchema = ( + 18, + n0, + _SP, + 0, + (_Ty, _SNe, _Ti), + ( + (lambda: schemas.SHARD_ITERATOR_TYPE, 1), + (lambda: schemas.SEQUENCE_NUMBER, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +SUBSCRIBE_TO_SHARD_INPUT: StaticSchema = ( + 18, + n0, + _STSI, + {_sm: None}, + (_CARNo, _SI, _SIh, _SP, _DR), + ( + ( + lambda: schemas.CONSUMER_ARN, + {_sP: MappingProxyType({"name": "ConsumerARN"}), _smi: None}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.SHARD_ID, 1), + (STARTING_POSITION, 1), + (lambda: schemas.BOOLEAN_OBJECT, 0), + ), +) + +SUBSCRIBE_TO_SHARD_OUTPUT: StaticSchema = ( + 18, + n0, + _STSO, + {_smit: None}, + (_ES,), + ((lambda: SUBSCRIBE_TO_SHARD_EVENT_STREAM, 1),), +) + +SUBSCRIBE_TO_SHARD: StaticOperationSchema = ( + 23, + n0, + _STSu, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "data"})})}, + SUBSCRIBE_TO_SHARD_INPUT, + SUBSCRIBE_TO_SHARD_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +SUBSCRIBE_TO_SHARD_EVENT: StaticSchema = ( + 18, + n0, + _STSE, + 0, + (_Re, _CSN, _MBL, _CShil), + ( + (lambda: schemas.RECORD_LIST, 1), + (lambda: schemas.SEQUENCE_NUMBER, 1), + (lambda: schemas.MILLIS_BEHIND_LATEST, 1), + (lambda: schemas.CHILD_SHARD_LIST, 0), + ), +) + +SUBSCRIBE_TO_SHARD_EVENT_STREAM: StaticSchema = ( + 19, + n0, + _STSES, + {_smith: None}, + (_STSE, _RNFE, _RIUE, _KMSDE, _KMSISE, _KMSADE, _KMSNFE, _KMSOIR, _KMSTE, _IFE), + ( + (SUBSCRIBE_TO_SHARD_EVENT, 0), + (lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, 0), + (lambda: schemas.RESOURCE_IN_USE_EXCEPTION, 0), + (lambda: schemas.KMS_DISABLED_EXCEPTION, 0), + (lambda: schemas.KMS_INVALID_STATE_EXCEPTION, 0), + (lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, 0), + (lambda: schemas.KMS_NOT_FOUND_EXCEPTION, 0), + (lambda: schemas.KMS_OPT_IN_REQUIRED, 0), + (lambda: schemas.KMS_THROTTLING_EXCEPTION, 0), + (lambda: schemas.INTERNAL_FAILURE_EXCEPTION, 0), + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sm: None}, + (_T, _RARNe, _SI), + ( + (lambda: schemas.TAG_MAP, 1), + ( + lambda: schemas.RESOURCE_ARN, + {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smit: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sm: None}, + (_TKa, _RARNe, _SI), + ( + (TAG_KEY_LIST, 1), + ( + lambda: schemas.RESOURCE_ARN, + {_sP: MappingProxyType({"name": "ResourceARN"}), _smi: None}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smit: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT_STATUS: StaticSchema = ( + 14, + n0, + _MTBCIS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT: StaticSchema = ( + 18, + n0, + _MTBCI, + 0, + (_Sta,), + ((MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT_STATUS, 1),), +) + +UPDATE_ACCOUNT_SETTINGS_INPUT: StaticSchema = ( + 18, + n0, + _UASI, + {_sm: None}, + (_MTBC,), + ((MINIMUM_THROUGHPUT_BILLING_COMMITMENT_INPUT, 1),), +) + +UPDATE_ACCOUNT_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _UASO, + {_smit: None}, + (_MTBC,), + ((lambda: schemas.MINIMUM_THROUGHPUT_BILLING_COMMITMENT_OUTPUT, 0),), +) + +UPDATE_ACCOUNT_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _UAS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + UPDATE_ACCOUNT_SETTINGS_INPUT, + UPDATE_ACCOUNT_SETTINGS_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +S3_DESTINATION_UPDATE_INPUT: StaticSchema = ( + 18, + n0, + _SDUI, + 0, + (_DFIS,), + ((lambda: schemas.DATA_FRESHNESS_IN_SECONDS, 1),), +) + +S3_TABLES_DESTINATION_UPDATE_INPUT: StaticSchema = ( + 18, + n0, + _STDUI, + 0, + (_DFIS,), + ((lambda: schemas.DATA_FRESHNESS_IN_SECONDS, 1),), +) + +UPDATE_CHANNEL_INPUT: StaticSchema = ( + 18, + n0, + _UCI, + {_sm: None}, + (_CARN, _SDC, _STDC, _LC), + ( + ( + lambda: schemas.CHANNEL_ARN, + {_sP: MappingProxyType({"name": "ChannelARN"}), _smi: None}, + ), + (S3_DESTINATION_UPDATE_INPUT, 0), + (S3_TABLES_DESTINATION_UPDATE_INPUT, 0), + (lambda: schemas.CHANNEL_LOGGING_UPDATE_INPUT, 0), + ), +) + +UPDATE_CHANNEL_OUTPUT: StaticSchema = ( + 18, + n0, + _UCO, + {_smit: None}, + (_CD,), + ((lambda: schemas.CHANNEL_DESCRIPTION, 1),), +) + +UPDATE_CHANNEL: StaticOperationSchema = ( + 23, + n0, + _UC, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + UPDATE_CHANNEL_INPUT, + UPDATE_CHANNEL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_MAX_RECORD_SIZE_INPUT: StaticSchema = ( + 18, + n0, + _UMRSI, + {_sm: None}, + (_SARN, _SI, _MRSIKB), + ( + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.MAX_RECORD_SIZE_IN_KI_B, 1), + ), +) + +UPDATE_MAX_RECORD_SIZE_OUTPUT: StaticSchema = (18, n0, _UMRSO, {_sSI: _sU, _smit: None}) + +UPDATE_MAX_RECORD_SIZE: StaticOperationSchema = ( + 23, + n0, + _UMRS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + UPDATE_MAX_RECORD_SIZE_INPUT, + UPDATE_MAX_RECORD_SIZE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SCALING_TYPE: StaticSchema = (14, n0, _STc, 0, (_US,), ((-1, {_sV: _US}),)) + +UPDATE_SHARD_COUNT_INPUT: StaticSchema = ( + 18, + n0, + _USCI, + {_sm: None}, + (_SN, _TSC, _STc, _SARN, _SI), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.POSITIVE_INTEGER_OBJECT, 1), + (SCALING_TYPE, 1), + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + ), +) + +UPDATE_SHARD_COUNT_OUTPUT: StaticSchema = ( + 18, + n0, + _USCO, + {_smit: None}, + (_SN, _CSCu, _TSC, _SARN), + ( + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.POSITIVE_INTEGER_OBJECT, 0), + (lambda: schemas.POSITIVE_INTEGER_OBJECT, 0), + (lambda: schemas.STREAM_ARN, 0), + ), +) + +UPDATE_SHARD_COUNT: StaticOperationSchema = ( + 23, + n0, + _USC, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + UPDATE_SHARD_COUNT_INPUT, + UPDATE_SHARD_COUNT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_STREAM_MODE_INPUT: StaticSchema = ( + 18, + n0, + _USMI, + {_sm: None}, + (_SARN, _SI, _SMD, _WTMB), + ( + ( + lambda: schemas.STREAM_ARN, + {_sP: MappingProxyType({"name": "StreamARN"}), _smi: None}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.STREAM_MODE_DETAILS, 1), + (lambda: schemas.NATURAL_INTEGER_OBJECT, 0), + ), +) + +UPDATE_STREAM_MODE_OUTPUT: StaticSchema = (18, n0, _USMO, {_sSI: _sU, _smit: None}) + +UPDATE_STREAM_MODE: StaticOperationSchema = ( + 23, + n0, + _USM, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + UPDATE_STREAM_MODE_INPUT, + UPDATE_STREAM_MODE_OUTPUT, + ( + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_INPUT: StaticSchema = ( + 18, + n0, + _USRDSI, + {_sm: None}, + (_SARN, _SI, _RDS), + ( + ( + lambda: schemas.STREAM_ARN, + {_sP: MappingProxyType({"name": "StreamARN"}), _smi: None}, + ), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.RECORD_DISTRIBUTION_STRATEGY, 1), + ), +) + +UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_OUTPUT: StaticSchema = ( + 18, + n0, + _USRDSO, + {_sSI: _sU, _smit: None}, +) + +UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY: StaticOperationSchema = ( + 23, + n0, + _USRDS, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_INPUT, + UPDATE_STREAM_RECORD_DISTRIBUTION_STRATEGY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_STREAM_WARM_THROUGHPUT_INPUT: StaticSchema = ( + 18, + n0, + _USWTI, + {_sm: None}, + (_SARN, _SN, _SI, _WTMB), + ( + (lambda: schemas.STREAM_ARN, {_sP: MappingProxyType({"name": "StreamARN"})}), + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.STREAM_ID, {_sP: MappingProxyType({"name": "StreamId"})}), + (lambda: schemas.NATURAL_INTEGER_OBJECT, 1), + ), +) + +UPDATE_STREAM_WARM_THROUGHPUT_OUTPUT: StaticSchema = ( + 18, + n0, + _USWTO, + {_smit: None}, + (_SARN, _SN, _WT), + ( + (lambda: schemas.STREAM_ARN, 0), + (lambda: schemas.STREAM_NAME, 0), + (lambda: schemas.WARM_THROUGHPUT_OBJECT, 0), + ), +) + +UPDATE_STREAM_WARM_THROUGHPUT: StaticOperationSchema = ( + 23, + n0, + _USWT, + {_sCP: MappingProxyType({"OperationType": MappingProxyType({"value": "control"})})}, + UPDATE_STREAM_WARM_THROUGHPUT_INPUT, + UPDATE_STREAM_WARM_THROUGHPUT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INVALID_ARGUMENT_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +KINESIS_20131202: StaticSchema = ( + 21, + n0, + _K_, + { + _a: MappingProxyType({"name": "kinesis"}), + _a_: MappingProxyType({"http": ("http/1.1", "h2"), "eventStreamHttp": ("h2",)}), + _aw: MappingProxyType( + { + "sdkId": "Kinesis", + "arnNamespace": "kinesis", + "cloudFormationName": "Kinesis", + "cloudTrailEventSource": "kinesis.amazonaws.com", + "endpointPrefix": "kinesis", + } + ), + _sN: MappingProxyType({"uri": "http://kinesis.amazonaws.com/doc/2013-12-02"}), + }, +) diff --git a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/aio/client.py b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/aio/client.py index 7fbfce025..6b7c8e3cb 100644 --- a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/aio/client.py +++ b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncOutputEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/aio/config.py b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/aio/config.py index caf0b814b..443379280 100644 --- a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/aio/config.py +++ b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson11ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -28,7 +28,10 @@ from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.config.validators import validate_account_id_endpoint_mode from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/client.py b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/client.py index 5a0601410..c262e6e59 100644 --- a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/client.py +++ b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/config.py b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/config.py index c4f63d464..876c9f46e 100644 --- a/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/config.py +++ b/clients/aws-sdk-kinesis/src/aws_sdk_kinesis/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_account_id_endpoint_mode_program, @@ -24,7 +24,10 @@ from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.config.validators import validate_account_id_endpoint_mode from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson11ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-kinesis/tests/test_endpoints.py b/clients/aws-sdk-kinesis/tests/test_endpoints.py index eea77aa72..d884607ca 100644 --- a/clients/aws-sdk-kinesis/tests/test_endpoints.py +++ b/clients/aws-sdk-kinesis/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-kms/pyproject.toml b/clients/aws-sdk-kms/pyproject.toml index 6ab6fe11e..861dfc7c4 100644 --- a/clients/aws-sdk-kms/pyproject.toml +++ b/clients/aws-sdk-kms/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_kms" version = "0.12.0" -description = "aws_sdk_kms client" +description = "Python client for AWS Key Management Service" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_kms"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas.py b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas.py index 415f23922..a09f56f8b 100644 --- a/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas.py +++ b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas.py @@ -1,4545 +1,364 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.kms" -_AIT = "AccountIdType" -_AS = "AlgorithmSpec" -_RPV = "RSAES_PKCS1_V1_5" -_sV = "smithy.api#enumValue" -_ROS = "RSAES_OAEP_SHA_1" -_ROS_ = "RSAES_OAEP_SHA_256" -_RAKWS = "RSA_AES_KEY_WRAP_SHA_1" -_RAKWS_ = "RSA_AES_KEY_WRAP_SHA_256" -_SMPKE = "SM2PKE" -_AT = "ArnType" -_ANT = "AliasNameType" -_DT = "DateType" -_KIT = "KeyIdType" -_ALE = "AliasListEntry" -_AN = "AliasName" -_AA = "AliasArn" -_TKI = "TargetKeyId" -_CD = "CreationDate" -_LUD = "LastUpdatedDate" -_AL = "AliasList" -_m = "member" -_EMT = "ErrorMessageType" -_AEE = "AlreadyExistsException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_me = "message" -_ADT = "AttestationDocumentType" -_AWSAIT = "AWSAccountIdType" -_BKIRT = "BackingKeyIdResponseType" -_BKIT = "BackingKeyIdType" -_BT = "BooleanType" -_sm = "smithy.api#default" -_CKDI = "CancelKeyDeletionInput" -_sSI = "smithy.synthetic#originalShapeId" -_cCKDR = "com.amazonaws.kms#CancelKeyDeletionRequest" -_smi = "smithy.api#input" -_KI = "KeyId" -_smit = "smithy.api#required" -_CKDO = "CancelKeyDeletionOutput" -_cCKDRo = "com.amazonaws.kms#CancelKeyDeletionResponse" -_smith = "smithy.api#output" -_DTE = "DependencyTimeoutException" -_se = "server" -_IAE = "InvalidArnException" -_KMSIE = "KMSInternalException" -_KMSISE = "KMSInvalidStateException" -_NFE = "NotFoundException" -_CKD = "CancelKeyDeletion" -_CT = "CiphertextType" -_CHCIT = "CloudHsmClusterIdType" -_CHCIUE = "CloudHsmClusterInUseException" -_CHCICE = "CloudHsmClusterInvalidConfigurationException" -_CHCNAE = "CloudHsmClusterNotActiveException" -_CHCNFE = "CloudHsmClusterNotFoundException" -_CHCNRE = "CloudHsmClusterNotRelatedException" -_CTEIT = "CloudTrailEventIdType" -_CE = "ConflictException" -_CKSIT = "CustomKeyStoreIdType" -_CCKSI = "ConnectCustomKeyStoreInput" -_cCCKSR = "com.amazonaws.kms#ConnectCustomKeyStoreRequest" -_CKSI = "CustomKeyStoreId" -_CCKSO = "ConnectCustomKeyStoreOutput" -_cCCKSRo = "com.amazonaws.kms#ConnectCustomKeyStoreResponse" -_CKSISE = "CustomKeyStoreInvalidStateException" -_CKSNFE = "CustomKeyStoreNotFoundException" -_CCKS = "ConnectCustomKeyStore" -_CECT = "ConnectionErrorCodeType" -_IC = "INVALID_CREDENTIALS" -_CNF = "CLUSTER_NOT_FOUND" -_NE = "NETWORK_ERRORS" -_IE = "INTERNAL_ERROR" -_ICH = "INSUFFICIENT_CLOUDHSM_HSMS" -_ULO = "USER_LOCKED_OUT" -_UNF = "USER_NOT_FOUND" -_ULI = "USER_LOGGED_IN" -_SNF = "SUBNET_NOT_FOUND" -_IFAIS = "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET" -_XPAD = "XKS_PROXY_ACCESS_DENIED" -_XPNR = "XKS_PROXY_NOT_REACHABLE" -_XVESNF = "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND" -_XPIR = "XKS_PROXY_INVALID_RESPONSE" -_XPIC = "XKS_PROXY_INVALID_CONFIGURATION" -_XVESIC = "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION" -_XPTO = "XKS_PROXY_TIMED_OUT" -_XPITC = "XKS_PROXY_INVALID_TLS_CONFIGURATION" -_CST = "ConnectionStateType" -_CONNECTED = "CONNECTED" -_CONNECTING = "CONNECTING" -_FAILED = "FAILED" -_DISCONNECTED = "DISCONNECTED" -_DISCONNECTING = "DISCONNECTING" -_CAI = "CreateAliasInput" -_cCAR = "com.amazonaws.kms#CreateAliasRequest" -_CAO = "CreateAliasOutput" -_sU = "smithy.api#Unit" -_IANE = "InvalidAliasNameException" -_LEE = "LimitExceededException" -_CA = "CreateAlias" -_CKSNT = "CustomKeyStoreNameType" -_CKST = "CustomKeyStoreType" -_AC = "AWS_CLOUDHSM" -_EKS = "EXTERNAL_KEY_STORE" -_KSPT = "KeyStorePasswordType" -_smithy = "smithy.api#sensitive" -_TACT = "TrustAnchorCertificateType" -_XPAAKIT = "XksProxyAuthenticationAccessKeyIdType" -_XPARSAKT = "XksProxyAuthenticationRawSecretAccessKeyType" -_XPACT = "XksProxyAuthenticationCredentialType" -_AKI = "AccessKeyId" -_RSAK = "RawSecretAccessKey" -_XPCT = "XksProxyConnectivityType" -_PE = "PUBLIC_ENDPOINT" -_VES = "VPC_ENDPOINT_SERVICE" -_XPUET = "XksProxyUriEndpointType" -_XPUPT = "XksProxyUriPathType" -_XPVESNT = "XksProxyVpcEndpointServiceNameType" -_CCKSIr = "CreateCustomKeyStoreInput" -_cCCKSRom = "com.amazonaws.kms#CreateCustomKeyStoreRequest" -_CKSN = "CustomKeyStoreName" -_CHCI = "CloudHsmClusterId" -_TAC = "TrustAnchorCertificate" -_KSP = "KeyStorePassword" -_XPUE = "XksProxyUriEndpoint" -_XPUP = "XksProxyUriPath" -_XPVESN = "XksProxyVpcEndpointServiceName" -_XPVESO = "XksProxyVpcEndpointServiceOwner" -_XPAC = "XksProxyAuthenticationCredential" -_XPC = "XksProxyConnectivity" -_CCKSOr = "CreateCustomKeyStoreOutput" -_cCCKSRoma = "com.amazonaws.kms#CreateCustomKeyStoreResponse" -_CKSNIUE = "CustomKeyStoreNameInUseException" -_ITAE = "IncorrectTrustAnchorException" -_XPIACE = "XksProxyIncorrectAuthenticationCredentialException" -_XPICE = "XksProxyInvalidConfigurationException" -_XPIRE = "XksProxyInvalidResponseException" -_XPUEIUE = "XksProxyUriEndpointInUseException" -_XPUIUE = "XksProxyUriInUseException" -_XPUUE = "XksProxyUriUnreachableException" -_XPVESIUE = "XksProxyVpcEndpointServiceInUseException" -_XPVESICE = "XksProxyVpcEndpointServiceInvalidConfigurationException" -_XPVESNFE = "XksProxyVpcEndpointServiceNotFoundException" -_CCKSr = "CreateCustomKeyStore" -_ECK = "EncryptionContextKey" -_ECV = "EncryptionContextValue" -_ECT = "EncryptionContextType" -_k = "key" -_v = "value" -_GCSAT = "GrantConstraintSourceArnType" -_GC = "GrantConstraints" -_ECS = "EncryptionContextSubset" -_ECE = "EncryptionContextEquals" -_SA = "SourceArn" -_NBT = "NullableBooleanType" -_PIT = "PrincipalIdType" -_SPT = "ServicePrincipalType" -_GTT = "GrantTokenType" -_GTL = "GrantTokenList" -_GNT = "GrantNameType" -_GO = "GrantOperation" -_D = "Decrypt" -_E = "Encrypt" -_GDK = "GenerateDataKey" -_GDKWP = "GenerateDataKeyWithoutPlaintext" -_REF = "ReEncryptFrom" -_RET = "ReEncryptTo" -_S = "Sign" -_V = "Verify" -_GPK = "GetPublicKey" -_CG = "CreateGrant" -_RG = "RetireGrant" -_DK = "DescribeKey" -_GDKP = "GenerateDataKeyPair" -_GDKPWP = "GenerateDataKeyPairWithoutPlaintext" -_GM = "GenerateMac" -_VM = "VerifyMac" -_DSS = "DeriveSharedSecret" -_En = "Encapsulate" -_De = "Decapsulate" -_GOL = "GrantOperationList" -_CGI = "CreateGrantInput" -_cCGR = "com.amazonaws.kms#CreateGrantRequest" -_GP = "GranteePrincipal" -_RP = "RetiringPrincipal" -_O = "Operations" -_C = "Constraints" -_GT = "GrantTokens" -_N = "Name" -_DR = "DryRun" -_GSP = "GranteeServicePrincipal" -_RSP = "RetiringServicePrincipal" -_GIT = "GrantIdType" -_CGO = "CreateGrantOutput" -_cCGRo = "com.amazonaws.kms#CreateGrantResponse" -_GTr = "GrantToken" -_GI = "GrantId" -_DE = "DisabledException" -_DROE = "DryRunOperationException" -_IGTE = "InvalidGrantTokenException" -_CMKS = "CustomerMasterKeySpec" -_R = "RSA_2048" -_R_ = "RSA_3072" -_R__ = "RSA_4096" -_ENP = "ECC_NIST_P256" -_ENP_ = "ECC_NIST_P384" -_ENP__ = "ECC_NIST_P521" -_ESP = "ECC_SECG_P256K1" -_SD = "SYMMETRIC_DEFAULT" -_H = "HMAC_224" -_H_ = "HMAC_256" -_H__ = "HMAC_384" -_H___ = "HMAC_512" -_SM = "SM2" -_DTe = "DescriptionType" -_KS = "KeySpec" -_MD = "ML_DSA_44" -_MD_ = "ML_DSA_65" -_MD__ = "ML_DSA_87" -_ENE = "ECC_NIST_EDWARDS25519" -_MK = "ML_KEM_512" -_MK_ = "ML_KEM_768" -_MK__ = "ML_KEM_1024" -_KUT = "KeyUsageType" -_SV = "SIGN_VERIFY" -_ED = "ENCRYPT_DECRYPT" -_GVM = "GENERATE_VERIFY_MAC" -_KA = "KEY_AGREEMENT" -_ED_ = "ENCAPSULATE_DECAPSULATE" -_OT = "OriginType" -_AK = "AWS_KMS" -_EXTERNAL = "EXTERNAL" -_PT = "PolicyType" -_TKT = "TagKeyType" -_TVT = "TagValueType" -_T = "Tag" -_TK = "TagKey" -_TV = "TagValue" -_TL = "TagList" -_XKIT = "XksKeyIdType" -_CKI = "CreateKeyInput" -_cCKR = "com.amazonaws.kms#CreateKeyRequest" -_P = "Policy" -_Des = "Description" -_KU = "KeyUsage" -_Or = "Origin" -_BPLSC = "BypassPolicyLockoutSafetyCheck" -_Ta = "Tags" -_MR = "MultiRegion" -_XKI = "XksKeyId" -_EAS = "EncapsulationAlgorithmSpec" -_MK___ = "ML_KEM" -_EASL = "EncapsulationAlgorithmSpecList" -_EASn = "EncryptionAlgorithmSpec" -_EASLn = "EncryptionAlgorithmSpecList" -_EMTx = "ExpirationModelType" -_KME = "KEY_MATERIAL_EXPIRES" -_KMDNE = "KEY_MATERIAL_DOES_NOT_EXPIRE" -_KAAS = "KeyAgreementAlgorithmSpec" -_ECDH = "ECDH" -_KAASL = "KeyAgreementAlgorithmSpecList" -_KMT = "KeyManagerType" -_AWS = "AWS" -_CUSTOMER = "CUSTOMER" -_KSe = "KeyState" -_Cr = "Creating" -_Ena = "Enabled" -_Di = "Disabled" -_PD = "PendingDeletion" -_PI = "PendingImport" -_PRD = "PendingReplicaDeletion" -_U = "Unavailable" -_Up = "Updating" -_MAS = "MacAlgorithmSpec" -_HS = "HMAC_SHA_224" -_HS_ = "HMAC_SHA_256" -_HS__ = "HMAC_SHA_384" -_HS___ = "HMAC_SHA_512" -_MASL = "MacAlgorithmSpecList" -_MRKT = "MultiRegionKeyType" -_PRIMARY = "PRIMARY" -_REPLICA = "REPLICA" -_RT = "RegionType" -_MRK = "MultiRegionKey" -_A = "Arn" -_Re = "Region" -_MRKL = "MultiRegionKeyList" -_MRC = "MultiRegionConfiguration" -_PK = "PrimaryKey" -_RK = "ReplicaKeys" -_PWIDT = "PendingWindowInDaysType" -_SAS = "SigningAlgorithmSpec" -_RPS = "RSASSA_PSS_SHA_256" -_RPS_ = "RSASSA_PSS_SHA_384" -_RPS__ = "RSASSA_PSS_SHA_512" -_RPVS = "RSASSA_PKCS1_V1_5_SHA_256" -_RPVS_ = "RSASSA_PKCS1_V1_5_SHA_384" -_RPVS__ = "RSASSA_PKCS1_V1_5_SHA_512" -_ES = "ECDSA_SHA_256" -_ES_ = "ECDSA_SHA_384" -_ES__ = "ECDSA_SHA_512" -_SMDSA = "SM2DSA" -_MDS = "ML_DSA_SHAKE_256" -_ES___ = "ED25519_SHA_512" -_EPS = "ED25519_PH_SHA_512" -_SASL = "SigningAlgorithmSpecList" -_XKCT = "XksKeyConfigurationType" -_I = "Id" -_KM = "KeyMetadata" -_AWSAI = "AWSAccountId" -_DD = "DeletionDate" -_VT = "ValidTo" -_EM = "ExpirationModel" -_KMe = "KeyManager" -_EA = "EncryptionAlgorithms" -_SAi = "SigningAlgorithms" -_KAA = "KeyAgreementAlgorithms" -_EAn = "EncapsulationAlgorithms" -_PDWID = "PendingDeletionWindowInDays" -_MA = "MacAlgorithms" -_XKC = "XksKeyConfiguration" -_CKMI = "CurrentKeyMaterialId" -_CKO = "CreateKeyOutput" -_cCKRo = "com.amazonaws.kms#CreateKeyResponse" -_MPDE = "MalformedPolicyDocumentException" -_TE = "TagException" -_UOE = "UnsupportedOperationException" -_XKAIUE = "XksKeyAlreadyInUseException" -_XKICE = "XksKeyInvalidConfigurationException" -_XKNFE = "XksKeyNotFoundException" -_CK = "CreateKey" -_CKSHCMKE = "CustomKeyStoreHasCMKsException" -_XPCTk = "XksProxyConfigurationType" -_Co = "Connectivity" -_UE = "UriEndpoint" -_UP = "UriPath" -_VESN = "VpcEndpointServiceName" -_VESO = "VpcEndpointServiceOwner" -_CKSLE = "CustomKeyStoresListEntry" -_CS = "ConnectionState" -_CEC = "ConnectionErrorCode" -_XPCk = "XksProxyConfiguration" -_CKSL = "CustomKeyStoresList" -_DKPS = "DataKeyPairSpec" -_DKS = "DataKeySpec" -_A_ = "AES_256" -_A__ = "AES_128" -_DI = "DecapsulateInput" -_cDR = "com.amazonaws.kms#DecapsulateRequest" -_SSCB = "SharedSecretCiphertextBlob" -_EAnc = "EncapsulationAlgorithm" -_PTl = "PlaintextType" -_DO = "DecapsulateOutput" -_cDRo = "com.amazonaws.kms#DecapsulateResponse" -_SS = "SharedSecret" -_ICE = "InvalidCiphertextException" -_IKUE = "InvalidKeyUsageException" -_KUE = "KeyUnavailableException" -_DRMT = "DryRunModifierType" -_IC_ = "IGNORE_CIPHERTEXT" -_DRML = "DryRunModifierList" -_KEM = "KeyEncryptionMechanism" -_RI = "RecipientInfo" -_KEA = "KeyEncryptionAlgorithm" -_AD = "AttestationDocument" -_DIe = "DecryptInput" -_cDRom = "com.amazonaws.kms#DecryptRequest" -_CB = "CiphertextBlob" -_EC = "EncryptionContext" -_EAncr = "EncryptionAlgorithm" -_Rec = "Recipient" -_DRM = "DryRunModifiers" -_DOe = "DecryptOutput" -_cDRoma = "com.amazonaws.kms#DecryptResponse" -_Pl = "Plaintext" -_CFR = "CiphertextForRecipient" -_KMI = "KeyMaterialId" -_IKE = "IncorrectKeyException" -_DAI = "DeleteAliasInput" -_cDAR = "com.amazonaws.kms#DeleteAliasRequest" -_DAO = "DeleteAliasOutput" -_DA = "DeleteAlias" -_DCKSI = "DeleteCustomKeyStoreInput" -_cDCKSR = "com.amazonaws.kms#DeleteCustomKeyStoreRequest" -_DCKSO = "DeleteCustomKeyStoreOutput" -_cDCKSRo = "com.amazonaws.kms#DeleteCustomKeyStoreResponse" -_DCKS = "DeleteCustomKeyStore" -_DIKMI = "DeleteImportedKeyMaterialInput" -_cDIKMR = "com.amazonaws.kms#DeleteImportedKeyMaterialRequest" -_DIKMO = "DeleteImportedKeyMaterialOutput" -_cDIKMRo = "com.amazonaws.kms#DeleteImportedKeyMaterialResponse" -_DIKM = "DeleteImportedKeyMaterial" -_PKT = "PublicKeyType" -_DSSI = "DeriveSharedSecretInput" -_cDSSR = "com.amazonaws.kms#DeriveSharedSecretRequest" -_KAAe = "KeyAgreementAlgorithm" -_PKu = "PublicKey" -_DSSO = "DeriveSharedSecretOutput" -_cDSSRo = "com.amazonaws.kms#DeriveSharedSecretResponse" -_KO = "KeyOrigin" -_LT = "LimitType" -_MT = "MarkerType" -_DCKSIe = "DescribeCustomKeyStoresInput" -_cDCKSRom = "com.amazonaws.kms#DescribeCustomKeyStoresRequest" -_L = "Limit" -_M = "Marker" -_DCKSOe = "DescribeCustomKeyStoresOutput" -_cDCKSRoma = "com.amazonaws.kms#DescribeCustomKeyStoresResponse" -_CKS = "CustomKeyStores" -_NM = "NextMarker" -_Tr = "Truncated" -_IME = "InvalidMarkerException" -_DCKSe = "DescribeCustomKeyStores" -_DKI = "DescribeKeyInput" -_cDKR = "com.amazonaws.kms#DescribeKeyRequest" -_DKO = "DescribeKeyOutput" -_cDKRo = "com.amazonaws.kms#DescribeKeyResponse" -_DKIi = "DisableKeyInput" -_cDKRom = "com.amazonaws.kms#DisableKeyRequest" -_DKOi = "DisableKeyOutput" -_DKi = "DisableKey" -_DKRI = "DisableKeyRotationInput" -_cDKRR = "com.amazonaws.kms#DisableKeyRotationRequest" -_DKRO = "DisableKeyRotationOutput" -_DKR = "DisableKeyRotation" -_DCKSIi = "DisconnectCustomKeyStoreInput" -_cDCKSRomam = "com.amazonaws.kms#DisconnectCustomKeyStoreRequest" -_DCKSOi = "DisconnectCustomKeyStoreOutput" -_cDCKSRomama = "com.amazonaws.kms#DisconnectCustomKeyStoreResponse" -_DCKSi = "DisconnectCustomKeyStore" -_EKI = "EnableKeyInput" -_cEKR = "com.amazonaws.kms#EnableKeyRequest" -_EKO = "EnableKeyOutput" -_EK = "EnableKey" -_RPIDT = "RotationPeriodInDaysType" -_EKRI = "EnableKeyRotationInput" -_cEKRR = "com.amazonaws.kms#EnableKeyRotationRequest" -_RPID = "RotationPeriodInDays" -_EKRO = "EnableKeyRotationOutput" -_EKR = "EnableKeyRotation" -_EI = "EncapsulateInput" -_cER = "com.amazonaws.kms#EncapsulateRequest" -_EO = "EncapsulateOutput" -_cERo = "com.amazonaws.kms#EncapsulateResponse" -_EIn = "EncryptInput" -_cERom = "com.amazonaws.kms#EncryptRequest" -_EOn = "EncryptOutput" -_cERoma = "com.amazonaws.kms#EncryptResponse" -_EITE = "ExpiredImportTokenException" -_NOBT = "NumberOfBytesType" -_GDKI = "GenerateDataKeyInput" -_cGDKR = "com.amazonaws.kms#GenerateDataKeyRequest" -_NOB = "NumberOfBytes" -_GDKO = "GenerateDataKeyOutput" -_cGDKRo = "com.amazonaws.kms#GenerateDataKeyResponse" -_GDKPI = "GenerateDataKeyPairInput" -_cGDKPR = "com.amazonaws.kms#GenerateDataKeyPairRequest" -_KPS = "KeyPairSpec" -_GDKPO = "GenerateDataKeyPairOutput" -_cGDKPRo = "com.amazonaws.kms#GenerateDataKeyPairResponse" -_PKCB = "PrivateKeyCiphertextBlob" -_PKP = "PrivateKeyPlaintext" -_GDKPWPI = "GenerateDataKeyPairWithoutPlaintextInput" -_cGDKPWPR = "com.amazonaws.kms#GenerateDataKeyPairWithoutPlaintextRequest" -_GDKPWPO = "GenerateDataKeyPairWithoutPlaintextOutput" -_cGDKPWPRo = "com.amazonaws.kms#GenerateDataKeyPairWithoutPlaintextResponse" -_GDKWPI = "GenerateDataKeyWithoutPlaintextInput" -_cGDKWPR = "com.amazonaws.kms#GenerateDataKeyWithoutPlaintextRequest" -_GDKWPO = "GenerateDataKeyWithoutPlaintextOutput" -_cGDKWPRo = "com.amazonaws.kms#GenerateDataKeyWithoutPlaintextResponse" -_GMI = "GenerateMacInput" -_cGMR = "com.amazonaws.kms#GenerateMacRequest" -_Me = "Message" -_MAa = "MacAlgorithm" -_GMO = "GenerateMacOutput" -_cGMRo = "com.amazonaws.kms#GenerateMacResponse" -_Ma = "Mac" -_GRI = "GenerateRandomInput" -_cGRR = "com.amazonaws.kms#GenerateRandomRequest" -_GRO = "GenerateRandomOutput" -_cGRRo = "com.amazonaws.kms#GenerateRandomResponse" -_GR = "GenerateRandom" -_GKLUI = "GetKeyLastUsageInput" -_cGKLUR = "com.amazonaws.kms#GetKeyLastUsageRequest" -_KRIT = "KmsRequestIdType" -_KLUTO = "KeyLastUsageTrackingOperation" -_RE = "ReEncrypt" -_KLUD = "KeyLastUsageData" -_Op = "Operation" -_Ti = "Timestamp" -_CTEI = "CloudTrailEventId" -_KRI = "KmsRequestId" -_GKLUO = "GetKeyLastUsageOutput" -_cGKLURo = "com.amazonaws.kms#GetKeyLastUsageResponse" -_KLU = "KeyLastUsage" -_TSD = "TrackingStartDate" -_KCD = "KeyCreationDate" -_GKLU = "GetKeyLastUsage" -_PNT = "PolicyNameType" -_GKPI = "GetKeyPolicyInput" -_cGKPR = "com.amazonaws.kms#GetKeyPolicyRequest" -_PN = "PolicyName" -_GKPO = "GetKeyPolicyOutput" -_cGKPRo = "com.amazonaws.kms#GetKeyPolicyResponse" -_GKP = "GetKeyPolicy" -_GKRSI = "GetKeyRotationStatusInput" -_cGKRSR = "com.amazonaws.kms#GetKeyRotationStatusRequest" -_GKRSO = "GetKeyRotationStatusOutput" -_cGKRSRo = "com.amazonaws.kms#GetKeyRotationStatusResponse" -_KRE = "KeyRotationEnabled" -_NRD = "NextRotationDate" -_ODRSD = "OnDemandRotationStartDate" -_GKRS = "GetKeyRotationStatus" -_WKS = "WrappingKeySpec" -_GPFII = "GetParametersForImportInput" -_cGPFIR = "com.amazonaws.kms#GetParametersForImportRequest" -_WA = "WrappingAlgorithm" -_GPFIO = "GetParametersForImportOutput" -_cGPFIRo = "com.amazonaws.kms#GetParametersForImportResponse" -_IT = "ImportToken" -_PVT = "ParametersValidTo" -_GPFI = "GetParametersForImport" -_GPKI = "GetPublicKeyInput" -_cGPKR = "com.amazonaws.kms#GetPublicKeyRequest" -_GPKO = "GetPublicKeyOutput" -_cGPKRo = "com.amazonaws.kms#GetPublicKeyResponse" -_GLE = "GrantListEntry" -_IA = "IssuingAccount" -_GL = "GrantList" -_ITm = "ImportType" -_NKM = "NEW_KEY_MATERIAL" -_EKM = "EXISTING_KEY_MATERIAL" -_KMDT = "KeyMaterialDescriptionType" -_IKMI = "ImportKeyMaterialInput" -_cIKMR = "com.amazonaws.kms#ImportKeyMaterialRequest" -_EKMn = "EncryptedKeyMaterial" -_KMD = "KeyMaterialDescription" -_IKMO = "ImportKeyMaterialOutput" -_cIKMRo = "com.amazonaws.kms#ImportKeyMaterialResponse" -_IKME = "IncorrectKeyMaterialException" -_IITE = "InvalidImportTokenException" -_IKM = "ImportKeyMaterial" -_IS = "ImportState" -_IMPORTED = "IMPORTED" -_PI_ = "PENDING_IMPORT" -_IKMn = "IncludeKeyMaterial" -_AKM = "ALL_KEY_MATERIAL" -_RO = "ROTATIONS_ONLY" -_IGIE = "InvalidGrantIdException" -_KLE = "KeyListEntry" -_KAe = "KeyArn" -_KL = "KeyList" -_KMS = "KeyMaterialState" -_NC = "NON_CURRENT" -_CURRENT = "CURRENT" -_PR = "PENDING_ROTATION" -_PMRIAR = "PENDING_MULTI_REGION_IMPORT_AND_ROTATION" -_KMSIME = "KMSInvalidMacException" -_KMSISEn = "KMSInvalidSignatureException" -_LAI = "ListAliasesInput" -_cLAR = "com.amazonaws.kms#ListAliasesRequest" -_LAO = "ListAliasesOutput" -_cLARo = "com.amazonaws.kms#ListAliasesResponse" -_Al = "Aliases" -_LA = "ListAliases" -_LGI = "ListGrantsInput" -_cLGR = "com.amazonaws.kms#ListGrantsRequest" -_LGO = "ListGrantsOutput" -_cLGRo = "com.amazonaws.kms#ListGrantsResponse" -_G = "Grants" -_LG = "ListGrants" -_LKPI = "ListKeyPoliciesInput" -_cLKPR = "com.amazonaws.kms#ListKeyPoliciesRequest" -_PNL = "PolicyNameList" -_LKPO = "ListKeyPoliciesOutput" -_cLKPRo = "com.amazonaws.kms#ListKeyPoliciesResponse" -_PNo = "PolicyNames" -_LKP = "ListKeyPolicies" -_LKRI = "ListKeyRotationsInput" -_cLKRR = "com.amazonaws.kms#ListKeyRotationsRequest" -_RTo = "RotationType" -_AUTOMATIC = "AUTOMATIC" -_OD = "ON_DEMAND" -_RLE = "RotationsListEntry" -_RD = "RotationDate" -_RL = "RotationsList" -_LKRO = "ListKeyRotationsOutput" -_cLKRRo = "com.amazonaws.kms#ListKeyRotationsResponse" -_Ro = "Rotations" -_LKR = "ListKeyRotations" -_LKI = "ListKeysInput" -_cLKR = "com.amazonaws.kms#ListKeysRequest" -_LKO = "ListKeysOutput" -_cLKRo = "com.amazonaws.kms#ListKeysResponse" -_K = "Keys" -_LK = "ListKeys" -_LRTI = "ListResourceTagsInput" -_cLRTR = "com.amazonaws.kms#ListResourceTagsRequest" -_LRTO = "ListResourceTagsOutput" -_cLRTRo = "com.amazonaws.kms#ListResourceTagsResponse" -_LRT = "ListResourceTags" -_LRGI = "ListRetirableGrantsInput" -_cLRGR = "com.amazonaws.kms#ListRetirableGrantsRequest" -_LRGO = "ListRetirableGrantsOutput" -_LRG = "ListRetirableGrants" -_MTe = "MessageType" -_RAW = "RAW" -_DIGEST = "DIGEST" -_EM_ = "EXTERNAL_MU" -_PKPI = "PutKeyPolicyInput" -_cPKPR = "com.amazonaws.kms#PutKeyPolicyRequest" -_PKPO = "PutKeyPolicyOutput" -_PKPu = "PutKeyPolicy" -_REI = "ReEncryptInput" -_cRER = "com.amazonaws.kms#ReEncryptRequest" -_SEC = "SourceEncryptionContext" -_SKI = "SourceKeyId" -_DKIe = "DestinationKeyId" -_DEC = "DestinationEncryptionContext" -_SEA = "SourceEncryptionAlgorithm" -_DEA = "DestinationEncryptionAlgorithm" -_REO = "ReEncryptOutput" -_cRERo = "com.amazonaws.kms#ReEncryptResponse" -_SKMI = "SourceKeyMaterialId" -_DKMI = "DestinationKeyMaterialId" -_RKI = "ReplicateKeyInput" -_cRKR = "com.amazonaws.kms#ReplicateKeyRequest" -_RR = "ReplicaRegion" -_RKO = "ReplicateKeyOutput" -_cRKRo = "com.amazonaws.kms#ReplicateKeyResponse" -_RKM = "ReplicaKeyMetadata" -_RPe = "ReplicaPolicy" -_RTe = "ReplicaTags" -_RKe = "ReplicateKey" -_RGI = "RetireGrantInput" -_cRGR = "com.amazonaws.kms#RetireGrantRequest" -_RGO = "RetireGrantOutput" -_RGIe = "RevokeGrantInput" -_cRGRo = "com.amazonaws.kms#RevokeGrantRequest" -_RGOe = "RevokeGrantOutput" -_RGe = "RevokeGrant" -_RKODI = "RotateKeyOnDemandInput" -_cRKODR = "com.amazonaws.kms#RotateKeyOnDemandRequest" -_RKODO = "RotateKeyOnDemandOutput" -_cRKODRo = "com.amazonaws.kms#RotateKeyOnDemandResponse" -_RKOD = "RotateKeyOnDemand" -_SKDI = "ScheduleKeyDeletionInput" -_cSKDR = "com.amazonaws.kms#ScheduleKeyDeletionRequest" -_PWID = "PendingWindowInDays" -_SKDO = "ScheduleKeyDeletionOutput" -_cSKDRo = "com.amazonaws.kms#ScheduleKeyDeletionResponse" -_SKD = "ScheduleKeyDeletion" -_SI = "SignInput" -_cSR = "com.amazonaws.kms#SignRequest" -_SAig = "SigningAlgorithm" -_SO = "SignOutput" -_cSRo = "com.amazonaws.kms#SignResponse" -_Si = "Signature" -_TKL = "TagKeyList" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.kms#TagResourceRequest" -_TRO = "TagResourceOutput" -_TR = "TagResource" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.kms#UntagResourceRequest" -_TKa = "TagKeys" -_URO = "UntagResourceOutput" -_UR = "UntagResource" -_UAI = "UpdateAliasInput" -_cUAR = "com.amazonaws.kms#UpdateAliasRequest" -_UAO = "UpdateAliasOutput" -_UA = "UpdateAlias" -_UCKSI = "UpdateCustomKeyStoreInput" -_cUCKSR = "com.amazonaws.kms#UpdateCustomKeyStoreRequest" -_NCKSN = "NewCustomKeyStoreName" -_UCKSO = "UpdateCustomKeyStoreOutput" -_cUCKSRo = "com.amazonaws.kms#UpdateCustomKeyStoreResponse" -_UCKS = "UpdateCustomKeyStore" -_UKDI = "UpdateKeyDescriptionInput" -_cUKDR = "com.amazonaws.kms#UpdateKeyDescriptionRequest" -_UKDO = "UpdateKeyDescriptionOutput" -_UKD = "UpdateKeyDescription" -_UPRI = "UpdatePrimaryRegionInput" -_cUPRR = "com.amazonaws.kms#UpdatePrimaryRegionRequest" -_PRr = "PrimaryRegion" -_UPRO = "UpdatePrimaryRegionOutput" -_UPR = "UpdatePrimaryRegion" -_VI = "VerifyInput" -_cVR = "com.amazonaws.kms#VerifyRequest" -_VO = "VerifyOutput" -_cVRo = "com.amazonaws.kms#VerifyResponse" -_SVi = "SignatureValid" -_VMI = "VerifyMacInput" -_cVMR = "com.amazonaws.kms#VerifyMacRequest" -_VMO = "VerifyMacOutput" -_cVMRo = "com.amazonaws.kms#VerifyMacResponse" -_MV = "MacValid" -_TS = "TrentService" -_a = "aws.auth#sigv4" -_a_ = "aws.protocols#awsJson1_1" -_aw = "aws.api#service" -_sN = "smithy.api#xmlNamespace" - -ACCOUNT_ID_TYPE: StaticSchema = (3, n0, _AIT, 0) - -ALGORITHM_SPEC: StaticSchema = ( - 14, - n0, - _AS, - 0, - (_RPV, _ROS, _ROS_, _RAKWS, _RAKWS_, _SMPKE), - ( - (-1, {_sV: _RPV}), - (-1, {_sV: _ROS}), - (-1, {_sV: _ROS_}), - (-1, {_sV: _RAKWS}), - (-1, {_sV: _RAKWS_}), - (-1, {_sV: _SMPKE}), - ), -) - -ARN_TYPE: StaticSchema = (3, n0, _AT, 0) - -ALIAS_NAME_TYPE: StaticSchema = (3, n0, _ANT, 0) - -DATE_TYPE: StaticSchema = (4, n0, _DT, 0) - -KEY_ID_TYPE: StaticSchema = (3, n0, _KIT, 0) - -ALIAS_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _ALE, - 0, - (_AN, _AA, _TKI, _CD, _LUD), - ( - (ALIAS_NAME_TYPE, 0), - (ARN_TYPE, 0), - (KEY_ID_TYPE, 0), - (DATE_TYPE, 0), - (DATE_TYPE, 0), - ), -) - -ALIAS_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((ALIAS_LIST_ENTRY, 0),)) - -ERROR_MESSAGE_TYPE: StaticSchema = (3, n0, _EMT, 0) - -ALREADY_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _AEE, - { - _s: _c, - _sE: 409, - _aQE: MappingProxyType({"code": "AlreadyExists", "httpResponseCode": 409}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -ATTESTATION_DOCUMENT_TYPE: StaticSchema = (1, n0, _ADT, 0) - -AWS_ACCOUNT_ID_TYPE: StaticSchema = (3, n0, _AWSAIT, 0) - -BACKING_KEY_ID_RESPONSE_TYPE: StaticSchema = (3, n0, _BKIRT, 0) - -BACKING_KEY_ID_TYPE: StaticSchema = (3, n0, _BKIT, 0) - -BOOLEAN_TYPE: StaticSchema = (2, n0, _BT, {_sm: False}) - -CANCEL_KEY_DELETION_INPUT: StaticSchema = ( - 18, - n0, - _CKDI, - {_sSI: _cCKDR, _smi: None}, - (_KI,), - ((KEY_ID_TYPE, 1),), -) - -CANCEL_KEY_DELETION_OUTPUT: StaticSchema = ( - 18, - n0, - _CKDO, - {_sSI: _cCKDRo, _smith: None}, - (_KI,), - ((KEY_ID_TYPE, 0),), -) - -DEPENDENCY_TIMEOUT_EXCEPTION: StaticSchema = ( - 18, - n0, - _DTE, - { - _s: _se, - _sE: 503, - _aQE: MappingProxyType({"code": "DependencyTimeout", "httpResponseCode": 503}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -INVALID_ARN_EXCEPTION: StaticSchema = ( - 18, - n0, - _IAE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidArn", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -KMS_INTERNAL_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSIE, - { - _s: _se, - _sE: 500, - _aQE: MappingProxyType({"code": "KMSInternal", "httpResponseCode": 500}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -KMS_INVALID_STATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSISE, - { - _s: _c, - _sE: 409, - _aQE: MappingProxyType( - {"code": "KMSInvalidStateException", "httpResponseCode": 409} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _NFE, - { - _s: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "NotFound", "httpResponseCode": 404}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CANCEL_KEY_DELETION: StaticOperationSchema = ( - 23, - n0, - _CKD, - 0, - CANCEL_KEY_DELETION_INPUT, - CANCEL_KEY_DELETION_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -CIPHERTEXT_TYPE: StaticSchema = (1, n0, _CT, 0) - -CLOUD_HSM_CLUSTER_ID_TYPE: StaticSchema = (3, n0, _CHCIT, 0) - -CLOUD_HSM_CLUSTER_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _CHCIUE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CloudHsmClusterInUseException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _CHCICE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "CloudHsmClusterInvalidConfigurationException", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CLOUD_HSM_CLUSTER_NOT_ACTIVE_EXCEPTION: StaticSchema = ( - 18, - n0, - _CHCNAE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CloudHsmClusterNotActiveException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CLOUD_HSM_CLUSTER_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _CHCNFE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CloudHsmClusterNotFoundException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CLOUD_HSM_CLUSTER_NOT_RELATED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CHCNRE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CloudHsmClusterNotRelatedException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CLOUD_TRAIL_EVENT_ID_TYPE: StaticSchema = (3, n0, _CTEIT, 0) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - { - _s: _c, - _sE: 409, - _aQE: MappingProxyType({"code": "ConflictException", "httpResponseCode": 409}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CUSTOM_KEY_STORE_ID_TYPE: StaticSchema = (3, n0, _CKSIT, 0) - -CONNECT_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( - 18, - n0, - _CCKSI, - {_sSI: _cCCKSR, _smi: None}, - (_CKSI,), - ((CUSTOM_KEY_STORE_ID_TYPE, 1),), -) - -CONNECT_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _CCKSO, - {_sSI: _cCCKSRo, _smith: None}, -) - -CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _CKSISE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CustomKeyStoreInvalidStateException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _CKSNFE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CustomKeyStoreNotFoundException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CONNECT_CUSTOM_KEY_STORE: StaticOperationSchema = ( - 23, - n0, - _CCKS, - 0, - CONNECT_CUSTOM_KEY_STORE_INPUT, - CONNECT_CUSTOM_KEY_STORE_OUTPUT, - ( - CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION, - CLOUD_HSM_CLUSTER_NOT_ACTIVE_EXCEPTION, - CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, - CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - ), -) - -CONNECTION_ERROR_CODE_TYPE: StaticSchema = ( - 14, - n0, - _CECT, - 0, - ( - _IC, - _CNF, - _NE, - _IE, - _ICH, - _ULO, - _UNF, - _ULI, - _SNF, - _IFAIS, - _XPAD, - _XPNR, - _XVESNF, - _XPIR, - _XPIC, - _XVESIC, - _XPTO, - _XPITC, - ), - ( - (-1, {_sV: _IC}), - (-1, {_sV: _CNF}), - (-1, {_sV: _NE}), - (-1, {_sV: _IE}), - (-1, {_sV: _ICH}), - (-1, {_sV: _ULO}), - (-1, {_sV: _UNF}), - (-1, {_sV: _ULI}), - (-1, {_sV: _SNF}), - (-1, {_sV: _IFAIS}), - (-1, {_sV: _XPAD}), - (-1, {_sV: _XPNR}), - (-1, {_sV: _XVESNF}), - (-1, {_sV: _XPIR}), - (-1, {_sV: _XPIC}), - (-1, {_sV: _XVESIC}), - (-1, {_sV: _XPTO}), - (-1, {_sV: _XPITC}), - ), -) - -CONNECTION_STATE_TYPE: StaticSchema = ( - 14, - n0, - _CST, - 0, - (_CONNECTED, _CONNECTING, _FAILED, _DISCONNECTED, _DISCONNECTING), - ( - (-1, {_sV: _CONNECTED}), - (-1, {_sV: _CONNECTING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _DISCONNECTED}), - (-1, {_sV: _DISCONNECTING}), - ), -) - -CREATE_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _CAI, - {_sSI: _cCAR, _smi: None}, - (_AN, _TKI), - ((ALIAS_NAME_TYPE, 1), (KEY_ID_TYPE, 1)), -) - -CREATE_ALIAS_OUTPUT: StaticSchema = (18, n0, _CAO, {_sSI: _sU, _smith: None}) - -INVALID_ALIAS_NAME_EXCEPTION: StaticSchema = ( - 18, - n0, - _IANE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidAliasName", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "LimitExceeded", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CREATE_ALIAS: StaticOperationSchema = ( - 23, - n0, - _CA, - 0, - CREATE_ALIAS_INPUT, - CREATE_ALIAS_OUTPUT, - ( - ALREADY_EXISTS_EXCEPTION, - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ALIAS_NAME_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -CUSTOM_KEY_STORE_NAME_TYPE: StaticSchema = (3, n0, _CKSNT, 0) - -CUSTOM_KEY_STORE_TYPE: StaticSchema = ( - 14, - n0, - _CKST, - 0, - (_AC, _EKS), - ((-1, {_sV: _AC}), (-1, {_sV: _EKS})), -) - -KEY_STORE_PASSWORD_TYPE: StaticSchema = (3, n0, _KSPT, 4) - -TRUST_ANCHOR_CERTIFICATE_TYPE: StaticSchema = (3, n0, _TACT, 0) - -XKS_PROXY_AUTHENTICATION_ACCESS_KEY_ID_TYPE: StaticSchema = (3, n0, _XPAAKIT, 4) - -XKS_PROXY_AUTHENTICATION_RAW_SECRET_ACCESS_KEY_TYPE: StaticSchema = ( - 3, - n0, - _XPARSAKT, - 4, -) - -XKS_PROXY_AUTHENTICATION_CREDENTIAL_TYPE: StaticSchema = ( - 18, - n0, - _XPACT, - 0, - (_AKI, _RSAK), - ( - (XKS_PROXY_AUTHENTICATION_ACCESS_KEY_ID_TYPE, 1), - (XKS_PROXY_AUTHENTICATION_RAW_SECRET_ACCESS_KEY_TYPE, 1), - ), -) - -XKS_PROXY_CONNECTIVITY_TYPE: StaticSchema = ( - 14, - n0, - _XPCT, - 0, - (_PE, _VES), - ((-1, {_sV: _PE}), (-1, {_sV: _VES})), -) - -XKS_PROXY_URI_ENDPOINT_TYPE: StaticSchema = (3, n0, _XPUET, 0) - -XKS_PROXY_URI_PATH_TYPE: StaticSchema = (3, n0, _XPUPT, 0) - -XKS_PROXY_VPC_ENDPOINT_SERVICE_NAME_TYPE: StaticSchema = (3, n0, _XPVESNT, 0) - -CREATE_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( - 18, - n0, - _CCKSIr, - {_sSI: _cCCKSRom, _smi: None}, - (_CKSN, _CHCI, _TAC, _KSP, _CKST, _XPUE, _XPUP, _XPVESN, _XPVESO, _XPAC, _XPC), - ( - (CUSTOM_KEY_STORE_NAME_TYPE, 1), - (CLOUD_HSM_CLUSTER_ID_TYPE, 0), - (TRUST_ANCHOR_CERTIFICATE_TYPE, 0), - (KEY_STORE_PASSWORD_TYPE, 0), - (CUSTOM_KEY_STORE_TYPE, 0), - (XKS_PROXY_URI_ENDPOINT_TYPE, 0), - (XKS_PROXY_URI_PATH_TYPE, 0), - (XKS_PROXY_VPC_ENDPOINT_SERVICE_NAME_TYPE, 0), - (ACCOUNT_ID_TYPE, 0), - (XKS_PROXY_AUTHENTICATION_CREDENTIAL_TYPE, 0), - (XKS_PROXY_CONNECTIVITY_TYPE, 0), - ), -) - -CREATE_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _CCKSOr, - {_sSI: _cCCKSRoma, _smith: None}, - (_CKSI,), - ((CUSTOM_KEY_STORE_ID_TYPE, 0),), -) - -CUSTOM_KEY_STORE_NAME_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _CKSNIUE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CustomKeyStoreNameInUseException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -INCORRECT_TRUST_ANCHOR_EXCEPTION: StaticSchema = ( - 18, - n0, - _ITAE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "IncorrectTrustAnchorException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_INCORRECT_AUTHENTICATION_CREDENTIAL_EXCEPTION: StaticSchema = ( - 18, - n0, - _XPIACE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "XksProxyIncorrectAuthenticationCredentialException", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_INVALID_CONFIGURATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _XPICE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "XksProxyInvalidConfigurationException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_INVALID_RESPONSE_EXCEPTION: StaticSchema = ( - 18, - n0, - _XPIRE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "XksProxyInvalidResponseException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_URI_ENDPOINT_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _XPUEIUE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "XksProxyUriEndpointInUseException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_URI_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _XPUIUE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "XksProxyUriInUseException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_URI_UNREACHABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _XPUUE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "XksProxyUriUnreachableException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_VPC_ENDPOINT_SERVICE_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _XPVESIUE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "XksProxyVpcEndpointServiceInUseException", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _XPVESICE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "XksProxyVpcEndpointServiceInvalidConfigurationException", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_VPC_ENDPOINT_SERVICE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _XPVESNFE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "XksProxyVpcEndpointServiceNotFoundException", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CREATE_CUSTOM_KEY_STORE: StaticOperationSchema = ( - 23, - n0, - _CCKSr, - 0, - CREATE_CUSTOM_KEY_STORE_INPUT, - CREATE_CUSTOM_KEY_STORE_OUTPUT, - ( - CLOUD_HSM_CLUSTER_IN_USE_EXCEPTION, - CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION, - CLOUD_HSM_CLUSTER_NOT_ACTIVE_EXCEPTION, - CLOUD_HSM_CLUSTER_NOT_FOUND_EXCEPTION, - CUSTOM_KEY_STORE_NAME_IN_USE_EXCEPTION, - INCORRECT_TRUST_ANCHOR_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - XKS_PROXY_INCORRECT_AUTHENTICATION_CREDENTIAL_EXCEPTION, - XKS_PROXY_INVALID_CONFIGURATION_EXCEPTION, - XKS_PROXY_INVALID_RESPONSE_EXCEPTION, - XKS_PROXY_URI_ENDPOINT_IN_USE_EXCEPTION, - XKS_PROXY_URI_IN_USE_EXCEPTION, - XKS_PROXY_URI_UNREACHABLE_EXCEPTION, - XKS_PROXY_VPC_ENDPOINT_SERVICE_IN_USE_EXCEPTION, - XKS_PROXY_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION_EXCEPTION, - XKS_PROXY_VPC_ENDPOINT_SERVICE_NOT_FOUND_EXCEPTION, - ), -) - -ENCRYPTION_CONTEXT_KEY: StaticSchema = (3, n0, _ECK, 0) - -ENCRYPTION_CONTEXT_VALUE: StaticSchema = (3, n0, _ECV, 0) - -ENCRYPTION_CONTEXT_TYPE: StaticSchema = ( - 17, - n0, - _ECT, - 0, - (_k, _v), - ((ENCRYPTION_CONTEXT_KEY, 0), (ENCRYPTION_CONTEXT_VALUE, 0)), -) - -GRANT_CONSTRAINT_SOURCE_ARN_TYPE: StaticSchema = (3, n0, _GCSAT, 0) - -GRANT_CONSTRAINTS: StaticSchema = ( - 18, - n0, - _GC, - 0, - (_ECS, _ECE, _SA), - ( - (ENCRYPTION_CONTEXT_TYPE, 0), - (ENCRYPTION_CONTEXT_TYPE, 0), - (GRANT_CONSTRAINT_SOURCE_ARN_TYPE, 0), - ), -) - -NULLABLE_BOOLEAN_TYPE: StaticSchema = (2, n0, _NBT, 0) - -PRINCIPAL_ID_TYPE: StaticSchema = (3, n0, _PIT, 0) - -SERVICE_PRINCIPAL_TYPE: StaticSchema = (3, n0, _SPT, 0) - -GRANT_TOKEN_TYPE: StaticSchema = (3, n0, _GTT, 0) - -GRANT_TOKEN_LIST: StaticSchema = (16, n0, _GTL, 0, (_m,), ((GRANT_TOKEN_TYPE, 0),)) - -GRANT_NAME_TYPE: StaticSchema = (3, n0, _GNT, 0) - -GRANT_OPERATION: StaticSchema = ( - 14, - n0, - _GO, - 0, - ( - _D, - _E, - _GDK, - _GDKWP, - _REF, - _RET, - _S, - _V, - _GPK, - _CG, - _RG, - _DK, - _GDKP, - _GDKPWP, - _GM, - _VM, - _DSS, - _En, - _De, - ), - ( - (-1, {_sV: _D}), - (-1, {_sV: _E}), - (-1, {_sV: _GDK}), - (-1, {_sV: _GDKWP}), - (-1, {_sV: _REF}), - (-1, {_sV: _RET}), - (-1, {_sV: _S}), - (-1, {_sV: _V}), - (-1, {_sV: _GPK}), - (-1, {_sV: _CG}), - (-1, {_sV: _RG}), - (-1, {_sV: _DK}), - (-1, {_sV: _GDKP}), - (-1, {_sV: _GDKPWP}), - (-1, {_sV: _GM}), - (-1, {_sV: _VM}), - (-1, {_sV: _DSS}), - (-1, {_sV: _En}), - (-1, {_sV: _De}), - ), -) - -GRANT_OPERATION_LIST: StaticSchema = (16, n0, _GOL, 0, (_m,), ((GRANT_OPERATION, 0),)) - -CREATE_GRANT_INPUT: StaticSchema = ( - 18, - n0, - _CGI, - {_sSI: _cCGR, _smi: None}, - (_KI, _GP, _RP, _O, _C, _GT, _N, _DR, _GSP, _RSP), - ( - (KEY_ID_TYPE, 1), - (PRINCIPAL_ID_TYPE, 0), - (PRINCIPAL_ID_TYPE, 0), - (GRANT_OPERATION_LIST, 1), - (GRANT_CONSTRAINTS, 0), - (GRANT_TOKEN_LIST, 0), - (GRANT_NAME_TYPE, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - (SERVICE_PRINCIPAL_TYPE, 0), - (SERVICE_PRINCIPAL_TYPE, 0), - ), -) - -GRANT_ID_TYPE: StaticSchema = (3, n0, _GIT, 0) - -CREATE_GRANT_OUTPUT: StaticSchema = ( - 18, - n0, - _CGO, - {_sSI: _cCGRo, _smith: None}, - (_GTr, _GI), - ((GRANT_TOKEN_TYPE, 0), (GRANT_ID_TYPE, 0)), -) - -DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _DE, - { - _s: _c, - _sE: 409, - _aQE: MappingProxyType({"code": "Disabled", "httpResponseCode": 409}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -DRY_RUN_OPERATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _DROE, - { - _s: _c, - _sE: 412, - _aQE: MappingProxyType({"code": "DryRunOperation", "httpResponseCode": 412}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -INVALID_GRANT_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _IGTE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidGrantToken", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CREATE_GRANT: StaticOperationSchema = ( - 23, - n0, - _CG, - 0, - CREATE_GRANT_INPUT, - CREATE_GRANT_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -CUSTOMER_MASTER_KEY_SPEC: StaticSchema = ( - 14, - n0, - _CMKS, - 0, - (_R, _R_, _R__, _ENP, _ENP_, _ENP__, _ESP, _SD, _H, _H_, _H__, _H___, _SM), - ( - (-1, {_sV: _R}), - (-1, {_sV: _R_}), - (-1, {_sV: _R__}), - (-1, {_sV: _ENP}), - (-1, {_sV: _ENP_}), - (-1, {_sV: _ENP__}), - (-1, {_sV: _ESP}), - (-1, {_sV: _SD}), - (-1, {_sV: _H}), - (-1, {_sV: _H_}), - (-1, {_sV: _H__}), - (-1, {_sV: _H___}), - (-1, {_sV: _SM}), - ), -) - -DESCRIPTION_TYPE: StaticSchema = (3, n0, _DTe, 0) - -KEY_SPEC: StaticSchema = ( - 14, - n0, - _KS, - 0, - ( - _R, - _R_, - _R__, - _ENP, - _ENP_, - _ENP__, - _ESP, - _SD, - _H, - _H_, - _H__, - _H___, - _SM, - _MD, - _MD_, - _MD__, - _ENE, - _MK, - _MK_, - _MK__, - ), - ( - (-1, {_sV: _R}), - (-1, {_sV: _R_}), - (-1, {_sV: _R__}), - (-1, {_sV: _ENP}), - (-1, {_sV: _ENP_}), - (-1, {_sV: _ENP__}), - (-1, {_sV: _ESP}), - (-1, {_sV: _SD}), - (-1, {_sV: _H}), - (-1, {_sV: _H_}), - (-1, {_sV: _H__}), - (-1, {_sV: _H___}), - (-1, {_sV: _SM}), - (-1, {_sV: _MD}), - (-1, {_sV: _MD_}), - (-1, {_sV: _MD__}), - (-1, {_sV: _ENE}), - (-1, {_sV: _MK}), - (-1, {_sV: _MK_}), - (-1, {_sV: _MK__}), - ), -) - -KEY_USAGE_TYPE: StaticSchema = ( - 14, - n0, - _KUT, - 0, - (_SV, _ED, _GVM, _KA, _ED_), - ( - (-1, {_sV: _SV}), - (-1, {_sV: _ED}), - (-1, {_sV: _GVM}), - (-1, {_sV: _KA}), - (-1, {_sV: _ED_}), - ), -) - -ORIGIN_TYPE: StaticSchema = ( - 14, - n0, - _OT, - 0, - (_AK, _EXTERNAL, _AC, _EKS), - ((-1, {_sV: _AK}), (-1, {_sV: _EXTERNAL}), (-1, {_sV: _AC}), (-1, {_sV: _EKS})), -) - -POLICY_TYPE: StaticSchema = (3, n0, _PT, 0) - -TAG_KEY_TYPE: StaticSchema = (3, n0, _TKT, 0) - -TAG_VALUE_TYPE: StaticSchema = (3, n0, _TVT, 0) - -TAG: StaticSchema = ( - 18, - n0, - _T, - 0, - (_TK, _TV), - ((TAG_KEY_TYPE, 1), (TAG_VALUE_TYPE, 1)), -) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) - -XKS_KEY_ID_TYPE: StaticSchema = (3, n0, _XKIT, 0) - -CREATE_KEY_INPUT: StaticSchema = ( - 18, - n0, - _CKI, - {_sSI: _cCKR, _smi: None}, - (_P, _Des, _KU, _CMKS, _KS, _Or, _CKSI, _BPLSC, _Ta, _MR, _XKI), - ( - (POLICY_TYPE, 0), - (DESCRIPTION_TYPE, 0), - (KEY_USAGE_TYPE, 0), - (CUSTOMER_MASTER_KEY_SPEC, 0), - (KEY_SPEC, 0), - (ORIGIN_TYPE, 0), - (CUSTOM_KEY_STORE_ID_TYPE, 0), - (BOOLEAN_TYPE, {_sm: False}), - (TAG_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - (XKS_KEY_ID_TYPE, 0), - ), -) - -ENCAPSULATION_ALGORITHM_SPEC: StaticSchema = ( - 14, - n0, - _EAS, - 0, - (_MK___,), - ((-1, {_sV: _MK___}),), -) - -ENCAPSULATION_ALGORITHM_SPEC_LIST: StaticSchema = ( - 16, - n0, - _EASL, - 0, - (_m,), - ((ENCAPSULATION_ALGORITHM_SPEC, 0),), -) - -ENCRYPTION_ALGORITHM_SPEC: StaticSchema = ( - 14, - n0, - _EASn, - 0, - (_SD, _ROS, _ROS_, _SMPKE), - ((-1, {_sV: _SD}), (-1, {_sV: _ROS}), (-1, {_sV: _ROS_}), (-1, {_sV: _SMPKE})), -) - -ENCRYPTION_ALGORITHM_SPEC_LIST: StaticSchema = ( - 16, - n0, - _EASLn, - 0, - (_m,), - ((ENCRYPTION_ALGORITHM_SPEC, 0),), -) - -EXPIRATION_MODEL_TYPE: StaticSchema = ( - 14, - n0, - _EMTx, - 0, - (_KME, _KMDNE), - ((-1, {_sV: _KME}), (-1, {_sV: _KMDNE})), -) - -KEY_AGREEMENT_ALGORITHM_SPEC: StaticSchema = ( - 14, - n0, - _KAAS, - 0, - (_ECDH,), - ((-1, {_sV: _ECDH}),), -) - -KEY_AGREEMENT_ALGORITHM_SPEC_LIST: StaticSchema = ( - 16, - n0, - _KAASL, - 0, - (_m,), - ((KEY_AGREEMENT_ALGORITHM_SPEC, 0),), -) - -KEY_MANAGER_TYPE: StaticSchema = ( - 14, - n0, - _KMT, - 0, - (_AWS, _CUSTOMER), - ((-1, {_sV: _AWS}), (-1, {_sV: _CUSTOMER})), -) - -KEY_STATE: StaticSchema = ( - 14, - n0, - _KSe, - 0, - (_Cr, _Ena, _Di, _PD, _PI, _PRD, _U, _Up), - ( - (-1, {_sV: _Cr}), - (-1, {_sV: _Ena}), - (-1, {_sV: _Di}), - (-1, {_sV: _PD}), - (-1, {_sV: _PI}), - (-1, {_sV: _PRD}), - (-1, {_sV: _U}), - (-1, {_sV: _Up}), - ), -) - -MAC_ALGORITHM_SPEC: StaticSchema = ( - 14, - n0, - _MAS, - 0, - (_HS, _HS_, _HS__, _HS___), - ((-1, {_sV: _HS}), (-1, {_sV: _HS_}), (-1, {_sV: _HS__}), (-1, {_sV: _HS___})), -) - -MAC_ALGORITHM_SPEC_LIST: StaticSchema = ( - 16, - n0, - _MASL, - 0, - (_m,), - ((MAC_ALGORITHM_SPEC, 0),), -) - -MULTI_REGION_KEY_TYPE: StaticSchema = ( - 14, - n0, - _MRKT, - 0, - (_PRIMARY, _REPLICA), - ((-1, {_sV: _PRIMARY}), (-1, {_sV: _REPLICA})), -) - -REGION_TYPE: StaticSchema = (3, n0, _RT, 0) - -MULTI_REGION_KEY: StaticSchema = ( - 18, - n0, - _MRK, - 0, - (_A, _Re), - ((ARN_TYPE, 0), (REGION_TYPE, 0)), -) - -MULTI_REGION_KEY_LIST: StaticSchema = ( - 16, - n0, - _MRKL, - 0, - (_m,), - ((MULTI_REGION_KEY, 0),), -) - -MULTI_REGION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MRC, - 0, - (_MRKT, _PK, _RK), - ((MULTI_REGION_KEY_TYPE, 0), (MULTI_REGION_KEY, 0), (MULTI_REGION_KEY_LIST, 0)), -) - -PENDING_WINDOW_IN_DAYS_TYPE: StaticSchema = (7, n0, _PWIDT, 0) - -SIGNING_ALGORITHM_SPEC: StaticSchema = ( - 14, - n0, - _SAS, - 0, - ( - _RPS, - _RPS_, - _RPS__, - _RPVS, - _RPVS_, - _RPVS__, - _ES, - _ES_, - _ES__, - _SMDSA, - _MDS, - _ES___, - _EPS, - ), - ( - (-1, {_sV: _RPS}), - (-1, {_sV: _RPS_}), - (-1, {_sV: _RPS__}), - (-1, {_sV: _RPVS}), - (-1, {_sV: _RPVS_}), - (-1, {_sV: _RPVS__}), - (-1, {_sV: _ES}), - (-1, {_sV: _ES_}), - (-1, {_sV: _ES__}), - (-1, {_sV: _SMDSA}), - (-1, {_sV: _MDS}), - (-1, {_sV: _ES___}), - (-1, {_sV: _EPS}), - ), -) - -SIGNING_ALGORITHM_SPEC_LIST: StaticSchema = ( - 16, - n0, - _SASL, - 0, - (_m,), - ((SIGNING_ALGORITHM_SPEC, 0),), -) - -XKS_KEY_CONFIGURATION_TYPE: StaticSchema = ( - 18, - n0, - _XKCT, - 0, - (_I,), - ((XKS_KEY_ID_TYPE, 0),), -) - -KEY_METADATA: StaticSchema = ( - 18, - n0, - _KM, - 0, - ( - _AWSAI, - _KI, - _A, - _CD, - _Ena, - _Des, - _KU, - _KSe, - _DD, - _VT, - _Or, - _CKSI, - _CHCI, - _EM, - _KMe, - _CMKS, - _KS, - _EA, - _SAi, - _KAA, - _EAn, - _MR, - _MRC, - _PDWID, - _MA, - _XKC, - _CKMI, - ), - ( - (AWS_ACCOUNT_ID_TYPE, 0), - (KEY_ID_TYPE, 1), - (ARN_TYPE, 0), - (DATE_TYPE, 0), - (BOOLEAN_TYPE, {_sm: False}), - (DESCRIPTION_TYPE, 0), - (KEY_USAGE_TYPE, 0), - (KEY_STATE, 0), - (DATE_TYPE, 0), - (DATE_TYPE, 0), - (ORIGIN_TYPE, 0), - (CUSTOM_KEY_STORE_ID_TYPE, 0), - (CLOUD_HSM_CLUSTER_ID_TYPE, 0), - (EXPIRATION_MODEL_TYPE, 0), - (KEY_MANAGER_TYPE, 0), - (CUSTOMER_MASTER_KEY_SPEC, 0), - (KEY_SPEC, 0), - (ENCRYPTION_ALGORITHM_SPEC_LIST, 0), - (SIGNING_ALGORITHM_SPEC_LIST, 0), - (KEY_AGREEMENT_ALGORITHM_SPEC_LIST, 0), - (ENCAPSULATION_ALGORITHM_SPEC_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - (MULTI_REGION_CONFIGURATION, 0), - (PENDING_WINDOW_IN_DAYS_TYPE, 0), - (MAC_ALGORITHM_SPEC_LIST, 0), - (XKS_KEY_CONFIGURATION_TYPE, 0), - (BACKING_KEY_ID_TYPE, 0), - ), -) - -CREATE_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _CKO, - {_sSI: _cCKRo, _smith: None}, - (_KM,), - ((KEY_METADATA, 0),), -) - -MALFORMED_POLICY_DOCUMENT_EXCEPTION: StaticSchema = ( - 18, - n0, - _MPDE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "MalformedPolicyDocument", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -TAG_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "TagException", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -UNSUPPORTED_OPERATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _UOE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "UnsupportedOperation", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_KEY_ALREADY_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _XKAIUE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "XksKeyAlreadyInUse", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_KEY_INVALID_CONFIGURATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _XKICE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "XksKeyInvalidConfiguration", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_KEY_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _XKNFE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "XksKeyNotFoundException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -CREATE_KEY: StaticOperationSchema = ( - 23, - n0, - _CK, - 0, - CREATE_KEY_INPUT, - CREATE_KEY_OUTPUT, - ( - CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION, - CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, - CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - TAG_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - XKS_KEY_ALREADY_IN_USE_EXCEPTION, - XKS_KEY_INVALID_CONFIGURATION_EXCEPTION, - XKS_KEY_NOT_FOUND_EXCEPTION, - ), -) - -CUSTOM_KEY_STORE_HAS_CM_KS_EXCEPTION: StaticSchema = ( - 18, - n0, - _CKSHCMKE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CustomKeyStoreHasCMKsException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -XKS_PROXY_CONFIGURATION_TYPE: StaticSchema = ( - 18, - n0, - _XPCTk, - 0, - (_Co, _AKI, _UE, _UP, _VESN, _VESO), - ( - (XKS_PROXY_CONNECTIVITY_TYPE, 0), - (XKS_PROXY_AUTHENTICATION_ACCESS_KEY_ID_TYPE, 0), - (XKS_PROXY_URI_ENDPOINT_TYPE, 0), - (XKS_PROXY_URI_PATH_TYPE, 0), - (XKS_PROXY_VPC_ENDPOINT_SERVICE_NAME_TYPE, 0), - (ACCOUNT_ID_TYPE, 0), - ), -) - -CUSTOM_KEY_STORES_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _CKSLE, - 0, - (_CKSI, _CKSN, _CHCI, _TAC, _CS, _CEC, _CD, _CKST, _XPCk), - ( - (CUSTOM_KEY_STORE_ID_TYPE, 0), - (CUSTOM_KEY_STORE_NAME_TYPE, 0), - (CLOUD_HSM_CLUSTER_ID_TYPE, 0), - (TRUST_ANCHOR_CERTIFICATE_TYPE, 0), - (CONNECTION_STATE_TYPE, 0), - (CONNECTION_ERROR_CODE_TYPE, 0), - (DATE_TYPE, 0), - (CUSTOM_KEY_STORE_TYPE, 0), - (XKS_PROXY_CONFIGURATION_TYPE, 0), - ), -) - -CUSTOM_KEY_STORES_LIST: StaticSchema = ( - 16, - n0, - _CKSL, - 0, - (_m,), - ((CUSTOM_KEY_STORES_LIST_ENTRY, 0),), -) - -DATA_KEY_PAIR_SPEC: StaticSchema = ( - 14, - n0, - _DKPS, - 0, - (_R, _R_, _R__, _ENP, _ENP_, _ENP__, _ESP, _SM, _ENE, _MK, _MK_, _MK__), - ( - (-1, {_sV: _R}), - (-1, {_sV: _R_}), - (-1, {_sV: _R__}), - (-1, {_sV: _ENP}), - (-1, {_sV: _ENP_}), - (-1, {_sV: _ENP__}), - (-1, {_sV: _ESP}), - (-1, {_sV: _SM}), - (-1, {_sV: _ENE}), - (-1, {_sV: _MK}), - (-1, {_sV: _MK_}), - (-1, {_sV: _MK__}), - ), -) - -DATA_KEY_SPEC: StaticSchema = ( - 14, - n0, - _DKS, - 0, - (_A_, _A__), - ((-1, {_sV: _A_}), (-1, {_sV: _A__})), -) - -DECAPSULATE_INPUT: StaticSchema = ( - 18, - n0, - _DI, - {_sSI: _cDR, _smi: None}, - (_KI, _SSCB, _EAnc, _GT, _DR), - ( - (KEY_ID_TYPE, 1), - (CIPHERTEXT_TYPE, 1), - (ENCAPSULATION_ALGORITHM_SPEC, 1), - (GRANT_TOKEN_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -PLAINTEXT_TYPE: StaticSchema = (1, n0, _PTl, 4) - -DECAPSULATE_OUTPUT: StaticSchema = ( - 18, - n0, - _DO, - {_sSI: _cDRo, _smith: None}, - (_KI, _SS, _EAnc), - ((KEY_ID_TYPE, 0), (PLAINTEXT_TYPE, 0), (ENCAPSULATION_ALGORITHM_SPEC, 0)), -) - -INVALID_CIPHERTEXT_EXCEPTION: StaticSchema = ( - 18, - n0, - _ICE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidCiphertext", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -INVALID_KEY_USAGE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IKUE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidKeyUsage", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -KEY_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _KUE, - { - _s: _se, - _sE: 500, - _aQE: MappingProxyType({"code": "KeyUnavailable", "httpResponseCode": 500}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -DECAPSULATE: StaticOperationSchema = ( - 23, - n0, - _De, - 0, - DECAPSULATE_INPUT, - DECAPSULATE_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_CIPHERTEXT_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -DRY_RUN_MODIFIER_TYPE: StaticSchema = (14, n0, _DRMT, 0, (_IC_,), ((-1, {_sV: _IC_}),)) - -DRY_RUN_MODIFIER_LIST: StaticSchema = ( - 16, - n0, - _DRML, - 0, - (_m,), - ((DRY_RUN_MODIFIER_TYPE, 0),), -) - -KEY_ENCRYPTION_MECHANISM: StaticSchema = ( - 14, - n0, - _KEM, - 0, - (_ROS_,), - ((-1, {_sV: _ROS_}),), -) - -RECIPIENT_INFO: StaticSchema = ( - 18, - n0, - _RI, - 0, - (_KEA, _AD), - ((KEY_ENCRYPTION_MECHANISM, 0), (ATTESTATION_DOCUMENT_TYPE, 0)), -) - -DECRYPT_INPUT: StaticSchema = ( - 18, - n0, - _DIe, - {_sSI: _cDRom, _smi: None}, - (_CB, _EC, _GT, _KI, _EAncr, _Rec, _DR, _DRM), - ( - (CIPHERTEXT_TYPE, 0), - (ENCRYPTION_CONTEXT_TYPE, 0), - (GRANT_TOKEN_LIST, 0), - (KEY_ID_TYPE, 0), - (ENCRYPTION_ALGORITHM_SPEC, 0), - (RECIPIENT_INFO, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - (DRY_RUN_MODIFIER_LIST, 0), - ), -) - -DECRYPT_OUTPUT: StaticSchema = ( - 18, - n0, - _DOe, - {_sSI: _cDRoma, _smith: None}, - (_KI, _Pl, _EAncr, _CFR, _KMI), - ( - (KEY_ID_TYPE, 0), - (PLAINTEXT_TYPE, 0), - (ENCRYPTION_ALGORITHM_SPEC, 0), - (CIPHERTEXT_TYPE, 0), - (BACKING_KEY_ID_TYPE, 0), - ), -) - -INCORRECT_KEY_EXCEPTION: StaticSchema = ( - 18, - n0, - _IKE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "IncorrectKeyException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -DECRYPT: StaticOperationSchema = ( - 23, - n0, - _D, - 0, - DECRYPT_INPUT, - DECRYPT_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INCORRECT_KEY_EXCEPTION, - INVALID_CIPHERTEXT_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -DELETE_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _DAI, - {_sSI: _cDAR, _smi: None}, - (_AN,), - ((ALIAS_NAME_TYPE, 1),), -) - -DELETE_ALIAS_OUTPUT: StaticSchema = (18, n0, _DAO, {_sSI: _sU, _smith: None}) - -DELETE_ALIAS: StaticOperationSchema = ( - 23, - n0, - _DA, - 0, - DELETE_ALIAS_INPUT, - DELETE_ALIAS_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -DELETE_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( - 18, - n0, - _DCKSI, - {_sSI: _cDCKSR, _smi: None}, - (_CKSI,), - ((CUSTOM_KEY_STORE_ID_TYPE, 1),), -) - -DELETE_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _DCKSO, - {_sSI: _cDCKSRo, _smith: None}, -) - -DELETE_CUSTOM_KEY_STORE: StaticOperationSchema = ( - 23, - n0, - _DCKS, - 0, - DELETE_CUSTOM_KEY_STORE_INPUT, - DELETE_CUSTOM_KEY_STORE_OUTPUT, - ( - CUSTOM_KEY_STORE_HAS_CM_KS_EXCEPTION, - CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, - CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - ), -) - -DELETE_IMPORTED_KEY_MATERIAL_INPUT: StaticSchema = ( - 18, - n0, - _DIKMI, - {_sSI: _cDIKMR, _smi: None}, - (_KI, _KMI), - ((KEY_ID_TYPE, 1), (BACKING_KEY_ID_TYPE, 0)), -) - -DELETE_IMPORTED_KEY_MATERIAL_OUTPUT: StaticSchema = ( - 18, - n0, - _DIKMO, - {_sSI: _cDIKMRo, _smith: None}, - (_KI, _KMI), - ((KEY_ID_TYPE, 0), (BACKING_KEY_ID_RESPONSE_TYPE, 0)), -) - -DELETE_IMPORTED_KEY_MATERIAL: StaticOperationSchema = ( - 23, - n0, - _DIKM, - 0, - DELETE_IMPORTED_KEY_MATERIAL_INPUT, - DELETE_IMPORTED_KEY_MATERIAL_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -PUBLIC_KEY_TYPE: StaticSchema = (1, n0, _PKT, 0) - -DERIVE_SHARED_SECRET_INPUT: StaticSchema = ( - 18, - n0, - _DSSI, - {_sSI: _cDSSR, _smi: None}, - (_KI, _KAAe, _PKu, _GT, _DR, _Rec), - ( - (KEY_ID_TYPE, 1), - (KEY_AGREEMENT_ALGORITHM_SPEC, 1), - (PUBLIC_KEY_TYPE, 1), - (GRANT_TOKEN_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - (RECIPIENT_INFO, 0), - ), -) - -DERIVE_SHARED_SECRET_OUTPUT: StaticSchema = ( - 18, - n0, - _DSSO, - {_sSI: _cDSSRo, _smith: None}, - (_KI, _SS, _CFR, _KAAe, _KO), - ( - (KEY_ID_TYPE, 0), - (PLAINTEXT_TYPE, 0), - (CIPHERTEXT_TYPE, 0), - (KEY_AGREEMENT_ALGORITHM_SPEC, 0), - (ORIGIN_TYPE, 0), - ), -) - -DERIVE_SHARED_SECRET: StaticOperationSchema = ( - 23, - n0, - _DSS, - 0, - DERIVE_SHARED_SECRET_INPUT, - DERIVE_SHARED_SECRET_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -LIMIT_TYPE: StaticSchema = (7, n0, _LT, 0) - -MARKER_TYPE: StaticSchema = (3, n0, _MT, 0) - -DESCRIBE_CUSTOM_KEY_STORES_INPUT: StaticSchema = ( - 18, - n0, - _DCKSIe, - {_sSI: _cDCKSRom, _smi: None}, - (_CKSI, _CKSN, _L, _M), - ( - (CUSTOM_KEY_STORE_ID_TYPE, 0), - (CUSTOM_KEY_STORE_NAME_TYPE, 0), - (LIMIT_TYPE, 0), - (MARKER_TYPE, 0), - ), -) - -DESCRIBE_CUSTOM_KEY_STORES_OUTPUT: StaticSchema = ( - 18, - n0, - _DCKSOe, - {_sSI: _cDCKSRoma, _smith: None}, - (_CKS, _NM, _Tr), - ((CUSTOM_KEY_STORES_LIST, 0), (MARKER_TYPE, 0), (BOOLEAN_TYPE, {_sm: False})), -) - -INVALID_MARKER_EXCEPTION: StaticSchema = ( - 18, - n0, - _IME, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidMarker", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -DESCRIBE_CUSTOM_KEY_STORES: StaticOperationSchema = ( - 23, - n0, - _DCKSe, - 0, - DESCRIBE_CUSTOM_KEY_STORES_INPUT, - DESCRIBE_CUSTOM_KEY_STORES_OUTPUT, - ( - CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, - INVALID_MARKER_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - ), -) - -DESCRIBE_KEY_INPUT: StaticSchema = ( - 18, - n0, - _DKI, - {_sSI: _cDKR, _smi: None}, - (_KI, _GT), - ((KEY_ID_TYPE, 1), (GRANT_TOKEN_LIST, 0)), -) - -DESCRIBE_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _DKO, - {_sSI: _cDKRo, _smith: None}, - (_KM,), - ((KEY_METADATA, 0),), -) - -DESCRIBE_KEY: StaticOperationSchema = ( - 23, - n0, - _DK, - 0, - DESCRIBE_KEY_INPUT, - DESCRIBE_KEY_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -DISABLE_KEY_INPUT: StaticSchema = ( - 18, - n0, - _DKIi, - {_sSI: _cDKRom, _smi: None}, - (_KI,), - ((KEY_ID_TYPE, 1),), -) - -DISABLE_KEY_OUTPUT: StaticSchema = (18, n0, _DKOi, {_sSI: _sU, _smith: None}) - -DISABLE_KEY: StaticOperationSchema = ( - 23, - n0, - _DKi, - 0, - DISABLE_KEY_INPUT, - DISABLE_KEY_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -DISABLE_KEY_ROTATION_INPUT: StaticSchema = ( - 18, - n0, - _DKRI, - {_sSI: _cDKRR, _smi: None}, - (_KI,), - ((KEY_ID_TYPE, 1),), -) - -DISABLE_KEY_ROTATION_OUTPUT: StaticSchema = (18, n0, _DKRO, {_sSI: _sU, _smith: None}) - -DISABLE_KEY_ROTATION: StaticOperationSchema = ( - 23, - n0, - _DKR, - 0, - DISABLE_KEY_ROTATION_INPUT, - DISABLE_KEY_ROTATION_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -DISCONNECT_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( - 18, - n0, - _DCKSIi, - {_sSI: _cDCKSRomam, _smi: None}, - (_CKSI,), - ((CUSTOM_KEY_STORE_ID_TYPE, 1),), -) - -DISCONNECT_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _DCKSOi, - {_sSI: _cDCKSRomama, _smith: None}, -) - -DISCONNECT_CUSTOM_KEY_STORE: StaticOperationSchema = ( - 23, - n0, - _DCKSi, - 0, - DISCONNECT_CUSTOM_KEY_STORE_INPUT, - DISCONNECT_CUSTOM_KEY_STORE_OUTPUT, - ( - CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, - CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - ), -) - -ENABLE_KEY_INPUT: StaticSchema = ( - 18, - n0, - _EKI, - {_sSI: _cEKR, _smi: None}, - (_KI,), - ((KEY_ID_TYPE, 1),), -) - -ENABLE_KEY_OUTPUT: StaticSchema = (18, n0, _EKO, {_sSI: _sU, _smith: None}) - -ENABLE_KEY: StaticOperationSchema = ( - 23, - n0, - _EK, - 0, - ENABLE_KEY_INPUT, - ENABLE_KEY_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -ROTATION_PERIOD_IN_DAYS_TYPE: StaticSchema = (7, n0, _RPIDT, 0) - -ENABLE_KEY_ROTATION_INPUT: StaticSchema = ( - 18, - n0, - _EKRI, - {_sSI: _cEKRR, _smi: None}, - (_KI, _RPID), - ((KEY_ID_TYPE, 1), (ROTATION_PERIOD_IN_DAYS_TYPE, 0)), -) - -ENABLE_KEY_ROTATION_OUTPUT: StaticSchema = (18, n0, _EKRO, {_sSI: _sU, _smith: None}) - -ENABLE_KEY_ROTATION: StaticOperationSchema = ( - 23, - n0, - _EKR, - 0, - ENABLE_KEY_ROTATION_INPUT, - ENABLE_KEY_ROTATION_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -ENCAPSULATE_INPUT: StaticSchema = ( - 18, - n0, - _EI, - {_sSI: _cER, _smi: None}, - (_KI, _EAnc, _GT, _DR), - ( - (KEY_ID_TYPE, 1), - (ENCAPSULATION_ALGORITHM_SPEC, 1), - (GRANT_TOKEN_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -ENCAPSULATE_OUTPUT: StaticSchema = ( - 18, - n0, - _EO, - {_sSI: _cERo, _smith: None}, - (_KI, _SS, _SSCB, _EAnc), - ( - (KEY_ID_TYPE, 0), - (PLAINTEXT_TYPE, 0), - (CIPHERTEXT_TYPE, 0), - (ENCAPSULATION_ALGORITHM_SPEC, 0), - ), -) - -ENCAPSULATE: StaticOperationSchema = ( - 23, - n0, - _En, - 0, - ENCAPSULATE_INPUT, - ENCAPSULATE_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -ENCRYPT_INPUT: StaticSchema = ( - 18, - n0, - _EIn, - {_sSI: _cERom, _smi: None}, - (_KI, _Pl, _EC, _GT, _EAncr, _DR), - ( - (KEY_ID_TYPE, 1), - (PLAINTEXT_TYPE, 1), - (ENCRYPTION_CONTEXT_TYPE, 0), - (GRANT_TOKEN_LIST, 0), - (ENCRYPTION_ALGORITHM_SPEC, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -ENCRYPT_OUTPUT: StaticSchema = ( - 18, - n0, - _EOn, - {_sSI: _cERoma, _smith: None}, - (_CB, _KI, _EAncr), - ((CIPHERTEXT_TYPE, 0), (KEY_ID_TYPE, 0), (ENCRYPTION_ALGORITHM_SPEC, 0)), -) - -ENCRYPT: StaticOperationSchema = ( - 23, - n0, - _E, - 0, - ENCRYPT_INPUT, - ENCRYPT_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -EXPIRED_IMPORT_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _EITE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ExpiredImportTokenException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -NUMBER_OF_BYTES_TYPE: StaticSchema = (7, n0, _NOBT, 0) - -GENERATE_DATA_KEY_INPUT: StaticSchema = ( - 18, - n0, - _GDKI, - {_sSI: _cGDKR, _smi: None}, - (_KI, _EC, _NOB, _KS, _GT, _Rec, _DR), - ( - (KEY_ID_TYPE, 1), - (ENCRYPTION_CONTEXT_TYPE, 0), - (NUMBER_OF_BYTES_TYPE, 0), - (DATA_KEY_SPEC, 0), - (GRANT_TOKEN_LIST, 0), - (RECIPIENT_INFO, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -GENERATE_DATA_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _GDKO, - {_sSI: _cGDKRo, _smith: None}, - (_CB, _Pl, _KI, _CFR, _KMI), - ( - (CIPHERTEXT_TYPE, 0), - (PLAINTEXT_TYPE, 0), - (KEY_ID_TYPE, 0), - (CIPHERTEXT_TYPE, 0), - (BACKING_KEY_ID_TYPE, 0), - ), -) - -GENERATE_DATA_KEY: StaticOperationSchema = ( - 23, - n0, - _GDK, - 0, - GENERATE_DATA_KEY_INPUT, - GENERATE_DATA_KEY_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -GENERATE_DATA_KEY_PAIR_INPUT: StaticSchema = ( - 18, - n0, - _GDKPI, - {_sSI: _cGDKPR, _smi: None}, - (_EC, _KI, _KPS, _GT, _Rec, _DR), - ( - (ENCRYPTION_CONTEXT_TYPE, 0), - (KEY_ID_TYPE, 1), - (DATA_KEY_PAIR_SPEC, 1), - (GRANT_TOKEN_LIST, 0), - (RECIPIENT_INFO, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -GENERATE_DATA_KEY_PAIR_OUTPUT: StaticSchema = ( - 18, - n0, - _GDKPO, - {_sSI: _cGDKPRo, _smith: None}, - (_PKCB, _PKP, _PKu, _KI, _KPS, _CFR, _KMI), - ( - (CIPHERTEXT_TYPE, 0), - (PLAINTEXT_TYPE, 0), - (PUBLIC_KEY_TYPE, 0), - (KEY_ID_TYPE, 0), - (DATA_KEY_PAIR_SPEC, 0), - (CIPHERTEXT_TYPE, 0), - (BACKING_KEY_ID_TYPE, 0), - ), -) - -GENERATE_DATA_KEY_PAIR: StaticOperationSchema = ( - 23, - n0, - _GDKP, - 0, - GENERATE_DATA_KEY_PAIR_INPUT, - GENERATE_DATA_KEY_PAIR_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_INPUT: StaticSchema = ( - 18, - n0, - _GDKPWPI, - {_sSI: _cGDKPWPR, _smi: None}, - (_EC, _KI, _KPS, _GT, _DR), - ( - (ENCRYPTION_CONTEXT_TYPE, 0), - (KEY_ID_TYPE, 1), - (DATA_KEY_PAIR_SPEC, 1), - (GRANT_TOKEN_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_OUTPUT: StaticSchema = ( - 18, - n0, - _GDKPWPO, - {_sSI: _cGDKPWPRo, _smith: None}, - (_PKCB, _PKu, _KI, _KPS, _KMI), - ( - (CIPHERTEXT_TYPE, 0), - (PUBLIC_KEY_TYPE, 0), - (KEY_ID_TYPE, 0), - (DATA_KEY_PAIR_SPEC, 0), - (BACKING_KEY_ID_TYPE, 0), - ), -) - -GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: StaticOperationSchema = ( - 23, - n0, - _GDKPWP, - 0, - GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_INPUT, - GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_INPUT: StaticSchema = ( - 18, - n0, - _GDKWPI, - {_sSI: _cGDKWPR, _smi: None}, - (_KI, _EC, _KS, _NOB, _GT, _DR), - ( - (KEY_ID_TYPE, 1), - (ENCRYPTION_CONTEXT_TYPE, 0), - (DATA_KEY_SPEC, 0), - (NUMBER_OF_BYTES_TYPE, 0), - (GRANT_TOKEN_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_OUTPUT: StaticSchema = ( - 18, - n0, - _GDKWPO, - {_sSI: _cGDKWPRo, _smith: None}, - (_CB, _KI, _KMI), - ((CIPHERTEXT_TYPE, 0), (KEY_ID_TYPE, 0), (BACKING_KEY_ID_TYPE, 0)), -) - -GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: StaticOperationSchema = ( - 23, - n0, - _GDKWP, - 0, - GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_INPUT, - GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -GENERATE_MAC_INPUT: StaticSchema = ( - 18, - n0, - _GMI, - {_sSI: _cGMR, _smi: None}, - (_Me, _KI, _MAa, _GT, _DR), - ( - (PLAINTEXT_TYPE, 1), - (KEY_ID_TYPE, 1), - (MAC_ALGORITHM_SPEC, 1), - (GRANT_TOKEN_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -GENERATE_MAC_OUTPUT: StaticSchema = ( - 18, - n0, - _GMO, - {_sSI: _cGMRo, _smith: None}, - (_Ma, _MAa, _KI), - ((CIPHERTEXT_TYPE, 0), (MAC_ALGORITHM_SPEC, 0), (KEY_ID_TYPE, 0)), -) - -GENERATE_MAC: StaticOperationSchema = ( - 23, - n0, - _GM, - 0, - GENERATE_MAC_INPUT, - GENERATE_MAC_OUTPUT, - ( - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -GENERATE_RANDOM_INPUT: StaticSchema = ( - 18, - n0, - _GRI, - {_sSI: _cGRR, _smi: None}, - (_NOB, _CKSI, _Rec), - ((NUMBER_OF_BYTES_TYPE, 0), (CUSTOM_KEY_STORE_ID_TYPE, 0), (RECIPIENT_INFO, 0)), -) - -GENERATE_RANDOM_OUTPUT: StaticSchema = ( - 18, - n0, - _GRO, - {_sSI: _cGRRo, _smith: None}, - (_Pl, _CFR), - ((PLAINTEXT_TYPE, 0), (CIPHERTEXT_TYPE, 0)), -) - -GENERATE_RANDOM: StaticOperationSchema = ( - 23, - n0, - _GR, - 0, - GENERATE_RANDOM_INPUT, - GENERATE_RANDOM_OUTPUT, - ( - CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, - CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, - DEPENDENCY_TIMEOUT_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_KEY_LAST_USAGE_INPUT: StaticSchema = ( - 18, - n0, - _GKLUI, - {_sSI: _cGKLUR, _smi: None}, - (_KI,), - ((KEY_ID_TYPE, 1),), -) - -KMS_REQUEST_ID_TYPE: StaticSchema = (3, n0, _KRIT, 0) - -KEY_LAST_USAGE_TRACKING_OPERATION: StaticSchema = ( - 14, - n0, - _KLUTO, - 0, - (_D, _DSS, _E, _GDK, _GDKP, _GDKPWP, _GDKWP, _GM, _RE, _S, _V, _VM, _En, _De), - ( - (-1, {_sV: _D}), - (-1, {_sV: _DSS}), - (-1, {_sV: _E}), - (-1, {_sV: _GDK}), - (-1, {_sV: _GDKP}), - (-1, {_sV: _GDKPWP}), - (-1, {_sV: _GDKWP}), - (-1, {_sV: _GM}), - (-1, {_sV: _RE}), - (-1, {_sV: _S}), - (-1, {_sV: _V}), - (-1, {_sV: _VM}), - (-1, {_sV: _En}), - (-1, {_sV: _De}), - ), -) - -KEY_LAST_USAGE_DATA: StaticSchema = ( - 18, - n0, - _KLUD, - 0, - (_Op, _Ti, _CTEI, _KRI), - ( - (KEY_LAST_USAGE_TRACKING_OPERATION, 0), - (DATE_TYPE, 0), - (CLOUD_TRAIL_EVENT_ID_TYPE, 0), - (KMS_REQUEST_ID_TYPE, 0), - ), -) - -GET_KEY_LAST_USAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _GKLUO, - {_sSI: _cGKLURo, _smith: None}, - (_KI, _KLU, _TSD, _KCD), - ((KEY_ID_TYPE, 0), (KEY_LAST_USAGE_DATA, 0), (DATE_TYPE, 0), (DATE_TYPE, 0)), -) - -GET_KEY_LAST_USAGE: StaticOperationSchema = ( - 23, - n0, - _GKLU, - 0, - GET_KEY_LAST_USAGE_INPUT, - GET_KEY_LAST_USAGE_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -POLICY_NAME_TYPE: StaticSchema = (3, n0, _PNT, 0) - -GET_KEY_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GKPI, - {_sSI: _cGKPR, _smi: None}, - (_KI, _PN), - ((KEY_ID_TYPE, 1), (POLICY_NAME_TYPE, 0)), -) - -GET_KEY_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GKPO, - {_sSI: _cGKPRo, _smith: None}, - (_P, _PN), - ((POLICY_TYPE, 0), (POLICY_NAME_TYPE, 0)), -) - -GET_KEY_POLICY: StaticOperationSchema = ( - 23, - n0, - _GKP, - 0, - GET_KEY_POLICY_INPUT, - GET_KEY_POLICY_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -GET_KEY_ROTATION_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _GKRSI, - {_sSI: _cGKRSR, _smi: None}, - (_KI,), - ((KEY_ID_TYPE, 1),), -) - -GET_KEY_ROTATION_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _GKRSO, - {_sSI: _cGKRSRo, _smith: None}, - (_KRE, _KI, _RPID, _NRD, _ODRSD), - ( - (BOOLEAN_TYPE, {_sm: False}), - (KEY_ID_TYPE, 0), - (ROTATION_PERIOD_IN_DAYS_TYPE, 0), - (DATE_TYPE, 0), - (DATE_TYPE, 0), - ), -) - -GET_KEY_ROTATION_STATUS: StaticOperationSchema = ( - 23, - n0, - _GKRS, - 0, - GET_KEY_ROTATION_STATUS_INPUT, - GET_KEY_ROTATION_STATUS_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -WRAPPING_KEY_SPEC: StaticSchema = ( - 14, - n0, - _WKS, - 0, - (_R, _R_, _R__, _SM), - ((-1, {_sV: _R}), (-1, {_sV: _R_}), (-1, {_sV: _R__}), (-1, {_sV: _SM})), -) - -GET_PARAMETERS_FOR_IMPORT_INPUT: StaticSchema = ( - 18, - n0, - _GPFII, - {_sSI: _cGPFIR, _smi: None}, - (_KI, _WA, _WKS), - ((KEY_ID_TYPE, 1), (ALGORITHM_SPEC, 1), (WRAPPING_KEY_SPEC, 1)), -) - -GET_PARAMETERS_FOR_IMPORT_OUTPUT: StaticSchema = ( - 18, - n0, - _GPFIO, - {_sSI: _cGPFIRo, _smith: None}, - (_KI, _IT, _PKu, _PVT), - ((KEY_ID_TYPE, 0), (CIPHERTEXT_TYPE, 0), (PLAINTEXT_TYPE, 0), (DATE_TYPE, 0)), -) - -GET_PARAMETERS_FOR_IMPORT: StaticOperationSchema = ( - 23, - n0, - _GPFI, - 0, - GET_PARAMETERS_FOR_IMPORT_INPUT, - GET_PARAMETERS_FOR_IMPORT_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GET_PUBLIC_KEY_INPUT: StaticSchema = ( - 18, - n0, - _GPKI, - {_sSI: _cGPKR, _smi: None}, - (_KI, _GT), - ((KEY_ID_TYPE, 1), (GRANT_TOKEN_LIST, 0)), -) - -GET_PUBLIC_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _GPKO, - {_sSI: _cGPKRo, _smith: None}, - (_KI, _PKu, _CMKS, _KS, _KU, _EA, _SAi, _KAA, _EAn), - ( - (KEY_ID_TYPE, 0), - (PUBLIC_KEY_TYPE, 0), - (CUSTOMER_MASTER_KEY_SPEC, 0), - (KEY_SPEC, 0), - (KEY_USAGE_TYPE, 0), - (ENCRYPTION_ALGORITHM_SPEC_LIST, 0), - (SIGNING_ALGORITHM_SPEC_LIST, 0), - (KEY_AGREEMENT_ALGORITHM_SPEC_LIST, 0), - (ENCAPSULATION_ALGORITHM_SPEC_LIST, 0), - ), -) - -GET_PUBLIC_KEY: StaticOperationSchema = ( - 23, - n0, - _GPK, - 0, - GET_PUBLIC_KEY_INPUT, - GET_PUBLIC_KEY_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -GRANT_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _GLE, - 0, - (_KI, _GI, _N, _CD, _GP, _RP, _IA, _O, _C, _GSP, _RSP), - ( - (KEY_ID_TYPE, 0), - (GRANT_ID_TYPE, 0), - (GRANT_NAME_TYPE, 0), - (DATE_TYPE, 0), - (PRINCIPAL_ID_TYPE, 0), - (PRINCIPAL_ID_TYPE, 0), - (PRINCIPAL_ID_TYPE, 0), - (GRANT_OPERATION_LIST, 0), - (GRANT_CONSTRAINTS, 0), - (SERVICE_PRINCIPAL_TYPE, 0), - (SERVICE_PRINCIPAL_TYPE, 0), - ), -) - -GRANT_LIST: StaticSchema = (16, n0, _GL, 0, (_m,), ((GRANT_LIST_ENTRY, 0),)) - -IMPORT_TYPE: StaticSchema = ( - 14, - n0, - _ITm, - 0, - (_NKM, _EKM), - ((-1, {_sV: _NKM}), (-1, {_sV: _EKM})), -) - -KEY_MATERIAL_DESCRIPTION_TYPE: StaticSchema = (3, n0, _KMDT, 0) - -IMPORT_KEY_MATERIAL_INPUT: StaticSchema = ( - 18, - n0, - _IKMI, - {_sSI: _cIKMR, _smi: None}, - (_KI, _IT, _EKMn, _VT, _EM, _ITm, _KMD, _KMI), - ( - (KEY_ID_TYPE, 1), - (CIPHERTEXT_TYPE, 1), - (CIPHERTEXT_TYPE, 1), - (DATE_TYPE, 0), - (EXPIRATION_MODEL_TYPE, 0), - (IMPORT_TYPE, 0), - (KEY_MATERIAL_DESCRIPTION_TYPE, 0), - (BACKING_KEY_ID_TYPE, 0), - ), -) - -IMPORT_KEY_MATERIAL_OUTPUT: StaticSchema = ( - 18, - n0, - _IKMO, - {_sSI: _cIKMRo, _smith: None}, - (_KI, _KMI), - ((KEY_ID_TYPE, 0), (BACKING_KEY_ID_TYPE, 0)), -) - -INCORRECT_KEY_MATERIAL_EXCEPTION: StaticSchema = ( - 18, - n0, - _IKME, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "IncorrectKeyMaterialException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -INVALID_IMPORT_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _IITE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidImportTokenException", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -IMPORT_KEY_MATERIAL: StaticOperationSchema = ( - 23, - n0, - _IKM, - 0, - IMPORT_KEY_MATERIAL_INPUT, - IMPORT_KEY_MATERIAL_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - EXPIRED_IMPORT_TOKEN_EXCEPTION, - INCORRECT_KEY_MATERIAL_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_CIPHERTEXT_EXCEPTION, - INVALID_IMPORT_TOKEN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -IMPORT_STATE: StaticSchema = ( - 14, - n0, - _IS, - 0, - (_IMPORTED, _PI_), - ((-1, {_sV: _IMPORTED}), (-1, {_sV: _PI_})), -) - -INCLUDE_KEY_MATERIAL: StaticSchema = ( - 14, - n0, - _IKMn, - 0, - (_AKM, _RO), - ((-1, {_sV: _AKM}), (-1, {_sV: _RO})), -) - -INVALID_GRANT_ID_EXCEPTION: StaticSchema = ( - 18, - n0, - _IGIE, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidGrantId", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -KEY_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _KLE, - 0, - (_KI, _KAe), - ((KEY_ID_TYPE, 0), (ARN_TYPE, 0)), -) - -KEY_LIST: StaticSchema = (16, n0, _KL, 0, (_m,), ((KEY_LIST_ENTRY, 0),)) - -KEY_MATERIAL_STATE: StaticSchema = ( - 14, - n0, - _KMS, - 0, - (_NC, _CURRENT, _PR, _PMRIAR), - ((-1, {_sV: _NC}), (-1, {_sV: _CURRENT}), (-1, {_sV: _PR}), (-1, {_sV: _PMRIAR})), -) - -KMS_INVALID_MAC_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSIME, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KMSInvalidMac", "httpResponseCode": 400}), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -KMS_INVALID_SIGNATURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSISEn, - { - _s: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "KMSInvalidSignature", "httpResponseCode": 400} - ), - }, - (_me,), - ((ERROR_MESSAGE_TYPE, 0),), -) - -LIST_ALIASES_INPUT: StaticSchema = ( - 18, - n0, - _LAI, - {_sSI: _cLAR, _smi: None}, - (_KI, _L, _M), - ((KEY_ID_TYPE, 0), (LIMIT_TYPE, 0), (MARKER_TYPE, 0)), -) - -LIST_ALIASES_OUTPUT: StaticSchema = ( - 18, - n0, - _LAO, - {_sSI: _cLARo, _smith: None}, - (_Al, _NM, _Tr), - ((ALIAS_LIST, 0), (MARKER_TYPE, 0), (BOOLEAN_TYPE, {_sm: False})), -) - -LIST_ALIASES: StaticOperationSchema = ( - 23, - n0, - _LA, - 0, - LIST_ALIASES_INPUT, - LIST_ALIASES_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_MARKER_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -LIST_GRANTS_INPUT: StaticSchema = ( - 18, - n0, - _LGI, - {_sSI: _cLGR, _smi: None}, - (_L, _M, _KI, _GI, _GP, _GSP), - ( - (LIMIT_TYPE, 0), - (MARKER_TYPE, 0), - (KEY_ID_TYPE, 1), - (GRANT_ID_TYPE, 0), - (PRINCIPAL_ID_TYPE, 0), - (SERVICE_PRINCIPAL_TYPE, 0), - ), -) - -LIST_GRANTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LGO, - {_sSI: _cLGRo, _smith: None}, - (_G, _NM, _Tr), - ((GRANT_LIST, 0), (MARKER_TYPE, 0), (BOOLEAN_TYPE, {_sm: False})), -) - -LIST_GRANTS: StaticOperationSchema = ( - 23, - n0, - _LG, - 0, - LIST_GRANTS_INPUT, - LIST_GRANTS_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_GRANT_ID_EXCEPTION, - INVALID_MARKER_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -LIST_KEY_POLICIES_INPUT: StaticSchema = ( - 18, - n0, - _LKPI, - {_sSI: _cLKPR, _smi: None}, - (_KI, _L, _M), - ((KEY_ID_TYPE, 1), (LIMIT_TYPE, 0), (MARKER_TYPE, 0)), -) - -POLICY_NAME_LIST: StaticSchema = (16, n0, _PNL, 0, (_m,), ((POLICY_NAME_TYPE, 0),)) - -LIST_KEY_POLICIES_OUTPUT: StaticSchema = ( - 18, - n0, - _LKPO, - {_sSI: _cLKPRo, _smith: None}, - (_PNo, _NM, _Tr), - ((POLICY_NAME_LIST, 0), (MARKER_TYPE, 0), (BOOLEAN_TYPE, {_sm: False})), -) - -LIST_KEY_POLICIES: StaticOperationSchema = ( - 23, - n0, - _LKP, - 0, - LIST_KEY_POLICIES_INPUT, - LIST_KEY_POLICIES_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -LIST_KEY_ROTATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LKRI, - {_sSI: _cLKRR, _smi: None}, - (_KI, _IKMn, _L, _M), - ((KEY_ID_TYPE, 1), (INCLUDE_KEY_MATERIAL, 0), (LIMIT_TYPE, 0), (MARKER_TYPE, 0)), -) - -ROTATION_TYPE: StaticSchema = ( - 14, - n0, - _RTo, - 0, - (_AUTOMATIC, _OD), - ((-1, {_sV: _AUTOMATIC}), (-1, {_sV: _OD})), -) - -ROTATIONS_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _RLE, - 0, - (_KI, _KMI, _KMD, _IS, _KMS, _EM, _VT, _RD, _RTo), - ( - (KEY_ID_TYPE, 0), - (BACKING_KEY_ID_TYPE, 0), - (KEY_MATERIAL_DESCRIPTION_TYPE, 0), - (IMPORT_STATE, 0), - (KEY_MATERIAL_STATE, 0), - (EXPIRATION_MODEL_TYPE, 0), - (DATE_TYPE, 0), - (DATE_TYPE, 0), - (ROTATION_TYPE, 0), - ), -) - -ROTATIONS_LIST: StaticSchema = (16, n0, _RL, 0, (_m,), ((ROTATIONS_LIST_ENTRY, 0),)) - -LIST_KEY_ROTATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LKRO, - {_sSI: _cLKRRo, _smith: None}, - (_Ro, _NM, _Tr), - ((ROTATIONS_LIST, 0), (MARKER_TYPE, 0), (BOOLEAN_TYPE, {_sm: False})), -) - -LIST_KEY_ROTATIONS: StaticOperationSchema = ( - 23, - n0, - _LKR, - 0, - LIST_KEY_ROTATIONS_INPUT, - LIST_KEY_ROTATIONS_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - INVALID_MARKER_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -LIST_KEYS_INPUT: StaticSchema = ( - 18, - n0, - _LKI, - {_sSI: _cLKR, _smi: None}, - (_L, _M), - ((LIMIT_TYPE, 0), (MARKER_TYPE, 0)), -) - -LIST_KEYS_OUTPUT: StaticSchema = ( - 18, - n0, - _LKO, - {_sSI: _cLKRo, _smith: None}, - (_K, _NM, _Tr), - ((KEY_LIST, 0), (MARKER_TYPE, 0), (BOOLEAN_TYPE, {_sm: False})), -) - -LIST_KEYS: StaticOperationSchema = ( - 23, - n0, - _LK, - 0, - LIST_KEYS_INPUT, - LIST_KEYS_OUTPUT, - (DEPENDENCY_TIMEOUT_EXCEPTION, INVALID_MARKER_EXCEPTION, KMS_INTERNAL_EXCEPTION), -) - -LIST_RESOURCE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LRTI, - {_sSI: _cLRTR, _smi: None}, - (_KI, _L, _M), - ((KEY_ID_TYPE, 1), (LIMIT_TYPE, 0), (MARKER_TYPE, 0)), -) - -LIST_RESOURCE_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRTO, - {_sSI: _cLRTRo, _smith: None}, - (_Ta, _NM, _Tr), - ((TAG_LIST, 0), (MARKER_TYPE, 0), (BOOLEAN_TYPE, {_sm: False})), -) - -LIST_RESOURCE_TAGS: StaticOperationSchema = ( - 23, - n0, - _LRT, - 0, - LIST_RESOURCE_TAGS_INPUT, - LIST_RESOURCE_TAGS_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - INVALID_MARKER_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -LIST_RETIRABLE_GRANTS_INPUT: StaticSchema = ( - 18, - n0, - _LRGI, - {_sSI: _cLRGR, _smi: None}, - (_L, _M, _RP, _RSP), - ( - (LIMIT_TYPE, 0), - (MARKER_TYPE, 0), - (PRINCIPAL_ID_TYPE, 0), - (SERVICE_PRINCIPAL_TYPE, 0), - ), -) - -LIST_RETIRABLE_GRANTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRGO, - {_sSI: _cLGRo, _smith: None}, - (_G, _NM, _Tr), - ((GRANT_LIST, 0), (MARKER_TYPE, 0), (BOOLEAN_TYPE, {_sm: False})), -) - -LIST_RETIRABLE_GRANTS: StaticOperationSchema = ( - 23, - n0, - _LRG, - 0, - LIST_RETIRABLE_GRANTS_INPUT, - LIST_RETIRABLE_GRANTS_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_MARKER_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -MESSAGE_TYPE: StaticSchema = ( - 14, - n0, - _MTe, - 0, - (_RAW, _DIGEST, _EM_), - ((-1, {_sV: _RAW}), (-1, {_sV: _DIGEST}), (-1, {_sV: _EM_})), -) - -PUT_KEY_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PKPI, - {_sSI: _cPKPR, _smi: None}, - (_KI, _PN, _P, _BPLSC), - ( - (KEY_ID_TYPE, 1), - (POLICY_NAME_TYPE, 0), - (POLICY_TYPE, 1), - (BOOLEAN_TYPE, {_sm: False}), - ), -) - -PUT_KEY_POLICY_OUTPUT: StaticSchema = (18, n0, _PKPO, {_sSI: _sU, _smith: None}) - -PUT_KEY_POLICY: StaticOperationSchema = ( - 23, - n0, - _PKPu, - 0, - PUT_KEY_POLICY_INPUT, - PUT_KEY_POLICY_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -RE_ENCRYPT_INPUT: StaticSchema = ( - 18, - n0, - _REI, - {_sSI: _cRER, _smi: None}, - (_CB, _SEC, _SKI, _DKIe, _DEC, _SEA, _DEA, _GT, _DR, _DRM), - ( - (CIPHERTEXT_TYPE, 0), - (ENCRYPTION_CONTEXT_TYPE, 0), - (KEY_ID_TYPE, 0), - (KEY_ID_TYPE, 1), - (ENCRYPTION_CONTEXT_TYPE, 0), - (ENCRYPTION_ALGORITHM_SPEC, 0), - (ENCRYPTION_ALGORITHM_SPEC, 0), - (GRANT_TOKEN_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - (DRY_RUN_MODIFIER_LIST, 0), - ), -) - -RE_ENCRYPT_OUTPUT: StaticSchema = ( - 18, - n0, - _REO, - {_sSI: _cRERo, _smith: None}, - (_CB, _SKI, _KI, _SEA, _DEA, _SKMI, _DKMI), - ( - (CIPHERTEXT_TYPE, 0), - (KEY_ID_TYPE, 0), - (KEY_ID_TYPE, 0), - (ENCRYPTION_ALGORITHM_SPEC, 0), - (ENCRYPTION_ALGORITHM_SPEC, 0), - (BACKING_KEY_ID_TYPE, 0), - (BACKING_KEY_ID_TYPE, 0), - ), -) - -RE_ENCRYPT: StaticOperationSchema = ( - 23, - n0, - _RE, - 0, - RE_ENCRYPT_INPUT, - RE_ENCRYPT_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INCORRECT_KEY_EXCEPTION, - INVALID_CIPHERTEXT_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -REPLICATE_KEY_INPUT: StaticSchema = ( - 18, - n0, - _RKI, - {_sSI: _cRKR, _smi: None}, - (_KI, _RR, _P, _BPLSC, _Des, _Ta), - ( - (KEY_ID_TYPE, 1), - (REGION_TYPE, 1), - (POLICY_TYPE, 0), - (BOOLEAN_TYPE, {_sm: False}), - (DESCRIPTION_TYPE, 0), - (TAG_LIST, 0), - ), -) - -REPLICATE_KEY_OUTPUT: StaticSchema = ( - 18, - n0, - _RKO, - {_sSI: _cRKRo, _smith: None}, - (_RKM, _RPe, _RTe), - ((KEY_METADATA, 0), (POLICY_TYPE, 0), (TAG_LIST, 0)), -) - -REPLICATE_KEY: StaticOperationSchema = ( - 23, - n0, - _RKe, - 0, - REPLICATE_KEY_INPUT, - REPLICATE_KEY_OUTPUT, - ( - ALREADY_EXISTS_EXCEPTION, - DISABLED_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - NOT_FOUND_EXCEPTION, - TAG_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -RETIRE_GRANT_INPUT: StaticSchema = ( - 18, - n0, - _RGI, - {_sSI: _cRGR, _smi: None}, - (_GTr, _KI, _GI, _DR), - ( - (GRANT_TOKEN_TYPE, 0), - (KEY_ID_TYPE, 0), - (GRANT_ID_TYPE, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -RETIRE_GRANT_OUTPUT: StaticSchema = (18, n0, _RGO, {_sSI: _sU, _smith: None}) - -RETIRE_GRANT: StaticOperationSchema = ( - 23, - n0, - _RG, - 0, - RETIRE_GRANT_INPUT, - RETIRE_GRANT_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_GRANT_ID_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -REVOKE_GRANT_INPUT: StaticSchema = ( - 18, - n0, - _RGIe, - {_sSI: _cRGRo, _smi: None}, - (_KI, _GI, _DR), - ((KEY_ID_TYPE, 1), (GRANT_ID_TYPE, 1), (NULLABLE_BOOLEAN_TYPE, 0)), -) - -REVOKE_GRANT_OUTPUT: StaticSchema = (18, n0, _RGOe, {_sSI: _sU, _smith: None}) - -REVOKE_GRANT: StaticOperationSchema = ( - 23, - n0, - _RGe, - 0, - REVOKE_GRANT_INPUT, - REVOKE_GRANT_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_ARN_EXCEPTION, - INVALID_GRANT_ID_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -ROTATE_KEY_ON_DEMAND_INPUT: StaticSchema = ( - 18, - n0, - _RKODI, - {_sSI: _cRKODR, _smi: None}, - (_KI,), - ((KEY_ID_TYPE, 1),), -) - -ROTATE_KEY_ON_DEMAND_OUTPUT: StaticSchema = ( - 18, - n0, - _RKODO, - {_sSI: _cRKODRo, _smith: None}, - (_KI,), - ((KEY_ID_TYPE, 0),), -) - -ROTATE_KEY_ON_DEMAND: StaticOperationSchema = ( - 23, - n0, - _RKOD, - 0, - ROTATE_KEY_ON_DEMAND_INPUT, - ROTATE_KEY_ON_DEMAND_OUTPUT, - ( - CONFLICT_EXCEPTION, - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -SCHEDULE_KEY_DELETION_INPUT: StaticSchema = ( - 18, - n0, - _SKDI, - {_sSI: _cSKDR, _smi: None}, - (_KI, _PWID), - ((KEY_ID_TYPE, 1), (PENDING_WINDOW_IN_DAYS_TYPE, 0)), -) - -SCHEDULE_KEY_DELETION_OUTPUT: StaticSchema = ( - 18, - n0, - _SKDO, - {_sSI: _cSKDRo, _smith: None}, - (_KI, _DD, _KSe, _PWID), - ( - (KEY_ID_TYPE, 0), - (DATE_TYPE, 0), - (KEY_STATE, 0), - (PENDING_WINDOW_IN_DAYS_TYPE, 0), - ), -) - -SCHEDULE_KEY_DELETION: StaticOperationSchema = ( - 23, - n0, - _SKD, - 0, - SCHEDULE_KEY_DELETION_INPUT, - SCHEDULE_KEY_DELETION_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -SIGN_INPUT: StaticSchema = ( - 18, - n0, - _SI, - {_sSI: _cSR, _smi: None}, - (_KI, _Me, _MTe, _GT, _SAig, _DR), - ( - (KEY_ID_TYPE, 1), - (PLAINTEXT_TYPE, 1), - (MESSAGE_TYPE, 0), - (GRANT_TOKEN_LIST, 0), - (SIGNING_ALGORITHM_SPEC, 1), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -SIGN_OUTPUT: StaticSchema = ( - 18, - n0, - _SO, - {_sSI: _cSRo, _smith: None}, - (_KI, _Si, _SAig), - ((KEY_ID_TYPE, 0), (CIPHERTEXT_TYPE, 0), (SIGNING_ALGORITHM_SPEC, 0)), -) - -SIGN: StaticOperationSchema = ( - 23, - n0, - _S, - 0, - SIGN_INPUT, - SIGN_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_m,), ((TAG_KEY_TYPE, 0),)) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smi: None}, - (_KI, _Ta), - ((KEY_ID_TYPE, 1), (TAG_LIST, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smith: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - 0, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - TAG_EXCEPTION, - ), -) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _smi: None}, - (_KI, _TKa), - ((KEY_ID_TYPE, 1), (TAG_KEY_LIST, 1)), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smith: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - 0, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - TAG_EXCEPTION, - ), -) - -UPDATE_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _UAI, - {_sSI: _cUAR, _smi: None}, - (_AN, _TKI), - ((ALIAS_NAME_TYPE, 1), (KEY_ID_TYPE, 1)), -) - -UPDATE_ALIAS_OUTPUT: StaticSchema = (18, n0, _UAO, {_sSI: _sU, _smith: None}) - -UPDATE_ALIAS: StaticOperationSchema = ( - 23, - n0, - _UA, - 0, - UPDATE_ALIAS_INPUT, - UPDATE_ALIAS_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( - 18, - n0, - _UCKSI, - {_sSI: _cUCKSR, _smi: None}, - (_CKSI, _NCKSN, _KSP, _CHCI, _XPUE, _XPUP, _XPVESN, _XPVESO, _XPAC, _XPC), - ( - (CUSTOM_KEY_STORE_ID_TYPE, 1), - (CUSTOM_KEY_STORE_NAME_TYPE, 0), - (KEY_STORE_PASSWORD_TYPE, 0), - (CLOUD_HSM_CLUSTER_ID_TYPE, 0), - (XKS_PROXY_URI_ENDPOINT_TYPE, 0), - (XKS_PROXY_URI_PATH_TYPE, 0), - (XKS_PROXY_VPC_ENDPOINT_SERVICE_NAME_TYPE, 0), - (ACCOUNT_ID_TYPE, 0), - (XKS_PROXY_AUTHENTICATION_CREDENTIAL_TYPE, 0), - (XKS_PROXY_CONNECTIVITY_TYPE, 0), - ), -) - -UPDATE_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( - 18, - n0, - _UCKSO, - {_sSI: _cUCKSRo, _smith: None}, -) - -UPDATE_CUSTOM_KEY_STORE: StaticOperationSchema = ( - 23, - n0, - _UCKS, - 0, - UPDATE_CUSTOM_KEY_STORE_INPUT, - UPDATE_CUSTOM_KEY_STORE_OUTPUT, - ( - CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION, - CLOUD_HSM_CLUSTER_NOT_ACTIVE_EXCEPTION, - CLOUD_HSM_CLUSTER_NOT_FOUND_EXCEPTION, - CLOUD_HSM_CLUSTER_NOT_RELATED_EXCEPTION, - CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, - CUSTOM_KEY_STORE_NAME_IN_USE_EXCEPTION, - CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - XKS_PROXY_INCORRECT_AUTHENTICATION_CREDENTIAL_EXCEPTION, - XKS_PROXY_INVALID_CONFIGURATION_EXCEPTION, - XKS_PROXY_INVALID_RESPONSE_EXCEPTION, - XKS_PROXY_URI_ENDPOINT_IN_USE_EXCEPTION, - XKS_PROXY_URI_IN_USE_EXCEPTION, - XKS_PROXY_URI_UNREACHABLE_EXCEPTION, - XKS_PROXY_VPC_ENDPOINT_SERVICE_IN_USE_EXCEPTION, - XKS_PROXY_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION_EXCEPTION, - XKS_PROXY_VPC_ENDPOINT_SERVICE_NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_KEY_DESCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _UKDI, - {_sSI: _cUKDR, _smi: None}, - (_KI, _Des), - ((KEY_ID_TYPE, 1), (DESCRIPTION_TYPE, 1)), -) - -UPDATE_KEY_DESCRIPTION_OUTPUT: StaticSchema = (18, n0, _UKDO, {_sSI: _sU, _smith: None}) - -UPDATE_KEY_DESCRIPTION: StaticOperationSchema = ( - 23, - n0, - _UKD, - 0, - UPDATE_KEY_DESCRIPTION_INPUT, - UPDATE_KEY_DESCRIPTION_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_PRIMARY_REGION_INPUT: StaticSchema = ( - 18, - n0, - _UPRI, - {_sSI: _cUPRR, _smi: None}, - (_KI, _PRr), - ((KEY_ID_TYPE, 1), (REGION_TYPE, 1)), -) - -UPDATE_PRIMARY_REGION_OUTPUT: StaticSchema = (18, n0, _UPRO, {_sSI: _sU, _smith: None}) - -UPDATE_PRIMARY_REGION: StaticOperationSchema = ( - 23, - n0, - _UPR, - 0, - UPDATE_PRIMARY_REGION_INPUT, - UPDATE_PRIMARY_REGION_OUTPUT, - ( - DISABLED_EXCEPTION, - INVALID_ARN_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION_EXCEPTION, - ), -) - -VERIFY_INPUT: StaticSchema = ( - 18, - n0, - _VI, - {_sSI: _cVR, _smi: None}, - (_KI, _Me, _MTe, _Si, _SAig, _GT, _DR), - ( - (KEY_ID_TYPE, 1), - (PLAINTEXT_TYPE, 1), - (MESSAGE_TYPE, 0), - (CIPHERTEXT_TYPE, 1), - (SIGNING_ALGORITHM_SPEC, 1), - (GRANT_TOKEN_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -VERIFY_OUTPUT: StaticSchema = ( - 18, - n0, - _VO, - {_sSI: _cVRo, _smith: None}, - (_KI, _SVi, _SAig), - ((KEY_ID_TYPE, 0), (BOOLEAN_TYPE, {_sm: False}), (SIGNING_ALGORITHM_SPEC, 0)), -) - -VERIFY: StaticOperationSchema = ( - 23, - n0, - _V, - 0, - VERIFY_INPUT, - VERIFY_OUTPUT, - ( - DEPENDENCY_TIMEOUT_EXCEPTION, - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_SIGNATURE_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -VERIFY_MAC_INPUT: StaticSchema = ( - 18, - n0, - _VMI, - {_sSI: _cVMR, _smi: None}, - (_Me, _KI, _MAa, _Ma, _GT, _DR), - ( - (PLAINTEXT_TYPE, 1), - (KEY_ID_TYPE, 1), - (MAC_ALGORITHM_SPEC, 1), - (CIPHERTEXT_TYPE, 1), - (GRANT_TOKEN_LIST, 0), - (NULLABLE_BOOLEAN_TYPE, 0), - ), -) - -VERIFY_MAC_OUTPUT: StaticSchema = ( - 18, - n0, - _VMO, - {_sSI: _cVMRo, _smith: None}, - (_KI, _MV, _MAa), - ((KEY_ID_TYPE, 0), (BOOLEAN_TYPE, {_sm: False}), (MAC_ALGORITHM_SPEC, 0)), -) - -VERIFY_MAC: StaticOperationSchema = ( - 23, - n0, - _VM, - 0, - VERIFY_MAC_INPUT, - VERIFY_MAC_OUTPUT, - ( - DISABLED_EXCEPTION, - DRY_RUN_OPERATION_EXCEPTION, - INVALID_GRANT_TOKEN_EXCEPTION, - INVALID_KEY_USAGE_EXCEPTION, - KEY_UNAVAILABLE_EXCEPTION, - KMS_INTERNAL_EXCEPTION, - KMS_INVALID_MAC_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -TRENT_SERVICE: StaticSchema = ( - 21, - n0, - _TS, - { - _a: MappingProxyType({"name": "kms"}), - _a_: None, - _aw: MappingProxyType( - { - "sdkId": "KMS", - "arnNamespace": "kms", - "cloudFormationName": "KMS", - "cloudTrailEventSource": "kms.amazonaws.com", - "endpointPrefix": "kms", - } - ), - _sN: MappingProxyType({"uri": "https://trent.amazonaws.com/doc/2014-11-01/"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ACCOUNT_ID_TYPE", + "ALGORITHM_SPEC", + "ARN_TYPE", + "ALIAS_NAME_TYPE", + "DATE_TYPE", + "KEY_ID_TYPE", + "ALIAS_LIST_ENTRY", + "ALIAS_LIST", + "ERROR_MESSAGE_TYPE", + "ALREADY_EXISTS_EXCEPTION", + "ATTESTATION_DOCUMENT_TYPE", + "AWS_ACCOUNT_ID_TYPE", + "BACKING_KEY_ID_RESPONSE_TYPE", + "BACKING_KEY_ID_TYPE", + "BOOLEAN_TYPE", + "CANCEL_KEY_DELETION_INPUT", + "CANCEL_KEY_DELETION_OUTPUT", + "CANCEL_KEY_DELETION", + "DEPENDENCY_TIMEOUT_EXCEPTION", + "INVALID_ARN_EXCEPTION", + "KMS_INTERNAL_EXCEPTION", + "KMS_INVALID_STATE_EXCEPTION", + "NOT_FOUND_EXCEPTION", + "CIPHERTEXT_TYPE", + "CLOUD_HSM_CLUSTER_ID_TYPE", + "CLOUD_HSM_CLUSTER_IN_USE_EXCEPTION", + "CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION", + "CLOUD_HSM_CLUSTER_NOT_ACTIVE_EXCEPTION", + "CLOUD_HSM_CLUSTER_NOT_FOUND_EXCEPTION", + "CLOUD_HSM_CLUSTER_NOT_RELATED_EXCEPTION", + "CLOUD_TRAIL_EVENT_ID_TYPE", + "CONFLICT_EXCEPTION", + "CUSTOM_KEY_STORE_ID_TYPE", + "CONNECT_CUSTOM_KEY_STORE_INPUT", + "CONNECT_CUSTOM_KEY_STORE_OUTPUT", + "CONNECT_CUSTOM_KEY_STORE", + "CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION", + "CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION", + "CONNECTION_ERROR_CODE_TYPE", + "CONNECTION_STATE_TYPE", + "CREATE_ALIAS_INPUT", + "CREATE_ALIAS_OUTPUT", + "CREATE_ALIAS", + "INVALID_ALIAS_NAME_EXCEPTION", + "LIMIT_EXCEEDED_EXCEPTION", + "CUSTOM_KEY_STORE_NAME_TYPE", + "CUSTOM_KEY_STORE_TYPE", + "KEY_STORE_PASSWORD_TYPE", + "TRUST_ANCHOR_CERTIFICATE_TYPE", + "XKS_PROXY_AUTHENTICATION_ACCESS_KEY_ID_TYPE", + "XKS_PROXY_AUTHENTICATION_RAW_SECRET_ACCESS_KEY_TYPE", + "XKS_PROXY_AUTHENTICATION_CREDENTIAL_TYPE", + "XKS_PROXY_CONNECTIVITY_TYPE", + "XKS_PROXY_URI_ENDPOINT_TYPE", + "XKS_PROXY_URI_PATH_TYPE", + "XKS_PROXY_VPC_ENDPOINT_SERVICE_NAME_TYPE", + "CREATE_CUSTOM_KEY_STORE_INPUT", + "CREATE_CUSTOM_KEY_STORE_OUTPUT", + "CREATE_CUSTOM_KEY_STORE", + "CUSTOM_KEY_STORE_NAME_IN_USE_EXCEPTION", + "INCORRECT_TRUST_ANCHOR_EXCEPTION", + "XKS_PROXY_INCORRECT_AUTHENTICATION_CREDENTIAL_EXCEPTION", + "XKS_PROXY_INVALID_CONFIGURATION_EXCEPTION", + "XKS_PROXY_INVALID_RESPONSE_EXCEPTION", + "XKS_PROXY_URI_ENDPOINT_IN_USE_EXCEPTION", + "XKS_PROXY_URI_IN_USE_EXCEPTION", + "XKS_PROXY_URI_UNREACHABLE_EXCEPTION", + "XKS_PROXY_VPC_ENDPOINT_SERVICE_IN_USE_EXCEPTION", + "XKS_PROXY_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION_EXCEPTION", + "XKS_PROXY_VPC_ENDPOINT_SERVICE_NOT_FOUND_EXCEPTION", + "ENCRYPTION_CONTEXT_KEY", + "ENCRYPTION_CONTEXT_VALUE", + "ENCRYPTION_CONTEXT_TYPE", + "GRANT_CONSTRAINT_SOURCE_ARN_TYPE", + "GRANT_CONSTRAINTS", + "NULLABLE_BOOLEAN_TYPE", + "PRINCIPAL_ID_TYPE", + "SERVICE_PRINCIPAL_TYPE", + "GRANT_TOKEN_TYPE", + "GRANT_TOKEN_LIST", + "GRANT_NAME_TYPE", + "GRANT_OPERATION", + "GRANT_OPERATION_LIST", + "CREATE_GRANT_INPUT", + "CREATE_GRANT_OUTPUT", + "CREATE_GRANT", + "GRANT_ID_TYPE", + "DISABLED_EXCEPTION", + "DRY_RUN_OPERATION_EXCEPTION", + "INVALID_GRANT_TOKEN_EXCEPTION", + "CUSTOMER_MASTER_KEY_SPEC", + "DESCRIPTION_TYPE", + "POLICY_TYPE", + "INVALID_MARKER_EXCEPTION", + "POLICY_NAME_TYPE", + ), + ( + "KEY_SPEC", + "KEY_USAGE_TYPE", + "ORIGIN_TYPE", + "TAG_KEY_TYPE", + "TAG_VALUE_TYPE", + "TAG", + "TAG_LIST", + "XKS_KEY_ID_TYPE", + "CREATE_KEY_INPUT", + "CREATE_KEY_OUTPUT", + "CREATE_KEY", + "ENCAPSULATION_ALGORITHM_SPEC", + "ENCAPSULATION_ALGORITHM_SPEC_LIST", + "ENCRYPTION_ALGORITHM_SPEC", + "ENCRYPTION_ALGORITHM_SPEC_LIST", + "EXPIRATION_MODEL_TYPE", + "KEY_AGREEMENT_ALGORITHM_SPEC", + "KEY_AGREEMENT_ALGORITHM_SPEC_LIST", + "KEY_MANAGER_TYPE", + "KEY_STATE", + "MAC_ALGORITHM_SPEC", + "MAC_ALGORITHM_SPEC_LIST", + "MULTI_REGION_KEY_TYPE", + "REGION_TYPE", + "MULTI_REGION_KEY", + "MULTI_REGION_KEY_LIST", + "MULTI_REGION_CONFIGURATION", + "PENDING_WINDOW_IN_DAYS_TYPE", + "SIGNING_ALGORITHM_SPEC", + "SIGNING_ALGORITHM_SPEC_LIST", + "XKS_KEY_CONFIGURATION_TYPE", + "KEY_METADATA", + "MALFORMED_POLICY_DOCUMENT_EXCEPTION", + "TAG_EXCEPTION", + "UNSUPPORTED_OPERATION_EXCEPTION", + "XKS_KEY_ALREADY_IN_USE_EXCEPTION", + "XKS_KEY_INVALID_CONFIGURATION_EXCEPTION", + "XKS_KEY_NOT_FOUND_EXCEPTION", + "CUSTOM_KEY_STORE_HAS_CM_KS_EXCEPTION", + "XKS_PROXY_CONFIGURATION_TYPE", + "CUSTOM_KEY_STORES_LIST_ENTRY", + "CUSTOM_KEY_STORES_LIST", + "DATA_KEY_PAIR_SPEC", + "DATA_KEY_SPEC", + "DECAPSULATE_INPUT", + "DECAPSULATE_OUTPUT", + "DECAPSULATE", + "PLAINTEXT_TYPE", + "INVALID_CIPHERTEXT_EXCEPTION", + "INVALID_KEY_USAGE_EXCEPTION", + "KEY_UNAVAILABLE_EXCEPTION", + "DRY_RUN_MODIFIER_TYPE", + "DRY_RUN_MODIFIER_LIST", + "KEY_ENCRYPTION_MECHANISM", + "RECIPIENT_INFO", + "DECRYPT_INPUT", + "DECRYPT_OUTPUT", + "DECRYPT", + "INCORRECT_KEY_EXCEPTION", + "DELETE_ALIAS_INPUT", + "DELETE_ALIAS_OUTPUT", + "DELETE_ALIAS", + "DELETE_CUSTOM_KEY_STORE_INPUT", + "DELETE_CUSTOM_KEY_STORE_OUTPUT", + "DELETE_CUSTOM_KEY_STORE", + "DELETE_IMPORTED_KEY_MATERIAL_INPUT", + "DELETE_IMPORTED_KEY_MATERIAL_OUTPUT", + "DELETE_IMPORTED_KEY_MATERIAL", + "PUBLIC_KEY_TYPE", + "DERIVE_SHARED_SECRET_INPUT", + "DERIVE_SHARED_SECRET_OUTPUT", + "DERIVE_SHARED_SECRET", + "LIMIT_TYPE", + "MARKER_TYPE", + "DESCRIBE_CUSTOM_KEY_STORES_INPUT", + "DESCRIBE_CUSTOM_KEY_STORES_OUTPUT", + "DESCRIBE_CUSTOM_KEY_STORES", + ), + ( + "DESCRIBE_KEY_INPUT", + "DESCRIBE_KEY_OUTPUT", + "DESCRIBE_KEY", + "DISABLE_KEY_INPUT", + "DISABLE_KEY_OUTPUT", + "DISABLE_KEY", + "DISABLE_KEY_ROTATION_INPUT", + "DISABLE_KEY_ROTATION_OUTPUT", + "DISABLE_KEY_ROTATION", + "DISCONNECT_CUSTOM_KEY_STORE_INPUT", + "DISCONNECT_CUSTOM_KEY_STORE_OUTPUT", + "DISCONNECT_CUSTOM_KEY_STORE", + "ENABLE_KEY_INPUT", + "ENABLE_KEY_OUTPUT", + "ENABLE_KEY", + "ROTATION_PERIOD_IN_DAYS_TYPE", + "ENABLE_KEY_ROTATION_INPUT", + "ENABLE_KEY_ROTATION_OUTPUT", + "ENABLE_KEY_ROTATION", + "ENCAPSULATE_INPUT", + "ENCAPSULATE_OUTPUT", + "ENCAPSULATE", + "ENCRYPT_INPUT", + "ENCRYPT_OUTPUT", + "ENCRYPT", + "EXPIRED_IMPORT_TOKEN_EXCEPTION", + "NUMBER_OF_BYTES_TYPE", + "GENERATE_DATA_KEY_INPUT", + "GENERATE_DATA_KEY_OUTPUT", + "GENERATE_DATA_KEY", + "GENERATE_DATA_KEY_PAIR_INPUT", + "GENERATE_DATA_KEY_PAIR_OUTPUT", + "GENERATE_DATA_KEY_PAIR", + "GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_INPUT", + "GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_OUTPUT", + "GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT", + "GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_INPUT", + "GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_OUTPUT", + "GENERATE_DATA_KEY_WITHOUT_PLAINTEXT", + "GENERATE_MAC_INPUT", + "GENERATE_MAC_OUTPUT", + "GENERATE_MAC", + "GENERATE_RANDOM_INPUT", + "GENERATE_RANDOM_OUTPUT", + "GENERATE_RANDOM", + "GET_KEY_LAST_USAGE_INPUT", + "GET_KEY_LAST_USAGE_OUTPUT", + "GET_KEY_LAST_USAGE", + "KMS_REQUEST_ID_TYPE", + "KEY_LAST_USAGE_TRACKING_OPERATION", + "KEY_LAST_USAGE_DATA", + "GET_KEY_POLICY_INPUT", + "GET_KEY_POLICY_OUTPUT", + "GET_KEY_POLICY", + "GET_KEY_ROTATION_STATUS_INPUT", + "GET_KEY_ROTATION_STATUS_OUTPUT", + "GET_KEY_ROTATION_STATUS", + "WRAPPING_KEY_SPEC", + "GET_PARAMETERS_FOR_IMPORT_INPUT", + "GET_PARAMETERS_FOR_IMPORT_OUTPUT", + "GET_PARAMETERS_FOR_IMPORT", + "GET_PUBLIC_KEY_INPUT", + "GET_PUBLIC_KEY_OUTPUT", + "GET_PUBLIC_KEY", + "GRANT_LIST_ENTRY", + "GRANT_LIST", + "IMPORT_TYPE", + "KEY_MATERIAL_DESCRIPTION_TYPE", + "IMPORT_KEY_MATERIAL_INPUT", + "IMPORT_KEY_MATERIAL_OUTPUT", + "IMPORT_KEY_MATERIAL", + "INCORRECT_KEY_MATERIAL_EXCEPTION", + "INVALID_IMPORT_TOKEN_EXCEPTION", + "IMPORT_STATE", + "INCLUDE_KEY_MATERIAL", + ), + ( + "INVALID_GRANT_ID_EXCEPTION", + "KEY_LIST_ENTRY", + "KEY_LIST", + "KEY_MATERIAL_STATE", + "KMS_INVALID_MAC_EXCEPTION", + "KMS_INVALID_SIGNATURE_EXCEPTION", + "LIST_ALIASES_INPUT", + "LIST_ALIASES_OUTPUT", + "LIST_ALIASES", + "LIST_GRANTS_INPUT", + "LIST_GRANTS_OUTPUT", + "LIST_GRANTS", + "LIST_KEY_POLICIES_INPUT", + "LIST_KEY_POLICIES_OUTPUT", + "LIST_KEY_POLICIES", + "POLICY_NAME_LIST", + "LIST_KEY_ROTATIONS_INPUT", + "LIST_KEY_ROTATIONS_OUTPUT", + "LIST_KEY_ROTATIONS", + "ROTATION_TYPE", + "ROTATIONS_LIST_ENTRY", + "ROTATIONS_LIST", + "LIST_KEYS_INPUT", + "LIST_KEYS_OUTPUT", + "LIST_KEYS", + "LIST_RESOURCE_TAGS_INPUT", + "LIST_RESOURCE_TAGS_OUTPUT", + "LIST_RESOURCE_TAGS", + "LIST_RETIRABLE_GRANTS_INPUT", + "LIST_RETIRABLE_GRANTS_OUTPUT", + "LIST_RETIRABLE_GRANTS", + "MESSAGE_TYPE", + "PUT_KEY_POLICY_INPUT", + "PUT_KEY_POLICY_OUTPUT", + "PUT_KEY_POLICY", + "RE_ENCRYPT_INPUT", + "RE_ENCRYPT_OUTPUT", + "RE_ENCRYPT", + "REPLICATE_KEY_INPUT", + "REPLICATE_KEY_OUTPUT", + "REPLICATE_KEY", + "RETIRE_GRANT_INPUT", + "RETIRE_GRANT_OUTPUT", + "RETIRE_GRANT", + "REVOKE_GRANT_INPUT", + "REVOKE_GRANT_OUTPUT", + "REVOKE_GRANT", + "ROTATE_KEY_ON_DEMAND_INPUT", + "ROTATE_KEY_ON_DEMAND_OUTPUT", + "ROTATE_KEY_ON_DEMAND", + "SCHEDULE_KEY_DELETION_INPUT", + "SCHEDULE_KEY_DELETION_OUTPUT", + "SCHEDULE_KEY_DELETION", + "SIGN_INPUT", + "SIGN_OUTPUT", + "SIGN", + "TAG_KEY_LIST", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "UPDATE_ALIAS_INPUT", + "UPDATE_ALIAS_OUTPUT", + "UPDATE_ALIAS", + "UPDATE_CUSTOM_KEY_STORE_INPUT", + "UPDATE_CUSTOM_KEY_STORE_OUTPUT", + "UPDATE_CUSTOM_KEY_STORE", + "UPDATE_KEY_DESCRIPTION_INPUT", + "UPDATE_KEY_DESCRIPTION_OUTPUT", + "UPDATE_KEY_DESCRIPTION", + "UPDATE_PRIMARY_REGION_INPUT", + "UPDATE_PRIMARY_REGION_OUTPUT", + "UPDATE_PRIMARY_REGION", + "VERIFY_INPUT", + "VERIFY_OUTPUT", + "VERIFY", + "VERIFY_MAC_INPUT", + "VERIFY_MAC_OUTPUT", + "VERIFY_MAC", + "TRENT_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_0.py b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_0.py new file mode 100644 index 000000000..064b12501 --- /dev/null +++ b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_0.py @@ -0,0 +1,1182 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.kms" +_AIT = "AccountIdType" +_AS = "AlgorithmSpec" +_RPV = "RSAES_PKCS1_V1_5" +_sV = "smithy.api#enumValue" +_ROS = "RSAES_OAEP_SHA_1" +_ROS_ = "RSAES_OAEP_SHA_256" +_RAKWS = "RSA_AES_KEY_WRAP_SHA_1" +_RAKWS_ = "RSA_AES_KEY_WRAP_SHA_256" +_SMPKE = "SM2PKE" +_AT = "ArnType" +_ANT = "AliasNameType" +_DT = "DateType" +_KIT = "KeyIdType" +_ALE = "AliasListEntry" +_AN = "AliasName" +_AA = "AliasArn" +_TKI = "TargetKeyId" +_CD = "CreationDate" +_LUD = "LastUpdatedDate" +_AL = "AliasList" +_m = "member" +_EMT = "ErrorMessageType" +_AEE = "AlreadyExistsException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_ADT = "AttestationDocumentType" +_AWSAIT = "AWSAccountIdType" +_BKIRT = "BackingKeyIdResponseType" +_BKIT = "BackingKeyIdType" +_BT = "BooleanType" +_sm = "smithy.api#default" +_CKDI = "CancelKeyDeletionInput" +_sSI = "smithy.synthetic#originalShapeId" +_cCKDR = "com.amazonaws.kms#CancelKeyDeletionRequest" +_smi = "smithy.api#input" +_KI = "KeyId" +_smit = "smithy.api#required" +_CKDO = "CancelKeyDeletionOutput" +_cCKDRo = "com.amazonaws.kms#CancelKeyDeletionResponse" +_smith = "smithy.api#output" +_DTE = "DependencyTimeoutException" +_se = "server" +_IAE = "InvalidArnException" +_KMSIE = "KMSInternalException" +_KMSISE = "KMSInvalidStateException" +_NFE = "NotFoundException" +_CKD = "CancelKeyDeletion" +_CT = "CiphertextType" +_CHCIT = "CloudHsmClusterIdType" +_CHCIUE = "CloudHsmClusterInUseException" +_CHCICE = "CloudHsmClusterInvalidConfigurationException" +_CHCNAE = "CloudHsmClusterNotActiveException" +_CHCNFE = "CloudHsmClusterNotFoundException" +_CHCNRE = "CloudHsmClusterNotRelatedException" +_CTEIT = "CloudTrailEventIdType" +_CE = "ConflictException" +_CKSIT = "CustomKeyStoreIdType" +_CCKSI = "ConnectCustomKeyStoreInput" +_cCCKSR = "com.amazonaws.kms#ConnectCustomKeyStoreRequest" +_CKSI = "CustomKeyStoreId" +_CCKSO = "ConnectCustomKeyStoreOutput" +_cCCKSRo = "com.amazonaws.kms#ConnectCustomKeyStoreResponse" +_CKSISE = "CustomKeyStoreInvalidStateException" +_CKSNFE = "CustomKeyStoreNotFoundException" +_CCKS = "ConnectCustomKeyStore" +_CECT = "ConnectionErrorCodeType" +_IC = "INVALID_CREDENTIALS" +_CNF = "CLUSTER_NOT_FOUND" +_NE = "NETWORK_ERRORS" +_IE = "INTERNAL_ERROR" +_ICH = "INSUFFICIENT_CLOUDHSM_HSMS" +_ULO = "USER_LOCKED_OUT" +_UNF = "USER_NOT_FOUND" +_ULI = "USER_LOGGED_IN" +_SNF = "SUBNET_NOT_FOUND" +_IFAIS = "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET" +_XPAD = "XKS_PROXY_ACCESS_DENIED" +_XPNR = "XKS_PROXY_NOT_REACHABLE" +_XVESNF = "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND" +_XPIR = "XKS_PROXY_INVALID_RESPONSE" +_XPIC = "XKS_PROXY_INVALID_CONFIGURATION" +_XVESIC = "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION" +_XPTO = "XKS_PROXY_TIMED_OUT" +_XPITC = "XKS_PROXY_INVALID_TLS_CONFIGURATION" +_CST = "ConnectionStateType" +_CONNECTED = "CONNECTED" +_CONNECTING = "CONNECTING" +_FAILED = "FAILED" +_DISCONNECTED = "DISCONNECTED" +_DISCONNECTING = "DISCONNECTING" +_CAI = "CreateAliasInput" +_cCAR = "com.amazonaws.kms#CreateAliasRequest" +_CAO = "CreateAliasOutput" +_sU = "smithy.api#Unit" +_IANE = "InvalidAliasNameException" +_LEE = "LimitExceededException" +_CA = "CreateAlias" +_CKSNT = "CustomKeyStoreNameType" +_CKST = "CustomKeyStoreType" +_AC = "AWS_CLOUDHSM" +_EKS = "EXTERNAL_KEY_STORE" +_KSPT = "KeyStorePasswordType" +_smithy = "smithy.api#sensitive" +_TACT = "TrustAnchorCertificateType" +_XPAAKIT = "XksProxyAuthenticationAccessKeyIdType" +_XPARSAKT = "XksProxyAuthenticationRawSecretAccessKeyType" +_XPACT = "XksProxyAuthenticationCredentialType" +_AKI = "AccessKeyId" +_RSAK = "RawSecretAccessKey" +_XPCT = "XksProxyConnectivityType" +_PE = "PUBLIC_ENDPOINT" +_VES = "VPC_ENDPOINT_SERVICE" +_XPUET = "XksProxyUriEndpointType" +_XPUPT = "XksProxyUriPathType" +_XPVESNT = "XksProxyVpcEndpointServiceNameType" +_CCKSIr = "CreateCustomKeyStoreInput" +_cCCKSRom = "com.amazonaws.kms#CreateCustomKeyStoreRequest" +_CKSN = "CustomKeyStoreName" +_CHCI = "CloudHsmClusterId" +_TAC = "TrustAnchorCertificate" +_KSP = "KeyStorePassword" +_XPUE = "XksProxyUriEndpoint" +_XPUP = "XksProxyUriPath" +_XPVESN = "XksProxyVpcEndpointServiceName" +_XPVESO = "XksProxyVpcEndpointServiceOwner" +_XPAC = "XksProxyAuthenticationCredential" +_XPC = "XksProxyConnectivity" +_CCKSOr = "CreateCustomKeyStoreOutput" +_cCCKSRoma = "com.amazonaws.kms#CreateCustomKeyStoreResponse" +_CKSNIUE = "CustomKeyStoreNameInUseException" +_ITAE = "IncorrectTrustAnchorException" +_XPIACE = "XksProxyIncorrectAuthenticationCredentialException" +_XPICE = "XksProxyInvalidConfigurationException" +_XPIRE = "XksProxyInvalidResponseException" +_XPUEIUE = "XksProxyUriEndpointInUseException" +_XPUIUE = "XksProxyUriInUseException" +_XPUUE = "XksProxyUriUnreachableException" +_XPVESIUE = "XksProxyVpcEndpointServiceInUseException" +_XPVESICE = "XksProxyVpcEndpointServiceInvalidConfigurationException" +_XPVESNFE = "XksProxyVpcEndpointServiceNotFoundException" +_CCKSr = "CreateCustomKeyStore" +_ECK = "EncryptionContextKey" +_ECV = "EncryptionContextValue" +_ECT = "EncryptionContextType" +_k = "key" +_v = "value" +_GCSAT = "GrantConstraintSourceArnType" +_GC = "GrantConstraints" +_ECS = "EncryptionContextSubset" +_ECE = "EncryptionContextEquals" +_SA = "SourceArn" +_NBT = "NullableBooleanType" +_PIT = "PrincipalIdType" +_SPT = "ServicePrincipalType" +_GTT = "GrantTokenType" +_GTL = "GrantTokenList" +_GNT = "GrantNameType" +_GO = "GrantOperation" +_D = "Decrypt" +_E = "Encrypt" +_GDK = "GenerateDataKey" +_GDKWP = "GenerateDataKeyWithoutPlaintext" +_REF = "ReEncryptFrom" +_RET = "ReEncryptTo" +_S = "Sign" +_V = "Verify" +_GPK = "GetPublicKey" +_CG = "CreateGrant" +_RG = "RetireGrant" +_DK = "DescribeKey" +_GDKP = "GenerateDataKeyPair" +_GDKPWP = "GenerateDataKeyPairWithoutPlaintext" +_GM = "GenerateMac" +_VM = "VerifyMac" +_DSS = "DeriveSharedSecret" +_En = "Encapsulate" +_De = "Decapsulate" +_GOL = "GrantOperationList" +_CGI = "CreateGrantInput" +_cCGR = "com.amazonaws.kms#CreateGrantRequest" +_GP = "GranteePrincipal" +_RP = "RetiringPrincipal" +_O = "Operations" +_C = "Constraints" +_GT = "GrantTokens" +_N = "Name" +_DR = "DryRun" +_GSP = "GranteeServicePrincipal" +_RSP = "RetiringServicePrincipal" +_GIT = "GrantIdType" +_CGO = "CreateGrantOutput" +_cCGRo = "com.amazonaws.kms#CreateGrantResponse" +_GTr = "GrantToken" +_GI = "GrantId" +_DE = "DisabledException" +_DROE = "DryRunOperationException" +_IGTE = "InvalidGrantTokenException" +_CMKS = "CustomerMasterKeySpec" +_R = "RSA_2048" +_R_ = "RSA_3072" +_R__ = "RSA_4096" +_ENP = "ECC_NIST_P256" +_ENP_ = "ECC_NIST_P384" +_ENP__ = "ECC_NIST_P521" +_ESP = "ECC_SECG_P256K1" +_SD = "SYMMETRIC_DEFAULT" +_H = "HMAC_224" +_H_ = "HMAC_256" +_H__ = "HMAC_384" +_H___ = "HMAC_512" +_SM = "SM2" +_DTe = "DescriptionType" +_PT = "PolicyType" +_IME = "InvalidMarkerException" +_PNT = "PolicyNameType" + +ACCOUNT_ID_TYPE: StaticSchema = (3, n0, _AIT, 0) + +ALGORITHM_SPEC: StaticSchema = ( + 14, + n0, + _AS, + 0, + (_RPV, _ROS, _ROS_, _RAKWS, _RAKWS_, _SMPKE), + ( + (-1, {_sV: _RPV}), + (-1, {_sV: _ROS}), + (-1, {_sV: _ROS_}), + (-1, {_sV: _RAKWS}), + (-1, {_sV: _RAKWS_}), + (-1, {_sV: _SMPKE}), + ), +) + +ARN_TYPE: StaticSchema = (3, n0, _AT, 0) + +ALIAS_NAME_TYPE: StaticSchema = (3, n0, _ANT, 0) + +DATE_TYPE: StaticSchema = (4, n0, _DT, 0) + +KEY_ID_TYPE: StaticSchema = (3, n0, _KIT, 0) + +ALIAS_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _ALE, + 0, + (_AN, _AA, _TKI, _CD, _LUD), + ( + (ALIAS_NAME_TYPE, 0), + (ARN_TYPE, 0), + (KEY_ID_TYPE, 0), + (DATE_TYPE, 0), + (DATE_TYPE, 0), + ), +) + +ALIAS_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((ALIAS_LIST_ENTRY, 0),)) + +ERROR_MESSAGE_TYPE: StaticSchema = (3, n0, _EMT, 0) + +ALREADY_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _AEE, + { + _s: _c, + _sE: 409, + _aQE: MappingProxyType({"code": "AlreadyExists", "httpResponseCode": 409}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +ATTESTATION_DOCUMENT_TYPE: StaticSchema = (1, n0, _ADT, 0) + +AWS_ACCOUNT_ID_TYPE: StaticSchema = (3, n0, _AWSAIT, 0) + +BACKING_KEY_ID_RESPONSE_TYPE: StaticSchema = (3, n0, _BKIRT, 0) + +BACKING_KEY_ID_TYPE: StaticSchema = (3, n0, _BKIT, 0) + +BOOLEAN_TYPE: StaticSchema = (2, n0, _BT, {_sm: False}) + +CANCEL_KEY_DELETION_INPUT: StaticSchema = ( + 18, + n0, + _CKDI, + {_sSI: _cCKDR, _smi: None}, + (_KI,), + ((KEY_ID_TYPE, 1),), +) + +CANCEL_KEY_DELETION_OUTPUT: StaticSchema = ( + 18, + n0, + _CKDO, + {_sSI: _cCKDRo, _smith: None}, + (_KI,), + ((KEY_ID_TYPE, 0),), +) + +CANCEL_KEY_DELETION: StaticOperationSchema = ( + 23, + n0, + _CKD, + 0, + CANCEL_KEY_DELETION_INPUT, + CANCEL_KEY_DELETION_OUTPUT, + ( + lambda: DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: INVALID_ARN_EXCEPTION, + lambda: KMS_INTERNAL_EXCEPTION, + lambda: KMS_INVALID_STATE_EXCEPTION, + lambda: NOT_FOUND_EXCEPTION, + ), +) + +DEPENDENCY_TIMEOUT_EXCEPTION: StaticSchema = ( + 18, + n0, + _DTE, + { + _s: _se, + _sE: 503, + _aQE: MappingProxyType({"code": "DependencyTimeout", "httpResponseCode": 503}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +INVALID_ARN_EXCEPTION: StaticSchema = ( + 18, + n0, + _IAE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidArn", "httpResponseCode": 400}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +KMS_INTERNAL_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSIE, + { + _s: _se, + _sE: 500, + _aQE: MappingProxyType({"code": "KMSInternal", "httpResponseCode": 500}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +KMS_INVALID_STATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSISE, + { + _s: _c, + _sE: 409, + _aQE: MappingProxyType( + {"code": "KMSInvalidStateException", "httpResponseCode": 409} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _NFE, + { + _s: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "NotFound", "httpResponseCode": 404}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CIPHERTEXT_TYPE: StaticSchema = (1, n0, _CT, 0) + +CLOUD_HSM_CLUSTER_ID_TYPE: StaticSchema = (3, n0, _CHCIT, 0) + +CLOUD_HSM_CLUSTER_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _CHCIUE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CloudHsmClusterInUseException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _CHCICE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "CloudHsmClusterInvalidConfigurationException", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CLOUD_HSM_CLUSTER_NOT_ACTIVE_EXCEPTION: StaticSchema = ( + 18, + n0, + _CHCNAE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CloudHsmClusterNotActiveException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CLOUD_HSM_CLUSTER_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _CHCNFE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CloudHsmClusterNotFoundException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CLOUD_HSM_CLUSTER_NOT_RELATED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CHCNRE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CloudHsmClusterNotRelatedException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CLOUD_TRAIL_EVENT_ID_TYPE: StaticSchema = (3, n0, _CTEIT, 0) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + { + _s: _c, + _sE: 409, + _aQE: MappingProxyType({"code": "ConflictException", "httpResponseCode": 409}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CUSTOM_KEY_STORE_ID_TYPE: StaticSchema = (3, n0, _CKSIT, 0) + +CONNECT_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( + 18, + n0, + _CCKSI, + {_sSI: _cCCKSR, _smi: None}, + (_CKSI,), + ((CUSTOM_KEY_STORE_ID_TYPE, 1),), +) + +CONNECT_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _CCKSO, + {_sSI: _cCCKSRo, _smith: None}, +) + +CONNECT_CUSTOM_KEY_STORE: StaticOperationSchema = ( + 23, + n0, + _CCKS, + 0, + CONNECT_CUSTOM_KEY_STORE_INPUT, + CONNECT_CUSTOM_KEY_STORE_OUTPUT, + ( + CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION, + CLOUD_HSM_CLUSTER_NOT_ACTIVE_EXCEPTION, + lambda: CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, + lambda: CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, + KMS_INTERNAL_EXCEPTION, + ), +) + +CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _CKSISE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CustomKeyStoreInvalidStateException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _CKSNFE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CustomKeyStoreNotFoundException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CONNECTION_ERROR_CODE_TYPE: StaticSchema = ( + 14, + n0, + _CECT, + 0, + ( + _IC, + _CNF, + _NE, + _IE, + _ICH, + _ULO, + _UNF, + _ULI, + _SNF, + _IFAIS, + _XPAD, + _XPNR, + _XVESNF, + _XPIR, + _XPIC, + _XVESIC, + _XPTO, + _XPITC, + ), + ( + (-1, {_sV: _IC}), + (-1, {_sV: _CNF}), + (-1, {_sV: _NE}), + (-1, {_sV: _IE}), + (-1, {_sV: _ICH}), + (-1, {_sV: _ULO}), + (-1, {_sV: _UNF}), + (-1, {_sV: _ULI}), + (-1, {_sV: _SNF}), + (-1, {_sV: _IFAIS}), + (-1, {_sV: _XPAD}), + (-1, {_sV: _XPNR}), + (-1, {_sV: _XVESNF}), + (-1, {_sV: _XPIR}), + (-1, {_sV: _XPIC}), + (-1, {_sV: _XVESIC}), + (-1, {_sV: _XPTO}), + (-1, {_sV: _XPITC}), + ), +) + +CONNECTION_STATE_TYPE: StaticSchema = ( + 14, + n0, + _CST, + 0, + (_CONNECTED, _CONNECTING, _FAILED, _DISCONNECTED, _DISCONNECTING), + ( + (-1, {_sV: _CONNECTED}), + (-1, {_sV: _CONNECTING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _DISCONNECTED}), + (-1, {_sV: _DISCONNECTING}), + ), +) + +CREATE_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _CAI, + {_sSI: _cCAR, _smi: None}, + (_AN, _TKI), + ((ALIAS_NAME_TYPE, 1), (KEY_ID_TYPE, 1)), +) + +CREATE_ALIAS_OUTPUT: StaticSchema = (18, n0, _CAO, {_sSI: _sU, _smith: None}) + +CREATE_ALIAS: StaticOperationSchema = ( + 23, + n0, + _CA, + 0, + CREATE_ALIAS_INPUT, + CREATE_ALIAS_OUTPUT, + ( + ALREADY_EXISTS_EXCEPTION, + DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: INVALID_ALIAS_NAME_EXCEPTION, + KMS_INTERNAL_EXCEPTION, + KMS_INVALID_STATE_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + ), +) + +INVALID_ALIAS_NAME_EXCEPTION: StaticSchema = ( + 18, + n0, + _IANE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidAliasName", "httpResponseCode": 400}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "LimitExceeded", "httpResponseCode": 400}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CUSTOM_KEY_STORE_NAME_TYPE: StaticSchema = (3, n0, _CKSNT, 0) + +CUSTOM_KEY_STORE_TYPE: StaticSchema = ( + 14, + n0, + _CKST, + 0, + (_AC, _EKS), + ((-1, {_sV: _AC}), (-1, {_sV: _EKS})), +) + +KEY_STORE_PASSWORD_TYPE: StaticSchema = (3, n0, _KSPT, 4) + +TRUST_ANCHOR_CERTIFICATE_TYPE: StaticSchema = (3, n0, _TACT, 0) + +XKS_PROXY_AUTHENTICATION_ACCESS_KEY_ID_TYPE: StaticSchema = (3, n0, _XPAAKIT, 4) + +XKS_PROXY_AUTHENTICATION_RAW_SECRET_ACCESS_KEY_TYPE: StaticSchema = ( + 3, + n0, + _XPARSAKT, + 4, +) + +XKS_PROXY_AUTHENTICATION_CREDENTIAL_TYPE: StaticSchema = ( + 18, + n0, + _XPACT, + 0, + (_AKI, _RSAK), + ( + (XKS_PROXY_AUTHENTICATION_ACCESS_KEY_ID_TYPE, 1), + (XKS_PROXY_AUTHENTICATION_RAW_SECRET_ACCESS_KEY_TYPE, 1), + ), +) + +XKS_PROXY_CONNECTIVITY_TYPE: StaticSchema = ( + 14, + n0, + _XPCT, + 0, + (_PE, _VES), + ((-1, {_sV: _PE}), (-1, {_sV: _VES})), +) + +XKS_PROXY_URI_ENDPOINT_TYPE: StaticSchema = (3, n0, _XPUET, 0) + +XKS_PROXY_URI_PATH_TYPE: StaticSchema = (3, n0, _XPUPT, 0) + +XKS_PROXY_VPC_ENDPOINT_SERVICE_NAME_TYPE: StaticSchema = (3, n0, _XPVESNT, 0) + +CREATE_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( + 18, + n0, + _CCKSIr, + {_sSI: _cCCKSRom, _smi: None}, + (_CKSN, _CHCI, _TAC, _KSP, _CKST, _XPUE, _XPUP, _XPVESN, _XPVESO, _XPAC, _XPC), + ( + (CUSTOM_KEY_STORE_NAME_TYPE, 1), + (CLOUD_HSM_CLUSTER_ID_TYPE, 0), + (TRUST_ANCHOR_CERTIFICATE_TYPE, 0), + (KEY_STORE_PASSWORD_TYPE, 0), + (CUSTOM_KEY_STORE_TYPE, 0), + (XKS_PROXY_URI_ENDPOINT_TYPE, 0), + (XKS_PROXY_URI_PATH_TYPE, 0), + (XKS_PROXY_VPC_ENDPOINT_SERVICE_NAME_TYPE, 0), + (ACCOUNT_ID_TYPE, 0), + (XKS_PROXY_AUTHENTICATION_CREDENTIAL_TYPE, 0), + (XKS_PROXY_CONNECTIVITY_TYPE, 0), + ), +) + +CREATE_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _CCKSOr, + {_sSI: _cCCKSRoma, _smith: None}, + (_CKSI,), + ((CUSTOM_KEY_STORE_ID_TYPE, 0),), +) + +CREATE_CUSTOM_KEY_STORE: StaticOperationSchema = ( + 23, + n0, + _CCKSr, + 0, + CREATE_CUSTOM_KEY_STORE_INPUT, + CREATE_CUSTOM_KEY_STORE_OUTPUT, + ( + CLOUD_HSM_CLUSTER_IN_USE_EXCEPTION, + CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION, + CLOUD_HSM_CLUSTER_NOT_ACTIVE_EXCEPTION, + CLOUD_HSM_CLUSTER_NOT_FOUND_EXCEPTION, + lambda: CUSTOM_KEY_STORE_NAME_IN_USE_EXCEPTION, + lambda: INCORRECT_TRUST_ANCHOR_EXCEPTION, + KMS_INTERNAL_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + lambda: XKS_PROXY_INCORRECT_AUTHENTICATION_CREDENTIAL_EXCEPTION, + lambda: XKS_PROXY_INVALID_CONFIGURATION_EXCEPTION, + lambda: XKS_PROXY_INVALID_RESPONSE_EXCEPTION, + lambda: XKS_PROXY_URI_ENDPOINT_IN_USE_EXCEPTION, + lambda: XKS_PROXY_URI_IN_USE_EXCEPTION, + lambda: XKS_PROXY_URI_UNREACHABLE_EXCEPTION, + lambda: XKS_PROXY_VPC_ENDPOINT_SERVICE_IN_USE_EXCEPTION, + lambda: XKS_PROXY_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION_EXCEPTION, + lambda: XKS_PROXY_VPC_ENDPOINT_SERVICE_NOT_FOUND_EXCEPTION, + ), +) + +CUSTOM_KEY_STORE_NAME_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _CKSNIUE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CustomKeyStoreNameInUseException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +INCORRECT_TRUST_ANCHOR_EXCEPTION: StaticSchema = ( + 18, + n0, + _ITAE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "IncorrectTrustAnchorException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_INCORRECT_AUTHENTICATION_CREDENTIAL_EXCEPTION: StaticSchema = ( + 18, + n0, + _XPIACE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "XksProxyIncorrectAuthenticationCredentialException", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_INVALID_CONFIGURATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _XPICE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "XksProxyInvalidConfigurationException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_INVALID_RESPONSE_EXCEPTION: StaticSchema = ( + 18, + n0, + _XPIRE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "XksProxyInvalidResponseException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_URI_ENDPOINT_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _XPUEIUE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "XksProxyUriEndpointInUseException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_URI_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _XPUIUE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "XksProxyUriInUseException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_URI_UNREACHABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _XPUUE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "XksProxyUriUnreachableException", "httpResponseCode": 400} + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_VPC_ENDPOINT_SERVICE_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _XPVESIUE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "XksProxyVpcEndpointServiceInUseException", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _XPVESICE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "XksProxyVpcEndpointServiceInvalidConfigurationException", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_VPC_ENDPOINT_SERVICE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _XPVESNFE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "XksProxyVpcEndpointServiceNotFoundException", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +ENCRYPTION_CONTEXT_KEY: StaticSchema = (3, n0, _ECK, 0) + +ENCRYPTION_CONTEXT_VALUE: StaticSchema = (3, n0, _ECV, 0) + +ENCRYPTION_CONTEXT_TYPE: StaticSchema = ( + 17, + n0, + _ECT, + 0, + (_k, _v), + ((ENCRYPTION_CONTEXT_KEY, 0), (ENCRYPTION_CONTEXT_VALUE, 0)), +) + +GRANT_CONSTRAINT_SOURCE_ARN_TYPE: StaticSchema = (3, n0, _GCSAT, 0) + +GRANT_CONSTRAINTS: StaticSchema = ( + 18, + n0, + _GC, + 0, + (_ECS, _ECE, _SA), + ( + (ENCRYPTION_CONTEXT_TYPE, 0), + (ENCRYPTION_CONTEXT_TYPE, 0), + (GRANT_CONSTRAINT_SOURCE_ARN_TYPE, 0), + ), +) + +NULLABLE_BOOLEAN_TYPE: StaticSchema = (2, n0, _NBT, 0) + +PRINCIPAL_ID_TYPE: StaticSchema = (3, n0, _PIT, 0) + +SERVICE_PRINCIPAL_TYPE: StaticSchema = (3, n0, _SPT, 0) + +GRANT_TOKEN_TYPE: StaticSchema = (3, n0, _GTT, 0) + +GRANT_TOKEN_LIST: StaticSchema = (16, n0, _GTL, 0, (_m,), ((GRANT_TOKEN_TYPE, 0),)) + +GRANT_NAME_TYPE: StaticSchema = (3, n0, _GNT, 0) + +GRANT_OPERATION: StaticSchema = ( + 14, + n0, + _GO, + 0, + ( + _D, + _E, + _GDK, + _GDKWP, + _REF, + _RET, + _S, + _V, + _GPK, + _CG, + _RG, + _DK, + _GDKP, + _GDKPWP, + _GM, + _VM, + _DSS, + _En, + _De, + ), + ( + (-1, {_sV: _D}), + (-1, {_sV: _E}), + (-1, {_sV: _GDK}), + (-1, {_sV: _GDKWP}), + (-1, {_sV: _REF}), + (-1, {_sV: _RET}), + (-1, {_sV: _S}), + (-1, {_sV: _V}), + (-1, {_sV: _GPK}), + (-1, {_sV: _CG}), + (-1, {_sV: _RG}), + (-1, {_sV: _DK}), + (-1, {_sV: _GDKP}), + (-1, {_sV: _GDKPWP}), + (-1, {_sV: _GM}), + (-1, {_sV: _VM}), + (-1, {_sV: _DSS}), + (-1, {_sV: _En}), + (-1, {_sV: _De}), + ), +) + +GRANT_OPERATION_LIST: StaticSchema = (16, n0, _GOL, 0, (_m,), ((GRANT_OPERATION, 0),)) + +CREATE_GRANT_INPUT: StaticSchema = ( + 18, + n0, + _CGI, + {_sSI: _cCGR, _smi: None}, + (_KI, _GP, _RP, _O, _C, _GT, _N, _DR, _GSP, _RSP), + ( + (KEY_ID_TYPE, 1), + (PRINCIPAL_ID_TYPE, 0), + (PRINCIPAL_ID_TYPE, 0), + (GRANT_OPERATION_LIST, 1), + (GRANT_CONSTRAINTS, 0), + (GRANT_TOKEN_LIST, 0), + (GRANT_NAME_TYPE, 0), + (NULLABLE_BOOLEAN_TYPE, 0), + (SERVICE_PRINCIPAL_TYPE, 0), + (SERVICE_PRINCIPAL_TYPE, 0), + ), +) + +CREATE_GRANT_OUTPUT: StaticSchema = ( + 18, + n0, + _CGO, + {_sSI: _cCGRo, _smith: None}, + (_GTr, _GI), + ((GRANT_TOKEN_TYPE, 0), (lambda: GRANT_ID_TYPE, 0)), +) + +CREATE_GRANT: StaticOperationSchema = ( + 23, + n0, + _CG, + 0, + CREATE_GRANT_INPUT, + CREATE_GRANT_OUTPUT, + ( + DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: DISABLED_EXCEPTION, + lambda: DRY_RUN_OPERATION_EXCEPTION, + INVALID_ARN_EXCEPTION, + lambda: INVALID_GRANT_TOKEN_EXCEPTION, + KMS_INTERNAL_EXCEPTION, + KMS_INVALID_STATE_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + NOT_FOUND_EXCEPTION, + ), +) + +GRANT_ID_TYPE: StaticSchema = (3, n0, _GIT, 0) + +DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _DE, + { + _s: _c, + _sE: 409, + _aQE: MappingProxyType({"code": "Disabled", "httpResponseCode": 409}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +DRY_RUN_OPERATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _DROE, + { + _s: _c, + _sE: 412, + _aQE: MappingProxyType({"code": "DryRunOperation", "httpResponseCode": 412}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +INVALID_GRANT_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _IGTE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidGrantToken", "httpResponseCode": 400}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +CUSTOMER_MASTER_KEY_SPEC: StaticSchema = ( + 14, + n0, + _CMKS, + 0, + (_R, _R_, _R__, _ENP, _ENP_, _ENP__, _ESP, _SD, _H, _H_, _H__, _H___, _SM), + ( + (-1, {_sV: _R}), + (-1, {_sV: _R_}), + (-1, {_sV: _R__}), + (-1, {_sV: _ENP}), + (-1, {_sV: _ENP_}), + (-1, {_sV: _ENP__}), + (-1, {_sV: _ESP}), + (-1, {_sV: _SD}), + (-1, {_sV: _H}), + (-1, {_sV: _H_}), + (-1, {_sV: _H__}), + (-1, {_sV: _H___}), + (-1, {_sV: _SM}), + ), +) + +DESCRIPTION_TYPE: StaticSchema = (3, n0, _DTe, 0) + +POLICY_TYPE: StaticSchema = (3, n0, _PT, 0) + +INVALID_MARKER_EXCEPTION: StaticSchema = ( + 18, + n0, + _IME, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidMarker", "httpResponseCode": 400}), + }, + (_me,), + ((ERROR_MESSAGE_TYPE, 0),), +) + +POLICY_NAME_TYPE: StaticSchema = (3, n0, _PNT, 0) diff --git a/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_1.py b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_1.py new file mode 100644 index 000000000..0508d6f33 --- /dev/null +++ b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_1.py @@ -0,0 +1,1226 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.kms" +_sV = "smithy.api#enumValue" +_ROS = "RSAES_OAEP_SHA_1" +_ROS_ = "RSAES_OAEP_SHA_256" +_SMPKE = "SM2PKE" +_AN = "AliasName" +_CD = "CreationDate" +_m = "member" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_sm = "smithy.api#default" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_KI = "KeyId" +_smit = "smithy.api#required" +_smith = "smithy.api#output" +_se = "server" +_CKSI = "CustomKeyStoreId" +_sU = "smithy.api#Unit" +_CKST = "CustomKeyStoreType" +_AC = "AWS_CLOUDHSM" +_EKS = "EXTERNAL_KEY_STORE" +_smithy = "smithy.api#sensitive" +_AKI = "AccessKeyId" +_CKSN = "CustomKeyStoreName" +_CHCI = "CloudHsmClusterId" +_TAC = "TrustAnchorCertificate" +_D = "Decrypt" +_DSS = "DeriveSharedSecret" +_De = "Decapsulate" +_GT = "GrantTokens" +_DR = "DryRun" +_CMKS = "CustomerMasterKeySpec" +_R = "RSA_2048" +_R_ = "RSA_3072" +_R__ = "RSA_4096" +_ENP = "ECC_NIST_P256" +_ENP_ = "ECC_NIST_P384" +_ENP__ = "ECC_NIST_P521" +_ESP = "ECC_SECG_P256K1" +_SD = "SYMMETRIC_DEFAULT" +_H = "HMAC_224" +_H_ = "HMAC_256" +_H__ = "HMAC_384" +_H___ = "HMAC_512" +_SM = "SM2" +_KS = "KeySpec" +_MD = "ML_DSA_44" +_MD_ = "ML_DSA_65" +_MD__ = "ML_DSA_87" +_ENE = "ECC_NIST_EDWARDS25519" +_MK = "ML_KEM_512" +_MK_ = "ML_KEM_768" +_MK__ = "ML_KEM_1024" +_KUT = "KeyUsageType" +_SV = "SIGN_VERIFY" +_ED = "ENCRYPT_DECRYPT" +_GVM = "GENERATE_VERIFY_MAC" +_KA = "KEY_AGREEMENT" +_ED_ = "ENCAPSULATE_DECAPSULATE" +_OT = "OriginType" +_AK = "AWS_KMS" +_EXTERNAL = "EXTERNAL" +_TKT = "TagKeyType" +_TVT = "TagValueType" +_T = "Tag" +_TK = "TagKey" +_TV = "TagValue" +_TL = "TagList" +_XKIT = "XksKeyIdType" +_CKI = "CreateKeyInput" +_cCKR = "com.amazonaws.kms#CreateKeyRequest" +_P = "Policy" +_Des = "Description" +_KU = "KeyUsage" +_Or = "Origin" +_BPLSC = "BypassPolicyLockoutSafetyCheck" +_Ta = "Tags" +_MR = "MultiRegion" +_XKI = "XksKeyId" +_EAS = "EncapsulationAlgorithmSpec" +_MK___ = "ML_KEM" +_EASL = "EncapsulationAlgorithmSpecList" +_EASn = "EncryptionAlgorithmSpec" +_EASLn = "EncryptionAlgorithmSpecList" +_EMTx = "ExpirationModelType" +_KME = "KEY_MATERIAL_EXPIRES" +_KMDNE = "KEY_MATERIAL_DOES_NOT_EXPIRE" +_KAAS = "KeyAgreementAlgorithmSpec" +_ECDH = "ECDH" +_KAASL = "KeyAgreementAlgorithmSpecList" +_KMT = "KeyManagerType" +_AWS = "AWS" +_CUSTOMER = "CUSTOMER" +_KSe = "KeyState" +_Cr = "Creating" +_Ena = "Enabled" +_Di = "Disabled" +_PD = "PendingDeletion" +_PI = "PendingImport" +_PRD = "PendingReplicaDeletion" +_U = "Unavailable" +_Up = "Updating" +_MAS = "MacAlgorithmSpec" +_HS = "HMAC_SHA_224" +_HS_ = "HMAC_SHA_256" +_HS__ = "HMAC_SHA_384" +_HS___ = "HMAC_SHA_512" +_MASL = "MacAlgorithmSpecList" +_MRKT = "MultiRegionKeyType" +_PRIMARY = "PRIMARY" +_REPLICA = "REPLICA" +_RT = "RegionType" +_MRK = "MultiRegionKey" +_A = "Arn" +_Re = "Region" +_MRKL = "MultiRegionKeyList" +_MRC = "MultiRegionConfiguration" +_PK = "PrimaryKey" +_RK = "ReplicaKeys" +_PWIDT = "PendingWindowInDaysType" +_SAS = "SigningAlgorithmSpec" +_RPS = "RSASSA_PSS_SHA_256" +_RPS_ = "RSASSA_PSS_SHA_384" +_RPS__ = "RSASSA_PSS_SHA_512" +_RPVS = "RSASSA_PKCS1_V1_5_SHA_256" +_RPVS_ = "RSASSA_PKCS1_V1_5_SHA_384" +_RPVS__ = "RSASSA_PKCS1_V1_5_SHA_512" +_ES = "ECDSA_SHA_256" +_ES_ = "ECDSA_SHA_384" +_ES__ = "ECDSA_SHA_512" +_SMDSA = "SM2DSA" +_MDS = "ML_DSA_SHAKE_256" +_ES___ = "ED25519_SHA_512" +_EPS = "ED25519_PH_SHA_512" +_SASL = "SigningAlgorithmSpecList" +_XKCT = "XksKeyConfigurationType" +_I = "Id" +_KM = "KeyMetadata" +_AWSAI = "AWSAccountId" +_DD = "DeletionDate" +_VT = "ValidTo" +_EM = "ExpirationModel" +_KMe = "KeyManager" +_EA = "EncryptionAlgorithms" +_SAi = "SigningAlgorithms" +_KAA = "KeyAgreementAlgorithms" +_EAn = "EncapsulationAlgorithms" +_PDWID = "PendingDeletionWindowInDays" +_MA = "MacAlgorithms" +_XKC = "XksKeyConfiguration" +_CKMI = "CurrentKeyMaterialId" +_CKO = "CreateKeyOutput" +_cCKRo = "com.amazonaws.kms#CreateKeyResponse" +_MPDE = "MalformedPolicyDocumentException" +_TE = "TagException" +_UOE = "UnsupportedOperationException" +_XKAIUE = "XksKeyAlreadyInUseException" +_XKICE = "XksKeyInvalidConfigurationException" +_XKNFE = "XksKeyNotFoundException" +_CK = "CreateKey" +_CKSHCMKE = "CustomKeyStoreHasCMKsException" +_XPCTk = "XksProxyConfigurationType" +_Co = "Connectivity" +_UE = "UriEndpoint" +_UP = "UriPath" +_VESN = "VpcEndpointServiceName" +_VESO = "VpcEndpointServiceOwner" +_CKSLE = "CustomKeyStoresListEntry" +_CS = "ConnectionState" +_CEC = "ConnectionErrorCode" +_XPCk = "XksProxyConfiguration" +_CKSL = "CustomKeyStoresList" +_DKPS = "DataKeyPairSpec" +_DKS = "DataKeySpec" +_A_ = "AES_256" +_A__ = "AES_128" +_DI = "DecapsulateInput" +_cDR = "com.amazonaws.kms#DecapsulateRequest" +_SSCB = "SharedSecretCiphertextBlob" +_EAnc = "EncapsulationAlgorithm" +_PTl = "PlaintextType" +_DO = "DecapsulateOutput" +_cDRo = "com.amazonaws.kms#DecapsulateResponse" +_SS = "SharedSecret" +_ICE = "InvalidCiphertextException" +_IKUE = "InvalidKeyUsageException" +_KUE = "KeyUnavailableException" +_DRMT = "DryRunModifierType" +_IC_ = "IGNORE_CIPHERTEXT" +_DRML = "DryRunModifierList" +_KEM = "KeyEncryptionMechanism" +_RI = "RecipientInfo" +_KEA = "KeyEncryptionAlgorithm" +_AD = "AttestationDocument" +_DIe = "DecryptInput" +_cDRom = "com.amazonaws.kms#DecryptRequest" +_CB = "CiphertextBlob" +_EC = "EncryptionContext" +_EAncr = "EncryptionAlgorithm" +_Rec = "Recipient" +_DRM = "DryRunModifiers" +_DOe = "DecryptOutput" +_cDRoma = "com.amazonaws.kms#DecryptResponse" +_Pl = "Plaintext" +_CFR = "CiphertextForRecipient" +_KMI = "KeyMaterialId" +_IKE = "IncorrectKeyException" +_DAI = "DeleteAliasInput" +_cDAR = "com.amazonaws.kms#DeleteAliasRequest" +_DAO = "DeleteAliasOutput" +_DA = "DeleteAlias" +_DCKSI = "DeleteCustomKeyStoreInput" +_cDCKSR = "com.amazonaws.kms#DeleteCustomKeyStoreRequest" +_DCKSO = "DeleteCustomKeyStoreOutput" +_cDCKSRo = "com.amazonaws.kms#DeleteCustomKeyStoreResponse" +_DCKS = "DeleteCustomKeyStore" +_DIKMI = "DeleteImportedKeyMaterialInput" +_cDIKMR = "com.amazonaws.kms#DeleteImportedKeyMaterialRequest" +_DIKMO = "DeleteImportedKeyMaterialOutput" +_cDIKMRo = "com.amazonaws.kms#DeleteImportedKeyMaterialResponse" +_DIKM = "DeleteImportedKeyMaterial" +_PKT = "PublicKeyType" +_DSSI = "DeriveSharedSecretInput" +_cDSSR = "com.amazonaws.kms#DeriveSharedSecretRequest" +_KAAe = "KeyAgreementAlgorithm" +_PKu = "PublicKey" +_DSSO = "DeriveSharedSecretOutput" +_cDSSRo = "com.amazonaws.kms#DeriveSharedSecretResponse" +_KO = "KeyOrigin" +_LT = "LimitType" +_MT = "MarkerType" +_DCKSIe = "DescribeCustomKeyStoresInput" +_cDCKSRom = "com.amazonaws.kms#DescribeCustomKeyStoresRequest" +_L = "Limit" +_M = "Marker" +_DCKSOe = "DescribeCustomKeyStoresOutput" +_cDCKSRoma = "com.amazonaws.kms#DescribeCustomKeyStoresResponse" +_CKS = "CustomKeyStores" +_NM = "NextMarker" +_Tr = "Truncated" +_DCKSe = "DescribeCustomKeyStores" + +KEY_SPEC: StaticSchema = ( + 14, + n0, + _KS, + 0, + ( + _R, + _R_, + _R__, + _ENP, + _ENP_, + _ENP__, + _ESP, + _SD, + _H, + _H_, + _H__, + _H___, + _SM, + _MD, + _MD_, + _MD__, + _ENE, + _MK, + _MK_, + _MK__, + ), + ( + (-1, {_sV: _R}), + (-1, {_sV: _R_}), + (-1, {_sV: _R__}), + (-1, {_sV: _ENP}), + (-1, {_sV: _ENP_}), + (-1, {_sV: _ENP__}), + (-1, {_sV: _ESP}), + (-1, {_sV: _SD}), + (-1, {_sV: _H}), + (-1, {_sV: _H_}), + (-1, {_sV: _H__}), + (-1, {_sV: _H___}), + (-1, {_sV: _SM}), + (-1, {_sV: _MD}), + (-1, {_sV: _MD_}), + (-1, {_sV: _MD__}), + (-1, {_sV: _ENE}), + (-1, {_sV: _MK}), + (-1, {_sV: _MK_}), + (-1, {_sV: _MK__}), + ), +) + +KEY_USAGE_TYPE: StaticSchema = ( + 14, + n0, + _KUT, + 0, + (_SV, _ED, _GVM, _KA, _ED_), + ( + (-1, {_sV: _SV}), + (-1, {_sV: _ED}), + (-1, {_sV: _GVM}), + (-1, {_sV: _KA}), + (-1, {_sV: _ED_}), + ), +) + +ORIGIN_TYPE: StaticSchema = ( + 14, + n0, + _OT, + 0, + (_AK, _EXTERNAL, _AC, _EKS), + ((-1, {_sV: _AK}), (-1, {_sV: _EXTERNAL}), (-1, {_sV: _AC}), (-1, {_sV: _EKS})), +) + +TAG_KEY_TYPE: StaticSchema = (3, n0, _TKT, 0) + +TAG_VALUE_TYPE: StaticSchema = (3, n0, _TVT, 0) + +TAG: StaticSchema = ( + 18, + n0, + _T, + 0, + (_TK, _TV), + ((TAG_KEY_TYPE, 1), (TAG_VALUE_TYPE, 1)), +) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) + +XKS_KEY_ID_TYPE: StaticSchema = (3, n0, _XKIT, 0) + +CREATE_KEY_INPUT: StaticSchema = ( + 18, + n0, + _CKI, + {_sSI: _cCKR, _smi: None}, + (_P, _Des, _KU, _CMKS, _KS, _Or, _CKSI, _BPLSC, _Ta, _MR, _XKI), + ( + (lambda: schemas.POLICY_TYPE, 0), + (lambda: schemas.DESCRIPTION_TYPE, 0), + (KEY_USAGE_TYPE, 0), + (lambda: schemas.CUSTOMER_MASTER_KEY_SPEC, 0), + (KEY_SPEC, 0), + (ORIGIN_TYPE, 0), + (lambda: schemas.CUSTOM_KEY_STORE_ID_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + (TAG_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + (XKS_KEY_ID_TYPE, 0), + ), +) + +CREATE_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _CKO, + {_sSI: _cCKRo, _smith: None}, + (_KM,), + ((lambda: KEY_METADATA, 0),), +) + +CREATE_KEY: StaticOperationSchema = ( + 23, + n0, + _CK, + 0, + CREATE_KEY_INPUT, + CREATE_KEY_OUTPUT, + ( + lambda: schemas.CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION, + lambda: schemas.CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, + lambda: schemas.CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: TAG_EXCEPTION, + lambda: UNSUPPORTED_OPERATION_EXCEPTION, + lambda: XKS_KEY_ALREADY_IN_USE_EXCEPTION, + lambda: XKS_KEY_INVALID_CONFIGURATION_EXCEPTION, + lambda: XKS_KEY_NOT_FOUND_EXCEPTION, + ), +) + +ENCAPSULATION_ALGORITHM_SPEC: StaticSchema = ( + 14, + n0, + _EAS, + 0, + (_MK___,), + ((-1, {_sV: _MK___}),), +) + +ENCAPSULATION_ALGORITHM_SPEC_LIST: StaticSchema = ( + 16, + n0, + _EASL, + 0, + (_m,), + ((ENCAPSULATION_ALGORITHM_SPEC, 0),), +) + +ENCRYPTION_ALGORITHM_SPEC: StaticSchema = ( + 14, + n0, + _EASn, + 0, + (_SD, _ROS, _ROS_, _SMPKE), + ((-1, {_sV: _SD}), (-1, {_sV: _ROS}), (-1, {_sV: _ROS_}), (-1, {_sV: _SMPKE})), +) + +ENCRYPTION_ALGORITHM_SPEC_LIST: StaticSchema = ( + 16, + n0, + _EASLn, + 0, + (_m,), + ((ENCRYPTION_ALGORITHM_SPEC, 0),), +) + +EXPIRATION_MODEL_TYPE: StaticSchema = ( + 14, + n0, + _EMTx, + 0, + (_KME, _KMDNE), + ((-1, {_sV: _KME}), (-1, {_sV: _KMDNE})), +) + +KEY_AGREEMENT_ALGORITHM_SPEC: StaticSchema = ( + 14, + n0, + _KAAS, + 0, + (_ECDH,), + ((-1, {_sV: _ECDH}),), +) + +KEY_AGREEMENT_ALGORITHM_SPEC_LIST: StaticSchema = ( + 16, + n0, + _KAASL, + 0, + (_m,), + ((KEY_AGREEMENT_ALGORITHM_SPEC, 0),), +) + +KEY_MANAGER_TYPE: StaticSchema = ( + 14, + n0, + _KMT, + 0, + (_AWS, _CUSTOMER), + ((-1, {_sV: _AWS}), (-1, {_sV: _CUSTOMER})), +) + +KEY_STATE: StaticSchema = ( + 14, + n0, + _KSe, + 0, + (_Cr, _Ena, _Di, _PD, _PI, _PRD, _U, _Up), + ( + (-1, {_sV: _Cr}), + (-1, {_sV: _Ena}), + (-1, {_sV: _Di}), + (-1, {_sV: _PD}), + (-1, {_sV: _PI}), + (-1, {_sV: _PRD}), + (-1, {_sV: _U}), + (-1, {_sV: _Up}), + ), +) + +MAC_ALGORITHM_SPEC: StaticSchema = ( + 14, + n0, + _MAS, + 0, + (_HS, _HS_, _HS__, _HS___), + ((-1, {_sV: _HS}), (-1, {_sV: _HS_}), (-1, {_sV: _HS__}), (-1, {_sV: _HS___})), +) + +MAC_ALGORITHM_SPEC_LIST: StaticSchema = ( + 16, + n0, + _MASL, + 0, + (_m,), + ((MAC_ALGORITHM_SPEC, 0),), +) + +MULTI_REGION_KEY_TYPE: StaticSchema = ( + 14, + n0, + _MRKT, + 0, + (_PRIMARY, _REPLICA), + ((-1, {_sV: _PRIMARY}), (-1, {_sV: _REPLICA})), +) + +REGION_TYPE: StaticSchema = (3, n0, _RT, 0) + +MULTI_REGION_KEY: StaticSchema = ( + 18, + n0, + _MRK, + 0, + (_A, _Re), + ((lambda: schemas.ARN_TYPE, 0), (REGION_TYPE, 0)), +) + +MULTI_REGION_KEY_LIST: StaticSchema = ( + 16, + n0, + _MRKL, + 0, + (_m,), + ((MULTI_REGION_KEY, 0),), +) + +MULTI_REGION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MRC, + 0, + (_MRKT, _PK, _RK), + ((MULTI_REGION_KEY_TYPE, 0), (MULTI_REGION_KEY, 0), (MULTI_REGION_KEY_LIST, 0)), +) + +PENDING_WINDOW_IN_DAYS_TYPE: StaticSchema = (7, n0, _PWIDT, 0) + +SIGNING_ALGORITHM_SPEC: StaticSchema = ( + 14, + n0, + _SAS, + 0, + ( + _RPS, + _RPS_, + _RPS__, + _RPVS, + _RPVS_, + _RPVS__, + _ES, + _ES_, + _ES__, + _SMDSA, + _MDS, + _ES___, + _EPS, + ), + ( + (-1, {_sV: _RPS}), + (-1, {_sV: _RPS_}), + (-1, {_sV: _RPS__}), + (-1, {_sV: _RPVS}), + (-1, {_sV: _RPVS_}), + (-1, {_sV: _RPVS__}), + (-1, {_sV: _ES}), + (-1, {_sV: _ES_}), + (-1, {_sV: _ES__}), + (-1, {_sV: _SMDSA}), + (-1, {_sV: _MDS}), + (-1, {_sV: _ES___}), + (-1, {_sV: _EPS}), + ), +) + +SIGNING_ALGORITHM_SPEC_LIST: StaticSchema = ( + 16, + n0, + _SASL, + 0, + (_m,), + ((SIGNING_ALGORITHM_SPEC, 0),), +) + +XKS_KEY_CONFIGURATION_TYPE: StaticSchema = ( + 18, + n0, + _XKCT, + 0, + (_I,), + ((XKS_KEY_ID_TYPE, 0),), +) + +KEY_METADATA: StaticSchema = ( + 18, + n0, + _KM, + 0, + ( + _AWSAI, + _KI, + _A, + _CD, + _Ena, + _Des, + _KU, + _KSe, + _DD, + _VT, + _Or, + _CKSI, + _CHCI, + _EM, + _KMe, + _CMKS, + _KS, + _EA, + _SAi, + _KAA, + _EAn, + _MR, + _MRC, + _PDWID, + _MA, + _XKC, + _CKMI, + ), + ( + (lambda: schemas.AWS_ACCOUNT_ID_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.ARN_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + (lambda: schemas.DESCRIPTION_TYPE, 0), + (KEY_USAGE_TYPE, 0), + (KEY_STATE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (ORIGIN_TYPE, 0), + (lambda: schemas.CUSTOM_KEY_STORE_ID_TYPE, 0), + (lambda: schemas.CLOUD_HSM_CLUSTER_ID_TYPE, 0), + (EXPIRATION_MODEL_TYPE, 0), + (KEY_MANAGER_TYPE, 0), + (lambda: schemas.CUSTOMER_MASTER_KEY_SPEC, 0), + (KEY_SPEC, 0), + (ENCRYPTION_ALGORITHM_SPEC_LIST, 0), + (SIGNING_ALGORITHM_SPEC_LIST, 0), + (KEY_AGREEMENT_ALGORITHM_SPEC_LIST, 0), + (ENCAPSULATION_ALGORITHM_SPEC_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + (MULTI_REGION_CONFIGURATION, 0), + (PENDING_WINDOW_IN_DAYS_TYPE, 0), + (MAC_ALGORITHM_SPEC_LIST, 0), + (XKS_KEY_CONFIGURATION_TYPE, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + ), +) + +MALFORMED_POLICY_DOCUMENT_EXCEPTION: StaticSchema = ( + 18, + n0, + _MPDE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "MalformedPolicyDocument", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +TAG_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "TagException", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +UNSUPPORTED_OPERATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _UOE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "UnsupportedOperation", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +XKS_KEY_ALREADY_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _XKAIUE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "XksKeyAlreadyInUse", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +XKS_KEY_INVALID_CONFIGURATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _XKICE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "XksKeyInvalidConfiguration", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +XKS_KEY_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _XKNFE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "XksKeyNotFoundException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +CUSTOM_KEY_STORE_HAS_CM_KS_EXCEPTION: StaticSchema = ( + 18, + n0, + _CKSHCMKE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CustomKeyStoreHasCMKsException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +XKS_PROXY_CONFIGURATION_TYPE: StaticSchema = ( + 18, + n0, + _XPCTk, + 0, + (_Co, _AKI, _UE, _UP, _VESN, _VESO), + ( + (lambda: schemas.XKS_PROXY_CONNECTIVITY_TYPE, 0), + (lambda: schemas.XKS_PROXY_AUTHENTICATION_ACCESS_KEY_ID_TYPE, 0), + (lambda: schemas.XKS_PROXY_URI_ENDPOINT_TYPE, 0), + (lambda: schemas.XKS_PROXY_URI_PATH_TYPE, 0), + (lambda: schemas.XKS_PROXY_VPC_ENDPOINT_SERVICE_NAME_TYPE, 0), + (lambda: schemas.ACCOUNT_ID_TYPE, 0), + ), +) + +CUSTOM_KEY_STORES_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _CKSLE, + 0, + (_CKSI, _CKSN, _CHCI, _TAC, _CS, _CEC, _CD, _CKST, _XPCk), + ( + (lambda: schemas.CUSTOM_KEY_STORE_ID_TYPE, 0), + (lambda: schemas.CUSTOM_KEY_STORE_NAME_TYPE, 0), + (lambda: schemas.CLOUD_HSM_CLUSTER_ID_TYPE, 0), + (lambda: schemas.TRUST_ANCHOR_CERTIFICATE_TYPE, 0), + (lambda: schemas.CONNECTION_STATE_TYPE, 0), + (lambda: schemas.CONNECTION_ERROR_CODE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.CUSTOM_KEY_STORE_TYPE, 0), + (XKS_PROXY_CONFIGURATION_TYPE, 0), + ), +) + +CUSTOM_KEY_STORES_LIST: StaticSchema = ( + 16, + n0, + _CKSL, + 0, + (_m,), + ((CUSTOM_KEY_STORES_LIST_ENTRY, 0),), +) + +DATA_KEY_PAIR_SPEC: StaticSchema = ( + 14, + n0, + _DKPS, + 0, + (_R, _R_, _R__, _ENP, _ENP_, _ENP__, _ESP, _SM, _ENE, _MK, _MK_, _MK__), + ( + (-1, {_sV: _R}), + (-1, {_sV: _R_}), + (-1, {_sV: _R__}), + (-1, {_sV: _ENP}), + (-1, {_sV: _ENP_}), + (-1, {_sV: _ENP__}), + (-1, {_sV: _ESP}), + (-1, {_sV: _SM}), + (-1, {_sV: _ENE}), + (-1, {_sV: _MK}), + (-1, {_sV: _MK_}), + (-1, {_sV: _MK__}), + ), +) + +DATA_KEY_SPEC: StaticSchema = ( + 14, + n0, + _DKS, + 0, + (_A_, _A__), + ((-1, {_sV: _A_}), (-1, {_sV: _A__})), +) + +DECAPSULATE_INPUT: StaticSchema = ( + 18, + n0, + _DI, + {_sSI: _cDR, _smi: None}, + (_KI, _SSCB, _EAnc, _GT, _DR), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.CIPHERTEXT_TYPE, 1), + (ENCAPSULATION_ALGORITHM_SPEC, 1), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +DECAPSULATE_OUTPUT: StaticSchema = ( + 18, + n0, + _DO, + {_sSI: _cDRo, _smith: None}, + (_KI, _SS, _EAnc), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: PLAINTEXT_TYPE, 0), + (ENCAPSULATION_ALGORITHM_SPEC, 0), + ), +) + +DECAPSULATE: StaticOperationSchema = ( + 23, + n0, + _De, + 0, + DECAPSULATE_INPUT, + DECAPSULATE_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: INVALID_CIPHERTEXT_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: INVALID_KEY_USAGE_EXCEPTION, + lambda: KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +PLAINTEXT_TYPE: StaticSchema = (1, n0, _PTl, 4) + +INVALID_CIPHERTEXT_EXCEPTION: StaticSchema = ( + 18, + n0, + _ICE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidCiphertext", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +INVALID_KEY_USAGE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IKUE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidKeyUsage", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +KEY_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _KUE, + { + _s: _se, + _sE: 500, + _aQE: MappingProxyType({"code": "KeyUnavailable", "httpResponseCode": 500}), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +DRY_RUN_MODIFIER_TYPE: StaticSchema = (14, n0, _DRMT, 0, (_IC_,), ((-1, {_sV: _IC_}),)) + +DRY_RUN_MODIFIER_LIST: StaticSchema = ( + 16, + n0, + _DRML, + 0, + (_m,), + ((DRY_RUN_MODIFIER_TYPE, 0),), +) + +KEY_ENCRYPTION_MECHANISM: StaticSchema = ( + 14, + n0, + _KEM, + 0, + (_ROS_,), + ((-1, {_sV: _ROS_}),), +) + +RECIPIENT_INFO: StaticSchema = ( + 18, + n0, + _RI, + 0, + (_KEA, _AD), + ((KEY_ENCRYPTION_MECHANISM, 0), (lambda: schemas.ATTESTATION_DOCUMENT_TYPE, 0)), +) + +DECRYPT_INPUT: StaticSchema = ( + 18, + n0, + _DIe, + {_sSI: _cDRom, _smi: None}, + (_CB, _EC, _GT, _KI, _EAncr, _Rec, _DR, _DRM), + ( + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.ENCRYPTION_CONTEXT_TYPE, 0), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (ENCRYPTION_ALGORITHM_SPEC, 0), + (RECIPIENT_INFO, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + (DRY_RUN_MODIFIER_LIST, 0), + ), +) + +DECRYPT_OUTPUT: StaticSchema = ( + 18, + n0, + _DOe, + {_sSI: _cDRoma, _smith: None}, + (_KI, _Pl, _EAncr, _CFR, _KMI), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (PLAINTEXT_TYPE, 0), + (ENCRYPTION_ALGORITHM_SPEC, 0), + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + ), +) + +DECRYPT: StaticOperationSchema = ( + 23, + n0, + _D, + 0, + DECRYPT_INPUT, + DECRYPT_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: INCORRECT_KEY_EXCEPTION, + INVALID_CIPHERTEXT_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + INVALID_KEY_USAGE_EXCEPTION, + KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +INCORRECT_KEY_EXCEPTION: StaticSchema = ( + 18, + n0, + _IKE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "IncorrectKeyException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +DELETE_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _DAI, + {_sSI: _cDAR, _smi: None}, + (_AN,), + ((lambda: schemas.ALIAS_NAME_TYPE, 1),), +) + +DELETE_ALIAS_OUTPUT: StaticSchema = (18, n0, _DAO, {_sSI: _sU, _smith: None}) + +DELETE_ALIAS: StaticOperationSchema = ( + 23, + n0, + _DA, + 0, + DELETE_ALIAS_INPUT, + DELETE_ALIAS_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +DELETE_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( + 18, + n0, + _DCKSI, + {_sSI: _cDCKSR, _smi: None}, + (_CKSI,), + ((lambda: schemas.CUSTOM_KEY_STORE_ID_TYPE, 1),), +) + +DELETE_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _DCKSO, + {_sSI: _cDCKSRo, _smith: None}, +) + +DELETE_CUSTOM_KEY_STORE: StaticOperationSchema = ( + 23, + n0, + _DCKS, + 0, + DELETE_CUSTOM_KEY_STORE_INPUT, + DELETE_CUSTOM_KEY_STORE_OUTPUT, + ( + CUSTOM_KEY_STORE_HAS_CM_KS_EXCEPTION, + lambda: schemas.CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, + lambda: schemas.CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + ), +) + +DELETE_IMPORTED_KEY_MATERIAL_INPUT: StaticSchema = ( + 18, + n0, + _DIKMI, + {_sSI: _cDIKMR, _smi: None}, + (_KI, _KMI), + ((lambda: schemas.KEY_ID_TYPE, 1), (lambda: schemas.BACKING_KEY_ID_TYPE, 0)), +) + +DELETE_IMPORTED_KEY_MATERIAL_OUTPUT: StaticSchema = ( + 18, + n0, + _DIKMO, + {_sSI: _cDIKMRo, _smith: None}, + (_KI, _KMI), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.BACKING_KEY_ID_RESPONSE_TYPE, 0), + ), +) + +DELETE_IMPORTED_KEY_MATERIAL: StaticOperationSchema = ( + 23, + n0, + _DIKM, + 0, + DELETE_IMPORTED_KEY_MATERIAL_INPUT, + DELETE_IMPORTED_KEY_MATERIAL_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +PUBLIC_KEY_TYPE: StaticSchema = (1, n0, _PKT, 0) + +DERIVE_SHARED_SECRET_INPUT: StaticSchema = ( + 18, + n0, + _DSSI, + {_sSI: _cDSSR, _smi: None}, + (_KI, _KAAe, _PKu, _GT, _DR, _Rec), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (KEY_AGREEMENT_ALGORITHM_SPEC, 1), + (PUBLIC_KEY_TYPE, 1), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + (RECIPIENT_INFO, 0), + ), +) + +DERIVE_SHARED_SECRET_OUTPUT: StaticSchema = ( + 18, + n0, + _DSSO, + {_sSI: _cDSSRo, _smith: None}, + (_KI, _SS, _CFR, _KAAe, _KO), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (PLAINTEXT_TYPE, 0), + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (KEY_AGREEMENT_ALGORITHM_SPEC, 0), + (ORIGIN_TYPE, 0), + ), +) + +DERIVE_SHARED_SECRET: StaticOperationSchema = ( + 23, + n0, + _DSS, + 0, + DERIVE_SHARED_SECRET_INPUT, + DERIVE_SHARED_SECRET_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + INVALID_KEY_USAGE_EXCEPTION, + KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +LIMIT_TYPE: StaticSchema = (7, n0, _LT, 0) + +MARKER_TYPE: StaticSchema = (3, n0, _MT, 0) + +DESCRIBE_CUSTOM_KEY_STORES_INPUT: StaticSchema = ( + 18, + n0, + _DCKSIe, + {_sSI: _cDCKSRom, _smi: None}, + (_CKSI, _CKSN, _L, _M), + ( + (lambda: schemas.CUSTOM_KEY_STORE_ID_TYPE, 0), + (lambda: schemas.CUSTOM_KEY_STORE_NAME_TYPE, 0), + (LIMIT_TYPE, 0), + (MARKER_TYPE, 0), + ), +) + +DESCRIBE_CUSTOM_KEY_STORES_OUTPUT: StaticSchema = ( + 18, + n0, + _DCKSOe, + {_sSI: _cDCKSRoma, _smith: None}, + (_CKS, _NM, _Tr), + ( + (CUSTOM_KEY_STORES_LIST, 0), + (MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + ), +) + +DESCRIBE_CUSTOM_KEY_STORES: StaticOperationSchema = ( + 23, + n0, + _DCKSe, + 0, + DESCRIBE_CUSTOM_KEY_STORES_INPUT, + DESCRIBE_CUSTOM_KEY_STORES_OUTPUT, + ( + lambda: schemas.CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_MARKER_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_2.py b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_2.py new file mode 100644 index 000000000..26a2ffd9e --- /dev/null +++ b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_2.py @@ -0,0 +1,1179 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.kms" +_sV = "smithy.api#enumValue" +_CD = "CreationDate" +_m = "member" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_sm = "smithy.api#default" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_KI = "KeyId" +_smit = "smithy.api#required" +_smith = "smithy.api#output" +_CKSI = "CustomKeyStoreId" +_sU = "smithy.api#Unit" +_D = "Decrypt" +_E = "Encrypt" +_GDK = "GenerateDataKey" +_GDKWP = "GenerateDataKeyWithoutPlaintext" +_S = "Sign" +_V = "Verify" +_GPK = "GetPublicKey" +_DK = "DescribeKey" +_GDKP = "GenerateDataKeyPair" +_GDKPWP = "GenerateDataKeyPairWithoutPlaintext" +_GM = "GenerateMac" +_VM = "VerifyMac" +_DSS = "DeriveSharedSecret" +_En = "Encapsulate" +_De = "Decapsulate" +_GP = "GranteePrincipal" +_RP = "RetiringPrincipal" +_O = "Operations" +_C = "Constraints" +_GT = "GrantTokens" +_N = "Name" +_DR = "DryRun" +_GSP = "GranteeServicePrincipal" +_RSP = "RetiringServicePrincipal" +_GI = "GrantId" +_CMKS = "CustomerMasterKeySpec" +_R = "RSA_2048" +_R_ = "RSA_3072" +_R__ = "RSA_4096" +_SM = "SM2" +_KS = "KeySpec" +_P = "Policy" +_KU = "KeyUsage" +_KM = "KeyMetadata" +_VT = "ValidTo" +_EM = "ExpirationModel" +_EA = "EncryptionAlgorithms" +_SAi = "SigningAlgorithms" +_KAA = "KeyAgreementAlgorithms" +_EAn = "EncapsulationAlgorithms" +_SSCB = "SharedSecretCiphertextBlob" +_EAnc = "EncapsulationAlgorithm" +_SS = "SharedSecret" +_CB = "CiphertextBlob" +_EC = "EncryptionContext" +_EAncr = "EncryptionAlgorithm" +_Rec = "Recipient" +_Pl = "Plaintext" +_CFR = "CiphertextForRecipient" +_KMI = "KeyMaterialId" +_PKu = "PublicKey" +_DKI = "DescribeKeyInput" +_cDKR = "com.amazonaws.kms#DescribeKeyRequest" +_DKO = "DescribeKeyOutput" +_cDKRo = "com.amazonaws.kms#DescribeKeyResponse" +_DKIi = "DisableKeyInput" +_cDKRom = "com.amazonaws.kms#DisableKeyRequest" +_DKOi = "DisableKeyOutput" +_DKi = "DisableKey" +_DKRI = "DisableKeyRotationInput" +_cDKRR = "com.amazonaws.kms#DisableKeyRotationRequest" +_DKRO = "DisableKeyRotationOutput" +_DKR = "DisableKeyRotation" +_DCKSIi = "DisconnectCustomKeyStoreInput" +_cDCKSRomam = "com.amazonaws.kms#DisconnectCustomKeyStoreRequest" +_DCKSOi = "DisconnectCustomKeyStoreOutput" +_cDCKSRomama = "com.amazonaws.kms#DisconnectCustomKeyStoreResponse" +_DCKSi = "DisconnectCustomKeyStore" +_EKI = "EnableKeyInput" +_cEKR = "com.amazonaws.kms#EnableKeyRequest" +_EKO = "EnableKeyOutput" +_EK = "EnableKey" +_RPIDT = "RotationPeriodInDaysType" +_EKRI = "EnableKeyRotationInput" +_cEKRR = "com.amazonaws.kms#EnableKeyRotationRequest" +_RPID = "RotationPeriodInDays" +_EKRO = "EnableKeyRotationOutput" +_EKR = "EnableKeyRotation" +_EI = "EncapsulateInput" +_cER = "com.amazonaws.kms#EncapsulateRequest" +_EO = "EncapsulateOutput" +_cERo = "com.amazonaws.kms#EncapsulateResponse" +_EIn = "EncryptInput" +_cERom = "com.amazonaws.kms#EncryptRequest" +_EOn = "EncryptOutput" +_cERoma = "com.amazonaws.kms#EncryptResponse" +_EITE = "ExpiredImportTokenException" +_NOBT = "NumberOfBytesType" +_GDKI = "GenerateDataKeyInput" +_cGDKR = "com.amazonaws.kms#GenerateDataKeyRequest" +_NOB = "NumberOfBytes" +_GDKO = "GenerateDataKeyOutput" +_cGDKRo = "com.amazonaws.kms#GenerateDataKeyResponse" +_GDKPI = "GenerateDataKeyPairInput" +_cGDKPR = "com.amazonaws.kms#GenerateDataKeyPairRequest" +_KPS = "KeyPairSpec" +_GDKPO = "GenerateDataKeyPairOutput" +_cGDKPRo = "com.amazonaws.kms#GenerateDataKeyPairResponse" +_PKCB = "PrivateKeyCiphertextBlob" +_PKP = "PrivateKeyPlaintext" +_GDKPWPI = "GenerateDataKeyPairWithoutPlaintextInput" +_cGDKPWPR = "com.amazonaws.kms#GenerateDataKeyPairWithoutPlaintextRequest" +_GDKPWPO = "GenerateDataKeyPairWithoutPlaintextOutput" +_cGDKPWPRo = "com.amazonaws.kms#GenerateDataKeyPairWithoutPlaintextResponse" +_GDKWPI = "GenerateDataKeyWithoutPlaintextInput" +_cGDKWPR = "com.amazonaws.kms#GenerateDataKeyWithoutPlaintextRequest" +_GDKWPO = "GenerateDataKeyWithoutPlaintextOutput" +_cGDKWPRo = "com.amazonaws.kms#GenerateDataKeyWithoutPlaintextResponse" +_GMI = "GenerateMacInput" +_cGMR = "com.amazonaws.kms#GenerateMacRequest" +_Me = "Message" +_MAa = "MacAlgorithm" +_GMO = "GenerateMacOutput" +_cGMRo = "com.amazonaws.kms#GenerateMacResponse" +_Ma = "Mac" +_GRI = "GenerateRandomInput" +_cGRR = "com.amazonaws.kms#GenerateRandomRequest" +_GRO = "GenerateRandomOutput" +_cGRRo = "com.amazonaws.kms#GenerateRandomResponse" +_GR = "GenerateRandom" +_GKLUI = "GetKeyLastUsageInput" +_cGKLUR = "com.amazonaws.kms#GetKeyLastUsageRequest" +_KRIT = "KmsRequestIdType" +_KLUTO = "KeyLastUsageTrackingOperation" +_RE = "ReEncrypt" +_KLUD = "KeyLastUsageData" +_Op = "Operation" +_Ti = "Timestamp" +_CTEI = "CloudTrailEventId" +_KRI = "KmsRequestId" +_GKLUO = "GetKeyLastUsageOutput" +_cGKLURo = "com.amazonaws.kms#GetKeyLastUsageResponse" +_KLU = "KeyLastUsage" +_TSD = "TrackingStartDate" +_KCD = "KeyCreationDate" +_GKLU = "GetKeyLastUsage" +_GKPI = "GetKeyPolicyInput" +_cGKPR = "com.amazonaws.kms#GetKeyPolicyRequest" +_PN = "PolicyName" +_GKPO = "GetKeyPolicyOutput" +_cGKPRo = "com.amazonaws.kms#GetKeyPolicyResponse" +_GKP = "GetKeyPolicy" +_GKRSI = "GetKeyRotationStatusInput" +_cGKRSR = "com.amazonaws.kms#GetKeyRotationStatusRequest" +_GKRSO = "GetKeyRotationStatusOutput" +_cGKRSRo = "com.amazonaws.kms#GetKeyRotationStatusResponse" +_KRE = "KeyRotationEnabled" +_NRD = "NextRotationDate" +_ODRSD = "OnDemandRotationStartDate" +_GKRS = "GetKeyRotationStatus" +_WKS = "WrappingKeySpec" +_GPFII = "GetParametersForImportInput" +_cGPFIR = "com.amazonaws.kms#GetParametersForImportRequest" +_WA = "WrappingAlgorithm" +_GPFIO = "GetParametersForImportOutput" +_cGPFIRo = "com.amazonaws.kms#GetParametersForImportResponse" +_IT = "ImportToken" +_PVT = "ParametersValidTo" +_GPFI = "GetParametersForImport" +_GPKI = "GetPublicKeyInput" +_cGPKR = "com.amazonaws.kms#GetPublicKeyRequest" +_GPKO = "GetPublicKeyOutput" +_cGPKRo = "com.amazonaws.kms#GetPublicKeyResponse" +_GLE = "GrantListEntry" +_IA = "IssuingAccount" +_GL = "GrantList" +_ITm = "ImportType" +_NKM = "NEW_KEY_MATERIAL" +_EKM = "EXISTING_KEY_MATERIAL" +_KMDT = "KeyMaterialDescriptionType" +_IKMI = "ImportKeyMaterialInput" +_cIKMR = "com.amazonaws.kms#ImportKeyMaterialRequest" +_EKMn = "EncryptedKeyMaterial" +_KMD = "KeyMaterialDescription" +_IKMO = "ImportKeyMaterialOutput" +_cIKMRo = "com.amazonaws.kms#ImportKeyMaterialResponse" +_IKME = "IncorrectKeyMaterialException" +_IITE = "InvalidImportTokenException" +_IKM = "ImportKeyMaterial" +_IS = "ImportState" +_IMPORTED = "IMPORTED" +_PI_ = "PENDING_IMPORT" +_IKMn = "IncludeKeyMaterial" +_AKM = "ALL_KEY_MATERIAL" +_RO = "ROTATIONS_ONLY" + +DESCRIBE_KEY_INPUT: StaticSchema = ( + 18, + n0, + _DKI, + {_sSI: _cDKR, _smi: None}, + (_KI, _GT), + ((lambda: schemas.KEY_ID_TYPE, 1), (lambda: schemas.GRANT_TOKEN_LIST, 0)), +) + +DESCRIBE_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _DKO, + {_sSI: _cDKRo, _smith: None}, + (_KM,), + ((lambda: schemas.KEY_METADATA, 0),), +) + +DESCRIBE_KEY: StaticOperationSchema = ( + 23, + n0, + _DK, + 0, + DESCRIBE_KEY_INPUT, + DESCRIBE_KEY_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +DISABLE_KEY_INPUT: StaticSchema = ( + 18, + n0, + _DKIi, + {_sSI: _cDKRom, _smi: None}, + (_KI,), + ((lambda: schemas.KEY_ID_TYPE, 1),), +) + +DISABLE_KEY_OUTPUT: StaticSchema = (18, n0, _DKOi, {_sSI: _sU, _smith: None}) + +DISABLE_KEY: StaticOperationSchema = ( + 23, + n0, + _DKi, + 0, + DISABLE_KEY_INPUT, + DISABLE_KEY_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +DISABLE_KEY_ROTATION_INPUT: StaticSchema = ( + 18, + n0, + _DKRI, + {_sSI: _cDKRR, _smi: None}, + (_KI,), + ((lambda: schemas.KEY_ID_TYPE, 1),), +) + +DISABLE_KEY_ROTATION_OUTPUT: StaticSchema = (18, n0, _DKRO, {_sSI: _sU, _smith: None}) + +DISABLE_KEY_ROTATION: StaticOperationSchema = ( + 23, + n0, + _DKR, + 0, + DISABLE_KEY_ROTATION_INPUT, + DISABLE_KEY_ROTATION_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +DISCONNECT_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( + 18, + n0, + _DCKSIi, + {_sSI: _cDCKSRomam, _smi: None}, + (_CKSI,), + ((lambda: schemas.CUSTOM_KEY_STORE_ID_TYPE, 1),), +) + +DISCONNECT_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _DCKSOi, + {_sSI: _cDCKSRomama, _smith: None}, +) + +DISCONNECT_CUSTOM_KEY_STORE: StaticOperationSchema = ( + 23, + n0, + _DCKSi, + 0, + DISCONNECT_CUSTOM_KEY_STORE_INPUT, + DISCONNECT_CUSTOM_KEY_STORE_OUTPUT, + ( + lambda: schemas.CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, + lambda: schemas.CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + ), +) + +ENABLE_KEY_INPUT: StaticSchema = ( + 18, + n0, + _EKI, + {_sSI: _cEKR, _smi: None}, + (_KI,), + ((lambda: schemas.KEY_ID_TYPE, 1),), +) + +ENABLE_KEY_OUTPUT: StaticSchema = (18, n0, _EKO, {_sSI: _sU, _smith: None}) + +ENABLE_KEY: StaticOperationSchema = ( + 23, + n0, + _EK, + 0, + ENABLE_KEY_INPUT, + ENABLE_KEY_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +ROTATION_PERIOD_IN_DAYS_TYPE: StaticSchema = (7, n0, _RPIDT, 0) + +ENABLE_KEY_ROTATION_INPUT: StaticSchema = ( + 18, + n0, + _EKRI, + {_sSI: _cEKRR, _smi: None}, + (_KI, _RPID), + ((lambda: schemas.KEY_ID_TYPE, 1), (ROTATION_PERIOD_IN_DAYS_TYPE, 0)), +) + +ENABLE_KEY_ROTATION_OUTPUT: StaticSchema = (18, n0, _EKRO, {_sSI: _sU, _smith: None}) + +ENABLE_KEY_ROTATION: StaticOperationSchema = ( + 23, + n0, + _EKR, + 0, + ENABLE_KEY_ROTATION_INPUT, + ENABLE_KEY_ROTATION_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +ENCAPSULATE_INPUT: StaticSchema = ( + 18, + n0, + _EI, + {_sSI: _cER, _smi: None}, + (_KI, _EAnc, _GT, _DR), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.ENCAPSULATION_ALGORITHM_SPEC, 1), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +ENCAPSULATE_OUTPUT: StaticSchema = ( + 18, + n0, + _EO, + {_sSI: _cERo, _smith: None}, + (_KI, _SS, _SSCB, _EAnc), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.PLAINTEXT_TYPE, 0), + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.ENCAPSULATION_ALGORITHM_SPEC, 0), + ), +) + +ENCAPSULATE: StaticOperationSchema = ( + 23, + n0, + _En, + 0, + ENCAPSULATE_INPUT, + ENCAPSULATE_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +ENCRYPT_INPUT: StaticSchema = ( + 18, + n0, + _EIn, + {_sSI: _cERom, _smi: None}, + (_KI, _Pl, _EC, _GT, _EAncr, _DR), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.PLAINTEXT_TYPE, 1), + (lambda: schemas.ENCRYPTION_CONTEXT_TYPE, 0), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.ENCRYPTION_ALGORITHM_SPEC, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +ENCRYPT_OUTPUT: StaticSchema = ( + 18, + n0, + _EOn, + {_sSI: _cERoma, _smith: None}, + (_CB, _KI, _EAncr), + ( + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.ENCRYPTION_ALGORITHM_SPEC, 0), + ), +) + +ENCRYPT: StaticOperationSchema = ( + 23, + n0, + _E, + 0, + ENCRYPT_INPUT, + ENCRYPT_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +EXPIRED_IMPORT_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _EITE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ExpiredImportTokenException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +NUMBER_OF_BYTES_TYPE: StaticSchema = (7, n0, _NOBT, 0) + +GENERATE_DATA_KEY_INPUT: StaticSchema = ( + 18, + n0, + _GDKI, + {_sSI: _cGDKR, _smi: None}, + (_KI, _EC, _NOB, _KS, _GT, _Rec, _DR), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.ENCRYPTION_CONTEXT_TYPE, 0), + (NUMBER_OF_BYTES_TYPE, 0), + (lambda: schemas.DATA_KEY_SPEC, 0), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.RECIPIENT_INFO, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +GENERATE_DATA_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _GDKO, + {_sSI: _cGDKRo, _smith: None}, + (_CB, _Pl, _KI, _CFR, _KMI), + ( + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.PLAINTEXT_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + ), +) + +GENERATE_DATA_KEY: StaticOperationSchema = ( + 23, + n0, + _GDK, + 0, + GENERATE_DATA_KEY_INPUT, + GENERATE_DATA_KEY_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +GENERATE_DATA_KEY_PAIR_INPUT: StaticSchema = ( + 18, + n0, + _GDKPI, + {_sSI: _cGDKPR, _smi: None}, + (_EC, _KI, _KPS, _GT, _Rec, _DR), + ( + (lambda: schemas.ENCRYPTION_CONTEXT_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.DATA_KEY_PAIR_SPEC, 1), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.RECIPIENT_INFO, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +GENERATE_DATA_KEY_PAIR_OUTPUT: StaticSchema = ( + 18, + n0, + _GDKPO, + {_sSI: _cGDKPRo, _smith: None}, + (_PKCB, _PKP, _PKu, _KI, _KPS, _CFR, _KMI), + ( + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.PLAINTEXT_TYPE, 0), + (lambda: schemas.PUBLIC_KEY_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.DATA_KEY_PAIR_SPEC, 0), + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + ), +) + +GENERATE_DATA_KEY_PAIR: StaticOperationSchema = ( + 23, + n0, + _GDKP, + 0, + GENERATE_DATA_KEY_PAIR_INPUT, + GENERATE_DATA_KEY_PAIR_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_INPUT: StaticSchema = ( + 18, + n0, + _GDKPWPI, + {_sSI: _cGDKPWPR, _smi: None}, + (_EC, _KI, _KPS, _GT, _DR), + ( + (lambda: schemas.ENCRYPTION_CONTEXT_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.DATA_KEY_PAIR_SPEC, 1), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_OUTPUT: StaticSchema = ( + 18, + n0, + _GDKPWPO, + {_sSI: _cGDKPWPRo, _smith: None}, + (_PKCB, _PKu, _KI, _KPS, _KMI), + ( + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.PUBLIC_KEY_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.DATA_KEY_PAIR_SPEC, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + ), +) + +GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: StaticOperationSchema = ( + 23, + n0, + _GDKPWP, + 0, + GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_INPUT, + GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_INPUT: StaticSchema = ( + 18, + n0, + _GDKWPI, + {_sSI: _cGDKWPR, _smi: None}, + (_KI, _EC, _KS, _NOB, _GT, _DR), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.ENCRYPTION_CONTEXT_TYPE, 0), + (lambda: schemas.DATA_KEY_SPEC, 0), + (NUMBER_OF_BYTES_TYPE, 0), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_OUTPUT: StaticSchema = ( + 18, + n0, + _GDKWPO, + {_sSI: _cGDKWPRo, _smith: None}, + (_CB, _KI, _KMI), + ( + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + ), +) + +GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: StaticOperationSchema = ( + 23, + n0, + _GDKWP, + 0, + GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_INPUT, + GENERATE_DATA_KEY_WITHOUT_PLAINTEXT_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +GENERATE_MAC_INPUT: StaticSchema = ( + 18, + n0, + _GMI, + {_sSI: _cGMR, _smi: None}, + (_Me, _KI, _MAa, _GT, _DR), + ( + (lambda: schemas.PLAINTEXT_TYPE, 1), + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.MAC_ALGORITHM_SPEC, 1), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +GENERATE_MAC_OUTPUT: StaticSchema = ( + 18, + n0, + _GMO, + {_sSI: _cGMRo, _smith: None}, + (_Ma, _MAa, _KI), + ( + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.MAC_ALGORITHM_SPEC, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + ), +) + +GENERATE_MAC: StaticOperationSchema = ( + 23, + n0, + _GM, + 0, + GENERATE_MAC_INPUT, + GENERATE_MAC_OUTPUT, + ( + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +GENERATE_RANDOM_INPUT: StaticSchema = ( + 18, + n0, + _GRI, + {_sSI: _cGRR, _smi: None}, + (_NOB, _CKSI, _Rec), + ( + (NUMBER_OF_BYTES_TYPE, 0), + (lambda: schemas.CUSTOM_KEY_STORE_ID_TYPE, 0), + (lambda: schemas.RECIPIENT_INFO, 0), + ), +) + +GENERATE_RANDOM_OUTPUT: StaticSchema = ( + 18, + n0, + _GRO, + {_sSI: _cGRRo, _smith: None}, + (_Pl, _CFR), + ((lambda: schemas.PLAINTEXT_TYPE, 0), (lambda: schemas.CIPHERTEXT_TYPE, 0)), +) + +GENERATE_RANDOM: StaticOperationSchema = ( + 23, + n0, + _GR, + 0, + GENERATE_RANDOM_INPUT, + GENERATE_RANDOM_OUTPUT, + ( + lambda: schemas.CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, + lambda: schemas.CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +GET_KEY_LAST_USAGE_INPUT: StaticSchema = ( + 18, + n0, + _GKLUI, + {_sSI: _cGKLUR, _smi: None}, + (_KI,), + ((lambda: schemas.KEY_ID_TYPE, 1),), +) + +GET_KEY_LAST_USAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _GKLUO, + {_sSI: _cGKLURo, _smith: None}, + (_KI, _KLU, _TSD, _KCD), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: KEY_LAST_USAGE_DATA, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +GET_KEY_LAST_USAGE: StaticOperationSchema = ( + 23, + n0, + _GKLU, + 0, + GET_KEY_LAST_USAGE_INPUT, + GET_KEY_LAST_USAGE_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +KMS_REQUEST_ID_TYPE: StaticSchema = (3, n0, _KRIT, 0) + +KEY_LAST_USAGE_TRACKING_OPERATION: StaticSchema = ( + 14, + n0, + _KLUTO, + 0, + (_D, _DSS, _E, _GDK, _GDKP, _GDKPWP, _GDKWP, _GM, _RE, _S, _V, _VM, _En, _De), + ( + (-1, {_sV: _D}), + (-1, {_sV: _DSS}), + (-1, {_sV: _E}), + (-1, {_sV: _GDK}), + (-1, {_sV: _GDKP}), + (-1, {_sV: _GDKPWP}), + (-1, {_sV: _GDKWP}), + (-1, {_sV: _GM}), + (-1, {_sV: _RE}), + (-1, {_sV: _S}), + (-1, {_sV: _V}), + (-1, {_sV: _VM}), + (-1, {_sV: _En}), + (-1, {_sV: _De}), + ), +) + +KEY_LAST_USAGE_DATA: StaticSchema = ( + 18, + n0, + _KLUD, + 0, + (_Op, _Ti, _CTEI, _KRI), + ( + (KEY_LAST_USAGE_TRACKING_OPERATION, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.CLOUD_TRAIL_EVENT_ID_TYPE, 0), + (KMS_REQUEST_ID_TYPE, 0), + ), +) + +GET_KEY_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GKPI, + {_sSI: _cGKPR, _smi: None}, + (_KI, _PN), + ((lambda: schemas.KEY_ID_TYPE, 1), (lambda: schemas.POLICY_NAME_TYPE, 0)), +) + +GET_KEY_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GKPO, + {_sSI: _cGKPRo, _smith: None}, + (_P, _PN), + ((lambda: schemas.POLICY_TYPE, 0), (lambda: schemas.POLICY_NAME_TYPE, 0)), +) + +GET_KEY_POLICY: StaticOperationSchema = ( + 23, + n0, + _GKP, + 0, + GET_KEY_POLICY_INPUT, + GET_KEY_POLICY_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +GET_KEY_ROTATION_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _GKRSI, + {_sSI: _cGKRSR, _smi: None}, + (_KI,), + ((lambda: schemas.KEY_ID_TYPE, 1),), +) + +GET_KEY_ROTATION_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _GKRSO, + {_sSI: _cGKRSRo, _smith: None}, + (_KRE, _KI, _RPID, _NRD, _ODRSD), + ( + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + (lambda: schemas.KEY_ID_TYPE, 0), + (ROTATION_PERIOD_IN_DAYS_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +GET_KEY_ROTATION_STATUS: StaticOperationSchema = ( + 23, + n0, + _GKRS, + 0, + GET_KEY_ROTATION_STATUS_INPUT, + GET_KEY_ROTATION_STATUS_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +WRAPPING_KEY_SPEC: StaticSchema = ( + 14, + n0, + _WKS, + 0, + (_R, _R_, _R__, _SM), + ((-1, {_sV: _R}), (-1, {_sV: _R_}), (-1, {_sV: _R__}), (-1, {_sV: _SM})), +) + +GET_PARAMETERS_FOR_IMPORT_INPUT: StaticSchema = ( + 18, + n0, + _GPFII, + {_sSI: _cGPFIR, _smi: None}, + (_KI, _WA, _WKS), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.ALGORITHM_SPEC, 1), + (WRAPPING_KEY_SPEC, 1), + ), +) + +GET_PARAMETERS_FOR_IMPORT_OUTPUT: StaticSchema = ( + 18, + n0, + _GPFIO, + {_sSI: _cGPFIRo, _smith: None}, + (_KI, _IT, _PKu, _PVT), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.PLAINTEXT_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + ), +) + +GET_PARAMETERS_FOR_IMPORT: StaticOperationSchema = ( + 23, + n0, + _GPFI, + 0, + GET_PARAMETERS_FOR_IMPORT_INPUT, + GET_PARAMETERS_FOR_IMPORT_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +GET_PUBLIC_KEY_INPUT: StaticSchema = ( + 18, + n0, + _GPKI, + {_sSI: _cGPKR, _smi: None}, + (_KI, _GT), + ((lambda: schemas.KEY_ID_TYPE, 1), (lambda: schemas.GRANT_TOKEN_LIST, 0)), +) + +GET_PUBLIC_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _GPKO, + {_sSI: _cGPKRo, _smith: None}, + (_KI, _PKu, _CMKS, _KS, _KU, _EA, _SAi, _KAA, _EAn), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.PUBLIC_KEY_TYPE, 0), + (lambda: schemas.CUSTOMER_MASTER_KEY_SPEC, 0), + (lambda: schemas.KEY_SPEC, 0), + (lambda: schemas.KEY_USAGE_TYPE, 0), + (lambda: schemas.ENCRYPTION_ALGORITHM_SPEC_LIST, 0), + (lambda: schemas.SIGNING_ALGORITHM_SPEC_LIST, 0), + (lambda: schemas.KEY_AGREEMENT_ALGORITHM_SPEC_LIST, 0), + (lambda: schemas.ENCAPSULATION_ALGORITHM_SPEC_LIST, 0), + ), +) + +GET_PUBLIC_KEY: StaticOperationSchema = ( + 23, + n0, + _GPK, + 0, + GET_PUBLIC_KEY_INPUT, + GET_PUBLIC_KEY_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +GRANT_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _GLE, + 0, + (_KI, _GI, _N, _CD, _GP, _RP, _IA, _O, _C, _GSP, _RSP), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.GRANT_ID_TYPE, 0), + (lambda: schemas.GRANT_NAME_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.PRINCIPAL_ID_TYPE, 0), + (lambda: schemas.PRINCIPAL_ID_TYPE, 0), + (lambda: schemas.PRINCIPAL_ID_TYPE, 0), + (lambda: schemas.GRANT_OPERATION_LIST, 0), + (lambda: schemas.GRANT_CONSTRAINTS, 0), + (lambda: schemas.SERVICE_PRINCIPAL_TYPE, 0), + (lambda: schemas.SERVICE_PRINCIPAL_TYPE, 0), + ), +) + +GRANT_LIST: StaticSchema = (16, n0, _GL, 0, (_m,), ((GRANT_LIST_ENTRY, 0),)) + +IMPORT_TYPE: StaticSchema = ( + 14, + n0, + _ITm, + 0, + (_NKM, _EKM), + ((-1, {_sV: _NKM}), (-1, {_sV: _EKM})), +) + +KEY_MATERIAL_DESCRIPTION_TYPE: StaticSchema = (3, n0, _KMDT, 0) + +IMPORT_KEY_MATERIAL_INPUT: StaticSchema = ( + 18, + n0, + _IKMI, + {_sSI: _cIKMR, _smi: None}, + (_KI, _IT, _EKMn, _VT, _EM, _ITm, _KMD, _KMI), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.CIPHERTEXT_TYPE, 1), + (lambda: schemas.CIPHERTEXT_TYPE, 1), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.EXPIRATION_MODEL_TYPE, 0), + (IMPORT_TYPE, 0), + (KEY_MATERIAL_DESCRIPTION_TYPE, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + ), +) + +IMPORT_KEY_MATERIAL_OUTPUT: StaticSchema = ( + 18, + n0, + _IKMO, + {_sSI: _cIKMRo, _smith: None}, + (_KI, _KMI), + ((lambda: schemas.KEY_ID_TYPE, 0), (lambda: schemas.BACKING_KEY_ID_TYPE, 0)), +) + +IMPORT_KEY_MATERIAL: StaticOperationSchema = ( + 23, + n0, + _IKM, + 0, + IMPORT_KEY_MATERIAL_INPUT, + IMPORT_KEY_MATERIAL_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + EXPIRED_IMPORT_TOKEN_EXCEPTION, + lambda: INCORRECT_KEY_MATERIAL_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.INVALID_CIPHERTEXT_EXCEPTION, + lambda: INVALID_IMPORT_TOKEN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +INCORRECT_KEY_MATERIAL_EXCEPTION: StaticSchema = ( + 18, + n0, + _IKME, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "IncorrectKeyMaterialException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +INVALID_IMPORT_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _IITE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidImportTokenException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +IMPORT_STATE: StaticSchema = ( + 14, + n0, + _IS, + 0, + (_IMPORTED, _PI_), + ((-1, {_sV: _IMPORTED}), (-1, {_sV: _PI_})), +) + +INCLUDE_KEY_MATERIAL: StaticSchema = ( + 14, + n0, + _IKMn, + 0, + (_AKM, _RO), + ((-1, {_sV: _AKM}), (-1, {_sV: _RO})), +) diff --git a/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_3.py b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_3.py new file mode 100644 index 000000000..7d0f4202f --- /dev/null +++ b/clients/aws-sdk-kms/src/aws_sdk_kms/_private/schemas_3.py @@ -0,0 +1,1290 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.kms" +_sV = "smithy.api#enumValue" +_AN = "AliasName" +_TKI = "TargetKeyId" +_m = "member" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_sm = "smithy.api#default" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_KI = "KeyId" +_smit = "smithy.api#required" +_smith = "smithy.api#output" +_CKSI = "CustomKeyStoreId" +_sU = "smithy.api#Unit" +_CHCI = "CloudHsmClusterId" +_KSP = "KeyStorePassword" +_XPUE = "XksProxyUriEndpoint" +_XPUP = "XksProxyUriPath" +_XPVESN = "XksProxyVpcEndpointServiceName" +_XPVESO = "XksProxyVpcEndpointServiceOwner" +_XPAC = "XksProxyAuthenticationCredential" +_XPC = "XksProxyConnectivity" +_S = "Sign" +_V = "Verify" +_RG = "RetireGrant" +_VM = "VerifyMac" +_GP = "GranteePrincipal" +_RP = "RetiringPrincipal" +_GT = "GrantTokens" +_DR = "DryRun" +_GSP = "GranteeServicePrincipal" +_RSP = "RetiringServicePrincipal" +_GTr = "GrantToken" +_GI = "GrantId" +_P = "Policy" +_Des = "Description" +_BPLSC = "BypassPolicyLockoutSafetyCheck" +_Ta = "Tags" +_KSe = "KeyState" +_DD = "DeletionDate" +_VT = "ValidTo" +_EM = "ExpirationModel" +_CB = "CiphertextBlob" +_DRM = "DryRunModifiers" +_KMI = "KeyMaterialId" +_L = "Limit" +_M = "Marker" +_NM = "NextMarker" +_Tr = "Truncated" +_Me = "Message" +_MAa = "MacAlgorithm" +_Ma = "Mac" +_RE = "ReEncrypt" +_PN = "PolicyName" +_KMD = "KeyMaterialDescription" +_IS = "ImportState" +_IKMn = "IncludeKeyMaterial" +_IGIE = "InvalidGrantIdException" +_KLE = "KeyListEntry" +_KAe = "KeyArn" +_KL = "KeyList" +_KMS = "KeyMaterialState" +_NC = "NON_CURRENT" +_CURRENT = "CURRENT" +_PR = "PENDING_ROTATION" +_PMRIAR = "PENDING_MULTI_REGION_IMPORT_AND_ROTATION" +_KMSIME = "KMSInvalidMacException" +_KMSISEn = "KMSInvalidSignatureException" +_LAI = "ListAliasesInput" +_cLAR = "com.amazonaws.kms#ListAliasesRequest" +_LAO = "ListAliasesOutput" +_cLARo = "com.amazonaws.kms#ListAliasesResponse" +_Al = "Aliases" +_LA = "ListAliases" +_LGI = "ListGrantsInput" +_cLGR = "com.amazonaws.kms#ListGrantsRequest" +_LGO = "ListGrantsOutput" +_cLGRo = "com.amazonaws.kms#ListGrantsResponse" +_G = "Grants" +_LG = "ListGrants" +_LKPI = "ListKeyPoliciesInput" +_cLKPR = "com.amazonaws.kms#ListKeyPoliciesRequest" +_PNL = "PolicyNameList" +_LKPO = "ListKeyPoliciesOutput" +_cLKPRo = "com.amazonaws.kms#ListKeyPoliciesResponse" +_PNo = "PolicyNames" +_LKP = "ListKeyPolicies" +_LKRI = "ListKeyRotationsInput" +_cLKRR = "com.amazonaws.kms#ListKeyRotationsRequest" +_RTo = "RotationType" +_AUTOMATIC = "AUTOMATIC" +_OD = "ON_DEMAND" +_RLE = "RotationsListEntry" +_RD = "RotationDate" +_RL = "RotationsList" +_LKRO = "ListKeyRotationsOutput" +_cLKRRo = "com.amazonaws.kms#ListKeyRotationsResponse" +_Ro = "Rotations" +_LKR = "ListKeyRotations" +_LKI = "ListKeysInput" +_cLKR = "com.amazonaws.kms#ListKeysRequest" +_LKO = "ListKeysOutput" +_cLKRo = "com.amazonaws.kms#ListKeysResponse" +_K = "Keys" +_LK = "ListKeys" +_LRTI = "ListResourceTagsInput" +_cLRTR = "com.amazonaws.kms#ListResourceTagsRequest" +_LRTO = "ListResourceTagsOutput" +_cLRTRo = "com.amazonaws.kms#ListResourceTagsResponse" +_LRT = "ListResourceTags" +_LRGI = "ListRetirableGrantsInput" +_cLRGR = "com.amazonaws.kms#ListRetirableGrantsRequest" +_LRGO = "ListRetirableGrantsOutput" +_LRG = "ListRetirableGrants" +_MTe = "MessageType" +_RAW = "RAW" +_DIGEST = "DIGEST" +_EM_ = "EXTERNAL_MU" +_PKPI = "PutKeyPolicyInput" +_cPKPR = "com.amazonaws.kms#PutKeyPolicyRequest" +_PKPO = "PutKeyPolicyOutput" +_PKPu = "PutKeyPolicy" +_REI = "ReEncryptInput" +_cRER = "com.amazonaws.kms#ReEncryptRequest" +_SEC = "SourceEncryptionContext" +_SKI = "SourceKeyId" +_DKIe = "DestinationKeyId" +_DEC = "DestinationEncryptionContext" +_SEA = "SourceEncryptionAlgorithm" +_DEA = "DestinationEncryptionAlgorithm" +_REO = "ReEncryptOutput" +_cRERo = "com.amazonaws.kms#ReEncryptResponse" +_SKMI = "SourceKeyMaterialId" +_DKMI = "DestinationKeyMaterialId" +_RKI = "ReplicateKeyInput" +_cRKR = "com.amazonaws.kms#ReplicateKeyRequest" +_RR = "ReplicaRegion" +_RKO = "ReplicateKeyOutput" +_cRKRo = "com.amazonaws.kms#ReplicateKeyResponse" +_RKM = "ReplicaKeyMetadata" +_RPe = "ReplicaPolicy" +_RTe = "ReplicaTags" +_RKe = "ReplicateKey" +_RGI = "RetireGrantInput" +_cRGR = "com.amazonaws.kms#RetireGrantRequest" +_RGO = "RetireGrantOutput" +_RGIe = "RevokeGrantInput" +_cRGRo = "com.amazonaws.kms#RevokeGrantRequest" +_RGOe = "RevokeGrantOutput" +_RGe = "RevokeGrant" +_RKODI = "RotateKeyOnDemandInput" +_cRKODR = "com.amazonaws.kms#RotateKeyOnDemandRequest" +_RKODO = "RotateKeyOnDemandOutput" +_cRKODRo = "com.amazonaws.kms#RotateKeyOnDemandResponse" +_RKOD = "RotateKeyOnDemand" +_SKDI = "ScheduleKeyDeletionInput" +_cSKDR = "com.amazonaws.kms#ScheduleKeyDeletionRequest" +_PWID = "PendingWindowInDays" +_SKDO = "ScheduleKeyDeletionOutput" +_cSKDRo = "com.amazonaws.kms#ScheduleKeyDeletionResponse" +_SKD = "ScheduleKeyDeletion" +_SI = "SignInput" +_cSR = "com.amazonaws.kms#SignRequest" +_SAig = "SigningAlgorithm" +_SO = "SignOutput" +_cSRo = "com.amazonaws.kms#SignResponse" +_Si = "Signature" +_TKL = "TagKeyList" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.kms#TagResourceRequest" +_TRO = "TagResourceOutput" +_TR = "TagResource" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.kms#UntagResourceRequest" +_TKa = "TagKeys" +_URO = "UntagResourceOutput" +_UR = "UntagResource" +_UAI = "UpdateAliasInput" +_cUAR = "com.amazonaws.kms#UpdateAliasRequest" +_UAO = "UpdateAliasOutput" +_UA = "UpdateAlias" +_UCKSI = "UpdateCustomKeyStoreInput" +_cUCKSR = "com.amazonaws.kms#UpdateCustomKeyStoreRequest" +_NCKSN = "NewCustomKeyStoreName" +_UCKSO = "UpdateCustomKeyStoreOutput" +_cUCKSRo = "com.amazonaws.kms#UpdateCustomKeyStoreResponse" +_UCKS = "UpdateCustomKeyStore" +_UKDI = "UpdateKeyDescriptionInput" +_cUKDR = "com.amazonaws.kms#UpdateKeyDescriptionRequest" +_UKDO = "UpdateKeyDescriptionOutput" +_UKD = "UpdateKeyDescription" +_UPRI = "UpdatePrimaryRegionInput" +_cUPRR = "com.amazonaws.kms#UpdatePrimaryRegionRequest" +_PRr = "PrimaryRegion" +_UPRO = "UpdatePrimaryRegionOutput" +_UPR = "UpdatePrimaryRegion" +_VI = "VerifyInput" +_cVR = "com.amazonaws.kms#VerifyRequest" +_VO = "VerifyOutput" +_cVRo = "com.amazonaws.kms#VerifyResponse" +_SVi = "SignatureValid" +_VMI = "VerifyMacInput" +_cVMR = "com.amazonaws.kms#VerifyMacRequest" +_VMO = "VerifyMacOutput" +_cVMRo = "com.amazonaws.kms#VerifyMacResponse" +_MV = "MacValid" +_TS = "TrentService" +_a = "aws.auth#sigv4" +_a_ = "aws.protocols#awsJson1_1" +_aw = "aws.api#service" +_sN = "smithy.api#xmlNamespace" + +INVALID_GRANT_ID_EXCEPTION: StaticSchema = ( + 18, + n0, + _IGIE, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidGrantId", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +KEY_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _KLE, + 0, + (_KI, _KAe), + ((lambda: schemas.KEY_ID_TYPE, 0), (lambda: schemas.ARN_TYPE, 0)), +) + +KEY_LIST: StaticSchema = (16, n0, _KL, 0, (_m,), ((KEY_LIST_ENTRY, 0),)) + +KEY_MATERIAL_STATE: StaticSchema = ( + 14, + n0, + _KMS, + 0, + (_NC, _CURRENT, _PR, _PMRIAR), + ((-1, {_sV: _NC}), (-1, {_sV: _CURRENT}), (-1, {_sV: _PR}), (-1, {_sV: _PMRIAR})), +) + +KMS_INVALID_MAC_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSIME, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KMSInvalidMac", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +KMS_INVALID_SIGNATURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSISEn, + { + _s: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "KMSInvalidSignature", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.ERROR_MESSAGE_TYPE, 0),), +) + +LIST_ALIASES_INPUT: StaticSchema = ( + 18, + n0, + _LAI, + {_sSI: _cLAR, _smi: None}, + (_KI, _L, _M), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.LIMIT_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + ), +) + +LIST_ALIASES_OUTPUT: StaticSchema = ( + 18, + n0, + _LAO, + {_sSI: _cLARo, _smith: None}, + (_Al, _NM, _Tr), + ( + (lambda: schemas.ALIAS_LIST, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + ), +) + +LIST_ALIASES: StaticOperationSchema = ( + 23, + n0, + _LA, + 0, + LIST_ALIASES_INPUT, + LIST_ALIASES_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.INVALID_MARKER_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +LIST_GRANTS_INPUT: StaticSchema = ( + 18, + n0, + _LGI, + {_sSI: _cLGR, _smi: None}, + (_L, _M, _KI, _GI, _GP, _GSP), + ( + (lambda: schemas.LIMIT_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.GRANT_ID_TYPE, 0), + (lambda: schemas.PRINCIPAL_ID_TYPE, 0), + (lambda: schemas.SERVICE_PRINCIPAL_TYPE, 0), + ), +) + +LIST_GRANTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LGO, + {_sSI: _cLGRo, _smith: None}, + (_G, _NM, _Tr), + ( + (lambda: schemas.GRANT_LIST, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + ), +) + +LIST_GRANTS: StaticOperationSchema = ( + 23, + n0, + _LG, + 0, + LIST_GRANTS_INPUT, + LIST_GRANTS_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + INVALID_GRANT_ID_EXCEPTION, + lambda: schemas.INVALID_MARKER_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +LIST_KEY_POLICIES_INPUT: StaticSchema = ( + 18, + n0, + _LKPI, + {_sSI: _cLKPR, _smi: None}, + (_KI, _L, _M), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.LIMIT_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + ), +) + +LIST_KEY_POLICIES_OUTPUT: StaticSchema = ( + 18, + n0, + _LKPO, + {_sSI: _cLKPRo, _smith: None}, + (_PNo, _NM, _Tr), + ( + (lambda: POLICY_NAME_LIST, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + ), +) + +LIST_KEY_POLICIES: StaticOperationSchema = ( + 23, + n0, + _LKP, + 0, + LIST_KEY_POLICIES_INPUT, + LIST_KEY_POLICIES_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +POLICY_NAME_LIST: StaticSchema = ( + 16, + n0, + _PNL, + 0, + (_m,), + ((lambda: schemas.POLICY_NAME_TYPE, 0),), +) + +LIST_KEY_ROTATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LKRI, + {_sSI: _cLKRR, _smi: None}, + (_KI, _IKMn, _L, _M), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.INCLUDE_KEY_MATERIAL, 0), + (lambda: schemas.LIMIT_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + ), +) + +LIST_KEY_ROTATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LKRO, + {_sSI: _cLKRRo, _smith: None}, + (_Ro, _NM, _Tr), + ( + (lambda: ROTATIONS_LIST, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + ), +) + +LIST_KEY_ROTATIONS: StaticOperationSchema = ( + 23, + n0, + _LKR, + 0, + LIST_KEY_ROTATIONS_INPUT, + LIST_KEY_ROTATIONS_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.INVALID_MARKER_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +ROTATION_TYPE: StaticSchema = ( + 14, + n0, + _RTo, + 0, + (_AUTOMATIC, _OD), + ((-1, {_sV: _AUTOMATIC}), (-1, {_sV: _OD})), +) + +ROTATIONS_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _RLE, + 0, + (_KI, _KMI, _KMD, _IS, _KMS, _EM, _VT, _RD, _RTo), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + (lambda: schemas.KEY_MATERIAL_DESCRIPTION_TYPE, 0), + (lambda: schemas.IMPORT_STATE, 0), + (KEY_MATERIAL_STATE, 0), + (lambda: schemas.EXPIRATION_MODEL_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (ROTATION_TYPE, 0), + ), +) + +ROTATIONS_LIST: StaticSchema = (16, n0, _RL, 0, (_m,), ((ROTATIONS_LIST_ENTRY, 0),)) + +LIST_KEYS_INPUT: StaticSchema = ( + 18, + n0, + _LKI, + {_sSI: _cLKR, _smi: None}, + (_L, _M), + ((lambda: schemas.LIMIT_TYPE, 0), (lambda: schemas.MARKER_TYPE, 0)), +) + +LIST_KEYS_OUTPUT: StaticSchema = ( + 18, + n0, + _LKO, + {_sSI: _cLKRo, _smith: None}, + (_K, _NM, _Tr), + ( + (KEY_LIST, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + ), +) + +LIST_KEYS: StaticOperationSchema = ( + 23, + n0, + _LK, + 0, + LIST_KEYS_INPUT, + LIST_KEYS_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_MARKER_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + ), +) + +LIST_RESOURCE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LRTI, + {_sSI: _cLRTR, _smi: None}, + (_KI, _L, _M), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.LIMIT_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + ), +) + +LIST_RESOURCE_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRTO, + {_sSI: _cLRTRo, _smith: None}, + (_Ta, _NM, _Tr), + ( + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + ), +) + +LIST_RESOURCE_TAGS: StaticOperationSchema = ( + 23, + n0, + _LRT, + 0, + LIST_RESOURCE_TAGS_INPUT, + LIST_RESOURCE_TAGS_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.INVALID_MARKER_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +LIST_RETIRABLE_GRANTS_INPUT: StaticSchema = ( + 18, + n0, + _LRGI, + {_sSI: _cLRGR, _smi: None}, + (_L, _M, _RP, _RSP), + ( + (lambda: schemas.LIMIT_TYPE, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.PRINCIPAL_ID_TYPE, 0), + (lambda: schemas.SERVICE_PRINCIPAL_TYPE, 0), + ), +) + +LIST_RETIRABLE_GRANTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRGO, + {_sSI: _cLGRo, _smith: None}, + (_G, _NM, _Tr), + ( + (lambda: schemas.GRANT_LIST, 0), + (lambda: schemas.MARKER_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + ), +) + +LIST_RETIRABLE_GRANTS: StaticOperationSchema = ( + 23, + n0, + _LRG, + 0, + LIST_RETIRABLE_GRANTS_INPUT, + LIST_RETIRABLE_GRANTS_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.INVALID_MARKER_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +MESSAGE_TYPE: StaticSchema = ( + 14, + n0, + _MTe, + 0, + (_RAW, _DIGEST, _EM_), + ((-1, {_sV: _RAW}), (-1, {_sV: _DIGEST}), (-1, {_sV: _EM_})), +) + +PUT_KEY_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PKPI, + {_sSI: _cPKPR, _smi: None}, + (_KI, _PN, _P, _BPLSC), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.POLICY_NAME_TYPE, 0), + (lambda: schemas.POLICY_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + ), +) + +PUT_KEY_POLICY_OUTPUT: StaticSchema = (18, n0, _PKPO, {_sSI: _sU, _smith: None}) + +PUT_KEY_POLICY: StaticOperationSchema = ( + 23, + n0, + _PKPu, + 0, + PUT_KEY_POLICY_INPUT, + PUT_KEY_POLICY_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +RE_ENCRYPT_INPUT: StaticSchema = ( + 18, + n0, + _REI, + {_sSI: _cRER, _smi: None}, + (_CB, _SEC, _SKI, _DKIe, _DEC, _SEA, _DEA, _GT, _DR, _DRM), + ( + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.ENCRYPTION_CONTEXT_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.ENCRYPTION_CONTEXT_TYPE, 0), + (lambda: schemas.ENCRYPTION_ALGORITHM_SPEC, 0), + (lambda: schemas.ENCRYPTION_ALGORITHM_SPEC, 0), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + (lambda: schemas.DRY_RUN_MODIFIER_LIST, 0), + ), +) + +RE_ENCRYPT_OUTPUT: StaticSchema = ( + 18, + n0, + _REO, + {_sSI: _cRERo, _smith: None}, + (_CB, _SKI, _KI, _SEA, _DEA, _SKMI, _DKMI), + ( + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.ENCRYPTION_ALGORITHM_SPEC, 0), + (lambda: schemas.ENCRYPTION_ALGORITHM_SPEC, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + (lambda: schemas.BACKING_KEY_ID_TYPE, 0), + ), +) + +RE_ENCRYPT: StaticOperationSchema = ( + 23, + n0, + _RE, + 0, + RE_ENCRYPT_INPUT, + RE_ENCRYPT_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INCORRECT_KEY_EXCEPTION, + lambda: schemas.INVALID_CIPHERTEXT_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +REPLICATE_KEY_INPUT: StaticSchema = ( + 18, + n0, + _RKI, + {_sSI: _cRKR, _smi: None}, + (_KI, _RR, _P, _BPLSC, _Des, _Ta), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.REGION_TYPE, 1), + (lambda: schemas.POLICY_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + (lambda: schemas.DESCRIPTION_TYPE, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +REPLICATE_KEY_OUTPUT: StaticSchema = ( + 18, + n0, + _RKO, + {_sSI: _cRKRo, _smith: None}, + (_RKM, _RPe, _RTe), + ( + (lambda: schemas.KEY_METADATA, 0), + (lambda: schemas.POLICY_TYPE, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +REPLICATE_KEY: StaticOperationSchema = ( + 23, + n0, + _RKe, + 0, + REPLICATE_KEY_INPUT, + REPLICATE_KEY_OUTPUT, + ( + lambda: schemas.ALREADY_EXISTS_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TAG_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +RETIRE_GRANT_INPUT: StaticSchema = ( + 18, + n0, + _RGI, + {_sSI: _cRGR, _smi: None}, + (_GTr, _KI, _GI, _DR), + ( + (lambda: schemas.GRANT_TOKEN_TYPE, 0), + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.GRANT_ID_TYPE, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +RETIRE_GRANT_OUTPUT: StaticSchema = (18, n0, _RGO, {_sSI: _sU, _smith: None}) + +RETIRE_GRANT: StaticOperationSchema = ( + 23, + n0, + _RG, + 0, + RETIRE_GRANT_INPUT, + RETIRE_GRANT_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + INVALID_GRANT_ID_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +REVOKE_GRANT_INPUT: StaticSchema = ( + 18, + n0, + _RGIe, + {_sSI: _cRGRo, _smi: None}, + (_KI, _GI, _DR), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.GRANT_ID_TYPE, 1), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +REVOKE_GRANT_OUTPUT: StaticSchema = (18, n0, _RGOe, {_sSI: _sU, _smith: None}) + +REVOKE_GRANT: StaticOperationSchema = ( + 23, + n0, + _RGe, + 0, + REVOKE_GRANT_INPUT, + REVOKE_GRANT_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + INVALID_GRANT_ID_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +ROTATE_KEY_ON_DEMAND_INPUT: StaticSchema = ( + 18, + n0, + _RKODI, + {_sSI: _cRKODR, _smi: None}, + (_KI,), + ((lambda: schemas.KEY_ID_TYPE, 1),), +) + +ROTATE_KEY_ON_DEMAND_OUTPUT: StaticSchema = ( + 18, + n0, + _RKODO, + {_sSI: _cRKODRo, _smith: None}, + (_KI,), + ((lambda: schemas.KEY_ID_TYPE, 0),), +) + +ROTATE_KEY_ON_DEMAND: StaticOperationSchema = ( + 23, + n0, + _RKOD, + 0, + ROTATE_KEY_ON_DEMAND_INPUT, + ROTATE_KEY_ON_DEMAND_OUTPUT, + ( + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +SCHEDULE_KEY_DELETION_INPUT: StaticSchema = ( + 18, + n0, + _SKDI, + {_sSI: _cSKDR, _smi: None}, + (_KI, _PWID), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.PENDING_WINDOW_IN_DAYS_TYPE, 0), + ), +) + +SCHEDULE_KEY_DELETION_OUTPUT: StaticSchema = ( + 18, + n0, + _SKDO, + {_sSI: _cSKDRo, _smith: None}, + (_KI, _DD, _KSe, _PWID), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.DATE_TYPE, 0), + (lambda: schemas.KEY_STATE, 0), + (lambda: schemas.PENDING_WINDOW_IN_DAYS_TYPE, 0), + ), +) + +SCHEDULE_KEY_DELETION: StaticOperationSchema = ( + 23, + n0, + _SKD, + 0, + SCHEDULE_KEY_DELETION_INPUT, + SCHEDULE_KEY_DELETION_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +SIGN_INPUT: StaticSchema = ( + 18, + n0, + _SI, + {_sSI: _cSR, _smi: None}, + (_KI, _Me, _MTe, _GT, _SAig, _DR), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.PLAINTEXT_TYPE, 1), + (MESSAGE_TYPE, 0), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.SIGNING_ALGORITHM_SPEC, 1), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +SIGN_OUTPUT: StaticSchema = ( + 18, + n0, + _SO, + {_sSI: _cSRo, _smith: None}, + (_KI, _Si, _SAig), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.CIPHERTEXT_TYPE, 0), + (lambda: schemas.SIGNING_ALGORITHM_SPEC, 0), + ), +) + +SIGN: StaticOperationSchema = ( + 23, + n0, + _S, + 0, + SIGN_INPUT, + SIGN_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = ( + 16, + n0, + _TKL, + 0, + (_m,), + ((lambda: schemas.TAG_KEY_TYPE, 0),), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smi: None}, + (_KI, _Ta), + ((lambda: schemas.KEY_ID_TYPE, 1), (lambda: schemas.TAG_LIST, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smith: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + 0, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TAG_EXCEPTION, + ), +) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _smi: None}, + (_KI, _TKa), + ((lambda: schemas.KEY_ID_TYPE, 1), (TAG_KEY_LIST, 1)), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smith: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + 0, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.TAG_EXCEPTION, + ), +) + +UPDATE_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _UAI, + {_sSI: _cUAR, _smi: None}, + (_AN, _TKI), + ((lambda: schemas.ALIAS_NAME_TYPE, 1), (lambda: schemas.KEY_ID_TYPE, 1)), +) + +UPDATE_ALIAS_OUTPUT: StaticSchema = (18, n0, _UAO, {_sSI: _sU, _smith: None}) + +UPDATE_ALIAS: StaticOperationSchema = ( + 23, + n0, + _UA, + 0, + UPDATE_ALIAS_INPUT, + UPDATE_ALIAS_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_CUSTOM_KEY_STORE_INPUT: StaticSchema = ( + 18, + n0, + _UCKSI, + {_sSI: _cUCKSR, _smi: None}, + (_CKSI, _NCKSN, _KSP, _CHCI, _XPUE, _XPUP, _XPVESN, _XPVESO, _XPAC, _XPC), + ( + (lambda: schemas.CUSTOM_KEY_STORE_ID_TYPE, 1), + (lambda: schemas.CUSTOM_KEY_STORE_NAME_TYPE, 0), + (lambda: schemas.KEY_STORE_PASSWORD_TYPE, 0), + (lambda: schemas.CLOUD_HSM_CLUSTER_ID_TYPE, 0), + (lambda: schemas.XKS_PROXY_URI_ENDPOINT_TYPE, 0), + (lambda: schemas.XKS_PROXY_URI_PATH_TYPE, 0), + (lambda: schemas.XKS_PROXY_VPC_ENDPOINT_SERVICE_NAME_TYPE, 0), + (lambda: schemas.ACCOUNT_ID_TYPE, 0), + (lambda: schemas.XKS_PROXY_AUTHENTICATION_CREDENTIAL_TYPE, 0), + (lambda: schemas.XKS_PROXY_CONNECTIVITY_TYPE, 0), + ), +) + +UPDATE_CUSTOM_KEY_STORE_OUTPUT: StaticSchema = ( + 18, + n0, + _UCKSO, + {_sSI: _cUCKSRo, _smith: None}, +) + +UPDATE_CUSTOM_KEY_STORE: StaticOperationSchema = ( + 23, + n0, + _UCKS, + 0, + UPDATE_CUSTOM_KEY_STORE_INPUT, + UPDATE_CUSTOM_KEY_STORE_OUTPUT, + ( + lambda: schemas.CLOUD_HSM_CLUSTER_INVALID_CONFIGURATION_EXCEPTION, + lambda: schemas.CLOUD_HSM_CLUSTER_NOT_ACTIVE_EXCEPTION, + lambda: schemas.CLOUD_HSM_CLUSTER_NOT_FOUND_EXCEPTION, + lambda: schemas.CLOUD_HSM_CLUSTER_NOT_RELATED_EXCEPTION, + lambda: schemas.CUSTOM_KEY_STORE_INVALID_STATE_EXCEPTION, + lambda: schemas.CUSTOM_KEY_STORE_NAME_IN_USE_EXCEPTION, + lambda: schemas.CUSTOM_KEY_STORE_NOT_FOUND_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.XKS_PROXY_INCORRECT_AUTHENTICATION_CREDENTIAL_EXCEPTION, + lambda: schemas.XKS_PROXY_INVALID_CONFIGURATION_EXCEPTION, + lambda: schemas.XKS_PROXY_INVALID_RESPONSE_EXCEPTION, + lambda: schemas.XKS_PROXY_URI_ENDPOINT_IN_USE_EXCEPTION, + lambda: schemas.XKS_PROXY_URI_IN_USE_EXCEPTION, + lambda: schemas.XKS_PROXY_URI_UNREACHABLE_EXCEPTION, + lambda: schemas.XKS_PROXY_VPC_ENDPOINT_SERVICE_IN_USE_EXCEPTION, + lambda: schemas.XKS_PROXY_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION_EXCEPTION, + lambda: schemas.XKS_PROXY_VPC_ENDPOINT_SERVICE_NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_KEY_DESCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _UKDI, + {_sSI: _cUKDR, _smi: None}, + (_KI, _Des), + ((lambda: schemas.KEY_ID_TYPE, 1), (lambda: schemas.DESCRIPTION_TYPE, 1)), +) + +UPDATE_KEY_DESCRIPTION_OUTPUT: StaticSchema = (18, n0, _UKDO, {_sSI: _sU, _smith: None}) + +UPDATE_KEY_DESCRIPTION: StaticOperationSchema = ( + 23, + n0, + _UKD, + 0, + UPDATE_KEY_DESCRIPTION_INPUT, + UPDATE_KEY_DESCRIPTION_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_PRIMARY_REGION_INPUT: StaticSchema = ( + 18, + n0, + _UPRI, + {_sSI: _cUPRR, _smi: None}, + (_KI, _PRr), + ((lambda: schemas.KEY_ID_TYPE, 1), (lambda: schemas.REGION_TYPE, 1)), +) + +UPDATE_PRIMARY_REGION_OUTPUT: StaticSchema = (18, n0, _UPRO, {_sSI: _sU, _smith: None}) + +UPDATE_PRIMARY_REGION: StaticOperationSchema = ( + 23, + n0, + _UPR, + 0, + UPDATE_PRIMARY_REGION_INPUT, + UPDATE_PRIMARY_REGION_OUTPUT, + ( + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.INVALID_ARN_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION_EXCEPTION, + ), +) + +VERIFY_INPUT: StaticSchema = ( + 18, + n0, + _VI, + {_sSI: _cVR, _smi: None}, + (_KI, _Me, _MTe, _Si, _SAig, _GT, _DR), + ( + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.PLAINTEXT_TYPE, 1), + (MESSAGE_TYPE, 0), + (lambda: schemas.CIPHERTEXT_TYPE, 1), + (lambda: schemas.SIGNING_ALGORITHM_SPEC, 1), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +VERIFY_OUTPUT: StaticSchema = ( + 18, + n0, + _VO, + {_sSI: _cVRo, _smith: None}, + (_KI, _SVi, _SAig), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + (lambda: schemas.SIGNING_ALGORITHM_SPEC, 0), + ), +) + +VERIFY: StaticOperationSchema = ( + 23, + n0, + _V, + 0, + VERIFY_INPUT, + VERIFY_OUTPUT, + ( + lambda: schemas.DEPENDENCY_TIMEOUT_EXCEPTION, + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + KMS_INVALID_SIGNATURE_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +VERIFY_MAC_INPUT: StaticSchema = ( + 18, + n0, + _VMI, + {_sSI: _cVMR, _smi: None}, + (_Me, _KI, _MAa, _Ma, _GT, _DR), + ( + (lambda: schemas.PLAINTEXT_TYPE, 1), + (lambda: schemas.KEY_ID_TYPE, 1), + (lambda: schemas.MAC_ALGORITHM_SPEC, 1), + (lambda: schemas.CIPHERTEXT_TYPE, 1), + (lambda: schemas.GRANT_TOKEN_LIST, 0), + (lambda: schemas.NULLABLE_BOOLEAN_TYPE, 0), + ), +) + +VERIFY_MAC_OUTPUT: StaticSchema = ( + 18, + n0, + _VMO, + {_sSI: _cVMRo, _smith: None}, + (_KI, _MV, _MAa), + ( + (lambda: schemas.KEY_ID_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_sm: False}), + (lambda: schemas.MAC_ALGORITHM_SPEC, 0), + ), +) + +VERIFY_MAC: StaticOperationSchema = ( + 23, + n0, + _VM, + 0, + VERIFY_MAC_INPUT, + VERIFY_MAC_OUTPUT, + ( + lambda: schemas.DISABLED_EXCEPTION, + lambda: schemas.DRY_RUN_OPERATION_EXCEPTION, + lambda: schemas.INVALID_GRANT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_KEY_USAGE_EXCEPTION, + lambda: schemas.KEY_UNAVAILABLE_EXCEPTION, + lambda: schemas.KMS_INTERNAL_EXCEPTION, + KMS_INVALID_MAC_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +TRENT_SERVICE: StaticSchema = ( + 21, + n0, + _TS, + { + _a: MappingProxyType({"name": "kms"}), + _a_: None, + _aw: MappingProxyType( + { + "sdkId": "KMS", + "arnNamespace": "kms", + "cloudFormationName": "KMS", + "cloudTrailEventSource": "kms.amazonaws.com", + "endpointPrefix": "kms", + } + ), + _sN: MappingProxyType({"uri": "https://trent.amazonaws.com/doc/2014-11-01/"}), + }, +) diff --git a/clients/aws-sdk-kms/src/aws_sdk_kms/aio/client.py b/clients/aws-sdk-kms/src/aws_sdk_kms/aio/client.py index 6723e60b7..2019f4977 100644 --- a/clients/aws-sdk-kms/src/aws_sdk_kms/aio/client.py +++ b/clients/aws-sdk-kms/src/aws_sdk_kms/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-kms/src/aws_sdk_kms/aio/config.py b/clients/aws-sdk-kms/src/aws_sdk_kms/aio/config.py index 4d3cac0f8..77753e27a 100644 --- a/clients/aws-sdk-kms/src/aws_sdk_kms/aio/config.py +++ b/clients/aws-sdk-kms/src/aws_sdk_kms/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson11ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-kms/src/aws_sdk_kms/client.py b/clients/aws-sdk-kms/src/aws_sdk_kms/client.py index 156cc0f2f..1020a4e88 100644 --- a/clients/aws-sdk-kms/src/aws_sdk_kms/client.py +++ b/clients/aws-sdk-kms/src/aws_sdk_kms/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-kms/src/aws_sdk_kms/config.py b/clients/aws-sdk-kms/src/aws_sdk_kms/config.py index 47500f2cc..1b79cd455 100644 --- a/clients/aws-sdk-kms/src/aws_sdk_kms/config.py +++ b/clients/aws-sdk-kms/src/aws_sdk_kms/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson11ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-kms/tests/test_endpoints.py b/clients/aws-sdk-kms/tests/test_endpoints.py index 3a1d111d0..3256a3811 100644 --- a/clients/aws-sdk-kms/tests/test_endpoints.py +++ b/clients/aws-sdk-kms/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-lambda/pyproject.toml b/clients/aws-sdk-lambda/pyproject.toml index abcd431d1..738dbddb4 100644 --- a/clients/aws-sdk-lambda/pyproject.toml +++ b/clients/aws-sdk-lambda/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_lambda" version = "0.12.0" -description = "aws_sdk_lambda client" +description = "Python client for AWS Lambda" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_lambda"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/models_0.pyi b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/models_0.pyi new file mode 100644 index 000000000..b58f1b487 --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/models_0.pyi @@ -0,0 +1,6567 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.aio.interfaces import StreamingBlob +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + LoggingConfig, + OnFailure, + OnSuccess, + Operation, + OperationUpdate, + PropagateTags, + ProvisionedPollerConfig, + ResolvedS3Object, + RuntimeVersionConfig, + S3FilesConfig, + ScalingConfig, + SelfManagedEventSource, + SelfManagedKafkaEventSourceConfig, + ServiceError, + SnapStart, + SnapStartResponse, + SourceAccessConfiguration, + StepFailedDetails, + StepStartedDetails, + StepSucceededDetails, + TagsError, + TargetTrackingScalingPolicy, + TenancyConfig, + TraceHeader, + TracingConfig, + TracingConfigResponse, + VpcConfig, + VpcConfigResponse, + WaitCancelledDetails, + WaitStartedDetails, + WaitSucceededDetails, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AccountLimit(_SerdeShape): + """ + Limits that are related to concurrency and storage. All file and storage + sizes are in bytes. + """ + + total_code_size: int = ... + """ + The amount of storage space that you can use for all deployment packages + and layer archives. + """ + code_size_unzipped: int = ... + """ + The maximum size of a function's deployment package and layers when + they're extracted. + """ + code_size_zipped: int = ... + """ + The maximum size of a deployment package when it's uploaded directly to + Lambda. Use Amazon S3 for larger files. + """ + concurrent_executions: int = ... + """The maximum number of simultaneous function executions.""" + unreserved_concurrent_executions: int | None = ... + """ + The maximum number of simultaneous function executions, minus the + capacity that's reserved for individual functions with + PutFunctionConcurrency. + """ + +@dataclass(kw_only=True) +class AccountUsage(_SerdeShape): + """The number of functions and amount of storage in use.""" + + total_code_size: int = ... + """ + The amount of storage space, in bytes, that's being used by deployment + packages and layer archives. + """ + function_count: int = ... + """The number of Lambda functions.""" + +@dataclass(kw_only=True) +class AddLayerVersionPermissionInput(_SerdeShape): + """Dataclass for AddLayerVersionPermissionInput structure.""" + + layer_name: str | None = ... + """The name or Amazon Resource Name (ARN) of the layer.""" + version_number: int | None = ... + """The version number.""" + statement_id: str | None = ... + """ + An identifier that distinguishes the policy from others on the same + layer version. + """ + action: str | None = ... + """ + The API action that grants access to the layer. For example, + `lambda:GetLayerVersion`. + """ + principal: str | None = ... + """ + An account ID, or `*` to grant layer usage permission to all accounts in + an organization, or all Amazon Web Services accounts (if + `organizationId` is not specified). For the last case, make sure that + you really do want all Amazon Web Services accounts to have usage + permission to this layer. + """ + organization_id: str | None = ... + """ + With the principal set to `*`, grant permission to all accounts in the + specified organization. + """ + revision_id: str | None = ... + """ + Only update the policy if the revision ID matches the ID specified. Use + this option to avoid modifying a policy that has changed since you last + read it. + """ + +@dataclass(kw_only=True) +class AddLayerVersionPermissionOutput(_SerdeShape): + """Dataclass for AddLayerVersionPermissionOutput structure.""" + + statement: str | None = ... + """The permission statement.""" + revision_id: str | None = ... + """A unique identifier for the current revision of the policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AddPermissionInput(_SerdeShape): + """Dataclass for AddPermissionInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** -- `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + statement_id: str | None = ... + """ + A statement identifier that differentiates the statement from others in + the same policy. + """ + action: str | None = ... + """ + The action that the principal can use on the function. For example, + `lambda:InvokeFunction` or `lambda:GetFunction`. + """ + principal: str | None = ... + """ + The Amazon Web Services service, Amazon Web Services account, IAM user, + or IAM role that invokes the function. If you specify a service, use + `SourceArn` or `SourceAccount` to limit who can invoke the function + through that service. + """ + source_arn: str | None = ... + """ + For Amazon Web Services services, the ARN of the Amazon Web Services + resource that invokes the function. For example, an Amazon S3 bucket or + Amazon SNS topic. + + Note that Lambda configures the comparison using the `StringLike` + operator. + """ + function_url_auth_type: str | None = ... + """ + The type of authentication that your function URL uses. Set to `AWS_IAM` + if you want to restrict access to authenticated users only. Set to + `NONE` if you want to bypass IAM authentication to create a public + endpoint. For more information, see [Control access to Lambda function + URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). + """ + invoked_via_function_url: bool | None = ... + """ + Indicates whether the permission applies when the function is invoked + through a function URL. + """ + source_account: str | None = ... + """ + For Amazon Web Services service, the ID of the Amazon Web Services + account that owns the resource. Use this together with `SourceArn` to + ensure that the specified account owns the resource. It is possible for + an Amazon S3 bucket to be deleted by its owner and recreated by another + account. + """ + event_source_token: str | None = ... + """For Alexa Smart Home functions, a token that the invoker must supply.""" + qualifier: str | None = ... + """ + Specify a version or alias to add permissions to a published version of + the function. + """ + revision_id: str | None = ... + """ + Update the policy only if the revision ID matches the ID that's + specified. Use this option to avoid modifying a policy that has changed + since you last read it. + """ + principal_org_id: str | None = ... + """ + The identifier for your organization in Organizations. Use this to grant + permissions to all the Amazon Web Services accounts under this + organization. + """ + +@dataclass(kw_only=True) +class AddPermissionOutput(_SerdeShape): + """Dataclass for AddPermissionOutput structure.""" + + statement: str | None = ... + """The permission statement that's added to the function policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AliasConfiguration(_SerdeShape): + """ + Provides configuration information about a Lambda function + [alias](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). + """ + + alias_arn: str | None = ... + """The Amazon Resource Name (ARN) of the alias.""" + name: str | None = ... + """The name of the alias.""" + function_version: str | None = ... + """The function version that the alias invokes.""" + description: str | None = ... + """A description of the alias.""" + routing_config: AliasRoutingConfiguration | None = ... + """ + The [routing + configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) + of the alias. + """ + revision_id: str | None = ... + """A unique identifier that changes when you update the alias.""" + +@dataclass(kw_only=True) +class AliasLimitExceededException(ServiceError, _SerdeShape): + """ + Lambda couldn't create the alias because your Amazon Web Services + account has exceeded the maximum number of aliases allowed per Lambda + function. For more information, see [Lambda + quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AliasRoutingConfiguration(_SerdeShape): + """ + The + [traffic-shifting](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) + configuration of a Lambda function alias. + """ + + additional_version_weights: dict[str, float] | None = ... + """The second version, and the percentage of traffic that's routed to it.""" + +@dataclass(kw_only=True) +class AllowedPublishers(_SerdeShape): + """List of signing profiles that can sign a code package.""" + + signing_profile_version_arns: list[str] + """ + The Amazon Resource Name (ARN) for each of the signing profiles. A + signing profile defines a trusted user who can sign a code package. + """ + +@dataclass(kw_only=True) +class AmazonManagedKafkaEventSourceConfig(_SerdeShape): + """ + Specific configuration settings for an Amazon Managed Streaming for + Apache Kafka (Amazon MSK) event source. + """ + + consumer_group_id: str | None = ... + """ + The identifier for the Kafka consumer group to join. The consumer group + ID must be unique among all your Kafka event sources. After creating a + Kafka event source mapping with the consumer group ID specified, you + cannot update this value. For more information, see [Customizable + consumer group + ID](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id). + """ + schema_registry_config: KafkaSchemaRegistryConfig | None = ... + """Specific configuration settings for a Kafka schema registry.""" + +class ApplicationLogLevel(UnknownEnumMixin, StrEnum): + TRACE = "TRACE" + DEBUG = "DEBUG" + INFO = "INFO" + WARN = "WARN" + ERROR = "ERROR" + FATAL = "FATAL" + +class Architecture(UnknownEnumMixin, StrEnum): + X86_64 = "x86_64" + ARM64 = "arm64" + +@dataclass(kw_only=True) +class CallbackDetails(_SerdeShape): + """ + Contains details about a callback operation in a durable execution, + including the callback token and timeout configuration. + """ + + callback_id: str | None = ... + """ + The callback ID. Callback IDs are generated by the `DurableContext` when + a durable function calls `ctx.waitForCallback`. + """ + result: str | None = ... + """The response payload from the callback operation as a string.""" + error: ErrorObject | None = ... + """An error object that contains details about the failure.""" + +@dataclass(kw_only=True) +class CallbackFailedDetails(_SerdeShape): + """ + Contains details about a failed callback operation, including error + information and the reason for failure. + """ + + error: EventError + """An error object that contains details about the failure.""" + +@dataclass(kw_only=True) +class CallbackOptions(_SerdeShape): + """ + Configuration options for callback operations in durable executions, + including timeout settings and retry behavior. + """ + + timeout_seconds: int = ... + """ + The timeout for the callback operation in seconds. If not specified or + set to 0, the callback has no timeout. + """ + heartbeat_timeout_seconds: int = ... + """ + The heartbeat timeout for the callback operation, in seconds. If not + specified or set to 0, heartbeat timeout is disabled. + """ + +@dataclass(kw_only=True) +class CallbackStartedDetails(_SerdeShape): + """ + Contains details about a callback operation that has started, including + timing information and callback metadata. + """ + + callback_id: str + """ + The callback ID. Callback IDs are generated by the `DurableContext` when + a durable function calls `ctx.waitForCallback`. + """ + heartbeat_timeout: int | None = ... + """The heartbeat timeout value, in seconds.""" + timeout: int | None = ... + """The timeout value, in seconds.""" + +@dataclass(kw_only=True) +class CallbackSucceededDetails(_SerdeShape): + """ + Contains details about a successfully completed callback operation, + including the result data and completion timestamp. + """ + + result: EventResult + """The response payload from the successful operation.""" + +@dataclass(kw_only=True) +class CallbackTimedOutDetails(_SerdeShape): + """ + Contains details about a callback operation that timed out, including + timeout duration and any partial results. + """ + + error: EventError + """Details about the callback timeout.""" + +@dataclass(kw_only=True) +class CallbackTimeoutException(ServiceError, _SerdeShape): + """ + The callback ID token has either expired or the callback associated with + the token has already been closed. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CapacityProvider(_SerdeShape): + """A capacity provider manages compute resources for Lambda functions.""" + + capacity_provider_arn: str + """The Amazon Resource Name (ARN) of the capacity provider.""" + state: str + """The current state of the capacity provider.""" + vpc_config: CapacityProviderVpcConfig + """The VPC configuration for the capacity provider.""" + permissions_config: CapacityProviderPermissionsConfig + """The permissions configuration for the capacity provider.""" + instance_requirements: InstanceRequirements | None = ... + """ + The instance requirements for compute resources managed by the capacity + provider. + """ + capacity_provider_scaling_config: CapacityProviderScalingConfig | None = ... + """The scaling configuration for the capacity provider.""" + kms_key_arn: str | None = ... + """ + The ARN of the KMS key used to encrypt the capacity provider's + resources. + """ + last_modified: str | None = ... + """The date and time when the capacity provider was last modified.""" + propagate_tags: PropagateTags | None = ... + """ + Configuration for tag propagation to managed resources launched by the + capacity provider. + """ + telemetry_config: CapacityProviderTelemetryConfig | None = ... + """ + The telemetry configuration for the capacity provider, including logging + settings. + """ + +@dataclass(kw_only=True) +class CapacityProviderConfig(_SerdeShape): + """ + Configuration for the capacity provider that manages compute resources + for Lambda functions. + """ + + lambda_managed_instances_capacity_provider_config: ( + LambdaManagedInstancesCapacityProviderConfig + ) + """ + Configuration for Lambda-managed instances used by the capacity + provider. + """ + +@dataclass(kw_only=True) +class CapacityProviderLimitExceededException(ServiceError, _SerdeShape): + """ + The maximum number of capacity providers for your account has been + exceeded. For more information, see [Lambda + quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html) + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CapacityProviderLoggingConfig(_SerdeShape): + """The capacity provider's Amazon CloudWatch Logs configuration settings.""" + + system_log_level: str | None = ... + """ + Set this property to filter the system logs for your capacity provider + that Lambda sends to CloudWatch. Lambda only sends system logs at the + selected level of detail and lower, where `DEBUG` is the highest level + and `WARN` is the lowest. + """ + log_group: str | None = ... + """ + The name of the Amazon CloudWatch log group the capacity provider sends + logs to. By default, Lambda capacity providers send logs to a default + log group named + `/aws/lambda/capacity-provider/`. To use a + different log group, enter an existing log group or enter a new log + group name. + """ + +@dataclass(kw_only=True) +class CapacityProviderPermissionsConfig(_SerdeShape): + """ + Configuration that specifies the permissions required for the capacity + provider to manage compute resources. + """ + + capacity_provider_operator_role_arn: str + """ + The ARN of the IAM role that the capacity provider uses to manage + compute instances and other Amazon Web Services resources. + """ + +class CapacityProviderPredefinedMetricType(UnknownEnumMixin, StrEnum): + LAMBDA_CAPACITY_PROVIDER_AVERAGE_CPU_UTILIZATION = ( + "LambdaCapacityProviderAverageCPUUtilization" + ) + +@dataclass(kw_only=True) +class CapacityProviderScalingConfig(_SerdeShape): + """ + Configuration that defines how the capacity provider scales compute + instances based on demand and policies. + """ + + max_v_cpu_count: int | None = ... + """ + The maximum number of vCPUs that the capacity provider can provision + across all compute instances. + """ + scaling_mode: str | None = ... + """ + The scaling mode that determines how the capacity provider responds to + changes in demand. + """ + scaling_policies: list[TargetTrackingScalingPolicy] | None = ... + """ + A list of scaling policies that define how the capacity provider scales + compute instances based on metrics and thresholds. + """ + +class CapacityProviderScalingMode(UnknownEnumMixin, StrEnum): + AUTO = "Auto" + MANUAL = "Manual" + +class CapacityProviderState(UnknownEnumMixin, StrEnum): + PENDING = "Pending" + ACTIVE = "Active" + FAILED = "Failed" + DELETING = "Deleting" + +@dataclass(kw_only=True) +class CapacityProviderTelemetryConfig(_SerdeShape): + """ + Configuration that specifies the telemetry collection for the capacity + provider. + """ + + logging_config: CapacityProviderLoggingConfig | None = ... + """The capacity provider's Amazon CloudWatch Logs configuration settings.""" + +@dataclass(kw_only=True) +class CapacityProviderVpcConfig(_SerdeShape): + """ + VPC configuration that specifies the network settings for compute + instances managed by the capacity provider. + """ + + subnet_ids: list[str] + """ + A list of subnet IDs where the capacity provider launches compute + instances. + """ + security_group_ids: list[str] + """ + A list of security group IDs that control network access for compute + instances managed by the capacity provider. + """ + +@dataclass(kw_only=True) +class ChainedInvokeDetails(_SerdeShape): + """ + Contains details about a chained function invocation in a durable + execution, including the target function and invocation parameters. + """ + + result: str | None = ... + """The response payload from the chained invocation.""" + error: ErrorObject | None = ... + """Details about the chained invocation failure.""" + +@dataclass(kw_only=True) +class ChainedInvokeFailedDetails(_SerdeShape): + """ + Contains details about a failed chained function invocation, including + error information and failure reason. + """ + + error: EventError + """Details about the chained invocation failure.""" + +@dataclass(kw_only=True) +class ChainedInvokeOptions(_SerdeShape): + """ + Configuration options for chained function invocations in durable + executions, including retry settings and timeout configuration. + """ + + function_name: str + """The name or ARN of the Lambda function to invoke.""" + tenant_id: str | None = ... + """The tenant identifier for the chained invocation.""" + x_amzn_trace_id: str | None = ... + """ + The X-Ray trace header to use when starting the chained invocation. This + parameter is optional. If you omit this value, the child invocation + inherits the parent durable execution's trace header. + + Specify this value on the `START` update for the chained invocation + operation. For more information about the header format, see [Tracing + header](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader) + in the *X-Ray Developer Guide*. + """ + +@dataclass(kw_only=True) +class ChainedInvokeStartedDetails(_SerdeShape): + """ + Contains details about a chained function invocation that has started + execution, including start time and execution context. + """ + + function_name: str + """The name or ARN of the Lambda function being invoked.""" + tenant_id: str | None = ... + """The tenant identifier for the chained invocation.""" + input: EventInput | None = ... + """The JSON input payload provided to the chained invocation.""" + executed_version: str | None = ... + """The version of the function that was executed.""" + durable_execution_arn: str | None = ... + """The Amazon Resource Name (ARN) that identifies the durable execution.""" + +@dataclass(kw_only=True) +class ChainedInvokeStoppedDetails(_SerdeShape): + """Details about a chained invocation that was stopped.""" + + error: EventError + """Details about why the chained invocation stopped.""" + +@dataclass(kw_only=True) +class ChainedInvokeSucceededDetails(_SerdeShape): + """Details about a chained invocation that succeeded.""" + + result: EventResult + """The response payload from the successful operation.""" + +@dataclass(kw_only=True) +class ChainedInvokeTimedOutDetails(_SerdeShape): + """Details about a chained invocation that timed out.""" + + error: EventError + """Details about the chained invocation timeout.""" + +@dataclass(kw_only=True) +class CheckpointDurableExecutionInput(_SerdeShape): + """Dataclass for CheckpointDurableExecutionInput structure.""" + + durable_execution_arn: str | None = ... + """The Amazon Resource Name (ARN) of the durable execution.""" + checkpoint_token: str | None = ... + """ + A unique token that identifies the current checkpoint state. This token + is provided by the Lambda runtime and must be used to ensure checkpoints + are applied in the correct order. Each checkpoint operation consumes + this token and returns a new one. + """ + updates: list[OperationUpdate] | None = ... + """ + An array of state updates to apply during this checkpoint. Each update + represents a change to the execution state, such as completing a step, + starting a callback, or scheduling a timer. Updates are applied + atomically as part of the checkpoint operation. + """ + client_token: str | None = ... + """ + An optional idempotency token to ensure that duplicate checkpoint + requests are handled correctly. If provided, Lambda uses this token to + detect and handle duplicate requests within a 15-minute window. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CheckpointDurableExecutionOutput(_SerdeShape): + """The response from the CheckpointDurableExecution operation.""" + + checkpoint_token: str | None = ... + """ + A new checkpoint token to use for the next checkpoint operation. This + token replaces the one provided in the request and must be used for + subsequent checkpoints to maintain proper ordering. + """ + new_execution_state: CheckpointUpdatedExecutionState + """ + Updated execution state information that includes any changes that + occurred since the last checkpoint, such as completed callbacks or + expired timers. This allows the SDK to update its internal state during + replay. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CheckpointUpdatedExecutionState(_SerdeShape): + """ + Contains operations that have been updated since the last checkpoint, + such as completed asynchronous work like timers or callbacks. + """ + + operations: list[Operation] | None = ... + """A list of operations that have been updated since the last checkpoint.""" + next_marker: str | None = ... + """ + Indicates that more results are available. Use this value in a + subsequent call to retrieve the next page of results. + """ + +@dataclass(kw_only=True) +class CodeArtifactUserDeletedException(ServiceError, _SerdeShape): + """ + The Lambda function couldn't be invoked because its code artifact user + has been deleted. Wait for Lambda to provision a new code artifact user, + or update the function's code package to recreate it. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CodeArtifactUserFailedException(ServiceError, _SerdeShape): + """ + The Lambda function couldn't be invoked because provisioning of its + code artifact user failed. Update the function's code package or check + the Lambda function's `State` and `StateReasonCode` for additional + context. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CodeArtifactUserPendingException(ServiceError, _SerdeShape): + """ + The Lambda function couldn't be invoked because its code artifact user + is still being provisioned. Wait for the function's `State` to become + `Active` and try the request again. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CodeSigningConfig(_SerdeShape): + """ + Details about a [Code signing + configuration](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html). + """ + + code_signing_config_id: str + """Unique identifer for the Code signing configuration.""" + code_signing_config_arn: str + """The Amazon Resource Name (ARN) of the Code signing configuration.""" + description: str | None = ... + """Code signing configuration description.""" + allowed_publishers: AllowedPublishers + """List of allowed publishers.""" + code_signing_policies: CodeSigningPolicies + """ + The code signing policy controls the validation failure action for + signature mismatch or expiry. + """ + last_modified: str + """ + The date and time that the Code signing configuration was last modified, + in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). + """ + +@dataclass(kw_only=True) +class CodeSigningConfigNotFoundException(ServiceError, _SerdeShape): + """The specified code signing configuration does not exist.""" + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CodeSigningPolicies(_SerdeShape): + """ + Code signing configuration + [policies](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies) + specify the validation failure action for signature mismatch or expiry. + """ + + untrusted_artifact_on_deployment: str | None = ... + """ + Code signing configuration policy for deployment validation failure. If + you set the policy to `Enforce`, Lambda blocks the deployment request if + signature validation checks fail. If you set the policy to `Warn`, + Lambda allows the deployment and issues a new Amazon CloudWatch metric + (`SignatureValidationErrors`) and also stores the warning in the + CloudTrail log. + + Default value: `Warn` + """ + +class CodeSigningPolicy(UnknownEnumMixin, StrEnum): + WARN = "Warn" + ENFORCE = "Enforce" + +@dataclass(kw_only=True) +class CodeStorageExceededException(ServiceError, _SerdeShape): + """ + Your Amazon Web Services account has exceeded its maximum total code + size. For more information, see [Lambda + quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CodeVerificationFailedException(ServiceError, _SerdeShape): + """ + The code signature failed one or more of the validation checks for + signature mismatch or expiry, and the code signing policy is set to + ENFORCE. Lambda blocks the deployment. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Concurrency(_SerdeShape): + """Dataclass for Concurrency structure.""" + + reserved_concurrent_executions: int | None = ... + """ + The number of concurrent executions that are reserved for this function. + For more information, see [Managing Lambda reserved + concurrency](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html). + """ + +@dataclass(kw_only=True) +class ContextDetails(_SerdeShape): + """Details about a durable execution context.""" + + replay_children: bool | None = ... + """ + Whether the state data of child operations of this completed context + should be included in the invoke payload and `GetDurableExecutionState` + response. + """ + result: str | None = ... + """The response payload from the context.""" + error: ErrorObject | None = ... + """Details about the context failure.""" + +@dataclass(kw_only=True) +class ContextFailedDetails(_SerdeShape): + """Details about a context that failed.""" + + error: EventError + """Details about the context failure.""" + +@dataclass(kw_only=True) +class ContextOptions(_SerdeShape): + """Configuration options for a durable execution context.""" + + replay_children: bool | None = ... + """ + Whether the state data of children of the completed context should be + included in the invoke payload and `GetDurableExecutionState` response. + """ + +@dataclass(kw_only=True) +class ContextStartedDetails(_SerdeShape): + """Details about a context that has started.""" + +@dataclass(kw_only=True) +class ContextSucceededDetails(_SerdeShape): + """Details about a context that succeeded.""" + + result: EventResult + """The JSON response payload from the successful context.""" + +@dataclass(kw_only=True) +class Cors(_SerdeShape): + """ + The [cross-origin resource sharing + (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings + for your Lambda function URL. Use CORS to grant access to your function + URL from any origin. You can also use CORS to control access for + specific HTTP headers and methods in requests to your function URL. + """ + + allow_credentials: bool | None = ... + """ + Whether to allow cookies or other credentials in requests to your + function URL. The default is `false`. + """ + allow_headers: list[str] | None = ... + """ + The HTTP headers that origins can include in requests to your function + URL. For example: `Date`, `Keep-Alive`, `X-Custom-Header`. + """ + allow_methods: list[str] | None = ... + """ + The HTTP methods that are allowed when calling your function URL. For + example: `GET`, `POST`, `DELETE`, or the wildcard character (`*`). + """ + allow_origins: list[str] | None = ... + """ + The origins that can access your function URL. You can list any number + of specific origins, separated by a comma. For example: + `https://www.example.com`, `http://localhost:60905`. + + Alternatively, you can grant access to all origins using the wildcard + character (`*`). + """ + expose_headers: list[str] | None = ... + """ + The HTTP headers in your function response that you want to expose to + origins that call your function URL. For example: `Date`, `Keep-Alive`, + `X-Custom-Header`. + """ + max_age: int | None = ... + """ + The maximum amount of time, in seconds, that web browsers can cache + results of a preflight request. By default, this is set to `0`, which + means that the browser doesn't cache results. + """ + +@dataclass(kw_only=True) +class CreateAliasInput(_SerdeShape): + """Dataclass for CreateAliasInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + name: str | None = ... + """The name of the alias.""" + function_version: str | None = ... + """The function version that the alias invokes.""" + description: str | None = ... + """A description of the alias.""" + routing_config: AliasRoutingConfiguration | None = ... + """ + The [routing + configuration](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing) + of the alias. + """ + +@dataclass(kw_only=True) +class CreateAliasOutput(_SerdeShape): + """ + Provides configuration information about a Lambda function + [alias](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). + """ + + alias_arn: str | None = ... + """The Amazon Resource Name (ARN) of the alias.""" + name: str | None = ... + """The name of the alias.""" + function_version: str | None = ... + """The function version that the alias invokes.""" + description: str | None = ... + """A description of the alias.""" + routing_config: AliasRoutingConfiguration | None = ... + """ + The [routing + configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) + of the alias. + """ + revision_id: str | None = ... + """A unique identifier that changes when you update the alias.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCapacityProviderInput(_SerdeShape): + """Dataclass for CreateCapacityProviderInput structure.""" + + capacity_provider_name: str | None = ... + """The name of the capacity provider.""" + vpc_config: CapacityProviderVpcConfig | None = ... + """ + The VPC configuration for the capacity provider, including subnet IDs + and security group IDs where compute instances will be launched. + """ + permissions_config: CapacityProviderPermissionsConfig | None = ... + """ + The permissions configuration that specifies the IAM role ARN used by + the capacity provider to manage compute resources. + """ + instance_requirements: InstanceRequirements | None = ... + """ + The instance requirements that specify the compute instance + characteristics, including architectures and allowed or excluded + instance types. + """ + capacity_provider_scaling_config: CapacityProviderScalingConfig | None = ... + """ + The scaling configuration that defines how the capacity provider scales + compute instances, including maximum vCPU count and scaling policies. + """ + kms_key_arn: str | None = ... + """ + The ARN of the KMS key used to encrypt data associated with the capacity + provider. + """ + tags: dict[str, str] | None = ... + """A list of tags to associate with the capacity provider.""" + propagate_tags: PropagateTags | None = ... + """ + The tag propagation configuration for the capacity provider. Specifies + tags to apply to managed resources at launch. + """ + telemetry_config: CapacityProviderTelemetryConfig | None = ... + """ + The telemetry configuration for the capacity provider. Specifies logging + settings for managed resources. + """ + +@dataclass(kw_only=True) +class CreateCapacityProviderOutput(_SerdeShape): + """Dataclass for CreateCapacityProviderOutput structure.""" + + capacity_provider: CapacityProvider + """Information about the capacity provider that was created.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCodeSigningConfigInput(_SerdeShape): + """Dataclass for CreateCodeSigningConfigInput structure.""" + + description: str | None = ... + """Descriptive name for this code signing configuration.""" + allowed_publishers: AllowedPublishers | None = ... + """Signing profiles for this code signing configuration.""" + code_signing_policies: CodeSigningPolicies | None = ... + """ + The code signing policies define the actions to take if the validation + checks fail. + """ + tags: dict[str, str] | None = ... + """A list of tags to add to the code signing configuration.""" + +@dataclass(kw_only=True) +class CreateCodeSigningConfigOutput(_SerdeShape): + """Dataclass for CreateCodeSigningConfigOutput structure.""" + + code_signing_config: CodeSigningConfig + """The code signing configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateEventSourceMappingInput(_SerdeShape): + """Dataclass for CreateEventSourceMappingInput structure.""" + + event_source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the event source. + + - **Amazon Kinesis** -- The ARN of the data stream or a stream consumer. + + - **Amazon DynamoDB Streams** -- The ARN of the stream. + + - **Amazon Simple Queue Service** -- The ARN of the queue. + + - **Amazon Managed Streaming for Apache Kafka** -- The ARN of the + cluster or the ARN of the VPC connection (for [cross-account event + source + mappings](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc)). + + - **Amazon MQ** -- The ARN of the broker. + + - **Amazon DocumentDB** -- The ARN of the DocumentDB change stream. + """ + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `MyFunction`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Version or Alias ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`. + + - **Partial ARN** -- `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it's limited to 64 characters in length. + """ + enabled: bool | None = ... + """ + When true, the event source mapping is active. When false, Lambda pauses + polling and invocation. + + Default: True + """ + batch_size: int | None = ... + """ + The maximum number of records in each batch that Lambda pulls from your + stream or queue and sends to your function. Lambda passes all of the + records in the batch to the function in a single call, up to the payload + limit for synchronous invocation (6 MB). + + - **Amazon Kinesis** -- Default 100. Max 10,000. + + - **Amazon DynamoDB Streams** -- Default 100. Max 10,000. + + - **Amazon Simple Queue Service** -- Default 10. For standard queues the + max is 10,000. For FIFO queues the max is 10. + + - **Amazon Managed Streaming for Apache Kafka** -- Default 100. Max + 10,000. + + - **Self-managed Apache Kafka** -- Default 100. Max 10,000. + + - **Amazon MQ (ActiveMQ and RabbitMQ)** -- Default 100. Max 10,000. + + - **DocumentDB** -- Default 100. Max 10,000. + """ + filter_criteria: FilterCriteria | None = ... + """ + An object that defines the filter criteria that determine whether Lambda + should process an event. For more information, see [Lambda event + filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that + Lambda uses to encrypt your function's [filter + criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). + By default, Lambda does not encrypt your filter criteria object. Specify + this property to encrypt data using your own customer managed key. + """ + metrics_config: EventSourceMappingMetricsConfig | None = ... + """ + The metrics configuration for your event source. For more information, + see [Event source mapping + metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). + """ + logging_config: EventSourceMappingLoggingConfig | None = ... + """ + (Amazon MSK, and self-managed Apache Kafka only) The logging + configuration for your event source. For more information, see [Event + source mapping + logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). + """ + scaling_config: ScalingConfig | None = ... + """ + (Amazon SQS only) The scaling configuration for the event source. For + more information, see [Configuring maximum concurrency for Amazon SQS + event + sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + """ + maximum_batching_window_in_seconds: int | None = ... + """ + The maximum amount of time, in seconds, that Lambda spends gathering + records before invoking the function. You can configure + `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 + seconds in increments of seconds. + + For Kinesis, DynamoDB, and Amazon SQS event sources, the default + batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, + Amazon MQ, and DocumentDB event sources, the default batching window is + 500 ms. Note that because you can only change + `MaximumBatchingWindowInSeconds` in increments of seconds, you cannot + revert back to the 500 ms default batching window after you have changed + it. To restore the default batching window, you must create a new event + source mapping. + + Related setting: For Kinesis, DynamoDB, and Amazon SQS event sources, + when you set `BatchSize` to a value greater than 10, you must set + `MaximumBatchingWindowInSeconds` to at least 1. + + Not supported for Kafka event source mappings when `ConsumptionMode` is + `Queue`. + """ + parallelization_factor: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The number of batches to process + from each shard concurrently. + """ + starting_position: str | None = ... + """ + The position in a stream from which to start reading. Required for + Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` + is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon + MSK, and self-managed Apache Kafka. + + Not supported for Kafka event source mappings when `ConsumptionMode` is + `Queue`. + """ + starting_position_timestamp: datetime | None = ... + """ + With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to + start reading. `StartingPositionTimestamp` cannot be in the future. + + Not supported for Kafka event source mappings when `ConsumptionMode` is + `Queue`. + """ + destination_config: DestinationConfig | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A + configuration object that specifies the destination of an event after + Lambda processes it. + """ + maximum_record_age_in_seconds: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records older than the specified age. The default value is + infinite (-1). + """ + bisect_batch_on_function_error: bool | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + If the function returns an error, split the batch in two and retry. + """ + maximum_retry_attempts: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records after the specified number of retries. The default value + is infinite (-1). When set to infinite (-1), failed records are retried + until the record expires. + + For Kafka `Stream` consumption mode, the default is `-1` (infinite + retries; capped at 10 when an on-failure destination is configured). For + Kafka `Queue` consumption mode, the default is `0`, and if no on-failure + destination is configured the Kafka broker performs retries. + """ + tags: dict[str, str] | None = ... + """A list of tags to apply to the event source mapping.""" + tumbling_window_in_seconds: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The duration in seconds of a + processing window for DynamoDB and Kinesis Streams event sources. A + value of 0 seconds indicates no tumbling window. + """ + topics: list[str] | None = ... + """The name of the Kafka topic.""" + queues: list[str] | None = ... + """(MQ) The name of the Amazon MQ broker destination queue to consume.""" + source_access_configurations: list[SourceAccessConfiguration] | None = ... + """ + An array of authentication protocols or VPC components required to + secure your event source. + """ + self_managed_event_source: SelfManagedEventSource | None = ... + """The self-managed Apache Kafka cluster to receive records from.""" + function_response_types: list[str] | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and + Amazon SQS) A list of current response type enums applied to the event + source mapping. + """ + amazon_managed_kafka_event_source_config: ( + AmazonManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for an Amazon Managed Streaming for + Apache Kafka (Amazon MSK) event source. + """ + self_managed_kafka_event_source_config: ( + SelfManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for a self-managed Apache Kafka event + source. + """ + document_db_event_source_config: DocumentDBEventSourceConfig | None = ... + """Specific configuration settings for a DocumentDB event source.""" + provisioned_poller_config: ProvisionedPollerConfig | None = ... + """ + (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The + provisioned mode configuration for the event source. For more + information, see [provisioned + mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). + """ + +@dataclass(kw_only=True) +class CreateEventSourceMappingOutput(_SerdeShape): + """ + A mapping between an Amazon Web Services resource and a Lambda function. + For details, see CreateEventSourceMapping. + """ + + uuid: str | None = ... + """The identifier of the event source mapping.""" + starting_position: str | None = ... + """ + The position in a stream from which to start reading. Required for + Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` + is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon + MSK, and self-managed Apache Kafka. + """ + starting_position_timestamp: datetime | None = ... + """ + With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to + start reading. `StartingPositionTimestamp` cannot be in the future. + """ + batch_size: int | None = ... + """ + The maximum number of records in each batch that Lambda pulls from your + stream or queue and sends to your function. Lambda passes all of the + records in the batch to the function in a single call, up to the payload + limit for synchronous invocation (6 MB). + + Default value: Varies by service. For Amazon SQS, the default is 10. For + all other services, the default is 100. + + Related setting: When you set `BatchSize` to a value greater than 10, + you must set `MaximumBatchingWindowInSeconds` to at least 1. + """ + maximum_batching_window_in_seconds: int | None = ... + """ + The maximum amount of time, in seconds, that Lambda spends gathering + records before invoking the function. You can configure + `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 + seconds in increments of seconds. + + For streams and Amazon SQS event sources, the default batching window is + 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and + DocumentDB event sources, the default batching window is 500 ms. Note + that because you can only change `MaximumBatchingWindowInSeconds` in + increments of seconds, you cannot revert back to the 500 ms default + batching window after you have changed it. To restore the default + batching window, you must create a new event source mapping. + + Related setting: For streams and Amazon SQS event sources, when you set + `BatchSize` to a value greater than 10, you must set + `MaximumBatchingWindowInSeconds` to at least 1. + """ + parallelization_factor: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The number of batches to process + concurrently from each shard. The default value is 1. + """ + event_source_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source.""" + filter_criteria: FilterCriteria | None = ... + """ + An object that defines the filter criteria that determine whether Lambda + should process an event. For more information, see [Lambda event + filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + + If filter criteria is encrypted, this field shows up as `null` in the + response of ListEventSourceMapping API calls. You can view this field in + plaintext in the response of GetEventSourceMapping and + DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for + the correct KMS key. + """ + filter_criteria_error: FilterCriteriaError | None = ... + """ + An object that contains details about an error related to filter + criteria encryption. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that + Lambda uses to encrypt your function's [filter + criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). + """ + metrics_config: EventSourceMappingMetricsConfig | None = ... + """ + The metrics configuration for your event source. For more information, + see [Event source mapping + metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). + """ + logging_config: EventSourceMappingLoggingConfig | None = ... + """ + (Amazon MSK, and self-managed Apache Kafka only) The logging + configuration for your event source. For more information, see [Event + source mapping + logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). + """ + scaling_config: ScalingConfig | None = ... + """ + (Amazon SQS only) The scaling configuration for the event source. For + more information, see [Configuring maximum concurrency for Amazon SQS + event + sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + """ + function_arn: str | None = ... + """The ARN of the Lambda function.""" + last_modified: datetime | None = ... + """ + The date that the event source mapping was last updated or that its + state changed. + """ + last_processing_result: str | None = ... + """The result of the event source mapping's last processing attempt.""" + state: str | None = ... + """ + The state of the event source mapping. It can be one of the following: + `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, + or `Deleting`. + """ + state_transition_reason: str | None = ... + """ + Indicates whether a user or Lambda made the last change to the event + source mapping. + """ + destination_config: DestinationConfig | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A + configuration object that specifies the destination of an event after + Lambda processes it. + """ + topics: list[str] | None = ... + """The name of the Kafka topic.""" + queues: list[str] | None = ... + """ + (Amazon MQ) The name of the Amazon MQ broker destination queue to + consume. + """ + source_access_configurations: list[SourceAccessConfiguration] | None = ... + """ + An array of the authentication protocol, VPC components, or virtual host + to secure and define your event source. + """ + self_managed_event_source: SelfManagedEventSource | None = ... + """The self-managed Apache Kafka cluster for your event source.""" + maximum_record_age_in_seconds: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records older than the specified age. The default value is -1, + which sets the maximum age to infinite. When the value is set to + infinite, Lambda never discards old records. + + Note: + The minimum valid value for maximum record age is 60s. Although values + less than 60 and greater than -1 fall within the parameter's absolute + range, they are not allowed + """ + bisect_batch_on_function_error: bool | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + If the function returns an error, split the batch in two and retry. The + default value is false. + """ + maximum_retry_attempts: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records after the specified number of retries. The default value + is -1, which sets the maximum number of retries to infinite. When + MaximumRetryAttempts is infinite, Lambda retries failed records until + the record expires in the event source. + """ + tumbling_window_in_seconds: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The duration in seconds of a + processing window for DynamoDB and Kinesis Streams event sources. A + value of 0 seconds indicates no tumbling window. + """ + function_response_types: list[str] | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and + Amazon SQS) A list of current response type enums applied to the event + source mapping. + """ + amazon_managed_kafka_event_source_config: ( + AmazonManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for an Amazon Managed Streaming for + Apache Kafka (Amazon MSK) event source. + """ + self_managed_kafka_event_source_config: ( + SelfManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for a self-managed Apache Kafka event + source. + """ + document_db_event_source_config: DocumentDBEventSourceConfig | None = ... + """Specific configuration settings for a DocumentDB event source.""" + event_source_mapping_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source mapping.""" + provisioned_poller_config: ProvisionedPollerConfig | None = ... + """ + (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The + provisioned mode configuration for the event source. For more + information, see [provisioned + mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFunctionInput(_SerdeShape): + """Dataclass for CreateFunctionInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + runtime: str | None = ... + """ + The identifier of the function's + [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). + Runtime is required if the deployment package is a .zip file archive. + Specifying a runtime results in an error if you're deploying a function + using a container image. + + The following list includes deprecated runtimes. Lambda blocks creating + new functions and updating existing functions shortly after each runtime + is deprecated. For more information, see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + role: str | None = ... + """The Amazon Resource Name (ARN) of the function's execution role.""" + handler: str | None = ... + """ + The name of the method within your code that Lambda calls to run your + function. Handler is required if the deployment package is a .zip file + archive. The format includes the file name. It can also include + namespaces and other qualifiers, depending on the runtime. For more + information, see [Lambda programming + model](https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html). + """ + code: FunctionCode | None = ... + """The code for the function.""" + description: str | None = ... + """A description of the function.""" + timeout: int | None = ... + """ + The amount of time (in seconds) that Lambda allows a function to run + before stopping it. The default is 3 seconds, and the maximum allowed + value is 900 seconds. For functions using Lambda Managed Instances, + asynchronous invocations and event source mapping invocations (except + Amazon MQ and Amazon DocumentDB) support a maximum allowed value of + 5,400 seconds (90 minutes). For more information, see [Lambda execution + environment](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). + """ + memory_size: int | None = ... + """ + The amount of [memory available to the + function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) + at runtime. Increasing the function memory also increases its CPU + allocation. The default value is 128 MB. The value can be any multiple + of 1 MB. + """ + publish: bool = ... + """ + Set to true to publish the first version of the function during + creation. + """ + publish_to: str | None = ... + """Specifies where to publish the function version or configuration.""" + vpc_config: VpcConfig | None = ... + """ + For network connectivity to Amazon Web Services resources in a VPC, + specify a list of security groups and subnets in the VPC. When you + connect a function to a VPC, it can access resources and the internet + only through that VPC. For more information, see [Configuring a Lambda + function to access resources in a + VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). + """ + package_type: str | None = ... + """ + The type of deployment package. Set to `Image` for container image and + set to `Zip` for .zip file archive. + """ + dead_letter_config: DeadLetterConfig | None = ... + """ + A dead-letter queue configuration that specifies the queue or topic + where Lambda sends asynchronous events when they fail processing. For + more information, see [Dead-letter + queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq). + """ + environment: Environment | None = ... + """ + Environment variables that are accessible from function code during + execution. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt the following resources: + + - The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). + + - The function's [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) + snapshots. + + - When used with `SourceKMSKeyArn`, the unzipped version of the .zip + deployment package that's used for function invocations. For more + information, see [Specifying a customer managed key for + Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). + + - The optimized version of the container image that's used for function + invocations. Note that this is not the same key that's used to + protect your container image in the Amazon Elastic Container Registry + (Amazon ECR). For more information, see [Function + lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). + + If you don't provide a customer managed key, Lambda uses an [Amazon Web + Services owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) + or an [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). + """ + tracing_config: TracingConfig | None = ... + """ + Set `Mode` to `Active` to sample and trace a subset of incoming requests + with + [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html). + """ + tags: dict[str, str] | None = ... + """ + A list of + [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to + apply to the function. + """ + layers: list[str] | None = ... + """ + A list of [function + layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) + to add to the function's execution environment. Specify each layer by + its ARN, including the version. + """ + file_system_configs: list[FileSystemConfig] | None = ... + """ + Connection settings for an Amazon EFS file system or an Amazon S3 Files + file system. + """ + code_signing_config_arn: str | None = ... + """ + To enable code signing for this function, specify the ARN of a + code-signing configuration. A code-signing configuration includes a set + of signing profiles, which define the trusted publishers for this + function. + """ + image_config: ImageConfig | None = ... + """ + Container image [configuration + values](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) + that override the values in the container image Dockerfile. + """ + architectures: list[str] | None = ... + """ + The instruction set architecture that the function supports. Enter a + string array with one of the valid values (arm64 or x86_64). The default + value is `x86_64`. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The size of the function's `/tmp` directory in MB. The default value is + 512, but can be any whole number between 512 and 10,240 MB. For more + information, see [Configuring ephemeral storage + (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). + """ + snap_start: SnapStart | None = ... + """ + The function's + [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) + setting. + """ + logging_config: LoggingConfig | None = ... + """The function's Amazon CloudWatch Logs configuration settings.""" + tenancy_config: TenancyConfig | None = ... + """ + Configuration for multi-tenant applications that use Lambda functions. + Defines tenant isolation settings and resource allocations. Required for + functions supporting multiple tenants. + """ + capacity_provider_config: CapacityProviderConfig | None = ... + """ + Configuration for the capacity provider that manages compute resources + for Lambda functions. + """ + durable_config: DurableConfig | None = ... + """ + Configuration settings for durable functions. Enables creating functions + with durability that can remember their state and continue execution + even after interruptions. + """ + +@dataclass(kw_only=True) +class CreateFunctionOutput(_SerdeShape): + """Details about a function's configuration.""" + + function_name: str | None = ... + """The name of the function.""" + function_arn: str | None = ... + """The function's Amazon Resource Name (ARN).""" + runtime: str | None = ... + """ + The identifier of the function's + [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). + Runtime is required if the deployment package is a .zip file archive. + Specifying a runtime results in an error if you're deploying a function + using a container image. + + The following list includes deprecated runtimes. Lambda blocks creating + new functions and updating existing functions shortly after each runtime + is deprecated. For more information, see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + role: str | None = ... + """The function's execution role.""" + handler: str | None = ... + """The function that Lambda calls to begin running your function.""" + code_size: int = ... + """The size of the function's deployment package, in bytes.""" + description: str | None = ... + """The function's description.""" + timeout: int | None = ... + """ + The amount of time in seconds that Lambda allows a function to run + before stopping it. + """ + memory_size: int | None = ... + """The amount of memory available to the function at runtime.""" + last_modified: str | None = ... + """ + The date and time that the function was last updated, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + code_sha256: str | None = ... + """The SHA256 hash of the function's deployment package.""" + version: str | None = ... + """The version of the Lambda function.""" + vpc_config: VpcConfigResponse | None = ... + """The function's networking configuration.""" + dead_letter_config: DeadLetterConfig | None = ... + """The function's dead letter queue.""" + environment: EnvironmentResponse | None = ... + """ + The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). + Omitted from CloudTrail logs. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt the following resources: + + - The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). + + - The function's [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) + snapshots. + + - When used with `SourceKMSKeyArn`, the unzipped version of the .zip + deployment package that's used for function invocations. For more + information, see [Specifying a customer managed key for + Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). + + - The optimized version of the container image that's used for function + invocations. Note that this is not the same key that's used to + protect your container image in the Amazon Elastic Container Registry + (Amazon ECR). For more information, see [Function + lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). + + If you don't provide a customer managed key, Lambda uses an [Amazon Web + Services owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) + or an [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). + """ + tracing_config: TracingConfigResponse | None = ... + """The function's X-Ray tracing configuration.""" + master_arn: str | None = ... + """For Lambda@Edge functions, the ARN of the main function.""" + revision_id: str | None = ... + """The latest updated revision of the function or alias.""" + layers: list[Layer] | None = ... + """ + The function's + [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + state: str | None = ... + """ + The current state of the function. When the state is `Inactive`, you can + reactivate the function by invoking it. + """ + state_reason: str | None = ... + """The reason for the function's current state.""" + state_reason_code: str | None = ... + """ + The reason code for the function's current state. When the code is + `Creating`, you can't invoke or modify the function. + """ + last_update_status: str | None = ... + """ + The status of the last update that was performed on the function. This + is first set to `Successful` after function creation completes. + """ + last_update_status_reason: str | None = ... + """The reason for the last update that was performed on the function.""" + last_update_status_reason_code: str | None = ... + """The reason code for the last update that was performed on the function.""" + file_system_configs: list[FileSystemConfig] | None = ... + """ + Connection settings for an [Amazon EFS file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) + or an [Amazon S3 file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). + """ + signing_profile_version_arn: str | None = ... + """The ARN of the signing profile version.""" + signing_job_arn: str | None = ... + """The ARN of the signing job.""" + package_type: str | None = ... + """ + The type of deployment package. Set to `Image` for container image and + set `Zip` for .zip file archive. + """ + image_config_response: ImageConfigResponse | None = ... + """The function's image configuration values.""" + architectures: list[str] | None = ... + """ + The instruction set architecture that the function supports. + Architecture is a string array with one of the valid values. The default + architecture value is `x86_64`. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The size of the function's `/tmp` directory in MB. The default value is + 512, but can be any whole number between 512 and 10,240 MB. For more + information, see [Configuring ephemeral storage + (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). + """ + snap_start: SnapStartResponse | None = ... + """ + Set `ApplyOn` to `PublishedVersions` to create a snapshot of the + initialized execution environment when you publish a function version. + For more information, see [Improving startup performance with Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). + """ + runtime_version_config: RuntimeVersionConfig | None = ... + """The ARN of the runtime and any errors that occured.""" + logging_config: LoggingConfig | None = ... + """The function's Amazon CloudWatch Logs configuration settings.""" + tenancy_config: TenancyConfig | None = ... + """ + The function's tenant isolation configuration settings. Determines + whether the Lambda function runs on a shared or dedicated infrastructure + per unique tenant. + """ + capacity_provider_config: CapacityProviderConfig | None = ... + """ + Configuration for the capacity provider that manages compute resources + for Lambda functions. + """ + config_sha256: str | None = ... + """The SHA256 hash of the function configuration.""" + durable_config: DurableConfig | None = ... + """ + The function's durable execution configuration settings, if the + function is configured for durability. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateFunctionUrlConfigInput(_SerdeShape): + """Dataclass for CreateFunctionUrlConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """The alias name.""" + auth_type: str | None = ... + """ + The type of authentication that your function URL uses. Set to `AWS_IAM` + if you want to restrict access to authenticated users only. Set to + `NONE` if you want to bypass IAM authentication to create a public + endpoint. For more information, see [Control access to Lambda function + URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). + """ + cors: Cors | None = ... + """ + The [cross-origin resource sharing + (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings + for your function URL. + """ + invoke_mode: str | None = ... + """ + Use one of the following options: + + - `BUFFERED` -- This is the default option. Lambda invokes your function + using the `Invoke` API operation. Invocation results are available + when the payload is complete. The maximum payload size is 6 MB. + + - `RESPONSE_STREAM` -- Your function streams payload results as they + become available. Lambda invokes your function using the + `InvokeWithResponseStream` API operation. The maximum response payload + size is 200 MB. + """ + +@dataclass(kw_only=True) +class CreateFunctionUrlConfigOutput(_SerdeShape): + """Dataclass for CreateFunctionUrlConfigOutput structure.""" + + function_url: str + """The HTTP URL endpoint for your function.""" + function_arn: str + """The Amazon Resource Name (ARN) of your function.""" + auth_type: str + """ + The type of authentication that your function URL uses. Set to `AWS_IAM` + if you want to restrict access to authenticated users only. Set to + `NONE` if you want to bypass IAM authentication to create a public + endpoint. For more information, see [Control access to Lambda function + URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). + """ + cors: Cors | None = ... + """ + The [cross-origin resource sharing + (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings + for your function URL. + """ + creation_time: str + """ + When the function URL was created, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + invoke_mode: str | None = ... + """ + Use one of the following options: + + - `BUFFERED` -- This is the default option. Lambda invokes your function + using the `Invoke` API operation. Invocation results are available + when the payload is complete. The maximum payload size is 6 MB. + + - `RESPONSE_STREAM` -- Your function streams payload results as they + become available. Lambda invokes your function using the + `InvokeWithResponseStream` API operation. The maximum response payload + size is 200 MB. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeadLetterConfig(_SerdeShape): + """ + The [dead-letter + queue](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq) + for failed asynchronous invocations. + """ + + target_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS + topic. + """ + +@dataclass(kw_only=True) +class DeleteAliasInput(_SerdeShape): + """Dataclass for DeleteAliasInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + name: str | None = ... + """The name of the alias.""" + +@dataclass(kw_only=True) +class DeleteAliasOutput(_SerdeShape): + """Dataclass for DeleteAliasOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCapacityProviderInput(_SerdeShape): + """Dataclass for DeleteCapacityProviderInput structure.""" + + capacity_provider_name: str | None = ... + """The name of the capacity provider to delete.""" + +@dataclass(kw_only=True) +class DeleteCapacityProviderOutput(_SerdeShape): + """Dataclass for DeleteCapacityProviderOutput structure.""" + + capacity_provider: CapacityProvider + """Information about the deleted capacity provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCodeSigningConfigInput(_SerdeShape): + """Dataclass for DeleteCodeSigningConfigInput structure.""" + + code_signing_config_arn: str | None = ... + """The The Amazon Resource Name (ARN) of the code signing configuration.""" + +@dataclass(kw_only=True) +class DeleteCodeSigningConfigOutput(_SerdeShape): + """Dataclass for DeleteCodeSigningConfigOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteEventSourceMappingInput(_SerdeShape): + """Dataclass for DeleteEventSourceMappingInput structure.""" + + uuid: str | None = ... + """The identifier of the event source mapping.""" + +@dataclass(kw_only=True) +class DeleteEventSourceMappingOutput(_SerdeShape): + """ + A mapping between an Amazon Web Services resource and a Lambda function. + For details, see CreateEventSourceMapping. + """ + + uuid: str | None = ... + """The identifier of the event source mapping.""" + starting_position: str | None = ... + """ + The position in a stream from which to start reading. Required for + Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` + is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon + MSK, and self-managed Apache Kafka. + """ + starting_position_timestamp: datetime | None = ... + """ + With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to + start reading. `StartingPositionTimestamp` cannot be in the future. + """ + batch_size: int | None = ... + """ + The maximum number of records in each batch that Lambda pulls from your + stream or queue and sends to your function. Lambda passes all of the + records in the batch to the function in a single call, up to the payload + limit for synchronous invocation (6 MB). + + Default value: Varies by service. For Amazon SQS, the default is 10. For + all other services, the default is 100. + + Related setting: When you set `BatchSize` to a value greater than 10, + you must set `MaximumBatchingWindowInSeconds` to at least 1. + """ + maximum_batching_window_in_seconds: int | None = ... + """ + The maximum amount of time, in seconds, that Lambda spends gathering + records before invoking the function. You can configure + `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 + seconds in increments of seconds. + + For streams and Amazon SQS event sources, the default batching window is + 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and + DocumentDB event sources, the default batching window is 500 ms. Note + that because you can only change `MaximumBatchingWindowInSeconds` in + increments of seconds, you cannot revert back to the 500 ms default + batching window after you have changed it. To restore the default + batching window, you must create a new event source mapping. + + Related setting: For streams and Amazon SQS event sources, when you set + `BatchSize` to a value greater than 10, you must set + `MaximumBatchingWindowInSeconds` to at least 1. + """ + parallelization_factor: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The number of batches to process + concurrently from each shard. The default value is 1. + """ + event_source_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source.""" + filter_criteria: FilterCriteria | None = ... + """ + An object that defines the filter criteria that determine whether Lambda + should process an event. For more information, see [Lambda event + filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + + If filter criteria is encrypted, this field shows up as `null` in the + response of ListEventSourceMapping API calls. You can view this field in + plaintext in the response of GetEventSourceMapping and + DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for + the correct KMS key. + """ + filter_criteria_error: FilterCriteriaError | None = ... + """ + An object that contains details about an error related to filter + criteria encryption. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that + Lambda uses to encrypt your function's [filter + criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). + """ + metrics_config: EventSourceMappingMetricsConfig | None = ... + """ + The metrics configuration for your event source. For more information, + see [Event source mapping + metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). + """ + logging_config: EventSourceMappingLoggingConfig | None = ... + """ + (Amazon MSK, and self-managed Apache Kafka only) The logging + configuration for your event source. For more information, see [Event + source mapping + logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). + """ + scaling_config: ScalingConfig | None = ... + """ + (Amazon SQS only) The scaling configuration for the event source. For + more information, see [Configuring maximum concurrency for Amazon SQS + event + sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + """ + function_arn: str | None = ... + """The ARN of the Lambda function.""" + last_modified: datetime | None = ... + """ + The date that the event source mapping was last updated or that its + state changed. + """ + last_processing_result: str | None = ... + """The result of the event source mapping's last processing attempt.""" + state: str | None = ... + """ + The state of the event source mapping. It can be one of the following: + `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, + or `Deleting`. + """ + state_transition_reason: str | None = ... + """ + Indicates whether a user or Lambda made the last change to the event + source mapping. + """ + destination_config: DestinationConfig | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A + configuration object that specifies the destination of an event after + Lambda processes it. + """ + topics: list[str] | None = ... + """The name of the Kafka topic.""" + queues: list[str] | None = ... + """ + (Amazon MQ) The name of the Amazon MQ broker destination queue to + consume. + """ + source_access_configurations: list[SourceAccessConfiguration] | None = ... + """ + An array of the authentication protocol, VPC components, or virtual host + to secure and define your event source. + """ + self_managed_event_source: SelfManagedEventSource | None = ... + """The self-managed Apache Kafka cluster for your event source.""" + maximum_record_age_in_seconds: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records older than the specified age. The default value is -1, + which sets the maximum age to infinite. When the value is set to + infinite, Lambda never discards old records. + + Note: + The minimum valid value for maximum record age is 60s. Although values + less than 60 and greater than -1 fall within the parameter's absolute + range, they are not allowed + """ + bisect_batch_on_function_error: bool | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + If the function returns an error, split the batch in two and retry. The + default value is false. + """ + maximum_retry_attempts: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records after the specified number of retries. The default value + is -1, which sets the maximum number of retries to infinite. When + MaximumRetryAttempts is infinite, Lambda retries failed records until + the record expires in the event source. + """ + tumbling_window_in_seconds: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The duration in seconds of a + processing window for DynamoDB and Kinesis Streams event sources. A + value of 0 seconds indicates no tumbling window. + """ + function_response_types: list[str] | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and + Amazon SQS) A list of current response type enums applied to the event + source mapping. + """ + amazon_managed_kafka_event_source_config: ( + AmazonManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for an Amazon Managed Streaming for + Apache Kafka (Amazon MSK) event source. + """ + self_managed_kafka_event_source_config: ( + SelfManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for a self-managed Apache Kafka event + source. + """ + document_db_event_source_config: DocumentDBEventSourceConfig | None = ... + """Specific configuration settings for a DocumentDB event source.""" + event_source_mapping_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source mapping.""" + provisioned_poller_config: ProvisionedPollerConfig | None = ... + """ + (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The + provisioned mode configuration for the event source. For more + information, see [provisioned + mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFunctionCodeSigningConfigInput(_SerdeShape): + """Dataclass for DeleteFunctionCodeSigningConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + +@dataclass(kw_only=True) +class DeleteFunctionCodeSigningConfigOutput(_SerdeShape): + """Dataclass for DeleteFunctionCodeSigningConfigOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFunctionConcurrencyInput(_SerdeShape): + """Dataclass for DeleteFunctionConcurrencyInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + +@dataclass(kw_only=True) +class DeleteFunctionConcurrencyOutput(_SerdeShape): + """Dataclass for DeleteFunctionConcurrencyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFunctionEventInvokeConfigInput(_SerdeShape): + """Dataclass for DeleteFunctionEventInvokeConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** - `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** - `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """A version number or alias name.""" + +@dataclass(kw_only=True) +class DeleteFunctionEventInvokeConfigOutput(_SerdeShape): + """Dataclass for DeleteFunctionEventInvokeConfigOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFunctionInput(_SerdeShape): + """Dataclass for DeleteFunctionInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function or version. + + **Name formats** + + - **Function name** -- `my-function` (name-only), `my-function:1` (with + version). + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """ + Specify a version to delete. You can't delete a version that an alias + references. + """ + +@dataclass(kw_only=True) +class DeleteFunctionOutput(_SerdeShape): + """Dataclass for DeleteFunctionOutput structure.""" + + status_code: int = ... + """The HTTP status code returned by the operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteFunctionUrlConfigInput(_SerdeShape): + """Dataclass for DeleteFunctionUrlConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """The alias name.""" + +@dataclass(kw_only=True) +class DeleteFunctionUrlConfigOutput(_SerdeShape): + """Dataclass for DeleteFunctionUrlConfigOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteLayerVersionInput(_SerdeShape): + """Dataclass for DeleteLayerVersionInput structure.""" + + layer_name: str | None = ... + """The name or Amazon Resource Name (ARN) of the layer.""" + version_number: int | None = ... + """The version number.""" + +@dataclass(kw_only=True) +class DeleteLayerVersionOutput(_SerdeShape): + """Dataclass for DeleteLayerVersionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteProvisionedConcurrencyConfigInput(_SerdeShape): + """Dataclass for DeleteProvisionedConcurrencyConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """The version number or alias name.""" + +@dataclass(kw_only=True) +class DeleteProvisionedConcurrencyConfigOutput(_SerdeShape): + """Dataclass for DeleteProvisionedConcurrencyConfigOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyInput(_SerdeShape): + """Dataclass for DeleteResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda resource you want to delete + the policy from. You can use a qualified or an unqualified ARN. The + value must be a complete ARN, and the operation does not accept wildcard + characters. + """ + revision_id: str | None = ... + """ + The revision ID that the existing policy must match for the deletion to + proceed. If the revision ID doesn't match, the operation fails with a + `PreconditionFailedException` error. To retrieve the current revision + ID, use the GetResourcePolicy operation. + """ + +@dataclass(kw_only=True) +class DeleteResourcePolicyOutput(_SerdeShape): + """Dataclass for DeleteResourcePolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DestinationConfig(_SerdeShape): + """ + A configuration object that specifies the destination of an event after + Lambda processes it. For more information, see [Adding a + destination](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations). + """ + + on_success: OnSuccess | None = ... + """ + The destination configuration for successful invocations. Not supported + in `CreateEventSourceMapping` or `UpdateEventSourceMapping`. + """ + on_failure: OnFailure | None = ... + """The destination configuration for failed invocations.""" + +class DirectS3Read(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + AUTO = "AUTO" + +@dataclass(kw_only=True) +class DocumentDBEventSourceConfig(_SerdeShape): + """Specific configuration settings for a DocumentDB event source.""" + + database_name: str | None = ... + """The name of the database to consume within the DocumentDB cluster.""" + collection_name: str | None = ... + """ + The name of the collection to consume within the database. If you do not + specify a collection, Lambda consumes all collections. + """ + full_document: str | None = ... + """ + Determines what DocumentDB sends to your event stream during document + update operations. If set to UpdateLookup, DocumentDB sends a delta + describing the changes, along with a copy of the entire document. + Otherwise, DocumentDB sends only a partial document that contains the + changes. + """ + +@dataclass(kw_only=True) +class DurableConfig(_SerdeShape): + """ + Configuration settings for [durable + functions](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html), + including execution timeout, retention period for execution history, and + an optional ARN of the Key Management Service (KMS) customer managed key + that is used to encrypt your durable execution's payload data, + including input, output, and error payloads. + """ + + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that is + used to encrypt your durable execution's payload data, including input, + output, and error payloads. + """ + retention_period_in_days: int | None = ... + """ + The number of days to retain execution history after a durable execution + completes. After this period, execution history is no longer available + through the GetDurableExecutionHistory API. + """ + execution_timeout: int | None = ... + """ + The maximum time (in seconds) that a durable execution can run before + timing out. This timeout applies to the entire durable execution, not + individual function invocations. + """ + +@dataclass(kw_only=True) +class DurableExecutionAlreadyStartedException(ServiceError, _SerdeShape): + """ + The durable execution with the specified name has already been started. + Each durable execution name must be unique within the function. Use a + different name or check the status of the existing execution. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EC2AccessDeniedException(ServiceError, _SerdeShape): + """Need additional permissions to configure VPC settings.""" + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EC2ThrottledException(ServiceError, _SerdeShape): + """ + Amazon EC2 throttled Lambda during Lambda function initialization using + the execution role provided for the function. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EC2UnexpectedException(ServiceError, _SerdeShape): + """ + Lambda received an unexpected Amazon EC2 client exception while setting + up for the Lambda function. + """ + + type: str | None = ... + ec2_error_code: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EFSIOException(ServiceError, _SerdeShape): + """ + An error occurred when reading from or writing to a connected file + system. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EFSMountConnectivityException(ServiceError, _SerdeShape): + """ + The Lambda function couldn't make a network connection to the + configured file system. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EFSMountFailureException(ServiceError, _SerdeShape): + """ + The Lambda function couldn't mount the configured file system due to a + permission or configuration issue. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EFSMountTimeoutException(ServiceError, _SerdeShape): + """ + The Lambda function made a network connection to the configured file + system, but the mount operation timed out. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class EndPointType(UnknownEnumMixin, StrEnum): + KAFKA_BOOTSTRAP_SERVERS = "KAFKA_BOOTSTRAP_SERVERS" + +@dataclass(kw_only=True) +class ENILimitReachedException(ServiceError, _SerdeShape): + """ + Lambda couldn't create an elastic network interface in the VPC, + specified as part of Lambda function configuration, because the limit + for network interfaces has been reached. For more information, see + [Lambda + quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ENINotReadyException(ServiceError, _SerdeShape): + """ + Lambda couldn't invoke the Lambda function because the elastic network + interface (ENI) configured for its VPC connection isn't ready yet. Wait + a few moments and try the request again. For more information about VPC + configuration, see [Configuring a Lambda function to access resources in + a + VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Environment(_SerdeShape): + """ + A function's environment variable settings. You can use environment + variables to adjust your function's behavior without updating code. An + environment variable is a pair of strings that are stored in a + function's version-specific configuration. + """ + + variables: dict[str, str] | None = ... + """ + Environment variable key-value pairs. For more information, see [Using + Lambda environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). + """ + +@dataclass(kw_only=True) +class EnvironmentError(_SerdeShape): + """Error messages for environment variables that couldn't be applied.""" + + error_code: str | None = ... + """The error code.""" + message: str | None = ... + """The error message.""" + +@dataclass(kw_only=True) +class EnvironmentResponse(_SerdeShape): + """ + The results of an operation to update or read environment variables. If + the operation succeeds, the response contains the environment variables. + If it fails, the response contains details about the error. + """ + + variables: dict[str, str] | None = ... + """Environment variable key-value pairs. Omitted from CloudTrail logs.""" + error: EnvironmentError | None = ... + """Error messages for environment variables that couldn't be applied.""" + +@dataclass(kw_only=True) +class EphemeralStorage(_SerdeShape): + """ + The size of the function's `/tmp` directory in MB. The default value is + 512, but can be any whole number between 512 and 10,240 MB. For more + information, see [Configuring ephemeral storage + (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). + """ + + size: int + """The size of the function's `/tmp` directory.""" + +@dataclass(kw_only=True) +class ErrorObject(_SerdeShape): + """An object that contains error information.""" + + error_message: str | None = ... + """A human-readable error message.""" + error_type: str | None = ... + """The error type.""" + error_data: str | None = ... + """Machine-readable error data.""" + stack_trace: list[str] | None = ... + """Stack trace information for the error.""" + +@dataclass(kw_only=True) +class Event(_SerdeShape): + """An event that occurred during the execution of a durable function.""" + + event_type: str | None = ... + """The type of event that occurred.""" + sub_type: str | None = ... + """The subtype of the event, providing additional categorization.""" + event_id: int = ... + """The unique identifier for this event. Event IDs increment sequentially.""" + id: str | None = ... + """The unique identifier for this operation.""" + name: str | None = ... + """The customer-provided name for this operation.""" + event_timestamp: datetime | None = ... + """ + The date and time when this event occurred, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + parent_id: str | None = ... + """ + The unique identifier of the parent operation, if this operation is + running within a child context. + """ + execution_started_details: ExecutionStartedDetails | None = ... + """Details about an execution that started.""" + execution_succeeded_details: ExecutionSucceededDetails | None = ... + """Details about an execution that succeeded.""" + execution_failed_details: ExecutionFailedDetails | None = ... + """Details about an execution that failed.""" + execution_timed_out_details: ExecutionTimedOutDetails | None = ... + """Details about an execution that timed out.""" + execution_stopped_details: ExecutionStoppedDetails | None = ... + """Details about an execution that was stopped.""" + context_started_details: ContextStartedDetails | None = ... + """Details about a context that started.""" + context_succeeded_details: ContextSucceededDetails | None = ... + """Details about a context that succeeded.""" + context_failed_details: ContextFailedDetails | None = ... + """Details about a context that failed.""" + wait_started_details: WaitStartedDetails | None = ... + """Details about a wait operation that started.""" + wait_succeeded_details: WaitSucceededDetails | None = ... + """Details about a wait operation that succeeded.""" + wait_cancelled_details: WaitCancelledDetails | None = ... + """Details about a wait operation that was cancelled.""" + step_started_details: StepStartedDetails | None = ... + """Details about a step that started.""" + step_succeeded_details: StepSucceededDetails | None = ... + """Details about a step that succeeded.""" + step_failed_details: StepFailedDetails | None = ... + """Details about a step that failed.""" + chained_invoke_started_details: ChainedInvokeStartedDetails | None = ... + """ + Contains details about a chained function invocation that has started + execution, including start time and execution context. + """ + chained_invoke_succeeded_details: ChainedInvokeSucceededDetails | None = ... + """Details about a chained invocation that succeeded.""" + chained_invoke_failed_details: ChainedInvokeFailedDetails | None = ... + """ + Contains details about a failed chained function invocation, including + error information and failure reason. + """ + chained_invoke_timed_out_details: ChainedInvokeTimedOutDetails | None = ... + """Details about a chained invocation that timed out.""" + chained_invoke_stopped_details: ChainedInvokeStoppedDetails | None = ... + """Details about a chained invocation that was stopped.""" + callback_started_details: CallbackStartedDetails | None = ... + """ + Contains details about a callback operation that has started, including + timing information and callback metadata. + """ + callback_succeeded_details: CallbackSucceededDetails | None = ... + """ + Contains details about a successfully completed callback operation, + including the result data and completion timestamp. + """ + callback_failed_details: CallbackFailedDetails | None = ... + """ + Contains details about a failed callback operation, including error + information and the reason for failure. + """ + callback_timed_out_details: CallbackTimedOutDetails | None = ... + """ + Contains details about a callback operation that timed out, including + timeout duration and any partial results. + """ + invocation_completed_details: InvocationCompletedDetails | None = ... + """Details about a function invocation that completed.""" + +@dataclass(kw_only=True) +class EventError(_SerdeShape): + """Error information for an event.""" + + payload: ErrorObject | None = ... + """The error payload.""" + truncated: bool | None = ... + """Indicates if the error payload was truncated due to size limits.""" + +@dataclass(kw_only=True) +class EventInput(_SerdeShape): + """Input information for an event.""" + + payload: str | None = ... + """The input payload.""" + truncated: bool | None = ... + """Indicates if the error payload was truncated due to size limits.""" + +@dataclass(kw_only=True) +class EventResult(_SerdeShape): + """Result information for an event.""" + + payload: str | None = ... + """The result payload.""" + truncated: bool | None = ... + """Indicates if the error payload was truncated due to size limits.""" + +@dataclass(kw_only=True) +class EventSourceMappingConfiguration(_SerdeShape): + """ + A mapping between an Amazon Web Services resource and a Lambda function. + For details, see CreateEventSourceMapping. + """ + + uuid: str | None = ... + """The identifier of the event source mapping.""" + starting_position: str | None = ... + """ + The position in a stream from which to start reading. Required for + Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` + is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon + MSK, and self-managed Apache Kafka. + """ + starting_position_timestamp: datetime | None = ... + """ + With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to + start reading. `StartingPositionTimestamp` cannot be in the future. + """ + batch_size: int | None = ... + """ + The maximum number of records in each batch that Lambda pulls from your + stream or queue and sends to your function. Lambda passes all of the + records in the batch to the function in a single call, up to the payload + limit for synchronous invocation (6 MB). + + Default value: Varies by service. For Amazon SQS, the default is 10. For + all other services, the default is 100. + + Related setting: When you set `BatchSize` to a value greater than 10, + you must set `MaximumBatchingWindowInSeconds` to at least 1. + """ + maximum_batching_window_in_seconds: int | None = ... + """ + The maximum amount of time, in seconds, that Lambda spends gathering + records before invoking the function. You can configure + `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 + seconds in increments of seconds. + + For streams and Amazon SQS event sources, the default batching window is + 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and + DocumentDB event sources, the default batching window is 500 ms. Note + that because you can only change `MaximumBatchingWindowInSeconds` in + increments of seconds, you cannot revert back to the 500 ms default + batching window after you have changed it. To restore the default + batching window, you must create a new event source mapping. + + Related setting: For streams and Amazon SQS event sources, when you set + `BatchSize` to a value greater than 10, you must set + `MaximumBatchingWindowInSeconds` to at least 1. + """ + parallelization_factor: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The number of batches to process + concurrently from each shard. The default value is 1. + """ + event_source_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source.""" + filter_criteria: FilterCriteria | None = ... + """ + An object that defines the filter criteria that determine whether Lambda + should process an event. For more information, see [Lambda event + filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + + If filter criteria is encrypted, this field shows up as `null` in the + response of ListEventSourceMapping API calls. You can view this field in + plaintext in the response of GetEventSourceMapping and + DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for + the correct KMS key. + """ + filter_criteria_error: FilterCriteriaError | None = ... + """ + An object that contains details about an error related to filter + criteria encryption. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that + Lambda uses to encrypt your function's [filter + criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). + """ + metrics_config: EventSourceMappingMetricsConfig | None = ... + """ + The metrics configuration for your event source. For more information, + see [Event source mapping + metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). + """ + logging_config: EventSourceMappingLoggingConfig | None = ... + """ + (Amazon MSK, and self-managed Apache Kafka only) The logging + configuration for your event source. For more information, see [Event + source mapping + logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). + """ + scaling_config: ScalingConfig | None = ... + """ + (Amazon SQS only) The scaling configuration for the event source. For + more information, see [Configuring maximum concurrency for Amazon SQS + event + sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + """ + function_arn: str | None = ... + """The ARN of the Lambda function.""" + last_modified: datetime | None = ... + """ + The date that the event source mapping was last updated or that its + state changed. + """ + last_processing_result: str | None = ... + """The result of the event source mapping's last processing attempt.""" + state: str | None = ... + """ + The state of the event source mapping. It can be one of the following: + `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, + or `Deleting`. + """ + state_transition_reason: str | None = ... + """ + Indicates whether a user or Lambda made the last change to the event + source mapping. + """ + destination_config: DestinationConfig | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A + configuration object that specifies the destination of an event after + Lambda processes it. + """ + topics: list[str] | None = ... + """The name of the Kafka topic.""" + queues: list[str] | None = ... + """ + (Amazon MQ) The name of the Amazon MQ broker destination queue to + consume. + """ + source_access_configurations: list[SourceAccessConfiguration] | None = ... + """ + An array of the authentication protocol, VPC components, or virtual host + to secure and define your event source. + """ + self_managed_event_source: SelfManagedEventSource | None = ... + """The self-managed Apache Kafka cluster for your event source.""" + maximum_record_age_in_seconds: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records older than the specified age. The default value is -1, + which sets the maximum age to infinite. When the value is set to + infinite, Lambda never discards old records. + + Note: + The minimum valid value for maximum record age is 60s. Although values + less than 60 and greater than -1 fall within the parameter's absolute + range, they are not allowed + """ + bisect_batch_on_function_error: bool | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + If the function returns an error, split the batch in two and retry. The + default value is false. + """ + maximum_retry_attempts: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records after the specified number of retries. The default value + is -1, which sets the maximum number of retries to infinite. When + MaximumRetryAttempts is infinite, Lambda retries failed records until + the record expires in the event source. + """ + tumbling_window_in_seconds: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The duration in seconds of a + processing window for DynamoDB and Kinesis Streams event sources. A + value of 0 seconds indicates no tumbling window. + """ + function_response_types: list[str] | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and + Amazon SQS) A list of current response type enums applied to the event + source mapping. + """ + amazon_managed_kafka_event_source_config: ( + AmazonManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for an Amazon Managed Streaming for + Apache Kafka (Amazon MSK) event source. + """ + self_managed_kafka_event_source_config: ( + SelfManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for a self-managed Apache Kafka event + source. + """ + document_db_event_source_config: DocumentDBEventSourceConfig | None = ... + """Specific configuration settings for a DocumentDB event source.""" + event_source_mapping_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source mapping.""" + provisioned_poller_config: ProvisionedPollerConfig | None = ... + """ + (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The + provisioned mode configuration for the event source. For more + information, see [provisioned + mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). + """ + +@dataclass(kw_only=True) +class EventSourceMappingLoggingConfig(_SerdeShape): + """ + (Amazon MSK, and self-managed Apache Kafka only) The logging + configuration for your event source. Use this configuration object to + define the level of logs for your event source mapping. + """ + + system_log_level: str | None = ... + """ + The log level you want your event source mapping to use. Lambda event + poller only sends system logs at the selected level of detail and lower, + where `DEBUG` is the highest level and `WARN` is the lowest. For more + information about these metrics, see [Event source mapping + logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). + """ + +class EventSourceMappingMetric(UnknownEnumMixin, StrEnum): + EVENT_COUNT = "EventCount" + ERROR_COUNT = "ErrorCount" + KAFKA_METRICS = "KafkaMetrics" + +@dataclass(kw_only=True) +class EventSourceMappingMetricsConfig(_SerdeShape): + """ + The metrics configuration for your event source. Use this configuration + object to define which metrics you want your event source mapping to + produce. + """ + + metrics: list[str] | None = ... + """ + The metrics you want your event source mapping to produce, including + `EventCount`, `ErrorCount`, `KafkaMetrics`. + + - `EventCount` to receive metrics related to the number of events + processed by your event source mapping. + + - `ErrorCount` (Amazon MSK and self-managed Apache Kafka) to receive + metrics related to the number of errors in your event source mapping + processing. + + - `KafkaMetrics` (Amazon MSK and self-managed Apache Kafka) to receive + metrics related to the Kafka consumers from your event source mapping. + + For more information about these metrics, see [Event source mapping + metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). + """ + +class EventSourceMappingSystemLogLevel(UnknownEnumMixin, StrEnum): + DEBUG = "DEBUG" + INFO = "INFO" + WARN = "WARN" + +class EventSourcePosition(UnknownEnumMixin, StrEnum): + TRIM_HORIZON = "TRIM_HORIZON" + LATEST = "LATEST" + AT_TIMESTAMP = "AT_TIMESTAMP" + +class EventType(UnknownEnumMixin, StrEnum): + EXECUTION_STARTED = "ExecutionStarted" + EXECUTION_SUCCEEDED = "ExecutionSucceeded" + EXECUTION_FAILED = "ExecutionFailed" + EXECUTION_TIMED_OUT = "ExecutionTimedOut" + EXECUTION_STOPPED = "ExecutionStopped" + CONTEXT_STARTED = "ContextStarted" + CONTEXT_SUCCEEDED = "ContextSucceeded" + CONTEXT_FAILED = "ContextFailed" + WAIT_STARTED = "WaitStarted" + WAIT_SUCCEEDED = "WaitSucceeded" + WAIT_CANCELLED = "WaitCancelled" + STEP_STARTED = "StepStarted" + STEP_SUCCEEDED = "StepSucceeded" + STEP_FAILED = "StepFailed" + CHAINED_INVOKE_STARTED = "ChainedInvokeStarted" + CHAINED_INVOKE_SUCCEEDED = "ChainedInvokeSucceeded" + CHAINED_INVOKE_FAILED = "ChainedInvokeFailed" + CHAINED_INVOKE_TIMED_OUT = "ChainedInvokeTimedOut" + CHAINED_INVOKE_STOPPED = "ChainedInvokeStopped" + CALLBACK_STARTED = "CallbackStarted" + CALLBACK_SUCCEEDED = "CallbackSucceeded" + CALLBACK_FAILED = "CallbackFailed" + CALLBACK_TIMED_OUT = "CallbackTimedOut" + INVOCATION_COMPLETED = "InvocationCompleted" + +@dataclass(kw_only=True) +class Execution(_SerdeShape): + """ + Information about a [durable + execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html). + """ + + durable_execution_arn: str + """ + The Amazon Resource Name (ARN) of the durable execution, if this + execution is a durable execution. + """ + durable_execution_name: str + """ + The unique name of the durable execution, if one was provided when the + execution was started. + """ + function_arn: str + """The Amazon Resource Name (ARN) of the Lambda function.""" + status: str + """The current status of the durable execution.""" + start_timestamp: datetime + """ + The date and time when the durable execution started, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + end_timestamp: datetime | None = ... + """ + The date and time when the durable execution ended, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that is + used to encrypt your durable execution's payload data, including input, + output, and error payloads. + """ + +@dataclass(kw_only=True) +class ExecutionDetails(_SerdeShape): + """ + Details about a [durable + execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html). + """ + + input_payload: str | None = ... + """The original input payload provided for the durable execution.""" + +@dataclass(kw_only=True) +class ExecutionFailedDetails(_SerdeShape): + """ + Details about a failed [durable + execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html). + """ + + error: EventError + """Details about the execution failure.""" + +@dataclass(kw_only=True) +class ExecutionStartedDetails(_SerdeShape): + """Details about a durable execution that started.""" + + input: EventInput + """The input payload provided for the durable execution.""" + execution_timeout: int + """ + The maximum amount of time that the durable execution is allowed to run, + in seconds. + """ + +class ExecutionStatus(UnknownEnumMixin, StrEnum): + RUNNING = "RUNNING" + SUCCEEDED = "SUCCEEDED" + FAILED = "FAILED" + TIMED_OUT = "TIMED_OUT" + STOPPED = "STOPPED" + +@dataclass(kw_only=True) +class ExecutionStoppedDetails(_SerdeShape): + """ + Details about a [durable + execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html) + that stopped. + """ + + error: EventError + """Details about why the execution stopped.""" + +@dataclass(kw_only=True) +class ExecutionSucceededDetails(_SerdeShape): + """ + Details about a [durable + execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html) + that succeeded. + """ + + result: EventResult + """The response payload from the successful operation.""" + +@dataclass(kw_only=True) +class ExecutionTimedOutDetails(_SerdeShape): + """ + Details about a [durable + execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html) + that timed out. + """ + + error: EventError | None = ... + """Details about the execution timeout.""" + +@dataclass(kw_only=True) +class FileSystemConfig(_SerdeShape): + """ + Details about the connection between a Lambda function and an [Amazon + EFS file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) + or an [Amazon S3 file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). + """ + + arn: str + """ + The Amazon Resource Name (ARN) of the Amazon EFS or Amazon S3 Files + access point that provides access to the file system. + """ + local_mount_path: str + """ + The path where the function can access the file system, starting with + `/mnt/`. + """ + s3_files_config: S3FilesConfig | None = ... + """ + The configuration for how your function accesses data on an Amazon S3 + file system. Valid only when the file system access point ARN is an + Amazon S3 Files access point. If you specify a different access point + type (for example, Amazon Elastic File System), the operation returns an + `InvalidParameterException`. + """ + +@dataclass(kw_only=True) +class Filter(_SerdeShape): + """ + A structure within a `FilterCriteria` object that defines an event + filtering pattern. + """ + + pattern: str | None = ... + """ + A filter pattern. For more information on the syntax of a filter + pattern, see [Filter rule + syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax). + """ + +@dataclass(kw_only=True) +class FilterCriteria(_SerdeShape): + """An object that contains the filters for an event source.""" + + filters: list[Filter] | None = ... + """A list of filters.""" + +@dataclass(kw_only=True) +class FilterCriteriaError(_SerdeShape): + """ + An object that contains details about an error related to filter + criteria encryption. + """ + + error_code: str | None = ... + """ + The KMS exception that resulted from filter criteria encryption or + decryption. + """ + message: str | None = ... + """The error message.""" + +class FullDocument(UnknownEnumMixin, StrEnum): + UPDATE_LOOKUP = "UpdateLookup" + DEFAULT = "Default" + +@dataclass(kw_only=True) +class FunctionCode(_SerdeShape): + """ + The code for the Lambda function. You can either specify an object in + Amazon S3, upload a .zip file archive deployment package directly, or + specify the URI of a container image. + """ + + zip_file: bytes | None = ... + """ + The base64-encoded contents of the deployment package. Amazon Web + Services SDK and CLI clients handle the encoding for you. + """ + s3_bucket: str | None = ... + """ + An Amazon S3 bucket in the same Amazon Web Services Region as your + function. The bucket can be in a different Amazon Web Services account. + """ + s3_key: str | None = ... + """The Amazon S3 key of the deployment package.""" + s3_object_version: str | None = ... + """ + For versioned objects, the version of the deployment package object to + use. + """ + s3_object_storage_mode: str | None = ... + """ + Specifies how the deployment package is stored. Valid values: + + - `COPY` (default) -- Uploads a copy of your deployment package to + Lambda. + + - `REFERENCE` -- Lambda references the deployment package from the + specified Amazon S3 bucket. + """ + image_uri: str | None = ... + """ + URI of a [container + image](https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) + in the Amazon ECR registry. + """ + source_kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt your function's .zip deployment package. If you don't + provide a customer managed key, Lambda uses an [Amazon Web Services + owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk). + """ + +@dataclass(kw_only=True) +class FunctionCodeLocation(_SerdeShape): + """Details about a function's deployment package.""" + + repository_type: str | None = ... + """The service that's hosting the file.""" + location: str | None = ... + """A presigned URL that you can use to download the deployment package.""" + image_uri: str | None = ... + """URI of a container image in the Amazon ECR registry.""" + resolved_image_uri: str | None = ... + """The resolved URI for the image.""" + resolved_s3_object: ResolvedS3Object | None = ... + """The resolved Amazon S3 object that contains the deployment package.""" + source_kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt your function's .zip deployment package. If you don't + provide a customer managed key, Lambda uses an [Amazon Web Services + owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk). + """ + error: FunctionCodeLocationError | None = ... + """ + An object that contains details about an error related to function + deployment package retrieval. + """ + +@dataclass(kw_only=True) +class FunctionCodeLocationError(_SerdeShape): + """ + Contains details about an error that occurred when Lambda attempted to + retrieve a function's deployment package. + """ + + error_code: str | None = ... + """ + The error code that identifies why Lambda failed to retrieve the + deployment package. + """ + message: str | None = ... + """ + The human-readable message that describes why Lambda failed to retrieve + the deployment package. + """ + +@dataclass(kw_only=True) +class FunctionConfiguration(_SerdeShape): + """Details about a function's configuration.""" + + function_name: str | None = ... + """The name of the function.""" + function_arn: str | None = ... + """The function's Amazon Resource Name (ARN).""" + runtime: str | None = ... + """ + The identifier of the function's + [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). + Runtime is required if the deployment package is a .zip file archive. + Specifying a runtime results in an error if you're deploying a function + using a container image. + + The following list includes deprecated runtimes. Lambda blocks creating + new functions and updating existing functions shortly after each runtime + is deprecated. For more information, see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + role: str | None = ... + """The function's execution role.""" + handler: str | None = ... + """The function that Lambda calls to begin running your function.""" + code_size: int = ... + """The size of the function's deployment package, in bytes.""" + description: str | None = ... + """The function's description.""" + timeout: int | None = ... + """ + The amount of time in seconds that Lambda allows a function to run + before stopping it. + """ + memory_size: int | None = ... + """The amount of memory available to the function at runtime.""" + last_modified: str | None = ... + """ + The date and time that the function was last updated, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + code_sha256: str | None = ... + """The SHA256 hash of the function's deployment package.""" + version: str | None = ... + """The version of the Lambda function.""" + vpc_config: VpcConfigResponse | None = ... + """The function's networking configuration.""" + dead_letter_config: DeadLetterConfig | None = ... + """The function's dead letter queue.""" + environment: EnvironmentResponse | None = ... + """ + The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). + Omitted from CloudTrail logs. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt the following resources: + + - The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). + + - The function's [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) + snapshots. + + - When used with `SourceKMSKeyArn`, the unzipped version of the .zip + deployment package that's used for function invocations. For more + information, see [Specifying a customer managed key for + Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). + + - The optimized version of the container image that's used for function + invocations. Note that this is not the same key that's used to + protect your container image in the Amazon Elastic Container Registry + (Amazon ECR). For more information, see [Function + lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). + + If you don't provide a customer managed key, Lambda uses an [Amazon Web + Services owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) + or an [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). + """ + tracing_config: TracingConfigResponse | None = ... + """The function's X-Ray tracing configuration.""" + master_arn: str | None = ... + """For Lambda@Edge functions, the ARN of the main function.""" + revision_id: str | None = ... + """The latest updated revision of the function or alias.""" + layers: list[Layer] | None = ... + """ + The function's + [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + state: str | None = ... + """ + The current state of the function. When the state is `Inactive`, you can + reactivate the function by invoking it. + """ + state_reason: str | None = ... + """The reason for the function's current state.""" + state_reason_code: str | None = ... + """ + The reason code for the function's current state. When the code is + `Creating`, you can't invoke or modify the function. + """ + last_update_status: str | None = ... + """ + The status of the last update that was performed on the function. This + is first set to `Successful` after function creation completes. + """ + last_update_status_reason: str | None = ... + """The reason for the last update that was performed on the function.""" + last_update_status_reason_code: str | None = ... + """The reason code for the last update that was performed on the function.""" + file_system_configs: list[FileSystemConfig] | None = ... + """ + Connection settings for an [Amazon EFS file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) + or an [Amazon S3 file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). + """ + signing_profile_version_arn: str | None = ... + """The ARN of the signing profile version.""" + signing_job_arn: str | None = ... + """The ARN of the signing job.""" + package_type: str | None = ... + """ + The type of deployment package. Set to `Image` for container image and + set `Zip` for .zip file archive. + """ + image_config_response: ImageConfigResponse | None = ... + """The function's image configuration values.""" + architectures: list[str] | None = ... + """ + The instruction set architecture that the function supports. + Architecture is a string array with one of the valid values. The default + architecture value is `x86_64`. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The size of the function's `/tmp` directory in MB. The default value is + 512, but can be any whole number between 512 and 10,240 MB. For more + information, see [Configuring ephemeral storage + (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). + """ + snap_start: SnapStartResponse | None = ... + """ + Set `ApplyOn` to `PublishedVersions` to create a snapshot of the + initialized execution environment when you publish a function version. + For more information, see [Improving startup performance with Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). + """ + runtime_version_config: RuntimeVersionConfig | None = ... + """The ARN of the runtime and any errors that occured.""" + logging_config: LoggingConfig | None = ... + """The function's Amazon CloudWatch Logs configuration settings.""" + tenancy_config: TenancyConfig | None = ... + """ + The function's tenant isolation configuration settings. Determines + whether the Lambda function runs on a shared or dedicated infrastructure + per unique tenant. + """ + capacity_provider_config: CapacityProviderConfig | None = ... + """ + Configuration for the capacity provider that manages compute resources + for Lambda functions. + """ + config_sha256: str | None = ... + """The SHA256 hash of the function configuration.""" + durable_config: DurableConfig | None = ... + """ + The function's durable execution configuration settings, if the + function is configured for durability. + """ + +@dataclass(kw_only=True) +class FunctionEventInvokeConfig(_SerdeShape): + """Dataclass for FunctionEventInvokeConfig structure.""" + + last_modified: datetime | None = ... + """The date and time that the configuration was last updated.""" + function_arn: str | None = ... + """The Amazon Resource Name (ARN) of the function.""" + maximum_retry_attempts: int | None = ... + """The maximum number of times to retry when the function returns an error.""" + maximum_event_age_in_seconds: int | None = ... + """ + The maximum age of a request that Lambda sends to a function for + processing. + """ + destination_config: DestinationConfig | None = ... + """ + A destination for events after they have been sent to a function for + processing. + + **Destinations** + + - **Function** - The Amazon Resource Name (ARN) of a Lambda function. + + - **Queue** - The ARN of a standard SQS queue. + + - **Bucket** - The ARN of an Amazon S3 bucket. + + - **Topic** - The ARN of a standard SNS topic. + + - **Event Bus** - The ARN of an Amazon EventBridge event bus. + + Note: + S3 buckets are supported only for on-failure destinations. To retain + records of successful invocations, use another destination type. + """ + +class FunctionResponseType(UnknownEnumMixin, StrEnum): + REPORT_BATCH_ITEM_FAILURES = "ReportBatchItemFailures" + +@dataclass(kw_only=True) +class FunctionScalingConfig(_SerdeShape): + """ + Configuration that defines the scaling behavior for a Lambda Managed + Instances function, including the minimum and maximum number of + execution environments that can be provisioned. + """ + + min_execution_environments: int | None = ... + """ + The minimum number of execution environments to maintain for the + function. + """ + max_execution_environments: int | None = ... + """ + The maximum number of execution environments that can be provisioned for + the function. + """ + +class FunctionUrlAuthType(UnknownEnumMixin, StrEnum): + NONE = "NONE" + AWS_IAM = "AWS_IAM" + +@dataclass(kw_only=True) +class FunctionUrlConfig(_SerdeShape): + """Details about a Lambda function URL.""" + + function_url: str + """The HTTP URL endpoint for your function.""" + function_arn: str + """The Amazon Resource Name (ARN) of your function.""" + creation_time: str + """ + When the function URL was created, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + last_modified_time: str + """ + When the function URL configuration was last updated, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + cors: Cors | None = ... + """ + The [cross-origin resource sharing + (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings + for your function URL. + """ + auth_type: str + """ + The type of authentication that your function URL uses. Set to `AWS_IAM` + if you want to restrict access to authenticated users only. Set to + `NONE` if you want to bypass IAM authentication to create a public + endpoint. For more information, see [Security and auth model for Lambda + function + URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). + """ + invoke_mode: str | None = ... + """ + Use one of the following options: + + - `BUFFERED` -- This is the default option. Lambda invokes your function + using the `Invoke` API operation. Invocation results are available + when the payload is complete. The maximum payload size is 6 MB. + + - `RESPONSE_STREAM` -- Your function streams payload results as they + become available. Lambda invokes your function using the + `InvokeWithResponseStream` API operation. The maximum response payload + size is 200 MB. + """ + +class FunctionVersion(UnknownEnumMixin, StrEnum): + ALL = "ALL" + +class FunctionVersionLatestPublished(UnknownEnumMixin, StrEnum): + LATEST_PUBLISHED = "LATEST_PUBLISHED" + +@dataclass(kw_only=True) +class FunctionVersionsByCapacityProviderListItem(_SerdeShape): + """ + Information about a function version that uses a specific capacity + provider, including its ARN and current state. + """ + + function_arn: str + """The Amazon Resource Name (ARN) of the function version.""" + state: str + """The current state of the function version.""" + +@dataclass(kw_only=True) +class FunctionVersionsPerCapacityProviderLimitExceededException( + ServiceError, _SerdeShape +): + """ + The maximum number of function versions that can be associated with a + single capacity provider has been exceeded. For more information, see + [Lambda + quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAccountSettingsInput(_SerdeShape): + """Dataclass for GetAccountSettingsInput structure.""" + +@dataclass(kw_only=True) +class GetAccountSettingsOutput(_SerdeShape): + """Dataclass for GetAccountSettingsOutput structure.""" + + account_limit: AccountLimit | None = ... + """Limits that are related to concurrency and code storage.""" + account_usage: AccountUsage | None = ... + """The number of functions and amount of storage in use.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetAliasInput(_SerdeShape): + """Dataclass for GetAliasInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + name: str | None = ... + """The name of the alias.""" + +@dataclass(kw_only=True) +class GetAliasOutput(_SerdeShape): + """ + Provides configuration information about a Lambda function + [alias](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). + """ + + alias_arn: str | None = ... + """The Amazon Resource Name (ARN) of the alias.""" + name: str | None = ... + """The name of the alias.""" + function_version: str | None = ... + """The function version that the alias invokes.""" + description: str | None = ... + """A description of the alias.""" + routing_config: AliasRoutingConfiguration | None = ... + """ + The [routing + configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) + of the alias. + """ + revision_id: str | None = ... + """A unique identifier that changes when you update the alias.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCapacityProviderInput(_SerdeShape): + """Dataclass for GetCapacityProviderInput structure.""" + + capacity_provider_name: str | None = ... + """The name of the capacity provider to retrieve.""" + +@dataclass(kw_only=True) +class GetCapacityProviderOutput(_SerdeShape): + """Dataclass for GetCapacityProviderOutput structure.""" + + capacity_provider: CapacityProvider + """ + Information about the capacity provider, including its configuration and + current state. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetCodeSigningConfigInput(_SerdeShape): + """Dataclass for GetCodeSigningConfigInput structure.""" + + code_signing_config_arn: str | None = ... + """The The Amazon Resource Name (ARN) of the code signing configuration.""" + +@dataclass(kw_only=True) +class GetCodeSigningConfigOutput(_SerdeShape): + """Dataclass for GetCodeSigningConfigOutput structure.""" + + code_signing_config: CodeSigningConfig + """The code signing configuration""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDurableExecutionHistoryInput(_SerdeShape): + """Dataclass for GetDurableExecutionHistoryInput structure.""" + + durable_execution_arn: str | None = ... + """The Amazon Resource Name (ARN) of the durable execution.""" + include_execution_data: bool | None = ... + """ + Specifies whether to include execution data such as step results and + callback payloads in the history events. Set to `true` to include data, + or `false` to exclude it for a more compact response. The default is + `true`. + """ + max_items: int = ... + """ + The maximum number of history events to return per call. You can use + `Marker` to retrieve additional pages of results. The default is 100 and + the maximum allowed is 1000. A value of 0 uses the default. + """ + marker: str | None = ... + """ + If `NextMarker` was returned from a previous request, use this value to + retrieve the next page of results. Each pagination token expires after + 24 hours. + """ + reverse_order: bool | None = ... + """ + When set to `true`, returns the history events in reverse chronological + order (newest first). By default, events are returned in chronological + order (oldest first). + """ + +@dataclass(kw_only=True) +class GetDurableExecutionHistoryOutput(_SerdeShape): + """ + The response from the GetDurableExecutionHistory operation, containing + the execution history and events. + """ + + events: list[Event] + """ + An array of execution history events, ordered chronologically unless + `ReverseOrder` is set to `true`. Each event represents a significant + occurrence during the execution, such as step completion or callback + resolution. + """ + next_marker: str | None = ... + """ + If present, indicates that more history events are available. Use this + value as the `Marker` parameter in a subsequent request to retrieve the + next page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDurableExecutionInput(_SerdeShape): + """Dataclass for GetDurableExecutionInput structure.""" + + durable_execution_arn: str | None = ... + """The Amazon Resource Name (ARN) of the durable execution.""" + include_execution_data: bool = ... + """ + Specifies whether to include execution data such as input payload, + result, and error information in the response. Set to `false` for a more + compact response that includes only execution metadata. The default + value is set to `true`. + """ + +@dataclass(kw_only=True) +class GetDurableExecutionOutput(_SerdeShape): + """ + The response from the GetDurableExecution operation, containing detailed + information about the durable execution. + """ + + durable_execution_arn: str + """The Amazon Resource Name (ARN) of the durable execution.""" + durable_execution_name: str + """ + The name of the durable execution. This is either the name you provided + when invoking the function, or a system-generated unique identifier if + no name was provided. + """ + function_arn: str + """ + The Amazon Resource Name (ARN) of the Lambda function that was invoked + to start this durable execution. + """ + input_payload: str | None = ... + """ + The JSON input payload that you provided when you started the durable + execution. Asynchronous invocations support up to 1 MB, and synchronous + invocations support up to 6 MB. + """ + result: str | None = ... + """ + The JSON result returned by the durable execution if it completed + successfully. This field is only present when the execution status is + `SUCCEEDED`. Asynchronous invocations support up to 1 MB, and + synchronous invocations support up to 6 MB. + """ + error: ErrorObject | None = ... + """ + Error information if the durable execution failed. This field is only + present when the execution status is `FAILED`, `TIMED_OUT`, or + `STOPPED`. The combined size of all error fields is limited to 1 MB. + """ + start_timestamp: datetime + """ + The date and time when the durable execution started, in Unix timestamp + format. + """ + status: str + """ + The current status of the durable execution. Valid values are `RUNNING`, + `SUCCEEDED`, `FAILED`, `TIMED_OUT`, and `STOPPED`. + """ + end_timestamp: datetime | None = ... + """ + The date and time when the durable execution ended, in Unix timestamp + format. This field is only present if the execution has completed + (status is `SUCCEEDED`, `FAILED`, `TIMED_OUT`, or `STOPPED`). + """ + version: str | None = ... + """ + The version of the Lambda function that was invoked for this durable + execution. This ensures that all replays during the execution use the + same function version. + """ + trace_header: TraceHeader | None = ... + """The trace headers associated with the durable execution.""" + execution_data_included: bool | None = ... + """ + Indicates whether execution data is included in this response. Returns + `false` when `IncludeExecutionData` is set to `false` in the request. + """ + durable_config: DurableConfig | None = ... + """ + Configuration settings for the durable execution, including execution + timeout, retention period for execution history, and an optional ARN of + the Key Management Service (KMS) customer managed key that is used to + encrypt your durable execution's payload data, including input, output, + and error payloads. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDurableExecutionStateInput(_SerdeShape): + """Dataclass for GetDurableExecutionStateInput structure.""" + + durable_execution_arn: str | None = ... + """The Amazon Resource Name (ARN) of the durable execution.""" + checkpoint_token: str | None = ... + """ + A checkpoint token that identifies the current state of the execution. + This token is provided by the Lambda runtime and ensures that state + retrieval is consistent with the current execution context. + """ + marker: str | None = ... + """ + If `NextMarker` was returned from a previous request, use this value to + retrieve the next page of operations. Each pagination token expires + after 24 hours. + """ + max_items: int = ... + """ + The maximum number of operations to return per call. You can use + `Marker` to retrieve additional pages of results. The default is 100 and + the maximum allowed is 1000. A value of 0 uses the default. + """ + +@dataclass(kw_only=True) +class GetDurableExecutionStateOutput(_SerdeShape): + """ + The response from the GetDurableExecutionState operation, containing the + current execution state for replay. + """ + + operations: list[Operation] + """ + An array of operations that represent the current state of the durable + execution. Operations are ordered by their start sequence number in + ascending order and include information needed for replay processing. + """ + next_marker: str | None = ... + """ + If present, indicates that more operations are available. Use this value + as the `Marker` parameter in a subsequent request to retrieve the next + page of results. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetEventSourceMappingInput(_SerdeShape): + """Dataclass for GetEventSourceMappingInput structure.""" + + uuid: str | None = ... + """The identifier of the event source mapping.""" + +@dataclass(kw_only=True) +class GetEventSourceMappingOutput(_SerdeShape): + """ + A mapping between an Amazon Web Services resource and a Lambda function. + For details, see CreateEventSourceMapping. + """ + + uuid: str | None = ... + """The identifier of the event source mapping.""" + starting_position: str | None = ... + """ + The position in a stream from which to start reading. Required for + Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` + is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon + MSK, and self-managed Apache Kafka. + """ + starting_position_timestamp: datetime | None = ... + """ + With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to + start reading. `StartingPositionTimestamp` cannot be in the future. + """ + batch_size: int | None = ... + """ + The maximum number of records in each batch that Lambda pulls from your + stream or queue and sends to your function. Lambda passes all of the + records in the batch to the function in a single call, up to the payload + limit for synchronous invocation (6 MB). + + Default value: Varies by service. For Amazon SQS, the default is 10. For + all other services, the default is 100. + + Related setting: When you set `BatchSize` to a value greater than 10, + you must set `MaximumBatchingWindowInSeconds` to at least 1. + """ + maximum_batching_window_in_seconds: int | None = ... + """ + The maximum amount of time, in seconds, that Lambda spends gathering + records before invoking the function. You can configure + `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 + seconds in increments of seconds. + + For streams and Amazon SQS event sources, the default batching window is + 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and + DocumentDB event sources, the default batching window is 500 ms. Note + that because you can only change `MaximumBatchingWindowInSeconds` in + increments of seconds, you cannot revert back to the 500 ms default + batching window after you have changed it. To restore the default + batching window, you must create a new event source mapping. + + Related setting: For streams and Amazon SQS event sources, when you set + `BatchSize` to a value greater than 10, you must set + `MaximumBatchingWindowInSeconds` to at least 1. + """ + parallelization_factor: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The number of batches to process + concurrently from each shard. The default value is 1. + """ + event_source_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source.""" + filter_criteria: FilterCriteria | None = ... + """ + An object that defines the filter criteria that determine whether Lambda + should process an event. For more information, see [Lambda event + filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + + If filter criteria is encrypted, this field shows up as `null` in the + response of ListEventSourceMapping API calls. You can view this field in + plaintext in the response of GetEventSourceMapping and + DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for + the correct KMS key. + """ + filter_criteria_error: FilterCriteriaError | None = ... + """ + An object that contains details about an error related to filter + criteria encryption. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that + Lambda uses to encrypt your function's [filter + criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). + """ + metrics_config: EventSourceMappingMetricsConfig | None = ... + """ + The metrics configuration for your event source. For more information, + see [Event source mapping + metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). + """ + logging_config: EventSourceMappingLoggingConfig | None = ... + """ + (Amazon MSK, and self-managed Apache Kafka only) The logging + configuration for your event source. For more information, see [Event + source mapping + logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). + """ + scaling_config: ScalingConfig | None = ... + """ + (Amazon SQS only) The scaling configuration for the event source. For + more information, see [Configuring maximum concurrency for Amazon SQS + event + sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + """ + function_arn: str | None = ... + """The ARN of the Lambda function.""" + last_modified: datetime | None = ... + """ + The date that the event source mapping was last updated or that its + state changed. + """ + last_processing_result: str | None = ... + """The result of the event source mapping's last processing attempt.""" + state: str | None = ... + """ + The state of the event source mapping. It can be one of the following: + `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, + or `Deleting`. + """ + state_transition_reason: str | None = ... + """ + Indicates whether a user or Lambda made the last change to the event + source mapping. + """ + destination_config: DestinationConfig | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A + configuration object that specifies the destination of an event after + Lambda processes it. + """ + topics: list[str] | None = ... + """The name of the Kafka topic.""" + queues: list[str] | None = ... + """ + (Amazon MQ) The name of the Amazon MQ broker destination queue to + consume. + """ + source_access_configurations: list[SourceAccessConfiguration] | None = ... + """ + An array of the authentication protocol, VPC components, or virtual host + to secure and define your event source. + """ + self_managed_event_source: SelfManagedEventSource | None = ... + """The self-managed Apache Kafka cluster for your event source.""" + maximum_record_age_in_seconds: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records older than the specified age. The default value is -1, + which sets the maximum age to infinite. When the value is set to + infinite, Lambda never discards old records. + + Note: + The minimum valid value for maximum record age is 60s. Although values + less than 60 and greater than -1 fall within the parameter's absolute + range, they are not allowed + """ + bisect_batch_on_function_error: bool | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + If the function returns an error, split the batch in two and retry. The + default value is false. + """ + maximum_retry_attempts: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records after the specified number of retries. The default value + is -1, which sets the maximum number of retries to infinite. When + MaximumRetryAttempts is infinite, Lambda retries failed records until + the record expires in the event source. + """ + tumbling_window_in_seconds: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The duration in seconds of a + processing window for DynamoDB and Kinesis Streams event sources. A + value of 0 seconds indicates no tumbling window. + """ + function_response_types: list[str] | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and + Amazon SQS) A list of current response type enums applied to the event + source mapping. + """ + amazon_managed_kafka_event_source_config: ( + AmazonManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for an Amazon Managed Streaming for + Apache Kafka (Amazon MSK) event source. + """ + self_managed_kafka_event_source_config: ( + SelfManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for a self-managed Apache Kafka event + source. + """ + document_db_event_source_config: DocumentDBEventSourceConfig | None = ... + """Specific configuration settings for a DocumentDB event source.""" + event_source_mapping_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source mapping.""" + provisioned_poller_config: ProvisionedPollerConfig | None = ... + """ + (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The + provisioned mode configuration for the event source. For more + information, see [provisioned + mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFunctionCodeSigningConfigInput(_SerdeShape): + """Dataclass for GetFunctionCodeSigningConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + +@dataclass(kw_only=True) +class GetFunctionCodeSigningConfigOutput(_SerdeShape): + """Dataclass for GetFunctionCodeSigningConfigOutput structure.""" + + code_signing_config_arn: str + """The The Amazon Resource Name (ARN) of the code signing configuration.""" + function_name: str + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFunctionConcurrencyInput(_SerdeShape): + """Dataclass for GetFunctionConcurrencyInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + +@dataclass(kw_only=True) +class GetFunctionConcurrencyOutput(_SerdeShape): + """Dataclass for GetFunctionConcurrencyOutput structure.""" + + reserved_concurrent_executions: int | None = ... + """ + The number of simultaneous executions that are reserved for the + function. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFunctionConfigurationInput(_SerdeShape): + """Dataclass for GetFunctionConfigurationInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** -- `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """ + Specify a version or alias to get details about a published version of + the function. + """ + +@dataclass(kw_only=True) +class GetFunctionConfigurationOutput(_SerdeShape): + """Details about a function's configuration.""" + + function_name: str | None = ... + """The name of the function.""" + function_arn: str | None = ... + """The function's Amazon Resource Name (ARN).""" + runtime: str | None = ... + """ + The identifier of the function's + [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). + Runtime is required if the deployment package is a .zip file archive. + Specifying a runtime results in an error if you're deploying a function + using a container image. + + The following list includes deprecated runtimes. Lambda blocks creating + new functions and updating existing functions shortly after each runtime + is deprecated. For more information, see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + role: str | None = ... + """The function's execution role.""" + handler: str | None = ... + """The function that Lambda calls to begin running your function.""" + code_size: int = ... + """The size of the function's deployment package, in bytes.""" + description: str | None = ... + """The function's description.""" + timeout: int | None = ... + """ + The amount of time in seconds that Lambda allows a function to run + before stopping it. + """ + memory_size: int | None = ... + """The amount of memory available to the function at runtime.""" + last_modified: str | None = ... + """ + The date and time that the function was last updated, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + code_sha256: str | None = ... + """The SHA256 hash of the function's deployment package.""" + version: str | None = ... + """The version of the Lambda function.""" + vpc_config: VpcConfigResponse | None = ... + """The function's networking configuration.""" + dead_letter_config: DeadLetterConfig | None = ... + """The function's dead letter queue.""" + environment: EnvironmentResponse | None = ... + """ + The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). + Omitted from CloudTrail logs. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt the following resources: + + - The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). + + - The function's [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) + snapshots. + + - When used with `SourceKMSKeyArn`, the unzipped version of the .zip + deployment package that's used for function invocations. For more + information, see [Specifying a customer managed key for + Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). + + - The optimized version of the container image that's used for function + invocations. Note that this is not the same key that's used to + protect your container image in the Amazon Elastic Container Registry + (Amazon ECR). For more information, see [Function + lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). + + If you don't provide a customer managed key, Lambda uses an [Amazon Web + Services owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) + or an [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). + """ + tracing_config: TracingConfigResponse | None = ... + """The function's X-Ray tracing configuration.""" + master_arn: str | None = ... + """For Lambda@Edge functions, the ARN of the main function.""" + revision_id: str | None = ... + """The latest updated revision of the function or alias.""" + layers: list[Layer] | None = ... + """ + The function's + [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + state: str | None = ... + """ + The current state of the function. When the state is `Inactive`, you can + reactivate the function by invoking it. + """ + state_reason: str | None = ... + """The reason for the function's current state.""" + state_reason_code: str | None = ... + """ + The reason code for the function's current state. When the code is + `Creating`, you can't invoke or modify the function. + """ + last_update_status: str | None = ... + """ + The status of the last update that was performed on the function. This + is first set to `Successful` after function creation completes. + """ + last_update_status_reason: str | None = ... + """The reason for the last update that was performed on the function.""" + last_update_status_reason_code: str | None = ... + """The reason code for the last update that was performed on the function.""" + file_system_configs: list[FileSystemConfig] | None = ... + """ + Connection settings for an [Amazon EFS file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) + or an [Amazon S3 file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). + """ + signing_profile_version_arn: str | None = ... + """The ARN of the signing profile version.""" + signing_job_arn: str | None = ... + """The ARN of the signing job.""" + package_type: str | None = ... + """ + The type of deployment package. Set to `Image` for container image and + set `Zip` for .zip file archive. + """ + image_config_response: ImageConfigResponse | None = ... + """The function's image configuration values.""" + architectures: list[str] | None = ... + """ + The instruction set architecture that the function supports. + Architecture is a string array with one of the valid values. The default + architecture value is `x86_64`. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The size of the function's `/tmp` directory in MB. The default value is + 512, but can be any whole number between 512 and 10,240 MB. For more + information, see [Configuring ephemeral storage + (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). + """ + snap_start: SnapStartResponse | None = ... + """ + Set `ApplyOn` to `PublishedVersions` to create a snapshot of the + initialized execution environment when you publish a function version. + For more information, see [Improving startup performance with Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). + """ + runtime_version_config: RuntimeVersionConfig | None = ... + """The ARN of the runtime and any errors that occured.""" + logging_config: LoggingConfig | None = ... + """The function's Amazon CloudWatch Logs configuration settings.""" + tenancy_config: TenancyConfig | None = ... + """ + The function's tenant isolation configuration settings. Determines + whether the Lambda function runs on a shared or dedicated infrastructure + per unique tenant. + """ + capacity_provider_config: CapacityProviderConfig | None = ... + """ + Configuration for the capacity provider that manages compute resources + for Lambda functions. + """ + config_sha256: str | None = ... + """The SHA256 hash of the function configuration.""" + durable_config: DurableConfig | None = ... + """ + The function's durable execution configuration settings, if the + function is configured for durability. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFunctionEventInvokeConfigInput(_SerdeShape): + """Dataclass for GetFunctionEventInvokeConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** - `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** - `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """A version number or alias name.""" + +@dataclass(kw_only=True) +class GetFunctionEventInvokeConfigOutput(_SerdeShape): + """Dataclass for GetFunctionEventInvokeConfigOutput structure.""" + + last_modified: datetime | None = ... + """The date and time that the configuration was last updated.""" + function_arn: str | None = ... + """The Amazon Resource Name (ARN) of the function.""" + maximum_retry_attempts: int | None = ... + """The maximum number of times to retry when the function returns an error.""" + maximum_event_age_in_seconds: int | None = ... + """ + The maximum age of a request that Lambda sends to a function for + processing. + """ + destination_config: DestinationConfig | None = ... + """ + A destination for events after they have been sent to a function for + processing. + + **Destinations** + + - **Function** - The Amazon Resource Name (ARN) of a Lambda function. + + - **Queue** - The ARN of a standard SQS queue. + + - **Bucket** - The ARN of an Amazon S3 bucket. + + - **Topic** - The ARN of a standard SNS topic. + + - **Event Bus** - The ARN of an Amazon EventBridge event bus. + + Note: + S3 buckets are supported only for on-failure destinations. To retain + records of successful invocations, use another destination type. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFunctionInput(_SerdeShape): + """Dataclass for GetFunctionInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** -- `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """ + Specify a version or alias to get details about a published version of + the function. + """ + +@dataclass(kw_only=True) +class GetFunctionOutput(_SerdeShape): + """Dataclass for GetFunctionOutput structure.""" + + configuration: FunctionConfiguration | None = ... + """The configuration of the function or version.""" + code: FunctionCodeLocation | None = ... + """The deployment package of the function or version.""" + tags: dict[str, str] | None = ... + """ + The function's + [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html). + Lambda returns tag data only if you have explicit allow permissions for + [lambda:ListTags](https://docs.aws.amazon.com/lambda/latest/api/API_ListTags.html). + """ + tags_error: TagsError | None = ... + """ + An object that contains details about an error related to retrieving + tags. + """ + concurrency: Concurrency | None = ... + """ + The function's [reserved + concurrency](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFunctionRecursionConfigInput(_SerdeShape): + """Dataclass for GetFunctionRecursionConfigInput structure.""" + + function_name: str | None = ... + """The name of the function.""" + +@dataclass(kw_only=True) +class GetFunctionRecursionConfigOutput(_SerdeShape): + """Dataclass for GetFunctionRecursionConfigOutput structure.""" + + recursive_loop: str | None = ... + """ + If your function's recursive loop detection configuration is `Allow`, + Lambda doesn't take any action when it detects your function being + invoked as part of a recursive loop. + + If your function's recursive loop detection configuration is + `Terminate`, Lambda stops your function being invoked and notifies you + when it detects your function being invoked as part of a recursive loop. + + By default, Lambda sets your function's configuration to `Terminate`. + You can update this configuration using the PutFunctionRecursionConfig + action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFunctionScalingConfigInput(_SerdeShape): + """Dataclass for GetFunctionScalingConfigInput structure.""" + + function_name: str | None = ... + """The name or ARN of the Lambda function.""" + qualifier: str | None = ... + """ + Specify a version or alias to get the scaling configuration for a + published version of the function. + """ + +@dataclass(kw_only=True) +class GetFunctionScalingConfigOutput(_SerdeShape): + """Dataclass for GetFunctionScalingConfigOutput structure.""" + + function_arn: str | None = ... + """The Amazon Resource Name (ARN) of the function.""" + applied_function_scaling_config: FunctionScalingConfig | None = ... + """ + The scaling configuration that is currently applied to the function. + This represents the actual scaling settings in effect. + """ + requested_function_scaling_config: FunctionScalingConfig | None = ... + """The scaling configuration that was requested for the function.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetFunctionUrlConfigInput(_SerdeShape): + """Dataclass for GetFunctionUrlConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """The alias name.""" + +@dataclass(kw_only=True) +class GetFunctionUrlConfigOutput(_SerdeShape): + """Dataclass for GetFunctionUrlConfigOutput structure.""" + + function_url: str + """The HTTP URL endpoint for your function.""" + function_arn: str + """The Amazon Resource Name (ARN) of your function.""" + auth_type: str + """ + The type of authentication that your function URL uses. Set to `AWS_IAM` + if you want to restrict access to authenticated users only. Set to + `NONE` if you want to bypass IAM authentication to create a public + endpoint. For more information, see [Control access to Lambda function + URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). + """ + cors: Cors | None = ... + """ + The [cross-origin resource sharing + (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings + for your function URL. + """ + creation_time: str + """ + When the function URL was created, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + last_modified_time: str + """ + When the function URL configuration was last updated, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + invoke_mode: str | None = ... + """ + Use one of the following options: + + - `BUFFERED` -- This is the default option. Lambda invokes your function + using the `Invoke` API operation. Invocation results are available + when the payload is complete. The maximum payload size is 6 MB. + + - `RESPONSE_STREAM` -- Your function streams payload results as they + become available. Lambda invokes your function using the + `InvokeWithResponseStream` API operation. The maximum response payload + size is 200 MB. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetLayerVersionByArnInput(_SerdeShape): + """Dataclass for GetLayerVersionByArnInput structure.""" + + arn: str | None = ... + """The ARN of the layer version.""" + +@dataclass(kw_only=True) +class GetLayerVersionByArnOutput(_SerdeShape): + """Dataclass for GetLayerVersionByArnOutput structure.""" + + content: LayerVersionContentOutput | None = ... + """Details about the layer version.""" + layer_arn: str | None = ... + """The ARN of the layer.""" + layer_version_arn: str | None = ... + """The ARN of the layer version.""" + description: str | None = ... + """The description of the version.""" + created_date: str | None = ... + """ + The date that the layer version was created, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + version: int = ... + """The version number.""" + compatible_architectures: list[str] | None = ... + """ + A list of compatible [instruction set + architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). + """ + compatible_runtimes: list[str] | None = ... + """ + The layer's compatible runtimes. + + The following list includes deprecated runtimes. For more information, + see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + license_info: str | None = ... + """The layer's software license.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetLayerVersionInput(_SerdeShape): + """Dataclass for GetLayerVersionInput structure.""" + + layer_name: str | None = ... + """The name or Amazon Resource Name (ARN) of the layer.""" + version_number: int | None = ... + """The version number.""" + +@dataclass(kw_only=True) +class GetLayerVersionOutput(_SerdeShape): + """Dataclass for GetLayerVersionOutput structure.""" + + content: LayerVersionContentOutput | None = ... + """Details about the layer version.""" + layer_arn: str | None = ... + """The ARN of the layer.""" + layer_version_arn: str | None = ... + """The ARN of the layer version.""" + description: str | None = ... + """The description of the version.""" + created_date: str | None = ... + """ + The date that the layer version was created, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + version: int = ... + """The version number.""" + compatible_architectures: list[str] | None = ... + """ + A list of compatible [instruction set + architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). + """ + compatible_runtimes: list[str] | None = ... + """ + The layer's compatible runtimes. + + The following list includes deprecated runtimes. For more information, + see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + license_info: str | None = ... + """The layer's software license.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetLayerVersionPolicyInput(_SerdeShape): + """Dataclass for GetLayerVersionPolicyInput structure.""" + + layer_name: str | None = ... + """The name or Amazon Resource Name (ARN) of the layer.""" + version_number: int | None = ... + """The version number.""" + +@dataclass(kw_only=True) +class GetLayerVersionPolicyOutput(_SerdeShape): + """Dataclass for GetLayerVersionPolicyOutput structure.""" + + policy: str | None = ... + """The policy document.""" + revision_id: str | None = ... + """A unique identifier for the current revision of the policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicyInput(_SerdeShape): + """Dataclass for GetPolicyInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** -- `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """Specify a version or alias to get the policy for that resource.""" + +@dataclass(kw_only=True) +class GetPolicyOutput(_SerdeShape): + """Dataclass for GetPolicyOutput structure.""" + + policy: str | None = ... + """The resource-based policy.""" + revision_id: str | None = ... + """A unique identifier for the current revision of the policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetProvisionedConcurrencyConfigInput(_SerdeShape): + """Dataclass for GetProvisionedConcurrencyConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """The version number or alias name.""" + +@dataclass(kw_only=True) +class GetProvisionedConcurrencyConfigOutput(_SerdeShape): + """Dataclass for GetProvisionedConcurrencyConfigOutput structure.""" + + requested_provisioned_concurrent_executions: int | None = ... + """The amount of provisioned concurrency requested.""" + available_provisioned_concurrent_executions: int | None = ... + """The amount of provisioned concurrency available.""" + allocated_provisioned_concurrent_executions: int | None = ... + """ + The amount of provisioned concurrency allocated. When a weighted alias + is used during linear and canary deployments, this value fluctuates + depending on the amount of concurrency that is provisioned for the + function versions. + """ + status: str | None = ... + """The status of the allocation process.""" + status_reason: str | None = ... + """ + For failed allocations, the reason that provisioned concurrency could + not be allocated. + """ + last_modified: str | None = ... + """ + The date and time that a user last updated the configuration, in [ISO + 8601 format](https://www.iso.org/iso-8601-date-and-time-format.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyInput(_SerdeShape): + """Dataclass for GetResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda resource you want to + retrieve the policy for. You can use a qualified or an unqualified ARN. + The value must be a complete ARN, and the operation does not accept + wildcard characters. + """ + +@dataclass(kw_only=True) +class GetResourcePolicyOutput(_SerdeShape): + """Dataclass for GetResourcePolicyOutput structure.""" + + policy: str | None = ... + """The resource-based policy attached to the Lambda resource you specified.""" + revision_id: str | None = ... + """ + The revision ID of the policy. Pass this value as the `RevisionId` in a + PutResourcePolicy or DeleteResourcePolicy request. Doing so ensures the + operation acts on the expected version of the policy. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRuntimeManagementConfigInput(_SerdeShape): + """Dataclass for GetRuntimeManagementConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """ + Specify a version of the function. This can be `$LATEST` or a published + version number. If no value is specified, the configuration for the + `$LATEST` version is returned. + """ + +@dataclass(kw_only=True) +class GetRuntimeManagementConfigOutput(_SerdeShape): + """Dataclass for GetRuntimeManagementConfigOutput structure.""" + + update_runtime_on: str | None = ... + """The current runtime update mode of the function.""" + function_arn: str | None = ... + """The Amazon Resource Name (ARN) of your function.""" + runtime_version_arn: str | None = ... + """ + The ARN of the runtime the function is configured to use. If the runtime + update mode is **Manual**, the ARN is returned, otherwise `null` is + returned. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ImageConfig(_SerdeShape): + """ + Configuration values that override the container image Dockerfile + settings. For more information, see [Container image + settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms). + """ + + entry_point: list[str] | None = ... + """ + Specifies the entry point to their application, which is typically the + location of the runtime executable. + """ + command: list[str] | None = ... + """Specifies parameters that you want to pass in with ENTRYPOINT.""" + working_directory: str | None = ... + """Specifies the working directory.""" + +@dataclass(kw_only=True) +class ImageConfigError(_SerdeShape): + """Error response to `GetFunctionConfiguration`.""" + + error_code: str | None = ... + """Error code.""" + message: str | None = ... + """Error message.""" + +@dataclass(kw_only=True) +class ImageConfigResponse(_SerdeShape): + """Response to a `GetFunctionConfiguration` request.""" + + image_config: ImageConfig | None = ... + """Configuration values that override the container image Dockerfile.""" + error: ImageConfigError | None = ... + """Error response to `GetFunctionConfiguration`.""" + +@dataclass(kw_only=True) +class InstanceRequirements(_SerdeShape): + """ + Specifications that define the characteristics and constraints for + compute instances used by the capacity provider. + """ + + architectures: list[str] | None = ... + """ + A list of supported CPU architectures for compute instances. Valid + values include `x86_64` and `arm64`. + """ + allowed_instance_types: list[str] | None = ... + """ + A list of EC2 instance types that the capacity provider is allowed to + use. If not specified, all compatible instance types are allowed. + """ + excluded_instance_types: list[str] | None = ... + """ + A list of EC2 instance types that the capacity provider should not use, + even if they meet other requirements. + """ + +@dataclass(kw_only=True) +class InvalidCodeSignatureException(ServiceError, _SerdeShape): + """ + The code signature failed the integrity check. If the integrity check + fails, then Lambda blocks deployment, even if the code signing policy is + set to WARN. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidParameterValueException(ServiceError, _SerdeShape): + """One of the parameters in the request is not valid.""" + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidRequestContentException(ServiceError, _SerdeShape): + """ + The request body could not be parsed as JSON, or a request header is + invalid. For example, the 'x-amzn-RequestId' header is not a valid + UUID string. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidRuntimeException(ServiceError, _SerdeShape): + """The runtime or runtime version specified is not supported.""" + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidSecurityGroupIDException(ServiceError, _SerdeShape): + """ + The security group ID provided in the Lambda function VPC configuration + is not valid. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidSubnetIDException(ServiceError, _SerdeShape): + """ + The subnet ID provided in the Lambda function VPC configuration is not + valid. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidZipFileException(ServiceError, _SerdeShape): + """Lambda could not unzip the deployment package.""" + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvocationCompletedDetails(_SerdeShape): + """Details about a function invocation that completed.""" + + start_timestamp: datetime + """ + The date and time when the invocation started, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + end_timestamp: datetime + """ + The date and time when the invocation ended, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + request_id: str + """The request ID for the invocation.""" + error: EventError | None = ... + """Details about the invocation failure.""" + +class InvocationType(UnknownEnumMixin, StrEnum): + EVENT = "Event" + REQUEST_RESPONSE = "RequestResponse" + DRY_RUN = "DryRun" + +@dataclass(kw_only=True) +class InvokeAsyncInput(_SerdeShape): + """Dataclass for InvokeAsyncInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + invoke_args: StreamingBlob | None = ... + """The JSON that you want to provide to your Lambda function as input.""" + +@dataclass(kw_only=True) +class InvokeAsyncOutput(_SerdeShape): + """ + A success response (`202 Accepted`) indicates that the request is queued + for invocation. + """ + + status: int = ... + """The status code.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvokeInput(_SerdeShape): + """Dataclass for InvokeInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** -- `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + invocation_type: str | None = ... + """ + Choose from the following options. + + - `RequestResponse` (default) -- Invoke the function synchronously. Keep + the connection open until the function returns a response or times + out. The API response includes the function response and additional + data. + + - `Event` -- Invoke the function asynchronously. Send events that fail + multiple times to the function's dead-letter queue (if one is + configured). The API response only includes a status code. + + - `DryRun` -- Validate parameter values and verify that the user or role + has permission to invoke the function. + """ + log_type: str | None = ... + """ + Set to `Tail` to include the execution log in the response. Applies to + synchronously invoked functions only. + """ + client_context: str | None = ... + """ + Up to 3,583 bytes of base64-encoded data about the invoking client to + pass to the function in the context object. Lambda passes the + `ClientContext` object to your function for synchronous invocations + only. + """ + durable_execution_name: str | None = ... + """ + A unique name for the durable execution. If you invoke a durable + function using a name that already exists with the same payload, Lambda + returns the existing execution instead of creating a duplicate. If the + payload differs, Lambda returns a + `DurableExecutionAlreadyStartedException` error. + + If not specified, Lambda generates a unique identifier automatically. + For more information, see [Execution + names](https://docs.aws.amazon.com/lambda/latest/dg/durable-execution-idempotency.html#durable-idempotency-execution-names). + """ + payload: bytes | None = ... + """ + The JSON that you want to provide to your Lambda function as input. The + maximum payload size is 6 MB for synchronous invocations and 1 MB for + asynchronous invocations. + + You can enter the JSON directly. For example, + `--payload '{ "key": "value" }'`. You can also specify a file path. For + example, `--payload file://payload.json`. + """ + qualifier: str | None = ... + """ + Specify a version or alias to invoke a published version of the + function. + """ + tenant_id: str | None = ... + """The identifier of the tenant in a multi-tenant Lambda function.""" + +class InvokeMode(UnknownEnumMixin, StrEnum): + BUFFERED = "BUFFERED" + RESPONSE_STREAM = "RESPONSE_STREAM" + +@dataclass(kw_only=True) +class InvokeOutput(_SerdeShape): + """Dataclass for InvokeOutput structure.""" + + status_code: int = ... + """ + The HTTP status code is in the 200 range for a successful request. For + the `RequestResponse` invocation type, this status code is 200. For the + `Event` invocation type, this status code is 202. For the `DryRun` + invocation type, the status code is 204. + """ + function_error: str | None = ... + """ + If present, indicates that an error occurred during function execution. + Details about the error are included in the response payload. + """ + log_result: str | None = ... + """The last 4 KB of the execution log, which is base64-encoded.""" + payload: bytes | None = ... + """The response from the function, or an error object.""" + executed_version: str | None = ... + """ + The version of the function that executed. When you invoke a function + with an alias, this indicates which version the alias resolved to. + """ + durable_execution_arn: str | None = ... + """ + The ARN of the durable execution that was started. This is returned when + invoking a durable function and provides a unique identifier for + tracking the execution. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvokeResponseStreamUpdate(_SerdeShape): + """A chunk of the streamed response payload.""" + + payload: bytes | None = ... + """Data returned by your Lambda function.""" + +@dataclass(kw_only=True) +class InvokeWithResponseStreamCompleteEvent(_SerdeShape): + """A response confirming that the event stream is complete.""" + + error_code: str | None = ... + """An error code.""" + error_details: str | None = ... + """The details of any returned error.""" + log_result: str | None = ... + """The last 4 KB of the execution log, which is base64-encoded.""" + +@dataclass(kw_only=True) +class InvokeWithResponseStreamInput(_SerdeShape): + """Dataclass for InvokeWithResponseStreamInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + log_type: str | None = ... + """ + Set to `Tail` to include the execution log in the response. Applies to + synchronously invoked functions only. + """ + client_context: str | None = ... + """ + Up to 3,583 bytes of base64-encoded data about the invoking client to + pass to the function in the context object. + """ + qualifier: str | None = ... + """The alias name.""" + payload: bytes | None = ... + """ + The JSON that you want to provide to your Lambda function as input. + + You can enter the JSON directly. For example, + `--payload '{ "key": "value" }'`. You can also specify a file path. For + example, `--payload file://payload.json`. + """ + tenant_id: str | None = ... + """The identifier of the tenant in a multi-tenant Lambda function.""" + invocation_type: str | None = ... + """ + Use one of the following options: + + - `RequestResponse` (default) -- Invoke the function synchronously. Keep + the connection open until the function returns a response or times + out. The API operation response includes the function response and + additional data. + + - `DryRun` -- Validate parameter values and verify that the IAM user or + role has permission to invoke the function. + """ + +@dataclass(kw_only=True) +class InvokeWithResponseStreamOutput(_SerdeShape): + """Dataclass for InvokeWithResponseStreamOutput structure.""" + + status_code: int = ... + """ + For a successful request, the HTTP status code is in the 200 range. For + the `RequestResponse` invocation type, this status code is 200. For the + `DryRun` invocation type, this status code is 204. + """ + executed_version: str | None = ... + """ + The version of the function that executed. When you invoke a function + with an alias, this indicates which version the alias resolved to. + """ + response_stream_content_type: str | None = ... + """The type of data the stream is returning.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class InvokeWithResponseStreamResponseEventPayloadChunk(_SerdeShape): + """A chunk of the streamed response payload.""" + + value: InvokeResponseStreamUpdate + +@dataclass +class InvokeWithResponseStreamResponseEventInvokeComplete(_SerdeShape): + """ + An object that's returned when the stream has ended and all the payload + chunks have been returned. + """ + + value: InvokeWithResponseStreamCompleteEvent + +@dataclass +class InvokeWithResponseStreamResponseEventUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +InvokeWithResponseStreamResponseEvent = Union[ + InvokeWithResponseStreamResponseEventPayloadChunk + | InvokeWithResponseStreamResponseEventInvokeComplete + | InvokeWithResponseStreamResponseEventUnknown +] +""" +An object that includes a chunk of the response payload. When the stream +has ended, Lambda includes a `InvokeComplete` object. +""" + +class _InvokeWithResponseStreamResponseEventDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> InvokeWithResponseStreamResponseEvent: ... + +class KafkaEventSourceMappingConsumptionMode(UnknownEnumMixin, StrEnum): + STREAM = "Stream" + QUEUE = "Queue" + +@dataclass(kw_only=True) +class KafkaSchemaRegistryAccessConfig(_SerdeShape): + """ + Specific access configuration settings that tell Lambda how to + authenticate with your schema registry. + + If you're working with an Glue schema registry, don't provide + authentication details in this object. Instead, ensure that your + execution role has the required permissions for Lambda to access your + cluster. + + If you're working with a Confluent schema registry, choose the + authentication method in the `Type` field, and provide the Secrets + Manager secret ARN in the `URI` field. + """ + + type: str | None = ... + """ + The type of authentication Lambda uses to access your schema registry. + + - `BASIC_AUTH` -- The Secrets Manager ARN of your secret key used for + basic authentication with your Confluent schema registry. + + - `CLIENT_CERTIFICATE_TLS_AUTH` -- The Secrets Manager ARN of your + secret key containing the certificate chain (X.509 PEM), private key + (PKCS#8 PEM), and private key password (optional) used for mutual TLS + authentication with your Confluent schema registry. + + - `SERVER_ROOT_CA_CERTIFICATE` -- The Secrets Manager ARN of your secret + key containing the root CA certificate (X.509 PEM) used for TLS + encryption with your Confluent schema registry. + + - `OAUTHBEARER_AUTH` -- The Secrets Manager ARN of your secret key + containing the OAuth 2.0 credentials that Lambda uses to acquire an + access token for your Confluent schema registry. For the contents of + the secret, see [Configuring the OAuth + secret](https://docs.aws.amazon.com/lambda/latest/dg/kafka-cluster-auth.html#smaa-auth-oauth-secret). + """ + uri: str | None = ... + """ + The URI of the secret (Secrets Manager secret ARN) to authenticate with + your schema registry. + """ + +class KafkaSchemaRegistryAuthType(UnknownEnumMixin, StrEnum): + BASIC_AUTH = "BASIC_AUTH" + CLIENT_CERTIFICATE_TLS_AUTH = "CLIENT_CERTIFICATE_TLS_AUTH" + SERVER_ROOT_CA_CERTIFICATE = "SERVER_ROOT_CA_CERTIFICATE" + OAUTHBEARER_AUTH = "OAUTHBEARER_AUTH" + +@dataclass(kw_only=True) +class KafkaSchemaRegistryConfig(_SerdeShape): + """Specific configuration settings for a Kafka schema registry.""" + + schema_registry_uri: str | None = ... + """ + The URI for your schema registry. The correct URI format depends on the + type of schema registry you're using. + + - For Glue schema registries, use the ARN of the registry. + + - For Confluent schema registries, use the URL of the registry. + """ + event_record_format: str | None = ... + """ + The record format that Lambda delivers to your function after schema + validation. + + - Choose `JSON` to have Lambda deliver the record to your function as a + standard JSON object. + + - Choose `SOURCE` to have Lambda deliver the record to your function in + its original source format. Lambda removes all schema metadata, such + as the schema ID, before sending the record to your function. + """ + access_configs: list[KafkaSchemaRegistryAccessConfig] | None = ... + """ + An array of access configuration objects that tell Lambda how to + authenticate with your schema registry. + """ + schema_validation_configs: list[KafkaSchemaValidationConfig] | None = ... + """ + An array of schema validation configuration objects, which tell Lambda + the message attributes you want to validate and filter using your schema + registry. + """ + +class KafkaSchemaValidationAttribute(UnknownEnumMixin, StrEnum): + KEY = "KEY" + VALUE = "VALUE" + +@dataclass(kw_only=True) +class KafkaSchemaValidationConfig(_SerdeShape): + """ + Specific schema validation configuration settings that tell Lambda the + message attributes you want to validate and filter using your schema + registry. + """ + + attribute: str | None = ... + """ + The attributes you want your schema registry to validate and filter for. + If you selected `JSON` as the `EventRecordFormat`, Lambda also + deserializes the selected message attributes. + """ + +@dataclass(kw_only=True) +class KMSAccessDeniedException(ServiceError, _SerdeShape): + """ + Lambda couldn't decrypt the environment variables because KMS access + was denied. Check the Lambda function's KMS permissions. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KMSDisabledException(ServiceError, _SerdeShape): + """ + Lambda couldn't decrypt the environment variables because the KMS key + used is disabled. Check the Lambda function's KMS key settings. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KMSInvalidStateException(ServiceError, _SerdeShape): + """ + Lambda couldn't decrypt the environment variables because the state of + the KMS key used is not valid for Decrypt. Check the function's KMS key + settings. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KMSNotFoundException(ServiceError, _SerdeShape): + """ + Lambda couldn't decrypt the environment variables because the KMS key + was not found. Check the function's KMS key settings. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LambdaManagedInstancesCapacityProviderConfig(_SerdeShape): + """ + Configuration for Lambda-managed instances used by the capacity + provider. + """ + + capacity_provider_arn: str + """The Amazon Resource Name (ARN) of the capacity provider.""" + per_execution_environment_max_concurrency: int | None = ... + """ + The maximum number of concurrent execution environments that can run on + each compute instance. + """ + execution_environment_memory_gi_b_per_v_cpu: float | None = ... + """ + The amount of memory in GiB allocated per vCPU for execution + environments. + """ + +class LastUpdateStatus(UnknownEnumMixin, StrEnum): + SUCCESSFUL = "Successful" + FAILED = "Failed" + IN_PROGRESS = "InProgress" + +class LastUpdateStatusReasonCode(UnknownEnumMixin, StrEnum): + ENI_LIMIT_EXCEEDED = "EniLimitExceeded" + INSUFFICIENT_ROLE_PERMISSIONS = "InsufficientRolePermissions" + INVALID_CONFIGURATION = "InvalidConfiguration" + INTERNAL_ERROR = "InternalError" + SUBNET_OUT_OF_IP_ADDRESSES = "SubnetOutOfIPAddresses" + INVALID_SUBNET = "InvalidSubnet" + INVALID_SECURITY_GROUP = "InvalidSecurityGroup" + IMAGE_DELETED = "ImageDeleted" + IMAGE_ACCESS_DENIED = "ImageAccessDenied" + INVALID_IMAGE = "InvalidImage" + KMS_KEY_ACCESS_DENIED = "KMSKeyAccessDenied" + KMS_KEY_NOT_FOUND = "KMSKeyNotFound" + INVALID_STATE_KMS_KEY = "InvalidStateKMSKey" + DISABLED_KMS_KEY = "DisabledKMSKey" + EFSIO_ERROR = "EFSIOError" + EFS_MOUNT_CONNECTIVITY_ERROR = "EFSMountConnectivityError" + EFS_MOUNT_FAILURE = "EFSMountFailure" + EFS_MOUNT_TIMEOUT = "EFSMountTimeout" + INVALID_RUNTIME = "InvalidRuntime" + INVALID_ZIP_FILE_EXCEPTION = "InvalidZipFileException" + FUNCTION_ERROR = "FunctionError" + SERVICE_QUOTA_EXCEEDED_EXCEPTION = "ServiceQuotaExceededException" + VCPU_LIMIT_EXCEEDED = "VcpuLimitExceeded" + CAPACITY_PROVIDER_SCALING_LIMIT_EXCEEDED = "CapacityProviderScalingLimitExceeded" + INSUFFICIENT_CAPACITY = "InsufficientCapacity" + EC2_REQUEST_LIMIT_EXCEEDED = "EC2RequestLimitExceeded" + FUNCTION_ERROR_INIT_TIMEOUT = "FunctionError.InitTimeout" + FUNCTION_ERROR_RUNTIME_INIT_ERROR = "FunctionError.RuntimeInitError" + FUNCTION_ERROR_EXTENSION_INIT_ERROR = "FunctionError.ExtensionInitError" + FUNCTION_ERROR_INVALID_ENTRY_POINT = "FunctionError.InvalidEntryPoint" + FUNCTION_ERROR_INVALID_WORKING_DIRECTORY = "FunctionError.InvalidWorkingDirectory" + FUNCTION_ERROR_PERMISSION_DENIED = "FunctionError.PermissionDenied" + FUNCTION_ERROR_TOO_MANY_EXTENSIONS = "FunctionError.TooManyExtensions" + FUNCTION_ERROR_INIT_RESOURCE_EXHAUSTED = "FunctionError.InitResourceExhausted" + DISALLOWED_BY_VPC_ENCRYPTION_CONTROL = "DisallowedByVpcEncryptionControl" + DEPENDENCY_ERROR = "DependencyError" + +@dataclass(kw_only=True) +class Layer(_SerdeShape): + """ + An [Lambda + layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the function layer.""" + code_size: int = ... + """The size of the layer archive in bytes.""" + signing_profile_version_arn: str | None = ... + """The Amazon Resource Name (ARN) for a signing profile version.""" + signing_job_arn: str | None = ... + """The Amazon Resource Name (ARN) of a signing job.""" + +@dataclass(kw_only=True) +class LayersListItem(_SerdeShape): + """ + Details about an [Lambda + layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + + layer_name: str | None = ... + """The name of the layer.""" + layer_arn: str | None = ... + """The Amazon Resource Name (ARN) of the function layer.""" + latest_matching_version: LayerVersionsListItem | None = ... + """The newest version of the layer.""" + +@dataclass(kw_only=True) +class LayerVersionContentInput(_SerdeShape): + """ + A ZIP archive that contains the contents of an [Lambda + layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + You can specify either an Amazon S3 location, or upload a layer archive + directly. + """ + + s3_bucket: str | None = ... + """The Amazon S3 bucket of the layer archive.""" + s3_key: str | None = ... + """The Amazon S3 key of the layer archive.""" + s3_object_version: str | None = ... + """For versioned objects, the version of the layer archive object to use.""" + s3_object_storage_mode: str | None = ... + """ + Specifies how the layer archive is stored. Valid values: + + - `COPY` (default) -- Uploads a copy of your layer archive to Lambda. + + - `REFERENCE` -- Lambda references the layer archive from the specified + Amazon S3 bucket. + """ + zip_file: bytes | None = ... + """ + The base64-encoded contents of the layer archive. Amazon Web Services + SDK and Amazon Web Services CLI clients handle the encoding for you. + """ + +@dataclass(kw_only=True) +class LayerVersionContentOutput(_SerdeShape): + """ + Details about a version of an [Lambda + layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + + location: str | None = ... + """A link to the layer archive in Amazon S3 that is valid for 10 minutes.""" + code_sha256: str | None = ... + """The SHA-256 hash of the layer archive.""" + code_size: int = ... + """The size of the layer archive in bytes.""" + signing_profile_version_arn: str | None = ... + """The Amazon Resource Name (ARN) for a signing profile version.""" + signing_job_arn: str | None = ... + """The Amazon Resource Name (ARN) of a signing job.""" + resolved_s3_object: ResolvedS3Object | None = ... + """The resolved Amazon S3 object that contains the layer archive.""" + +@dataclass(kw_only=True) +class LayerVersionsListItem(_SerdeShape): + """ + Details about a version of an [Lambda + layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + + layer_version_arn: str | None = ... + """The ARN of the layer version.""" + version: int = ... + """The version number.""" + description: str | None = ... + """The description of the version.""" + created_date: str | None = ... + """ + The date that the version was created, in ISO 8601 format. For example, + `2018-11-27T15:10:45.123+0000`. + """ + compatible_architectures: list[str] | None = ... + """ + A list of compatible [instruction set + architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). + """ + compatible_runtimes: list[str] | None = ... + """ + The layer's compatible runtimes. + + The following list includes deprecated runtimes. For more information, + see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + license_info: str | None = ... + """The layer's open-source license.""" + +@dataclass(kw_only=True) +class ListAliasesInput(_SerdeShape): + """Dataclass for ListAliasesInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + function_version: str | None = ... + """ + Specify a function version to only list aliases that invoke that + version. + """ + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """Limit the number of aliases returned.""" + +@dataclass(kw_only=True) +class ListAliasesOutput(_SerdeShape): + """Dataclass for ListAliasesOutput structure.""" + + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + aliases: list[AliasConfiguration] | None = ... + """A list of aliases.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCapacityProvidersInput(_SerdeShape): + """Dataclass for ListCapacityProvidersInput structure.""" + + state: str | None = ... + """Filter capacity providers by their current state.""" + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """The maximum number of capacity providers to return.""" + +@dataclass(kw_only=True) +class ListCapacityProvidersOutput(_SerdeShape): + """Dataclass for ListCapacityProvidersOutput structure.""" + + capacity_providers: list[CapacityProvider] + """A list of capacity providers in your account.""" + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListCodeSigningConfigsInput(_SerdeShape): + """Dataclass for ListCodeSigningConfigsInput structure.""" + + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """Maximum number of items to return.""" + +@dataclass(kw_only=True) +class ListCodeSigningConfigsOutput(_SerdeShape): + """Dataclass for ListCodeSigningConfigsOutput structure.""" + + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + code_signing_configs: list[CodeSigningConfig] | None = ... + """The code signing configurations""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDurableExecutionsByFunctionInput(_SerdeShape): + """Dataclass for ListDurableExecutionsByFunctionInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. You can specify a function name, + a partial ARN, or a full ARN. + """ + qualifier: str | None = ... + """ + The function version to filter executions by. If you don't specify a + qualifier, this operation returns executions across all versions of the + Lambda function. + """ + durable_execution_name: str | None = ... + """ + Filter executions by name. Only executions with names that matches this + string are returned. + """ + statuses: list[str] | None = ... + """ + Filter executions by status. Valid values: RUNNING, SUCCEEDED, FAILED, + TIMED_OUT, STOPPED. + """ + started_after: datetime | None = ... + """Filter executions that started after this timestamp (ISO 8601 format).""" + started_before: datetime | None = ... + """Filter executions that started before this timestamp (ISO 8601 format).""" + reverse_order: bool | None = ... + """ + Set to true to return results in chronological order (oldest first). + Default is false. + """ + marker: str | None = ... + """Pagination token from a previous request to continue retrieving results.""" + max_items: int = ... + """Maximum number of executions to return (1-1000). Default is 100.""" + +@dataclass(kw_only=True) +class ListDurableExecutionsByFunctionOutput(_SerdeShape): + """ + The response from the ListDurableExecutionsByFunction operation, + containing a list of durable executions and pagination information. + """ + + durable_executions: list[Execution] | None = ... + """List of durable execution summaries matching the filter criteria.""" + next_marker: str | None = ... + """ + Pagination token for retrieving additional results. Present only if + there are more results available. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListEventSourceMappingsInput(_SerdeShape): + """Dataclass for ListEventSourceMappingsInput structure.""" + + event_source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the event source. + + - **Amazon Kinesis** -- The ARN of the data stream or a stream consumer. + + - **Amazon DynamoDB Streams** -- The ARN of the stream. + + - **Amazon Simple Queue Service** -- The ARN of the queue. + + - **Amazon Managed Streaming for Apache Kafka** -- The ARN of the + cluster or the ARN of the VPC connection (for [cross-account event + source + mappings](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc)). + + - **Amazon MQ** -- The ARN of the broker. + + - **Amazon DocumentDB** -- The ARN of the DocumentDB change stream. + """ + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `MyFunction`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Version or Alias ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`. + + - **Partial ARN** -- `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it's limited to 64 characters in length. + """ + marker: str | None = ... + """A pagination token returned by a previous call.""" + max_items: int | None = ... + """ + The maximum number of event source mappings to return. Note that + ListEventSourceMappings returns a maximum of 100 items in each response, + even if you set the number higher. + """ + +@dataclass(kw_only=True) +class ListEventSourceMappingsOutput(_SerdeShape): + """Dataclass for ListEventSourceMappingsOutput structure.""" + + next_marker: str | None = ... + """ + A pagination token that's returned when the response doesn't contain + all event source mappings. + """ + event_source_mappings: list[EventSourceMappingConfiguration] | None = ... + """A list of event source mappings.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFunctionEventInvokeConfigsInput(_SerdeShape): + """Dataclass for ListFunctionEventInvokeConfigsInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `my-function`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** - `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """The maximum number of configurations to return.""" + +@dataclass(kw_only=True) +class ListFunctionEventInvokeConfigsOutput(_SerdeShape): + """Dataclass for ListFunctionEventInvokeConfigsOutput structure.""" + + function_event_invoke_configs: list[FunctionEventInvokeConfig] | None = ... + """A list of configurations.""" + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/models_1.pyi b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/models_1.pyi new file mode 100644 index 000000000..522a5b69c --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/models_1.pyi @@ -0,0 +1,4207 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AliasRoutingConfiguration, + AllowedPublishers, + AmazonManagedKafkaEventSourceConfig, + CallbackDetails, + CallbackOptions, + CapacityProvider, + CapacityProviderConfig, + CapacityProviderScalingConfig, + CapacityProviderTelemetryConfig, + ChainedInvokeDetails, + ChainedInvokeOptions, + CodeSigningConfig, + CodeSigningPolicies, + ContextDetails, + ContextOptions, + Cors, + DeadLetterConfig, + DestinationConfig, + DocumentDBEventSourceConfig, + DurableConfig, + Environment, + EnvironmentResponse, + EphemeralStorage, + ErrorObject, + EventError, + EventResult, + EventSourceMappingLoggingConfig, + EventSourceMappingMetricsConfig, + ExecutionDetails, + FileSystemConfig, + FilterCriteria, + FilterCriteriaError, + FunctionConfiguration, + FunctionScalingConfig, + FunctionUrlConfig, + FunctionVersionsByCapacityProviderListItem, + ImageConfig, + ImageConfigResponse, + KafkaSchemaRegistryConfig, + Layer, + LayerVersionContentInput, + LayerVersionContentOutput, + LayerVersionsListItem, + LayersListItem, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class ListFunctionsByCodeSigningConfigInput(_SerdeShape): + """Dataclass for ListFunctionsByCodeSigningConfigInput structure.""" + + code_signing_config_arn: str | None = ... + """The The Amazon Resource Name (ARN) of the code signing configuration.""" + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """Maximum number of items to return.""" + +@dataclass(kw_only=True) +class ListFunctionsByCodeSigningConfigOutput(_SerdeShape): + """Dataclass for ListFunctionsByCodeSigningConfigOutput structure.""" + + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + function_arns: list[str] | None = ... + """The function ARNs.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFunctionsInput(_SerdeShape): + """Dataclass for ListFunctionsInput structure.""" + + master_region: str | None = ... + """ + For Lambda@Edge functions, the Amazon Web Services Region of the master + function. For example, `us-east-1` filters the list of functions to + include only Lambda@Edge functions replicated from a master function in + US East (N. Virginia). If specified, you must set `FunctionVersion` to + `ALL`. + """ + function_version: str | None = ... + """ + Set to `ALL` to include entries for all published versions of each + function. + """ + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """ + The maximum number of functions to return in the response. Note that + `ListFunctions` returns a maximum of 50 items in each response, even if + you set the number higher. + """ + +@dataclass(kw_only=True) +class ListFunctionsOutput(_SerdeShape): + """A list of Lambda functions.""" + + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + functions: list[FunctionConfiguration] | None = ... + """A list of Lambda functions.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFunctionUrlConfigsInput(_SerdeShape): + """Dataclass for ListFunctionUrlConfigsInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """ + The maximum number of function URLs to return in the response. Note that + `ListFunctionUrlConfigs` returns a maximum of 50 items in each response, + even if you set the number higher. + """ + +@dataclass(kw_only=True) +class ListFunctionUrlConfigsOutput(_SerdeShape): + """Dataclass for ListFunctionUrlConfigsOutput structure.""" + + function_url_configs: list[FunctionUrlConfig] + """A list of function URL configurations.""" + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListFunctionVersionsByCapacityProviderInput(_SerdeShape): + """Dataclass for ListFunctionVersionsByCapacityProviderInput structure.""" + + capacity_provider_name: str | None = ... + """The name of the capacity provider to list function versions for.""" + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """The maximum number of function versions to return in the response.""" + +@dataclass(kw_only=True) +class ListFunctionVersionsByCapacityProviderOutput(_SerdeShape): + """Dataclass for ListFunctionVersionsByCapacityProviderOutput structure.""" + + capacity_provider_arn: str + """The Amazon Resource Name (ARN) of the capacity provider.""" + function_versions: list[FunctionVersionsByCapacityProviderListItem] + """A list of function versions that use the specified capacity provider.""" + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListLayersInput(_SerdeShape): + """Dataclass for ListLayersInput structure.""" + + compatible_architecture: str | None = ... + """ + The compatible [instruction set + architecture](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). + """ + compatible_runtime: str | None = ... + """ + A runtime identifier. + + The following list includes deprecated runtimes. For more information, + see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + marker: str | None = ... + """A pagination token returned by a previous call.""" + max_items: int | None = ... + """The maximum number of layers to return.""" + +@dataclass(kw_only=True) +class ListLayersOutput(_SerdeShape): + """Dataclass for ListLayersOutput structure.""" + + next_marker: str | None = ... + """ + A pagination token returned when the response doesn't contain all + layers. + """ + layers: list[LayersListItem] | None = ... + """A list of function layers.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListLayerVersionsInput(_SerdeShape): + """Dataclass for ListLayerVersionsInput structure.""" + + compatible_architecture: str | None = ... + """ + The compatible [instruction set + architecture](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). + """ + compatible_runtime: str | None = ... + """ + A runtime identifier. + + The following list includes deprecated runtimes. For more information, + see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + layer_name: str | None = ... + """The name or Amazon Resource Name (ARN) of the layer.""" + marker: str | None = ... + """A pagination token returned by a previous call.""" + max_items: int | None = ... + """The maximum number of versions to return.""" + +@dataclass(kw_only=True) +class ListLayerVersionsOutput(_SerdeShape): + """Dataclass for ListLayerVersionsOutput structure.""" + + next_marker: str | None = ... + """ + A pagination token returned when the response doesn't contain all + versions. + """ + layer_versions: list[LayerVersionsListItem] | None = ... + """A list of versions.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListProvisionedConcurrencyConfigsInput(_SerdeShape): + """Dataclass for ListProvisionedConcurrencyConfigsInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """Specify a number to limit the number of configurations returned.""" + +@dataclass(kw_only=True) +class ListProvisionedConcurrencyConfigsOutput(_SerdeShape): + """Dataclass for ListProvisionedConcurrencyConfigsOutput structure.""" + + provisioned_concurrency_configs: ( + list[ProvisionedConcurrencyConfigListItem] | None + ) = ... + """A list of provisioned concurrency configurations.""" + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsInput(_SerdeShape): + """Dataclass for ListTagsInput structure.""" + + resource: str | None = ... + """ + The resource's Amazon Resource Name (ARN). Note: Lambda does not + support adding tags to function aliases or versions. + """ + +@dataclass(kw_only=True) +class ListTagsOutput(_SerdeShape): + """Dataclass for ListTagsOutput structure.""" + + tags: dict[str, str] | None = ... + """The function's tags.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListVersionsByFunctionInput(_SerdeShape): + """Dataclass for ListVersionsByFunctionInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + marker: str | None = ... + """ + Specify the pagination token that's returned by a previous request to + retrieve the next page of results. + """ + max_items: int | None = ... + """ + The maximum number of versions to return. Note that + `ListVersionsByFunction` returns a maximum of 50 items in each response, + even if you set the number higher. + """ + +@dataclass(kw_only=True) +class ListVersionsByFunctionOutput(_SerdeShape): + """Dataclass for ListVersionsByFunctionOutput structure.""" + + next_marker: str | None = ... + """The pagination token that's included if more results are available.""" + versions: list[FunctionConfiguration] | None = ... + """A list of Lambda function versions.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class LogFormat(UnknownEnumMixin, StrEnum): + JSON = "JSON" + TEXT = "Text" + +@dataclass(kw_only=True) +class LoggingConfig(_SerdeShape): + """The function's Amazon CloudWatch Logs configuration settings.""" + + log_format: str | None = ... + """ + The format in which Lambda sends your function's application and system + logs to CloudWatch. Select between plain text and structured JSON. + """ + application_log_level: str | None = ... + """ + Set this property to filter the application logs for your function that + Lambda sends to CloudWatch. Lambda only sends application logs at the + selected level of detail and lower, where `TRACE` is the highest level + and `FATAL` is the lowest. + """ + system_log_level: str | None = ... + """ + Set this property to filter the system logs for your function that + Lambda sends to CloudWatch. Lambda only sends system logs at the + selected level of detail and lower, where `DEBUG` is the highest level + and `WARN` is the lowest. + """ + log_group: str | None = ... + """ + The name of the Amazon CloudWatch log group the function sends logs to. + By default, Lambda functions send logs to a default log group named + `/aws/lambda/`. To use a different log group, enter an + existing log group or enter a new log group name. + """ + +class LogType(UnknownEnumMixin, StrEnum): + NONE = "None" + TAIL = "Tail" + +@dataclass(kw_only=True) +class ModeNotSupportedException(ServiceError, _SerdeShape): + """ + The Lambda function doesn't support the invocation mode requested. For + example, calling `Invoke` with `InvocationType=RequestResponse` on a + function configured for asynchronous-only invocation, or vice versa. For + more information about invocation types, see [Invoking Lambda + functions](https://docs.aws.amazon.com/lambda/latest/dg/invocation-options.html). + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoPublishedVersionException(ServiceError, _SerdeShape): + """The function has no published versions available.""" + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OnFailure(_SerdeShape): + """ + A destination for events that failed processing. For more information, + see [Adding a + destination](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations). + """ + + destination: str | None = ... + """ + The Amazon Resource Name (ARN) of the destination resource. + + To retain records of failed invocations from + [Kinesis](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html), + [DynamoDB](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html), + [self-managed Apache + Kafka](https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html), + or [Amazon + MSK](https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html), + you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 + bucket, or Kafka topic as the destination. + + Note: + Amazon SNS destinations have a message size limit of 256 KB. If the + combined size of the function request and response payload exceeds the + limit, Lambda will drop the payload when sending `OnFailure` event to + the destination. For details on this behavior, refer to [Retaining + records of asynchronous + invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html). + + To retain records of failed invocations from + [Kinesis](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html), + [DynamoDB](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html), + [self-managed + Kafka](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination) + or [Amazon + MSK](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination), + you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 + bucket as the destination. + """ + +@dataclass(kw_only=True) +class OnSuccess(_SerdeShape): + """ + A destination for events that were processed successfully. + + To retain records of successful [asynchronous + invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations), + you can configure an Amazon SNS topic, Amazon SQS queue, Lambda + function, or Amazon EventBridge event bus as the destination. + + Note: + `OnSuccess` is not supported in `CreateEventSourceMapping` or + `UpdateEventSourceMapping` requests. + """ + + destination: str | None = ... + """ + The Amazon Resource Name (ARN) of the destination resource. + + Note: + Amazon SNS destinations have a message size limit of 256 KB. If the + combined size of the function request and response payload exceeds the + limit, Lambda will drop the payload when sending `OnFailure` event to + the destination. For details on this behavior, refer to [Retaining + records of asynchronous + invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html). + """ + +@dataclass(kw_only=True) +class Operation(_SerdeShape): + """Information about an operation within a durable execution.""" + + id: str + """The unique identifier for this operation.""" + parent_id: str | None = ... + """ + The unique identifier of the parent operation, if this operation is + running within a child context. + """ + name: str | None = ... + """The customer-provided name for this operation.""" + type: str + """The type of operation.""" + sub_type: str | None = ... + """The subtype of the operation, providing additional categorization.""" + start_timestamp: datetime + """ + The date and time when the operation started, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + end_timestamp: datetime | None = ... + """ + The date and time when the operation ended, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + status: str + """The current status of the operation.""" + execution_details: ExecutionDetails | None = ... + """Details about the execution, if this operation represents an execution.""" + context_details: ContextDetails | None = ... + """Details about the context, if this operation represents a context.""" + step_details: StepDetails | None = ... + """Details about the step, if this operation represents a step.""" + wait_details: WaitDetails | None = ... + """Details about the wait operation, if this operation represents a wait.""" + callback_details: CallbackDetails | None = ... + """ + Contains details about a callback operation in a durable execution, + including the callback token and timeout configuration. + """ + chained_invoke_details: ChainedInvokeDetails | None = ... + """ + Contains details about a chained function invocation in a durable + execution, including the target function and invocation parameters. + """ + +class OperationAction(UnknownEnumMixin, StrEnum): + START = "START" + SUCCEED = "SUCCEED" + FAIL = "FAIL" + RETRY = "RETRY" + CANCEL = "CANCEL" + +class OperationStatus(UnknownEnumMixin, StrEnum): + STARTED = "STARTED" + PENDING = "PENDING" + READY = "READY" + SUCCEEDED = "SUCCEEDED" + FAILED = "FAILED" + CANCELLED = "CANCELLED" + TIMED_OUT = "TIMED_OUT" + STOPPED = "STOPPED" + +class OperationType(UnknownEnumMixin, StrEnum): + EXECUTION = "EXECUTION" + CONTEXT = "CONTEXT" + STEP = "STEP" + WAIT = "WAIT" + CALLBACK = "CALLBACK" + CHAINED_INVOKE = "CHAINED_INVOKE" + +@dataclass(kw_only=True) +class OperationUpdate(_SerdeShape): + """An update to be applied to an operation during checkpointing.""" + + id: str + """The unique identifier for this operation.""" + parent_id: str | None = ... + """ + The unique identifier of the parent operation, if this operation is + running within a child context. + """ + name: str | None = ... + """The customer-provided name for this operation.""" + type: str + """The type of operation to update.""" + sub_type: str | None = ... + """The subtype of the operation, providing additional categorization.""" + action: str + """The action to take on the operation.""" + payload: str | None = ... + """ + The payload for successful operations. The maximum payload size is 6 MB + for synchronous `EXECUTION` operations (RequestResponse invocationType), + and 1 MB for asynchronous `EXECUTION` (Event invocationType), + `CHAINED_INVOKE`, `CONTEXT`, `STEP`, `WAIT`, and `CALLBACK` operations. + """ + error: ErrorObject | None = ... + """ + The error information for failed operations. The combined size of all + error fields is limited to 1 MB. + """ + context_options: ContextOptions | None = ... + """Options for context operations.""" + step_options: StepOptions | None = ... + """Options for step operations.""" + wait_options: WaitOptions | None = ... + """Options for wait operations.""" + callback_options: CallbackOptions | None = ... + """ + Configuration options for callback operations in durable executions, + including timeout settings and retry behavior. + """ + chained_invoke_options: ChainedInvokeOptions | None = ... + """ + Configuration options for chained function invocations in durable + executions, including retry settings and timeout configuration. + """ + +class PackageType(UnknownEnumMixin, StrEnum): + ZIP = "Zip" + IMAGE = "Image" + +@dataclass(kw_only=True) +class PolicyLengthExceededException(ServiceError, _SerdeShape): + """ + The permissions policy for the resource is too large. For more + information, see [Lambda + quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PreconditionFailedException(ServiceError, _SerdeShape): + """ + The RevisionId provided does not match the latest RevisionId for the + Lambda function or alias. + + - **For AddPermission and RemovePermission API operations:** Call + `GetPolicy` to retrieve the latest RevisionId for your resource. + + - **For all other API operations:** Call `GetFunction` or `GetAlias` to + retrieve the latest RevisionId for your resource. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PropagateTags(_SerdeShape): + """ + Configuration for tag propagation to managed resources launched by the + capacity provider. + """ + + mode: str | None = ... + """ + The tag propagation mode. Set to `Explicit` to propagate the tags + specified in `ExplicitTags` to managed resources. Set to `None` to + disable tag propagation. + """ + explicit_tags: dict[str, str] | None = ... + """ + A list of tags to apply to managed resources when `Mode` is set to + `Explicit`. You can specify up to 40 tags. + """ + +class PropagateTagsMode(UnknownEnumMixin, StrEnum): + NONE = "None" + """Tag propagation is disabled. No tags are applied to managed resources.""" + EXPLICIT = "Explicit" + """ + Tags specified in `ExplicitTags` are applied to managed resources at + launch. + """ + +@dataclass(kw_only=True) +class ProvisionedConcurrencyConfigListItem(_SerdeShape): + """ + Details about the provisioned concurrency configuration for a function + alias or version. + """ + + function_arn: str | None = ... + """The Amazon Resource Name (ARN) of the alias or version.""" + requested_provisioned_concurrent_executions: int | None = ... + """The amount of provisioned concurrency requested.""" + available_provisioned_concurrent_executions: int | None = ... + """The amount of provisioned concurrency available.""" + allocated_provisioned_concurrent_executions: int | None = ... + """ + The amount of provisioned concurrency allocated. When a weighted alias + is used during linear and canary deployments, this value fluctuates + depending on the amount of concurrency that is provisioned for the + function versions. + """ + status: str | None = ... + """The status of the allocation process.""" + status_reason: str | None = ... + """ + For failed allocations, the reason that provisioned concurrency could + not be allocated. + """ + last_modified: str | None = ... + """ + The date and time that a user last updated the configuration, in [ISO + 8601 format](https://www.iso.org/iso-8601-date-and-time-format.html). + """ + +@dataclass(kw_only=True) +class ProvisionedConcurrencyConfigNotFoundException(ServiceError, _SerdeShape): + """The specified configuration does not exist.""" + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ProvisionedConcurrencyStatusEnum(UnknownEnumMixin, StrEnum): + IN_PROGRESS = "IN_PROGRESS" + READY = "READY" + FAILED = "FAILED" + +@dataclass(kw_only=True) +class ProvisionedPollerConfig(_SerdeShape): + """ + The [provisioned + mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode) + configuration for the event source. Use Provisioned Mode to customize + the minimum and maximum number of event pollers for your event source. + """ + + minimum_pollers: int | None = ... + """ + The minimum number of event pollers this event source can scale down to. + For Amazon SQS events source mappings, default is 2, and minimum 2 + required. For Amazon MSK and self-managed Apache Kafka event source + mappings, default is 1. + """ + maximum_pollers: int | None = ... + """ + The maximum number of event pollers this event source can scale up to. + For Amazon SQS event source mappings, the accepted range is between 2 + and 10,000, with a default of 200. For Amazon MSK and self-managed + Apache Kafka event source mappings, the accepted range is between 1 and + 2,000, with a default of 200. + """ + poller_group_name: str | None = ... + """ + (Amazon MSK and self-managed Apache Kafka) The name of the provisioned + poller group. Use this option to group multiple ESMs within the event + source's VPC to share Event Poller Unit (EPU) capacity. You can use + this option to optimize Provisioned mode costs for your ESMs. You can + group up to 100 ESMs per poller group and aggregate maximum pollers + across all ESMs in a group cannot exceed 2000. + """ + +@dataclass(kw_only=True) +class PublicPolicyException(ServiceError, _SerdeShape): + """ + The resource-based policy you tried to add to the Lambda resource would + grant public access to it, which isn't allowed. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PublishLayerVersionInput(_SerdeShape): + """Dataclass for PublishLayerVersionInput structure.""" + + layer_name: str | None = ... + """The name or Amazon Resource Name (ARN) of the layer.""" + description: str | None = ... + """The description of the version.""" + content: LayerVersionContentInput | None = ... + """The function layer archive.""" + compatible_architectures: list[str] | None = ... + """ + A list of compatible [instruction set + architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). + """ + compatible_runtimes: list[str] | None = ... + """ + A list of compatible [function + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). + Used for filtering with ListLayers and ListLayerVersions. + + The following list includes deprecated runtimes. For more information, + see [Runtime deprecation + policy](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). + """ + license_info: str | None = ... + """ + The layer's software license. It can be any of the following: + + - An [SPDX license identifier](https://spdx.org/licenses/). For example, + `MIT`. + + - The URL of a license hosted on the internet. For example, + `https://opensource.org/licenses/MIT`. + + - The full text of the license. + """ + +@dataclass(kw_only=True) +class PublishLayerVersionOutput(_SerdeShape): + """Dataclass for PublishLayerVersionOutput structure.""" + + content: LayerVersionContentOutput | None = ... + """Details about the layer version.""" + layer_arn: str | None = ... + """The ARN of the layer.""" + layer_version_arn: str | None = ... + """The ARN of the layer version.""" + description: str | None = ... + """The description of the version.""" + created_date: str | None = ... + """ + The date that the layer version was created, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + version: int = ... + """The version number.""" + compatible_architectures: list[str] | None = ... + """ + A list of compatible [instruction set + architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). + """ + compatible_runtimes: list[str] | None = ... + """ + The layer's compatible runtimes. + + The following list includes deprecated runtimes. For more information, + see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + license_info: str | None = ... + """The layer's software license.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PublishVersionInput(_SerdeShape): + """Dataclass for PublishVersionInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + code_sha256: str | None = ... + """ + Only publish a version if the hash value matches the value that's + specified. Use this option to avoid publishing a version if the function + code has changed since you last updated it. You can get the hash for the + version that you uploaded from the output of UpdateFunctionCode. + """ + description: str | None = ... + """ + A description for the version to override the description in the + function configuration. + """ + revision_id: str | None = ... + """ + Only update the function if the revision ID matches the ID that's + specified. Use this option to avoid publishing a version if the function + configuration has changed since you last updated it. + """ + publish_to: str | None = ... + """Specifies where to publish the function version or configuration.""" + +@dataclass(kw_only=True) +class PublishVersionOutput(_SerdeShape): + """Details about a function's configuration.""" + + function_name: str | None = ... + """The name of the function.""" + function_arn: str | None = ... + """The function's Amazon Resource Name (ARN).""" + runtime: str | None = ... + """ + The identifier of the function's + [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). + Runtime is required if the deployment package is a .zip file archive. + Specifying a runtime results in an error if you're deploying a function + using a container image. + + The following list includes deprecated runtimes. Lambda blocks creating + new functions and updating existing functions shortly after each runtime + is deprecated. For more information, see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + role: str | None = ... + """The function's execution role.""" + handler: str | None = ... + """The function that Lambda calls to begin running your function.""" + code_size: int = ... + """The size of the function's deployment package, in bytes.""" + description: str | None = ... + """The function's description.""" + timeout: int | None = ... + """ + The amount of time in seconds that Lambda allows a function to run + before stopping it. + """ + memory_size: int | None = ... + """The amount of memory available to the function at runtime.""" + last_modified: str | None = ... + """ + The date and time that the function was last updated, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + code_sha256: str | None = ... + """The SHA256 hash of the function's deployment package.""" + version: str | None = ... + """The version of the Lambda function.""" + vpc_config: VpcConfigResponse | None = ... + """The function's networking configuration.""" + dead_letter_config: DeadLetterConfig | None = ... + """The function's dead letter queue.""" + environment: EnvironmentResponse | None = ... + """ + The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). + Omitted from CloudTrail logs. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt the following resources: + + - The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). + + - The function's [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) + snapshots. + + - When used with `SourceKMSKeyArn`, the unzipped version of the .zip + deployment package that's used for function invocations. For more + information, see [Specifying a customer managed key for + Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). + + - The optimized version of the container image that's used for function + invocations. Note that this is not the same key that's used to + protect your container image in the Amazon Elastic Container Registry + (Amazon ECR). For more information, see [Function + lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). + + If you don't provide a customer managed key, Lambda uses an [Amazon Web + Services owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) + or an [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). + """ + tracing_config: TracingConfigResponse | None = ... + """The function's X-Ray tracing configuration.""" + master_arn: str | None = ... + """For Lambda@Edge functions, the ARN of the main function.""" + revision_id: str | None = ... + """The latest updated revision of the function or alias.""" + layers: list[Layer] | None = ... + """ + The function's + [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + state: str | None = ... + """ + The current state of the function. When the state is `Inactive`, you can + reactivate the function by invoking it. + """ + state_reason: str | None = ... + """The reason for the function's current state.""" + state_reason_code: str | None = ... + """ + The reason code for the function's current state. When the code is + `Creating`, you can't invoke or modify the function. + """ + last_update_status: str | None = ... + """ + The status of the last update that was performed on the function. This + is first set to `Successful` after function creation completes. + """ + last_update_status_reason: str | None = ... + """The reason for the last update that was performed on the function.""" + last_update_status_reason_code: str | None = ... + """The reason code for the last update that was performed on the function.""" + file_system_configs: list[FileSystemConfig] | None = ... + """ + Connection settings for an [Amazon EFS file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) + or an [Amazon S3 file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). + """ + signing_profile_version_arn: str | None = ... + """The ARN of the signing profile version.""" + signing_job_arn: str | None = ... + """The ARN of the signing job.""" + package_type: str | None = ... + """ + The type of deployment package. Set to `Image` for container image and + set `Zip` for .zip file archive. + """ + image_config_response: ImageConfigResponse | None = ... + """The function's image configuration values.""" + architectures: list[str] | None = ... + """ + The instruction set architecture that the function supports. + Architecture is a string array with one of the valid values. The default + architecture value is `x86_64`. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The size of the function's `/tmp` directory in MB. The default value is + 512, but can be any whole number between 512 and 10,240 MB. For more + information, see [Configuring ephemeral storage + (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). + """ + snap_start: SnapStartResponse | None = ... + """ + Set `ApplyOn` to `PublishedVersions` to create a snapshot of the + initialized execution environment when you publish a function version. + For more information, see [Improving startup performance with Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). + """ + runtime_version_config: RuntimeVersionConfig | None = ... + """The ARN of the runtime and any errors that occured.""" + logging_config: LoggingConfig | None = ... + """The function's Amazon CloudWatch Logs configuration settings.""" + tenancy_config: TenancyConfig | None = ... + """ + The function's tenant isolation configuration settings. Determines + whether the Lambda function runs on a shared or dedicated infrastructure + per unique tenant. + """ + capacity_provider_config: CapacityProviderConfig | None = ... + """ + Configuration for the capacity provider that manages compute resources + for Lambda functions. + """ + config_sha256: str | None = ... + """The SHA256 hash of the function configuration.""" + durable_config: DurableConfig | None = ... + """ + The function's durable execution configuration settings, if the + function is configured for durability. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutFunctionCodeSigningConfigInput(_SerdeShape): + """Dataclass for PutFunctionCodeSigningConfigInput structure.""" + + code_signing_config_arn: str | None = ... + """The The Amazon Resource Name (ARN) of the code signing configuration.""" + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + +@dataclass(kw_only=True) +class PutFunctionCodeSigningConfigOutput(_SerdeShape): + """Dataclass for PutFunctionCodeSigningConfigOutput structure.""" + + code_signing_config_arn: str + """The The Amazon Resource Name (ARN) of the code signing configuration.""" + function_name: str + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutFunctionConcurrencyInput(_SerdeShape): + """Dataclass for PutFunctionConcurrencyInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + reserved_concurrent_executions: int | None = ... + """The number of simultaneous executions to reserve for the function.""" + +@dataclass(kw_only=True) +class PutFunctionConcurrencyOutput(_SerdeShape): + """Dataclass for PutFunctionConcurrencyOutput structure.""" + + reserved_concurrent_executions: int | None = ... + """ + The number of concurrent executions that are reserved for this function. + For more information, see [Managing Lambda reserved + concurrency](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutFunctionEventInvokeConfigInput(_SerdeShape): + """Dataclass for PutFunctionEventInvokeConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** - `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** - `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """A version number or alias name.""" + maximum_retry_attempts: int | None = ... + """The maximum number of times to retry when the function returns an error.""" + maximum_event_age_in_seconds: int | None = ... + """ + The maximum age of a request that Lambda sends to a function for + processing. + """ + destination_config: DestinationConfig | None = ... + """ + A destination for events after they have been sent to a function for + processing. + + **Destinations** + + - **Function** - The Amazon Resource Name (ARN) of a Lambda function. + + - **Queue** - The ARN of a standard SQS queue. + + - **Bucket** - The ARN of an Amazon S3 bucket. + + - **Topic** - The ARN of a standard SNS topic. + + - **Event Bus** - The ARN of an Amazon EventBridge event bus. + + Note: + S3 buckets are supported only for on-failure destinations. To retain + records of successful invocations, use another destination type. + """ + +@dataclass(kw_only=True) +class PutFunctionEventInvokeConfigOutput(_SerdeShape): + """Dataclass for PutFunctionEventInvokeConfigOutput structure.""" + + last_modified: datetime | None = ... + """The date and time that the configuration was last updated.""" + function_arn: str | None = ... + """The Amazon Resource Name (ARN) of the function.""" + maximum_retry_attempts: int | None = ... + """The maximum number of times to retry when the function returns an error.""" + maximum_event_age_in_seconds: int | None = ... + """ + The maximum age of a request that Lambda sends to a function for + processing. + """ + destination_config: DestinationConfig | None = ... + """ + A destination for events after they have been sent to a function for + processing. + + **Destinations** + + - **Function** - The Amazon Resource Name (ARN) of a Lambda function. + + - **Queue** - The ARN of a standard SQS queue. + + - **Bucket** - The ARN of an Amazon S3 bucket. + + - **Topic** - The ARN of a standard SNS topic. + + - **Event Bus** - The ARN of an Amazon EventBridge event bus. + + Note: + S3 buckets are supported only for on-failure destinations. To retain + records of successful invocations, use another destination type. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutFunctionRecursionConfigInput(_SerdeShape): + """Dataclass for PutFunctionRecursionConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + recursive_loop: str | None = ... + """ + If you set your function's recursive loop detection configuration to + `Allow`, Lambda doesn't take any action when it detects your function + being invoked as part of a recursive loop. We recommend that you only + use this setting if your design intentionally uses a Lambda function to + write data back to the same Amazon Web Services resource that invokes + it. + + If you set your function's recursive loop detection configuration to + `Terminate`, Lambda stops your function being invoked and notifies you + when it detects your function being invoked as part of a recursive loop. + + By default, Lambda sets your function's configuration to `Terminate`. + + Warning: + If your design intentionally uses a Lambda function to write data back + to the same Amazon Web Services resource that invokes the function, then + use caution and implement suitable guard rails to prevent unexpected + charges being billed to your Amazon Web Services account. To learn more + about best practices for using recursive invocation patterns, see + [Recursive patterns that cause run-away Lambda + functions](https://serverlessland.com/content/service/lambda/guides/aws-lambda-operator-guide/recursive-runaway) + in Serverless Land. + """ + +@dataclass(kw_only=True) +class PutFunctionRecursionConfigOutput(_SerdeShape): + """Dataclass for PutFunctionRecursionConfigOutput structure.""" + + recursive_loop: str | None = ... + """ + The status of your function's recursive loop detection configuration. + + When this value is set to `Allow`and Lambda detects your function being + invoked as part of a recursive loop, it doesn't take any action. + + When this value is set to `Terminate` and Lambda detects your function + being invoked as part of a recursive loop, it stops your function being + invoked and notifies you. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutFunctionScalingConfigInput(_SerdeShape): + """Dataclass for PutFunctionScalingConfigInput structure.""" + + function_name: str | None = ... + """The name or ARN of the Lambda function.""" + qualifier: str | None = ... + """ + Specify a version or alias to set the scaling configuration for a + published version of the function. + """ + function_scaling_config: FunctionScalingConfig | None = ... + """ + The scaling configuration to apply to the function, including minimum + and maximum execution environment limits. + """ + +@dataclass(kw_only=True) +class PutFunctionScalingConfigOutput(_SerdeShape): + """Dataclass for PutFunctionScalingConfigOutput structure.""" + + function_state: str | None = ... + """ + The current state of the function after applying the scaling + configuration. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutProvisionedConcurrencyConfigInput(_SerdeShape): + """Dataclass for PutProvisionedConcurrencyConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """The version number or alias name.""" + provisioned_concurrent_executions: int | None = ... + """ + The amount of provisioned concurrency to allocate for the version or + alias. + """ + +@dataclass(kw_only=True) +class PutProvisionedConcurrencyConfigOutput(_SerdeShape): + """Dataclass for PutProvisionedConcurrencyConfigOutput structure.""" + + requested_provisioned_concurrent_executions: int | None = ... + """The amount of provisioned concurrency requested.""" + allocated_provisioned_concurrent_executions: int | None = ... + """ + The amount of provisioned concurrency allocated. When a weighted alias + is used during linear and canary deployments, this value fluctuates + depending on the amount of concurrency that is provisioned for the + function versions. + """ + available_provisioned_concurrent_executions: int | None = ... + """The amount of provisioned concurrency available.""" + status: str | None = ... + """The status of the allocation process.""" + status_reason: str | None = ... + """ + For failed allocations, the reason that provisioned concurrency could + not be allocated. + """ + last_modified: str | None = ... + """ + The date and time that a user last updated the configuration, in [ISO + 8601 format](https://www.iso.org/iso-8601-date-and-time-format.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyInput(_SerdeShape): + """Dataclass for PutResourcePolicyInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda resource you want to add + the policy to. You can use a qualified or an unqualified ARN. The value + must be a complete ARN, and the operation does not accept wildcard + characters. + """ + policy: str | None = ... + """ + The policy document you want to add to your Lambda resource. This is + formatted as a JSON string. + + For more information, see [Working with resource-based policies in + Lambda](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html) + in the *Lambda Developer Guide*. + """ + revision_id: str | None = ... + """ + The revision ID that the existing policy must match for the replacement + to proceed. If the revision ID doesn't match, the operation fails with + a `PreconditionFailedException` error. To retrieve the current revision + ID, use the GetResourcePolicy operation. + """ + +@dataclass(kw_only=True) +class PutResourcePolicyOutput(_SerdeShape): + """Dataclass for PutResourcePolicyOutput structure.""" + + policy: str | None = ... + """The resource-based policy that Lambda adds to the resource.""" + revision_id: str | None = ... + """The revision ID of the policy that Lambda adds to your Lambda resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutRuntimeManagementConfigInput(_SerdeShape): + """Dataclass for PutRuntimeManagementConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """ + Specify a version of the function. This can be `$LATEST` or a published + version number. If no value is specified, the configuration for the + `$LATEST` version is returned. + """ + update_runtime_on: str | None = ... + """ + Specify the runtime update mode. + + - **Auto (default)** - Automatically update to the most recent and + secure runtime version using a [Two-phase runtime version + rollout](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-two-phase). + This is the best choice for most customers to ensure they always + benefit from runtime updates. + + - **Function update** - Lambda updates the runtime of your function to + the most recent and secure runtime version when you update your + function. This approach synchronizes runtime updates with function + deployments, giving you control over when runtime updates are applied + and allowing you to detect and mitigate rare runtime update + incompatibilities early. When using this setting, you need to + regularly update your functions to keep their runtime up-to-date. + + - **Manual** - You specify a runtime version in your function + configuration. The function will use this runtime version + indefinitely. In the rare case where a new runtime version is + incompatible with an existing function, this allows you to roll back + your function to an earlier runtime version. For more information, see + [Roll back a runtime + version](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-rollback). + """ + runtime_version_arn: str | None = ... + """ + The ARN of the runtime version you want the function to use. + + Note: + This is only required if you're using the **Manual** runtime update + mode. + """ + +@dataclass(kw_only=True) +class PutRuntimeManagementConfigOutput(_SerdeShape): + """Dataclass for PutRuntimeManagementConfigOutput structure.""" + + update_runtime_on: str + """The runtime update mode.""" + function_arn: str + """The ARN of the function""" + runtime_version_arn: str | None = ... + """ + The ARN of the runtime the function is configured to use. If the runtime + update mode is **manual**, the ARN is returned, otherwise `null` is + returned. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RecursiveInvocationException(ServiceError, _SerdeShape): + """ + Lambda has detected your function being invoked in a recursive loop with + other Amazon Web Services resources and stopped your function's + invocation. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class RecursiveLoop(UnknownEnumMixin, StrEnum): + ALLOW = "Allow" + TERMINATE = "Terminate" + +@dataclass(kw_only=True) +class RemoveLayerVersionPermissionInput(_SerdeShape): + """Dataclass for RemoveLayerVersionPermissionInput structure.""" + + layer_name: str | None = ... + """The name or Amazon Resource Name (ARN) of the layer.""" + version_number: int | None = ... + """The version number.""" + statement_id: str | None = ... + """The identifier that was specified when the statement was added.""" + revision_id: str | None = ... + """ + Only update the policy if the revision ID matches the ID specified. Use + this option to avoid modifying a policy that has changed since you last + read it. + """ + +@dataclass(kw_only=True) +class RemoveLayerVersionPermissionOutput(_SerdeShape): + """Dataclass for RemoveLayerVersionPermissionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemovePermissionInput(_SerdeShape): + """Dataclass for RemovePermissionInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** -- `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + statement_id: str | None = ... + """Statement ID of the permission to remove.""" + qualifier: str | None = ... + """ + Specify a version or alias to remove permissions from a published + version of the function. + """ + revision_id: str | None = ... + """ + Update the policy only if the revision ID matches the ID that's + specified. Use this option to avoid modifying a policy that has changed + since you last read it. + """ + +@dataclass(kw_only=True) +class RemovePermissionOutput(_SerdeShape): + """Dataclass for RemovePermissionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RequestTooLargeException(ServiceError, _SerdeShape): + """ + The request payload exceeded the `Invoke` request body JSON input quota. + For more information, see [Lambda + quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResolvedS3Object(_SerdeShape): + """ + Details about the resolved Amazon S3 object that contains a function's + deployment package. + """ + + s3_bucket: str | None = ... + """The Amazon S3 bucket that contains the deployment package.""" + s3_key: str | None = ... + """The Amazon S3 key of the deployment package.""" + s3_object_version: str | None = ... + """The version of the deployment package object.""" + +@dataclass(kw_only=True) +class ResourceConflictException(ServiceError, _SerdeShape): + """The resource already exists, or another operation is in progress.""" + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceInUseException(ServiceError, _SerdeShape): + """ + The operation conflicts with the resource's availability. For example, + you tried to update an event source mapping in the CREATING state, or + you tried to delete an event source mapping currently UPDATING. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """The resource specified in the request does not exist.""" + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceNotReadyException(ServiceError, _SerdeShape): + """ + The function is inactive and its VPC connection is no longer available. + Wait for the VPC connection to reestablish and try again. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ResponseStreamingInvocationType(UnknownEnumMixin, StrEnum): + REQUEST_RESPONSE = "RequestResponse" + DRY_RUN = "DryRun" + +@dataclass(kw_only=True) +class RetryDetails(_SerdeShape): + """Information about retry attempts for an operation.""" + + current_attempt: int = ... + """The current attempt number for this operation.""" + next_attempt_delay_seconds: int | None = ... + """The delay before the next retry attempt, in seconds.""" + +class Runtime(UnknownEnumMixin, StrEnum): + NODEJS = "nodejs" + NODEJS43 = "nodejs4.3" + NODEJS610 = "nodejs6.10" + NODEJS810 = "nodejs8.10" + NODEJS10X = "nodejs10.x" + NODEJS12X = "nodejs12.x" + NODEJS14X = "nodejs14.x" + NODEJS16X = "nodejs16.x" + NODEJS18X = "nodejs18.x" + NODEJS20X = "nodejs20.x" + NODEJS22X = "nodejs22.x" + NODEJS24X = "nodejs24.x" + JAVA8 = "java8" + JAVA8AL2 = "java8.al2" + JAVA11 = "java11" + JAVA17 = "java17" + JAVA21 = "java21" + JAVA25 = "java25" + PYTHON27 = "python2.7" + PYTHON36 = "python3.6" + PYTHON37 = "python3.7" + PYTHON38 = "python3.8" + PYTHON39 = "python3.9" + PYTHON310 = "python3.10" + PYTHON311 = "python3.11" + PYTHON312 = "python3.12" + PYTHON313 = "python3.13" + PYTHON314 = "python3.14" + DOTNETCORE10 = "dotnetcore1.0" + DOTNETCORE20 = "dotnetcore2.0" + DOTNETCORE21 = "dotnetcore2.1" + DOTNETCORE31 = "dotnetcore3.1" + DOTNET6 = "dotnet6" + DOTNET8 = "dotnet8" + DOTNET10 = "dotnet10" + NODEJS43EDGE = "nodejs4.3-edge" + GO1X = "go1.x" + RUBY25 = "ruby2.5" + RUBY27 = "ruby2.7" + RUBY32 = "ruby3.2" + RUBY33 = "ruby3.3" + RUBY34 = "ruby3.4" + RUBY40 = "ruby4.0" + PROVIDED = "provided" + PROVIDEDAL2 = "provided.al2" + PROVIDEDAL2023 = "provided.al2023" + NODEJS26X = "nodejs26.x" + PYTHON315 = "python3.15" + JAVA8AL2023 = "java8.al2023" + JAVA11AL2023 = "java11.al2023" + JAVA17AL2023 = "java17.al2023" + +@dataclass(kw_only=True) +class RuntimeVersionConfig(_SerdeShape): + """The ARN of the runtime and any errors that occured.""" + + runtime_version_arn: str | None = ... + """The ARN of the runtime version you want the function to use.""" + error: RuntimeVersionError | None = ... + """ + Error response when Lambda is unable to retrieve the runtime version for + a function. + """ + +@dataclass(kw_only=True) +class RuntimeVersionError(_SerdeShape): + """ + Any error returned when the runtime version information for the function + could not be retrieved. + """ + + error_code: str | None = ... + """The error code.""" + message: str | None = ... + """The error message.""" + +@dataclass(kw_only=True) +class S3FilesConfig(_SerdeShape): + """ + Setting controls how your function accesses data from an Amazon S3 file + system. + """ + + direct_s3_read: str | None = ... + """ + Specifies if a function reads from the file system for the lowest + latency, or through Amazon S3 Files feature \"direct Amazon S3 bucket + reads\" for the highest throughput. Valid values: + + - `AUTO` (default) -- Direct reads are active for functions you + configure with 512 MB or more of memory. + + - `ENABLED` -- Enforces all reads are directly from the Amazon S3 + bucket, regardless of available memory (less than 512 MB). + + - `DISABLED` -- Routes all reads through the file system, regardless of + memory configuration. + + To use direct reads, you must grant the execution role the + `s3:GetObject` and `s3:GetObjectVersion` permissions. If a direct read + fails, Lambda automatically falls back to reading through the file + system. + """ + +@dataclass(kw_only=True) +class S3FilesMountConnectivityException(ServiceError, _SerdeShape): + """ + The Lambda function couldn't make a network connection to the + configured S3 Files access point. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class S3FilesMountFailureException(ServiceError, _SerdeShape): + """ + The Lambda function couldn't mount the configured S3 Files access point + due to a permission or configuration issue. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class S3FilesMountTimeoutException(ServiceError, _SerdeShape): + """ + The Lambda function made a network connection to the configured S3 Files + access point, but the mount operation timed out. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class S3ObjectStorageMode(UnknownEnumMixin, StrEnum): + """ + The method Lambda uses to store a function's deployment package --- + either by copying the package into Lambda-managed storage (`COPY`) or by + referencing it directly from the source Amazon S3 bucket (`REFERENCE`). + """ + + COPY = "COPY" + """ + The default storage mode. Uploads a copy of your deployment package to + Lambda. + """ + REFERENCE = "REFERENCE" + """ + The reference storage mode. Lambda references the deployment package + from the specified Amazon S3 bucket without uploading a copy. + """ + +@dataclass(kw_only=True) +class ScalingConfig(_SerdeShape): + """ + (Amazon SQS only) The scaling configuration for the event source. To + remove the configuration, pass an empty value. + """ + + maximum_concurrency: int | None = ... + """ + Limits the number of concurrent instances that the Amazon SQS event + source can invoke. + """ + +class SchemaRegistryEventRecordFormat(UnknownEnumMixin, StrEnum): + JSON = "JSON" + SOURCE = "SOURCE" + +@dataclass(kw_only=True) +class SelfManagedEventSource(_SerdeShape): + """The self-managed Apache Kafka cluster for your event source.""" + + endpoints: dict[str, list[str]] | None = ... + """ + The list of bootstrap servers for your Kafka brokers in the following + format: + `"KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]`. + """ + +@dataclass(kw_only=True) +class SelfManagedKafkaEventSourceConfig(_SerdeShape): + """ + Specific configuration settings for a self-managed Apache Kafka event + source. + """ + + consumer_group_id: str | None = ... + """ + The identifier for the Kafka consumer group to join. The consumer group + ID must be unique among all your Kafka event sources. After creating a + Kafka event source mapping with the consumer group ID specified, you + cannot update this value. For more information, see [Customizable + consumer group + ID](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka-process.html#services-smaa-topic-add). + """ + schema_registry_config: KafkaSchemaRegistryConfig | None = ... + """Specific configuration settings for a Kafka schema registry.""" + consumption_mode: str | None = ... + """ + The mode that Lambda uses to consume records from your self-managed + Apache Kafka topic. The default is `Stream`. + + - `Stream` -- Lambda consumes records using a Kafka consumer group and + preserves the order of records within each partition. This is the + default when you omit `ConsumptionMode`. + + - `Queue` -- Lambda consumes records using a Kafka share group. Multiple + consumers can process records from the same partitions concurrently. + Queue mode does not preserve per-partition order. Queue mode requires + an Apache Kafka cluster running version 4.2 or later with share groups + enabled. + + You cannot change `ConsumptionMode` after you create the event source + mapping. To use a different consumption mode, create a new event source + mapping. + + When `ConsumptionMode` is `Queue`, the `StartingPosition`, + `StartingPositionTimestamp`, and `MaximumBatchingWindowInSeconds` + parameters are not supported. + """ + +@dataclass(kw_only=True) +class SendDurableExecutionCallbackFailureInput(_SerdeShape): + """Dataclass for SendDurableExecutionCallbackFailureInput structure.""" + + callback_id: str | None = ... + """The unique identifier for the callback operation.""" + error: ErrorObject | None = ... + """ + Error details describing why the callback operation failed. The combined + size of all error fields is limited to 1 MB. + """ + +@dataclass(kw_only=True) +class SendDurableExecutionCallbackFailureOutput(_SerdeShape): + """Dataclass for SendDurableExecutionCallbackFailureOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SendDurableExecutionCallbackHeartbeatInput(_SerdeShape): + """Dataclass for SendDurableExecutionCallbackHeartbeatInput structure.""" + + callback_id: str | None = ... + """The unique identifier for the callback operation.""" + +@dataclass(kw_only=True) +class SendDurableExecutionCallbackHeartbeatOutput(_SerdeShape): + """Dataclass for SendDurableExecutionCallbackHeartbeatOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SendDurableExecutionCallbackSuccessInput(_SerdeShape): + """Dataclass for SendDurableExecutionCallbackSuccessInput structure.""" + + callback_id: str | None = ... + """The unique identifier for the callback operation.""" + result: bytes | None = ... + """ + The result data from the successful callback operation. Maximum size is + 1 MB. + """ + +@dataclass(kw_only=True) +class SendDurableExecutionCallbackSuccessOutput(_SerdeShape): + """Dataclass for SendDurableExecutionCallbackSuccessOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SerializedRequestEntityTooLargeException(ServiceError, _SerdeShape): + """ + The request payload exceeded the maximum allowed size for serialized + request entities. + """ + + type: str | None = ... + """The error type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceException(ServiceError, _SerdeShape): + """The Lambda service encountered an internal error.""" + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceQuotaExceededException(ServiceError, _SerdeShape): + """ + The request would exceed a service quota. For more information about + Lambda service quotas, see [Lambda + quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). + To request a quota increase, see [Requesting a quota + increase](https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html) + in the *Service Quotas User Guide*. + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SnapStart(_SerdeShape): + """ + The function's [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) + setting. Set `ApplyOn` to `PublishedVersions` to create a snapshot of + the initialized execution environment when you publish a function + version. + """ + + apply_on: str | None = ... + """ + Set to `PublishedVersions` to create a snapshot of the initialized + execution environment when you publish a function version. + """ + +class SnapStartApplyOn(UnknownEnumMixin, StrEnum): + PUBLISHED_VERSIONS = "PublishedVersions" + NONE = "None" + +@dataclass(kw_only=True) +class SnapStartException(ServiceError, _SerdeShape): + """ + The `afterRestore()` [runtime + hook](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html) + encountered an error. For more information, check the Amazon CloudWatch + logs. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SnapStartNotReadyException(ServiceError, _SerdeShape): + """ + Lambda is initializing your function. You can invoke the function when + the [function + state](https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html) + becomes `Active`. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class SnapStartOptimizationStatus(UnknownEnumMixin, StrEnum): + ON = "On" + OFF = "Off" + +@dataclass(kw_only=True) +class SnapStartRegenerationFailureException(ServiceError, _SerdeShape): + """ + Lambda couldn't regenerate the SnapStart snapshot for the function. + SnapStart-enabled functions periodically regenerate snapshots when their + underlying runtime or dependencies change; this regeneration failed. + Wait for Lambda to retry, or update the function's configuration to + trigger a new snapshot. For more information, see [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). + """ + + type: str | None = ... + """The exception type.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SnapStartResponse(_SerdeShape): + """ + The function's + [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) + setting. + """ + + apply_on: str | None = ... + """ + When set to `PublishedVersions`, Lambda creates a snapshot of the + execution environment when you publish a function version. + """ + optimization_status: str | None = ... + """ + When you provide a [qualified Amazon Resource Name + (ARN)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using), + this response element indicates whether SnapStart is activated for the + specified function version. + """ + +@dataclass(kw_only=True) +class SnapStartTimeoutException(ServiceError, _SerdeShape): + """Lambda couldn't restore the snapshot within the timeout limit.""" + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SourceAccessConfiguration(_SerdeShape): + """ + To secure and define access to your event source, you can specify the + authentication protocol, VPC components, or virtual host. + """ + + type: str | None = ... + """ + The type of authentication protocol, VPC components, or virtual host for + your event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`. + + - `BASIC_AUTH` -- (Amazon MQ) The Secrets Manager secret that stores + your broker credentials. + + - `BASIC_AUTH` -- (Self-managed Apache Kafka) The Secrets Manager ARN of + your secret key used for SASL/PLAIN authentication of your Apache + Kafka brokers. + + - `VPC_SUBNET` -- (Self-managed Apache Kafka) The subnets associated + with your VPC. Lambda connects to these subnets to fetch data from + your self-managed Apache Kafka cluster. + + - `VPC_SECURITY_GROUP` -- (Self-managed Apache Kafka) The VPC security + group used to manage access to your self-managed Apache Kafka brokers. + + - `SASL_SCRAM_256_AUTH` -- (Self-managed Apache Kafka) The Secrets + Manager ARN of your secret key used for SASL SCRAM-256 authentication + of your self-managed Apache Kafka brokers. + + - `SASL_SCRAM_512_AUTH` -- (Amazon MSK, Self-managed Apache Kafka) The + Secrets Manager ARN of your secret key used for SASL SCRAM-512 + authentication of your self-managed Apache Kafka brokers. + + - `VIRTUAL_HOST` --- (RabbitMQ) The name of the virtual host in your + RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. + This property cannot be specified in an UpdateEventSourceMapping API + call. + + - `CLIENT_CERTIFICATE_TLS_AUTH` -- (Amazon MSK, self-managed Apache + Kafka) The Secrets Manager ARN of your secret key containing the + certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private + key password (optional) used for mutual TLS authentication of your + MSK/Apache Kafka brokers. + + - `SERVER_ROOT_CA_CERTIFICATE` -- (Self-managed Apache Kafka) The + Secrets Manager ARN of your secret key containing the root CA + certificate (X.509 PEM) used for TLS encryption of your Apache Kafka + brokers. + + - `OAUTHBEARER_AUTH` -- (Self-managed Apache Kafka) The Secrets Manager + ARN of your secret key containing the OAuth 2.0 credentials that + Lambda uses for SASL/OAUTHBEARER authentication with your Apache Kafka + brokers. For the contents of the secret, see [Configuring the OAuth + secret](https://docs.aws.amazon.com/lambda/latest/dg/kafka-cluster-auth.html#smaa-auth-oauth-secret). + + - `OAUTHBEARER_SCOPE` -- (Self-managed Apache Kafka) The OAuth 2.0 scope + that Lambda requests when it acquires an access token. The `URI` field + holds the scope value, not a secret ARN. This type requires + `OAUTHBEARER_AUTH`. + + - `OAUTHBEARER_AUDIENCE` -- (Self-managed Apache Kafka) The OAuth 2.0 + audience that Lambda requests when it acquires an access token. The + `URI` field holds the audience value, not a secret ARN. This type + requires either `OAUTHBEARER_AUTH` or `IAM_OAUTHBEARER_AUTH`. + + - `OAUTHBEARER_LOGICAL_CLUSTER` -- (Self-managed Apache Kafka) The + logical cluster identifier that Lambda sends to a Confluent Cloud + broker. The `URI` field holds the identifier, not a secret ARN. This + type requires `OAUTHBEARER_AUTH`. + + - `OAUTHBEARER_IDENTITY_POOL` -- (Self-managed Apache Kafka) The + identity pool identifier that Lambda sends to a Confluent Cloud + broker. The `URI` field holds the identifier, not a secret ARN. This + type requires `OAUTHBEARER_AUTH`. + + - `IAM_AUTH` -- (Self-managed Apache Kafka) Authenticate with Identity + and Access Management (IAM). Your function's execution role signs + each connection, so there is no secret to provide. Omit the `URI` + field for this type. + + - `IAM_OAUTHBEARER_AUTH` -- (Self-managed Apache Kafka) Authenticate + with an Amazon Web Services web identity token over SASL/OAUTHBEARER. + Lambda requests the token for your function's execution role, so + there is no secret to provide. Omit the `URI` field for this type. + This type requires `OAUTHBEARER_AUDIENCE` and does not support the + other `OAUTHBEARER` types. + """ + uri: str | None = ... + """ + The value for your chosen configuration in `Type`. For example: + `"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"`. + """ + +class SourceAccessType(UnknownEnumMixin, StrEnum): + BASIC_AUTH = "BASIC_AUTH" + VPC_SUBNET = "VPC_SUBNET" + VPC_SECURITY_GROUP = "VPC_SECURITY_GROUP" + SASL_SCRAM_512_AUTH = "SASL_SCRAM_512_AUTH" + SASL_SCRAM_256_AUTH = "SASL_SCRAM_256_AUTH" + VIRTUAL_HOST = "VIRTUAL_HOST" + CLIENT_CERTIFICATE_TLS_AUTH = "CLIENT_CERTIFICATE_TLS_AUTH" + SERVER_ROOT_CA_CERTIFICATE = "SERVER_ROOT_CA_CERTIFICATE" + OAUTHBEARER_AUTH = "OAUTHBEARER_AUTH" + OAUTHBEARER_SCOPE = "OAUTHBEARER_SCOPE" + OAUTHBEARER_AUDIENCE = "OAUTHBEARER_AUDIENCE" + OAUTHBEARER_LOGICAL_CLUSTER = "OAUTHBEARER_LOGICAL_CLUSTER" + OAUTHBEARER_IDENTITY_POOL = "OAUTHBEARER_IDENTITY_POOL" + IAM_AUTH = "IAM_AUTH" + IAM_OAUTHBEARER_AUTH = "IAM_OAUTHBEARER_AUTH" + +class State(UnknownEnumMixin, StrEnum): + PENDING = "Pending" + ACTIVE = "Active" + INACTIVE = "Inactive" + FAILED = "Failed" + DEACTIVATING = "Deactivating" + DEACTIVATED = "Deactivated" + ACTIVE_NON_INVOCABLE = "ActiveNonInvocable" + DELETING = "Deleting" + +class StateReasonCode(UnknownEnumMixin, StrEnum): + IDLE = "Idle" + CREATING = "Creating" + RESTORING = "Restoring" + ENI_LIMIT_EXCEEDED = "EniLimitExceeded" + INSUFFICIENT_ROLE_PERMISSIONS = "InsufficientRolePermissions" + INVALID_CONFIGURATION = "InvalidConfiguration" + INTERNAL_ERROR = "InternalError" + SUBNET_OUT_OF_IP_ADDRESSES = "SubnetOutOfIPAddresses" + INVALID_SUBNET = "InvalidSubnet" + INVALID_SECURITY_GROUP = "InvalidSecurityGroup" + IMAGE_DELETED = "ImageDeleted" + IMAGE_ACCESS_DENIED = "ImageAccessDenied" + INVALID_IMAGE = "InvalidImage" + KMS_KEY_ACCESS_DENIED = "KMSKeyAccessDenied" + KMS_KEY_NOT_FOUND = "KMSKeyNotFound" + INVALID_STATE_KMS_KEY = "InvalidStateKMSKey" + DISABLED_KMS_KEY = "DisabledKMSKey" + EFSIO_ERROR = "EFSIOError" + EFS_MOUNT_CONNECTIVITY_ERROR = "EFSMountConnectivityError" + EFS_MOUNT_FAILURE = "EFSMountFailure" + EFS_MOUNT_TIMEOUT = "EFSMountTimeout" + INVALID_RUNTIME = "InvalidRuntime" + INVALID_ZIP_FILE_EXCEPTION = "InvalidZipFileException" + FUNCTION_ERROR = "FunctionError" + SERVICE_QUOTA_EXCEEDED_EXCEPTION = "ServiceQuotaExceededException" + VCPU_LIMIT_EXCEEDED = "VcpuLimitExceeded" + CAPACITY_PROVIDER_SCALING_LIMIT_EXCEEDED = "CapacityProviderScalingLimitExceeded" + INSUFFICIENT_CAPACITY = "InsufficientCapacity" + EC2_REQUEST_LIMIT_EXCEEDED = "EC2RequestLimitExceeded" + FUNCTION_ERROR_INIT_TIMEOUT = "FunctionError.InitTimeout" + FUNCTION_ERROR_RUNTIME_INIT_ERROR = "FunctionError.RuntimeInitError" + FUNCTION_ERROR_EXTENSION_INIT_ERROR = "FunctionError.ExtensionInitError" + FUNCTION_ERROR_INVALID_ENTRY_POINT = "FunctionError.InvalidEntryPoint" + FUNCTION_ERROR_INVALID_WORKING_DIRECTORY = "FunctionError.InvalidWorkingDirectory" + FUNCTION_ERROR_PERMISSION_DENIED = "FunctionError.PermissionDenied" + FUNCTION_ERROR_TOO_MANY_EXTENSIONS = "FunctionError.TooManyExtensions" + FUNCTION_ERROR_INIT_RESOURCE_EXHAUSTED = "FunctionError.InitResourceExhausted" + DISALLOWED_BY_VPC_ENCRYPTION_CONTROL = "DisallowedByVpcEncryptionControl" + DRAINING_DURABLE_EXECUTIONS = "DrainingDurableExecutions" + DEPENDENCY_ERROR = "DependencyError" + +@dataclass(kw_only=True) +class StepDetails(_SerdeShape): + """Details about a step operation.""" + + attempt: int = ... + """The current attempt number for this step.""" + next_attempt_timestamp: datetime | None = ... + """ + The date and time when the next attempt is scheduled, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + Only populated when the step is in a pending state. + """ + result: str | None = ... + """The JSON response payload from the step operation.""" + error: ErrorObject | None = ... + """Details about the step failure.""" + +@dataclass(kw_only=True) +class StepFailedDetails(_SerdeShape): + """Details about a step that failed.""" + + error: EventError + """Details about the step failure.""" + retry_details: RetryDetails + """Information about retry attempts for this step operation.""" + +@dataclass(kw_only=True) +class StepOptions(_SerdeShape): + """Configuration options for a step operation.""" + + next_attempt_delay_seconds: int | None = ... + """The delay in seconds before the next retry attempt.""" + +@dataclass(kw_only=True) +class StepStartedDetails(_SerdeShape): + """Details about a step that has started.""" + +@dataclass(kw_only=True) +class StepSucceededDetails(_SerdeShape): + """Details about a step that succeeded.""" + + result: EventResult + """The response payload from the successful operation.""" + retry_details: RetryDetails + """Information about retry attempts for this step operation.""" + +@dataclass(kw_only=True) +class StopDurableExecutionInput(_SerdeShape): + """Dataclass for StopDurableExecutionInput structure.""" + + durable_execution_arn: str | None = ... + """The Amazon Resource Name (ARN) of the durable execution.""" + error: ErrorObject | None = ... + """ + Optional error details explaining why the execution is being stopped. + The combined size of all error fields is limited to 1 MB. + """ + +@dataclass(kw_only=True) +class StopDurableExecutionOutput(_SerdeShape): + """Dataclass for StopDurableExecutionOutput structure.""" + + stop_timestamp: datetime + """The timestamp when the execution was stopped (ISO 8601 format).""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SubnetIPAddressLimitReachedException(ServiceError, _SerdeShape): + """ + Lambda couldn't set up VPC access for the Lambda function because one + or more configured subnets has no available IP addresses. + """ + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class SystemLogLevel(UnknownEnumMixin, StrEnum): + DEBUG = "DEBUG" + INFO = "INFO" + WARN = "WARN" + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Dataclass for TagResourceInput structure.""" + + resource: str | None = ... + """The resource's Amazon Resource Name (ARN).""" + tags: dict[str, str] | None = ... + """A list of tags to apply to the resource.""" + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TagsError(_SerdeShape): + """ + An object that contains details about an error related to retrieving + tags. + """ + + error_code: str + """The error code.""" + message: str + """The error message.""" + +@dataclass(kw_only=True) +class TargetTrackingScalingPolicy(_SerdeShape): + """ + A scaling policy for the capacity provider that automatically adjusts + capacity to maintain a target value for a specific metric. + """ + + predefined_metric_type: str + """The predefined metric type to track for scaling decisions.""" + target_value: float + """ + The target value for the metric that the scaling policy attempts to + maintain through scaling actions. + """ + +@dataclass(kw_only=True) +class TenancyConfig(_SerdeShape): + """ + Specifies the tenant isolation mode configuration for a Lambda function. + This allows you to configure specific tenant isolation strategies for + your function invocations. Tenant isolation configuration cannot be + modified after function creation. + """ + + tenant_isolation_mode: str + """ + Tenant isolation mode allows for invocation to be sent to a + corresponding execution environment dedicated to a specific tenant ID. + """ + +class TenantIsolationMode(UnknownEnumMixin, StrEnum): + PER_TENANT = "PER_TENANT" + +class ThrottleReason(UnknownEnumMixin, StrEnum): + CONCURRENT_INVOCATION_LIMIT_EXCEEDED = "ConcurrentInvocationLimitExceeded" + FUNCTION_INVOCATION_RATE_LIMIT_EXCEEDED = "FunctionInvocationRateLimitExceeded" + RESERVED_FUNCTION_CONCURRENT_INVOCATION_LIMIT_EXCEEDED = ( + "ReservedFunctionConcurrentInvocationLimitExceeded" + ) + RESERVED_FUNCTION_INVOCATION_RATE_LIMIT_EXCEEDED = ( + "ReservedFunctionInvocationRateLimitExceeded" + ) + CALLER_RATE_LIMIT_EXCEEDED = "CallerRateLimitExceeded" + CONCURRENT_SNAPSHOT_CREATE_LIMIT_EXCEEDED = "ConcurrentSnapshotCreateLimitExceeded" + +@dataclass(kw_only=True) +class TooManyRequestsException(ServiceError, _SerdeShape): + """ + The request throughput limit was exceeded. For more information, see + [Lambda + quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). + """ + + retry_after_seconds: str | None = ... + """The number of seconds the caller should wait before retrying.""" + type: str | None = ... + reason: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TraceHeader(_SerdeShape): + """Contains trace headers for the Lambda durable execution.""" + + x_amzn_trace_id: str | None = ... + """The X-Ray trace header associated with the durable execution.""" + +@dataclass(kw_only=True) +class TracingConfig(_SerdeShape): + """ + The function's + [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) + tracing configuration. To sample and record incoming requests, set + `Mode` to `Active`. + """ + + mode: str | None = ... + """The tracing mode.""" + +@dataclass(kw_only=True) +class TracingConfigResponse(_SerdeShape): + """The function's X-Ray tracing configuration.""" + + mode: str | None = ... + """The tracing mode.""" + +class TracingMode(UnknownEnumMixin, StrEnum): + ACTIVE = "Active" + PASS_THROUGH = "PassThrough" + +@dataclass(kw_only=True) +class UnsupportedMediaTypeException(ServiceError, _SerdeShape): + """The content type of the `Invoke` request body is not JSON.""" + + type: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Dataclass for UntagResourceInput structure.""" + + resource: str | None = ... + """The resource's Amazon Resource Name (ARN).""" + tag_keys: list[str] | None = ... + """A list of tag keys to remove from the resource.""" + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateAliasInput(_SerdeShape): + """Dataclass for UpdateAliasInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** - `MyFunction`. + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Partial ARN** - `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + name: str | None = ... + """The name of the alias.""" + function_version: str | None = ... + """The function version that the alias invokes.""" + description: str | None = ... + """A description of the alias.""" + routing_config: AliasRoutingConfiguration | None = ... + """ + The [routing + configuration](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing) + of the alias. + """ + revision_id: str | None = ... + """ + Only update the alias if the revision ID matches the ID that's + specified. Use this option to avoid modifying an alias that has changed + since you last read it. + """ + +@dataclass(kw_only=True) +class UpdateAliasOutput(_SerdeShape): + """ + Provides configuration information about a Lambda function + [alias](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). + """ + + alias_arn: str | None = ... + """The Amazon Resource Name (ARN) of the alias.""" + name: str | None = ... + """The name of the alias.""" + function_version: str | None = ... + """The function version that the alias invokes.""" + description: str | None = ... + """A description of the alias.""" + routing_config: AliasRoutingConfiguration | None = ... + """ + The [routing + configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) + of the alias. + """ + revision_id: str | None = ... + """A unique identifier that changes when you update the alias.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCapacityProviderInput(_SerdeShape): + """Dataclass for UpdateCapacityProviderInput structure.""" + + capacity_provider_name: str | None = ... + """The name of the capacity provider to update.""" + capacity_provider_scaling_config: CapacityProviderScalingConfig | None = ... + """The updated scaling configuration for the capacity provider.""" + propagate_tags: PropagateTags | None = ... + """ + Configuration for tag propagation to managed resources launched by the + capacity provider. + """ + telemetry_config: CapacityProviderTelemetryConfig | None = ... + """The updated telemetry configuration for the capacity provider.""" + +@dataclass(kw_only=True) +class UpdateCapacityProviderOutput(_SerdeShape): + """Dataclass for UpdateCapacityProviderOutput structure.""" + + capacity_provider: CapacityProvider + """Information about the updated capacity provider.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateCodeSigningConfigInput(_SerdeShape): + """Dataclass for UpdateCodeSigningConfigInput structure.""" + + code_signing_config_arn: str | None = ... + """The The Amazon Resource Name (ARN) of the code signing configuration.""" + description: str | None = ... + """Descriptive name for this code signing configuration.""" + allowed_publishers: AllowedPublishers | None = ... + """Signing profiles for this code signing configuration.""" + code_signing_policies: CodeSigningPolicies | None = ... + """The code signing policy.""" + +@dataclass(kw_only=True) +class UpdateCodeSigningConfigOutput(_SerdeShape): + """Dataclass for UpdateCodeSigningConfigOutput structure.""" + + code_signing_config: CodeSigningConfig + """The code signing configuration""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateEventSourceMappingInput(_SerdeShape): + """Dataclass for UpdateEventSourceMappingInput structure.""" + + uuid: str | None = ... + """The identifier of the event source mapping.""" + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `MyFunction`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. + + - **Version or Alias ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`. + + - **Partial ARN** -- `123456789012:function:MyFunction`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it's limited to 64 characters in length. + """ + enabled: bool | None = ... + """ + When true, the event source mapping is active. When false, Lambda pauses + polling and invocation. + + Default: True + """ + batch_size: int | None = ... + """ + The maximum number of records in each batch that Lambda pulls from your + stream or queue and sends to your function. Lambda passes all of the + records in the batch to the function in a single call, up to the payload + limit for synchronous invocation (6 MB). + + - **Amazon Kinesis** -- Default 100. Max 10,000. + + - **Amazon DynamoDB Streams** -- Default 100. Max 10,000. + + - **Amazon Simple Queue Service** -- Default 10. For standard queues the + max is 10,000. For FIFO queues the max is 10. + + - **Amazon Managed Streaming for Apache Kafka** -- Default 100. Max + 10,000. + + - **Self-managed Apache Kafka** -- Default 100. Max 10,000. + + - **Amazon MQ (ActiveMQ and RabbitMQ)** -- Default 100. Max 10,000. + + - **DocumentDB** -- Default 100. Max 10,000. + """ + filter_criteria: FilterCriteria | None = ... + """ + An object that defines the filter criteria that determine whether Lambda + should process an event. For more information, see [Lambda event + filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that + Lambda uses to encrypt your function's [filter + criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). + By default, Lambda does not encrypt your filter criteria object. Specify + this property to encrypt data using your own customer managed key. + """ + metrics_config: EventSourceMappingMetricsConfig | None = ... + """ + The metrics configuration for your event source. For more information, + see [Event source mapping + metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). + """ + logging_config: EventSourceMappingLoggingConfig | None = ... + """ + (Amazon MSK, and self-managed Apache Kafka only) The logging + configuration for your event source. Use this configuration object to + define the level of logs for your event source mapping. + """ + scaling_config: ScalingConfig | None = ... + """ + (Amazon SQS only) The scaling configuration for the event source. For + more information, see [Configuring maximum concurrency for Amazon SQS + event + sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + """ + maximum_batching_window_in_seconds: int | None = ... + """ + The maximum amount of time, in seconds, that Lambda spends gathering + records before invoking the function. You can configure + `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 + seconds in increments of seconds. + + For Kinesis, DynamoDB, and Amazon SQS event sources, the default + batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, + Amazon MQ, and DocumentDB event sources, the default batching window is + 500 ms. Note that because you can only change + `MaximumBatchingWindowInSeconds` in increments of seconds, you cannot + revert back to the 500 ms default batching window after you have changed + it. To restore the default batching window, you must create a new event + source mapping. + + Related setting: For Kinesis, DynamoDB, and Amazon SQS event sources, + when you set `BatchSize` to a value greater than 10, you must set + `MaximumBatchingWindowInSeconds` to at least 1. + + Not supported for Kafka event source mappings when `ConsumptionMode` is + `Queue`. + """ + parallelization_factor: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The number of batches to process + from each shard concurrently. + """ + destination_config: DestinationConfig | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A + configuration object that specifies the destination of an event after + Lambda processes it. + """ + maximum_record_age_in_seconds: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records older than the specified age. The default value is + infinite (-1). + """ + bisect_batch_on_function_error: bool | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + If the function returns an error, split the batch in two and retry. + """ + maximum_retry_attempts: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records after the specified number of retries. The default value + is infinite (-1). When set to infinite (-1), failed records are retried + until the record expires. + + For Kafka `Stream` consumption mode, the default is `-1` (infinite + retries; capped at 10 when an on-failure destination is configured). For + Kafka `Queue` consumption mode, the default is `0`, and if no on-failure + destination is configured the Kafka broker performs retries. + """ + tumbling_window_in_seconds: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The duration in seconds of a + processing window for DynamoDB and Kinesis Streams event sources. A + value of 0 seconds indicates no tumbling window. + """ + source_access_configurations: list[SourceAccessConfiguration] | None = ... + """ + An array of authentication protocols or VPC components required to + secure your event source. + """ + function_response_types: list[str] | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and + Amazon SQS) A list of current response type enums applied to the event + source mapping. + """ + amazon_managed_kafka_event_source_config: ( + AmazonManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for an Amazon Managed Streaming for + Apache Kafka (Amazon MSK) event source. + """ + self_managed_kafka_event_source_config: ( + SelfManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for a self-managed Apache Kafka event + source. + """ + document_db_event_source_config: DocumentDBEventSourceConfig | None = ... + """Specific configuration settings for a DocumentDB event source.""" + provisioned_poller_config: ProvisionedPollerConfig | None = ... + """ + (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The + provisioned mode configuration for the event source. For more + information, see [provisioned + mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). + """ + +@dataclass(kw_only=True) +class UpdateEventSourceMappingOutput(_SerdeShape): + """ + A mapping between an Amazon Web Services resource and a Lambda function. + For details, see CreateEventSourceMapping. + """ + + uuid: str | None = ... + """The identifier of the event source mapping.""" + starting_position: str | None = ... + """ + The position in a stream from which to start reading. Required for + Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` + is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon + MSK, and self-managed Apache Kafka. + """ + starting_position_timestamp: datetime | None = ... + """ + With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to + start reading. `StartingPositionTimestamp` cannot be in the future. + """ + batch_size: int | None = ... + """ + The maximum number of records in each batch that Lambda pulls from your + stream or queue and sends to your function. Lambda passes all of the + records in the batch to the function in a single call, up to the payload + limit for synchronous invocation (6 MB). + + Default value: Varies by service. For Amazon SQS, the default is 10. For + all other services, the default is 100. + + Related setting: When you set `BatchSize` to a value greater than 10, + you must set `MaximumBatchingWindowInSeconds` to at least 1. + """ + maximum_batching_window_in_seconds: int | None = ... + """ + The maximum amount of time, in seconds, that Lambda spends gathering + records before invoking the function. You can configure + `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 + seconds in increments of seconds. + + For streams and Amazon SQS event sources, the default batching window is + 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and + DocumentDB event sources, the default batching window is 500 ms. Note + that because you can only change `MaximumBatchingWindowInSeconds` in + increments of seconds, you cannot revert back to the 500 ms default + batching window after you have changed it. To restore the default + batching window, you must create a new event source mapping. + + Related setting: For streams and Amazon SQS event sources, when you set + `BatchSize` to a value greater than 10, you must set + `MaximumBatchingWindowInSeconds` to at least 1. + """ + parallelization_factor: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The number of batches to process + concurrently from each shard. The default value is 1. + """ + event_source_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source.""" + filter_criteria: FilterCriteria | None = ... + """ + An object that defines the filter criteria that determine whether Lambda + should process an event. For more information, see [Lambda event + filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). + + If filter criteria is encrypted, this field shows up as `null` in the + response of ListEventSourceMapping API calls. You can view this field in + plaintext in the response of GetEventSourceMapping and + DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for + the correct KMS key. + """ + filter_criteria_error: FilterCriteriaError | None = ... + """ + An object that contains details about an error related to filter + criteria encryption. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that + Lambda uses to encrypt your function's [filter + criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). + """ + metrics_config: EventSourceMappingMetricsConfig | None = ... + """ + The metrics configuration for your event source. For more information, + see [Event source mapping + metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). + """ + logging_config: EventSourceMappingLoggingConfig | None = ... + """ + (Amazon MSK, and self-managed Apache Kafka only) The logging + configuration for your event source. For more information, see [Event + source mapping + logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). + """ + scaling_config: ScalingConfig | None = ... + """ + (Amazon SQS only) The scaling configuration for the event source. For + more information, see [Configuring maximum concurrency for Amazon SQS + event + sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). + """ + function_arn: str | None = ... + """The ARN of the Lambda function.""" + last_modified: datetime | None = ... + """ + The date that the event source mapping was last updated or that its + state changed. + """ + last_processing_result: str | None = ... + """The result of the event source mapping's last processing attempt.""" + state: str | None = ... + """ + The state of the event source mapping. It can be one of the following: + `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, + or `Deleting`. + """ + state_transition_reason: str | None = ... + """ + Indicates whether a user or Lambda made the last change to the event + source mapping. + """ + destination_config: DestinationConfig | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A + configuration object that specifies the destination of an event after + Lambda processes it. + """ + topics: list[str] | None = ... + """The name of the Kafka topic.""" + queues: list[str] | None = ... + """ + (Amazon MQ) The name of the Amazon MQ broker destination queue to + consume. + """ + source_access_configurations: list[SourceAccessConfiguration] | None = ... + """ + An array of the authentication protocol, VPC components, or virtual host + to secure and define your event source. + """ + self_managed_event_source: SelfManagedEventSource | None = ... + """The self-managed Apache Kafka cluster for your event source.""" + maximum_record_age_in_seconds: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records older than the specified age. The default value is -1, + which sets the maximum age to infinite. When the value is set to + infinite, Lambda never discards old records. + + Note: + The minimum valid value for maximum record age is 60s. Although values + less than 60 and greater than -1 fall within the parameter's absolute + range, they are not allowed + """ + bisect_batch_on_function_error: bool | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + If the function returns an error, split the batch in two and retry. The + default value is false. + """ + maximum_retry_attempts: int | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) + Discard records after the specified number of retries. The default value + is -1, which sets the maximum number of retries to infinite. When + MaximumRetryAttempts is infinite, Lambda retries failed records until + the record expires in the event source. + """ + tumbling_window_in_seconds: int | None = ... + """ + (Kinesis and DynamoDB Streams only) The duration in seconds of a + processing window for DynamoDB and Kinesis Streams event sources. A + value of 0 seconds indicates no tumbling window. + """ + function_response_types: list[str] | None = ... + """ + (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and + Amazon SQS) A list of current response type enums applied to the event + source mapping. + """ + amazon_managed_kafka_event_source_config: ( + AmazonManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for an Amazon Managed Streaming for + Apache Kafka (Amazon MSK) event source. + """ + self_managed_kafka_event_source_config: ( + SelfManagedKafkaEventSourceConfig | None + ) = ... + """ + Specific configuration settings for a self-managed Apache Kafka event + source. + """ + document_db_event_source_config: DocumentDBEventSourceConfig | None = ... + """Specific configuration settings for a DocumentDB event source.""" + event_source_mapping_arn: str | None = ... + """The Amazon Resource Name (ARN) of the event source mapping.""" + provisioned_poller_config: ProvisionedPollerConfig | None = ... + """ + (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The + provisioned mode configuration for the event source. For more + information, see [provisioned + mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFunctionCodeInput(_SerdeShape): + """Dataclass for UpdateFunctionCodeInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + zip_file: bytes | None = ... + """ + The base64-encoded contents of the deployment package. Amazon Web + Services SDK and CLI clients handle the encoding for you. Use only with + a function defined with a .zip file archive deployment package. + """ + s3_bucket: str | None = ... + """ + An Amazon S3 bucket in the same Amazon Web Services Region as your + function. The bucket can be in a different Amazon Web Services account. + Use only with a function defined with a .zip file archive deployment + package. + """ + s3_key: str | None = ... + """ + The Amazon S3 key of the deployment package. Use only with a function + defined with a .zip file archive deployment package. + """ + s3_object_version: str | None = ... + """ + For versioned objects, the version of the deployment package object to + use. + """ + s3_object_storage_mode: str | None = ... + """ + Specifies how the deployment package is stored. Valid values: + + - `COPY` (default) -- Uploads a copy of your deployment package to + Lambda. + + - `REFERENCE` -- Lambda references the deployment package from the + specified Amazon S3 bucket. + """ + image_uri: str | None = ... + """ + URI of a container image in the Amazon ECR registry. Do not use for a + function defined with a .zip file archive. + """ + architectures: list[str] | None = ... + """ + The instruction set architecture that the function supports. Enter a + string array with one of the valid values (arm64 or x86_64). The default + value is `x86_64`. + """ + publish: bool = ... + """ + Set to true to publish a new version of the function after updating the + code. This has the same effect as calling PublishVersion separately. + """ + publish_to: str | None = ... + """Specifies where to publish the function version or configuration.""" + dry_run: bool = ... + """ + Set to true to validate the request parameters and access permissions + without modifying the function code. + """ + revision_id: str | None = ... + """ + Update the function only if the revision ID matches the ID that's + specified. Use this option to avoid modifying a function that has + changed since you last read it. + """ + source_kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt your function's .zip deployment package. If you don't + provide a customer managed key, Lambda uses an Amazon Web Services + managed key. + """ + +@dataclass(kw_only=True) +class UpdateFunctionCodeOutput(_SerdeShape): + """Details about a function's configuration.""" + + function_name: str | None = ... + """The name of the function.""" + function_arn: str | None = ... + """The function's Amazon Resource Name (ARN).""" + runtime: str | None = ... + """ + The identifier of the function's + [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). + Runtime is required if the deployment package is a .zip file archive. + Specifying a runtime results in an error if you're deploying a function + using a container image. + + The following list includes deprecated runtimes. Lambda blocks creating + new functions and updating existing functions shortly after each runtime + is deprecated. For more information, see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + role: str | None = ... + """The function's execution role.""" + handler: str | None = ... + """The function that Lambda calls to begin running your function.""" + code_size: int = ... + """The size of the function's deployment package, in bytes.""" + description: str | None = ... + """The function's description.""" + timeout: int | None = ... + """ + The amount of time in seconds that Lambda allows a function to run + before stopping it. + """ + memory_size: int | None = ... + """The amount of memory available to the function at runtime.""" + last_modified: str | None = ... + """ + The date and time that the function was last updated, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + code_sha256: str | None = ... + """The SHA256 hash of the function's deployment package.""" + version: str | None = ... + """The version of the Lambda function.""" + vpc_config: VpcConfigResponse | None = ... + """The function's networking configuration.""" + dead_letter_config: DeadLetterConfig | None = ... + """The function's dead letter queue.""" + environment: EnvironmentResponse | None = ... + """ + The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). + Omitted from CloudTrail logs. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt the following resources: + + - The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). + + - The function's [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) + snapshots. + + - When used with `SourceKMSKeyArn`, the unzipped version of the .zip + deployment package that's used for function invocations. For more + information, see [Specifying a customer managed key for + Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). + + - The optimized version of the container image that's used for function + invocations. Note that this is not the same key that's used to + protect your container image in the Amazon Elastic Container Registry + (Amazon ECR). For more information, see [Function + lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). + + If you don't provide a customer managed key, Lambda uses an [Amazon Web + Services owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) + or an [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). + """ + tracing_config: TracingConfigResponse | None = ... + """The function's X-Ray tracing configuration.""" + master_arn: str | None = ... + """For Lambda@Edge functions, the ARN of the main function.""" + revision_id: str | None = ... + """The latest updated revision of the function or alias.""" + layers: list[Layer] | None = ... + """ + The function's + [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + state: str | None = ... + """ + The current state of the function. When the state is `Inactive`, you can + reactivate the function by invoking it. + """ + state_reason: str | None = ... + """The reason for the function's current state.""" + state_reason_code: str | None = ... + """ + The reason code for the function's current state. When the code is + `Creating`, you can't invoke or modify the function. + """ + last_update_status: str | None = ... + """ + The status of the last update that was performed on the function. This + is first set to `Successful` after function creation completes. + """ + last_update_status_reason: str | None = ... + """The reason for the last update that was performed on the function.""" + last_update_status_reason_code: str | None = ... + """The reason code for the last update that was performed on the function.""" + file_system_configs: list[FileSystemConfig] | None = ... + """ + Connection settings for an [Amazon EFS file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) + or an [Amazon S3 file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). + """ + signing_profile_version_arn: str | None = ... + """The ARN of the signing profile version.""" + signing_job_arn: str | None = ... + """The ARN of the signing job.""" + package_type: str | None = ... + """ + The type of deployment package. Set to `Image` for container image and + set `Zip` for .zip file archive. + """ + image_config_response: ImageConfigResponse | None = ... + """The function's image configuration values.""" + architectures: list[str] | None = ... + """ + The instruction set architecture that the function supports. + Architecture is a string array with one of the valid values. The default + architecture value is `x86_64`. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The size of the function's `/tmp` directory in MB. The default value is + 512, but can be any whole number between 512 and 10,240 MB. For more + information, see [Configuring ephemeral storage + (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). + """ + snap_start: SnapStartResponse | None = ... + """ + Set `ApplyOn` to `PublishedVersions` to create a snapshot of the + initialized execution environment when you publish a function version. + For more information, see [Improving startup performance with Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). + """ + runtime_version_config: RuntimeVersionConfig | None = ... + """The ARN of the runtime and any errors that occured.""" + logging_config: LoggingConfig | None = ... + """The function's Amazon CloudWatch Logs configuration settings.""" + tenancy_config: TenancyConfig | None = ... + """ + The function's tenant isolation configuration settings. Determines + whether the Lambda function runs on a shared or dedicated infrastructure + per unique tenant. + """ + capacity_provider_config: CapacityProviderConfig | None = ... + """ + Configuration for the capacity provider that manages compute resources + for Lambda functions. + """ + config_sha256: str | None = ... + """The SHA256 hash of the function configuration.""" + durable_config: DurableConfig | None = ... + """ + The function's durable execution configuration settings, if the + function is configured for durability. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFunctionConfigurationInput(_SerdeShape): + """Dataclass for UpdateFunctionConfigurationInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + role: str | None = ... + """The Amazon Resource Name (ARN) of the function's execution role.""" + handler: str | None = ... + """ + The name of the method within your code that Lambda calls to run your + function. Handler is required if the deployment package is a .zip file + archive. The format includes the file name. It can also include + namespaces and other qualifiers, depending on the runtime. For more + information, see [Lambda programming + model](https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html). + """ + description: str | None = ... + """A description of the function.""" + timeout: int | None = ... + """ + The amount of time (in seconds) that Lambda allows a function to run + before stopping it. The default is 3 seconds, and the maximum allowed + value is 900 seconds. For functions using Lambda Managed Instances, + asynchronous invocations and event source mapping invocations (except + Amazon MQ and Amazon DocumentDB) support a maximum allowed value of + 5,400 seconds (90 minutes). For more information, see [Lambda execution + environment](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). + """ + memory_size: int | None = ... + """ + The amount of [memory available to the + function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) + at runtime. Increasing the function memory also increases its CPU + allocation. The default value is 128 MB. The value can be any multiple + of 1 MB. + """ + vpc_config: VpcConfig | None = ... + """ + For network connectivity to Amazon Web Services resources in a VPC, + specify a list of security groups and subnets in the VPC. When you + connect a function to a VPC, it can access resources and the internet + only through that VPC. For more information, see [Configuring a Lambda + function to access resources in a + VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). + """ + environment: Environment | None = ... + """ + Environment variables that are accessible from function code during + execution. + """ + runtime: str | None = ... + """ + The identifier of the function's + [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). + Runtime is required if the deployment package is a .zip file archive. + Specifying a runtime results in an error if you're deploying a function + using a container image. + + The following list includes deprecated runtimes. Lambda blocks creating + new functions and updating existing functions shortly after each runtime + is deprecated. For more information, see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + dead_letter_config: DeadLetterConfig | None = ... + """ + A dead-letter queue configuration that specifies the queue or topic + where Lambda sends asynchronous events when they fail processing. For + more information, see [Dead-letter + queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq). + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt the following resources: + + - The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). + + - The function's [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) + snapshots. + + - When used with `SourceKMSKeyArn`, the unzipped version of the .zip + deployment package that's used for function invocations. For more + information, see [Specifying a customer managed key for + Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). + + - The optimized version of the container image that's used for function + invocations. Note that this is not the same key that's used to + protect your container image in the Amazon Elastic Container Registry + (Amazon ECR). For more information, see [Function + lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). + + If you don't provide a customer managed key, Lambda uses an [Amazon Web + Services owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) + or an [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). + """ + tracing_config: TracingConfig | None = ... + """ + Set `Mode` to `Active` to sample and trace a subset of incoming requests + with + [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html). + """ + revision_id: str | None = ... + """ + Update the function only if the revision ID matches the ID that's + specified. Use this option to avoid modifying a function that has + changed since you last read it. + """ + layers: list[str] | None = ... + """ + A list of [function + layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) + to add to the function's execution environment. Specify each layer by + its ARN, including the version. + """ + file_system_configs: list[FileSystemConfig] | None = ... + """ + Connection settings for an Amazon EFS file system or an Amazon S3 Files + file system. + """ + image_config: ImageConfig | None = ... + """ + [Container image configuration + values](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) + that override the values in the container image Docker file. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The size of the function's `/tmp` directory in MB. The default value is + 512, but can be any whole number between 512 and 10,240 MB. For more + information, see [Configuring ephemeral storage + (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). + """ + snap_start: SnapStart | None = ... + """ + The function's + [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) + setting. + """ + logging_config: LoggingConfig | None = ... + """The function's Amazon CloudWatch Logs configuration settings.""" + capacity_provider_config: CapacityProviderConfig | None = ... + """ + Configuration for the capacity provider that manages compute resources + for Lambda functions. + """ + durable_config: DurableConfig | None = ... + """ + Configuration settings for [durable + functions](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html), + including execution timeout, retention period for execution history, and + an optional ARN of the Key Management Service (KMS) customer managed key + that is used to encrypt your durable execution's payload data, + including input, output, and error payloads. + """ + +@dataclass(kw_only=True) +class UpdateFunctionConfigurationOutput(_SerdeShape): + """Details about a function's configuration.""" + + function_name: str | None = ... + """The name of the function.""" + function_arn: str | None = ... + """The function's Amazon Resource Name (ARN).""" + runtime: str | None = ... + """ + The identifier of the function's + [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). + Runtime is required if the deployment package is a .zip file archive. + Specifying a runtime results in an error if you're deploying a function + using a container image. + + The following list includes deprecated runtimes. Lambda blocks creating + new functions and updating existing functions shortly after each runtime + is deprecated. For more information, see [Runtime use after + deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). + + For a list of all currently supported runtimes, see [Supported + runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). + """ + role: str | None = ... + """The function's execution role.""" + handler: str | None = ... + """The function that Lambda calls to begin running your function.""" + code_size: int = ... + """The size of the function's deployment package, in bytes.""" + description: str | None = ... + """The function's description.""" + timeout: int | None = ... + """ + The amount of time in seconds that Lambda allows a function to run + before stopping it. + """ + memory_size: int | None = ... + """The amount of memory available to the function at runtime.""" + last_modified: str | None = ... + """ + The date and time that the function was last updated, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + code_sha256: str | None = ... + """The SHA256 hash of the function's deployment package.""" + version: str | None = ... + """The version of the Lambda function.""" + vpc_config: VpcConfigResponse | None = ... + """The function's networking configuration.""" + dead_letter_config: DeadLetterConfig | None = ... + """The function's dead letter queue.""" + environment: EnvironmentResponse | None = ... + """ + The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). + Omitted from CloudTrail logs. + """ + kms_key_arn: str | None = ... + """ + The ARN of the Key Management Service (KMS) customer managed key that's + used to encrypt the following resources: + + - The function's [environment + variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). + + - The function's [Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) + snapshots. + + - When used with `SourceKMSKeyArn`, the unzipped version of the .zip + deployment package that's used for function invocations. For more + information, see [Specifying a customer managed key for + Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). + + - The optimized version of the container image that's used for function + invocations. Note that this is not the same key that's used to + protect your container image in the Amazon Elastic Container Registry + (Amazon ECR). For more information, see [Function + lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). + + If you don't provide a customer managed key, Lambda uses an [Amazon Web + Services owned + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) + or an [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). + """ + tracing_config: TracingConfigResponse | None = ... + """The function's X-Ray tracing configuration.""" + master_arn: str | None = ... + """For Lambda@Edge functions, the ARN of the main function.""" + revision_id: str | None = ... + """The latest updated revision of the function or alias.""" + layers: list[Layer] | None = ... + """ + The function's + [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). + """ + state: str | None = ... + """ + The current state of the function. When the state is `Inactive`, you can + reactivate the function by invoking it. + """ + state_reason: str | None = ... + """The reason for the function's current state.""" + state_reason_code: str | None = ... + """ + The reason code for the function's current state. When the code is + `Creating`, you can't invoke or modify the function. + """ + last_update_status: str | None = ... + """ + The status of the last update that was performed on the function. This + is first set to `Successful` after function creation completes. + """ + last_update_status_reason: str | None = ... + """The reason for the last update that was performed on the function.""" + last_update_status_reason_code: str | None = ... + """The reason code for the last update that was performed on the function.""" + file_system_configs: list[FileSystemConfig] | None = ... + """ + Connection settings for an [Amazon EFS file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) + or an [Amazon S3 file + system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). + """ + signing_profile_version_arn: str | None = ... + """The ARN of the signing profile version.""" + signing_job_arn: str | None = ... + """The ARN of the signing job.""" + package_type: str | None = ... + """ + The type of deployment package. Set to `Image` for container image and + set `Zip` for .zip file archive. + """ + image_config_response: ImageConfigResponse | None = ... + """The function's image configuration values.""" + architectures: list[str] | None = ... + """ + The instruction set architecture that the function supports. + Architecture is a string array with one of the valid values. The default + architecture value is `x86_64`. + """ + ephemeral_storage: EphemeralStorage | None = ... + """ + The size of the function's `/tmp` directory in MB. The default value is + 512, but can be any whole number between 512 and 10,240 MB. For more + information, see [Configuring ephemeral storage + (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). + """ + snap_start: SnapStartResponse | None = ... + """ + Set `ApplyOn` to `PublishedVersions` to create a snapshot of the + initialized execution environment when you publish a function version. + For more information, see [Improving startup performance with Lambda + SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). + """ + runtime_version_config: RuntimeVersionConfig | None = ... + """The ARN of the runtime and any errors that occured.""" + logging_config: LoggingConfig | None = ... + """The function's Amazon CloudWatch Logs configuration settings.""" + tenancy_config: TenancyConfig | None = ... + """ + The function's tenant isolation configuration settings. Determines + whether the Lambda function runs on a shared or dedicated infrastructure + per unique tenant. + """ + capacity_provider_config: CapacityProviderConfig | None = ... + """ + Configuration for the capacity provider that manages compute resources + for Lambda functions. + """ + config_sha256: str | None = ... + """The SHA256 hash of the function configuration.""" + durable_config: DurableConfig | None = ... + """ + The function's durable execution configuration settings, if the + function is configured for durability. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFunctionEventInvokeConfigInput(_SerdeShape): + """Dataclass for UpdateFunctionEventInvokeConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function, version, or alias. + + **Name formats** + + - **Function name** - `my-function` (name-only), `my-function:v1` (with + alias). + + - **Function ARN** - + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** - `123456789012:function:my-function`. + + You can append a version number or alias to any of the formats. The + length constraint applies only to the full ARN. If you specify only the + function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """A version number or alias name.""" + maximum_retry_attempts: int | None = ... + """The maximum number of times to retry when the function returns an error.""" + maximum_event_age_in_seconds: int | None = ... + """ + The maximum age of a request that Lambda sends to a function for + processing. + """ + destination_config: DestinationConfig | None = ... + """ + A destination for events after they have been sent to a function for + processing. + + **Destinations** + + - **Function** - The Amazon Resource Name (ARN) of a Lambda function. + + - **Queue** - The ARN of a standard SQS queue. + + - **Bucket** - The ARN of an Amazon S3 bucket. + + - **Topic** - The ARN of a standard SNS topic. + + - **Event Bus** - The ARN of an Amazon EventBridge event bus. + + Note: + S3 buckets are supported only for on-failure destinations. To retain + records of successful invocations, use another destination type. + """ + +@dataclass(kw_only=True) +class UpdateFunctionEventInvokeConfigOutput(_SerdeShape): + """Dataclass for UpdateFunctionEventInvokeConfigOutput structure.""" + + last_modified: datetime | None = ... + """The date and time that the configuration was last updated.""" + function_arn: str | None = ... + """The Amazon Resource Name (ARN) of the function.""" + maximum_retry_attempts: int | None = ... + """The maximum number of times to retry when the function returns an error.""" + maximum_event_age_in_seconds: int | None = ... + """ + The maximum age of a request that Lambda sends to a function for + processing. + """ + destination_config: DestinationConfig | None = ... + """ + A destination for events after they have been sent to a function for + processing. + + **Destinations** + + - **Function** - The Amazon Resource Name (ARN) of a Lambda function. + + - **Queue** - The ARN of a standard SQS queue. + + - **Bucket** - The ARN of an Amazon S3 bucket. + + - **Topic** - The ARN of a standard SNS topic. + + - **Event Bus** - The ARN of an Amazon EventBridge event bus. + + Note: + S3 buckets are supported only for on-failure destinations. To retain + records of successful invocations, use another destination type. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateFunctionUrlConfigInput(_SerdeShape): + """Dataclass for UpdateFunctionUrlConfigInput structure.""" + + function_name: str | None = ... + """ + The name or ARN of the Lambda function. + + **Name formats** + + - **Function name** -- `my-function`. + + - **Function ARN** -- + `arn:aws:lambda:us-west-2:123456789012:function:my-function`. + + - **Partial ARN** -- `123456789012:function:my-function`. + + The length constraint applies only to the full ARN. If you specify only + the function name, it is limited to 64 characters in length. + """ + qualifier: str | None = ... + """The alias name.""" + auth_type: str | None = ... + """ + The type of authentication that your function URL uses. Set to `AWS_IAM` + if you want to restrict access to authenticated users only. Set to + `NONE` if you want to bypass IAM authentication to create a public + endpoint. For more information, see [Control access to Lambda function + URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). + """ + cors: Cors | None = ... + """ + The [cross-origin resource sharing + (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings + for your function URL. + """ + invoke_mode: str | None = ... + """ + Use one of the following options: + + - `BUFFERED` -- This is the default option. Lambda invokes your function + using the `Invoke` API operation. Invocation results are available + when the payload is complete. The maximum payload size is 6 MB. + + - `RESPONSE_STREAM` -- Your function streams payload results as they + become available. Lambda invokes your function using the + `InvokeWithResponseStream` API operation. The maximum response payload + size is 200 MB. + """ + +@dataclass(kw_only=True) +class UpdateFunctionUrlConfigOutput(_SerdeShape): + """Dataclass for UpdateFunctionUrlConfigOutput structure.""" + + function_url: str + """The HTTP URL endpoint for your function.""" + function_arn: str + """The Amazon Resource Name (ARN) of your function.""" + auth_type: str + """ + The type of authentication that your function URL uses. Set to `AWS_IAM` + if you want to restrict access to authenticated users only. Set to + `NONE` if you want to bypass IAM authentication to create a public + endpoint. For more information, see [Control access to Lambda function + URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). + """ + cors: Cors | None = ... + """ + The [cross-origin resource sharing + (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings + for your function URL. + """ + creation_time: str + """ + When the function URL was created, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + last_modified_time: str + """ + When the function URL configuration was last updated, in [ISO-8601 + format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). + """ + invoke_mode: str | None = ... + """ + Use one of the following options: + + - `BUFFERED` -- This is the default option. Lambda invokes your function + using the `Invoke` API operation. Invocation results are available + when the payload is complete. The maximum payload size is 6 MB. + + - `RESPONSE_STREAM` -- Your function streams payload results as they + become available. Lambda invokes your function using the + `InvokeWithResponseStream` API operation. The maximum response payload + size is 200 MB. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class UpdateRuntimeOn(UnknownEnumMixin, StrEnum): + AUTO = "Auto" + MANUAL = "Manual" + FUNCTION_UPDATE = "FunctionUpdate" + +@dataclass(kw_only=True) +class VpcConfig(_SerdeShape): + """ + The VPC security groups and subnets that are attached to a Lambda + function. For more information, see [Configuring a Lambda function to + access resources in a + VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). + """ + + subnet_ids: list[str] | None = ... + """A list of VPC subnet IDs.""" + security_group_ids: list[str] | None = ... + """A list of VPC security group IDs.""" + ipv6_allowed_for_dual_stack: bool | None = ... + """ + Allows outbound IPv6 traffic on VPC functions that are connected to + dual-stack subnets. + """ + +@dataclass(kw_only=True) +class VpcConfigResponse(_SerdeShape): + """ + The VPC security groups and subnets that are attached to a Lambda + function. + """ + + subnet_ids: list[str] | None = ... + """A list of VPC subnet IDs.""" + security_group_ids: list[str] | None = ... + """A list of VPC security group IDs.""" + vpc_id: str | None = ... + """The ID of the VPC.""" + ipv6_allowed_for_dual_stack: bool | None = ... + """ + Allows outbound IPv6 traffic on VPC functions that are connected to + dual-stack subnets. + """ + +@dataclass(kw_only=True) +class WaitCancelledDetails(_SerdeShape): + """Details about a wait operation that was cancelled.""" + + error: EventError | None = ... + """Details about why the wait operation was cancelled.""" + +@dataclass(kw_only=True) +class WaitDetails(_SerdeShape): + """Details about a wait operation.""" + + scheduled_end_timestamp: datetime | None = ... + """ + The date and time when the wait operation is scheduled to complete, in + [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime) + (YYYY-MM-DDThh:mm:ss.sTZD). + """ + +@dataclass(kw_only=True) +class WaitOptions(_SerdeShape): + """Specifies how long to pause the durable execution.""" + + wait_seconds: int | None = ... + """The duration to wait, in seconds.""" + +@dataclass(kw_only=True) +class WaitStartedDetails(_SerdeShape): + """Details about a wait operation that has started.""" + + duration: int + """The duration to wait, in seconds.""" + scheduled_end_timestamp: datetime + """ + The date and time when the wait operation is scheduled to complete, in + [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime) + (YYYY-MM-DDThh:mm:ss.sTZD). + """ + +@dataclass(kw_only=True) +class WaitSucceededDetails(_SerdeShape): + """Details about a wait operation that succeeded.""" + + duration: int | None = ... + """The wait duration, in seconds.""" diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas.py index cad57c34c..a647fb6c8 100644 --- a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas.py +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas.py @@ -1,9505 +1,746 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.lambda" -_L = "Long" -_s = "smithy.api#default" -_I = "Integer" -_UCE = "UnreservedConcurrentExecutions" -_AL = "AccountLimit" -_TCS = "TotalCodeSize" -_CSU = "CodeSizeUnzipped" -_CSZ = "CodeSizeZipped" -_CE = "ConcurrentExecutions" -_AU = "AccountUsage" -_FC = "FunctionCount" -_A = "Action" -_AV = "AdditionalVersion" -_W = "Weight" -_AVW = "AdditionalVersionWeights" -_k = "key" -_v = "value" -_LPAA = "LayerPermissionAllowedAction" -_LN = "LayerName" -_OI = "OrganizationId" -_LPAP = "LayerPermissionAllowedPrincipal" -_S = "String" -_SI = "StatementId" -_LVN = "LayerVersionNumber" -_ALVPI = "AddLayerVersionPermissionInput" -_sSI = "smithy.synthetic#originalShapeId" -_cALVPR = "com.amazonaws.lambda#AddLayerVersionPermissionRequest" -_sm = "smithy.api#input" -_smi = "smithy.api#required" -_sL = "smithy.api#httpLabel" -_VN = "VersionNumber" -_P = "Principal" -_RI = "RevisionId" -_sQ = "smithy.api#httpQuery" -_ALVPO = "AddLayerVersionPermissionOutput" -_cALVPRo = "com.amazonaws.lambda#AddLayerVersionPermissionResponse" -_smit = "smithy.api#output" -_St = "Statement" -_IPVE = "InvalidParameterValueException" -_smith = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_T = "Type" -_m = "message" -_PLEE = "PolicyLengthExceededException" -_PFE = "PreconditionFailedException" -_RCE = "ResourceConflictException" -_RNFE = "ResourceNotFoundException" -_M = "Message" -_SE = "ServiceException" -_se = "server" -_TR = "ThrottleReason" -_CILE = "ConcurrentInvocationLimitExceeded" -_sV = "smithy.api#enumValue" -_FIRLE = "FunctionInvocationRateLimitExceeded" -_RFCILE = "ReservedFunctionConcurrentInvocationLimitExceeded" -_RFIRLE = "ReservedFunctionInvocationRateLimitExceeded" -_CRLE = "CallerRateLimitExceeded" -_CSCLE = "ConcurrentSnapshotCreateLimitExceeded" -_TMRE = "TooManyRequestsException" -_rAS = "retryAfterSeconds" -_sH = "smithy.api#httpHeader" -_RA = "Retry-After" -_R = "Reason" -_ALVP = "AddLayerVersionPermission" -_smithy = "smithy.api#http" -_EST = "EventSourceToken" -_NFN = "NamespacedFunctionName" -_FUAT = "FunctionUrlAuthType" -_NONE = "NONE" -_AI = "AWS_IAM" -_IVFU = "InvokedViaFunctionUrl" -_POID = "PrincipalOrgID" -_NLPOAQ = "NumericLatestPublishedOrAliasQualifier" -_SO = "SourceOwner" -_Ar = "Arn" -_API = "AddPermissionInput" -_cAPR = "com.amazonaws.lambda#AddPermissionRequest" -_FN = "FunctionName" -_SA = "SourceArn" -_SAo = "SourceAccount" -_Q = "Qualifier" -_APO = "AddPermissionOutput" -_cAPRo = "com.amazonaws.lambda#AddPermissionResponse" -_PPE = "PublicPolicyException" -_AP = "AddPermission" -_Al = "Alias" -_FA = "FunctionArn" -_D = "Description" -_V = "Version" -_ARC = "AliasRoutingConfiguration" -_AC = "AliasConfiguration" -_AA = "AliasArn" -_N = "Name" -_FV = "FunctionVersion" -_RC = "RoutingConfig" -_ALEE = "AliasLimitExceededException" -_ALl = "AliasList" -_me = "member" -_ACl = "AllowCredentials" -_SPVA = "SigningProfileVersionArns" -_APl = "AllowedPublishers" -_Me = "Method" -_AML = "AllowMethodsList" -_O = "Origin" -_AOL = "AllowOriginsList" -_URI = "URI" -_KSRAT = "KafkaSchemaRegistryAuthType" -_BA = "BASIC_AUTH" -_CCTA = "CLIENT_CERTIFICATE_TLS_AUTH" -_SRCC = "SERVER_ROOT_CA_CERTIFICATE" -_OA = "OAUTHBEARER_AUTH" -_KSRAC = "KafkaSchemaRegistryAccessConfig" -_KSRACL = "KafkaSchemaRegistryAccessConfigList" -_SRERF = "SchemaRegistryEventRecordFormat" -_JSON = "JSON" -_SOURCE = "SOURCE" -_SRU = "SchemaRegistryUri" -_KSVA = "KafkaSchemaValidationAttribute" -_KEY = "KEY" -_VALUE = "VALUE" -_KSVC = "KafkaSchemaValidationConfig" -_At = "Attribute" -_KSVCL = "KafkaSchemaValidationConfigList" -_KSRC = "KafkaSchemaRegistryConfig" -_SRURI = "SchemaRegistryURI" -_ERF = "EventRecordFormat" -_ACc = "AccessConfigs" -_SVC = "SchemaValidationConfigs" -_AMKESC = "AmazonManagedKafkaEventSourceConfig" -_CGI = "ConsumerGroupId" -_SRC = "SchemaRegistryConfig" -_ALL = "ApplicationLogLevel" -_Tr = "Trace" -_TRACE = "TRACE" -_De = "Debug" -_DEBUG = "DEBUG" -_In = "Info" -_INFO = "INFO" -_Wa = "Warn" -_WARN = "WARN" -_E = "Error" -_ERROR = "ERROR" -_F = "Fatal" -_FATAL = "FATAL" -_Arc = "Architecture" -_x = "x86_64" -_a = "arm64" -_ALr = "ArchitecturesList" -_ACt = "AttemptCount" -_CPN = "CapacityProviderName" -_CPLEE = "CapacityProviderLimitExceededException" -_CPMVCC = "CapacityProviderMaxVCpuCount" -_CPSM = "CapacityProviderScalingMode" -_Au = "Auto" -_Ma = "Manual" -_CPPMT = "CapacityProviderPredefinedMetricType" -_LCPACPUU = "LambdaCapacityProviderAverageCPUUtilization" -_MTV = "MetricTargetValue" -_TTSP = "TargetTrackingScalingPolicy" -_PMT = "PredefinedMetricType" -_TV = "TargetValue" -_CPSPL = "CapacityProviderScalingPoliciesList" -_CPSC = "CapacityProviderScalingConfig" -_MVCC = "MaxVCpuCount" -_SM = "ScalingMode" -_SP = "ScalingPolicies" -_IT = "InstanceType" -_ITS = "InstanceTypeSet" -_IR = "InstanceRequirements" -_Arch = "Architectures" -_AIT = "AllowedInstanceTypes" -_EIT = "ExcludedInstanceTypes" -_KMSKANE = "KMSKeyArnNonEmpty" -_RAo = "RoleArn" -_CPPC = "CapacityProviderPermissionsConfig" -_CPORA = "CapacityProviderOperatorRoleArn" -_TK = "TagKey" -_TVa = "TagValue" -_Ta = "Tags" -_PTM = "PropagateTagsMode" -_No = "None" -_Ex = "Explicit" -_PT = "PropagateTags" -_Mo = "Mode" -_ET = "ExplicitTags" -_LG = "LogGroup" -_SLL = "SystemLogLevel" -_CPLC = "CapacityProviderLoggingConfig" -_CPTC = "CapacityProviderTelemetryConfig" -_LC = "LoggingConfig" -_SGI = "SecurityGroupId" -_CPSGI = "CapacityProviderSecurityGroupIds" -_SIu = "SubnetId" -_CPSI = "CapacityProviderSubnetIds" -_CPVC = "CapacityProviderVpcConfig" -_SIub = "SubnetIds" -_SGIe = "SecurityGroupIds" -_CCPI = "CreateCapacityProviderInput" -_cCCPR = "com.amazonaws.lambda#CreateCapacityProviderRequest" -_VC = "VpcConfig" -_PC = "PermissionsConfig" -_KKA = "KmsKeyArn" -_TC = "TelemetryConfig" -_CPA = "CapacityProviderArn" -_KMSKA = "KMSKeyArn" -_Ti = "Timestamp" -_CPS = "CapacityProviderState" -_Pe = "Pending" -_Ac = "Active" -_Fa = "Failed" -_Del = "Deleting" -_CP = "CapacityProvider" -_Sta = "State" -_LM = "LastModified" -_CCPO = "CreateCapacityProviderOutput" -_cCCPRo = "com.amazonaws.lambda#CreateCapacityProviderResponse" -_CCP = "CreateCapacityProvider" -_DCPI = "DeleteCapacityProviderInput" -_cDCPR = "com.amazonaws.lambda#DeleteCapacityProviderRequest" -_DCPO = "DeleteCapacityProviderOutput" -_cDCPRo = "com.amazonaws.lambda#DeleteCapacityProviderResponse" -_DCP = "DeleteCapacityProvider" -_GCPI = "GetCapacityProviderInput" -_cGCPR = "com.amazonaws.lambda#GetCapacityProviderRequest" -_GCPO = "GetCapacityProviderOutput" -_cGCPRo = "com.amazonaws.lambda#GetCapacityProviderResponse" -_GCP = "GetCapacityProvider" -_MFLI = "MaxFiftyListItems" -_LCPI = "ListCapacityProvidersInput" -_cLCPR = "com.amazonaws.lambda#ListCapacityProvidersRequest" -_Mar = "Marker" -_MI = "MaxItems" -_CPL = "CapacityProvidersList" -_LCPO = "ListCapacityProvidersOutput" -_cLCPRo = "com.amazonaws.lambda#ListCapacityProvidersResponse" -_CPa = "CapacityProviders" -_NM = "NextMarker" -_LCP = "ListCapacityProviders" -_LFVBCPI = "ListFunctionVersionsByCapacityProviderInput" -_cLFVBCPR = "com.amazonaws.lambda#ListFunctionVersionsByCapacityProviderRequest" -_NSFA = "NameSpacedFunctionArn" -_Ina = "Inactive" -_Dea = "Deactivating" -_Deac = "Deactivated" -_ANI = "ActiveNonInvocable" -_FVBCPLI = "FunctionVersionsByCapacityProviderListItem" -_FVBCPL = "FunctionVersionsByCapacityProviderList" -_LFVBCPO = "ListFunctionVersionsByCapacityProviderOutput" -_cLFVBCPRo = "com.amazonaws.lambda#ListFunctionVersionsByCapacityProviderResponse" -_FVu = "FunctionVersions" -_LFVBCP = "ListFunctionVersionsByCapacityProvider" -_UCPI = "UpdateCapacityProviderInput" -_cUCPR = "com.amazonaws.lambda#UpdateCapacityProviderRequest" -_UCPO = "UpdateCapacityProviderOutput" -_cUCPRo = "com.amazonaws.lambda#UpdateCapacityProviderResponse" -_UCP = "UpdateCapacityProvider" -_CSCI = "CodeSigningConfigId" -_CSP = "CodeSigningPolicy" -_En = "Enforce" -_CSPo = "CodeSigningPolicies" -_UAOD = "UntrustedArtifactOnDeployment" -_CCSCI = "CreateCodeSigningConfigInput" -_cCCSCR = "com.amazonaws.lambda#CreateCodeSigningConfigRequest" -_CSCA = "CodeSigningConfigArn" -_CSC = "CodeSigningConfig" -_CCSCO = "CreateCodeSigningConfigOutput" -_cCCSCRo = "com.amazonaws.lambda#CreateCodeSigningConfigResponse" -_CCSC = "CreateCodeSigningConfig" -_DCSCI = "DeleteCodeSigningConfigInput" -_cDCSCR = "com.amazonaws.lambda#DeleteCodeSigningConfigRequest" -_DCSCO = "DeleteCodeSigningConfigOutput" -_cDCSCRo = "com.amazonaws.lambda#DeleteCodeSigningConfigResponse" -_DCSC = "DeleteCodeSigningConfig" -_GCSCI = "GetCodeSigningConfigInput" -_cGCSCR = "com.amazonaws.lambda#GetCodeSigningConfigRequest" -_GCSCO = "GetCodeSigningConfigOutput" -_cGCSCRo = "com.amazonaws.lambda#GetCodeSigningConfigResponse" -_GCSC = "GetCodeSigningConfig" -_MLI = "MaxListItems" -_LCSCI = "ListCodeSigningConfigsInput" -_cLCSCR = "com.amazonaws.lambda#ListCodeSigningConfigsRequest" -_CSCL = "CodeSigningConfigList" -_LCSCO = "ListCodeSigningConfigsOutput" -_cLCSCRo = "com.amazonaws.lambda#ListCodeSigningConfigsResponse" -_CSCo = "CodeSigningConfigs" -_LCSC = "ListCodeSigningConfigs" -_LFBCSCI = "ListFunctionsByCodeSigningConfigInput" -_cLFBCSCR = "com.amazonaws.lambda#ListFunctionsByCodeSigningConfigRequest" -_FAL = "FunctionArnList" -_LFBCSCO = "ListFunctionsByCodeSigningConfigOutput" -_cLFBCSCRo = "com.amazonaws.lambda#ListFunctionsByCodeSigningConfigResponse" -_FAu = "FunctionArns" -_LFBCSC = "ListFunctionsByCodeSigningConfig" -_UCSCI = "UpdateCodeSigningConfigInput" -_cUCSCR = "com.amazonaws.lambda#UpdateCodeSigningConfigRequest" -_UCSCO = "UpdateCodeSigningConfigOutput" -_cUCSCRo = "com.amazonaws.lambda#UpdateCodeSigningConfigResponse" -_UCSC = "UpdateCodeSigningConfig" -_DFI = "DeleteFunctionInput" -_cDFR = "com.amazonaws.lambda#DeleteFunctionRequest" -_DFO = "DeleteFunctionOutput" -_cDFRo = "com.amazonaws.lambda#DeleteFunctionResponse" -_SC = "StatusCode" -_sRC = "smithy.api#httpResponseCode" -_DF = "DeleteFunction" -_DFEICI = "DeleteFunctionEventInvokeConfigInput" -_cDFEICR = "com.amazonaws.lambda#DeleteFunctionEventInvokeConfigRequest" -_DFEICO = "DeleteFunctionEventInvokeConfigOutput" -_sU = "smithy.api#Unit" -_DFEIC = "DeleteFunctionEventInvokeConfig" -_PRA = "PolicyResourceArn" -_DRPI = "DeleteResourcePolicyInput" -_cDRPR = "com.amazonaws.lambda#DeleteResourcePolicyRequest" -_RAe = "ResourceArn" -_DRPO = "DeleteResourcePolicyOutput" -_DRP = "DeleteResourcePolicy" -_CT = "CheckpointToken" -_CTl = "ClientToken" -_DEA = "DurableExecutionArn" -_OAp = "OperationAction" -_START = "START" -_SUCCEED = "SUCCEED" -_FAIL = "FAIL" -_RETRY = "RETRY" -_CANCEL = "CANCEL" -_DS = "DurationSeconds" -_CO = "CallbackOptions" -_TS = "TimeoutSeconds" -_HTS = "HeartbeatTimeoutSeconds" -_TI = "TenantId" -_XATI = "XAmznTraceId" -_CIO = "ChainedInvokeOptions" -_RCe = "ReplayChildren" -_COo = "ContextOptions" -_ED = "ErrorData" -_smithya = "smithy.api#sensitive" -_EM = "ErrorMessage" -_ETr = "ErrorType" -_STE = "StackTraceEntry" -_STEt = "StackTraceEntries" -_EO = "ErrorObject" -_ST = "StackTrace" -_OIp = "OperationId" -_ON = "OperationName" -_OP = "OperationPayload" -_SOt = "StepOptions" -_NADS = "NextAttemptDelaySeconds" -_OST = "OperationSubType" -_OT = "OperationType" -_EXECUTION = "EXECUTION" -_CONTEXT = "CONTEXT" -_STEP = "STEP" -_WAIT = "WAIT" -_CALLBACK = "CALLBACK" -_CI = "CHAINED_INVOKE" -_WO = "WaitOptions" -_WS = "WaitSeconds" -_OU = "OperationUpdate" -_Id = "Id" -_PI = "ParentId" -_STu = "SubType" -_Pa = "Payload" -_OUp = "OperationUpdates" -_CDEI = "CheckpointDurableExecutionInput" -_cCDER = "com.amazonaws.lambda#CheckpointDurableExecutionRequest" -_U = "Updates" -_sT = "smithy.api#idempotencyToken" -_CIa = "CallbackId" -_CD = "CallbackDetails" -_Re = "Result" -_CID = "ChainedInvokeDetails" -_CDo = "ContextDetails" -_ETx = "ExecutionTimestamp" -_IP = "InputPayload" -_EDx = "ExecutionDetails" -_OS = "OperationStatus" -_STARTED = "STARTED" -_PENDING = "PENDING" -_READY = "READY" -_SUCCEEDED = "SUCCEEDED" -_FAILED = "FAILED" -_CANCELLED = "CANCELLED" -_TO = "TIMED_OUT" -_STOPPED = "STOPPED" -_SD = "StepDetails" -_Att = "Attempt" -_NAT = "NextAttemptTimestamp" -_WD = "WaitDetails" -_SET = "ScheduledEndTimestamp" -_Op = "Operation" -_STt = "StartTimestamp" -_ETn = "EndTimestamp" -_Stat = "Status" -_Ope = "Operations" -_CUES = "CheckpointUpdatedExecutionState" -_CDEO = "CheckpointDurableExecutionOutput" -_cCDERo = "com.amazonaws.lambda#CheckpointDurableExecutionResponse" -_NES = "NewExecutionState" -_KMSADE = "KMSAccessDeniedException" -_KMSDE = "KMSDisabledException" -_KMSISE = "KMSInvalidStateException" -_KMSNFE = "KMSNotFoundException" -_CDE = "CheckpointDurableExecution" -_IED = "IncludeExecutionData" -_GDEI = "GetDurableExecutionInput" -_cGDER = "com.amazonaws.lambda#GetDurableExecutionRequest" -_ETxe = "ExecutionTimeout" -_RPID = "RetentionPeriodInDays" -_DC = "DurableConfig" -_DEN = "DurableExecutionName" -_EDI = "ExecutionDataIncluded" -_OPu = "OutputPayload" -_ES = "ExecutionStatus" -_RUNNING = "RUNNING" -_TH = "TraceHeader" -_VWLP = "VersionWithLatestPublished" -_GDEO = "GetDurableExecutionOutput" -_cGDERo = "com.amazonaws.lambda#GetDurableExecutionResponse" -_GDE = "GetDurableExecution" -_IC = "ItemCount" -_RO = "ReverseOrder" -_GDEHI = "GetDurableExecutionHistoryInput" -_cGDEHR = "com.amazonaws.lambda#GetDurableExecutionHistoryRequest" -_Tru = "Truncated" -_EE = "EventError" -_CFD = "CallbackFailedDetails" -_CSD = "CallbackStartedDetails" -_HT = "HeartbeatTimeout" -_Tim = "Timeout" -_ER = "EventResult" -_CSDa = "CallbackSucceededDetails" -_CTOD = "CallbackTimedOutDetails" -_CIFD = "ChainedInvokeFailedDetails" -_EI = "EventInput" -_CISD = "ChainedInvokeStartedDetails" -_Inp = "Input" -_EV = "ExecutedVersion" -_CISDh = "ChainedInvokeStoppedDetails" -_CISDha = "ChainedInvokeSucceededDetails" -_CITOD = "ChainedInvokeTimedOutDetails" -_CFDo = "ContextFailedDetails" -_CSDo = "ContextStartedDetails" -_CSDon = "ContextSucceededDetails" -_EIv = "EventId" -_ETv = "EventType" -_ESx = "ExecutionStarted" -_ESxe = "ExecutionSucceeded" -_EF = "ExecutionFailed" -_ETO = "ExecutionTimedOut" -_ESxec = "ExecutionStopped" -_CS = "ContextStarted" -_CSo = "ContextSucceeded" -_CF = "ContextFailed" -_WSa = "WaitStarted" -_WSai = "WaitSucceeded" -_WC = "WaitCancelled" -_SS = "StepStarted" -_SSt = "StepSucceeded" -_SF = "StepFailed" -_CIS = "ChainedInvokeStarted" -_CISh = "ChainedInvokeSucceeded" -_CIF = "ChainedInvokeFailed" -_CITO = "ChainedInvokeTimedOut" -_CISha = "ChainedInvokeStopped" -_CSa = "CallbackStarted" -_CSal = "CallbackSucceeded" -_CFa = "CallbackFailed" -_CTO = "CallbackTimedOut" -_ICn = "InvocationCompleted" -_EFD = "ExecutionFailedDetails" -_ESD = "ExecutionStartedDetails" -_ESDx = "ExecutionStoppedDetails" -_ESDxe = "ExecutionSucceededDetails" -_ETOD = "ExecutionTimedOutDetails" -_ICD = "InvocationCompletedDetails" -_RIe = "RequestId" -_RD = "RetryDetails" -_CA = "CurrentAttempt" -_SFD = "StepFailedDetails" -_SSD = "StepStartedDetails" -_SSDt = "StepSucceededDetails" -_WCD = "WaitCancelledDetails" -_WSD = "WaitStartedDetails" -_Du = "Duration" -_WSDa = "WaitSucceededDetails" -_Ev = "Event" -_ETve = "EventTimestamp" -_Eve = "Events" -_GDEHO = "GetDurableExecutionHistoryOutput" -_cGDEHRo = "com.amazonaws.lambda#GetDurableExecutionHistoryResponse" -_GDEH = "GetDurableExecutionHistory" -_GDESI = "GetDurableExecutionStateInput" -_cGDESR = "com.amazonaws.lambda#GetDurableExecutionStateRequest" -_GDESO = "GetDurableExecutionStateOutput" -_cGDESRo = "com.amazonaws.lambda#GetDurableExecutionStateResponse" -_GDES = "GetDurableExecutionState" -_SDEI = "StopDurableExecutionInput" -_cSDER = "com.amazonaws.lambda#StopDurableExecutionRequest" -_sP = "smithy.api#httpPayload" -_SDEO = "StopDurableExecutionOutput" -_cSDERo = "com.amazonaws.lambda#StopDurableExecutionResponse" -_STto = "StopTimestamp" -_SDE = "StopDurableExecution" -_BS = "BatchSize" -_BBOFE = "BisectBatchOnFunctionError" -_DA = "DestinationArn" -_OF = "OnFailure" -_Des = "Destination" -_OSn = "OnSuccess" -_DCe = "DestinationConfig" -_CN = "CollectionName" -_DN = "DatabaseName" -_FD = "FullDocument" -_UL = "UpdateLookup" -_Def = "Default" -_DDBESC = "DocumentDBEventSourceConfig" -_Ena = "Enabled" -_Pat = "Pattern" -_Fi = "Filter" -_FL = "FilterList" -_FCi = "FilterCriteria" -_Fil = "Filters" -_FRT = "FunctionResponseType" -_RBIF = "ReportBatchItemFailures" -_FRTL = "FunctionResponseTypeList" -_ESMSLL = "EventSourceMappingSystemLogLevel" -_ESMLC = "EventSourceMappingLoggingConfig" -_MBWIS = "MaximumBatchingWindowInSeconds" -_MRAIS = "MaximumRecordAgeInSeconds" -_MRAESM = "MaximumRetryAttemptsEventSourceMapping" -_ESMM = "EventSourceMappingMetric" -_EC = "EventCount" -_ECr = "ErrorCount" -_KM = "KafkaMetrics" -_ESMML = "EventSourceMappingMetricList" -_ESMMC = "EventSourceMappingMetricsConfig" -_Met = "Metrics" -_PF = "ParallelizationFactor" -_MNOP = "MaximumNumberOfPollers" -_MNOPi = "MinimumNumberOfPollers" -_PPGN = "ProvisionedPollerGroupName" -_PPC = "ProvisionedPollerConfig" -_MP = "MinimumPollers" -_MPa = "MaximumPollers" -_PGN = "PollerGroupName" -_Qu = "Queue" -_Que = "Queues" -_MC = "MaximumConcurrency" -_SCc = "ScalingConfig" -_EPT = "EndPointType" -_KBS = "KAFKA_BOOTSTRAP_SERVERS" -_End = "Endpoint" -_EL = "EndpointLists" -_Endp = "Endpoints" -_SMES = "SelfManagedEventSource" -_KESMCM = "KafkaEventSourceMappingConsumptionMode" -_Str = "Stream" -_SMKESC = "SelfManagedKafkaEventSourceConfig" -_CM = "ConsumptionMode" -_SAT = "SourceAccessType" -_VS = "VPC_SUBNET" -_VSG = "VPC_SECURITY_GROUP" -_SSA = "SASL_SCRAM_512_AUTH" -_SSA_ = "SASL_SCRAM_256_AUTH" -_VH = "VIRTUAL_HOST" -_OS_ = "OAUTHBEARER_SCOPE" -_OA_ = "OAUTHBEARER_AUDIENCE" -_OLC = "OAUTHBEARER_LOGICAL_CLUSTER" -_OIP = "OAUTHBEARER_IDENTITY_POOL" -_IA = "IAM_AUTH" -_IOA = "IAM_OAUTHBEARER_AUTH" -_SAC = "SourceAccessConfiguration" -_SACo = "SourceAccessConfigurations" -_ESP = "EventSourcePosition" -_TH_ = "TRIM_HORIZON" -_LATEST = "LATEST" -_AT = "AT_TIMESTAMP" -_Da = "Date" -_To = "Topic" -_Top = "Topics" -_TWIS = "TumblingWindowInSeconds" -_CESMI = "CreateEventSourceMappingInput" -_cCESMR = "com.amazonaws.lambda#CreateEventSourceMappingRequest" -_ESA = "EventSourceArn" -_MCe = "MetricsConfig" -_SPt = "StartingPosition" -_SPT = "StartingPositionTimestamp" -_MRA = "MaximumRetryAttempts" -_FRTu = "FunctionResponseTypes" -_ESMA = "EventSourceMappingArn" -_FCEC = "FilterCriteriaErrorCode" -_FCEM = "FilterCriteriaErrorMessage" -_FCE = "FilterCriteriaError" -_ECrr = "ErrorCode" -_UUIDS = "UUIDString" -_CESMO = "CreateEventSourceMappingOutput" -_cESMC = "com.amazonaws.lambda#EventSourceMappingConfiguration" -_UUID = "UUID" -_LPR = "LastProcessingResult" -_STR = "StateTransitionReason" -_CESM = "CreateEventSourceMapping" -_DESMI = "DeleteEventSourceMappingInput" -_cDESMR = "com.amazonaws.lambda#DeleteEventSourceMappingRequest" -_DESMO = "DeleteEventSourceMappingOutput" -_RIUE = "ResourceInUseException" -_DESM = "DeleteEventSourceMapping" -_GESMI = "GetEventSourceMappingInput" -_cGESMR = "com.amazonaws.lambda#GetEventSourceMappingRequest" -_GESMO = "GetEventSourceMappingOutput" -_GESM = "GetEventSourceMapping" -_LESMI = "ListEventSourceMappingsInput" -_cLESMR = "com.amazonaws.lambda#ListEventSourceMappingsRequest" -_ESMC = "EventSourceMappingConfiguration" -_ESML = "EventSourceMappingsList" -_LESMO = "ListEventSourceMappingsOutput" -_cLESMRo = "com.amazonaws.lambda#ListEventSourceMappingsResponse" -_ESM = "EventSourceMappings" -_LESM = "ListEventSourceMappings" -_UESMI = "UpdateEventSourceMappingInput" -_cUESMR = "com.amazonaws.lambda#UpdateEventSourceMappingRequest" -_UESMO = "UpdateEventSourceMappingOutput" -_UESM = "UpdateEventSourceMapping" -_CSCNFE = "CodeSigningConfigNotFoundException" -_CSEE = "CodeStorageExceededException" -_CVFE = "CodeVerificationFailedException" -_EEMGBPVC = "ExecutionEnvironmentMemoryGiBPerVCpu" -_PEEMC = "PerExecutionEnvironmentMaxConcurrency" -_LMICPC = "LambdaManagedInstancesCapacityProviderConfig" -_CPC = "CapacityProviderConfig" -_SB = "S3Bucket" -_SK = "S3Key" -_SOSM = "S3ObjectStorageMode" -_C = "Copy" -_COPY = "COPY" -_Ref = "Reference" -_REFERENCE = "REFERENCE" -_SOV = "S3ObjectVersion" -_B = "Blob" -_FCu = "FunctionCode" -_ZF = "ZipFile" -_IU = "ImageUri" -_SKMSKA = "SourceKMSKeyArn" -_DLC = "DeadLetterConfig" -_TA = "TargetArn" -_EVN = "EnvironmentVariableName" -_EVV = "EnvironmentVariableValue" -_EVn = "EnvironmentVariables" -_Env = "Environment" -_Va = "Variables" -_ESS = "EphemeralStorageSize" -_ESp = "EphemeralStorage" -_Si = "Size" -_FSA = "FileSystemArn" -_LMP = "LocalMountPath" -_DSR = "DirectS3Read" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_AUTO = "AUTO" -_SFC = "S3FilesConfig" -_FSC = "FileSystemConfig" -_FSCL = "FileSystemConfigList" -_H = "Handler" -_SL = "StringList" -_WDo = "WorkingDirectory" -_ICm = "ImageConfig" -_EP = "EntryPoint" -_Co = "Command" -_LVA = "LayerVersionArn" -_LL = "LayerList" -_LF = "LogFormat" -_J = "Json" -_Te = "Text" -_MS = "MemorySize" -_PTa = "PackageType" -_Z = "Zip" -_Im = "Image" -_Bo = "Boolean" -_FVLP = "FunctionVersionLatestPublished" -_LP = "LATEST_PUBLISHED" -_Ru = "Runtime" -_n = "nodejs" -_no = "nodejs43" -_nod = "nodejs4.3" -_node = "nodejs610" -_nodej = "nodejs6.10" -_nodejs = "nodejs810" -_nodejs_ = "nodejs8.10" -_nodejsx = "nodejs10x" -_nodejsx_ = "nodejs10.x" -_nodejsx__ = "nodejs12x" -_nodejsx___ = "nodejs12.x" -_nodejsx____ = "nodejs14x" -_nodejsx_____ = "nodejs14.x" -_nodejsx______ = "nodejs16x" -_nodejsx_______ = "nodejs16.x" -_nodejsx________ = "nodejs18x" -_nodejsx_________ = "nodejs18.x" -_nodejsx__________ = "nodejs20x" -_nodejsx___________ = "nodejs20.x" -_nodejsx____________ = "nodejs22x" -_nodejsx_____________ = "nodejs22.x" -_nodejsx______________ = "nodejs24x" -_nodejsx_______________ = "nodejs24.x" -_j = "java8" -_ja = "java8al2" -_jav = "java8.al2" -_java = "java11" -_java_ = "java17" -_java__ = "java21" -_java___ = "java25" -_p = "python27" -_py = "python2.7" -_pyt = "python36" -_pyth = "python3.6" -_pytho = "python37" -_python = "python3.7" -_python_ = "python38" -_python__ = "python3.8" -_python___ = "python39" -_python____ = "python3.9" -_python_____ = "python310" -_python______ = "python3.10" -_python_______ = "python311" -_python________ = "python3.11" -_python_________ = "python312" -_python__________ = "python3.12" -_python___________ = "python313" -_python____________ = "python3.13" -_python_____________ = "python314" -_python______________ = "python3.14" -_d = "dotnetcore10" -_do = "dotnetcore1.0" -_dot = "dotnetcore20" -_dotn = "dotnetcore2.0" -_dotne = "dotnetcore21" -_dotnet = "dotnetcore2.1" -_dotnetc = "dotnetcore31" -_dotnetco = "dotnetcore3.1" -_dotnet_ = "dotnet6" -_dotnet__ = "dotnet8" -_dotnet___ = "dotnet10" -_nodejse = "nodejs43edge" -_ne = "nodejs4.3-edge" -_g = "go1x" -_go = "go1.x" -_r = "ruby25" -_ru = "ruby2.5" -_rub = "ruby27" -_ruby = "ruby2.7" -_ruby_ = "ruby32" -_ruby__ = "ruby3.2" -_ruby___ = "ruby33" -_ruby____ = "ruby3.3" -_ruby_____ = "ruby34" -_ruby______ = "ruby3.4" -_ruby_______ = "ruby40" -_ruby________ = "ruby4.0" -_pr = "provided" -_pro = "providedal2" -_prov = "provided.al2" -_provi = "providedal2023" -_provid = "provided.al2023" -_nodejsx________________ = "nodejs26x" -_nodejsx_________________ = "nodejs26.x" -_python_______________ = "python315" -_python________________ = "python3.15" -_javaa = "java8al2023" -_javaal = "java8.al2023" -_javaal_ = "java11al2023" -_javaal__ = "java11.al2023" -_javaal___ = "java17al2023" -_javaal____ = "java17.al2023" -_SSAO = "SnapStartApplyOn" -_PV = "PublishedVersions" -_SSn = "SnapStart" -_AO = "ApplyOn" -_TIM = "TenantIsolationMode" -_PT_ = "PER_TENANT" -_TCe = "TenancyConfig" -_TM = "TracingMode" -_PTas = "PassThrough" -_TCr = "TracingConfig" -_NB = "NullableBoolean" -_IAFDS = "Ipv6AllowedForDualStack" -_CFI = "CreateFunctionInput" -_cCFR = "com.amazonaws.lambda#CreateFunctionRequest" -_Ro = "Role" -_Cod = "Code" -_Pu = "Publish" -_PTu = "PublishTo" -_La = "Layers" -_FSCi = "FileSystemConfigs" -_SSe = "SensitiveString" -_EEn = "EnvironmentError" -_ERn = "EnvironmentResponse" -_ICE = "ImageConfigError" -_ICR = "ImageConfigResponse" -_LUS = "LastUpdateStatus" -_Su = "Successful" -_IPn = "InProgress" -_LUSR = "LastUpdateStatusReason" -_LUSRC = "LastUpdateStatusReasonCode" -_ELE = "EniLimitExceeded" -_IRP = "InsufficientRolePermissions" -_ICnv = "InvalidConfiguration" -_IE = "InternalError" -_SOOIPA = "SubnetOutOfIPAddresses" -_IS = "InvalidSubnet" -_ISG = "InvalidSecurityGroup" -_ID = "ImageDeleted" -_IAD = "ImageAccessDenied" -_II = "InvalidImage" -_KMSKAD = "KMSKeyAccessDenied" -_KMSKNF = "KMSKeyNotFound" -_ISKMSK = "InvalidStateKMSKey" -_DKMSK = "DisabledKMSKey" -_EFSIOE = "EFSIOError" -_EFSMCE = "EFSMountConnectivityError" -_EFSMF = "EFSMountFailure" -_EFSMT = "EFSMountTimeout" -_IRn = "InvalidRuntime" -_IZFE = "InvalidZipFileException" -_FE = "FunctionError" -_SQEE = "ServiceQuotaExceededException" -_VLE = "VcpuLimitExceeded" -_CPSLE = "CapacityProviderScalingLimitExceeded" -_ICns = "InsufficientCapacity" -_ECRLE = "EC2RequestLimitExceeded" -_FEIT = "FunctionErrorInitTimeout" -_FEITu = "FunctionError.InitTimeout" -_FERIE = "FunctionErrorRuntimeInitError" -_FERIEu = "FunctionError.RuntimeInitError" -_FEEIE = "FunctionErrorExtensionInitError" -_FEEIEu = "FunctionError.ExtensionInitError" -_FEIEP = "FunctionErrorInvalidEntryPoint" -_FEIEPu = "FunctionError.InvalidEntryPoint" -_FEIWD = "FunctionErrorInvalidWorkingDirectory" -_FEIWDu = "FunctionError.InvalidWorkingDirectory" -_FEPD = "FunctionErrorPermissionDenied" -_FEPDu = "FunctionError.PermissionDenied" -_FETME = "FunctionErrorTooManyExtensions" -_FETMEu = "FunctionError.TooManyExtensions" -_FEIRE = "FunctionErrorInitResourceExhausted" -_FEIREu = "FunctionError.InitResourceExhausted" -_DBVEC = "DisallowedByVpcEncryptionControl" -_DE = "DependencyError" -_Lay = "Layer" -_CSod = "CodeSize" -_SPVAi = "SigningProfileVersionArn" -_SJA = "SigningJobArn" -_LRL = "LayersReferenceList" -_RVE = "RuntimeVersionError" -_RVA = "RuntimeVersionArn" -_RVC = "RuntimeVersionConfig" -_SSOS = "SnapStartOptimizationStatus" -_On = "On" -_Of = "Off" -_SSR = "SnapStartResponse" -_OSp = "OptimizationStatus" -_SR = "StateReason" -_SRCt = "StateReasonCode" -_Idl = "Idle" -_Cr = "Creating" -_Res = "Restoring" -_DDE = "DrainingDurableExecutions" -_TCR = "TracingConfigResponse" -_VI = "VpcId" -_VCR = "VpcConfigResponse" -_CFO = "CreateFunctionOutput" -_cFC = "com.amazonaws.lambda#FunctionConfiguration" -_CSode = "CodeSha256" -_MA = "MasterArn" -_CSon = "ConfigSha256" -_FVPCPLEE = "FunctionVersionsPerCapacityProviderLimitExceededException" -_ICSE = "InvalidCodeSignatureException" -_CFr = "CreateFunction" -_He = "Header" -_HL = "HeadersList" -_MAa = "MaxAge" -_Cor = "Cors" -_AH = "AllowHeaders" -_AM = "AllowMethods" -_AOl = "AllowOrigins" -_EH = "ExposeHeaders" -_FUFN = "FunctionUrlFunctionName" -_IM = "InvokeMode" -_BUFFERED = "BUFFERED" -_RS = "RESPONSE_STREAM" -_FUQ = "FunctionUrlQualifier" -_CFUCI = "CreateFunctionUrlConfigInput" -_cCFUCR = "com.amazonaws.lambda#CreateFunctionUrlConfigRequest" -_ATu = "AuthType" -_FU = "FunctionUrl" -_CFUCO = "CreateFunctionUrlConfigOutput" -_cCFUCRo = "com.amazonaws.lambda#CreateFunctionUrlConfigResponse" -_CTr = "CreationTime" -_CFUC = "CreateFunctionUrlConfig" -_DFCSCI = "DeleteFunctionCodeSigningConfigInput" -_cDFCSCR = "com.amazonaws.lambda#DeleteFunctionCodeSigningConfigRequest" -_DFCSCO = "DeleteFunctionCodeSigningConfigOutput" -_DFCSC = "DeleteFunctionCodeSigningConfig" -_DFCI = "DeleteFunctionConcurrencyInput" -_cDFCR = "com.amazonaws.lambda#DeleteFunctionConcurrencyRequest" -_DFCO = "DeleteFunctionConcurrencyOutput" -_DFC = "DeleteFunctionConcurrency" -_DFUCI = "DeleteFunctionUrlConfigInput" -_cDFUCR = "com.amazonaws.lambda#DeleteFunctionUrlConfigRequest" -_DFUCO = "DeleteFunctionUrlConfigOutput" -_DFUC = "DeleteFunctionUrlConfig" -_GFI = "GetFunctionInput" -_cGFR = "com.amazonaws.lambda#GetFunctionRequest" -_FCLE = "FunctionCodeLocationError" -_SSOSO = "SensitiveStringOnServerOnly" -_RSO = "ResolvedS3Object" -_FCL = "FunctionCodeLocation" -_RT = "RepositoryType" -_Lo = "Location" -_RIU = "ResolvedImageUri" -_RCEe = "ReservedConcurrentExecutions" -_Con = "Concurrency" -_FCun = "FunctionConfiguration" -_TEC = "TagsErrorCode" -_TEM = "TagsErrorMessage" -_TE = "TagsError" -_GFO = "GetFunctionOutput" -_cGFRo = "com.amazonaws.lambda#GetFunctionResponse" -_Conf = "Configuration" -_GF = "GetFunction" -_GFCSCI = "GetFunctionCodeSigningConfigInput" -_cGFCSCR = "com.amazonaws.lambda#GetFunctionCodeSigningConfigRequest" -_GFCSCO = "GetFunctionCodeSigningConfigOutput" -_cGFCSCRo = "com.amazonaws.lambda#GetFunctionCodeSigningConfigResponse" -_GFCSC = "GetFunctionCodeSigningConfig" -_GFCI = "GetFunctionConcurrencyInput" -_cGFCR = "com.amazonaws.lambda#GetFunctionConcurrencyRequest" -_GFCO = "GetFunctionConcurrencyOutput" -_cGFCRo = "com.amazonaws.lambda#GetFunctionConcurrencyResponse" -_GFC = "GetFunctionConcurrency" -_GFCIe = "GetFunctionConfigurationInput" -_cGFCRom = "com.amazonaws.lambda#GetFunctionConfigurationRequest" -_GFCOe = "GetFunctionConfigurationOutput" -_GFCe = "GetFunctionConfiguration" -_UFN = "UnqualifiedFunctionName" -_GFRCI = "GetFunctionRecursionConfigInput" -_cGFRCR = "com.amazonaws.lambda#GetFunctionRecursionConfigRequest" -_RL = "RecursiveLoop" -_All = "Allow" -_Ter = "Terminate" -_GFRCO = "GetFunctionRecursionConfigOutput" -_cGFRCRo = "com.amazonaws.lambda#GetFunctionRecursionConfigResponse" -_GFRC = "GetFunctionRecursionConfig" -_PFQ = "PublishedFunctionQualifier" -_GFSCI = "GetFunctionScalingConfigInput" -_cGFSCR = "com.amazonaws.lambda#GetFunctionScalingConfigRequest" -_FSCEE = "FunctionScalingConfigExecutionEnvironments" -_FSCu = "FunctionScalingConfig" -_MEE = "MinExecutionEnvironments" -_MEEa = "MaxExecutionEnvironments" -_GFSCO = "GetFunctionScalingConfigOutput" -_cGFSCRo = "com.amazonaws.lambda#GetFunctionScalingConfigResponse" -_AFSC = "AppliedFunctionScalingConfig" -_RFSC = "RequestedFunctionScalingConfig" -_GFSC = "GetFunctionScalingConfig" -_GFUCI = "GetFunctionUrlConfigInput" -_cGFUCR = "com.amazonaws.lambda#GetFunctionUrlConfigRequest" -_GFUCO = "GetFunctionUrlConfigOutput" -_cGFUCRo = "com.amazonaws.lambda#GetFunctionUrlConfigResponse" -_LMT = "LastModifiedTime" -_GFUC = "GetFunctionUrlConfig" -_GPI = "GetPolicyInput" -_cGPR = "com.amazonaws.lambda#GetPolicyRequest" -_GPO = "GetPolicyOutput" -_cGPRo = "com.amazonaws.lambda#GetPolicyResponse" -_Po = "Policy" -_GP = "GetPolicy" -_GRMCI = "GetRuntimeManagementConfigInput" -_cGRMCR = "com.amazonaws.lambda#GetRuntimeManagementConfigRequest" -_URO = "UpdateRuntimeOn" -_FUu = "FunctionUpdate" -_GRMCO = "GetRuntimeManagementConfigOutput" -_cGRMCRo = "com.amazonaws.lambda#GetRuntimeManagementConfigResponse" -_GRMC = "GetRuntimeManagementConfig" -_CAUDE = "CodeArtifactUserDeletedException" -_CAUFE = "CodeArtifactUserFailedException" -_CAUPE = "CodeArtifactUserPendingException" -_DEASE = "DurableExecutionAlreadyStartedException" -_ECADE = "EC2AccessDeniedException" -_ECTE = "EC2ThrottledException" -_ECUE = "EC2UnexpectedException" -_ECEC = "EC2ErrorCode" -_EFSIOEx = "EFSIOException" -_EFSMCEo = "EFSMountConnectivityException" -_EFSMFE = "EFSMountFailureException" -_EFSMTE = "EFSMountTimeoutException" -_ENILRE = "ENILimitReachedException" -_ENINRE = "ENINotReadyException" -_IRCE = "InvalidRequestContentException" -_IRE = "InvalidRuntimeException" -_ISGIDE = "InvalidSecurityGroupIDException" -_ISIDE = "InvalidSubnetIDException" -_ITn = "InvocationType" -_RR = "RequestResponse" -_DR = "DryRun" -_LT = "LogType" -_Tai = "Tail" -_IIn = "InvokeInput" -_cIR = "com.amazonaws.lambda#InvocationRequest" -_XAIT = "X-Amz-Invocation-Type" -_XALT = "X-Amz-Log-Type" -_CC = "ClientContext" -_XACC = "X-Amz-Client-Context" -_XADEN = "X-Amz-Durable-Execution-Name" -_XATI_ = "X-Amz-Tenant-Id" -_IO = "InvokeOutput" -_cIRo = "com.amazonaws.lambda#InvocationResponse" -_XAFE = "X-Amz-Function-Error" -_LR = "LogResult" -_XALR = "X-Amz-Log-Result" -_XAEV = "X-Amz-Executed-Version" -_XADEA = "X-Amz-Durable-Execution-Arn" -_MNSE = "ModeNotSupportedException" -_NPVE = "NoPublishedVersionException" -_RIE = "RecursiveInvocationException" -_RTLE = "RequestTooLargeException" -_RNRE = "ResourceNotReadyException" -_SFMCE = "S3FilesMountConnectivityException" -_SFMFE = "S3FilesMountFailureException" -_SFMTE = "S3FilesMountTimeoutException" -_SRETLE = "SerializedRequestEntityTooLargeException" -_SSE = "SnapStartException" -_SSNRE = "SnapStartNotReadyException" -_SSRFE = "SnapStartRegenerationFailureException" -_SSTE = "SnapStartTimeoutException" -_SIPALRE = "SubnetIPAddressLimitReachedException" -_UMTE = "UnsupportedMediaTypeException" -_Inv = "Invoke" -_BSl = "BlobStream" -_smithyap = "smithy.api#streaming" -_IAI = "InvokeAsyncInput" -_cIAR = "com.amazonaws.lambda#InvokeAsyncRequest" -_IAn = "InvokeArgs" -_HS = "HttpStatus" -_IAO = "InvokeAsyncOutput" -_cIARo = "com.amazonaws.lambda#InvokeAsyncResponse" -_IAnv = "InvokeAsync" -_RSIT = "ResponseStreamingInvocationType" -_IWRSI = "InvokeWithResponseStreamInput" -_cIWRSR = "com.amazonaws.lambda#InvokeWithResponseStreamRequest" -_IWRSCE = "InvokeWithResponseStreamCompleteEvent" -_EDr = "ErrorDetails" -_IRSU = "InvokeResponseStreamUpdate" -_sPm = "smithy.api#eventPayload" -_IWRSRE = "InvokeWithResponseStreamResponseEvent" -_PCa = "PayloadChunk" -_ICnvo = "InvokeComplete" -_IWRSO = "InvokeWithResponseStreamOutput" -_cIWRSRo = "com.amazonaws.lambda#InvokeWithResponseStreamResponse" -_ESv = "EventStream" -_RSCT = "ResponseStreamContentType" -_CT_ = "Content-Type" -_IWRS = "InvokeWithResponseStream" -_ESL = "ExecutionStatusList" -_LDEBFI = "ListDurableExecutionsByFunctionInput" -_cLDEBFR = "com.amazonaws.lambda#ListDurableExecutionsByFunctionRequest" -_Statu = "Statuses" -_SAt = "StartedAfter" -_SBt = "StartedBefore" -_Exe = "Execution" -_DEu = "DurableExecutions" -_LDEBFO = "ListDurableExecutionsByFunctionOutput" -_cLDEBFRo = "com.amazonaws.lambda#ListDurableExecutionsByFunctionResponse" -_LDEBF = "ListDurableExecutionsByFunction" -_ALL_ = "ALL" -_MR = "MasterRegion" -_LFI = "ListFunctionsInput" -_cLFR = "com.amazonaws.lambda#ListFunctionsRequest" -_FLu = "FunctionList" -_LFO = "ListFunctionsOutput" -_cLFRo = "com.amazonaws.lambda#ListFunctionsResponse" -_Fu = "Functions" -_LFi = "ListFunctions" -_LFUCI = "ListFunctionUrlConfigsInput" -_cLFUCR = "com.amazonaws.lambda#ListFunctionUrlConfigsRequest" -_FUC = "FunctionUrlConfig" -_FUCL = "FunctionUrlConfigList" -_LFUCO = "ListFunctionUrlConfigsOutput" -_cLFUCRo = "com.amazonaws.lambda#ListFunctionUrlConfigsResponse" -_FUCu = "FunctionUrlConfigs" -_LFUC = "ListFunctionUrlConfigs" -_MPCCLI = "MaxProvisionedConcurrencyConfigListItems" -_LPCCI = "ListProvisionedConcurrencyConfigsInput" -_cLPCCR = "com.amazonaws.lambda#ListProvisionedConcurrencyConfigsRequest" -_NNI = "NonNegativeInteger" -_PIo = "PositiveInteger" -_PCSE = "ProvisionedConcurrencyStatusEnum" -_IP_ = "IN_PROGRESS" -_PCCLI = "ProvisionedConcurrencyConfigListItem" -_RPCE = "RequestedProvisionedConcurrentExecutions" -_APCE = "AvailableProvisionedConcurrentExecutions" -_APCEl = "AllocatedProvisionedConcurrentExecutions" -_SRt = "StatusReason" -_PCCL = "ProvisionedConcurrencyConfigList" -_LPCCO = "ListProvisionedConcurrencyConfigsOutput" -_cLPCCRo = "com.amazonaws.lambda#ListProvisionedConcurrencyConfigsResponse" -_PCC = "ProvisionedConcurrencyConfigs" -_LPCC = "ListProvisionedConcurrencyConfigs" -_PFCSCI = "PutFunctionCodeSigningConfigInput" -_cPFCSCR = "com.amazonaws.lambda#PutFunctionCodeSigningConfigRequest" -_PFCSCO = "PutFunctionCodeSigningConfigOutput" -_cPFCSCRo = "com.amazonaws.lambda#PutFunctionCodeSigningConfigResponse" -_PFCSC = "PutFunctionCodeSigningConfig" -_PFCI = "PutFunctionConcurrencyInput" -_cPFCR = "com.amazonaws.lambda#PutFunctionConcurrencyRequest" -_PFCO = "PutFunctionConcurrencyOutput" -_cC = "com.amazonaws.lambda#Concurrency" -_PFC = "PutFunctionConcurrency" -_PFRCI = "PutFunctionRecursionConfigInput" -_cPFRCR = "com.amazonaws.lambda#PutFunctionRecursionConfigRequest" -_PFRCO = "PutFunctionRecursionConfigOutput" -_cPFRCRo = "com.amazonaws.lambda#PutFunctionRecursionConfigResponse" -_PFRC = "PutFunctionRecursionConfig" -_PFSCI = "PutFunctionScalingConfigInput" -_cPFSCR = "com.amazonaws.lambda#PutFunctionScalingConfigRequest" -_PFSCO = "PutFunctionScalingConfigOutput" -_cPFSCRo = "com.amazonaws.lambda#PutFunctionScalingConfigResponse" -_FS = "FunctionState" -_PFSC = "PutFunctionScalingConfig" -_PRMCI = "PutRuntimeManagementConfigInput" -_cPRMCR = "com.amazonaws.lambda#PutRuntimeManagementConfigRequest" -_PRMCO = "PutRuntimeManagementConfigOutput" -_cPRMCRo = "com.amazonaws.lambda#PutRuntimeManagementConfigResponse" -_PRMC = "PutRuntimeManagementConfig" -_UFCI = "UpdateFunctionCodeInput" -_cUFCR = "com.amazonaws.lambda#UpdateFunctionCodeRequest" -_UFCO = "UpdateFunctionCodeOutput" -_UFC = "UpdateFunctionCode" -_UFCIp = "UpdateFunctionConfigurationInput" -_cUFCRo = "com.amazonaws.lambda#UpdateFunctionConfigurationRequest" -_UFCOp = "UpdateFunctionConfigurationOutput" -_UFCp = "UpdateFunctionConfiguration" -_UFUCI = "UpdateFunctionUrlConfigInput" -_cUFUCR = "com.amazonaws.lambda#UpdateFunctionUrlConfigRequest" -_UFUCO = "UpdateFunctionUrlConfigOutput" -_cUFUCRo = "com.amazonaws.lambda#UpdateFunctionUrlConfigResponse" -_UFUC = "UpdateFunctionUrlConfig" -_CAI = "CreateAliasInput" -_cCAR = "com.amazonaws.lambda#CreateAliasRequest" -_CAO = "CreateAliasOutput" -_cAC = "com.amazonaws.lambda#AliasConfiguration" -_CAr = "CreateAlias" -_DAI = "DeleteAliasInput" -_cDAR = "com.amazonaws.lambda#DeleteAliasRequest" -_DAO = "DeleteAliasOutput" -_DAe = "DeleteAlias" -_GAI = "GetAliasInput" -_cGAR = "com.amazonaws.lambda#GetAliasRequest" -_GAO = "GetAliasOutput" -_GA = "GetAlias" -_LAI = "ListAliasesInput" -_cLAR = "com.amazonaws.lambda#ListAliasesRequest" -_LAO = "ListAliasesOutput" -_cLARo = "com.amazonaws.lambda#ListAliasesResponse" -_Ali = "Aliases" -_LA = "ListAliases" -_UAI = "UpdateAliasInput" -_cUAR = "com.amazonaws.lambda#UpdateAliasRequest" -_UAO = "UpdateAliasOutput" -_UA = "UpdateAlias" -_LVBFI = "ListVersionsByFunctionInput" -_cLVBFR = "com.amazonaws.lambda#ListVersionsByFunctionRequest" -_LVBFO = "ListVersionsByFunctionOutput" -_cLVBFRo = "com.amazonaws.lambda#ListVersionsByFunctionResponse" -_Ve = "Versions" -_LVBF = "ListVersionsByFunction" -_PVI = "PublishVersionInput" -_cPVR = "com.amazonaws.lambda#PublishVersionRequest" -_PVO = "PublishVersionOutput" -_PVu = "PublishVersion" -_GASI = "GetAccountSettingsInput" -_cGASR = "com.amazonaws.lambda#GetAccountSettingsRequest" -_GASO = "GetAccountSettingsOutput" -_cGASRo = "com.amazonaws.lambda#GetAccountSettingsResponse" -_GAS = "GetAccountSettings" -_GFEICI = "GetFunctionEventInvokeConfigInput" -_cGFEICR = "com.amazonaws.lambda#GetFunctionEventInvokeConfigRequest" -_MEAIS = "MaximumEventAgeInSeconds" -_GFEICO = "GetFunctionEventInvokeConfigOutput" -_cFEIC = "com.amazonaws.lambda#FunctionEventInvokeConfig" -_GFEIC = "GetFunctionEventInvokeConfig" -_GRPI = "GetResourcePolicyInput" -_cGRPR = "com.amazonaws.lambda#GetResourcePolicyRequest" -_RP = "ResourcePolicy" -_GRPO = "GetResourcePolicyOutput" -_cGRPRo = "com.amazonaws.lambda#GetResourcePolicyResponse" -_GRP = "GetResourcePolicy" -_MLLI = "MaxLayerListItems" -_LLI = "ListLayersInput" -_cLLR = "com.amazonaws.lambda#ListLayersRequest" -_CAo = "CompatibleArchitecture" -_CR = "CompatibleRuntime" -_CAom = "CompatibleArchitectures" -_CRo = "CompatibleRuntimes" -_LI = "LicenseInfo" -_LVLI = "LayerVersionsListItem" -_CDr = "CreatedDate" -_LAa = "LayerArn" -_LLIa = "LayersListItem" -_LMV = "LatestMatchingVersion" -_LLa = "LayersList" -_LLO = "ListLayersOutput" -_cLLRo = "com.amazonaws.lambda#ListLayersResponse" -_LLi = "ListLayers" -_DLVI = "DeleteLayerVersionInput" -_cDLVR = "com.amazonaws.lambda#DeleteLayerVersionRequest" -_DLVO = "DeleteLayerVersionOutput" -_DLV = "DeleteLayerVersion" -_GLVI = "GetLayerVersionInput" -_cGLVR = "com.amazonaws.lambda#GetLayerVersionRequest" -_LVCO = "LayerVersionContentOutput" -_GLVO = "GetLayerVersionOutput" -_cGLVRo = "com.amazonaws.lambda#GetLayerVersionResponse" -_Cont = "Content" -_GLV = "GetLayerVersion" -_GLVBAI = "GetLayerVersionByArnInput" -_cGLVBAR = "com.amazonaws.lambda#GetLayerVersionByArnRequest" -_GLVBAO = "GetLayerVersionByArnOutput" -_GLVBA = "GetLayerVersionByArn" -_GLVPI = "GetLayerVersionPolicyInput" -_cGLVPR = "com.amazonaws.lambda#GetLayerVersionPolicyRequest" -_GLVPO = "GetLayerVersionPolicyOutput" -_cGLVPRo = "com.amazonaws.lambda#GetLayerVersionPolicyResponse" -_GLVP = "GetLayerVersionPolicy" -_LLVI = "ListLayerVersionsInput" -_cLLVR = "com.amazonaws.lambda#ListLayerVersionsRequest" -_LVL = "LayerVersionsList" -_LLVO = "ListLayerVersionsOutput" -_cLLVRo = "com.amazonaws.lambda#ListLayerVersionsResponse" -_LV = "LayerVersions" -_LLV = "ListLayerVersions" -_LVCI = "LayerVersionContentInput" -_PLVI = "PublishLayerVersionInput" -_cPLVR = "com.amazonaws.lambda#PublishLayerVersionRequest" -_PLVO = "PublishLayerVersionOutput" -_cPLVRo = "com.amazonaws.lambda#PublishLayerVersionResponse" -_PLV = "PublishLayerVersion" -_RLVPI = "RemoveLayerVersionPermissionInput" -_cRLVPR = "com.amazonaws.lambda#RemoveLayerVersionPermissionRequest" -_RLVPO = "RemoveLayerVersionPermissionOutput" -_RLVP = "RemoveLayerVersionPermission" -_MFEICLI = "MaxFunctionEventInvokeConfigListItems" -_LFEICI = "ListFunctionEventInvokeConfigsInput" -_cLFEICR = "com.amazonaws.lambda#ListFunctionEventInvokeConfigsRequest" -_FEIC = "FunctionEventInvokeConfig" -_FEICL = "FunctionEventInvokeConfigList" -_LFEICO = "ListFunctionEventInvokeConfigsOutput" -_cLFEICRo = "com.amazonaws.lambda#ListFunctionEventInvokeConfigsResponse" -_FEICu = "FunctionEventInvokeConfigs" -_LFEIC = "ListFunctionEventInvokeConfigs" -_TRa = "TaggableResource" -_LTI = "ListTagsInput" -_cLTR = "com.amazonaws.lambda#ListTagsRequest" -_Reso = "Resource" -_LTO = "ListTagsOutput" -_cLTRo = "com.amazonaws.lambda#ListTagsResponse" -_LTi = "ListTags" -_NSI = "NamespacedStatementId" -_RPI = "RemovePermissionInput" -_cRPR = "com.amazonaws.lambda#RemovePermissionRequest" -_RPO = "RemovePermissionOutput" -_RPe = "RemovePermission" -_DPCCI = "DeleteProvisionedConcurrencyConfigInput" -_cDPCCR = "com.amazonaws.lambda#DeleteProvisionedConcurrencyConfigRequest" -_DPCCO = "DeleteProvisionedConcurrencyConfigOutput" -_DPCC = "DeleteProvisionedConcurrencyConfig" -_GPCCI = "GetProvisionedConcurrencyConfigInput" -_cGPCCR = "com.amazonaws.lambda#GetProvisionedConcurrencyConfigRequest" -_GPCCO = "GetProvisionedConcurrencyConfigOutput" -_cGPCCRo = "com.amazonaws.lambda#GetProvisionedConcurrencyConfigResponse" -_PCCNFE = "ProvisionedConcurrencyConfigNotFoundException" -_GPCC = "GetProvisionedConcurrencyConfig" -_PPCCI = "PutProvisionedConcurrencyConfigInput" -_cPPCCR = "com.amazonaws.lambda#PutProvisionedConcurrencyConfigRequest" -_PCE = "ProvisionedConcurrentExecutions" -_PPCCO = "PutProvisionedConcurrencyConfigOutput" -_cPPCCRo = "com.amazonaws.lambda#PutProvisionedConcurrencyConfigResponse" -_PPCC = "PutProvisionedConcurrencyConfig" -_PFEICI = "PutFunctionEventInvokeConfigInput" -_cPFEICR = "com.amazonaws.lambda#PutFunctionEventInvokeConfigRequest" -_PFEICO = "PutFunctionEventInvokeConfigOutput" -_PFEIC = "PutFunctionEventInvokeConfig" -_PRPI = "PutResourcePolicyInput" -_cPRPR = "com.amazonaws.lambda#PutResourcePolicyRequest" -_PRPO = "PutResourcePolicyOutput" -_cPRPRo = "com.amazonaws.lambda#PutResourcePolicyResponse" -_PRP = "PutResourcePolicy" -_CTE = "CallbackTimeoutException" -_SDECFI = "SendDurableExecutionCallbackFailureInput" -_cSDECFR = "com.amazonaws.lambda#SendDurableExecutionCallbackFailureRequest" -_SDECFO = "SendDurableExecutionCallbackFailureOutput" -_cSDECFRo = "com.amazonaws.lambda#SendDurableExecutionCallbackFailureResponse" -_SDECF = "SendDurableExecutionCallbackFailure" -_SDECHI = "SendDurableExecutionCallbackHeartbeatInput" -_cSDECHR = "com.amazonaws.lambda#SendDurableExecutionCallbackHeartbeatRequest" -_SDECHO = "SendDurableExecutionCallbackHeartbeatOutput" -_cSDECHRo = "com.amazonaws.lambda#SendDurableExecutionCallbackHeartbeatResponse" -_SDECH = "SendDurableExecutionCallbackHeartbeat" -_BOP = "BinaryOperationPayload" -_SDECSI = "SendDurableExecutionCallbackSuccessInput" -_cSDECSR = "com.amazonaws.lambda#SendDurableExecutionCallbackSuccessRequest" -_SDECSO = "SendDurableExecutionCallbackSuccessOutput" -_cSDECSRo = "com.amazonaws.lambda#SendDurableExecutionCallbackSuccessResponse" -_SDECS = "SendDurableExecutionCallbackSuccess" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.lambda#TagResourceRequest" -_TRO = "TagResourceOutput" -_TRag = "TagResource" -_TKL = "TagKeyList" -_sN = "smithy.api#xmlName" -_K = "Key" -_URIn = "UntagResourceInput" -_cURR = "com.amazonaws.lambda#UntagResourceRequest" -_TKa = "TagKeys" -_tK = "tagKeys" -_UROn = "UntagResourceOutput" -_UR = "UntagResource" -_UFEICI = "UpdateFunctionEventInvokeConfigInput" -_cUFEICR = "com.amazonaws.lambda#UpdateFunctionEventInvokeConfigRequest" -_UFEICO = "UpdateFunctionEventInvokeConfigOutput" -_UFEIC = "UpdateFunctionEventInvokeConfig" -_AWSGAS = "AWSGirApiService" -_aw = "aws.api#service" -_aws = "aws.auth#sigv4" -_aJ = "aws.protocols#restJson1" - -LONG: StaticSchema = (8, n0, _L, {_s: 0}) - -INTEGER: StaticSchema = (7, n0, _I, {_s: 0}) - -UNRESERVED_CONCURRENT_EXECUTIONS: StaticSchema = (7, n0, _UCE, 0) - -ACCOUNT_LIMIT: StaticSchema = ( - 18, - n0, - _AL, - 0, - (_TCS, _CSU, _CSZ, _CE, _UCE), - ( - (LONG, {_s: 0}), - (LONG, {_s: 0}), - (LONG, {_s: 0}), - (INTEGER, {_s: 0}), - (UNRESERVED_CONCURRENT_EXECUTIONS, 0), - ), -) - -ACCOUNT_USAGE: StaticSchema = ( - 18, - n0, - _AU, - 0, - (_TCS, _FC), - ((LONG, {_s: 0}), (LONG, {_s: 0})), -) - -ACTION: StaticSchema = (3, n0, _A, 0) - -ADDITIONAL_VERSION: StaticSchema = (3, n0, _AV, 0) - -WEIGHT: StaticSchema = (10, n0, _W, {_s: 0}) - -ADDITIONAL_VERSION_WEIGHTS: StaticSchema = ( - 17, - n0, - _AVW, - 0, - (_k, _v), - ((ADDITIONAL_VERSION, 0), (WEIGHT, 0)), -) - -LAYER_PERMISSION_ALLOWED_ACTION: StaticSchema = (3, n0, _LPAA, 0) - -LAYER_NAME: StaticSchema = (3, n0, _LN, 0) - -ORGANIZATION_ID: StaticSchema = (3, n0, _OI, 0) - -LAYER_PERMISSION_ALLOWED_PRINCIPAL: StaticSchema = (3, n0, _LPAP, 0) - -STRING: StaticSchema = (3, n0, _S, 0) - -STATEMENT_ID: StaticSchema = (3, n0, _SI, 0) - -LAYER_VERSION_NUMBER: StaticSchema = (8, n0, _LVN, {_s: 0}) - -ADD_LAYER_VERSION_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _ALVPI, - {_sSI: _cALVPR, _sm: None}, - (_LN, _VN, _SI, _A, _P, _OI, _RI), - ( - (LAYER_NAME, 9), - (LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None}), - (STATEMENT_ID, 1), - (LAYER_PERMISSION_ALLOWED_ACTION, 1), - (LAYER_PERMISSION_ALLOWED_PRINCIPAL, 1), - (ORGANIZATION_ID, 0), - (STRING, {_sQ: _RI}), - ), -) - -ADD_LAYER_VERSION_PERMISSION_OUTPUT: StaticSchema = ( - 18, - n0, - _ALVPO, - {_sSI: _cALVPRo, _smit: None}, - (_St, _RI), - ((STRING, 0), (STRING, 0)), -) - -INVALID_PARAMETER_VALUE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPVE, - {_smith: _c, _sE: 400}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -POLICY_LENGTH_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _PLEE, - {_smith: _c, _sE: 400}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -PRECONDITION_FAILED_EXCEPTION: StaticSchema = ( - 18, - n0, - _PFE, - {_smith: _c, _sE: 412}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -RESOURCE_CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _RCE, - {_smith: _c, _sE: 409}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_smith: _c, _sE: 404}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -SERVICE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SE, - {_smith: _se, _sE: 500}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -THROTTLE_REASON: StaticSchema = ( - 14, - n0, - _TR, - 0, - (_CILE, _FIRLE, _RFCILE, _RFIRLE, _CRLE, _CSCLE), - ( - (-1, {_sV: _CILE}), - (-1, {_sV: _FIRLE}), - (-1, {_sV: _RFCILE}), - (-1, {_sV: _RFIRLE}), - (-1, {_sV: _CRLE}), - (-1, {_sV: _CSCLE}), - ), -) - -TOO_MANY_REQUESTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TMRE, - {_smith: _c, _sE: 429}, - (_rAS, _T, _m, _R), - ((STRING, {_sH: _RA}), (STRING, 0), (STRING, 0), (THROTTLE_REASON, 0)), -) - -ADD_LAYER_VERSION_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _ALVP, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", - "code": 201, - } - ) - }, - ADD_LAYER_VERSION_PERMISSION_INPUT, - ADD_LAYER_VERSION_PERMISSION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - POLICY_LENGTH_EXCEEDED_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -EVENT_SOURCE_TOKEN: StaticSchema = (3, n0, _EST, 0) - -NAMESPACED_FUNCTION_NAME: StaticSchema = (3, n0, _NFN, 0) - -FUNCTION_URL_AUTH_TYPE: StaticSchema = ( - 14, - n0, - _FUAT, - 0, - (_NONE, _AI), - ((-1, {_sV: _NONE}), (-1, {_sV: _AI})), -) - -INVOKED_VIA_FUNCTION_URL: StaticSchema = (2, n0, _IVFU, 0) - -PRINCIPAL: StaticSchema = (3, n0, _P, 0) - -PRINCIPAL_ORG_ID: StaticSchema = (3, n0, _POID, 0) - -NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER: StaticSchema = (3, n0, _NLPOAQ, 0) - -SOURCE_OWNER: StaticSchema = (3, n0, _SO, 0) - -ARN: StaticSchema = (3, n0, _Ar, 0) - -ADD_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _API, - {_sSI: _cAPR, _sm: None}, - (_FN, _SI, _A, _P, _SA, _FUAT, _IVFU, _SAo, _EST, _Q, _RI, _POID), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (STATEMENT_ID, 1), - (ACTION, 1), - (PRINCIPAL, 1), - (ARN, 0), - (FUNCTION_URL_AUTH_TYPE, 0), - (INVOKED_VIA_FUNCTION_URL, 0), - (SOURCE_OWNER, 0), - (EVENT_SOURCE_TOKEN, 0), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - (STRING, 0), - (PRINCIPAL_ORG_ID, 0), - ), -) - -ADD_PERMISSION_OUTPUT: StaticSchema = ( - 18, - n0, - _APO, - {_sSI: _cAPRo, _smit: None}, - (_St,), - ((STRING, 0),), -) - -PUBLIC_POLICY_EXCEPTION: StaticSchema = ( - 18, - n0, - _PPE, - {_smith: _c, _sE: 400}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -ADD_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _AP, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2015-03-31/functions/{FunctionName}/policy", - "code": 201, - } - ) - }, - ADD_PERMISSION_INPUT, - ADD_PERMISSION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - POLICY_LENGTH_EXCEEDED_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - PUBLIC_POLICY_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -ALIAS: StaticSchema = (3, n0, _Al, 0) - -FUNCTION_ARN: StaticSchema = (3, n0, _FA, 0) - -DESCRIPTION: StaticSchema = (3, n0, _D, 0) - -VERSION: StaticSchema = (3, n0, _V, 0) - -ALIAS_ROUTING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ARC, - 0, - (_AVW,), - ((ADDITIONAL_VERSION_WEIGHTS, 0),), -) - -ALIAS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AC, - 0, - (_AA, _N, _FV, _D, _RC, _RI), - ( - (FUNCTION_ARN, 0), - (ALIAS, 0), - (VERSION, 0), - (DESCRIPTION, 0), - (ALIAS_ROUTING_CONFIGURATION, 0), - (STRING, 0), - ), -) - -ALIAS_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ALEE, - {_smith: _c, _sE: 400}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -ALIAS_LIST: StaticSchema = (16, n0, _ALl, 0, (_me,), ((ALIAS_CONFIGURATION, 0),)) - -ALLOW_CREDENTIALS: StaticSchema = (2, n0, _ACl, 0) - -SIGNING_PROFILE_VERSION_ARNS: StaticSchema = (16, n0, _SPVA, 0, (_me,), ((ARN, 0),)) - -ALLOWED_PUBLISHERS: StaticSchema = ( - 18, - n0, - _APl, - 0, - (_SPVA,), - ((SIGNING_PROFILE_VERSION_ARNS, 1),), -) - -METHOD: StaticSchema = (3, n0, _Me, 0) - -ALLOW_METHODS_LIST: StaticSchema = (16, n0, _AML, 0, (_me,), ((METHOD, 0),)) - -ORIGIN: StaticSchema = (3, n0, _O, 0) - -ALLOW_ORIGINS_LIST: StaticSchema = (16, n0, _AOL, 0, (_me,), ((ORIGIN, 0),)) - -URI: StaticSchema = (3, n0, _URI, 0) - -KAFKA_SCHEMA_REGISTRY_AUTH_TYPE: StaticSchema = ( - 14, - n0, - _KSRAT, - 0, - (_BA, _CCTA, _SRCC, _OA), - ((-1, {_sV: _BA}), (-1, {_sV: _CCTA}), (-1, {_sV: _SRCC}), (-1, {_sV: _OA})), -) - -KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG: StaticSchema = ( - 18, - n0, - _KSRAC, - 0, - (_T, _URI), - ((KAFKA_SCHEMA_REGISTRY_AUTH_TYPE, 0), (ARN, 0)), -) - -KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _KSRACL, - 0, - (_me,), - ((KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG, 0),), -) - -SCHEMA_REGISTRY_EVENT_RECORD_FORMAT: StaticSchema = ( - 14, - n0, - _SRERF, - 0, - (_JSON, _SOURCE), - ((-1, {_sV: _JSON}), (-1, {_sV: _SOURCE})), -) - -SCHEMA_REGISTRY_URI: StaticSchema = (3, n0, _SRU, 0) - -KAFKA_SCHEMA_VALIDATION_ATTRIBUTE: StaticSchema = ( - 14, - n0, - _KSVA, - 0, - (_KEY, _VALUE), - ((-1, {_sV: _KEY}), (-1, {_sV: _VALUE})), -) - -KAFKA_SCHEMA_VALIDATION_CONFIG: StaticSchema = ( - 18, - n0, - _KSVC, - 0, - (_At,), - ((KAFKA_SCHEMA_VALIDATION_ATTRIBUTE, 0),), -) - -KAFKA_SCHEMA_VALIDATION_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _KSVCL, - 0, - (_me,), - ((KAFKA_SCHEMA_VALIDATION_CONFIG, 0),), -) - -KAFKA_SCHEMA_REGISTRY_CONFIG: StaticSchema = ( - 18, - n0, - _KSRC, - 0, - (_SRURI, _ERF, _ACc, _SVC), - ( - (SCHEMA_REGISTRY_URI, 0), - (SCHEMA_REGISTRY_EVENT_RECORD_FORMAT, 0), - (KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG_LIST, 0), - (KAFKA_SCHEMA_VALIDATION_CONFIG_LIST, 0), - ), -) - -AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG: StaticSchema = ( - 18, - n0, - _AMKESC, - 0, - (_CGI, _SRC), - ((URI, 0), (KAFKA_SCHEMA_REGISTRY_CONFIG, 0)), -) - -APPLICATION_LOG_LEVEL: StaticSchema = ( - 14, - n0, - _ALL, - 0, - (_Tr, _De, _In, _Wa, _E, _F), - ( - (-1, {_sV: _TRACE}), - (-1, {_sV: _DEBUG}), - (-1, {_sV: _INFO}), - (-1, {_sV: _WARN}), - (-1, {_sV: _ERROR}), - (-1, {_sV: _FATAL}), - ), -) - -ARCHITECTURE: StaticSchema = ( - 14, - n0, - _Arc, - 0, - (_x, _a), - ((-1, {_sV: _x}), (-1, {_sV: _a})), -) - -ARCHITECTURES_LIST: StaticSchema = (16, n0, _ALr, 0, (_me,), ((ARCHITECTURE, 0),)) - -ATTEMPT_COUNT: StaticSchema = (7, n0, _ACt, {_s: 0}) - -CAPACITY_PROVIDER_NAME: StaticSchema = (3, n0, _CPN, 0) - -CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CPLEE, - {_smith: _c, _sE: 400}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -CAPACITY_PROVIDER_MAX_V_CPU_COUNT: StaticSchema = (7, n0, _CPMVCC, 0) - -CAPACITY_PROVIDER_SCALING_MODE: StaticSchema = ( - 14, - n0, - _CPSM, - 0, - (_Au, _Ma), - ((-1, {_sV: _Au}), (-1, {_sV: _Ma})), -) - -CAPACITY_PROVIDER_PREDEFINED_METRIC_TYPE: StaticSchema = ( - 14, - n0, - _CPPMT, - 0, - (_LCPACPUU,), - ((-1, {_sV: _LCPACPUU}),), -) - -METRIC_TARGET_VALUE: StaticSchema = (10, n0, _MTV, 0) - -TARGET_TRACKING_SCALING_POLICY: StaticSchema = ( - 18, - n0, - _TTSP, - 0, - (_PMT, _TV), - ((CAPACITY_PROVIDER_PREDEFINED_METRIC_TYPE, 1), (METRIC_TARGET_VALUE, 1)), -) - -CAPACITY_PROVIDER_SCALING_POLICIES_LIST: StaticSchema = ( - 16, - n0, - _CPSPL, - 0, - (_me,), - ((TARGET_TRACKING_SCALING_POLICY, 0),), -) - -CAPACITY_PROVIDER_SCALING_CONFIG: StaticSchema = ( - 18, - n0, - _CPSC, - 0, - (_MVCC, _SM, _SP), - ( - (CAPACITY_PROVIDER_MAX_V_CPU_COUNT, 0), - (CAPACITY_PROVIDER_SCALING_MODE, 0), - (CAPACITY_PROVIDER_SCALING_POLICIES_LIST, 0), - ), -) - -INSTANCE_TYPE: StaticSchema = (3, n0, _IT, 0) - -INSTANCE_TYPE_SET: StaticSchema = (16, n0, _ITS, 0, (_me,), ((INSTANCE_TYPE, 0),)) - -INSTANCE_REQUIREMENTS: StaticSchema = ( - 18, - n0, - _IR, - 0, - (_Arch, _AIT, _EIT), - ((ARCHITECTURES_LIST, 0), (INSTANCE_TYPE_SET, 0), (INSTANCE_TYPE_SET, 0)), -) - -KMS_KEY_ARN_NON_EMPTY: StaticSchema = (3, n0, _KMSKANE, 0) - -ROLE_ARN: StaticSchema = (3, n0, _RAo, 0) - -CAPACITY_PROVIDER_PERMISSIONS_CONFIG: StaticSchema = ( - 18, - n0, - _CPPC, - 0, - (_CPORA,), - ((ROLE_ARN, 1),), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TVa, 0) - -TAGS: StaticSchema = (17, n0, _Ta, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -PROPAGATE_TAGS_MODE: StaticSchema = ( - 14, - n0, - _PTM, - 0, - (_No, _Ex), - ((-1, {_sV: _No}), (-1, {_sV: _Ex})), -) - -PROPAGATE_TAGS: StaticSchema = ( - 18, - n0, - _PT, - 0, - (_Mo, _ET), - ((PROPAGATE_TAGS_MODE, 0), (TAGS, 0)), -) - -LOG_GROUP: StaticSchema = (3, n0, _LG, 0) - -SYSTEM_LOG_LEVEL: StaticSchema = ( - 14, - n0, - _SLL, - 0, - (_De, _In, _Wa), - ((-1, {_sV: _DEBUG}), (-1, {_sV: _INFO}), (-1, {_sV: _WARN})), -) - -CAPACITY_PROVIDER_LOGGING_CONFIG: StaticSchema = ( - 18, - n0, - _CPLC, - 0, - (_SLL, _LG), - ((SYSTEM_LOG_LEVEL, 0), (LOG_GROUP, 0)), -) - -CAPACITY_PROVIDER_TELEMETRY_CONFIG: StaticSchema = ( - 18, - n0, - _CPTC, - 0, - (_LC,), - ((CAPACITY_PROVIDER_LOGGING_CONFIG, 0),), -) - -SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGI, 0) - -CAPACITY_PROVIDER_SECURITY_GROUP_IDS: StaticSchema = ( - 16, - n0, - _CPSGI, - 0, - (_me,), - ((SECURITY_GROUP_ID, 0),), -) - -SUBNET_ID: StaticSchema = (3, n0, _SIu, 0) - -CAPACITY_PROVIDER_SUBNET_IDS: StaticSchema = ( - 16, - n0, - _CPSI, - 0, - (_me,), - ((SUBNET_ID, 0),), -) - -CAPACITY_PROVIDER_VPC_CONFIG: StaticSchema = ( - 18, - n0, - _CPVC, - 0, - (_SIub, _SGIe), - ((CAPACITY_PROVIDER_SUBNET_IDS, 1), (CAPACITY_PROVIDER_SECURITY_GROUP_IDS, 1)), -) - -CREATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _CCPI, - {_sSI: _cCCPR, _sm: None}, - (_CPN, _VC, _PC, _IR, _CPSC, _KKA, _Ta, _PT, _TC), - ( - (CAPACITY_PROVIDER_NAME, 1), - (CAPACITY_PROVIDER_VPC_CONFIG, 1), - (CAPACITY_PROVIDER_PERMISSIONS_CONFIG, 1), - (INSTANCE_REQUIREMENTS, 0), - (CAPACITY_PROVIDER_SCALING_CONFIG, 0), - (KMS_KEY_ARN_NON_EMPTY, 0), - (TAGS, 0), - (PROPAGATE_TAGS, 0), - (CAPACITY_PROVIDER_TELEMETRY_CONFIG, 0), - ), -) - -CAPACITY_PROVIDER_ARN: StaticSchema = (3, n0, _CPA, 0) - -KMS_KEY_ARN: StaticSchema = (3, n0, _KMSKA, 0) - -TIMESTAMP: StaticSchema = (3, n0, _Ti, 0) - -CAPACITY_PROVIDER_STATE: StaticSchema = ( - 14, - n0, - _CPS, - 0, - (_Pe, _Ac, _Fa, _Del), - ((-1, {_sV: _Pe}), (-1, {_sV: _Ac}), (-1, {_sV: _Fa}), (-1, {_sV: _Del})), -) - -CAPACITY_PROVIDER: StaticSchema = ( - 18, - n0, - _CP, - 0, - (_CPA, _Sta, _VC, _PC, _IR, _CPSC, _KKA, _LM, _PT, _TC), - ( - (CAPACITY_PROVIDER_ARN, 1), - (CAPACITY_PROVIDER_STATE, 1), - (CAPACITY_PROVIDER_VPC_CONFIG, 1), - (CAPACITY_PROVIDER_PERMISSIONS_CONFIG, 1), - (INSTANCE_REQUIREMENTS, 0), - (CAPACITY_PROVIDER_SCALING_CONFIG, 0), - (KMS_KEY_ARN, 0), - (TIMESTAMP, 0), - (PROPAGATE_TAGS, 0), - (CAPACITY_PROVIDER_TELEMETRY_CONFIG, 0), - ), -) - -CREATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _CCPO, - {_sSI: _cCCPRo, _smit: None}, - (_CP,), - ((CAPACITY_PROVIDER, 1),), -) - -CREATE_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _CCP, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2025-11-30/capacity-providers", "code": 202} - ) - }, - CREATE_CAPACITY_PROVIDER_INPUT, - CREATE_CAPACITY_PROVIDER_OUTPUT, - ( - CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DELETE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _DCPI, - {_sSI: _cDCPR, _sm: None}, - (_CPN,), - ((CAPACITY_PROVIDER_NAME, 9),), -) - -DELETE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _DCPO, - {_sSI: _cDCPRo, _smit: None}, - (_CP,), - ((CAPACITY_PROVIDER, 1),), -) - -DELETE_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _DCP, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2025-11-30/capacity-providers/{CapacityProviderName}", - "code": 202, - } - ) - }, - DELETE_CAPACITY_PROVIDER_INPUT, - DELETE_CAPACITY_PROVIDER_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _GCPI, - {_sSI: _cGCPR, _sm: None}, - (_CPN,), - ((CAPACITY_PROVIDER_NAME, 9),), -) - -GET_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _GCPO, - {_sSI: _cGCPRo, _smit: None}, - (_CP,), - ((CAPACITY_PROVIDER, 1),), -) - -GET_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _GCP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2025-11-30/capacity-providers/{CapacityProviderName}", - "code": 200, - } - ) - }, - GET_CAPACITY_PROVIDER_INPUT, - GET_CAPACITY_PROVIDER_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -MAX_FIFTY_LIST_ITEMS: StaticSchema = (7, n0, _MFLI, 0) - -LIST_CAPACITY_PROVIDERS_INPUT: StaticSchema = ( - 18, - n0, - _LCPI, - {_sSI: _cLCPR, _sm: None}, - (_Sta, _Mar, _MI), - ( - (CAPACITY_PROVIDER_STATE, {_sQ: _Sta}), - (STRING, {_sQ: _Mar}), - (MAX_FIFTY_LIST_ITEMS, {_sQ: _MI}), - ), -) - -CAPACITY_PROVIDERS_LIST: StaticSchema = ( - 16, - n0, - _CPL, - 0, - (_me,), - ((CAPACITY_PROVIDER, 0),), -) - -LIST_CAPACITY_PROVIDERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCPO, - {_sSI: _cLCPRo, _smit: None}, - (_CPa, _NM), - ((CAPACITY_PROVIDERS_LIST, 1), (STRING, 0)), -) - -LIST_CAPACITY_PROVIDERS: StaticOperationSchema = ( - 23, - n0, - _LCP, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2025-11-30/capacity-providers", "code": 200} - ) - }, - LIST_CAPACITY_PROVIDERS_INPUT, - LIST_CAPACITY_PROVIDERS_OUTPUT, - (INVALID_PARAMETER_VALUE_EXCEPTION, SERVICE_EXCEPTION, TOO_MANY_REQUESTS_EXCEPTION), -) - -LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _LFVBCPI, - {_sSI: _cLFVBCPR, _sm: None}, - (_CPN, _Mar, _MI), - ( - (CAPACITY_PROVIDER_NAME, 9), - (STRING, {_sQ: _Mar}), - (MAX_FIFTY_LIST_ITEMS, {_sQ: _MI}), - ), -) - -NAME_SPACED_FUNCTION_ARN: StaticSchema = (3, n0, _NSFA, 0) - -STATE: StaticSchema = ( - 14, - n0, - _Sta, - 0, - (_Pe, _Ac, _Ina, _Fa, _Dea, _Deac, _ANI, _Del), - ( - (-1, {_sV: _Pe}), - (-1, {_sV: _Ac}), - (-1, {_sV: _Ina}), - (-1, {_sV: _Fa}), - (-1, {_sV: _Dea}), - (-1, {_sV: _Deac}), - (-1, {_sV: _ANI}), - (-1, {_sV: _Del}), - ), -) - -FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST_ITEM: StaticSchema = ( - 18, - n0, - _FVBCPLI, - 0, - (_FA, _Sta), - ((NAME_SPACED_FUNCTION_ARN, 1), (STATE, 1)), -) - -FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST: StaticSchema = ( - 16, - n0, - _FVBCPL, - 0, - (_me,), - ((FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST_ITEM, 0),), -) - -LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _LFVBCPO, - {_sSI: _cLFVBCPRo, _smit: None}, - (_CPA, _FVu, _NM), - ( - (CAPACITY_PROVIDER_ARN, 1), - (FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST, 1), - (STRING, 0), - ), -) - -LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _LFVBCP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2025-11-30/capacity-providers/{CapacityProviderName}/function-versions", - "code": 200, - } - ) - }, - LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_INPUT, - LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UPDATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( - 18, - n0, - _UCPI, - {_sSI: _cUCPR, _sm: None}, - (_CPN, _CPSC, _PT, _TC), - ( - (CAPACITY_PROVIDER_NAME, 9), - (CAPACITY_PROVIDER_SCALING_CONFIG, 0), - (PROPAGATE_TAGS, 0), - (CAPACITY_PROVIDER_TELEMETRY_CONFIG, 0), - ), -) - -UPDATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( - 18, - n0, - _UCPO, - {_sSI: _cUCPRo, _smit: None}, - (_CP,), - ((CAPACITY_PROVIDER, 1),), -) - -UPDATE_CAPACITY_PROVIDER: StaticOperationSchema = ( - 23, - n0, - _UCP, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2025-11-30/capacity-providers/{CapacityProviderName}", - "code": 202, - } - ) - }, - UPDATE_CAPACITY_PROVIDER_INPUT, - UPDATE_CAPACITY_PROVIDER_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -CODE_SIGNING_CONFIG_ID: StaticSchema = (3, n0, _CSCI, 0) - -CODE_SIGNING_POLICY: StaticSchema = ( - 14, - n0, - _CSP, - 0, - (_Wa, _En), - ((-1, {_sV: _Wa}), (-1, {_sV: _En})), -) - -CODE_SIGNING_POLICIES: StaticSchema = ( - 18, - n0, - _CSPo, - 0, - (_UAOD,), - ((CODE_SIGNING_POLICY, 0),), -) - -CREATE_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _CCSCI, - {_sSI: _cCCSCR, _sm: None}, - (_D, _APl, _CSPo, _Ta), - ((DESCRIPTION, 0), (ALLOWED_PUBLISHERS, 1), (CODE_SIGNING_POLICIES, 0), (TAGS, 0)), -) - -CODE_SIGNING_CONFIG_ARN: StaticSchema = (3, n0, _CSCA, 0) - -CODE_SIGNING_CONFIG: StaticSchema = ( - 18, - n0, - _CSC, - 0, - (_CSCI, _CSCA, _D, _APl, _CSPo, _LM), - ( - (CODE_SIGNING_CONFIG_ID, 1), - (CODE_SIGNING_CONFIG_ARN, 1), - (DESCRIPTION, 0), - (ALLOWED_PUBLISHERS, 1), - (CODE_SIGNING_POLICIES, 1), - (TIMESTAMP, 1), - ), -) - -CREATE_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _CCSCO, - {_sSI: _cCCSCRo, _smit: None}, - (_CSC,), - ((CODE_SIGNING_CONFIG, 1),), -) - -CREATE_CODE_SIGNING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _CCSC, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2020-04-22/code-signing-configs", "code": 201} - ) - }, - CREATE_CODE_SIGNING_CONFIG_INPUT, - CREATE_CODE_SIGNING_CONFIG_OUTPUT, - (INVALID_PARAMETER_VALUE_EXCEPTION, SERVICE_EXCEPTION), -) - -DELETE_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _DCSCI, - {_sSI: _cDCSCR, _sm: None}, - (_CSCA,), - ((CODE_SIGNING_CONFIG_ARN, 9),), -) - -DELETE_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _DCSCO, - {_sSI: _cDCSCRo, _smit: None}, -) - -DELETE_CODE_SIGNING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _DCSC, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}", - "code": 204, - } - ) - }, - DELETE_CODE_SIGNING_CONFIG_INPUT, - DELETE_CODE_SIGNING_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - ), -) - -GET_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GCSCI, - {_sSI: _cGCSCR, _sm: None}, - (_CSCA,), - ((CODE_SIGNING_CONFIG_ARN, 9),), -) - -GET_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GCSCO, - {_sSI: _cGCSCRo, _smit: None}, - (_CSC,), - ((CODE_SIGNING_CONFIG, 1),), -) - -GET_CODE_SIGNING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GCSC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}", - "code": 200, - } - ) - }, - GET_CODE_SIGNING_CONFIG_INPUT, - GET_CODE_SIGNING_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - ), -) - -MAX_LIST_ITEMS: StaticSchema = (7, n0, _MLI, 0) - -LIST_CODE_SIGNING_CONFIGS_INPUT: StaticSchema = ( - 18, - n0, - _LCSCI, - {_sSI: _cLCSCR, _sm: None}, - (_Mar, _MI), - ((STRING, {_sQ: _Mar}), (MAX_LIST_ITEMS, {_sQ: _MI})), -) - -CODE_SIGNING_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _CSCL, - 0, - (_me,), - ((CODE_SIGNING_CONFIG, 0),), -) - -LIST_CODE_SIGNING_CONFIGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCSCO, - {_sSI: _cLCSCRo, _smit: None}, - (_NM, _CSCo), - ((STRING, 0), (CODE_SIGNING_CONFIG_LIST, 0)), -) - -LIST_CODE_SIGNING_CONFIGS: StaticOperationSchema = ( - 23, - n0, - _LCSC, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2020-04-22/code-signing-configs", "code": 200} - ) - }, - LIST_CODE_SIGNING_CONFIGS_INPUT, - LIST_CODE_SIGNING_CONFIGS_OUTPUT, - (INVALID_PARAMETER_VALUE_EXCEPTION, SERVICE_EXCEPTION), -) - -LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _LFBCSCI, - {_sSI: _cLFBCSCR, _sm: None}, - (_CSCA, _Mar, _MI), - ((CODE_SIGNING_CONFIG_ARN, 9), (STRING, {_sQ: _Mar}), (MAX_LIST_ITEMS, {_sQ: _MI})), -) - -FUNCTION_ARN_LIST: StaticSchema = (16, n0, _FAL, 0, (_me,), ((FUNCTION_ARN, 0),)) - -LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _LFBCSCO, - {_sSI: _cLFBCSCRo, _smit: None}, - (_NM, _FAu), - ((STRING, 0), (FUNCTION_ARN_LIST, 0)), -) - -LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _LFBCSC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions", - "code": 200, - } - ) - }, - LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_INPUT, - LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - ), -) - -UPDATE_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _UCSCI, - {_sSI: _cUCSCR, _sm: None}, - (_CSCA, _D, _APl, _CSPo), - ( - (CODE_SIGNING_CONFIG_ARN, 9), - (DESCRIPTION, 0), - (ALLOWED_PUBLISHERS, 0), - (CODE_SIGNING_POLICIES, 0), - ), -) - -UPDATE_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _UCSCO, - {_sSI: _cUCSCRo, _smit: None}, - (_CSC,), - ((CODE_SIGNING_CONFIG, 1),), -) - -UPDATE_CODE_SIGNING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _UCSC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}", - "code": 200, - } - ) - }, - UPDATE_CODE_SIGNING_CONFIG_INPUT, - UPDATE_CODE_SIGNING_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - ), -) - -DELETE_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _DFI, - {_sSI: _cDFR, _sm: None}, - (_FN, _Q), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - ), -) - -DELETE_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DFO, - {_sSI: _cDFRo, _smit: None}, - (_SC,), - ((INTEGER, {_s: 0, _sRC: None}),), -) - -DELETE_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _DF, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2015-03-31/functions/{FunctionName}"} - ) - }, - DELETE_FUNCTION_INPUT, - DELETE_FUNCTION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DELETE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _DFEICI, - {_sSI: _cDFEICR, _sm: None}, - (_FN, _Q), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - ), -) - -DELETE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _DFEICO, - {_sSI: _sU, _smit: None}, -) - -DELETE_FUNCTION_EVENT_INVOKE_CONFIG: StaticOperationSchema = ( - 23, - n0, - _DFEIC, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config", - "code": 204, - } - ) - }, - DELETE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT, - DELETE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -POLICY_RESOURCE_ARN: StaticSchema = (3, n0, _PRA, 0) - -REVISION_ID: StaticSchema = (3, n0, _RI, 0) - -DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_sSI: _cDRPR, _sm: None}, - (_RAe, _RI), - ((POLICY_RESOURCE_ARN, 9), (REVISION_ID, {_sQ: _RI})), -) - -DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPO, {_sSI: _sU, _smit: None}) - -DELETE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2026-07-09/resource-policy/{ResourceArn}", - "code": 204, - } - ) - }, - DELETE_RESOURCE_POLICY_INPUT, - DELETE_RESOURCE_POLICY_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -CHECKPOINT_TOKEN: StaticSchema = (3, n0, _CT, 0) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) - -DURABLE_EXECUTION_ARN: StaticSchema = (3, n0, _DEA, 0) - -OPERATION_ACTION: StaticSchema = ( - 14, - n0, - _OAp, - 0, - (_START, _SUCCEED, _FAIL, _RETRY, _CANCEL), - ( - (-1, {_sV: _START}), - (-1, {_sV: _SUCCEED}), - (-1, {_sV: _FAIL}), - (-1, {_sV: _RETRY}), - (-1, {_sV: _CANCEL}), - ), -) - -DURATION_SECONDS: StaticSchema = (7, n0, _DS, 0) - -CALLBACK_OPTIONS: StaticSchema = ( - 18, - n0, - _CO, - 0, - (_TS, _HTS), - ((DURATION_SECONDS, {_s: 0}), (DURATION_SECONDS, {_s: 0})), -) - -TENANT_ID: StaticSchema = (3, n0, _TI, 0) - -X_AMZN_TRACE_ID: StaticSchema = (3, n0, _XATI, 0) - -CHAINED_INVOKE_OPTIONS: StaticSchema = ( - 18, - n0, - _CIO, - 0, - (_FN, _TI, _XATI), - ((NAMESPACED_FUNCTION_NAME, 1), (TENANT_ID, 0), (X_AMZN_TRACE_ID, 0)), -) - -REPLAY_CHILDREN: StaticSchema = (2, n0, _RCe, 0) - -CONTEXT_OPTIONS: StaticSchema = (18, n0, _COo, 0, (_RCe,), ((REPLAY_CHILDREN, 0),)) - -ERROR_DATA: StaticSchema = (3, n0, _ED, 4) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 4) - -ERROR_TYPE: StaticSchema = (3, n0, _ETr, 4) - -STACK_TRACE_ENTRY: StaticSchema = (3, n0, _STE, 4) - -STACK_TRACE_ENTRIES: StaticSchema = ( - 16, - n0, - _STEt, - 0, - (_me,), - ((STACK_TRACE_ENTRY, 0),), -) - -ERROR_OBJECT: StaticSchema = ( - 18, - n0, - _EO, - 0, - (_EM, _ETr, _ED, _ST), - ((ERROR_MESSAGE, 0), (ERROR_TYPE, 0), (ERROR_DATA, 0), (STACK_TRACE_ENTRIES, 0)), -) - -OPERATION_ID: StaticSchema = (3, n0, _OIp, 0) - -OPERATION_NAME: StaticSchema = (3, n0, _ON, 0) - -OPERATION_PAYLOAD: StaticSchema = (3, n0, _OP, 4) - -STEP_OPTIONS: StaticSchema = (18, n0, _SOt, 0, (_NADS,), ((DURATION_SECONDS, 0),)) - -OPERATION_SUB_TYPE: StaticSchema = (3, n0, _OST, 0) - -OPERATION_TYPE: StaticSchema = ( - 14, - n0, - _OT, - 0, - (_EXECUTION, _CONTEXT, _STEP, _WAIT, _CALLBACK, _CI), - ( - (-1, {_sV: _EXECUTION}), - (-1, {_sV: _CONTEXT}), - (-1, {_sV: _STEP}), - (-1, {_sV: _WAIT}), - (-1, {_sV: _CALLBACK}), - (-1, {_sV: _CI}), - ), -) - -WAIT_OPTIONS: StaticSchema = (18, n0, _WO, 0, (_WS,), ((DURATION_SECONDS, 0),)) - -OPERATION_UPDATE: StaticSchema = ( - 18, - n0, - _OU, - 0, - (_Id, _PI, _N, _T, _STu, _A, _Pa, _E, _COo, _SOt, _WO, _CO, _CIO), - ( - (OPERATION_ID, 1), - (OPERATION_ID, 0), - (OPERATION_NAME, 0), - (OPERATION_TYPE, 1), - (OPERATION_SUB_TYPE, 0), - (OPERATION_ACTION, 1), - (OPERATION_PAYLOAD, 0), - (ERROR_OBJECT, 0), - (CONTEXT_OPTIONS, 0), - (STEP_OPTIONS, 0), - (WAIT_OPTIONS, 0), - (CALLBACK_OPTIONS, 0), - (CHAINED_INVOKE_OPTIONS, 0), - ), -) - -OPERATION_UPDATES: StaticSchema = (16, n0, _OUp, 0, (_me,), ((OPERATION_UPDATE, 0),)) - -CHECKPOINT_DURABLE_EXECUTION_INPUT: StaticSchema = ( - 18, - n0, - _CDEI, - {_sSI: _cCDER, _sm: None}, - (_DEA, _CT, _U, _CTl), - ( - (DURABLE_EXECUTION_ARN, 9), - (CHECKPOINT_TOKEN, 1), - (OPERATION_UPDATES, 0), - (CLIENT_TOKEN, 2), - ), -) - -CALLBACK_ID: StaticSchema = (3, n0, _CIa, 0) - -CALLBACK_DETAILS: StaticSchema = ( - 18, - n0, - _CD, - 0, - (_CIa, _Re, _E), - ((CALLBACK_ID, 0), (OPERATION_PAYLOAD, 0), (ERROR_OBJECT, 0)), -) - -CHAINED_INVOKE_DETAILS: StaticSchema = ( - 18, - n0, - _CID, - 0, - (_Re, _E), - ((OPERATION_PAYLOAD, 0), (ERROR_OBJECT, 0)), -) - -CONTEXT_DETAILS: StaticSchema = ( - 18, - n0, - _CDo, - 0, - (_RCe, _Re, _E), - ((REPLAY_CHILDREN, 0), (OPERATION_PAYLOAD, 0), (ERROR_OBJECT, 0)), -) - -EXECUTION_TIMESTAMP: StaticSchema = (4, n0, _ETx, 0) - -INPUT_PAYLOAD: StaticSchema = (3, n0, _IP, 4) - -EXECUTION_DETAILS: StaticSchema = (18, n0, _EDx, 0, (_IP,), ((INPUT_PAYLOAD, 0),)) - -OPERATION_STATUS: StaticSchema = ( - 14, - n0, - _OS, - 0, - (_STARTED, _PENDING, _READY, _SUCCEEDED, _FAILED, _CANCELLED, _TO, _STOPPED), - ( - (-1, {_sV: _STARTED}), - (-1, {_sV: _PENDING}), - (-1, {_sV: _READY}), - (-1, {_sV: _SUCCEEDED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _CANCELLED}), - (-1, {_sV: _TO}), - (-1, {_sV: _STOPPED}), - ), -) - -STEP_DETAILS: StaticSchema = ( - 18, - n0, - _SD, - 0, - (_Att, _NAT, _Re, _E), - ( - (ATTEMPT_COUNT, {_s: 0}), - (EXECUTION_TIMESTAMP, 0), - (OPERATION_PAYLOAD, 0), - (ERROR_OBJECT, 0), - ), -) - -WAIT_DETAILS: StaticSchema = (18, n0, _WD, 0, (_SET,), ((EXECUTION_TIMESTAMP, 0),)) - -OPERATION: StaticSchema = ( - 18, - n0, - _Op, - 0, - (_Id, _PI, _N, _T, _STu, _STt, _ETn, _Stat, _EDx, _CDo, _SD, _WD, _CD, _CID), - ( - (OPERATION_ID, 1), - (OPERATION_ID, 0), - (OPERATION_NAME, 0), - (OPERATION_TYPE, 1), - (OPERATION_SUB_TYPE, 0), - (EXECUTION_TIMESTAMP, 1), - (EXECUTION_TIMESTAMP, 0), - (OPERATION_STATUS, 1), - (EXECUTION_DETAILS, 0), - (CONTEXT_DETAILS, 0), - (STEP_DETAILS, 0), - (WAIT_DETAILS, 0), - (CALLBACK_DETAILS, 0), - (CHAINED_INVOKE_DETAILS, 0), - ), -) - -OPERATIONS: StaticSchema = (16, n0, _Ope, 0, (_me,), ((OPERATION, 0),)) - -CHECKPOINT_UPDATED_EXECUTION_STATE: StaticSchema = ( - 18, - n0, - _CUES, - 0, - (_Ope, _NM), - ((OPERATIONS, 0), (STRING, 0)), -) - -CHECKPOINT_DURABLE_EXECUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CDEO, - {_sSI: _cCDERo, _smit: None}, - (_CT, _NES), - ((CHECKPOINT_TOKEN, 0), (CHECKPOINT_UPDATED_EXECUTION_STATE, 1)), -) - -KMS_ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSADE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -KMS_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSDE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -KMS_INVALID_STATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSISE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -KMS_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSNFE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -CHECKPOINT_DURABLE_EXECUTION: StaticOperationSchema = ( - 23, - n0, - _CDE, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}/checkpoint", - "code": 200, - } - ) - }, - CHECKPOINT_DURABLE_EXECUTION_INPUT, - CHECKPOINT_DURABLE_EXECUTION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -INCLUDE_EXECUTION_DATA: StaticSchema = (2, n0, _IED, 0) - -GET_DURABLE_EXECUTION_INPUT: StaticSchema = ( - 18, - n0, - _GDEI, - {_sSI: _cGDER, _sm: None}, - (_DEA, _IED), - ((DURABLE_EXECUTION_ARN, 9), (INCLUDE_EXECUTION_DATA, {_s: True, _sQ: _IED})), -) - -EXECUTION_TIMEOUT: StaticSchema = (7, n0, _ETxe, 0) - -RETENTION_PERIOD_IN_DAYS: StaticSchema = (7, n0, _RPID, 0) - -DURABLE_CONFIG: StaticSchema = ( - 18, - n0, - _DC, - 0, - (_KMSKA, _RPID, _ETxe), - ((KMS_KEY_ARN, 0), (RETENTION_PERIOD_IN_DAYS, 0), (EXECUTION_TIMEOUT, 0)), -) - -DURABLE_EXECUTION_NAME: StaticSchema = (3, n0, _DEN, 0) - -EXECUTION_DATA_INCLUDED: StaticSchema = (2, n0, _EDI, 0) - -OUTPUT_PAYLOAD: StaticSchema = (3, n0, _OPu, 4) - -EXECUTION_STATUS: StaticSchema = ( - 14, - n0, - _ES, - 0, - (_RUNNING, _SUCCEEDED, _FAILED, _TO, _STOPPED), - ( - (-1, {_sV: _RUNNING}), - (-1, {_sV: _SUCCEEDED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _TO}), - (-1, {_sV: _STOPPED}), - ), -) - -TRACE_HEADER: StaticSchema = (18, n0, _TH, 0, (_XATI,), ((X_AMZN_TRACE_ID, 0),)) - -VERSION_WITH_LATEST_PUBLISHED: StaticSchema = (3, n0, _VWLP, 0) - -GET_DURABLE_EXECUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GDEO, - {_sSI: _cGDERo, _smit: None}, - (_DEA, _DEN, _FA, _IP, _Re, _E, _STt, _Stat, _ETn, _V, _TH, _EDI, _DC), - ( - (DURABLE_EXECUTION_ARN, 1), - (DURABLE_EXECUTION_NAME, 1), - (NAME_SPACED_FUNCTION_ARN, 1), - (INPUT_PAYLOAD, 0), - (OUTPUT_PAYLOAD, 0), - (ERROR_OBJECT, 0), - (EXECUTION_TIMESTAMP, 1), - (EXECUTION_STATUS, 1), - (EXECUTION_TIMESTAMP, 0), - (VERSION_WITH_LATEST_PUBLISHED, 0), - (TRACE_HEADER, 0), - (EXECUTION_DATA_INCLUDED, 0), - (DURABLE_CONFIG, 0), - ), -) - -GET_DURABLE_EXECUTION: StaticOperationSchema = ( - 23, - n0, - _GDE, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}", - "code": 200, - } - ) - }, - GET_DURABLE_EXECUTION_INPUT, - GET_DURABLE_EXECUTION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -ITEM_COUNT: StaticSchema = (7, n0, _IC, {_s: 0}) - -REVERSE_ORDER: StaticSchema = (2, n0, _RO, 0) - -GET_DURABLE_EXECUTION_HISTORY_INPUT: StaticSchema = ( - 18, - n0, - _GDEHI, - {_sSI: _cGDEHR, _sm: None}, - (_DEA, _IED, _MI, _Mar, _RO), - ( - (DURABLE_EXECUTION_ARN, 9), - (INCLUDE_EXECUTION_DATA, {_sQ: _IED}), - (ITEM_COUNT, {_s: 0, _sQ: _MI}), - (STRING, {_sQ: _Mar}), - (REVERSE_ORDER, {_sQ: _RO}), - ), -) - -TRUNCATED: StaticSchema = (2, n0, _Tru, 0) - -EVENT_ERROR: StaticSchema = ( - 18, - n0, - _EE, - 0, - (_Pa, _Tru), - ((ERROR_OBJECT, 0), (TRUNCATED, 0)), -) - -CALLBACK_FAILED_DETAILS: StaticSchema = (18, n0, _CFD, 0, (_E,), ((EVENT_ERROR, 1),)) - -CALLBACK_STARTED_DETAILS: StaticSchema = ( - 18, - n0, - _CSD, - 0, - (_CIa, _HT, _Tim), - ((CALLBACK_ID, 1), (DURATION_SECONDS, 0), (DURATION_SECONDS, 0)), -) - -EVENT_RESULT: StaticSchema = ( - 18, - n0, - _ER, - 0, - (_Pa, _Tru), - ((OPERATION_PAYLOAD, 0), (TRUNCATED, 0)), -) - -CALLBACK_SUCCEEDED_DETAILS: StaticSchema = ( - 18, - n0, - _CSDa, - 0, - (_Re,), - ((EVENT_RESULT, 1),), -) - -CALLBACK_TIMED_OUT_DETAILS: StaticSchema = ( - 18, - n0, - _CTOD, - 0, - (_E,), - ((EVENT_ERROR, 1),), -) - -CHAINED_INVOKE_FAILED_DETAILS: StaticSchema = ( - 18, - n0, - _CIFD, - 0, - (_E,), - ((EVENT_ERROR, 1),), -) - -EVENT_INPUT: StaticSchema = ( - 18, - n0, - _EI, - 0, - (_Pa, _Tru), - ((INPUT_PAYLOAD, 0), (TRUNCATED, 0)), -) - -CHAINED_INVOKE_STARTED_DETAILS: StaticSchema = ( - 18, - n0, - _CISD, - 0, - (_FN, _TI, _Inp, _EV, _DEA), - ( - (NAMESPACED_FUNCTION_NAME, 1), - (TENANT_ID, 0), - (EVENT_INPUT, 0), - (VERSION_WITH_LATEST_PUBLISHED, 0), - (DURABLE_EXECUTION_ARN, 0), - ), -) - -CHAINED_INVOKE_STOPPED_DETAILS: StaticSchema = ( - 18, - n0, - _CISDh, - 0, - (_E,), - ((EVENT_ERROR, 1),), -) - -CHAINED_INVOKE_SUCCEEDED_DETAILS: StaticSchema = ( - 18, - n0, - _CISDha, - 0, - (_Re,), - ((EVENT_RESULT, 1),), -) - -CHAINED_INVOKE_TIMED_OUT_DETAILS: StaticSchema = ( - 18, - n0, - _CITOD, - 0, - (_E,), - ((EVENT_ERROR, 1),), -) - -CONTEXT_FAILED_DETAILS: StaticSchema = (18, n0, _CFDo, 0, (_E,), ((EVENT_ERROR, 1),)) - -CONTEXT_STARTED_DETAILS: StaticSchema = (18, n0, _CSDo, 0) - -CONTEXT_SUCCEEDED_DETAILS: StaticSchema = ( - 18, - n0, - _CSDon, - 0, - (_Re,), - ((EVENT_RESULT, 1),), -) - -EVENT_ID: StaticSchema = (7, n0, _EIv, {_s: 1}) - -EVENT_TYPE: StaticSchema = ( - 14, - n0, - _ETv, - 0, - ( - _ESx, - _ESxe, - _EF, - _ETO, - _ESxec, - _CS, - _CSo, - _CF, - _WSa, - _WSai, - _WC, - _SS, - _SSt, - _SF, - _CIS, - _CISh, - _CIF, - _CITO, - _CISha, - _CSa, - _CSal, - _CFa, - _CTO, - _ICn, - ), - ( - (-1, {_sV: _ESx}), - (-1, {_sV: _ESxe}), - (-1, {_sV: _EF}), - (-1, {_sV: _ETO}), - (-1, {_sV: _ESxec}), - (-1, {_sV: _CS}), - (-1, {_sV: _CSo}), - (-1, {_sV: _CF}), - (-1, {_sV: _WSa}), - (-1, {_sV: _WSai}), - (-1, {_sV: _WC}), - (-1, {_sV: _SS}), - (-1, {_sV: _SSt}), - (-1, {_sV: _SF}), - (-1, {_sV: _CIS}), - (-1, {_sV: _CISh}), - (-1, {_sV: _CIF}), - (-1, {_sV: _CITO}), - (-1, {_sV: _CISha}), - (-1, {_sV: _CSa}), - (-1, {_sV: _CSal}), - (-1, {_sV: _CFa}), - (-1, {_sV: _CTO}), - (-1, {_sV: _ICn}), - ), -) - -EXECUTION_FAILED_DETAILS: StaticSchema = (18, n0, _EFD, 0, (_E,), ((EVENT_ERROR, 1),)) - -EXECUTION_STARTED_DETAILS: StaticSchema = ( - 18, - n0, - _ESD, - 0, - (_Inp, _ETxe), - ((EVENT_INPUT, 1), (DURATION_SECONDS, 1)), -) - -EXECUTION_STOPPED_DETAILS: StaticSchema = (18, n0, _ESDx, 0, (_E,), ((EVENT_ERROR, 1),)) - -EXECUTION_SUCCEEDED_DETAILS: StaticSchema = ( - 18, - n0, - _ESDxe, - 0, - (_Re,), - ((EVENT_RESULT, 1),), -) - -EXECUTION_TIMED_OUT_DETAILS: StaticSchema = ( - 18, - n0, - _ETOD, - 0, - (_E,), - ((EVENT_ERROR, 0),), -) - -INVOCATION_COMPLETED_DETAILS: StaticSchema = ( - 18, - n0, - _ICD, - 0, - (_STt, _ETn, _RIe, _E), - ((EXECUTION_TIMESTAMP, 1), (EXECUTION_TIMESTAMP, 1), (STRING, 1), (EVENT_ERROR, 0)), -) - -RETRY_DETAILS: StaticSchema = ( - 18, - n0, - _RD, - 0, - (_CA, _NADS), - ((ATTEMPT_COUNT, {_s: 0}), (DURATION_SECONDS, 0)), -) - -STEP_FAILED_DETAILS: StaticSchema = ( - 18, - n0, - _SFD, - 0, - (_E, _RD), - ((EVENT_ERROR, 1), (RETRY_DETAILS, 1)), -) - -STEP_STARTED_DETAILS: StaticSchema = (18, n0, _SSD, 0) - -STEP_SUCCEEDED_DETAILS: StaticSchema = ( - 18, - n0, - _SSDt, - 0, - (_Re, _RD), - ((EVENT_RESULT, 1), (RETRY_DETAILS, 1)), -) - -WAIT_CANCELLED_DETAILS: StaticSchema = (18, n0, _WCD, 0, (_E,), ((EVENT_ERROR, 0),)) - -WAIT_STARTED_DETAILS: StaticSchema = ( - 18, - n0, - _WSD, - 0, - (_Du, _SET), - ((DURATION_SECONDS, 1), (EXECUTION_TIMESTAMP, 1)), -) - -WAIT_SUCCEEDED_DETAILS: StaticSchema = ( - 18, - n0, - _WSDa, - 0, - (_Du,), - ((DURATION_SECONDS, 0),), -) - -EVENT: StaticSchema = ( - 18, - n0, - _Ev, - 0, - ( - _ETv, - _STu, - _EIv, - _Id, - _N, - _ETve, - _PI, - _ESD, - _ESDxe, - _EFD, - _ETOD, - _ESDx, - _CSDo, - _CSDon, - _CFDo, - _WSD, - _WSDa, - _WCD, - _SSD, - _SSDt, - _SFD, - _CISD, - _CISDha, - _CIFD, - _CITOD, - _CISDh, - _CSD, - _CSDa, - _CFD, - _CTOD, - _ICD, - ), - ( - (EVENT_TYPE, 0), - (OPERATION_SUB_TYPE, 0), - (EVENT_ID, {_s: 1}), - (OPERATION_ID, 0), - (OPERATION_NAME, 0), - (EXECUTION_TIMESTAMP, 0), - (OPERATION_ID, 0), - (EXECUTION_STARTED_DETAILS, 0), - (EXECUTION_SUCCEEDED_DETAILS, 0), - (EXECUTION_FAILED_DETAILS, 0), - (EXECUTION_TIMED_OUT_DETAILS, 0), - (EXECUTION_STOPPED_DETAILS, 0), - (CONTEXT_STARTED_DETAILS, 0), - (CONTEXT_SUCCEEDED_DETAILS, 0), - (CONTEXT_FAILED_DETAILS, 0), - (WAIT_STARTED_DETAILS, 0), - (WAIT_SUCCEEDED_DETAILS, 0), - (WAIT_CANCELLED_DETAILS, 0), - (STEP_STARTED_DETAILS, 0), - (STEP_SUCCEEDED_DETAILS, 0), - (STEP_FAILED_DETAILS, 0), - (CHAINED_INVOKE_STARTED_DETAILS, 0), - (CHAINED_INVOKE_SUCCEEDED_DETAILS, 0), - (CHAINED_INVOKE_FAILED_DETAILS, 0), - (CHAINED_INVOKE_TIMED_OUT_DETAILS, 0), - (CHAINED_INVOKE_STOPPED_DETAILS, 0), - (CALLBACK_STARTED_DETAILS, 0), - (CALLBACK_SUCCEEDED_DETAILS, 0), - (CALLBACK_FAILED_DETAILS, 0), - (CALLBACK_TIMED_OUT_DETAILS, 0), - (INVOCATION_COMPLETED_DETAILS, 0), - ), -) - -EVENTS: StaticSchema = (16, n0, _Eve, 0, (_me,), ((EVENT, 0),)) - -GET_DURABLE_EXECUTION_HISTORY_OUTPUT: StaticSchema = ( - 18, - n0, - _GDEHO, - {_sSI: _cGDEHRo, _smit: None}, - (_Eve, _NM), - ((EVENTS, 1), (STRING, 0)), -) - -GET_DURABLE_EXECUTION_HISTORY: StaticOperationSchema = ( - 23, - n0, - _GDEH, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}/history", - "code": 200, - } - ) - }, - GET_DURABLE_EXECUTION_HISTORY_INPUT, - GET_DURABLE_EXECUTION_HISTORY_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_DURABLE_EXECUTION_STATE_INPUT: StaticSchema = ( - 18, - n0, - _GDESI, - {_sSI: _cGDESR, _sm: None}, - (_DEA, _CT, _Mar, _MI), - ( - (DURABLE_EXECUTION_ARN, 9), - (CHECKPOINT_TOKEN, {_sQ: _CT, _smi: None}), - (STRING, {_sQ: _Mar}), - (ITEM_COUNT, {_s: 0, _sQ: _MI}), - ), -) - -GET_DURABLE_EXECUTION_STATE_OUTPUT: StaticSchema = ( - 18, - n0, - _GDESO, - {_sSI: _cGDESRo, _smit: None}, - (_Ope, _NM), - ((OPERATIONS, 1), (STRING, 0)), -) - -GET_DURABLE_EXECUTION_STATE: StaticOperationSchema = ( - 23, - n0, - _GDES, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}/state", - "code": 200, - } - ) - }, - GET_DURABLE_EXECUTION_STATE_INPUT, - GET_DURABLE_EXECUTION_STATE_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -STOP_DURABLE_EXECUTION_INPUT: StaticSchema = ( - 18, - n0, - _SDEI, - {_sSI: _cSDER, _sm: None}, - (_DEA, _E), - ((DURABLE_EXECUTION_ARN, 9), (ERROR_OBJECT, 16)), -) - -STOP_DURABLE_EXECUTION_OUTPUT: StaticSchema = ( - 18, - n0, - _SDEO, - {_sSI: _cSDERo, _smit: None}, - (_STto,), - ((EXECUTION_TIMESTAMP, 1),), -) - -STOP_DURABLE_EXECUTION: StaticOperationSchema = ( - 23, - n0, - _SDE, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}/stop", - "code": 200, - } - ) - }, - STOP_DURABLE_EXECUTION_INPUT, - STOP_DURABLE_EXECUTION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -BATCH_SIZE: StaticSchema = (7, n0, _BS, 0) - -BISECT_BATCH_ON_FUNCTION_ERROR: StaticSchema = (2, n0, _BBOFE, 0) - -DESTINATION_ARN: StaticSchema = (3, n0, _DA, 0) - -ON_FAILURE: StaticSchema = (18, n0, _OF, 0, (_Des,), ((DESTINATION_ARN, 0),)) - -ON_SUCCESS: StaticSchema = (18, n0, _OSn, 0, (_Des,), ((DESTINATION_ARN, 0),)) - -DESTINATION_CONFIG: StaticSchema = ( - 18, - n0, - _DCe, - 0, - (_OSn, _OF), - ((ON_SUCCESS, 0), (ON_FAILURE, 0)), -) - -COLLECTION_NAME: StaticSchema = (3, n0, _CN, 0) - -DATABASE_NAME: StaticSchema = (3, n0, _DN, 0) - -FULL_DOCUMENT: StaticSchema = ( - 14, - n0, - _FD, - 0, - (_UL, _Def), - ((-1, {_sV: _UL}), (-1, {_sV: _Def})), -) - -DOCUMENT_DB_EVENT_SOURCE_CONFIG: StaticSchema = ( - 18, - n0, - _DDBESC, - 0, - (_DN, _CN, _FD), - ((DATABASE_NAME, 0), (COLLECTION_NAME, 0), (FULL_DOCUMENT, 0)), -) - -ENABLED: StaticSchema = (2, n0, _Ena, 0) - -PATTERN: StaticSchema = (3, n0, _Pat, 0) - -FILTER: StaticSchema = (18, n0, _Fi, 0, (_Pat,), ((PATTERN, 0),)) - -FILTER_LIST: StaticSchema = (16, n0, _FL, 0, (_me,), ((FILTER, 0),)) - -FILTER_CRITERIA: StaticSchema = (18, n0, _FCi, 0, (_Fil,), ((FILTER_LIST, 0),)) - -FUNCTION_RESPONSE_TYPE: StaticSchema = ( - 14, - n0, - _FRT, - 0, - (_RBIF,), - ((-1, {_sV: _RBIF}),), -) - -FUNCTION_RESPONSE_TYPE_LIST: StaticSchema = ( - 16, - n0, - _FRTL, - 0, - (_me,), - ((FUNCTION_RESPONSE_TYPE, 0),), -) - -EVENT_SOURCE_MAPPING_SYSTEM_LOG_LEVEL: StaticSchema = ( - 14, - n0, - _ESMSLL, - 0, - (_De, _In, _Wa), - ((-1, {_sV: _DEBUG}), (-1, {_sV: _INFO}), (-1, {_sV: _WARN})), -) - -EVENT_SOURCE_MAPPING_LOGGING_CONFIG: StaticSchema = ( - 18, - n0, - _ESMLC, - 0, - (_SLL,), - ((EVENT_SOURCE_MAPPING_SYSTEM_LOG_LEVEL, 0),), -) - -MAXIMUM_BATCHING_WINDOW_IN_SECONDS: StaticSchema = (7, n0, _MBWIS, 0) - -MAXIMUM_RECORD_AGE_IN_SECONDS: StaticSchema = (7, n0, _MRAIS, 0) - -MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING: StaticSchema = (7, n0, _MRAESM, 0) - -EVENT_SOURCE_MAPPING_METRIC: StaticSchema = ( - 14, - n0, - _ESMM, - 0, - (_EC, _ECr, _KM), - ((-1, {_sV: _EC}), (-1, {_sV: _ECr}), (-1, {_sV: _KM})), -) - -EVENT_SOURCE_MAPPING_METRIC_LIST: StaticSchema = ( - 16, - n0, - _ESMML, - 0, - (_me,), - ((EVENT_SOURCE_MAPPING_METRIC, 0),), -) - -EVENT_SOURCE_MAPPING_METRICS_CONFIG: StaticSchema = ( - 18, - n0, - _ESMMC, - 0, - (_Met,), - ((EVENT_SOURCE_MAPPING_METRIC_LIST, 0),), -) - -PARALLELIZATION_FACTOR: StaticSchema = (7, n0, _PF, 0) - -MAXIMUM_NUMBER_OF_POLLERS: StaticSchema = (7, n0, _MNOP, 0) - -MINIMUM_NUMBER_OF_POLLERS: StaticSchema = (7, n0, _MNOPi, 0) - -PROVISIONED_POLLER_GROUP_NAME: StaticSchema = (3, n0, _PPGN, 0) - -PROVISIONED_POLLER_CONFIG: StaticSchema = ( - 18, - n0, - _PPC, - 0, - (_MP, _MPa, _PGN), - ( - (MINIMUM_NUMBER_OF_POLLERS, 0), - (MAXIMUM_NUMBER_OF_POLLERS, 0), - (PROVISIONED_POLLER_GROUP_NAME, 0), - ), -) - -QUEUE: StaticSchema = (3, n0, _Qu, 0) - -QUEUES: StaticSchema = (16, n0, _Que, 0, (_me,), ((QUEUE, 0),)) - -MAXIMUM_CONCURRENCY: StaticSchema = (7, n0, _MC, 0) - -SCALING_CONFIG: StaticSchema = (18, n0, _SCc, 0, (_MC,), ((MAXIMUM_CONCURRENCY, 0),)) - -END_POINT_TYPE: StaticSchema = (14, n0, _EPT, 0, (_KBS,), ((-1, {_sV: _KBS}),)) - -ENDPOINT: StaticSchema = (3, n0, _End, 0) - -ENDPOINT_LISTS: StaticSchema = (16, n0, _EL, 0, (_me,), ((ENDPOINT, 0),)) - -ENDPOINTS: StaticSchema = ( - 17, - n0, - _Endp, - 0, - (_k, _v), - ((END_POINT_TYPE, 0), (ENDPOINT_LISTS, 0)), -) - -SELF_MANAGED_EVENT_SOURCE: StaticSchema = ( - 18, - n0, - _SMES, - 0, - (_Endp,), - ((ENDPOINTS, 0),), -) - -KAFKA_EVENT_SOURCE_MAPPING_CONSUMPTION_MODE: StaticSchema = ( - 14, - n0, - _KESMCM, - 0, - (_Str, _Qu), - ((-1, {_sV: _Str}), (-1, {_sV: _Qu})), -) - -SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG: StaticSchema = ( - 18, - n0, - _SMKESC, - 0, - (_CGI, _SRC, _CM), - ( - (URI, 0), - (KAFKA_SCHEMA_REGISTRY_CONFIG, 0), - (KAFKA_EVENT_SOURCE_MAPPING_CONSUMPTION_MODE, 0), - ), -) - -SOURCE_ACCESS_TYPE: StaticSchema = ( - 14, - n0, - _SAT, - 0, - ( - _BA, - _VS, - _VSG, - _SSA, - _SSA_, - _VH, - _CCTA, - _SRCC, - _OA, - _OS_, - _OA_, - _OLC, - _OIP, - _IA, - _IOA, - ), - ( - (-1, {_sV: _BA}), - (-1, {_sV: _VS}), - (-1, {_sV: _VSG}), - (-1, {_sV: _SSA}), - (-1, {_sV: _SSA_}), - (-1, {_sV: _VH}), - (-1, {_sV: _CCTA}), - (-1, {_sV: _SRCC}), - (-1, {_sV: _OA}), - (-1, {_sV: _OS_}), - (-1, {_sV: _OA_}), - (-1, {_sV: _OLC}), - (-1, {_sV: _OIP}), - (-1, {_sV: _IA}), - (-1, {_sV: _IOA}), - ), -) - -SOURCE_ACCESS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SAC, - 0, - (_T, _URI), - ((SOURCE_ACCESS_TYPE, 0), (URI, 0)), -) - -SOURCE_ACCESS_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _SACo, - 0, - (_me,), - ((SOURCE_ACCESS_CONFIGURATION, 0),), -) - -EVENT_SOURCE_POSITION: StaticSchema = ( - 14, - n0, - _ESP, - 0, - (_TH_, _LATEST, _AT), - ((-1, {_sV: _TH_}), (-1, {_sV: _LATEST}), (-1, {_sV: _AT})), -) - -DATE: StaticSchema = (4, n0, _Da, 0) - -TOPIC: StaticSchema = (3, n0, _To, 0) - -TOPICS: StaticSchema = (16, n0, _Top, 0, (_me,), ((TOPIC, 0),)) - -TUMBLING_WINDOW_IN_SECONDS: StaticSchema = (7, n0, _TWIS, 0) - -CREATE_EVENT_SOURCE_MAPPING_INPUT: StaticSchema = ( - 18, - n0, - _CESMI, - {_sSI: _cCESMR, _sm: None}, - ( - _ESA, - _FN, - _Ena, - _BS, - _FCi, - _KMSKA, - _MCe, - _LC, - _SCc, - _MBWIS, - _PF, - _SPt, - _SPT, - _DCe, - _MRAIS, - _BBOFE, - _MRA, - _Ta, - _TWIS, - _Top, - _Que, - _SACo, - _SMES, - _FRTu, - _AMKESC, - _SMKESC, - _DDBESC, - _PPC, - ), - ( - (ARN, 0), - (NAMESPACED_FUNCTION_NAME, 1), - (ENABLED, 0), - (BATCH_SIZE, 0), - (FILTER_CRITERIA, 0), - (KMS_KEY_ARN, 0), - (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), - (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), - (SCALING_CONFIG, 0), - (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), - (PARALLELIZATION_FACTOR, 0), - (EVENT_SOURCE_POSITION, 0), - (DATE, 0), - (DESTINATION_CONFIG, 0), - (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), - (BISECT_BATCH_ON_FUNCTION_ERROR, 0), - (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), - (TAGS, 0), - (TUMBLING_WINDOW_IN_SECONDS, 0), - (TOPICS, 0), - (QUEUES, 0), - (SOURCE_ACCESS_CONFIGURATIONS, 0), - (SELF_MANAGED_EVENT_SOURCE, 0), - (FUNCTION_RESPONSE_TYPE_LIST, 0), - (AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), - (PROVISIONED_POLLER_CONFIG, 0), - ), -) - -EVENT_SOURCE_MAPPING_ARN: StaticSchema = (3, n0, _ESMA, 0) - -FILTER_CRITERIA_ERROR_CODE: StaticSchema = (3, n0, _FCEC, 0) - -FILTER_CRITERIA_ERROR_MESSAGE: StaticSchema = (3, n0, _FCEM, 0) - -FILTER_CRITERIA_ERROR: StaticSchema = ( - 18, - n0, - _FCE, - 0, - (_ECrr, _M), - ((FILTER_CRITERIA_ERROR_CODE, 0), (FILTER_CRITERIA_ERROR_MESSAGE, 0)), -) - -UUID_STRING: StaticSchema = (3, n0, _UUIDS, 0) - -CREATE_EVENT_SOURCE_MAPPING_OUTPUT: StaticSchema = ( - 18, - n0, - _CESMO, - {_sSI: _cESMC, _smit: None}, - ( - _UUID, - _SPt, - _SPT, - _BS, - _MBWIS, - _PF, - _ESA, - _FCi, - _FCE, - _KMSKA, - _MCe, - _LC, - _SCc, - _FA, - _LM, - _LPR, - _Sta, - _STR, - _DCe, - _Top, - _Que, - _SACo, - _SMES, - _MRAIS, - _BBOFE, - _MRA, - _TWIS, - _FRTu, - _AMKESC, - _SMKESC, - _DDBESC, - _ESMA, - _PPC, - ), - ( - (UUID_STRING, 0), - (EVENT_SOURCE_POSITION, 0), - (DATE, 0), - (BATCH_SIZE, 0), - (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), - (PARALLELIZATION_FACTOR, 0), - (ARN, 0), - (FILTER_CRITERIA, 0), - (FILTER_CRITERIA_ERROR, 0), - (KMS_KEY_ARN, 0), - (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), - (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), - (SCALING_CONFIG, 0), - (FUNCTION_ARN, 0), - (DATE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DESTINATION_CONFIG, 0), - (TOPICS, 0), - (QUEUES, 0), - (SOURCE_ACCESS_CONFIGURATIONS, 0), - (SELF_MANAGED_EVENT_SOURCE, 0), - (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), - (BISECT_BATCH_ON_FUNCTION_ERROR, 0), - (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), - (TUMBLING_WINDOW_IN_SECONDS, 0), - (FUNCTION_RESPONSE_TYPE_LIST, 0), - (AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), - (EVENT_SOURCE_MAPPING_ARN, 0), - (PROVISIONED_POLLER_CONFIG, 0), - ), -) - -CREATE_EVENT_SOURCE_MAPPING: StaticOperationSchema = ( - 23, - n0, - _CESM, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2015-03-31/event-source-mappings", "code": 202} - ) - }, - CREATE_EVENT_SOURCE_MAPPING_INPUT, - CREATE_EVENT_SOURCE_MAPPING_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DELETE_EVENT_SOURCE_MAPPING_INPUT: StaticSchema = ( - 18, - n0, - _DESMI, - {_sSI: _cDESMR, _sm: None}, - (_UUID,), - ((UUID_STRING, 9),), -) - -DELETE_EVENT_SOURCE_MAPPING_OUTPUT: StaticSchema = ( - 18, - n0, - _DESMO, - {_sSI: _cESMC, _smit: None}, - ( - _UUID, - _SPt, - _SPT, - _BS, - _MBWIS, - _PF, - _ESA, - _FCi, - _FCE, - _KMSKA, - _MCe, - _LC, - _SCc, - _FA, - _LM, - _LPR, - _Sta, - _STR, - _DCe, - _Top, - _Que, - _SACo, - _SMES, - _MRAIS, - _BBOFE, - _MRA, - _TWIS, - _FRTu, - _AMKESC, - _SMKESC, - _DDBESC, - _ESMA, - _PPC, - ), - ( - (UUID_STRING, 0), - (EVENT_SOURCE_POSITION, 0), - (DATE, 0), - (BATCH_SIZE, 0), - (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), - (PARALLELIZATION_FACTOR, 0), - (ARN, 0), - (FILTER_CRITERIA, 0), - (FILTER_CRITERIA_ERROR, 0), - (KMS_KEY_ARN, 0), - (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), - (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), - (SCALING_CONFIG, 0), - (FUNCTION_ARN, 0), - (DATE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DESTINATION_CONFIG, 0), - (TOPICS, 0), - (QUEUES, 0), - (SOURCE_ACCESS_CONFIGURATIONS, 0), - (SELF_MANAGED_EVENT_SOURCE, 0), - (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), - (BISECT_BATCH_ON_FUNCTION_ERROR, 0), - (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), - (TUMBLING_WINDOW_IN_SECONDS, 0), - (FUNCTION_RESPONSE_TYPE_LIST, 0), - (AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), - (EVENT_SOURCE_MAPPING_ARN, 0), - (PROVISIONED_POLLER_CONFIG, 0), - ), -) - -RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( - 18, - n0, - _RIUE, - {_smith: _c, _sE: 400}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -DELETE_EVENT_SOURCE_MAPPING: StaticOperationSchema = ( - 23, - n0, - _DESM, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2015-03-31/event-source-mappings/{UUID}", - "code": 202, - } - ) - }, - DELETE_EVENT_SOURCE_MAPPING_INPUT, - DELETE_EVENT_SOURCE_MAPPING_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_EVENT_SOURCE_MAPPING_INPUT: StaticSchema = ( - 18, - n0, - _GESMI, - {_sSI: _cGESMR, _sm: None}, - (_UUID,), - ((UUID_STRING, 9),), -) - -GET_EVENT_SOURCE_MAPPING_OUTPUT: StaticSchema = ( - 18, - n0, - _GESMO, - {_sSI: _cESMC, _smit: None}, - ( - _UUID, - _SPt, - _SPT, - _BS, - _MBWIS, - _PF, - _ESA, - _FCi, - _FCE, - _KMSKA, - _MCe, - _LC, - _SCc, - _FA, - _LM, - _LPR, - _Sta, - _STR, - _DCe, - _Top, - _Que, - _SACo, - _SMES, - _MRAIS, - _BBOFE, - _MRA, - _TWIS, - _FRTu, - _AMKESC, - _SMKESC, - _DDBESC, - _ESMA, - _PPC, - ), - ( - (UUID_STRING, 0), - (EVENT_SOURCE_POSITION, 0), - (DATE, 0), - (BATCH_SIZE, 0), - (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), - (PARALLELIZATION_FACTOR, 0), - (ARN, 0), - (FILTER_CRITERIA, 0), - (FILTER_CRITERIA_ERROR, 0), - (KMS_KEY_ARN, 0), - (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), - (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), - (SCALING_CONFIG, 0), - (FUNCTION_ARN, 0), - (DATE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DESTINATION_CONFIG, 0), - (TOPICS, 0), - (QUEUES, 0), - (SOURCE_ACCESS_CONFIGURATIONS, 0), - (SELF_MANAGED_EVENT_SOURCE, 0), - (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), - (BISECT_BATCH_ON_FUNCTION_ERROR, 0), - (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), - (TUMBLING_WINDOW_IN_SECONDS, 0), - (FUNCTION_RESPONSE_TYPE_LIST, 0), - (AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), - (EVENT_SOURCE_MAPPING_ARN, 0), - (PROVISIONED_POLLER_CONFIG, 0), - ), -) - -GET_EVENT_SOURCE_MAPPING: StaticOperationSchema = ( - 23, - n0, - _GESM, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2015-03-31/event-source-mappings/{UUID}", - "code": 200, - } - ) - }, - GET_EVENT_SOURCE_MAPPING_INPUT, - GET_EVENT_SOURCE_MAPPING_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -LIST_EVENT_SOURCE_MAPPINGS_INPUT: StaticSchema = ( - 18, - n0, - _LESMI, - {_sSI: _cLESMR, _sm: None}, - (_ESA, _FN, _Mar, _MI), - ( - (ARN, {_sQ: _ESA}), - (NAMESPACED_FUNCTION_NAME, {_sQ: _FN}), - (STRING, {_sQ: _Mar}), - (MAX_LIST_ITEMS, {_sQ: _MI}), - ), -) - -EVENT_SOURCE_MAPPING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ESMC, - 0, - ( - _UUID, - _SPt, - _SPT, - _BS, - _MBWIS, - _PF, - _ESA, - _FCi, - _FCE, - _KMSKA, - _MCe, - _LC, - _SCc, - _FA, - _LM, - _LPR, - _Sta, - _STR, - _DCe, - _Top, - _Que, - _SACo, - _SMES, - _MRAIS, - _BBOFE, - _MRA, - _TWIS, - _FRTu, - _AMKESC, - _SMKESC, - _DDBESC, - _ESMA, - _PPC, - ), - ( - (UUID_STRING, 0), - (EVENT_SOURCE_POSITION, 0), - (DATE, 0), - (BATCH_SIZE, 0), - (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), - (PARALLELIZATION_FACTOR, 0), - (ARN, 0), - (FILTER_CRITERIA, 0), - (FILTER_CRITERIA_ERROR, 0), - (KMS_KEY_ARN, 0), - (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), - (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), - (SCALING_CONFIG, 0), - (FUNCTION_ARN, 0), - (DATE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DESTINATION_CONFIG, 0), - (TOPICS, 0), - (QUEUES, 0), - (SOURCE_ACCESS_CONFIGURATIONS, 0), - (SELF_MANAGED_EVENT_SOURCE, 0), - (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), - (BISECT_BATCH_ON_FUNCTION_ERROR, 0), - (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), - (TUMBLING_WINDOW_IN_SECONDS, 0), - (FUNCTION_RESPONSE_TYPE_LIST, 0), - (AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), - (EVENT_SOURCE_MAPPING_ARN, 0), - (PROVISIONED_POLLER_CONFIG, 0), - ), -) - -EVENT_SOURCE_MAPPINGS_LIST: StaticSchema = ( - 16, - n0, - _ESML, - 0, - (_me,), - ((EVENT_SOURCE_MAPPING_CONFIGURATION, 0),), -) - -LIST_EVENT_SOURCE_MAPPINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LESMO, - {_sSI: _cLESMRo, _smit: None}, - (_NM, _ESM), - ((STRING, 0), (EVENT_SOURCE_MAPPINGS_LIST, 0)), -) - -LIST_EVENT_SOURCE_MAPPINGS: StaticOperationSchema = ( - 23, - n0, - _LESM, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2015-03-31/event-source-mappings", "code": 200} - ) - }, - LIST_EVENT_SOURCE_MAPPINGS_INPUT, - LIST_EVENT_SOURCE_MAPPINGS_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UPDATE_EVENT_SOURCE_MAPPING_INPUT: StaticSchema = ( - 18, - n0, - _UESMI, - {_sSI: _cUESMR, _sm: None}, - ( - _UUID, - _FN, - _Ena, - _BS, - _FCi, - _KMSKA, - _MCe, - _LC, - _SCc, - _MBWIS, - _PF, - _DCe, - _MRAIS, - _BBOFE, - _MRA, - _TWIS, - _SACo, - _FRTu, - _AMKESC, - _SMKESC, - _DDBESC, - _PPC, - ), - ( - (UUID_STRING, 9), - (NAMESPACED_FUNCTION_NAME, 0), - (ENABLED, 0), - (BATCH_SIZE, 0), - (FILTER_CRITERIA, 0), - (KMS_KEY_ARN, 0), - (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), - (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), - (SCALING_CONFIG, 0), - (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), - (PARALLELIZATION_FACTOR, 0), - (DESTINATION_CONFIG, 0), - (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), - (BISECT_BATCH_ON_FUNCTION_ERROR, 0), - (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), - (TUMBLING_WINDOW_IN_SECONDS, 0), - (SOURCE_ACCESS_CONFIGURATIONS, 0), - (FUNCTION_RESPONSE_TYPE_LIST, 0), - (AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), - (PROVISIONED_POLLER_CONFIG, 0), - ), -) - -UPDATE_EVENT_SOURCE_MAPPING_OUTPUT: StaticSchema = ( - 18, - n0, - _UESMO, - {_sSI: _cESMC, _smit: None}, - ( - _UUID, - _SPt, - _SPT, - _BS, - _MBWIS, - _PF, - _ESA, - _FCi, - _FCE, - _KMSKA, - _MCe, - _LC, - _SCc, - _FA, - _LM, - _LPR, - _Sta, - _STR, - _DCe, - _Top, - _Que, - _SACo, - _SMES, - _MRAIS, - _BBOFE, - _MRA, - _TWIS, - _FRTu, - _AMKESC, - _SMKESC, - _DDBESC, - _ESMA, - _PPC, - ), - ( - (UUID_STRING, 0), - (EVENT_SOURCE_POSITION, 0), - (DATE, 0), - (BATCH_SIZE, 0), - (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), - (PARALLELIZATION_FACTOR, 0), - (ARN, 0), - (FILTER_CRITERIA, 0), - (FILTER_CRITERIA_ERROR, 0), - (KMS_KEY_ARN, 0), - (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), - (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), - (SCALING_CONFIG, 0), - (FUNCTION_ARN, 0), - (DATE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DESTINATION_CONFIG, 0), - (TOPICS, 0), - (QUEUES, 0), - (SOURCE_ACCESS_CONFIGURATIONS, 0), - (SELF_MANAGED_EVENT_SOURCE, 0), - (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), - (BISECT_BATCH_ON_FUNCTION_ERROR, 0), - (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), - (TUMBLING_WINDOW_IN_SECONDS, 0), - (FUNCTION_RESPONSE_TYPE_LIST, 0), - (AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), - (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), - (EVENT_SOURCE_MAPPING_ARN, 0), - (PROVISIONED_POLLER_CONFIG, 0), - ), -) - -UPDATE_EVENT_SOURCE_MAPPING: StaticOperationSchema = ( - 23, - n0, - _UESM, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2015-03-31/event-source-mappings/{UUID}", - "code": 202, - } - ) - }, - UPDATE_EVENT_SOURCE_MAPPING_INPUT, - UPDATE_EVENT_SOURCE_MAPPING_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_IN_USE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _CSCNFE, - {_smith: _c, _sE: 404}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -CODE_STORAGE_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CSEE, - {_smith: _c, _sE: 400}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -CODE_VERIFICATION_FAILED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CVFE, - {_smith: _c, _sE: 400}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -EXECUTION_ENVIRONMENT_MEMORY_GI_B_PER_V_CPU: StaticSchema = (10, n0, _EEMGBPVC, 0) - -PER_EXECUTION_ENVIRONMENT_MAX_CONCURRENCY: StaticSchema = (7, n0, _PEEMC, 0) - -LAMBDA_MANAGED_INSTANCES_CAPACITY_PROVIDER_CONFIG: StaticSchema = ( - 18, - n0, - _LMICPC, - 0, - (_CPA, _PEEMC, _EEMGBPVC), - ( - (CAPACITY_PROVIDER_ARN, 1), - (PER_EXECUTION_ENVIRONMENT_MAX_CONCURRENCY, 0), - (EXECUTION_ENVIRONMENT_MEMORY_GI_B_PER_V_CPU, 0), - ), -) - -CAPACITY_PROVIDER_CONFIG: StaticSchema = ( - 18, - n0, - _CPC, - 0, - (_LMICPC,), - ((LAMBDA_MANAGED_INSTANCES_CAPACITY_PROVIDER_CONFIG, 1),), -) - -S3_BUCKET: StaticSchema = (3, n0, _SB, 0) - -S3_KEY: StaticSchema = (3, n0, _SK, 0) - -S3_OBJECT_STORAGE_MODE: StaticSchema = ( - 14, - n0, - _SOSM, - 0, - (_C, _Ref), - ((-1, {_sV: _COPY}), (-1, {_sV: _REFERENCE})), -) - -S3_OBJECT_VERSION: StaticSchema = (3, n0, _SOV, 0) - -BLOB: StaticSchema = (1, n0, _B, 4) - -FUNCTION_CODE: StaticSchema = ( - 18, - n0, - _FCu, - 0, - (_ZF, _SB, _SK, _SOV, _SOSM, _IU, _SKMSKA), - ( - (BLOB, 0), - (S3_BUCKET, 0), - (S3_KEY, 0), - (S3_OBJECT_VERSION, 0), - (S3_OBJECT_STORAGE_MODE, 0), - (STRING, 0), - (KMS_KEY_ARN, 0), - ), -) - -RESOURCE_ARN: StaticSchema = (3, n0, _RAe, 0) - -DEAD_LETTER_CONFIG: StaticSchema = (18, n0, _DLC, 0, (_TA,), ((RESOURCE_ARN, 0),)) - -ENVIRONMENT_VARIABLE_NAME: StaticSchema = (3, n0, _EVN, 4) - -ENVIRONMENT_VARIABLE_VALUE: StaticSchema = (3, n0, _EVV, 4) - -ENVIRONMENT_VARIABLES: StaticSchema = ( - 17, - n0, - _EVn, - 4, - (_k, _v), - ((ENVIRONMENT_VARIABLE_NAME, 0), (ENVIRONMENT_VARIABLE_VALUE, 0)), -) - -ENVIRONMENT: StaticSchema = (18, n0, _Env, 0, (_Va,), ((ENVIRONMENT_VARIABLES, 0),)) - -EPHEMERAL_STORAGE_SIZE: StaticSchema = (7, n0, _ESS, 0) - -EPHEMERAL_STORAGE: StaticSchema = ( - 18, - n0, - _ESp, - 0, - (_Si,), - ((EPHEMERAL_STORAGE_SIZE, 1),), -) - -FILE_SYSTEM_ARN: StaticSchema = (3, n0, _FSA, 0) - -LOCAL_MOUNT_PATH: StaticSchema = (3, n0, _LMP, 0) - -DIRECT_S3_READ: StaticSchema = ( - 14, - n0, - _DSR, - 0, - (_ENABLED, _DISABLED, _AUTO), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _AUTO})), -) - -S3_FILES_CONFIG: StaticSchema = (18, n0, _SFC, 0, (_DSR,), ((DIRECT_S3_READ, 0),)) - -FILE_SYSTEM_CONFIG: StaticSchema = ( - 18, - n0, - _FSC, - 0, - (_Ar, _LMP, _SFC), - ((FILE_SYSTEM_ARN, 1), (LOCAL_MOUNT_PATH, 1), (S3_FILES_CONFIG, 0)), -) - -FILE_SYSTEM_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _FSCL, - 0, - (_me,), - ((FILE_SYSTEM_CONFIG, 0),), -) - -FUNCTION_NAME: StaticSchema = (3, n0, _FN, 0) - -HANDLER: StaticSchema = (3, n0, _H, 0) - -STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_me,), ((STRING, 0),)) - -WORKING_DIRECTORY: StaticSchema = (3, n0, _WDo, 0) - -IMAGE_CONFIG: StaticSchema = ( - 18, - n0, - _ICm, - 0, - (_EP, _Co, _WDo), - ((STRING_LIST, 0), (STRING_LIST, 0), (WORKING_DIRECTORY, 0)), -) - -LAYER_VERSION_ARN: StaticSchema = (3, n0, _LVA, 0) - -LAYER_LIST: StaticSchema = (16, n0, _LL, 0, (_me,), ((LAYER_VERSION_ARN, 0),)) - -LOG_FORMAT: StaticSchema = ( - 14, - n0, - _LF, - 0, - (_J, _Te), - ((-1, {_sV: _JSON}), (-1, {_sV: _Te})), -) - -LOGGING_CONFIG: StaticSchema = ( - 18, - n0, - _LC, - 0, - (_LF, _ALL, _SLL, _LG), - ( - (LOG_FORMAT, 0), - (APPLICATION_LOG_LEVEL, 0), - (SYSTEM_LOG_LEVEL, 0), - (LOG_GROUP, 0), - ), -) - -MEMORY_SIZE: StaticSchema = (7, n0, _MS, 0) - -PACKAGE_TYPE: StaticSchema = ( - 14, - n0, - _PTa, - 0, - (_Z, _Im), - ((-1, {_sV: _Z}), (-1, {_sV: _Im})), -) - -BOOLEAN: StaticSchema = (2, n0, _Bo, {_s: False}) - -FUNCTION_VERSION_LATEST_PUBLISHED: StaticSchema = ( - 14, - n0, - _FVLP, - 0, - (_LP,), - ((-1, {_sV: _LP}),), -) - -RUNTIME: StaticSchema = ( - 14, - n0, - _Ru, - 0, - ( - _n, - _no, - _node, - _nodejs, - _nodejsx, - _nodejsx__, - _nodejsx____, - _nodejsx______, - _nodejsx________, - _nodejsx__________, - _nodejsx____________, - _nodejsx______________, - _j, - _ja, - _java, - _java_, - _java__, - _java___, - _p, - _pyt, - _pytho, - _python_, - _python___, - _python_____, - _python_______, - _python_________, - _python___________, - _python_____________, - _d, - _dot, - _dotne, - _dotnetc, - _dotnet_, - _dotnet__, - _dotnet___, - _nodejse, - _g, - _r, - _rub, - _ruby_, - _ruby___, - _ruby_____, - _ruby_______, - _pr, - _pro, - _provi, - _nodejsx________________, - _python_______________, - _javaa, - _javaal_, - _javaal___, - ), - ( - (-1, {_sV: _n}), - (-1, {_sV: _nod}), - (-1, {_sV: _nodej}), - (-1, {_sV: _nodejs_}), - (-1, {_sV: _nodejsx_}), - (-1, {_sV: _nodejsx___}), - (-1, {_sV: _nodejsx_____}), - (-1, {_sV: _nodejsx_______}), - (-1, {_sV: _nodejsx_________}), - (-1, {_sV: _nodejsx___________}), - (-1, {_sV: _nodejsx_____________}), - (-1, {_sV: _nodejsx_______________}), - (-1, {_sV: _j}), - (-1, {_sV: _jav}), - (-1, {_sV: _java}), - (-1, {_sV: _java_}), - (-1, {_sV: _java__}), - (-1, {_sV: _java___}), - (-1, {_sV: _py}), - (-1, {_sV: _pyth}), - (-1, {_sV: _python}), - (-1, {_sV: _python__}), - (-1, {_sV: _python____}), - (-1, {_sV: _python______}), - (-1, {_sV: _python________}), - (-1, {_sV: _python__________}), - (-1, {_sV: _python____________}), - (-1, {_sV: _python______________}), - (-1, {_sV: _do}), - (-1, {_sV: _dotn}), - (-1, {_sV: _dotnet}), - (-1, {_sV: _dotnetco}), - (-1, {_sV: _dotnet_}), - (-1, {_sV: _dotnet__}), - (-1, {_sV: _dotnet___}), - (-1, {_sV: _ne}), - (-1, {_sV: _go}), - (-1, {_sV: _ru}), - (-1, {_sV: _ruby}), - (-1, {_sV: _ruby__}), - (-1, {_sV: _ruby____}), - (-1, {_sV: _ruby______}), - (-1, {_sV: _ruby________}), - (-1, {_sV: _pr}), - (-1, {_sV: _prov}), - (-1, {_sV: _provid}), - (-1, {_sV: _nodejsx_________________}), - (-1, {_sV: _python________________}), - (-1, {_sV: _javaal}), - (-1, {_sV: _javaal__}), - (-1, {_sV: _javaal____}), - ), -) - -SNAP_START_APPLY_ON: StaticSchema = ( - 14, - n0, - _SSAO, - 0, - (_PV, _No), - ((-1, {_sV: _PV}), (-1, {_sV: _No})), -) - -SNAP_START: StaticSchema = (18, n0, _SSn, 0, (_AO,), ((SNAP_START_APPLY_ON, 0),)) - -TENANT_ISOLATION_MODE: StaticSchema = (14, n0, _TIM, 0, (_PT_,), ((-1, {_sV: _PT_}),)) - -TENANCY_CONFIG: StaticSchema = (18, n0, _TCe, 0, (_TIM,), ((TENANT_ISOLATION_MODE, 1),)) - -TIMEOUT: StaticSchema = (7, n0, _Tim, 0) - -TRACING_MODE: StaticSchema = ( - 14, - n0, - _TM, - 0, - (_Ac, _PTas), - ((-1, {_sV: _Ac}), (-1, {_sV: _PTas})), -) - -TRACING_CONFIG: StaticSchema = (18, n0, _TCr, 0, (_Mo,), ((TRACING_MODE, 0),)) - -NULLABLE_BOOLEAN: StaticSchema = (2, n0, _NB, 0) - -SECURITY_GROUP_IDS: StaticSchema = (16, n0, _SGIe, 0, (_me,), ((SECURITY_GROUP_ID, 0),)) - -SUBNET_IDS: StaticSchema = (16, n0, _SIub, 0, (_me,), ((SUBNET_ID, 0),)) - -VPC_CONFIG: StaticSchema = ( - 18, - n0, - _VC, - 0, - (_SIub, _SGIe, _IAFDS), - ((SUBNET_IDS, 0), (SECURITY_GROUP_IDS, 0), (NULLABLE_BOOLEAN, 0)), -) - -CREATE_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _CFI, - {_sSI: _cCFR, _sm: None}, - ( - _FN, - _Ru, - _Ro, - _H, - _Cod, - _D, - _Tim, - _MS, - _Pu, - _PTu, - _VC, - _PTa, - _DLC, - _Env, - _KMSKA, - _TCr, - _Ta, - _La, - _FSCi, - _CSCA, - _ICm, - _Arch, - _ESp, - _SSn, - _LC, - _TCe, - _CPC, - _DC, - ), - ( - (FUNCTION_NAME, 1), - (RUNTIME, 0), - (ROLE_ARN, 1), - (HANDLER, 0), - (FUNCTION_CODE, 1), - (DESCRIPTION, 0), - (TIMEOUT, 0), - (MEMORY_SIZE, 0), - (BOOLEAN, {_s: False}), - (FUNCTION_VERSION_LATEST_PUBLISHED, 0), - (VPC_CONFIG, 0), - (PACKAGE_TYPE, 0), - (DEAD_LETTER_CONFIG, 0), - (ENVIRONMENT, 0), - (KMS_KEY_ARN, 0), - (TRACING_CONFIG, 0), - (TAGS, 0), - (LAYER_LIST, 0), - (FILE_SYSTEM_CONFIG_LIST, 0), - (CODE_SIGNING_CONFIG_ARN, 0), - (IMAGE_CONFIG, 0), - (ARCHITECTURES_LIST, 0), - (EPHEMERAL_STORAGE, 0), - (SNAP_START, 0), - (LOGGING_CONFIG, 0), - (TENANCY_CONFIG, 0), - (CAPACITY_PROVIDER_CONFIG, 0), - (DURABLE_CONFIG, 0), - ), -) - -SENSITIVE_STRING: StaticSchema = (3, n0, _SSe, 4) - -ENVIRONMENT_ERROR: StaticSchema = ( - 18, - n0, - _EEn, - 0, - (_ECrr, _M), - ((STRING, 0), (SENSITIVE_STRING, 0)), -) - -ENVIRONMENT_RESPONSE: StaticSchema = ( - 18, - n0, - _ERn, - 0, - (_Va, _E), - ((ENVIRONMENT_VARIABLES, 0), (ENVIRONMENT_ERROR, 0)), -) - -IMAGE_CONFIG_ERROR: StaticSchema = ( - 18, - n0, - _ICE, - 0, - (_ECrr, _M), - ((STRING, 0), (SENSITIVE_STRING, 0)), -) - -IMAGE_CONFIG_RESPONSE: StaticSchema = ( - 18, - n0, - _ICR, - 0, - (_ICm, _E), - ((IMAGE_CONFIG, 0), (IMAGE_CONFIG_ERROR, 0)), -) - -LAST_UPDATE_STATUS: StaticSchema = ( - 14, - n0, - _LUS, - 0, - (_Su, _Fa, _IPn), - ((-1, {_sV: _Su}), (-1, {_sV: _Fa}), (-1, {_sV: _IPn})), -) - -LAST_UPDATE_STATUS_REASON: StaticSchema = (3, n0, _LUSR, 0) - -LAST_UPDATE_STATUS_REASON_CODE: StaticSchema = ( - 14, - n0, - _LUSRC, - 0, - ( - _ELE, - _IRP, - _ICnv, - _IE, - _SOOIPA, - _IS, - _ISG, - _ID, - _IAD, - _II, - _KMSKAD, - _KMSKNF, - _ISKMSK, - _DKMSK, - _EFSIOE, - _EFSMCE, - _EFSMF, - _EFSMT, - _IRn, - _IZFE, - _FE, - _SQEE, - _VLE, - _CPSLE, - _ICns, - _ECRLE, - _FEIT, - _FERIE, - _FEEIE, - _FEIEP, - _FEIWD, - _FEPD, - _FETME, - _FEIRE, - _DBVEC, - _DE, - ), - ( - (-1, {_sV: _ELE}), - (-1, {_sV: _IRP}), - (-1, {_sV: _ICnv}), - (-1, {_sV: _IE}), - (-1, {_sV: _SOOIPA}), - (-1, {_sV: _IS}), - (-1, {_sV: _ISG}), - (-1, {_sV: _ID}), - (-1, {_sV: _IAD}), - (-1, {_sV: _II}), - (-1, {_sV: _KMSKAD}), - (-1, {_sV: _KMSKNF}), - (-1, {_sV: _ISKMSK}), - (-1, {_sV: _DKMSK}), - (-1, {_sV: _EFSIOE}), - (-1, {_sV: _EFSMCE}), - (-1, {_sV: _EFSMF}), - (-1, {_sV: _EFSMT}), - (-1, {_sV: _IRn}), - (-1, {_sV: _IZFE}), - (-1, {_sV: _FE}), - (-1, {_sV: _SQEE}), - (-1, {_sV: _VLE}), - (-1, {_sV: _CPSLE}), - (-1, {_sV: _ICns}), - (-1, {_sV: _ECRLE}), - (-1, {_sV: _FEITu}), - (-1, {_sV: _FERIEu}), - (-1, {_sV: _FEEIEu}), - (-1, {_sV: _FEIEPu}), - (-1, {_sV: _FEIWDu}), - (-1, {_sV: _FEPDu}), - (-1, {_sV: _FETMEu}), - (-1, {_sV: _FEIREu}), - (-1, {_sV: _DBVEC}), - (-1, {_sV: _DE}), - ), -) - -LAYER: StaticSchema = ( - 18, - n0, - _Lay, - 0, - (_Ar, _CSod, _SPVAi, _SJA), - ((LAYER_VERSION_ARN, 0), (LONG, {_s: 0}), (ARN, 0), (ARN, 0)), -) - -LAYERS_REFERENCE_LIST: StaticSchema = (16, n0, _LRL, 0, (_me,), ((LAYER, 0),)) - -RUNTIME_VERSION_ERROR: StaticSchema = ( - 18, - n0, - _RVE, - 0, - (_ECrr, _M), - ((STRING, 0), (SENSITIVE_STRING, 0)), -) - -RUNTIME_VERSION_ARN: StaticSchema = (3, n0, _RVA, 0) - -RUNTIME_VERSION_CONFIG: StaticSchema = ( - 18, - n0, - _RVC, - 0, - (_RVA, _E), - ((RUNTIME_VERSION_ARN, 0), (RUNTIME_VERSION_ERROR, 0)), -) - -SNAP_START_OPTIMIZATION_STATUS: StaticSchema = ( - 14, - n0, - _SSOS, - 0, - (_On, _Of), - ((-1, {_sV: _On}), (-1, {_sV: _Of})), -) - -SNAP_START_RESPONSE: StaticSchema = ( - 18, - n0, - _SSR, - 0, - (_AO, _OSp), - ((SNAP_START_APPLY_ON, 0), (SNAP_START_OPTIMIZATION_STATUS, 0)), -) - -STATE_REASON: StaticSchema = (3, n0, _SR, 0) - -STATE_REASON_CODE: StaticSchema = ( - 14, - n0, - _SRCt, - 0, - ( - _Idl, - _Cr, - _Res, - _ELE, - _IRP, - _ICnv, - _IE, - _SOOIPA, - _IS, - _ISG, - _ID, - _IAD, - _II, - _KMSKAD, - _KMSKNF, - _ISKMSK, - _DKMSK, - _EFSIOE, - _EFSMCE, - _EFSMF, - _EFSMT, - _IRn, - _IZFE, - _FE, - _SQEE, - _VLE, - _CPSLE, - _ICns, - _ECRLE, - _FEIT, - _FERIE, - _FEEIE, - _FEIEP, - _FEIWD, - _FEPD, - _FETME, - _FEIRE, - _DBVEC, - _DDE, - _DE, - ), - ( - (-1, {_sV: _Idl}), - (-1, {_sV: _Cr}), - (-1, {_sV: _Res}), - (-1, {_sV: _ELE}), - (-1, {_sV: _IRP}), - (-1, {_sV: _ICnv}), - (-1, {_sV: _IE}), - (-1, {_sV: _SOOIPA}), - (-1, {_sV: _IS}), - (-1, {_sV: _ISG}), - (-1, {_sV: _ID}), - (-1, {_sV: _IAD}), - (-1, {_sV: _II}), - (-1, {_sV: _KMSKAD}), - (-1, {_sV: _KMSKNF}), - (-1, {_sV: _ISKMSK}), - (-1, {_sV: _DKMSK}), - (-1, {_sV: _EFSIOE}), - (-1, {_sV: _EFSMCE}), - (-1, {_sV: _EFSMF}), - (-1, {_sV: _EFSMT}), - (-1, {_sV: _IRn}), - (-1, {_sV: _IZFE}), - (-1, {_sV: _FE}), - (-1, {_sV: _SQEE}), - (-1, {_sV: _VLE}), - (-1, {_sV: _CPSLE}), - (-1, {_sV: _ICns}), - (-1, {_sV: _ECRLE}), - (-1, {_sV: _FEITu}), - (-1, {_sV: _FERIEu}), - (-1, {_sV: _FEEIEu}), - (-1, {_sV: _FEIEPu}), - (-1, {_sV: _FEIWDu}), - (-1, {_sV: _FEPDu}), - (-1, {_sV: _FETMEu}), - (-1, {_sV: _FEIREu}), - (-1, {_sV: _DBVEC}), - (-1, {_sV: _DDE}), - (-1, {_sV: _DE}), - ), -) - -TRACING_CONFIG_RESPONSE: StaticSchema = (18, n0, _TCR, 0, (_Mo,), ((TRACING_MODE, 0),)) - -VPC_ID: StaticSchema = (3, n0, _VI, 0) - -VPC_CONFIG_RESPONSE: StaticSchema = ( - 18, - n0, - _VCR, - 0, - (_SIub, _SGIe, _VI, _IAFDS), - ((SUBNET_IDS, 0), (SECURITY_GROUP_IDS, 0), (VPC_ID, 0), (NULLABLE_BOOLEAN, 0)), -) - -CREATE_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CFO, - {_sSI: _cFC, _smit: None}, - ( - _FN, - _FA, - _Ru, - _Ro, - _H, - _CSod, - _D, - _Tim, - _MS, - _LM, - _CSode, - _V, - _VC, - _DLC, - _Env, - _KMSKA, - _TCr, - _MA, - _RI, - _La, - _Sta, - _SR, - _SRCt, - _LUS, - _LUSR, - _LUSRC, - _FSCi, - _SPVAi, - _SJA, - _PTa, - _ICR, - _Arch, - _ESp, - _SSn, - _RVC, - _LC, - _TCe, - _CPC, - _CSon, - _DC, - ), - ( - (NAMESPACED_FUNCTION_NAME, 0), - (NAME_SPACED_FUNCTION_ARN, 0), - (RUNTIME, 0), - (ROLE_ARN, 0), - (HANDLER, 0), - (LONG, {_s: 0}), - (DESCRIPTION, 0), - (TIMEOUT, 0), - (MEMORY_SIZE, 0), - (TIMESTAMP, 0), - (STRING, 0), - (VERSION, 0), - (VPC_CONFIG_RESPONSE, 0), - (DEAD_LETTER_CONFIG, 0), - (ENVIRONMENT_RESPONSE, 0), - (KMS_KEY_ARN, 0), - (TRACING_CONFIG_RESPONSE, 0), - (FUNCTION_ARN, 0), - (STRING, 0), - (LAYERS_REFERENCE_LIST, 0), - (STATE, 0), - (STATE_REASON, 0), - (STATE_REASON_CODE, 0), - (LAST_UPDATE_STATUS, 0), - (LAST_UPDATE_STATUS_REASON, 0), - (LAST_UPDATE_STATUS_REASON_CODE, 0), - (FILE_SYSTEM_CONFIG_LIST, 0), - (ARN, 0), - (ARN, 0), - (PACKAGE_TYPE, 0), - (IMAGE_CONFIG_RESPONSE, 0), - (ARCHITECTURES_LIST, 0), - (EPHEMERAL_STORAGE, 0), - (SNAP_START_RESPONSE, 0), - (RUNTIME_VERSION_CONFIG, 0), - (LOGGING_CONFIG, 0), - (TENANCY_CONFIG, 0), - (CAPACITY_PROVIDER_CONFIG, 0), - (STRING, 0), - (DURABLE_CONFIG, 0), - ), -) - -FUNCTION_VERSIONS_PER_CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _FVPCPLEE, - {_smith: _c, _sE: 400}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -INVALID_CODE_SIGNATURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ICSE, - {_smith: _c, _sE: 400}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -CREATE_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _CFr, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2015-03-31/functions", "code": 201} - ) - }, - CREATE_FUNCTION_INPUT, - CREATE_FUNCTION_OUTPUT, - ( - CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, - CODE_STORAGE_EXCEEDED_EXCEPTION, - CODE_VERIFICATION_FAILED_EXCEPTION, - FUNCTION_VERSIONS_PER_CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION, - INVALID_CODE_SIGNATURE_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -HEADER: StaticSchema = (3, n0, _He, 0) - -HEADERS_LIST: StaticSchema = (16, n0, _HL, 0, (_me,), ((HEADER, 0),)) - -MAX_AGE: StaticSchema = (7, n0, _MAa, 0) - -CORS: StaticSchema = ( - 18, - n0, - _Cor, - 0, - (_ACl, _AH, _AM, _AOl, _EH, _MAa), - ( - (ALLOW_CREDENTIALS, 0), - (HEADERS_LIST, 0), - (ALLOW_METHODS_LIST, 0), - (ALLOW_ORIGINS_LIST, 0), - (HEADERS_LIST, 0), - (MAX_AGE, 0), - ), -) - -FUNCTION_URL_FUNCTION_NAME: StaticSchema = (3, n0, _FUFN, 0) - -INVOKE_MODE: StaticSchema = ( - 14, - n0, - _IM, - 0, - (_BUFFERED, _RS), - ((-1, {_sV: _BUFFERED}), (-1, {_sV: _RS})), -) - -FUNCTION_URL_QUALIFIER: StaticSchema = (3, n0, _FUQ, 0) - -CREATE_FUNCTION_URL_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _CFUCI, - {_sSI: _cCFUCR, _sm: None}, - (_FN, _Q, _ATu, _Cor, _IM), - ( - (FUNCTION_URL_FUNCTION_NAME, 9), - (FUNCTION_URL_QUALIFIER, {_sQ: _Q}), - (FUNCTION_URL_AUTH_TYPE, 1), - (CORS, 0), - (INVOKE_MODE, 0), - ), -) - -FUNCTION_URL: StaticSchema = (3, n0, _FU, 0) - -CREATE_FUNCTION_URL_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _CFUCO, - {_sSI: _cCFUCRo, _smit: None}, - (_FU, _FA, _ATu, _Cor, _CTr, _IM), - ( - (FUNCTION_URL, 1), - (FUNCTION_ARN, 1), - (FUNCTION_URL_AUTH_TYPE, 1), - (CORS, 0), - (TIMESTAMP, 1), - (INVOKE_MODE, 0), - ), -) - -CREATE_FUNCTION_URL_CONFIG: StaticOperationSchema = ( - 23, - n0, - _CFUC, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2021-10-31/functions/{FunctionName}/url", - "code": 201, - } - ) - }, - CREATE_FUNCTION_URL_CONFIG_INPUT, - CREATE_FUNCTION_URL_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DELETE_FUNCTION_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _DFCSCI, - {_sSI: _cDFCSCR, _sm: None}, - (_FN,), - ((NAMESPACED_FUNCTION_NAME, 9),), -) - -DELETE_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _DFCSCO, - {_sSI: _sU, _smit: None}, -) - -DELETE_FUNCTION_CODE_SIGNING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _DFCSC, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2020-06-30/functions/{FunctionName}/code-signing-config", - "code": 204, - } - ) - }, - DELETE_FUNCTION_CODE_SIGNING_CONFIG_INPUT, - DELETE_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT, - ( - CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DELETE_FUNCTION_CONCURRENCY_INPUT: StaticSchema = ( - 18, - n0, - _DFCI, - {_sSI: _cDFCR, _sm: None}, - (_FN,), - ((FUNCTION_NAME, 9),), -) - -DELETE_FUNCTION_CONCURRENCY_OUTPUT: StaticSchema = ( - 18, - n0, - _DFCO, - {_sSI: _sU, _smit: None}, -) - -DELETE_FUNCTION_CONCURRENCY: StaticOperationSchema = ( - 23, - n0, - _DFC, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2017-10-31/functions/{FunctionName}/concurrency", - "code": 204, - } - ) - }, - DELETE_FUNCTION_CONCURRENCY_INPUT, - DELETE_FUNCTION_CONCURRENCY_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DELETE_FUNCTION_URL_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _DFUCI, - {_sSI: _cDFUCR, _sm: None}, - (_FN, _Q), - ((FUNCTION_URL_FUNCTION_NAME, 9), (FUNCTION_URL_QUALIFIER, {_sQ: _Q})), -) - -DELETE_FUNCTION_URL_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _DFUCO, - {_sSI: _sU, _smit: None}, -) - -DELETE_FUNCTION_URL_CONFIG: StaticOperationSchema = ( - 23, - n0, - _DFUC, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2021-10-31/functions/{FunctionName}/url", - "code": 204, - } - ) - }, - DELETE_FUNCTION_URL_CONFIG_INPUT, - DELETE_FUNCTION_URL_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _GFI, - {_sSI: _cGFR, _sm: None}, - (_FN, _Q), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - ), -) - -FUNCTION_CODE_LOCATION_ERROR: StaticSchema = ( - 18, - n0, - _FCLE, - 0, - (_ECrr, _M), - ((STRING, 0), (SENSITIVE_STRING, 0)), -) - -SENSITIVE_STRING_ON_SERVER_ONLY: StaticSchema = (3, n0, _SSOSO, 0) - -RESOLVED_S3_OBJECT: StaticSchema = ( - 18, - n0, - _RSO, - 0, - (_SB, _SK, _SOV), - ((S3_BUCKET, 0), (S3_KEY, 0), (S3_OBJECT_VERSION, 0)), -) - -FUNCTION_CODE_LOCATION: StaticSchema = ( - 18, - n0, - _FCL, - 0, - (_RT, _Lo, _IU, _RIU, _RSO, _SKMSKA, _E), - ( - (STRING, 0), - (SENSITIVE_STRING_ON_SERVER_ONLY, 0), - (STRING, 0), - (STRING, 0), - (RESOLVED_S3_OBJECT, 0), - (KMS_KEY_ARN, 0), - (FUNCTION_CODE_LOCATION_ERROR, 0), - ), -) - -RESERVED_CONCURRENT_EXECUTIONS: StaticSchema = (7, n0, _RCEe, 0) - -CONCURRENCY: StaticSchema = ( - 18, - n0, - _Con, - 0, - (_RCEe,), - ((RESERVED_CONCURRENT_EXECUTIONS, 0),), -) - -FUNCTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FCun, - 0, - ( - _FN, - _FA, - _Ru, - _Ro, - _H, - _CSod, - _D, - _Tim, - _MS, - _LM, - _CSode, - _V, - _VC, - _DLC, - _Env, - _KMSKA, - _TCr, - _MA, - _RI, - _La, - _Sta, - _SR, - _SRCt, - _LUS, - _LUSR, - _LUSRC, - _FSCi, - _SPVAi, - _SJA, - _PTa, - _ICR, - _Arch, - _ESp, - _SSn, - _RVC, - _LC, - _TCe, - _CPC, - _CSon, - _DC, - ), - ( - (NAMESPACED_FUNCTION_NAME, 0), - (NAME_SPACED_FUNCTION_ARN, 0), - (RUNTIME, 0), - (ROLE_ARN, 0), - (HANDLER, 0), - (LONG, {_s: 0}), - (DESCRIPTION, 0), - (TIMEOUT, 0), - (MEMORY_SIZE, 0), - (TIMESTAMP, 0), - (STRING, 0), - (VERSION, 0), - (VPC_CONFIG_RESPONSE, 0), - (DEAD_LETTER_CONFIG, 0), - (ENVIRONMENT_RESPONSE, 0), - (KMS_KEY_ARN, 0), - (TRACING_CONFIG_RESPONSE, 0), - (FUNCTION_ARN, 0), - (STRING, 0), - (LAYERS_REFERENCE_LIST, 0), - (STATE, 0), - (STATE_REASON, 0), - (STATE_REASON_CODE, 0), - (LAST_UPDATE_STATUS, 0), - (LAST_UPDATE_STATUS_REASON, 0), - (LAST_UPDATE_STATUS_REASON_CODE, 0), - (FILE_SYSTEM_CONFIG_LIST, 0), - (ARN, 0), - (ARN, 0), - (PACKAGE_TYPE, 0), - (IMAGE_CONFIG_RESPONSE, 0), - (ARCHITECTURES_LIST, 0), - (EPHEMERAL_STORAGE, 0), - (SNAP_START_RESPONSE, 0), - (RUNTIME_VERSION_CONFIG, 0), - (LOGGING_CONFIG, 0), - (TENANCY_CONFIG, 0), - (CAPACITY_PROVIDER_CONFIG, 0), - (STRING, 0), - (DURABLE_CONFIG, 0), - ), -) - -TAGS_ERROR_CODE: StaticSchema = (3, n0, _TEC, 0) - -TAGS_ERROR_MESSAGE: StaticSchema = (3, n0, _TEM, 0) - -TAGS_ERROR: StaticSchema = ( - 18, - n0, - _TE, - 0, - (_ECrr, _M), - ((TAGS_ERROR_CODE, 1), (TAGS_ERROR_MESSAGE, 1)), -) - -GET_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GFO, - {_sSI: _cGFRo, _smit: None}, - (_Conf, _Cod, _Ta, _TE, _Con), - ( - (FUNCTION_CONFIGURATION, 0), - (FUNCTION_CODE_LOCATION, 0), - (TAGS, 0), - (TAGS_ERROR, 0), - (CONCURRENCY, 0), - ), -) - -GET_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _GF, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2015-03-31/functions/{FunctionName}", - "code": 200, - } - ) - }, - GET_FUNCTION_INPUT, - GET_FUNCTION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_FUNCTION_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GFCSCI, - {_sSI: _cGFCSCR, _sm: None}, - (_FN,), - ((NAMESPACED_FUNCTION_NAME, 9),), -) - -GET_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GFCSCO, - {_sSI: _cGFCSCRo, _smit: None}, - (_CSCA, _FN), - ((CODE_SIGNING_CONFIG_ARN, 1), (FUNCTION_NAME, 1)), -) - -GET_FUNCTION_CODE_SIGNING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GFCSC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2020-06-30/functions/{FunctionName}/code-signing-config", - "code": 200, - } - ) - }, - GET_FUNCTION_CODE_SIGNING_CONFIG_INPUT, - GET_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT, - ( - CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_FUNCTION_CONCURRENCY_INPUT: StaticSchema = ( - 18, - n0, - _GFCI, - {_sSI: _cGFCR, _sm: None}, - (_FN,), - ((FUNCTION_NAME, 9),), -) - -GET_FUNCTION_CONCURRENCY_OUTPUT: StaticSchema = ( - 18, - n0, - _GFCO, - {_sSI: _cGFCRo, _smit: None}, - (_RCEe,), - ((RESERVED_CONCURRENT_EXECUTIONS, 0),), -) - -GET_FUNCTION_CONCURRENCY: StaticOperationSchema = ( - 23, - n0, - _GFC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2019-09-30/functions/{FunctionName}/concurrency", - "code": 200, - } - ) - }, - GET_FUNCTION_CONCURRENCY_INPUT, - GET_FUNCTION_CONCURRENCY_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_FUNCTION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GFCIe, - {_sSI: _cGFCRom, _sm: None}, - (_FN, _Q), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - ), -) - -GET_FUNCTION_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GFCOe, - {_sSI: _cFC, _smit: None}, - ( - _FN, - _FA, - _Ru, - _Ro, - _H, - _CSod, - _D, - _Tim, - _MS, - _LM, - _CSode, - _V, - _VC, - _DLC, - _Env, - _KMSKA, - _TCr, - _MA, - _RI, - _La, - _Sta, - _SR, - _SRCt, - _LUS, - _LUSR, - _LUSRC, - _FSCi, - _SPVAi, - _SJA, - _PTa, - _ICR, - _Arch, - _ESp, - _SSn, - _RVC, - _LC, - _TCe, - _CPC, - _CSon, - _DC, - ), - ( - (NAMESPACED_FUNCTION_NAME, 0), - (NAME_SPACED_FUNCTION_ARN, 0), - (RUNTIME, 0), - (ROLE_ARN, 0), - (HANDLER, 0), - (LONG, {_s: 0}), - (DESCRIPTION, 0), - (TIMEOUT, 0), - (MEMORY_SIZE, 0), - (TIMESTAMP, 0), - (STRING, 0), - (VERSION, 0), - (VPC_CONFIG_RESPONSE, 0), - (DEAD_LETTER_CONFIG, 0), - (ENVIRONMENT_RESPONSE, 0), - (KMS_KEY_ARN, 0), - (TRACING_CONFIG_RESPONSE, 0), - (FUNCTION_ARN, 0), - (STRING, 0), - (LAYERS_REFERENCE_LIST, 0), - (STATE, 0), - (STATE_REASON, 0), - (STATE_REASON_CODE, 0), - (LAST_UPDATE_STATUS, 0), - (LAST_UPDATE_STATUS_REASON, 0), - (LAST_UPDATE_STATUS_REASON_CODE, 0), - (FILE_SYSTEM_CONFIG_LIST, 0), - (ARN, 0), - (ARN, 0), - (PACKAGE_TYPE, 0), - (IMAGE_CONFIG_RESPONSE, 0), - (ARCHITECTURES_LIST, 0), - (EPHEMERAL_STORAGE, 0), - (SNAP_START_RESPONSE, 0), - (RUNTIME_VERSION_CONFIG, 0), - (LOGGING_CONFIG, 0), - (TENANCY_CONFIG, 0), - (CAPACITY_PROVIDER_CONFIG, 0), - (STRING, 0), - (DURABLE_CONFIG, 0), - ), -) - -GET_FUNCTION_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GFCe, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2015-03-31/functions/{FunctionName}/configuration", - "code": 200, - } - ) - }, - GET_FUNCTION_CONFIGURATION_INPUT, - GET_FUNCTION_CONFIGURATION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UNQUALIFIED_FUNCTION_NAME: StaticSchema = (3, n0, _UFN, 0) - -GET_FUNCTION_RECURSION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GFRCI, - {_sSI: _cGFRCR, _sm: None}, - (_FN,), - ((UNQUALIFIED_FUNCTION_NAME, 9),), -) - -RECURSIVE_LOOP: StaticSchema = ( - 14, - n0, - _RL, - 0, - (_All, _Ter), - ((-1, {_sV: _All}), (-1, {_sV: _Ter})), -) - -GET_FUNCTION_RECURSION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GFRCO, - {_sSI: _cGFRCRo, _smit: None}, - (_RL,), - ((RECURSIVE_LOOP, 0),), -) - -GET_FUNCTION_RECURSION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GFRC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2024-08-31/functions/{FunctionName}/recursion-config", - "code": 200, - } - ) - }, - GET_FUNCTION_RECURSION_CONFIG_INPUT, - GET_FUNCTION_RECURSION_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUBLISHED_FUNCTION_QUALIFIER: StaticSchema = (3, n0, _PFQ, 0) - -GET_FUNCTION_SCALING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GFSCI, - {_sSI: _cGFSCR, _sm: None}, - (_FN, _Q), - ( - (UNQUALIFIED_FUNCTION_NAME, 9), - (PUBLISHED_FUNCTION_QUALIFIER, {_sQ: _Q, _smi: None}), - ), -) - -FUNCTION_SCALING_CONFIG_EXECUTION_ENVIRONMENTS: StaticSchema = (7, n0, _FSCEE, 0) - -FUNCTION_SCALING_CONFIG: StaticSchema = ( - 18, - n0, - _FSCu, - 0, - (_MEE, _MEEa), - ( - (FUNCTION_SCALING_CONFIG_EXECUTION_ENVIRONMENTS, 0), - (FUNCTION_SCALING_CONFIG_EXECUTION_ENVIRONMENTS, 0), - ), -) - -GET_FUNCTION_SCALING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GFSCO, - {_sSI: _cGFSCRo, _smit: None}, - (_FA, _AFSC, _RFSC), - ((FUNCTION_ARN, 0), (FUNCTION_SCALING_CONFIG, 0), (FUNCTION_SCALING_CONFIG, 0)), -) - -GET_FUNCTION_SCALING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GFSC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2025-11-30/functions/{FunctionName}/function-scaling-config", - "code": 200, - } - ) - }, - GET_FUNCTION_SCALING_CONFIG_INPUT, - GET_FUNCTION_SCALING_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_FUNCTION_URL_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GFUCI, - {_sSI: _cGFUCR, _sm: None}, - (_FN, _Q), - ((FUNCTION_URL_FUNCTION_NAME, 9), (FUNCTION_URL_QUALIFIER, {_sQ: _Q})), -) - -GET_FUNCTION_URL_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GFUCO, - {_sSI: _cGFUCRo, _smit: None}, - (_FU, _FA, _ATu, _Cor, _CTr, _LMT, _IM), - ( - (FUNCTION_URL, 1), - (FUNCTION_ARN, 1), - (FUNCTION_URL_AUTH_TYPE, 1), - (CORS, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (INVOKE_MODE, 0), - ), -) - -GET_FUNCTION_URL_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GFUC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2021-10-31/functions/{FunctionName}/url", - "code": 200, - } - ) - }, - GET_FUNCTION_URL_CONFIG_INPUT, - GET_FUNCTION_URL_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GPI, - {_sSI: _cGPR, _sm: None}, - (_FN, _Q), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - ), -) - -GET_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GPO, - {_sSI: _cGPRo, _smit: None}, - (_Po, _RI), - ((STRING, 0), (STRING, 0)), -) - -GET_POLICY: StaticOperationSchema = ( - 23, - n0, - _GP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2015-03-31/functions/{FunctionName}/policy", - "code": 200, - } - ) - }, - GET_POLICY_INPUT, - GET_POLICY_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_RUNTIME_MANAGEMENT_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GRMCI, - {_sSI: _cGRMCR, _sm: None}, - (_FN, _Q), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - ), -) - -UPDATE_RUNTIME_ON: StaticSchema = ( - 14, - n0, - _URO, - 0, - (_Au, _Ma, _FUu), - ((-1, {_sV: _Au}), (-1, {_sV: _Ma}), (-1, {_sV: _FUu})), -) - -GET_RUNTIME_MANAGEMENT_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GRMCO, - {_sSI: _cGRMCRo, _smit: None}, - (_URO, _FA, _RVA), - ((UPDATE_RUNTIME_ON, 0), (NAME_SPACED_FUNCTION_ARN, 0), (RUNTIME_VERSION_ARN, 0)), -) - -GET_RUNTIME_MANAGEMENT_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GRMC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2021-07-20/functions/{FunctionName}/runtime-management-config", - "code": 200, - } - ) - }, - GET_RUNTIME_MANAGEMENT_CONFIG_INPUT, - GET_RUNTIME_MANAGEMENT_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -CODE_ARTIFACT_USER_DELETED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CAUDE, - {_smith: _c, _sE: 409}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -CODE_ARTIFACT_USER_FAILED_EXCEPTION: StaticSchema = ( - 18, - n0, - _CAUFE, - {_smith: _c, _sE: 409}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -CODE_ARTIFACT_USER_PENDING_EXCEPTION: StaticSchema = ( - 18, - n0, - _CAUPE, - {_smith: _c, _sE: 409}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -DURABLE_EXECUTION_ALREADY_STARTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _DEASE, - {_smith: _c, _sE: 409}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -EC2_ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ECADE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -EC2_THROTTLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ECTE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -EC2_UNEXPECTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ECUE, - {_smith: _se, _sE: 502}, - (_T, _M, _ECEC), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -EFSIO_EXCEPTION: StaticSchema = ( - 18, - n0, - _EFSIOEx, - {_smith: _c, _sE: 410}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -EFS_MOUNT_CONNECTIVITY_EXCEPTION: StaticSchema = ( - 18, - n0, - _EFSMCEo, - {_smith: _c, _sE: 408}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -EFS_MOUNT_FAILURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _EFSMFE, - {_smith: _c, _sE: 403}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -EFS_MOUNT_TIMEOUT_EXCEPTION: StaticSchema = ( - 18, - n0, - _EFSMTE, - {_smith: _c, _sE: 408}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -ENI_LIMIT_REACHED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ENILRE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -ENI_NOT_READY_EXCEPTION: StaticSchema = ( - 18, - n0, - _ENINRE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -INVALID_REQUEST_CONTENT_EXCEPTION: StaticSchema = ( - 18, - n0, - _IRCE, - {_smith: _c, _sE: 400}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -INVALID_RUNTIME_EXCEPTION: StaticSchema = ( - 18, - n0, - _IRE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -INVALID_SECURITY_GROUP_ID_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISGIDE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -INVALID_SUBNET_ID_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISIDE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -INVALID_ZIP_FILE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IZFE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -INVOCATION_TYPE: StaticSchema = ( - 14, - n0, - _ITn, - 0, - (_Ev, _RR, _DR), - ((-1, {_sV: _Ev}), (-1, {_sV: _RR}), (-1, {_sV: _DR})), -) - -LOG_TYPE: StaticSchema = ( - 14, - n0, - _LT, - 0, - (_No, _Tai), - ((-1, {_sV: _No}), (-1, {_sV: _Tai})), -) - -INVOKE_INPUT: StaticSchema = ( - 18, - n0, - _IIn, - {_sSI: _cIR, _sm: None}, - (_FN, _ITn, _LT, _CC, _DEN, _Pa, _Q, _TI), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (INVOCATION_TYPE, {_sH: _XAIT}), - (LOG_TYPE, {_sH: _XALT}), - (STRING, {_sH: _XACC}), - (DURABLE_EXECUTION_NAME, {_sH: _XADEN}), - (BLOB, 16), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - (TENANT_ID, {_sH: _XATI_}), - ), -) - -INVOKE_OUTPUT: StaticSchema = ( - 18, - n0, - _IO, - {_sSI: _cIRo, _smit: None}, - (_SC, _FE, _LR, _Pa, _EV, _DEA), - ( - (INTEGER, {_s: 0, _sRC: None}), - (STRING, {_sH: _XAFE}), - (STRING, {_sH: _XALR}), - (BLOB, 16), - (VERSION, {_sH: _XAEV}), - (DURABLE_EXECUTION_ARN, {_sH: _XADEA}), - ), -) - -MODE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _MNSE, - {_smith: _c, _sE: 400}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -NO_PUBLISHED_VERSION_EXCEPTION: StaticSchema = ( - 18, - n0, - _NPVE, - {_smith: _c, _sE: 400}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -RECURSIVE_INVOCATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _RIE, - {_smith: _c, _sE: 400}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -REQUEST_TOO_LARGE_EXCEPTION: StaticSchema = ( - 18, - n0, - _RTLE, - {_smith: _c, _sE: 413}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -RESOURCE_NOT_READY_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNRE, - {_smith: _se, _sE: 502}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -S3_FILES_MOUNT_CONNECTIVITY_EXCEPTION: StaticSchema = ( - 18, - n0, - _SFMCE, - {_smith: _c, _sE: 408}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -S3_FILES_MOUNT_FAILURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SFMFE, - {_smith: _c, _sE: 403}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -S3_FILES_MOUNT_TIMEOUT_EXCEPTION: StaticSchema = ( - 18, - n0, - _SFMTE, - {_smith: _c, _sE: 408}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -SERIALIZED_REQUEST_ENTITY_TOO_LARGE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SRETLE, - {_smith: _c, _sE: 413}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_smith: _c, _sE: 402}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -SNAP_START_EXCEPTION: StaticSchema = ( - 18, - n0, - _SSE, - {_smith: _c, _sE: 400}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -SNAP_START_NOT_READY_EXCEPTION: StaticSchema = ( - 18, - n0, - _SSNRE, - {_smith: _c, _sE: 409}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -SNAP_START_REGENERATION_FAILURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SSRFE, - {_smith: _c, _sE: 409}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -SNAP_START_TIMEOUT_EXCEPTION: StaticSchema = ( - 18, - n0, - _SSTE, - {_smith: _c, _sE: 408}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -SUBNET_IP_ADDRESS_LIMIT_REACHED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SIPALRE, - {_smith: _se, _sE: 502}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -UNSUPPORTED_MEDIA_TYPE_EXCEPTION: StaticSchema = ( - 18, - n0, - _UMTE, - {_smith: _c, _sE: 415}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -INVOKE: StaticOperationSchema = ( - 23, - n0, - _Inv, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2015-03-31/functions/{FunctionName}/invocations", - "code": 200, - } - ) - }, - INVOKE_INPUT, - INVOKE_OUTPUT, - ( - CODE_ARTIFACT_USER_DELETED_EXCEPTION, - CODE_ARTIFACT_USER_FAILED_EXCEPTION, - CODE_ARTIFACT_USER_PENDING_EXCEPTION, - DURABLE_EXECUTION_ALREADY_STARTED_EXCEPTION, - EC2_ACCESS_DENIED_EXCEPTION, - EC2_THROTTLED_EXCEPTION, - EC2_UNEXPECTED_EXCEPTION, - EFSIO_EXCEPTION, - EFS_MOUNT_CONNECTIVITY_EXCEPTION, - EFS_MOUNT_FAILURE_EXCEPTION, - EFS_MOUNT_TIMEOUT_EXCEPTION, - ENI_LIMIT_REACHED_EXCEPTION, - ENI_NOT_READY_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - INVALID_REQUEST_CONTENT_EXCEPTION, - INVALID_RUNTIME_EXCEPTION, - INVALID_SECURITY_GROUP_ID_EXCEPTION, - INVALID_SUBNET_ID_EXCEPTION, - INVALID_ZIP_FILE_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - MODE_NOT_SUPPORTED_EXCEPTION, - NO_PUBLISHED_VERSION_EXCEPTION, - RECURSIVE_INVOCATION_EXCEPTION, - REQUEST_TOO_LARGE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_READY_EXCEPTION, - S3_FILES_MOUNT_CONNECTIVITY_EXCEPTION, - S3_FILES_MOUNT_FAILURE_EXCEPTION, - S3_FILES_MOUNT_TIMEOUT_EXCEPTION, - SERIALIZED_REQUEST_ENTITY_TOO_LARGE_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SNAP_START_EXCEPTION, - SNAP_START_NOT_READY_EXCEPTION, - SNAP_START_REGENERATION_FAILURE_EXCEPTION, - SNAP_START_TIMEOUT_EXCEPTION, - SUBNET_IP_ADDRESS_LIMIT_REACHED_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNSUPPORTED_MEDIA_TYPE_EXCEPTION, - ), -) - -BLOB_STREAM: StaticSchema = (1, n0, _BSl, {_smithyap: None}) - -INVOKE_ASYNC_INPUT: StaticSchema = ( - 18, - n0, - _IAI, - {_sSI: _cIAR, _sm: None}, - (_FN, _IAn), - ((NAMESPACED_FUNCTION_NAME, 9), (BLOB_STREAM, 17)), -) - -HTTP_STATUS: StaticSchema = (7, n0, _HS, {_s: 0}) - -INVOKE_ASYNC_OUTPUT: StaticSchema = ( - 18, - n0, - _IAO, - {_sSI: _cIARo, _smit: None}, - (_Stat,), - ((HTTP_STATUS, {_s: 0, _sRC: None}),), -) - -INVOKE_ASYNC: StaticOperationSchema = ( - 23, - n0, - _IAnv, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2014-11-13/functions/{FunctionName}/invoke-async", - "code": 202, - } - ) - }, - INVOKE_ASYNC_INPUT, - INVOKE_ASYNC_OUTPUT, - ( - EC2_ACCESS_DENIED_EXCEPTION, - EC2_THROTTLED_EXCEPTION, - EC2_UNEXPECTED_EXCEPTION, - EFSIO_EXCEPTION, - EFS_MOUNT_CONNECTIVITY_EXCEPTION, - EFS_MOUNT_FAILURE_EXCEPTION, - EFS_MOUNT_TIMEOUT_EXCEPTION, - ENI_LIMIT_REACHED_EXCEPTION, - INVALID_REQUEST_CONTENT_EXCEPTION, - INVALID_RUNTIME_EXCEPTION, - INVALID_SECURITY_GROUP_ID_EXCEPTION, - INVALID_SUBNET_ID_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - MODE_NOT_SUPPORTED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - S3_FILES_MOUNT_CONNECTIVITY_EXCEPTION, - S3_FILES_MOUNT_FAILURE_EXCEPTION, - S3_FILES_MOUNT_TIMEOUT_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SNAP_START_EXCEPTION, - SNAP_START_NOT_READY_EXCEPTION, - SNAP_START_REGENERATION_FAILURE_EXCEPTION, - SNAP_START_TIMEOUT_EXCEPTION, - SUBNET_IP_ADDRESS_LIMIT_REACHED_EXCEPTION, - ), -) - -RESPONSE_STREAMING_INVOCATION_TYPE: StaticSchema = ( - 14, - n0, - _RSIT, - 0, - (_RR, _DR), - ((-1, {_sV: _RR}), (-1, {_sV: _DR})), -) - -INVOKE_WITH_RESPONSE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _IWRSI, - {_sSI: _cIWRSR, _sm: None}, - (_FN, _LT, _CC, _Q, _Pa, _TI, _ITn), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (LOG_TYPE, {_sH: _XALT}), - (STRING, {_sH: _XACC}), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - (BLOB, 16), - (TENANT_ID, {_sH: _XATI_}), - (RESPONSE_STREAMING_INVOCATION_TYPE, {_sH: _XAIT}), - ), -) - -INVOKE_WITH_RESPONSE_STREAM_COMPLETE_EVENT: StaticSchema = ( - 18, - n0, - _IWRSCE, - 0, - (_ECrr, _EDr, _LR), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -INVOKE_RESPONSE_STREAM_UPDATE: StaticSchema = ( - 18, - n0, - _IRSU, - 0, - (_Pa,), - ((BLOB, {_sPm: None}),), -) - -INVOKE_WITH_RESPONSE_STREAM_RESPONSE_EVENT: StaticSchema = ( - 19, - n0, - _IWRSRE, - {_smithyap: None}, - (_PCa, _ICnvo), - ( - (INVOKE_RESPONSE_STREAM_UPDATE, 0), - (INVOKE_WITH_RESPONSE_STREAM_COMPLETE_EVENT, 0), - ), -) - -INVOKE_WITH_RESPONSE_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _IWRSO, - {_sSI: _cIWRSRo, _smit: None}, - (_SC, _EV, _ESv, _RSCT), - ( - (INTEGER, {_s: 0, _sRC: None}), - (VERSION, {_sH: _XAEV}), - (INVOKE_WITH_RESPONSE_STREAM_RESPONSE_EVENT, 16), - (STRING, {_sH: _CT_}), - ), -) - -INVOKE_WITH_RESPONSE_STREAM: StaticOperationSchema = ( - 23, - n0, - _IWRS, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2021-11-15/functions/{FunctionName}/response-streaming-invocations", - "code": 200, - } - ) - }, - INVOKE_WITH_RESPONSE_STREAM_INPUT, - INVOKE_WITH_RESPONSE_STREAM_OUTPUT, - ( - CODE_ARTIFACT_USER_DELETED_EXCEPTION, - CODE_ARTIFACT_USER_FAILED_EXCEPTION, - CODE_ARTIFACT_USER_PENDING_EXCEPTION, - EC2_ACCESS_DENIED_EXCEPTION, - EC2_THROTTLED_EXCEPTION, - EC2_UNEXPECTED_EXCEPTION, - EFSIO_EXCEPTION, - EFS_MOUNT_CONNECTIVITY_EXCEPTION, - EFS_MOUNT_FAILURE_EXCEPTION, - EFS_MOUNT_TIMEOUT_EXCEPTION, - ENI_LIMIT_REACHED_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - INVALID_REQUEST_CONTENT_EXCEPTION, - INVALID_RUNTIME_EXCEPTION, - INVALID_SECURITY_GROUP_ID_EXCEPTION, - INVALID_SUBNET_ID_EXCEPTION, - INVALID_ZIP_FILE_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - NO_PUBLISHED_VERSION_EXCEPTION, - RECURSIVE_INVOCATION_EXCEPTION, - REQUEST_TOO_LARGE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_READY_EXCEPTION, - S3_FILES_MOUNT_CONNECTIVITY_EXCEPTION, - S3_FILES_MOUNT_FAILURE_EXCEPTION, - S3_FILES_MOUNT_TIMEOUT_EXCEPTION, - SERIALIZED_REQUEST_ENTITY_TOO_LARGE_EXCEPTION, - SERVICE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - SNAP_START_EXCEPTION, - SNAP_START_NOT_READY_EXCEPTION, - SNAP_START_REGENERATION_FAILURE_EXCEPTION, - SNAP_START_TIMEOUT_EXCEPTION, - SUBNET_IP_ADDRESS_LIMIT_REACHED_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - UNSUPPORTED_MEDIA_TYPE_EXCEPTION, - ), -) - -EXECUTION_STATUS_LIST: StaticSchema = ( - 16, - n0, - _ESL, - 0, - (_me,), - ((EXECUTION_STATUS, 0),), -) - -LIST_DURABLE_EXECUTIONS_BY_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _LDEBFI, - {_sSI: _cLDEBFR, _sm: None}, - (_FN, _Q, _DEN, _Statu, _SAt, _SBt, _RO, _Mar, _MI), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - (DURABLE_EXECUTION_NAME, {_sQ: _DEN}), - (EXECUTION_STATUS_LIST, {_sQ: _Statu}), - (EXECUTION_TIMESTAMP, {_sQ: _SAt}), - (EXECUTION_TIMESTAMP, {_sQ: _SBt}), - (REVERSE_ORDER, {_sQ: _RO}), - (STRING, {_sQ: _Mar}), - (ITEM_COUNT, {_s: 0, _sQ: _MI}), - ), -) - -EXECUTION: StaticSchema = ( - 18, - n0, - _Exe, - 0, - (_DEA, _DEN, _FA, _Stat, _STt, _ETn, _KMSKA), - ( - (DURABLE_EXECUTION_ARN, 1), - (DURABLE_EXECUTION_NAME, 1), - (NAME_SPACED_FUNCTION_ARN, 1), - (EXECUTION_STATUS, 1), - (EXECUTION_TIMESTAMP, 1), - (EXECUTION_TIMESTAMP, 0), - (KMS_KEY_ARN, 0), - ), -) - -DURABLE_EXECUTIONS: StaticSchema = (16, n0, _DEu, 0, (_me,), ((EXECUTION, 0),)) - -LIST_DURABLE_EXECUTIONS_BY_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _LDEBFO, - {_sSI: _cLDEBFRo, _smit: None}, - (_DEu, _NM), - ((DURABLE_EXECUTIONS, 0), (STRING, 0)), -) - -LIST_DURABLE_EXECUTIONS_BY_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _LDEBF, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2025-12-01/functions/{FunctionName}/durable-executions", - "code": 200, - } - ) - }, - LIST_DURABLE_EXECUTIONS_BY_FUNCTION_INPUT, - LIST_DURABLE_EXECUTIONS_BY_FUNCTION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -FUNCTION_VERSION: StaticSchema = (14, n0, _FV, 0, (_ALL_,), ((-1, {_sV: _ALL_}),)) - -MASTER_REGION: StaticSchema = (3, n0, _MR, 0) - -LIST_FUNCTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LFI, - {_sSI: _cLFR, _sm: None}, - (_MR, _FV, _Mar, _MI), - ( - (MASTER_REGION, {_sQ: _MR}), - (FUNCTION_VERSION, {_sQ: _FV}), - (STRING, {_sQ: _Mar}), - (MAX_LIST_ITEMS, {_sQ: _MI}), - ), -) - -FUNCTION_LIST: StaticSchema = (16, n0, _FLu, 0, (_me,), ((FUNCTION_CONFIGURATION, 0),)) - -LIST_FUNCTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFO, - {_sSI: _cLFRo, _smit: None}, - (_NM, _Fu), - ((STRING, 0), (FUNCTION_LIST, 0)), -) - -LIST_FUNCTIONS: StaticOperationSchema = ( - 23, - n0, - _LFi, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2015-03-31/functions", "code": 200} - ) - }, - LIST_FUNCTIONS_INPUT, - LIST_FUNCTIONS_OUTPUT, - (INVALID_PARAMETER_VALUE_EXCEPTION, SERVICE_EXCEPTION, TOO_MANY_REQUESTS_EXCEPTION), -) - -MAX_ITEMS: StaticSchema = (7, n0, _MI, 0) - -LIST_FUNCTION_URL_CONFIGS_INPUT: StaticSchema = ( - 18, - n0, - _LFUCI, - {_sSI: _cLFUCR, _sm: None}, - (_FN, _Mar, _MI), - ((FUNCTION_URL_FUNCTION_NAME, 9), (STRING, {_sQ: _Mar}), (MAX_ITEMS, {_sQ: _MI})), -) - -FUNCTION_URL_CONFIG: StaticSchema = ( - 18, - n0, - _FUC, - 0, - (_FU, _FA, _CTr, _LMT, _Cor, _ATu, _IM), - ( - (FUNCTION_URL, 1), - (FUNCTION_ARN, 1), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (CORS, 0), - (FUNCTION_URL_AUTH_TYPE, 1), - (INVOKE_MODE, 0), - ), -) - -FUNCTION_URL_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _FUCL, - 0, - (_me,), - ((FUNCTION_URL_CONFIG, 0),), -) - -LIST_FUNCTION_URL_CONFIGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFUCO, - {_sSI: _cLFUCRo, _smit: None}, - (_FUCu, _NM), - ((FUNCTION_URL_CONFIG_LIST, 1), (STRING, 0)), -) - -LIST_FUNCTION_URL_CONFIGS: StaticOperationSchema = ( - 23, - n0, - _LFUC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2021-10-31/functions/{FunctionName}/urls", - "code": 200, - } - ) - }, - LIST_FUNCTION_URL_CONFIGS_INPUT, - LIST_FUNCTION_URL_CONFIGS_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -MAX_PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEMS: StaticSchema = (7, n0, _MPCCLI, 0) - -LIST_PROVISIONED_CONCURRENCY_CONFIGS_INPUT: StaticSchema = ( - 18, - n0, - _LPCCI, - {_sSI: _cLPCCR, _sm: None}, - (_FN, _Mar, _MI), - ( - (FUNCTION_NAME, 9), - (STRING, {_sQ: _Mar}), - (MAX_PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEMS, {_sQ: _MI}), - ), -) - -NON_NEGATIVE_INTEGER: StaticSchema = (7, n0, _NNI, 0) - -POSITIVE_INTEGER: StaticSchema = (7, n0, _PIo, 0) - -PROVISIONED_CONCURRENCY_STATUS_ENUM: StaticSchema = ( - 14, - n0, - _PCSE, - 0, - (_IP_, _READY, _FAILED), - ((-1, {_sV: _IP_}), (-1, {_sV: _READY}), (-1, {_sV: _FAILED})), -) - -PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEM: StaticSchema = ( - 18, - n0, - _PCCLI, - 0, - (_FA, _RPCE, _APCE, _APCEl, _Stat, _SRt, _LM), - ( - (FUNCTION_ARN, 0), - (POSITIVE_INTEGER, 0), - (NON_NEGATIVE_INTEGER, 0), - (NON_NEGATIVE_INTEGER, 0), - (PROVISIONED_CONCURRENCY_STATUS_ENUM, 0), - (STRING, 0), - (TIMESTAMP, 0), - ), -) - -PROVISIONED_CONCURRENCY_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _PCCL, - 0, - (_me,), - ((PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEM, 0),), -) - -LIST_PROVISIONED_CONCURRENCY_CONFIGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPCCO, - {_sSI: _cLPCCRo, _smit: None}, - (_PCC, _NM), - ((PROVISIONED_CONCURRENCY_CONFIG_LIST, 0), (STRING, 0)), -) - -LIST_PROVISIONED_CONCURRENCY_CONFIGS: StaticOperationSchema = ( - 23, - n0, - _LPCC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2019-09-30/functions/{FunctionName}/provisioned-concurrency?List=ALL", - "code": 200, - } - ) - }, - LIST_PROVISIONED_CONCURRENCY_CONFIGS_INPUT, - LIST_PROVISIONED_CONCURRENCY_CONFIGS_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUT_FUNCTION_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _PFCSCI, - {_sSI: _cPFCSCR, _sm: None}, - (_CSCA, _FN), - ((CODE_SIGNING_CONFIG_ARN, 1), (NAMESPACED_FUNCTION_NAME, 9)), -) - -PUT_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _PFCSCO, - {_sSI: _cPFCSCRo, _smit: None}, - (_CSCA, _FN), - ((CODE_SIGNING_CONFIG_ARN, 1), (FUNCTION_NAME, 1)), -) - -PUT_FUNCTION_CODE_SIGNING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _PFCSC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2020-06-30/functions/{FunctionName}/code-signing-config", - "code": 200, - } - ) - }, - PUT_FUNCTION_CODE_SIGNING_CONFIG_INPUT, - PUT_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT, - ( - CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUT_FUNCTION_CONCURRENCY_INPUT: StaticSchema = ( - 18, - n0, - _PFCI, - {_sSI: _cPFCR, _sm: None}, - (_FN, _RCEe), - ((FUNCTION_NAME, 9), (RESERVED_CONCURRENT_EXECUTIONS, 1)), -) - -PUT_FUNCTION_CONCURRENCY_OUTPUT: StaticSchema = ( - 18, - n0, - _PFCO, - {_sSI: _cC, _smit: None}, - (_RCEe,), - ((RESERVED_CONCURRENT_EXECUTIONS, 0),), -) - -PUT_FUNCTION_CONCURRENCY: StaticOperationSchema = ( - 23, - n0, - _PFC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2017-10-31/functions/{FunctionName}/concurrency", - "code": 200, - } - ) - }, - PUT_FUNCTION_CONCURRENCY_INPUT, - PUT_FUNCTION_CONCURRENCY_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUT_FUNCTION_RECURSION_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _PFRCI, - {_sSI: _cPFRCR, _sm: None}, - (_FN, _RL), - ((UNQUALIFIED_FUNCTION_NAME, 9), (RECURSIVE_LOOP, 1)), -) - -PUT_FUNCTION_RECURSION_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _PFRCO, - {_sSI: _cPFRCRo, _smit: None}, - (_RL,), - ((RECURSIVE_LOOP, 0),), -) - -PUT_FUNCTION_RECURSION_CONFIG: StaticOperationSchema = ( - 23, - n0, - _PFRC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2024-08-31/functions/{FunctionName}/recursion-config", - "code": 200, - } - ) - }, - PUT_FUNCTION_RECURSION_CONFIG_INPUT, - PUT_FUNCTION_RECURSION_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUT_FUNCTION_SCALING_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _PFSCI, - {_sSI: _cPFSCR, _sm: None}, - (_FN, _Q, _FSCu), - ( - (UNQUALIFIED_FUNCTION_NAME, 9), - (PUBLISHED_FUNCTION_QUALIFIER, {_sQ: _Q, _smi: None}), - (FUNCTION_SCALING_CONFIG, 0), - ), -) - -PUT_FUNCTION_SCALING_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _PFSCO, - {_sSI: _cPFSCRo, _smit: None}, - (_FS,), - ((STATE, 0),), -) - -PUT_FUNCTION_SCALING_CONFIG: StaticOperationSchema = ( - 23, - n0, - _PFSC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2025-11-30/functions/{FunctionName}/function-scaling-config", - "code": 202, - } - ) - }, - PUT_FUNCTION_SCALING_CONFIG_INPUT, - PUT_FUNCTION_SCALING_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUT_RUNTIME_MANAGEMENT_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _PRMCI, - {_sSI: _cPRMCR, _sm: None}, - (_FN, _Q, _URO, _RVA), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - (UPDATE_RUNTIME_ON, 1), - (RUNTIME_VERSION_ARN, 0), - ), -) - -PUT_RUNTIME_MANAGEMENT_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _PRMCO, - {_sSI: _cPRMCRo, _smit: None}, - (_URO, _FA, _RVA), - ((UPDATE_RUNTIME_ON, 1), (FUNCTION_ARN, 1), (RUNTIME_VERSION_ARN, 0)), -) - -PUT_RUNTIME_MANAGEMENT_CONFIG: StaticOperationSchema = ( - 23, - n0, - _PRMC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2021-07-20/functions/{FunctionName}/runtime-management-config", - "code": 200, - } - ) - }, - PUT_RUNTIME_MANAGEMENT_CONFIG_INPUT, - PUT_RUNTIME_MANAGEMENT_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UPDATE_FUNCTION_CODE_INPUT: StaticSchema = ( - 18, - n0, - _UFCI, - {_sSI: _cUFCR, _sm: None}, - (_FN, _ZF, _SB, _SK, _SOV, _SOSM, _IU, _Arch, _Pu, _PTu, _DR, _RI, _SKMSKA), - ( - (FUNCTION_NAME, 9), - (BLOB, 0), - (S3_BUCKET, 0), - (S3_KEY, 0), - (S3_OBJECT_VERSION, 0), - (S3_OBJECT_STORAGE_MODE, 0), - (STRING, 0), - (ARCHITECTURES_LIST, 0), - (BOOLEAN, {_s: False}), - (FUNCTION_VERSION_LATEST_PUBLISHED, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (KMS_KEY_ARN, 0), - ), -) - -UPDATE_FUNCTION_CODE_OUTPUT: StaticSchema = ( - 18, - n0, - _UFCO, - {_sSI: _cFC, _smit: None}, - ( - _FN, - _FA, - _Ru, - _Ro, - _H, - _CSod, - _D, - _Tim, - _MS, - _LM, - _CSode, - _V, - _VC, - _DLC, - _Env, - _KMSKA, - _TCr, - _MA, - _RI, - _La, - _Sta, - _SR, - _SRCt, - _LUS, - _LUSR, - _LUSRC, - _FSCi, - _SPVAi, - _SJA, - _PTa, - _ICR, - _Arch, - _ESp, - _SSn, - _RVC, - _LC, - _TCe, - _CPC, - _CSon, - _DC, - ), - ( - (NAMESPACED_FUNCTION_NAME, 0), - (NAME_SPACED_FUNCTION_ARN, 0), - (RUNTIME, 0), - (ROLE_ARN, 0), - (HANDLER, 0), - (LONG, {_s: 0}), - (DESCRIPTION, 0), - (TIMEOUT, 0), - (MEMORY_SIZE, 0), - (TIMESTAMP, 0), - (STRING, 0), - (VERSION, 0), - (VPC_CONFIG_RESPONSE, 0), - (DEAD_LETTER_CONFIG, 0), - (ENVIRONMENT_RESPONSE, 0), - (KMS_KEY_ARN, 0), - (TRACING_CONFIG_RESPONSE, 0), - (FUNCTION_ARN, 0), - (STRING, 0), - (LAYERS_REFERENCE_LIST, 0), - (STATE, 0), - (STATE_REASON, 0), - (STATE_REASON_CODE, 0), - (LAST_UPDATE_STATUS, 0), - (LAST_UPDATE_STATUS_REASON, 0), - (LAST_UPDATE_STATUS_REASON_CODE, 0), - (FILE_SYSTEM_CONFIG_LIST, 0), - (ARN, 0), - (ARN, 0), - (PACKAGE_TYPE, 0), - (IMAGE_CONFIG_RESPONSE, 0), - (ARCHITECTURES_LIST, 0), - (EPHEMERAL_STORAGE, 0), - (SNAP_START_RESPONSE, 0), - (RUNTIME_VERSION_CONFIG, 0), - (LOGGING_CONFIG, 0), - (TENANCY_CONFIG, 0), - (CAPACITY_PROVIDER_CONFIG, 0), - (STRING, 0), - (DURABLE_CONFIG, 0), - ), -) - -UPDATE_FUNCTION_CODE: StaticOperationSchema = ( - 23, - n0, - _UFC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2015-03-31/functions/{FunctionName}/code", - "code": 200, - } - ) - }, - UPDATE_FUNCTION_CODE_INPUT, - UPDATE_FUNCTION_CODE_OUTPUT, - ( - CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, - CODE_STORAGE_EXCEEDED_EXCEPTION, - CODE_VERIFICATION_FAILED_EXCEPTION, - INVALID_CODE_SIGNATURE_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UPDATE_FUNCTION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UFCIp, - {_sSI: _cUFCRo, _sm: None}, - ( - _FN, - _Ro, - _H, - _D, - _Tim, - _MS, - _VC, - _Env, - _Ru, - _DLC, - _KMSKA, - _TCr, - _RI, - _La, - _FSCi, - _ICm, - _ESp, - _SSn, - _LC, - _CPC, - _DC, - ), - ( - (FUNCTION_NAME, 9), - (ROLE_ARN, 0), - (HANDLER, 0), - (DESCRIPTION, 0), - (TIMEOUT, 0), - (MEMORY_SIZE, 0), - (VPC_CONFIG, 0), - (ENVIRONMENT, 0), - (RUNTIME, 0), - (DEAD_LETTER_CONFIG, 0), - (KMS_KEY_ARN, 0), - (TRACING_CONFIG, 0), - (STRING, 0), - (LAYER_LIST, 0), - (FILE_SYSTEM_CONFIG_LIST, 0), - (IMAGE_CONFIG, 0), - (EPHEMERAL_STORAGE, 0), - (SNAP_START, 0), - (LOGGING_CONFIG, 0), - (CAPACITY_PROVIDER_CONFIG, 0), - (DURABLE_CONFIG, 0), - ), -) - -UPDATE_FUNCTION_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UFCOp, - {_sSI: _cFC, _smit: None}, - ( - _FN, - _FA, - _Ru, - _Ro, - _H, - _CSod, - _D, - _Tim, - _MS, - _LM, - _CSode, - _V, - _VC, - _DLC, - _Env, - _KMSKA, - _TCr, - _MA, - _RI, - _La, - _Sta, - _SR, - _SRCt, - _LUS, - _LUSR, - _LUSRC, - _FSCi, - _SPVAi, - _SJA, - _PTa, - _ICR, - _Arch, - _ESp, - _SSn, - _RVC, - _LC, - _TCe, - _CPC, - _CSon, - _DC, - ), - ( - (NAMESPACED_FUNCTION_NAME, 0), - (NAME_SPACED_FUNCTION_ARN, 0), - (RUNTIME, 0), - (ROLE_ARN, 0), - (HANDLER, 0), - (LONG, {_s: 0}), - (DESCRIPTION, 0), - (TIMEOUT, 0), - (MEMORY_SIZE, 0), - (TIMESTAMP, 0), - (STRING, 0), - (VERSION, 0), - (VPC_CONFIG_RESPONSE, 0), - (DEAD_LETTER_CONFIG, 0), - (ENVIRONMENT_RESPONSE, 0), - (KMS_KEY_ARN, 0), - (TRACING_CONFIG_RESPONSE, 0), - (FUNCTION_ARN, 0), - (STRING, 0), - (LAYERS_REFERENCE_LIST, 0), - (STATE, 0), - (STATE_REASON, 0), - (STATE_REASON_CODE, 0), - (LAST_UPDATE_STATUS, 0), - (LAST_UPDATE_STATUS_REASON, 0), - (LAST_UPDATE_STATUS_REASON_CODE, 0), - (FILE_SYSTEM_CONFIG_LIST, 0), - (ARN, 0), - (ARN, 0), - (PACKAGE_TYPE, 0), - (IMAGE_CONFIG_RESPONSE, 0), - (ARCHITECTURES_LIST, 0), - (EPHEMERAL_STORAGE, 0), - (SNAP_START_RESPONSE, 0), - (RUNTIME_VERSION_CONFIG, 0), - (LOGGING_CONFIG, 0), - (TENANCY_CONFIG, 0), - (CAPACITY_PROVIDER_CONFIG, 0), - (STRING, 0), - (DURABLE_CONFIG, 0), - ), -) - -UPDATE_FUNCTION_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _UFCp, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2015-03-31/functions/{FunctionName}/configuration", - "code": 200, - } - ) - }, - UPDATE_FUNCTION_CONFIGURATION_INPUT, - UPDATE_FUNCTION_CONFIGURATION_OUTPUT, - ( - CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, - CODE_VERIFICATION_FAILED_EXCEPTION, - INVALID_CODE_SIGNATURE_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UPDATE_FUNCTION_URL_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _UFUCI, - {_sSI: _cUFUCR, _sm: None}, - (_FN, _Q, _ATu, _Cor, _IM), - ( - (FUNCTION_URL_FUNCTION_NAME, 9), - (FUNCTION_URL_QUALIFIER, {_sQ: _Q}), - (FUNCTION_URL_AUTH_TYPE, 0), - (CORS, 0), - (INVOKE_MODE, 0), - ), -) - -UPDATE_FUNCTION_URL_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _UFUCO, - {_sSI: _cUFUCRo, _smit: None}, - (_FU, _FA, _ATu, _Cor, _CTr, _LMT, _IM), - ( - (FUNCTION_URL, 1), - (FUNCTION_ARN, 1), - (FUNCTION_URL_AUTH_TYPE, 1), - (CORS, 0), - (TIMESTAMP, 1), - (TIMESTAMP, 1), - (INVOKE_MODE, 0), - ), -) - -UPDATE_FUNCTION_URL_CONFIG: StaticOperationSchema = ( - 23, - n0, - _UFUC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2021-10-31/functions/{FunctionName}/url", - "code": 200, - } - ) - }, - UPDATE_FUNCTION_URL_CONFIG_INPUT, - UPDATE_FUNCTION_URL_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -CREATE_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _CAI, - {_sSI: _cCAR, _sm: None}, - (_FN, _N, _FV, _D, _RC), - ( - (FUNCTION_NAME, 9), - (ALIAS, 1), - (VERSION_WITH_LATEST_PUBLISHED, 1), - (DESCRIPTION, 0), - (ALIAS_ROUTING_CONFIGURATION, 0), - ), -) - -CREATE_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _CAO, - {_sSI: _cAC, _smit: None}, - (_AA, _N, _FV, _D, _RC, _RI), - ( - (FUNCTION_ARN, 0), - (ALIAS, 0), - (VERSION, 0), - (DESCRIPTION, 0), - (ALIAS_ROUTING_CONFIGURATION, 0), - (STRING, 0), - ), -) - -CREATE_ALIAS: StaticOperationSchema = ( - 23, - n0, - _CAr, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2015-03-31/functions/{FunctionName}/aliases", - "code": 201, - } - ) - }, - CREATE_ALIAS_INPUT, - CREATE_ALIAS_OUTPUT, - ( - ALIAS_LIMIT_EXCEEDED_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -DELETE_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _DAI, - {_sSI: _cDAR, _sm: None}, - (_FN, _N), - ((FUNCTION_NAME, 9), (ALIAS, 9)), -) - -DELETE_ALIAS_OUTPUT: StaticSchema = (18, n0, _DAO, {_sSI: _sU, _smit: None}) - -DELETE_ALIAS: StaticOperationSchema = ( - 23, - n0, - _DAe, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "code": 204, - } - ) - }, - DELETE_ALIAS_INPUT, - DELETE_ALIAS_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _GAI, - {_sSI: _cGAR, _sm: None}, - (_FN, _N), - ((FUNCTION_NAME, 9), (ALIAS, 9)), -) - -GET_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _GAO, - {_sSI: _cAC, _smit: None}, - (_AA, _N, _FV, _D, _RC, _RI), - ( - (FUNCTION_ARN, 0), - (ALIAS, 0), - (VERSION, 0), - (DESCRIPTION, 0), - (ALIAS_ROUTING_CONFIGURATION, 0), - (STRING, 0), - ), -) - -GET_ALIAS: StaticOperationSchema = ( - 23, - n0, - _GA, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "code": 200, - } - ) - }, - GET_ALIAS_INPUT, - GET_ALIAS_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -LIST_ALIASES_INPUT: StaticSchema = ( - 18, - n0, - _LAI, - {_sSI: _cLAR, _sm: None}, - (_FN, _FV, _Mar, _MI), - ( - (FUNCTION_NAME, 9), - (VERSION_WITH_LATEST_PUBLISHED, {_sQ: _FV}), - (STRING, {_sQ: _Mar}), - (MAX_LIST_ITEMS, {_sQ: _MI}), - ), -) - -LIST_ALIASES_OUTPUT: StaticSchema = ( - 18, - n0, - _LAO, - {_sSI: _cLARo, _smit: None}, - (_NM, _Ali), - ((STRING, 0), (ALIAS_LIST, 0)), -) - -LIST_ALIASES: StaticOperationSchema = ( - 23, - n0, - _LA, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2015-03-31/functions/{FunctionName}/aliases", - "code": 200, - } - ) - }, - LIST_ALIASES_INPUT, - LIST_ALIASES_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UPDATE_ALIAS_INPUT: StaticSchema = ( - 18, - n0, - _UAI, - {_sSI: _cUAR, _sm: None}, - (_FN, _N, _FV, _D, _RC, _RI), - ( - (FUNCTION_NAME, 9), - (ALIAS, 9), - (VERSION_WITH_LATEST_PUBLISHED, 0), - (DESCRIPTION, 0), - (ALIAS_ROUTING_CONFIGURATION, 0), - (STRING, 0), - ), -) - -UPDATE_ALIAS_OUTPUT: StaticSchema = ( - 18, - n0, - _UAO, - {_sSI: _cAC, _smit: None}, - (_AA, _N, _FV, _D, _RC, _RI), - ( - (FUNCTION_ARN, 0), - (ALIAS, 0), - (VERSION, 0), - (DESCRIPTION, 0), - (ALIAS_ROUTING_CONFIGURATION, 0), - (STRING, 0), - ), -) - -UPDATE_ALIAS: StaticOperationSchema = ( - 23, - n0, - _UA, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", - "code": 200, - } - ) - }, - UPDATE_ALIAS_INPUT, - UPDATE_ALIAS_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -LIST_VERSIONS_BY_FUNCTION_INPUT: StaticSchema = ( - 18, - n0, - _LVBFI, - {_sSI: _cLVBFR, _sm: None}, - (_FN, _Mar, _MI), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (STRING, {_sQ: _Mar}), - (MAX_LIST_ITEMS, {_sQ: _MI}), - ), -) - -LIST_VERSIONS_BY_FUNCTION_OUTPUT: StaticSchema = ( - 18, - n0, - _LVBFO, - {_sSI: _cLVBFRo, _smit: None}, - (_NM, _Ve), - ((STRING, 0), (FUNCTION_LIST, 0)), -) - -LIST_VERSIONS_BY_FUNCTION: StaticOperationSchema = ( - 23, - n0, - _LVBF, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2015-03-31/functions/{FunctionName}/versions", - "code": 200, - } - ) - }, - LIST_VERSIONS_BY_FUNCTION_INPUT, - LIST_VERSIONS_BY_FUNCTION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUBLISH_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _PVI, - {_sSI: _cPVR, _sm: None}, - (_FN, _CSode, _D, _RI, _PTu), - ( - (FUNCTION_NAME, 9), - (STRING, 0), - (DESCRIPTION, 0), - (STRING, 0), - (FUNCTION_VERSION_LATEST_PUBLISHED, 0), - ), -) - -PUBLISH_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _PVO, - {_sSI: _cFC, _smit: None}, - ( - _FN, - _FA, - _Ru, - _Ro, - _H, - _CSod, - _D, - _Tim, - _MS, - _LM, - _CSode, - _V, - _VC, - _DLC, - _Env, - _KMSKA, - _TCr, - _MA, - _RI, - _La, - _Sta, - _SR, - _SRCt, - _LUS, - _LUSR, - _LUSRC, - _FSCi, - _SPVAi, - _SJA, - _PTa, - _ICR, - _Arch, - _ESp, - _SSn, - _RVC, - _LC, - _TCe, - _CPC, - _CSon, - _DC, - ), - ( - (NAMESPACED_FUNCTION_NAME, 0), - (NAME_SPACED_FUNCTION_ARN, 0), - (RUNTIME, 0), - (ROLE_ARN, 0), - (HANDLER, 0), - (LONG, {_s: 0}), - (DESCRIPTION, 0), - (TIMEOUT, 0), - (MEMORY_SIZE, 0), - (TIMESTAMP, 0), - (STRING, 0), - (VERSION, 0), - (VPC_CONFIG_RESPONSE, 0), - (DEAD_LETTER_CONFIG, 0), - (ENVIRONMENT_RESPONSE, 0), - (KMS_KEY_ARN, 0), - (TRACING_CONFIG_RESPONSE, 0), - (FUNCTION_ARN, 0), - (STRING, 0), - (LAYERS_REFERENCE_LIST, 0), - (STATE, 0), - (STATE_REASON, 0), - (STATE_REASON_CODE, 0), - (LAST_UPDATE_STATUS, 0), - (LAST_UPDATE_STATUS_REASON, 0), - (LAST_UPDATE_STATUS_REASON_CODE, 0), - (FILE_SYSTEM_CONFIG_LIST, 0), - (ARN, 0), - (ARN, 0), - (PACKAGE_TYPE, 0), - (IMAGE_CONFIG_RESPONSE, 0), - (ARCHITECTURES_LIST, 0), - (EPHEMERAL_STORAGE, 0), - (SNAP_START_RESPONSE, 0), - (RUNTIME_VERSION_CONFIG, 0), - (LOGGING_CONFIG, 0), - (TENANCY_CONFIG, 0), - (CAPACITY_PROVIDER_CONFIG, 0), - (STRING, 0), - (DURABLE_CONFIG, 0), - ), -) - -PUBLISH_VERSION: StaticOperationSchema = ( - 23, - n0, - _PVu, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2015-03-31/functions/{FunctionName}/versions", - "code": 201, - } - ) - }, - PUBLISH_VERSION_INPUT, - PUBLISH_VERSION_OUTPUT, - ( - CODE_STORAGE_EXCEEDED_EXCEPTION, - FUNCTION_VERSIONS_PER_CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_ACCOUNT_SETTINGS_INPUT: StaticSchema = (18, n0, _GASI, {_sSI: _cGASR, _sm: None}) - -GET_ACCOUNT_SETTINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _GASO, - {_sSI: _cGASRo, _smit: None}, - (_AL, _AU), - ((ACCOUNT_LIMIT, 0), (ACCOUNT_USAGE, 0)), -) - -GET_ACCOUNT_SETTINGS: StaticOperationSchema = ( - 23, - n0, - _GAS, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2016-08-19/account-settings", "code": 200} - ) - }, - GET_ACCOUNT_SETTINGS_INPUT, - GET_ACCOUNT_SETTINGS_OUTPUT, - (SERVICE_EXCEPTION, TOO_MANY_REQUESTS_EXCEPTION), -) - -GET_FUNCTION_EVENT_INVOKE_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GFEICI, - {_sSI: _cGFEICR, _sm: None}, - (_FN, _Q), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - ), -) - -MAXIMUM_EVENT_AGE_IN_SECONDS: StaticSchema = (7, n0, _MEAIS, 0) - -MAXIMUM_RETRY_ATTEMPTS: StaticSchema = (7, n0, _MRA, 0) - -GET_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GFEICO, - {_sSI: _cFEIC, _smit: None}, - (_LM, _FA, _MRA, _MEAIS, _DCe), - ( - (DATE, 0), - (FUNCTION_ARN, 0), - (MAXIMUM_RETRY_ATTEMPTS, 0), - (MAXIMUM_EVENT_AGE_IN_SECONDS, 0), - (DESTINATION_CONFIG, 0), - ), -) - -GET_FUNCTION_EVENT_INVOKE_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GFEIC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config", - "code": 200, - } - ) - }, - GET_FUNCTION_EVENT_INVOKE_CONFIG_INPUT, - GET_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_sSI: _cGRPR, _sm: None}, - (_RAe,), - ((POLICY_RESOURCE_ARN, 9),), -) - -RESOURCE_POLICY: StaticSchema = (3, n0, _RP, 0) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_sSI: _cGRPRo, _smit: None}, - (_Po, _RI), - ((RESOURCE_POLICY, 0), (REVISION_ID, 0)), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2026-07-09/resource-policy/{ResourceArn}", - "code": 200, - } - ) - }, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -MAX_LAYER_LIST_ITEMS: StaticSchema = (7, n0, _MLLI, 0) - -LIST_LAYERS_INPUT: StaticSchema = ( - 18, - n0, - _LLI, - {_sSI: _cLLR, _sm: None}, - (_CAo, _CR, _Mar, _MI), - ( - (ARCHITECTURE, {_sQ: _CAo}), - (RUNTIME, {_sQ: _CR}), - (STRING, {_sQ: _Mar}), - (MAX_LAYER_LIST_ITEMS, {_sQ: _MI}), - ), -) - -COMPATIBLE_ARCHITECTURES: StaticSchema = ( - 16, - n0, - _CAom, - 0, - (_me,), - ((ARCHITECTURE, 0),), -) - -COMPATIBLE_RUNTIMES: StaticSchema = (16, n0, _CRo, 0, (_me,), ((RUNTIME, 0),)) - -LICENSE_INFO: StaticSchema = (3, n0, _LI, 0) - -LAYER_VERSIONS_LIST_ITEM: StaticSchema = ( - 18, - n0, - _LVLI, - 0, - (_LVA, _V, _D, _CDr, _CAom, _CRo, _LI), - ( - (LAYER_VERSION_ARN, 0), - (LAYER_VERSION_NUMBER, {_s: 0}), - (DESCRIPTION, 0), - (TIMESTAMP, 0), - (COMPATIBLE_ARCHITECTURES, 0), - (COMPATIBLE_RUNTIMES, 0), - (LICENSE_INFO, 0), - ), -) - -LAYER_ARN: StaticSchema = (3, n0, _LAa, 0) - -LAYERS_LIST_ITEM: StaticSchema = ( - 18, - n0, - _LLIa, - 0, - (_LN, _LAa, _LMV), - ((LAYER_NAME, 0), (LAYER_ARN, 0), (LAYER_VERSIONS_LIST_ITEM, 0)), -) - -LAYERS_LIST: StaticSchema = (16, n0, _LLa, 0, (_me,), ((LAYERS_LIST_ITEM, 0),)) - -LIST_LAYERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LLO, - {_sSI: _cLLRo, _smit: None}, - (_NM, _La), - ((STRING, 0), (LAYERS_LIST, 0)), -) - -LIST_LAYERS: StaticOperationSchema = ( - 23, - n0, - _LLi, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2018-10-31/layers", "code": 200} - ) - }, - LIST_LAYERS_INPUT, - LIST_LAYERS_OUTPUT, - (INVALID_PARAMETER_VALUE_EXCEPTION, SERVICE_EXCEPTION, TOO_MANY_REQUESTS_EXCEPTION), -) - -DELETE_LAYER_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _DLVI, - {_sSI: _cDLVR, _sm: None}, - (_LN, _VN), - ((LAYER_NAME, 9), (LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None})), -) - -DELETE_LAYER_VERSION_OUTPUT: StaticSchema = (18, n0, _DLVO, {_sSI: _sU, _smit: None}) - -DELETE_LAYER_VERSION: StaticOperationSchema = ( - 23, - n0, - _DLV, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}", - "code": 204, - } - ) - }, - DELETE_LAYER_VERSION_INPUT, - DELETE_LAYER_VERSION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_LAYER_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _GLVI, - {_sSI: _cGLVR, _sm: None}, - (_LN, _VN), - ((LAYER_NAME, 9), (LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None})), -) - -LAYER_VERSION_CONTENT_OUTPUT: StaticSchema = ( - 18, - n0, - _LVCO, - 0, - (_Lo, _CSode, _CSod, _SPVAi, _SJA, _RSO), - ( - (SENSITIVE_STRING_ON_SERVER_ONLY, 0), - (STRING, 0), - (LONG, {_s: 0}), - (ARN, 0), - (ARN, 0), - (RESOLVED_S3_OBJECT, 0), - ), -) - -GET_LAYER_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GLVO, - {_sSI: _cGLVRo, _smit: None}, - (_Cont, _LAa, _LVA, _D, _CDr, _V, _CAom, _CRo, _LI), - ( - (LAYER_VERSION_CONTENT_OUTPUT, 0), - (LAYER_ARN, 0), - (LAYER_VERSION_ARN, 0), - (DESCRIPTION, 0), - (TIMESTAMP, 0), - (LAYER_VERSION_NUMBER, {_s: 0}), - (COMPATIBLE_ARCHITECTURES, 0), - (COMPATIBLE_RUNTIMES, 0), - (LICENSE_INFO, 0), - ), -) - -GET_LAYER_VERSION: StaticOperationSchema = ( - 23, - n0, - _GLV, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}", - "code": 200, - } - ) - }, - GET_LAYER_VERSION_INPUT, - GET_LAYER_VERSION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_LAYER_VERSION_BY_ARN_INPUT: StaticSchema = ( - 18, - n0, - _GLVBAI, - {_sSI: _cGLVBAR, _sm: None}, - (_Ar,), - ((LAYER_VERSION_ARN, {_sQ: _Ar, _smi: None}),), -) - -GET_LAYER_VERSION_BY_ARN_OUTPUT: StaticSchema = ( - 18, - n0, - _GLVBAO, - {_sSI: _cGLVRo, _smit: None}, - (_Cont, _LAa, _LVA, _D, _CDr, _V, _CAom, _CRo, _LI), - ( - (LAYER_VERSION_CONTENT_OUTPUT, 0), - (LAYER_ARN, 0), - (LAYER_VERSION_ARN, 0), - (DESCRIPTION, 0), - (TIMESTAMP, 0), - (LAYER_VERSION_NUMBER, {_s: 0}), - (COMPATIBLE_ARCHITECTURES, 0), - (COMPATIBLE_RUNTIMES, 0), - (LICENSE_INFO, 0), - ), -) - -GET_LAYER_VERSION_BY_ARN: StaticOperationSchema = ( - 23, - n0, - _GLVBA, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2018-10-31/layers?find=LayerVersion", - "code": 200, - } - ) - }, - GET_LAYER_VERSION_BY_ARN_INPUT, - GET_LAYER_VERSION_BY_ARN_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_LAYER_VERSION_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GLVPI, - {_sSI: _cGLVPR, _sm: None}, - (_LN, _VN), - ((LAYER_NAME, 9), (LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None})), -) - -GET_LAYER_VERSION_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GLVPO, - {_sSI: _cGLVPRo, _smit: None}, - (_Po, _RI), - ((STRING, 0), (STRING, 0)), -) - -GET_LAYER_VERSION_POLICY: StaticOperationSchema = ( - 23, - n0, - _GLVP, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", - "code": 200, - } - ) - }, - GET_LAYER_VERSION_POLICY_INPUT, - GET_LAYER_VERSION_POLICY_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -LIST_LAYER_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LLVI, - {_sSI: _cLLVR, _sm: None}, - (_CAo, _CR, _LN, _Mar, _MI), - ( - (ARCHITECTURE, {_sQ: _CAo}), - (RUNTIME, {_sQ: _CR}), - (LAYER_NAME, 9), - (STRING, {_sQ: _Mar}), - (MAX_LAYER_LIST_ITEMS, {_sQ: _MI}), - ), -) - -LAYER_VERSIONS_LIST: StaticSchema = ( - 16, - n0, - _LVL, - 0, - (_me,), - ((LAYER_VERSIONS_LIST_ITEM, 0),), -) - -LIST_LAYER_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LLVO, - {_sSI: _cLLVRo, _smit: None}, - (_NM, _LV), - ((STRING, 0), (LAYER_VERSIONS_LIST, 0)), -) - -LIST_LAYER_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LLV, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2018-10-31/layers/{LayerName}/versions", - "code": 200, - } - ) - }, - LIST_LAYER_VERSIONS_INPUT, - LIST_LAYER_VERSIONS_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -LAYER_VERSION_CONTENT_INPUT: StaticSchema = ( - 18, - n0, - _LVCI, - 0, - (_SB, _SK, _SOV, _SOSM, _ZF), - ( - (S3_BUCKET, 0), - (S3_KEY, 0), - (S3_OBJECT_VERSION, 0), - (S3_OBJECT_STORAGE_MODE, 0), - (BLOB, 0), - ), -) - -PUBLISH_LAYER_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _PLVI, - {_sSI: _cPLVR, _sm: None}, - (_LN, _D, _Cont, _CAom, _CRo, _LI), - ( - (LAYER_NAME, 9), - (DESCRIPTION, 0), - (LAYER_VERSION_CONTENT_INPUT, 1), - (COMPATIBLE_ARCHITECTURES, 0), - (COMPATIBLE_RUNTIMES, 0), - (LICENSE_INFO, 0), - ), -) - -PUBLISH_LAYER_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _PLVO, - {_sSI: _cPLVRo, _smit: None}, - (_Cont, _LAa, _LVA, _D, _CDr, _V, _CAom, _CRo, _LI), - ( - (LAYER_VERSION_CONTENT_OUTPUT, 0), - (LAYER_ARN, 0), - (LAYER_VERSION_ARN, 0), - (DESCRIPTION, 0), - (TIMESTAMP, 0), - (LAYER_VERSION_NUMBER, {_s: 0}), - (COMPATIBLE_ARCHITECTURES, 0), - (COMPATIBLE_RUNTIMES, 0), - (LICENSE_INFO, 0), - ), -) - -PUBLISH_LAYER_VERSION: StaticOperationSchema = ( - 23, - n0, - _PLV, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2018-10-31/layers/{LayerName}/versions", - "code": 201, - } - ) - }, - PUBLISH_LAYER_VERSION_INPUT, - PUBLISH_LAYER_VERSION_OUTPUT, - ( - CODE_STORAGE_EXCEEDED_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -REMOVE_LAYER_VERSION_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _RLVPI, - {_sSI: _cRLVPR, _sm: None}, - (_LN, _VN, _SI, _RI), - ( - (LAYER_NAME, 9), - (LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None}), - (STATEMENT_ID, 9), - (STRING, {_sQ: _RI}), - ), -) - -REMOVE_LAYER_VERSION_PERMISSION_OUTPUT: StaticSchema = ( - 18, - n0, - _RLVPO, - {_sSI: _sU, _smit: None}, -) - -REMOVE_LAYER_VERSION_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _RLVP, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}", - "code": 204, - } - ) - }, - REMOVE_LAYER_VERSION_PERMISSION_INPUT, - REMOVE_LAYER_VERSION_PERMISSION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -MAX_FUNCTION_EVENT_INVOKE_CONFIG_LIST_ITEMS: StaticSchema = (7, n0, _MFEICLI, 0) - -LIST_FUNCTION_EVENT_INVOKE_CONFIGS_INPUT: StaticSchema = ( - 18, - n0, - _LFEICI, - {_sSI: _cLFEICR, _sm: None}, - (_FN, _Mar, _MI), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (STRING, {_sQ: _Mar}), - (MAX_FUNCTION_EVENT_INVOKE_CONFIG_LIST_ITEMS, {_sQ: _MI}), - ), -) - -FUNCTION_EVENT_INVOKE_CONFIG: StaticSchema = ( - 18, - n0, - _FEIC, - 0, - (_LM, _FA, _MRA, _MEAIS, _DCe), - ( - (DATE, 0), - (FUNCTION_ARN, 0), - (MAXIMUM_RETRY_ATTEMPTS, 0), - (MAXIMUM_EVENT_AGE_IN_SECONDS, 0), - (DESTINATION_CONFIG, 0), - ), -) - -FUNCTION_EVENT_INVOKE_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _FEICL, - 0, - (_me,), - ((FUNCTION_EVENT_INVOKE_CONFIG, 0),), -) - -LIST_FUNCTION_EVENT_INVOKE_CONFIGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LFEICO, - {_sSI: _cLFEICRo, _smit: None}, - (_FEICu, _NM), - ((FUNCTION_EVENT_INVOKE_CONFIG_LIST, 0), (STRING, 0)), -) - -LIST_FUNCTION_EVENT_INVOKE_CONFIGS: StaticOperationSchema = ( - 23, - n0, - _LFEIC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config/list", - "code": 200, - } - ) - }, - LIST_FUNCTION_EVENT_INVOKE_CONFIGS_INPUT, - LIST_FUNCTION_EVENT_INVOKE_CONFIGS_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -TAGGABLE_RESOURCE: StaticSchema = (3, n0, _TRa, 0) - -LIST_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LTI, - {_sSI: _cLTR, _sm: None}, - (_Reso,), - ((TAGGABLE_RESOURCE, 9),), -) - -LIST_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTO, - {_sSI: _cLTRo, _smit: None}, - (_Ta,), - ((TAGS, 0),), -) - -LIST_TAGS: StaticOperationSchema = ( - 23, - n0, - _LTi, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/2017-03-31/tags/{Resource}", "code": 200} - ) - }, - LIST_TAGS_INPUT, - LIST_TAGS_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -NAMESPACED_STATEMENT_ID: StaticSchema = (3, n0, _NSI, 0) - -REMOVE_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _RPI, - {_sSI: _cRPR, _sm: None}, - (_FN, _SI, _Q, _RI), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NAMESPACED_STATEMENT_ID, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - (STRING, {_sQ: _RI}), - ), -) - -REMOVE_PERMISSION_OUTPUT: StaticSchema = (18, n0, _RPO, {_sSI: _sU, _smit: None}) - -REMOVE_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _RPe, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2015-03-31/functions/{FunctionName}/policy/{StatementId}", - "code": 204, - } - ) - }, - REMOVE_PERMISSION_INPUT, - REMOVE_PERMISSION_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - PUBLIC_POLICY_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -QUALIFIER: StaticSchema = (3, n0, _Q, 0) - -DELETE_PROVISIONED_CONCURRENCY_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _DPCCI, - {_sSI: _cDPCCR, _sm: None}, - (_FN, _Q), - ((FUNCTION_NAME, 9), (QUALIFIER, {_sQ: _Q, _smi: None})), -) - -DELETE_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _DPCCO, - {_sSI: _sU, _smit: None}, -) - -DELETE_PROVISIONED_CONCURRENCY_CONFIG: StaticOperationSchema = ( - 23, - n0, - _DPCC, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/2019-09-30/functions/{FunctionName}/provisioned-concurrency", - "code": 204, - } - ) - }, - DELETE_PROVISIONED_CONCURRENCY_CONFIG_INPUT, - DELETE_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -GET_PROVISIONED_CONCURRENCY_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _GPCCI, - {_sSI: _cGPCCR, _sm: None}, - (_FN, _Q), - ((FUNCTION_NAME, 9), (QUALIFIER, {_sQ: _Q, _smi: None})), -) - -GET_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _GPCCO, - {_sSI: _cGPCCRo, _smit: None}, - (_RPCE, _APCE, _APCEl, _Stat, _SRt, _LM), - ( - (POSITIVE_INTEGER, 0), - (NON_NEGATIVE_INTEGER, 0), - (NON_NEGATIVE_INTEGER, 0), - (PROVISIONED_CONCURRENCY_STATUS_ENUM, 0), - (STRING, 0), - (TIMESTAMP, 0), - ), -) - -PROVISIONED_CONCURRENCY_CONFIG_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _PCCNFE, - {_smith: _c, _sE: 404}, - (_T, _m), - ((STRING, 0), (STRING, 0)), -) - -GET_PROVISIONED_CONCURRENCY_CONFIG: StaticOperationSchema = ( - 23, - n0, - _GPCC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/2019-09-30/functions/{FunctionName}/provisioned-concurrency", - "code": 200, - } - ) - }, - GET_PROVISIONED_CONCURRENCY_CONFIG_INPUT, - GET_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - PROVISIONED_CONCURRENCY_CONFIG_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUT_PROVISIONED_CONCURRENCY_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _PPCCI, - {_sSI: _cPPCCR, _sm: None}, - (_FN, _Q, _PCE), - ((FUNCTION_NAME, 9), (QUALIFIER, {_sQ: _Q, _smi: None}), (POSITIVE_INTEGER, 1)), -) - -PUT_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _PPCCO, - {_sSI: _cPPCCRo, _smit: None}, - (_RPCE, _APCEl, _APCE, _Stat, _SRt, _LM), - ( - (POSITIVE_INTEGER, 0), - (NON_NEGATIVE_INTEGER, 0), - (NON_NEGATIVE_INTEGER, 0), - (PROVISIONED_CONCURRENCY_STATUS_ENUM, 0), - (STRING, 0), - (TIMESTAMP, 0), - ), -) - -PUT_PROVISIONED_CONCURRENCY_CONFIG: StaticOperationSchema = ( - 23, - n0, - _PPCC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2019-09-30/functions/{FunctionName}/provisioned-concurrency", - "code": 202, - } - ) - }, - PUT_PROVISIONED_CONCURRENCY_CONFIG_INPUT, - PUT_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUT_FUNCTION_EVENT_INVOKE_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _PFEICI, - {_sSI: _cPFEICR, _sm: None}, - (_FN, _Q, _MRA, _MEAIS, _DCe), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - (MAXIMUM_RETRY_ATTEMPTS, 0), - (MAXIMUM_EVENT_AGE_IN_SECONDS, 0), - (DESTINATION_CONFIG, 0), - ), -) - -PUT_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _PFEICO, - {_sSI: _cFEIC, _smit: None}, - (_LM, _FA, _MRA, _MEAIS, _DCe), - ( - (DATE, 0), - (FUNCTION_ARN, 0), - (MAXIMUM_RETRY_ATTEMPTS, 0), - (MAXIMUM_EVENT_AGE_IN_SECONDS, 0), - (DESTINATION_CONFIG, 0), - ), -) - -PUT_FUNCTION_EVENT_INVOKE_CONFIG: StaticOperationSchema = ( - 23, - n0, - _PFEIC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config", - "code": 200, - } - ) - }, - PUT_FUNCTION_EVENT_INVOKE_CONFIG_INPUT, - PUT_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_sSI: _cPRPR, _sm: None}, - (_RAe, _Po, _RI), - ((POLICY_RESOURCE_ARN, 9), (RESOURCE_POLICY, 1), (REVISION_ID, 0)), -) - -PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPO, - {_sSI: _cPRPRo, _smit: None}, - (_Po, _RI), - ((RESOURCE_POLICY, 0), (REVISION_ID, 0)), -) - -PUT_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRP, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/2026-07-09/resource-policy/{ResourceArn}", - "code": 200, - } - ) - }, - PUT_RESOURCE_POLICY_INPUT, - PUT_RESOURCE_POLICY_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - POLICY_LENGTH_EXCEEDED_EXCEPTION, - PRECONDITION_FAILED_EXCEPTION, - PUBLIC_POLICY_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -CALLBACK_TIMEOUT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CTE, - {_smith: _c, _sE: 400}, - (_T, _M), - ((STRING, 0), (STRING, 0)), -) - -SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_INPUT: StaticSchema = ( - 18, - n0, - _SDECFI, - {_sSI: _cSDECFR, _sm: None}, - (_CIa, _E), - ((CALLBACK_ID, 9), (ERROR_OBJECT, 16)), -) - -SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_OUTPUT: StaticSchema = ( - 18, - n0, - _SDECFO, - {_sSI: _cSDECFRo, _smit: None}, -) - -SEND_DURABLE_EXECUTION_CALLBACK_FAILURE: StaticOperationSchema = ( - 23, - n0, - _SDECF, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2025-12-01/durable-execution-callbacks/{CallbackId}/fail", - } - ) - }, - SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_INPUT, - SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_OUTPUT, - ( - CALLBACK_TIMEOUT_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_INPUT: StaticSchema = ( - 18, - n0, - _SDECHI, - {_sSI: _cSDECHR, _sm: None}, - (_CIa,), - ((CALLBACK_ID, 9),), -) - -SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_OUTPUT: StaticSchema = ( - 18, - n0, - _SDECHO, - {_sSI: _cSDECHRo, _smit: None}, -) - -SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT: StaticOperationSchema = ( - 23, - n0, - _SDECH, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2025-12-01/durable-execution-callbacks/{CallbackId}/heartbeat", - } - ) - }, - SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_INPUT, - SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_OUTPUT, - ( - CALLBACK_TIMEOUT_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -BINARY_OPERATION_PAYLOAD: StaticSchema = (1, n0, _BOP, 4) - -SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_INPUT: StaticSchema = ( - 18, - n0, - _SDECSI, - {_sSI: _cSDECSR, _sm: None}, - (_CIa, _Re), - ((CALLBACK_ID, 9), (BINARY_OPERATION_PAYLOAD, 16)), -) - -SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _SDECSO, - {_sSI: _cSDECSRo, _smit: None}, -) - -SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS: StaticOperationSchema = ( - 23, - n0, - _SDECS, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2025-12-01/durable-execution-callbacks/{CallbackId}/succeed", - } - ) - }, - SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_INPUT, - SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_OUTPUT, - ( - CALLBACK_TIMEOUT_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _sm: None}, - (_Reso, _Ta), - ((TAGGABLE_RESOURCE, 9), (TAGS, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smit: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TRag, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/2017-03-31/tags/{Resource}", "code": 204} - ) - }, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, {_sN: _K}),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URIn, - {_sSI: _cURR, _sm: None}, - (_Reso, _TKa), - ((TAGGABLE_RESOURCE, 9), (TAG_KEY_LIST, {_sQ: _tK, _smi: None})), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _UROn, {_sSI: _sU, _smit: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/2017-03-31/tags/{Resource}", "code": 204} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT: StaticSchema = ( - 18, - n0, - _UFEICI, - {_sSI: _cUFEICR, _sm: None}, - (_FN, _Q, _MRA, _MEAIS, _DCe), - ( - (NAMESPACED_FUNCTION_NAME, 9), - (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), - (MAXIMUM_RETRY_ATTEMPTS, 0), - (MAXIMUM_EVENT_AGE_IN_SECONDS, 0), - (DESTINATION_CONFIG, 0), - ), -) - -UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT: StaticSchema = ( - 18, - n0, - _UFEICO, - {_sSI: _cFEIC, _smit: None}, - (_LM, _FA, _MRA, _MEAIS, _DCe), - ( - (DATE, 0), - (FUNCTION_ARN, 0), - (MAXIMUM_RETRY_ATTEMPTS, 0), - (MAXIMUM_EVENT_AGE_IN_SECONDS, 0), - (DESTINATION_CONFIG, 0), - ), -) - -UPDATE_FUNCTION_EVENT_INVOKE_CONFIG: StaticOperationSchema = ( - 23, - n0, - _UFEIC, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config", - "code": 200, - } - ) - }, - UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT, - UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT, - ( - INVALID_PARAMETER_VALUE_EXCEPTION, - RESOURCE_CONFLICT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_EXCEPTION, - TOO_MANY_REQUESTS_EXCEPTION, - ), -) - -AWS_GIR_API_SERVICE: StaticSchema = ( - 21, - n0, - _AWSGAS, - { - _aw: MappingProxyType( - { - "sdkId": "Lambda", - "arnNamespace": "lambda", - "cloudFormationName": "Lambda", - "cloudTrailEventSource": "lambda.amazonaws.com", - "endpointPrefix": "lambda", - } - ), - _aws: MappingProxyType({"name": "lambda"}), - _aJ: None, - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "LONG", + "INTEGER", + "UNRESERVED_CONCURRENT_EXECUTIONS", + "ACCOUNT_LIMIT", + "ACCOUNT_USAGE", + "ACTION", + "ADDITIONAL_VERSION", + "WEIGHT", + "ADDITIONAL_VERSION_WEIGHTS", + "LAYER_PERMISSION_ALLOWED_ACTION", + "LAYER_NAME", + "ORGANIZATION_ID", + "LAYER_PERMISSION_ALLOWED_PRINCIPAL", + "STRING", + "STATEMENT_ID", + "LAYER_VERSION_NUMBER", + "ADD_LAYER_VERSION_PERMISSION_INPUT", + "ADD_LAYER_VERSION_PERMISSION_OUTPUT", + "ADD_LAYER_VERSION_PERMISSION", + "INVALID_PARAMETER_VALUE_EXCEPTION", + "POLICY_LENGTH_EXCEEDED_EXCEPTION", + "PRECONDITION_FAILED_EXCEPTION", + "RESOURCE_CONFLICT_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "SERVICE_EXCEPTION", + "THROTTLE_REASON", + "TOO_MANY_REQUESTS_EXCEPTION", + "EVENT_SOURCE_TOKEN", + "NAMESPACED_FUNCTION_NAME", + "FUNCTION_URL_AUTH_TYPE", + "INVOKED_VIA_FUNCTION_URL", + "PRINCIPAL", + "PRINCIPAL_ORG_ID", + "NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER", + "SOURCE_OWNER", + "ARN", + "ADD_PERMISSION_INPUT", + "ADD_PERMISSION_OUTPUT", + "ADD_PERMISSION", + "PUBLIC_POLICY_EXCEPTION", + "ALIAS", + "FUNCTION_ARN", + "DESCRIPTION", + "VERSION", + "ALIAS_ROUTING_CONFIGURATION", + "ALIAS_CONFIGURATION", + "ALIAS_LIMIT_EXCEEDED_EXCEPTION", + "ALIAS_LIST", + "ALLOW_CREDENTIALS", + "SIGNING_PROFILE_VERSION_ARNS", + "ALLOWED_PUBLISHERS", + "METHOD", + "ALLOW_METHODS_LIST", + "ORIGIN", + "ALLOW_ORIGINS_LIST", + "URI", + "KAFKA_SCHEMA_REGISTRY_AUTH_TYPE", + "KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG", + "KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG_LIST", + "SCHEMA_REGISTRY_EVENT_RECORD_FORMAT", + "SCHEMA_REGISTRY_URI", + "KAFKA_SCHEMA_VALIDATION_ATTRIBUTE", + "KAFKA_SCHEMA_VALIDATION_CONFIG", + "KAFKA_SCHEMA_VALIDATION_CONFIG_LIST", + "KAFKA_SCHEMA_REGISTRY_CONFIG", + "AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG", + "APPLICATION_LOG_LEVEL", + "ARCHITECTURE", + "ARCHITECTURES_LIST", + "ATTEMPT_COUNT", + "CAPACITY_PROVIDER_NAME", + "CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION", + "CAPACITY_PROVIDER_MAX_V_CPU_COUNT", + "CAPACITY_PROVIDER_SCALING_MODE", + "CAPACITY_PROVIDER_PREDEFINED_METRIC_TYPE", + "METRIC_TARGET_VALUE", + "TARGET_TRACKING_SCALING_POLICY", + "CAPACITY_PROVIDER_SCALING_POLICIES_LIST", + "CAPACITY_PROVIDER_SCALING_CONFIG", + "INSTANCE_TYPE", + "INSTANCE_TYPE_SET", + "INSTANCE_REQUIREMENTS", + "KMS_KEY_ARN_NON_EMPTY", + "ROLE_ARN", + "CAPACITY_PROVIDER_PERMISSIONS_CONFIG", + "TAG_KEY", + "TAG_VALUE", + "TAGS", + "PROPAGATE_TAGS_MODE", + "PROPAGATE_TAGS", + "LOG_GROUP", + "SYSTEM_LOG_LEVEL", + "CAPACITY_PROVIDER_LOGGING_CONFIG", + "CAPACITY_PROVIDER_TELEMETRY_CONFIG", + "SECURITY_GROUP_ID", + "CAPACITY_PROVIDER_SECURITY_GROUP_IDS", + "SUBNET_ID", + "CAPACITY_PROVIDER_SUBNET_IDS", + "CAPACITY_PROVIDER_VPC_CONFIG", + "CREATE_CAPACITY_PROVIDER_INPUT", + "CREATE_CAPACITY_PROVIDER_OUTPUT", + "CREATE_CAPACITY_PROVIDER", + "CAPACITY_PROVIDER_ARN", + "KMS_KEY_ARN", + "TIMESTAMP", + "CAPACITY_PROVIDER_STATE", + "CAPACITY_PROVIDER", + "DELETE_CAPACITY_PROVIDER_INPUT", + "DELETE_CAPACITY_PROVIDER_OUTPUT", + "DELETE_CAPACITY_PROVIDER", + "GET_CAPACITY_PROVIDER_INPUT", + "GET_CAPACITY_PROVIDER_OUTPUT", + "GET_CAPACITY_PROVIDER", + "MAX_FIFTY_LIST_ITEMS", + "LIST_CAPACITY_PROVIDERS_INPUT", + "LIST_CAPACITY_PROVIDERS_OUTPUT", + "LIST_CAPACITY_PROVIDERS", + "CAPACITY_PROVIDERS_LIST", + "LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_INPUT", + "LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT", + "LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER", + "NAME_SPACED_FUNCTION_ARN", + "STATE", + "FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST_ITEM", + "FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST", + ), + ( + "UPDATE_CAPACITY_PROVIDER_INPUT", + "UPDATE_CAPACITY_PROVIDER_OUTPUT", + "UPDATE_CAPACITY_PROVIDER", + "CODE_SIGNING_CONFIG_ID", + "CODE_SIGNING_POLICY", + "CODE_SIGNING_POLICIES", + "CREATE_CODE_SIGNING_CONFIG_INPUT", + "CREATE_CODE_SIGNING_CONFIG_OUTPUT", + "CREATE_CODE_SIGNING_CONFIG", + "CODE_SIGNING_CONFIG_ARN", + "CODE_SIGNING_CONFIG", + "DELETE_CODE_SIGNING_CONFIG_INPUT", + "DELETE_CODE_SIGNING_CONFIG_OUTPUT", + "DELETE_CODE_SIGNING_CONFIG", + "GET_CODE_SIGNING_CONFIG_INPUT", + "GET_CODE_SIGNING_CONFIG_OUTPUT", + "GET_CODE_SIGNING_CONFIG", + "MAX_LIST_ITEMS", + "LIST_CODE_SIGNING_CONFIGS_INPUT", + "LIST_CODE_SIGNING_CONFIGS_OUTPUT", + "LIST_CODE_SIGNING_CONFIGS", + "CODE_SIGNING_CONFIG_LIST", + "LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_INPUT", + "LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_OUTPUT", + "LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG", + "FUNCTION_ARN_LIST", + "UPDATE_CODE_SIGNING_CONFIG_INPUT", + "UPDATE_CODE_SIGNING_CONFIG_OUTPUT", + "UPDATE_CODE_SIGNING_CONFIG", + "DELETE_FUNCTION_INPUT", + "DELETE_FUNCTION_OUTPUT", + "DELETE_FUNCTION", + "DELETE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT", + "DELETE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT", + "DELETE_FUNCTION_EVENT_INVOKE_CONFIG", + "POLICY_RESOURCE_ARN", + "REVISION_ID", + "DELETE_RESOURCE_POLICY_INPUT", + "DELETE_RESOURCE_POLICY_OUTPUT", + "DELETE_RESOURCE_POLICY", + "CHECKPOINT_TOKEN", + "CLIENT_TOKEN", + "DURABLE_EXECUTION_ARN", + "OPERATION_ACTION", + "DURATION_SECONDS", + "CALLBACK_OPTIONS", + "TENANT_ID", + "X_AMZN_TRACE_ID", + "CHAINED_INVOKE_OPTIONS", + "REPLAY_CHILDREN", + "CONTEXT_OPTIONS", + "ERROR_DATA", + "ERROR_MESSAGE", + "ERROR_TYPE", + "STACK_TRACE_ENTRY", + "STACK_TRACE_ENTRIES", + "ERROR_OBJECT", + "OPERATION_ID", + "OPERATION_NAME", + "OPERATION_PAYLOAD", + "STEP_OPTIONS", + "OPERATION_SUB_TYPE", + "OPERATION_TYPE", + "WAIT_OPTIONS", + "OPERATION_UPDATE", + "OPERATION_UPDATES", + "CHECKPOINT_DURABLE_EXECUTION_INPUT", + "CHECKPOINT_DURABLE_EXECUTION_OUTPUT", + "CHECKPOINT_DURABLE_EXECUTION", + "CALLBACK_ID", + "CALLBACK_DETAILS", + "CHAINED_INVOKE_DETAILS", + "CONTEXT_DETAILS", + "EXECUTION_TIMESTAMP", + "INPUT_PAYLOAD", + "EXECUTION_DETAILS", + "OPERATION_STATUS", + "STEP_DETAILS", + "WAIT_DETAILS", + "OPERATION", + "OPERATIONS", + "CHECKPOINT_UPDATED_EXECUTION_STATE", + "KMS_ACCESS_DENIED_EXCEPTION", + "KMS_DISABLED_EXCEPTION", + "KMS_INVALID_STATE_EXCEPTION", + "KMS_NOT_FOUND_EXCEPTION", + "INCLUDE_EXECUTION_DATA", + "GET_DURABLE_EXECUTION_INPUT", + "GET_DURABLE_EXECUTION_OUTPUT", + "GET_DURABLE_EXECUTION", + "EXECUTION_TIMEOUT", + "RETENTION_PERIOD_IN_DAYS", + "DURABLE_CONFIG", + "DURABLE_EXECUTION_NAME", + "EXECUTION_DATA_INCLUDED", + "OUTPUT_PAYLOAD", + "EXECUTION_STATUS", + "TRACE_HEADER", + "VERSION_WITH_LATEST_PUBLISHED", + "ITEM_COUNT", + "REVERSE_ORDER", + "GET_DURABLE_EXECUTION_HISTORY_INPUT", + "GET_DURABLE_EXECUTION_HISTORY_OUTPUT", + "GET_DURABLE_EXECUTION_HISTORY", + "TRUNCATED", + "EVENT_ERROR", + "CALLBACK_FAILED_DETAILS", + "CALLBACK_STARTED_DETAILS", + "EVENT_RESULT", + "CALLBACK_SUCCEEDED_DETAILS", + "CALLBACK_TIMED_OUT_DETAILS", + "CHAINED_INVOKE_FAILED_DETAILS", + "EVENT_INPUT", + "CHAINED_INVOKE_STARTED_DETAILS", + "BLOB", + "FUNCTION_LIST", + "RESOURCE_POLICY", + ), + ( + "CHAINED_INVOKE_STOPPED_DETAILS", + "CHAINED_INVOKE_SUCCEEDED_DETAILS", + "CHAINED_INVOKE_TIMED_OUT_DETAILS", + "CONTEXT_FAILED_DETAILS", + "CONTEXT_STARTED_DETAILS", + "CONTEXT_SUCCEEDED_DETAILS", + "EVENT_ID", + "EVENT_TYPE", + "EXECUTION_FAILED_DETAILS", + "EXECUTION_STARTED_DETAILS", + "EXECUTION_STOPPED_DETAILS", + "EXECUTION_SUCCEEDED_DETAILS", + "EXECUTION_TIMED_OUT_DETAILS", + "INVOCATION_COMPLETED_DETAILS", + "RETRY_DETAILS", + "STEP_FAILED_DETAILS", + "STEP_STARTED_DETAILS", + "STEP_SUCCEEDED_DETAILS", + "WAIT_CANCELLED_DETAILS", + "WAIT_STARTED_DETAILS", + "WAIT_SUCCEEDED_DETAILS", + "EVENT", + "EVENTS", + "GET_DURABLE_EXECUTION_STATE_INPUT", + "GET_DURABLE_EXECUTION_STATE_OUTPUT", + "GET_DURABLE_EXECUTION_STATE", + "STOP_DURABLE_EXECUTION_INPUT", + "STOP_DURABLE_EXECUTION_OUTPUT", + "STOP_DURABLE_EXECUTION", + "BATCH_SIZE", + "BISECT_BATCH_ON_FUNCTION_ERROR", + "DESTINATION_ARN", + "ON_FAILURE", + "ON_SUCCESS", + "DESTINATION_CONFIG", + "COLLECTION_NAME", + "DATABASE_NAME", + "FULL_DOCUMENT", + "DOCUMENT_DB_EVENT_SOURCE_CONFIG", + "ENABLED", + "PATTERN", + "FILTER", + "FILTER_LIST", + "FILTER_CRITERIA", + "FUNCTION_RESPONSE_TYPE", + "FUNCTION_RESPONSE_TYPE_LIST", + "EVENT_SOURCE_MAPPING_SYSTEM_LOG_LEVEL", + "EVENT_SOURCE_MAPPING_LOGGING_CONFIG", + "MAXIMUM_BATCHING_WINDOW_IN_SECONDS", + "MAXIMUM_RECORD_AGE_IN_SECONDS", + "MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING", + "EVENT_SOURCE_MAPPING_METRIC", + "EVENT_SOURCE_MAPPING_METRIC_LIST", + "EVENT_SOURCE_MAPPING_METRICS_CONFIG", + "PARALLELIZATION_FACTOR", + "MAXIMUM_NUMBER_OF_POLLERS", + "MINIMUM_NUMBER_OF_POLLERS", + "PROVISIONED_POLLER_GROUP_NAME", + "PROVISIONED_POLLER_CONFIG", + "QUEUE", + "QUEUES", + "MAXIMUM_CONCURRENCY", + "SCALING_CONFIG", + "END_POINT_TYPE", + "ENDPOINT", + "ENDPOINT_LISTS", + "ENDPOINTS", + "SELF_MANAGED_EVENT_SOURCE", + "KAFKA_EVENT_SOURCE_MAPPING_CONSUMPTION_MODE", + "SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG", + "SOURCE_ACCESS_TYPE", + "SOURCE_ACCESS_CONFIGURATION", + "SOURCE_ACCESS_CONFIGURATIONS", + "EVENT_SOURCE_POSITION", + "DATE", + "TOPIC", + "TOPICS", + "TUMBLING_WINDOW_IN_SECONDS", + "CREATE_EVENT_SOURCE_MAPPING_INPUT", + "CREATE_EVENT_SOURCE_MAPPING_OUTPUT", + "CREATE_EVENT_SOURCE_MAPPING", + "EVENT_SOURCE_MAPPING_ARN", + "FILTER_CRITERIA_ERROR_CODE", + "FILTER_CRITERIA_ERROR_MESSAGE", + "FILTER_CRITERIA_ERROR", + "UUID_STRING", + "DELETE_EVENT_SOURCE_MAPPING_INPUT", + "DELETE_EVENT_SOURCE_MAPPING_OUTPUT", + "DELETE_EVENT_SOURCE_MAPPING", + "RESOURCE_IN_USE_EXCEPTION", + ), + ( + "GET_EVENT_SOURCE_MAPPING_INPUT", + "GET_EVENT_SOURCE_MAPPING_OUTPUT", + "GET_EVENT_SOURCE_MAPPING", + "LIST_EVENT_SOURCE_MAPPINGS_INPUT", + "LIST_EVENT_SOURCE_MAPPINGS_OUTPUT", + "LIST_EVENT_SOURCE_MAPPINGS", + "EVENT_SOURCE_MAPPING_CONFIGURATION", + "EVENT_SOURCE_MAPPINGS_LIST", + "UPDATE_EVENT_SOURCE_MAPPING_INPUT", + "UPDATE_EVENT_SOURCE_MAPPING_OUTPUT", + "UPDATE_EVENT_SOURCE_MAPPING", + "CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION", + "CODE_STORAGE_EXCEEDED_EXCEPTION", + "CODE_VERIFICATION_FAILED_EXCEPTION", + "EXECUTION_ENVIRONMENT_MEMORY_GI_B_PER_V_CPU", + "PER_EXECUTION_ENVIRONMENT_MAX_CONCURRENCY", + "LAMBDA_MANAGED_INSTANCES_CAPACITY_PROVIDER_CONFIG", + "CAPACITY_PROVIDER_CONFIG", + "S3_BUCKET", + "S3_KEY", + "S3_OBJECT_STORAGE_MODE", + "S3_OBJECT_VERSION", + "FUNCTION_CODE", + "RESOURCE_ARN", + "DEAD_LETTER_CONFIG", + "ENVIRONMENT_VARIABLE_NAME", + "ENVIRONMENT_VARIABLE_VALUE", + "ENVIRONMENT_VARIABLES", + "ENVIRONMENT", + "EPHEMERAL_STORAGE_SIZE", + "EPHEMERAL_STORAGE", + "FILE_SYSTEM_ARN", + "LOCAL_MOUNT_PATH", + "DIRECT_S3_READ", + "S3_FILES_CONFIG", + "FILE_SYSTEM_CONFIG", + "FILE_SYSTEM_CONFIG_LIST", + "FUNCTION_NAME", + "HANDLER", + "STRING_LIST", + "WORKING_DIRECTORY", + "IMAGE_CONFIG", + "LAYER_VERSION_ARN", + "LAYER_LIST", + "LOG_FORMAT", + "LOGGING_CONFIG", + "MEMORY_SIZE", + "PACKAGE_TYPE", + "BOOLEAN", + "FUNCTION_VERSION_LATEST_PUBLISHED", + "RUNTIME", + "SNAP_START_APPLY_ON", + "SNAP_START", + "TENANT_ISOLATION_MODE", + "TENANCY_CONFIG", + "TIMEOUT", + "TRACING_MODE", + "TRACING_CONFIG", + "NULLABLE_BOOLEAN", + "SECURITY_GROUP_IDS", + "SUBNET_IDS", + "VPC_CONFIG", + "CREATE_FUNCTION_INPUT", + "CREATE_FUNCTION_OUTPUT", + "CREATE_FUNCTION", + "RESERVED_CONCURRENT_EXECUTIONS", + ), + ( + "SENSITIVE_STRING", + "ENVIRONMENT_ERROR", + "ENVIRONMENT_RESPONSE", + "IMAGE_CONFIG_ERROR", + "IMAGE_CONFIG_RESPONSE", + "LAST_UPDATE_STATUS", + "LAST_UPDATE_STATUS_REASON", + "LAST_UPDATE_STATUS_REASON_CODE", + "LAYER", + "LAYERS_REFERENCE_LIST", + "RUNTIME_VERSION_ERROR", + "RUNTIME_VERSION_ARN", + "RUNTIME_VERSION_CONFIG", + "SNAP_START_OPTIMIZATION_STATUS", + "SNAP_START_RESPONSE", + "STATE_REASON", + "STATE_REASON_CODE", + "TRACING_CONFIG_RESPONSE", + "VPC_ID", + "VPC_CONFIG_RESPONSE", + "FUNCTION_VERSIONS_PER_CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION", + "INVALID_CODE_SIGNATURE_EXCEPTION", + "HEADER", + "HEADERS_LIST", + "MAX_AGE", + "CORS", + "FUNCTION_URL_FUNCTION_NAME", + "INVOKE_MODE", + "FUNCTION_URL_QUALIFIER", + "CREATE_FUNCTION_URL_CONFIG_INPUT", + "CREATE_FUNCTION_URL_CONFIG_OUTPUT", + "CREATE_FUNCTION_URL_CONFIG", + "FUNCTION_URL", + "DELETE_FUNCTION_CODE_SIGNING_CONFIG_INPUT", + "DELETE_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT", + "DELETE_FUNCTION_CODE_SIGNING_CONFIG", + "DELETE_FUNCTION_CONCURRENCY_INPUT", + "DELETE_FUNCTION_CONCURRENCY_OUTPUT", + "DELETE_FUNCTION_CONCURRENCY", + "DELETE_FUNCTION_URL_CONFIG_INPUT", + "DELETE_FUNCTION_URL_CONFIG_OUTPUT", + "DELETE_FUNCTION_URL_CONFIG", + "GET_FUNCTION_INPUT", + "GET_FUNCTION_OUTPUT", + "GET_FUNCTION", + "FUNCTION_CODE_LOCATION_ERROR", + "SENSITIVE_STRING_ON_SERVER_ONLY", + "RESOLVED_S3_OBJECT", + "FUNCTION_CODE_LOCATION", + "CONCURRENCY", + "FUNCTION_CONFIGURATION", + "TAGS_ERROR_CODE", + "TAGS_ERROR_MESSAGE", + "TAGS_ERROR", + "GET_FUNCTION_CODE_SIGNING_CONFIG_INPUT", + "GET_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT", + "GET_FUNCTION_CODE_SIGNING_CONFIG", + "GET_FUNCTION_CONCURRENCY_INPUT", + "GET_FUNCTION_CONCURRENCY_OUTPUT", + "GET_FUNCTION_CONCURRENCY", + "GET_FUNCTION_CONFIGURATION_INPUT", + "GET_FUNCTION_CONFIGURATION_OUTPUT", + "GET_FUNCTION_CONFIGURATION", + "UNQUALIFIED_FUNCTION_NAME", + "GET_FUNCTION_RECURSION_CONFIG_INPUT", + "GET_FUNCTION_RECURSION_CONFIG_OUTPUT", + "GET_FUNCTION_RECURSION_CONFIG", + "RECURSIVE_LOOP", + "PUBLISHED_FUNCTION_QUALIFIER", + "GET_FUNCTION_SCALING_CONFIG_INPUT", + "GET_FUNCTION_SCALING_CONFIG_OUTPUT", + "GET_FUNCTION_SCALING_CONFIG", + "UPDATE_RUNTIME_ON", + ), + ( + "FUNCTION_SCALING_CONFIG_EXECUTION_ENVIRONMENTS", + "FUNCTION_SCALING_CONFIG", + "GET_FUNCTION_URL_CONFIG_INPUT", + "GET_FUNCTION_URL_CONFIG_OUTPUT", + "GET_FUNCTION_URL_CONFIG", + "GET_POLICY_INPUT", + "GET_POLICY_OUTPUT", + "GET_POLICY", + "GET_RUNTIME_MANAGEMENT_CONFIG_INPUT", + "GET_RUNTIME_MANAGEMENT_CONFIG_OUTPUT", + "GET_RUNTIME_MANAGEMENT_CONFIG", + "CODE_ARTIFACT_USER_DELETED_EXCEPTION", + "CODE_ARTIFACT_USER_FAILED_EXCEPTION", + "CODE_ARTIFACT_USER_PENDING_EXCEPTION", + "DURABLE_EXECUTION_ALREADY_STARTED_EXCEPTION", + "EC2_ACCESS_DENIED_EXCEPTION", + "EC2_THROTTLED_EXCEPTION", + "EC2_UNEXPECTED_EXCEPTION", + "EFSIO_EXCEPTION", + "EFS_MOUNT_CONNECTIVITY_EXCEPTION", + "EFS_MOUNT_FAILURE_EXCEPTION", + "EFS_MOUNT_TIMEOUT_EXCEPTION", + "ENI_LIMIT_REACHED_EXCEPTION", + "ENI_NOT_READY_EXCEPTION", + "INVALID_REQUEST_CONTENT_EXCEPTION", + "INVALID_RUNTIME_EXCEPTION", + "INVALID_SECURITY_GROUP_ID_EXCEPTION", + "INVALID_SUBNET_ID_EXCEPTION", + "INVALID_ZIP_FILE_EXCEPTION", + "INVOCATION_TYPE", + "LOG_TYPE", + "INVOKE_INPUT", + "INVOKE_OUTPUT", + "INVOKE", + "MODE_NOT_SUPPORTED_EXCEPTION", + "NO_PUBLISHED_VERSION_EXCEPTION", + "RECURSIVE_INVOCATION_EXCEPTION", + "REQUEST_TOO_LARGE_EXCEPTION", + "RESOURCE_NOT_READY_EXCEPTION", + "S3_FILES_MOUNT_CONNECTIVITY_EXCEPTION", + "S3_FILES_MOUNT_FAILURE_EXCEPTION", + "S3_FILES_MOUNT_TIMEOUT_EXCEPTION", + "SERIALIZED_REQUEST_ENTITY_TOO_LARGE_EXCEPTION", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "SNAP_START_EXCEPTION", + "SNAP_START_NOT_READY_EXCEPTION", + "SNAP_START_REGENERATION_FAILURE_EXCEPTION", + "SNAP_START_TIMEOUT_EXCEPTION", + "SUBNET_IP_ADDRESS_LIMIT_REACHED_EXCEPTION", + "UNSUPPORTED_MEDIA_TYPE_EXCEPTION", + "BLOB_STREAM", + "INVOKE_ASYNC_INPUT", + "INVOKE_ASYNC_OUTPUT", + "INVOKE_ASYNC", + "HTTP_STATUS", + "RESPONSE_STREAMING_INVOCATION_TYPE", + "INVOKE_WITH_RESPONSE_STREAM_INPUT", + "INVOKE_WITH_RESPONSE_STREAM_OUTPUT", + "INVOKE_WITH_RESPONSE_STREAM", + "INVOKE_WITH_RESPONSE_STREAM_COMPLETE_EVENT", + "INVOKE_RESPONSE_STREAM_UPDATE", + "INVOKE_WITH_RESPONSE_STREAM_RESPONSE_EVENT", + "EXECUTION_STATUS_LIST", + "LIST_DURABLE_EXECUTIONS_BY_FUNCTION_INPUT", + "LIST_DURABLE_EXECUTIONS_BY_FUNCTION_OUTPUT", + "LIST_DURABLE_EXECUTIONS_BY_FUNCTION", + "EXECUTION", + "DURABLE_EXECUTIONS", + "FUNCTION_VERSION", + "MASTER_REGION", + "LIST_FUNCTIONS_INPUT", + "LIST_FUNCTIONS_OUTPUT", + "LIST_FUNCTIONS", + "MAX_ITEMS", + "LIST_FUNCTION_URL_CONFIGS_INPUT", + "LIST_FUNCTION_URL_CONFIGS_OUTPUT", + "LIST_FUNCTION_URL_CONFIGS", + "FUNCTION_URL_CONFIG", + "FUNCTION_URL_CONFIG_LIST", + "MAX_PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEMS", + "LIST_PROVISIONED_CONCURRENCY_CONFIGS_INPUT", + "LIST_PROVISIONED_CONCURRENCY_CONFIGS_OUTPUT", + "LIST_PROVISIONED_CONCURRENCY_CONFIGS", + "NON_NEGATIVE_INTEGER", + "POSITIVE_INTEGER", + "PROVISIONED_CONCURRENCY_STATUS_ENUM", + ), + ( + "PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEM", + "PROVISIONED_CONCURRENCY_CONFIG_LIST", + "PUT_FUNCTION_CODE_SIGNING_CONFIG_INPUT", + "PUT_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT", + "PUT_FUNCTION_CODE_SIGNING_CONFIG", + "PUT_FUNCTION_CONCURRENCY_INPUT", + "PUT_FUNCTION_CONCURRENCY_OUTPUT", + "PUT_FUNCTION_CONCURRENCY", + "PUT_FUNCTION_RECURSION_CONFIG_INPUT", + "PUT_FUNCTION_RECURSION_CONFIG_OUTPUT", + "PUT_FUNCTION_RECURSION_CONFIG", + "PUT_FUNCTION_SCALING_CONFIG_INPUT", + "PUT_FUNCTION_SCALING_CONFIG_OUTPUT", + "PUT_FUNCTION_SCALING_CONFIG", + "PUT_RUNTIME_MANAGEMENT_CONFIG_INPUT", + "PUT_RUNTIME_MANAGEMENT_CONFIG_OUTPUT", + "PUT_RUNTIME_MANAGEMENT_CONFIG", + "UPDATE_FUNCTION_CODE_INPUT", + "UPDATE_FUNCTION_CODE_OUTPUT", + "UPDATE_FUNCTION_CODE", + "UPDATE_FUNCTION_CONFIGURATION_INPUT", + "UPDATE_FUNCTION_CONFIGURATION_OUTPUT", + "UPDATE_FUNCTION_CONFIGURATION", + "UPDATE_FUNCTION_URL_CONFIG_INPUT", + "UPDATE_FUNCTION_URL_CONFIG_OUTPUT", + "UPDATE_FUNCTION_URL_CONFIG", + "CREATE_ALIAS_INPUT", + "CREATE_ALIAS_OUTPUT", + "CREATE_ALIAS", + "DELETE_ALIAS_INPUT", + "DELETE_ALIAS_OUTPUT", + "DELETE_ALIAS", + "GET_ALIAS_INPUT", + "GET_ALIAS_OUTPUT", + "GET_ALIAS", + "LIST_ALIASES_INPUT", + "LIST_ALIASES_OUTPUT", + "LIST_ALIASES", + "UPDATE_ALIAS_INPUT", + "UPDATE_ALIAS_OUTPUT", + "UPDATE_ALIAS", + "LIST_VERSIONS_BY_FUNCTION_INPUT", + "LIST_VERSIONS_BY_FUNCTION_OUTPUT", + "LIST_VERSIONS_BY_FUNCTION", + "PUBLISH_VERSION_INPUT", + "PUBLISH_VERSION_OUTPUT", + "PUBLISH_VERSION", + "GET_ACCOUNT_SETTINGS_INPUT", + "GET_ACCOUNT_SETTINGS_OUTPUT", + "GET_ACCOUNT_SETTINGS", + "GET_FUNCTION_EVENT_INVOKE_CONFIG_INPUT", + "GET_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT", + "GET_FUNCTION_EVENT_INVOKE_CONFIG", + "MAXIMUM_EVENT_AGE_IN_SECONDS", + "MAXIMUM_RETRY_ATTEMPTS", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + ), + ( + "MAX_LAYER_LIST_ITEMS", + "LIST_LAYERS_INPUT", + "LIST_LAYERS_OUTPUT", + "LIST_LAYERS", + "COMPATIBLE_ARCHITECTURES", + "COMPATIBLE_RUNTIMES", + "LICENSE_INFO", + "LAYER_VERSIONS_LIST_ITEM", + "LAYER_ARN", + "LAYERS_LIST_ITEM", + "LAYERS_LIST", + "DELETE_LAYER_VERSION_INPUT", + "DELETE_LAYER_VERSION_OUTPUT", + "DELETE_LAYER_VERSION", + "GET_LAYER_VERSION_INPUT", + "GET_LAYER_VERSION_OUTPUT", + "GET_LAYER_VERSION", + "LAYER_VERSION_CONTENT_OUTPUT", + "GET_LAYER_VERSION_BY_ARN_INPUT", + "GET_LAYER_VERSION_BY_ARN_OUTPUT", + "GET_LAYER_VERSION_BY_ARN", + "GET_LAYER_VERSION_POLICY_INPUT", + "GET_LAYER_VERSION_POLICY_OUTPUT", + "GET_LAYER_VERSION_POLICY", + "LIST_LAYER_VERSIONS_INPUT", + "LIST_LAYER_VERSIONS_OUTPUT", + "LIST_LAYER_VERSIONS", + "LAYER_VERSIONS_LIST", + "LAYER_VERSION_CONTENT_INPUT", + "PUBLISH_LAYER_VERSION_INPUT", + "PUBLISH_LAYER_VERSION_OUTPUT", + "PUBLISH_LAYER_VERSION", + "REMOVE_LAYER_VERSION_PERMISSION_INPUT", + "REMOVE_LAYER_VERSION_PERMISSION_OUTPUT", + "REMOVE_LAYER_VERSION_PERMISSION", + "MAX_FUNCTION_EVENT_INVOKE_CONFIG_LIST_ITEMS", + "LIST_FUNCTION_EVENT_INVOKE_CONFIGS_INPUT", + "LIST_FUNCTION_EVENT_INVOKE_CONFIGS_OUTPUT", + "LIST_FUNCTION_EVENT_INVOKE_CONFIGS", + "FUNCTION_EVENT_INVOKE_CONFIG", + "FUNCTION_EVENT_INVOKE_CONFIG_LIST", + "TAGGABLE_RESOURCE", + "LIST_TAGS_INPUT", + "LIST_TAGS_OUTPUT", + "LIST_TAGS", + "NAMESPACED_STATEMENT_ID", + "REMOVE_PERMISSION_INPUT", + "REMOVE_PERMISSION_OUTPUT", + "REMOVE_PERMISSION", + "QUALIFIER", + "DELETE_PROVISIONED_CONCURRENCY_CONFIG_INPUT", + "DELETE_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT", + "DELETE_PROVISIONED_CONCURRENCY_CONFIG", + "GET_PROVISIONED_CONCURRENCY_CONFIG_INPUT", + "GET_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT", + "GET_PROVISIONED_CONCURRENCY_CONFIG", + "PROVISIONED_CONCURRENCY_CONFIG_NOT_FOUND_EXCEPTION", + "PUT_PROVISIONED_CONCURRENCY_CONFIG_INPUT", + "PUT_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT", + "PUT_PROVISIONED_CONCURRENCY_CONFIG", + "PUT_FUNCTION_EVENT_INVOKE_CONFIG_INPUT", + "PUT_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT", + "PUT_FUNCTION_EVENT_INVOKE_CONFIG", + "PUT_RESOURCE_POLICY_INPUT", + "PUT_RESOURCE_POLICY_OUTPUT", + "PUT_RESOURCE_POLICY", + "CALLBACK_TIMEOUT_EXCEPTION", + "SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_INPUT", + "SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_OUTPUT", + "SEND_DURABLE_EXECUTION_CALLBACK_FAILURE", + "SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_INPUT", + "SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_OUTPUT", + "SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT", + "BINARY_OPERATION_PAYLOAD", + "SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_INPUT", + "SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_OUTPUT", + "SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT", + "UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT", + "UPDATE_FUNCTION_EVENT_INVOKE_CONFIG", + "AWS_GIR_API_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_0.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_0.py new file mode 100644 index 000000000..e7d584868 --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_0.py @@ -0,0 +1,1200 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.lambda" +_L = "Long" +_s = "smithy.api#default" +_I = "Integer" +_UCE = "UnreservedConcurrentExecutions" +_AL = "AccountLimit" +_TCS = "TotalCodeSize" +_CSU = "CodeSizeUnzipped" +_CSZ = "CodeSizeZipped" +_CE = "ConcurrentExecutions" +_AU = "AccountUsage" +_FC = "FunctionCount" +_A = "Action" +_AV = "AdditionalVersion" +_W = "Weight" +_AVW = "AdditionalVersionWeights" +_k = "key" +_v = "value" +_LPAA = "LayerPermissionAllowedAction" +_LN = "LayerName" +_OI = "OrganizationId" +_LPAP = "LayerPermissionAllowedPrincipal" +_S = "String" +_SI = "StatementId" +_LVN = "LayerVersionNumber" +_ALVPI = "AddLayerVersionPermissionInput" +_sSI = "smithy.synthetic#originalShapeId" +_cALVPR = "com.amazonaws.lambda#AddLayerVersionPermissionRequest" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_VN = "VersionNumber" +_P = "Principal" +_RI = "RevisionId" +_sQ = "smithy.api#httpQuery" +_ALVPO = "AddLayerVersionPermissionOutput" +_cALVPRo = "com.amazonaws.lambda#AddLayerVersionPermissionResponse" +_smit = "smithy.api#output" +_St = "Statement" +_IPVE = "InvalidParameterValueException" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_T = "Type" +_m = "message" +_PLEE = "PolicyLengthExceededException" +_PFE = "PreconditionFailedException" +_RCE = "ResourceConflictException" +_RNFE = "ResourceNotFoundException" +_M = "Message" +_SE = "ServiceException" +_se = "server" +_TR = "ThrottleReason" +_CILE = "ConcurrentInvocationLimitExceeded" +_sV = "smithy.api#enumValue" +_FIRLE = "FunctionInvocationRateLimitExceeded" +_RFCILE = "ReservedFunctionConcurrentInvocationLimitExceeded" +_RFIRLE = "ReservedFunctionInvocationRateLimitExceeded" +_CRLE = "CallerRateLimitExceeded" +_CSCLE = "ConcurrentSnapshotCreateLimitExceeded" +_TMRE = "TooManyRequestsException" +_rAS = "retryAfterSeconds" +_sH = "smithy.api#httpHeader" +_RA = "Retry-After" +_R = "Reason" +_ALVP = "AddLayerVersionPermission" +_smithy = "smithy.api#http" +_EST = "EventSourceToken" +_NFN = "NamespacedFunctionName" +_FUAT = "FunctionUrlAuthType" +_NONE = "NONE" +_AI = "AWS_IAM" +_IVFU = "InvokedViaFunctionUrl" +_POID = "PrincipalOrgID" +_NLPOAQ = "NumericLatestPublishedOrAliasQualifier" +_SO = "SourceOwner" +_Ar = "Arn" +_API = "AddPermissionInput" +_cAPR = "com.amazonaws.lambda#AddPermissionRequest" +_FN = "FunctionName" +_SA = "SourceArn" +_SAo = "SourceAccount" +_Q = "Qualifier" +_APO = "AddPermissionOutput" +_cAPRo = "com.amazonaws.lambda#AddPermissionResponse" +_PPE = "PublicPolicyException" +_AP = "AddPermission" +_Al = "Alias" +_FA = "FunctionArn" +_D = "Description" +_V = "Version" +_ARC = "AliasRoutingConfiguration" +_AC = "AliasConfiguration" +_AA = "AliasArn" +_N = "Name" +_FV = "FunctionVersion" +_RC = "RoutingConfig" +_ALEE = "AliasLimitExceededException" +_ALl = "AliasList" +_me = "member" +_ACl = "AllowCredentials" +_SPVA = "SigningProfileVersionArns" +_APl = "AllowedPublishers" +_Me = "Method" +_AML = "AllowMethodsList" +_O = "Origin" +_AOL = "AllowOriginsList" +_URI = "URI" +_KSRAT = "KafkaSchemaRegistryAuthType" +_BA = "BASIC_AUTH" +_CCTA = "CLIENT_CERTIFICATE_TLS_AUTH" +_SRCC = "SERVER_ROOT_CA_CERTIFICATE" +_OA = "OAUTHBEARER_AUTH" +_KSRAC = "KafkaSchemaRegistryAccessConfig" +_KSRACL = "KafkaSchemaRegistryAccessConfigList" +_SRERF = "SchemaRegistryEventRecordFormat" +_JSON = "JSON" +_SOURCE = "SOURCE" +_SRU = "SchemaRegistryUri" +_KSVA = "KafkaSchemaValidationAttribute" +_KEY = "KEY" +_VALUE = "VALUE" +_KSVC = "KafkaSchemaValidationConfig" +_At = "Attribute" +_KSVCL = "KafkaSchemaValidationConfigList" +_KSRC = "KafkaSchemaRegistryConfig" +_SRURI = "SchemaRegistryURI" +_ERF = "EventRecordFormat" +_ACc = "AccessConfigs" +_SVC = "SchemaValidationConfigs" +_AMKESC = "AmazonManagedKafkaEventSourceConfig" +_CGI = "ConsumerGroupId" +_SRC = "SchemaRegistryConfig" +_ALL = "ApplicationLogLevel" +_Tr = "Trace" +_TRACE = "TRACE" +_De = "Debug" +_DEBUG = "DEBUG" +_In = "Info" +_INFO = "INFO" +_Wa = "Warn" +_WARN = "WARN" +_E = "Error" +_ERROR = "ERROR" +_F = "Fatal" +_FATAL = "FATAL" +_Arc = "Architecture" +_x = "x86_64" +_a = "arm64" +_ALr = "ArchitecturesList" +_ACt = "AttemptCount" +_CPN = "CapacityProviderName" +_CPLEE = "CapacityProviderLimitExceededException" +_CPMVCC = "CapacityProviderMaxVCpuCount" +_CPSM = "CapacityProviderScalingMode" +_Au = "Auto" +_Ma = "Manual" +_CPPMT = "CapacityProviderPredefinedMetricType" +_LCPACPUU = "LambdaCapacityProviderAverageCPUUtilization" +_MTV = "MetricTargetValue" +_TTSP = "TargetTrackingScalingPolicy" +_PMT = "PredefinedMetricType" +_TV = "TargetValue" +_CPSPL = "CapacityProviderScalingPoliciesList" +_CPSC = "CapacityProviderScalingConfig" +_MVCC = "MaxVCpuCount" +_SM = "ScalingMode" +_SP = "ScalingPolicies" +_IT = "InstanceType" +_ITS = "InstanceTypeSet" +_IR = "InstanceRequirements" +_Arch = "Architectures" +_AIT = "AllowedInstanceTypes" +_EIT = "ExcludedInstanceTypes" +_KMSKANE = "KMSKeyArnNonEmpty" +_RAo = "RoleArn" +_CPPC = "CapacityProviderPermissionsConfig" +_CPORA = "CapacityProviderOperatorRoleArn" +_TK = "TagKey" +_TVa = "TagValue" +_Ta = "Tags" +_PTM = "PropagateTagsMode" +_No = "None" +_Ex = "Explicit" +_PT = "PropagateTags" +_Mo = "Mode" +_ET = "ExplicitTags" +_LG = "LogGroup" +_SLL = "SystemLogLevel" +_CPLC = "CapacityProviderLoggingConfig" +_CPTC = "CapacityProviderTelemetryConfig" +_LC = "LoggingConfig" +_SGI = "SecurityGroupId" +_CPSGI = "CapacityProviderSecurityGroupIds" +_SIu = "SubnetId" +_CPSI = "CapacityProviderSubnetIds" +_CPVC = "CapacityProviderVpcConfig" +_SIub = "SubnetIds" +_SGIe = "SecurityGroupIds" +_CCPI = "CreateCapacityProviderInput" +_cCCPR = "com.amazonaws.lambda#CreateCapacityProviderRequest" +_VC = "VpcConfig" +_PC = "PermissionsConfig" +_KKA = "KmsKeyArn" +_TC = "TelemetryConfig" +_CPA = "CapacityProviderArn" +_KMSKA = "KMSKeyArn" +_Ti = "Timestamp" +_CPS = "CapacityProviderState" +_Pe = "Pending" +_Ac = "Active" +_Fa = "Failed" +_Del = "Deleting" +_CP = "CapacityProvider" +_Sta = "State" +_LM = "LastModified" +_CCPO = "CreateCapacityProviderOutput" +_cCCPRo = "com.amazonaws.lambda#CreateCapacityProviderResponse" +_CCP = "CreateCapacityProvider" +_DCPI = "DeleteCapacityProviderInput" +_cDCPR = "com.amazonaws.lambda#DeleteCapacityProviderRequest" +_DCPO = "DeleteCapacityProviderOutput" +_cDCPRo = "com.amazonaws.lambda#DeleteCapacityProviderResponse" +_DCP = "DeleteCapacityProvider" +_GCPI = "GetCapacityProviderInput" +_cGCPR = "com.amazonaws.lambda#GetCapacityProviderRequest" +_GCPO = "GetCapacityProviderOutput" +_cGCPRo = "com.amazonaws.lambda#GetCapacityProviderResponse" +_GCP = "GetCapacityProvider" +_MFLI = "MaxFiftyListItems" +_LCPI = "ListCapacityProvidersInput" +_cLCPR = "com.amazonaws.lambda#ListCapacityProvidersRequest" +_Mar = "Marker" +_MI = "MaxItems" +_CPL = "CapacityProvidersList" +_LCPO = "ListCapacityProvidersOutput" +_cLCPRo = "com.amazonaws.lambda#ListCapacityProvidersResponse" +_CPa = "CapacityProviders" +_NM = "NextMarker" +_LCP = "ListCapacityProviders" +_LFVBCPI = "ListFunctionVersionsByCapacityProviderInput" +_cLFVBCPR = "com.amazonaws.lambda#ListFunctionVersionsByCapacityProviderRequest" +_NSFA = "NameSpacedFunctionArn" +_Ina = "Inactive" +_Dea = "Deactivating" +_Deac = "Deactivated" +_ANI = "ActiveNonInvocable" +_FVBCPLI = "FunctionVersionsByCapacityProviderListItem" +_FVBCPL = "FunctionVersionsByCapacityProviderList" +_LFVBCPO = "ListFunctionVersionsByCapacityProviderOutput" +_cLFVBCPRo = "com.amazonaws.lambda#ListFunctionVersionsByCapacityProviderResponse" +_FVu = "FunctionVersions" +_LFVBCP = "ListFunctionVersionsByCapacityProvider" + +LONG: StaticSchema = (8, n0, _L, {_s: 0}) + +INTEGER: StaticSchema = (7, n0, _I, {_s: 0}) + +UNRESERVED_CONCURRENT_EXECUTIONS: StaticSchema = (7, n0, _UCE, 0) + +ACCOUNT_LIMIT: StaticSchema = ( + 18, + n0, + _AL, + 0, + (_TCS, _CSU, _CSZ, _CE, _UCE), + ( + (LONG, {_s: 0}), + (LONG, {_s: 0}), + (LONG, {_s: 0}), + (INTEGER, {_s: 0}), + (UNRESERVED_CONCURRENT_EXECUTIONS, 0), + ), +) + +ACCOUNT_USAGE: StaticSchema = ( + 18, + n0, + _AU, + 0, + (_TCS, _FC), + ((LONG, {_s: 0}), (LONG, {_s: 0})), +) + +ACTION: StaticSchema = (3, n0, _A, 0) + +ADDITIONAL_VERSION: StaticSchema = (3, n0, _AV, 0) + +WEIGHT: StaticSchema = (10, n0, _W, {_s: 0}) + +ADDITIONAL_VERSION_WEIGHTS: StaticSchema = ( + 17, + n0, + _AVW, + 0, + (_k, _v), + ((ADDITIONAL_VERSION, 0), (WEIGHT, 0)), +) + +LAYER_PERMISSION_ALLOWED_ACTION: StaticSchema = (3, n0, _LPAA, 0) + +LAYER_NAME: StaticSchema = (3, n0, _LN, 0) + +ORGANIZATION_ID: StaticSchema = (3, n0, _OI, 0) + +LAYER_PERMISSION_ALLOWED_PRINCIPAL: StaticSchema = (3, n0, _LPAP, 0) + +STRING: StaticSchema = (3, n0, _S, 0) + +STATEMENT_ID: StaticSchema = (3, n0, _SI, 0) + +LAYER_VERSION_NUMBER: StaticSchema = (8, n0, _LVN, {_s: 0}) + +ADD_LAYER_VERSION_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _ALVPI, + {_sSI: _cALVPR, _sm: None}, + (_LN, _VN, _SI, _A, _P, _OI, _RI), + ( + (LAYER_NAME, 9), + (LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None}), + (STATEMENT_ID, 1), + (LAYER_PERMISSION_ALLOWED_ACTION, 1), + (LAYER_PERMISSION_ALLOWED_PRINCIPAL, 1), + (ORGANIZATION_ID, 0), + (STRING, {_sQ: _RI}), + ), +) + +ADD_LAYER_VERSION_PERMISSION_OUTPUT: StaticSchema = ( + 18, + n0, + _ALVPO, + {_sSI: _cALVPRo, _smit: None}, + (_St, _RI), + ((STRING, 0), (STRING, 0)), +) + +ADD_LAYER_VERSION_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _ALVP, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", + "code": 201, + } + ) + }, + ADD_LAYER_VERSION_PERMISSION_INPUT, + ADD_LAYER_VERSION_PERMISSION_OUTPUT, + ( + lambda: INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: POLICY_LENGTH_EXCEEDED_EXCEPTION, + lambda: PRECONDITION_FAILED_EXCEPTION, + lambda: RESOURCE_CONFLICT_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: SERVICE_EXCEPTION, + lambda: TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +INVALID_PARAMETER_VALUE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPVE, + {_smith: _c, _sE: 400}, + (_T, _m), + ((STRING, 0), (STRING, 0)), +) + +POLICY_LENGTH_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _PLEE, + {_smith: _c, _sE: 400}, + (_T, _m), + ((STRING, 0), (STRING, 0)), +) + +PRECONDITION_FAILED_EXCEPTION: StaticSchema = ( + 18, + n0, + _PFE, + {_smith: _c, _sE: 412}, + (_T, _m), + ((STRING, 0), (STRING, 0)), +) + +RESOURCE_CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _RCE, + {_smith: _c, _sE: 409}, + (_T, _m), + ((STRING, 0), (STRING, 0)), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_smith: _c, _sE: 404}, + (_T, _M), + ((STRING, 0), (STRING, 0)), +) + +SERVICE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SE, + {_smith: _se, _sE: 500}, + (_T, _M), + ((STRING, 0), (STRING, 0)), +) + +THROTTLE_REASON: StaticSchema = ( + 14, + n0, + _TR, + 0, + (_CILE, _FIRLE, _RFCILE, _RFIRLE, _CRLE, _CSCLE), + ( + (-1, {_sV: _CILE}), + (-1, {_sV: _FIRLE}), + (-1, {_sV: _RFCILE}), + (-1, {_sV: _RFIRLE}), + (-1, {_sV: _CRLE}), + (-1, {_sV: _CSCLE}), + ), +) + +TOO_MANY_REQUESTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TMRE, + {_smith: _c, _sE: 429}, + (_rAS, _T, _m, _R), + ((STRING, {_sH: _RA}), (STRING, 0), (STRING, 0), (THROTTLE_REASON, 0)), +) + +EVENT_SOURCE_TOKEN: StaticSchema = (3, n0, _EST, 0) + +NAMESPACED_FUNCTION_NAME: StaticSchema = (3, n0, _NFN, 0) + +FUNCTION_URL_AUTH_TYPE: StaticSchema = ( + 14, + n0, + _FUAT, + 0, + (_NONE, _AI), + ((-1, {_sV: _NONE}), (-1, {_sV: _AI})), +) + +INVOKED_VIA_FUNCTION_URL: StaticSchema = (2, n0, _IVFU, 0) + +PRINCIPAL: StaticSchema = (3, n0, _P, 0) + +PRINCIPAL_ORG_ID: StaticSchema = (3, n0, _POID, 0) + +NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER: StaticSchema = (3, n0, _NLPOAQ, 0) + +SOURCE_OWNER: StaticSchema = (3, n0, _SO, 0) + +ARN: StaticSchema = (3, n0, _Ar, 0) + +ADD_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _API, + {_sSI: _cAPR, _sm: None}, + (_FN, _SI, _A, _P, _SA, _FUAT, _IVFU, _SAo, _EST, _Q, _RI, _POID), + ( + (NAMESPACED_FUNCTION_NAME, 9), + (STATEMENT_ID, 1), + (ACTION, 1), + (PRINCIPAL, 1), + (ARN, 0), + (FUNCTION_URL_AUTH_TYPE, 0), + (INVOKED_VIA_FUNCTION_URL, 0), + (SOURCE_OWNER, 0), + (EVENT_SOURCE_TOKEN, 0), + (NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + (STRING, 0), + (PRINCIPAL_ORG_ID, 0), + ), +) + +ADD_PERMISSION_OUTPUT: StaticSchema = ( + 18, + n0, + _APO, + {_sSI: _cAPRo, _smit: None}, + (_St,), + ((STRING, 0),), +) + +ADD_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _AP, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2015-03-31/functions/{FunctionName}/policy", + "code": 201, + } + ) + }, + ADD_PERMISSION_INPUT, + ADD_PERMISSION_OUTPUT, + ( + INVALID_PARAMETER_VALUE_EXCEPTION, + POLICY_LENGTH_EXCEEDED_EXCEPTION, + PRECONDITION_FAILED_EXCEPTION, + lambda: PUBLIC_POLICY_EXCEPTION, + RESOURCE_CONFLICT_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +PUBLIC_POLICY_EXCEPTION: StaticSchema = ( + 18, + n0, + _PPE, + {_smith: _c, _sE: 400}, + (_T, _M), + ((STRING, 0), (STRING, 0)), +) + +ALIAS: StaticSchema = (3, n0, _Al, 0) + +FUNCTION_ARN: StaticSchema = (3, n0, _FA, 0) + +DESCRIPTION: StaticSchema = (3, n0, _D, 0) + +VERSION: StaticSchema = (3, n0, _V, 0) + +ALIAS_ROUTING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ARC, + 0, + (_AVW,), + ((ADDITIONAL_VERSION_WEIGHTS, 0),), +) + +ALIAS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AC, + 0, + (_AA, _N, _FV, _D, _RC, _RI), + ( + (FUNCTION_ARN, 0), + (ALIAS, 0), + (VERSION, 0), + (DESCRIPTION, 0), + (ALIAS_ROUTING_CONFIGURATION, 0), + (STRING, 0), + ), +) + +ALIAS_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ALEE, + {_smith: _c, _sE: 400}, + (_T, _m), + ((STRING, 0), (STRING, 0)), +) + +ALIAS_LIST: StaticSchema = (16, n0, _ALl, 0, (_me,), ((ALIAS_CONFIGURATION, 0),)) + +ALLOW_CREDENTIALS: StaticSchema = (2, n0, _ACl, 0) + +SIGNING_PROFILE_VERSION_ARNS: StaticSchema = (16, n0, _SPVA, 0, (_me,), ((ARN, 0),)) + +ALLOWED_PUBLISHERS: StaticSchema = ( + 18, + n0, + _APl, + 0, + (_SPVA,), + ((SIGNING_PROFILE_VERSION_ARNS, 1),), +) + +METHOD: StaticSchema = (3, n0, _Me, 0) + +ALLOW_METHODS_LIST: StaticSchema = (16, n0, _AML, 0, (_me,), ((METHOD, 0),)) + +ORIGIN: StaticSchema = (3, n0, _O, 0) + +ALLOW_ORIGINS_LIST: StaticSchema = (16, n0, _AOL, 0, (_me,), ((ORIGIN, 0),)) + +URI: StaticSchema = (3, n0, _URI, 0) + +KAFKA_SCHEMA_REGISTRY_AUTH_TYPE: StaticSchema = ( + 14, + n0, + _KSRAT, + 0, + (_BA, _CCTA, _SRCC, _OA), + ((-1, {_sV: _BA}), (-1, {_sV: _CCTA}), (-1, {_sV: _SRCC}), (-1, {_sV: _OA})), +) + +KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG: StaticSchema = ( + 18, + n0, + _KSRAC, + 0, + (_T, _URI), + ((KAFKA_SCHEMA_REGISTRY_AUTH_TYPE, 0), (ARN, 0)), +) + +KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _KSRACL, + 0, + (_me,), + ((KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG, 0),), +) + +SCHEMA_REGISTRY_EVENT_RECORD_FORMAT: StaticSchema = ( + 14, + n0, + _SRERF, + 0, + (_JSON, _SOURCE), + ((-1, {_sV: _JSON}), (-1, {_sV: _SOURCE})), +) + +SCHEMA_REGISTRY_URI: StaticSchema = (3, n0, _SRU, 0) + +KAFKA_SCHEMA_VALIDATION_ATTRIBUTE: StaticSchema = ( + 14, + n0, + _KSVA, + 0, + (_KEY, _VALUE), + ((-1, {_sV: _KEY}), (-1, {_sV: _VALUE})), +) + +KAFKA_SCHEMA_VALIDATION_CONFIG: StaticSchema = ( + 18, + n0, + _KSVC, + 0, + (_At,), + ((KAFKA_SCHEMA_VALIDATION_ATTRIBUTE, 0),), +) + +KAFKA_SCHEMA_VALIDATION_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _KSVCL, + 0, + (_me,), + ((KAFKA_SCHEMA_VALIDATION_CONFIG, 0),), +) + +KAFKA_SCHEMA_REGISTRY_CONFIG: StaticSchema = ( + 18, + n0, + _KSRC, + 0, + (_SRURI, _ERF, _ACc, _SVC), + ( + (SCHEMA_REGISTRY_URI, 0), + (SCHEMA_REGISTRY_EVENT_RECORD_FORMAT, 0), + (KAFKA_SCHEMA_REGISTRY_ACCESS_CONFIG_LIST, 0), + (KAFKA_SCHEMA_VALIDATION_CONFIG_LIST, 0), + ), +) + +AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG: StaticSchema = ( + 18, + n0, + _AMKESC, + 0, + (_CGI, _SRC), + ((URI, 0), (KAFKA_SCHEMA_REGISTRY_CONFIG, 0)), +) + +APPLICATION_LOG_LEVEL: StaticSchema = ( + 14, + n0, + _ALL, + 0, + (_Tr, _De, _In, _Wa, _E, _F), + ( + (-1, {_sV: _TRACE}), + (-1, {_sV: _DEBUG}), + (-1, {_sV: _INFO}), + (-1, {_sV: _WARN}), + (-1, {_sV: _ERROR}), + (-1, {_sV: _FATAL}), + ), +) + +ARCHITECTURE: StaticSchema = ( + 14, + n0, + _Arc, + 0, + (_x, _a), + ((-1, {_sV: _x}), (-1, {_sV: _a})), +) + +ARCHITECTURES_LIST: StaticSchema = (16, n0, _ALr, 0, (_me,), ((ARCHITECTURE, 0),)) + +ATTEMPT_COUNT: StaticSchema = (7, n0, _ACt, {_s: 0}) + +CAPACITY_PROVIDER_NAME: StaticSchema = (3, n0, _CPN, 0) + +CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CPLEE, + {_smith: _c, _sE: 400}, + (_T, _m), + ((STRING, 0), (STRING, 0)), +) + +CAPACITY_PROVIDER_MAX_V_CPU_COUNT: StaticSchema = (7, n0, _CPMVCC, 0) + +CAPACITY_PROVIDER_SCALING_MODE: StaticSchema = ( + 14, + n0, + _CPSM, + 0, + (_Au, _Ma), + ((-1, {_sV: _Au}), (-1, {_sV: _Ma})), +) + +CAPACITY_PROVIDER_PREDEFINED_METRIC_TYPE: StaticSchema = ( + 14, + n0, + _CPPMT, + 0, + (_LCPACPUU,), + ((-1, {_sV: _LCPACPUU}),), +) + +METRIC_TARGET_VALUE: StaticSchema = (10, n0, _MTV, 0) + +TARGET_TRACKING_SCALING_POLICY: StaticSchema = ( + 18, + n0, + _TTSP, + 0, + (_PMT, _TV), + ((CAPACITY_PROVIDER_PREDEFINED_METRIC_TYPE, 1), (METRIC_TARGET_VALUE, 1)), +) + +CAPACITY_PROVIDER_SCALING_POLICIES_LIST: StaticSchema = ( + 16, + n0, + _CPSPL, + 0, + (_me,), + ((TARGET_TRACKING_SCALING_POLICY, 0),), +) + +CAPACITY_PROVIDER_SCALING_CONFIG: StaticSchema = ( + 18, + n0, + _CPSC, + 0, + (_MVCC, _SM, _SP), + ( + (CAPACITY_PROVIDER_MAX_V_CPU_COUNT, 0), + (CAPACITY_PROVIDER_SCALING_MODE, 0), + (CAPACITY_PROVIDER_SCALING_POLICIES_LIST, 0), + ), +) + +INSTANCE_TYPE: StaticSchema = (3, n0, _IT, 0) + +INSTANCE_TYPE_SET: StaticSchema = (16, n0, _ITS, 0, (_me,), ((INSTANCE_TYPE, 0),)) + +INSTANCE_REQUIREMENTS: StaticSchema = ( + 18, + n0, + _IR, + 0, + (_Arch, _AIT, _EIT), + ((ARCHITECTURES_LIST, 0), (INSTANCE_TYPE_SET, 0), (INSTANCE_TYPE_SET, 0)), +) + +KMS_KEY_ARN_NON_EMPTY: StaticSchema = (3, n0, _KMSKANE, 0) + +ROLE_ARN: StaticSchema = (3, n0, _RAo, 0) + +CAPACITY_PROVIDER_PERMISSIONS_CONFIG: StaticSchema = ( + 18, + n0, + _CPPC, + 0, + (_CPORA,), + ((ROLE_ARN, 1),), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TVa, 0) + +TAGS: StaticSchema = (17, n0, _Ta, 0, (_k, _v), ((TAG_KEY, 0), (TAG_VALUE, 0))) + +PROPAGATE_TAGS_MODE: StaticSchema = ( + 14, + n0, + _PTM, + 0, + (_No, _Ex), + ((-1, {_sV: _No}), (-1, {_sV: _Ex})), +) + +PROPAGATE_TAGS: StaticSchema = ( + 18, + n0, + _PT, + 0, + (_Mo, _ET), + ((PROPAGATE_TAGS_MODE, 0), (TAGS, 0)), +) + +LOG_GROUP: StaticSchema = (3, n0, _LG, 0) + +SYSTEM_LOG_LEVEL: StaticSchema = ( + 14, + n0, + _SLL, + 0, + (_De, _In, _Wa), + ((-1, {_sV: _DEBUG}), (-1, {_sV: _INFO}), (-1, {_sV: _WARN})), +) + +CAPACITY_PROVIDER_LOGGING_CONFIG: StaticSchema = ( + 18, + n0, + _CPLC, + 0, + (_SLL, _LG), + ((SYSTEM_LOG_LEVEL, 0), (LOG_GROUP, 0)), +) + +CAPACITY_PROVIDER_TELEMETRY_CONFIG: StaticSchema = ( + 18, + n0, + _CPTC, + 0, + (_LC,), + ((CAPACITY_PROVIDER_LOGGING_CONFIG, 0),), +) + +SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGI, 0) + +CAPACITY_PROVIDER_SECURITY_GROUP_IDS: StaticSchema = ( + 16, + n0, + _CPSGI, + 0, + (_me,), + ((SECURITY_GROUP_ID, 0),), +) + +SUBNET_ID: StaticSchema = (3, n0, _SIu, 0) + +CAPACITY_PROVIDER_SUBNET_IDS: StaticSchema = ( + 16, + n0, + _CPSI, + 0, + (_me,), + ((SUBNET_ID, 0),), +) + +CAPACITY_PROVIDER_VPC_CONFIG: StaticSchema = ( + 18, + n0, + _CPVC, + 0, + (_SIub, _SGIe), + ((CAPACITY_PROVIDER_SUBNET_IDS, 1), (CAPACITY_PROVIDER_SECURITY_GROUP_IDS, 1)), +) + +CREATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _CCPI, + {_sSI: _cCCPR, _sm: None}, + (_CPN, _VC, _PC, _IR, _CPSC, _KKA, _Ta, _PT, _TC), + ( + (CAPACITY_PROVIDER_NAME, 1), + (CAPACITY_PROVIDER_VPC_CONFIG, 1), + (CAPACITY_PROVIDER_PERMISSIONS_CONFIG, 1), + (INSTANCE_REQUIREMENTS, 0), + (CAPACITY_PROVIDER_SCALING_CONFIG, 0), + (KMS_KEY_ARN_NON_EMPTY, 0), + (TAGS, 0), + (PROPAGATE_TAGS, 0), + (CAPACITY_PROVIDER_TELEMETRY_CONFIG, 0), + ), +) + +CREATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _CCPO, + {_sSI: _cCCPRo, _smit: None}, + (_CP,), + ((lambda: CAPACITY_PROVIDER, 1),), +) + +CREATE_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _CCP, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2025-11-30/capacity-providers", "code": 202} + ) + }, + CREATE_CAPACITY_PROVIDER_INPUT, + CREATE_CAPACITY_PROVIDER_OUTPUT, + ( + CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION, + INVALID_PARAMETER_VALUE_EXCEPTION, + RESOURCE_CONFLICT_EXCEPTION, + SERVICE_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CAPACITY_PROVIDER_ARN: StaticSchema = (3, n0, _CPA, 0) + +KMS_KEY_ARN: StaticSchema = (3, n0, _KMSKA, 0) + +TIMESTAMP: StaticSchema = (3, n0, _Ti, 0) + +CAPACITY_PROVIDER_STATE: StaticSchema = ( + 14, + n0, + _CPS, + 0, + (_Pe, _Ac, _Fa, _Del), + ((-1, {_sV: _Pe}), (-1, {_sV: _Ac}), (-1, {_sV: _Fa}), (-1, {_sV: _Del})), +) + +CAPACITY_PROVIDER: StaticSchema = ( + 18, + n0, + _CP, + 0, + (_CPA, _Sta, _VC, _PC, _IR, _CPSC, _KKA, _LM, _PT, _TC), + ( + (CAPACITY_PROVIDER_ARN, 1), + (CAPACITY_PROVIDER_STATE, 1), + (CAPACITY_PROVIDER_VPC_CONFIG, 1), + (CAPACITY_PROVIDER_PERMISSIONS_CONFIG, 1), + (INSTANCE_REQUIREMENTS, 0), + (CAPACITY_PROVIDER_SCALING_CONFIG, 0), + (KMS_KEY_ARN, 0), + (TIMESTAMP, 0), + (PROPAGATE_TAGS, 0), + (CAPACITY_PROVIDER_TELEMETRY_CONFIG, 0), + ), +) + +DELETE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _DCPI, + {_sSI: _cDCPR, _sm: None}, + (_CPN,), + ((CAPACITY_PROVIDER_NAME, 9),), +) + +DELETE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _DCPO, + {_sSI: _cDCPRo, _smit: None}, + (_CP,), + ((CAPACITY_PROVIDER, 1),), +) + +DELETE_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _DCP, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2025-11-30/capacity-providers/{CapacityProviderName}", + "code": 202, + } + ) + }, + DELETE_CAPACITY_PROVIDER_INPUT, + DELETE_CAPACITY_PROVIDER_OUTPUT, + ( + INVALID_PARAMETER_VALUE_EXCEPTION, + RESOURCE_CONFLICT_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _GCPI, + {_sSI: _cGCPR, _sm: None}, + (_CPN,), + ((CAPACITY_PROVIDER_NAME, 9),), +) + +GET_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _GCPO, + {_sSI: _cGCPRo, _smit: None}, + (_CP,), + ((CAPACITY_PROVIDER, 1),), +) + +GET_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _GCP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2025-11-30/capacity-providers/{CapacityProviderName}", + "code": 200, + } + ) + }, + GET_CAPACITY_PROVIDER_INPUT, + GET_CAPACITY_PROVIDER_OUTPUT, + ( + INVALID_PARAMETER_VALUE_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +MAX_FIFTY_LIST_ITEMS: StaticSchema = (7, n0, _MFLI, 0) + +LIST_CAPACITY_PROVIDERS_INPUT: StaticSchema = ( + 18, + n0, + _LCPI, + {_sSI: _cLCPR, _sm: None}, + (_Sta, _Mar, _MI), + ( + (CAPACITY_PROVIDER_STATE, {_sQ: _Sta}), + (STRING, {_sQ: _Mar}), + (MAX_FIFTY_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_CAPACITY_PROVIDERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCPO, + {_sSI: _cLCPRo, _smit: None}, + (_CPa, _NM), + ((lambda: CAPACITY_PROVIDERS_LIST, 1), (STRING, 0)), +) + +LIST_CAPACITY_PROVIDERS: StaticOperationSchema = ( + 23, + n0, + _LCP, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2025-11-30/capacity-providers", "code": 200} + ) + }, + LIST_CAPACITY_PROVIDERS_INPUT, + LIST_CAPACITY_PROVIDERS_OUTPUT, + (INVALID_PARAMETER_VALUE_EXCEPTION, SERVICE_EXCEPTION, TOO_MANY_REQUESTS_EXCEPTION), +) + +CAPACITY_PROVIDERS_LIST: StaticSchema = ( + 16, + n0, + _CPL, + 0, + (_me,), + ((CAPACITY_PROVIDER, 0),), +) + +LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _LFVBCPI, + {_sSI: _cLFVBCPR, _sm: None}, + (_CPN, _Mar, _MI), + ( + (CAPACITY_PROVIDER_NAME, 9), + (STRING, {_sQ: _Mar}), + (MAX_FIFTY_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _LFVBCPO, + {_sSI: _cLFVBCPRo, _smit: None}, + (_CPA, _FVu, _NM), + ( + (CAPACITY_PROVIDER_ARN, 1), + (lambda: FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST, 1), + (STRING, 0), + ), +) + +LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _LFVBCP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2025-11-30/capacity-providers/{CapacityProviderName}/function-versions", + "code": 200, + } + ) + }, + LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_INPUT, + LIST_FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_OUTPUT, + ( + INVALID_PARAMETER_VALUE_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_EXCEPTION, + TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +NAME_SPACED_FUNCTION_ARN: StaticSchema = (3, n0, _NSFA, 0) + +STATE: StaticSchema = ( + 14, + n0, + _Sta, + 0, + (_Pe, _Ac, _Ina, _Fa, _Dea, _Deac, _ANI, _Del), + ( + (-1, {_sV: _Pe}), + (-1, {_sV: _Ac}), + (-1, {_sV: _Ina}), + (-1, {_sV: _Fa}), + (-1, {_sV: _Dea}), + (-1, {_sV: _Deac}), + (-1, {_sV: _ANI}), + (-1, {_sV: _Del}), + ), +) + +FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST_ITEM: StaticSchema = ( + 18, + n0, + _FVBCPLI, + 0, + (_FA, _Sta), + ((NAME_SPACED_FUNCTION_ARN, 1), (STATE, 1)), +) + +FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST: StaticSchema = ( + 16, + n0, + _FVBCPL, + 0, + (_me,), + ((FUNCTION_VERSIONS_BY_CAPACITY_PROVIDER_LIST_ITEM, 0),), +) diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_1.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_1.py new file mode 100644 index 000000000..f4eb9fbc8 --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_1.py @@ -0,0 +1,1286 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.lambda" +_s = "smithy.api#default" +_A = "Action" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_RI = "RevisionId" +_sQ = "smithy.api#httpQuery" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_sE = "smithy.api#httpError" +_T = "Type" +_M = "Message" +_se = "server" +_sV = "smithy.api#enumValue" +_smithy = "smithy.api#http" +_FN = "FunctionName" +_Q = "Qualifier" +_FA = "FunctionArn" +_D = "Description" +_V = "Version" +_N = "Name" +_me = "member" +_APl = "AllowedPublishers" +_Wa = "Warn" +_E = "Error" +_CPN = "CapacityProviderName" +_CPSC = "CapacityProviderScalingConfig" +_Ta = "Tags" +_PT = "PropagateTags" +_TC = "TelemetryConfig" +_KMSKA = "KMSKeyArn" +_CP = "CapacityProvider" +_LM = "LastModified" +_Mar = "Marker" +_MI = "MaxItems" +_NM = "NextMarker" +_UCPI = "UpdateCapacityProviderInput" +_cUCPR = "com.amazonaws.lambda#UpdateCapacityProviderRequest" +_UCPO = "UpdateCapacityProviderOutput" +_cUCPRo = "com.amazonaws.lambda#UpdateCapacityProviderResponse" +_UCP = "UpdateCapacityProvider" +_CSCI = "CodeSigningConfigId" +_CSP = "CodeSigningPolicy" +_En = "Enforce" +_CSPo = "CodeSigningPolicies" +_UAOD = "UntrustedArtifactOnDeployment" +_CCSCI = "CreateCodeSigningConfigInput" +_cCCSCR = "com.amazonaws.lambda#CreateCodeSigningConfigRequest" +_CSCA = "CodeSigningConfigArn" +_CSC = "CodeSigningConfig" +_CCSCO = "CreateCodeSigningConfigOutput" +_cCCSCRo = "com.amazonaws.lambda#CreateCodeSigningConfigResponse" +_CCSC = "CreateCodeSigningConfig" +_DCSCI = "DeleteCodeSigningConfigInput" +_cDCSCR = "com.amazonaws.lambda#DeleteCodeSigningConfigRequest" +_DCSCO = "DeleteCodeSigningConfigOutput" +_cDCSCRo = "com.amazonaws.lambda#DeleteCodeSigningConfigResponse" +_DCSC = "DeleteCodeSigningConfig" +_GCSCI = "GetCodeSigningConfigInput" +_cGCSCR = "com.amazonaws.lambda#GetCodeSigningConfigRequest" +_GCSCO = "GetCodeSigningConfigOutput" +_cGCSCRo = "com.amazonaws.lambda#GetCodeSigningConfigResponse" +_GCSC = "GetCodeSigningConfig" +_MLI = "MaxListItems" +_LCSCI = "ListCodeSigningConfigsInput" +_cLCSCR = "com.amazonaws.lambda#ListCodeSigningConfigsRequest" +_CSCL = "CodeSigningConfigList" +_LCSCO = "ListCodeSigningConfigsOutput" +_cLCSCRo = "com.amazonaws.lambda#ListCodeSigningConfigsResponse" +_CSCo = "CodeSigningConfigs" +_LCSC = "ListCodeSigningConfigs" +_LFBCSCI = "ListFunctionsByCodeSigningConfigInput" +_cLFBCSCR = "com.amazonaws.lambda#ListFunctionsByCodeSigningConfigRequest" +_FAL = "FunctionArnList" +_LFBCSCO = "ListFunctionsByCodeSigningConfigOutput" +_cLFBCSCRo = "com.amazonaws.lambda#ListFunctionsByCodeSigningConfigResponse" +_FAu = "FunctionArns" +_LFBCSC = "ListFunctionsByCodeSigningConfig" +_UCSCI = "UpdateCodeSigningConfigInput" +_cUCSCR = "com.amazonaws.lambda#UpdateCodeSigningConfigRequest" +_UCSCO = "UpdateCodeSigningConfigOutput" +_cUCSCRo = "com.amazonaws.lambda#UpdateCodeSigningConfigResponse" +_UCSC = "UpdateCodeSigningConfig" +_DFI = "DeleteFunctionInput" +_cDFR = "com.amazonaws.lambda#DeleteFunctionRequest" +_DFO = "DeleteFunctionOutput" +_cDFRo = "com.amazonaws.lambda#DeleteFunctionResponse" +_SC = "StatusCode" +_sRC = "smithy.api#httpResponseCode" +_DF = "DeleteFunction" +_DFEICI = "DeleteFunctionEventInvokeConfigInput" +_cDFEICR = "com.amazonaws.lambda#DeleteFunctionEventInvokeConfigRequest" +_DFEICO = "DeleteFunctionEventInvokeConfigOutput" +_sU = "smithy.api#Unit" +_DFEIC = "DeleteFunctionEventInvokeConfig" +_PRA = "PolicyResourceArn" +_DRPI = "DeleteResourcePolicyInput" +_cDRPR = "com.amazonaws.lambda#DeleteResourcePolicyRequest" +_RAe = "ResourceArn" +_DRPO = "DeleteResourcePolicyOutput" +_DRP = "DeleteResourcePolicy" +_CT = "CheckpointToken" +_CTl = "ClientToken" +_DEA = "DurableExecutionArn" +_OAp = "OperationAction" +_START = "START" +_SUCCEED = "SUCCEED" +_FAIL = "FAIL" +_RETRY = "RETRY" +_CANCEL = "CANCEL" +_DS = "DurationSeconds" +_CO = "CallbackOptions" +_TS = "TimeoutSeconds" +_HTS = "HeartbeatTimeoutSeconds" +_TI = "TenantId" +_XATI = "XAmznTraceId" +_CIO = "ChainedInvokeOptions" +_RCe = "ReplayChildren" +_COo = "ContextOptions" +_ED = "ErrorData" +_smithya = "smithy.api#sensitive" +_EM = "ErrorMessage" +_ETr = "ErrorType" +_STE = "StackTraceEntry" +_STEt = "StackTraceEntries" +_EO = "ErrorObject" +_ST = "StackTrace" +_OIp = "OperationId" +_ON = "OperationName" +_OP = "OperationPayload" +_SOt = "StepOptions" +_NADS = "NextAttemptDelaySeconds" +_OST = "OperationSubType" +_OT = "OperationType" +_EXECUTION = "EXECUTION" +_CONTEXT = "CONTEXT" +_STEP = "STEP" +_WAIT = "WAIT" +_CALLBACK = "CALLBACK" +_CI = "CHAINED_INVOKE" +_WO = "WaitOptions" +_WS = "WaitSeconds" +_OU = "OperationUpdate" +_Id = "Id" +_PI = "ParentId" +_STu = "SubType" +_Pa = "Payload" +_OUp = "OperationUpdates" +_CDEI = "CheckpointDurableExecutionInput" +_cCDER = "com.amazonaws.lambda#CheckpointDurableExecutionRequest" +_U = "Updates" +_sT = "smithy.api#idempotencyToken" +_CIa = "CallbackId" +_CD = "CallbackDetails" +_Re = "Result" +_CID = "ChainedInvokeDetails" +_CDo = "ContextDetails" +_ETx = "ExecutionTimestamp" +_IP = "InputPayload" +_EDx = "ExecutionDetails" +_OS = "OperationStatus" +_STARTED = "STARTED" +_PENDING = "PENDING" +_READY = "READY" +_SUCCEEDED = "SUCCEEDED" +_FAILED = "FAILED" +_CANCELLED = "CANCELLED" +_TO = "TIMED_OUT" +_STOPPED = "STOPPED" +_SD = "StepDetails" +_Att = "Attempt" +_NAT = "NextAttemptTimestamp" +_WD = "WaitDetails" +_SET = "ScheduledEndTimestamp" +_Op = "Operation" +_STt = "StartTimestamp" +_ETn = "EndTimestamp" +_Stat = "Status" +_Ope = "Operations" +_CUES = "CheckpointUpdatedExecutionState" +_CDEO = "CheckpointDurableExecutionOutput" +_cCDERo = "com.amazonaws.lambda#CheckpointDurableExecutionResponse" +_NES = "NewExecutionState" +_KMSADE = "KMSAccessDeniedException" +_KMSDE = "KMSDisabledException" +_KMSISE = "KMSInvalidStateException" +_KMSNFE = "KMSNotFoundException" +_CDE = "CheckpointDurableExecution" +_IED = "IncludeExecutionData" +_GDEI = "GetDurableExecutionInput" +_cGDER = "com.amazonaws.lambda#GetDurableExecutionRequest" +_ETxe = "ExecutionTimeout" +_RPID = "RetentionPeriodInDays" +_DC = "DurableConfig" +_DEN = "DurableExecutionName" +_EDI = "ExecutionDataIncluded" +_OPu = "OutputPayload" +_ES = "ExecutionStatus" +_RUNNING = "RUNNING" +_TH = "TraceHeader" +_VWLP = "VersionWithLatestPublished" +_GDEO = "GetDurableExecutionOutput" +_cGDERo = "com.amazonaws.lambda#GetDurableExecutionResponse" +_GDE = "GetDurableExecution" +_IC = "ItemCount" +_RO = "ReverseOrder" +_GDEHI = "GetDurableExecutionHistoryInput" +_cGDEHR = "com.amazonaws.lambda#GetDurableExecutionHistoryRequest" +_Tru = "Truncated" +_EE = "EventError" +_CFD = "CallbackFailedDetails" +_CSD = "CallbackStartedDetails" +_HT = "HeartbeatTimeout" +_Tim = "Timeout" +_ER = "EventResult" +_CSDa = "CallbackSucceededDetails" +_CTOD = "CallbackTimedOutDetails" +_CIFD = "ChainedInvokeFailedDetails" +_EI = "EventInput" +_CISD = "ChainedInvokeStartedDetails" +_Inp = "Input" +_EV = "ExecutedVersion" +_Eve = "Events" +_GDEHO = "GetDurableExecutionHistoryOutput" +_cGDEHRo = "com.amazonaws.lambda#GetDurableExecutionHistoryResponse" +_GDEH = "GetDurableExecutionHistory" +_B = "Blob" +_FLu = "FunctionList" +_RP = "ResourcePolicy" + +UPDATE_CAPACITY_PROVIDER_INPUT: StaticSchema = ( + 18, + n0, + _UCPI, + {_sSI: _cUCPR, _sm: None}, + (_CPN, _CPSC, _PT, _TC), + ( + (lambda: schemas.CAPACITY_PROVIDER_NAME, 9), + (lambda: schemas.CAPACITY_PROVIDER_SCALING_CONFIG, 0), + (lambda: schemas.PROPAGATE_TAGS, 0), + (lambda: schemas.CAPACITY_PROVIDER_TELEMETRY_CONFIG, 0), + ), +) + +UPDATE_CAPACITY_PROVIDER_OUTPUT: StaticSchema = ( + 18, + n0, + _UCPO, + {_sSI: _cUCPRo, _smit: None}, + (_CP,), + ((lambda: schemas.CAPACITY_PROVIDER, 1),), +) + +UPDATE_CAPACITY_PROVIDER: StaticOperationSchema = ( + 23, + n0, + _UCP, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2025-11-30/capacity-providers/{CapacityProviderName}", + "code": 202, + } + ) + }, + UPDATE_CAPACITY_PROVIDER_INPUT, + UPDATE_CAPACITY_PROVIDER_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CODE_SIGNING_CONFIG_ID: StaticSchema = (3, n0, _CSCI, 0) + +CODE_SIGNING_POLICY: StaticSchema = ( + 14, + n0, + _CSP, + 0, + (_Wa, _En), + ((-1, {_sV: _Wa}), (-1, {_sV: _En})), +) + +CODE_SIGNING_POLICIES: StaticSchema = ( + 18, + n0, + _CSPo, + 0, + (_UAOD,), + ((CODE_SIGNING_POLICY, 0),), +) + +CREATE_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _CCSCI, + {_sSI: _cCCSCR, _sm: None}, + (_D, _APl, _CSPo, _Ta), + ( + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ALLOWED_PUBLISHERS, 1), + (CODE_SIGNING_POLICIES, 0), + (lambda: schemas.TAGS, 0), + ), +) + +CREATE_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _CCSCO, + {_sSI: _cCCSCRo, _smit: None}, + (_CSC,), + ((lambda: CODE_SIGNING_CONFIG, 1),), +) + +CREATE_CODE_SIGNING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _CCSC, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2020-04-22/code-signing-configs", "code": 201} + ) + }, + CREATE_CODE_SIGNING_CONFIG_INPUT, + CREATE_CODE_SIGNING_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + ), +) + +CODE_SIGNING_CONFIG_ARN: StaticSchema = (3, n0, _CSCA, 0) + +CODE_SIGNING_CONFIG: StaticSchema = ( + 18, + n0, + _CSC, + 0, + (_CSCI, _CSCA, _D, _APl, _CSPo, _LM), + ( + (CODE_SIGNING_CONFIG_ID, 1), + (CODE_SIGNING_CONFIG_ARN, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ALLOWED_PUBLISHERS, 1), + (CODE_SIGNING_POLICIES, 1), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +DELETE_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _DCSCI, + {_sSI: _cDCSCR, _sm: None}, + (_CSCA,), + ((CODE_SIGNING_CONFIG_ARN, 9),), +) + +DELETE_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _DCSCO, + {_sSI: _cDCSCRo, _smit: None}, +) + +DELETE_CODE_SIGNING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _DCSC, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}", + "code": 204, + } + ) + }, + DELETE_CODE_SIGNING_CONFIG_INPUT, + DELETE_CODE_SIGNING_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + ), +) + +GET_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GCSCI, + {_sSI: _cGCSCR, _sm: None}, + (_CSCA,), + ((CODE_SIGNING_CONFIG_ARN, 9),), +) + +GET_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GCSCO, + {_sSI: _cGCSCRo, _smit: None}, + (_CSC,), + ((CODE_SIGNING_CONFIG, 1),), +) + +GET_CODE_SIGNING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GCSC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}", + "code": 200, + } + ) + }, + GET_CODE_SIGNING_CONFIG_INPUT, + GET_CODE_SIGNING_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + ), +) + +MAX_LIST_ITEMS: StaticSchema = (7, n0, _MLI, 0) + +LIST_CODE_SIGNING_CONFIGS_INPUT: StaticSchema = ( + 18, + n0, + _LCSCI, + {_sSI: _cLCSCR, _sm: None}, + (_Mar, _MI), + ((lambda: schemas.STRING, {_sQ: _Mar}), (MAX_LIST_ITEMS, {_sQ: _MI})), +) + +LIST_CODE_SIGNING_CONFIGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCSCO, + {_sSI: _cLCSCRo, _smit: None}, + (_NM, _CSCo), + ((lambda: schemas.STRING, 0), (lambda: CODE_SIGNING_CONFIG_LIST, 0)), +) + +LIST_CODE_SIGNING_CONFIGS: StaticOperationSchema = ( + 23, + n0, + _LCSC, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2020-04-22/code-signing-configs", "code": 200} + ) + }, + LIST_CODE_SIGNING_CONFIGS_INPUT, + LIST_CODE_SIGNING_CONFIGS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + ), +) + +CODE_SIGNING_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _CSCL, + 0, + (_me,), + ((CODE_SIGNING_CONFIG, 0),), +) + +LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _LFBCSCI, + {_sSI: _cLFBCSCR, _sm: None}, + (_CSCA, _Mar, _MI), + ( + (CODE_SIGNING_CONFIG_ARN, 9), + (lambda: schemas.STRING, {_sQ: _Mar}), + (MAX_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _LFBCSCO, + {_sSI: _cLFBCSCRo, _smit: None}, + (_NM, _FAu), + ((lambda: schemas.STRING, 0), (lambda: FUNCTION_ARN_LIST, 0)), +) + +LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _LFBCSC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions", + "code": 200, + } + ) + }, + LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_INPUT, + LIST_FUNCTIONS_BY_CODE_SIGNING_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + ), +) + +FUNCTION_ARN_LIST: StaticSchema = ( + 16, + n0, + _FAL, + 0, + (_me,), + ((lambda: schemas.FUNCTION_ARN, 0),), +) + +UPDATE_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _UCSCI, + {_sSI: _cUCSCR, _sm: None}, + (_CSCA, _D, _APl, _CSPo), + ( + (CODE_SIGNING_CONFIG_ARN, 9), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ALLOWED_PUBLISHERS, 0), + (CODE_SIGNING_POLICIES, 0), + ), +) + +UPDATE_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _UCSCO, + {_sSI: _cUCSCRo, _smit: None}, + (_CSC,), + ((CODE_SIGNING_CONFIG, 1),), +) + +UPDATE_CODE_SIGNING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _UCSC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}", + "code": 200, + } + ) + }, + UPDATE_CODE_SIGNING_CONFIG_INPUT, + UPDATE_CODE_SIGNING_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + ), +) + +DELETE_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _DFI, + {_sSI: _cDFR, _sm: None}, + (_FN, _Q), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + ), +) + +DELETE_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DFO, + {_sSI: _cDFRo, _smit: None}, + (_SC,), + ((lambda: schemas.INTEGER, {_s: 0, _sRC: None}),), +) + +DELETE_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _DF, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2015-03-31/functions/{FunctionName}"} + ) + }, + DELETE_FUNCTION_INPUT, + DELETE_FUNCTION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +DELETE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _DFEICI, + {_sSI: _cDFEICR, _sm: None}, + (_FN, _Q), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + ), +) + +DELETE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _DFEICO, + {_sSI: _sU, _smit: None}, +) + +DELETE_FUNCTION_EVENT_INVOKE_CONFIG: StaticOperationSchema = ( + 23, + n0, + _DFEIC, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config", + "code": 204, + } + ) + }, + DELETE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT, + DELETE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +POLICY_RESOURCE_ARN: StaticSchema = (3, n0, _PRA, 0) + +REVISION_ID: StaticSchema = (3, n0, _RI, 0) + +DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_sSI: _cDRPR, _sm: None}, + (_RAe, _RI), + ((POLICY_RESOURCE_ARN, 9), (REVISION_ID, {_sQ: _RI})), +) + +DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = (18, n0, _DRPO, {_sSI: _sU, _smit: None}) + +DELETE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2026-07-09/resource-policy/{ResourceArn}", + "code": 204, + } + ) + }, + DELETE_RESOURCE_POLICY_INPUT, + DELETE_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.PRECONDITION_FAILED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CHECKPOINT_TOKEN: StaticSchema = (3, n0, _CT, 0) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) + +DURABLE_EXECUTION_ARN: StaticSchema = (3, n0, _DEA, 0) + +OPERATION_ACTION: StaticSchema = ( + 14, + n0, + _OAp, + 0, + (_START, _SUCCEED, _FAIL, _RETRY, _CANCEL), + ( + (-1, {_sV: _START}), + (-1, {_sV: _SUCCEED}), + (-1, {_sV: _FAIL}), + (-1, {_sV: _RETRY}), + (-1, {_sV: _CANCEL}), + ), +) + +DURATION_SECONDS: StaticSchema = (7, n0, _DS, 0) + +CALLBACK_OPTIONS: StaticSchema = ( + 18, + n0, + _CO, + 0, + (_TS, _HTS), + ((DURATION_SECONDS, {_s: 0}), (DURATION_SECONDS, {_s: 0})), +) + +TENANT_ID: StaticSchema = (3, n0, _TI, 0) + +X_AMZN_TRACE_ID: StaticSchema = (3, n0, _XATI, 0) + +CHAINED_INVOKE_OPTIONS: StaticSchema = ( + 18, + n0, + _CIO, + 0, + (_FN, _TI, _XATI), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 1), + (TENANT_ID, 0), + (X_AMZN_TRACE_ID, 0), + ), +) + +REPLAY_CHILDREN: StaticSchema = (2, n0, _RCe, 0) + +CONTEXT_OPTIONS: StaticSchema = (18, n0, _COo, 0, (_RCe,), ((REPLAY_CHILDREN, 0),)) + +ERROR_DATA: StaticSchema = (3, n0, _ED, 4) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 4) + +ERROR_TYPE: StaticSchema = (3, n0, _ETr, 4) + +STACK_TRACE_ENTRY: StaticSchema = (3, n0, _STE, 4) + +STACK_TRACE_ENTRIES: StaticSchema = ( + 16, + n0, + _STEt, + 0, + (_me,), + ((STACK_TRACE_ENTRY, 0),), +) + +ERROR_OBJECT: StaticSchema = ( + 18, + n0, + _EO, + 0, + (_EM, _ETr, _ED, _ST), + ((ERROR_MESSAGE, 0), (ERROR_TYPE, 0), (ERROR_DATA, 0), (STACK_TRACE_ENTRIES, 0)), +) + +OPERATION_ID: StaticSchema = (3, n0, _OIp, 0) + +OPERATION_NAME: StaticSchema = (3, n0, _ON, 0) + +OPERATION_PAYLOAD: StaticSchema = (3, n0, _OP, 4) + +STEP_OPTIONS: StaticSchema = (18, n0, _SOt, 0, (_NADS,), ((DURATION_SECONDS, 0),)) + +OPERATION_SUB_TYPE: StaticSchema = (3, n0, _OST, 0) + +OPERATION_TYPE: StaticSchema = ( + 14, + n0, + _OT, + 0, + (_EXECUTION, _CONTEXT, _STEP, _WAIT, _CALLBACK, _CI), + ( + (-1, {_sV: _EXECUTION}), + (-1, {_sV: _CONTEXT}), + (-1, {_sV: _STEP}), + (-1, {_sV: _WAIT}), + (-1, {_sV: _CALLBACK}), + (-1, {_sV: _CI}), + ), +) + +WAIT_OPTIONS: StaticSchema = (18, n0, _WO, 0, (_WS,), ((DURATION_SECONDS, 0),)) + +OPERATION_UPDATE: StaticSchema = ( + 18, + n0, + _OU, + 0, + (_Id, _PI, _N, _T, _STu, _A, _Pa, _E, _COo, _SOt, _WO, _CO, _CIO), + ( + (OPERATION_ID, 1), + (OPERATION_ID, 0), + (OPERATION_NAME, 0), + (OPERATION_TYPE, 1), + (OPERATION_SUB_TYPE, 0), + (OPERATION_ACTION, 1), + (OPERATION_PAYLOAD, 0), + (ERROR_OBJECT, 0), + (CONTEXT_OPTIONS, 0), + (STEP_OPTIONS, 0), + (WAIT_OPTIONS, 0), + (CALLBACK_OPTIONS, 0), + (CHAINED_INVOKE_OPTIONS, 0), + ), +) + +OPERATION_UPDATES: StaticSchema = (16, n0, _OUp, 0, (_me,), ((OPERATION_UPDATE, 0),)) + +CHECKPOINT_DURABLE_EXECUTION_INPUT: StaticSchema = ( + 18, + n0, + _CDEI, + {_sSI: _cCDER, _sm: None}, + (_DEA, _CT, _U, _CTl), + ( + (DURABLE_EXECUTION_ARN, 9), + (CHECKPOINT_TOKEN, 1), + (OPERATION_UPDATES, 0), + (CLIENT_TOKEN, 2), + ), +) + +CHECKPOINT_DURABLE_EXECUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CDEO, + {_sSI: _cCDERo, _smit: None}, + (_CT, _NES), + ((CHECKPOINT_TOKEN, 0), (lambda: CHECKPOINT_UPDATED_EXECUTION_STATE, 1)), +) + +CHECKPOINT_DURABLE_EXECUTION: StaticOperationSchema = ( + 23, + n0, + _CDE, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}/checkpoint", + "code": 200, + } + ) + }, + CHECKPOINT_DURABLE_EXECUTION_INPUT, + CHECKPOINT_DURABLE_EXECUTION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: KMS_ACCESS_DENIED_EXCEPTION, + lambda: KMS_DISABLED_EXCEPTION, + lambda: KMS_INVALID_STATE_EXCEPTION, + lambda: KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CALLBACK_ID: StaticSchema = (3, n0, _CIa, 0) + +CALLBACK_DETAILS: StaticSchema = ( + 18, + n0, + _CD, + 0, + (_CIa, _Re, _E), + ((CALLBACK_ID, 0), (OPERATION_PAYLOAD, 0), (ERROR_OBJECT, 0)), +) + +CHAINED_INVOKE_DETAILS: StaticSchema = ( + 18, + n0, + _CID, + 0, + (_Re, _E), + ((OPERATION_PAYLOAD, 0), (ERROR_OBJECT, 0)), +) + +CONTEXT_DETAILS: StaticSchema = ( + 18, + n0, + _CDo, + 0, + (_RCe, _Re, _E), + ((REPLAY_CHILDREN, 0), (OPERATION_PAYLOAD, 0), (ERROR_OBJECT, 0)), +) + +EXECUTION_TIMESTAMP: StaticSchema = (4, n0, _ETx, 0) + +INPUT_PAYLOAD: StaticSchema = (3, n0, _IP, 4) + +EXECUTION_DETAILS: StaticSchema = (18, n0, _EDx, 0, (_IP,), ((INPUT_PAYLOAD, 0),)) + +OPERATION_STATUS: StaticSchema = ( + 14, + n0, + _OS, + 0, + (_STARTED, _PENDING, _READY, _SUCCEEDED, _FAILED, _CANCELLED, _TO, _STOPPED), + ( + (-1, {_sV: _STARTED}), + (-1, {_sV: _PENDING}), + (-1, {_sV: _READY}), + (-1, {_sV: _SUCCEEDED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _CANCELLED}), + (-1, {_sV: _TO}), + (-1, {_sV: _STOPPED}), + ), +) + +STEP_DETAILS: StaticSchema = ( + 18, + n0, + _SD, + 0, + (_Att, _NAT, _Re, _E), + ( + (lambda: schemas.ATTEMPT_COUNT, {_s: 0}), + (EXECUTION_TIMESTAMP, 0), + (OPERATION_PAYLOAD, 0), + (ERROR_OBJECT, 0), + ), +) + +WAIT_DETAILS: StaticSchema = (18, n0, _WD, 0, (_SET,), ((EXECUTION_TIMESTAMP, 0),)) + +OPERATION: StaticSchema = ( + 18, + n0, + _Op, + 0, + (_Id, _PI, _N, _T, _STu, _STt, _ETn, _Stat, _EDx, _CDo, _SD, _WD, _CD, _CID), + ( + (OPERATION_ID, 1), + (OPERATION_ID, 0), + (OPERATION_NAME, 0), + (OPERATION_TYPE, 1), + (OPERATION_SUB_TYPE, 0), + (EXECUTION_TIMESTAMP, 1), + (EXECUTION_TIMESTAMP, 0), + (OPERATION_STATUS, 1), + (EXECUTION_DETAILS, 0), + (CONTEXT_DETAILS, 0), + (STEP_DETAILS, 0), + (WAIT_DETAILS, 0), + (CALLBACK_DETAILS, 0), + (CHAINED_INVOKE_DETAILS, 0), + ), +) + +OPERATIONS: StaticSchema = (16, n0, _Ope, 0, (_me,), ((OPERATION, 0),)) + +CHECKPOINT_UPDATED_EXECUTION_STATE: StaticSchema = ( + 18, + n0, + _CUES, + 0, + (_Ope, _NM), + ((OPERATIONS, 0), (lambda: schemas.STRING, 0)), +) + +KMS_ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSADE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +KMS_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSDE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +KMS_INVALID_STATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSISE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +KMS_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSNFE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +INCLUDE_EXECUTION_DATA: StaticSchema = (2, n0, _IED, 0) + +GET_DURABLE_EXECUTION_INPUT: StaticSchema = ( + 18, + n0, + _GDEI, + {_sSI: _cGDER, _sm: None}, + (_DEA, _IED), + ((DURABLE_EXECUTION_ARN, 9), (INCLUDE_EXECUTION_DATA, {_s: True, _sQ: _IED})), +) + +GET_DURABLE_EXECUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GDEO, + {_sSI: _cGDERo, _smit: None}, + (_DEA, _DEN, _FA, _IP, _Re, _E, _STt, _Stat, _ETn, _V, _TH, _EDI, _DC), + ( + (DURABLE_EXECUTION_ARN, 1), + (lambda: DURABLE_EXECUTION_NAME, 1), + (lambda: schemas.NAME_SPACED_FUNCTION_ARN, 1), + (INPUT_PAYLOAD, 0), + (lambda: OUTPUT_PAYLOAD, 0), + (ERROR_OBJECT, 0), + (EXECUTION_TIMESTAMP, 1), + (lambda: EXECUTION_STATUS, 1), + (EXECUTION_TIMESTAMP, 0), + (lambda: VERSION_WITH_LATEST_PUBLISHED, 0), + (lambda: TRACE_HEADER, 0), + (lambda: EXECUTION_DATA_INCLUDED, 0), + (lambda: DURABLE_CONFIG, 0), + ), +) + +GET_DURABLE_EXECUTION: StaticOperationSchema = ( + 23, + n0, + _GDE, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}", + "code": 200, + } + ) + }, + GET_DURABLE_EXECUTION_INPUT, + GET_DURABLE_EXECUTION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + KMS_ACCESS_DENIED_EXCEPTION, + KMS_DISABLED_EXCEPTION, + KMS_INVALID_STATE_EXCEPTION, + KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +EXECUTION_TIMEOUT: StaticSchema = (7, n0, _ETxe, 0) + +RETENTION_PERIOD_IN_DAYS: StaticSchema = (7, n0, _RPID, 0) + +DURABLE_CONFIG: StaticSchema = ( + 18, + n0, + _DC, + 0, + (_KMSKA, _RPID, _ETxe), + ( + (lambda: schemas.KMS_KEY_ARN, 0), + (RETENTION_PERIOD_IN_DAYS, 0), + (EXECUTION_TIMEOUT, 0), + ), +) + +DURABLE_EXECUTION_NAME: StaticSchema = (3, n0, _DEN, 0) + +EXECUTION_DATA_INCLUDED: StaticSchema = (2, n0, _EDI, 0) + +OUTPUT_PAYLOAD: StaticSchema = (3, n0, _OPu, 4) + +EXECUTION_STATUS: StaticSchema = ( + 14, + n0, + _ES, + 0, + (_RUNNING, _SUCCEEDED, _FAILED, _TO, _STOPPED), + ( + (-1, {_sV: _RUNNING}), + (-1, {_sV: _SUCCEEDED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _TO}), + (-1, {_sV: _STOPPED}), + ), +) + +TRACE_HEADER: StaticSchema = (18, n0, _TH, 0, (_XATI,), ((X_AMZN_TRACE_ID, 0),)) + +VERSION_WITH_LATEST_PUBLISHED: StaticSchema = (3, n0, _VWLP, 0) + +ITEM_COUNT: StaticSchema = (7, n0, _IC, {_s: 0}) + +REVERSE_ORDER: StaticSchema = (2, n0, _RO, 0) + +GET_DURABLE_EXECUTION_HISTORY_INPUT: StaticSchema = ( + 18, + n0, + _GDEHI, + {_sSI: _cGDEHR, _sm: None}, + (_DEA, _IED, _MI, _Mar, _RO), + ( + (DURABLE_EXECUTION_ARN, 9), + (INCLUDE_EXECUTION_DATA, {_sQ: _IED}), + (ITEM_COUNT, {_s: 0, _sQ: _MI}), + (lambda: schemas.STRING, {_sQ: _Mar}), + (REVERSE_ORDER, {_sQ: _RO}), + ), +) + +GET_DURABLE_EXECUTION_HISTORY_OUTPUT: StaticSchema = ( + 18, + n0, + _GDEHO, + {_sSI: _cGDEHRo, _smit: None}, + (_Eve, _NM), + ((lambda: schemas.EVENTS, 1), (lambda: schemas.STRING, 0)), +) + +GET_DURABLE_EXECUTION_HISTORY: StaticOperationSchema = ( + 23, + n0, + _GDEH, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}/history", + "code": 200, + } + ) + }, + GET_DURABLE_EXECUTION_HISTORY_INPUT, + GET_DURABLE_EXECUTION_HISTORY_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + KMS_ACCESS_DENIED_EXCEPTION, + KMS_DISABLED_EXCEPTION, + KMS_INVALID_STATE_EXCEPTION, + KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +TRUNCATED: StaticSchema = (2, n0, _Tru, 0) + +EVENT_ERROR: StaticSchema = ( + 18, + n0, + _EE, + 0, + (_Pa, _Tru), + ((ERROR_OBJECT, 0), (TRUNCATED, 0)), +) + +CALLBACK_FAILED_DETAILS: StaticSchema = (18, n0, _CFD, 0, (_E,), ((EVENT_ERROR, 1),)) + +CALLBACK_STARTED_DETAILS: StaticSchema = ( + 18, + n0, + _CSD, + 0, + (_CIa, _HT, _Tim), + ((CALLBACK_ID, 1), (DURATION_SECONDS, 0), (DURATION_SECONDS, 0)), +) + +EVENT_RESULT: StaticSchema = ( + 18, + n0, + _ER, + 0, + (_Pa, _Tru), + ((OPERATION_PAYLOAD, 0), (TRUNCATED, 0)), +) + +CALLBACK_SUCCEEDED_DETAILS: StaticSchema = ( + 18, + n0, + _CSDa, + 0, + (_Re,), + ((EVENT_RESULT, 1),), +) + +CALLBACK_TIMED_OUT_DETAILS: StaticSchema = ( + 18, + n0, + _CTOD, + 0, + (_E,), + ((EVENT_ERROR, 1),), +) + +CHAINED_INVOKE_FAILED_DETAILS: StaticSchema = ( + 18, + n0, + _CIFD, + 0, + (_E,), + ((EVENT_ERROR, 1),), +) + +EVENT_INPUT: StaticSchema = ( + 18, + n0, + _EI, + 0, + (_Pa, _Tru), + ((INPUT_PAYLOAD, 0), (TRUNCATED, 0)), +) + +CHAINED_INVOKE_STARTED_DETAILS: StaticSchema = ( + 18, + n0, + _CISD, + 0, + (_FN, _TI, _Inp, _EV, _DEA), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 1), + (TENANT_ID, 0), + (EVENT_INPUT, 0), + (VERSION_WITH_LATEST_PUBLISHED, 0), + (DURABLE_EXECUTION_ARN, 0), + ), +) + +BLOB: StaticSchema = (1, n0, _B, 4) + +FUNCTION_LIST: StaticSchema = ( + 16, + n0, + _FLu, + 0, + (_me,), + ((lambda: schemas.FUNCTION_CONFIGURATION, 0),), +) + +RESOURCE_POLICY: StaticSchema = (3, n0, _RP, 0) diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_2.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_2.py new file mode 100644 index 000000000..254e9fbf0 --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_2.py @@ -0,0 +1,1203 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.lambda" +_s = "smithy.api#default" +_k = "key" +_v = "value" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_T = "Type" +_M = "Message" +_sV = "smithy.api#enumValue" +_smithy = "smithy.api#http" +_FN = "FunctionName" +_FA = "FunctionArn" +_N = "Name" +_me = "member" +_URI = "URI" +_BA = "BASIC_AUTH" +_CCTA = "CLIENT_CERTIFICATE_TLS_AUTH" +_SRCC = "SERVER_ROOT_CA_CERTIFICATE" +_OA = "OAUTHBEARER_AUTH" +_AMKESC = "AmazonManagedKafkaEventSourceConfig" +_CGI = "ConsumerGroupId" +_SRC = "SchemaRegistryConfig" +_De = "Debug" +_DEBUG = "DEBUG" +_In = "Info" +_INFO = "INFO" +_Wa = "Warn" +_WARN = "WARN" +_E = "Error" +_Ta = "Tags" +_SLL = "SystemLogLevel" +_LC = "LoggingConfig" +_KMSKA = "KMSKeyArn" +_Sta = "State" +_LM = "LastModified" +_Mar = "Marker" +_MI = "MaxItems" +_NM = "NextMarker" +_CT = "CheckpointToken" +_DEA = "DurableExecutionArn" +_NADS = "NextAttemptDelaySeconds" +_Id = "Id" +_PI = "ParentId" +_STu = "SubType" +_Re = "Result" +_SET = "ScheduledEndTimestamp" +_STt = "StartTimestamp" +_ETn = "EndTimestamp" +_Ope = "Operations" +_ETxe = "ExecutionTimeout" +_CFD = "CallbackFailedDetails" +_CSD = "CallbackStartedDetails" +_CSDa = "CallbackSucceededDetails" +_CTOD = "CallbackTimedOutDetails" +_CIFD = "ChainedInvokeFailedDetails" +_CISD = "ChainedInvokeStartedDetails" +_Inp = "Input" +_CISDh = "ChainedInvokeStoppedDetails" +_CISDha = "ChainedInvokeSucceededDetails" +_CITOD = "ChainedInvokeTimedOutDetails" +_CFDo = "ContextFailedDetails" +_CSDo = "ContextStartedDetails" +_CSDon = "ContextSucceededDetails" +_EIv = "EventId" +_ETv = "EventType" +_ESx = "ExecutionStarted" +_ESxe = "ExecutionSucceeded" +_EF = "ExecutionFailed" +_ETO = "ExecutionTimedOut" +_ESxec = "ExecutionStopped" +_CS = "ContextStarted" +_CSo = "ContextSucceeded" +_CF = "ContextFailed" +_WSa = "WaitStarted" +_WSai = "WaitSucceeded" +_WC = "WaitCancelled" +_SS = "StepStarted" +_SSt = "StepSucceeded" +_SF = "StepFailed" +_CIS = "ChainedInvokeStarted" +_CISh = "ChainedInvokeSucceeded" +_CIF = "ChainedInvokeFailed" +_CITO = "ChainedInvokeTimedOut" +_CISha = "ChainedInvokeStopped" +_CSa = "CallbackStarted" +_CSal = "CallbackSucceeded" +_CFa = "CallbackFailed" +_CTO = "CallbackTimedOut" +_ICn = "InvocationCompleted" +_EFD = "ExecutionFailedDetails" +_ESD = "ExecutionStartedDetails" +_ESDx = "ExecutionStoppedDetails" +_ESDxe = "ExecutionSucceededDetails" +_ETOD = "ExecutionTimedOutDetails" +_ICD = "InvocationCompletedDetails" +_RIe = "RequestId" +_RD = "RetryDetails" +_CA = "CurrentAttempt" +_SFD = "StepFailedDetails" +_SSD = "StepStartedDetails" +_SSDt = "StepSucceededDetails" +_WCD = "WaitCancelledDetails" +_WSD = "WaitStartedDetails" +_Du = "Duration" +_WSDa = "WaitSucceededDetails" +_Ev = "Event" +_ETve = "EventTimestamp" +_Eve = "Events" +_GDESI = "GetDurableExecutionStateInput" +_cGDESR = "com.amazonaws.lambda#GetDurableExecutionStateRequest" +_GDESO = "GetDurableExecutionStateOutput" +_cGDESRo = "com.amazonaws.lambda#GetDurableExecutionStateResponse" +_GDES = "GetDurableExecutionState" +_SDEI = "StopDurableExecutionInput" +_cSDER = "com.amazonaws.lambda#StopDurableExecutionRequest" +_sP = "smithy.api#httpPayload" +_SDEO = "StopDurableExecutionOutput" +_cSDERo = "com.amazonaws.lambda#StopDurableExecutionResponse" +_STto = "StopTimestamp" +_SDE = "StopDurableExecution" +_BS = "BatchSize" +_BBOFE = "BisectBatchOnFunctionError" +_DA = "DestinationArn" +_OF = "OnFailure" +_Des = "Destination" +_OSn = "OnSuccess" +_DCe = "DestinationConfig" +_CN = "CollectionName" +_DN = "DatabaseName" +_FD = "FullDocument" +_UL = "UpdateLookup" +_Def = "Default" +_DDBESC = "DocumentDBEventSourceConfig" +_Ena = "Enabled" +_Pat = "Pattern" +_Fi = "Filter" +_FL = "FilterList" +_FCi = "FilterCriteria" +_Fil = "Filters" +_FRT = "FunctionResponseType" +_RBIF = "ReportBatchItemFailures" +_FRTL = "FunctionResponseTypeList" +_ESMSLL = "EventSourceMappingSystemLogLevel" +_ESMLC = "EventSourceMappingLoggingConfig" +_MBWIS = "MaximumBatchingWindowInSeconds" +_MRAIS = "MaximumRecordAgeInSeconds" +_MRAESM = "MaximumRetryAttemptsEventSourceMapping" +_ESMM = "EventSourceMappingMetric" +_EC = "EventCount" +_ECr = "ErrorCount" +_KM = "KafkaMetrics" +_ESMML = "EventSourceMappingMetricList" +_ESMMC = "EventSourceMappingMetricsConfig" +_Met = "Metrics" +_PF = "ParallelizationFactor" +_MNOP = "MaximumNumberOfPollers" +_MNOPi = "MinimumNumberOfPollers" +_PPGN = "ProvisionedPollerGroupName" +_PPC = "ProvisionedPollerConfig" +_MP = "MinimumPollers" +_MPa = "MaximumPollers" +_PGN = "PollerGroupName" +_Qu = "Queue" +_Que = "Queues" +_MC = "MaximumConcurrency" +_SCc = "ScalingConfig" +_EPT = "EndPointType" +_KBS = "KAFKA_BOOTSTRAP_SERVERS" +_End = "Endpoint" +_EL = "EndpointLists" +_Endp = "Endpoints" +_SMES = "SelfManagedEventSource" +_KESMCM = "KafkaEventSourceMappingConsumptionMode" +_Str = "Stream" +_SMKESC = "SelfManagedKafkaEventSourceConfig" +_CM = "ConsumptionMode" +_SAT = "SourceAccessType" +_VS = "VPC_SUBNET" +_VSG = "VPC_SECURITY_GROUP" +_SSA = "SASL_SCRAM_512_AUTH" +_SSA_ = "SASL_SCRAM_256_AUTH" +_VH = "VIRTUAL_HOST" +_OS_ = "OAUTHBEARER_SCOPE" +_OA_ = "OAUTHBEARER_AUDIENCE" +_OLC = "OAUTHBEARER_LOGICAL_CLUSTER" +_OIP = "OAUTHBEARER_IDENTITY_POOL" +_IA = "IAM_AUTH" +_IOA = "IAM_OAUTHBEARER_AUTH" +_SAC = "SourceAccessConfiguration" +_SACo = "SourceAccessConfigurations" +_ESP = "EventSourcePosition" +_TH_ = "TRIM_HORIZON" +_LATEST = "LATEST" +_AT = "AT_TIMESTAMP" +_Da = "Date" +_To = "Topic" +_Top = "Topics" +_TWIS = "TumblingWindowInSeconds" +_CESMI = "CreateEventSourceMappingInput" +_cCESMR = "com.amazonaws.lambda#CreateEventSourceMappingRequest" +_ESA = "EventSourceArn" +_MCe = "MetricsConfig" +_SPt = "StartingPosition" +_SPT = "StartingPositionTimestamp" +_MRA = "MaximumRetryAttempts" +_FRTu = "FunctionResponseTypes" +_ESMA = "EventSourceMappingArn" +_FCEC = "FilterCriteriaErrorCode" +_FCEM = "FilterCriteriaErrorMessage" +_FCE = "FilterCriteriaError" +_ECrr = "ErrorCode" +_UUIDS = "UUIDString" +_CESMO = "CreateEventSourceMappingOutput" +_cESMC = "com.amazonaws.lambda#EventSourceMappingConfiguration" +_UUID = "UUID" +_LPR = "LastProcessingResult" +_STR = "StateTransitionReason" +_CESM = "CreateEventSourceMapping" +_DESMI = "DeleteEventSourceMappingInput" +_cDESMR = "com.amazonaws.lambda#DeleteEventSourceMappingRequest" +_DESMO = "DeleteEventSourceMappingOutput" +_RIUE = "ResourceInUseException" +_DESM = "DeleteEventSourceMapping" + +CHAINED_INVOKE_STOPPED_DETAILS: StaticSchema = ( + 18, + n0, + _CISDh, + 0, + (_E,), + ((lambda: schemas.EVENT_ERROR, 1),), +) + +CHAINED_INVOKE_SUCCEEDED_DETAILS: StaticSchema = ( + 18, + n0, + _CISDha, + 0, + (_Re,), + ((lambda: schemas.EVENT_RESULT, 1),), +) + +CHAINED_INVOKE_TIMED_OUT_DETAILS: StaticSchema = ( + 18, + n0, + _CITOD, + 0, + (_E,), + ((lambda: schemas.EVENT_ERROR, 1),), +) + +CONTEXT_FAILED_DETAILS: StaticSchema = ( + 18, + n0, + _CFDo, + 0, + (_E,), + ((lambda: schemas.EVENT_ERROR, 1),), +) + +CONTEXT_STARTED_DETAILS: StaticSchema = (18, n0, _CSDo, 0) + +CONTEXT_SUCCEEDED_DETAILS: StaticSchema = ( + 18, + n0, + _CSDon, + 0, + (_Re,), + ((lambda: schemas.EVENT_RESULT, 1),), +) + +EVENT_ID: StaticSchema = (7, n0, _EIv, {_s: 1}) + +EVENT_TYPE: StaticSchema = ( + 14, + n0, + _ETv, + 0, + ( + _ESx, + _ESxe, + _EF, + _ETO, + _ESxec, + _CS, + _CSo, + _CF, + _WSa, + _WSai, + _WC, + _SS, + _SSt, + _SF, + _CIS, + _CISh, + _CIF, + _CITO, + _CISha, + _CSa, + _CSal, + _CFa, + _CTO, + _ICn, + ), + ( + (-1, {_sV: _ESx}), + (-1, {_sV: _ESxe}), + (-1, {_sV: _EF}), + (-1, {_sV: _ETO}), + (-1, {_sV: _ESxec}), + (-1, {_sV: _CS}), + (-1, {_sV: _CSo}), + (-1, {_sV: _CF}), + (-1, {_sV: _WSa}), + (-1, {_sV: _WSai}), + (-1, {_sV: _WC}), + (-1, {_sV: _SS}), + (-1, {_sV: _SSt}), + (-1, {_sV: _SF}), + (-1, {_sV: _CIS}), + (-1, {_sV: _CISh}), + (-1, {_sV: _CIF}), + (-1, {_sV: _CITO}), + (-1, {_sV: _CISha}), + (-1, {_sV: _CSa}), + (-1, {_sV: _CSal}), + (-1, {_sV: _CFa}), + (-1, {_sV: _CTO}), + (-1, {_sV: _ICn}), + ), +) + +EXECUTION_FAILED_DETAILS: StaticSchema = ( + 18, + n0, + _EFD, + 0, + (_E,), + ((lambda: schemas.EVENT_ERROR, 1),), +) + +EXECUTION_STARTED_DETAILS: StaticSchema = ( + 18, + n0, + _ESD, + 0, + (_Inp, _ETxe), + ((lambda: schemas.EVENT_INPUT, 1), (lambda: schemas.DURATION_SECONDS, 1)), +) + +EXECUTION_STOPPED_DETAILS: StaticSchema = ( + 18, + n0, + _ESDx, + 0, + (_E,), + ((lambda: schemas.EVENT_ERROR, 1),), +) + +EXECUTION_SUCCEEDED_DETAILS: StaticSchema = ( + 18, + n0, + _ESDxe, + 0, + (_Re,), + ((lambda: schemas.EVENT_RESULT, 1),), +) + +EXECUTION_TIMED_OUT_DETAILS: StaticSchema = ( + 18, + n0, + _ETOD, + 0, + (_E,), + ((lambda: schemas.EVENT_ERROR, 0),), +) + +INVOCATION_COMPLETED_DETAILS: StaticSchema = ( + 18, + n0, + _ICD, + 0, + (_STt, _ETn, _RIe, _E), + ( + (lambda: schemas.EXECUTION_TIMESTAMP, 1), + (lambda: schemas.EXECUTION_TIMESTAMP, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.EVENT_ERROR, 0), + ), +) + +RETRY_DETAILS: StaticSchema = ( + 18, + n0, + _RD, + 0, + (_CA, _NADS), + ((lambda: schemas.ATTEMPT_COUNT, {_s: 0}), (lambda: schemas.DURATION_SECONDS, 0)), +) + +STEP_FAILED_DETAILS: StaticSchema = ( + 18, + n0, + _SFD, + 0, + (_E, _RD), + ((lambda: schemas.EVENT_ERROR, 1), (RETRY_DETAILS, 1)), +) + +STEP_STARTED_DETAILS: StaticSchema = (18, n0, _SSD, 0) + +STEP_SUCCEEDED_DETAILS: StaticSchema = ( + 18, + n0, + _SSDt, + 0, + (_Re, _RD), + ((lambda: schemas.EVENT_RESULT, 1), (RETRY_DETAILS, 1)), +) + +WAIT_CANCELLED_DETAILS: StaticSchema = ( + 18, + n0, + _WCD, + 0, + (_E,), + ((lambda: schemas.EVENT_ERROR, 0),), +) + +WAIT_STARTED_DETAILS: StaticSchema = ( + 18, + n0, + _WSD, + 0, + (_Du, _SET), + ((lambda: schemas.DURATION_SECONDS, 1), (lambda: schemas.EXECUTION_TIMESTAMP, 1)), +) + +WAIT_SUCCEEDED_DETAILS: StaticSchema = ( + 18, + n0, + _WSDa, + 0, + (_Du,), + ((lambda: schemas.DURATION_SECONDS, 0),), +) + +EVENT: StaticSchema = ( + 18, + n0, + _Ev, + 0, + ( + _ETv, + _STu, + _EIv, + _Id, + _N, + _ETve, + _PI, + _ESD, + _ESDxe, + _EFD, + _ETOD, + _ESDx, + _CSDo, + _CSDon, + _CFDo, + _WSD, + _WSDa, + _WCD, + _SSD, + _SSDt, + _SFD, + _CISD, + _CISDha, + _CIFD, + _CITOD, + _CISDh, + _CSD, + _CSDa, + _CFD, + _CTOD, + _ICD, + ), + ( + (EVENT_TYPE, 0), + (lambda: schemas.OPERATION_SUB_TYPE, 0), + (EVENT_ID, {_s: 1}), + (lambda: schemas.OPERATION_ID, 0), + (lambda: schemas.OPERATION_NAME, 0), + (lambda: schemas.EXECUTION_TIMESTAMP, 0), + (lambda: schemas.OPERATION_ID, 0), + (EXECUTION_STARTED_DETAILS, 0), + (EXECUTION_SUCCEEDED_DETAILS, 0), + (EXECUTION_FAILED_DETAILS, 0), + (EXECUTION_TIMED_OUT_DETAILS, 0), + (EXECUTION_STOPPED_DETAILS, 0), + (CONTEXT_STARTED_DETAILS, 0), + (CONTEXT_SUCCEEDED_DETAILS, 0), + (CONTEXT_FAILED_DETAILS, 0), + (WAIT_STARTED_DETAILS, 0), + (WAIT_SUCCEEDED_DETAILS, 0), + (WAIT_CANCELLED_DETAILS, 0), + (STEP_STARTED_DETAILS, 0), + (STEP_SUCCEEDED_DETAILS, 0), + (STEP_FAILED_DETAILS, 0), + (lambda: schemas.CHAINED_INVOKE_STARTED_DETAILS, 0), + (CHAINED_INVOKE_SUCCEEDED_DETAILS, 0), + (lambda: schemas.CHAINED_INVOKE_FAILED_DETAILS, 0), + (CHAINED_INVOKE_TIMED_OUT_DETAILS, 0), + (CHAINED_INVOKE_STOPPED_DETAILS, 0), + (lambda: schemas.CALLBACK_STARTED_DETAILS, 0), + (lambda: schemas.CALLBACK_SUCCEEDED_DETAILS, 0), + (lambda: schemas.CALLBACK_FAILED_DETAILS, 0), + (lambda: schemas.CALLBACK_TIMED_OUT_DETAILS, 0), + (INVOCATION_COMPLETED_DETAILS, 0), + ), +) + +EVENTS: StaticSchema = (16, n0, _Eve, 0, (_me,), ((EVENT, 0),)) + +GET_DURABLE_EXECUTION_STATE_INPUT: StaticSchema = ( + 18, + n0, + _GDESI, + {_sSI: _cGDESR, _sm: None}, + (_DEA, _CT, _Mar, _MI), + ( + (lambda: schemas.DURABLE_EXECUTION_ARN, 9), + (lambda: schemas.CHECKPOINT_TOKEN, {_sQ: _CT, _smi: None}), + (lambda: schemas.STRING, {_sQ: _Mar}), + (lambda: schemas.ITEM_COUNT, {_s: 0, _sQ: _MI}), + ), +) + +GET_DURABLE_EXECUTION_STATE_OUTPUT: StaticSchema = ( + 18, + n0, + _GDESO, + {_sSI: _cGDESRo, _smit: None}, + (_Ope, _NM), + ((lambda: schemas.OPERATIONS, 1), (lambda: schemas.STRING, 0)), +) + +GET_DURABLE_EXECUTION_STATE: StaticOperationSchema = ( + 23, + n0, + _GDES, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}/state", + "code": 200, + } + ) + }, + GET_DURABLE_EXECUTION_STATE_INPUT, + GET_DURABLE_EXECUTION_STATE_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +STOP_DURABLE_EXECUTION_INPUT: StaticSchema = ( + 18, + n0, + _SDEI, + {_sSI: _cSDER, _sm: None}, + (_DEA, _E), + ((lambda: schemas.DURABLE_EXECUTION_ARN, 9), (lambda: schemas.ERROR_OBJECT, 16)), +) + +STOP_DURABLE_EXECUTION_OUTPUT: StaticSchema = ( + 18, + n0, + _SDEO, + {_sSI: _cSDERo, _smit: None}, + (_STto,), + ((lambda: schemas.EXECUTION_TIMESTAMP, 1),), +) + +STOP_DURABLE_EXECUTION: StaticOperationSchema = ( + 23, + n0, + _SDE, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2025-12-01/durable-executions/{DurableExecutionArn}/stop", + "code": 200, + } + ) + }, + STOP_DURABLE_EXECUTION_INPUT, + STOP_DURABLE_EXECUTION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +BATCH_SIZE: StaticSchema = (7, n0, _BS, 0) + +BISECT_BATCH_ON_FUNCTION_ERROR: StaticSchema = (2, n0, _BBOFE, 0) + +DESTINATION_ARN: StaticSchema = (3, n0, _DA, 0) + +ON_FAILURE: StaticSchema = (18, n0, _OF, 0, (_Des,), ((DESTINATION_ARN, 0),)) + +ON_SUCCESS: StaticSchema = (18, n0, _OSn, 0, (_Des,), ((DESTINATION_ARN, 0),)) + +DESTINATION_CONFIG: StaticSchema = ( + 18, + n0, + _DCe, + 0, + (_OSn, _OF), + ((ON_SUCCESS, 0), (ON_FAILURE, 0)), +) + +COLLECTION_NAME: StaticSchema = (3, n0, _CN, 0) + +DATABASE_NAME: StaticSchema = (3, n0, _DN, 0) + +FULL_DOCUMENT: StaticSchema = ( + 14, + n0, + _FD, + 0, + (_UL, _Def), + ((-1, {_sV: _UL}), (-1, {_sV: _Def})), +) + +DOCUMENT_DB_EVENT_SOURCE_CONFIG: StaticSchema = ( + 18, + n0, + _DDBESC, + 0, + (_DN, _CN, _FD), + ((DATABASE_NAME, 0), (COLLECTION_NAME, 0), (FULL_DOCUMENT, 0)), +) + +ENABLED: StaticSchema = (2, n0, _Ena, 0) + +PATTERN: StaticSchema = (3, n0, _Pat, 0) + +FILTER: StaticSchema = (18, n0, _Fi, 0, (_Pat,), ((PATTERN, 0),)) + +FILTER_LIST: StaticSchema = (16, n0, _FL, 0, (_me,), ((FILTER, 0),)) + +FILTER_CRITERIA: StaticSchema = (18, n0, _FCi, 0, (_Fil,), ((FILTER_LIST, 0),)) + +FUNCTION_RESPONSE_TYPE: StaticSchema = ( + 14, + n0, + _FRT, + 0, + (_RBIF,), + ((-1, {_sV: _RBIF}),), +) + +FUNCTION_RESPONSE_TYPE_LIST: StaticSchema = ( + 16, + n0, + _FRTL, + 0, + (_me,), + ((FUNCTION_RESPONSE_TYPE, 0),), +) + +EVENT_SOURCE_MAPPING_SYSTEM_LOG_LEVEL: StaticSchema = ( + 14, + n0, + _ESMSLL, + 0, + (_De, _In, _Wa), + ((-1, {_sV: _DEBUG}), (-1, {_sV: _INFO}), (-1, {_sV: _WARN})), +) + +EVENT_SOURCE_MAPPING_LOGGING_CONFIG: StaticSchema = ( + 18, + n0, + _ESMLC, + 0, + (_SLL,), + ((EVENT_SOURCE_MAPPING_SYSTEM_LOG_LEVEL, 0),), +) + +MAXIMUM_BATCHING_WINDOW_IN_SECONDS: StaticSchema = (7, n0, _MBWIS, 0) + +MAXIMUM_RECORD_AGE_IN_SECONDS: StaticSchema = (7, n0, _MRAIS, 0) + +MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING: StaticSchema = (7, n0, _MRAESM, 0) + +EVENT_SOURCE_MAPPING_METRIC: StaticSchema = ( + 14, + n0, + _ESMM, + 0, + (_EC, _ECr, _KM), + ((-1, {_sV: _EC}), (-1, {_sV: _ECr}), (-1, {_sV: _KM})), +) + +EVENT_SOURCE_MAPPING_METRIC_LIST: StaticSchema = ( + 16, + n0, + _ESMML, + 0, + (_me,), + ((EVENT_SOURCE_MAPPING_METRIC, 0),), +) + +EVENT_SOURCE_MAPPING_METRICS_CONFIG: StaticSchema = ( + 18, + n0, + _ESMMC, + 0, + (_Met,), + ((EVENT_SOURCE_MAPPING_METRIC_LIST, 0),), +) + +PARALLELIZATION_FACTOR: StaticSchema = (7, n0, _PF, 0) + +MAXIMUM_NUMBER_OF_POLLERS: StaticSchema = (7, n0, _MNOP, 0) + +MINIMUM_NUMBER_OF_POLLERS: StaticSchema = (7, n0, _MNOPi, 0) + +PROVISIONED_POLLER_GROUP_NAME: StaticSchema = (3, n0, _PPGN, 0) + +PROVISIONED_POLLER_CONFIG: StaticSchema = ( + 18, + n0, + _PPC, + 0, + (_MP, _MPa, _PGN), + ( + (MINIMUM_NUMBER_OF_POLLERS, 0), + (MAXIMUM_NUMBER_OF_POLLERS, 0), + (PROVISIONED_POLLER_GROUP_NAME, 0), + ), +) + +QUEUE: StaticSchema = (3, n0, _Qu, 0) + +QUEUES: StaticSchema = (16, n0, _Que, 0, (_me,), ((QUEUE, 0),)) + +MAXIMUM_CONCURRENCY: StaticSchema = (7, n0, _MC, 0) + +SCALING_CONFIG: StaticSchema = (18, n0, _SCc, 0, (_MC,), ((MAXIMUM_CONCURRENCY, 0),)) + +END_POINT_TYPE: StaticSchema = (14, n0, _EPT, 0, (_KBS,), ((-1, {_sV: _KBS}),)) + +ENDPOINT: StaticSchema = (3, n0, _End, 0) + +ENDPOINT_LISTS: StaticSchema = (16, n0, _EL, 0, (_me,), ((ENDPOINT, 0),)) + +ENDPOINTS: StaticSchema = ( + 17, + n0, + _Endp, + 0, + (_k, _v), + ((END_POINT_TYPE, 0), (ENDPOINT_LISTS, 0)), +) + +SELF_MANAGED_EVENT_SOURCE: StaticSchema = ( + 18, + n0, + _SMES, + 0, + (_Endp,), + ((ENDPOINTS, 0),), +) + +KAFKA_EVENT_SOURCE_MAPPING_CONSUMPTION_MODE: StaticSchema = ( + 14, + n0, + _KESMCM, + 0, + (_Str, _Qu), + ((-1, {_sV: _Str}), (-1, {_sV: _Qu})), +) + +SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG: StaticSchema = ( + 18, + n0, + _SMKESC, + 0, + (_CGI, _SRC, _CM), + ( + (lambda: schemas.URI, 0), + (lambda: schemas.KAFKA_SCHEMA_REGISTRY_CONFIG, 0), + (KAFKA_EVENT_SOURCE_MAPPING_CONSUMPTION_MODE, 0), + ), +) + +SOURCE_ACCESS_TYPE: StaticSchema = ( + 14, + n0, + _SAT, + 0, + ( + _BA, + _VS, + _VSG, + _SSA, + _SSA_, + _VH, + _CCTA, + _SRCC, + _OA, + _OS_, + _OA_, + _OLC, + _OIP, + _IA, + _IOA, + ), + ( + (-1, {_sV: _BA}), + (-1, {_sV: _VS}), + (-1, {_sV: _VSG}), + (-1, {_sV: _SSA}), + (-1, {_sV: _SSA_}), + (-1, {_sV: _VH}), + (-1, {_sV: _CCTA}), + (-1, {_sV: _SRCC}), + (-1, {_sV: _OA}), + (-1, {_sV: _OS_}), + (-1, {_sV: _OA_}), + (-1, {_sV: _OLC}), + (-1, {_sV: _OIP}), + (-1, {_sV: _IA}), + (-1, {_sV: _IOA}), + ), +) + +SOURCE_ACCESS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SAC, + 0, + (_T, _URI), + ((SOURCE_ACCESS_TYPE, 0), (lambda: schemas.URI, 0)), +) + +SOURCE_ACCESS_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _SACo, + 0, + (_me,), + ((SOURCE_ACCESS_CONFIGURATION, 0),), +) + +EVENT_SOURCE_POSITION: StaticSchema = ( + 14, + n0, + _ESP, + 0, + (_TH_, _LATEST, _AT), + ((-1, {_sV: _TH_}), (-1, {_sV: _LATEST}), (-1, {_sV: _AT})), +) + +DATE: StaticSchema = (4, n0, _Da, 0) + +TOPIC: StaticSchema = (3, n0, _To, 0) + +TOPICS: StaticSchema = (16, n0, _Top, 0, (_me,), ((TOPIC, 0),)) + +TUMBLING_WINDOW_IN_SECONDS: StaticSchema = (7, n0, _TWIS, 0) + +CREATE_EVENT_SOURCE_MAPPING_INPUT: StaticSchema = ( + 18, + n0, + _CESMI, + {_sSI: _cCESMR, _sm: None}, + ( + _ESA, + _FN, + _Ena, + _BS, + _FCi, + _KMSKA, + _MCe, + _LC, + _SCc, + _MBWIS, + _PF, + _SPt, + _SPT, + _DCe, + _MRAIS, + _BBOFE, + _MRA, + _Ta, + _TWIS, + _Top, + _Que, + _SACo, + _SMES, + _FRTu, + _AMKESC, + _SMKESC, + _DDBESC, + _PPC, + ), + ( + (lambda: schemas.ARN, 0), + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 1), + (ENABLED, 0), + (BATCH_SIZE, 0), + (FILTER_CRITERIA, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), + (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), + (SCALING_CONFIG, 0), + (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), + (PARALLELIZATION_FACTOR, 0), + (EVENT_SOURCE_POSITION, 0), + (DATE, 0), + (DESTINATION_CONFIG, 0), + (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), + (BISECT_BATCH_ON_FUNCTION_ERROR, 0), + (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), + (lambda: schemas.TAGS, 0), + (TUMBLING_WINDOW_IN_SECONDS, 0), + (TOPICS, 0), + (QUEUES, 0), + (SOURCE_ACCESS_CONFIGURATIONS, 0), + (SELF_MANAGED_EVENT_SOURCE, 0), + (FUNCTION_RESPONSE_TYPE_LIST, 0), + (lambda: schemas.AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), + (PROVISIONED_POLLER_CONFIG, 0), + ), +) + +CREATE_EVENT_SOURCE_MAPPING_OUTPUT: StaticSchema = ( + 18, + n0, + _CESMO, + {_sSI: _cESMC, _smit: None}, + ( + _UUID, + _SPt, + _SPT, + _BS, + _MBWIS, + _PF, + _ESA, + _FCi, + _FCE, + _KMSKA, + _MCe, + _LC, + _SCc, + _FA, + _LM, + _LPR, + _Sta, + _STR, + _DCe, + _Top, + _Que, + _SACo, + _SMES, + _MRAIS, + _BBOFE, + _MRA, + _TWIS, + _FRTu, + _AMKESC, + _SMKESC, + _DDBESC, + _ESMA, + _PPC, + ), + ( + (lambda: UUID_STRING, 0), + (EVENT_SOURCE_POSITION, 0), + (DATE, 0), + (BATCH_SIZE, 0), + (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), + (PARALLELIZATION_FACTOR, 0), + (lambda: schemas.ARN, 0), + (FILTER_CRITERIA, 0), + (lambda: FILTER_CRITERIA_ERROR, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), + (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), + (SCALING_CONFIG, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (DATE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DESTINATION_CONFIG, 0), + (TOPICS, 0), + (QUEUES, 0), + (SOURCE_ACCESS_CONFIGURATIONS, 0), + (SELF_MANAGED_EVENT_SOURCE, 0), + (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), + (BISECT_BATCH_ON_FUNCTION_ERROR, 0), + (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), + (TUMBLING_WINDOW_IN_SECONDS, 0), + (FUNCTION_RESPONSE_TYPE_LIST, 0), + (lambda: schemas.AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), + (lambda: EVENT_SOURCE_MAPPING_ARN, 0), + (PROVISIONED_POLLER_CONFIG, 0), + ), +) + +CREATE_EVENT_SOURCE_MAPPING: StaticOperationSchema = ( + 23, + n0, + _CESM, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2015-03-31/event-source-mappings", "code": 202} + ) + }, + CREATE_EVENT_SOURCE_MAPPING_INPUT, + CREATE_EVENT_SOURCE_MAPPING_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +EVENT_SOURCE_MAPPING_ARN: StaticSchema = (3, n0, _ESMA, 0) + +FILTER_CRITERIA_ERROR_CODE: StaticSchema = (3, n0, _FCEC, 0) + +FILTER_CRITERIA_ERROR_MESSAGE: StaticSchema = (3, n0, _FCEM, 0) + +FILTER_CRITERIA_ERROR: StaticSchema = ( + 18, + n0, + _FCE, + 0, + (_ECrr, _M), + ((FILTER_CRITERIA_ERROR_CODE, 0), (FILTER_CRITERIA_ERROR_MESSAGE, 0)), +) + +UUID_STRING: StaticSchema = (3, n0, _UUIDS, 0) + +DELETE_EVENT_SOURCE_MAPPING_INPUT: StaticSchema = ( + 18, + n0, + _DESMI, + {_sSI: _cDESMR, _sm: None}, + (_UUID,), + ((UUID_STRING, 9),), +) + +DELETE_EVENT_SOURCE_MAPPING_OUTPUT: StaticSchema = ( + 18, + n0, + _DESMO, + {_sSI: _cESMC, _smit: None}, + ( + _UUID, + _SPt, + _SPT, + _BS, + _MBWIS, + _PF, + _ESA, + _FCi, + _FCE, + _KMSKA, + _MCe, + _LC, + _SCc, + _FA, + _LM, + _LPR, + _Sta, + _STR, + _DCe, + _Top, + _Que, + _SACo, + _SMES, + _MRAIS, + _BBOFE, + _MRA, + _TWIS, + _FRTu, + _AMKESC, + _SMKESC, + _DDBESC, + _ESMA, + _PPC, + ), + ( + (UUID_STRING, 0), + (EVENT_SOURCE_POSITION, 0), + (DATE, 0), + (BATCH_SIZE, 0), + (MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), + (PARALLELIZATION_FACTOR, 0), + (lambda: schemas.ARN, 0), + (FILTER_CRITERIA, 0), + (FILTER_CRITERIA_ERROR, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), + (EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), + (SCALING_CONFIG, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (DATE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DESTINATION_CONFIG, 0), + (TOPICS, 0), + (QUEUES, 0), + (SOURCE_ACCESS_CONFIGURATIONS, 0), + (SELF_MANAGED_EVENT_SOURCE, 0), + (MAXIMUM_RECORD_AGE_IN_SECONDS, 0), + (BISECT_BATCH_ON_FUNCTION_ERROR, 0), + (MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), + (TUMBLING_WINDOW_IN_SECONDS, 0), + (FUNCTION_RESPONSE_TYPE_LIST, 0), + (lambda: schemas.AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), + (EVENT_SOURCE_MAPPING_ARN, 0), + (PROVISIONED_POLLER_CONFIG, 0), + ), +) + +DELETE_EVENT_SOURCE_MAPPING: StaticOperationSchema = ( + 23, + n0, + _DESM, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2015-03-31/event-source-mappings/{UUID}", + "code": 202, + } + ) + }, + DELETE_EVENT_SOURCE_MAPPING_INPUT, + DELETE_EVENT_SOURCE_MAPPING_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +RESOURCE_IN_USE_EXCEPTION: StaticSchema = ( + 18, + n0, + _RIUE, + {_smith: _c, _sE: 400}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_3.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_3.py new file mode 100644 index 000000000..073304f6e --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_3.py @@ -0,0 +1,1249 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.lambda" +_s = "smithy.api#default" +_k = "key" +_v = "value" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_RI = "RevisionId" +_sQ = "smithy.api#httpQuery" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_T = "Type" +_m = "message" +_M = "Message" +_sV = "smithy.api#enumValue" +_smithy = "smithy.api#http" +_Ar = "Arn" +_FN = "FunctionName" +_FA = "FunctionArn" +_D = "Description" +_V = "Version" +_me = "member" +_JSON = "JSON" +_AMKESC = "AmazonManagedKafkaEventSourceConfig" +_ALL = "ApplicationLogLevel" +_Arch = "Architectures" +_Ta = "Tags" +_No = "None" +_Mo = "Mode" +_LG = "LogGroup" +_SLL = "SystemLogLevel" +_LC = "LoggingConfig" +_SIub = "SubnetIds" +_SGIe = "SecurityGroupIds" +_VC = "VpcConfig" +_CPA = "CapacityProviderArn" +_KMSKA = "KMSKeyArn" +_Ac = "Active" +_Sta = "State" +_LM = "LastModified" +_Mar = "Marker" +_MI = "MaxItems" +_NM = "NextMarker" +_CSCA = "CodeSigningConfigArn" +_RAe = "ResourceArn" +_smithya = "smithy.api#sensitive" +_DC = "DurableConfig" +_Tim = "Timeout" +_BS = "BatchSize" +_BBOFE = "BisectBatchOnFunctionError" +_DCe = "DestinationConfig" +_DDBESC = "DocumentDBEventSourceConfig" +_Ena = "Enabled" +_FCi = "FilterCriteria" +_MBWIS = "MaximumBatchingWindowInSeconds" +_MRAIS = "MaximumRecordAgeInSeconds" +_PF = "ParallelizationFactor" +_PPC = "ProvisionedPollerConfig" +_Que = "Queues" +_SCc = "ScalingConfig" +_SMES = "SelfManagedEventSource" +_SMKESC = "SelfManagedKafkaEventSourceConfig" +_SACo = "SourceAccessConfigurations" +_Top = "Topics" +_TWIS = "TumblingWindowInSeconds" +_ESA = "EventSourceArn" +_MCe = "MetricsConfig" +_SPt = "StartingPosition" +_SPT = "StartingPositionTimestamp" +_MRA = "MaximumRetryAttempts" +_FRTu = "FunctionResponseTypes" +_ESMA = "EventSourceMappingArn" +_FCE = "FilterCriteriaError" +_cESMC = "com.amazonaws.lambda#EventSourceMappingConfiguration" +_UUID = "UUID" +_LPR = "LastProcessingResult" +_STR = "StateTransitionReason" +_GESMI = "GetEventSourceMappingInput" +_cGESMR = "com.amazonaws.lambda#GetEventSourceMappingRequest" +_GESMO = "GetEventSourceMappingOutput" +_GESM = "GetEventSourceMapping" +_LESMI = "ListEventSourceMappingsInput" +_cLESMR = "com.amazonaws.lambda#ListEventSourceMappingsRequest" +_ESMC = "EventSourceMappingConfiguration" +_ESML = "EventSourceMappingsList" +_LESMO = "ListEventSourceMappingsOutput" +_cLESMRo = "com.amazonaws.lambda#ListEventSourceMappingsResponse" +_ESM = "EventSourceMappings" +_LESM = "ListEventSourceMappings" +_UESMI = "UpdateEventSourceMappingInput" +_cUESMR = "com.amazonaws.lambda#UpdateEventSourceMappingRequest" +_UESMO = "UpdateEventSourceMappingOutput" +_UESM = "UpdateEventSourceMapping" +_CSCNFE = "CodeSigningConfigNotFoundException" +_CSEE = "CodeStorageExceededException" +_CVFE = "CodeVerificationFailedException" +_EEMGBPVC = "ExecutionEnvironmentMemoryGiBPerVCpu" +_PEEMC = "PerExecutionEnvironmentMaxConcurrency" +_LMICPC = "LambdaManagedInstancesCapacityProviderConfig" +_CPC = "CapacityProviderConfig" +_SB = "S3Bucket" +_SK = "S3Key" +_SOSM = "S3ObjectStorageMode" +_C = "Copy" +_COPY = "COPY" +_Ref = "Reference" +_REFERENCE = "REFERENCE" +_SOV = "S3ObjectVersion" +_FCu = "FunctionCode" +_ZF = "ZipFile" +_IU = "ImageUri" +_SKMSKA = "SourceKMSKeyArn" +_DLC = "DeadLetterConfig" +_TA = "TargetArn" +_EVN = "EnvironmentVariableName" +_EVV = "EnvironmentVariableValue" +_EVn = "EnvironmentVariables" +_Env = "Environment" +_Va = "Variables" +_ESS = "EphemeralStorageSize" +_ESp = "EphemeralStorage" +_Si = "Size" +_FSA = "FileSystemArn" +_LMP = "LocalMountPath" +_DSR = "DirectS3Read" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_AUTO = "AUTO" +_SFC = "S3FilesConfig" +_FSC = "FileSystemConfig" +_FSCL = "FileSystemConfigList" +_H = "Handler" +_SL = "StringList" +_WDo = "WorkingDirectory" +_ICm = "ImageConfig" +_EP = "EntryPoint" +_Co = "Command" +_LVA = "LayerVersionArn" +_LL = "LayerList" +_LF = "LogFormat" +_J = "Json" +_Te = "Text" +_MS = "MemorySize" +_PTa = "PackageType" +_Z = "Zip" +_Im = "Image" +_Bo = "Boolean" +_FVLP = "FunctionVersionLatestPublished" +_LP = "LATEST_PUBLISHED" +_Ru = "Runtime" +_n = "nodejs" +_no = "nodejs43" +_nod = "nodejs4.3" +_node = "nodejs610" +_nodej = "nodejs6.10" +_nodejs = "nodejs810" +_nodejs_ = "nodejs8.10" +_nodejsx = "nodejs10x" +_nodejsx_ = "nodejs10.x" +_nodejsx__ = "nodejs12x" +_nodejsx___ = "nodejs12.x" +_nodejsx____ = "nodejs14x" +_nodejsx_____ = "nodejs14.x" +_nodejsx______ = "nodejs16x" +_nodejsx_______ = "nodejs16.x" +_nodejsx________ = "nodejs18x" +_nodejsx_________ = "nodejs18.x" +_nodejsx__________ = "nodejs20x" +_nodejsx___________ = "nodejs20.x" +_nodejsx____________ = "nodejs22x" +_nodejsx_____________ = "nodejs22.x" +_nodejsx______________ = "nodejs24x" +_nodejsx_______________ = "nodejs24.x" +_j = "java8" +_ja = "java8al2" +_jav = "java8.al2" +_java = "java11" +_java_ = "java17" +_java__ = "java21" +_java___ = "java25" +_p = "python27" +_py = "python2.7" +_pyt = "python36" +_pyth = "python3.6" +_pytho = "python37" +_python = "python3.7" +_python_ = "python38" +_python__ = "python3.8" +_python___ = "python39" +_python____ = "python3.9" +_python_____ = "python310" +_python______ = "python3.10" +_python_______ = "python311" +_python________ = "python3.11" +_python_________ = "python312" +_python__________ = "python3.12" +_python___________ = "python313" +_python____________ = "python3.13" +_python_____________ = "python314" +_python______________ = "python3.14" +_d = "dotnetcore10" +_do = "dotnetcore1.0" +_dot = "dotnetcore20" +_dotn = "dotnetcore2.0" +_dotne = "dotnetcore21" +_dotnet = "dotnetcore2.1" +_dotnetc = "dotnetcore31" +_dotnetco = "dotnetcore3.1" +_dotnet_ = "dotnet6" +_dotnet__ = "dotnet8" +_dotnet___ = "dotnet10" +_nodejse = "nodejs43edge" +_ne = "nodejs4.3-edge" +_g = "go1x" +_go = "go1.x" +_r = "ruby25" +_ru = "ruby2.5" +_rub = "ruby27" +_ruby = "ruby2.7" +_ruby_ = "ruby32" +_ruby__ = "ruby3.2" +_ruby___ = "ruby33" +_ruby____ = "ruby3.3" +_ruby_____ = "ruby34" +_ruby______ = "ruby3.4" +_ruby_______ = "ruby40" +_ruby________ = "ruby4.0" +_pr = "provided" +_pro = "providedal2" +_prov = "provided.al2" +_provi = "providedal2023" +_provid = "provided.al2023" +_nodejsx________________ = "nodejs26x" +_nodejsx_________________ = "nodejs26.x" +_python_______________ = "python315" +_python________________ = "python3.15" +_javaa = "java8al2023" +_javaal = "java8.al2023" +_javaal_ = "java11al2023" +_javaal__ = "java11.al2023" +_javaal___ = "java17al2023" +_javaal____ = "java17.al2023" +_SSAO = "SnapStartApplyOn" +_PV = "PublishedVersions" +_SSn = "SnapStart" +_AO = "ApplyOn" +_TIM = "TenantIsolationMode" +_PT_ = "PER_TENANT" +_TCe = "TenancyConfig" +_TM = "TracingMode" +_PTas = "PassThrough" +_TCr = "TracingConfig" +_NB = "NullableBoolean" +_IAFDS = "Ipv6AllowedForDualStack" +_CFI = "CreateFunctionInput" +_cCFR = "com.amazonaws.lambda#CreateFunctionRequest" +_Ro = "Role" +_Cod = "Code" +_Pu = "Publish" +_PTu = "PublishTo" +_La = "Layers" +_FSCi = "FileSystemConfigs" +_ICR = "ImageConfigResponse" +_LUS = "LastUpdateStatus" +_LUSR = "LastUpdateStatusReason" +_LUSRC = "LastUpdateStatusReasonCode" +_CSod = "CodeSize" +_SPVAi = "SigningProfileVersionArn" +_SJA = "SigningJobArn" +_RVC = "RuntimeVersionConfig" +_SR = "StateReason" +_SRCt = "StateReasonCode" +_CFO = "CreateFunctionOutput" +_cFC = "com.amazonaws.lambda#FunctionConfiguration" +_CSode = "CodeSha256" +_MA = "MasterArn" +_CSon = "ConfigSha256" +_CFr = "CreateFunction" +_RCEe = "ReservedConcurrentExecutions" + +GET_EVENT_SOURCE_MAPPING_INPUT: StaticSchema = ( + 18, + n0, + _GESMI, + {_sSI: _cGESMR, _sm: None}, + (_UUID,), + ((lambda: schemas.UUID_STRING, 9),), +) + +GET_EVENT_SOURCE_MAPPING_OUTPUT: StaticSchema = ( + 18, + n0, + _GESMO, + {_sSI: _cESMC, _smit: None}, + ( + _UUID, + _SPt, + _SPT, + _BS, + _MBWIS, + _PF, + _ESA, + _FCi, + _FCE, + _KMSKA, + _MCe, + _LC, + _SCc, + _FA, + _LM, + _LPR, + _Sta, + _STR, + _DCe, + _Top, + _Que, + _SACo, + _SMES, + _MRAIS, + _BBOFE, + _MRA, + _TWIS, + _FRTu, + _AMKESC, + _SMKESC, + _DDBESC, + _ESMA, + _PPC, + ), + ( + (lambda: schemas.UUID_STRING, 0), + (lambda: schemas.EVENT_SOURCE_POSITION, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.BATCH_SIZE, 0), + (lambda: schemas.MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), + (lambda: schemas.PARALLELIZATION_FACTOR, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.FILTER_CRITERIA, 0), + (lambda: schemas.FILTER_CRITERIA_ERROR, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), + (lambda: schemas.SCALING_CONFIG, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + (lambda: schemas.TOPICS, 0), + (lambda: schemas.QUEUES, 0), + (lambda: schemas.SOURCE_ACCESS_CONFIGURATIONS, 0), + (lambda: schemas.SELF_MANAGED_EVENT_SOURCE, 0), + (lambda: schemas.MAXIMUM_RECORD_AGE_IN_SECONDS, 0), + (lambda: schemas.BISECT_BATCH_ON_FUNCTION_ERROR, 0), + (lambda: schemas.MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), + (lambda: schemas.TUMBLING_WINDOW_IN_SECONDS, 0), + (lambda: schemas.FUNCTION_RESPONSE_TYPE_LIST, 0), + (lambda: schemas.AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_ARN, 0), + (lambda: schemas.PROVISIONED_POLLER_CONFIG, 0), + ), +) + +GET_EVENT_SOURCE_MAPPING: StaticOperationSchema = ( + 23, + n0, + _GESM, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2015-03-31/event-source-mappings/{UUID}", + "code": 200, + } + ) + }, + GET_EVENT_SOURCE_MAPPING_INPUT, + GET_EVENT_SOURCE_MAPPING_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +LIST_EVENT_SOURCE_MAPPINGS_INPUT: StaticSchema = ( + 18, + n0, + _LESMI, + {_sSI: _cLESMR, _sm: None}, + (_ESA, _FN, _Mar, _MI), + ( + (lambda: schemas.ARN, {_sQ: _ESA}), + (lambda: schemas.NAMESPACED_FUNCTION_NAME, {_sQ: _FN}), + (lambda: schemas.STRING, {_sQ: _Mar}), + (lambda: schemas.MAX_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_EVENT_SOURCE_MAPPINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LESMO, + {_sSI: _cLESMRo, _smit: None}, + (_NM, _ESM), + ((lambda: schemas.STRING, 0), (lambda: EVENT_SOURCE_MAPPINGS_LIST, 0)), +) + +LIST_EVENT_SOURCE_MAPPINGS: StaticOperationSchema = ( + 23, + n0, + _LESM, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2015-03-31/event-source-mappings", "code": 200} + ) + }, + LIST_EVENT_SOURCE_MAPPINGS_INPUT, + LIST_EVENT_SOURCE_MAPPINGS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +EVENT_SOURCE_MAPPING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ESMC, + 0, + ( + _UUID, + _SPt, + _SPT, + _BS, + _MBWIS, + _PF, + _ESA, + _FCi, + _FCE, + _KMSKA, + _MCe, + _LC, + _SCc, + _FA, + _LM, + _LPR, + _Sta, + _STR, + _DCe, + _Top, + _Que, + _SACo, + _SMES, + _MRAIS, + _BBOFE, + _MRA, + _TWIS, + _FRTu, + _AMKESC, + _SMKESC, + _DDBESC, + _ESMA, + _PPC, + ), + ( + (lambda: schemas.UUID_STRING, 0), + (lambda: schemas.EVENT_SOURCE_POSITION, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.BATCH_SIZE, 0), + (lambda: schemas.MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), + (lambda: schemas.PARALLELIZATION_FACTOR, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.FILTER_CRITERIA, 0), + (lambda: schemas.FILTER_CRITERIA_ERROR, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), + (lambda: schemas.SCALING_CONFIG, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + (lambda: schemas.TOPICS, 0), + (lambda: schemas.QUEUES, 0), + (lambda: schemas.SOURCE_ACCESS_CONFIGURATIONS, 0), + (lambda: schemas.SELF_MANAGED_EVENT_SOURCE, 0), + (lambda: schemas.MAXIMUM_RECORD_AGE_IN_SECONDS, 0), + (lambda: schemas.BISECT_BATCH_ON_FUNCTION_ERROR, 0), + (lambda: schemas.MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), + (lambda: schemas.TUMBLING_WINDOW_IN_SECONDS, 0), + (lambda: schemas.FUNCTION_RESPONSE_TYPE_LIST, 0), + (lambda: schemas.AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_ARN, 0), + (lambda: schemas.PROVISIONED_POLLER_CONFIG, 0), + ), +) + +EVENT_SOURCE_MAPPINGS_LIST: StaticSchema = ( + 16, + n0, + _ESML, + 0, + (_me,), + ((EVENT_SOURCE_MAPPING_CONFIGURATION, 0),), +) + +UPDATE_EVENT_SOURCE_MAPPING_INPUT: StaticSchema = ( + 18, + n0, + _UESMI, + {_sSI: _cUESMR, _sm: None}, + ( + _UUID, + _FN, + _Ena, + _BS, + _FCi, + _KMSKA, + _MCe, + _LC, + _SCc, + _MBWIS, + _PF, + _DCe, + _MRAIS, + _BBOFE, + _MRA, + _TWIS, + _SACo, + _FRTu, + _AMKESC, + _SMKESC, + _DDBESC, + _PPC, + ), + ( + (lambda: schemas.UUID_STRING, 9), + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 0), + (lambda: schemas.ENABLED, 0), + (lambda: schemas.BATCH_SIZE, 0), + (lambda: schemas.FILTER_CRITERIA, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), + (lambda: schemas.SCALING_CONFIG, 0), + (lambda: schemas.MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), + (lambda: schemas.PARALLELIZATION_FACTOR, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + (lambda: schemas.MAXIMUM_RECORD_AGE_IN_SECONDS, 0), + (lambda: schemas.BISECT_BATCH_ON_FUNCTION_ERROR, 0), + (lambda: schemas.MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), + (lambda: schemas.TUMBLING_WINDOW_IN_SECONDS, 0), + (lambda: schemas.SOURCE_ACCESS_CONFIGURATIONS, 0), + (lambda: schemas.FUNCTION_RESPONSE_TYPE_LIST, 0), + (lambda: schemas.AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.PROVISIONED_POLLER_CONFIG, 0), + ), +) + +UPDATE_EVENT_SOURCE_MAPPING_OUTPUT: StaticSchema = ( + 18, + n0, + _UESMO, + {_sSI: _cESMC, _smit: None}, + ( + _UUID, + _SPt, + _SPT, + _BS, + _MBWIS, + _PF, + _ESA, + _FCi, + _FCE, + _KMSKA, + _MCe, + _LC, + _SCc, + _FA, + _LM, + _LPR, + _Sta, + _STR, + _DCe, + _Top, + _Que, + _SACo, + _SMES, + _MRAIS, + _BBOFE, + _MRA, + _TWIS, + _FRTu, + _AMKESC, + _SMKESC, + _DDBESC, + _ESMA, + _PPC, + ), + ( + (lambda: schemas.UUID_STRING, 0), + (lambda: schemas.EVENT_SOURCE_POSITION, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.BATCH_SIZE, 0), + (lambda: schemas.MAXIMUM_BATCHING_WINDOW_IN_SECONDS, 0), + (lambda: schemas.PARALLELIZATION_FACTOR, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.FILTER_CRITERIA, 0), + (lambda: schemas.FILTER_CRITERIA_ERROR, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_METRICS_CONFIG, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_LOGGING_CONFIG, 0), + (lambda: schemas.SCALING_CONFIG, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + (lambda: schemas.TOPICS, 0), + (lambda: schemas.QUEUES, 0), + (lambda: schemas.SOURCE_ACCESS_CONFIGURATIONS, 0), + (lambda: schemas.SELF_MANAGED_EVENT_SOURCE, 0), + (lambda: schemas.MAXIMUM_RECORD_AGE_IN_SECONDS, 0), + (lambda: schemas.BISECT_BATCH_ON_FUNCTION_ERROR, 0), + (lambda: schemas.MAXIMUM_RETRY_ATTEMPTS_EVENT_SOURCE_MAPPING, 0), + (lambda: schemas.TUMBLING_WINDOW_IN_SECONDS, 0), + (lambda: schemas.FUNCTION_RESPONSE_TYPE_LIST, 0), + (lambda: schemas.AMAZON_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.SELF_MANAGED_KAFKA_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.DOCUMENT_DB_EVENT_SOURCE_CONFIG, 0), + (lambda: schemas.EVENT_SOURCE_MAPPING_ARN, 0), + (lambda: schemas.PROVISIONED_POLLER_CONFIG, 0), + ), +) + +UPDATE_EVENT_SOURCE_MAPPING: StaticOperationSchema = ( + 23, + n0, + _UESM, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2015-03-31/event-source-mappings/{UUID}", + "code": 202, + } + ) + }, + UPDATE_EVENT_SOURCE_MAPPING_INPUT, + UPDATE_EVENT_SOURCE_MAPPING_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_IN_USE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _CSCNFE, + {_smith: _c, _sE: 404}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CODE_STORAGE_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CSEE, + {_smith: _c, _sE: 400}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CODE_VERIFICATION_FAILED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CVFE, + {_smith: _c, _sE: 400}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +EXECUTION_ENVIRONMENT_MEMORY_GI_B_PER_V_CPU: StaticSchema = (10, n0, _EEMGBPVC, 0) + +PER_EXECUTION_ENVIRONMENT_MAX_CONCURRENCY: StaticSchema = (7, n0, _PEEMC, 0) + +LAMBDA_MANAGED_INSTANCES_CAPACITY_PROVIDER_CONFIG: StaticSchema = ( + 18, + n0, + _LMICPC, + 0, + (_CPA, _PEEMC, _EEMGBPVC), + ( + (lambda: schemas.CAPACITY_PROVIDER_ARN, 1), + (PER_EXECUTION_ENVIRONMENT_MAX_CONCURRENCY, 0), + (EXECUTION_ENVIRONMENT_MEMORY_GI_B_PER_V_CPU, 0), + ), +) + +CAPACITY_PROVIDER_CONFIG: StaticSchema = ( + 18, + n0, + _CPC, + 0, + (_LMICPC,), + ((LAMBDA_MANAGED_INSTANCES_CAPACITY_PROVIDER_CONFIG, 1),), +) + +S3_BUCKET: StaticSchema = (3, n0, _SB, 0) + +S3_KEY: StaticSchema = (3, n0, _SK, 0) + +S3_OBJECT_STORAGE_MODE: StaticSchema = ( + 14, + n0, + _SOSM, + 0, + (_C, _Ref), + ((-1, {_sV: _COPY}), (-1, {_sV: _REFERENCE})), +) + +S3_OBJECT_VERSION: StaticSchema = (3, n0, _SOV, 0) + +FUNCTION_CODE: StaticSchema = ( + 18, + n0, + _FCu, + 0, + (_ZF, _SB, _SK, _SOV, _SOSM, _IU, _SKMSKA), + ( + (lambda: schemas.BLOB, 0), + (S3_BUCKET, 0), + (S3_KEY, 0), + (S3_OBJECT_VERSION, 0), + (S3_OBJECT_STORAGE_MODE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +RESOURCE_ARN: StaticSchema = (3, n0, _RAe, 0) + +DEAD_LETTER_CONFIG: StaticSchema = (18, n0, _DLC, 0, (_TA,), ((RESOURCE_ARN, 0),)) + +ENVIRONMENT_VARIABLE_NAME: StaticSchema = (3, n0, _EVN, 4) + +ENVIRONMENT_VARIABLE_VALUE: StaticSchema = (3, n0, _EVV, 4) + +ENVIRONMENT_VARIABLES: StaticSchema = ( + 17, + n0, + _EVn, + 4, + (_k, _v), + ((ENVIRONMENT_VARIABLE_NAME, 0), (ENVIRONMENT_VARIABLE_VALUE, 0)), +) + +ENVIRONMENT: StaticSchema = (18, n0, _Env, 0, (_Va,), ((ENVIRONMENT_VARIABLES, 0),)) + +EPHEMERAL_STORAGE_SIZE: StaticSchema = (7, n0, _ESS, 0) + +EPHEMERAL_STORAGE: StaticSchema = ( + 18, + n0, + _ESp, + 0, + (_Si,), + ((EPHEMERAL_STORAGE_SIZE, 1),), +) + +FILE_SYSTEM_ARN: StaticSchema = (3, n0, _FSA, 0) + +LOCAL_MOUNT_PATH: StaticSchema = (3, n0, _LMP, 0) + +DIRECT_S3_READ: StaticSchema = ( + 14, + n0, + _DSR, + 0, + (_ENABLED, _DISABLED, _AUTO), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED}), (-1, {_sV: _AUTO})), +) + +S3_FILES_CONFIG: StaticSchema = (18, n0, _SFC, 0, (_DSR,), ((DIRECT_S3_READ, 0),)) + +FILE_SYSTEM_CONFIG: StaticSchema = ( + 18, + n0, + _FSC, + 0, + (_Ar, _LMP, _SFC), + ((FILE_SYSTEM_ARN, 1), (LOCAL_MOUNT_PATH, 1), (S3_FILES_CONFIG, 0)), +) + +FILE_SYSTEM_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _FSCL, + 0, + (_me,), + ((FILE_SYSTEM_CONFIG, 0),), +) + +FUNCTION_NAME: StaticSchema = (3, n0, _FN, 0) + +HANDLER: StaticSchema = (3, n0, _H, 0) + +STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_me,), ((lambda: schemas.STRING, 0),)) + +WORKING_DIRECTORY: StaticSchema = (3, n0, _WDo, 0) + +IMAGE_CONFIG: StaticSchema = ( + 18, + n0, + _ICm, + 0, + (_EP, _Co, _WDo), + ((STRING_LIST, 0), (STRING_LIST, 0), (WORKING_DIRECTORY, 0)), +) + +LAYER_VERSION_ARN: StaticSchema = (3, n0, _LVA, 0) + +LAYER_LIST: StaticSchema = (16, n0, _LL, 0, (_me,), ((LAYER_VERSION_ARN, 0),)) + +LOG_FORMAT: StaticSchema = ( + 14, + n0, + _LF, + 0, + (_J, _Te), + ((-1, {_sV: _JSON}), (-1, {_sV: _Te})), +) + +LOGGING_CONFIG: StaticSchema = ( + 18, + n0, + _LC, + 0, + (_LF, _ALL, _SLL, _LG), + ( + (LOG_FORMAT, 0), + (lambda: schemas.APPLICATION_LOG_LEVEL, 0), + (lambda: schemas.SYSTEM_LOG_LEVEL, 0), + (lambda: schemas.LOG_GROUP, 0), + ), +) + +MEMORY_SIZE: StaticSchema = (7, n0, _MS, 0) + +PACKAGE_TYPE: StaticSchema = ( + 14, + n0, + _PTa, + 0, + (_Z, _Im), + ((-1, {_sV: _Z}), (-1, {_sV: _Im})), +) + +BOOLEAN: StaticSchema = (2, n0, _Bo, {_s: False}) + +FUNCTION_VERSION_LATEST_PUBLISHED: StaticSchema = ( + 14, + n0, + _FVLP, + 0, + (_LP,), + ((-1, {_sV: _LP}),), +) + +RUNTIME: StaticSchema = ( + 14, + n0, + _Ru, + 0, + ( + _n, + _no, + _node, + _nodejs, + _nodejsx, + _nodejsx__, + _nodejsx____, + _nodejsx______, + _nodejsx________, + _nodejsx__________, + _nodejsx____________, + _nodejsx______________, + _j, + _ja, + _java, + _java_, + _java__, + _java___, + _p, + _pyt, + _pytho, + _python_, + _python___, + _python_____, + _python_______, + _python_________, + _python___________, + _python_____________, + _d, + _dot, + _dotne, + _dotnetc, + _dotnet_, + _dotnet__, + _dotnet___, + _nodejse, + _g, + _r, + _rub, + _ruby_, + _ruby___, + _ruby_____, + _ruby_______, + _pr, + _pro, + _provi, + _nodejsx________________, + _python_______________, + _javaa, + _javaal_, + _javaal___, + ), + ( + (-1, {_sV: _n}), + (-1, {_sV: _nod}), + (-1, {_sV: _nodej}), + (-1, {_sV: _nodejs_}), + (-1, {_sV: _nodejsx_}), + (-1, {_sV: _nodejsx___}), + (-1, {_sV: _nodejsx_____}), + (-1, {_sV: _nodejsx_______}), + (-1, {_sV: _nodejsx_________}), + (-1, {_sV: _nodejsx___________}), + (-1, {_sV: _nodejsx_____________}), + (-1, {_sV: _nodejsx_______________}), + (-1, {_sV: _j}), + (-1, {_sV: _jav}), + (-1, {_sV: _java}), + (-1, {_sV: _java_}), + (-1, {_sV: _java__}), + (-1, {_sV: _java___}), + (-1, {_sV: _py}), + (-1, {_sV: _pyth}), + (-1, {_sV: _python}), + (-1, {_sV: _python__}), + (-1, {_sV: _python____}), + (-1, {_sV: _python______}), + (-1, {_sV: _python________}), + (-1, {_sV: _python__________}), + (-1, {_sV: _python____________}), + (-1, {_sV: _python______________}), + (-1, {_sV: _do}), + (-1, {_sV: _dotn}), + (-1, {_sV: _dotnet}), + (-1, {_sV: _dotnetco}), + (-1, {_sV: _dotnet_}), + (-1, {_sV: _dotnet__}), + (-1, {_sV: _dotnet___}), + (-1, {_sV: _ne}), + (-1, {_sV: _go}), + (-1, {_sV: _ru}), + (-1, {_sV: _ruby}), + (-1, {_sV: _ruby__}), + (-1, {_sV: _ruby____}), + (-1, {_sV: _ruby______}), + (-1, {_sV: _ruby________}), + (-1, {_sV: _pr}), + (-1, {_sV: _prov}), + (-1, {_sV: _provid}), + (-1, {_sV: _nodejsx_________________}), + (-1, {_sV: _python________________}), + (-1, {_sV: _javaal}), + (-1, {_sV: _javaal__}), + (-1, {_sV: _javaal____}), + ), +) + +SNAP_START_APPLY_ON: StaticSchema = ( + 14, + n0, + _SSAO, + 0, + (_PV, _No), + ((-1, {_sV: _PV}), (-1, {_sV: _No})), +) + +SNAP_START: StaticSchema = (18, n0, _SSn, 0, (_AO,), ((SNAP_START_APPLY_ON, 0),)) + +TENANT_ISOLATION_MODE: StaticSchema = (14, n0, _TIM, 0, (_PT_,), ((-1, {_sV: _PT_}),)) + +TENANCY_CONFIG: StaticSchema = (18, n0, _TCe, 0, (_TIM,), ((TENANT_ISOLATION_MODE, 1),)) + +TIMEOUT: StaticSchema = (7, n0, _Tim, 0) + +TRACING_MODE: StaticSchema = ( + 14, + n0, + _TM, + 0, + (_Ac, _PTas), + ((-1, {_sV: _Ac}), (-1, {_sV: _PTas})), +) + +TRACING_CONFIG: StaticSchema = (18, n0, _TCr, 0, (_Mo,), ((TRACING_MODE, 0),)) + +NULLABLE_BOOLEAN: StaticSchema = (2, n0, _NB, 0) + +SECURITY_GROUP_IDS: StaticSchema = ( + 16, + n0, + _SGIe, + 0, + (_me,), + ((lambda: schemas.SECURITY_GROUP_ID, 0),), +) + +SUBNET_IDS: StaticSchema = (16, n0, _SIub, 0, (_me,), ((lambda: schemas.SUBNET_ID, 0),)) + +VPC_CONFIG: StaticSchema = ( + 18, + n0, + _VC, + 0, + (_SIub, _SGIe, _IAFDS), + ((SUBNET_IDS, 0), (SECURITY_GROUP_IDS, 0), (NULLABLE_BOOLEAN, 0)), +) + +CREATE_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _CFI, + {_sSI: _cCFR, _sm: None}, + ( + _FN, + _Ru, + _Ro, + _H, + _Cod, + _D, + _Tim, + _MS, + _Pu, + _PTu, + _VC, + _PTa, + _DLC, + _Env, + _KMSKA, + _TCr, + _Ta, + _La, + _FSCi, + _CSCA, + _ICm, + _Arch, + _ESp, + _SSn, + _LC, + _TCe, + _CPC, + _DC, + ), + ( + (FUNCTION_NAME, 1), + (RUNTIME, 0), + (lambda: schemas.ROLE_ARN, 1), + (HANDLER, 0), + (FUNCTION_CODE, 1), + (lambda: schemas.DESCRIPTION, 0), + (TIMEOUT, 0), + (MEMORY_SIZE, 0), + (BOOLEAN, {_s: False}), + (FUNCTION_VERSION_LATEST_PUBLISHED, 0), + (VPC_CONFIG, 0), + (PACKAGE_TYPE, 0), + (DEAD_LETTER_CONFIG, 0), + (ENVIRONMENT, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (TRACING_CONFIG, 0), + (lambda: schemas.TAGS, 0), + (LAYER_LIST, 0), + (FILE_SYSTEM_CONFIG_LIST, 0), + (lambda: schemas.CODE_SIGNING_CONFIG_ARN, 0), + (IMAGE_CONFIG, 0), + (lambda: schemas.ARCHITECTURES_LIST, 0), + (EPHEMERAL_STORAGE, 0), + (SNAP_START, 0), + (LOGGING_CONFIG, 0), + (TENANCY_CONFIG, 0), + (CAPACITY_PROVIDER_CONFIG, 0), + (lambda: schemas.DURABLE_CONFIG, 0), + ), +) + +CREATE_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CFO, + {_sSI: _cFC, _smit: None}, + ( + _FN, + _FA, + _Ru, + _Ro, + _H, + _CSod, + _D, + _Tim, + _MS, + _LM, + _CSode, + _V, + _VC, + _DLC, + _Env, + _KMSKA, + _TCr, + _MA, + _RI, + _La, + _Sta, + _SR, + _SRCt, + _LUS, + _LUSR, + _LUSRC, + _FSCi, + _SPVAi, + _SJA, + _PTa, + _ICR, + _Arch, + _ESp, + _SSn, + _RVC, + _LC, + _TCe, + _CPC, + _CSon, + _DC, + ), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 0), + (lambda: schemas.NAME_SPACED_FUNCTION_ARN, 0), + (RUNTIME, 0), + (lambda: schemas.ROLE_ARN, 0), + (HANDLER, 0), + (lambda: schemas.LONG, {_s: 0}), + (lambda: schemas.DESCRIPTION, 0), + (TIMEOUT, 0), + (MEMORY_SIZE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VERSION, 0), + (lambda: schemas.VPC_CONFIG_RESPONSE, 0), + (DEAD_LETTER_CONFIG, 0), + (lambda: schemas.ENVIRONMENT_RESPONSE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TRACING_CONFIG_RESPONSE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LAYERS_REFERENCE_LIST, 0), + (lambda: schemas.STATE, 0), + (lambda: schemas.STATE_REASON, 0), + (lambda: schemas.STATE_REASON_CODE, 0), + (lambda: schemas.LAST_UPDATE_STATUS, 0), + (lambda: schemas.LAST_UPDATE_STATUS_REASON, 0), + (lambda: schemas.LAST_UPDATE_STATUS_REASON_CODE, 0), + (FILE_SYSTEM_CONFIG_LIST, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.ARN, 0), + (PACKAGE_TYPE, 0), + (lambda: schemas.IMAGE_CONFIG_RESPONSE, 0), + (lambda: schemas.ARCHITECTURES_LIST, 0), + (EPHEMERAL_STORAGE, 0), + (lambda: schemas.SNAP_START_RESPONSE, 0), + (lambda: schemas.RUNTIME_VERSION_CONFIG, 0), + (LOGGING_CONFIG, 0), + (TENANCY_CONFIG, 0), + (CAPACITY_PROVIDER_CONFIG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DURABLE_CONFIG, 0), + ), +) + +CREATE_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _CFr, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2015-03-31/functions", "code": 201} + ) + }, + CREATE_FUNCTION_INPUT, + CREATE_FUNCTION_OUTPUT, + ( + CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, + CODE_STORAGE_EXCEEDED_EXCEPTION, + CODE_VERIFICATION_FAILED_EXCEPTION, + lambda: ( + schemas.FUNCTION_VERSIONS_PER_CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION + ), + lambda: schemas.INVALID_CODE_SIGNATURE_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +RESERVED_CONCURRENT_EXECUTIONS: StaticSchema = (7, n0, _RCEe, 0) diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_4.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_4.py new file mode 100644 index 000000000..bfe244b4d --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_4.py @@ -0,0 +1,1304 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.lambda" +_s = "smithy.api#default" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_RI = "RevisionId" +_sQ = "smithy.api#httpQuery" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_T = "Type" +_m = "message" +_M = "Message" +_sV = "smithy.api#enumValue" +_smithy = "smithy.api#http" +_Ar = "Arn" +_FN = "FunctionName" +_Q = "Qualifier" +_FA = "FunctionArn" +_D = "Description" +_V = "Version" +_me = "member" +_ACl = "AllowCredentials" +_E = "Error" +_Au = "Auto" +_Ma = "Manual" +_Arch = "Architectures" +_Ta = "Tags" +_Mo = "Mode" +_LC = "LoggingConfig" +_SIub = "SubnetIds" +_SGIe = "SecurityGroupIds" +_VC = "VpcConfig" +_KMSKA = "KMSKeyArn" +_Fa = "Failed" +_Sta = "State" +_LM = "LastModified" +_CSCA = "CodeSigningConfigArn" +_sU = "smithy.api#Unit" +_smithya = "smithy.api#sensitive" +_DC = "DurableConfig" +_Tim = "Timeout" +_ECrr = "ErrorCode" +_CPC = "CapacityProviderConfig" +_SB = "S3Bucket" +_SK = "S3Key" +_SOV = "S3ObjectVersion" +_IU = "ImageUri" +_SKMSKA = "SourceKMSKeyArn" +_DLC = "DeadLetterConfig" +_Env = "Environment" +_Va = "Variables" +_ESp = "EphemeralStorage" +_H = "Handler" +_ICm = "ImageConfig" +_MS = "MemorySize" +_PTa = "PackageType" +_Ru = "Runtime" +_SSn = "SnapStart" +_AO = "ApplyOn" +_TCe = "TenancyConfig" +_TCr = "TracingConfig" +_IAFDS = "Ipv6AllowedForDualStack" +_Ro = "Role" +_Cod = "Code" +_La = "Layers" +_FSCi = "FileSystemConfigs" +_SSe = "SensitiveString" +_EEn = "EnvironmentError" +_ERn = "EnvironmentResponse" +_ICE = "ImageConfigError" +_ICR = "ImageConfigResponse" +_LUS = "LastUpdateStatus" +_Su = "Successful" +_IPn = "InProgress" +_LUSR = "LastUpdateStatusReason" +_LUSRC = "LastUpdateStatusReasonCode" +_ELE = "EniLimitExceeded" +_IRP = "InsufficientRolePermissions" +_ICnv = "InvalidConfiguration" +_IE = "InternalError" +_SOOIPA = "SubnetOutOfIPAddresses" +_IS = "InvalidSubnet" +_ISG = "InvalidSecurityGroup" +_ID = "ImageDeleted" +_IAD = "ImageAccessDenied" +_II = "InvalidImage" +_KMSKAD = "KMSKeyAccessDenied" +_KMSKNF = "KMSKeyNotFound" +_ISKMSK = "InvalidStateKMSKey" +_DKMSK = "DisabledKMSKey" +_EFSIOE = "EFSIOError" +_EFSMCE = "EFSMountConnectivityError" +_EFSMF = "EFSMountFailure" +_EFSMT = "EFSMountTimeout" +_IRn = "InvalidRuntime" +_IZFE = "InvalidZipFileException" +_FE = "FunctionError" +_SQEE = "ServiceQuotaExceededException" +_VLE = "VcpuLimitExceeded" +_CPSLE = "CapacityProviderScalingLimitExceeded" +_ICns = "InsufficientCapacity" +_ECRLE = "EC2RequestLimitExceeded" +_FEIT = "FunctionErrorInitTimeout" +_FEITu = "FunctionError.InitTimeout" +_FERIE = "FunctionErrorRuntimeInitError" +_FERIEu = "FunctionError.RuntimeInitError" +_FEEIE = "FunctionErrorExtensionInitError" +_FEEIEu = "FunctionError.ExtensionInitError" +_FEIEP = "FunctionErrorInvalidEntryPoint" +_FEIEPu = "FunctionError.InvalidEntryPoint" +_FEIWD = "FunctionErrorInvalidWorkingDirectory" +_FEIWDu = "FunctionError.InvalidWorkingDirectory" +_FEPD = "FunctionErrorPermissionDenied" +_FEPDu = "FunctionError.PermissionDenied" +_FETME = "FunctionErrorTooManyExtensions" +_FETMEu = "FunctionError.TooManyExtensions" +_FEIRE = "FunctionErrorInitResourceExhausted" +_FEIREu = "FunctionError.InitResourceExhausted" +_DBVEC = "DisallowedByVpcEncryptionControl" +_DE = "DependencyError" +_Lay = "Layer" +_CSod = "CodeSize" +_SPVAi = "SigningProfileVersionArn" +_SJA = "SigningJobArn" +_LRL = "LayersReferenceList" +_RVE = "RuntimeVersionError" +_RVA = "RuntimeVersionArn" +_RVC = "RuntimeVersionConfig" +_SSOS = "SnapStartOptimizationStatus" +_On = "On" +_Of = "Off" +_SSR = "SnapStartResponse" +_OSp = "OptimizationStatus" +_SR = "StateReason" +_SRCt = "StateReasonCode" +_Idl = "Idle" +_Cr = "Creating" +_Res = "Restoring" +_DDE = "DrainingDurableExecutions" +_TCR = "TracingConfigResponse" +_VI = "VpcId" +_VCR = "VpcConfigResponse" +_cFC = "com.amazonaws.lambda#FunctionConfiguration" +_CSode = "CodeSha256" +_MA = "MasterArn" +_CSon = "ConfigSha256" +_FVPCPLEE = "FunctionVersionsPerCapacityProviderLimitExceededException" +_ICSE = "InvalidCodeSignatureException" +_He = "Header" +_HL = "HeadersList" +_MAa = "MaxAge" +_Cor = "Cors" +_AH = "AllowHeaders" +_AM = "AllowMethods" +_AOl = "AllowOrigins" +_EH = "ExposeHeaders" +_FUFN = "FunctionUrlFunctionName" +_IM = "InvokeMode" +_BUFFERED = "BUFFERED" +_RS = "RESPONSE_STREAM" +_FUQ = "FunctionUrlQualifier" +_CFUCI = "CreateFunctionUrlConfigInput" +_cCFUCR = "com.amazonaws.lambda#CreateFunctionUrlConfigRequest" +_ATu = "AuthType" +_FU = "FunctionUrl" +_CFUCO = "CreateFunctionUrlConfigOutput" +_cCFUCRo = "com.amazonaws.lambda#CreateFunctionUrlConfigResponse" +_CTr = "CreationTime" +_CFUC = "CreateFunctionUrlConfig" +_DFCSCI = "DeleteFunctionCodeSigningConfigInput" +_cDFCSCR = "com.amazonaws.lambda#DeleteFunctionCodeSigningConfigRequest" +_DFCSCO = "DeleteFunctionCodeSigningConfigOutput" +_DFCSC = "DeleteFunctionCodeSigningConfig" +_DFCI = "DeleteFunctionConcurrencyInput" +_cDFCR = "com.amazonaws.lambda#DeleteFunctionConcurrencyRequest" +_DFCO = "DeleteFunctionConcurrencyOutput" +_DFC = "DeleteFunctionConcurrency" +_DFUCI = "DeleteFunctionUrlConfigInput" +_cDFUCR = "com.amazonaws.lambda#DeleteFunctionUrlConfigRequest" +_DFUCO = "DeleteFunctionUrlConfigOutput" +_DFUC = "DeleteFunctionUrlConfig" +_GFI = "GetFunctionInput" +_cGFR = "com.amazonaws.lambda#GetFunctionRequest" +_FCLE = "FunctionCodeLocationError" +_SSOSO = "SensitiveStringOnServerOnly" +_RSO = "ResolvedS3Object" +_FCL = "FunctionCodeLocation" +_RT = "RepositoryType" +_Lo = "Location" +_RIU = "ResolvedImageUri" +_RCEe = "ReservedConcurrentExecutions" +_Con = "Concurrency" +_FCun = "FunctionConfiguration" +_TEC = "TagsErrorCode" +_TEM = "TagsErrorMessage" +_TE = "TagsError" +_GFO = "GetFunctionOutput" +_cGFRo = "com.amazonaws.lambda#GetFunctionResponse" +_Conf = "Configuration" +_GF = "GetFunction" +_GFCSCI = "GetFunctionCodeSigningConfigInput" +_cGFCSCR = "com.amazonaws.lambda#GetFunctionCodeSigningConfigRequest" +_GFCSCO = "GetFunctionCodeSigningConfigOutput" +_cGFCSCRo = "com.amazonaws.lambda#GetFunctionCodeSigningConfigResponse" +_GFCSC = "GetFunctionCodeSigningConfig" +_GFCI = "GetFunctionConcurrencyInput" +_cGFCR = "com.amazonaws.lambda#GetFunctionConcurrencyRequest" +_GFCO = "GetFunctionConcurrencyOutput" +_cGFCRo = "com.amazonaws.lambda#GetFunctionConcurrencyResponse" +_GFC = "GetFunctionConcurrency" +_GFCIe = "GetFunctionConfigurationInput" +_cGFCRom = "com.amazonaws.lambda#GetFunctionConfigurationRequest" +_GFCOe = "GetFunctionConfigurationOutput" +_GFCe = "GetFunctionConfiguration" +_UFN = "UnqualifiedFunctionName" +_GFRCI = "GetFunctionRecursionConfigInput" +_cGFRCR = "com.amazonaws.lambda#GetFunctionRecursionConfigRequest" +_RL = "RecursiveLoop" +_All = "Allow" +_Ter = "Terminate" +_GFRCO = "GetFunctionRecursionConfigOutput" +_cGFRCRo = "com.amazonaws.lambda#GetFunctionRecursionConfigResponse" +_GFRC = "GetFunctionRecursionConfig" +_PFQ = "PublishedFunctionQualifier" +_GFSCI = "GetFunctionScalingConfigInput" +_cGFSCR = "com.amazonaws.lambda#GetFunctionScalingConfigRequest" +_GFSCO = "GetFunctionScalingConfigOutput" +_cGFSCRo = "com.amazonaws.lambda#GetFunctionScalingConfigResponse" +_AFSC = "AppliedFunctionScalingConfig" +_RFSC = "RequestedFunctionScalingConfig" +_GFSC = "GetFunctionScalingConfig" +_URO = "UpdateRuntimeOn" +_FUu = "FunctionUpdate" + +SENSITIVE_STRING: StaticSchema = (3, n0, _SSe, 4) + +ENVIRONMENT_ERROR: StaticSchema = ( + 18, + n0, + _EEn, + 0, + (_ECrr, _M), + ((lambda: schemas.STRING, 0), (SENSITIVE_STRING, 0)), +) + +ENVIRONMENT_RESPONSE: StaticSchema = ( + 18, + n0, + _ERn, + 0, + (_Va, _E), + ((lambda: schemas.ENVIRONMENT_VARIABLES, 0), (ENVIRONMENT_ERROR, 0)), +) + +IMAGE_CONFIG_ERROR: StaticSchema = ( + 18, + n0, + _ICE, + 0, + (_ECrr, _M), + ((lambda: schemas.STRING, 0), (SENSITIVE_STRING, 0)), +) + +IMAGE_CONFIG_RESPONSE: StaticSchema = ( + 18, + n0, + _ICR, + 0, + (_ICm, _E), + ((lambda: schemas.IMAGE_CONFIG, 0), (IMAGE_CONFIG_ERROR, 0)), +) + +LAST_UPDATE_STATUS: StaticSchema = ( + 14, + n0, + _LUS, + 0, + (_Su, _Fa, _IPn), + ((-1, {_sV: _Su}), (-1, {_sV: _Fa}), (-1, {_sV: _IPn})), +) + +LAST_UPDATE_STATUS_REASON: StaticSchema = (3, n0, _LUSR, 0) + +LAST_UPDATE_STATUS_REASON_CODE: StaticSchema = ( + 14, + n0, + _LUSRC, + 0, + ( + _ELE, + _IRP, + _ICnv, + _IE, + _SOOIPA, + _IS, + _ISG, + _ID, + _IAD, + _II, + _KMSKAD, + _KMSKNF, + _ISKMSK, + _DKMSK, + _EFSIOE, + _EFSMCE, + _EFSMF, + _EFSMT, + _IRn, + _IZFE, + _FE, + _SQEE, + _VLE, + _CPSLE, + _ICns, + _ECRLE, + _FEIT, + _FERIE, + _FEEIE, + _FEIEP, + _FEIWD, + _FEPD, + _FETME, + _FEIRE, + _DBVEC, + _DE, + ), + ( + (-1, {_sV: _ELE}), + (-1, {_sV: _IRP}), + (-1, {_sV: _ICnv}), + (-1, {_sV: _IE}), + (-1, {_sV: _SOOIPA}), + (-1, {_sV: _IS}), + (-1, {_sV: _ISG}), + (-1, {_sV: _ID}), + (-1, {_sV: _IAD}), + (-1, {_sV: _II}), + (-1, {_sV: _KMSKAD}), + (-1, {_sV: _KMSKNF}), + (-1, {_sV: _ISKMSK}), + (-1, {_sV: _DKMSK}), + (-1, {_sV: _EFSIOE}), + (-1, {_sV: _EFSMCE}), + (-1, {_sV: _EFSMF}), + (-1, {_sV: _EFSMT}), + (-1, {_sV: _IRn}), + (-1, {_sV: _IZFE}), + (-1, {_sV: _FE}), + (-1, {_sV: _SQEE}), + (-1, {_sV: _VLE}), + (-1, {_sV: _CPSLE}), + (-1, {_sV: _ICns}), + (-1, {_sV: _ECRLE}), + (-1, {_sV: _FEITu}), + (-1, {_sV: _FERIEu}), + (-1, {_sV: _FEEIEu}), + (-1, {_sV: _FEIEPu}), + (-1, {_sV: _FEIWDu}), + (-1, {_sV: _FEPDu}), + (-1, {_sV: _FETMEu}), + (-1, {_sV: _FEIREu}), + (-1, {_sV: _DBVEC}), + (-1, {_sV: _DE}), + ), +) + +LAYER: StaticSchema = ( + 18, + n0, + _Lay, + 0, + (_Ar, _CSod, _SPVAi, _SJA), + ( + (lambda: schemas.LAYER_VERSION_ARN, 0), + (lambda: schemas.LONG, {_s: 0}), + (lambda: schemas.ARN, 0), + (lambda: schemas.ARN, 0), + ), +) + +LAYERS_REFERENCE_LIST: StaticSchema = (16, n0, _LRL, 0, (_me,), ((LAYER, 0),)) + +RUNTIME_VERSION_ERROR: StaticSchema = ( + 18, + n0, + _RVE, + 0, + (_ECrr, _M), + ((lambda: schemas.STRING, 0), (SENSITIVE_STRING, 0)), +) + +RUNTIME_VERSION_ARN: StaticSchema = (3, n0, _RVA, 0) + +RUNTIME_VERSION_CONFIG: StaticSchema = ( + 18, + n0, + _RVC, + 0, + (_RVA, _E), + ((RUNTIME_VERSION_ARN, 0), (RUNTIME_VERSION_ERROR, 0)), +) + +SNAP_START_OPTIMIZATION_STATUS: StaticSchema = ( + 14, + n0, + _SSOS, + 0, + (_On, _Of), + ((-1, {_sV: _On}), (-1, {_sV: _Of})), +) + +SNAP_START_RESPONSE: StaticSchema = ( + 18, + n0, + _SSR, + 0, + (_AO, _OSp), + ((lambda: schemas.SNAP_START_APPLY_ON, 0), (SNAP_START_OPTIMIZATION_STATUS, 0)), +) + +STATE_REASON: StaticSchema = (3, n0, _SR, 0) + +STATE_REASON_CODE: StaticSchema = ( + 14, + n0, + _SRCt, + 0, + ( + _Idl, + _Cr, + _Res, + _ELE, + _IRP, + _ICnv, + _IE, + _SOOIPA, + _IS, + _ISG, + _ID, + _IAD, + _II, + _KMSKAD, + _KMSKNF, + _ISKMSK, + _DKMSK, + _EFSIOE, + _EFSMCE, + _EFSMF, + _EFSMT, + _IRn, + _IZFE, + _FE, + _SQEE, + _VLE, + _CPSLE, + _ICns, + _ECRLE, + _FEIT, + _FERIE, + _FEEIE, + _FEIEP, + _FEIWD, + _FEPD, + _FETME, + _FEIRE, + _DBVEC, + _DDE, + _DE, + ), + ( + (-1, {_sV: _Idl}), + (-1, {_sV: _Cr}), + (-1, {_sV: _Res}), + (-1, {_sV: _ELE}), + (-1, {_sV: _IRP}), + (-1, {_sV: _ICnv}), + (-1, {_sV: _IE}), + (-1, {_sV: _SOOIPA}), + (-1, {_sV: _IS}), + (-1, {_sV: _ISG}), + (-1, {_sV: _ID}), + (-1, {_sV: _IAD}), + (-1, {_sV: _II}), + (-1, {_sV: _KMSKAD}), + (-1, {_sV: _KMSKNF}), + (-1, {_sV: _ISKMSK}), + (-1, {_sV: _DKMSK}), + (-1, {_sV: _EFSIOE}), + (-1, {_sV: _EFSMCE}), + (-1, {_sV: _EFSMF}), + (-1, {_sV: _EFSMT}), + (-1, {_sV: _IRn}), + (-1, {_sV: _IZFE}), + (-1, {_sV: _FE}), + (-1, {_sV: _SQEE}), + (-1, {_sV: _VLE}), + (-1, {_sV: _CPSLE}), + (-1, {_sV: _ICns}), + (-1, {_sV: _ECRLE}), + (-1, {_sV: _FEITu}), + (-1, {_sV: _FERIEu}), + (-1, {_sV: _FEEIEu}), + (-1, {_sV: _FEIEPu}), + (-1, {_sV: _FEIWDu}), + (-1, {_sV: _FEPDu}), + (-1, {_sV: _FETMEu}), + (-1, {_sV: _FEIREu}), + (-1, {_sV: _DBVEC}), + (-1, {_sV: _DDE}), + (-1, {_sV: _DE}), + ), +) + +TRACING_CONFIG_RESPONSE: StaticSchema = ( + 18, + n0, + _TCR, + 0, + (_Mo,), + ((lambda: schemas.TRACING_MODE, 0),), +) + +VPC_ID: StaticSchema = (3, n0, _VI, 0) + +VPC_CONFIG_RESPONSE: StaticSchema = ( + 18, + n0, + _VCR, + 0, + (_SIub, _SGIe, _VI, _IAFDS), + ( + (lambda: schemas.SUBNET_IDS, 0), + (lambda: schemas.SECURITY_GROUP_IDS, 0), + (VPC_ID, 0), + (lambda: schemas.NULLABLE_BOOLEAN, 0), + ), +) + +FUNCTION_VERSIONS_PER_CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _FVPCPLEE, + {_smith: _c, _sE: 400}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +INVALID_CODE_SIGNATURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ICSE, + {_smith: _c, _sE: 400}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +HEADER: StaticSchema = (3, n0, _He, 0) + +HEADERS_LIST: StaticSchema = (16, n0, _HL, 0, (_me,), ((HEADER, 0),)) + +MAX_AGE: StaticSchema = (7, n0, _MAa, 0) + +CORS: StaticSchema = ( + 18, + n0, + _Cor, + 0, + (_ACl, _AH, _AM, _AOl, _EH, _MAa), + ( + (lambda: schemas.ALLOW_CREDENTIALS, 0), + (HEADERS_LIST, 0), + (lambda: schemas.ALLOW_METHODS_LIST, 0), + (lambda: schemas.ALLOW_ORIGINS_LIST, 0), + (HEADERS_LIST, 0), + (MAX_AGE, 0), + ), +) + +FUNCTION_URL_FUNCTION_NAME: StaticSchema = (3, n0, _FUFN, 0) + +INVOKE_MODE: StaticSchema = ( + 14, + n0, + _IM, + 0, + (_BUFFERED, _RS), + ((-1, {_sV: _BUFFERED}), (-1, {_sV: _RS})), +) + +FUNCTION_URL_QUALIFIER: StaticSchema = (3, n0, _FUQ, 0) + +CREATE_FUNCTION_URL_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _CFUCI, + {_sSI: _cCFUCR, _sm: None}, + (_FN, _Q, _ATu, _Cor, _IM), + ( + (FUNCTION_URL_FUNCTION_NAME, 9), + (FUNCTION_URL_QUALIFIER, {_sQ: _Q}), + (lambda: schemas.FUNCTION_URL_AUTH_TYPE, 1), + (CORS, 0), + (INVOKE_MODE, 0), + ), +) + +CREATE_FUNCTION_URL_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _CFUCO, + {_sSI: _cCFUCRo, _smit: None}, + (_FU, _FA, _ATu, _Cor, _CTr, _IM), + ( + (lambda: FUNCTION_URL, 1), + (lambda: schemas.FUNCTION_ARN, 1), + (lambda: schemas.FUNCTION_URL_AUTH_TYPE, 1), + (CORS, 0), + (lambda: schemas.TIMESTAMP, 1), + (INVOKE_MODE, 0), + ), +) + +CREATE_FUNCTION_URL_CONFIG: StaticOperationSchema = ( + 23, + n0, + _CFUC, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2021-10-31/functions/{FunctionName}/url", + "code": 201, + } + ) + }, + CREATE_FUNCTION_URL_CONFIG_INPUT, + CREATE_FUNCTION_URL_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +FUNCTION_URL: StaticSchema = (3, n0, _FU, 0) + +DELETE_FUNCTION_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _DFCSCI, + {_sSI: _cDFCSCR, _sm: None}, + (_FN,), + ((lambda: schemas.NAMESPACED_FUNCTION_NAME, 9),), +) + +DELETE_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _DFCSCO, + {_sSI: _sU, _smit: None}, +) + +DELETE_FUNCTION_CODE_SIGNING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _DFCSC, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2020-06-30/functions/{FunctionName}/code-signing-config", + "code": 204, + } + ) + }, + DELETE_FUNCTION_CODE_SIGNING_CONFIG_INPUT, + DELETE_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT, + ( + lambda: schemas.CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +DELETE_FUNCTION_CONCURRENCY_INPUT: StaticSchema = ( + 18, + n0, + _DFCI, + {_sSI: _cDFCR, _sm: None}, + (_FN,), + ((lambda: schemas.FUNCTION_NAME, 9),), +) + +DELETE_FUNCTION_CONCURRENCY_OUTPUT: StaticSchema = ( + 18, + n0, + _DFCO, + {_sSI: _sU, _smit: None}, +) + +DELETE_FUNCTION_CONCURRENCY: StaticOperationSchema = ( + 23, + n0, + _DFC, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2017-10-31/functions/{FunctionName}/concurrency", + "code": 204, + } + ) + }, + DELETE_FUNCTION_CONCURRENCY_INPUT, + DELETE_FUNCTION_CONCURRENCY_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +DELETE_FUNCTION_URL_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _DFUCI, + {_sSI: _cDFUCR, _sm: None}, + (_FN, _Q), + ((FUNCTION_URL_FUNCTION_NAME, 9), (FUNCTION_URL_QUALIFIER, {_sQ: _Q})), +) + +DELETE_FUNCTION_URL_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _DFUCO, + {_sSI: _sU, _smit: None}, +) + +DELETE_FUNCTION_URL_CONFIG: StaticOperationSchema = ( + 23, + n0, + _DFUC, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2021-10-31/functions/{FunctionName}/url", + "code": 204, + } + ) + }, + DELETE_FUNCTION_URL_CONFIG_INPUT, + DELETE_FUNCTION_URL_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _GFI, + {_sSI: _cGFR, _sm: None}, + (_FN, _Q), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + ), +) + +GET_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GFO, + {_sSI: _cGFRo, _smit: None}, + (_Conf, _Cod, _Ta, _TE, _Con), + ( + (lambda: FUNCTION_CONFIGURATION, 0), + (lambda: FUNCTION_CODE_LOCATION, 0), + (lambda: schemas.TAGS, 0), + (lambda: TAGS_ERROR, 0), + (lambda: CONCURRENCY, 0), + ), +) + +GET_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _GF, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2015-03-31/functions/{FunctionName}", + "code": 200, + } + ) + }, + GET_FUNCTION_INPUT, + GET_FUNCTION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +FUNCTION_CODE_LOCATION_ERROR: StaticSchema = ( + 18, + n0, + _FCLE, + 0, + (_ECrr, _M), + ((lambda: schemas.STRING, 0), (SENSITIVE_STRING, 0)), +) + +SENSITIVE_STRING_ON_SERVER_ONLY: StaticSchema = (3, n0, _SSOSO, 0) + +RESOLVED_S3_OBJECT: StaticSchema = ( + 18, + n0, + _RSO, + 0, + (_SB, _SK, _SOV), + ( + (lambda: schemas.S3_BUCKET, 0), + (lambda: schemas.S3_KEY, 0), + (lambda: schemas.S3_OBJECT_VERSION, 0), + ), +) + +FUNCTION_CODE_LOCATION: StaticSchema = ( + 18, + n0, + _FCL, + 0, + (_RT, _Lo, _IU, _RIU, _RSO, _SKMSKA, _E), + ( + (lambda: schemas.STRING, 0), + (SENSITIVE_STRING_ON_SERVER_ONLY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (RESOLVED_S3_OBJECT, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (FUNCTION_CODE_LOCATION_ERROR, 0), + ), +) + +CONCURRENCY: StaticSchema = ( + 18, + n0, + _Con, + 0, + (_RCEe,), + ((lambda: schemas.RESERVED_CONCURRENT_EXECUTIONS, 0),), +) + +FUNCTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FCun, + 0, + ( + _FN, + _FA, + _Ru, + _Ro, + _H, + _CSod, + _D, + _Tim, + _MS, + _LM, + _CSode, + _V, + _VC, + _DLC, + _Env, + _KMSKA, + _TCr, + _MA, + _RI, + _La, + _Sta, + _SR, + _SRCt, + _LUS, + _LUSR, + _LUSRC, + _FSCi, + _SPVAi, + _SJA, + _PTa, + _ICR, + _Arch, + _ESp, + _SSn, + _RVC, + _LC, + _TCe, + _CPC, + _CSon, + _DC, + ), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 0), + (lambda: schemas.NAME_SPACED_FUNCTION_ARN, 0), + (lambda: schemas.RUNTIME, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.HANDLER, 0), + (lambda: schemas.LONG, {_s: 0}), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMEOUT, 0), + (lambda: schemas.MEMORY_SIZE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VERSION, 0), + (VPC_CONFIG_RESPONSE, 0), + (lambda: schemas.DEAD_LETTER_CONFIG, 0), + (ENVIRONMENT_RESPONSE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (TRACING_CONFIG_RESPONSE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.STRING, 0), + (LAYERS_REFERENCE_LIST, 0), + (lambda: schemas.STATE, 0), + (STATE_REASON, 0), + (STATE_REASON_CODE, 0), + (LAST_UPDATE_STATUS, 0), + (LAST_UPDATE_STATUS_REASON, 0), + (LAST_UPDATE_STATUS_REASON_CODE, 0), + (lambda: schemas.FILE_SYSTEM_CONFIG_LIST, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.PACKAGE_TYPE, 0), + (IMAGE_CONFIG_RESPONSE, 0), + (lambda: schemas.ARCHITECTURES_LIST, 0), + (lambda: schemas.EPHEMERAL_STORAGE, 0), + (SNAP_START_RESPONSE, 0), + (RUNTIME_VERSION_CONFIG, 0), + (lambda: schemas.LOGGING_CONFIG, 0), + (lambda: schemas.TENANCY_CONFIG, 0), + (lambda: schemas.CAPACITY_PROVIDER_CONFIG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DURABLE_CONFIG, 0), + ), +) + +TAGS_ERROR_CODE: StaticSchema = (3, n0, _TEC, 0) + +TAGS_ERROR_MESSAGE: StaticSchema = (3, n0, _TEM, 0) + +TAGS_ERROR: StaticSchema = ( + 18, + n0, + _TE, + 0, + (_ECrr, _M), + ((TAGS_ERROR_CODE, 1), (TAGS_ERROR_MESSAGE, 1)), +) + +GET_FUNCTION_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GFCSCI, + {_sSI: _cGFCSCR, _sm: None}, + (_FN,), + ((lambda: schemas.NAMESPACED_FUNCTION_NAME, 9),), +) + +GET_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GFCSCO, + {_sSI: _cGFCSCRo, _smit: None}, + (_CSCA, _FN), + ((lambda: schemas.CODE_SIGNING_CONFIG_ARN, 1), (lambda: schemas.FUNCTION_NAME, 1)), +) + +GET_FUNCTION_CODE_SIGNING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GFCSC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2020-06-30/functions/{FunctionName}/code-signing-config", + "code": 200, + } + ) + }, + GET_FUNCTION_CODE_SIGNING_CONFIG_INPUT, + GET_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT, + ( + lambda: schemas.CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_FUNCTION_CONCURRENCY_INPUT: StaticSchema = ( + 18, + n0, + _GFCI, + {_sSI: _cGFCR, _sm: None}, + (_FN,), + ((lambda: schemas.FUNCTION_NAME, 9),), +) + +GET_FUNCTION_CONCURRENCY_OUTPUT: StaticSchema = ( + 18, + n0, + _GFCO, + {_sSI: _cGFCRo, _smit: None}, + (_RCEe,), + ((lambda: schemas.RESERVED_CONCURRENT_EXECUTIONS, 0),), +) + +GET_FUNCTION_CONCURRENCY: StaticOperationSchema = ( + 23, + n0, + _GFC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2019-09-30/functions/{FunctionName}/concurrency", + "code": 200, + } + ) + }, + GET_FUNCTION_CONCURRENCY_INPUT, + GET_FUNCTION_CONCURRENCY_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_FUNCTION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GFCIe, + {_sSI: _cGFCRom, _sm: None}, + (_FN, _Q), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + ), +) + +GET_FUNCTION_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GFCOe, + {_sSI: _cFC, _smit: None}, + ( + _FN, + _FA, + _Ru, + _Ro, + _H, + _CSod, + _D, + _Tim, + _MS, + _LM, + _CSode, + _V, + _VC, + _DLC, + _Env, + _KMSKA, + _TCr, + _MA, + _RI, + _La, + _Sta, + _SR, + _SRCt, + _LUS, + _LUSR, + _LUSRC, + _FSCi, + _SPVAi, + _SJA, + _PTa, + _ICR, + _Arch, + _ESp, + _SSn, + _RVC, + _LC, + _TCe, + _CPC, + _CSon, + _DC, + ), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 0), + (lambda: schemas.NAME_SPACED_FUNCTION_ARN, 0), + (lambda: schemas.RUNTIME, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.HANDLER, 0), + (lambda: schemas.LONG, {_s: 0}), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMEOUT, 0), + (lambda: schemas.MEMORY_SIZE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VERSION, 0), + (VPC_CONFIG_RESPONSE, 0), + (lambda: schemas.DEAD_LETTER_CONFIG, 0), + (ENVIRONMENT_RESPONSE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (TRACING_CONFIG_RESPONSE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.STRING, 0), + (LAYERS_REFERENCE_LIST, 0), + (lambda: schemas.STATE, 0), + (STATE_REASON, 0), + (STATE_REASON_CODE, 0), + (LAST_UPDATE_STATUS, 0), + (LAST_UPDATE_STATUS_REASON, 0), + (LAST_UPDATE_STATUS_REASON_CODE, 0), + (lambda: schemas.FILE_SYSTEM_CONFIG_LIST, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.PACKAGE_TYPE, 0), + (IMAGE_CONFIG_RESPONSE, 0), + (lambda: schemas.ARCHITECTURES_LIST, 0), + (lambda: schemas.EPHEMERAL_STORAGE, 0), + (SNAP_START_RESPONSE, 0), + (RUNTIME_VERSION_CONFIG, 0), + (lambda: schemas.LOGGING_CONFIG, 0), + (lambda: schemas.TENANCY_CONFIG, 0), + (lambda: schemas.CAPACITY_PROVIDER_CONFIG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DURABLE_CONFIG, 0), + ), +) + +GET_FUNCTION_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GFCe, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2015-03-31/functions/{FunctionName}/configuration", + "code": 200, + } + ) + }, + GET_FUNCTION_CONFIGURATION_INPUT, + GET_FUNCTION_CONFIGURATION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UNQUALIFIED_FUNCTION_NAME: StaticSchema = (3, n0, _UFN, 0) + +GET_FUNCTION_RECURSION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GFRCI, + {_sSI: _cGFRCR, _sm: None}, + (_FN,), + ((UNQUALIFIED_FUNCTION_NAME, 9),), +) + +GET_FUNCTION_RECURSION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GFRCO, + {_sSI: _cGFRCRo, _smit: None}, + (_RL,), + ((lambda: RECURSIVE_LOOP, 0),), +) + +GET_FUNCTION_RECURSION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GFRC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2024-08-31/functions/{FunctionName}/recursion-config", + "code": 200, + } + ) + }, + GET_FUNCTION_RECURSION_CONFIG_INPUT, + GET_FUNCTION_RECURSION_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +RECURSIVE_LOOP: StaticSchema = ( + 14, + n0, + _RL, + 0, + (_All, _Ter), + ((-1, {_sV: _All}), (-1, {_sV: _Ter})), +) + +PUBLISHED_FUNCTION_QUALIFIER: StaticSchema = (3, n0, _PFQ, 0) + +GET_FUNCTION_SCALING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GFSCI, + {_sSI: _cGFSCR, _sm: None}, + (_FN, _Q), + ( + (UNQUALIFIED_FUNCTION_NAME, 9), + (PUBLISHED_FUNCTION_QUALIFIER, {_sQ: _Q, _smi: None}), + ), +) + +GET_FUNCTION_SCALING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GFSCO, + {_sSI: _cGFSCRo, _smit: None}, + (_FA, _AFSC, _RFSC), + ( + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.FUNCTION_SCALING_CONFIG, 0), + (lambda: schemas.FUNCTION_SCALING_CONFIG, 0), + ), +) + +GET_FUNCTION_SCALING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GFSC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2025-11-30/functions/{FunctionName}/function-scaling-config", + "code": 200, + } + ) + }, + GET_FUNCTION_SCALING_CONFIG_INPUT, + GET_FUNCTION_SCALING_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UPDATE_RUNTIME_ON: StaticSchema = ( + 14, + n0, + _URO, + 0, + (_Au, _Ma, _FUu), + ((-1, {_sV: _Au}), (-1, {_sV: _Ma}), (-1, {_sV: _FUu})), +) diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_5.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_5.py new file mode 100644 index 000000000..2b237f4cb --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_5.py @@ -0,0 +1,1247 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.lambda" +_s = "smithy.api#default" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_RI = "RevisionId" +_sQ = "smithy.api#httpQuery" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_T = "Type" +_m = "message" +_M = "Message" +_se = "server" +_sV = "smithy.api#enumValue" +_sH = "smithy.api#httpHeader" +_smithy = "smithy.api#http" +_FN = "FunctionName" +_Q = "Qualifier" +_FA = "FunctionArn" +_FV = "FunctionVersion" +_me = "member" +_No = "None" +_KMSKA = "KMSKeyArn" +_Mar = "Marker" +_MI = "MaxItems" +_NM = "NextMarker" +_SC = "StatusCode" +_sRC = "smithy.api#httpResponseCode" +_DEA = "DurableExecutionArn" +_TI = "TenantId" +_Pa = "Payload" +_READY = "READY" +_FAILED = "FAILED" +_STt = "StartTimestamp" +_ETn = "EndTimestamp" +_Stat = "Status" +_DEN = "DurableExecutionName" +_RO = "ReverseOrder" +_EV = "ExecutedVersion" +_Ev = "Event" +_sP = "smithy.api#httpPayload" +_ECrr = "ErrorCode" +_IZFE = "InvalidZipFileException" +_FE = "FunctionError" +_SQEE = "ServiceQuotaExceededException" +_RVA = "RuntimeVersionArn" +_Cor = "Cors" +_IM = "InvokeMode" +_ATu = "AuthType" +_FU = "FunctionUrl" +_CTr = "CreationTime" +_FSCEE = "FunctionScalingConfigExecutionEnvironments" +_FSCu = "FunctionScalingConfig" +_MEE = "MinExecutionEnvironments" +_MEEa = "MaxExecutionEnvironments" +_GFUCI = "GetFunctionUrlConfigInput" +_cGFUCR = "com.amazonaws.lambda#GetFunctionUrlConfigRequest" +_GFUCO = "GetFunctionUrlConfigOutput" +_cGFUCRo = "com.amazonaws.lambda#GetFunctionUrlConfigResponse" +_LMT = "LastModifiedTime" +_GFUC = "GetFunctionUrlConfig" +_GPI = "GetPolicyInput" +_cGPR = "com.amazonaws.lambda#GetPolicyRequest" +_GPO = "GetPolicyOutput" +_cGPRo = "com.amazonaws.lambda#GetPolicyResponse" +_Po = "Policy" +_GP = "GetPolicy" +_GRMCI = "GetRuntimeManagementConfigInput" +_cGRMCR = "com.amazonaws.lambda#GetRuntimeManagementConfigRequest" +_URO = "UpdateRuntimeOn" +_GRMCO = "GetRuntimeManagementConfigOutput" +_cGRMCRo = "com.amazonaws.lambda#GetRuntimeManagementConfigResponse" +_GRMC = "GetRuntimeManagementConfig" +_CAUDE = "CodeArtifactUserDeletedException" +_CAUFE = "CodeArtifactUserFailedException" +_CAUPE = "CodeArtifactUserPendingException" +_DEASE = "DurableExecutionAlreadyStartedException" +_ECADE = "EC2AccessDeniedException" +_ECTE = "EC2ThrottledException" +_ECUE = "EC2UnexpectedException" +_ECEC = "EC2ErrorCode" +_EFSIOEx = "EFSIOException" +_EFSMCEo = "EFSMountConnectivityException" +_EFSMFE = "EFSMountFailureException" +_EFSMTE = "EFSMountTimeoutException" +_ENILRE = "ENILimitReachedException" +_ENINRE = "ENINotReadyException" +_IRCE = "InvalidRequestContentException" +_IRE = "InvalidRuntimeException" +_ISGIDE = "InvalidSecurityGroupIDException" +_ISIDE = "InvalidSubnetIDException" +_ITn = "InvocationType" +_RR = "RequestResponse" +_DR = "DryRun" +_LT = "LogType" +_Tai = "Tail" +_IIn = "InvokeInput" +_cIR = "com.amazonaws.lambda#InvocationRequest" +_XAIT = "X-Amz-Invocation-Type" +_XALT = "X-Amz-Log-Type" +_CC = "ClientContext" +_XACC = "X-Amz-Client-Context" +_XADEN = "X-Amz-Durable-Execution-Name" +_XATI_ = "X-Amz-Tenant-Id" +_IO = "InvokeOutput" +_cIRo = "com.amazonaws.lambda#InvocationResponse" +_XAFE = "X-Amz-Function-Error" +_LR = "LogResult" +_XALR = "X-Amz-Log-Result" +_XAEV = "X-Amz-Executed-Version" +_XADEA = "X-Amz-Durable-Execution-Arn" +_MNSE = "ModeNotSupportedException" +_NPVE = "NoPublishedVersionException" +_RIE = "RecursiveInvocationException" +_RTLE = "RequestTooLargeException" +_RNRE = "ResourceNotReadyException" +_SFMCE = "S3FilesMountConnectivityException" +_SFMFE = "S3FilesMountFailureException" +_SFMTE = "S3FilesMountTimeoutException" +_SRETLE = "SerializedRequestEntityTooLargeException" +_SSE = "SnapStartException" +_SSNRE = "SnapStartNotReadyException" +_SSRFE = "SnapStartRegenerationFailureException" +_SSTE = "SnapStartTimeoutException" +_SIPALRE = "SubnetIPAddressLimitReachedException" +_UMTE = "UnsupportedMediaTypeException" +_Inv = "Invoke" +_BSl = "BlobStream" +_smithyap = "smithy.api#streaming" +_IAI = "InvokeAsyncInput" +_cIAR = "com.amazonaws.lambda#InvokeAsyncRequest" +_IAn = "InvokeArgs" +_HS = "HttpStatus" +_IAO = "InvokeAsyncOutput" +_cIARo = "com.amazonaws.lambda#InvokeAsyncResponse" +_IAnv = "InvokeAsync" +_RSIT = "ResponseStreamingInvocationType" +_IWRSI = "InvokeWithResponseStreamInput" +_cIWRSR = "com.amazonaws.lambda#InvokeWithResponseStreamRequest" +_IWRSCE = "InvokeWithResponseStreamCompleteEvent" +_EDr = "ErrorDetails" +_IRSU = "InvokeResponseStreamUpdate" +_sPm = "smithy.api#eventPayload" +_IWRSRE = "InvokeWithResponseStreamResponseEvent" +_PCa = "PayloadChunk" +_ICnvo = "InvokeComplete" +_IWRSO = "InvokeWithResponseStreamOutput" +_cIWRSRo = "com.amazonaws.lambda#InvokeWithResponseStreamResponse" +_ESv = "EventStream" +_RSCT = "ResponseStreamContentType" +_CT_ = "Content-Type" +_IWRS = "InvokeWithResponseStream" +_ESL = "ExecutionStatusList" +_LDEBFI = "ListDurableExecutionsByFunctionInput" +_cLDEBFR = "com.amazonaws.lambda#ListDurableExecutionsByFunctionRequest" +_Statu = "Statuses" +_SAt = "StartedAfter" +_SBt = "StartedBefore" +_Exe = "Execution" +_DEu = "DurableExecutions" +_LDEBFO = "ListDurableExecutionsByFunctionOutput" +_cLDEBFRo = "com.amazonaws.lambda#ListDurableExecutionsByFunctionResponse" +_LDEBF = "ListDurableExecutionsByFunction" +_ALL_ = "ALL" +_MR = "MasterRegion" +_LFI = "ListFunctionsInput" +_cLFR = "com.amazonaws.lambda#ListFunctionsRequest" +_LFO = "ListFunctionsOutput" +_cLFRo = "com.amazonaws.lambda#ListFunctionsResponse" +_Fu = "Functions" +_LFi = "ListFunctions" +_LFUCI = "ListFunctionUrlConfigsInput" +_cLFUCR = "com.amazonaws.lambda#ListFunctionUrlConfigsRequest" +_FUC = "FunctionUrlConfig" +_FUCL = "FunctionUrlConfigList" +_LFUCO = "ListFunctionUrlConfigsOutput" +_cLFUCRo = "com.amazonaws.lambda#ListFunctionUrlConfigsResponse" +_FUCu = "FunctionUrlConfigs" +_LFUC = "ListFunctionUrlConfigs" +_MPCCLI = "MaxProvisionedConcurrencyConfigListItems" +_LPCCI = "ListProvisionedConcurrencyConfigsInput" +_cLPCCR = "com.amazonaws.lambda#ListProvisionedConcurrencyConfigsRequest" +_NNI = "NonNegativeInteger" +_PIo = "PositiveInteger" +_PCSE = "ProvisionedConcurrencyStatusEnum" +_IP_ = "IN_PROGRESS" +_LPCCO = "ListProvisionedConcurrencyConfigsOutput" +_cLPCCRo = "com.amazonaws.lambda#ListProvisionedConcurrencyConfigsResponse" +_PCC = "ProvisionedConcurrencyConfigs" +_LPCC = "ListProvisionedConcurrencyConfigs" + +FUNCTION_SCALING_CONFIG_EXECUTION_ENVIRONMENTS: StaticSchema = (7, n0, _FSCEE, 0) + +FUNCTION_SCALING_CONFIG: StaticSchema = ( + 18, + n0, + _FSCu, + 0, + (_MEE, _MEEa), + ( + (FUNCTION_SCALING_CONFIG_EXECUTION_ENVIRONMENTS, 0), + (FUNCTION_SCALING_CONFIG_EXECUTION_ENVIRONMENTS, 0), + ), +) + +GET_FUNCTION_URL_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GFUCI, + {_sSI: _cGFUCR, _sm: None}, + (_FN, _Q), + ( + (lambda: schemas.FUNCTION_URL_FUNCTION_NAME, 9), + (lambda: schemas.FUNCTION_URL_QUALIFIER, {_sQ: _Q}), + ), +) + +GET_FUNCTION_URL_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GFUCO, + {_sSI: _cGFUCRo, _smit: None}, + (_FU, _FA, _ATu, _Cor, _CTr, _LMT, _IM), + ( + (lambda: schemas.FUNCTION_URL, 1), + (lambda: schemas.FUNCTION_ARN, 1), + (lambda: schemas.FUNCTION_URL_AUTH_TYPE, 1), + (lambda: schemas.CORS, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.INVOKE_MODE, 0), + ), +) + +GET_FUNCTION_URL_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GFUC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2021-10-31/functions/{FunctionName}/url", + "code": 200, + } + ) + }, + GET_FUNCTION_URL_CONFIG_INPUT, + GET_FUNCTION_URL_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GPI, + {_sSI: _cGPR, _sm: None}, + (_FN, _Q), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + ), +) + +GET_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GPO, + {_sSI: _cGPRo, _smit: None}, + (_Po, _RI), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +GET_POLICY: StaticOperationSchema = ( + 23, + n0, + _GP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2015-03-31/functions/{FunctionName}/policy", + "code": 200, + } + ) + }, + GET_POLICY_INPUT, + GET_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_RUNTIME_MANAGEMENT_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GRMCI, + {_sSI: _cGRMCR, _sm: None}, + (_FN, _Q), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + ), +) + +GET_RUNTIME_MANAGEMENT_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GRMCO, + {_sSI: _cGRMCRo, _smit: None}, + (_URO, _FA, _RVA), + ( + (lambda: schemas.UPDATE_RUNTIME_ON, 0), + (lambda: schemas.NAME_SPACED_FUNCTION_ARN, 0), + (lambda: schemas.RUNTIME_VERSION_ARN, 0), + ), +) + +GET_RUNTIME_MANAGEMENT_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GRMC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2021-07-20/functions/{FunctionName}/runtime-management-config", + "code": 200, + } + ) + }, + GET_RUNTIME_MANAGEMENT_CONFIG_INPUT, + GET_RUNTIME_MANAGEMENT_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CODE_ARTIFACT_USER_DELETED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CAUDE, + {_smith: _c, _sE: 409}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CODE_ARTIFACT_USER_FAILED_EXCEPTION: StaticSchema = ( + 18, + n0, + _CAUFE, + {_smith: _c, _sE: 409}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CODE_ARTIFACT_USER_PENDING_EXCEPTION: StaticSchema = ( + 18, + n0, + _CAUPE, + {_smith: _c, _sE: 409}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DURABLE_EXECUTION_ALREADY_STARTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _DEASE, + {_smith: _c, _sE: 409}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +EC2_ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ECADE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +EC2_THROTTLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ECTE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +EC2_UNEXPECTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ECUE, + {_smith: _se, _sE: 502}, + (_T, _M, _ECEC), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +EFSIO_EXCEPTION: StaticSchema = ( + 18, + n0, + _EFSIOEx, + {_smith: _c, _sE: 410}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +EFS_MOUNT_CONNECTIVITY_EXCEPTION: StaticSchema = ( + 18, + n0, + _EFSMCEo, + {_smith: _c, _sE: 408}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +EFS_MOUNT_FAILURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _EFSMFE, + {_smith: _c, _sE: 403}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +EFS_MOUNT_TIMEOUT_EXCEPTION: StaticSchema = ( + 18, + n0, + _EFSMTE, + {_smith: _c, _sE: 408}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +ENI_LIMIT_REACHED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ENILRE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +ENI_NOT_READY_EXCEPTION: StaticSchema = ( + 18, + n0, + _ENINRE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +INVALID_REQUEST_CONTENT_EXCEPTION: StaticSchema = ( + 18, + n0, + _IRCE, + {_smith: _c, _sE: 400}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +INVALID_RUNTIME_EXCEPTION: StaticSchema = ( + 18, + n0, + _IRE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +INVALID_SECURITY_GROUP_ID_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISGIDE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +INVALID_SUBNET_ID_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISIDE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +INVALID_ZIP_FILE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IZFE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +INVOCATION_TYPE: StaticSchema = ( + 14, + n0, + _ITn, + 0, + (_Ev, _RR, _DR), + ((-1, {_sV: _Ev}), (-1, {_sV: _RR}), (-1, {_sV: _DR})), +) + +LOG_TYPE: StaticSchema = ( + 14, + n0, + _LT, + 0, + (_No, _Tai), + ((-1, {_sV: _No}), (-1, {_sV: _Tai})), +) + +INVOKE_INPUT: StaticSchema = ( + 18, + n0, + _IIn, + {_sSI: _cIR, _sm: None}, + (_FN, _ITn, _LT, _CC, _DEN, _Pa, _Q, _TI), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (INVOCATION_TYPE, {_sH: _XAIT}), + (LOG_TYPE, {_sH: _XALT}), + (lambda: schemas.STRING, {_sH: _XACC}), + (lambda: schemas.DURABLE_EXECUTION_NAME, {_sH: _XADEN}), + (lambda: schemas.BLOB, 16), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + (lambda: schemas.TENANT_ID, {_sH: _XATI_}), + ), +) + +INVOKE_OUTPUT: StaticSchema = ( + 18, + n0, + _IO, + {_sSI: _cIRo, _smit: None}, + (_SC, _FE, _LR, _Pa, _EV, _DEA), + ( + (lambda: schemas.INTEGER, {_s: 0, _sRC: None}), + (lambda: schemas.STRING, {_sH: _XAFE}), + (lambda: schemas.STRING, {_sH: _XALR}), + (lambda: schemas.BLOB, 16), + (lambda: schemas.VERSION, {_sH: _XAEV}), + (lambda: schemas.DURABLE_EXECUTION_ARN, {_sH: _XADEA}), + ), +) + +INVOKE: StaticOperationSchema = ( + 23, + n0, + _Inv, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2015-03-31/functions/{FunctionName}/invocations", + "code": 200, + } + ) + }, + INVOKE_INPUT, + INVOKE_OUTPUT, + ( + CODE_ARTIFACT_USER_DELETED_EXCEPTION, + CODE_ARTIFACT_USER_FAILED_EXCEPTION, + CODE_ARTIFACT_USER_PENDING_EXCEPTION, + DURABLE_EXECUTION_ALREADY_STARTED_EXCEPTION, + EC2_ACCESS_DENIED_EXCEPTION, + EC2_THROTTLED_EXCEPTION, + EC2_UNEXPECTED_EXCEPTION, + EFSIO_EXCEPTION, + EFS_MOUNT_CONNECTIVITY_EXCEPTION, + EFS_MOUNT_FAILURE_EXCEPTION, + EFS_MOUNT_TIMEOUT_EXCEPTION, + ENI_LIMIT_REACHED_EXCEPTION, + ENI_NOT_READY_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + INVALID_REQUEST_CONTENT_EXCEPTION, + INVALID_RUNTIME_EXCEPTION, + INVALID_SECURITY_GROUP_ID_EXCEPTION, + INVALID_SUBNET_ID_EXCEPTION, + INVALID_ZIP_FILE_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + lambda: MODE_NOT_SUPPORTED_EXCEPTION, + lambda: NO_PUBLISHED_VERSION_EXCEPTION, + lambda: RECURSIVE_INVOCATION_EXCEPTION, + lambda: REQUEST_TOO_LARGE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: RESOURCE_NOT_READY_EXCEPTION, + lambda: S3_FILES_MOUNT_CONNECTIVITY_EXCEPTION, + lambda: S3_FILES_MOUNT_FAILURE_EXCEPTION, + lambda: S3_FILES_MOUNT_TIMEOUT_EXCEPTION, + lambda: SERIALIZED_REQUEST_ENTITY_TOO_LARGE_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: SNAP_START_EXCEPTION, + lambda: SNAP_START_NOT_READY_EXCEPTION, + lambda: SNAP_START_REGENERATION_FAILURE_EXCEPTION, + lambda: SNAP_START_TIMEOUT_EXCEPTION, + lambda: SUBNET_IP_ADDRESS_LIMIT_REACHED_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + lambda: UNSUPPORTED_MEDIA_TYPE_EXCEPTION, + ), +) + +MODE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _MNSE, + {_smith: _c, _sE: 400}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +NO_PUBLISHED_VERSION_EXCEPTION: StaticSchema = ( + 18, + n0, + _NPVE, + {_smith: _c, _sE: 400}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +RECURSIVE_INVOCATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _RIE, + {_smith: _c, _sE: 400}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +REQUEST_TOO_LARGE_EXCEPTION: StaticSchema = ( + 18, + n0, + _RTLE, + {_smith: _c, _sE: 413}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +RESOURCE_NOT_READY_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNRE, + {_smith: _se, _sE: 502}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +S3_FILES_MOUNT_CONNECTIVITY_EXCEPTION: StaticSchema = ( + 18, + n0, + _SFMCE, + {_smith: _c, _sE: 408}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +S3_FILES_MOUNT_FAILURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SFMFE, + {_smith: _c, _sE: 403}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +S3_FILES_MOUNT_TIMEOUT_EXCEPTION: StaticSchema = ( + 18, + n0, + _SFMTE, + {_smith: _c, _sE: 408}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SERIALIZED_REQUEST_ENTITY_TOO_LARGE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SRETLE, + {_smith: _c, _sE: 413}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_smith: _c, _sE: 402}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SNAP_START_EXCEPTION: StaticSchema = ( + 18, + n0, + _SSE, + {_smith: _c, _sE: 400}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SNAP_START_NOT_READY_EXCEPTION: StaticSchema = ( + 18, + n0, + _SSNRE, + {_smith: _c, _sE: 409}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SNAP_START_REGENERATION_FAILURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SSRFE, + {_smith: _c, _sE: 409}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SNAP_START_TIMEOUT_EXCEPTION: StaticSchema = ( + 18, + n0, + _SSTE, + {_smith: _c, _sE: 408}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SUBNET_IP_ADDRESS_LIMIT_REACHED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SIPALRE, + {_smith: _se, _sE: 502}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +UNSUPPORTED_MEDIA_TYPE_EXCEPTION: StaticSchema = ( + 18, + n0, + _UMTE, + {_smith: _c, _sE: 415}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +BLOB_STREAM: StaticSchema = (1, n0, _BSl, {_smithyap: None}) + +INVOKE_ASYNC_INPUT: StaticSchema = ( + 18, + n0, + _IAI, + {_sSI: _cIAR, _sm: None}, + (_FN, _IAn), + ((lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), (BLOB_STREAM, 17)), +) + +INVOKE_ASYNC_OUTPUT: StaticSchema = ( + 18, + n0, + _IAO, + {_sSI: _cIARo, _smit: None}, + (_Stat,), + ((lambda: HTTP_STATUS, {_s: 0, _sRC: None}),), +) + +INVOKE_ASYNC: StaticOperationSchema = ( + 23, + n0, + _IAnv, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2014-11-13/functions/{FunctionName}/invoke-async", + "code": 202, + } + ) + }, + INVOKE_ASYNC_INPUT, + INVOKE_ASYNC_OUTPUT, + ( + EC2_ACCESS_DENIED_EXCEPTION, + EC2_THROTTLED_EXCEPTION, + EC2_UNEXPECTED_EXCEPTION, + EFSIO_EXCEPTION, + EFS_MOUNT_CONNECTIVITY_EXCEPTION, + EFS_MOUNT_FAILURE_EXCEPTION, + EFS_MOUNT_TIMEOUT_EXCEPTION, + ENI_LIMIT_REACHED_EXCEPTION, + INVALID_REQUEST_CONTENT_EXCEPTION, + INVALID_RUNTIME_EXCEPTION, + INVALID_SECURITY_GROUP_ID_EXCEPTION, + INVALID_SUBNET_ID_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + MODE_NOT_SUPPORTED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + S3_FILES_MOUNT_CONNECTIVITY_EXCEPTION, + S3_FILES_MOUNT_FAILURE_EXCEPTION, + S3_FILES_MOUNT_TIMEOUT_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + SNAP_START_EXCEPTION, + SNAP_START_NOT_READY_EXCEPTION, + SNAP_START_REGENERATION_FAILURE_EXCEPTION, + SNAP_START_TIMEOUT_EXCEPTION, + SUBNET_IP_ADDRESS_LIMIT_REACHED_EXCEPTION, + ), +) + +HTTP_STATUS: StaticSchema = (7, n0, _HS, {_s: 0}) + +RESPONSE_STREAMING_INVOCATION_TYPE: StaticSchema = ( + 14, + n0, + _RSIT, + 0, + (_RR, _DR), + ((-1, {_sV: _RR}), (-1, {_sV: _DR})), +) + +INVOKE_WITH_RESPONSE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _IWRSI, + {_sSI: _cIWRSR, _sm: None}, + (_FN, _LT, _CC, _Q, _Pa, _TI, _ITn), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (LOG_TYPE, {_sH: _XALT}), + (lambda: schemas.STRING, {_sH: _XACC}), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + (lambda: schemas.BLOB, 16), + (lambda: schemas.TENANT_ID, {_sH: _XATI_}), + (RESPONSE_STREAMING_INVOCATION_TYPE, {_sH: _XAIT}), + ), +) + +INVOKE_WITH_RESPONSE_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _IWRSO, + {_sSI: _cIWRSRo, _smit: None}, + (_SC, _EV, _ESv, _RSCT), + ( + (lambda: schemas.INTEGER, {_s: 0, _sRC: None}), + (lambda: schemas.VERSION, {_sH: _XAEV}), + (lambda: INVOKE_WITH_RESPONSE_STREAM_RESPONSE_EVENT, 16), + (lambda: schemas.STRING, {_sH: _CT_}), + ), +) + +INVOKE_WITH_RESPONSE_STREAM: StaticOperationSchema = ( + 23, + n0, + _IWRS, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2021-11-15/functions/{FunctionName}/response-streaming-invocations", + "code": 200, + } + ) + }, + INVOKE_WITH_RESPONSE_STREAM_INPUT, + INVOKE_WITH_RESPONSE_STREAM_OUTPUT, + ( + CODE_ARTIFACT_USER_DELETED_EXCEPTION, + CODE_ARTIFACT_USER_FAILED_EXCEPTION, + CODE_ARTIFACT_USER_PENDING_EXCEPTION, + EC2_ACCESS_DENIED_EXCEPTION, + EC2_THROTTLED_EXCEPTION, + EC2_UNEXPECTED_EXCEPTION, + EFSIO_EXCEPTION, + EFS_MOUNT_CONNECTIVITY_EXCEPTION, + EFS_MOUNT_FAILURE_EXCEPTION, + EFS_MOUNT_TIMEOUT_EXCEPTION, + ENI_LIMIT_REACHED_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + INVALID_REQUEST_CONTENT_EXCEPTION, + INVALID_RUNTIME_EXCEPTION, + INVALID_SECURITY_GROUP_ID_EXCEPTION, + INVALID_SUBNET_ID_EXCEPTION, + INVALID_ZIP_FILE_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + NO_PUBLISHED_VERSION_EXCEPTION, + RECURSIVE_INVOCATION_EXCEPTION, + REQUEST_TOO_LARGE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + RESOURCE_NOT_READY_EXCEPTION, + S3_FILES_MOUNT_CONNECTIVITY_EXCEPTION, + S3_FILES_MOUNT_FAILURE_EXCEPTION, + S3_FILES_MOUNT_TIMEOUT_EXCEPTION, + SERIALIZED_REQUEST_ENTITY_TOO_LARGE_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + SNAP_START_EXCEPTION, + SNAP_START_NOT_READY_EXCEPTION, + SNAP_START_REGENERATION_FAILURE_EXCEPTION, + SNAP_START_TIMEOUT_EXCEPTION, + SUBNET_IP_ADDRESS_LIMIT_REACHED_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + UNSUPPORTED_MEDIA_TYPE_EXCEPTION, + ), +) + +INVOKE_WITH_RESPONSE_STREAM_COMPLETE_EVENT: StaticSchema = ( + 18, + n0, + _IWRSCE, + 0, + (_ECrr, _EDr, _LR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +INVOKE_RESPONSE_STREAM_UPDATE: StaticSchema = ( + 18, + n0, + _IRSU, + 0, + (_Pa,), + ((lambda: schemas.BLOB, {_sPm: None}),), +) + +INVOKE_WITH_RESPONSE_STREAM_RESPONSE_EVENT: StaticSchema = ( + 19, + n0, + _IWRSRE, + {_smithyap: None}, + (_PCa, _ICnvo), + ( + (INVOKE_RESPONSE_STREAM_UPDATE, 0), + (INVOKE_WITH_RESPONSE_STREAM_COMPLETE_EVENT, 0), + ), +) + +EXECUTION_STATUS_LIST: StaticSchema = ( + 16, + n0, + _ESL, + 0, + (_me,), + ((lambda: schemas.EXECUTION_STATUS, 0),), +) + +LIST_DURABLE_EXECUTIONS_BY_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _LDEBFI, + {_sSI: _cLDEBFR, _sm: None}, + (_FN, _Q, _DEN, _Statu, _SAt, _SBt, _RO, _Mar, _MI), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + (lambda: schemas.DURABLE_EXECUTION_NAME, {_sQ: _DEN}), + (EXECUTION_STATUS_LIST, {_sQ: _Statu}), + (lambda: schemas.EXECUTION_TIMESTAMP, {_sQ: _SAt}), + (lambda: schemas.EXECUTION_TIMESTAMP, {_sQ: _SBt}), + (lambda: schemas.REVERSE_ORDER, {_sQ: _RO}), + (lambda: schemas.STRING, {_sQ: _Mar}), + (lambda: schemas.ITEM_COUNT, {_s: 0, _sQ: _MI}), + ), +) + +LIST_DURABLE_EXECUTIONS_BY_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _LDEBFO, + {_sSI: _cLDEBFRo, _smit: None}, + (_DEu, _NM), + ((lambda: DURABLE_EXECUTIONS, 0), (lambda: schemas.STRING, 0)), +) + +LIST_DURABLE_EXECUTIONS_BY_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _LDEBF, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2025-12-01/functions/{FunctionName}/durable-executions", + "code": 200, + } + ) + }, + LIST_DURABLE_EXECUTIONS_BY_FUNCTION_INPUT, + LIST_DURABLE_EXECUTIONS_BY_FUNCTION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +EXECUTION: StaticSchema = ( + 18, + n0, + _Exe, + 0, + (_DEA, _DEN, _FA, _Stat, _STt, _ETn, _KMSKA), + ( + (lambda: schemas.DURABLE_EXECUTION_ARN, 1), + (lambda: schemas.DURABLE_EXECUTION_NAME, 1), + (lambda: schemas.NAME_SPACED_FUNCTION_ARN, 1), + (lambda: schemas.EXECUTION_STATUS, 1), + (lambda: schemas.EXECUTION_TIMESTAMP, 1), + (lambda: schemas.EXECUTION_TIMESTAMP, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +DURABLE_EXECUTIONS: StaticSchema = (16, n0, _DEu, 0, (_me,), ((EXECUTION, 0),)) + +FUNCTION_VERSION: StaticSchema = (14, n0, _FV, 0, (_ALL_,), ((-1, {_sV: _ALL_}),)) + +MASTER_REGION: StaticSchema = (3, n0, _MR, 0) + +LIST_FUNCTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LFI, + {_sSI: _cLFR, _sm: None}, + (_MR, _FV, _Mar, _MI), + ( + (MASTER_REGION, {_sQ: _MR}), + (FUNCTION_VERSION, {_sQ: _FV}), + (lambda: schemas.STRING, {_sQ: _Mar}), + (lambda: schemas.MAX_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_FUNCTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFO, + {_sSI: _cLFRo, _smit: None}, + (_NM, _Fu), + ((lambda: schemas.STRING, 0), (lambda: schemas.FUNCTION_LIST, 0)), +) + +LIST_FUNCTIONS: StaticOperationSchema = ( + 23, + n0, + _LFi, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2015-03-31/functions", "code": 200} + ) + }, + LIST_FUNCTIONS_INPUT, + LIST_FUNCTIONS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +MAX_ITEMS: StaticSchema = (7, n0, _MI, 0) + +LIST_FUNCTION_URL_CONFIGS_INPUT: StaticSchema = ( + 18, + n0, + _LFUCI, + {_sSI: _cLFUCR, _sm: None}, + (_FN, _Mar, _MI), + ( + (lambda: schemas.FUNCTION_URL_FUNCTION_NAME, 9), + (lambda: schemas.STRING, {_sQ: _Mar}), + (MAX_ITEMS, {_sQ: _MI}), + ), +) + +LIST_FUNCTION_URL_CONFIGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFUCO, + {_sSI: _cLFUCRo, _smit: None}, + (_FUCu, _NM), + ((lambda: FUNCTION_URL_CONFIG_LIST, 1), (lambda: schemas.STRING, 0)), +) + +LIST_FUNCTION_URL_CONFIGS: StaticOperationSchema = ( + 23, + n0, + _LFUC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2021-10-31/functions/{FunctionName}/urls", + "code": 200, + } + ) + }, + LIST_FUNCTION_URL_CONFIGS_INPUT, + LIST_FUNCTION_URL_CONFIGS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +FUNCTION_URL_CONFIG: StaticSchema = ( + 18, + n0, + _FUC, + 0, + (_FU, _FA, _CTr, _LMT, _Cor, _ATu, _IM), + ( + (lambda: schemas.FUNCTION_URL, 1), + (lambda: schemas.FUNCTION_ARN, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.CORS, 0), + (lambda: schemas.FUNCTION_URL_AUTH_TYPE, 1), + (lambda: schemas.INVOKE_MODE, 0), + ), +) + +FUNCTION_URL_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _FUCL, + 0, + (_me,), + ((FUNCTION_URL_CONFIG, 0),), +) + +MAX_PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEMS: StaticSchema = (7, n0, _MPCCLI, 0) + +LIST_PROVISIONED_CONCURRENCY_CONFIGS_INPUT: StaticSchema = ( + 18, + n0, + _LPCCI, + {_sSI: _cLPCCR, _sm: None}, + (_FN, _Mar, _MI), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.STRING, {_sQ: _Mar}), + (MAX_PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_PROVISIONED_CONCURRENCY_CONFIGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPCCO, + {_sSI: _cLPCCRo, _smit: None}, + (_PCC, _NM), + ( + (lambda: schemas.PROVISIONED_CONCURRENCY_CONFIG_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_PROVISIONED_CONCURRENCY_CONFIGS: StaticOperationSchema = ( + 23, + n0, + _LPCC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2019-09-30/functions/{FunctionName}/provisioned-concurrency?List=ALL", + "code": 200, + } + ) + }, + LIST_PROVISIONED_CONCURRENCY_CONFIGS_INPUT, + LIST_PROVISIONED_CONCURRENCY_CONFIGS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +NON_NEGATIVE_INTEGER: StaticSchema = (7, n0, _NNI, 0) + +POSITIVE_INTEGER: StaticSchema = (7, n0, _PIo, 0) + +PROVISIONED_CONCURRENCY_STATUS_ENUM: StaticSchema = ( + 14, + n0, + _PCSE, + 0, + (_IP_, _READY, _FAILED), + ((-1, {_sV: _IP_}), (-1, {_sV: _READY}), (-1, {_sV: _FAILED})), +) diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_6.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_6.py new file mode 100644 index 000000000..639662e0b --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_6.py @@ -0,0 +1,1365 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.lambda" +_s = "smithy.api#default" +_AL = "AccountLimit" +_AU = "AccountUsage" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_RI = "RevisionId" +_sQ = "smithy.api#httpQuery" +_smit = "smithy.api#output" +_smithy = "smithy.api#http" +_FN = "FunctionName" +_Q = "Qualifier" +_FA = "FunctionArn" +_D = "Description" +_V = "Version" +_AA = "AliasArn" +_N = "Name" +_FV = "FunctionVersion" +_RC = "RoutingConfig" +_me = "member" +_Arch = "Architectures" +_LC = "LoggingConfig" +_VC = "VpcConfig" +_KMSKA = "KMSKeyArn" +_Sta = "State" +_LM = "LastModified" +_Mar = "Marker" +_MI = "MaxItems" +_NM = "NextMarker" +_CSCA = "CodeSigningConfigArn" +_sU = "smithy.api#Unit" +_RAe = "ResourceArn" +_Stat = "Status" +_DC = "DurableConfig" +_Tim = "Timeout" +_DCe = "DestinationConfig" +_MRA = "MaximumRetryAttempts" +_CPC = "CapacityProviderConfig" +_SB = "S3Bucket" +_SK = "S3Key" +_SOSM = "S3ObjectStorageMode" +_SOV = "S3ObjectVersion" +_ZF = "ZipFile" +_IU = "ImageUri" +_SKMSKA = "SourceKMSKeyArn" +_DLC = "DeadLetterConfig" +_Env = "Environment" +_ESp = "EphemeralStorage" +_H = "Handler" +_ICm = "ImageConfig" +_MS = "MemorySize" +_PTa = "PackageType" +_Ru = "Runtime" +_SSn = "SnapStart" +_TCe = "TenancyConfig" +_TCr = "TracingConfig" +_Ro = "Role" +_Pu = "Publish" +_PTu = "PublishTo" +_La = "Layers" +_FSCi = "FileSystemConfigs" +_ICR = "ImageConfigResponse" +_LUS = "LastUpdateStatus" +_LUSR = "LastUpdateStatusReason" +_LUSRC = "LastUpdateStatusReasonCode" +_CSod = "CodeSize" +_SPVAi = "SigningProfileVersionArn" +_SJA = "SigningJobArn" +_RVA = "RuntimeVersionArn" +_RVC = "RuntimeVersionConfig" +_SR = "StateReason" +_SRCt = "StateReasonCode" +_cFC = "com.amazonaws.lambda#FunctionConfiguration" +_CSode = "CodeSha256" +_MA = "MasterArn" +_CSon = "ConfigSha256" +_Cor = "Cors" +_IM = "InvokeMode" +_ATu = "AuthType" +_FU = "FunctionUrl" +_CTr = "CreationTime" +_RCEe = "ReservedConcurrentExecutions" +_RL = "RecursiveLoop" +_FSCu = "FunctionScalingConfig" +_LMT = "LastModifiedTime" +_Po = "Policy" +_URO = "UpdateRuntimeOn" +_DR = "DryRun" +_PCCLI = "ProvisionedConcurrencyConfigListItem" +_RPCE = "RequestedProvisionedConcurrentExecutions" +_APCE = "AvailableProvisionedConcurrentExecutions" +_APCEl = "AllocatedProvisionedConcurrentExecutions" +_SRt = "StatusReason" +_PCCL = "ProvisionedConcurrencyConfigList" +_PFCSCI = "PutFunctionCodeSigningConfigInput" +_cPFCSCR = "com.amazonaws.lambda#PutFunctionCodeSigningConfigRequest" +_PFCSCO = "PutFunctionCodeSigningConfigOutput" +_cPFCSCRo = "com.amazonaws.lambda#PutFunctionCodeSigningConfigResponse" +_PFCSC = "PutFunctionCodeSigningConfig" +_PFCI = "PutFunctionConcurrencyInput" +_cPFCR = "com.amazonaws.lambda#PutFunctionConcurrencyRequest" +_PFCO = "PutFunctionConcurrencyOutput" +_cC = "com.amazonaws.lambda#Concurrency" +_PFC = "PutFunctionConcurrency" +_PFRCI = "PutFunctionRecursionConfigInput" +_cPFRCR = "com.amazonaws.lambda#PutFunctionRecursionConfigRequest" +_PFRCO = "PutFunctionRecursionConfigOutput" +_cPFRCRo = "com.amazonaws.lambda#PutFunctionRecursionConfigResponse" +_PFRC = "PutFunctionRecursionConfig" +_PFSCI = "PutFunctionScalingConfigInput" +_cPFSCR = "com.amazonaws.lambda#PutFunctionScalingConfigRequest" +_PFSCO = "PutFunctionScalingConfigOutput" +_cPFSCRo = "com.amazonaws.lambda#PutFunctionScalingConfigResponse" +_FS = "FunctionState" +_PFSC = "PutFunctionScalingConfig" +_PRMCI = "PutRuntimeManagementConfigInput" +_cPRMCR = "com.amazonaws.lambda#PutRuntimeManagementConfigRequest" +_PRMCO = "PutRuntimeManagementConfigOutput" +_cPRMCRo = "com.amazonaws.lambda#PutRuntimeManagementConfigResponse" +_PRMC = "PutRuntimeManagementConfig" +_UFCI = "UpdateFunctionCodeInput" +_cUFCR = "com.amazonaws.lambda#UpdateFunctionCodeRequest" +_UFCO = "UpdateFunctionCodeOutput" +_UFC = "UpdateFunctionCode" +_UFCIp = "UpdateFunctionConfigurationInput" +_cUFCRo = "com.amazonaws.lambda#UpdateFunctionConfigurationRequest" +_UFCOp = "UpdateFunctionConfigurationOutput" +_UFCp = "UpdateFunctionConfiguration" +_UFUCI = "UpdateFunctionUrlConfigInput" +_cUFUCR = "com.amazonaws.lambda#UpdateFunctionUrlConfigRequest" +_UFUCO = "UpdateFunctionUrlConfigOutput" +_cUFUCRo = "com.amazonaws.lambda#UpdateFunctionUrlConfigResponse" +_UFUC = "UpdateFunctionUrlConfig" +_CAI = "CreateAliasInput" +_cCAR = "com.amazonaws.lambda#CreateAliasRequest" +_CAO = "CreateAliasOutput" +_cAC = "com.amazonaws.lambda#AliasConfiguration" +_CAr = "CreateAlias" +_DAI = "DeleteAliasInput" +_cDAR = "com.amazonaws.lambda#DeleteAliasRequest" +_DAO = "DeleteAliasOutput" +_DAe = "DeleteAlias" +_GAI = "GetAliasInput" +_cGAR = "com.amazonaws.lambda#GetAliasRequest" +_GAO = "GetAliasOutput" +_GA = "GetAlias" +_LAI = "ListAliasesInput" +_cLAR = "com.amazonaws.lambda#ListAliasesRequest" +_LAO = "ListAliasesOutput" +_cLARo = "com.amazonaws.lambda#ListAliasesResponse" +_Ali = "Aliases" +_LA = "ListAliases" +_UAI = "UpdateAliasInput" +_cUAR = "com.amazonaws.lambda#UpdateAliasRequest" +_UAO = "UpdateAliasOutput" +_UA = "UpdateAlias" +_LVBFI = "ListVersionsByFunctionInput" +_cLVBFR = "com.amazonaws.lambda#ListVersionsByFunctionRequest" +_LVBFO = "ListVersionsByFunctionOutput" +_cLVBFRo = "com.amazonaws.lambda#ListVersionsByFunctionResponse" +_Ve = "Versions" +_LVBF = "ListVersionsByFunction" +_PVI = "PublishVersionInput" +_cPVR = "com.amazonaws.lambda#PublishVersionRequest" +_PVO = "PublishVersionOutput" +_PVu = "PublishVersion" +_GASI = "GetAccountSettingsInput" +_cGASR = "com.amazonaws.lambda#GetAccountSettingsRequest" +_GASO = "GetAccountSettingsOutput" +_cGASRo = "com.amazonaws.lambda#GetAccountSettingsResponse" +_GAS = "GetAccountSettings" +_GFEICI = "GetFunctionEventInvokeConfigInput" +_cGFEICR = "com.amazonaws.lambda#GetFunctionEventInvokeConfigRequest" +_MEAIS = "MaximumEventAgeInSeconds" +_GFEICO = "GetFunctionEventInvokeConfigOutput" +_cFEIC = "com.amazonaws.lambda#FunctionEventInvokeConfig" +_GFEIC = "GetFunctionEventInvokeConfig" +_GRPI = "GetResourcePolicyInput" +_cGRPR = "com.amazonaws.lambda#GetResourcePolicyRequest" +_GRPO = "GetResourcePolicyOutput" +_cGRPRo = "com.amazonaws.lambda#GetResourcePolicyResponse" +_GRP = "GetResourcePolicy" + +PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEM: StaticSchema = ( + 18, + n0, + _PCCLI, + 0, + (_FA, _RPCE, _APCE, _APCEl, _Stat, _SRt, _LM), + ( + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.POSITIVE_INTEGER, 0), + (lambda: schemas.NON_NEGATIVE_INTEGER, 0), + (lambda: schemas.NON_NEGATIVE_INTEGER, 0), + (lambda: schemas.PROVISIONED_CONCURRENCY_STATUS_ENUM, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +PROVISIONED_CONCURRENCY_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _PCCL, + 0, + (_me,), + ((PROVISIONED_CONCURRENCY_CONFIG_LIST_ITEM, 0),), +) + +PUT_FUNCTION_CODE_SIGNING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _PFCSCI, + {_sSI: _cPFCSCR, _sm: None}, + (_CSCA, _FN), + ( + (lambda: schemas.CODE_SIGNING_CONFIG_ARN, 1), + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + ), +) + +PUT_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _PFCSCO, + {_sSI: _cPFCSCRo, _smit: None}, + (_CSCA, _FN), + ((lambda: schemas.CODE_SIGNING_CONFIG_ARN, 1), (lambda: schemas.FUNCTION_NAME, 1)), +) + +PUT_FUNCTION_CODE_SIGNING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _PFCSC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2020-06-30/functions/{FunctionName}/code-signing-config", + "code": 200, + } + ) + }, + PUT_FUNCTION_CODE_SIGNING_CONFIG_INPUT, + PUT_FUNCTION_CODE_SIGNING_CONFIG_OUTPUT, + ( + lambda: schemas.CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +PUT_FUNCTION_CONCURRENCY_INPUT: StaticSchema = ( + 18, + n0, + _PFCI, + {_sSI: _cPFCR, _sm: None}, + (_FN, _RCEe), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.RESERVED_CONCURRENT_EXECUTIONS, 1), + ), +) + +PUT_FUNCTION_CONCURRENCY_OUTPUT: StaticSchema = ( + 18, + n0, + _PFCO, + {_sSI: _cC, _smit: None}, + (_RCEe,), + ((lambda: schemas.RESERVED_CONCURRENT_EXECUTIONS, 0),), +) + +PUT_FUNCTION_CONCURRENCY: StaticOperationSchema = ( + 23, + n0, + _PFC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2017-10-31/functions/{FunctionName}/concurrency", + "code": 200, + } + ) + }, + PUT_FUNCTION_CONCURRENCY_INPUT, + PUT_FUNCTION_CONCURRENCY_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +PUT_FUNCTION_RECURSION_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _PFRCI, + {_sSI: _cPFRCR, _sm: None}, + (_FN, _RL), + ( + (lambda: schemas.UNQUALIFIED_FUNCTION_NAME, 9), + (lambda: schemas.RECURSIVE_LOOP, 1), + ), +) + +PUT_FUNCTION_RECURSION_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _PFRCO, + {_sSI: _cPFRCRo, _smit: None}, + (_RL,), + ((lambda: schemas.RECURSIVE_LOOP, 0),), +) + +PUT_FUNCTION_RECURSION_CONFIG: StaticOperationSchema = ( + 23, + n0, + _PFRC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2024-08-31/functions/{FunctionName}/recursion-config", + "code": 200, + } + ) + }, + PUT_FUNCTION_RECURSION_CONFIG_INPUT, + PUT_FUNCTION_RECURSION_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +PUT_FUNCTION_SCALING_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _PFSCI, + {_sSI: _cPFSCR, _sm: None}, + (_FN, _Q, _FSCu), + ( + (lambda: schemas.UNQUALIFIED_FUNCTION_NAME, 9), + (lambda: schemas.PUBLISHED_FUNCTION_QUALIFIER, {_sQ: _Q, _smi: None}), + (lambda: schemas.FUNCTION_SCALING_CONFIG, 0), + ), +) + +PUT_FUNCTION_SCALING_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _PFSCO, + {_sSI: _cPFSCRo, _smit: None}, + (_FS,), + ((lambda: schemas.STATE, 0),), +) + +PUT_FUNCTION_SCALING_CONFIG: StaticOperationSchema = ( + 23, + n0, + _PFSC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2025-11-30/functions/{FunctionName}/function-scaling-config", + "code": 202, + } + ) + }, + PUT_FUNCTION_SCALING_CONFIG_INPUT, + PUT_FUNCTION_SCALING_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +PUT_RUNTIME_MANAGEMENT_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _PRMCI, + {_sSI: _cPRMCR, _sm: None}, + (_FN, _Q, _URO, _RVA), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + (lambda: schemas.UPDATE_RUNTIME_ON, 1), + (lambda: schemas.RUNTIME_VERSION_ARN, 0), + ), +) + +PUT_RUNTIME_MANAGEMENT_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _PRMCO, + {_sSI: _cPRMCRo, _smit: None}, + (_URO, _FA, _RVA), + ( + (lambda: schemas.UPDATE_RUNTIME_ON, 1), + (lambda: schemas.FUNCTION_ARN, 1), + (lambda: schemas.RUNTIME_VERSION_ARN, 0), + ), +) + +PUT_RUNTIME_MANAGEMENT_CONFIG: StaticOperationSchema = ( + 23, + n0, + _PRMC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2021-07-20/functions/{FunctionName}/runtime-management-config", + "code": 200, + } + ) + }, + PUT_RUNTIME_MANAGEMENT_CONFIG_INPUT, + PUT_RUNTIME_MANAGEMENT_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UPDATE_FUNCTION_CODE_INPUT: StaticSchema = ( + 18, + n0, + _UFCI, + {_sSI: _cUFCR, _sm: None}, + (_FN, _ZF, _SB, _SK, _SOV, _SOSM, _IU, _Arch, _Pu, _PTu, _DR, _RI, _SKMSKA), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.BLOB, 0), + (lambda: schemas.S3_BUCKET, 0), + (lambda: schemas.S3_KEY, 0), + (lambda: schemas.S3_OBJECT_VERSION, 0), + (lambda: schemas.S3_OBJECT_STORAGE_MODE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ARCHITECTURES_LIST, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.FUNCTION_VERSION_LATEST_PUBLISHED, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + ), +) + +UPDATE_FUNCTION_CODE_OUTPUT: StaticSchema = ( + 18, + n0, + _UFCO, + {_sSI: _cFC, _smit: None}, + ( + _FN, + _FA, + _Ru, + _Ro, + _H, + _CSod, + _D, + _Tim, + _MS, + _LM, + _CSode, + _V, + _VC, + _DLC, + _Env, + _KMSKA, + _TCr, + _MA, + _RI, + _La, + _Sta, + _SR, + _SRCt, + _LUS, + _LUSR, + _LUSRC, + _FSCi, + _SPVAi, + _SJA, + _PTa, + _ICR, + _Arch, + _ESp, + _SSn, + _RVC, + _LC, + _TCe, + _CPC, + _CSon, + _DC, + ), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 0), + (lambda: schemas.NAME_SPACED_FUNCTION_ARN, 0), + (lambda: schemas.RUNTIME, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.HANDLER, 0), + (lambda: schemas.LONG, {_s: 0}), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMEOUT, 0), + (lambda: schemas.MEMORY_SIZE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VERSION, 0), + (lambda: schemas.VPC_CONFIG_RESPONSE, 0), + (lambda: schemas.DEAD_LETTER_CONFIG, 0), + (lambda: schemas.ENVIRONMENT_RESPONSE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TRACING_CONFIG_RESPONSE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LAYERS_REFERENCE_LIST, 0), + (lambda: schemas.STATE, 0), + (lambda: schemas.STATE_REASON, 0), + (lambda: schemas.STATE_REASON_CODE, 0), + (lambda: schemas.LAST_UPDATE_STATUS, 0), + (lambda: schemas.LAST_UPDATE_STATUS_REASON, 0), + (lambda: schemas.LAST_UPDATE_STATUS_REASON_CODE, 0), + (lambda: schemas.FILE_SYSTEM_CONFIG_LIST, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.PACKAGE_TYPE, 0), + (lambda: schemas.IMAGE_CONFIG_RESPONSE, 0), + (lambda: schemas.ARCHITECTURES_LIST, 0), + (lambda: schemas.EPHEMERAL_STORAGE, 0), + (lambda: schemas.SNAP_START_RESPONSE, 0), + (lambda: schemas.RUNTIME_VERSION_CONFIG, 0), + (lambda: schemas.LOGGING_CONFIG, 0), + (lambda: schemas.TENANCY_CONFIG, 0), + (lambda: schemas.CAPACITY_PROVIDER_CONFIG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DURABLE_CONFIG, 0), + ), +) + +UPDATE_FUNCTION_CODE: StaticOperationSchema = ( + 23, + n0, + _UFC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2015-03-31/functions/{FunctionName}/code", + "code": 200, + } + ) + }, + UPDATE_FUNCTION_CODE_INPUT, + UPDATE_FUNCTION_CODE_OUTPUT, + ( + lambda: schemas.CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, + lambda: schemas.CODE_STORAGE_EXCEEDED_EXCEPTION, + lambda: schemas.CODE_VERIFICATION_FAILED_EXCEPTION, + lambda: schemas.INVALID_CODE_SIGNATURE_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.PRECONDITION_FAILED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UPDATE_FUNCTION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UFCIp, + {_sSI: _cUFCRo, _sm: None}, + ( + _FN, + _Ro, + _H, + _D, + _Tim, + _MS, + _VC, + _Env, + _Ru, + _DLC, + _KMSKA, + _TCr, + _RI, + _La, + _FSCi, + _ICm, + _ESp, + _SSn, + _LC, + _CPC, + _DC, + ), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.HANDLER, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMEOUT, 0), + (lambda: schemas.MEMORY_SIZE, 0), + (lambda: schemas.VPC_CONFIG, 0), + (lambda: schemas.ENVIRONMENT, 0), + (lambda: schemas.RUNTIME, 0), + (lambda: schemas.DEAD_LETTER_CONFIG, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TRACING_CONFIG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LAYER_LIST, 0), + (lambda: schemas.FILE_SYSTEM_CONFIG_LIST, 0), + (lambda: schemas.IMAGE_CONFIG, 0), + (lambda: schemas.EPHEMERAL_STORAGE, 0), + (lambda: schemas.SNAP_START, 0), + (lambda: schemas.LOGGING_CONFIG, 0), + (lambda: schemas.CAPACITY_PROVIDER_CONFIG, 0), + (lambda: schemas.DURABLE_CONFIG, 0), + ), +) + +UPDATE_FUNCTION_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UFCOp, + {_sSI: _cFC, _smit: None}, + ( + _FN, + _FA, + _Ru, + _Ro, + _H, + _CSod, + _D, + _Tim, + _MS, + _LM, + _CSode, + _V, + _VC, + _DLC, + _Env, + _KMSKA, + _TCr, + _MA, + _RI, + _La, + _Sta, + _SR, + _SRCt, + _LUS, + _LUSR, + _LUSRC, + _FSCi, + _SPVAi, + _SJA, + _PTa, + _ICR, + _Arch, + _ESp, + _SSn, + _RVC, + _LC, + _TCe, + _CPC, + _CSon, + _DC, + ), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 0), + (lambda: schemas.NAME_SPACED_FUNCTION_ARN, 0), + (lambda: schemas.RUNTIME, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.HANDLER, 0), + (lambda: schemas.LONG, {_s: 0}), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMEOUT, 0), + (lambda: schemas.MEMORY_SIZE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VERSION, 0), + (lambda: schemas.VPC_CONFIG_RESPONSE, 0), + (lambda: schemas.DEAD_LETTER_CONFIG, 0), + (lambda: schemas.ENVIRONMENT_RESPONSE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TRACING_CONFIG_RESPONSE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LAYERS_REFERENCE_LIST, 0), + (lambda: schemas.STATE, 0), + (lambda: schemas.STATE_REASON, 0), + (lambda: schemas.STATE_REASON_CODE, 0), + (lambda: schemas.LAST_UPDATE_STATUS, 0), + (lambda: schemas.LAST_UPDATE_STATUS_REASON, 0), + (lambda: schemas.LAST_UPDATE_STATUS_REASON_CODE, 0), + (lambda: schemas.FILE_SYSTEM_CONFIG_LIST, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.PACKAGE_TYPE, 0), + (lambda: schemas.IMAGE_CONFIG_RESPONSE, 0), + (lambda: schemas.ARCHITECTURES_LIST, 0), + (lambda: schemas.EPHEMERAL_STORAGE, 0), + (lambda: schemas.SNAP_START_RESPONSE, 0), + (lambda: schemas.RUNTIME_VERSION_CONFIG, 0), + (lambda: schemas.LOGGING_CONFIG, 0), + (lambda: schemas.TENANCY_CONFIG, 0), + (lambda: schemas.CAPACITY_PROVIDER_CONFIG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DURABLE_CONFIG, 0), + ), +) + +UPDATE_FUNCTION_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _UFCp, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2015-03-31/functions/{FunctionName}/configuration", + "code": 200, + } + ) + }, + UPDATE_FUNCTION_CONFIGURATION_INPUT, + UPDATE_FUNCTION_CONFIGURATION_OUTPUT, + ( + lambda: schemas.CODE_SIGNING_CONFIG_NOT_FOUND_EXCEPTION, + lambda: schemas.CODE_VERIFICATION_FAILED_EXCEPTION, + lambda: schemas.INVALID_CODE_SIGNATURE_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.PRECONDITION_FAILED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UPDATE_FUNCTION_URL_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _UFUCI, + {_sSI: _cUFUCR, _sm: None}, + (_FN, _Q, _ATu, _Cor, _IM), + ( + (lambda: schemas.FUNCTION_URL_FUNCTION_NAME, 9), + (lambda: schemas.FUNCTION_URL_QUALIFIER, {_sQ: _Q}), + (lambda: schemas.FUNCTION_URL_AUTH_TYPE, 0), + (lambda: schemas.CORS, 0), + (lambda: schemas.INVOKE_MODE, 0), + ), +) + +UPDATE_FUNCTION_URL_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _UFUCO, + {_sSI: _cUFUCRo, _smit: None}, + (_FU, _FA, _ATu, _Cor, _CTr, _LMT, _IM), + ( + (lambda: schemas.FUNCTION_URL, 1), + (lambda: schemas.FUNCTION_ARN, 1), + (lambda: schemas.FUNCTION_URL_AUTH_TYPE, 1), + (lambda: schemas.CORS, 0), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.TIMESTAMP, 1), + (lambda: schemas.INVOKE_MODE, 0), + ), +) + +UPDATE_FUNCTION_URL_CONFIG: StaticOperationSchema = ( + 23, + n0, + _UFUC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2021-10-31/functions/{FunctionName}/url", + "code": 200, + } + ) + }, + UPDATE_FUNCTION_URL_CONFIG_INPUT, + UPDATE_FUNCTION_URL_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CREATE_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _CAI, + {_sSI: _cCAR, _sm: None}, + (_FN, _N, _FV, _D, _RC), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.ALIAS, 1), + (lambda: schemas.VERSION_WITH_LATEST_PUBLISHED, 1), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ALIAS_ROUTING_CONFIGURATION, 0), + ), +) + +CREATE_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _CAO, + {_sSI: _cAC, _smit: None}, + (_AA, _N, _FV, _D, _RC, _RI), + ( + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.ALIAS, 0), + (lambda: schemas.VERSION, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ALIAS_ROUTING_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_ALIAS: StaticOperationSchema = ( + 23, + n0, + _CAr, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2015-03-31/functions/{FunctionName}/aliases", + "code": 201, + } + ) + }, + CREATE_ALIAS_INPUT, + CREATE_ALIAS_OUTPUT, + ( + lambda: schemas.ALIAS_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +DELETE_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _DAI, + {_sSI: _cDAR, _sm: None}, + (_FN, _N), + ((lambda: schemas.FUNCTION_NAME, 9), (lambda: schemas.ALIAS, 9)), +) + +DELETE_ALIAS_OUTPUT: StaticSchema = (18, n0, _DAO, {_sSI: _sU, _smit: None}) + +DELETE_ALIAS: StaticOperationSchema = ( + 23, + n0, + _DAe, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", + "code": 204, + } + ) + }, + DELETE_ALIAS_INPUT, + DELETE_ALIAS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _GAI, + {_sSI: _cGAR, _sm: None}, + (_FN, _N), + ((lambda: schemas.FUNCTION_NAME, 9), (lambda: schemas.ALIAS, 9)), +) + +GET_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _GAO, + {_sSI: _cAC, _smit: None}, + (_AA, _N, _FV, _D, _RC, _RI), + ( + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.ALIAS, 0), + (lambda: schemas.VERSION, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ALIAS_ROUTING_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + ), +) + +GET_ALIAS: StaticOperationSchema = ( + 23, + n0, + _GA, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", + "code": 200, + } + ) + }, + GET_ALIAS_INPUT, + GET_ALIAS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +LIST_ALIASES_INPUT: StaticSchema = ( + 18, + n0, + _LAI, + {_sSI: _cLAR, _sm: None}, + (_FN, _FV, _Mar, _MI), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.VERSION_WITH_LATEST_PUBLISHED, {_sQ: _FV}), + (lambda: schemas.STRING, {_sQ: _Mar}), + (lambda: schemas.MAX_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_ALIASES_OUTPUT: StaticSchema = ( + 18, + n0, + _LAO, + {_sSI: _cLARo, _smit: None}, + (_NM, _Ali), + ((lambda: schemas.STRING, 0), (lambda: schemas.ALIAS_LIST, 0)), +) + +LIST_ALIASES: StaticOperationSchema = ( + 23, + n0, + _LA, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2015-03-31/functions/{FunctionName}/aliases", + "code": 200, + } + ) + }, + LIST_ALIASES_INPUT, + LIST_ALIASES_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UPDATE_ALIAS_INPUT: StaticSchema = ( + 18, + n0, + _UAI, + {_sSI: _cUAR, _sm: None}, + (_FN, _N, _FV, _D, _RC, _RI), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.ALIAS, 9), + (lambda: schemas.VERSION_WITH_LATEST_PUBLISHED, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ALIAS_ROUTING_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_ALIAS_OUTPUT: StaticSchema = ( + 18, + n0, + _UAO, + {_sSI: _cAC, _smit: None}, + (_AA, _N, _FV, _D, _RC, _RI), + ( + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.ALIAS, 0), + (lambda: schemas.VERSION, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ALIAS_ROUTING_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + ), +) + +UPDATE_ALIAS: StaticOperationSchema = ( + 23, + n0, + _UA, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", + "code": 200, + } + ) + }, + UPDATE_ALIAS_INPUT, + UPDATE_ALIAS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.PRECONDITION_FAILED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +LIST_VERSIONS_BY_FUNCTION_INPUT: StaticSchema = ( + 18, + n0, + _LVBFI, + {_sSI: _cLVBFR, _sm: None}, + (_FN, _Mar, _MI), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.STRING, {_sQ: _Mar}), + (lambda: schemas.MAX_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_VERSIONS_BY_FUNCTION_OUTPUT: StaticSchema = ( + 18, + n0, + _LVBFO, + {_sSI: _cLVBFRo, _smit: None}, + (_NM, _Ve), + ((lambda: schemas.STRING, 0), (lambda: schemas.FUNCTION_LIST, 0)), +) + +LIST_VERSIONS_BY_FUNCTION: StaticOperationSchema = ( + 23, + n0, + _LVBF, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2015-03-31/functions/{FunctionName}/versions", + "code": 200, + } + ) + }, + LIST_VERSIONS_BY_FUNCTION_INPUT, + LIST_VERSIONS_BY_FUNCTION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +PUBLISH_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _PVI, + {_sSI: _cPVR, _sm: None}, + (_FN, _CSode, _D, _RI, _PTu), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (lambda: schemas.STRING, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FUNCTION_VERSION_LATEST_PUBLISHED, 0), + ), +) + +PUBLISH_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _PVO, + {_sSI: _cFC, _smit: None}, + ( + _FN, + _FA, + _Ru, + _Ro, + _H, + _CSod, + _D, + _Tim, + _MS, + _LM, + _CSode, + _V, + _VC, + _DLC, + _Env, + _KMSKA, + _TCr, + _MA, + _RI, + _La, + _Sta, + _SR, + _SRCt, + _LUS, + _LUSR, + _LUSRC, + _FSCi, + _SPVAi, + _SJA, + _PTa, + _ICR, + _Arch, + _ESp, + _SSn, + _RVC, + _LC, + _TCe, + _CPC, + _CSon, + _DC, + ), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 0), + (lambda: schemas.NAME_SPACED_FUNCTION_ARN, 0), + (lambda: schemas.RUNTIME, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.HANDLER, 0), + (lambda: schemas.LONG, {_s: 0}), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMEOUT, 0), + (lambda: schemas.MEMORY_SIZE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VERSION, 0), + (lambda: schemas.VPC_CONFIG_RESPONSE, 0), + (lambda: schemas.DEAD_LETTER_CONFIG, 0), + (lambda: schemas.ENVIRONMENT_RESPONSE, 0), + (lambda: schemas.KMS_KEY_ARN, 0), + (lambda: schemas.TRACING_CONFIG_RESPONSE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LAYERS_REFERENCE_LIST, 0), + (lambda: schemas.STATE, 0), + (lambda: schemas.STATE_REASON, 0), + (lambda: schemas.STATE_REASON_CODE, 0), + (lambda: schemas.LAST_UPDATE_STATUS, 0), + (lambda: schemas.LAST_UPDATE_STATUS_REASON, 0), + (lambda: schemas.LAST_UPDATE_STATUS_REASON_CODE, 0), + (lambda: schemas.FILE_SYSTEM_CONFIG_LIST, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.PACKAGE_TYPE, 0), + (lambda: schemas.IMAGE_CONFIG_RESPONSE, 0), + (lambda: schemas.ARCHITECTURES_LIST, 0), + (lambda: schemas.EPHEMERAL_STORAGE, 0), + (lambda: schemas.SNAP_START_RESPONSE, 0), + (lambda: schemas.RUNTIME_VERSION_CONFIG, 0), + (lambda: schemas.LOGGING_CONFIG, 0), + (lambda: schemas.TENANCY_CONFIG, 0), + (lambda: schemas.CAPACITY_PROVIDER_CONFIG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DURABLE_CONFIG, 0), + ), +) + +PUBLISH_VERSION: StaticOperationSchema = ( + 23, + n0, + _PVu, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2015-03-31/functions/{FunctionName}/versions", + "code": 201, + } + ) + }, + PUBLISH_VERSION_INPUT, + PUBLISH_VERSION_OUTPUT, + ( + lambda: schemas.CODE_STORAGE_EXCEEDED_EXCEPTION, + lambda: ( + schemas.FUNCTION_VERSIONS_PER_CAPACITY_PROVIDER_LIMIT_EXCEEDED_EXCEPTION + ), + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.PRECONDITION_FAILED_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_ACCOUNT_SETTINGS_INPUT: StaticSchema = (18, n0, _GASI, {_sSI: _cGASR, _sm: None}) + +GET_ACCOUNT_SETTINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _GASO, + {_sSI: _cGASRo, _smit: None}, + (_AL, _AU), + ((lambda: schemas.ACCOUNT_LIMIT, 0), (lambda: schemas.ACCOUNT_USAGE, 0)), +) + +GET_ACCOUNT_SETTINGS: StaticOperationSchema = ( + 23, + n0, + _GAS, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2016-08-19/account-settings", "code": 200} + ) + }, + GET_ACCOUNT_SETTINGS_INPUT, + GET_ACCOUNT_SETTINGS_OUTPUT, + (lambda: schemas.SERVICE_EXCEPTION, lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION), +) + +GET_FUNCTION_EVENT_INVOKE_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GFEICI, + {_sSI: _cGFEICR, _sm: None}, + (_FN, _Q), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + ), +) + +GET_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GFEICO, + {_sSI: _cFEIC, _smit: None}, + (_LM, _FA, _MRA, _MEAIS, _DCe), + ( + (lambda: schemas.DATE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: MAXIMUM_RETRY_ATTEMPTS, 0), + (lambda: MAXIMUM_EVENT_AGE_IN_SECONDS, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + ), +) + +GET_FUNCTION_EVENT_INVOKE_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GFEIC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config", + "code": 200, + } + ) + }, + GET_FUNCTION_EVENT_INVOKE_CONFIG_INPUT, + GET_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +MAXIMUM_EVENT_AGE_IN_SECONDS: StaticSchema = (7, n0, _MEAIS, 0) + +MAXIMUM_RETRY_ATTEMPTS: StaticSchema = (7, n0, _MRA, 0) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_sSI: _cGRPR, _sm: None}, + (_RAe,), + ((lambda: schemas.POLICY_RESOURCE_ARN, 9),), +) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_sSI: _cGRPRo, _smit: None}, + (_Po, _RI), + ((lambda: schemas.RESOURCE_POLICY, 0), (lambda: schemas.REVISION_ID, 0)), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2026-07-09/resource-policy/{ResourceArn}", + "code": 200, + } + ) + }, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_7.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_7.py new file mode 100644 index 000000000..4df60ba11 --- /dev/null +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/_private/schemas_7.py @@ -0,0 +1,1367 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.lambda" +_s = "smithy.api#default" +_LN = "LayerName" +_SI = "StatementId" +_sSI = "smithy.synthetic#originalShapeId" +_sm = "smithy.api#input" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_VN = "VersionNumber" +_RI = "RevisionId" +_sQ = "smithy.api#httpQuery" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_T = "Type" +_m = "message" +_M = "Message" +_smithy = "smithy.api#http" +_Ar = "Arn" +_FN = "FunctionName" +_Q = "Qualifier" +_FA = "FunctionArn" +_D = "Description" +_V = "Version" +_me = "member" +_E = "Error" +_Ta = "Tags" +_LM = "LastModified" +_Mar = "Marker" +_MI = "MaxItems" +_NM = "NextMarker" +_sU = "smithy.api#Unit" +_RAe = "ResourceArn" +_smithya = "smithy.api#sensitive" +_CIa = "CallbackId" +_Re = "Result" +_Stat = "Status" +_sP = "smithy.api#httpPayload" +_DCe = "DestinationConfig" +_MRA = "MaximumRetryAttempts" +_SB = "S3Bucket" +_SK = "S3Key" +_SOSM = "S3ObjectStorageMode" +_SOV = "S3ObjectVersion" +_ZF = "ZipFile" +_LVA = "LayerVersionArn" +_La = "Layers" +_CSod = "CodeSize" +_SPVAi = "SigningProfileVersionArn" +_SJA = "SigningJobArn" +_CSode = "CodeSha256" +_RSO = "ResolvedS3Object" +_Lo = "Location" +_Po = "Policy" +_RPCE = "RequestedProvisionedConcurrentExecutions" +_APCE = "AvailableProvisionedConcurrentExecutions" +_APCEl = "AllocatedProvisionedConcurrentExecutions" +_SRt = "StatusReason" +_MEAIS = "MaximumEventAgeInSeconds" +_cFEIC = "com.amazonaws.lambda#FunctionEventInvokeConfig" +_MLLI = "MaxLayerListItems" +_LLI = "ListLayersInput" +_cLLR = "com.amazonaws.lambda#ListLayersRequest" +_CAo = "CompatibleArchitecture" +_CR = "CompatibleRuntime" +_CAom = "CompatibleArchitectures" +_CRo = "CompatibleRuntimes" +_LI = "LicenseInfo" +_LVLI = "LayerVersionsListItem" +_CDr = "CreatedDate" +_LAa = "LayerArn" +_LLIa = "LayersListItem" +_LMV = "LatestMatchingVersion" +_LLa = "LayersList" +_LLO = "ListLayersOutput" +_cLLRo = "com.amazonaws.lambda#ListLayersResponse" +_LLi = "ListLayers" +_DLVI = "DeleteLayerVersionInput" +_cDLVR = "com.amazonaws.lambda#DeleteLayerVersionRequest" +_DLVO = "DeleteLayerVersionOutput" +_DLV = "DeleteLayerVersion" +_GLVI = "GetLayerVersionInput" +_cGLVR = "com.amazonaws.lambda#GetLayerVersionRequest" +_LVCO = "LayerVersionContentOutput" +_GLVO = "GetLayerVersionOutput" +_cGLVRo = "com.amazonaws.lambda#GetLayerVersionResponse" +_Cont = "Content" +_GLV = "GetLayerVersion" +_GLVBAI = "GetLayerVersionByArnInput" +_cGLVBAR = "com.amazonaws.lambda#GetLayerVersionByArnRequest" +_GLVBAO = "GetLayerVersionByArnOutput" +_GLVBA = "GetLayerVersionByArn" +_GLVPI = "GetLayerVersionPolicyInput" +_cGLVPR = "com.amazonaws.lambda#GetLayerVersionPolicyRequest" +_GLVPO = "GetLayerVersionPolicyOutput" +_cGLVPRo = "com.amazonaws.lambda#GetLayerVersionPolicyResponse" +_GLVP = "GetLayerVersionPolicy" +_LLVI = "ListLayerVersionsInput" +_cLLVR = "com.amazonaws.lambda#ListLayerVersionsRequest" +_LVL = "LayerVersionsList" +_LLVO = "ListLayerVersionsOutput" +_cLLVRo = "com.amazonaws.lambda#ListLayerVersionsResponse" +_LV = "LayerVersions" +_LLV = "ListLayerVersions" +_LVCI = "LayerVersionContentInput" +_PLVI = "PublishLayerVersionInput" +_cPLVR = "com.amazonaws.lambda#PublishLayerVersionRequest" +_PLVO = "PublishLayerVersionOutput" +_cPLVRo = "com.amazonaws.lambda#PublishLayerVersionResponse" +_PLV = "PublishLayerVersion" +_RLVPI = "RemoveLayerVersionPermissionInput" +_cRLVPR = "com.amazonaws.lambda#RemoveLayerVersionPermissionRequest" +_RLVPO = "RemoveLayerVersionPermissionOutput" +_RLVP = "RemoveLayerVersionPermission" +_MFEICLI = "MaxFunctionEventInvokeConfigListItems" +_LFEICI = "ListFunctionEventInvokeConfigsInput" +_cLFEICR = "com.amazonaws.lambda#ListFunctionEventInvokeConfigsRequest" +_FEIC = "FunctionEventInvokeConfig" +_FEICL = "FunctionEventInvokeConfigList" +_LFEICO = "ListFunctionEventInvokeConfigsOutput" +_cLFEICRo = "com.amazonaws.lambda#ListFunctionEventInvokeConfigsResponse" +_FEICu = "FunctionEventInvokeConfigs" +_LFEIC = "ListFunctionEventInvokeConfigs" +_TRa = "TaggableResource" +_LTI = "ListTagsInput" +_cLTR = "com.amazonaws.lambda#ListTagsRequest" +_Reso = "Resource" +_LTO = "ListTagsOutput" +_cLTRo = "com.amazonaws.lambda#ListTagsResponse" +_LTi = "ListTags" +_NSI = "NamespacedStatementId" +_RPI = "RemovePermissionInput" +_cRPR = "com.amazonaws.lambda#RemovePermissionRequest" +_RPO = "RemovePermissionOutput" +_RPe = "RemovePermission" +_DPCCI = "DeleteProvisionedConcurrencyConfigInput" +_cDPCCR = "com.amazonaws.lambda#DeleteProvisionedConcurrencyConfigRequest" +_DPCCO = "DeleteProvisionedConcurrencyConfigOutput" +_DPCC = "DeleteProvisionedConcurrencyConfig" +_GPCCI = "GetProvisionedConcurrencyConfigInput" +_cGPCCR = "com.amazonaws.lambda#GetProvisionedConcurrencyConfigRequest" +_GPCCO = "GetProvisionedConcurrencyConfigOutput" +_cGPCCRo = "com.amazonaws.lambda#GetProvisionedConcurrencyConfigResponse" +_PCCNFE = "ProvisionedConcurrencyConfigNotFoundException" +_GPCC = "GetProvisionedConcurrencyConfig" +_PPCCI = "PutProvisionedConcurrencyConfigInput" +_cPPCCR = "com.amazonaws.lambda#PutProvisionedConcurrencyConfigRequest" +_PCE = "ProvisionedConcurrentExecutions" +_PPCCO = "PutProvisionedConcurrencyConfigOutput" +_cPPCCRo = "com.amazonaws.lambda#PutProvisionedConcurrencyConfigResponse" +_PPCC = "PutProvisionedConcurrencyConfig" +_PFEICI = "PutFunctionEventInvokeConfigInput" +_cPFEICR = "com.amazonaws.lambda#PutFunctionEventInvokeConfigRequest" +_PFEICO = "PutFunctionEventInvokeConfigOutput" +_PFEIC = "PutFunctionEventInvokeConfig" +_PRPI = "PutResourcePolicyInput" +_cPRPR = "com.amazonaws.lambda#PutResourcePolicyRequest" +_PRPO = "PutResourcePolicyOutput" +_cPRPRo = "com.amazonaws.lambda#PutResourcePolicyResponse" +_PRP = "PutResourcePolicy" +_CTE = "CallbackTimeoutException" +_SDECFI = "SendDurableExecutionCallbackFailureInput" +_cSDECFR = "com.amazonaws.lambda#SendDurableExecutionCallbackFailureRequest" +_SDECFO = "SendDurableExecutionCallbackFailureOutput" +_cSDECFRo = "com.amazonaws.lambda#SendDurableExecutionCallbackFailureResponse" +_SDECF = "SendDurableExecutionCallbackFailure" +_SDECHI = "SendDurableExecutionCallbackHeartbeatInput" +_cSDECHR = "com.amazonaws.lambda#SendDurableExecutionCallbackHeartbeatRequest" +_SDECHO = "SendDurableExecutionCallbackHeartbeatOutput" +_cSDECHRo = "com.amazonaws.lambda#SendDurableExecutionCallbackHeartbeatResponse" +_SDECH = "SendDurableExecutionCallbackHeartbeat" +_BOP = "BinaryOperationPayload" +_SDECSI = "SendDurableExecutionCallbackSuccessInput" +_cSDECSR = "com.amazonaws.lambda#SendDurableExecutionCallbackSuccessRequest" +_SDECSO = "SendDurableExecutionCallbackSuccessOutput" +_cSDECSRo = "com.amazonaws.lambda#SendDurableExecutionCallbackSuccessResponse" +_SDECS = "SendDurableExecutionCallbackSuccess" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.lambda#TagResourceRequest" +_TRO = "TagResourceOutput" +_TRag = "TagResource" +_TKL = "TagKeyList" +_sN = "smithy.api#xmlName" +_K = "Key" +_URIn = "UntagResourceInput" +_cURR = "com.amazonaws.lambda#UntagResourceRequest" +_TKa = "TagKeys" +_tK = "tagKeys" +_UROn = "UntagResourceOutput" +_UR = "UntagResource" +_UFEICI = "UpdateFunctionEventInvokeConfigInput" +_cUFEICR = "com.amazonaws.lambda#UpdateFunctionEventInvokeConfigRequest" +_UFEICO = "UpdateFunctionEventInvokeConfigOutput" +_UFEIC = "UpdateFunctionEventInvokeConfig" +_AWSGAS = "AWSGirApiService" +_aw = "aws.api#service" +_aws = "aws.auth#sigv4" +_aJ = "aws.protocols#restJson1" + +MAX_LAYER_LIST_ITEMS: StaticSchema = (7, n0, _MLLI, 0) + +LIST_LAYERS_INPUT: StaticSchema = ( + 18, + n0, + _LLI, + {_sSI: _cLLR, _sm: None}, + (_CAo, _CR, _Mar, _MI), + ( + (lambda: schemas.ARCHITECTURE, {_sQ: _CAo}), + (lambda: schemas.RUNTIME, {_sQ: _CR}), + (lambda: schemas.STRING, {_sQ: _Mar}), + (MAX_LAYER_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_LAYERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LLO, + {_sSI: _cLLRo, _smit: None}, + (_NM, _La), + ((lambda: schemas.STRING, 0), (lambda: LAYERS_LIST, 0)), +) + +LIST_LAYERS: StaticOperationSchema = ( + 23, + n0, + _LLi, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2018-10-31/layers", "code": 200} + ) + }, + LIST_LAYERS_INPUT, + LIST_LAYERS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +COMPATIBLE_ARCHITECTURES: StaticSchema = ( + 16, + n0, + _CAom, + 0, + (_me,), + ((lambda: schemas.ARCHITECTURE, 0),), +) + +COMPATIBLE_RUNTIMES: StaticSchema = ( + 16, + n0, + _CRo, + 0, + (_me,), + ((lambda: schemas.RUNTIME, 0),), +) + +LICENSE_INFO: StaticSchema = (3, n0, _LI, 0) + +LAYER_VERSIONS_LIST_ITEM: StaticSchema = ( + 18, + n0, + _LVLI, + 0, + (_LVA, _V, _D, _CDr, _CAom, _CRo, _LI), + ( + (lambda: schemas.LAYER_VERSION_ARN, 0), + (lambda: schemas.LAYER_VERSION_NUMBER, {_s: 0}), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 0), + (COMPATIBLE_ARCHITECTURES, 0), + (COMPATIBLE_RUNTIMES, 0), + (LICENSE_INFO, 0), + ), +) + +LAYER_ARN: StaticSchema = (3, n0, _LAa, 0) + +LAYERS_LIST_ITEM: StaticSchema = ( + 18, + n0, + _LLIa, + 0, + (_LN, _LAa, _LMV), + ((lambda: schemas.LAYER_NAME, 0), (LAYER_ARN, 0), (LAYER_VERSIONS_LIST_ITEM, 0)), +) + +LAYERS_LIST: StaticSchema = (16, n0, _LLa, 0, (_me,), ((LAYERS_LIST_ITEM, 0),)) + +DELETE_LAYER_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _DLVI, + {_sSI: _cDLVR, _sm: None}, + (_LN, _VN), + ( + (lambda: schemas.LAYER_NAME, 9), + (lambda: schemas.LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None}), + ), +) + +DELETE_LAYER_VERSION_OUTPUT: StaticSchema = (18, n0, _DLVO, {_sSI: _sU, _smit: None}) + +DELETE_LAYER_VERSION: StaticOperationSchema = ( + 23, + n0, + _DLV, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}", + "code": 204, + } + ) + }, + DELETE_LAYER_VERSION_INPUT, + DELETE_LAYER_VERSION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_LAYER_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _GLVI, + {_sSI: _cGLVR, _sm: None}, + (_LN, _VN), + ( + (lambda: schemas.LAYER_NAME, 9), + (lambda: schemas.LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None}), + ), +) + +GET_LAYER_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GLVO, + {_sSI: _cGLVRo, _smit: None}, + (_Cont, _LAa, _LVA, _D, _CDr, _V, _CAom, _CRo, _LI), + ( + (lambda: LAYER_VERSION_CONTENT_OUTPUT, 0), + (LAYER_ARN, 0), + (lambda: schemas.LAYER_VERSION_ARN, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.LAYER_VERSION_NUMBER, {_s: 0}), + (COMPATIBLE_ARCHITECTURES, 0), + (COMPATIBLE_RUNTIMES, 0), + (LICENSE_INFO, 0), + ), +) + +GET_LAYER_VERSION: StaticOperationSchema = ( + 23, + n0, + _GLV, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}", + "code": 200, + } + ) + }, + GET_LAYER_VERSION_INPUT, + GET_LAYER_VERSION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +LAYER_VERSION_CONTENT_OUTPUT: StaticSchema = ( + 18, + n0, + _LVCO, + 0, + (_Lo, _CSode, _CSod, _SPVAi, _SJA, _RSO), + ( + (lambda: schemas.SENSITIVE_STRING_ON_SERVER_ONLY, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, {_s: 0}), + (lambda: schemas.ARN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.RESOLVED_S3_OBJECT, 0), + ), +) + +GET_LAYER_VERSION_BY_ARN_INPUT: StaticSchema = ( + 18, + n0, + _GLVBAI, + {_sSI: _cGLVBAR, _sm: None}, + (_Ar,), + ((lambda: schemas.LAYER_VERSION_ARN, {_sQ: _Ar, _smi: None}),), +) + +GET_LAYER_VERSION_BY_ARN_OUTPUT: StaticSchema = ( + 18, + n0, + _GLVBAO, + {_sSI: _cGLVRo, _smit: None}, + (_Cont, _LAa, _LVA, _D, _CDr, _V, _CAom, _CRo, _LI), + ( + (LAYER_VERSION_CONTENT_OUTPUT, 0), + (LAYER_ARN, 0), + (lambda: schemas.LAYER_VERSION_ARN, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.LAYER_VERSION_NUMBER, {_s: 0}), + (COMPATIBLE_ARCHITECTURES, 0), + (COMPATIBLE_RUNTIMES, 0), + (LICENSE_INFO, 0), + ), +) + +GET_LAYER_VERSION_BY_ARN: StaticOperationSchema = ( + 23, + n0, + _GLVBA, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2018-10-31/layers?find=LayerVersion", + "code": 200, + } + ) + }, + GET_LAYER_VERSION_BY_ARN_INPUT, + GET_LAYER_VERSION_BY_ARN_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_LAYER_VERSION_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GLVPI, + {_sSI: _cGLVPR, _sm: None}, + (_LN, _VN), + ( + (lambda: schemas.LAYER_NAME, 9), + (lambda: schemas.LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None}), + ), +) + +GET_LAYER_VERSION_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GLVPO, + {_sSI: _cGLVPRo, _smit: None}, + (_Po, _RI), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +GET_LAYER_VERSION_POLICY: StaticOperationSchema = ( + 23, + n0, + _GLVP, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", + "code": 200, + } + ) + }, + GET_LAYER_VERSION_POLICY_INPUT, + GET_LAYER_VERSION_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +LIST_LAYER_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LLVI, + {_sSI: _cLLVR, _sm: None}, + (_CAo, _CR, _LN, _Mar, _MI), + ( + (lambda: schemas.ARCHITECTURE, {_sQ: _CAo}), + (lambda: schemas.RUNTIME, {_sQ: _CR}), + (lambda: schemas.LAYER_NAME, 9), + (lambda: schemas.STRING, {_sQ: _Mar}), + (MAX_LAYER_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_LAYER_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LLVO, + {_sSI: _cLLVRo, _smit: None}, + (_NM, _LV), + ((lambda: schemas.STRING, 0), (lambda: LAYER_VERSIONS_LIST, 0)), +) + +LIST_LAYER_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LLV, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2018-10-31/layers/{LayerName}/versions", + "code": 200, + } + ) + }, + LIST_LAYER_VERSIONS_INPUT, + LIST_LAYER_VERSIONS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +LAYER_VERSIONS_LIST: StaticSchema = ( + 16, + n0, + _LVL, + 0, + (_me,), + ((LAYER_VERSIONS_LIST_ITEM, 0),), +) + +LAYER_VERSION_CONTENT_INPUT: StaticSchema = ( + 18, + n0, + _LVCI, + 0, + (_SB, _SK, _SOV, _SOSM, _ZF), + ( + (lambda: schemas.S3_BUCKET, 0), + (lambda: schemas.S3_KEY, 0), + (lambda: schemas.S3_OBJECT_VERSION, 0), + (lambda: schemas.S3_OBJECT_STORAGE_MODE, 0), + (lambda: schemas.BLOB, 0), + ), +) + +PUBLISH_LAYER_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _PLVI, + {_sSI: _cPLVR, _sm: None}, + (_LN, _D, _Cont, _CAom, _CRo, _LI), + ( + (lambda: schemas.LAYER_NAME, 9), + (lambda: schemas.DESCRIPTION, 0), + (LAYER_VERSION_CONTENT_INPUT, 1), + (COMPATIBLE_ARCHITECTURES, 0), + (COMPATIBLE_RUNTIMES, 0), + (LICENSE_INFO, 0), + ), +) + +PUBLISH_LAYER_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _PLVO, + {_sSI: _cPLVRo, _smit: None}, + (_Cont, _LAa, _LVA, _D, _CDr, _V, _CAom, _CRo, _LI), + ( + (LAYER_VERSION_CONTENT_OUTPUT, 0), + (LAYER_ARN, 0), + (lambda: schemas.LAYER_VERSION_ARN, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.LAYER_VERSION_NUMBER, {_s: 0}), + (COMPATIBLE_ARCHITECTURES, 0), + (COMPATIBLE_RUNTIMES, 0), + (LICENSE_INFO, 0), + ), +) + +PUBLISH_LAYER_VERSION: StaticOperationSchema = ( + 23, + n0, + _PLV, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2018-10-31/layers/{LayerName}/versions", + "code": 201, + } + ) + }, + PUBLISH_LAYER_VERSION_INPUT, + PUBLISH_LAYER_VERSION_OUTPUT, + ( + lambda: schemas.CODE_STORAGE_EXCEEDED_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +REMOVE_LAYER_VERSION_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _RLVPI, + {_sSI: _cRLVPR, _sm: None}, + (_LN, _VN, _SI, _RI), + ( + (lambda: schemas.LAYER_NAME, 9), + (lambda: schemas.LAYER_VERSION_NUMBER, {_s: None, _smi: None, _sL: None}), + (lambda: schemas.STATEMENT_ID, 9), + (lambda: schemas.STRING, {_sQ: _RI}), + ), +) + +REMOVE_LAYER_VERSION_PERMISSION_OUTPUT: StaticSchema = ( + 18, + n0, + _RLVPO, + {_sSI: _sU, _smit: None}, +) + +REMOVE_LAYER_VERSION_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _RLVP, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}", + "code": 204, + } + ) + }, + REMOVE_LAYER_VERSION_PERMISSION_INPUT, + REMOVE_LAYER_VERSION_PERMISSION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.PRECONDITION_FAILED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +MAX_FUNCTION_EVENT_INVOKE_CONFIG_LIST_ITEMS: StaticSchema = (7, n0, _MFEICLI, 0) + +LIST_FUNCTION_EVENT_INVOKE_CONFIGS_INPUT: StaticSchema = ( + 18, + n0, + _LFEICI, + {_sSI: _cLFEICR, _sm: None}, + (_FN, _Mar, _MI), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.STRING, {_sQ: _Mar}), + (MAX_FUNCTION_EVENT_INVOKE_CONFIG_LIST_ITEMS, {_sQ: _MI}), + ), +) + +LIST_FUNCTION_EVENT_INVOKE_CONFIGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LFEICO, + {_sSI: _cLFEICRo, _smit: None}, + (_FEICu, _NM), + ((lambda: FUNCTION_EVENT_INVOKE_CONFIG_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_FUNCTION_EVENT_INVOKE_CONFIGS: StaticOperationSchema = ( + 23, + n0, + _LFEIC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config/list", + "code": 200, + } + ) + }, + LIST_FUNCTION_EVENT_INVOKE_CONFIGS_INPUT, + LIST_FUNCTION_EVENT_INVOKE_CONFIGS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +FUNCTION_EVENT_INVOKE_CONFIG: StaticSchema = ( + 18, + n0, + _FEIC, + 0, + (_LM, _FA, _MRA, _MEAIS, _DCe), + ( + (lambda: schemas.DATE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.MAXIMUM_RETRY_ATTEMPTS, 0), + (lambda: schemas.MAXIMUM_EVENT_AGE_IN_SECONDS, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + ), +) + +FUNCTION_EVENT_INVOKE_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _FEICL, + 0, + (_me,), + ((FUNCTION_EVENT_INVOKE_CONFIG, 0),), +) + +TAGGABLE_RESOURCE: StaticSchema = (3, n0, _TRa, 0) + +LIST_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LTI, + {_sSI: _cLTR, _sm: None}, + (_Reso,), + ((TAGGABLE_RESOURCE, 9),), +) + +LIST_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTO, + {_sSI: _cLTRo, _smit: None}, + (_Ta,), + ((lambda: schemas.TAGS, 0),), +) + +LIST_TAGS: StaticOperationSchema = ( + 23, + n0, + _LTi, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/2017-03-31/tags/{Resource}", "code": 200} + ) + }, + LIST_TAGS_INPUT, + LIST_TAGS_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +NAMESPACED_STATEMENT_ID: StaticSchema = (3, n0, _NSI, 0) + +REMOVE_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _RPI, + {_sSI: _cRPR, _sm: None}, + (_FN, _SI, _Q, _RI), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (NAMESPACED_STATEMENT_ID, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + (lambda: schemas.STRING, {_sQ: _RI}), + ), +) + +REMOVE_PERMISSION_OUTPUT: StaticSchema = (18, n0, _RPO, {_sSI: _sU, _smit: None}) + +REMOVE_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _RPe, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2015-03-31/functions/{FunctionName}/policy/{StatementId}", + "code": 204, + } + ) + }, + REMOVE_PERMISSION_INPUT, + REMOVE_PERMISSION_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.PRECONDITION_FAILED_EXCEPTION, + lambda: schemas.PUBLIC_POLICY_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +QUALIFIER: StaticSchema = (3, n0, _Q, 0) + +DELETE_PROVISIONED_CONCURRENCY_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _DPCCI, + {_sSI: _cDPCCR, _sm: None}, + (_FN, _Q), + ((lambda: schemas.FUNCTION_NAME, 9), (QUALIFIER, {_sQ: _Q, _smi: None})), +) + +DELETE_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _DPCCO, + {_sSI: _sU, _smit: None}, +) + +DELETE_PROVISIONED_CONCURRENCY_CONFIG: StaticOperationSchema = ( + 23, + n0, + _DPCC, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/2019-09-30/functions/{FunctionName}/provisioned-concurrency", + "code": 204, + } + ) + }, + DELETE_PROVISIONED_CONCURRENCY_CONFIG_INPUT, + DELETE_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +GET_PROVISIONED_CONCURRENCY_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _GPCCI, + {_sSI: _cGPCCR, _sm: None}, + (_FN, _Q), + ((lambda: schemas.FUNCTION_NAME, 9), (QUALIFIER, {_sQ: _Q, _smi: None})), +) + +GET_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _GPCCO, + {_sSI: _cGPCCRo, _smit: None}, + (_RPCE, _APCE, _APCEl, _Stat, _SRt, _LM), + ( + (lambda: schemas.POSITIVE_INTEGER, 0), + (lambda: schemas.NON_NEGATIVE_INTEGER, 0), + (lambda: schemas.NON_NEGATIVE_INTEGER, 0), + (lambda: schemas.PROVISIONED_CONCURRENCY_STATUS_ENUM, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +GET_PROVISIONED_CONCURRENCY_CONFIG: StaticOperationSchema = ( + 23, + n0, + _GPCC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/2019-09-30/functions/{FunctionName}/provisioned-concurrency", + "code": 200, + } + ) + }, + GET_PROVISIONED_CONCURRENCY_CONFIG_INPUT, + GET_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: PROVISIONED_CONCURRENCY_CONFIG_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +PROVISIONED_CONCURRENCY_CONFIG_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _PCCNFE, + {_smith: _c, _sE: 404}, + (_T, _m), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +PUT_PROVISIONED_CONCURRENCY_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _PPCCI, + {_sSI: _cPPCCR, _sm: None}, + (_FN, _Q, _PCE), + ( + (lambda: schemas.FUNCTION_NAME, 9), + (QUALIFIER, {_sQ: _Q, _smi: None}), + (lambda: schemas.POSITIVE_INTEGER, 1), + ), +) + +PUT_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _PPCCO, + {_sSI: _cPPCCRo, _smit: None}, + (_RPCE, _APCEl, _APCE, _Stat, _SRt, _LM), + ( + (lambda: schemas.POSITIVE_INTEGER, 0), + (lambda: schemas.NON_NEGATIVE_INTEGER, 0), + (lambda: schemas.NON_NEGATIVE_INTEGER, 0), + (lambda: schemas.PROVISIONED_CONCURRENCY_STATUS_ENUM, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +PUT_PROVISIONED_CONCURRENCY_CONFIG: StaticOperationSchema = ( + 23, + n0, + _PPCC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2019-09-30/functions/{FunctionName}/provisioned-concurrency", + "code": 202, + } + ) + }, + PUT_PROVISIONED_CONCURRENCY_CONFIG_INPUT, + PUT_PROVISIONED_CONCURRENCY_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +PUT_FUNCTION_EVENT_INVOKE_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _PFEICI, + {_sSI: _cPFEICR, _sm: None}, + (_FN, _Q, _MRA, _MEAIS, _DCe), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + (lambda: schemas.MAXIMUM_RETRY_ATTEMPTS, 0), + (lambda: schemas.MAXIMUM_EVENT_AGE_IN_SECONDS, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + ), +) + +PUT_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _PFEICO, + {_sSI: _cFEIC, _smit: None}, + (_LM, _FA, _MRA, _MEAIS, _DCe), + ( + (lambda: schemas.DATE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.MAXIMUM_RETRY_ATTEMPTS, 0), + (lambda: schemas.MAXIMUM_EVENT_AGE_IN_SECONDS, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + ), +) + +PUT_FUNCTION_EVENT_INVOKE_CONFIG: StaticOperationSchema = ( + 23, + n0, + _PFEIC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config", + "code": 200, + } + ) + }, + PUT_FUNCTION_EVENT_INVOKE_CONFIG_INPUT, + PUT_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_sSI: _cPRPR, _sm: None}, + (_RAe, _Po, _RI), + ( + (lambda: schemas.POLICY_RESOURCE_ARN, 9), + (lambda: schemas.RESOURCE_POLICY, 1), + (lambda: schemas.REVISION_ID, 0), + ), +) + +PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPO, + {_sSI: _cPRPRo, _smit: None}, + (_Po, _RI), + ((lambda: schemas.RESOURCE_POLICY, 0), (lambda: schemas.REVISION_ID, 0)), +) + +PUT_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRP, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/2026-07-09/resource-policy/{ResourceArn}", + "code": 200, + } + ) + }, + PUT_RESOURCE_POLICY_INPUT, + PUT_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.POLICY_LENGTH_EXCEEDED_EXCEPTION, + lambda: schemas.PRECONDITION_FAILED_EXCEPTION, + lambda: schemas.PUBLIC_POLICY_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +CALLBACK_TIMEOUT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CTE, + {_smith: _c, _sE: 400}, + (_T, _M), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_INPUT: StaticSchema = ( + 18, + n0, + _SDECFI, + {_sSI: _cSDECFR, _sm: None}, + (_CIa, _E), + ((lambda: schemas.CALLBACK_ID, 9), (lambda: schemas.ERROR_OBJECT, 16)), +) + +SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_OUTPUT: StaticSchema = ( + 18, + n0, + _SDECFO, + {_sSI: _cSDECFRo, _smit: None}, +) + +SEND_DURABLE_EXECUTION_CALLBACK_FAILURE: StaticOperationSchema = ( + 23, + n0, + _SDECF, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2025-12-01/durable-execution-callbacks/{CallbackId}/fail", + } + ) + }, + SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_INPUT, + SEND_DURABLE_EXECUTION_CALLBACK_FAILURE_OUTPUT, + ( + CALLBACK_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_INPUT: StaticSchema = ( + 18, + n0, + _SDECHI, + {_sSI: _cSDECHR, _sm: None}, + (_CIa,), + ((lambda: schemas.CALLBACK_ID, 9),), +) + +SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_OUTPUT: StaticSchema = ( + 18, + n0, + _SDECHO, + {_sSI: _cSDECHRo, _smit: None}, +) + +SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT: StaticOperationSchema = ( + 23, + n0, + _SDECH, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2025-12-01/durable-execution-callbacks/{CallbackId}/heartbeat", + } + ) + }, + SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_INPUT, + SEND_DURABLE_EXECUTION_CALLBACK_HEARTBEAT_OUTPUT, + ( + CALLBACK_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +BINARY_OPERATION_PAYLOAD: StaticSchema = (1, n0, _BOP, 4) + +SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_INPUT: StaticSchema = ( + 18, + n0, + _SDECSI, + {_sSI: _cSDECSR, _sm: None}, + (_CIa, _Re), + ((lambda: schemas.CALLBACK_ID, 9), (BINARY_OPERATION_PAYLOAD, 16)), +) + +SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _SDECSO, + {_sSI: _cSDECSRo, _smit: None}, +) + +SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS: StaticOperationSchema = ( + 23, + n0, + _SDECS, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2025-12-01/durable-execution-callbacks/{CallbackId}/succeed", + } + ) + }, + SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_INPUT, + SEND_DURABLE_EXECUTION_CALLBACK_SUCCESS_OUTPUT, + ( + CALLBACK_TIMEOUT_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + lambda: schemas.KMS_DISABLED_EXCEPTION, + lambda: schemas.KMS_INVALID_STATE_EXCEPTION, + lambda: schemas.KMS_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _sm: None}, + (_Reso, _Ta), + ((TAGGABLE_RESOURCE, 9), (lambda: schemas.TAGS, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smit: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TRag, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/2017-03-31/tags/{Resource}", "code": 204} + ) + }, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = ( + 16, + n0, + _TKL, + 0, + (_me,), + ((lambda: schemas.TAG_KEY, {_sN: _K}),), +) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URIn, + {_sSI: _cURR, _sm: None}, + (_Reso, _TKa), + ((TAGGABLE_RESOURCE, 9), (TAG_KEY_LIST, {_sQ: _tK, _smi: None})), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _UROn, {_sSI: _sU, _smit: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/2017-03-31/tags/{Resource}", "code": 204} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT: StaticSchema = ( + 18, + n0, + _UFEICI, + {_sSI: _cUFEICR, _sm: None}, + (_FN, _Q, _MRA, _MEAIS, _DCe), + ( + (lambda: schemas.NAMESPACED_FUNCTION_NAME, 9), + (lambda: schemas.NUMERIC_LATEST_PUBLISHED_OR_ALIAS_QUALIFIER, {_sQ: _Q}), + (lambda: schemas.MAXIMUM_RETRY_ATTEMPTS, 0), + (lambda: schemas.MAXIMUM_EVENT_AGE_IN_SECONDS, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + ), +) + +UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT: StaticSchema = ( + 18, + n0, + _UFEICO, + {_sSI: _cFEIC, _smit: None}, + (_LM, _FA, _MRA, _MEAIS, _DCe), + ( + (lambda: schemas.DATE, 0), + (lambda: schemas.FUNCTION_ARN, 0), + (lambda: schemas.MAXIMUM_RETRY_ATTEMPTS, 0), + (lambda: schemas.MAXIMUM_EVENT_AGE_IN_SECONDS, 0), + (lambda: schemas.DESTINATION_CONFIG, 0), + ), +) + +UPDATE_FUNCTION_EVENT_INVOKE_CONFIG: StaticOperationSchema = ( + 23, + n0, + _UFEIC, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/2019-09-25/functions/{FunctionName}/event-invoke-config", + "code": 200, + } + ) + }, + UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_INPUT, + UPDATE_FUNCTION_EVENT_INVOKE_CONFIG_OUTPUT, + ( + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.RESOURCE_CONFLICT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_EXCEPTION, + ), +) + +AWS_GIR_API_SERVICE: StaticSchema = ( + 21, + n0, + _AWSGAS, + { + _aw: MappingProxyType( + { + "sdkId": "Lambda", + "arnNamespace": "lambda", + "cloudFormationName": "Lambda", + "cloudTrailEventSource": "lambda.amazonaws.com", + "endpointPrefix": "lambda", + } + ), + _aws: MappingProxyType({"name": "lambda"}), + _aJ: None, + }, +) diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/aio/client.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/aio/client.py index 785a39da6..0df72310a 100644 --- a/clients/aws-sdk-lambda/src/aws_sdk_lambda/aio/client.py +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncOutputEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/aio/config.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/aio/config.py index 9a536397b..ccf1d0eca 100644 --- a/clients/aws-sdk-lambda/src/aws_sdk_lambda/aio/config.py +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/client.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/client.py index 113514fec..06708300a 100644 --- a/clients/aws-sdk-lambda/src/aws_sdk_lambda/client.py +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/config.py b/clients/aws-sdk-lambda/src/aws_sdk_lambda/config.py index c86a93b7a..5819d5887 100644 --- a/clients/aws-sdk-lambda/src/aws_sdk_lambda/config.py +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-lambda/src/aws_sdk_lambda/models.pyi b/clients/aws-sdk-lambda/src/aws_sdk_lambda/models.pyi index b1097288a..d116fa16e 100644 --- a/clients/aws-sdk-lambda/src/aws_sdk_lambda/models.pyi +++ b/clients/aws-sdk-lambda/src/aws_sdk_lambda/models.pyi @@ -1,17 +1,426 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self -from smithy_core.aio.interfaces import StreamingBlob from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AccountLimit as AccountLimit, + AccountUsage as AccountUsage, + AddLayerVersionPermissionInput as AddLayerVersionPermissionInput, + AddLayerVersionPermissionOutput as AddLayerVersionPermissionOutput, + AddPermissionInput as AddPermissionInput, + AddPermissionOutput as AddPermissionOutput, + AliasConfiguration as AliasConfiguration, + AliasLimitExceededException as AliasLimitExceededException, + AliasRoutingConfiguration as AliasRoutingConfiguration, + AllowedPublishers as AllowedPublishers, + AmazonManagedKafkaEventSourceConfig as AmazonManagedKafkaEventSourceConfig, + ApplicationLogLevel as ApplicationLogLevel, + Architecture as Architecture, + CallbackDetails as CallbackDetails, + CallbackFailedDetails as CallbackFailedDetails, + CallbackOptions as CallbackOptions, + CallbackStartedDetails as CallbackStartedDetails, + CallbackSucceededDetails as CallbackSucceededDetails, + CallbackTimedOutDetails as CallbackTimedOutDetails, + CallbackTimeoutException as CallbackTimeoutException, + CapacityProvider as CapacityProvider, + CapacityProviderConfig as CapacityProviderConfig, + CapacityProviderLimitExceededException as CapacityProviderLimitExceededException, + CapacityProviderLoggingConfig as CapacityProviderLoggingConfig, + CapacityProviderPermissionsConfig as CapacityProviderPermissionsConfig, + CapacityProviderPredefinedMetricType as CapacityProviderPredefinedMetricType, + CapacityProviderScalingConfig as CapacityProviderScalingConfig, + CapacityProviderScalingMode as CapacityProviderScalingMode, + CapacityProviderState as CapacityProviderState, + CapacityProviderTelemetryConfig as CapacityProviderTelemetryConfig, + CapacityProviderVpcConfig as CapacityProviderVpcConfig, + ChainedInvokeDetails as ChainedInvokeDetails, + ChainedInvokeFailedDetails as ChainedInvokeFailedDetails, + ChainedInvokeOptions as ChainedInvokeOptions, + ChainedInvokeStartedDetails as ChainedInvokeStartedDetails, + ChainedInvokeStoppedDetails as ChainedInvokeStoppedDetails, + ChainedInvokeSucceededDetails as ChainedInvokeSucceededDetails, + ChainedInvokeTimedOutDetails as ChainedInvokeTimedOutDetails, + CheckpointDurableExecutionInput as CheckpointDurableExecutionInput, + CheckpointDurableExecutionOutput as CheckpointDurableExecutionOutput, + CheckpointUpdatedExecutionState as CheckpointUpdatedExecutionState, + CodeArtifactUserDeletedException as CodeArtifactUserDeletedException, + CodeArtifactUserFailedException as CodeArtifactUserFailedException, + CodeArtifactUserPendingException as CodeArtifactUserPendingException, + CodeSigningConfig as CodeSigningConfig, + CodeSigningConfigNotFoundException as CodeSigningConfigNotFoundException, + CodeSigningPolicies as CodeSigningPolicies, + CodeSigningPolicy as CodeSigningPolicy, + CodeStorageExceededException as CodeStorageExceededException, + CodeVerificationFailedException as CodeVerificationFailedException, + Concurrency as Concurrency, + ContextDetails as ContextDetails, + ContextFailedDetails as ContextFailedDetails, + ContextOptions as ContextOptions, + ContextStartedDetails as ContextStartedDetails, + ContextSucceededDetails as ContextSucceededDetails, + Cors as Cors, + CreateAliasInput as CreateAliasInput, + CreateAliasOutput as CreateAliasOutput, + CreateCapacityProviderInput as CreateCapacityProviderInput, + CreateCapacityProviderOutput as CreateCapacityProviderOutput, + CreateCodeSigningConfigInput as CreateCodeSigningConfigInput, + CreateCodeSigningConfigOutput as CreateCodeSigningConfigOutput, + CreateEventSourceMappingInput as CreateEventSourceMappingInput, + CreateEventSourceMappingOutput as CreateEventSourceMappingOutput, + CreateFunctionInput as CreateFunctionInput, + CreateFunctionOutput as CreateFunctionOutput, + CreateFunctionUrlConfigInput as CreateFunctionUrlConfigInput, + CreateFunctionUrlConfigOutput as CreateFunctionUrlConfigOutput, + DeadLetterConfig as DeadLetterConfig, + DeleteAliasInput as DeleteAliasInput, + DeleteAliasOutput as DeleteAliasOutput, + DeleteCapacityProviderInput as DeleteCapacityProviderInput, + DeleteCapacityProviderOutput as DeleteCapacityProviderOutput, + DeleteCodeSigningConfigInput as DeleteCodeSigningConfigInput, + DeleteCodeSigningConfigOutput as DeleteCodeSigningConfigOutput, + DeleteEventSourceMappingInput as DeleteEventSourceMappingInput, + DeleteEventSourceMappingOutput as DeleteEventSourceMappingOutput, + DeleteFunctionCodeSigningConfigInput as DeleteFunctionCodeSigningConfigInput, + DeleteFunctionCodeSigningConfigOutput as DeleteFunctionCodeSigningConfigOutput, + DeleteFunctionConcurrencyInput as DeleteFunctionConcurrencyInput, + DeleteFunctionConcurrencyOutput as DeleteFunctionConcurrencyOutput, + DeleteFunctionEventInvokeConfigInput as DeleteFunctionEventInvokeConfigInput, + DeleteFunctionEventInvokeConfigOutput as DeleteFunctionEventInvokeConfigOutput, + DeleteFunctionInput as DeleteFunctionInput, + DeleteFunctionOutput as DeleteFunctionOutput, + DeleteFunctionUrlConfigInput as DeleteFunctionUrlConfigInput, + DeleteFunctionUrlConfigOutput as DeleteFunctionUrlConfigOutput, + DeleteLayerVersionInput as DeleteLayerVersionInput, + DeleteLayerVersionOutput as DeleteLayerVersionOutput, + DeleteProvisionedConcurrencyConfigInput as DeleteProvisionedConcurrencyConfigInput, + DeleteProvisionedConcurrencyConfigOutput as DeleteProvisionedConcurrencyConfigOutput, + DeleteResourcePolicyInput as DeleteResourcePolicyInput, + DeleteResourcePolicyOutput as DeleteResourcePolicyOutput, + DestinationConfig as DestinationConfig, + DirectS3Read as DirectS3Read, + DocumentDBEventSourceConfig as DocumentDBEventSourceConfig, + DurableConfig as DurableConfig, + DurableExecutionAlreadyStartedException as DurableExecutionAlreadyStartedException, + EC2AccessDeniedException as EC2AccessDeniedException, + EC2ThrottledException as EC2ThrottledException, + EC2UnexpectedException as EC2UnexpectedException, + EFSIOException as EFSIOException, + EFSMountConnectivityException as EFSMountConnectivityException, + EFSMountFailureException as EFSMountFailureException, + EFSMountTimeoutException as EFSMountTimeoutException, + EndPointType as EndPointType, + ENILimitReachedException as ENILimitReachedException, + ENINotReadyException as ENINotReadyException, + Environment as Environment, + EnvironmentError as EnvironmentError, + EnvironmentResponse as EnvironmentResponse, + EphemeralStorage as EphemeralStorage, + ErrorObject as ErrorObject, + Event as Event, + EventError as EventError, + EventInput as EventInput, + EventResult as EventResult, + EventSourceMappingConfiguration as EventSourceMappingConfiguration, + EventSourceMappingLoggingConfig as EventSourceMappingLoggingConfig, + EventSourceMappingMetric as EventSourceMappingMetric, + EventSourceMappingMetricsConfig as EventSourceMappingMetricsConfig, + EventSourceMappingSystemLogLevel as EventSourceMappingSystemLogLevel, + EventSourcePosition as EventSourcePosition, + EventType as EventType, + Execution as Execution, + ExecutionDetails as ExecutionDetails, + ExecutionFailedDetails as ExecutionFailedDetails, + ExecutionStartedDetails as ExecutionStartedDetails, + ExecutionStatus as ExecutionStatus, + ExecutionStoppedDetails as ExecutionStoppedDetails, + ExecutionSucceededDetails as ExecutionSucceededDetails, + ExecutionTimedOutDetails as ExecutionTimedOutDetails, + FileSystemConfig as FileSystemConfig, + Filter as Filter, + FilterCriteria as FilterCriteria, + FilterCriteriaError as FilterCriteriaError, + FullDocument as FullDocument, + FunctionCode as FunctionCode, + FunctionCodeLocation as FunctionCodeLocation, + FunctionCodeLocationError as FunctionCodeLocationError, + FunctionConfiguration as FunctionConfiguration, + FunctionEventInvokeConfig as FunctionEventInvokeConfig, + FunctionResponseType as FunctionResponseType, + FunctionScalingConfig as FunctionScalingConfig, + FunctionUrlAuthType as FunctionUrlAuthType, + FunctionUrlConfig as FunctionUrlConfig, + FunctionVersion as FunctionVersion, + FunctionVersionLatestPublished as FunctionVersionLatestPublished, + FunctionVersionsByCapacityProviderListItem as FunctionVersionsByCapacityProviderListItem, + FunctionVersionsPerCapacityProviderLimitExceededException as FunctionVersionsPerCapacityProviderLimitExceededException, + GetAccountSettingsInput as GetAccountSettingsInput, + GetAccountSettingsOutput as GetAccountSettingsOutput, + GetAliasInput as GetAliasInput, + GetAliasOutput as GetAliasOutput, + GetCapacityProviderInput as GetCapacityProviderInput, + GetCapacityProviderOutput as GetCapacityProviderOutput, + GetCodeSigningConfigInput as GetCodeSigningConfigInput, + GetCodeSigningConfigOutput as GetCodeSigningConfigOutput, + GetDurableExecutionHistoryInput as GetDurableExecutionHistoryInput, + GetDurableExecutionHistoryOutput as GetDurableExecutionHistoryOutput, + GetDurableExecutionInput as GetDurableExecutionInput, + GetDurableExecutionOutput as GetDurableExecutionOutput, + GetDurableExecutionStateInput as GetDurableExecutionStateInput, + GetDurableExecutionStateOutput as GetDurableExecutionStateOutput, + GetEventSourceMappingInput as GetEventSourceMappingInput, + GetEventSourceMappingOutput as GetEventSourceMappingOutput, + GetFunctionCodeSigningConfigInput as GetFunctionCodeSigningConfigInput, + GetFunctionCodeSigningConfigOutput as GetFunctionCodeSigningConfigOutput, + GetFunctionConcurrencyInput as GetFunctionConcurrencyInput, + GetFunctionConcurrencyOutput as GetFunctionConcurrencyOutput, + GetFunctionConfigurationInput as GetFunctionConfigurationInput, + GetFunctionConfigurationOutput as GetFunctionConfigurationOutput, + GetFunctionEventInvokeConfigInput as GetFunctionEventInvokeConfigInput, + GetFunctionEventInvokeConfigOutput as GetFunctionEventInvokeConfigOutput, + GetFunctionInput as GetFunctionInput, + GetFunctionOutput as GetFunctionOutput, + GetFunctionRecursionConfigInput as GetFunctionRecursionConfigInput, + GetFunctionRecursionConfigOutput as GetFunctionRecursionConfigOutput, + GetFunctionScalingConfigInput as GetFunctionScalingConfigInput, + GetFunctionScalingConfigOutput as GetFunctionScalingConfigOutput, + GetFunctionUrlConfigInput as GetFunctionUrlConfigInput, + GetFunctionUrlConfigOutput as GetFunctionUrlConfigOutput, + GetLayerVersionByArnInput as GetLayerVersionByArnInput, + GetLayerVersionByArnOutput as GetLayerVersionByArnOutput, + GetLayerVersionInput as GetLayerVersionInput, + GetLayerVersionOutput as GetLayerVersionOutput, + GetLayerVersionPolicyInput as GetLayerVersionPolicyInput, + GetLayerVersionPolicyOutput as GetLayerVersionPolicyOutput, + GetPolicyInput as GetPolicyInput, + GetPolicyOutput as GetPolicyOutput, + GetProvisionedConcurrencyConfigInput as GetProvisionedConcurrencyConfigInput, + GetProvisionedConcurrencyConfigOutput as GetProvisionedConcurrencyConfigOutput, + GetResourcePolicyInput as GetResourcePolicyInput, + GetResourcePolicyOutput as GetResourcePolicyOutput, + GetRuntimeManagementConfigInput as GetRuntimeManagementConfigInput, + GetRuntimeManagementConfigOutput as GetRuntimeManagementConfigOutput, + ImageConfig as ImageConfig, + ImageConfigError as ImageConfigError, + ImageConfigResponse as ImageConfigResponse, + InstanceRequirements as InstanceRequirements, + InvalidCodeSignatureException as InvalidCodeSignatureException, + InvalidParameterValueException as InvalidParameterValueException, + InvalidRequestContentException as InvalidRequestContentException, + InvalidRuntimeException as InvalidRuntimeException, + InvalidSecurityGroupIDException as InvalidSecurityGroupIDException, + InvalidSubnetIDException as InvalidSubnetIDException, + InvalidZipFileException as InvalidZipFileException, + InvocationCompletedDetails as InvocationCompletedDetails, + InvocationType as InvocationType, + InvokeAsyncInput as InvokeAsyncInput, + InvokeAsyncOutput as InvokeAsyncOutput, + InvokeInput as InvokeInput, + InvokeMode as InvokeMode, + InvokeOutput as InvokeOutput, + InvokeResponseStreamUpdate as InvokeResponseStreamUpdate, + InvokeWithResponseStreamCompleteEvent as InvokeWithResponseStreamCompleteEvent, + InvokeWithResponseStreamInput as InvokeWithResponseStreamInput, + InvokeWithResponseStreamOutput as InvokeWithResponseStreamOutput, + InvokeWithResponseStreamResponseEventPayloadChunk as InvokeWithResponseStreamResponseEventPayloadChunk, + InvokeWithResponseStreamResponseEventInvokeComplete as InvokeWithResponseStreamResponseEventInvokeComplete, + InvokeWithResponseStreamResponseEventUnknown as InvokeWithResponseStreamResponseEventUnknown, + InvokeWithResponseStreamResponseEvent as InvokeWithResponseStreamResponseEvent, + _InvokeWithResponseStreamResponseEventDeserializer as _InvokeWithResponseStreamResponseEventDeserializer, + KafkaEventSourceMappingConsumptionMode as KafkaEventSourceMappingConsumptionMode, + KafkaSchemaRegistryAccessConfig as KafkaSchemaRegistryAccessConfig, + KafkaSchemaRegistryAuthType as KafkaSchemaRegistryAuthType, + KafkaSchemaRegistryConfig as KafkaSchemaRegistryConfig, + KafkaSchemaValidationAttribute as KafkaSchemaValidationAttribute, + KafkaSchemaValidationConfig as KafkaSchemaValidationConfig, + KMSAccessDeniedException as KMSAccessDeniedException, + KMSDisabledException as KMSDisabledException, + KMSInvalidStateException as KMSInvalidStateException, + KMSNotFoundException as KMSNotFoundException, + LambdaManagedInstancesCapacityProviderConfig as LambdaManagedInstancesCapacityProviderConfig, + LastUpdateStatus as LastUpdateStatus, + LastUpdateStatusReasonCode as LastUpdateStatusReasonCode, + Layer as Layer, + LayersListItem as LayersListItem, + LayerVersionContentInput as LayerVersionContentInput, + LayerVersionContentOutput as LayerVersionContentOutput, + LayerVersionsListItem as LayerVersionsListItem, + ListAliasesInput as ListAliasesInput, + ListAliasesOutput as ListAliasesOutput, + ListCapacityProvidersInput as ListCapacityProvidersInput, + ListCapacityProvidersOutput as ListCapacityProvidersOutput, + ListCodeSigningConfigsInput as ListCodeSigningConfigsInput, + ListCodeSigningConfigsOutput as ListCodeSigningConfigsOutput, + ListDurableExecutionsByFunctionInput as ListDurableExecutionsByFunctionInput, + ListDurableExecutionsByFunctionOutput as ListDurableExecutionsByFunctionOutput, + ListEventSourceMappingsInput as ListEventSourceMappingsInput, + ListEventSourceMappingsOutput as ListEventSourceMappingsOutput, + ListFunctionEventInvokeConfigsInput as ListFunctionEventInvokeConfigsInput, + ListFunctionEventInvokeConfigsOutput as ListFunctionEventInvokeConfigsOutput, +) + +from ._private.models_1 import ( + ListFunctionsByCodeSigningConfigInput as ListFunctionsByCodeSigningConfigInput, + ListFunctionsByCodeSigningConfigOutput as ListFunctionsByCodeSigningConfigOutput, + ListFunctionsInput as ListFunctionsInput, + ListFunctionsOutput as ListFunctionsOutput, + ListFunctionUrlConfigsInput as ListFunctionUrlConfigsInput, + ListFunctionUrlConfigsOutput as ListFunctionUrlConfigsOutput, + ListFunctionVersionsByCapacityProviderInput as ListFunctionVersionsByCapacityProviderInput, + ListFunctionVersionsByCapacityProviderOutput as ListFunctionVersionsByCapacityProviderOutput, + ListLayersInput as ListLayersInput, + ListLayersOutput as ListLayersOutput, + ListLayerVersionsInput as ListLayerVersionsInput, + ListLayerVersionsOutput as ListLayerVersionsOutput, + ListProvisionedConcurrencyConfigsInput as ListProvisionedConcurrencyConfigsInput, + ListProvisionedConcurrencyConfigsOutput as ListProvisionedConcurrencyConfigsOutput, + ListTagsInput as ListTagsInput, + ListTagsOutput as ListTagsOutput, + ListVersionsByFunctionInput as ListVersionsByFunctionInput, + ListVersionsByFunctionOutput as ListVersionsByFunctionOutput, + LogFormat as LogFormat, + LoggingConfig as LoggingConfig, + LogType as LogType, + ModeNotSupportedException as ModeNotSupportedException, + NoPublishedVersionException as NoPublishedVersionException, + OnFailure as OnFailure, + OnSuccess as OnSuccess, + Operation as Operation, + OperationAction as OperationAction, + OperationStatus as OperationStatus, + OperationType as OperationType, + OperationUpdate as OperationUpdate, + PackageType as PackageType, + PolicyLengthExceededException as PolicyLengthExceededException, + PreconditionFailedException as PreconditionFailedException, + PropagateTags as PropagateTags, + PropagateTagsMode as PropagateTagsMode, + ProvisionedConcurrencyConfigListItem as ProvisionedConcurrencyConfigListItem, + ProvisionedConcurrencyConfigNotFoundException as ProvisionedConcurrencyConfigNotFoundException, + ProvisionedConcurrencyStatusEnum as ProvisionedConcurrencyStatusEnum, + ProvisionedPollerConfig as ProvisionedPollerConfig, + PublicPolicyException as PublicPolicyException, + PublishLayerVersionInput as PublishLayerVersionInput, + PublishLayerVersionOutput as PublishLayerVersionOutput, + PublishVersionInput as PublishVersionInput, + PublishVersionOutput as PublishVersionOutput, + PutFunctionCodeSigningConfigInput as PutFunctionCodeSigningConfigInput, + PutFunctionCodeSigningConfigOutput as PutFunctionCodeSigningConfigOutput, + PutFunctionConcurrencyInput as PutFunctionConcurrencyInput, + PutFunctionConcurrencyOutput as PutFunctionConcurrencyOutput, + PutFunctionEventInvokeConfigInput as PutFunctionEventInvokeConfigInput, + PutFunctionEventInvokeConfigOutput as PutFunctionEventInvokeConfigOutput, + PutFunctionRecursionConfigInput as PutFunctionRecursionConfigInput, + PutFunctionRecursionConfigOutput as PutFunctionRecursionConfigOutput, + PutFunctionScalingConfigInput as PutFunctionScalingConfigInput, + PutFunctionScalingConfigOutput as PutFunctionScalingConfigOutput, + PutProvisionedConcurrencyConfigInput as PutProvisionedConcurrencyConfigInput, + PutProvisionedConcurrencyConfigOutput as PutProvisionedConcurrencyConfigOutput, + PutResourcePolicyInput as PutResourcePolicyInput, + PutResourcePolicyOutput as PutResourcePolicyOutput, + PutRuntimeManagementConfigInput as PutRuntimeManagementConfigInput, + PutRuntimeManagementConfigOutput as PutRuntimeManagementConfigOutput, + RecursiveInvocationException as RecursiveInvocationException, + RecursiveLoop as RecursiveLoop, + RemoveLayerVersionPermissionInput as RemoveLayerVersionPermissionInput, + RemoveLayerVersionPermissionOutput as RemoveLayerVersionPermissionOutput, + RemovePermissionInput as RemovePermissionInput, + RemovePermissionOutput as RemovePermissionOutput, + RequestTooLargeException as RequestTooLargeException, + ResolvedS3Object as ResolvedS3Object, + ResourceConflictException as ResourceConflictException, + ResourceInUseException as ResourceInUseException, + ResourceNotFoundException as ResourceNotFoundException, + ResourceNotReadyException as ResourceNotReadyException, + ResponseStreamingInvocationType as ResponseStreamingInvocationType, + RetryDetails as RetryDetails, + Runtime as Runtime, + RuntimeVersionConfig as RuntimeVersionConfig, + RuntimeVersionError as RuntimeVersionError, + S3FilesConfig as S3FilesConfig, + S3FilesMountConnectivityException as S3FilesMountConnectivityException, + S3FilesMountFailureException as S3FilesMountFailureException, + S3FilesMountTimeoutException as S3FilesMountTimeoutException, + S3ObjectStorageMode as S3ObjectStorageMode, + ScalingConfig as ScalingConfig, + SchemaRegistryEventRecordFormat as SchemaRegistryEventRecordFormat, + SelfManagedEventSource as SelfManagedEventSource, + SelfManagedKafkaEventSourceConfig as SelfManagedKafkaEventSourceConfig, + SendDurableExecutionCallbackFailureInput as SendDurableExecutionCallbackFailureInput, + SendDurableExecutionCallbackFailureOutput as SendDurableExecutionCallbackFailureOutput, + SendDurableExecutionCallbackHeartbeatInput as SendDurableExecutionCallbackHeartbeatInput, + SendDurableExecutionCallbackHeartbeatOutput as SendDurableExecutionCallbackHeartbeatOutput, + SendDurableExecutionCallbackSuccessInput as SendDurableExecutionCallbackSuccessInput, + SendDurableExecutionCallbackSuccessOutput as SendDurableExecutionCallbackSuccessOutput, + SerializedRequestEntityTooLargeException as SerializedRequestEntityTooLargeException, + ServiceException as ServiceException, + ServiceQuotaExceededException as ServiceQuotaExceededException, + SnapStart as SnapStart, + SnapStartApplyOn as SnapStartApplyOn, + SnapStartException as SnapStartException, + SnapStartNotReadyException as SnapStartNotReadyException, + SnapStartOptimizationStatus as SnapStartOptimizationStatus, + SnapStartRegenerationFailureException as SnapStartRegenerationFailureException, + SnapStartResponse as SnapStartResponse, + SnapStartTimeoutException as SnapStartTimeoutException, + SourceAccessConfiguration as SourceAccessConfiguration, + SourceAccessType as SourceAccessType, + State as State, + StateReasonCode as StateReasonCode, + StepDetails as StepDetails, + StepFailedDetails as StepFailedDetails, + StepOptions as StepOptions, + StepStartedDetails as StepStartedDetails, + StepSucceededDetails as StepSucceededDetails, + StopDurableExecutionInput as StopDurableExecutionInput, + StopDurableExecutionOutput as StopDurableExecutionOutput, + SubnetIPAddressLimitReachedException as SubnetIPAddressLimitReachedException, + SystemLogLevel as SystemLogLevel, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + TagsError as TagsError, + TargetTrackingScalingPolicy as TargetTrackingScalingPolicy, + TenancyConfig as TenancyConfig, + TenantIsolationMode as TenantIsolationMode, + ThrottleReason as ThrottleReason, + TooManyRequestsException as TooManyRequestsException, + TraceHeader as TraceHeader, + TracingConfig as TracingConfig, + TracingConfigResponse as TracingConfigResponse, + TracingMode as TracingMode, + UnsupportedMediaTypeException as UnsupportedMediaTypeException, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateAliasInput as UpdateAliasInput, + UpdateAliasOutput as UpdateAliasOutput, + UpdateCapacityProviderInput as UpdateCapacityProviderInput, + UpdateCapacityProviderOutput as UpdateCapacityProviderOutput, + UpdateCodeSigningConfigInput as UpdateCodeSigningConfigInput, + UpdateCodeSigningConfigOutput as UpdateCodeSigningConfigOutput, + UpdateEventSourceMappingInput as UpdateEventSourceMappingInput, + UpdateEventSourceMappingOutput as UpdateEventSourceMappingOutput, + UpdateFunctionCodeInput as UpdateFunctionCodeInput, + UpdateFunctionCodeOutput as UpdateFunctionCodeOutput, + UpdateFunctionConfigurationInput as UpdateFunctionConfigurationInput, + UpdateFunctionConfigurationOutput as UpdateFunctionConfigurationOutput, + UpdateFunctionEventInvokeConfigInput as UpdateFunctionEventInvokeConfigInput, + UpdateFunctionEventInvokeConfigOutput as UpdateFunctionEventInvokeConfigOutput, + UpdateFunctionUrlConfigInput as UpdateFunctionUrlConfigInput, + UpdateFunctionUrlConfigOutput as UpdateFunctionUrlConfigOutput, + UpdateRuntimeOn as UpdateRuntimeOn, + VpcConfig as VpcConfig, + VpcConfigResponse as VpcConfigResponse, + WaitCancelledDetails as WaitCancelledDetails, + WaitDetails as WaitDetails, + WaitOptions as WaitOptions, + WaitStartedDetails as WaitStartedDetails, + WaitSucceededDetails as WaitSucceededDetails, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -27,10675 +436,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AccountLimit(_SerdeShape): - """ - Limits that are related to concurrency and storage. All file and storage - sizes are in bytes. - """ - - total_code_size: int = ... - """ - The amount of storage space that you can use for all deployment packages - and layer archives. - """ - code_size_unzipped: int = ... - """ - The maximum size of a function's deployment package and layers when - they're extracted. - """ - code_size_zipped: int = ... - """ - The maximum size of a deployment package when it's uploaded directly to - Lambda. Use Amazon S3 for larger files. - """ - concurrent_executions: int = ... - """The maximum number of simultaneous function executions.""" - unreserved_concurrent_executions: int | None = ... - """ - The maximum number of simultaneous function executions, minus the - capacity that's reserved for individual functions with - PutFunctionConcurrency. - """ - -@dataclass(kw_only=True) -class AccountUsage(_SerdeShape): - """The number of functions and amount of storage in use.""" - - total_code_size: int = ... - """ - The amount of storage space, in bytes, that's being used by deployment - packages and layer archives. - """ - function_count: int = ... - """The number of Lambda functions.""" - -@dataclass(kw_only=True) -class AddLayerVersionPermissionInput(_SerdeShape): - """Dataclass for AddLayerVersionPermissionInput structure.""" - - layer_name: str | None = ... - """The name or Amazon Resource Name (ARN) of the layer.""" - version_number: int | None = ... - """The version number.""" - statement_id: str | None = ... - """ - An identifier that distinguishes the policy from others on the same - layer version. - """ - action: str | None = ... - """ - The API action that grants access to the layer. For example, - `lambda:GetLayerVersion`. - """ - principal: str | None = ... - """ - An account ID, or `*` to grant layer usage permission to all accounts in - an organization, or all Amazon Web Services accounts (if - `organizationId` is not specified). For the last case, make sure that - you really do want all Amazon Web Services accounts to have usage - permission to this layer. - """ - organization_id: str | None = ... - """ - With the principal set to `*`, grant permission to all accounts in the - specified organization. - """ - revision_id: str | None = ... - """ - Only update the policy if the revision ID matches the ID specified. Use - this option to avoid modifying a policy that has changed since you last - read it. - """ - -@dataclass(kw_only=True) -class AddLayerVersionPermissionOutput(_SerdeShape): - """Dataclass for AddLayerVersionPermissionOutput structure.""" - - statement: str | None = ... - """The permission statement.""" - revision_id: str | None = ... - """A unique identifier for the current revision of the policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AddPermissionInput(_SerdeShape): - """Dataclass for AddPermissionInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** -- `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - statement_id: str | None = ... - """ - A statement identifier that differentiates the statement from others in - the same policy. - """ - action: str | None = ... - """ - The action that the principal can use on the function. For example, - `lambda:InvokeFunction` or `lambda:GetFunction`. - """ - principal: str | None = ... - """ - The Amazon Web Services service, Amazon Web Services account, IAM user, - or IAM role that invokes the function. If you specify a service, use - `SourceArn` or `SourceAccount` to limit who can invoke the function - through that service. - """ - source_arn: str | None = ... - """ - For Amazon Web Services services, the ARN of the Amazon Web Services - resource that invokes the function. For example, an Amazon S3 bucket or - Amazon SNS topic. - - Note that Lambda configures the comparison using the `StringLike` - operator. - """ - function_url_auth_type: str | None = ... - """ - The type of authentication that your function URL uses. Set to `AWS_IAM` - if you want to restrict access to authenticated users only. Set to - `NONE` if you want to bypass IAM authentication to create a public - endpoint. For more information, see [Control access to Lambda function - URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). - """ - invoked_via_function_url: bool | None = ... - """ - Indicates whether the permission applies when the function is invoked - through a function URL. - """ - source_account: str | None = ... - """ - For Amazon Web Services service, the ID of the Amazon Web Services - account that owns the resource. Use this together with `SourceArn` to - ensure that the specified account owns the resource. It is possible for - an Amazon S3 bucket to be deleted by its owner and recreated by another - account. - """ - event_source_token: str | None = ... - """For Alexa Smart Home functions, a token that the invoker must supply.""" - qualifier: str | None = ... - """ - Specify a version or alias to add permissions to a published version of - the function. - """ - revision_id: str | None = ... - """ - Update the policy only if the revision ID matches the ID that's - specified. Use this option to avoid modifying a policy that has changed - since you last read it. - """ - principal_org_id: str | None = ... - """ - The identifier for your organization in Organizations. Use this to grant - permissions to all the Amazon Web Services accounts under this - organization. - """ - -@dataclass(kw_only=True) -class AddPermissionOutput(_SerdeShape): - """Dataclass for AddPermissionOutput structure.""" - - statement: str | None = ... - """The permission statement that's added to the function policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AliasConfiguration(_SerdeShape): - """ - Provides configuration information about a Lambda function - [alias](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). - """ - - alias_arn: str | None = ... - """The Amazon Resource Name (ARN) of the alias.""" - name: str | None = ... - """The name of the alias.""" - function_version: str | None = ... - """The function version that the alias invokes.""" - description: str | None = ... - """A description of the alias.""" - routing_config: AliasRoutingConfiguration | None = ... - """ - The [routing - configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) - of the alias. - """ - revision_id: str | None = ... - """A unique identifier that changes when you update the alias.""" - -@dataclass(kw_only=True) -class AliasLimitExceededException(ServiceError, _SerdeShape): - """ - Lambda couldn't create the alias because your Amazon Web Services - account has exceeded the maximum number of aliases allowed per Lambda - function. For more information, see [Lambda - quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AliasRoutingConfiguration(_SerdeShape): - """ - The - [traffic-shifting](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) - configuration of a Lambda function alias. - """ - - additional_version_weights: dict[str, float] | None = ... - """The second version, and the percentage of traffic that's routed to it.""" - -@dataclass(kw_only=True) -class AllowedPublishers(_SerdeShape): - """List of signing profiles that can sign a code package.""" - - signing_profile_version_arns: list[str] - """ - The Amazon Resource Name (ARN) for each of the signing profiles. A - signing profile defines a trusted user who can sign a code package. - """ - -@dataclass(kw_only=True) -class AmazonManagedKafkaEventSourceConfig(_SerdeShape): - """ - Specific configuration settings for an Amazon Managed Streaming for - Apache Kafka (Amazon MSK) event source. - """ - - consumer_group_id: str | None = ... - """ - The identifier for the Kafka consumer group to join. The consumer group - ID must be unique among all your Kafka event sources. After creating a - Kafka event source mapping with the consumer group ID specified, you - cannot update this value. For more information, see [Customizable - consumer group - ID](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id). - """ - schema_registry_config: KafkaSchemaRegistryConfig | None = ... - """Specific configuration settings for a Kafka schema registry.""" - -class ApplicationLogLevel(UnknownEnumMixin, StrEnum): - TRACE = "TRACE" - DEBUG = "DEBUG" - INFO = "INFO" - WARN = "WARN" - ERROR = "ERROR" - FATAL = "FATAL" - -class Architecture(UnknownEnumMixin, StrEnum): - X86_64 = "x86_64" - ARM64 = "arm64" - -@dataclass(kw_only=True) -class CallbackDetails(_SerdeShape): - """ - Contains details about a callback operation in a durable execution, - including the callback token and timeout configuration. - """ - - callback_id: str | None = ... - """ - The callback ID. Callback IDs are generated by the `DurableContext` when - a durable function calls `ctx.waitForCallback`. - """ - result: str | None = ... - """The response payload from the callback operation as a string.""" - error: ErrorObject | None = ... - """An error object that contains details about the failure.""" - -@dataclass(kw_only=True) -class CallbackFailedDetails(_SerdeShape): - """ - Contains details about a failed callback operation, including error - information and the reason for failure. - """ - - error: EventError - """An error object that contains details about the failure.""" - -@dataclass(kw_only=True) -class CallbackOptions(_SerdeShape): - """ - Configuration options for callback operations in durable executions, - including timeout settings and retry behavior. - """ - - timeout_seconds: int = ... - """ - The timeout for the callback operation in seconds. If not specified or - set to 0, the callback has no timeout. - """ - heartbeat_timeout_seconds: int = ... - """ - The heartbeat timeout for the callback operation, in seconds. If not - specified or set to 0, heartbeat timeout is disabled. - """ - -@dataclass(kw_only=True) -class CallbackStartedDetails(_SerdeShape): - """ - Contains details about a callback operation that has started, including - timing information and callback metadata. - """ - - callback_id: str - """ - The callback ID. Callback IDs are generated by the `DurableContext` when - a durable function calls `ctx.waitForCallback`. - """ - heartbeat_timeout: int | None = ... - """The heartbeat timeout value, in seconds.""" - timeout: int | None = ... - """The timeout value, in seconds.""" - -@dataclass(kw_only=True) -class CallbackSucceededDetails(_SerdeShape): - """ - Contains details about a successfully completed callback operation, - including the result data and completion timestamp. - """ - - result: EventResult - """The response payload from the successful operation.""" - -@dataclass(kw_only=True) -class CallbackTimedOutDetails(_SerdeShape): - """ - Contains details about a callback operation that timed out, including - timeout duration and any partial results. - """ - - error: EventError - """Details about the callback timeout.""" - -@dataclass(kw_only=True) -class CallbackTimeoutException(ServiceError, _SerdeShape): - """ - The callback ID token has either expired or the callback associated with - the token has already been closed. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CapacityProvider(_SerdeShape): - """A capacity provider manages compute resources for Lambda functions.""" - - capacity_provider_arn: str - """The Amazon Resource Name (ARN) of the capacity provider.""" - state: str - """The current state of the capacity provider.""" - vpc_config: CapacityProviderVpcConfig - """The VPC configuration for the capacity provider.""" - permissions_config: CapacityProviderPermissionsConfig - """The permissions configuration for the capacity provider.""" - instance_requirements: InstanceRequirements | None = ... - """ - The instance requirements for compute resources managed by the capacity - provider. - """ - capacity_provider_scaling_config: CapacityProviderScalingConfig | None = ... - """The scaling configuration for the capacity provider.""" - kms_key_arn: str | None = ... - """ - The ARN of the KMS key used to encrypt the capacity provider's - resources. - """ - last_modified: str | None = ... - """The date and time when the capacity provider was last modified.""" - propagate_tags: PropagateTags | None = ... - """ - Configuration for tag propagation to managed resources launched by the - capacity provider. - """ - telemetry_config: CapacityProviderTelemetryConfig | None = ... - """ - The telemetry configuration for the capacity provider, including logging - settings. - """ - -@dataclass(kw_only=True) -class CapacityProviderConfig(_SerdeShape): - """ - Configuration for the capacity provider that manages compute resources - for Lambda functions. - """ - - lambda_managed_instances_capacity_provider_config: ( - LambdaManagedInstancesCapacityProviderConfig - ) - """ - Configuration for Lambda-managed instances used by the capacity - provider. - """ - -@dataclass(kw_only=True) -class CapacityProviderLimitExceededException(ServiceError, _SerdeShape): - """ - The maximum number of capacity providers for your account has been - exceeded. For more information, see [Lambda - quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html) - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CapacityProviderLoggingConfig(_SerdeShape): - """The capacity provider's Amazon CloudWatch Logs configuration settings.""" - - system_log_level: str | None = ... - """ - Set this property to filter the system logs for your capacity provider - that Lambda sends to CloudWatch. Lambda only sends system logs at the - selected level of detail and lower, where `DEBUG` is the highest level - and `WARN` is the lowest. - """ - log_group: str | None = ... - """ - The name of the Amazon CloudWatch log group the capacity provider sends - logs to. By default, Lambda capacity providers send logs to a default - log group named - `/aws/lambda/capacity-provider/`. To use a - different log group, enter an existing log group or enter a new log - group name. - """ - -@dataclass(kw_only=True) -class CapacityProviderPermissionsConfig(_SerdeShape): - """ - Configuration that specifies the permissions required for the capacity - provider to manage compute resources. - """ - - capacity_provider_operator_role_arn: str - """ - The ARN of the IAM role that the capacity provider uses to manage - compute instances and other Amazon Web Services resources. - """ - -class CapacityProviderPredefinedMetricType(UnknownEnumMixin, StrEnum): - LAMBDA_CAPACITY_PROVIDER_AVERAGE_CPU_UTILIZATION = ( - "LambdaCapacityProviderAverageCPUUtilization" - ) - -@dataclass(kw_only=True) -class CapacityProviderScalingConfig(_SerdeShape): - """ - Configuration that defines how the capacity provider scales compute - instances based on demand and policies. - """ - - max_v_cpu_count: int | None = ... - """ - The maximum number of vCPUs that the capacity provider can provision - across all compute instances. - """ - scaling_mode: str | None = ... - """ - The scaling mode that determines how the capacity provider responds to - changes in demand. - """ - scaling_policies: list[TargetTrackingScalingPolicy] | None = ... - """ - A list of scaling policies that define how the capacity provider scales - compute instances based on metrics and thresholds. - """ - -class CapacityProviderScalingMode(UnknownEnumMixin, StrEnum): - AUTO = "Auto" - MANUAL = "Manual" - -class CapacityProviderState(UnknownEnumMixin, StrEnum): - PENDING = "Pending" - ACTIVE = "Active" - FAILED = "Failed" - DELETING = "Deleting" - -@dataclass(kw_only=True) -class CapacityProviderTelemetryConfig(_SerdeShape): - """ - Configuration that specifies the telemetry collection for the capacity - provider. - """ - - logging_config: CapacityProviderLoggingConfig | None = ... - """The capacity provider's Amazon CloudWatch Logs configuration settings.""" - -@dataclass(kw_only=True) -class CapacityProviderVpcConfig(_SerdeShape): - """ - VPC configuration that specifies the network settings for compute - instances managed by the capacity provider. - """ - - subnet_ids: list[str] - """ - A list of subnet IDs where the capacity provider launches compute - instances. - """ - security_group_ids: list[str] - """ - A list of security group IDs that control network access for compute - instances managed by the capacity provider. - """ - -@dataclass(kw_only=True) -class ChainedInvokeDetails(_SerdeShape): - """ - Contains details about a chained function invocation in a durable - execution, including the target function and invocation parameters. - """ - - result: str | None = ... - """The response payload from the chained invocation.""" - error: ErrorObject | None = ... - """Details about the chained invocation failure.""" - -@dataclass(kw_only=True) -class ChainedInvokeFailedDetails(_SerdeShape): - """ - Contains details about a failed chained function invocation, including - error information and failure reason. - """ - - error: EventError - """Details about the chained invocation failure.""" - -@dataclass(kw_only=True) -class ChainedInvokeOptions(_SerdeShape): - """ - Configuration options for chained function invocations in durable - executions, including retry settings and timeout configuration. - """ - - function_name: str - """The name or ARN of the Lambda function to invoke.""" - tenant_id: str | None = ... - """The tenant identifier for the chained invocation.""" - x_amzn_trace_id: str | None = ... - """ - The X-Ray trace header to use when starting the chained invocation. This - parameter is optional. If you omit this value, the child invocation - inherits the parent durable execution's trace header. - - Specify this value on the `START` update for the chained invocation - operation. For more information about the header format, see [Tracing - header](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader) - in the *X-Ray Developer Guide*. - """ - -@dataclass(kw_only=True) -class ChainedInvokeStartedDetails(_SerdeShape): - """ - Contains details about a chained function invocation that has started - execution, including start time and execution context. - """ - - function_name: str - """The name or ARN of the Lambda function being invoked.""" - tenant_id: str | None = ... - """The tenant identifier for the chained invocation.""" - input: EventInput | None = ... - """The JSON input payload provided to the chained invocation.""" - executed_version: str | None = ... - """The version of the function that was executed.""" - durable_execution_arn: str | None = ... - """The Amazon Resource Name (ARN) that identifies the durable execution.""" - -@dataclass(kw_only=True) -class ChainedInvokeStoppedDetails(_SerdeShape): - """Details about a chained invocation that was stopped.""" - - error: EventError - """Details about why the chained invocation stopped.""" - -@dataclass(kw_only=True) -class ChainedInvokeSucceededDetails(_SerdeShape): - """Details about a chained invocation that succeeded.""" - - result: EventResult - """The response payload from the successful operation.""" - -@dataclass(kw_only=True) -class ChainedInvokeTimedOutDetails(_SerdeShape): - """Details about a chained invocation that timed out.""" - - error: EventError - """Details about the chained invocation timeout.""" - -@dataclass(kw_only=True) -class CheckpointDurableExecutionInput(_SerdeShape): - """Dataclass for CheckpointDurableExecutionInput structure.""" - - durable_execution_arn: str | None = ... - """The Amazon Resource Name (ARN) of the durable execution.""" - checkpoint_token: str | None = ... - """ - A unique token that identifies the current checkpoint state. This token - is provided by the Lambda runtime and must be used to ensure checkpoints - are applied in the correct order. Each checkpoint operation consumes - this token and returns a new one. - """ - updates: list[OperationUpdate] | None = ... - """ - An array of state updates to apply during this checkpoint. Each update - represents a change to the execution state, such as completing a step, - starting a callback, or scheduling a timer. Updates are applied - atomically as part of the checkpoint operation. - """ - client_token: str | None = ... - """ - An optional idempotency token to ensure that duplicate checkpoint - requests are handled correctly. If provided, Lambda uses this token to - detect and handle duplicate requests within a 15-minute window. - """ - -@dataclass(kw_only=True) -class CheckpointDurableExecutionOutput(_SerdeShape): - """The response from the CheckpointDurableExecution operation.""" - - checkpoint_token: str | None = ... - """ - A new checkpoint token to use for the next checkpoint operation. This - token replaces the one provided in the request and must be used for - subsequent checkpoints to maintain proper ordering. - """ - new_execution_state: CheckpointUpdatedExecutionState - """ - Updated execution state information that includes any changes that - occurred since the last checkpoint, such as completed callbacks or - expired timers. This allows the SDK to update its internal state during - replay. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CheckpointUpdatedExecutionState(_SerdeShape): - """ - Contains operations that have been updated since the last checkpoint, - such as completed asynchronous work like timers or callbacks. - """ - - operations: list[Operation] | None = ... - """A list of operations that have been updated since the last checkpoint.""" - next_marker: str | None = ... - """ - Indicates that more results are available. Use this value in a - subsequent call to retrieve the next page of results. - """ - -@dataclass(kw_only=True) -class CodeArtifactUserDeletedException(ServiceError, _SerdeShape): - """ - The Lambda function couldn't be invoked because its code artifact user - has been deleted. Wait for Lambda to provision a new code artifact user, - or update the function's code package to recreate it. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CodeArtifactUserFailedException(ServiceError, _SerdeShape): - """ - The Lambda function couldn't be invoked because provisioning of its - code artifact user failed. Update the function's code package or check - the Lambda function's `State` and `StateReasonCode` for additional - context. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CodeArtifactUserPendingException(ServiceError, _SerdeShape): - """ - The Lambda function couldn't be invoked because its code artifact user - is still being provisioned. Wait for the function's `State` to become - `Active` and try the request again. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CodeSigningConfig(_SerdeShape): - """ - Details about a [Code signing - configuration](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html). - """ - - code_signing_config_id: str - """Unique identifer for the Code signing configuration.""" - code_signing_config_arn: str - """The Amazon Resource Name (ARN) of the Code signing configuration.""" - description: str | None = ... - """Code signing configuration description.""" - allowed_publishers: AllowedPublishers - """List of allowed publishers.""" - code_signing_policies: CodeSigningPolicies - """ - The code signing policy controls the validation failure action for - signature mismatch or expiry. - """ - last_modified: str - """ - The date and time that the Code signing configuration was last modified, - in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). - """ - -@dataclass(kw_only=True) -class CodeSigningConfigNotFoundException(ServiceError, _SerdeShape): - """The specified code signing configuration does not exist.""" - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CodeSigningPolicies(_SerdeShape): - """ - Code signing configuration - [policies](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies) - specify the validation failure action for signature mismatch or expiry. - """ - - untrusted_artifact_on_deployment: str | None = ... - """ - Code signing configuration policy for deployment validation failure. If - you set the policy to `Enforce`, Lambda blocks the deployment request if - signature validation checks fail. If you set the policy to `Warn`, - Lambda allows the deployment and issues a new Amazon CloudWatch metric - (`SignatureValidationErrors`) and also stores the warning in the - CloudTrail log. - - Default value: `Warn` - """ - -class CodeSigningPolicy(UnknownEnumMixin, StrEnum): - WARN = "Warn" - ENFORCE = "Enforce" - -@dataclass(kw_only=True) -class CodeStorageExceededException(ServiceError, _SerdeShape): - """ - Your Amazon Web Services account has exceeded its maximum total code - size. For more information, see [Lambda - quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CodeVerificationFailedException(ServiceError, _SerdeShape): - """ - The code signature failed one or more of the validation checks for - signature mismatch or expiry, and the code signing policy is set to - ENFORCE. Lambda blocks the deployment. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Concurrency(_SerdeShape): - """Dataclass for Concurrency structure.""" - - reserved_concurrent_executions: int | None = ... - """ - The number of concurrent executions that are reserved for this function. - For more information, see [Managing Lambda reserved - concurrency](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html). - """ - -@dataclass(kw_only=True) -class ContextDetails(_SerdeShape): - """Details about a durable execution context.""" - - replay_children: bool | None = ... - """ - Whether the state data of child operations of this completed context - should be included in the invoke payload and `GetDurableExecutionState` - response. - """ - result: str | None = ... - """The response payload from the context.""" - error: ErrorObject | None = ... - """Details about the context failure.""" - -@dataclass(kw_only=True) -class ContextFailedDetails(_SerdeShape): - """Details about a context that failed.""" - - error: EventError - """Details about the context failure.""" - -@dataclass(kw_only=True) -class ContextOptions(_SerdeShape): - """Configuration options for a durable execution context.""" - - replay_children: bool | None = ... - """ - Whether the state data of children of the completed context should be - included in the invoke payload and `GetDurableExecutionState` response. - """ - -@dataclass(kw_only=True) -class ContextStartedDetails(_SerdeShape): - """Details about a context that has started.""" - -@dataclass(kw_only=True) -class ContextSucceededDetails(_SerdeShape): - """Details about a context that succeeded.""" - - result: EventResult - """The JSON response payload from the successful context.""" - -@dataclass(kw_only=True) -class Cors(_SerdeShape): - """ - The [cross-origin resource sharing - (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings - for your Lambda function URL. Use CORS to grant access to your function - URL from any origin. You can also use CORS to control access for - specific HTTP headers and methods in requests to your function URL. - """ - - allow_credentials: bool | None = ... - """ - Whether to allow cookies or other credentials in requests to your - function URL. The default is `false`. - """ - allow_headers: list[str] | None = ... - """ - The HTTP headers that origins can include in requests to your function - URL. For example: `Date`, `Keep-Alive`, `X-Custom-Header`. - """ - allow_methods: list[str] | None = ... - """ - The HTTP methods that are allowed when calling your function URL. For - example: `GET`, `POST`, `DELETE`, or the wildcard character (`*`). - """ - allow_origins: list[str] | None = ... - """ - The origins that can access your function URL. You can list any number - of specific origins, separated by a comma. For example: - `https://www.example.com`, `http://localhost:60905`. - - Alternatively, you can grant access to all origins using the wildcard - character (`*`). - """ - expose_headers: list[str] | None = ... - """ - The HTTP headers in your function response that you want to expose to - origins that call your function URL. For example: `Date`, `Keep-Alive`, - `X-Custom-Header`. - """ - max_age: int | None = ... - """ - The maximum amount of time, in seconds, that web browsers can cache - results of a preflight request. By default, this is set to `0`, which - means that the browser doesn't cache results. - """ - -@dataclass(kw_only=True) -class CreateAliasInput(_SerdeShape): - """Dataclass for CreateAliasInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - name: str | None = ... - """The name of the alias.""" - function_version: str | None = ... - """The function version that the alias invokes.""" - description: str | None = ... - """A description of the alias.""" - routing_config: AliasRoutingConfiguration | None = ... - """ - The [routing - configuration](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing) - of the alias. - """ - -@dataclass(kw_only=True) -class CreateAliasOutput(_SerdeShape): - """ - Provides configuration information about a Lambda function - [alias](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). - """ - - alias_arn: str | None = ... - """The Amazon Resource Name (ARN) of the alias.""" - name: str | None = ... - """The name of the alias.""" - function_version: str | None = ... - """The function version that the alias invokes.""" - description: str | None = ... - """A description of the alias.""" - routing_config: AliasRoutingConfiguration | None = ... - """ - The [routing - configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) - of the alias. - """ - revision_id: str | None = ... - """A unique identifier that changes when you update the alias.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCapacityProviderInput(_SerdeShape): - """Dataclass for CreateCapacityProviderInput structure.""" - - capacity_provider_name: str | None = ... - """The name of the capacity provider.""" - vpc_config: CapacityProviderVpcConfig | None = ... - """ - The VPC configuration for the capacity provider, including subnet IDs - and security group IDs where compute instances will be launched. - """ - permissions_config: CapacityProviderPermissionsConfig | None = ... - """ - The permissions configuration that specifies the IAM role ARN used by - the capacity provider to manage compute resources. - """ - instance_requirements: InstanceRequirements | None = ... - """ - The instance requirements that specify the compute instance - characteristics, including architectures and allowed or excluded - instance types. - """ - capacity_provider_scaling_config: CapacityProviderScalingConfig | None = ... - """ - The scaling configuration that defines how the capacity provider scales - compute instances, including maximum vCPU count and scaling policies. - """ - kms_key_arn: str | None = ... - """ - The ARN of the KMS key used to encrypt data associated with the capacity - provider. - """ - tags: dict[str, str] | None = ... - """A list of tags to associate with the capacity provider.""" - propagate_tags: PropagateTags | None = ... - """ - The tag propagation configuration for the capacity provider. Specifies - tags to apply to managed resources at launch. - """ - telemetry_config: CapacityProviderTelemetryConfig | None = ... - """ - The telemetry configuration for the capacity provider. Specifies logging - settings for managed resources. - """ - -@dataclass(kw_only=True) -class CreateCapacityProviderOutput(_SerdeShape): - """Dataclass for CreateCapacityProviderOutput structure.""" - - capacity_provider: CapacityProvider - """Information about the capacity provider that was created.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCodeSigningConfigInput(_SerdeShape): - """Dataclass for CreateCodeSigningConfigInput structure.""" - - description: str | None = ... - """Descriptive name for this code signing configuration.""" - allowed_publishers: AllowedPublishers | None = ... - """Signing profiles for this code signing configuration.""" - code_signing_policies: CodeSigningPolicies | None = ... - """ - The code signing policies define the actions to take if the validation - checks fail. - """ - tags: dict[str, str] | None = ... - """A list of tags to add to the code signing configuration.""" - -@dataclass(kw_only=True) -class CreateCodeSigningConfigOutput(_SerdeShape): - """Dataclass for CreateCodeSigningConfigOutput structure.""" - - code_signing_config: CodeSigningConfig - """The code signing configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateEventSourceMappingInput(_SerdeShape): - """Dataclass for CreateEventSourceMappingInput structure.""" - - event_source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the event source. - - - **Amazon Kinesis** -- The ARN of the data stream or a stream consumer. - - - **Amazon DynamoDB Streams** -- The ARN of the stream. - - - **Amazon Simple Queue Service** -- The ARN of the queue. - - - **Amazon Managed Streaming for Apache Kafka** -- The ARN of the - cluster or the ARN of the VPC connection (for [cross-account event - source - mappings](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc)). - - - **Amazon MQ** -- The ARN of the broker. - - - **Amazon DocumentDB** -- The ARN of the DocumentDB change stream. - """ - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `MyFunction`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Version or Alias ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`. - - - **Partial ARN** -- `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it's limited to 64 characters in length. - """ - enabled: bool | None = ... - """ - When true, the event source mapping is active. When false, Lambda pauses - polling and invocation. - - Default: True - """ - batch_size: int | None = ... - """ - The maximum number of records in each batch that Lambda pulls from your - stream or queue and sends to your function. Lambda passes all of the - records in the batch to the function in a single call, up to the payload - limit for synchronous invocation (6 MB). - - - **Amazon Kinesis** -- Default 100. Max 10,000. - - - **Amazon DynamoDB Streams** -- Default 100. Max 10,000. - - - **Amazon Simple Queue Service** -- Default 10. For standard queues the - max is 10,000. For FIFO queues the max is 10. - - - **Amazon Managed Streaming for Apache Kafka** -- Default 100. Max - 10,000. - - - **Self-managed Apache Kafka** -- Default 100. Max 10,000. - - - **Amazon MQ (ActiveMQ and RabbitMQ)** -- Default 100. Max 10,000. - - - **DocumentDB** -- Default 100. Max 10,000. - """ - filter_criteria: FilterCriteria | None = ... - """ - An object that defines the filter criteria that determine whether Lambda - should process an event. For more information, see [Lambda event - filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that - Lambda uses to encrypt your function's [filter - criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). - By default, Lambda does not encrypt your filter criteria object. Specify - this property to encrypt data using your own customer managed key. - """ - metrics_config: EventSourceMappingMetricsConfig | None = ... - """ - The metrics configuration for your event source. For more information, - see [Event source mapping - metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). - """ - logging_config: EventSourceMappingLoggingConfig | None = ... - """ - (Amazon MSK, and self-managed Apache Kafka only) The logging - configuration for your event source. For more information, see [Event - source mapping - logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). - """ - scaling_config: ScalingConfig | None = ... - """ - (Amazon SQS only) The scaling configuration for the event source. For - more information, see [Configuring maximum concurrency for Amazon SQS - event - sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). - """ - maximum_batching_window_in_seconds: int | None = ... - """ - The maximum amount of time, in seconds, that Lambda spends gathering - records before invoking the function. You can configure - `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 - seconds in increments of seconds. - - For Kinesis, DynamoDB, and Amazon SQS event sources, the default - batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, - Amazon MQ, and DocumentDB event sources, the default batching window is - 500 ms. Note that because you can only change - `MaximumBatchingWindowInSeconds` in increments of seconds, you cannot - revert back to the 500 ms default batching window after you have changed - it. To restore the default batching window, you must create a new event - source mapping. - - Related setting: For Kinesis, DynamoDB, and Amazon SQS event sources, - when you set `BatchSize` to a value greater than 10, you must set - `MaximumBatchingWindowInSeconds` to at least 1. - - Not supported for Kafka event source mappings when `ConsumptionMode` is - `Queue`. - """ - parallelization_factor: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The number of batches to process - from each shard concurrently. - """ - starting_position: str | None = ... - """ - The position in a stream from which to start reading. Required for - Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` - is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon - MSK, and self-managed Apache Kafka. - - Not supported for Kafka event source mappings when `ConsumptionMode` is - `Queue`. - """ - starting_position_timestamp: datetime | None = ... - """ - With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to - start reading. `StartingPositionTimestamp` cannot be in the future. - - Not supported for Kafka event source mappings when `ConsumptionMode` is - `Queue`. - """ - destination_config: DestinationConfig | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A - configuration object that specifies the destination of an event after - Lambda processes it. - """ - maximum_record_age_in_seconds: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records older than the specified age. The default value is - infinite (-1). - """ - bisect_batch_on_function_error: bool | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - If the function returns an error, split the batch in two and retry. - """ - maximum_retry_attempts: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records after the specified number of retries. The default value - is infinite (-1). When set to infinite (-1), failed records are retried - until the record expires. - - For Kafka `Stream` consumption mode, the default is `-1` (infinite - retries; capped at 10 when an on-failure destination is configured). For - Kafka `Queue` consumption mode, the default is `0`, and if no on-failure - destination is configured the Kafka broker performs retries. - """ - tags: dict[str, str] | None = ... - """A list of tags to apply to the event source mapping.""" - tumbling_window_in_seconds: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The duration in seconds of a - processing window for DynamoDB and Kinesis Streams event sources. A - value of 0 seconds indicates no tumbling window. - """ - topics: list[str] | None = ... - """The name of the Kafka topic.""" - queues: list[str] | None = ... - """(MQ) The name of the Amazon MQ broker destination queue to consume.""" - source_access_configurations: list[SourceAccessConfiguration] | None = ... - """ - An array of authentication protocols or VPC components required to - secure your event source. - """ - self_managed_event_source: SelfManagedEventSource | None = ... - """The self-managed Apache Kafka cluster to receive records from.""" - function_response_types: list[str] | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and - Amazon SQS) A list of current response type enums applied to the event - source mapping. - """ - amazon_managed_kafka_event_source_config: ( - AmazonManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for an Amazon Managed Streaming for - Apache Kafka (Amazon MSK) event source. - """ - self_managed_kafka_event_source_config: ( - SelfManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for a self-managed Apache Kafka event - source. - """ - document_db_event_source_config: DocumentDBEventSourceConfig | None = ... - """Specific configuration settings for a DocumentDB event source.""" - provisioned_poller_config: ProvisionedPollerConfig | None = ... - """ - (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The - provisioned mode configuration for the event source. For more - information, see [provisioned - mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). - """ - -@dataclass(kw_only=True) -class CreateEventSourceMappingOutput(_SerdeShape): - """ - A mapping between an Amazon Web Services resource and a Lambda function. - For details, see CreateEventSourceMapping. - """ - - uuid: str | None = ... - """The identifier of the event source mapping.""" - starting_position: str | None = ... - """ - The position in a stream from which to start reading. Required for - Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` - is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon - MSK, and self-managed Apache Kafka. - """ - starting_position_timestamp: datetime | None = ... - """ - With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to - start reading. `StartingPositionTimestamp` cannot be in the future. - """ - batch_size: int | None = ... - """ - The maximum number of records in each batch that Lambda pulls from your - stream or queue and sends to your function. Lambda passes all of the - records in the batch to the function in a single call, up to the payload - limit for synchronous invocation (6 MB). - - Default value: Varies by service. For Amazon SQS, the default is 10. For - all other services, the default is 100. - - Related setting: When you set `BatchSize` to a value greater than 10, - you must set `MaximumBatchingWindowInSeconds` to at least 1. - """ - maximum_batching_window_in_seconds: int | None = ... - """ - The maximum amount of time, in seconds, that Lambda spends gathering - records before invoking the function. You can configure - `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 - seconds in increments of seconds. - - For streams and Amazon SQS event sources, the default batching window is - 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and - DocumentDB event sources, the default batching window is 500 ms. Note - that because you can only change `MaximumBatchingWindowInSeconds` in - increments of seconds, you cannot revert back to the 500 ms default - batching window after you have changed it. To restore the default - batching window, you must create a new event source mapping. - - Related setting: For streams and Amazon SQS event sources, when you set - `BatchSize` to a value greater than 10, you must set - `MaximumBatchingWindowInSeconds` to at least 1. - """ - parallelization_factor: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The number of batches to process - concurrently from each shard. The default value is 1. - """ - event_source_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source.""" - filter_criteria: FilterCriteria | None = ... - """ - An object that defines the filter criteria that determine whether Lambda - should process an event. For more information, see [Lambda event - filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). - - If filter criteria is encrypted, this field shows up as `null` in the - response of ListEventSourceMapping API calls. You can view this field in - plaintext in the response of GetEventSourceMapping and - DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for - the correct KMS key. - """ - filter_criteria_error: FilterCriteriaError | None = ... - """ - An object that contains details about an error related to filter - criteria encryption. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that - Lambda uses to encrypt your function's [filter - criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). - """ - metrics_config: EventSourceMappingMetricsConfig | None = ... - """ - The metrics configuration for your event source. For more information, - see [Event source mapping - metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). - """ - logging_config: EventSourceMappingLoggingConfig | None = ... - """ - (Amazon MSK, and self-managed Apache Kafka only) The logging - configuration for your event source. For more information, see [Event - source mapping - logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). - """ - scaling_config: ScalingConfig | None = ... - """ - (Amazon SQS only) The scaling configuration for the event source. For - more information, see [Configuring maximum concurrency for Amazon SQS - event - sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). - """ - function_arn: str | None = ... - """The ARN of the Lambda function.""" - last_modified: datetime | None = ... - """ - The date that the event source mapping was last updated or that its - state changed. - """ - last_processing_result: str | None = ... - """The result of the event source mapping's last processing attempt.""" - state: str | None = ... - """ - The state of the event source mapping. It can be one of the following: - `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, - or `Deleting`. - """ - state_transition_reason: str | None = ... - """ - Indicates whether a user or Lambda made the last change to the event - source mapping. - """ - destination_config: DestinationConfig | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A - configuration object that specifies the destination of an event after - Lambda processes it. - """ - topics: list[str] | None = ... - """The name of the Kafka topic.""" - queues: list[str] | None = ... - """ - (Amazon MQ) The name of the Amazon MQ broker destination queue to - consume. - """ - source_access_configurations: list[SourceAccessConfiguration] | None = ... - """ - An array of the authentication protocol, VPC components, or virtual host - to secure and define your event source. - """ - self_managed_event_source: SelfManagedEventSource | None = ... - """The self-managed Apache Kafka cluster for your event source.""" - maximum_record_age_in_seconds: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records older than the specified age. The default value is -1, - which sets the maximum age to infinite. When the value is set to - infinite, Lambda never discards old records. - - Note: - The minimum valid value for maximum record age is 60s. Although values - less than 60 and greater than -1 fall within the parameter's absolute - range, they are not allowed - """ - bisect_batch_on_function_error: bool | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - If the function returns an error, split the batch in two and retry. The - default value is false. - """ - maximum_retry_attempts: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records after the specified number of retries. The default value - is -1, which sets the maximum number of retries to infinite. When - MaximumRetryAttempts is infinite, Lambda retries failed records until - the record expires in the event source. - """ - tumbling_window_in_seconds: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The duration in seconds of a - processing window for DynamoDB and Kinesis Streams event sources. A - value of 0 seconds indicates no tumbling window. - """ - function_response_types: list[str] | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and - Amazon SQS) A list of current response type enums applied to the event - source mapping. - """ - amazon_managed_kafka_event_source_config: ( - AmazonManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for an Amazon Managed Streaming for - Apache Kafka (Amazon MSK) event source. - """ - self_managed_kafka_event_source_config: ( - SelfManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for a self-managed Apache Kafka event - source. - """ - document_db_event_source_config: DocumentDBEventSourceConfig | None = ... - """Specific configuration settings for a DocumentDB event source.""" - event_source_mapping_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source mapping.""" - provisioned_poller_config: ProvisionedPollerConfig | None = ... - """ - (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The - provisioned mode configuration for the event source. For more - information, see [provisioned - mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFunctionInput(_SerdeShape): - """Dataclass for CreateFunctionInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - runtime: str | None = ... - """ - The identifier of the function's - [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). - Runtime is required if the deployment package is a .zip file archive. - Specifying a runtime results in an error if you're deploying a function - using a container image. - - The following list includes deprecated runtimes. Lambda blocks creating - new functions and updating existing functions shortly after each runtime - is deprecated. For more information, see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - role: str | None = ... - """The Amazon Resource Name (ARN) of the function's execution role.""" - handler: str | None = ... - """ - The name of the method within your code that Lambda calls to run your - function. Handler is required if the deployment package is a .zip file - archive. The format includes the file name. It can also include - namespaces and other qualifiers, depending on the runtime. For more - information, see [Lambda programming - model](https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html). - """ - code: FunctionCode | None = ... - """The code for the function.""" - description: str | None = ... - """A description of the function.""" - timeout: int | None = ... - """ - The amount of time (in seconds) that Lambda allows a function to run - before stopping it. The default is 3 seconds, and the maximum allowed - value is 900 seconds. For functions using Lambda Managed Instances, - asynchronous invocations and event source mapping invocations (except - Amazon MQ and Amazon DocumentDB) support a maximum allowed value of - 5,400 seconds (90 minutes). For more information, see [Lambda execution - environment](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). - """ - memory_size: int | None = ... - """ - The amount of [memory available to the - function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) - at runtime. Increasing the function memory also increases its CPU - allocation. The default value is 128 MB. The value can be any multiple - of 1 MB. - """ - publish: bool = ... - """ - Set to true to publish the first version of the function during - creation. - """ - publish_to: str | None = ... - """Specifies where to publish the function version or configuration.""" - vpc_config: VpcConfig | None = ... - """ - For network connectivity to Amazon Web Services resources in a VPC, - specify a list of security groups and subnets in the VPC. When you - connect a function to a VPC, it can access resources and the internet - only through that VPC. For more information, see [Configuring a Lambda - function to access resources in a - VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). - """ - package_type: str | None = ... - """ - The type of deployment package. Set to `Image` for container image and - set to `Zip` for .zip file archive. - """ - dead_letter_config: DeadLetterConfig | None = ... - """ - A dead-letter queue configuration that specifies the queue or topic - where Lambda sends asynchronous events when they fail processing. For - more information, see [Dead-letter - queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq). - """ - environment: Environment | None = ... - """ - Environment variables that are accessible from function code during - execution. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt the following resources: - - - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). - - - The function's [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) - snapshots. - - - When used with `SourceKMSKeyArn`, the unzipped version of the .zip - deployment package that's used for function invocations. For more - information, see [Specifying a customer managed key for - Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). - - - The optimized version of the container image that's used for function - invocations. Note that this is not the same key that's used to - protect your container image in the Amazon Elastic Container Registry - (Amazon ECR). For more information, see [Function - lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). - - If you don't provide a customer managed key, Lambda uses an [Amazon Web - Services owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) - or an [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). - """ - tracing_config: TracingConfig | None = ... - """ - Set `Mode` to `Active` to sample and trace a subset of incoming requests - with - [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html). - """ - tags: dict[str, str] | None = ... - """ - A list of - [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to - apply to the function. - """ - layers: list[str] | None = ... - """ - A list of [function - layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) - to add to the function's execution environment. Specify each layer by - its ARN, including the version. - """ - file_system_configs: list[FileSystemConfig] | None = ... - """ - Connection settings for an Amazon EFS file system or an Amazon S3 Files - file system. - """ - code_signing_config_arn: str | None = ... - """ - To enable code signing for this function, specify the ARN of a - code-signing configuration. A code-signing configuration includes a set - of signing profiles, which define the trusted publishers for this - function. - """ - image_config: ImageConfig | None = ... - """ - Container image [configuration - values](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) - that override the values in the container image Dockerfile. - """ - architectures: list[str] | None = ... - """ - The instruction set architecture that the function supports. Enter a - string array with one of the valid values (arm64 or x86_64). The default - value is `x86_64`. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The size of the function's `/tmp` directory in MB. The default value is - 512, but can be any whole number between 512 and 10,240 MB. For more - information, see [Configuring ephemeral storage - (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). - """ - snap_start: SnapStart | None = ... - """ - The function's - [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) - setting. - """ - logging_config: LoggingConfig | None = ... - """The function's Amazon CloudWatch Logs configuration settings.""" - tenancy_config: TenancyConfig | None = ... - """ - Configuration for multi-tenant applications that use Lambda functions. - Defines tenant isolation settings and resource allocations. Required for - functions supporting multiple tenants. - """ - capacity_provider_config: CapacityProviderConfig | None = ... - """ - Configuration for the capacity provider that manages compute resources - for Lambda functions. - """ - durable_config: DurableConfig | None = ... - """ - Configuration settings for durable functions. Enables creating functions - with durability that can remember their state and continue execution - even after interruptions. - """ - -@dataclass(kw_only=True) -class CreateFunctionOutput(_SerdeShape): - """Details about a function's configuration.""" - - function_name: str | None = ... - """The name of the function.""" - function_arn: str | None = ... - """The function's Amazon Resource Name (ARN).""" - runtime: str | None = ... - """ - The identifier of the function's - [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). - Runtime is required if the deployment package is a .zip file archive. - Specifying a runtime results in an error if you're deploying a function - using a container image. - - The following list includes deprecated runtimes. Lambda blocks creating - new functions and updating existing functions shortly after each runtime - is deprecated. For more information, see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - role: str | None = ... - """The function's execution role.""" - handler: str | None = ... - """The function that Lambda calls to begin running your function.""" - code_size: int = ... - """The size of the function's deployment package, in bytes.""" - description: str | None = ... - """The function's description.""" - timeout: int | None = ... - """ - The amount of time in seconds that Lambda allows a function to run - before stopping it. - """ - memory_size: int | None = ... - """The amount of memory available to the function at runtime.""" - last_modified: str | None = ... - """ - The date and time that the function was last updated, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - code_sha256: str | None = ... - """The SHA256 hash of the function's deployment package.""" - version: str | None = ... - """The version of the Lambda function.""" - vpc_config: VpcConfigResponse | None = ... - """The function's networking configuration.""" - dead_letter_config: DeadLetterConfig | None = ... - """The function's dead letter queue.""" - environment: EnvironmentResponse | None = ... - """ - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). - Omitted from CloudTrail logs. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt the following resources: - - - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). - - - The function's [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) - snapshots. - - - When used with `SourceKMSKeyArn`, the unzipped version of the .zip - deployment package that's used for function invocations. For more - information, see [Specifying a customer managed key for - Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). - - - The optimized version of the container image that's used for function - invocations. Note that this is not the same key that's used to - protect your container image in the Amazon Elastic Container Registry - (Amazon ECR). For more information, see [Function - lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). - - If you don't provide a customer managed key, Lambda uses an [Amazon Web - Services owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) - or an [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). - """ - tracing_config: TracingConfigResponse | None = ... - """The function's X-Ray tracing configuration.""" - master_arn: str | None = ... - """For Lambda@Edge functions, the ARN of the main function.""" - revision_id: str | None = ... - """The latest updated revision of the function or alias.""" - layers: list[Layer] | None = ... - """ - The function's - [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - state: str | None = ... - """ - The current state of the function. When the state is `Inactive`, you can - reactivate the function by invoking it. - """ - state_reason: str | None = ... - """The reason for the function's current state.""" - state_reason_code: str | None = ... - """ - The reason code for the function's current state. When the code is - `Creating`, you can't invoke or modify the function. - """ - last_update_status: str | None = ... - """ - The status of the last update that was performed on the function. This - is first set to `Successful` after function creation completes. - """ - last_update_status_reason: str | None = ... - """The reason for the last update that was performed on the function.""" - last_update_status_reason_code: str | None = ... - """The reason code for the last update that was performed on the function.""" - file_system_configs: list[FileSystemConfig] | None = ... - """ - Connection settings for an [Amazon EFS file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) - or an [Amazon S3 file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). - """ - signing_profile_version_arn: str | None = ... - """The ARN of the signing profile version.""" - signing_job_arn: str | None = ... - """The ARN of the signing job.""" - package_type: str | None = ... - """ - The type of deployment package. Set to `Image` for container image and - set `Zip` for .zip file archive. - """ - image_config_response: ImageConfigResponse | None = ... - """The function's image configuration values.""" - architectures: list[str] | None = ... - """ - The instruction set architecture that the function supports. - Architecture is a string array with one of the valid values. The default - architecture value is `x86_64`. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The size of the function's `/tmp` directory in MB. The default value is - 512, but can be any whole number between 512 and 10,240 MB. For more - information, see [Configuring ephemeral storage - (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). - """ - snap_start: SnapStartResponse | None = ... - """ - Set `ApplyOn` to `PublishedVersions` to create a snapshot of the - initialized execution environment when you publish a function version. - For more information, see [Improving startup performance with Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). - """ - runtime_version_config: RuntimeVersionConfig | None = ... - """The ARN of the runtime and any errors that occured.""" - logging_config: LoggingConfig | None = ... - """The function's Amazon CloudWatch Logs configuration settings.""" - tenancy_config: TenancyConfig | None = ... - """ - The function's tenant isolation configuration settings. Determines - whether the Lambda function runs on a shared or dedicated infrastructure - per unique tenant. - """ - capacity_provider_config: CapacityProviderConfig | None = ... - """ - Configuration for the capacity provider that manages compute resources - for Lambda functions. - """ - config_sha256: str | None = ... - """The SHA256 hash of the function configuration.""" - durable_config: DurableConfig | None = ... - """ - The function's durable execution configuration settings, if the - function is configured for durability. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateFunctionUrlConfigInput(_SerdeShape): - """Dataclass for CreateFunctionUrlConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """The alias name.""" - auth_type: str | None = ... - """ - The type of authentication that your function URL uses. Set to `AWS_IAM` - if you want to restrict access to authenticated users only. Set to - `NONE` if you want to bypass IAM authentication to create a public - endpoint. For more information, see [Control access to Lambda function - URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). - """ - cors: Cors | None = ... - """ - The [cross-origin resource sharing - (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings - for your function URL. - """ - invoke_mode: str | None = ... - """ - Use one of the following options: - - - `BUFFERED` -- This is the default option. Lambda invokes your function - using the `Invoke` API operation. Invocation results are available - when the payload is complete. The maximum payload size is 6 MB. - - - `RESPONSE_STREAM` -- Your function streams payload results as they - become available. Lambda invokes your function using the - `InvokeWithResponseStream` API operation. The maximum response payload - size is 200 MB. - """ - -@dataclass(kw_only=True) -class CreateFunctionUrlConfigOutput(_SerdeShape): - """Dataclass for CreateFunctionUrlConfigOutput structure.""" - - function_url: str - """The HTTP URL endpoint for your function.""" - function_arn: str - """The Amazon Resource Name (ARN) of your function.""" - auth_type: str - """ - The type of authentication that your function URL uses. Set to `AWS_IAM` - if you want to restrict access to authenticated users only. Set to - `NONE` if you want to bypass IAM authentication to create a public - endpoint. For more information, see [Control access to Lambda function - URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). - """ - cors: Cors | None = ... - """ - The [cross-origin resource sharing - (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings - for your function URL. - """ - creation_time: str - """ - When the function URL was created, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - invoke_mode: str | None = ... - """ - Use one of the following options: - - - `BUFFERED` -- This is the default option. Lambda invokes your function - using the `Invoke` API operation. Invocation results are available - when the payload is complete. The maximum payload size is 6 MB. - - - `RESPONSE_STREAM` -- Your function streams payload results as they - become available. Lambda invokes your function using the - `InvokeWithResponseStream` API operation. The maximum response payload - size is 200 MB. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeadLetterConfig(_SerdeShape): - """ - The [dead-letter - queue](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq) - for failed asynchronous invocations. - """ - - target_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS - topic. - """ - -@dataclass(kw_only=True) -class DeleteAliasInput(_SerdeShape): - """Dataclass for DeleteAliasInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - name: str | None = ... - """The name of the alias.""" - -@dataclass(kw_only=True) -class DeleteAliasOutput(_SerdeShape): - """Dataclass for DeleteAliasOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCapacityProviderInput(_SerdeShape): - """Dataclass for DeleteCapacityProviderInput structure.""" - - capacity_provider_name: str | None = ... - """The name of the capacity provider to delete.""" - -@dataclass(kw_only=True) -class DeleteCapacityProviderOutput(_SerdeShape): - """Dataclass for DeleteCapacityProviderOutput structure.""" - - capacity_provider: CapacityProvider - """Information about the deleted capacity provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCodeSigningConfigInput(_SerdeShape): - """Dataclass for DeleteCodeSigningConfigInput structure.""" - - code_signing_config_arn: str | None = ... - """The The Amazon Resource Name (ARN) of the code signing configuration.""" - -@dataclass(kw_only=True) -class DeleteCodeSigningConfigOutput(_SerdeShape): - """Dataclass for DeleteCodeSigningConfigOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteEventSourceMappingInput(_SerdeShape): - """Dataclass for DeleteEventSourceMappingInput structure.""" - - uuid: str | None = ... - """The identifier of the event source mapping.""" - -@dataclass(kw_only=True) -class DeleteEventSourceMappingOutput(_SerdeShape): - """ - A mapping between an Amazon Web Services resource and a Lambda function. - For details, see CreateEventSourceMapping. - """ - - uuid: str | None = ... - """The identifier of the event source mapping.""" - starting_position: str | None = ... - """ - The position in a stream from which to start reading. Required for - Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` - is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon - MSK, and self-managed Apache Kafka. - """ - starting_position_timestamp: datetime | None = ... - """ - With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to - start reading. `StartingPositionTimestamp` cannot be in the future. - """ - batch_size: int | None = ... - """ - The maximum number of records in each batch that Lambda pulls from your - stream or queue and sends to your function. Lambda passes all of the - records in the batch to the function in a single call, up to the payload - limit for synchronous invocation (6 MB). - - Default value: Varies by service. For Amazon SQS, the default is 10. For - all other services, the default is 100. - - Related setting: When you set `BatchSize` to a value greater than 10, - you must set `MaximumBatchingWindowInSeconds` to at least 1. - """ - maximum_batching_window_in_seconds: int | None = ... - """ - The maximum amount of time, in seconds, that Lambda spends gathering - records before invoking the function. You can configure - `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 - seconds in increments of seconds. - - For streams and Amazon SQS event sources, the default batching window is - 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and - DocumentDB event sources, the default batching window is 500 ms. Note - that because you can only change `MaximumBatchingWindowInSeconds` in - increments of seconds, you cannot revert back to the 500 ms default - batching window after you have changed it. To restore the default - batching window, you must create a new event source mapping. - - Related setting: For streams and Amazon SQS event sources, when you set - `BatchSize` to a value greater than 10, you must set - `MaximumBatchingWindowInSeconds` to at least 1. - """ - parallelization_factor: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The number of batches to process - concurrently from each shard. The default value is 1. - """ - event_source_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source.""" - filter_criteria: FilterCriteria | None = ... - """ - An object that defines the filter criteria that determine whether Lambda - should process an event. For more information, see [Lambda event - filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). - - If filter criteria is encrypted, this field shows up as `null` in the - response of ListEventSourceMapping API calls. You can view this field in - plaintext in the response of GetEventSourceMapping and - DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for - the correct KMS key. - """ - filter_criteria_error: FilterCriteriaError | None = ... - """ - An object that contains details about an error related to filter - criteria encryption. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that - Lambda uses to encrypt your function's [filter - criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). - """ - metrics_config: EventSourceMappingMetricsConfig | None = ... - """ - The metrics configuration for your event source. For more information, - see [Event source mapping - metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). - """ - logging_config: EventSourceMappingLoggingConfig | None = ... - """ - (Amazon MSK, and self-managed Apache Kafka only) The logging - configuration for your event source. For more information, see [Event - source mapping - logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). - """ - scaling_config: ScalingConfig | None = ... - """ - (Amazon SQS only) The scaling configuration for the event source. For - more information, see [Configuring maximum concurrency for Amazon SQS - event - sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). - """ - function_arn: str | None = ... - """The ARN of the Lambda function.""" - last_modified: datetime | None = ... - """ - The date that the event source mapping was last updated or that its - state changed. - """ - last_processing_result: str | None = ... - """The result of the event source mapping's last processing attempt.""" - state: str | None = ... - """ - The state of the event source mapping. It can be one of the following: - `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, - or `Deleting`. - """ - state_transition_reason: str | None = ... - """ - Indicates whether a user or Lambda made the last change to the event - source mapping. - """ - destination_config: DestinationConfig | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A - configuration object that specifies the destination of an event after - Lambda processes it. - """ - topics: list[str] | None = ... - """The name of the Kafka topic.""" - queues: list[str] | None = ... - """ - (Amazon MQ) The name of the Amazon MQ broker destination queue to - consume. - """ - source_access_configurations: list[SourceAccessConfiguration] | None = ... - """ - An array of the authentication protocol, VPC components, or virtual host - to secure and define your event source. - """ - self_managed_event_source: SelfManagedEventSource | None = ... - """The self-managed Apache Kafka cluster for your event source.""" - maximum_record_age_in_seconds: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records older than the specified age. The default value is -1, - which sets the maximum age to infinite. When the value is set to - infinite, Lambda never discards old records. - - Note: - The minimum valid value for maximum record age is 60s. Although values - less than 60 and greater than -1 fall within the parameter's absolute - range, they are not allowed - """ - bisect_batch_on_function_error: bool | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - If the function returns an error, split the batch in two and retry. The - default value is false. - """ - maximum_retry_attempts: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records after the specified number of retries. The default value - is -1, which sets the maximum number of retries to infinite. When - MaximumRetryAttempts is infinite, Lambda retries failed records until - the record expires in the event source. - """ - tumbling_window_in_seconds: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The duration in seconds of a - processing window for DynamoDB and Kinesis Streams event sources. A - value of 0 seconds indicates no tumbling window. - """ - function_response_types: list[str] | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and - Amazon SQS) A list of current response type enums applied to the event - source mapping. - """ - amazon_managed_kafka_event_source_config: ( - AmazonManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for an Amazon Managed Streaming for - Apache Kafka (Amazon MSK) event source. - """ - self_managed_kafka_event_source_config: ( - SelfManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for a self-managed Apache Kafka event - source. - """ - document_db_event_source_config: DocumentDBEventSourceConfig | None = ... - """Specific configuration settings for a DocumentDB event source.""" - event_source_mapping_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source mapping.""" - provisioned_poller_config: ProvisionedPollerConfig | None = ... - """ - (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The - provisioned mode configuration for the event source. For more - information, see [provisioned - mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFunctionCodeSigningConfigInput(_SerdeShape): - """Dataclass for DeleteFunctionCodeSigningConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - -@dataclass(kw_only=True) -class DeleteFunctionCodeSigningConfigOutput(_SerdeShape): - """Dataclass for DeleteFunctionCodeSigningConfigOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFunctionConcurrencyInput(_SerdeShape): - """Dataclass for DeleteFunctionConcurrencyInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - -@dataclass(kw_only=True) -class DeleteFunctionConcurrencyOutput(_SerdeShape): - """Dataclass for DeleteFunctionConcurrencyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFunctionEventInvokeConfigInput(_SerdeShape): - """Dataclass for DeleteFunctionEventInvokeConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** - `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** - `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """A version number or alias name.""" - -@dataclass(kw_only=True) -class DeleteFunctionEventInvokeConfigOutput(_SerdeShape): - """Dataclass for DeleteFunctionEventInvokeConfigOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFunctionInput(_SerdeShape): - """Dataclass for DeleteFunctionInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function or version. - - **Name formats** - - - **Function name** -- `my-function` (name-only), `my-function:1` (with - version). - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """ - Specify a version to delete. You can't delete a version that an alias - references. - """ - -@dataclass(kw_only=True) -class DeleteFunctionOutput(_SerdeShape): - """Dataclass for DeleteFunctionOutput structure.""" - - status_code: int = ... - """The HTTP status code returned by the operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteFunctionUrlConfigInput(_SerdeShape): - """Dataclass for DeleteFunctionUrlConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """The alias name.""" - -@dataclass(kw_only=True) -class DeleteFunctionUrlConfigOutput(_SerdeShape): - """Dataclass for DeleteFunctionUrlConfigOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteLayerVersionInput(_SerdeShape): - """Dataclass for DeleteLayerVersionInput structure.""" - - layer_name: str | None = ... - """The name or Amazon Resource Name (ARN) of the layer.""" - version_number: int | None = ... - """The version number.""" - -@dataclass(kw_only=True) -class DeleteLayerVersionOutput(_SerdeShape): - """Dataclass for DeleteLayerVersionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteProvisionedConcurrencyConfigInput(_SerdeShape): - """Dataclass for DeleteProvisionedConcurrencyConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """The version number or alias name.""" - -@dataclass(kw_only=True) -class DeleteProvisionedConcurrencyConfigOutput(_SerdeShape): - """Dataclass for DeleteProvisionedConcurrencyConfigOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyInput(_SerdeShape): - """Dataclass for DeleteResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda resource you want to delete - the policy from. You can use a qualified or an unqualified ARN. The - value must be a complete ARN, and the operation does not accept wildcard - characters. - """ - revision_id: str | None = ... - """ - The revision ID that the existing policy must match for the deletion to - proceed. If the revision ID doesn't match, the operation fails with a - `PreconditionFailedException` error. To retrieve the current revision - ID, use the GetResourcePolicy operation. - """ - -@dataclass(kw_only=True) -class DeleteResourcePolicyOutput(_SerdeShape): - """Dataclass for DeleteResourcePolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DestinationConfig(_SerdeShape): - """ - A configuration object that specifies the destination of an event after - Lambda processes it. For more information, see [Adding a - destination](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations). - """ - - on_success: OnSuccess | None = ... - """ - The destination configuration for successful invocations. Not supported - in `CreateEventSourceMapping` or `UpdateEventSourceMapping`. - """ - on_failure: OnFailure | None = ... - """The destination configuration for failed invocations.""" - -class DirectS3Read(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - AUTO = "AUTO" - -@dataclass(kw_only=True) -class DocumentDBEventSourceConfig(_SerdeShape): - """Specific configuration settings for a DocumentDB event source.""" - - database_name: str | None = ... - """The name of the database to consume within the DocumentDB cluster.""" - collection_name: str | None = ... - """ - The name of the collection to consume within the database. If you do not - specify a collection, Lambda consumes all collections. - """ - full_document: str | None = ... - """ - Determines what DocumentDB sends to your event stream during document - update operations. If set to UpdateLookup, DocumentDB sends a delta - describing the changes, along with a copy of the entire document. - Otherwise, DocumentDB sends only a partial document that contains the - changes. - """ - -@dataclass(kw_only=True) -class DurableConfig(_SerdeShape): - """ - Configuration settings for [durable - functions](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html), - including execution timeout, retention period for execution history, and - an optional ARN of the Key Management Service (KMS) customer managed key - that is used to encrypt your durable execution's payload data, - including input, output, and error payloads. - """ - - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that is - used to encrypt your durable execution's payload data, including input, - output, and error payloads. - """ - retention_period_in_days: int | None = ... - """ - The number of days to retain execution history after a durable execution - completes. After this period, execution history is no longer available - through the GetDurableExecutionHistory API. - """ - execution_timeout: int | None = ... - """ - The maximum time (in seconds) that a durable execution can run before - timing out. This timeout applies to the entire durable execution, not - individual function invocations. - """ - -@dataclass(kw_only=True) -class DurableExecutionAlreadyStartedException(ServiceError, _SerdeShape): - """ - The durable execution with the specified name has already been started. - Each durable execution name must be unique within the function. Use a - different name or check the status of the existing execution. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EC2AccessDeniedException(ServiceError, _SerdeShape): - """Need additional permissions to configure VPC settings.""" - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EC2ThrottledException(ServiceError, _SerdeShape): - """ - Amazon EC2 throttled Lambda during Lambda function initialization using - the execution role provided for the function. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EC2UnexpectedException(ServiceError, _SerdeShape): - """ - Lambda received an unexpected Amazon EC2 client exception while setting - up for the Lambda function. - """ - - type: str | None = ... - ec2_error_code: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EFSIOException(ServiceError, _SerdeShape): - """ - An error occurred when reading from or writing to a connected file - system. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EFSMountConnectivityException(ServiceError, _SerdeShape): - """ - The Lambda function couldn't make a network connection to the - configured file system. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EFSMountFailureException(ServiceError, _SerdeShape): - """ - The Lambda function couldn't mount the configured file system due to a - permission or configuration issue. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EFSMountTimeoutException(ServiceError, _SerdeShape): - """ - The Lambda function made a network connection to the configured file - system, but the mount operation timed out. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class EndPointType(UnknownEnumMixin, StrEnum): - KAFKA_BOOTSTRAP_SERVERS = "KAFKA_BOOTSTRAP_SERVERS" - -@dataclass(kw_only=True) -class ENILimitReachedException(ServiceError, _SerdeShape): - """ - Lambda couldn't create an elastic network interface in the VPC, - specified as part of Lambda function configuration, because the limit - for network interfaces has been reached. For more information, see - [Lambda - quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ENINotReadyException(ServiceError, _SerdeShape): - """ - Lambda couldn't invoke the Lambda function because the elastic network - interface (ENI) configured for its VPC connection isn't ready yet. Wait - a few moments and try the request again. For more information about VPC - configuration, see [Configuring a Lambda function to access resources in - a - VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Environment(_SerdeShape): - """ - A function's environment variable settings. You can use environment - variables to adjust your function's behavior without updating code. An - environment variable is a pair of strings that are stored in a - function's version-specific configuration. - """ - - variables: dict[str, str] | None = ... - """ - Environment variable key-value pairs. For more information, see [Using - Lambda environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). - """ - -@dataclass(kw_only=True) -class EnvironmentError(_SerdeShape): - """Error messages for environment variables that couldn't be applied.""" - - error_code: str | None = ... - """The error code.""" - message: str | None = ... - """The error message.""" - -@dataclass(kw_only=True) -class EnvironmentResponse(_SerdeShape): - """ - The results of an operation to update or read environment variables. If - the operation succeeds, the response contains the environment variables. - If it fails, the response contains details about the error. - """ - - variables: dict[str, str] | None = ... - """Environment variable key-value pairs. Omitted from CloudTrail logs.""" - error: EnvironmentError | None = ... - """Error messages for environment variables that couldn't be applied.""" - -@dataclass(kw_only=True) -class EphemeralStorage(_SerdeShape): - """ - The size of the function's `/tmp` directory in MB. The default value is - 512, but can be any whole number between 512 and 10,240 MB. For more - information, see [Configuring ephemeral storage - (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). - """ - - size: int - """The size of the function's `/tmp` directory.""" - -@dataclass(kw_only=True) -class ErrorObject(_SerdeShape): - """An object that contains error information.""" - - error_message: str | None = ... - """A human-readable error message.""" - error_type: str | None = ... - """The error type.""" - error_data: str | None = ... - """Machine-readable error data.""" - stack_trace: list[str] | None = ... - """Stack trace information for the error.""" - -@dataclass(kw_only=True) -class Event(_SerdeShape): - """An event that occurred during the execution of a durable function.""" - - event_type: str | None = ... - """The type of event that occurred.""" - sub_type: str | None = ... - """The subtype of the event, providing additional categorization.""" - event_id: int = ... - """The unique identifier for this event. Event IDs increment sequentially.""" - id: str | None = ... - """The unique identifier for this operation.""" - name: str | None = ... - """The customer-provided name for this operation.""" - event_timestamp: datetime | None = ... - """ - The date and time when this event occurred, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - parent_id: str | None = ... - """ - The unique identifier of the parent operation, if this operation is - running within a child context. - """ - execution_started_details: ExecutionStartedDetails | None = ... - """Details about an execution that started.""" - execution_succeeded_details: ExecutionSucceededDetails | None = ... - """Details about an execution that succeeded.""" - execution_failed_details: ExecutionFailedDetails | None = ... - """Details about an execution that failed.""" - execution_timed_out_details: ExecutionTimedOutDetails | None = ... - """Details about an execution that timed out.""" - execution_stopped_details: ExecutionStoppedDetails | None = ... - """Details about an execution that was stopped.""" - context_started_details: ContextStartedDetails | None = ... - """Details about a context that started.""" - context_succeeded_details: ContextSucceededDetails | None = ... - """Details about a context that succeeded.""" - context_failed_details: ContextFailedDetails | None = ... - """Details about a context that failed.""" - wait_started_details: WaitStartedDetails | None = ... - """Details about a wait operation that started.""" - wait_succeeded_details: WaitSucceededDetails | None = ... - """Details about a wait operation that succeeded.""" - wait_cancelled_details: WaitCancelledDetails | None = ... - """Details about a wait operation that was cancelled.""" - step_started_details: StepStartedDetails | None = ... - """Details about a step that started.""" - step_succeeded_details: StepSucceededDetails | None = ... - """Details about a step that succeeded.""" - step_failed_details: StepFailedDetails | None = ... - """Details about a step that failed.""" - chained_invoke_started_details: ChainedInvokeStartedDetails | None = ... - """ - Contains details about a chained function invocation that has started - execution, including start time and execution context. - """ - chained_invoke_succeeded_details: ChainedInvokeSucceededDetails | None = ... - """Details about a chained invocation that succeeded.""" - chained_invoke_failed_details: ChainedInvokeFailedDetails | None = ... - """ - Contains details about a failed chained function invocation, including - error information and failure reason. - """ - chained_invoke_timed_out_details: ChainedInvokeTimedOutDetails | None = ... - """Details about a chained invocation that timed out.""" - chained_invoke_stopped_details: ChainedInvokeStoppedDetails | None = ... - """Details about a chained invocation that was stopped.""" - callback_started_details: CallbackStartedDetails | None = ... - """ - Contains details about a callback operation that has started, including - timing information and callback metadata. - """ - callback_succeeded_details: CallbackSucceededDetails | None = ... - """ - Contains details about a successfully completed callback operation, - including the result data and completion timestamp. - """ - callback_failed_details: CallbackFailedDetails | None = ... - """ - Contains details about a failed callback operation, including error - information and the reason for failure. - """ - callback_timed_out_details: CallbackTimedOutDetails | None = ... - """ - Contains details about a callback operation that timed out, including - timeout duration and any partial results. - """ - invocation_completed_details: InvocationCompletedDetails | None = ... - """Details about a function invocation that completed.""" - -@dataclass(kw_only=True) -class EventError(_SerdeShape): - """Error information for an event.""" - - payload: ErrorObject | None = ... - """The error payload.""" - truncated: bool | None = ... - """Indicates if the error payload was truncated due to size limits.""" - -@dataclass(kw_only=True) -class EventInput(_SerdeShape): - """Input information for an event.""" - - payload: str | None = ... - """The input payload.""" - truncated: bool | None = ... - """Indicates if the error payload was truncated due to size limits.""" - -@dataclass(kw_only=True) -class EventResult(_SerdeShape): - """Result information for an event.""" - - payload: str | None = ... - """The result payload.""" - truncated: bool | None = ... - """Indicates if the error payload was truncated due to size limits.""" - -@dataclass(kw_only=True) -class EventSourceMappingConfiguration(_SerdeShape): - """ - A mapping between an Amazon Web Services resource and a Lambda function. - For details, see CreateEventSourceMapping. - """ - - uuid: str | None = ... - """The identifier of the event source mapping.""" - starting_position: str | None = ... - """ - The position in a stream from which to start reading. Required for - Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` - is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon - MSK, and self-managed Apache Kafka. - """ - starting_position_timestamp: datetime | None = ... - """ - With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to - start reading. `StartingPositionTimestamp` cannot be in the future. - """ - batch_size: int | None = ... - """ - The maximum number of records in each batch that Lambda pulls from your - stream or queue and sends to your function. Lambda passes all of the - records in the batch to the function in a single call, up to the payload - limit for synchronous invocation (6 MB). - - Default value: Varies by service. For Amazon SQS, the default is 10. For - all other services, the default is 100. - - Related setting: When you set `BatchSize` to a value greater than 10, - you must set `MaximumBatchingWindowInSeconds` to at least 1. - """ - maximum_batching_window_in_seconds: int | None = ... - """ - The maximum amount of time, in seconds, that Lambda spends gathering - records before invoking the function. You can configure - `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 - seconds in increments of seconds. - - For streams and Amazon SQS event sources, the default batching window is - 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and - DocumentDB event sources, the default batching window is 500 ms. Note - that because you can only change `MaximumBatchingWindowInSeconds` in - increments of seconds, you cannot revert back to the 500 ms default - batching window after you have changed it. To restore the default - batching window, you must create a new event source mapping. - - Related setting: For streams and Amazon SQS event sources, when you set - `BatchSize` to a value greater than 10, you must set - `MaximumBatchingWindowInSeconds` to at least 1. - """ - parallelization_factor: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The number of batches to process - concurrently from each shard. The default value is 1. - """ - event_source_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source.""" - filter_criteria: FilterCriteria | None = ... - """ - An object that defines the filter criteria that determine whether Lambda - should process an event. For more information, see [Lambda event - filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). - - If filter criteria is encrypted, this field shows up as `null` in the - response of ListEventSourceMapping API calls. You can view this field in - plaintext in the response of GetEventSourceMapping and - DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for - the correct KMS key. - """ - filter_criteria_error: FilterCriteriaError | None = ... - """ - An object that contains details about an error related to filter - criteria encryption. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that - Lambda uses to encrypt your function's [filter - criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). - """ - metrics_config: EventSourceMappingMetricsConfig | None = ... - """ - The metrics configuration for your event source. For more information, - see [Event source mapping - metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). - """ - logging_config: EventSourceMappingLoggingConfig | None = ... - """ - (Amazon MSK, and self-managed Apache Kafka only) The logging - configuration for your event source. For more information, see [Event - source mapping - logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). - """ - scaling_config: ScalingConfig | None = ... - """ - (Amazon SQS only) The scaling configuration for the event source. For - more information, see [Configuring maximum concurrency for Amazon SQS - event - sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). - """ - function_arn: str | None = ... - """The ARN of the Lambda function.""" - last_modified: datetime | None = ... - """ - The date that the event source mapping was last updated or that its - state changed. - """ - last_processing_result: str | None = ... - """The result of the event source mapping's last processing attempt.""" - state: str | None = ... - """ - The state of the event source mapping. It can be one of the following: - `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, - or `Deleting`. - """ - state_transition_reason: str | None = ... - """ - Indicates whether a user or Lambda made the last change to the event - source mapping. - """ - destination_config: DestinationConfig | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A - configuration object that specifies the destination of an event after - Lambda processes it. - """ - topics: list[str] | None = ... - """The name of the Kafka topic.""" - queues: list[str] | None = ... - """ - (Amazon MQ) The name of the Amazon MQ broker destination queue to - consume. - """ - source_access_configurations: list[SourceAccessConfiguration] | None = ... - """ - An array of the authentication protocol, VPC components, or virtual host - to secure and define your event source. - """ - self_managed_event_source: SelfManagedEventSource | None = ... - """The self-managed Apache Kafka cluster for your event source.""" - maximum_record_age_in_seconds: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records older than the specified age. The default value is -1, - which sets the maximum age to infinite. When the value is set to - infinite, Lambda never discards old records. - - Note: - The minimum valid value for maximum record age is 60s. Although values - less than 60 and greater than -1 fall within the parameter's absolute - range, they are not allowed - """ - bisect_batch_on_function_error: bool | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - If the function returns an error, split the batch in two and retry. The - default value is false. - """ - maximum_retry_attempts: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records after the specified number of retries. The default value - is -1, which sets the maximum number of retries to infinite. When - MaximumRetryAttempts is infinite, Lambda retries failed records until - the record expires in the event source. - """ - tumbling_window_in_seconds: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The duration in seconds of a - processing window for DynamoDB and Kinesis Streams event sources. A - value of 0 seconds indicates no tumbling window. - """ - function_response_types: list[str] | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and - Amazon SQS) A list of current response type enums applied to the event - source mapping. - """ - amazon_managed_kafka_event_source_config: ( - AmazonManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for an Amazon Managed Streaming for - Apache Kafka (Amazon MSK) event source. - """ - self_managed_kafka_event_source_config: ( - SelfManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for a self-managed Apache Kafka event - source. - """ - document_db_event_source_config: DocumentDBEventSourceConfig | None = ... - """Specific configuration settings for a DocumentDB event source.""" - event_source_mapping_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source mapping.""" - provisioned_poller_config: ProvisionedPollerConfig | None = ... - """ - (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The - provisioned mode configuration for the event source. For more - information, see [provisioned - mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). - """ - -@dataclass(kw_only=True) -class EventSourceMappingLoggingConfig(_SerdeShape): - """ - (Amazon MSK, and self-managed Apache Kafka only) The logging - configuration for your event source. Use this configuration object to - define the level of logs for your event source mapping. - """ - - system_log_level: str | None = ... - """ - The log level you want your event source mapping to use. Lambda event - poller only sends system logs at the selected level of detail and lower, - where `DEBUG` is the highest level and `WARN` is the lowest. For more - information about these metrics, see [Event source mapping - logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). - """ - -class EventSourceMappingMetric(UnknownEnumMixin, StrEnum): - EVENT_COUNT = "EventCount" - ERROR_COUNT = "ErrorCount" - KAFKA_METRICS = "KafkaMetrics" - -@dataclass(kw_only=True) -class EventSourceMappingMetricsConfig(_SerdeShape): - """ - The metrics configuration for your event source. Use this configuration - object to define which metrics you want your event source mapping to - produce. - """ - - metrics: list[str] | None = ... - """ - The metrics you want your event source mapping to produce, including - `EventCount`, `ErrorCount`, `KafkaMetrics`. - - - `EventCount` to receive metrics related to the number of events - processed by your event source mapping. - - - `ErrorCount` (Amazon MSK and self-managed Apache Kafka) to receive - metrics related to the number of errors in your event source mapping - processing. - - - `KafkaMetrics` (Amazon MSK and self-managed Apache Kafka) to receive - metrics related to the Kafka consumers from your event source mapping. - - For more information about these metrics, see [Event source mapping - metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). - """ - -class EventSourceMappingSystemLogLevel(UnknownEnumMixin, StrEnum): - DEBUG = "DEBUG" - INFO = "INFO" - WARN = "WARN" - -class EventSourcePosition(UnknownEnumMixin, StrEnum): - TRIM_HORIZON = "TRIM_HORIZON" - LATEST = "LATEST" - AT_TIMESTAMP = "AT_TIMESTAMP" - -class EventType(UnknownEnumMixin, StrEnum): - EXECUTION_STARTED = "ExecutionStarted" - EXECUTION_SUCCEEDED = "ExecutionSucceeded" - EXECUTION_FAILED = "ExecutionFailed" - EXECUTION_TIMED_OUT = "ExecutionTimedOut" - EXECUTION_STOPPED = "ExecutionStopped" - CONTEXT_STARTED = "ContextStarted" - CONTEXT_SUCCEEDED = "ContextSucceeded" - CONTEXT_FAILED = "ContextFailed" - WAIT_STARTED = "WaitStarted" - WAIT_SUCCEEDED = "WaitSucceeded" - WAIT_CANCELLED = "WaitCancelled" - STEP_STARTED = "StepStarted" - STEP_SUCCEEDED = "StepSucceeded" - STEP_FAILED = "StepFailed" - CHAINED_INVOKE_STARTED = "ChainedInvokeStarted" - CHAINED_INVOKE_SUCCEEDED = "ChainedInvokeSucceeded" - CHAINED_INVOKE_FAILED = "ChainedInvokeFailed" - CHAINED_INVOKE_TIMED_OUT = "ChainedInvokeTimedOut" - CHAINED_INVOKE_STOPPED = "ChainedInvokeStopped" - CALLBACK_STARTED = "CallbackStarted" - CALLBACK_SUCCEEDED = "CallbackSucceeded" - CALLBACK_FAILED = "CallbackFailed" - CALLBACK_TIMED_OUT = "CallbackTimedOut" - INVOCATION_COMPLETED = "InvocationCompleted" - -@dataclass(kw_only=True) -class Execution(_SerdeShape): - """ - Information about a [durable - execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html). - """ - - durable_execution_arn: str - """ - The Amazon Resource Name (ARN) of the durable execution, if this - execution is a durable execution. - """ - durable_execution_name: str - """ - The unique name of the durable execution, if one was provided when the - execution was started. - """ - function_arn: str - """The Amazon Resource Name (ARN) of the Lambda function.""" - status: str - """The current status of the durable execution.""" - start_timestamp: datetime - """ - The date and time when the durable execution started, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - end_timestamp: datetime | None = ... - """ - The date and time when the durable execution ended, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that is - used to encrypt your durable execution's payload data, including input, - output, and error payloads. - """ - -@dataclass(kw_only=True) -class ExecutionDetails(_SerdeShape): - """ - Details about a [durable - execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html). - """ - - input_payload: str | None = ... - """The original input payload provided for the durable execution.""" - -@dataclass(kw_only=True) -class ExecutionFailedDetails(_SerdeShape): - """ - Details about a failed [durable - execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html). - """ - - error: EventError - """Details about the execution failure.""" - -@dataclass(kw_only=True) -class ExecutionStartedDetails(_SerdeShape): - """Details about a durable execution that started.""" - - input: EventInput - """The input payload provided for the durable execution.""" - execution_timeout: int - """ - The maximum amount of time that the durable execution is allowed to run, - in seconds. - """ - -class ExecutionStatus(UnknownEnumMixin, StrEnum): - RUNNING = "RUNNING" - SUCCEEDED = "SUCCEEDED" - FAILED = "FAILED" - TIMED_OUT = "TIMED_OUT" - STOPPED = "STOPPED" - -@dataclass(kw_only=True) -class ExecutionStoppedDetails(_SerdeShape): - """ - Details about a [durable - execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html) - that stopped. - """ - - error: EventError - """Details about why the execution stopped.""" - -@dataclass(kw_only=True) -class ExecutionSucceededDetails(_SerdeShape): - """ - Details about a [durable - execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html) - that succeeded. - """ - - result: EventResult - """The response payload from the successful operation.""" - -@dataclass(kw_only=True) -class ExecutionTimedOutDetails(_SerdeShape): - """ - Details about a [durable - execution](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html) - that timed out. - """ - - error: EventError | None = ... - """Details about the execution timeout.""" - -@dataclass(kw_only=True) -class FileSystemConfig(_SerdeShape): - """ - Details about the connection between a Lambda function and an [Amazon - EFS file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) - or an [Amazon S3 file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). - """ - - arn: str - """ - The Amazon Resource Name (ARN) of the Amazon EFS or Amazon S3 Files - access point that provides access to the file system. - """ - local_mount_path: str - """ - The path where the function can access the file system, starting with - `/mnt/`. - """ - s3_files_config: S3FilesConfig | None = ... - """ - The configuration for how your function accesses data on an Amazon S3 - file system. Valid only when the file system access point ARN is an - Amazon S3 Files access point. If you specify a different access point - type (for example, Amazon Elastic File System), the operation returns an - `InvalidParameterException`. - """ - -@dataclass(kw_only=True) -class Filter(_SerdeShape): - """ - A structure within a `FilterCriteria` object that defines an event - filtering pattern. - """ - - pattern: str | None = ... - """ - A filter pattern. For more information on the syntax of a filter - pattern, see [Filter rule - syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax). - """ - -@dataclass(kw_only=True) -class FilterCriteria(_SerdeShape): - """An object that contains the filters for an event source.""" - - filters: list[Filter] | None = ... - """A list of filters.""" - -@dataclass(kw_only=True) -class FilterCriteriaError(_SerdeShape): - """ - An object that contains details about an error related to filter - criteria encryption. - """ - - error_code: str | None = ... - """ - The KMS exception that resulted from filter criteria encryption or - decryption. - """ - message: str | None = ... - """The error message.""" - -class FullDocument(UnknownEnumMixin, StrEnum): - UPDATE_LOOKUP = "UpdateLookup" - DEFAULT = "Default" - -@dataclass(kw_only=True) -class FunctionCode(_SerdeShape): - """ - The code for the Lambda function. You can either specify an object in - Amazon S3, upload a .zip file archive deployment package directly, or - specify the URI of a container image. - """ - - zip_file: bytes | None = ... - """ - The base64-encoded contents of the deployment package. Amazon Web - Services SDK and CLI clients handle the encoding for you. - """ - s3_bucket: str | None = ... - """ - An Amazon S3 bucket in the same Amazon Web Services Region as your - function. The bucket can be in a different Amazon Web Services account. - """ - s3_key: str | None = ... - """The Amazon S3 key of the deployment package.""" - s3_object_version: str | None = ... - """ - For versioned objects, the version of the deployment package object to - use. - """ - s3_object_storage_mode: str | None = ... - """ - Specifies how the deployment package is stored. Valid values: - - - `COPY` (default) -- Uploads a copy of your deployment package to - Lambda. - - - `REFERENCE` -- Lambda references the deployment package from the - specified Amazon S3 bucket. - """ - image_uri: str | None = ... - """ - URI of a [container - image](https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) - in the Amazon ECR registry. - """ - source_kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt your function's .zip deployment package. If you don't - provide a customer managed key, Lambda uses an [Amazon Web Services - owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk). - """ - -@dataclass(kw_only=True) -class FunctionCodeLocation(_SerdeShape): - """Details about a function's deployment package.""" - - repository_type: str | None = ... - """The service that's hosting the file.""" - location: str | None = ... - """A presigned URL that you can use to download the deployment package.""" - image_uri: str | None = ... - """URI of a container image in the Amazon ECR registry.""" - resolved_image_uri: str | None = ... - """The resolved URI for the image.""" - resolved_s3_object: ResolvedS3Object | None = ... - """The resolved Amazon S3 object that contains the deployment package.""" - source_kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt your function's .zip deployment package. If you don't - provide a customer managed key, Lambda uses an [Amazon Web Services - owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk). - """ - error: FunctionCodeLocationError | None = ... - """ - An object that contains details about an error related to function - deployment package retrieval. - """ - -@dataclass(kw_only=True) -class FunctionCodeLocationError(_SerdeShape): - """ - Contains details about an error that occurred when Lambda attempted to - retrieve a function's deployment package. - """ - - error_code: str | None = ... - """ - The error code that identifies why Lambda failed to retrieve the - deployment package. - """ - message: str | None = ... - """ - The human-readable message that describes why Lambda failed to retrieve - the deployment package. - """ - -@dataclass(kw_only=True) -class FunctionConfiguration(_SerdeShape): - """Details about a function's configuration.""" - - function_name: str | None = ... - """The name of the function.""" - function_arn: str | None = ... - """The function's Amazon Resource Name (ARN).""" - runtime: str | None = ... - """ - The identifier of the function's - [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). - Runtime is required if the deployment package is a .zip file archive. - Specifying a runtime results in an error if you're deploying a function - using a container image. - - The following list includes deprecated runtimes. Lambda blocks creating - new functions and updating existing functions shortly after each runtime - is deprecated. For more information, see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - role: str | None = ... - """The function's execution role.""" - handler: str | None = ... - """The function that Lambda calls to begin running your function.""" - code_size: int = ... - """The size of the function's deployment package, in bytes.""" - description: str | None = ... - """The function's description.""" - timeout: int | None = ... - """ - The amount of time in seconds that Lambda allows a function to run - before stopping it. - """ - memory_size: int | None = ... - """The amount of memory available to the function at runtime.""" - last_modified: str | None = ... - """ - The date and time that the function was last updated, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - code_sha256: str | None = ... - """The SHA256 hash of the function's deployment package.""" - version: str | None = ... - """The version of the Lambda function.""" - vpc_config: VpcConfigResponse | None = ... - """The function's networking configuration.""" - dead_letter_config: DeadLetterConfig | None = ... - """The function's dead letter queue.""" - environment: EnvironmentResponse | None = ... - """ - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). - Omitted from CloudTrail logs. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt the following resources: - - - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). - - - The function's [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) - snapshots. - - - When used with `SourceKMSKeyArn`, the unzipped version of the .zip - deployment package that's used for function invocations. For more - information, see [Specifying a customer managed key for - Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). - - - The optimized version of the container image that's used for function - invocations. Note that this is not the same key that's used to - protect your container image in the Amazon Elastic Container Registry - (Amazon ECR). For more information, see [Function - lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). - - If you don't provide a customer managed key, Lambda uses an [Amazon Web - Services owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) - or an [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). - """ - tracing_config: TracingConfigResponse | None = ... - """The function's X-Ray tracing configuration.""" - master_arn: str | None = ... - """For Lambda@Edge functions, the ARN of the main function.""" - revision_id: str | None = ... - """The latest updated revision of the function or alias.""" - layers: list[Layer] | None = ... - """ - The function's - [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - state: str | None = ... - """ - The current state of the function. When the state is `Inactive`, you can - reactivate the function by invoking it. - """ - state_reason: str | None = ... - """The reason for the function's current state.""" - state_reason_code: str | None = ... - """ - The reason code for the function's current state. When the code is - `Creating`, you can't invoke or modify the function. - """ - last_update_status: str | None = ... - """ - The status of the last update that was performed on the function. This - is first set to `Successful` after function creation completes. - """ - last_update_status_reason: str | None = ... - """The reason for the last update that was performed on the function.""" - last_update_status_reason_code: str | None = ... - """The reason code for the last update that was performed on the function.""" - file_system_configs: list[FileSystemConfig] | None = ... - """ - Connection settings for an [Amazon EFS file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) - or an [Amazon S3 file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). - """ - signing_profile_version_arn: str | None = ... - """The ARN of the signing profile version.""" - signing_job_arn: str | None = ... - """The ARN of the signing job.""" - package_type: str | None = ... - """ - The type of deployment package. Set to `Image` for container image and - set `Zip` for .zip file archive. - """ - image_config_response: ImageConfigResponse | None = ... - """The function's image configuration values.""" - architectures: list[str] | None = ... - """ - The instruction set architecture that the function supports. - Architecture is a string array with one of the valid values. The default - architecture value is `x86_64`. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The size of the function's `/tmp` directory in MB. The default value is - 512, but can be any whole number between 512 and 10,240 MB. For more - information, see [Configuring ephemeral storage - (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). - """ - snap_start: SnapStartResponse | None = ... - """ - Set `ApplyOn` to `PublishedVersions` to create a snapshot of the - initialized execution environment when you publish a function version. - For more information, see [Improving startup performance with Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). - """ - runtime_version_config: RuntimeVersionConfig | None = ... - """The ARN of the runtime and any errors that occured.""" - logging_config: LoggingConfig | None = ... - """The function's Amazon CloudWatch Logs configuration settings.""" - tenancy_config: TenancyConfig | None = ... - """ - The function's tenant isolation configuration settings. Determines - whether the Lambda function runs on a shared or dedicated infrastructure - per unique tenant. - """ - capacity_provider_config: CapacityProviderConfig | None = ... - """ - Configuration for the capacity provider that manages compute resources - for Lambda functions. - """ - config_sha256: str | None = ... - """The SHA256 hash of the function configuration.""" - durable_config: DurableConfig | None = ... - """ - The function's durable execution configuration settings, if the - function is configured for durability. - """ - -@dataclass(kw_only=True) -class FunctionEventInvokeConfig(_SerdeShape): - """Dataclass for FunctionEventInvokeConfig structure.""" - - last_modified: datetime | None = ... - """The date and time that the configuration was last updated.""" - function_arn: str | None = ... - """The Amazon Resource Name (ARN) of the function.""" - maximum_retry_attempts: int | None = ... - """The maximum number of times to retry when the function returns an error.""" - maximum_event_age_in_seconds: int | None = ... - """ - The maximum age of a request that Lambda sends to a function for - processing. - """ - destination_config: DestinationConfig | None = ... - """ - A destination for events after they have been sent to a function for - processing. - - **Destinations** - - - **Function** - The Amazon Resource Name (ARN) of a Lambda function. - - - **Queue** - The ARN of a standard SQS queue. - - - **Bucket** - The ARN of an Amazon S3 bucket. - - - **Topic** - The ARN of a standard SNS topic. - - - **Event Bus** - The ARN of an Amazon EventBridge event bus. - - Note: - S3 buckets are supported only for on-failure destinations. To retain - records of successful invocations, use another destination type. - """ - -class FunctionResponseType(UnknownEnumMixin, StrEnum): - REPORT_BATCH_ITEM_FAILURES = "ReportBatchItemFailures" - -@dataclass(kw_only=True) -class FunctionScalingConfig(_SerdeShape): - """ - Configuration that defines the scaling behavior for a Lambda Managed - Instances function, including the minimum and maximum number of - execution environments that can be provisioned. - """ - - min_execution_environments: int | None = ... - """ - The minimum number of execution environments to maintain for the - function. - """ - max_execution_environments: int | None = ... - """ - The maximum number of execution environments that can be provisioned for - the function. - """ - -class FunctionUrlAuthType(UnknownEnumMixin, StrEnum): - NONE = "NONE" - AWS_IAM = "AWS_IAM" - -@dataclass(kw_only=True) -class FunctionUrlConfig(_SerdeShape): - """Details about a Lambda function URL.""" - - function_url: str - """The HTTP URL endpoint for your function.""" - function_arn: str - """The Amazon Resource Name (ARN) of your function.""" - creation_time: str - """ - When the function URL was created, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - last_modified_time: str - """ - When the function URL configuration was last updated, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - cors: Cors | None = ... - """ - The [cross-origin resource sharing - (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings - for your function URL. - """ - auth_type: str - """ - The type of authentication that your function URL uses. Set to `AWS_IAM` - if you want to restrict access to authenticated users only. Set to - `NONE` if you want to bypass IAM authentication to create a public - endpoint. For more information, see [Security and auth model for Lambda - function - URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). - """ - invoke_mode: str | None = ... - """ - Use one of the following options: - - - `BUFFERED` -- This is the default option. Lambda invokes your function - using the `Invoke` API operation. Invocation results are available - when the payload is complete. The maximum payload size is 6 MB. - - - `RESPONSE_STREAM` -- Your function streams payload results as they - become available. Lambda invokes your function using the - `InvokeWithResponseStream` API operation. The maximum response payload - size is 200 MB. - """ - -class FunctionVersion(UnknownEnumMixin, StrEnum): - ALL = "ALL" - -class FunctionVersionLatestPublished(UnknownEnumMixin, StrEnum): - LATEST_PUBLISHED = "LATEST_PUBLISHED" - -@dataclass(kw_only=True) -class FunctionVersionsByCapacityProviderListItem(_SerdeShape): - """ - Information about a function version that uses a specific capacity - provider, including its ARN and current state. - """ - - function_arn: str - """The Amazon Resource Name (ARN) of the function version.""" - state: str - """The current state of the function version.""" - -@dataclass(kw_only=True) -class FunctionVersionsPerCapacityProviderLimitExceededException( - ServiceError, _SerdeShape -): - """ - The maximum number of function versions that can be associated with a - single capacity provider has been exceeded. For more information, see - [Lambda - quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAccountSettingsInput(_SerdeShape): - """Dataclass for GetAccountSettingsInput structure.""" - -@dataclass(kw_only=True) -class GetAccountSettingsOutput(_SerdeShape): - """Dataclass for GetAccountSettingsOutput structure.""" - - account_limit: AccountLimit | None = ... - """Limits that are related to concurrency and code storage.""" - account_usage: AccountUsage | None = ... - """The number of functions and amount of storage in use.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetAliasInput(_SerdeShape): - """Dataclass for GetAliasInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - name: str | None = ... - """The name of the alias.""" - -@dataclass(kw_only=True) -class GetAliasOutput(_SerdeShape): - """ - Provides configuration information about a Lambda function - [alias](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). - """ - - alias_arn: str | None = ... - """The Amazon Resource Name (ARN) of the alias.""" - name: str | None = ... - """The name of the alias.""" - function_version: str | None = ... - """The function version that the alias invokes.""" - description: str | None = ... - """A description of the alias.""" - routing_config: AliasRoutingConfiguration | None = ... - """ - The [routing - configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) - of the alias. - """ - revision_id: str | None = ... - """A unique identifier that changes when you update the alias.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCapacityProviderInput(_SerdeShape): - """Dataclass for GetCapacityProviderInput structure.""" - - capacity_provider_name: str | None = ... - """The name of the capacity provider to retrieve.""" - -@dataclass(kw_only=True) -class GetCapacityProviderOutput(_SerdeShape): - """Dataclass for GetCapacityProviderOutput structure.""" - - capacity_provider: CapacityProvider - """ - Information about the capacity provider, including its configuration and - current state. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetCodeSigningConfigInput(_SerdeShape): - """Dataclass for GetCodeSigningConfigInput structure.""" - - code_signing_config_arn: str | None = ... - """The The Amazon Resource Name (ARN) of the code signing configuration.""" - -@dataclass(kw_only=True) -class GetCodeSigningConfigOutput(_SerdeShape): - """Dataclass for GetCodeSigningConfigOutput structure.""" - - code_signing_config: CodeSigningConfig - """The code signing configuration""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDurableExecutionHistoryInput(_SerdeShape): - """Dataclass for GetDurableExecutionHistoryInput structure.""" - - durable_execution_arn: str | None = ... - """The Amazon Resource Name (ARN) of the durable execution.""" - include_execution_data: bool | None = ... - """ - Specifies whether to include execution data such as step results and - callback payloads in the history events. Set to `true` to include data, - or `false` to exclude it for a more compact response. The default is - `true`. - """ - max_items: int = ... - """ - The maximum number of history events to return per call. You can use - `Marker` to retrieve additional pages of results. The default is 100 and - the maximum allowed is 1000. A value of 0 uses the default. - """ - marker: str | None = ... - """ - If `NextMarker` was returned from a previous request, use this value to - retrieve the next page of results. Each pagination token expires after - 24 hours. - """ - reverse_order: bool | None = ... - """ - When set to `true`, returns the history events in reverse chronological - order (newest first). By default, events are returned in chronological - order (oldest first). - """ - -@dataclass(kw_only=True) -class GetDurableExecutionHistoryOutput(_SerdeShape): - """ - The response from the GetDurableExecutionHistory operation, containing - the execution history and events. - """ - - events: list[Event] - """ - An array of execution history events, ordered chronologically unless - `ReverseOrder` is set to `true`. Each event represents a significant - occurrence during the execution, such as step completion or callback - resolution. - """ - next_marker: str | None = ... - """ - If present, indicates that more history events are available. Use this - value as the `Marker` parameter in a subsequent request to retrieve the - next page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDurableExecutionInput(_SerdeShape): - """Dataclass for GetDurableExecutionInput structure.""" - - durable_execution_arn: str | None = ... - """The Amazon Resource Name (ARN) of the durable execution.""" - include_execution_data: bool = ... - """ - Specifies whether to include execution data such as input payload, - result, and error information in the response. Set to `false` for a more - compact response that includes only execution metadata. The default - value is set to `true`. - """ - -@dataclass(kw_only=True) -class GetDurableExecutionOutput(_SerdeShape): - """ - The response from the GetDurableExecution operation, containing detailed - information about the durable execution. - """ - - durable_execution_arn: str - """The Amazon Resource Name (ARN) of the durable execution.""" - durable_execution_name: str - """ - The name of the durable execution. This is either the name you provided - when invoking the function, or a system-generated unique identifier if - no name was provided. - """ - function_arn: str - """ - The Amazon Resource Name (ARN) of the Lambda function that was invoked - to start this durable execution. - """ - input_payload: str | None = ... - """ - The JSON input payload that you provided when you started the durable - execution. Asynchronous invocations support up to 1 MB, and synchronous - invocations support up to 6 MB. - """ - result: str | None = ... - """ - The JSON result returned by the durable execution if it completed - successfully. This field is only present when the execution status is - `SUCCEEDED`. Asynchronous invocations support up to 1 MB, and - synchronous invocations support up to 6 MB. - """ - error: ErrorObject | None = ... - """ - Error information if the durable execution failed. This field is only - present when the execution status is `FAILED`, `TIMED_OUT`, or - `STOPPED`. The combined size of all error fields is limited to 1 MB. - """ - start_timestamp: datetime - """ - The date and time when the durable execution started, in Unix timestamp - format. - """ - status: str - """ - The current status of the durable execution. Valid values are `RUNNING`, - `SUCCEEDED`, `FAILED`, `TIMED_OUT`, and `STOPPED`. - """ - end_timestamp: datetime | None = ... - """ - The date and time when the durable execution ended, in Unix timestamp - format. This field is only present if the execution has completed - (status is `SUCCEEDED`, `FAILED`, `TIMED_OUT`, or `STOPPED`). - """ - version: str | None = ... - """ - The version of the Lambda function that was invoked for this durable - execution. This ensures that all replays during the execution use the - same function version. - """ - trace_header: TraceHeader | None = ... - """The trace headers associated with the durable execution.""" - execution_data_included: bool | None = ... - """ - Indicates whether execution data is included in this response. Returns - `false` when `IncludeExecutionData` is set to `false` in the request. - """ - durable_config: DurableConfig | None = ... - """ - Configuration settings for the durable execution, including execution - timeout, retention period for execution history, and an optional ARN of - the Key Management Service (KMS) customer managed key that is used to - encrypt your durable execution's payload data, including input, output, - and error payloads. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDurableExecutionStateInput(_SerdeShape): - """Dataclass for GetDurableExecutionStateInput structure.""" - - durable_execution_arn: str | None = ... - """The Amazon Resource Name (ARN) of the durable execution.""" - checkpoint_token: str | None = ... - """ - A checkpoint token that identifies the current state of the execution. - This token is provided by the Lambda runtime and ensures that state - retrieval is consistent with the current execution context. - """ - marker: str | None = ... - """ - If `NextMarker` was returned from a previous request, use this value to - retrieve the next page of operations. Each pagination token expires - after 24 hours. - """ - max_items: int = ... - """ - The maximum number of operations to return per call. You can use - `Marker` to retrieve additional pages of results. The default is 100 and - the maximum allowed is 1000. A value of 0 uses the default. - """ - -@dataclass(kw_only=True) -class GetDurableExecutionStateOutput(_SerdeShape): - """ - The response from the GetDurableExecutionState operation, containing the - current execution state for replay. - """ - - operations: list[Operation] - """ - An array of operations that represent the current state of the durable - execution. Operations are ordered by their start sequence number in - ascending order and include information needed for replay processing. - """ - next_marker: str | None = ... - """ - If present, indicates that more operations are available. Use this value - as the `Marker` parameter in a subsequent request to retrieve the next - page of results. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetEventSourceMappingInput(_SerdeShape): - """Dataclass for GetEventSourceMappingInput structure.""" - - uuid: str | None = ... - """The identifier of the event source mapping.""" - -@dataclass(kw_only=True) -class GetEventSourceMappingOutput(_SerdeShape): - """ - A mapping between an Amazon Web Services resource and a Lambda function. - For details, see CreateEventSourceMapping. - """ - - uuid: str | None = ... - """The identifier of the event source mapping.""" - starting_position: str | None = ... - """ - The position in a stream from which to start reading. Required for - Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` - is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon - MSK, and self-managed Apache Kafka. - """ - starting_position_timestamp: datetime | None = ... - """ - With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to - start reading. `StartingPositionTimestamp` cannot be in the future. - """ - batch_size: int | None = ... - """ - The maximum number of records in each batch that Lambda pulls from your - stream or queue and sends to your function. Lambda passes all of the - records in the batch to the function in a single call, up to the payload - limit for synchronous invocation (6 MB). - - Default value: Varies by service. For Amazon SQS, the default is 10. For - all other services, the default is 100. - - Related setting: When you set `BatchSize` to a value greater than 10, - you must set `MaximumBatchingWindowInSeconds` to at least 1. - """ - maximum_batching_window_in_seconds: int | None = ... - """ - The maximum amount of time, in seconds, that Lambda spends gathering - records before invoking the function. You can configure - `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 - seconds in increments of seconds. - - For streams and Amazon SQS event sources, the default batching window is - 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and - DocumentDB event sources, the default batching window is 500 ms. Note - that because you can only change `MaximumBatchingWindowInSeconds` in - increments of seconds, you cannot revert back to the 500 ms default - batching window after you have changed it. To restore the default - batching window, you must create a new event source mapping. - - Related setting: For streams and Amazon SQS event sources, when you set - `BatchSize` to a value greater than 10, you must set - `MaximumBatchingWindowInSeconds` to at least 1. - """ - parallelization_factor: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The number of batches to process - concurrently from each shard. The default value is 1. - """ - event_source_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source.""" - filter_criteria: FilterCriteria | None = ... - """ - An object that defines the filter criteria that determine whether Lambda - should process an event. For more information, see [Lambda event - filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). - - If filter criteria is encrypted, this field shows up as `null` in the - response of ListEventSourceMapping API calls. You can view this field in - plaintext in the response of GetEventSourceMapping and - DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for - the correct KMS key. - """ - filter_criteria_error: FilterCriteriaError | None = ... - """ - An object that contains details about an error related to filter - criteria encryption. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that - Lambda uses to encrypt your function's [filter - criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). - """ - metrics_config: EventSourceMappingMetricsConfig | None = ... - """ - The metrics configuration for your event source. For more information, - see [Event source mapping - metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). - """ - logging_config: EventSourceMappingLoggingConfig | None = ... - """ - (Amazon MSK, and self-managed Apache Kafka only) The logging - configuration for your event source. For more information, see [Event - source mapping - logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). - """ - scaling_config: ScalingConfig | None = ... - """ - (Amazon SQS only) The scaling configuration for the event source. For - more information, see [Configuring maximum concurrency for Amazon SQS - event - sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). - """ - function_arn: str | None = ... - """The ARN of the Lambda function.""" - last_modified: datetime | None = ... - """ - The date that the event source mapping was last updated or that its - state changed. - """ - last_processing_result: str | None = ... - """The result of the event source mapping's last processing attempt.""" - state: str | None = ... - """ - The state of the event source mapping. It can be one of the following: - `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, - or `Deleting`. - """ - state_transition_reason: str | None = ... - """ - Indicates whether a user or Lambda made the last change to the event - source mapping. - """ - destination_config: DestinationConfig | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A - configuration object that specifies the destination of an event after - Lambda processes it. - """ - topics: list[str] | None = ... - """The name of the Kafka topic.""" - queues: list[str] | None = ... - """ - (Amazon MQ) The name of the Amazon MQ broker destination queue to - consume. - """ - source_access_configurations: list[SourceAccessConfiguration] | None = ... - """ - An array of the authentication protocol, VPC components, or virtual host - to secure and define your event source. - """ - self_managed_event_source: SelfManagedEventSource | None = ... - """The self-managed Apache Kafka cluster for your event source.""" - maximum_record_age_in_seconds: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records older than the specified age. The default value is -1, - which sets the maximum age to infinite. When the value is set to - infinite, Lambda never discards old records. - - Note: - The minimum valid value for maximum record age is 60s. Although values - less than 60 and greater than -1 fall within the parameter's absolute - range, they are not allowed - """ - bisect_batch_on_function_error: bool | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - If the function returns an error, split the batch in two and retry. The - default value is false. - """ - maximum_retry_attempts: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records after the specified number of retries. The default value - is -1, which sets the maximum number of retries to infinite. When - MaximumRetryAttempts is infinite, Lambda retries failed records until - the record expires in the event source. - """ - tumbling_window_in_seconds: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The duration in seconds of a - processing window for DynamoDB and Kinesis Streams event sources. A - value of 0 seconds indicates no tumbling window. - """ - function_response_types: list[str] | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and - Amazon SQS) A list of current response type enums applied to the event - source mapping. - """ - amazon_managed_kafka_event_source_config: ( - AmazonManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for an Amazon Managed Streaming for - Apache Kafka (Amazon MSK) event source. - """ - self_managed_kafka_event_source_config: ( - SelfManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for a self-managed Apache Kafka event - source. - """ - document_db_event_source_config: DocumentDBEventSourceConfig | None = ... - """Specific configuration settings for a DocumentDB event source.""" - event_source_mapping_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source mapping.""" - provisioned_poller_config: ProvisionedPollerConfig | None = ... - """ - (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The - provisioned mode configuration for the event source. For more - information, see [provisioned - mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFunctionCodeSigningConfigInput(_SerdeShape): - """Dataclass for GetFunctionCodeSigningConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - -@dataclass(kw_only=True) -class GetFunctionCodeSigningConfigOutput(_SerdeShape): - """Dataclass for GetFunctionCodeSigningConfigOutput structure.""" - - code_signing_config_arn: str - """The The Amazon Resource Name (ARN) of the code signing configuration.""" - function_name: str - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFunctionConcurrencyInput(_SerdeShape): - """Dataclass for GetFunctionConcurrencyInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - -@dataclass(kw_only=True) -class GetFunctionConcurrencyOutput(_SerdeShape): - """Dataclass for GetFunctionConcurrencyOutput structure.""" - - reserved_concurrent_executions: int | None = ... - """ - The number of simultaneous executions that are reserved for the - function. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFunctionConfigurationInput(_SerdeShape): - """Dataclass for GetFunctionConfigurationInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** -- `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """ - Specify a version or alias to get details about a published version of - the function. - """ - -@dataclass(kw_only=True) -class GetFunctionConfigurationOutput(_SerdeShape): - """Details about a function's configuration.""" - - function_name: str | None = ... - """The name of the function.""" - function_arn: str | None = ... - """The function's Amazon Resource Name (ARN).""" - runtime: str | None = ... - """ - The identifier of the function's - [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). - Runtime is required if the deployment package is a .zip file archive. - Specifying a runtime results in an error if you're deploying a function - using a container image. - - The following list includes deprecated runtimes. Lambda blocks creating - new functions and updating existing functions shortly after each runtime - is deprecated. For more information, see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - role: str | None = ... - """The function's execution role.""" - handler: str | None = ... - """The function that Lambda calls to begin running your function.""" - code_size: int = ... - """The size of the function's deployment package, in bytes.""" - description: str | None = ... - """The function's description.""" - timeout: int | None = ... - """ - The amount of time in seconds that Lambda allows a function to run - before stopping it. - """ - memory_size: int | None = ... - """The amount of memory available to the function at runtime.""" - last_modified: str | None = ... - """ - The date and time that the function was last updated, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - code_sha256: str | None = ... - """The SHA256 hash of the function's deployment package.""" - version: str | None = ... - """The version of the Lambda function.""" - vpc_config: VpcConfigResponse | None = ... - """The function's networking configuration.""" - dead_letter_config: DeadLetterConfig | None = ... - """The function's dead letter queue.""" - environment: EnvironmentResponse | None = ... - """ - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). - Omitted from CloudTrail logs. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt the following resources: - - - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). - - - The function's [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) - snapshots. - - - When used with `SourceKMSKeyArn`, the unzipped version of the .zip - deployment package that's used for function invocations. For more - information, see [Specifying a customer managed key for - Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). - - - The optimized version of the container image that's used for function - invocations. Note that this is not the same key that's used to - protect your container image in the Amazon Elastic Container Registry - (Amazon ECR). For more information, see [Function - lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). - - If you don't provide a customer managed key, Lambda uses an [Amazon Web - Services owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) - or an [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). - """ - tracing_config: TracingConfigResponse | None = ... - """The function's X-Ray tracing configuration.""" - master_arn: str | None = ... - """For Lambda@Edge functions, the ARN of the main function.""" - revision_id: str | None = ... - """The latest updated revision of the function or alias.""" - layers: list[Layer] | None = ... - """ - The function's - [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - state: str | None = ... - """ - The current state of the function. When the state is `Inactive`, you can - reactivate the function by invoking it. - """ - state_reason: str | None = ... - """The reason for the function's current state.""" - state_reason_code: str | None = ... - """ - The reason code for the function's current state. When the code is - `Creating`, you can't invoke or modify the function. - """ - last_update_status: str | None = ... - """ - The status of the last update that was performed on the function. This - is first set to `Successful` after function creation completes. - """ - last_update_status_reason: str | None = ... - """The reason for the last update that was performed on the function.""" - last_update_status_reason_code: str | None = ... - """The reason code for the last update that was performed on the function.""" - file_system_configs: list[FileSystemConfig] | None = ... - """ - Connection settings for an [Amazon EFS file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) - or an [Amazon S3 file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). - """ - signing_profile_version_arn: str | None = ... - """The ARN of the signing profile version.""" - signing_job_arn: str | None = ... - """The ARN of the signing job.""" - package_type: str | None = ... - """ - The type of deployment package. Set to `Image` for container image and - set `Zip` for .zip file archive. - """ - image_config_response: ImageConfigResponse | None = ... - """The function's image configuration values.""" - architectures: list[str] | None = ... - """ - The instruction set architecture that the function supports. - Architecture is a string array with one of the valid values. The default - architecture value is `x86_64`. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The size of the function's `/tmp` directory in MB. The default value is - 512, but can be any whole number between 512 and 10,240 MB. For more - information, see [Configuring ephemeral storage - (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). - """ - snap_start: SnapStartResponse | None = ... - """ - Set `ApplyOn` to `PublishedVersions` to create a snapshot of the - initialized execution environment when you publish a function version. - For more information, see [Improving startup performance with Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). - """ - runtime_version_config: RuntimeVersionConfig | None = ... - """The ARN of the runtime and any errors that occured.""" - logging_config: LoggingConfig | None = ... - """The function's Amazon CloudWatch Logs configuration settings.""" - tenancy_config: TenancyConfig | None = ... - """ - The function's tenant isolation configuration settings. Determines - whether the Lambda function runs on a shared or dedicated infrastructure - per unique tenant. - """ - capacity_provider_config: CapacityProviderConfig | None = ... - """ - Configuration for the capacity provider that manages compute resources - for Lambda functions. - """ - config_sha256: str | None = ... - """The SHA256 hash of the function configuration.""" - durable_config: DurableConfig | None = ... - """ - The function's durable execution configuration settings, if the - function is configured for durability. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFunctionEventInvokeConfigInput(_SerdeShape): - """Dataclass for GetFunctionEventInvokeConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** - `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** - `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """A version number or alias name.""" - -@dataclass(kw_only=True) -class GetFunctionEventInvokeConfigOutput(_SerdeShape): - """Dataclass for GetFunctionEventInvokeConfigOutput structure.""" - - last_modified: datetime | None = ... - """The date and time that the configuration was last updated.""" - function_arn: str | None = ... - """The Amazon Resource Name (ARN) of the function.""" - maximum_retry_attempts: int | None = ... - """The maximum number of times to retry when the function returns an error.""" - maximum_event_age_in_seconds: int | None = ... - """ - The maximum age of a request that Lambda sends to a function for - processing. - """ - destination_config: DestinationConfig | None = ... - """ - A destination for events after they have been sent to a function for - processing. - - **Destinations** - - - **Function** - The Amazon Resource Name (ARN) of a Lambda function. - - - **Queue** - The ARN of a standard SQS queue. - - - **Bucket** - The ARN of an Amazon S3 bucket. - - - **Topic** - The ARN of a standard SNS topic. - - - **Event Bus** - The ARN of an Amazon EventBridge event bus. - - Note: - S3 buckets are supported only for on-failure destinations. To retain - records of successful invocations, use another destination type. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFunctionInput(_SerdeShape): - """Dataclass for GetFunctionInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** -- `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """ - Specify a version or alias to get details about a published version of - the function. - """ - -@dataclass(kw_only=True) -class GetFunctionOutput(_SerdeShape): - """Dataclass for GetFunctionOutput structure.""" - - configuration: FunctionConfiguration | None = ... - """The configuration of the function or version.""" - code: FunctionCodeLocation | None = ... - """The deployment package of the function or version.""" - tags: dict[str, str] | None = ... - """ - The function's - [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html). - Lambda returns tag data only if you have explicit allow permissions for - [lambda:ListTags](https://docs.aws.amazon.com/lambda/latest/api/API_ListTags.html). - """ - tags_error: TagsError | None = ... - """ - An object that contains details about an error related to retrieving - tags. - """ - concurrency: Concurrency | None = ... - """ - The function's [reserved - concurrency](https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFunctionRecursionConfigInput(_SerdeShape): - """Dataclass for GetFunctionRecursionConfigInput structure.""" - - function_name: str | None = ... - """The name of the function.""" - -@dataclass(kw_only=True) -class GetFunctionRecursionConfigOutput(_SerdeShape): - """Dataclass for GetFunctionRecursionConfigOutput structure.""" - - recursive_loop: str | None = ... - """ - If your function's recursive loop detection configuration is `Allow`, - Lambda doesn't take any action when it detects your function being - invoked as part of a recursive loop. - - If your function's recursive loop detection configuration is - `Terminate`, Lambda stops your function being invoked and notifies you - when it detects your function being invoked as part of a recursive loop. - - By default, Lambda sets your function's configuration to `Terminate`. - You can update this configuration using the PutFunctionRecursionConfig - action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFunctionScalingConfigInput(_SerdeShape): - """Dataclass for GetFunctionScalingConfigInput structure.""" - - function_name: str | None = ... - """The name or ARN of the Lambda function.""" - qualifier: str | None = ... - """ - Specify a version or alias to get the scaling configuration for a - published version of the function. - """ - -@dataclass(kw_only=True) -class GetFunctionScalingConfigOutput(_SerdeShape): - """Dataclass for GetFunctionScalingConfigOutput structure.""" - - function_arn: str | None = ... - """The Amazon Resource Name (ARN) of the function.""" - applied_function_scaling_config: FunctionScalingConfig | None = ... - """ - The scaling configuration that is currently applied to the function. - This represents the actual scaling settings in effect. - """ - requested_function_scaling_config: FunctionScalingConfig | None = ... - """The scaling configuration that was requested for the function.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetFunctionUrlConfigInput(_SerdeShape): - """Dataclass for GetFunctionUrlConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """The alias name.""" - -@dataclass(kw_only=True) -class GetFunctionUrlConfigOutput(_SerdeShape): - """Dataclass for GetFunctionUrlConfigOutput structure.""" - - function_url: str - """The HTTP URL endpoint for your function.""" - function_arn: str - """The Amazon Resource Name (ARN) of your function.""" - auth_type: str - """ - The type of authentication that your function URL uses. Set to `AWS_IAM` - if you want to restrict access to authenticated users only. Set to - `NONE` if you want to bypass IAM authentication to create a public - endpoint. For more information, see [Control access to Lambda function - URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). - """ - cors: Cors | None = ... - """ - The [cross-origin resource sharing - (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings - for your function URL. - """ - creation_time: str - """ - When the function URL was created, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - last_modified_time: str - """ - When the function URL configuration was last updated, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - invoke_mode: str | None = ... - """ - Use one of the following options: - - - `BUFFERED` -- This is the default option. Lambda invokes your function - using the `Invoke` API operation. Invocation results are available - when the payload is complete. The maximum payload size is 6 MB. - - - `RESPONSE_STREAM` -- Your function streams payload results as they - become available. Lambda invokes your function using the - `InvokeWithResponseStream` API operation. The maximum response payload - size is 200 MB. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetLayerVersionByArnInput(_SerdeShape): - """Dataclass for GetLayerVersionByArnInput structure.""" - - arn: str | None = ... - """The ARN of the layer version.""" - -@dataclass(kw_only=True) -class GetLayerVersionByArnOutput(_SerdeShape): - """Dataclass for GetLayerVersionByArnOutput structure.""" - - content: LayerVersionContentOutput | None = ... - """Details about the layer version.""" - layer_arn: str | None = ... - """The ARN of the layer.""" - layer_version_arn: str | None = ... - """The ARN of the layer version.""" - description: str | None = ... - """The description of the version.""" - created_date: str | None = ... - """ - The date that the layer version was created, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - version: int = ... - """The version number.""" - compatible_architectures: list[str] | None = ... - """ - A list of compatible [instruction set - architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - """ - compatible_runtimes: list[str] | None = ... - """ - The layer's compatible runtimes. - - The following list includes deprecated runtimes. For more information, - see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - license_info: str | None = ... - """The layer's software license.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetLayerVersionInput(_SerdeShape): - """Dataclass for GetLayerVersionInput structure.""" - - layer_name: str | None = ... - """The name or Amazon Resource Name (ARN) of the layer.""" - version_number: int | None = ... - """The version number.""" - -@dataclass(kw_only=True) -class GetLayerVersionOutput(_SerdeShape): - """Dataclass for GetLayerVersionOutput structure.""" - - content: LayerVersionContentOutput | None = ... - """Details about the layer version.""" - layer_arn: str | None = ... - """The ARN of the layer.""" - layer_version_arn: str | None = ... - """The ARN of the layer version.""" - description: str | None = ... - """The description of the version.""" - created_date: str | None = ... - """ - The date that the layer version was created, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - version: int = ... - """The version number.""" - compatible_architectures: list[str] | None = ... - """ - A list of compatible [instruction set - architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - """ - compatible_runtimes: list[str] | None = ... - """ - The layer's compatible runtimes. - - The following list includes deprecated runtimes. For more information, - see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - license_info: str | None = ... - """The layer's software license.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetLayerVersionPolicyInput(_SerdeShape): - """Dataclass for GetLayerVersionPolicyInput structure.""" - - layer_name: str | None = ... - """The name or Amazon Resource Name (ARN) of the layer.""" - version_number: int | None = ... - """The version number.""" - -@dataclass(kw_only=True) -class GetLayerVersionPolicyOutput(_SerdeShape): - """Dataclass for GetLayerVersionPolicyOutput structure.""" - - policy: str | None = ... - """The policy document.""" - revision_id: str | None = ... - """A unique identifier for the current revision of the policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicyInput(_SerdeShape): - """Dataclass for GetPolicyInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** -- `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """Specify a version or alias to get the policy for that resource.""" - -@dataclass(kw_only=True) -class GetPolicyOutput(_SerdeShape): - """Dataclass for GetPolicyOutput structure.""" - - policy: str | None = ... - """The resource-based policy.""" - revision_id: str | None = ... - """A unique identifier for the current revision of the policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetProvisionedConcurrencyConfigInput(_SerdeShape): - """Dataclass for GetProvisionedConcurrencyConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """The version number or alias name.""" - -@dataclass(kw_only=True) -class GetProvisionedConcurrencyConfigOutput(_SerdeShape): - """Dataclass for GetProvisionedConcurrencyConfigOutput structure.""" - - requested_provisioned_concurrent_executions: int | None = ... - """The amount of provisioned concurrency requested.""" - available_provisioned_concurrent_executions: int | None = ... - """The amount of provisioned concurrency available.""" - allocated_provisioned_concurrent_executions: int | None = ... - """ - The amount of provisioned concurrency allocated. When a weighted alias - is used during linear and canary deployments, this value fluctuates - depending on the amount of concurrency that is provisioned for the - function versions. - """ - status: str | None = ... - """The status of the allocation process.""" - status_reason: str | None = ... - """ - For failed allocations, the reason that provisioned concurrency could - not be allocated. - """ - last_modified: str | None = ... - """ - The date and time that a user last updated the configuration, in [ISO - 8601 format](https://www.iso.org/iso-8601-date-and-time-format.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyInput(_SerdeShape): - """Dataclass for GetResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda resource you want to - retrieve the policy for. You can use a qualified or an unqualified ARN. - The value must be a complete ARN, and the operation does not accept - wildcard characters. - """ - -@dataclass(kw_only=True) -class GetResourcePolicyOutput(_SerdeShape): - """Dataclass for GetResourcePolicyOutput structure.""" - - policy: str | None = ... - """The resource-based policy attached to the Lambda resource you specified.""" - revision_id: str | None = ... - """ - The revision ID of the policy. Pass this value as the `RevisionId` in a - PutResourcePolicy or DeleteResourcePolicy request. Doing so ensures the - operation acts on the expected version of the policy. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRuntimeManagementConfigInput(_SerdeShape): - """Dataclass for GetRuntimeManagementConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """ - Specify a version of the function. This can be `$LATEST` or a published - version number. If no value is specified, the configuration for the - `$LATEST` version is returned. - """ - -@dataclass(kw_only=True) -class GetRuntimeManagementConfigOutput(_SerdeShape): - """Dataclass for GetRuntimeManagementConfigOutput structure.""" - - update_runtime_on: str | None = ... - """The current runtime update mode of the function.""" - function_arn: str | None = ... - """The Amazon Resource Name (ARN) of your function.""" - runtime_version_arn: str | None = ... - """ - The ARN of the runtime the function is configured to use. If the runtime - update mode is **Manual**, the ARN is returned, otherwise `null` is - returned. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ImageConfig(_SerdeShape): - """ - Configuration values that override the container image Dockerfile - settings. For more information, see [Container image - settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms). - """ - - entry_point: list[str] | None = ... - """ - Specifies the entry point to their application, which is typically the - location of the runtime executable. - """ - command: list[str] | None = ... - """Specifies parameters that you want to pass in with ENTRYPOINT.""" - working_directory: str | None = ... - """Specifies the working directory.""" - -@dataclass(kw_only=True) -class ImageConfigError(_SerdeShape): - """Error response to `GetFunctionConfiguration`.""" - - error_code: str | None = ... - """Error code.""" - message: str | None = ... - """Error message.""" - -@dataclass(kw_only=True) -class ImageConfigResponse(_SerdeShape): - """Response to a `GetFunctionConfiguration` request.""" - - image_config: ImageConfig | None = ... - """Configuration values that override the container image Dockerfile.""" - error: ImageConfigError | None = ... - """Error response to `GetFunctionConfiguration`.""" - -@dataclass(kw_only=True) -class InstanceRequirements(_SerdeShape): - """ - Specifications that define the characteristics and constraints for - compute instances used by the capacity provider. - """ - - architectures: list[str] | None = ... - """ - A list of supported CPU architectures for compute instances. Valid - values include `x86_64` and `arm64`. - """ - allowed_instance_types: list[str] | None = ... - """ - A list of EC2 instance types that the capacity provider is allowed to - use. If not specified, all compatible instance types are allowed. - """ - excluded_instance_types: list[str] | None = ... - """ - A list of EC2 instance types that the capacity provider should not use, - even if they meet other requirements. - """ - -@dataclass(kw_only=True) -class InvalidCodeSignatureException(ServiceError, _SerdeShape): - """ - The code signature failed the integrity check. If the integrity check - fails, then Lambda blocks deployment, even if the code signing policy is - set to WARN. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidParameterValueException(ServiceError, _SerdeShape): - """One of the parameters in the request is not valid.""" - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidRequestContentException(ServiceError, _SerdeShape): - """ - The request body could not be parsed as JSON, or a request header is - invalid. For example, the 'x-amzn-RequestId' header is not a valid - UUID string. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidRuntimeException(ServiceError, _SerdeShape): - """The runtime or runtime version specified is not supported.""" - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidSecurityGroupIDException(ServiceError, _SerdeShape): - """ - The security group ID provided in the Lambda function VPC configuration - is not valid. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidSubnetIDException(ServiceError, _SerdeShape): - """ - The subnet ID provided in the Lambda function VPC configuration is not - valid. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidZipFileException(ServiceError, _SerdeShape): - """Lambda could not unzip the deployment package.""" - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvocationCompletedDetails(_SerdeShape): - """Details about a function invocation that completed.""" - - start_timestamp: datetime - """ - The date and time when the invocation started, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - end_timestamp: datetime - """ - The date and time when the invocation ended, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - request_id: str - """The request ID for the invocation.""" - error: EventError | None = ... - """Details about the invocation failure.""" - -class InvocationType(UnknownEnumMixin, StrEnum): - EVENT = "Event" - REQUEST_RESPONSE = "RequestResponse" - DRY_RUN = "DryRun" - -@dataclass(kw_only=True) -class InvokeAsyncInput(_SerdeShape): - """Dataclass for InvokeAsyncInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - invoke_args: StreamingBlob | None = ... - """The JSON that you want to provide to your Lambda function as input.""" - -@dataclass(kw_only=True) -class InvokeAsyncOutput(_SerdeShape): - """ - A success response (`202 Accepted`) indicates that the request is queued - for invocation. - """ - - status: int = ... - """The status code.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvokeInput(_SerdeShape): - """Dataclass for InvokeInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** -- `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - invocation_type: str | None = ... - """ - Choose from the following options. - - - `RequestResponse` (default) -- Invoke the function synchronously. Keep - the connection open until the function returns a response or times - out. The API response includes the function response and additional - data. - - - `Event` -- Invoke the function asynchronously. Send events that fail - multiple times to the function's dead-letter queue (if one is - configured). The API response only includes a status code. - - - `DryRun` -- Validate parameter values and verify that the user or role - has permission to invoke the function. - """ - log_type: str | None = ... - """ - Set to `Tail` to include the execution log in the response. Applies to - synchronously invoked functions only. - """ - client_context: str | None = ... - """ - Up to 3,583 bytes of base64-encoded data about the invoking client to - pass to the function in the context object. Lambda passes the - `ClientContext` object to your function for synchronous invocations - only. - """ - durable_execution_name: str | None = ... - """ - A unique name for the durable execution. If you invoke a durable - function using a name that already exists with the same payload, Lambda - returns the existing execution instead of creating a duplicate. If the - payload differs, Lambda returns a - `DurableExecutionAlreadyStartedException` error. - - If not specified, Lambda generates a unique identifier automatically. - For more information, see [Execution - names](https://docs.aws.amazon.com/lambda/latest/dg/durable-execution-idempotency.html#durable-idempotency-execution-names). - """ - payload: bytes | None = ... - """ - The JSON that you want to provide to your Lambda function as input. The - maximum payload size is 6 MB for synchronous invocations and 1 MB for - asynchronous invocations. - - You can enter the JSON directly. For example, - `--payload '{ "key": "value" }'`. You can also specify a file path. For - example, `--payload file://payload.json`. - """ - qualifier: str | None = ... - """ - Specify a version or alias to invoke a published version of the - function. - """ - tenant_id: str | None = ... - """The identifier of the tenant in a multi-tenant Lambda function.""" - -class InvokeMode(UnknownEnumMixin, StrEnum): - BUFFERED = "BUFFERED" - RESPONSE_STREAM = "RESPONSE_STREAM" - -@dataclass(kw_only=True) -class InvokeOutput(_SerdeShape): - """Dataclass for InvokeOutput structure.""" - - status_code: int = ... - """ - The HTTP status code is in the 200 range for a successful request. For - the `RequestResponse` invocation type, this status code is 200. For the - `Event` invocation type, this status code is 202. For the `DryRun` - invocation type, the status code is 204. - """ - function_error: str | None = ... - """ - If present, indicates that an error occurred during function execution. - Details about the error are included in the response payload. - """ - log_result: str | None = ... - """The last 4 KB of the execution log, which is base64-encoded.""" - payload: bytes | None = ... - """The response from the function, or an error object.""" - executed_version: str | None = ... - """ - The version of the function that executed. When you invoke a function - with an alias, this indicates which version the alias resolved to. - """ - durable_execution_arn: str | None = ... - """ - The ARN of the durable execution that was started. This is returned when - invoking a durable function and provides a unique identifier for - tracking the execution. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvokeResponseStreamUpdate(_SerdeShape): - """A chunk of the streamed response payload.""" - - payload: bytes | None = ... - """Data returned by your Lambda function.""" - -@dataclass(kw_only=True) -class InvokeWithResponseStreamCompleteEvent(_SerdeShape): - """A response confirming that the event stream is complete.""" - - error_code: str | None = ... - """An error code.""" - error_details: str | None = ... - """The details of any returned error.""" - log_result: str | None = ... - """The last 4 KB of the execution log, which is base64-encoded.""" - -@dataclass(kw_only=True) -class InvokeWithResponseStreamInput(_SerdeShape): - """Dataclass for InvokeWithResponseStreamInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - log_type: str | None = ... - """ - Set to `Tail` to include the execution log in the response. Applies to - synchronously invoked functions only. - """ - client_context: str | None = ... - """ - Up to 3,583 bytes of base64-encoded data about the invoking client to - pass to the function in the context object. - """ - qualifier: str | None = ... - """The alias name.""" - payload: bytes | None = ... - """ - The JSON that you want to provide to your Lambda function as input. - - You can enter the JSON directly. For example, - `--payload '{ "key": "value" }'`. You can also specify a file path. For - example, `--payload file://payload.json`. - """ - tenant_id: str | None = ... - """The identifier of the tenant in a multi-tenant Lambda function.""" - invocation_type: str | None = ... - """ - Use one of the following options: - - - `RequestResponse` (default) -- Invoke the function synchronously. Keep - the connection open until the function returns a response or times - out. The API operation response includes the function response and - additional data. - - - `DryRun` -- Validate parameter values and verify that the IAM user or - role has permission to invoke the function. - """ - -@dataclass(kw_only=True) -class InvokeWithResponseStreamOutput(_SerdeShape): - """Dataclass for InvokeWithResponseStreamOutput structure.""" - - status_code: int = ... - """ - For a successful request, the HTTP status code is in the 200 range. For - the `RequestResponse` invocation type, this status code is 200. For the - `DryRun` invocation type, this status code is 204. - """ - executed_version: str | None = ... - """ - The version of the function that executed. When you invoke a function - with an alias, this indicates which version the alias resolved to. - """ - response_stream_content_type: str | None = ... - """The type of data the stream is returning.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class InvokeWithResponseStreamResponseEventPayloadChunk(_SerdeShape): - """A chunk of the streamed response payload.""" - - value: InvokeResponseStreamUpdate - -@dataclass -class InvokeWithResponseStreamResponseEventInvokeComplete(_SerdeShape): - """ - An object that's returned when the stream has ended and all the payload - chunks have been returned. - """ - - value: InvokeWithResponseStreamCompleteEvent - -@dataclass -class InvokeWithResponseStreamResponseEventUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -InvokeWithResponseStreamResponseEvent = Union[ - InvokeWithResponseStreamResponseEventPayloadChunk - | InvokeWithResponseStreamResponseEventInvokeComplete - | InvokeWithResponseStreamResponseEventUnknown -] -""" -An object that includes a chunk of the response payload. When the stream -has ended, Lambda includes a `InvokeComplete` object. -""" - -class _InvokeWithResponseStreamResponseEventDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> InvokeWithResponseStreamResponseEvent: ... - -class KafkaEventSourceMappingConsumptionMode(UnknownEnumMixin, StrEnum): - STREAM = "Stream" - QUEUE = "Queue" - -@dataclass(kw_only=True) -class KafkaSchemaRegistryAccessConfig(_SerdeShape): - """ - Specific access configuration settings that tell Lambda how to - authenticate with your schema registry. - - If you're working with an Glue schema registry, don't provide - authentication details in this object. Instead, ensure that your - execution role has the required permissions for Lambda to access your - cluster. - - If you're working with a Confluent schema registry, choose the - authentication method in the `Type` field, and provide the Secrets - Manager secret ARN in the `URI` field. - """ - - type: str | None = ... - """ - The type of authentication Lambda uses to access your schema registry. - - - `BASIC_AUTH` -- The Secrets Manager ARN of your secret key used for - basic authentication with your Confluent schema registry. - - - `CLIENT_CERTIFICATE_TLS_AUTH` -- The Secrets Manager ARN of your - secret key containing the certificate chain (X.509 PEM), private key - (PKCS#8 PEM), and private key password (optional) used for mutual TLS - authentication with your Confluent schema registry. - - - `SERVER_ROOT_CA_CERTIFICATE` -- The Secrets Manager ARN of your secret - key containing the root CA certificate (X.509 PEM) used for TLS - encryption with your Confluent schema registry. - - - `OAUTHBEARER_AUTH` -- The Secrets Manager ARN of your secret key - containing the OAuth 2.0 credentials that Lambda uses to acquire an - access token for your Confluent schema registry. For the contents of - the secret, see [Configuring the OAuth - secret](https://docs.aws.amazon.com/lambda/latest/dg/kafka-cluster-auth.html#smaa-auth-oauth-secret). - """ - uri: str | None = ... - """ - The URI of the secret (Secrets Manager secret ARN) to authenticate with - your schema registry. - """ - -class KafkaSchemaRegistryAuthType(UnknownEnumMixin, StrEnum): - BASIC_AUTH = "BASIC_AUTH" - CLIENT_CERTIFICATE_TLS_AUTH = "CLIENT_CERTIFICATE_TLS_AUTH" - SERVER_ROOT_CA_CERTIFICATE = "SERVER_ROOT_CA_CERTIFICATE" - OAUTHBEARER_AUTH = "OAUTHBEARER_AUTH" - -@dataclass(kw_only=True) -class KafkaSchemaRegistryConfig(_SerdeShape): - """Specific configuration settings for a Kafka schema registry.""" - - schema_registry_uri: str | None = ... - """ - The URI for your schema registry. The correct URI format depends on the - type of schema registry you're using. - - - For Glue schema registries, use the ARN of the registry. - - - For Confluent schema registries, use the URL of the registry. - """ - event_record_format: str | None = ... - """ - The record format that Lambda delivers to your function after schema - validation. - - - Choose `JSON` to have Lambda deliver the record to your function as a - standard JSON object. - - - Choose `SOURCE` to have Lambda deliver the record to your function in - its original source format. Lambda removes all schema metadata, such - as the schema ID, before sending the record to your function. - """ - access_configs: list[KafkaSchemaRegistryAccessConfig] | None = ... - """ - An array of access configuration objects that tell Lambda how to - authenticate with your schema registry. - """ - schema_validation_configs: list[KafkaSchemaValidationConfig] | None = ... - """ - An array of schema validation configuration objects, which tell Lambda - the message attributes you want to validate and filter using your schema - registry. - """ - -class KafkaSchemaValidationAttribute(UnknownEnumMixin, StrEnum): - KEY = "KEY" - VALUE = "VALUE" - -@dataclass(kw_only=True) -class KafkaSchemaValidationConfig(_SerdeShape): - """ - Specific schema validation configuration settings that tell Lambda the - message attributes you want to validate and filter using your schema - registry. - """ - - attribute: str | None = ... - """ - The attributes you want your schema registry to validate and filter for. - If you selected `JSON` as the `EventRecordFormat`, Lambda also - deserializes the selected message attributes. - """ - -@dataclass(kw_only=True) -class KMSAccessDeniedException(ServiceError, _SerdeShape): - """ - Lambda couldn't decrypt the environment variables because KMS access - was denied. Check the Lambda function's KMS permissions. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KMSDisabledException(ServiceError, _SerdeShape): - """ - Lambda couldn't decrypt the environment variables because the KMS key - used is disabled. Check the Lambda function's KMS key settings. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KMSInvalidStateException(ServiceError, _SerdeShape): - """ - Lambda couldn't decrypt the environment variables because the state of - the KMS key used is not valid for Decrypt. Check the function's KMS key - settings. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KMSNotFoundException(ServiceError, _SerdeShape): - """ - Lambda couldn't decrypt the environment variables because the KMS key - was not found. Check the function's KMS key settings. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LambdaManagedInstancesCapacityProviderConfig(_SerdeShape): - """ - Configuration for Lambda-managed instances used by the capacity - provider. - """ - - capacity_provider_arn: str - """The Amazon Resource Name (ARN) of the capacity provider.""" - per_execution_environment_max_concurrency: int | None = ... - """ - The maximum number of concurrent execution environments that can run on - each compute instance. - """ - execution_environment_memory_gi_b_per_v_cpu: float | None = ... - """ - The amount of memory in GiB allocated per vCPU for execution - environments. - """ - -class LastUpdateStatus(UnknownEnumMixin, StrEnum): - SUCCESSFUL = "Successful" - FAILED = "Failed" - IN_PROGRESS = "InProgress" - -class LastUpdateStatusReasonCode(UnknownEnumMixin, StrEnum): - ENI_LIMIT_EXCEEDED = "EniLimitExceeded" - INSUFFICIENT_ROLE_PERMISSIONS = "InsufficientRolePermissions" - INVALID_CONFIGURATION = "InvalidConfiguration" - INTERNAL_ERROR = "InternalError" - SUBNET_OUT_OF_IP_ADDRESSES = "SubnetOutOfIPAddresses" - INVALID_SUBNET = "InvalidSubnet" - INVALID_SECURITY_GROUP = "InvalidSecurityGroup" - IMAGE_DELETED = "ImageDeleted" - IMAGE_ACCESS_DENIED = "ImageAccessDenied" - INVALID_IMAGE = "InvalidImage" - KMS_KEY_ACCESS_DENIED = "KMSKeyAccessDenied" - KMS_KEY_NOT_FOUND = "KMSKeyNotFound" - INVALID_STATE_KMS_KEY = "InvalidStateKMSKey" - DISABLED_KMS_KEY = "DisabledKMSKey" - EFSIO_ERROR = "EFSIOError" - EFS_MOUNT_CONNECTIVITY_ERROR = "EFSMountConnectivityError" - EFS_MOUNT_FAILURE = "EFSMountFailure" - EFS_MOUNT_TIMEOUT = "EFSMountTimeout" - INVALID_RUNTIME = "InvalidRuntime" - INVALID_ZIP_FILE_EXCEPTION = "InvalidZipFileException" - FUNCTION_ERROR = "FunctionError" - SERVICE_QUOTA_EXCEEDED_EXCEPTION = "ServiceQuotaExceededException" - VCPU_LIMIT_EXCEEDED = "VcpuLimitExceeded" - CAPACITY_PROVIDER_SCALING_LIMIT_EXCEEDED = "CapacityProviderScalingLimitExceeded" - INSUFFICIENT_CAPACITY = "InsufficientCapacity" - EC2_REQUEST_LIMIT_EXCEEDED = "EC2RequestLimitExceeded" - FUNCTION_ERROR_INIT_TIMEOUT = "FunctionError.InitTimeout" - FUNCTION_ERROR_RUNTIME_INIT_ERROR = "FunctionError.RuntimeInitError" - FUNCTION_ERROR_EXTENSION_INIT_ERROR = "FunctionError.ExtensionInitError" - FUNCTION_ERROR_INVALID_ENTRY_POINT = "FunctionError.InvalidEntryPoint" - FUNCTION_ERROR_INVALID_WORKING_DIRECTORY = "FunctionError.InvalidWorkingDirectory" - FUNCTION_ERROR_PERMISSION_DENIED = "FunctionError.PermissionDenied" - FUNCTION_ERROR_TOO_MANY_EXTENSIONS = "FunctionError.TooManyExtensions" - FUNCTION_ERROR_INIT_RESOURCE_EXHAUSTED = "FunctionError.InitResourceExhausted" - DISALLOWED_BY_VPC_ENCRYPTION_CONTROL = "DisallowedByVpcEncryptionControl" - DEPENDENCY_ERROR = "DependencyError" - -@dataclass(kw_only=True) -class Layer(_SerdeShape): - """ - An [Lambda - layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the function layer.""" - code_size: int = ... - """The size of the layer archive in bytes.""" - signing_profile_version_arn: str | None = ... - """The Amazon Resource Name (ARN) for a signing profile version.""" - signing_job_arn: str | None = ... - """The Amazon Resource Name (ARN) of a signing job.""" - -@dataclass(kw_only=True) -class LayersListItem(_SerdeShape): - """ - Details about an [Lambda - layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - - layer_name: str | None = ... - """The name of the layer.""" - layer_arn: str | None = ... - """The Amazon Resource Name (ARN) of the function layer.""" - latest_matching_version: LayerVersionsListItem | None = ... - """The newest version of the layer.""" - -@dataclass(kw_only=True) -class LayerVersionContentInput(_SerdeShape): - """ - A ZIP archive that contains the contents of an [Lambda - layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - You can specify either an Amazon S3 location, or upload a layer archive - directly. - """ - - s3_bucket: str | None = ... - """The Amazon S3 bucket of the layer archive.""" - s3_key: str | None = ... - """The Amazon S3 key of the layer archive.""" - s3_object_version: str | None = ... - """For versioned objects, the version of the layer archive object to use.""" - s3_object_storage_mode: str | None = ... - """ - Specifies how the layer archive is stored. Valid values: - - - `COPY` (default) -- Uploads a copy of your layer archive to Lambda. - - - `REFERENCE` -- Lambda references the layer archive from the specified - Amazon S3 bucket. - """ - zip_file: bytes | None = ... - """ - The base64-encoded contents of the layer archive. Amazon Web Services - SDK and Amazon Web Services CLI clients handle the encoding for you. - """ - -@dataclass(kw_only=True) -class LayerVersionContentOutput(_SerdeShape): - """ - Details about a version of an [Lambda - layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - - location: str | None = ... - """A link to the layer archive in Amazon S3 that is valid for 10 minutes.""" - code_sha256: str | None = ... - """The SHA-256 hash of the layer archive.""" - code_size: int = ... - """The size of the layer archive in bytes.""" - signing_profile_version_arn: str | None = ... - """The Amazon Resource Name (ARN) for a signing profile version.""" - signing_job_arn: str | None = ... - """The Amazon Resource Name (ARN) of a signing job.""" - resolved_s3_object: ResolvedS3Object | None = ... - """The resolved Amazon S3 object that contains the layer archive.""" - -@dataclass(kw_only=True) -class LayerVersionsListItem(_SerdeShape): - """ - Details about a version of an [Lambda - layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - - layer_version_arn: str | None = ... - """The ARN of the layer version.""" - version: int = ... - """The version number.""" - description: str | None = ... - """The description of the version.""" - created_date: str | None = ... - """ - The date that the version was created, in ISO 8601 format. For example, - `2018-11-27T15:10:45.123+0000`. - """ - compatible_architectures: list[str] | None = ... - """ - A list of compatible [instruction set - architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - """ - compatible_runtimes: list[str] | None = ... - """ - The layer's compatible runtimes. - - The following list includes deprecated runtimes. For more information, - see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - license_info: str | None = ... - """The layer's open-source license.""" - -@dataclass(kw_only=True) -class ListAliasesInput(_SerdeShape): - """Dataclass for ListAliasesInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - function_version: str | None = ... - """ - Specify a function version to only list aliases that invoke that - version. - """ - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """Limit the number of aliases returned.""" - -@dataclass(kw_only=True) -class ListAliasesOutput(_SerdeShape): - """Dataclass for ListAliasesOutput structure.""" - - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - aliases: list[AliasConfiguration] | None = ... - """A list of aliases.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCapacityProvidersInput(_SerdeShape): - """Dataclass for ListCapacityProvidersInput structure.""" - - state: str | None = ... - """Filter capacity providers by their current state.""" - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """The maximum number of capacity providers to return.""" - -@dataclass(kw_only=True) -class ListCapacityProvidersOutput(_SerdeShape): - """Dataclass for ListCapacityProvidersOutput structure.""" - - capacity_providers: list[CapacityProvider] - """A list of capacity providers in your account.""" - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListCodeSigningConfigsInput(_SerdeShape): - """Dataclass for ListCodeSigningConfigsInput structure.""" - - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """Maximum number of items to return.""" - -@dataclass(kw_only=True) -class ListCodeSigningConfigsOutput(_SerdeShape): - """Dataclass for ListCodeSigningConfigsOutput structure.""" - - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - code_signing_configs: list[CodeSigningConfig] | None = ... - """The code signing configurations""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDurableExecutionsByFunctionInput(_SerdeShape): - """Dataclass for ListDurableExecutionsByFunctionInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. You can specify a function name, - a partial ARN, or a full ARN. - """ - qualifier: str | None = ... - """ - The function version to filter executions by. If you don't specify a - qualifier, this operation returns executions across all versions of the - Lambda function. - """ - durable_execution_name: str | None = ... - """ - Filter executions by name. Only executions with names that matches this - string are returned. - """ - statuses: list[str] | None = ... - """ - Filter executions by status. Valid values: RUNNING, SUCCEEDED, FAILED, - TIMED_OUT, STOPPED. - """ - started_after: datetime | None = ... - """Filter executions that started after this timestamp (ISO 8601 format).""" - started_before: datetime | None = ... - """Filter executions that started before this timestamp (ISO 8601 format).""" - reverse_order: bool | None = ... - """ - Set to true to return results in chronological order (oldest first). - Default is false. - """ - marker: str | None = ... - """Pagination token from a previous request to continue retrieving results.""" - max_items: int = ... - """Maximum number of executions to return (1-1000). Default is 100.""" - -@dataclass(kw_only=True) -class ListDurableExecutionsByFunctionOutput(_SerdeShape): - """ - The response from the ListDurableExecutionsByFunction operation, - containing a list of durable executions and pagination information. - """ - - durable_executions: list[Execution] | None = ... - """List of durable execution summaries matching the filter criteria.""" - next_marker: str | None = ... - """ - Pagination token for retrieving additional results. Present only if - there are more results available. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListEventSourceMappingsInput(_SerdeShape): - """Dataclass for ListEventSourceMappingsInput structure.""" - - event_source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the event source. - - - **Amazon Kinesis** -- The ARN of the data stream or a stream consumer. - - - **Amazon DynamoDB Streams** -- The ARN of the stream. - - - **Amazon Simple Queue Service** -- The ARN of the queue. - - - **Amazon Managed Streaming for Apache Kafka** -- The ARN of the - cluster or the ARN of the VPC connection (for [cross-account event - source - mappings](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc)). - - - **Amazon MQ** -- The ARN of the broker. - - - **Amazon DocumentDB** -- The ARN of the DocumentDB change stream. - """ - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `MyFunction`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Version or Alias ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`. - - - **Partial ARN** -- `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it's limited to 64 characters in length. - """ - marker: str | None = ... - """A pagination token returned by a previous call.""" - max_items: int | None = ... - """ - The maximum number of event source mappings to return. Note that - ListEventSourceMappings returns a maximum of 100 items in each response, - even if you set the number higher. - """ - -@dataclass(kw_only=True) -class ListEventSourceMappingsOutput(_SerdeShape): - """Dataclass for ListEventSourceMappingsOutput structure.""" - - next_marker: str | None = ... - """ - A pagination token that's returned when the response doesn't contain - all event source mappings. - """ - event_source_mappings: list[EventSourceMappingConfiguration] | None = ... - """A list of event source mappings.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFunctionEventInvokeConfigsInput(_SerdeShape): - """Dataclass for ListFunctionEventInvokeConfigsInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `my-function`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** - `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """The maximum number of configurations to return.""" - -@dataclass(kw_only=True) -class ListFunctionEventInvokeConfigsOutput(_SerdeShape): - """Dataclass for ListFunctionEventInvokeConfigsOutput structure.""" - - function_event_invoke_configs: list[FunctionEventInvokeConfig] | None = ... - """A list of configurations.""" - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFunctionsByCodeSigningConfigInput(_SerdeShape): - """Dataclass for ListFunctionsByCodeSigningConfigInput structure.""" - - code_signing_config_arn: str | None = ... - """The The Amazon Resource Name (ARN) of the code signing configuration.""" - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """Maximum number of items to return.""" - -@dataclass(kw_only=True) -class ListFunctionsByCodeSigningConfigOutput(_SerdeShape): - """Dataclass for ListFunctionsByCodeSigningConfigOutput structure.""" - - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - function_arns: list[str] | None = ... - """The function ARNs.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFunctionsInput(_SerdeShape): - """Dataclass for ListFunctionsInput structure.""" - - master_region: str | None = ... - """ - For Lambda@Edge functions, the Amazon Web Services Region of the master - function. For example, `us-east-1` filters the list of functions to - include only Lambda@Edge functions replicated from a master function in - US East (N. Virginia). If specified, you must set `FunctionVersion` to - `ALL`. - """ - function_version: str | None = ... - """ - Set to `ALL` to include entries for all published versions of each - function. - """ - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """ - The maximum number of functions to return in the response. Note that - `ListFunctions` returns a maximum of 50 items in each response, even if - you set the number higher. - """ - -@dataclass(kw_only=True) -class ListFunctionsOutput(_SerdeShape): - """A list of Lambda functions.""" - - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - functions: list[FunctionConfiguration] | None = ... - """A list of Lambda functions.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFunctionUrlConfigsInput(_SerdeShape): - """Dataclass for ListFunctionUrlConfigsInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """ - The maximum number of function URLs to return in the response. Note that - `ListFunctionUrlConfigs` returns a maximum of 50 items in each response, - even if you set the number higher. - """ - -@dataclass(kw_only=True) -class ListFunctionUrlConfigsOutput(_SerdeShape): - """Dataclass for ListFunctionUrlConfigsOutput structure.""" - - function_url_configs: list[FunctionUrlConfig] - """A list of function URL configurations.""" - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListFunctionVersionsByCapacityProviderInput(_SerdeShape): - """Dataclass for ListFunctionVersionsByCapacityProviderInput structure.""" - - capacity_provider_name: str | None = ... - """The name of the capacity provider to list function versions for.""" - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """The maximum number of function versions to return in the response.""" - -@dataclass(kw_only=True) -class ListFunctionVersionsByCapacityProviderOutput(_SerdeShape): - """Dataclass for ListFunctionVersionsByCapacityProviderOutput structure.""" - - capacity_provider_arn: str - """The Amazon Resource Name (ARN) of the capacity provider.""" - function_versions: list[FunctionVersionsByCapacityProviderListItem] - """A list of function versions that use the specified capacity provider.""" - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListLayersInput(_SerdeShape): - """Dataclass for ListLayersInput structure.""" - - compatible_architecture: str | None = ... - """ - The compatible [instruction set - architecture](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - """ - compatible_runtime: str | None = ... - """ - A runtime identifier. - - The following list includes deprecated runtimes. For more information, - see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - marker: str | None = ... - """A pagination token returned by a previous call.""" - max_items: int | None = ... - """The maximum number of layers to return.""" - -@dataclass(kw_only=True) -class ListLayersOutput(_SerdeShape): - """Dataclass for ListLayersOutput structure.""" - - next_marker: str | None = ... - """ - A pagination token returned when the response doesn't contain all - layers. - """ - layers: list[LayersListItem] | None = ... - """A list of function layers.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListLayerVersionsInput(_SerdeShape): - """Dataclass for ListLayerVersionsInput structure.""" - - compatible_architecture: str | None = ... - """ - The compatible [instruction set - architecture](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - """ - compatible_runtime: str | None = ... - """ - A runtime identifier. - - The following list includes deprecated runtimes. For more information, - see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - layer_name: str | None = ... - """The name or Amazon Resource Name (ARN) of the layer.""" - marker: str | None = ... - """A pagination token returned by a previous call.""" - max_items: int | None = ... - """The maximum number of versions to return.""" - -@dataclass(kw_only=True) -class ListLayerVersionsOutput(_SerdeShape): - """Dataclass for ListLayerVersionsOutput structure.""" - - next_marker: str | None = ... - """ - A pagination token returned when the response doesn't contain all - versions. - """ - layer_versions: list[LayerVersionsListItem] | None = ... - """A list of versions.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListProvisionedConcurrencyConfigsInput(_SerdeShape): - """Dataclass for ListProvisionedConcurrencyConfigsInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """Specify a number to limit the number of configurations returned.""" - -@dataclass(kw_only=True) -class ListProvisionedConcurrencyConfigsOutput(_SerdeShape): - """Dataclass for ListProvisionedConcurrencyConfigsOutput structure.""" - - provisioned_concurrency_configs: ( - list[ProvisionedConcurrencyConfigListItem] | None - ) = ... - """A list of provisioned concurrency configurations.""" - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsInput(_SerdeShape): - """Dataclass for ListTagsInput structure.""" - - resource: str | None = ... - """ - The resource's Amazon Resource Name (ARN). Note: Lambda does not - support adding tags to function aliases or versions. - """ - -@dataclass(kw_only=True) -class ListTagsOutput(_SerdeShape): - """Dataclass for ListTagsOutput structure.""" - - tags: dict[str, str] | None = ... - """The function's tags.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListVersionsByFunctionInput(_SerdeShape): - """Dataclass for ListVersionsByFunctionInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - marker: str | None = ... - """ - Specify the pagination token that's returned by a previous request to - retrieve the next page of results. - """ - max_items: int | None = ... - """ - The maximum number of versions to return. Note that - `ListVersionsByFunction` returns a maximum of 50 items in each response, - even if you set the number higher. - """ - -@dataclass(kw_only=True) -class ListVersionsByFunctionOutput(_SerdeShape): - """Dataclass for ListVersionsByFunctionOutput structure.""" - - next_marker: str | None = ... - """The pagination token that's included if more results are available.""" - versions: list[FunctionConfiguration] | None = ... - """A list of Lambda function versions.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class LogFormat(UnknownEnumMixin, StrEnum): - JSON = "JSON" - TEXT = "Text" - -@dataclass(kw_only=True) -class LoggingConfig(_SerdeShape): - """The function's Amazon CloudWatch Logs configuration settings.""" - - log_format: str | None = ... - """ - The format in which Lambda sends your function's application and system - logs to CloudWatch. Select between plain text and structured JSON. - """ - application_log_level: str | None = ... - """ - Set this property to filter the application logs for your function that - Lambda sends to CloudWatch. Lambda only sends application logs at the - selected level of detail and lower, where `TRACE` is the highest level - and `FATAL` is the lowest. - """ - system_log_level: str | None = ... - """ - Set this property to filter the system logs for your function that - Lambda sends to CloudWatch. Lambda only sends system logs at the - selected level of detail and lower, where `DEBUG` is the highest level - and `WARN` is the lowest. - """ - log_group: str | None = ... - """ - The name of the Amazon CloudWatch log group the function sends logs to. - By default, Lambda functions send logs to a default log group named - `/aws/lambda/`. To use a different log group, enter an - existing log group or enter a new log group name. - """ - -class LogType(UnknownEnumMixin, StrEnum): - NONE = "None" - TAIL = "Tail" - -@dataclass(kw_only=True) -class ModeNotSupportedException(ServiceError, _SerdeShape): - """ - The Lambda function doesn't support the invocation mode requested. For - example, calling `Invoke` with `InvocationType=RequestResponse` on a - function configured for asynchronous-only invocation, or vice versa. For - more information about invocation types, see [Invoking Lambda - functions](https://docs.aws.amazon.com/lambda/latest/dg/invocation-options.html). - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoPublishedVersionException(ServiceError, _SerdeShape): - """The function has no published versions available.""" - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OnFailure(_SerdeShape): - """ - A destination for events that failed processing. For more information, - see [Adding a - destination](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations). - """ - - destination: str | None = ... - """ - The Amazon Resource Name (ARN) of the destination resource. - - To retain records of failed invocations from - [Kinesis](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html), - [DynamoDB](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html), - [self-managed Apache - Kafka](https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html), - or [Amazon - MSK](https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html), - you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 - bucket, or Kafka topic as the destination. - - Note: - Amazon SNS destinations have a message size limit of 256 KB. If the - combined size of the function request and response payload exceeds the - limit, Lambda will drop the payload when sending `OnFailure` event to - the destination. For details on this behavior, refer to [Retaining - records of asynchronous - invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html). - - To retain records of failed invocations from - [Kinesis](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html), - [DynamoDB](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html), - [self-managed - Kafka](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination) - or [Amazon - MSK](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination), - you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 - bucket as the destination. - """ - -@dataclass(kw_only=True) -class OnSuccess(_SerdeShape): - """ - A destination for events that were processed successfully. - - To retain records of successful [asynchronous - invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations), - you can configure an Amazon SNS topic, Amazon SQS queue, Lambda - function, or Amazon EventBridge event bus as the destination. - - Note: - `OnSuccess` is not supported in `CreateEventSourceMapping` or - `UpdateEventSourceMapping` requests. - """ - - destination: str | None = ... - """ - The Amazon Resource Name (ARN) of the destination resource. - - Note: - Amazon SNS destinations have a message size limit of 256 KB. If the - combined size of the function request and response payload exceeds the - limit, Lambda will drop the payload when sending `OnFailure` event to - the destination. For details on this behavior, refer to [Retaining - records of asynchronous - invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html). - """ - -@dataclass(kw_only=True) -class Operation(_SerdeShape): - """Information about an operation within a durable execution.""" - - id: str - """The unique identifier for this operation.""" - parent_id: str | None = ... - """ - The unique identifier of the parent operation, if this operation is - running within a child context. - """ - name: str | None = ... - """The customer-provided name for this operation.""" - type: str - """The type of operation.""" - sub_type: str | None = ... - """The subtype of the operation, providing additional categorization.""" - start_timestamp: datetime - """ - The date and time when the operation started, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - end_timestamp: datetime | None = ... - """ - The date and time when the operation ended, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - status: str - """The current status of the operation.""" - execution_details: ExecutionDetails | None = ... - """Details about the execution, if this operation represents an execution.""" - context_details: ContextDetails | None = ... - """Details about the context, if this operation represents a context.""" - step_details: StepDetails | None = ... - """Details about the step, if this operation represents a step.""" - wait_details: WaitDetails | None = ... - """Details about the wait operation, if this operation represents a wait.""" - callback_details: CallbackDetails | None = ... - """ - Contains details about a callback operation in a durable execution, - including the callback token and timeout configuration. - """ - chained_invoke_details: ChainedInvokeDetails | None = ... - """ - Contains details about a chained function invocation in a durable - execution, including the target function and invocation parameters. - """ - -class OperationAction(UnknownEnumMixin, StrEnum): - START = "START" - SUCCEED = "SUCCEED" - FAIL = "FAIL" - RETRY = "RETRY" - CANCEL = "CANCEL" - -class OperationStatus(UnknownEnumMixin, StrEnum): - STARTED = "STARTED" - PENDING = "PENDING" - READY = "READY" - SUCCEEDED = "SUCCEEDED" - FAILED = "FAILED" - CANCELLED = "CANCELLED" - TIMED_OUT = "TIMED_OUT" - STOPPED = "STOPPED" - -class OperationType(UnknownEnumMixin, StrEnum): - EXECUTION = "EXECUTION" - CONTEXT = "CONTEXT" - STEP = "STEP" - WAIT = "WAIT" - CALLBACK = "CALLBACK" - CHAINED_INVOKE = "CHAINED_INVOKE" - -@dataclass(kw_only=True) -class OperationUpdate(_SerdeShape): - """An update to be applied to an operation during checkpointing.""" - - id: str - """The unique identifier for this operation.""" - parent_id: str | None = ... - """ - The unique identifier of the parent operation, if this operation is - running within a child context. - """ - name: str | None = ... - """The customer-provided name for this operation.""" - type: str - """The type of operation to update.""" - sub_type: str | None = ... - """The subtype of the operation, providing additional categorization.""" - action: str - """The action to take on the operation.""" - payload: str | None = ... - """ - The payload for successful operations. The maximum payload size is 6 MB - for synchronous `EXECUTION` operations (RequestResponse invocationType), - and 1 MB for asynchronous `EXECUTION` (Event invocationType), - `CHAINED_INVOKE`, `CONTEXT`, `STEP`, `WAIT`, and `CALLBACK` operations. - """ - error: ErrorObject | None = ... - """ - The error information for failed operations. The combined size of all - error fields is limited to 1 MB. - """ - context_options: ContextOptions | None = ... - """Options for context operations.""" - step_options: StepOptions | None = ... - """Options for step operations.""" - wait_options: WaitOptions | None = ... - """Options for wait operations.""" - callback_options: CallbackOptions | None = ... - """ - Configuration options for callback operations in durable executions, - including timeout settings and retry behavior. - """ - chained_invoke_options: ChainedInvokeOptions | None = ... - """ - Configuration options for chained function invocations in durable - executions, including retry settings and timeout configuration. - """ - -class PackageType(UnknownEnumMixin, StrEnum): - ZIP = "Zip" - IMAGE = "Image" - -@dataclass(kw_only=True) -class PolicyLengthExceededException(ServiceError, _SerdeShape): - """ - The permissions policy for the resource is too large. For more - information, see [Lambda - quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PreconditionFailedException(ServiceError, _SerdeShape): - """ - The RevisionId provided does not match the latest RevisionId for the - Lambda function or alias. - - - **For AddPermission and RemovePermission API operations:** Call - `GetPolicy` to retrieve the latest RevisionId for your resource. - - - **For all other API operations:** Call `GetFunction` or `GetAlias` to - retrieve the latest RevisionId for your resource. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PropagateTags(_SerdeShape): - """ - Configuration for tag propagation to managed resources launched by the - capacity provider. - """ - - mode: str | None = ... - """ - The tag propagation mode. Set to `Explicit` to propagate the tags - specified in `ExplicitTags` to managed resources. Set to `None` to - disable tag propagation. - """ - explicit_tags: dict[str, str] | None = ... - """ - A list of tags to apply to managed resources when `Mode` is set to - `Explicit`. You can specify up to 40 tags. - """ - -class PropagateTagsMode(UnknownEnumMixin, StrEnum): - NONE = "None" - """Tag propagation is disabled. No tags are applied to managed resources.""" - EXPLICIT = "Explicit" - """ - Tags specified in `ExplicitTags` are applied to managed resources at - launch. - """ - -@dataclass(kw_only=True) -class ProvisionedConcurrencyConfigListItem(_SerdeShape): - """ - Details about the provisioned concurrency configuration for a function - alias or version. - """ - - function_arn: str | None = ... - """The Amazon Resource Name (ARN) of the alias or version.""" - requested_provisioned_concurrent_executions: int | None = ... - """The amount of provisioned concurrency requested.""" - available_provisioned_concurrent_executions: int | None = ... - """The amount of provisioned concurrency available.""" - allocated_provisioned_concurrent_executions: int | None = ... - """ - The amount of provisioned concurrency allocated. When a weighted alias - is used during linear and canary deployments, this value fluctuates - depending on the amount of concurrency that is provisioned for the - function versions. - """ - status: str | None = ... - """The status of the allocation process.""" - status_reason: str | None = ... - """ - For failed allocations, the reason that provisioned concurrency could - not be allocated. - """ - last_modified: str | None = ... - """ - The date and time that a user last updated the configuration, in [ISO - 8601 format](https://www.iso.org/iso-8601-date-and-time-format.html). - """ - -@dataclass(kw_only=True) -class ProvisionedConcurrencyConfigNotFoundException(ServiceError, _SerdeShape): - """The specified configuration does not exist.""" - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ProvisionedConcurrencyStatusEnum(UnknownEnumMixin, StrEnum): - IN_PROGRESS = "IN_PROGRESS" - READY = "READY" - FAILED = "FAILED" - -@dataclass(kw_only=True) -class ProvisionedPollerConfig(_SerdeShape): - """ - The [provisioned - mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode) - configuration for the event source. Use Provisioned Mode to customize - the minimum and maximum number of event pollers for your event source. - """ - - minimum_pollers: int | None = ... - """ - The minimum number of event pollers this event source can scale down to. - For Amazon SQS events source mappings, default is 2, and minimum 2 - required. For Amazon MSK and self-managed Apache Kafka event source - mappings, default is 1. - """ - maximum_pollers: int | None = ... - """ - The maximum number of event pollers this event source can scale up to. - For Amazon SQS event source mappings, the accepted range is between 2 - and 10,000, with a default of 200. For Amazon MSK and self-managed - Apache Kafka event source mappings, the accepted range is between 1 and - 2,000, with a default of 200. - """ - poller_group_name: str | None = ... - """ - (Amazon MSK and self-managed Apache Kafka) The name of the provisioned - poller group. Use this option to group multiple ESMs within the event - source's VPC to share Event Poller Unit (EPU) capacity. You can use - this option to optimize Provisioned mode costs for your ESMs. You can - group up to 100 ESMs per poller group and aggregate maximum pollers - across all ESMs in a group cannot exceed 2000. - """ - -@dataclass(kw_only=True) -class PublicPolicyException(ServiceError, _SerdeShape): - """ - The resource-based policy you tried to add to the Lambda resource would - grant public access to it, which isn't allowed. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PublishLayerVersionInput(_SerdeShape): - """Dataclass for PublishLayerVersionInput structure.""" - - layer_name: str | None = ... - """The name or Amazon Resource Name (ARN) of the layer.""" - description: str | None = ... - """The description of the version.""" - content: LayerVersionContentInput | None = ... - """The function layer archive.""" - compatible_architectures: list[str] | None = ... - """ - A list of compatible [instruction set - architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - """ - compatible_runtimes: list[str] | None = ... - """ - A list of compatible [function - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). - Used for filtering with ListLayers and ListLayerVersions. - - The following list includes deprecated runtimes. For more information, - see [Runtime deprecation - policy](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). - """ - license_info: str | None = ... - """ - The layer's software license. It can be any of the following: - - - An [SPDX license identifier](https://spdx.org/licenses/). For example, - `MIT`. - - - The URL of a license hosted on the internet. For example, - `https://opensource.org/licenses/MIT`. - - - The full text of the license. - """ - -@dataclass(kw_only=True) -class PublishLayerVersionOutput(_SerdeShape): - """Dataclass for PublishLayerVersionOutput structure.""" - - content: LayerVersionContentOutput | None = ... - """Details about the layer version.""" - layer_arn: str | None = ... - """The ARN of the layer.""" - layer_version_arn: str | None = ... - """The ARN of the layer version.""" - description: str | None = ... - """The description of the version.""" - created_date: str | None = ... - """ - The date that the layer version was created, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - version: int = ... - """The version number.""" - compatible_architectures: list[str] | None = ... - """ - A list of compatible [instruction set - architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - """ - compatible_runtimes: list[str] | None = ... - """ - The layer's compatible runtimes. - - The following list includes deprecated runtimes. For more information, - see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - license_info: str | None = ... - """The layer's software license.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PublishVersionInput(_SerdeShape): - """Dataclass for PublishVersionInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - code_sha256: str | None = ... - """ - Only publish a version if the hash value matches the value that's - specified. Use this option to avoid publishing a version if the function - code has changed since you last updated it. You can get the hash for the - version that you uploaded from the output of UpdateFunctionCode. - """ - description: str | None = ... - """ - A description for the version to override the description in the - function configuration. - """ - revision_id: str | None = ... - """ - Only update the function if the revision ID matches the ID that's - specified. Use this option to avoid publishing a version if the function - configuration has changed since you last updated it. - """ - publish_to: str | None = ... - """Specifies where to publish the function version or configuration.""" - -@dataclass(kw_only=True) -class PublishVersionOutput(_SerdeShape): - """Details about a function's configuration.""" - - function_name: str | None = ... - """The name of the function.""" - function_arn: str | None = ... - """The function's Amazon Resource Name (ARN).""" - runtime: str | None = ... - """ - The identifier of the function's - [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). - Runtime is required if the deployment package is a .zip file archive. - Specifying a runtime results in an error if you're deploying a function - using a container image. - - The following list includes deprecated runtimes. Lambda blocks creating - new functions and updating existing functions shortly after each runtime - is deprecated. For more information, see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - role: str | None = ... - """The function's execution role.""" - handler: str | None = ... - """The function that Lambda calls to begin running your function.""" - code_size: int = ... - """The size of the function's deployment package, in bytes.""" - description: str | None = ... - """The function's description.""" - timeout: int | None = ... - """ - The amount of time in seconds that Lambda allows a function to run - before stopping it. - """ - memory_size: int | None = ... - """The amount of memory available to the function at runtime.""" - last_modified: str | None = ... - """ - The date and time that the function was last updated, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - code_sha256: str | None = ... - """The SHA256 hash of the function's deployment package.""" - version: str | None = ... - """The version of the Lambda function.""" - vpc_config: VpcConfigResponse | None = ... - """The function's networking configuration.""" - dead_letter_config: DeadLetterConfig | None = ... - """The function's dead letter queue.""" - environment: EnvironmentResponse | None = ... - """ - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). - Omitted from CloudTrail logs. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt the following resources: - - - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). - - - The function's [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) - snapshots. - - - When used with `SourceKMSKeyArn`, the unzipped version of the .zip - deployment package that's used for function invocations. For more - information, see [Specifying a customer managed key for - Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). - - - The optimized version of the container image that's used for function - invocations. Note that this is not the same key that's used to - protect your container image in the Amazon Elastic Container Registry - (Amazon ECR). For more information, see [Function - lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). - - If you don't provide a customer managed key, Lambda uses an [Amazon Web - Services owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) - or an [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). - """ - tracing_config: TracingConfigResponse | None = ... - """The function's X-Ray tracing configuration.""" - master_arn: str | None = ... - """For Lambda@Edge functions, the ARN of the main function.""" - revision_id: str | None = ... - """The latest updated revision of the function or alias.""" - layers: list[Layer] | None = ... - """ - The function's - [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - state: str | None = ... - """ - The current state of the function. When the state is `Inactive`, you can - reactivate the function by invoking it. - """ - state_reason: str | None = ... - """The reason for the function's current state.""" - state_reason_code: str | None = ... - """ - The reason code for the function's current state. When the code is - `Creating`, you can't invoke or modify the function. - """ - last_update_status: str | None = ... - """ - The status of the last update that was performed on the function. This - is first set to `Successful` after function creation completes. - """ - last_update_status_reason: str | None = ... - """The reason for the last update that was performed on the function.""" - last_update_status_reason_code: str | None = ... - """The reason code for the last update that was performed on the function.""" - file_system_configs: list[FileSystemConfig] | None = ... - """ - Connection settings for an [Amazon EFS file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) - or an [Amazon S3 file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). - """ - signing_profile_version_arn: str | None = ... - """The ARN of the signing profile version.""" - signing_job_arn: str | None = ... - """The ARN of the signing job.""" - package_type: str | None = ... - """ - The type of deployment package. Set to `Image` for container image and - set `Zip` for .zip file archive. - """ - image_config_response: ImageConfigResponse | None = ... - """The function's image configuration values.""" - architectures: list[str] | None = ... - """ - The instruction set architecture that the function supports. - Architecture is a string array with one of the valid values. The default - architecture value is `x86_64`. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The size of the function's `/tmp` directory in MB. The default value is - 512, but can be any whole number between 512 and 10,240 MB. For more - information, see [Configuring ephemeral storage - (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). - """ - snap_start: SnapStartResponse | None = ... - """ - Set `ApplyOn` to `PublishedVersions` to create a snapshot of the - initialized execution environment when you publish a function version. - For more information, see [Improving startup performance with Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). - """ - runtime_version_config: RuntimeVersionConfig | None = ... - """The ARN of the runtime and any errors that occured.""" - logging_config: LoggingConfig | None = ... - """The function's Amazon CloudWatch Logs configuration settings.""" - tenancy_config: TenancyConfig | None = ... - """ - The function's tenant isolation configuration settings. Determines - whether the Lambda function runs on a shared or dedicated infrastructure - per unique tenant. - """ - capacity_provider_config: CapacityProviderConfig | None = ... - """ - Configuration for the capacity provider that manages compute resources - for Lambda functions. - """ - config_sha256: str | None = ... - """The SHA256 hash of the function configuration.""" - durable_config: DurableConfig | None = ... - """ - The function's durable execution configuration settings, if the - function is configured for durability. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutFunctionCodeSigningConfigInput(_SerdeShape): - """Dataclass for PutFunctionCodeSigningConfigInput structure.""" - - code_signing_config_arn: str | None = ... - """The The Amazon Resource Name (ARN) of the code signing configuration.""" - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - -@dataclass(kw_only=True) -class PutFunctionCodeSigningConfigOutput(_SerdeShape): - """Dataclass for PutFunctionCodeSigningConfigOutput structure.""" - - code_signing_config_arn: str - """The The Amazon Resource Name (ARN) of the code signing configuration.""" - function_name: str - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutFunctionConcurrencyInput(_SerdeShape): - """Dataclass for PutFunctionConcurrencyInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - reserved_concurrent_executions: int | None = ... - """The number of simultaneous executions to reserve for the function.""" - -@dataclass(kw_only=True) -class PutFunctionConcurrencyOutput(_SerdeShape): - """Dataclass for PutFunctionConcurrencyOutput structure.""" - - reserved_concurrent_executions: int | None = ... - """ - The number of concurrent executions that are reserved for this function. - For more information, see [Managing Lambda reserved - concurrency](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutFunctionEventInvokeConfigInput(_SerdeShape): - """Dataclass for PutFunctionEventInvokeConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** - `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** - `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """A version number or alias name.""" - maximum_retry_attempts: int | None = ... - """The maximum number of times to retry when the function returns an error.""" - maximum_event_age_in_seconds: int | None = ... - """ - The maximum age of a request that Lambda sends to a function for - processing. - """ - destination_config: DestinationConfig | None = ... - """ - A destination for events after they have been sent to a function for - processing. - - **Destinations** - - - **Function** - The Amazon Resource Name (ARN) of a Lambda function. - - - **Queue** - The ARN of a standard SQS queue. - - - **Bucket** - The ARN of an Amazon S3 bucket. - - - **Topic** - The ARN of a standard SNS topic. - - - **Event Bus** - The ARN of an Amazon EventBridge event bus. - - Note: - S3 buckets are supported only for on-failure destinations. To retain - records of successful invocations, use another destination type. - """ - -@dataclass(kw_only=True) -class PutFunctionEventInvokeConfigOutput(_SerdeShape): - """Dataclass for PutFunctionEventInvokeConfigOutput structure.""" - - last_modified: datetime | None = ... - """The date and time that the configuration was last updated.""" - function_arn: str | None = ... - """The Amazon Resource Name (ARN) of the function.""" - maximum_retry_attempts: int | None = ... - """The maximum number of times to retry when the function returns an error.""" - maximum_event_age_in_seconds: int | None = ... - """ - The maximum age of a request that Lambda sends to a function for - processing. - """ - destination_config: DestinationConfig | None = ... - """ - A destination for events after they have been sent to a function for - processing. - - **Destinations** - - - **Function** - The Amazon Resource Name (ARN) of a Lambda function. - - - **Queue** - The ARN of a standard SQS queue. - - - **Bucket** - The ARN of an Amazon S3 bucket. - - - **Topic** - The ARN of a standard SNS topic. - - - **Event Bus** - The ARN of an Amazon EventBridge event bus. - - Note: - S3 buckets are supported only for on-failure destinations. To retain - records of successful invocations, use another destination type. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutFunctionRecursionConfigInput(_SerdeShape): - """Dataclass for PutFunctionRecursionConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - recursive_loop: str | None = ... - """ - If you set your function's recursive loop detection configuration to - `Allow`, Lambda doesn't take any action when it detects your function - being invoked as part of a recursive loop. We recommend that you only - use this setting if your design intentionally uses a Lambda function to - write data back to the same Amazon Web Services resource that invokes - it. - - If you set your function's recursive loop detection configuration to - `Terminate`, Lambda stops your function being invoked and notifies you - when it detects your function being invoked as part of a recursive loop. - - By default, Lambda sets your function's configuration to `Terminate`. - - Warning: - If your design intentionally uses a Lambda function to write data back - to the same Amazon Web Services resource that invokes the function, then - use caution and implement suitable guard rails to prevent unexpected - charges being billed to your Amazon Web Services account. To learn more - about best practices for using recursive invocation patterns, see - [Recursive patterns that cause run-away Lambda - functions](https://serverlessland.com/content/service/lambda/guides/aws-lambda-operator-guide/recursive-runaway) - in Serverless Land. - """ - -@dataclass(kw_only=True) -class PutFunctionRecursionConfigOutput(_SerdeShape): - """Dataclass for PutFunctionRecursionConfigOutput structure.""" - - recursive_loop: str | None = ... - """ - The status of your function's recursive loop detection configuration. - - When this value is set to `Allow`and Lambda detects your function being - invoked as part of a recursive loop, it doesn't take any action. - - When this value is set to `Terminate` and Lambda detects your function - being invoked as part of a recursive loop, it stops your function being - invoked and notifies you. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutFunctionScalingConfigInput(_SerdeShape): - """Dataclass for PutFunctionScalingConfigInput structure.""" - - function_name: str | None = ... - """The name or ARN of the Lambda function.""" - qualifier: str | None = ... - """ - Specify a version or alias to set the scaling configuration for a - published version of the function. - """ - function_scaling_config: FunctionScalingConfig | None = ... - """ - The scaling configuration to apply to the function, including minimum - and maximum execution environment limits. - """ - -@dataclass(kw_only=True) -class PutFunctionScalingConfigOutput(_SerdeShape): - """Dataclass for PutFunctionScalingConfigOutput structure.""" - - function_state: str | None = ... - """ - The current state of the function after applying the scaling - configuration. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutProvisionedConcurrencyConfigInput(_SerdeShape): - """Dataclass for PutProvisionedConcurrencyConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """The version number or alias name.""" - provisioned_concurrent_executions: int | None = ... - """ - The amount of provisioned concurrency to allocate for the version or - alias. - """ - -@dataclass(kw_only=True) -class PutProvisionedConcurrencyConfigOutput(_SerdeShape): - """Dataclass for PutProvisionedConcurrencyConfigOutput structure.""" - - requested_provisioned_concurrent_executions: int | None = ... - """The amount of provisioned concurrency requested.""" - allocated_provisioned_concurrent_executions: int | None = ... - """ - The amount of provisioned concurrency allocated. When a weighted alias - is used during linear and canary deployments, this value fluctuates - depending on the amount of concurrency that is provisioned for the - function versions. - """ - available_provisioned_concurrent_executions: int | None = ... - """The amount of provisioned concurrency available.""" - status: str | None = ... - """The status of the allocation process.""" - status_reason: str | None = ... - """ - For failed allocations, the reason that provisioned concurrency could - not be allocated. - """ - last_modified: str | None = ... - """ - The date and time that a user last updated the configuration, in [ISO - 8601 format](https://www.iso.org/iso-8601-date-and-time-format.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyInput(_SerdeShape): - """Dataclass for PutResourcePolicyInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda resource you want to add - the policy to. You can use a qualified or an unqualified ARN. The value - must be a complete ARN, and the operation does not accept wildcard - characters. - """ - policy: str | None = ... - """ - The policy document you want to add to your Lambda resource. This is - formatted as a JSON string. - - For more information, see [Working with resource-based policies in - Lambda](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html) - in the *Lambda Developer Guide*. - """ - revision_id: str | None = ... - """ - The revision ID that the existing policy must match for the replacement - to proceed. If the revision ID doesn't match, the operation fails with - a `PreconditionFailedException` error. To retrieve the current revision - ID, use the GetResourcePolicy operation. - """ - -@dataclass(kw_only=True) -class PutResourcePolicyOutput(_SerdeShape): - """Dataclass for PutResourcePolicyOutput structure.""" - - policy: str | None = ... - """The resource-based policy that Lambda adds to the resource.""" - revision_id: str | None = ... - """The revision ID of the policy that Lambda adds to your Lambda resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutRuntimeManagementConfigInput(_SerdeShape): - """Dataclass for PutRuntimeManagementConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """ - Specify a version of the function. This can be `$LATEST` or a published - version number. If no value is specified, the configuration for the - `$LATEST` version is returned. - """ - update_runtime_on: str | None = ... - """ - Specify the runtime update mode. - - - **Auto (default)** - Automatically update to the most recent and - secure runtime version using a [Two-phase runtime version - rollout](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-two-phase). - This is the best choice for most customers to ensure they always - benefit from runtime updates. - - - **Function update** - Lambda updates the runtime of your function to - the most recent and secure runtime version when you update your - function. This approach synchronizes runtime updates with function - deployments, giving you control over when runtime updates are applied - and allowing you to detect and mitigate rare runtime update - incompatibilities early. When using this setting, you need to - regularly update your functions to keep their runtime up-to-date. - - - **Manual** - You specify a runtime version in your function - configuration. The function will use this runtime version - indefinitely. In the rare case where a new runtime version is - incompatible with an existing function, this allows you to roll back - your function to an earlier runtime version. For more information, see - [Roll back a runtime - version](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-rollback). - """ - runtime_version_arn: str | None = ... - """ - The ARN of the runtime version you want the function to use. - - Note: - This is only required if you're using the **Manual** runtime update - mode. - """ - -@dataclass(kw_only=True) -class PutRuntimeManagementConfigOutput(_SerdeShape): - """Dataclass for PutRuntimeManagementConfigOutput structure.""" - - update_runtime_on: str - """The runtime update mode.""" - function_arn: str - """The ARN of the function""" - runtime_version_arn: str | None = ... - """ - The ARN of the runtime the function is configured to use. If the runtime - update mode is **manual**, the ARN is returned, otherwise `null` is - returned. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RecursiveInvocationException(ServiceError, _SerdeShape): - """ - Lambda has detected your function being invoked in a recursive loop with - other Amazon Web Services resources and stopped your function's - invocation. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class RecursiveLoop(UnknownEnumMixin, StrEnum): - ALLOW = "Allow" - TERMINATE = "Terminate" - -@dataclass(kw_only=True) -class RemoveLayerVersionPermissionInput(_SerdeShape): - """Dataclass for RemoveLayerVersionPermissionInput structure.""" - - layer_name: str | None = ... - """The name or Amazon Resource Name (ARN) of the layer.""" - version_number: int | None = ... - """The version number.""" - statement_id: str | None = ... - """The identifier that was specified when the statement was added.""" - revision_id: str | None = ... - """ - Only update the policy if the revision ID matches the ID specified. Use - this option to avoid modifying a policy that has changed since you last - read it. - """ - -@dataclass(kw_only=True) -class RemoveLayerVersionPermissionOutput(_SerdeShape): - """Dataclass for RemoveLayerVersionPermissionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemovePermissionInput(_SerdeShape): - """Dataclass for RemovePermissionInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** -- `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - statement_id: str | None = ... - """Statement ID of the permission to remove.""" - qualifier: str | None = ... - """ - Specify a version or alias to remove permissions from a published - version of the function. - """ - revision_id: str | None = ... - """ - Update the policy only if the revision ID matches the ID that's - specified. Use this option to avoid modifying a policy that has changed - since you last read it. - """ - -@dataclass(kw_only=True) -class RemovePermissionOutput(_SerdeShape): - """Dataclass for RemovePermissionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RequestTooLargeException(ServiceError, _SerdeShape): - """ - The request payload exceeded the `Invoke` request body JSON input quota. - For more information, see [Lambda - quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResolvedS3Object(_SerdeShape): - """ - Details about the resolved Amazon S3 object that contains a function's - deployment package. - """ - - s3_bucket: str | None = ... - """The Amazon S3 bucket that contains the deployment package.""" - s3_key: str | None = ... - """The Amazon S3 key of the deployment package.""" - s3_object_version: str | None = ... - """The version of the deployment package object.""" - -@dataclass(kw_only=True) -class ResourceConflictException(ServiceError, _SerdeShape): - """The resource already exists, or another operation is in progress.""" - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceInUseException(ServiceError, _SerdeShape): - """ - The operation conflicts with the resource's availability. For example, - you tried to update an event source mapping in the CREATING state, or - you tried to delete an event source mapping currently UPDATING. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """The resource specified in the request does not exist.""" - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceNotReadyException(ServiceError, _SerdeShape): - """ - The function is inactive and its VPC connection is no longer available. - Wait for the VPC connection to reestablish and try again. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ResponseStreamingInvocationType(UnknownEnumMixin, StrEnum): - REQUEST_RESPONSE = "RequestResponse" - DRY_RUN = "DryRun" - -@dataclass(kw_only=True) -class RetryDetails(_SerdeShape): - """Information about retry attempts for an operation.""" - - current_attempt: int = ... - """The current attempt number for this operation.""" - next_attempt_delay_seconds: int | None = ... - """The delay before the next retry attempt, in seconds.""" - -class Runtime(UnknownEnumMixin, StrEnum): - NODEJS = "nodejs" - NODEJS43 = "nodejs4.3" - NODEJS610 = "nodejs6.10" - NODEJS810 = "nodejs8.10" - NODEJS10X = "nodejs10.x" - NODEJS12X = "nodejs12.x" - NODEJS14X = "nodejs14.x" - NODEJS16X = "nodejs16.x" - NODEJS18X = "nodejs18.x" - NODEJS20X = "nodejs20.x" - NODEJS22X = "nodejs22.x" - NODEJS24X = "nodejs24.x" - JAVA8 = "java8" - JAVA8AL2 = "java8.al2" - JAVA11 = "java11" - JAVA17 = "java17" - JAVA21 = "java21" - JAVA25 = "java25" - PYTHON27 = "python2.7" - PYTHON36 = "python3.6" - PYTHON37 = "python3.7" - PYTHON38 = "python3.8" - PYTHON39 = "python3.9" - PYTHON310 = "python3.10" - PYTHON311 = "python3.11" - PYTHON312 = "python3.12" - PYTHON313 = "python3.13" - PYTHON314 = "python3.14" - DOTNETCORE10 = "dotnetcore1.0" - DOTNETCORE20 = "dotnetcore2.0" - DOTNETCORE21 = "dotnetcore2.1" - DOTNETCORE31 = "dotnetcore3.1" - DOTNET6 = "dotnet6" - DOTNET8 = "dotnet8" - DOTNET10 = "dotnet10" - NODEJS43EDGE = "nodejs4.3-edge" - GO1X = "go1.x" - RUBY25 = "ruby2.5" - RUBY27 = "ruby2.7" - RUBY32 = "ruby3.2" - RUBY33 = "ruby3.3" - RUBY34 = "ruby3.4" - RUBY40 = "ruby4.0" - PROVIDED = "provided" - PROVIDEDAL2 = "provided.al2" - PROVIDEDAL2023 = "provided.al2023" - NODEJS26X = "nodejs26.x" - PYTHON315 = "python3.15" - JAVA8AL2023 = "java8.al2023" - JAVA11AL2023 = "java11.al2023" - JAVA17AL2023 = "java17.al2023" - -@dataclass(kw_only=True) -class RuntimeVersionConfig(_SerdeShape): - """The ARN of the runtime and any errors that occured.""" - - runtime_version_arn: str | None = ... - """The ARN of the runtime version you want the function to use.""" - error: RuntimeVersionError | None = ... - """ - Error response when Lambda is unable to retrieve the runtime version for - a function. - """ - -@dataclass(kw_only=True) -class RuntimeVersionError(_SerdeShape): - """ - Any error returned when the runtime version information for the function - could not be retrieved. - """ - - error_code: str | None = ... - """The error code.""" - message: str | None = ... - """The error message.""" - -@dataclass(kw_only=True) -class S3FilesConfig(_SerdeShape): - """ - Setting controls how your function accesses data from an Amazon S3 file - system. - """ - - direct_s3_read: str | None = ... - """ - Specifies if a function reads from the file system for the lowest - latency, or through Amazon S3 Files feature \"direct Amazon S3 bucket - reads\" for the highest throughput. Valid values: - - - `AUTO` (default) -- Direct reads are active for functions you - configure with 512 MB or more of memory. - - - `ENABLED` -- Enforces all reads are directly from the Amazon S3 - bucket, regardless of available memory (less than 512 MB). - - - `DISABLED` -- Routes all reads through the file system, regardless of - memory configuration. - - To use direct reads, you must grant the execution role the - `s3:GetObject` and `s3:GetObjectVersion` permissions. If a direct read - fails, Lambda automatically falls back to reading through the file - system. - """ - -@dataclass(kw_only=True) -class S3FilesMountConnectivityException(ServiceError, _SerdeShape): - """ - The Lambda function couldn't make a network connection to the - configured S3 Files access point. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class S3FilesMountFailureException(ServiceError, _SerdeShape): - """ - The Lambda function couldn't mount the configured S3 Files access point - due to a permission or configuration issue. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class S3FilesMountTimeoutException(ServiceError, _SerdeShape): - """ - The Lambda function made a network connection to the configured S3 Files - access point, but the mount operation timed out. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class S3ObjectStorageMode(UnknownEnumMixin, StrEnum): - """ - The method Lambda uses to store a function's deployment package --- - either by copying the package into Lambda-managed storage (`COPY`) or by - referencing it directly from the source Amazon S3 bucket (`REFERENCE`). - """ - - COPY = "COPY" - """ - The default storage mode. Uploads a copy of your deployment package to - Lambda. - """ - REFERENCE = "REFERENCE" - """ - The reference storage mode. Lambda references the deployment package - from the specified Amazon S3 bucket without uploading a copy. - """ - -@dataclass(kw_only=True) -class ScalingConfig(_SerdeShape): - """ - (Amazon SQS only) The scaling configuration for the event source. To - remove the configuration, pass an empty value. - """ - - maximum_concurrency: int | None = ... - """ - Limits the number of concurrent instances that the Amazon SQS event - source can invoke. - """ - -class SchemaRegistryEventRecordFormat(UnknownEnumMixin, StrEnum): - JSON = "JSON" - SOURCE = "SOURCE" - -@dataclass(kw_only=True) -class SelfManagedEventSource(_SerdeShape): - """The self-managed Apache Kafka cluster for your event source.""" - - endpoints: dict[str, list[str]] | None = ... - """ - The list of bootstrap servers for your Kafka brokers in the following - format: - `"KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]`. - """ - -@dataclass(kw_only=True) -class SelfManagedKafkaEventSourceConfig(_SerdeShape): - """ - Specific configuration settings for a self-managed Apache Kafka event - source. - """ - - consumer_group_id: str | None = ... - """ - The identifier for the Kafka consumer group to join. The consumer group - ID must be unique among all your Kafka event sources. After creating a - Kafka event source mapping with the consumer group ID specified, you - cannot update this value. For more information, see [Customizable - consumer group - ID](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka-process.html#services-smaa-topic-add). - """ - schema_registry_config: KafkaSchemaRegistryConfig | None = ... - """Specific configuration settings for a Kafka schema registry.""" - consumption_mode: str | None = ... - """ - The mode that Lambda uses to consume records from your self-managed - Apache Kafka topic. The default is `Stream`. - - - `Stream` -- Lambda consumes records using a Kafka consumer group and - preserves the order of records within each partition. This is the - default when you omit `ConsumptionMode`. - - - `Queue` -- Lambda consumes records using a Kafka share group. Multiple - consumers can process records from the same partitions concurrently. - Queue mode does not preserve per-partition order. Queue mode requires - an Apache Kafka cluster running version 4.2 or later with share groups - enabled. - - You cannot change `ConsumptionMode` after you create the event source - mapping. To use a different consumption mode, create a new event source - mapping. - - When `ConsumptionMode` is `Queue`, the `StartingPosition`, - `StartingPositionTimestamp`, and `MaximumBatchingWindowInSeconds` - parameters are not supported. - """ - -@dataclass(kw_only=True) -class SendDurableExecutionCallbackFailureInput(_SerdeShape): - """Dataclass for SendDurableExecutionCallbackFailureInput structure.""" - - callback_id: str | None = ... - """The unique identifier for the callback operation.""" - error: ErrorObject | None = ... - """ - Error details describing why the callback operation failed. The combined - size of all error fields is limited to 1 MB. - """ - -@dataclass(kw_only=True) -class SendDurableExecutionCallbackFailureOutput(_SerdeShape): - """Dataclass for SendDurableExecutionCallbackFailureOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SendDurableExecutionCallbackHeartbeatInput(_SerdeShape): - """Dataclass for SendDurableExecutionCallbackHeartbeatInput structure.""" - - callback_id: str | None = ... - """The unique identifier for the callback operation.""" - -@dataclass(kw_only=True) -class SendDurableExecutionCallbackHeartbeatOutput(_SerdeShape): - """Dataclass for SendDurableExecutionCallbackHeartbeatOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SendDurableExecutionCallbackSuccessInput(_SerdeShape): - """Dataclass for SendDurableExecutionCallbackSuccessInput structure.""" - - callback_id: str | None = ... - """The unique identifier for the callback operation.""" - result: bytes | None = ... - """ - The result data from the successful callback operation. Maximum size is - 1 MB. - """ - -@dataclass(kw_only=True) -class SendDurableExecutionCallbackSuccessOutput(_SerdeShape): - """Dataclass for SendDurableExecutionCallbackSuccessOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SerializedRequestEntityTooLargeException(ServiceError, _SerdeShape): - """ - The request payload exceeded the maximum allowed size for serialized - request entities. - """ - - type: str | None = ... - """The error type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceException(ServiceError, _SerdeShape): - """The Lambda service encountered an internal error.""" - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceQuotaExceededException(ServiceError, _SerdeShape): - """ - The request would exceed a service quota. For more information about - Lambda service quotas, see [Lambda - quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). - To request a quota increase, see [Requesting a quota - increase](https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html) - in the *Service Quotas User Guide*. - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SnapStart(_SerdeShape): - """ - The function's [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) - setting. Set `ApplyOn` to `PublishedVersions` to create a snapshot of - the initialized execution environment when you publish a function - version. - """ - - apply_on: str | None = ... - """ - Set to `PublishedVersions` to create a snapshot of the initialized - execution environment when you publish a function version. - """ - -class SnapStartApplyOn(UnknownEnumMixin, StrEnum): - PUBLISHED_VERSIONS = "PublishedVersions" - NONE = "None" - -@dataclass(kw_only=True) -class SnapStartException(ServiceError, _SerdeShape): - """ - The `afterRestore()` [runtime - hook](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html) - encountered an error. For more information, check the Amazon CloudWatch - logs. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SnapStartNotReadyException(ServiceError, _SerdeShape): - """ - Lambda is initializing your function. You can invoke the function when - the [function - state](https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html) - becomes `Active`. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class SnapStartOptimizationStatus(UnknownEnumMixin, StrEnum): - ON = "On" - OFF = "Off" - -@dataclass(kw_only=True) -class SnapStartRegenerationFailureException(ServiceError, _SerdeShape): - """ - Lambda couldn't regenerate the SnapStart snapshot for the function. - SnapStart-enabled functions periodically regenerate snapshots when their - underlying runtime or dependencies change; this regeneration failed. - Wait for Lambda to retry, or update the function's configuration to - trigger a new snapshot. For more information, see [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). - """ - - type: str | None = ... - """The exception type.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SnapStartResponse(_SerdeShape): - """ - The function's - [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) - setting. - """ - - apply_on: str | None = ... - """ - When set to `PublishedVersions`, Lambda creates a snapshot of the - execution environment when you publish a function version. - """ - optimization_status: str | None = ... - """ - When you provide a [qualified Amazon Resource Name - (ARN)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using), - this response element indicates whether SnapStart is activated for the - specified function version. - """ - -@dataclass(kw_only=True) -class SnapStartTimeoutException(ServiceError, _SerdeShape): - """Lambda couldn't restore the snapshot within the timeout limit.""" - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SourceAccessConfiguration(_SerdeShape): - """ - To secure and define access to your event source, you can specify the - authentication protocol, VPC components, or virtual host. - """ - - type: str | None = ... - """ - The type of authentication protocol, VPC components, or virtual host for - your event source. For example: `"Type":"SASL_SCRAM_512_AUTH"`. - - - `BASIC_AUTH` -- (Amazon MQ) The Secrets Manager secret that stores - your broker credentials. - - - `BASIC_AUTH` -- (Self-managed Apache Kafka) The Secrets Manager ARN of - your secret key used for SASL/PLAIN authentication of your Apache - Kafka brokers. - - - `VPC_SUBNET` -- (Self-managed Apache Kafka) The subnets associated - with your VPC. Lambda connects to these subnets to fetch data from - your self-managed Apache Kafka cluster. - - - `VPC_SECURITY_GROUP` -- (Self-managed Apache Kafka) The VPC security - group used to manage access to your self-managed Apache Kafka brokers. - - - `SASL_SCRAM_256_AUTH` -- (Self-managed Apache Kafka) The Secrets - Manager ARN of your secret key used for SASL SCRAM-256 authentication - of your self-managed Apache Kafka brokers. - - - `SASL_SCRAM_512_AUTH` -- (Amazon MSK, Self-managed Apache Kafka) The - Secrets Manager ARN of your secret key used for SASL SCRAM-512 - authentication of your self-managed Apache Kafka brokers. - - - `VIRTUAL_HOST` --- (RabbitMQ) The name of the virtual host in your - RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. - This property cannot be specified in an UpdateEventSourceMapping API - call. - - - `CLIENT_CERTIFICATE_TLS_AUTH` -- (Amazon MSK, self-managed Apache - Kafka) The Secrets Manager ARN of your secret key containing the - certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private - key password (optional) used for mutual TLS authentication of your - MSK/Apache Kafka brokers. - - - `SERVER_ROOT_CA_CERTIFICATE` -- (Self-managed Apache Kafka) The - Secrets Manager ARN of your secret key containing the root CA - certificate (X.509 PEM) used for TLS encryption of your Apache Kafka - brokers. - - - `OAUTHBEARER_AUTH` -- (Self-managed Apache Kafka) The Secrets Manager - ARN of your secret key containing the OAuth 2.0 credentials that - Lambda uses for SASL/OAUTHBEARER authentication with your Apache Kafka - brokers. For the contents of the secret, see [Configuring the OAuth - secret](https://docs.aws.amazon.com/lambda/latest/dg/kafka-cluster-auth.html#smaa-auth-oauth-secret). - - - `OAUTHBEARER_SCOPE` -- (Self-managed Apache Kafka) The OAuth 2.0 scope - that Lambda requests when it acquires an access token. The `URI` field - holds the scope value, not a secret ARN. This type requires - `OAUTHBEARER_AUTH`. - - - `OAUTHBEARER_AUDIENCE` -- (Self-managed Apache Kafka) The OAuth 2.0 - audience that Lambda requests when it acquires an access token. The - `URI` field holds the audience value, not a secret ARN. This type - requires either `OAUTHBEARER_AUTH` or `IAM_OAUTHBEARER_AUTH`. - - - `OAUTHBEARER_LOGICAL_CLUSTER` -- (Self-managed Apache Kafka) The - logical cluster identifier that Lambda sends to a Confluent Cloud - broker. The `URI` field holds the identifier, not a secret ARN. This - type requires `OAUTHBEARER_AUTH`. - - - `OAUTHBEARER_IDENTITY_POOL` -- (Self-managed Apache Kafka) The - identity pool identifier that Lambda sends to a Confluent Cloud - broker. The `URI` field holds the identifier, not a secret ARN. This - type requires `OAUTHBEARER_AUTH`. - - - `IAM_AUTH` -- (Self-managed Apache Kafka) Authenticate with Identity - and Access Management (IAM). Your function's execution role signs - each connection, so there is no secret to provide. Omit the `URI` - field for this type. - - - `IAM_OAUTHBEARER_AUTH` -- (Self-managed Apache Kafka) Authenticate - with an Amazon Web Services web identity token over SASL/OAUTHBEARER. - Lambda requests the token for your function's execution role, so - there is no secret to provide. Omit the `URI` field for this type. - This type requires `OAUTHBEARER_AUDIENCE` and does not support the - other `OAUTHBEARER` types. - """ - uri: str | None = ... - """ - The value for your chosen configuration in `Type`. For example: - `"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"`. - """ - -class SourceAccessType(UnknownEnumMixin, StrEnum): - BASIC_AUTH = "BASIC_AUTH" - VPC_SUBNET = "VPC_SUBNET" - VPC_SECURITY_GROUP = "VPC_SECURITY_GROUP" - SASL_SCRAM_512_AUTH = "SASL_SCRAM_512_AUTH" - SASL_SCRAM_256_AUTH = "SASL_SCRAM_256_AUTH" - VIRTUAL_HOST = "VIRTUAL_HOST" - CLIENT_CERTIFICATE_TLS_AUTH = "CLIENT_CERTIFICATE_TLS_AUTH" - SERVER_ROOT_CA_CERTIFICATE = "SERVER_ROOT_CA_CERTIFICATE" - OAUTHBEARER_AUTH = "OAUTHBEARER_AUTH" - OAUTHBEARER_SCOPE = "OAUTHBEARER_SCOPE" - OAUTHBEARER_AUDIENCE = "OAUTHBEARER_AUDIENCE" - OAUTHBEARER_LOGICAL_CLUSTER = "OAUTHBEARER_LOGICAL_CLUSTER" - OAUTHBEARER_IDENTITY_POOL = "OAUTHBEARER_IDENTITY_POOL" - IAM_AUTH = "IAM_AUTH" - IAM_OAUTHBEARER_AUTH = "IAM_OAUTHBEARER_AUTH" - -class State(UnknownEnumMixin, StrEnum): - PENDING = "Pending" - ACTIVE = "Active" - INACTIVE = "Inactive" - FAILED = "Failed" - DEACTIVATING = "Deactivating" - DEACTIVATED = "Deactivated" - ACTIVE_NON_INVOCABLE = "ActiveNonInvocable" - DELETING = "Deleting" - -class StateReasonCode(UnknownEnumMixin, StrEnum): - IDLE = "Idle" - CREATING = "Creating" - RESTORING = "Restoring" - ENI_LIMIT_EXCEEDED = "EniLimitExceeded" - INSUFFICIENT_ROLE_PERMISSIONS = "InsufficientRolePermissions" - INVALID_CONFIGURATION = "InvalidConfiguration" - INTERNAL_ERROR = "InternalError" - SUBNET_OUT_OF_IP_ADDRESSES = "SubnetOutOfIPAddresses" - INVALID_SUBNET = "InvalidSubnet" - INVALID_SECURITY_GROUP = "InvalidSecurityGroup" - IMAGE_DELETED = "ImageDeleted" - IMAGE_ACCESS_DENIED = "ImageAccessDenied" - INVALID_IMAGE = "InvalidImage" - KMS_KEY_ACCESS_DENIED = "KMSKeyAccessDenied" - KMS_KEY_NOT_FOUND = "KMSKeyNotFound" - INVALID_STATE_KMS_KEY = "InvalidStateKMSKey" - DISABLED_KMS_KEY = "DisabledKMSKey" - EFSIO_ERROR = "EFSIOError" - EFS_MOUNT_CONNECTIVITY_ERROR = "EFSMountConnectivityError" - EFS_MOUNT_FAILURE = "EFSMountFailure" - EFS_MOUNT_TIMEOUT = "EFSMountTimeout" - INVALID_RUNTIME = "InvalidRuntime" - INVALID_ZIP_FILE_EXCEPTION = "InvalidZipFileException" - FUNCTION_ERROR = "FunctionError" - SERVICE_QUOTA_EXCEEDED_EXCEPTION = "ServiceQuotaExceededException" - VCPU_LIMIT_EXCEEDED = "VcpuLimitExceeded" - CAPACITY_PROVIDER_SCALING_LIMIT_EXCEEDED = "CapacityProviderScalingLimitExceeded" - INSUFFICIENT_CAPACITY = "InsufficientCapacity" - EC2_REQUEST_LIMIT_EXCEEDED = "EC2RequestLimitExceeded" - FUNCTION_ERROR_INIT_TIMEOUT = "FunctionError.InitTimeout" - FUNCTION_ERROR_RUNTIME_INIT_ERROR = "FunctionError.RuntimeInitError" - FUNCTION_ERROR_EXTENSION_INIT_ERROR = "FunctionError.ExtensionInitError" - FUNCTION_ERROR_INVALID_ENTRY_POINT = "FunctionError.InvalidEntryPoint" - FUNCTION_ERROR_INVALID_WORKING_DIRECTORY = "FunctionError.InvalidWorkingDirectory" - FUNCTION_ERROR_PERMISSION_DENIED = "FunctionError.PermissionDenied" - FUNCTION_ERROR_TOO_MANY_EXTENSIONS = "FunctionError.TooManyExtensions" - FUNCTION_ERROR_INIT_RESOURCE_EXHAUSTED = "FunctionError.InitResourceExhausted" - DISALLOWED_BY_VPC_ENCRYPTION_CONTROL = "DisallowedByVpcEncryptionControl" - DRAINING_DURABLE_EXECUTIONS = "DrainingDurableExecutions" - DEPENDENCY_ERROR = "DependencyError" - -@dataclass(kw_only=True) -class StepDetails(_SerdeShape): - """Details about a step operation.""" - - attempt: int = ... - """The current attempt number for this step.""" - next_attempt_timestamp: datetime | None = ... - """ - The date and time when the next attempt is scheduled, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - Only populated when the step is in a pending state. - """ - result: str | None = ... - """The JSON response payload from the step operation.""" - error: ErrorObject | None = ... - """Details about the step failure.""" - -@dataclass(kw_only=True) -class StepFailedDetails(_SerdeShape): - """Details about a step that failed.""" - - error: EventError - """Details about the step failure.""" - retry_details: RetryDetails - """Information about retry attempts for this step operation.""" - -@dataclass(kw_only=True) -class StepOptions(_SerdeShape): - """Configuration options for a step operation.""" - - next_attempt_delay_seconds: int | None = ... - """The delay in seconds before the next retry attempt.""" - -@dataclass(kw_only=True) -class StepStartedDetails(_SerdeShape): - """Details about a step that has started.""" - -@dataclass(kw_only=True) -class StepSucceededDetails(_SerdeShape): - """Details about a step that succeeded.""" - - result: EventResult - """The response payload from the successful operation.""" - retry_details: RetryDetails - """Information about retry attempts for this step operation.""" - -@dataclass(kw_only=True) -class StopDurableExecutionInput(_SerdeShape): - """Dataclass for StopDurableExecutionInput structure.""" - - durable_execution_arn: str | None = ... - """The Amazon Resource Name (ARN) of the durable execution.""" - error: ErrorObject | None = ... - """ - Optional error details explaining why the execution is being stopped. - The combined size of all error fields is limited to 1 MB. - """ - -@dataclass(kw_only=True) -class StopDurableExecutionOutput(_SerdeShape): - """Dataclass for StopDurableExecutionOutput structure.""" - - stop_timestamp: datetime - """The timestamp when the execution was stopped (ISO 8601 format).""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SubnetIPAddressLimitReachedException(ServiceError, _SerdeShape): - """ - Lambda couldn't set up VPC access for the Lambda function because one - or more configured subnets has no available IP addresses. - """ - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class SystemLogLevel(UnknownEnumMixin, StrEnum): - DEBUG = "DEBUG" - INFO = "INFO" - WARN = "WARN" - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Dataclass for TagResourceInput structure.""" - - resource: str | None = ... - """The resource's Amazon Resource Name (ARN).""" - tags: dict[str, str] | None = ... - """A list of tags to apply to the resource.""" - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TagsError(_SerdeShape): - """ - An object that contains details about an error related to retrieving - tags. - """ - - error_code: str - """The error code.""" - message: str - """The error message.""" - -@dataclass(kw_only=True) -class TargetTrackingScalingPolicy(_SerdeShape): - """ - A scaling policy for the capacity provider that automatically adjusts - capacity to maintain a target value for a specific metric. - """ - - predefined_metric_type: str - """The predefined metric type to track for scaling decisions.""" - target_value: float - """ - The target value for the metric that the scaling policy attempts to - maintain through scaling actions. - """ - -@dataclass(kw_only=True) -class TenancyConfig(_SerdeShape): - """ - Specifies the tenant isolation mode configuration for a Lambda function. - This allows you to configure specific tenant isolation strategies for - your function invocations. Tenant isolation configuration cannot be - modified after function creation. - """ - - tenant_isolation_mode: str - """ - Tenant isolation mode allows for invocation to be sent to a - corresponding execution environment dedicated to a specific tenant ID. - """ - -class TenantIsolationMode(UnknownEnumMixin, StrEnum): - PER_TENANT = "PER_TENANT" - -class ThrottleReason(UnknownEnumMixin, StrEnum): - CONCURRENT_INVOCATION_LIMIT_EXCEEDED = "ConcurrentInvocationLimitExceeded" - FUNCTION_INVOCATION_RATE_LIMIT_EXCEEDED = "FunctionInvocationRateLimitExceeded" - RESERVED_FUNCTION_CONCURRENT_INVOCATION_LIMIT_EXCEEDED = ( - "ReservedFunctionConcurrentInvocationLimitExceeded" - ) - RESERVED_FUNCTION_INVOCATION_RATE_LIMIT_EXCEEDED = ( - "ReservedFunctionInvocationRateLimitExceeded" - ) - CALLER_RATE_LIMIT_EXCEEDED = "CallerRateLimitExceeded" - CONCURRENT_SNAPSHOT_CREATE_LIMIT_EXCEEDED = "ConcurrentSnapshotCreateLimitExceeded" - -@dataclass(kw_only=True) -class TooManyRequestsException(ServiceError, _SerdeShape): - """ - The request throughput limit was exceeded. For more information, see - [Lambda - quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). - """ - - retry_after_seconds: str | None = ... - """The number of seconds the caller should wait before retrying.""" - type: str | None = ... - reason: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TraceHeader(_SerdeShape): - """Contains trace headers for the Lambda durable execution.""" - - x_amzn_trace_id: str | None = ... - """The X-Ray trace header associated with the durable execution.""" - -@dataclass(kw_only=True) -class TracingConfig(_SerdeShape): - """ - The function's - [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) - tracing configuration. To sample and record incoming requests, set - `Mode` to `Active`. - """ - - mode: str | None = ... - """The tracing mode.""" - -@dataclass(kw_only=True) -class TracingConfigResponse(_SerdeShape): - """The function's X-Ray tracing configuration.""" - - mode: str | None = ... - """The tracing mode.""" - -class TracingMode(UnknownEnumMixin, StrEnum): - ACTIVE = "Active" - PASS_THROUGH = "PassThrough" - -@dataclass(kw_only=True) -class UnsupportedMediaTypeException(ServiceError, _SerdeShape): - """The content type of the `Invoke` request body is not JSON.""" - - type: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Dataclass for UntagResourceInput structure.""" - - resource: str | None = ... - """The resource's Amazon Resource Name (ARN).""" - tag_keys: list[str] | None = ... - """A list of tag keys to remove from the resource.""" - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateAliasInput(_SerdeShape): - """Dataclass for UpdateAliasInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** - `MyFunction`. - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Partial ARN** - `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - name: str | None = ... - """The name of the alias.""" - function_version: str | None = ... - """The function version that the alias invokes.""" - description: str | None = ... - """A description of the alias.""" - routing_config: AliasRoutingConfiguration | None = ... - """ - The [routing - configuration](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing) - of the alias. - """ - revision_id: str | None = ... - """ - Only update the alias if the revision ID matches the ID that's - specified. Use this option to avoid modifying an alias that has changed - since you last read it. - """ - -@dataclass(kw_only=True) -class UpdateAliasOutput(_SerdeShape): - """ - Provides configuration information about a Lambda function - [alias](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). - """ - - alias_arn: str | None = ... - """The Amazon Resource Name (ARN) of the alias.""" - name: str | None = ... - """The name of the alias.""" - function_version: str | None = ... - """The function version that the alias invokes.""" - description: str | None = ... - """A description of the alias.""" - routing_config: AliasRoutingConfiguration | None = ... - """ - The [routing - configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) - of the alias. - """ - revision_id: str | None = ... - """A unique identifier that changes when you update the alias.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCapacityProviderInput(_SerdeShape): - """Dataclass for UpdateCapacityProviderInput structure.""" - - capacity_provider_name: str | None = ... - """The name of the capacity provider to update.""" - capacity_provider_scaling_config: CapacityProviderScalingConfig | None = ... - """The updated scaling configuration for the capacity provider.""" - propagate_tags: PropagateTags | None = ... - """ - Configuration for tag propagation to managed resources launched by the - capacity provider. - """ - telemetry_config: CapacityProviderTelemetryConfig | None = ... - """The updated telemetry configuration for the capacity provider.""" - -@dataclass(kw_only=True) -class UpdateCapacityProviderOutput(_SerdeShape): - """Dataclass for UpdateCapacityProviderOutput structure.""" - - capacity_provider: CapacityProvider - """Information about the updated capacity provider.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateCodeSigningConfigInput(_SerdeShape): - """Dataclass for UpdateCodeSigningConfigInput structure.""" - - code_signing_config_arn: str | None = ... - """The The Amazon Resource Name (ARN) of the code signing configuration.""" - description: str | None = ... - """Descriptive name for this code signing configuration.""" - allowed_publishers: AllowedPublishers | None = ... - """Signing profiles for this code signing configuration.""" - code_signing_policies: CodeSigningPolicies | None = ... - """The code signing policy.""" - -@dataclass(kw_only=True) -class UpdateCodeSigningConfigOutput(_SerdeShape): - """Dataclass for UpdateCodeSigningConfigOutput structure.""" - - code_signing_config: CodeSigningConfig - """The code signing configuration""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateEventSourceMappingInput(_SerdeShape): - """Dataclass for UpdateEventSourceMappingInput structure.""" - - uuid: str | None = ... - """The identifier of the event source mapping.""" - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `MyFunction`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction`. - - - **Version or Alias ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD`. - - - **Partial ARN** -- `123456789012:function:MyFunction`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it's limited to 64 characters in length. - """ - enabled: bool | None = ... - """ - When true, the event source mapping is active. When false, Lambda pauses - polling and invocation. - - Default: True - """ - batch_size: int | None = ... - """ - The maximum number of records in each batch that Lambda pulls from your - stream or queue and sends to your function. Lambda passes all of the - records in the batch to the function in a single call, up to the payload - limit for synchronous invocation (6 MB). - - - **Amazon Kinesis** -- Default 100. Max 10,000. - - - **Amazon DynamoDB Streams** -- Default 100. Max 10,000. - - - **Amazon Simple Queue Service** -- Default 10. For standard queues the - max is 10,000. For FIFO queues the max is 10. - - - **Amazon Managed Streaming for Apache Kafka** -- Default 100. Max - 10,000. - - - **Self-managed Apache Kafka** -- Default 100. Max 10,000. - - - **Amazon MQ (ActiveMQ and RabbitMQ)** -- Default 100. Max 10,000. - - - **DocumentDB** -- Default 100. Max 10,000. - """ - filter_criteria: FilterCriteria | None = ... - """ - An object that defines the filter criteria that determine whether Lambda - should process an event. For more information, see [Lambda event - filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that - Lambda uses to encrypt your function's [filter - criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). - By default, Lambda does not encrypt your filter criteria object. Specify - this property to encrypt data using your own customer managed key. - """ - metrics_config: EventSourceMappingMetricsConfig | None = ... - """ - The metrics configuration for your event source. For more information, - see [Event source mapping - metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). - """ - logging_config: EventSourceMappingLoggingConfig | None = ... - """ - (Amazon MSK, and self-managed Apache Kafka only) The logging - configuration for your event source. Use this configuration object to - define the level of logs for your event source mapping. - """ - scaling_config: ScalingConfig | None = ... - """ - (Amazon SQS only) The scaling configuration for the event source. For - more information, see [Configuring maximum concurrency for Amazon SQS - event - sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). - """ - maximum_batching_window_in_seconds: int | None = ... - """ - The maximum amount of time, in seconds, that Lambda spends gathering - records before invoking the function. You can configure - `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 - seconds in increments of seconds. - - For Kinesis, DynamoDB, and Amazon SQS event sources, the default - batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, - Amazon MQ, and DocumentDB event sources, the default batching window is - 500 ms. Note that because you can only change - `MaximumBatchingWindowInSeconds` in increments of seconds, you cannot - revert back to the 500 ms default batching window after you have changed - it. To restore the default batching window, you must create a new event - source mapping. - - Related setting: For Kinesis, DynamoDB, and Amazon SQS event sources, - when you set `BatchSize` to a value greater than 10, you must set - `MaximumBatchingWindowInSeconds` to at least 1. - - Not supported for Kafka event source mappings when `ConsumptionMode` is - `Queue`. - """ - parallelization_factor: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The number of batches to process - from each shard concurrently. - """ - destination_config: DestinationConfig | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A - configuration object that specifies the destination of an event after - Lambda processes it. - """ - maximum_record_age_in_seconds: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records older than the specified age. The default value is - infinite (-1). - """ - bisect_batch_on_function_error: bool | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - If the function returns an error, split the batch in two and retry. - """ - maximum_retry_attempts: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records after the specified number of retries. The default value - is infinite (-1). When set to infinite (-1), failed records are retried - until the record expires. - - For Kafka `Stream` consumption mode, the default is `-1` (infinite - retries; capped at 10 when an on-failure destination is configured). For - Kafka `Queue` consumption mode, the default is `0`, and if no on-failure - destination is configured the Kafka broker performs retries. - """ - tumbling_window_in_seconds: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The duration in seconds of a - processing window for DynamoDB and Kinesis Streams event sources. A - value of 0 seconds indicates no tumbling window. - """ - source_access_configurations: list[SourceAccessConfiguration] | None = ... - """ - An array of authentication protocols or VPC components required to - secure your event source. - """ - function_response_types: list[str] | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and - Amazon SQS) A list of current response type enums applied to the event - source mapping. - """ - amazon_managed_kafka_event_source_config: ( - AmazonManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for an Amazon Managed Streaming for - Apache Kafka (Amazon MSK) event source. - """ - self_managed_kafka_event_source_config: ( - SelfManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for a self-managed Apache Kafka event - source. - """ - document_db_event_source_config: DocumentDBEventSourceConfig | None = ... - """Specific configuration settings for a DocumentDB event source.""" - provisioned_poller_config: ProvisionedPollerConfig | None = ... - """ - (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The - provisioned mode configuration for the event source. For more - information, see [provisioned - mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). - """ - -@dataclass(kw_only=True) -class UpdateEventSourceMappingOutput(_SerdeShape): - """ - A mapping between an Amazon Web Services resource and a Lambda function. - For details, see CreateEventSourceMapping. - """ - - uuid: str | None = ... - """The identifier of the event source mapping.""" - starting_position: str | None = ... - """ - The position in a stream from which to start reading. Required for - Amazon Kinesis and Amazon DynamoDB Stream event sources. `AT_TIMESTAMP` - is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon - MSK, and self-managed Apache Kafka. - """ - starting_position_timestamp: datetime | None = ... - """ - With `StartingPosition` set to `AT_TIMESTAMP`, the time from which to - start reading. `StartingPositionTimestamp` cannot be in the future. - """ - batch_size: int | None = ... - """ - The maximum number of records in each batch that Lambda pulls from your - stream or queue and sends to your function. Lambda passes all of the - records in the batch to the function in a single call, up to the payload - limit for synchronous invocation (6 MB). - - Default value: Varies by service. For Amazon SQS, the default is 10. For - all other services, the default is 100. - - Related setting: When you set `BatchSize` to a value greater than 10, - you must set `MaximumBatchingWindowInSeconds` to at least 1. - """ - maximum_batching_window_in_seconds: int | None = ... - """ - The maximum amount of time, in seconds, that Lambda spends gathering - records before invoking the function. You can configure - `MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300 - seconds in increments of seconds. - - For streams and Amazon SQS event sources, the default batching window is - 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and - DocumentDB event sources, the default batching window is 500 ms. Note - that because you can only change `MaximumBatchingWindowInSeconds` in - increments of seconds, you cannot revert back to the 500 ms default - batching window after you have changed it. To restore the default - batching window, you must create a new event source mapping. - - Related setting: For streams and Amazon SQS event sources, when you set - `BatchSize` to a value greater than 10, you must set - `MaximumBatchingWindowInSeconds` to at least 1. - """ - parallelization_factor: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The number of batches to process - concurrently from each shard. The default value is 1. - """ - event_source_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source.""" - filter_criteria: FilterCriteria | None = ... - """ - An object that defines the filter criteria that determine whether Lambda - should process an event. For more information, see [Lambda event - filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). - - If filter criteria is encrypted, this field shows up as `null` in the - response of ListEventSourceMapping API calls. You can view this field in - plaintext in the response of GetEventSourceMapping and - DeleteEventSourceMapping calls if you have `kms:Decrypt` permissions for - the correct KMS key. - """ - filter_criteria_error: FilterCriteriaError | None = ... - """ - An object that contains details about an error related to filter - criteria encryption. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that - Lambda uses to encrypt your function's [filter - criteria](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics). - """ - metrics_config: EventSourceMappingMetricsConfig | None = ... - """ - The metrics configuration for your event source. For more information, - see [Event source mapping - metrics](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics). - """ - logging_config: EventSourceMappingLoggingConfig | None = ... - """ - (Amazon MSK, and self-managed Apache Kafka only) The logging - configuration for your event source. For more information, see [Event - source mapping - logging](https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html). - """ - scaling_config: ScalingConfig | None = ... - """ - (Amazon SQS only) The scaling configuration for the event source. For - more information, see [Configuring maximum concurrency for Amazon SQS - event - sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). - """ - function_arn: str | None = ... - """The ARN of the Lambda function.""" - last_modified: datetime | None = ... - """ - The date that the event source mapping was last updated or that its - state changed. - """ - last_processing_result: str | None = ... - """The result of the event source mapping's last processing attempt.""" - state: str | None = ... - """ - The state of the event source mapping. It can be one of the following: - `Creating`, `Enabling`, `Enabled`, `Disabling`, `Disabled`, `Updating`, - or `Deleting`. - """ - state_transition_reason: str | None = ... - """ - Indicates whether a user or Lambda made the last change to the event - source mapping. - """ - destination_config: DestinationConfig | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A - configuration object that specifies the destination of an event after - Lambda processes it. - """ - topics: list[str] | None = ... - """The name of the Kafka topic.""" - queues: list[str] | None = ... - """ - (Amazon MQ) The name of the Amazon MQ broker destination queue to - consume. - """ - source_access_configurations: list[SourceAccessConfiguration] | None = ... - """ - An array of the authentication protocol, VPC components, or virtual host - to secure and define your event source. - """ - self_managed_event_source: SelfManagedEventSource | None = ... - """The self-managed Apache Kafka cluster for your event source.""" - maximum_record_age_in_seconds: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records older than the specified age. The default value is -1, - which sets the maximum age to infinite. When the value is set to - infinite, Lambda never discards old records. - - Note: - The minimum valid value for maximum record age is 60s. Although values - less than 60 and greater than -1 fall within the parameter's absolute - range, they are not allowed - """ - bisect_batch_on_function_error: bool | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - If the function returns an error, split the batch in two and retry. The - default value is false. - """ - maximum_retry_attempts: int | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) - Discard records after the specified number of retries. The default value - is -1, which sets the maximum number of retries to infinite. When - MaximumRetryAttempts is infinite, Lambda retries failed records until - the record expires in the event source. - """ - tumbling_window_in_seconds: int | None = ... - """ - (Kinesis and DynamoDB Streams only) The duration in seconds of a - processing window for DynamoDB and Kinesis Streams event sources. A - value of 0 seconds indicates no tumbling window. - """ - function_response_types: list[str] | None = ... - """ - (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and - Amazon SQS) A list of current response type enums applied to the event - source mapping. - """ - amazon_managed_kafka_event_source_config: ( - AmazonManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for an Amazon Managed Streaming for - Apache Kafka (Amazon MSK) event source. - """ - self_managed_kafka_event_source_config: ( - SelfManagedKafkaEventSourceConfig | None - ) = ... - """ - Specific configuration settings for a self-managed Apache Kafka event - source. - """ - document_db_event_source_config: DocumentDBEventSourceConfig | None = ... - """Specific configuration settings for a DocumentDB event source.""" - event_source_mapping_arn: str | None = ... - """The Amazon Resource Name (ARN) of the event source mapping.""" - provisioned_poller_config: ProvisionedPollerConfig | None = ... - """ - (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The - provisioned mode configuration for the event source. For more - information, see [provisioned - mode](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFunctionCodeInput(_SerdeShape): - """Dataclass for UpdateFunctionCodeInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - zip_file: bytes | None = ... - """ - The base64-encoded contents of the deployment package. Amazon Web - Services SDK and CLI clients handle the encoding for you. Use only with - a function defined with a .zip file archive deployment package. - """ - s3_bucket: str | None = ... - """ - An Amazon S3 bucket in the same Amazon Web Services Region as your - function. The bucket can be in a different Amazon Web Services account. - Use only with a function defined with a .zip file archive deployment - package. - """ - s3_key: str | None = ... - """ - The Amazon S3 key of the deployment package. Use only with a function - defined with a .zip file archive deployment package. - """ - s3_object_version: str | None = ... - """ - For versioned objects, the version of the deployment package object to - use. - """ - s3_object_storage_mode: str | None = ... - """ - Specifies how the deployment package is stored. Valid values: - - - `COPY` (default) -- Uploads a copy of your deployment package to - Lambda. - - - `REFERENCE` -- Lambda references the deployment package from the - specified Amazon S3 bucket. - """ - image_uri: str | None = ... - """ - URI of a container image in the Amazon ECR registry. Do not use for a - function defined with a .zip file archive. - """ - architectures: list[str] | None = ... - """ - The instruction set architecture that the function supports. Enter a - string array with one of the valid values (arm64 or x86_64). The default - value is `x86_64`. - """ - publish: bool = ... - """ - Set to true to publish a new version of the function after updating the - code. This has the same effect as calling PublishVersion separately. - """ - publish_to: str | None = ... - """Specifies where to publish the function version or configuration.""" - dry_run: bool = ... - """ - Set to true to validate the request parameters and access permissions - without modifying the function code. - """ - revision_id: str | None = ... - """ - Update the function only if the revision ID matches the ID that's - specified. Use this option to avoid modifying a function that has - changed since you last read it. - """ - source_kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt your function's .zip deployment package. If you don't - provide a customer managed key, Lambda uses an Amazon Web Services - managed key. - """ - -@dataclass(kw_only=True) -class UpdateFunctionCodeOutput(_SerdeShape): - """Details about a function's configuration.""" - - function_name: str | None = ... - """The name of the function.""" - function_arn: str | None = ... - """The function's Amazon Resource Name (ARN).""" - runtime: str | None = ... - """ - The identifier of the function's - [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). - Runtime is required if the deployment package is a .zip file archive. - Specifying a runtime results in an error if you're deploying a function - using a container image. - - The following list includes deprecated runtimes. Lambda blocks creating - new functions and updating existing functions shortly after each runtime - is deprecated. For more information, see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - role: str | None = ... - """The function's execution role.""" - handler: str | None = ... - """The function that Lambda calls to begin running your function.""" - code_size: int = ... - """The size of the function's deployment package, in bytes.""" - description: str | None = ... - """The function's description.""" - timeout: int | None = ... - """ - The amount of time in seconds that Lambda allows a function to run - before stopping it. - """ - memory_size: int | None = ... - """The amount of memory available to the function at runtime.""" - last_modified: str | None = ... - """ - The date and time that the function was last updated, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - code_sha256: str | None = ... - """The SHA256 hash of the function's deployment package.""" - version: str | None = ... - """The version of the Lambda function.""" - vpc_config: VpcConfigResponse | None = ... - """The function's networking configuration.""" - dead_letter_config: DeadLetterConfig | None = ... - """The function's dead letter queue.""" - environment: EnvironmentResponse | None = ... - """ - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). - Omitted from CloudTrail logs. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt the following resources: - - - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). - - - The function's [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) - snapshots. - - - When used with `SourceKMSKeyArn`, the unzipped version of the .zip - deployment package that's used for function invocations. For more - information, see [Specifying a customer managed key for - Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). - - - The optimized version of the container image that's used for function - invocations. Note that this is not the same key that's used to - protect your container image in the Amazon Elastic Container Registry - (Amazon ECR). For more information, see [Function - lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). - - If you don't provide a customer managed key, Lambda uses an [Amazon Web - Services owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) - or an [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). - """ - tracing_config: TracingConfigResponse | None = ... - """The function's X-Ray tracing configuration.""" - master_arn: str | None = ... - """For Lambda@Edge functions, the ARN of the main function.""" - revision_id: str | None = ... - """The latest updated revision of the function or alias.""" - layers: list[Layer] | None = ... - """ - The function's - [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - state: str | None = ... - """ - The current state of the function. When the state is `Inactive`, you can - reactivate the function by invoking it. - """ - state_reason: str | None = ... - """The reason for the function's current state.""" - state_reason_code: str | None = ... - """ - The reason code for the function's current state. When the code is - `Creating`, you can't invoke or modify the function. - """ - last_update_status: str | None = ... - """ - The status of the last update that was performed on the function. This - is first set to `Successful` after function creation completes. - """ - last_update_status_reason: str | None = ... - """The reason for the last update that was performed on the function.""" - last_update_status_reason_code: str | None = ... - """The reason code for the last update that was performed on the function.""" - file_system_configs: list[FileSystemConfig] | None = ... - """ - Connection settings for an [Amazon EFS file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) - or an [Amazon S3 file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). - """ - signing_profile_version_arn: str | None = ... - """The ARN of the signing profile version.""" - signing_job_arn: str | None = ... - """The ARN of the signing job.""" - package_type: str | None = ... - """ - The type of deployment package. Set to `Image` for container image and - set `Zip` for .zip file archive. - """ - image_config_response: ImageConfigResponse | None = ... - """The function's image configuration values.""" - architectures: list[str] | None = ... - """ - The instruction set architecture that the function supports. - Architecture is a string array with one of the valid values. The default - architecture value is `x86_64`. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The size of the function's `/tmp` directory in MB. The default value is - 512, but can be any whole number between 512 and 10,240 MB. For more - information, see [Configuring ephemeral storage - (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). - """ - snap_start: SnapStartResponse | None = ... - """ - Set `ApplyOn` to `PublishedVersions` to create a snapshot of the - initialized execution environment when you publish a function version. - For more information, see [Improving startup performance with Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). - """ - runtime_version_config: RuntimeVersionConfig | None = ... - """The ARN of the runtime and any errors that occured.""" - logging_config: LoggingConfig | None = ... - """The function's Amazon CloudWatch Logs configuration settings.""" - tenancy_config: TenancyConfig | None = ... - """ - The function's tenant isolation configuration settings. Determines - whether the Lambda function runs on a shared or dedicated infrastructure - per unique tenant. - """ - capacity_provider_config: CapacityProviderConfig | None = ... - """ - Configuration for the capacity provider that manages compute resources - for Lambda functions. - """ - config_sha256: str | None = ... - """The SHA256 hash of the function configuration.""" - durable_config: DurableConfig | None = ... - """ - The function's durable execution configuration settings, if the - function is configured for durability. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFunctionConfigurationInput(_SerdeShape): - """Dataclass for UpdateFunctionConfigurationInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - role: str | None = ... - """The Amazon Resource Name (ARN) of the function's execution role.""" - handler: str | None = ... - """ - The name of the method within your code that Lambda calls to run your - function. Handler is required if the deployment package is a .zip file - archive. The format includes the file name. It can also include - namespaces and other qualifiers, depending on the runtime. For more - information, see [Lambda programming - model](https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html). - """ - description: str | None = ... - """A description of the function.""" - timeout: int | None = ... - """ - The amount of time (in seconds) that Lambda allows a function to run - before stopping it. The default is 3 seconds, and the maximum allowed - value is 900 seconds. For functions using Lambda Managed Instances, - asynchronous invocations and event source mapping invocations (except - Amazon MQ and Amazon DocumentDB) support a maximum allowed value of - 5,400 seconds (90 minutes). For more information, see [Lambda execution - environment](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). - """ - memory_size: int | None = ... - """ - The amount of [memory available to the - function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) - at runtime. Increasing the function memory also increases its CPU - allocation. The default value is 128 MB. The value can be any multiple - of 1 MB. - """ - vpc_config: VpcConfig | None = ... - """ - For network connectivity to Amazon Web Services resources in a VPC, - specify a list of security groups and subnets in the VPC. When you - connect a function to a VPC, it can access resources and the internet - only through that VPC. For more information, see [Configuring a Lambda - function to access resources in a - VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). - """ - environment: Environment | None = ... - """ - Environment variables that are accessible from function code during - execution. - """ - runtime: str | None = ... - """ - The identifier of the function's - [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). - Runtime is required if the deployment package is a .zip file archive. - Specifying a runtime results in an error if you're deploying a function - using a container image. - - The following list includes deprecated runtimes. Lambda blocks creating - new functions and updating existing functions shortly after each runtime - is deprecated. For more information, see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - dead_letter_config: DeadLetterConfig | None = ... - """ - A dead-letter queue configuration that specifies the queue or topic - where Lambda sends asynchronous events when they fail processing. For - more information, see [Dead-letter - queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq). - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt the following resources: - - - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). - - - The function's [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) - snapshots. - - - When used with `SourceKMSKeyArn`, the unzipped version of the .zip - deployment package that's used for function invocations. For more - information, see [Specifying a customer managed key for - Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). - - - The optimized version of the container image that's used for function - invocations. Note that this is not the same key that's used to - protect your container image in the Amazon Elastic Container Registry - (Amazon ECR). For more information, see [Function - lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). - - If you don't provide a customer managed key, Lambda uses an [Amazon Web - Services owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) - or an [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). - """ - tracing_config: TracingConfig | None = ... - """ - Set `Mode` to `Active` to sample and trace a subset of incoming requests - with - [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html). - """ - revision_id: str | None = ... - """ - Update the function only if the revision ID matches the ID that's - specified. Use this option to avoid modifying a function that has - changed since you last read it. - """ - layers: list[str] | None = ... - """ - A list of [function - layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) - to add to the function's execution environment. Specify each layer by - its ARN, including the version. - """ - file_system_configs: list[FileSystemConfig] | None = ... - """ - Connection settings for an Amazon EFS file system or an Amazon S3 Files - file system. - """ - image_config: ImageConfig | None = ... - """ - [Container image configuration - values](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) - that override the values in the container image Docker file. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The size of the function's `/tmp` directory in MB. The default value is - 512, but can be any whole number between 512 and 10,240 MB. For more - information, see [Configuring ephemeral storage - (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). - """ - snap_start: SnapStart | None = ... - """ - The function's - [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) - setting. - """ - logging_config: LoggingConfig | None = ... - """The function's Amazon CloudWatch Logs configuration settings.""" - capacity_provider_config: CapacityProviderConfig | None = ... - """ - Configuration for the capacity provider that manages compute resources - for Lambda functions. - """ - durable_config: DurableConfig | None = ... - """ - Configuration settings for [durable - functions](https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html), - including execution timeout, retention period for execution history, and - an optional ARN of the Key Management Service (KMS) customer managed key - that is used to encrypt your durable execution's payload data, - including input, output, and error payloads. - """ - -@dataclass(kw_only=True) -class UpdateFunctionConfigurationOutput(_SerdeShape): - """Details about a function's configuration.""" - - function_name: str | None = ... - """The name of the function.""" - function_arn: str | None = ... - """The function's Amazon Resource Name (ARN).""" - runtime: str | None = ... - """ - The identifier of the function's - [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). - Runtime is required if the deployment package is a .zip file archive. - Specifying a runtime results in an error if you're deploying a function - using a container image. - - The following list includes deprecated runtimes. Lambda blocks creating - new functions and updating existing functions shortly after each runtime - is deprecated. For more information, see [Runtime use after - deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). - - For a list of all currently supported runtimes, see [Supported - runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). - """ - role: str | None = ... - """The function's execution role.""" - handler: str | None = ... - """The function that Lambda calls to begin running your function.""" - code_size: int = ... - """The size of the function's deployment package, in bytes.""" - description: str | None = ... - """The function's description.""" - timeout: int | None = ... - """ - The amount of time in seconds that Lambda allows a function to run - before stopping it. - """ - memory_size: int | None = ... - """The amount of memory available to the function at runtime.""" - last_modified: str | None = ... - """ - The date and time that the function was last updated, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - code_sha256: str | None = ... - """The SHA256 hash of the function's deployment package.""" - version: str | None = ... - """The version of the Lambda function.""" - vpc_config: VpcConfigResponse | None = ... - """The function's networking configuration.""" - dead_letter_config: DeadLetterConfig | None = ... - """The function's dead letter queue.""" - environment: EnvironmentResponse | None = ... - """ - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). - Omitted from CloudTrail logs. - """ - kms_key_arn: str | None = ... - """ - The ARN of the Key Management Service (KMS) customer managed key that's - used to encrypt the following resources: - - - The function's [environment - variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). - - - The function's [Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) - snapshots. - - - When used with `SourceKMSKeyArn`, the unzipped version of the .zip - deployment package that's used for function invocations. For more - information, see [Specifying a customer managed key for - Lambda](https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption). - - - The optimized version of the container image that's used for function - invocations. Note that this is not the same key that's used to - protect your container image in the Amazon Elastic Container Registry - (Amazon ECR). For more information, see [Function - lifecycle](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle). - - If you don't provide a customer managed key, Lambda uses an [Amazon Web - Services owned - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk) - or an [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). - """ - tracing_config: TracingConfigResponse | None = ... - """The function's X-Ray tracing configuration.""" - master_arn: str | None = ... - """For Lambda@Edge functions, the ARN of the main function.""" - revision_id: str | None = ... - """The latest updated revision of the function or alias.""" - layers: list[Layer] | None = ... - """ - The function's - [layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). - """ - state: str | None = ... - """ - The current state of the function. When the state is `Inactive`, you can - reactivate the function by invoking it. - """ - state_reason: str | None = ... - """The reason for the function's current state.""" - state_reason_code: str | None = ... - """ - The reason code for the function's current state. When the code is - `Creating`, you can't invoke or modify the function. - """ - last_update_status: str | None = ... - """ - The status of the last update that was performed on the function. This - is first set to `Successful` after function creation completes. - """ - last_update_status_reason: str | None = ... - """The reason for the last update that was performed on the function.""" - last_update_status_reason_code: str | None = ... - """The reason code for the last update that was performed on the function.""" - file_system_configs: list[FileSystemConfig] | None = ... - """ - Connection settings for an [Amazon EFS file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html) - or an [Amazon S3 file - system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). - """ - signing_profile_version_arn: str | None = ... - """The ARN of the signing profile version.""" - signing_job_arn: str | None = ... - """The ARN of the signing job.""" - package_type: str | None = ... - """ - The type of deployment package. Set to `Image` for container image and - set `Zip` for .zip file archive. - """ - image_config_response: ImageConfigResponse | None = ... - """The function's image configuration values.""" - architectures: list[str] | None = ... - """ - The instruction set architecture that the function supports. - Architecture is a string array with one of the valid values. The default - architecture value is `x86_64`. - """ - ephemeral_storage: EphemeralStorage | None = ... - """ - The size of the function's `/tmp` directory in MB. The default value is - 512, but can be any whole number between 512 and 10,240 MB. For more - information, see [Configuring ephemeral storage - (console)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). - """ - snap_start: SnapStartResponse | None = ... - """ - Set `ApplyOn` to `PublishedVersions` to create a snapshot of the - initialized execution environment when you publish a function version. - For more information, see [Improving startup performance with Lambda - SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). - """ - runtime_version_config: RuntimeVersionConfig | None = ... - """The ARN of the runtime and any errors that occured.""" - logging_config: LoggingConfig | None = ... - """The function's Amazon CloudWatch Logs configuration settings.""" - tenancy_config: TenancyConfig | None = ... - """ - The function's tenant isolation configuration settings. Determines - whether the Lambda function runs on a shared or dedicated infrastructure - per unique tenant. - """ - capacity_provider_config: CapacityProviderConfig | None = ... - """ - Configuration for the capacity provider that manages compute resources - for Lambda functions. - """ - config_sha256: str | None = ... - """The SHA256 hash of the function configuration.""" - durable_config: DurableConfig | None = ... - """ - The function's durable execution configuration settings, if the - function is configured for durability. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFunctionEventInvokeConfigInput(_SerdeShape): - """Dataclass for UpdateFunctionEventInvokeConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function, version, or alias. - - **Name formats** - - - **Function name** - `my-function` (name-only), `my-function:v1` (with - alias). - - - **Function ARN** - - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** - `123456789012:function:my-function`. - - You can append a version number or alias to any of the formats. The - length constraint applies only to the full ARN. If you specify only the - function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """A version number or alias name.""" - maximum_retry_attempts: int | None = ... - """The maximum number of times to retry when the function returns an error.""" - maximum_event_age_in_seconds: int | None = ... - """ - The maximum age of a request that Lambda sends to a function for - processing. - """ - destination_config: DestinationConfig | None = ... - """ - A destination for events after they have been sent to a function for - processing. - - **Destinations** - - - **Function** - The Amazon Resource Name (ARN) of a Lambda function. - - - **Queue** - The ARN of a standard SQS queue. - - - **Bucket** - The ARN of an Amazon S3 bucket. - - - **Topic** - The ARN of a standard SNS topic. - - - **Event Bus** - The ARN of an Amazon EventBridge event bus. - - Note: - S3 buckets are supported only for on-failure destinations. To retain - records of successful invocations, use another destination type. - """ - -@dataclass(kw_only=True) -class UpdateFunctionEventInvokeConfigOutput(_SerdeShape): - """Dataclass for UpdateFunctionEventInvokeConfigOutput structure.""" - - last_modified: datetime | None = ... - """The date and time that the configuration was last updated.""" - function_arn: str | None = ... - """The Amazon Resource Name (ARN) of the function.""" - maximum_retry_attempts: int | None = ... - """The maximum number of times to retry when the function returns an error.""" - maximum_event_age_in_seconds: int | None = ... - """ - The maximum age of a request that Lambda sends to a function for - processing. - """ - destination_config: DestinationConfig | None = ... - """ - A destination for events after they have been sent to a function for - processing. - - **Destinations** - - - **Function** - The Amazon Resource Name (ARN) of a Lambda function. - - - **Queue** - The ARN of a standard SQS queue. - - - **Bucket** - The ARN of an Amazon S3 bucket. - - - **Topic** - The ARN of a standard SNS topic. - - - **Event Bus** - The ARN of an Amazon EventBridge event bus. - - Note: - S3 buckets are supported only for on-failure destinations. To retain - records of successful invocations, use another destination type. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateFunctionUrlConfigInput(_SerdeShape): - """Dataclass for UpdateFunctionUrlConfigInput structure.""" - - function_name: str | None = ... - """ - The name or ARN of the Lambda function. - - **Name formats** - - - **Function name** -- `my-function`. - - - **Function ARN** -- - `arn:aws:lambda:us-west-2:123456789012:function:my-function`. - - - **Partial ARN** -- `123456789012:function:my-function`. - - The length constraint applies only to the full ARN. If you specify only - the function name, it is limited to 64 characters in length. - """ - qualifier: str | None = ... - """The alias name.""" - auth_type: str | None = ... - """ - The type of authentication that your function URL uses. Set to `AWS_IAM` - if you want to restrict access to authenticated users only. Set to - `NONE` if you want to bypass IAM authentication to create a public - endpoint. For more information, see [Control access to Lambda function - URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). - """ - cors: Cors | None = ... - """ - The [cross-origin resource sharing - (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings - for your function URL. - """ - invoke_mode: str | None = ... - """ - Use one of the following options: - - - `BUFFERED` -- This is the default option. Lambda invokes your function - using the `Invoke` API operation. Invocation results are available - when the payload is complete. The maximum payload size is 6 MB. - - - `RESPONSE_STREAM` -- Your function streams payload results as they - become available. Lambda invokes your function using the - `InvokeWithResponseStream` API operation. The maximum response payload - size is 200 MB. - """ - -@dataclass(kw_only=True) -class UpdateFunctionUrlConfigOutput(_SerdeShape): - """Dataclass for UpdateFunctionUrlConfigOutput structure.""" - - function_url: str - """The HTTP URL endpoint for your function.""" - function_arn: str - """The Amazon Resource Name (ARN) of your function.""" - auth_type: str - """ - The type of authentication that your function URL uses. Set to `AWS_IAM` - if you want to restrict access to authenticated users only. Set to - `NONE` if you want to bypass IAM authentication to create a public - endpoint. For more information, see [Control access to Lambda function - URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). - """ - cors: Cors | None = ... - """ - The [cross-origin resource sharing - (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings - for your function URL. - """ - creation_time: str - """ - When the function URL was created, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - last_modified_time: str - """ - When the function URL configuration was last updated, in [ISO-8601 - format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). - """ - invoke_mode: str | None = ... - """ - Use one of the following options: - - - `BUFFERED` -- This is the default option. Lambda invokes your function - using the `Invoke` API operation. Invocation results are available - when the payload is complete. The maximum payload size is 6 MB. - - - `RESPONSE_STREAM` -- Your function streams payload results as they - become available. Lambda invokes your function using the - `InvokeWithResponseStream` API operation. The maximum response payload - size is 200 MB. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class UpdateRuntimeOn(UnknownEnumMixin, StrEnum): - AUTO = "Auto" - MANUAL = "Manual" - FUNCTION_UPDATE = "FunctionUpdate" - -@dataclass(kw_only=True) -class VpcConfig(_SerdeShape): - """ - The VPC security groups and subnets that are attached to a Lambda - function. For more information, see [Configuring a Lambda function to - access resources in a - VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). - """ - - subnet_ids: list[str] | None = ... - """A list of VPC subnet IDs.""" - security_group_ids: list[str] | None = ... - """A list of VPC security group IDs.""" - ipv6_allowed_for_dual_stack: bool | None = ... - """ - Allows outbound IPv6 traffic on VPC functions that are connected to - dual-stack subnets. - """ - -@dataclass(kw_only=True) -class VpcConfigResponse(_SerdeShape): - """ - The VPC security groups and subnets that are attached to a Lambda - function. - """ - - subnet_ids: list[str] | None = ... - """A list of VPC subnet IDs.""" - security_group_ids: list[str] | None = ... - """A list of VPC security group IDs.""" - vpc_id: str | None = ... - """The ID of the VPC.""" - ipv6_allowed_for_dual_stack: bool | None = ... - """ - Allows outbound IPv6 traffic on VPC functions that are connected to - dual-stack subnets. - """ - -@dataclass(kw_only=True) -class WaitCancelledDetails(_SerdeShape): - """Details about a wait operation that was cancelled.""" - - error: EventError | None = ... - """Details about why the wait operation was cancelled.""" - -@dataclass(kw_only=True) -class WaitDetails(_SerdeShape): - """Details about a wait operation.""" - - scheduled_end_timestamp: datetime | None = ... - """ - The date and time when the wait operation is scheduled to complete, in - [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime) - (YYYY-MM-DDThh:mm:ss.sTZD). - """ - -@dataclass(kw_only=True) -class WaitOptions(_SerdeShape): - """Specifies how long to pause the durable execution.""" - - wait_seconds: int | None = ... - """The duration to wait, in seconds.""" - -@dataclass(kw_only=True) -class WaitStartedDetails(_SerdeShape): - """Details about a wait operation that has started.""" - - duration: int - """The duration to wait, in seconds.""" - scheduled_end_timestamp: datetime - """ - The date and time when the wait operation is scheduled to complete, in - [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime) - (YYYY-MM-DDThh:mm:ss.sTZD). - """ - -@dataclass(kw_only=True) -class WaitSucceededDetails(_SerdeShape): - """Details about a wait operation that succeeded.""" - - duration: int | None = ... - """The wait duration, in seconds.""" - ADD_LAYER_VERSION_PERMISSION: APIOperation[ AddLayerVersionPermissionInput, AddLayerVersionPermissionOutput ] diff --git a/clients/aws-sdk-lambda/tests/test_endpoints.py b/clients/aws-sdk-lambda/tests/test_endpoints.py index b7cf5c08e..a4f1fb5ae 100644 --- a/clients/aws-sdk-lambda/tests/test_endpoints.py +++ b/clients/aws-sdk-lambda/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-lex-runtime-v2/pyproject.toml b/clients/aws-sdk-lex-runtime-v2/pyproject.toml index 38bd48f0f..a6a385421 100644 --- a/clients/aws-sdk-lex-runtime-v2/pyproject.toml +++ b/clients/aws-sdk-lex-runtime-v2/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_lex_runtime_v2" version = "0.12.0" -description = "aws_sdk_lex_runtime_v2 client" +description = "Python client for Amazon Lex Runtime V2" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_lex_runtime_v2"] @@ -24,22 +24,22 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ "boto3", - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0", + "smithy_test~=0.3.0", "types-boto3-lite[iam,lexv2-models,sts]", ] diff --git a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas.py b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas.py index 2e06a5917..6914261ac 100644 --- a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas.py +++ b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas.py @@ -1,1284 +1,139 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.lexruntimev2" -_S = "String" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_m = "message" -_sm = "smithy.api#required" -_PN = "ParameterName" -_T = "Text" -_smi = "smithy.api#sensitive" -_ACPM = "ActiveContextParametersMap" -_k = "key" -_v = "value" -_ACN = "ActiveContextName" -_ACTTLIS = "ActiveContextTimeToLiveInSeconds" -_ACTTL = "ActiveContextTurnsToLive" -_ACTTLc = "ActiveContextTimeToLive" -_tTLIS = "timeToLiveInSeconds" -_tTL = "turnsToLive" -_AC = "ActiveContext" -_n = "name" -_tTLi = "timeToLive" -_cA = "contextAttributes" -_ACL = "ActiveContextsList" -_me = "member" -_AT = "AttachmentTitle" -_AU = "AttachmentUrl" -_ACu = "AudioChunk" -_EM = "EpochMillis" -_smit = "smithy.api#default" -_NES = "NonEmptyString" -_EI = "EventId" -_AIE = "AudioInputEvent" -_aC = "audioChunk" -_cT = "contentType" -_eI = "eventId" -_cTM = "clientTimestampMillis" -_ARE = "AudioResponseEvent" -_CE = "ConflictException" -_BAI = "BotAliasIdentifier" -_BI = "BotIdentifier" -_LI = "LocaleId" -_SI = "SessionId" -_DSI = "DeleteSessionInput" -_sSI = "smithy.synthetic#originalShapeId" -_cDSR = "com.amazonaws.lexruntimev2#DeleteSessionRequest" -_smith = "smithy.api#input" -_bI = "botId" -_sL = "smithy.api#httpLabel" -_bAI = "botAliasId" -_lI = "localeId" -_sI = "sessionId" -_DSO = "DeleteSessionOutput" -_cDSRo = "com.amazonaws.lexruntimev2#DeleteSessionResponse" -_smithy = "smithy.api#output" -_ISE = "InternalServerException" -_se = "server" -_RNFE = "ResourceNotFoundException" -_TE = "ThrottlingException" -_VE = "ValidationException" -_DS = "DeleteSession" -_smithya = "smithy.api#http" -_GSI = "GetSessionInput" -_cGSR = "com.amazonaws.lexruntimev2#GetSessionRequest" -_CS = "ConfirmationState" -_CONFIRMED = "CONFIRMED" -_sV = "smithy.api#enumValue" -_C = "Confirmed" -_DENIED = "DENIED" -_D = "Denied" -_NONE = "NONE" -_N = "None" -_Sh = "Shape" -_SCALAR = "SCALAR" -_Sc = "Scalar" -_LIST = "LIST" -_L = "List" -_COMPOSITE = "COMPOSITE" -_Co = "Composite" -_SL = "StringList" -_V = "Value" -_oV = "originalValue" -_iV = "interpretedValue" -_rV = "resolvedValues" -_IS = "IntentState" -_FAILED = "FAILED" -_F = "Failed" -_FULFILLED = "FULFILLED" -_Fu = "Fulfilled" -_IP = "IN_PROGRESS" -_IPn = "InProgress" -_RFF = "READY_FOR_FULFILLMENT" -_RFFe = "ReadyForFulfillment" -_WAITING = "WAITING" -_W = "Waiting" -_FIP = "FULFILLMENT_IN_PROGRESS" -_FIPu = "FulfillmentInProgress" -_ISn = "InterpretationSource" -_BEDROCK = "BEDROCK" -_B = "Bedrock" -_LEX = "LEX" -_Le = "Lex" -_Do = "Double" -_CSo = "ConfidenceScore" -_sc = "score" -_ST = "SentimentType" -_MIXED = "MIXED" -_NEGATIVE = "NEGATIVE" -_NEUTRAL = "NEUTRAL" -_POSITIVE = "POSITIVE" -_SS = "SentimentScore" -_p = "positive" -_ne = "negative" -_neu = "neutral" -_mi = "mixed" -_SR = "SentimentResponse" -_sen = "sentiment" -_sS = "sentimentScore" -_MCT = "MessageContentType" -_CP = "CUSTOM_PAYLOAD" -_CPu = "CustomPayload" -_IRC = "IMAGE_RESPONSE_CARD" -_IRCm = "ImageResponseCard" -_PT = "PLAIN_TEXT" -_PTl = "PlainText" -_SSML = "SSML" -_BT = "ButtonText" -_BV = "ButtonValue" -_Bu = "Button" -_t = "text" -_BL = "ButtonsList" -_ti = "title" -_su = "subtitle" -_iU = "imageUrl" -_b = "buttons" -_M = "Message" -_co = "content" -_iRC = "imageResponseCard" -_Me = "Messages" -_STt = "StyleType" -_DEFAULT = "DEFAULT" -_De = "Default" -_SBL = "SPELL_BY_LETTER" -_SBLp = "SpellByLetter" -_SBW = "SPELL_BY_WORD" -_SBWp = "SpellByWord" -_DAT = "DialogActionType" -_CLOSE = "CLOSE" -_Cl = "Close" -_CI = "CONFIRM_INTENT" -_CIo = "ConfirmIntent" -_DELEGATE = "DELEGATE" -_Del = "Delegate" -_EI_ = "ELICIT_INTENT" -_EIl = "ElicitIntent" -_ES = "ELICIT_SLOT" -_ESl = "ElicitSlot" -_Na = "Name" -_RHP = "RuntimeHintPhrase" -_RHV = "RuntimeHintValue" -_ph = "phrase" -_RHVL = "RuntimeHintValuesList" -_SM = "StringMap" -_BGE = "BadGatewayException" -_DFE = "DependencyFailedException" -_BS = "BlobStream" -_smithyap = "smithy.api#streaming" -_PSO = "PutSessionOutput" -_cPSR = "com.amazonaws.lexruntimev2#PutSessionResponse" -_sH = "smithy.api#httpHeader" -_CT = "Content-Type" -_mes = "messages" -_xalm = "x-amz-lex-messages" -_sSe = "sessionState" -_xalss = "x-amz-lex-session-state" -_rA = "requestAttributes" -_xalra = "x-amz-lex-request-attributes" -_xalsi = "x-amz-lex-session-id" -_aS = "audioStream" -_v_ = "" -_sP = "smithy.api#httpPayload" -_RBM = "RecognizedBotMember" -_bN = "botName" -_SNES = "SensitiveNonEmptyString" -_RUI = "RecognizeUtteranceInput" -_cRUR = "com.amazonaws.lexruntimev2#RecognizeUtteranceRequest" -_rCT = "requestContentType" -_rCTe = "responseContentType" -_RCT = "Response-Content-Type" -_iS = "inputStream" -_RUO = "RecognizeUtteranceOutput" -_cRURo = "com.amazonaws.lexruntimev2#RecognizeUtteranceResponse" -_iM = "inputMode" -_xalim = "x-amz-lex-input-mode" -_i = "interpretations" -_xali = "x-amz-lex-interpretations" -_iT = "inputTranscript" -_xalit = "x-amz-lex-input-transcript" -_rBM = "recognizedBotMember" -_xalrbm = "x-amz-lex-recognized-bot-member" -_RU = "RecognizeUtterance" -_aP = "aws.auth#unsignedPayload" -_CM = "ConversationMode" -_AUDIO = "AUDIO" -_TEXT = "TEXT" -_Bo = "Boolean" -_DE = "DisconnectionEvent" -_DTMFR = "DTMFRegex" -_DTMFIE = "DTMFInputEvent" -_iC = "inputCharacter" -_PCE = "PlaybackCompletionEvent" -_TIE = "TextInputEvent" -_HE = "HeartbeatEvent" -_IM = "InputMode" -_SPEECH = "SPEECH" -_Sp = "Speech" -_DTMF = "DTMF" -_PIR = "PlaybackInterruptionReason" -_DSD = "DTMF_START_DETECTED" -_TD = "TEXT_DETECTED" -_VSD = "VOICE_START_DETECTED" -_PIE = "PlaybackInterruptionEvent" -_eR = "eventReason" -_cBEI = "causedByEventId" -_TRE = "TextResponseEvent" -_TEr = "TranscriptEvent" -_tr = "transcript" -_ESS = "ElicitSubSlot" -_sSTE = "subSlotToElicit" -_DA = "DialogAction" -_ty = "type" -_sTE = "slotToElicit" -_sES = "slotElicitationStyle" -_RHD = "RuntimeHintDetails" -_rHV = "runtimeHintValues" -_sSH = "subSlotHints" -_SHSM = "SlotHintsSlotMap" -_SHIM = "SlotHintsIntentMap" -_RH = "RuntimeHints" -_sHl = "slotHints" -_Sl = "Slot" -_sh = "shape" -_va = "values" -_sSu = "subSlots" -_Slo = "Slots" -_Va = "Values" -_I = "Intent" -_sl = "slots" -_st = "state" -_cS = "confirmationState" -_In = "Interpretation" -_nC = "nluConfidence" -_sR = "sentimentResponse" -_in = "intent" -_iSn = "interpretationSource" -_Int = "Interpretations" -_SSe = "SessionState" -_dA = "dialogAction" -_aCc = "activeContexts" -_sA = "sessionAttributes" -_oRI = "originatingRequestId" -_rH = "runtimeHints" -_CEo = "ConfigurationEvent" -_wM = "welcomeMessages" -_dP = "disablePlayback" -_PSI = "PutSessionInput" -_cPSRo = "com.amazonaws.lexruntimev2#PutSessionRequest" -_RCTe = "ResponseContentType" -_RTI = "RecognizeTextInput" -_cRTR = "com.amazonaws.lexruntimev2#RecognizeTextRequest" -_PS = "PutSession" -_SCRES = "StartConversationRequestEventStream" -_SCI = "StartConversationInput" -_cSCR = "com.amazonaws.lexruntimev2#StartConversationRequest" -_cM = "conversationMode" -_xalcm = "x-amz-lex-conversation-mode" -_rES = "requestEventStream" -_GSO = "GetSessionOutput" -_cGSRo = "com.amazonaws.lexruntimev2#GetSessionResponse" -_IRE = "IntentResultEvent" -_RTO = "RecognizeTextOutput" -_cRTRo = "com.amazonaws.lexruntimev2#RecognizeTextResponse" -_GS = "GetSession" -_SCRESt = "StartConversationResponseEventStream" -_SCO = "StartConversationOutput" -_cSCRo = "com.amazonaws.lexruntimev2#StartConversationResponse" -_rESe = "responseEventStream" -_RT = "RecognizeText" -_SC = "StartConversation" -_A = "AWSDeepSenseRunTimeServiceApi2_0" -_a = "aws.auth#sigv4" -_aw = "aws.api#service" -_aJ = "aws.protocols#restJson1" - -STRING: StaticSchema = (3, n0, _S, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c, _sE: 403}, - (_m,), - ((STRING, 1),), -) - -PARAMETER_NAME: StaticSchema = (3, n0, _PN, 0) - -TEXT: StaticSchema = (3, n0, _T, 4) - -ACTIVE_CONTEXT_PARAMETERS_MAP: StaticSchema = ( - 17, - n0, - _ACPM, - 0, - (_k, _v), - ((PARAMETER_NAME, 0), (TEXT, 0)), -) - -ACTIVE_CONTEXT_NAME: StaticSchema = (3, n0, _ACN, 0) - -ACTIVE_CONTEXT_TIME_TO_LIVE_IN_SECONDS: StaticSchema = (7, n0, _ACTTLIS, 0) - -ACTIVE_CONTEXT_TURNS_TO_LIVE: StaticSchema = (7, n0, _ACTTL, 0) - -ACTIVE_CONTEXT_TIME_TO_LIVE: StaticSchema = ( - 18, - n0, - _ACTTLc, - 0, - (_tTLIS, _tTL), - ((ACTIVE_CONTEXT_TIME_TO_LIVE_IN_SECONDS, 1), (ACTIVE_CONTEXT_TURNS_TO_LIVE, 1)), -) - -ACTIVE_CONTEXT: StaticSchema = ( - 18, - n0, - _AC, - 0, - (_n, _tTLi, _cA), - ( - (ACTIVE_CONTEXT_NAME, 1), - (ACTIVE_CONTEXT_TIME_TO_LIVE, 1), - (ACTIVE_CONTEXT_PARAMETERS_MAP, 1), - ), -) - -ACTIVE_CONTEXTS_LIST: StaticSchema = (16, n0, _ACL, 0, (_me,), ((ACTIVE_CONTEXT, 0),)) - -ATTACHMENT_TITLE: StaticSchema = (3, n0, _AT, 0) - -ATTACHMENT_URL: StaticSchema = (3, n0, _AU, 0) - -AUDIO_CHUNK: StaticSchema = (1, n0, _ACu, 0) - -EPOCH_MILLIS: StaticSchema = (8, n0, _EM, {_smit: 0}) - -NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) - -EVENT_ID: StaticSchema = (3, n0, _EI, 0) - -AUDIO_INPUT_EVENT: StaticSchema = ( - 18, - n0, - _AIE, - 0, - (_aC, _cT, _eI, _cTM), - ( - (AUDIO_CHUNK, 0), - (NON_EMPTY_STRING, 1), - (EVENT_ID, 0), - (EPOCH_MILLIS, {_smit: 0}), - ), -) - -AUDIO_RESPONSE_EVENT: StaticSchema = ( - 18, - n0, - _ARE, - 0, - (_aC, _cT, _eI), - ((AUDIO_CHUNK, 0), (NON_EMPTY_STRING, 0), (EVENT_ID, 0)), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - {_s: _c, _sE: 409}, - (_m,), - ((STRING, 1),), -) - -BOT_ALIAS_IDENTIFIER: StaticSchema = (3, n0, _BAI, 0) - -BOT_IDENTIFIER: StaticSchema = (3, n0, _BI, 0) - -LOCALE_ID: StaticSchema = (3, n0, _LI, 0) - -SESSION_ID: StaticSchema = (3, n0, _SI, 0) - -DELETE_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _DSI, - {_sSI: _cDSR, _smith: None}, - (_bI, _bAI, _lI, _sI), - ((BOT_IDENTIFIER, 9), (BOT_ALIAS_IDENTIFIER, 9), (LOCALE_ID, 9), (SESSION_ID, 9)), -) - -DELETE_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DSO, - {_sSI: _cDSRo, _smithy: None}, - (_bI, _bAI, _lI, _sI), - ((BOT_IDENTIFIER, 0), (BOT_ALIAS_IDENTIFIER, 0), (LOCALE_ID, 0), (SESSION_ID, 0)), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_s: _se, _sE: 500}, - (_m,), - ((STRING, 1),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c, _sE: 404}, - (_m,), - ((STRING, 1),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - {_s: _c, _sE: 429}, - (_m,), - ((STRING, 1),), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_s: _c, _sE: 400}, - (_m,), - ((STRING, 1),), -) - -DELETE_SESSION: StaticOperationSchema = ( - 23, - n0, - _DS, - { - _smithya: MappingProxyType( - { - "method": "DELETE", - "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", - "code": 200, - } - ) - }, - DELETE_SESSION_INPUT, - DELETE_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _GSI, - {_sSI: _cGSR, _smith: None}, - (_bI, _bAI, _lI, _sI), - ((BOT_IDENTIFIER, 9), (BOT_ALIAS_IDENTIFIER, 9), (LOCALE_ID, 9), (SESSION_ID, 9)), -) - -CONFIRMATION_STATE: StaticSchema = ( - 14, - n0, - _CS, - 0, - (_CONFIRMED, _DENIED, _NONE), - ((-1, {_sV: _C}), (-1, {_sV: _D}), (-1, {_sV: _N})), -) - -SHAPE: StaticSchema = ( - 14, - n0, - _Sh, - 0, - (_SCALAR, _LIST, _COMPOSITE), - ((-1, {_sV: _Sc}), (-1, {_sV: _L}), (-1, {_sV: _Co})), -) - -STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_me,), ((NON_EMPTY_STRING, 0),)) - -VALUE: StaticSchema = ( - 18, - n0, - _V, - 0, - (_oV, _iV, _rV), - ((NON_EMPTY_STRING, 0), (NON_EMPTY_STRING, 1), (STRING_LIST, 0)), -) - -INTENT_STATE: StaticSchema = ( - 14, - n0, - _IS, - 0, - (_FAILED, _FULFILLED, _IP, _RFF, _WAITING, _FIP), - ( - (-1, {_sV: _F}), - (-1, {_sV: _Fu}), - (-1, {_sV: _IPn}), - (-1, {_sV: _RFFe}), - (-1, {_sV: _W}), - (-1, {_sV: _FIPu}), - ), -) - -INTERPRETATION_SOURCE: StaticSchema = ( - 14, - n0, - _ISn, - 0, - (_BEDROCK, _LEX), - ((-1, {_sV: _B}), (-1, {_sV: _Le})), -) - -DOUBLE: StaticSchema = (10, n0, _Do, {_smit: 0}) - -CONFIDENCE_SCORE: StaticSchema = (18, n0, _CSo, 0, (_sc,), ((DOUBLE, {_smit: 0}),)) - -SENTIMENT_TYPE: StaticSchema = ( - 14, - n0, - _ST, - 0, - (_MIXED, _NEGATIVE, _NEUTRAL, _POSITIVE), - ( - (-1, {_sV: _MIXED}), - (-1, {_sV: _NEGATIVE}), - (-1, {_sV: _NEUTRAL}), - (-1, {_sV: _POSITIVE}), - ), -) - -SENTIMENT_SCORE: StaticSchema = ( - 18, - n0, - _SS, - 0, - (_p, _ne, _neu, _mi), - ( - (DOUBLE, {_smit: 0}), - (DOUBLE, {_smit: 0}), - (DOUBLE, {_smit: 0}), - (DOUBLE, {_smit: 0}), - ), -) - -SENTIMENT_RESPONSE: StaticSchema = ( - 18, - n0, - _SR, - 0, - (_sen, _sS), - ((SENTIMENT_TYPE, 0), (SENTIMENT_SCORE, 0)), -) - -MESSAGE_CONTENT_TYPE: StaticSchema = ( - 14, - n0, - _MCT, - 0, - (_CP, _IRC, _PT, _SSML), - ((-1, {_sV: _CPu}), (-1, {_sV: _IRCm}), (-1, {_sV: _PTl}), (-1, {_sV: _SSML})), -) - -BUTTON_TEXT: StaticSchema = (3, n0, _BT, 0) - -BUTTON_VALUE: StaticSchema = (3, n0, _BV, 0) - -BUTTON: StaticSchema = (18, n0, _Bu, 0, (_t, _v), ((BUTTON_TEXT, 1), (BUTTON_VALUE, 1))) - -BUTTONS_LIST: StaticSchema = (16, n0, _BL, 0, (_me,), ((BUTTON, 0),)) - -IMAGE_RESPONSE_CARD: StaticSchema = ( - 18, - n0, - _IRCm, - 0, - (_ti, _su, _iU, _b), - ( - (ATTACHMENT_TITLE, 1), - (ATTACHMENT_TITLE, 0), - (ATTACHMENT_URL, 0), - (BUTTONS_LIST, 0), - ), -) - -MESSAGE: StaticSchema = ( - 18, - n0, - _M, - 0, - (_co, _cT, _iRC), - ((TEXT, 0), (MESSAGE_CONTENT_TYPE, 1), (IMAGE_RESPONSE_CARD, 0)), -) - -MESSAGES: StaticSchema = (16, n0, _Me, 0, (_me,), ((MESSAGE, 0),)) - -STYLE_TYPE: StaticSchema = ( - 14, - n0, - _STt, - 0, - (_DEFAULT, _SBL, _SBW), - ((-1, {_sV: _De}), (-1, {_sV: _SBLp}), (-1, {_sV: _SBWp})), -) - -DIALOG_ACTION_TYPE: StaticSchema = ( - 14, - n0, - _DAT, - 0, - (_CLOSE, _CI, _DELEGATE, _EI_, _ES, _NONE), - ( - (-1, {_sV: _Cl}), - (-1, {_sV: _CIo}), - (-1, {_sV: _Del}), - (-1, {_sV: _EIl}), - (-1, {_sV: _ESl}), - (-1, {_sV: _N}), - ), -) - -NAME: StaticSchema = (3, n0, _Na, 0) - -RUNTIME_HINT_PHRASE: StaticSchema = (3, n0, _RHP, 0) - -RUNTIME_HINT_VALUE: StaticSchema = ( - 18, - n0, - _RHV, - 0, - (_ph,), - ((RUNTIME_HINT_PHRASE, 1),), -) - -RUNTIME_HINT_VALUES_LIST: StaticSchema = ( - 16, - n0, - _RHVL, - 0, - (_me,), - ((RUNTIME_HINT_VALUE, 0),), -) - -STRING_MAP: StaticSchema = ( - 17, - n0, - _SM, - 0, - (_k, _v), - ((NON_EMPTY_STRING, 0), (STRING, 0)), -) - -BAD_GATEWAY_EXCEPTION: StaticSchema = ( - 18, - n0, - _BGE, - {_s: _se, _sE: 502}, - (_m,), - ((STRING, 1),), -) - -DEPENDENCY_FAILED_EXCEPTION: StaticSchema = ( - 18, - n0, - _DFE, - {_s: _c, _sE: 424}, - (_m,), - ((STRING, 1),), -) - -BLOB_STREAM: StaticSchema = (1, n0, _BS, {_smithyap: None}) - -PUT_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _PSO, - {_sSI: _cPSR, _smithy: None}, - (_cT, _mes, _sSe, _rA, _sI, _aS), - ( - (NON_EMPTY_STRING, {_sH: _CT}), - (NON_EMPTY_STRING, {_sH: _xalm}), - (NON_EMPTY_STRING, {_sH: _xalss}), - (NON_EMPTY_STRING, {_sH: _xalra}), - (SESSION_ID, {_sH: _xalsi}), - (BLOB_STREAM, {_smit: _v_, _sP: None}), - ), -) - -RECOGNIZED_BOT_MEMBER: StaticSchema = ( - 18, - n0, - _RBM, - 0, - (_bI, _bN), - ((BOT_IDENTIFIER, 1), (NAME, 0)), -) - -SENSITIVE_NON_EMPTY_STRING: StaticSchema = (3, n0, _SNES, 4) - -RECOGNIZE_UTTERANCE_INPUT: StaticSchema = ( - 18, - n0, - _RUI, - {_sSI: _cRUR, _smith: None}, - (_bI, _bAI, _lI, _sI, _sSe, _rA, _rCT, _rCTe, _iS), - ( - (BOT_IDENTIFIER, 9), - (BOT_ALIAS_IDENTIFIER, 9), - (LOCALE_ID, 9), - (SESSION_ID, 9), - (SENSITIVE_NON_EMPTY_STRING, {_sH: _xalss}), - (SENSITIVE_NON_EMPTY_STRING, {_sH: _xalra}), - (NON_EMPTY_STRING, {_sH: _CT, _sm: None}), - (NON_EMPTY_STRING, {_sH: _RCT}), - (BLOB_STREAM, {_smit: _v_, _sP: None}), - ), -) - -RECOGNIZE_UTTERANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _RUO, - {_sSI: _cRURo, _smithy: None}, - (_iM, _cT, _mes, _i, _sSe, _rA, _sI, _iT, _aS, _rBM), - ( - (NON_EMPTY_STRING, {_sH: _xalim}), - (NON_EMPTY_STRING, {_sH: _CT}), - (NON_EMPTY_STRING, {_sH: _xalm}), - (NON_EMPTY_STRING, {_sH: _xali}), - (NON_EMPTY_STRING, {_sH: _xalss}), - (NON_EMPTY_STRING, {_sH: _xalra}), - (SESSION_ID, {_sH: _xalsi}), - (NON_EMPTY_STRING, {_sH: _xalit}), - (BLOB_STREAM, {_smit: _v_, _sP: None}), - (NON_EMPTY_STRING, {_sH: _xalrbm}), - ), -) - -RECOGNIZE_UTTERANCE: StaticOperationSchema = ( - 23, - n0, - _RU, - { - _aP: None, - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", - "code": 200, - } - ), - }, - RECOGNIZE_UTTERANCE_INPUT, - RECOGNIZE_UTTERANCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONVERSATION_MODE: StaticSchema = ( - 14, - n0, - _CM, - 0, - (_AUDIO, _TEXT), - ((-1, {_sV: _AUDIO}), (-1, {_sV: _TEXT})), -) - -BOOLEAN: StaticSchema = (2, n0, _Bo, {_smit: False}) - -DISCONNECTION_EVENT: StaticSchema = ( - 18, - n0, - _DE, - 0, - (_eI, _cTM), - ((EVENT_ID, 0), (EPOCH_MILLIS, {_smit: 0})), -) - -DTMF_REGEX: StaticSchema = (3, n0, _DTMFR, 4) - -DTMF_INPUT_EVENT: StaticSchema = ( - 18, - n0, - _DTMFIE, - 0, - (_iC, _eI, _cTM), - ((DTMF_REGEX, 1), (EVENT_ID, 0), (EPOCH_MILLIS, {_smit: 0})), -) - -PLAYBACK_COMPLETION_EVENT: StaticSchema = ( - 18, - n0, - _PCE, - 0, - (_eI, _cTM), - ((EVENT_ID, 0), (EPOCH_MILLIS, {_smit: 0})), -) - -TEXT_INPUT_EVENT: StaticSchema = ( - 18, - n0, - _TIE, - 0, - (_t, _eI, _cTM), - ((TEXT, 1), (EVENT_ID, 0), (EPOCH_MILLIS, {_smit: 0})), -) - -HEARTBEAT_EVENT: StaticSchema = (18, n0, _HE, 0, (_eI,), ((EVENT_ID, 0),)) - -INPUT_MODE: StaticSchema = ( - 14, - n0, - _IM, - 0, - (_TEXT, _SPEECH, _DTMF), - ((-1, {_sV: _T}), (-1, {_sV: _Sp}), (-1, {_sV: _DTMF})), -) - -PLAYBACK_INTERRUPTION_REASON: StaticSchema = ( - 14, - n0, - _PIR, - 0, - (_DSD, _TD, _VSD), - ((-1, {_sV: _DSD}), (-1, {_sV: _TD}), (-1, {_sV: _VSD})), -) - -PLAYBACK_INTERRUPTION_EVENT: StaticSchema = ( - 18, - n0, - _PIE, - 0, - (_eR, _cBEI, _eI), - ((PLAYBACK_INTERRUPTION_REASON, 0), (EVENT_ID, 0), (EVENT_ID, 0)), -) - -TEXT_RESPONSE_EVENT: StaticSchema = ( - 18, - n0, - _TRE, - 0, - (_mes, _eI), - ((MESSAGES, 0), (EVENT_ID, 0)), -) - -TRANSCRIPT_EVENT: StaticSchema = ( - 18, - n0, - _TEr, - 0, - (_tr, _eI), - ((STRING, 0), (EVENT_ID, 0)), -) - -ELICIT_SUB_SLOT: StaticSchema = ( - 18, - n0, - _ESS, - 0, - (_n, _sSTE), - ((NON_EMPTY_STRING, 1), (lambda: ELICIT_SUB_SLOT, 0)), -) - -DIALOG_ACTION: StaticSchema = ( - 18, - n0, - _DA, - 0, - (_ty, _sTE, _sES, _sSTE), - ( - (DIALOG_ACTION_TYPE, 1), - (NON_EMPTY_STRING, 0), - (STYLE_TYPE, 0), - (ELICIT_SUB_SLOT, 0), - ), -) - -RUNTIME_HINT_DETAILS: StaticSchema = ( - 18, - n0, - _RHD, - 0, - (_rHV, _sSH), - ((RUNTIME_HINT_VALUES_LIST, 0), (lambda: SLOT_HINTS_SLOT_MAP, 0)), -) - -SLOT_HINTS_SLOT_MAP: StaticSchema = ( - 17, - n0, - _SHSM, - 0, - (_k, _v), - ((NAME, 0), (RUNTIME_HINT_DETAILS, 0)), -) - -SLOT_HINTS_INTENT_MAP: StaticSchema = ( - 17, - n0, - _SHIM, - 0, - (_k, _v), - ((NAME, 0), (SLOT_HINTS_SLOT_MAP, 0)), -) - -RUNTIME_HINTS: StaticSchema = (18, n0, _RH, 0, (_sHl,), ((SLOT_HINTS_INTENT_MAP, 0),)) - -SLOT: StaticSchema = ( - 18, - n0, - _Sl, - 0, - (_v, _sh, _va, _sSu), - ((VALUE, 0), (SHAPE, 0), (lambda: VALUES, 0), (lambda: SLOTS, 0)), -) - -SLOTS: StaticSchema = (17, n0, _Slo, 0, (_k, _v), ((NON_EMPTY_STRING, 0), (SLOT, 0))) - -VALUES: StaticSchema = (16, n0, _Va, 0, (_me,), ((SLOT, 0),)) - -INTENT: StaticSchema = ( - 18, - n0, - _I, - 0, - (_n, _sl, _st, _cS), - ((NON_EMPTY_STRING, 1), (SLOTS, 0), (INTENT_STATE, 0), (CONFIRMATION_STATE, 0)), -) - -INTERPRETATION: StaticSchema = ( - 18, - n0, - _In, - 0, - (_nC, _sR, _in, _iSn), - ( - (CONFIDENCE_SCORE, 0), - (SENTIMENT_RESPONSE, 0), - (INTENT, 0), - (INTERPRETATION_SOURCE, 0), - ), -) - -INTERPRETATIONS: StaticSchema = (16, n0, _Int, 0, (_me,), ((INTERPRETATION, 0),)) - -SESSION_STATE: StaticSchema = ( - 18, - n0, - _SSe, - 0, - (_dA, _in, _aCc, _sA, _oRI, _rH), - ( - (DIALOG_ACTION, 0), - (INTENT, 0), - (ACTIVE_CONTEXTS_LIST, 0), - (STRING_MAP, 0), - (NON_EMPTY_STRING, 0), - (RUNTIME_HINTS, 0), - ), -) - -CONFIGURATION_EVENT: StaticSchema = ( - 18, - n0, - _CEo, - 0, - (_rA, _rCTe, _sSe, _wM, _dP, _eI, _cTM), - ( - (STRING_MAP, 0), - (NON_EMPTY_STRING, 1), - (SESSION_STATE, 0), - (MESSAGES, 0), - (BOOLEAN, {_smit: False}), - (EVENT_ID, 0), - (EPOCH_MILLIS, {_smit: 0}), - ), -) - -PUT_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _PSI, - {_sSI: _cPSRo, _smith: None}, - (_bI, _bAI, _lI, _sI, _mes, _sSe, _rA, _rCTe), - ( - (BOT_IDENTIFIER, 9), - (BOT_ALIAS_IDENTIFIER, 9), - (LOCALE_ID, 9), - (SESSION_ID, 9), - (MESSAGES, 0), - (SESSION_STATE, 1), - (STRING_MAP, 0), - (NON_EMPTY_STRING, {_sH: _RCTe}), - ), -) - -RECOGNIZE_TEXT_INPUT: StaticSchema = ( - 18, - n0, - _RTI, - {_sSI: _cRTR, _smith: None}, - (_bI, _bAI, _lI, _sI, _t, _sSe, _rA), - ( - (BOT_IDENTIFIER, 9), - (BOT_ALIAS_IDENTIFIER, 9), - (LOCALE_ID, 9), - (SESSION_ID, 9), - (TEXT, 1), - (SESSION_STATE, 0), - (STRING_MAP, 0), - ), -) - -PUT_SESSION: StaticOperationSchema = ( - 23, - n0, - _PS, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", - "code": 200, - } - ) - }, - PUT_SESSION_INPUT, - PUT_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -START_CONVERSATION_REQUEST_EVENT_STREAM: StaticSchema = ( - 19, - n0, - _SCRES, - {_smithyap: None}, - (_CEo, _AIE, _DTMFIE, _TIE, _PCE, _DE), - ( - (CONFIGURATION_EVENT, 0), - (AUDIO_INPUT_EVENT, 0), - (DTMF_INPUT_EVENT, 0), - (TEXT_INPUT_EVENT, 0), - (PLAYBACK_COMPLETION_EVENT, 0), - (DISCONNECTION_EVENT, 0), - ), -) - -START_CONVERSATION_INPUT: StaticSchema = ( - 18, - n0, - _SCI, - {_sSI: _cSCR, _smith: None}, - (_bI, _bAI, _lI, _sI, _cM, _rES), - ( - (BOT_IDENTIFIER, 9), - (BOT_ALIAS_IDENTIFIER, 9), - (LOCALE_ID, 9), - (SESSION_ID, 9), - (CONVERSATION_MODE, {_sH: _xalcm}), - (START_CONVERSATION_REQUEST_EVENT_STREAM, 17), - ), -) - -GET_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _GSO, - {_sSI: _cGSRo, _smithy: None}, - (_sI, _mes, _i, _sSe), - ((NON_EMPTY_STRING, 0), (MESSAGES, 0), (INTERPRETATIONS, 0), (SESSION_STATE, 0)), -) - -INTENT_RESULT_EVENT: StaticSchema = ( - 18, - n0, - _IRE, - 0, - (_iM, _i, _sSe, _rA, _sI, _eI, _rBM), - ( - (INPUT_MODE, 0), - (INTERPRETATIONS, 0), - (SESSION_STATE, 0), - (STRING_MAP, 0), - (SESSION_ID, 0), - (EVENT_ID, 0), - (RECOGNIZED_BOT_MEMBER, 0), - ), -) - -RECOGNIZE_TEXT_OUTPUT: StaticSchema = ( - 18, - n0, - _RTO, - {_sSI: _cRTRo, _smithy: None}, - (_mes, _sSe, _i, _rA, _sI, _rBM), - ( - (MESSAGES, 0), - (SESSION_STATE, 0), - (INTERPRETATIONS, 0), - (STRING_MAP, 0), - (SESSION_ID, 0), - (RECOGNIZED_BOT_MEMBER, 0), - ), -) - -GET_SESSION: StaticOperationSchema = ( - 23, - n0, - _GS, - { - _smithya: MappingProxyType( - { - "method": "GET", - "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", - "code": 200, - } - ) - }, - GET_SESSION_INPUT, - GET_SESSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -START_CONVERSATION_RESPONSE_EVENT_STREAM: StaticSchema = ( - 19, - n0, - _SCRESt, - {_smithyap: None}, - (_PIE, _TEr, _IRE, _TRE, _ARE, _HE, _ADE, _RNFE, _VE, _TE, _ISE, _CE, _DFE, _BGE), - ( - (PLAYBACK_INTERRUPTION_EVENT, 0), - (TRANSCRIPT_EVENT, 0), - (INTENT_RESULT_EVENT, 0), - (TEXT_RESPONSE_EVENT, 0), - (AUDIO_RESPONSE_EVENT, 0), - (HEARTBEAT_EVENT, 0), - (ACCESS_DENIED_EXCEPTION, 0), - (RESOURCE_NOT_FOUND_EXCEPTION, 0), - (VALIDATION_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - (INTERNAL_SERVER_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (DEPENDENCY_FAILED_EXCEPTION, 0), - (BAD_GATEWAY_EXCEPTION, 0), - ), -) - -START_CONVERSATION_OUTPUT: StaticSchema = ( - 18, - n0, - _SCO, - {_sSI: _cSCRo, _smithy: None}, - (_rESe,), - ((START_CONVERSATION_RESPONSE_EVENT_STREAM, 16),), -) - -RECOGNIZE_TEXT: StaticOperationSchema = ( - 23, - n0, - _RT, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", - "code": 200, - } - ) - }, - RECOGNIZE_TEXT_INPUT, - RECOGNIZE_TEXT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - BAD_GATEWAY_EXCEPTION, - CONFLICT_EXCEPTION, - DEPENDENCY_FAILED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -START_CONVERSATION: StaticOperationSchema = ( - 23, - n0, - _SC, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation", - "code": 200, - } - ) - }, - START_CONVERSATION_INPUT, - START_CONVERSATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -AWS_DEEP_SENSE_RUN_TIME_SERVICE_API2_0: StaticSchema = ( - 21, - n0, - _A, - { - _a: MappingProxyType({"name": "lex"}), - _aw: MappingProxyType( - { - "sdkId": "Lex Runtime V2", - "arnNamespace": "lex", - "cloudFormationName": "LexRuntimeV2", - "cloudTrailEventSource": "lexruntimev2.amazonaws.com", - "docId": "runtime.lex.v2-2020-08-07", - "endpointPrefix": "runtime-v2-lex", - } - ), - _aJ: MappingProxyType({"http": ("http/1.1", "h2"), "eventStreamHttp": ("h2",)}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "STRING", + "ACCESS_DENIED_EXCEPTION", + "PARAMETER_NAME", + "TEXT", + "ACTIVE_CONTEXT_PARAMETERS_MAP", + "ACTIVE_CONTEXT_NAME", + "ACTIVE_CONTEXT_TIME_TO_LIVE_IN_SECONDS", + "ACTIVE_CONTEXT_TURNS_TO_LIVE", + "ACTIVE_CONTEXT_TIME_TO_LIVE", + "ACTIVE_CONTEXT", + "ACTIVE_CONTEXTS_LIST", + "ATTACHMENT_TITLE", + "ATTACHMENT_URL", + "AUDIO_CHUNK", + "EPOCH_MILLIS", + "NON_EMPTY_STRING", + "EVENT_ID", + "AUDIO_INPUT_EVENT", + "AUDIO_RESPONSE_EVENT", + "CONFLICT_EXCEPTION", + "BOT_ALIAS_IDENTIFIER", + "BOT_IDENTIFIER", + "LOCALE_ID", + "SESSION_ID", + "DELETE_SESSION_INPUT", + "DELETE_SESSION_OUTPUT", + "DELETE_SESSION", + "INTERNAL_SERVER_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION", + "GET_SESSION_INPUT", + "GET_SESSION_OUTPUT", + "GET_SESSION", + "CONFIRMATION_STATE", + "SHAPE", + "STRING_LIST", + "VALUE", + "INTENT_STATE", + "INTERPRETATION_SOURCE", + "DOUBLE", + "CONFIDENCE_SCORE", + "SENTIMENT_TYPE", + "SENTIMENT_SCORE", + "SENTIMENT_RESPONSE", + "MESSAGE_CONTENT_TYPE", + "BUTTON_TEXT", + "BUTTON_VALUE", + "BUTTON", + "BUTTONS_LIST", + "IMAGE_RESPONSE_CARD", + "MESSAGE", + "MESSAGES", + "STYLE_TYPE", + "DIALOG_ACTION_TYPE", + "NAME", + "RUNTIME_HINT_PHRASE", + "RUNTIME_HINT_VALUE", + "RUNTIME_HINT_VALUES_LIST", + "STRING_MAP", + "BAD_GATEWAY_EXCEPTION", + "DEPENDENCY_FAILED_EXCEPTION", + "BLOB_STREAM", + "PUT_SESSION_OUTPUT", + "PUT_SESSION_INPUT", + "PUT_SESSION", + ), + ( + "RECOGNIZED_BOT_MEMBER", + "SENSITIVE_NON_EMPTY_STRING", + "RECOGNIZE_UTTERANCE_INPUT", + "RECOGNIZE_UTTERANCE_OUTPUT", + "RECOGNIZE_UTTERANCE", + "CONVERSATION_MODE", + "BOOLEAN", + "DISCONNECTION_EVENT", + "DTMF_REGEX", + "DTMF_INPUT_EVENT", + "PLAYBACK_COMPLETION_EVENT", + "TEXT_INPUT_EVENT", + "HEARTBEAT_EVENT", + "INPUT_MODE", + "PLAYBACK_INTERRUPTION_REASON", + "PLAYBACK_INTERRUPTION_EVENT", + "TEXT_RESPONSE_EVENT", + "TRANSCRIPT_EVENT", + "ELICIT_SUB_SLOT", + "DIALOG_ACTION", + "RUNTIME_HINT_DETAILS", + "SLOT_HINTS_SLOT_MAP", + "SLOT_HINTS_INTENT_MAP", + "RUNTIME_HINTS", + "SLOT", + "SLOTS", + "VALUES", + "INTENT", + "INTERPRETATION", + "INTERPRETATIONS", + "SESSION_STATE", + "CONFIGURATION_EVENT", + "RECOGNIZE_TEXT_INPUT", + "RECOGNIZE_TEXT_OUTPUT", + "RECOGNIZE_TEXT", + "START_CONVERSATION_REQUEST_EVENT_STREAM", + "START_CONVERSATION_INPUT", + "START_CONVERSATION_OUTPUT", + "START_CONVERSATION", + "INTENT_RESULT_EVENT", + "START_CONVERSATION_RESPONSE_EVENT_STREAM", + "AWS_DEEP_SENSE_RUN_TIME_SERVICE_API2_0", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas_0.py b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas_0.py new file mode 100644 index 000000000..fb2f71196 --- /dev/null +++ b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas_0.py @@ -0,0 +1,706 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.lexruntimev2" +_S = "String" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_sm = "smithy.api#required" +_PN = "ParameterName" +_T = "Text" +_smi = "smithy.api#sensitive" +_ACPM = "ActiveContextParametersMap" +_k = "key" +_v = "value" +_ACN = "ActiveContextName" +_ACTTLIS = "ActiveContextTimeToLiveInSeconds" +_ACTTL = "ActiveContextTurnsToLive" +_ACTTLc = "ActiveContextTimeToLive" +_tTLIS = "timeToLiveInSeconds" +_tTL = "turnsToLive" +_AC = "ActiveContext" +_n = "name" +_tTLi = "timeToLive" +_cA = "contextAttributes" +_ACL = "ActiveContextsList" +_me = "member" +_AT = "AttachmentTitle" +_AU = "AttachmentUrl" +_ACu = "AudioChunk" +_EM = "EpochMillis" +_smit = "smithy.api#default" +_NES = "NonEmptyString" +_EI = "EventId" +_AIE = "AudioInputEvent" +_aC = "audioChunk" +_cT = "contentType" +_eI = "eventId" +_cTM = "clientTimestampMillis" +_ARE = "AudioResponseEvent" +_CE = "ConflictException" +_BAI = "BotAliasIdentifier" +_BI = "BotIdentifier" +_LI = "LocaleId" +_SI = "SessionId" +_DSI = "DeleteSessionInput" +_sSI = "smithy.synthetic#originalShapeId" +_cDSR = "com.amazonaws.lexruntimev2#DeleteSessionRequest" +_smith = "smithy.api#input" +_bI = "botId" +_sL = "smithy.api#httpLabel" +_bAI = "botAliasId" +_lI = "localeId" +_sI = "sessionId" +_DSO = "DeleteSessionOutput" +_cDSRo = "com.amazonaws.lexruntimev2#DeleteSessionResponse" +_smithy = "smithy.api#output" +_ISE = "InternalServerException" +_se = "server" +_RNFE = "ResourceNotFoundException" +_TE = "ThrottlingException" +_VE = "ValidationException" +_DS = "DeleteSession" +_smithya = "smithy.api#http" +_GSI = "GetSessionInput" +_cGSR = "com.amazonaws.lexruntimev2#GetSessionRequest" +_CS = "ConfirmationState" +_CONFIRMED = "CONFIRMED" +_sV = "smithy.api#enumValue" +_C = "Confirmed" +_DENIED = "DENIED" +_D = "Denied" +_NONE = "NONE" +_N = "None" +_Sh = "Shape" +_SCALAR = "SCALAR" +_Sc = "Scalar" +_LIST = "LIST" +_L = "List" +_COMPOSITE = "COMPOSITE" +_Co = "Composite" +_SL = "StringList" +_V = "Value" +_oV = "originalValue" +_iV = "interpretedValue" +_rV = "resolvedValues" +_IS = "IntentState" +_FAILED = "FAILED" +_F = "Failed" +_FULFILLED = "FULFILLED" +_Fu = "Fulfilled" +_IP = "IN_PROGRESS" +_IPn = "InProgress" +_RFF = "READY_FOR_FULFILLMENT" +_RFFe = "ReadyForFulfillment" +_WAITING = "WAITING" +_W = "Waiting" +_FIP = "FULFILLMENT_IN_PROGRESS" +_FIPu = "FulfillmentInProgress" +_ISn = "InterpretationSource" +_BEDROCK = "BEDROCK" +_B = "Bedrock" +_LEX = "LEX" +_Le = "Lex" +_Do = "Double" +_CSo = "ConfidenceScore" +_sc = "score" +_ST = "SentimentType" +_MIXED = "MIXED" +_NEGATIVE = "NEGATIVE" +_NEUTRAL = "NEUTRAL" +_POSITIVE = "POSITIVE" +_SS = "SentimentScore" +_p = "positive" +_ne = "negative" +_neu = "neutral" +_mi = "mixed" +_SR = "SentimentResponse" +_sen = "sentiment" +_sS = "sentimentScore" +_MCT = "MessageContentType" +_CP = "CUSTOM_PAYLOAD" +_CPu = "CustomPayload" +_IRC = "IMAGE_RESPONSE_CARD" +_IRCm = "ImageResponseCard" +_PT = "PLAIN_TEXT" +_PTl = "PlainText" +_SSML = "SSML" +_BT = "ButtonText" +_BV = "ButtonValue" +_Bu = "Button" +_t = "text" +_BL = "ButtonsList" +_ti = "title" +_su = "subtitle" +_iU = "imageUrl" +_b = "buttons" +_M = "Message" +_co = "content" +_iRC = "imageResponseCard" +_Me = "Messages" +_STt = "StyleType" +_DEFAULT = "DEFAULT" +_De = "Default" +_SBL = "SPELL_BY_LETTER" +_SBLp = "SpellByLetter" +_SBW = "SPELL_BY_WORD" +_SBWp = "SpellByWord" +_DAT = "DialogActionType" +_CLOSE = "CLOSE" +_Cl = "Close" +_CI = "CONFIRM_INTENT" +_CIo = "ConfirmIntent" +_DELEGATE = "DELEGATE" +_Del = "Delegate" +_EI_ = "ELICIT_INTENT" +_EIl = "ElicitIntent" +_ES = "ELICIT_SLOT" +_ESl = "ElicitSlot" +_Na = "Name" +_RHP = "RuntimeHintPhrase" +_RHV = "RuntimeHintValue" +_ph = "phrase" +_RHVL = "RuntimeHintValuesList" +_SM = "StringMap" +_BGE = "BadGatewayException" +_DFE = "DependencyFailedException" +_BS = "BlobStream" +_smithyap = "smithy.api#streaming" +_PSO = "PutSessionOutput" +_cPSR = "com.amazonaws.lexruntimev2#PutSessionResponse" +_sH = "smithy.api#httpHeader" +_CT = "Content-Type" +_mes = "messages" +_xalm = "x-amz-lex-messages" +_sSe = "sessionState" +_xalss = "x-amz-lex-session-state" +_rA = "requestAttributes" +_xalra = "x-amz-lex-request-attributes" +_xalsi = "x-amz-lex-session-id" +_aS = "audioStream" +_v_ = "" +_sP = "smithy.api#httpPayload" +_rCTe = "responseContentType" +_i = "interpretations" +_PSI = "PutSessionInput" +_cPSRo = "com.amazonaws.lexruntimev2#PutSessionRequest" +_RCTe = "ResponseContentType" +_PS = "PutSession" +_GSO = "GetSessionOutput" +_cGSRo = "com.amazonaws.lexruntimev2#GetSessionResponse" +_GS = "GetSession" + +STRING: StaticSchema = (3, n0, _S, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c, _sE: 403}, + (_m,), + ((STRING, 1),), +) + +PARAMETER_NAME: StaticSchema = (3, n0, _PN, 0) + +TEXT: StaticSchema = (3, n0, _T, 4) + +ACTIVE_CONTEXT_PARAMETERS_MAP: StaticSchema = ( + 17, + n0, + _ACPM, + 0, + (_k, _v), + ((PARAMETER_NAME, 0), (TEXT, 0)), +) + +ACTIVE_CONTEXT_NAME: StaticSchema = (3, n0, _ACN, 0) + +ACTIVE_CONTEXT_TIME_TO_LIVE_IN_SECONDS: StaticSchema = (7, n0, _ACTTLIS, 0) + +ACTIVE_CONTEXT_TURNS_TO_LIVE: StaticSchema = (7, n0, _ACTTL, 0) + +ACTIVE_CONTEXT_TIME_TO_LIVE: StaticSchema = ( + 18, + n0, + _ACTTLc, + 0, + (_tTLIS, _tTL), + ((ACTIVE_CONTEXT_TIME_TO_LIVE_IN_SECONDS, 1), (ACTIVE_CONTEXT_TURNS_TO_LIVE, 1)), +) + +ACTIVE_CONTEXT: StaticSchema = ( + 18, + n0, + _AC, + 0, + (_n, _tTLi, _cA), + ( + (ACTIVE_CONTEXT_NAME, 1), + (ACTIVE_CONTEXT_TIME_TO_LIVE, 1), + (ACTIVE_CONTEXT_PARAMETERS_MAP, 1), + ), +) + +ACTIVE_CONTEXTS_LIST: StaticSchema = (16, n0, _ACL, 0, (_me,), ((ACTIVE_CONTEXT, 0),)) + +ATTACHMENT_TITLE: StaticSchema = (3, n0, _AT, 0) + +ATTACHMENT_URL: StaticSchema = (3, n0, _AU, 0) + +AUDIO_CHUNK: StaticSchema = (1, n0, _ACu, 0) + +EPOCH_MILLIS: StaticSchema = (8, n0, _EM, {_smit: 0}) + +NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) + +EVENT_ID: StaticSchema = (3, n0, _EI, 0) + +AUDIO_INPUT_EVENT: StaticSchema = ( + 18, + n0, + _AIE, + 0, + (_aC, _cT, _eI, _cTM), + ( + (AUDIO_CHUNK, 0), + (NON_EMPTY_STRING, 1), + (EVENT_ID, 0), + (EPOCH_MILLIS, {_smit: 0}), + ), +) + +AUDIO_RESPONSE_EVENT: StaticSchema = ( + 18, + n0, + _ARE, + 0, + (_aC, _cT, _eI), + ((AUDIO_CHUNK, 0), (NON_EMPTY_STRING, 0), (EVENT_ID, 0)), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + {_s: _c, _sE: 409}, + (_m,), + ((STRING, 1),), +) + +BOT_ALIAS_IDENTIFIER: StaticSchema = (3, n0, _BAI, 0) + +BOT_IDENTIFIER: StaticSchema = (3, n0, _BI, 0) + +LOCALE_ID: StaticSchema = (3, n0, _LI, 0) + +SESSION_ID: StaticSchema = (3, n0, _SI, 0) + +DELETE_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _DSI, + {_sSI: _cDSR, _smith: None}, + (_bI, _bAI, _lI, _sI), + ((BOT_IDENTIFIER, 9), (BOT_ALIAS_IDENTIFIER, 9), (LOCALE_ID, 9), (SESSION_ID, 9)), +) + +DELETE_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DSO, + {_sSI: _cDSRo, _smithy: None}, + (_bI, _bAI, _lI, _sI), + ((BOT_IDENTIFIER, 0), (BOT_ALIAS_IDENTIFIER, 0), (LOCALE_ID, 0), (SESSION_ID, 0)), +) + +DELETE_SESSION: StaticOperationSchema = ( + 23, + n0, + _DS, + { + _smithya: MappingProxyType( + { + "method": "DELETE", + "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", + "code": 200, + } + ) + }, + DELETE_SESSION_INPUT, + DELETE_SESSION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_s: _se, _sE: 500}, + (_m,), + ((STRING, 1),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c, _sE: 404}, + (_m,), + ((STRING, 1),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + {_s: _c, _sE: 429}, + (_m,), + ((STRING, 1),), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_s: _c, _sE: 400}, + (_m,), + ((STRING, 1),), +) + +GET_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _GSI, + {_sSI: _cGSR, _smith: None}, + (_bI, _bAI, _lI, _sI), + ((BOT_IDENTIFIER, 9), (BOT_ALIAS_IDENTIFIER, 9), (LOCALE_ID, 9), (SESSION_ID, 9)), +) + +GET_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _GSO, + {_sSI: _cGSRo, _smithy: None}, + (_sI, _mes, _i, _sSe), + ( + (NON_EMPTY_STRING, 0), + (lambda: MESSAGES, 0), + (lambda: schemas.INTERPRETATIONS, 0), + (lambda: schemas.SESSION_STATE, 0), + ), +) + +GET_SESSION: StaticOperationSchema = ( + 23, + n0, + _GS, + { + _smithya: MappingProxyType( + { + "method": "GET", + "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", + "code": 200, + } + ) + }, + GET_SESSION_INPUT, + GET_SESSION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +CONFIRMATION_STATE: StaticSchema = ( + 14, + n0, + _CS, + 0, + (_CONFIRMED, _DENIED, _NONE), + ((-1, {_sV: _C}), (-1, {_sV: _D}), (-1, {_sV: _N})), +) + +SHAPE: StaticSchema = ( + 14, + n0, + _Sh, + 0, + (_SCALAR, _LIST, _COMPOSITE), + ((-1, {_sV: _Sc}), (-1, {_sV: _L}), (-1, {_sV: _Co})), +) + +STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_me,), ((NON_EMPTY_STRING, 0),)) + +VALUE: StaticSchema = ( + 18, + n0, + _V, + 0, + (_oV, _iV, _rV), + ((NON_EMPTY_STRING, 0), (NON_EMPTY_STRING, 1), (STRING_LIST, 0)), +) + +INTENT_STATE: StaticSchema = ( + 14, + n0, + _IS, + 0, + (_FAILED, _FULFILLED, _IP, _RFF, _WAITING, _FIP), + ( + (-1, {_sV: _F}), + (-1, {_sV: _Fu}), + (-1, {_sV: _IPn}), + (-1, {_sV: _RFFe}), + (-1, {_sV: _W}), + (-1, {_sV: _FIPu}), + ), +) + +INTERPRETATION_SOURCE: StaticSchema = ( + 14, + n0, + _ISn, + 0, + (_BEDROCK, _LEX), + ((-1, {_sV: _B}), (-1, {_sV: _Le})), +) + +DOUBLE: StaticSchema = (10, n0, _Do, {_smit: 0}) + +CONFIDENCE_SCORE: StaticSchema = (18, n0, _CSo, 0, (_sc,), ((DOUBLE, {_smit: 0}),)) + +SENTIMENT_TYPE: StaticSchema = ( + 14, + n0, + _ST, + 0, + (_MIXED, _NEGATIVE, _NEUTRAL, _POSITIVE), + ( + (-1, {_sV: _MIXED}), + (-1, {_sV: _NEGATIVE}), + (-1, {_sV: _NEUTRAL}), + (-1, {_sV: _POSITIVE}), + ), +) + +SENTIMENT_SCORE: StaticSchema = ( + 18, + n0, + _SS, + 0, + (_p, _ne, _neu, _mi), + ( + (DOUBLE, {_smit: 0}), + (DOUBLE, {_smit: 0}), + (DOUBLE, {_smit: 0}), + (DOUBLE, {_smit: 0}), + ), +) + +SENTIMENT_RESPONSE: StaticSchema = ( + 18, + n0, + _SR, + 0, + (_sen, _sS), + ((SENTIMENT_TYPE, 0), (SENTIMENT_SCORE, 0)), +) + +MESSAGE_CONTENT_TYPE: StaticSchema = ( + 14, + n0, + _MCT, + 0, + (_CP, _IRC, _PT, _SSML), + ((-1, {_sV: _CPu}), (-1, {_sV: _IRCm}), (-1, {_sV: _PTl}), (-1, {_sV: _SSML})), +) + +BUTTON_TEXT: StaticSchema = (3, n0, _BT, 0) + +BUTTON_VALUE: StaticSchema = (3, n0, _BV, 0) + +BUTTON: StaticSchema = (18, n0, _Bu, 0, (_t, _v), ((BUTTON_TEXT, 1), (BUTTON_VALUE, 1))) + +BUTTONS_LIST: StaticSchema = (16, n0, _BL, 0, (_me,), ((BUTTON, 0),)) + +IMAGE_RESPONSE_CARD: StaticSchema = ( + 18, + n0, + _IRCm, + 0, + (_ti, _su, _iU, _b), + ( + (ATTACHMENT_TITLE, 1), + (ATTACHMENT_TITLE, 0), + (ATTACHMENT_URL, 0), + (BUTTONS_LIST, 0), + ), +) + +MESSAGE: StaticSchema = ( + 18, + n0, + _M, + 0, + (_co, _cT, _iRC), + ((TEXT, 0), (MESSAGE_CONTENT_TYPE, 1), (IMAGE_RESPONSE_CARD, 0)), +) + +MESSAGES: StaticSchema = (16, n0, _Me, 0, (_me,), ((MESSAGE, 0),)) + +STYLE_TYPE: StaticSchema = ( + 14, + n0, + _STt, + 0, + (_DEFAULT, _SBL, _SBW), + ((-1, {_sV: _De}), (-1, {_sV: _SBLp}), (-1, {_sV: _SBWp})), +) + +DIALOG_ACTION_TYPE: StaticSchema = ( + 14, + n0, + _DAT, + 0, + (_CLOSE, _CI, _DELEGATE, _EI_, _ES, _NONE), + ( + (-1, {_sV: _Cl}), + (-1, {_sV: _CIo}), + (-1, {_sV: _Del}), + (-1, {_sV: _EIl}), + (-1, {_sV: _ESl}), + (-1, {_sV: _N}), + ), +) + +NAME: StaticSchema = (3, n0, _Na, 0) + +RUNTIME_HINT_PHRASE: StaticSchema = (3, n0, _RHP, 0) + +RUNTIME_HINT_VALUE: StaticSchema = ( + 18, + n0, + _RHV, + 0, + (_ph,), + ((RUNTIME_HINT_PHRASE, 1),), +) + +RUNTIME_HINT_VALUES_LIST: StaticSchema = ( + 16, + n0, + _RHVL, + 0, + (_me,), + ((RUNTIME_HINT_VALUE, 0),), +) + +STRING_MAP: StaticSchema = ( + 17, + n0, + _SM, + 0, + (_k, _v), + ((NON_EMPTY_STRING, 0), (STRING, 0)), +) + +BAD_GATEWAY_EXCEPTION: StaticSchema = ( + 18, + n0, + _BGE, + {_s: _se, _sE: 502}, + (_m,), + ((STRING, 1),), +) + +DEPENDENCY_FAILED_EXCEPTION: StaticSchema = ( + 18, + n0, + _DFE, + {_s: _c, _sE: 424}, + (_m,), + ((STRING, 1),), +) + +BLOB_STREAM: StaticSchema = (1, n0, _BS, {_smithyap: None}) + +PUT_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _PSO, + {_sSI: _cPSR, _smithy: None}, + (_cT, _mes, _sSe, _rA, _sI, _aS), + ( + (NON_EMPTY_STRING, {_sH: _CT}), + (NON_EMPTY_STRING, {_sH: _xalm}), + (NON_EMPTY_STRING, {_sH: _xalss}), + (NON_EMPTY_STRING, {_sH: _xalra}), + (SESSION_ID, {_sH: _xalsi}), + (BLOB_STREAM, {_smit: _v_, _sP: None}), + ), +) + +PUT_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _PSI, + {_sSI: _cPSRo, _smith: None}, + (_bI, _bAI, _lI, _sI, _mes, _sSe, _rA, _rCTe), + ( + (BOT_IDENTIFIER, 9), + (BOT_ALIAS_IDENTIFIER, 9), + (LOCALE_ID, 9), + (SESSION_ID, 9), + (MESSAGES, 0), + (lambda: schemas.SESSION_STATE, 1), + (STRING_MAP, 0), + (NON_EMPTY_STRING, {_sH: _RCTe}), + ), +) + +PUT_SESSION: StaticOperationSchema = ( + 23, + n0, + _PS, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", + "code": 200, + } + ) + }, + PUT_SESSION_INPUT, + PUT_SESSION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + BAD_GATEWAY_EXCEPTION, + CONFLICT_EXCEPTION, + DEPENDENCY_FAILED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas_1.py b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas_1.py new file mode 100644 index 000000000..7b532d440 --- /dev/null +++ b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/_private/schemas_1.py @@ -0,0 +1,678 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.lexruntimev2" +_ADE = "AccessDeniedException" +_sm = "smithy.api#required" +_T = "Text" +_smi = "smithy.api#sensitive" +_k = "key" +_v = "value" +_n = "name" +_me = "member" +_smit = "smithy.api#default" +_AIE = "AudioInputEvent" +_cT = "contentType" +_eI = "eventId" +_cTM = "clientTimestampMillis" +_ARE = "AudioResponseEvent" +_CE = "ConflictException" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_bI = "botId" +_sL = "smithy.api#httpLabel" +_bAI = "botAliasId" +_lI = "localeId" +_sI = "sessionId" +_smithy = "smithy.api#output" +_ISE = "InternalServerException" +_RNFE = "ResourceNotFoundException" +_TE = "ThrottlingException" +_VE = "ValidationException" +_smithya = "smithy.api#http" +_sV = "smithy.api#enumValue" +_t = "text" +_BGE = "BadGatewayException" +_DFE = "DependencyFailedException" +_smithyap = "smithy.api#streaming" +_sH = "smithy.api#httpHeader" +_CT = "Content-Type" +_mes = "messages" +_xalm = "x-amz-lex-messages" +_sSe = "sessionState" +_xalss = "x-amz-lex-session-state" +_rA = "requestAttributes" +_xalra = "x-amz-lex-request-attributes" +_xalsi = "x-amz-lex-session-id" +_aS = "audioStream" +_v_ = "" +_sP = "smithy.api#httpPayload" +_RBM = "RecognizedBotMember" +_bN = "botName" +_SNES = "SensitiveNonEmptyString" +_RUI = "RecognizeUtteranceInput" +_cRUR = "com.amazonaws.lexruntimev2#RecognizeUtteranceRequest" +_rCT = "requestContentType" +_rCTe = "responseContentType" +_RCT = "Response-Content-Type" +_iS = "inputStream" +_RUO = "RecognizeUtteranceOutput" +_cRURo = "com.amazonaws.lexruntimev2#RecognizeUtteranceResponse" +_iM = "inputMode" +_xalim = "x-amz-lex-input-mode" +_i = "interpretations" +_xali = "x-amz-lex-interpretations" +_iT = "inputTranscript" +_xalit = "x-amz-lex-input-transcript" +_rBM = "recognizedBotMember" +_xalrbm = "x-amz-lex-recognized-bot-member" +_RU = "RecognizeUtterance" +_aP = "aws.auth#unsignedPayload" +_CM = "ConversationMode" +_AUDIO = "AUDIO" +_TEXT = "TEXT" +_Bo = "Boolean" +_DE = "DisconnectionEvent" +_DTMFR = "DTMFRegex" +_DTMFIE = "DTMFInputEvent" +_iC = "inputCharacter" +_PCE = "PlaybackCompletionEvent" +_TIE = "TextInputEvent" +_HE = "HeartbeatEvent" +_IM = "InputMode" +_SPEECH = "SPEECH" +_Sp = "Speech" +_DTMF = "DTMF" +_PIR = "PlaybackInterruptionReason" +_DSD = "DTMF_START_DETECTED" +_TD = "TEXT_DETECTED" +_VSD = "VOICE_START_DETECTED" +_PIE = "PlaybackInterruptionEvent" +_eR = "eventReason" +_cBEI = "causedByEventId" +_TRE = "TextResponseEvent" +_TEr = "TranscriptEvent" +_tr = "transcript" +_ESS = "ElicitSubSlot" +_sSTE = "subSlotToElicit" +_DA = "DialogAction" +_ty = "type" +_sTE = "slotToElicit" +_sES = "slotElicitationStyle" +_RHD = "RuntimeHintDetails" +_rHV = "runtimeHintValues" +_sSH = "subSlotHints" +_SHSM = "SlotHintsSlotMap" +_SHIM = "SlotHintsIntentMap" +_RH = "RuntimeHints" +_sHl = "slotHints" +_Sl = "Slot" +_sh = "shape" +_va = "values" +_sSu = "subSlots" +_Slo = "Slots" +_Va = "Values" +_I = "Intent" +_sl = "slots" +_st = "state" +_cS = "confirmationState" +_In = "Interpretation" +_nC = "nluConfidence" +_sR = "sentimentResponse" +_in = "intent" +_iSn = "interpretationSource" +_Int = "Interpretations" +_SSe = "SessionState" +_dA = "dialogAction" +_aCc = "activeContexts" +_sA = "sessionAttributes" +_oRI = "originatingRequestId" +_rH = "runtimeHints" +_CEo = "ConfigurationEvent" +_wM = "welcomeMessages" +_dP = "disablePlayback" +_RTI = "RecognizeTextInput" +_cRTR = "com.amazonaws.lexruntimev2#RecognizeTextRequest" +_SCRES = "StartConversationRequestEventStream" +_SCI = "StartConversationInput" +_cSCR = "com.amazonaws.lexruntimev2#StartConversationRequest" +_cM = "conversationMode" +_xalcm = "x-amz-lex-conversation-mode" +_rES = "requestEventStream" +_IRE = "IntentResultEvent" +_RTO = "RecognizeTextOutput" +_cRTRo = "com.amazonaws.lexruntimev2#RecognizeTextResponse" +_SCRESt = "StartConversationResponseEventStream" +_SCO = "StartConversationOutput" +_cSCRo = "com.amazonaws.lexruntimev2#StartConversationResponse" +_rESe = "responseEventStream" +_RT = "RecognizeText" +_SC = "StartConversation" +_A = "AWSDeepSenseRunTimeServiceApi2_0" +_a = "aws.auth#sigv4" +_aw = "aws.api#service" +_aJ = "aws.protocols#restJson1" + +RECOGNIZED_BOT_MEMBER: StaticSchema = ( + 18, + n0, + _RBM, + 0, + (_bI, _bN), + ((lambda: schemas.BOT_IDENTIFIER, 1), (lambda: schemas.NAME, 0)), +) + +SENSITIVE_NON_EMPTY_STRING: StaticSchema = (3, n0, _SNES, 4) + +RECOGNIZE_UTTERANCE_INPUT: StaticSchema = ( + 18, + n0, + _RUI, + {_sSI: _cRUR, _smith: None}, + (_bI, _bAI, _lI, _sI, _sSe, _rA, _rCT, _rCTe, _iS), + ( + (lambda: schemas.BOT_IDENTIFIER, 9), + (lambda: schemas.BOT_ALIAS_IDENTIFIER, 9), + (lambda: schemas.LOCALE_ID, 9), + (lambda: schemas.SESSION_ID, 9), + (SENSITIVE_NON_EMPTY_STRING, {_sH: _xalss}), + (SENSITIVE_NON_EMPTY_STRING, {_sH: _xalra}), + (lambda: schemas.NON_EMPTY_STRING, {_sH: _CT, _sm: None}), + (lambda: schemas.NON_EMPTY_STRING, {_sH: _RCT}), + (lambda: schemas.BLOB_STREAM, {_smit: _v_, _sP: None}), + ), +) + +RECOGNIZE_UTTERANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _RUO, + {_sSI: _cRURo, _smithy: None}, + (_iM, _cT, _mes, _i, _sSe, _rA, _sI, _iT, _aS, _rBM), + ( + (lambda: schemas.NON_EMPTY_STRING, {_sH: _xalim}), + (lambda: schemas.NON_EMPTY_STRING, {_sH: _CT}), + (lambda: schemas.NON_EMPTY_STRING, {_sH: _xalm}), + (lambda: schemas.NON_EMPTY_STRING, {_sH: _xali}), + (lambda: schemas.NON_EMPTY_STRING, {_sH: _xalss}), + (lambda: schemas.NON_EMPTY_STRING, {_sH: _xalra}), + (lambda: schemas.SESSION_ID, {_sH: _xalsi}), + (lambda: schemas.NON_EMPTY_STRING, {_sH: _xalit}), + (lambda: schemas.BLOB_STREAM, {_smit: _v_, _sP: None}), + (lambda: schemas.NON_EMPTY_STRING, {_sH: _xalrbm}), + ), +) + +RECOGNIZE_UTTERANCE: StaticOperationSchema = ( + 23, + n0, + _RU, + { + _aP: None, + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", + "code": 200, + } + ), + }, + RECOGNIZE_UTTERANCE_INPUT, + RECOGNIZE_UTTERANCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONVERSATION_MODE: StaticSchema = ( + 14, + n0, + _CM, + 0, + (_AUDIO, _TEXT), + ((-1, {_sV: _AUDIO}), (-1, {_sV: _TEXT})), +) + +BOOLEAN: StaticSchema = (2, n0, _Bo, {_smit: False}) + +DISCONNECTION_EVENT: StaticSchema = ( + 18, + n0, + _DE, + 0, + (_eI, _cTM), + ((lambda: schemas.EVENT_ID, 0), (lambda: schemas.EPOCH_MILLIS, {_smit: 0})), +) + +DTMF_REGEX: StaticSchema = (3, n0, _DTMFR, 4) + +DTMF_INPUT_EVENT: StaticSchema = ( + 18, + n0, + _DTMFIE, + 0, + (_iC, _eI, _cTM), + ( + (DTMF_REGEX, 1), + (lambda: schemas.EVENT_ID, 0), + (lambda: schemas.EPOCH_MILLIS, {_smit: 0}), + ), +) + +PLAYBACK_COMPLETION_EVENT: StaticSchema = ( + 18, + n0, + _PCE, + 0, + (_eI, _cTM), + ((lambda: schemas.EVENT_ID, 0), (lambda: schemas.EPOCH_MILLIS, {_smit: 0})), +) + +TEXT_INPUT_EVENT: StaticSchema = ( + 18, + n0, + _TIE, + 0, + (_t, _eI, _cTM), + ( + (lambda: schemas.TEXT, 1), + (lambda: schemas.EVENT_ID, 0), + (lambda: schemas.EPOCH_MILLIS, {_smit: 0}), + ), +) + +HEARTBEAT_EVENT: StaticSchema = ( + 18, + n0, + _HE, + 0, + (_eI,), + ((lambda: schemas.EVENT_ID, 0),), +) + +INPUT_MODE: StaticSchema = ( + 14, + n0, + _IM, + 0, + (_TEXT, _SPEECH, _DTMF), + ((-1, {_sV: _T}), (-1, {_sV: _Sp}), (-1, {_sV: _DTMF})), +) + +PLAYBACK_INTERRUPTION_REASON: StaticSchema = ( + 14, + n0, + _PIR, + 0, + (_DSD, _TD, _VSD), + ((-1, {_sV: _DSD}), (-1, {_sV: _TD}), (-1, {_sV: _VSD})), +) + +PLAYBACK_INTERRUPTION_EVENT: StaticSchema = ( + 18, + n0, + _PIE, + 0, + (_eR, _cBEI, _eI), + ( + (PLAYBACK_INTERRUPTION_REASON, 0), + (lambda: schemas.EVENT_ID, 0), + (lambda: schemas.EVENT_ID, 0), + ), +) + +TEXT_RESPONSE_EVENT: StaticSchema = ( + 18, + n0, + _TRE, + 0, + (_mes, _eI), + ((lambda: schemas.MESSAGES, 0), (lambda: schemas.EVENT_ID, 0)), +) + +TRANSCRIPT_EVENT: StaticSchema = ( + 18, + n0, + _TEr, + 0, + (_tr, _eI), + ((lambda: schemas.STRING, 0), (lambda: schemas.EVENT_ID, 0)), +) + +ELICIT_SUB_SLOT: StaticSchema = ( + 18, + n0, + _ESS, + 0, + (_n, _sSTE), + ((lambda: schemas.NON_EMPTY_STRING, 1), (lambda: ELICIT_SUB_SLOT, 0)), +) + +DIALOG_ACTION: StaticSchema = ( + 18, + n0, + _DA, + 0, + (_ty, _sTE, _sES, _sSTE), + ( + (lambda: schemas.DIALOG_ACTION_TYPE, 1), + (lambda: schemas.NON_EMPTY_STRING, 0), + (lambda: schemas.STYLE_TYPE, 0), + (ELICIT_SUB_SLOT, 0), + ), +) + +RUNTIME_HINT_DETAILS: StaticSchema = ( + 18, + n0, + _RHD, + 0, + (_rHV, _sSH), + ((lambda: schemas.RUNTIME_HINT_VALUES_LIST, 0), (lambda: SLOT_HINTS_SLOT_MAP, 0)), +) + +SLOT_HINTS_SLOT_MAP: StaticSchema = ( + 17, + n0, + _SHSM, + 0, + (_k, _v), + ((lambda: schemas.NAME, 0), (RUNTIME_HINT_DETAILS, 0)), +) + +SLOT_HINTS_INTENT_MAP: StaticSchema = ( + 17, + n0, + _SHIM, + 0, + (_k, _v), + ((lambda: schemas.NAME, 0), (SLOT_HINTS_SLOT_MAP, 0)), +) + +RUNTIME_HINTS: StaticSchema = (18, n0, _RH, 0, (_sHl,), ((SLOT_HINTS_INTENT_MAP, 0),)) + +SLOT: StaticSchema = ( + 18, + n0, + _Sl, + 0, + (_v, _sh, _va, _sSu), + ( + (lambda: schemas.VALUE, 0), + (lambda: schemas.SHAPE, 0), + (lambda: VALUES, 0), + (lambda: SLOTS, 0), + ), +) + +SLOTS: StaticSchema = ( + 17, + n0, + _Slo, + 0, + (_k, _v), + ((lambda: schemas.NON_EMPTY_STRING, 0), (SLOT, 0)), +) + +VALUES: StaticSchema = (16, n0, _Va, 0, (_me,), ((SLOT, 0),)) + +INTENT: StaticSchema = ( + 18, + n0, + _I, + 0, + (_n, _sl, _st, _cS), + ( + (lambda: schemas.NON_EMPTY_STRING, 1), + (SLOTS, 0), + (lambda: schemas.INTENT_STATE, 0), + (lambda: schemas.CONFIRMATION_STATE, 0), + ), +) + +INTERPRETATION: StaticSchema = ( + 18, + n0, + _In, + 0, + (_nC, _sR, _in, _iSn), + ( + (lambda: schemas.CONFIDENCE_SCORE, 0), + (lambda: schemas.SENTIMENT_RESPONSE, 0), + (INTENT, 0), + (lambda: schemas.INTERPRETATION_SOURCE, 0), + ), +) + +INTERPRETATIONS: StaticSchema = (16, n0, _Int, 0, (_me,), ((INTERPRETATION, 0),)) + +SESSION_STATE: StaticSchema = ( + 18, + n0, + _SSe, + 0, + (_dA, _in, _aCc, _sA, _oRI, _rH), + ( + (DIALOG_ACTION, 0), + (INTENT, 0), + (lambda: schemas.ACTIVE_CONTEXTS_LIST, 0), + (lambda: schemas.STRING_MAP, 0), + (lambda: schemas.NON_EMPTY_STRING, 0), + (RUNTIME_HINTS, 0), + ), +) + +CONFIGURATION_EVENT: StaticSchema = ( + 18, + n0, + _CEo, + 0, + (_rA, _rCTe, _sSe, _wM, _dP, _eI, _cTM), + ( + (lambda: schemas.STRING_MAP, 0), + (lambda: schemas.NON_EMPTY_STRING, 1), + (SESSION_STATE, 0), + (lambda: schemas.MESSAGES, 0), + (BOOLEAN, {_smit: False}), + (lambda: schemas.EVENT_ID, 0), + (lambda: schemas.EPOCH_MILLIS, {_smit: 0}), + ), +) + +RECOGNIZE_TEXT_INPUT: StaticSchema = ( + 18, + n0, + _RTI, + {_sSI: _cRTR, _smith: None}, + (_bI, _bAI, _lI, _sI, _t, _sSe, _rA), + ( + (lambda: schemas.BOT_IDENTIFIER, 9), + (lambda: schemas.BOT_ALIAS_IDENTIFIER, 9), + (lambda: schemas.LOCALE_ID, 9), + (lambda: schemas.SESSION_ID, 9), + (lambda: schemas.TEXT, 1), + (SESSION_STATE, 0), + (lambda: schemas.STRING_MAP, 0), + ), +) + +RECOGNIZE_TEXT_OUTPUT: StaticSchema = ( + 18, + n0, + _RTO, + {_sSI: _cRTRo, _smithy: None}, + (_mes, _sSe, _i, _rA, _sI, _rBM), + ( + (lambda: schemas.MESSAGES, 0), + (SESSION_STATE, 0), + (INTERPRETATIONS, 0), + (lambda: schemas.STRING_MAP, 0), + (lambda: schemas.SESSION_ID, 0), + (RECOGNIZED_BOT_MEMBER, 0), + ), +) + +RECOGNIZE_TEXT: StaticOperationSchema = ( + 23, + n0, + _RT, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", + "code": 200, + } + ) + }, + RECOGNIZE_TEXT_INPUT, + RECOGNIZE_TEXT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.BAD_GATEWAY_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +START_CONVERSATION_REQUEST_EVENT_STREAM: StaticSchema = ( + 19, + n0, + _SCRES, + {_smithyap: None}, + (_CEo, _AIE, _DTMFIE, _TIE, _PCE, _DE), + ( + (CONFIGURATION_EVENT, 0), + (lambda: schemas.AUDIO_INPUT_EVENT, 0), + (DTMF_INPUT_EVENT, 0), + (TEXT_INPUT_EVENT, 0), + (PLAYBACK_COMPLETION_EVENT, 0), + (DISCONNECTION_EVENT, 0), + ), +) + +START_CONVERSATION_INPUT: StaticSchema = ( + 18, + n0, + _SCI, + {_sSI: _cSCR, _smith: None}, + (_bI, _bAI, _lI, _sI, _cM, _rES), + ( + (lambda: schemas.BOT_IDENTIFIER, 9), + (lambda: schemas.BOT_ALIAS_IDENTIFIER, 9), + (lambda: schemas.LOCALE_ID, 9), + (lambda: schemas.SESSION_ID, 9), + (CONVERSATION_MODE, {_sH: _xalcm}), + (START_CONVERSATION_REQUEST_EVENT_STREAM, 17), + ), +) + +START_CONVERSATION_OUTPUT: StaticSchema = ( + 18, + n0, + _SCO, + {_sSI: _cSCRo, _smithy: None}, + (_rESe,), + ((lambda: START_CONVERSATION_RESPONSE_EVENT_STREAM, 16),), +) + +START_CONVERSATION: StaticOperationSchema = ( + 23, + n0, + _SC, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation", + "code": 200, + } + ) + }, + START_CONVERSATION_INPUT, + START_CONVERSATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INTENT_RESULT_EVENT: StaticSchema = ( + 18, + n0, + _IRE, + 0, + (_iM, _i, _sSe, _rA, _sI, _eI, _rBM), + ( + (INPUT_MODE, 0), + (INTERPRETATIONS, 0), + (SESSION_STATE, 0), + (lambda: schemas.STRING_MAP, 0), + (lambda: schemas.SESSION_ID, 0), + (lambda: schemas.EVENT_ID, 0), + (RECOGNIZED_BOT_MEMBER, 0), + ), +) + +START_CONVERSATION_RESPONSE_EVENT_STREAM: StaticSchema = ( + 19, + n0, + _SCRESt, + {_smithyap: None}, + (_PIE, _TEr, _IRE, _TRE, _ARE, _HE, _ADE, _RNFE, _VE, _TE, _ISE, _CE, _DFE, _BGE), + ( + (PLAYBACK_INTERRUPTION_EVENT, 0), + (TRANSCRIPT_EVENT, 0), + (INTENT_RESULT_EVENT, 0), + (TEXT_RESPONSE_EVENT, 0), + (lambda: schemas.AUDIO_RESPONSE_EVENT, 0), + (HEARTBEAT_EVENT, 0), + (lambda: schemas.ACCESS_DENIED_EXCEPTION, 0), + (lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, 0), + (lambda: schemas.VALIDATION_EXCEPTION, 0), + (lambda: schemas.THROTTLING_EXCEPTION, 0), + (lambda: schemas.INTERNAL_SERVER_EXCEPTION, 0), + (lambda: schemas.CONFLICT_EXCEPTION, 0), + (lambda: schemas.DEPENDENCY_FAILED_EXCEPTION, 0), + (lambda: schemas.BAD_GATEWAY_EXCEPTION, 0), + ), +) + +AWS_DEEP_SENSE_RUN_TIME_SERVICE_API2_0: StaticSchema = ( + 21, + n0, + _A, + { + _a: MappingProxyType({"name": "lex"}), + _aw: MappingProxyType( + { + "sdkId": "Lex Runtime V2", + "arnNamespace": "lex", + "cloudFormationName": "LexRuntimeV2", + "cloudTrailEventSource": "lexruntimev2.amazonaws.com", + "docId": "runtime.lex.v2-2020-08-07", + "endpointPrefix": "runtime-v2-lex", + } + ), + _aJ: MappingProxyType({"http": ("http/1.1", "h2"), "eventStreamHttp": ("h2",)}), + }, +) diff --git a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/aio/client.py b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/aio/client.py index fbb1adc70..3352ab9ba 100644 --- a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/aio/client.py +++ b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncDuplexEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/aio/config.py b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/aio/config.py index 6254af660..fba493d1b 100644 --- a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/aio/config.py +++ b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/client.py b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/client.py index 368570d9f..59846cad8 100644 --- a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/client.py +++ b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/config.py b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/config.py index 71829a777..36776d6eb 100644 --- a/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/config.py +++ b/clients/aws-sdk-lex-runtime-v2/src/aws_sdk_lex_runtime_v2/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-lex-runtime-v2/tests/test_endpoints.py b/clients/aws-sdk-lex-runtime-v2/tests/test_endpoints.py index 305cc9967..5f56dce5b 100644 --- a/clients/aws-sdk-lex-runtime-v2/tests/test_endpoints.py +++ b/clients/aws-sdk-lex-runtime-v2/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-polly/pyproject.toml b/clients/aws-sdk-polly/pyproject.toml index bf12bf3b3..c48a8ba6b 100644 --- a/clients/aws-sdk-polly/pyproject.toml +++ b/clients/aws-sdk-polly/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_polly" version = "0.12.0" -description = "aws_sdk_polly client" +description = "Python client for Amazon Polly" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_polly"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas.py b/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas.py index ff2323f95..30e166a04 100644 --- a/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas.py +++ b/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas.py @@ -1,1909 +1,172 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.polly" -_A = "Alphabet" -_ARN = "AmazonResourceName" -_AC = "AudioChunk" -_AE = "AudioEvent" -_sP = "smithy.api#eventPayload" -_AS = "AudioStream" -_s = "smithy.api#streaming" -_AEM = "AvailabilityErrorMessage" -_CSE = "CloseStreamEvent" -_CT = "ContentType" -_CATR = "CoralAvailabilityThrottledResource" -_CATRo = "CoralAvailabilityThrottlingReason" -_DT = "DateTime" -_LN = "LexiconName" -_DLI = "DeleteLexiconInput" -_sm = "smithy.api#input" -_N = "Name" -_smi = "smithy.api#required" -_sL = "smithy.api#httpLabel" -_DLO = "DeleteLexiconOutput" -_smit = "smithy.api#output" -_EM = "ErrorMessage" -_LNFE = "LexiconNotFoundException" -_smith = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_m = "message" -_SFE = "ServiceFailureException" -_se = "server" -_DL = "DeleteLexicon" -_smithy = "smithy.api#http" -_E = "Engine" -_STANDARD = "STANDARD" -_sV = "smithy.api#enumValue" -_st = "standard" -_NEURAL = "NEURAL" -_n = "neural" -_LF = "LONG_FORM" -_lf = "long-form" -_GENERATIVE = "GENERATIVE" -_g = "generative" -_IALC = "IncludeAdditionalLanguageCodes" -_smithya = "smithy.api#default" -_LC = "LanguageCode" -_a = "arb" -_cC = "cmn_CN" -_cC_ = "cmn-CN" -_cG = "cy_GB" -_cG_ = "cy-GB" -_dD = "da_DK" -_dD_ = "da-DK" -_dD__ = "de_DE" -_dD___ = "de-DE" -_eA = "en_AU" -_eA_ = "en-AU" -_eG = "en_GB" -_eG_ = "en-GB" -_eGW = "en_GB_WLS" -_eGW_ = "en-GB-WLS" -_eI = "en_IN" -_eI_ = "en-IN" -_eU = "en_US" -_eU_ = "en-US" -_eE = "es_ES" -_eE_ = "es-ES" -_eM = "es_MX" -_eM_ = "es-MX" -_eU__ = "es_US" -_eU___ = "es-US" -_fC = "fr_CA" -_fC_ = "fr-CA" -_fF = "fr_FR" -_fF_ = "fr-FR" -_iI = "is_IS" -_iI_ = "is-IS" -_iI__ = "it_IT" -_iI___ = "it-IT" -_jJ = "ja_JP" -_jJ_ = "ja-JP" -_hI = "hi_IN" -_hI_ = "hi-IN" -_kK = "ko_KR" -_kK_ = "ko-KR" -_nN = "nb_NO" -_nN_ = "nb-NO" -_nN__ = "nl_NL" -_nN___ = "nl-NL" -_pP = "pl_PL" -_pP_ = "pl-PL" -_pB = "pt_BR" -_pB_ = "pt-BR" -_pP__ = "pt_PT" -_pP___ = "pt-PT" -_rR = "ro_RO" -_rR_ = "ro-RO" -_rR__ = "ru_RU" -_rR___ = "ru-RU" -_sS = "sv_SE" -_sS_ = "sv-SE" -_tT = "tr_TR" -_tT_ = "tr-TR" -_eN = "en_NZ" -_eN_ = "en-NZ" -_eZ = "en_ZA" -_eZ_ = "en-ZA" -_cE = "ca_ES" -_cE_ = "ca-ES" -_dA = "de_AT" -_dA_ = "de-AT" -_yC = "yue_CN" -_yC_ = "yue-CN" -_aA = "ar_AE" -_aA_ = "ar-AE" -_fF__ = "fi_FI" -_fF___ = "fi-FI" -_eI__ = "en_IE" -_eI___ = "en-IE" -_nB = "nl_BE" -_nB_ = "nl-BE" -_fB = "fr_BE" -_fB_ = "fr-BE" -_cC__ = "cs_CZ" -_cC___ = "cs-CZ" -_dC = "de_CH" -_dC_ = "de-CH" -_eS = "en_SG" -_eS_ = "en-SG" -_NT = "NextToken" -_DVI = "DescribeVoicesInput" -_sQ = "smithy.api#httpQuery" -_LCL = "LanguageCodeList" -_me = "member" -_G = "Gender" -_F = "Female" -_M = "Male" -_VI = "VoiceId" -_Ad = "Aditi" -_Am = "Amy" -_As = "Astrid" -_B = "Bianca" -_Br = "Brian" -_C = "Camila" -_Ca = "Carla" -_Car = "Carmen" -_Ce = "Celine" -_Ch = "Chantal" -_Co = "Conchita" -_Cr = "Cristiano" -_D = "Dora" -_Em = "Emma" -_En = "Enrique" -_Ew = "Ewa" -_Fi = "Filiz" -_Ga = "Gabrielle" -_Ge = "Geraint" -_Gi = "Giorgio" -_Gw = "Gwyneth" -_H = "Hans" -_I = "Ines" -_Iv = "Ivy" -_J = "Jacek" -_Ja = "Jan" -_Jo = "Joanna" -_Joe = "Joey" -_Ju = "Justin" -_K = "Karl" -_Ke = "Kendra" -_Kev = "Kevin" -_Ki = "Kimberly" -_L = "Lea" -_Li = "Liv" -_Lo = "Lotte" -_Lu = "Lucia" -_Lup = "Lupe" -_Ma = "Mads" -_Maj = "Maja" -_Mar = "Marlene" -_Mat = "Mathieu" -_Matt = "Matthew" -_Max = "Maxim" -_Mi = "Mia" -_Mig = "Miguel" -_Miz = "Mizuki" -_Na = "Naja" -_Ni = "Nicole" -_O = "Olivia" -_P = "Penelope" -_R = "Raveena" -_Ri = "Ricardo" -_Ru = "Ruben" -_Rus = "Russell" -_S = "Salli" -_Se = "Seoyeon" -_T = "Takumi" -_Ta = "Tatyana" -_V = "Vicki" -_Vi = "Vitoria" -_Z = "Zeina" -_Zh = "Zhiyu" -_Ar = "Aria" -_Ay = "Ayanda" -_Arl = "Arlet" -_Ha = "Hannah" -_Art = "Arthur" -_Da = "Daniel" -_Lia = "Liam" -_Pe = "Pedro" -_Ka = "Kajal" -_Hi = "Hiujin" -_La = "Laura" -_El = "Elin" -_Id = "Ida" -_Su = "Suvi" -_Ol = "Ola" -_Hal = "Hala" -_An = "Andres" -_Ser = "Sergio" -_Re = "Remi" -_Adr = "Adriano" -_Th = "Thiago" -_Rut = "Ruth" -_St = "Stephen" -_Kaz = "Kazuha" -_To = "Tomoko" -_Nia = "Niamh" -_So = "Sofie" -_Lis = "Lisa" -_Is = "Isabelle" -_Za = "Zayd" -_Dan = "Danielle" -_Gr = "Gregory" -_Bu = "Burcu" -_Ji = "Jitka" -_Sa = "Sabrina" -_Jas = "Jasmine" -_Jih = "Jihye" -_Amb = "Ambre" -_Be = "Beatrice" -_Fl = "Florian" -_Le = "Lennart" -_Lor = "Lorenzo" -_Ti = "Tiffany" -_Arj = "Arjun" -_Carl = "Carlos" -_Caro = "Carolina" -_Cu = "Curtis" -_Hy = "Hyunduk" -_Ken = "Kenneth" -_Kia = "Kiara" -_Leo = "Leo" -_Nat = "Nate" -_Tin = "Tina" -_LNa = "LanguageName" -_VN = "VoiceName" -_EL = "EngineList" -_Vo = "Voice" -_Id_ = "Id" -_ALC = "AdditionalLanguageCodes" -_SE = "SupportedEngines" -_VL = "VoiceList" -_DVO = "DescribeVoicesOutput" -_Voi = "Voices" -_INTE = "InvalidNextTokenException" -_DV = "DescribeVoices" -_ENSE = "EngineNotSupportedException" -_EMx = "ExceptionMessage" -_Fo = "Force" -_FSC = "FlushStreamConfiguration" -_GLI = "GetLexiconInput" -_LCe = "LexiconContent" -_smithyap = "smithy.api#sensitive" -_Lex = "Lexicon" -_Con = "Content" -_LM = "LastModified" -_LCex = "LexemesCount" -_LA = "LexiconArn" -_Si = "Size" -_LAe = "LexiconAttributes" -_GLO = "GetLexiconOutput" -_GL = "GetLexicon" -_TI = "TaskId" -_GSSTI = "GetSpeechSynthesisTaskInput" -_LNL = "LexiconNameList" -_OF = "OutputFormat" -_JSON = "JSON" -_j = "json" -_MP = "MP3" -_mp = "mp3" -_OO = "OGG_OPUS" -_oo = "ogg_opus" -_OV = "OGG_VORBIS" -_ov = "ogg_vorbis" -_PCM = "PCM" -_p = "pcm" -_MULAW = "MULAW" -_mu = "mulaw" -_ALAW = "ALAW" -_al = "alaw" -_OU = "OutputUri" -_RC = "RequestCharacters" -_SR = "SampleRate" -_STA = "SnsTopicArn" -_SMT = "SpeechMarkType" -_SENTENCE = "SENTENCE" -_sen = "sentence" -_SSML = "SSML" -_ss = "ssml" -_VISEME = "VISEME" -_v = "viseme" -_WORD = "WORD" -_w = "word" -_SMTL = "SpeechMarkTypeList" -_TS = "TaskStatus" -_SCHEDULED = "SCHEDULED" -_sc = "scheduled" -_IP = "IN_PROGRESS" -_iP = "inProgress" -_COMPLETED = "COMPLETED" -_co = "completed" -_FAILED = "FAILED" -_f = "failed" -_TSR = "TaskStatusReason" -_TT = "TextType" -_TEXT = "TEXT" -_t = "text" -_ST = "SynthesisTask" -_CTr = "CreationTime" -_LNe = "LexiconNames" -_SMTp = "SpeechMarkTypes" -_GSSTO = "GetSpeechSynthesisTaskOutput" -_ITIE = "InvalidTaskIdException" -_STNFE = "SynthesisTaskNotFoundException" -_GSST = "GetSpeechSynthesisTask" -_ILE = "InvalidLexiconException" -_ISBE = "InvalidS3BucketException" -_ISKE = "InvalidS3KeyException" -_ISRE = "InvalidSampleRateException" -_ISTAE = "InvalidSnsTopicArnException" -_ISE = "InvalidSsmlException" -_ITPE = "InvalidTagParameterException" -_LNSE = "LanguageNotSupportedException" -_LD = "LexiconDescription" -_At = "Attributes" -_LDL = "LexiconDescriptionList" -_LSEE = "LexiconSizeExceededException" -_LLI = "ListLexiconsInput" -_LLO = "ListLexiconsOutput" -_Lexi = "Lexicons" -_LL = "ListLexicons" -_MR = "MaxResults" -_LSSTI = "ListSpeechSynthesisTasksInput" -_Sta = "Status" -_STy = "SynthesisTasks" -_LSSTO = "ListSpeechSynthesisTasksOutput" -_LSST = "ListSpeechSynthesisTasks" -_LTFRI = "ListTagsForResourceInput" -_RA = "ResourceArn" -_ar = "arn" -_TK = "TagKey" -_TV = "TagValue" -_TM = "TagMap" -_k = "key" -_va = "value" -_LTFRO = "ListTagsForResourceOutput" -_Tag = "Tags" -_RI = "ResourceId" -_RT = "ResourceType" -_LEXICON = "LEXICON" -_l = "lexicon" -_RNFE = "ResourceNotFoundException" -_rI = "resourceId" -_rT = "resourceType" -_TR = "ThrottlingReason" -_r = "reason" -_re = "resource" -_TRL = "ThrottlingReasonList" -_TE = "ThrottlingException" -_aQE = "aws.protocols#awsQueryError" -_tR = "throttlingReasons" -_VEFM = "ValidationExceptionFieldMessage" -_VEFN = "ValidationExceptionFieldName" -_VEF = "ValidationExceptionField" -_na = "name" -_VEFL = "ValidationExceptionFieldList" -_VER = "ValidationExceptionReason" -_UO = "UNSUPPORTED_OPERATION" -_uO = "unsupportedOperation" -_FVF = "FIELD_VALIDATION_FAILED" -_fVF = "fieldValidationFailed" -_OTHER = "OTHER" -_o = "other" -_IIE = "INVALID_INBOUND_EVENT" -_iIE = "invalidInboundEvent" -_VE = "ValidationException" -_fi = "fields" -_LTFR = "ListTagsForResource" -_MNSFFE = "MarksNotSupportedForFormatException" -_MLLEE = "MaxLexemeLengthExceededException" -_MLNEE = "MaxLexiconsNumberExceededException" -_OSBN = "OutputS3BucketName" -_OSKP = "OutputS3KeyPrefix" -_PLI = "PutLexiconInput" -_PLO = "PutLexiconOutput" -_TMTE = "TooManyTagsException" -_UPAE = "UnsupportedPlsAlphabetException" -_UPLE = "UnsupportedPlsLanguageException" -_PL = "PutLexicon" -_QC = "QuotaCode" -_ISIET = "INPUT_STREAM_INBOUND_EVENT_TIMEOUT" -_isiet = "input-stream-inbound-event-timeout" -_IST = "INPUT_STREAM_TIMEOUT" -_ist = "input-stream-timeout" -_SC = "ServiceCode" -_POLLY = "POLLY" -_po = "polly" -_SQEE = "ServiceQuotaExceededException" -_qC = "quotaCode" -_sC = "serviceCode" -_Te = "Text" -_TEe = "TextEvent" -_SSSSAS = "StartSpeechSynthesisStreamActionStream" -_SSSSI = "StartSpeechSynthesisStreamInput" -_sH = "smithy.api#httpHeader" -_xaE = "x-amzn-Engine" -_xaL = "x-amzn-LanguageCode" -_xaL_ = "x-amzn-LexiconNames" -_xaO = "x-amzn-OutputFormat" -_xaS = "x-amzn-SampleRate" -_xaV = "x-amzn-VoiceId" -_ASc = "ActionStream" -_sPm = "smithy.api#httpPayload" -_SCE = "StreamClosedEvent" -_SSSSES = "StartSpeechSynthesisStreamEventStream" -_SSSSO = "StartSpeechSynthesisStreamOutput" -_ES = "EventStream" -_SSSS = "StartSpeechSynthesisStream" -_SMNSFTTE = "SsmlMarksNotSupportedForTextTypeException" -_SSSTI = "StartSpeechSynthesisTaskInput" -_SSSTO = "StartSpeechSynthesisTaskOutput" -_TLEE = "TextLengthExceededException" -_SSST = "StartSpeechSynthesisTask" -_SSI = "SynthesizeSpeechInput" -_SSO = "SynthesizeSpeechOutput" -_v_ = "" -_CT_ = "Content-Type" -_xaR = "x-amzn-RequestCharacters" -_SS = "SynthesizeSpeech" -_TRI = "TagResourceInput" -_TRO = "TagResourceOutput" -_TRa = "TagResource" -_TKL = "TagKeyList" -_URI = "UntagResourceInput" -_TKa = "TagKeys" -_URO = "UntagResourceOutput" -_UR = "UntagResource" -_Pv = "Parrot_v1" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_sN = "smithy.api#xmlNamespace" -_aJ = "aws.protocols#restJson1" - -ALPHABET: StaticSchema = (3, n0, _A, 0) - -AMAZON_RESOURCE_NAME: StaticSchema = (3, n0, _ARN, 0) - -AUDIO_CHUNK: StaticSchema = (1, n0, _AC, 0) - -AUDIO_EVENT: StaticSchema = (18, n0, _AE, 0, (_AC,), ((AUDIO_CHUNK, {_sP: None}),)) - -AUDIO_STREAM: StaticSchema = (1, n0, _AS, {_s: None}) - -AVAILABILITY_ERROR_MESSAGE: StaticSchema = (3, n0, _AEM, 0) - -CLOSE_STREAM_EVENT: StaticSchema = (18, n0, _CSE, 0) - -CONTENT_TYPE: StaticSchema = (3, n0, _CT, 0) - -CORAL_AVAILABILITY_THROTTLED_RESOURCE: StaticSchema = (3, n0, _CATR, 0) - -CORAL_AVAILABILITY_THROTTLING_REASON: StaticSchema = (3, n0, _CATRo, 0) - -DATE_TIME: StaticSchema = (4, n0, _DT, 0) - -LEXICON_NAME: StaticSchema = (3, n0, _LN, 0) - -DELETE_LEXICON_INPUT: StaticSchema = ( - 18, - n0, - _DLI, - {_sm: None}, - (_N,), - ((LEXICON_NAME, 9),), -) - -DELETE_LEXICON_OUTPUT: StaticSchema = (18, n0, _DLO, {_smit: None}) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -LEXICON_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _LNFE, - {_smith: _c, _sE: 404}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -SERVICE_FAILURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SFE, - {_smith: _se, _sE: 500}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -DELETE_LEXICON: StaticOperationSchema = ( - 23, - n0, - _DL, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/v1/lexicons/{Name}", "code": 200} - ) - }, - DELETE_LEXICON_INPUT, - DELETE_LEXICON_OUTPUT, - (LEXICON_NOT_FOUND_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -ENGINE: StaticSchema = ( - 14, - n0, - _E, - 0, - (_STANDARD, _NEURAL, _LF, _GENERATIVE), - ((-1, {_sV: _st}), (-1, {_sV: _n}), (-1, {_sV: _lf}), (-1, {_sV: _g})), -) - -INCLUDE_ADDITIONAL_LANGUAGE_CODES: StaticSchema = (2, n0, _IALC, {_smithya: False}) - -LANGUAGE_CODE: StaticSchema = ( - 14, - n0, - _LC, - 0, - ( - _a, - _cC, - _cG, - _dD, - _dD__, - _eA, - _eG, - _eGW, - _eI, - _eU, - _eE, - _eM, - _eU__, - _fC, - _fF, - _iI, - _iI__, - _jJ, - _hI, - _kK, - _nN, - _nN__, - _pP, - _pB, - _pP__, - _rR, - _rR__, - _sS, - _tT, - _eN, - _eZ, - _cE, - _dA, - _yC, - _aA, - _fF__, - _eI__, - _nB, - _fB, - _cC__, - _dC, - _eS, - ), - ( - (-1, {_sV: _a}), - (-1, {_sV: _cC_}), - (-1, {_sV: _cG_}), - (-1, {_sV: _dD_}), - (-1, {_sV: _dD___}), - (-1, {_sV: _eA_}), - (-1, {_sV: _eG_}), - (-1, {_sV: _eGW_}), - (-1, {_sV: _eI_}), - (-1, {_sV: _eU_}), - (-1, {_sV: _eE_}), - (-1, {_sV: _eM_}), - (-1, {_sV: _eU___}), - (-1, {_sV: _fC_}), - (-1, {_sV: _fF_}), - (-1, {_sV: _iI_}), - (-1, {_sV: _iI___}), - (-1, {_sV: _jJ_}), - (-1, {_sV: _hI_}), - (-1, {_sV: _kK_}), - (-1, {_sV: _nN_}), - (-1, {_sV: _nN___}), - (-1, {_sV: _pP_}), - (-1, {_sV: _pB_}), - (-1, {_sV: _pP___}), - (-1, {_sV: _rR_}), - (-1, {_sV: _rR___}), - (-1, {_sV: _sS_}), - (-1, {_sV: _tT_}), - (-1, {_sV: _eN_}), - (-1, {_sV: _eZ_}), - (-1, {_sV: _cE_}), - (-1, {_sV: _dA_}), - (-1, {_sV: _yC_}), - (-1, {_sV: _aA_}), - (-1, {_sV: _fF___}), - (-1, {_sV: _eI___}), - (-1, {_sV: _nB_}), - (-1, {_sV: _fB_}), - (-1, {_sV: _cC___}), - (-1, {_sV: _dC_}), - (-1, {_sV: _eS_}), - ), -) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -DESCRIBE_VOICES_INPUT: StaticSchema = ( - 18, - n0, - _DVI, - {_sm: None}, - (_E, _LC, _IALC, _NT), - ( - (ENGINE, {_sQ: _E}), - (LANGUAGE_CODE, {_sQ: _LC}), - (INCLUDE_ADDITIONAL_LANGUAGE_CODES, {_smithya: False, _sQ: _IALC}), - (NEXT_TOKEN, {_sQ: _NT}), - ), -) - -LANGUAGE_CODE_LIST: StaticSchema = (16, n0, _LCL, 0, (_me,), ((LANGUAGE_CODE, 0),)) - -GENDER: StaticSchema = (14, n0, _G, 0, (_F, _M), ((-1, {_sV: _F}), (-1, {_sV: _M}))) - -VOICE_ID: StaticSchema = ( - 14, - n0, - _VI, - 0, - ( - _Ad, - _Am, - _As, - _B, - _Br, - _C, - _Ca, - _Car, - _Ce, - _Ch, - _Co, - _Cr, - _D, - _Em, - _En, - _Ew, - _Fi, - _Ga, - _Ge, - _Gi, - _Gw, - _H, - _I, - _Iv, - _J, - _Ja, - _Jo, - _Joe, - _Ju, - _K, - _Ke, - _Kev, - _Ki, - _L, - _Li, - _Lo, - _Lu, - _Lup, - _Ma, - _Maj, - _Mar, - _Mat, - _Matt, - _Max, - _Mi, - _Mig, - _Miz, - _Na, - _Ni, - _O, - _P, - _R, - _Ri, - _Ru, - _Rus, - _S, - _Se, - _T, - _Ta, - _V, - _Vi, - _Z, - _Zh, - _Ar, - _Ay, - _Arl, - _Ha, - _Art, - _Da, - _Lia, - _Pe, - _Ka, - _Hi, - _La, - _El, - _Id, - _Su, - _Ol, - _Hal, - _An, - _Ser, - _Re, - _Adr, - _Th, - _Rut, - _St, - _Kaz, - _To, - _Nia, - _So, - _Lis, - _Is, - _Za, - _Dan, - _Gr, - _Bu, - _Ji, - _Sa, - _Jas, - _Jih, - _Amb, - _Be, - _Fl, - _Le, - _Lor, - _Ti, - _Arj, - _Carl, - _Caro, - _Cu, - _Hy, - _Ken, - _Kia, - _Leo, - _Nat, - _Tin, - ), - ( - (-1, {_sV: _Ad}), - (-1, {_sV: _Am}), - (-1, {_sV: _As}), - (-1, {_sV: _B}), - (-1, {_sV: _Br}), - (-1, {_sV: _C}), - (-1, {_sV: _Ca}), - (-1, {_sV: _Car}), - (-1, {_sV: _Ce}), - (-1, {_sV: _Ch}), - (-1, {_sV: _Co}), - (-1, {_sV: _Cr}), - (-1, {_sV: _D}), - (-1, {_sV: _Em}), - (-1, {_sV: _En}), - (-1, {_sV: _Ew}), - (-1, {_sV: _Fi}), - (-1, {_sV: _Ga}), - (-1, {_sV: _Ge}), - (-1, {_sV: _Gi}), - (-1, {_sV: _Gw}), - (-1, {_sV: _H}), - (-1, {_sV: _I}), - (-1, {_sV: _Iv}), - (-1, {_sV: _J}), - (-1, {_sV: _Ja}), - (-1, {_sV: _Jo}), - (-1, {_sV: _Joe}), - (-1, {_sV: _Ju}), - (-1, {_sV: _K}), - (-1, {_sV: _Ke}), - (-1, {_sV: _Kev}), - (-1, {_sV: _Ki}), - (-1, {_sV: _L}), - (-1, {_sV: _Li}), - (-1, {_sV: _Lo}), - (-1, {_sV: _Lu}), - (-1, {_sV: _Lup}), - (-1, {_sV: _Ma}), - (-1, {_sV: _Maj}), - (-1, {_sV: _Mar}), - (-1, {_sV: _Mat}), - (-1, {_sV: _Matt}), - (-1, {_sV: _Max}), - (-1, {_sV: _Mi}), - (-1, {_sV: _Mig}), - (-1, {_sV: _Miz}), - (-1, {_sV: _Na}), - (-1, {_sV: _Ni}), - (-1, {_sV: _O}), - (-1, {_sV: _P}), - (-1, {_sV: _R}), - (-1, {_sV: _Ri}), - (-1, {_sV: _Ru}), - (-1, {_sV: _Rus}), - (-1, {_sV: _S}), - (-1, {_sV: _Se}), - (-1, {_sV: _T}), - (-1, {_sV: _Ta}), - (-1, {_sV: _V}), - (-1, {_sV: _Vi}), - (-1, {_sV: _Z}), - (-1, {_sV: _Zh}), - (-1, {_sV: _Ar}), - (-1, {_sV: _Ay}), - (-1, {_sV: _Arl}), - (-1, {_sV: _Ha}), - (-1, {_sV: _Art}), - (-1, {_sV: _Da}), - (-1, {_sV: _Lia}), - (-1, {_sV: _Pe}), - (-1, {_sV: _Ka}), - (-1, {_sV: _Hi}), - (-1, {_sV: _La}), - (-1, {_sV: _El}), - (-1, {_sV: _Id}), - (-1, {_sV: _Su}), - (-1, {_sV: _Ol}), - (-1, {_sV: _Hal}), - (-1, {_sV: _An}), - (-1, {_sV: _Ser}), - (-1, {_sV: _Re}), - (-1, {_sV: _Adr}), - (-1, {_sV: _Th}), - (-1, {_sV: _Rut}), - (-1, {_sV: _St}), - (-1, {_sV: _Kaz}), - (-1, {_sV: _To}), - (-1, {_sV: _Nia}), - (-1, {_sV: _So}), - (-1, {_sV: _Lis}), - (-1, {_sV: _Is}), - (-1, {_sV: _Za}), - (-1, {_sV: _Dan}), - (-1, {_sV: _Gr}), - (-1, {_sV: _Bu}), - (-1, {_sV: _Ji}), - (-1, {_sV: _Sa}), - (-1, {_sV: _Jas}), - (-1, {_sV: _Jih}), - (-1, {_sV: _Amb}), - (-1, {_sV: _Be}), - (-1, {_sV: _Fl}), - (-1, {_sV: _Le}), - (-1, {_sV: _Lor}), - (-1, {_sV: _Ti}), - (-1, {_sV: _Arj}), - (-1, {_sV: _Carl}), - (-1, {_sV: _Caro}), - (-1, {_sV: _Cu}), - (-1, {_sV: _Hy}), - (-1, {_sV: _Ken}), - (-1, {_sV: _Kia}), - (-1, {_sV: _Leo}), - (-1, {_sV: _Nat}), - (-1, {_sV: _Tin}), - ), -) - -LANGUAGE_NAME: StaticSchema = (3, n0, _LNa, 0) - -VOICE_NAME: StaticSchema = (3, n0, _VN, 0) - -ENGINE_LIST: StaticSchema = (16, n0, _EL, 0, (_me,), ((ENGINE, 0),)) - -VOICE: StaticSchema = ( - 18, - n0, - _Vo, - 0, - (_G, _Id_, _LC, _LNa, _N, _ALC, _SE), - ( - (GENDER, 0), - (VOICE_ID, 0), - (LANGUAGE_CODE, 0), - (LANGUAGE_NAME, 0), - (VOICE_NAME, 0), - (LANGUAGE_CODE_LIST, 0), - (ENGINE_LIST, 0), - ), -) - -VOICE_LIST: StaticSchema = (16, n0, _VL, 0, (_me,), ((VOICE, 0),)) - -DESCRIBE_VOICES_OUTPUT: StaticSchema = ( - 18, - n0, - _DVO, - {_smit: None}, - (_Voi, _NT), - ((VOICE_LIST, 0), (NEXT_TOKEN, 0)), -) - -INVALID_NEXT_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _INTE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -DESCRIBE_VOICES: StaticOperationSchema = ( - 23, - n0, - _DV, - {_smithy: MappingProxyType({"method": "GET", "uri": "/v1/voices", "code": 200})}, - DESCRIBE_VOICES_INPUT, - DESCRIBE_VOICES_OUTPUT, - (INVALID_NEXT_TOKEN_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -ENGINE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ENSE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -EXCEPTION_MESSAGE: StaticSchema = (3, n0, _EMx, 0) - -FORCE: StaticSchema = (2, n0, _Fo, {_smithya: False}) - -FLUSH_STREAM_CONFIGURATION: StaticSchema = ( - 18, - n0, - _FSC, - 0, - (_Fo,), - ((FORCE, {_smithya: False}),), -) - -GET_LEXICON_INPUT: StaticSchema = ( - 18, - n0, - _GLI, - {_sm: None}, - (_N,), - ((LEXICON_NAME, 9),), -) - -LEXICON_CONTENT: StaticSchema = (3, n0, _LCe, 4) - -LEXICON: StaticSchema = ( - 18, - n0, - _Lex, - 0, - (_Con, _N), - ((LEXICON_CONTENT, 0), (LEXICON_NAME, 0)), -) - -LAST_MODIFIED: StaticSchema = (4, n0, _LM, 0) - -LEXEMES_COUNT: StaticSchema = (7, n0, _LCex, {_smithya: 0}) - -LEXICON_ARN: StaticSchema = (3, n0, _LA, 0) - -SIZE: StaticSchema = (7, n0, _Si, {_smithya: 0}) - -LEXICON_ATTRIBUTES: StaticSchema = ( - 18, - n0, - _LAe, - 0, - (_A, _LC, _LM, _LA, _LCex, _Si), - ( - (ALPHABET, 0), - (LANGUAGE_CODE, 0), - (LAST_MODIFIED, 0), - (LEXICON_ARN, 0), - (LEXEMES_COUNT, {_smithya: 0}), - (SIZE, {_smithya: 0}), - ), -) - -GET_LEXICON_OUTPUT: StaticSchema = ( - 18, - n0, - _GLO, - {_smit: None}, - (_Lex, _LAe), - ((LEXICON, 0), (LEXICON_ATTRIBUTES, 0)), -) - -GET_LEXICON: StaticOperationSchema = ( - 23, - n0, - _GL, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/v1/lexicons/{Name}", "code": 200} - ) - }, - GET_LEXICON_INPUT, - GET_LEXICON_OUTPUT, - (LEXICON_NOT_FOUND_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -TASK_ID: StaticSchema = (3, n0, _TI, 0) - -GET_SPEECH_SYNTHESIS_TASK_INPUT: StaticSchema = ( - 18, - n0, - _GSSTI, - {_sm: None}, - (_TI,), - ((TASK_ID, 9),), -) - -LEXICON_NAME_LIST: StaticSchema = (16, n0, _LNL, 0, (_me,), ((LEXICON_NAME, 0),)) - -OUTPUT_FORMAT: StaticSchema = ( - 14, - n0, - _OF, - 0, - (_JSON, _MP, _OO, _OV, _PCM, _MULAW, _ALAW), - ( - (-1, {_sV: _j}), - (-1, {_sV: _mp}), - (-1, {_sV: _oo}), - (-1, {_sV: _ov}), - (-1, {_sV: _p}), - (-1, {_sV: _mu}), - (-1, {_sV: _al}), - ), -) - -OUTPUT_URI: StaticSchema = (3, n0, _OU, 0) - -REQUEST_CHARACTERS: StaticSchema = (7, n0, _RC, {_smithya: 0}) - -SAMPLE_RATE: StaticSchema = (3, n0, _SR, 0) - -SNS_TOPIC_ARN: StaticSchema = (3, n0, _STA, 0) - -SPEECH_MARK_TYPE: StaticSchema = ( - 14, - n0, - _SMT, - 0, - (_SENTENCE, _SSML, _VISEME, _WORD), - ((-1, {_sV: _sen}), (-1, {_sV: _ss}), (-1, {_sV: _v}), (-1, {_sV: _w})), -) - -SPEECH_MARK_TYPE_LIST: StaticSchema = ( - 16, - n0, - _SMTL, - 0, - (_me,), - ((SPEECH_MARK_TYPE, 0),), -) - -TASK_STATUS: StaticSchema = ( - 14, - n0, - _TS, - 0, - (_SCHEDULED, _IP, _COMPLETED, _FAILED), - ((-1, {_sV: _sc}), (-1, {_sV: _iP}), (-1, {_sV: _co}), (-1, {_sV: _f})), -) - -TASK_STATUS_REASON: StaticSchema = (3, n0, _TSR, 0) - -TEXT_TYPE: StaticSchema = ( - 14, - n0, - _TT, - 0, - (_SSML, _TEXT), - ((-1, {_sV: _ss}), (-1, {_sV: _t})), -) - -SYNTHESIS_TASK: StaticSchema = ( - 18, - n0, - _ST, - 0, - (_E, _TI, _TS, _TSR, _OU, _CTr, _RC, _STA, _LNe, _OF, _SR, _SMTp, _TT, _VI, _LC), - ( - (ENGINE, 0), - (TASK_ID, 0), - (TASK_STATUS, 0), - (TASK_STATUS_REASON, 0), - (OUTPUT_URI, 0), - (DATE_TIME, 0), - (REQUEST_CHARACTERS, {_smithya: 0}), - (SNS_TOPIC_ARN, 0), - (LEXICON_NAME_LIST, 0), - (OUTPUT_FORMAT, 0), - (SAMPLE_RATE, 0), - (SPEECH_MARK_TYPE_LIST, 0), - (TEXT_TYPE, 0), - (VOICE_ID, 0), - (LANGUAGE_CODE, 0), - ), -) - -GET_SPEECH_SYNTHESIS_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _GSSTO, - {_smit: None}, - (_ST,), - ((SYNTHESIS_TASK, 0),), -) - -INVALID_TASK_ID_EXCEPTION: StaticSchema = ( - 18, - n0, - _ITIE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -SYNTHESIS_TASK_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _STNFE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -GET_SPEECH_SYNTHESIS_TASK: StaticOperationSchema = ( - 23, - n0, - _GSST, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/v1/synthesisTasks/{TaskId}", "code": 200} - ) - }, - GET_SPEECH_SYNTHESIS_TASK_INPUT, - GET_SPEECH_SYNTHESIS_TASK_OUTPUT, - ( - INVALID_TASK_ID_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - SYNTHESIS_TASK_NOT_FOUND_EXCEPTION, - ), -) - -INVALID_LEXICON_EXCEPTION: StaticSchema = ( - 18, - n0, - _ILE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_S3_BUCKET_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISBE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_S3_KEY_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISKE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_SAMPLE_RATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISRE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_SNS_TOPIC_ARN_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISTAE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_SSML_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_TAG_PARAMETER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ITPE, - {_smith: _c, _sE: 400}, - (_m,), - ((EXCEPTION_MESSAGE, 0),), -) - -LANGUAGE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LNSE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -LEXICON_DESCRIPTION: StaticSchema = ( - 18, - n0, - _LD, - 0, - (_N, _At), - ((LEXICON_NAME, 0), (LEXICON_ATTRIBUTES, 0)), -) - -LEXICON_DESCRIPTION_LIST: StaticSchema = ( - 16, - n0, - _LDL, - 0, - (_me,), - ((LEXICON_DESCRIPTION, 0),), -) - -LEXICON_SIZE_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LSEE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -LIST_LEXICONS_INPUT: StaticSchema = ( - 18, - n0, - _LLI, - {_sm: None}, - (_NT,), - ((NEXT_TOKEN, {_sQ: _NT}),), -) - -LIST_LEXICONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LLO, - {_smit: None}, - (_Lexi, _NT), - ((LEXICON_DESCRIPTION_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_LEXICONS: StaticOperationSchema = ( - 23, - n0, - _LL, - {_smithy: MappingProxyType({"method": "GET", "uri": "/v1/lexicons", "code": 200})}, - LIST_LEXICONS_INPUT, - LIST_LEXICONS_OUTPUT, - (INVALID_NEXT_TOKEN_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) - -LIST_SPEECH_SYNTHESIS_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _LSSTI, - {_sm: None}, - (_MR, _NT, _Sta), - ((MAX_RESULTS, {_sQ: _MR}), (NEXT_TOKEN, {_sQ: _NT}), (TASK_STATUS, {_sQ: _Sta})), -) - -SYNTHESIS_TASKS: StaticSchema = (16, n0, _STy, 0, (_me,), ((SYNTHESIS_TASK, 0),)) - -LIST_SPEECH_SYNTHESIS_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSSTO, - {_smit: None}, - (_NT, _STy), - ((NEXT_TOKEN, 0), (SYNTHESIS_TASKS, 0)), -) - -LIST_SPEECH_SYNTHESIS_TASKS: StaticOperationSchema = ( - 23, - n0, - _LSST, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/v1/synthesisTasks", "code": 200} - ) - }, - LIST_SPEECH_SYNTHESIS_TASKS_INPUT, - LIST_SPEECH_SYNTHESIS_TASKS_OUTPUT, - (INVALID_NEXT_TOKEN_EXCEPTION, SERVICE_FAILURE_EXCEPTION), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sm: None}, - (_RA,), - ((AMAZON_RESOURCE_NAME, {_sQ: _ar, _smi: None}),), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _va), ((TAG_KEY, 0), (TAG_VALUE, 0))) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_smit: None}, - (_Tag,), - ((TAG_MAP, 0),), -) - -RESOURCE_ID: StaticSchema = (3, n0, _RI, 0) - -RESOURCE_TYPE: StaticSchema = (14, n0, _RT, 0, (_LEXICON,), ((-1, {_sV: _l}),)) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_smith: _c, _sE: 404}, - (_m, _rI, _rT), - ((ERROR_MESSAGE, 1), (RESOURCE_ID, 1), (RESOURCE_TYPE, 1)), -) - -THROTTLING_REASON: StaticSchema = ( - 18, - n0, - _TR, - 0, - (_r, _re), - ( - (CORAL_AVAILABILITY_THROTTLING_REASON, 0), - (CORAL_AVAILABILITY_THROTTLED_RESOURCE, 0), - ), -) - -THROTTLING_REASON_LIST: StaticSchema = ( - 16, - n0, - _TRL, - 0, - (_me,), - ((THROTTLING_REASON, 0),), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "Throttling", "httpResponseCode": 400}), - }, - (_m, _tR), - ((AVAILABILITY_ERROR_MESSAGE, 0), (THROTTLING_REASON_LIST, 0)), -) - -VALIDATION_EXCEPTION_FIELD_MESSAGE: StaticSchema = (3, n0, _VEFM, 0) - -VALIDATION_EXCEPTION_FIELD_NAME: StaticSchema = (3, n0, _VEFN, 0) - -VALIDATION_EXCEPTION_FIELD: StaticSchema = ( - 18, - n0, - _VEF, - 0, - (_na, _m), - ((VALIDATION_EXCEPTION_FIELD_NAME, 1), (VALIDATION_EXCEPTION_FIELD_MESSAGE, 1)), -) - -VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( - 16, - n0, - _VEFL, - 0, - (_me,), - ((VALIDATION_EXCEPTION_FIELD, 0),), -) - -VALIDATION_EXCEPTION_REASON: StaticSchema = ( - 14, - n0, - _VER, - 0, - (_UO, _FVF, _OTHER, _IIE), - ((-1, {_sV: _uO}), (-1, {_sV: _fVF}), (-1, {_sV: _o}), (-1, {_sV: _iIE})), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_smith: _c, _sE: 400}, - (_m, _r, _fi), - ( - (ERROR_MESSAGE, 1), - (VALIDATION_EXCEPTION_REASON, 1), - (VALIDATION_EXCEPTION_FIELD_LIST, 0), - ), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/v1/listTagsForResource", "code": 200} - ) - }, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - INVALID_TAG_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MARKS_NOT_SUPPORTED_FOR_FORMAT_EXCEPTION: StaticSchema = ( - 18, - n0, - _MNSFFE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -MAX_LEXEME_LENGTH_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _MLLEE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -MAX_LEXICONS_NUMBER_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _MLNEE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -OUTPUT_S3_BUCKET_NAME: StaticSchema = (3, n0, _OSBN, 0) - -OUTPUT_S3_KEY_PREFIX: StaticSchema = (3, n0, _OSKP, 0) - -PUT_LEXICON_INPUT: StaticSchema = ( - 18, - n0, - _PLI, - {_sm: None}, - (_N, _Con, _Tag), - ((LEXICON_NAME, 9), (LEXICON_CONTENT, 1), (TAG_MAP, 0)), -) - -PUT_LEXICON_OUTPUT: StaticSchema = (18, n0, _PLO, {_smit: None}) - -TOO_MANY_TAGS_EXCEPTION: StaticSchema = ( - 18, - n0, - _TMTE, - {_smith: _c, _sE: 400}, - (_m,), - ((EXCEPTION_MESSAGE, 0),), -) - -UNSUPPORTED_PLS_ALPHABET_EXCEPTION: StaticSchema = ( - 18, - n0, - _UPAE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -UNSUPPORTED_PLS_LANGUAGE_EXCEPTION: StaticSchema = ( - 18, - n0, - _UPLE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -PUT_LEXICON: StaticOperationSchema = ( - 23, - n0, - _PL, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/v1/lexicons/{Name}", "code": 200} - ) - }, - PUT_LEXICON_INPUT, - PUT_LEXICON_OUTPUT, - ( - INVALID_LEXICON_EXCEPTION, - INVALID_TAG_PARAMETER_EXCEPTION, - LEXICON_SIZE_EXCEEDED_EXCEPTION, - MAX_LEXEME_LENGTH_EXCEEDED_EXCEPTION, - MAX_LEXICONS_NUMBER_EXCEEDED_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - UNSUPPORTED_PLS_ALPHABET_EXCEPTION, - UNSUPPORTED_PLS_LANGUAGE_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -QUOTA_CODE: StaticSchema = ( - 14, - n0, - _QC, - 0, - (_ISIET, _IST), - ((-1, {_sV: _isiet}), (-1, {_sV: _ist})), -) - -SERVICE_CODE: StaticSchema = (14, n0, _SC, 0, (_POLLY,), ((-1, {_sV: _po}),)) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_smith: _c, _sE: 402}, - (_m, _qC, _sC), - ((ERROR_MESSAGE, 1), (QUOTA_CODE, 1), (SERVICE_CODE, 1)), -) - -TEXT: StaticSchema = (3, n0, _Te, 0) - -TEXT_EVENT: StaticSchema = ( - 18, - n0, - _TEe, - 0, - (_Te, _TT, _FSC), - ((TEXT, 1), (TEXT_TYPE, 0), (FLUSH_STREAM_CONFIGURATION, 0)), -) - -START_SPEECH_SYNTHESIS_STREAM_ACTION_STREAM: StaticSchema = ( - 19, - n0, - _SSSSAS, - {_s: None}, - (_TEe, _CSE), - ((TEXT_EVENT, 0), (CLOSE_STREAM_EVENT, 0)), -) - -START_SPEECH_SYNTHESIS_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _SSSSI, - {_sm: None}, - (_E, _LC, _LNe, _OF, _SR, _VI, _ASc), - ( - (ENGINE, {_sH: _xaE, _smi: None}), - (LANGUAGE_CODE, {_sH: _xaL}), - (LEXICON_NAME_LIST, {_sH: _xaL_}), - (OUTPUT_FORMAT, {_sH: _xaO, _smi: None}), - (SAMPLE_RATE, {_sH: _xaS}), - (VOICE_ID, {_sH: _xaV, _smi: None}), - (START_SPEECH_SYNTHESIS_STREAM_ACTION_STREAM, 16), - ), -) - -STREAM_CLOSED_EVENT: StaticSchema = ( - 18, - n0, - _SCE, - 0, - (_RC,), - ((REQUEST_CHARACTERS, {_smithya: 0}),), -) - -START_SPEECH_SYNTHESIS_STREAM_EVENT_STREAM: StaticSchema = ( - 19, - n0, - _SSSSES, - {_s: None}, - (_AE, _SCE, _VE, _SQEE, _SFE, _TE), - ( - (AUDIO_EVENT, 0), - (STREAM_CLOSED_EVENT, 0), - (VALIDATION_EXCEPTION, 0), - (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), - (SERVICE_FAILURE_EXCEPTION, 0), - (THROTTLING_EXCEPTION, 0), - ), -) - -START_SPEECH_SYNTHESIS_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _SSSSO, - {_smit: None}, - (_ES,), - ((START_SPEECH_SYNTHESIS_STREAM_EVENT_STREAM, 16),), -) - -START_SPEECH_SYNTHESIS_STREAM: StaticOperationSchema = ( - 23, - n0, - _SSSS, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/v1/synthesisStream", "code": 200} - ) - }, - START_SPEECH_SYNTHESIS_STREAM_INPUT, - START_SPEECH_SYNTHESIS_STREAM_OUTPUT, - ( - SERVICE_FAILURE_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SSML_MARKS_NOT_SUPPORTED_FOR_TEXT_TYPE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SMNSFTTE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -START_SPEECH_SYNTHESIS_TASK_INPUT: StaticSchema = ( - 18, - n0, - _SSSTI, - {_sm: None}, - (_E, _LC, _LNe, _OF, _OSBN, _OSKP, _SR, _STA, _SMTp, _Te, _TT, _VI), - ( - (ENGINE, 0), - (LANGUAGE_CODE, 0), - (LEXICON_NAME_LIST, 0), - (OUTPUT_FORMAT, 1), - (OUTPUT_S3_BUCKET_NAME, 1), - (OUTPUT_S3_KEY_PREFIX, 0), - (SAMPLE_RATE, 0), - (SNS_TOPIC_ARN, 0), - (SPEECH_MARK_TYPE_LIST, 0), - (TEXT, 1), - (TEXT_TYPE, 0), - (VOICE_ID, 1), - ), -) - -START_SPEECH_SYNTHESIS_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _SSSTO, - {_smit: None}, - (_ST,), - ((SYNTHESIS_TASK, 0),), -) - -TEXT_LENGTH_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _TLEE, - {_smith: _c, _sE: 400}, - (_m,), - ((ERROR_MESSAGE, 0),), -) - -START_SPEECH_SYNTHESIS_TASK: StaticOperationSchema = ( - 23, - n0, - _SSST, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/v1/synthesisTasks", "code": 200} - ) - }, - START_SPEECH_SYNTHESIS_TASK_INPUT, - START_SPEECH_SYNTHESIS_TASK_OUTPUT, - ( - ENGINE_NOT_SUPPORTED_EXCEPTION, - INVALID_S3_BUCKET_EXCEPTION, - INVALID_S3_KEY_EXCEPTION, - INVALID_SAMPLE_RATE_EXCEPTION, - INVALID_SNS_TOPIC_ARN_EXCEPTION, - INVALID_SSML_EXCEPTION, - LANGUAGE_NOT_SUPPORTED_EXCEPTION, - LEXICON_NOT_FOUND_EXCEPTION, - MARKS_NOT_SUPPORTED_FOR_FORMAT_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - SSML_MARKS_NOT_SUPPORTED_FOR_TEXT_TYPE_EXCEPTION, - TEXT_LENGTH_EXCEEDED_EXCEPTION, - ), -) - -SYNTHESIZE_SPEECH_INPUT: StaticSchema = ( - 18, - n0, - _SSI, - {_sm: None}, - (_E, _LC, _LNe, _OF, _SR, _SMTp, _Te, _TT, _VI), - ( - (ENGINE, 0), - (LANGUAGE_CODE, 0), - (LEXICON_NAME_LIST, 0), - (OUTPUT_FORMAT, 1), - (SAMPLE_RATE, 0), - (SPEECH_MARK_TYPE_LIST, 0), - (TEXT, 1), - (TEXT_TYPE, 0), - (VOICE_ID, 1), - ), -) - -SYNTHESIZE_SPEECH_OUTPUT: StaticSchema = ( - 18, - n0, - _SSO, - {_smit: None}, - (_AS, _CT, _RC), - ( - (AUDIO_STREAM, {_smithya: _v_, _sPm: None}), - (CONTENT_TYPE, {_sH: _CT_}), - (REQUEST_CHARACTERS, {_smithya: 0, _sH: _xaR}), - ), -) - -SYNTHESIZE_SPEECH: StaticOperationSchema = ( - 23, - n0, - _SS, - {_smithy: MappingProxyType({"method": "POST", "uri": "/v1/speech", "code": 200})}, - SYNTHESIZE_SPEECH_INPUT, - SYNTHESIZE_SPEECH_OUTPUT, - ( - ENGINE_NOT_SUPPORTED_EXCEPTION, - INVALID_SAMPLE_RATE_EXCEPTION, - INVALID_SSML_EXCEPTION, - LANGUAGE_NOT_SUPPORTED_EXCEPTION, - LEXICON_NOT_FOUND_EXCEPTION, - MARKS_NOT_SUPPORTED_FOR_FORMAT_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - SSML_MARKS_NOT_SUPPORTED_FOR_TEXT_TYPE_EXCEPTION, - TEXT_LENGTH_EXCEEDED_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sm: None}, - (_RA, _Tag), - ((AMAZON_RESOURCE_NAME, 1), (TAG_MAP, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_smit: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TRa, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/v1/tagResource", "code": 200} - ) - }, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - INVALID_TAG_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - THROTTLING_EXCEPTION, - TOO_MANY_TAGS_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sm: None}, - (_RA, _TKa), - ((AMAZON_RESOURCE_NAME, 1), (TAG_KEY_LIST, 1)), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_smit: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/v1/untagResource", "code": 200} - ) - }, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - INVALID_TAG_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_FAILURE_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PARROT_V1: StaticSchema = ( - 21, - n0, - _Pv, - { - _aw: MappingProxyType({"name": "polly"}), - _aws: MappingProxyType( - { - "sdkId": "Polly", - "arnNamespace": "polly", - "cloudFormationName": "Polly", - "cloudTrailEventSource": "polly.amazonaws.com", - "endpointPrefix": "polly", - } - ), - _sN: MappingProxyType({"uri": "http://polly.amazonaws.com/doc/v1"}), - _aJ: MappingProxyType({"http": ("http/1.1", "h2"), "eventStreamHttp": ("h2",)}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ALPHABET", + "AMAZON_RESOURCE_NAME", + "AUDIO_CHUNK", + "AUDIO_EVENT", + "AUDIO_STREAM", + "AVAILABILITY_ERROR_MESSAGE", + "CLOSE_STREAM_EVENT", + "CONTENT_TYPE", + "CORAL_AVAILABILITY_THROTTLED_RESOURCE", + "CORAL_AVAILABILITY_THROTTLING_REASON", + "DATE_TIME", + "LEXICON_NAME", + "DELETE_LEXICON_INPUT", + "DELETE_LEXICON_OUTPUT", + "DELETE_LEXICON", + "ERROR_MESSAGE", + "LEXICON_NOT_FOUND_EXCEPTION", + "SERVICE_FAILURE_EXCEPTION", + "ENGINE", + "INCLUDE_ADDITIONAL_LANGUAGE_CODES", + "LANGUAGE_CODE", + "NEXT_TOKEN", + "DESCRIBE_VOICES_INPUT", + "DESCRIBE_VOICES_OUTPUT", + "DESCRIBE_VOICES", + "LANGUAGE_CODE_LIST", + "GENDER", + "VOICE_ID", + "LANGUAGE_NAME", + "VOICE_NAME", + "ENGINE_LIST", + "VOICE", + "VOICE_LIST", + "INVALID_NEXT_TOKEN_EXCEPTION", + "ENGINE_NOT_SUPPORTED_EXCEPTION", + "EXCEPTION_MESSAGE", + "FORCE", + "FLUSH_STREAM_CONFIGURATION", + "GET_LEXICON_INPUT", + "GET_LEXICON_OUTPUT", + "GET_LEXICON", + "LEXICON_CONTENT", + "LEXICON", + "LAST_MODIFIED", + "LEXEMES_COUNT", + "LEXICON_ARN", + "SIZE", + "LEXICON_ATTRIBUTES", + "TASK_ID", + "GET_SPEECH_SYNTHESIS_TASK_INPUT", + "GET_SPEECH_SYNTHESIS_TASK_OUTPUT", + "GET_SPEECH_SYNTHESIS_TASK", + "LEXICON_NAME_LIST", + "OUTPUT_FORMAT", + "OUTPUT_URI", + "REQUEST_CHARACTERS", + "SAMPLE_RATE", + "SNS_TOPIC_ARN", + "SPEECH_MARK_TYPE", + "SPEECH_MARK_TYPE_LIST", + "TASK_STATUS", + "TASK_STATUS_REASON", + "TEXT_TYPE", + "SYNTHESIS_TASK", + ), + ( + "INVALID_TASK_ID_EXCEPTION", + "SYNTHESIS_TASK_NOT_FOUND_EXCEPTION", + "INVALID_LEXICON_EXCEPTION", + "INVALID_S3_BUCKET_EXCEPTION", + "INVALID_S3_KEY_EXCEPTION", + "INVALID_SAMPLE_RATE_EXCEPTION", + "INVALID_SNS_TOPIC_ARN_EXCEPTION", + "INVALID_SSML_EXCEPTION", + "INVALID_TAG_PARAMETER_EXCEPTION", + "LANGUAGE_NOT_SUPPORTED_EXCEPTION", + "LEXICON_DESCRIPTION", + "LEXICON_DESCRIPTION_LIST", + "LEXICON_SIZE_EXCEEDED_EXCEPTION", + "LIST_LEXICONS_INPUT", + "LIST_LEXICONS_OUTPUT", + "LIST_LEXICONS", + "MAX_RESULTS", + "LIST_SPEECH_SYNTHESIS_TASKS_INPUT", + "LIST_SPEECH_SYNTHESIS_TASKS_OUTPUT", + "LIST_SPEECH_SYNTHESIS_TASKS", + "SYNTHESIS_TASKS", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "TAG_KEY", + "TAG_VALUE", + "TAG_MAP", + "RESOURCE_ID", + "RESOURCE_TYPE", + "RESOURCE_NOT_FOUND_EXCEPTION", + "THROTTLING_REASON", + "THROTTLING_REASON_LIST", + "THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION_FIELD_MESSAGE", + "VALIDATION_EXCEPTION_FIELD_NAME", + "VALIDATION_EXCEPTION_FIELD", + "VALIDATION_EXCEPTION_FIELD_LIST", + "VALIDATION_EXCEPTION_REASON", + "VALIDATION_EXCEPTION", + "MARKS_NOT_SUPPORTED_FOR_FORMAT_EXCEPTION", + "MAX_LEXEME_LENGTH_EXCEEDED_EXCEPTION", + "MAX_LEXICONS_NUMBER_EXCEEDED_EXCEPTION", + "OUTPUT_S3_BUCKET_NAME", + "OUTPUT_S3_KEY_PREFIX", + "PUT_LEXICON_INPUT", + "PUT_LEXICON_OUTPUT", + "PUT_LEXICON", + "TOO_MANY_TAGS_EXCEPTION", + "UNSUPPORTED_PLS_ALPHABET_EXCEPTION", + "UNSUPPORTED_PLS_LANGUAGE_EXCEPTION", + "QUOTA_CODE", + "SERVICE_CODE", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "TEXT", + "TEXT_EVENT", + "START_SPEECH_SYNTHESIS_STREAM_ACTION_STREAM", + "START_SPEECH_SYNTHESIS_STREAM_INPUT", + "START_SPEECH_SYNTHESIS_STREAM_OUTPUT", + "START_SPEECH_SYNTHESIS_STREAM", + "STREAM_CLOSED_EVENT", + "START_SPEECH_SYNTHESIS_STREAM_EVENT_STREAM", + "SSML_MARKS_NOT_SUPPORTED_FOR_TEXT_TYPE_EXCEPTION", + "START_SPEECH_SYNTHESIS_TASK_INPUT", + "START_SPEECH_SYNTHESIS_TASK_OUTPUT", + "START_SPEECH_SYNTHESIS_TASK", + "TEXT_LENGTH_EXCEEDED_EXCEPTION", + "SYNTHESIZE_SPEECH_INPUT", + "SYNTHESIZE_SPEECH_OUTPUT", + "SYNTHESIZE_SPEECH", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "PARROT_V1", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas_0.py b/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas_0.py new file mode 100644 index 000000000..cd47648e0 --- /dev/null +++ b/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas_0.py @@ -0,0 +1,1049 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.polly" +_A = "Alphabet" +_ARN = "AmazonResourceName" +_AC = "AudioChunk" +_AE = "AudioEvent" +_sP = "smithy.api#eventPayload" +_AS = "AudioStream" +_s = "smithy.api#streaming" +_AEM = "AvailabilityErrorMessage" +_CSE = "CloseStreamEvent" +_CT = "ContentType" +_CATR = "CoralAvailabilityThrottledResource" +_CATRo = "CoralAvailabilityThrottlingReason" +_DT = "DateTime" +_LN = "LexiconName" +_DLI = "DeleteLexiconInput" +_sm = "smithy.api#input" +_N = "Name" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_DLO = "DeleteLexiconOutput" +_smit = "smithy.api#output" +_EM = "ErrorMessage" +_LNFE = "LexiconNotFoundException" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_SFE = "ServiceFailureException" +_se = "server" +_DL = "DeleteLexicon" +_smithy = "smithy.api#http" +_E = "Engine" +_STANDARD = "STANDARD" +_sV = "smithy.api#enumValue" +_st = "standard" +_NEURAL = "NEURAL" +_n = "neural" +_LF = "LONG_FORM" +_lf = "long-form" +_GENERATIVE = "GENERATIVE" +_g = "generative" +_IALC = "IncludeAdditionalLanguageCodes" +_smithya = "smithy.api#default" +_LC = "LanguageCode" +_a = "arb" +_cC = "cmn_CN" +_cC_ = "cmn-CN" +_cG = "cy_GB" +_cG_ = "cy-GB" +_dD = "da_DK" +_dD_ = "da-DK" +_dD__ = "de_DE" +_dD___ = "de-DE" +_eA = "en_AU" +_eA_ = "en-AU" +_eG = "en_GB" +_eG_ = "en-GB" +_eGW = "en_GB_WLS" +_eGW_ = "en-GB-WLS" +_eI = "en_IN" +_eI_ = "en-IN" +_eU = "en_US" +_eU_ = "en-US" +_eE = "es_ES" +_eE_ = "es-ES" +_eM = "es_MX" +_eM_ = "es-MX" +_eU__ = "es_US" +_eU___ = "es-US" +_fC = "fr_CA" +_fC_ = "fr-CA" +_fF = "fr_FR" +_fF_ = "fr-FR" +_iI = "is_IS" +_iI_ = "is-IS" +_iI__ = "it_IT" +_iI___ = "it-IT" +_jJ = "ja_JP" +_jJ_ = "ja-JP" +_hI = "hi_IN" +_hI_ = "hi-IN" +_kK = "ko_KR" +_kK_ = "ko-KR" +_nN = "nb_NO" +_nN_ = "nb-NO" +_nN__ = "nl_NL" +_nN___ = "nl-NL" +_pP = "pl_PL" +_pP_ = "pl-PL" +_pB = "pt_BR" +_pB_ = "pt-BR" +_pP__ = "pt_PT" +_pP___ = "pt-PT" +_rR = "ro_RO" +_rR_ = "ro-RO" +_rR__ = "ru_RU" +_rR___ = "ru-RU" +_sS = "sv_SE" +_sS_ = "sv-SE" +_tT = "tr_TR" +_tT_ = "tr-TR" +_eN = "en_NZ" +_eN_ = "en-NZ" +_eZ = "en_ZA" +_eZ_ = "en-ZA" +_cE = "ca_ES" +_cE_ = "ca-ES" +_dA = "de_AT" +_dA_ = "de-AT" +_yC = "yue_CN" +_yC_ = "yue-CN" +_aA = "ar_AE" +_aA_ = "ar-AE" +_fF__ = "fi_FI" +_fF___ = "fi-FI" +_eI__ = "en_IE" +_eI___ = "en-IE" +_nB = "nl_BE" +_nB_ = "nl-BE" +_fB = "fr_BE" +_fB_ = "fr-BE" +_cC__ = "cs_CZ" +_cC___ = "cs-CZ" +_dC = "de_CH" +_dC_ = "de-CH" +_eS = "en_SG" +_eS_ = "en-SG" +_NT = "NextToken" +_DVI = "DescribeVoicesInput" +_sQ = "smithy.api#httpQuery" +_LCL = "LanguageCodeList" +_me = "member" +_G = "Gender" +_F = "Female" +_M = "Male" +_VI = "VoiceId" +_Ad = "Aditi" +_Am = "Amy" +_As = "Astrid" +_B = "Bianca" +_Br = "Brian" +_C = "Camila" +_Ca = "Carla" +_Car = "Carmen" +_Ce = "Celine" +_Ch = "Chantal" +_Co = "Conchita" +_Cr = "Cristiano" +_D = "Dora" +_Em = "Emma" +_En = "Enrique" +_Ew = "Ewa" +_Fi = "Filiz" +_Ga = "Gabrielle" +_Ge = "Geraint" +_Gi = "Giorgio" +_Gw = "Gwyneth" +_H = "Hans" +_I = "Ines" +_Iv = "Ivy" +_J = "Jacek" +_Ja = "Jan" +_Jo = "Joanna" +_Joe = "Joey" +_Ju = "Justin" +_K = "Karl" +_Ke = "Kendra" +_Kev = "Kevin" +_Ki = "Kimberly" +_L = "Lea" +_Li = "Liv" +_Lo = "Lotte" +_Lu = "Lucia" +_Lup = "Lupe" +_Ma = "Mads" +_Maj = "Maja" +_Mar = "Marlene" +_Mat = "Mathieu" +_Matt = "Matthew" +_Max = "Maxim" +_Mi = "Mia" +_Mig = "Miguel" +_Miz = "Mizuki" +_Na = "Naja" +_Ni = "Nicole" +_O = "Olivia" +_P = "Penelope" +_R = "Raveena" +_Ri = "Ricardo" +_Ru = "Ruben" +_Rus = "Russell" +_S = "Salli" +_Se = "Seoyeon" +_T = "Takumi" +_Ta = "Tatyana" +_V = "Vicki" +_Vi = "Vitoria" +_Z = "Zeina" +_Zh = "Zhiyu" +_Ar = "Aria" +_Ay = "Ayanda" +_Arl = "Arlet" +_Ha = "Hannah" +_Art = "Arthur" +_Da = "Daniel" +_Lia = "Liam" +_Pe = "Pedro" +_Ka = "Kajal" +_Hi = "Hiujin" +_La = "Laura" +_El = "Elin" +_Id = "Ida" +_Su = "Suvi" +_Ol = "Ola" +_Hal = "Hala" +_An = "Andres" +_Ser = "Sergio" +_Re = "Remi" +_Adr = "Adriano" +_Th = "Thiago" +_Rut = "Ruth" +_St = "Stephen" +_Kaz = "Kazuha" +_To = "Tomoko" +_Nia = "Niamh" +_So = "Sofie" +_Lis = "Lisa" +_Is = "Isabelle" +_Za = "Zayd" +_Dan = "Danielle" +_Gr = "Gregory" +_Bu = "Burcu" +_Ji = "Jitka" +_Sa = "Sabrina" +_Jas = "Jasmine" +_Jih = "Jihye" +_Amb = "Ambre" +_Be = "Beatrice" +_Fl = "Florian" +_Le = "Lennart" +_Lor = "Lorenzo" +_Ti = "Tiffany" +_Arj = "Arjun" +_Carl = "Carlos" +_Caro = "Carolina" +_Cu = "Curtis" +_Hy = "Hyunduk" +_Ken = "Kenneth" +_Kia = "Kiara" +_Leo = "Leo" +_Nat = "Nate" +_Tin = "Tina" +_LNa = "LanguageName" +_VN = "VoiceName" +_EL = "EngineList" +_Vo = "Voice" +_Id_ = "Id" +_ALC = "AdditionalLanguageCodes" +_SE = "SupportedEngines" +_VL = "VoiceList" +_DVO = "DescribeVoicesOutput" +_Voi = "Voices" +_INTE = "InvalidNextTokenException" +_DV = "DescribeVoices" +_ENSE = "EngineNotSupportedException" +_EMx = "ExceptionMessage" +_Fo = "Force" +_FSC = "FlushStreamConfiguration" +_GLI = "GetLexiconInput" +_LCe = "LexiconContent" +_smithyap = "smithy.api#sensitive" +_Lex = "Lexicon" +_Con = "Content" +_LM = "LastModified" +_LCex = "LexemesCount" +_LA = "LexiconArn" +_Si = "Size" +_LAe = "LexiconAttributes" +_GLO = "GetLexiconOutput" +_GL = "GetLexicon" +_TI = "TaskId" +_GSSTI = "GetSpeechSynthesisTaskInput" +_LNL = "LexiconNameList" +_OF = "OutputFormat" +_JSON = "JSON" +_j = "json" +_MP = "MP3" +_mp = "mp3" +_OO = "OGG_OPUS" +_oo = "ogg_opus" +_OV = "OGG_VORBIS" +_ov = "ogg_vorbis" +_PCM = "PCM" +_p = "pcm" +_MULAW = "MULAW" +_mu = "mulaw" +_ALAW = "ALAW" +_al = "alaw" +_OU = "OutputUri" +_RC = "RequestCharacters" +_SR = "SampleRate" +_STA = "SnsTopicArn" +_SMT = "SpeechMarkType" +_SENTENCE = "SENTENCE" +_sen = "sentence" +_SSML = "SSML" +_ss = "ssml" +_VISEME = "VISEME" +_v = "viseme" +_WORD = "WORD" +_w = "word" +_SMTL = "SpeechMarkTypeList" +_TS = "TaskStatus" +_SCHEDULED = "SCHEDULED" +_sc = "scheduled" +_IP = "IN_PROGRESS" +_iP = "inProgress" +_COMPLETED = "COMPLETED" +_co = "completed" +_FAILED = "FAILED" +_f = "failed" +_TSR = "TaskStatusReason" +_TT = "TextType" +_TEXT = "TEXT" +_t = "text" +_ST = "SynthesisTask" +_CTr = "CreationTime" +_LNe = "LexiconNames" +_SMTp = "SpeechMarkTypes" +_GSSTO = "GetSpeechSynthesisTaskOutput" +_GSST = "GetSpeechSynthesisTask" + +ALPHABET: StaticSchema = (3, n0, _A, 0) + +AMAZON_RESOURCE_NAME: StaticSchema = (3, n0, _ARN, 0) + +AUDIO_CHUNK: StaticSchema = (1, n0, _AC, 0) + +AUDIO_EVENT: StaticSchema = (18, n0, _AE, 0, (_AC,), ((AUDIO_CHUNK, {_sP: None}),)) + +AUDIO_STREAM: StaticSchema = (1, n0, _AS, {_s: None}) + +AVAILABILITY_ERROR_MESSAGE: StaticSchema = (3, n0, _AEM, 0) + +CLOSE_STREAM_EVENT: StaticSchema = (18, n0, _CSE, 0) + +CONTENT_TYPE: StaticSchema = (3, n0, _CT, 0) + +CORAL_AVAILABILITY_THROTTLED_RESOURCE: StaticSchema = (3, n0, _CATR, 0) + +CORAL_AVAILABILITY_THROTTLING_REASON: StaticSchema = (3, n0, _CATRo, 0) + +DATE_TIME: StaticSchema = (4, n0, _DT, 0) + +LEXICON_NAME: StaticSchema = (3, n0, _LN, 0) + +DELETE_LEXICON_INPUT: StaticSchema = ( + 18, + n0, + _DLI, + {_sm: None}, + (_N,), + ((LEXICON_NAME, 9),), +) + +DELETE_LEXICON_OUTPUT: StaticSchema = (18, n0, _DLO, {_smit: None}) + +DELETE_LEXICON: StaticOperationSchema = ( + 23, + n0, + _DL, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/v1/lexicons/{Name}", "code": 200} + ) + }, + DELETE_LEXICON_INPUT, + DELETE_LEXICON_OUTPUT, + (lambda: LEXICON_NOT_FOUND_EXCEPTION, lambda: SERVICE_FAILURE_EXCEPTION), +) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +LEXICON_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _LNFE, + {_smith: _c, _sE: 404}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +SERVICE_FAILURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SFE, + {_smith: _se, _sE: 500}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +ENGINE: StaticSchema = ( + 14, + n0, + _E, + 0, + (_STANDARD, _NEURAL, _LF, _GENERATIVE), + ((-1, {_sV: _st}), (-1, {_sV: _n}), (-1, {_sV: _lf}), (-1, {_sV: _g})), +) + +INCLUDE_ADDITIONAL_LANGUAGE_CODES: StaticSchema = (2, n0, _IALC, {_smithya: False}) + +LANGUAGE_CODE: StaticSchema = ( + 14, + n0, + _LC, + 0, + ( + _a, + _cC, + _cG, + _dD, + _dD__, + _eA, + _eG, + _eGW, + _eI, + _eU, + _eE, + _eM, + _eU__, + _fC, + _fF, + _iI, + _iI__, + _jJ, + _hI, + _kK, + _nN, + _nN__, + _pP, + _pB, + _pP__, + _rR, + _rR__, + _sS, + _tT, + _eN, + _eZ, + _cE, + _dA, + _yC, + _aA, + _fF__, + _eI__, + _nB, + _fB, + _cC__, + _dC, + _eS, + ), + ( + (-1, {_sV: _a}), + (-1, {_sV: _cC_}), + (-1, {_sV: _cG_}), + (-1, {_sV: _dD_}), + (-1, {_sV: _dD___}), + (-1, {_sV: _eA_}), + (-1, {_sV: _eG_}), + (-1, {_sV: _eGW_}), + (-1, {_sV: _eI_}), + (-1, {_sV: _eU_}), + (-1, {_sV: _eE_}), + (-1, {_sV: _eM_}), + (-1, {_sV: _eU___}), + (-1, {_sV: _fC_}), + (-1, {_sV: _fF_}), + (-1, {_sV: _iI_}), + (-1, {_sV: _iI___}), + (-1, {_sV: _jJ_}), + (-1, {_sV: _hI_}), + (-1, {_sV: _kK_}), + (-1, {_sV: _nN_}), + (-1, {_sV: _nN___}), + (-1, {_sV: _pP_}), + (-1, {_sV: _pB_}), + (-1, {_sV: _pP___}), + (-1, {_sV: _rR_}), + (-1, {_sV: _rR___}), + (-1, {_sV: _sS_}), + (-1, {_sV: _tT_}), + (-1, {_sV: _eN_}), + (-1, {_sV: _eZ_}), + (-1, {_sV: _cE_}), + (-1, {_sV: _dA_}), + (-1, {_sV: _yC_}), + (-1, {_sV: _aA_}), + (-1, {_sV: _fF___}), + (-1, {_sV: _eI___}), + (-1, {_sV: _nB_}), + (-1, {_sV: _fB_}), + (-1, {_sV: _cC___}), + (-1, {_sV: _dC_}), + (-1, {_sV: _eS_}), + ), +) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +DESCRIBE_VOICES_INPUT: StaticSchema = ( + 18, + n0, + _DVI, + {_sm: None}, + (_E, _LC, _IALC, _NT), + ( + (ENGINE, {_sQ: _E}), + (LANGUAGE_CODE, {_sQ: _LC}), + (INCLUDE_ADDITIONAL_LANGUAGE_CODES, {_smithya: False, _sQ: _IALC}), + (NEXT_TOKEN, {_sQ: _NT}), + ), +) + +DESCRIBE_VOICES_OUTPUT: StaticSchema = ( + 18, + n0, + _DVO, + {_smit: None}, + (_Voi, _NT), + ((lambda: VOICE_LIST, 0), (NEXT_TOKEN, 0)), +) + +DESCRIBE_VOICES: StaticOperationSchema = ( + 23, + n0, + _DV, + {_smithy: MappingProxyType({"method": "GET", "uri": "/v1/voices", "code": 200})}, + DESCRIBE_VOICES_INPUT, + DESCRIBE_VOICES_OUTPUT, + (lambda: INVALID_NEXT_TOKEN_EXCEPTION, SERVICE_FAILURE_EXCEPTION), +) + +LANGUAGE_CODE_LIST: StaticSchema = (16, n0, _LCL, 0, (_me,), ((LANGUAGE_CODE, 0),)) + +GENDER: StaticSchema = (14, n0, _G, 0, (_F, _M), ((-1, {_sV: _F}), (-1, {_sV: _M}))) + +VOICE_ID: StaticSchema = ( + 14, + n0, + _VI, + 0, + ( + _Ad, + _Am, + _As, + _B, + _Br, + _C, + _Ca, + _Car, + _Ce, + _Ch, + _Co, + _Cr, + _D, + _Em, + _En, + _Ew, + _Fi, + _Ga, + _Ge, + _Gi, + _Gw, + _H, + _I, + _Iv, + _J, + _Ja, + _Jo, + _Joe, + _Ju, + _K, + _Ke, + _Kev, + _Ki, + _L, + _Li, + _Lo, + _Lu, + _Lup, + _Ma, + _Maj, + _Mar, + _Mat, + _Matt, + _Max, + _Mi, + _Mig, + _Miz, + _Na, + _Ni, + _O, + _P, + _R, + _Ri, + _Ru, + _Rus, + _S, + _Se, + _T, + _Ta, + _V, + _Vi, + _Z, + _Zh, + _Ar, + _Ay, + _Arl, + _Ha, + _Art, + _Da, + _Lia, + _Pe, + _Ka, + _Hi, + _La, + _El, + _Id, + _Su, + _Ol, + _Hal, + _An, + _Ser, + _Re, + _Adr, + _Th, + _Rut, + _St, + _Kaz, + _To, + _Nia, + _So, + _Lis, + _Is, + _Za, + _Dan, + _Gr, + _Bu, + _Ji, + _Sa, + _Jas, + _Jih, + _Amb, + _Be, + _Fl, + _Le, + _Lor, + _Ti, + _Arj, + _Carl, + _Caro, + _Cu, + _Hy, + _Ken, + _Kia, + _Leo, + _Nat, + _Tin, + ), + ( + (-1, {_sV: _Ad}), + (-1, {_sV: _Am}), + (-1, {_sV: _As}), + (-1, {_sV: _B}), + (-1, {_sV: _Br}), + (-1, {_sV: _C}), + (-1, {_sV: _Ca}), + (-1, {_sV: _Car}), + (-1, {_sV: _Ce}), + (-1, {_sV: _Ch}), + (-1, {_sV: _Co}), + (-1, {_sV: _Cr}), + (-1, {_sV: _D}), + (-1, {_sV: _Em}), + (-1, {_sV: _En}), + (-1, {_sV: _Ew}), + (-1, {_sV: _Fi}), + (-1, {_sV: _Ga}), + (-1, {_sV: _Ge}), + (-1, {_sV: _Gi}), + (-1, {_sV: _Gw}), + (-1, {_sV: _H}), + (-1, {_sV: _I}), + (-1, {_sV: _Iv}), + (-1, {_sV: _J}), + (-1, {_sV: _Ja}), + (-1, {_sV: _Jo}), + (-1, {_sV: _Joe}), + (-1, {_sV: _Ju}), + (-1, {_sV: _K}), + (-1, {_sV: _Ke}), + (-1, {_sV: _Kev}), + (-1, {_sV: _Ki}), + (-1, {_sV: _L}), + (-1, {_sV: _Li}), + (-1, {_sV: _Lo}), + (-1, {_sV: _Lu}), + (-1, {_sV: _Lup}), + (-1, {_sV: _Ma}), + (-1, {_sV: _Maj}), + (-1, {_sV: _Mar}), + (-1, {_sV: _Mat}), + (-1, {_sV: _Matt}), + (-1, {_sV: _Max}), + (-1, {_sV: _Mi}), + (-1, {_sV: _Mig}), + (-1, {_sV: _Miz}), + (-1, {_sV: _Na}), + (-1, {_sV: _Ni}), + (-1, {_sV: _O}), + (-1, {_sV: _P}), + (-1, {_sV: _R}), + (-1, {_sV: _Ri}), + (-1, {_sV: _Ru}), + (-1, {_sV: _Rus}), + (-1, {_sV: _S}), + (-1, {_sV: _Se}), + (-1, {_sV: _T}), + (-1, {_sV: _Ta}), + (-1, {_sV: _V}), + (-1, {_sV: _Vi}), + (-1, {_sV: _Z}), + (-1, {_sV: _Zh}), + (-1, {_sV: _Ar}), + (-1, {_sV: _Ay}), + (-1, {_sV: _Arl}), + (-1, {_sV: _Ha}), + (-1, {_sV: _Art}), + (-1, {_sV: _Da}), + (-1, {_sV: _Lia}), + (-1, {_sV: _Pe}), + (-1, {_sV: _Ka}), + (-1, {_sV: _Hi}), + (-1, {_sV: _La}), + (-1, {_sV: _El}), + (-1, {_sV: _Id}), + (-1, {_sV: _Su}), + (-1, {_sV: _Ol}), + (-1, {_sV: _Hal}), + (-1, {_sV: _An}), + (-1, {_sV: _Ser}), + (-1, {_sV: _Re}), + (-1, {_sV: _Adr}), + (-1, {_sV: _Th}), + (-1, {_sV: _Rut}), + (-1, {_sV: _St}), + (-1, {_sV: _Kaz}), + (-1, {_sV: _To}), + (-1, {_sV: _Nia}), + (-1, {_sV: _So}), + (-1, {_sV: _Lis}), + (-1, {_sV: _Is}), + (-1, {_sV: _Za}), + (-1, {_sV: _Dan}), + (-1, {_sV: _Gr}), + (-1, {_sV: _Bu}), + (-1, {_sV: _Ji}), + (-1, {_sV: _Sa}), + (-1, {_sV: _Jas}), + (-1, {_sV: _Jih}), + (-1, {_sV: _Amb}), + (-1, {_sV: _Be}), + (-1, {_sV: _Fl}), + (-1, {_sV: _Le}), + (-1, {_sV: _Lor}), + (-1, {_sV: _Ti}), + (-1, {_sV: _Arj}), + (-1, {_sV: _Carl}), + (-1, {_sV: _Caro}), + (-1, {_sV: _Cu}), + (-1, {_sV: _Hy}), + (-1, {_sV: _Ken}), + (-1, {_sV: _Kia}), + (-1, {_sV: _Leo}), + (-1, {_sV: _Nat}), + (-1, {_sV: _Tin}), + ), +) + +LANGUAGE_NAME: StaticSchema = (3, n0, _LNa, 0) + +VOICE_NAME: StaticSchema = (3, n0, _VN, 0) + +ENGINE_LIST: StaticSchema = (16, n0, _EL, 0, (_me,), ((ENGINE, 0),)) + +VOICE: StaticSchema = ( + 18, + n0, + _Vo, + 0, + (_G, _Id_, _LC, _LNa, _N, _ALC, _SE), + ( + (GENDER, 0), + (VOICE_ID, 0), + (LANGUAGE_CODE, 0), + (LANGUAGE_NAME, 0), + (VOICE_NAME, 0), + (LANGUAGE_CODE_LIST, 0), + (ENGINE_LIST, 0), + ), +) + +VOICE_LIST: StaticSchema = (16, n0, _VL, 0, (_me,), ((VOICE, 0),)) + +INVALID_NEXT_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _INTE, + {_smith: _c, _sE: 400}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +ENGINE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ENSE, + {_smith: _c, _sE: 400}, + (_m,), + ((ERROR_MESSAGE, 0),), +) + +EXCEPTION_MESSAGE: StaticSchema = (3, n0, _EMx, 0) + +FORCE: StaticSchema = (2, n0, _Fo, {_smithya: False}) + +FLUSH_STREAM_CONFIGURATION: StaticSchema = ( + 18, + n0, + _FSC, + 0, + (_Fo,), + ((FORCE, {_smithya: False}),), +) + +GET_LEXICON_INPUT: StaticSchema = ( + 18, + n0, + _GLI, + {_sm: None}, + (_N,), + ((LEXICON_NAME, 9),), +) + +GET_LEXICON_OUTPUT: StaticSchema = ( + 18, + n0, + _GLO, + {_smit: None}, + (_Lex, _LAe), + ((lambda: LEXICON, 0), (lambda: LEXICON_ATTRIBUTES, 0)), +) + +GET_LEXICON: StaticOperationSchema = ( + 23, + n0, + _GL, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/v1/lexicons/{Name}", "code": 200} + ) + }, + GET_LEXICON_INPUT, + GET_LEXICON_OUTPUT, + (LEXICON_NOT_FOUND_EXCEPTION, SERVICE_FAILURE_EXCEPTION), +) + +LEXICON_CONTENT: StaticSchema = (3, n0, _LCe, 4) + +LEXICON: StaticSchema = ( + 18, + n0, + _Lex, + 0, + (_Con, _N), + ((LEXICON_CONTENT, 0), (LEXICON_NAME, 0)), +) + +LAST_MODIFIED: StaticSchema = (4, n0, _LM, 0) + +LEXEMES_COUNT: StaticSchema = (7, n0, _LCex, {_smithya: 0}) + +LEXICON_ARN: StaticSchema = (3, n0, _LA, 0) + +SIZE: StaticSchema = (7, n0, _Si, {_smithya: 0}) + +LEXICON_ATTRIBUTES: StaticSchema = ( + 18, + n0, + _LAe, + 0, + (_A, _LC, _LM, _LA, _LCex, _Si), + ( + (ALPHABET, 0), + (LANGUAGE_CODE, 0), + (LAST_MODIFIED, 0), + (LEXICON_ARN, 0), + (LEXEMES_COUNT, {_smithya: 0}), + (SIZE, {_smithya: 0}), + ), +) + +TASK_ID: StaticSchema = (3, n0, _TI, 0) + +GET_SPEECH_SYNTHESIS_TASK_INPUT: StaticSchema = ( + 18, + n0, + _GSSTI, + {_sm: None}, + (_TI,), + ((TASK_ID, 9),), +) + +GET_SPEECH_SYNTHESIS_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _GSSTO, + {_smit: None}, + (_ST,), + ((lambda: SYNTHESIS_TASK, 0),), +) + +GET_SPEECH_SYNTHESIS_TASK: StaticOperationSchema = ( + 23, + n0, + _GSST, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/v1/synthesisTasks/{TaskId}", "code": 200} + ) + }, + GET_SPEECH_SYNTHESIS_TASK_INPUT, + GET_SPEECH_SYNTHESIS_TASK_OUTPUT, + ( + lambda: schemas.INVALID_TASK_ID_EXCEPTION, + SERVICE_FAILURE_EXCEPTION, + lambda: schemas.SYNTHESIS_TASK_NOT_FOUND_EXCEPTION, + ), +) + +LEXICON_NAME_LIST: StaticSchema = (16, n0, _LNL, 0, (_me,), ((LEXICON_NAME, 0),)) + +OUTPUT_FORMAT: StaticSchema = ( + 14, + n0, + _OF, + 0, + (_JSON, _MP, _OO, _OV, _PCM, _MULAW, _ALAW), + ( + (-1, {_sV: _j}), + (-1, {_sV: _mp}), + (-1, {_sV: _oo}), + (-1, {_sV: _ov}), + (-1, {_sV: _p}), + (-1, {_sV: _mu}), + (-1, {_sV: _al}), + ), +) + +OUTPUT_URI: StaticSchema = (3, n0, _OU, 0) + +REQUEST_CHARACTERS: StaticSchema = (7, n0, _RC, {_smithya: 0}) + +SAMPLE_RATE: StaticSchema = (3, n0, _SR, 0) + +SNS_TOPIC_ARN: StaticSchema = (3, n0, _STA, 0) + +SPEECH_MARK_TYPE: StaticSchema = ( + 14, + n0, + _SMT, + 0, + (_SENTENCE, _SSML, _VISEME, _WORD), + ((-1, {_sV: _sen}), (-1, {_sV: _ss}), (-1, {_sV: _v}), (-1, {_sV: _w})), +) + +SPEECH_MARK_TYPE_LIST: StaticSchema = ( + 16, + n0, + _SMTL, + 0, + (_me,), + ((SPEECH_MARK_TYPE, 0),), +) + +TASK_STATUS: StaticSchema = ( + 14, + n0, + _TS, + 0, + (_SCHEDULED, _IP, _COMPLETED, _FAILED), + ((-1, {_sV: _sc}), (-1, {_sV: _iP}), (-1, {_sV: _co}), (-1, {_sV: _f})), +) + +TASK_STATUS_REASON: StaticSchema = (3, n0, _TSR, 0) + +TEXT_TYPE: StaticSchema = ( + 14, + n0, + _TT, + 0, + (_SSML, _TEXT), + ((-1, {_sV: _ss}), (-1, {_sV: _t})), +) + +SYNTHESIS_TASK: StaticSchema = ( + 18, + n0, + _ST, + 0, + (_E, _TI, _TS, _TSR, _OU, _CTr, _RC, _STA, _LNe, _OF, _SR, _SMTp, _TT, _VI, _LC), + ( + (ENGINE, 0), + (TASK_ID, 0), + (TASK_STATUS, 0), + (TASK_STATUS_REASON, 0), + (OUTPUT_URI, 0), + (DATE_TIME, 0), + (REQUEST_CHARACTERS, {_smithya: 0}), + (SNS_TOPIC_ARN, 0), + (LEXICON_NAME_LIST, 0), + (OUTPUT_FORMAT, 0), + (SAMPLE_RATE, 0), + (SPEECH_MARK_TYPE_LIST, 0), + (TEXT_TYPE, 0), + (VOICE_ID, 0), + (LANGUAGE_CODE, 0), + ), +) diff --git a/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas_1.py b/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas_1.py new file mode 100644 index 000000000..ed8d236fd --- /dev/null +++ b/clients/aws-sdk-polly/src/aws_sdk_polly/_private/schemas_1.py @@ -0,0 +1,931 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.polly" +_AE = "AudioEvent" +_AS = "AudioStream" +_s = "smithy.api#streaming" +_CSE = "CloseStreamEvent" +_CT = "ContentType" +_sm = "smithy.api#input" +_N = "Name" +_smi = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_m = "message" +_SFE = "ServiceFailureException" +_smithy = "smithy.api#http" +_E = "Engine" +_sV = "smithy.api#enumValue" +_smithya = "smithy.api#default" +_LC = "LanguageCode" +_NT = "NextToken" +_sQ = "smithy.api#httpQuery" +_me = "member" +_VI = "VoiceId" +_FSC = "FlushStreamConfiguration" +_Con = "Content" +_OF = "OutputFormat" +_RC = "RequestCharacters" +_SR = "SampleRate" +_STA = "SnsTopicArn" +_TT = "TextType" +_ST = "SynthesisTask" +_LNe = "LexiconNames" +_SMTp = "SpeechMarkTypes" +_ITIE = "InvalidTaskIdException" +_STNFE = "SynthesisTaskNotFoundException" +_ILE = "InvalidLexiconException" +_ISBE = "InvalidS3BucketException" +_ISKE = "InvalidS3KeyException" +_ISRE = "InvalidSampleRateException" +_ISTAE = "InvalidSnsTopicArnException" +_ISE = "InvalidSsmlException" +_ITPE = "InvalidTagParameterException" +_LNSE = "LanguageNotSupportedException" +_LD = "LexiconDescription" +_At = "Attributes" +_LDL = "LexiconDescriptionList" +_LSEE = "LexiconSizeExceededException" +_LLI = "ListLexiconsInput" +_LLO = "ListLexiconsOutput" +_Lexi = "Lexicons" +_LL = "ListLexicons" +_MR = "MaxResults" +_LSSTI = "ListSpeechSynthesisTasksInput" +_Sta = "Status" +_STy = "SynthesisTasks" +_LSSTO = "ListSpeechSynthesisTasksOutput" +_LSST = "ListSpeechSynthesisTasks" +_LTFRI = "ListTagsForResourceInput" +_RA = "ResourceArn" +_ar = "arn" +_TK = "TagKey" +_TV = "TagValue" +_TM = "TagMap" +_k = "key" +_va = "value" +_LTFRO = "ListTagsForResourceOutput" +_Tag = "Tags" +_RI = "ResourceId" +_RT = "ResourceType" +_LEXICON = "LEXICON" +_l = "lexicon" +_RNFE = "ResourceNotFoundException" +_rI = "resourceId" +_rT = "resourceType" +_TR = "ThrottlingReason" +_r = "reason" +_re = "resource" +_TRL = "ThrottlingReasonList" +_TE = "ThrottlingException" +_aQE = "aws.protocols#awsQueryError" +_tR = "throttlingReasons" +_VEFM = "ValidationExceptionFieldMessage" +_VEFN = "ValidationExceptionFieldName" +_VEF = "ValidationExceptionField" +_na = "name" +_VEFL = "ValidationExceptionFieldList" +_VER = "ValidationExceptionReason" +_UO = "UNSUPPORTED_OPERATION" +_uO = "unsupportedOperation" +_FVF = "FIELD_VALIDATION_FAILED" +_fVF = "fieldValidationFailed" +_OTHER = "OTHER" +_o = "other" +_IIE = "INVALID_INBOUND_EVENT" +_iIE = "invalidInboundEvent" +_VE = "ValidationException" +_fi = "fields" +_LTFR = "ListTagsForResource" +_MNSFFE = "MarksNotSupportedForFormatException" +_MLLEE = "MaxLexemeLengthExceededException" +_MLNEE = "MaxLexiconsNumberExceededException" +_OSBN = "OutputS3BucketName" +_OSKP = "OutputS3KeyPrefix" +_PLI = "PutLexiconInput" +_PLO = "PutLexiconOutput" +_TMTE = "TooManyTagsException" +_UPAE = "UnsupportedPlsAlphabetException" +_UPLE = "UnsupportedPlsLanguageException" +_PL = "PutLexicon" +_QC = "QuotaCode" +_ISIET = "INPUT_STREAM_INBOUND_EVENT_TIMEOUT" +_isiet = "input-stream-inbound-event-timeout" +_IST = "INPUT_STREAM_TIMEOUT" +_ist = "input-stream-timeout" +_SC = "ServiceCode" +_POLLY = "POLLY" +_po = "polly" +_SQEE = "ServiceQuotaExceededException" +_qC = "quotaCode" +_sC = "serviceCode" +_Te = "Text" +_TEe = "TextEvent" +_SSSSAS = "StartSpeechSynthesisStreamActionStream" +_SSSSI = "StartSpeechSynthesisStreamInput" +_sH = "smithy.api#httpHeader" +_xaE = "x-amzn-Engine" +_xaL = "x-amzn-LanguageCode" +_xaL_ = "x-amzn-LexiconNames" +_xaO = "x-amzn-OutputFormat" +_xaS = "x-amzn-SampleRate" +_xaV = "x-amzn-VoiceId" +_ASc = "ActionStream" +_sPm = "smithy.api#httpPayload" +_SCE = "StreamClosedEvent" +_SSSSES = "StartSpeechSynthesisStreamEventStream" +_SSSSO = "StartSpeechSynthesisStreamOutput" +_ES = "EventStream" +_SSSS = "StartSpeechSynthesisStream" +_SMNSFTTE = "SsmlMarksNotSupportedForTextTypeException" +_SSSTI = "StartSpeechSynthesisTaskInput" +_SSSTO = "StartSpeechSynthesisTaskOutput" +_TLEE = "TextLengthExceededException" +_SSST = "StartSpeechSynthesisTask" +_SSI = "SynthesizeSpeechInput" +_SSO = "SynthesizeSpeechOutput" +_v_ = "" +_CT_ = "Content-Type" +_xaR = "x-amzn-RequestCharacters" +_SS = "SynthesizeSpeech" +_TRI = "TagResourceInput" +_TRO = "TagResourceOutput" +_TRa = "TagResource" +_TKL = "TagKeyList" +_URI = "UntagResourceInput" +_TKa = "TagKeys" +_URO = "UntagResourceOutput" +_UR = "UntagResource" +_Pv = "Parrot_v1" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_sN = "smithy.api#xmlNamespace" +_aJ = "aws.protocols#restJson1" + +INVALID_TASK_ID_EXCEPTION: StaticSchema = ( + 18, + n0, + _ITIE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +SYNTHESIS_TASK_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _STNFE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_LEXICON_EXCEPTION: StaticSchema = ( + 18, + n0, + _ILE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_S3_BUCKET_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISBE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_S3_KEY_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISKE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_SAMPLE_RATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISRE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_SNS_TOPIC_ARN_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISTAE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_SSML_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +INVALID_TAG_PARAMETER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ITPE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +LANGUAGE_NOT_SUPPORTED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LNSE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +LEXICON_DESCRIPTION: StaticSchema = ( + 18, + n0, + _LD, + 0, + (_N, _At), + ((lambda: schemas.LEXICON_NAME, 0), (lambda: schemas.LEXICON_ATTRIBUTES, 0)), +) + +LEXICON_DESCRIPTION_LIST: StaticSchema = ( + 16, + n0, + _LDL, + 0, + (_me,), + ((LEXICON_DESCRIPTION, 0),), +) + +LEXICON_SIZE_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LSEE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +LIST_LEXICONS_INPUT: StaticSchema = ( + 18, + n0, + _LLI, + {_sm: None}, + (_NT,), + ((lambda: schemas.NEXT_TOKEN, {_sQ: _NT}),), +) + +LIST_LEXICONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LLO, + {_smit: None}, + (_Lexi, _NT), + ((LEXICON_DESCRIPTION_LIST, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_LEXICONS: StaticOperationSchema = ( + 23, + n0, + _LL, + {_smithy: MappingProxyType({"method": "GET", "uri": "/v1/lexicons", "code": 200})}, + LIST_LEXICONS_INPUT, + LIST_LEXICONS_OUTPUT, + ( + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +MAX_RESULTS: StaticSchema = (7, n0, _MR, 0) + +LIST_SPEECH_SYNTHESIS_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _LSSTI, + {_sm: None}, + (_MR, _NT, _Sta), + ( + (MAX_RESULTS, {_sQ: _MR}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _NT}), + (lambda: schemas.TASK_STATUS, {_sQ: _Sta}), + ), +) + +LIST_SPEECH_SYNTHESIS_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSSTO, + {_smit: None}, + (_NT, _STy), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: SYNTHESIS_TASKS, 0)), +) + +LIST_SPEECH_SYNTHESIS_TASKS: StaticOperationSchema = ( + 23, + n0, + _LSST, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/v1/synthesisTasks", "code": 200} + ) + }, + LIST_SPEECH_SYNTHESIS_TASKS_INPUT, + LIST_SPEECH_SYNTHESIS_TASKS_OUTPUT, + ( + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + ), +) + +SYNTHESIS_TASKS: StaticSchema = ( + 16, + n0, + _STy, + 0, + (_me,), + ((lambda: schemas.SYNTHESIS_TASK, 0),), +) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sm: None}, + (_RA,), + ((lambda: schemas.AMAZON_RESOURCE_NAME, {_sQ: _ar, _smi: None}),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_smit: None}, + (_Tag,), + ((lambda: TAG_MAP, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/v1/listTagsForResource", "code": 200} + ) + }, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + INVALID_TAG_PARAMETER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG_MAP: StaticSchema = (17, n0, _TM, 0, (_k, _va), ((TAG_KEY, 0), (TAG_VALUE, 0))) + +RESOURCE_ID: StaticSchema = (3, n0, _RI, 0) + +RESOURCE_TYPE: StaticSchema = (14, n0, _RT, 0, (_LEXICON,), ((-1, {_sV: _l}),)) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_smith: _c, _sE: 404}, + (_m, _rI, _rT), + ((lambda: schemas.ERROR_MESSAGE, 1), (RESOURCE_ID, 1), (RESOURCE_TYPE, 1)), +) + +THROTTLING_REASON: StaticSchema = ( + 18, + n0, + _TR, + 0, + (_r, _re), + ( + (lambda: schemas.CORAL_AVAILABILITY_THROTTLING_REASON, 0), + (lambda: schemas.CORAL_AVAILABILITY_THROTTLED_RESOURCE, 0), + ), +) + +THROTTLING_REASON_LIST: StaticSchema = ( + 16, + n0, + _TRL, + 0, + (_me,), + ((THROTTLING_REASON, 0),), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "Throttling", "httpResponseCode": 400}), + }, + (_m, _tR), + ((lambda: schemas.AVAILABILITY_ERROR_MESSAGE, 0), (THROTTLING_REASON_LIST, 0)), +) + +VALIDATION_EXCEPTION_FIELD_MESSAGE: StaticSchema = (3, n0, _VEFM, 0) + +VALIDATION_EXCEPTION_FIELD_NAME: StaticSchema = (3, n0, _VEFN, 0) + +VALIDATION_EXCEPTION_FIELD: StaticSchema = ( + 18, + n0, + _VEF, + 0, + (_na, _m), + ((VALIDATION_EXCEPTION_FIELD_NAME, 1), (VALIDATION_EXCEPTION_FIELD_MESSAGE, 1)), +) + +VALIDATION_EXCEPTION_FIELD_LIST: StaticSchema = ( + 16, + n0, + _VEFL, + 0, + (_me,), + ((VALIDATION_EXCEPTION_FIELD, 0),), +) + +VALIDATION_EXCEPTION_REASON: StaticSchema = ( + 14, + n0, + _VER, + 0, + (_UO, _FVF, _OTHER, _IIE), + ((-1, {_sV: _uO}), (-1, {_sV: _fVF}), (-1, {_sV: _o}), (-1, {_sV: _iIE})), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_smith: _c, _sE: 400}, + (_m, _r, _fi), + ( + (lambda: schemas.ERROR_MESSAGE, 1), + (VALIDATION_EXCEPTION_REASON, 1), + (VALIDATION_EXCEPTION_FIELD_LIST, 0), + ), +) + +MARKS_NOT_SUPPORTED_FOR_FORMAT_EXCEPTION: StaticSchema = ( + 18, + n0, + _MNSFFE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +MAX_LEXEME_LENGTH_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _MLLEE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +MAX_LEXICONS_NUMBER_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _MLNEE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +OUTPUT_S3_BUCKET_NAME: StaticSchema = (3, n0, _OSBN, 0) + +OUTPUT_S3_KEY_PREFIX: StaticSchema = (3, n0, _OSKP, 0) + +PUT_LEXICON_INPUT: StaticSchema = ( + 18, + n0, + _PLI, + {_sm: None}, + (_N, _Con, _Tag), + ( + (lambda: schemas.LEXICON_NAME, 9), + (lambda: schemas.LEXICON_CONTENT, 1), + (TAG_MAP, 0), + ), +) + +PUT_LEXICON_OUTPUT: StaticSchema = (18, n0, _PLO, {_smit: None}) + +PUT_LEXICON: StaticOperationSchema = ( + 23, + n0, + _PL, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/v1/lexicons/{Name}", "code": 200} + ) + }, + PUT_LEXICON_INPUT, + PUT_LEXICON_OUTPUT, + ( + INVALID_LEXICON_EXCEPTION, + INVALID_TAG_PARAMETER_EXCEPTION, + LEXICON_SIZE_EXCEEDED_EXCEPTION, + MAX_LEXEME_LENGTH_EXCEEDED_EXCEPTION, + MAX_LEXICONS_NUMBER_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + lambda: TOO_MANY_TAGS_EXCEPTION, + lambda: UNSUPPORTED_PLS_ALPHABET_EXCEPTION, + lambda: UNSUPPORTED_PLS_LANGUAGE_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +TOO_MANY_TAGS_EXCEPTION: StaticSchema = ( + 18, + n0, + _TMTE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +UNSUPPORTED_PLS_ALPHABET_EXCEPTION: StaticSchema = ( + 18, + n0, + _UPAE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +UNSUPPORTED_PLS_LANGUAGE_EXCEPTION: StaticSchema = ( + 18, + n0, + _UPLE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +QUOTA_CODE: StaticSchema = ( + 14, + n0, + _QC, + 0, + (_ISIET, _IST), + ((-1, {_sV: _isiet}), (-1, {_sV: _ist})), +) + +SERVICE_CODE: StaticSchema = (14, n0, _SC, 0, (_POLLY,), ((-1, {_sV: _po}),)) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_smith: _c, _sE: 402}, + (_m, _qC, _sC), + ((lambda: schemas.ERROR_MESSAGE, 1), (QUOTA_CODE, 1), (SERVICE_CODE, 1)), +) + +TEXT: StaticSchema = (3, n0, _Te, 0) + +TEXT_EVENT: StaticSchema = ( + 18, + n0, + _TEe, + 0, + (_Te, _TT, _FSC), + ( + (TEXT, 1), + (lambda: schemas.TEXT_TYPE, 0), + (lambda: schemas.FLUSH_STREAM_CONFIGURATION, 0), + ), +) + +START_SPEECH_SYNTHESIS_STREAM_ACTION_STREAM: StaticSchema = ( + 19, + n0, + _SSSSAS, + {_s: None}, + (_TEe, _CSE), + ((TEXT_EVENT, 0), (lambda: schemas.CLOSE_STREAM_EVENT, 0)), +) + +START_SPEECH_SYNTHESIS_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _SSSSI, + {_sm: None}, + (_E, _LC, _LNe, _OF, _SR, _VI, _ASc), + ( + (lambda: schemas.ENGINE, {_sH: _xaE, _smi: None}), + (lambda: schemas.LANGUAGE_CODE, {_sH: _xaL}), + (lambda: schemas.LEXICON_NAME_LIST, {_sH: _xaL_}), + (lambda: schemas.OUTPUT_FORMAT, {_sH: _xaO, _smi: None}), + (lambda: schemas.SAMPLE_RATE, {_sH: _xaS}), + (lambda: schemas.VOICE_ID, {_sH: _xaV, _smi: None}), + (START_SPEECH_SYNTHESIS_STREAM_ACTION_STREAM, 16), + ), +) + +START_SPEECH_SYNTHESIS_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _SSSSO, + {_smit: None}, + (_ES,), + ((lambda: START_SPEECH_SYNTHESIS_STREAM_EVENT_STREAM, 16),), +) + +START_SPEECH_SYNTHESIS_STREAM: StaticOperationSchema = ( + 23, + n0, + _SSSS, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/v1/synthesisStream", "code": 200} + ) + }, + START_SPEECH_SYNTHESIS_STREAM_INPUT, + START_SPEECH_SYNTHESIS_STREAM_OUTPUT, + ( + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +STREAM_CLOSED_EVENT: StaticSchema = ( + 18, + n0, + _SCE, + 0, + (_RC,), + ((lambda: schemas.REQUEST_CHARACTERS, {_smithya: 0}),), +) + +START_SPEECH_SYNTHESIS_STREAM_EVENT_STREAM: StaticSchema = ( + 19, + n0, + _SSSSES, + {_s: None}, + (_AE, _SCE, _VE, _SQEE, _SFE, _TE), + ( + (lambda: schemas.AUDIO_EVENT, 0), + (STREAM_CLOSED_EVENT, 0), + (VALIDATION_EXCEPTION, 0), + (SERVICE_QUOTA_EXCEEDED_EXCEPTION, 0), + (lambda: schemas.SERVICE_FAILURE_EXCEPTION, 0), + (THROTTLING_EXCEPTION, 0), + ), +) + +SSML_MARKS_NOT_SUPPORTED_FOR_TEXT_TYPE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SMNSFTTE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +START_SPEECH_SYNTHESIS_TASK_INPUT: StaticSchema = ( + 18, + n0, + _SSSTI, + {_sm: None}, + (_E, _LC, _LNe, _OF, _OSBN, _OSKP, _SR, _STA, _SMTp, _Te, _TT, _VI), + ( + (lambda: schemas.ENGINE, 0), + (lambda: schemas.LANGUAGE_CODE, 0), + (lambda: schemas.LEXICON_NAME_LIST, 0), + (lambda: schemas.OUTPUT_FORMAT, 1), + (OUTPUT_S3_BUCKET_NAME, 1), + (OUTPUT_S3_KEY_PREFIX, 0), + (lambda: schemas.SAMPLE_RATE, 0), + (lambda: schemas.SNS_TOPIC_ARN, 0), + (lambda: schemas.SPEECH_MARK_TYPE_LIST, 0), + (TEXT, 1), + (lambda: schemas.TEXT_TYPE, 0), + (lambda: schemas.VOICE_ID, 1), + ), +) + +START_SPEECH_SYNTHESIS_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _SSSTO, + {_smit: None}, + (_ST,), + ((lambda: schemas.SYNTHESIS_TASK, 0),), +) + +START_SPEECH_SYNTHESIS_TASK: StaticOperationSchema = ( + 23, + n0, + _SSST, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/v1/synthesisTasks", "code": 200} + ) + }, + START_SPEECH_SYNTHESIS_TASK_INPUT, + START_SPEECH_SYNTHESIS_TASK_OUTPUT, + ( + lambda: schemas.ENGINE_NOT_SUPPORTED_EXCEPTION, + INVALID_S3_BUCKET_EXCEPTION, + INVALID_S3_KEY_EXCEPTION, + INVALID_SAMPLE_RATE_EXCEPTION, + INVALID_SNS_TOPIC_ARN_EXCEPTION, + INVALID_SSML_EXCEPTION, + LANGUAGE_NOT_SUPPORTED_EXCEPTION, + lambda: schemas.LEXICON_NOT_FOUND_EXCEPTION, + MARKS_NOT_SUPPORTED_FOR_FORMAT_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + SSML_MARKS_NOT_SUPPORTED_FOR_TEXT_TYPE_EXCEPTION, + lambda: TEXT_LENGTH_EXCEEDED_EXCEPTION, + ), +) + +TEXT_LENGTH_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _TLEE, + {_smith: _c, _sE: 400}, + (_m,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +SYNTHESIZE_SPEECH_INPUT: StaticSchema = ( + 18, + n0, + _SSI, + {_sm: None}, + (_E, _LC, _LNe, _OF, _SR, _SMTp, _Te, _TT, _VI), + ( + (lambda: schemas.ENGINE, 0), + (lambda: schemas.LANGUAGE_CODE, 0), + (lambda: schemas.LEXICON_NAME_LIST, 0), + (lambda: schemas.OUTPUT_FORMAT, 1), + (lambda: schemas.SAMPLE_RATE, 0), + (lambda: schemas.SPEECH_MARK_TYPE_LIST, 0), + (TEXT, 1), + (lambda: schemas.TEXT_TYPE, 0), + (lambda: schemas.VOICE_ID, 1), + ), +) + +SYNTHESIZE_SPEECH_OUTPUT: StaticSchema = ( + 18, + n0, + _SSO, + {_smit: None}, + (_AS, _CT, _RC), + ( + (lambda: schemas.AUDIO_STREAM, {_smithya: _v_, _sPm: None}), + (lambda: schemas.CONTENT_TYPE, {_sH: _CT_}), + (lambda: schemas.REQUEST_CHARACTERS, {_smithya: 0, _sH: _xaR}), + ), +) + +SYNTHESIZE_SPEECH: StaticOperationSchema = ( + 23, + n0, + _SS, + {_smithy: MappingProxyType({"method": "POST", "uri": "/v1/speech", "code": 200})}, + SYNTHESIZE_SPEECH_INPUT, + SYNTHESIZE_SPEECH_OUTPUT, + ( + lambda: schemas.ENGINE_NOT_SUPPORTED_EXCEPTION, + INVALID_SAMPLE_RATE_EXCEPTION, + INVALID_SSML_EXCEPTION, + LANGUAGE_NOT_SUPPORTED_EXCEPTION, + lambda: schemas.LEXICON_NOT_FOUND_EXCEPTION, + MARKS_NOT_SUPPORTED_FOR_FORMAT_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + SSML_MARKS_NOT_SUPPORTED_FOR_TEXT_TYPE_EXCEPTION, + TEXT_LENGTH_EXCEEDED_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sm: None}, + (_RA, _Tag), + ((lambda: schemas.AMAZON_RESOURCE_NAME, 1), (TAG_MAP, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_smit: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TRa, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/v1/tagResource", "code": 200} + ) + }, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + INVALID_TAG_PARAMETER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + THROTTLING_EXCEPTION, + TOO_MANY_TAGS_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_me,), ((TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sm: None}, + (_RA, _TKa), + ((lambda: schemas.AMAZON_RESOURCE_NAME, 1), (TAG_KEY_LIST, 1)), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_smit: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/v1/untagResource", "code": 200} + ) + }, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + INVALID_TAG_PARAMETER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_FAILURE_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +PARROT_V1: StaticSchema = ( + 21, + n0, + _Pv, + { + _aw: MappingProxyType({"name": "polly"}), + _aws: MappingProxyType( + { + "sdkId": "Polly", + "arnNamespace": "polly", + "cloudFormationName": "Polly", + "cloudTrailEventSource": "polly.amazonaws.com", + "endpointPrefix": "polly", + } + ), + _sN: MappingProxyType({"uri": "http://polly.amazonaws.com/doc/v1"}), + _aJ: MappingProxyType({"http": ("http/1.1", "h2"), "eventStreamHttp": ("h2",)}), + }, +) diff --git a/clients/aws-sdk-polly/src/aws_sdk_polly/aio/client.py b/clients/aws-sdk-polly/src/aws_sdk_polly/aio/client.py index e6cde58b2..582e055fb 100644 --- a/clients/aws-sdk-polly/src/aws_sdk_polly/aio/client.py +++ b/clients/aws-sdk-polly/src/aws_sdk_polly/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncDuplexEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-polly/src/aws_sdk_polly/aio/config.py b/clients/aws-sdk-polly/src/aws_sdk_polly/aio/config.py index 461c5db26..6caff03fa 100644 --- a/clients/aws-sdk-polly/src/aws_sdk_polly/aio/config.py +++ b/clients/aws-sdk-polly/src/aws_sdk_polly/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-polly/src/aws_sdk_polly/client.py b/clients/aws-sdk-polly/src/aws_sdk_polly/client.py index 3db475c11..0bd54884b 100644 --- a/clients/aws-sdk-polly/src/aws_sdk_polly/client.py +++ b/clients/aws-sdk-polly/src/aws_sdk_polly/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-polly/src/aws_sdk_polly/config.py b/clients/aws-sdk-polly/src/aws_sdk_polly/config.py index be9dd1048..f2ae2bc3c 100644 --- a/clients/aws-sdk-polly/src/aws_sdk_polly/config.py +++ b/clients/aws-sdk-polly/src/aws_sdk_polly/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-polly/tests/test_endpoints.py b/clients/aws-sdk-polly/tests/test_endpoints.py index 907551c03..4d8dd0368 100644 --- a/clients/aws-sdk-polly/tests/test_endpoints.py +++ b/clients/aws-sdk-polly/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-qbusiness/pyproject.toml b/clients/aws-sdk-qbusiness/pyproject.toml index 4ae1670de..a9cb653ca 100644 --- a/clients/aws-sdk-qbusiness/pyproject.toml +++ b/clients/aws-sdk-qbusiness/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_qbusiness" version = "0.12.0" -description = "aws_sdk_qbusiness client" +description = "Python client for QBusiness" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_qbusiness"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/models_0.pyi b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/models_0.pyi new file mode 100644 index 000000000..91d730e63 --- /dev/null +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/models_0.pyi @@ -0,0 +1,5482 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document as _Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + MediaExtractionConfiguration, + MemberGroup, + MemberUser, + Message, + MetadataEvent, + NumberAttributeBoostingConfiguration, + OpenIDConnectProviderConfiguration, + PermissionCondition, + PersonalizationConfiguration, + Plugin, + PluginAuthConfiguration, + PluginConfiguration, + Principal, + QAppsConfiguration, + QuickSightConfiguration, + ResponseConfiguration, + RetrieverConfiguration, + RetrieverContentSource, + S3, + SamlProviderConfiguration, + ServiceError, + SourceAttribution, + StringAttributeBoostingConfiguration, + StringListAttributeBoostingConfiguration, + SubscriptionDetails, + SubscriptionPrincipal, + Tag, + TextDocumentStatistics, + TextInputEvent, + TextOutputEvent, + TopicConfiguration, + UserAlias, + WebExperienceAuthConfiguration, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AccessConfiguration(_SerdeShape): + """Used to configure access permissions for a document.""" + + access_controls: list[AccessControl] + """A list of `AccessControlList` objects.""" + member_relation: str | None = ... + """Describes the member relation within the `AccessControlList` object.""" + +@dataclass(kw_only=True) +class AccessControl(_SerdeShape): + """ + A list of principals. Each principal can be either a `USER` or a `GROUP` + and can be designated document access permissions of either `ALLOW` or + `DENY`. + """ + + principals: list[Principal] + """ + Contains a list of principals, where a principal can be either a `USER` + or a `GROUP`. Each principal can be have the following type of document + access: `ALLOW` or `DENY`. + """ + member_relation: str | None = ... + """Describes the member relation within a principal list.""" + +@dataclass(kw_only=True) +class AccessDeniedException(ServiceError, _SerdeShape): + """ + You don't have access to perform this action. Make sure you have the + required permission policies and user accounts and try again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ActionConfiguration(_SerdeShape): + """Specifies an allowed action and its associated filter configuration.""" + + action: str + """The Amazon Q Business action that is allowed.""" + filter_configuration: ActionFilterConfiguration | None = ... + """The filter configuration for the action, if any.""" + +@dataclass(kw_only=True) +class ActionExecution(_SerdeShape): + """ + Performs an Amazon Q Business plugin action during a non-streaming chat + conversation. + """ + + plugin_id: str + """The identifier of the plugin the action is attached to.""" + payload: dict[str, ActionExecutionPayloadField] + """ + A mapping of field names to the field values in input that an end user + provides to Amazon Q Business requests to perform their plugin action. + """ + payload_field_name_separator: str + """ + A string used to retain information about the hierarchical contexts + within an action execution event payload. + """ + +@dataclass(kw_only=True) +class ActionExecutionEvent(_SerdeShape): + """ + A request from an end user signalling an intent to perform an Amazon Q + Business plugin action during a streaming chat. + """ + + plugin_id: str + """The identifier of the plugin for which the action is being requested.""" + payload: dict[str, ActionExecutionPayloadField] + """ + A mapping of field names to the field values in input that an end user + provides to Amazon Q Business requests to perform their plugin action. + """ + payload_field_name_separator: str + """ + A string used to retain information about the hierarchical contexts + within a action execution event payload. + """ + +@dataclass(kw_only=True) +class ActionExecutionPayloadField(_SerdeShape): + """A user input field in an plugin action execution payload.""" + + value: _Document + """The content of a user input field in an plugin action execution payload.""" + +@dataclass(kw_only=True) +class ActionFilterConfiguration(_SerdeShape): + """Specifies filters to apply to an allowed action.""" + + document_attribute_filter: AttributeFilter + """ + Enables filtering of responses based on document attributes or metadata + fields. + """ + +class ActionPayloadFieldType(UnknownEnumMixin, StrEnum): + STRING = "STRING" + NUMBER = "NUMBER" + ARRAY = "ARRAY" + BOOLEAN = "BOOLEAN" + +@dataclass(kw_only=True) +class ActionReview(_SerdeShape): + """ + An output event that Amazon Q Business returns to an user who wants to + perform a plugin action during a non-streaming chat conversation. It + contains information about the selected action with a list of possible + user input fields, some pre-populated by Amazon Q Business. + """ + + plugin_id: str | None = ... + """The identifier of the plugin associated with the action review.""" + plugin_type: str | None = ... + """The type of plugin.""" + payload: dict[str, ActionReviewPayloadField] | None = ... + """ + Field values that an end user needs to provide to Amazon Q Business for + Amazon Q Business to perform the requested plugin action. + """ + payload_field_name_separator: str | None = ... + """ + A string used to retain information about the hierarchical contexts + within an action review payload. + """ + +@dataclass(kw_only=True) +class ActionReviewEvent(_SerdeShape): + """ + An output event that Amazon Q Business returns to an user who wants to + perform a plugin action during a streaming chat conversation. It + contains information about the selected action with a list of possible + user input fields, some pre-populated by Amazon Q Business. + """ + + conversation_id: str | None = ... + """ + The identifier of the conversation with which the action review event is + associated. + """ + user_message_id: str | None = ... + """ + The identifier of the conversation with which the plugin action is + associated. + """ + system_message_id: str | None = ... + """ + The identifier of an Amazon Q Business AI generated associated with the + action review event. + """ + plugin_id: str | None = ... + """The identifier of the plugin associated with the action review event.""" + plugin_type: str | None = ... + """The type of plugin.""" + payload: dict[str, ActionReviewPayloadField] | None = ... + """ + Field values that an end user needs to provide to Amazon Q Business for + Amazon Q Business to perform the requested plugin action. + """ + payload_field_name_separator: str | None = ... + """ + A string used to retain information about the hierarchical contexts + within an action review event payload. + """ + +@dataclass(kw_only=True) +class ActionReviewPayloadField(_SerdeShape): + """A user input field in an plugin action review payload.""" + + display_name: str | None = ... + """The name of the field.""" + display_order: int | None = ... + """The display order of fields in a payload.""" + display_description: str | None = ... + """ + The field level description of each action review input field. This + could be an explanation of the field. In the Amazon Q Business web + experience, these descriptions could be used to display as tool tips to + help users understand the field. + """ + type: str | None = ... + """The type of field.""" + value: _Document | None = ... + """The field value.""" + allowed_values: list[ActionReviewPayloadFieldAllowedValue] | None = ... + """ + Information about the field values that an end user can use to provide + to Amazon Q Business for Amazon Q Business to perform the requested + plugin action. + """ + allowed_format: str | None = ... + """ + The expected data format for the action review input field value. For + example, in PTO request, `from` and `to` would be of `datetime` allowed + format. + """ + array_item_json_schema: _Document | None = ... + """ + Use to create a custom form with array fields (fields with nested + objects inside an array). + """ + required: bool | None = ... + """Information about whether the field is required.""" + +@dataclass(kw_only=True) +class ActionReviewPayloadFieldAllowedValue(_SerdeShape): + """ + Information about the field values that an end user can use to provide + to Amazon Q Business for Amazon Q Business to perform the requested + plugin action. + """ + + value: _Document | None = ... + """The field value.""" + display_value: _Document | None = ... + """The name of the field.""" + +@dataclass(kw_only=True) +class ActionSummary(_SerdeShape): + """Summary information for an Amazon Q Business plugin action.""" + + action_identifier: str | None = ... + """The identifier of an Amazon Q Business plugin action.""" + display_name: str | None = ... + """ + The display name assigned by Amazon Q Business to a plugin action. You + can't modify this value. + """ + instruction_example: str | None = ... + """ + An Amazon Q Business suggested prompt and end user can use to invoke a + plugin action. This value can be modified and sent as input to initiate + an action. For example: + + - Create a Jira task + + - Create a chat assistant task to find the root cause of a specific + incident + """ + description: str | None = ... + """The description of an Amazon Q Business plugin action.""" + +@dataclass +class APISchemaPayload(_SerdeShape): + """ + The JSON or YAML-formatted payload defining the OpenAPI schema for a + custom plugin. + """ + + value: str + +@dataclass +class APISchemaS3(_SerdeShape): + """ + Contains details about the S3 object containing the OpenAPI schema for a + custom plugin. The schema could be in either JSON or YAML format. + """ + + value: S3 + +@dataclass +class APISchemaUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +APISchema = Union[APISchemaPayload | APISchemaS3 | APISchemaUnknown] +""" +Contains details about the OpenAPI schema for a custom plugin. For more +information, see [custom plugin OpenAPI +schemas](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/custom-plugin.html#plugins-api-schema). +You can either include the schema directly in the payload field or you +can upload it to an S3 bucket and specify the S3 bucket location in the +`s3` field. +""" + +class _APISchemaDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> APISchema: ... + +class APISchemaType(UnknownEnumMixin, StrEnum): + OPEN_API_V3 = "OPEN_API_V3" + +@dataclass(kw_only=True) +class Application(_SerdeShape): + """Summary information for an Amazon Q Business application.""" + + display_name: str | None = ... + """The name of the Amazon Q Business application.""" + application_id: str | None = ... + """The identifier for the Amazon Q Business application.""" + created_at: datetime | None = ... + """The Unix timestamp when the Amazon Q Business application was created.""" + updated_at: datetime | None = ... + """ + The Unix timestamp when the Amazon Q Business application was last + updated. + """ + status: str | None = ... + """ + The status of the Amazon Q Business application. The application is + ready to use when the status is `ACTIVE`. + """ + identity_type: str | None = ... + """The authentication type being used by a Amazon Q Business application.""" + quick_sight_configuration: QuickSightConfiguration | None = ... + """ + The Amazon Quick Suite configuration for an Amazon Q Business + application that uses Quick Suite as the identity provider. + """ + +class ApplicationStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + DELETING = "DELETING" + FAILED = "FAILED" + UPDATING = "UPDATING" + +@dataclass(kw_only=True) +class AppliedAttachmentsConfiguration(_SerdeShape): + """ + Configuration information about the file upload during chat feature for + your application. + """ + + attachments_control_mode: str | None = ... + """ + Information about whether file upload during chat functionality is + activated for your application. + """ + +@dataclass(kw_only=True) +class AppliedCreatorModeConfiguration(_SerdeShape): + """ + The creator mode specific admin controls configured for an Amazon Q + Business application. Determines whether an end user can generate + LLM-only responses when they use the web experience. + + For more information, see [Admin controls and + guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html) + and [Conversation + settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). + """ + + creator_mode_control: str + """ + Information about whether creator mode is enabled or disabled for an + Amazon Q Business application. + """ + +@dataclass(kw_only=True) +class AppliedOrchestrationConfiguration(_SerdeShape): + """ + The chat orchestration specific admin controls configured for an Amazon + Q Business application. Determines whether Amazon Q Business + automatically routes chat requests across configured plugins and data + sources in your Amazon Q Business application. + + For more information, see [Chat orchestration + settings](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails-global-controls.html#guardrails-global-orchestration). + """ + + control: str + """ + Information about whether chat orchestration is enabled or disabled for + an Amazon Q Business application. + """ + +@dataclass(kw_only=True) +class AssociatedGroup(_SerdeShape): + """ + Represents a group associated with a given user in the access control + system. + """ + + name: str | None = ... + """ + The name of the group associated with the user. This is used to identify + the group in access control decisions. + """ + type: str | None = ... + """ + The type of the associated group. This indicates the scope of the + group's applicability. + """ + +@dataclass(kw_only=True) +class AssociatedUser(_SerdeShape): + """Represents an associated user in the access control system.""" + + id: str | None = ... + """ + The unique identifier of the associated user. This is used to identify + the user in access control decisions. + """ + type: str | None = ... + """ + The type of the associated user. This indicates the scope of the user's + association. + """ + +@dataclass(kw_only=True) +class AssociatePermissionInput(_SerdeShape): + """Dataclass for AssociatePermissionInput structure.""" + + application_id: str | None = ... + """The unique identifier of the Amazon Q Business application.""" + statement_id: str | None = ... + """A unique identifier for the policy statement.""" + actions: list[str] | None = ... + """ + The list of Amazon Q Business actions that the ISV is allowed to + perform. + """ + conditions: list[PermissionCondition] | None = ... + """ + The conditions that restrict when the permission is effective. These + conditions can be used to limit the permission based on specific + attributes of the request. + """ + principal: str | None = ... + """ + The Amazon Resource Name of the IAM role for the ISV that is being + granted permission. + """ + +@dataclass(kw_only=True) +class AssociatePermissionOutput(_SerdeShape): + """Dataclass for AssociatePermissionOutput structure.""" + + statement: str | None = ... + """The JSON representation of the added permission statement.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Attachment(_SerdeShape): + """An attachment in an Amazon Q Business conversation.""" + + attachment_id: str | None = ... + """The identifier of the Amazon Q Business attachment.""" + conversation_id: str | None = ... + """ + The identifier of the Amazon Q Business conversation the attachment is + associated with. + """ + name: str | None = ... + """Filename of the Amazon Q Business attachment.""" + copy_from: CopyFromSource | None = ... + """ + A CopyFromSource containing a reference to the original source of the + Amazon Q Business attachment. + """ + file_type: str | None = ... + """Filetype of the Amazon Q Business attachment.""" + file_size: int | None = ... + """Size in bytes of the Amazon Q Business attachment.""" + md5chksum: str | None = ... + """MD5 checksum of the Amazon Q Business attachment contents.""" + created_at: datetime | None = ... + """The Unix timestamp when the Amazon Q Business attachment was created.""" + status: str | None = ... + """AttachmentStatus of the Amazon Q Business attachment.""" + error: ErrorDetail | None = ... + """ + ErrorDetail providing information about a Amazon Q Business attachment + error. + """ + +@dataclass(kw_only=True) +class AttachmentInput(_SerdeShape): + """ + This is either a file directly uploaded into a web experience chat or a + reference to an existing attachment that is part of a web experience + chat. + """ + + data: bytes | None = ... + """The contents of the attachment.""" + name: str | None = ... + """The filename of the attachment.""" + copy_from: CopyFromSource | None = ... + """A reference to an existing attachment.""" + +@dataclass(kw_only=True) +class AttachmentInputEvent(_SerdeShape): + """ + A file input event activated by a end user request to upload files into + their web experience chat. + """ + + attachment: AttachmentInput | None = ... + """ + This is either a file directly uploaded into a web experience chat or a + reference to an existing attachment that is part of a web experience + chat. + """ + +@dataclass(kw_only=True) +class AttachmentOutput(_SerdeShape): + """The details of a file uploaded during chat.""" + + name: str | None = ... + """The name of a file uploaded during chat.""" + status: str | None = ... + """The status of a file uploaded during chat.""" + error: ErrorDetail | None = ... + """An error associated with a file uploaded during chat.""" + attachment_id: str | None = ... + """The unique identifier of the Amazon Q Business attachment.""" + conversation_id: str | None = ... + """The unique identifier of the Amazon Q Business conversation.""" + +@dataclass(kw_only=True) +class AttachmentsConfiguration(_SerdeShape): + """Configuration information for the file upload during chat feature.""" + + attachments_control_mode: str + """ + Status information about whether file upload functionality is activated + or deactivated for your end user. + """ + +class AttachmentsControlMode(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class AttachmentStatus(UnknownEnumMixin, StrEnum): + FAILED = "FAILED" + SUCCESS = "SUCCESS" + +@dataclass(kw_only=True) +class AttributeFilter(_SerdeShape): + """ + Enables filtering of responses based on document attributes or metadata + fields. + """ + + and_all_filters: list[AttributeFilter] | None = ... + """Performs a logical `AND` operation on all supplied filters.""" + or_all_filters: list[AttributeFilter] | None = ... + """Performs a logical `OR` operation on all supplied filters.""" + not_filter: AttributeFilter | None = ... + """Performs a logical `NOT` operation on all supplied filters.""" + equals_to: DocumentAttribute | None = ... + """ + Performs an equals operation on two document attributes or metadata + fields. Supported for the following [document attribute value + types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): + `dateValue`, `longValue`, `stringListValue` and `stringValue`. + """ + contains_all: DocumentAttribute | None = ... + """ + Returns `true` when a document contains all the specified document + attributes or metadata fields. Supported for the following [document + attribute value + types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): + `stringListValue`. + """ + contains_any: DocumentAttribute | None = ... + """ + Returns `true` when a document contains any of the specified document + attributes or metadata fields. Supported for the following [document + attribute value + types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): + `stringListValue`. + """ + greater_than: DocumentAttribute | None = ... + """ + Performs a greater than operation on two document attributes or metadata + fields. Supported for the following [document attribute value + types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): + `dateValue` and `longValue`. + """ + greater_than_or_equals: DocumentAttribute | None = ... + """ + Performs a greater or equals than operation on two document attributes + or metadata fields. Supported for the following [document attribute + value + types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): + `dateValue` and `longValue`. + """ + less_than: DocumentAttribute | None = ... + """ + Performs a less than operation on two document attributes or metadata + fields. Supported for the following [document attribute value + types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): + `dateValue` and `longValue`. + """ + less_than_or_equals: DocumentAttribute | None = ... + """ + Performs a less than or equals operation on two document attributes or + metadata fields.Supported for the following [document attribute value + type](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): + `dateValue` and `longValue`. + """ + +class AttributeType(UnknownEnumMixin, StrEnum): + STRING = "STRING" + STRING_LIST = "STRING_LIST" + NUMBER = "NUMBER" + DATE = "DATE" + +class AttributeValueOperator(UnknownEnumMixin, StrEnum): + DELETE = "DELETE" + +@dataclass(kw_only=True) +class AudioExtractionConfiguration(_SerdeShape): + """Configuration settings for audio content extraction and processing.""" + + audio_extraction_status: str + """ + The status of audio extraction (ENABLED or DISABLED) for processing + audio content from files. + """ + +class AudioExtractionStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class AudioExtractionType(UnknownEnumMixin, StrEnum): + TRANSCRIPT = "TRANSCRIPT" + SUMMARY = "SUMMARY" + +@dataclass(kw_only=True) +class AudioSourceDetails(_SerdeShape): + """ + Details about an audio source, including its identifier, format, and + time information. + """ + + media_id: str | None = ... + """Unique identifier for the audio media file.""" + media_mime_type: str | None = ... + """The MIME type of the audio file (e.g., audio/mp3, audio/wav).""" + start_time_milliseconds: int | None = ... + """The starting timestamp in milliseconds for the relevant audio segment.""" + end_time_milliseconds: int | None = ... + """The ending timestamp in milliseconds for the relevant audio segment.""" + audio_extraction_type: str | None = ... + """The type of audio extraction performed on the content.""" + +@dataclass(kw_only=True) +class AuthChallengeRequest(_SerdeShape): + """ + A request made by Amazon Q Business to a third paty authentication + server to authenticate a custom plugin user. + """ + + authorization_url: str + """ + The URL sent by Amazon Q Business to the third party authentication + server to authenticate a custom plugin user through an OAuth protocol. + """ + +@dataclass(kw_only=True) +class AuthChallengeRequestEvent(_SerdeShape): + """ + An authentication verification event activated by an end user request to + use a custom plugin. + """ + + authorization_url: str + """ + The URL sent by Amazon Q Business to a third party authentication server + in response to an authentication verification event activated by an end + user request to use a custom plugin. + """ + +@dataclass(kw_only=True) +class AuthChallengeResponse(_SerdeShape): + """ + Contains details of the authentication information received from a third + party authentication server in response to an authentication challenge. + """ + + response_map: dict[str, str] + """The mapping of key-value pairs in an authentication challenge response.""" + +@dataclass(kw_only=True) +class AuthChallengeResponseEvent(_SerdeShape): + """ + An authentication verification event response by a third party + authentication server to Amazon Q Business. + """ + + response_map: dict[str, str] + """The mapping of key-value pairs in an authentication challenge response.""" + +@dataclass(kw_only=True) +class AutoSubscriptionConfiguration(_SerdeShape): + """ + Subscription configuration information for an Amazon Q Business + application using IAM identity federation for user management. + """ + + auto_subscribe: str + """ + Describes whether automatic subscriptions are enabled for an Amazon Q + Business application using IAM identity federation for user management. + """ + default_subscription_type: str | None = ... + """ + Describes the default subscription type assigned to an Amazon Q Business + application using IAM identity federation for user management. If the + value for `autoSubscribe` is set to `ENABLED` you must select a value + for this field. + """ + +class AutoSubscriptionStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class BasicAuthConfiguration(_SerdeShape): + """ + Information about the basic authentication credentials used to configure + a plugin. + """ + + secret_arn: str + """ + The ARN of the Secrets Manager secret that stores the basic + authentication credentials used for plugin configuration.. + """ + role_arn: str + """ + The ARN of an IAM role used by Amazon Q Business to access the basic + authentication credentials stored in a Secrets Manager secret. + """ + +@dataclass(kw_only=True) +class BatchDeleteDocumentInput(_SerdeShape): + """Dataclass for BatchDeleteDocumentInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + index_id: str | None = ... + """ + The identifier of the Amazon Q Business index that contains the + documents to delete. + """ + documents: list[DeleteDocument] | None = ... + """Documents deleted from the Amazon Q Business index.""" + data_source_sync_id: str | None = ... + """ + The identifier of the data source sync during which the documents were + deleted. + """ + +@dataclass(kw_only=True) +class BatchDeleteDocumentOutput(_SerdeShape): + """Dataclass for BatchDeleteDocumentOutput structure.""" + + failed_documents: list[FailedDocument] | None = ... + """ + A list of documents that couldn't be removed from the Amazon Q Business + index. Each entry contains an error message that indicates why the + document couldn't be removed from the index. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BatchPutDocumentInput(_SerdeShape): + """Dataclass for BatchPutDocumentInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + index_id: str | None = ... + """The identifier of the Amazon Q Business index to add the documents to.""" + documents: list[Document] | None = ... + """ + One or more documents to add to the index. + + Warning: + Ensure that the name of your document doesn't contain any confidential + information. Amazon Q Business returns document names in chat responses + and citations when relevant. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role with permission to access + your S3 bucket. + """ + data_source_sync_id: str | None = ... + """ + The identifier of the data source sync during which the documents were + added. + """ + +@dataclass(kw_only=True) +class BatchPutDocumentOutput(_SerdeShape): + """Dataclass for BatchPutDocumentOutput structure.""" + + failed_documents: list[FailedDocument] | None = ... + """ + A list of documents that were not added to the Amazon Q Business index + because the document failed a validation check. Each document contains + an error message that indicates why the document couldn't be added to + the index. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BlockedPhrasesConfiguration(_SerdeShape): + """ + Provides information about the phrases blocked from chat by your chat + control configuration. + """ + + blocked_phrases: list[str] | None = ... + """ + A list of phrases blocked from a Amazon Q Business web experience chat. + + Note: + Each phrase can contain a maximum of 36 characters. The list can contain + a maximum of 20 phrases. + """ + system_message_override: str | None = ... + """ + The configured custom message displayed to an end user informing them + that they've used a blocked phrase during chat. + """ + +@dataclass(kw_only=True) +class BlockedPhrasesConfigurationUpdate(_SerdeShape): + """ + Updates a blocked phrases configuration in your Amazon Q Business + application. + """ + + blocked_phrases_to_create_or_update: list[str] | None = ... + """ + Creates or updates a blocked phrases configuration in your Amazon Q + Business application. + """ + blocked_phrases_to_delete: list[str] | None = ... + """ + Deletes a blocked phrases configuration in your Amazon Q Business + application. + """ + system_message_override: str | None = ... + """ + The configured custom message displayed to your end user when they use + blocked phrase during chat. + """ + +@dataclass(kw_only=True) +class BrowserExtensionConfiguration(_SerdeShape): + """ + The container for browser extension configuration for an Amazon Q + Business web experience. + """ + + enabled_browser_extensions: list[str] + """ + Specify the browser extensions allowed for your Amazon Q web experience. + + - `CHROME` --- Enables the extension for Chromium-based browsers (Google + Chrome, Microsoft Edge, Opera, etc.). + + - `FIREFOX` --- Enables the extension for Mozilla Firefox. + + - `CHROME` and `FIREFOX` --- Enable the extension for Chromium-based + browsers and Mozilla Firefox. + """ + +@dataclass(kw_only=True) +class CancelSubscriptionInput(_SerdeShape): + """Dataclass for CancelSubscriptionInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application for which the + subscription is being cancelled. + """ + subscription_id: str | None = ... + """The identifier of the Amazon Q Business subscription being cancelled.""" + +@dataclass(kw_only=True) +class CancelSubscriptionOutput(_SerdeShape): + """Dataclass for CancelSubscriptionOutput structure.""" + + subscription_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Q Business subscription + being cancelled. + """ + current_subscription: SubscriptionDetails | None = ... + """The type of your current Amazon Q Business subscription.""" + next_subscription: SubscriptionDetails | None = ... + """The type of the Amazon Q Business subscription for the next month.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ChatInput(_SerdeShape): + """Dataclass for ChatInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application linked to a + streaming Amazon Q Business conversation. + """ + user_id: str | None = ... + """The identifier of the user attached to the chat input.""" + user_groups: list[str] | None = ... + """The group names that a user associated with the chat input belongs to.""" + conversation_id: str | None = ... + """The identifier of the Amazon Q Business conversation.""" + parent_message_id: str | None = ... + """ + The identifier used to associate a user message with a AI generated + response. + """ + client_token: str | None = ... + """ + A token that you provide to identify the chat input. + + This field is autopopulated if not provided. + """ + +@dataclass +class ChatInputStreamConfigurationEvent(_SerdeShape): + """ + A configuration event activated by an end user request to select a + specific chat mode. + """ + + value: ConfigurationEvent + +@dataclass +class ChatInputStreamTextEvent(_SerdeShape): + """ + Information about the payload of the `ChatInputStream` event containing + the end user message input. + """ + + value: TextInputEvent + +@dataclass +class ChatInputStreamAttachmentEvent(_SerdeShape): + """A request by an end user to upload a file during chat.""" + + value: AttachmentInputEvent + +@dataclass +class ChatInputStreamActionExecutionEvent(_SerdeShape): + """ + A request from an end user to perform an Amazon Q Business plugin + action. + """ + + value: ActionExecutionEvent + +@dataclass +class ChatInputStreamEndOfInputEvent(_SerdeShape): + """The end of the streaming input for the `Chat` API.""" + + value: EndOfInputEvent + +@dataclass +class ChatInputStreamAuthChallengeResponseEvent(_SerdeShape): + """ + An authentication verification event response by a third party + authentication server to Amazon Q Business. + """ + + value: AuthChallengeResponseEvent + +@dataclass +class ChatInputStreamUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ChatInputStream = Union[ + ChatInputStreamConfigurationEvent + | ChatInputStreamTextEvent + | ChatInputStreamAttachmentEvent + | ChatInputStreamActionExecutionEvent + | ChatInputStreamEndOfInputEvent + | ChatInputStreamAuthChallengeResponseEvent + | ChatInputStreamUnknown +] +"""The streaming input for the `Chat` API.""" + +class _ChatInputStreamDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ChatInputStream: ... + +class ChatMode(UnknownEnumMixin, StrEnum): + RETRIEVAL_MODE = "RETRIEVAL_MODE" + CREATOR_MODE = "CREATOR_MODE" + PLUGIN_MODE = "PLUGIN_MODE" + +@dataclass +class ChatModeConfigurationPluginConfiguration(_SerdeShape): + """Configuration information required to invoke chat in `PLUGIN_MODE`.""" + + value: PluginConfiguration + +@dataclass +class ChatModeConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ChatModeConfiguration = Union[ + ChatModeConfigurationPluginConfiguration | ChatModeConfigurationUnknown +] +""" +Configuration information for Amazon Q Business conversation modes. + +For more information, see [Admin controls and +guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html) +and [Conversation +settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). +""" + +class _ChatModeConfigurationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ChatModeConfiguration: ... + +@dataclass(kw_only=True) +class ChatOutput(_SerdeShape): + """Dataclass for ChatOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass +class ChatOutputStreamTextEvent(_SerdeShape): + """ + Information about the payload of the `ChatOutputStream` event containing + the AI-generated message output. + """ + + value: TextOutputEvent + +@dataclass +class ChatOutputStreamMetadataEvent(_SerdeShape): + """ + A metadata event for a AI-generated text output message in a Amazon Q + Business conversation. + """ + + value: MetadataEvent + +@dataclass +class ChatOutputStreamActionReviewEvent(_SerdeShape): + """ + A request from Amazon Q Business to the end user for information Amazon + Q Business needs to successfully complete a requested plugin action. + """ + + value: ActionReviewEvent + +@dataclass +class ChatOutputStreamFailedAttachmentEvent(_SerdeShape): + """A failed file upload event during a web experience chat.""" + + value: FailedAttachmentEvent + +@dataclass +class ChatOutputStreamAuthChallengeRequestEvent(_SerdeShape): + """ + An authentication verification event activated by an end user request to + use a custom plugin. + """ + + value: AuthChallengeRequestEvent + +@dataclass +class ChatOutputStreamUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ChatOutputStream = Union[ + ChatOutputStreamTextEvent + | ChatOutputStreamMetadataEvent + | ChatOutputStreamActionReviewEvent + | ChatOutputStreamFailedAttachmentEvent + | ChatOutputStreamAuthChallengeRequestEvent + | ChatOutputStreamUnknown +] +"""The streaming output for the `Chat` API.""" + +class _ChatOutputStreamDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ChatOutputStream: ... + +@dataclass(kw_only=True) +class ChatResponseConfiguration(_SerdeShape): + """ + Configuration details that define how Amazon Q Business generates and + formats responses to user queries in chat interactions. This + configuration allows administrators to customize response + characteristics to meet specific organizational needs and communication + standards. + """ + + chat_response_configuration_id: str + """ + A unique identifier for your chat response configuration settings, used + to reference and manage the configuration within the Amazon Q Business + service. + """ + chat_response_configuration_arn: str + """ + The Amazon Resource Name (ARN) of the chat response configuration, which + uniquely identifies the resource across all Amazon Web Services services + and accounts. + """ + display_name: str + """ + A human-readable name for the chat response configuration, making it + easier to identify and manage multiple configurations within an + organization. + """ + response_configuration_summary: str | None = ... + """ + A summary of the response configuration settings, providing a concise + overview of the key parameters that define how responses are generated + and formatted. + """ + status: str + """ + The current status of the chat response configuration, indicating + whether it is active, pending, or in another state that affects its + availability for use in chat interactions. + """ + created_at: datetime | None = ... + """ + The timestamp indicating when the chat response configuration was + initially created, useful for tracking the lifecycle of configuration + resources. + """ + updated_at: datetime | None = ... + """ + The timestamp indicating when the chat response configuration was last + modified, helping administrators track changes and maintain version + awareness. + """ + +@dataclass(kw_only=True) +class ChatResponseConfigurationDetail(_SerdeShape): + """ + Detailed information about a chat response configuration, including + comprehensive settings and parameters that define how Amazon Q Business + generates and formats responses. + """ + + response_configurations: dict[str, ResponseConfiguration] | None = ... + """ + A collection of specific response configuration settings that + collectively define how responses are generated, formatted, and + presented to users in chat interactions. + """ + response_configuration_summary: str | None = ... + """ + A summary of the response configuration details, providing a concise + overview of the key parameters and settings that define the response + generation behavior. + """ + status: str | None = ... + """ + The current status of the chat response configuration, indicating + whether it is active, pending, or in another state that affects its + availability for use. + """ + error: ErrorDetail | None = ... + """Provides information about a Amazon Q Business request error.""" + updated_at: datetime | None = ... + """ + The timestamp indicating when the detailed chat response configuration + was last modified, helping administrators track changes and maintain + version awareness. + """ + +class ChatResponseConfigurationStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + UPDATING = "UPDATING" + FAILED = "FAILED" + ACTIVE = "ACTIVE" + +@dataclass(kw_only=True) +class ChatSyncInput(_SerdeShape): + """Dataclass for ChatSyncInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application linked to the Amazon + Q Business conversation. + """ + user_id: str | None = ... + """The identifier of the user attached to the chat input.""" + user_groups: list[str] | None = ... + """The group names that a user associated with the chat input belongs to.""" + user_message: str | None = ... + """A end user message in a conversation.""" + attachments: list[AttachmentInput] | None = ... + """ + A list of files uploaded directly during chat. You can upload a maximum + of 5 files of upto 10 MB each. + """ + action_execution: ActionExecution | None = ... + """ + A request from an end user to perform an Amazon Q Business plugin + action. + """ + auth_challenge_response: AuthChallengeResponse | None = ... + """ + An authentication verification event response by a third party + authentication server to Amazon Q Business. + """ + conversation_id: str | None = ... + """The identifier of the Amazon Q Business conversation.""" + parent_message_id: str | None = ... + """The identifier of the previous system message in a conversation.""" + attribute_filter: AttributeFilter | None = ... + """ + Enables filtering of Amazon Q Business web experience responses based on + document attributes or metadata fields. + """ + chat_mode: str | None = ... + """ + The `chatMode` parameter determines the chat modes available to Amazon Q + Business users: + + - `RETRIEVAL_MODE` - If you choose this mode, Amazon Q generates + responses solely from the data sources connected and indexed by the + application. If an answer is not found in the data sources or there + are no data sources available, Amazon Q will respond with a \"*No + Answer Found*\" message, unless LLM knowledge has been enabled. In + that case, Amazon Q will generate a response from the LLM knowledge + + - `CREATOR_MODE` - By selecting this mode, you can choose to generate + responses only from the LLM knowledge. You can also attach files and + have Amazon Q generate a response based on the data in those files. If + the attached files do not contain an answer for the query, Amazon Q + will automatically fall back to generating a response from the LLM + knowledge. + + - `PLUGIN_MODE` - By selecting this mode, users can choose to use + plugins in chat to get their responses. + + Note: + If none of the modes are selected, Amazon Q will only respond using the + information from the attached files. + + For more information, see [Admin controls and + guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html), + [Plugins](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html), + and [Response + sources](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). + """ + chat_mode_configuration: ChatModeConfiguration | None = ... + """The chat mode configuration for an Amazon Q Business application.""" + client_token: str | None = ... + """ + A token that you provide to identify a chat request. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class ChatSyncOutput(_SerdeShape): + """Dataclass for ChatSyncOutput structure.""" + + conversation_id: str | None = ... + """The identifier of the Amazon Q Business conversation.""" + system_message: str | None = ... + """An AI-generated message in a conversation.""" + system_message_id: str | None = ... + """ + The identifier of an Amazon Q Business AI generated message within the + conversation. + """ + user_message_id: str | None = ... + """ + The identifier of an Amazon Q Business end user text input message + within the conversation. + """ + action_review: ActionReview | None = ... + """ + A request from Amazon Q Business to the end user for information Amazon + Q Business needs to successfully complete a requested plugin action. + """ + auth_challenge_request: AuthChallengeRequest | None = ... + """ + An authentication verification event activated by an end user request to + use a custom plugin. + """ + source_attributions: list[SourceAttribution | None] | None = ... + """The source documents used to generate the conversation response.""" + failed_attachments: list[AttachmentOutput] | None = ... + """A list of files which failed to upload during chat.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CheckDocumentAccessInput(_SerdeShape): + """Dataclass for CheckDocumentAccessInput structure.""" + + application_id: str | None = ... + """ + The unique identifier of the application. This is required to identify + the specific Amazon Q Business application context for the document + access check. + """ + index_id: str | None = ... + """ + The unique identifier of the index. Used to locate the correct index + within the application where the document is stored. + """ + user_id: str | None = ... + """ + The unique identifier of the user. Used to check the access permissions + for this specific user against the document's ACL. + """ + document_id: str | None = ... + """ + The unique identifier of the document. Specifies which document's + access permissions are being checked. + """ + data_source_id: str | None = ... + """ + The unique identifier of the data source. Identifies the specific data + source from which the document originates. Should not be used when a + document is uploaded directly with BatchPutDocument, as no dataSourceId + is available or necessary. + """ + +@dataclass(kw_only=True) +class CheckDocumentAccessOutput(_SerdeShape): + """Dataclass for CheckDocumentAccessOutput structure.""" + + user_groups: list[AssociatedGroup] | None = ... + """ + An array of groups the user is part of for the specified data source. + Each group has a name and type. + """ + user_aliases: list[AssociatedUser] | None = ... + """ + An array of aliases associated with the user. This includes both global + and local aliases, each with a name and type. + """ + has_access: bool | None = ... + """ + A boolean value indicating whether the specified user has access to the + document, either direct access or transitive access via groups and + aliases attached to the document. + """ + document_acl: DocumentAcl | None = ... + """ + The Access Control List (ACL) associated with the document. Includes + allowlist and denylist conditions that determine user access. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ConfigurationEvent(_SerdeShape): + """ + A configuration event activated by an end user request to select a + specific chat mode. + """ + + chat_mode: str | None = ... + """ + The chat modes available to an Amazon Q Business end user. + + - `RETRIEVAL_MODE` - The default chat mode for an Amazon Q Business + application. When this mode is enabled, Amazon Q Business generates + responses only from data sources connected to an Amazon Q Business + application. + + - `CREATOR_MODE` - By selecting this mode, users can choose to generate + responses only from the LLM knowledge, without consulting connected + data sources, for a chat request. + + - `PLUGIN_MODE` - By selecting this mode, users can choose to use + plugins in chat. + + For more information, see [Admin controls and + guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html), + [Plugins](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html), + and [Conversation + settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). + """ + chat_mode_configuration: ChatModeConfiguration | None = ... + """ + Configuration information for Amazon Q Business conversation modes. + + For more information, see [Admin controls and + guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html) + and [Conversation + settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). + """ + attribute_filter: AttributeFilter | None = ... + """ + Enables filtering of responses based on document attributes or metadata + fields. + """ + +@dataclass(kw_only=True) +class ConflictException(ServiceError, _SerdeShape): + """ + You are trying to perform an action that conflicts with the current + status of your resource. Fix any inconsistencies with your resources and + try again. + """ + + resource_id: str + """The identifier of the resource affected.""" + resource_type: str + """The type of the resource affected.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ContentBlockerRule(_SerdeShape): + """ + A rule for configuring how Amazon Q Business responds when it encounters + a a blocked topic. You can configure a custom message to inform your end + users that they have asked about a restricted topic and suggest any next + steps they should take. + """ + + system_message_override: str | None = ... + """ + The configured custom message displayed to an end user informing them + that they've used a blocked phrase during chat. + """ + +@dataclass(kw_only=True) +class ContentRetrievalRule(_SerdeShape): + """ + Rules for retrieving content from data sources connected to a Amazon Q + Business application for a specific topic control configuration. + """ + + eligible_data_sources: list[EligibleDataSource] | None = ... + """ + Specifies data sources in a Amazon Q Business application to use for + content generation. + """ + +@dataclass +class ContentSourceRetriever(_SerdeShape): + """The retriever to use as the content source.""" + + value: RetrieverContentSource + +@dataclass +class ContentSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ContentSource = Union[ContentSourceRetriever | ContentSourceUnknown] +"""Specifies the source of content to search in.""" + +class _ContentSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ContentSource: ... + +class ContentType(UnknownEnumMixin, StrEnum): + PDF = "PDF" + HTML = "HTML" + MS_WORD = "MS_WORD" + PLAIN_TEXT = "PLAIN_TEXT" + PPT = "PPT" + RTF = "RTF" + XML = "XML" + XSLT = "XSLT" + MS_EXCEL = "MS_EXCEL" + CSV = "CSV" + JSON = "JSON" + MD = "MD" + +@dataclass(kw_only=True) +class Conversation(_SerdeShape): + """A conversation in an Amazon Q Business application.""" + + conversation_id: str | None = ... + """The identifier of the Amazon Q Business conversation.""" + title: str | None = ... + """The title of the conversation.""" + start_time: datetime | None = ... + """The start time of the conversation.""" + +@dataclass(kw_only=True) +class ConversationSource(_SerdeShape): + """ + The source reference for an existing attachment in an existing + conversation. + """ + + conversation_id: str + """The unique identifier of the Amazon Q Business conversation.""" + attachment_id: str + """The unique identifier of the Amazon Q Business attachment.""" + +@dataclass +class CopyFromSourceConversation(_SerdeShape): + """A reference to an attachment in an existing conversation.""" + + value: ConversationSource + +@dataclass +class CopyFromSourceUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +CopyFromSource = Union[CopyFromSourceConversation | CopyFromSourceUnknown] +"""The source reference for an existing attachment.""" + +class _CopyFromSourceDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> CopyFromSource: ... + +@dataclass(kw_only=True) +class CreateAnonymousWebExperienceUrlInput(_SerdeShape): + """Dataclass for CreateAnonymousWebExperienceUrlInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application environment attached + to the web experience. + """ + web_experience_id: str | None = ... + """The identifier of the web experience.""" + session_duration_in_minutes: int | None = ... + """ + The duration of the session associated with the unique URL for the web + experience. + """ + +@dataclass(kw_only=True) +class CreateAnonymousWebExperienceUrlOutput(_SerdeShape): + """Dataclass for CreateAnonymousWebExperienceUrlOutput structure.""" + + anonymous_url: str | None = ... + """ + The unique URL for accessing the web experience. + + Warning: + This URL can only be used once and must be used within 5 minutes after + it's generated. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateApplicationInput(_SerdeShape): + """Dataclass for CreateApplicationInput structure.""" + + display_name: str | None = ... + """A name for the Amazon Q Business application.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role with permissions to access + your Amazon CloudWatch logs and metrics. If this property is not + specified, Amazon Q Business will create a [service linked role + (SLR)](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles.html#slr-permissions) + and use it as the application's role. + """ + identity_type: str | None = ... + """The authentication type being used by a Amazon Q Business application.""" + iam_identity_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an identity provider being used by an + Amazon Q Business application. + """ + identity_center_instance_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM Identity Center instance you + are either creating for---or connecting to---your Amazon Q Business + application. + """ + client_ids_for_oidc: list[str] | None = ... + """The OIDC client ID for a Amazon Q Business application.""" + description: str | None = ... + """A description for the Amazon Q Business application.""" + encryption_configuration: EncryptionConfiguration | None = ... + """ + The identifier of the KMS key that is used to encrypt your data. Amazon + Q Business doesn't support asymmetric keys. + """ + tags: list[Tag] | None = ... + """ + A list of key-value pairs that identify or categorize your Amazon Q + Business application. You can also use tags to help control access to + the application. Tag keys and values can consist of Unicode letters, + digits, white space, and any of the following symbols: _ . : / = + - @. + """ + client_token: str | None = ... + """ + A token that you provide to identify the request to create your Amazon Q + Business application. + + This field is autopopulated if not provided. + """ + attachments_configuration: AttachmentsConfiguration | None = ... + """An option to allow end users to upload files directly during chat.""" + q_apps_configuration: QAppsConfiguration | None = ... + """ + An option to allow end users to create and use Amazon Q Apps in the web + experience. + """ + personalization_configuration: PersonalizationConfiguration | None = ... + """ + Configuration information about chat response personalization. For more + information, see [Personalizing chat + responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html) + """ + quick_sight_configuration: QuickSightConfiguration | None = ... + """ + The Amazon Quick Suite configuration for an Amazon Q Business + application that uses Quick Suite for authentication. This configuration + is required if your application uses Quick Suite as the identity + provider. For more information, see [Creating an Amazon Quick Suite + integrated + application](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/create-quicksight-integrated-application.html). + """ + +@dataclass(kw_only=True) +class CreateApplicationOutput(_SerdeShape): + """Dataclass for CreateApplicationOutput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + application_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Amazon Q Business application.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateChatResponseConfigurationInput(_SerdeShape): + """Dataclass for CreateChatResponseConfigurationInput structure.""" + + application_id: str | None = ... + """ + The unique identifier of the Amazon Q Business application for which to + create the new chat response configuration. + """ + display_name: str | None = ... + """ + A human-readable name for the new chat response configuration, making it + easier to identify and manage among multiple configurations. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. This helps prevent the same configuration from being created + multiple times if retries occur. + + This field is autopopulated if not provided. + """ + response_configurations: dict[str, ResponseConfiguration] | None = ... + """ + A collection of response configuration settings that define how Amazon Q + Business will generate and format responses to user queries in chat + interactions. + """ + tags: list[Tag] | None = ... + """ + A list of key-value pairs to apply as tags to the new chat response + configuration, enabling categorization and management of resources + across Amazon Web Services services. + """ + +@dataclass(kw_only=True) +class CreateChatResponseConfigurationOutput(_SerdeShape): + """Dataclass for CreateChatResponseConfigurationOutput structure.""" + + chat_response_configuration_id: str + """ + The unique identifier assigned to a newly created chat response + configuration, used for subsequent operations on this resource. + """ + chat_response_configuration_arn: str + """ + The Amazon Resource Name (ARN) of the newly created chat response + configuration, which uniquely identifies the resource across all Amazon + Web Services services. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDataAccessorInput(_SerdeShape): + """Dataclass for CreateDataAccessorInput structure.""" + + application_id: str | None = ... + """The unique identifier of the Amazon Q Business application.""" + principal: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role for the ISV that will be + accessing the data. + """ + action_configurations: list[ActionConfiguration] | None = ... + """ + A list of action configurations specifying the allowed actions and any + associated filters. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier you provide to ensure idempotency of + the request. + + This field is autopopulated if not provided. + """ + display_name: str | None = ... + """A friendly name for the data accessor.""" + authentication_detail: DataAccessorAuthenticationDetail | None = ... + """ + The authentication configuration details for the data accessor. This + specifies how the ISV will authenticate when accessing data through this + data accessor. + """ + tags: list[Tag] | None = ... + """The tags to associate with the data accessor.""" + +@dataclass(kw_only=True) +class CreateDataAccessorOutput(_SerdeShape): + """Dataclass for CreateDataAccessorOutput structure.""" + + data_accessor_id: str + """The unique identifier of the created data accessor.""" + idc_application_arn: str + """ + The Amazon Resource Name (ARN) of the IAM Identity Center application + created for this data accessor. + """ + data_accessor_arn: str + """The Amazon Resource Name (ARN) of the created data accessor.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDataSourceInput(_SerdeShape): + """Dataclass for CreateDataSourceInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application the data source will + be attached to. + """ + index_id: str | None = ... + """ + The identifier of the index that you want to use with the data source + connector. + """ + display_name: str | None = ... + """A name for the data source connector.""" + configuration: _Document | None = ... + """ + Configuration information to connect your data source repository to + Amazon Q Business. Use this parameter to provide a JSON schema with + configuration information specific to your data source connector. + + Each data source has a JSON schema provided by Amazon Q Business that + you must use. For example, the Amazon S3 and Web Crawler connectors + require the following JSON schemas: + + - [Amazon S3 JSON + schema](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/s3-api.html) + + - [Web Crawler JSON + schema](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/web-crawler-api.html) + + You can find configuration templates for your specific data source using + the following steps: + + 1. Navigate to the [Supported + connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html) + page in the Amazon Q Business User Guide, and select the data source + of your choice. + + 2. Then, from your specific data source connector page, select **Using + the API**. You will find the JSON schema for your data source, + including parameter descriptions, in this section. + """ + vpc_configuration: DataSourceVpcConfiguration | None = ... + """ + Configuration information for an Amazon VPC (Virtual Private Cloud) to + connect to your data source. For more information, see [Using Amazon VPC + with Amazon Q Business + connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html). + """ + description: str | None = ... + """A description for the data source connector.""" + tags: list[Tag] | None = ... + """ + A list of key-value pairs that identify or categorize the data source + connector. You can also use tags to help control access to the data + source connector. Tag keys and values can consist of Unicode letters, + digits, white space, and any of the following symbols: _ . : / = + - @. + """ + sync_schedule: str | None = ... + """ + Sets the frequency for Amazon Q Business to check the documents in your + data source repository and update your index. If you don't set a + schedule, Amazon Q Business won't periodically update the index. + + Specify a `cron-` format schedule string or an empty string to indicate + that the index is updated on demand. You can't specify the `Schedule` + parameter when the `Type` parameter is set to `CUSTOM`. If you do, you + receive a `ValidationException` exception. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role with permission to access + the data source and required resources. This field is required for all + connector types except custom connectors, where it is optional. + """ + client_token: str | None = ... + """ + A token you provide to identify a request to create a data source + connector. Multiple calls to the `CreateDataSource` API with the same + client token will create only one data source connector. + + This field is autopopulated if not provided. + """ + document_enrichment_configuration: DocumentEnrichmentConfiguration | None = ... + """ + Provides the configuration information for altering document metadata + and content during the document ingestion process. + + For more information, see [Custom document + enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). + """ + media_extraction_configuration: MediaExtractionConfiguration | None = ... + """ + The configuration for extracting information from media in documents + during ingestion. + """ + +@dataclass(kw_only=True) +class CreateDataSourceOutput(_SerdeShape): + """Dataclass for CreateDataSourceOutput structure.""" + + data_source_id: str | None = ... + """The identifier of the data source connector.""" + data_source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a data source in an Amazon Q Business + application. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIndexInput(_SerdeShape): + """Dataclass for CreateIndexInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application using the index.""" + display_name: str | None = ... + """A name for the Amazon Q Business index.""" + description: str | None = ... + """A description for the Amazon Q Business index.""" + type: str | None = ... + """ + The index type that's suitable for your needs. For more information on + what's included in each type of index, see [Amazon Q Business + tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers). + """ + tags: list[Tag] | None = ... + """ + A list of key-value pairs that identify or categorize the index. You can + also use tags to help control access to the index. Tag keys and values + can consist of Unicode letters, digits, white space, and any of the + following symbols: _ . : / = + - @. + """ + capacity_configuration: IndexCapacityConfiguration | None = ... + """ + The capacity units you want to provision for your index. You can add and + remove capacity to fit your usage needs. + """ + client_token: str | None = ... + """ + A token that you provide to identify the request to create an index. + Multiple calls to the `CreateIndex` API with the same client token will + create only one index. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateIndexOutput(_SerdeShape): + """Dataclass for CreateIndexOutput structure.""" + + index_id: str | None = ... + """The identifier for the Amazon Q Business index.""" + index_arn: str | None = ... + """The Amazon Resource Name (ARN) of an Amazon Q Business index.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatePluginInput(_SerdeShape): + """Dataclass for CreatePluginInput structure.""" + + application_id: str | None = ... + """The identifier of the application that will contain the plugin.""" + display_name: str | None = ... + """A the name for your plugin.""" + type: str | None = ... + """The type of plugin you want to create.""" + auth_configuration: PluginAuthConfiguration | None = ... + """ + Authentication configuration information for an Amazon Q Business + plugin. + """ + server_url: str | None = ... + """The source URL used for plugin configuration.""" + custom_plugin_configuration: CustomPluginConfiguration | None = ... + """Contains configuration for a custom plugin.""" + tags: list[Tag] | None = ... + """ + A list of key-value pairs that identify or categorize the data source + connector. You can also use tags to help control access to the data + source connector. Tag keys and values can consist of Unicode letters, + digits, white space, and any of the following symbols: _ . : / = + - @. + """ + client_token: str | None = ... + """ + A token that you provide to identify the request to create your Amazon Q + Business plugin. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreatePluginOutput(_SerdeShape): + """Dataclass for CreatePluginOutput structure.""" + + plugin_id: str | None = ... + """The identifier of the plugin created.""" + plugin_arn: str | None = ... + """The Amazon Resource Name (ARN) of a plugin.""" + build_status: str | None = ... + """The current status of a plugin. A plugin is modified asynchronously.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateRetrieverInput(_SerdeShape): + """Dataclass for CreateRetrieverInput structure.""" + + application_id: str | None = ... + """The identifier of your Amazon Q Business application.""" + type: str | None = ... + """The type of retriever you are using.""" + display_name: str | None = ... + """The name of your retriever.""" + configuration: RetrieverConfiguration | None = ... + """ + Provides information on how the retriever used for your Amazon Q + Business application is configured. + """ + role_arn: str | None = ... + """ + The ARN of an IAM role used by Amazon Q Business to access the basic + authentication credentials stored in a Secrets Manager secret. + """ + client_token: str | None = ... + """ + A token that you provide to identify the request to create your Amazon Q + Business application retriever. + + This field is autopopulated if not provided. + """ + tags: list[Tag] | None = ... + """ + A list of key-value pairs that identify or categorize the retriever. You + can also use tags to help control access to the retriever. Tag keys and + values can consist of Unicode letters, digits, white space, and any of + the following symbols: _ . : / = + - @. + """ + +@dataclass(kw_only=True) +class CreateRetrieverOutput(_SerdeShape): + """Dataclass for CreateRetrieverOutput structure.""" + + retriever_id: str | None = ... + """The identifier of the retriever you are using.""" + retriever_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role associated with a + retriever. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSubscriptionInput(_SerdeShape): + """Dataclass for CreateSubscriptionInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application the subscription + should be added to. + """ + principal: SubscriptionPrincipal | None = ... + """ + The IAM Identity Center `UserId` or `GroupId` of a user or group in the + IAM Identity Center instance connected to the Amazon Q Business + application. + """ + type: str | None = ... + """The type of Amazon Q Business subscription you want to create.""" + client_token: str | None = ... + """ + A token that you provide to identify the request to create a + subscription for your Amazon Q Business application. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateSubscriptionOutput(_SerdeShape): + """Dataclass for CreateSubscriptionOutput structure.""" + + subscription_id: str | None = ... + """The identifier of the Amazon Q Business subscription created.""" + subscription_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Q Business subscription + created. + """ + current_subscription: SubscriptionDetails | None = ... + """The type of your current Amazon Q Business subscription.""" + next_subscription: SubscriptionDetails | None = ... + """The type of the Amazon Q Business subscription for the next month.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateUserInput(_SerdeShape): + """Dataclass for CreateUserInput structure.""" + + application_id: str | None = ... + """ + The identifier of the application for which the user mapping will be + created. + """ + user_id: str | None = ... + """The user emails attached to a user mapping.""" + user_aliases: list[UserAlias] | None = ... + """The list of user aliases in the mapping.""" + client_token: str | None = ... + """ + A token that you provide to identify the request to create your Amazon Q + Business user mapping. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class CreateUserOutput(_SerdeShape): + """Dataclass for CreateUserOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateWebExperienceInput(_SerdeShape): + """Dataclass for CreateWebExperienceInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business web experience.""" + title: str | None = ... + """The title for your Amazon Q Business web experience.""" + subtitle: str | None = ... + """A subtitle to personalize your Amazon Q Business web experience.""" + welcome_message: str | None = ... + """ + The customized welcome message for end users of an Amazon Q Business web + experience. + """ + sample_prompts_control_mode: str | None = ... + """ + Determines whether sample prompts are enabled in the web experience for + an end user. + """ + origins: list[str] | None = ... + """ + Sets the website domain origins that are allowed to embed the Amazon Q + Business web experience. The *domain origin* refers to the base URL for + accessing a website including the protocol (`http/https`), the domain + name, and the port number (if specified). + + Note: + You must only submit a *base URL* and not a full path. For example, + `https://docs.aws.amazon.com`. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the service role attached to your web + experience. + + Note: + The `roleArn` parameter is required when your Amazon Q Business + application is created with IAM Identity Center. It is not required for + SAML-based applications. + """ + tags: list[Tag] | None = ... + """ + A list of key-value pairs that identify or categorize your Amazon Q + Business web experience. You can also use tags to help control access to + the web experience. Tag keys and values can consist of Unicode letters, + digits, white space, and any of the following symbols: _ . : / = + - @. + """ + client_token: str | None = ... + """ + A token you provide to identify a request to create an Amazon Q Business + web experience. + + This field is autopopulated if not provided. + """ + identity_provider_configuration: IdentityProviderConfiguration | None = ... + """ + Information about the identity provider (IdP) used to authenticate end + users of an Amazon Q Business web experience. + """ + browser_extension_configuration: BrowserExtensionConfiguration | None = ... + """ + The browser extension configuration for an Amazon Q Business web + experience. + + Note: + For Amazon Q Business application using external OIDC-compliant identity + providers (IdPs). The IdP administrator must add the browser extension + sign-in redirect URLs to the IdP application. For more information, see + [Configure external OIDC identity provider for your browser + extensions.](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/browser-extensions.html). + """ + customization_configuration: CustomizationConfiguration | None = ... + """ + Sets the custom logo, favicon, font, and color used in the Amazon Q web + experience. + """ + +@dataclass(kw_only=True) +class CreateWebExperienceOutput(_SerdeShape): + """Dataclass for CreateWebExperienceOutput structure.""" + + web_experience_id: str | None = ... + """The identifier of the Amazon Q Business web experience.""" + web_experience_arn: str | None = ... + """The Amazon Resource Name (ARN) of an Amazon Q Business web experience.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreatorModeConfiguration(_SerdeShape): + """ + Configuration information required to invoke chat in `CREATOR_MODE`. + + For more information, see [Admin controls and + guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html) + and [Conversation + settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). + """ + + creator_mode_control: str + """ + Status information about whether `CREATOR_MODE` has been enabled or + disabled. The default status is `DISABLED`. + """ + +class CreatorModeControl(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class CustomizationConfiguration(_SerdeShape): + """ + Contains the configuration information to customize the logo, font, and + color of an Amazon Q Business web experience with individual files for + each property or a CSS file for them all. + """ + + custom_css_url: str | None = ... + """ + Provides the URL where the custom CSS file is hosted for an Amazon Q web + experience. + """ + logo_url: str | None = ... + """ + Provides the URL where the custom logo file is hosted for an Amazon Q + web experience. + """ + font_url: str | None = ... + """ + Provides the URL where the custom font file is hosted for an Amazon Q + web experience. + """ + favicon_url: str | None = ... + """ + Provides the URL where the custom favicon file is hosted for an Amazon Q + web experience. + """ + +@dataclass(kw_only=True) +class CustomPluginConfiguration(_SerdeShape): + """Configuration information required to create a custom plugin.""" + + description: str + """A description for your custom plugin configuration.""" + api_schema_type: str + """The type of OpenAPI schema to use.""" + api_schema: APISchema | None = ... + """ + Contains either details about the S3 object containing the OpenAPI + schema for the action group or the JSON or YAML-formatted payload + defining the schema. + """ + +@dataclass(kw_only=True) +class DataAccessor(_SerdeShape): + """Provides summary information about a data accessor.""" + + display_name: str | None = ... + """The friendly name of the data accessor.""" + data_accessor_id: str | None = ... + """The unique identifier of the data accessor.""" + data_accessor_arn: str | None = ... + """The Amazon Resource Name (ARN) of the data accessor.""" + idc_application_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the associated IAM Identity Center + application. + """ + principal: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role for the ISV associated + with this data accessor. + """ + authentication_detail: DataAccessorAuthenticationDetail | None = ... + """ + The authentication configuration details for the data accessor. This + specifies how the ISV authenticates when accessing data through this + data accessor. + """ + created_at: datetime | None = ... + """The timestamp when the data accessor was created.""" + updated_at: datetime | None = ... + """The timestamp when the data accessor was last updated.""" + +@dataclass +class DataAccessorAuthenticationConfigurationIdcTrustedTokenIssuerConfiguration( + _SerdeShape +): + """ + Configuration for IAM Identity Center Trusted Token Issuer (TTI) + authentication used when the authentication type is `AWS_IAM_IDC_TTI`. + """ + + value: DataAccessorIdcTrustedTokenIssuerConfiguration + +@dataclass +class DataAccessorAuthenticationConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DataAccessorAuthenticationConfiguration = Union[ + DataAccessorAuthenticationConfigurationIdcTrustedTokenIssuerConfiguration + | DataAccessorAuthenticationConfigurationUnknown +] +""" +A union type that contains the specific authentication configuration +based on the authentication type selected. +""" + +class _DataAccessorAuthenticationConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> DataAccessorAuthenticationConfiguration: ... + +@dataclass(kw_only=True) +class DataAccessorAuthenticationDetail(_SerdeShape): + """ + Contains the authentication configuration details for a data accessor. + This structure defines how the ISV authenticates when accessing data + through the data accessor. + """ + + authentication_type: str + """ + The type of authentication to use for the data accessor. This determines + how the ISV authenticates when accessing data. You can use one of two + authentication types: + + - `AWS_IAM_IDC_TTI` - Authentication using IAM Identity Center Trusted + Token Issuer (TTI). This authentication type allows the ISV to use a + trusted token issuer to generate tokens for accessing the data. + + - `AWS_IAM_IDC_AUTH_CODE` - Authentication using IAM Identity Center + authorization code flow. This authentication type uses the standard + OAuth 2.0 authorization code flow for authentication. + """ + authentication_configuration: DataAccessorAuthenticationConfiguration | None = ... + """ + The specific authentication configuration based on the authentication + type. + """ + external_ids: list[str] | None = ... + """ + A list of external identifiers associated with this authentication + configuration. These are used to correlate the data accessor with + external systems. + """ + +class DataAccessorAuthenticationType(UnknownEnumMixin, StrEnum): + """The type of authentication mechanism used by the data accessor.""" + + AWS_IAM_IDC_TTI = "AWS_IAM_IDC_TTI" + AWS_IAM_IDC_AUTH_CODE = "AWS_IAM_IDC_AUTH_CODE" + +@dataclass(kw_only=True) +class DataAccessorIdcTrustedTokenIssuerConfiguration(_SerdeShape): + """ + Configuration details for IAM Identity Center Trusted Token Issuer (TTI) + authentication. + """ + + idc_trusted_token_issuer_arn: str + """ + The Amazon Resource Name (ARN) of the IAM Identity Center Trusted Token + Issuer that will be used for authentication. + """ + +@dataclass(kw_only=True) +class DataSource(_SerdeShape): + """A data source in an Amazon Q Business application.""" + + display_name: str | None = ... + """The name of the Amazon Q Business data source.""" + data_source_id: str | None = ... + """The identifier of the Amazon Q Business data source.""" + type: str | None = ... + """The type of the Amazon Q Business data source.""" + created_at: datetime | None = ... + """The Unix timestamp when the Amazon Q Business data source was created.""" + updated_at: datetime | None = ... + """ + The Unix timestamp when the Amazon Q Business data source was last + updated. + """ + status: str | None = ... + """The status of the Amazon Q Business data source.""" + +class DataSourceStatus(UnknownEnumMixin, StrEnum): + PENDING_CREATION = "PENDING_CREATION" + CREATING = "CREATING" + ACTIVE = "ACTIVE" + DELETING = "DELETING" + FAILED = "FAILED" + UPDATING = "UPDATING" + +@dataclass(kw_only=True) +class DataSourceSyncJob(_SerdeShape): + """ + Provides information about an Amazon Q Business data source connector + synchronization job. + """ + + execution_id: str | None = ... + """The identifier of a data source synchronization job.""" + start_time: datetime | None = ... + """The Unix time stamp when the data source synchronization job started.""" + end_time: datetime | None = ... + """The Unix timestamp when the synchronization job completed.""" + status: str | None = ... + """ + The status of the synchronization job. When the `Status` field is set to + `SUCCEEDED`, the synchronization job is done. If the status code is + `FAILED`, the `ErrorCode` and `ErrorMessage` fields give you the reason + for the failure. + """ + error: ErrorDetail | None = ... + """ + If the `Status` field is set to `FAILED`, the `ErrorCode` field + indicates the reason the synchronization failed. + """ + data_source_error_code: str | None = ... + """ + If the reason that the synchronization failed is due to an error with + the underlying data source, this field contains a code that identifies + the error. + """ + metrics: DataSourceSyncJobMetrics | None = ... + """ + Maps a batch delete document request to a specific data source sync job. + This is optional and should only be supplied when documents are deleted + by a data source connector. + """ + +@dataclass(kw_only=True) +class DataSourceSyncJobMetrics(_SerdeShape): + """ + Maps a batch delete document request to a specific Amazon Q Business + data source connector sync job. + """ + + documents_added: str | None = ... + """ + The current count of documents added from the data source during the + data source sync. + """ + documents_modified: str | None = ... + """ + The current count of documents modified in the data source during the + data source sync. + """ + documents_deleted: str | None = ... + """ + The current count of documents deleted from the data source during the + data source sync. + """ + documents_failed: str | None = ... + """ + The current count of documents that failed to sync from the data source + during the data source sync. + """ + documents_scanned: str | None = ... + """ + The current count of documents crawled by the ongoing sync job in the + data source. + """ + +class DataSourceSyncJobStatus(UnknownEnumMixin, StrEnum): + FAILED = "FAILED" + SUCCEEDED = "SUCCEEDED" + SYNCING = "SYNCING" + INCOMPLETE = "INCOMPLETE" + STOPPING = "STOPPING" + ABORTED = "ABORTED" + SYNCING_INDEXING = "SYNCING_INDEXING" + +@dataclass(kw_only=True) +class DataSourceVpcConfiguration(_SerdeShape): + """ + Provides configuration information needed to connect to an Amazon VPC + (Virtual Private Cloud). + """ + + subnet_ids: list[str] + """ + A list of identifiers for subnets within your Amazon VPC. The subnets + should be able to connect to each other in the VPC, and they should have + outgoing access to the Internet through a NAT device. + """ + security_group_ids: list[str] + """ + A list of identifiers of security groups within your Amazon VPC. The + security groups should enable Amazon Q Business to connect to the data + source. + """ + +@dataclass(kw_only=True) +class DateAttributeBoostingConfiguration(_SerdeShape): + """ + Provides information on boosting `DATE` type document attributes. + + For more information on how boosting document attributes work in Amazon + Q Business, see [Boosting using document + attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). + """ + + boosting_level: str + """ + Specifies the priority tier ranking of boosting applied to document + attributes. For version 2, this parameter indicates the relative ranking + between boosted fields (ONE being highest priority, TWO being second + highest, etc.) and determines the order in which attributes influence + document ranking in search results. For version 1, this parameter + specifies the boosting intensity. For version 2, boosting intensity + (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in + version 2, you are not allowed to boost on only one field and make this + value TWO. + """ + boosting_duration_in_seconds: int | None = ... + """ + Specifies the duration, in seconds, of a boost applies to a `DATE` type + document attribute. + """ + +@dataclass(kw_only=True) +class DeleteApplicationInput(_SerdeShape): + """Dataclass for DeleteApplicationInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + +@dataclass(kw_only=True) +class DeleteApplicationOutput(_SerdeShape): + """Dataclass for DeleteApplicationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteAttachmentInput(_SerdeShape): + """Dataclass for DeleteAttachmentInput structure.""" + + application_id: str | None = ... + """The unique identifier for the Amazon Q Business application environment.""" + conversation_id: str | None = ... + """The unique identifier of the conversation.""" + attachment_id: str | None = ... + """The unique identifier for the attachment.""" + user_id: str | None = ... + """The unique identifier of the user involved in the conversation.""" + +@dataclass(kw_only=True) +class DeleteAttachmentOutput(_SerdeShape): + """Dataclass for DeleteAttachmentOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteChatControlsConfigurationInput(_SerdeShape): + """Dataclass for DeleteChatControlsConfigurationInput structure.""" + + application_id: str | None = ... + """ + The identifier of the application the chat controls have been configured + for. + """ + +@dataclass(kw_only=True) +class DeleteChatControlsConfigurationOutput(_SerdeShape): + """Dataclass for DeleteChatControlsConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteChatResponseConfigurationInput(_SerdeShape): + """Dataclass for DeleteChatResponseConfigurationInput structure.""" + + application_id: str | None = ... + """ + The unique identifier of theAmazon Q Business application from which to + delete the chat response configuration. + """ + chat_response_configuration_id: str | None = ... + """ + The unique identifier of the chat response configuration to delete from + the specified application. + """ + +@dataclass(kw_only=True) +class DeleteChatResponseConfigurationOutput(_SerdeShape): + """Dataclass for DeleteChatResponseConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteConversationInput(_SerdeShape): + """Dataclass for DeleteConversationInput structure.""" + + conversation_id: str | None = ... + """ + The identifier of the Amazon Q Business web experience conversation + being deleted. + """ + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application associated with the + conversation. + """ + user_id: str | None = ... + """The identifier of the user who is deleting the conversation.""" + +@dataclass(kw_only=True) +class DeleteConversationOutput(_SerdeShape): + """Dataclass for DeleteConversationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDataAccessorInput(_SerdeShape): + """Dataclass for DeleteDataAccessorInput structure.""" + + application_id: str | None = ... + """The unique identifier of the Amazon Q Business application.""" + data_accessor_id: str | None = ... + """The unique identifier of the data accessor to delete.""" + +@dataclass(kw_only=True) +class DeleteDataAccessorOutput(_SerdeShape): + """Dataclass for DeleteDataAccessorOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDataSourceInput(_SerdeShape): + """Dataclass for DeleteDataSourceInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application used with the data + source connector. + """ + index_id: str | None = ... + """The identifier of the index used with the data source connector.""" + data_source_id: str | None = ... + """The identifier of the data source connector that you want to delete.""" + +@dataclass(kw_only=True) +class DeleteDataSourceOutput(_SerdeShape): + """Dataclass for DeleteDataSourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDocument(_SerdeShape): + """A document deleted from an Amazon Q Business data source connector.""" + + document_id: str + """The identifier of the deleted document.""" + +@dataclass(kw_only=True) +class DeleteGroupInput(_SerdeShape): + """Dataclass for DeleteGroupInput structure.""" + + application_id: str | None = ... + """The identifier of the application in which the group mapping belongs.""" + index_id: str | None = ... + """The identifier of the index you want to delete the group from.""" + group_name: str | None = ... + """The name of the group you want to delete.""" + data_source_id: str | None = ... + """ + The identifier of the data source linked to the group + + A group can be tied to multiple data sources. You can delete a group + from accessing documents in a certain data source. For example, the + groups \"Research\", \"Engineering\", and \"Sales and Marketing\" are + all tied to the company's documents stored in the data sources + Confluence and Salesforce. You want to delete \"Research\" and + \"Engineering\" groups from Salesforce, so that these groups cannot + access customer-related documents stored in Salesforce. Only \"Sales and + Marketing\" should access documents in the Salesforce data source. + """ + +@dataclass(kw_only=True) +class DeleteGroupOutput(_SerdeShape): + """Dataclass for DeleteGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIndexInput(_SerdeShape): + """Dataclass for DeleteIndexInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application the Amazon Q + Business index is linked to. + """ + index_id: str | None = ... + """The identifier of the Amazon Q Business index.""" + +@dataclass(kw_only=True) +class DeleteIndexOutput(_SerdeShape): + """Dataclass for DeleteIndexOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePluginInput(_SerdeShape): + """Dataclass for DeletePluginInput structure.""" + + application_id: str | None = ... + """The identifier the application attached to the Amazon Q Business plugin.""" + plugin_id: str | None = ... + """The identifier of the plugin being deleted.""" + +@dataclass(kw_only=True) +class DeletePluginOutput(_SerdeShape): + """Dataclass for DeletePluginOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteRetrieverInput(_SerdeShape): + """Dataclass for DeleteRetrieverInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application using the retriever.""" + retriever_id: str | None = ... + """The identifier of the retriever being deleted.""" + +@dataclass(kw_only=True) +class DeleteRetrieverOutput(_SerdeShape): + """Dataclass for DeleteRetrieverOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteUserInput(_SerdeShape): + """Dataclass for DeleteUserInput structure.""" + + application_id: str | None = ... + """The identifier of the application from which the user is being deleted.""" + user_id: str | None = ... + """The user email being deleted.""" + +@dataclass(kw_only=True) +class DeleteUserOutput(_SerdeShape): + """Dataclass for DeleteUserOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteWebExperienceInput(_SerdeShape): + """Dataclass for DeleteWebExperienceInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application linked to the Amazon + Q Business web experience. + """ + web_experience_id: str | None = ... + """The identifier of the Amazon Q Business web experience being deleted.""" + +@dataclass(kw_only=True) +class DeleteWebExperienceOutput(_SerdeShape): + """Dataclass for DeleteWebExperienceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisassociatePermissionInput(_SerdeShape): + """Dataclass for DisassociatePermissionInput structure.""" + + application_id: str | None = ... + """The unique identifier of the Amazon Q Business application.""" + statement_id: str | None = ... + """The statement ID of the permission to remove.""" + +@dataclass(kw_only=True) +class DisassociatePermissionOutput(_SerdeShape): + """Dataclass for DisassociatePermissionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Document(_SerdeShape): + """A document in an Amazon Q Business application.""" + + id: str + """The identifier of the document.""" + attributes: list[DocumentAttribute] | None = ... + """ + Custom attributes to apply to the document for refining Amazon Q + Business web experience responses. + """ + content: DocumentContent | None = ... + """The contents of the document.""" + content_type: str | None = ... + """ + The file type of the document in the Blob field. + + If you want to index snippets or subsets of HTML documents instead of + the entirety of the HTML documents, you add the `HTML` start and closing + tags (`content`) around the content. + """ + title: str | None = ... + """The title of the document.""" + access_configuration: AccessConfiguration | None = ... + """Configuration information for access permission to a document.""" + document_enrichment_configuration: DocumentEnrichmentConfiguration | None = ... + """ + The configuration information for altering document metadata and content + during the document ingestion process. + """ + media_extraction_configuration: MediaExtractionConfiguration | None = ... + """The configuration for extracting information from media in the document.""" + +@dataclass(kw_only=True) +class DocumentAcl(_SerdeShape): + """ + Represents the Access Control List (ACL) for a document, containing both + allowlist and denylist conditions. + """ + + allowlist: DocumentAclMembership | None = ... + """ + The allowlist conditions for the document. Users or groups matching + these conditions are granted access to the document. + """ + deny_list: DocumentAclMembership | None = ... + """ + The denylist conditions for the document. Users or groups matching these + conditions are denied access to the document, overriding allowlist + permissions. + """ + +@dataclass(kw_only=True) +class DocumentAclCondition(_SerdeShape): + """ + Represents a condition in the document's ACL, specifying access rules + for users and groups. + """ + + member_relation: str | None = ... + """ + The logical relation between members in the condition, determining how + multiple user or group conditions are combined. + """ + users: list[DocumentAclUser] | None = ... + """ + An array of user identifiers that this condition applies to. Users + listed here are subject to the access rule defined by this condition. + """ + groups: list[DocumentAclGroup] | None = ... + """ + An array of group identifiers that this condition applies to. Groups + listed here are subject to the access rule defined by this condition. + """ + +@dataclass(kw_only=True) +class DocumentAclGroup(_SerdeShape): + """ + Represents a group in the document's ACL, used to define access + permissions for multiple users collectively. + """ + + name: str | None = ... + """ + The name of the group in the document's ACL. This is used to identify + the group when applying access rules. + """ + type: str | None = ... + """ + The type of the group. This indicates the scope of the group's + applicability in access control. + """ + +@dataclass(kw_only=True) +class DocumentAclMembership(_SerdeShape): + """ + Represents membership rules in the document's ACL, defining how users + or groups are associated with access permissions. + """ + + member_relation: str | None = ... + """ + The logical relation between members in the membership rule, determining + how multiple conditions are combined. + """ + conditions: list[DocumentAclCondition] | None = ... + """ + An array of conditions that define the membership rules. Each condition + specifies criteria for users or groups to be included in this + membership. + """ + +@dataclass(kw_only=True) +class DocumentAclUser(_SerdeShape): + """ + Represents a user in the document's ACL, used to define access + permissions for individual users. + """ + + id: str | None = ... + """ + The unique identifier of the user in the document's ACL. This is used + to identify the user when applying access rules. + """ + type: str | None = ... + """ + The type of the user. This indicates the scope of the user's + applicability in access control. + """ + +@dataclass(kw_only=True) +class DocumentAttribute(_SerdeShape): + """A document attribute or metadata field.""" + + name: str + """The identifier for the attribute.""" + value: DocumentAttributeValue + """The value of the attribute.""" + +@dataclass +class DocumentAttributeBoostingConfigurationNumberConfiguration(_SerdeShape): + """ + Provides information on boosting `NUMBER` type document attributes. + + `NUMBER` attributes are not supported when using + `NativeIndexConfiguration` version 2, which focuses on `DATE` attributes + for recency and `STRING` attributes for source prioritization. + """ + + value: NumberAttributeBoostingConfiguration + +@dataclass +class DocumentAttributeBoostingConfigurationStringConfiguration(_SerdeShape): + """ + Provides information on boosting `STRING` type document attributes. + + Version 2 assigns priority tiers to `STRING` attributes, establishing + clear hierarchical relationships with other boosted attributes. + """ + + value: StringAttributeBoostingConfiguration + +@dataclass +class DocumentAttributeBoostingConfigurationDateConfiguration(_SerdeShape): + """ + Provides information on boosting `DATE` type document attributes. + + Version 2 assigns priority tiers to `DATE` attributes, establishing + clear hierarchical relationships with other boosted attributes. + """ + + value: DateAttributeBoostingConfiguration + +@dataclass +class DocumentAttributeBoostingConfigurationStringListConfiguration(_SerdeShape): + """ + Provides information on boosting `STRING_LIST` type document attributes. + + `STRING_LIST` attributes are not supported when using + `NativeIndexConfiguration` version 2, which focuses on `DATE` attributes + for recency and `STRING` attributes for source prioritization. + """ + + value: StringListAttributeBoostingConfiguration + +@dataclass +class DocumentAttributeBoostingConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DocumentAttributeBoostingConfiguration = Union[ + DocumentAttributeBoostingConfigurationNumberConfiguration + | DocumentAttributeBoostingConfigurationStringConfiguration + | DocumentAttributeBoostingConfigurationDateConfiguration + | DocumentAttributeBoostingConfigurationStringListConfiguration + | DocumentAttributeBoostingConfigurationUnknown +] +""" +Provides information on boosting supported Amazon Q Business document +attribute types. When an end user chat query matches document attributes +that have been boosted, Amazon Q Business prioritizes generating +responses from content that matches the boosted document attributes. + +In version 2, boosting uses numeric values (ONE, TWO) to indicate +priority tiers that establish clear hierarchical relationships between +boosted attributes. This allows for more precise control over how +different attributes influence search results. + +Note: + For `STRING` and `STRING_LIST` type document attributes to be used for + boosting on the console and the API, they must be enabled for search + using the + [DocumentAttributeConfiguration](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeConfiguration.html) + object of the + [UpdateIndex](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_UpdateIndex.html) + API. If you haven't enabled searching on these attributes, you can't + boost attributes of these data types on either the console or the API. + +For more information on how boosting document attributes work in Amazon +Q Business, see [Boosting using document +attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). +""" + +class _DocumentAttributeBoostingConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> DocumentAttributeBoostingConfiguration: ... + +class DocumentAttributeBoostingLevel(UnknownEnumMixin, StrEnum): + NONE = "NONE" + LOW = "LOW" + MEDIUM = "MEDIUM" + HIGH = "HIGH" + VERY_HIGH = "VERY_HIGH" + ONE = "ONE" + TWO = "TWO" + +@dataclass(kw_only=True) +class DocumentAttributeCondition(_SerdeShape): + """ + The condition used for the target document attribute or metadata field + when ingesting documents into Amazon Q Business. You use this with + [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) + to apply the condition. + + For example, you can create the 'Department' target field and have it + prefill department names associated with the documents based on + information in the 'Source_URI' field. Set the condition that if the + 'Source_URI' field contains 'financial' in its URI value, then + prefill the target field 'Department' with the target value + 'Finance' for the document. + + Amazon Q Business can't create a target field if it has not already + been created as an index field. After you create your index field, you + can create a document metadata field using `DocumentAttributeTarget`. + Amazon Q Business then will map your newly created metadata field to + your index field. + """ + + key: str + """ + The identifier of the document attribute used for the condition. + + For example, 'Source_URI' could be an identifier for the attribute or + metadata field that contains source URIs associated with the documents. + + Amazon Q Business currently doesn't support `_document_body` as an + attribute key used for the condition. + """ + operator: str + """ + The identifier of the document attribute used for the condition. + + For example, 'Source_URI' could be an identifier for the attribute or + metadata field that contains source URIs associated with the documents. + + Amazon Q Business currently does not support `_document_body` as an + attribute key used for the condition. + """ + value: DocumentAttributeValue | None = ... + """ + The value of a document attribute. You can only provide one value for a + document attribute. + """ + +@dataclass(kw_only=True) +class DocumentAttributeConfiguration(_SerdeShape): + """ + Configuration information for document attributes. Document attributes + are metadata or fields associated with your documents. For example, the + company department name associated with each document. + + For more information, see [Understanding document + attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html). + """ + + name: str | None = ... + """The name of the document attribute.""" + type: str | None = ... + """The type of document attribute.""" + search: str | None = ... + """ + Information about whether the document attribute can be used by an end + user to search for information on their web experience. + """ + +@dataclass(kw_only=True) +class DocumentAttributeTarget(_SerdeShape): + """ + The target document attribute or metadata field you want to alter when + ingesting documents into Amazon Q Business. + + For example, you can delete all customer identification numbers + associated with the documents, stored in the document metadata field + called 'Customer_ID' by setting the target key as 'Customer_ID' and + the deletion flag to `TRUE`. This removes all customer ID values in the + field 'Customer_ID'. This would scrub personally identifiable + information from each document's metadata. + + Amazon Q Business can't create a target field if it has not already + been created as an index field. After you create your index field, you + can create a document metadata field using + [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) + . Amazon Q Business will then map your newly created document attribute + to your index field. + + You can also use this with + [`DocumentAttributeCondition`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeCondition.html) + . + """ + + key: str + """ + The identifier of the target document attribute or metadata field. For + example, 'Department' could be an identifier for the target attribute + or metadata field that includes the department names associated with the + documents. + """ + value: DocumentAttributeValue | None = ... + """ + The value of a document attribute. You can only provide one value for a + document attribute. + """ + attribute_value_operator: str | None = ... + """ + `TRUE` to delete the existing target value for your specified target + attribute key. You cannot create a target value and set this to `TRUE`. + """ + +@dataclass +class DocumentAttributeValueStringValue(_SerdeShape): + """A string.""" + + value: str + +@dataclass +class DocumentAttributeValueStringListValue(_SerdeShape): + """A list of strings.""" + + value: list[str] + +@dataclass +class DocumentAttributeValueLongValue(_SerdeShape): + """A long integer value.""" + + value: int + +@dataclass +class DocumentAttributeValueDateValue(_SerdeShape): + """ + A date expressed as an ISO 8601 string. + + It's important for the time zone to be included in the ISO 8601 + date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 + date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in + Central European Time. + """ + + value: datetime + +@dataclass +class DocumentAttributeValueUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DocumentAttributeValue = Union[ + DocumentAttributeValueStringValue + | DocumentAttributeValueStringListValue + | DocumentAttributeValueLongValue + | DocumentAttributeValueDateValue + | DocumentAttributeValueUnknown +] +""" +The value of a document attribute. You can only provide one value for a +document attribute. +""" + +class _DocumentAttributeValueDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> DocumentAttributeValue: ... + +@dataclass +class DocumentContentBlob(_SerdeShape): + """ + The contents of the document. Documents passed to the `blob` parameter + must be base64 encoded. Your code might not need to encode the document + file bytes if you're using an Amazon Web Services SDK to call Amazon Q + Business APIs. If you are calling the Amazon Q Business endpoint + directly using REST, you must base64 encode the contents before sending. + """ + + value: bytes + +@dataclass +class DocumentContentS3(_SerdeShape): + """The path to the document in an Amazon S3 bucket.""" + + value: S3 + +@dataclass +class DocumentContentUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +DocumentContent = Union[ + DocumentContentBlob | DocumentContentS3 | DocumentContentUnknown +] +""" +The contents of a document. + +Note: + Documents have size limitations. The maximum file size for a document is + 50 MB. The maximum amount of text that can be extracted from a single + document is 5 MB. For more information, see [Supported document formats + in Amazon Q + Business](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/doc-types.html). +""" + +class _DocumentContentDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> DocumentContent: ... + +class DocumentContentOperator(UnknownEnumMixin, StrEnum): + DELETE = "DELETE" + +@dataclass(kw_only=True) +class DocumentDetails(_SerdeShape): + """The details of a document within an Amazon Q Business index.""" + + document_id: str | None = ... + """The identifier of the document.""" + status: str | None = ... + """The current status of the document.""" + error: ErrorDetail | None = ... + """An error message associated with the document.""" + created_at: datetime | None = ... + """The timestamp for when the document was created.""" + updated_at: datetime | None = ... + """The timestamp for when the document was last updated.""" + +class DocumentEnrichmentConditionOperator(UnknownEnumMixin, StrEnum): + GREATER_THAN = "GREATER_THAN" + GREATER_THAN_OR_EQUALS = "GREATER_THAN_OR_EQUALS" + LESS_THAN = "LESS_THAN" + LESS_THAN_OR_EQUALS = "LESS_THAN_OR_EQUALS" + EQUALS = "EQUALS" + NOT_EQUALS = "NOT_EQUALS" + CONTAINS = "CONTAINS" + NOT_CONTAINS = "NOT_CONTAINS" + EXISTS = "EXISTS" + NOT_EXISTS = "NOT_EXISTS" + BEGINS_WITH = "BEGINS_WITH" + +@dataclass(kw_only=True) +class DocumentEnrichmentConfiguration(_SerdeShape): + """ + Provides the configuration information for altering document metadata + and content during the document ingestion process. + + For more information, see [Custom document + enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). + """ + + inline_configurations: list[InlineDocumentEnrichmentConfiguration] | None = ... + """ + Configuration information to alter document attributes or metadata + fields and content when ingesting documents into Amazon Q Business. + """ + pre_extraction_hook_configuration: HookConfiguration | None = ... + """ + Provides the configuration information for invoking a Lambda function in + Lambda to alter document metadata and content when ingesting documents + into Amazon Q Business. + + You can configure your Lambda function using the + `PreExtractionHookConfiguration` parameter if you want to apply advanced + alterations on the original or raw documents. + + If you want to apply advanced alterations on the Amazon Q Business + structured documents, you must configure your Lambda function using + `PostExtractionHookConfiguration`. + + You can only invoke one Lambda function. However, this function can + invoke other functions it requires. + + For more information, see [Custom document + enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). + """ + post_extraction_hook_configuration: HookConfiguration | None = ... + """ + Provides the configuration information for invoking a Lambda function in + Lambda to alter document metadata and content when ingesting documents + into Amazon Q Business. + + You can configure your Lambda function using the + `PreExtractionHookConfiguration` parameter if you want to apply advanced + alterations on the original or raw documents. + + If you want to apply advanced alterations on the Amazon Q Business + structured documents, you must configure your Lambda function using + `PostExtractionHookConfiguration`. + + You can only invoke one Lambda function. However, this function can + invoke other functions it requires. + + For more information, see [Custom document + enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). + """ + +class DocumentStatus(UnknownEnumMixin, StrEnum): + RECEIVED = "RECEIVED" + PROCESSING = "PROCESSING" + INDEXED = "INDEXED" + UPDATED = "UPDATED" + FAILED = "FAILED" + DELETING = "DELETING" + DELETED = "DELETED" + DOCUMENT_FAILED_TO_INDEX = "DOCUMENT_FAILED_TO_INDEX" + +@dataclass(kw_only=True) +class EligibleDataSource(_SerdeShape): + """ + The identifier of the data source Amazon Q Business will generate + responses from. + """ + + index_id: str | None = ... + """The identifier of the index the data source is attached to.""" + data_source_id: str | None = ... + """The identifier of the data source.""" + +@dataclass(kw_only=True) +class EncryptionConfiguration(_SerdeShape): + """ + Provides the identifier of the KMS key used to encrypt data indexed by + Amazon Q Business. Amazon Q Business doesn't support asymmetric keys. + """ + + kms_key_id: str | None = ... + """ + The identifier of the KMS key. Amazon Q Business doesn't support + asymmetric keys. + """ + +@dataclass(kw_only=True) +class EndOfInputEvent(_SerdeShape): + """The end of the streaming input for the `Chat` API.""" + +class ErrorCode(UnknownEnumMixin, StrEnum): + INTERNAL_ERROR = "InternalError" + INVALID_REQUEST = "InvalidRequest" + RESOURCE_INACTIVE = "ResourceInactive" + RESOURCE_NOT_FOUND = "ResourceNotFound" + +@dataclass(kw_only=True) +class ErrorDetail(_SerdeShape): + """Provides information about a Amazon Q Business request error.""" + + error_message: str | None = ... + """The message explaining the Amazon Q Business request error.""" + error_code: str | None = ... + """The code associated with the Amazon Q Business request error.""" + +@dataclass(kw_only=True) +class ExternalResourceException(ServiceError, _SerdeShape): + """ + An external resource that you configured with your application is + returning errors and preventing this operation from succeeding. Fix + those errors and try again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FailedAttachmentEvent(_SerdeShape): + """A failed file upload during web experience chat.""" + + conversation_id: str | None = ... + """ + The identifier of the conversation associated with the failed file + upload. + """ + user_message_id: str | None = ... + """ + The identifier of the end user chat message associated with the file + upload. + """ + system_message_id: str | None = ... + """ + The identifier of the AI-generated message associated with the file + upload. + """ + attachment: AttachmentOutput | None = ... + """The details of a file uploaded during chat.""" + +@dataclass(kw_only=True) +class FailedDocument(_SerdeShape): + """ + A list of documents that could not be removed from an Amazon Q Business + index. Each entry contains an error message that indicates why the + document couldn't be removed from the index. + """ + + id: str | None = ... + """ + The identifier of the document that couldn't be removed from the Amazon + Q Business index. + """ + error: ErrorDetail | None = ... + """An explanation for why the document couldn't be removed from the index.""" + data_source_id: str | None = ... + """ + The identifier of the Amazon Q Business data source connector that + contains the failed document. + """ + +@dataclass(kw_only=True) +class GetApplicationInput(_SerdeShape): + """Dataclass for GetApplicationInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + +@dataclass(kw_only=True) +class GetApplicationOutput(_SerdeShape): + """Dataclass for GetApplicationOutput structure.""" + + display_name: str | None = ... + """The name of the Amazon Q Business application.""" + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + application_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Amazon Q Business application.""" + identity_type: str | None = ... + """The authentication type being used by a Amazon Q Business application.""" + iam_identity_provider_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an identity provider being used by an + Amazon Q Business application. + """ + identity_center_application_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance + attached to your Amazon Q Business application. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM with permissions to access + your CloudWatch logs and metrics. + """ + status: str | None = ... + """The status of the Amazon Q Business application.""" + description: str | None = ... + """A description for the Amazon Q Business application.""" + encryption_configuration: EncryptionConfiguration | None = ... + """ + The identifier of the Amazon Web Services KMS key that is used to + encrypt your data. Amazon Q Business doesn't support asymmetric keys. + """ + created_at: datetime | None = ... + """ + The Unix timestamp when the Amazon Q Business application was last + updated. + """ + updated_at: datetime | None = ... + """ + The Unix timestamp when the Amazon Q Business application was last + updated. + """ + error: ErrorDetail | None = ... + """ + If the `Status` field is set to `ERROR`, the `ErrorMessage` field + contains a description of the error that caused the synchronization to + fail. + """ + attachments_configuration: AppliedAttachmentsConfiguration | None = ... + """Settings for whether end users can upload files directly during chat.""" + q_apps_configuration: QAppsConfiguration | None = ... + """ + Settings for whether end users can create and use Amazon Q Apps in the + web experience. + """ + personalization_configuration: PersonalizationConfiguration | None = ... + """ + Configuration information about chat response personalization. For more + information, see [Personalizing chat + responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html). + """ + auto_subscription_configuration: AutoSubscriptionConfiguration | None = ... + """ + Settings for auto-subscription behavior for this application. This is + only applicable to SAML and OIDC applications. + """ + client_ids_for_oidc: list[str] | None = ... + """The OIDC client ID for a Amazon Q Business application.""" + quick_sight_configuration: QuickSightConfiguration | None = ... + """ + The Amazon Quick Suite authentication configuration for the Amazon Q + Business application. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetChatControlsConfigurationInput(_SerdeShape): + """Dataclass for GetChatControlsConfigurationInput structure.""" + + application_id: str | None = ... + """ + The identifier of the application for which the chat controls are + configured. + """ + max_results: int | None = ... + """The maximum number of configured chat controls to return.""" + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + Amazon Q Business chat controls configured. + """ + +@dataclass(kw_only=True) +class GetChatControlsConfigurationOutput(_SerdeShape): + """Dataclass for GetChatControlsConfigurationOutput structure.""" + + response_scope: str | None = ... + """ + The response scope configured for a Amazon Q Business application. This + determines whether your application uses its retrieval augmented + generation (RAG) system to generate answers only from your enterprise + data, or also uses the large language models (LLM) knowledge to respons + to end user questions in chat. + """ + orchestration_configuration: AppliedOrchestrationConfiguration | None = ... + """ + The chat response orchestration settings for your application. + + Note: + Chat orchestration is optimized to work for English language content. + For more details on language support in Amazon Q Business, see + [Supported + languages](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/supported-languages.html). + """ + blocked_phrases: BlockedPhrasesConfiguration | None = ... + """The phrases blocked from chat by your chat control configuration.""" + topic_configurations: list[TopicConfiguration] | None = ... + """ + The topic specific controls configured for a Amazon Q Business + application. + """ + creator_mode_configuration: AppliedCreatorModeConfiguration | None = ... + """The configuration details for `CREATOR_MODE`.""" + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + Amazon Q Business chat controls configured. + """ + hallucination_reduction_configuration: ( + HallucinationReductionConfiguration | None + ) = ... + """The hallucination reduction settings for your application.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetChatResponseConfigurationInput(_SerdeShape): + """Dataclass for GetChatResponseConfigurationInput structure.""" + + application_id: str | None = ... + """ + The unique identifier of the Amazon Q Business application containing + the chat response configuration to retrieve. + """ + chat_response_configuration_id: str | None = ... + """ + The unique identifier of the chat response configuration to retrieve + from the specified application. + """ + +@dataclass(kw_only=True) +class GetChatResponseConfigurationOutput(_SerdeShape): + """Dataclass for GetChatResponseConfigurationOutput structure.""" + + chat_response_configuration_id: str | None = ... + """The unique identifier of the retrieved chat response configuration.""" + chat_response_configuration_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the retrieved chat response + configuration, which uniquely identifies the resource across all Amazon + Web Services services. + """ + display_name: str | None = ... + """ + The human-readable name of the retrieved chat response configuration, + making it easier to identify among multiple configurations. + """ + created_at: datetime | None = ... + """ + The timestamp indicating when the chat response configuration was + initially created. + """ + in_use_configuration: ChatResponseConfigurationDetail | None = ... + """ + The currently active configuration settings that are being used to + generate responses in the Amazon Q Business application. + """ + last_update_configuration: ChatResponseConfigurationDetail | None = ... + """ + Information about the most recent update to the configuration, including + timestamp and modification details. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDataAccessorInput(_SerdeShape): + """Dataclass for GetDataAccessorInput structure.""" + + application_id: str | None = ... + """The unique identifier of the Amazon Q Business application.""" + data_accessor_id: str | None = ... + """The unique identifier of the data accessor to retrieve.""" + +@dataclass(kw_only=True) +class GetDataAccessorOutput(_SerdeShape): + """Dataclass for GetDataAccessorOutput structure.""" + + display_name: str | None = ... + """The friendly name of the data accessor.""" + data_accessor_id: str | None = ... + """The unique identifier of the data accessor.""" + data_accessor_arn: str | None = ... + """The Amazon Resource Name (ARN) of the data accessor.""" + application_id: str | None = ... + """ + The unique identifier of the Amazon Q Business application associated + with this data accessor. + """ + idc_application_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM Identity Center application + associated with this data accessor. + """ + principal: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role for the ISV associated + with this data accessor. + """ + action_configurations: list[ActionConfiguration] | None = ... + """ + The list of action configurations specifying the allowed actions and any + associated filters. + """ + authentication_detail: DataAccessorAuthenticationDetail | None = ... + """ + The authentication configuration details for the data accessor. This + specifies how the ISV authenticates when accessing data through this + data accessor. + """ + created_at: datetime | None = ... + """The timestamp when the data accessor was created.""" + updated_at: datetime | None = ... + """The timestamp when the data accessor was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDataSourceInput(_SerdeShape): + """Dataclass for GetDataSourceInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + index_id: str | None = ... + """The identfier of the index used with the data source connector.""" + data_source_id: str | None = ... + """The identifier of the data source connector.""" + +@dataclass(kw_only=True) +class GetDataSourceOutput(_SerdeShape): + """Dataclass for GetDataSourceOutput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + index_id: str | None = ... + """The identifier of the index linked to the data source connector.""" + data_source_id: str | None = ... + """The identifier of the data source connector.""" + data_source_arn: str | None = ... + """The Amazon Resource Name (ARN) of the data source.""" + display_name: str | None = ... + """The name for the data source connector.""" + type: str | None = ... + """The type of the data source connector. For example, `S3`.""" + configuration: _Document | None = ... + """The details of how the data source connector is configured.""" + vpc_configuration: DataSourceVpcConfiguration | None = ... + """ + Configuration information for an Amazon VPC (Virtual Private Cloud) to + connect to your data source. + """ + created_at: datetime | None = ... + """The Unix timestamp when the data source connector was created.""" + updated_at: datetime | None = ... + """The Unix timestamp when the data source connector was last updated.""" + description: str | None = ... + """The description for the data source connector.""" + status: str | None = ... + """ + The current status of the data source connector. When the `Status` field + value is `FAILED`, the `ErrorMessage` field contains a description of + the error that caused the data source connector to fail. + """ + sync_schedule: str | None = ... + """The schedule for Amazon Q Business to update the index.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the role with permission to access the + data source and required resources. + """ + error: ErrorDetail | None = ... + """ + When the `Status` field value is `FAILED`, the `ErrorMessage` field + contains a description of the error that caused the data source + connector to fail. + """ + document_enrichment_configuration: DocumentEnrichmentConfiguration | None = ... + """ + Provides the configuration information for altering document metadata + and content during the document ingestion process. + + For more information, see [Custom document + enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). + """ + media_extraction_configuration: MediaExtractionConfiguration | None = ... + """ + The configuration for extracting information from media in documents for + the data source. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetDocumentContentInput(_SerdeShape): + """Dataclass for GetDocumentContentInput structure.""" + + application_id: str | None = ... + """ + The unique identifier of the Amazon Q Business application containing + the document. This ensures the request is scoped to the correct + application environment and its associated security policies. + """ + index_id: str | None = ... + """The identifier of the index where documents are indexed.""" + data_source_id: str | None = ... + """ + The identifier of the data source from which the document was ingested. + This field is not present if the document is ingested by directly + calling the BatchPutDocument API. If the document is from a file-upload + data source, the datasource will be + \"uploaded-docs-file-stat-datasourceid\". + """ + document_id: str | None = ... + """ + The unique identifier of the document that is indexed via + BatchPutDocument API or file-upload or connector sync. It is also found + in chat or chatSync response. + """ + output_format: str | None = ... + """Document outputFormat. Defaults to RAW if not selected.""" + +@dataclass(kw_only=True) +class GetDocumentContentOutput(_SerdeShape): + """Dataclass for GetDocumentContentOutput structure.""" + + presigned_url: str + """ + A pre-signed URL that provides temporary access to download the document + content directly from Amazon Q Business. The URL expires after 5 minutes + for security purposes. This URL is generated only after successful ACL + validation. + """ + mime_type: str + """ + The MIME type of the document content. When outputFormat is RAW, this + corresponds to the original document's MIME type (e.g., + application/pdf, text/plain, + application/vnd.openxmlformats-officedocument.wordprocessingml.document). + When outputFormat is EXTRACTED, the MIME type is always + application/json. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetGroupInput(_SerdeShape): + """Dataclass for GetGroupInput structure.""" + + application_id: str | None = ... + """The identifier of the application id the group is attached to.""" + index_id: str | None = ... + """The identifier of the index the group is attached to.""" + group_name: str | None = ... + """The name of the group.""" + data_source_id: str | None = ... + """The identifier of the data source the group is attached to.""" + +@dataclass(kw_only=True) +class GetGroupOutput(_SerdeShape): + """Dataclass for GetGroupOutput structure.""" + + status: GroupStatusDetail | None = ... + """The current status of the group.""" + status_history: list[GroupStatusDetail] | None = ... + """The status history of the group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetIndexInput(_SerdeShape): + """Dataclass for GetIndexInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application connected to the + index. + """ + index_id: str | None = ... + """The identifier of the Amazon Q Business index you want information on.""" + +@dataclass(kw_only=True) +class GetIndexOutput(_SerdeShape): + """Dataclass for GetIndexOutput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application associated with the + index. + """ + index_id: str | None = ... + """The identifier of the Amazon Q Business index.""" + display_name: str | None = ... + """The name of the Amazon Q Business index.""" + index_arn: str | None = ... + """The Amazon Resource Name (ARN) of the Amazon Q Business index.""" + status: str | None = ... + """ + The current status of the index. When the value is `ACTIVE`, the index + is ready for use. If the `Status` field value is `FAILED`, the + `ErrorMessage` field contains a message that explains why. + """ + type: str | None = ... + """The type of index attached to your Amazon Q Business application.""" + description: str | None = ... + """The description for the Amazon Q Business index.""" + created_at: datetime | None = ... + """The Unix timestamp when the Amazon Q Business index was created.""" + updated_at: datetime | None = ... + """The Unix timestamp when the Amazon Q Business index was last updated.""" + capacity_configuration: IndexCapacityConfiguration | None = ... + """The storage capacity units chosen for your Amazon Q Business index.""" + document_attribute_configurations: list[DocumentAttributeConfiguration] | None = ... + """ + Configuration information for document attributes or metadata. Document + metadata are fields associated with your documents. For example, the + company department name associated with each document. For more + information, see [Understanding document + attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes-types.html#doc-attributes). + """ + error: ErrorDetail | None = ... + """ + When the `Status` field value is `FAILED`, the `ErrorMessage` field + contains a message that explains why. + """ + index_statistics: IndexStatistics | None = ... + """Provides information about the number of documents indexed.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetMediaInput(_SerdeShape): + """Dataclass for GetMediaInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business which contains the media object.""" + conversation_id: str | None = ... + """The identifier of the Amazon Q Business conversation.""" + message_id: str | None = ... + """The identifier of the Amazon Q Business message.""" + media_id: str | None = ... + """ + The identifier of the media object. You can find this in the + `sourceAttributions` returned by the `Chat`, `ChatSync`, and + `ListMessages` API responses. + """ + +@dataclass(kw_only=True) +class GetMediaOutput(_SerdeShape): + """Dataclass for GetMediaOutput structure.""" + + media_bytes: bytes | None = ... + """The base64-encoded bytes of the media object.""" + media_mime_type: str | None = ... + """The MIME type of the media object (image/png).""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPluginInput(_SerdeShape): + """Dataclass for GetPluginInput structure.""" + + application_id: str | None = ... + """The identifier of the application which contains the plugin.""" + plugin_id: str | None = ... + """The identifier of the plugin.""" + +@dataclass(kw_only=True) +class GetPluginOutput(_SerdeShape): + """Dataclass for GetPluginOutput structure.""" + + application_id: str | None = ... + """The identifier of the application which contains the plugin.""" + plugin_id: str | None = ... + """The identifier of the plugin.""" + display_name: str | None = ... + """The name of the plugin.""" + type: str | None = ... + """The type of the plugin.""" + server_url: str | None = ... + """The source URL used for plugin configuration.""" + auth_configuration: PluginAuthConfiguration | None = ... + """ + Authentication configuration information for an Amazon Q Business + plugin. + """ + custom_plugin_configuration: CustomPluginConfiguration | None = ... + """Configuration information required to create a custom plugin.""" + build_status: str | None = ... + """The current status of a plugin. A plugin is modified asynchronously.""" + plugin_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the role with permission to access + resources needed to create the plugin. + """ + state: str | None = ... + """The current state of the plugin.""" + created_at: datetime | None = ... + """The timestamp for when the plugin was created.""" + updated_at: datetime | None = ... + """The timestamp for when the plugin was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPolicyInput(_SerdeShape): + """Dataclass for GetPolicyInput structure.""" + + application_id: str | None = ... + """The unique identifier of the Amazon Q Business application.""" + +@dataclass(kw_only=True) +class GetPolicyOutput(_SerdeShape): + """Dataclass for GetPolicyOutput structure.""" + + policy: str | None = ... + """The JSON representation of the permission policy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetRetrieverInput(_SerdeShape): + """Dataclass for GetRetrieverInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application using the retriever.""" + retriever_id: str | None = ... + """The identifier of the retriever.""" + +@dataclass(kw_only=True) +class GetRetrieverOutput(_SerdeShape): + """Dataclass for GetRetrieverOutput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application using the retriever.""" + retriever_id: str | None = ... + """The identifier of the retriever.""" + retriever_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role associated with the + retriever. + """ + type: str | None = ... + """The type of the retriever.""" + status: str | None = ... + """The status of the retriever.""" + display_name: str | None = ... + """The name of the retriever.""" + configuration: RetrieverConfiguration | None = ... + """ + Provides information on how the retriever used for your Amazon Q + Business application is configured. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the role with the permission to access + the retriever and required resources. + """ + created_at: datetime | None = ... + """The Unix timestamp when the retriever was created.""" + updated_at: datetime | None = ... + """The Unix timestamp when the retriever was last updated.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetUserInput(_SerdeShape): + """Dataclass for GetUserInput structure.""" + + application_id: str | None = ... + """The identifier of the application connected to the user.""" + user_id: str | None = ... + """The user email address attached to the user.""" + +@dataclass(kw_only=True) +class GetUserOutput(_SerdeShape): + """Dataclass for GetUserOutput structure.""" + + user_aliases: list[UserAlias] | None = ... + """A list of user aliases attached to a user.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetWebExperienceInput(_SerdeShape): + """Dataclass for GetWebExperienceInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application linked to the web + experience. + """ + web_experience_id: str | None = ... + """The identifier of the Amazon Q Business web experience.""" + +@dataclass(kw_only=True) +class GetWebExperienceOutput(_SerdeShape): + """Dataclass for GetWebExperienceOutput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application linked to the web + experience. + """ + web_experience_id: str | None = ... + """The identifier of the Amazon Q Business web experience.""" + web_experience_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the role with the permission to access + the Amazon Q Business web experience and required resources. + """ + default_endpoint: str | None = ... + """The endpoint of your Amazon Q Business web experience.""" + status: str | None = ... + """ + The current status of the Amazon Q Business web experience. When the + `Status` field value is `FAILED`, the `ErrorMessage` field contains a + description of the error that caused the data source connector to fail. + """ + created_at: datetime | None = ... + """ + The Unix timestamp when the Amazon Q Business web experience was last + created. + """ + updated_at: datetime | None = ... + """ + The Unix timestamp when the Amazon Q Business web experience was last + updated. + """ + title: str | None = ... + """The title for your Amazon Q Business web experience.""" + subtitle: str | None = ... + """The subtitle for your Amazon Q Business web experience.""" + welcome_message: str | None = ... + """ + The customized welcome message for end users of an Amazon Q Business web + experience. + """ + sample_prompts_control_mode: str | None = ... + """ + Determines whether sample prompts are enabled in the web experience for + an end user. + """ + origins: list[str] | None = ... + """ + Gets the website domain origins that are allowed to embed the Amazon Q + Business web experience. The *domain origin* refers to the base URL for + accessing a website including the protocol (`http/https`), the domain + name, and the port number (if specified). + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the service role attached to your web + experience. + """ + identity_provider_configuration: IdentityProviderConfiguration | None = ... + """ + Information about the identity provider (IdP) used to authenticate end + users of an Amazon Q Business web experience. + """ + authentication_configuration: WebExperienceAuthConfiguration | None = ... + """ + The authentication configuration information for your Amazon Q Business + web experience. + """ + error: ErrorDetail | None = ... + """ + When the `Status` field value is `FAILED`, the `ErrorMessage` field + contains a description of the error that caused the data source + connector to fail. + """ + browser_extension_configuration: BrowserExtensionConfiguration | None = ... + """ + The browser extension configuration for an Amazon Q Business web + experience. + """ + customization_configuration: CustomizationConfiguration | None = ... + """ + Gets the custom logo, favicon, font, and color used in the Amazon Q web + experience. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GroupMembers(_SerdeShape): + """ + A list of users or sub groups that belong to a group. This is for + generating Amazon Q Business chat results only from document a user has + access to. + """ + + member_groups: list[MemberGroup] | None = ... + """ + A list of sub groups that belong to a group. For example, the sub groups + \"Research\", \"Engineering\", and \"Sales and Marketing\" all belong to + the group \"Company\". + """ + member_users: list[MemberUser] | None = ... + """ + A list of users that belong to a group. For example, a list of interns + all belong to the \"Interns\" group. + """ + s3_path_for_group_members: S3 | None = ... + """ + Information required for Amazon Q Business to find a specific file in an + Amazon S3 bucket. + """ + +class GroupStatus(UnknownEnumMixin, StrEnum): + FAILED = "FAILED" + SUCCEEDED = "SUCCEEDED" + PROCESSING = "PROCESSING" + DELETING = "DELETING" + DELETED = "DELETED" + +@dataclass(kw_only=True) +class GroupStatusDetail(_SerdeShape): + """Provides the details of a group's status.""" + + status: str | None = ... + """The status of a group.""" + last_updated_at: datetime | None = ... + """ + The Unix timestamp when the Amazon Q Business application was last + updated. + """ + error_detail: ErrorDetail | None = ... + """The details of an error associated a group status.""" + +@dataclass(kw_only=True) +class GroupSummary(_SerdeShape): + """Summary information for groups.""" + + group_name: str | None = ... + """The name of the group the summary information is for.""" + +@dataclass(kw_only=True) +class HallucinationReductionConfiguration(_SerdeShape): + """ + Configuration information required to setup hallucination reduction. For + more information, see [hallucination + reduction](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/hallucination-reduction.html). + + Note: + The hallucination reduction feature won't work if chat orchestration + controls are enabled for your application. + """ + + hallucination_reduction_control: str | None = ... + """ + Controls whether hallucination reduction has been enabled or disabled + for your application. The default status is `DISABLED`. + """ + +class HallucinationReductionControl(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class HookConfiguration(_SerdeShape): + """ + Provides the configuration information for invoking a Lambda function in + Lambda to alter document metadata and content when ingesting documents + into Amazon Q Business. + + You can configure your Lambda function using the + `PreExtractionHookConfiguration` parameter if you want to apply advanced + alterations on the original or raw documents. + + If you want to apply advanced alterations on the Amazon Q Business + structured documents, you must configure your Lambda function using + `PostExtractionHookConfiguration`. + + You can only invoke one Lambda function. However, this function can + invoke other functions it requires. + + For more information, see [Custom document + enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). + """ + + invocation_condition: DocumentAttributeCondition | None = ... + """ + The condition used for when a Lambda function should be invoked. + + For example, you can specify a condition that if there are empty + date-time values, then Amazon Q Business should invoke a function that + inserts the current date-time. + """ + lambda_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Lambda function during ingestion. + For more information, see [Using Lambda functions for Amazon Q Business + document + enrichment](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cde-lambda-operations.html). + """ + s3_bucket_name: str | None = ... + """ + Stores the original, raw documents or the structured, parsed documents + before and after altering them. For more information, see [Data + contracts for Lambda + functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts). + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of a role with permission to run + `PreExtractionHookConfiguration` and `PostExtractionHookConfiguration` + for altering document metadata and content during the document ingestion + process. + """ + +@dataclass(kw_only=True) +class IdcAuthConfiguration(_SerdeShape): + """ + Information about the IAM Identity Center Application used to configure + authentication for a plugin. + """ + + idc_application_arn: str + """ + The Amazon Resource Name (ARN) of the IAM Identity Center Application + used to configure authentication. + """ + role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role with permissions to + perform actions on Amazon Web Services services on your behalf. + """ + +@dataclass +class IdentityProviderConfigurationSamlConfiguration(_SerdeShape): + """ + Information about the SAML 2.0-compliant identity provider (IdP) used to + authenticate end users of an Amazon Q Business web experience. + """ + + value: SamlProviderConfiguration + +@dataclass +class IdentityProviderConfigurationOpenIDConnectConfiguration(_SerdeShape): + """ + Information about the OIDC-compliant identity provider (IdP) used to + authenticate end users of an Amazon Q Business web experience. + """ + + value: OpenIDConnectProviderConfiguration + +@dataclass +class IdentityProviderConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +IdentityProviderConfiguration = Union[ + IdentityProviderConfigurationSamlConfiguration + | IdentityProviderConfigurationOpenIDConnectConfiguration + | IdentityProviderConfigurationUnknown +] +""" +Provides information about the identity provider (IdP) used to +authenticate end users of an Amazon Q Business web experience. +""" + +class _IdentityProviderConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> IdentityProviderConfiguration: ... + +class IdentityType(UnknownEnumMixin, StrEnum): + AWS_IAM_IDP_SAML = "AWS_IAM_IDP_SAML" + AWS_IAM_IDP_OIDC = "AWS_IAM_IDP_OIDC" + AWS_IAM_IDC = "AWS_IAM_IDC" + AWS_QUICKSIGHT_IDP = "AWS_QUICKSIGHT_IDP" + ANONYMOUS = "ANONYMOUS" + +@dataclass(kw_only=True) +class ImageExtractionConfiguration(_SerdeShape): + """ + The configuration for extracting semantic meaning from images in + documents. For more information, see [Extracting semantic meaning from + images and + visuals](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/extracting-meaning-from-images.html). + """ + + image_extraction_status: str + """ + Specify whether to extract semantic meaning from images and visuals from + documents. + """ + +class ImageExtractionStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class ImageSourceDetails(_SerdeShape): + """Details about an image source, including its identifier and format.""" + + media_id: str | None = ... + """Unique identifier for the image file.""" + media_mime_type: str | None = ... + """The MIME type of the image file.""" + +@dataclass(kw_only=True) +class Index(_SerdeShape): + """Summary information for your Amazon Q Business index.""" + + display_name: str | None = ... + """The name of the index.""" + index_id: str | None = ... + """The identifier for the index.""" + created_at: datetime | None = ... + """The Unix timestamp when the index was created.""" + updated_at: datetime | None = ... + """The Unix timestamp when the index was last updated.""" + status: str | None = ... + """ + The current status of the index. When the status is `ACTIVE`, the index + is ready. + """ + +@dataclass(kw_only=True) +class IndexCapacityConfiguration(_SerdeShape): + """Provides information about index capacity configuration.""" + + units: int | None = ... + """The number of storage units configured for an Amazon Q Business index.""" + +@dataclass(kw_only=True) +class IndexStatistics(_SerdeShape): + """Provides information about the number of documents in an index.""" + + text_document_statistics: TextDocumentStatistics | None = ... + """The number of documents indexed.""" + +class IndexStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + DELETING = "DELETING" + FAILED = "FAILED" + UPDATING = "UPDATING" + +class IndexType(UnknownEnumMixin, StrEnum): + ENTERPRISE = "ENTERPRISE" + STARTER = "STARTER" + +@dataclass(kw_only=True) +class InlineDocumentEnrichmentConfiguration(_SerdeShape): + """ + Provides the configuration information for applying basic logic to alter + document metadata and content when ingesting documents into Amazon Q + Business. + + To apply advanced logic, to go beyond what you can do with basic logic, + see + [`HookConfiguration`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_HookConfiguration.html) + . + + For more information, see [Custom document + enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). + """ + + condition: DocumentAttributeCondition | None = ... + """ + The condition used for the target document attribute or metadata field + when ingesting documents into Amazon Q Business. You use this with + [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) + to apply the condition. + + For example, you can create the 'Department' target field and have it + prefill department names associated with the documents based on + information in the 'Source_URI' field. Set the condition that if the + 'Source_URI' field contains 'financial' in its URI value, then + prefill the target field 'Department' with the target value + 'Finance' for the document. + + Amazon Q Business can't create a target field if it has not already + been created as an index field. After you create your index field, you + can create a document metadata field using `DocumentAttributeTarget`. + Amazon Q Business then will map your newly created metadata field to + your index field. + """ + target: DocumentAttributeTarget | None = ... + """ + The target document attribute or metadata field you want to alter when + ingesting documents into Amazon Q Business. + + For example, you can delete all customer identification numbers + associated with the documents, stored in the document metadata field + called 'Customer_ID' by setting the target key as 'Customer_ID' and + the deletion flag to `TRUE`. This removes all customer ID values in the + field 'Customer_ID'. This would scrub personally identifiable + information from each document's metadata. + + Amazon Q Business can't create a target field if it has not already + been created as an index field. After you create your index field, you + can create a document metadata field using + [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) + . Amazon Q Business will then map your newly created document attribute + to your index field. + + You can also use this with + [`DocumentAttributeCondition`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeCondition.html) + . + """ + document_content_operator: str | None = ... + """ + `TRUE` to delete content if the condition used for the target attribute + is met. + """ + +@dataclass(kw_only=True) +class InstructionCollection(_SerdeShape): + """ + A set of instructions that define how Amazon Q Business should generate + and format responses to user queries. This collection includes + parameters for controlling response characteristics such as length, + audience targeting, perspective, style, identity, tone, and custom + instructions. + """ + + response_length: str | None = ... + """ + Specifies the desired length of responses generated by Amazon Q + Business. This parameter allows administrators to control whether + responses are concise and brief or more detailed and comprehensive. + """ + target_audience: str | None = ... + """ + Defines the intended audience for the responses, allowing Amazon Q + Business to tailor its language, terminology, and explanations + appropriately. This could range from technical experts to general users + with varying levels of domain knowledge. + """ + perspective: str | None = ... + """ + Determines the point of view or perspective from which Amazon Q Business + generates responses, such as first-person, second-person, or + third-person perspective, affecting how information is presented to + users. + """ + output_style: str | None = ... + """ + Specifies the formatting and structural style of responses, such as + bullet points, paragraphs, step-by-step instructions, or other + organizational formats that enhance readability and comprehension. + """ + identity: str | None = ... + """ + Defines the persona or identity that Amazon Q Business should adopt when + responding to users, allowing for customization of the assistant's + character, role, or representation within an organization. + """ + tone: str | None = ... + """ + Controls the emotional tone and communication style of responses, such + as formal, casual, technical, friendly, or professional, to align with + organizational communication standards and user expectations. + """ + custom_instructions: str | None = ... + """ + Allows administrators to provide specific, custom instructions that + guide how Amazon Q Business should respond in particular scenarios or to + certain types of queries, enabling fine-grained control over response + generation. + """ + examples: str | None = ... + """ + Provides sample responses or templates that Amazon Q Business can + reference when generating responses, helping to establish consistent + patterns and formats for different types of user queries. + """ + +@dataclass(kw_only=True) +class InternalServerException(ServiceError, _SerdeShape): + """ + An issue occurred with the internal server used for your Amazon Q + Business service. Wait some minutes and try again, or contact + [Support](http://aws.amazon.com/contact-us/) for help. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class KendraIndexConfiguration(_SerdeShape): + """Stores an Amazon Kendra index as a retriever.""" + + index_id: str + """The identifier of the Amazon Kendra index.""" + +@dataclass(kw_only=True) +class LicenseNotFoundException(ServiceError, _SerdeShape): + """ + You don't have permissions to perform the action because your license + is inactive. Ask your admin to activate your license and try again after + your licence is active. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListApplicationsInput(_SerdeShape): + """Dataclass for ListApplicationsInput structure.""" + + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + Amazon Q Business applications. + """ + max_results: int | None = ... + """The maximum number of Amazon Q Business applications to return.""" + +@dataclass(kw_only=True) +class ListApplicationsOutput(_SerdeShape): + """Dataclass for ListApplicationsOutput structure.""" + + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token. You + can use this token in a subsequent request to retrieve the next set of + applications. + """ + applications: list[Application] | None = ... + """ + An array of summary information on the configuration of one or more + Amazon Q Business applications. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListAttachmentsInput(_SerdeShape): + """Dataclass for ListAttachmentsInput structure.""" + + application_id: str | None = ... + """The unique identifier for the Amazon Q Business application.""" + conversation_id: str | None = ... + """ + The unique identifier of the Amazon Q Business web experience + conversation. + """ + user_id: str | None = ... + """ + The unique identifier of the user involved in the Amazon Q Business web + experience conversation. + """ + next_token: str | None = ... + """ + If the number of attachments returned exceeds `maxResults`, Amazon Q + Business returns a next token as a pagination token to retrieve the next + set of attachments. + """ + max_results: int | None = ... + """The maximum number of attachements to return.""" + +@dataclass(kw_only=True) +class ListAttachmentsOutput(_SerdeShape): + """Dataclass for ListAttachmentsOutput structure.""" + + attachments: list[Attachment] | None = ... + """An array of information on one or more attachments.""" + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token, + which you can use in a later request to list the next set of + attachments. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListChatResponseConfigurationsInput(_SerdeShape): + """Dataclass for ListChatResponseConfigurationsInput structure.""" + + application_id: str | None = ... + """ + The unique identifier of the Amazon Q Business application for which to + list available chat response configurations. + """ + max_results: int | None = ... + """ + The maximum number of chat response configurations to return in a single + response. This parameter helps control pagination of results when many + configurations exist. + """ + next_token: str | None = ... + """ + A pagination token used to retrieve the next set of results when the + number of configurations exceeds the specified `maxResults` value. + """ + +@dataclass(kw_only=True) +class ListChatResponseConfigurationsOutput(_SerdeShape): + """Dataclass for ListChatResponseConfigurationsOutput structure.""" + + chat_response_configurations: list[ChatResponseConfiguration] | None = ... + """ + A list of chat response configuration summaries, each containing key + information about an available configuration in the specified + application. + """ + next_token: str | None = ... + """ + A pagination token that can be used in a subsequent request to retrieve + additional chat response configurations if the results were truncated + due to the `maxResults` parameter. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListConversationsInput(_SerdeShape): + """Dataclass for ListConversationsInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + user_id: str | None = ... + """ + The identifier of the user involved in the Amazon Q Business web + experience conversation. + """ + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + Amazon Q Business conversations. + """ + max_results: int | None = ... + """The maximum number of Amazon Q Business conversations to return.""" + +@dataclass(kw_only=True) +class ListConversationsOutput(_SerdeShape): + """Dataclass for ListConversationsOutput structure.""" + + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token, + which you can use in a later request to list the next set of messages. + """ + conversations: list[Conversation] | None = ... + """ + An array of summary information on the configuration of one or more + Amazon Q Business web experiences. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDataAccessorsInput(_SerdeShape): + """Dataclass for ListDataAccessorsInput structure.""" + + application_id: str | None = ... + """The unique identifier of the Amazon Q Business application.""" + next_token: str | None = ... + """ + The token for the next set of results. (You received this token from a + previous call.) + """ + max_results: int | None = ... + """The maximum number of results to return in a single call.""" + +@dataclass(kw_only=True) +class ListDataAccessorsOutput(_SerdeShape): + """Dataclass for ListDataAccessorsOutput structure.""" + + data_accessors: list[DataAccessor] | None = ... + """The list of data accessors.""" + next_token: str | None = ... + """The token to use to retrieve the next set of results, if there are any.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDataSourcesInput(_SerdeShape): + """Dataclass for ListDataSourcesInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application linked to the data + source connectors. + """ + index_id: str | None = ... + """ + The identifier of the index used with one or more data source + connectors. + """ + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + Amazon Q Business data source connectors. + """ + max_results: int | None = ... + """The maximum number of data source connectors to return.""" + +@dataclass(kw_only=True) +class ListDataSourcesOutput(_SerdeShape): + """Dataclass for ListDataSourcesOutput structure.""" + + data_sources: list[DataSource] | None = ... + """An array of summary information for one or more data source connector.""" + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token. You + can use this token in a subsequent request to retrieve the next set of + data source connectors. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDataSourceSyncJobsInput(_SerdeShape): + """Dataclass for ListDataSourceSyncJobsInput structure.""" + + data_source_id: str | None = ... + """The identifier of the data source connector.""" + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application connected to the + data source. + """ + index_id: str | None = ... + """ + The identifier of the index used with the Amazon Q Business data source + connector. + """ + next_token: str | None = ... + """ + If the `maxResults` response was incpmplete because there is more data + to retriever, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + responses. + """ + max_results: int | None = ... + """The maximum number of synchronization jobs to return in the response.""" + start_time: datetime | None = ... + """The start time of the data source connector sync.""" + end_time: datetime | None = ... + """The end time of the data source connector sync.""" + status_filter: str | None = ... + """ + Only returns synchronization jobs with the `Status` field equal to the + specified status. + """ + +@dataclass(kw_only=True) +class ListDataSourceSyncJobsOutput(_SerdeShape): + """Dataclass for ListDataSourceSyncJobsOutput structure.""" + + history: list[DataSourceSyncJob] | None = ... + """A history of synchronization jobs for the data source connector.""" + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token. You + can use this token in any subsequent request to retrieve the next set of + jobs. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDocumentsInput(_SerdeShape): + """Dataclass for ListDocumentsInput structure.""" + + application_id: str | None = ... + """The identifier of the application id the documents are attached to.""" + index_id: str | None = ... + """The identifier of the index the documents are attached to.""" + data_source_ids: list[str] | None = ... + """The identifier of the data sources the documents are attached to.""" + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + documents. + """ + max_results: int | None = ... + """The maximum number of documents to return.""" + +@dataclass(kw_only=True) +class ListDocumentsOutput(_SerdeShape): + """Dataclass for ListDocumentsOutput structure.""" + + document_detail_list: list[DocumentDetails] | None = ... + """A list of document details.""" + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + documents. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListGroupsInput(_SerdeShape): + """Dataclass for ListGroupsInput structure.""" + + application_id: str | None = ... + """ + The identifier of the application for getting a list of groups mapped to + users. + """ + index_id: str | None = ... + """ + The identifier of the index for getting a list of groups mapped to + users. + """ + updated_earlier_than: datetime | None = ... + """ + The timestamp identifier used for the latest `PUT` or `DELETE` action + for mapping users to their groups. + """ + data_source_id: str | None = ... + """ + The identifier of the data source for getting a list of groups mapped to + users. + """ + next_token: str | None = ... + """ + If the previous response was incomplete (because there is more data to + retrieve), Amazon Q Business returns a pagination token in the response. + You can use this pagination token to retrieve the next set of groups + that are mapped to users. + """ + max_results: int | None = ... + """The maximum number of returned groups that are mapped to users.""" + +@dataclass(kw_only=True) +class ListGroupsOutput(_SerdeShape): + """Dataclass for ListGroupsOutput structure.""" + + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token that + you can use in the subsequent request to retrieve the next set of groups + that are mapped to users. + """ + items: list[GroupSummary] | None = ... + """Summary information for list of groups that are mapped to users.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListIndicesInput(_SerdeShape): + """Dataclass for ListIndicesInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application connected to the + index. + """ + next_token: str | None = ... + """ + If the maxResults response was incomplete because there is more data to + retrieve, Amazon Q Business returns a pagination token in the response. + You can use this pagination token to retrieve the next set of Amazon Q + Business indices. + """ + max_results: int | None = ... + """The maximum number of indices to return.""" + +@dataclass(kw_only=True) +class ListIndicesOutput(_SerdeShape): + """Dataclass for ListIndicesOutput structure.""" + + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token that + you can use in the subsequent request to retrieve the next set of + indexes. + """ + indices: list[Index] | None = ... + """An array of information on the items in one or more indexes.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListMessagesInput(_SerdeShape): + """Dataclass for ListMessagesInput structure.""" + + conversation_id: str | None = ... + """The identifier of the Amazon Q Business web experience conversation.""" + application_id: str | None = ... + """The identifier for the Amazon Q Business application.""" + user_id: str | None = ... + """ + The identifier of the user involved in the Amazon Q Business web + experience conversation. + """ + next_token: str | None = ... + """ + If the number of messages returned exceeds `maxResults`, Amazon Q + Business returns a next token as a pagination token to retrieve the next + set of messages. + """ + max_results: int | None = ... + """The maximum number of messages to return.""" + +@dataclass(kw_only=True) +class ListMessagesOutput(_SerdeShape): + """Dataclass for ListMessagesOutput structure.""" + + messages: list[Message] | None = ... + """An array of information on one or more messages.""" + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token, + which you can use in a later request to list the next set of messages. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPluginActionsInput(_SerdeShape): + """Dataclass for ListPluginActionsInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application the plugin is + attached to. + """ + plugin_id: str | None = ... + """The identifier of the Amazon Q Business plugin.""" + next_token: str | None = ... + """ + If the number of plugin actions returned exceeds `maxResults`, Amazon Q + Business returns a next token as a pagination token to retrieve the next + set of plugin actions. + """ + max_results: int | None = ... + """The maximum number of plugin actions to return.""" + +@dataclass(kw_only=True) +class ListPluginActionsOutput(_SerdeShape): + """Dataclass for ListPluginActionsOutput structure.""" + + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token, + which you can use in a later request to list the next set of plugin + actions. + """ + items: list[ActionSummary] | None = ... + """An array of information on one or more plugin actions.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPluginsInput(_SerdeShape): + """Dataclass for ListPluginsInput structure.""" + + application_id: str | None = ... + """The identifier of the application the plugin is attached to.""" + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + plugins. + """ + max_results: int | None = ... + """The maximum number of documents to return.""" + +@dataclass(kw_only=True) +class ListPluginsOutput(_SerdeShape): + """Dataclass for ListPluginsOutput structure.""" + + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + plugins. + """ + plugins: list[Plugin] | None = ... + """Information about a configured plugin.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPluginTypeActionsInput(_SerdeShape): + """Dataclass for ListPluginTypeActionsInput structure.""" + + plugin_type: str | None = ... + """The type of the plugin.""" + next_token: str | None = ... + """ + If the number of plugins returned exceeds `maxResults`, Amazon Q + Business returns a next token as a pagination token to retrieve the next + set of plugins. + """ + max_results: int | None = ... + """The maximum number of plugins to return.""" + +@dataclass(kw_only=True) +class ListPluginTypeActionsOutput(_SerdeShape): + """Dataclass for ListPluginTypeActionsOutput structure.""" + + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token, + which you can use in a later request to list the next set of plugins. + """ + items: list[ActionSummary] | None = ... + """An array of information on one or more plugins.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/models_1.pyi b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/models_1.pyi new file mode 100644 index 000000000..169bfb36d --- /dev/null +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/models_1.pyi @@ -0,0 +1,2442 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.documents import Document +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + ActionConfiguration, + ActionExecution, + ActionReview, + AttachmentOutput, + AttachmentsConfiguration, + AttributeFilter, + AudioExtractionConfiguration, + AudioSourceDetails, + AutoSubscriptionConfiguration, + BasicAuthConfiguration, + BlockedPhrasesConfigurationUpdate, + BrowserExtensionConfiguration, + ContentBlockerRule, + ContentRetrievalRule, + ContentSource, + CreatorModeConfiguration, + CustomPluginConfiguration, + CustomizationConfiguration, + DataAccessorAuthenticationDetail, + DataSourceVpcConfiguration, + DocumentAttribute, + DocumentAttributeBoostingConfiguration, + DocumentAttributeConfiguration, + DocumentEnrichmentConfiguration, + GroupMembers, + HallucinationReductionConfiguration, + IdcAuthConfiguration, + IdentityProviderConfiguration, + ImageExtractionConfiguration, + ImageSourceDetails, + IndexCapacityConfiguration, + InstructionCollection, + KendraIndexConfiguration, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class ListPluginTypeMetadataInput(_SerdeShape): + """Dataclass for ListPluginTypeMetadataInput structure.""" + + next_token: str | None = ... + """ + If the metadata returned exceeds `maxResults`, Amazon Q Business returns + a next token as a pagination token to retrieve the next set of metadata. + """ + max_results: int | None = ... + """The maximum number of plugin metadata items to return.""" + +@dataclass(kw_only=True) +class ListPluginTypeMetadataOutput(_SerdeShape): + """Dataclass for ListPluginTypeMetadataOutput structure.""" + + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token, + which you can use in a later request to list the next set of plugin + metadata. + """ + items: list[PluginTypeMetadataSummary] | None = ... + """An array of information on plugin metadata.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListRetrieversInput(_SerdeShape): + """Dataclass for ListRetrieversInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application using the retriever.""" + next_token: str | None = ... + """ + If the number of retrievers returned exceeds `maxResults`, Amazon Q + Business returns a next token as a pagination token to retrieve the next + set of retrievers. + """ + max_results: int | None = ... + """The maximum number of retrievers returned.""" + +@dataclass(kw_only=True) +class ListRetrieversOutput(_SerdeShape): + """Dataclass for ListRetrieversOutput structure.""" + + retrievers: list[Retriever] | None = ... + """An array of summary information for one or more retrievers.""" + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token, + which you can use in a later request to list the next set of retrievers. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListSubscriptionsInput(_SerdeShape): + """Dataclass for ListSubscriptionsInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application linked to the + subscription. + """ + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + Amazon Q Business subscriptions. + """ + max_results: int | None = ... + """The maximum number of Amazon Q Business subscriptions to return.""" + +@dataclass(kw_only=True) +class ListSubscriptionsOutput(_SerdeShape): + """Dataclass for ListSubscriptionsOutput structure.""" + + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token. You + can use this token in a subsequent request to retrieve the next set of + subscriptions. + """ + subscriptions: list[Subscription] | None = ... + """ + An array of summary information on the subscriptions configured for an + Amazon Q Business application. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceInput(_SerdeShape): + """Dataclass for ListTagsForResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Q Business application or + data source to get a list of tags for. + """ + +@dataclass(kw_only=True) +class ListTagsForResourceOutput(_SerdeShape): + """Dataclass for ListTagsForResourceOutput structure.""" + + tags: list[Tag] | None = ... + """ + A list of tags associated with the Amazon Q Business application or data + source. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListWebExperiencesInput(_SerdeShape): + """Dataclass for ListWebExperiencesInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application linked to the listed + web experiences. + """ + next_token: str | None = ... + """ + If the `maxResults` response was incomplete because there is more data + to retrieve, Amazon Q Business returns a pagination token in the + response. You can use this pagination token to retrieve the next set of + Amazon Q Business conversations. + """ + max_results: int | None = ... + """The maximum number of Amazon Q Business Web Experiences to return.""" + +@dataclass(kw_only=True) +class ListWebExperiencesOutput(_SerdeShape): + """Dataclass for ListWebExperiencesOutput structure.""" + + web_experiences: list[WebExperience] | None = ... + """ + An array of summary information for one or more Amazon Q Business + experiences. + """ + next_token: str | None = ... + """ + If the response is truncated, Amazon Q Business returns this token, + which you can use in a later request to list the next set of messages. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class MediaExtractionConfiguration(_SerdeShape): + """The configuration for extracting information from media in documents.""" + + image_extraction_configuration: ImageExtractionConfiguration | None = ... + """ + The configuration for extracting semantic meaning from images in + documents. For more information, see [Extracting semantic meaning from + images and + visuals](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/extracting-meaning-from-images.html). + """ + audio_extraction_configuration: AudioExtractionConfiguration | None = ... + """ + Configuration settings for extracting and processing audio content from + media files. + """ + video_extraction_configuration: VideoExtractionConfiguration | None = ... + """ + Configuration settings for extracting and processing video content from + media files. + """ + +@dataclass(kw_only=True) +class MediaTooLargeException(ServiceError, _SerdeShape): + """The requested media object is too large to be returned.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class MemberGroup(_SerdeShape): + """The sub groups that belong to a group.""" + + group_name: str + """The name of the sub group.""" + type: str | None = ... + """The type of the sub group.""" + +class MemberRelation(UnknownEnumMixin, StrEnum): + AND_ = "AND" + OR_ = "OR" + +class MembershipType(UnknownEnumMixin, StrEnum): + INDEX = "INDEX" + DATASOURCE = "DATASOURCE" + +@dataclass(kw_only=True) +class MemberUser(_SerdeShape): + """The users that belong to a group.""" + + user_id: str + """The identifier of the user you want to map to a group.""" + type: str | None = ... + """The type of the user.""" + +@dataclass(kw_only=True) +class Message(_SerdeShape): + """A message in an Amazon Q Business web experience.""" + + message_id: str | None = ... + """The identifier of the Amazon Q Business web experience message.""" + body: str | None = ... + """The content of the Amazon Q Business web experience message.""" + time: datetime | None = ... + """The timestamp of the first Amazon Q Business web experience message.""" + type: str | None = ... + """ + The type of Amazon Q Business message, whether `HUMAN` or `AI` + generated. + """ + attachments: list[AttachmentOutput] | None = ... + """A file directly uploaded into an Amazon Q Business web experience chat.""" + source_attribution: list[SourceAttribution | None] | None = ... + """ + The source documents used to generate Amazon Q Business web experience + message. + """ + action_review: ActionReview | None = ... + """ + An output event that Amazon Q Business returns to an user who wants to + perform a plugin action during a non-streaming chat conversation. It + contains information about the selected action with a list of possible + user input fields, some pre-populated by Amazon Q Business. + """ + action_execution: ActionExecution | None = ... + """ + Performs an Amazon Q Business plugin action during a non-streaming chat + conversation. + """ + +class MessageType(UnknownEnumMixin, StrEnum): + USER = "USER" + SYSTEM = "SYSTEM" + +class MessageUsefulness(UnknownEnumMixin, StrEnum): + USEFUL = "USEFUL" + NOT_USEFUL = "NOT_USEFUL" + +@dataclass(kw_only=True) +class MessageUsefulnessFeedback(_SerdeShape): + """ + End user feedback on an AI-generated web experience chat message + usefulness. + """ + + usefulness: str + """The usefulness value assigned by an end user to a message.""" + reason: str | None = ... + """The reason for a usefulness rating.""" + comment: str | None = ... + """ + A comment given by an end user on the usefulness of an AI-generated chat + message. + """ + submitted_at: datetime + """The timestamp for when the feedback was submitted.""" + +class MessageUsefulnessReason(UnknownEnumMixin, StrEnum): + NOT_FACTUALLY_CORRECT = "NOT_FACTUALLY_CORRECT" + HARMFUL_OR_UNSAFE = "HARMFUL_OR_UNSAFE" + INCORRECT_OR_MISSING_SOURCES = "INCORRECT_OR_MISSING_SOURCES" + NOT_HELPFUL = "NOT_HELPFUL" + FACTUALLY_CORRECT = "FACTUALLY_CORRECT" + COMPLETE = "COMPLETE" + RELEVANT_SOURCES = "RELEVANT_SOURCES" + HELPFUL = "HELPFUL" + NOT_BASED_ON_DOCUMENTS = "NOT_BASED_ON_DOCUMENTS" + NOT_COMPLETE = "NOT_COMPLETE" + NOT_CONCISE = "NOT_CONCISE" + OTHER = "OTHER" + +@dataclass(kw_only=True) +class MetadataEvent(_SerdeShape): + """ + A metadata event for a AI-generated text output message in a Amazon Q + Business conversation, containing associated metadata generated. + """ + + conversation_id: str | None = ... + """ + The identifier of the conversation with which the generated metadata is + associated. + """ + user_message_id: str | None = ... + """ + The identifier of an Amazon Q Business end user text input message + within the conversation. + """ + system_message_id: str | None = ... + """ + The identifier of an Amazon Q Business AI generated message within the + conversation. + """ + source_attributions: list[SourceAttribution | None] | None = ... + """The source documents used to generate the conversation response.""" + final_text_message: str | None = ... + """The final text output message generated by the system.""" + +@dataclass(kw_only=True) +class NativeIndexConfiguration(_SerdeShape): + """Configuration information for an Amazon Q Business index.""" + + index_id: str + """The identifier for the Amazon Q Business index.""" + version: int | None = ... + """ + A read-only field that specifies the version of the + `NativeIndexConfiguration`. + + Amazon Q Business introduces enhanced document retrieval capabilities in + version 2 of `NativeIndexConfiguration`, focusing on streamlined + metadata boosting that prioritizes recency and source relevance to + deliver more accurate responses to your queries. Version 2 has the + following differences from version 1: + + - Version 2 supports a single Date field (created_at OR last_updated_at) + for recency boosting + + - Version 2 supports a single String field with an ordered list of up to + 5 values + + - Version 2 introduces number-based boost levels (ONE, TWO) alongside + the text-based levels + + - Version 2 allows specifying prioritization between Date and String + fields + + - Version 2 maintains backward compatibility with existing + configurations + """ + boosting_override: dict[str, DocumentAttributeBoostingConfiguration] | None = ... + """ + Overrides the default boosts applied by Amazon Q Business to supported + document attribute data types. + """ + +@dataclass(kw_only=True) +class NoAuthConfiguration(_SerdeShape): + """ + Information about invoking a custom plugin without any authentication or + authorization requirement. + """ + +@dataclass(kw_only=True) +class NumberAttributeBoostingConfiguration(_SerdeShape): + """ + Provides information on boosting `NUMBER` type document attributes. + + In the current boosting implementation, boosting focuses primarily on + `DATE` attributes for recency and `STRING` attributes for source + prioritization. `NUMBER` attributes can serve as additional boosting + factors when needed, but are not supported when using + `NativeIndexConfiguration` version 2. + + For more information on how boosting document attributes work in Amazon + Q Business, see [Boosting using document + attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). + """ + + boosting_level: str + """ + Specifies the priority of boosted document attributes in relation to + other boosted attributes. This parameter determines how strongly the + attribute influences document ranking in search results. `NUMBER` + attributes can serve as additional boosting factors when needed, but are + not supported when using `NativeIndexConfiguration` version 2. + """ + boosting_type: str | None = ... + """ + Specifies whether higher or lower numeric values should be prioritized + when boosting. Valid values are ASCENDING (higher numbers are more + important) and DESCENDING (lower numbers are more important). + """ + +class NumberAttributeBoostingType(UnknownEnumMixin, StrEnum): + PRIORITIZE_LARGER_VALUES = "PRIORITIZE_LARGER_VALUES" + PRIORITIZE_SMALLER_VALUES = "PRIORITIZE_SMALLER_VALUES" + +@dataclass(kw_only=True) +class OAuth2ClientCredentialConfiguration(_SerdeShape): + """ + Information about the OAuth 2.0 authentication credential/token used to + configure a plugin. + """ + + secret_arn: str + """ + The ARN of the Secrets Manager secret that stores the OAuth 2.0 + credentials/token used for plugin configuration. + """ + role_arn: str + """ + The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 + authentication credentials stored in a Secrets Manager secret. + """ + authorization_url: str | None = ... + """ + The redirect URL required by the OAuth 2.0 protocol for Amazon Q + Business to authenticate a plugin user through a third party + authentication server. + """ + token_url: str | None = ... + """ + The URL required by the OAuth 2.0 protocol to exchange an end user + authorization code for an access token. + """ + +@dataclass(kw_only=True) +class OpenIDConnectProviderConfiguration(_SerdeShape): + """ + Information about the OIDC-compliant identity provider (IdP) used to + authenticate end users of an Amazon Q Business web experience. + """ + + secrets_arn: str + """ + The Amazon Resource Name (ARN) of a Secrets Manager secret containing + the OIDC client secret. + """ + secrets_role: str + """ + An IAM role with permissions to access KMS to decrypt the Secrets + Manager secret containing your OIDC client secret. + """ + +@dataclass(kw_only=True) +class OrchestrationConfiguration(_SerdeShape): + """ + Configuration information required to enable chat orchestration for your + Amazon Q Business application. + + Note: + Chat orchestration is optimized to work for English language content. + For more details on language support in Amazon Q Business, see + [Supported + languages](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/supported-languages.html). + """ + + control: str + """ + Status information about whether chat orchestration is activated or + deactivated for your Amazon Q Business application. + """ + +class OrchestrationControl(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class OutputFormat(UnknownEnumMixin, StrEnum): + RAW = "RAW" + EXTRACTED = "EXTRACTED" + +@dataclass(kw_only=True) +class PermissionCondition(_SerdeShape): + """ + Defines a condition that restricts when a permission is effective. + Conditions allow you to control access based on specific attributes of + the request. + """ + + condition_operator: str + """ + The operator to use for the condition evaluation. This determines how + the condition values are compared. + """ + condition_key: str + """ + The key for the condition. This identifies the attribute that the + condition applies to. + """ + condition_values: list[str] + """The values to compare against using the specified condition operator.""" + +class PermissionConditionOperator(UnknownEnumMixin, StrEnum): + STRING_EQUALS = "StringEquals" + +@dataclass(kw_only=True) +class PersonalizationConfiguration(_SerdeShape): + """ + Configuration information about chat response personalization. For more + information, see [Personalizing chat + responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html). + """ + + personalization_control_mode: str + """ + An option to allow Amazon Q Business to customize chat responses using + user specific metadata---specifically, location and job information---in + your IAM Identity Center instance. + """ + +class PersonalizationControlMode(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class Plugin(_SerdeShape): + """Information about an Amazon Q Business plugin and its configuration.""" + + plugin_id: str | None = ... + """The identifier of the plugin.""" + display_name: str | None = ... + """The name of the plugin.""" + type: str | None = ... + """The type of the plugin.""" + server_url: str | None = ... + """The plugin server URL used for configuration.""" + state: str | None = ... + """The current status of the plugin.""" + build_status: str | None = ... + """The status of the plugin.""" + created_at: datetime | None = ... + """The timestamp for when the plugin was created.""" + updated_at: datetime | None = ... + """The timestamp for when the plugin was last updated.""" + +@dataclass +class PluginAuthConfigurationBasicAuthConfiguration(_SerdeShape): + """ + Information about the basic authentication credentials used to configure + a plugin. + """ + + value: BasicAuthConfiguration + +@dataclass +class PluginAuthConfigurationOAuth2ClientCredentialConfiguration(_SerdeShape): + """ + Information about the OAuth 2.0 authentication credential/token used to + configure a plugin. + """ + + value: OAuth2ClientCredentialConfiguration + +@dataclass +class PluginAuthConfigurationNoAuthConfiguration(_SerdeShape): + """Information about invoking a custom plugin without any authentication.""" + + value: NoAuthConfiguration + +@dataclass +class PluginAuthConfigurationIdcAuthConfiguration(_SerdeShape): + """ + Information about the IAM Identity Center Application used to configure + authentication for a plugin. + """ + + value: IdcAuthConfiguration + +@dataclass +class PluginAuthConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +PluginAuthConfiguration = Union[ + PluginAuthConfigurationBasicAuthConfiguration + | PluginAuthConfigurationOAuth2ClientCredentialConfiguration + | PluginAuthConfigurationNoAuthConfiguration + | PluginAuthConfigurationIdcAuthConfiguration + | PluginAuthConfigurationUnknown +] +""" +Authentication configuration information for an Amazon Q Business +plugin. +""" + +class _PluginAuthConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> PluginAuthConfiguration: ... + +class PluginBuildStatus(UnknownEnumMixin, StrEnum): + READY = "READY" + CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" + CREATE_FAILED = "CREATE_FAILED" + UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" + UPDATE_FAILED = "UPDATE_FAILED" + DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" + DELETE_FAILED = "DELETE_FAILED" + +@dataclass(kw_only=True) +class PluginConfiguration(_SerdeShape): + """ + Configuration information required to invoke chat in `PLUGIN_MODE`. + + For more information, see [Admin controls and + guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html), + [Plugins](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html), + and [Conversation + settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). + """ + + plugin_id: str + """The identifier of the plugin you want to use.""" + +class PluginState(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class PluginType(UnknownEnumMixin, StrEnum): + SERVICE_NOW = "SERVICE_NOW" + SALESFORCE = "SALESFORCE" + JIRA = "JIRA" + ZENDESK = "ZENDESK" + CUSTOM = "CUSTOM" + QUICKSIGHT = "QUICKSIGHT" + SERVICENOW_NOW_PLATFORM = "SERVICENOW_NOW_PLATFORM" + JIRA_CLOUD = "JIRA_CLOUD" + SALESFORCE_CRM = "SALESFORCE_CRM" + ZENDESK_SUITE = "ZENDESK_SUITE" + ATLASSIAN_CONFLUENCE = "ATLASSIAN_CONFLUENCE" + GOOGLE_CALENDAR = "GOOGLE_CALENDAR" + MICROSOFT_TEAMS = "MICROSOFT_TEAMS" + MICROSOFT_EXCHANGE = "MICROSOFT_EXCHANGE" + PAGERDUTY_ADVANCE = "PAGERDUTY_ADVANCE" + SMARTSHEET = "SMARTSHEET" + ASANA = "ASANA" + +class PluginTypeCategory(UnknownEnumMixin, StrEnum): + CRM = "Customer relationship management (CRM)" + PROJECT_MANAGEMENT = "Project management" + COMMUNICATION = "Communication" + PRODUCTIVITY = "Productivity" + TICKETING_MANAGEMENT = "Ticketing and incident management" + +@dataclass(kw_only=True) +class PluginTypeMetadataSummary(_SerdeShape): + """Summary metadata information for a Amazon Q Business plugin.""" + + type: str | None = ... + """The type of the plugin.""" + category: str | None = ... + """The category of the plugin type.""" + description: str | None = ... + """ + The description assigned by Amazon Q Business to a plugin. You can't + modify this value. + """ + +@dataclass +class Principal_User(_SerdeShape): + """The user associated with the principal.""" + + value: PrincipalUser + +@dataclass +class Principal_Group(_SerdeShape): + """The group associated with the principal.""" + + value: PrincipalGroup + +@dataclass +class PrincipalUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +Principal = Union[Principal_User | Principal_Group | PrincipalUnknown] +""" +Provides user and group information used for filtering documents to use +for generating Amazon Q Business conversation responses. +""" + +class _PrincipalDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> Principal: ... + +@dataclass(kw_only=True) +class PrincipalGroup(_SerdeShape): + """Provides information about a group associated with the principal.""" + + name: str | None = ... + """The name of the group.""" + access: str + """ + Provides information about whether to allow or deny access to the + principal. + """ + membership_type: str | None = ... + """The type of group.""" + +@dataclass(kw_only=True) +class PrincipalUser(_SerdeShape): + """Provides information about a user associated with a principal.""" + + id: str | None = ... + """The identifier of the user.""" + access: str + """ + Provides information about whether to allow or deny access to the + principal. + """ + membership_type: str | None = ... + """The type of group.""" + +@dataclass(kw_only=True) +class PutFeedbackInput(_SerdeShape): + """Dataclass for PutFeedbackInput structure.""" + + application_id: str | None = ... + """The identifier of the application associated with the feedback.""" + user_id: str | None = ... + """The identifier of the user giving the feedback.""" + conversation_id: str | None = ... + """The identifier of the conversation the feedback is attached to.""" + message_id: str | None = ... + """The identifier of the chat message that the feedback was given for.""" + message_copied_at: datetime | None = ... + """The timestamp for when the feedback was recorded.""" + message_usefulness: MessageUsefulnessFeedback | None = ... + """The feedback usefulness value given by the user to the chat message.""" + +@dataclass(kw_only=True) +class PutFeedbackOutput(_SerdeShape): + """Dataclass for PutFeedbackOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutGroupInput(_SerdeShape): + """Dataclass for PutGroupInput structure.""" + + application_id: str | None = ... + """ + The identifier of the application in which the user and group mapping + belongs. + """ + index_id: str | None = ... + """ + The identifier of the index in which you want to map users to their + groups. + """ + group_name: str | None = ... + """ + The list that contains your users or sub groups that belong the same + group. For example, the group \"Company\" includes the user \"CEO\" and + the sub groups \"Research\", \"Engineering\", and \"Sales and + Marketing\". + """ + data_source_id: str | None = ... + """ + The identifier of the data source for which you want to map users to + their groups. This is useful if a group is tied to multiple data + sources, but you only want the group to access documents of a certain + data source. For example, the groups \"Research\", \"Engineering\", and + \"Sales and Marketing\" are all tied to the company's documents stored + in the data sources Confluence and Salesforce. However, \"Sales and + Marketing\" team only needs access to customer-related documents stored + in Salesforce. + """ + type: str | None = ... + """The type of the group.""" + group_members: GroupMembers | None = ... + """ + A list of users or sub groups that belong to a group. This is for + generating Amazon Q Business chat results only from document a user has + access to. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role that has access to the S3 + file that contains your list of users that belong to a group. + """ + +@dataclass(kw_only=True) +class PutGroupOutput(_SerdeShape): + """Dataclass for PutGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class QAppsConfiguration(_SerdeShape): + """Configuration information about Amazon Q Apps.""" + + q_apps_control_mode: str + """ + Status information about whether end users can create and use Amazon Q + Apps in the web experience. + """ + +class QAppsControlMode(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class QuickSightConfiguration(_SerdeShape): + """ + The Amazon Quick Suite configuration for an Amazon Q Business + application that uses Quick Suite as the identity provider. For more + information, see [Creating an Amazon Quick Suite integrated + application](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/create-quicksight-integrated-application.html). + """ + + client_namespace: str + """ + The Amazon Quick Suite namespace that is used as the identity provider. + For more information about Quick Suite namespaces, see [Namespace + operations](https://docs.aws.amazon.com/quicksight/latest/developerguide/namespace-operations.html). + """ + +class ReadAccessType(UnknownEnumMixin, StrEnum): + ALLOW = "ALLOW" + DENY = "DENY" + +@dataclass(kw_only=True) +class RelevantContent(_SerdeShape): + """Represents a piece of content that is relevant to a search query.""" + + content: str | None = ... + """The actual content of the relevant item.""" + document_id: str | None = ... + """The unique identifier of the document containing the relevant content.""" + document_title: str | None = ... + """The title of the document containing the relevant content.""" + document_uri: str | None = ... + """The URI of the document containing the relevant content.""" + document_attributes: list[DocumentAttribute] | None = ... + """Additional attributes of the document containing the relevant content.""" + score_attributes: ScoreAttributes | None = ... + """Attributes related to the relevance score of the content.""" + +@dataclass(kw_only=True) +class ResourceNotFoundException(ServiceError, _SerdeShape): + """ + The application or plugin resource you want to use doesn't exist. Make + sure you have provided the correct resource and try again. + """ + + resource_id: str + """The identifier of the resource affected.""" + resource_type: str + """The type of the resource affected.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResponseConfiguration(_SerdeShape): + """ + Configuration settings to define how Amazon Q Business generates and + formats responses to user queries. This includes customization options + for response style, tone, length, and other characteristics. + """ + + instruction_collection: InstructionCollection | None = ... + """ + A collection of instructions that guide how Amazon Q Business generates + responses, including parameters for response length, target audience, + perspective, output style, identity, tone, and custom instructions. + """ + +class ResponseConfigurationType(UnknownEnumMixin, StrEnum): + ALL = "ALL" + +class ResponseScope(UnknownEnumMixin, StrEnum): + ENTERPRISE_CONTENT_ONLY = "ENTERPRISE_CONTENT_ONLY" + EXTENDED_KNOWLEDGE_ENABLED = "EXTENDED_KNOWLEDGE_ENABLED" + +@dataclass(kw_only=True) +class Retriever(_SerdeShape): + """ + Summary information for the retriever used for your Amazon Q Business + application. + """ + + application_id: str | None = ... + """The identifier of the Amazon Q Business application using the retriever.""" + retriever_id: str | None = ... + """ + The identifier of the retriever used by your Amazon Q Business + application. + """ + type: str | None = ... + """The type of your retriever.""" + status: str | None = ... + """The status of your retriever.""" + display_name: str | None = ... + """The name of your retriever.""" + +@dataclass +class RetrieverConfigurationNativeIndexConfiguration(_SerdeShape): + """ + Provides information on how a Amazon Q Business index used as a + retriever for your Amazon Q Business application is configured. + """ + + value: NativeIndexConfiguration + +@dataclass +class RetrieverConfigurationKendraIndexConfiguration(_SerdeShape): + """ + Provides information on how the Amazon Kendra index used as a retriever + for your Amazon Q Business application is configured. + """ + + value: KendraIndexConfiguration + +@dataclass +class RetrieverConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RetrieverConfiguration = Union[ + RetrieverConfigurationNativeIndexConfiguration + | RetrieverConfigurationKendraIndexConfiguration + | RetrieverConfigurationUnknown +] +""" +Provides information on how the retriever used for your Amazon Q +Business application is configured. +""" + +class _RetrieverConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> RetrieverConfiguration: ... + +@dataclass(kw_only=True) +class RetrieverContentSource(_SerdeShape): + """Specifies a retriever as the content source for a search.""" + + retriever_id: str + """The unique identifier of the retriever to use as the content source.""" + +class RetrieverStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + FAILED = "FAILED" + +class RetrieverType(UnknownEnumMixin, StrEnum): + NATIVE_INDEX = "NATIVE_INDEX" + KENDRA_INDEX = "KENDRA_INDEX" + +@dataclass(kw_only=True) +class Rule(_SerdeShape): + """ + Guardrail rules for an Amazon Q Business application. Amazon Q Business + supports only one rule at a time. + """ + + included_users_and_groups: UsersAndGroups | None = ... + """Users and groups to be included in a rule.""" + excluded_users_and_groups: UsersAndGroups | None = ... + """Users and groups to be excluded from a rule.""" + rule_type: str + """The type of rule.""" + rule_configuration: RuleConfiguration | None = ... + """The configuration information for a rule.""" + +@dataclass +class RuleConfigurationContentBlockerRule(_SerdeShape): + """ + A rule for configuring how Amazon Q Business responds when it encounters + a a blocked topic. + """ + + value: ContentBlockerRule + +@dataclass +class RuleConfigurationContentRetrievalRule(_SerdeShape): + """ + Rules for retrieving content from data sources connected to a Amazon Q + Business application for a specific topic control configuration. + """ + + value: ContentRetrievalRule + +@dataclass +class RuleConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +RuleConfiguration = Union[ + RuleConfigurationContentBlockerRule + | RuleConfigurationContentRetrievalRule + | RuleConfigurationUnknown +] +"""Provides configuration information about a rule.""" + +class _RuleConfigurationDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> RuleConfiguration: ... + +class RuleType(UnknownEnumMixin, StrEnum): + CONTENT_BLOCKER_RULE = "CONTENT_BLOCKER_RULE" + CONTENT_RETRIEVAL_RULE = "CONTENT_RETRIEVAL_RULE" + +@dataclass(kw_only=True) +class S3(_SerdeShape): + """ + Information required for Amazon Q Business to find a specific file in an + Amazon S3 bucket. + """ + + bucket: str + """The name of the S3 bucket that contains the file.""" + key: str + """The name of the file.""" + +@dataclass(kw_only=True) +class SamlConfiguration(_SerdeShape): + """ + Provides the SAML 2.0 compliant identity provider (IdP) configuration + information Amazon Q Business needs to deploy a Amazon Q Business web + experience. + """ + + metadata_xml: str + """The metadata XML that your IdP generated.""" + role_arn: str + """ + The Amazon Resource Name (ARN) of an IAM role assumed by users when they + authenticate into their Amazon Q Business web experience, containing the + relevant Amazon Q Business permissions for conversing with Amazon Q + Business. + """ + user_id_attribute: str + """The user attribute name in your IdP that maps to the user email.""" + user_group_attribute: str | None = ... + """The group attribute name in your IdP that maps to user groups.""" + +@dataclass(kw_only=True) +class SamlProviderConfiguration(_SerdeShape): + """ + Information about the SAML 2.0-compliant identity provider (IdP) used to + authenticate end users of an Amazon Q Business web experience. + """ + + authentication_url: str + """ + The URL where Amazon Q Business end users will be redirected for + authentication. + """ + +@dataclass(kw_only=True) +class ScoreAttributes(_SerdeShape): + """Provides information about the relevance score of content.""" + + score_confidence: str | None = ... + """The confidence level of the relevance score.""" + +class ScoreConfidence(UnknownEnumMixin, StrEnum): + VERY_HIGH = "VERY_HIGH" + HIGH = "HIGH" + MEDIUM = "MEDIUM" + LOW = "LOW" + NOT_AVAILABLE = "NOT_AVAILABLE" + +@dataclass(kw_only=True) +class SearchRelevantContentInput(_SerdeShape): + """Dataclass for SearchRelevantContentInput structure.""" + + application_id: str | None = ... + """The unique identifier of the Amazon Q Business application to search.""" + query_text: str | None = ... + """The text to search for.""" + content_source: ContentSource | None = ... + """The source of content to search in.""" + attribute_filter: AttributeFilter | None = ... + """ + Enables filtering of responses based on document attributes or metadata + fields. + """ + max_results: int = ... + """The maximum number of results to return.""" + next_token: str | None = ... + """ + The token for the next set of results. (You received this token from a + previous call.) + """ + +@dataclass(kw_only=True) +class SearchRelevantContentOutput(_SerdeShape): + """Dataclass for SearchRelevantContentOutput structure.""" + + relevant_content: list[RelevantContent] | None = ... + """The list of relevant content items found.""" + next_token: str | None = ... + """The token to use to retrieve the next set of results, if there are any.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ServiceQuotaExceededException(ServiceError, _SerdeShape): + """You have exceeded the set limits for your Amazon Q Business service.""" + + resource_id: str + """The identifier of the resource affected.""" + resource_type: str + """The type of the resource affected.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SnippetExcerpt(_SerdeShape): + """ + Contains the relevant text excerpt from a source that was used to + generate a citation text segment in an Amazon Q Business chat response. + """ + + text: str | None = ... + """ + The relevant text excerpt from a source that was used to generate a + citation text segment in an Amazon Q chat response. + """ + +@dataclass(kw_only=True) +class SourceAttribution(_SerdeShape): + """ + The documents used to generate an Amazon Q Business web experience + response. + """ + + title: str | None = ... + """ + The title of the document which is the source for the Amazon Q Business + generated response. + """ + snippet: str | None = ... + """ + The content extract from the document on which the generated response is + based. + """ + url: str | None = ... + """ + The URL of the document which is the source for the Amazon Q Business + generated response. + """ + citation_number: int | None = ... + """ + The number attached to a citation in an Amazon Q Business generated + response. + """ + updated_at: datetime | None = ... + """ + The Unix timestamp when the Amazon Q Business application was last + updated. + """ + text_message_segments: list[TextSegment] | None = ... + """ + A text extract from a source document that is used for source + attribution. + """ + document_id: str | None = ... + """ + The unique identifier of the source document used in the citation, + obtained from the Amazon Q Business index during chat response + generation. This ID is used as input to the `GetDocumentContent` API to + retrieve the actual document content for user verification. + """ + index_id: str | None = ... + """ + The identifier of the index containing the source document's metadata + and access control information. This links the citation back to the + specific Amazon Q Business index where the document's searchable + content and permissions are stored. + """ + datasource_id: str | None = ... + """ + The identifier of the data source from which the document was ingested. + This field is not present if the document is ingested by directly + calling the BatchPutDocument API (similar to checkDocumentAccess). If + the document is from a file-upload data source, the datasource will be + \"uploaded-docs-file-stat-datasourceid\". + """ + +@dataclass +class SourceDetailsImageSourceDetails(_SerdeShape): + """Details specific to image content within the source.""" + + value: ImageSourceDetails + +@dataclass +class SourceDetailsAudioSourceDetails(_SerdeShape): + """Details specific to audio content within the source.""" + + value: AudioSourceDetails + +@dataclass +class SourceDetailsVideoSourceDetails(_SerdeShape): + """Details specific to video content within the source.""" + + value: VideoSourceDetails + +@dataclass +class SourceDetailsUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +SourceDetails = Union[ + SourceDetailsImageSourceDetails + | SourceDetailsAudioSourceDetails + | SourceDetailsVideoSourceDetails + | SourceDetailsUnknown +] +""" +Container for details about different types of media sources (image, +audio, or video). +""" + +class _SourceDetailsDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> SourceDetails: ... + +@dataclass(kw_only=True) +class StartDataSourceSyncJobInput(_SerdeShape): + """Dataclass for StartDataSourceSyncJobInput structure.""" + + data_source_id: str | None = ... + """The identifier of the data source connector.""" + application_id: str | None = ... + """ + The identifier of Amazon Q Business application the data source is + connected to. + """ + index_id: str | None = ... + """The identifier of the index used with the data source connector.""" + +@dataclass(kw_only=True) +class StartDataSourceSyncJobOutput(_SerdeShape): + """Dataclass for StartDataSourceSyncJobOutput structure.""" + + execution_id: str | None = ... + """The identifier for a particular synchronization job.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class Status(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class StopDataSourceSyncJobInput(_SerdeShape): + """Dataclass for StopDataSourceSyncJobInput structure.""" + + data_source_id: str | None = ... + """The identifier of the data source connector.""" + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application that the data source + is connected to. + """ + index_id: str | None = ... + """ + The identifier of the index used with the Amazon Q Business data source + connector. + """ + +@dataclass(kw_only=True) +class StopDataSourceSyncJobOutput(_SerdeShape): + """Dataclass for StopDataSourceSyncJobOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StringAttributeBoostingConfiguration(_SerdeShape): + """ + Provides information on boosting `STRING` type document attributes. + + Note: + For `STRING` and `STRING_LIST` type document attributes to be used for + boosting on the console and the API, they must be enabled for search + using the + [DocumentAttributeConfiguration](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeConfiguration.html) + object of the + [UpdateIndex](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_UpdateIndex.html) + API. If you haven't enabled searching on these attributes, you can't + boost attributes of these data types on either the console or the API. + + For more information on how boosting document attributes work in Amazon + Q Business, see [Boosting using document + attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). + """ + + boosting_level: str + """ + Specifies the priority tier ranking of boosting applied to document + attributes. For version 2, this parameter indicates the relative ranking + between boosted fields (ONE being highest priority, TWO being second + highest, etc.) and determines the order in which attributes influence + document ranking in search results. For version 1, this parameter + specifies the boosting intensity. For version 2, boosting intensity + (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in + version 2, you are not allowed to boost on only one field and make this + value TWO. + """ + attribute_value_boosting: dict[str, str] | None = ... + """ + Specifies specific values of a `STRING` type document attribute being + boosted. When using `NativeIndexConfiguration` version 2, you can + specify up to five values in order of priority. + """ + +class StringAttributeValueBoostingLevel(UnknownEnumMixin, StrEnum): + LOW = "LOW" + MEDIUM = "MEDIUM" + HIGH = "HIGH" + VERY_HIGH = "VERY_HIGH" + ONE = "ONE" + TWO = "TWO" + THREE = "THREE" + FOUR = "FOUR" + FIVE = "FIVE" + +@dataclass(kw_only=True) +class StringListAttributeBoostingConfiguration(_SerdeShape): + """ + Provides information on boosting `STRING_LIST` type document attributes. + + In the current boosting implementation, boosting focuses primarily on + `DATE` attributes for recency and `STRING` attributes for source + prioritization. `STRING_LIST` attributes can serve as additional + boosting factors when needed, but are not supported when using + `NativeIndexConfiguration` version 2. + + Note: + For `STRING` and `STRING_LIST` type document attributes to be used for + boosting on the console and the API, they must be enabled for search + using the + [DocumentAttributeConfiguration](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeConfiguration.html) + object of the + [UpdateIndex](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_UpdateIndex.html) + API. If you haven't enabled searching on these attributes, you can't + boost attributes of these data types on either the console or the API. + + For more information on how boosting document attributes work in Amazon + Q Business, see [Boosting using document + attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). + """ + + boosting_level: str + """ + Specifies the priority of boosted document attributes in relation to + other boosted attributes. This parameter determines how strongly the + attribute influences document ranking in search results. `STRING_LIST` + attributes can serve as additional boosting factors when needed, but are + not supported when using `NativeIndexConfiguration` version 2. + """ + +@dataclass(kw_only=True) +class Subscription(_SerdeShape): + """ + Information about an Amazon Q Business subscription. + + Subscriptions are used to provide access for an IAM Identity Center user + or a group to an Amazon Q Business application. + + Amazon Q Business offers two subscription tiers: `Q_LITE` and + `Q_BUSINESS`. Subscription tier determines feature access for the user. + For more information on subscriptions and pricing tiers, see [Amazon Q + Business pricing](https://aws.amazon.com/q/business/pricing/). + """ + + subscription_id: str | None = ... + """The identifier of the Amazon Q Business subscription to be updated.""" + subscription_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Q Business subscription + that was updated. + """ + principal: SubscriptionPrincipal | None = ... + """ + The IAM Identity Center `UserId` or `GroupId` of a user or group in the + IAM Identity Center instance connected to the Amazon Q Business + application. + """ + current_subscription: SubscriptionDetails | None = ... + """The type of your current Amazon Q Business subscription.""" + next_subscription: SubscriptionDetails | None = ... + """The type of the Amazon Q Business subscription for the next month.""" + +@dataclass(kw_only=True) +class SubscriptionDetails(_SerdeShape): + """The details of an Amazon Q Business subscription.""" + + type: str | None = ... + """The type of an Amazon Q Business subscription.""" + +@dataclass +class SubscriptionPrincipalUser(_SerdeShape): + """ + The identifier of a user in the IAM Identity Center instance connected + to the Amazon Q Business application. + """ + + value: str + +@dataclass +class SubscriptionPrincipalGroup(_SerdeShape): + """ + The identifier of a group in the IAM Identity Center instance connected + to the Amazon Q Business application. + """ + + value: str + +@dataclass +class SubscriptionPrincipalUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +SubscriptionPrincipal = Union[ + SubscriptionPrincipalUser + | SubscriptionPrincipalGroup + | SubscriptionPrincipalUnknown +] +""" +A user or group in the IAM Identity Center instance connected to the +Amazon Q Business application. +""" + +class _SubscriptionPrincipalDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> SubscriptionPrincipal: ... + +class SubscriptionType(UnknownEnumMixin, StrEnum): + Q_LITE = "Q_LITE" + Q_BUSINESS = "Q_BUSINESS" + +class SystemMessageType(UnknownEnumMixin, StrEnum): + RESPONSE = "RESPONSE" + GROUNDED_RESPONSE = "GROUNDED_RESPONSE" + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """ + A list of key/value pairs that identify an index, FAQ, or data source. + Tag keys and values can consist of Unicode letters, digits, white space, + and any of the following symbols: _ . : / = + - @. + """ + + key: str + """ + The key for the tag. Keys are not case sensitive and must be unique for + the Amazon Q Business application or data source. + """ + value: str + """ + The value associated with the tag. The value may be an empty string but + it can't be null. + """ + +@dataclass(kw_only=True) +class TagResourceInput(_SerdeShape): + """Dataclass for TagResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Q Business application or + data source to tag. + """ + tags: list[Tag] | None = ... + """ + A list of tag keys to add to the Amazon Q Business application or data + source. If a tag already exists, the existing value is replaced with the + new value. + """ + +@dataclass(kw_only=True) +class TagResourceOutput(_SerdeShape): + """Dataclass for TagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TextDocumentStatistics(_SerdeShape): + """Provides information about text documents in an index.""" + + indexed_text_bytes: int | None = ... + """The total size, in bytes, of the indexed documents.""" + indexed_text_document_count: int | None = ... + """The number of text documents indexed.""" + +@dataclass(kw_only=True) +class TextInputEvent(_SerdeShape): + """ + An input event for a end user message in an Amazon Q Business web + experience. + """ + + user_message: str + """A user message in a text message input event.""" + +@dataclass(kw_only=True) +class TextOutputEvent(_SerdeShape): + """ + An output event for an AI-generated response in an Amazon Q Business web + experience. + """ + + system_message_type: str | None = ... + """ + The type of AI-generated message in a `TextOutputEvent`. Amazon Q + Business currently supports two types of messages: + + - `RESPONSE` - The Amazon Q Business system response. + + - `GROUNDED_RESPONSE` - The corrected, hallucination-reduced, response + returned by Amazon Q Business. Available only if hallucination + reduction is supported and configured for the application and detected + in the end user chat query by Amazon Q Business. + """ + conversation_id: str | None = ... + """ + The identifier of the conversation with which the text output event is + associated. + """ + user_message_id: str | None = ... + """The identifier of an end user message in a `TextOutputEvent`.""" + system_message_id: str | None = ... + """The identifier of an AI-generated message in a `TextOutputEvent`.""" + system_message: str | None = ... + """An AI-generated message in a `TextOutputEvent`.""" + +@dataclass(kw_only=True) +class TextSegment(_SerdeShape): + """ + Provides information about a text extract in a chat response that can be + attributed to a source document. + """ + + begin_offset: int | None = ... + """ + The zero-based location in the response string where the source + attribution starts. + """ + end_offset: int | None = ... + """ + The zero-based location in the response string where the source + attribution ends. + """ + snippet_excerpt: SnippetExcerpt | None = ... + """ + The relevant text excerpt from a source that was used to generate a + citation text segment in an Amazon Q Business chat response. + """ + media_id: str | None = ... + """ + The identifier of the media object associated with the text segment in + the source attribution. + """ + media_mime_type: str | None = ... + """ + The MIME type (image/png) of the media object associated with the text + segment in the source attribution. + """ + source_details: SourceDetails | None = ... + """ + Source information for a segment of extracted text, including its media + type. + """ + +@dataclass(kw_only=True) +class ThrottlingException(ServiceError, _SerdeShape): + """ + The request was denied due to throttling. Reduce the number of requests + and try again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TopicConfiguration(_SerdeShape): + """ + The topic specific controls configured for an Amazon Q Business + application. + """ + + name: str + """A name for your topic control configuration.""" + description: str | None = ... + """ + A description for your topic control configuration. Use this to outline + how the large language model (LLM) should use this topic control + configuration. + """ + example_chat_messages: list[str] | None = ... + """ + A list of example phrases that you expect the end user to use in + relation to the topic. + """ + rules: list[Rule] + """Rules defined for a topic configuration.""" + +@dataclass(kw_only=True) +class UntagResourceInput(_SerdeShape): + """Dataclass for UntagResourceInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Q Business application, or + data source to remove the tag from. + """ + tag_keys: list[str] | None = ... + """ + A list of tag keys to remove from the Amazon Q Business application or + data source. If a tag key does not exist on the resource, it is ignored. + """ + +@dataclass(kw_only=True) +class UntagResourceOutput(_SerdeShape): + """Dataclass for UntagResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateApplicationInput(_SerdeShape): + """Dataclass for UpdateApplicationInput structure.""" + + application_id: str | None = ... + """The identifier of the Amazon Q Business application.""" + identity_center_instance_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM Identity Center instance you + are either creating for---or connecting to---your Amazon Q Business + application. + """ + display_name: str | None = ... + """A name for the Amazon Q Business application.""" + description: str | None = ... + """A description for the Amazon Q Business application.""" + role_arn: str | None = ... + """ + An Amazon Web Services Identity and Access Management (IAM) role that + gives Amazon Q Business permission to access Amazon CloudWatch logs and + metrics. + """ + attachments_configuration: AttachmentsConfiguration | None = ... + """An option to allow end users to upload files directly during chat.""" + q_apps_configuration: QAppsConfiguration | None = ... + """ + An option to allow end users to create and use Amazon Q Apps in the web + experience. + """ + personalization_configuration: PersonalizationConfiguration | None = ... + """ + Configuration information about chat response personalization. For more + information, see [Personalizing chat + responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html). + """ + auto_subscription_configuration: AutoSubscriptionConfiguration | None = ... + """ + An option to enable updating the default subscription type assigned to + an Amazon Q Business application using IAM identity federation for user + management. + """ + +@dataclass(kw_only=True) +class UpdateApplicationOutput(_SerdeShape): + """Dataclass for UpdateApplicationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateChatControlsConfigurationInput(_SerdeShape): + """Dataclass for UpdateChatControlsConfigurationInput structure.""" + + application_id: str | None = ... + """ + The identifier of the application for which the chat controls are + configured. + """ + client_token: str | None = ... + """ + A token that you provide to identify the request to update a Amazon Q + Business application chat configuration. + + This field is autopopulated if not provided. + """ + response_scope: str | None = ... + """ + The response scope configured for your application. This determines + whether your application uses its retrieval augmented generation (RAG) + system to generate answers only from your enterprise data, or also uses + the large language models (LLM) knowledge to respons to end user + questions in chat. + """ + orchestration_configuration: OrchestrationConfiguration | None = ... + """The chat response orchestration settings for your application.""" + blocked_phrases_configuration_update: BlockedPhrasesConfigurationUpdate | None = ... + """The phrases blocked from chat by your chat control configuration.""" + topic_configurations_to_create_or_update: list[TopicConfiguration] | None = ... + """The configured topic specific chat controls you want to update.""" + topic_configurations_to_delete: list[TopicConfiguration] | None = ... + """The configured topic specific chat controls you want to delete.""" + creator_mode_configuration: CreatorModeConfiguration | None = ... + """The configuration details for `CREATOR_MODE`.""" + hallucination_reduction_configuration: ( + HallucinationReductionConfiguration | None + ) = ... + """The hallucination reduction settings for your application.""" + +@dataclass(kw_only=True) +class UpdateChatControlsConfigurationOutput(_SerdeShape): + """Dataclass for UpdateChatControlsConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateChatResponseConfigurationInput(_SerdeShape): + """Dataclass for UpdateChatResponseConfigurationInput structure.""" + + application_id: str | None = ... + """ + The unique identifier of the Amazon Q Business application containing + the chat response configuration to update. + """ + chat_response_configuration_id: str | None = ... + """ + The unique identifier of the chat response configuration to update + within the specified application. + """ + display_name: str | None = ... + """ + The new human-readable name to assign to the chat response + configuration, making it easier to identify among multiple + configurations. + """ + response_configurations: dict[str, ResponseConfiguration] | None = ... + """ + The updated collection of response configuration settings that define + how Amazon Q Business generates and formats responses to user queries. + """ + client_token: str | None = ... + """ + A unique, case-sensitive identifier to ensure idempotency of the + request. This helps prevent the same update from being processed + multiple times if retries occur. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class UpdateChatResponseConfigurationOutput(_SerdeShape): + """Dataclass for UpdateChatResponseConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDataAccessorInput(_SerdeShape): + """Dataclass for UpdateDataAccessorInput structure.""" + + application_id: str | None = ... + """The unique identifier of the Amazon Q Business application.""" + data_accessor_id: str | None = ... + """The unique identifier of the data accessor to update.""" + action_configurations: list[ActionConfiguration] | None = ... + """ + The updated list of action configurations specifying the allowed actions + and any associated filters. + """ + authentication_detail: DataAccessorAuthenticationDetail | None = ... + """ + The updated authentication configuration details for the data accessor. + This specifies how the ISV will authenticate when accessing data through + this data accessor. + """ + display_name: str | None = ... + """The updated friendly name for the data accessor.""" + +@dataclass(kw_only=True) +class UpdateDataAccessorOutput(_SerdeShape): + """Dataclass for UpdateDataAccessorOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateDataSourceInput(_SerdeShape): + """Dataclass for UpdateDataSourceInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application the data source is + attached to. + """ + index_id: str | None = ... + """The identifier of the index attached to the data source connector.""" + data_source_id: str | None = ... + """The identifier of the data source connector.""" + display_name: str | None = ... + """A name of the data source connector.""" + configuration: Document | None = ... + """ + Provides the configuration information for an Amazon Q Business data + source. + """ + vpc_configuration: DataSourceVpcConfiguration | None = ... + """ + Provides configuration information needed to connect to an Amazon VPC + (Virtual Private Cloud). + """ + description: str | None = ... + """The description of the data source connector.""" + sync_schedule: str | None = ... + """The chosen update frequency for your data source.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role with permission to access + the data source and required resources. + """ + document_enrichment_configuration: DocumentEnrichmentConfiguration | None = ... + """ + Provides the configuration information for altering document metadata + and content during the document ingestion process. + + For more information, see [Custom document + enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). + """ + media_extraction_configuration: MediaExtractionConfiguration | None = ... + """ + The configuration for extracting information from media in documents for + your data source. + """ + +@dataclass(kw_only=True) +class UpdateDataSourceOutput(_SerdeShape): + """Dataclass for UpdateDataSourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateIndexInput(_SerdeShape): + """Dataclass for UpdateIndexInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application connected to the + index. + """ + index_id: str | None = ... + """The identifier of the Amazon Q Business index.""" + display_name: str | None = ... + """The name of the Amazon Q Business index.""" + description: str | None = ... + """The description of the Amazon Q Business index.""" + capacity_configuration: IndexCapacityConfiguration | None = ... + """ + The storage capacity units you want to provision for your Amazon Q + Business index. You can add and remove capacity to fit your usage needs. + """ + document_attribute_configurations: list[DocumentAttributeConfiguration] | None = ... + """ + Configuration information for document metadata or fields. Document + metadata are fields or attributes associated with your documents. For + example, the company department name associated with each document. For + more information, see [Understanding document + attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes-types.html#doc-attributes). + """ + +@dataclass(kw_only=True) +class UpdateIndexOutput(_SerdeShape): + """Dataclass for UpdateIndexOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdatePluginInput(_SerdeShape): + """Dataclass for UpdatePluginInput structure.""" + + application_id: str | None = ... + """The identifier of the application the plugin is attached to.""" + plugin_id: str | None = ... + """The identifier of the plugin.""" + display_name: str | None = ... + """The name of the plugin.""" + state: str | None = ... + """The status of the plugin.""" + server_url: str | None = ... + """The source URL used for plugin configuration.""" + custom_plugin_configuration: CustomPluginConfiguration | None = ... + """The configuration for a custom plugin.""" + auth_configuration: PluginAuthConfiguration | None = ... + """The authentication configuration the plugin is using.""" + +@dataclass(kw_only=True) +class UpdatePluginOutput(_SerdeShape): + """Dataclass for UpdatePluginOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateRetrieverInput(_SerdeShape): + """Dataclass for UpdateRetrieverInput structure.""" + + application_id: str | None = ... + """The identifier of your Amazon Q Business application.""" + retriever_id: str | None = ... + """The identifier of your retriever.""" + configuration: RetrieverConfiguration | None = ... + """ + Provides information on how the retriever used for your Amazon Q + Business application is configured. + """ + display_name: str | None = ... + """The name of your retriever.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of an IAM role with permission to access + the retriever and required resources. + """ + +@dataclass(kw_only=True) +class UpdateRetrieverOutput(_SerdeShape): + """Dataclass for UpdateRetrieverOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateSubscriptionInput(_SerdeShape): + """Dataclass for UpdateSubscriptionInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application where the + subscription update should take effect. + """ + subscription_id: str | None = ... + """The identifier of the Amazon Q Business subscription to be updated.""" + type: str | None = ... + """The type of the Amazon Q Business subscription to be updated.""" + +@dataclass(kw_only=True) +class UpdateSubscriptionOutput(_SerdeShape): + """Dataclass for UpdateSubscriptionOutput structure.""" + + subscription_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Q Business subscription + that was updated. + """ + current_subscription: SubscriptionDetails | None = ... + """The type of your current Amazon Q Business subscription.""" + next_subscription: SubscriptionDetails | None = ... + """The type of the Amazon Q Business subscription for the next month.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateUserInput(_SerdeShape): + """Dataclass for UpdateUserInput structure.""" + + application_id: str | None = ... + """The identifier of the application the user is attached to.""" + user_id: str | None = ... + """The email id attached to the user.""" + user_aliases_to_update: list[UserAlias] | None = ... + """The user aliases attached to the user id that are to be updated.""" + user_aliases_to_delete: list[UserAlias] | None = ... + """The user aliases attached to the user id that are to be deleted.""" + +@dataclass(kw_only=True) +class UpdateUserOutput(_SerdeShape): + """Dataclass for UpdateUserOutput structure.""" + + user_aliases_added: list[UserAlias] | None = ... + """The user aliases that have been to be added to a user id.""" + user_aliases_updated: list[UserAlias] | None = ... + """The user aliases attached to a user id that have been updated.""" + user_aliases_deleted: list[UserAlias] | None = ... + """The user aliases that have been deleted from a user id.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateWebExperienceInput(_SerdeShape): + """Dataclass for UpdateWebExperienceInput structure.""" + + application_id: str | None = ... + """ + The identifier of the Amazon Q Business application attached to the web + experience. + """ + web_experience_id: str | None = ... + """The identifier of the Amazon Q Business web experience.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the role with permission to access the + Amazon Q Business web experience and required resources. + """ + authentication_configuration: WebExperienceAuthConfiguration | None = ... + """ + The authentication configuration of the Amazon Q Business web + experience. + """ + title: str | None = ... + """The title of the Amazon Q Business web experience.""" + subtitle: str | None = ... + """The subtitle of the Amazon Q Business web experience.""" + welcome_message: str | None = ... + """ + A customized welcome message for an end user in an Amazon Q Business web + experience. + """ + sample_prompts_control_mode: str | None = ... + """ + Determines whether sample prompts are enabled in the web experience for + an end user. + """ + identity_provider_configuration: IdentityProviderConfiguration | None = ... + """ + Information about the identity provider (IdP) used to authenticate end + users of an Amazon Q Business web experience. + """ + origins: list[str] | None = ... + """ + Updates the website domain origins that are allowed to embed the Amazon + Q Business web experience. The *domain origin* refers to the *base URL* + for accessing a website including the protocol (`http/https`), the + domain name, and the port number (if specified). + + Note: + - Any values except `null` submitted as part of this update will replace + all previous values. + + - You must only submit a *base URL* and not a full path. For example, + `https://docs.aws.amazon.com`. + """ + browser_extension_configuration: BrowserExtensionConfiguration | None = ... + """ + The browser extension configuration for an Amazon Q Business web + experience. + + Note: + For Amazon Q Business application using external OIDC-compliant identity + providers (IdPs). The IdP administrator must add the browser extension + sign-in redirect URLs to the IdP application. For more information, see + [Configure external OIDC identity provider for your browser + extensions.](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/browser-extensions.html). + """ + customization_configuration: CustomizationConfiguration | None = ... + """ + Updates the custom logo, favicon, font, and color used in the Amazon Q + web experience. + """ + +@dataclass(kw_only=True) +class UpdateWebExperienceOutput(_SerdeShape): + """Dataclass for UpdateWebExperienceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UserAlias(_SerdeShape): + """Aliases attached to a user id within an Amazon Q Business application.""" + + index_id: str | None = ... + """The identifier of the index that the user aliases are associated with.""" + data_source_id: str | None = ... + """ + The identifier of the data source that the user aliases are associated + with. + """ + user_id: str + """The identifier of the user id associated with the user aliases.""" + +@dataclass(kw_only=True) +class UsersAndGroups(_SerdeShape): + """ + Provides information about users and group names associated with a topic + control rule. + """ + + user_ids: list[str] | None = ... + """The user ids associated with a topic control rule.""" + user_groups: list[str] | None = ... + """The user group names associated with a topic control rule.""" + +@dataclass(kw_only=True) +class ValidationException(ServiceError, _SerdeShape): + """ + The input doesn't meet the constraints set by the Amazon Q Business + service. Provide the correct input and try again. + """ + + reason: str + """The reason for the `ValidationException`.""" + fields: list[ValidationExceptionField] | None = ... + """The input field(s) that failed validation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ValidationExceptionField(_SerdeShape): + """ + The input failed to meet the constraints specified by Amazon Q Business + in a specified field. + """ + + name: str + """The field name where the invalid entry was detected.""" + message: str + """A message about the validation exception.""" + +class ValidationExceptionReason(UnknownEnumMixin, StrEnum): + CANNOT_PARSE = "CANNOT_PARSE" + FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED" + UNKNOWN_OPERATION = "UNKNOWN_OPERATION" + +@dataclass(kw_only=True) +class VideoExtractionConfiguration(_SerdeShape): + """Configuration settings for video content extraction and processing.""" + + video_extraction_status: str + """ + The status of video extraction (ENABLED or DISABLED) for processing + video content from files. + """ + +class VideoExtractionStatus(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class VideoExtractionType(UnknownEnumMixin, StrEnum): + TRANSCRIPT = "TRANSCRIPT" + SUMMARY = "SUMMARY" + +@dataclass(kw_only=True) +class VideoSourceDetails(_SerdeShape): + """ + Details about a video source, including its identifier, format, and time + information. + """ + + media_id: str | None = ... + """Unique identifier for the video media file.""" + media_mime_type: str | None = ... + """The MIME type of the video file (e.g., video/mp4, video/avi).""" + start_time_milliseconds: int | None = ... + """The starting timestamp in milliseconds for the relevant video segment.""" + end_time_milliseconds: int | None = ... + """The ending timestamp in milliseconds for the relevant video segment.""" + video_extraction_type: str | None = ... + """The type of video extraction performed on the content.""" + +@dataclass(kw_only=True) +class WebExperience(_SerdeShape): + """Provides information for an Amazon Q Business web experience.""" + + web_experience_id: str | None = ... + """The identifier of your Amazon Q Business web experience.""" + created_at: datetime | None = ... + """ + The Unix timestamp when the Amazon Q Business application was last + updated. + """ + updated_at: datetime | None = ... + """ + The Unix timestamp when your Amazon Q Business web experience was + updated. + """ + default_endpoint: str | None = ... + """ + The endpoint URLs for your Amazon Q Business web experience. The URLs + are unique and fully hosted by Amazon Web Services. + """ + status: str | None = ... + """The status of your Amazon Q Business web experience.""" + +@dataclass +class WebExperienceAuthConfigurationSamlConfiguration(_SerdeShape): + """ + Provides the SAML 2.0 compliant identity provider (IdP) configuration + information Amazon Q Business needs to deploy a Amazon Q Business web + experience. + """ + + value: SamlConfiguration + +@dataclass +class WebExperienceAuthConfigurationUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +WebExperienceAuthConfiguration = Union[ + WebExperienceAuthConfigurationSamlConfiguration + | WebExperienceAuthConfigurationUnknown +] +""" +Provides the authorization configuration information needed to deploy a +Amazon Q Business web experience to end users. +""" + +class _WebExperienceAuthConfigurationDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> WebExperienceAuthConfiguration: ... + +class WebExperienceSamplePromptsControlMode(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class WebExperienceStatus(UnknownEnumMixin, StrEnum): + CREATING = "CREATING" + ACTIVE = "ACTIVE" + DELETING = "DELETING" + FAILED = "FAILED" + PENDING_AUTH_CONFIG = "PENDING_AUTH_CONFIG" diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas.py index 5fdc910cd..886eedf78 100644 --- a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas.py +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas.py @@ -1,8117 +1,720 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.qbusiness" -_MR = "MemberRelation" -_AND = "AND" -_sV = "smithy.api#enumValue" -_OR = "OR" -_RAT = "ReadAccessType" -_ALLOW = "ALLOW" -_DENY = "DENY" -_MT = "MembershipType" -_INDEX = "INDEX" -_DATASOURCE = "DATASOURCE" -_GN = "GroupName" -_PG = "PrincipalGroup" -_n = "name" -_a = "access" -_s = "smithy.api#required" -_mT = "membershipType" -_UI = "UserId" -_PU = "PrincipalUser" -_i = "id" -_P = "Principal" -_u = "user" -_g = "group" -_Pr = "Principals" -_m = "member" -_AC = "AccessControl" -_p = "principals" -_mR = "memberRelation" -_ACc = "AccessControls" -_ACcc = "AccessConfiguration" -_aC = "accessControls" -_EM = "ErrorMessage" -_ADE = "AccessDeniedException" -_sm = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_me = "message" -_QIA = "QIamAction" -_DAK = "DocumentAttributeKey" -_T = "Timestamp" -_L = "Long" -_S = "String" -_DASLV = "DocumentAttributeStringListValue" -_DASV = "DocumentAttributeStringValue" -_DAV = "DocumentAttributeValue" -_sVt = "stringValue" -_sLV = "stringListValue" -_lV = "longValue" -_dV = "dateValue" -_DA = "DocumentAttribute" -_v = "value" -_APFK = "ActionPayloadFieldKey" -_APFV = "ActionPayloadFieldValue" -_AEPF = "ActionExecutionPayloadField" -_AEP = "ActionExecutionPayload" -_k = "key" -_APFNS = "ActionPayloadFieldNameSeparator" -_PI = "PluginId" -_AE = "ActionExecution" -_pI = "pluginId" -_pa = "payload" -_pFNS = "payloadFieldNameSeparator" -_AEE = "ActionExecutionEvent" -_APFT = "ActionPayloadFieldType" -_STRING = "STRING" -_NUMBER = "NUMBER" -_ARRAY = "ARRAY" -_BOOLEAN = "BOOLEAN" -_ARPFAV = "ActionReviewPayloadFieldAllowedValue" -_dVi = "displayValue" -_ARPFAVc = "ActionReviewPayloadFieldAllowedValues" -_ARPFAIJS = "ActionReviewPayloadFieldArrayItemJsonSchema" -_I = "Integer" -_ARPF = "ActionReviewPayloadField" -_dN = "displayName" -_dO = "displayOrder" -_dD = "displayDescription" -_t = "type" -_aV = "allowedValues" -_aF = "allowedFormat" -_aIJS = "arrayItemJsonSchema" -_r = "required" -_ARP = "ActionReviewPayload" -_PT = "PluginType" -_SN = "SERVICE_NOW" -_SALESFORCE = "SALESFORCE" -_JIRA = "JIRA" -_ZENDESK = "ZENDESK" -_CUSTOM = "CUSTOM" -_QUICKSIGHT = "QUICKSIGHT" -_SNP = "SERVICENOW_NOW_PLATFORM" -_JC = "JIRA_CLOUD" -_SC = "SALESFORCE_CRM" -_ZS = "ZENDESK_SUITE" -_AC_ = "ATLASSIAN_CONFLUENCE" -_GC = "GOOGLE_CALENDAR" -_MT_ = "MICROSOFT_TEAMS" -_ME = "MICROSOFT_EXCHANGE" -_PA = "PAGERDUTY_ADVANCE" -_SMARTSHEET = "SMARTSHEET" -_ASANA = "ASANA" -_AR = "ActionReview" -_pT = "pluginType" -_CI = "ConversationId" -_MI = "MessageId" -_ARE = "ActionReviewEvent" -_cI = "conversationId" -_uMI = "userMessageId" -_sMI = "systemMessageId" -_AS = "ActionSummary" -_aI = "actionIdentifier" -_iE = "instructionExample" -_d = "description" -_A = "Actions" -_ARN = "AmazonResourceName" -_Pa = "Payload" -_smi = "smithy.api#sensitive" -_SBN = "S3BucketName" -_SOK = "S3ObjectKey" -_S_ = "S3" -_b = "bucket" -_APIS = "APISchema" -_s_ = "s3" -_APIST = "APISchemaType" -_OAV = "OPEN_API_V3" -_AI = "ApplicationId" -_AN = "ApplicationName" -_IT = "IdentityType" -_AIIS = "AWS_IAM_IDP_SAML" -_AIIO = "AWS_IAM_IDP_OIDC" -_AII = "AWS_IAM_IDC" -_AQI = "AWS_QUICKSIGHT_IDP" -_ANONYMOUS = "ANONYMOUS" -_CN = "ClientNamespace" -_QSC = "QuickSightConfiguration" -_cN = "clientNamespace" -_ASp = "ApplicationStatus" -_CREATING = "CREATING" -_ACTIVE = "ACTIVE" -_DELETING = "DELETING" -_FAILED = "FAILED" -_UPDATING = "UPDATING" -_Ap = "Application" -_aIp = "applicationId" -_cA = "createdAt" -_uA = "updatedAt" -_st = "status" -_iT = "identityType" -_qSC = "quickSightConfiguration" -_AA = "ApplicationArn" -_CE = "ConflictException" -_rI = "resourceId" -_rT = "resourceType" -_ACM = "AttachmentsControlMode" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_ACt = "AttachmentsConfiguration" -_aCM = "attachmentsControlMode" -_CIFOIDC = "ClientIdForOIDC" -_CIFOIDCl = "ClientIdsForOIDC" -_CT = "ClientToken" -_D = "Description" -_KKI = "KmsKeyId" -_EC = "EncryptionConfiguration" -_kKI = "kmsKeyId" -_IAMIPA = "IAMIdentityProviderArn" -_IA = "InstanceArn" -_PCM = "PersonalizationControlMode" -_PC = "PersonalizationConfiguration" -_pCM = "personalizationControlMode" -_QACM = "QAppsControlMode" -_QAC = "QAppsConfiguration" -_qACM = "qAppsControlMode" -_RA = "RoleArn" -_TK = "TagKey" -_TV = "TagValue" -_Ta = "Tag" -_Tag = "Tags" -_CAI = "CreateApplicationInput" -_sSI = "smithy.synthetic#originalShapeId" -_cCAR = "com.amazonaws.qbusiness#CreateApplicationRequest" -_smit = "smithy.api#input" -_rA = "roleArn" -_iIPA = "iamIdentityProviderArn" -_iCIA = "identityCenterInstanceArn" -_cIFOIDC = "clientIdsForOIDC" -_eC = "encryptionConfiguration" -_ta = "tags" -_cT = "clientToken" -_sT = "smithy.api#idempotencyToken" -_aCt = "attachmentsConfiguration" -_qAC = "qAppsConfiguration" -_pC = "personalizationConfiguration" -_CAO = "CreateApplicationOutput" -_cCARo = "com.amazonaws.qbusiness#CreateApplicationResponse" -_smith = "smithy.api#output" -_aA = "applicationArn" -_ISE = "InternalServerException" -_se = "server" -_RNFE = "ResourceNotFoundException" -_SQEE = "ServiceQuotaExceededException" -_TE = "ThrottlingException" -_VEF = "ValidationExceptionField" -_VEFa = "ValidationExceptionFields" -_VER = "ValidationExceptionReason" -_CP = "CANNOT_PARSE" -_FVF = "FIELD_VALIDATION_FAILED" -_UO = "UNKNOWN_OPERATION" -_VE = "ValidationException" -_re = "reason" -_f = "fields" -_CA = "CreateApplication" -_smithy = "smithy.api#http" -_ITTIA = "IdcTrustedTokenIssuerArn" -_DAITTIC = "DataAccessorIdcTrustedTokenIssuerConfiguration" -_iTTIA = "idcTrustedTokenIssuerArn" -_DAAC = "DataAccessorAuthenticationConfiguration" -_iTTIC = "idcTrustedTokenIssuerConfiguration" -_DAAT = "DataAccessorAuthenticationType" -_AIIT = "AWS_IAM_IDC_TTI" -_AIIAC = "AWS_IAM_IDC_AUTH_CODE" -_DAEI = "DataAccessorExternalId" -_DAEIa = "DataAccessorExternalIds" -_DAAD = "DataAccessorAuthenticationDetail" -_aT = "authenticationType" -_aCu = "authenticationConfiguration" -_eI = "externalIds" -_DAN = "DataAccessorName" -_PRA = "PrincipalRoleArn" -_DAA = "DataAccessorArn" -_DAI = "DataAccessorId" -_IAA = "IdcApplicationArn" -_CDAO = "CreateDataAccessorOutput" -_cCDAR = "com.amazonaws.qbusiness#CreateDataAccessorResponse" -_dAI = "dataAccessorId" -_iAA = "idcApplicationArn" -_dAA = "dataAccessorArn" -_DDAI = "DeleteDataAccessorInput" -_cDDAR = "com.amazonaws.qbusiness#DeleteDataAccessorRequest" -_sL = "smithy.api#httpLabel" -_DDAO = "DeleteDataAccessorOutput" -_cDDARo = "com.amazonaws.qbusiness#DeleteDataAccessorResponse" -_DDA = "DeleteDataAccessor" -_GDAI = "GetDataAccessorInput" -_cGDAR = "com.amazonaws.qbusiness#GetDataAccessorRequest" -_MRIFLDA = "MaxResultsIntegerForListDataAccessors" -_NT = "NextToken1500" -_LDAI = "ListDataAccessorsInput" -_cLDAR = "com.amazonaws.qbusiness#ListDataAccessorsRequest" -_nT = "nextToken" -_sQ = "smithy.api#httpQuery" -_mRa = "maxResults" -_DAa = "DataAccessor" -_pr = "principal" -_aD = "authenticationDetail" -_DAat = "DataAccessors" -_LDAO = "ListDataAccessorsOutput" -_cLDARo = "com.amazonaws.qbusiness#ListDataAccessorsResponse" -_dA = "dataAccessors" -_LDA = "ListDataAccessors" -_UDAO = "UpdateDataAccessorOutput" -_cUDAR = "com.amazonaws.qbusiness#UpdateDataAccessorResponse" -_DAIe = "DeleteApplicationInput" -_cDAR = "com.amazonaws.qbusiness#DeleteApplicationRequest" -_DAO = "DeleteApplicationOutput" -_cDARo = "com.amazonaws.qbusiness#DeleteApplicationResponse" -_DAe = "DeleteApplication" -_GAI = "GetApplicationInput" -_cGAR = "com.amazonaws.qbusiness#GetApplicationRequest" -_AAC = "AppliedAttachmentsConfiguration" -_ASS = "AutoSubscriptionStatus" -_ST = "SubscriptionType" -_QL = "Q_LITE" -_QB = "Q_BUSINESS" -_ASC = "AutoSubscriptionConfiguration" -_aS = "autoSubscribe" -_dST = "defaultSubscriptionType" -_ECr = "ErrorCode" -_IE = "INTERNAL_ERROR" -_IEn = "InternalError" -_IR = "INVALID_REQUEST" -_IRn = "InvalidRequest" -_RI = "RESOURCE_INACTIVE" -_RIe = "ResourceInactive" -_RNF = "RESOURCE_NOT_FOUND" -_RNFe = "ResourceNotFound" -_ED = "ErrorDetail" -_eM = "errorMessage" -_eCr = "errorCode" -_GAO = "GetApplicationOutput" -_cGARo = "com.amazonaws.qbusiness#GetApplicationResponse" -_iCAA = "identityCenterApplicationArn" -_e = "error" -_aSC = "autoSubscriptionConfiguration" -_GA = "GetApplication" -_ICI = "IndexCapacityInteger" -_ICC = "IndexCapacityConfiguration" -_un = "units" -_IN = "IndexName" -_ITn = "IndexType" -_ENTERPRISE = "ENTERPRISE" -_STARTER = "STARTER" -_CII = "CreateIndexInput" -_cCIR = "com.amazonaws.qbusiness#CreateIndexRequest" -_cC = "capacityConfiguration" -_IAn = "IndexArn" -_II = "IndexId" -_CIO = "CreateIndexOutput" -_cCIRo = "com.amazonaws.qbusiness#CreateIndexResponse" -_iI = "indexId" -_iA = "indexArn" -_CIr = "CreateIndex" -_DSC = "DataSourceConfiguration" -_DSN = "DataSourceName" -_DECO = "DocumentEnrichmentConditionOperator" -_GT = "GREATER_THAN" -_GTOE = "GREATER_THAN_OR_EQUALS" -_LT = "LESS_THAN" -_LTOE = "LESS_THAN_OR_EQUALS" -_EQUALS = "EQUALS" -_NE = "NOT_EQUALS" -_CONTAINS = "CONTAINS" -_NC = "NOT_CONTAINS" -_EXISTS = "EXISTS" -_NE_ = "NOT_EXISTS" -_BW = "BEGINS_WITH" -_DAC = "DocumentAttributeCondition" -_o = "operator" -_DCO = "DocumentContentOperator" -_DELETE = "DELETE" -_AVO = "AttributeValueOperator" -_DAT = "DocumentAttributeTarget" -_aVO = "attributeValueOperator" -_IDEC = "InlineDocumentEnrichmentConfiguration" -_co = "condition" -_tar = "target" -_dCO = "documentContentOperator" -_IDECn = "InlineDocumentEnrichmentConfigurations" -_LA = "LambdaArn" -_HC = "HookConfiguration" -_iC = "invocationCondition" -_lA = "lambdaArn" -_sBN = "s3BucketName" -_DEC = "DocumentEnrichmentConfiguration" -_iCn = "inlineConfigurations" -_pEHC = "preExtractionHookConfiguration" -_pEHCo = "postExtractionHookConfiguration" -_AES = "AudioExtractionStatus" -_AEC = "AudioExtractionConfiguration" -_aES = "audioExtractionStatus" -_IES = "ImageExtractionStatus" -_IEC = "ImageExtractionConfiguration" -_iES = "imageExtractionStatus" -_VES = "VideoExtractionStatus" -_VEC = "VideoExtractionConfiguration" -_vES = "videoExtractionStatus" -_MEC = "MediaExtractionConfiguration" -_iEC = "imageExtractionConfiguration" -_aEC = "audioExtractionConfiguration" -_vEC = "videoExtractionConfiguration" -_SS = "SyncSchedule" -_SGI = "SecurityGroupId" -_SGIe = "SecurityGroupIds" -_SI = "SubnetId" -_SIu = "SubnetIds" -_DSVC = "DataSourceVpcConfiguration" -_sI = "subnetIds" -_sGI = "securityGroupIds" -_CDSI = "CreateDataSourceInput" -_cCDSR = "com.amazonaws.qbusiness#CreateDataSourceRequest" -_con = "configuration" -_vC = "vpcConfiguration" -_sS = "syncSchedule" -_dEC = "documentEnrichmentConfiguration" -_mEC = "mediaExtractionConfiguration" -_DSA = "DataSourceArn" -_DSI = "DataSourceId" -_CDSO = "CreateDataSourceOutput" -_cCDSRo = "com.amazonaws.qbusiness#CreateDataSourceResponse" -_dSI = "dataSourceId" -_dSA = "dataSourceArn" -_CDS = "CreateDataSource" -_DDSI = "DeleteDataSourceInput" -_cDDSR = "com.amazonaws.qbusiness#DeleteDataSourceRequest" -_DDSO = "DeleteDataSourceOutput" -_cDDSRo = "com.amazonaws.qbusiness#DeleteDataSourceResponse" -_DDS = "DeleteDataSource" -_GDSI = "GetDataSourceInput" -_cGDSR = "com.amazonaws.qbusiness#GetDataSourceRequest" -_DSS = "DataSourceStatus" -_PC_ = "PENDING_CREATION" -_GDSO = "GetDataSourceOutput" -_cGDSRo = "com.amazonaws.qbusiness#GetDataSourceResponse" -_GDS = "GetDataSource" -_MRIFLDS = "MaxResultsIntegerForListDataSources" -_NTe = "NextToken" -_LDSI = "ListDataSourcesInput" -_cLDSR = "com.amazonaws.qbusiness#ListDataSourcesRequest" -_DS = "DataSource" -_DSa = "DataSources" -_LDSO = "ListDataSourcesOutput" -_cLDSRo = "com.amazonaws.qbusiness#ListDataSourcesResponse" -_dS = "dataSources" -_LDS = "ListDataSources" -_UDSI = "UpdateDataSourceInput" -_cUDSR = "com.amazonaws.qbusiness#UpdateDataSourceRequest" -_UDSO = "UpdateDataSourceOutput" -_cUDSRo = "com.amazonaws.qbusiness#UpdateDataSourceResponse" -_UDS = "UpdateDataSource" -_DII = "DeleteIndexInput" -_cDIR = "com.amazonaws.qbusiness#DeleteIndexRequest" -_DIO = "DeleteIndexOutput" -_cDIRo = "com.amazonaws.qbusiness#DeleteIndexResponse" -_DI = "DeleteIndex" -_GII = "GetIndexInput" -_cGIR = "com.amazonaws.qbusiness#GetIndexRequest" -_DMCN = "DocumentMetadataConfigurationName" -_St = "Status" -_AT = "AttributeType" -_SL = "STRING_LIST" -_DATE = "DATE" -_DACo = "DocumentAttributeConfiguration" -_sea = "search" -_DACoc = "DocumentAttributeConfigurations" -_ITB = "IndexedTextBytes" -_ITD = "IndexedTextDocument" -_TDS = "TextDocumentStatistics" -_iTB = "indexedTextBytes" -_iTDC = "indexedTextDocumentCount" -_IS = "IndexStatistics" -_tDS = "textDocumentStatistics" -_ISn = "IndexStatus" -_GIO = "GetIndexOutput" -_cGIRo = "com.amazonaws.qbusiness#GetIndexResponse" -_dAC = "documentAttributeConfigurations" -_iS = "indexStatistics" -_GI = "GetIndex" -_MRIFLI = "MaxResultsIntegerForListIndices" -_LII = "ListIndicesInput" -_cLIR = "com.amazonaws.qbusiness#ListIndicesRequest" -_In = "Index" -_Ind = "Indices" -_LIO = "ListIndicesOutput" -_cLIRo = "com.amazonaws.qbusiness#ListIndicesResponse" -_in = "indices" -_LI = "ListIndices" -_UII = "UpdateIndexInput" -_cUIR = "com.amazonaws.qbusiness#UpdateIndexRequest" -_UIO = "UpdateIndexOutput" -_cUIRo = "com.amazonaws.qbusiness#UpdateIndexResponse" -_UIp = "UpdateIndex" -_IIn = "IntegrationId" -_MRIFLA = "MaxResultsIntegerForListApplications" -_LAI = "ListApplicationsInput" -_cLAR = "com.amazonaws.qbusiness#ListApplicationsRequest" -_App = "Applications" -_LAO = "ListApplicationsOutput" -_cLARo = "com.amazonaws.qbusiness#ListApplicationsResponse" -_ap = "applications" -_LAi = "ListApplications" -_SA = "SecretArn" -_BAC = "BasicAuthConfiguration" -_sA = "secretArn" -_IAC = "IdcAuthConfiguration" -_NAC = "NoAuthConfiguration" -_U = "Url" -_OACCC = "OAuth2ClientCredentialConfiguration" -_aU = "authorizationUrl" -_tU = "tokenUrl" -_PAC = "PluginAuthConfiguration" -_bAC = "basicAuthConfiguration" -_oACCC = "oAuth2ClientCredentialConfiguration" -_nAC = "noAuthConfiguration" -_iAC = "idcAuthConfiguration" -_PD = "PluginDescription" -_CPC = "CustomPluginConfiguration" -_aST = "apiSchemaType" -_aSp = "apiSchema" -_PN = "PluginName" -_CPI = "CreatePluginInput" -_cCPR = "com.amazonaws.qbusiness#CreatePluginRequest" -_aCut = "authConfiguration" -_sU = "serverUrl" -_cPC = "customPluginConfiguration" -_PBS = "PluginBuildStatus" -_READY = "READY" -_CIP = "CREATE_IN_PROGRESS" -_CF = "CREATE_FAILED" -_UIP = "UPDATE_IN_PROGRESS" -_UF = "UPDATE_FAILED" -_DIP = "DELETE_IN_PROGRESS" -_DF = "DELETE_FAILED" -_PAl = "PluginArn" -_CPO = "CreatePluginOutput" -_cCPRo = "com.amazonaws.qbusiness#CreatePluginResponse" -_pA = "pluginArn" -_bS = "buildStatus" -_CPr = "CreatePlugin" -_DPI = "DeletePluginInput" -_cDPR = "com.amazonaws.qbusiness#DeletePluginRequest" -_DPO = "DeletePluginOutput" -_cDPRo = "com.amazonaws.qbusiness#DeletePluginResponse" -_DP = "DeletePlugin" -_GPI = "GetPluginInput" -_cGPR = "com.amazonaws.qbusiness#GetPluginRequest" -_PS = "PluginState" -_GPO = "GetPluginOutput" -_cGPRo = "com.amazonaws.qbusiness#GetPluginResponse" -_sta = "state" -_GP = "GetPlugin" -_MRIFLP = "MaxResultsIntegerForListPlugins" -_LPI = "ListPluginsInput" -_cLPR = "com.amazonaws.qbusiness#ListPluginsRequest" -_Pl = "Plugin" -_Plu = "Plugins" -_LPO = "ListPluginsOutput" -_cLPRo = "com.amazonaws.qbusiness#ListPluginsResponse" -_pl = "plugins" -_LP = "ListPlugins" -_UPI = "UpdatePluginInput" -_cUPR = "com.amazonaws.qbusiness#UpdatePluginRequest" -_UPO = "UpdatePluginOutput" -_cUPRo = "com.amazonaws.qbusiness#UpdatePluginResponse" -_UP = "UpdatePlugin" -_KII = "KendraIndexId" -_KIC = "KendraIndexConfiguration" -_BDIS = "BoostingDurationInSeconds" -_DABL = "DocumentAttributeBoostingLevel" -_NONE = "NONE" -_LOW = "LOW" -_MEDIUM = "MEDIUM" -_HIGH = "HIGH" -_VH = "VERY_HIGH" -_ONE = "ONE" -_TWO = "TWO" -_DABC = "DateAttributeBoostingConfiguration" -_bL = "boostingLevel" -_bDIS = "boostingDurationInSeconds" -_NABT = "NumberAttributeBoostingType" -_PLV = "PRIORITIZE_LARGER_VALUES" -_PSV = "PRIORITIZE_SMALLER_VALUES" -_NABC = "NumberAttributeBoostingConfiguration" -_bT = "boostingType" -_SAVBL = "StringAttributeValueBoostingLevel" -_THREE = "THREE" -_FOUR = "FOUR" -_FIVE = "FIVE" -_SAVB = "StringAttributeValueBoosting" -_SABC = "StringAttributeBoostingConfiguration" -_aVB = "attributeValueBoosting" -_SLABC = "StringListAttributeBoostingConfiguration" -_DABCo = "DocumentAttributeBoostingConfiguration" -_nC = "numberConfiguration" -_sC = "stringConfiguration" -_dC = "dateConfiguration" -_sLC = "stringListConfiguration" -_DABOM = "DocumentAttributeBoostingOverrideMap" -_NIC = "NativeIndexConfiguration" -_ve = "version" -_bO = "boostingOverride" -_RC = "RetrieverConfiguration" -_nIC = "nativeIndexConfiguration" -_kIC = "kendraIndexConfiguration" -_RN = "RetrieverName" -_RT = "RetrieverType" -_NI = "NATIVE_INDEX" -_KI = "KENDRA_INDEX" -_CRI = "CreateRetrieverInput" -_cCRR = "com.amazonaws.qbusiness#CreateRetrieverRequest" -_RAe = "RetrieverArn" -_RIet = "RetrieverId" -_CRO = "CreateRetrieverOutput" -_cCRRo = "com.amazonaws.qbusiness#CreateRetrieverResponse" -_rIe = "retrieverId" -_rAe = "retrieverArn" -_CR = "CreateRetriever" -_DRI = "DeleteRetrieverInput" -_cDRR = "com.amazonaws.qbusiness#DeleteRetrieverRequest" -_DRO = "DeleteRetrieverOutput" -_cDRRo = "com.amazonaws.qbusiness#DeleteRetrieverResponse" -_DR = "DeleteRetriever" -_GRI = "GetRetrieverInput" -_cGRR = "com.amazonaws.qbusiness#GetRetrieverRequest" -_RS = "RetrieverStatus" -_GRO = "GetRetrieverOutput" -_cGRRo = "com.amazonaws.qbusiness#GetRetrieverResponse" -_GR = "GetRetriever" -_MRIFLRR = "MaxResultsIntegerForListRetrieversRequest" -_LRI = "ListRetrieversInput" -_cLRR = "com.amazonaws.qbusiness#ListRetrieversRequest" -_R = "Retriever" -_Re = "Retrievers" -_LRO = "ListRetrieversOutput" -_cLRRo = "com.amazonaws.qbusiness#ListRetrieversResponse" -_ret = "retrievers" -_LR = "ListRetrievers" -_URI = "UpdateRetrieverInput" -_cURR = "com.amazonaws.qbusiness#UpdateRetrieverRequest" -_URO = "UpdateRetrieverOutput" -_cURRo = "com.amazonaws.qbusiness#UpdateRetrieverResponse" -_UR = "UpdateRetriever" -_UAI = "UpdateApplicationInput" -_cUAR = "com.amazonaws.qbusiness#UpdateApplicationRequest" -_UAO = "UpdateApplicationOutput" -_cUARo = "com.amazonaws.qbusiness#UpdateApplicationResponse" -_UA = "UpdateApplication" -_BE = "BrowserExtension" -_BEL = "BrowserExtensionList" -_BEC = "BrowserExtensionConfiguration" -_eBE = "enabledBrowserExtensions" -_CCSSU = "CustomCSSUrl" -_FU = "FaviconUrl" -_FUo = "FontUrl" -_LU = "LogoUrl" -_CC = "CustomizationConfiguration" -_cCSSU = "customCSSUrl" -_lU = "logoUrl" -_fU = "fontUrl" -_fUa = "faviconUrl" -_OIDCPC = "OpenIDConnectProviderConfiguration" -_sAe = "secretsArn" -_sR = "secretsRole" -_SAU = "SamlAuthenticationUrl" -_SPC = "SamlProviderConfiguration" -_aUu = "authenticationUrl" -_IPC = "IdentityProviderConfiguration" -_sCa = "samlConfiguration" -_oIDCC = "openIDConnectConfiguration" -_O = "Origin" -_WEO = "WebExperienceOrigins" -_WESPCM = "WebExperienceSamplePromptsControlMode" -_WES = "WebExperienceSubtitle" -_WET = "WebExperienceTitle" -_WEWM = "WebExperienceWelcomeMessage" -_CWEI = "CreateWebExperienceInput" -_cCWER = "com.amazonaws.qbusiness#CreateWebExperienceRequest" -_ti = "title" -_su = "subtitle" -_wM = "welcomeMessage" -_sPCM = "samplePromptsControlMode" -_or = "origins" -_iPC = "identityProviderConfiguration" -_bEC = "browserExtensionConfiguration" -_cCu = "customizationConfiguration" -_WEA = "WebExperienceArn" -_WEI = "WebExperienceId" -_CWEO = "CreateWebExperienceOutput" -_cCWERo = "com.amazonaws.qbusiness#CreateWebExperienceResponse" -_wEI = "webExperienceId" -_wEA = "webExperienceArn" -_CWE = "CreateWebExperience" -_DWEI = "DeleteWebExperienceInput" -_cDWER = "com.amazonaws.qbusiness#DeleteWebExperienceRequest" -_DWEO = "DeleteWebExperienceOutput" -_cDWERo = "com.amazonaws.qbusiness#DeleteWebExperienceResponse" -_DWE = "DeleteWebExperience" -_GWEI = "GetWebExperienceInput" -_cGWER = "com.amazonaws.qbusiness#GetWebExperienceRequest" -_SMXML = "SamlMetadataXML" -_SAa = "SamlAttribute" -_SCa = "SamlConfiguration" -_mXML = "metadataXML" -_uIA = "userIdAttribute" -_uGA = "userGroupAttribute" -_WEAC = "WebExperienceAuthConfiguration" -_WESe = "WebExperienceStatus" -_PAC_ = "PENDING_AUTH_CONFIG" -_GWEO = "GetWebExperienceOutput" -_cGWERo = "com.amazonaws.qbusiness#GetWebExperienceResponse" -_dE = "defaultEndpoint" -_GWE = "GetWebExperience" -_MRIFLWER = "MaxResultsIntegerForListWebExperiencesRequest" -_LWEI = "ListWebExperiencesInput" -_cLWER = "com.amazonaws.qbusiness#ListWebExperiencesRequest" -_WE = "WebExperience" -_WEe = "WebExperiences" -_LWEO = "ListWebExperiencesOutput" -_cLWERo = "com.amazonaws.qbusiness#ListWebExperiencesResponse" -_wE = "webExperiences" -_LWE = "ListWebExperiences" -_UWEI = "UpdateWebExperienceInput" -_cUWER = "com.amazonaws.qbusiness#UpdateWebExperienceRequest" -_UWEO = "UpdateWebExperienceOutput" -_cUWERo = "com.amazonaws.qbusiness#UpdateWebExperienceResponse" -_UWE = "UpdateWebExperience" -_CMC = "CreatorModeControl" -_ACMC = "AppliedCreatorModeConfiguration" -_cMC = "creatorModeControl" -_OC = "OrchestrationControl" -_AOC = "AppliedOrchestrationConfiguration" -_cont = "control" -_AG = "AssociatedGroup" -_AGs = "AssociatedGroups" -_AU = "AssociatedUser" -_AUs = "AssociatedUsers" -_QIAa = "QIamActions" -_PCK = "PermissionConditionKey" -_PCO = "PermissionConditionOperator" -_SE = "STRING_EQUALS" -_SEt = "StringEquals" -_PCV = "PermissionConditionValue" -_PCVe = "PermissionConditionValues" -_PCe = "PermissionCondition" -_cO = "conditionOperator" -_cK = "conditionKey" -_cV = "conditionValues" -_PCer = "PermissionConditions" -_SIt = "StatementId" -_API = "AssociatePermissionInput" -_cAPR = "com.amazonaws.qbusiness#AssociatePermissionRequest" -_sIt = "statementId" -_ac = "actions" -_cond = "conditions" -_APO = "AssociatePermissionOutput" -_cAPRo = "com.amazonaws.qbusiness#AssociatePermissionResponse" -_stat = "statement" -_AP = "AssociatePermission" -_AIt = "AttachmentId" -_CS = "ConversationSource" -_aIt = "attachmentId" -_CFS = "CopyFromSource" -_conv = "conversation" -_ANt = "AttachmentName" -_ASt = "AttachmentStatus" -_SUCCESS = "SUCCESS" -_At = "Attachment" -_cF = "copyFrom" -_fT = "fileType" -_fS = "fileSize" -_md = "md5chksum" -_B = "Blob" -_AItt = "AttachmentInput" -_da = "data" -_AIE = "AttachmentInputEvent" -_at = "attachment" -_AL = "AttachmentList" -_AO = "AttachmentOutput" -_AItta = "AttachmentsInput" -_AOt = "AttachmentsOutput" -_AET = "AudioExtractionType" -_TRANSCRIPT = "TRANSCRIPT" -_SUMMARY = "SUMMARY" -_MIe = "MediaId" -_ASD = "AudioSourceDetails" -_mI = "mediaId" -_mMT = "mediaMimeType" -_sTM = "startTimeMilliseconds" -_eTM = "endTimeMilliseconds" -_aET = "audioExtractionType" -_ACR = "AuthChallengeRequest" -_ACRE = "AuthChallengeRequestEvent" -_ARK = "AuthResponseKey" -_ARV = "AuthResponseValue" -_ARM = "AuthorizationResponseMap" -_ACRu = "AuthChallengeResponse" -_rM = "responseMap" -_ACREu = "AuthChallengeResponseEvent" -_EI = "ExecutionId" -_DIo = "DocumentId" -_DD = "DeleteDocument" -_dI = "documentId" -_DDe = "DeleteDocuments" -_BDDI = "BatchDeleteDocumentInput" -_cBDDR = "com.amazonaws.qbusiness#BatchDeleteDocumentRequest" -_do = "documents" -_dSSI = "dataSourceSyncId" -_FD = "FailedDocument" -_FDa = "FailedDocuments" -_BDDO = "BatchDeleteDocumentOutput" -_cBDDRo = "com.amazonaws.qbusiness#BatchDeleteDocumentResponse" -_fD = "failedDocuments" -_BDD = "BatchDeleteDocument" -_DAo = "DocumentAttributes" -_DC = "DocumentContent" -_bl = "blob" -_CTo = "ContentType" -_PDF = "PDF" -_HTML = "HTML" -_MW = "MS_WORD" -_PT_ = "PLAIN_TEXT" -_PPT = "PPT" -_RTF = "RTF" -_XML = "XML" -_XSLT = "XSLT" -_ME_ = "MS_EXCEL" -_CSV = "CSV" -_JSON = "JSON" -_MD = "MD" -_Ti = "Title" -_Do = "Document" -_att = "attributes" -_conte = "content" -_cTo = "contentType" -_aCc = "accessConfiguration" -_Doc = "Documents" -_BPDI = "BatchPutDocumentInput" -_cBPDR = "com.amazonaws.qbusiness#BatchPutDocumentRequest" -_BPDO = "BatchPutDocumentOutput" -_cBPDRo = "com.amazonaws.qbusiness#BatchPutDocumentResponse" -_BPD = "BatchPutDocument" -_BP = "BlockedPhrase" -_BPl = "BlockedPhrases" -_SMO = "SystemMessageOverride" -_BPC = "BlockedPhrasesConfiguration" -_bP = "blockedPhrases" -_sMO = "systemMessageOverride" -_BPCU = "BlockedPhrasesConfigurationUpdate" -_bPTCOU = "blockedPhrasesToCreateOrUpdate" -_bPTD = "blockedPhrasesToDelete" -_SIub = "SubscriptionId" -_CSI = "CancelSubscriptionInput" -_cCSR = "com.amazonaws.qbusiness#CancelSubscriptionRequest" -_sIu = "subscriptionId" -_SD = "SubscriptionDetails" -_SAu = "SubscriptionArn" -_CSO = "CancelSubscriptionOutput" -_cCSRo = "com.amazonaws.qbusiness#CancelSubscriptionResponse" -_sAu = "subscriptionArn" -_cS = "currentSubscription" -_nS = "nextSubscription" -_CSa = "CancelSubscription" -_CM = "ChatMode" -_RM = "RETRIEVAL_MODE" -_CM_ = "CREATOR_MODE" -_PM = "PLUGIN_MODE" -_PCl = "PluginConfiguration" -_CMCh = "ChatModeConfiguration" -_pCl = "pluginConfiguration" -_EOIE = "EndOfInputEvent" -_UM = "UserMessage" -_TIE = "TextInputEvent" -_uM = "userMessage" -_UG = "UserGroups" -_FAE = "FailedAttachmentEvent" -_SAMI = "SourceAttributionMediaId" -_SET = "SnippetExcerptText" -_SEn = "SnippetExcerpt" -_te = "text" -_ISD = "ImageSourceDetails" -_VET = "VideoExtractionType" -_VSD = "VideoSourceDetails" -_vET = "videoExtractionType" -_SDo = "SourceDetails" -_iSD = "imageSourceDetails" -_aSD = "audioSourceDetails" -_vSD = "videoSourceDetails" -_TS = "TextSegment" -_bOe = "beginOffset" -_eO = "endOffset" -_sEn = "snippetExcerpt" -_sD = "sourceDetails" -_TSL = "TextSegmentList" -_SAo = "SourceAttribution" -_sn = "snippet" -_ur = "url" -_cNi = "citationNumber" -_tMS = "textMessageSegments" -_dIa = "datasourceId" -_SAou = "SourceAttributions" -_smithya = "smithy.api#sparse" -_MEe = "MetadataEvent" -_sAo = "sourceAttributions" -_fTM = "finalTextMessage" -_SMT = "SystemMessageType" -_RESPONSE = "RESPONSE" -_GR_ = "GROUNDED_RESPONSE" -_TOE = "TextOutputEvent" -_sMT = "systemMessageType" -_sM = "systemMessage" -_COS = "ChatOutputStream" -_smithyap = "smithy.api#streaming" -_tE = "textEvent" -_mE = "metadataEvent" -_aRE = "actionReviewEvent" -_fAE = "failedAttachmentEvent" -_aCRE = "authChallengeRequestEvent" -_CO = "ChatOutput" -_oS = "outputStream" -_sP = "smithy.api#httpPayload" -_ERE = "ExternalResourceException" -_LNFE = "LicenseNotFoundException" -_CRCA = "ChatResponseConfigurationArn" -_CRCI = "ChatResponseConfigurationId" -_DN = "DisplayName" -_RCS = "ResponseConfigurationSummary" -_CRCS = "ChatResponseConfigurationStatus" -_CRC = "ChatResponseConfiguration" -_cRCI = "chatResponseConfigurationId" -_cRCA = "chatResponseConfigurationArn" -_rCS = "responseConfigurationSummary" -_RCT = "ResponseConfigurationType" -_ALL = "ALL" -_Ins = "Instruction" -_IC = "InstructionCollection" -_rL = "responseLength" -_tA = "targetAudience" -_pe = "perspective" -_oSu = "outputStyle" -_id = "identity" -_to = "tone" -_cIu = "customInstructions" -_ex = "examples" -_RCe = "ResponseConfiguration" -_iCns = "instructionCollection" -_RCes = "ResponseConfigurations" -_CRCD = "ChatResponseConfigurationDetail" -_rC = "responseConfigurations" -_CRCh = "ChatResponseConfigurations" -_CSOh = "ChatSyncOutput" -_aR = "actionReview" -_aCR = "authChallengeRequest" -_fA = "failedAttachments" -_CDAI = "CheckDocumentAccessInput" -_cCDARo = "com.amazonaws.qbusiness#CheckDocumentAccessRequest" -_uI = "userId" -_DAG = "DocumentAclGroup" -_DAGo = "DocumentAclGroups" -_DAU = "DocumentAclUser" -_DAUo = "DocumentAclUsers" -_DACocu = "DocumentAclCondition" -_us = "users" -_gr = "groups" -_DACocum = "DocumentAclConditions" -_DAM = "DocumentAclMembership" -_DAoc = "DocumentAcl" -_al = "allowlist" -_dL = "denyList" -_CDAOh = "CheckDocumentAccessOutput" -_cCDARom = "com.amazonaws.qbusiness#CheckDocumentAccessResponse" -_uG = "userGroups" -_uAs = "userAliases" -_hA = "hasAccess" -_dAo = "documentAcl" -_CDA = "CheckDocumentAccess" -_CBR = "ContentBlockerRule" -_EDS = "EligibleDataSource" -_EDSl = "EligibleDataSources" -_CRR = "ContentRetrievalRule" -_eDS = "eligibleDataSources" -_RCSe = "RetrieverContentSource" -_CSo = "ContentSource" -_retr = "retriever" -_CTon = "ConversationTitle" -_C = "Conversation" -_sTt = "startTime" -_Co = "Conversations" -_SDIM = "SessionDurationInMinutes" -_CAWEUI = "CreateAnonymousWebExperienceUrlInput" -_cCAWEUR = "com.amazonaws.qbusiness#CreateAnonymousWebExperienceUrlRequest" -_sDIM = "sessionDurationInMinutes" -_CAWEUO = "CreateAnonymousWebExperienceUrlOutput" -_cCAWEURo = "com.amazonaws.qbusiness#CreateAnonymousWebExperienceUrlResponse" -_aUn = "anonymousUrl" -_CAWEU = "CreateAnonymousWebExperienceUrl" -_CCRCI = "CreateChatResponseConfigurationInput" -_cCCRCR = "com.amazonaws.qbusiness#CreateChatResponseConfigurationRequest" -_CCRCO = "CreateChatResponseConfigurationOutput" -_cCCRCRo = "com.amazonaws.qbusiness#CreateChatResponseConfigurationResponse" -_CCRC = "CreateChatResponseConfiguration" -_GIr = "GroupIdentifier" -_UIs = "UserIdentifier" -_SP = "SubscriptionPrincipal" -_CSIr = "CreateSubscriptionInput" -_cCSRom = "com.amazonaws.qbusiness#CreateSubscriptionRequest" -_CSOr = "CreateSubscriptionOutput" -_cCSRoma = "com.amazonaws.qbusiness#CreateSubscriptionResponse" -_CSr = "CreateSubscription" -_UAs = "UserAlias" -_UAse = "UserAliases" -_CUI = "CreateUserInput" -_cCUR = "com.amazonaws.qbusiness#CreateUserRequest" -_CUO = "CreateUserOutput" -_cCURo = "com.amazonaws.qbusiness#CreateUserResponse" -_CU = "CreateUser" -_CMCr = "CreatorModeConfiguration" -_DSIa = "DataSourceIds" -_MV = "MetricValue" -_DSSJM = "DataSourceSyncJobMetrics" -_dAoc = "documentsAdded" -_dM = "documentsModified" -_dDo = "documentsDeleted" -_dF = "documentsFailed" -_dSo = "documentsScanned" -_DSSJS = "DataSourceSyncJobStatus" -_SUCCEEDED = "SUCCEEDED" -_SYNCING = "SYNCING" -_INCOMPLETE = "INCOMPLETE" -_STOPPING = "STOPPING" -_ABORTED = "ABORTED" -_SI_ = "SYNCING_INDEXING" -_DSSJ = "DataSourceSyncJob" -_eIx = "executionId" -_eT = "endTime" -_dSEC = "dataSourceErrorCode" -_met = "metrics" -_DSSJa = "DataSourceSyncJobs" -_DSUI = "DataSourceUserId" -_DAIel = "DeleteAttachmentInput" -_cDARom = "com.amazonaws.qbusiness#DeleteAttachmentRequest" -_DAOe = "DeleteAttachmentOutput" -_cDARoma = "com.amazonaws.qbusiness#DeleteAttachmentResponse" -_DAel = "DeleteAttachment" -_DCCCI = "DeleteChatControlsConfigurationInput" -_cDCCCR = "com.amazonaws.qbusiness#DeleteChatControlsConfigurationRequest" -_DCCCO = "DeleteChatControlsConfigurationOutput" -_cDCCCRo = "com.amazonaws.qbusiness#DeleteChatControlsConfigurationResponse" -_DCCC = "DeleteChatControlsConfiguration" -_DCRCI = "DeleteChatResponseConfigurationInput" -_cDCRCR = "com.amazonaws.qbusiness#DeleteChatResponseConfigurationRequest" -_DCRCO = "DeleteChatResponseConfigurationOutput" -_cDCRCRo = "com.amazonaws.qbusiness#DeleteChatResponseConfigurationResponse" -_DCRC = "DeleteChatResponseConfiguration" -_DCI = "DeleteConversationInput" -_cDCR = "com.amazonaws.qbusiness#DeleteConversationRequest" -_DCOe = "DeleteConversationOutput" -_cDCRo = "com.amazonaws.qbusiness#DeleteConversationResponse" -_DCe = "DeleteConversation" -_DGI = "DeleteGroupInput" -_cDGR = "com.amazonaws.qbusiness#DeleteGroupRequest" -_gN = "groupName" -_DGO = "DeleteGroupOutput" -_cDGRo = "com.amazonaws.qbusiness#DeleteGroupResponse" -_DG = "DeleteGroup" -_DUI = "DeleteUserInput" -_cDUR = "com.amazonaws.qbusiness#DeleteUserRequest" -_DUO = "DeleteUserOutput" -_cDURo = "com.amazonaws.qbusiness#DeleteUserResponse" -_DU = "DeleteUser" -_DPIi = "DisassociatePermissionInput" -_cDPRom = "com.amazonaws.qbusiness#DisassociatePermissionRequest" -_DPOi = "DisassociatePermissionOutput" -_cDPRoma = "com.amazonaws.qbusiness#DisassociatePermissionResponse" -_DPi = "DisassociatePermission" -_DSo = "DocumentStatus" -_RECEIVED = "RECEIVED" -_PROCESSING = "PROCESSING" -_INDEXED = "INDEXED" -_UPDATED = "UPDATED" -_DELETED = "DELETED" -_DFTI = "DOCUMENT_FAILED_TO_INDEX" -_DDo = "DocumentDetails" -_DDL = "DocumentDetailList" -_ECM = "ExampleChatMessage" -_ECMx = "ExampleChatMessages" -_MRIFGTC = "MaxResultsIntegerForGetTopicConfigurations" -_GCCCI = "GetChatControlsConfigurationInput" -_cGCCCR = "com.amazonaws.qbusiness#GetChatControlsConfigurationRequest" -_HRC = "HallucinationReductionControl" -_HRCa = "HallucinationReductionConfiguration" -_hRC = "hallucinationReductionControl" -_RSe = "ResponseScope" -_ECO = "ENTERPRISE_CONTENT_ONLY" -_EKE = "EXTENDED_KNOWLEDGE_ENABLED" -_TD = "TopicDescription" -_TCN = "TopicConfigurationName" -_UIse = "UserIds" -_UAG = "UsersAndGroups" -_uIs = "userIds" -_RCu = "RuleConfiguration" -_cBR = "contentBlockerRule" -_cRR = "contentRetrievalRule" -_RTu = "RuleType" -_CBR_ = "CONTENT_BLOCKER_RULE" -_CRR_ = "CONTENT_RETRIEVAL_RULE" -_Ru = "Rule" -_iUAG = "includedUsersAndGroups" -_eUAG = "excludedUsersAndGroups" -_rTu = "ruleType" -_rCu = "ruleConfiguration" -_Rul = "Rules" -_TC = "TopicConfiguration" -_eCM = "exampleChatMessages" -_ru = "rules" -_TCo = "TopicConfigurations" -_GCCCO = "GetChatControlsConfigurationOutput" -_cGCCCRo = "com.amazonaws.qbusiness#GetChatControlsConfigurationResponse" -_rS = "responseScope" -_oC = "orchestrationConfiguration" -_tC = "topicConfigurations" -_cMCr = "creatorModeConfiguration" -_hRCa = "hallucinationReductionConfiguration" -_GCCC = "GetChatControlsConfiguration" -_GCRCI = "GetChatResponseConfigurationInput" -_cGCRCR = "com.amazonaws.qbusiness#GetChatResponseConfigurationRequest" -_GCRCO = "GetChatResponseConfigurationOutput" -_cGCRCRo = "com.amazonaws.qbusiness#GetChatResponseConfigurationResponse" -_iUC = "inUseConfiguration" -_lUC = "lastUpdateConfiguration" -_GCRC = "GetChatResponseConfiguration" -_OF = "OutputFormat" -_RAW = "RAW" -_EXTRACTED = "EXTRACTED" -_GDCI = "GetDocumentContentInput" -_cGDCR = "com.amazonaws.qbusiness#GetDocumentContentRequest" -_oF = "outputFormat" -_GDCO = "GetDocumentContentOutput" -_cGDCRo = "com.amazonaws.qbusiness#GetDocumentContentResponse" -_pU = "presignedUrl" -_mTi = "mimeType" -_GDC = "GetDocumentContent" -_GGI = "GetGroupInput" -_cGGR = "com.amazonaws.qbusiness#GetGroupRequest" -_GS = "GroupStatus" -_GSD = "GroupStatusDetail" -_lUA = "lastUpdatedAt" -_eD = "errorDetail" -_GSDr = "GroupStatusDetails" -_GGO = "GetGroupOutput" -_cGGRo = "com.amazonaws.qbusiness#GetGroupResponse" -_sH = "statusHistory" -_GG = "GetGroup" -_GMI = "GetMediaInput" -_cGMR = "com.amazonaws.qbusiness#GetMediaRequest" -_mIe = "messageId" -_GMO = "GetMediaOutput" -_cGMRo = "com.amazonaws.qbusiness#GetMediaResponse" -_mB = "mediaBytes" -_MTLE = "MediaTooLargeException" -_GM = "GetMedia" -_GPIe = "GetPolicyInput" -_cGPRom = "com.amazonaws.qbusiness#GetPolicyRequest" -_GPOe = "GetPolicyOutput" -_cGPRoma = "com.amazonaws.qbusiness#GetPolicyResponse" -_po = "policy" -_GPe = "GetPolicy" -_GUI = "GetUserInput" -_cGUR = "com.amazonaws.qbusiness#GetUserRequest" -_GUO = "GetUserOutput" -_cGURo = "com.amazonaws.qbusiness#GetUserResponse" -_GU = "GetUser" -_MRIFLAa = "MaxResultsIntegerForListAttachments" -_LAIi = "ListAttachmentsInput" -_cLARom = "com.amazonaws.qbusiness#ListAttachmentsRequest" -_LAOi = "ListAttachmentsOutput" -_cLARoma = "com.amazonaws.qbusiness#ListAttachmentsResponse" -_atta = "attachments" -_LAis = "ListAttachments" -_LCRCI = "ListChatResponseConfigurationsInput" -_cLCRCR = "com.amazonaws.qbusiness#ListChatResponseConfigurationsRequest" -_LCRCO = "ListChatResponseConfigurationsOutput" -_cLCRCRo = "com.amazonaws.qbusiness#ListChatResponseConfigurationsResponse" -_cRC = "chatResponseConfigurations" -_LCRC = "ListChatResponseConfigurations" -_MRIFLC = "MaxResultsIntegerForListConversations" -_LCI = "ListConversationsInput" -_cLCR = "com.amazonaws.qbusiness#ListConversationsRequest" -_LCO = "ListConversationsOutput" -_cLCRo = "com.amazonaws.qbusiness#ListConversationsResponse" -_conve = "conversations" -_LC = "ListConversations" -_MRIFLDSSJ = "MaxResultsIntegerForListDataSourcesSyncJobs" -_LDSSJI = "ListDataSourceSyncJobsInput" -_cLDSSJR = "com.amazonaws.qbusiness#ListDataSourceSyncJobsRequest" -_sF = "statusFilter" -_sSy = "syncStatus" -_LDSSJO = "ListDataSourceSyncJobsOutput" -_cLDSSJRo = "com.amazonaws.qbusiness#ListDataSourceSyncJobsResponse" -_h = "history" -_LDSSJ = "ListDataSourceSyncJobs" -_MRIFLD = "MaxResultsIntegerForListDocuments" -_LDI = "ListDocumentsInput" -_cLDR = "com.amazonaws.qbusiness#ListDocumentsRequest" -_dSIa = "dataSourceIds" -_LDO = "ListDocumentsOutput" -_cLDRo = "com.amazonaws.qbusiness#ListDocumentsResponse" -_dDL = "documentDetailList" -_LD = "ListDocuments" -_MRIFLGR = "MaxResultsIntegerForListGroupsRequest" -_LGI = "ListGroupsInput" -_cLGR = "com.amazonaws.qbusiness#ListGroupsRequest" -_uET = "updatedEarlierThan" -_GSr = "GroupSummary" -_GSL = "GroupSummaryList" -_LGO = "ListGroupsOutput" -_cLGRo = "com.amazonaws.qbusiness#ListGroupsResponse" -_it = "items" -_LG = "ListGroups" -_MRIFLM = "MaxResultsIntegerForListMessages" -_LMI = "ListMessagesInput" -_cLMR = "com.amazonaws.qbusiness#ListMessagesRequest" -_MB = "MessageBody" -_MTe = "MessageType" -_USER = "USER" -_SYSTEM = "SYSTEM" -_M = "Message" -_bo = "body" -_tim = "time" -_sAou = "sourceAttribution" -_aE = "actionExecution" -_Me = "Messages" -_LMO = "ListMessagesOutput" -_cLMRo = "com.amazonaws.qbusiness#ListMessagesResponse" -_mes = "messages" -_LM = "ListMessages" -_MRIFLPA = "MaxResultsIntegerForListPluginActions" -_LPAI = "ListPluginActionsInput" -_cLPAR = "com.amazonaws.qbusiness#ListPluginActionsRequest" -_LPAO = "ListPluginActionsOutput" -_cLPARo = "com.amazonaws.qbusiness#ListPluginActionsResponse" -_LPA = "ListPluginActions" -_MRIFLPTA = "MaxResultsIntegerForListPluginTypeActions" -_LPTAI = "ListPluginTypeActionsInput" -_cLPTAR = "com.amazonaws.qbusiness#ListPluginTypeActionsRequest" -_LPTAO = "ListPluginTypeActionsOutput" -_cLPTARo = "com.amazonaws.qbusiness#ListPluginTypeActionsResponse" -_LPTA = "ListPluginTypeActions" -_MRIFLPTM = "MaxResultsIntegerForListPluginTypeMetadata" -_LPTMI = "ListPluginTypeMetadataInput" -_cLPTMR = "com.amazonaws.qbusiness#ListPluginTypeMetadataRequest" -_PTC = "PluginTypeCategory" -_CRM = "CRM" -_Crm = "Customer relationship management (CRM)" -_PM_ = "PROJECT_MANAGEMENT" -_Pm = "Project management" -_COMMUNICATION = "COMMUNICATION" -_Com = "Communication" -_PRODUCTIVITY = "PRODUCTIVITY" -_Pro = "Productivity" -_TM = "TICKETING_MANAGEMENT" -_Taim = "Ticketing and incident management" -_PTMS = "PluginTypeMetadataSummary" -_ca = "category" -_LPTMS = "ListPluginTypeMetadataSummaries" -_LPTMO = "ListPluginTypeMetadataOutput" -_cLPTMRo = "com.amazonaws.qbusiness#ListPluginTypeMetadataResponse" -_LPTM = "ListPluginTypeMetadata" -_MRIFLS = "MaxResultsIntegerForListSubscriptions" -_LSI = "ListSubscriptionsInput" -_cLSR = "com.amazonaws.qbusiness#ListSubscriptionsRequest" -_Su = "Subscription" -_Sub = "Subscriptions" -_LSO = "ListSubscriptionsOutput" -_cLSRo = "com.amazonaws.qbusiness#ListSubscriptionsResponse" -_sub = "subscriptions" -_LS = "ListSubscriptions" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.qbusiness#ListTagsForResourceRequest" -_rARN = "resourceARN" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.qbusiness#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_SMI = "SystemMessageId" -_MUC = "MessageUsefulnessComment" -_MUR = "MessageUsefulnessReason" -_NFC = "NOT_FACTUALLY_CORRECT" -_HOU = "HARMFUL_OR_UNSAFE" -_IOMS = "INCORRECT_OR_MISSING_SOURCES" -_NH = "NOT_HELPFUL" -_FC = "FACTUALLY_CORRECT" -_COMPLETE = "COMPLETE" -_RS_ = "RELEVANT_SOURCES" -_HELPFUL = "HELPFUL" -_NBOD = "NOT_BASED_ON_DOCUMENTS" -_NC_ = "NOT_COMPLETE" -_NC__ = "NOT_CONCISE" -_OTHER = "OTHER" -_MU = "MessageUsefulness" -_USEFUL = "USEFUL" -_NU = "NOT_USEFUL" -_MUF = "MessageUsefulnessFeedback" -_use = "usefulness" -_com = "comment" -_sAub = "submittedAt" -_PFI = "PutFeedbackInput" -_cPFR = "com.amazonaws.qbusiness#PutFeedbackRequest" -_mCA = "messageCopiedAt" -_mU = "messageUsefulness" -_PFO = "PutFeedbackOutput" -_sUm = "smithy.api#Unit" -_PF = "PutFeedback" -_MG = "MemberGroup" -_MGe = "MemberGroups" -_MUe = "MemberUser" -_MUem = "MemberUsers" -_GMr = "GroupMembers" -_mG = "memberGroups" -_mUe = "memberUsers" -_sPFGM = "s3PathForGroupMembers" -_PGI = "PutGroupInput" -_cPGR = "com.amazonaws.qbusiness#PutGroupRequest" -_gM = "groupMembers" -_PGO = "PutGroupOutput" -_cPGRo = "com.amazonaws.qbusiness#PutGroupResponse" -_PGu = "PutGroup" -_MRa = "MaxResults" -_QT = "QueryText" -_SCc = "ScoreConfidence" -_NA = "NOT_AVAILABLE" -_SAc = "ScoreAttributes" -_sCc = "scoreConfidence" -_RCel = "RelevantContent" -_dT = "documentTitle" -_dU = "documentUri" -_dAocu = "documentAttributes" -_sAc = "scoreAttributes" -_RCL = "RelevantContentList" -_SRCO = "SearchRelevantContentOutput" -_cSRCR = "com.amazonaws.qbusiness#SearchRelevantContentResponse" -_rCe = "relevantContent" -_SDSSJI = "StartDataSourceSyncJobInput" -_cSDSSJR = "com.amazonaws.qbusiness#StartDataSourceSyncJobRequest" -_SDSSJO = "StartDataSourceSyncJobOutput" -_cSDSSJRo = "com.amazonaws.qbusiness#StartDataSourceSyncJobResponse" -_SDSSJ = "StartDataSourceSyncJob" -_SDSSJIt = "StopDataSourceSyncJobInput" -_cSDSSJRom = "com.amazonaws.qbusiness#StopDataSourceSyncJobRequest" -_SDSSJOt = "StopDataSourceSyncJobOutput" -_cSDSSJRoma = "com.amazonaws.qbusiness#StopDataSourceSyncJobResponse" -_SDSSJt = "StopDataSourceSyncJob" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.qbusiness#TagResourceRequest" -_TRO = "TagResourceOutput" -_cTRRo = "com.amazonaws.qbusiness#TagResourceResponse" -_TR = "TagResource" -_TKa = "TagKeys" -_URIn = "UntagResourceInput" -_cURRom = "com.amazonaws.qbusiness#UntagResourceRequest" -_tK = "tagKeys" -_UROn = "UntagResourceOutput" -_cURRoma = "com.amazonaws.qbusiness#UntagResourceResponse" -_URn = "UntagResource" -_OCr = "OrchestrationConfiguration" -_UCCCI = "UpdateChatControlsConfigurationInput" -_cUCCCR = "com.amazonaws.qbusiness#UpdateChatControlsConfigurationRequest" -_bPCU = "blockedPhrasesConfigurationUpdate" -_tCTCOU = "topicConfigurationsToCreateOrUpdate" -_tCTD = "topicConfigurationsToDelete" -_UCCCO = "UpdateChatControlsConfigurationOutput" -_cUCCCRo = "com.amazonaws.qbusiness#UpdateChatControlsConfigurationResponse" -_UCCC = "UpdateChatControlsConfiguration" -_UCRCI = "UpdateChatResponseConfigurationInput" -_cUCRCR = "com.amazonaws.qbusiness#UpdateChatResponseConfigurationRequest" -_UCRCO = "UpdateChatResponseConfigurationOutput" -_cUCRCRo = "com.amazonaws.qbusiness#UpdateChatResponseConfigurationResponse" -_UCRC = "UpdateChatResponseConfiguration" -_USI = "UpdateSubscriptionInput" -_cUSR = "com.amazonaws.qbusiness#UpdateSubscriptionRequest" -_USO = "UpdateSubscriptionOutput" -_cUSRo = "com.amazonaws.qbusiness#UpdateSubscriptionResponse" -_US = "UpdateSubscription" -_UUI = "UpdateUserInput" -_cUUR = "com.amazonaws.qbusiness#UpdateUserRequest" -_uATU = "userAliasesToUpdate" -_uATD = "userAliasesToDelete" -_UUO = "UpdateUserOutput" -_cUURo = "com.amazonaws.qbusiness#UpdateUserResponse" -_uAA = "userAliasesAdded" -_uAU = "userAliasesUpdated" -_uAD = "userAliasesDeleted" -_UU = "UpdateUser" -_AF = "AttributeFilter" -_aAF = "andAllFilters" -_oAF = "orAllFilters" -_nF = "notFilter" -_eTq = "equalsTo" -_cAo = "containsAll" -_cAon = "containsAny" -_gT = "greaterThan" -_gTOE = "greaterThanOrEquals" -_lT = "lessThan" -_lTOE = "lessThanOrEquals" -_AFt = "AttributeFilters" -_AFC = "ActionFilterConfiguration" -_dAF = "documentAttributeFilter" -_CSIh = "ChatSyncInput" -_aCRu = "authChallengeResponse" -_pMI = "parentMessageId" -_aFt = "attributeFilter" -_cM = "chatMode" -_cMCh = "chatModeConfiguration" -_CEo = "ConfigurationEvent" -_SRCI = "SearchRelevantContentInput" -_cSRCRo = "com.amazonaws.qbusiness#SearchRelevantContentRequest" -_qT = "queryText" -_cSo = "contentSource" -_smithyapi = "smithy.api#default" -_CSh = "ChatSync" -_SRC = "SearchRelevantContent" -_ACct = "ActionConfiguration" -_act = "action" -_fC = "filterConfiguration" -_CIS = "ChatInputStream" -_cE = "configurationEvent" -_aEt = "attachmentEvent" -_aEE = "actionExecutionEvent" -_eOIE = "endOfInputEvent" -_aCREu = "authChallengeResponseEvent" -_ACL = "ActionConfigurationList" -_CIh = "ChatInput" -_iSn = "inputStream" -_Ch = "Chat" -_CDAIr = "CreateDataAccessorInput" -_cCDARoma = "com.amazonaws.qbusiness#CreateDataAccessorRequest" -_aCct = "actionConfigurations" -_GDAO = "GetDataAccessorOutput" -_cGDARo = "com.amazonaws.qbusiness#GetDataAccessorResponse" -_UDAI = "UpdateDataAccessorInput" -_cUDARo = "com.amazonaws.qbusiness#UpdateDataAccessorRequest" -_CDAr = "CreateDataAccessor" -_GDA = "GetDataAccessor" -_UDA = "UpdateDataAccessor" -_EQ = "ExpertQ" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" - -MEMBER_RELATION: StaticSchema = ( - 14, - n0, - _MR, - 0, - (_AND, _OR), - ((-1, {_sV: _AND}), (-1, {_sV: _OR})), -) - -READ_ACCESS_TYPE: StaticSchema = ( - 14, - n0, - _RAT, - 0, - (_ALLOW, _DENY), - ((-1, {_sV: _ALLOW}), (-1, {_sV: _DENY})), -) - -MEMBERSHIP_TYPE: StaticSchema = ( - 14, - n0, - _MT, - 0, - (_INDEX, _DATASOURCE), - ((-1, {_sV: _INDEX}), (-1, {_sV: _DATASOURCE})), -) - -GROUP_NAME: StaticSchema = (3, n0, _GN, 0) - -PRINCIPAL_GROUP: StaticSchema = ( - 18, - n0, - _PG, - 0, - (_n, _a, _mT), - ((GROUP_NAME, 0), (READ_ACCESS_TYPE, 1), (MEMBERSHIP_TYPE, 0)), -) - -USER_ID: StaticSchema = (3, n0, _UI, 0) - -PRINCIPAL_USER: StaticSchema = ( - 18, - n0, - _PU, - 0, - (_i, _a, _mT), - ((USER_ID, 0), (READ_ACCESS_TYPE, 1), (MEMBERSHIP_TYPE, 0)), -) - -PRINCIPAL: StaticSchema = ( - 19, - n0, - _P, - 0, - (_u, _g), - ((PRINCIPAL_USER, 0), (PRINCIPAL_GROUP, 0)), -) - -PRINCIPALS: StaticSchema = (16, n0, _Pr, 0, (_m,), ((PRINCIPAL, 0),)) - -ACCESS_CONTROL: StaticSchema = ( - 18, - n0, - _AC, - 0, - (_p, _mR), - ((PRINCIPALS, 1), (MEMBER_RELATION, 0)), -) - -ACCESS_CONTROLS: StaticSchema = (16, n0, _ACc, 0, (_m,), ((ACCESS_CONTROL, 0),)) - -ACCESS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ACcc, - 0, - (_aC, _mR), - ((ACCESS_CONTROLS, 1), (MEMBER_RELATION, 0)), -) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_sm: _c, _sE: 403}, - (_me,), - ((ERROR_MESSAGE, 1),), -) - -Q_IAM_ACTION: StaticSchema = (3, n0, _QIA, 0) - -DOCUMENT_ATTRIBUTE_KEY: StaticSchema = (3, n0, _DAK, 0) - -TIMESTAMP: StaticSchema = (4, n0, _T, 0) - -LONG: StaticSchema = (8, n0, _L, 0) - -STRING: StaticSchema = (3, n0, _S, 0) - -DOCUMENT_ATTRIBUTE_STRING_LIST_VALUE: StaticSchema = ( - 16, - n0, - _DASLV, - 0, - (_m,), - ((STRING, 0),), -) - -DOCUMENT_ATTRIBUTE_STRING_VALUE: StaticSchema = (3, n0, _DASV, 0) - -DOCUMENT_ATTRIBUTE_VALUE: StaticSchema = ( - 19, - n0, - _DAV, - 0, - (_sVt, _sLV, _lV, _dV), - ( - (DOCUMENT_ATTRIBUTE_STRING_VALUE, 0), - (DOCUMENT_ATTRIBUTE_STRING_LIST_VALUE, 0), - (LONG, 0), - (TIMESTAMP, 0), - ), -) - -DOCUMENT_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _DA, - 0, - (_n, _v), - ((DOCUMENT_ATTRIBUTE_KEY, 1), (DOCUMENT_ATTRIBUTE_VALUE, 1)), -) - -ACTION_PAYLOAD_FIELD_KEY: StaticSchema = (3, n0, _APFK, 0) - -ACTION_PAYLOAD_FIELD_VALUE: StaticSchema = (13, n0, _APFV, 0) - -ACTION_EXECUTION_PAYLOAD_FIELD: StaticSchema = ( - 18, - n0, - _AEPF, - 0, - (_v,), - ((ACTION_PAYLOAD_FIELD_VALUE, 1),), -) - -ACTION_EXECUTION_PAYLOAD: StaticSchema = ( - 17, - n0, - _AEP, - 0, - (_k, _v), - ((ACTION_PAYLOAD_FIELD_KEY, 0), (ACTION_EXECUTION_PAYLOAD_FIELD, 0)), -) - -ACTION_PAYLOAD_FIELD_NAME_SEPARATOR: StaticSchema = (3, n0, _APFNS, 0) - -PLUGIN_ID: StaticSchema = (3, n0, _PI, 0) - -ACTION_EXECUTION: StaticSchema = ( - 18, - n0, - _AE, - 0, - (_pI, _pa, _pFNS), - ( - (PLUGIN_ID, 1), - (ACTION_EXECUTION_PAYLOAD, 1), - (ACTION_PAYLOAD_FIELD_NAME_SEPARATOR, 1), - ), -) - -ACTION_EXECUTION_EVENT: StaticSchema = ( - 18, - n0, - _AEE, - 0, - (_pI, _pa, _pFNS), - ( - (PLUGIN_ID, 1), - (ACTION_EXECUTION_PAYLOAD, 1), - (ACTION_PAYLOAD_FIELD_NAME_SEPARATOR, 1), - ), -) - -ACTION_PAYLOAD_FIELD_TYPE: StaticSchema = ( - 14, - n0, - _APFT, - 0, - (_STRING, _NUMBER, _ARRAY, _BOOLEAN), - ( - (-1, {_sV: _STRING}), - (-1, {_sV: _NUMBER}), - (-1, {_sV: _ARRAY}), - (-1, {_sV: _BOOLEAN}), - ), -) - -ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUE: StaticSchema = ( - 18, - n0, - _ARPFAV, - 0, - (_v, _dVi), - ((ACTION_PAYLOAD_FIELD_VALUE, 0), (ACTION_PAYLOAD_FIELD_VALUE, 0)), -) - -ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUES: StaticSchema = ( - 16, - n0, - _ARPFAVc, - 0, - (_m,), - ((ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUE, 0),), -) - -ACTION_REVIEW_PAYLOAD_FIELD_ARRAY_ITEM_JSON_SCHEMA: StaticSchema = ( - 13, - n0, - _ARPFAIJS, - 0, -) - -INTEGER: StaticSchema = (7, n0, _I, 0) - -ACTION_REVIEW_PAYLOAD_FIELD: StaticSchema = ( - 18, - n0, - _ARPF, - 0, - (_dN, _dO, _dD, _t, _v, _aV, _aF, _aIJS, _r), - ( - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (ACTION_PAYLOAD_FIELD_TYPE, 0), - (ACTION_PAYLOAD_FIELD_VALUE, 0), - (ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUES, 0), - (STRING, 0), - (ACTION_REVIEW_PAYLOAD_FIELD_ARRAY_ITEM_JSON_SCHEMA, 0), - (2, 0), - ), -) - -ACTION_REVIEW_PAYLOAD: StaticSchema = ( - 17, - n0, - _ARP, - 0, - (_k, _v), - ((ACTION_PAYLOAD_FIELD_KEY, 0), (ACTION_REVIEW_PAYLOAD_FIELD, 0)), -) - -PLUGIN_TYPE: StaticSchema = ( - 14, - n0, - _PT, - 0, - ( - _SN, - _SALESFORCE, - _JIRA, - _ZENDESK, - _CUSTOM, - _QUICKSIGHT, - _SNP, - _JC, - _SC, - _ZS, - _AC_, - _GC, - _MT_, - _ME, - _PA, - _SMARTSHEET, - _ASANA, - ), - ( - (-1, {_sV: _SN}), - (-1, {_sV: _SALESFORCE}), - (-1, {_sV: _JIRA}), - (-1, {_sV: _ZENDESK}), - (-1, {_sV: _CUSTOM}), - (-1, {_sV: _QUICKSIGHT}), - (-1, {_sV: _SNP}), - (-1, {_sV: _JC}), - (-1, {_sV: _SC}), - (-1, {_sV: _ZS}), - (-1, {_sV: _AC_}), - (-1, {_sV: _GC}), - (-1, {_sV: _MT_}), - (-1, {_sV: _ME}), - (-1, {_sV: _PA}), - (-1, {_sV: _SMARTSHEET}), - (-1, {_sV: _ASANA}), - ), -) - -ACTION_REVIEW: StaticSchema = ( - 18, - n0, - _AR, - 0, - (_pI, _pT, _pa, _pFNS), - ( - (PLUGIN_ID, 0), - (PLUGIN_TYPE, 0), - (ACTION_REVIEW_PAYLOAD, 0), - (ACTION_PAYLOAD_FIELD_NAME_SEPARATOR, 0), - ), -) - -CONVERSATION_ID: StaticSchema = (3, n0, _CI, 0) - -MESSAGE_ID: StaticSchema = (3, n0, _MI, 0) - -ACTION_REVIEW_EVENT: StaticSchema = ( - 18, - n0, - _ARE, - 0, - (_cI, _uMI, _sMI, _pI, _pT, _pa, _pFNS), - ( - (CONVERSATION_ID, 0), - (MESSAGE_ID, 0), - (MESSAGE_ID, 0), - (PLUGIN_ID, 0), - (PLUGIN_TYPE, 0), - (ACTION_REVIEW_PAYLOAD, 0), - (ACTION_PAYLOAD_FIELD_NAME_SEPARATOR, 0), - ), -) - -ACTION_SUMMARY: StaticSchema = ( - 18, - n0, - _AS, - 0, - (_aI, _dN, _iE, _d), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -ACTIONS: StaticSchema = (16, n0, _A, 0, (_m,), ((ACTION_SUMMARY, 0),)) - -AMAZON_RESOURCE_NAME: StaticSchema = (3, n0, _ARN, 0) - -PAYLOAD: StaticSchema = (3, n0, _Pa, 4) - -S3_BUCKET_NAME: StaticSchema = (3, n0, _SBN, 0) - -S3_OBJECT_KEY: StaticSchema = (3, n0, _SOK, 0) - -S3: StaticSchema = (18, n0, _S_, 0, (_b, _k), ((S3_BUCKET_NAME, 1), (S3_OBJECT_KEY, 1))) - -API_SCHEMA: StaticSchema = (19, n0, _APIS, 0, (_pa, _s_), ((PAYLOAD, 0), (S3, 0))) - -API_SCHEMA_TYPE: StaticSchema = (14, n0, _APIST, 0, (_OAV,), ((-1, {_sV: _OAV}),)) - -APPLICATION_ID: StaticSchema = (3, n0, _AI, 0) - -APPLICATION_NAME: StaticSchema = (3, n0, _AN, 0) - -IDENTITY_TYPE: StaticSchema = ( - 14, - n0, - _IT, - 0, - (_AIIS, _AIIO, _AII, _AQI, _ANONYMOUS), - ( - (-1, {_sV: _AIIS}), - (-1, {_sV: _AIIO}), - (-1, {_sV: _AII}), - (-1, {_sV: _AQI}), - (-1, {_sV: _ANONYMOUS}), - ), -) - -CLIENT_NAMESPACE: StaticSchema = (3, n0, _CN, 0) - -QUICK_SIGHT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _QSC, - 0, - (_cN,), - ((CLIENT_NAMESPACE, 1),), -) - -APPLICATION_STATUS: StaticSchema = ( - 14, - n0, - _ASp, - 0, - (_CREATING, _ACTIVE, _DELETING, _FAILED, _UPDATING), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _UPDATING}), - ), -) - -APPLICATION: StaticSchema = ( - 18, - n0, - _Ap, - 0, - (_dN, _aIp, _cA, _uA, _st, _iT, _qSC), - ( - (APPLICATION_NAME, 0), - (APPLICATION_ID, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (APPLICATION_STATUS, 0), - (IDENTITY_TYPE, 0), - (QUICK_SIGHT_CONFIGURATION, 0), - ), -) - -APPLICATION_ARN: StaticSchema = (3, n0, _AA, 0) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - {_sm: _c, _sE: 409}, - (_me, _rI, _rT), - ((ERROR_MESSAGE, 1), (STRING, 1), (STRING, 1)), -) - -ATTACHMENTS_CONTROL_MODE: StaticSchema = ( - 14, - n0, - _ACM, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -ATTACHMENTS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ACt, - 0, - (_aCM,), - ((ATTACHMENTS_CONTROL_MODE, 1),), -) - -CLIENT_ID_FOR_OIDC: StaticSchema = (3, n0, _CIFOIDC, 0) - -CLIENT_IDS_FOR_OIDC: StaticSchema = ( - 16, - n0, - _CIFOIDCl, - 0, - (_m,), - ((CLIENT_ID_FOR_OIDC, 0),), -) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) - -DESCRIPTION: StaticSchema = (3, n0, _D, 0) - -KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 4) - -ENCRYPTION_CONFIGURATION: StaticSchema = (18, n0, _EC, 0, (_kKI,), ((KMS_KEY_ID, 0),)) - -IAM_IDENTITY_PROVIDER_ARN: StaticSchema = (3, n0, _IAMIPA, 0) - -INSTANCE_ARN: StaticSchema = (3, n0, _IA, 0) - -PERSONALIZATION_CONTROL_MODE: StaticSchema = ( - 14, - n0, - _PCM, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -PERSONALIZATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PC, - 0, - (_pCM,), - ((PERSONALIZATION_CONTROL_MODE, 1),), -) - -Q_APPS_CONTROL_MODE: StaticSchema = ( - 14, - n0, - _QACM, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -Q_APPS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _QAC, - 0, - (_qACM,), - ((Q_APPS_CONTROL_MODE, 1),), -) - -ROLE_ARN: StaticSchema = (3, n0, _RA, 0) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _Ta, 0, (_k, _v), ((TAG_KEY, 1), (TAG_VALUE, 1))) - -TAGS: StaticSchema = (16, n0, _Tag, 0, (_m,), ((TAG, 0),)) - -CREATE_APPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _CAI, - {_sSI: _cCAR, _smit: None}, - (_dN, _rA, _iT, _iIPA, _iCIA, _cIFOIDC, _d, _eC, _ta, _cT, _aCt, _qAC, _pC, _qSC), - ( - (APPLICATION_NAME, 1), - (ROLE_ARN, 0), - (IDENTITY_TYPE, 0), - (IAM_IDENTITY_PROVIDER_ARN, 0), - (INSTANCE_ARN, 0), - (CLIENT_IDS_FOR_OIDC, 0), - (DESCRIPTION, 0), - (ENCRYPTION_CONFIGURATION, 0), - (TAGS, 0), - (CLIENT_TOKEN, 2), - (ATTACHMENTS_CONFIGURATION, 0), - (Q_APPS_CONFIGURATION, 0), - (PERSONALIZATION_CONFIGURATION, 0), - (QUICK_SIGHT_CONFIGURATION, 0), - ), -) - -CREATE_APPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CAO, - {_sSI: _cCARo, _smith: None}, - (_aIp, _aA), - ((APPLICATION_ID, 0), (APPLICATION_ARN, 0)), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_sm: _se, _sE: 500}, - (_me,), - ((ERROR_MESSAGE, 1),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_sm: _c, _sE: 404}, - (_me, _rI, _rT), - ((ERROR_MESSAGE, 1), (STRING, 1), (STRING, 1)), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_sm: _c, _sE: 402}, - (_me, _rI, _rT), - ((ERROR_MESSAGE, 1), (STRING, 1), (STRING, 1)), -) - -THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - {_sm: _c, _sE: 429}, - (_me,), - ((ERROR_MESSAGE, 1),), -) - -VALIDATION_EXCEPTION_FIELD: StaticSchema = ( - 18, - n0, - _VEF, - 0, - (_n, _me), - ((STRING, 1), (STRING, 1)), -) - -VALIDATION_EXCEPTION_FIELDS: StaticSchema = ( - 16, - n0, - _VEFa, - 0, - (_m,), - ((VALIDATION_EXCEPTION_FIELD, 0),), -) - -VALIDATION_EXCEPTION_REASON: StaticSchema = ( - 14, - n0, - _VER, - 0, - (_CP, _FVF, _UO), - ((-1, {_sV: _CP}), (-1, {_sV: _FVF}), (-1, {_sV: _UO})), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_sm: _c, _sE: 400}, - (_me, _re, _f), - ( - (ERROR_MESSAGE, 1), - (VALIDATION_EXCEPTION_REASON, 1), - (VALIDATION_EXCEPTION_FIELDS, 0), - ), -) - -CREATE_APPLICATION: StaticOperationSchema = ( - 23, - n0, - _CA, - {_smithy: MappingProxyType({"uri": "/applications", "method": "POST"})}, - CREATE_APPLICATION_INPUT, - CREATE_APPLICATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -IDC_TRUSTED_TOKEN_ISSUER_ARN: StaticSchema = (3, n0, _ITTIA, 0) - -DATA_ACCESSOR_IDC_TRUSTED_TOKEN_ISSUER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DAITTIC, - 0, - (_iTTIA,), - ((IDC_TRUSTED_TOKEN_ISSUER_ARN, 1),), -) - -DATA_ACCESSOR_AUTHENTICATION_CONFIGURATION: StaticSchema = ( - 19, - n0, - _DAAC, - 0, - (_iTTIC,), - ((DATA_ACCESSOR_IDC_TRUSTED_TOKEN_ISSUER_CONFIGURATION, 0),), -) - -DATA_ACCESSOR_AUTHENTICATION_TYPE: StaticSchema = ( - 14, - n0, - _DAAT, - 0, - (_AIIT, _AIIAC), - ((-1, {_sV: _AIIT}), (-1, {_sV: _AIIAC})), -) - -DATA_ACCESSOR_EXTERNAL_ID: StaticSchema = (3, n0, _DAEI, 0) - -DATA_ACCESSOR_EXTERNAL_IDS: StaticSchema = ( - 16, - n0, - _DAEIa, - 0, - (_m,), - ((DATA_ACCESSOR_EXTERNAL_ID, 0),), -) - -DATA_ACCESSOR_AUTHENTICATION_DETAIL: StaticSchema = ( - 18, - n0, - _DAAD, - 0, - (_aT, _aCu, _eI), - ( - (DATA_ACCESSOR_AUTHENTICATION_TYPE, 1), - (DATA_ACCESSOR_AUTHENTICATION_CONFIGURATION, 0), - (DATA_ACCESSOR_EXTERNAL_IDS, 0), - ), -) - -DATA_ACCESSOR_NAME: StaticSchema = (3, n0, _DAN, 4) - -PRINCIPAL_ROLE_ARN: StaticSchema = (3, n0, _PRA, 0) - -DATA_ACCESSOR_ARN: StaticSchema = (3, n0, _DAA, 0) - -DATA_ACCESSOR_ID: StaticSchema = (3, n0, _DAI, 0) - -IDC_APPLICATION_ARN: StaticSchema = (3, n0, _IAA, 0) - -CREATE_DATA_ACCESSOR_OUTPUT: StaticSchema = ( - 18, - n0, - _CDAO, - {_sSI: _cCDAR, _smith: None}, - (_dAI, _iAA, _dAA), - ((DATA_ACCESSOR_ID, 1), (IDC_APPLICATION_ARN, 1), (DATA_ACCESSOR_ARN, 1)), -) - -DELETE_DATA_ACCESSOR_INPUT: StaticSchema = ( - 18, - n0, - _DDAI, - {_sSI: _cDDAR, _smit: None}, - (_aIp, _dAI), - ((APPLICATION_ID, 9), (DATA_ACCESSOR_ID, 9)), -) - -DELETE_DATA_ACCESSOR_OUTPUT: StaticSchema = ( - 18, - n0, - _DDAO, - {_sSI: _cDDARo, _smith: None}, -) - -DELETE_DATA_ACCESSOR: StaticOperationSchema = ( - 23, - n0, - _DDA, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/dataaccessors/{dataAccessorId}", - "method": "DELETE", - } - ) - }, - DELETE_DATA_ACCESSOR_INPUT, - DELETE_DATA_ACCESSOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_DATA_ACCESSOR_INPUT: StaticSchema = ( - 18, - n0, - _GDAI, - {_sSI: _cGDAR, _smit: None}, - (_aIp, _dAI), - ((APPLICATION_ID, 9), (DATA_ACCESSOR_ID, 9)), -) - -MAX_RESULTS_INTEGER_FOR_LIST_DATA_ACCESSORS: StaticSchema = (7, n0, _MRIFLDA, 0) - -NEXT_TOKEN1500: StaticSchema = (3, n0, _NT, 0) - -LIST_DATA_ACCESSORS_INPUT: StaticSchema = ( - 18, - n0, - _LDAI, - {_sSI: _cLDAR, _smit: None}, - (_aIp, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (NEXT_TOKEN1500, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_DATA_ACCESSORS, {_sQ: _mRa}), - ), -) - -DATA_ACCESSOR: StaticSchema = ( - 18, - n0, - _DAa, - 0, - (_dN, _dAI, _dAA, _iAA, _pr, _aD, _cA, _uA), - ( - (DATA_ACCESSOR_NAME, 0), - (DATA_ACCESSOR_ID, 0), - (DATA_ACCESSOR_ARN, 0), - (IDC_APPLICATION_ARN, 0), - (PRINCIPAL_ROLE_ARN, 0), - (DATA_ACCESSOR_AUTHENTICATION_DETAIL, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -DATA_ACCESSORS: StaticSchema = (16, n0, _DAat, 0, (_m,), ((DATA_ACCESSOR, 0),)) - -LIST_DATA_ACCESSORS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDAO, - {_sSI: _cLDARo, _smith: None}, - (_dA, _nT), - ((DATA_ACCESSORS, 0), (NEXT_TOKEN1500, 0)), -) - -LIST_DATA_ACCESSORS: StaticOperationSchema = ( - 23, - n0, - _LDA, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/dataaccessors", "method": "GET"} - ) - }, - LIST_DATA_ACCESSORS_INPUT, - LIST_DATA_ACCESSORS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_DATA_ACCESSOR_OUTPUT: StaticSchema = ( - 18, - n0, - _UDAO, - {_sSI: _cUDAR, _smith: None}, -) - -DELETE_APPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _DAIe, - {_sSI: _cDAR, _smit: None}, - (_aIp,), - ((APPLICATION_ID, 9),), -) - -DELETE_APPLICATION_OUTPUT: StaticSchema = (18, n0, _DAO, {_sSI: _cDARo, _smith: None}) - -DELETE_APPLICATION: StaticOperationSchema = ( - 23, - n0, - _DAe, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}", "method": "DELETE"} - ) - }, - DELETE_APPLICATION_INPUT, - DELETE_APPLICATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_APPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _GAI, - {_sSI: _cGAR, _smit: None}, - (_aIp,), - ((APPLICATION_ID, 9),), -) - -APPLIED_ATTACHMENTS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AAC, - 0, - (_aCM,), - ((ATTACHMENTS_CONTROL_MODE, 0),), -) - -AUTO_SUBSCRIPTION_STATUS: StaticSchema = ( - 14, - n0, - _ASS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -SUBSCRIPTION_TYPE: StaticSchema = ( - 14, - n0, - _ST, - 0, - (_QL, _QB), - ((-1, {_sV: _QL}), (-1, {_sV: _QB})), -) - -AUTO_SUBSCRIPTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ASC, - 0, - (_aS, _dST), - ((AUTO_SUBSCRIPTION_STATUS, 1), (SUBSCRIPTION_TYPE, 0)), -) - -ERROR_CODE: StaticSchema = ( - 14, - n0, - _ECr, - 0, - (_IE, _IR, _RI, _RNF), - ((-1, {_sV: _IEn}), (-1, {_sV: _IRn}), (-1, {_sV: _RIe}), (-1, {_sV: _RNFe})), -) - -ERROR_DETAIL: StaticSchema = ( - 18, - n0, - _ED, - 0, - (_eM, _eCr), - ((ERROR_MESSAGE, 0), (ERROR_CODE, 0)), -) - -GET_APPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GAO, - {_sSI: _cGARo, _smith: None}, - ( - _dN, - _aIp, - _aA, - _iT, - _iIPA, - _iCAA, - _rA, - _st, - _d, - _eC, - _cA, - _uA, - _e, - _aCt, - _qAC, - _pC, - _aSC, - _cIFOIDC, - _qSC, - ), - ( - (APPLICATION_NAME, 0), - (APPLICATION_ID, 0), - (APPLICATION_ARN, 0), - (IDENTITY_TYPE, 0), - (IAM_IDENTITY_PROVIDER_ARN, 0), - (IDC_APPLICATION_ARN, 0), - (ROLE_ARN, 0), - (APPLICATION_STATUS, 0), - (DESCRIPTION, 0), - (ENCRYPTION_CONFIGURATION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (ERROR_DETAIL, 0), - (APPLIED_ATTACHMENTS_CONFIGURATION, 0), - (Q_APPS_CONFIGURATION, 0), - (PERSONALIZATION_CONFIGURATION, 0), - (AUTO_SUBSCRIPTION_CONFIGURATION, 0), - (CLIENT_IDS_FOR_OIDC, 0), - (QUICK_SIGHT_CONFIGURATION, 0), - ), -) - -GET_APPLICATION: StaticOperationSchema = ( - 23, - n0, - _GA, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}", "method": "GET"} - ) - }, - GET_APPLICATION_INPUT, - GET_APPLICATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INDEX_CAPACITY_INTEGER: StaticSchema = (7, n0, _ICI, 0) - -INDEX_CAPACITY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ICC, - 0, - (_un,), - ((INDEX_CAPACITY_INTEGER, 0),), -) - -INDEX_NAME: StaticSchema = (3, n0, _IN, 0) - -INDEX_TYPE: StaticSchema = ( - 14, - n0, - _ITn, - 0, - (_ENTERPRISE, _STARTER), - ((-1, {_sV: _ENTERPRISE}), (-1, {_sV: _STARTER})), -) - -CREATE_INDEX_INPUT: StaticSchema = ( - 18, - n0, - _CII, - {_sSI: _cCIR, _smit: None}, - (_aIp, _dN, _d, _t, _ta, _cC, _cT), - ( - (APPLICATION_ID, 9), - (INDEX_NAME, 1), - (DESCRIPTION, 0), - (INDEX_TYPE, 0), - (TAGS, 0), - (INDEX_CAPACITY_CONFIGURATION, 0), - (CLIENT_TOKEN, 2), - ), -) - -INDEX_ARN: StaticSchema = (3, n0, _IAn, 0) - -INDEX_ID: StaticSchema = (3, n0, _II, 0) - -CREATE_INDEX_OUTPUT: StaticSchema = ( - 18, - n0, - _CIO, - {_sSI: _cCIRo, _smith: None}, - (_iI, _iA), - ((INDEX_ID, 0), (INDEX_ARN, 0)), -) - -CREATE_INDEX: StaticOperationSchema = ( - 23, - n0, - _CIr, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/indices", "method": "POST"} - ) - }, - CREATE_INDEX_INPUT, - CREATE_INDEX_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DATA_SOURCE_CONFIGURATION: StaticSchema = (13, n0, _DSC, 0) - -DATA_SOURCE_NAME: StaticSchema = (3, n0, _DSN, 0) - -DOCUMENT_ENRICHMENT_CONDITION_OPERATOR: StaticSchema = ( - 14, - n0, - _DECO, - 0, - (_GT, _GTOE, _LT, _LTOE, _EQUALS, _NE, _CONTAINS, _NC, _EXISTS, _NE_, _BW), - ( - (-1, {_sV: _GT}), - (-1, {_sV: _GTOE}), - (-1, {_sV: _LT}), - (-1, {_sV: _LTOE}), - (-1, {_sV: _EQUALS}), - (-1, {_sV: _NE}), - (-1, {_sV: _CONTAINS}), - (-1, {_sV: _NC}), - (-1, {_sV: _EXISTS}), - (-1, {_sV: _NE_}), - (-1, {_sV: _BW}), - ), -) - -DOCUMENT_ATTRIBUTE_CONDITION: StaticSchema = ( - 18, - n0, - _DAC, - 0, - (_k, _o, _v), - ( - (DOCUMENT_ATTRIBUTE_KEY, 1), - (DOCUMENT_ENRICHMENT_CONDITION_OPERATOR, 1), - (DOCUMENT_ATTRIBUTE_VALUE, 0), - ), -) - -DOCUMENT_CONTENT_OPERATOR: StaticSchema = ( - 14, - n0, - _DCO, - 0, - (_DELETE,), - ((-1, {_sV: _DELETE}),), -) - -ATTRIBUTE_VALUE_OPERATOR: StaticSchema = ( - 14, - n0, - _AVO, - 0, - (_DELETE,), - ((-1, {_sV: _DELETE}),), -) - -DOCUMENT_ATTRIBUTE_TARGET: StaticSchema = ( - 18, - n0, - _DAT, - 0, - (_k, _v, _aVO), - ( - (DOCUMENT_ATTRIBUTE_KEY, 1), - (DOCUMENT_ATTRIBUTE_VALUE, 0), - (ATTRIBUTE_VALUE_OPERATOR, 0), - ), -) - -INLINE_DOCUMENT_ENRICHMENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IDEC, - 0, - (_co, _tar, _dCO), - ( - (DOCUMENT_ATTRIBUTE_CONDITION, 0), - (DOCUMENT_ATTRIBUTE_TARGET, 0), - (DOCUMENT_CONTENT_OPERATOR, 0), - ), -) - -INLINE_DOCUMENT_ENRICHMENT_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _IDECn, - 0, - (_m,), - ((INLINE_DOCUMENT_ENRICHMENT_CONFIGURATION, 0),), -) - -LAMBDA_ARN: StaticSchema = (3, n0, _LA, 0) - -HOOK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HC, - 0, - (_iC, _lA, _sBN, _rA), - ( - (DOCUMENT_ATTRIBUTE_CONDITION, 0), - (LAMBDA_ARN, 0), - (S3_BUCKET_NAME, 0), - (ROLE_ARN, 0), - ), -) - -DOCUMENT_ENRICHMENT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DEC, - 0, - (_iCn, _pEHC, _pEHCo), - ( - (INLINE_DOCUMENT_ENRICHMENT_CONFIGURATIONS, 0), - (HOOK_CONFIGURATION, 0), - (HOOK_CONFIGURATION, 0), - ), -) - -AUDIO_EXTRACTION_STATUS: StaticSchema = ( - 14, - n0, - _AES, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -AUDIO_EXTRACTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AEC, - 0, - (_aES,), - ((AUDIO_EXTRACTION_STATUS, 1),), -) - -IMAGE_EXTRACTION_STATUS: StaticSchema = ( - 14, - n0, - _IES, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -IMAGE_EXTRACTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IEC, - 0, - (_iES,), - ((IMAGE_EXTRACTION_STATUS, 1),), -) - -VIDEO_EXTRACTION_STATUS: StaticSchema = ( - 14, - n0, - _VES, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -VIDEO_EXTRACTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VEC, - 0, - (_vES,), - ((VIDEO_EXTRACTION_STATUS, 1),), -) - -MEDIA_EXTRACTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MEC, - 0, - (_iEC, _aEC, _vEC), - ( - (IMAGE_EXTRACTION_CONFIGURATION, 0), - (AUDIO_EXTRACTION_CONFIGURATION, 0), - (VIDEO_EXTRACTION_CONFIGURATION, 0), - ), -) - -SYNC_SCHEDULE: StaticSchema = (3, n0, _SS, 0) - -SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGI, 0) - -SECURITY_GROUP_IDS: StaticSchema = (16, n0, _SGIe, 0, (_m,), ((SECURITY_GROUP_ID, 0),)) - -SUBNET_ID: StaticSchema = (3, n0, _SI, 0) - -SUBNET_IDS: StaticSchema = (16, n0, _SIu, 0, (_m,), ((SUBNET_ID, 0),)) - -DATA_SOURCE_VPC_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DSVC, - 0, - (_sI, _sGI), - ((SUBNET_IDS, 1), (SECURITY_GROUP_IDS, 1)), -) - -CREATE_DATA_SOURCE_INPUT: StaticSchema = ( - 18, - n0, - _CDSI, - {_sSI: _cCDSR, _smit: None}, - (_aIp, _iI, _dN, _con, _vC, _d, _ta, _sS, _rA, _cT, _dEC, _mEC), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (DATA_SOURCE_NAME, 1), - (DATA_SOURCE_CONFIGURATION, 1), - (DATA_SOURCE_VPC_CONFIGURATION, 0), - (DESCRIPTION, 0), - (TAGS, 0), - (SYNC_SCHEDULE, 0), - (ROLE_ARN, 0), - (CLIENT_TOKEN, 2), - (DOCUMENT_ENRICHMENT_CONFIGURATION, 0), - (MEDIA_EXTRACTION_CONFIGURATION, 0), - ), -) - -DATA_SOURCE_ARN: StaticSchema = (3, n0, _DSA, 0) - -DATA_SOURCE_ID: StaticSchema = (3, n0, _DSI, 0) - -CREATE_DATA_SOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _CDSO, - {_sSI: _cCDSRo, _smith: None}, - (_dSI, _dSA), - ((DATA_SOURCE_ID, 0), (DATA_SOURCE_ARN, 0)), -) - -CREATE_DATA_SOURCE: StaticOperationSchema = ( - 23, - n0, - _CDS, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/indices/{indexId}/datasources", - "method": "POST", - } - ) - }, - CREATE_DATA_SOURCE_INPUT, - CREATE_DATA_SOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_DATA_SOURCE_INPUT: StaticSchema = ( - 18, - n0, - _DDSI, - {_sSI: _cDDSR, _smit: None}, - (_aIp, _iI, _dSI), - ((APPLICATION_ID, 9), (INDEX_ID, 9), (DATA_SOURCE_ID, 9)), -) - -DELETE_DATA_SOURCE_OUTPUT: StaticSchema = (18, n0, _DDSO, {_sSI: _cDDSRo, _smith: None}) - -DELETE_DATA_SOURCE: StaticOperationSchema = ( - 23, - n0, - _DDS, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", - "method": "DELETE", - } - ) - }, - DELETE_DATA_SOURCE_INPUT, - DELETE_DATA_SOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_DATA_SOURCE_INPUT: StaticSchema = ( - 18, - n0, - _GDSI, - {_sSI: _cGDSR, _smit: None}, - (_aIp, _iI, _dSI), - ((APPLICATION_ID, 9), (INDEX_ID, 9), (DATA_SOURCE_ID, 9)), -) - -DATA_SOURCE_STATUS: StaticSchema = ( - 14, - n0, - _DSS, - 0, - (_PC_, _CREATING, _ACTIVE, _DELETING, _FAILED, _UPDATING), - ( - (-1, {_sV: _PC_}), - (-1, {_sV: _CREATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _UPDATING}), - ), -) - -GET_DATA_SOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _GDSO, - {_sSI: _cGDSRo, _smith: None}, - ( - _aIp, - _iI, - _dSI, - _dSA, - _dN, - _t, - _con, - _vC, - _cA, - _uA, - _d, - _st, - _sS, - _rA, - _e, - _dEC, - _mEC, - ), - ( - (APPLICATION_ID, 0), - (INDEX_ID, 0), - (DATA_SOURCE_ID, 0), - (DATA_SOURCE_ARN, 0), - (DATA_SOURCE_NAME, 0), - (STRING, 0), - (DATA_SOURCE_CONFIGURATION, 0), - (DATA_SOURCE_VPC_CONFIGURATION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (DESCRIPTION, 0), - (DATA_SOURCE_STATUS, 0), - (SYNC_SCHEDULE, 0), - (ROLE_ARN, 0), - (ERROR_DETAIL, 0), - (DOCUMENT_ENRICHMENT_CONFIGURATION, 0), - (MEDIA_EXTRACTION_CONFIGURATION, 0), - ), -) - -GET_DATA_SOURCE: StaticOperationSchema = ( - 23, - n0, - _GDS, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", - "method": "GET", - } - ) - }, - GET_DATA_SOURCE_INPUT, - GET_DATA_SOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES: StaticSchema = (7, n0, _MRIFLDS, 0) - -NEXT_TOKEN: StaticSchema = (3, n0, _NTe, 0) - -LIST_DATA_SOURCES_INPUT: StaticSchema = ( - 18, - n0, - _LDSI, - {_sSI: _cLDSR, _smit: None}, - (_aIp, _iI, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES, {_sQ: _mRa}), - ), -) - -DATA_SOURCE: StaticSchema = ( - 18, - n0, - _DS, - 0, - (_dN, _dSI, _t, _cA, _uA, _st), - ( - (DATA_SOURCE_NAME, 0), - (DATA_SOURCE_ID, 0), - (STRING, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (DATA_SOURCE_STATUS, 0), - ), -) - -DATA_SOURCES: StaticSchema = (16, n0, _DSa, 0, (_m,), ((DATA_SOURCE, 0),)) - -LIST_DATA_SOURCES_OUTPUT: StaticSchema = ( - 18, - n0, - _LDSO, - {_sSI: _cLDSRo, _smith: None}, - (_dS, _nT), - ((DATA_SOURCES, 0), (NEXT_TOKEN, 0)), -) - -LIST_DATA_SOURCES: StaticOperationSchema = ( - 23, - n0, - _LDS, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/indices/{indexId}/datasources", - "method": "GET", - } - ) - }, - LIST_DATA_SOURCES_INPUT, - LIST_DATA_SOURCES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_DATA_SOURCE_INPUT: StaticSchema = ( - 18, - n0, - _UDSI, - {_sSI: _cUDSR, _smit: None}, - (_aIp, _iI, _dSI, _dN, _con, _vC, _d, _sS, _rA, _dEC, _mEC), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (DATA_SOURCE_ID, 9), - (DATA_SOURCE_NAME, 0), - (DATA_SOURCE_CONFIGURATION, 0), - (DATA_SOURCE_VPC_CONFIGURATION, 0), - (DESCRIPTION, 0), - (SYNC_SCHEDULE, 0), - (ROLE_ARN, 0), - (DOCUMENT_ENRICHMENT_CONFIGURATION, 0), - (MEDIA_EXTRACTION_CONFIGURATION, 0), - ), -) - -UPDATE_DATA_SOURCE_OUTPUT: StaticSchema = (18, n0, _UDSO, {_sSI: _cUDSRo, _smith: None}) - -UPDATE_DATA_SOURCE: StaticOperationSchema = ( - 23, - n0, - _UDS, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", - "method": "PUT", - } - ) - }, - UPDATE_DATA_SOURCE_INPUT, - UPDATE_DATA_SOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_INDEX_INPUT: StaticSchema = ( - 18, - n0, - _DII, - {_sSI: _cDIR, _smit: None}, - (_aIp, _iI), - ((APPLICATION_ID, 9), (INDEX_ID, 9)), -) - -DELETE_INDEX_OUTPUT: StaticSchema = (18, n0, _DIO, {_sSI: _cDIRo, _smith: None}) - -DELETE_INDEX: StaticOperationSchema = ( - 23, - n0, - _DI, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/indices/{indexId}", - "method": "DELETE", - } - ) - }, - DELETE_INDEX_INPUT, - DELETE_INDEX_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_INDEX_INPUT: StaticSchema = ( - 18, - n0, - _GII, - {_sSI: _cGIR, _smit: None}, - (_aIp, _iI), - ((APPLICATION_ID, 9), (INDEX_ID, 9)), -) - -DOCUMENT_METADATA_CONFIGURATION_NAME: StaticSchema = (3, n0, _DMCN, 0) - -STATUS: StaticSchema = ( - 14, - n0, - _St, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -ATTRIBUTE_TYPE: StaticSchema = ( - 14, - n0, - _AT, - 0, - (_STRING, _SL, _NUMBER, _DATE), - ((-1, {_sV: _STRING}), (-1, {_sV: _SL}), (-1, {_sV: _NUMBER}), (-1, {_sV: _DATE})), -) - -DOCUMENT_ATTRIBUTE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DACo, - 0, - (_n, _t, _sea), - ((DOCUMENT_METADATA_CONFIGURATION_NAME, 0), (ATTRIBUTE_TYPE, 0), (STATUS, 0)), -) - -DOCUMENT_ATTRIBUTE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _DACoc, - 0, - (_m,), - ((DOCUMENT_ATTRIBUTE_CONFIGURATION, 0),), -) - -INDEXED_TEXT_BYTES: StaticSchema = (8, n0, _ITB, 0) - -INDEXED_TEXT_DOCUMENT: StaticSchema = (7, n0, _ITD, 0) - -TEXT_DOCUMENT_STATISTICS: StaticSchema = ( - 18, - n0, - _TDS, - 0, - (_iTB, _iTDC), - ((INDEXED_TEXT_BYTES, 0), (INDEXED_TEXT_DOCUMENT, 0)), -) - -INDEX_STATISTICS: StaticSchema = ( - 18, - n0, - _IS, - 0, - (_tDS,), - ((TEXT_DOCUMENT_STATISTICS, 0),), -) - -INDEX_STATUS: StaticSchema = ( - 14, - n0, - _ISn, - 0, - (_CREATING, _ACTIVE, _DELETING, _FAILED, _UPDATING), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _UPDATING}), - ), -) - -GET_INDEX_OUTPUT: StaticSchema = ( - 18, - n0, - _GIO, - {_sSI: _cGIRo, _smith: None}, - (_aIp, _iI, _dN, _iA, _st, _t, _d, _cA, _uA, _cC, _dAC, _e, _iS), - ( - (APPLICATION_ID, 0), - (INDEX_ID, 0), - (INDEX_NAME, 0), - (INDEX_ARN, 0), - (INDEX_STATUS, 0), - (INDEX_TYPE, 0), - (DESCRIPTION, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (INDEX_CAPACITY_CONFIGURATION, 0), - (DOCUMENT_ATTRIBUTE_CONFIGURATIONS, 0), - (ERROR_DETAIL, 0), - (INDEX_STATISTICS, 0), - ), -) - -GET_INDEX: StaticOperationSchema = ( - 23, - n0, - _GI, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/indices/{indexId}", "method": "GET"} - ) - }, - GET_INDEX_INPUT, - GET_INDEX_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_INDICES: StaticSchema = (7, n0, _MRIFLI, 0) - -LIST_INDICES_INPUT: StaticSchema = ( - 18, - n0, - _LII, - {_sSI: _cLIR, _smit: None}, - (_aIp, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_INDICES, {_sQ: _mRa}), - ), -) - -INDEX: StaticSchema = ( - 18, - n0, - _In, - 0, - (_dN, _iI, _cA, _uA, _st), - ((INDEX_NAME, 0), (INDEX_ID, 0), (TIMESTAMP, 0), (TIMESTAMP, 0), (INDEX_STATUS, 0)), -) - -INDICES: StaticSchema = (16, n0, _Ind, 0, (_m,), ((INDEX, 0),)) - -LIST_INDICES_OUTPUT: StaticSchema = ( - 18, - n0, - _LIO, - {_sSI: _cLIRo, _smith: None}, - (_nT, _in), - ((NEXT_TOKEN, 0), (INDICES, 0)), -) - -LIST_INDICES: StaticOperationSchema = ( - 23, - n0, - _LI, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/indices", "method": "GET"} - ) - }, - LIST_INDICES_INPUT, - LIST_INDICES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_INDEX_INPUT: StaticSchema = ( - 18, - n0, - _UII, - {_sSI: _cUIR, _smit: None}, - (_aIp, _iI, _dN, _d, _cC, _dAC), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (APPLICATION_NAME, 0), - (DESCRIPTION, 0), - (INDEX_CAPACITY_CONFIGURATION, 0), - (DOCUMENT_ATTRIBUTE_CONFIGURATIONS, 0), - ), -) - -UPDATE_INDEX_OUTPUT: StaticSchema = (18, n0, _UIO, {_sSI: _cUIRo, _smith: None}) - -UPDATE_INDEX: StaticOperationSchema = ( - 23, - n0, - _UIp, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/indices/{indexId}", "method": "PUT"} - ) - }, - UPDATE_INDEX_INPUT, - UPDATE_INDEX_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -INTEGRATION_ID: StaticSchema = (3, n0, _IIn, 0) - -MAX_RESULTS_INTEGER_FOR_LIST_APPLICATIONS: StaticSchema = (7, n0, _MRIFLA, 0) - -LIST_APPLICATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LAI, - {_sSI: _cLAR, _smit: None}, - (_nT, _mRa), - ( - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_APPLICATIONS, {_sQ: _mRa}), - ), -) - -APPLICATIONS: StaticSchema = (16, n0, _App, 0, (_m,), ((APPLICATION, 0),)) - -LIST_APPLICATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAO, - {_sSI: _cLARo, _smith: None}, - (_nT, _ap), - ((NEXT_TOKEN, 0), (APPLICATIONS, 0)), -) - -LIST_APPLICATIONS: StaticOperationSchema = ( - 23, - n0, - _LAi, - {_smithy: MappingProxyType({"uri": "/applications", "method": "GET"})}, - LIST_APPLICATIONS_INPUT, - LIST_APPLICATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SECRET_ARN: StaticSchema = (3, n0, _SA, 0) - -BASIC_AUTH_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BAC, - 0, - (_sA, _rA), - ((SECRET_ARN, 1), (ROLE_ARN, 1)), -) - -IDC_AUTH_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IAC, - 0, - (_iAA, _rA), - ((IDC_APPLICATION_ARN, 1), (ROLE_ARN, 1)), -) - -NO_AUTH_CONFIGURATION: StaticSchema = (18, n0, _NAC, 0) - -URL: StaticSchema = (3, n0, _U, 0) - -O_AUTH2_CLIENT_CREDENTIAL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OACCC, - 0, - (_sA, _rA, _aU, _tU), - ((SECRET_ARN, 1), (ROLE_ARN, 1), (URL, 0), (URL, 0)), -) - -PLUGIN_AUTH_CONFIGURATION: StaticSchema = ( - 19, - n0, - _PAC, - 0, - (_bAC, _oACCC, _nAC, _iAC), - ( - (BASIC_AUTH_CONFIGURATION, 0), - (O_AUTH2_CLIENT_CREDENTIAL_CONFIGURATION, 0), - (NO_AUTH_CONFIGURATION, 0), - (IDC_AUTH_CONFIGURATION, 0), - ), -) - -PLUGIN_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) - -CUSTOM_PLUGIN_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CPC, - 0, - (_d, _aST, _aSp), - ((PLUGIN_DESCRIPTION, 1), (API_SCHEMA_TYPE, 1), (API_SCHEMA, 0)), -) - -PLUGIN_NAME: StaticSchema = (3, n0, _PN, 0) - -CREATE_PLUGIN_INPUT: StaticSchema = ( - 18, - n0, - _CPI, - {_sSI: _cCPR, _smit: None}, - (_aIp, _dN, _t, _aCut, _sU, _cPC, _ta, _cT), - ( - (APPLICATION_ID, 9), - (PLUGIN_NAME, 1), - (PLUGIN_TYPE, 1), - (PLUGIN_AUTH_CONFIGURATION, 1), - (URL, 0), - (CUSTOM_PLUGIN_CONFIGURATION, 0), - (TAGS, 0), - (CLIENT_TOKEN, 2), - ), -) - -PLUGIN_BUILD_STATUS: StaticSchema = ( - 14, - n0, - _PBS, - 0, - (_READY, _CIP, _CF, _UIP, _UF, _DIP, _DF), - ( - (-1, {_sV: _READY}), - (-1, {_sV: _CIP}), - (-1, {_sV: _CF}), - (-1, {_sV: _UIP}), - (-1, {_sV: _UF}), - (-1, {_sV: _DIP}), - (-1, {_sV: _DF}), - ), -) - -PLUGIN_ARN: StaticSchema = (3, n0, _PAl, 0) - -CREATE_PLUGIN_OUTPUT: StaticSchema = ( - 18, - n0, - _CPO, - {_sSI: _cCPRo, _smith: None}, - (_pI, _pA, _bS), - ((PLUGIN_ID, 0), (PLUGIN_ARN, 0), (PLUGIN_BUILD_STATUS, 0)), -) - -CREATE_PLUGIN: StaticOperationSchema = ( - 23, - n0, - _CPr, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/applications/{applicationId}/plugins"} - ) - }, - CREATE_PLUGIN_INPUT, - CREATE_PLUGIN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_PLUGIN_INPUT: StaticSchema = ( - 18, - n0, - _DPI, - {_sSI: _cDPR, _smit: None}, - (_aIp, _pI), - ((APPLICATION_ID, 9), (PLUGIN_ID, 9)), -) - -DELETE_PLUGIN_OUTPUT: StaticSchema = (18, n0, _DPO, {_sSI: _cDPRo, _smith: None}) - -DELETE_PLUGIN: StaticOperationSchema = ( - 23, - n0, - _DP, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/applications/{applicationId}/plugins/{pluginId}", - } - ) - }, - DELETE_PLUGIN_INPUT, - DELETE_PLUGIN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_PLUGIN_INPUT: StaticSchema = ( - 18, - n0, - _GPI, - {_sSI: _cGPR, _smit: None}, - (_aIp, _pI), - ((APPLICATION_ID, 9), (PLUGIN_ID, 9)), -) - -PLUGIN_STATE: StaticSchema = ( - 14, - n0, - _PS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -GET_PLUGIN_OUTPUT: StaticSchema = ( - 18, - n0, - _GPO, - {_sSI: _cGPRo, _smith: None}, - (_aIp, _pI, _dN, _t, _sU, _aCut, _cPC, _bS, _pA, _sta, _cA, _uA), - ( - (APPLICATION_ID, 0), - (PLUGIN_ID, 0), - (PLUGIN_NAME, 0), - (PLUGIN_TYPE, 0), - (URL, 0), - (PLUGIN_AUTH_CONFIGURATION, 0), - (CUSTOM_PLUGIN_CONFIGURATION, 0), - (PLUGIN_BUILD_STATUS, 0), - (PLUGIN_ARN, 0), - (PLUGIN_STATE, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -GET_PLUGIN: StaticOperationSchema = ( - 23, - n0, - _GP, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/applications/{applicationId}/plugins/{pluginId}"} - ) - }, - GET_PLUGIN_INPUT, - GET_PLUGIN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_PLUGINS: StaticSchema = (7, n0, _MRIFLP, 0) - -LIST_PLUGINS_INPUT: StaticSchema = ( - 18, - n0, - _LPI, - {_sSI: _cLPR, _smit: None}, - (_aIp, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_PLUGINS, {_sQ: _mRa}), - ), -) - -PLUGIN: StaticSchema = ( - 18, - n0, - _Pl, - 0, - (_pI, _dN, _t, _sU, _sta, _bS, _cA, _uA), - ( - (PLUGIN_ID, 0), - (PLUGIN_NAME, 0), - (PLUGIN_TYPE, 0), - (URL, 0), - (PLUGIN_STATE, 0), - (PLUGIN_BUILD_STATUS, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -PLUGINS: StaticSchema = (16, n0, _Plu, 0, (_m,), ((PLUGIN, 0),)) - -LIST_PLUGINS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPO, - {_sSI: _cLPRo, _smith: None}, - (_nT, _pl), - ((NEXT_TOKEN, 0), (PLUGINS, 0)), -) - -LIST_PLUGINS: StaticOperationSchema = ( - 23, - n0, - _LP, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/applications/{applicationId}/plugins"} - ) - }, - LIST_PLUGINS_INPUT, - LIST_PLUGINS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_PLUGIN_INPUT: StaticSchema = ( - 18, - n0, - _UPI, - {_sSI: _cUPR, _smit: None}, - (_aIp, _pI, _dN, _sta, _sU, _cPC, _aCut), - ( - (APPLICATION_ID, 9), - (PLUGIN_ID, 9), - (PLUGIN_NAME, 0), - (PLUGIN_STATE, 0), - (URL, 0), - (CUSTOM_PLUGIN_CONFIGURATION, 0), - (PLUGIN_AUTH_CONFIGURATION, 0), - ), -) - -UPDATE_PLUGIN_OUTPUT: StaticSchema = (18, n0, _UPO, {_sSI: _cUPRo, _smith: None}) - -UPDATE_PLUGIN: StaticOperationSchema = ( - 23, - n0, - _UP, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/applications/{applicationId}/plugins/{pluginId}"} - ) - }, - UPDATE_PLUGIN_INPUT, - UPDATE_PLUGIN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -KENDRA_INDEX_ID: StaticSchema = (3, n0, _KII, 0) - -KENDRA_INDEX_CONFIGURATION: StaticSchema = ( - 18, - n0, - _KIC, - 0, - (_iI,), - ((KENDRA_INDEX_ID, 1),), -) - -BOOSTING_DURATION_IN_SECONDS: StaticSchema = (8, n0, _BDIS, 0) - -DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL: StaticSchema = ( - 14, - n0, - _DABL, - 0, - (_NONE, _LOW, _MEDIUM, _HIGH, _VH, _ONE, _TWO), - ( - (-1, {_sV: _NONE}), - (-1, {_sV: _LOW}), - (-1, {_sV: _MEDIUM}), - (-1, {_sV: _HIGH}), - (-1, {_sV: _VH}), - (-1, {_sV: _ONE}), - (-1, {_sV: _TWO}), - ), -) - -DATE_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _DABC, - 0, - (_bL, _bDIS), - ((DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL, 1), (BOOSTING_DURATION_IN_SECONDS, 0)), -) - -NUMBER_ATTRIBUTE_BOOSTING_TYPE: StaticSchema = ( - 14, - n0, - _NABT, - 0, - (_PLV, _PSV), - ((-1, {_sV: _PLV}), (-1, {_sV: _PSV})), -) - -NUMBER_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _NABC, - 0, - (_bL, _bT), - ((DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL, 1), (NUMBER_ATTRIBUTE_BOOSTING_TYPE, 0)), -) - -STRING_ATTRIBUTE_VALUE_BOOSTING_LEVEL: StaticSchema = ( - 14, - n0, - _SAVBL, - 0, - (_LOW, _MEDIUM, _HIGH, _VH, _ONE, _TWO, _THREE, _FOUR, _FIVE), - ( - (-1, {_sV: _LOW}), - (-1, {_sV: _MEDIUM}), - (-1, {_sV: _HIGH}), - (-1, {_sV: _VH}), - (-1, {_sV: _ONE}), - (-1, {_sV: _TWO}), - (-1, {_sV: _THREE}), - (-1, {_sV: _FOUR}), - (-1, {_sV: _FIVE}), - ), -) - -STRING_ATTRIBUTE_VALUE_BOOSTING: StaticSchema = ( - 17, - n0, - _SAVB, - 0, - (_k, _v), - ((STRING, 0), (STRING_ATTRIBUTE_VALUE_BOOSTING_LEVEL, 0)), -) - -STRING_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SABC, - 0, - (_bL, _aVB), - ((DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL, 1), (STRING_ATTRIBUTE_VALUE_BOOSTING, 0)), -) - -STRING_LIST_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SLABC, - 0, - (_bL,), - ((DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL, 1),), -) - -DOCUMENT_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( - 19, - n0, - _DABCo, - 0, - (_nC, _sC, _dC, _sLC), - ( - (NUMBER_ATTRIBUTE_BOOSTING_CONFIGURATION, 0), - (STRING_ATTRIBUTE_BOOSTING_CONFIGURATION, 0), - (DATE_ATTRIBUTE_BOOSTING_CONFIGURATION, 0), - (STRING_LIST_ATTRIBUTE_BOOSTING_CONFIGURATION, 0), - ), -) - -DOCUMENT_ATTRIBUTE_BOOSTING_OVERRIDE_MAP: StaticSchema = ( - 17, - n0, - _DABOM, - 0, - (_k, _v), - ((DOCUMENT_ATTRIBUTE_KEY, 0), (DOCUMENT_ATTRIBUTE_BOOSTING_CONFIGURATION, 0)), -) - -NATIVE_INDEX_CONFIGURATION: StaticSchema = ( - 18, - n0, - _NIC, - 0, - (_iI, _ve, _bO), - ((INDEX_ID, 1), (LONG, 0), (DOCUMENT_ATTRIBUTE_BOOSTING_OVERRIDE_MAP, 0)), -) - -RETRIEVER_CONFIGURATION: StaticSchema = ( - 19, - n0, - _RC, - 0, - (_nIC, _kIC), - ((NATIVE_INDEX_CONFIGURATION, 0), (KENDRA_INDEX_CONFIGURATION, 0)), -) - -RETRIEVER_NAME: StaticSchema = (3, n0, _RN, 0) - -RETRIEVER_TYPE: StaticSchema = ( - 14, - n0, - _RT, - 0, - (_NI, _KI), - ((-1, {_sV: _NI}), (-1, {_sV: _KI})), -) - -CREATE_RETRIEVER_INPUT: StaticSchema = ( - 18, - n0, - _CRI, - {_sSI: _cCRR, _smit: None}, - (_aIp, _t, _dN, _con, _rA, _cT, _ta), - ( - (APPLICATION_ID, 9), - (RETRIEVER_TYPE, 1), - (RETRIEVER_NAME, 1), - (RETRIEVER_CONFIGURATION, 1), - (ROLE_ARN, 0), - (CLIENT_TOKEN, 2), - (TAGS, 0), - ), -) - -RETRIEVER_ARN: StaticSchema = (3, n0, _RAe, 0) - -RETRIEVER_ID: StaticSchema = (3, n0, _RIet, 0) - -CREATE_RETRIEVER_OUTPUT: StaticSchema = ( - 18, - n0, - _CRO, - {_sSI: _cCRRo, _smith: None}, - (_rIe, _rAe), - ((RETRIEVER_ID, 0), (RETRIEVER_ARN, 0)), -) - -CREATE_RETRIEVER: StaticOperationSchema = ( - 23, - n0, - _CR, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/applications/{applicationId}/retrievers"} - ) - }, - CREATE_RETRIEVER_INPUT, - CREATE_RETRIEVER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_RETRIEVER_INPUT: StaticSchema = ( - 18, - n0, - _DRI, - {_sSI: _cDRR, _smit: None}, - (_aIp, _rIe), - ((APPLICATION_ID, 9), (RETRIEVER_ID, 9)), -) - -DELETE_RETRIEVER_OUTPUT: StaticSchema = (18, n0, _DRO, {_sSI: _cDRRo, _smith: None}) - -DELETE_RETRIEVER: StaticOperationSchema = ( - 23, - n0, - _DR, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/applications/{applicationId}/retrievers/{retrieverId}", - } - ) - }, - DELETE_RETRIEVER_INPUT, - DELETE_RETRIEVER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_RETRIEVER_INPUT: StaticSchema = ( - 18, - n0, - _GRI, - {_sSI: _cGRR, _smit: None}, - (_aIp, _rIe), - ((APPLICATION_ID, 9), (RETRIEVER_ID, 9)), -) - -RETRIEVER_STATUS: StaticSchema = ( - 14, - n0, - _RS, - 0, - (_CREATING, _ACTIVE, _FAILED), - ((-1, {_sV: _CREATING}), (-1, {_sV: _ACTIVE}), (-1, {_sV: _FAILED})), -) - -GET_RETRIEVER_OUTPUT: StaticSchema = ( - 18, - n0, - _GRO, - {_sSI: _cGRRo, _smith: None}, - (_aIp, _rIe, _rAe, _t, _st, _dN, _con, _rA, _cA, _uA), - ( - (APPLICATION_ID, 0), - (RETRIEVER_ID, 0), - (RETRIEVER_ARN, 0), - (RETRIEVER_TYPE, 0), - (RETRIEVER_STATUS, 0), - (RETRIEVER_NAME, 0), - (RETRIEVER_CONFIGURATION, 0), - (ROLE_ARN, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -GET_RETRIEVER: StaticOperationSchema = ( - 23, - n0, - _GR, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/applications/{applicationId}/retrievers/{retrieverId}", - } - ) - }, - GET_RETRIEVER_INPUT, - GET_RETRIEVER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_RETRIEVERS_REQUEST: StaticSchema = (7, n0, _MRIFLRR, 0) - -LIST_RETRIEVERS_INPUT: StaticSchema = ( - 18, - n0, - _LRI, - {_sSI: _cLRR, _smit: None}, - (_aIp, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_RETRIEVERS_REQUEST, {_sQ: _mRa}), - ), -) - -RETRIEVER: StaticSchema = ( - 18, - n0, - _R, - 0, - (_aIp, _rIe, _t, _st, _dN), - ( - (APPLICATION_ID, 0), - (RETRIEVER_ID, 0), - (RETRIEVER_TYPE, 0), - (RETRIEVER_STATUS, 0), - (RETRIEVER_NAME, 0), - ), -) - -RETRIEVERS: StaticSchema = (16, n0, _Re, 0, (_m,), ((RETRIEVER, 0),)) - -LIST_RETRIEVERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRO, - {_sSI: _cLRRo, _smith: None}, - (_ret, _nT), - ((RETRIEVERS, 0), (NEXT_TOKEN, 0)), -) - -LIST_RETRIEVERS: StaticOperationSchema = ( - 23, - n0, - _LR, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/retrievers", "method": "GET"} - ) - }, - LIST_RETRIEVERS_INPUT, - LIST_RETRIEVERS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_RETRIEVER_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _smit: None}, - (_aIp, _rIe, _con, _dN, _rA), - ( - (APPLICATION_ID, 9), - (RETRIEVER_ID, 9), - (RETRIEVER_CONFIGURATION, 0), - (RETRIEVER_NAME, 0), - (ROLE_ARN, 0), - ), -) - -UPDATE_RETRIEVER_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smith: None}) - -UPDATE_RETRIEVER: StaticOperationSchema = ( - 23, - n0, - _UR, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/applications/{applicationId}/retrievers/{retrieverId}", - } - ) - }, - UPDATE_RETRIEVER_INPUT, - UPDATE_RETRIEVER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_APPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _UAI, - {_sSI: _cUAR, _smit: None}, - (_aIp, _iCIA, _dN, _d, _rA, _aCt, _qAC, _pC, _aSC), - ( - (APPLICATION_ID, 9), - (INSTANCE_ARN, 0), - (APPLICATION_NAME, 0), - (DESCRIPTION, 0), - (ROLE_ARN, 0), - (ATTACHMENTS_CONFIGURATION, 0), - (Q_APPS_CONFIGURATION, 0), - (PERSONALIZATION_CONFIGURATION, 0), - (AUTO_SUBSCRIPTION_CONFIGURATION, 0), - ), -) - -UPDATE_APPLICATION_OUTPUT: StaticSchema = (18, n0, _UAO, {_sSI: _cUARo, _smith: None}) - -UPDATE_APPLICATION: StaticOperationSchema = ( - 23, - n0, - _UA, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}", "method": "PUT"} - ) - }, - UPDATE_APPLICATION_INPUT, - UPDATE_APPLICATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BROWSER_EXTENSION: StaticSchema = (3, n0, _BE, 0) - -BROWSER_EXTENSION_LIST: StaticSchema = ( - 16, - n0, - _BEL, - 0, - (_m,), - ((BROWSER_EXTENSION, 0),), -) - -BROWSER_EXTENSION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BEC, - 0, - (_eBE,), - ((BROWSER_EXTENSION_LIST, 1),), -) - -CUSTOM_CSS_URL: StaticSchema = (3, n0, _CCSSU, 0) - -FAVICON_URL: StaticSchema = (3, n0, _FU, 0) - -FONT_URL: StaticSchema = (3, n0, _FUo, 0) - -LOGO_URL: StaticSchema = (3, n0, _LU, 0) - -CUSTOMIZATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CC, - 0, - (_cCSSU, _lU, _fU, _fUa), - ((CUSTOM_CSS_URL, 0), (LOGO_URL, 0), (FONT_URL, 0), (FAVICON_URL, 0)), -) - -OPEN_ID_CONNECT_PROVIDER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OIDCPC, - 0, - (_sAe, _sR), - ((SECRET_ARN, 1), (ROLE_ARN, 1)), -) - -SAML_AUTHENTICATION_URL: StaticSchema = (3, n0, _SAU, 0) - -SAML_PROVIDER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SPC, - 0, - (_aUu,), - ((SAML_AUTHENTICATION_URL, 1),), -) - -IDENTITY_PROVIDER_CONFIGURATION: StaticSchema = ( - 19, - n0, - _IPC, - 0, - (_sCa, _oIDCC), - ((SAML_PROVIDER_CONFIGURATION, 0), (OPEN_ID_CONNECT_PROVIDER_CONFIGURATION, 0)), -) - -ORIGIN: StaticSchema = (3, n0, _O, 0) - -WEB_EXPERIENCE_ORIGINS: StaticSchema = (16, n0, _WEO, 0, (_m,), ((ORIGIN, 0),)) - -WEB_EXPERIENCE_SAMPLE_PROMPTS_CONTROL_MODE: StaticSchema = ( - 14, - n0, - _WESPCM, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -WEB_EXPERIENCE_SUBTITLE: StaticSchema = (3, n0, _WES, 0) - -WEB_EXPERIENCE_TITLE: StaticSchema = (3, n0, _WET, 0) - -WEB_EXPERIENCE_WELCOME_MESSAGE: StaticSchema = (3, n0, _WEWM, 0) - -CREATE_WEB_EXPERIENCE_INPUT: StaticSchema = ( - 18, - n0, - _CWEI, - {_sSI: _cCWER, _smit: None}, - (_aIp, _ti, _su, _wM, _sPCM, _or, _rA, _ta, _cT, _iPC, _bEC, _cCu), - ( - (APPLICATION_ID, 9), - (WEB_EXPERIENCE_TITLE, 0), - (WEB_EXPERIENCE_SUBTITLE, 0), - (WEB_EXPERIENCE_WELCOME_MESSAGE, 0), - (WEB_EXPERIENCE_SAMPLE_PROMPTS_CONTROL_MODE, 0), - (WEB_EXPERIENCE_ORIGINS, 0), - (ROLE_ARN, 0), - (TAGS, 0), - (CLIENT_TOKEN, 2), - (IDENTITY_PROVIDER_CONFIGURATION, 0), - (BROWSER_EXTENSION_CONFIGURATION, 0), - (CUSTOMIZATION_CONFIGURATION, 0), - ), -) - -WEB_EXPERIENCE_ARN: StaticSchema = (3, n0, _WEA, 0) - -WEB_EXPERIENCE_ID: StaticSchema = (3, n0, _WEI, 0) - -CREATE_WEB_EXPERIENCE_OUTPUT: StaticSchema = ( - 18, - n0, - _CWEO, - {_sSI: _cCWERo, _smith: None}, - (_wEI, _wEA), - ((WEB_EXPERIENCE_ID, 0), (WEB_EXPERIENCE_ARN, 0)), -) - -CREATE_WEB_EXPERIENCE: StaticOperationSchema = ( - 23, - n0, - _CWE, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/experiences", "method": "POST"} - ) - }, - CREATE_WEB_EXPERIENCE_INPUT, - CREATE_WEB_EXPERIENCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_WEB_EXPERIENCE_INPUT: StaticSchema = ( - 18, - n0, - _DWEI, - {_sSI: _cDWER, _smit: None}, - (_aIp, _wEI), - ((APPLICATION_ID, 9), (WEB_EXPERIENCE_ID, 9)), -) - -DELETE_WEB_EXPERIENCE_OUTPUT: StaticSchema = ( - 18, - n0, - _DWEO, - {_sSI: _cDWERo, _smith: None}, -) - -DELETE_WEB_EXPERIENCE: StaticOperationSchema = ( - 23, - n0, - _DWE, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/experiences/{webExperienceId}", - "method": "DELETE", - } - ) - }, - DELETE_WEB_EXPERIENCE_INPUT, - DELETE_WEB_EXPERIENCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_WEB_EXPERIENCE_INPUT: StaticSchema = ( - 18, - n0, - _GWEI, - {_sSI: _cGWER, _smit: None}, - (_aIp, _wEI), - ((APPLICATION_ID, 9), (WEB_EXPERIENCE_ID, 9)), -) - -SAML_METADATA_XML: StaticSchema = (3, n0, _SMXML, 0) - -SAML_ATTRIBUTE: StaticSchema = (3, n0, _SAa, 0) - -SAML_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SCa, - 0, - (_mXML, _rA, _uIA, _uGA), - ((SAML_METADATA_XML, 1), (ROLE_ARN, 1), (SAML_ATTRIBUTE, 1), (SAML_ATTRIBUTE, 0)), -) - -WEB_EXPERIENCE_AUTH_CONFIGURATION: StaticSchema = ( - 19, - n0, - _WEAC, - 0, - (_sCa,), - ((SAML_CONFIGURATION, 0),), -) - -WEB_EXPERIENCE_STATUS: StaticSchema = ( - 14, - n0, - _WESe, - 0, - (_CREATING, _ACTIVE, _DELETING, _FAILED, _PAC_), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _ACTIVE}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _PAC_}), - ), -) - -GET_WEB_EXPERIENCE_OUTPUT: StaticSchema = ( - 18, - n0, - _GWEO, - {_sSI: _cGWERo, _smith: None}, - ( - _aIp, - _wEI, - _wEA, - _dE, - _st, - _cA, - _uA, - _ti, - _su, - _wM, - _sPCM, - _or, - _rA, - _iPC, - _aCu, - _e, - _bEC, - _cCu, - ), - ( - (APPLICATION_ID, 0), - (WEB_EXPERIENCE_ID, 0), - (WEB_EXPERIENCE_ARN, 0), - (URL, 0), - (WEB_EXPERIENCE_STATUS, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (WEB_EXPERIENCE_TITLE, 0), - (WEB_EXPERIENCE_SUBTITLE, 0), - (WEB_EXPERIENCE_WELCOME_MESSAGE, 0), - (WEB_EXPERIENCE_SAMPLE_PROMPTS_CONTROL_MODE, 0), - (WEB_EXPERIENCE_ORIGINS, 0), - (ROLE_ARN, 0), - (IDENTITY_PROVIDER_CONFIGURATION, 0), - (WEB_EXPERIENCE_AUTH_CONFIGURATION, 0), - (ERROR_DETAIL, 0), - (BROWSER_EXTENSION_CONFIGURATION, 0), - (CUSTOMIZATION_CONFIGURATION, 0), - ), -) - -GET_WEB_EXPERIENCE: StaticOperationSchema = ( - 23, - n0, - _GWE, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/experiences/{webExperienceId}", - "method": "GET", - } - ) - }, - GET_WEB_EXPERIENCE_INPUT, - GET_WEB_EXPERIENCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_WEB_EXPERIENCES_REQUEST: StaticSchema = ( - 7, - n0, - _MRIFLWER, - 0, -) - -LIST_WEB_EXPERIENCES_INPUT: StaticSchema = ( - 18, - n0, - _LWEI, - {_sSI: _cLWER, _smit: None}, - (_aIp, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_WEB_EXPERIENCES_REQUEST, {_sQ: _mRa}), - ), -) - -WEB_EXPERIENCE: StaticSchema = ( - 18, - n0, - _WE, - 0, - (_wEI, _cA, _uA, _dE, _st), - ( - (WEB_EXPERIENCE_ID, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (URL, 0), - (WEB_EXPERIENCE_STATUS, 0), - ), -) - -WEB_EXPERIENCES: StaticSchema = (16, n0, _WEe, 0, (_m,), ((WEB_EXPERIENCE, 0),)) - -LIST_WEB_EXPERIENCES_OUTPUT: StaticSchema = ( - 18, - n0, - _LWEO, - {_sSI: _cLWERo, _smith: None}, - (_wE, _nT), - ((WEB_EXPERIENCES, 0), (NEXT_TOKEN, 0)), -) - -LIST_WEB_EXPERIENCES: StaticOperationSchema = ( - 23, - n0, - _LWE, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/experiences", "method": "GET"} - ) - }, - LIST_WEB_EXPERIENCES_INPUT, - LIST_WEB_EXPERIENCES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_WEB_EXPERIENCE_INPUT: StaticSchema = ( - 18, - n0, - _UWEI, - {_sSI: _cUWER, _smit: None}, - (_aIp, _wEI, _rA, _aCu, _ti, _su, _wM, _sPCM, _iPC, _or, _bEC, _cCu), - ( - (APPLICATION_ID, 9), - (WEB_EXPERIENCE_ID, 9), - (ROLE_ARN, 0), - (WEB_EXPERIENCE_AUTH_CONFIGURATION, 0), - (WEB_EXPERIENCE_TITLE, 0), - (WEB_EXPERIENCE_SUBTITLE, 0), - (WEB_EXPERIENCE_WELCOME_MESSAGE, 0), - (WEB_EXPERIENCE_SAMPLE_PROMPTS_CONTROL_MODE, 0), - (IDENTITY_PROVIDER_CONFIGURATION, 0), - (WEB_EXPERIENCE_ORIGINS, 0), - (BROWSER_EXTENSION_CONFIGURATION, 0), - (CUSTOMIZATION_CONFIGURATION, 0), - ), -) - -UPDATE_WEB_EXPERIENCE_OUTPUT: StaticSchema = ( - 18, - n0, - _UWEO, - {_sSI: _cUWERo, _smith: None}, -) - -UPDATE_WEB_EXPERIENCE: StaticOperationSchema = ( - 23, - n0, - _UWE, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/experiences/{webExperienceId}", - "method": "PUT", - } - ) - }, - UPDATE_WEB_EXPERIENCE_INPUT, - UPDATE_WEB_EXPERIENCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATOR_MODE_CONTROL: StaticSchema = ( - 14, - n0, - _CMC, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -APPLIED_CREATOR_MODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ACMC, - 0, - (_cMC,), - ((CREATOR_MODE_CONTROL, 1),), -) - -ORCHESTRATION_CONTROL: StaticSchema = ( - 14, - n0, - _OC, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -APPLIED_ORCHESTRATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AOC, - 0, - (_cont,), - ((ORCHESTRATION_CONTROL, 1),), -) - -ASSOCIATED_GROUP: StaticSchema = ( - 18, - n0, - _AG, - 0, - (_n, _t), - ((GROUP_NAME, 0), (MEMBERSHIP_TYPE, 0)), -) - -ASSOCIATED_GROUPS: StaticSchema = (16, n0, _AGs, 0, (_m,), ((ASSOCIATED_GROUP, 0),)) - -ASSOCIATED_USER: StaticSchema = ( - 18, - n0, - _AU, - 0, - (_i, _t), - ((STRING, 0), (MEMBERSHIP_TYPE, 0)), -) - -ASSOCIATED_USERS: StaticSchema = (16, n0, _AUs, 0, (_m,), ((ASSOCIATED_USER, 0),)) - -Q_IAM_ACTIONS: StaticSchema = (16, n0, _QIAa, 0, (_m,), ((Q_IAM_ACTION, 0),)) - -PERMISSION_CONDITION_KEY: StaticSchema = (3, n0, _PCK, 0) - -PERMISSION_CONDITION_OPERATOR: StaticSchema = ( - 14, - n0, - _PCO, - 0, - (_SE,), - ((-1, {_sV: _SEt}),), -) - -PERMISSION_CONDITION_VALUE: StaticSchema = (3, n0, _PCV, 0) - -PERMISSION_CONDITION_VALUES: StaticSchema = ( - 16, - n0, - _PCVe, - 0, - (_m,), - ((PERMISSION_CONDITION_VALUE, 0),), -) - -PERMISSION_CONDITION: StaticSchema = ( - 18, - n0, - _PCe, - 0, - (_cO, _cK, _cV), - ( - (PERMISSION_CONDITION_OPERATOR, 1), - (PERMISSION_CONDITION_KEY, 1), - (PERMISSION_CONDITION_VALUES, 1), - ), -) - -PERMISSION_CONDITIONS: StaticSchema = ( - 16, - n0, - _PCer, - 0, - (_m,), - ((PERMISSION_CONDITION, 0),), -) - -STATEMENT_ID: StaticSchema = (3, n0, _SIt, 0) - -ASSOCIATE_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _API, - {_sSI: _cAPR, _smit: None}, - (_aIp, _sIt, _ac, _cond, _pr), - ( - (APPLICATION_ID, 9), - (STATEMENT_ID, 1), - (Q_IAM_ACTIONS, 1), - (PERMISSION_CONDITIONS, 0), - (PRINCIPAL_ROLE_ARN, 1), - ), -) - -ASSOCIATE_PERMISSION_OUTPUT: StaticSchema = ( - 18, - n0, - _APO, - {_sSI: _cAPRo, _smith: None}, - (_stat,), - ((STRING, 0),), -) - -ASSOCIATE_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _AP, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/policy", "method": "POST"} - ) - }, - ASSOCIATE_PERMISSION_INPUT, - ASSOCIATE_PERMISSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ATTACHMENT_ID: StaticSchema = (3, n0, _AIt, 0) - -CONVERSATION_SOURCE: StaticSchema = ( - 18, - n0, - _CS, - 0, - (_cI, _aIt), - ((CONVERSATION_ID, 1), (ATTACHMENT_ID, 1)), -) - -COPY_FROM_SOURCE: StaticSchema = ( - 19, - n0, - _CFS, - 0, - (_conv,), - ((CONVERSATION_SOURCE, 0),), -) - -ATTACHMENT_NAME: StaticSchema = (3, n0, _ANt, 0) - -ATTACHMENT_STATUS: StaticSchema = ( - 14, - n0, - _ASt, - 0, - (_FAILED, _SUCCESS), - ((-1, {_sV: _FAILED}), (-1, {_sV: _SUCCESS})), -) - -ATTACHMENT: StaticSchema = ( - 18, - n0, - _At, - 0, - (_aIt, _cI, _n, _cF, _fT, _fS, _md, _cA, _st, _e), - ( - (ATTACHMENT_ID, 0), - (CONVERSATION_ID, 0), - (ATTACHMENT_NAME, 0), - (COPY_FROM_SOURCE, 0), - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (TIMESTAMP, 0), - (ATTACHMENT_STATUS, 0), - (ERROR_DETAIL, 0), - ), -) - -BLOB: StaticSchema = (1, n0, _B, 0) - -ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _AItt, - 0, - (_da, _n, _cF), - ((BLOB, 0), (ATTACHMENT_NAME, 0), (COPY_FROM_SOURCE, 0)), -) - -ATTACHMENT_INPUT_EVENT: StaticSchema = ( - 18, - n0, - _AIE, - 0, - (_at,), - ((ATTACHMENT_INPUT, 0),), -) - -ATTACHMENT_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((ATTACHMENT, 0),)) - -ATTACHMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _AO, - 0, - (_n, _st, _e, _aIt, _cI), - ( - (ATTACHMENT_NAME, 0), - (ATTACHMENT_STATUS, 0), - (ERROR_DETAIL, 0), - (ATTACHMENT_ID, 0), - (CONVERSATION_ID, 0), - ), -) - -ATTACHMENTS_INPUT: StaticSchema = (16, n0, _AItta, 0, (_m,), ((ATTACHMENT_INPUT, 0),)) - -ATTACHMENTS_OUTPUT: StaticSchema = (16, n0, _AOt, 0, (_m,), ((ATTACHMENT_OUTPUT, 0),)) - -AUDIO_EXTRACTION_TYPE: StaticSchema = ( - 14, - n0, - _AET, - 0, - (_TRANSCRIPT, _SUMMARY), - ((-1, {_sV: _TRANSCRIPT}), (-1, {_sV: _SUMMARY})), -) - -MEDIA_ID: StaticSchema = (3, n0, _MIe, 0) - -AUDIO_SOURCE_DETAILS: StaticSchema = ( - 18, - n0, - _ASD, - 0, - (_mI, _mMT, _sTM, _eTM, _aET), - ((MEDIA_ID, 0), (STRING, 0), (LONG, 0), (LONG, 0), (AUDIO_EXTRACTION_TYPE, 0)), -) - -AUTH_CHALLENGE_REQUEST: StaticSchema = (18, n0, _ACR, 0, (_aU,), ((URL, 1),)) - -AUTH_CHALLENGE_REQUEST_EVENT: StaticSchema = (18, n0, _ACRE, 0, (_aU,), ((URL, 1),)) - -AUTH_RESPONSE_KEY: StaticSchema = (3, n0, _ARK, 0) - -AUTH_RESPONSE_VALUE: StaticSchema = (3, n0, _ARV, 0) - -AUTHORIZATION_RESPONSE_MAP: StaticSchema = ( - 17, - n0, - _ARM, - 0, - (_k, _v), - ((AUTH_RESPONSE_KEY, 0), (AUTH_RESPONSE_VALUE, 0)), -) - -AUTH_CHALLENGE_RESPONSE: StaticSchema = ( - 18, - n0, - _ACRu, - 0, - (_rM,), - ((AUTHORIZATION_RESPONSE_MAP, 1),), -) - -AUTH_CHALLENGE_RESPONSE_EVENT: StaticSchema = ( - 18, - n0, - _ACREu, - 0, - (_rM,), - ((AUTHORIZATION_RESPONSE_MAP, 1),), -) - -EXECUTION_ID: StaticSchema = (3, n0, _EI, 0) - -DOCUMENT_ID: StaticSchema = (3, n0, _DIo, 0) - -DELETE_DOCUMENT: StaticSchema = (18, n0, _DD, 0, (_dI,), ((DOCUMENT_ID, 1),)) - -DELETE_DOCUMENTS: StaticSchema = (16, n0, _DDe, 0, (_m,), ((DELETE_DOCUMENT, 0),)) - -BATCH_DELETE_DOCUMENT_INPUT: StaticSchema = ( - 18, - n0, - _BDDI, - {_sSI: _cBDDR, _smit: None}, - (_aIp, _iI, _do, _dSSI), - ((APPLICATION_ID, 9), (INDEX_ID, 9), (DELETE_DOCUMENTS, 1), (EXECUTION_ID, 0)), -) - -FAILED_DOCUMENT: StaticSchema = ( - 18, - n0, - _FD, - 0, - (_i, _e, _dSI), - ((DOCUMENT_ID, 0), (ERROR_DETAIL, 0), (DATA_SOURCE_ID, 0)), -) - -FAILED_DOCUMENTS: StaticSchema = (16, n0, _FDa, 0, (_m,), ((FAILED_DOCUMENT, 0),)) - -BATCH_DELETE_DOCUMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _BDDO, - {_sSI: _cBDDRo, _smith: None}, - (_fD,), - ((FAILED_DOCUMENTS, 0),), -) - -BATCH_DELETE_DOCUMENT: StaticOperationSchema = ( - 23, - n0, - _BDD, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/applications/{applicationId}/indices/{indexId}/documents/delete", - } - ) - }, - BATCH_DELETE_DOCUMENT_INPUT, - BATCH_DELETE_DOCUMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DOCUMENT_ATTRIBUTES: StaticSchema = (16, n0, _DAo, 0, (_m,), ((DOCUMENT_ATTRIBUTE, 0),)) - -DOCUMENT_CONTENT: StaticSchema = (19, n0, _DC, 0, (_bl, _s_), ((1, 0), (S3, 0))) - -CONTENT_TYPE: StaticSchema = ( - 14, - n0, - _CTo, - 0, - (_PDF, _HTML, _MW, _PT_, _PPT, _RTF, _XML, _XSLT, _ME_, _CSV, _JSON, _MD), - ( - (-1, {_sV: _PDF}), - (-1, {_sV: _HTML}), - (-1, {_sV: _MW}), - (-1, {_sV: _PT_}), - (-1, {_sV: _PPT}), - (-1, {_sV: _RTF}), - (-1, {_sV: _XML}), - (-1, {_sV: _XSLT}), - (-1, {_sV: _ME_}), - (-1, {_sV: _CSV}), - (-1, {_sV: _JSON}), - (-1, {_sV: _MD}), - ), -) - -TITLE: StaticSchema = (3, n0, _Ti, 0) - -DOCUMENT: StaticSchema = ( - 18, - n0, - _Do, - 0, - (_i, _att, _conte, _cTo, _ti, _aCc, _dEC, _mEC), - ( - (DOCUMENT_ID, 1), - (DOCUMENT_ATTRIBUTES, 0), - (DOCUMENT_CONTENT, 0), - (CONTENT_TYPE, 0), - (TITLE, 0), - (ACCESS_CONFIGURATION, 0), - (DOCUMENT_ENRICHMENT_CONFIGURATION, 0), - (MEDIA_EXTRACTION_CONFIGURATION, 0), - ), -) - -DOCUMENTS: StaticSchema = (16, n0, _Doc, 0, (_m,), ((DOCUMENT, 0),)) - -BATCH_PUT_DOCUMENT_INPUT: StaticSchema = ( - 18, - n0, - _BPDI, - {_sSI: _cBPDR, _smit: None}, - (_aIp, _iI, _do, _rA, _dSSI), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (DOCUMENTS, 1), - (ROLE_ARN, 0), - (EXECUTION_ID, 0), - ), -) - -BATCH_PUT_DOCUMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _BPDO, - {_sSI: _cBPDRo, _smith: None}, - (_fD,), - ((FAILED_DOCUMENTS, 0),), -) - -BATCH_PUT_DOCUMENT: StaticOperationSchema = ( - 23, - n0, - _BPD, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/applications/{applicationId}/indices/{indexId}/documents", - } - ) - }, - BATCH_PUT_DOCUMENT_INPUT, - BATCH_PUT_DOCUMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BLOCKED_PHRASE: StaticSchema = (3, n0, _BP, 0) - -BLOCKED_PHRASES: StaticSchema = (16, n0, _BPl, 0, (_m,), ((BLOCKED_PHRASE, 0),)) - -SYSTEM_MESSAGE_OVERRIDE: StaticSchema = (3, n0, _SMO, 0) - -BLOCKED_PHRASES_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BPC, - 0, - (_bP, _sMO), - ((BLOCKED_PHRASES, 0), (SYSTEM_MESSAGE_OVERRIDE, 0)), -) - -BLOCKED_PHRASES_CONFIGURATION_UPDATE: StaticSchema = ( - 18, - n0, - _BPCU, - 0, - (_bPTCOU, _bPTD, _sMO), - ((BLOCKED_PHRASES, 0), (BLOCKED_PHRASES, 0), (SYSTEM_MESSAGE_OVERRIDE, 0)), -) - -SUBSCRIPTION_ID: StaticSchema = (3, n0, _SIub, 0) - -CANCEL_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_sSI: _cCSR, _smit: None}, - (_aIp, _sIu), - ((APPLICATION_ID, 9), (SUBSCRIPTION_ID, 9)), -) - -SUBSCRIPTION_DETAILS: StaticSchema = (18, n0, _SD, 0, (_t,), ((SUBSCRIPTION_TYPE, 0),)) - -SUBSCRIPTION_ARN: StaticSchema = (3, n0, _SAu, 0) - -CANCEL_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_sSI: _cCSRo, _smith: None}, - (_sAu, _cS, _nS), - ((SUBSCRIPTION_ARN, 0), (SUBSCRIPTION_DETAILS, 0), (SUBSCRIPTION_DETAILS, 0)), -) - -CANCEL_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _CSa, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/applications/{applicationId}/subscriptions/{subscriptionId}", - } - ) - }, - CANCEL_SUBSCRIPTION_INPUT, - CANCEL_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CHAT_MODE: StaticSchema = ( - 14, - n0, - _CM, - 0, - (_RM, _CM_, _PM), - ((-1, {_sV: _RM}), (-1, {_sV: _CM_}), (-1, {_sV: _PM})), -) - -PLUGIN_CONFIGURATION: StaticSchema = (18, n0, _PCl, 0, (_pI,), ((PLUGIN_ID, 1),)) - -CHAT_MODE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _CMCh, - 0, - (_pCl,), - ((PLUGIN_CONFIGURATION, 0),), -) - -END_OF_INPUT_EVENT: StaticSchema = (18, n0, _EOIE, 0) - -USER_MESSAGE: StaticSchema = (3, n0, _UM, 0) - -TEXT_INPUT_EVENT: StaticSchema = (18, n0, _TIE, 0, (_uM,), ((USER_MESSAGE, 1),)) - -USER_GROUPS: StaticSchema = (16, n0, _UG, 0, (_m,), ((STRING, 0),)) - -FAILED_ATTACHMENT_EVENT: StaticSchema = ( - 18, - n0, - _FAE, - 0, - (_cI, _uMI, _sMI, _at), - ((CONVERSATION_ID, 0), (MESSAGE_ID, 0), (MESSAGE_ID, 0), (ATTACHMENT_OUTPUT, 0)), -) - -SOURCE_ATTRIBUTION_MEDIA_ID: StaticSchema = (3, n0, _SAMI, 0) - -SNIPPET_EXCERPT_TEXT: StaticSchema = (3, n0, _SET, 0) - -SNIPPET_EXCERPT: StaticSchema = (18, n0, _SEn, 0, (_te,), ((SNIPPET_EXCERPT_TEXT, 0),)) - -IMAGE_SOURCE_DETAILS: StaticSchema = ( - 18, - n0, - _ISD, - 0, - (_mI, _mMT), - ((MEDIA_ID, 0), (STRING, 0)), -) - -VIDEO_EXTRACTION_TYPE: StaticSchema = ( - 14, - n0, - _VET, - 0, - (_TRANSCRIPT, _SUMMARY), - ((-1, {_sV: _TRANSCRIPT}), (-1, {_sV: _SUMMARY})), -) - -VIDEO_SOURCE_DETAILS: StaticSchema = ( - 18, - n0, - _VSD, - 0, - (_mI, _mMT, _sTM, _eTM, _vET), - ((MEDIA_ID, 0), (STRING, 0), (LONG, 0), (LONG, 0), (VIDEO_EXTRACTION_TYPE, 0)), -) - -SOURCE_DETAILS: StaticSchema = ( - 19, - n0, - _SDo, - 0, - (_iSD, _aSD, _vSD), - ((IMAGE_SOURCE_DETAILS, 0), (AUDIO_SOURCE_DETAILS, 0), (VIDEO_SOURCE_DETAILS, 0)), -) - -TEXT_SEGMENT: StaticSchema = ( - 18, - n0, - _TS, - 0, - (_bOe, _eO, _sEn, _mI, _mMT, _sD), - ( - (INTEGER, 0), - (INTEGER, 0), - (SNIPPET_EXCERPT, 0), - (SOURCE_ATTRIBUTION_MEDIA_ID, 0), - (STRING, 0), - (SOURCE_DETAILS, 0), - ), -) - -TEXT_SEGMENT_LIST: StaticSchema = (16, n0, _TSL, 0, (_m,), ((TEXT_SEGMENT, 0),)) - -SOURCE_ATTRIBUTION: StaticSchema = ( - 18, - n0, - _SAo, - 0, - (_ti, _sn, _ur, _cNi, _uA, _tMS, _dI, _iI, _dIa), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (TIMESTAMP, 0), - (TEXT_SEGMENT_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - ), -) - -SOURCE_ATTRIBUTIONS: StaticSchema = ( - 16, - n0, - _SAou, - 64, - (_m,), - ((SOURCE_ATTRIBUTION, 0),), -) - -METADATA_EVENT: StaticSchema = ( - 18, - n0, - _MEe, - 0, - (_cI, _uMI, _sMI, _sAo, _fTM), - ( - (CONVERSATION_ID, 0), - (MESSAGE_ID, 0), - (MESSAGE_ID, 0), - (SOURCE_ATTRIBUTIONS, 0), - (STRING, 0), - ), -) - -SYSTEM_MESSAGE_TYPE: StaticSchema = ( - 14, - n0, - _SMT, - 0, - (_RESPONSE, _GR_), - ((-1, {_sV: _RESPONSE}), (-1, {_sV: _GR_})), -) - -TEXT_OUTPUT_EVENT: StaticSchema = ( - 18, - n0, - _TOE, - 0, - (_sMT, _cI, _uMI, _sMI, _sM), - ( - (SYSTEM_MESSAGE_TYPE, 0), - (CONVERSATION_ID, 0), - (MESSAGE_ID, 0), - (MESSAGE_ID, 0), - (STRING, 0), - ), -) - -CHAT_OUTPUT_STREAM: StaticSchema = ( - 19, - n0, - _COS, - {_smithyap: None}, - (_tE, _mE, _aRE, _fAE, _aCRE), - ( - (TEXT_OUTPUT_EVENT, 0), - (METADATA_EVENT, 0), - (ACTION_REVIEW_EVENT, 0), - (FAILED_ATTACHMENT_EVENT, 0), - (AUTH_CHALLENGE_REQUEST_EVENT, 0), - ), -) - -CHAT_OUTPUT: StaticSchema = ( - 18, - n0, - _CO, - {_smith: None}, - (_oS,), - ((CHAT_OUTPUT_STREAM, 16),), -) - -EXTERNAL_RESOURCE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ERE, - {_sm: _c, _sE: 424}, - (_me,), - ((ERROR_MESSAGE, 1),), -) - -LICENSE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _LNFE, - {_sm: _c, _sE: 400}, - (_me,), - ((ERROR_MESSAGE, 1),), -) - -CHAT_RESPONSE_CONFIGURATION_ARN: StaticSchema = (3, n0, _CRCA, 0) - -CHAT_RESPONSE_CONFIGURATION_ID: StaticSchema = (3, n0, _CRCI, 0) - -DISPLAY_NAME: StaticSchema = (3, n0, _DN, 0) - -RESPONSE_CONFIGURATION_SUMMARY: StaticSchema = (3, n0, _RCS, 0) - -CHAT_RESPONSE_CONFIGURATION_STATUS: StaticSchema = ( - 14, - n0, - _CRCS, - 0, - (_CREATING, _UPDATING, _FAILED, _ACTIVE), - ( - (-1, {_sV: _CREATING}), - (-1, {_sV: _UPDATING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _ACTIVE}), - ), -) - -CHAT_RESPONSE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CRC, - 0, - (_cRCI, _cRCA, _dN, _rCS, _st, _cA, _uA), - ( - (CHAT_RESPONSE_CONFIGURATION_ID, 1), - (CHAT_RESPONSE_CONFIGURATION_ARN, 1), - (DISPLAY_NAME, 1), - (RESPONSE_CONFIGURATION_SUMMARY, 0), - (CHAT_RESPONSE_CONFIGURATION_STATUS, 1), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -RESPONSE_CONFIGURATION_TYPE: StaticSchema = ( - 14, - n0, - _RCT, - 0, - (_ALL,), - ((-1, {_sV: _ALL}),), -) - -INSTRUCTION: StaticSchema = (3, n0, _Ins, 0) - -INSTRUCTION_COLLECTION: StaticSchema = ( - 18, - n0, - _IC, - 0, - (_rL, _tA, _pe, _oSu, _id, _to, _cIu, _ex), - ( - (INSTRUCTION, 0), - (INSTRUCTION, 0), - (INSTRUCTION, 0), - (INSTRUCTION, 0), - (INSTRUCTION, 0), - (INSTRUCTION, 0), - (INSTRUCTION, 0), - (INSTRUCTION, 0), - ), -) - -RESPONSE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RCe, - 0, - (_iCns,), - ((INSTRUCTION_COLLECTION, 0),), -) - -RESPONSE_CONFIGURATIONS: StaticSchema = ( - 17, - n0, - _RCes, - 0, - (_k, _v), - ((RESPONSE_CONFIGURATION_TYPE, 0), (RESPONSE_CONFIGURATION, 0)), -) - -CHAT_RESPONSE_CONFIGURATION_DETAIL: StaticSchema = ( - 18, - n0, - _CRCD, - 0, - (_rC, _rCS, _st, _e, _uA), - ( - (RESPONSE_CONFIGURATIONS, 0), - (STRING, 0), - (CHAT_RESPONSE_CONFIGURATION_STATUS, 0), - (ERROR_DETAIL, 0), - (TIMESTAMP, 0), - ), -) - -CHAT_RESPONSE_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _CRCh, - 0, - (_m,), - ((CHAT_RESPONSE_CONFIGURATION, 0),), -) - -CHAT_SYNC_OUTPUT: StaticSchema = ( - 18, - n0, - _CSOh, - {_smith: None}, - (_cI, _sM, _sMI, _uMI, _aR, _aCR, _sAo, _fA), - ( - (CONVERSATION_ID, 0), - (STRING, 0), - (MESSAGE_ID, 0), - (MESSAGE_ID, 0), - (ACTION_REVIEW, 0), - (AUTH_CHALLENGE_REQUEST, 0), - (SOURCE_ATTRIBUTIONS, 0), - (ATTACHMENTS_OUTPUT, 0), - ), -) - -CHECK_DOCUMENT_ACCESS_INPUT: StaticSchema = ( - 18, - n0, - _CDAI, - {_sSI: _cCDARo, _smit: None}, - (_aIp, _iI, _uI, _dI, _dSI), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (STRING, 9), - (DOCUMENT_ID, 9), - (DATA_SOURCE_ID, {_sQ: _dSI}), - ), -) - -DOCUMENT_ACL_GROUP: StaticSchema = ( - 18, - n0, - _DAG, - 0, - (_n, _t), - ((GROUP_NAME, 0), (MEMBERSHIP_TYPE, 0)), -) - -DOCUMENT_ACL_GROUPS: StaticSchema = ( - 16, - n0, - _DAGo, - 0, - (_m,), - ((DOCUMENT_ACL_GROUP, 0),), -) - -DOCUMENT_ACL_USER: StaticSchema = ( - 18, - n0, - _DAU, - 0, - (_i, _t), - ((STRING, 0), (MEMBERSHIP_TYPE, 0)), -) - -DOCUMENT_ACL_USERS: StaticSchema = (16, n0, _DAUo, 0, (_m,), ((DOCUMENT_ACL_USER, 0),)) - -DOCUMENT_ACL_CONDITION: StaticSchema = ( - 18, - n0, - _DACocu, - 0, - (_mR, _us, _gr), - ((MEMBER_RELATION, 0), (DOCUMENT_ACL_USERS, 0), (DOCUMENT_ACL_GROUPS, 0)), -) - -DOCUMENT_ACL_CONDITIONS: StaticSchema = ( - 16, - n0, - _DACocum, - 0, - (_m,), - ((DOCUMENT_ACL_CONDITION, 0),), -) - -DOCUMENT_ACL_MEMBERSHIP: StaticSchema = ( - 18, - n0, - _DAM, - 0, - (_mR, _cond), - ((MEMBER_RELATION, 0), (DOCUMENT_ACL_CONDITIONS, 0)), -) - -DOCUMENT_ACL: StaticSchema = ( - 18, - n0, - _DAoc, - 0, - (_al, _dL), - ((DOCUMENT_ACL_MEMBERSHIP, 0), (DOCUMENT_ACL_MEMBERSHIP, 0)), -) - -CHECK_DOCUMENT_ACCESS_OUTPUT: StaticSchema = ( - 18, - n0, - _CDAOh, - {_sSI: _cCDARom, _smith: None}, - (_uG, _uAs, _hA, _dAo), - ((ASSOCIATED_GROUPS, 0), (ASSOCIATED_USERS, 0), (2, 0), (DOCUMENT_ACL, 0)), -) - -CHECK_DOCUMENT_ACCESS: StaticOperationSchema = ( - 23, - n0, - _CDA, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/applications/{applicationId}/index/{indexId}/users/{userId}/documents/{documentId}/check-document-access", - } - ) - }, - CHECK_DOCUMENT_ACCESS_INPUT, - CHECK_DOCUMENT_ACCESS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CONTENT_BLOCKER_RULE: StaticSchema = ( - 18, - n0, - _CBR, - 0, - (_sMO,), - ((SYSTEM_MESSAGE_OVERRIDE, 0),), -) - -ELIGIBLE_DATA_SOURCE: StaticSchema = ( - 18, - n0, - _EDS, - 0, - (_iI, _dSI), - ((INDEX_ID, 0), (DATA_SOURCE_ID, 0)), -) - -ELIGIBLE_DATA_SOURCES: StaticSchema = ( - 16, - n0, - _EDSl, - 0, - (_m,), - ((ELIGIBLE_DATA_SOURCE, 0),), -) - -CONTENT_RETRIEVAL_RULE: StaticSchema = ( - 18, - n0, - _CRR, - 0, - (_eDS,), - ((ELIGIBLE_DATA_SOURCES, 0),), -) - -RETRIEVER_CONTENT_SOURCE: StaticSchema = ( - 18, - n0, - _RCSe, - 0, - (_rIe,), - ((RETRIEVER_ID, 1),), -) - -CONTENT_SOURCE: StaticSchema = ( - 19, - n0, - _CSo, - 0, - (_retr,), - ((RETRIEVER_CONTENT_SOURCE, 0),), -) - -CONVERSATION_TITLE: StaticSchema = (3, n0, _CTon, 0) - -CONVERSATION: StaticSchema = ( - 18, - n0, - _C, - 0, - (_cI, _ti, _sTt), - ((CONVERSATION_ID, 0), (CONVERSATION_TITLE, 0), (TIMESTAMP, 0)), -) - -CONVERSATIONS: StaticSchema = (16, n0, _Co, 0, (_m,), ((CONVERSATION, 0),)) - -SESSION_DURATION_IN_MINUTES: StaticSchema = (7, n0, _SDIM, 0) - -CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_INPUT: StaticSchema = ( - 18, - n0, - _CAWEUI, - {_sSI: _cCAWEUR, _smit: None}, - (_aIp, _wEI, _sDIM), - ((APPLICATION_ID, 9), (WEB_EXPERIENCE_ID, 9), (SESSION_DURATION_IN_MINUTES, 0)), -) - -CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_OUTPUT: StaticSchema = ( - 18, - n0, - _CAWEUO, - {_sSI: _cCAWEURo, _smith: None}, - (_aUn,), - ((URL, 0),), -) - -CREATE_ANONYMOUS_WEB_EXPERIENCE_URL: StaticOperationSchema = ( - 23, - n0, - _CAWEU, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/experiences/{webExperienceId}/anonymous-url", - "method": "POST", - } - ) - }, - CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_INPUT, - CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_CHAT_RESPONSE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _CCRCI, - {_sSI: _cCCRCR, _smit: None}, - (_aIp, _dN, _cT, _rC, _ta), - ( - (APPLICATION_ID, 9), - (DISPLAY_NAME, 1), - (STRING, 2), - (RESPONSE_CONFIGURATIONS, 1), - (TAGS, 0), - ), -) - -CREATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CCRCO, - {_sSI: _cCCRCRo, _smith: None}, - (_cRCI, _cRCA), - ((CHAT_RESPONSE_CONFIGURATION_ID, 1), (CHAT_RESPONSE_CONFIGURATION_ARN, 1)), -) - -CREATE_CHAT_RESPONSE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _CCRC, - { - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/applications/{applicationId}/chatresponseconfigurations", - } - ) - }, - CREATE_CHAT_RESPONSE_CONFIGURATION_INPUT, - CREATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GROUP_IDENTIFIER: StaticSchema = (3, n0, _GIr, 0) - -USER_IDENTIFIER: StaticSchema = (3, n0, _UIs, 0) - -SUBSCRIPTION_PRINCIPAL: StaticSchema = ( - 19, - n0, - _SP, - 0, - (_u, _g), - ((USER_IDENTIFIER, 0), (GROUP_IDENTIFIER, 0)), -) - -CREATE_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _CSIr, - {_sSI: _cCSRom, _smit: None}, - (_aIp, _pr, _t, _cT), - ( - (APPLICATION_ID, 9), - (SUBSCRIPTION_PRINCIPAL, 1), - (SUBSCRIPTION_TYPE, 1), - (CLIENT_TOKEN, 2), - ), -) - -CREATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSOr, - {_sSI: _cCSRoma, _smith: None}, - (_sIu, _sAu, _cS, _nS), - ( - (SUBSCRIPTION_ID, 0), - (SUBSCRIPTION_ARN, 0), - (SUBSCRIPTION_DETAILS, 0), - (SUBSCRIPTION_DETAILS, 0), - ), -) - -CREATE_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _CSr, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/applications/{applicationId}/subscriptions"} - ) - }, - CREATE_SUBSCRIPTION_INPUT, - CREATE_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -USER_ALIAS: StaticSchema = ( - 18, - n0, - _UAs, - 0, - (_iI, _dSI, _uI), - ((INDEX_ID, 0), (DATA_SOURCE_ID, 0), (STRING, 1)), -) - -USER_ALIASES: StaticSchema = (16, n0, _UAse, 0, (_m,), ((USER_ALIAS, 0),)) - -CREATE_USER_INPUT: StaticSchema = ( - 18, - n0, - _CUI, - {_sSI: _cCUR, _smit: None}, - (_aIp, _uI, _uAs, _cT), - ((APPLICATION_ID, 9), (STRING, 1), (USER_ALIASES, 0), (CLIENT_TOKEN, 2)), -) - -CREATE_USER_OUTPUT: StaticSchema = (18, n0, _CUO, {_sSI: _cCURo, _smith: None}) - -CREATE_USER: StaticOperationSchema = ( - 23, - n0, - _CU, - { - _smithy: MappingProxyType( - {"method": "POST", "uri": "/applications/{applicationId}/users"} - ) - }, - CREATE_USER_INPUT, - CREATE_USER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATOR_MODE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CMCr, - 0, - (_cMC,), - ((CREATOR_MODE_CONTROL, 1),), -) - -DATA_SOURCE_IDS: StaticSchema = (16, n0, _DSIa, 0, (_m,), ((DATA_SOURCE_ID, 0),)) - -METRIC_VALUE: StaticSchema = (3, n0, _MV, 0) - -DATA_SOURCE_SYNC_JOB_METRICS: StaticSchema = ( - 18, - n0, - _DSSJM, - 0, - (_dAoc, _dM, _dDo, _dF, _dSo), - ( - (METRIC_VALUE, 0), - (METRIC_VALUE, 0), - (METRIC_VALUE, 0), - (METRIC_VALUE, 0), - (METRIC_VALUE, 0), - ), -) - -DATA_SOURCE_SYNC_JOB_STATUS: StaticSchema = ( - 14, - n0, - _DSSJS, - 0, - (_FAILED, _SUCCEEDED, _SYNCING, _INCOMPLETE, _STOPPING, _ABORTED, _SI_), - ( - (-1, {_sV: _FAILED}), - (-1, {_sV: _SUCCEEDED}), - (-1, {_sV: _SYNCING}), - (-1, {_sV: _INCOMPLETE}), - (-1, {_sV: _STOPPING}), - (-1, {_sV: _ABORTED}), - (-1, {_sV: _SI_}), - ), -) - -DATA_SOURCE_SYNC_JOB: StaticSchema = ( - 18, - n0, - _DSSJ, - 0, - (_eIx, _sTt, _eT, _st, _e, _dSEC, _met), - ( - (EXECUTION_ID, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - (DATA_SOURCE_SYNC_JOB_STATUS, 0), - (ERROR_DETAIL, 0), - (STRING, 0), - (DATA_SOURCE_SYNC_JOB_METRICS, 0), - ), -) - -DATA_SOURCE_SYNC_JOBS: StaticSchema = ( - 16, - n0, - _DSSJa, - 0, - (_m,), - ((DATA_SOURCE_SYNC_JOB, 0),), -) - -DATA_SOURCE_USER_ID: StaticSchema = (3, n0, _DSUI, 0) - -DELETE_ATTACHMENT_INPUT: StaticSchema = ( - 18, - n0, - _DAIel, - {_sSI: _cDARom, _smit: None}, - (_aIp, _cI, _aIt, _uI), - ( - (APPLICATION_ID, 9), - (CONVERSATION_ID, 9), - (ATTACHMENT_ID, 9), - (USER_ID, {_sQ: _uI}), - ), -) - -DELETE_ATTACHMENT_OUTPUT: StaticSchema = (18, n0, _DAOe, {_sSI: _cDARoma, _smith: None}) - -DELETE_ATTACHMENT: StaticOperationSchema = ( - 23, - n0, - _DAel, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/conversations/{conversationId}/attachments/{attachmentId}", - "method": "DELETE", - } - ) - }, - DELETE_ATTACHMENT_INPUT, - DELETE_ATTACHMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - LICENSE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_CHAT_CONTROLS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DCCCI, - {_sSI: _cDCCCR, _smit: None}, - (_aIp,), - ((APPLICATION_ID, 9),), -) - -DELETE_CHAT_CONTROLS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DCCCO, - {_sSI: _cDCCCRo, _smith: None}, -) - -DELETE_CHAT_CONTROLS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DCCC, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/chatcontrols", - "method": "DELETE", - "code": 200, - } - ) - }, - DELETE_CHAT_CONTROLS_CONFIGURATION_INPUT, - DELETE_CHAT_CONTROLS_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_CHAT_RESPONSE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DCRCI, - {_sSI: _cDCRCR, _smit: None}, - (_aIp, _cRCI), - ((APPLICATION_ID, 9), (CHAT_RESPONSE_CONFIGURATION_ID, 9)), -) - -DELETE_CHAT_RESPONSE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DCRCO, - {_sSI: _cDCRCRo, _smith: None}, -) - -DELETE_CHAT_RESPONSE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DCRC, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", - } - ) - }, - DELETE_CHAT_RESPONSE_CONFIGURATION_INPUT, - DELETE_CHAT_RESPONSE_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_CONVERSATION_INPUT: StaticSchema = ( - 18, - n0, - _DCI, - {_sSI: _cDCR, _smit: None}, - (_cI, _aIp, _uI), - ((CONVERSATION_ID, 9), (APPLICATION_ID, 9), (USER_ID, {_sQ: _uI})), -) - -DELETE_CONVERSATION_OUTPUT: StaticSchema = (18, n0, _DCOe, {_sSI: _cDCRo, _smith: None}) - -DELETE_CONVERSATION: StaticOperationSchema = ( - 23, - n0, - _DCe, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/conversations/{conversationId}", - "method": "DELETE", - } - ) - }, - DELETE_CONVERSATION_INPUT, - DELETE_CONVERSATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - LICENSE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DGI, - {_sSI: _cDGR, _smit: None}, - (_aIp, _iI, _gN, _dSI), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (GROUP_NAME, 9), - (DATA_SOURCE_ID, {_sQ: _dSI}), - ), -) - -DELETE_GROUP_OUTPUT: StaticSchema = (18, n0, _DGO, {_sSI: _cDGRo, _smith: None}) - -DELETE_GROUP: StaticOperationSchema = ( - 23, - n0, - _DG, - { - _smithy: MappingProxyType( - { - "method": "DELETE", - "uri": "/applications/{applicationId}/indices/{indexId}/groups/{groupName}", - } - ) - }, - DELETE_GROUP_INPUT, - DELETE_GROUP_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DELETE_USER_INPUT: StaticSchema = ( - 18, - n0, - _DUI, - {_sSI: _cDUR, _smit: None}, - (_aIp, _uI), - ((APPLICATION_ID, 9), (STRING, 9)), -) - -DELETE_USER_OUTPUT: StaticSchema = (18, n0, _DUO, {_sSI: _cDURo, _smith: None}) - -DELETE_USER: StaticOperationSchema = ( - 23, - n0, - _DU, - { - _smithy: MappingProxyType( - {"method": "DELETE", "uri": "/applications/{applicationId}/users/{userId}"} - ) - }, - DELETE_USER_INPUT, - DELETE_USER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DISASSOCIATE_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _DPIi, - {_sSI: _cDPRom, _smit: None}, - (_aIp, _sIt), - ((APPLICATION_ID, 9), (STRING, 9)), -) - -DISASSOCIATE_PERMISSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DPOi, - {_sSI: _cDPRoma, _smith: None}, -) - -DISASSOCIATE_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _DPi, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/policy/{statementId}", - "method": "DELETE", - } - ) - }, - DISASSOCIATE_PERMISSION_INPUT, - DISASSOCIATE_PERMISSION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -DOCUMENT_STATUS: StaticSchema = ( - 14, - n0, - _DSo, - 0, - (_RECEIVED, _PROCESSING, _INDEXED, _UPDATED, _FAILED, _DELETING, _DELETED, _DFTI), - ( - (-1, {_sV: _RECEIVED}), - (-1, {_sV: _PROCESSING}), - (-1, {_sV: _INDEXED}), - (-1, {_sV: _UPDATED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _DELETED}), - (-1, {_sV: _DFTI}), - ), -) - -DOCUMENT_DETAILS: StaticSchema = ( - 18, - n0, - _DDo, - 0, - (_dI, _st, _e, _cA, _uA), - ( - (DOCUMENT_ID, 0), - (DOCUMENT_STATUS, 0), - (ERROR_DETAIL, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -DOCUMENT_DETAIL_LIST: StaticSchema = (16, n0, _DDL, 0, (_m,), ((DOCUMENT_DETAILS, 0),)) - -EXAMPLE_CHAT_MESSAGE: StaticSchema = (3, n0, _ECM, 0) - -EXAMPLE_CHAT_MESSAGES: StaticSchema = ( - 16, - n0, - _ECMx, - 0, - (_m,), - ((EXAMPLE_CHAT_MESSAGE, 0),), -) - -MAX_RESULTS_INTEGER_FOR_GET_TOPIC_CONFIGURATIONS: StaticSchema = (7, n0, _MRIFGTC, 0) - -GET_CHAT_CONTROLS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GCCCI, - {_sSI: _cGCCCR, _smit: None}, - (_aIp, _mRa, _nT), - ( - (APPLICATION_ID, 9), - (MAX_RESULTS_INTEGER_FOR_GET_TOPIC_CONFIGURATIONS, {_sQ: _mRa}), - (NEXT_TOKEN, {_sQ: _nT}), - ), -) - -HALLUCINATION_REDUCTION_CONTROL: StaticSchema = ( - 14, - n0, - _HRC, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -HALLUCINATION_REDUCTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _HRCa, - 0, - (_hRC,), - ((HALLUCINATION_REDUCTION_CONTROL, 0),), -) - -RESPONSE_SCOPE: StaticSchema = ( - 14, - n0, - _RSe, - 0, - (_ECO, _EKE), - ((-1, {_sV: _ECO}), (-1, {_sV: _EKE})), -) - -TOPIC_DESCRIPTION: StaticSchema = (3, n0, _TD, 0) - -TOPIC_CONFIGURATION_NAME: StaticSchema = (3, n0, _TCN, 0) - -USER_IDS: StaticSchema = (16, n0, _UIse, 0, (_m,), ((STRING, 0),)) - -USERS_AND_GROUPS: StaticSchema = ( - 18, - n0, - _UAG, - 0, - (_uIs, _uG), - ((USER_IDS, 0), (USER_GROUPS, 0)), -) - -RULE_CONFIGURATION: StaticSchema = ( - 19, - n0, - _RCu, - 0, - (_cBR, _cRR), - ((CONTENT_BLOCKER_RULE, 0), (CONTENT_RETRIEVAL_RULE, 0)), -) - -RULE_TYPE: StaticSchema = ( - 14, - n0, - _RTu, - 0, - (_CBR_, _CRR_), - ((-1, {_sV: _CBR_}), (-1, {_sV: _CRR_})), -) - -RULE: StaticSchema = ( - 18, - n0, - _Ru, - 0, - (_iUAG, _eUAG, _rTu, _rCu), - ( - (USERS_AND_GROUPS, 0), - (USERS_AND_GROUPS, 0), - (RULE_TYPE, 1), - (RULE_CONFIGURATION, 0), - ), -) - -RULES: StaticSchema = (16, n0, _Rul, 0, (_m,), ((RULE, 0),)) - -TOPIC_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TC, - 0, - (_n, _d, _eCM, _ru), - ( - (TOPIC_CONFIGURATION_NAME, 1), - (TOPIC_DESCRIPTION, 0), - (EXAMPLE_CHAT_MESSAGES, 0), - (RULES, 1), - ), -) - -TOPIC_CONFIGURATIONS: StaticSchema = ( - 16, - n0, - _TCo, - 0, - (_m,), - ((TOPIC_CONFIGURATION, 0),), -) - -GET_CHAT_CONTROLS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GCCCO, - {_sSI: _cGCCCRo, _smith: None}, - (_rS, _oC, _bP, _tC, _cMCr, _nT, _hRCa), - ( - (RESPONSE_SCOPE, 0), - (APPLIED_ORCHESTRATION_CONFIGURATION, 0), - (BLOCKED_PHRASES_CONFIGURATION, 0), - (TOPIC_CONFIGURATIONS, 0), - (APPLIED_CREATOR_MODE_CONFIGURATION, 0), - (NEXT_TOKEN, 0), - (HALLUCINATION_REDUCTION_CONFIGURATION, 0), - ), -) - -GET_CHAT_CONTROLS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GCCC, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/chatcontrols", - "method": "GET", - "code": 200, - } - ) - }, - GET_CHAT_CONTROLS_CONFIGURATION_INPUT, - GET_CHAT_CONTROLS_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_CHAT_RESPONSE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GCRCI, - {_sSI: _cGCRCR, _smit: None}, - (_aIp, _cRCI), - ((APPLICATION_ID, 9), (CHAT_RESPONSE_CONFIGURATION_ID, 9)), -) - -GET_CHAT_RESPONSE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GCRCO, - {_sSI: _cGCRCRo, _smith: None}, - (_cRCI, _cRCA, _dN, _cA, _iUC, _lUC), - ( - (CHAT_RESPONSE_CONFIGURATION_ID, 0), - (CHAT_RESPONSE_CONFIGURATION_ARN, 0), - (DISPLAY_NAME, 0), - (TIMESTAMP, 0), - (CHAT_RESPONSE_CONFIGURATION_DETAIL, 0), - (CHAT_RESPONSE_CONFIGURATION_DETAIL, 0), - ), -) - -GET_CHAT_RESPONSE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GCRC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", - } - ) - }, - GET_CHAT_RESPONSE_CONFIGURATION_INPUT, - GET_CHAT_RESPONSE_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -OUTPUT_FORMAT: StaticSchema = ( - 14, - n0, - _OF, - 0, - (_RAW, _EXTRACTED), - ((-1, {_sV: _RAW}), (-1, {_sV: _EXTRACTED})), -) - -GET_DOCUMENT_CONTENT_INPUT: StaticSchema = ( - 18, - n0, - _GDCI, - {_sSI: _cGDCR, _smit: None}, - (_aIp, _iI, _dSI, _dI, _oF), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (DATA_SOURCE_ID, {_sQ: _dSI}), - (DOCUMENT_ID, 9), - (OUTPUT_FORMAT, {_sQ: _oF}), - ), -) - -GET_DOCUMENT_CONTENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GDCO, - {_sSI: _cGDCRo, _smith: None}, - (_pU, _mTi), - ((STRING, 1), (STRING, 1)), -) - -GET_DOCUMENT_CONTENT: StaticOperationSchema = ( - 23, - n0, - _GDC, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/index/{indexId}/documents/{documentId}/content", - "method": "GET", - } - ) - }, - GET_DOCUMENT_CONTENT_INPUT, - GET_DOCUMENT_CONTENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _GGI, - {_sSI: _cGGR, _smit: None}, - (_aIp, _iI, _gN, _dSI), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (GROUP_NAME, 9), - (DATA_SOURCE_ID, {_sQ: _dSI}), - ), -) - -GROUP_STATUS: StaticSchema = ( - 14, - n0, - _GS, - 0, - (_FAILED, _SUCCEEDED, _PROCESSING, _DELETING, _DELETED), - ( - (-1, {_sV: _FAILED}), - (-1, {_sV: _SUCCEEDED}), - (-1, {_sV: _PROCESSING}), - (-1, {_sV: _DELETING}), - (-1, {_sV: _DELETED}), - ), -) - -GROUP_STATUS_DETAIL: StaticSchema = ( - 18, - n0, - _GSD, - 0, - (_st, _lUA, _eD), - ((GROUP_STATUS, 0), (TIMESTAMP, 0), (ERROR_DETAIL, 0)), -) - -GROUP_STATUS_DETAILS: StaticSchema = ( - 16, - n0, - _GSDr, - 0, - (_m,), - ((GROUP_STATUS_DETAIL, 0),), -) - -GET_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _GGO, - {_sSI: _cGGRo, _smith: None}, - (_st, _sH), - ((GROUP_STATUS_DETAIL, 0), (GROUP_STATUS_DETAILS, 0)), -) - -GET_GROUP: StaticOperationSchema = ( - 23, - n0, - _GG, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/applications/{applicationId}/indices/{indexId}/groups/{groupName}", - } - ) - }, - GET_GROUP_INPUT, - GET_GROUP_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_MEDIA_INPUT: StaticSchema = ( - 18, - n0, - _GMI, - {_sSI: _cGMR, _smit: None}, - (_aIp, _cI, _mIe, _mI), - ((APPLICATION_ID, 9), (CONVERSATION_ID, 9), (MESSAGE_ID, 9), (MEDIA_ID, 9)), -) - -GET_MEDIA_OUTPUT: StaticSchema = ( - 18, - n0, - _GMO, - {_sSI: _cGMRo, _smith: None}, - (_mB, _mMT), - ((BLOB, 0), (STRING, 0)), -) - -MEDIA_TOO_LARGE_EXCEPTION: StaticSchema = ( - 18, - n0, - _MTLE, - {_sm: _c, _sE: 400}, - (_me,), - ((ERROR_MESSAGE, 1),), -) - -GET_MEDIA: StaticOperationSchema = ( - 23, - n0, - _GM, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/media/{mediaId}", - } - ) - }, - GET_MEDIA_INPUT, - GET_MEDIA_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - LICENSE_NOT_FOUND_EXCEPTION, - MEDIA_TOO_LARGE_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GPIe, - {_sSI: _cGPRom, _smit: None}, - (_aIp,), - ((APPLICATION_ID, 9),), -) - -GET_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GPOe, - {_sSI: _cGPRoma, _smith: None}, - (_po,), - ((STRING, 0),), -) - -GET_POLICY: StaticOperationSchema = ( - 23, - n0, - _GPe, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/policy", "method": "GET"} - ) - }, - GET_POLICY_INPUT, - GET_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_USER_INPUT: StaticSchema = ( - 18, - n0, - _GUI, - {_sSI: _cGUR, _smit: None}, - (_aIp, _uI), - ((APPLICATION_ID, 9), (STRING, 9)), -) - -GET_USER_OUTPUT: StaticSchema = ( - 18, - n0, - _GUO, - {_sSI: _cGURo, _smith: None}, - (_uAs,), - ((USER_ALIASES, 0),), -) - -GET_USER: StaticOperationSchema = ( - 23, - n0, - _GU, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/applications/{applicationId}/users/{userId}"} - ) - }, - GET_USER_INPUT, - GET_USER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_ATTACHMENTS: StaticSchema = (7, n0, _MRIFLAa, 0) - -LIST_ATTACHMENTS_INPUT: StaticSchema = ( - 18, - n0, - _LAIi, - {_sSI: _cLARom, _smit: None}, - (_aIp, _cI, _uI, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (CONVERSATION_ID, {_sQ: _cI}), - (USER_ID, {_sQ: _uI}), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_ATTACHMENTS, {_sQ: _mRa}), - ), -) - -LIST_ATTACHMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LAOi, - {_sSI: _cLARoma, _smith: None}, - (_atta, _nT), - ((ATTACHMENT_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_ATTACHMENTS: StaticOperationSchema = ( - 23, - n0, - _LAis, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/attachments", "method": "GET"} - ) - }, - LIST_ATTACHMENTS_INPUT, - LIST_ATTACHMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - LICENSE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_CHAT_RESPONSE_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LCRCI, - {_sSI: _cLCRCR, _smit: None}, - (_aIp, _mRa, _nT), - ((APPLICATION_ID, 9), (INTEGER, {_sQ: _mRa}), (NEXT_TOKEN, {_sQ: _nT})), -) - -LIST_CHAT_RESPONSE_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCRCO, - {_sSI: _cLCRCRo, _smith: None}, - (_cRC, _nT), - ((CHAT_RESPONSE_CONFIGURATIONS, 0), (NEXT_TOKEN, 0)), -) - -LIST_CHAT_RESPONSE_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _LCRC, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/applications/{applicationId}/chatresponseconfigurations", - } - ) - }, - LIST_CHAT_RESPONSE_CONFIGURATIONS_INPUT, - LIST_CHAT_RESPONSE_CONFIGURATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_CONVERSATIONS: StaticSchema = (7, n0, _MRIFLC, 0) - -LIST_CONVERSATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LCI, - {_sSI: _cLCR, _smit: None}, - (_aIp, _uI, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (USER_ID, {_sQ: _uI}), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_CONVERSATIONS, {_sQ: _mRa}), - ), -) - -LIST_CONVERSATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LCO, - {_sSI: _cLCRo, _smith: None}, - (_nT, _conve), - ((NEXT_TOKEN, 0), (CONVERSATIONS, 0)), -) - -LIST_CONVERSATIONS: StaticOperationSchema = ( - 23, - n0, - _LC, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/conversations", "method": "GET"} - ) - }, - LIST_CONVERSATIONS_INPUT, - LIST_CONVERSATIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - LICENSE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES_SYNC_JOBS: StaticSchema = ( - 7, - n0, - _MRIFLDSSJ, - 0, -) - -LIST_DATA_SOURCE_SYNC_JOBS_INPUT: StaticSchema = ( - 18, - n0, - _LDSSJI, - {_sSI: _cLDSSJR, _smit: None}, - (_dSI, _aIp, _iI, _nT, _mRa, _sTt, _eT, _sF), - ( - (DATA_SOURCE_ID, 9), - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES_SYNC_JOBS, {_sQ: _mRa}), - (TIMESTAMP, {_sQ: _sTt}), - (TIMESTAMP, {_sQ: _eT}), - (DATA_SOURCE_SYNC_JOB_STATUS, {_sQ: _sSy}), - ), -) - -LIST_DATA_SOURCE_SYNC_JOBS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDSSJO, - {_sSI: _cLDSSJRo, _smith: None}, - (_h, _nT), - ((DATA_SOURCE_SYNC_JOBS, 0), (NEXT_TOKEN, 0)), -) - -LIST_DATA_SOURCE_SYNC_JOBS: StaticOperationSchema = ( - 23, - n0, - _LDSSJ, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/syncjobs", - "method": "GET", - } - ) - }, - LIST_DATA_SOURCE_SYNC_JOBS_INPUT, - LIST_DATA_SOURCE_SYNC_JOBS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_DOCUMENTS: StaticSchema = (7, n0, _MRIFLD, 0) - -LIST_DOCUMENTS_INPUT: StaticSchema = ( - 18, - n0, - _LDI, - {_sSI: _cLDR, _smit: None}, - (_aIp, _iI, _dSIa, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (DATA_SOURCE_IDS, {_sQ: _dSIa}), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_DOCUMENTS, {_sQ: _mRa}), - ), -) - -LIST_DOCUMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDO, - {_sSI: _cLDRo, _smith: None}, - (_dDL, _nT), - ((DOCUMENT_DETAIL_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_DOCUMENTS: StaticOperationSchema = ( - 23, - n0, - _LD, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/index/{indexId}/documents", - "method": "GET", - } - ) - }, - LIST_DOCUMENTS_INPUT, - LIST_DOCUMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_GROUPS_REQUEST: StaticSchema = (7, n0, _MRIFLGR, 0) - -LIST_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _LGI, - {_sSI: _cLGR, _smit: None}, - (_aIp, _iI, _uET, _dSI, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (TIMESTAMP, {_sQ: _uET, _s: None}), - (DATA_SOURCE_ID, {_sQ: _dSI}), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_GROUPS_REQUEST, {_sQ: _mRa}), - ), -) - -GROUP_SUMMARY: StaticSchema = (18, n0, _GSr, 0, (_gN,), ((GROUP_NAME, 0),)) - -GROUP_SUMMARY_LIST: StaticSchema = (16, n0, _GSL, 0, (_m,), ((GROUP_SUMMARY, 0),)) - -LIST_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _LGO, - {_sSI: _cLGRo, _smith: None}, - (_nT, _it), - ((NEXT_TOKEN, 0), (GROUP_SUMMARY_LIST, 0)), -) - -LIST_GROUPS: StaticOperationSchema = ( - 23, - n0, - _LG, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/applications/{applicationId}/indices/{indexId}/groups", - } - ) - }, - LIST_GROUPS_INPUT, - LIST_GROUPS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_MESSAGES: StaticSchema = (7, n0, _MRIFLM, 0) - -LIST_MESSAGES_INPUT: StaticSchema = ( - 18, - n0, - _LMI, - {_sSI: _cLMR, _smit: None}, - (_cI, _aIp, _uI, _nT, _mRa), - ( - (CONVERSATION_ID, 9), - (APPLICATION_ID, 9), - (USER_ID, {_sQ: _uI}), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_MESSAGES, {_sQ: _mRa}), - ), -) - -MESSAGE_BODY: StaticSchema = (3, n0, _MB, 0) - -MESSAGE_TYPE: StaticSchema = ( - 14, - n0, - _MTe, - 0, - (_USER, _SYSTEM), - ((-1, {_sV: _USER}), (-1, {_sV: _SYSTEM})), -) - -MESSAGE: StaticSchema = ( - 18, - n0, - _M, - 0, - (_mIe, _bo, _tim, _t, _atta, _sAou, _aR, _aE), - ( - (STRING, 0), - (MESSAGE_BODY, 0), - (TIMESTAMP, 0), - (MESSAGE_TYPE, 0), - (ATTACHMENTS_OUTPUT, 0), - (SOURCE_ATTRIBUTIONS, 0), - (ACTION_REVIEW, 0), - (ACTION_EXECUTION, 0), - ), -) - -MESSAGES: StaticSchema = (16, n0, _Me, 0, (_m,), ((MESSAGE, 0),)) - -LIST_MESSAGES_OUTPUT: StaticSchema = ( - 18, - n0, - _LMO, - {_sSI: _cLMRo, _smith: None}, - (_mes, _nT), - ((MESSAGES, 0), (NEXT_TOKEN, 0)), -) - -LIST_MESSAGES: StaticOperationSchema = ( - 23, - n0, - _LM, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/conversations/{conversationId}", - "method": "GET", - } - ) - }, - LIST_MESSAGES_INPUT, - LIST_MESSAGES_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - LICENSE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_ACTIONS: StaticSchema = (7, n0, _MRIFLPA, 0) - -LIST_PLUGIN_ACTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LPAI, - {_sSI: _cLPAR, _smit: None}, - (_aIp, _pI, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (PLUGIN_ID, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_ACTIONS, {_sQ: _mRa}), - ), -) - -LIST_PLUGIN_ACTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPAO, - {_sSI: _cLPARo, _smith: None}, - (_nT, _it), - ((NEXT_TOKEN, 0), (ACTIONS, 0)), -) - -LIST_PLUGIN_ACTIONS: StaticOperationSchema = ( - 23, - n0, - _LPA, - { - _smithy: MappingProxyType( - { - "method": "GET", - "uri": "/applications/{applicationId}/plugins/{pluginId}/actions", - } - ) - }, - LIST_PLUGIN_ACTIONS_INPUT, - LIST_PLUGIN_ACTIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_ACTIONS: StaticSchema = (7, n0, _MRIFLPTA, 0) - -LIST_PLUGIN_TYPE_ACTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LPTAI, - {_sSI: _cLPTAR, _smit: None}, - (_pT, _nT, _mRa), - ( - (PLUGIN_TYPE, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_ACTIONS, {_sQ: _mRa}), - ), -) - -LIST_PLUGIN_TYPE_ACTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPTAO, - {_sSI: _cLPTARo, _smith: None}, - (_nT, _it), - ((NEXT_TOKEN, 0), (ACTIONS, 0)), -) - -LIST_PLUGIN_TYPE_ACTIONS: StaticOperationSchema = ( - 23, - n0, - _LPTA, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/pluginTypes/{pluginType}/actions"} - ) - }, - LIST_PLUGIN_TYPE_ACTIONS_INPUT, - LIST_PLUGIN_TYPE_ACTIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_METADATA: StaticSchema = (7, n0, _MRIFLPTM, 0) - -LIST_PLUGIN_TYPE_METADATA_INPUT: StaticSchema = ( - 18, - n0, - _LPTMI, - {_sSI: _cLPTMR, _smit: None}, - (_nT, _mRa), - ( - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_METADATA, {_sQ: _mRa}), - ), -) - -PLUGIN_TYPE_CATEGORY: StaticSchema = ( - 14, - n0, - _PTC, - 0, - (_CRM, _PM_, _COMMUNICATION, _PRODUCTIVITY, _TM), - ( - (-1, {_sV: _Crm}), - (-1, {_sV: _Pm}), - (-1, {_sV: _Com}), - (-1, {_sV: _Pro}), - (-1, {_sV: _Taim}), - ), -) - -PLUGIN_TYPE_METADATA_SUMMARY: StaticSchema = ( - 18, - n0, - _PTMS, - 0, - (_t, _ca, _d), - ((PLUGIN_TYPE, 0), (PLUGIN_TYPE_CATEGORY, 0), (STRING, 0)), -) - -LIST_PLUGIN_TYPE_METADATA_SUMMARIES: StaticSchema = ( - 16, - n0, - _LPTMS, - 0, - (_m,), - ((PLUGIN_TYPE_METADATA_SUMMARY, 0),), -) - -LIST_PLUGIN_TYPE_METADATA_OUTPUT: StaticSchema = ( - 18, - n0, - _LPTMO, - {_sSI: _cLPTMRo, _smith: None}, - (_nT, _it), - ((NEXT_TOKEN, 0), (LIST_PLUGIN_TYPE_METADATA_SUMMARIES, 0)), -) - -LIST_PLUGIN_TYPE_METADATA: StaticOperationSchema = ( - 23, - n0, - _LPTM, - {_smithy: MappingProxyType({"method": "GET", "uri": "/pluginTypeMetadata"})}, - LIST_PLUGIN_TYPE_METADATA_INPUT, - LIST_PLUGIN_TYPE_METADATA_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS_INTEGER_FOR_LIST_SUBSCRIPTIONS: StaticSchema = (7, n0, _MRIFLS, 0) - -LIST_SUBSCRIPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LSI, - {_sSI: _cLSR, _smit: None}, - (_aIp, _nT, _mRa), - ( - (APPLICATION_ID, 9), - (NEXT_TOKEN, {_sQ: _nT}), - (MAX_RESULTS_INTEGER_FOR_LIST_SUBSCRIPTIONS, {_sQ: _mRa}), - ), -) - -SUBSCRIPTION: StaticSchema = ( - 18, - n0, - _Su, - 0, - (_sIu, _sAu, _pr, _cS, _nS), - ( - (SUBSCRIPTION_ID, 0), - (SUBSCRIPTION_ARN, 0), - (SUBSCRIPTION_PRINCIPAL, 0), - (SUBSCRIPTION_DETAILS, 0), - (SUBSCRIPTION_DETAILS, 0), - ), -) - -SUBSCRIPTIONS: StaticSchema = (16, n0, _Sub, 0, (_m,), ((SUBSCRIPTION, 0),)) - -LIST_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_sSI: _cLSRo, _smith: None}, - (_nT, _sub), - ((NEXT_TOKEN, 0), (SUBSCRIPTIONS, 0)), -) - -LIST_SUBSCRIPTIONS: StaticOperationSchema = ( - 23, - n0, - _LS, - { - _smithy: MappingProxyType( - {"method": "GET", "uri": "/applications/{applicationId}/subscriptions"} - ) - }, - LIST_SUBSCRIPTIONS_INPUT, - LIST_SUBSCRIPTIONS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _smit: None}, - (_rARN,), - ((AMAZON_RESOURCE_NAME, 9),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smith: None}, - (_ta,), - ((TAGS, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - {_smithy: MappingProxyType({"uri": "/v1/tags/{resourceARN}", "method": "GET"})}, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SYSTEM_MESSAGE_ID: StaticSchema = (3, n0, _SMI, 0) - -MESSAGE_USEFULNESS_COMMENT: StaticSchema = (3, n0, _MUC, 0) - -MESSAGE_USEFULNESS_REASON: StaticSchema = ( - 14, - n0, - _MUR, - 0, - ( - _NFC, - _HOU, - _IOMS, - _NH, - _FC, - _COMPLETE, - _RS_, - _HELPFUL, - _NBOD, - _NC_, - _NC__, - _OTHER, - ), - ( - (-1, {_sV: _NFC}), - (-1, {_sV: _HOU}), - (-1, {_sV: _IOMS}), - (-1, {_sV: _NH}), - (-1, {_sV: _FC}), - (-1, {_sV: _COMPLETE}), - (-1, {_sV: _RS_}), - (-1, {_sV: _HELPFUL}), - (-1, {_sV: _NBOD}), - (-1, {_sV: _NC_}), - (-1, {_sV: _NC__}), - (-1, {_sV: _OTHER}), - ), -) - -MESSAGE_USEFULNESS: StaticSchema = ( - 14, - n0, - _MU, - 0, - (_USEFUL, _NU), - ((-1, {_sV: _USEFUL}), (-1, {_sV: _NU})), -) - -MESSAGE_USEFULNESS_FEEDBACK: StaticSchema = ( - 18, - n0, - _MUF, - 0, - (_use, _re, _com, _sAub), - ( - (MESSAGE_USEFULNESS, 1), - (MESSAGE_USEFULNESS_REASON, 0), - (MESSAGE_USEFULNESS_COMMENT, 0), - (TIMESTAMP, 1), - ), -) - -PUT_FEEDBACK_INPUT: StaticSchema = ( - 18, - n0, - _PFI, - {_sSI: _cPFR, _smit: None}, - (_aIp, _uI, _cI, _mIe, _mCA, _mU), - ( - (APPLICATION_ID, 9), - (USER_ID, {_sQ: _uI}), - (CONVERSATION_ID, 9), - (SYSTEM_MESSAGE_ID, 9), - (TIMESTAMP, 0), - (MESSAGE_USEFULNESS_FEEDBACK, 0), - ), -) - -PUT_FEEDBACK_OUTPUT: StaticSchema = (18, n0, _PFO, {_sSI: _sUm, _smith: None}) - -PUT_FEEDBACK: StaticOperationSchema = ( - 23, - n0, - _PF, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/feedback", - "method": "POST", - } - ) - }, - PUT_FEEDBACK_INPUT, - PUT_FEEDBACK_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MEMBER_GROUP: StaticSchema = ( - 18, - n0, - _MG, - 0, - (_gN, _t), - ((GROUP_NAME, 1), (MEMBERSHIP_TYPE, 0)), -) - -MEMBER_GROUPS: StaticSchema = (16, n0, _MGe, 0, (_m,), ((MEMBER_GROUP, 0),)) - -MEMBER_USER: StaticSchema = ( - 18, - n0, - _MUe, - 0, - (_uI, _t), - ((DATA_SOURCE_USER_ID, 1), (MEMBERSHIP_TYPE, 0)), -) - -MEMBER_USERS: StaticSchema = (16, n0, _MUem, 0, (_m,), ((MEMBER_USER, 0),)) - -GROUP_MEMBERS: StaticSchema = ( - 18, - n0, - _GMr, - 0, - (_mG, _mUe, _sPFGM), - ((MEMBER_GROUPS, 0), (MEMBER_USERS, 0), (S3, 0)), -) - -PUT_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _PGI, - {_sSI: _cPGR, _smit: None}, - (_aIp, _iI, _gN, _dSI, _t, _gM, _rA), - ( - (APPLICATION_ID, 9), - (INDEX_ID, 9), - (GROUP_NAME, 1), - (DATA_SOURCE_ID, 0), - (MEMBERSHIP_TYPE, 1), - (GROUP_MEMBERS, 1), - (ROLE_ARN, 0), - ), -) - -PUT_GROUP_OUTPUT: StaticSchema = (18, n0, _PGO, {_sSI: _cPGRo, _smith: None}) - -PUT_GROUP: StaticOperationSchema = ( - 23, - n0, - _PGu, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/applications/{applicationId}/indices/{indexId}/groups", - } - ) - }, - PUT_GROUP_INPUT, - PUT_GROUP_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -MAX_RESULTS: StaticSchema = (7, n0, _MRa, 0) - -QUERY_TEXT: StaticSchema = (3, n0, _QT, 0) - -SCORE_CONFIDENCE: StaticSchema = ( - 14, - n0, - _SCc, - 0, - (_VH, _HIGH, _MEDIUM, _LOW, _NA), - ( - (-1, {_sV: _VH}), - (-1, {_sV: _HIGH}), - (-1, {_sV: _MEDIUM}), - (-1, {_sV: _LOW}), - (-1, {_sV: _NA}), - ), -) - -SCORE_ATTRIBUTES: StaticSchema = (18, n0, _SAc, 0, (_sCc,), ((SCORE_CONFIDENCE, 0),)) - -RELEVANT_CONTENT: StaticSchema = ( - 18, - n0, - _RCel, - 0, - (_conte, _dI, _dT, _dU, _dAocu, _sAc), - ( - (STRING, 0), - (DOCUMENT_ID, 0), - (TITLE, 0), - (URL, 0), - (DOCUMENT_ATTRIBUTES, 0), - (SCORE_ATTRIBUTES, 0), - ), -) - -RELEVANT_CONTENT_LIST: StaticSchema = (16, n0, _RCL, 0, (_m,), ((RELEVANT_CONTENT, 0),)) - -SEARCH_RELEVANT_CONTENT_OUTPUT: StaticSchema = ( - 18, - n0, - _SRCO, - {_sSI: _cSRCR, _smith: None}, - (_rCe, _nT), - ((RELEVANT_CONTENT_LIST, 0), (NEXT_TOKEN, 0)), -) - -START_DATA_SOURCE_SYNC_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SDSSJI, - {_sSI: _cSDSSJR, _smit: None}, - (_dSI, _aIp, _iI), - ((DATA_SOURCE_ID, 9), (APPLICATION_ID, 9), (INDEX_ID, 9)), -) - -START_DATA_SOURCE_SYNC_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SDSSJO, - {_sSI: _cSDSSJRo, _smith: None}, - (_eIx,), - ((EXECUTION_ID, 0),), -) - -START_DATA_SOURCE_SYNC_JOB: StaticOperationSchema = ( - 23, - n0, - _SDSSJ, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/startsync", - "method": "POST", - } - ) - }, - START_DATA_SOURCE_SYNC_JOB_INPUT, - START_DATA_SOURCE_SYNC_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -STOP_DATA_SOURCE_SYNC_JOB_INPUT: StaticSchema = ( - 18, - n0, - _SDSSJIt, - {_sSI: _cSDSSJRom, _smit: None}, - (_dSI, _aIp, _iI), - ((DATA_SOURCE_ID, 9), (APPLICATION_ID, 9), (INDEX_ID, 9)), -) - -STOP_DATA_SOURCE_SYNC_JOB_OUTPUT: StaticSchema = ( - 18, - n0, - _SDSSJOt, - {_sSI: _cSDSSJRoma, _smith: None}, -) - -STOP_DATA_SOURCE_SYNC_JOB: StaticOperationSchema = ( - 23, - n0, - _SDSSJt, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/stopsync", - "method": "POST", - } - ) - }, - STOP_DATA_SOURCE_SYNC_JOB_INPUT, - STOP_DATA_SOURCE_SYNC_JOB_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _smit: None}, - (_rARN, _ta), - ((AMAZON_RESOURCE_NAME, 9), (TAGS, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smith: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - {_smithy: MappingProxyType({"uri": "/v1/tags/{resourceARN}", "method": "POST"})}, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -TAG_KEYS: StaticSchema = (16, n0, _TKa, 0, (_m,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URIn, - {_sSI: _cURRom, _smit: None}, - (_rARN, _tK), - ((AMAZON_RESOURCE_NAME, 9), (TAG_KEYS, {_sQ: _tK, _s: None})), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _UROn, {_sSI: _cURRoma, _smith: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _URn, - {_smithy: MappingProxyType({"uri": "/v1/tags/{resourceARN}", "method": "DELETE"})}, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ORCHESTRATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OCr, - 0, - (_cont,), - ((ORCHESTRATION_CONTROL, 1),), -) - -UPDATE_CHAT_CONTROLS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UCCCI, - {_sSI: _cUCCCR, _smit: None}, - (_aIp, _cT, _rS, _oC, _bPCU, _tCTCOU, _tCTD, _cMCr, _hRCa), - ( - (APPLICATION_ID, 9), - (CLIENT_TOKEN, 2), - (RESPONSE_SCOPE, 0), - (ORCHESTRATION_CONFIGURATION, 0), - (BLOCKED_PHRASES_CONFIGURATION_UPDATE, 0), - (TOPIC_CONFIGURATIONS, 0), - (TOPIC_CONFIGURATIONS, 0), - (CREATOR_MODE_CONFIGURATION, 0), - (HALLUCINATION_REDUCTION_CONFIGURATION, 0), - ), -) - -UPDATE_CHAT_CONTROLS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UCCCO, - {_sSI: _cUCCCRo, _smith: None}, -) - -UPDATE_CHAT_CONTROLS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _UCCC, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/chatcontrols", - "method": "PATCH", - "code": 200, - } - ) - }, - UPDATE_CHAT_CONTROLS_CONFIGURATION_INPUT, - UPDATE_CHAT_CONTROLS_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_CHAT_RESPONSE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UCRCI, - {_sSI: _cUCRCR, _smit: None}, - (_aIp, _cRCI, _dN, _rC, _cT), - ( - (APPLICATION_ID, 9), - (CHAT_RESPONSE_CONFIGURATION_ID, 9), - (DISPLAY_NAME, 0), - (RESPONSE_CONFIGURATIONS, 1), - (STRING, 2), - ), -) - -UPDATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UCRCO, - {_sSI: _cUCRCRo, _smith: None}, -) - -UPDATE_CHAT_RESPONSE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _UCRC, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", - } - ) - }, - UPDATE_CHAT_RESPONSE_CONFIGURATION_INPUT, - UPDATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _USI, - {_sSI: _cUSR, _smit: None}, - (_aIp, _sIu, _t), - ((APPLICATION_ID, 9), (SUBSCRIPTION_ID, 9), (SUBSCRIPTION_TYPE, 1)), -) - -UPDATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _USO, - {_sSI: _cUSRo, _smith: None}, - (_sAu, _cS, _nS), - ((SUBSCRIPTION_ARN, 0), (SUBSCRIPTION_DETAILS, 0), (SUBSCRIPTION_DETAILS, 0)), -) - -UPDATE_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _US, - { - _smithy: MappingProxyType( - { - "method": "PUT", - "uri": "/applications/{applicationId}/subscriptions/{subscriptionId}", - } - ) - }, - UPDATE_SUBSCRIPTION_INPUT, - UPDATE_SUBSCRIPTION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_USER_INPUT: StaticSchema = ( - 18, - n0, - _UUI, - {_sSI: _cUUR, _smit: None}, - (_aIp, _uI, _uATU, _uATD), - ((APPLICATION_ID, 9), (STRING, 9), (USER_ALIASES, 0), (USER_ALIASES, 0)), -) - -UPDATE_USER_OUTPUT: StaticSchema = ( - 18, - n0, - _UUO, - {_sSI: _cUURo, _smith: None}, - (_uAA, _uAU, _uAD), - ((USER_ALIASES, 0), (USER_ALIASES, 0), (USER_ALIASES, 0)), -) - -UPDATE_USER: StaticOperationSchema = ( - 23, - n0, - _UU, - { - _smithy: MappingProxyType( - {"method": "PUT", "uri": "/applications/{applicationId}/users/{userId}"} - ) - }, - UPDATE_USER_INPUT, - UPDATE_USER_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ATTRIBUTE_FILTER: StaticSchema = ( - 18, - n0, - _AF, - 0, - (_aAF, _oAF, _nF, _eTq, _cAo, _cAon, _gT, _gTOE, _lT, _lTOE), - ( - (lambda: ATTRIBUTE_FILTERS, 0), - (lambda: ATTRIBUTE_FILTERS, 0), - (lambda: ATTRIBUTE_FILTER, 0), - (DOCUMENT_ATTRIBUTE, 0), - (DOCUMENT_ATTRIBUTE, 0), - (DOCUMENT_ATTRIBUTE, 0), - (DOCUMENT_ATTRIBUTE, 0), - (DOCUMENT_ATTRIBUTE, 0), - (DOCUMENT_ATTRIBUTE, 0), - (DOCUMENT_ATTRIBUTE, 0), - ), -) - -ATTRIBUTE_FILTERS: StaticSchema = (16, n0, _AFt, 0, (_m,), ((ATTRIBUTE_FILTER, 0),)) - -ACTION_FILTER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AFC, - 0, - (_dAF,), - ((ATTRIBUTE_FILTER, 1),), -) - -CHAT_SYNC_INPUT: StaticSchema = ( - 18, - n0, - _CSIh, - {_smit: None}, - (_aIp, _uI, _uG, _uM, _atta, _aE, _aCRu, _cI, _pMI, _aFt, _cM, _cMCh, _cT), - ( - (APPLICATION_ID, 9), - (USER_ID, {_sQ: _uI}), - (USER_GROUPS, {_sQ: _uG}), - (USER_MESSAGE, 0), - (ATTACHMENTS_INPUT, 0), - (ACTION_EXECUTION, 0), - (AUTH_CHALLENGE_RESPONSE, 0), - (CONVERSATION_ID, 0), - (MESSAGE_ID, 0), - (ATTRIBUTE_FILTER, 0), - (CHAT_MODE, 0), - (CHAT_MODE_CONFIGURATION, 0), - (CLIENT_TOKEN, 2), - ), -) - -CONFIGURATION_EVENT: StaticSchema = ( - 18, - n0, - _CEo, - 0, - (_cM, _cMCh, _aFt), - ((CHAT_MODE, 0), (CHAT_MODE_CONFIGURATION, 0), (ATTRIBUTE_FILTER, 0)), -) - -SEARCH_RELEVANT_CONTENT_INPUT: StaticSchema = ( - 18, - n0, - _SRCI, - {_sSI: _cSRCRo, _smit: None}, - (_aIp, _qT, _cSo, _aFt, _mRa, _nT), - ( - (APPLICATION_ID, 9), - (QUERY_TEXT, 1), - (CONTENT_SOURCE, 1), - (ATTRIBUTE_FILTER, 0), - (MAX_RESULTS, {_smithyapi: 10}), - (NEXT_TOKEN, 0), - ), -) - -CHAT_SYNC: StaticOperationSchema = ( - 23, - n0, - _CSh, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/conversations?sync", - "method": "POST", - } - ) - }, - CHAT_SYNC_INPUT, - CHAT_SYNC_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - EXTERNAL_RESOURCE_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - LICENSE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -SEARCH_RELEVANT_CONTENT: StaticOperationSchema = ( - 23, - n0, - _SRC, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/relevant-content", "method": "POST"} - ) - }, - SEARCH_RELEVANT_CONTENT_INPUT, - SEARCH_RELEVANT_CONTENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - LICENSE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -ACTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ACct, - 0, - (_act, _fC), - ((Q_IAM_ACTION, 1), (ACTION_FILTER_CONFIGURATION, 0)), -) - -CHAT_INPUT_STREAM: StaticSchema = ( - 19, - n0, - _CIS, - {_smithyap: None}, - (_cE, _tE, _aEt, _aEE, _eOIE, _aCREu), - ( - (CONFIGURATION_EVENT, 0), - (TEXT_INPUT_EVENT, 0), - (ATTACHMENT_INPUT_EVENT, 0), - (ACTION_EXECUTION_EVENT, 0), - (END_OF_INPUT_EVENT, 0), - (AUTH_CHALLENGE_RESPONSE_EVENT, 0), - ), -) - -ACTION_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _ACL, - 0, - (_m,), - ((ACTION_CONFIGURATION, 0),), -) - -CHAT_INPUT: StaticSchema = ( - 18, - n0, - _CIh, - {_smit: None}, - (_aIp, _uI, _uG, _cI, _pMI, _cT, _iSn), - ( - (APPLICATION_ID, 9), - (USER_ID, {_sQ: _uI}), - (USER_GROUPS, {_sQ: _uG}), - (CONVERSATION_ID, {_sQ: _cI}), - (MESSAGE_ID, {_sQ: _pMI}), - (CLIENT_TOKEN, {_sQ: _cT, _sT: None}), - (CHAT_INPUT_STREAM, 16), - ), -) - -CHAT: StaticOperationSchema = ( - 23, - n0, - _Ch, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/conversations", "method": "POST"} - ) - }, - CHAT_INPUT, - CHAT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - EXTERNAL_RESOURCE_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - LICENSE_NOT_FOUND_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -CREATE_DATA_ACCESSOR_INPUT: StaticSchema = ( - 18, - n0, - _CDAIr, - {_sSI: _cCDARoma, _smit: None}, - (_aIp, _pr, _aCct, _cT, _dN, _aD, _ta), - ( - (APPLICATION_ID, 9), - (PRINCIPAL_ROLE_ARN, 1), - (ACTION_CONFIGURATION_LIST, 1), - (CLIENT_TOKEN, 2), - (DATA_ACCESSOR_NAME, 1), - (DATA_ACCESSOR_AUTHENTICATION_DETAIL, 0), - (TAGS, 0), - ), -) - -GET_DATA_ACCESSOR_OUTPUT: StaticSchema = ( - 18, - n0, - _GDAO, - {_sSI: _cGDARo, _smith: None}, - (_dN, _dAI, _dAA, _aIp, _iAA, _pr, _aCct, _aD, _cA, _uA), - ( - (DATA_ACCESSOR_NAME, 0), - (DATA_ACCESSOR_ID, 0), - (DATA_ACCESSOR_ARN, 0), - (APPLICATION_ID, 0), - (IDC_APPLICATION_ARN, 0), - (PRINCIPAL_ROLE_ARN, 0), - (ACTION_CONFIGURATION_LIST, 0), - (DATA_ACCESSOR_AUTHENTICATION_DETAIL, 0), - (TIMESTAMP, 0), - (TIMESTAMP, 0), - ), -) - -UPDATE_DATA_ACCESSOR_INPUT: StaticSchema = ( - 18, - n0, - _UDAI, - {_sSI: _cUDARo, _smit: None}, - (_aIp, _dAI, _aCct, _aD, _dN), - ( - (APPLICATION_ID, 9), - (DATA_ACCESSOR_ID, 9), - (ACTION_CONFIGURATION_LIST, 1), - (DATA_ACCESSOR_AUTHENTICATION_DETAIL, 0), - (DATA_ACCESSOR_NAME, 0), - ), -) - -CREATE_DATA_ACCESSOR: StaticOperationSchema = ( - 23, - n0, - _CDAr, - { - _smithy: MappingProxyType( - {"uri": "/applications/{applicationId}/dataaccessors", "method": "POST"} - ) - }, - CREATE_DATA_ACCESSOR_INPUT, - CREATE_DATA_ACCESSOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -GET_DATA_ACCESSOR: StaticOperationSchema = ( - 23, - n0, - _GDA, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/dataaccessors/{dataAccessorId}", - "method": "GET", - } - ) - }, - GET_DATA_ACCESSOR_INPUT, - GET_DATA_ACCESSOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -UPDATE_DATA_ACCESSOR: StaticOperationSchema = ( - 23, - n0, - _UDA, - { - _smithy: MappingProxyType( - { - "uri": "/applications/{applicationId}/dataaccessors/{dataAccessorId}", - "method": "PUT", - } - ) - }, - UPDATE_DATA_ACCESSOR_INPUT, - UPDATE_DATA_ACCESSOR_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLING_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -EXPERT_Q: StaticSchema = ( - 21, - n0, - _EQ, - { - _aw: MappingProxyType({"name": "qbusiness"}), - _aws: MappingProxyType( - { - "sdkId": "QBusiness", - "cloudFormationName": "QBusiness", - "arnNamespace": "qbusiness", - "cloudTrailEventSource": "qbusiness.amazonaws.com", - } - ), - _aJ: MappingProxyType({"http": ("h2", "http/1.1"), "eventStreamHttp": ("h2",)}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "MEMBER_RELATION", + "READ_ACCESS_TYPE", + "MEMBERSHIP_TYPE", + "GROUP_NAME", + "PRINCIPAL_GROUP", + "USER_ID", + "PRINCIPAL_USER", + "PRINCIPAL", + "PRINCIPALS", + "ACCESS_CONTROL", + "ACCESS_CONTROLS", + "ACCESS_CONFIGURATION", + "ERROR_MESSAGE", + "ACCESS_DENIED_EXCEPTION", + "Q_IAM_ACTION", + "DOCUMENT_ATTRIBUTE_KEY", + "TIMESTAMP", + "LONG", + "STRING", + "DOCUMENT_ATTRIBUTE_STRING_LIST_VALUE", + "DOCUMENT_ATTRIBUTE_STRING_VALUE", + "DOCUMENT_ATTRIBUTE_VALUE", + "DOCUMENT_ATTRIBUTE", + "ACTION_PAYLOAD_FIELD_KEY", + "ACTION_PAYLOAD_FIELD_VALUE", + "ACTION_EXECUTION_PAYLOAD_FIELD", + "ACTION_EXECUTION_PAYLOAD", + "ACTION_PAYLOAD_FIELD_NAME_SEPARATOR", + "PLUGIN_ID", + "ACTION_EXECUTION", + "ACTION_EXECUTION_EVENT", + "ACTION_PAYLOAD_FIELD_TYPE", + "ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUE", + "ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUES", + "ACTION_REVIEW_PAYLOAD_FIELD_ARRAY_ITEM_JSON_SCHEMA", + "INTEGER", + "ACTION_REVIEW_PAYLOAD_FIELD", + "ACTION_REVIEW_PAYLOAD", + "PLUGIN_TYPE", + "ACTION_REVIEW", + "CONVERSATION_ID", + "MESSAGE_ID", + "ACTION_REVIEW_EVENT", + "ACTION_SUMMARY", + "ACTIONS", + "AMAZON_RESOURCE_NAME", + "PAYLOAD", + "S3_BUCKET_NAME", + "S3_OBJECT_KEY", + "S3", + "API_SCHEMA", + "API_SCHEMA_TYPE", + "APPLICATION_ID", + "APPLICATION_NAME", + "IDENTITY_TYPE", + "CLIENT_NAMESPACE", + "QUICK_SIGHT_CONFIGURATION", + "APPLICATION_STATUS", + "APPLICATION", + "APPLICATION_ARN", + "CONFLICT_EXCEPTION", + "ATTACHMENTS_CONTROL_MODE", + "ATTACHMENTS_CONFIGURATION", + "CLIENT_ID_FOR_OIDC", + "CLIENT_IDS_FOR_OIDC", + "CLIENT_TOKEN", + "DESCRIPTION", + "KMS_KEY_ID", + "ENCRYPTION_CONFIGURATION", + "IAM_IDENTITY_PROVIDER_ARN", + "INSTANCE_ARN", + "PERSONALIZATION_CONTROL_MODE", + "PERSONALIZATION_CONFIGURATION", + "Q_APPS_CONTROL_MODE", + "Q_APPS_CONFIGURATION", + "ROLE_ARN", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAGS", + "CREATE_APPLICATION_INPUT", + "CREATE_APPLICATION_OUTPUT", + "CREATE_APPLICATION", + "INTERNAL_SERVER_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "THROTTLING_EXCEPTION", + "VALIDATION_EXCEPTION_FIELD", + "VALIDATION_EXCEPTION_FIELDS", + "VALIDATION_EXCEPTION_REASON", + "VALIDATION_EXCEPTION", + "IDC_TRUSTED_TOKEN_ISSUER_ARN", + "DATA_ACCESSOR_IDC_TRUSTED_TOKEN_ISSUER_CONFIGURATION", + "DATA_ACCESSOR_AUTHENTICATION_CONFIGURATION", + "DATA_ACCESSOR_AUTHENTICATION_TYPE", + "DATA_ACCESSOR_EXTERNAL_ID", + "DATA_ACCESSOR_EXTERNAL_IDS", + "DATA_ACCESSOR_AUTHENTICATION_DETAIL", + "DATA_ACCESSOR_NAME", + "PRINCIPAL_ROLE_ARN", + "DATA_ACCESSOR_ARN", + "DATA_ACCESSOR_ID", + "IDC_APPLICATION_ARN", + "CREATE_DATA_ACCESSOR_OUTPUT", + "CREATE_DATA_ACCESSOR_INPUT", + "CREATE_DATA_ACCESSOR", + "DELETE_DATA_ACCESSOR_INPUT", + "DELETE_DATA_ACCESSOR_OUTPUT", + "DELETE_DATA_ACCESSOR", + "GET_DATA_ACCESSOR_INPUT", + "GET_DATA_ACCESSOR_OUTPUT", + "GET_DATA_ACCESSOR", + "MAX_RESULTS_INTEGER_FOR_LIST_DATA_ACCESSORS", + "NEXT_TOKEN1500", + "SUBSCRIPTION_TYPE", + "URL", + "RETRIEVER_ID", + "WEB_EXPERIENCE_ID", + "ATTACHMENT_ID", + "SUBSCRIPTION_ID", + "LICENSE_NOT_FOUND_EXCEPTION", + "CHAT_RESPONSE_CONFIGURATION_ID", + "ATTRIBUTE_FILTER", + "ATTRIBUTE_FILTERS", + ), + ( + "LIST_DATA_ACCESSORS_INPUT", + "LIST_DATA_ACCESSORS_OUTPUT", + "LIST_DATA_ACCESSORS", + "DATA_ACCESSOR", + "DATA_ACCESSORS", + "UPDATE_DATA_ACCESSOR_OUTPUT", + "UPDATE_DATA_ACCESSOR_INPUT", + "UPDATE_DATA_ACCESSOR", + "DELETE_APPLICATION_INPUT", + "DELETE_APPLICATION_OUTPUT", + "DELETE_APPLICATION", + "GET_APPLICATION_INPUT", + "GET_APPLICATION_OUTPUT", + "GET_APPLICATION", + "APPLIED_ATTACHMENTS_CONFIGURATION", + "AUTO_SUBSCRIPTION_STATUS", + "AUTO_SUBSCRIPTION_CONFIGURATION", + "ERROR_CODE", + "ERROR_DETAIL", + "INDEX_CAPACITY_INTEGER", + "INDEX_CAPACITY_CONFIGURATION", + "INDEX_NAME", + "INDEX_TYPE", + "CREATE_INDEX_INPUT", + "CREATE_INDEX_OUTPUT", + "CREATE_INDEX", + "INDEX_ARN", + "INDEX_ID", + "DATA_SOURCE_CONFIGURATION", + "DATA_SOURCE_NAME", + "DOCUMENT_ENRICHMENT_CONDITION_OPERATOR", + "DOCUMENT_ATTRIBUTE_CONDITION", + "DOCUMENT_CONTENT_OPERATOR", + "ATTRIBUTE_VALUE_OPERATOR", + "DOCUMENT_ATTRIBUTE_TARGET", + "INLINE_DOCUMENT_ENRICHMENT_CONFIGURATION", + "INLINE_DOCUMENT_ENRICHMENT_CONFIGURATIONS", + "LAMBDA_ARN", + "HOOK_CONFIGURATION", + "DOCUMENT_ENRICHMENT_CONFIGURATION", + "AUDIO_EXTRACTION_STATUS", + "AUDIO_EXTRACTION_CONFIGURATION", + "IMAGE_EXTRACTION_STATUS", + "IMAGE_EXTRACTION_CONFIGURATION", + "VIDEO_EXTRACTION_STATUS", + "VIDEO_EXTRACTION_CONFIGURATION", + "MEDIA_EXTRACTION_CONFIGURATION", + "SYNC_SCHEDULE", + "SECURITY_GROUP_ID", + "SECURITY_GROUP_IDS", + "SUBNET_ID", + "SUBNET_IDS", + "DATA_SOURCE_VPC_CONFIGURATION", + "CREATE_DATA_SOURCE_INPUT", + "CREATE_DATA_SOURCE_OUTPUT", + "CREATE_DATA_SOURCE", + "DATA_SOURCE_ARN", + "DATA_SOURCE_ID", + "DELETE_DATA_SOURCE_INPUT", + "DELETE_DATA_SOURCE_OUTPUT", + "DELETE_DATA_SOURCE", + "GET_DATA_SOURCE_INPUT", + "GET_DATA_SOURCE_OUTPUT", + "GET_DATA_SOURCE", + "DATA_SOURCE_STATUS", + "MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES", + "NEXT_TOKEN", + "LIST_DATA_SOURCES_INPUT", + "LIST_DATA_SOURCES_OUTPUT", + "LIST_DATA_SOURCES", + "DATA_SOURCE", + "DATA_SOURCES", + "UPDATE_DATA_SOURCE_INPUT", + "UPDATE_DATA_SOURCE_OUTPUT", + "UPDATE_DATA_SOURCE", + "DELETE_INDEX_INPUT", + "DELETE_INDEX_OUTPUT", + "DELETE_INDEX", + "GET_INDEX_INPUT", + "GET_INDEX_OUTPUT", + "GET_INDEX", + "DOCUMENT_METADATA_CONFIGURATION_NAME", + "STATUS", + "ATTRIBUTE_TYPE", + "DOCUMENT_ATTRIBUTE_CONFIGURATION", + "DOCUMENT_ATTRIBUTE_CONFIGURATIONS", + "INDEXED_TEXT_BYTES", + "EXECUTION_ID", + "DOCUMENT_ID", + ), + ( + "INDEXED_TEXT_DOCUMENT", + "TEXT_DOCUMENT_STATISTICS", + "INDEX_STATISTICS", + "INDEX_STATUS", + "MAX_RESULTS_INTEGER_FOR_LIST_INDICES", + "LIST_INDICES_INPUT", + "LIST_INDICES_OUTPUT", + "LIST_INDICES", + "INDEX", + "INDICES", + "UPDATE_INDEX_INPUT", + "UPDATE_INDEX_OUTPUT", + "UPDATE_INDEX", + "INTEGRATION_ID", + "MAX_RESULTS_INTEGER_FOR_LIST_APPLICATIONS", + "LIST_APPLICATIONS_INPUT", + "LIST_APPLICATIONS_OUTPUT", + "LIST_APPLICATIONS", + "APPLICATIONS", + "SECRET_ARN", + "BASIC_AUTH_CONFIGURATION", + "IDC_AUTH_CONFIGURATION", + "NO_AUTH_CONFIGURATION", + "O_AUTH2_CLIENT_CREDENTIAL_CONFIGURATION", + "PLUGIN_AUTH_CONFIGURATION", + "PLUGIN_DESCRIPTION", + "CUSTOM_PLUGIN_CONFIGURATION", + "PLUGIN_NAME", + "CREATE_PLUGIN_INPUT", + "CREATE_PLUGIN_OUTPUT", + "CREATE_PLUGIN", + "PLUGIN_BUILD_STATUS", + "PLUGIN_ARN", + "DELETE_PLUGIN_INPUT", + "DELETE_PLUGIN_OUTPUT", + "DELETE_PLUGIN", + "GET_PLUGIN_INPUT", + "GET_PLUGIN_OUTPUT", + "GET_PLUGIN", + "PLUGIN_STATE", + "MAX_RESULTS_INTEGER_FOR_LIST_PLUGINS", + "LIST_PLUGINS_INPUT", + "LIST_PLUGINS_OUTPUT", + "LIST_PLUGINS", + "PLUGIN", + "PLUGINS", + "UPDATE_PLUGIN_INPUT", + "UPDATE_PLUGIN_OUTPUT", + "UPDATE_PLUGIN", + "KENDRA_INDEX_ID", + "KENDRA_INDEX_CONFIGURATION", + "BOOSTING_DURATION_IN_SECONDS", + "DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL", + "DATE_ATTRIBUTE_BOOSTING_CONFIGURATION", + "NUMBER_ATTRIBUTE_BOOSTING_TYPE", + "NUMBER_ATTRIBUTE_BOOSTING_CONFIGURATION", + "STRING_ATTRIBUTE_VALUE_BOOSTING_LEVEL", + "STRING_ATTRIBUTE_VALUE_BOOSTING", + "STRING_ATTRIBUTE_BOOSTING_CONFIGURATION", + "STRING_LIST_ATTRIBUTE_BOOSTING_CONFIGURATION", + "DOCUMENT_ATTRIBUTE_BOOSTING_CONFIGURATION", + "DOCUMENT_ATTRIBUTE_BOOSTING_OVERRIDE_MAP", + "NATIVE_INDEX_CONFIGURATION", + "RETRIEVER_CONFIGURATION", + "RETRIEVER_NAME", + "RETRIEVER_TYPE", + "CREATE_RETRIEVER_INPUT", + "CREATE_RETRIEVER_OUTPUT", + "CREATE_RETRIEVER", + "RETRIEVER_ARN", + "DELETE_RETRIEVER_INPUT", + "DELETE_RETRIEVER_OUTPUT", + "DELETE_RETRIEVER", + "GET_RETRIEVER_INPUT", + "GET_RETRIEVER_OUTPUT", + "GET_RETRIEVER", + "RETRIEVER_STATUS", + "MAX_RESULTS_INTEGER_FOR_LIST_RETRIEVERS_REQUEST", + "LIST_RETRIEVERS_INPUT", + "LIST_RETRIEVERS_OUTPUT", + "LIST_RETRIEVERS", + "RETRIEVER", + "RETRIEVERS", + "UPDATE_RETRIEVER_INPUT", + "UPDATE_RETRIEVER_OUTPUT", + "UPDATE_RETRIEVER", + "UPDATE_APPLICATION_INPUT", + "UPDATE_APPLICATION_OUTPUT", + "UPDATE_APPLICATION", + "BROWSER_EXTENSION", + "BROWSER_EXTENSION_LIST", + ), + ( + "BROWSER_EXTENSION_CONFIGURATION", + "CUSTOM_CSS_URL", + "FAVICON_URL", + "FONT_URL", + "LOGO_URL", + "CUSTOMIZATION_CONFIGURATION", + "OPEN_ID_CONNECT_PROVIDER_CONFIGURATION", + "SAML_AUTHENTICATION_URL", + "SAML_PROVIDER_CONFIGURATION", + "IDENTITY_PROVIDER_CONFIGURATION", + "ORIGIN", + "WEB_EXPERIENCE_ORIGINS", + "WEB_EXPERIENCE_SAMPLE_PROMPTS_CONTROL_MODE", + "WEB_EXPERIENCE_SUBTITLE", + "WEB_EXPERIENCE_TITLE", + "WEB_EXPERIENCE_WELCOME_MESSAGE", + "CREATE_WEB_EXPERIENCE_INPUT", + "CREATE_WEB_EXPERIENCE_OUTPUT", + "CREATE_WEB_EXPERIENCE", + "WEB_EXPERIENCE_ARN", + "DELETE_WEB_EXPERIENCE_INPUT", + "DELETE_WEB_EXPERIENCE_OUTPUT", + "DELETE_WEB_EXPERIENCE", + "GET_WEB_EXPERIENCE_INPUT", + "GET_WEB_EXPERIENCE_OUTPUT", + "GET_WEB_EXPERIENCE", + "SAML_METADATA_XML", + "SAML_ATTRIBUTE", + "SAML_CONFIGURATION", + "WEB_EXPERIENCE_AUTH_CONFIGURATION", + "WEB_EXPERIENCE_STATUS", + "MAX_RESULTS_INTEGER_FOR_LIST_WEB_EXPERIENCES_REQUEST", + "LIST_WEB_EXPERIENCES_INPUT", + "LIST_WEB_EXPERIENCES_OUTPUT", + "LIST_WEB_EXPERIENCES", + "WEB_EXPERIENCE", + "WEB_EXPERIENCES", + "UPDATE_WEB_EXPERIENCE_INPUT", + "UPDATE_WEB_EXPERIENCE_OUTPUT", + "UPDATE_WEB_EXPERIENCE", + "CREATOR_MODE_CONTROL", + "APPLIED_CREATOR_MODE_CONFIGURATION", + "ORCHESTRATION_CONTROL", + "APPLIED_ORCHESTRATION_CONFIGURATION", + "ASSOCIATED_GROUP", + "ASSOCIATED_GROUPS", + "ASSOCIATED_USER", + "ASSOCIATED_USERS", + "Q_IAM_ACTIONS", + "PERMISSION_CONDITION_KEY", + "PERMISSION_CONDITION_OPERATOR", + "PERMISSION_CONDITION_VALUE", + "PERMISSION_CONDITION_VALUES", + "PERMISSION_CONDITION", + "PERMISSION_CONDITIONS", + "STATEMENT_ID", + "ASSOCIATE_PERMISSION_INPUT", + "ASSOCIATE_PERMISSION_OUTPUT", + "ASSOCIATE_PERMISSION", + "CONVERSATION_SOURCE", + "COPY_FROM_SOURCE", + "ATTACHMENT_NAME", + "ATTACHMENT_STATUS", + "ATTACHMENT", + "BLOB", + "ATTACHMENT_INPUT", + "ATTACHMENT_INPUT_EVENT", + "ATTACHMENT_LIST", + "ATTACHMENT_OUTPUT", + "ATTACHMENTS_INPUT", + "ATTACHMENTS_OUTPUT", + "AUDIO_EXTRACTION_TYPE", + "MEDIA_ID", + "AUDIO_SOURCE_DETAILS", + "AUTH_CHALLENGE_REQUEST", + "AUTH_CHALLENGE_REQUEST_EVENT", + "AUTH_RESPONSE_KEY", + "AUTH_RESPONSE_VALUE", + "AUTHORIZATION_RESPONSE_MAP", + "AUTH_CHALLENGE_RESPONSE", + "AUTH_CHALLENGE_RESPONSE_EVENT", + "DELETE_DOCUMENT", + "DELETE_DOCUMENTS", + "BATCH_DELETE_DOCUMENT_INPUT", + "BATCH_DELETE_DOCUMENT_OUTPUT", + "BATCH_DELETE_DOCUMENT", + "FAILED_DOCUMENT", + "FAILED_DOCUMENTS", + "DOCUMENT_ATTRIBUTES", + "DOCUMENT_CONTENT", + "CONTENT_TYPE", + "TITLE", + "DOCUMENT", + "DOCUMENTS", + "BATCH_PUT_DOCUMENT_INPUT", + "BATCH_PUT_DOCUMENT_OUTPUT", + "BATCH_PUT_DOCUMENT", + "BLOCKED_PHRASE", + "BLOCKED_PHRASES", + "SYSTEM_MESSAGE_OVERRIDE", + "BLOCKED_PHRASES_CONFIGURATION", + "BLOCKED_PHRASES_CONFIGURATION_UPDATE", + ), + ( + "CANCEL_SUBSCRIPTION_INPUT", + "CANCEL_SUBSCRIPTION_OUTPUT", + "CANCEL_SUBSCRIPTION", + "SUBSCRIPTION_DETAILS", + "SUBSCRIPTION_ARN", + "CHAT_MODE", + "PLUGIN_CONFIGURATION", + "CHAT_MODE_CONFIGURATION", + "END_OF_INPUT_EVENT", + "USER_MESSAGE", + "TEXT_INPUT_EVENT", + "USER_GROUPS", + "FAILED_ATTACHMENT_EVENT", + "SOURCE_ATTRIBUTION_MEDIA_ID", + "SNIPPET_EXCERPT_TEXT", + "SNIPPET_EXCERPT", + "IMAGE_SOURCE_DETAILS", + "VIDEO_EXTRACTION_TYPE", + "VIDEO_SOURCE_DETAILS", + "SOURCE_DETAILS", + "TEXT_SEGMENT", + "TEXT_SEGMENT_LIST", + "SOURCE_ATTRIBUTION", + "SOURCE_ATTRIBUTIONS", + "METADATA_EVENT", + "SYSTEM_MESSAGE_TYPE", + "TEXT_OUTPUT_EVENT", + "CHAT_OUTPUT_STREAM", + "CHAT_OUTPUT", + "CHAT_INPUT", + "CHAT", + "EXTERNAL_RESOURCE_EXCEPTION", + "CHAT_RESPONSE_CONFIGURATION_ARN", + "DISPLAY_NAME", + "RESPONSE_CONFIGURATION_SUMMARY", + "CHAT_RESPONSE_CONFIGURATION_STATUS", + "CHAT_RESPONSE_CONFIGURATION", + "RESPONSE_CONFIGURATION_TYPE", + "INSTRUCTION", + "INSTRUCTION_COLLECTION", + "RESPONSE_CONFIGURATION", + "RESPONSE_CONFIGURATIONS", + "CHAT_RESPONSE_CONFIGURATION_DETAIL", + "CHAT_RESPONSE_CONFIGURATIONS", + "CHAT_SYNC_OUTPUT", + "CHAT_SYNC_INPUT", + "CHAT_SYNC", + "CHECK_DOCUMENT_ACCESS_INPUT", + "CHECK_DOCUMENT_ACCESS_OUTPUT", + "CHECK_DOCUMENT_ACCESS", + "DOCUMENT_ACL_GROUP", + "DOCUMENT_ACL_GROUPS", + "DOCUMENT_ACL_USER", + "DOCUMENT_ACL_USERS", + "DOCUMENT_ACL_CONDITION", + "DOCUMENT_ACL_CONDITIONS", + "DOCUMENT_ACL_MEMBERSHIP", + "DOCUMENT_ACL", + "CONTENT_BLOCKER_RULE", + "ELIGIBLE_DATA_SOURCE", + "ELIGIBLE_DATA_SOURCES", + "CONTENT_RETRIEVAL_RULE", + "RETRIEVER_CONTENT_SOURCE", + "CONTENT_SOURCE", + "CONVERSATION_TITLE", + "CONVERSATION", + "CONVERSATIONS", + "SESSION_DURATION_IN_MINUTES", + "CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_INPUT", + "CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_OUTPUT", + "CREATE_ANONYMOUS_WEB_EXPERIENCE_URL", + "CREATE_CHAT_RESPONSE_CONFIGURATION_INPUT", + "CREATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT", + "CREATE_CHAT_RESPONSE_CONFIGURATION", + "GROUP_IDENTIFIER", + "USER_IDENTIFIER", + "SUBSCRIPTION_PRINCIPAL", + "CREATE_SUBSCRIPTION_INPUT", + "CREATE_SUBSCRIPTION_OUTPUT", + "CREATE_SUBSCRIPTION", + "USER_ALIAS", + "USER_ALIASES", + "CREATE_USER_INPUT", + "CREATE_USER_OUTPUT", + "CREATE_USER", + "CREATOR_MODE_CONFIGURATION", + "DATA_SOURCE_IDS", + "METRIC_VALUE", + "DATA_SOURCE_SYNC_JOB_METRICS", + "DATA_SOURCE_SYNC_JOB_STATUS", + "DATA_SOURCE_SYNC_JOB", + "DATA_SOURCE_SYNC_JOBS", + "DATA_SOURCE_USER_ID", + "DELETE_ATTACHMENT_INPUT", + "DELETE_ATTACHMENT_OUTPUT", + "DELETE_ATTACHMENT", + ), + ( + "DELETE_CHAT_CONTROLS_CONFIGURATION_INPUT", + "DELETE_CHAT_CONTROLS_CONFIGURATION_OUTPUT", + "DELETE_CHAT_CONTROLS_CONFIGURATION", + "DELETE_CHAT_RESPONSE_CONFIGURATION_INPUT", + "DELETE_CHAT_RESPONSE_CONFIGURATION_OUTPUT", + "DELETE_CHAT_RESPONSE_CONFIGURATION", + "DELETE_CONVERSATION_INPUT", + "DELETE_CONVERSATION_OUTPUT", + "DELETE_CONVERSATION", + "DELETE_GROUP_INPUT", + "DELETE_GROUP_OUTPUT", + "DELETE_GROUP", + "DELETE_USER_INPUT", + "DELETE_USER_OUTPUT", + "DELETE_USER", + "DISASSOCIATE_PERMISSION_INPUT", + "DISASSOCIATE_PERMISSION_OUTPUT", + "DISASSOCIATE_PERMISSION", + "DOCUMENT_STATUS", + "DOCUMENT_DETAILS", + "DOCUMENT_DETAIL_LIST", + "EXAMPLE_CHAT_MESSAGE", + "EXAMPLE_CHAT_MESSAGES", + "MAX_RESULTS_INTEGER_FOR_GET_TOPIC_CONFIGURATIONS", + "GET_CHAT_CONTROLS_CONFIGURATION_INPUT", + "GET_CHAT_CONTROLS_CONFIGURATION_OUTPUT", + "GET_CHAT_CONTROLS_CONFIGURATION", + "HALLUCINATION_REDUCTION_CONTROL", + "HALLUCINATION_REDUCTION_CONFIGURATION", + "RESPONSE_SCOPE", + "TOPIC_DESCRIPTION", + "TOPIC_CONFIGURATION_NAME", + "USER_IDS", + "USERS_AND_GROUPS", + "RULE_CONFIGURATION", + "RULE_TYPE", + "RULE", + "RULES", + "TOPIC_CONFIGURATION", + "TOPIC_CONFIGURATIONS", + "GET_CHAT_RESPONSE_CONFIGURATION_INPUT", + "GET_CHAT_RESPONSE_CONFIGURATION_OUTPUT", + "GET_CHAT_RESPONSE_CONFIGURATION", + "OUTPUT_FORMAT", + "GET_DOCUMENT_CONTENT_INPUT", + "GET_DOCUMENT_CONTENT_OUTPUT", + "GET_DOCUMENT_CONTENT", + "GET_GROUP_INPUT", + "GET_GROUP_OUTPUT", + "GET_GROUP", + "GROUP_STATUS", + "GROUP_STATUS_DETAIL", + "GROUP_STATUS_DETAILS", + "GET_MEDIA_INPUT", + "GET_MEDIA_OUTPUT", + "GET_MEDIA", + "MEDIA_TOO_LARGE_EXCEPTION", + "GET_POLICY_INPUT", + "GET_POLICY_OUTPUT", + "GET_POLICY", + "GET_USER_INPUT", + "GET_USER_OUTPUT", + "GET_USER", + "MAX_RESULTS_INTEGER_FOR_LIST_ATTACHMENTS", + "LIST_ATTACHMENTS_INPUT", + "LIST_ATTACHMENTS_OUTPUT", + "LIST_ATTACHMENTS", + "LIST_CHAT_RESPONSE_CONFIGURATIONS_INPUT", + "LIST_CHAT_RESPONSE_CONFIGURATIONS_OUTPUT", + "LIST_CHAT_RESPONSE_CONFIGURATIONS", + "MAX_RESULTS_INTEGER_FOR_LIST_CONVERSATIONS", + "LIST_CONVERSATIONS_INPUT", + "LIST_CONVERSATIONS_OUTPUT", + "LIST_CONVERSATIONS", + "MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES_SYNC_JOBS", + "LIST_DATA_SOURCE_SYNC_JOBS_INPUT", + "LIST_DATA_SOURCE_SYNC_JOBS_OUTPUT", + "LIST_DATA_SOURCE_SYNC_JOBS", + "MAX_RESULTS_INTEGER_FOR_LIST_DOCUMENTS", + "LIST_DOCUMENTS_INPUT", + "LIST_DOCUMENTS_OUTPUT", + "LIST_DOCUMENTS", + "MAX_RESULTS_INTEGER_FOR_LIST_GROUPS_REQUEST", + "LIST_GROUPS_INPUT", + "LIST_GROUPS_OUTPUT", + "LIST_GROUPS", + "GROUP_SUMMARY", + "GROUP_SUMMARY_LIST", + "MAX_RESULTS_INTEGER_FOR_LIST_MESSAGES", + "LIST_MESSAGES_INPUT", + "LIST_MESSAGES_OUTPUT", + "LIST_MESSAGES", + ), + ( + "MESSAGE_BODY", + "MESSAGE_TYPE", + "MESSAGE", + "MESSAGES", + "MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_ACTIONS", + "LIST_PLUGIN_ACTIONS_INPUT", + "LIST_PLUGIN_ACTIONS_OUTPUT", + "LIST_PLUGIN_ACTIONS", + "MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_ACTIONS", + "LIST_PLUGIN_TYPE_ACTIONS_INPUT", + "LIST_PLUGIN_TYPE_ACTIONS_OUTPUT", + "LIST_PLUGIN_TYPE_ACTIONS", + "MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_METADATA", + "LIST_PLUGIN_TYPE_METADATA_INPUT", + "LIST_PLUGIN_TYPE_METADATA_OUTPUT", + "LIST_PLUGIN_TYPE_METADATA", + "PLUGIN_TYPE_CATEGORY", + "PLUGIN_TYPE_METADATA_SUMMARY", + "LIST_PLUGIN_TYPE_METADATA_SUMMARIES", + "MAX_RESULTS_INTEGER_FOR_LIST_SUBSCRIPTIONS", + "LIST_SUBSCRIPTIONS_INPUT", + "LIST_SUBSCRIPTIONS_OUTPUT", + "LIST_SUBSCRIPTIONS", + "SUBSCRIPTION", + "SUBSCRIPTIONS", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "SYSTEM_MESSAGE_ID", + "MESSAGE_USEFULNESS_COMMENT", + "MESSAGE_USEFULNESS_REASON", + "MESSAGE_USEFULNESS", + "MESSAGE_USEFULNESS_FEEDBACK", + "PUT_FEEDBACK_INPUT", + "PUT_FEEDBACK_OUTPUT", + "PUT_FEEDBACK", + "MEMBER_GROUP", + "MEMBER_GROUPS", + "MEMBER_USER", + "MEMBER_USERS", + "GROUP_MEMBERS", + "PUT_GROUP_INPUT", + "PUT_GROUP_OUTPUT", + "PUT_GROUP", + "MAX_RESULTS", + "QUERY_TEXT", + "SCORE_CONFIDENCE", + "SCORE_ATTRIBUTES", + "RELEVANT_CONTENT", + "RELEVANT_CONTENT_LIST", + "SEARCH_RELEVANT_CONTENT_OUTPUT", + "SEARCH_RELEVANT_CONTENT_INPUT", + "SEARCH_RELEVANT_CONTENT", + "START_DATA_SOURCE_SYNC_JOB_INPUT", + "START_DATA_SOURCE_SYNC_JOB_OUTPUT", + "START_DATA_SOURCE_SYNC_JOB", + "STOP_DATA_SOURCE_SYNC_JOB_INPUT", + "STOP_DATA_SOURCE_SYNC_JOB_OUTPUT", + "STOP_DATA_SOURCE_SYNC_JOB", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEYS", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "ORCHESTRATION_CONFIGURATION", + "UPDATE_CHAT_CONTROLS_CONFIGURATION_INPUT", + "UPDATE_CHAT_CONTROLS_CONFIGURATION_OUTPUT", + "UPDATE_CHAT_CONTROLS_CONFIGURATION", + "UPDATE_CHAT_RESPONSE_CONFIGURATION_INPUT", + "UPDATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT", + "UPDATE_CHAT_RESPONSE_CONFIGURATION", + "UPDATE_SUBSCRIPTION_INPUT", + "UPDATE_SUBSCRIPTION_OUTPUT", + "UPDATE_SUBSCRIPTION", + "UPDATE_USER_INPUT", + "UPDATE_USER_OUTPUT", + "UPDATE_USER", + "ACTION_FILTER_CONFIGURATION", + "CONFIGURATION_EVENT", + "ACTION_CONFIGURATION", + "CHAT_INPUT_STREAM", + "ACTION_CONFIGURATION_LIST", + "EXPERT_Q", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_0.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_0.py new file mode 100644 index 000000000..0763466ed --- /dev/null +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_0.py @@ -0,0 +1,1194 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.qbusiness" +_MR = "MemberRelation" +_AND = "AND" +_sV = "smithy.api#enumValue" +_OR = "OR" +_RAT = "ReadAccessType" +_ALLOW = "ALLOW" +_DENY = "DENY" +_MT = "MembershipType" +_INDEX = "INDEX" +_DATASOURCE = "DATASOURCE" +_GN = "GroupName" +_PG = "PrincipalGroup" +_n = "name" +_a = "access" +_s = "smithy.api#required" +_mT = "membershipType" +_UI = "UserId" +_PU = "PrincipalUser" +_i = "id" +_P = "Principal" +_u = "user" +_g = "group" +_Pr = "Principals" +_m = "member" +_AC = "AccessControl" +_p = "principals" +_mR = "memberRelation" +_ACc = "AccessControls" +_ACcc = "AccessConfiguration" +_aC = "accessControls" +_EM = "ErrorMessage" +_ADE = "AccessDeniedException" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_me = "message" +_QIA = "QIamAction" +_DAK = "DocumentAttributeKey" +_T = "Timestamp" +_L = "Long" +_S = "String" +_DASLV = "DocumentAttributeStringListValue" +_DASV = "DocumentAttributeStringValue" +_DAV = "DocumentAttributeValue" +_sVt = "stringValue" +_sLV = "stringListValue" +_lV = "longValue" +_dV = "dateValue" +_DA = "DocumentAttribute" +_v = "value" +_APFK = "ActionPayloadFieldKey" +_APFV = "ActionPayloadFieldValue" +_AEPF = "ActionExecutionPayloadField" +_AEP = "ActionExecutionPayload" +_k = "key" +_APFNS = "ActionPayloadFieldNameSeparator" +_PI = "PluginId" +_AE = "ActionExecution" +_pI = "pluginId" +_pa = "payload" +_pFNS = "payloadFieldNameSeparator" +_AEE = "ActionExecutionEvent" +_APFT = "ActionPayloadFieldType" +_STRING = "STRING" +_NUMBER = "NUMBER" +_ARRAY = "ARRAY" +_BOOLEAN = "BOOLEAN" +_ARPFAV = "ActionReviewPayloadFieldAllowedValue" +_dVi = "displayValue" +_ARPFAVc = "ActionReviewPayloadFieldAllowedValues" +_ARPFAIJS = "ActionReviewPayloadFieldArrayItemJsonSchema" +_I = "Integer" +_ARPF = "ActionReviewPayloadField" +_dN = "displayName" +_dO = "displayOrder" +_dD = "displayDescription" +_t = "type" +_aV = "allowedValues" +_aF = "allowedFormat" +_aIJS = "arrayItemJsonSchema" +_r = "required" +_ARP = "ActionReviewPayload" +_PT = "PluginType" +_SN = "SERVICE_NOW" +_SALESFORCE = "SALESFORCE" +_JIRA = "JIRA" +_ZENDESK = "ZENDESK" +_CUSTOM = "CUSTOM" +_QUICKSIGHT = "QUICKSIGHT" +_SNP = "SERVICENOW_NOW_PLATFORM" +_JC = "JIRA_CLOUD" +_SC = "SALESFORCE_CRM" +_ZS = "ZENDESK_SUITE" +_AC_ = "ATLASSIAN_CONFLUENCE" +_GC = "GOOGLE_CALENDAR" +_MT_ = "MICROSOFT_TEAMS" +_ME = "MICROSOFT_EXCHANGE" +_PA = "PAGERDUTY_ADVANCE" +_SMARTSHEET = "SMARTSHEET" +_ASANA = "ASANA" +_AR = "ActionReview" +_pT = "pluginType" +_CI = "ConversationId" +_MI = "MessageId" +_ARE = "ActionReviewEvent" +_cI = "conversationId" +_uMI = "userMessageId" +_sMI = "systemMessageId" +_AS = "ActionSummary" +_aI = "actionIdentifier" +_iE = "instructionExample" +_d = "description" +_A = "Actions" +_ARN = "AmazonResourceName" +_Pa = "Payload" +_smi = "smithy.api#sensitive" +_SBN = "S3BucketName" +_SOK = "S3ObjectKey" +_S_ = "S3" +_b = "bucket" +_APIS = "APISchema" +_s_ = "s3" +_APIST = "APISchemaType" +_OAV = "OPEN_API_V3" +_AI = "ApplicationId" +_AN = "ApplicationName" +_IT = "IdentityType" +_AIIS = "AWS_IAM_IDP_SAML" +_AIIO = "AWS_IAM_IDP_OIDC" +_AII = "AWS_IAM_IDC" +_AQI = "AWS_QUICKSIGHT_IDP" +_ANONYMOUS = "ANONYMOUS" +_CN = "ClientNamespace" +_QSC = "QuickSightConfiguration" +_cN = "clientNamespace" +_ASp = "ApplicationStatus" +_CREATING = "CREATING" +_ACTIVE = "ACTIVE" +_DELETING = "DELETING" +_FAILED = "FAILED" +_UPDATING = "UPDATING" +_Ap = "Application" +_aIp = "applicationId" +_cA = "createdAt" +_uA = "updatedAt" +_st = "status" +_iT = "identityType" +_qSC = "quickSightConfiguration" +_AA = "ApplicationArn" +_CE = "ConflictException" +_rI = "resourceId" +_rT = "resourceType" +_ACM = "AttachmentsControlMode" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_ACt = "AttachmentsConfiguration" +_aCM = "attachmentsControlMode" +_CIFOIDC = "ClientIdForOIDC" +_CIFOIDCl = "ClientIdsForOIDC" +_CT = "ClientToken" +_D = "Description" +_KKI = "KmsKeyId" +_EC = "EncryptionConfiguration" +_kKI = "kmsKeyId" +_IAMIPA = "IAMIdentityProviderArn" +_IA = "InstanceArn" +_PCM = "PersonalizationControlMode" +_PC = "PersonalizationConfiguration" +_pCM = "personalizationControlMode" +_QACM = "QAppsControlMode" +_QAC = "QAppsConfiguration" +_qACM = "qAppsControlMode" +_RA = "RoleArn" +_TK = "TagKey" +_TV = "TagValue" +_Ta = "Tag" +_Tag = "Tags" +_CAI = "CreateApplicationInput" +_sSI = "smithy.synthetic#originalShapeId" +_cCAR = "com.amazonaws.qbusiness#CreateApplicationRequest" +_smit = "smithy.api#input" +_rA = "roleArn" +_iIPA = "iamIdentityProviderArn" +_iCIA = "identityCenterInstanceArn" +_cIFOIDC = "clientIdsForOIDC" +_eC = "encryptionConfiguration" +_ta = "tags" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_aCt = "attachmentsConfiguration" +_qAC = "qAppsConfiguration" +_pC = "personalizationConfiguration" +_CAO = "CreateApplicationOutput" +_cCARo = "com.amazonaws.qbusiness#CreateApplicationResponse" +_smith = "smithy.api#output" +_aA = "applicationArn" +_ISE = "InternalServerException" +_se = "server" +_RNFE = "ResourceNotFoundException" +_SQEE = "ServiceQuotaExceededException" +_TE = "ThrottlingException" +_VEF = "ValidationExceptionField" +_VEFa = "ValidationExceptionFields" +_VER = "ValidationExceptionReason" +_CP = "CANNOT_PARSE" +_FVF = "FIELD_VALIDATION_FAILED" +_UO = "UNKNOWN_OPERATION" +_VE = "ValidationException" +_re = "reason" +_f = "fields" +_CA = "CreateApplication" +_smithy = "smithy.api#http" +_ITTIA = "IdcTrustedTokenIssuerArn" +_DAITTIC = "DataAccessorIdcTrustedTokenIssuerConfiguration" +_iTTIA = "idcTrustedTokenIssuerArn" +_DAAC = "DataAccessorAuthenticationConfiguration" +_iTTIC = "idcTrustedTokenIssuerConfiguration" +_DAAT = "DataAccessorAuthenticationType" +_AIIT = "AWS_IAM_IDC_TTI" +_AIIAC = "AWS_IAM_IDC_AUTH_CODE" +_DAEI = "DataAccessorExternalId" +_DAEIa = "DataAccessorExternalIds" +_DAAD = "DataAccessorAuthenticationDetail" +_aT = "authenticationType" +_aCu = "authenticationConfiguration" +_eI = "externalIds" +_DAN = "DataAccessorName" +_PRA = "PrincipalRoleArn" +_DAA = "DataAccessorArn" +_DAI = "DataAccessorId" +_IAA = "IdcApplicationArn" +_CDAO = "CreateDataAccessorOutput" +_cCDAR = "com.amazonaws.qbusiness#CreateDataAccessorResponse" +_dAI = "dataAccessorId" +_iAA = "idcApplicationArn" +_dAA = "dataAccessorArn" +_DDAI = "DeleteDataAccessorInput" +_cDDAR = "com.amazonaws.qbusiness#DeleteDataAccessorRequest" +_sL = "smithy.api#httpLabel" +_DDAO = "DeleteDataAccessorOutput" +_cDDARo = "com.amazonaws.qbusiness#DeleteDataAccessorResponse" +_DDA = "DeleteDataAccessor" +_GDAI = "GetDataAccessorInput" +_cGDAR = "com.amazonaws.qbusiness#GetDataAccessorRequest" +_MRIFLDA = "MaxResultsIntegerForListDataAccessors" +_NT = "NextToken1500" +_pr = "principal" +_aD = "authenticationDetail" +_ST = "SubscriptionType" +_QL = "Q_LITE" +_QB = "Q_BUSINESS" +_U = "Url" +_RIet = "RetrieverId" +_WEI = "WebExperienceId" +_AIt = "AttachmentId" +_SIub = "SubscriptionId" +_LNFE = "LicenseNotFoundException" +_CRCI = "ChatResponseConfigurationId" +_AF = "AttributeFilter" +_aAF = "andAllFilters" +_oAF = "orAllFilters" +_nF = "notFilter" +_eTq = "equalsTo" +_cAo = "containsAll" +_cAon = "containsAny" +_gT = "greaterThan" +_gTOE = "greaterThanOrEquals" +_lT = "lessThan" +_lTOE = "lessThanOrEquals" +_AFt = "AttributeFilters" +_CDAIr = "CreateDataAccessorInput" +_cCDARoma = "com.amazonaws.qbusiness#CreateDataAccessorRequest" +_aCct = "actionConfigurations" +_GDAO = "GetDataAccessorOutput" +_cGDARo = "com.amazonaws.qbusiness#GetDataAccessorResponse" +_CDAr = "CreateDataAccessor" +_GDA = "GetDataAccessor" + +MEMBER_RELATION: StaticSchema = ( + 14, + n0, + _MR, + 0, + (_AND, _OR), + ((-1, {_sV: _AND}), (-1, {_sV: _OR})), +) + +READ_ACCESS_TYPE: StaticSchema = ( + 14, + n0, + _RAT, + 0, + (_ALLOW, _DENY), + ((-1, {_sV: _ALLOW}), (-1, {_sV: _DENY})), +) + +MEMBERSHIP_TYPE: StaticSchema = ( + 14, + n0, + _MT, + 0, + (_INDEX, _DATASOURCE), + ((-1, {_sV: _INDEX}), (-1, {_sV: _DATASOURCE})), +) + +GROUP_NAME: StaticSchema = (3, n0, _GN, 0) + +PRINCIPAL_GROUP: StaticSchema = ( + 18, + n0, + _PG, + 0, + (_n, _a, _mT), + ((GROUP_NAME, 0), (READ_ACCESS_TYPE, 1), (MEMBERSHIP_TYPE, 0)), +) + +USER_ID: StaticSchema = (3, n0, _UI, 0) + +PRINCIPAL_USER: StaticSchema = ( + 18, + n0, + _PU, + 0, + (_i, _a, _mT), + ((USER_ID, 0), (READ_ACCESS_TYPE, 1), (MEMBERSHIP_TYPE, 0)), +) + +PRINCIPAL: StaticSchema = ( + 19, + n0, + _P, + 0, + (_u, _g), + ((PRINCIPAL_USER, 0), (PRINCIPAL_GROUP, 0)), +) + +PRINCIPALS: StaticSchema = (16, n0, _Pr, 0, (_m,), ((PRINCIPAL, 0),)) + +ACCESS_CONTROL: StaticSchema = ( + 18, + n0, + _AC, + 0, + (_p, _mR), + ((PRINCIPALS, 1), (MEMBER_RELATION, 0)), +) + +ACCESS_CONTROLS: StaticSchema = (16, n0, _ACc, 0, (_m,), ((ACCESS_CONTROL, 0),)) + +ACCESS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ACcc, + 0, + (_aC, _mR), + ((ACCESS_CONTROLS, 1), (MEMBER_RELATION, 0)), +) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_sm: _c, _sE: 403}, + (_me,), + ((ERROR_MESSAGE, 1),), +) + +Q_IAM_ACTION: StaticSchema = (3, n0, _QIA, 0) + +DOCUMENT_ATTRIBUTE_KEY: StaticSchema = (3, n0, _DAK, 0) + +TIMESTAMP: StaticSchema = (4, n0, _T, 0) + +LONG: StaticSchema = (8, n0, _L, 0) + +STRING: StaticSchema = (3, n0, _S, 0) + +DOCUMENT_ATTRIBUTE_STRING_LIST_VALUE: StaticSchema = ( + 16, + n0, + _DASLV, + 0, + (_m,), + ((STRING, 0),), +) + +DOCUMENT_ATTRIBUTE_STRING_VALUE: StaticSchema = (3, n0, _DASV, 0) + +DOCUMENT_ATTRIBUTE_VALUE: StaticSchema = ( + 19, + n0, + _DAV, + 0, + (_sVt, _sLV, _lV, _dV), + ( + (DOCUMENT_ATTRIBUTE_STRING_VALUE, 0), + (DOCUMENT_ATTRIBUTE_STRING_LIST_VALUE, 0), + (LONG, 0), + (TIMESTAMP, 0), + ), +) + +DOCUMENT_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _DA, + 0, + (_n, _v), + ((DOCUMENT_ATTRIBUTE_KEY, 1), (DOCUMENT_ATTRIBUTE_VALUE, 1)), +) + +ACTION_PAYLOAD_FIELD_KEY: StaticSchema = (3, n0, _APFK, 0) + +ACTION_PAYLOAD_FIELD_VALUE: StaticSchema = (13, n0, _APFV, 0) + +ACTION_EXECUTION_PAYLOAD_FIELD: StaticSchema = ( + 18, + n0, + _AEPF, + 0, + (_v,), + ((ACTION_PAYLOAD_FIELD_VALUE, 1),), +) + +ACTION_EXECUTION_PAYLOAD: StaticSchema = ( + 17, + n0, + _AEP, + 0, + (_k, _v), + ((ACTION_PAYLOAD_FIELD_KEY, 0), (ACTION_EXECUTION_PAYLOAD_FIELD, 0)), +) + +ACTION_PAYLOAD_FIELD_NAME_SEPARATOR: StaticSchema = (3, n0, _APFNS, 0) + +PLUGIN_ID: StaticSchema = (3, n0, _PI, 0) + +ACTION_EXECUTION: StaticSchema = ( + 18, + n0, + _AE, + 0, + (_pI, _pa, _pFNS), + ( + (PLUGIN_ID, 1), + (ACTION_EXECUTION_PAYLOAD, 1), + (ACTION_PAYLOAD_FIELD_NAME_SEPARATOR, 1), + ), +) + +ACTION_EXECUTION_EVENT: StaticSchema = ( + 18, + n0, + _AEE, + 0, + (_pI, _pa, _pFNS), + ( + (PLUGIN_ID, 1), + (ACTION_EXECUTION_PAYLOAD, 1), + (ACTION_PAYLOAD_FIELD_NAME_SEPARATOR, 1), + ), +) + +ACTION_PAYLOAD_FIELD_TYPE: StaticSchema = ( + 14, + n0, + _APFT, + 0, + (_STRING, _NUMBER, _ARRAY, _BOOLEAN), + ( + (-1, {_sV: _STRING}), + (-1, {_sV: _NUMBER}), + (-1, {_sV: _ARRAY}), + (-1, {_sV: _BOOLEAN}), + ), +) + +ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUE: StaticSchema = ( + 18, + n0, + _ARPFAV, + 0, + (_v, _dVi), + ((ACTION_PAYLOAD_FIELD_VALUE, 0), (ACTION_PAYLOAD_FIELD_VALUE, 0)), +) + +ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUES: StaticSchema = ( + 16, + n0, + _ARPFAVc, + 0, + (_m,), + ((ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUE, 0),), +) + +ACTION_REVIEW_PAYLOAD_FIELD_ARRAY_ITEM_JSON_SCHEMA: StaticSchema = ( + 13, + n0, + _ARPFAIJS, + 0, +) + +INTEGER: StaticSchema = (7, n0, _I, 0) + +ACTION_REVIEW_PAYLOAD_FIELD: StaticSchema = ( + 18, + n0, + _ARPF, + 0, + (_dN, _dO, _dD, _t, _v, _aV, _aF, _aIJS, _r), + ( + (STRING, 0), + (INTEGER, 0), + (STRING, 0), + (ACTION_PAYLOAD_FIELD_TYPE, 0), + (ACTION_PAYLOAD_FIELD_VALUE, 0), + (ACTION_REVIEW_PAYLOAD_FIELD_ALLOWED_VALUES, 0), + (STRING, 0), + (ACTION_REVIEW_PAYLOAD_FIELD_ARRAY_ITEM_JSON_SCHEMA, 0), + (2, 0), + ), +) + +ACTION_REVIEW_PAYLOAD: StaticSchema = ( + 17, + n0, + _ARP, + 0, + (_k, _v), + ((ACTION_PAYLOAD_FIELD_KEY, 0), (ACTION_REVIEW_PAYLOAD_FIELD, 0)), +) + +PLUGIN_TYPE: StaticSchema = ( + 14, + n0, + _PT, + 0, + ( + _SN, + _SALESFORCE, + _JIRA, + _ZENDESK, + _CUSTOM, + _QUICKSIGHT, + _SNP, + _JC, + _SC, + _ZS, + _AC_, + _GC, + _MT_, + _ME, + _PA, + _SMARTSHEET, + _ASANA, + ), + ( + (-1, {_sV: _SN}), + (-1, {_sV: _SALESFORCE}), + (-1, {_sV: _JIRA}), + (-1, {_sV: _ZENDESK}), + (-1, {_sV: _CUSTOM}), + (-1, {_sV: _QUICKSIGHT}), + (-1, {_sV: _SNP}), + (-1, {_sV: _JC}), + (-1, {_sV: _SC}), + (-1, {_sV: _ZS}), + (-1, {_sV: _AC_}), + (-1, {_sV: _GC}), + (-1, {_sV: _MT_}), + (-1, {_sV: _ME}), + (-1, {_sV: _PA}), + (-1, {_sV: _SMARTSHEET}), + (-1, {_sV: _ASANA}), + ), +) + +ACTION_REVIEW: StaticSchema = ( + 18, + n0, + _AR, + 0, + (_pI, _pT, _pa, _pFNS), + ( + (PLUGIN_ID, 0), + (PLUGIN_TYPE, 0), + (ACTION_REVIEW_PAYLOAD, 0), + (ACTION_PAYLOAD_FIELD_NAME_SEPARATOR, 0), + ), +) + +CONVERSATION_ID: StaticSchema = (3, n0, _CI, 0) + +MESSAGE_ID: StaticSchema = (3, n0, _MI, 0) + +ACTION_REVIEW_EVENT: StaticSchema = ( + 18, + n0, + _ARE, + 0, + (_cI, _uMI, _sMI, _pI, _pT, _pa, _pFNS), + ( + (CONVERSATION_ID, 0), + (MESSAGE_ID, 0), + (MESSAGE_ID, 0), + (PLUGIN_ID, 0), + (PLUGIN_TYPE, 0), + (ACTION_REVIEW_PAYLOAD, 0), + (ACTION_PAYLOAD_FIELD_NAME_SEPARATOR, 0), + ), +) + +ACTION_SUMMARY: StaticSchema = ( + 18, + n0, + _AS, + 0, + (_aI, _dN, _iE, _d), + ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), +) + +ACTIONS: StaticSchema = (16, n0, _A, 0, (_m,), ((ACTION_SUMMARY, 0),)) + +AMAZON_RESOURCE_NAME: StaticSchema = (3, n0, _ARN, 0) + +PAYLOAD: StaticSchema = (3, n0, _Pa, 4) + +S3_BUCKET_NAME: StaticSchema = (3, n0, _SBN, 0) + +S3_OBJECT_KEY: StaticSchema = (3, n0, _SOK, 0) + +S3: StaticSchema = (18, n0, _S_, 0, (_b, _k), ((S3_BUCKET_NAME, 1), (S3_OBJECT_KEY, 1))) + +API_SCHEMA: StaticSchema = (19, n0, _APIS, 0, (_pa, _s_), ((PAYLOAD, 0), (S3, 0))) + +API_SCHEMA_TYPE: StaticSchema = (14, n0, _APIST, 0, (_OAV,), ((-1, {_sV: _OAV}),)) + +APPLICATION_ID: StaticSchema = (3, n0, _AI, 0) + +APPLICATION_NAME: StaticSchema = (3, n0, _AN, 0) + +IDENTITY_TYPE: StaticSchema = ( + 14, + n0, + _IT, + 0, + (_AIIS, _AIIO, _AII, _AQI, _ANONYMOUS), + ( + (-1, {_sV: _AIIS}), + (-1, {_sV: _AIIO}), + (-1, {_sV: _AII}), + (-1, {_sV: _AQI}), + (-1, {_sV: _ANONYMOUS}), + ), +) + +CLIENT_NAMESPACE: StaticSchema = (3, n0, _CN, 0) + +QUICK_SIGHT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _QSC, + 0, + (_cN,), + ((CLIENT_NAMESPACE, 1),), +) + +APPLICATION_STATUS: StaticSchema = ( + 14, + n0, + _ASp, + 0, + (_CREATING, _ACTIVE, _DELETING, _FAILED, _UPDATING), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _UPDATING}), + ), +) + +APPLICATION: StaticSchema = ( + 18, + n0, + _Ap, + 0, + (_dN, _aIp, _cA, _uA, _st, _iT, _qSC), + ( + (APPLICATION_NAME, 0), + (APPLICATION_ID, 0), + (TIMESTAMP, 0), + (TIMESTAMP, 0), + (APPLICATION_STATUS, 0), + (IDENTITY_TYPE, 0), + (QUICK_SIGHT_CONFIGURATION, 0), + ), +) + +APPLICATION_ARN: StaticSchema = (3, n0, _AA, 0) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + {_sm: _c, _sE: 409}, + (_me, _rI, _rT), + ((ERROR_MESSAGE, 1), (STRING, 1), (STRING, 1)), +) + +ATTACHMENTS_CONTROL_MODE: StaticSchema = ( + 14, + n0, + _ACM, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +ATTACHMENTS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ACt, + 0, + (_aCM,), + ((ATTACHMENTS_CONTROL_MODE, 1),), +) + +CLIENT_ID_FOR_OIDC: StaticSchema = (3, n0, _CIFOIDC, 0) + +CLIENT_IDS_FOR_OIDC: StaticSchema = ( + 16, + n0, + _CIFOIDCl, + 0, + (_m,), + ((CLIENT_ID_FOR_OIDC, 0),), +) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) + +DESCRIPTION: StaticSchema = (3, n0, _D, 0) + +KMS_KEY_ID: StaticSchema = (3, n0, _KKI, 4) + +ENCRYPTION_CONFIGURATION: StaticSchema = (18, n0, _EC, 0, (_kKI,), ((KMS_KEY_ID, 0),)) + +IAM_IDENTITY_PROVIDER_ARN: StaticSchema = (3, n0, _IAMIPA, 0) + +INSTANCE_ARN: StaticSchema = (3, n0, _IA, 0) + +PERSONALIZATION_CONTROL_MODE: StaticSchema = ( + 14, + n0, + _PCM, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +PERSONALIZATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PC, + 0, + (_pCM,), + ((PERSONALIZATION_CONTROL_MODE, 1),), +) + +Q_APPS_CONTROL_MODE: StaticSchema = ( + 14, + n0, + _QACM, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +Q_APPS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _QAC, + 0, + (_qACM,), + ((Q_APPS_CONTROL_MODE, 1),), +) + +ROLE_ARN: StaticSchema = (3, n0, _RA, 0) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _Ta, 0, (_k, _v), ((TAG_KEY, 1), (TAG_VALUE, 1))) + +TAGS: StaticSchema = (16, n0, _Tag, 0, (_m,), ((TAG, 0),)) + +CREATE_APPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _CAI, + {_sSI: _cCAR, _smit: None}, + (_dN, _rA, _iT, _iIPA, _iCIA, _cIFOIDC, _d, _eC, _ta, _cT, _aCt, _qAC, _pC, _qSC), + ( + (APPLICATION_NAME, 1), + (ROLE_ARN, 0), + (IDENTITY_TYPE, 0), + (IAM_IDENTITY_PROVIDER_ARN, 0), + (INSTANCE_ARN, 0), + (CLIENT_IDS_FOR_OIDC, 0), + (DESCRIPTION, 0), + (ENCRYPTION_CONFIGURATION, 0), + (TAGS, 0), + (CLIENT_TOKEN, 2), + (ATTACHMENTS_CONFIGURATION, 0), + (Q_APPS_CONFIGURATION, 0), + (PERSONALIZATION_CONFIGURATION, 0), + (QUICK_SIGHT_CONFIGURATION, 0), + ), +) + +CREATE_APPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CAO, + {_sSI: _cCARo, _smith: None}, + (_aIp, _aA), + ((APPLICATION_ID, 0), (APPLICATION_ARN, 0)), +) + +CREATE_APPLICATION: StaticOperationSchema = ( + 23, + n0, + _CA, + {_smithy: MappingProxyType({"uri": "/applications", "method": "POST"})}, + CREATE_APPLICATION_INPUT, + CREATE_APPLICATION_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: THROTTLING_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_sm: _se, _sE: 500}, + (_me,), + ((ERROR_MESSAGE, 1),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_sm: _c, _sE: 404}, + (_me, _rI, _rT), + ((ERROR_MESSAGE, 1), (STRING, 1), (STRING, 1)), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_sm: _c, _sE: 402}, + (_me, _rI, _rT), + ((ERROR_MESSAGE, 1), (STRING, 1), (STRING, 1)), +) + +THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + {_sm: _c, _sE: 429}, + (_me,), + ((ERROR_MESSAGE, 1),), +) + +VALIDATION_EXCEPTION_FIELD: StaticSchema = ( + 18, + n0, + _VEF, + 0, + (_n, _me), + ((STRING, 1), (STRING, 1)), +) + +VALIDATION_EXCEPTION_FIELDS: StaticSchema = ( + 16, + n0, + _VEFa, + 0, + (_m,), + ((VALIDATION_EXCEPTION_FIELD, 0),), +) + +VALIDATION_EXCEPTION_REASON: StaticSchema = ( + 14, + n0, + _VER, + 0, + (_CP, _FVF, _UO), + ((-1, {_sV: _CP}), (-1, {_sV: _FVF}), (-1, {_sV: _UO})), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_sm: _c, _sE: 400}, + (_me, _re, _f), + ( + (ERROR_MESSAGE, 1), + (VALIDATION_EXCEPTION_REASON, 1), + (VALIDATION_EXCEPTION_FIELDS, 0), + ), +) + +IDC_TRUSTED_TOKEN_ISSUER_ARN: StaticSchema = (3, n0, _ITTIA, 0) + +DATA_ACCESSOR_IDC_TRUSTED_TOKEN_ISSUER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DAITTIC, + 0, + (_iTTIA,), + ((IDC_TRUSTED_TOKEN_ISSUER_ARN, 1),), +) + +DATA_ACCESSOR_AUTHENTICATION_CONFIGURATION: StaticSchema = ( + 19, + n0, + _DAAC, + 0, + (_iTTIC,), + ((DATA_ACCESSOR_IDC_TRUSTED_TOKEN_ISSUER_CONFIGURATION, 0),), +) + +DATA_ACCESSOR_AUTHENTICATION_TYPE: StaticSchema = ( + 14, + n0, + _DAAT, + 0, + (_AIIT, _AIIAC), + ((-1, {_sV: _AIIT}), (-1, {_sV: _AIIAC})), +) + +DATA_ACCESSOR_EXTERNAL_ID: StaticSchema = (3, n0, _DAEI, 0) + +DATA_ACCESSOR_EXTERNAL_IDS: StaticSchema = ( + 16, + n0, + _DAEIa, + 0, + (_m,), + ((DATA_ACCESSOR_EXTERNAL_ID, 0),), +) + +DATA_ACCESSOR_AUTHENTICATION_DETAIL: StaticSchema = ( + 18, + n0, + _DAAD, + 0, + (_aT, _aCu, _eI), + ( + (DATA_ACCESSOR_AUTHENTICATION_TYPE, 1), + (DATA_ACCESSOR_AUTHENTICATION_CONFIGURATION, 0), + (DATA_ACCESSOR_EXTERNAL_IDS, 0), + ), +) + +DATA_ACCESSOR_NAME: StaticSchema = (3, n0, _DAN, 4) + +PRINCIPAL_ROLE_ARN: StaticSchema = (3, n0, _PRA, 0) + +DATA_ACCESSOR_ARN: StaticSchema = (3, n0, _DAA, 0) + +DATA_ACCESSOR_ID: StaticSchema = (3, n0, _DAI, 0) + +IDC_APPLICATION_ARN: StaticSchema = (3, n0, _IAA, 0) + +CREATE_DATA_ACCESSOR_OUTPUT: StaticSchema = ( + 18, + n0, + _CDAO, + {_sSI: _cCDAR, _smith: None}, + (_dAI, _iAA, _dAA), + ((DATA_ACCESSOR_ID, 1), (IDC_APPLICATION_ARN, 1), (DATA_ACCESSOR_ARN, 1)), +) + +CREATE_DATA_ACCESSOR_INPUT: StaticSchema = ( + 18, + n0, + _CDAIr, + {_sSI: _cCDARoma, _smit: None}, + (_aIp, _pr, _aCct, _cT, _dN, _aD, _ta), + ( + (APPLICATION_ID, 9), + (PRINCIPAL_ROLE_ARN, 1), + (lambda: schemas.ACTION_CONFIGURATION_LIST, 1), + (CLIENT_TOKEN, 2), + (DATA_ACCESSOR_NAME, 1), + (DATA_ACCESSOR_AUTHENTICATION_DETAIL, 0), + (TAGS, 0), + ), +) + +CREATE_DATA_ACCESSOR: StaticOperationSchema = ( + 23, + n0, + _CDAr, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/dataaccessors", "method": "POST"} + ) + }, + CREATE_DATA_ACCESSOR_INPUT, + CREATE_DATA_ACCESSOR_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +DELETE_DATA_ACCESSOR_INPUT: StaticSchema = ( + 18, + n0, + _DDAI, + {_sSI: _cDDAR, _smit: None}, + (_aIp, _dAI), + ((APPLICATION_ID, 9), (DATA_ACCESSOR_ID, 9)), +) + +DELETE_DATA_ACCESSOR_OUTPUT: StaticSchema = ( + 18, + n0, + _DDAO, + {_sSI: _cDDARo, _smith: None}, +) + +DELETE_DATA_ACCESSOR: StaticOperationSchema = ( + 23, + n0, + _DDA, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/dataaccessors/{dataAccessorId}", + "method": "DELETE", + } + ) + }, + DELETE_DATA_ACCESSOR_INPUT, + DELETE_DATA_ACCESSOR_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + CONFLICT_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +GET_DATA_ACCESSOR_INPUT: StaticSchema = ( + 18, + n0, + _GDAI, + {_sSI: _cGDAR, _smit: None}, + (_aIp, _dAI), + ((APPLICATION_ID, 9), (DATA_ACCESSOR_ID, 9)), +) + +GET_DATA_ACCESSOR_OUTPUT: StaticSchema = ( + 18, + n0, + _GDAO, + {_sSI: _cGDARo, _smith: None}, + (_dN, _dAI, _dAA, _aIp, _iAA, _pr, _aCct, _aD, _cA, _uA), + ( + (DATA_ACCESSOR_NAME, 0), + (DATA_ACCESSOR_ID, 0), + (DATA_ACCESSOR_ARN, 0), + (APPLICATION_ID, 0), + (IDC_APPLICATION_ARN, 0), + (PRINCIPAL_ROLE_ARN, 0), + (lambda: schemas.ACTION_CONFIGURATION_LIST, 0), + (DATA_ACCESSOR_AUTHENTICATION_DETAIL, 0), + (TIMESTAMP, 0), + (TIMESTAMP, 0), + ), +) + +GET_DATA_ACCESSOR: StaticOperationSchema = ( + 23, + n0, + _GDA, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/dataaccessors/{dataAccessorId}", + "method": "GET", + } + ) + }, + GET_DATA_ACCESSOR_INPUT, + GET_DATA_ACCESSOR_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLING_EXCEPTION, + VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_DATA_ACCESSORS: StaticSchema = (7, n0, _MRIFLDA, 0) + +NEXT_TOKEN1500: StaticSchema = (3, n0, _NT, 0) + +SUBSCRIPTION_TYPE: StaticSchema = ( + 14, + n0, + _ST, + 0, + (_QL, _QB), + ((-1, {_sV: _QL}), (-1, {_sV: _QB})), +) + +URL: StaticSchema = (3, n0, _U, 0) + +RETRIEVER_ID: StaticSchema = (3, n0, _RIet, 0) + +WEB_EXPERIENCE_ID: StaticSchema = (3, n0, _WEI, 0) + +ATTACHMENT_ID: StaticSchema = (3, n0, _AIt, 0) + +SUBSCRIPTION_ID: StaticSchema = (3, n0, _SIub, 0) + +LICENSE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _LNFE, + {_sm: _c, _sE: 400}, + (_me,), + ((ERROR_MESSAGE, 1),), +) + +CHAT_RESPONSE_CONFIGURATION_ID: StaticSchema = (3, n0, _CRCI, 0) + +ATTRIBUTE_FILTER: StaticSchema = ( + 18, + n0, + _AF, + 0, + (_aAF, _oAF, _nF, _eTq, _cAo, _cAon, _gT, _gTOE, _lT, _lTOE), + ( + (lambda: ATTRIBUTE_FILTERS, 0), + (lambda: ATTRIBUTE_FILTERS, 0), + (lambda: ATTRIBUTE_FILTER, 0), + (DOCUMENT_ATTRIBUTE, 0), + (DOCUMENT_ATTRIBUTE, 0), + (DOCUMENT_ATTRIBUTE, 0), + (DOCUMENT_ATTRIBUTE, 0), + (DOCUMENT_ATTRIBUTE, 0), + (DOCUMENT_ATTRIBUTE, 0), + (DOCUMENT_ATTRIBUTE, 0), + ), +) + +ATTRIBUTE_FILTERS: StaticSchema = (16, n0, _AFt, 0, (_m,), ((ATTRIBUTE_FILTER, 0),)) diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_1.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_1.py new file mode 100644 index 000000000..1abfdeb94 --- /dev/null +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_1.py @@ -0,0 +1,1217 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.qbusiness" +_sV = "smithy.api#enumValue" +_n = "name" +_s = "smithy.api#required" +_m = "member" +_v = "value" +_k = "key" +_STRING = "STRING" +_NUMBER = "NUMBER" +_dN = "displayName" +_t = "type" +_d = "description" +_CREATING = "CREATING" +_ACTIVE = "ACTIVE" +_DELETING = "DELETING" +_FAILED = "FAILED" +_UPDATING = "UPDATING" +_aIp = "applicationId" +_cA = "createdAt" +_uA = "updatedAt" +_st = "status" +_iT = "identityType" +_qSC = "quickSightConfiguration" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_aCM = "attachmentsControlMode" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_rA = "roleArn" +_iIPA = "iamIdentityProviderArn" +_cIFOIDC = "clientIdsForOIDC" +_eC = "encryptionConfiguration" +_ta = "tags" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_aCt = "attachmentsConfiguration" +_qAC = "qAppsConfiguration" +_pC = "personalizationConfiguration" +_smith = "smithy.api#output" +_aA = "applicationArn" +_smithy = "smithy.api#http" +_dAI = "dataAccessorId" +_iAA = "idcApplicationArn" +_dAA = "dataAccessorArn" +_sL = "smithy.api#httpLabel" +_LDAI = "ListDataAccessorsInput" +_cLDAR = "com.amazonaws.qbusiness#ListDataAccessorsRequest" +_nT = "nextToken" +_sQ = "smithy.api#httpQuery" +_mRa = "maxResults" +_DAa = "DataAccessor" +_pr = "principal" +_aD = "authenticationDetail" +_DAat = "DataAccessors" +_LDAO = "ListDataAccessorsOutput" +_cLDARo = "com.amazonaws.qbusiness#ListDataAccessorsResponse" +_dA = "dataAccessors" +_LDA = "ListDataAccessors" +_UDAO = "UpdateDataAccessorOutput" +_cUDAR = "com.amazonaws.qbusiness#UpdateDataAccessorResponse" +_DAIe = "DeleteApplicationInput" +_cDAR = "com.amazonaws.qbusiness#DeleteApplicationRequest" +_DAO = "DeleteApplicationOutput" +_cDARo = "com.amazonaws.qbusiness#DeleteApplicationResponse" +_DAe = "DeleteApplication" +_GAI = "GetApplicationInput" +_cGAR = "com.amazonaws.qbusiness#GetApplicationRequest" +_AAC = "AppliedAttachmentsConfiguration" +_ASS = "AutoSubscriptionStatus" +_ASC = "AutoSubscriptionConfiguration" +_aS = "autoSubscribe" +_dST = "defaultSubscriptionType" +_ECr = "ErrorCode" +_IE = "INTERNAL_ERROR" +_IEn = "InternalError" +_IR = "INVALID_REQUEST" +_IRn = "InvalidRequest" +_RI = "RESOURCE_INACTIVE" +_RIe = "ResourceInactive" +_RNF = "RESOURCE_NOT_FOUND" +_RNFe = "ResourceNotFound" +_ED = "ErrorDetail" +_eM = "errorMessage" +_eCr = "errorCode" +_GAO = "GetApplicationOutput" +_cGARo = "com.amazonaws.qbusiness#GetApplicationResponse" +_iCAA = "identityCenterApplicationArn" +_e = "error" +_aSC = "autoSubscriptionConfiguration" +_GA = "GetApplication" +_ICI = "IndexCapacityInteger" +_ICC = "IndexCapacityConfiguration" +_un = "units" +_IN = "IndexName" +_ITn = "IndexType" +_ENTERPRISE = "ENTERPRISE" +_STARTER = "STARTER" +_CII = "CreateIndexInput" +_cCIR = "com.amazonaws.qbusiness#CreateIndexRequest" +_cC = "capacityConfiguration" +_IAn = "IndexArn" +_II = "IndexId" +_CIO = "CreateIndexOutput" +_cCIRo = "com.amazonaws.qbusiness#CreateIndexResponse" +_iI = "indexId" +_iA = "indexArn" +_CIr = "CreateIndex" +_DSC = "DataSourceConfiguration" +_DSN = "DataSourceName" +_DECO = "DocumentEnrichmentConditionOperator" +_GT = "GREATER_THAN" +_GTOE = "GREATER_THAN_OR_EQUALS" +_LT = "LESS_THAN" +_LTOE = "LESS_THAN_OR_EQUALS" +_EQUALS = "EQUALS" +_NE = "NOT_EQUALS" +_CONTAINS = "CONTAINS" +_NC = "NOT_CONTAINS" +_EXISTS = "EXISTS" +_NE_ = "NOT_EXISTS" +_BW = "BEGINS_WITH" +_DAC = "DocumentAttributeCondition" +_o = "operator" +_DCO = "DocumentContentOperator" +_DELETE = "DELETE" +_AVO = "AttributeValueOperator" +_DAT = "DocumentAttributeTarget" +_aVO = "attributeValueOperator" +_IDEC = "InlineDocumentEnrichmentConfiguration" +_co = "condition" +_tar = "target" +_dCO = "documentContentOperator" +_IDECn = "InlineDocumentEnrichmentConfigurations" +_LA = "LambdaArn" +_HC = "HookConfiguration" +_iC = "invocationCondition" +_lA = "lambdaArn" +_sBN = "s3BucketName" +_DEC = "DocumentEnrichmentConfiguration" +_iCn = "inlineConfigurations" +_pEHC = "preExtractionHookConfiguration" +_pEHCo = "postExtractionHookConfiguration" +_AES = "AudioExtractionStatus" +_AEC = "AudioExtractionConfiguration" +_aES = "audioExtractionStatus" +_IES = "ImageExtractionStatus" +_IEC = "ImageExtractionConfiguration" +_iES = "imageExtractionStatus" +_VES = "VideoExtractionStatus" +_VEC = "VideoExtractionConfiguration" +_vES = "videoExtractionStatus" +_MEC = "MediaExtractionConfiguration" +_iEC = "imageExtractionConfiguration" +_aEC = "audioExtractionConfiguration" +_vEC = "videoExtractionConfiguration" +_SS = "SyncSchedule" +_SGI = "SecurityGroupId" +_SGIe = "SecurityGroupIds" +_SI = "SubnetId" +_SIu = "SubnetIds" +_DSVC = "DataSourceVpcConfiguration" +_sI = "subnetIds" +_sGI = "securityGroupIds" +_CDSI = "CreateDataSourceInput" +_cCDSR = "com.amazonaws.qbusiness#CreateDataSourceRequest" +_con = "configuration" +_vC = "vpcConfiguration" +_sS = "syncSchedule" +_dEC = "documentEnrichmentConfiguration" +_mEC = "mediaExtractionConfiguration" +_DSA = "DataSourceArn" +_DSI = "DataSourceId" +_CDSO = "CreateDataSourceOutput" +_cCDSRo = "com.amazonaws.qbusiness#CreateDataSourceResponse" +_dSI = "dataSourceId" +_dSA = "dataSourceArn" +_CDS = "CreateDataSource" +_DDSI = "DeleteDataSourceInput" +_cDDSR = "com.amazonaws.qbusiness#DeleteDataSourceRequest" +_DDSO = "DeleteDataSourceOutput" +_cDDSRo = "com.amazonaws.qbusiness#DeleteDataSourceResponse" +_DDS = "DeleteDataSource" +_GDSI = "GetDataSourceInput" +_cGDSR = "com.amazonaws.qbusiness#GetDataSourceRequest" +_DSS = "DataSourceStatus" +_PC_ = "PENDING_CREATION" +_GDSO = "GetDataSourceOutput" +_cGDSRo = "com.amazonaws.qbusiness#GetDataSourceResponse" +_GDS = "GetDataSource" +_MRIFLDS = "MaxResultsIntegerForListDataSources" +_NTe = "NextToken" +_LDSI = "ListDataSourcesInput" +_cLDSR = "com.amazonaws.qbusiness#ListDataSourcesRequest" +_DS = "DataSource" +_DSa = "DataSources" +_LDSO = "ListDataSourcesOutput" +_cLDSRo = "com.amazonaws.qbusiness#ListDataSourcesResponse" +_dS = "dataSources" +_LDS = "ListDataSources" +_UDSI = "UpdateDataSourceInput" +_cUDSR = "com.amazonaws.qbusiness#UpdateDataSourceRequest" +_UDSO = "UpdateDataSourceOutput" +_cUDSRo = "com.amazonaws.qbusiness#UpdateDataSourceResponse" +_UDS = "UpdateDataSource" +_DII = "DeleteIndexInput" +_cDIR = "com.amazonaws.qbusiness#DeleteIndexRequest" +_DIO = "DeleteIndexOutput" +_cDIRo = "com.amazonaws.qbusiness#DeleteIndexResponse" +_DI = "DeleteIndex" +_GII = "GetIndexInput" +_cGIR = "com.amazonaws.qbusiness#GetIndexRequest" +_DMCN = "DocumentMetadataConfigurationName" +_St = "Status" +_AT = "AttributeType" +_SL = "STRING_LIST" +_DATE = "DATE" +_DACo = "DocumentAttributeConfiguration" +_sea = "search" +_DACoc = "DocumentAttributeConfigurations" +_ITB = "IndexedTextBytes" +_GIO = "GetIndexOutput" +_cGIRo = "com.amazonaws.qbusiness#GetIndexResponse" +_dAC = "documentAttributeConfigurations" +_iS = "indexStatistics" +_GI = "GetIndex" +_EI = "ExecutionId" +_DIo = "DocumentId" +_aCct = "actionConfigurations" +_UDAI = "UpdateDataAccessorInput" +_cUDARo = "com.amazonaws.qbusiness#UpdateDataAccessorRequest" +_UDA = "UpdateDataAccessor" + +LIST_DATA_ACCESSORS_INPUT: StaticSchema = ( + 18, + n0, + _LDAI, + {_sSI: _cLDAR, _smit: None}, + (_aIp, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.NEXT_TOKEN1500, {_sQ: _nT}), + (lambda: schemas.MAX_RESULTS_INTEGER_FOR_LIST_DATA_ACCESSORS, {_sQ: _mRa}), + ), +) + +LIST_DATA_ACCESSORS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDAO, + {_sSI: _cLDARo, _smith: None}, + (_dA, _nT), + ((lambda: DATA_ACCESSORS, 0), (lambda: schemas.NEXT_TOKEN1500, 0)), +) + +LIST_DATA_ACCESSORS: StaticOperationSchema = ( + 23, + n0, + _LDA, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/dataaccessors", "method": "GET"} + ) + }, + LIST_DATA_ACCESSORS_INPUT, + LIST_DATA_ACCESSORS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_ACCESSOR: StaticSchema = ( + 18, + n0, + _DAa, + 0, + (_dN, _dAI, _dAA, _iAA, _pr, _aD, _cA, _uA), + ( + (lambda: schemas.DATA_ACCESSOR_NAME, 0), + (lambda: schemas.DATA_ACCESSOR_ID, 0), + (lambda: schemas.DATA_ACCESSOR_ARN, 0), + (lambda: schemas.IDC_APPLICATION_ARN, 0), + (lambda: schemas.PRINCIPAL_ROLE_ARN, 0), + (lambda: schemas.DATA_ACCESSOR_AUTHENTICATION_DETAIL, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +DATA_ACCESSORS: StaticSchema = (16, n0, _DAat, 0, (_m,), ((DATA_ACCESSOR, 0),)) + +UPDATE_DATA_ACCESSOR_OUTPUT: StaticSchema = ( + 18, + n0, + _UDAO, + {_sSI: _cUDAR, _smith: None}, +) + +UPDATE_DATA_ACCESSOR_INPUT: StaticSchema = ( + 18, + n0, + _UDAI, + {_sSI: _cUDARo, _smit: None}, + (_aIp, _dAI, _aCct, _aD, _dN), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.DATA_ACCESSOR_ID, 9), + (lambda: schemas.ACTION_CONFIGURATION_LIST, 1), + (lambda: schemas.DATA_ACCESSOR_AUTHENTICATION_DETAIL, 0), + (lambda: schemas.DATA_ACCESSOR_NAME, 0), + ), +) + +UPDATE_DATA_ACCESSOR: StaticOperationSchema = ( + 23, + n0, + _UDA, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/dataaccessors/{dataAccessorId}", + "method": "PUT", + } + ) + }, + UPDATE_DATA_ACCESSOR_INPUT, + UPDATE_DATA_ACCESSOR_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_APPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _DAIe, + {_sSI: _cDAR, _smit: None}, + (_aIp,), + ((lambda: schemas.APPLICATION_ID, 9),), +) + +DELETE_APPLICATION_OUTPUT: StaticSchema = (18, n0, _DAO, {_sSI: _cDARo, _smith: None}) + +DELETE_APPLICATION: StaticOperationSchema = ( + 23, + n0, + _DAe, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}", "method": "DELETE"} + ) + }, + DELETE_APPLICATION_INPUT, + DELETE_APPLICATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_APPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _GAI, + {_sSI: _cGAR, _smit: None}, + (_aIp,), + ((lambda: schemas.APPLICATION_ID, 9),), +) + +GET_APPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GAO, + {_sSI: _cGARo, _smith: None}, + ( + _dN, + _aIp, + _aA, + _iT, + _iIPA, + _iCAA, + _rA, + _st, + _d, + _eC, + _cA, + _uA, + _e, + _aCt, + _qAC, + _pC, + _aSC, + _cIFOIDC, + _qSC, + ), + ( + (lambda: schemas.APPLICATION_NAME, 0), + (lambda: schemas.APPLICATION_ID, 0), + (lambda: schemas.APPLICATION_ARN, 0), + (lambda: schemas.IDENTITY_TYPE, 0), + (lambda: schemas.IAM_IDENTITY_PROVIDER_ARN, 0), + (lambda: schemas.IDC_APPLICATION_ARN, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.APPLICATION_STATUS, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ENCRYPTION_CONFIGURATION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: ERROR_DETAIL, 0), + (lambda: APPLIED_ATTACHMENTS_CONFIGURATION, 0), + (lambda: schemas.Q_APPS_CONFIGURATION, 0), + (lambda: schemas.PERSONALIZATION_CONFIGURATION, 0), + (lambda: AUTO_SUBSCRIPTION_CONFIGURATION, 0), + (lambda: schemas.CLIENT_IDS_FOR_OIDC, 0), + (lambda: schemas.QUICK_SIGHT_CONFIGURATION, 0), + ), +) + +GET_APPLICATION: StaticOperationSchema = ( + 23, + n0, + _GA, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}", "method": "GET"} + ) + }, + GET_APPLICATION_INPUT, + GET_APPLICATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +APPLIED_ATTACHMENTS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AAC, + 0, + (_aCM,), + ((lambda: schemas.ATTACHMENTS_CONTROL_MODE, 0),), +) + +AUTO_SUBSCRIPTION_STATUS: StaticSchema = ( + 14, + n0, + _ASS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +AUTO_SUBSCRIPTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ASC, + 0, + (_aS, _dST), + ((AUTO_SUBSCRIPTION_STATUS, 1), (lambda: schemas.SUBSCRIPTION_TYPE, 0)), +) + +ERROR_CODE: StaticSchema = ( + 14, + n0, + _ECr, + 0, + (_IE, _IR, _RI, _RNF), + ((-1, {_sV: _IEn}), (-1, {_sV: _IRn}), (-1, {_sV: _RIe}), (-1, {_sV: _RNFe})), +) + +ERROR_DETAIL: StaticSchema = ( + 18, + n0, + _ED, + 0, + (_eM, _eCr), + ((lambda: schemas.ERROR_MESSAGE, 0), (ERROR_CODE, 0)), +) + +INDEX_CAPACITY_INTEGER: StaticSchema = (7, n0, _ICI, 0) + +INDEX_CAPACITY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ICC, + 0, + (_un,), + ((INDEX_CAPACITY_INTEGER, 0),), +) + +INDEX_NAME: StaticSchema = (3, n0, _IN, 0) + +INDEX_TYPE: StaticSchema = ( + 14, + n0, + _ITn, + 0, + (_ENTERPRISE, _STARTER), + ((-1, {_sV: _ENTERPRISE}), (-1, {_sV: _STARTER})), +) + +CREATE_INDEX_INPUT: StaticSchema = ( + 18, + n0, + _CII, + {_sSI: _cCIR, _smit: None}, + (_aIp, _dN, _d, _t, _ta, _cC, _cT), + ( + (lambda: schemas.APPLICATION_ID, 9), + (INDEX_NAME, 1), + (lambda: schemas.DESCRIPTION, 0), + (INDEX_TYPE, 0), + (lambda: schemas.TAGS, 0), + (INDEX_CAPACITY_CONFIGURATION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_INDEX_OUTPUT: StaticSchema = ( + 18, + n0, + _CIO, + {_sSI: _cCIRo, _smith: None}, + (_iI, _iA), + ((lambda: INDEX_ID, 0), (lambda: INDEX_ARN, 0)), +) + +CREATE_INDEX: StaticOperationSchema = ( + 23, + n0, + _CIr, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/indices", "method": "POST"} + ) + }, + CREATE_INDEX_INPUT, + CREATE_INDEX_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INDEX_ARN: StaticSchema = (3, n0, _IAn, 0) + +INDEX_ID: StaticSchema = (3, n0, _II, 0) + +DATA_SOURCE_CONFIGURATION: StaticSchema = (13, n0, _DSC, 0) + +DATA_SOURCE_NAME: StaticSchema = (3, n0, _DSN, 0) + +DOCUMENT_ENRICHMENT_CONDITION_OPERATOR: StaticSchema = ( + 14, + n0, + _DECO, + 0, + (_GT, _GTOE, _LT, _LTOE, _EQUALS, _NE, _CONTAINS, _NC, _EXISTS, _NE_, _BW), + ( + (-1, {_sV: _GT}), + (-1, {_sV: _GTOE}), + (-1, {_sV: _LT}), + (-1, {_sV: _LTOE}), + (-1, {_sV: _EQUALS}), + (-1, {_sV: _NE}), + (-1, {_sV: _CONTAINS}), + (-1, {_sV: _NC}), + (-1, {_sV: _EXISTS}), + (-1, {_sV: _NE_}), + (-1, {_sV: _BW}), + ), +) + +DOCUMENT_ATTRIBUTE_CONDITION: StaticSchema = ( + 18, + n0, + _DAC, + 0, + (_k, _o, _v), + ( + (lambda: schemas.DOCUMENT_ATTRIBUTE_KEY, 1), + (DOCUMENT_ENRICHMENT_CONDITION_OPERATOR, 1), + (lambda: schemas.DOCUMENT_ATTRIBUTE_VALUE, 0), + ), +) + +DOCUMENT_CONTENT_OPERATOR: StaticSchema = ( + 14, + n0, + _DCO, + 0, + (_DELETE,), + ((-1, {_sV: _DELETE}),), +) + +ATTRIBUTE_VALUE_OPERATOR: StaticSchema = ( + 14, + n0, + _AVO, + 0, + (_DELETE,), + ((-1, {_sV: _DELETE}),), +) + +DOCUMENT_ATTRIBUTE_TARGET: StaticSchema = ( + 18, + n0, + _DAT, + 0, + (_k, _v, _aVO), + ( + (lambda: schemas.DOCUMENT_ATTRIBUTE_KEY, 1), + (lambda: schemas.DOCUMENT_ATTRIBUTE_VALUE, 0), + (ATTRIBUTE_VALUE_OPERATOR, 0), + ), +) + +INLINE_DOCUMENT_ENRICHMENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IDEC, + 0, + (_co, _tar, _dCO), + ( + (DOCUMENT_ATTRIBUTE_CONDITION, 0), + (DOCUMENT_ATTRIBUTE_TARGET, 0), + (DOCUMENT_CONTENT_OPERATOR, 0), + ), +) + +INLINE_DOCUMENT_ENRICHMENT_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _IDECn, + 0, + (_m,), + ((INLINE_DOCUMENT_ENRICHMENT_CONFIGURATION, 0),), +) + +LAMBDA_ARN: StaticSchema = (3, n0, _LA, 0) + +HOOK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HC, + 0, + (_iC, _lA, _sBN, _rA), + ( + (DOCUMENT_ATTRIBUTE_CONDITION, 0), + (LAMBDA_ARN, 0), + (lambda: schemas.S3_BUCKET_NAME, 0), + (lambda: schemas.ROLE_ARN, 0), + ), +) + +DOCUMENT_ENRICHMENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DEC, + 0, + (_iCn, _pEHC, _pEHCo), + ( + (INLINE_DOCUMENT_ENRICHMENT_CONFIGURATIONS, 0), + (HOOK_CONFIGURATION, 0), + (HOOK_CONFIGURATION, 0), + ), +) + +AUDIO_EXTRACTION_STATUS: StaticSchema = ( + 14, + n0, + _AES, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +AUDIO_EXTRACTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AEC, + 0, + (_aES,), + ((AUDIO_EXTRACTION_STATUS, 1),), +) + +IMAGE_EXTRACTION_STATUS: StaticSchema = ( + 14, + n0, + _IES, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +IMAGE_EXTRACTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IEC, + 0, + (_iES,), + ((IMAGE_EXTRACTION_STATUS, 1),), +) + +VIDEO_EXTRACTION_STATUS: StaticSchema = ( + 14, + n0, + _VES, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +VIDEO_EXTRACTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VEC, + 0, + (_vES,), + ((VIDEO_EXTRACTION_STATUS, 1),), +) + +MEDIA_EXTRACTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MEC, + 0, + (_iEC, _aEC, _vEC), + ( + (IMAGE_EXTRACTION_CONFIGURATION, 0), + (AUDIO_EXTRACTION_CONFIGURATION, 0), + (VIDEO_EXTRACTION_CONFIGURATION, 0), + ), +) + +SYNC_SCHEDULE: StaticSchema = (3, n0, _SS, 0) + +SECURITY_GROUP_ID: StaticSchema = (3, n0, _SGI, 0) + +SECURITY_GROUP_IDS: StaticSchema = (16, n0, _SGIe, 0, (_m,), ((SECURITY_GROUP_ID, 0),)) + +SUBNET_ID: StaticSchema = (3, n0, _SI, 0) + +SUBNET_IDS: StaticSchema = (16, n0, _SIu, 0, (_m,), ((SUBNET_ID, 0),)) + +DATA_SOURCE_VPC_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DSVC, + 0, + (_sI, _sGI), + ((SUBNET_IDS, 1), (SECURITY_GROUP_IDS, 1)), +) + +CREATE_DATA_SOURCE_INPUT: StaticSchema = ( + 18, + n0, + _CDSI, + {_sSI: _cCDSR, _smit: None}, + (_aIp, _iI, _dN, _con, _vC, _d, _ta, _sS, _rA, _cT, _dEC, _mEC), + ( + (lambda: schemas.APPLICATION_ID, 9), + (INDEX_ID, 9), + (DATA_SOURCE_NAME, 1), + (DATA_SOURCE_CONFIGURATION, 1), + (DATA_SOURCE_VPC_CONFIGURATION, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TAGS, 0), + (SYNC_SCHEDULE, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (DOCUMENT_ENRICHMENT_CONFIGURATION, 0), + (MEDIA_EXTRACTION_CONFIGURATION, 0), + ), +) + +CREATE_DATA_SOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _CDSO, + {_sSI: _cCDSRo, _smith: None}, + (_dSI, _dSA), + ((lambda: DATA_SOURCE_ID, 0), (lambda: DATA_SOURCE_ARN, 0)), +) + +CREATE_DATA_SOURCE: StaticOperationSchema = ( + 23, + n0, + _CDS, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/indices/{indexId}/datasources", + "method": "POST", + } + ) + }, + CREATE_DATA_SOURCE_INPUT, + CREATE_DATA_SOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_SOURCE_ARN: StaticSchema = (3, n0, _DSA, 0) + +DATA_SOURCE_ID: StaticSchema = (3, n0, _DSI, 0) + +DELETE_DATA_SOURCE_INPUT: StaticSchema = ( + 18, + n0, + _DDSI, + {_sSI: _cDDSR, _smit: None}, + (_aIp, _iI, _dSI), + ((lambda: schemas.APPLICATION_ID, 9), (INDEX_ID, 9), (DATA_SOURCE_ID, 9)), +) + +DELETE_DATA_SOURCE_OUTPUT: StaticSchema = (18, n0, _DDSO, {_sSI: _cDDSRo, _smith: None}) + +DELETE_DATA_SOURCE: StaticOperationSchema = ( + 23, + n0, + _DDS, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", + "method": "DELETE", + } + ) + }, + DELETE_DATA_SOURCE_INPUT, + DELETE_DATA_SOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_DATA_SOURCE_INPUT: StaticSchema = ( + 18, + n0, + _GDSI, + {_sSI: _cGDSR, _smit: None}, + (_aIp, _iI, _dSI), + ((lambda: schemas.APPLICATION_ID, 9), (INDEX_ID, 9), (DATA_SOURCE_ID, 9)), +) + +GET_DATA_SOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _GDSO, + {_sSI: _cGDSRo, _smith: None}, + ( + _aIp, + _iI, + _dSI, + _dSA, + _dN, + _t, + _con, + _vC, + _cA, + _uA, + _d, + _st, + _sS, + _rA, + _e, + _dEC, + _mEC, + ), + ( + (lambda: schemas.APPLICATION_ID, 0), + (INDEX_ID, 0), + (DATA_SOURCE_ID, 0), + (DATA_SOURCE_ARN, 0), + (DATA_SOURCE_NAME, 0), + (lambda: schemas.STRING, 0), + (DATA_SOURCE_CONFIGURATION, 0), + (DATA_SOURCE_VPC_CONFIGURATION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: DATA_SOURCE_STATUS, 0), + (SYNC_SCHEDULE, 0), + (lambda: schemas.ROLE_ARN, 0), + (ERROR_DETAIL, 0), + (DOCUMENT_ENRICHMENT_CONFIGURATION, 0), + (MEDIA_EXTRACTION_CONFIGURATION, 0), + ), +) + +GET_DATA_SOURCE: StaticOperationSchema = ( + 23, + n0, + _GDS, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", + "method": "GET", + } + ) + }, + GET_DATA_SOURCE_INPUT, + GET_DATA_SOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_SOURCE_STATUS: StaticSchema = ( + 14, + n0, + _DSS, + 0, + (_PC_, _CREATING, _ACTIVE, _DELETING, _FAILED, _UPDATING), + ( + (-1, {_sV: _PC_}), + (-1, {_sV: _CREATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _UPDATING}), + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES: StaticSchema = (7, n0, _MRIFLDS, 0) + +NEXT_TOKEN: StaticSchema = (3, n0, _NTe, 0) + +LIST_DATA_SOURCES_INPUT: StaticSchema = ( + 18, + n0, + _LDSI, + {_sSI: _cLDSR, _smit: None}, + (_aIp, _iI, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (INDEX_ID, 9), + (NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES, {_sQ: _mRa}), + ), +) + +LIST_DATA_SOURCES_OUTPUT: StaticSchema = ( + 18, + n0, + _LDSO, + {_sSI: _cLDSRo, _smith: None}, + (_dS, _nT), + ((lambda: DATA_SOURCES, 0), (NEXT_TOKEN, 0)), +) + +LIST_DATA_SOURCES: StaticOperationSchema = ( + 23, + n0, + _LDS, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/indices/{indexId}/datasources", + "method": "GET", + } + ) + }, + LIST_DATA_SOURCES_INPUT, + LIST_DATA_SOURCES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DATA_SOURCE: StaticSchema = ( + 18, + n0, + _DS, + 0, + (_dN, _dSI, _t, _cA, _uA, _st), + ( + (DATA_SOURCE_NAME, 0), + (DATA_SOURCE_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (DATA_SOURCE_STATUS, 0), + ), +) + +DATA_SOURCES: StaticSchema = (16, n0, _DSa, 0, (_m,), ((DATA_SOURCE, 0),)) + +UPDATE_DATA_SOURCE_INPUT: StaticSchema = ( + 18, + n0, + _UDSI, + {_sSI: _cUDSR, _smit: None}, + (_aIp, _iI, _dSI, _dN, _con, _vC, _d, _sS, _rA, _dEC, _mEC), + ( + (lambda: schemas.APPLICATION_ID, 9), + (INDEX_ID, 9), + (DATA_SOURCE_ID, 9), + (DATA_SOURCE_NAME, 0), + (DATA_SOURCE_CONFIGURATION, 0), + (DATA_SOURCE_VPC_CONFIGURATION, 0), + (lambda: schemas.DESCRIPTION, 0), + (SYNC_SCHEDULE, 0), + (lambda: schemas.ROLE_ARN, 0), + (DOCUMENT_ENRICHMENT_CONFIGURATION, 0), + (MEDIA_EXTRACTION_CONFIGURATION, 0), + ), +) + +UPDATE_DATA_SOURCE_OUTPUT: StaticSchema = (18, n0, _UDSO, {_sSI: _cUDSRo, _smith: None}) + +UPDATE_DATA_SOURCE: StaticOperationSchema = ( + 23, + n0, + _UDS, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", + "method": "PUT", + } + ) + }, + UPDATE_DATA_SOURCE_INPUT, + UPDATE_DATA_SOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_INDEX_INPUT: StaticSchema = ( + 18, + n0, + _DII, + {_sSI: _cDIR, _smit: None}, + (_aIp, _iI), + ((lambda: schemas.APPLICATION_ID, 9), (INDEX_ID, 9)), +) + +DELETE_INDEX_OUTPUT: StaticSchema = (18, n0, _DIO, {_sSI: _cDIRo, _smith: None}) + +DELETE_INDEX: StaticOperationSchema = ( + 23, + n0, + _DI, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/indices/{indexId}", + "method": "DELETE", + } + ) + }, + DELETE_INDEX_INPUT, + DELETE_INDEX_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_INDEX_INPUT: StaticSchema = ( + 18, + n0, + _GII, + {_sSI: _cGIR, _smit: None}, + (_aIp, _iI), + ((lambda: schemas.APPLICATION_ID, 9), (INDEX_ID, 9)), +) + +GET_INDEX_OUTPUT: StaticSchema = ( + 18, + n0, + _GIO, + {_sSI: _cGIRo, _smith: None}, + (_aIp, _iI, _dN, _iA, _st, _t, _d, _cA, _uA, _cC, _dAC, _e, _iS), + ( + (lambda: schemas.APPLICATION_ID, 0), + (INDEX_ID, 0), + (INDEX_NAME, 0), + (INDEX_ARN, 0), + (lambda: schemas.INDEX_STATUS, 0), + (INDEX_TYPE, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (INDEX_CAPACITY_CONFIGURATION, 0), + (lambda: DOCUMENT_ATTRIBUTE_CONFIGURATIONS, 0), + (ERROR_DETAIL, 0), + (lambda: schemas.INDEX_STATISTICS, 0), + ), +) + +GET_INDEX: StaticOperationSchema = ( + 23, + n0, + _GI, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/indices/{indexId}", "method": "GET"} + ) + }, + GET_INDEX_INPUT, + GET_INDEX_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DOCUMENT_METADATA_CONFIGURATION_NAME: StaticSchema = (3, n0, _DMCN, 0) + +STATUS: StaticSchema = ( + 14, + n0, + _St, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +ATTRIBUTE_TYPE: StaticSchema = ( + 14, + n0, + _AT, + 0, + (_STRING, _SL, _NUMBER, _DATE), + ((-1, {_sV: _STRING}), (-1, {_sV: _SL}), (-1, {_sV: _NUMBER}), (-1, {_sV: _DATE})), +) + +DOCUMENT_ATTRIBUTE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DACo, + 0, + (_n, _t, _sea), + ((DOCUMENT_METADATA_CONFIGURATION_NAME, 0), (ATTRIBUTE_TYPE, 0), (STATUS, 0)), +) + +DOCUMENT_ATTRIBUTE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _DACoc, + 0, + (_m,), + ((DOCUMENT_ATTRIBUTE_CONFIGURATION, 0),), +) + +INDEXED_TEXT_BYTES: StaticSchema = (8, n0, _ITB, 0) + +EXECUTION_ID: StaticSchema = (3, n0, _EI, 0) + +DOCUMENT_ID: StaticSchema = (3, n0, _DIo, 0) diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_2.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_2.py new file mode 100644 index 000000000..bc47e2cfe --- /dev/null +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_2.py @@ -0,0 +1,1216 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.qbusiness" +_sV = "smithy.api#enumValue" +_s = "smithy.api#required" +_m = "member" +_v = "value" +_k = "key" +_pI = "pluginId" +_dN = "displayName" +_t = "type" +_d = "description" +_CREATING = "CREATING" +_ACTIVE = "ACTIVE" +_DELETING = "DELETING" +_FAILED = "FAILED" +_UPDATING = "UPDATING" +_aIp = "applicationId" +_cA = "createdAt" +_uA = "updatedAt" +_st = "status" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_rA = "roleArn" +_iCIA = "identityCenterInstanceArn" +_ta = "tags" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_aCt = "attachmentsConfiguration" +_qAC = "qAppsConfiguration" +_pC = "personalizationConfiguration" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_iAA = "idcApplicationArn" +_sL = "smithy.api#httpLabel" +_nT = "nextToken" +_sQ = "smithy.api#httpQuery" +_mRa = "maxResults" +_aSC = "autoSubscriptionConfiguration" +_cC = "capacityConfiguration" +_iI = "indexId" +_con = "configuration" +_ITD = "IndexedTextDocument" +_TDS = "TextDocumentStatistics" +_iTB = "indexedTextBytes" +_iTDC = "indexedTextDocumentCount" +_IS = "IndexStatistics" +_tDS = "textDocumentStatistics" +_ISn = "IndexStatus" +_dAC = "documentAttributeConfigurations" +_MRIFLI = "MaxResultsIntegerForListIndices" +_LII = "ListIndicesInput" +_cLIR = "com.amazonaws.qbusiness#ListIndicesRequest" +_In = "Index" +_Ind = "Indices" +_LIO = "ListIndicesOutput" +_cLIRo = "com.amazonaws.qbusiness#ListIndicesResponse" +_in = "indices" +_LI = "ListIndices" +_UII = "UpdateIndexInput" +_cUIR = "com.amazonaws.qbusiness#UpdateIndexRequest" +_UIO = "UpdateIndexOutput" +_cUIRo = "com.amazonaws.qbusiness#UpdateIndexResponse" +_UIp = "UpdateIndex" +_IIn = "IntegrationId" +_MRIFLA = "MaxResultsIntegerForListApplications" +_LAI = "ListApplicationsInput" +_cLAR = "com.amazonaws.qbusiness#ListApplicationsRequest" +_App = "Applications" +_LAO = "ListApplicationsOutput" +_cLARo = "com.amazonaws.qbusiness#ListApplicationsResponse" +_ap = "applications" +_LAi = "ListApplications" +_SA = "SecretArn" +_BAC = "BasicAuthConfiguration" +_sA = "secretArn" +_IAC = "IdcAuthConfiguration" +_NAC = "NoAuthConfiguration" +_OACCC = "OAuth2ClientCredentialConfiguration" +_aU = "authorizationUrl" +_tU = "tokenUrl" +_PAC = "PluginAuthConfiguration" +_bAC = "basicAuthConfiguration" +_oACCC = "oAuth2ClientCredentialConfiguration" +_nAC = "noAuthConfiguration" +_iAC = "idcAuthConfiguration" +_PD = "PluginDescription" +_CPC = "CustomPluginConfiguration" +_aST = "apiSchemaType" +_aSp = "apiSchema" +_PN = "PluginName" +_CPI = "CreatePluginInput" +_cCPR = "com.amazonaws.qbusiness#CreatePluginRequest" +_aCut = "authConfiguration" +_sU = "serverUrl" +_cPC = "customPluginConfiguration" +_PBS = "PluginBuildStatus" +_READY = "READY" +_CIP = "CREATE_IN_PROGRESS" +_CF = "CREATE_FAILED" +_UIP = "UPDATE_IN_PROGRESS" +_UF = "UPDATE_FAILED" +_DIP = "DELETE_IN_PROGRESS" +_DF = "DELETE_FAILED" +_PAl = "PluginArn" +_CPO = "CreatePluginOutput" +_cCPRo = "com.amazonaws.qbusiness#CreatePluginResponse" +_pA = "pluginArn" +_bS = "buildStatus" +_CPr = "CreatePlugin" +_DPI = "DeletePluginInput" +_cDPR = "com.amazonaws.qbusiness#DeletePluginRequest" +_DPO = "DeletePluginOutput" +_cDPRo = "com.amazonaws.qbusiness#DeletePluginResponse" +_DP = "DeletePlugin" +_GPI = "GetPluginInput" +_cGPR = "com.amazonaws.qbusiness#GetPluginRequest" +_PS = "PluginState" +_GPO = "GetPluginOutput" +_cGPRo = "com.amazonaws.qbusiness#GetPluginResponse" +_sta = "state" +_GP = "GetPlugin" +_MRIFLP = "MaxResultsIntegerForListPlugins" +_LPI = "ListPluginsInput" +_cLPR = "com.amazonaws.qbusiness#ListPluginsRequest" +_Pl = "Plugin" +_Plu = "Plugins" +_LPO = "ListPluginsOutput" +_cLPRo = "com.amazonaws.qbusiness#ListPluginsResponse" +_pl = "plugins" +_LP = "ListPlugins" +_UPI = "UpdatePluginInput" +_cUPR = "com.amazonaws.qbusiness#UpdatePluginRequest" +_UPO = "UpdatePluginOutput" +_cUPRo = "com.amazonaws.qbusiness#UpdatePluginResponse" +_UP = "UpdatePlugin" +_KII = "KendraIndexId" +_KIC = "KendraIndexConfiguration" +_BDIS = "BoostingDurationInSeconds" +_DABL = "DocumentAttributeBoostingLevel" +_NONE = "NONE" +_LOW = "LOW" +_MEDIUM = "MEDIUM" +_HIGH = "HIGH" +_VH = "VERY_HIGH" +_ONE = "ONE" +_TWO = "TWO" +_DABC = "DateAttributeBoostingConfiguration" +_bL = "boostingLevel" +_bDIS = "boostingDurationInSeconds" +_NABT = "NumberAttributeBoostingType" +_PLV = "PRIORITIZE_LARGER_VALUES" +_PSV = "PRIORITIZE_SMALLER_VALUES" +_NABC = "NumberAttributeBoostingConfiguration" +_bT = "boostingType" +_SAVBL = "StringAttributeValueBoostingLevel" +_THREE = "THREE" +_FOUR = "FOUR" +_FIVE = "FIVE" +_SAVB = "StringAttributeValueBoosting" +_SABC = "StringAttributeBoostingConfiguration" +_aVB = "attributeValueBoosting" +_SLABC = "StringListAttributeBoostingConfiguration" +_DABCo = "DocumentAttributeBoostingConfiguration" +_nC = "numberConfiguration" +_sC = "stringConfiguration" +_dC = "dateConfiguration" +_sLC = "stringListConfiguration" +_DABOM = "DocumentAttributeBoostingOverrideMap" +_NIC = "NativeIndexConfiguration" +_ve = "version" +_bO = "boostingOverride" +_RC = "RetrieverConfiguration" +_nIC = "nativeIndexConfiguration" +_kIC = "kendraIndexConfiguration" +_RN = "RetrieverName" +_RT = "RetrieverType" +_NI = "NATIVE_INDEX" +_KI = "KENDRA_INDEX" +_CRI = "CreateRetrieverInput" +_cCRR = "com.amazonaws.qbusiness#CreateRetrieverRequest" +_RAe = "RetrieverArn" +_CRO = "CreateRetrieverOutput" +_cCRRo = "com.amazonaws.qbusiness#CreateRetrieverResponse" +_rIe = "retrieverId" +_rAe = "retrieverArn" +_CR = "CreateRetriever" +_DRI = "DeleteRetrieverInput" +_cDRR = "com.amazonaws.qbusiness#DeleteRetrieverRequest" +_DRO = "DeleteRetrieverOutput" +_cDRRo = "com.amazonaws.qbusiness#DeleteRetrieverResponse" +_DR = "DeleteRetriever" +_GRI = "GetRetrieverInput" +_cGRR = "com.amazonaws.qbusiness#GetRetrieverRequest" +_RS = "RetrieverStatus" +_GRO = "GetRetrieverOutput" +_cGRRo = "com.amazonaws.qbusiness#GetRetrieverResponse" +_GR = "GetRetriever" +_MRIFLRR = "MaxResultsIntegerForListRetrieversRequest" +_LRI = "ListRetrieversInput" +_cLRR = "com.amazonaws.qbusiness#ListRetrieversRequest" +_R = "Retriever" +_Re = "Retrievers" +_LRO = "ListRetrieversOutput" +_cLRRo = "com.amazonaws.qbusiness#ListRetrieversResponse" +_ret = "retrievers" +_LR = "ListRetrievers" +_URI = "UpdateRetrieverInput" +_cURR = "com.amazonaws.qbusiness#UpdateRetrieverRequest" +_URO = "UpdateRetrieverOutput" +_cURRo = "com.amazonaws.qbusiness#UpdateRetrieverResponse" +_UR = "UpdateRetriever" +_UAI = "UpdateApplicationInput" +_cUAR = "com.amazonaws.qbusiness#UpdateApplicationRequest" +_UAO = "UpdateApplicationOutput" +_cUARo = "com.amazonaws.qbusiness#UpdateApplicationResponse" +_UA = "UpdateApplication" +_BE = "BrowserExtension" +_BEL = "BrowserExtensionList" + +INDEXED_TEXT_DOCUMENT: StaticSchema = (7, n0, _ITD, 0) + +TEXT_DOCUMENT_STATISTICS: StaticSchema = ( + 18, + n0, + _TDS, + 0, + (_iTB, _iTDC), + ((lambda: schemas.INDEXED_TEXT_BYTES, 0), (INDEXED_TEXT_DOCUMENT, 0)), +) + +INDEX_STATISTICS: StaticSchema = ( + 18, + n0, + _IS, + 0, + (_tDS,), + ((TEXT_DOCUMENT_STATISTICS, 0),), +) + +INDEX_STATUS: StaticSchema = ( + 14, + n0, + _ISn, + 0, + (_CREATING, _ACTIVE, _DELETING, _FAILED, _UPDATING), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _UPDATING}), + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_INDICES: StaticSchema = (7, n0, _MRIFLI, 0) + +LIST_INDICES_INPUT: StaticSchema = ( + 18, + n0, + _LII, + {_sSI: _cLIR, _smit: None}, + (_aIp, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_INDICES, {_sQ: _mRa}), + ), +) + +LIST_INDICES_OUTPUT: StaticSchema = ( + 18, + n0, + _LIO, + {_sSI: _cLIRo, _smith: None}, + (_nT, _in), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: INDICES, 0)), +) + +LIST_INDICES: StaticOperationSchema = ( + 23, + n0, + _LI, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/indices", "method": "GET"} + ) + }, + LIST_INDICES_INPUT, + LIST_INDICES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INDEX: StaticSchema = ( + 18, + n0, + _In, + 0, + (_dN, _iI, _cA, _uA, _st), + ( + (lambda: schemas.INDEX_NAME, 0), + (lambda: schemas.INDEX_ID, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (INDEX_STATUS, 0), + ), +) + +INDICES: StaticSchema = (16, n0, _Ind, 0, (_m,), ((INDEX, 0),)) + +UPDATE_INDEX_INPUT: StaticSchema = ( + 18, + n0, + _UII, + {_sSI: _cUIR, _smit: None}, + (_aIp, _iI, _dN, _d, _cC, _dAC), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (lambda: schemas.APPLICATION_NAME, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.INDEX_CAPACITY_CONFIGURATION, 0), + (lambda: schemas.DOCUMENT_ATTRIBUTE_CONFIGURATIONS, 0), + ), +) + +UPDATE_INDEX_OUTPUT: StaticSchema = (18, n0, _UIO, {_sSI: _cUIRo, _smith: None}) + +UPDATE_INDEX: StaticOperationSchema = ( + 23, + n0, + _UIp, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/indices/{indexId}", "method": "PUT"} + ) + }, + UPDATE_INDEX_INPUT, + UPDATE_INDEX_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +INTEGRATION_ID: StaticSchema = (3, n0, _IIn, 0) + +MAX_RESULTS_INTEGER_FOR_LIST_APPLICATIONS: StaticSchema = (7, n0, _MRIFLA, 0) + +LIST_APPLICATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LAI, + {_sSI: _cLAR, _smit: None}, + (_nT, _mRa), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_APPLICATIONS, {_sQ: _mRa}), + ), +) + +LIST_APPLICATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAO, + {_sSI: _cLARo, _smith: None}, + (_nT, _ap), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: APPLICATIONS, 0)), +) + +LIST_APPLICATIONS: StaticOperationSchema = ( + 23, + n0, + _LAi, + {_smithy: MappingProxyType({"uri": "/applications", "method": "GET"})}, + LIST_APPLICATIONS_INPUT, + LIST_APPLICATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +APPLICATIONS: StaticSchema = ( + 16, + n0, + _App, + 0, + (_m,), + ((lambda: schemas.APPLICATION, 0),), +) + +SECRET_ARN: StaticSchema = (3, n0, _SA, 0) + +BASIC_AUTH_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BAC, + 0, + (_sA, _rA), + ((SECRET_ARN, 1), (lambda: schemas.ROLE_ARN, 1)), +) + +IDC_AUTH_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IAC, + 0, + (_iAA, _rA), + ((lambda: schemas.IDC_APPLICATION_ARN, 1), (lambda: schemas.ROLE_ARN, 1)), +) + +NO_AUTH_CONFIGURATION: StaticSchema = (18, n0, _NAC, 0) + +O_AUTH2_CLIENT_CREDENTIAL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OACCC, + 0, + (_sA, _rA, _aU, _tU), + ( + (SECRET_ARN, 1), + (lambda: schemas.ROLE_ARN, 1), + (lambda: schemas.URL, 0), + (lambda: schemas.URL, 0), + ), +) + +PLUGIN_AUTH_CONFIGURATION: StaticSchema = ( + 19, + n0, + _PAC, + 0, + (_bAC, _oACCC, _nAC, _iAC), + ( + (BASIC_AUTH_CONFIGURATION, 0), + (O_AUTH2_CLIENT_CREDENTIAL_CONFIGURATION, 0), + (NO_AUTH_CONFIGURATION, 0), + (IDC_AUTH_CONFIGURATION, 0), + ), +) + +PLUGIN_DESCRIPTION: StaticSchema = (3, n0, _PD, 0) + +CUSTOM_PLUGIN_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CPC, + 0, + (_d, _aST, _aSp), + ( + (PLUGIN_DESCRIPTION, 1), + (lambda: schemas.API_SCHEMA_TYPE, 1), + (lambda: schemas.API_SCHEMA, 0), + ), +) + +PLUGIN_NAME: StaticSchema = (3, n0, _PN, 0) + +CREATE_PLUGIN_INPUT: StaticSchema = ( + 18, + n0, + _CPI, + {_sSI: _cCPR, _smit: None}, + (_aIp, _dN, _t, _aCut, _sU, _cPC, _ta, _cT), + ( + (lambda: schemas.APPLICATION_ID, 9), + (PLUGIN_NAME, 1), + (lambda: schemas.PLUGIN_TYPE, 1), + (PLUGIN_AUTH_CONFIGURATION, 1), + (lambda: schemas.URL, 0), + (CUSTOM_PLUGIN_CONFIGURATION, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_PLUGIN_OUTPUT: StaticSchema = ( + 18, + n0, + _CPO, + {_sSI: _cCPRo, _smith: None}, + (_pI, _pA, _bS), + ( + (lambda: schemas.PLUGIN_ID, 0), + (lambda: PLUGIN_ARN, 0), + (lambda: PLUGIN_BUILD_STATUS, 0), + ), +) + +CREATE_PLUGIN: StaticOperationSchema = ( + 23, + n0, + _CPr, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/applications/{applicationId}/plugins"} + ) + }, + CREATE_PLUGIN_INPUT, + CREATE_PLUGIN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PLUGIN_BUILD_STATUS: StaticSchema = ( + 14, + n0, + _PBS, + 0, + (_READY, _CIP, _CF, _UIP, _UF, _DIP, _DF), + ( + (-1, {_sV: _READY}), + (-1, {_sV: _CIP}), + (-1, {_sV: _CF}), + (-1, {_sV: _UIP}), + (-1, {_sV: _UF}), + (-1, {_sV: _DIP}), + (-1, {_sV: _DF}), + ), +) + +PLUGIN_ARN: StaticSchema = (3, n0, _PAl, 0) + +DELETE_PLUGIN_INPUT: StaticSchema = ( + 18, + n0, + _DPI, + {_sSI: _cDPR, _smit: None}, + (_aIp, _pI), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.PLUGIN_ID, 9)), +) + +DELETE_PLUGIN_OUTPUT: StaticSchema = (18, n0, _DPO, {_sSI: _cDPRo, _smith: None}) + +DELETE_PLUGIN: StaticOperationSchema = ( + 23, + n0, + _DP, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/applications/{applicationId}/plugins/{pluginId}", + } + ) + }, + DELETE_PLUGIN_INPUT, + DELETE_PLUGIN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_PLUGIN_INPUT: StaticSchema = ( + 18, + n0, + _GPI, + {_sSI: _cGPR, _smit: None}, + (_aIp, _pI), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.PLUGIN_ID, 9)), +) + +GET_PLUGIN_OUTPUT: StaticSchema = ( + 18, + n0, + _GPO, + {_sSI: _cGPRo, _smith: None}, + (_aIp, _pI, _dN, _t, _sU, _aCut, _cPC, _bS, _pA, _sta, _cA, _uA), + ( + (lambda: schemas.APPLICATION_ID, 0), + (lambda: schemas.PLUGIN_ID, 0), + (PLUGIN_NAME, 0), + (lambda: schemas.PLUGIN_TYPE, 0), + (lambda: schemas.URL, 0), + (PLUGIN_AUTH_CONFIGURATION, 0), + (CUSTOM_PLUGIN_CONFIGURATION, 0), + (PLUGIN_BUILD_STATUS, 0), + (PLUGIN_ARN, 0), + (lambda: PLUGIN_STATE, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +GET_PLUGIN: StaticOperationSchema = ( + 23, + n0, + _GP, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/applications/{applicationId}/plugins/{pluginId}"} + ) + }, + GET_PLUGIN_INPUT, + GET_PLUGIN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PLUGIN_STATE: StaticSchema = ( + 14, + n0, + _PS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +MAX_RESULTS_INTEGER_FOR_LIST_PLUGINS: StaticSchema = (7, n0, _MRIFLP, 0) + +LIST_PLUGINS_INPUT: StaticSchema = ( + 18, + n0, + _LPI, + {_sSI: _cLPR, _smit: None}, + (_aIp, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_PLUGINS, {_sQ: _mRa}), + ), +) + +LIST_PLUGINS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPO, + {_sSI: _cLPRo, _smith: None}, + (_nT, _pl), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: PLUGINS, 0)), +) + +LIST_PLUGINS: StaticOperationSchema = ( + 23, + n0, + _LP, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/applications/{applicationId}/plugins"} + ) + }, + LIST_PLUGINS_INPUT, + LIST_PLUGINS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PLUGIN: StaticSchema = ( + 18, + n0, + _Pl, + 0, + (_pI, _dN, _t, _sU, _sta, _bS, _cA, _uA), + ( + (lambda: schemas.PLUGIN_ID, 0), + (PLUGIN_NAME, 0), + (lambda: schemas.PLUGIN_TYPE, 0), + (lambda: schemas.URL, 0), + (PLUGIN_STATE, 0), + (PLUGIN_BUILD_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +PLUGINS: StaticSchema = (16, n0, _Plu, 0, (_m,), ((PLUGIN, 0),)) + +UPDATE_PLUGIN_INPUT: StaticSchema = ( + 18, + n0, + _UPI, + {_sSI: _cUPR, _smit: None}, + (_aIp, _pI, _dN, _sta, _sU, _cPC, _aCut), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.PLUGIN_ID, 9), + (PLUGIN_NAME, 0), + (PLUGIN_STATE, 0), + (lambda: schemas.URL, 0), + (CUSTOM_PLUGIN_CONFIGURATION, 0), + (PLUGIN_AUTH_CONFIGURATION, 0), + ), +) + +UPDATE_PLUGIN_OUTPUT: StaticSchema = (18, n0, _UPO, {_sSI: _cUPRo, _smith: None}) + +UPDATE_PLUGIN: StaticOperationSchema = ( + 23, + n0, + _UP, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/applications/{applicationId}/plugins/{pluginId}"} + ) + }, + UPDATE_PLUGIN_INPUT, + UPDATE_PLUGIN_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +KENDRA_INDEX_ID: StaticSchema = (3, n0, _KII, 0) + +KENDRA_INDEX_CONFIGURATION: StaticSchema = ( + 18, + n0, + _KIC, + 0, + (_iI,), + ((KENDRA_INDEX_ID, 1),), +) + +BOOSTING_DURATION_IN_SECONDS: StaticSchema = (8, n0, _BDIS, 0) + +DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL: StaticSchema = ( + 14, + n0, + _DABL, + 0, + (_NONE, _LOW, _MEDIUM, _HIGH, _VH, _ONE, _TWO), + ( + (-1, {_sV: _NONE}), + (-1, {_sV: _LOW}), + (-1, {_sV: _MEDIUM}), + (-1, {_sV: _HIGH}), + (-1, {_sV: _VH}), + (-1, {_sV: _ONE}), + (-1, {_sV: _TWO}), + ), +) + +DATE_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _DABC, + 0, + (_bL, _bDIS), + ((DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL, 1), (BOOSTING_DURATION_IN_SECONDS, 0)), +) + +NUMBER_ATTRIBUTE_BOOSTING_TYPE: StaticSchema = ( + 14, + n0, + _NABT, + 0, + (_PLV, _PSV), + ((-1, {_sV: _PLV}), (-1, {_sV: _PSV})), +) + +NUMBER_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _NABC, + 0, + (_bL, _bT), + ((DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL, 1), (NUMBER_ATTRIBUTE_BOOSTING_TYPE, 0)), +) + +STRING_ATTRIBUTE_VALUE_BOOSTING_LEVEL: StaticSchema = ( + 14, + n0, + _SAVBL, + 0, + (_LOW, _MEDIUM, _HIGH, _VH, _ONE, _TWO, _THREE, _FOUR, _FIVE), + ( + (-1, {_sV: _LOW}), + (-1, {_sV: _MEDIUM}), + (-1, {_sV: _HIGH}), + (-1, {_sV: _VH}), + (-1, {_sV: _ONE}), + (-1, {_sV: _TWO}), + (-1, {_sV: _THREE}), + (-1, {_sV: _FOUR}), + (-1, {_sV: _FIVE}), + ), +) + +STRING_ATTRIBUTE_VALUE_BOOSTING: StaticSchema = ( + 17, + n0, + _SAVB, + 0, + (_k, _v), + ((lambda: schemas.STRING, 0), (STRING_ATTRIBUTE_VALUE_BOOSTING_LEVEL, 0)), +) + +STRING_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SABC, + 0, + (_bL, _aVB), + ((DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL, 1), (STRING_ATTRIBUTE_VALUE_BOOSTING, 0)), +) + +STRING_LIST_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SLABC, + 0, + (_bL,), + ((DOCUMENT_ATTRIBUTE_BOOSTING_LEVEL, 1),), +) + +DOCUMENT_ATTRIBUTE_BOOSTING_CONFIGURATION: StaticSchema = ( + 19, + n0, + _DABCo, + 0, + (_nC, _sC, _dC, _sLC), + ( + (NUMBER_ATTRIBUTE_BOOSTING_CONFIGURATION, 0), + (STRING_ATTRIBUTE_BOOSTING_CONFIGURATION, 0), + (DATE_ATTRIBUTE_BOOSTING_CONFIGURATION, 0), + (STRING_LIST_ATTRIBUTE_BOOSTING_CONFIGURATION, 0), + ), +) + +DOCUMENT_ATTRIBUTE_BOOSTING_OVERRIDE_MAP: StaticSchema = ( + 17, + n0, + _DABOM, + 0, + (_k, _v), + ( + (lambda: schemas.DOCUMENT_ATTRIBUTE_KEY, 0), + (DOCUMENT_ATTRIBUTE_BOOSTING_CONFIGURATION, 0), + ), +) + +NATIVE_INDEX_CONFIGURATION: StaticSchema = ( + 18, + n0, + _NIC, + 0, + (_iI, _ve, _bO), + ( + (lambda: schemas.INDEX_ID, 1), + (lambda: schemas.LONG, 0), + (DOCUMENT_ATTRIBUTE_BOOSTING_OVERRIDE_MAP, 0), + ), +) + +RETRIEVER_CONFIGURATION: StaticSchema = ( + 19, + n0, + _RC, + 0, + (_nIC, _kIC), + ((NATIVE_INDEX_CONFIGURATION, 0), (KENDRA_INDEX_CONFIGURATION, 0)), +) + +RETRIEVER_NAME: StaticSchema = (3, n0, _RN, 0) + +RETRIEVER_TYPE: StaticSchema = ( + 14, + n0, + _RT, + 0, + (_NI, _KI), + ((-1, {_sV: _NI}), (-1, {_sV: _KI})), +) + +CREATE_RETRIEVER_INPUT: StaticSchema = ( + 18, + n0, + _CRI, + {_sSI: _cCRR, _smit: None}, + (_aIp, _t, _dN, _con, _rA, _cT, _ta), + ( + (lambda: schemas.APPLICATION_ID, 9), + (RETRIEVER_TYPE, 1), + (RETRIEVER_NAME, 1), + (RETRIEVER_CONFIGURATION, 1), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.TAGS, 0), + ), +) + +CREATE_RETRIEVER_OUTPUT: StaticSchema = ( + 18, + n0, + _CRO, + {_sSI: _cCRRo, _smith: None}, + (_rIe, _rAe), + ((lambda: schemas.RETRIEVER_ID, 0), (lambda: RETRIEVER_ARN, 0)), +) + +CREATE_RETRIEVER: StaticOperationSchema = ( + 23, + n0, + _CR, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/applications/{applicationId}/retrievers"} + ) + }, + CREATE_RETRIEVER_INPUT, + CREATE_RETRIEVER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVER_ARN: StaticSchema = (3, n0, _RAe, 0) + +DELETE_RETRIEVER_INPUT: StaticSchema = ( + 18, + n0, + _DRI, + {_sSI: _cDRR, _smit: None}, + (_aIp, _rIe), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.RETRIEVER_ID, 9)), +) + +DELETE_RETRIEVER_OUTPUT: StaticSchema = (18, n0, _DRO, {_sSI: _cDRRo, _smith: None}) + +DELETE_RETRIEVER: StaticOperationSchema = ( + 23, + n0, + _DR, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/applications/{applicationId}/retrievers/{retrieverId}", + } + ) + }, + DELETE_RETRIEVER_INPUT, + DELETE_RETRIEVER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_RETRIEVER_INPUT: StaticSchema = ( + 18, + n0, + _GRI, + {_sSI: _cGRR, _smit: None}, + (_aIp, _rIe), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.RETRIEVER_ID, 9)), +) + +GET_RETRIEVER_OUTPUT: StaticSchema = ( + 18, + n0, + _GRO, + {_sSI: _cGRRo, _smith: None}, + (_aIp, _rIe, _rAe, _t, _st, _dN, _con, _rA, _cA, _uA), + ( + (lambda: schemas.APPLICATION_ID, 0), + (lambda: schemas.RETRIEVER_ID, 0), + (RETRIEVER_ARN, 0), + (RETRIEVER_TYPE, 0), + (lambda: RETRIEVER_STATUS, 0), + (RETRIEVER_NAME, 0), + (RETRIEVER_CONFIGURATION, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +GET_RETRIEVER: StaticOperationSchema = ( + 23, + n0, + _GR, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/applications/{applicationId}/retrievers/{retrieverId}", + } + ) + }, + GET_RETRIEVER_INPUT, + GET_RETRIEVER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVER_STATUS: StaticSchema = ( + 14, + n0, + _RS, + 0, + (_CREATING, _ACTIVE, _FAILED), + ((-1, {_sV: _CREATING}), (-1, {_sV: _ACTIVE}), (-1, {_sV: _FAILED})), +) + +MAX_RESULTS_INTEGER_FOR_LIST_RETRIEVERS_REQUEST: StaticSchema = (7, n0, _MRIFLRR, 0) + +LIST_RETRIEVERS_INPUT: StaticSchema = ( + 18, + n0, + _LRI, + {_sSI: _cLRR, _smit: None}, + (_aIp, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_RETRIEVERS_REQUEST, {_sQ: _mRa}), + ), +) + +LIST_RETRIEVERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRO, + {_sSI: _cLRRo, _smith: None}, + (_ret, _nT), + ((lambda: RETRIEVERS, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_RETRIEVERS: StaticOperationSchema = ( + 23, + n0, + _LR, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/retrievers", "method": "GET"} + ) + }, + LIST_RETRIEVERS_INPUT, + LIST_RETRIEVERS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RETRIEVER: StaticSchema = ( + 18, + n0, + _R, + 0, + (_aIp, _rIe, _t, _st, _dN), + ( + (lambda: schemas.APPLICATION_ID, 0), + (lambda: schemas.RETRIEVER_ID, 0), + (RETRIEVER_TYPE, 0), + (RETRIEVER_STATUS, 0), + (RETRIEVER_NAME, 0), + ), +) + +RETRIEVERS: StaticSchema = (16, n0, _Re, 0, (_m,), ((RETRIEVER, 0),)) + +UPDATE_RETRIEVER_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _smit: None}, + (_aIp, _rIe, _con, _dN, _rA), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.RETRIEVER_ID, 9), + (RETRIEVER_CONFIGURATION, 0), + (RETRIEVER_NAME, 0), + (lambda: schemas.ROLE_ARN, 0), + ), +) + +UPDATE_RETRIEVER_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smith: None}) + +UPDATE_RETRIEVER: StaticOperationSchema = ( + 23, + n0, + _UR, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/applications/{applicationId}/retrievers/{retrieverId}", + } + ) + }, + UPDATE_RETRIEVER_INPUT, + UPDATE_RETRIEVER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_APPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _UAI, + {_sSI: _cUAR, _smit: None}, + (_aIp, _iCIA, _dN, _d, _rA, _aCt, _qAC, _pC, _aSC), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INSTANCE_ARN, 0), + (lambda: schemas.APPLICATION_NAME, 0), + (lambda: schemas.DESCRIPTION, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.ATTACHMENTS_CONFIGURATION, 0), + (lambda: schemas.Q_APPS_CONFIGURATION, 0), + (lambda: schemas.PERSONALIZATION_CONFIGURATION, 0), + (lambda: schemas.AUTO_SUBSCRIPTION_CONFIGURATION, 0), + ), +) + +UPDATE_APPLICATION_OUTPUT: StaticSchema = (18, n0, _UAO, {_sSI: _cUARo, _smith: None}) + +UPDATE_APPLICATION: StaticOperationSchema = ( + 23, + n0, + _UA, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}", "method": "PUT"} + ) + }, + UPDATE_APPLICATION_INPUT, + UPDATE_APPLICATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BROWSER_EXTENSION: StaticSchema = (3, n0, _BE, 0) + +BROWSER_EXTENSION_LIST: StaticSchema = ( + 16, + n0, + _BEL, + 0, + (_m,), + ((BROWSER_EXTENSION, 0),), +) diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_3.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_3.py new file mode 100644 index 000000000..a0fab5570 --- /dev/null +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_3.py @@ -0,0 +1,1188 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.qbusiness" +_sV = "smithy.api#enumValue" +_n = "name" +_s = "smithy.api#required" +_i = "id" +_m = "member" +_v = "value" +_k = "key" +_t = "type" +_cI = "conversationId" +_s_ = "s3" +_CREATING = "CREATING" +_ACTIVE = "ACTIVE" +_DELETING = "DELETING" +_FAILED = "FAILED" +_aIp = "applicationId" +_cA = "createdAt" +_uA = "updatedAt" +_st = "status" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_rA = "roleArn" +_ta = "tags" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_aCu = "authenticationConfiguration" +_sL = "smithy.api#httpLabel" +_nT = "nextToken" +_sQ = "smithy.api#httpQuery" +_mRa = "maxResults" +_pr = "principal" +_e = "error" +_iI = "indexId" +_dEC = "documentEnrichmentConfiguration" +_mEC = "mediaExtractionConfiguration" +_dSI = "dataSourceId" +_aU = "authorizationUrl" +_BEC = "BrowserExtensionConfiguration" +_eBE = "enabledBrowserExtensions" +_CCSSU = "CustomCSSUrl" +_FU = "FaviconUrl" +_FUo = "FontUrl" +_LU = "LogoUrl" +_CC = "CustomizationConfiguration" +_cCSSU = "customCSSUrl" +_lU = "logoUrl" +_fU = "fontUrl" +_fUa = "faviconUrl" +_OIDCPC = "OpenIDConnectProviderConfiguration" +_sAe = "secretsArn" +_sR = "secretsRole" +_SAU = "SamlAuthenticationUrl" +_SPC = "SamlProviderConfiguration" +_aUu = "authenticationUrl" +_IPC = "IdentityProviderConfiguration" +_sCa = "samlConfiguration" +_oIDCC = "openIDConnectConfiguration" +_O = "Origin" +_WEO = "WebExperienceOrigins" +_WESPCM = "WebExperienceSamplePromptsControlMode" +_WES = "WebExperienceSubtitle" +_WET = "WebExperienceTitle" +_WEWM = "WebExperienceWelcomeMessage" +_CWEI = "CreateWebExperienceInput" +_cCWER = "com.amazonaws.qbusiness#CreateWebExperienceRequest" +_ti = "title" +_su = "subtitle" +_wM = "welcomeMessage" +_sPCM = "samplePromptsControlMode" +_or = "origins" +_iPC = "identityProviderConfiguration" +_bEC = "browserExtensionConfiguration" +_cCu = "customizationConfiguration" +_WEA = "WebExperienceArn" +_CWEO = "CreateWebExperienceOutput" +_cCWERo = "com.amazonaws.qbusiness#CreateWebExperienceResponse" +_wEI = "webExperienceId" +_wEA = "webExperienceArn" +_CWE = "CreateWebExperience" +_DWEI = "DeleteWebExperienceInput" +_cDWER = "com.amazonaws.qbusiness#DeleteWebExperienceRequest" +_DWEO = "DeleteWebExperienceOutput" +_cDWERo = "com.amazonaws.qbusiness#DeleteWebExperienceResponse" +_DWE = "DeleteWebExperience" +_GWEI = "GetWebExperienceInput" +_cGWER = "com.amazonaws.qbusiness#GetWebExperienceRequest" +_SMXML = "SamlMetadataXML" +_SAa = "SamlAttribute" +_SCa = "SamlConfiguration" +_mXML = "metadataXML" +_uIA = "userIdAttribute" +_uGA = "userGroupAttribute" +_WEAC = "WebExperienceAuthConfiguration" +_WESe = "WebExperienceStatus" +_PAC_ = "PENDING_AUTH_CONFIG" +_GWEO = "GetWebExperienceOutput" +_cGWERo = "com.amazonaws.qbusiness#GetWebExperienceResponse" +_dE = "defaultEndpoint" +_GWE = "GetWebExperience" +_MRIFLWER = "MaxResultsIntegerForListWebExperiencesRequest" +_LWEI = "ListWebExperiencesInput" +_cLWER = "com.amazonaws.qbusiness#ListWebExperiencesRequest" +_WE = "WebExperience" +_WEe = "WebExperiences" +_LWEO = "ListWebExperiencesOutput" +_cLWERo = "com.amazonaws.qbusiness#ListWebExperiencesResponse" +_wE = "webExperiences" +_LWE = "ListWebExperiences" +_UWEI = "UpdateWebExperienceInput" +_cUWER = "com.amazonaws.qbusiness#UpdateWebExperienceRequest" +_UWEO = "UpdateWebExperienceOutput" +_cUWERo = "com.amazonaws.qbusiness#UpdateWebExperienceResponse" +_UWE = "UpdateWebExperience" +_CMC = "CreatorModeControl" +_ACMC = "AppliedCreatorModeConfiguration" +_cMC = "creatorModeControl" +_OC = "OrchestrationControl" +_AOC = "AppliedOrchestrationConfiguration" +_cont = "control" +_AG = "AssociatedGroup" +_AGs = "AssociatedGroups" +_AU = "AssociatedUser" +_AUs = "AssociatedUsers" +_QIAa = "QIamActions" +_PCK = "PermissionConditionKey" +_PCO = "PermissionConditionOperator" +_SE = "STRING_EQUALS" +_SEt = "StringEquals" +_PCV = "PermissionConditionValue" +_PCVe = "PermissionConditionValues" +_PCe = "PermissionCondition" +_cO = "conditionOperator" +_cK = "conditionKey" +_cV = "conditionValues" +_PCer = "PermissionConditions" +_SIt = "StatementId" +_API = "AssociatePermissionInput" +_cAPR = "com.amazonaws.qbusiness#AssociatePermissionRequest" +_sIt = "statementId" +_ac = "actions" +_cond = "conditions" +_APO = "AssociatePermissionOutput" +_cAPRo = "com.amazonaws.qbusiness#AssociatePermissionResponse" +_stat = "statement" +_AP = "AssociatePermission" +_CS = "ConversationSource" +_aIt = "attachmentId" +_CFS = "CopyFromSource" +_conv = "conversation" +_ANt = "AttachmentName" +_ASt = "AttachmentStatus" +_SUCCESS = "SUCCESS" +_At = "Attachment" +_cF = "copyFrom" +_fT = "fileType" +_fS = "fileSize" +_md = "md5chksum" +_B = "Blob" +_AItt = "AttachmentInput" +_da = "data" +_AIE = "AttachmentInputEvent" +_at = "attachment" +_AL = "AttachmentList" +_AO = "AttachmentOutput" +_AItta = "AttachmentsInput" +_AOt = "AttachmentsOutput" +_AET = "AudioExtractionType" +_TRANSCRIPT = "TRANSCRIPT" +_SUMMARY = "SUMMARY" +_MIe = "MediaId" +_ASD = "AudioSourceDetails" +_mI = "mediaId" +_mMT = "mediaMimeType" +_sTM = "startTimeMilliseconds" +_eTM = "endTimeMilliseconds" +_aET = "audioExtractionType" +_ACR = "AuthChallengeRequest" +_ACRE = "AuthChallengeRequestEvent" +_ARK = "AuthResponseKey" +_ARV = "AuthResponseValue" +_ARM = "AuthorizationResponseMap" +_ACRu = "AuthChallengeResponse" +_rM = "responseMap" +_ACREu = "AuthChallengeResponseEvent" +_DD = "DeleteDocument" +_dI = "documentId" +_DDe = "DeleteDocuments" +_BDDI = "BatchDeleteDocumentInput" +_cBDDR = "com.amazonaws.qbusiness#BatchDeleteDocumentRequest" +_do = "documents" +_dSSI = "dataSourceSyncId" +_FD = "FailedDocument" +_FDa = "FailedDocuments" +_BDDO = "BatchDeleteDocumentOutput" +_cBDDRo = "com.amazonaws.qbusiness#BatchDeleteDocumentResponse" +_fD = "failedDocuments" +_BDD = "BatchDeleteDocument" +_DAo = "DocumentAttributes" +_DC = "DocumentContent" +_bl = "blob" +_CTo = "ContentType" +_PDF = "PDF" +_HTML = "HTML" +_MW = "MS_WORD" +_PT_ = "PLAIN_TEXT" +_PPT = "PPT" +_RTF = "RTF" +_XML = "XML" +_XSLT = "XSLT" +_ME_ = "MS_EXCEL" +_CSV = "CSV" +_JSON = "JSON" +_MD = "MD" +_Ti = "Title" +_Do = "Document" +_att = "attributes" +_conte = "content" +_cTo = "contentType" +_aCc = "accessConfiguration" +_Doc = "Documents" +_BPDI = "BatchPutDocumentInput" +_cBPDR = "com.amazonaws.qbusiness#BatchPutDocumentRequest" +_BPDO = "BatchPutDocumentOutput" +_cBPDRo = "com.amazonaws.qbusiness#BatchPutDocumentResponse" +_BPD = "BatchPutDocument" +_BP = "BlockedPhrase" +_BPl = "BlockedPhrases" +_SMO = "SystemMessageOverride" +_BPC = "BlockedPhrasesConfiguration" +_bP = "blockedPhrases" +_sMO = "systemMessageOverride" +_BPCU = "BlockedPhrasesConfigurationUpdate" +_bPTCOU = "blockedPhrasesToCreateOrUpdate" +_bPTD = "blockedPhrasesToDelete" + +BROWSER_EXTENSION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BEC, + 0, + (_eBE,), + ((lambda: schemas.BROWSER_EXTENSION_LIST, 1),), +) + +CUSTOM_CSS_URL: StaticSchema = (3, n0, _CCSSU, 0) + +FAVICON_URL: StaticSchema = (3, n0, _FU, 0) + +FONT_URL: StaticSchema = (3, n0, _FUo, 0) + +LOGO_URL: StaticSchema = (3, n0, _LU, 0) + +CUSTOMIZATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CC, + 0, + (_cCSSU, _lU, _fU, _fUa), + ((CUSTOM_CSS_URL, 0), (LOGO_URL, 0), (FONT_URL, 0), (FAVICON_URL, 0)), +) + +OPEN_ID_CONNECT_PROVIDER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OIDCPC, + 0, + (_sAe, _sR), + ((lambda: schemas.SECRET_ARN, 1), (lambda: schemas.ROLE_ARN, 1)), +) + +SAML_AUTHENTICATION_URL: StaticSchema = (3, n0, _SAU, 0) + +SAML_PROVIDER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SPC, + 0, + (_aUu,), + ((SAML_AUTHENTICATION_URL, 1),), +) + +IDENTITY_PROVIDER_CONFIGURATION: StaticSchema = ( + 19, + n0, + _IPC, + 0, + (_sCa, _oIDCC), + ((SAML_PROVIDER_CONFIGURATION, 0), (OPEN_ID_CONNECT_PROVIDER_CONFIGURATION, 0)), +) + +ORIGIN: StaticSchema = (3, n0, _O, 0) + +WEB_EXPERIENCE_ORIGINS: StaticSchema = (16, n0, _WEO, 0, (_m,), ((ORIGIN, 0),)) + +WEB_EXPERIENCE_SAMPLE_PROMPTS_CONTROL_MODE: StaticSchema = ( + 14, + n0, + _WESPCM, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +WEB_EXPERIENCE_SUBTITLE: StaticSchema = (3, n0, _WES, 0) + +WEB_EXPERIENCE_TITLE: StaticSchema = (3, n0, _WET, 0) + +WEB_EXPERIENCE_WELCOME_MESSAGE: StaticSchema = (3, n0, _WEWM, 0) + +CREATE_WEB_EXPERIENCE_INPUT: StaticSchema = ( + 18, + n0, + _CWEI, + {_sSI: _cCWER, _smit: None}, + (_aIp, _ti, _su, _wM, _sPCM, _or, _rA, _ta, _cT, _iPC, _bEC, _cCu), + ( + (lambda: schemas.APPLICATION_ID, 9), + (WEB_EXPERIENCE_TITLE, 0), + (WEB_EXPERIENCE_SUBTITLE, 0), + (WEB_EXPERIENCE_WELCOME_MESSAGE, 0), + (WEB_EXPERIENCE_SAMPLE_PROMPTS_CONTROL_MODE, 0), + (WEB_EXPERIENCE_ORIGINS, 0), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.TAGS, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + (IDENTITY_PROVIDER_CONFIGURATION, 0), + (BROWSER_EXTENSION_CONFIGURATION, 0), + (CUSTOMIZATION_CONFIGURATION, 0), + ), +) + +CREATE_WEB_EXPERIENCE_OUTPUT: StaticSchema = ( + 18, + n0, + _CWEO, + {_sSI: _cCWERo, _smith: None}, + (_wEI, _wEA), + ((lambda: schemas.WEB_EXPERIENCE_ID, 0), (lambda: WEB_EXPERIENCE_ARN, 0)), +) + +CREATE_WEB_EXPERIENCE: StaticOperationSchema = ( + 23, + n0, + _CWE, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/experiences", "method": "POST"} + ) + }, + CREATE_WEB_EXPERIENCE_INPUT, + CREATE_WEB_EXPERIENCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +WEB_EXPERIENCE_ARN: StaticSchema = (3, n0, _WEA, 0) + +DELETE_WEB_EXPERIENCE_INPUT: StaticSchema = ( + 18, + n0, + _DWEI, + {_sSI: _cDWER, _smit: None}, + (_aIp, _wEI), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.WEB_EXPERIENCE_ID, 9)), +) + +DELETE_WEB_EXPERIENCE_OUTPUT: StaticSchema = ( + 18, + n0, + _DWEO, + {_sSI: _cDWERo, _smith: None}, +) + +DELETE_WEB_EXPERIENCE: StaticOperationSchema = ( + 23, + n0, + _DWE, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/experiences/{webExperienceId}", + "method": "DELETE", + } + ) + }, + DELETE_WEB_EXPERIENCE_INPUT, + DELETE_WEB_EXPERIENCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_WEB_EXPERIENCE_INPUT: StaticSchema = ( + 18, + n0, + _GWEI, + {_sSI: _cGWER, _smit: None}, + (_aIp, _wEI), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.WEB_EXPERIENCE_ID, 9)), +) + +GET_WEB_EXPERIENCE_OUTPUT: StaticSchema = ( + 18, + n0, + _GWEO, + {_sSI: _cGWERo, _smith: None}, + ( + _aIp, + _wEI, + _wEA, + _dE, + _st, + _cA, + _uA, + _ti, + _su, + _wM, + _sPCM, + _or, + _rA, + _iPC, + _aCu, + _e, + _bEC, + _cCu, + ), + ( + (lambda: schemas.APPLICATION_ID, 0), + (lambda: schemas.WEB_EXPERIENCE_ID, 0), + (WEB_EXPERIENCE_ARN, 0), + (lambda: schemas.URL, 0), + (lambda: WEB_EXPERIENCE_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (WEB_EXPERIENCE_TITLE, 0), + (WEB_EXPERIENCE_SUBTITLE, 0), + (WEB_EXPERIENCE_WELCOME_MESSAGE, 0), + (WEB_EXPERIENCE_SAMPLE_PROMPTS_CONTROL_MODE, 0), + (WEB_EXPERIENCE_ORIGINS, 0), + (lambda: schemas.ROLE_ARN, 0), + (IDENTITY_PROVIDER_CONFIGURATION, 0), + (lambda: WEB_EXPERIENCE_AUTH_CONFIGURATION, 0), + (lambda: schemas.ERROR_DETAIL, 0), + (BROWSER_EXTENSION_CONFIGURATION, 0), + (CUSTOMIZATION_CONFIGURATION, 0), + ), +) + +GET_WEB_EXPERIENCE: StaticOperationSchema = ( + 23, + n0, + _GWE, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/experiences/{webExperienceId}", + "method": "GET", + } + ) + }, + GET_WEB_EXPERIENCE_INPUT, + GET_WEB_EXPERIENCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SAML_METADATA_XML: StaticSchema = (3, n0, _SMXML, 0) + +SAML_ATTRIBUTE: StaticSchema = (3, n0, _SAa, 0) + +SAML_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SCa, + 0, + (_mXML, _rA, _uIA, _uGA), + ( + (SAML_METADATA_XML, 1), + (lambda: schemas.ROLE_ARN, 1), + (SAML_ATTRIBUTE, 1), + (SAML_ATTRIBUTE, 0), + ), +) + +WEB_EXPERIENCE_AUTH_CONFIGURATION: StaticSchema = ( + 19, + n0, + _WEAC, + 0, + (_sCa,), + ((SAML_CONFIGURATION, 0),), +) + +WEB_EXPERIENCE_STATUS: StaticSchema = ( + 14, + n0, + _WESe, + 0, + (_CREATING, _ACTIVE, _DELETING, _FAILED, _PAC_), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _ACTIVE}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _PAC_}), + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_WEB_EXPERIENCES_REQUEST: StaticSchema = ( + 7, + n0, + _MRIFLWER, + 0, +) + +LIST_WEB_EXPERIENCES_INPUT: StaticSchema = ( + 18, + n0, + _LWEI, + {_sSI: _cLWER, _smit: None}, + (_aIp, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_WEB_EXPERIENCES_REQUEST, {_sQ: _mRa}), + ), +) + +LIST_WEB_EXPERIENCES_OUTPUT: StaticSchema = ( + 18, + n0, + _LWEO, + {_sSI: _cLWERo, _smith: None}, + (_wE, _nT), + ((lambda: WEB_EXPERIENCES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_WEB_EXPERIENCES: StaticOperationSchema = ( + 23, + n0, + _LWE, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/experiences", "method": "GET"} + ) + }, + LIST_WEB_EXPERIENCES_INPUT, + LIST_WEB_EXPERIENCES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +WEB_EXPERIENCE: StaticSchema = ( + 18, + n0, + _WE, + 0, + (_wEI, _cA, _uA, _dE, _st), + ( + (lambda: schemas.WEB_EXPERIENCE_ID, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.URL, 0), + (WEB_EXPERIENCE_STATUS, 0), + ), +) + +WEB_EXPERIENCES: StaticSchema = (16, n0, _WEe, 0, (_m,), ((WEB_EXPERIENCE, 0),)) + +UPDATE_WEB_EXPERIENCE_INPUT: StaticSchema = ( + 18, + n0, + _UWEI, + {_sSI: _cUWER, _smit: None}, + (_aIp, _wEI, _rA, _aCu, _ti, _su, _wM, _sPCM, _iPC, _or, _bEC, _cCu), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.WEB_EXPERIENCE_ID, 9), + (lambda: schemas.ROLE_ARN, 0), + (WEB_EXPERIENCE_AUTH_CONFIGURATION, 0), + (WEB_EXPERIENCE_TITLE, 0), + (WEB_EXPERIENCE_SUBTITLE, 0), + (WEB_EXPERIENCE_WELCOME_MESSAGE, 0), + (WEB_EXPERIENCE_SAMPLE_PROMPTS_CONTROL_MODE, 0), + (IDENTITY_PROVIDER_CONFIGURATION, 0), + (WEB_EXPERIENCE_ORIGINS, 0), + (BROWSER_EXTENSION_CONFIGURATION, 0), + (CUSTOMIZATION_CONFIGURATION, 0), + ), +) + +UPDATE_WEB_EXPERIENCE_OUTPUT: StaticSchema = ( + 18, + n0, + _UWEO, + {_sSI: _cUWERo, _smith: None}, +) + +UPDATE_WEB_EXPERIENCE: StaticOperationSchema = ( + 23, + n0, + _UWE, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/experiences/{webExperienceId}", + "method": "PUT", + } + ) + }, + UPDATE_WEB_EXPERIENCE_INPUT, + UPDATE_WEB_EXPERIENCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREATOR_MODE_CONTROL: StaticSchema = ( + 14, + n0, + _CMC, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +APPLIED_CREATOR_MODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ACMC, + 0, + (_cMC,), + ((CREATOR_MODE_CONTROL, 1),), +) + +ORCHESTRATION_CONTROL: StaticSchema = ( + 14, + n0, + _OC, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +APPLIED_ORCHESTRATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AOC, + 0, + (_cont,), + ((ORCHESTRATION_CONTROL, 1),), +) + +ASSOCIATED_GROUP: StaticSchema = ( + 18, + n0, + _AG, + 0, + (_n, _t), + ((lambda: schemas.GROUP_NAME, 0), (lambda: schemas.MEMBERSHIP_TYPE, 0)), +) + +ASSOCIATED_GROUPS: StaticSchema = (16, n0, _AGs, 0, (_m,), ((ASSOCIATED_GROUP, 0),)) + +ASSOCIATED_USER: StaticSchema = ( + 18, + n0, + _AU, + 0, + (_i, _t), + ((lambda: schemas.STRING, 0), (lambda: schemas.MEMBERSHIP_TYPE, 0)), +) + +ASSOCIATED_USERS: StaticSchema = (16, n0, _AUs, 0, (_m,), ((ASSOCIATED_USER, 0),)) + +Q_IAM_ACTIONS: StaticSchema = ( + 16, + n0, + _QIAa, + 0, + (_m,), + ((lambda: schemas.Q_IAM_ACTION, 0),), +) + +PERMISSION_CONDITION_KEY: StaticSchema = (3, n0, _PCK, 0) + +PERMISSION_CONDITION_OPERATOR: StaticSchema = ( + 14, + n0, + _PCO, + 0, + (_SE,), + ((-1, {_sV: _SEt}),), +) + +PERMISSION_CONDITION_VALUE: StaticSchema = (3, n0, _PCV, 0) + +PERMISSION_CONDITION_VALUES: StaticSchema = ( + 16, + n0, + _PCVe, + 0, + (_m,), + ((PERMISSION_CONDITION_VALUE, 0),), +) + +PERMISSION_CONDITION: StaticSchema = ( + 18, + n0, + _PCe, + 0, + (_cO, _cK, _cV), + ( + (PERMISSION_CONDITION_OPERATOR, 1), + (PERMISSION_CONDITION_KEY, 1), + (PERMISSION_CONDITION_VALUES, 1), + ), +) + +PERMISSION_CONDITIONS: StaticSchema = ( + 16, + n0, + _PCer, + 0, + (_m,), + ((PERMISSION_CONDITION, 0),), +) + +STATEMENT_ID: StaticSchema = (3, n0, _SIt, 0) + +ASSOCIATE_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _API, + {_sSI: _cAPR, _smit: None}, + (_aIp, _sIt, _ac, _cond, _pr), + ( + (lambda: schemas.APPLICATION_ID, 9), + (STATEMENT_ID, 1), + (Q_IAM_ACTIONS, 1), + (PERMISSION_CONDITIONS, 0), + (lambda: schemas.PRINCIPAL_ROLE_ARN, 1), + ), +) + +ASSOCIATE_PERMISSION_OUTPUT: StaticSchema = ( + 18, + n0, + _APO, + {_sSI: _cAPRo, _smith: None}, + (_stat,), + ((lambda: schemas.STRING, 0),), +) + +ASSOCIATE_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _AP, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/policy", "method": "POST"} + ) + }, + ASSOCIATE_PERMISSION_INPUT, + ASSOCIATE_PERMISSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CONVERSATION_SOURCE: StaticSchema = ( + 18, + n0, + _CS, + 0, + (_cI, _aIt), + ((lambda: schemas.CONVERSATION_ID, 1), (lambda: schemas.ATTACHMENT_ID, 1)), +) + +COPY_FROM_SOURCE: StaticSchema = ( + 19, + n0, + _CFS, + 0, + (_conv,), + ((CONVERSATION_SOURCE, 0),), +) + +ATTACHMENT_NAME: StaticSchema = (3, n0, _ANt, 0) + +ATTACHMENT_STATUS: StaticSchema = ( + 14, + n0, + _ASt, + 0, + (_FAILED, _SUCCESS), + ((-1, {_sV: _FAILED}), (-1, {_sV: _SUCCESS})), +) + +ATTACHMENT: StaticSchema = ( + 18, + n0, + _At, + 0, + (_aIt, _cI, _n, _cF, _fT, _fS, _md, _cA, _st, _e), + ( + (lambda: schemas.ATTACHMENT_ID, 0), + (lambda: schemas.CONVERSATION_ID, 0), + (ATTACHMENT_NAME, 0), + (COPY_FROM_SOURCE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TIMESTAMP, 0), + (ATTACHMENT_STATUS, 0), + (lambda: schemas.ERROR_DETAIL, 0), + ), +) + +BLOB: StaticSchema = (1, n0, _B, 0) + +ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _AItt, + 0, + (_da, _n, _cF), + ((BLOB, 0), (ATTACHMENT_NAME, 0), (COPY_FROM_SOURCE, 0)), +) + +ATTACHMENT_INPUT_EVENT: StaticSchema = ( + 18, + n0, + _AIE, + 0, + (_at,), + ((ATTACHMENT_INPUT, 0),), +) + +ATTACHMENT_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((ATTACHMENT, 0),)) + +ATTACHMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _AO, + 0, + (_n, _st, _e, _aIt, _cI), + ( + (ATTACHMENT_NAME, 0), + (ATTACHMENT_STATUS, 0), + (lambda: schemas.ERROR_DETAIL, 0), + (lambda: schemas.ATTACHMENT_ID, 0), + (lambda: schemas.CONVERSATION_ID, 0), + ), +) + +ATTACHMENTS_INPUT: StaticSchema = (16, n0, _AItta, 0, (_m,), ((ATTACHMENT_INPUT, 0),)) + +ATTACHMENTS_OUTPUT: StaticSchema = (16, n0, _AOt, 0, (_m,), ((ATTACHMENT_OUTPUT, 0),)) + +AUDIO_EXTRACTION_TYPE: StaticSchema = ( + 14, + n0, + _AET, + 0, + (_TRANSCRIPT, _SUMMARY), + ((-1, {_sV: _TRANSCRIPT}), (-1, {_sV: _SUMMARY})), +) + +MEDIA_ID: StaticSchema = (3, n0, _MIe, 0) + +AUDIO_SOURCE_DETAILS: StaticSchema = ( + 18, + n0, + _ASD, + 0, + (_mI, _mMT, _sTM, _eTM, _aET), + ( + (MEDIA_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.LONG, 0), + (AUDIO_EXTRACTION_TYPE, 0), + ), +) + +AUTH_CHALLENGE_REQUEST: StaticSchema = ( + 18, + n0, + _ACR, + 0, + (_aU,), + ((lambda: schemas.URL, 1),), +) + +AUTH_CHALLENGE_REQUEST_EVENT: StaticSchema = ( + 18, + n0, + _ACRE, + 0, + (_aU,), + ((lambda: schemas.URL, 1),), +) + +AUTH_RESPONSE_KEY: StaticSchema = (3, n0, _ARK, 0) + +AUTH_RESPONSE_VALUE: StaticSchema = (3, n0, _ARV, 0) + +AUTHORIZATION_RESPONSE_MAP: StaticSchema = ( + 17, + n0, + _ARM, + 0, + (_k, _v), + ((AUTH_RESPONSE_KEY, 0), (AUTH_RESPONSE_VALUE, 0)), +) + +AUTH_CHALLENGE_RESPONSE: StaticSchema = ( + 18, + n0, + _ACRu, + 0, + (_rM,), + ((AUTHORIZATION_RESPONSE_MAP, 1),), +) + +AUTH_CHALLENGE_RESPONSE_EVENT: StaticSchema = ( + 18, + n0, + _ACREu, + 0, + (_rM,), + ((AUTHORIZATION_RESPONSE_MAP, 1),), +) + +DELETE_DOCUMENT: StaticSchema = ( + 18, + n0, + _DD, + 0, + (_dI,), + ((lambda: schemas.DOCUMENT_ID, 1),), +) + +DELETE_DOCUMENTS: StaticSchema = (16, n0, _DDe, 0, (_m,), ((DELETE_DOCUMENT, 0),)) + +BATCH_DELETE_DOCUMENT_INPUT: StaticSchema = ( + 18, + n0, + _BDDI, + {_sSI: _cBDDR, _smit: None}, + (_aIp, _iI, _do, _dSSI), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (DELETE_DOCUMENTS, 1), + (lambda: schemas.EXECUTION_ID, 0), + ), +) + +BATCH_DELETE_DOCUMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _BDDO, + {_sSI: _cBDDRo, _smith: None}, + (_fD,), + ((lambda: FAILED_DOCUMENTS, 0),), +) + +BATCH_DELETE_DOCUMENT: StaticOperationSchema = ( + 23, + n0, + _BDD, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/applications/{applicationId}/indices/{indexId}/documents/delete", + } + ) + }, + BATCH_DELETE_DOCUMENT_INPUT, + BATCH_DELETE_DOCUMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +FAILED_DOCUMENT: StaticSchema = ( + 18, + n0, + _FD, + 0, + (_i, _e, _dSI), + ( + (lambda: schemas.DOCUMENT_ID, 0), + (lambda: schemas.ERROR_DETAIL, 0), + (lambda: schemas.DATA_SOURCE_ID, 0), + ), +) + +FAILED_DOCUMENTS: StaticSchema = (16, n0, _FDa, 0, (_m,), ((FAILED_DOCUMENT, 0),)) + +DOCUMENT_ATTRIBUTES: StaticSchema = ( + 16, + n0, + _DAo, + 0, + (_m,), + ((lambda: schemas.DOCUMENT_ATTRIBUTE, 0),), +) + +DOCUMENT_CONTENT: StaticSchema = ( + 19, + n0, + _DC, + 0, + (_bl, _s_), + ((1, 0), (lambda: schemas.S3, 0)), +) + +CONTENT_TYPE: StaticSchema = ( + 14, + n0, + _CTo, + 0, + (_PDF, _HTML, _MW, _PT_, _PPT, _RTF, _XML, _XSLT, _ME_, _CSV, _JSON, _MD), + ( + (-1, {_sV: _PDF}), + (-1, {_sV: _HTML}), + (-1, {_sV: _MW}), + (-1, {_sV: _PT_}), + (-1, {_sV: _PPT}), + (-1, {_sV: _RTF}), + (-1, {_sV: _XML}), + (-1, {_sV: _XSLT}), + (-1, {_sV: _ME_}), + (-1, {_sV: _CSV}), + (-1, {_sV: _JSON}), + (-1, {_sV: _MD}), + ), +) + +TITLE: StaticSchema = (3, n0, _Ti, 0) + +DOCUMENT: StaticSchema = ( + 18, + n0, + _Do, + 0, + (_i, _att, _conte, _cTo, _ti, _aCc, _dEC, _mEC), + ( + (lambda: schemas.DOCUMENT_ID, 1), + (DOCUMENT_ATTRIBUTES, 0), + (DOCUMENT_CONTENT, 0), + (CONTENT_TYPE, 0), + (TITLE, 0), + (lambda: schemas.ACCESS_CONFIGURATION, 0), + (lambda: schemas.DOCUMENT_ENRICHMENT_CONFIGURATION, 0), + (lambda: schemas.MEDIA_EXTRACTION_CONFIGURATION, 0), + ), +) + +DOCUMENTS: StaticSchema = (16, n0, _Doc, 0, (_m,), ((DOCUMENT, 0),)) + +BATCH_PUT_DOCUMENT_INPUT: StaticSchema = ( + 18, + n0, + _BPDI, + {_sSI: _cBPDR, _smit: None}, + (_aIp, _iI, _do, _rA, _dSSI), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (DOCUMENTS, 1), + (lambda: schemas.ROLE_ARN, 0), + (lambda: schemas.EXECUTION_ID, 0), + ), +) + +BATCH_PUT_DOCUMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _BPDO, + {_sSI: _cBPDRo, _smith: None}, + (_fD,), + ((FAILED_DOCUMENTS, 0),), +) + +BATCH_PUT_DOCUMENT: StaticOperationSchema = ( + 23, + n0, + _BPD, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/applications/{applicationId}/indices/{indexId}/documents", + } + ) + }, + BATCH_PUT_DOCUMENT_INPUT, + BATCH_PUT_DOCUMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BLOCKED_PHRASE: StaticSchema = (3, n0, _BP, 0) + +BLOCKED_PHRASES: StaticSchema = (16, n0, _BPl, 0, (_m,), ((BLOCKED_PHRASE, 0),)) + +SYSTEM_MESSAGE_OVERRIDE: StaticSchema = (3, n0, _SMO, 0) + +BLOCKED_PHRASES_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BPC, + 0, + (_bP, _sMO), + ((BLOCKED_PHRASES, 0), (SYSTEM_MESSAGE_OVERRIDE, 0)), +) + +BLOCKED_PHRASES_CONFIGURATION_UPDATE: StaticSchema = ( + 18, + n0, + _BPCU, + 0, + (_bPTCOU, _bPTD, _sMO), + ((BLOCKED_PHRASES, 0), (BLOCKED_PHRASES, 0), (SYSTEM_MESSAGE_OVERRIDE, 0)), +) diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_4.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_4.py new file mode 100644 index 000000000..efcdb45b3 --- /dev/null +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_4.py @@ -0,0 +1,1285 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.qbusiness" +_sV = "smithy.api#enumValue" +_n = "name" +_s = "smithy.api#required" +_i = "id" +_u = "user" +_g = "group" +_m = "member" +_mR = "memberRelation" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_me = "message" +_v = "value" +_k = "key" +_pI = "pluginId" +_dN = "displayName" +_t = "type" +_cI = "conversationId" +_uMI = "userMessageId" +_sMI = "systemMessageId" +_CREATING = "CREATING" +_ACTIVE = "ACTIVE" +_FAILED = "FAILED" +_UPDATING = "UPDATING" +_aIp = "applicationId" +_cA = "createdAt" +_uA = "updatedAt" +_st = "status" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_ta = "tags" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sL = "smithy.api#httpLabel" +_sQ = "smithy.api#httpQuery" +_pr = "principal" +_e = "error" +_iI = "indexId" +_dSI = "dataSourceId" +_rIe = "retrieverId" +_ti = "title" +_wEI = "webExperienceId" +_cMC = "creatorModeControl" +_cond = "conditions" +_aIt = "attachmentId" +_at = "attachment" +_TRANSCRIPT = "TRANSCRIPT" +_SUMMARY = "SUMMARY" +_mI = "mediaId" +_mMT = "mediaMimeType" +_sTM = "startTimeMilliseconds" +_eTM = "endTimeMilliseconds" +_dI = "documentId" +_sMO = "systemMessageOverride" +_CSI = "CancelSubscriptionInput" +_cCSR = "com.amazonaws.qbusiness#CancelSubscriptionRequest" +_sIu = "subscriptionId" +_SD = "SubscriptionDetails" +_SAu = "SubscriptionArn" +_CSO = "CancelSubscriptionOutput" +_cCSRo = "com.amazonaws.qbusiness#CancelSubscriptionResponse" +_sAu = "subscriptionArn" +_cS = "currentSubscription" +_nS = "nextSubscription" +_CSa = "CancelSubscription" +_CM = "ChatMode" +_RM = "RETRIEVAL_MODE" +_CM_ = "CREATOR_MODE" +_PM = "PLUGIN_MODE" +_PCl = "PluginConfiguration" +_CMCh = "ChatModeConfiguration" +_pCl = "pluginConfiguration" +_EOIE = "EndOfInputEvent" +_UM = "UserMessage" +_TIE = "TextInputEvent" +_uM = "userMessage" +_UG = "UserGroups" +_FAE = "FailedAttachmentEvent" +_SAMI = "SourceAttributionMediaId" +_SET = "SnippetExcerptText" +_SEn = "SnippetExcerpt" +_te = "text" +_ISD = "ImageSourceDetails" +_VET = "VideoExtractionType" +_VSD = "VideoSourceDetails" +_vET = "videoExtractionType" +_SDo = "SourceDetails" +_iSD = "imageSourceDetails" +_aSD = "audioSourceDetails" +_vSD = "videoSourceDetails" +_TS = "TextSegment" +_bOe = "beginOffset" +_eO = "endOffset" +_sEn = "snippetExcerpt" +_sD = "sourceDetails" +_TSL = "TextSegmentList" +_SAo = "SourceAttribution" +_sn = "snippet" +_ur = "url" +_cNi = "citationNumber" +_tMS = "textMessageSegments" +_dIa = "datasourceId" +_SAou = "SourceAttributions" +_smithya = "smithy.api#sparse" +_MEe = "MetadataEvent" +_sAo = "sourceAttributions" +_fTM = "finalTextMessage" +_SMT = "SystemMessageType" +_RESPONSE = "RESPONSE" +_GR_ = "GROUNDED_RESPONSE" +_TOE = "TextOutputEvent" +_sMT = "systemMessageType" +_sM = "systemMessage" +_COS = "ChatOutputStream" +_smithyap = "smithy.api#streaming" +_tE = "textEvent" +_mE = "metadataEvent" +_aRE = "actionReviewEvent" +_fAE = "failedAttachmentEvent" +_aCRE = "authChallengeRequestEvent" +_CO = "ChatOutput" +_oS = "outputStream" +_sP = "smithy.api#httpPayload" +_ERE = "ExternalResourceException" +_CRCA = "ChatResponseConfigurationArn" +_DN = "DisplayName" +_RCS = "ResponseConfigurationSummary" +_CRCS = "ChatResponseConfigurationStatus" +_CRC = "ChatResponseConfiguration" +_cRCI = "chatResponseConfigurationId" +_cRCA = "chatResponseConfigurationArn" +_rCS = "responseConfigurationSummary" +_RCT = "ResponseConfigurationType" +_ALL = "ALL" +_Ins = "Instruction" +_IC = "InstructionCollection" +_rL = "responseLength" +_tA = "targetAudience" +_pe = "perspective" +_oSu = "outputStyle" +_id = "identity" +_to = "tone" +_cIu = "customInstructions" +_ex = "examples" +_RCe = "ResponseConfiguration" +_iCns = "instructionCollection" +_RCes = "ResponseConfigurations" +_CRCD = "ChatResponseConfigurationDetail" +_rC = "responseConfigurations" +_CRCh = "ChatResponseConfigurations" +_CSOh = "ChatSyncOutput" +_aR = "actionReview" +_aCR = "authChallengeRequest" +_fA = "failedAttachments" +_CDAI = "CheckDocumentAccessInput" +_cCDARo = "com.amazonaws.qbusiness#CheckDocumentAccessRequest" +_uI = "userId" +_DAG = "DocumentAclGroup" +_DAGo = "DocumentAclGroups" +_DAU = "DocumentAclUser" +_DAUo = "DocumentAclUsers" +_DACocu = "DocumentAclCondition" +_us = "users" +_gr = "groups" +_DACocum = "DocumentAclConditions" +_DAM = "DocumentAclMembership" +_DAoc = "DocumentAcl" +_al = "allowlist" +_dL = "denyList" +_CDAOh = "CheckDocumentAccessOutput" +_cCDARom = "com.amazonaws.qbusiness#CheckDocumentAccessResponse" +_uG = "userGroups" +_uAs = "userAliases" +_hA = "hasAccess" +_dAo = "documentAcl" +_CDA = "CheckDocumentAccess" +_CBR = "ContentBlockerRule" +_EDS = "EligibleDataSource" +_EDSl = "EligibleDataSources" +_CRR = "ContentRetrievalRule" +_eDS = "eligibleDataSources" +_RCSe = "RetrieverContentSource" +_CSo = "ContentSource" +_retr = "retriever" +_CTon = "ConversationTitle" +_C = "Conversation" +_sTt = "startTime" +_Co = "Conversations" +_SDIM = "SessionDurationInMinutes" +_CAWEUI = "CreateAnonymousWebExperienceUrlInput" +_cCAWEUR = "com.amazonaws.qbusiness#CreateAnonymousWebExperienceUrlRequest" +_sDIM = "sessionDurationInMinutes" +_CAWEUO = "CreateAnonymousWebExperienceUrlOutput" +_cCAWEURo = "com.amazonaws.qbusiness#CreateAnonymousWebExperienceUrlResponse" +_aUn = "anonymousUrl" +_CAWEU = "CreateAnonymousWebExperienceUrl" +_CCRCI = "CreateChatResponseConfigurationInput" +_cCCRCR = "com.amazonaws.qbusiness#CreateChatResponseConfigurationRequest" +_CCRCO = "CreateChatResponseConfigurationOutput" +_cCCRCRo = "com.amazonaws.qbusiness#CreateChatResponseConfigurationResponse" +_CCRC = "CreateChatResponseConfiguration" +_GIr = "GroupIdentifier" +_UIs = "UserIdentifier" +_SP = "SubscriptionPrincipal" +_CSIr = "CreateSubscriptionInput" +_cCSRom = "com.amazonaws.qbusiness#CreateSubscriptionRequest" +_CSOr = "CreateSubscriptionOutput" +_cCSRoma = "com.amazonaws.qbusiness#CreateSubscriptionResponse" +_CSr = "CreateSubscription" +_UAs = "UserAlias" +_UAse = "UserAliases" +_CUI = "CreateUserInput" +_cCUR = "com.amazonaws.qbusiness#CreateUserRequest" +_CUO = "CreateUserOutput" +_cCURo = "com.amazonaws.qbusiness#CreateUserResponse" +_CU = "CreateUser" +_CMCr = "CreatorModeConfiguration" +_DSIa = "DataSourceIds" +_MV = "MetricValue" +_DSSJM = "DataSourceSyncJobMetrics" +_dAoc = "documentsAdded" +_dM = "documentsModified" +_dDo = "documentsDeleted" +_dF = "documentsFailed" +_dSo = "documentsScanned" +_DSSJS = "DataSourceSyncJobStatus" +_SUCCEEDED = "SUCCEEDED" +_SYNCING = "SYNCING" +_INCOMPLETE = "INCOMPLETE" +_STOPPING = "STOPPING" +_ABORTED = "ABORTED" +_SI_ = "SYNCING_INDEXING" +_DSSJ = "DataSourceSyncJob" +_eIx = "executionId" +_eT = "endTime" +_dSEC = "dataSourceErrorCode" +_met = "metrics" +_DSSJa = "DataSourceSyncJobs" +_DSUI = "DataSourceUserId" +_DAIel = "DeleteAttachmentInput" +_cDARom = "com.amazonaws.qbusiness#DeleteAttachmentRequest" +_DAOe = "DeleteAttachmentOutput" +_cDARoma = "com.amazonaws.qbusiness#DeleteAttachmentResponse" +_DAel = "DeleteAttachment" +_atta = "attachments" +_aE = "actionExecution" +_CSIh = "ChatSyncInput" +_aCRu = "authChallengeResponse" +_pMI = "parentMessageId" +_aFt = "attributeFilter" +_cM = "chatMode" +_cMCh = "chatModeConfiguration" +_CSh = "ChatSync" +_CIh = "ChatInput" +_iSn = "inputStream" +_Ch = "Chat" + +CANCEL_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_sSI: _cCSR, _smit: None}, + (_aIp, _sIu), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.SUBSCRIPTION_ID, 9)), +) + +CANCEL_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_sSI: _cCSRo, _smith: None}, + (_sAu, _cS, _nS), + ( + (lambda: SUBSCRIPTION_ARN, 0), + (lambda: SUBSCRIPTION_DETAILS, 0), + (lambda: SUBSCRIPTION_DETAILS, 0), + ), +) + +CANCEL_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _CSa, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/applications/{applicationId}/subscriptions/{subscriptionId}", + } + ) + }, + CANCEL_SUBSCRIPTION_INPUT, + CANCEL_SUBSCRIPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SUBSCRIPTION_DETAILS: StaticSchema = ( + 18, + n0, + _SD, + 0, + (_t,), + ((lambda: schemas.SUBSCRIPTION_TYPE, 0),), +) + +SUBSCRIPTION_ARN: StaticSchema = (3, n0, _SAu, 0) + +CHAT_MODE: StaticSchema = ( + 14, + n0, + _CM, + 0, + (_RM, _CM_, _PM), + ((-1, {_sV: _RM}), (-1, {_sV: _CM_}), (-1, {_sV: _PM})), +) + +PLUGIN_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PCl, + 0, + (_pI,), + ((lambda: schemas.PLUGIN_ID, 1),), +) + +CHAT_MODE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _CMCh, + 0, + (_pCl,), + ((PLUGIN_CONFIGURATION, 0),), +) + +END_OF_INPUT_EVENT: StaticSchema = (18, n0, _EOIE, 0) + +USER_MESSAGE: StaticSchema = (3, n0, _UM, 0) + +TEXT_INPUT_EVENT: StaticSchema = (18, n0, _TIE, 0, (_uM,), ((USER_MESSAGE, 1),)) + +USER_GROUPS: StaticSchema = (16, n0, _UG, 0, (_m,), ((lambda: schemas.STRING, 0),)) + +FAILED_ATTACHMENT_EVENT: StaticSchema = ( + 18, + n0, + _FAE, + 0, + (_cI, _uMI, _sMI, _at), + ( + (lambda: schemas.CONVERSATION_ID, 0), + (lambda: schemas.MESSAGE_ID, 0), + (lambda: schemas.MESSAGE_ID, 0), + (lambda: schemas.ATTACHMENT_OUTPUT, 0), + ), +) + +SOURCE_ATTRIBUTION_MEDIA_ID: StaticSchema = (3, n0, _SAMI, 0) + +SNIPPET_EXCERPT_TEXT: StaticSchema = (3, n0, _SET, 0) + +SNIPPET_EXCERPT: StaticSchema = (18, n0, _SEn, 0, (_te,), ((SNIPPET_EXCERPT_TEXT, 0),)) + +IMAGE_SOURCE_DETAILS: StaticSchema = ( + 18, + n0, + _ISD, + 0, + (_mI, _mMT), + ((lambda: schemas.MEDIA_ID, 0), (lambda: schemas.STRING, 0)), +) + +VIDEO_EXTRACTION_TYPE: StaticSchema = ( + 14, + n0, + _VET, + 0, + (_TRANSCRIPT, _SUMMARY), + ((-1, {_sV: _TRANSCRIPT}), (-1, {_sV: _SUMMARY})), +) + +VIDEO_SOURCE_DETAILS: StaticSchema = ( + 18, + n0, + _VSD, + 0, + (_mI, _mMT, _sTM, _eTM, _vET), + ( + (lambda: schemas.MEDIA_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.LONG, 0), + (VIDEO_EXTRACTION_TYPE, 0), + ), +) + +SOURCE_DETAILS: StaticSchema = ( + 19, + n0, + _SDo, + 0, + (_iSD, _aSD, _vSD), + ( + (IMAGE_SOURCE_DETAILS, 0), + (lambda: schemas.AUDIO_SOURCE_DETAILS, 0), + (VIDEO_SOURCE_DETAILS, 0), + ), +) + +TEXT_SEGMENT: StaticSchema = ( + 18, + n0, + _TS, + 0, + (_bOe, _eO, _sEn, _mI, _mMT, _sD), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (SNIPPET_EXCERPT, 0), + (SOURCE_ATTRIBUTION_MEDIA_ID, 0), + (lambda: schemas.STRING, 0), + (SOURCE_DETAILS, 0), + ), +) + +TEXT_SEGMENT_LIST: StaticSchema = (16, n0, _TSL, 0, (_m,), ((TEXT_SEGMENT, 0),)) + +SOURCE_ATTRIBUTION: StaticSchema = ( + 18, + n0, + _SAo, + 0, + (_ti, _sn, _ur, _cNi, _uA, _tMS, _dI, _iI, _dIa), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.TIMESTAMP, 0), + (TEXT_SEGMENT_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +SOURCE_ATTRIBUTIONS: StaticSchema = ( + 16, + n0, + _SAou, + 64, + (_m,), + ((SOURCE_ATTRIBUTION, 0),), +) + +METADATA_EVENT: StaticSchema = ( + 18, + n0, + _MEe, + 0, + (_cI, _uMI, _sMI, _sAo, _fTM), + ( + (lambda: schemas.CONVERSATION_ID, 0), + (lambda: schemas.MESSAGE_ID, 0), + (lambda: schemas.MESSAGE_ID, 0), + (SOURCE_ATTRIBUTIONS, 0), + (lambda: schemas.STRING, 0), + ), +) + +SYSTEM_MESSAGE_TYPE: StaticSchema = ( + 14, + n0, + _SMT, + 0, + (_RESPONSE, _GR_), + ((-1, {_sV: _RESPONSE}), (-1, {_sV: _GR_})), +) + +TEXT_OUTPUT_EVENT: StaticSchema = ( + 18, + n0, + _TOE, + 0, + (_sMT, _cI, _uMI, _sMI, _sM), + ( + (SYSTEM_MESSAGE_TYPE, 0), + (lambda: schemas.CONVERSATION_ID, 0), + (lambda: schemas.MESSAGE_ID, 0), + (lambda: schemas.MESSAGE_ID, 0), + (lambda: schemas.STRING, 0), + ), +) + +CHAT_OUTPUT_STREAM: StaticSchema = ( + 19, + n0, + _COS, + {_smithyap: None}, + (_tE, _mE, _aRE, _fAE, _aCRE), + ( + (TEXT_OUTPUT_EVENT, 0), + (METADATA_EVENT, 0), + (lambda: schemas.ACTION_REVIEW_EVENT, 0), + (FAILED_ATTACHMENT_EVENT, 0), + (lambda: schemas.AUTH_CHALLENGE_REQUEST_EVENT, 0), + ), +) + +CHAT_OUTPUT: StaticSchema = ( + 18, + n0, + _CO, + {_smith: None}, + (_oS,), + ((CHAT_OUTPUT_STREAM, 16),), +) + +CHAT_INPUT: StaticSchema = ( + 18, + n0, + _CIh, + {_smit: None}, + (_aIp, _uI, _uG, _cI, _pMI, _cT, _iSn), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.USER_ID, {_sQ: _uI}), + (USER_GROUPS, {_sQ: _uG}), + (lambda: schemas.CONVERSATION_ID, {_sQ: _cI}), + (lambda: schemas.MESSAGE_ID, {_sQ: _pMI}), + (lambda: schemas.CLIENT_TOKEN, {_sQ: _cT, _sT: None}), + (lambda: schemas.CHAT_INPUT_STREAM, 16), + ), +) + +CHAT: StaticOperationSchema = ( + 23, + n0, + _Ch, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/conversations", "method": "POST"} + ) + }, + CHAT_INPUT, + CHAT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: EXTERNAL_RESOURCE_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.LICENSE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EXTERNAL_RESOURCE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ERE, + {_sm: _c, _sE: 424}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 1),), +) + +CHAT_RESPONSE_CONFIGURATION_ARN: StaticSchema = (3, n0, _CRCA, 0) + +DISPLAY_NAME: StaticSchema = (3, n0, _DN, 0) + +RESPONSE_CONFIGURATION_SUMMARY: StaticSchema = (3, n0, _RCS, 0) + +CHAT_RESPONSE_CONFIGURATION_STATUS: StaticSchema = ( + 14, + n0, + _CRCS, + 0, + (_CREATING, _UPDATING, _FAILED, _ACTIVE), + ( + (-1, {_sV: _CREATING}), + (-1, {_sV: _UPDATING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _ACTIVE}), + ), +) + +CHAT_RESPONSE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CRC, + 0, + (_cRCI, _cRCA, _dN, _rCS, _st, _cA, _uA), + ( + (lambda: schemas.CHAT_RESPONSE_CONFIGURATION_ID, 1), + (CHAT_RESPONSE_CONFIGURATION_ARN, 1), + (DISPLAY_NAME, 1), + (RESPONSE_CONFIGURATION_SUMMARY, 0), + (CHAT_RESPONSE_CONFIGURATION_STATUS, 1), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +RESPONSE_CONFIGURATION_TYPE: StaticSchema = ( + 14, + n0, + _RCT, + 0, + (_ALL,), + ((-1, {_sV: _ALL}),), +) + +INSTRUCTION: StaticSchema = (3, n0, _Ins, 0) + +INSTRUCTION_COLLECTION: StaticSchema = ( + 18, + n0, + _IC, + 0, + (_rL, _tA, _pe, _oSu, _id, _to, _cIu, _ex), + ( + (INSTRUCTION, 0), + (INSTRUCTION, 0), + (INSTRUCTION, 0), + (INSTRUCTION, 0), + (INSTRUCTION, 0), + (INSTRUCTION, 0), + (INSTRUCTION, 0), + (INSTRUCTION, 0), + ), +) + +RESPONSE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RCe, + 0, + (_iCns,), + ((INSTRUCTION_COLLECTION, 0),), +) + +RESPONSE_CONFIGURATIONS: StaticSchema = ( + 17, + n0, + _RCes, + 0, + (_k, _v), + ((RESPONSE_CONFIGURATION_TYPE, 0), (RESPONSE_CONFIGURATION, 0)), +) + +CHAT_RESPONSE_CONFIGURATION_DETAIL: StaticSchema = ( + 18, + n0, + _CRCD, + 0, + (_rC, _rCS, _st, _e, _uA), + ( + (RESPONSE_CONFIGURATIONS, 0), + (lambda: schemas.STRING, 0), + (CHAT_RESPONSE_CONFIGURATION_STATUS, 0), + (lambda: schemas.ERROR_DETAIL, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +CHAT_RESPONSE_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _CRCh, + 0, + (_m,), + ((CHAT_RESPONSE_CONFIGURATION, 0),), +) + +CHAT_SYNC_OUTPUT: StaticSchema = ( + 18, + n0, + _CSOh, + {_smith: None}, + (_cI, _sM, _sMI, _uMI, _aR, _aCR, _sAo, _fA), + ( + (lambda: schemas.CONVERSATION_ID, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MESSAGE_ID, 0), + (lambda: schemas.MESSAGE_ID, 0), + (lambda: schemas.ACTION_REVIEW, 0), + (lambda: schemas.AUTH_CHALLENGE_REQUEST, 0), + (SOURCE_ATTRIBUTIONS, 0), + (lambda: schemas.ATTACHMENTS_OUTPUT, 0), + ), +) + +CHAT_SYNC_INPUT: StaticSchema = ( + 18, + n0, + _CSIh, + {_smit: None}, + (_aIp, _uI, _uG, _uM, _atta, _aE, _aCRu, _cI, _pMI, _aFt, _cM, _cMCh, _cT), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.USER_ID, {_sQ: _uI}), + (USER_GROUPS, {_sQ: _uG}), + (USER_MESSAGE, 0), + (lambda: schemas.ATTACHMENTS_INPUT, 0), + (lambda: schemas.ACTION_EXECUTION, 0), + (lambda: schemas.AUTH_CHALLENGE_RESPONSE, 0), + (lambda: schemas.CONVERSATION_ID, 0), + (lambda: schemas.MESSAGE_ID, 0), + (lambda: schemas.ATTRIBUTE_FILTER, 0), + (CHAT_MODE, 0), + (CHAT_MODE_CONFIGURATION, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CHAT_SYNC: StaticOperationSchema = ( + 23, + n0, + _CSh, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/conversations?sync", + "method": "POST", + } + ) + }, + CHAT_SYNC_INPUT, + CHAT_SYNC_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + EXTERNAL_RESOURCE_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.LICENSE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CHECK_DOCUMENT_ACCESS_INPUT: StaticSchema = ( + 18, + n0, + _CDAI, + {_sSI: _cCDARo, _smit: None}, + (_aIp, _iI, _uI, _dI, _dSI), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.DOCUMENT_ID, 9), + (lambda: schemas.DATA_SOURCE_ID, {_sQ: _dSI}), + ), +) + +CHECK_DOCUMENT_ACCESS_OUTPUT: StaticSchema = ( + 18, + n0, + _CDAOh, + {_sSI: _cCDARom, _smith: None}, + (_uG, _uAs, _hA, _dAo), + ( + (lambda: schemas.ASSOCIATED_GROUPS, 0), + (lambda: schemas.ASSOCIATED_USERS, 0), + (2, 0), + (lambda: DOCUMENT_ACL, 0), + ), +) + +CHECK_DOCUMENT_ACCESS: StaticOperationSchema = ( + 23, + n0, + _CDA, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/applications/{applicationId}/index/{indexId}/users/{userId}/documents/{documentId}/check-document-access", + } + ) + }, + CHECK_DOCUMENT_ACCESS_INPUT, + CHECK_DOCUMENT_ACCESS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DOCUMENT_ACL_GROUP: StaticSchema = ( + 18, + n0, + _DAG, + 0, + (_n, _t), + ((lambda: schemas.GROUP_NAME, 0), (lambda: schemas.MEMBERSHIP_TYPE, 0)), +) + +DOCUMENT_ACL_GROUPS: StaticSchema = ( + 16, + n0, + _DAGo, + 0, + (_m,), + ((DOCUMENT_ACL_GROUP, 0),), +) + +DOCUMENT_ACL_USER: StaticSchema = ( + 18, + n0, + _DAU, + 0, + (_i, _t), + ((lambda: schemas.STRING, 0), (lambda: schemas.MEMBERSHIP_TYPE, 0)), +) + +DOCUMENT_ACL_USERS: StaticSchema = (16, n0, _DAUo, 0, (_m,), ((DOCUMENT_ACL_USER, 0),)) + +DOCUMENT_ACL_CONDITION: StaticSchema = ( + 18, + n0, + _DACocu, + 0, + (_mR, _us, _gr), + ( + (lambda: schemas.MEMBER_RELATION, 0), + (DOCUMENT_ACL_USERS, 0), + (DOCUMENT_ACL_GROUPS, 0), + ), +) + +DOCUMENT_ACL_CONDITIONS: StaticSchema = ( + 16, + n0, + _DACocum, + 0, + (_m,), + ((DOCUMENT_ACL_CONDITION, 0),), +) + +DOCUMENT_ACL_MEMBERSHIP: StaticSchema = ( + 18, + n0, + _DAM, + 0, + (_mR, _cond), + ((lambda: schemas.MEMBER_RELATION, 0), (DOCUMENT_ACL_CONDITIONS, 0)), +) + +DOCUMENT_ACL: StaticSchema = ( + 18, + n0, + _DAoc, + 0, + (_al, _dL), + ((DOCUMENT_ACL_MEMBERSHIP, 0), (DOCUMENT_ACL_MEMBERSHIP, 0)), +) + +CONTENT_BLOCKER_RULE: StaticSchema = ( + 18, + n0, + _CBR, + 0, + (_sMO,), + ((lambda: schemas.SYSTEM_MESSAGE_OVERRIDE, 0),), +) + +ELIGIBLE_DATA_SOURCE: StaticSchema = ( + 18, + n0, + _EDS, + 0, + (_iI, _dSI), + ((lambda: schemas.INDEX_ID, 0), (lambda: schemas.DATA_SOURCE_ID, 0)), +) + +ELIGIBLE_DATA_SOURCES: StaticSchema = ( + 16, + n0, + _EDSl, + 0, + (_m,), + ((ELIGIBLE_DATA_SOURCE, 0),), +) + +CONTENT_RETRIEVAL_RULE: StaticSchema = ( + 18, + n0, + _CRR, + 0, + (_eDS,), + ((ELIGIBLE_DATA_SOURCES, 0),), +) + +RETRIEVER_CONTENT_SOURCE: StaticSchema = ( + 18, + n0, + _RCSe, + 0, + (_rIe,), + ((lambda: schemas.RETRIEVER_ID, 1),), +) + +CONTENT_SOURCE: StaticSchema = ( + 19, + n0, + _CSo, + 0, + (_retr,), + ((RETRIEVER_CONTENT_SOURCE, 0),), +) + +CONVERSATION_TITLE: StaticSchema = (3, n0, _CTon, 0) + +CONVERSATION: StaticSchema = ( + 18, + n0, + _C, + 0, + (_cI, _ti, _sTt), + ( + (lambda: schemas.CONVERSATION_ID, 0), + (CONVERSATION_TITLE, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +CONVERSATIONS: StaticSchema = (16, n0, _Co, 0, (_m,), ((CONVERSATION, 0),)) + +SESSION_DURATION_IN_MINUTES: StaticSchema = (7, n0, _SDIM, 0) + +CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_INPUT: StaticSchema = ( + 18, + n0, + _CAWEUI, + {_sSI: _cCAWEUR, _smit: None}, + (_aIp, _wEI, _sDIM), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.WEB_EXPERIENCE_ID, 9), + (SESSION_DURATION_IN_MINUTES, 0), + ), +) + +CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_OUTPUT: StaticSchema = ( + 18, + n0, + _CAWEUO, + {_sSI: _cCAWEURo, _smith: None}, + (_aUn,), + ((lambda: schemas.URL, 0),), +) + +CREATE_ANONYMOUS_WEB_EXPERIENCE_URL: StaticOperationSchema = ( + 23, + n0, + _CAWEU, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/experiences/{webExperienceId}/anonymous-url", + "method": "POST", + } + ) + }, + CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_INPUT, + CREATE_ANONYMOUS_WEB_EXPERIENCE_URL_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREATE_CHAT_RESPONSE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _CCRCI, + {_sSI: _cCCRCR, _smit: None}, + (_aIp, _dN, _cT, _rC, _ta), + ( + (lambda: schemas.APPLICATION_ID, 9), + (DISPLAY_NAME, 1), + (lambda: schemas.STRING, 2), + (RESPONSE_CONFIGURATIONS, 1), + (lambda: schemas.TAGS, 0), + ), +) + +CREATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CCRCO, + {_sSI: _cCCRCRo, _smith: None}, + (_cRCI, _cRCA), + ( + (lambda: schemas.CHAT_RESPONSE_CONFIGURATION_ID, 1), + (CHAT_RESPONSE_CONFIGURATION_ARN, 1), + ), +) + +CREATE_CHAT_RESPONSE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _CCRC, + { + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/applications/{applicationId}/chatresponseconfigurations", + } + ) + }, + CREATE_CHAT_RESPONSE_CONFIGURATION_INPUT, + CREATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GROUP_IDENTIFIER: StaticSchema = (3, n0, _GIr, 0) + +USER_IDENTIFIER: StaticSchema = (3, n0, _UIs, 0) + +SUBSCRIPTION_PRINCIPAL: StaticSchema = ( + 19, + n0, + _SP, + 0, + (_u, _g), + ((USER_IDENTIFIER, 0), (GROUP_IDENTIFIER, 0)), +) + +CREATE_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _CSIr, + {_sSI: _cCSRom, _smit: None}, + (_aIp, _pr, _t, _cT), + ( + (lambda: schemas.APPLICATION_ID, 9), + (SUBSCRIPTION_PRINCIPAL, 1), + (lambda: schemas.SUBSCRIPTION_TYPE, 1), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSOr, + {_sSI: _cCSRoma, _smith: None}, + (_sIu, _sAu, _cS, _nS), + ( + (lambda: schemas.SUBSCRIPTION_ID, 0), + (SUBSCRIPTION_ARN, 0), + (SUBSCRIPTION_DETAILS, 0), + (SUBSCRIPTION_DETAILS, 0), + ), +) + +CREATE_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _CSr, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/applications/{applicationId}/subscriptions"} + ) + }, + CREATE_SUBSCRIPTION_INPUT, + CREATE_SUBSCRIPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +USER_ALIAS: StaticSchema = ( + 18, + n0, + _UAs, + 0, + (_iI, _dSI, _uI), + ( + (lambda: schemas.INDEX_ID, 0), + (lambda: schemas.DATA_SOURCE_ID, 0), + (lambda: schemas.STRING, 1), + ), +) + +USER_ALIASES: StaticSchema = (16, n0, _UAse, 0, (_m,), ((USER_ALIAS, 0),)) + +CREATE_USER_INPUT: StaticSchema = ( + 18, + n0, + _CUI, + {_sSI: _cCUR, _smit: None}, + (_aIp, _uI, _uAs, _cT), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.STRING, 1), + (USER_ALIASES, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +CREATE_USER_OUTPUT: StaticSchema = (18, n0, _CUO, {_sSI: _cCURo, _smith: None}) + +CREATE_USER: StaticOperationSchema = ( + 23, + n0, + _CU, + { + _smithy: MappingProxyType( + {"method": "POST", "uri": "/applications/{applicationId}/users"} + ) + }, + CREATE_USER_INPUT, + CREATE_USER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +CREATOR_MODE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CMCr, + 0, + (_cMC,), + ((lambda: schemas.CREATOR_MODE_CONTROL, 1),), +) + +DATA_SOURCE_IDS: StaticSchema = ( + 16, + n0, + _DSIa, + 0, + (_m,), + ((lambda: schemas.DATA_SOURCE_ID, 0),), +) + +METRIC_VALUE: StaticSchema = (3, n0, _MV, 0) + +DATA_SOURCE_SYNC_JOB_METRICS: StaticSchema = ( + 18, + n0, + _DSSJM, + 0, + (_dAoc, _dM, _dDo, _dF, _dSo), + ( + (METRIC_VALUE, 0), + (METRIC_VALUE, 0), + (METRIC_VALUE, 0), + (METRIC_VALUE, 0), + (METRIC_VALUE, 0), + ), +) + +DATA_SOURCE_SYNC_JOB_STATUS: StaticSchema = ( + 14, + n0, + _DSSJS, + 0, + (_FAILED, _SUCCEEDED, _SYNCING, _INCOMPLETE, _STOPPING, _ABORTED, _SI_), + ( + (-1, {_sV: _FAILED}), + (-1, {_sV: _SUCCEEDED}), + (-1, {_sV: _SYNCING}), + (-1, {_sV: _INCOMPLETE}), + (-1, {_sV: _STOPPING}), + (-1, {_sV: _ABORTED}), + (-1, {_sV: _SI_}), + ), +) + +DATA_SOURCE_SYNC_JOB: StaticSchema = ( + 18, + n0, + _DSSJ, + 0, + (_eIx, _sTt, _eT, _st, _e, _dSEC, _met), + ( + (lambda: schemas.EXECUTION_ID, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + (DATA_SOURCE_SYNC_JOB_STATUS, 0), + (lambda: schemas.ERROR_DETAIL, 0), + (lambda: schemas.STRING, 0), + (DATA_SOURCE_SYNC_JOB_METRICS, 0), + ), +) + +DATA_SOURCE_SYNC_JOBS: StaticSchema = ( + 16, + n0, + _DSSJa, + 0, + (_m,), + ((DATA_SOURCE_SYNC_JOB, 0),), +) + +DATA_SOURCE_USER_ID: StaticSchema = (3, n0, _DSUI, 0) + +DELETE_ATTACHMENT_INPUT: StaticSchema = ( + 18, + n0, + _DAIel, + {_sSI: _cDARom, _smit: None}, + (_aIp, _cI, _aIt, _uI), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.CONVERSATION_ID, 9), + (lambda: schemas.ATTACHMENT_ID, 9), + (lambda: schemas.USER_ID, {_sQ: _uI}), + ), +) + +DELETE_ATTACHMENT_OUTPUT: StaticSchema = (18, n0, _DAOe, {_sSI: _cDARoma, _smith: None}) + +DELETE_ATTACHMENT: StaticOperationSchema = ( + 23, + n0, + _DAel, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/conversations/{conversationId}/attachments/{attachmentId}", + "method": "DELETE", + } + ) + }, + DELETE_ATTACHMENT_INPUT, + DELETE_ATTACHMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.LICENSE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_5.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_5.py new file mode 100644 index 000000000..7f3e7b604 --- /dev/null +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_5.py @@ -0,0 +1,1359 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.qbusiness" +_sV = "smithy.api#enumValue" +_n = "name" +_s = "smithy.api#required" +_m = "member" +_sm = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_me = "message" +_dN = "displayName" +_cI = "conversationId" +_d = "description" +_DELETING = "DELETING" +_FAILED = "FAILED" +_aIp = "applicationId" +_cA = "createdAt" +_uA = "updatedAt" +_st = "status" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_smith = "smithy.api#output" +_smithy = "smithy.api#http" +_sL = "smithy.api#httpLabel" +_nT = "nextToken" +_sQ = "smithy.api#httpQuery" +_mRa = "maxResults" +_e = "error" +_iI = "indexId" +_dSI = "dataSourceId" +_sIt = "statementId" +_mI = "mediaId" +_mMT = "mediaMimeType" +_dI = "documentId" +_bP = "blockedPhrases" +_cRCI = "chatResponseConfigurationId" +_cRCA = "chatResponseConfigurationArn" +_uI = "userId" +_uG = "userGroups" +_uAs = "userAliases" +_sTt = "startTime" +_SUCCEEDED = "SUCCEEDED" +_eT = "endTime" +_DCCCI = "DeleteChatControlsConfigurationInput" +_cDCCCR = "com.amazonaws.qbusiness#DeleteChatControlsConfigurationRequest" +_DCCCO = "DeleteChatControlsConfigurationOutput" +_cDCCCRo = "com.amazonaws.qbusiness#DeleteChatControlsConfigurationResponse" +_DCCC = "DeleteChatControlsConfiguration" +_DCRCI = "DeleteChatResponseConfigurationInput" +_cDCRCR = "com.amazonaws.qbusiness#DeleteChatResponseConfigurationRequest" +_DCRCO = "DeleteChatResponseConfigurationOutput" +_cDCRCRo = "com.amazonaws.qbusiness#DeleteChatResponseConfigurationResponse" +_DCRC = "DeleteChatResponseConfiguration" +_DCI = "DeleteConversationInput" +_cDCR = "com.amazonaws.qbusiness#DeleteConversationRequest" +_DCOe = "DeleteConversationOutput" +_cDCRo = "com.amazonaws.qbusiness#DeleteConversationResponse" +_DCe = "DeleteConversation" +_DGI = "DeleteGroupInput" +_cDGR = "com.amazonaws.qbusiness#DeleteGroupRequest" +_gN = "groupName" +_DGO = "DeleteGroupOutput" +_cDGRo = "com.amazonaws.qbusiness#DeleteGroupResponse" +_DG = "DeleteGroup" +_DUI = "DeleteUserInput" +_cDUR = "com.amazonaws.qbusiness#DeleteUserRequest" +_DUO = "DeleteUserOutput" +_cDURo = "com.amazonaws.qbusiness#DeleteUserResponse" +_DU = "DeleteUser" +_DPIi = "DisassociatePermissionInput" +_cDPRom = "com.amazonaws.qbusiness#DisassociatePermissionRequest" +_DPOi = "DisassociatePermissionOutput" +_cDPRoma = "com.amazonaws.qbusiness#DisassociatePermissionResponse" +_DPi = "DisassociatePermission" +_DSo = "DocumentStatus" +_RECEIVED = "RECEIVED" +_PROCESSING = "PROCESSING" +_INDEXED = "INDEXED" +_UPDATED = "UPDATED" +_DELETED = "DELETED" +_DFTI = "DOCUMENT_FAILED_TO_INDEX" +_DDo = "DocumentDetails" +_DDL = "DocumentDetailList" +_ECM = "ExampleChatMessage" +_ECMx = "ExampleChatMessages" +_MRIFGTC = "MaxResultsIntegerForGetTopicConfigurations" +_GCCCI = "GetChatControlsConfigurationInput" +_cGCCCR = "com.amazonaws.qbusiness#GetChatControlsConfigurationRequest" +_HRC = "HallucinationReductionControl" +_HRCa = "HallucinationReductionConfiguration" +_hRC = "hallucinationReductionControl" +_RSe = "ResponseScope" +_ECO = "ENTERPRISE_CONTENT_ONLY" +_EKE = "EXTENDED_KNOWLEDGE_ENABLED" +_TD = "TopicDescription" +_TCN = "TopicConfigurationName" +_UIse = "UserIds" +_UAG = "UsersAndGroups" +_uIs = "userIds" +_RCu = "RuleConfiguration" +_cBR = "contentBlockerRule" +_cRR = "contentRetrievalRule" +_RTu = "RuleType" +_CBR_ = "CONTENT_BLOCKER_RULE" +_CRR_ = "CONTENT_RETRIEVAL_RULE" +_Ru = "Rule" +_iUAG = "includedUsersAndGroups" +_eUAG = "excludedUsersAndGroups" +_rTu = "ruleType" +_rCu = "ruleConfiguration" +_Rul = "Rules" +_TC = "TopicConfiguration" +_eCM = "exampleChatMessages" +_ru = "rules" +_TCo = "TopicConfigurations" +_GCCCO = "GetChatControlsConfigurationOutput" +_cGCCCRo = "com.amazonaws.qbusiness#GetChatControlsConfigurationResponse" +_rS = "responseScope" +_oC = "orchestrationConfiguration" +_tC = "topicConfigurations" +_cMCr = "creatorModeConfiguration" +_hRCa = "hallucinationReductionConfiguration" +_GCCC = "GetChatControlsConfiguration" +_GCRCI = "GetChatResponseConfigurationInput" +_cGCRCR = "com.amazonaws.qbusiness#GetChatResponseConfigurationRequest" +_GCRCO = "GetChatResponseConfigurationOutput" +_cGCRCRo = "com.amazonaws.qbusiness#GetChatResponseConfigurationResponse" +_iUC = "inUseConfiguration" +_lUC = "lastUpdateConfiguration" +_GCRC = "GetChatResponseConfiguration" +_OF = "OutputFormat" +_RAW = "RAW" +_EXTRACTED = "EXTRACTED" +_GDCI = "GetDocumentContentInput" +_cGDCR = "com.amazonaws.qbusiness#GetDocumentContentRequest" +_oF = "outputFormat" +_GDCO = "GetDocumentContentOutput" +_cGDCRo = "com.amazonaws.qbusiness#GetDocumentContentResponse" +_pU = "presignedUrl" +_mTi = "mimeType" +_GDC = "GetDocumentContent" +_GGI = "GetGroupInput" +_cGGR = "com.amazonaws.qbusiness#GetGroupRequest" +_GS = "GroupStatus" +_GSD = "GroupStatusDetail" +_lUA = "lastUpdatedAt" +_eD = "errorDetail" +_GSDr = "GroupStatusDetails" +_GGO = "GetGroupOutput" +_cGGRo = "com.amazonaws.qbusiness#GetGroupResponse" +_sH = "statusHistory" +_GG = "GetGroup" +_GMI = "GetMediaInput" +_cGMR = "com.amazonaws.qbusiness#GetMediaRequest" +_mIe = "messageId" +_GMO = "GetMediaOutput" +_cGMRo = "com.amazonaws.qbusiness#GetMediaResponse" +_mB = "mediaBytes" +_MTLE = "MediaTooLargeException" +_GM = "GetMedia" +_GPIe = "GetPolicyInput" +_cGPRom = "com.amazonaws.qbusiness#GetPolicyRequest" +_GPOe = "GetPolicyOutput" +_cGPRoma = "com.amazonaws.qbusiness#GetPolicyResponse" +_po = "policy" +_GPe = "GetPolicy" +_GUI = "GetUserInput" +_cGUR = "com.amazonaws.qbusiness#GetUserRequest" +_GUO = "GetUserOutput" +_cGURo = "com.amazonaws.qbusiness#GetUserResponse" +_GU = "GetUser" +_MRIFLAa = "MaxResultsIntegerForListAttachments" +_LAIi = "ListAttachmentsInput" +_cLARom = "com.amazonaws.qbusiness#ListAttachmentsRequest" +_LAOi = "ListAttachmentsOutput" +_cLARoma = "com.amazonaws.qbusiness#ListAttachmentsResponse" +_atta = "attachments" +_LAis = "ListAttachments" +_LCRCI = "ListChatResponseConfigurationsInput" +_cLCRCR = "com.amazonaws.qbusiness#ListChatResponseConfigurationsRequest" +_LCRCO = "ListChatResponseConfigurationsOutput" +_cLCRCRo = "com.amazonaws.qbusiness#ListChatResponseConfigurationsResponse" +_cRC = "chatResponseConfigurations" +_LCRC = "ListChatResponseConfigurations" +_MRIFLC = "MaxResultsIntegerForListConversations" +_LCI = "ListConversationsInput" +_cLCR = "com.amazonaws.qbusiness#ListConversationsRequest" +_LCO = "ListConversationsOutput" +_cLCRo = "com.amazonaws.qbusiness#ListConversationsResponse" +_conve = "conversations" +_LC = "ListConversations" +_MRIFLDSSJ = "MaxResultsIntegerForListDataSourcesSyncJobs" +_LDSSJI = "ListDataSourceSyncJobsInput" +_cLDSSJR = "com.amazonaws.qbusiness#ListDataSourceSyncJobsRequest" +_sF = "statusFilter" +_sSy = "syncStatus" +_LDSSJO = "ListDataSourceSyncJobsOutput" +_cLDSSJRo = "com.amazonaws.qbusiness#ListDataSourceSyncJobsResponse" +_h = "history" +_LDSSJ = "ListDataSourceSyncJobs" +_MRIFLD = "MaxResultsIntegerForListDocuments" +_LDI = "ListDocumentsInput" +_cLDR = "com.amazonaws.qbusiness#ListDocumentsRequest" +_dSIa = "dataSourceIds" +_LDO = "ListDocumentsOutput" +_cLDRo = "com.amazonaws.qbusiness#ListDocumentsResponse" +_dDL = "documentDetailList" +_LD = "ListDocuments" +_MRIFLGR = "MaxResultsIntegerForListGroupsRequest" +_LGI = "ListGroupsInput" +_cLGR = "com.amazonaws.qbusiness#ListGroupsRequest" +_uET = "updatedEarlierThan" +_GSr = "GroupSummary" +_GSL = "GroupSummaryList" +_LGO = "ListGroupsOutput" +_cLGRo = "com.amazonaws.qbusiness#ListGroupsResponse" +_it = "items" +_LG = "ListGroups" +_MRIFLM = "MaxResultsIntegerForListMessages" +_LMI = "ListMessagesInput" +_cLMR = "com.amazonaws.qbusiness#ListMessagesRequest" +_LMO = "ListMessagesOutput" +_cLMRo = "com.amazonaws.qbusiness#ListMessagesResponse" +_mes = "messages" +_LM = "ListMessages" + +DELETE_CHAT_CONTROLS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DCCCI, + {_sSI: _cDCCCR, _smit: None}, + (_aIp,), + ((lambda: schemas.APPLICATION_ID, 9),), +) + +DELETE_CHAT_CONTROLS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DCCCO, + {_sSI: _cDCCCRo, _smith: None}, +) + +DELETE_CHAT_CONTROLS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DCCC, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/chatcontrols", + "method": "DELETE", + "code": 200, + } + ) + }, + DELETE_CHAT_CONTROLS_CONFIGURATION_INPUT, + DELETE_CHAT_CONTROLS_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_CHAT_RESPONSE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DCRCI, + {_sSI: _cDCRCR, _smit: None}, + (_aIp, _cRCI), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.CHAT_RESPONSE_CONFIGURATION_ID, 9), + ), +) + +DELETE_CHAT_RESPONSE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DCRCO, + {_sSI: _cDCRCRo, _smith: None}, +) + +DELETE_CHAT_RESPONSE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DCRC, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", + } + ) + }, + DELETE_CHAT_RESPONSE_CONFIGURATION_INPUT, + DELETE_CHAT_RESPONSE_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_CONVERSATION_INPUT: StaticSchema = ( + 18, + n0, + _DCI, + {_sSI: _cDCR, _smit: None}, + (_cI, _aIp, _uI), + ( + (lambda: schemas.CONVERSATION_ID, 9), + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.USER_ID, {_sQ: _uI}), + ), +) + +DELETE_CONVERSATION_OUTPUT: StaticSchema = (18, n0, _DCOe, {_sSI: _cDCRo, _smith: None}) + +DELETE_CONVERSATION: StaticOperationSchema = ( + 23, + n0, + _DCe, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/conversations/{conversationId}", + "method": "DELETE", + } + ) + }, + DELETE_CONVERSATION_INPUT, + DELETE_CONVERSATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.LICENSE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DGI, + {_sSI: _cDGR, _smit: None}, + (_aIp, _iI, _gN, _dSI), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (lambda: schemas.GROUP_NAME, 9), + (lambda: schemas.DATA_SOURCE_ID, {_sQ: _dSI}), + ), +) + +DELETE_GROUP_OUTPUT: StaticSchema = (18, n0, _DGO, {_sSI: _cDGRo, _smith: None}) + +DELETE_GROUP: StaticOperationSchema = ( + 23, + n0, + _DG, + { + _smithy: MappingProxyType( + { + "method": "DELETE", + "uri": "/applications/{applicationId}/indices/{indexId}/groups/{groupName}", + } + ) + }, + DELETE_GROUP_INPUT, + DELETE_GROUP_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DELETE_USER_INPUT: StaticSchema = ( + 18, + n0, + _DUI, + {_sSI: _cDUR, _smit: None}, + (_aIp, _uI), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.STRING, 9)), +) + +DELETE_USER_OUTPUT: StaticSchema = (18, n0, _DUO, {_sSI: _cDURo, _smith: None}) + +DELETE_USER: StaticOperationSchema = ( + 23, + n0, + _DU, + { + _smithy: MappingProxyType( + {"method": "DELETE", "uri": "/applications/{applicationId}/users/{userId}"} + ) + }, + DELETE_USER_INPUT, + DELETE_USER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DISASSOCIATE_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _DPIi, + {_sSI: _cDPRom, _smit: None}, + (_aIp, _sIt), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.STRING, 9)), +) + +DISASSOCIATE_PERMISSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DPOi, + {_sSI: _cDPRoma, _smith: None}, +) + +DISASSOCIATE_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _DPi, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/policy/{statementId}", + "method": "DELETE", + } + ) + }, + DISASSOCIATE_PERMISSION_INPUT, + DISASSOCIATE_PERMISSION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +DOCUMENT_STATUS: StaticSchema = ( + 14, + n0, + _DSo, + 0, + (_RECEIVED, _PROCESSING, _INDEXED, _UPDATED, _FAILED, _DELETING, _DELETED, _DFTI), + ( + (-1, {_sV: _RECEIVED}), + (-1, {_sV: _PROCESSING}), + (-1, {_sV: _INDEXED}), + (-1, {_sV: _UPDATED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _DELETED}), + (-1, {_sV: _DFTI}), + ), +) + +DOCUMENT_DETAILS: StaticSchema = ( + 18, + n0, + _DDo, + 0, + (_dI, _st, _e, _cA, _uA), + ( + (lambda: schemas.DOCUMENT_ID, 0), + (DOCUMENT_STATUS, 0), + (lambda: schemas.ERROR_DETAIL, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.TIMESTAMP, 0), + ), +) + +DOCUMENT_DETAIL_LIST: StaticSchema = (16, n0, _DDL, 0, (_m,), ((DOCUMENT_DETAILS, 0),)) + +EXAMPLE_CHAT_MESSAGE: StaticSchema = (3, n0, _ECM, 0) + +EXAMPLE_CHAT_MESSAGES: StaticSchema = ( + 16, + n0, + _ECMx, + 0, + (_m,), + ((EXAMPLE_CHAT_MESSAGE, 0),), +) + +MAX_RESULTS_INTEGER_FOR_GET_TOPIC_CONFIGURATIONS: StaticSchema = (7, n0, _MRIFGTC, 0) + +GET_CHAT_CONTROLS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GCCCI, + {_sSI: _cGCCCR, _smit: None}, + (_aIp, _mRa, _nT), + ( + (lambda: schemas.APPLICATION_ID, 9), + (MAX_RESULTS_INTEGER_FOR_GET_TOPIC_CONFIGURATIONS, {_sQ: _mRa}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +GET_CHAT_CONTROLS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GCCCO, + {_sSI: _cGCCCRo, _smith: None}, + (_rS, _oC, _bP, _tC, _cMCr, _nT, _hRCa), + ( + (lambda: RESPONSE_SCOPE, 0), + (lambda: schemas.APPLIED_ORCHESTRATION_CONFIGURATION, 0), + (lambda: schemas.BLOCKED_PHRASES_CONFIGURATION, 0), + (lambda: TOPIC_CONFIGURATIONS, 0), + (lambda: schemas.APPLIED_CREATOR_MODE_CONFIGURATION, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (lambda: HALLUCINATION_REDUCTION_CONFIGURATION, 0), + ), +) + +GET_CHAT_CONTROLS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GCCC, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/chatcontrols", + "method": "GET", + "code": 200, + } + ) + }, + GET_CHAT_CONTROLS_CONFIGURATION_INPUT, + GET_CHAT_CONTROLS_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +HALLUCINATION_REDUCTION_CONTROL: StaticSchema = ( + 14, + n0, + _HRC, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +HALLUCINATION_REDUCTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _HRCa, + 0, + (_hRC,), + ((HALLUCINATION_REDUCTION_CONTROL, 0),), +) + +RESPONSE_SCOPE: StaticSchema = ( + 14, + n0, + _RSe, + 0, + (_ECO, _EKE), + ((-1, {_sV: _ECO}), (-1, {_sV: _EKE})), +) + +TOPIC_DESCRIPTION: StaticSchema = (3, n0, _TD, 0) + +TOPIC_CONFIGURATION_NAME: StaticSchema = (3, n0, _TCN, 0) + +USER_IDS: StaticSchema = (16, n0, _UIse, 0, (_m,), ((lambda: schemas.STRING, 0),)) + +USERS_AND_GROUPS: StaticSchema = ( + 18, + n0, + _UAG, + 0, + (_uIs, _uG), + ((USER_IDS, 0), (lambda: schemas.USER_GROUPS, 0)), +) + +RULE_CONFIGURATION: StaticSchema = ( + 19, + n0, + _RCu, + 0, + (_cBR, _cRR), + ( + (lambda: schemas.CONTENT_BLOCKER_RULE, 0), + (lambda: schemas.CONTENT_RETRIEVAL_RULE, 0), + ), +) + +RULE_TYPE: StaticSchema = ( + 14, + n0, + _RTu, + 0, + (_CBR_, _CRR_), + ((-1, {_sV: _CBR_}), (-1, {_sV: _CRR_})), +) + +RULE: StaticSchema = ( + 18, + n0, + _Ru, + 0, + (_iUAG, _eUAG, _rTu, _rCu), + ( + (USERS_AND_GROUPS, 0), + (USERS_AND_GROUPS, 0), + (RULE_TYPE, 1), + (RULE_CONFIGURATION, 0), + ), +) + +RULES: StaticSchema = (16, n0, _Rul, 0, (_m,), ((RULE, 0),)) + +TOPIC_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TC, + 0, + (_n, _d, _eCM, _ru), + ( + (TOPIC_CONFIGURATION_NAME, 1), + (TOPIC_DESCRIPTION, 0), + (EXAMPLE_CHAT_MESSAGES, 0), + (RULES, 1), + ), +) + +TOPIC_CONFIGURATIONS: StaticSchema = ( + 16, + n0, + _TCo, + 0, + (_m,), + ((TOPIC_CONFIGURATION, 0),), +) + +GET_CHAT_RESPONSE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GCRCI, + {_sSI: _cGCRCR, _smit: None}, + (_aIp, _cRCI), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.CHAT_RESPONSE_CONFIGURATION_ID, 9), + ), +) + +GET_CHAT_RESPONSE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GCRCO, + {_sSI: _cGCRCRo, _smith: None}, + (_cRCI, _cRCA, _dN, _cA, _iUC, _lUC), + ( + (lambda: schemas.CHAT_RESPONSE_CONFIGURATION_ID, 0), + (lambda: schemas.CHAT_RESPONSE_CONFIGURATION_ARN, 0), + (lambda: schemas.DISPLAY_NAME, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.CHAT_RESPONSE_CONFIGURATION_DETAIL, 0), + (lambda: schemas.CHAT_RESPONSE_CONFIGURATION_DETAIL, 0), + ), +) + +GET_CHAT_RESPONSE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GCRC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", + } + ) + }, + GET_CHAT_RESPONSE_CONFIGURATION_INPUT, + GET_CHAT_RESPONSE_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +OUTPUT_FORMAT: StaticSchema = ( + 14, + n0, + _OF, + 0, + (_RAW, _EXTRACTED), + ((-1, {_sV: _RAW}), (-1, {_sV: _EXTRACTED})), +) + +GET_DOCUMENT_CONTENT_INPUT: StaticSchema = ( + 18, + n0, + _GDCI, + {_sSI: _cGDCR, _smit: None}, + (_aIp, _iI, _dSI, _dI, _oF), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (lambda: schemas.DATA_SOURCE_ID, {_sQ: _dSI}), + (lambda: schemas.DOCUMENT_ID, 9), + (OUTPUT_FORMAT, {_sQ: _oF}), + ), +) + +GET_DOCUMENT_CONTENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GDCO, + {_sSI: _cGDCRo, _smith: None}, + (_pU, _mTi), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +GET_DOCUMENT_CONTENT: StaticOperationSchema = ( + 23, + n0, + _GDC, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/index/{indexId}/documents/{documentId}/content", + "method": "GET", + } + ) + }, + GET_DOCUMENT_CONTENT_INPUT, + GET_DOCUMENT_CONTENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _GGI, + {_sSI: _cGGR, _smit: None}, + (_aIp, _iI, _gN, _dSI), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (lambda: schemas.GROUP_NAME, 9), + (lambda: schemas.DATA_SOURCE_ID, {_sQ: _dSI}), + ), +) + +GET_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _GGO, + {_sSI: _cGGRo, _smith: None}, + (_st, _sH), + ((lambda: GROUP_STATUS_DETAIL, 0), (lambda: GROUP_STATUS_DETAILS, 0)), +) + +GET_GROUP: StaticOperationSchema = ( + 23, + n0, + _GG, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/applications/{applicationId}/indices/{indexId}/groups/{groupName}", + } + ) + }, + GET_GROUP_INPUT, + GET_GROUP_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GROUP_STATUS: StaticSchema = ( + 14, + n0, + _GS, + 0, + (_FAILED, _SUCCEEDED, _PROCESSING, _DELETING, _DELETED), + ( + (-1, {_sV: _FAILED}), + (-1, {_sV: _SUCCEEDED}), + (-1, {_sV: _PROCESSING}), + (-1, {_sV: _DELETING}), + (-1, {_sV: _DELETED}), + ), +) + +GROUP_STATUS_DETAIL: StaticSchema = ( + 18, + n0, + _GSD, + 0, + (_st, _lUA, _eD), + ( + (GROUP_STATUS, 0), + (lambda: schemas.TIMESTAMP, 0), + (lambda: schemas.ERROR_DETAIL, 0), + ), +) + +GROUP_STATUS_DETAILS: StaticSchema = ( + 16, + n0, + _GSDr, + 0, + (_m,), + ((GROUP_STATUS_DETAIL, 0),), +) + +GET_MEDIA_INPUT: StaticSchema = ( + 18, + n0, + _GMI, + {_sSI: _cGMR, _smit: None}, + (_aIp, _cI, _mIe, _mI), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.CONVERSATION_ID, 9), + (lambda: schemas.MESSAGE_ID, 9), + (lambda: schemas.MEDIA_ID, 9), + ), +) + +GET_MEDIA_OUTPUT: StaticSchema = ( + 18, + n0, + _GMO, + {_sSI: _cGMRo, _smith: None}, + (_mB, _mMT), + ((lambda: schemas.BLOB, 0), (lambda: schemas.STRING, 0)), +) + +GET_MEDIA: StaticOperationSchema = ( + 23, + n0, + _GM, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/media/{mediaId}", + } + ) + }, + GET_MEDIA_INPUT, + GET_MEDIA_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.LICENSE_NOT_FOUND_EXCEPTION, + lambda: MEDIA_TOO_LARGE_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEDIA_TOO_LARGE_EXCEPTION: StaticSchema = ( + 18, + n0, + _MTLE, + {_sm: _c, _sE: 400}, + (_me,), + ((lambda: schemas.ERROR_MESSAGE, 1),), +) + +GET_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GPIe, + {_sSI: _cGPRom, _smit: None}, + (_aIp,), + ((lambda: schemas.APPLICATION_ID, 9),), +) + +GET_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GPOe, + {_sSI: _cGPRoma, _smith: None}, + (_po,), + ((lambda: schemas.STRING, 0),), +) + +GET_POLICY: StaticOperationSchema = ( + 23, + n0, + _GPe, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/policy", "method": "GET"} + ) + }, + GET_POLICY_INPUT, + GET_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_USER_INPUT: StaticSchema = ( + 18, + n0, + _GUI, + {_sSI: _cGUR, _smit: None}, + (_aIp, _uI), + ((lambda: schemas.APPLICATION_ID, 9), (lambda: schemas.STRING, 9)), +) + +GET_USER_OUTPUT: StaticSchema = ( + 18, + n0, + _GUO, + {_sSI: _cGURo, _smith: None}, + (_uAs,), + ((lambda: schemas.USER_ALIASES, 0),), +) + +GET_USER: StaticOperationSchema = ( + 23, + n0, + _GU, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/applications/{applicationId}/users/{userId}"} + ) + }, + GET_USER_INPUT, + GET_USER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_ATTACHMENTS: StaticSchema = (7, n0, _MRIFLAa, 0) + +LIST_ATTACHMENTS_INPUT: StaticSchema = ( + 18, + n0, + _LAIi, + {_sSI: _cLARom, _smit: None}, + (_aIp, _cI, _uI, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.CONVERSATION_ID, {_sQ: _cI}), + (lambda: schemas.USER_ID, {_sQ: _uI}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_ATTACHMENTS, {_sQ: _mRa}), + ), +) + +LIST_ATTACHMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LAOi, + {_sSI: _cLARoma, _smith: None}, + (_atta, _nT), + ((lambda: schemas.ATTACHMENT_LIST, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_ATTACHMENTS: StaticOperationSchema = ( + 23, + n0, + _LAis, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/attachments", "method": "GET"} + ) + }, + LIST_ATTACHMENTS_INPUT, + LIST_ATTACHMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.LICENSE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +LIST_CHAT_RESPONSE_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LCRCI, + {_sSI: _cLCRCR, _smit: None}, + (_aIp, _mRa, _nT), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INTEGER, {_sQ: _mRa}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + ), +) + +LIST_CHAT_RESPONSE_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCRCO, + {_sSI: _cLCRCRo, _smith: None}, + (_cRC, _nT), + ( + (lambda: schemas.CHAT_RESPONSE_CONFIGURATIONS, 0), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +LIST_CHAT_RESPONSE_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _LCRC, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/applications/{applicationId}/chatresponseconfigurations", + } + ) + }, + LIST_CHAT_RESPONSE_CONFIGURATIONS_INPUT, + LIST_CHAT_RESPONSE_CONFIGURATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_CONVERSATIONS: StaticSchema = (7, n0, _MRIFLC, 0) + +LIST_CONVERSATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LCI, + {_sSI: _cLCR, _smit: None}, + (_aIp, _uI, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.USER_ID, {_sQ: _uI}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_CONVERSATIONS, {_sQ: _mRa}), + ), +) + +LIST_CONVERSATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LCO, + {_sSI: _cLCRo, _smith: None}, + (_nT, _conve), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: schemas.CONVERSATIONS, 0)), +) + +LIST_CONVERSATIONS: StaticOperationSchema = ( + 23, + n0, + _LC, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/conversations", "method": "GET"} + ) + }, + LIST_CONVERSATIONS_INPUT, + LIST_CONVERSATIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.LICENSE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES_SYNC_JOBS: StaticSchema = ( + 7, + n0, + _MRIFLDSSJ, + 0, +) + +LIST_DATA_SOURCE_SYNC_JOBS_INPUT: StaticSchema = ( + 18, + n0, + _LDSSJI, + {_sSI: _cLDSSJR, _smit: None}, + (_dSI, _aIp, _iI, _nT, _mRa, _sTt, _eT, _sF), + ( + (lambda: schemas.DATA_SOURCE_ID, 9), + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_DATA_SOURCES_SYNC_JOBS, {_sQ: _mRa}), + (lambda: schemas.TIMESTAMP, {_sQ: _sTt}), + (lambda: schemas.TIMESTAMP, {_sQ: _eT}), + (lambda: schemas.DATA_SOURCE_SYNC_JOB_STATUS, {_sQ: _sSy}), + ), +) + +LIST_DATA_SOURCE_SYNC_JOBS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDSSJO, + {_sSI: _cLDSSJRo, _smith: None}, + (_h, _nT), + ((lambda: schemas.DATA_SOURCE_SYNC_JOBS, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_DATA_SOURCE_SYNC_JOBS: StaticOperationSchema = ( + 23, + n0, + _LDSSJ, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/syncjobs", + "method": "GET", + } + ) + }, + LIST_DATA_SOURCE_SYNC_JOBS_INPUT, + LIST_DATA_SOURCE_SYNC_JOBS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_DOCUMENTS: StaticSchema = (7, n0, _MRIFLD, 0) + +LIST_DOCUMENTS_INPUT: StaticSchema = ( + 18, + n0, + _LDI, + {_sSI: _cLDR, _smit: None}, + (_aIp, _iI, _dSIa, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (lambda: schemas.DATA_SOURCE_IDS, {_sQ: _dSIa}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_DOCUMENTS, {_sQ: _mRa}), + ), +) + +LIST_DOCUMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDO, + {_sSI: _cLDRo, _smith: None}, + (_dDL, _nT), + ((DOCUMENT_DETAIL_LIST, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_DOCUMENTS: StaticOperationSchema = ( + 23, + n0, + _LD, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/index/{indexId}/documents", + "method": "GET", + } + ) + }, + LIST_DOCUMENTS_INPUT, + LIST_DOCUMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_GROUPS_REQUEST: StaticSchema = (7, n0, _MRIFLGR, 0) + +LIST_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _LGI, + {_sSI: _cLGR, _smit: None}, + (_aIp, _iI, _uET, _dSI, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (lambda: schemas.TIMESTAMP, {_sQ: _uET, _s: None}), + (lambda: schemas.DATA_SOURCE_ID, {_sQ: _dSI}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_GROUPS_REQUEST, {_sQ: _mRa}), + ), +) + +LIST_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _LGO, + {_sSI: _cLGRo, _smith: None}, + (_nT, _it), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: GROUP_SUMMARY_LIST, 0)), +) + +LIST_GROUPS: StaticOperationSchema = ( + 23, + n0, + _LG, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/applications/{applicationId}/indices/{indexId}/groups", + } + ) + }, + LIST_GROUPS_INPUT, + LIST_GROUPS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GROUP_SUMMARY: StaticSchema = ( + 18, + n0, + _GSr, + 0, + (_gN,), + ((lambda: schemas.GROUP_NAME, 0),), +) + +GROUP_SUMMARY_LIST: StaticSchema = (16, n0, _GSL, 0, (_m,), ((GROUP_SUMMARY, 0),)) + +MAX_RESULTS_INTEGER_FOR_LIST_MESSAGES: StaticSchema = (7, n0, _MRIFLM, 0) + +LIST_MESSAGES_INPUT: StaticSchema = ( + 18, + n0, + _LMI, + {_sSI: _cLMR, _smit: None}, + (_cI, _aIp, _uI, _nT, _mRa), + ( + (lambda: schemas.CONVERSATION_ID, 9), + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.USER_ID, {_sQ: _uI}), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_MESSAGES, {_sQ: _mRa}), + ), +) + +LIST_MESSAGES_OUTPUT: StaticSchema = ( + 18, + n0, + _LMO, + {_sSI: _cLMRo, _smith: None}, + (_mes, _nT), + ((lambda: schemas.MESSAGES, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +LIST_MESSAGES: StaticOperationSchema = ( + 23, + n0, + _LM, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/conversations/{conversationId}", + "method": "GET", + } + ) + }, + LIST_MESSAGES_INPUT, + LIST_MESSAGES_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.LICENSE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_6.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_6.py new file mode 100644 index 000000000..67285b33f --- /dev/null +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/_private/schemas_6.py @@ -0,0 +1,1238 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.qbusiness" +_sV = "smithy.api#enumValue" +_s = "smithy.api#required" +_m = "member" +_pI = "pluginId" +_dN = "displayName" +_t = "type" +_pT = "pluginType" +_cI = "conversationId" +_d = "description" +_aIp = "applicationId" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_rA = "roleArn" +_ta = "tags" +_cT = "clientToken" +_sT = "smithy.api#idempotencyToken" +_smith = "smithy.api#output" +_re = "reason" +_smithy = "smithy.api#http" +_sL = "smithy.api#httpLabel" +_nT = "nextToken" +_sQ = "smithy.api#httpQuery" +_mRa = "maxResults" +_pr = "principal" +_iI = "indexId" +_dSI = "dataSourceId" +_LOW = "LOW" +_MEDIUM = "MEDIUM" +_HIGH = "HIGH" +_VH = "VERY_HIGH" +_cont = "control" +_dI = "documentId" +_conte = "content" +_sIu = "subscriptionId" +_sAu = "subscriptionArn" +_cS = "currentSubscription" +_nS = "nextSubscription" +_smithyap = "smithy.api#streaming" +_tE = "textEvent" +_cRCI = "chatResponseConfigurationId" +_rC = "responseConfigurations" +_aR = "actionReview" +_uI = "userId" +_eIx = "executionId" +_gN = "groupName" +_rS = "responseScope" +_oC = "orchestrationConfiguration" +_cMCr = "creatorModeConfiguration" +_hRCa = "hallucinationReductionConfiguration" +_mIe = "messageId" +_atta = "attachments" +_it = "items" +_MB = "MessageBody" +_MTe = "MessageType" +_USER = "USER" +_SYSTEM = "SYSTEM" +_M = "Message" +_bo = "body" +_tim = "time" +_sAou = "sourceAttribution" +_aE = "actionExecution" +_Me = "Messages" +_MRIFLPA = "MaxResultsIntegerForListPluginActions" +_LPAI = "ListPluginActionsInput" +_cLPAR = "com.amazonaws.qbusiness#ListPluginActionsRequest" +_LPAO = "ListPluginActionsOutput" +_cLPARo = "com.amazonaws.qbusiness#ListPluginActionsResponse" +_LPA = "ListPluginActions" +_MRIFLPTA = "MaxResultsIntegerForListPluginTypeActions" +_LPTAI = "ListPluginTypeActionsInput" +_cLPTAR = "com.amazonaws.qbusiness#ListPluginTypeActionsRequest" +_LPTAO = "ListPluginTypeActionsOutput" +_cLPTARo = "com.amazonaws.qbusiness#ListPluginTypeActionsResponse" +_LPTA = "ListPluginTypeActions" +_MRIFLPTM = "MaxResultsIntegerForListPluginTypeMetadata" +_LPTMI = "ListPluginTypeMetadataInput" +_cLPTMR = "com.amazonaws.qbusiness#ListPluginTypeMetadataRequest" +_PTC = "PluginTypeCategory" +_CRM = "CRM" +_Crm = "Customer relationship management (CRM)" +_PM_ = "PROJECT_MANAGEMENT" +_Pm = "Project management" +_COMMUNICATION = "COMMUNICATION" +_Com = "Communication" +_PRODUCTIVITY = "PRODUCTIVITY" +_Pro = "Productivity" +_TM = "TICKETING_MANAGEMENT" +_Taim = "Ticketing and incident management" +_PTMS = "PluginTypeMetadataSummary" +_ca = "category" +_LPTMS = "ListPluginTypeMetadataSummaries" +_LPTMO = "ListPluginTypeMetadataOutput" +_cLPTMRo = "com.amazonaws.qbusiness#ListPluginTypeMetadataResponse" +_LPTM = "ListPluginTypeMetadata" +_MRIFLS = "MaxResultsIntegerForListSubscriptions" +_LSI = "ListSubscriptionsInput" +_cLSR = "com.amazonaws.qbusiness#ListSubscriptionsRequest" +_Su = "Subscription" +_Sub = "Subscriptions" +_LSO = "ListSubscriptionsOutput" +_cLSRo = "com.amazonaws.qbusiness#ListSubscriptionsResponse" +_sub = "subscriptions" +_LS = "ListSubscriptions" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.qbusiness#ListTagsForResourceRequest" +_rARN = "resourceARN" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.qbusiness#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_SMI = "SystemMessageId" +_MUC = "MessageUsefulnessComment" +_MUR = "MessageUsefulnessReason" +_NFC = "NOT_FACTUALLY_CORRECT" +_HOU = "HARMFUL_OR_UNSAFE" +_IOMS = "INCORRECT_OR_MISSING_SOURCES" +_NH = "NOT_HELPFUL" +_FC = "FACTUALLY_CORRECT" +_COMPLETE = "COMPLETE" +_RS_ = "RELEVANT_SOURCES" +_HELPFUL = "HELPFUL" +_NBOD = "NOT_BASED_ON_DOCUMENTS" +_NC_ = "NOT_COMPLETE" +_NC__ = "NOT_CONCISE" +_OTHER = "OTHER" +_MU = "MessageUsefulness" +_USEFUL = "USEFUL" +_NU = "NOT_USEFUL" +_MUF = "MessageUsefulnessFeedback" +_use = "usefulness" +_com = "comment" +_sAub = "submittedAt" +_PFI = "PutFeedbackInput" +_cPFR = "com.amazonaws.qbusiness#PutFeedbackRequest" +_mCA = "messageCopiedAt" +_mU = "messageUsefulness" +_PFO = "PutFeedbackOutput" +_sUm = "smithy.api#Unit" +_PF = "PutFeedback" +_MG = "MemberGroup" +_MGe = "MemberGroups" +_MUe = "MemberUser" +_MUem = "MemberUsers" +_GMr = "GroupMembers" +_mG = "memberGroups" +_mUe = "memberUsers" +_sPFGM = "s3PathForGroupMembers" +_PGI = "PutGroupInput" +_cPGR = "com.amazonaws.qbusiness#PutGroupRequest" +_gM = "groupMembers" +_PGO = "PutGroupOutput" +_cPGRo = "com.amazonaws.qbusiness#PutGroupResponse" +_PGu = "PutGroup" +_MRa = "MaxResults" +_QT = "QueryText" +_SCc = "ScoreConfidence" +_NA = "NOT_AVAILABLE" +_SAc = "ScoreAttributes" +_sCc = "scoreConfidence" +_RCel = "RelevantContent" +_dT = "documentTitle" +_dU = "documentUri" +_dAocu = "documentAttributes" +_sAc = "scoreAttributes" +_RCL = "RelevantContentList" +_SRCO = "SearchRelevantContentOutput" +_cSRCR = "com.amazonaws.qbusiness#SearchRelevantContentResponse" +_rCe = "relevantContent" +_SDSSJI = "StartDataSourceSyncJobInput" +_cSDSSJR = "com.amazonaws.qbusiness#StartDataSourceSyncJobRequest" +_SDSSJO = "StartDataSourceSyncJobOutput" +_cSDSSJRo = "com.amazonaws.qbusiness#StartDataSourceSyncJobResponse" +_SDSSJ = "StartDataSourceSyncJob" +_SDSSJIt = "StopDataSourceSyncJobInput" +_cSDSSJRom = "com.amazonaws.qbusiness#StopDataSourceSyncJobRequest" +_SDSSJOt = "StopDataSourceSyncJobOutput" +_cSDSSJRoma = "com.amazonaws.qbusiness#StopDataSourceSyncJobResponse" +_SDSSJt = "StopDataSourceSyncJob" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.qbusiness#TagResourceRequest" +_TRO = "TagResourceOutput" +_cTRRo = "com.amazonaws.qbusiness#TagResourceResponse" +_TR = "TagResource" +_TKa = "TagKeys" +_URIn = "UntagResourceInput" +_cURRom = "com.amazonaws.qbusiness#UntagResourceRequest" +_tK = "tagKeys" +_UROn = "UntagResourceOutput" +_cURRoma = "com.amazonaws.qbusiness#UntagResourceResponse" +_URn = "UntagResource" +_OCr = "OrchestrationConfiguration" +_UCCCI = "UpdateChatControlsConfigurationInput" +_cUCCCR = "com.amazonaws.qbusiness#UpdateChatControlsConfigurationRequest" +_bPCU = "blockedPhrasesConfigurationUpdate" +_tCTCOU = "topicConfigurationsToCreateOrUpdate" +_tCTD = "topicConfigurationsToDelete" +_UCCCO = "UpdateChatControlsConfigurationOutput" +_cUCCCRo = "com.amazonaws.qbusiness#UpdateChatControlsConfigurationResponse" +_UCCC = "UpdateChatControlsConfiguration" +_UCRCI = "UpdateChatResponseConfigurationInput" +_cUCRCR = "com.amazonaws.qbusiness#UpdateChatResponseConfigurationRequest" +_UCRCO = "UpdateChatResponseConfigurationOutput" +_cUCRCRo = "com.amazonaws.qbusiness#UpdateChatResponseConfigurationResponse" +_UCRC = "UpdateChatResponseConfiguration" +_USI = "UpdateSubscriptionInput" +_cUSR = "com.amazonaws.qbusiness#UpdateSubscriptionRequest" +_USO = "UpdateSubscriptionOutput" +_cUSRo = "com.amazonaws.qbusiness#UpdateSubscriptionResponse" +_US = "UpdateSubscription" +_UUI = "UpdateUserInput" +_cUUR = "com.amazonaws.qbusiness#UpdateUserRequest" +_uATU = "userAliasesToUpdate" +_uATD = "userAliasesToDelete" +_UUO = "UpdateUserOutput" +_cUURo = "com.amazonaws.qbusiness#UpdateUserResponse" +_uAA = "userAliasesAdded" +_uAU = "userAliasesUpdated" +_uAD = "userAliasesDeleted" +_UU = "UpdateUser" +_AFC = "ActionFilterConfiguration" +_dAF = "documentAttributeFilter" +_aFt = "attributeFilter" +_cM = "chatMode" +_cMCh = "chatModeConfiguration" +_CEo = "ConfigurationEvent" +_SRCI = "SearchRelevantContentInput" +_cSRCRo = "com.amazonaws.qbusiness#SearchRelevantContentRequest" +_qT = "queryText" +_cSo = "contentSource" +_smithyapi = "smithy.api#default" +_SRC = "SearchRelevantContent" +_ACct = "ActionConfiguration" +_act = "action" +_fC = "filterConfiguration" +_CIS = "ChatInputStream" +_cE = "configurationEvent" +_aEt = "attachmentEvent" +_aEE = "actionExecutionEvent" +_eOIE = "endOfInputEvent" +_aCREu = "authChallengeResponseEvent" +_ACL = "ActionConfigurationList" +_EQ = "ExpertQ" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" + +MESSAGE_BODY: StaticSchema = (3, n0, _MB, 0) + +MESSAGE_TYPE: StaticSchema = ( + 14, + n0, + _MTe, + 0, + (_USER, _SYSTEM), + ((-1, {_sV: _USER}), (-1, {_sV: _SYSTEM})), +) + +MESSAGE: StaticSchema = ( + 18, + n0, + _M, + 0, + (_mIe, _bo, _tim, _t, _atta, _sAou, _aR, _aE), + ( + (lambda: schemas.STRING, 0), + (MESSAGE_BODY, 0), + (lambda: schemas.TIMESTAMP, 0), + (MESSAGE_TYPE, 0), + (lambda: schemas.ATTACHMENTS_OUTPUT, 0), + (lambda: schemas.SOURCE_ATTRIBUTIONS, 0), + (lambda: schemas.ACTION_REVIEW, 0), + (lambda: schemas.ACTION_EXECUTION, 0), + ), +) + +MESSAGES: StaticSchema = (16, n0, _Me, 0, (_m,), ((MESSAGE, 0),)) + +MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_ACTIONS: StaticSchema = (7, n0, _MRIFLPA, 0) + +LIST_PLUGIN_ACTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LPAI, + {_sSI: _cLPAR, _smit: None}, + (_aIp, _pI, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.PLUGIN_ID, 9), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_ACTIONS, {_sQ: _mRa}), + ), +) + +LIST_PLUGIN_ACTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPAO, + {_sSI: _cLPARo, _smith: None}, + (_nT, _it), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: schemas.ACTIONS, 0)), +) + +LIST_PLUGIN_ACTIONS: StaticOperationSchema = ( + 23, + n0, + _LPA, + { + _smithy: MappingProxyType( + { + "method": "GET", + "uri": "/applications/{applicationId}/plugins/{pluginId}/actions", + } + ) + }, + LIST_PLUGIN_ACTIONS_INPUT, + LIST_PLUGIN_ACTIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_ACTIONS: StaticSchema = (7, n0, _MRIFLPTA, 0) + +LIST_PLUGIN_TYPE_ACTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LPTAI, + {_sSI: _cLPTAR, _smit: None}, + (_pT, _nT, _mRa), + ( + (lambda: schemas.PLUGIN_TYPE, 9), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_ACTIONS, {_sQ: _mRa}), + ), +) + +LIST_PLUGIN_TYPE_ACTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPTAO, + {_sSI: _cLPTARo, _smith: None}, + (_nT, _it), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: schemas.ACTIONS, 0)), +) + +LIST_PLUGIN_TYPE_ACTIONS: StaticOperationSchema = ( + 23, + n0, + _LPTA, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/pluginTypes/{pluginType}/actions"} + ) + }, + LIST_PLUGIN_TYPE_ACTIONS_INPUT, + LIST_PLUGIN_TYPE_ACTIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_METADATA: StaticSchema = (7, n0, _MRIFLPTM, 0) + +LIST_PLUGIN_TYPE_METADATA_INPUT: StaticSchema = ( + 18, + n0, + _LPTMI, + {_sSI: _cLPTMR, _smit: None}, + (_nT, _mRa), + ( + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_PLUGIN_TYPE_METADATA, {_sQ: _mRa}), + ), +) + +LIST_PLUGIN_TYPE_METADATA_OUTPUT: StaticSchema = ( + 18, + n0, + _LPTMO, + {_sSI: _cLPTMRo, _smith: None}, + (_nT, _it), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: LIST_PLUGIN_TYPE_METADATA_SUMMARIES, 0)), +) + +LIST_PLUGIN_TYPE_METADATA: StaticOperationSchema = ( + 23, + n0, + _LPTM, + {_smithy: MappingProxyType({"method": "GET", "uri": "/pluginTypeMetadata"})}, + LIST_PLUGIN_TYPE_METADATA_INPUT, + LIST_PLUGIN_TYPE_METADATA_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PLUGIN_TYPE_CATEGORY: StaticSchema = ( + 14, + n0, + _PTC, + 0, + (_CRM, _PM_, _COMMUNICATION, _PRODUCTIVITY, _TM), + ( + (-1, {_sV: _Crm}), + (-1, {_sV: _Pm}), + (-1, {_sV: _Com}), + (-1, {_sV: _Pro}), + (-1, {_sV: _Taim}), + ), +) + +PLUGIN_TYPE_METADATA_SUMMARY: StaticSchema = ( + 18, + n0, + _PTMS, + 0, + (_t, _ca, _d), + ( + (lambda: schemas.PLUGIN_TYPE, 0), + (PLUGIN_TYPE_CATEGORY, 0), + (lambda: schemas.STRING, 0), + ), +) + +LIST_PLUGIN_TYPE_METADATA_SUMMARIES: StaticSchema = ( + 16, + n0, + _LPTMS, + 0, + (_m,), + ((PLUGIN_TYPE_METADATA_SUMMARY, 0),), +) + +MAX_RESULTS_INTEGER_FOR_LIST_SUBSCRIPTIONS: StaticSchema = (7, n0, _MRIFLS, 0) + +LIST_SUBSCRIPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LSI, + {_sSI: _cLSR, _smit: None}, + (_aIp, _nT, _mRa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.NEXT_TOKEN, {_sQ: _nT}), + (MAX_RESULTS_INTEGER_FOR_LIST_SUBSCRIPTIONS, {_sQ: _mRa}), + ), +) + +LIST_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_sSI: _cLSRo, _smith: None}, + (_nT, _sub), + ((lambda: schemas.NEXT_TOKEN, 0), (lambda: SUBSCRIPTIONS, 0)), +) + +LIST_SUBSCRIPTIONS: StaticOperationSchema = ( + 23, + n0, + _LS, + { + _smithy: MappingProxyType( + {"method": "GET", "uri": "/applications/{applicationId}/subscriptions"} + ) + }, + LIST_SUBSCRIPTIONS_INPUT, + LIST_SUBSCRIPTIONS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SUBSCRIPTION: StaticSchema = ( + 18, + n0, + _Su, + 0, + (_sIu, _sAu, _pr, _cS, _nS), + ( + (lambda: schemas.SUBSCRIPTION_ID, 0), + (lambda: schemas.SUBSCRIPTION_ARN, 0), + (lambda: schemas.SUBSCRIPTION_PRINCIPAL, 0), + (lambda: schemas.SUBSCRIPTION_DETAILS, 0), + (lambda: schemas.SUBSCRIPTION_DETAILS, 0), + ), +) + +SUBSCRIPTIONS: StaticSchema = (16, n0, _Sub, 0, (_m,), ((SUBSCRIPTION, 0),)) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _smit: None}, + (_rARN,), + ((lambda: schemas.AMAZON_RESOURCE_NAME, 9),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smith: None}, + (_ta,), + ((lambda: schemas.TAGS, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + {_smithy: MappingProxyType({"uri": "/v1/tags/{resourceARN}", "method": "GET"})}, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SYSTEM_MESSAGE_ID: StaticSchema = (3, n0, _SMI, 0) + +MESSAGE_USEFULNESS_COMMENT: StaticSchema = (3, n0, _MUC, 0) + +MESSAGE_USEFULNESS_REASON: StaticSchema = ( + 14, + n0, + _MUR, + 0, + ( + _NFC, + _HOU, + _IOMS, + _NH, + _FC, + _COMPLETE, + _RS_, + _HELPFUL, + _NBOD, + _NC_, + _NC__, + _OTHER, + ), + ( + (-1, {_sV: _NFC}), + (-1, {_sV: _HOU}), + (-1, {_sV: _IOMS}), + (-1, {_sV: _NH}), + (-1, {_sV: _FC}), + (-1, {_sV: _COMPLETE}), + (-1, {_sV: _RS_}), + (-1, {_sV: _HELPFUL}), + (-1, {_sV: _NBOD}), + (-1, {_sV: _NC_}), + (-1, {_sV: _NC__}), + (-1, {_sV: _OTHER}), + ), +) + +MESSAGE_USEFULNESS: StaticSchema = ( + 14, + n0, + _MU, + 0, + (_USEFUL, _NU), + ((-1, {_sV: _USEFUL}), (-1, {_sV: _NU})), +) + +MESSAGE_USEFULNESS_FEEDBACK: StaticSchema = ( + 18, + n0, + _MUF, + 0, + (_use, _re, _com, _sAub), + ( + (MESSAGE_USEFULNESS, 1), + (MESSAGE_USEFULNESS_REASON, 0), + (MESSAGE_USEFULNESS_COMMENT, 0), + (lambda: schemas.TIMESTAMP, 1), + ), +) + +PUT_FEEDBACK_INPUT: StaticSchema = ( + 18, + n0, + _PFI, + {_sSI: _cPFR, _smit: None}, + (_aIp, _uI, _cI, _mIe, _mCA, _mU), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.USER_ID, {_sQ: _uI}), + (lambda: schemas.CONVERSATION_ID, 9), + (SYSTEM_MESSAGE_ID, 9), + (lambda: schemas.TIMESTAMP, 0), + (MESSAGE_USEFULNESS_FEEDBACK, 0), + ), +) + +PUT_FEEDBACK_OUTPUT: StaticSchema = (18, n0, _PFO, {_sSI: _sUm, _smith: None}) + +PUT_FEEDBACK: StaticOperationSchema = ( + 23, + n0, + _PF, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/feedback", + "method": "POST", + } + ) + }, + PUT_FEEDBACK_INPUT, + PUT_FEEDBACK_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MEMBER_GROUP: StaticSchema = ( + 18, + n0, + _MG, + 0, + (_gN, _t), + ((lambda: schemas.GROUP_NAME, 1), (lambda: schemas.MEMBERSHIP_TYPE, 0)), +) + +MEMBER_GROUPS: StaticSchema = (16, n0, _MGe, 0, (_m,), ((MEMBER_GROUP, 0),)) + +MEMBER_USER: StaticSchema = ( + 18, + n0, + _MUe, + 0, + (_uI, _t), + ((lambda: schemas.DATA_SOURCE_USER_ID, 1), (lambda: schemas.MEMBERSHIP_TYPE, 0)), +) + +MEMBER_USERS: StaticSchema = (16, n0, _MUem, 0, (_m,), ((MEMBER_USER, 0),)) + +GROUP_MEMBERS: StaticSchema = ( + 18, + n0, + _GMr, + 0, + (_mG, _mUe, _sPFGM), + ((MEMBER_GROUPS, 0), (MEMBER_USERS, 0), (lambda: schemas.S3, 0)), +) + +PUT_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _PGI, + {_sSI: _cPGR, _smit: None}, + (_aIp, _iI, _gN, _dSI, _t, _gM, _rA), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + (lambda: schemas.GROUP_NAME, 1), + (lambda: schemas.DATA_SOURCE_ID, 0), + (lambda: schemas.MEMBERSHIP_TYPE, 1), + (GROUP_MEMBERS, 1), + (lambda: schemas.ROLE_ARN, 0), + ), +) + +PUT_GROUP_OUTPUT: StaticSchema = (18, n0, _PGO, {_sSI: _cPGRo, _smith: None}) + +PUT_GROUP: StaticOperationSchema = ( + 23, + n0, + _PGu, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/applications/{applicationId}/indices/{indexId}/groups", + } + ) + }, + PUT_GROUP_INPUT, + PUT_GROUP_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MAX_RESULTS: StaticSchema = (7, n0, _MRa, 0) + +QUERY_TEXT: StaticSchema = (3, n0, _QT, 0) + +SCORE_CONFIDENCE: StaticSchema = ( + 14, + n0, + _SCc, + 0, + (_VH, _HIGH, _MEDIUM, _LOW, _NA), + ( + (-1, {_sV: _VH}), + (-1, {_sV: _HIGH}), + (-1, {_sV: _MEDIUM}), + (-1, {_sV: _LOW}), + (-1, {_sV: _NA}), + ), +) + +SCORE_ATTRIBUTES: StaticSchema = (18, n0, _SAc, 0, (_sCc,), ((SCORE_CONFIDENCE, 0),)) + +RELEVANT_CONTENT: StaticSchema = ( + 18, + n0, + _RCel, + 0, + (_conte, _dI, _dT, _dU, _dAocu, _sAc), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DOCUMENT_ID, 0), + (lambda: schemas.TITLE, 0), + (lambda: schemas.URL, 0), + (lambda: schemas.DOCUMENT_ATTRIBUTES, 0), + (SCORE_ATTRIBUTES, 0), + ), +) + +RELEVANT_CONTENT_LIST: StaticSchema = (16, n0, _RCL, 0, (_m,), ((RELEVANT_CONTENT, 0),)) + +SEARCH_RELEVANT_CONTENT_OUTPUT: StaticSchema = ( + 18, + n0, + _SRCO, + {_sSI: _cSRCR, _smith: None}, + (_rCe, _nT), + ((RELEVANT_CONTENT_LIST, 0), (lambda: schemas.NEXT_TOKEN, 0)), +) + +SEARCH_RELEVANT_CONTENT_INPUT: StaticSchema = ( + 18, + n0, + _SRCI, + {_sSI: _cSRCRo, _smit: None}, + (_aIp, _qT, _cSo, _aFt, _mRa, _nT), + ( + (lambda: schemas.APPLICATION_ID, 9), + (QUERY_TEXT, 1), + (lambda: schemas.CONTENT_SOURCE, 1), + (lambda: schemas.ATTRIBUTE_FILTER, 0), + (MAX_RESULTS, {_smithyapi: 10}), + (lambda: schemas.NEXT_TOKEN, 0), + ), +) + +SEARCH_RELEVANT_CONTENT: StaticOperationSchema = ( + 23, + n0, + _SRC, + { + _smithy: MappingProxyType( + {"uri": "/applications/{applicationId}/relevant-content", "method": "POST"} + ) + }, + SEARCH_RELEVANT_CONTENT_INPUT, + SEARCH_RELEVANT_CONTENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.LICENSE_NOT_FOUND_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +START_DATA_SOURCE_SYNC_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SDSSJI, + {_sSI: _cSDSSJR, _smit: None}, + (_dSI, _aIp, _iI), + ( + (lambda: schemas.DATA_SOURCE_ID, 9), + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + ), +) + +START_DATA_SOURCE_SYNC_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SDSSJO, + {_sSI: _cSDSSJRo, _smith: None}, + (_eIx,), + ((lambda: schemas.EXECUTION_ID, 0),), +) + +START_DATA_SOURCE_SYNC_JOB: StaticOperationSchema = ( + 23, + n0, + _SDSSJ, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/startsync", + "method": "POST", + } + ) + }, + START_DATA_SOURCE_SYNC_JOB_INPUT, + START_DATA_SOURCE_SYNC_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +STOP_DATA_SOURCE_SYNC_JOB_INPUT: StaticSchema = ( + 18, + n0, + _SDSSJIt, + {_sSI: _cSDSSJRom, _smit: None}, + (_dSI, _aIp, _iI), + ( + (lambda: schemas.DATA_SOURCE_ID, 9), + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.INDEX_ID, 9), + ), +) + +STOP_DATA_SOURCE_SYNC_JOB_OUTPUT: StaticSchema = ( + 18, + n0, + _SDSSJOt, + {_sSI: _cSDSSJRoma, _smith: None}, +) + +STOP_DATA_SOURCE_SYNC_JOB: StaticOperationSchema = ( + 23, + n0, + _SDSSJt, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/stopsync", + "method": "POST", + } + ) + }, + STOP_DATA_SOURCE_SYNC_JOB_INPUT, + STOP_DATA_SOURCE_SYNC_JOB_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _smit: None}, + (_rARN, _ta), + ((lambda: schemas.AMAZON_RESOURCE_NAME, 9), (lambda: schemas.TAGS, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smith: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + {_smithy: MappingProxyType({"uri": "/v1/tags/{resourceARN}", "method": "POST"})}, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +TAG_KEYS: StaticSchema = (16, n0, _TKa, 0, (_m,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URIn, + {_sSI: _cURRom, _smit: None}, + (_rARN, _tK), + ((lambda: schemas.AMAZON_RESOURCE_NAME, 9), (TAG_KEYS, {_sQ: _tK, _s: None})), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _UROn, {_sSI: _cURRoma, _smith: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _URn, + {_smithy: MappingProxyType({"uri": "/v1/tags/{resourceARN}", "method": "DELETE"})}, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ORCHESTRATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OCr, + 0, + (_cont,), + ((lambda: schemas.ORCHESTRATION_CONTROL, 1),), +) + +UPDATE_CHAT_CONTROLS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UCCCI, + {_sSI: _cUCCCR, _smit: None}, + (_aIp, _cT, _rS, _oC, _bPCU, _tCTCOU, _tCTD, _cMCr, _hRCa), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.CLIENT_TOKEN, 2), + (lambda: schemas.RESPONSE_SCOPE, 0), + (ORCHESTRATION_CONFIGURATION, 0), + (lambda: schemas.BLOCKED_PHRASES_CONFIGURATION_UPDATE, 0), + (lambda: schemas.TOPIC_CONFIGURATIONS, 0), + (lambda: schemas.TOPIC_CONFIGURATIONS, 0), + (lambda: schemas.CREATOR_MODE_CONFIGURATION, 0), + (lambda: schemas.HALLUCINATION_REDUCTION_CONFIGURATION, 0), + ), +) + +UPDATE_CHAT_CONTROLS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UCCCO, + {_sSI: _cUCCCRo, _smith: None}, +) + +UPDATE_CHAT_CONTROLS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _UCCC, + { + _smithy: MappingProxyType( + { + "uri": "/applications/{applicationId}/chatcontrols", + "method": "PATCH", + "code": 200, + } + ) + }, + UPDATE_CHAT_CONTROLS_CONFIGURATION_INPUT, + UPDATE_CHAT_CONTROLS_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_CHAT_RESPONSE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UCRCI, + {_sSI: _cUCRCR, _smit: None}, + (_aIp, _cRCI, _dN, _rC, _cT), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.CHAT_RESPONSE_CONFIGURATION_ID, 9), + (lambda: schemas.DISPLAY_NAME, 0), + (lambda: schemas.RESPONSE_CONFIGURATIONS, 1), + (lambda: schemas.STRING, 2), + ), +) + +UPDATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UCRCO, + {_sSI: _cUCRCRo, _smith: None}, +) + +UPDATE_CHAT_RESPONSE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _UCRC, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", + } + ) + }, + UPDATE_CHAT_RESPONSE_CONFIGURATION_INPUT, + UPDATE_CHAT_RESPONSE_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _USI, + {_sSI: _cUSR, _smit: None}, + (_aIp, _sIu, _t), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.SUBSCRIPTION_ID, 9), + (lambda: schemas.SUBSCRIPTION_TYPE, 1), + ), +) + +UPDATE_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _USO, + {_sSI: _cUSRo, _smith: None}, + (_sAu, _cS, _nS), + ( + (lambda: schemas.SUBSCRIPTION_ARN, 0), + (lambda: schemas.SUBSCRIPTION_DETAILS, 0), + (lambda: schemas.SUBSCRIPTION_DETAILS, 0), + ), +) + +UPDATE_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _US, + { + _smithy: MappingProxyType( + { + "method": "PUT", + "uri": "/applications/{applicationId}/subscriptions/{subscriptionId}", + } + ) + }, + UPDATE_SUBSCRIPTION_INPUT, + UPDATE_SUBSCRIPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +UPDATE_USER_INPUT: StaticSchema = ( + 18, + n0, + _UUI, + {_sSI: _cUUR, _smit: None}, + (_aIp, _uI, _uATU, _uATD), + ( + (lambda: schemas.APPLICATION_ID, 9), + (lambda: schemas.STRING, 9), + (lambda: schemas.USER_ALIASES, 0), + (lambda: schemas.USER_ALIASES, 0), + ), +) + +UPDATE_USER_OUTPUT: StaticSchema = ( + 18, + n0, + _UUO, + {_sSI: _cUURo, _smith: None}, + (_uAA, _uAU, _uAD), + ( + (lambda: schemas.USER_ALIASES, 0), + (lambda: schemas.USER_ALIASES, 0), + (lambda: schemas.USER_ALIASES, 0), + ), +) + +UPDATE_USER: StaticOperationSchema = ( + 23, + n0, + _UU, + { + _smithy: MappingProxyType( + {"method": "PUT", "uri": "/applications/{applicationId}/users/{userId}"} + ) + }, + UPDATE_USER_INPUT, + UPDATE_USER_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.THROTTLING_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +ACTION_FILTER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AFC, + 0, + (_dAF,), + ((lambda: schemas.ATTRIBUTE_FILTER, 1),), +) + +CONFIGURATION_EVENT: StaticSchema = ( + 18, + n0, + _CEo, + 0, + (_cM, _cMCh, _aFt), + ( + (lambda: schemas.CHAT_MODE, 0), + (lambda: schemas.CHAT_MODE_CONFIGURATION, 0), + (lambda: schemas.ATTRIBUTE_FILTER, 0), + ), +) + +ACTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ACct, + 0, + (_act, _fC), + ((lambda: schemas.Q_IAM_ACTION, 1), (ACTION_FILTER_CONFIGURATION, 0)), +) + +CHAT_INPUT_STREAM: StaticSchema = ( + 19, + n0, + _CIS, + {_smithyap: None}, + (_cE, _tE, _aEt, _aEE, _eOIE, _aCREu), + ( + (CONFIGURATION_EVENT, 0), + (lambda: schemas.TEXT_INPUT_EVENT, 0), + (lambda: schemas.ATTACHMENT_INPUT_EVENT, 0), + (lambda: schemas.ACTION_EXECUTION_EVENT, 0), + (lambda: schemas.END_OF_INPUT_EVENT, 0), + (lambda: schemas.AUTH_CHALLENGE_RESPONSE_EVENT, 0), + ), +) + +ACTION_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _ACL, + 0, + (_m,), + ((ACTION_CONFIGURATION, 0),), +) + +EXPERT_Q: StaticSchema = ( + 21, + n0, + _EQ, + { + _aw: MappingProxyType({"name": "qbusiness"}), + _aws: MappingProxyType( + { + "sdkId": "QBusiness", + "cloudFormationName": "QBusiness", + "arnNamespace": "qbusiness", + "cloudTrailEventSource": "qbusiness.amazonaws.com", + } + ), + _aJ: MappingProxyType({"http": ("h2", "http/1.1"), "eventStreamHttp": ("h2",)}), + }, +) diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/aio/client.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/aio/client.py index 2e51df210..edb9fa583 100644 --- a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/aio/client.py +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncDuplexEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/aio/config.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/aio/config.py index 1f6847128..d6e8854e2 100644 --- a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/aio/config.py +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -25,7 +25,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/client.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/client.py index 825ed9844..c25290444 100644 --- a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/client.py +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/config.py b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/config.py index c29e99759..542d97d22 100644 --- a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/config.py +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/config.py @@ -13,15 +13,18 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_fips_endpoint_program, ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/models.pyi b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/models.pyi index 8fcc66434..3b6efadbc 100644 --- a/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/models.pyi +++ b/clients/aws-sdk-qbusiness/src/aws_sdk_qbusiness/models.pyi @@ -1,17 +1,485 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self from smithy_core.deserializers import ShapeDeserializer -from smithy_core.documents import Document as _Document from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AccessConfiguration as AccessConfiguration, + AccessControl as AccessControl, + AccessDeniedException as AccessDeniedException, + ActionConfiguration as ActionConfiguration, + ActionExecution as ActionExecution, + ActionExecutionEvent as ActionExecutionEvent, + ActionExecutionPayloadField as ActionExecutionPayloadField, + ActionFilterConfiguration as ActionFilterConfiguration, + ActionPayloadFieldType as ActionPayloadFieldType, + ActionReview as ActionReview, + ActionReviewEvent as ActionReviewEvent, + ActionReviewPayloadField as ActionReviewPayloadField, + ActionReviewPayloadFieldAllowedValue as ActionReviewPayloadFieldAllowedValue, + ActionSummary as ActionSummary, + APISchemaPayload as APISchemaPayload, + APISchemaS3 as APISchemaS3, + APISchemaUnknown as APISchemaUnknown, + APISchema as APISchema, + _APISchemaDeserializer as _APISchemaDeserializer, + APISchemaType as APISchemaType, + Application as Application, + ApplicationStatus as ApplicationStatus, + AppliedAttachmentsConfiguration as AppliedAttachmentsConfiguration, + AppliedCreatorModeConfiguration as AppliedCreatorModeConfiguration, + AppliedOrchestrationConfiguration as AppliedOrchestrationConfiguration, + AssociatedGroup as AssociatedGroup, + AssociatedUser as AssociatedUser, + AssociatePermissionInput as AssociatePermissionInput, + AssociatePermissionOutput as AssociatePermissionOutput, + Attachment as Attachment, + AttachmentInput as AttachmentInput, + AttachmentInputEvent as AttachmentInputEvent, + AttachmentOutput as AttachmentOutput, + AttachmentsConfiguration as AttachmentsConfiguration, + AttachmentsControlMode as AttachmentsControlMode, + AttachmentStatus as AttachmentStatus, + AttributeFilter as AttributeFilter, + AttributeType as AttributeType, + AttributeValueOperator as AttributeValueOperator, + AudioExtractionConfiguration as AudioExtractionConfiguration, + AudioExtractionStatus as AudioExtractionStatus, + AudioExtractionType as AudioExtractionType, + AudioSourceDetails as AudioSourceDetails, + AuthChallengeRequest as AuthChallengeRequest, + AuthChallengeRequestEvent as AuthChallengeRequestEvent, + AuthChallengeResponse as AuthChallengeResponse, + AuthChallengeResponseEvent as AuthChallengeResponseEvent, + AutoSubscriptionConfiguration as AutoSubscriptionConfiguration, + AutoSubscriptionStatus as AutoSubscriptionStatus, + BasicAuthConfiguration as BasicAuthConfiguration, + BatchDeleteDocumentInput as BatchDeleteDocumentInput, + BatchDeleteDocumentOutput as BatchDeleteDocumentOutput, + BatchPutDocumentInput as BatchPutDocumentInput, + BatchPutDocumentOutput as BatchPutDocumentOutput, + BlockedPhrasesConfiguration as BlockedPhrasesConfiguration, + BlockedPhrasesConfigurationUpdate as BlockedPhrasesConfigurationUpdate, + BrowserExtensionConfiguration as BrowserExtensionConfiguration, + CancelSubscriptionInput as CancelSubscriptionInput, + CancelSubscriptionOutput as CancelSubscriptionOutput, + ChatInput as ChatInput, + ChatInputStreamConfigurationEvent as ChatInputStreamConfigurationEvent, + ChatInputStreamTextEvent as ChatInputStreamTextEvent, + ChatInputStreamAttachmentEvent as ChatInputStreamAttachmentEvent, + ChatInputStreamActionExecutionEvent as ChatInputStreamActionExecutionEvent, + ChatInputStreamEndOfInputEvent as ChatInputStreamEndOfInputEvent, + ChatInputStreamAuthChallengeResponseEvent as ChatInputStreamAuthChallengeResponseEvent, + ChatInputStreamUnknown as ChatInputStreamUnknown, + ChatInputStream as ChatInputStream, + _ChatInputStreamDeserializer as _ChatInputStreamDeserializer, + ChatMode as ChatMode, + ChatModeConfigurationPluginConfiguration as ChatModeConfigurationPluginConfiguration, + ChatModeConfigurationUnknown as ChatModeConfigurationUnknown, + ChatModeConfiguration as ChatModeConfiguration, + _ChatModeConfigurationDeserializer as _ChatModeConfigurationDeserializer, + ChatOutput as ChatOutput, + ChatOutputStreamTextEvent as ChatOutputStreamTextEvent, + ChatOutputStreamMetadataEvent as ChatOutputStreamMetadataEvent, + ChatOutputStreamActionReviewEvent as ChatOutputStreamActionReviewEvent, + ChatOutputStreamFailedAttachmentEvent as ChatOutputStreamFailedAttachmentEvent, + ChatOutputStreamAuthChallengeRequestEvent as ChatOutputStreamAuthChallengeRequestEvent, + ChatOutputStreamUnknown as ChatOutputStreamUnknown, + ChatOutputStream as ChatOutputStream, + _ChatOutputStreamDeserializer as _ChatOutputStreamDeserializer, + ChatResponseConfiguration as ChatResponseConfiguration, + ChatResponseConfigurationDetail as ChatResponseConfigurationDetail, + ChatResponseConfigurationStatus as ChatResponseConfigurationStatus, + ChatSyncInput as ChatSyncInput, + ChatSyncOutput as ChatSyncOutput, + CheckDocumentAccessInput as CheckDocumentAccessInput, + CheckDocumentAccessOutput as CheckDocumentAccessOutput, + ConfigurationEvent as ConfigurationEvent, + ConflictException as ConflictException, + ContentBlockerRule as ContentBlockerRule, + ContentRetrievalRule as ContentRetrievalRule, + ContentSourceRetriever as ContentSourceRetriever, + ContentSourceUnknown as ContentSourceUnknown, + ContentSource as ContentSource, + _ContentSourceDeserializer as _ContentSourceDeserializer, + ContentType as ContentType, + Conversation as Conversation, + ConversationSource as ConversationSource, + CopyFromSourceConversation as CopyFromSourceConversation, + CopyFromSourceUnknown as CopyFromSourceUnknown, + CopyFromSource as CopyFromSource, + _CopyFromSourceDeserializer as _CopyFromSourceDeserializer, + CreateAnonymousWebExperienceUrlInput as CreateAnonymousWebExperienceUrlInput, + CreateAnonymousWebExperienceUrlOutput as CreateAnonymousWebExperienceUrlOutput, + CreateApplicationInput as CreateApplicationInput, + CreateApplicationOutput as CreateApplicationOutput, + CreateChatResponseConfigurationInput as CreateChatResponseConfigurationInput, + CreateChatResponseConfigurationOutput as CreateChatResponseConfigurationOutput, + CreateDataAccessorInput as CreateDataAccessorInput, + CreateDataAccessorOutput as CreateDataAccessorOutput, + CreateDataSourceInput as CreateDataSourceInput, + CreateDataSourceOutput as CreateDataSourceOutput, + CreateIndexInput as CreateIndexInput, + CreateIndexOutput as CreateIndexOutput, + CreatePluginInput as CreatePluginInput, + CreatePluginOutput as CreatePluginOutput, + CreateRetrieverInput as CreateRetrieverInput, + CreateRetrieverOutput as CreateRetrieverOutput, + CreateSubscriptionInput as CreateSubscriptionInput, + CreateSubscriptionOutput as CreateSubscriptionOutput, + CreateUserInput as CreateUserInput, + CreateUserOutput as CreateUserOutput, + CreateWebExperienceInput as CreateWebExperienceInput, + CreateWebExperienceOutput as CreateWebExperienceOutput, + CreatorModeConfiguration as CreatorModeConfiguration, + CreatorModeControl as CreatorModeControl, + CustomizationConfiguration as CustomizationConfiguration, + CustomPluginConfiguration as CustomPluginConfiguration, + DataAccessor as DataAccessor, + DataAccessorAuthenticationConfigurationIdcTrustedTokenIssuerConfiguration as DataAccessorAuthenticationConfigurationIdcTrustedTokenIssuerConfiguration, + DataAccessorAuthenticationConfigurationUnknown as DataAccessorAuthenticationConfigurationUnknown, + DataAccessorAuthenticationConfiguration as DataAccessorAuthenticationConfiguration, + _DataAccessorAuthenticationConfigurationDeserializer as _DataAccessorAuthenticationConfigurationDeserializer, + DataAccessorAuthenticationDetail as DataAccessorAuthenticationDetail, + DataAccessorAuthenticationType as DataAccessorAuthenticationType, + DataAccessorIdcTrustedTokenIssuerConfiguration as DataAccessorIdcTrustedTokenIssuerConfiguration, + DataSource as DataSource, + DataSourceStatus as DataSourceStatus, + DataSourceSyncJob as DataSourceSyncJob, + DataSourceSyncJobMetrics as DataSourceSyncJobMetrics, + DataSourceSyncJobStatus as DataSourceSyncJobStatus, + DataSourceVpcConfiguration as DataSourceVpcConfiguration, + DateAttributeBoostingConfiguration as DateAttributeBoostingConfiguration, + DeleteApplicationInput as DeleteApplicationInput, + DeleteApplicationOutput as DeleteApplicationOutput, + DeleteAttachmentInput as DeleteAttachmentInput, + DeleteAttachmentOutput as DeleteAttachmentOutput, + DeleteChatControlsConfigurationInput as DeleteChatControlsConfigurationInput, + DeleteChatControlsConfigurationOutput as DeleteChatControlsConfigurationOutput, + DeleteChatResponseConfigurationInput as DeleteChatResponseConfigurationInput, + DeleteChatResponseConfigurationOutput as DeleteChatResponseConfigurationOutput, + DeleteConversationInput as DeleteConversationInput, + DeleteConversationOutput as DeleteConversationOutput, + DeleteDataAccessorInput as DeleteDataAccessorInput, + DeleteDataAccessorOutput as DeleteDataAccessorOutput, + DeleteDataSourceInput as DeleteDataSourceInput, + DeleteDataSourceOutput as DeleteDataSourceOutput, + DeleteDocument as DeleteDocument, + DeleteGroupInput as DeleteGroupInput, + DeleteGroupOutput as DeleteGroupOutput, + DeleteIndexInput as DeleteIndexInput, + DeleteIndexOutput as DeleteIndexOutput, + DeletePluginInput as DeletePluginInput, + DeletePluginOutput as DeletePluginOutput, + DeleteRetrieverInput as DeleteRetrieverInput, + DeleteRetrieverOutput as DeleteRetrieverOutput, + DeleteUserInput as DeleteUserInput, + DeleteUserOutput as DeleteUserOutput, + DeleteWebExperienceInput as DeleteWebExperienceInput, + DeleteWebExperienceOutput as DeleteWebExperienceOutput, + DisassociatePermissionInput as DisassociatePermissionInput, + DisassociatePermissionOutput as DisassociatePermissionOutput, + Document as Document, + DocumentAcl as DocumentAcl, + DocumentAclCondition as DocumentAclCondition, + DocumentAclGroup as DocumentAclGroup, + DocumentAclMembership as DocumentAclMembership, + DocumentAclUser as DocumentAclUser, + DocumentAttribute as DocumentAttribute, + DocumentAttributeBoostingConfigurationNumberConfiguration as DocumentAttributeBoostingConfigurationNumberConfiguration, + DocumentAttributeBoostingConfigurationStringConfiguration as DocumentAttributeBoostingConfigurationStringConfiguration, + DocumentAttributeBoostingConfigurationDateConfiguration as DocumentAttributeBoostingConfigurationDateConfiguration, + DocumentAttributeBoostingConfigurationStringListConfiguration as DocumentAttributeBoostingConfigurationStringListConfiguration, + DocumentAttributeBoostingConfigurationUnknown as DocumentAttributeBoostingConfigurationUnknown, + DocumentAttributeBoostingConfiguration as DocumentAttributeBoostingConfiguration, + _DocumentAttributeBoostingConfigurationDeserializer as _DocumentAttributeBoostingConfigurationDeserializer, + DocumentAttributeBoostingLevel as DocumentAttributeBoostingLevel, + DocumentAttributeCondition as DocumentAttributeCondition, + DocumentAttributeConfiguration as DocumentAttributeConfiguration, + DocumentAttributeTarget as DocumentAttributeTarget, + DocumentAttributeValueStringValue as DocumentAttributeValueStringValue, + DocumentAttributeValueStringListValue as DocumentAttributeValueStringListValue, + DocumentAttributeValueLongValue as DocumentAttributeValueLongValue, + DocumentAttributeValueDateValue as DocumentAttributeValueDateValue, + DocumentAttributeValueUnknown as DocumentAttributeValueUnknown, + DocumentAttributeValue as DocumentAttributeValue, + _DocumentAttributeValueDeserializer as _DocumentAttributeValueDeserializer, + DocumentContentBlob as DocumentContentBlob, + DocumentContentS3 as DocumentContentS3, + DocumentContentUnknown as DocumentContentUnknown, + DocumentContent as DocumentContent, + _DocumentContentDeserializer as _DocumentContentDeserializer, + DocumentContentOperator as DocumentContentOperator, + DocumentDetails as DocumentDetails, + DocumentEnrichmentConditionOperator as DocumentEnrichmentConditionOperator, + DocumentEnrichmentConfiguration as DocumentEnrichmentConfiguration, + DocumentStatus as DocumentStatus, + EligibleDataSource as EligibleDataSource, + EncryptionConfiguration as EncryptionConfiguration, + EndOfInputEvent as EndOfInputEvent, + ErrorCode as ErrorCode, + ErrorDetail as ErrorDetail, + ExternalResourceException as ExternalResourceException, + FailedAttachmentEvent as FailedAttachmentEvent, + FailedDocument as FailedDocument, + GetApplicationInput as GetApplicationInput, + GetApplicationOutput as GetApplicationOutput, + GetChatControlsConfigurationInput as GetChatControlsConfigurationInput, + GetChatControlsConfigurationOutput as GetChatControlsConfigurationOutput, + GetChatResponseConfigurationInput as GetChatResponseConfigurationInput, + GetChatResponseConfigurationOutput as GetChatResponseConfigurationOutput, + GetDataAccessorInput as GetDataAccessorInput, + GetDataAccessorOutput as GetDataAccessorOutput, + GetDataSourceInput as GetDataSourceInput, + GetDataSourceOutput as GetDataSourceOutput, + GetDocumentContentInput as GetDocumentContentInput, + GetDocumentContentOutput as GetDocumentContentOutput, + GetGroupInput as GetGroupInput, + GetGroupOutput as GetGroupOutput, + GetIndexInput as GetIndexInput, + GetIndexOutput as GetIndexOutput, + GetMediaInput as GetMediaInput, + GetMediaOutput as GetMediaOutput, + GetPluginInput as GetPluginInput, + GetPluginOutput as GetPluginOutput, + GetPolicyInput as GetPolicyInput, + GetPolicyOutput as GetPolicyOutput, + GetRetrieverInput as GetRetrieverInput, + GetRetrieverOutput as GetRetrieverOutput, + GetUserInput as GetUserInput, + GetUserOutput as GetUserOutput, + GetWebExperienceInput as GetWebExperienceInput, + GetWebExperienceOutput as GetWebExperienceOutput, + GroupMembers as GroupMembers, + GroupStatus as GroupStatus, + GroupStatusDetail as GroupStatusDetail, + GroupSummary as GroupSummary, + HallucinationReductionConfiguration as HallucinationReductionConfiguration, + HallucinationReductionControl as HallucinationReductionControl, + HookConfiguration as HookConfiguration, + IdcAuthConfiguration as IdcAuthConfiguration, + IdentityProviderConfigurationSamlConfiguration as IdentityProviderConfigurationSamlConfiguration, + IdentityProviderConfigurationOpenIDConnectConfiguration as IdentityProviderConfigurationOpenIDConnectConfiguration, + IdentityProviderConfigurationUnknown as IdentityProviderConfigurationUnknown, + IdentityProviderConfiguration as IdentityProviderConfiguration, + _IdentityProviderConfigurationDeserializer as _IdentityProviderConfigurationDeserializer, + IdentityType as IdentityType, + ImageExtractionConfiguration as ImageExtractionConfiguration, + ImageExtractionStatus as ImageExtractionStatus, + ImageSourceDetails as ImageSourceDetails, + Index as Index, + IndexCapacityConfiguration as IndexCapacityConfiguration, + IndexStatistics as IndexStatistics, + IndexStatus as IndexStatus, + IndexType as IndexType, + InlineDocumentEnrichmentConfiguration as InlineDocumentEnrichmentConfiguration, + InstructionCollection as InstructionCollection, + InternalServerException as InternalServerException, + KendraIndexConfiguration as KendraIndexConfiguration, + LicenseNotFoundException as LicenseNotFoundException, + ListApplicationsInput as ListApplicationsInput, + ListApplicationsOutput as ListApplicationsOutput, + ListAttachmentsInput as ListAttachmentsInput, + ListAttachmentsOutput as ListAttachmentsOutput, + ListChatResponseConfigurationsInput as ListChatResponseConfigurationsInput, + ListChatResponseConfigurationsOutput as ListChatResponseConfigurationsOutput, + ListConversationsInput as ListConversationsInput, + ListConversationsOutput as ListConversationsOutput, + ListDataAccessorsInput as ListDataAccessorsInput, + ListDataAccessorsOutput as ListDataAccessorsOutput, + ListDataSourcesInput as ListDataSourcesInput, + ListDataSourcesOutput as ListDataSourcesOutput, + ListDataSourceSyncJobsInput as ListDataSourceSyncJobsInput, + ListDataSourceSyncJobsOutput as ListDataSourceSyncJobsOutput, + ListDocumentsInput as ListDocumentsInput, + ListDocumentsOutput as ListDocumentsOutput, + ListGroupsInput as ListGroupsInput, + ListGroupsOutput as ListGroupsOutput, + ListIndicesInput as ListIndicesInput, + ListIndicesOutput as ListIndicesOutput, + ListMessagesInput as ListMessagesInput, + ListMessagesOutput as ListMessagesOutput, + ListPluginActionsInput as ListPluginActionsInput, + ListPluginActionsOutput as ListPluginActionsOutput, + ListPluginsInput as ListPluginsInput, + ListPluginsOutput as ListPluginsOutput, + ListPluginTypeActionsInput as ListPluginTypeActionsInput, + ListPluginTypeActionsOutput as ListPluginTypeActionsOutput, +) + +from ._private.models_1 import ( + ListPluginTypeMetadataInput as ListPluginTypeMetadataInput, + ListPluginTypeMetadataOutput as ListPluginTypeMetadataOutput, + ListRetrieversInput as ListRetrieversInput, + ListRetrieversOutput as ListRetrieversOutput, + ListSubscriptionsInput as ListSubscriptionsInput, + ListSubscriptionsOutput as ListSubscriptionsOutput, + ListTagsForResourceInput as ListTagsForResourceInput, + ListTagsForResourceOutput as ListTagsForResourceOutput, + ListWebExperiencesInput as ListWebExperiencesInput, + ListWebExperiencesOutput as ListWebExperiencesOutput, + MediaExtractionConfiguration as MediaExtractionConfiguration, + MediaTooLargeException as MediaTooLargeException, + MemberGroup as MemberGroup, + MemberRelation as MemberRelation, + MembershipType as MembershipType, + MemberUser as MemberUser, + Message as Message, + MessageType as MessageType, + MessageUsefulness as MessageUsefulness, + MessageUsefulnessFeedback as MessageUsefulnessFeedback, + MessageUsefulnessReason as MessageUsefulnessReason, + MetadataEvent as MetadataEvent, + NativeIndexConfiguration as NativeIndexConfiguration, + NoAuthConfiguration as NoAuthConfiguration, + NumberAttributeBoostingConfiguration as NumberAttributeBoostingConfiguration, + NumberAttributeBoostingType as NumberAttributeBoostingType, + OAuth2ClientCredentialConfiguration as OAuth2ClientCredentialConfiguration, + OpenIDConnectProviderConfiguration as OpenIDConnectProviderConfiguration, + OrchestrationConfiguration as OrchestrationConfiguration, + OrchestrationControl as OrchestrationControl, + OutputFormat as OutputFormat, + PermissionCondition as PermissionCondition, + PermissionConditionOperator as PermissionConditionOperator, + PersonalizationConfiguration as PersonalizationConfiguration, + PersonalizationControlMode as PersonalizationControlMode, + Plugin as Plugin, + PluginAuthConfigurationBasicAuthConfiguration as PluginAuthConfigurationBasicAuthConfiguration, + PluginAuthConfigurationOAuth2ClientCredentialConfiguration as PluginAuthConfigurationOAuth2ClientCredentialConfiguration, + PluginAuthConfigurationNoAuthConfiguration as PluginAuthConfigurationNoAuthConfiguration, + PluginAuthConfigurationIdcAuthConfiguration as PluginAuthConfigurationIdcAuthConfiguration, + PluginAuthConfigurationUnknown as PluginAuthConfigurationUnknown, + PluginAuthConfiguration as PluginAuthConfiguration, + _PluginAuthConfigurationDeserializer as _PluginAuthConfigurationDeserializer, + PluginBuildStatus as PluginBuildStatus, + PluginConfiguration as PluginConfiguration, + PluginState as PluginState, + PluginType as PluginType, + PluginTypeCategory as PluginTypeCategory, + PluginTypeMetadataSummary as PluginTypeMetadataSummary, + Principal_User as Principal_User, + Principal_Group as Principal_Group, + PrincipalUnknown as PrincipalUnknown, + Principal as Principal, + _PrincipalDeserializer as _PrincipalDeserializer, + PrincipalGroup as PrincipalGroup, + PrincipalUser as PrincipalUser, + PutFeedbackInput as PutFeedbackInput, + PutFeedbackOutput as PutFeedbackOutput, + PutGroupInput as PutGroupInput, + PutGroupOutput as PutGroupOutput, + QAppsConfiguration as QAppsConfiguration, + QAppsControlMode as QAppsControlMode, + QuickSightConfiguration as QuickSightConfiguration, + ReadAccessType as ReadAccessType, + RelevantContent as RelevantContent, + ResourceNotFoundException as ResourceNotFoundException, + ResponseConfiguration as ResponseConfiguration, + ResponseConfigurationType as ResponseConfigurationType, + ResponseScope as ResponseScope, + Retriever as Retriever, + RetrieverConfigurationNativeIndexConfiguration as RetrieverConfigurationNativeIndexConfiguration, + RetrieverConfigurationKendraIndexConfiguration as RetrieverConfigurationKendraIndexConfiguration, + RetrieverConfigurationUnknown as RetrieverConfigurationUnknown, + RetrieverConfiguration as RetrieverConfiguration, + _RetrieverConfigurationDeserializer as _RetrieverConfigurationDeserializer, + RetrieverContentSource as RetrieverContentSource, + RetrieverStatus as RetrieverStatus, + RetrieverType as RetrieverType, + Rule as Rule, + RuleConfigurationContentBlockerRule as RuleConfigurationContentBlockerRule, + RuleConfigurationContentRetrievalRule as RuleConfigurationContentRetrievalRule, + RuleConfigurationUnknown as RuleConfigurationUnknown, + RuleConfiguration as RuleConfiguration, + _RuleConfigurationDeserializer as _RuleConfigurationDeserializer, + RuleType as RuleType, + S3 as S3, + SamlConfiguration as SamlConfiguration, + SamlProviderConfiguration as SamlProviderConfiguration, + ScoreAttributes as ScoreAttributes, + ScoreConfidence as ScoreConfidence, + SearchRelevantContentInput as SearchRelevantContentInput, + SearchRelevantContentOutput as SearchRelevantContentOutput, + ServiceQuotaExceededException as ServiceQuotaExceededException, + SnippetExcerpt as SnippetExcerpt, + SourceAttribution as SourceAttribution, + SourceDetailsImageSourceDetails as SourceDetailsImageSourceDetails, + SourceDetailsAudioSourceDetails as SourceDetailsAudioSourceDetails, + SourceDetailsVideoSourceDetails as SourceDetailsVideoSourceDetails, + SourceDetailsUnknown as SourceDetailsUnknown, + SourceDetails as SourceDetails, + _SourceDetailsDeserializer as _SourceDetailsDeserializer, + StartDataSourceSyncJobInput as StartDataSourceSyncJobInput, + StartDataSourceSyncJobOutput as StartDataSourceSyncJobOutput, + Status as Status, + StopDataSourceSyncJobInput as StopDataSourceSyncJobInput, + StopDataSourceSyncJobOutput as StopDataSourceSyncJobOutput, + StringAttributeBoostingConfiguration as StringAttributeBoostingConfiguration, + StringAttributeValueBoostingLevel as StringAttributeValueBoostingLevel, + StringListAttributeBoostingConfiguration as StringListAttributeBoostingConfiguration, + Subscription as Subscription, + SubscriptionDetails as SubscriptionDetails, + SubscriptionPrincipalUser as SubscriptionPrincipalUser, + SubscriptionPrincipalGroup as SubscriptionPrincipalGroup, + SubscriptionPrincipalUnknown as SubscriptionPrincipalUnknown, + SubscriptionPrincipal as SubscriptionPrincipal, + _SubscriptionPrincipalDeserializer as _SubscriptionPrincipalDeserializer, + SubscriptionType as SubscriptionType, + SystemMessageType as SystemMessageType, + Tag as Tag, + TagResourceInput as TagResourceInput, + TagResourceOutput as TagResourceOutput, + TextDocumentStatistics as TextDocumentStatistics, + TextInputEvent as TextInputEvent, + TextOutputEvent as TextOutputEvent, + TextSegment as TextSegment, + ThrottlingException as ThrottlingException, + TopicConfiguration as TopicConfiguration, + UntagResourceInput as UntagResourceInput, + UntagResourceOutput as UntagResourceOutput, + UpdateApplicationInput as UpdateApplicationInput, + UpdateApplicationOutput as UpdateApplicationOutput, + UpdateChatControlsConfigurationInput as UpdateChatControlsConfigurationInput, + UpdateChatControlsConfigurationOutput as UpdateChatControlsConfigurationOutput, + UpdateChatResponseConfigurationInput as UpdateChatResponseConfigurationInput, + UpdateChatResponseConfigurationOutput as UpdateChatResponseConfigurationOutput, + UpdateDataAccessorInput as UpdateDataAccessorInput, + UpdateDataAccessorOutput as UpdateDataAccessorOutput, + UpdateDataSourceInput as UpdateDataSourceInput, + UpdateDataSourceOutput as UpdateDataSourceOutput, + UpdateIndexInput as UpdateIndexInput, + UpdateIndexOutput as UpdateIndexOutput, + UpdatePluginInput as UpdatePluginInput, + UpdatePluginOutput as UpdatePluginOutput, + UpdateRetrieverInput as UpdateRetrieverInput, + UpdateRetrieverOutput as UpdateRetrieverOutput, + UpdateSubscriptionInput as UpdateSubscriptionInput, + UpdateSubscriptionOutput as UpdateSubscriptionOutput, + UpdateUserInput as UpdateUserInput, + UpdateUserOutput as UpdateUserOutput, + UpdateWebExperienceInput as UpdateWebExperienceInput, + UpdateWebExperienceOutput as UpdateWebExperienceOutput, + UserAlias as UserAlias, + UsersAndGroups as UsersAndGroups, + ValidationException as ValidationException, + ValidationExceptionField as ValidationExceptionField, + ValidationExceptionReason as ValidationExceptionReason, + VideoExtractionConfiguration as VideoExtractionConfiguration, + VideoExtractionStatus as VideoExtractionStatus, + VideoExtractionType as VideoExtractionType, + VideoSourceDetails as VideoSourceDetails, + WebExperience as WebExperience, + WebExperienceAuthConfigurationSamlConfiguration as WebExperienceAuthConfigurationSamlConfiguration, + WebExperienceAuthConfigurationUnknown as WebExperienceAuthConfigurationUnknown, + WebExperienceAuthConfiguration as WebExperienceAuthConfiguration, + _WebExperienceAuthConfigurationDeserializer as _WebExperienceAuthConfigurationDeserializer, + WebExperienceSamplePromptsControlMode as WebExperienceSamplePromptsControlMode, + WebExperienceStatus as WebExperienceStatus, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -27,7801 +495,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AccessConfiguration(_SerdeShape): - """Used to configure access permissions for a document.""" - - access_controls: list[AccessControl] - """A list of `AccessControlList` objects.""" - member_relation: str | None = ... - """Describes the member relation within the `AccessControlList` object.""" - -@dataclass(kw_only=True) -class AccessControl(_SerdeShape): - """ - A list of principals. Each principal can be either a `USER` or a `GROUP` - and can be designated document access permissions of either `ALLOW` or - `DENY`. - """ - - principals: list[Principal] - """ - Contains a list of principals, where a principal can be either a `USER` - or a `GROUP`. Each principal can be have the following type of document - access: `ALLOW` or `DENY`. - """ - member_relation: str | None = ... - """Describes the member relation within a principal list.""" - -@dataclass(kw_only=True) -class AccessDeniedException(ServiceError, _SerdeShape): - """ - You don't have access to perform this action. Make sure you have the - required permission policies and user accounts and try again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ActionConfiguration(_SerdeShape): - """Specifies an allowed action and its associated filter configuration.""" - - action: str - """The Amazon Q Business action that is allowed.""" - filter_configuration: ActionFilterConfiguration | None = ... - """The filter configuration for the action, if any.""" - -@dataclass(kw_only=True) -class ActionExecution(_SerdeShape): - """ - Performs an Amazon Q Business plugin action during a non-streaming chat - conversation. - """ - - plugin_id: str - """The identifier of the plugin the action is attached to.""" - payload: dict[str, ActionExecutionPayloadField] - """ - A mapping of field names to the field values in input that an end user - provides to Amazon Q Business requests to perform their plugin action. - """ - payload_field_name_separator: str - """ - A string used to retain information about the hierarchical contexts - within an action execution event payload. - """ - -@dataclass(kw_only=True) -class ActionExecutionEvent(_SerdeShape): - """ - A request from an end user signalling an intent to perform an Amazon Q - Business plugin action during a streaming chat. - """ - - plugin_id: str - """The identifier of the plugin for which the action is being requested.""" - payload: dict[str, ActionExecutionPayloadField] - """ - A mapping of field names to the field values in input that an end user - provides to Amazon Q Business requests to perform their plugin action. - """ - payload_field_name_separator: str - """ - A string used to retain information about the hierarchical contexts - within a action execution event payload. - """ - -@dataclass(kw_only=True) -class ActionExecutionPayloadField(_SerdeShape): - """A user input field in an plugin action execution payload.""" - - value: _Document - """The content of a user input field in an plugin action execution payload.""" - -@dataclass(kw_only=True) -class ActionFilterConfiguration(_SerdeShape): - """Specifies filters to apply to an allowed action.""" - - document_attribute_filter: AttributeFilter - """ - Enables filtering of responses based on document attributes or metadata - fields. - """ - -class ActionPayloadFieldType(UnknownEnumMixin, StrEnum): - STRING = "STRING" - NUMBER = "NUMBER" - ARRAY = "ARRAY" - BOOLEAN = "BOOLEAN" - -@dataclass(kw_only=True) -class ActionReview(_SerdeShape): - """ - An output event that Amazon Q Business returns to an user who wants to - perform a plugin action during a non-streaming chat conversation. It - contains information about the selected action with a list of possible - user input fields, some pre-populated by Amazon Q Business. - """ - - plugin_id: str | None = ... - """The identifier of the plugin associated with the action review.""" - plugin_type: str | None = ... - """The type of plugin.""" - payload: dict[str, ActionReviewPayloadField] | None = ... - """ - Field values that an end user needs to provide to Amazon Q Business for - Amazon Q Business to perform the requested plugin action. - """ - payload_field_name_separator: str | None = ... - """ - A string used to retain information about the hierarchical contexts - within an action review payload. - """ - -@dataclass(kw_only=True) -class ActionReviewEvent(_SerdeShape): - """ - An output event that Amazon Q Business returns to an user who wants to - perform a plugin action during a streaming chat conversation. It - contains information about the selected action with a list of possible - user input fields, some pre-populated by Amazon Q Business. - """ - - conversation_id: str | None = ... - """ - The identifier of the conversation with which the action review event is - associated. - """ - user_message_id: str | None = ... - """ - The identifier of the conversation with which the plugin action is - associated. - """ - system_message_id: str | None = ... - """ - The identifier of an Amazon Q Business AI generated associated with the - action review event. - """ - plugin_id: str | None = ... - """The identifier of the plugin associated with the action review event.""" - plugin_type: str | None = ... - """The type of plugin.""" - payload: dict[str, ActionReviewPayloadField] | None = ... - """ - Field values that an end user needs to provide to Amazon Q Business for - Amazon Q Business to perform the requested plugin action. - """ - payload_field_name_separator: str | None = ... - """ - A string used to retain information about the hierarchical contexts - within an action review event payload. - """ - -@dataclass(kw_only=True) -class ActionReviewPayloadField(_SerdeShape): - """A user input field in an plugin action review payload.""" - - display_name: str | None = ... - """The name of the field.""" - display_order: int | None = ... - """The display order of fields in a payload.""" - display_description: str | None = ... - """ - The field level description of each action review input field. This - could be an explanation of the field. In the Amazon Q Business web - experience, these descriptions could be used to display as tool tips to - help users understand the field. - """ - type: str | None = ... - """The type of field.""" - value: _Document | None = ... - """The field value.""" - allowed_values: list[ActionReviewPayloadFieldAllowedValue] | None = ... - """ - Information about the field values that an end user can use to provide - to Amazon Q Business for Amazon Q Business to perform the requested - plugin action. - """ - allowed_format: str | None = ... - """ - The expected data format for the action review input field value. For - example, in PTO request, `from` and `to` would be of `datetime` allowed - format. - """ - array_item_json_schema: _Document | None = ... - """ - Use to create a custom form with array fields (fields with nested - objects inside an array). - """ - required: bool | None = ... - """Information about whether the field is required.""" - -@dataclass(kw_only=True) -class ActionReviewPayloadFieldAllowedValue(_SerdeShape): - """ - Information about the field values that an end user can use to provide - to Amazon Q Business for Amazon Q Business to perform the requested - plugin action. - """ - - value: _Document | None = ... - """The field value.""" - display_value: _Document | None = ... - """The name of the field.""" - -@dataclass(kw_only=True) -class ActionSummary(_SerdeShape): - """Summary information for an Amazon Q Business plugin action.""" - - action_identifier: str | None = ... - """The identifier of an Amazon Q Business plugin action.""" - display_name: str | None = ... - """ - The display name assigned by Amazon Q Business to a plugin action. You - can't modify this value. - """ - instruction_example: str | None = ... - """ - An Amazon Q Business suggested prompt and end user can use to invoke a - plugin action. This value can be modified and sent as input to initiate - an action. For example: - - - Create a Jira task - - - Create a chat assistant task to find the root cause of a specific - incident - """ - description: str | None = ... - """The description of an Amazon Q Business plugin action.""" - -@dataclass -class APISchemaPayload(_SerdeShape): - """ - The JSON or YAML-formatted payload defining the OpenAPI schema for a - custom plugin. - """ - - value: str - -@dataclass -class APISchemaS3(_SerdeShape): - """ - Contains details about the S3 object containing the OpenAPI schema for a - custom plugin. The schema could be in either JSON or YAML format. - """ - - value: S3 - -@dataclass -class APISchemaUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -APISchema = Union[APISchemaPayload | APISchemaS3 | APISchemaUnknown] -""" -Contains details about the OpenAPI schema for a custom plugin. For more -information, see [custom plugin OpenAPI -schemas](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/custom-plugin.html#plugins-api-schema). -You can either include the schema directly in the payload field or you -can upload it to an S3 bucket and specify the S3 bucket location in the -`s3` field. -""" - -class _APISchemaDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> APISchema: ... - -class APISchemaType(UnknownEnumMixin, StrEnum): - OPEN_API_V3 = "OPEN_API_V3" - -@dataclass(kw_only=True) -class Application(_SerdeShape): - """Summary information for an Amazon Q Business application.""" - - display_name: str | None = ... - """The name of the Amazon Q Business application.""" - application_id: str | None = ... - """The identifier for the Amazon Q Business application.""" - created_at: datetime | None = ... - """The Unix timestamp when the Amazon Q Business application was created.""" - updated_at: datetime | None = ... - """ - The Unix timestamp when the Amazon Q Business application was last - updated. - """ - status: str | None = ... - """ - The status of the Amazon Q Business application. The application is - ready to use when the status is `ACTIVE`. - """ - identity_type: str | None = ... - """The authentication type being used by a Amazon Q Business application.""" - quick_sight_configuration: QuickSightConfiguration | None = ... - """ - The Amazon Quick Suite configuration for an Amazon Q Business - application that uses Quick Suite as the identity provider. - """ - -class ApplicationStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - DELETING = "DELETING" - FAILED = "FAILED" - UPDATING = "UPDATING" - -@dataclass(kw_only=True) -class AppliedAttachmentsConfiguration(_SerdeShape): - """ - Configuration information about the file upload during chat feature for - your application. - """ - - attachments_control_mode: str | None = ... - """ - Information about whether file upload during chat functionality is - activated for your application. - """ - -@dataclass(kw_only=True) -class AppliedCreatorModeConfiguration(_SerdeShape): - """ - The creator mode specific admin controls configured for an Amazon Q - Business application. Determines whether an end user can generate - LLM-only responses when they use the web experience. - - For more information, see [Admin controls and - guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html) - and [Conversation - settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). - """ - - creator_mode_control: str - """ - Information about whether creator mode is enabled or disabled for an - Amazon Q Business application. - """ - -@dataclass(kw_only=True) -class AppliedOrchestrationConfiguration(_SerdeShape): - """ - The chat orchestration specific admin controls configured for an Amazon - Q Business application. Determines whether Amazon Q Business - automatically routes chat requests across configured plugins and data - sources in your Amazon Q Business application. - - For more information, see [Chat orchestration - settings](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails-global-controls.html#guardrails-global-orchestration). - """ - - control: str - """ - Information about whether chat orchestration is enabled or disabled for - an Amazon Q Business application. - """ - -@dataclass(kw_only=True) -class AssociatedGroup(_SerdeShape): - """ - Represents a group associated with a given user in the access control - system. - """ - - name: str | None = ... - """ - The name of the group associated with the user. This is used to identify - the group in access control decisions. - """ - type: str | None = ... - """ - The type of the associated group. This indicates the scope of the - group's applicability. - """ - -@dataclass(kw_only=True) -class AssociatedUser(_SerdeShape): - """Represents an associated user in the access control system.""" - - id: str | None = ... - """ - The unique identifier of the associated user. This is used to identify - the user in access control decisions. - """ - type: str | None = ... - """ - The type of the associated user. This indicates the scope of the user's - association. - """ - -@dataclass(kw_only=True) -class AssociatePermissionInput(_SerdeShape): - """Dataclass for AssociatePermissionInput structure.""" - - application_id: str | None = ... - """The unique identifier of the Amazon Q Business application.""" - statement_id: str | None = ... - """A unique identifier for the policy statement.""" - actions: list[str] | None = ... - """ - The list of Amazon Q Business actions that the ISV is allowed to - perform. - """ - conditions: list[PermissionCondition] | None = ... - """ - The conditions that restrict when the permission is effective. These - conditions can be used to limit the permission based on specific - attributes of the request. - """ - principal: str | None = ... - """ - The Amazon Resource Name of the IAM role for the ISV that is being - granted permission. - """ - -@dataclass(kw_only=True) -class AssociatePermissionOutput(_SerdeShape): - """Dataclass for AssociatePermissionOutput structure.""" - - statement: str | None = ... - """The JSON representation of the added permission statement.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Attachment(_SerdeShape): - """An attachment in an Amazon Q Business conversation.""" - - attachment_id: str | None = ... - """The identifier of the Amazon Q Business attachment.""" - conversation_id: str | None = ... - """ - The identifier of the Amazon Q Business conversation the attachment is - associated with. - """ - name: str | None = ... - """Filename of the Amazon Q Business attachment.""" - copy_from: CopyFromSource | None = ... - """ - A CopyFromSource containing a reference to the original source of the - Amazon Q Business attachment. - """ - file_type: str | None = ... - """Filetype of the Amazon Q Business attachment.""" - file_size: int | None = ... - """Size in bytes of the Amazon Q Business attachment.""" - md5chksum: str | None = ... - """MD5 checksum of the Amazon Q Business attachment contents.""" - created_at: datetime | None = ... - """The Unix timestamp when the Amazon Q Business attachment was created.""" - status: str | None = ... - """AttachmentStatus of the Amazon Q Business attachment.""" - error: ErrorDetail | None = ... - """ - ErrorDetail providing information about a Amazon Q Business attachment - error. - """ - -@dataclass(kw_only=True) -class AttachmentInput(_SerdeShape): - """ - This is either a file directly uploaded into a web experience chat or a - reference to an existing attachment that is part of a web experience - chat. - """ - - data: bytes | None = ... - """The contents of the attachment.""" - name: str | None = ... - """The filename of the attachment.""" - copy_from: CopyFromSource | None = ... - """A reference to an existing attachment.""" - -@dataclass(kw_only=True) -class AttachmentInputEvent(_SerdeShape): - """ - A file input event activated by a end user request to upload files into - their web experience chat. - """ - - attachment: AttachmentInput | None = ... - """ - This is either a file directly uploaded into a web experience chat or a - reference to an existing attachment that is part of a web experience - chat. - """ - -@dataclass(kw_only=True) -class AttachmentOutput(_SerdeShape): - """The details of a file uploaded during chat.""" - - name: str | None = ... - """The name of a file uploaded during chat.""" - status: str | None = ... - """The status of a file uploaded during chat.""" - error: ErrorDetail | None = ... - """An error associated with a file uploaded during chat.""" - attachment_id: str | None = ... - """The unique identifier of the Amazon Q Business attachment.""" - conversation_id: str | None = ... - """The unique identifier of the Amazon Q Business conversation.""" - -@dataclass(kw_only=True) -class AttachmentsConfiguration(_SerdeShape): - """Configuration information for the file upload during chat feature.""" - - attachments_control_mode: str - """ - Status information about whether file upload functionality is activated - or deactivated for your end user. - """ - -class AttachmentsControlMode(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class AttachmentStatus(UnknownEnumMixin, StrEnum): - FAILED = "FAILED" - SUCCESS = "SUCCESS" - -@dataclass(kw_only=True) -class AttributeFilter(_SerdeShape): - """ - Enables filtering of responses based on document attributes or metadata - fields. - """ - - and_all_filters: list[AttributeFilter] | None = ... - """Performs a logical `AND` operation on all supplied filters.""" - or_all_filters: list[AttributeFilter] | None = ... - """Performs a logical `OR` operation on all supplied filters.""" - not_filter: AttributeFilter | None = ... - """Performs a logical `NOT` operation on all supplied filters.""" - equals_to: DocumentAttribute | None = ... - """ - Performs an equals operation on two document attributes or metadata - fields. Supported for the following [document attribute value - types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): - `dateValue`, `longValue`, `stringListValue` and `stringValue`. - """ - contains_all: DocumentAttribute | None = ... - """ - Returns `true` when a document contains all the specified document - attributes or metadata fields. Supported for the following [document - attribute value - types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): - `stringListValue`. - """ - contains_any: DocumentAttribute | None = ... - """ - Returns `true` when a document contains any of the specified document - attributes or metadata fields. Supported for the following [document - attribute value - types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): - `stringListValue`. - """ - greater_than: DocumentAttribute | None = ... - """ - Performs a greater than operation on two document attributes or metadata - fields. Supported for the following [document attribute value - types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): - `dateValue` and `longValue`. - """ - greater_than_or_equals: DocumentAttribute | None = ... - """ - Performs a greater or equals than operation on two document attributes - or metadata fields. Supported for the following [document attribute - value - types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): - `dateValue` and `longValue`. - """ - less_than: DocumentAttribute | None = ... - """ - Performs a less than operation on two document attributes or metadata - fields. Supported for the following [document attribute value - types](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): - `dateValue` and `longValue`. - """ - less_than_or_equals: DocumentAttribute | None = ... - """ - Performs a less than or equals operation on two document attributes or - metadata fields.Supported for the following [document attribute value - type](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeValue.html): - `dateValue` and `longValue`. - """ - -class AttributeType(UnknownEnumMixin, StrEnum): - STRING = "STRING" - STRING_LIST = "STRING_LIST" - NUMBER = "NUMBER" - DATE = "DATE" - -class AttributeValueOperator(UnknownEnumMixin, StrEnum): - DELETE = "DELETE" - -@dataclass(kw_only=True) -class AudioExtractionConfiguration(_SerdeShape): - """Configuration settings for audio content extraction and processing.""" - - audio_extraction_status: str - """ - The status of audio extraction (ENABLED or DISABLED) for processing - audio content from files. - """ - -class AudioExtractionStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class AudioExtractionType(UnknownEnumMixin, StrEnum): - TRANSCRIPT = "TRANSCRIPT" - SUMMARY = "SUMMARY" - -@dataclass(kw_only=True) -class AudioSourceDetails(_SerdeShape): - """ - Details about an audio source, including its identifier, format, and - time information. - """ - - media_id: str | None = ... - """Unique identifier for the audio media file.""" - media_mime_type: str | None = ... - """The MIME type of the audio file (e.g., audio/mp3, audio/wav).""" - start_time_milliseconds: int | None = ... - """The starting timestamp in milliseconds for the relevant audio segment.""" - end_time_milliseconds: int | None = ... - """The ending timestamp in milliseconds for the relevant audio segment.""" - audio_extraction_type: str | None = ... - """The type of audio extraction performed on the content.""" - -@dataclass(kw_only=True) -class AuthChallengeRequest(_SerdeShape): - """ - A request made by Amazon Q Business to a third paty authentication - server to authenticate a custom plugin user. - """ - - authorization_url: str - """ - The URL sent by Amazon Q Business to the third party authentication - server to authenticate a custom plugin user through an OAuth protocol. - """ - -@dataclass(kw_only=True) -class AuthChallengeRequestEvent(_SerdeShape): - """ - An authentication verification event activated by an end user request to - use a custom plugin. - """ - - authorization_url: str - """ - The URL sent by Amazon Q Business to a third party authentication server - in response to an authentication verification event activated by an end - user request to use a custom plugin. - """ - -@dataclass(kw_only=True) -class AuthChallengeResponse(_SerdeShape): - """ - Contains details of the authentication information received from a third - party authentication server in response to an authentication challenge. - """ - - response_map: dict[str, str] - """The mapping of key-value pairs in an authentication challenge response.""" - -@dataclass(kw_only=True) -class AuthChallengeResponseEvent(_SerdeShape): - """ - An authentication verification event response by a third party - authentication server to Amazon Q Business. - """ - - response_map: dict[str, str] - """The mapping of key-value pairs in an authentication challenge response.""" - -@dataclass(kw_only=True) -class AutoSubscriptionConfiguration(_SerdeShape): - """ - Subscription configuration information for an Amazon Q Business - application using IAM identity federation for user management. - """ - - auto_subscribe: str - """ - Describes whether automatic subscriptions are enabled for an Amazon Q - Business application using IAM identity federation for user management. - """ - default_subscription_type: str | None = ... - """ - Describes the default subscription type assigned to an Amazon Q Business - application using IAM identity federation for user management. If the - value for `autoSubscribe` is set to `ENABLED` you must select a value - for this field. - """ - -class AutoSubscriptionStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class BasicAuthConfiguration(_SerdeShape): - """ - Information about the basic authentication credentials used to configure - a plugin. - """ - - secret_arn: str - """ - The ARN of the Secrets Manager secret that stores the basic - authentication credentials used for plugin configuration.. - """ - role_arn: str - """ - The ARN of an IAM role used by Amazon Q Business to access the basic - authentication credentials stored in a Secrets Manager secret. - """ - -@dataclass(kw_only=True) -class BatchDeleteDocumentInput(_SerdeShape): - """Dataclass for BatchDeleteDocumentInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - index_id: str | None = ... - """ - The identifier of the Amazon Q Business index that contains the - documents to delete. - """ - documents: list[DeleteDocument] | None = ... - """Documents deleted from the Amazon Q Business index.""" - data_source_sync_id: str | None = ... - """ - The identifier of the data source sync during which the documents were - deleted. - """ - -@dataclass(kw_only=True) -class BatchDeleteDocumentOutput(_SerdeShape): - """Dataclass for BatchDeleteDocumentOutput structure.""" - - failed_documents: list[FailedDocument] | None = ... - """ - A list of documents that couldn't be removed from the Amazon Q Business - index. Each entry contains an error message that indicates why the - document couldn't be removed from the index. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BatchPutDocumentInput(_SerdeShape): - """Dataclass for BatchPutDocumentInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - index_id: str | None = ... - """The identifier of the Amazon Q Business index to add the documents to.""" - documents: list[Document] | None = ... - """ - One or more documents to add to the index. - - Warning: - Ensure that the name of your document doesn't contain any confidential - information. Amazon Q Business returns document names in chat responses - and citations when relevant. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role with permission to access - your S3 bucket. - """ - data_source_sync_id: str | None = ... - """ - The identifier of the data source sync during which the documents were - added. - """ - -@dataclass(kw_only=True) -class BatchPutDocumentOutput(_SerdeShape): - """Dataclass for BatchPutDocumentOutput structure.""" - - failed_documents: list[FailedDocument] | None = ... - """ - A list of documents that were not added to the Amazon Q Business index - because the document failed a validation check. Each document contains - an error message that indicates why the document couldn't be added to - the index. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BlockedPhrasesConfiguration(_SerdeShape): - """ - Provides information about the phrases blocked from chat by your chat - control configuration. - """ - - blocked_phrases: list[str] | None = ... - """ - A list of phrases blocked from a Amazon Q Business web experience chat. - - Note: - Each phrase can contain a maximum of 36 characters. The list can contain - a maximum of 20 phrases. - """ - system_message_override: str | None = ... - """ - The configured custom message displayed to an end user informing them - that they've used a blocked phrase during chat. - """ - -@dataclass(kw_only=True) -class BlockedPhrasesConfigurationUpdate(_SerdeShape): - """ - Updates a blocked phrases configuration in your Amazon Q Business - application. - """ - - blocked_phrases_to_create_or_update: list[str] | None = ... - """ - Creates or updates a blocked phrases configuration in your Amazon Q - Business application. - """ - blocked_phrases_to_delete: list[str] | None = ... - """ - Deletes a blocked phrases configuration in your Amazon Q Business - application. - """ - system_message_override: str | None = ... - """ - The configured custom message displayed to your end user when they use - blocked phrase during chat. - """ - -@dataclass(kw_only=True) -class BrowserExtensionConfiguration(_SerdeShape): - """ - The container for browser extension configuration for an Amazon Q - Business web experience. - """ - - enabled_browser_extensions: list[str] - """ - Specify the browser extensions allowed for your Amazon Q web experience. - - - `CHROME` --- Enables the extension for Chromium-based browsers (Google - Chrome, Microsoft Edge, Opera, etc.). - - - `FIREFOX` --- Enables the extension for Mozilla Firefox. - - - `CHROME` and `FIREFOX` --- Enable the extension for Chromium-based - browsers and Mozilla Firefox. - """ - -@dataclass(kw_only=True) -class CancelSubscriptionInput(_SerdeShape): - """Dataclass for CancelSubscriptionInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application for which the - subscription is being cancelled. - """ - subscription_id: str | None = ... - """The identifier of the Amazon Q Business subscription being cancelled.""" - -@dataclass(kw_only=True) -class CancelSubscriptionOutput(_SerdeShape): - """Dataclass for CancelSubscriptionOutput structure.""" - - subscription_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Q Business subscription - being cancelled. - """ - current_subscription: SubscriptionDetails | None = ... - """The type of your current Amazon Q Business subscription.""" - next_subscription: SubscriptionDetails | None = ... - """The type of the Amazon Q Business subscription for the next month.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ChatInput(_SerdeShape): - """Dataclass for ChatInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application linked to a - streaming Amazon Q Business conversation. - """ - user_id: str | None = ... - """The identifier of the user attached to the chat input.""" - user_groups: list[str] | None = ... - """The group names that a user associated with the chat input belongs to.""" - conversation_id: str | None = ... - """The identifier of the Amazon Q Business conversation.""" - parent_message_id: str | None = ... - """ - The identifier used to associate a user message with a AI generated - response. - """ - client_token: str | None = ... - """A token that you provide to identify the chat input.""" - -@dataclass -class ChatInputStreamConfigurationEvent(_SerdeShape): - """ - A configuration event activated by an end user request to select a - specific chat mode. - """ - - value: ConfigurationEvent - -@dataclass -class ChatInputStreamTextEvent(_SerdeShape): - """ - Information about the payload of the `ChatInputStream` event containing - the end user message input. - """ - - value: TextInputEvent - -@dataclass -class ChatInputStreamAttachmentEvent(_SerdeShape): - """A request by an end user to upload a file during chat.""" - - value: AttachmentInputEvent - -@dataclass -class ChatInputStreamActionExecutionEvent(_SerdeShape): - """ - A request from an end user to perform an Amazon Q Business plugin - action. - """ - - value: ActionExecutionEvent - -@dataclass -class ChatInputStreamEndOfInputEvent(_SerdeShape): - """The end of the streaming input for the `Chat` API.""" - - value: EndOfInputEvent - -@dataclass -class ChatInputStreamAuthChallengeResponseEvent(_SerdeShape): - """ - An authentication verification event response by a third party - authentication server to Amazon Q Business. - """ - - value: AuthChallengeResponseEvent - -@dataclass -class ChatInputStreamUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ChatInputStream = Union[ - ChatInputStreamConfigurationEvent - | ChatInputStreamTextEvent - | ChatInputStreamAttachmentEvent - | ChatInputStreamActionExecutionEvent - | ChatInputStreamEndOfInputEvent - | ChatInputStreamAuthChallengeResponseEvent - | ChatInputStreamUnknown -] -"""The streaming input for the `Chat` API.""" - -class _ChatInputStreamDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ChatInputStream: ... - -class ChatMode(UnknownEnumMixin, StrEnum): - RETRIEVAL_MODE = "RETRIEVAL_MODE" - CREATOR_MODE = "CREATOR_MODE" - PLUGIN_MODE = "PLUGIN_MODE" - -@dataclass -class ChatModeConfigurationPluginConfiguration(_SerdeShape): - """Configuration information required to invoke chat in `PLUGIN_MODE`.""" - - value: PluginConfiguration - -@dataclass -class ChatModeConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ChatModeConfiguration = Union[ - ChatModeConfigurationPluginConfiguration | ChatModeConfigurationUnknown -] -""" -Configuration information for Amazon Q Business conversation modes. - -For more information, see [Admin controls and -guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html) -and [Conversation -settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). -""" - -class _ChatModeConfigurationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ChatModeConfiguration: ... - -@dataclass(kw_only=True) -class ChatOutput(_SerdeShape): - """Dataclass for ChatOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass -class ChatOutputStreamTextEvent(_SerdeShape): - """ - Information about the payload of the `ChatOutputStream` event containing - the AI-generated message output. - """ - - value: TextOutputEvent - -@dataclass -class ChatOutputStreamMetadataEvent(_SerdeShape): - """ - A metadata event for a AI-generated text output message in a Amazon Q - Business conversation. - """ - - value: MetadataEvent - -@dataclass -class ChatOutputStreamActionReviewEvent(_SerdeShape): - """ - A request from Amazon Q Business to the end user for information Amazon - Q Business needs to successfully complete a requested plugin action. - """ - - value: ActionReviewEvent - -@dataclass -class ChatOutputStreamFailedAttachmentEvent(_SerdeShape): - """A failed file upload event during a web experience chat.""" - - value: FailedAttachmentEvent - -@dataclass -class ChatOutputStreamAuthChallengeRequestEvent(_SerdeShape): - """ - An authentication verification event activated by an end user request to - use a custom plugin. - """ - - value: AuthChallengeRequestEvent - -@dataclass -class ChatOutputStreamUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ChatOutputStream = Union[ - ChatOutputStreamTextEvent - | ChatOutputStreamMetadataEvent - | ChatOutputStreamActionReviewEvent - | ChatOutputStreamFailedAttachmentEvent - | ChatOutputStreamAuthChallengeRequestEvent - | ChatOutputStreamUnknown -] -"""The streaming output for the `Chat` API.""" - -class _ChatOutputStreamDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ChatOutputStream: ... - -@dataclass(kw_only=True) -class ChatResponseConfiguration(_SerdeShape): - """ - Configuration details that define how Amazon Q Business generates and - formats responses to user queries in chat interactions. This - configuration allows administrators to customize response - characteristics to meet specific organizational needs and communication - standards. - """ - - chat_response_configuration_id: str - """ - A unique identifier for your chat response configuration settings, used - to reference and manage the configuration within the Amazon Q Business - service. - """ - chat_response_configuration_arn: str - """ - The Amazon Resource Name (ARN) of the chat response configuration, which - uniquely identifies the resource across all Amazon Web Services services - and accounts. - """ - display_name: str - """ - A human-readable name for the chat response configuration, making it - easier to identify and manage multiple configurations within an - organization. - """ - response_configuration_summary: str | None = ... - """ - A summary of the response configuration settings, providing a concise - overview of the key parameters that define how responses are generated - and formatted. - """ - status: str - """ - The current status of the chat response configuration, indicating - whether it is active, pending, or in another state that affects its - availability for use in chat interactions. - """ - created_at: datetime | None = ... - """ - The timestamp indicating when the chat response configuration was - initially created, useful for tracking the lifecycle of configuration - resources. - """ - updated_at: datetime | None = ... - """ - The timestamp indicating when the chat response configuration was last - modified, helping administrators track changes and maintain version - awareness. - """ - -@dataclass(kw_only=True) -class ChatResponseConfigurationDetail(_SerdeShape): - """ - Detailed information about a chat response configuration, including - comprehensive settings and parameters that define how Amazon Q Business - generates and formats responses. - """ - - response_configurations: dict[str, ResponseConfiguration] | None = ... - """ - A collection of specific response configuration settings that - collectively define how responses are generated, formatted, and - presented to users in chat interactions. - """ - response_configuration_summary: str | None = ... - """ - A summary of the response configuration details, providing a concise - overview of the key parameters and settings that define the response - generation behavior. - """ - status: str | None = ... - """ - The current status of the chat response configuration, indicating - whether it is active, pending, or in another state that affects its - availability for use. - """ - error: ErrorDetail | None = ... - """Provides information about a Amazon Q Business request error.""" - updated_at: datetime | None = ... - """ - The timestamp indicating when the detailed chat response configuration - was last modified, helping administrators track changes and maintain - version awareness. - """ - -class ChatResponseConfigurationStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - UPDATING = "UPDATING" - FAILED = "FAILED" - ACTIVE = "ACTIVE" - -@dataclass(kw_only=True) -class ChatSyncInput(_SerdeShape): - """Dataclass for ChatSyncInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application linked to the Amazon - Q Business conversation. - """ - user_id: str | None = ... - """The identifier of the user attached to the chat input.""" - user_groups: list[str] | None = ... - """The group names that a user associated with the chat input belongs to.""" - user_message: str | None = ... - """A end user message in a conversation.""" - attachments: list[AttachmentInput] | None = ... - """ - A list of files uploaded directly during chat. You can upload a maximum - of 5 files of upto 10 MB each. - """ - action_execution: ActionExecution | None = ... - """ - A request from an end user to perform an Amazon Q Business plugin - action. - """ - auth_challenge_response: AuthChallengeResponse | None = ... - """ - An authentication verification event response by a third party - authentication server to Amazon Q Business. - """ - conversation_id: str | None = ... - """The identifier of the Amazon Q Business conversation.""" - parent_message_id: str | None = ... - """The identifier of the previous system message in a conversation.""" - attribute_filter: AttributeFilter | None = ... - """ - Enables filtering of Amazon Q Business web experience responses based on - document attributes or metadata fields. - """ - chat_mode: str | None = ... - """ - The `chatMode` parameter determines the chat modes available to Amazon Q - Business users: - - - `RETRIEVAL_MODE` - If you choose this mode, Amazon Q generates - responses solely from the data sources connected and indexed by the - application. If an answer is not found in the data sources or there - are no data sources available, Amazon Q will respond with a \"*No - Answer Found*\" message, unless LLM knowledge has been enabled. In - that case, Amazon Q will generate a response from the LLM knowledge - - - `CREATOR_MODE` - By selecting this mode, you can choose to generate - responses only from the LLM knowledge. You can also attach files and - have Amazon Q generate a response based on the data in those files. If - the attached files do not contain an answer for the query, Amazon Q - will automatically fall back to generating a response from the LLM - knowledge. - - - `PLUGIN_MODE` - By selecting this mode, users can choose to use - plugins in chat to get their responses. - - Note: - If none of the modes are selected, Amazon Q will only respond using the - information from the attached files. - - For more information, see [Admin controls and - guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html), - [Plugins](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html), - and [Response - sources](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). - """ - chat_mode_configuration: ChatModeConfiguration | None = ... - """The chat mode configuration for an Amazon Q Business application.""" - client_token: str | None = ... - """A token that you provide to identify a chat request.""" - -@dataclass(kw_only=True) -class ChatSyncOutput(_SerdeShape): - """Dataclass for ChatSyncOutput structure.""" - - conversation_id: str | None = ... - """The identifier of the Amazon Q Business conversation.""" - system_message: str | None = ... - """An AI-generated message in a conversation.""" - system_message_id: str | None = ... - """ - The identifier of an Amazon Q Business AI generated message within the - conversation. - """ - user_message_id: str | None = ... - """ - The identifier of an Amazon Q Business end user text input message - within the conversation. - """ - action_review: ActionReview | None = ... - """ - A request from Amazon Q Business to the end user for information Amazon - Q Business needs to successfully complete a requested plugin action. - """ - auth_challenge_request: AuthChallengeRequest | None = ... - """ - An authentication verification event activated by an end user request to - use a custom plugin. - """ - source_attributions: list[SourceAttribution | None] | None = ... - """The source documents used to generate the conversation response.""" - failed_attachments: list[AttachmentOutput] | None = ... - """A list of files which failed to upload during chat.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CheckDocumentAccessInput(_SerdeShape): - """Dataclass for CheckDocumentAccessInput structure.""" - - application_id: str | None = ... - """ - The unique identifier of the application. This is required to identify - the specific Amazon Q Business application context for the document - access check. - """ - index_id: str | None = ... - """ - The unique identifier of the index. Used to locate the correct index - within the application where the document is stored. - """ - user_id: str | None = ... - """ - The unique identifier of the user. Used to check the access permissions - for this specific user against the document's ACL. - """ - document_id: str | None = ... - """ - The unique identifier of the document. Specifies which document's - access permissions are being checked. - """ - data_source_id: str | None = ... - """ - The unique identifier of the data source. Identifies the specific data - source from which the document originates. Should not be used when a - document is uploaded directly with BatchPutDocument, as no dataSourceId - is available or necessary. - """ - -@dataclass(kw_only=True) -class CheckDocumentAccessOutput(_SerdeShape): - """Dataclass for CheckDocumentAccessOutput structure.""" - - user_groups: list[AssociatedGroup] | None = ... - """ - An array of groups the user is part of for the specified data source. - Each group has a name and type. - """ - user_aliases: list[AssociatedUser] | None = ... - """ - An array of aliases associated with the user. This includes both global - and local aliases, each with a name and type. - """ - has_access: bool | None = ... - """ - A boolean value indicating whether the specified user has access to the - document, either direct access or transitive access via groups and - aliases attached to the document. - """ - document_acl: DocumentAcl | None = ... - """ - The Access Control List (ACL) associated with the document. Includes - allowlist and denylist conditions that determine user access. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ConfigurationEvent(_SerdeShape): - """ - A configuration event activated by an end user request to select a - specific chat mode. - """ - - chat_mode: str | None = ... - """ - The chat modes available to an Amazon Q Business end user. - - - `RETRIEVAL_MODE` - The default chat mode for an Amazon Q Business - application. When this mode is enabled, Amazon Q Business generates - responses only from data sources connected to an Amazon Q Business - application. - - - `CREATOR_MODE` - By selecting this mode, users can choose to generate - responses only from the LLM knowledge, without consulting connected - data sources, for a chat request. - - - `PLUGIN_MODE` - By selecting this mode, users can choose to use - plugins in chat. - - For more information, see [Admin controls and - guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html), - [Plugins](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html), - and [Conversation - settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). - """ - chat_mode_configuration: ChatModeConfiguration | None = ... - """ - Configuration information for Amazon Q Business conversation modes. - - For more information, see [Admin controls and - guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html) - and [Conversation - settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). - """ - attribute_filter: AttributeFilter | None = ... - """ - Enables filtering of responses based on document attributes or metadata - fields. - """ - -@dataclass(kw_only=True) -class ConflictException(ServiceError, _SerdeShape): - """ - You are trying to perform an action that conflicts with the current - status of your resource. Fix any inconsistencies with your resources and - try again. - """ - - resource_id: str - """The identifier of the resource affected.""" - resource_type: str - """The type of the resource affected.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ContentBlockerRule(_SerdeShape): - """ - A rule for configuring how Amazon Q Business responds when it encounters - a a blocked topic. You can configure a custom message to inform your end - users that they have asked about a restricted topic and suggest any next - steps they should take. - """ - - system_message_override: str | None = ... - """ - The configured custom message displayed to an end user informing them - that they've used a blocked phrase during chat. - """ - -@dataclass(kw_only=True) -class ContentRetrievalRule(_SerdeShape): - """ - Rules for retrieving content from data sources connected to a Amazon Q - Business application for a specific topic control configuration. - """ - - eligible_data_sources: list[EligibleDataSource] | None = ... - """ - Specifies data sources in a Amazon Q Business application to use for - content generation. - """ - -@dataclass -class ContentSourceRetriever(_SerdeShape): - """The retriever to use as the content source.""" - - value: RetrieverContentSource - -@dataclass -class ContentSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ContentSource = Union[ContentSourceRetriever | ContentSourceUnknown] -"""Specifies the source of content to search in.""" - -class _ContentSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ContentSource: ... - -class ContentType(UnknownEnumMixin, StrEnum): - PDF = "PDF" - HTML = "HTML" - MS_WORD = "MS_WORD" - PLAIN_TEXT = "PLAIN_TEXT" - PPT = "PPT" - RTF = "RTF" - XML = "XML" - XSLT = "XSLT" - MS_EXCEL = "MS_EXCEL" - CSV = "CSV" - JSON = "JSON" - MD = "MD" - -@dataclass(kw_only=True) -class Conversation(_SerdeShape): - """A conversation in an Amazon Q Business application.""" - - conversation_id: str | None = ... - """The identifier of the Amazon Q Business conversation.""" - title: str | None = ... - """The title of the conversation.""" - start_time: datetime | None = ... - """The start time of the conversation.""" - -@dataclass(kw_only=True) -class ConversationSource(_SerdeShape): - """ - The source reference for an existing attachment in an existing - conversation. - """ - - conversation_id: str - """The unique identifier of the Amazon Q Business conversation.""" - attachment_id: str - """The unique identifier of the Amazon Q Business attachment.""" - -@dataclass -class CopyFromSourceConversation(_SerdeShape): - """A reference to an attachment in an existing conversation.""" - - value: ConversationSource - -@dataclass -class CopyFromSourceUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -CopyFromSource = Union[CopyFromSourceConversation | CopyFromSourceUnknown] -"""The source reference for an existing attachment.""" - -class _CopyFromSourceDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> CopyFromSource: ... - -@dataclass(kw_only=True) -class CreateAnonymousWebExperienceUrlInput(_SerdeShape): - """Dataclass for CreateAnonymousWebExperienceUrlInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application environment attached - to the web experience. - """ - web_experience_id: str | None = ... - """The identifier of the web experience.""" - session_duration_in_minutes: int | None = ... - """ - The duration of the session associated with the unique URL for the web - experience. - """ - -@dataclass(kw_only=True) -class CreateAnonymousWebExperienceUrlOutput(_SerdeShape): - """Dataclass for CreateAnonymousWebExperienceUrlOutput structure.""" - - anonymous_url: str | None = ... - """ - The unique URL for accessing the web experience. - - Warning: - This URL can only be used once and must be used within 5 minutes after - it's generated. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateApplicationInput(_SerdeShape): - """Dataclass for CreateApplicationInput structure.""" - - display_name: str | None = ... - """A name for the Amazon Q Business application.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role with permissions to access - your Amazon CloudWatch logs and metrics. If this property is not - specified, Amazon Q Business will create a [service linked role - (SLR)](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles.html#slr-permissions) - and use it as the application's role. - """ - identity_type: str | None = ... - """The authentication type being used by a Amazon Q Business application.""" - iam_identity_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an identity provider being used by an - Amazon Q Business application. - """ - identity_center_instance_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM Identity Center instance you - are either creating for---or connecting to---your Amazon Q Business - application. - """ - client_ids_for_oidc: list[str] | None = ... - """The OIDC client ID for a Amazon Q Business application.""" - description: str | None = ... - """A description for the Amazon Q Business application.""" - encryption_configuration: EncryptionConfiguration | None = ... - """ - The identifier of the KMS key that is used to encrypt your data. Amazon - Q Business doesn't support asymmetric keys. - """ - tags: list[Tag] | None = ... - """ - A list of key-value pairs that identify or categorize your Amazon Q - Business application. You can also use tags to help control access to - the application. Tag keys and values can consist of Unicode letters, - digits, white space, and any of the following symbols: _ . : / = + - @. - """ - client_token: str | None = ... - """ - A token that you provide to identify the request to create your Amazon Q - Business application. - """ - attachments_configuration: AttachmentsConfiguration | None = ... - """An option to allow end users to upload files directly during chat.""" - q_apps_configuration: QAppsConfiguration | None = ... - """ - An option to allow end users to create and use Amazon Q Apps in the web - experience. - """ - personalization_configuration: PersonalizationConfiguration | None = ... - """ - Configuration information about chat response personalization. For more - information, see [Personalizing chat - responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html) - """ - quick_sight_configuration: QuickSightConfiguration | None = ... - """ - The Amazon Quick Suite configuration for an Amazon Q Business - application that uses Quick Suite for authentication. This configuration - is required if your application uses Quick Suite as the identity - provider. For more information, see [Creating an Amazon Quick Suite - integrated - application](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/create-quicksight-integrated-application.html). - """ - -@dataclass(kw_only=True) -class CreateApplicationOutput(_SerdeShape): - """Dataclass for CreateApplicationOutput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - application_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Amazon Q Business application.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateChatResponseConfigurationInput(_SerdeShape): - """Dataclass for CreateChatResponseConfigurationInput structure.""" - - application_id: str | None = ... - """ - The unique identifier of the Amazon Q Business application for which to - create the new chat response configuration. - """ - display_name: str | None = ... - """ - A human-readable name for the new chat response configuration, making it - easier to identify and manage among multiple configurations. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. This helps prevent the same configuration from being created - multiple times if retries occur. - """ - response_configurations: dict[str, ResponseConfiguration] | None = ... - """ - A collection of response configuration settings that define how Amazon Q - Business will generate and format responses to user queries in chat - interactions. - """ - tags: list[Tag] | None = ... - """ - A list of key-value pairs to apply as tags to the new chat response - configuration, enabling categorization and management of resources - across Amazon Web Services services. - """ - -@dataclass(kw_only=True) -class CreateChatResponseConfigurationOutput(_SerdeShape): - """Dataclass for CreateChatResponseConfigurationOutput structure.""" - - chat_response_configuration_id: str - """ - The unique identifier assigned to a newly created chat response - configuration, used for subsequent operations on this resource. - """ - chat_response_configuration_arn: str - """ - The Amazon Resource Name (ARN) of the newly created chat response - configuration, which uniquely identifies the resource across all Amazon - Web Services services. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDataAccessorInput(_SerdeShape): - """Dataclass for CreateDataAccessorInput structure.""" - - application_id: str | None = ... - """The unique identifier of the Amazon Q Business application.""" - principal: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role for the ISV that will be - accessing the data. - """ - action_configurations: list[ActionConfiguration] | None = ... - """ - A list of action configurations specifying the allowed actions and any - associated filters. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier you provide to ensure idempotency of - the request. - """ - display_name: str | None = ... - """A friendly name for the data accessor.""" - authentication_detail: DataAccessorAuthenticationDetail | None = ... - """ - The authentication configuration details for the data accessor. This - specifies how the ISV will authenticate when accessing data through this - data accessor. - """ - tags: list[Tag] | None = ... - """The tags to associate with the data accessor.""" - -@dataclass(kw_only=True) -class CreateDataAccessorOutput(_SerdeShape): - """Dataclass for CreateDataAccessorOutput structure.""" - - data_accessor_id: str - """The unique identifier of the created data accessor.""" - idc_application_arn: str - """ - The Amazon Resource Name (ARN) of the IAM Identity Center application - created for this data accessor. - """ - data_accessor_arn: str - """The Amazon Resource Name (ARN) of the created data accessor.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDataSourceInput(_SerdeShape): - """Dataclass for CreateDataSourceInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application the data source will - be attached to. - """ - index_id: str | None = ... - """ - The identifier of the index that you want to use with the data source - connector. - """ - display_name: str | None = ... - """A name for the data source connector.""" - configuration: _Document | None = ... - """ - Configuration information to connect your data source repository to - Amazon Q Business. Use this parameter to provide a JSON schema with - configuration information specific to your data source connector. - - Each data source has a JSON schema provided by Amazon Q Business that - you must use. For example, the Amazon S3 and Web Crawler connectors - require the following JSON schemas: - - - [Amazon S3 JSON - schema](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/s3-api.html) - - - [Web Crawler JSON - schema](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/web-crawler-api.html) - - You can find configuration templates for your specific data source using - the following steps: - - 1. Navigate to the [Supported - connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html) - page in the Amazon Q Business User Guide, and select the data source - of your choice. - - 2. Then, from your specific data source connector page, select **Using - the API**. You will find the JSON schema for your data source, - including parameter descriptions, in this section. - """ - vpc_configuration: DataSourceVpcConfiguration | None = ... - """ - Configuration information for an Amazon VPC (Virtual Private Cloud) to - connect to your data source. For more information, see [Using Amazon VPC - with Amazon Q Business - connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html). - """ - description: str | None = ... - """A description for the data source connector.""" - tags: list[Tag] | None = ... - """ - A list of key-value pairs that identify or categorize the data source - connector. You can also use tags to help control access to the data - source connector. Tag keys and values can consist of Unicode letters, - digits, white space, and any of the following symbols: _ . : / = + - @. - """ - sync_schedule: str | None = ... - """ - Sets the frequency for Amazon Q Business to check the documents in your - data source repository and update your index. If you don't set a - schedule, Amazon Q Business won't periodically update the index. - - Specify a `cron-` format schedule string or an empty string to indicate - that the index is updated on demand. You can't specify the `Schedule` - parameter when the `Type` parameter is set to `CUSTOM`. If you do, you - receive a `ValidationException` exception. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role with permission to access - the data source and required resources. This field is required for all - connector types except custom connectors, where it is optional. - """ - client_token: str | None = ... - """ - A token you provide to identify a request to create a data source - connector. Multiple calls to the `CreateDataSource` API with the same - client token will create only one data source connector. - """ - document_enrichment_configuration: DocumentEnrichmentConfiguration | None = ... - """ - Provides the configuration information for altering document metadata - and content during the document ingestion process. - - For more information, see [Custom document - enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). - """ - media_extraction_configuration: MediaExtractionConfiguration | None = ... - """ - The configuration for extracting information from media in documents - during ingestion. - """ - -@dataclass(kw_only=True) -class CreateDataSourceOutput(_SerdeShape): - """Dataclass for CreateDataSourceOutput structure.""" - - data_source_id: str | None = ... - """The identifier of the data source connector.""" - data_source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a data source in an Amazon Q Business - application. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIndexInput(_SerdeShape): - """Dataclass for CreateIndexInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application using the index.""" - display_name: str | None = ... - """A name for the Amazon Q Business index.""" - description: str | None = ... - """A description for the Amazon Q Business index.""" - type: str | None = ... - """ - The index type that's suitable for your needs. For more information on - what's included in each type of index, see [Amazon Q Business - tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers). - """ - tags: list[Tag] | None = ... - """ - A list of key-value pairs that identify or categorize the index. You can - also use tags to help control access to the index. Tag keys and values - can consist of Unicode letters, digits, white space, and any of the - following symbols: _ . : / = + - @. - """ - capacity_configuration: IndexCapacityConfiguration | None = ... - """ - The capacity units you want to provision for your index. You can add and - remove capacity to fit your usage needs. - """ - client_token: str | None = ... - """ - A token that you provide to identify the request to create an index. - Multiple calls to the `CreateIndex` API with the same client token will - create only one index. - """ - -@dataclass(kw_only=True) -class CreateIndexOutput(_SerdeShape): - """Dataclass for CreateIndexOutput structure.""" - - index_id: str | None = ... - """The identifier for the Amazon Q Business index.""" - index_arn: str | None = ... - """The Amazon Resource Name (ARN) of an Amazon Q Business index.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatePluginInput(_SerdeShape): - """Dataclass for CreatePluginInput structure.""" - - application_id: str | None = ... - """The identifier of the application that will contain the plugin.""" - display_name: str | None = ... - """A the name for your plugin.""" - type: str | None = ... - """The type of plugin you want to create.""" - auth_configuration: PluginAuthConfiguration | None = ... - """ - Authentication configuration information for an Amazon Q Business - plugin. - """ - server_url: str | None = ... - """The source URL used for plugin configuration.""" - custom_plugin_configuration: CustomPluginConfiguration | None = ... - """Contains configuration for a custom plugin.""" - tags: list[Tag] | None = ... - """ - A list of key-value pairs that identify or categorize the data source - connector. You can also use tags to help control access to the data - source connector. Tag keys and values can consist of Unicode letters, - digits, white space, and any of the following symbols: _ . : / = + - @. - """ - client_token: str | None = ... - """ - A token that you provide to identify the request to create your Amazon Q - Business plugin. - """ - -@dataclass(kw_only=True) -class CreatePluginOutput(_SerdeShape): - """Dataclass for CreatePluginOutput structure.""" - - plugin_id: str | None = ... - """The identifier of the plugin created.""" - plugin_arn: str | None = ... - """The Amazon Resource Name (ARN) of a plugin.""" - build_status: str | None = ... - """The current status of a plugin. A plugin is modified asynchronously.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateRetrieverInput(_SerdeShape): - """Dataclass for CreateRetrieverInput structure.""" - - application_id: str | None = ... - """The identifier of your Amazon Q Business application.""" - type: str | None = ... - """The type of retriever you are using.""" - display_name: str | None = ... - """The name of your retriever.""" - configuration: RetrieverConfiguration | None = ... - """ - Provides information on how the retriever used for your Amazon Q - Business application is configured. - """ - role_arn: str | None = ... - """ - The ARN of an IAM role used by Amazon Q Business to access the basic - authentication credentials stored in a Secrets Manager secret. - """ - client_token: str | None = ... - """ - A token that you provide to identify the request to create your Amazon Q - Business application retriever. - """ - tags: list[Tag] | None = ... - """ - A list of key-value pairs that identify or categorize the retriever. You - can also use tags to help control access to the retriever. Tag keys and - values can consist of Unicode letters, digits, white space, and any of - the following symbols: _ . : / = + - @. - """ - -@dataclass(kw_only=True) -class CreateRetrieverOutput(_SerdeShape): - """Dataclass for CreateRetrieverOutput structure.""" - - retriever_id: str | None = ... - """The identifier of the retriever you are using.""" - retriever_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role associated with a - retriever. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSubscriptionInput(_SerdeShape): - """Dataclass for CreateSubscriptionInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application the subscription - should be added to. - """ - principal: SubscriptionPrincipal | None = ... - """ - The IAM Identity Center `UserId` or `GroupId` of a user or group in the - IAM Identity Center instance connected to the Amazon Q Business - application. - """ - type: str | None = ... - """The type of Amazon Q Business subscription you want to create.""" - client_token: str | None = ... - """ - A token that you provide to identify the request to create a - subscription for your Amazon Q Business application. - """ - -@dataclass(kw_only=True) -class CreateSubscriptionOutput(_SerdeShape): - """Dataclass for CreateSubscriptionOutput structure.""" - - subscription_id: str | None = ... - """The identifier of the Amazon Q Business subscription created.""" - subscription_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Q Business subscription - created. - """ - current_subscription: SubscriptionDetails | None = ... - """The type of your current Amazon Q Business subscription.""" - next_subscription: SubscriptionDetails | None = ... - """The type of the Amazon Q Business subscription for the next month.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateUserInput(_SerdeShape): - """Dataclass for CreateUserInput structure.""" - - application_id: str | None = ... - """ - The identifier of the application for which the user mapping will be - created. - """ - user_id: str | None = ... - """The user emails attached to a user mapping.""" - user_aliases: list[UserAlias] | None = ... - """The list of user aliases in the mapping.""" - client_token: str | None = ... - """ - A token that you provide to identify the request to create your Amazon Q - Business user mapping. - """ - -@dataclass(kw_only=True) -class CreateUserOutput(_SerdeShape): - """Dataclass for CreateUserOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateWebExperienceInput(_SerdeShape): - """Dataclass for CreateWebExperienceInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business web experience.""" - title: str | None = ... - """The title for your Amazon Q Business web experience.""" - subtitle: str | None = ... - """A subtitle to personalize your Amazon Q Business web experience.""" - welcome_message: str | None = ... - """ - The customized welcome message for end users of an Amazon Q Business web - experience. - """ - sample_prompts_control_mode: str | None = ... - """ - Determines whether sample prompts are enabled in the web experience for - an end user. - """ - origins: list[str] | None = ... - """ - Sets the website domain origins that are allowed to embed the Amazon Q - Business web experience. The *domain origin* refers to the base URL for - accessing a website including the protocol (`http/https`), the domain - name, and the port number (if specified). - - Note: - You must only submit a *base URL* and not a full path. For example, - `https://docs.aws.amazon.com`. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the service role attached to your web - experience. - - Note: - The `roleArn` parameter is required when your Amazon Q Business - application is created with IAM Identity Center. It is not required for - SAML-based applications. - """ - tags: list[Tag] | None = ... - """ - A list of key-value pairs that identify or categorize your Amazon Q - Business web experience. You can also use tags to help control access to - the web experience. Tag keys and values can consist of Unicode letters, - digits, white space, and any of the following symbols: _ . : / = + - @. - """ - client_token: str | None = ... - """ - A token you provide to identify a request to create an Amazon Q Business - web experience. - """ - identity_provider_configuration: IdentityProviderConfiguration | None = ... - """ - Information about the identity provider (IdP) used to authenticate end - users of an Amazon Q Business web experience. - """ - browser_extension_configuration: BrowserExtensionConfiguration | None = ... - """ - The browser extension configuration for an Amazon Q Business web - experience. - - Note: - For Amazon Q Business application using external OIDC-compliant identity - providers (IdPs). The IdP administrator must add the browser extension - sign-in redirect URLs to the IdP application. For more information, see - [Configure external OIDC identity provider for your browser - extensions.](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/browser-extensions.html). - """ - customization_configuration: CustomizationConfiguration | None = ... - """ - Sets the custom logo, favicon, font, and color used in the Amazon Q web - experience. - """ - -@dataclass(kw_only=True) -class CreateWebExperienceOutput(_SerdeShape): - """Dataclass for CreateWebExperienceOutput structure.""" - - web_experience_id: str | None = ... - """The identifier of the Amazon Q Business web experience.""" - web_experience_arn: str | None = ... - """The Amazon Resource Name (ARN) of an Amazon Q Business web experience.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreatorModeConfiguration(_SerdeShape): - """ - Configuration information required to invoke chat in `CREATOR_MODE`. - - For more information, see [Admin controls and - guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html) - and [Conversation - settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). - """ - - creator_mode_control: str - """ - Status information about whether `CREATOR_MODE` has been enabled or - disabled. The default status is `DISABLED`. - """ - -class CreatorModeControl(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class CustomizationConfiguration(_SerdeShape): - """ - Contains the configuration information to customize the logo, font, and - color of an Amazon Q Business web experience with individual files for - each property or a CSS file for them all. - """ - - custom_css_url: str | None = ... - """ - Provides the URL where the custom CSS file is hosted for an Amazon Q web - experience. - """ - logo_url: str | None = ... - """ - Provides the URL where the custom logo file is hosted for an Amazon Q - web experience. - """ - font_url: str | None = ... - """ - Provides the URL where the custom font file is hosted for an Amazon Q - web experience. - """ - favicon_url: str | None = ... - """ - Provides the URL where the custom favicon file is hosted for an Amazon Q - web experience. - """ - -@dataclass(kw_only=True) -class CustomPluginConfiguration(_SerdeShape): - """Configuration information required to create a custom plugin.""" - - description: str - """A description for your custom plugin configuration.""" - api_schema_type: str - """The type of OpenAPI schema to use.""" - api_schema: APISchema | None = ... - """ - Contains either details about the S3 object containing the OpenAPI - schema for the action group or the JSON or YAML-formatted payload - defining the schema. - """ - -@dataclass(kw_only=True) -class DataAccessor(_SerdeShape): - """Provides summary information about a data accessor.""" - - display_name: str | None = ... - """The friendly name of the data accessor.""" - data_accessor_id: str | None = ... - """The unique identifier of the data accessor.""" - data_accessor_arn: str | None = ... - """The Amazon Resource Name (ARN) of the data accessor.""" - idc_application_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the associated IAM Identity Center - application. - """ - principal: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role for the ISV associated - with this data accessor. - """ - authentication_detail: DataAccessorAuthenticationDetail | None = ... - """ - The authentication configuration details for the data accessor. This - specifies how the ISV authenticates when accessing data through this - data accessor. - """ - created_at: datetime | None = ... - """The timestamp when the data accessor was created.""" - updated_at: datetime | None = ... - """The timestamp when the data accessor was last updated.""" - -@dataclass -class DataAccessorAuthenticationConfigurationIdcTrustedTokenIssuerConfiguration( - _SerdeShape -): - """ - Configuration for IAM Identity Center Trusted Token Issuer (TTI) - authentication used when the authentication type is `AWS_IAM_IDC_TTI`. - """ - - value: DataAccessorIdcTrustedTokenIssuerConfiguration - -@dataclass -class DataAccessorAuthenticationConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DataAccessorAuthenticationConfiguration = Union[ - DataAccessorAuthenticationConfigurationIdcTrustedTokenIssuerConfiguration - | DataAccessorAuthenticationConfigurationUnknown -] -""" -A union type that contains the specific authentication configuration -based on the authentication type selected. -""" - -class _DataAccessorAuthenticationConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> DataAccessorAuthenticationConfiguration: ... - -@dataclass(kw_only=True) -class DataAccessorAuthenticationDetail(_SerdeShape): - """ - Contains the authentication configuration details for a data accessor. - This structure defines how the ISV authenticates when accessing data - through the data accessor. - """ - - authentication_type: str - """ - The type of authentication to use for the data accessor. This determines - how the ISV authenticates when accessing data. You can use one of two - authentication types: - - - `AWS_IAM_IDC_TTI` - Authentication using IAM Identity Center Trusted - Token Issuer (TTI). This authentication type allows the ISV to use a - trusted token issuer to generate tokens for accessing the data. - - - `AWS_IAM_IDC_AUTH_CODE` - Authentication using IAM Identity Center - authorization code flow. This authentication type uses the standard - OAuth 2.0 authorization code flow for authentication. - """ - authentication_configuration: DataAccessorAuthenticationConfiguration | None = ... - """ - The specific authentication configuration based on the authentication - type. - """ - external_ids: list[str] | None = ... - """ - A list of external identifiers associated with this authentication - configuration. These are used to correlate the data accessor with - external systems. - """ - -class DataAccessorAuthenticationType(UnknownEnumMixin, StrEnum): - """The type of authentication mechanism used by the data accessor.""" - - AWS_IAM_IDC_TTI = "AWS_IAM_IDC_TTI" - AWS_IAM_IDC_AUTH_CODE = "AWS_IAM_IDC_AUTH_CODE" - -@dataclass(kw_only=True) -class DataAccessorIdcTrustedTokenIssuerConfiguration(_SerdeShape): - """ - Configuration details for IAM Identity Center Trusted Token Issuer (TTI) - authentication. - """ - - idc_trusted_token_issuer_arn: str - """ - The Amazon Resource Name (ARN) of the IAM Identity Center Trusted Token - Issuer that will be used for authentication. - """ - -@dataclass(kw_only=True) -class DataSource(_SerdeShape): - """A data source in an Amazon Q Business application.""" - - display_name: str | None = ... - """The name of the Amazon Q Business data source.""" - data_source_id: str | None = ... - """The identifier of the Amazon Q Business data source.""" - type: str | None = ... - """The type of the Amazon Q Business data source.""" - created_at: datetime | None = ... - """The Unix timestamp when the Amazon Q Business data source was created.""" - updated_at: datetime | None = ... - """ - The Unix timestamp when the Amazon Q Business data source was last - updated. - """ - status: str | None = ... - """The status of the Amazon Q Business data source.""" - -class DataSourceStatus(UnknownEnumMixin, StrEnum): - PENDING_CREATION = "PENDING_CREATION" - CREATING = "CREATING" - ACTIVE = "ACTIVE" - DELETING = "DELETING" - FAILED = "FAILED" - UPDATING = "UPDATING" - -@dataclass(kw_only=True) -class DataSourceSyncJob(_SerdeShape): - """ - Provides information about an Amazon Q Business data source connector - synchronization job. - """ - - execution_id: str | None = ... - """The identifier of a data source synchronization job.""" - start_time: datetime | None = ... - """The Unix time stamp when the data source synchronization job started.""" - end_time: datetime | None = ... - """The Unix timestamp when the synchronization job completed.""" - status: str | None = ... - """ - The status of the synchronization job. When the `Status` field is set to - `SUCCEEDED`, the synchronization job is done. If the status code is - `FAILED`, the `ErrorCode` and `ErrorMessage` fields give you the reason - for the failure. - """ - error: ErrorDetail | None = ... - """ - If the `Status` field is set to `FAILED`, the `ErrorCode` field - indicates the reason the synchronization failed. - """ - data_source_error_code: str | None = ... - """ - If the reason that the synchronization failed is due to an error with - the underlying data source, this field contains a code that identifies - the error. - """ - metrics: DataSourceSyncJobMetrics | None = ... - """ - Maps a batch delete document request to a specific data source sync job. - This is optional and should only be supplied when documents are deleted - by a data source connector. - """ - -@dataclass(kw_only=True) -class DataSourceSyncJobMetrics(_SerdeShape): - """ - Maps a batch delete document request to a specific Amazon Q Business - data source connector sync job. - """ - - documents_added: str | None = ... - """ - The current count of documents added from the data source during the - data source sync. - """ - documents_modified: str | None = ... - """ - The current count of documents modified in the data source during the - data source sync. - """ - documents_deleted: str | None = ... - """ - The current count of documents deleted from the data source during the - data source sync. - """ - documents_failed: str | None = ... - """ - The current count of documents that failed to sync from the data source - during the data source sync. - """ - documents_scanned: str | None = ... - """ - The current count of documents crawled by the ongoing sync job in the - data source. - """ - -class DataSourceSyncJobStatus(UnknownEnumMixin, StrEnum): - FAILED = "FAILED" - SUCCEEDED = "SUCCEEDED" - SYNCING = "SYNCING" - INCOMPLETE = "INCOMPLETE" - STOPPING = "STOPPING" - ABORTED = "ABORTED" - SYNCING_INDEXING = "SYNCING_INDEXING" - -@dataclass(kw_only=True) -class DataSourceVpcConfiguration(_SerdeShape): - """ - Provides configuration information needed to connect to an Amazon VPC - (Virtual Private Cloud). - """ - - subnet_ids: list[str] - """ - A list of identifiers for subnets within your Amazon VPC. The subnets - should be able to connect to each other in the VPC, and they should have - outgoing access to the Internet through a NAT device. - """ - security_group_ids: list[str] - """ - A list of identifiers of security groups within your Amazon VPC. The - security groups should enable Amazon Q Business to connect to the data - source. - """ - -@dataclass(kw_only=True) -class DateAttributeBoostingConfiguration(_SerdeShape): - """ - Provides information on boosting `DATE` type document attributes. - - For more information on how boosting document attributes work in Amazon - Q Business, see [Boosting using document - attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). - """ - - boosting_level: str - """ - Specifies the priority tier ranking of boosting applied to document - attributes. For version 2, this parameter indicates the relative ranking - between boosted fields (ONE being highest priority, TWO being second - highest, etc.) and determines the order in which attributes influence - document ranking in search results. For version 1, this parameter - specifies the boosting intensity. For version 2, boosting intensity - (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in - version 2, you are not allowed to boost on only one field and make this - value TWO. - """ - boosting_duration_in_seconds: int | None = ... - """ - Specifies the duration, in seconds, of a boost applies to a `DATE` type - document attribute. - """ - -@dataclass(kw_only=True) -class DeleteApplicationInput(_SerdeShape): - """Dataclass for DeleteApplicationInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - -@dataclass(kw_only=True) -class DeleteApplicationOutput(_SerdeShape): - """Dataclass for DeleteApplicationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteAttachmentInput(_SerdeShape): - """Dataclass for DeleteAttachmentInput structure.""" - - application_id: str | None = ... - """The unique identifier for the Amazon Q Business application environment.""" - conversation_id: str | None = ... - """The unique identifier of the conversation.""" - attachment_id: str | None = ... - """The unique identifier for the attachment.""" - user_id: str | None = ... - """The unique identifier of the user involved in the conversation.""" - -@dataclass(kw_only=True) -class DeleteAttachmentOutput(_SerdeShape): - """Dataclass for DeleteAttachmentOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteChatControlsConfigurationInput(_SerdeShape): - """Dataclass for DeleteChatControlsConfigurationInput structure.""" - - application_id: str | None = ... - """ - The identifier of the application the chat controls have been configured - for. - """ - -@dataclass(kw_only=True) -class DeleteChatControlsConfigurationOutput(_SerdeShape): - """Dataclass for DeleteChatControlsConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteChatResponseConfigurationInput(_SerdeShape): - """Dataclass for DeleteChatResponseConfigurationInput structure.""" - - application_id: str | None = ... - """ - The unique identifier of theAmazon Q Business application from which to - delete the chat response configuration. - """ - chat_response_configuration_id: str | None = ... - """ - The unique identifier of the chat response configuration to delete from - the specified application. - """ - -@dataclass(kw_only=True) -class DeleteChatResponseConfigurationOutput(_SerdeShape): - """Dataclass for DeleteChatResponseConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteConversationInput(_SerdeShape): - """Dataclass for DeleteConversationInput structure.""" - - conversation_id: str | None = ... - """ - The identifier of the Amazon Q Business web experience conversation - being deleted. - """ - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application associated with the - conversation. - """ - user_id: str | None = ... - """The identifier of the user who is deleting the conversation.""" - -@dataclass(kw_only=True) -class DeleteConversationOutput(_SerdeShape): - """Dataclass for DeleteConversationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDataAccessorInput(_SerdeShape): - """Dataclass for DeleteDataAccessorInput structure.""" - - application_id: str | None = ... - """The unique identifier of the Amazon Q Business application.""" - data_accessor_id: str | None = ... - """The unique identifier of the data accessor to delete.""" - -@dataclass(kw_only=True) -class DeleteDataAccessorOutput(_SerdeShape): - """Dataclass for DeleteDataAccessorOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDataSourceInput(_SerdeShape): - """Dataclass for DeleteDataSourceInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application used with the data - source connector. - """ - index_id: str | None = ... - """The identifier of the index used with the data source connector.""" - data_source_id: str | None = ... - """The identifier of the data source connector that you want to delete.""" - -@dataclass(kw_only=True) -class DeleteDataSourceOutput(_SerdeShape): - """Dataclass for DeleteDataSourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDocument(_SerdeShape): - """A document deleted from an Amazon Q Business data source connector.""" - - document_id: str - """The identifier of the deleted document.""" - -@dataclass(kw_only=True) -class DeleteGroupInput(_SerdeShape): - """Dataclass for DeleteGroupInput structure.""" - - application_id: str | None = ... - """The identifier of the application in which the group mapping belongs.""" - index_id: str | None = ... - """The identifier of the index you want to delete the group from.""" - group_name: str | None = ... - """The name of the group you want to delete.""" - data_source_id: str | None = ... - """ - The identifier of the data source linked to the group - - A group can be tied to multiple data sources. You can delete a group - from accessing documents in a certain data source. For example, the - groups \"Research\", \"Engineering\", and \"Sales and Marketing\" are - all tied to the company's documents stored in the data sources - Confluence and Salesforce. You want to delete \"Research\" and - \"Engineering\" groups from Salesforce, so that these groups cannot - access customer-related documents stored in Salesforce. Only \"Sales and - Marketing\" should access documents in the Salesforce data source. - """ - -@dataclass(kw_only=True) -class DeleteGroupOutput(_SerdeShape): - """Dataclass for DeleteGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIndexInput(_SerdeShape): - """Dataclass for DeleteIndexInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application the Amazon Q - Business index is linked to. - """ - index_id: str | None = ... - """The identifier of the Amazon Q Business index.""" - -@dataclass(kw_only=True) -class DeleteIndexOutput(_SerdeShape): - """Dataclass for DeleteIndexOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePluginInput(_SerdeShape): - """Dataclass for DeletePluginInput structure.""" - - application_id: str | None = ... - """The identifier the application attached to the Amazon Q Business plugin.""" - plugin_id: str | None = ... - """The identifier of the plugin being deleted.""" - -@dataclass(kw_only=True) -class DeletePluginOutput(_SerdeShape): - """Dataclass for DeletePluginOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteRetrieverInput(_SerdeShape): - """Dataclass for DeleteRetrieverInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application using the retriever.""" - retriever_id: str | None = ... - """The identifier of the retriever being deleted.""" - -@dataclass(kw_only=True) -class DeleteRetrieverOutput(_SerdeShape): - """Dataclass for DeleteRetrieverOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteUserInput(_SerdeShape): - """Dataclass for DeleteUserInput structure.""" - - application_id: str | None = ... - """The identifier of the application from which the user is being deleted.""" - user_id: str | None = ... - """The user email being deleted.""" - -@dataclass(kw_only=True) -class DeleteUserOutput(_SerdeShape): - """Dataclass for DeleteUserOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteWebExperienceInput(_SerdeShape): - """Dataclass for DeleteWebExperienceInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application linked to the Amazon - Q Business web experience. - """ - web_experience_id: str | None = ... - """The identifier of the Amazon Q Business web experience being deleted.""" - -@dataclass(kw_only=True) -class DeleteWebExperienceOutput(_SerdeShape): - """Dataclass for DeleteWebExperienceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisassociatePermissionInput(_SerdeShape): - """Dataclass for DisassociatePermissionInput structure.""" - - application_id: str | None = ... - """The unique identifier of the Amazon Q Business application.""" - statement_id: str | None = ... - """The statement ID of the permission to remove.""" - -@dataclass(kw_only=True) -class DisassociatePermissionOutput(_SerdeShape): - """Dataclass for DisassociatePermissionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Document(_SerdeShape): - """A document in an Amazon Q Business application.""" - - id: str - """The identifier of the document.""" - attributes: list[DocumentAttribute] | None = ... - """ - Custom attributes to apply to the document for refining Amazon Q - Business web experience responses. - """ - content: DocumentContent | None = ... - """The contents of the document.""" - content_type: str | None = ... - """ - The file type of the document in the Blob field. - - If you want to index snippets or subsets of HTML documents instead of - the entirety of the HTML documents, you add the `HTML` start and closing - tags (`content`) around the content. - """ - title: str | None = ... - """The title of the document.""" - access_configuration: AccessConfiguration | None = ... - """Configuration information for access permission to a document.""" - document_enrichment_configuration: DocumentEnrichmentConfiguration | None = ... - """ - The configuration information for altering document metadata and content - during the document ingestion process. - """ - media_extraction_configuration: MediaExtractionConfiguration | None = ... - """The configuration for extracting information from media in the document.""" - -@dataclass(kw_only=True) -class DocumentAcl(_SerdeShape): - """ - Represents the Access Control List (ACL) for a document, containing both - allowlist and denylist conditions. - """ - - allowlist: DocumentAclMembership | None = ... - """ - The allowlist conditions for the document. Users or groups matching - these conditions are granted access to the document. - """ - deny_list: DocumentAclMembership | None = ... - """ - The denylist conditions for the document. Users or groups matching these - conditions are denied access to the document, overriding allowlist - permissions. - """ - -@dataclass(kw_only=True) -class DocumentAclCondition(_SerdeShape): - """ - Represents a condition in the document's ACL, specifying access rules - for users and groups. - """ - - member_relation: str | None = ... - """ - The logical relation between members in the condition, determining how - multiple user or group conditions are combined. - """ - users: list[DocumentAclUser] | None = ... - """ - An array of user identifiers that this condition applies to. Users - listed here are subject to the access rule defined by this condition. - """ - groups: list[DocumentAclGroup] | None = ... - """ - An array of group identifiers that this condition applies to. Groups - listed here are subject to the access rule defined by this condition. - """ - -@dataclass(kw_only=True) -class DocumentAclGroup(_SerdeShape): - """ - Represents a group in the document's ACL, used to define access - permissions for multiple users collectively. - """ - - name: str | None = ... - """ - The name of the group in the document's ACL. This is used to identify - the group when applying access rules. - """ - type: str | None = ... - """ - The type of the group. This indicates the scope of the group's - applicability in access control. - """ - -@dataclass(kw_only=True) -class DocumentAclMembership(_SerdeShape): - """ - Represents membership rules in the document's ACL, defining how users - or groups are associated with access permissions. - """ - - member_relation: str | None = ... - """ - The logical relation between members in the membership rule, determining - how multiple conditions are combined. - """ - conditions: list[DocumentAclCondition] | None = ... - """ - An array of conditions that define the membership rules. Each condition - specifies criteria for users or groups to be included in this - membership. - """ - -@dataclass(kw_only=True) -class DocumentAclUser(_SerdeShape): - """ - Represents a user in the document's ACL, used to define access - permissions for individual users. - """ - - id: str | None = ... - """ - The unique identifier of the user in the document's ACL. This is used - to identify the user when applying access rules. - """ - type: str | None = ... - """ - The type of the user. This indicates the scope of the user's - applicability in access control. - """ - -@dataclass(kw_only=True) -class DocumentAttribute(_SerdeShape): - """A document attribute or metadata field.""" - - name: str - """The identifier for the attribute.""" - value: DocumentAttributeValue - """The value of the attribute.""" - -@dataclass -class DocumentAttributeBoostingConfigurationNumberConfiguration(_SerdeShape): - """ - Provides information on boosting `NUMBER` type document attributes. - - `NUMBER` attributes are not supported when using - `NativeIndexConfiguration` version 2, which focuses on `DATE` attributes - for recency and `STRING` attributes for source prioritization. - """ - - value: NumberAttributeBoostingConfiguration - -@dataclass -class DocumentAttributeBoostingConfigurationStringConfiguration(_SerdeShape): - """ - Provides information on boosting `STRING` type document attributes. - - Version 2 assigns priority tiers to `STRING` attributes, establishing - clear hierarchical relationships with other boosted attributes. - """ - - value: StringAttributeBoostingConfiguration - -@dataclass -class DocumentAttributeBoostingConfigurationDateConfiguration(_SerdeShape): - """ - Provides information on boosting `DATE` type document attributes. - - Version 2 assigns priority tiers to `DATE` attributes, establishing - clear hierarchical relationships with other boosted attributes. - """ - - value: DateAttributeBoostingConfiguration - -@dataclass -class DocumentAttributeBoostingConfigurationStringListConfiguration(_SerdeShape): - """ - Provides information on boosting `STRING_LIST` type document attributes. - - `STRING_LIST` attributes are not supported when using - `NativeIndexConfiguration` version 2, which focuses on `DATE` attributes - for recency and `STRING` attributes for source prioritization. - """ - - value: StringListAttributeBoostingConfiguration - -@dataclass -class DocumentAttributeBoostingConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DocumentAttributeBoostingConfiguration = Union[ - DocumentAttributeBoostingConfigurationNumberConfiguration - | DocumentAttributeBoostingConfigurationStringConfiguration - | DocumentAttributeBoostingConfigurationDateConfiguration - | DocumentAttributeBoostingConfigurationStringListConfiguration - | DocumentAttributeBoostingConfigurationUnknown -] -""" -Provides information on boosting supported Amazon Q Business document -attribute types. When an end user chat query matches document attributes -that have been boosted, Amazon Q Business prioritizes generating -responses from content that matches the boosted document attributes. - -In version 2, boosting uses numeric values (ONE, TWO) to indicate -priority tiers that establish clear hierarchical relationships between -boosted attributes. This allows for more precise control over how -different attributes influence search results. - -Note: - For `STRING` and `STRING_LIST` type document attributes to be used for - boosting on the console and the API, they must be enabled for search - using the - [DocumentAttributeConfiguration](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeConfiguration.html) - object of the - [UpdateIndex](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_UpdateIndex.html) - API. If you haven't enabled searching on these attributes, you can't - boost attributes of these data types on either the console or the API. - -For more information on how boosting document attributes work in Amazon -Q Business, see [Boosting using document -attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). -""" - -class _DocumentAttributeBoostingConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> DocumentAttributeBoostingConfiguration: ... - -class DocumentAttributeBoostingLevel(UnknownEnumMixin, StrEnum): - NONE = "NONE" - LOW = "LOW" - MEDIUM = "MEDIUM" - HIGH = "HIGH" - VERY_HIGH = "VERY_HIGH" - ONE = "ONE" - TWO = "TWO" - -@dataclass(kw_only=True) -class DocumentAttributeCondition(_SerdeShape): - """ - The condition used for the target document attribute or metadata field - when ingesting documents into Amazon Q Business. You use this with - [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) - to apply the condition. - - For example, you can create the 'Department' target field and have it - prefill department names associated with the documents based on - information in the 'Source_URI' field. Set the condition that if the - 'Source_URI' field contains 'financial' in its URI value, then - prefill the target field 'Department' with the target value - 'Finance' for the document. - - Amazon Q Business can't create a target field if it has not already - been created as an index field. After you create your index field, you - can create a document metadata field using `DocumentAttributeTarget`. - Amazon Q Business then will map your newly created metadata field to - your index field. - """ - - key: str - """ - The identifier of the document attribute used for the condition. - - For example, 'Source_URI' could be an identifier for the attribute or - metadata field that contains source URIs associated with the documents. - - Amazon Q Business currently doesn't support `_document_body` as an - attribute key used for the condition. - """ - operator: str - """ - The identifier of the document attribute used for the condition. - - For example, 'Source_URI' could be an identifier for the attribute or - metadata field that contains source URIs associated with the documents. - - Amazon Q Business currently does not support `_document_body` as an - attribute key used for the condition. - """ - value: DocumentAttributeValue | None = ... - """ - The value of a document attribute. You can only provide one value for a - document attribute. - """ - -@dataclass(kw_only=True) -class DocumentAttributeConfiguration(_SerdeShape): - """ - Configuration information for document attributes. Document attributes - are metadata or fields associated with your documents. For example, the - company department name associated with each document. - - For more information, see [Understanding document - attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html). - """ - - name: str | None = ... - """The name of the document attribute.""" - type: str | None = ... - """The type of document attribute.""" - search: str | None = ... - """ - Information about whether the document attribute can be used by an end - user to search for information on their web experience. - """ - -@dataclass(kw_only=True) -class DocumentAttributeTarget(_SerdeShape): - """ - The target document attribute or metadata field you want to alter when - ingesting documents into Amazon Q Business. - - For example, you can delete all customer identification numbers - associated with the documents, stored in the document metadata field - called 'Customer_ID' by setting the target key as 'Customer_ID' and - the deletion flag to `TRUE`. This removes all customer ID values in the - field 'Customer_ID'. This would scrub personally identifiable - information from each document's metadata. - - Amazon Q Business can't create a target field if it has not already - been created as an index field. After you create your index field, you - can create a document metadata field using - [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) - . Amazon Q Business will then map your newly created document attribute - to your index field. - - You can also use this with - [`DocumentAttributeCondition`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeCondition.html) - . - """ - - key: str - """ - The identifier of the target document attribute or metadata field. For - example, 'Department' could be an identifier for the target attribute - or metadata field that includes the department names associated with the - documents. - """ - value: DocumentAttributeValue | None = ... - """ - The value of a document attribute. You can only provide one value for a - document attribute. - """ - attribute_value_operator: str | None = ... - """ - `TRUE` to delete the existing target value for your specified target - attribute key. You cannot create a target value and set this to `TRUE`. - """ - -@dataclass -class DocumentAttributeValueStringValue(_SerdeShape): - """A string.""" - - value: str - -@dataclass -class DocumentAttributeValueStringListValue(_SerdeShape): - """A list of strings.""" - - value: list[str] - -@dataclass -class DocumentAttributeValueLongValue(_SerdeShape): - """A long integer value.""" - - value: int - -@dataclass -class DocumentAttributeValueDateValue(_SerdeShape): - """ - A date expressed as an ISO 8601 string. - - It's important for the time zone to be included in the ISO 8601 - date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 - date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in - Central European Time. - """ - - value: datetime - -@dataclass -class DocumentAttributeValueUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DocumentAttributeValue = Union[ - DocumentAttributeValueStringValue - | DocumentAttributeValueStringListValue - | DocumentAttributeValueLongValue - | DocumentAttributeValueDateValue - | DocumentAttributeValueUnknown -] -""" -The value of a document attribute. You can only provide one value for a -document attribute. -""" - -class _DocumentAttributeValueDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> DocumentAttributeValue: ... - -@dataclass -class DocumentContentBlob(_SerdeShape): - """ - The contents of the document. Documents passed to the `blob` parameter - must be base64 encoded. Your code might not need to encode the document - file bytes if you're using an Amazon Web Services SDK to call Amazon Q - Business APIs. If you are calling the Amazon Q Business endpoint - directly using REST, you must base64 encode the contents before sending. - """ - - value: bytes - -@dataclass -class DocumentContentS3(_SerdeShape): - """The path to the document in an Amazon S3 bucket.""" - - value: S3 - -@dataclass -class DocumentContentUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -DocumentContent = Union[ - DocumentContentBlob | DocumentContentS3 | DocumentContentUnknown -] -""" -The contents of a document. - -Note: - Documents have size limitations. The maximum file size for a document is - 50 MB. The maximum amount of text that can be extracted from a single - document is 5 MB. For more information, see [Supported document formats - in Amazon Q - Business](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/doc-types.html). -""" - -class _DocumentContentDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> DocumentContent: ... - -class DocumentContentOperator(UnknownEnumMixin, StrEnum): - DELETE = "DELETE" - -@dataclass(kw_only=True) -class DocumentDetails(_SerdeShape): - """The details of a document within an Amazon Q Business index.""" - - document_id: str | None = ... - """The identifier of the document.""" - status: str | None = ... - """The current status of the document.""" - error: ErrorDetail | None = ... - """An error message associated with the document.""" - created_at: datetime | None = ... - """The timestamp for when the document was created.""" - updated_at: datetime | None = ... - """The timestamp for when the document was last updated.""" - -class DocumentEnrichmentConditionOperator(UnknownEnumMixin, StrEnum): - GREATER_THAN = "GREATER_THAN" - GREATER_THAN_OR_EQUALS = "GREATER_THAN_OR_EQUALS" - LESS_THAN = "LESS_THAN" - LESS_THAN_OR_EQUALS = "LESS_THAN_OR_EQUALS" - EQUALS = "EQUALS" - NOT_EQUALS = "NOT_EQUALS" - CONTAINS = "CONTAINS" - NOT_CONTAINS = "NOT_CONTAINS" - EXISTS = "EXISTS" - NOT_EXISTS = "NOT_EXISTS" - BEGINS_WITH = "BEGINS_WITH" - -@dataclass(kw_only=True) -class DocumentEnrichmentConfiguration(_SerdeShape): - """ - Provides the configuration information for altering document metadata - and content during the document ingestion process. - - For more information, see [Custom document - enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). - """ - - inline_configurations: list[InlineDocumentEnrichmentConfiguration] | None = ... - """ - Configuration information to alter document attributes or metadata - fields and content when ingesting documents into Amazon Q Business. - """ - pre_extraction_hook_configuration: HookConfiguration | None = ... - """ - Provides the configuration information for invoking a Lambda function in - Lambda to alter document metadata and content when ingesting documents - into Amazon Q Business. - - You can configure your Lambda function using the - `PreExtractionHookConfiguration` parameter if you want to apply advanced - alterations on the original or raw documents. - - If you want to apply advanced alterations on the Amazon Q Business - structured documents, you must configure your Lambda function using - `PostExtractionHookConfiguration`. - - You can only invoke one Lambda function. However, this function can - invoke other functions it requires. - - For more information, see [Custom document - enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). - """ - post_extraction_hook_configuration: HookConfiguration | None = ... - """ - Provides the configuration information for invoking a Lambda function in - Lambda to alter document metadata and content when ingesting documents - into Amazon Q Business. - - You can configure your Lambda function using the - `PreExtractionHookConfiguration` parameter if you want to apply advanced - alterations on the original or raw documents. - - If you want to apply advanced alterations on the Amazon Q Business - structured documents, you must configure your Lambda function using - `PostExtractionHookConfiguration`. - - You can only invoke one Lambda function. However, this function can - invoke other functions it requires. - - For more information, see [Custom document - enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). - """ - -class DocumentStatus(UnknownEnumMixin, StrEnum): - RECEIVED = "RECEIVED" - PROCESSING = "PROCESSING" - INDEXED = "INDEXED" - UPDATED = "UPDATED" - FAILED = "FAILED" - DELETING = "DELETING" - DELETED = "DELETED" - DOCUMENT_FAILED_TO_INDEX = "DOCUMENT_FAILED_TO_INDEX" - -@dataclass(kw_only=True) -class EligibleDataSource(_SerdeShape): - """ - The identifier of the data source Amazon Q Business will generate - responses from. - """ - - index_id: str | None = ... - """The identifier of the index the data source is attached to.""" - data_source_id: str | None = ... - """The identifier of the data source.""" - -@dataclass(kw_only=True) -class EncryptionConfiguration(_SerdeShape): - """ - Provides the identifier of the KMS key used to encrypt data indexed by - Amazon Q Business. Amazon Q Business doesn't support asymmetric keys. - """ - - kms_key_id: str | None = ... - """ - The identifier of the KMS key. Amazon Q Business doesn't support - asymmetric keys. - """ - -@dataclass(kw_only=True) -class EndOfInputEvent(_SerdeShape): - """The end of the streaming input for the `Chat` API.""" - -class ErrorCode(UnknownEnumMixin, StrEnum): - INTERNAL_ERROR = "InternalError" - INVALID_REQUEST = "InvalidRequest" - RESOURCE_INACTIVE = "ResourceInactive" - RESOURCE_NOT_FOUND = "ResourceNotFound" - -@dataclass(kw_only=True) -class ErrorDetail(_SerdeShape): - """Provides information about a Amazon Q Business request error.""" - - error_message: str | None = ... - """The message explaining the Amazon Q Business request error.""" - error_code: str | None = ... - """The code associated with the Amazon Q Business request error.""" - -@dataclass(kw_only=True) -class ExternalResourceException(ServiceError, _SerdeShape): - """ - An external resource that you configured with your application is - returning errors and preventing this operation from succeeding. Fix - those errors and try again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FailedAttachmentEvent(_SerdeShape): - """A failed file upload during web experience chat.""" - - conversation_id: str | None = ... - """ - The identifier of the conversation associated with the failed file - upload. - """ - user_message_id: str | None = ... - """ - The identifier of the end user chat message associated with the file - upload. - """ - system_message_id: str | None = ... - """ - The identifier of the AI-generated message associated with the file - upload. - """ - attachment: AttachmentOutput | None = ... - """The details of a file uploaded during chat.""" - -@dataclass(kw_only=True) -class FailedDocument(_SerdeShape): - """ - A list of documents that could not be removed from an Amazon Q Business - index. Each entry contains an error message that indicates why the - document couldn't be removed from the index. - """ - - id: str | None = ... - """ - The identifier of the document that couldn't be removed from the Amazon - Q Business index. - """ - error: ErrorDetail | None = ... - """An explanation for why the document couldn't be removed from the index.""" - data_source_id: str | None = ... - """ - The identifier of the Amazon Q Business data source connector that - contains the failed document. - """ - -@dataclass(kw_only=True) -class GetApplicationInput(_SerdeShape): - """Dataclass for GetApplicationInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - -@dataclass(kw_only=True) -class GetApplicationOutput(_SerdeShape): - """Dataclass for GetApplicationOutput structure.""" - - display_name: str | None = ... - """The name of the Amazon Q Business application.""" - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - application_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Amazon Q Business application.""" - identity_type: str | None = ... - """The authentication type being used by a Amazon Q Business application.""" - iam_identity_provider_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an identity provider being used by an - Amazon Q Business application. - """ - identity_center_application_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance - attached to your Amazon Q Business application. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM with permissions to access - your CloudWatch logs and metrics. - """ - status: str | None = ... - """The status of the Amazon Q Business application.""" - description: str | None = ... - """A description for the Amazon Q Business application.""" - encryption_configuration: EncryptionConfiguration | None = ... - """ - The identifier of the Amazon Web Services KMS key that is used to - encrypt your data. Amazon Q Business doesn't support asymmetric keys. - """ - created_at: datetime | None = ... - """ - The Unix timestamp when the Amazon Q Business application was last - updated. - """ - updated_at: datetime | None = ... - """ - The Unix timestamp when the Amazon Q Business application was last - updated. - """ - error: ErrorDetail | None = ... - """ - If the `Status` field is set to `ERROR`, the `ErrorMessage` field - contains a description of the error that caused the synchronization to - fail. - """ - attachments_configuration: AppliedAttachmentsConfiguration | None = ... - """Settings for whether end users can upload files directly during chat.""" - q_apps_configuration: QAppsConfiguration | None = ... - """ - Settings for whether end users can create and use Amazon Q Apps in the - web experience. - """ - personalization_configuration: PersonalizationConfiguration | None = ... - """ - Configuration information about chat response personalization. For more - information, see [Personalizing chat - responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html). - """ - auto_subscription_configuration: AutoSubscriptionConfiguration | None = ... - """ - Settings for auto-subscription behavior for this application. This is - only applicable to SAML and OIDC applications. - """ - client_ids_for_oidc: list[str] | None = ... - """The OIDC client ID for a Amazon Q Business application.""" - quick_sight_configuration: QuickSightConfiguration | None = ... - """ - The Amazon Quick Suite authentication configuration for the Amazon Q - Business application. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetChatControlsConfigurationInput(_SerdeShape): - """Dataclass for GetChatControlsConfigurationInput structure.""" - - application_id: str | None = ... - """ - The identifier of the application for which the chat controls are - configured. - """ - max_results: int | None = ... - """The maximum number of configured chat controls to return.""" - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - Amazon Q Business chat controls configured. - """ - -@dataclass(kw_only=True) -class GetChatControlsConfigurationOutput(_SerdeShape): - """Dataclass for GetChatControlsConfigurationOutput structure.""" - - response_scope: str | None = ... - """ - The response scope configured for a Amazon Q Business application. This - determines whether your application uses its retrieval augmented - generation (RAG) system to generate answers only from your enterprise - data, or also uses the large language models (LLM) knowledge to respons - to end user questions in chat. - """ - orchestration_configuration: AppliedOrchestrationConfiguration | None = ... - """ - The chat response orchestration settings for your application. - - Note: - Chat orchestration is optimized to work for English language content. - For more details on language support in Amazon Q Business, see - [Supported - languages](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/supported-languages.html). - """ - blocked_phrases: BlockedPhrasesConfiguration | None = ... - """The phrases blocked from chat by your chat control configuration.""" - topic_configurations: list[TopicConfiguration] | None = ... - """ - The topic specific controls configured for a Amazon Q Business - application. - """ - creator_mode_configuration: AppliedCreatorModeConfiguration | None = ... - """The configuration details for `CREATOR_MODE`.""" - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - Amazon Q Business chat controls configured. - """ - hallucination_reduction_configuration: ( - HallucinationReductionConfiguration | None - ) = ... - """The hallucination reduction settings for your application.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetChatResponseConfigurationInput(_SerdeShape): - """Dataclass for GetChatResponseConfigurationInput structure.""" - - application_id: str | None = ... - """ - The unique identifier of the Amazon Q Business application containing - the chat response configuration to retrieve. - """ - chat_response_configuration_id: str | None = ... - """ - The unique identifier of the chat response configuration to retrieve - from the specified application. - """ - -@dataclass(kw_only=True) -class GetChatResponseConfigurationOutput(_SerdeShape): - """Dataclass for GetChatResponseConfigurationOutput structure.""" - - chat_response_configuration_id: str | None = ... - """The unique identifier of the retrieved chat response configuration.""" - chat_response_configuration_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the retrieved chat response - configuration, which uniquely identifies the resource across all Amazon - Web Services services. - """ - display_name: str | None = ... - """ - The human-readable name of the retrieved chat response configuration, - making it easier to identify among multiple configurations. - """ - created_at: datetime | None = ... - """ - The timestamp indicating when the chat response configuration was - initially created. - """ - in_use_configuration: ChatResponseConfigurationDetail | None = ... - """ - The currently active configuration settings that are being used to - generate responses in the Amazon Q Business application. - """ - last_update_configuration: ChatResponseConfigurationDetail | None = ... - """ - Information about the most recent update to the configuration, including - timestamp and modification details. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDataAccessorInput(_SerdeShape): - """Dataclass for GetDataAccessorInput structure.""" - - application_id: str | None = ... - """The unique identifier of the Amazon Q Business application.""" - data_accessor_id: str | None = ... - """The unique identifier of the data accessor to retrieve.""" - -@dataclass(kw_only=True) -class GetDataAccessorOutput(_SerdeShape): - """Dataclass for GetDataAccessorOutput structure.""" - - display_name: str | None = ... - """The friendly name of the data accessor.""" - data_accessor_id: str | None = ... - """The unique identifier of the data accessor.""" - data_accessor_arn: str | None = ... - """The Amazon Resource Name (ARN) of the data accessor.""" - application_id: str | None = ... - """ - The unique identifier of the Amazon Q Business application associated - with this data accessor. - """ - idc_application_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM Identity Center application - associated with this data accessor. - """ - principal: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role for the ISV associated - with this data accessor. - """ - action_configurations: list[ActionConfiguration] | None = ... - """ - The list of action configurations specifying the allowed actions and any - associated filters. - """ - authentication_detail: DataAccessorAuthenticationDetail | None = ... - """ - The authentication configuration details for the data accessor. This - specifies how the ISV authenticates when accessing data through this - data accessor. - """ - created_at: datetime | None = ... - """The timestamp when the data accessor was created.""" - updated_at: datetime | None = ... - """The timestamp when the data accessor was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDataSourceInput(_SerdeShape): - """Dataclass for GetDataSourceInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - index_id: str | None = ... - """The identfier of the index used with the data source connector.""" - data_source_id: str | None = ... - """The identifier of the data source connector.""" - -@dataclass(kw_only=True) -class GetDataSourceOutput(_SerdeShape): - """Dataclass for GetDataSourceOutput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - index_id: str | None = ... - """The identifier of the index linked to the data source connector.""" - data_source_id: str | None = ... - """The identifier of the data source connector.""" - data_source_arn: str | None = ... - """The Amazon Resource Name (ARN) of the data source.""" - display_name: str | None = ... - """The name for the data source connector.""" - type: str | None = ... - """The type of the data source connector. For example, `S3`.""" - configuration: _Document | None = ... - """The details of how the data source connector is configured.""" - vpc_configuration: DataSourceVpcConfiguration | None = ... - """ - Configuration information for an Amazon VPC (Virtual Private Cloud) to - connect to your data source. - """ - created_at: datetime | None = ... - """The Unix timestamp when the data source connector was created.""" - updated_at: datetime | None = ... - """The Unix timestamp when the data source connector was last updated.""" - description: str | None = ... - """The description for the data source connector.""" - status: str | None = ... - """ - The current status of the data source connector. When the `Status` field - value is `FAILED`, the `ErrorMessage` field contains a description of - the error that caused the data source connector to fail. - """ - sync_schedule: str | None = ... - """The schedule for Amazon Q Business to update the index.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the role with permission to access the - data source and required resources. - """ - error: ErrorDetail | None = ... - """ - When the `Status` field value is `FAILED`, the `ErrorMessage` field - contains a description of the error that caused the data source - connector to fail. - """ - document_enrichment_configuration: DocumentEnrichmentConfiguration | None = ... - """ - Provides the configuration information for altering document metadata - and content during the document ingestion process. - - For more information, see [Custom document - enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). - """ - media_extraction_configuration: MediaExtractionConfiguration | None = ... - """ - The configuration for extracting information from media in documents for - the data source. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetDocumentContentInput(_SerdeShape): - """Dataclass for GetDocumentContentInput structure.""" - - application_id: str | None = ... - """ - The unique identifier of the Amazon Q Business application containing - the document. This ensures the request is scoped to the correct - application environment and its associated security policies. - """ - index_id: str | None = ... - """The identifier of the index where documents are indexed.""" - data_source_id: str | None = ... - """ - The identifier of the data source from which the document was ingested. - This field is not present if the document is ingested by directly - calling the BatchPutDocument API. If the document is from a file-upload - data source, the datasource will be - \"uploaded-docs-file-stat-datasourceid\". - """ - document_id: str | None = ... - """ - The unique identifier of the document that is indexed via - BatchPutDocument API or file-upload or connector sync. It is also found - in chat or chatSync response. - """ - output_format: str | None = ... - """Document outputFormat. Defaults to RAW if not selected.""" - -@dataclass(kw_only=True) -class GetDocumentContentOutput(_SerdeShape): - """Dataclass for GetDocumentContentOutput structure.""" - - presigned_url: str - """ - A pre-signed URL that provides temporary access to download the document - content directly from Amazon Q Business. The URL expires after 5 minutes - for security purposes. This URL is generated only after successful ACL - validation. - """ - mime_type: str - """ - The MIME type of the document content. When outputFormat is RAW, this - corresponds to the original document's MIME type (e.g., - application/pdf, text/plain, - application/vnd.openxmlformats-officedocument.wordprocessingml.document). - When outputFormat is EXTRACTED, the MIME type is always - application/json. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetGroupInput(_SerdeShape): - """Dataclass for GetGroupInput structure.""" - - application_id: str | None = ... - """The identifier of the application id the group is attached to.""" - index_id: str | None = ... - """The identifier of the index the group is attached to.""" - group_name: str | None = ... - """The name of the group.""" - data_source_id: str | None = ... - """The identifier of the data source the group is attached to.""" - -@dataclass(kw_only=True) -class GetGroupOutput(_SerdeShape): - """Dataclass for GetGroupOutput structure.""" - - status: GroupStatusDetail | None = ... - """The current status of the group.""" - status_history: list[GroupStatusDetail] | None = ... - """The status history of the group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetIndexInput(_SerdeShape): - """Dataclass for GetIndexInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application connected to the - index. - """ - index_id: str | None = ... - """The identifier of the Amazon Q Business index you want information on.""" - -@dataclass(kw_only=True) -class GetIndexOutput(_SerdeShape): - """Dataclass for GetIndexOutput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application associated with the - index. - """ - index_id: str | None = ... - """The identifier of the Amazon Q Business index.""" - display_name: str | None = ... - """The name of the Amazon Q Business index.""" - index_arn: str | None = ... - """The Amazon Resource Name (ARN) of the Amazon Q Business index.""" - status: str | None = ... - """ - The current status of the index. When the value is `ACTIVE`, the index - is ready for use. If the `Status` field value is `FAILED`, the - `ErrorMessage` field contains a message that explains why. - """ - type: str | None = ... - """The type of index attached to your Amazon Q Business application.""" - description: str | None = ... - """The description for the Amazon Q Business index.""" - created_at: datetime | None = ... - """The Unix timestamp when the Amazon Q Business index was created.""" - updated_at: datetime | None = ... - """The Unix timestamp when the Amazon Q Business index was last updated.""" - capacity_configuration: IndexCapacityConfiguration | None = ... - """The storage capacity units chosen for your Amazon Q Business index.""" - document_attribute_configurations: list[DocumentAttributeConfiguration] | None = ... - """ - Configuration information for document attributes or metadata. Document - metadata are fields associated with your documents. For example, the - company department name associated with each document. For more - information, see [Understanding document - attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes-types.html#doc-attributes). - """ - error: ErrorDetail | None = ... - """ - When the `Status` field value is `FAILED`, the `ErrorMessage` field - contains a message that explains why. - """ - index_statistics: IndexStatistics | None = ... - """Provides information about the number of documents indexed.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetMediaInput(_SerdeShape): - """Dataclass for GetMediaInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business which contains the media object.""" - conversation_id: str | None = ... - """The identifier of the Amazon Q Business conversation.""" - message_id: str | None = ... - """The identifier of the Amazon Q Business message.""" - media_id: str | None = ... - """ - The identifier of the media object. You can find this in the - `sourceAttributions` returned by the `Chat`, `ChatSync`, and - `ListMessages` API responses. - """ - -@dataclass(kw_only=True) -class GetMediaOutput(_SerdeShape): - """Dataclass for GetMediaOutput structure.""" - - media_bytes: bytes | None = ... - """The base64-encoded bytes of the media object.""" - media_mime_type: str | None = ... - """The MIME type of the media object (image/png).""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPluginInput(_SerdeShape): - """Dataclass for GetPluginInput structure.""" - - application_id: str | None = ... - """The identifier of the application which contains the plugin.""" - plugin_id: str | None = ... - """The identifier of the plugin.""" - -@dataclass(kw_only=True) -class GetPluginOutput(_SerdeShape): - """Dataclass for GetPluginOutput structure.""" - - application_id: str | None = ... - """The identifier of the application which contains the plugin.""" - plugin_id: str | None = ... - """The identifier of the plugin.""" - display_name: str | None = ... - """The name of the plugin.""" - type: str | None = ... - """The type of the plugin.""" - server_url: str | None = ... - """The source URL used for plugin configuration.""" - auth_configuration: PluginAuthConfiguration | None = ... - """ - Authentication configuration information for an Amazon Q Business - plugin. - """ - custom_plugin_configuration: CustomPluginConfiguration | None = ... - """Configuration information required to create a custom plugin.""" - build_status: str | None = ... - """The current status of a plugin. A plugin is modified asynchronously.""" - plugin_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the role with permission to access - resources needed to create the plugin. - """ - state: str | None = ... - """The current state of the plugin.""" - created_at: datetime | None = ... - """The timestamp for when the plugin was created.""" - updated_at: datetime | None = ... - """The timestamp for when the plugin was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPolicyInput(_SerdeShape): - """Dataclass for GetPolicyInput structure.""" - - application_id: str | None = ... - """The unique identifier of the Amazon Q Business application.""" - -@dataclass(kw_only=True) -class GetPolicyOutput(_SerdeShape): - """Dataclass for GetPolicyOutput structure.""" - - policy: str | None = ... - """The JSON representation of the permission policy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetRetrieverInput(_SerdeShape): - """Dataclass for GetRetrieverInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application using the retriever.""" - retriever_id: str | None = ... - """The identifier of the retriever.""" - -@dataclass(kw_only=True) -class GetRetrieverOutput(_SerdeShape): - """Dataclass for GetRetrieverOutput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application using the retriever.""" - retriever_id: str | None = ... - """The identifier of the retriever.""" - retriever_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role associated with the - retriever. - """ - type: str | None = ... - """The type of the retriever.""" - status: str | None = ... - """The status of the retriever.""" - display_name: str | None = ... - """The name of the retriever.""" - configuration: RetrieverConfiguration | None = ... - """ - Provides information on how the retriever used for your Amazon Q - Business application is configured. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the role with the permission to access - the retriever and required resources. - """ - created_at: datetime | None = ... - """The Unix timestamp when the retriever was created.""" - updated_at: datetime | None = ... - """The Unix timestamp when the retriever was last updated.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetUserInput(_SerdeShape): - """Dataclass for GetUserInput structure.""" - - application_id: str | None = ... - """The identifier of the application connected to the user.""" - user_id: str | None = ... - """The user email address attached to the user.""" - -@dataclass(kw_only=True) -class GetUserOutput(_SerdeShape): - """Dataclass for GetUserOutput structure.""" - - user_aliases: list[UserAlias] | None = ... - """A list of user aliases attached to a user.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetWebExperienceInput(_SerdeShape): - """Dataclass for GetWebExperienceInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application linked to the web - experience. - """ - web_experience_id: str | None = ... - """The identifier of the Amazon Q Business web experience.""" - -@dataclass(kw_only=True) -class GetWebExperienceOutput(_SerdeShape): - """Dataclass for GetWebExperienceOutput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application linked to the web - experience. - """ - web_experience_id: str | None = ... - """The identifier of the Amazon Q Business web experience.""" - web_experience_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the role with the permission to access - the Amazon Q Business web experience and required resources. - """ - default_endpoint: str | None = ... - """The endpoint of your Amazon Q Business web experience.""" - status: str | None = ... - """ - The current status of the Amazon Q Business web experience. When the - `Status` field value is `FAILED`, the `ErrorMessage` field contains a - description of the error that caused the data source connector to fail. - """ - created_at: datetime | None = ... - """ - The Unix timestamp when the Amazon Q Business web experience was last - created. - """ - updated_at: datetime | None = ... - """ - The Unix timestamp when the Amazon Q Business web experience was last - updated. - """ - title: str | None = ... - """The title for your Amazon Q Business web experience.""" - subtitle: str | None = ... - """The subtitle for your Amazon Q Business web experience.""" - welcome_message: str | None = ... - """ - The customized welcome message for end users of an Amazon Q Business web - experience. - """ - sample_prompts_control_mode: str | None = ... - """ - Determines whether sample prompts are enabled in the web experience for - an end user. - """ - origins: list[str] | None = ... - """ - Gets the website domain origins that are allowed to embed the Amazon Q - Business web experience. The *domain origin* refers to the base URL for - accessing a website including the protocol (`http/https`), the domain - name, and the port number (if specified). - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the service role attached to your web - experience. - """ - identity_provider_configuration: IdentityProviderConfiguration | None = ... - """ - Information about the identity provider (IdP) used to authenticate end - users of an Amazon Q Business web experience. - """ - authentication_configuration: WebExperienceAuthConfiguration | None = ... - """ - The authentication configuration information for your Amazon Q Business - web experience. - """ - error: ErrorDetail | None = ... - """ - When the `Status` field value is `FAILED`, the `ErrorMessage` field - contains a description of the error that caused the data source - connector to fail. - """ - browser_extension_configuration: BrowserExtensionConfiguration | None = ... - """ - The browser extension configuration for an Amazon Q Business web - experience. - """ - customization_configuration: CustomizationConfiguration | None = ... - """ - Gets the custom logo, favicon, font, and color used in the Amazon Q web - experience. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GroupMembers(_SerdeShape): - """ - A list of users or sub groups that belong to a group. This is for - generating Amazon Q Business chat results only from document a user has - access to. - """ - - member_groups: list[MemberGroup] | None = ... - """ - A list of sub groups that belong to a group. For example, the sub groups - \"Research\", \"Engineering\", and \"Sales and Marketing\" all belong to - the group \"Company\". - """ - member_users: list[MemberUser] | None = ... - """ - A list of users that belong to a group. For example, a list of interns - all belong to the \"Interns\" group. - """ - s3_path_for_group_members: S3 | None = ... - """ - Information required for Amazon Q Business to find a specific file in an - Amazon S3 bucket. - """ - -class GroupStatus(UnknownEnumMixin, StrEnum): - FAILED = "FAILED" - SUCCEEDED = "SUCCEEDED" - PROCESSING = "PROCESSING" - DELETING = "DELETING" - DELETED = "DELETED" - -@dataclass(kw_only=True) -class GroupStatusDetail(_SerdeShape): - """Provides the details of a group's status.""" - - status: str | None = ... - """The status of a group.""" - last_updated_at: datetime | None = ... - """ - The Unix timestamp when the Amazon Q Business application was last - updated. - """ - error_detail: ErrorDetail | None = ... - """The details of an error associated a group status.""" - -@dataclass(kw_only=True) -class GroupSummary(_SerdeShape): - """Summary information for groups.""" - - group_name: str | None = ... - """The name of the group the summary information is for.""" - -@dataclass(kw_only=True) -class HallucinationReductionConfiguration(_SerdeShape): - """ - Configuration information required to setup hallucination reduction. For - more information, see [hallucination - reduction](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/hallucination-reduction.html). - - Note: - The hallucination reduction feature won't work if chat orchestration - controls are enabled for your application. - """ - - hallucination_reduction_control: str | None = ... - """ - Controls whether hallucination reduction has been enabled or disabled - for your application. The default status is `DISABLED`. - """ - -class HallucinationReductionControl(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class HookConfiguration(_SerdeShape): - """ - Provides the configuration information for invoking a Lambda function in - Lambda to alter document metadata and content when ingesting documents - into Amazon Q Business. - - You can configure your Lambda function using the - `PreExtractionHookConfiguration` parameter if you want to apply advanced - alterations on the original or raw documents. - - If you want to apply advanced alterations on the Amazon Q Business - structured documents, you must configure your Lambda function using - `PostExtractionHookConfiguration`. - - You can only invoke one Lambda function. However, this function can - invoke other functions it requires. - - For more information, see [Custom document - enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). - """ - - invocation_condition: DocumentAttributeCondition | None = ... - """ - The condition used for when a Lambda function should be invoked. - - For example, you can specify a condition that if there are empty - date-time values, then Amazon Q Business should invoke a function that - inserts the current date-time. - """ - lambda_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Lambda function during ingestion. - For more information, see [Using Lambda functions for Amazon Q Business - document - enrichment](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cde-lambda-operations.html). - """ - s3_bucket_name: str | None = ... - """ - Stores the original, raw documents or the structured, parsed documents - before and after altering them. For more information, see [Data - contracts for Lambda - functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts). - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of a role with permission to run - `PreExtractionHookConfiguration` and `PostExtractionHookConfiguration` - for altering document metadata and content during the document ingestion - process. - """ - -@dataclass(kw_only=True) -class IdcAuthConfiguration(_SerdeShape): - """ - Information about the IAM Identity Center Application used to configure - authentication for a plugin. - """ - - idc_application_arn: str - """ - The Amazon Resource Name (ARN) of the IAM Identity Center Application - used to configure authentication. - """ - role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role with permissions to - perform actions on Amazon Web Services services on your behalf. - """ - -@dataclass -class IdentityProviderConfigurationSamlConfiguration(_SerdeShape): - """ - Information about the SAML 2.0-compliant identity provider (IdP) used to - authenticate end users of an Amazon Q Business web experience. - """ - - value: SamlProviderConfiguration - -@dataclass -class IdentityProviderConfigurationOpenIDConnectConfiguration(_SerdeShape): - """ - Information about the OIDC-compliant identity provider (IdP) used to - authenticate end users of an Amazon Q Business web experience. - """ - - value: OpenIDConnectProviderConfiguration - -@dataclass -class IdentityProviderConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -IdentityProviderConfiguration = Union[ - IdentityProviderConfigurationSamlConfiguration - | IdentityProviderConfigurationOpenIDConnectConfiguration - | IdentityProviderConfigurationUnknown -] -""" -Provides information about the identity provider (IdP) used to -authenticate end users of an Amazon Q Business web experience. -""" - -class _IdentityProviderConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> IdentityProviderConfiguration: ... - -class IdentityType(UnknownEnumMixin, StrEnum): - AWS_IAM_IDP_SAML = "AWS_IAM_IDP_SAML" - AWS_IAM_IDP_OIDC = "AWS_IAM_IDP_OIDC" - AWS_IAM_IDC = "AWS_IAM_IDC" - AWS_QUICKSIGHT_IDP = "AWS_QUICKSIGHT_IDP" - ANONYMOUS = "ANONYMOUS" - -@dataclass(kw_only=True) -class ImageExtractionConfiguration(_SerdeShape): - """ - The configuration for extracting semantic meaning from images in - documents. For more information, see [Extracting semantic meaning from - images and - visuals](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/extracting-meaning-from-images.html). - """ - - image_extraction_status: str - """ - Specify whether to extract semantic meaning from images and visuals from - documents. - """ - -class ImageExtractionStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class ImageSourceDetails(_SerdeShape): - """Details about an image source, including its identifier and format.""" - - media_id: str | None = ... - """Unique identifier for the image file.""" - media_mime_type: str | None = ... - """The MIME type of the image file.""" - -@dataclass(kw_only=True) -class Index(_SerdeShape): - """Summary information for your Amazon Q Business index.""" - - display_name: str | None = ... - """The name of the index.""" - index_id: str | None = ... - """The identifier for the index.""" - created_at: datetime | None = ... - """The Unix timestamp when the index was created.""" - updated_at: datetime | None = ... - """The Unix timestamp when the index was last updated.""" - status: str | None = ... - """ - The current status of the index. When the status is `ACTIVE`, the index - is ready. - """ - -@dataclass(kw_only=True) -class IndexCapacityConfiguration(_SerdeShape): - """Provides information about index capacity configuration.""" - - units: int | None = ... - """The number of storage units configured for an Amazon Q Business index.""" - -@dataclass(kw_only=True) -class IndexStatistics(_SerdeShape): - """Provides information about the number of documents in an index.""" - - text_document_statistics: TextDocumentStatistics | None = ... - """The number of documents indexed.""" - -class IndexStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - DELETING = "DELETING" - FAILED = "FAILED" - UPDATING = "UPDATING" - -class IndexType(UnknownEnumMixin, StrEnum): - ENTERPRISE = "ENTERPRISE" - STARTER = "STARTER" - -@dataclass(kw_only=True) -class InlineDocumentEnrichmentConfiguration(_SerdeShape): - """ - Provides the configuration information for applying basic logic to alter - document metadata and content when ingesting documents into Amazon Q - Business. - - To apply advanced logic, to go beyond what you can do with basic logic, - see - [`HookConfiguration`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_HookConfiguration.html) - . - - For more information, see [Custom document - enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). - """ - - condition: DocumentAttributeCondition | None = ... - """ - The condition used for the target document attribute or metadata field - when ingesting documents into Amazon Q Business. You use this with - [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) - to apply the condition. - - For example, you can create the 'Department' target field and have it - prefill department names associated with the documents based on - information in the 'Source_URI' field. Set the condition that if the - 'Source_URI' field contains 'financial' in its URI value, then - prefill the target field 'Department' with the target value - 'Finance' for the document. - - Amazon Q Business can't create a target field if it has not already - been created as an index field. After you create your index field, you - can create a document metadata field using `DocumentAttributeTarget`. - Amazon Q Business then will map your newly created metadata field to - your index field. - """ - target: DocumentAttributeTarget | None = ... - """ - The target document attribute or metadata field you want to alter when - ingesting documents into Amazon Q Business. - - For example, you can delete all customer identification numbers - associated with the documents, stored in the document metadata field - called 'Customer_ID' by setting the target key as 'Customer_ID' and - the deletion flag to `TRUE`. This removes all customer ID values in the - field 'Customer_ID'. This would scrub personally identifiable - information from each document's metadata. - - Amazon Q Business can't create a target field if it has not already - been created as an index field. After you create your index field, you - can create a document metadata field using - [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) - . Amazon Q Business will then map your newly created document attribute - to your index field. - - You can also use this with - [`DocumentAttributeCondition`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeCondition.html) - . - """ - document_content_operator: str | None = ... - """ - `TRUE` to delete content if the condition used for the target attribute - is met. - """ - -@dataclass(kw_only=True) -class InstructionCollection(_SerdeShape): - """ - A set of instructions that define how Amazon Q Business should generate - and format responses to user queries. This collection includes - parameters for controlling response characteristics such as length, - audience targeting, perspective, style, identity, tone, and custom - instructions. - """ - - response_length: str | None = ... - """ - Specifies the desired length of responses generated by Amazon Q - Business. This parameter allows administrators to control whether - responses are concise and brief or more detailed and comprehensive. - """ - target_audience: str | None = ... - """ - Defines the intended audience for the responses, allowing Amazon Q - Business to tailor its language, terminology, and explanations - appropriately. This could range from technical experts to general users - with varying levels of domain knowledge. - """ - perspective: str | None = ... - """ - Determines the point of view or perspective from which Amazon Q Business - generates responses, such as first-person, second-person, or - third-person perspective, affecting how information is presented to - users. - """ - output_style: str | None = ... - """ - Specifies the formatting and structural style of responses, such as - bullet points, paragraphs, step-by-step instructions, or other - organizational formats that enhance readability and comprehension. - """ - identity: str | None = ... - """ - Defines the persona or identity that Amazon Q Business should adopt when - responding to users, allowing for customization of the assistant's - character, role, or representation within an organization. - """ - tone: str | None = ... - """ - Controls the emotional tone and communication style of responses, such - as formal, casual, technical, friendly, or professional, to align with - organizational communication standards and user expectations. - """ - custom_instructions: str | None = ... - """ - Allows administrators to provide specific, custom instructions that - guide how Amazon Q Business should respond in particular scenarios or to - certain types of queries, enabling fine-grained control over response - generation. - """ - examples: str | None = ... - """ - Provides sample responses or templates that Amazon Q Business can - reference when generating responses, helping to establish consistent - patterns and formats for different types of user queries. - """ - -@dataclass(kw_only=True) -class InternalServerException(ServiceError, _SerdeShape): - """ - An issue occurred with the internal server used for your Amazon Q - Business service. Wait some minutes and try again, or contact - [Support](http://aws.amazon.com/contact-us/) for help. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class KendraIndexConfiguration(_SerdeShape): - """Stores an Amazon Kendra index as a retriever.""" - - index_id: str - """The identifier of the Amazon Kendra index.""" - -@dataclass(kw_only=True) -class LicenseNotFoundException(ServiceError, _SerdeShape): - """ - You don't have permissions to perform the action because your license - is inactive. Ask your admin to activate your license and try again after - your licence is active. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListApplicationsInput(_SerdeShape): - """Dataclass for ListApplicationsInput structure.""" - - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - Amazon Q Business applications. - """ - max_results: int | None = ... - """The maximum number of Amazon Q Business applications to return.""" - -@dataclass(kw_only=True) -class ListApplicationsOutput(_SerdeShape): - """Dataclass for ListApplicationsOutput structure.""" - - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token. You - can use this token in a subsequent request to retrieve the next set of - applications. - """ - applications: list[Application] | None = ... - """ - An array of summary information on the configuration of one or more - Amazon Q Business applications. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListAttachmentsInput(_SerdeShape): - """Dataclass for ListAttachmentsInput structure.""" - - application_id: str | None = ... - """The unique identifier for the Amazon Q Business application.""" - conversation_id: str | None = ... - """ - The unique identifier of the Amazon Q Business web experience - conversation. - """ - user_id: str | None = ... - """ - The unique identifier of the user involved in the Amazon Q Business web - experience conversation. - """ - next_token: str | None = ... - """ - If the number of attachments returned exceeds `maxResults`, Amazon Q - Business returns a next token as a pagination token to retrieve the next - set of attachments. - """ - max_results: int | None = ... - """The maximum number of attachements to return.""" - -@dataclass(kw_only=True) -class ListAttachmentsOutput(_SerdeShape): - """Dataclass for ListAttachmentsOutput structure.""" - - attachments: list[Attachment] | None = ... - """An array of information on one or more attachments.""" - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token, - which you can use in a later request to list the next set of - attachments. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListChatResponseConfigurationsInput(_SerdeShape): - """Dataclass for ListChatResponseConfigurationsInput structure.""" - - application_id: str | None = ... - """ - The unique identifier of the Amazon Q Business application for which to - list available chat response configurations. - """ - max_results: int | None = ... - """ - The maximum number of chat response configurations to return in a single - response. This parameter helps control pagination of results when many - configurations exist. - """ - next_token: str | None = ... - """ - A pagination token used to retrieve the next set of results when the - number of configurations exceeds the specified `maxResults` value. - """ - -@dataclass(kw_only=True) -class ListChatResponseConfigurationsOutput(_SerdeShape): - """Dataclass for ListChatResponseConfigurationsOutput structure.""" - - chat_response_configurations: list[ChatResponseConfiguration] | None = ... - """ - A list of chat response configuration summaries, each containing key - information about an available configuration in the specified - application. - """ - next_token: str | None = ... - """ - A pagination token that can be used in a subsequent request to retrieve - additional chat response configurations if the results were truncated - due to the `maxResults` parameter. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListConversationsInput(_SerdeShape): - """Dataclass for ListConversationsInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - user_id: str | None = ... - """ - The identifier of the user involved in the Amazon Q Business web - experience conversation. - """ - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - Amazon Q Business conversations. - """ - max_results: int | None = ... - """The maximum number of Amazon Q Business conversations to return.""" - -@dataclass(kw_only=True) -class ListConversationsOutput(_SerdeShape): - """Dataclass for ListConversationsOutput structure.""" - - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token, - which you can use in a later request to list the next set of messages. - """ - conversations: list[Conversation] | None = ... - """ - An array of summary information on the configuration of one or more - Amazon Q Business web experiences. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDataAccessorsInput(_SerdeShape): - """Dataclass for ListDataAccessorsInput structure.""" - - application_id: str | None = ... - """The unique identifier of the Amazon Q Business application.""" - next_token: str | None = ... - """ - The token for the next set of results. (You received this token from a - previous call.) - """ - max_results: int | None = ... - """The maximum number of results to return in a single call.""" - -@dataclass(kw_only=True) -class ListDataAccessorsOutput(_SerdeShape): - """Dataclass for ListDataAccessorsOutput structure.""" - - data_accessors: list[DataAccessor] | None = ... - """The list of data accessors.""" - next_token: str | None = ... - """The token to use to retrieve the next set of results, if there are any.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDataSourcesInput(_SerdeShape): - """Dataclass for ListDataSourcesInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application linked to the data - source connectors. - """ - index_id: str | None = ... - """ - The identifier of the index used with one or more data source - connectors. - """ - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - Amazon Q Business data source connectors. - """ - max_results: int | None = ... - """The maximum number of data source connectors to return.""" - -@dataclass(kw_only=True) -class ListDataSourcesOutput(_SerdeShape): - """Dataclass for ListDataSourcesOutput structure.""" - - data_sources: list[DataSource] | None = ... - """An array of summary information for one or more data source connector.""" - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token. You - can use this token in a subsequent request to retrieve the next set of - data source connectors. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDataSourceSyncJobsInput(_SerdeShape): - """Dataclass for ListDataSourceSyncJobsInput structure.""" - - data_source_id: str | None = ... - """The identifier of the data source connector.""" - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application connected to the - data source. - """ - index_id: str | None = ... - """ - The identifier of the index used with the Amazon Q Business data source - connector. - """ - next_token: str | None = ... - """ - If the `maxResults` response was incpmplete because there is more data - to retriever, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - responses. - """ - max_results: int | None = ... - """The maximum number of synchronization jobs to return in the response.""" - start_time: datetime | None = ... - """The start time of the data source connector sync.""" - end_time: datetime | None = ... - """The end time of the data source connector sync.""" - status_filter: str | None = ... - """ - Only returns synchronization jobs with the `Status` field equal to the - specified status. - """ - -@dataclass(kw_only=True) -class ListDataSourceSyncJobsOutput(_SerdeShape): - """Dataclass for ListDataSourceSyncJobsOutput structure.""" - - history: list[DataSourceSyncJob] | None = ... - """A history of synchronization jobs for the data source connector.""" - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token. You - can use this token in any subsequent request to retrieve the next set of - jobs. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDocumentsInput(_SerdeShape): - """Dataclass for ListDocumentsInput structure.""" - - application_id: str | None = ... - """The identifier of the application id the documents are attached to.""" - index_id: str | None = ... - """The identifier of the index the documents are attached to.""" - data_source_ids: list[str] | None = ... - """The identifier of the data sources the documents are attached to.""" - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - documents. - """ - max_results: int | None = ... - """The maximum number of documents to return.""" - -@dataclass(kw_only=True) -class ListDocumentsOutput(_SerdeShape): - """Dataclass for ListDocumentsOutput structure.""" - - document_detail_list: list[DocumentDetails] | None = ... - """A list of document details.""" - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - documents. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListGroupsInput(_SerdeShape): - """Dataclass for ListGroupsInput structure.""" - - application_id: str | None = ... - """ - The identifier of the application for getting a list of groups mapped to - users. - """ - index_id: str | None = ... - """ - The identifier of the index for getting a list of groups mapped to - users. - """ - updated_earlier_than: datetime | None = ... - """ - The timestamp identifier used for the latest `PUT` or `DELETE` action - for mapping users to their groups. - """ - data_source_id: str | None = ... - """ - The identifier of the data source for getting a list of groups mapped to - users. - """ - next_token: str | None = ... - """ - If the previous response was incomplete (because there is more data to - retrieve), Amazon Q Business returns a pagination token in the response. - You can use this pagination token to retrieve the next set of groups - that are mapped to users. - """ - max_results: int | None = ... - """The maximum number of returned groups that are mapped to users.""" - -@dataclass(kw_only=True) -class ListGroupsOutput(_SerdeShape): - """Dataclass for ListGroupsOutput structure.""" - - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token that - you can use in the subsequent request to retrieve the next set of groups - that are mapped to users. - """ - items: list[GroupSummary] | None = ... - """Summary information for list of groups that are mapped to users.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListIndicesInput(_SerdeShape): - """Dataclass for ListIndicesInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application connected to the - index. - """ - next_token: str | None = ... - """ - If the maxResults response was incomplete because there is more data to - retrieve, Amazon Q Business returns a pagination token in the response. - You can use this pagination token to retrieve the next set of Amazon Q - Business indices. - """ - max_results: int | None = ... - """The maximum number of indices to return.""" - -@dataclass(kw_only=True) -class ListIndicesOutput(_SerdeShape): - """Dataclass for ListIndicesOutput structure.""" - - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token that - you can use in the subsequent request to retrieve the next set of - indexes. - """ - indices: list[Index] | None = ... - """An array of information on the items in one or more indexes.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListMessagesInput(_SerdeShape): - """Dataclass for ListMessagesInput structure.""" - - conversation_id: str | None = ... - """The identifier of the Amazon Q Business web experience conversation.""" - application_id: str | None = ... - """The identifier for the Amazon Q Business application.""" - user_id: str | None = ... - """ - The identifier of the user involved in the Amazon Q Business web - experience conversation. - """ - next_token: str | None = ... - """ - If the number of messages returned exceeds `maxResults`, Amazon Q - Business returns a next token as a pagination token to retrieve the next - set of messages. - """ - max_results: int | None = ... - """The maximum number of messages to return.""" - -@dataclass(kw_only=True) -class ListMessagesOutput(_SerdeShape): - """Dataclass for ListMessagesOutput structure.""" - - messages: list[Message] | None = ... - """An array of information on one or more messages.""" - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token, - which you can use in a later request to list the next set of messages. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPluginActionsInput(_SerdeShape): - """Dataclass for ListPluginActionsInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application the plugin is - attached to. - """ - plugin_id: str | None = ... - """The identifier of the Amazon Q Business plugin.""" - next_token: str | None = ... - """ - If the number of plugin actions returned exceeds `maxResults`, Amazon Q - Business returns a next token as a pagination token to retrieve the next - set of plugin actions. - """ - max_results: int | None = ... - """The maximum number of plugin actions to return.""" - -@dataclass(kw_only=True) -class ListPluginActionsOutput(_SerdeShape): - """Dataclass for ListPluginActionsOutput structure.""" - - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token, - which you can use in a later request to list the next set of plugin - actions. - """ - items: list[ActionSummary] | None = ... - """An array of information on one or more plugin actions.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPluginsInput(_SerdeShape): - """Dataclass for ListPluginsInput structure.""" - - application_id: str | None = ... - """The identifier of the application the plugin is attached to.""" - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - plugins. - """ - max_results: int | None = ... - """The maximum number of documents to return.""" - -@dataclass(kw_only=True) -class ListPluginsOutput(_SerdeShape): - """Dataclass for ListPluginsOutput structure.""" - - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - plugins. - """ - plugins: list[Plugin] | None = ... - """Information about a configured plugin.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPluginTypeActionsInput(_SerdeShape): - """Dataclass for ListPluginTypeActionsInput structure.""" - - plugin_type: str | None = ... - """The type of the plugin.""" - next_token: str | None = ... - """ - If the number of plugins returned exceeds `maxResults`, Amazon Q - Business returns a next token as a pagination token to retrieve the next - set of plugins. - """ - max_results: int | None = ... - """The maximum number of plugins to return.""" - -@dataclass(kw_only=True) -class ListPluginTypeActionsOutput(_SerdeShape): - """Dataclass for ListPluginTypeActionsOutput structure.""" - - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token, - which you can use in a later request to list the next set of plugins. - """ - items: list[ActionSummary] | None = ... - """An array of information on one or more plugins.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPluginTypeMetadataInput(_SerdeShape): - """Dataclass for ListPluginTypeMetadataInput structure.""" - - next_token: str | None = ... - """ - If the metadata returned exceeds `maxResults`, Amazon Q Business returns - a next token as a pagination token to retrieve the next set of metadata. - """ - max_results: int | None = ... - """The maximum number of plugin metadata items to return.""" - -@dataclass(kw_only=True) -class ListPluginTypeMetadataOutput(_SerdeShape): - """Dataclass for ListPluginTypeMetadataOutput structure.""" - - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token, - which you can use in a later request to list the next set of plugin - metadata. - """ - items: list[PluginTypeMetadataSummary] | None = ... - """An array of information on plugin metadata.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListRetrieversInput(_SerdeShape): - """Dataclass for ListRetrieversInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application using the retriever.""" - next_token: str | None = ... - """ - If the number of retrievers returned exceeds `maxResults`, Amazon Q - Business returns a next token as a pagination token to retrieve the next - set of retrievers. - """ - max_results: int | None = ... - """The maximum number of retrievers returned.""" - -@dataclass(kw_only=True) -class ListRetrieversOutput(_SerdeShape): - """Dataclass for ListRetrieversOutput structure.""" - - retrievers: list[Retriever] | None = ... - """An array of summary information for one or more retrievers.""" - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token, - which you can use in a later request to list the next set of retrievers. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListSubscriptionsInput(_SerdeShape): - """Dataclass for ListSubscriptionsInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application linked to the - subscription. - """ - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - Amazon Q Business subscriptions. - """ - max_results: int | None = ... - """The maximum number of Amazon Q Business subscriptions to return.""" - -@dataclass(kw_only=True) -class ListSubscriptionsOutput(_SerdeShape): - """Dataclass for ListSubscriptionsOutput structure.""" - - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token. You - can use this token in a subsequent request to retrieve the next set of - subscriptions. - """ - subscriptions: list[Subscription] | None = ... - """ - An array of summary information on the subscriptions configured for an - Amazon Q Business application. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceInput(_SerdeShape): - """Dataclass for ListTagsForResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Q Business application or - data source to get a list of tags for. - """ - -@dataclass(kw_only=True) -class ListTagsForResourceOutput(_SerdeShape): - """Dataclass for ListTagsForResourceOutput structure.""" - - tags: list[Tag] | None = ... - """ - A list of tags associated with the Amazon Q Business application or data - source. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListWebExperiencesInput(_SerdeShape): - """Dataclass for ListWebExperiencesInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application linked to the listed - web experiences. - """ - next_token: str | None = ... - """ - If the `maxResults` response was incomplete because there is more data - to retrieve, Amazon Q Business returns a pagination token in the - response. You can use this pagination token to retrieve the next set of - Amazon Q Business conversations. - """ - max_results: int | None = ... - """The maximum number of Amazon Q Business Web Experiences to return.""" - -@dataclass(kw_only=True) -class ListWebExperiencesOutput(_SerdeShape): - """Dataclass for ListWebExperiencesOutput structure.""" - - web_experiences: list[WebExperience] | None = ... - """ - An array of summary information for one or more Amazon Q Business - experiences. - """ - next_token: str | None = ... - """ - If the response is truncated, Amazon Q Business returns this token, - which you can use in a later request to list the next set of messages. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class MediaExtractionConfiguration(_SerdeShape): - """The configuration for extracting information from media in documents.""" - - image_extraction_configuration: ImageExtractionConfiguration | None = ... - """ - The configuration for extracting semantic meaning from images in - documents. For more information, see [Extracting semantic meaning from - images and - visuals](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/extracting-meaning-from-images.html). - """ - audio_extraction_configuration: AudioExtractionConfiguration | None = ... - """ - Configuration settings for extracting and processing audio content from - media files. - """ - video_extraction_configuration: VideoExtractionConfiguration | None = ... - """ - Configuration settings for extracting and processing video content from - media files. - """ - -@dataclass(kw_only=True) -class MediaTooLargeException(ServiceError, _SerdeShape): - """The requested media object is too large to be returned.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class MemberGroup(_SerdeShape): - """The sub groups that belong to a group.""" - - group_name: str - """The name of the sub group.""" - type: str | None = ... - """The type of the sub group.""" - -class MemberRelation(UnknownEnumMixin, StrEnum): - AND_ = "AND" - OR_ = "OR" - -class MembershipType(UnknownEnumMixin, StrEnum): - INDEX = "INDEX" - DATASOURCE = "DATASOURCE" - -@dataclass(kw_only=True) -class MemberUser(_SerdeShape): - """The users that belong to a group.""" - - user_id: str - """The identifier of the user you want to map to a group.""" - type: str | None = ... - """The type of the user.""" - -@dataclass(kw_only=True) -class Message(_SerdeShape): - """A message in an Amazon Q Business web experience.""" - - message_id: str | None = ... - """The identifier of the Amazon Q Business web experience message.""" - body: str | None = ... - """The content of the Amazon Q Business web experience message.""" - time: datetime | None = ... - """The timestamp of the first Amazon Q Business web experience message.""" - type: str | None = ... - """ - The type of Amazon Q Business message, whether `HUMAN` or `AI` - generated. - """ - attachments: list[AttachmentOutput] | None = ... - """A file directly uploaded into an Amazon Q Business web experience chat.""" - source_attribution: list[SourceAttribution | None] | None = ... - """ - The source documents used to generate Amazon Q Business web experience - message. - """ - action_review: ActionReview | None = ... - """ - An output event that Amazon Q Business returns to an user who wants to - perform a plugin action during a non-streaming chat conversation. It - contains information about the selected action with a list of possible - user input fields, some pre-populated by Amazon Q Business. - """ - action_execution: ActionExecution | None = ... - """ - Performs an Amazon Q Business plugin action during a non-streaming chat - conversation. - """ - -class MessageType(UnknownEnumMixin, StrEnum): - USER = "USER" - SYSTEM = "SYSTEM" - -class MessageUsefulness(UnknownEnumMixin, StrEnum): - USEFUL = "USEFUL" - NOT_USEFUL = "NOT_USEFUL" - -@dataclass(kw_only=True) -class MessageUsefulnessFeedback(_SerdeShape): - """ - End user feedback on an AI-generated web experience chat message - usefulness. - """ - - usefulness: str - """The usefulness value assigned by an end user to a message.""" - reason: str | None = ... - """The reason for a usefulness rating.""" - comment: str | None = ... - """ - A comment given by an end user on the usefulness of an AI-generated chat - message. - """ - submitted_at: datetime - """The timestamp for when the feedback was submitted.""" - -class MessageUsefulnessReason(UnknownEnumMixin, StrEnum): - NOT_FACTUALLY_CORRECT = "NOT_FACTUALLY_CORRECT" - HARMFUL_OR_UNSAFE = "HARMFUL_OR_UNSAFE" - INCORRECT_OR_MISSING_SOURCES = "INCORRECT_OR_MISSING_SOURCES" - NOT_HELPFUL = "NOT_HELPFUL" - FACTUALLY_CORRECT = "FACTUALLY_CORRECT" - COMPLETE = "COMPLETE" - RELEVANT_SOURCES = "RELEVANT_SOURCES" - HELPFUL = "HELPFUL" - NOT_BASED_ON_DOCUMENTS = "NOT_BASED_ON_DOCUMENTS" - NOT_COMPLETE = "NOT_COMPLETE" - NOT_CONCISE = "NOT_CONCISE" - OTHER = "OTHER" - -@dataclass(kw_only=True) -class MetadataEvent(_SerdeShape): - """ - A metadata event for a AI-generated text output message in a Amazon Q - Business conversation, containing associated metadata generated. - """ - - conversation_id: str | None = ... - """ - The identifier of the conversation with which the generated metadata is - associated. - """ - user_message_id: str | None = ... - """ - The identifier of an Amazon Q Business end user text input message - within the conversation. - """ - system_message_id: str | None = ... - """ - The identifier of an Amazon Q Business AI generated message within the - conversation. - """ - source_attributions: list[SourceAttribution | None] | None = ... - """The source documents used to generate the conversation response.""" - final_text_message: str | None = ... - """The final text output message generated by the system.""" - -@dataclass(kw_only=True) -class NativeIndexConfiguration(_SerdeShape): - """Configuration information for an Amazon Q Business index.""" - - index_id: str - """The identifier for the Amazon Q Business index.""" - version: int | None = ... - """ - A read-only field that specifies the version of the - `NativeIndexConfiguration`. - - Amazon Q Business introduces enhanced document retrieval capabilities in - version 2 of `NativeIndexConfiguration`, focusing on streamlined - metadata boosting that prioritizes recency and source relevance to - deliver more accurate responses to your queries. Version 2 has the - following differences from version 1: - - - Version 2 supports a single Date field (created_at OR last_updated_at) - for recency boosting - - - Version 2 supports a single String field with an ordered list of up to - 5 values - - - Version 2 introduces number-based boost levels (ONE, TWO) alongside - the text-based levels - - - Version 2 allows specifying prioritization between Date and String - fields - - - Version 2 maintains backward compatibility with existing - configurations - """ - boosting_override: dict[str, DocumentAttributeBoostingConfiguration] | None = ... - """ - Overrides the default boosts applied by Amazon Q Business to supported - document attribute data types. - """ - -@dataclass(kw_only=True) -class NoAuthConfiguration(_SerdeShape): - """ - Information about invoking a custom plugin without any authentication or - authorization requirement. - """ - -@dataclass(kw_only=True) -class NumberAttributeBoostingConfiguration(_SerdeShape): - """ - Provides information on boosting `NUMBER` type document attributes. - - In the current boosting implementation, boosting focuses primarily on - `DATE` attributes for recency and `STRING` attributes for source - prioritization. `NUMBER` attributes can serve as additional boosting - factors when needed, but are not supported when using - `NativeIndexConfiguration` version 2. - - For more information on how boosting document attributes work in Amazon - Q Business, see [Boosting using document - attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). - """ - - boosting_level: str - """ - Specifies the priority of boosted document attributes in relation to - other boosted attributes. This parameter determines how strongly the - attribute influences document ranking in search results. `NUMBER` - attributes can serve as additional boosting factors when needed, but are - not supported when using `NativeIndexConfiguration` version 2. - """ - boosting_type: str | None = ... - """ - Specifies whether higher or lower numeric values should be prioritized - when boosting. Valid values are ASCENDING (higher numbers are more - important) and DESCENDING (lower numbers are more important). - """ - -class NumberAttributeBoostingType(UnknownEnumMixin, StrEnum): - PRIORITIZE_LARGER_VALUES = "PRIORITIZE_LARGER_VALUES" - PRIORITIZE_SMALLER_VALUES = "PRIORITIZE_SMALLER_VALUES" - -@dataclass(kw_only=True) -class OAuth2ClientCredentialConfiguration(_SerdeShape): - """ - Information about the OAuth 2.0 authentication credential/token used to - configure a plugin. - """ - - secret_arn: str - """ - The ARN of the Secrets Manager secret that stores the OAuth 2.0 - credentials/token used for plugin configuration. - """ - role_arn: str - """ - The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 - authentication credentials stored in a Secrets Manager secret. - """ - authorization_url: str | None = ... - """ - The redirect URL required by the OAuth 2.0 protocol for Amazon Q - Business to authenticate a plugin user through a third party - authentication server. - """ - token_url: str | None = ... - """ - The URL required by the OAuth 2.0 protocol to exchange an end user - authorization code for an access token. - """ - -@dataclass(kw_only=True) -class OpenIDConnectProviderConfiguration(_SerdeShape): - """ - Information about the OIDC-compliant identity provider (IdP) used to - authenticate end users of an Amazon Q Business web experience. - """ - - secrets_arn: str - """ - The Amazon Resource Name (ARN) of a Secrets Manager secret containing - the OIDC client secret. - """ - secrets_role: str - """ - An IAM role with permissions to access KMS to decrypt the Secrets - Manager secret containing your OIDC client secret. - """ - -@dataclass(kw_only=True) -class OrchestrationConfiguration(_SerdeShape): - """ - Configuration information required to enable chat orchestration for your - Amazon Q Business application. - - Note: - Chat orchestration is optimized to work for English language content. - For more details on language support in Amazon Q Business, see - [Supported - languages](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/supported-languages.html). - """ - - control: str - """ - Status information about whether chat orchestration is activated or - deactivated for your Amazon Q Business application. - """ - -class OrchestrationControl(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class OutputFormat(UnknownEnumMixin, StrEnum): - RAW = "RAW" - EXTRACTED = "EXTRACTED" - -@dataclass(kw_only=True) -class PermissionCondition(_SerdeShape): - """ - Defines a condition that restricts when a permission is effective. - Conditions allow you to control access based on specific attributes of - the request. - """ - - condition_operator: str - """ - The operator to use for the condition evaluation. This determines how - the condition values are compared. - """ - condition_key: str - """ - The key for the condition. This identifies the attribute that the - condition applies to. - """ - condition_values: list[str] - """The values to compare against using the specified condition operator.""" - -class PermissionConditionOperator(UnknownEnumMixin, StrEnum): - STRING_EQUALS = "StringEquals" - -@dataclass(kw_only=True) -class PersonalizationConfiguration(_SerdeShape): - """ - Configuration information about chat response personalization. For more - information, see [Personalizing chat - responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html). - """ - - personalization_control_mode: str - """ - An option to allow Amazon Q Business to customize chat responses using - user specific metadata---specifically, location and job information---in - your IAM Identity Center instance. - """ - -class PersonalizationControlMode(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class Plugin(_SerdeShape): - """Information about an Amazon Q Business plugin and its configuration.""" - - plugin_id: str | None = ... - """The identifier of the plugin.""" - display_name: str | None = ... - """The name of the plugin.""" - type: str | None = ... - """The type of the plugin.""" - server_url: str | None = ... - """The plugin server URL used for configuration.""" - state: str | None = ... - """The current status of the plugin.""" - build_status: str | None = ... - """The status of the plugin.""" - created_at: datetime | None = ... - """The timestamp for when the plugin was created.""" - updated_at: datetime | None = ... - """The timestamp for when the plugin was last updated.""" - -@dataclass -class PluginAuthConfigurationBasicAuthConfiguration(_SerdeShape): - """ - Information about the basic authentication credentials used to configure - a plugin. - """ - - value: BasicAuthConfiguration - -@dataclass -class PluginAuthConfigurationOAuth2ClientCredentialConfiguration(_SerdeShape): - """ - Information about the OAuth 2.0 authentication credential/token used to - configure a plugin. - """ - - value: OAuth2ClientCredentialConfiguration - -@dataclass -class PluginAuthConfigurationNoAuthConfiguration(_SerdeShape): - """Information about invoking a custom plugin without any authentication.""" - - value: NoAuthConfiguration - -@dataclass -class PluginAuthConfigurationIdcAuthConfiguration(_SerdeShape): - """ - Information about the IAM Identity Center Application used to configure - authentication for a plugin. - """ - - value: IdcAuthConfiguration - -@dataclass -class PluginAuthConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -PluginAuthConfiguration = Union[ - PluginAuthConfigurationBasicAuthConfiguration - | PluginAuthConfigurationOAuth2ClientCredentialConfiguration - | PluginAuthConfigurationNoAuthConfiguration - | PluginAuthConfigurationIdcAuthConfiguration - | PluginAuthConfigurationUnknown -] -""" -Authentication configuration information for an Amazon Q Business -plugin. -""" - -class _PluginAuthConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> PluginAuthConfiguration: ... - -class PluginBuildStatus(UnknownEnumMixin, StrEnum): - READY = "READY" - CREATE_IN_PROGRESS = "CREATE_IN_PROGRESS" - CREATE_FAILED = "CREATE_FAILED" - UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS" - UPDATE_FAILED = "UPDATE_FAILED" - DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS" - DELETE_FAILED = "DELETE_FAILED" - -@dataclass(kw_only=True) -class PluginConfiguration(_SerdeShape): - """ - Configuration information required to invoke chat in `PLUGIN_MODE`. - - For more information, see [Admin controls and - guardrails](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/guardrails.html), - [Plugins](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/plugins.html), - and [Conversation - settings](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/using-web-experience.html#chat-source-scope). - """ - - plugin_id: str - """The identifier of the plugin you want to use.""" - -class PluginState(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class PluginType(UnknownEnumMixin, StrEnum): - SERVICE_NOW = "SERVICE_NOW" - SALESFORCE = "SALESFORCE" - JIRA = "JIRA" - ZENDESK = "ZENDESK" - CUSTOM = "CUSTOM" - QUICKSIGHT = "QUICKSIGHT" - SERVICENOW_NOW_PLATFORM = "SERVICENOW_NOW_PLATFORM" - JIRA_CLOUD = "JIRA_CLOUD" - SALESFORCE_CRM = "SALESFORCE_CRM" - ZENDESK_SUITE = "ZENDESK_SUITE" - ATLASSIAN_CONFLUENCE = "ATLASSIAN_CONFLUENCE" - GOOGLE_CALENDAR = "GOOGLE_CALENDAR" - MICROSOFT_TEAMS = "MICROSOFT_TEAMS" - MICROSOFT_EXCHANGE = "MICROSOFT_EXCHANGE" - PAGERDUTY_ADVANCE = "PAGERDUTY_ADVANCE" - SMARTSHEET = "SMARTSHEET" - ASANA = "ASANA" - -class PluginTypeCategory(UnknownEnumMixin, StrEnum): - CRM = "Customer relationship management (CRM)" - PROJECT_MANAGEMENT = "Project management" - COMMUNICATION = "Communication" - PRODUCTIVITY = "Productivity" - TICKETING_MANAGEMENT = "Ticketing and incident management" - -@dataclass(kw_only=True) -class PluginTypeMetadataSummary(_SerdeShape): - """Summary metadata information for a Amazon Q Business plugin.""" - - type: str | None = ... - """The type of the plugin.""" - category: str | None = ... - """The category of the plugin type.""" - description: str | None = ... - """ - The description assigned by Amazon Q Business to a plugin. You can't - modify this value. - """ - -@dataclass -class Principal_User(_SerdeShape): - """The user associated with the principal.""" - - value: PrincipalUser - -@dataclass -class Principal_Group(_SerdeShape): - """The group associated with the principal.""" - - value: PrincipalGroup - -@dataclass -class PrincipalUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -Principal = Union[Principal_User | Principal_Group | PrincipalUnknown] -""" -Provides user and group information used for filtering documents to use -for generating Amazon Q Business conversation responses. -""" - -class _PrincipalDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> Principal: ... - -@dataclass(kw_only=True) -class PrincipalGroup(_SerdeShape): - """Provides information about a group associated with the principal.""" - - name: str | None = ... - """The name of the group.""" - access: str - """ - Provides information about whether to allow or deny access to the - principal. - """ - membership_type: str | None = ... - """The type of group.""" - -@dataclass(kw_only=True) -class PrincipalUser(_SerdeShape): - """Provides information about a user associated with a principal.""" - - id: str | None = ... - """The identifier of the user.""" - access: str - """ - Provides information about whether to allow or deny access to the - principal. - """ - membership_type: str | None = ... - """The type of group.""" - -@dataclass(kw_only=True) -class PutFeedbackInput(_SerdeShape): - """Dataclass for PutFeedbackInput structure.""" - - application_id: str | None = ... - """The identifier of the application associated with the feedback.""" - user_id: str | None = ... - """The identifier of the user giving the feedback.""" - conversation_id: str | None = ... - """The identifier of the conversation the feedback is attached to.""" - message_id: str | None = ... - """The identifier of the chat message that the feedback was given for.""" - message_copied_at: datetime | None = ... - """The timestamp for when the feedback was recorded.""" - message_usefulness: MessageUsefulnessFeedback | None = ... - """The feedback usefulness value given by the user to the chat message.""" - -@dataclass(kw_only=True) -class PutFeedbackOutput(_SerdeShape): - """Dataclass for PutFeedbackOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutGroupInput(_SerdeShape): - """Dataclass for PutGroupInput structure.""" - - application_id: str | None = ... - """ - The identifier of the application in which the user and group mapping - belongs. - """ - index_id: str | None = ... - """ - The identifier of the index in which you want to map users to their - groups. - """ - group_name: str | None = ... - """ - The list that contains your users or sub groups that belong the same - group. For example, the group \"Company\" includes the user \"CEO\" and - the sub groups \"Research\", \"Engineering\", and \"Sales and - Marketing\". - """ - data_source_id: str | None = ... - """ - The identifier of the data source for which you want to map users to - their groups. This is useful if a group is tied to multiple data - sources, but you only want the group to access documents of a certain - data source. For example, the groups \"Research\", \"Engineering\", and - \"Sales and Marketing\" are all tied to the company's documents stored - in the data sources Confluence and Salesforce. However, \"Sales and - Marketing\" team only needs access to customer-related documents stored - in Salesforce. - """ - type: str | None = ... - """The type of the group.""" - group_members: GroupMembers | None = ... - """ - A list of users or sub groups that belong to a group. This is for - generating Amazon Q Business chat results only from document a user has - access to. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role that has access to the S3 - file that contains your list of users that belong to a group. - """ - -@dataclass(kw_only=True) -class PutGroupOutput(_SerdeShape): - """Dataclass for PutGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class QAppsConfiguration(_SerdeShape): - """Configuration information about Amazon Q Apps.""" - - q_apps_control_mode: str - """ - Status information about whether end users can create and use Amazon Q - Apps in the web experience. - """ - -class QAppsControlMode(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class QuickSightConfiguration(_SerdeShape): - """ - The Amazon Quick Suite configuration for an Amazon Q Business - application that uses Quick Suite as the identity provider. For more - information, see [Creating an Amazon Quick Suite integrated - application](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/create-quicksight-integrated-application.html). - """ - - client_namespace: str - """ - The Amazon Quick Suite namespace that is used as the identity provider. - For more information about Quick Suite namespaces, see [Namespace - operations](https://docs.aws.amazon.com/quicksight/latest/developerguide/namespace-operations.html). - """ - -class ReadAccessType(UnknownEnumMixin, StrEnum): - ALLOW = "ALLOW" - DENY = "DENY" - -@dataclass(kw_only=True) -class RelevantContent(_SerdeShape): - """Represents a piece of content that is relevant to a search query.""" - - content: str | None = ... - """The actual content of the relevant item.""" - document_id: str | None = ... - """The unique identifier of the document containing the relevant content.""" - document_title: str | None = ... - """The title of the document containing the relevant content.""" - document_uri: str | None = ... - """The URI of the document containing the relevant content.""" - document_attributes: list[DocumentAttribute] | None = ... - """Additional attributes of the document containing the relevant content.""" - score_attributes: ScoreAttributes | None = ... - """Attributes related to the relevance score of the content.""" - -@dataclass(kw_only=True) -class ResourceNotFoundException(ServiceError, _SerdeShape): - """ - The application or plugin resource you want to use doesn't exist. Make - sure you have provided the correct resource and try again. - """ - - resource_id: str - """The identifier of the resource affected.""" - resource_type: str - """The type of the resource affected.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResponseConfiguration(_SerdeShape): - """ - Configuration settings to define how Amazon Q Business generates and - formats responses to user queries. This includes customization options - for response style, tone, length, and other characteristics. - """ - - instruction_collection: InstructionCollection | None = ... - """ - A collection of instructions that guide how Amazon Q Business generates - responses, including parameters for response length, target audience, - perspective, output style, identity, tone, and custom instructions. - """ - -class ResponseConfigurationType(UnknownEnumMixin, StrEnum): - ALL = "ALL" - -class ResponseScope(UnknownEnumMixin, StrEnum): - ENTERPRISE_CONTENT_ONLY = "ENTERPRISE_CONTENT_ONLY" - EXTENDED_KNOWLEDGE_ENABLED = "EXTENDED_KNOWLEDGE_ENABLED" - -@dataclass(kw_only=True) -class Retriever(_SerdeShape): - """ - Summary information for the retriever used for your Amazon Q Business - application. - """ - - application_id: str | None = ... - """The identifier of the Amazon Q Business application using the retriever.""" - retriever_id: str | None = ... - """ - The identifier of the retriever used by your Amazon Q Business - application. - """ - type: str | None = ... - """The type of your retriever.""" - status: str | None = ... - """The status of your retriever.""" - display_name: str | None = ... - """The name of your retriever.""" - -@dataclass -class RetrieverConfigurationNativeIndexConfiguration(_SerdeShape): - """ - Provides information on how a Amazon Q Business index used as a - retriever for your Amazon Q Business application is configured. - """ - - value: NativeIndexConfiguration - -@dataclass -class RetrieverConfigurationKendraIndexConfiguration(_SerdeShape): - """ - Provides information on how the Amazon Kendra index used as a retriever - for your Amazon Q Business application is configured. - """ - - value: KendraIndexConfiguration - -@dataclass -class RetrieverConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RetrieverConfiguration = Union[ - RetrieverConfigurationNativeIndexConfiguration - | RetrieverConfigurationKendraIndexConfiguration - | RetrieverConfigurationUnknown -] -""" -Provides information on how the retriever used for your Amazon Q -Business application is configured. -""" - -class _RetrieverConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> RetrieverConfiguration: ... - -@dataclass(kw_only=True) -class RetrieverContentSource(_SerdeShape): - """Specifies a retriever as the content source for a search.""" - - retriever_id: str - """The unique identifier of the retriever to use as the content source.""" - -class RetrieverStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - FAILED = "FAILED" - -class RetrieverType(UnknownEnumMixin, StrEnum): - NATIVE_INDEX = "NATIVE_INDEX" - KENDRA_INDEX = "KENDRA_INDEX" - -@dataclass(kw_only=True) -class Rule(_SerdeShape): - """ - Guardrail rules for an Amazon Q Business application. Amazon Q Business - supports only one rule at a time. - """ - - included_users_and_groups: UsersAndGroups | None = ... - """Users and groups to be included in a rule.""" - excluded_users_and_groups: UsersAndGroups | None = ... - """Users and groups to be excluded from a rule.""" - rule_type: str - """The type of rule.""" - rule_configuration: RuleConfiguration | None = ... - """The configuration information for a rule.""" - -@dataclass -class RuleConfigurationContentBlockerRule(_SerdeShape): - """ - A rule for configuring how Amazon Q Business responds when it encounters - a a blocked topic. - """ - - value: ContentBlockerRule - -@dataclass -class RuleConfigurationContentRetrievalRule(_SerdeShape): - """ - Rules for retrieving content from data sources connected to a Amazon Q - Business application for a specific topic control configuration. - """ - - value: ContentRetrievalRule - -@dataclass -class RuleConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -RuleConfiguration = Union[ - RuleConfigurationContentBlockerRule - | RuleConfigurationContentRetrievalRule - | RuleConfigurationUnknown -] -"""Provides configuration information about a rule.""" - -class _RuleConfigurationDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> RuleConfiguration: ... - -class RuleType(UnknownEnumMixin, StrEnum): - CONTENT_BLOCKER_RULE = "CONTENT_BLOCKER_RULE" - CONTENT_RETRIEVAL_RULE = "CONTENT_RETRIEVAL_RULE" - -@dataclass(kw_only=True) -class S3(_SerdeShape): - """ - Information required for Amazon Q Business to find a specific file in an - Amazon S3 bucket. - """ - - bucket: str - """The name of the S3 bucket that contains the file.""" - key: str - """The name of the file.""" - -@dataclass(kw_only=True) -class SamlConfiguration(_SerdeShape): - """ - Provides the SAML 2.0 compliant identity provider (IdP) configuration - information Amazon Q Business needs to deploy a Amazon Q Business web - experience. - """ - - metadata_xml: str - """The metadata XML that your IdP generated.""" - role_arn: str - """ - The Amazon Resource Name (ARN) of an IAM role assumed by users when they - authenticate into their Amazon Q Business web experience, containing the - relevant Amazon Q Business permissions for conversing with Amazon Q - Business. - """ - user_id_attribute: str - """The user attribute name in your IdP that maps to the user email.""" - user_group_attribute: str | None = ... - """The group attribute name in your IdP that maps to user groups.""" - -@dataclass(kw_only=True) -class SamlProviderConfiguration(_SerdeShape): - """ - Information about the SAML 2.0-compliant identity provider (IdP) used to - authenticate end users of an Amazon Q Business web experience. - """ - - authentication_url: str - """ - The URL where Amazon Q Business end users will be redirected for - authentication. - """ - -@dataclass(kw_only=True) -class ScoreAttributes(_SerdeShape): - """Provides information about the relevance score of content.""" - - score_confidence: str | None = ... - """The confidence level of the relevance score.""" - -class ScoreConfidence(UnknownEnumMixin, StrEnum): - VERY_HIGH = "VERY_HIGH" - HIGH = "HIGH" - MEDIUM = "MEDIUM" - LOW = "LOW" - NOT_AVAILABLE = "NOT_AVAILABLE" - -@dataclass(kw_only=True) -class SearchRelevantContentInput(_SerdeShape): - """Dataclass for SearchRelevantContentInput structure.""" - - application_id: str | None = ... - """The unique identifier of the Amazon Q Business application to search.""" - query_text: str | None = ... - """The text to search for.""" - content_source: ContentSource | None = ... - """The source of content to search in.""" - attribute_filter: AttributeFilter | None = ... - """ - Enables filtering of responses based on document attributes or metadata - fields. - """ - max_results: int = ... - """The maximum number of results to return.""" - next_token: str | None = ... - """ - The token for the next set of results. (You received this token from a - previous call.) - """ - -@dataclass(kw_only=True) -class SearchRelevantContentOutput(_SerdeShape): - """Dataclass for SearchRelevantContentOutput structure.""" - - relevant_content: list[RelevantContent] | None = ... - """The list of relevant content items found.""" - next_token: str | None = ... - """The token to use to retrieve the next set of results, if there are any.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ServiceQuotaExceededException(ServiceError, _SerdeShape): - """You have exceeded the set limits for your Amazon Q Business service.""" - - resource_id: str - """The identifier of the resource affected.""" - resource_type: str - """The type of the resource affected.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SnippetExcerpt(_SerdeShape): - """ - Contains the relevant text excerpt from a source that was used to - generate a citation text segment in an Amazon Q Business chat response. - """ - - text: str | None = ... - """ - The relevant text excerpt from a source that was used to generate a - citation text segment in an Amazon Q chat response. - """ - -@dataclass(kw_only=True) -class SourceAttribution(_SerdeShape): - """ - The documents used to generate an Amazon Q Business web experience - response. - """ - - title: str | None = ... - """ - The title of the document which is the source for the Amazon Q Business - generated response. - """ - snippet: str | None = ... - """ - The content extract from the document on which the generated response is - based. - """ - url: str | None = ... - """ - The URL of the document which is the source for the Amazon Q Business - generated response. - """ - citation_number: int | None = ... - """ - The number attached to a citation in an Amazon Q Business generated - response. - """ - updated_at: datetime | None = ... - """ - The Unix timestamp when the Amazon Q Business application was last - updated. - """ - text_message_segments: list[TextSegment] | None = ... - """ - A text extract from a source document that is used for source - attribution. - """ - document_id: str | None = ... - """ - The unique identifier of the source document used in the citation, - obtained from the Amazon Q Business index during chat response - generation. This ID is used as input to the `GetDocumentContent` API to - retrieve the actual document content for user verification. - """ - index_id: str | None = ... - """ - The identifier of the index containing the source document's metadata - and access control information. This links the citation back to the - specific Amazon Q Business index where the document's searchable - content and permissions are stored. - """ - datasource_id: str | None = ... - """ - The identifier of the data source from which the document was ingested. - This field is not present if the document is ingested by directly - calling the BatchPutDocument API (similar to checkDocumentAccess). If - the document is from a file-upload data source, the datasource will be - \"uploaded-docs-file-stat-datasourceid\". - """ - -@dataclass -class SourceDetailsImageSourceDetails(_SerdeShape): - """Details specific to image content within the source.""" - - value: ImageSourceDetails - -@dataclass -class SourceDetailsAudioSourceDetails(_SerdeShape): - """Details specific to audio content within the source.""" - - value: AudioSourceDetails - -@dataclass -class SourceDetailsVideoSourceDetails(_SerdeShape): - """Details specific to video content within the source.""" - - value: VideoSourceDetails - -@dataclass -class SourceDetailsUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -SourceDetails = Union[ - SourceDetailsImageSourceDetails - | SourceDetailsAudioSourceDetails - | SourceDetailsVideoSourceDetails - | SourceDetailsUnknown -] -""" -Container for details about different types of media sources (image, -audio, or video). -""" - -class _SourceDetailsDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> SourceDetails: ... - -@dataclass(kw_only=True) -class StartDataSourceSyncJobInput(_SerdeShape): - """Dataclass for StartDataSourceSyncJobInput structure.""" - - data_source_id: str | None = ... - """The identifier of the data source connector.""" - application_id: str | None = ... - """ - The identifier of Amazon Q Business application the data source is - connected to. - """ - index_id: str | None = ... - """The identifier of the index used with the data source connector.""" - -@dataclass(kw_only=True) -class StartDataSourceSyncJobOutput(_SerdeShape): - """Dataclass for StartDataSourceSyncJobOutput structure.""" - - execution_id: str | None = ... - """The identifier for a particular synchronization job.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class Status(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class StopDataSourceSyncJobInput(_SerdeShape): - """Dataclass for StopDataSourceSyncJobInput structure.""" - - data_source_id: str | None = ... - """The identifier of the data source connector.""" - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application that the data source - is connected to. - """ - index_id: str | None = ... - """ - The identifier of the index used with the Amazon Q Business data source - connector. - """ - -@dataclass(kw_only=True) -class StopDataSourceSyncJobOutput(_SerdeShape): - """Dataclass for StopDataSourceSyncJobOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StringAttributeBoostingConfiguration(_SerdeShape): - """ - Provides information on boosting `STRING` type document attributes. - - Note: - For `STRING` and `STRING_LIST` type document attributes to be used for - boosting on the console and the API, they must be enabled for search - using the - [DocumentAttributeConfiguration](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeConfiguration.html) - object of the - [UpdateIndex](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_UpdateIndex.html) - API. If you haven't enabled searching on these attributes, you can't - boost attributes of these data types on either the console or the API. - - For more information on how boosting document attributes work in Amazon - Q Business, see [Boosting using document - attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). - """ - - boosting_level: str - """ - Specifies the priority tier ranking of boosting applied to document - attributes. For version 2, this parameter indicates the relative ranking - between boosted fields (ONE being highest priority, TWO being second - highest, etc.) and determines the order in which attributes influence - document ranking in search results. For version 1, this parameter - specifies the boosting intensity. For version 2, boosting intensity - (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in - version 2, you are not allowed to boost on only one field and make this - value TWO. - """ - attribute_value_boosting: dict[str, str] | None = ... - """ - Specifies specific values of a `STRING` type document attribute being - boosted. When using `NativeIndexConfiguration` version 2, you can - specify up to five values in order of priority. - """ - -class StringAttributeValueBoostingLevel(UnknownEnumMixin, StrEnum): - LOW = "LOW" - MEDIUM = "MEDIUM" - HIGH = "HIGH" - VERY_HIGH = "VERY_HIGH" - ONE = "ONE" - TWO = "TWO" - THREE = "THREE" - FOUR = "FOUR" - FIVE = "FIVE" - -@dataclass(kw_only=True) -class StringListAttributeBoostingConfiguration(_SerdeShape): - """ - Provides information on boosting `STRING_LIST` type document attributes. - - In the current boosting implementation, boosting focuses primarily on - `DATE` attributes for recency and `STRING` attributes for source - prioritization. `STRING_LIST` attributes can serve as additional - boosting factors when needed, but are not supported when using - `NativeIndexConfiguration` version 2. - - Note: - For `STRING` and `STRING_LIST` type document attributes to be used for - boosting on the console and the API, they must be enabled for search - using the - [DocumentAttributeConfiguration](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeConfiguration.html) - object of the - [UpdateIndex](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_UpdateIndex.html) - API. If you haven't enabled searching on these attributes, you can't - boost attributes of these data types on either the console or the API. - - For more information on how boosting document attributes work in Amazon - Q Business, see [Boosting using document - attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html). - """ - - boosting_level: str - """ - Specifies the priority of boosted document attributes in relation to - other boosted attributes. This parameter determines how strongly the - attribute influences document ranking in search results. `STRING_LIST` - attributes can serve as additional boosting factors when needed, but are - not supported when using `NativeIndexConfiguration` version 2. - """ - -@dataclass(kw_only=True) -class Subscription(_SerdeShape): - """ - Information about an Amazon Q Business subscription. - - Subscriptions are used to provide access for an IAM Identity Center user - or a group to an Amazon Q Business application. - - Amazon Q Business offers two subscription tiers: `Q_LITE` and - `Q_BUSINESS`. Subscription tier determines feature access for the user. - For more information on subscriptions and pricing tiers, see [Amazon Q - Business pricing](https://aws.amazon.com/q/business/pricing/). - """ - - subscription_id: str | None = ... - """The identifier of the Amazon Q Business subscription to be updated.""" - subscription_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Q Business subscription - that was updated. - """ - principal: SubscriptionPrincipal | None = ... - """ - The IAM Identity Center `UserId` or `GroupId` of a user or group in the - IAM Identity Center instance connected to the Amazon Q Business - application. - """ - current_subscription: SubscriptionDetails | None = ... - """The type of your current Amazon Q Business subscription.""" - next_subscription: SubscriptionDetails | None = ... - """The type of the Amazon Q Business subscription for the next month.""" - -@dataclass(kw_only=True) -class SubscriptionDetails(_SerdeShape): - """The details of an Amazon Q Business subscription.""" - - type: str | None = ... - """The type of an Amazon Q Business subscription.""" - -@dataclass -class SubscriptionPrincipalUser(_SerdeShape): - """ - The identifier of a user in the IAM Identity Center instance connected - to the Amazon Q Business application. - """ - - value: str - -@dataclass -class SubscriptionPrincipalGroup(_SerdeShape): - """ - The identifier of a group in the IAM Identity Center instance connected - to the Amazon Q Business application. - """ - - value: str - -@dataclass -class SubscriptionPrincipalUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -SubscriptionPrincipal = Union[ - SubscriptionPrincipalUser - | SubscriptionPrincipalGroup - | SubscriptionPrincipalUnknown -] -""" -A user or group in the IAM Identity Center instance connected to the -Amazon Q Business application. -""" - -class _SubscriptionPrincipalDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> SubscriptionPrincipal: ... - -class SubscriptionType(UnknownEnumMixin, StrEnum): - Q_LITE = "Q_LITE" - Q_BUSINESS = "Q_BUSINESS" - -class SystemMessageType(UnknownEnumMixin, StrEnum): - RESPONSE = "RESPONSE" - GROUNDED_RESPONSE = "GROUNDED_RESPONSE" - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """ - A list of key/value pairs that identify an index, FAQ, or data source. - Tag keys and values can consist of Unicode letters, digits, white space, - and any of the following symbols: _ . : / = + - @. - """ - - key: str - """ - The key for the tag. Keys are not case sensitive and must be unique for - the Amazon Q Business application or data source. - """ - value: str - """ - The value associated with the tag. The value may be an empty string but - it can't be null. - """ - -@dataclass(kw_only=True) -class TagResourceInput(_SerdeShape): - """Dataclass for TagResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Q Business application or - data source to tag. - """ - tags: list[Tag] | None = ... - """ - A list of tag keys to add to the Amazon Q Business application or data - source. If a tag already exists, the existing value is replaced with the - new value. - """ - -@dataclass(kw_only=True) -class TagResourceOutput(_SerdeShape): - """Dataclass for TagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TextDocumentStatistics(_SerdeShape): - """Provides information about text documents in an index.""" - - indexed_text_bytes: int | None = ... - """The total size, in bytes, of the indexed documents.""" - indexed_text_document_count: int | None = ... - """The number of text documents indexed.""" - -@dataclass(kw_only=True) -class TextInputEvent(_SerdeShape): - """ - An input event for a end user message in an Amazon Q Business web - experience. - """ - - user_message: str - """A user message in a text message input event.""" - -@dataclass(kw_only=True) -class TextOutputEvent(_SerdeShape): - """ - An output event for an AI-generated response in an Amazon Q Business web - experience. - """ - - system_message_type: str | None = ... - """ - The type of AI-generated message in a `TextOutputEvent`. Amazon Q - Business currently supports two types of messages: - - - `RESPONSE` - The Amazon Q Business system response. - - - `GROUNDED_RESPONSE` - The corrected, hallucination-reduced, response - returned by Amazon Q Business. Available only if hallucination - reduction is supported and configured for the application and detected - in the end user chat query by Amazon Q Business. - """ - conversation_id: str | None = ... - """ - The identifier of the conversation with which the text output event is - associated. - """ - user_message_id: str | None = ... - """The identifier of an end user message in a `TextOutputEvent`.""" - system_message_id: str | None = ... - """The identifier of an AI-generated message in a `TextOutputEvent`.""" - system_message: str | None = ... - """An AI-generated message in a `TextOutputEvent`.""" - -@dataclass(kw_only=True) -class TextSegment(_SerdeShape): - """ - Provides information about a text extract in a chat response that can be - attributed to a source document. - """ - - begin_offset: int | None = ... - """ - The zero-based location in the response string where the source - attribution starts. - """ - end_offset: int | None = ... - """ - The zero-based location in the response string where the source - attribution ends. - """ - snippet_excerpt: SnippetExcerpt | None = ... - """ - The relevant text excerpt from a source that was used to generate a - citation text segment in an Amazon Q Business chat response. - """ - media_id: str | None = ... - """ - The identifier of the media object associated with the text segment in - the source attribution. - """ - media_mime_type: str | None = ... - """ - The MIME type (image/png) of the media object associated with the text - segment in the source attribution. - """ - source_details: SourceDetails | None = ... - """ - Source information for a segment of extracted text, including its media - type. - """ - -@dataclass(kw_only=True) -class ThrottlingException(ServiceError, _SerdeShape): - """ - The request was denied due to throttling. Reduce the number of requests - and try again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TopicConfiguration(_SerdeShape): - """ - The topic specific controls configured for an Amazon Q Business - application. - """ - - name: str - """A name for your topic control configuration.""" - description: str | None = ... - """ - A description for your topic control configuration. Use this to outline - how the large language model (LLM) should use this topic control - configuration. - """ - example_chat_messages: list[str] | None = ... - """ - A list of example phrases that you expect the end user to use in - relation to the topic. - """ - rules: list[Rule] - """Rules defined for a topic configuration.""" - -@dataclass(kw_only=True) -class UntagResourceInput(_SerdeShape): - """Dataclass for UntagResourceInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Q Business application, or - data source to remove the tag from. - """ - tag_keys: list[str] | None = ... - """ - A list of tag keys to remove from the Amazon Q Business application or - data source. If a tag key does not exist on the resource, it is ignored. - """ - -@dataclass(kw_only=True) -class UntagResourceOutput(_SerdeShape): - """Dataclass for UntagResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateApplicationInput(_SerdeShape): - """Dataclass for UpdateApplicationInput structure.""" - - application_id: str | None = ... - """The identifier of the Amazon Q Business application.""" - identity_center_instance_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM Identity Center instance you - are either creating for---or connecting to---your Amazon Q Business - application. - """ - display_name: str | None = ... - """A name for the Amazon Q Business application.""" - description: str | None = ... - """A description for the Amazon Q Business application.""" - role_arn: str | None = ... - """ - An Amazon Web Services Identity and Access Management (IAM) role that - gives Amazon Q Business permission to access Amazon CloudWatch logs and - metrics. - """ - attachments_configuration: AttachmentsConfiguration | None = ... - """An option to allow end users to upload files directly during chat.""" - q_apps_configuration: QAppsConfiguration | None = ... - """ - An option to allow end users to create and use Amazon Q Apps in the web - experience. - """ - personalization_configuration: PersonalizationConfiguration | None = ... - """ - Configuration information about chat response personalization. For more - information, see [Personalizing chat - responses](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html). - """ - auto_subscription_configuration: AutoSubscriptionConfiguration | None = ... - """ - An option to enable updating the default subscription type assigned to - an Amazon Q Business application using IAM identity federation for user - management. - """ - -@dataclass(kw_only=True) -class UpdateApplicationOutput(_SerdeShape): - """Dataclass for UpdateApplicationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateChatControlsConfigurationInput(_SerdeShape): - """Dataclass for UpdateChatControlsConfigurationInput structure.""" - - application_id: str | None = ... - """ - The identifier of the application for which the chat controls are - configured. - """ - client_token: str | None = ... - """ - A token that you provide to identify the request to update a Amazon Q - Business application chat configuration. - """ - response_scope: str | None = ... - """ - The response scope configured for your application. This determines - whether your application uses its retrieval augmented generation (RAG) - system to generate answers only from your enterprise data, or also uses - the large language models (LLM) knowledge to respons to end user - questions in chat. - """ - orchestration_configuration: OrchestrationConfiguration | None = ... - """The chat response orchestration settings for your application.""" - blocked_phrases_configuration_update: BlockedPhrasesConfigurationUpdate | None = ... - """The phrases blocked from chat by your chat control configuration.""" - topic_configurations_to_create_or_update: list[TopicConfiguration] | None = ... - """The configured topic specific chat controls you want to update.""" - topic_configurations_to_delete: list[TopicConfiguration] | None = ... - """The configured topic specific chat controls you want to delete.""" - creator_mode_configuration: CreatorModeConfiguration | None = ... - """The configuration details for `CREATOR_MODE`.""" - hallucination_reduction_configuration: ( - HallucinationReductionConfiguration | None - ) = ... - """The hallucination reduction settings for your application.""" - -@dataclass(kw_only=True) -class UpdateChatControlsConfigurationOutput(_SerdeShape): - """Dataclass for UpdateChatControlsConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateChatResponseConfigurationInput(_SerdeShape): - """Dataclass for UpdateChatResponseConfigurationInput structure.""" - - application_id: str | None = ... - """ - The unique identifier of the Amazon Q Business application containing - the chat response configuration to update. - """ - chat_response_configuration_id: str | None = ... - """ - The unique identifier of the chat response configuration to update - within the specified application. - """ - display_name: str | None = ... - """ - The new human-readable name to assign to the chat response - configuration, making it easier to identify among multiple - configurations. - """ - response_configurations: dict[str, ResponseConfiguration] | None = ... - """ - The updated collection of response configuration settings that define - how Amazon Q Business generates and formats responses to user queries. - """ - client_token: str | None = ... - """ - A unique, case-sensitive identifier to ensure idempotency of the - request. This helps prevent the same update from being processed - multiple times if retries occur. - """ - -@dataclass(kw_only=True) -class UpdateChatResponseConfigurationOutput(_SerdeShape): - """Dataclass for UpdateChatResponseConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDataAccessorInput(_SerdeShape): - """Dataclass for UpdateDataAccessorInput structure.""" - - application_id: str | None = ... - """The unique identifier of the Amazon Q Business application.""" - data_accessor_id: str | None = ... - """The unique identifier of the data accessor to update.""" - action_configurations: list[ActionConfiguration] | None = ... - """ - The updated list of action configurations specifying the allowed actions - and any associated filters. - """ - authentication_detail: DataAccessorAuthenticationDetail | None = ... - """ - The updated authentication configuration details for the data accessor. - This specifies how the ISV will authenticate when accessing data through - this data accessor. - """ - display_name: str | None = ... - """The updated friendly name for the data accessor.""" - -@dataclass(kw_only=True) -class UpdateDataAccessorOutput(_SerdeShape): - """Dataclass for UpdateDataAccessorOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateDataSourceInput(_SerdeShape): - """Dataclass for UpdateDataSourceInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application the data source is - attached to. - """ - index_id: str | None = ... - """The identifier of the index attached to the data source connector.""" - data_source_id: str | None = ... - """The identifier of the data source connector.""" - display_name: str | None = ... - """A name of the data source connector.""" - configuration: _Document | None = ... - """ - Provides the configuration information for an Amazon Q Business data - source. - """ - vpc_configuration: DataSourceVpcConfiguration | None = ... - """ - Provides configuration information needed to connect to an Amazon VPC - (Virtual Private Cloud). - """ - description: str | None = ... - """The description of the data source connector.""" - sync_schedule: str | None = ... - """The chosen update frequency for your data source.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role with permission to access - the data source and required resources. - """ - document_enrichment_configuration: DocumentEnrichmentConfiguration | None = ... - """ - Provides the configuration information for altering document metadata - and content during the document ingestion process. - - For more information, see [Custom document - enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html). - """ - media_extraction_configuration: MediaExtractionConfiguration | None = ... - """ - The configuration for extracting information from media in documents for - your data source. - """ - -@dataclass(kw_only=True) -class UpdateDataSourceOutput(_SerdeShape): - """Dataclass for UpdateDataSourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateIndexInput(_SerdeShape): - """Dataclass for UpdateIndexInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application connected to the - index. - """ - index_id: str | None = ... - """The identifier of the Amazon Q Business index.""" - display_name: str | None = ... - """The name of the Amazon Q Business index.""" - description: str | None = ... - """The description of the Amazon Q Business index.""" - capacity_configuration: IndexCapacityConfiguration | None = ... - """ - The storage capacity units you want to provision for your Amazon Q - Business index. You can add and remove capacity to fit your usage needs. - """ - document_attribute_configurations: list[DocumentAttributeConfiguration] | None = ... - """ - Configuration information for document metadata or fields. Document - metadata are fields or attributes associated with your documents. For - example, the company department name associated with each document. For - more information, see [Understanding document - attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes-types.html#doc-attributes). - """ - -@dataclass(kw_only=True) -class UpdateIndexOutput(_SerdeShape): - """Dataclass for UpdateIndexOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdatePluginInput(_SerdeShape): - """Dataclass for UpdatePluginInput structure.""" - - application_id: str | None = ... - """The identifier of the application the plugin is attached to.""" - plugin_id: str | None = ... - """The identifier of the plugin.""" - display_name: str | None = ... - """The name of the plugin.""" - state: str | None = ... - """The status of the plugin.""" - server_url: str | None = ... - """The source URL used for plugin configuration.""" - custom_plugin_configuration: CustomPluginConfiguration | None = ... - """The configuration for a custom plugin.""" - auth_configuration: PluginAuthConfiguration | None = ... - """The authentication configuration the plugin is using.""" - -@dataclass(kw_only=True) -class UpdatePluginOutput(_SerdeShape): - """Dataclass for UpdatePluginOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateRetrieverInput(_SerdeShape): - """Dataclass for UpdateRetrieverInput structure.""" - - application_id: str | None = ... - """The identifier of your Amazon Q Business application.""" - retriever_id: str | None = ... - """The identifier of your retriever.""" - configuration: RetrieverConfiguration | None = ... - """ - Provides information on how the retriever used for your Amazon Q - Business application is configured. - """ - display_name: str | None = ... - """The name of your retriever.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of an IAM role with permission to access - the retriever and required resources. - """ - -@dataclass(kw_only=True) -class UpdateRetrieverOutput(_SerdeShape): - """Dataclass for UpdateRetrieverOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateSubscriptionInput(_SerdeShape): - """Dataclass for UpdateSubscriptionInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application where the - subscription update should take effect. - """ - subscription_id: str | None = ... - """The identifier of the Amazon Q Business subscription to be updated.""" - type: str | None = ... - """The type of the Amazon Q Business subscription to be updated.""" - -@dataclass(kw_only=True) -class UpdateSubscriptionOutput(_SerdeShape): - """Dataclass for UpdateSubscriptionOutput structure.""" - - subscription_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Q Business subscription - that was updated. - """ - current_subscription: SubscriptionDetails | None = ... - """The type of your current Amazon Q Business subscription.""" - next_subscription: SubscriptionDetails | None = ... - """The type of the Amazon Q Business subscription for the next month.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateUserInput(_SerdeShape): - """Dataclass for UpdateUserInput structure.""" - - application_id: str | None = ... - """The identifier of the application the user is attached to.""" - user_id: str | None = ... - """The email id attached to the user.""" - user_aliases_to_update: list[UserAlias] | None = ... - """The user aliases attached to the user id that are to be updated.""" - user_aliases_to_delete: list[UserAlias] | None = ... - """The user aliases attached to the user id that are to be deleted.""" - -@dataclass(kw_only=True) -class UpdateUserOutput(_SerdeShape): - """Dataclass for UpdateUserOutput structure.""" - - user_aliases_added: list[UserAlias] | None = ... - """The user aliases that have been to be added to a user id.""" - user_aliases_updated: list[UserAlias] | None = ... - """The user aliases attached to a user id that have been updated.""" - user_aliases_deleted: list[UserAlias] | None = ... - """The user aliases that have been deleted from a user id.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateWebExperienceInput(_SerdeShape): - """Dataclass for UpdateWebExperienceInput structure.""" - - application_id: str | None = ... - """ - The identifier of the Amazon Q Business application attached to the web - experience. - """ - web_experience_id: str | None = ... - """The identifier of the Amazon Q Business web experience.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the role with permission to access the - Amazon Q Business web experience and required resources. - """ - authentication_configuration: WebExperienceAuthConfiguration | None = ... - """ - The authentication configuration of the Amazon Q Business web - experience. - """ - title: str | None = ... - """The title of the Amazon Q Business web experience.""" - subtitle: str | None = ... - """The subtitle of the Amazon Q Business web experience.""" - welcome_message: str | None = ... - """ - A customized welcome message for an end user in an Amazon Q Business web - experience. - """ - sample_prompts_control_mode: str | None = ... - """ - Determines whether sample prompts are enabled in the web experience for - an end user. - """ - identity_provider_configuration: IdentityProviderConfiguration | None = ... - """ - Information about the identity provider (IdP) used to authenticate end - users of an Amazon Q Business web experience. - """ - origins: list[str] | None = ... - """ - Updates the website domain origins that are allowed to embed the Amazon - Q Business web experience. The *domain origin* refers to the *base URL* - for accessing a website including the protocol (`http/https`), the - domain name, and the port number (if specified). - - Note: - - Any values except `null` submitted as part of this update will replace - all previous values. - - - You must only submit a *base URL* and not a full path. For example, - `https://docs.aws.amazon.com`. - """ - browser_extension_configuration: BrowserExtensionConfiguration | None = ... - """ - The browser extension configuration for an Amazon Q Business web - experience. - - Note: - For Amazon Q Business application using external OIDC-compliant identity - providers (IdPs). The IdP administrator must add the browser extension - sign-in redirect URLs to the IdP application. For more information, see - [Configure external OIDC identity provider for your browser - extensions.](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/browser-extensions.html). - """ - customization_configuration: CustomizationConfiguration | None = ... - """ - Updates the custom logo, favicon, font, and color used in the Amazon Q - web experience. - """ - -@dataclass(kw_only=True) -class UpdateWebExperienceOutput(_SerdeShape): - """Dataclass for UpdateWebExperienceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UserAlias(_SerdeShape): - """Aliases attached to a user id within an Amazon Q Business application.""" - - index_id: str | None = ... - """The identifier of the index that the user aliases are associated with.""" - data_source_id: str | None = ... - """ - The identifier of the data source that the user aliases are associated - with. - """ - user_id: str - """The identifier of the user id associated with the user aliases.""" - -@dataclass(kw_only=True) -class UsersAndGroups(_SerdeShape): - """ - Provides information about users and group names associated with a topic - control rule. - """ - - user_ids: list[str] | None = ... - """The user ids associated with a topic control rule.""" - user_groups: list[str] | None = ... - """The user group names associated with a topic control rule.""" - -@dataclass(kw_only=True) -class ValidationException(ServiceError, _SerdeShape): - """ - The input doesn't meet the constraints set by the Amazon Q Business - service. Provide the correct input and try again. - """ - - reason: str - """The reason for the `ValidationException`.""" - fields: list[ValidationExceptionField] | None = ... - """The input field(s) that failed validation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ValidationExceptionField(_SerdeShape): - """ - The input failed to meet the constraints specified by Amazon Q Business - in a specified field. - """ - - name: str - """The field name where the invalid entry was detected.""" - message: str - """A message about the validation exception.""" - -class ValidationExceptionReason(UnknownEnumMixin, StrEnum): - CANNOT_PARSE = "CANNOT_PARSE" - FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED" - UNKNOWN_OPERATION = "UNKNOWN_OPERATION" - -@dataclass(kw_only=True) -class VideoExtractionConfiguration(_SerdeShape): - """Configuration settings for video content extraction and processing.""" - - video_extraction_status: str - """ - The status of video extraction (ENABLED or DISABLED) for processing - video content from files. - """ - -class VideoExtractionStatus(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class VideoExtractionType(UnknownEnumMixin, StrEnum): - TRANSCRIPT = "TRANSCRIPT" - SUMMARY = "SUMMARY" - -@dataclass(kw_only=True) -class VideoSourceDetails(_SerdeShape): - """ - Details about a video source, including its identifier, format, and time - information. - """ - - media_id: str | None = ... - """Unique identifier for the video media file.""" - media_mime_type: str | None = ... - """The MIME type of the video file (e.g., video/mp4, video/avi).""" - start_time_milliseconds: int | None = ... - """The starting timestamp in milliseconds for the relevant video segment.""" - end_time_milliseconds: int | None = ... - """The ending timestamp in milliseconds for the relevant video segment.""" - video_extraction_type: str | None = ... - """The type of video extraction performed on the content.""" - -@dataclass(kw_only=True) -class WebExperience(_SerdeShape): - """Provides information for an Amazon Q Business web experience.""" - - web_experience_id: str | None = ... - """The identifier of your Amazon Q Business web experience.""" - created_at: datetime | None = ... - """ - The Unix timestamp when the Amazon Q Business application was last - updated. - """ - updated_at: datetime | None = ... - """ - The Unix timestamp when your Amazon Q Business web experience was - updated. - """ - default_endpoint: str | None = ... - """ - The endpoint URLs for your Amazon Q Business web experience. The URLs - are unique and fully hosted by Amazon Web Services. - """ - status: str | None = ... - """The status of your Amazon Q Business web experience.""" - -@dataclass -class WebExperienceAuthConfigurationSamlConfiguration(_SerdeShape): - """ - Provides the SAML 2.0 compliant identity provider (IdP) configuration - information Amazon Q Business needs to deploy a Amazon Q Business web - experience. - """ - - value: SamlConfiguration - -@dataclass -class WebExperienceAuthConfigurationUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -WebExperienceAuthConfiguration = Union[ - WebExperienceAuthConfigurationSamlConfiguration - | WebExperienceAuthConfigurationUnknown -] -""" -Provides the authorization configuration information needed to deploy a -Amazon Q Business web experience to end users. -""" - -class _WebExperienceAuthConfigurationDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> WebExperienceAuthConfiguration: ... - -class WebExperienceSamplePromptsControlMode(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class WebExperienceStatus(UnknownEnumMixin, StrEnum): - CREATING = "CREATING" - ACTIVE = "ACTIVE" - DELETING = "DELETING" - FAILED = "FAILED" - PENDING_AUTH_CONFIG = "PENDING_AUTH_CONFIG" - ASSOCIATE_PERMISSION: APIOperation[AssociatePermissionInput, AssociatePermissionOutput] BATCH_DELETE_DOCUMENT: APIOperation[BatchDeleteDocumentInput, BatchDeleteDocumentOutput] BATCH_PUT_DOCUMENT: APIOperation[BatchPutDocumentInput, BatchPutDocumentOutput] diff --git a/clients/aws-sdk-qbusiness/tests/test_endpoints.py b/clients/aws-sdk-qbusiness/tests/test_endpoints.py index 9f35b45f1..a2ced454c 100644 --- a/clients/aws-sdk-qbusiness/tests/test_endpoints.py +++ b/clients/aws-sdk-qbusiness/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-rds/pyproject.toml b/clients/aws-sdk-rds/pyproject.toml index 55ee926cb..8ae76a404 100644 --- a/clients/aws-sdk-rds/pyproject.toml +++ b/clients/aws-sdk-rds/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_rds" version = "0.12.0" -description = "aws_sdk_rds client" +description = "Python client for Amazon Relational Database Service" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_rds"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[xml]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[xml]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/models_0.pyi b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/models_0.pyi new file mode 100644 index 000000000..6eee013c8 --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/models_0.pyi @@ -0,0 +1,12701 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + DocLink, + DomainMembership, + EC2SecurityGroup, + Endpoint, + EventSubscription, + GlobalCluster, + IPRange, + IntegrationError, + IssueDetails, + LimitlessDatabase, + MasterUserSecret, + OptionGroup, + OptionGroupMembership, + PendingCloudwatchLogsExports, + PendingModifiedValues, + ProcessorFeature, + RdsCustomClusterConfiguration, + RecommendedAction, + ResourcePendingMaintenanceActions, + RestoreWindow, + ScalingConfiguration, + ScalingConfigurationInfo, + ServerlessV2FeaturesSupport, + ServerlessV2ScalingConfiguration, + ServerlessV2ScalingConfigurationInfo, + ServiceError, + Subnet, + SupportedEngineLifecycle, + SwitchoverDetail, + Tag, + TagSpecification, + TargetHealth, + TargetResourceConfiguration, + TenantDatabase, + Timezone, + UpgradeTarget, + UserAuthConfig, + UserAuthConfigInfo, + VpcSecurityGroupMembership, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AccountQuota(_SerdeShape): + """ + Describes a quota for an Amazon Web Services account. + + The following are account quotas: + + - `AllocatedStorage` - The total allocated storage per account, in GiB. + The used value is the total allocated storage in the account, in GiB. + + - `AuthorizationsPerDBSecurityGroup` - The number of ingress rules per + DB security group. The used value is the highest number of ingress + rules in a DB security group in the account. Other DB security groups + in the account might have a lower number of ingress rules. + + - `CustomEndpointsPerDBCluster` - The number of custom endpoints per DB + cluster. The used value is the highest number of custom endpoints in a + DB clusters in the account. Other DB clusters in the account might + have a lower number of custom endpoints. + + - `DBClusterParameterGroups` - The number of DB cluster parameter groups + per account, excluding default parameter groups. The used value is the + count of nondefault DB cluster parameter groups in the account. + + - `DBClusterRoles` - The number of associated Amazon Web Services + Identity and Access Management (IAM) roles per DB cluster. The used + value is the highest number of associated IAM roles for a DB cluster + in the account. Other DB clusters in the account might have a lower + number of associated IAM roles. + + - `DBClusters` - The number of DB clusters per account. The used value + is the count of DB clusters in the account. + + - `DBInstanceRoles` - The number of associated IAM roles per DB + instance. The used value is the highest number of associated IAM roles + for a DB instance in the account. Other DB instances in the account + might have a lower number of associated IAM roles. + + - `DBInstances` - The number of DB instances per account. The used value + is the count of the DB instances in the account. + + Amazon RDS DB instances, Amazon Aurora DB instances, Amazon Neptune + instances, and Amazon DocumentDB instances apply to this quota. + + - `DBParameterGroups` - The number of DB parameter groups per account, + excluding default parameter groups. The used value is the count of + nondefault DB parameter groups in the account. + + - `DBSecurityGroups` - The number of DB security groups (not VPC + security groups) per account, excluding the default security group. + The used value is the count of nondefault DB security groups in the + account. + + - `DBSubnetGroups` - The number of DB subnet groups per account. The + used value is the count of the DB subnet groups in the account. + + - `EventSubscriptions` - The number of event subscriptions per account. + The used value is the count of the event subscriptions in the account. + + - `ManualClusterSnapshots` - The number of manual DB cluster snapshots + per account. The used value is the count of the manual DB cluster + snapshots in the account. + + - `ManualSnapshots` - The number of manual DB instance snapshots per + account. The used value is the count of the manual DB instance + snapshots in the account. + + - `OptionGroups` - The number of DB option groups per account, excluding + default option groups. The used value is the count of nondefault DB + option groups in the account. + + - `ReadReplicasPerMaster` - The number of read replicas per DB instance. + The used value is the highest number of read replicas for a DB + instance in the account. Other DB instances in the account might have + a lower number of read replicas. + + - `ReservedDBInstances` - The number of reserved DB instances per + account. The used value is the count of the active reserved DB + instances in the account. + + - `SubnetsPerDBSubnetGroup` - The number of subnets per DB subnet group. + The used value is highest number of subnets for a DB subnet group in + the account. Other DB subnet groups in the account might have a lower + number of subnets. + + For more information, see [Quotas for Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html) + in the *Amazon RDS User Guide* and [Quotas for Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_Limits.html) + in the *Amazon Aurora User Guide*. + """ + + account_quota_name: str | None = ... + """The name of the Amazon RDS quota for this Amazon Web Services account.""" + used: int | None = ... + """The amount currently used toward the quota maximum.""" + max: int | None = ... + """The maximum allowed value for the quota.""" + +class ActivityStreamMode(UnknownEnumMixin, StrEnum): + SYNC = "sync" + ASYNC_ = "async" + +class ActivityStreamPolicyStatus(UnknownEnumMixin, StrEnum): + LOCKED = "locked" + UNLOCKED = "unlocked" + LOCKING_POLICY = "locking-policy" + UNLOCKING_POLICY = "unlocking-policy" + +class ActivityStreamStatus(UnknownEnumMixin, StrEnum): + STOPPED = "stopped" + STARTING = "starting" + STARTED = "started" + STOPPING = "stopping" + +@dataclass(kw_only=True) +class AdditionalStorageVolume(_SerdeShape): + """ + Contains details about an additional storage volume for a DB instance. + RDS support additional storage volumes for RDS for Oracle and RDS for + SQL Server. + """ + + volume_name: str | None = ... + """ + The name of the additional storage volume. + + Valid Values: `RDSDBDATA2 | RDSDBDATA3 | RDSDBDATA4` + """ + allocated_storage: int | None = ... + """ + The amount of storage allocated for the additional storage volume, in + gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 + TiB). + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS) provisioned for the + additional storage volume. + """ + max_allocated_storage: int | None = ... + """ + The upper limit in gibibytes (GiB) to which RDS can automatically scale + the storage of the additional storage volume. + """ + storage_throughput: int | None = ... + """ + The storage throughput value for the additional storage volume, in + mebibytes per second (MiBps). This setting applies only to the General + Purpose SSD (`gp3`) storage type. + """ + storage_type: str | None = ... + """ + The storage type for the additional storage volume. + + Valid Values: `GP3 | IO2` + """ + +@dataclass(kw_only=True) +class AdditionalStorageVolumeOutput(_SerdeShape): + """ + Contains information about an additional storage volume for a DB + instance. + """ + + volume_name: str | None = ... + """The name of the additional storage volume.""" + storage_volume_status: str | None = ... + """ + The status of the additional storage volume. + + Valid Values: + `ACTIVE | CREATING | DELETING | MODIFYING | NOT-IN-USE | STORAGE-OPTIMIZATION | VOLUME-FULL` + """ + storage_operation_status: str | None = ... + """ + The status of an in-progress storage operation on the additional storage + volume. This field appears only while a storage operation is in + progress. It isn't present when no storage operation is active. + Possible values: + + - `Initializing` - The volume is initializing from a snapshot, such as + during a snapshot restore, point-in-time restore, read replica + creation, or blue/green deployment. Performance can be lower than + provisioned until initialization completes. + + - `Optimizing` - The volume is optimizing following a storage scaling or + modification operation. + """ + storage_operation_percent_progress: int | None = ... + """ + The percentage of the in-progress storage operation on the additional + storage volume that has completed, from `0` to `100`. This field appears + only while a storage operation is in progress. It isn't present when no + storage operation is active. + """ + allocated_storage: int | None = ... + """ + The amount of storage allocated for the additional storage volume, in + gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 + TiB). + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS) provisioned for the + additional storage volume. + """ + max_allocated_storage: int | None = ... + """ + The upper limit in gibibytes (GiB) to which RDS can automatically scale + the storage of the additional storage volume. + """ + storage_throughput: int | None = ... + """ + The storage throughput value for the additional storage volume, in + mebibytes per second (MiBps). + """ + storage_type: str | None = ... + """ + The storage type for the additional storage volume. + + Valid Values: `GP3 | IO2` + """ + +@dataclass(kw_only=True) +class AddRoleToDBClusterInput(_SerdeShape): + """Dataclass for AddRoleToDBClusterInput structure.""" + + db_cluster_identifier: str | None = ... + """The name of the DB cluster to associate the IAM role with.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role to associate with the + Aurora DB cluster, for example + `arn:aws:iam::123456789012:role/AuroraAccessRole`. + """ + feature_name: str | None = ... + """ + The name of the feature for the DB cluster that the IAM role is to be + associated with. For information about supported feature names, see + DBEngineVersion. + """ + +@dataclass(kw_only=True) +class AddRoleToDBClusterOutput(_SerdeShape): + """Dataclass for AddRoleToDBClusterOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AddRoleToDBInstanceInput(_SerdeShape): + """Dataclass for AddRoleToDBInstanceInput structure.""" + + db_instance_identifier: str | None = ... + """The name of the DB instance to associate the IAM role with.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role to associate with the DB + instance, for example `arn:aws:iam::123456789012:role/AccessRole`. + """ + feature_name: str | None = ... + """ + The name of the feature for the DB instance that the IAM role is to be + associated with. For information about supported feature names, see + DBEngineVersion. + """ + +@dataclass(kw_only=True) +class AddRoleToDBInstanceOutput(_SerdeShape): + """Dataclass for AddRoleToDBInstanceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AddSourceIdentifierToSubscriptionInput(_SerdeShape): + """""" + + subscription_name: str | None = ... + """ + The name of the RDS event notification subscription you want to add a + source identifier to. + """ + source_identifier: str | None = ... + """ + The identifier of the event source to be added. + + Constraints: + + - If the source type is a DB instance, a `DBInstanceIdentifier` value + must be supplied. + + - If the source type is a DB cluster, a `DBClusterIdentifier` value must + be supplied. + + - If the source type is a DB parameter group, a `DBParameterGroupName` + value must be supplied. + + - If the source type is a DB security group, a `DBSecurityGroupName` + value must be supplied. + + - If the source type is a DB snapshot, a `DBSnapshotIdentifier` value + must be supplied. + + - If the source type is a DB cluster snapshot, a + `DBClusterSnapshotIdentifier` value must be supplied. + + - If the source type is an RDS Proxy, a `DBProxyName` value must be + supplied. + """ + +@dataclass(kw_only=True) +class AddSourceIdentifierToSubscriptionOutput(_SerdeShape): + """Dataclass for AddSourceIdentifierToSubscriptionOutput structure.""" + + event_subscription: EventSubscription | None = ... + """ + Contains the results of a successful invocation of the + `DescribeEventSubscriptions` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AddTagsToResourceInput(_SerdeShape): + """""" + + resource_name: str | None = ... + """ + The Amazon RDS resource that the tags are added to. This value is an + Amazon Resource Name (ARN). For information about creating an ARN, see + [Constructing an RDS Amazon Resource Name + (ARN)](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). + """ + tags: list[Tag] | None = ... + """The tags to be assigned to the Amazon RDS resource.""" + +@dataclass(kw_only=True) +class AddTagsToResourceOutput(_SerdeShape): + """Dataclass for AddTagsToResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ApplyMethod(UnknownEnumMixin, StrEnum): + IMMEDIATE = "immediate" + PENDING_REBOOT = "pending-reboot" + +@dataclass(kw_only=True) +class ApplyPendingMaintenanceActionInput(_SerdeShape): + """""" + + resource_identifier: str | None = ... + """ + The RDS Amazon Resource Name (ARN) of the resource that the pending + maintenance action applies to. For information about creating an ARN, + see [Constructing an RDS Amazon Resource Name + (ARN)](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). + """ + apply_action: str | None = ... + """ + The pending maintenance action to apply to this resource. + + Valid Values: + + - `ca-certificate-rotation` + + - `db-upgrade` + + - `hardware-maintenance` + + - `os-upgrade` + + - `system-update` + + For more information about these actions, see [Maintenance actions for + Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora) + or [Maintenance actions for Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds). + """ + opt_in_type: str | None = ... + """ + A value that specifies the type of opt-in request, or undoes an opt-in + request. An opt-in request of type `immediate` can't be undone. + + Valid Values: + + - `immediate` - Apply the maintenance action immediately. + + - `next-maintenance` - Apply the maintenance action during the next + maintenance window for the resource. + + - `undo-opt-in` - Cancel any existing `next-maintenance` opt-in + requests. + """ + +@dataclass(kw_only=True) +class ApplyPendingMaintenanceActionOutput(_SerdeShape): + """Dataclass for ApplyPendingMaintenanceActionOutput structure.""" + + resource_pending_maintenance_actions: ResourcePendingMaintenanceActions | None = ... + """Describes the pending maintenance actions for a resource.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AuditPolicyState(UnknownEnumMixin, StrEnum): + LOCKED_POLICY = "locked" + UNLOCKED_POLICY = "unlocked" + +@dataclass(kw_only=True) +class AuthorizationAlreadyExistsFault(ServiceError, _SerdeShape): + """ + The specified CIDR IP range or Amazon EC2 security group is already + authorized for the specified DB security group. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AuthorizationNotFoundFault(ServiceError, _SerdeShape): + """ + The specified CIDR IP range or Amazon EC2 security group might not be + authorized for the specified DB security group. + + Or, RDS might not be authorized to perform necessary actions using IAM + on your behalf. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AuthorizationQuotaExceededFault(ServiceError, _SerdeShape): + """The DB security group authorization quota has been reached.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AuthorizeDBSecurityGroupIngressInput(_SerdeShape): + """""" + + db_security_group_name: str | None = ... + """The name of the DB security group to add authorization to.""" + cidrip: str | None = ... + """The IP range to authorize.""" + ec2_security_group_name: str | None = ... + """ + Name of the EC2 security group to authorize. For VPC DB security groups, + `EC2SecurityGroupId` must be provided. Otherwise, + `EC2SecurityGroupOwnerId` and either `EC2SecurityGroupName` or + `EC2SecurityGroupId` must be provided. + """ + ec2_security_group_id: str | None = ... + """ + Id of the EC2 security group to authorize. For VPC DB security groups, + `EC2SecurityGroupId` must be provided. Otherwise, + `EC2SecurityGroupOwnerId` and either `EC2SecurityGroupName` or + `EC2SecurityGroupId` must be provided. + """ + ec2_security_group_owner_id: str | None = ... + """ + Amazon Web Services account number of the owner of the EC2 security + group specified in the `EC2SecurityGroupName` parameter. The Amazon Web + Services access key ID isn't an acceptable value. For VPC DB security + groups, `EC2SecurityGroupId` must be provided. Otherwise, + `EC2SecurityGroupOwnerId` and either `EC2SecurityGroupName` or + `EC2SecurityGroupId` must be provided. + """ + +@dataclass(kw_only=True) +class AuthorizeDBSecurityGroupIngressOutput(_SerdeShape): + """Dataclass for AuthorizeDBSecurityGroupIngressOutput structure.""" + + db_security_group: DBSecurityGroup | None = ... + """ + Contains the details for an Amazon RDS DB security group. + + This data type is used as a response element in the + `DescribeDBSecurityGroups` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class AuthScheme(UnknownEnumMixin, StrEnum): + SECRETS = "SECRETS" + +class AutomationMode(UnknownEnumMixin, StrEnum): + FULL = "full" + ALL_PAUSED = "all-paused" + +@dataclass(kw_only=True) +class AvailabilityZone(_SerdeShape): + """ + Contains Availability Zone information. + + This data type is used as an element in the `OrderableDBInstanceOption` + data type. + """ + + name: str | None = ... + """The name of the Availability Zone.""" + +@dataclass(kw_only=True) +class AvailableAdditionalStorageVolumesOption(_SerdeShape): + """ + Contains the available options for additional storage volumes for a DB + instance class. + """ + + supports_storage_autoscaling: bool | None = ... + """ + Indicates whether the additional storage volume supports storage + autoscaling. + """ + supports_storage_throughput: bool | None = ... + """ + Indicates whether the additional storage volume supports configurable + storage throughput. + """ + supports_iops: bool | None = ... + """ + Indicates whether the additional storage volume supports provisioned + IOPS. + """ + storage_type: str | None = ... + """ + The storage type for the additional storage volume. + + Valid Values: `GP3 | IO2` + """ + min_storage_size: int | None = ... + """ + The minimum amount of storage that you can allocate for the additional + storage volume, in gibibytes (GiB). + """ + max_storage_size: int | None = ... + """ + The maximum amount of storage that you can allocate for the additional + storage volume, in gibibytes (GiB). + """ + min_iops: int | None = ... + """ + The minimum number of I/O operations per second (IOPS) that the + additional storage volume supports. + """ + max_iops: int | None = ... + """ + The maximum number of I/O operations per second (IOPS) that the + additional storage volume supports. + """ + min_iops_per_gib: float | None = ... + """ + The minimum ratio of I/O operations per second (IOPS) to gibibytes (GiB) + of storage for the additional storage volume. + """ + max_iops_per_gib: float | None = ... + """ + The maximum ratio of I/O operations per second (IOPS) to gibibytes (GiB) + of storage for the additional storage volume. + """ + min_storage_throughput: int | None = ... + """ + The minimum storage throughput that the additional storage volume + supports, in mebibytes per second (MiBps). + """ + max_storage_throughput: int | None = ... + """ + The maximum storage throughput that the additional storage volume + supports, in mebibytes per second (MiBps). + """ + +@dataclass(kw_only=True) +class AvailableCapacityPerAvailabilityZone(_SerdeShape): + """ + Contains the unused capacity of a DB capacity reservation in one + Availability Zone. + + This data type is used as a response element in the following + operations: + + - `CancelDBCapacityReservation` + + - `CreateDBCapacityReservation` + + - `DescribeDBCapacityReservations` + + - `ModifyDBCapacityReservation` + """ + + availability_zone: str | None = ... + """The name of the Availability Zone.""" + available_capacity: int | None = ... + """ + The number of DB instances that remain available in this Availability + Zone. Amazon RDS decreases this value when a DB instance takes a unit of + reserved capacity in this Availability Zone, and it increases this value + when a DB instance releases that unit. + + A DB instance with a pending modification also holds a unit of reserved + capacity. A DB instance has a pending modification when Amazon RDS + accepts a change to the DB instance and applies that change later, + during the maintenance window. Amazon RDS holds the unit from the time + that it accepts the request. To find a DB instance with a pending + modification, check `PendingModifiedValues` in the response of + `DescribeDBInstances`. + + Amazon RDS reports available capacity only for a reservation that is in + the `active` state and not past its end date. Otherwise, this value is + `0`. + """ + +@dataclass(kw_only=True) +class AvailableProcessorFeature(_SerdeShape): + """ + Contains the available processor feature information for the DB instance + class of a DB instance. + + For more information, see [Configuring the Processor of the DB Instance + Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) + in the *Amazon RDS User Guide.* + """ + + name: str | None = ... + """ + The name of the processor feature. Valid names are `coreCount` and + `threadsPerCore`. + """ + default_value: str | None = ... + """The default value for the processor feature of the DB instance class.""" + allowed_values: str | None = ... + """The allowed values for the processor feature of the DB instance class.""" + +@dataclass(kw_only=True) +class BacktrackDBClusterInput(_SerdeShape): + """""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the DB cluster to be backtracked. This + parameter is stored as a lowercase string. + + Constraints: + + - Must contain from 1 to 63 alphanumeric characters or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `my-cluster1` + """ + backtrack_to: datetime | None = ... + """ + The timestamp of the time to backtrack the DB cluster to, specified in + ISO 8601 format. For more information about ISO 8601, see the [ISO8601 + Wikipedia page.](http://en.wikipedia.org/wiki/ISO_8601) + + Note: + If the specified time isn't a consistent time for the DB cluster, + Aurora automatically chooses the nearest possible consistent time for + the DB cluster. + + Constraints: + + - Must contain a valid ISO 8601 timestamp. + + - Can't contain a timestamp set in the future. + + Example: `2017-07-08T18:00Z` + """ + force: bool | None = ... + """ + Specifies whether to force the DB cluster to backtrack when binary + logging is enabled. Otherwise, an error occurs when binary logging is + enabled. + """ + use_earliest_time_on_point_in_time_unavailable: bool | None = ... + """ + Specifies whether to backtrack the DB cluster to the earliest possible + backtrack time when *BacktrackTo* is set to a timestamp earlier than the + earliest backtrack time. When this parameter is disabled and + *BacktrackTo* is set to a timestamp earlier than the earliest backtrack + time, an error occurs. + """ + +@dataclass(kw_only=True) +class BacktrackDBClusterOutput(_SerdeShape): + """ + This data type is used as a response element in the + `DescribeDBClusterBacktracks` action. + """ + + db_cluster_identifier: str | None = ... + """ + Contains a user-supplied DB cluster identifier. This identifier is the + unique key that identifies a DB cluster. + """ + backtrack_identifier: str | None = ... + """Contains the backtrack identifier.""" + backtrack_to: datetime | None = ... + """The timestamp of the time to which the DB cluster was backtracked.""" + backtracked_from: datetime | None = ... + """The timestamp of the time from which the DB cluster was backtracked.""" + backtrack_request_creation_time: datetime | None = ... + """The timestamp of the time at which the backtrack was requested.""" + status: str | None = ... + """ + The status of the backtrack. This property returns one of the following + values: + + - `applying` - The backtrack is currently being applied to or rolled + back from the DB cluster. + + - `completed` - The backtrack has successfully been applied to or rolled + back from the DB cluster. + + - `failed` - An error occurred while the backtrack was applied to or + rolled back from the DB cluster. + + - `pending` - The backtrack is currently pending application to or + rollback from the DB cluster. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BackupPolicyNotFoundFault(ServiceError, _SerdeShape): + """""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BlueGreenDeployment(_SerdeShape): + """ + Details about a blue/green deployment. + + For more information, see [Using Amazon RDS Blue/Green Deployments for + database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) + in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green + Deployments for database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) + in the *Amazon Aurora User Guide*. + """ + + blue_green_deployment_identifier: str | None = ... + """The unique identifier of the blue/green deployment.""" + blue_green_deployment_name: str | None = ... + """The user-supplied name of the blue/green deployment.""" + source: str | None = ... + """ + The source database for the blue/green deployment. + + Before switchover, the source database is the production database in the + blue environment. + """ + target: str | None = ... + """ + The target database for the blue/green deployment. + + Before switchover, the target database is the clone database in the + green environment. + """ + switchover_details: list[SwitchoverDetail] | None = ... + """ + The details about each source and target resource in the blue/green + deployment. + """ + tasks: list[BlueGreenDeploymentTask] | None = ... + """ + Either tasks to be performed or tasks that have been completed on the + target database before switchover. + """ + status: str | None = ... + """ + The status of the blue/green deployment. + + Valid Values: + + - `PROVISIONING` - Resources are being created in the green environment. + + - `AVAILABLE` - Resources are available in the green environment. + + - `SWITCHOVER_IN_PROGRESS` - The deployment is being switched from the + blue environment to the green environment. + + - `SWITCHOVER_COMPLETED` - Switchover from the blue environment to the + green environment is complete. + + - `INVALID_CONFIGURATION` - Resources in the green environment are + invalid, so switchover isn't possible. + + - `SWITCHOVER_FAILED` - Switchover was attempted but failed. + + - `DELETING` - The blue/green deployment is being deleted. + """ + status_details: str | None = ... + """Additional information about the status of the blue/green deployment.""" + create_time: datetime | None = ... + """ + The time when the blue/green deployment was created, in Universal + Coordinated Time (UTC). + """ + delete_time: datetime | None = ... + """ + The time when the blue/green deployment was deleted, in Universal + Coordinated Time (UTC). + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class BlueGreenDeploymentAlreadyExistsFault(ServiceError, _SerdeShape): + """A blue/green deployment with the specified name already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BlueGreenDeploymentNotFoundFault(ServiceError, _SerdeShape): + """ + `BlueGreenDeploymentIdentifier` doesn't refer to an existing blue/green + deployment. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BlueGreenDeploymentTask(_SerdeShape): + """ + Details about a task for a blue/green deployment. + + For more information, see [Using Amazon RDS Blue/Green Deployments for + database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) + in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green + Deployments for database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) + in the *Amazon Aurora User Guide*. + """ + + name: str | None = ... + """The name of the blue/green deployment task.""" + status: str | None = ... + """ + The status of the blue/green deployment task. + + Valid Values: + + - `PENDING` - The resource is being prepared for deployment. + + - `IN_PROGRESS` - The resource is being deployed. + + - `COMPLETED` - The resource has been deployed. + + - `FAILED` - Deployment of the resource failed. + """ + +@dataclass(kw_only=True) +class CancelDBCapacityReservationInput(_SerdeShape): + """Dataclass for CancelDBCapacityReservationInput structure.""" + + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation to cancel. You + can specify the identifier, which has the prefix `dbcr-`, or the + reservation name. + """ + +@dataclass(kw_only=True) +class CancelDBCapacityReservationOutput(_SerdeShape): + """Dataclass for CancelDBCapacityReservationOutput structure.""" + + db_capacity_reservation: DBCapacityReservation | None = ... + """Contains the details of the canceled DB capacity reservation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CancelExportTaskInput(_SerdeShape): + """Dataclass for CancelExportTaskInput structure.""" + + export_task_identifier: str | None = ... + """The identifier of the snapshot or cluster export task to cancel.""" + +@dataclass(kw_only=True) +class CancelExportTaskOutput(_SerdeShape): + """ + Contains the details of a snapshot or cluster export to Amazon S3. + + This data type is used as a response element in the + `DescribeExportTasks` operation. + """ + + export_task_identifier: str | None = ... + """ + A unique identifier for the snapshot or cluster export task. This ID + isn't an identifier for the Amazon S3 bucket where the data is + exported. + """ + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the snapshot or cluster exported to + Amazon S3. + """ + export_only: list[str] | None = ... + """ + The data exported from the snapshot or cluster. + + Valid Values: + + - `database` - Export all the data from a specified database. + + - `database.table` *table-name* - Export a table of the snapshot or + cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, + and Aurora MySQL. + + - `database.schema` *schema-name* - Export a database schema of the + snapshot or cluster. This format is valid only for RDS for PostgreSQL + and Aurora PostgreSQL. + + - `database.schema.table` *table-name* - Export a table of the database + schema. This format is valid only for RDS for PostgreSQL and Aurora + PostgreSQL. + """ + snapshot_time: datetime | None = ... + """The time when the snapshot was created.""" + task_start_time: datetime | None = ... + """The time when the snapshot or cluster export task started.""" + task_end_time: datetime | None = ... + """The time when the snapshot or cluster export task ended.""" + s3_bucket: str | None = ... + """The Amazon S3 bucket where the snapshot or cluster is exported to.""" + s3_prefix: str | None = ... + """ + The Amazon S3 bucket prefix that is the file name and path of the + exported data. + """ + iam_role_arn: str | None = ... + """ + The name of the IAM role that is used to write to Amazon S3 when + exporting a snapshot or cluster. + """ + kms_key_id: str | None = ... + """ + The key identifier of the Amazon Web Services KMS key that is used to + encrypt the data when it's exported to Amazon S3. The KMS key + identifier is its key ARN, key ID, alias ARN, or alias name. The IAM + role used for the export must have encryption and decryption permissions + to use this KMS key. + """ + status: str | None = ... + """ + The progress status of the export task. The status can be one of the + following: + + - `CANCELED` + + - `CANCELING` + + - `COMPLETE` + + - `FAILED` + + - `IN_PROGRESS` + + - `STARTING` + """ + percent_progress: int | None = ... + """The progress of the snapshot or cluster export task as a percentage.""" + total_extracted_data_in_gb: int | None = ... + """The total amount of data exported, in gigabytes.""" + failure_cause: str | None = ... + """The reason the export failed, if it failed.""" + warning_message: str | None = ... + """A warning about the snapshot or cluster export task.""" + source_type: str | None = ... + """The type of source for the export.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Certificate(_SerdeShape): + """ + A CA certificate for an Amazon Web Services account. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + + certificate_identifier: str | None = ... + """The unique key that identifies a certificate.""" + certificate_type: str | None = ... + """The type of the certificate.""" + thumbprint: str | None = ... + """The thumbprint of the certificate.""" + valid_from: datetime | None = ... + """The starting date from which the certificate is valid.""" + valid_till: datetime | None = ... + """The final date that the certificate continues to be valid.""" + certificate_arn: str | None = ... + """The Amazon Resource Name (ARN) for the certificate.""" + customer_override: bool | None = ... + """ + Indicates whether there is an override for the default certificate + identifier. + """ + customer_override_valid_till: datetime | None = ... + """ + If there is an override for the default certificate identifier, when the + override expires. + """ + +@dataclass(kw_only=True) +class CertificateDetails(_SerdeShape): + """ + The details of the DB instance's server certificate. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + + ca_identifier: str | None = ... + """ + The CA identifier of the CA certificate used for the DB instance's + server certificate. + """ + valid_till: datetime | None = ... + """The expiration date of the DB instance's server certificate.""" + +@dataclass(kw_only=True) +class CertificateNotFoundFault(ServiceError, _SerdeShape): + """`CertificateIdentifier` doesn't refer to an existing certificate.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CharacterSet(_SerdeShape): + """ + This data type is used as a response element in the action + `DescribeDBEngineVersions`. + """ + + character_set_name: str | None = ... + """The name of the character set.""" + character_set_description: str | None = ... + """The description of the character set.""" + +class ClientPasswordAuthType(UnknownEnumMixin, StrEnum): + MYSQL_NATIVE_PASSWORD = "MYSQL_NATIVE_PASSWORD" + MYSQL_CACHING_SHA2_PASSWORD = "MYSQL_CACHING_SHA2_PASSWORD" + POSTGRES_SCRAM_SHA_256 = "POSTGRES_SCRAM_SHA_256" + POSTGRES_MD5 = "POSTGRES_MD5" + SQL_SERVER_AUTHENTICATION = "SQL_SERVER_AUTHENTICATION" + +@dataclass(kw_only=True) +class CloudwatchLogsExportConfiguration(_SerdeShape): + """ + The configuration setting for the log types to be enabled for export to + CloudWatch Logs for a specific DB instance or DB cluster. + + The `EnableLogTypes` and `DisableLogTypes` arrays determine which logs + will be exported (or not exported) to CloudWatch Logs. The values within + these arrays depend on the DB engine being used. + + For more information about exporting CloudWatch Logs for Amazon RDS DB + instances, see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + For more information about exporting CloudWatch Logs for Amazon Aurora + DB clusters, see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon Aurora User Guide*. + """ + + enable_log_types: list[str] | None = ... + """ + The list of log types to enable. + + The following values are valid for each DB engine: + + - Aurora MySQL - `audit | error | general | slowquery` + + - Aurora PostgreSQL - `postgresql` + + - RDS for MySQL - `error | general | slowquery` + + - RDS for PostgreSQL - `postgresql | upgrade` + """ + disable_log_types: list[str] | None = ... + """ + The list of log types to disable. + + The following values are valid for each DB engine: + + - Aurora MySQL - `audit | error | general | slowquery` + + - Aurora PostgreSQL - `postgresql` + + - RDS for MySQL - `error | general | slowquery` + + - RDS for PostgreSQL - `postgresql | upgrade` + """ + +@dataclass(kw_only=True) +class ClusterPendingModifiedValues(_SerdeShape): + """ + This data type is used as a response element in the `ModifyDBCluster` + operation and contains changes that will be applied during the next + maintenance window. + """ + + pending_cloudwatch_logs_exports: PendingCloudwatchLogsExports | None = ... + """ + A list of the log types whose configuration is still pending. In other + words, these log types are in the process of being activated or + deactivated. + """ + db_cluster_identifier: str | None = ... + """The DBClusterIdentifier value for the DB cluster.""" + master_user_password: str | None = ... + """The master credentials for the DB cluster.""" + iam_database_authentication_enabled: bool | None = ... + """ + Indicates whether mapping of Amazon Web Services Identity and Access + Management (IAM) accounts to database accounts is enabled. + """ + engine_version: str | None = ... + """The database engine version.""" + backup_retention_period: int | None = ... + """The number of days for which automatic DB snapshots are retained.""" + storage_type: str | None = ... + """The storage type for the DB cluster.""" + allocated_storage: int | None = ... + """ + The allocated storage size in gibibytes (GiB) for all database engines + except Amazon Aurora. For Aurora, `AllocatedStorage` always returns 1, + because Aurora DB cluster storage size isn't fixed, but instead + automatically adjusts as needed. + """ + rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... + """Reserved for future use.""" + iops: int | None = ... + """ + The Provisioned IOPS (I/O operations per second) value. This setting is + only for non-Aurora Multi-AZ DB clusters. + """ + certificate_details: CertificateDetails | None = ... + """ + The details of the DB instance's server certificate. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + +class ClusterScalabilityType(UnknownEnumMixin, StrEnum): + STANDARD = "standard" + LIMITLESS = "limitless" + +@dataclass(kw_only=True) +class ConnectionPoolConfiguration(_SerdeShape): + """ + Specifies the settings that control the size and behavior of the + connection pool associated with a `DBProxyTargetGroup`. + """ + + max_connections_percent: int | None = ... + """ + The maximum size of the connection pool for each target in a target + group. The value is expressed as a percentage of the `max_connections` + setting for the RDS DB instance or Aurora DB cluster used by the target + group. + + If you specify `MaxIdleConnectionsPercent`, then you must also include a + value for this parameter. + + Default: `10` for RDS for Microsoft SQL Server, and `100` for all other + engines + + Constraints: + + - Must be between 1 and 100. + """ + max_idle_connections_percent: int | None = ... + """ + A value that controls how actively the proxy closes idle database + connections in the connection pool. The value is expressed as a + percentage of the `max_connections` setting for the RDS DB instance or + Aurora DB cluster used by the target group. With a high value, the proxy + leaves a high percentage of idle database connections open. A low value + causes the proxy to close more idle connections and return them to the + database. + + If you specify this parameter, then you must also include a value for + `MaxConnectionsPercent`. + + Default: The default value is half of the value of + `MaxConnectionsPercent`. For example, if `MaxConnectionsPercent` is 80, + then the default value of `MaxIdleConnectionsPercent` is 40. If the + value of `MaxConnectionsPercent` isn't specified, then for SQL Server, + `MaxIdleConnectionsPercent` is `5`, and for all other engines, the + default is `50`. + + Constraints: + + - Must be between 0 and the value of `MaxConnectionsPercent`. + """ + connection_borrow_timeout: int | None = ... + """ + The number of seconds for a proxy to wait for a connection to become + available in the connection pool. This setting only applies when the + proxy has opened its maximum number of connections and all connections + are busy with client sessions. + + Default: `120` + + Constraints: + + - Must be between 0 and 300. + """ + session_pinning_filters: list[str] | None = ... + """ + Each item in the list represents a class of SQL operations that normally + cause all later statements in a session using a proxy to be pinned to + the same underlying database connection. Including an item in the list + exempts that class of SQL operations from the pinning behavior. + + Default: no session pinning filters + """ + init_query: str | None = ... + """ + Add an initialization query, or modify the current one. You can specify + one or more SQL statements for the proxy to run when opening each new + database connection. The setting is typically used with `SET` statements + to make sure that each connection has identical settings. Make sure the + query added here is valid. This is an optional field, so you can choose + to leave it empty. For including multiple variables in a single SET + statement, use a comma separator. + + For example: `SET variable1=value1, variable2=value2` + + Default: no initialization query + + Warning: + Since you can access initialization query as part of target group + configuration, it is not protected by authentication or cryptographic + methods. Anyone with access to view or manage your proxy target group + configuration can view the initialization query. You should not add + sensitive data, such as passwords or long-lived encryption keys, to this + option. + """ + +@dataclass(kw_only=True) +class ConnectionPoolConfigurationInfo(_SerdeShape): + """ + Displays the settings that control the size and behavior of the + connection pool associated with a `DBProxyTarget`. + """ + + max_connections_percent: int | None = ... + """ + The maximum size of the connection pool for each target in a target + group. The value is expressed as a percentage of the `max_connections` + setting for the RDS DB instance or Aurora DB cluster used by the target + group. + """ + max_idle_connections_percent: int | None = ... + """ + Controls how actively the proxy closes idle database connections in the + connection pool. The value is expressed as a percentage of the + `max_connections` setting for the RDS DB instance or Aurora DB cluster + used by the target group. With a high value, the proxy leaves a high + percentage of idle database connections open. A low value causes the + proxy to close more idle connections and return them to the database. + """ + connection_borrow_timeout: int | None = ... + """ + The number of seconds for a proxy to wait for a connection to become + available in the connection pool. Only applies when the proxy has opened + its maximum number of connections and all connections are busy with + client sessions. + """ + session_pinning_filters: list[str] | None = ... + """ + Each item in the list represents a class of SQL operations that normally + cause all later statements in a session using a proxy to be pinned to + the same underlying database connection. Including an item in the list + exempts that class of SQL operations from the pinning behavior. This + setting is only supported for MySQL engine family databases. Currently, + the only allowed value is `EXCLUDE_VARIABLE_SETS`. + """ + init_query: str | None = ... + """ + One or more SQL statements for the proxy to run when opening each new + database connection. The setting is typically used with `SET` statements + to make sure that each connection has identical settings. The query + added here must be valid. For including multiple variables in a single + SET statement, use a comma separator. This is an optional field. + + For example: `SET variable1=value1, variable2=value2` + + Warning: + Since you can access initialization query as part of target group + configuration, it is not protected by authentication or cryptographic + methods. Anyone with access to view or manage your proxy target group + configuration can view the initialization query. You should not add + sensitive data, such as passwords or long-lived encryption keys, to this + option. + """ + +@dataclass(kw_only=True) +class ContextAttribute(_SerdeShape): + """The additional attributes of `RecommendedAction` data type.""" + + key: str | None = ... + """The key of `ContextAttribute`.""" + value: str | None = ... + """The value of `ContextAttribute`.""" + +@dataclass(kw_only=True) +class CopyDBClusterParameterGroupInput(_SerdeShape): + """Dataclass for CopyDBClusterParameterGroupInput structure.""" + + source_db_cluster_parameter_group_identifier: str | None = ... + """ + The identifier or Amazon Resource Name (ARN) for the source DB cluster + parameter group. For information about creating an ARN, see + [Constructing an ARN for Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) + in the *Amazon Aurora User Guide*. + + Constraints: + + - Must specify a valid DB cluster parameter group. + """ + target_db_cluster_parameter_group_identifier: str | None = ... + """ + The identifier for the copied DB cluster parameter group. + + Constraints: + + - Can't be null, empty, or blank + + - Must contain from 1 to 255 letters, numbers, or hyphens + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Example: `my-cluster-param-group1` + """ + target_db_cluster_parameter_group_description: str | None = ... + """A description for the copied DB cluster parameter group.""" + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class CopyDBClusterParameterGroupOutput(_SerdeShape): + """Dataclass for CopyDBClusterParameterGroupOutput structure.""" + + db_cluster_parameter_group: DBClusterParameterGroup | None = ... + """ + Contains the details of an Amazon RDS DB cluster parameter group. + + This data type is used as a response element in the + `DescribeDBClusterParameterGroups` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CopyDBClusterSnapshotInput(_SerdeShape): + """""" + + source_db_cluster_snapshot_identifier: str | None = ... + """ + The identifier of the DB cluster snapshot to copy. This parameter isn't + case-sensitive. + + Constraints: + + - Must specify a valid source snapshot in the \"available\" state. + + - If the source snapshot is in the same Amazon Web Services Region as + the copy, specify a valid DB snapshot identifier. + + - If the source snapshot is in a different Amazon Web Services Region + than the copy, specify a valid DB cluster snapshot ARN. You can also + specify an ARN of a snapshot that is in a different account and a + different Amazon Web Services Region. For more information, go to + [Copying Snapshots Across Amazon Web Services + Regions](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_CopySnapshot.html#USER_CopySnapshot.AcrossRegions) + in the *Amazon Aurora User Guide*. + + Example: `my-cluster-snapshot1` + """ + target_db_cluster_snapshot_identifier: str | None = ... + """ + The identifier of the new DB cluster snapshot to create from the source + DB cluster snapshot. This parameter isn't case-sensitive. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `my-cluster-snapshot2` + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted DB cluster + snapshot. The Amazon Web Services KMS key identifier is the key ARN, key + ID, alias ARN, or alias name for the Amazon Web Services KMS key. + + If you copy an encrypted DB cluster snapshot from your Amazon Web + Services account, you can specify a value for `KmsKeyId` to encrypt the + copy with a new KMS key. If you don't specify a value for `KmsKeyId`, + then the copy of the DB cluster snapshot is encrypted with the same KMS + key as the source DB cluster snapshot. + + If you copy an encrypted DB cluster snapshot that is shared from another + Amazon Web Services account, then you must specify a value for + `KmsKeyId`. + + To copy an encrypted DB cluster snapshot to another Amazon Web Services + Region, you must set `KmsKeyId` to the Amazon Web Services KMS key + identifier you want to use to encrypt the copy of the DB cluster + snapshot in the destination Amazon Web Services Region. KMS keys are + specific to the Amazon Web Services Region that they are created in, and + you can't use KMS keys from one Amazon Web Services Region in another + Amazon Web Services Region. + + If you copy an unencrypted DB cluster snapshot and specify a value for + the `KmsKeyId` parameter, an error is returned. + """ + pre_signed_url: str | None = ... + """ + When you are copying a DB cluster snapshot from one Amazon Web Services + GovCloud (US) Region to another, the URL that contains a Signature + Version 4 signed request for the `CopyDBClusterSnapshot` API operation + in the Amazon Web Services Region that contains the source DB cluster + snapshot to copy. Use the `PreSignedUrl` parameter when copying an + encrypted DB cluster snapshot from another Amazon Web Services Region. + Don't specify `PreSignedUrl` when copying an encrypted DB cluster + snapshot in the same Amazon Web Services Region. + + This setting applies only to Amazon Web Services GovCloud (US) Regions. + It's ignored in other Amazon Web Services Regions. + + The presigned URL must be a valid request for the + `CopyDBClusterSnapshot` API operation that can run in the source Amazon + Web Services Region that contains the encrypted DB cluster snapshot to + copy. The presigned URL request must contain the following parameter + values: + + - `KmsKeyId` - The KMS key identifier for the KMS key to use to encrypt + the copy of the DB cluster snapshot in the destination Amazon Web + Services Region. This is the same identifier for both the + `CopyDBClusterSnapshot` operation that is called in the destination + Amazon Web Services Region, and the operation contained in the + presigned URL. + + - `DestinationRegion` - The name of the Amazon Web Services Region that + the DB cluster snapshot is to be created in. + + - `SourceDBClusterSnapshotIdentifier` - The DB cluster snapshot + identifier for the encrypted DB cluster snapshot to be copied. This + identifier must be in the Amazon Resource Name (ARN) format for the + source Amazon Web Services Region. For example, if you are copying an + encrypted DB cluster snapshot from the us-west-2 Amazon Web Services + Region, then your `SourceDBClusterSnapshotIdentifier` looks like the + following example: + `arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115`. + + To learn how to generate a Signature Version 4 signed request, see + [Authenticating Requests: Using Query Parameters (Amazon Web Services + Signature Version + 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + and [Signature Version 4 Signing + Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). + + Note: + If you are using an Amazon Web Services SDK tool or the CLI, you can + specify `SourceRegion` (or `--source-region` for the CLI) instead of + specifying `PreSignedUrl` manually. Specifying `SourceRegion` + autogenerates a presigned URL that is a valid request for the operation + that can run in the source Amazon Web Services Region. + """ + copy_tags: bool | None = ... + """ + Specifies whether to copy all tags from the source DB cluster snapshot + to the target DB cluster snapshot. By default, tags are not copied. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class CopyDBClusterSnapshotOutput(_SerdeShape): + """Dataclass for CopyDBClusterSnapshotOutput structure.""" + + db_cluster_snapshot: DBClusterSnapshot | None = ... + """ + Contains the details for an Amazon RDS DB cluster snapshot + + This data type is used as a response element in the + `DescribeDBClusterSnapshots` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CopyDBParameterGroupInput(_SerdeShape): + """""" + + source_db_parameter_group_identifier: str | None = ... + """ + The identifier or ARN for the source DB parameter group. For information + about creating an ARN, see [Constructing an ARN for Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) + in the *Amazon RDS User Guide*. + + Constraints: + + - Must specify a valid DB parameter group. + """ + target_db_parameter_group_identifier: str | None = ... + """ + The identifier for the copied DB parameter group. + + Constraints: + + - Can't be null, empty, or blank + + - Must contain from 1 to 255 letters, numbers, or hyphens + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Example: `my-db-parameter-group` + """ + target_db_parameter_group_description: str | None = ... + """A description for the copied DB parameter group.""" + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class CopyDBParameterGroupOutput(_SerdeShape): + """Dataclass for CopyDBParameterGroupOutput structure.""" + + db_parameter_group: DBParameterGroup | None = ... + """ + Contains the details of an Amazon RDS DB parameter group. + + This data type is used as a response element in the + `DescribeDBParameterGroups` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CopyDBSnapshotInput(_SerdeShape): + """""" + + source_db_snapshot_identifier: str | None = ... + """ + The identifier for the source DB snapshot. + + If the source snapshot is in the same Amazon Web Services Region as the + copy, specify a valid DB snapshot identifier. For example, you might + specify `rds:mysql-instance1-snapshot-20130805`. + + If you are copying from a shared manual DB snapshot, this parameter must + be the Amazon Resource Name (ARN) of the shared DB snapshot. + + If the source snapshot is in a different Amazon Web Services Region than + the copy, specify a valid DB snapshot ARN. You can also specify an ARN + of a snapshot that is in a different account and a different Amazon Web + Services Region. For example, you might specify + `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805`. + + Constraints: + + - Must specify a valid source snapshot in the \"available\" state. + + Example: `rds:mydb-2012-04-02-00-01` + + Example: + `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805` + """ + target_db_snapshot_identifier: str | None = ... + """ + The identifier for the copy of the snapshot. + + Constraints: + + - Can't be null, empty, or blank + + - Must contain from 1 to 255 letters, numbers, or hyphens + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Example: `my-db-snapshot` + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted DB snapshot. + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + If you copy an encrypted DB snapshot from your Amazon Web Services + account, you can specify a value for this parameter to encrypt the copy + with a new KMS key. If you don't specify a value for this parameter, + then the copy of the DB snapshot is encrypted with the same Amazon Web + Services KMS key as the source DB snapshot. + + If you copy an encrypted DB snapshot that is shared from another Amazon + Web Services account, then you must specify a value for this parameter. + + If you specify this parameter when you copy an unencrypted snapshot, the + copy is encrypted. + + If you copy an encrypted snapshot to a different Amazon Web Services + Region, then you must specify an Amazon Web Services KMS key identifier + for the destination Amazon Web Services Region. KMS keys are specific to + the Amazon Web Services Region that they are created in, and you can't + use KMS keys from one Amazon Web Services Region in another Amazon Web + Services Region. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + copy_tags: bool | None = ... + """ + Specifies whether to copy all tags from the source DB snapshot to the + target DB snapshot. By default, tags aren't copied. + """ + pre_signed_url: str | None = ... + """ + When you are copying a snapshot from one Amazon Web Services GovCloud + (US) Region to another, the URL that contains a Signature Version 4 + signed request for the `CopyDBSnapshot` API operation in the source + Amazon Web Services Region that contains the source DB snapshot to copy. + + This setting applies only to Amazon Web Services GovCloud (US) Regions. + It's ignored in other Amazon Web Services Regions. + + You must specify this parameter when you copy an encrypted DB snapshot + from another Amazon Web Services Region by using the Amazon RDS API. + Don't specify `PreSignedUrl` when you are copying an encrypted DB + snapshot in the same Amazon Web Services Region. + + The presigned URL must be a valid request for the + `CopyDBClusterSnapshot` API operation that can run in the source Amazon + Web Services Region that contains the encrypted DB cluster snapshot to + copy. The presigned URL request must contain the following parameter + values: + + - `DestinationRegion` - The Amazon Web Services Region that the + encrypted DB snapshot is copied to. This Amazon Web Services Region is + the same one where the `CopyDBSnapshot` operation is called that + contains this presigned URL. + + For example, if you copy an encrypted DB snapshot from the us-west-2 + Amazon Web Services Region to the us-east-1 Amazon Web Services + Region, then you call the `CopyDBSnapshot` operation in the us-east-1 + Amazon Web Services Region and provide a presigned URL that contains a + call to the `CopyDBSnapshot` operation in the us-west-2 Amazon Web + Services Region. For this example, the `DestinationRegion` in the + presigned URL must be set to the us-east-1 Amazon Web Services Region. + + - `KmsKeyId` - The KMS key identifier for the KMS key to use to encrypt + the copy of the DB snapshot in the destination Amazon Web Services + Region. This is the same identifier for both the `CopyDBSnapshot` + operation that is called in the destination Amazon Web Services + Region, and the operation contained in the presigned URL. + + - `SourceDBSnapshotIdentifier` - The DB snapshot identifier for the + encrypted snapshot to be copied. This identifier must be in the Amazon + Resource Name (ARN) format for the source Amazon Web Services Region. + For example, if you are copying an encrypted DB snapshot from the + us-west-2 Amazon Web Services Region, then your + `SourceDBSnapshotIdentifier` looks like the following example: + `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20161115`. + + To learn how to generate a Signature Version 4 signed request, see + [Authenticating Requests: Using Query Parameters (Amazon Web Services + Signature Version + 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + and [Signature Version 4 Signing + Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). + + Note: + If you are using an Amazon Web Services SDK tool or the CLI, you can + specify `SourceRegion` (or `--source-region` for the CLI) instead of + specifying `PreSignedUrl` manually. Specifying `SourceRegion` + autogenerates a presigned URL that is a valid request for the operation + that can run in the source Amazon Web Services Region. + """ + option_group_name: str | None = ... + """ + The name of an option group to associate with the copy of the snapshot. + + Specify this option if you are copying a snapshot from one Amazon Web + Services Region to another, and your DB instance uses a nondefault + option group. If your source DB instance uses Transparent Data + Encryption for Oracle or Microsoft SQL Server, you must specify this + option when copying across Amazon Web Services Regions. For more + information, see [Option group + considerations](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopySnapshot.Options) + in the *Amazon RDS User Guide*. + """ + target_custom_availability_zone: str | None = ... + """ + The external custom Availability Zone (CAZ) identifier for the target + CAZ. + + Example: `rds-caz-aiqhTgQv`. + """ + snapshot_target: str | None = ... + """ + Configures the location where RDS will store copied snapshots. + + Valid Values: + + - `local` (Dedicated Local Zone) + + - `outposts` (Amazon Web Services Outposts) + + - `region` (Amazon Web Services Region) + """ + copy_option_group: bool | None = ... + """ + Specifies whether to copy the DB option group associated with the source + DB snapshot to the target Amazon Web Services account or Amazon Web + Services Region and associate it with the target DB snapshot. + """ + snapshot_availability_zone: str | None = ... + """ + Specifies the name of the Availability Zone where RDS stores the DB + snapshot. This value is valid only for snapshots that RDS stores on a + Dedicated Local Zone. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to the copied option group. By default, the copied option + group isn't tagged. + + Valid Values: + + - `og` - The copied option group. + + Constraints: + + - Can only be specified when `CopyOptionGroup` is `true` + """ + +@dataclass(kw_only=True) +class CopyDBSnapshotOutput(_SerdeShape): + """Dataclass for CopyDBSnapshotOutput structure.""" + + db_snapshot: DBSnapshot | None = ... + """ + Contains the details of an Amazon RDS DB snapshot. + + This data type is used as a response element in the + `DescribeDBSnapshots` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CopyOptionGroupInput(_SerdeShape): + """""" + + source_option_group_identifier: str | None = ... + """ + The identifier for the source option group. + + Constraints: + + - Must specify a valid option group. + """ + target_option_group_identifier: str | None = ... + """ + The identifier for the copied option group. + + Constraints: + + - Can't be null, empty, or blank + + - Must contain from 1 to 255 letters, numbers, or hyphens + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Example: `my-option-group` + """ + target_option_group_description: str | None = ... + """The description for the copied option group.""" + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class CopyOptionGroupOutput(_SerdeShape): + """Dataclass for CopyOptionGroupOutput structure.""" + + option_group: OptionGroup | None = ... + """""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateBlueGreenDeploymentInput(_SerdeShape): + """Dataclass for CreateBlueGreenDeploymentInput structure.""" + + blue_green_deployment_name: str | None = ... + """ + The name of the blue/green deployment. + + Constraints: + + - Can't be the same as an existing blue/green deployment name in the + same account and Amazon Web Services Region. + """ + source: str | None = ... + """ + The Amazon Resource Name (ARN) of the source production database. + + Specify the database that you want to clone. The blue/green deployment + creates this database in the green environment. You can make updates to + the database in the green environment, such as an engine version + upgrade. When you are ready, you can switch the database in the green + environment to be the production database. + """ + target_engine_version: str | None = ... + """ + The engine version of the database in the green environment. + + Specify the engine version to upgrade to in the green environment. + """ + target_db_parameter_group_name: str | None = ... + """ + The DB parameter group associated with the DB instance in the green + environment. + + To test parameter changes, specify a DB parameter group that is + different from the one associated with the source DB instance. + """ + target_db_cluster_parameter_group_name: str | None = ... + """ + The DB cluster parameter group associated with the Aurora DB cluster in + the green environment. + + To test parameter changes, specify a DB cluster parameter group that is + different from the one associated with the source DB cluster. + """ + tags: list[Tag] | None = ... + """Tags to assign to the blue/green deployment.""" + target_db_instance_class: str | None = ... + """ + Specify the DB instance class for the databases in the green + environment. + + This parameter only applies to RDS DB instances, because DB instances + within an Aurora DB cluster can have multiple different instance + classes. If you're creating a blue/green deployment from an Aurora DB + cluster, don't specify this parameter. After the green environment is + created, you can individually modify the instance classes of the DB + instances within the green DB cluster. + """ + upgrade_target_storage_config: bool | None = ... + """ + Whether to upgrade the storage file system configuration on the green + database. This option migrates the green DB instance from the older + 32-bit file system to the preferred configuration. For more information, + see [Upgrading the storage file system for a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem). + """ + target_iops: int | None = ... + """ + The amount of Provisioned IOPS (input/output operations per second) to + allocate for the green DB instance. For information about valid IOPS + values, see [Amazon RDS DB instance + storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to Amazon Aurora blue/green deployments. + """ + target_storage_type: str | None = ... + """ + The storage type to associate with the green DB instance. + + Valid Values: `gp2 | gp3 | io1 | io2` + + This setting doesn't apply to Amazon Aurora blue/green deployments. + """ + target_allocated_storage: int | None = ... + """ + The amount of storage in gibibytes (GiB) to allocate for the green DB + instance. You can choose to increase or decrease the allocated storage + on the green DB instance. + + This setting doesn't apply to Amazon Aurora blue/green deployments. + """ + target_storage_throughput: int | None = ... + """ + The storage throughput value for the green DB instance. + + This setting applies only to the `gp3` storage type. + + This setting doesn't apply to Amazon Aurora blue/green deployments. + """ + target_resource_configurations: list[TargetResourceConfiguration] | None = ... + """ + Specifies resource-level configuration overrides for the green + environment. + + Each entry identifies a resource in the blue environment by its Amazon + Resource Name (ARN). It defines the desired configuration for the + corresponding resource in the green environment. Any resource that you + don't include in this parameter retains the same configuration as its + counterpart in the blue environment. + + Use this parameter when one or more resources in the green environment + require a different configuration than what they have in the blue + environment. + + Constraints: + + - You can't specify the same `SourceArn` in more than one entry. + """ + +@dataclass(kw_only=True) +class CreateBlueGreenDeploymentOutput(_SerdeShape): + """Dataclass for CreateBlueGreenDeploymentOutput structure.""" + + blue_green_deployment: BlueGreenDeployment | None = ... + """ + Details about a blue/green deployment. + + For more information, see [Using Amazon RDS Blue/Green Deployments for + database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) + in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green + Deployments for database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) + in the *Amazon Aurora User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCustomDBEngineVersionFault(ServiceError, _SerdeShape): + """An error occurred while trying to create the CEV.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateCustomDBEngineVersionInput(_SerdeShape): + """Dataclass for CreateCustomDBEngineVersionInput structure.""" + + engine: str | None = ... + """ + The database engine. + + RDS Custom for Oracle supports the following values: + + - `custom-oracle-ee` + + - `custom-oracle-ee-cdb` + + - `custom-oracle-se2` + + - `custom-oracle-se2-cdb` + + RDS Custom for SQL Server supports the following values: + + - `custom-sqlserver-ee` + + - `custom-sqlserver-se` + + - `custom-sqlserver-web` + + - `custom-sqlserver-dev` + + RDS for SQL Server supports the following values: + + - `sqlserver-ee` (Bring Your Own Media) + + - `sqlserver-se` (Bring Your Own Media) + + - `sqlserver-dev-ee` + """ + engine_version: str | None = ... + """ + The name of your custom engine version (CEV). + + For RDS Custom for Oracle, the name format is `19.*customized_string*`. + For example, a valid CEV name is `19.my_cev1`. + + For RDS Custom for SQL Server and RDS for SQL Server `sqlserver-dev-ee`, + the name format is + `*major_engine_version*.*minor_engine_version*.*customized_string*`. For + example, a valid CEV name is `16.00.4215.2.my_cev1`. + + For RDS for SQL Server Bring Your Own Media (`sqlserver-ee`, + `sqlserver-se`), specify the RDS engine version that you want to use. + For example, `16.00.4175.1.v1`. + + The CEV name is unique per customer per Amazon Web Services Regions. + """ + database_installation_files_s3_bucket_name: str | None = ... + """ + The name of an Amazon S3 bucket that contains database installation + files for your CEV. For example, a valid bucket name is + `my-custom-installation-files`. + """ + database_installation_files_s3_prefix: str | None = ... + """ + The Amazon S3 directory that contains the database installation files + for your CEV. For example, a valid bucket name is `123456789012/cev1`. + If this setting isn't specified, no prefix is assumed. + """ + database_installation_files: list[str] | None = ... + """ + The database installation files (ISO and EXE) uploaded to Amazon S3 for + your database engine version to import to Amazon RDS. + + For RDS for SQL Server Bring Your Own Media (`sqlserver-ee`, + `sqlserver-se`), provide the SQL Server RTM ISO file once per major + version and edition combination. Minor versions reuse the same file. + """ + image_id: str | None = ... + """ + The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, + an AMI ID is required to create a CEV. For RDS Custom for Oracle, the + default is the most recent AMI available, but you can specify an AMI ID + that was used in a different Oracle CEV. Find the AMIs used by your CEVs + by calling the + [DescribeDBEngineVersions](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBEngineVersions.html) + operation. + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted CEV. A + symmetric encryption KMS key is required for RDS Custom, but optional + for Amazon RDS. + + If you have an existing symmetric encryption KMS key in your account, + you can use it with RDS Custom. No further action is necessary. If you + don't already have a symmetric encryption KMS key in your account, + follow the instructions in [Creating a symmetric encryption KMS + key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html#create-symmetric-cmk) + in the *Amazon Web Services Key Management Service Developer Guide*. + + You can choose the same symmetric encryption key when you create a CEV + and a DB instance, or choose different keys. + """ + source_custom_db_engine_version_identifier: str | None = ... + """ + The ARN of a CEV to use as a source for creating a new CEV. You can + specify a different Amazon Machine Imagine (AMI) by using either + `Source` or `UseAwsProvidedLatestImage`. You can't specify a different + JSON manifest when you specify `SourceCustomDbEngineVersionIdentifier`. + """ + use_aws_provided_latest_image: bool | None = ... + """ + Specifies whether to use the latest service-provided Amazon Machine + Image (AMI) for the CEV. If you specify `UseAwsProvidedLatestImage`, you + can't also specify `ImageId`. + """ + description: str | None = ... + """An optional description of your CEV.""" + manifest: str | None = ... + """ + The CEV manifest, which is a JSON document that describes the + installation .zip files stored in Amazon S3. Specify the name/value + pairs in a file or a quoted string. RDS Custom applies the patches in + the order in which they are listed. + + The following JSON fields are valid: + + MediaImportTemplateVersion + + : Version of the CEV manifest. The date is in the format `YYYY-MM-DD`. + + databaseInstallationFileNames + + : Ordered list of installation files for the CEV. + + opatchFileNames + + : Ordered list of OPatch installers used for the Oracle DB engine. + + psuRuPatchFileNames + + : The PSU and RU patches for this CEV. + + OtherPatchFileNames + + : The patches that are not in the list of PSU and RU patches. Amazon RDS + applies these patches after applying the PSU and RU patches. + + For more information, see [Creating the CEV + manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.html#custom-cev.preparing.manifest) + in the *Amazon RDS User Guide*. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class CreateCustomDBEngineVersionOutput(_SerdeShape): + """ + This data type is used as a response element in the action + `DescribeDBEngineVersions`. + """ + + engine: str | None = ... + """The name of the database engine.""" + major_engine_version: str | None = ... + """The major engine version of the CEV.""" + engine_version: str | None = ... + """The version number of the database engine.""" + database_installation_files_s3_bucket_name: str | None = ... + """ + The name of the Amazon S3 bucket that contains your database + installation files. + """ + database_installation_files_s3_prefix: str | None = ... + """ + The Amazon S3 directory that contains the database installation files. + If not specified, then no prefix is assumed. + """ + database_installation_files: list[str] | None = ... + """ + The database installation files (ISO and EXE) that were uploaded to + Amazon S3 and used to import the database engine version to Amazon RDS. + Returned for RDS for SQL Server engine versions (`sqlserver-ee`, + `sqlserver-se`, and `sqlserver-dev-ee`) created from customer-supplied + installation media. + """ + custom_db_engine_version_manifest: str | None = ... + """ + JSON string that lists the installation files and parameters that RDS + Custom uses to create a custom engine version (CEV). RDS Custom applies + the patches in the order in which they're listed in the manifest. You + can set the Oracle home, Oracle base, and UNIX/Linux user and group + using the installation parameters. For more information, see [JSON + fields in the CEV + manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) + in the *Amazon RDS User Guide*. + """ + db_parameter_group_family: str | None = ... + """The name of the DB parameter group family for the database engine.""" + db_engine_description: str | None = ... + """The description of the database engine.""" + db_engine_version_arn: str | None = ... + """The ARN of the custom engine version.""" + db_engine_version_description: str | None = ... + """The description of the database engine version.""" + default_character_set: CharacterSet | None = ... + """ + The default character set for new instances of this engine version, if + the `CharacterSetName` parameter of the CreateDBInstance API isn't + specified. + """ + failure_reason: str | None = ... + """ + The reason that the custom engine version creation failed with an + `incompatible-installation-media` status. Applicable to RDS for SQL + Server engine versions (`sqlserver-ee`, `sqlserver-se`, and + `sqlserver-dev-ee`). + """ + image: CustomDBEngineVersionAMI | None = ... + """The EC2 image""" + db_engine_media_type: str | None = ... + """ + The source of the installation media for this engine version. A value of + `Customer Provided` indicates that the engine version was created from + customer-supplied installation media using + `CreateCustomDBEngineVersion`. Applicable to RDS Custom for SQL Server + and to RDS for SQL Server engine versions (`sqlserver-ee` and + `sqlserver-se` with the `bring-your-own-media` license model, and + `sqlserver-dev-ee`). + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted CEV. This + parameter is required for RDS Custom, but optional for Amazon RDS. + """ + create_time: datetime | None = ... + """The creation time of the DB engine version.""" + supported_character_sets: list[CharacterSet] | None = ... + """ + A list of the character sets supported by this engine for the + `CharacterSetName` parameter of the `CreateDBInstance` operation. + """ + supported_nchar_character_sets: list[CharacterSet] | None = ... + """ + A list of the character sets supported by the Oracle DB engine for the + `NcharCharacterSetName` parameter of the `CreateDBInstance` operation. + """ + valid_upgrade_target: list[UpgradeTarget] | None = ... + """ + A list of engine versions that this database engine version can be + upgraded to. + """ + supported_timezones: list[Timezone] | None = ... + """ + A list of the time zones supported by this engine for the `Timezone` + parameter of the `CreateDBInstance` action. + """ + exportable_log_types: list[str] | None = ... + """ + The types of logs that the database engine has available for export to + CloudWatch Logs. + """ + supports_log_exports_to_cloudwatch_logs: bool | None = ... + """ + Indicates whether the engine version supports exporting the log types + specified by ExportableLogTypes to CloudWatch Logs. + """ + supports_read_replica: bool | None = ... + """Indicates whether the database engine version supports read replicas.""" + supported_engine_modes: list[str] | None = ... + """A list of the supported DB engine modes.""" + supported_feature_names: list[str] | None = ... + """ + A list of features supported by the DB engine. + + The supported features vary by DB engine and DB engine version. + + To determine the supported features for a specific DB engine and DB + engine version using the CLI, use the following command: + + `aws rds describe-db-engine-versions --engine --engine-version ` + + For example, to determine the supported features for RDS for PostgreSQL + version 13.3 using the CLI, use the following command: + + `aws rds describe-db-engine-versions --engine postgres --engine-version 13.3` + + The supported features are listed under `SupportedFeatureNames` in the + output. + """ + status: str | None = ... + """The status of the DB engine version, either `available` or `deprecated`.""" + supports_parallel_query: bool | None = ... + """ + Indicates whether you can use Aurora parallel query with a specific DB + engine version. + """ + supports_global_databases: bool | None = ... + """ + Indicates whether you can use Aurora global databases with a specific DB + engine version. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + supports_babelfish: bool | None = ... + """ + Indicates whether the engine version supports Babelfish for Aurora + PostgreSQL. + """ + supports_limitless_database: bool | None = ... + """ + Indicates whether the DB engine version supports Aurora Limitless + Database. + """ + supports_certificate_rotation_without_restart: bool | None = ... + """ + Indicates whether the engine version supports rotating the server + certificate without rebooting the DB instance. + """ + supported_ca_certificate_identifiers: list[str] | None = ... + """ + A list of the supported CA certificate identifiers. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + supports_local_write_forwarding: bool | None = ... + """ + Indicates whether the DB engine version supports forwarding write + operations from reader DB instances to the writer DB instance in the DB + cluster. By default, write operations aren't allowed on reader DB + instances. + + Valid for: Aurora DB clusters only + """ + supports_integrations: bool | None = ... + """ + Indicates whether the DB engine version supports zero-ETL integrations + with Amazon Redshift. + """ + serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... + """ + Specifies any Aurora Serverless v2 properties or limits that differ + between Aurora engine versions. You can test the values of this + attribute when deciding which Aurora version to use in a new or upgraded + DB cluster. You can also retrieve the version of an existing DB cluster + and check whether that version supports certain Aurora Serverless v2 + features before you attempt to use those features. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBCapacityReservationInput(_SerdeShape): + """Dataclass for CreateDBCapacityReservationInput structure.""" + + db_capacity_reservation_name: str | None = ... + """ + The name of the DB capacity reservation. This name must be unique for + your Amazon Web Services account in the Amazon Web Services Region. + + Constraints: + + - Must contain from 1 to 63 lowercase letters, digits, or hyphens. + + - First character must be a lowercase letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + - Can't contain more than 16 groups of characters separated by hyphens. + + - Can't begin with `dbcr-`. + """ + db_instance_class: str | None = ... + """ + The compute and memory capacity to reserve, for example `db.m5.large`. + Not all DB instance classes are available in all Amazon Web Services + Regions, or for all database engines. For the full list of DB instance + classes, and availability for your engine, see [DB instance + classes](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide*. + + Constraints: + + - Must be a DB instance class that the specified `Engine` supports. + + - For RDS for Oracle with `LicenseModel` set to `license-included`, some + DB instance classes aren't supported. Either choose a supported DB + instance class, or set `LicenseModel` to `bring-your-own-license`. + """ + engine: str | None = ... + """ + The database engine to reserve capacity for. + + Valid Values: `aurora-mysql` | `aurora-postgresql` | `mysql` | + `postgres` | `mariadb` | `oracle-ee` | `oracle-ee-cdb` | + `oracle-se2` | `oracle-se2-cdb` | `sqlserver-ee` | `sqlserver-se` | + `sqlserver-web` | `sqlserver-ex` | `sqlserver-dev-ee` | + `sqlserver-dev-se` | `db2-ae` | `db2-ce` | `db2-se` + + Note: + The Developer Edition engines `sqlserver-dev-ee` and `sqlserver-dev-se` + support no Multi-AZ DB instance and no read replica. Therefore, a + reservation for either engine serves Single-AZ DB instances only. + """ + capacity_per_availability_zone: int | None = ... + """ + The number of DB instances to reserve in each Availability Zone that you + list in `AvailabilityZones`. Amazon RDS reserves this number of DB + instances in every listed Availability Zone. + + A Single-AZ DB instance uses one unit of reserved capacity, in one + Availability Zone. A Multi-AZ DB instance is one DB instance, and it + uses one unit of reserved capacity in each of two Availability Zones. + Therefore, a Multi-AZ DB instance uses two units in total. A read + replica uses one unit of reserved capacity, in the same way as any other + DB instance. + + Amazon RDS reserves capacity in each Availability Zone separately. + Reserved capacity in one Availability Zone can't serve a DB instance in + another Availability Zone. A request for a DB instance fails when the + Availability Zone of the DB instance has no available capacity. + + Therefore, set this value to the number of DB instances that you want to + run at the same time in one Availability Zone. Don't set it to the + number that you want in total. + + This value multiplied by the number of Availability Zones counts against + the DB instances quota for your Amazon Web Services account in the + Amazon Web Services Region. Your existing DB instances, and the unused + capacity of your other reservations, count against the same quota. + + To find the value of the DB instances quota, see [Quotas and constraints + for Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html) + in the *Amazon RDS User Guide*. + + Constraints: + + - Minimum 1. + """ + availability_zones: list[str] | None = ... + """ + A list of Availability Zones for the reservation. + + You can't change the Availability Zones of a reservation after you + create it. Reserved capacity in an Availability Zone that no DB instance + uses stays unused. + + Constraints: + + - Must specify one or more Availability Zones. + + - Each Availability Zone can appear only once. + + - Each Availability Zone must be in the Amazon Web Services Region of + the request. + + - Each Availability Zone must have capacity for the requested DB + instance class. + + - Must include two or more Availability Zones to use the reservation for + a Multi-AZ DB instance. + + - A DB instance can use reserved capacity only in an Availability Zone + that its DB subnet group covers. + + Example: `us-east-1a` + """ + end_date: datetime | None = ... + """ + The date and time when the reservation expires, in Universal Coordinated + Time (UTC). If you don't specify a value, the reservation doesn't + expire. + + To change the expiration of an existing reservation, use + `ModifyDBCapacityReservation`. That operation takes `EndDateType` along + with `EndDate`. + + Constraints: + + - Must be a date and time in the future. + + - For a future-dated reservation, must be at or after `StartDate` plus + `CommitmentDuration`. For example, a reservation that starts on + 2026-12-01 with a 30-day commitment can't expire before 2026-12-31. + To reserve capacity for one calendar month, set `CommitmentDuration` + to 30 days or fewer, not to the length of the month. + + Example: `2026-12-31T23:59:59Z` + """ + start_date: datetime | None = ... + """ + The date and time when the reservation starts, in Universal Coordinated + Time (UTC). Specify this parameter to create a future-dated reservation. + If you don't specify a value, the reservation starts immediately. + + A reservation that starts later always carries a capacity commitment. + Therefore, a request that specifies `StartDate` must also meet every + constraint of a future-dated reservation, including the minimum reserved + capacity in each Availability Zone. + + Constraints: + + - Must be from 5 to 120 days in the future. + + - You must also specify `CommitmentDuration`. + + Example: `2026-12-01T00:00:00Z` + """ + commitment_duration: int | None = ... + """ + The length of the capacity commitment that you request for a + future-dated reservation, in seconds. Amazon RDS measures this length + from `StartDate`. + + Note: + Amazon RDS can grant a shorter capacity commitment than you request. + Therefore, read `CommitmentEndDate` in `CommitmentInfo` for the + commitment that Amazon RDS granted. + + The commitment doesn't end the reservation. Specify `EndDate` to set an + expiration date. You can't cancel a reservation in the `active` state + during the commitment. + + Constraints: + + - Minimum 1209600, which is 14 days. For a `db.x` DB instance class, + such as `db.x2g.xlarge`, the minimum is 7257600, which is 84 days. + + - Must be less than 315576000, which is 10 years. + + - You must also specify `StartDate`. + + Example: `2592000` + """ + license_model: str | None = ... + """ + The license model to reserve capacity for. Specify this parameter only + for RDS for Microsoft SQL Server Enterprise Edition, Standard Edition, + and Developer Edition, for RDS for Oracle, or for RDS for Db2 Standard + Edition and Advanced Edition. Amazon RDS rejects the request for any + other engine. This includes Amazon Aurora, the Web and Express editions + of RDS for Microsoft SQL Server, and RDS for Db2 Community Edition. + + Valid Values: + + - RDS for Microsoft SQL Server Enterprise Edition and Standard Edition - + `license-included | bring-your-own-media` + + - RDS for Microsoft SQL Server Developer Edition - + `bring-your-own-license` + + - RDS for Oracle - `bring-your-own-license | license-included` + + - RDS for Db2 Standard Edition and Advanced Edition - + `bring-your-own-license | marketplace-license` + + A DB instance launches into the reservation only when the license model + of the DB instance matches the license model of the reservation. For a + reservation that holds no license model, Amazon RDS applies no license + model check at launch. + + For RDS for Microsoft SQL Server Enterprise Edition and Standard + Edition, if you don't specify a value, Amazon RDS uses + `license-included`. + + For RDS for Microsoft SQL Server Developer Edition, if you don't + specify a value, Amazon RDS uses `bring-your-own-license`. That is the + only license model that these engines accept, and Amazon RDS rejects any + other value. + + For RDS for Oracle, if you don't specify a value, Amazon RDS uses the + only orderable license model for the DB instance class. If more than one + license model is orderable, you must specify one. + + For RDS for Db2 Standard Edition and Advanced Edition, if you don't + specify a value, Amazon RDS uses `bring-your-own-license`. To reserve + capacity for Db2 DB instances that you license through Amazon Web + Services Marketplace, specify `marketplace-license`. + + Note: + For RDS for Oracle, the license models that you can reserve depend on + the engine and the DB instance class. RDS for Oracle Enterprise Edition + doesn't support `license-included`. + """ + tags: list[Tag] | None = ... + """Tags to assign to the DB capacity reservation.""" + +@dataclass(kw_only=True) +class CreateDBCapacityReservationOutput(_SerdeShape): + """Dataclass for CreateDBCapacityReservationOutput structure.""" + + db_capacity_reservation: DBCapacityReservation | None = ... + """Contains the details of the newly created DB capacity reservation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBClusterEndpointInput(_SerdeShape): + """Dataclass for CreateDBClusterEndpointInput structure.""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the DB cluster associated with the + endpoint. This parameter is stored as a lowercase string. + """ + db_cluster_endpoint_identifier: str | None = ... + """ + The identifier to use for the new endpoint. This parameter is stored as + a lowercase string. + """ + endpoint_type: str | None = ... + """The type of the endpoint, one of: `READER`, `WRITER`, `ANY`.""" + static_members: list[str] | None = ... + """ + List of DB instance identifiers that are part of the custom endpoint + group. + """ + excluded_members: list[str] | None = ... + """ + List of DB instance identifiers that aren't part of the custom endpoint + group. All other eligible instances are reachable through the custom + endpoint. This parameter is relevant only if the list of static members + is empty. + """ + tags: list[Tag] | None = ... + """The tags to be assigned to the Amazon RDS resource.""" + +@dataclass(kw_only=True) +class CreateDBClusterEndpointOutput(_SerdeShape): + """ + This data type represents the information you need to connect to an + Amazon Aurora DB cluster. This data type is used as a response element + in the following actions: + + - `CreateDBClusterEndpoint` + + - `DescribeDBClusterEndpoints` + + - `ModifyDBClusterEndpoint` + + - `DeleteDBClusterEndpoint` + + For the data structure that represents Amazon RDS DB instance endpoints, + see `Endpoint`. + """ + + db_cluster_endpoint_identifier: str | None = ... + """ + The identifier associated with the endpoint. This parameter is stored as + a lowercase string. + """ + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the DB cluster associated with the + endpoint. This parameter is stored as a lowercase string. + """ + db_cluster_endpoint_resource_identifier: str | None = ... + """ + A unique system-generated identifier for an endpoint. It remains the + same for the whole life of the endpoint. + """ + endpoint: str | None = ... + """The DNS address of the endpoint.""" + status: str | None = ... + """ + The current status of the endpoint. One of: `creating`, `available`, + `deleting`, `inactive`, `modifying`. The `inactive` state applies to an + endpoint that can't be used for a certain kind of cluster, such as a + `writer` endpoint for a read-only secondary cluster in a global + database. + """ + endpoint_type: str | None = ... + """The type of the endpoint. One of: `READER`, `WRITER`, `CUSTOM`.""" + custom_endpoint_type: str | None = ... + """ + The type associated with a custom endpoint. One of: `READER`, `WRITER`, + `ANY`. + """ + static_members: list[str] | None = ... + """ + List of DB instance identifiers that are part of the custom endpoint + group. + """ + excluded_members: list[str] | None = ... + """ + List of DB instance identifiers that aren't part of the custom endpoint + group. All other eligible instances are reachable through the custom + endpoint. Only relevant if the list of static members is empty. + """ + db_cluster_endpoint_arn: str | None = ... + """The Amazon Resource Name (ARN) for the endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBClusterInput(_SerdeShape): + """""" + + availability_zones: list[str] | None = ... + """ + A list of Availability Zones (AZs) where you specifically want to create + DB instances in the DB cluster. + + For the first three DB instances that you create, RDS distributes each + DB instance to a different AZ that you specify. For additional DB + instances that you create, RDS randomly distributes them to the AZs that + you specified. For example, if you create a DB cluster with one writer + instance and three reader instances, RDS might distribute the writer + instance to AZ 1, the first reader instance to AZ 2, the second reader + instance to AZ 3, and the third reader instance to either AZ 1, AZ 2, or + AZ 3. + + For more information, see [Availability + Zones](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html#Concepts.RegionsAndAvailabilityZones.AvailabilityZones) + and [High availability for Aurora DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Concepts.AuroraHighAvailability.Instances) + in the *Amazon Aurora User Guide*. + + Valid for Cluster Type: Aurora DB clusters only + + Constraints: + + - Can't specify more than three AZs. + """ + backup_retention_period: int | None = ... + """ + The number of days for which automated backups are retained. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Default: `1` + + Constraints: + + - Must be a value from 1 to 35. + """ + character_set_name: str | None = ... + """ + The name of the character set (`CharacterSet`) to associate the DB + cluster with. + + Valid for Cluster Type: Aurora DB clusters only + """ + database_name: str | None = ... + """ + The name for your database of up to 64 alphanumeric characters. A + database named `postgres` is always created. If this parameter is + specified, an additional database with this name is created. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + db_cluster_identifier: str | None = ... + """ + The identifier for this DB cluster. This parameter is stored as a + lowercase string. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must contain from 1 to 63 (for Aurora DB clusters) or 1 to 52 (for + Multi-AZ DB clusters) letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `my-cluster1` + """ + db_cluster_parameter_group_name: str | None = ... + """ + The name of the DB cluster parameter group to associate with this DB + cluster. If you don't specify a value, then the default DB cluster + parameter group for the specified DB engine and version is used. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - If supplied, must match the name of an existing DB cluster parameter + group. + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of EC2 VPC security groups to associate with this DB cluster. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + db_subnet_group_name: str | None = ... + """ + A DB subnet group to associate with this DB cluster. + + This setting is required to create a Multi-AZ DB cluster. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must match the name of an existing DB subnet group. + + Example: `mydbsubnetgroup` + """ + engine: str | None = ... + """ + The database engine to use for this DB cluster. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + + - `aurora-mysql` + + - `aurora-postgresql` + + - `mysql` + + - `postgres` + + - `neptune` - For information about using Amazon Neptune, see the + [*Amazon Neptune User + Guide*](https://docs.aws.amazon.com/neptune/latest/userguide/intro.html) + . + """ + engine_version: str | None = ... + """ + The version number of the database engine to use. + + To list all of the available engine versions for Aurora MySQL version 2 + (5.7-compatible) and version 3 (MySQL 8.0-compatible), use the following + command: + + `aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"` + + You can supply either `5.7` or `8.0` to use the default engine version + for Aurora MySQL version 2 or version 3, respectively. + + To list all of the available engine versions for Aurora PostgreSQL, use + the following command: + + `aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"` + + To list all of the available engine versions for RDS for MySQL, use the + following command: + + `aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"` + + To list all of the available engine versions for RDS for PostgreSQL, use + the following command: + + `aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"` + + For information about a specific engine, see the following topics: + + - Aurora MySQL - see [Database engine updates for Amazon Aurora + MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) + in the *Amazon Aurora User Guide*. + + - Aurora PostgreSQL - see [Amazon Aurora PostgreSQL releases and engine + versions](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html) + in the *Amazon Aurora User Guide*. + + - RDS for MySQL - see [Amazon RDS for + MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) + in the *Amazon RDS User Guide*. + + - RDS for PostgreSQL - see [Amazon RDS for + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) + in the *Amazon RDS User Guide*. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + port: int | None = ... + """ + The port number on which the instances in the DB cluster accept + connections. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: `1150-65535` + + Default: + + - RDS for MySQL and Aurora MySQL - `3306` + + - RDS for PostgreSQL and Aurora PostgreSQL - `5432` + """ + master_username: str | None = ... + """ + The name of the master user for the DB cluster. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must be 1 to 16 letters or numbers. + + - First character must be a letter. + + - Can't be a reserved word for the chosen database engine. + """ + master_user_password: str | None = ... + """ + The password for the master database user. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must contain from 8 to 41 characters. + + - Can contain any printable ASCII character except \"/\", \"\"\", or + \"@\". + + - Can't be specified if `ManageMasterUserPassword` is turned on. + """ + option_group_name: str | None = ... + """ + The option group to associate the DB cluster with. + + DB clusters are associated with a default option group that can't be + modified. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled using the `BackupRetentionPeriod` + parameter. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region. To view the time + blocks available, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) + in the *Amazon Aurora User Guide*. + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + preferred_maintenance_window: str | None = ... + """ + The weekly time range during which system maintenance can occur. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region, occurring on a random + day of the week. To see the time blocks available, see [Adjusting the + Preferred DB Cluster Maintenance + Window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) + in the *Amazon Aurora User Guide*. + + Constraints: + + - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. + + - Days must be one of `Mon | Tue | Wed | Thu | Fri | Sat | Sun`. + + - Must be in Universal Coordinated Time (UTC). + + - Must be at least 30 minutes. + """ + replication_source_identifier: str | None = ... + """ + The Amazon Resource Name (ARN) of the source DB instance or DB cluster + if this DB cluster is created as a read replica. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + tags: list[Tag] | None = ... + """ + Tags to assign to the DB cluster. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + storage_encrypted: bool | None = ... + """ + Specifies whether the DB cluster is encrypted. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted DB cluster. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + When a KMS key isn't specified in `KmsKeyId`: + + - If `ReplicationSourceIdentifier` identifies an encrypted source, then + Amazon RDS uses the KMS key used to encrypt the source. Otherwise, + Amazon RDS uses your default KMS key. + + - If the `StorageEncrypted` parameter is enabled and + `ReplicationSourceIdentifier` isn't specified, then Amazon RDS uses + your default KMS key. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + + If you create a read replica of an encrypted DB cluster in another + Amazon Web Services Region, make sure to set `KmsKeyId` to a KMS key + identifier that is valid in the destination Amazon Web Services Region. + This KMS key is used to encrypt the read replica in that Amazon Web + Services Region. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + pre_signed_url: str | None = ... + """ + When you are replicating a DB cluster from one Amazon Web Services + GovCloud (US) Region to another, an URL that contains a Signature + Version 4 signed request for the `CreateDBCluster` operation to be + called in the source Amazon Web Services Region where the DB cluster is + replicated from. Specify `PreSignedUrl` only when you are performing + cross-Region replication from an encrypted DB cluster. + + The presigned URL must be a valid request for the `CreateDBCluster` API + operation that can run in the source Amazon Web Services Region that + contains the encrypted DB cluster to copy. + + The presigned URL request must contain the following parameter values: + + - `KmsKeyId` - The KMS key identifier for the KMS key to use to encrypt + the copy of the DB cluster in the destination Amazon Web Services + Region. This should refer to the same KMS key for both the + `CreateDBCluster` operation that is called in the destination Amazon + Web Services Region, and the operation contained in the presigned URL. + + - `DestinationRegion` - The name of the Amazon Web Services Region that + Aurora read replica will be created in. + + - `ReplicationSourceIdentifier` - The DB cluster identifier for the + encrypted DB cluster to be copied. This identifier must be in the + Amazon Resource Name (ARN) format for the source Amazon Web Services + Region. For example, if you are copying an encrypted DB cluster from + the us-west-2 Amazon Web Services Region, then your + `ReplicationSourceIdentifier` would look like Example: + `arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1`. + + To learn how to generate a Signature Version 4 signed request, see + [Authenticating Requests: Using Query Parameters (Amazon Web Services + Signature Version + 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + and [Signature Version 4 Signing + Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). + + Note: + If you are using an Amazon Web Services SDK tool or the CLI, you can + specify `SourceRegion` (or `--source-region` for the CLI) instead of + specifying `PreSignedUrl` manually. Specifying `SourceRegion` + autogenerates a presigned URL that is a valid request for the operation + that can run in the source Amazon Web Services Region. + + Valid for Cluster Type: Aurora DB clusters only + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + For more information, see [IAM Database + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon Aurora User Guide* or [IAM database authentication for + MariaDB, MySQL, and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide*. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + backtrack_window: int | None = ... + """ + The target backtrack window, in seconds. To disable backtracking, set + this value to `0`. + + Valid for Cluster Type: Aurora MySQL DB clusters only + + Default: `0` + + Constraints: + + - If specified, this value must be set to a number from 0 to 259,200 (72 + hours). + """ + enable_cloudwatch_logs_exports: list[str] | None = ... + """ + The list of log types that need to be enabled for exporting to + CloudWatch Logs. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + The following values are valid for each DB engine: + + - Aurora MySQL - + `audit | error | general | instance | slowquery | iam-db-auth-error` + + - Aurora PostgreSQL - `instance | postgresql | iam-db-auth-error` + + - RDS for MySQL - `error | general | slowquery | iam-db-auth-error` + + - RDS for PostgreSQL - `postgresql | upgrade | iam-db-auth-error` + + For more information about exporting CloudWatch Logs for Amazon RDS, see + [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + For more information about exporting CloudWatch Logs for Amazon Aurora, + see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon Aurora User Guide*. + """ + engine_mode: str | None = ... + """ + The DB engine mode of the DB cluster, either `provisioned` or + `serverless`. + + The `serverless` engine mode only applies for Aurora Serverless v1 DB + clusters. Aurora Serverless v2 DB clusters use the `provisioned` engine + mode. + + For information about limitations and requirements for Serverless DB + clusters, see the following sections in the *Amazon Aurora User Guide*: + + - [Limitations of Aurora Serverless + v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations) + + - [Requirements for Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html) + + Valid for Cluster Type: Aurora DB clusters only + """ + scaling_configuration: ScalingConfiguration | None = ... + """ + For DB clusters in `serverless` DB engine mode, the scaling properties + of the DB cluster. + + Valid for Cluster Type: Aurora DB clusters only + """ + rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... + """Reserved for future use.""" + db_cluster_instance_class: str | None = ... + """ + The compute and memory capacity of each DB instance in the Multi-AZ DB + cluster, for example `db.m6gd.xlarge`. Not all DB instance classes are + available in all Amazon Web Services Regions, or for all database + engines. + + For the full list of DB instance classes and availability for your + engine, see [DB instance + class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide*. + + This setting is required to create a Multi-AZ DB cluster. + + Valid for Cluster Type: Multi-AZ DB clusters only + """ + allocated_storage: int | None = ... + """ + The amount of storage in gibibytes (GiB) to allocate to each DB instance + in the Multi-AZ DB cluster. + + Valid for Cluster Type: Multi-AZ DB clusters only + + This setting is required to create a Multi-AZ DB cluster. + """ + storage_type: str | None = ... + """ + The storage type to associate with the DB cluster. + + For information on storage types for Aurora DB clusters, see [Storage + configurations for Amazon Aurora DB + clusters](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type). + For information on storage types for Multi-AZ DB clusters, see [Settings + for creating Multi-AZ DB + clusters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html#create-multi-az-db-cluster-settings). + + This setting is required to create a Multi-AZ DB cluster. + + When specified for a Multi-AZ DB cluster, a value for the `Iops` + parameter is required. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + + - Aurora DB clusters - `aurora | aurora-iopt1` + + - Multi-AZ DB clusters - `io1 | io2 | gp3` + + Default: + + - Aurora DB clusters - `aurora` + + - Multi-AZ DB clusters - `io1` + + Note: + When you create an Aurora DB cluster with the storage type set to + `aurora-iopt1`, the storage type is returned in the response. The + storage type isn't returned when you set it to `aurora`. + """ + iops: int | None = ... + """ + The amount of Provisioned IOPS (input/output operations per second) to + be initially allocated for each DB instance in the Multi-AZ DB cluster. + + For information about valid IOPS values, see [Provisioned IOPS + storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) + in the *Amazon RDS User Guide*. + + This setting is required to create a Multi-AZ DB cluster. + + Valid for Cluster Type: Multi-AZ DB clusters only + + Constraints: + + - Must be a multiple between .5 and 50 of the storage amount for the DB + cluster. + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB cluster is publicly accessible. + + Valid for Cluster Type: Multi-AZ DB clusters only + + When the DB cluster is publicly accessible and you connect from outside + of the DB cluster's virtual private cloud (VPC), its domain name system + (DNS) endpoint resolves to the public IP address. When you connect from + within the same VPC as the DB cluster, the endpoint resolves to the + private IP address. Access to the DB cluster is controlled by its + security group settings. + + When the DB cluster isn't publicly accessible, it is an internal DB + cluster with a DNS name that resolves to a private IP address. + + The default behavior when `PubliclyAccessible` is not specified depends + on whether a `DBSubnetGroup` is specified. + + If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to + `true`. + + If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to + `false` unless the value of `DBSubnetGroup` is `default`, in which case + `PubliclyAccessible` defaults to `true`. + + If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup` is + in doesn't have an internet gateway attached to it, Amazon RDS returns + an error. + """ + auto_minor_version_upgrade: bool | None = ... + """ + Specifies whether minor engine upgrades are applied automatically to the + DB cluster during the maintenance window. By default, minor engine + upgrades are applied automatically. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + deletion_protection: bool | None = ... + """ + Specifies whether the DB cluster has deletion protection enabled. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + global_cluster_identifier: str | None = ... + """ + The global cluster ID of an Aurora cluster that becomes the primary + cluster in the new global database cluster. + + Valid for Cluster Type: Aurora DB clusters only + """ + enable_http_endpoint: bool | None = ... + """ + Specifies whether to enable the HTTP endpoint for the DB cluster. By + default, the HTTP endpoint isn't enabled. + + When enabled, the HTTP endpoint provides a connectionless web service + API (RDS Data API) for running SQL queries on the DB cluster. You can + also query your database from inside the RDS console with the RDS query + editor. + + For more information, see [Using RDS Data + API](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + in the *Amazon Aurora User Guide*. + + Valid for Cluster Type: Aurora DB clusters only + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the DB cluster to snapshots of + the DB cluster. The default is not to copy them. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + domain: str | None = ... + """ + The Active Directory directory ID to create the DB cluster in. + + For Amazon Aurora DB clusters, Amazon RDS can use Kerberos + authentication to authenticate users that connect to the DB cluster. + + For more information, see [Kerberos + authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) + in the *Amazon Aurora User Guide*. + + Valid for Cluster Type: Aurora DB clusters only + """ + domain_iam_role_name: str | None = ... + """ + The name of the IAM role to use when making API calls to the Directory + Service. + + Valid for Cluster Type: Aurora DB clusters only + """ + enable_global_write_forwarding: bool | None = ... + """ + Specifies whether to enable this DB cluster to forward write operations + to the primary cluster of a global cluster (Aurora global database). By + default, write operations are not allowed on Aurora DB clusters that are + secondary clusters in an Aurora global database. + + You can set this value only on Aurora DB clusters that are members of an + Aurora global database. With this parameter enabled, a secondary cluster + can forward writes to the current primary cluster, and the resulting + changes are replicated back to this cluster. For the primary DB cluster + of an Aurora global database, this value is used immediately if the + primary is demoted by a global cluster API operation, but it does + nothing until then. + + Valid for Cluster Type: Aurora DB clusters only + """ + network_type: str | None = ... + """ + The network type of the DB cluster. + + The network type is determined by the `DBSubnetGroup` specified for the + DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon Aurora User Guide.* + + Valid for Cluster Type: Aurora DB clusters only + + Valid Values: `IPV4 | DUAL` + """ + serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... + """ + Contains the scaling configuration of an Aurora Serverless v2 DB + cluster. + + For more information, see [Using Amazon Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the *Amazon Aurora User Guide*. + """ + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the DB cluster. To turn off collecting + Enhanced Monitoring metrics, specify `0`. + + If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to a + value other than `0`. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` + + Default: `0` + """ + monitoring_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the IAM role that permits RDS to send + Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is + `arn:aws:iam:123456789012:role/emaccess`. For information on creating a + monitoring role, see [Setting up and enabling Enhanced + Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) + in the *Amazon RDS User Guide*. + + If `MonitoringInterval` is set to a value other than `0`, supply a + `MonitoringRoleArn` value. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + database_insights_mode: str | None = ... + """ + The mode of Database Insights to enable for the DB cluster. + + If you set this value to `advanced`, you must also set the + `PerformanceInsightsEnabled` parameter to `true` and the + `PerformanceInsightsRetentionPeriod` parameter to 465. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + enable_performance_insights: bool | None = ... + """ + Specifies whether to turn on Performance Insights for the DB cluster. + + For more information, see [Using Amazon Performance + Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the *Amazon RDS User Guide*. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + If you don't specify a value for `PerformanceInsightsKMSKeyId`, then + Amazon RDS uses your default KMS key. There is a default KMS key for + your Amazon Web Services account. Your Amazon Web Services account has a + different default KMS key for each Amazon Web Services Region. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + + - `7` + + - *month* * 31, where *month* is a number of months from 1-23. + Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 + months * 31) + + - `731` + + Default: `7` days + + If you specify a retention period that isn't valid, such as `94`, + Amazon RDS issues an error. + """ + enable_limitless_database: bool | None = ... + """ + Specifies whether to enable Aurora Limitless Database. You must enable + Aurora Limitless Database to create a DB shard group. + + Valid for: Aurora DB clusters only + + Note: + This setting is no longer used. Instead use the `ClusterScalabilityType` + setting. + """ + cluster_scalability_type: str | None = ... + """ + Specifies the scalability mode of the Aurora DB cluster. When set to + `limitless`, the cluster operates as an Aurora Limitless Database. When + set to `standard` (the default), the cluster uses normal DB instance + creation. + + Valid for: Aurora DB clusters only + + Note: + You can't modify this setting after you create the DB cluster. + """ + db_system_id: str | None = ... + """Reserved for future use.""" + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide* and [Password management with Amazon Web + Services Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the *Amazon Aurora User Guide.* + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Can't manage the master user password with Amazon Web Services + Secrets Manager if `MasterUserPassword` is specified. + """ + enable_local_write_forwarding: bool | None = ... + """ + Specifies whether read replicas can forward write operations to the + writer DB instance in the DB cluster. By default, write operations + aren't allowed on reader DB instances. + + Valid for: Aurora DB clusters only + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB cluster. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + If you don't specify `MasterUserSecretKmsKeyId`, then the + `aws/secretsmanager` KMS key is used to encrypt the secret. If the + secret is in a different Amazon Web Services account, then you can't + use the `aws/secretsmanager` KMS key to encrypt the secret, and you must + use a customer managed KMS key. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + ca_certificate_identifier: str | None = ... + """ + The CA certificate identifier to use for the DB cluster's server + certificate. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide*. + + Valid for Cluster Type: Multi-AZ DB clusters + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB cluster. + + Note: + By default, this value is set to `open-source-rds-extended-support`, + which enrolls your DB cluster into Amazon RDS Extended Support. At the + end of standard support, you can avoid charges for Extended Support by + setting the value to `open-source-rds-extended-support-disabled`. In + this case, creating the DB cluster will fail if the DB major version is + past its end of standard support date. + + You can use this setting to enroll your DB cluster into Amazon RDS + Extended Support. With RDS Extended Support, you can run the selected + major engine version on your DB cluster past the end of standard support + for that engine version. For more information, see the following + sections: + + - Amazon Aurora - [Amazon RDS Extended Support with Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) + in the *Amazon Aurora User Guide* + + - Amazon RDS - [Amazon RDS Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide* + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + Default: `open-source-rds-extended-support` + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB cluster. + + Valid Values: + + - `cluster-auto-backup` - The DB cluster's automated backup. + """ + master_user_authentication_type: str | None = ... + """ + Specifies the authentication type for the master user. With IAM master + user authentication, you can configure the master DB user with IAM + database authentication when you create a DB cluster. + + You can specify one of the following values: + + - `password` - Use standard database authentication with a password. + + - `iam-db-auth` - Use IAM database authentication for the master user. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL + engines. + """ + with_express_configuration: bool | None = ... + """ + Specifies to create an Aurora DB Cluster with express configuration in + seconds. Express configuration provides a cluster with a writer instance + and feature specific values set to all other input parameters of this + API. + + Valid for Cluster Type: Aurora DB clusters + """ + associated_roles: list[DBClusterAssociatedRole] | None = ... + """ + A list of Amazon Web Services Identity and Access Management (IAM) roles + to associate with the DB cluster. Each role grants the DB cluster + permission to access other Amazon Web Services on your behalf. For each + role, specify a role ARN and, optionally, the feature name (such as + `s3Import`, `s3Export`, or `Lambda`). + + Valid for Cluster Type: Aurora DB clusters only + """ + +@dataclass(kw_only=True) +class CreateDBClusterOutput(_SerdeShape): + """Dataclass for CreateDBClusterOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBClusterParameterGroupInput(_SerdeShape): + """""" + + db_cluster_parameter_group_name: str | None = ... + """ + The name of the DB cluster parameter group. + + Constraints: + + - Must not match the name of an existing DB cluster parameter group. + + Note: + This value is stored as a lowercase string. + """ + db_parameter_group_family: str | None = ... + """ + The DB cluster parameter group family name. A DB cluster parameter group + can be associated with one and only one DB cluster parameter group + family, and can be applied only to a DB cluster running a database + engine and engine version compatible with that DB cluster parameter + group family. + + **Aurora MySQL** + + Example: `aurora-mysql5.7`, `aurora-mysql8.0` + + **Aurora PostgreSQL** + + Example: `aurora-postgresql14` + + **RDS for MySQL** + + Example: `mysql8.0` + + **RDS for PostgreSQL** + + Example: `postgres13` + + To list all of the available parameter group families for a DB engine, + use the following command: + + `aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine ` + + For example, to list all of the available parameter group families for + the Aurora PostgreSQL DB engine, use the following command: + + `aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine aurora-postgresql` + + Note: + The output contains duplicates. + + The following are the valid DB engine values: + + - `aurora-mysql` + + - `aurora-postgresql` + + - `mysql` + + - `postgres` + """ + description: str | None = ... + """The description for the DB cluster parameter group.""" + tags: list[Tag] | None = ... + """Tags to assign to the DB cluster parameter group.""" + +@dataclass(kw_only=True) +class CreateDBClusterParameterGroupOutput(_SerdeShape): + """Dataclass for CreateDBClusterParameterGroupOutput structure.""" + + db_cluster_parameter_group: DBClusterParameterGroup | None = ... + """ + Contains the details of an Amazon RDS DB cluster parameter group. + + This data type is used as a response element in the + `DescribeDBClusterParameterGroups` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBClusterSnapshotInput(_SerdeShape): + """""" + + db_cluster_snapshot_identifier: str | None = ... + """ + The identifier of the DB cluster snapshot. This parameter is stored as a + lowercase string. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `my-cluster1-snapshot1` + """ + db_cluster_identifier: str | None = ... + """ + The identifier of the DB cluster to create a snapshot for. This + parameter isn't case-sensitive. + + Constraints: + + - Must match the identifier of an existing DBCluster. + + Example: `my-cluster1` + """ + tags: list[Tag] | None = ... + """The tags to be assigned to the DB cluster snapshot.""" + +@dataclass(kw_only=True) +class CreateDBClusterSnapshotOutput(_SerdeShape): + """Dataclass for CreateDBClusterSnapshotOutput structure.""" + + db_cluster_snapshot: DBClusterSnapshot | None = ... + """ + Contains the details for an Amazon RDS DB cluster snapshot + + This data type is used as a response element in the + `DescribeDBClusterSnapshots` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBInstanceInput(_SerdeShape): + """""" + + db_name: str | None = ... + """ + The meaning of this parameter differs according to the database engine + you use. + + Amazon Aurora MySQL + + : The name of the database to create when the primary DB instance of the + Aurora MySQL DB cluster is created. If this parameter isn't specified + for an Aurora MySQL DB cluster, no database is created in the DB + cluster. + + Constraints: + + - Must contain 1 to 64 alphanumeric characters. + + - Must begin with a letter. Subsequent characters can be letters, + underscores, or digits (0-9). + + - Can't be a word reserved by the database engine. + + Amazon Aurora PostgreSQL + + : The name of the database to create when the primary DB instance of the + Aurora PostgreSQL DB cluster is created. A database named `postgres` + is always created. If this parameter is specified, an additional + database with this name is created. + + Constraints: + + - It must contain 1 to 63 alphanumeric characters. + + - Must begin with a letter. Subsequent characters can be letters, + underscores, or digits (0 to 9). + + - Can't be a word reserved by the database engine. + + Amazon RDS Custom for Oracle + + : The Oracle System ID (SID) of the created RDS Custom DB instance. If + you don't specify a value, the default value is `ORCL` for non-CDBs + and `RDSCDB` for CDBs. + + Default: `ORCL` + + Constraints: + + - Must contain 1 to 8 alphanumeric characters. + + - Must contain a letter. + + - Can't be a word reserved by the database engine. + + Amazon RDS Custom for SQL Server + + : Not applicable. Must be null. + + RDS for Db2 + + : The name of the database to create when the DB instance is created. If + this parameter isn't specified, no database is created in the DB + instance. In some cases, we recommend that you don't add a database + name. For more information, see [Additional + considerations](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-db-instance-prereqs.html#db2-prereqs-additional-considerations) + in the *Amazon RDS User Guide*. + + Constraints: + + - Must contain 1 to 64 letters or numbers. + + - Must begin with a letter. Subsequent characters can be letters, + underscores, or digits (0-9). + + - Can't be a word reserved by the specified database engine. + + RDS for MariaDB + + : The name of the database to create when the DB instance is created. If + this parameter isn't specified, no database is created in the DB + instance. + + Constraints: + + - Must contain 1 to 64 letters or numbers. + + - Must begin with a letter. Subsequent characters can be letters, + underscores, or digits (0-9). + + - Can't be a word reserved by the specified database engine. + + RDS for MySQL + + : The name of the database to create when the DB instance is created. If + this parameter isn't specified, no database is created in the DB + instance. + + Constraints: + + - Must contain 1 to 64 letters or numbers. + + - Must begin with a letter. Subsequent characters can be letters, + underscores, or digits (0-9). + + - Can't be a word reserved by the specified database engine. + + RDS for Oracle + + : The Oracle System ID (SID) of the created DB instance. If you don't + specify a value, the default value is `ORCL`. You can't specify the + string `null`, or any other reserved word, for `DBName`. + + Default: `ORCL` + + Constraints: + + - Can't be longer than 8 characters. + + RDS for PostgreSQL + + : The name of the database to create when the DB instance is created. A + database named `postgres` is always created. If this parameter is + specified, an additional database with this name is created. + + Constraints: + + - Must contain 1 to 63 letters, numbers, or underscores. + + - Must begin with a letter. Subsequent characters can be letters, + underscores, or digits (0-9). + + - Can't be a word reserved by the specified database engine. + + RDS for SQL Server + + : Not applicable. Must be null. + """ + db_instance_identifier: str | None = ... + """ + The identifier for this DB instance. This parameter is stored as a + lowercase string. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `mydbinstance` + """ + allocated_storage: int | None = ... + """ + The amount of storage in gibibytes (GiB) to allocate for the DB + instance. + + This setting doesn't apply to Amazon Aurora DB instances. Aurora + cluster volumes automatically grow as the amount of data in your + database increases, though you are only charged for the space that you + use in an Aurora cluster volume. + + Amazon RDS Custom + + : Constraints to the amount of storage for each storage type are the + following: + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 + to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL + Server. + + - Provisioned IOPS storage (io1, io2): Must be an integer from 40 to + 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL + Server. + + RDS for Db2 + + : Constraints to the amount of storage for each storage type are the + following: + + - General Purpose (SSD) storage (gp3): Must be an integer from 20 to + 65536. + + - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to + 65536. + + RDS for MariaDB + + : Constraints to the amount of storage for each storage type are the + following: + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to + 65536. + + - Magnetic storage (standard): Must be an integer from 5 to 3072. + + RDS for MySQL + + : Constraints to the amount of storage for each storage type are the + following: + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to + 65536. + + - Magnetic storage (standard): Must be an integer from 5 to 3072. + + RDS for Oracle + + : Constraints to the amount of storage for each storage type are the + following: + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to + 65536. + + - Magnetic storage (standard): Must be an integer from 10 to 3072. + + RDS for PostgreSQL + + : Constraints to the amount of storage for each storage type are the + following: + + - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 + to 65536. + + - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to + 65536. + + - Magnetic storage (standard): Must be an integer from 5 to 3072. + + RDS for SQL Server + + : Constraints to the amount of storage for each storage type are the + following: + + - General Purpose (SSD) storage (gp2, gp3): + + - Enterprise and Standard editions: Must be an integer from 20 to + 16384. + + - Web and Express editions: Must be an integer from 20 to 16384. + + - Provisioned IOPS storage (io1, io2): + + - Enterprise and Standard editions: Must be an integer from 100 to + 16384. + + - Web and Express editions: Must be an integer from 100 to 16384. + + - Magnetic storage (standard): + + - Enterprise and Standard editions: Must be an integer from 20 to + 1024. + + - Web and Express editions: Must be an integer from 20 to 1024. + """ + db_instance_class: str | None = ... + """ + The compute and memory capacity of the DB instance, for example + `db.m5.large`. Not all DB instance classes are available in all Amazon + Web Services Regions, or for all database engines. For the full list of + DB instance classes, and availability for your engine, see [DB instance + classes](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide* or [Aurora DB instance + classes](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html) + in the *Amazon Aurora User Guide*. + """ + engine: str | None = ... + """ + The database engine to use for this DB instance. + + Not every database engine is available in every Amazon Web Services + Region. + + Valid Values: + + - `aurora-mysql` (for Aurora MySQL DB instances) + + - `aurora-postgresql` (for Aurora PostgreSQL DB instances) + + - `custom-oracle-ee` (for RDS Custom for Oracle DB instances) + + - `custom-oracle-ee-cdb` (for RDS Custom for Oracle DB instances) + + - `custom-oracle-se2` (for RDS Custom for Oracle DB instances) + + - `custom-oracle-se2-cdb` (for RDS Custom for Oracle DB instances) + + - `custom-sqlserver-ee` (for RDS Custom for SQL Server DB instances) + + - `custom-sqlserver-se` (for RDS Custom for SQL Server DB instances) + + - `custom-sqlserver-web` (for RDS Custom for SQL Server DB instances) + + - `custom-sqlserver-dev` (for RDS Custom for SQL Server DB instances) + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-dev-ee` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + """ + master_username: str | None = ... + """ + The name for the master user. + + This setting doesn't apply to Amazon Aurora DB instances. The name for + the master user is managed by the DB cluster. + + This setting is required for RDS DB instances. + + Constraints: + + - Must be 1 to 16 letters, numbers, or underscores. + + - First character must be a letter. + + - Can't be a reserved word for the chosen database engine. + """ + master_user_password: str | None = ... + """ + The password for the master user. + + This setting doesn't apply to Amazon Aurora DB instances. The password + for the master user is managed by the DB cluster. + + Constraints: + + - Can't be specified if `ManageMasterUserPassword` is turned on. + + - Can include any printable ASCII character except \"/\", \"\"\", or + \"@\". For RDS for Oracle, can't include the \"&\" (ampersand) or the + \"'\" (single quotes) character. + + Length Constraints: + + - RDS for Db2 - Must contain from 8 to 255 characters. + + - RDS for MariaDB - Must contain from 8 to 41 characters. + + - RDS for Microsoft SQL Server - Must contain from 8 to 128 characters. + + - RDS for MySQL - Must contain from 8 to 41 characters. + + - RDS for Oracle - Must contain from 8 to 30 characters. + + - RDS for PostgreSQL - Must contain from 8 to 128 characters. + """ + db_security_groups: list[str] | None = ... + """ + A list of DB security groups to associate with this DB instance. + + This setting applies to the legacy EC2-Classic platform, which is no + longer used to create new DB instances. Use the `VpcSecurityGroupIds` + setting instead. + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of Amazon EC2 VPC security groups to associate with this DB + instance. + + This setting doesn't apply to Amazon Aurora DB instances. The + associated list of EC2 VPC security groups is managed by the DB cluster. + + Default: The default EC2 VPC security group for the DB subnet group's + VPC. + """ + availability_zone: str | None = ... + """ + The Availability Zone (AZ) where the database will be created. For + information on Amazon Web Services Regions and Availability Zones, see + [Regions and Availability + Zones](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). + + For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in + three separate Availability Zones. Specify one of these Availability + Zones. Aurora automatically chooses an appropriate Availability Zone if + you don't specify one. + + Default: A random, system-chosen Availability Zone in the endpoint's + Amazon Web Services Region. + + Constraints: + + - The `AvailabilityZone` parameter can't be specified if the DB + instance is a Multi-AZ deployment. + + - The specified Availability Zone must be in the same Amazon Web + Services Region as the current endpoint. + + Example: `us-east-1d` + """ + db_subnet_group_name: str | None = ... + """ + A DB subnet group to associate with this DB instance. + + Constraints: + + - Must match the name of an existing DB subnet group. + + Example: `mydbsubnetgroup` + """ + preferred_maintenance_window: str | None = ... + """ + The time range each week during which system maintenance can occur. For + more information, see [Amazon RDS Maintenance + Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance) + in the *Amazon RDS User Guide.* + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region, occurring on a random + day of the week. + + Constraints: + + - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. + + - The day values must be `mon | tue | wed | thu | fri | sat | sun`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred backup window. + + - Must be at least 30 minutes. + """ + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group to associate with this DB instance. + If you don't specify a value, then Amazon RDS uses the default DB + parameter group for the specified DB engine and version. + + This setting doesn't apply to RDS Custom DB instances. + + Constraints: + + - Must be 1 to 255 letters, numbers, or hyphens. + + - The first character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + """ + backup_retention_period: int | None = ... + """ + The number of days for which automated backups are retained. Setting + this parameter to a positive number enables backups. Setting this + parameter to `0` disables automated backups. + + This setting doesn't apply to Amazon Aurora DB instances. The retention + period for automated backups is managed by the DB cluster. + + Default: `1` + + Constraints: + + - Must be a value from 0 to 35. + + - Can't be set to 0 if the DB instance is a source to read replicas. + + - Can't be set to 0 for an RDS Custom for Oracle DB instance. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, using the `BackupRetentionPeriod` + parameter. The default is a 30-minute window selected at random from an + 8-hour block of time for each Amazon Web Services Region. For more + information, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to Amazon Aurora DB instances. The daily + time range for creating automated backups is managed by the DB cluster. + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + port: int | None = ... + """ + The port number on which the database accepts connections. + + This setting doesn't apply to Aurora DB instances. The port number is + managed by the cluster. + + Valid Values: `1150-65535` + + Default: + + - RDS for Db2 - `50000` + + - RDS for MariaDB - `3306` + + - RDS for Microsoft SQL Server - `1433` + + - RDS for MySQL - `3306` + + - RDS for Oracle - `1521` + + - RDS for PostgreSQL - `5432` + + Constraints: + + - For RDS for Microsoft SQL Server, the value can't be `1234`, `1434`, + `3260`, `3343`, `3389`, `47001`, or `49152-49156`. + """ + multi_az: bool | None = ... + """ + Specifies whether the DB instance is a Multi-AZ deployment. You can't + set the `AvailabilityZone` parameter if the DB instance is a Multi-AZ + deployment. + + This setting doesn't apply to Amazon Aurora because the DB instance + Availability Zones (AZs) are managed by the DB cluster. + """ + engine_version: str | None = ... + """ + The version number of the database engine to use. + + This setting doesn't apply to Amazon Aurora DB instances. The version + number of the database engine the DB instance uses is managed by the DB + cluster. + + For a list of valid engine versions, use the `DescribeDBEngineVersions` + operation. + + The following are the database engines and links to information about + the major and minor versions that are available with Amazon RDS. Not + every database engine is available for every Amazon Web Services Region. + + Amazon RDS Custom for Oracle + + : A custom engine version (CEV) that you have previously created. This + setting is required for RDS Custom for Oracle. The CEV name has the + following format: 19.*customized_string*. A valid CEV name is + `19.my_cev1`. For more information, see [Creating an RDS Custom for + Oracle DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create) + in the *Amazon RDS User Guide*. + + Amazon RDS Custom for SQL Server + + : See [RDS Custom for SQL Server general + requirements](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html) + in the *Amazon RDS User Guide*. + + RDS for Db2 + + : For information, see [Db2 on Amazon RDS + versions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Db2.html#Db2.Concepts.VersionMgmt) + in the *Amazon RDS User Guide*. + + RDS for MariaDB + + : For information, see [MariaDB on Amazon RDS + versions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt) + in the *Amazon RDS User Guide*. + + RDS for Microsoft SQL Server + + : For information, see [Microsoft SQL Server versions on Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport) + in the *Amazon RDS User Guide*. + + RDS for MySQL + + : For information, see [MySQL on Amazon RDS + versions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) + in the *Amazon RDS User Guide*. + + RDS for Oracle + + : For information, see [Oracle Database Engine release + notes](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html) + in the *Amazon RDS User Guide*. + + RDS for PostgreSQL + + : For information, see [Amazon RDS for PostgreSQL versions and + extensions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) + in the *Amazon RDS User Guide*. + """ + auto_minor_version_upgrade: bool | None = ... + """ + Specifies whether minor engine upgrades are applied automatically to the + DB instance during the maintenance window. By default, minor engine + upgrades are applied automatically. + + If you create an RDS Custom DB instance, you must set + `AutoMinorVersionUpgrade` to `false`. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + license_model: str | None = ... + """ + The license model information for this DB instance. + + Note: + License models for RDS for Db2 require additional configuration. The + bring your own license (BYOL) model requires a custom parameter group + and an Amazon Web Services License Manager self-managed license. The Db2 + license through Amazon Web Services Marketplace model requires an Amazon + Web Services Marketplace subscription. For more information, see [Amazon + RDS for Db2 licensing + options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html) + in the *Amazon RDS User Guide*. + + The default for RDS for Db2 is `bring-your-own-license`. + + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + + Valid Values: + + - RDS for Db2 - `bring-your-own-license | marketplace-license` + + - RDS for MariaDB - `general-public-license` + + - RDS for Microsoft SQL Server - + `license-included | bring-your-own-media` + + - RDS for MySQL - `general-public-license` + + - RDS for Oracle - `bring-your-own-license | license-included` + + - RDS for PostgreSQL - `postgresql-license` + """ + iops: int | None = ... + """ + The amount of Provisioned IOPS (input/output operations per second) to + initially allocate for the DB instance. For information about valid IOPS + values, see [Amazon RDS DB instance + storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to Amazon Aurora DB instances. Storage is + managed by the DB cluster. + + Constraints: + + - For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a + multiple between .5 and 50 of the storage amount for the DB instance. + + - For RDS for SQL Server - Must be a multiple between 1 and 50 of the + storage amount for the DB instance. + """ + storage_throughput: int | None = ... + """ + The storage throughput value, in mebibyte per second (MiBps), for the DB + instance. + + This setting applies only to the `gp3` storage type. + + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + """ + option_group_name: str | None = ... + """ + The option group to associate the DB instance with. + + Permanent options, such as the TDE option for Oracle Advanced Security + TDE, can't be removed from an option group. Also, that option group + can't be removed from a DB instance after it is associated with a DB + instance. + + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + """ + character_set_name: str | None = ... + """ + For supported engines, the character set (`CharacterSet`) to associate + the DB instance with. + + This setting doesn't apply to the following DB instances: + + - Amazon Aurora - The character set is managed by the DB cluster. For + more information, see `CreateDBCluster`. + + - RDS Custom - However, if you need to change the character set, you can + change it on the database itself. + """ + nchar_character_set_name: str | None = ... + """ + The name of the NCHAR character set for the Oracle DB instance. + + This setting doesn't apply to RDS Custom DB instances. + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB instance is publicly accessible. + + When the DB instance is publicly accessible and you connect from outside + of the DB instance's virtual private cloud (VPC), its domain name + system (DNS) endpoint resolves to the public IP address. When you + connect from within the same VPC as the DB instance, the endpoint + resolves to the private IP address. Access to the DB instance is + controlled by its security group settings. + + When the DB instance isn't publicly accessible, it is an internal DB + instance with a DNS name that resolves to a private IP address. + + The default behavior when `PubliclyAccessible` is not specified depends + on whether a `DBSubnetGroup` is specified. + + If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to + `false` for Aurora instances and `true` for non-Aurora instances. + + If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to + `false` unless the value of `DBSubnetGroup` is `default`, in which case + `PubliclyAccessible` defaults to `true`. + + If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup` is + in doesn't have an internet gateway attached to it, Amazon RDS returns + an error. + """ + tags: list[Tag] | None = ... + """Tags to assign to the DB instance.""" + db_cluster_identifier: str | None = ... + """ + The identifier of the DB cluster that this DB instance will belong to. + + This setting doesn't apply to RDS Custom DB instances. + """ + storage_type: str | None = ... + """ + The storage type to associate with the DB instance. + + If you specify `io1`, `io2`, or `gp3`, you must also include a value for + the `Iops` parameter. + + This setting doesn't apply to Amazon Aurora DB instances. Storage is + managed by the DB cluster. + + Valid Values: `gp2 | gp3 | io1 | io2 | standard` + + Default: `io1`, if the `Iops` parameter is specified. Otherwise, `gp3`. + """ + tde_credential_arn: str | None = ... + """ + The ARN from the key store with which to associate the instance for TDE + encryption. + + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + """ + tde_credential_password: str | None = ... + """ + The password for the given ARN from the key store in order to access the + device. + + This setting doesn't apply to RDS Custom DB instances. + """ + storage_encrypted: bool | None = ... + """ + Specifes whether the DB instance is encrypted. By default, it isn't + encrypted. + + For RDS Custom DB instances, either enable this setting or leave it + unset. Otherwise, Amazon RDS reports an error. + + This setting doesn't apply to Amazon Aurora DB instances. The + encryption for DB instances is managed by the DB cluster. + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted DB instance. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + This setting doesn't apply to Amazon Aurora DB instances. The Amazon + Web Services KMS key identifier is managed by the DB cluster. For more + information, see `CreateDBCluster`. + + If `StorageEncrypted` is enabled, and you do not specify a value for the + `KmsKeyId` parameter, then Amazon RDS uses your default KMS key. There + is a default KMS key for your Amazon Web Services account. Your Amazon + Web Services account has a different default KMS key for each Amazon Web + Services Region. + + For Amazon RDS Custom, a KMS key is required for DB instances. For most + RDS engines, if you leave this parameter empty while enabling + `StorageEncrypted`, the engine uses the default KMS key. However, RDS + Custom doesn't use the default key when this parameter is empty. You + must explicitly specify a key. + """ + domain: str | None = ... + """ + The Active Directory directory ID to create the DB instance in. + Currently, you can create only Db2, MySQL, Microsoft SQL Server, Oracle, + and PostgreSQL DB instances in an Active Directory Domain. + + For more information, see [Kerberos + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to the following DB instances: + + - Amazon Aurora (The domain is managed by the DB cluster.) + + - RDS Custom + """ + domain_fqdn: str | None = ... + """ + The fully qualified domain name (FQDN) of an Active Directory domain. + + Constraints: + + - Can't be longer than 64 characters. + + Example: `mymanagedADtest.mymanagedAD.mydomain` + """ + domain_ou: str | None = ... + """ + The Active Directory organizational unit for your DB instance to join. + + Constraints: + + - Must be in the distinguished name format. + + - Can't be longer than 64 characters. + + Example: + `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` + """ + domain_auth_secret_arn: str | None = ... + """ + The ARN for the Secrets Manager secret with the credentials for the user + joining the domain. + + Example: + `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` + """ + domain_dns_ips: list[str] | None = ... + """ + The IPv4 DNS IP addresses of your primary and secondary Active Directory + domain controllers. + + Constraints: + + - Two IP addresses must be provided. If there isn't a secondary domain + controller, use the IP address of the primary domain controller for + both entries in the list. + + Example: `123.124.125.126,234.235.236.237` + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy tags from the DB instance to snapshots of the + DB instance. By default, tags are not copied. + + This setting doesn't apply to Amazon Aurora DB instances. Copying tags + to snapshots is managed by the DB cluster. Setting this value for an + Aurora DB instance has no effect on the DB cluster setting. + """ + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the DB instance. To disable collection of + Enhanced Monitoring metrics, specify `0`. + + If `MonitoringRoleArn` is specified, then you must set + `MonitoringInterval` to a value other than `0`. + + This setting doesn't apply to RDS Custom DB instances. + + Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` + + Default: `0` + """ + monitoring_role_arn: str | None = ... + """ + The ARN for the IAM role that permits RDS to send enhanced monitoring + metrics to Amazon CloudWatch Logs. For example, + `arn:aws:iam:123456789012:role/emaccess`. For information on creating a + monitoring role, see [Setting Up and Enabling Enhanced + Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) + in the *Amazon RDS User Guide*. + + If `MonitoringInterval` is set to a value other than `0`, then you must + supply a `MonitoringRoleArn` value. + + This setting doesn't apply to RDS Custom DB instances. + """ + domain_iam_role_name: str | None = ... + """ + The name of the IAM role to use when making API calls to the Directory + Service. + + This setting doesn't apply to the following DB instances: + + - Amazon Aurora (The domain is managed by the DB cluster.) + + - RDS Custom + """ + promotion_tier: int | None = ... + """ + The order of priority in which an Aurora Replica is promoted to the + primary instance after a failure of the existing primary instance. For + more information, see [Fault Tolerance for an Aurora DB + Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance) + in the *Amazon Aurora User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + + Default: `1` + + Valid Values: `0 - 15` + """ + timezone: str | None = ... + """ + The time zone of the DB instance. The time zone parameter is currently + supported only by [RDS for + Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone) + and [RDS for SQL + Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone). + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + For more information, see [IAM Database Authentication for MySQL and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to the following DB instances: + + - Amazon Aurora (Mapping Amazon Web Services IAM accounts to database + accounts is managed by the DB cluster.) + + - RDS Custom + """ + database_insights_mode: str | None = ... + """ + The mode of Database Insights to enable for the DB instance. + + Note: + Aurora DB instances inherit this value from the DB cluster, so you + can't change this value. + """ + enable_performance_insights: bool | None = ... + """ + Specifies whether to enable Performance Insights for the DB instance. + For more information, see [Using Amazon Performance + Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + """ + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + If you don't specify a value for `PerformanceInsightsKMSKeyId`, then + Amazon RDS uses your default KMS key. There is a default KMS key for + your Amazon Web Services account. Your Amazon Web Services account has a + different default KMS key for each Amazon Web Services Region. + + This setting doesn't apply to RDS Custom DB instances. + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. + + This setting doesn't apply to RDS Custom DB instances. + + Valid Values: + + - `7` + + - *month* * 31, where *month* is a number of months from 1-23. + Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 + months * 31) + + - `731` + + Default: `7` days + + If you specify a retention period that isn't valid, such as `94`, + Amazon RDS returns an error. + """ + enable_cloudwatch_logs_exports: list[str] | None = ... + """ + The list of log types to enable for exporting to CloudWatch Logs. For + more information, see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to the following DB instances: + + - Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.) + + - RDS Custom + + The following values are valid for each DB engine: + + - RDS for Db2 - `diag.log | notify.log | iam-db-auth-error` + + - RDS for MariaDB - + `audit | error | general | slowquery | iam-db-auth-error` + + - RDS for Microsoft SQL Server - `agent | error` + + - RDS for MySQL - + `audit | error | general | slowquery | iam-db-auth-error` + + - RDS for Oracle - `alert | audit | listener | trace | oemagent` + + - RDS for PostgreSQL - `postgresql | upgrade | iam-db-auth-error` + """ + processor_features: list[ProcessorFeature] | None = ... + """ + The number of CPU cores and the number of threads per core for the DB + instance class of the DB instance. + + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + """ + deletion_protection: bool | None = ... + """ + Specifies whether the DB instance has deletion protection enabled. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. For more information, see + [Deleting a DB + Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + + This setting doesn't apply to Amazon Aurora DB instances. You can + enable or disable deletion protection for the DB cluster. For more + information, see `CreateDBCluster`. DB instances in a DB cluster can be + deleted even when deletion protection is enabled for the DB cluster. + """ + max_allocated_storage: int | None = ... + """ + The upper limit in gibibytes (GiB) to which Amazon RDS can automatically + scale the storage of the DB instance. + + For more information about this setting, including limitations that + apply to it, see [Managing capacity automatically with Amazon RDS + storage + autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to the following DB instances: + + - Amazon Aurora (Storage is managed by the DB cluster.) + + - RDS Custom + """ + enable_customer_owned_ip: bool | None = ... + """ + Specifies whether to enable a customer-owned IP address (CoIP) for an + RDS on Outposts DB instance. + + A *CoIP* provides local or external connectivity to resources in your + Outpost subnets through your on-premises network. For some use cases, a + CoIP can provide lower latency for connections to the DB instance from + outside of its virtual private cloud (VPC) on your local network. + + For more information about RDS on Outposts, see [Working with Amazon RDS + on Amazon Web Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide*. + + For more information about CoIPs, see [Customer-owned IP + addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the *Amazon Web Services Outposts User Guide*. + """ + network_type: str | None = ... + """ + The network type of the DB instance. + + The network type is determined by the `DBSubnetGroup` specified for the + DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon RDS User Guide.* + + Valid Values: `IPV4 | DUAL` + """ + backup_target: str | None = ... + """ + The location for storing automated backups and manual snapshots. + + Valid Values: + + - `local` (Dedicated Local Zone) + + - `outposts` (Amazon Web Services Outposts) + + - `region` (Amazon Web Services Region) + + Default: `region` + + For more information, see [Working with Amazon RDS on Amazon Web + Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide*. + """ + custom_iam_instance_profile: str | None = ... + """ + The instance profile associated with the underlying Amazon EC2 instance + of an RDS Custom DB instance. + + This setting is required for RDS Custom. + + Constraints: + + - The profile must exist in your account. + + - The profile must have an IAM role that Amazon EC2 has permissions to + assume. + + - The instance profile name and the associated IAM role name must start + with the prefix `AWSRDSCustom`. + + For the list of permissions required for the IAM role, see [Configure + IAM and your + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) + in the *Amazon RDS User Guide*. + """ + db_system_id: str | None = ... + """ + The Oracle system identifier (SID), which is the name of the Oracle + database instance that manages your database files. In this context, the + term \"Oracle database instance\" refers exclusively to the system + global area (SGA) and Oracle background processes. If you don't specify + a SID, the value defaults to `RDSCDB`. The Oracle SID is also the name + of your CDB. + """ + ca_certificate_identifier: str | None = ... + """ + The CA certificate identifier to use for the DB instance's server + certificate. + + This setting doesn't apply to RDS Custom DB instances. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide.* + + Constraints: + + - Can't manage the master user password with Amazon Web Services + Secrets Manager if `MasterUserPassword` is specified. + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB instance. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + If you don't specify `MasterUserSecretKmsKeyId`, then the + `aws/secretsmanager` KMS key is used to encrypt the secret. If the + secret is in a different Amazon Web Services account, then you can't + use the `aws/secretsmanager` KMS key to encrypt the secret, and you must + use a customer managed KMS key. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + """ + multi_tenant: bool | None = ... + """ + Specifies whether to use the multi-tenant configuration or the + single-tenant configuration (default). This parameter only applies to + RDS for Oracle container database (CDB) engines. + + Note the following restrictions: + + - The DB engine that you specify in the request must support the + multi-tenant configuration. If you attempt to enable the multi-tenant + configuration on a DB engine that doesn't support it, the request + fails. + + - If you specify the multi-tenant configuration when you create your DB + instance, you can't later modify this DB instance to use the + single-tenant configuration. + """ + dedicated_log_volume: bool | None = ... + """ + Indicates whether the DB instance has a dedicated log volume (DLV) + enabled. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB instance. + + Note: + By default, this value is set to `open-source-rds-extended-support`, + which enrolls your DB instance into Amazon RDS Extended Support. At the + end of standard support, you can avoid charges for Extended Support by + setting the value to `open-source-rds-extended-support-disabled`. In + this case, creating the DB instance will fail if the DB major version is + past its end of standard support date. + + This setting applies only to RDS for MySQL and RDS for PostgreSQL. For + Amazon Aurora DB instances, the engine lifecycle support is managed by + the DB cluster. + + You can use this setting to enroll your DB instance into Amazon RDS + Extended Support. With RDS Extended Support, you can run the selected + major engine version on your DB instance past the end of standard + support for that engine version. For more information, see [Amazon RDS + Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide*. + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + Default: `open-source-rds-extended-support` + """ + additional_storage_volumes: list[AdditionalStorageVolume] | None = ... + """ + A list of additional storage volumes to create for the DB instance. You + can create up to three additional storage volumes using the names + `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage volumes + are supported for RDS for Oracle and RDS for SQL Server DB instances + only. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB instance. + + Valid Values: + + - `auto-backup` - The DB instance's automated backup. + """ + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation to associate + with this DB instance. You can specify the identifier, which has the + prefix `dbcr-`, or the reservation name. When you specify this + parameter, the DB instance uses reserved capacity from the specified + reservation. + + If you specify `AvailabilityZone`, Amazon RDS places the DB instance in + that Availability Zone, and the reservation must cover it. + + Constraints: + + - The reservation must reserve capacity for the DB instance class and + the database engine of the DB instance. + + - If the reservation reserves capacity for a specific license model, the + license model of the DB instance must match it. + + - The reservation must be in the `active` state, and it must not be past + its end date. + + - If you specify `AvailabilityZone`, it must be one of the Availability + Zones of the reservation. + + - For a Multi-AZ DB instance, the reservation must cover two or more + Availability Zones. A Multi-AZ DB instance uses one unit of reserved + capacity in each of two Availability Zones. If the reservation covers + more than two Availability Zones, Amazon RDS chooses the two that the + DB instance uses. + + - The reservation must have available capacity in each Availability Zone + that the DB instance uses. + + - The DB subnet group must be in a VPC with default tenancy. + + - The DB subnet group must cover each Availability Zone that the DB + instance uses. + """ + master_user_authentication_type: str | None = ... + """ + Specifies the authentication type for the master user. With IAM master + user authentication, you can configure the master DB user with IAM + database authentication when you create a DB instance. + + You can specify one of the following values: + + - `password` - Use standard database authentication with a password. + + - `iam-db-auth` - Use IAM database authentication for the master user. + + This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL + engines. + """ + +@dataclass(kw_only=True) +class CreateDBInstanceOutput(_SerdeShape): + """Dataclass for CreateDBInstanceOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBInstanceReadReplicaInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The DB instance identifier of the read replica. This identifier is the + unique key that identifies a DB instance. This parameter is stored as a + lowercase string. + """ + source_db_instance_identifier: str | None = ... + """ + The identifier of the DB instance that will act as the source for the + read replica. Each DB instance can have up to 15 read replicas, except + for the following engines: + + - Db2 - Can have up to three replicas. + + - Oracle - Can have up to five read replicas. + + - SQL Server - Can have up to five read replicas. + + Constraints: + + - Must be the identifier of an existing Db2, MariaDB, MySQL, Oracle, + PostgreSQL, or SQL Server DB instance. + + - Can't be specified if the `SourceDBClusterIdentifier` parameter is + also specified. + + - For the limitations of Oracle read replicas, see [Version and + licensing considerations for RDS for Oracle + replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.limitations.html#oracle-read-replicas.limitations.versions-and-licenses) + in the *Amazon RDS User Guide*. + + - For the limitations of SQL Server read replicas, see [Read replica + limitations with SQL + Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.html#SQLServer.ReadReplicas.Limitations) + in the *Amazon RDS User Guide*. + + - The specified DB instance must have automatic backups enabled, that + is, its backup retention period must be greater than 0. + + - If the source DB instance is in the same Amazon Web Services Region as + the read replica, specify a valid DB instance identifier. + + - If the source DB instance is in a different Amazon Web Services Region + from the read replica, specify a valid DB instance ARN. For more + information, see [Constructing an ARN for Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) + in the *Amazon RDS User Guide*. This doesn't apply to SQL Server or + RDS Custom, which don't support cross-Region replicas. + """ + db_instance_class: str | None = ... + """ + The compute and memory capacity of the read replica, for example + db.m4.large. Not all DB instance classes are available in all Amazon Web + Services Regions, or for all database engines. For the full list of DB + instance classes, and availability for your engine, see [DB Instance + Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide*. + + Default: Inherits the value from the source DB instance. + """ + availability_zone: str | None = ... + """ + The Availability Zone (AZ) where the read replica will be created. + + Default: A random, system-chosen Availability Zone in the endpoint's + Amazon Web Services Region. + + Example: `us-east-1d` + """ + port: int | None = ... + """ + The port number that the DB instance uses for connections. + + Valid Values: `1150-65535` + + Default: Inherits the value from the source DB instance. + """ + multi_az: bool | None = ... + """ + Specifies whether the read replica is in a Multi-AZ deployment. + + You can create a read replica as a Multi-AZ DB instance. RDS creates a + standby of your replica in another Availability Zone for failover + support for the replica. Creating your read replica as a Multi-AZ DB + instance is independent of whether the source is a Multi-AZ DB instance + or a Multi-AZ DB cluster. + + This setting doesn't apply to RDS Custom DB instances. + """ + auto_minor_version_upgrade: bool | None = ... + """ + Specifies whether to automatically apply minor engine upgrades to the + read replica during the maintenance window. + + This setting doesn't apply to RDS Custom DB instances. + + Default: Inherits the value from the source DB instance. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + iops: int | None = ... + """ + The amount of Provisioned IOPS (input/output operations per second) to + initially allocate for the DB instance. + """ + storage_throughput: int | None = ... + """ + Specifies the storage throughput value for the read replica. + + This setting doesn't apply to RDS Custom or Amazon Aurora DB instances. + """ + option_group_name: str | None = ... + """ + The option group to associate the DB instance with. If not specified, + RDS uses the option group associated with the source DB instance or + cluster. + + Note: + For SQL Server, you must use the option group associated with the + source. + + This setting doesn't apply to RDS Custom DB instances. + """ + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group to associate with this read replica + DB instance. + + For the Db2 DB engine, if your source DB instance uses the bring your + own license (BYOL) model, then a custom parameter group must be + associated with the replica. For a same Amazon Web Services Region + replica, if you don't specify a custom parameter group, Amazon RDS + associates the custom parameter group associated with the source DB + instance. For a cross-Region replica, you must specify a custom + parameter group. This custom parameter group must include your IBM Site + ID and IBM Customer ID. For more information, see [IBM IDs for bring + your own license (BYOL) for + Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html#db2-prereqs-ibm-info). + + For Single-AZ or Multi-AZ DB instance read replica instances, if you + don't specify a value for `DBParameterGroupName`, then Amazon RDS uses + the `DBParameterGroup` of the source DB instance for a same Region read + replica, or the default `DBParameterGroup` for the specified DB engine + for a cross-Region read replica. + + For Multi-AZ DB cluster same Region read replica instances, if you + don't specify a value for `DBParameterGroupName`, then Amazon RDS uses + the default `DBParameterGroup`. + + Specifying a parameter group for this operation is only supported for + MySQL DB instances for cross-Region read replicas, for Multi-AZ DB + cluster read replica instances, for Db2 DB instances, and for Oracle DB + instances. It isn't supported for MySQL DB instances for same Region + read replicas or for RDS Custom. + + Constraints: + + - Must be 1 to 255 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB instance is publicly accessible. + + When the DB cluster is publicly accessible, its Domain Name System (DNS) + endpoint resolves to the private IP address from within the DB + cluster's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB cluster's VPC. Access to the DB cluster + is ultimately controlled by the security group it uses. That public + access isn't permitted if the security group assigned to the DB cluster + doesn't permit it. + + When the DB instance isn't publicly accessible, it is an internal DB + instance with a DNS name that resolves to a private IP address. + + For more information, see CreateDBInstance. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + db_subnet_group_name: str | None = ... + """ + A DB subnet group for the DB instance. The new DB instance is created in + the VPC associated with the DB subnet group. If no DB subnet group is + specified, then the new DB instance isn't created in a VPC. + + Constraints: + + - If supplied, must match the name of an existing DB subnet group. + + - The specified DB subnet group must be in the same Amazon Web Services + Region in which the operation is running. + + - All read replicas in one Amazon Web Services Region that are created + from the same source DB instance must either: + + - Specify DB subnet groups from the same VPC. All these read replicas + are created in the same VPC. + + - Not specify a DB subnet group. All these read replicas are created + outside of any VPC. + + Example: `mydbsubnetgroup` + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of Amazon EC2 VPC security groups to associate with the read + replica. + + This setting doesn't apply to RDS Custom DB instances. + + Default: The default EC2 VPC security group for the DB subnet group's + VPC. + """ + storage_type: str | None = ... + """ + The storage type to associate with the read replica. + + If you specify `io1`, `io2`, or `gp3`, you must also include a value for + the `Iops` parameter. + + Valid Values: `gp2 | gp3 | io1 | io2 | standard` + + Default: `io1` if the `Iops` parameter is specified. Otherwise, `gp3`. + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the read replica to snapshots of + the read replica. By default, tags aren't copied. + """ + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the read replica. To disable collection of + Enhanced Monitoring metrics, specify `0`. The default is `0`. + + If `MonitoringRoleArn` is specified, then you must set + `MonitoringInterval` to a value other than `0`. + + This setting doesn't apply to RDS Custom DB instances. + + Valid Values: `0, 1, 5, 10, 15, 30, 60` + + Default: `0` + """ + monitoring_role_arn: str | None = ... + """ + The ARN for the IAM role that permits RDS to send enhanced monitoring + metrics to Amazon CloudWatch Logs. For example, + `arn:aws:iam:123456789012:role/emaccess`. For information on creating a + monitoring role, go to [To create an IAM role for Amazon RDS Enhanced + Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole) + in the *Amazon RDS User Guide*. + + If `MonitoringInterval` is set to a value other than 0, then you must + supply a `MonitoringRoleArn` value. + + This setting doesn't apply to RDS Custom DB instances. + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted read + replica. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + For a read replica in the same Amazon Web Services Region as the source + DB instance or Multi-AZ DB cluster, specifying this parameter is + optional. If you specify a KMS key identifier, the read replica is + encrypted with that KMS key, which can be different from the KMS key of + the source. + + If you don't specify a value for this parameter, the read replica is + encrypted with the same KMS key as the source DB instance or Multi-AZ DB + cluster. + + If you create an encrypted read replica in a different Amazon Web + Services Region, then you must specify a KMS key identifier for the + destination Amazon Web Services Region. KMS keys are specific to the + Amazon Web Services Region that they are created in, and you can't use + KMS keys from one Amazon Web Services Region in another Amazon Web + Services Region. + + You can't create an encrypted read replica from an unencrypted DB + instance or Multi-AZ DB cluster. + + This setting doesn't apply to RDS Custom, which uses the same KMS key + as the primary replica. + """ + pre_signed_url: str | None = ... + """ + When you are creating a read replica from one Amazon Web Services + GovCloud (US) Region to another or from one China Amazon Web Services + Region to another, the URL that contains a Signature Version 4 signed + request for the `CreateDBInstanceReadReplica` API operation in the + source Amazon Web Services Region that contains the source DB instance. + + This setting applies only to Amazon Web Services GovCloud (US) Regions + and China Amazon Web Services Regions. It's ignored in other Amazon Web + Services Regions. + + This setting applies only when replicating from a source DB *instance*. + Source DB clusters aren't supported in Amazon Web Services GovCloud + (US) Regions and China Amazon Web Services Regions. + + You must specify this parameter when you create an encrypted read + replica from another Amazon Web Services Region by using the Amazon RDS + API. Don't specify `PreSignedUrl` when you are creating an encrypted + read replica in the same Amazon Web Services Region. + + The presigned URL must be a valid request for the + `CreateDBInstanceReadReplica` API operation that can run in the source + Amazon Web Services Region that contains the encrypted source DB + instance. The presigned URL request must contain the following parameter + values: + + - `DestinationRegion` - The Amazon Web Services Region that the + encrypted read replica is created in. This Amazon Web Services Region + is the same one where the `CreateDBInstanceReadReplica` operation is + called that contains this presigned URL. + + For example, if you create an encrypted DB instance in the us-west-1 + Amazon Web Services Region, from a source DB instance in the us-east-2 + Amazon Web Services Region, then you call the + `CreateDBInstanceReadReplica` operation in the us-east-1 Amazon Web + Services Region and provide a presigned URL that contains a call to + the `CreateDBInstanceReadReplica` operation in the us-west-2 Amazon + Web Services Region. For this example, the `DestinationRegion` in the + presigned URL must be set to the us-east-1 Amazon Web Services Region. + + - `KmsKeyId` - The KMS key identifier for the key to use to encrypt the + read replica in the destination Amazon Web Services Region. This is + the same identifier for both the `CreateDBInstanceReadReplica` + operation that is called in the destination Amazon Web Services + Region, and the operation contained in the presigned URL. + + - `SourceDBInstanceIdentifier` - The DB instance identifier for the + encrypted DB instance to be replicated. This identifier must be in the + Amazon Resource Name (ARN) format for the source Amazon Web Services + Region. For example, if you are creating an encrypted read replica + from a DB instance in the us-west-2 Amazon Web Services Region, then + your `SourceDBInstanceIdentifier` looks like the following example: + `arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115`. + + To learn how to generate a Signature Version 4 signed request, see + [Authenticating Requests: Using Query Parameters (Amazon Web Services + Signature Version + 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + and [Signature Version 4 Signing + Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). + + Note: + If you are using an Amazon Web Services SDK tool or the CLI, you can + specify `SourceRegion` (or `--source-region` for the CLI) instead of + specifying `PreSignedUrl` manually. Specifying `SourceRegion` + autogenerates a presigned URL that is a valid request for the operation + that can run in the source Amazon Web Services Region. + + This setting doesn't apply to RDS Custom DB instances. + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + For more information about IAM database authentication, see [IAM + Database Authentication for MySQL and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + """ + database_insights_mode: str | None = ... + """ + The mode of Database Insights to enable for the read replica. + + Note: + This setting isn't supported. + """ + enable_performance_insights: bool | None = ... + """ + Specifies whether to enable Performance Insights for the read replica. + + For more information, see [Using Amazon Performance + Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + """ + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + If you do not specify a value for `PerformanceInsightsKMSKeyId`, then + Amazon RDS uses your default KMS key. There is a default KMS key for + your Amazon Web Services account. Your Amazon Web Services account has a + different default KMS key for each Amazon Web Services Region. + + This setting doesn't apply to RDS Custom DB instances. + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. + + This setting doesn't apply to RDS Custom DB instances. + + Valid Values: + + - `7` + + - *month* * 31, where *month* is a number of months from 1-23. + Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 + months * 31) + + - `731` + + Default: `7` days + + If you specify a retention period that isn't valid, such as `94`, + Amazon RDS returns an error. + """ + enable_cloudwatch_logs_exports: list[str] | None = ... + """ + The list of logs that the new DB instance is to export to CloudWatch + Logs. The values in the list depend on the DB engine being used. For + more information, see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + """ + processor_features: list[ProcessorFeature] | None = ... + """ + The number of CPU cores and the number of threads per core for the DB + instance class of the DB instance. + + This setting doesn't apply to RDS Custom DB instances. + """ + use_default_processor_features: bool | None = ... + """ + Specifies whether the DB instance class of the DB instance uses its + default processor features. + + This setting doesn't apply to RDS Custom DB instances. + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the DB instance. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. For more information, see + [Deleting a DB + Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + """ + domain: str | None = ... + """ + The Active Directory directory ID to create the DB instance in. + Currently, only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB + instances can be created in an Active Directory Domain. + + For more information, see [Kerberos + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + """ + domain_iam_role_name: str | None = ... + """ + The name of the IAM role to use when making API calls to the Directory + Service. + + This setting doesn't apply to RDS Custom DB instances. + """ + domain_fqdn: str | None = ... + """ + The fully qualified domain name (FQDN) of an Active Directory domain. + + Constraints: + + - Can't be longer than 64 characters. + + Example: `mymanagedADtest.mymanagedAD.mydomain` + """ + domain_ou: str | None = ... + """ + The Active Directory organizational unit for your DB instance to join. + + Constraints: + + - Must be in the distinguished name format. + + - Can't be longer than 64 characters. + + Example: + `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` + """ + domain_auth_secret_arn: str | None = ... + """ + The ARN for the Secrets Manager secret with the credentials for the user + joining the domain. + + Example: + `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` + """ + domain_dns_ips: list[str] | None = ... + """ + The IPv4 DNS IP addresses of your primary and secondary Active Directory + domain controllers. + + Constraints: + + - Two IP addresses must be provided. If there isn't a secondary domain + controller, use the IP address of the primary domain controller for + both entries in the list. + + Example: `123.124.125.126,234.235.236.237` + """ + replica_mode: str | None = ... + """ + The open mode of the replica database. + + This parameter is only supported for Db2 DB instances and Oracle DB + instances. + + Db2 + + : Standby DB replicas are included in Db2 Advanced Edition (AE), Db2 + Community Edition (CE), and Db2 Standard Edition (SE). The main use + case for standby replicas is cross-Region disaster recovery. Because + it doesn't accept user connections, a standby replica can't serve a + read-only workload. + + You can create a combination of standby and read-only DB replicas for + the same primary DB instance. For more information, see [Working with + replicas for Amazon RDS for + Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html) + in the *Amazon RDS User Guide*. + + To create standby DB replicas for RDS for Db2, set this parameter to + `mounted`. + + Oracle + + : Mounted DB replicas are included in Oracle Database Enterprise + Edition. The main use case for mounted replicas is cross-Region + disaster recovery. The primary database doesn't use Active Data Guard + to transmit information to the mounted replica. Because it doesn't + accept user connections, a mounted replica can't serve a read-only + workload. + + You can create a combination of mounted and read-only DB replicas for + the same primary DB instance. For more information, see [Working with + read replicas for Amazon RDS for + Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) + in the *Amazon RDS User Guide*. + + For RDS Custom, you must specify this parameter and set it to + `mounted`. The value won't be set by default. After replica creation, + you can manage the open mode manually. + """ + enable_customer_owned_ip: bool | None = ... + """ + Specifies whether to enable a customer-owned IP address (CoIP) for an + RDS on Outposts read replica. + + A *CoIP* provides local or external connectivity to resources in your + Outpost subnets through your on-premises network. For some use cases, a + CoIP can provide lower latency for connections to the read replica from + outside of its virtual private cloud (VPC) on your local network. + + For more information about RDS on Outposts, see [Working with Amazon RDS + on Amazon Web Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide*. + + For more information about CoIPs, see [Customer-owned IP + addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the *Amazon Web Services Outposts User Guide*. + """ + network_type: str | None = ... + """ + The network type of the DB instance. + + Valid Values: + + - `IPV4` + + - `DUAL` + + The network type is determined by the `DBSubnetGroup` specified for read + replica. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon RDS User Guide.* + """ + max_allocated_storage: int | None = ... + """ + The upper limit in gibibytes (GiB) to which Amazon RDS can automatically + scale the storage of the DB instance. + + For more information about this setting, including limitations that + apply to it, see [Managing capacity automatically with Amazon RDS + storage + autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) + in the *Amazon RDS User Guide*. + """ + backup_target: str | None = ... + """ + The location where RDS stores automated backups and manual snapshots. + + Valid Values: + + - `local` for Dedicated Local Zones + + - `region` for Amazon Web Services Region + """ + custom_iam_instance_profile: str | None = ... + """ + The instance profile associated with the underlying Amazon EC2 instance + of an RDS Custom DB instance. The instance profile must meet the + following requirements: + + - The profile must exist in your account. + + - The profile must have an IAM role that Amazon EC2 has permissions to + assume. + + - The instance profile name and the associated IAM role name must start + with the prefix `AWSRDSCustom`. + + For the list of permissions required for the IAM role, see [Configure + IAM and your + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) + in the *Amazon RDS User Guide*. + + This setting is required for RDS Custom DB instances. + """ + allocated_storage: int | None = ... + """ + The amount of storage (in gibibytes) to allocate initially for the read + replica. Follow the allocation rules specified in `CreateDBInstance`. + + This setting isn't valid for RDS for SQL Server. + + Note: + Be sure to allocate enough storage for your read replica so that the + create operation can succeed. You can also allocate additional storage + for future growth. + """ + source_db_cluster_identifier: str | None = ... + """ + The identifier of the Multi-AZ DB cluster that will act as the source + for the read replica. Each DB cluster can have up to 15 read replicas. + + Constraints: + + - Must be the identifier of an existing Multi-AZ DB cluster. + + - Can't be specified if the `SourceDBInstanceIdentifier` parameter is + also specified. + + - The specified DB cluster must have automatic backups enabled, that is, + its backup retention period must be greater than 0. + + - The source DB cluster must be in the same Amazon Web Services Region + as the read replica. Cross-Region replication isn't supported. + """ + dedicated_log_volume: bool | None = ... + """ + Indicates whether the DB instance has a dedicated log volume (DLV) + enabled. + """ + upgrade_storage_config: bool | None = ... + """ + Whether to upgrade the storage file system configuration on the read + replica. This option migrates the read replica from the old storage file + system layout to the preferred layout. + """ + ca_certificate_identifier: str | None = ... + """ + The CA certificate identifier to use for the read replica's server + certificate. + + This setting doesn't apply to RDS Custom DB instances. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + additional_storage_volumes: list[AdditionalStorageVolume] | None = ... + """ + A list of additional storage volumes to create for the DB instance. You + can create up to three additional storage volumes using the names + `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage volumes + are supported for RDS for Oracle and RDS for SQL Server DB instances + only. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB instance. + + Valid Values: + + - `auto-backup` - The DB instance's automated backup. + """ + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation to associate + with this read replica. You can specify the identifier, which has the + prefix `dbcr-`, or the reservation name. When you specify this + parameter, the read replica uses reserved capacity from the specified + reservation. A read replica uses one unit of reserved capacity, in the + same way as any other DB instance. + + If you specify `AvailabilityZone`, Amazon RDS places the DB instance in + that Availability Zone, and the reservation must cover it. + + Constraints: + + - The reservation must reserve capacity for the DB instance class and + the database engine of the DB instance. + + - If the reservation reserves capacity for a specific license model, the + license model of the source DB instance must match it. A read replica + inherits its license model from the source DB instance. + + - The reservation must be in the `active` state, and it must not be past + its end date. + + - If you specify `AvailabilityZone`, it must be one of the Availability + Zones of the reservation. + + - For a Multi-AZ DB instance, the reservation must cover two or more + Availability Zones. A Multi-AZ DB instance uses one unit of reserved + capacity in each of two Availability Zones. If the reservation covers + more than two Availability Zones, Amazon RDS chooses the two that the + DB instance uses. + + - The reservation must have available capacity in each Availability Zone + that the DB instance uses. + + - The DB subnet group must be in a VPC with default tenancy. + + - The DB subnet group must cover each Availability Zone that the DB + instance uses. + """ + +@dataclass(kw_only=True) +class CreateDBInstanceReadReplicaOutput(_SerdeShape): + """Dataclass for CreateDBInstanceReadReplicaOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBParameterGroupInput(_SerdeShape): + """""" + + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group. + + Constraints: + + - Must be 1 to 255 letters, numbers, or hyphens. + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Note: + This value is stored as a lowercase string. + """ + db_parameter_group_family: str | None = ... + """ + The DB parameter group family name. A DB parameter group can be + associated with one and only one DB parameter group family, and can be + applied only to a DB instance running a database engine and engine + version compatible with that DB parameter group family. + + To list all of the available parameter group families for a DB engine, + use the following command: + + `aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine ` + + For example, to list all of the available parameter group families for + the MySQL DB engine, use the following command: + + `aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql` + + Note: + The output contains duplicates. + + The following are the valid DB engine values: + + - `aurora-mysql` + + - `aurora-postgresql` + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + """ + description: str | None = ... + """The description for the DB parameter group.""" + tags: list[Tag] | None = ... + """Tags to assign to the DB parameter group.""" + +@dataclass(kw_only=True) +class CreateDBParameterGroupOutput(_SerdeShape): + """Dataclass for CreateDBParameterGroupOutput structure.""" + + db_parameter_group: DBParameterGroup | None = ... + """ + Contains the details of an Amazon RDS DB parameter group. + + This data type is used as a response element in the + `DescribeDBParameterGroups` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBProxyEndpointInput(_SerdeShape): + """Dataclass for CreateDBProxyEndpointInput structure.""" + + db_proxy_name: str | None = ... + """ + The name of the DB proxy associated with the DB proxy endpoint that you + create. + """ + db_proxy_endpoint_name: str | None = ... + """The name of the DB proxy endpoint to create.""" + vpc_subnet_ids: list[str] | None = ... + """ + The VPC subnet IDs for the DB proxy endpoint that you create. You can + specify a different set of subnet IDs than for the original DB proxy. + """ + vpc_security_group_ids: list[str] | None = ... + """ + The VPC security group IDs for the DB proxy endpoint that you create. + You can specify a different set of security group IDs than for the + original DB proxy. The default is the default security group for the + VPC. + """ + target_role: str | None = ... + """ + The role of the DB proxy endpoint. The role determines whether the + endpoint can be used for read/write or only read operations. The default + is `READ_WRITE`. The only role that proxies for RDS for Microsoft SQL + Server support is `READ_WRITE`. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + endpoint_network_type: str | None = ... + """ + The network type of the DB proxy endpoint. The network type determines + the IP version that the proxy endpoint supports. + + Valid values: + + - `IPV4` - The proxy endpoint supports IPv4 only. + + - `IPV6` - The proxy endpoint supports IPv6 only. + + - `DUAL` - The proxy endpoint supports both IPv4 and IPv6. + + Default: `IPV4` + + Constraints: + + - If you specify `IPV6` or `DUAL`, the VPC and all subnets must have an + IPv6 CIDR block. + + - If you specify `IPV6` or `DUAL`, the VPC tenancy cannot be + `dedicated`. + """ + +@dataclass(kw_only=True) +class CreateDBProxyEndpointOutput(_SerdeShape): + """Dataclass for CreateDBProxyEndpointOutput structure.""" + + db_proxy_endpoint: DBProxyEndpoint | None = ... + """ + The `DBProxyEndpoint` object that is created by the API operation. The + DB proxy endpoint that you create might provide capabilities such as + read/write or read-only operations, or using a different VPC than the + proxy's default VPC. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBProxyInput(_SerdeShape): + """Dataclass for CreateDBProxyInput structure.""" + + db_proxy_name: str | None = ... + """ + The identifier for the proxy. This name must be unique for all proxies + owned by your Amazon Web Services account in the specified Amazon Web + Services Region. An identifier must begin with a letter and must contain + only ASCII letters, digits, and hyphens; it can't end with a hyphen or + contain two consecutive hyphens. + """ + engine_family: str | None = ... + """ + The kinds of databases that the proxy can connect to. This value + determines which database network protocol the proxy recognizes when it + interprets network traffic to and from the database. For Aurora MySQL, + RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`. For + Aurora PostgreSQL and RDS for PostgreSQL databases, specify + `POSTGRESQL`. For RDS for Microsoft SQL Server, specify `SQLSERVER`. + """ + default_auth_scheme: str | None = ... + """ + The default authentication scheme that the proxy uses for client + connections to the proxy and connections from the proxy to the + underlying database. Valid values are `NONE` and `IAM_AUTH`. When set to + `IAM_AUTH`, the proxy uses end-to-end IAM authentication to connect to + the database. If you don't specify `DefaultAuthScheme` or specify this + parameter as `NONE`, you must specify the `Auth` option. + """ + auth: list[UserAuthConfig] | None = ... + """The authorization mechanism that the proxy uses.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that the proxy uses to + access secrets in Amazon Web Services Secrets Manager. + """ + vpc_subnet_ids: list[str] | None = ... + """One or more VPC subnet IDs to associate with the new proxy.""" + vpc_security_group_ids: list[str] | None = ... + """One or more VPC security group IDs to associate with the new proxy.""" + require_tls: bool | None = ... + """ + Specifies whether Transport Layer Security (TLS) encryption is required + for connections to the proxy. By enabling this setting, you can enforce + encrypted TLS connections to the proxy. + """ + idle_client_timeout: int | None = ... + """ + The number of seconds that a connection to the proxy can be inactive + before the proxy disconnects it. You can set this value higher or lower + than the connection timeout limit for the associated database. + """ + debug_logging: bool | None = ... + """ + Specifies whether the proxy logs detailed connection and query + information. When you enable `DebugLogging`, the proxy captures + connection details and connection pool behavior from your queries. Debug + logging increases CloudWatch costs and can impact proxy performance. + Enable this option only when you need to troubleshoot connection or + performance issues. + """ + tags: list[Tag] | None = ... + """ + An optional set of key-value pairs to associate arbitrary data of your + choosing with the proxy. + """ + endpoint_network_type: str | None = ... + """ + The network type of the DB proxy endpoint. The network type determines + the IP version that the proxy endpoint supports. + + Valid values: + + - `IPV4` - The proxy endpoint supports IPv4 only. + + - `IPV6` - The proxy endpoint supports IPv6 only. + + - `DUAL` - The proxy endpoint supports both IPv4 and IPv6. + + Default: `IPV4` + + Constraints: + + - If you specify `IPV6` or `DUAL`, the VPC and all subnets must have an + IPv6 CIDR block. + + - If you specify `IPV6` or `DUAL`, the VPC tenancy cannot be + `dedicated`. + """ + target_connection_network_type: str | None = ... + """ + The network type that the proxy uses to connect to the target database. + The network type determines the IP version that the proxy uses for + connections to the database. + + Valid values: + + - `IPV4` - The proxy connects to the database using IPv4 only. + + - `IPV6` - The proxy connects to the database using IPv6 only. + + Default: `IPV4` + + Constraints: + + - If you specify `IPV6`, the database must support dual-stack mode. RDS + doesn't support IPv6-only databases. + + - All targets registered with the proxy must be compatible with the + specified network type. + """ + +@dataclass(kw_only=True) +class CreateDBProxyOutput(_SerdeShape): + """Dataclass for CreateDBProxyOutput structure.""" + + db_proxy: DBProxy | None = ... + """The `DBProxy` structure corresponding to the new proxy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBSecurityGroupInput(_SerdeShape): + """""" + + db_security_group_name: str | None = ... + """ + The name for the DB security group. This value is stored as a lowercase + string. + + Constraints: + + - Must be 1 to 255 letters, numbers, or hyphens. + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + - Must not be \"Default\" + + Example: `mysecuritygroup` + """ + db_security_group_description: str | None = ... + """The description for the DB security group.""" + tags: list[Tag] | None = ... + """Tags to assign to the DB security group.""" + +@dataclass(kw_only=True) +class CreateDBSecurityGroupOutput(_SerdeShape): + """Dataclass for CreateDBSecurityGroupOutput structure.""" + + db_security_group: DBSecurityGroup | None = ... + """ + Contains the details for an Amazon RDS DB security group. + + This data type is used as a response element in the + `DescribeDBSecurityGroups` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBShardGroupInput(_SerdeShape): + """Dataclass for CreateDBShardGroupInput structure.""" + + db_shard_group_identifier: str | None = ... + """The name of the DB shard group.""" + db_cluster_identifier: str | None = ... + """The name of the primary DB cluster for the DB shard group.""" + compute_redundancy: int | None = ... + """ + Specifies whether to create standby standby DB data access shard for the + DB shard group. Valid values are the following: + + - 0 - Creates a DB shard group without a standby DB data access shard. + This is the default value. + + - 1 - Creates a DB shard group with a standby DB data access shard in a + different Availability Zone (AZ). + + - 2 - Creates a DB shard group with two standby DB data access shard in + two different AZs. + """ + max_acu: float | None = ... + """ + The maximum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + min_acu: float | None = ... + """ + The minimum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB shard group is publicly accessible. + + When the DB shard group is publicly accessible, its Domain Name System + (DNS) endpoint resolves to the private IP address from within the DB + shard group's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB shard group's VPC. Access to the DB + shard group is ultimately controlled by the security group it uses. That + public access is not permitted if the security group assigned to the DB + shard group doesn't permit it. + + When the DB shard group isn't publicly accessible, it is an internal DB + shard group with a DNS name that resolves to a private IP address. + + Default: The default behavior varies depending on whether + `DBSubnetGroupName` is specified. + + If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible` isn't + specified, the following applies: + + - If the default VPC in the target Region doesn't have an internet + gateway attached to it, the DB shard group is private. + + - If the default VPC in the target Region has an internet gateway + attached to it, the DB shard group is public. + + If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't + specified, the following applies: + + - If the subnets are part of a VPC that doesn't have an internet gateway + attached to it, the DB shard group is private. + + - If the subnets are part of a VPC that has an internet gateway attached + to it, the DB shard group is public. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class CreateDBShardGroupOutput(_SerdeShape): + """Contains the details for an Amazon RDS DB shard group.""" + + db_shard_group_resource_id: str | None = ... + """ + The Amazon Web Services Region-unique, immutable identifier for the DB + shard group. + """ + db_shard_group_identifier: str | None = ... + """The name of the DB shard group.""" + db_cluster_identifier: str | None = ... + """The name of the primary DB cluster for the DB shard group.""" + max_acu: float | None = ... + """ + The maximum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + min_acu: float | None = ... + """ + The minimum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + compute_redundancy: int | None = ... + """ + Specifies whether to create standby DB shard groups for the DB shard + group. Valid values are the following: + + - 0 - Creates a DB shard group without a standby DB shard group. This is + the default value. + + - 1 - Creates a DB shard group with a standby DB shard group in a + different Availability Zone (AZ). + + - 2 - Creates a DB shard group with two standby DB shard groups in two + different AZs. + """ + status: str | None = ... + """The status of the DB shard group.""" + publicly_accessible: bool | None = ... + """ + Indicates whether the DB shard group is publicly accessible. + + When the DB shard group is publicly accessible, its Domain Name System + (DNS) endpoint resolves to the private IP address from within the DB + shard group's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB shard group's VPC. Access to the DB + shard group is ultimately controlled by the security group it uses. That + public access isn't permitted if the security group assigned to the DB + shard group doesn't permit it. + + When the DB shard group isn't publicly accessible, it is an internal DB + shard group with a DNS name that resolves to a private IP address. + + For more information, see CreateDBShardGroup. + + This setting is only for Aurora Limitless Database. + """ + endpoint: str | None = ... + """The connection endpoint for the DB shard group.""" + db_shard_group_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB shard group.""" + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBSnapshotInput(_SerdeShape): + """""" + + db_snapshot_identifier: str | None = ... + """ + The identifier for the DB snapshot. + + Constraints: + + - Can't be null, empty, or blank + + - Must contain from 1 to 255 letters, numbers, or hyphens + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Example: `my-snapshot-id` + """ + db_instance_identifier: str | None = ... + """ + The identifier of the DB instance that you want to create the snapshot + of. + + Constraints: + + - Must match the identifier of an existing DBInstance. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class CreateDBSnapshotOutput(_SerdeShape): + """Dataclass for CreateDBSnapshotOutput structure.""" + + db_snapshot: DBSnapshot | None = ... + """ + Contains the details of an Amazon RDS DB snapshot. + + This data type is used as a response element in the + `DescribeDBSnapshots` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateDBSubnetGroupInput(_SerdeShape): + """""" + + db_subnet_group_name: str | None = ... + """ + The name for the DB subnet group. This value is stored as a lowercase + string. + + Constraints: + + - Must contain no more than 255 letters, numbers, periods, underscores, + spaces, or hyphens. + + - Must not be default. + + - First character must be a letter. + + Example: `mydbsubnetgroup` + """ + db_subnet_group_description: str | None = ... + """The description for the DB subnet group.""" + subnet_ids: list[str] | None = ... + """The EC2 Subnet IDs for the DB subnet group.""" + tags: list[Tag] | None = ... + """Tags to assign to the DB subnet group.""" + +@dataclass(kw_only=True) +class CreateDBSubnetGroupOutput(_SerdeShape): + """Dataclass for CreateDBSubnetGroupOutput structure.""" + + db_subnet_group: DBSubnetGroup | None = ... + """ + Contains the details of an Amazon RDS DB subnet group. + + This data type is used as a response element in the + `DescribeDBSubnetGroups` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateEventSubscriptionInput(_SerdeShape): + """""" + + subscription_name: str | None = ... + """ + The name of the subscription. + + Constraints: The name must be less than 255 characters. + """ + sns_topic_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the SNS topic created for event + notification. SNS automatically creates the ARN when you create a topic + and subscribe to it. + + Note: + RDS doesn't support FIFO (first in, first out) topics. For more + information, see [Message ordering and deduplication (FIFO + topics)](https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html) + in the *Amazon Simple Notification Service Developer Guide*. + """ + source_type: str | None = ... + """ + The type of source that is generating the events. For example, if you + want to be notified of events generated by a DB instance, you set this + parameter to `db-instance`. For RDS Proxy events, specify `db-proxy`. If + this value isn't specified, all events are returned. + + Valid + Values:` db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy | zero-etl | custom-engine-version | blue-green-deployment ` + """ + event_categories: list[str] | None = ... + """ + A list of event categories for a particular source type (`SourceType`) + that you want to subscribe to. You can see a list of the categories for + a given source type in the \"Amazon RDS event categories and event + messages\" section of the [*Amazon RDS User + Guide*](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html) + or the [*Amazon Aurora User + Guide*](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html) + . You can also see this list by using the `DescribeEventCategories` + operation. + """ + source_ids: list[str] | None = ... + """ + The list of identifiers of the event sources for which events are + returned. If not specified, then all sources are included in the + response. An identifier must begin with a letter and must contain only + ASCII letters, digits, and hyphens. It can't end with a hyphen or + contain two consecutive hyphens. + + Constraints: + + - If `SourceIds` are supplied, `SourceType` must also be provided. + + - If the source type is a DB instance, a `DBInstanceIdentifier` value + must be supplied. + + - If the source type is a DB cluster, a `DBClusterIdentifier` value must + be supplied. + + - If the source type is a DB parameter group, a `DBParameterGroupName` + value must be supplied. + + - If the source type is a DB security group, a `DBSecurityGroupName` + value must be supplied. + + - If the source type is a DB snapshot, a `DBSnapshotIdentifier` value + must be supplied. + + - If the source type is a DB cluster snapshot, a + `DBClusterSnapshotIdentifier` value must be supplied. + + - If the source type is an RDS Proxy, a `DBProxyName` value must be + supplied. + """ + enabled: bool | None = ... + """ + Specifies whether to activate the subscription. If the event + notification subscription isn't activated, the subscription is created + but not active. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class CreateEventSubscriptionOutput(_SerdeShape): + """Dataclass for CreateEventSubscriptionOutput structure.""" + + event_subscription: EventSubscription | None = ... + """ + Contains the results of a successful invocation of the + `DescribeEventSubscriptions` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateGlobalClusterInput(_SerdeShape): + """Dataclass for CreateGlobalClusterInput structure.""" + + global_cluster_identifier: str | None = ... + """ + The cluster identifier for this global database cluster. This parameter + is stored as a lowercase string. + """ + source_db_cluster_identifier: str | None = ... + """ + The Amazon Resource Name (ARN) to use as the primary cluster of the + global database. + + If you provide a value for this parameter, don't specify values for the + following settings because Amazon Aurora uses the values from the + specified source DB cluster: + + - `DatabaseName` + + - `Engine` + + - `EngineVersion` + + - `StorageEncrypted` + """ + engine: str | None = ... + """ + The database engine to use for this global database cluster. + + Valid Values: `aurora-mysql | aurora-postgresql` + + Constraints: + + - Can't be specified if `SourceDBClusterIdentifier` is specified. In + this case, Amazon Aurora uses the engine of the source DB cluster. + """ + engine_version: str | None = ... + """ + The engine version to use for this global database cluster. + + Constraints: + + - Can't be specified if `SourceDBClusterIdentifier` is specified. In + this case, Amazon Aurora uses the engine version of the source DB + cluster. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this global database cluster. + + Note: + By default, this value is set to `open-source-rds-extended-support`, + which enrolls your global cluster into Amazon RDS Extended Support. At + the end of standard support, you can avoid charges for Extended Support + by setting the value to `open-source-rds-extended-support-disabled`. In + this case, creating the global cluster will fail if the DB major version + is past its end of standard support date. + + This setting only applies to Aurora PostgreSQL-based global databases. + + You can use this setting to enroll your global cluster into Amazon RDS + Extended Support. With RDS Extended Support, you can run the selected + major engine version on your global cluster past the end of standard + support for that engine version. For more information, see [Amazon RDS + Extended Support with Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) + in the *Amazon Aurora User Guide*. + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + Default: `open-source-rds-extended-support` + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the new global + database cluster. The global database can't be deleted when deletion + protection is enabled. + """ + database_name: str | None = ... + """ + The name for your database of up to 64 alphanumeric characters. If you + don't specify a name, Amazon Aurora doesn't create a database in the + global database cluster. + + Constraints: + + - Can't be specified if `SourceDBClusterIdentifier` is specified. In + this case, Amazon Aurora uses the database name from the source DB + cluster. + """ + storage_encrypted: bool | None = ... + """ + Specifies whether to enable storage encryption for the new global + database cluster. + + Constraints: + + - Can't be specified if `SourceDBClusterIdentifier` is specified. In + this case, Amazon Aurora uses the setting from the source DB cluster. + """ + tags: list[Tag] | None = ... + """Tags to assign to the global cluster.""" + +@dataclass(kw_only=True) +class CreateGlobalClusterOutput(_SerdeShape): + """Dataclass for CreateGlobalClusterOutput structure.""" + + global_cluster: GlobalCluster | None = ... + """A data type representing an Aurora global database.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateIntegrationInput(_SerdeShape): + """Dataclass for CreateIntegrationInput structure.""" + + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the database to use as the source for + replication. + """ + target_arn: str | None = ... + """ + The ARN of the Redshift data warehouse to use as the target for + replication. + """ + integration_name: str | None = ... + """The name of the integration.""" + kms_key_id: str | None = ... + """ + The Amazon Web Services Key Management System (Amazon Web Services KMS) + key identifier for the key to use to encrypt the integration. If you + don't specify an encryption key, RDS uses a default Amazon Web Services + owned key. + """ + additional_encryption_context: dict[str, str] | None = ... + """ + An optional set of non-secret key--value pairs that contains additional + contextual information about the data. For more information, see + [Encryption + context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) + in the *Amazon Web Services Key Management Service Developer Guide*. + + You can only include this parameter if you specify the `KMSKeyId` + parameter. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + data_filter: str | None = ... + """ + Data filtering options for the integration. For more information, see + [Data filtering for Aurora zero-ETL integrations with Amazon + Redshift](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/zero-etl.filtering.html) + or [Data filtering for Amazon RDS zero-ETL integrations with Amazon + Redshift](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/zero-etl.filtering.html). + """ + description: str | None = ... + """A description of the integration.""" + +@dataclass(kw_only=True) +class CreateIntegrationOutput(_SerdeShape): + """A zero-ETL integration with Amazon Redshift.""" + + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the database used as the source for + replication. + """ + target_arn: str | None = ... + """ + The ARN of the Redshift data warehouse used as the target for + replication. + """ + integration_name: str | None = ... + """The name of the integration.""" + integration_arn: str | None = ... + """The ARN of the integration.""" + kms_key_id: str | None = ... + """ + The Amazon Web Services Key Management System (Amazon Web Services KMS) + key identifier for the key used to to encrypt the integration. + """ + additional_encryption_context: dict[str, str] | None = ... + """ + The encryption context for the integration. For more information, see + [Encryption + context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) + in the *Amazon Web Services Key Management Service Developer Guide*. + """ + status: str | None = ... + """The current status of the integration.""" + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + data_filter: str | None = ... + """ + Data filters for the integration. These filters determine which tables + from the source database are sent to the target Amazon Redshift data + warehouse. + """ + description: str | None = ... + """A description of the integration.""" + create_time: datetime | None = ... + """ + The time when the integration was created, in Universal Coordinated Time + (UTC). + """ + errors: list[IntegrationError] | None = ... + """Any errors associated with the integration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateOptionGroupInput(_SerdeShape): + """""" + + option_group_name: str | None = ... + """ + Specifies the name of the option group to be created. + + Constraints: + + - Must be 1 to 255 letters, numbers, or hyphens + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Example: `myoptiongroup` + """ + engine_name: str | None = ... + """ + The name of the engine to associate this option group with. + + Valid Values: + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + """ + major_engine_version: str | None = ... + """ + Specifies the major version of the engine that this option group should + be associated with. + """ + option_group_description: str | None = ... + """The description of the option group.""" + tags: list[Tag] | None = ... + """Tags to assign to the option group.""" + +@dataclass(kw_only=True) +class CreateOptionGroupOutput(_SerdeShape): + """Dataclass for CreateOptionGroupOutput structure.""" + + option_group: OptionGroup | None = ... + """""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateTenantDatabaseInput(_SerdeShape): + """Dataclass for CreateTenantDatabaseInput structure.""" + + db_instance_identifier: str | None = ... + """ + The user-supplied DB instance identifier. RDS creates your tenant + database in this DB instance. This parameter isn't case-sensitive. + """ + tenant_db_name: str | None = ... + """ + The user-supplied name of the tenant database that you want to create in + your DB instance. This parameter has the same constraints as `DBName` in + `CreateDBInstance`. + """ + master_username: str | None = ... + """ + The name for the master user account in your tenant database. RDS + creates this user account in the tenant database and grants privileges + to the master user. This parameter is case-sensitive. + + Constraints: + + - Must be 1 to 16 letters, numbers, or underscores. + + - First character must be a letter. + + - Can't be a reserved word for the chosen database engine. + """ + master_user_password: str | None = ... + """ + The password for the master user in your tenant database. + + Constraints: + + - Must be 8 to 30 characters. + + - Can include any printable ASCII character except forward slash (`/`), + double quote (`"`), at symbol (`@`), ampersand (`&`), or single quote + (`'`). + + - Can't be specified when `ManageMasterUserPassword` is enabled. + """ + character_set_name: str | None = ... + """ + The character set for your tenant database. If you don't specify a + value, the character set name defaults to `AL32UTF8`. + """ + nchar_character_set_name: str | None = ... + """The `NCHAR` value for the tenant database.""" + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide.* + + Constraints: + + - Can't manage the master user password with Amazon Web Services + Secrets Manager if `MasterUserPassword` is specified. + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB instance. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + If you don't specify `MasterUserSecretKmsKeyId`, then the + `aws/secretsmanager` KMS key is used to encrypt the secret. If the + secret is in a different Amazon Web Services account, then you can't + use the `aws/secretsmanager` KMS key to encrypt the secret, and you must + use a customer managed KMS key. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class CreateTenantDatabaseOutput(_SerdeShape): + """Dataclass for CreateTenantDatabaseOutput structure.""" + + tenant_database: TenantDatabase | None = ... + """ + A tenant database in the DB instance. This data type is an element in + the response to the `DescribeTenantDatabases` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CustomAvailabilityZoneNotFoundFault(ServiceError, _SerdeShape): + """ + `CustomAvailabilityZoneId` doesn't refer to an existing custom + Availability Zone identifier. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CustomDBEngineVersionAlreadyExistsFault(ServiceError, _SerdeShape): + """A CEV with the specified name already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CustomDBEngineVersionAMI(_SerdeShape): + """A value that indicates the AMI information.""" + + image_id: str | None = ... + """A value that indicates the ID of the AMI.""" + status: str | None = ... + """A value that indicates the status of a custom engine version (CEV).""" + +@dataclass(kw_only=True) +class CustomDBEngineVersionNotFoundFault(ServiceError, _SerdeShape): + """The specified CEV was not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CustomDBEngineVersionQuotaExceededFault(ServiceError, _SerdeShape): + """You have exceeded your CEV quota.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CustomEngineVersionStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + INACTIVE = "inactive" + INACTIVE_EXCEPT_RESTORE = "inactive-except-restore" + +class DatabaseInsightsMode(UnknownEnumMixin, StrEnum): + STANDARD = "standard" + ADVANCED = "advanced" + +@dataclass(kw_only=True) +class DBCapacityReservation(_SerdeShape): + """ + Contains the details of a DB capacity reservation. + + This data type is used as a response element in the following + operations: + + - `CancelDBCapacityReservation` + + - `CreateDBCapacityReservation` + + - `DescribeDBCapacityReservations` + + - `ModifyDBCapacityReservation` + """ + + db_capacity_reservation_name: str | None = ... + """The name that you specified for the DB capacity reservation.""" + db_instance_class: str | None = ... + """ + The DB instance class for the reserved capacity. You specify this value + when you create the reservation, and you can't change it afterward. + """ + engine: str | None = ... + """ + The database engine for the reserved capacity. You specify this value + when you create the reservation, and you can't change it afterward. + """ + license_model: str | None = ... + """ + The license model for the reserved capacity. Amazon RDS returns this + value only for a reservation that reserves capacity for a specific + license model. Amazon RDS doesn't return this value for a reservation + whose database engine doesn't support a license model. + + A DB instance launches into the reservation only when the license model + of the DB instance matches this value. For a reservation that holds no + license model, Amazon RDS applies no license model check at launch. + + Valid Values: + + - RDS for Microsoft SQL Server Enterprise Edition and Standard Edition - + `license-included | bring-your-own-media` + + - RDS for Microsoft SQL Server Developer Edition - + `bring-your-own-license` + + - RDS for Oracle - `bring-your-own-license | license-included` + + - RDS for Db2 Standard Edition and Advanced Edition - + `bring-your-own-license | marketplace-license` + + For RDS for Db2 Standard Edition and Advanced Edition, a reservation + created without a license model holds `bring-your-own-license`. + """ + reserved_capacity_per_availability_zone: int | None = ... + """ + The number of DB instances that Amazon RDS reserves in each Availability + Zone of the reservation. This value matches the + `CapacityPerAvailabilityZone` parameter of the request. The total + reserved capacity is this value multiplied by the number of Availability + Zones of the reservation. + """ + available_capacity_per_availability_zone_list: ( + list[AvailableCapacityPerAvailabilityZone] | None + ) = ... + """ + The unused capacity of the reservation, reported for each Availability + Zone of the reservation. Each entry names one Availability Zone, and it + reports the number of DB instances that remain available in that + Availability Zone. + + Amazon RDS reports available capacity only for a reservation that is in + the `active` state and not past its end date. Otherwise, each entry + reports an available capacity of `0`. A future-dated reservation that + hasn't started reports `0`, and a reservation that Amazon RDS is + modifying reports `0`. + + A reservation reports the `pending` state while Amazon RDS modifies it. + Therefore, a reservation in the `active` state that reports no available + capacity has no unused capacity. + """ + end_date: datetime | None = ... + """ + The date and time when the reservation expires, in Universal Coordinated + Time (UTC). Amazon RDS doesn't return this value if the reservation + doesn't expire. + + Warning: + A DB instance that uses the reservation keeps running after the + reservation expires. It continues on unreserved capacity, and Amazon RDS + doesn't stop it or modify it. However, Amazon RDS no longer reserves + capacity for the DB instance. Amazon RDS might later move the DB + instance to different hardware, for example during hardware maintenance. + That move can fail when the Amazon Web Services Region has insufficient + capacity for the DB instance class. + """ + create_date: datetime | None = ... + """ + The date and time when the reservation was created, in Universal + Coordinated Time (UTC). + """ + start_date: datetime | None = ... + """ + The date and time when a future-dated reservation starts, in Universal + Coordinated Time (UTC). Amazon RDS doesn't return this value for a + reservation that started immediately. + """ + commitment_info: DBCapacityReservationCommitmentInfo | None = ... + """ + The capacity commitment of the reservation. Amazon RDS returns this + object only for a future-dated reservation. + """ + state: str | None = ... + """ + The current state of the DB capacity reservation. A DB instance can use + the reservation in the `active` state only. + + Valid Values: + + - `active` - Amazon RDS holds the reserved capacity, and a DB instance + can use it. + + - `pending` - The reservation isn't ready to use yet. Amazon RDS is + creating the reserved capacity, or it is applying a requested + modification. + + - `assessing` - Amazon RDS is evaluating the request for a future-dated + reservation. + + - `scheduled` - Amazon RDS accepted a future-dated reservation, and the + reservation is waiting for its start date. + + - `delayed` - Amazon RDS couldn't provide the reserved capacity of a + future-dated reservation by its start date. + + - `unsupported` - Amazon RDS can't fulfill the future-dated reservation + as requested. + + - `expired` - The reservation passed its end date. Amazon RDS releases + the reserved capacity. + + - `cancelled` - You cancelled the reservation, and Amazon RDS released + the reserved capacity. + + - `failed` - Amazon RDS couldn't reserve the capacity. + + The values `assessing`, `scheduled`, `delayed`, and `unsupported` apply + to a future-dated reservation only. + """ + db_capacity_reservation_arn: str | None = ... + """The Amazon Resource Name (ARN) of the DB capacity reservation.""" + db_capacity_reservation_identifier: str | None = ... + """ + The unique identifier of the DB capacity reservation. The identifier has + the prefix `dbcr-`. Every other DB capacity reservation operation takes + this identifier. + """ + tag_list: list[Tag] | None = ... + """The tags associated with the DB capacity reservation.""" + +@dataclass(kw_only=True) +class DBCapacityReservationAlreadyExistsFault(ServiceError, _SerdeShape): + """ + You already have a DB capacity reservation with the given name. Choose a + different name for the new reservation, or use the existing reservation. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBCapacityReservationCommitmentInfo(_SerdeShape): + """ + Contains the capacity commitment details of a DB capacity reservation, + including the number of committed DB instances in each Availability Zone + and the end date of the commitment period. Amazon RDS holds the + committed capacity until the commitment ends. Amazon RDS rejects a + request to cancel a reservation in the `active` state, and a request to + reduce the reserved capacity below the commitment. + + This data type is used as a response element in the following + operations: + + - `CancelDBCapacityReservation` + + - `CreateDBCapacityReservation` + + - `DescribeDBCapacityReservations` + + - `ModifyDBCapacityReservation` + """ + + committed_capacity_per_availability_zone: int | None = ... + """ + The number of DB instances that Amazon RDS holds in each Availability + Zone of the reservation for the length of the commitment. + """ + commitment_end_date: datetime | None = ... + """ + The date and time when the commitment ends, in Universal Coordinated + Time (UTC). This date reports the capacity commitment that Amazon RDS + granted. + + Amazon RDS can grant a shorter capacity commitment than you request in + `CommitmentDuration`. Therefore, this date can fall earlier than + `StartDate` plus `CommitmentDuration`. + """ + +@dataclass(kw_only=True) +class DBCapacityReservationNotFoundFault(ServiceError, _SerdeShape): + """ + `DBCapacityReservationIdentifier` doesn't refer to an existing DB + capacity reservation. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DBCapacityReservationState(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + EXPIRED = "expired" + CANCELLED = "cancelled" + PENDING = "pending" + FAILED = "failed" + ASSESSING = "assessing" + SCHEDULED = "scheduled" + DELAYED = "delayed" + UNSUPPORTED = "unsupported" + +@dataclass(kw_only=True) +class DBCapacityReservationUnsupportedFault(ServiceError, _SerdeShape): + """ + The specified configuration isn't supported for DB capacity + reservations. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBCluster(_SerdeShape): + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + + allocated_storage: int | None = ... + """ + `AllocatedStorage` specifies the allocated storage size in gibibytes + (GiB). For Aurora, `AllocatedStorage` can vary because Aurora DB cluster + storage size adjusts as needed. + """ + availability_zones: list[str] | None = ... + """ + The list of Availability Zones (AZs) where instances in the DB cluster + can be created. + """ + backup_retention_period: int | None = ... + """The number of days for which automatic DB snapshots are retained.""" + character_set_name: str | None = ... + """ + If present, specifies the name of the character set that this cluster is + associated with. + """ + database_name: str | None = ... + """ + The name of the initial database that was specified for the DB cluster + when it was created, if one was provided. This same name is returned for + the life of the DB cluster. + """ + db_cluster_identifier: str | None = ... + """ + The user-supplied identifier for the DB cluster. This identifier is the + unique key that identifies a DB cluster. + """ + db_cluster_parameter_group: str | None = ... + """The name of the DB cluster parameter group for the DB cluster.""" + db_subnet_group: str | None = ... + """ + Information about the subnet group associated with the DB cluster, + including the name, description, and subnets in the subnet group. + """ + status: str | None = ... + """The current state of this DB cluster.""" + percent_progress: str | None = ... + """The progress of the operation as a percentage.""" + earliest_restorable_time: datetime | None = ... + """ + The earliest time to which a database can be restored with point-in-time + restore. + """ + endpoint: str | None = ... + """The connection endpoint for the primary instance of the DB cluster.""" + reader_endpoint: str | None = ... + """ + The reader endpoint for the DB cluster. The reader endpoint for a DB + cluster load-balances connections across the Aurora Replicas that are + available in a DB cluster. As clients request new connections to the + reader endpoint, Aurora distributes the connection requests among the + Aurora Replicas in the DB cluster. This functionality can help balance + your read workload across multiple Aurora Replicas in your DB cluster. + + If a failover occurs, and the Aurora Replica that you are connected to + is promoted to be the primary instance, your connection is dropped. To + continue sending your read workload to other Aurora Replicas in the + cluster, you can then reconnect to the reader endpoint. + """ + custom_endpoints: list[str] | None = ... + """The custom endpoints associated with the DB cluster.""" + multi_az: bool | None = ... + """ + Indicates whether the DB cluster has instances in multiple Availability + Zones. + """ + engine: str | None = ... + """The database engine used for this DB cluster.""" + engine_version: str | None = ... + """The version of the database engine.""" + latest_restorable_time: datetime | None = ... + """ + The latest time to which a database can be restored with point-in-time + restore. + """ + port: int | None = ... + """The port that the database engine is listening on.""" + master_username: str | None = ... + """The master username for the DB cluster.""" + db_cluster_option_group_memberships: list[DBClusterOptionGroupStatus] | None = ... + """The list of option group memberships for this DB cluster.""" + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, as determined by the + `BackupRetentionPeriod`. + """ + preferred_maintenance_window: str | None = ... + """ + The weekly time range during which system maintenance can occur, in + Universal Coordinated Time (UTC). + """ + upgrade_rollout_order: str | None = ... + """ + This data type represents the order in which the clusters are upgraded. + + - [first] - Typically used for development or testing environments. + + - [second] - Default order for resources not specifically configured. + + - [last] - Usually reserved for production environments. + """ + replication_source_identifier: str | None = ... + """ + The identifier of the source DB cluster if this DB cluster is a read + replica. + """ + read_replica_identifiers: list[str] | None = ... + """ + Contains one or more identifiers of the read replicas associated with + this DB cluster. + """ + status_infos: list[DBClusterStatusInfo] | None = ... + """Reserved for future use.""" + db_cluster_members: list[DBClusterMember] | None = ... + """The list of DB instances that make up the DB cluster.""" + vpc_security_groups: list[VpcSecurityGroupMembership] | None = ... + """The list of VPC security groups that the DB cluster belongs to.""" + hosted_zone_id: str | None = ... + """The ID that Amazon Route 53 assigns when you create a hosted zone.""" + storage_encrypted: bool | None = ... + """ + Specifies whether the DB cluster is encrypted with an Amazon Web + Services managed key or a customer managed key. + + If the DB cluster is encrypted with an Amazon Web Services owned key, + this value is `false` and `StorageEncryptionType` is `sse-rds`. In that + case, the data at rest is still encrypted. To determine how the data at + rest is protected, use `StorageEncryptionType`. + """ + storage_encryption_type: str | None = ... + """ + The type of encryption used to protect data at rest in the DB cluster. + Possible values: + + - `none` - The DB cluster is not encrypted. + + - `sse-rds` - The DB cluster is encrypted using an Amazon Web Services + owned KMS key. + + - `sse-kms` - The DB cluster is encrypted using a customer managed KMS + key or Amazon Web Services managed KMS key. + """ + kms_key_id: str | None = ... + """ + If `StorageEncrypted` is enabled, the Amazon Web Services KMS key + identifier for the encrypted DB cluster. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + """ + db_cluster_resource_id: str | None = ... + """ + The Amazon Web Services Region-unique, immutable identifier for the DB + cluster. This identifier is found in Amazon Web Services CloudTrail log + entries whenever the KMS key for the DB cluster is accessed. + """ + db_cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB cluster.""" + associated_roles: list[DBClusterRole] | None = ... + """ + A list of the Amazon Web Services Identity and Access Management (IAM) + roles that are associated with the DB cluster. IAM roles that are + associated with a DB cluster grant permission for the DB cluster to + access other Amazon Web Services on your behalf. + """ + iam_database_authentication_enabled: bool | None = ... + """ + Indicates whether the mapping of Amazon Web Services Identity and Access + Management (IAM) accounts to database accounts is enabled. + """ + clone_group_id: str | None = ... + """ + The ID of the clone group with which the DB cluster is associated. For + newly created clusters, the ID is typically null. + + If you clone a DB cluster when the ID is null, the operation populates + the ID value for the source cluster and the clone because both clusters + become part of the same clone group. Even if you delete the clone + cluster, the clone group ID remains for the lifetime of the source + cluster to show that it was used in a cloning operation. + + For PITR, the clone group ID is inherited from the source cluster. For + snapshot restore operations, the clone group ID isn't inherited from + the source cluster. + """ + cluster_create_time: datetime | None = ... + """ + The time when the DB cluster was created, in Universal Coordinated Time + (UTC). + """ + earliest_backtrack_time: datetime | None = ... + """The earliest time to which a DB cluster can be backtracked.""" + backtrack_window: int | None = ... + """ + The target backtrack window, in seconds. If this value is set to `0`, + backtracking is disabled for the DB cluster. Otherwise, backtracking is + enabled. + """ + backtrack_consumed_change_records: int | None = ... + """The number of change records stored for Backtrack.""" + enabled_cloudwatch_logs_exports: list[str] | None = ... + """ + A list of log types that this DB cluster is configured to export to + CloudWatch Logs. + + Log types vary by DB engine. For information about the log types for + each DB engine, see [Amazon RDS Database Log + Files](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html) + in the *Amazon Aurora User Guide.* + """ + capacity: int | None = ... + """ + The current capacity of an Aurora Serverless v1 DB cluster. The capacity + is `0` (zero) when the cluster is paused. + + For more information about Aurora Serverless v1, see [Using Amazon + Aurora Serverless + v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) + in the *Amazon Aurora User Guide*. + """ + pending_modified_values: ClusterPendingModifiedValues | None = ... + """ + Information about pending changes to the DB cluster. This information is + returned only when there are pending changes. Specific changes are + identified by subelements. + """ + engine_mode: str | None = ... + """ + The DB engine mode of the DB cluster, either `provisioned` or + `serverless`. + + For more information, see + [CreateDBCluster](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html). + """ + scaling_configuration_info: ScalingConfigurationInfo | None = ... + """ + The scaling configuration for an Aurora DB cluster in `serverless` DB + engine mode. + + For more information, see [Using Amazon Aurora Serverless + v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) + in the *Amazon Aurora User Guide*. + """ + rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... + """Reserved for future use.""" + db_cluster_instance_class: str | None = ... + """ + The name of the compute and memory capacity class of the DB instance. + + This setting is only for non-Aurora Multi-AZ DB clusters. + """ + storage_type: str | None = ... + """The storage type associated with the DB cluster.""" + iops: int | None = ... + """ + The Provisioned IOPS (I/O operations per second) value. + + This setting is only for non-Aurora Multi-AZ DB clusters. + """ + storage_throughput: int | None = ... + """ + The storage throughput for the DB cluster. The throughput is + automatically set based on the IOPS that you provision, and is not + configurable. + + This setting is only for non-Aurora Multi-AZ DB clusters. + """ + io_optimized_next_allowed_modification_time: datetime | None = ... + """ + The next time you can modify the DB cluster to use the `aurora-iopt1` + storage type. + + This setting is only for Aurora DB clusters. + """ + publicly_accessible: bool | None = ... + """ + Indicates whether the DB cluster is publicly accessible. + + When the DB cluster is publicly accessible and you connect from outside + of the DB cluster's virtual private cloud (VPC), its Domain Name System + (DNS) endpoint resolves to the public IP address. When you connect from + within the same VPC as the DB cluster, the endpoint resolves to the + private IP address. Access to the DB cluster is ultimately controlled by + the security group it uses. That public access isn't permitted if the + security group assigned to the DB cluster doesn't permit it. + + When the DB cluster isn't publicly accessible, it is an internal DB + cluster with a DNS name that resolves to a private IP address. + + For more information, see CreateDBCluster. + + This setting is only for non-Aurora Multi-AZ DB clusters. + """ + auto_minor_version_upgrade: bool | None = ... + """ + Indicates whether minor version patches are applied automatically. + + This setting is for Aurora DB clusters and Multi-AZ DB clusters. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + deletion_protection: bool | None = ... + """ + Indicates whether the DB cluster has deletion protection enabled. The + database can't be deleted when deletion protection is enabled. + """ + http_endpoint_enabled: bool | None = ... + """ + Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster. + + When enabled, the HTTP endpoint provides a connectionless web service + API (RDS Data API) for running SQL queries on the DB cluster. You can + also query your database from inside the RDS console with the RDS query + editor. + + For more information, see [Using RDS Data + API](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + in the *Amazon Aurora User Guide*. + """ + activity_stream_mode: str | None = ... + """ + The mode of the database activity stream. Database events such as a + change or access generate an activity stream event. The database session + can handle these events either synchronously or asynchronously. + """ + activity_stream_status: str | None = ... + """The status of the database activity stream.""" + activity_stream_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier used for encrypting messages + in the database activity stream. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + """ + activity_stream_kinesis_stream_name: str | None = ... + """ + The name of the Amazon Kinesis data stream used for the database + activity stream. + """ + copy_tags_to_snapshot: bool | None = ... + """ + Indicates whether tags are copied from the DB cluster to snapshots of + the DB cluster. + """ + cross_account_clone: bool | None = ... + """ + Indicates whether the DB cluster is a clone of a DB cluster owned by a + different Amazon Web Services account. + """ + domain_memberships: list[DomainMembership] | None = ... + """ + The Active Directory Domain membership records associated with the DB + cluster. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + global_cluster_identifier: str | None = ... + """ + Contains a user-supplied global database cluster identifier. This + identifier is the unique key that identifies a global database cluster. + """ + global_write_forwarding_status: str | None = ... + """ + The status of write forwarding for a secondary cluster in an Aurora + global database. + """ + global_write_forwarding_requested: bool | None = ... + """ + Indicates whether write forwarding is enabled for a secondary cluster in + an Aurora global database. Because write forwarding takes time to + enable, check the value of `GlobalWriteForwardingStatus` to confirm that + the request has completed before using the write forwarding feature for + this cluster. + """ + network_type: str | None = ... + """ + The network type of the DB instance. + + The network type is determined by the `DBSubnetGroup` specified for the + DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon Aurora User Guide.* + + This setting is only for Aurora DB clusters. + + Valid Values: `IPV4 | DUAL` + """ + automatic_restart_time: datetime | None = ... + """The time when a stopped DB cluster is restarted automatically.""" + serverless_v2_scaling_configuration: ( + ServerlessV2ScalingConfigurationInfo | None + ) = ... + """ + The scaling configuration for an Aurora Serverless v2 DB cluster. + + For more information, see [Using Amazon Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the *Amazon Aurora User Guide*. + """ + serverless_v2_platform_version: str | None = ... + """ + The version of the Aurora Serverless V2 platform used by the DB cluster. + For more information, see [Using Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the *Amazon Aurora User Guide*. + """ + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the DB cluster. + + This setting is only for -Aurora DB clusters and Multi-AZ DB clusters. + """ + monitoring_role_arn: str | None = ... + """ + The ARN for the IAM role that permits RDS to send Enhanced Monitoring + metrics to Amazon CloudWatch Logs. + + This setting is only for Aurora DB clusters and Multi-AZ DB clusters. + """ + database_insights_mode: str | None = ... + """The mode of Database Insights that is enabled for the DB cluster.""" + performance_insights_enabled: bool | None = ... + """ + Indicates whether Performance Insights is enabled for the DB cluster. + + This setting is only for Aurora DB clusters and Multi-AZ DB clusters. + """ + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + This setting is only for Aurora DB clusters and Multi-AZ DB clusters. + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. + + This setting is only for Aurora DB clusters and Multi-AZ DB clusters. + + Valid Values: + + - `7` + + - *month* * 31, where *month* is a number of months from 1-23. + Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 + months * 31) + + - `731` + + Default: `7` days + """ + db_system_id: str | None = ... + """Reserved for future use.""" + master_user_secret: MasterUserSecret | None = ... + """ + The secret managed by RDS in Amazon Web Services Secrets Manager for the + master user password. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide* and [Password management with Amazon Web + Services Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the *Amazon Aurora User Guide.* + """ + local_write_forwarding_status: str | None = ... + """ + Indicates whether an Aurora DB cluster has in-cluster write forwarding + enabled, not enabled, requested, or is in the process of enabling it. + """ + aws_backup_recovery_point_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the recovery point in Amazon Web + Services Backup. + """ + limitless_database: LimitlessDatabase | None = ... + """The details for Aurora Limitless Database.""" + cluster_scalability_type: str | None = ... + """ + The scalability mode of the Aurora DB cluster. When set to `limitless`, + the cluster operates as an Aurora Limitless Database. When set to + `standard` (the default), the cluster uses normal DB instance creation. + """ + certificate_details: CertificateDetails | None = ... + """ + The details of the DB instance's server certificate. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for the DB cluster. + + For more information, see CreateDBCluster. + """ + vpc_networking_enabled: bool | None = ... + """ + Indicates whether the DB cluster uses VPC-based networking. + + This setting is applicable only for Aurora PostgreSQL clusters created + through express configuration. + """ + internet_access_gateway_enabled: bool | None = ... + """ + Indicates whether the DB cluster has internet-based connectivity enabled + through an internet access gateway. + + This setting is applicable only for Aurora PostgreSQL clusters created + through express configuration. + """ + +@dataclass(kw_only=True) +class DBClusterAlreadyExistsFault(ServiceError, _SerdeShape): + """The user already has a DB cluster with the given identifier.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterAssociatedRole(_SerdeShape): + """ + Contains information about an Amazon Web Services Identity and Access + Management (IAM) role to associate with a DB cluster. You can specify + this structure in the `AssociatedRoles` parameter of CreateDBCluster, + RestoreDBClusterFromS3, RestoreDBClusterFromSnapshot, and + RestoreDBClusterToPointInTime. + """ + + role_arn: str + """ + The Amazon Resource Name (ARN) of the IAM role to associate with the DB + cluster. + """ + feature_name: str | None = ... + """ + The name of the feature associated with the IAM role. For information + about supported feature names, see DBEngineVersion. + """ + +@dataclass(kw_only=True) +class DBClusterAutomatedBackup(_SerdeShape): + """ + An automated backup of a DB cluster. It consists of system backups, + transaction logs, and the database cluster properties that existed at + the time you deleted the source cluster. + """ + + engine: str | None = ... + """The name of the database engine for this automated backup.""" + vpc_id: str | None = ... + """The VPC ID associated with the DB cluster.""" + db_cluster_automated_backups_arn: str | None = ... + """The Amazon Resource Name (ARN) for the automated backups.""" + db_cluster_identifier: str | None = ... + """ + The identifier for the source DB cluster, which can't be changed and + which is unique to an Amazon Web Services Region. + """ + restore_window: RestoreWindow | None = ... + """Earliest and latest time an instance can be restored to:""" + master_username: str | None = ... + """The master user name of the automated backup.""" + db_cluster_resource_id: str | None = ... + """ + The resource ID for the source DB cluster, which can't be changed and + which is unique to an Amazon Web Services Region. + """ + region: str | None = ... + """The Amazon Web Services Region associated with the automated backup.""" + license_model: str | None = ... + """The license model information for this DB cluster automated backup.""" + status: str | None = ... + """ + A list of status information for an automated backup: + + - `retained` - Automated backups for deleted clusters. + """ + iam_database_authentication_enabled: bool | None = ... + """ + Indicates whether mapping of Amazon Web Services Identity and Access + Management (IAM) accounts to database accounts is enabled. + """ + cluster_create_time: datetime | None = ... + """ + The time when the DB cluster was created, in Universal Coordinated Time + (UTC). + """ + storage_encrypted: bool | None = ... + """Indicates whether the source DB cluster is encrypted.""" + storage_encryption_type: str | None = ... + """ + The type of encryption used to protect data at rest in the automated + backup. Possible values: + + - `none` - The automated backup is not encrypted. + + - `sse-rds` - The automated backup is encrypted using an Amazon Web + Services owned KMS key. + + - `sse-kms` - The automated backup is encrypted using a customer managed + KMS key or Amazon Web Services managed KMS key. + """ + allocated_storage: int | None = ... + """ + For all database engines except Amazon Aurora, `AllocatedStorage` + specifies the allocated storage size in gibibytes (GiB). For Aurora, + `AllocatedStorage` always returns 1, because Aurora DB cluster storage + size isn't fixed, but instead automatically adjusts as needed. + """ + engine_version: str | None = ... + """The version of the database engine for the automated backup.""" + db_cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) for the source DB cluster.""" + backup_retention_period: int | None = ... + """The retention period for the automated backups.""" + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, as determined by the + `BackupRetentionPeriod`. + """ + engine_mode: str | None = ... + """The engine mode of the database engine for the automated backup.""" + availability_zones: list[str] | None = ... + """ + The Availability Zones where instances in the DB cluster can be created. + For information on Amazon Web Services Regions and Availability Zones, + see [Regions and Availability + Zones](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html). + """ + port: int | None = ... + """ + The port number that the automated backup used for connections. + + Default: Inherits from the source DB cluster + + Valid Values: `1150-65535` + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key ID for an automated backup. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + """ + storage_type: str | None = ... + """ + The storage type associated with the DB cluster. + + This setting is only for non-Aurora Multi-AZ DB clusters. + """ + iops: int | None = ... + """ + The IOPS (I/O operations per second) value for the automated backup. + + This setting is only for non-Aurora Multi-AZ DB clusters. + """ + storage_throughput: int | None = ... + """ + The storage throughput for the automated backup. The throughput is + automatically set based on the IOPS that you provision, and is not + configurable. + + This setting is only for non-Aurora Multi-AZ DB clusters. + """ + aws_backup_recovery_point_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the recovery point in Amazon Web + Services Backup. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class DBClusterAutomatedBackupNotFoundFault(ServiceError, _SerdeShape): + """No automated backup for this DB cluster was found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterAutomatedBackupQuotaExceededFault(ServiceError, _SerdeShape): + """ + The quota for retained automated backups was exceeded. This prevents you + from retaining any additional automated backups. The retained automated + backups quota is the same as your DB cluster quota. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterBacktrack(_SerdeShape): + """ + This data type is used as a response element in the + `DescribeDBClusterBacktracks` action. + """ + + db_cluster_identifier: str | None = ... + """ + Contains a user-supplied DB cluster identifier. This identifier is the + unique key that identifies a DB cluster. + """ + backtrack_identifier: str | None = ... + """Contains the backtrack identifier.""" + backtrack_to: datetime | None = ... + """The timestamp of the time to which the DB cluster was backtracked.""" + backtracked_from: datetime | None = ... + """The timestamp of the time from which the DB cluster was backtracked.""" + backtrack_request_creation_time: datetime | None = ... + """The timestamp of the time at which the backtrack was requested.""" + status: str | None = ... + """ + The status of the backtrack. This property returns one of the following + values: + + - `applying` - The backtrack is currently being applied to or rolled + back from the DB cluster. + + - `completed` - The backtrack has successfully been applied to or rolled + back from the DB cluster. + + - `failed` - An error occurred while the backtrack was applied to or + rolled back from the DB cluster. + + - `pending` - The backtrack is currently pending application to or + rollback from the DB cluster. + """ + +@dataclass(kw_only=True) +class DBClusterBacktrackNotFoundFault(ServiceError, _SerdeShape): + """`BacktrackIdentifier` doesn't refer to an existing backtrack.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterEndpoint(_SerdeShape): + """ + This data type represents the information you need to connect to an + Amazon Aurora DB cluster. This data type is used as a response element + in the following actions: + + - `CreateDBClusterEndpoint` + + - `DescribeDBClusterEndpoints` + + - `ModifyDBClusterEndpoint` + + - `DeleteDBClusterEndpoint` + + For the data structure that represents Amazon RDS DB instance endpoints, + see `Endpoint`. + """ + + db_cluster_endpoint_identifier: str | None = ... + """ + The identifier associated with the endpoint. This parameter is stored as + a lowercase string. + """ + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the DB cluster associated with the + endpoint. This parameter is stored as a lowercase string. + """ + db_cluster_endpoint_resource_identifier: str | None = ... + """ + A unique system-generated identifier for an endpoint. It remains the + same for the whole life of the endpoint. + """ + endpoint: str | None = ... + """The DNS address of the endpoint.""" + status: str | None = ... + """ + The current status of the endpoint. One of: `creating`, `available`, + `deleting`, `inactive`, `modifying`. The `inactive` state applies to an + endpoint that can't be used for a certain kind of cluster, such as a + `writer` endpoint for a read-only secondary cluster in a global + database. + """ + endpoint_type: str | None = ... + """The type of the endpoint. One of: `READER`, `WRITER`, `CUSTOM`.""" + custom_endpoint_type: str | None = ... + """ + The type associated with a custom endpoint. One of: `READER`, `WRITER`, + `ANY`. + """ + static_members: list[str] | None = ... + """ + List of DB instance identifiers that are part of the custom endpoint + group. + """ + excluded_members: list[str] | None = ... + """ + List of DB instance identifiers that aren't part of the custom endpoint + group. All other eligible instances are reachable through the custom + endpoint. Only relevant if the list of static members is empty. + """ + db_cluster_endpoint_arn: str | None = ... + """The Amazon Resource Name (ARN) for the endpoint.""" + +@dataclass(kw_only=True) +class DBClusterEndpointAlreadyExistsFault(ServiceError, _SerdeShape): + """ + The specified custom endpoint can't be created because it already + exists. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterEndpointNotFoundFault(ServiceError, _SerdeShape): + """The specified custom endpoint doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterEndpointQuotaExceededFault(ServiceError, _SerdeShape): + """The cluster already has the maximum number of custom endpoints.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterMember(_SerdeShape): + """Contains information about an instance that is part of a DB cluster.""" + + db_instance_identifier: str | None = ... + """Specifies the instance identifier for this member of the DB cluster.""" + is_cluster_writer: bool | None = ... + """ + Indicates whether the cluster member is the primary DB instance for the + DB cluster. + """ + db_cluster_parameter_group_status: str | None = ... + """ + Specifies the status of the DB cluster parameter group for this member + of the DB cluster. + """ + promotion_tier: int | None = ... + """ + A value that specifies the order in which an Aurora Replica is promoted + to the primary instance after a failure of the existing primary + instance. For more information, see [Fault Tolerance for an Aurora DB + Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class DBClusterNotFoundFault(ServiceError, _SerdeShape): + """`DBClusterIdentifier` doesn't refer to an existing DB cluster.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterOptionGroupStatus(_SerdeShape): + """Contains status information for a DB cluster option group.""" + + db_cluster_option_group_name: str | None = ... + """Specifies the name of the DB cluster option group.""" + status: str | None = ... + """Specifies the status of the DB cluster option group.""" + +@dataclass(kw_only=True) +class DBClusterParameterGroup(_SerdeShape): + """ + Contains the details of an Amazon RDS DB cluster parameter group. + + This data type is used as a response element in the + `DescribeDBClusterParameterGroups` action. + """ + + db_cluster_parameter_group_name: str | None = ... + """The name of the DB cluster parameter group.""" + db_parameter_group_family: str | None = ... + """ + The name of the DB parameter group family that this DB cluster parameter + group is compatible with. + """ + description: str | None = ... + """ + Provides the customer-specified description for this DB cluster + parameter group. + """ + db_cluster_parameter_group_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB cluster parameter group.""" + +@dataclass(kw_only=True) +class DBClusterParameterGroupNotFoundFault(ServiceError, _SerdeShape): + """ + `DBClusterParameterGroupName` doesn't refer to an existing DB cluster + parameter group. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterQuotaExceededFault(ServiceError, _SerdeShape): + """ + The user attempted to create a new DB cluster and the user has already + reached the maximum allowed DB cluster quota. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterRole(_SerdeShape): + """ + Describes an Amazon Web Services Identity and Access Management (IAM) + role that is associated with a DB cluster. + """ + + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that is associated with + the DB cluster. + """ + status: str | None = ... + """ + Describes the state of association between the IAM role and the DB + cluster. The Status property returns one of the following values: + + - `ACTIVE` - the IAM role ARN is associated with the DB cluster and can + be used to access other Amazon Web Services on your behalf. + + - `PENDING` - the IAM role ARN is being associated with the DB cluster. + + - `INVALID` - the IAM role ARN is associated with the DB cluster, but + the DB cluster is unable to assume the IAM role in order to access + other Amazon Web Services on your behalf. + """ + feature_name: str | None = ... + """ + The name of the feature associated with the Amazon Web Services Identity + and Access Management (IAM) role. For information about supported + feature names, see DBEngineVersion. + """ + +@dataclass(kw_only=True) +class DBClusterRoleAlreadyExistsFault(ServiceError, _SerdeShape): + """ + The specified IAM role Amazon Resource Name (ARN) is already associated + with the specified DB cluster. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterRoleNotFoundFault(ServiceError, _SerdeShape): + """ + The specified IAM role Amazon Resource Name (ARN) isn't associated with + the specified DB cluster. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterRoleQuotaExceededFault(ServiceError, _SerdeShape): + """ + You have exceeded the maximum number of IAM roles that can be associated + with the specified DB cluster. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterSnapshot(_SerdeShape): + """ + Contains the details for an Amazon RDS DB cluster snapshot + + This data type is used as a response element in the + `DescribeDBClusterSnapshots` action. + """ + + availability_zones: list[str] | None = ... + """ + The list of Availability Zones (AZs) where instances in the DB cluster + snapshot can be restored. + """ + db_cluster_snapshot_identifier: str | None = ... + """The identifier for the DB cluster snapshot.""" + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the DB cluster that this DB cluster + snapshot was created from. + """ + snapshot_create_time: datetime | None = ... + """ + The time when the snapshot was taken, in Universal Coordinated Time + (UTC). + """ + engine: str | None = ... + """The name of the database engine for this DB cluster snapshot.""" + engine_mode: str | None = ... + """The engine mode of the database engine for this DB cluster snapshot.""" + allocated_storage: int | None = ... + """ + The allocated storage size of the DB cluster snapshot in gibibytes + (GiB). + """ + status: str | None = ... + """ + The status of this DB cluster snapshot. Valid statuses are the + following: + + - `available` + + - `copying` + + - `creating` + """ + port: int | None = ... + """ + The port that the DB cluster was listening on at the time of the + snapshot. + """ + vpc_id: str | None = ... + """The VPC ID associated with the DB cluster snapshot.""" + cluster_create_time: datetime | None = ... + """ + The time when the DB cluster was created, in Universal Coordinated Time + (UTC). + """ + master_username: str | None = ... + """The master username for this DB cluster snapshot.""" + engine_version: str | None = ... + """The version of the database engine for this DB cluster snapshot.""" + license_model: str | None = ... + """The license model information for this DB cluster snapshot.""" + snapshot_type: str | None = ... + """The type of the DB cluster snapshot.""" + percent_progress: int | None = ... + """The percentage of the estimated data that has been transferred.""" + storage_encrypted: bool | None = ... + """ + Specifies whether the DB cluster snapshot is encrypted with an Amazon + Web Services managed key or a customer managed key. + + If the DB cluster snapshot is encrypted with an Amazon Web Services + owned key, this value is `false` and `StorageEncryptionType` is + `sse-rds`. In that case, the data at rest is still encrypted. To + determine how the data at rest is protected, use + `StorageEncryptionType`. + """ + storage_encryption_type: str | None = ... + """ + The type of encryption used to protect data at rest in the DB cluster + snapshot. Possible values: + + - `none` - The DB cluster snapshot is not encrypted. + + - `sse-rds` - The DB cluster snapshot is encrypted using an Amazon Web + Services owned KMS key. + + - `sse-kms` - The DB cluster snapshot is encrypted using a customer + managed KMS key or Amazon Web Services managed KMS key. + """ + backup_retention_period: int | None = ... + """The number of days for which automatic DB snapshots are retained.""" + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, as determined by the + `BackupRetentionPeriod`. + """ + kms_key_id: str | None = ... + """ + If `StorageEncrypted` is true, the Amazon Web Services KMS key + identifier for the encrypted DB cluster snapshot. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + """ + db_cluster_snapshot_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB cluster snapshot.""" + source_db_cluster_snapshot_arn: str | None = ... + """ + If the DB cluster snapshot was copied from a source DB cluster snapshot, + the Amazon Resource Name (ARN) for the source DB cluster snapshot, + otherwise, a null value. + """ + iam_database_authentication_enabled: bool | None = ... + """ + Indicates whether mapping of Amazon Web Services Identity and Access + Management (IAM) accounts to database accounts is enabled. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + storage_type: str | None = ... + """ + The storage type associated with the DB cluster snapshot. + + This setting is only for Aurora DB clusters. + """ + storage_throughput: int | None = ... + """ + The storage throughput for the DB cluster snapshot. The throughput is + automatically set based on the IOPS that you provision, and is not + configurable. + + This setting is only for non-Aurora Multi-AZ DB clusters. + """ + db_cluster_resource_id: str | None = ... + """ + The resource ID of the DB cluster that this DB cluster snapshot was + created from. + """ + db_system_id: str | None = ... + """Reserved for future use.""" + +@dataclass(kw_only=True) +class DBClusterSnapshotAlreadyExistsFault(ServiceError, _SerdeShape): + """The user already has a DB cluster snapshot with the given identifier.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterSnapshotAttribute(_SerdeShape): + """ + Contains the name and values of a manual DB cluster snapshot attribute. + + Manual DB cluster snapshot attributes are used to authorize other Amazon + Web Services accounts to restore a manual DB cluster snapshot. For more + information, see the `ModifyDBClusterSnapshotAttribute` API action. + """ + + attribute_name: str | None = ... + """ + The name of the manual DB cluster snapshot attribute. + + The attribute named `restore` refers to the list of Amazon Web Services + accounts that have permission to copy or restore the manual DB cluster + snapshot. For more information, see the + `ModifyDBClusterSnapshotAttribute` API action. + """ + attribute_values: list[str] | None = ... + """ + The value(s) for the manual DB cluster snapshot attribute. + + If the `AttributeName` field is set to `restore`, then this element + returns a list of IDs of the Amazon Web Services accounts that are + authorized to copy or restore the manual DB cluster snapshot. If a value + of `all` is in the list, then the manual DB cluster snapshot is public + and available for any Amazon Web Services account to copy or restore. + """ + +@dataclass(kw_only=True) +class DBClusterSnapshotAttributesResult(_SerdeShape): + """ + Contains the results of a successful call to the + `DescribeDBClusterSnapshotAttributes` API action. + + Manual DB cluster snapshot attributes are used to authorize other Amazon + Web Services accounts to copy or restore a manual DB cluster snapshot. + For more information, see the `ModifyDBClusterSnapshotAttribute` API + action. + """ + + db_cluster_snapshot_identifier: str | None = ... + """ + The identifier of the manual DB cluster snapshot that the attributes + apply to. + """ + db_cluster_snapshot_attributes: list[DBClusterSnapshotAttribute] | None = ... + """The list of attributes and values for the manual DB cluster snapshot.""" + +@dataclass(kw_only=True) +class DBClusterSnapshotNotFoundFault(ServiceError, _SerdeShape): + """ + `DBClusterSnapshotIdentifier` doesn't refer to an existing DB cluster + snapshot. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBClusterStatusInfo(_SerdeShape): + """Reserved for future use.""" + + status_type: str | None = ... + """Reserved for future use.""" + normal: bool | None = ... + """Reserved for future use.""" + status: str | None = ... + """Reserved for future use.""" + message: str | None = ... + """Reserved for future use.""" + +@dataclass(kw_only=True) +class DBEngineVersion(_SerdeShape): + """ + This data type is used as a response element in the action + `DescribeDBEngineVersions`. + """ + + engine: str | None = ... + """The name of the database engine.""" + major_engine_version: str | None = ... + """The major engine version of the CEV.""" + engine_version: str | None = ... + """The version number of the database engine.""" + database_installation_files_s3_bucket_name: str | None = ... + """ + The name of the Amazon S3 bucket that contains your database + installation files. + """ + database_installation_files_s3_prefix: str | None = ... + """ + The Amazon S3 directory that contains the database installation files. + If not specified, then no prefix is assumed. + """ + database_installation_files: list[str] | None = ... + """ + The database installation files (ISO and EXE) that were uploaded to + Amazon S3 and used to import the database engine version to Amazon RDS. + Returned for RDS for SQL Server engine versions (`sqlserver-ee`, + `sqlserver-se`, and `sqlserver-dev-ee`) created from customer-supplied + installation media. + """ + custom_db_engine_version_manifest: str | None = ... + """ + JSON string that lists the installation files and parameters that RDS + Custom uses to create a custom engine version (CEV). RDS Custom applies + the patches in the order in which they're listed in the manifest. You + can set the Oracle home, Oracle base, and UNIX/Linux user and group + using the installation parameters. For more information, see [JSON + fields in the CEV + manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) + in the *Amazon RDS User Guide*. + """ + db_parameter_group_family: str | None = ... + """The name of the DB parameter group family for the database engine.""" + db_engine_description: str | None = ... + """The description of the database engine.""" + db_engine_version_arn: str | None = ... + """The ARN of the custom engine version.""" + db_engine_version_description: str | None = ... + """The description of the database engine version.""" + default_character_set: CharacterSet | None = ... + """ + The default character set for new instances of this engine version, if + the `CharacterSetName` parameter of the CreateDBInstance API isn't + specified. + """ + failure_reason: str | None = ... + """ + The reason that the custom engine version creation failed with an + `incompatible-installation-media` status. Applicable to RDS for SQL + Server engine versions (`sqlserver-ee`, `sqlserver-se`, and + `sqlserver-dev-ee`). + """ + image: CustomDBEngineVersionAMI | None = ... + """The EC2 image""" + db_engine_media_type: str | None = ... + """ + The source of the installation media for this engine version. A value of + `Customer Provided` indicates that the engine version was created from + customer-supplied installation media using + `CreateCustomDBEngineVersion`. Applicable to RDS Custom for SQL Server + and to RDS for SQL Server engine versions (`sqlserver-ee` and + `sqlserver-se` with the `bring-your-own-media` license model, and + `sqlserver-dev-ee`). + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted CEV. This + parameter is required for RDS Custom, but optional for Amazon RDS. + """ + create_time: datetime | None = ... + """The creation time of the DB engine version.""" + supported_character_sets: list[CharacterSet] | None = ... + """ + A list of the character sets supported by this engine for the + `CharacterSetName` parameter of the `CreateDBInstance` operation. + """ + supported_nchar_character_sets: list[CharacterSet] | None = ... + """ + A list of the character sets supported by the Oracle DB engine for the + `NcharCharacterSetName` parameter of the `CreateDBInstance` operation. + """ + valid_upgrade_target: list[UpgradeTarget] | None = ... + """ + A list of engine versions that this database engine version can be + upgraded to. + """ + supported_timezones: list[Timezone] | None = ... + """ + A list of the time zones supported by this engine for the `Timezone` + parameter of the `CreateDBInstance` action. + """ + exportable_log_types: list[str] | None = ... + """ + The types of logs that the database engine has available for export to + CloudWatch Logs. + """ + supports_log_exports_to_cloudwatch_logs: bool | None = ... + """ + Indicates whether the engine version supports exporting the log types + specified by ExportableLogTypes to CloudWatch Logs. + """ + supports_read_replica: bool | None = ... + """Indicates whether the database engine version supports read replicas.""" + supported_engine_modes: list[str] | None = ... + """A list of the supported DB engine modes.""" + supported_feature_names: list[str] | None = ... + """ + A list of features supported by the DB engine. + + The supported features vary by DB engine and DB engine version. + + To determine the supported features for a specific DB engine and DB + engine version using the CLI, use the following command: + + `aws rds describe-db-engine-versions --engine --engine-version ` + + For example, to determine the supported features for RDS for PostgreSQL + version 13.3 using the CLI, use the following command: + + `aws rds describe-db-engine-versions --engine postgres --engine-version 13.3` + + The supported features are listed under `SupportedFeatureNames` in the + output. + """ + status: str | None = ... + """The status of the DB engine version, either `available` or `deprecated`.""" + supports_parallel_query: bool | None = ... + """ + Indicates whether you can use Aurora parallel query with a specific DB + engine version. + """ + supports_global_databases: bool | None = ... + """ + Indicates whether you can use Aurora global databases with a specific DB + engine version. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + supports_babelfish: bool | None = ... + """ + Indicates whether the engine version supports Babelfish for Aurora + PostgreSQL. + """ + supports_limitless_database: bool | None = ... + """ + Indicates whether the DB engine version supports Aurora Limitless + Database. + """ + supports_certificate_rotation_without_restart: bool | None = ... + """ + Indicates whether the engine version supports rotating the server + certificate without rebooting the DB instance. + """ + supported_ca_certificate_identifiers: list[str] | None = ... + """ + A list of the supported CA certificate identifiers. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + supports_local_write_forwarding: bool | None = ... + """ + Indicates whether the DB engine version supports forwarding write + operations from reader DB instances to the writer DB instance in the DB + cluster. By default, write operations aren't allowed on reader DB + instances. + + Valid for: Aurora DB clusters only + """ + supports_integrations: bool | None = ... + """ + Indicates whether the DB engine version supports zero-ETL integrations + with Amazon Redshift. + """ + serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... + """ + Specifies any Aurora Serverless v2 properties or limits that differ + between Aurora engine versions. You can test the values of this + attribute when deciding which Aurora version to use in a new or upgraded + DB cluster. You can also retrieve the version of an existing DB cluster + and check whether that version supports certain Aurora Serverless v2 + features before you attempt to use those features. + """ + +@dataclass(kw_only=True) +class DBInstance(_SerdeShape): + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + + db_instance_identifier: str | None = ... + """ + The user-supplied database identifier. This identifier is the unique key + that identifies a DB instance. + """ + db_instance_class: str | None = ... + """The name of the compute and memory capacity class of the DB instance.""" + engine: str | None = ... + """The database engine used for this DB instance.""" + db_instance_status: str | None = ... + """ + The current state of this database. + + For information about DB instance statuses, see [Viewing DB instance + status](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html#Overview.DBInstance.Status) + in the *Amazon RDS User Guide.* + """ + master_username: str | None = ... + """The master username for the DB instance.""" + db_name: str | None = ... + """ + The initial database name that you provided (if required) when you + created the DB instance. This name is returned for the life of your DB + instance. For an RDS for Oracle CDB instance, the name identifies the + PDB rather than the CDB. + """ + endpoint: Endpoint | None = ... + """ + The connection endpoint for the DB instance. + + Note: + The endpoint might not be shown for instances with the status of + `creating`. + """ + allocated_storage: int | None = ... + """The amount of storage in gibibytes (GiB) allocated for the DB instance.""" + instance_create_time: datetime | None = ... + """The date and time when the DB instance was created.""" + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, as determined by the + `BackupRetentionPeriod`. + """ + backup_retention_period: int | None = ... + """The number of days for which automatic DB snapshots are retained.""" + db_security_groups: list[DBSecurityGroupMembership] | None = ... + """ + A list of DB security group elements containing `DBSecurityGroup.Name` + and `DBSecurityGroup.Status` subelements. + """ + vpc_security_groups: list[VpcSecurityGroupMembership] | None = ... + """ + The list of Amazon EC2 VPC security groups that the DB instance belongs + to. + """ + db_parameter_groups: list[DBParameterGroupStatus] | None = ... + """The list of DB parameter groups applied to this DB instance.""" + availability_zone: str | None = ... + """The name of the Availability Zone where the DB instance is located.""" + db_subnet_group: DBSubnetGroup | None = ... + """ + Information about the subnet group associated with the DB instance, + including the name, description, and subnets in the subnet group. + """ + preferred_maintenance_window: str | None = ... + """ + The weekly time range during which system maintenance can occur, in + Universal Coordinated Time (UTC). + """ + upgrade_rollout_order: str | None = ... + """ + This data type represents the order in which the instances are upgraded. + + - [first] - Typically used for development or testing environments. + + - [second] - Default order for resources not specifically configured. + + - [last] - Usually reserved for production environments. + """ + pending_modified_values: PendingModifiedValues | None = ... + """ + Information about pending changes to the DB instance. This information + is returned only when there are pending changes. Specific changes are + identified by subelements. + """ + latest_restorable_time: datetime | None = ... + """ + The latest time to which a database in this DB instance can be restored + with point-in-time restore. + """ + multi_az: bool | None = ... + """ + Indicates whether the DB instance is a Multi-AZ deployment. This setting + doesn't apply to RDS Custom DB instances. + """ + engine_version: str | None = ... + """The version of the database engine.""" + auto_minor_version_upgrade: bool | None = ... + """ + Indicates whether minor version patches are applied automatically. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + read_replica_source_db_instance_identifier: str | None = ... + """ + The identifier of the source DB instance if this DB instance is a read + replica. + """ + read_replica_db_instance_identifiers: list[str] | None = ... + """The identifiers of the read replicas associated with this DB instance.""" + read_replica_db_cluster_identifiers: list[str] | None = ... + """ + The identifiers of Aurora DB clusters to which the RDS DB instance is + replicated as a read replica. For example, when you create an Aurora + read replica of an RDS for MySQL DB instance, the Aurora MySQL DB + cluster for the Aurora read replica is shown. This output doesn't + contain information about cross-Region Aurora read replicas. + + Note: + Currently, each RDS DB instance can have only one Aurora read replica. + """ + replica_mode: str | None = ... + """ + The open mode of a Db2 or an Oracle read replica. The default is + `open-read-only`. For more information, see [Working with replicas for + Amazon RDS for + Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html) + and [Working with read replicas for Amazon RDS for + Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) + in the *Amazon RDS User Guide*. + + Note: + This attribute is only supported in RDS for Db2, RDS for Oracle, and RDS + Custom for Oracle. + """ + license_model: str | None = ... + """ + The license model information for this DB instance. This setting + doesn't apply to Amazon Aurora or RDS Custom DB instances. + """ + iops: int | None = ... + """ + The Provisioned IOPS (I/O operations per second) value for the DB + instance. + """ + storage_throughput: int | None = ... + """ + The storage throughput for the DB instance. + + This setting applies only to the `gp3` storage type. + """ + option_group_memberships: list[OptionGroupMembership] | None = ... + """The list of option group memberships for this DB instance.""" + character_set_name: str | None = ... + """ + If present, specifies the name of the character set that this instance + is associated with. + """ + nchar_character_set_name: str | None = ... + """ + The name of the NCHAR character set for the Oracle DB instance. This + character set specifies the Unicode encoding for data stored in table + columns of type NCHAR, NCLOB, or NVARCHAR2. + """ + secondary_availability_zone: str | None = ... + """ + If present, specifies the name of the secondary Availability Zone for a + DB instance with multi-AZ support. + """ + publicly_accessible: bool | None = ... + """ + Indicates whether the DB instance is publicly accessible. + + When the DB instance is publicly accessible and you connect from outside + of the DB instance's virtual private cloud (VPC), its Domain Name + System (DNS) endpoint resolves to the public IP address. When you + connect from within the same VPC as the DB instance, the endpoint + resolves to the private IP address. Access to the DB cluster is + ultimately controlled by the security group it uses. That public access + isn't permitted if the security group assigned to the DB cluster + doesn't permit it. + + When the DB instance isn't publicly accessible, it is an internal DB + instance with a DNS name that resolves to a private IP address. + + For more information, see CreateDBInstance. + """ + status_infos: list[DBInstanceStatusInfo] | None = ... + """ + The status of a read replica. If the DB instance isn't a read replica, + the value is blank. + """ + storage_type: str | None = ... + """The storage type associated with the DB instance.""" + storage_encryption_type: str | None = ... + """ + The type of encryption used to protect data at rest in the DB instance. + Possible values: + + - `none` - The DB instance is not encrypted. + + - `sse-rds` - The DB instance is encrypted using an Amazon Web Services + owned KMS key. + + - `sse-kms` - The DB instance is encrypted using a customer managed KMS + key or Amazon Web Services managed KMS key. + """ + tde_credential_arn: str | None = ... + """ + The ARN from the key store with which the instance is associated for TDE + encryption. + """ + db_instance_port: int | None = ... + """ + The port that the DB instance listens on. If the DB instance is part of + a DB cluster, this can be a different port than the DB cluster port. + """ + db_cluster_identifier: str | None = ... + """ + If the DB instance is a member of a DB cluster, indicates the name of + the DB cluster that the DB instance is a member of. + """ + storage_encrypted: bool | None = ... + """Indicates whether the DB instance is encrypted.""" + kms_key_id: str | None = ... + """ + If `StorageEncrypted` is enabled, the Amazon Web Services KMS key + identifier for the encrypted DB instance. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + """ + dbi_resource_id: str | None = ... + """ + The Amazon Web Services Region-unique, immutable identifier for the DB + instance. This identifier is found in Amazon Web Services CloudTrail log + entries whenever the Amazon Web Services KMS key for the DB instance is + accessed. + """ + ca_certificate_identifier: str | None = ... + """ + The identifier of the CA certificate for this DB instance. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + domain_memberships: list[DomainMembership] | None = ... + """ + The Active Directory Domain membership records associated with the DB + instance. + """ + copy_tags_to_snapshot: bool | None = ... + """ + Indicates whether tags are copied from the DB instance to snapshots of + the DB instance. + + This setting doesn't apply to Amazon Aurora DB instances. Copying tags + to snapshots is managed by the DB cluster. Setting this value for an + Aurora DB instance has no effect on the DB cluster setting. For more + information, see `DBCluster`. + """ + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the DB instance. + """ + enhanced_monitoring_resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream + that receives the Enhanced Monitoring metrics data for the DB instance. + """ + monitoring_role_arn: str | None = ... + """ + The ARN for the IAM role that permits RDS to send Enhanced Monitoring + metrics to Amazon CloudWatch Logs. + """ + promotion_tier: int | None = ... + """ + The order of priority in which an Aurora Replica is promoted to the + primary instance after a failure of the existing primary instance. For + more information, see [Fault Tolerance for an Aurora DB + Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance) + in the *Amazon Aurora User Guide*. + """ + db_instance_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB instance.""" + timezone: str | None = ... + """ + The time zone of the DB instance. In most cases, the `Timezone` element + is empty. `Timezone` content appears only for RDS for Db2 and RDS for + SQL Server DB instances that were created with a time zone specified. + """ + iam_database_authentication_enabled: bool | None = ... + """ + Indicates whether mapping of Amazon Web Services Identity and Access + Management (IAM) accounts to database accounts is enabled for the DB + instance. + + For a list of engine versions that support IAM database authentication, + see [IAM database + authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RDS_Fea_Regions_DB-eng.Feature.IamDatabaseAuthentication.html) + in the *Amazon RDS User Guide* and [IAM database authentication in + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.Aurora_Fea_Regions_DB-eng.Feature.IAMdbauth.html) + in the *Amazon Aurora User Guide*. + """ + database_insights_mode: str | None = ... + """The mode of Database Insights that is enabled for the instance.""" + performance_insights_enabled: bool | None = ... + """Indicates whether Performance Insights is enabled for the DB instance.""" + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. + + Valid Values: + + - `7` + + - *month* * 31, where *month* is a number of months from 1-23. + Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 + months * 31) + + - `731` + + Default: `7` days + """ + enabled_cloudwatch_logs_exports: list[str] | None = ... + """ + A list of log types that this DB instance is configured to export to + CloudWatch Logs. + + Log types vary by DB engine. For information about the log types for + each DB engine, see [Monitoring Amazon RDS log + files](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html) + in the *Amazon RDS User Guide.* + """ + processor_features: list[ProcessorFeature] | None = ... + """ + The number of CPU cores and the number of threads per core for the DB + instance class of the DB instance. + """ + deletion_protection: bool | None = ... + """ + Indicates whether the DB instance has deletion protection enabled. The + database can't be deleted when deletion protection is enabled. For more + information, see [Deleting a DB + Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + """ + associated_roles: list[DBInstanceRole] | None = ... + """ + The Amazon Web Services Identity and Access Management (IAM) roles + associated with the DB instance. + """ + listener_endpoint: Endpoint | None = ... + """The listener connection endpoint for SQL Server Always On.""" + max_allocated_storage: int | None = ... + """ + The upper limit in gibibytes (GiB) to which Amazon RDS can automatically + scale the storage of the DB instance. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + automation_mode: str | None = ... + """ + The automation mode of the RDS Custom DB instance: `full` or + `all paused`. If `full`, the DB instance automates monitoring and + instance recovery. If `all paused`, the instance pauses automation for + the duration set by `--resume-full-automation-mode-minutes`. + """ + resume_full_automation_mode_time: datetime | None = ... + """ + The number of minutes to pause the automation. When the time period + ends, RDS Custom resumes full automation. The minimum value is 60 + (default). The maximum value is 1,440. + """ + customer_owned_ip_enabled: bool | None = ... + """ + Indicates whether a customer-owned IP address (CoIP) is enabled for an + RDS on Outposts DB instance. + + A *CoIP* provides local or external connectivity to resources in your + Outpost subnets through your on-premises network. For some use cases, a + CoIP can provide lower latency for connections to the DB instance from + outside of its virtual private cloud (VPC) on your local network. + + For more information about RDS on Outposts, see [Working with Amazon RDS + on Amazon Web Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide*. + + For more information about CoIPs, see [Customer-owned IP + addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the *Amazon Web Services Outposts User Guide*. + """ + network_type: str | None = ... + """ + The network type of the DB instance. + + The network type is determined by the `DBSubnetGroup` specified for the + DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon RDS User Guide* and [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon Aurora User Guide.* + + Valid Values: `IPV4 | DUAL` + """ + activity_stream_status: str | None = ... + """The status of the database activity stream.""" + activity_stream_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier used for encrypting messages + in the database activity stream. The Amazon Web Services KMS key + identifier is the key ARN, key ID, alias ARN, or alias name for the KMS + key. + """ + activity_stream_kinesis_stream_name: str | None = ... + """ + The name of the Amazon Kinesis data stream used for the database + activity stream. + """ + activity_stream_mode: str | None = ... + """ + The mode of the database activity stream. Database events such as a + change or access generate an activity stream event. RDS for Oracle + always handles these events asynchronously. + """ + activity_stream_engine_native_audit_fields_included: bool | None = ... + """ + Indicates whether engine-native audit fields are included in the + database activity stream. + """ + aws_backup_recovery_point_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the recovery point in Amazon Web + Services Backup. + """ + db_instance_automated_backups_replications: ( + list[DBInstanceAutomatedBackupsReplication] | None + ) = ... + """ + The list of replicated automated backups associated with the DB + instance. + """ + backup_target: str | None = ... + """ + The location where automated backups and manual snapshots are stored: + Dedicated Local Zones, Amazon Web Services Outposts or the Amazon Web + Services Region. + """ + automatic_restart_time: datetime | None = ... + """The time when a stopped DB instance is restarted automatically.""" + custom_iam_instance_profile: str | None = ... + """ + The instance profile associated with the underlying Amazon EC2 instance + of an RDS Custom DB instance. The instance profile must meet the + following requirements: + + - The profile must exist in your account. + + - The profile must have an IAM role that Amazon EC2 has permissions to + assume. + + - The instance profile name and the associated IAM role name must start + with the prefix `AWSRDSCustom`. + + For the list of permissions required for the IAM role, see [Configure + IAM and your + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) + in the *Amazon RDS User Guide*. + """ + activity_stream_policy_status: str | None = ... + """The status of the policy state of the activity stream.""" + certificate_details: CertificateDetails | None = ... + """The details of the DB instance's server certificate.""" + db_system_id: str | None = ... + """ + The Oracle system ID (Oracle SID) for a container database (CDB). The + Oracle SID is also the name of the CDB. This setting is only valid for + RDS Custom DB instances. + """ + master_user_secret: MasterUserSecret | None = ... + """ + The secret managed by RDS in Amazon Web Services Secrets Manager for the + master user password. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide.* + """ + read_replica_source_db_cluster_identifier: str | None = ... + """ + The identifier of the source DB cluster if this DB instance is a read + replica. + """ + percent_progress: str | None = ... + """The progress of the storage optimization operation as a percentage.""" + multi_tenant: bool | None = ... + """ + Specifies whether the DB instance is in the multi-tenant configuration + (TRUE) or the single-tenant configuration (FALSE). + """ + dedicated_log_volume: bool | None = ... + """ + Indicates whether the DB instance has a dedicated log volume (DLV) + enabled. + """ + is_storage_config_upgrade_available: bool | None = ... + """ + Indicates whether an upgrade is recommended for the storage file system + configuration on the DB instance. To migrate to the preferred + configuration, you can either create a blue/green deployment, or create + a read replica from the DB instance. For more information, see + [Upgrading the storage file system for a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem). + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for the DB instance. + + For more information, see CreateDBInstance. + """ + additional_storage_volumes: list[AdditionalStorageVolumeOutput] | None = ... + """ + The additional storage volumes associated with the DB instance. RDS + supports additional storage volumes for RDS for Oracle and RDS for SQL + Server. + """ + storage_volume_status: str | None = ... + """ + The detailed status information for storage volumes associated with the + DB instance. This information helps identify which specific volume is + causing the instance to be in a storage-full state. + """ + storage_operation_status: str | None = ... + """ + The status of an in-progress storage operation on the DB instance. This + field appears only while a storage operation is in progress. It isn't + present when no storage operation is active. Possible values: + + - `Initializing` - The volume is initializing from a snapshot, such as + during a snapshot restore, point-in-time restore, read replica + creation, or blue/green deployment. Performance can be lower than + provisioned until initialization completes. + + - `Optimizing` - The volume is optimizing following a storage scaling or + modification operation. + """ + storage_operation_percent_progress: int | None = ... + """ + The percentage of the in-progress storage operation on the DB instance + that has completed, from `0` to `100`. This field appears only while a + storage operation is in progress. It isn't present when no storage + operation is active. + """ + db_capacity_reservation_identifier: str | None = ... + """ + The identifier of the DB capacity reservation associated with this DB + instance. Amazon RDS doesn't return this value if the DB instance + doesn't use a DB capacity reservation. + """ + +@dataclass(kw_only=True) +class DBInstanceAlreadyExistsFault(ServiceError, _SerdeShape): + """The user already has a DB instance with the given identifier.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBInstanceAutomatedBackup(_SerdeShape): + """ + An automated backup of a DB instance. It consists of system backups, + transaction logs, and the database instance properties that existed at + the time you deleted the source instance. + """ + + db_instance_arn: str | None = ... + """The Amazon Resource Name (ARN) for the automated backups.""" + dbi_resource_id: str | None = ... + """ + The resource ID for the source DB instance, which can't be changed and + which is unique to an Amazon Web Services Region. + """ + region: str | None = ... + """The Amazon Web Services Region associated with the automated backup.""" + db_instance_identifier: str | None = ... + """ + The identifier for the source DB instance, which can't be changed and + which is unique to an Amazon Web Services Region. + """ + restore_window: RestoreWindow | None = ... + """The earliest and latest time a DB instance can be restored to.""" + allocated_storage: int | None = ... + """The allocated storage size for the automated backup in gibibytes (GiB).""" + status: str | None = ... + """ + A list of status information for an automated backup: + + - `active` - Automated backups for current instances. + + - `retained` - Automated backups for deleted instances. + + - `creating` - Automated backups that are waiting for the first + automated snapshot to be available. + """ + port: int | None = ... + """ + The port number that the automated backup used for connections. + + Default: Inherits from the source DB instance + + Valid Values: `1150-65535` + """ + availability_zone: str | None = ... + """ + The Availability Zone that the automated backup was created in. For + information on Amazon Web Services Regions and Availability Zones, see + [Regions and Availability + Zones](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). + """ + vpc_id: str | None = ... + """The VPC ID associated with the DB instance.""" + instance_create_time: datetime | None = ... + """The date and time when the DB instance was created.""" + master_username: str | None = ... + """The master user name of an automated backup.""" + engine: str | None = ... + """The name of the database engine for this automated backup.""" + engine_version: str | None = ... + """The version of the database engine for the automated backup.""" + license_model: str | None = ... + """The license model information for the automated backup.""" + iops: int | None = ... + """The IOPS (I/O operations per second) value for the automated backup.""" + storage_throughput: int | None = ... + """The storage throughput for the automated backup.""" + option_group_name: str | None = ... + """ + The option group the automated backup is associated with. If omitted, + the default option group for the engine specified is used. + """ + tde_credential_arn: str | None = ... + """ + The ARN from the key store with which the automated backup is associated + for TDE encryption. + """ + encrypted: bool | None = ... + """Indicates whether the automated backup is encrypted.""" + storage_encryption_type: str | None = ... + """ + The type of encryption used to protect data at rest in the automated + backup. Possible values: + + - `none` - The automated backup is not encrypted. + + - `sse-rds` - The automated backup is encrypted using an Amazon Web + Services owned KMS key. + + - `sse-kms` - The automated backup is encrypted using a customer managed + KMS key or Amazon Web Services managed KMS key. + """ + storage_type: str | None = ... + """The storage type associated with the automated backup.""" + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key ID for an automated backup. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + """ + timezone: str | None = ... + """ + The time zone of the automated backup. In most cases, the `Timezone` + element is empty. `Timezone` content appears only for Microsoft SQL + Server DB instances that were created with a time zone specified. + """ + iam_database_authentication_enabled: bool | None = ... + """ + True if mapping of Amazon Web Services Identity and Access Management + (IAM) accounts to database accounts is enabled, and otherwise false. + """ + backup_retention_period: int | None = ... + """The retention period for the automated backups.""" + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, as determined by the + `BackupRetentionPeriod`. + """ + db_instance_automated_backups_arn: str | None = ... + """The Amazon Resource Name (ARN) for the replicated automated backups.""" + db_instance_automated_backups_replications: ( + list[DBInstanceAutomatedBackupsReplication] | None + ) = ... + """ + The list of replications to different Amazon Web Services Regions + associated with the automated backup. + """ + backup_target: str | None = ... + """ + The location where automated backups are stored: Dedicated Local Zones, + Amazon Web Services Outposts or the Amazon Web Services Region. + """ + multi_tenant: bool | None = ... + """ + Specifies whether the automatic backup is for a DB instance in the + multi-tenant configuration (TRUE) or the single-tenant configuration + (FALSE). + """ + aws_backup_recovery_point_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the recovery point in Amazon Web + Services Backup. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + dedicated_log_volume: bool | None = ... + """ + Indicates whether the DB instance has a dedicated log volume (DLV) + enabled. + """ + additional_storage_volumes: list[AdditionalStorageVolume] | None = ... + """ + The additional storage volumes associated with the automated backup. + + Valid Values: `GP3 | IO2` + """ + +@dataclass(kw_only=True) +class DBInstanceAutomatedBackupNotFoundFault(ServiceError, _SerdeShape): + """No automated backup for this DB instance was found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBInstanceAutomatedBackupQuotaExceededFault(ServiceError, _SerdeShape): + """ + The quota for retained automated backups was exceeded. This prevents you + from retaining any additional automated backups. The retained automated + backups quota is the same as your DB instance quota. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBInstanceAutomatedBackupsReplication(_SerdeShape): + """ + Automated backups of a DB instance replicated to another Amazon Web + Services Region. They consist of system backups, transaction logs, and + database instance properties. + """ + + db_instance_automated_backups_arn: str | None = ... + """The Amazon Resource Name (ARN) of the replicated automated backups.""" + +@dataclass(kw_only=True) +class DBInstanceNotFoundFault(ServiceError, _SerdeShape): + """`DBInstanceIdentifier` doesn't refer to an existing DB instance.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBInstanceNotReadyFault(ServiceError, _SerdeShape): + """ + An attempt to download or examine log files didn't succeed because an + Aurora Serverless v2 instance was paused. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBInstanceRole(_SerdeShape): + """ + Information about an Amazon Web Services Identity and Access Management + (IAM) role that is associated with a DB instance. + """ + + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that is associated with + the DB instance. + """ + feature_name: str | None = ... + """ + The name of the feature associated with the Amazon Web Services Identity + and Access Management (IAM) role. For information about supported + feature names, see `DBEngineVersion`. + """ + status: str | None = ... + """ + Information about the state of association between the IAM role and the + DB instance. The Status property returns one of the following values: + + - `ACTIVE` - the IAM role ARN is associated with the DB instance and can + be used to access other Amazon Web Services services on your behalf. + + - `PENDING` - the IAM role ARN is being associated with the DB instance. + + - `INVALID` - the IAM role ARN is associated with the DB instance, but + the DB instance is unable to assume the IAM role in order to access + other Amazon Web Services services on your behalf. + """ + +@dataclass(kw_only=True) +class DBInstanceRoleAlreadyExistsFault(ServiceError, _SerdeShape): + """ + The specified `RoleArn` or `FeatureName` value is already associated + with the DB instance. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBInstanceRoleNotFoundFault(ServiceError, _SerdeShape): + """ + The specified `RoleArn` value doesn't match the specified feature for + the DB instance. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBInstanceRoleQuotaExceededFault(ServiceError, _SerdeShape): + """ + You can't associate any more Amazon Web Services Identity and Access + Management (IAM) roles with the DB instance because the quota has been + reached. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBInstanceStatusInfo(_SerdeShape): + """Provides a list of status information for a DB instance.""" + + status_type: str | None = ... + """This value is currently \"read replication.\"""" + normal: bool | None = ... + """ + Indicates whether the instance is operating normally (TRUE) or is in an + error state (FALSE). + """ + status: str | None = ... + """ + The status of the DB instance. For a StatusType of read replica, the + values can be replicating, replication stop point set, replication stop + point reached, error, stopped, or terminated. + """ + message: str | None = ... + """ + Details of the error if there is an error for the instance. If the + instance isn't in an error state, this value is blank. + """ + +@dataclass(kw_only=True) +class DBLogFileNotFoundFault(ServiceError, _SerdeShape): + """`LogFileName` doesn't refer to an existing DB log file.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBMajorEngineVersion(_SerdeShape): + """ + This data type is used as a response element in the operation + `DescribeDBMajorEngineVersions`. + """ + + engine: str | None = ... + """The name of the database engine.""" + major_engine_version: str | None = ... + """The major version number of the database engine.""" + supported_engine_lifecycles: list[SupportedEngineLifecycle] | None = ... + """ + A list of the lifecycles supported by this engine for the + `DescribeDBMajorEngineVersions` operation. + """ + +@dataclass(kw_only=True) +class DBParameterGroup(_SerdeShape): + """ + Contains the details of an Amazon RDS DB parameter group. + + This data type is used as a response element in the + `DescribeDBParameterGroups` action. + """ + + db_parameter_group_name: str | None = ... + """The name of the DB parameter group.""" + db_parameter_group_family: str | None = ... + """ + The name of the DB parameter group family that this DB parameter group + is compatible with. + """ + description: str | None = ... + """Provides the customer-specified description for this DB parameter group.""" + db_parameter_group_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB parameter group.""" + +@dataclass(kw_only=True) +class DBParameterGroupAlreadyExistsFault(ServiceError, _SerdeShape): + """A DB parameter group with the same name exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBParameterGroupNotFoundFault(ServiceError, _SerdeShape): + """`DBParameterGroupName` doesn't refer to an existing DB parameter group.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBParameterGroupQuotaExceededFault(ServiceError, _SerdeShape): + """ + The request would result in the user exceeding the allowed number of DB + parameter groups. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBParameterGroupStatus(_SerdeShape): + """ + The status of the DB parameter group. + + This data type is used as a response element in the following actions: + + - `CreateDBInstance` + + - `CreateDBInstanceReadReplica` + + - `DeleteDBInstance` + + - `ModifyDBInstance` + + - `RebootDBInstance` + + - `RestoreDBInstanceFromDBSnapshot` + """ + + db_parameter_group_name: str | None = ... + """The name of the DB parameter group.""" + parameter_apply_status: str | None = ... + """ + The status of parameter updates. Valid values are: + + - `applying`: The parameter group change is being applied to the + database. + + - `failed-to-apply`: The parameter group is in an invalid state. + + - `in-sync`: The parameter group change is synchronized with the + database. + + - `pending-database-upgrade`: The parameter group change will be applied + after the DB instance is upgraded. + + - `pending-reboot`: The parameter group change will be applied after the + DB instance reboots. + """ + +@dataclass(kw_only=True) +class DBProxy(_SerdeShape): + """ + The data structure representing a proxy managed by the RDS Proxy. + + This data type is used as a response element in the `DescribeDBProxies` + action. + """ + + db_proxy_name: str | None = ... + """ + The identifier for the proxy. This name must be unique for all proxies + owned by your Amazon Web Services account in the specified Amazon Web + Services Region. + """ + db_proxy_arn: str | None = ... + """The Amazon Resource Name (ARN) for the proxy.""" + status: str | None = ... + """ + The current status of this proxy. A status of `available` means the + proxy is ready to handle requests. Other values indicate that you must + wait for the proxy to be ready, or take some action to resolve an issue. + """ + engine_family: str | None = ... + """ + The kinds of databases that the proxy can connect to. This value + determines which database network protocol the proxy recognizes when it + interprets network traffic to and from the database. `MYSQL` supports + Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases. `POSTGRESQL` + supports Aurora PostgreSQL and RDS for PostgreSQL databases. `SQLSERVER` + supports RDS for Microsoft SQL Server databases. + """ + vpc_id: str | None = ... + """Provides the VPC ID of the DB proxy.""" + vpc_security_group_ids: list[str] | None = ... + """Provides a list of VPC security groups that the proxy belongs to.""" + vpc_subnet_ids: list[str] | None = ... + """The EC2 subnet IDs for the proxy.""" + default_auth_scheme: str | None = ... + """ + The default authentication scheme that the proxy uses for client + connections to the proxy and connections from the proxy to the + underlying database. Valid values are `NONE` and `IAM_AUTH`. When set to + `IAM_AUTH`, the proxy uses end-to-end IAM authentication to connect to + the database. + """ + auth: list[UserAuthConfigInfo] | None = ... + """ + One or more data structures specifying the authorization mechanism to + connect to the associated RDS DB instance or Aurora DB cluster. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the IAM role that the proxy uses to + access Amazon Secrets Manager. + """ + endpoint: str | None = ... + """ + The endpoint that you can use to connect to the DB proxy. You include + the endpoint value in the connection string for a database client + application. + """ + require_tls: bool | None = ... + """ + Indicates whether Transport Layer Security (TLS) encryption is required + for connections to the proxy. + """ + idle_client_timeout: int | None = ... + """ + The number of seconds a connection to the proxy can have no activity + before the proxy drops the client connection. The proxy keeps the + underlying database connection open and puts it back into the connection + pool for reuse by later connection requests. + + Default: 1800 (30 minutes) + + Constraints: 1 to 28,800 + """ + debug_logging: bool | None = ... + """ + Specifies whether the proxy logs detailed connection and query + information. When you enable `DebugLogging`, the proxy captures + connection details and connection pool behavior from your queries. Debug + logging increases CloudWatch costs and can impact proxy performance. + Enable this option only when you need to troubleshoot connection or + performance issues. + """ + created_date: datetime | None = ... + """The date and time when the proxy was first created.""" + updated_date: datetime | None = ... + """The date and time when the proxy was last updated.""" + endpoint_network_type: str | None = ... + """ + The network type of the DB proxy endpoint. The network type determines + the IP version that the proxy endpoint supports. + + Valid values: + + - `IPV4` - The proxy endpoint supports IPv4 only. + + - `IPV6` - The proxy endpoint supports IPv6 only. + + - `DUAL` - The proxy endpoint supports both IPv4 and IPv6. + """ + target_connection_network_type: str | None = ... + """ + The network type that the proxy uses to connect to the target database. + The network type determines the IP version that the proxy uses for + connections to the database. + + Valid values: + + - `IPV4` - The proxy connects to the database using IPv4 only. + + - `IPV6` - The proxy connects to the database using IPv6 only. + """ + +@dataclass(kw_only=True) +class DBProxyAlreadyExistsFault(ServiceError, _SerdeShape): + """ + The specified proxy name must be unique for all proxies owned by your + Amazon Web Services account in the specified Amazon Web Services Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBProxyEndpoint(_SerdeShape): + """ + The data structure representing an endpoint associated with a DB proxy. + RDS automatically creates one endpoint for each DB proxy. For Aurora DB + clusters, you can associate additional endpoints with the same DB proxy. + These endpoints can be read/write or read-only. They can also reside in + different VPCs than the associated DB proxy. + + This data type is used as a response element in the + `DescribeDBProxyEndpoints` operation. + """ + + db_proxy_endpoint_name: str | None = ... + """ + The name for the DB proxy endpoint. An identifier must begin with a + letter and must contain only ASCII letters, digits, and hyphens; it + can't end with a hyphen or contain two consecutive hyphens. + """ + db_proxy_endpoint_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB proxy endpoint.""" + db_proxy_name: str | None = ... + """ + The identifier for the DB proxy that is associated with this DB proxy + endpoint. + """ + status: str | None = ... + """ + The current status of this DB proxy endpoint. A status of `available` + means the endpoint is ready to handle requests. Other values indicate + that you must wait for the endpoint to be ready, or take some action to + resolve an issue. + """ + vpc_id: str | None = ... + """Provides the VPC ID of the DB proxy endpoint.""" + vpc_security_group_ids: list[str] | None = ... + """ + Provides a list of VPC security groups that the DB proxy endpoint + belongs to. + """ + vpc_subnet_ids: list[str] | None = ... + """The EC2 subnet IDs for the DB proxy endpoint.""" + endpoint: str | None = ... + """ + The endpoint that you can use to connect to the DB proxy. You include + the endpoint value in the connection string for a database client + application. + """ + created_date: datetime | None = ... + """The date and time when the DB proxy endpoint was first created.""" + target_role: str | None = ... + """ + A value that indicates whether the DB proxy endpoint can be used for + read/write or read-only operations. + """ + is_default: bool | None = ... + """ + Indicates whether this endpoint is the default endpoint for the + associated DB proxy. Default DB proxy endpoints always have read/write + capability. Other endpoints that you associate with the DB proxy can be + either read/write or read-only. + """ + endpoint_network_type: str | None = ... + """ + The network type of the DB proxy endpoint. The network type determines + the IP version that the proxy endpoint supports. + + Valid values: + + - `IPV4` - The proxy endpoint supports IPv4 only. + + - `IPV6` - The proxy endpoint supports IPv6 only. + + - `DUAL` - The proxy endpoint supports both IPv4 and IPv6. + """ + +@dataclass(kw_only=True) +class DBProxyEndpointAlreadyExistsFault(ServiceError, _SerdeShape): + """ + The specified DB proxy endpoint name must be unique for all DB proxy + endpoints owned by your Amazon Web Services account in the specified + Amazon Web Services Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBProxyEndpointNotFoundFault(ServiceError, _SerdeShape): + """The DB proxy endpoint doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBProxyEndpointQuotaExceededFault(ServiceError, _SerdeShape): + """The DB proxy already has the maximum number of endpoints.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DBProxyEndpointStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + MODIFYING = "modifying" + INCOMPATIBLE_NETWORK = "incompatible-network" + INSUFFICIENT_RESOURCE_LIMITS = "insufficient-resource-limits" + CREATING = "creating" + DELETING = "deleting" + +class DBProxyEndpointTargetRole(UnknownEnumMixin, StrEnum): + READ_WRITE = "READ_WRITE" + READ_ONLY = "READ_ONLY" + +@dataclass(kw_only=True) +class DBProxyNotFoundFault(ServiceError, _SerdeShape): + """ + The specified proxy name doesn't correspond to a proxy owned by your + Amazon Web Services account in the specified Amazon Web Services Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBProxyQuotaExceededFault(ServiceError, _SerdeShape): + """ + Your Amazon Web Services account already has the maximum number of + proxies in the specified Amazon Web Services Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DBProxyStatus(UnknownEnumMixin, StrEnum): + AVAILABLE = "available" + MODIFYING = "modifying" + INCOMPATIBLE_NETWORK = "incompatible-network" + INSUFFICIENT_RESOURCE_LIMITS = "insufficient-resource-limits" + CREATING = "creating" + DELETING = "deleting" + SUSPENDED = "suspended" + SUSPENDING = "suspending" + REACTIVATING = "reactivating" + +@dataclass(kw_only=True) +class DBProxyTarget(_SerdeShape): + """ + Contains the details for an RDS Proxy target. It represents an RDS DB + instance or Aurora DB cluster that the proxy can connect to. One or more + targets are associated with an RDS Proxy target group. + + This data type is used as a response element in the + `DescribeDBProxyTargets` action. + """ + + target_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB + cluster. + """ + endpoint: str | None = ... + """The writer endpoint for the RDS DB instance or Aurora DB cluster.""" + tracked_cluster_id: str | None = ... + """ + The DB cluster identifier when the target represents an Aurora DB + cluster. This field is blank when the target represents an RDS DB + instance. + """ + rds_resource_id: str | None = ... + """ + The identifier representing the target. It can be the instance + identifier for an RDS DB instance, or the cluster identifier for an + Aurora DB cluster. + """ + port: int | None = ... + """ + The port that the RDS Proxy uses to connect to the target RDS DB + instance or Aurora DB cluster. + """ + type: str | None = ... + """ + Specifies the kind of database, such as an RDS DB instance or an Aurora + DB cluster, that the target represents. + """ + role: str | None = ... + """ + A value that indicates whether the target of the proxy can be used for + read/write or read-only operations. + """ + target_health: TargetHealth | None = ... + """Information about the connection health of the RDS Proxy target.""" + +@dataclass(kw_only=True) +class DBProxyTargetAlreadyRegisteredFault(ServiceError, _SerdeShape): + """ + The proxy is already associated with the specified RDS DB instance or + Aurora DB cluster. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBProxyTargetGroup(_SerdeShape): + """ + Represents a set of RDS DB instances, Aurora DB clusters, or both that a + proxy can connect to. Currently, each target group is associated with + exactly one RDS DB instance or Aurora DB cluster. + + This data type is used as a response element in the + `DescribeDBProxyTargetGroups` action. + """ + + db_proxy_name: str | None = ... + """The identifier for the RDS proxy associated with this target group.""" + target_group_name: str | None = ... + """ + The identifier for the target group. This name must be unique for all + target groups owned by your Amazon Web Services account in the specified + Amazon Web Services Region. + """ + target_group_arn: str | None = ... + """The Amazon Resource Name (ARN) representing the target group.""" + is_default: bool | None = ... + """ + Indicates whether this target group is the first one used for connection + requests by the associated proxy. Because each proxy is currently + associated with a single target group, currently this setting is always + `true`. + """ + status: str | None = ... + """ + The current status of this target group. A status of `available` means + the target group is correctly associated with a database. Other values + indicate that you must wait for the target group to be ready, or take + some action to resolve an issue. + """ + connection_pool_config: ConnectionPoolConfigurationInfo | None = ... + """ + The settings that determine the size and behavior of the connection pool + for the target group. + """ + created_date: datetime | None = ... + """The date and time when the target group was first created.""" + updated_date: datetime | None = ... + """The date and time when the target group was last updated.""" + +@dataclass(kw_only=True) +class DBProxyTargetGroupNotFoundFault(ServiceError, _SerdeShape): + """ + The specified target group isn't available for a proxy owned by your + Amazon Web Services account in the specified Amazon Web Services Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBProxyTargetNotFoundFault(ServiceError, _SerdeShape): + """ + The specified RDS DB instance or Aurora DB cluster isn't available for + a proxy owned by your Amazon Web Services account in the specified + Amazon Web Services Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBRecommendation(_SerdeShape): + """ + The recommendation for your DB instances, DB clusters, and DB parameter + groups. + """ + + recommendation_id: str | None = ... + """The unique identifier of the recommendation.""" + type_id: str | None = ... + """ + A value that indicates the type of recommendation. This value determines + how the description is rendered. + """ + severity: str | None = ... + """ + The severity level of the recommendation. The severity level can help + you decide the urgency with which to address the recommendation. + + Valid values: + + - `high` + + - `medium` + + - `low` + + - `informational` + """ + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the RDS resource associated with the + recommendation. + """ + status: str | None = ... + """ + The current status of the recommendation. + + Valid values: + + - `active` - The recommendations which are ready for you to apply. + + - `pending` - The applied or scheduled recommendations which are in + progress. + + - `resolved` - The recommendations which are completed. + + - `dismissed` - The recommendations that you dismissed. + """ + created_time: datetime | None = ... + """ + The time when the recommendation was created. For example, + `2023-09-28T01:13:53.931000+00:00`. + """ + updated_time: datetime | None = ... + """The time when the recommendation was last updated.""" + detection: str | None = ... + """ + A short description of the issue identified for this recommendation. The + description might contain markdown. + """ + recommendation: str | None = ... + """ + A short description of the recommendation to resolve an issue. The + description might contain markdown. + """ + description: str | None = ... + """ + A detailed description of the recommendation. The description might + contain markdown. + """ + reason: str | None = ... + """ + The reason why this recommendation was created. The information might + contain markdown. + """ + recommended_actions: list[RecommendedAction] | None = ... + """A list of recommended actions.""" + category: str | None = ... + """ + The category of the recommendation. + + Valid values: + + - `performance efficiency` + + - `security` + + - `reliability` + + - `cost optimization` + + - `operational excellence` + + - `sustainability` + """ + source: str | None = ... + """The Amazon Web Services service that generated the recommendations.""" + type_detection: str | None = ... + """ + A short description of the recommendation type. The description might + contain markdown. + """ + type_recommendation: str | None = ... + """ + A short description that summarizes the recommendation to fix all the + issues of the recommendation type. The description might contain + markdown. + """ + impact: str | None = ... + """A short description that explains the possible impact of an issue.""" + additional_info: str | None = ... + """ + Additional information about the recommendation. The information might + contain markdown. + """ + links: list[DocLink] | None = ... + """ + A link to documentation that provides additional information about the + recommendation. + """ + issue_details: IssueDetails | None = ... + """Details of the issue that caused the recommendation.""" + +@dataclass(kw_only=True) +class DBSecurityGroup(_SerdeShape): + """ + Contains the details for an Amazon RDS DB security group. + + This data type is used as a response element in the + `DescribeDBSecurityGroups` action. + """ + + owner_id: str | None = ... + """ + Provides the Amazon Web Services ID of the owner of a specific DB + security group. + """ + db_security_group_name: str | None = ... + """Specifies the name of the DB security group.""" + db_security_group_description: str | None = ... + """Provides the description of the DB security group.""" + vpc_id: str | None = ... + """Provides the VpcId of the DB security group.""" + ec2_security_groups: list[EC2SecurityGroup] | None = ... + """Contains a list of `EC2SecurityGroup` elements.""" + ip_ranges: list[IPRange] | None = ... + """Contains a list of `IPRange` elements.""" + db_security_group_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB security group.""" + +@dataclass(kw_only=True) +class DBSecurityGroupAlreadyExistsFault(ServiceError, _SerdeShape): + """ + A DB security group with the name specified in `DBSecurityGroupName` + already exists. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSecurityGroupMembership(_SerdeShape): + """ + This data type is used as a response element in the following actions: + + - `ModifyDBInstance` + + - `RebootDBInstance` + + - `RestoreDBInstanceFromDBSnapshot` + + - `RestoreDBInstanceToPointInTime` + """ + + db_security_group_name: str | None = ... + """The name of the DB security group.""" + status: str | None = ... + """The status of the DB security group.""" + +@dataclass(kw_only=True) +class DBSecurityGroupNotFoundFault(ServiceError, _SerdeShape): + """`DBSecurityGroupName` doesn't refer to an existing DB security group.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSecurityGroupNotSupportedFault(ServiceError, _SerdeShape): + """A DB security group isn't allowed for this action.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSecurityGroupQuotaExceededFault(ServiceError, _SerdeShape): + """ + The request would result in the user exceeding the allowed number of DB + security groups. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBShardGroup(_SerdeShape): + """Contains the details for an Amazon RDS DB shard group.""" + + db_shard_group_resource_id: str | None = ... + """ + The Amazon Web Services Region-unique, immutable identifier for the DB + shard group. + """ + db_shard_group_identifier: str | None = ... + """The name of the DB shard group.""" + db_cluster_identifier: str | None = ... + """The name of the primary DB cluster for the DB shard group.""" + max_acu: float | None = ... + """ + The maximum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + min_acu: float | None = ... + """ + The minimum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + compute_redundancy: int | None = ... + """ + Specifies whether to create standby DB shard groups for the DB shard + group. Valid values are the following: + + - 0 - Creates a DB shard group without a standby DB shard group. This is + the default value. + + - 1 - Creates a DB shard group with a standby DB shard group in a + different Availability Zone (AZ). + + - 2 - Creates a DB shard group with two standby DB shard groups in two + different AZs. + """ + status: str | None = ... + """The status of the DB shard group.""" + publicly_accessible: bool | None = ... + """ + Indicates whether the DB shard group is publicly accessible. + + When the DB shard group is publicly accessible, its Domain Name System + (DNS) endpoint resolves to the private IP address from within the DB + shard group's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB shard group's VPC. Access to the DB + shard group is ultimately controlled by the security group it uses. That + public access isn't permitted if the security group assigned to the DB + shard group doesn't permit it. + + When the DB shard group isn't publicly accessible, it is an internal DB + shard group with a DNS name that resolves to a private IP address. + + For more information, see CreateDBShardGroup. + + This setting is only for Aurora Limitless Database. + """ + endpoint: str | None = ... + """The connection endpoint for the DB shard group.""" + db_shard_group_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB shard group.""" + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class DBShardGroupAlreadyExistsFault(ServiceError, _SerdeShape): + """ + The specified DB shard group name must be unique in your Amazon Web + Services account in the specified Amazon Web Services Region. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBShardGroupNotFoundFault(ServiceError, _SerdeShape): + """The specified DB shard group name wasn't found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSnapshot(_SerdeShape): + """ + Contains the details of an Amazon RDS DB snapshot. + + This data type is used as a response element in the + `DescribeDBSnapshots` action. + """ + + db_snapshot_identifier: str | None = ... + """Specifies the identifier for the DB snapshot.""" + db_instance_identifier: str | None = ... + """ + Specifies the DB instance identifier of the DB instance this DB snapshot + was created from. + """ + snapshot_create_time: datetime | None = ... + """ + Specifies when the snapshot was taken in Coordinated Universal Time + (UTC). Changes for the copy when the snapshot is copied. + """ + engine: str | None = ... + """Specifies the name of the database engine.""" + allocated_storage: int | None = ... + """Specifies the allocated storage size in gibibytes (GiB).""" + status: str | None = ... + """Specifies the status of this DB snapshot.""" + port: int | None = ... + """ + Specifies the port that the database engine was listening on at the time + of the snapshot. + """ + availability_zone: str | None = ... + """ + Specifies the name of the Availability Zone the DB instance was located + in at the time of the DB snapshot. + """ + vpc_id: str | None = ... + """Provides the VPC ID associated with the DB snapshot.""" + instance_create_time: datetime | None = ... + """ + Specifies the time in Coordinated Universal Time (UTC) when the DB + instance, from which the snapshot was taken, was created. + """ + master_username: str | None = ... + """Provides the master username for the DB snapshot.""" + engine_version: str | None = ... + """Specifies the version of the database engine.""" + license_model: str | None = ... + """License model information for the restored DB instance.""" + snapshot_type: str | None = ... + """Provides the type of the DB snapshot.""" + iops: int | None = ... + """ + Specifies the Provisioned IOPS (I/O operations per second) value of the + DB instance at the time of the snapshot. + """ + storage_throughput: int | None = ... + """Specifies the storage throughput for the DB snapshot.""" + option_group_name: str | None = ... + """Provides the option group name for the DB snapshot.""" + percent_progress: int | None = ... + """The percentage of the estimated data that has been transferred.""" + source_region: str | None = ... + """ + The Amazon Web Services Region that the DB snapshot was created in or + copied from. + """ + source_db_snapshot_identifier: str | None = ... + """ + The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was + copied from. It only has a value in the case of a cross-account or + cross-Region copy. + """ + storage_type: str | None = ... + """Specifies the storage type associated with DB snapshot.""" + tde_credential_arn: str | None = ... + """ + The ARN from the key store with which to associate the instance for TDE + encryption. + """ + encrypted: bool | None = ... + """Indicates whether the DB snapshot is encrypted.""" + storage_encryption_type: str | None = ... + """ + The type of encryption used to protect data at rest in the DB snapshot. + Possible values: + + - `none` - The DB snapshot is not encrypted. + + - `sse-rds` - The DB snapshot is encrypted using an Amazon Web Services + owned KMS key. + + - `sse-kms` - The DB snapshot is encrypted using a customer managed KMS + key or Amazon Web Services managed KMS key. + """ + backup_retention_period: int | None = ... + """The number of days for which automatic DB snapshots are retained.""" + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, as determined by the + `BackupRetentionPeriod`. + """ + kms_key_id: str | None = ... + """ + If `Encrypted` is true, the Amazon Web Services KMS key identifier for + the encrypted DB snapshot. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + """ + db_snapshot_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB snapshot.""" + timezone: str | None = ... + """ + The time zone of the DB snapshot. In most cases, the `Timezone` element + is empty. `Timezone` content appears only for snapshots taken from + Microsoft SQL Server DB instances that were created with a time zone + specified. + """ + iam_database_authentication_enabled: bool | None = ... + """ + Indicates whether mapping of Amazon Web Services Identity and Access + Management (IAM) accounts to database accounts is enabled. + """ + processor_features: list[ProcessorFeature] | None = ... + """ + The number of CPU cores and the number of threads per core for the DB + instance class of the DB instance when the DB snapshot was created. + """ + dbi_resource_id: str | None = ... + """ + The identifier for the source DB instance, which can't be changed and + which is unique to an Amazon Web Services Region. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + snapshot_target: str | None = ... + """ + Specifies where manual snapshots are stored: Dedicated Local Zones, + Amazon Web Services Outposts or the Amazon Web Services Region. + """ + original_snapshot_create_time: datetime | None = ... + """ + Specifies the time of the CreateDBSnapshot operation in Coordinated + Universal Time (UTC). Doesn't change when the snapshot is copied. + """ + snapshot_database_time: datetime | None = ... + """ + The timestamp of the most recent transaction applied to the database + that you're backing up. Thus, if you restore a snapshot, + SnapshotDatabaseTime is the most recent transaction in the restored DB + instance. In contrast, originalSnapshotCreateTime specifies the system + time that the snapshot completed. + + If you back up a read replica, you can determine the replica lag by + comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For + example, if originalSnapshotCreateTime is two hours later than + SnapshotDatabaseTime, then the replica lag is two hours. + """ + db_system_id: str | None = ... + """ + The Oracle system identifier (SID), which is the name of the Oracle + database instance that manages your database files. The Oracle SID is + also the name of your CDB. + """ + multi_tenant: bool | None = ... + """ + Indicates whether the snapshot is of a DB instance using the + multi-tenant configuration (TRUE) or the single-tenant configuration + (FALSE). + """ + dedicated_log_volume: bool | None = ... + """ + Indicates whether the DB instance has a dedicated log volume (DLV) + enabled. + """ + additional_storage_volumes: list[AdditionalStorageVolume] | None = ... + """ + The additional storage volumes associated with the DB snapshot. RDS + supports additional storage volumes for RDS for Oracle and RDS for SQL + Server. + """ + snapshot_availability_zone: str | None = ... + """ + Specifies the name of the Availability Zone where RDS stores the DB + snapshot. This value is valid only for snapshots that RDS stores on a + Dedicated Local Zone. + """ + full_snapshot_size_in_bytes: int | None = ... + """ + The full size of the DB snapshot, in bytes. + + Warning: + This is not the incremental size of the snapshot. This is the full + snapshot size and represents the size of all the blocks that were + written to the source volume at the time the snapshot was created. + """ + +@dataclass(kw_only=True) +class DBSnapshotAlreadyExistsFault(ServiceError, _SerdeShape): + """`DBSnapshotIdentifier` is already used by an existing snapshot.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSnapshotAttribute(_SerdeShape): + """ + Contains the name and values of a manual DB snapshot attribute + + Manual DB snapshot attributes are used to authorize other Amazon Web + Services accounts to restore a manual DB snapshot. For more information, + see the `ModifyDBSnapshotAttribute` API. + """ + + attribute_name: str | None = ... + """ + The name of the manual DB snapshot attribute. + + The attribute named `restore` refers to the list of Amazon Web Services + accounts that have permission to copy or restore the manual DB cluster + snapshot. For more information, see the `ModifyDBSnapshotAttribute` API + action. + """ + attribute_values: list[str] | None = ... + """ + The value or values for the manual DB snapshot attribute. + + If the `AttributeName` field is set to `restore`, then this element + returns a list of IDs of the Amazon Web Services accounts that are + authorized to copy or restore the manual DB snapshot. If a value of + `all` is in the list, then the manual DB snapshot is public and + available for any Amazon Web Services account to copy or restore. + """ + +@dataclass(kw_only=True) +class DBSnapshotAttributesResult(_SerdeShape): + """ + Contains the results of a successful call to the + `DescribeDBSnapshotAttributes` API action. + + Manual DB snapshot attributes are used to authorize other Amazon Web + Services accounts to copy or restore a manual DB snapshot. For more + information, see the `ModifyDBSnapshotAttribute` API action. + """ + + db_snapshot_identifier: str | None = ... + """The identifier of the manual DB snapshot that the attributes apply to.""" + db_snapshot_attributes: list[DBSnapshotAttribute] | None = ... + """The list of attributes and values for the manual DB snapshot.""" + +@dataclass(kw_only=True) +class DBSnapshotNotFoundFault(ServiceError, _SerdeShape): + """`DBSnapshotIdentifier` doesn't refer to an existing DB snapshot.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSnapshotTenantDatabase(_SerdeShape): + """ + Contains the details of a tenant database in a snapshot of a DB + instance. + """ + + db_snapshot_identifier: str | None = ... + """The identifier for the snapshot of the DB instance.""" + db_instance_identifier: str | None = ... + """The ID for the DB instance that contains the tenant databases.""" + dbi_resource_id: str | None = ... + """ + The resource identifier of the source CDB instance. This identifier + can't be changed and is unique to an Amazon Web Services Region. + """ + engine_name: str | None = ... + """The name of the database engine.""" + snapshot_type: str | None = ... + """The type of DB snapshot.""" + tenant_database_create_time: datetime | None = ... + """ + The time the DB snapshot was taken, specified in Coordinated Universal + Time (UTC). If you copy the snapshot, the creation time changes. + """ + tenant_db_name: str | None = ... + """The name of the tenant database.""" + master_username: str | None = ... + """The master username of the tenant database.""" + tenant_database_resource_id: str | None = ... + """The resource ID of the tenant database.""" + character_set_name: str | None = ... + """The name of the character set of a tenant database.""" + db_snapshot_tenant_database_arn: str | None = ... + """The Amazon Resource Name (ARN) for the snapshot tenant database.""" + nchar_character_set_name: str | None = ... + """The `NCHAR` character set name of the tenant database.""" + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class DBSnapshotTenantDatabaseNotFoundFault(ServiceError, _SerdeShape): + """The specified snapshot tenant database wasn't found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSubnetGroup(_SerdeShape): + """ + Contains the details of an Amazon RDS DB subnet group. + + This data type is used as a response element in the + `DescribeDBSubnetGroups` action. + """ + + db_subnet_group_name: str | None = ... + """The name of the DB subnet group.""" + db_subnet_group_description: str | None = ... + """Provides the description of the DB subnet group.""" + vpc_id: str | None = ... + """Provides the VpcId of the DB subnet group.""" + subnet_group_status: str | None = ... + """Provides the status of the DB subnet group.""" + subnets: list[Subnet] | None = ... + """ + Contains a list of `Subnet` elements. The list of subnets shown here + might not reflect the current state of your VPC. For the most up-to-date + information, we recommend checking your VPC configuration directly. + """ + db_subnet_group_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB subnet group.""" + supported_network_types: list[str] | None = ... + """ + The network type of the DB subnet group. + + Valid values: + + - `IPV4` + + - `DUAL` + + A `DBSubnetGroup` can support only the IPv4 protocol or the IPv4 and the + IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon RDS User Guide.* + """ + +@dataclass(kw_only=True) +class DBSubnetGroupAlreadyExistsFault(ServiceError, _SerdeShape): + """`DBSubnetGroupName` is already used by an existing DB subnet group.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSubnetGroupDoesNotCoverEnoughAZs(ServiceError, _SerdeShape): + """ + Subnets in the DB subnet group should cover at least two Availability + Zones unless there is only one Availability Zone. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSubnetGroupNotAllowedFault(ServiceError, _SerdeShape): + """ + The DBSubnetGroup shouldn't be specified while creating read replicas + that lie in the same region as the source instance. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSubnetGroupNotFoundFault(ServiceError, _SerdeShape): + """`DBSubnetGroupName` doesn't refer to an existing DB subnet group.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSubnetGroupQuotaExceededFault(ServiceError, _SerdeShape): + """ + The request would result in the user exceeding the allowed number of DB + subnet groups. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBSubnetQuotaExceededFault(ServiceError, _SerdeShape): + """ + The request would result in the user exceeding the allowed number of + subnets in a DB subnet groups. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DBUpgradeDependencyFailureFault(ServiceError, _SerdeShape): + """ + The DB upgrade failed because a resource the DB depends on can't be + modified. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class DefaultAuthScheme(UnknownEnumMixin, StrEnum): + IAM_AUTH = "IAM_AUTH" + NONE = "NONE" + +@dataclass(kw_only=True) +class DeleteBlueGreenDeploymentInput(_SerdeShape): + """Dataclass for DeleteBlueGreenDeploymentInput structure.""" + + blue_green_deployment_identifier: str | None = ... + """ + The unique identifier of the blue/green deployment to delete. This + parameter isn't case-sensitive. + + Constraints: + + - Must match an existing blue/green deployment identifier. + """ + delete_target: bool | None = ... + """ + Specifies whether to delete the resources in the green environment. You + can't specify this option if the blue/green deployment + [status](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_BlueGreenDeployment.html) + is `SWITCHOVER_COMPLETED`. + """ + +@dataclass(kw_only=True) +class DeleteBlueGreenDeploymentOutput(_SerdeShape): + """Dataclass for DeleteBlueGreenDeploymentOutput structure.""" + + blue_green_deployment: BlueGreenDeployment | None = ... + """ + Details about a blue/green deployment. + + For more information, see [Using Amazon RDS Blue/Green Deployments for + database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) + in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green + Deployments for database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) + in the *Amazon Aurora User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteCustomDBEngineVersionInput(_SerdeShape): + """Dataclass for DeleteCustomDBEngineVersionInput structure.""" + + engine: str | None = ... + """ + The database engine. + + RDS Custom for Oracle supports the following values: + + - `custom-oracle-ee` + + - `custom-oracle-ee-cdb` + + - `custom-oracle-se2` + + - `custom-oracle-se2-cdb` + + RDS Custom for SQL Server supports the following values: + + - `custom-sqlserver-ee` + + - `custom-sqlserver-se` + + - `custom-sqlserver-web` + + - `custom-sqlserver-dev` + + RDS for SQL Server supports the following values: + + - `sqlserver-ee` (Bring Your Own Media) + + - `sqlserver-se` (Bring Your Own Media) + + - `sqlserver-dev-ee` + """ + engine_version: str | None = ... + """ + The custom engine version (CEV) for your DB instance. This option is + required for RDS Custom, but optional for Amazon RDS. The combination of + `Engine` and `EngineVersion` is unique per customer per Amazon Web + Services Region. + """ + +@dataclass(kw_only=True) +class DeleteCustomDBEngineVersionOutput(_SerdeShape): + """ + This data type is used as a response element in the action + `DescribeDBEngineVersions`. + """ + + engine: str | None = ... + """The name of the database engine.""" + major_engine_version: str | None = ... + """The major engine version of the CEV.""" + engine_version: str | None = ... + """The version number of the database engine.""" + database_installation_files_s3_bucket_name: str | None = ... + """ + The name of the Amazon S3 bucket that contains your database + installation files. + """ + database_installation_files_s3_prefix: str | None = ... + """ + The Amazon S3 directory that contains the database installation files. + If not specified, then no prefix is assumed. + """ + database_installation_files: list[str] | None = ... + """ + The database installation files (ISO and EXE) that were uploaded to + Amazon S3 and used to import the database engine version to Amazon RDS. + Returned for RDS for SQL Server engine versions (`sqlserver-ee`, + `sqlserver-se`, and `sqlserver-dev-ee`) created from customer-supplied + installation media. + """ + custom_db_engine_version_manifest: str | None = ... + """ + JSON string that lists the installation files and parameters that RDS + Custom uses to create a custom engine version (CEV). RDS Custom applies + the patches in the order in which they're listed in the manifest. You + can set the Oracle home, Oracle base, and UNIX/Linux user and group + using the installation parameters. For more information, see [JSON + fields in the CEV + manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) + in the *Amazon RDS User Guide*. + """ + db_parameter_group_family: str | None = ... + """The name of the DB parameter group family for the database engine.""" + db_engine_description: str | None = ... + """The description of the database engine.""" + db_engine_version_arn: str | None = ... + """The ARN of the custom engine version.""" + db_engine_version_description: str | None = ... + """The description of the database engine version.""" + default_character_set: CharacterSet | None = ... + """ + The default character set for new instances of this engine version, if + the `CharacterSetName` parameter of the CreateDBInstance API isn't + specified. + """ + failure_reason: str | None = ... + """ + The reason that the custom engine version creation failed with an + `incompatible-installation-media` status. Applicable to RDS for SQL + Server engine versions (`sqlserver-ee`, `sqlserver-se`, and + `sqlserver-dev-ee`). + """ + image: CustomDBEngineVersionAMI | None = ... + """The EC2 image""" + db_engine_media_type: str | None = ... + """ + The source of the installation media for this engine version. A value of + `Customer Provided` indicates that the engine version was created from + customer-supplied installation media using + `CreateCustomDBEngineVersion`. Applicable to RDS Custom for SQL Server + and to RDS for SQL Server engine versions (`sqlserver-ee` and + `sqlserver-se` with the `bring-your-own-media` license model, and + `sqlserver-dev-ee`). + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted CEV. This + parameter is required for RDS Custom, but optional for Amazon RDS. + """ + create_time: datetime | None = ... + """The creation time of the DB engine version.""" + supported_character_sets: list[CharacterSet] | None = ... + """ + A list of the character sets supported by this engine for the + `CharacterSetName` parameter of the `CreateDBInstance` operation. + """ + supported_nchar_character_sets: list[CharacterSet] | None = ... + """ + A list of the character sets supported by the Oracle DB engine for the + `NcharCharacterSetName` parameter of the `CreateDBInstance` operation. + """ + valid_upgrade_target: list[UpgradeTarget] | None = ... + """ + A list of engine versions that this database engine version can be + upgraded to. + """ + supported_timezones: list[Timezone] | None = ... + """ + A list of the time zones supported by this engine for the `Timezone` + parameter of the `CreateDBInstance` action. + """ + exportable_log_types: list[str] | None = ... + """ + The types of logs that the database engine has available for export to + CloudWatch Logs. + """ + supports_log_exports_to_cloudwatch_logs: bool | None = ... + """ + Indicates whether the engine version supports exporting the log types + specified by ExportableLogTypes to CloudWatch Logs. + """ + supports_read_replica: bool | None = ... + """Indicates whether the database engine version supports read replicas.""" + supported_engine_modes: list[str] | None = ... + """A list of the supported DB engine modes.""" + supported_feature_names: list[str] | None = ... + """ + A list of features supported by the DB engine. + + The supported features vary by DB engine and DB engine version. + + To determine the supported features for a specific DB engine and DB + engine version using the CLI, use the following command: + + `aws rds describe-db-engine-versions --engine --engine-version ` + + For example, to determine the supported features for RDS for PostgreSQL + version 13.3 using the CLI, use the following command: + + `aws rds describe-db-engine-versions --engine postgres --engine-version 13.3` + + The supported features are listed under `SupportedFeatureNames` in the + output. + """ + status: str | None = ... + """The status of the DB engine version, either `available` or `deprecated`.""" + supports_parallel_query: bool | None = ... + """ + Indicates whether you can use Aurora parallel query with a specific DB + engine version. + """ + supports_global_databases: bool | None = ... + """ + Indicates whether you can use Aurora global databases with a specific DB + engine version. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + supports_babelfish: bool | None = ... + """ + Indicates whether the engine version supports Babelfish for Aurora + PostgreSQL. + """ + supports_limitless_database: bool | None = ... + """ + Indicates whether the DB engine version supports Aurora Limitless + Database. + """ + supports_certificate_rotation_without_restart: bool | None = ... + """ + Indicates whether the engine version supports rotating the server + certificate without rebooting the DB instance. + """ + supported_ca_certificate_identifiers: list[str] | None = ... + """ + A list of the supported CA certificate identifiers. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + supports_local_write_forwarding: bool | None = ... + """ + Indicates whether the DB engine version supports forwarding write + operations from reader DB instances to the writer DB instance in the DB + cluster. By default, write operations aren't allowed on reader DB + instances. + + Valid for: Aurora DB clusters only + """ + supports_integrations: bool | None = ... + """ + Indicates whether the DB engine version supports zero-ETL integrations + with Amazon Redshift. + """ + serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... + """ + Specifies any Aurora Serverless v2 properties or limits that differ + between Aurora engine versions. You can test the values of this + attribute when deciding which Aurora version to use in a new or upgraded + DB cluster. You can also retrieve the version of an existing DB cluster + and check whether that version supports certain Aurora Serverless v2 + features before you attempt to use those features. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterAutomatedBackupInput(_SerdeShape): + """Dataclass for DeleteDBClusterAutomatedBackupInput structure.""" + + db_cluster_resource_id: str | None = ... + """ + The identifier for the source DB cluster, which can't be changed and + which is unique to an Amazon Web Services Region. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterAutomatedBackupOutput(_SerdeShape): + """Dataclass for DeleteDBClusterAutomatedBackupOutput structure.""" + + db_cluster_automated_backup: DBClusterAutomatedBackup | None = ... + """ + An automated backup of a DB cluster. It consists of system backups, + transaction logs, and the database cluster properties that existed at + the time you deleted the source cluster. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterEndpointInput(_SerdeShape): + """Dataclass for DeleteDBClusterEndpointInput structure.""" + + db_cluster_endpoint_identifier: str | None = ... + """ + The identifier associated with the custom endpoint. This parameter is + stored as a lowercase string. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterEndpointOutput(_SerdeShape): + """ + This data type represents the information you need to connect to an + Amazon Aurora DB cluster. This data type is used as a response element + in the following actions: + + - `CreateDBClusterEndpoint` + + - `DescribeDBClusterEndpoints` + + - `ModifyDBClusterEndpoint` + + - `DeleteDBClusterEndpoint` + + For the data structure that represents Amazon RDS DB instance endpoints, + see `Endpoint`. + """ + + db_cluster_endpoint_identifier: str | None = ... + """ + The identifier associated with the endpoint. This parameter is stored as + a lowercase string. + """ + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the DB cluster associated with the + endpoint. This parameter is stored as a lowercase string. + """ + db_cluster_endpoint_resource_identifier: str | None = ... + """ + A unique system-generated identifier for an endpoint. It remains the + same for the whole life of the endpoint. + """ + endpoint: str | None = ... + """The DNS address of the endpoint.""" + status: str | None = ... + """ + The current status of the endpoint. One of: `creating`, `available`, + `deleting`, `inactive`, `modifying`. The `inactive` state applies to an + endpoint that can't be used for a certain kind of cluster, such as a + `writer` endpoint for a read-only secondary cluster in a global + database. + """ + endpoint_type: str | None = ... + """The type of the endpoint. One of: `READER`, `WRITER`, `CUSTOM`.""" + custom_endpoint_type: str | None = ... + """ + The type associated with a custom endpoint. One of: `READER`, `WRITER`, + `ANY`. + """ + static_members: list[str] | None = ... + """ + List of DB instance identifiers that are part of the custom endpoint + group. + """ + excluded_members: list[str] | None = ... + """ + List of DB instance identifiers that aren't part of the custom endpoint + group. All other eligible instances are reachable through the custom + endpoint. Only relevant if the list of static members is empty. + """ + db_cluster_endpoint_arn: str | None = ... + """The Amazon Resource Name (ARN) for the endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterInput(_SerdeShape): + """""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier for the DB cluster to be deleted. This + parameter isn't case-sensitive. + + Constraints: + + - Must match an existing DBClusterIdentifier. + """ + skip_final_snapshot: bool | None = ... + """ + Specifies whether to skip the creation of a final DB cluster snapshot + before RDS deletes the DB cluster. If you set this value to `true`, RDS + doesn't create a final DB cluster snapshot. If you set this value to + `false` or don't specify it, RDS creates a DB cluster snapshot before + it deletes the DB cluster. By default, this parameter is disabled, so + RDS creates a final DB cluster snapshot. + + Note: + If `SkipFinalSnapshot` is disabled, you must specify a value for the + `FinalDBSnapshotIdentifier` parameter. + """ + final_db_snapshot_identifier: str | None = ... + """ + The DB cluster snapshot identifier of the new DB cluster snapshot + created when `SkipFinalSnapshot` is disabled. + + Note: + If you specify this parameter and also skip the creation of a final DB + cluster snapshot with the `SkipFinalShapshot` parameter, the request + results in an error. + + Constraints: + + - Must be 1 to 255 letters, numbers, or hyphens. + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + """ + delete_automated_backups: bool | None = ... + """ + Specifies whether to remove automated backups immediately after the DB + cluster is deleted. This parameter isn't case-sensitive. The default is + to remove automated backups immediately after the DB cluster is deleted, + unless the Amazon Web Services Backup policy specifies a point-in-time + restore rule. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterOutput(_SerdeShape): + """Dataclass for DeleteDBClusterOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterParameterGroupInput(_SerdeShape): + """""" + + db_cluster_parameter_group_name: str | None = ... + """ + The name of the DB cluster parameter group. + + Constraints: + + - Must be the name of an existing DB cluster parameter group. + + - You can't delete a default DB cluster parameter group. + + - Can't be associated with any DB clusters. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterParameterGroupOutput(_SerdeShape): + """Dataclass for DeleteDBClusterParameterGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterSnapshotInput(_SerdeShape): + """""" + + db_cluster_snapshot_identifier: str | None = ... + """ + The identifier of the DB cluster snapshot to delete. + + Constraints: Must be the name of an existing DB cluster snapshot in the + `available` state. + """ + +@dataclass(kw_only=True) +class DeleteDBClusterSnapshotOutput(_SerdeShape): + """Dataclass for DeleteDBClusterSnapshotOutput structure.""" + + db_cluster_snapshot: DBClusterSnapshot | None = ... + """ + Contains the details for an Amazon RDS DB cluster snapshot + + This data type is used as a response element in the + `DescribeDBClusterSnapshots` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBInstanceAutomatedBackupInput(_SerdeShape): + """Parameter input for the `DeleteDBInstanceAutomatedBackup` operation.""" + + dbi_resource_id: str | None = ... + """ + The identifier for the source DB instance, which can't be changed and + which is unique to an Amazon Web Services Region. + """ + db_instance_automated_backups_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the automated backups to delete, for + example, + `arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE`. + + This setting doesn't apply to RDS Custom. + """ + +@dataclass(kw_only=True) +class DeleteDBInstanceAutomatedBackupOutput(_SerdeShape): + """Dataclass for DeleteDBInstanceAutomatedBackupOutput structure.""" + + db_instance_automated_backup: DBInstanceAutomatedBackup | None = ... + """ + An automated backup of a DB instance. It consists of system backups, + transaction logs, and the database instance properties that existed at + the time you deleted the source instance. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBInstanceInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The DB instance identifier for the DB instance to be deleted. This + parameter isn't case-sensitive. + + Constraints: + + - Must match the name of an existing DB instance. + """ + skip_final_snapshot: bool | None = ... + """ + Specifies whether to skip the creation of a final DB snapshot before + deleting the instance. If you enable this parameter, RDS doesn't create + a DB snapshot. If you don't enable this parameter, RDS creates a DB + snapshot before the DB instance is deleted. By default, skip isn't + enabled, and the DB snapshot is created. + + Note: + If you don't enable this parameter, you must specify the + `FinalDBSnapshotIdentifier` parameter. + + When a DB instance is in a failure state and has a status of `failed`, + `incompatible-restore`, or `incompatible-network`, RDS can delete the + instance only if you enable this parameter. + + If you delete a read replica or an RDS Custom instance, you must enable + this setting. + + This setting is required for RDS Custom. + """ + final_db_snapshot_identifier: str | None = ... + """ + The `DBSnapshotIdentifier` of the new `DBSnapshot` created when the + `SkipFinalSnapshot` parameter is disabled. + + Note: + If you enable this parameter and also enable SkipFinalShapshot, the + command results in an error. + + This setting doesn't apply to RDS Custom. + + Constraints: + + - Must be 1 to 255 letters or numbers. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + - Can't be specified when deleting a read replica. + """ + delete_automated_backups: bool | None = ... + """ + Specifies whether to remove automated backups immediately after the DB + instance is deleted. This parameter isn't case-sensitive. The default + is to remove automated backups immediately after the DB instance is + deleted. + """ + +@dataclass(kw_only=True) +class DeleteDBInstanceOutput(_SerdeShape): + """Dataclass for DeleteDBInstanceOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBParameterGroupInput(_SerdeShape): + """""" + + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group. + + Constraints: + + - Must be the name of an existing DB parameter group + + - You can't delete a default DB parameter group + + - Can't be associated with any DB instances + """ + +@dataclass(kw_only=True) +class DeleteDBParameterGroupOutput(_SerdeShape): + """Dataclass for DeleteDBParameterGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBProxyEndpointInput(_SerdeShape): + """Dataclass for DeleteDBProxyEndpointInput structure.""" + + db_proxy_endpoint_name: str | None = ... + """The name of the DB proxy endpoint to delete.""" + +@dataclass(kw_only=True) +class DeleteDBProxyEndpointOutput(_SerdeShape): + """Dataclass for DeleteDBProxyEndpointOutput structure.""" + + db_proxy_endpoint: DBProxyEndpoint | None = ... + """ + The data structure representing the details of the DB proxy endpoint + that you delete. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBProxyInput(_SerdeShape): + """Dataclass for DeleteDBProxyInput structure.""" + + db_proxy_name: str | None = ... + """The name of the DB proxy to delete.""" + +@dataclass(kw_only=True) +class DeleteDBProxyOutput(_SerdeShape): + """Dataclass for DeleteDBProxyOutput structure.""" + + db_proxy: DBProxy | None = ... + """ + The data structure representing the details of the DB proxy that you + delete. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBSecurityGroupInput(_SerdeShape): + """""" + + db_security_group_name: str | None = ... + """ + The name of the DB security group to delete. + + Note: + You can't delete the default DB security group. + + Constraints: + + - Must be 1 to 255 letters, numbers, or hyphens. + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + - Must not be \"Default\" + """ + +@dataclass(kw_only=True) +class DeleteDBSecurityGroupOutput(_SerdeShape): + """Dataclass for DeleteDBSecurityGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBShardGroupInput(_SerdeShape): + """Dataclass for DeleteDBShardGroupInput structure.""" + + db_shard_group_identifier: str | None = ... + """The name of the DB shard group to delete.""" + +@dataclass(kw_only=True) +class DeleteDBShardGroupOutput(_SerdeShape): + """Contains the details for an Amazon RDS DB shard group.""" + + db_shard_group_resource_id: str | None = ... + """ + The Amazon Web Services Region-unique, immutable identifier for the DB + shard group. + """ + db_shard_group_identifier: str | None = ... + """The name of the DB shard group.""" + db_cluster_identifier: str | None = ... + """The name of the primary DB cluster for the DB shard group.""" + max_acu: float | None = ... + """ + The maximum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + min_acu: float | None = ... + """ + The minimum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + compute_redundancy: int | None = ... + """ + Specifies whether to create standby DB shard groups for the DB shard + group. Valid values are the following: + + - 0 - Creates a DB shard group without a standby DB shard group. This is + the default value. + + - 1 - Creates a DB shard group with a standby DB shard group in a + different Availability Zone (AZ). + + - 2 - Creates a DB shard group with two standby DB shard groups in two + different AZs. + """ + status: str | None = ... + """The status of the DB shard group.""" + publicly_accessible: bool | None = ... + """ + Indicates whether the DB shard group is publicly accessible. + + When the DB shard group is publicly accessible, its Domain Name System + (DNS) endpoint resolves to the private IP address from within the DB + shard group's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB shard group's VPC. Access to the DB + shard group is ultimately controlled by the security group it uses. That + public access isn't permitted if the security group assigned to the DB + shard group doesn't permit it. + + When the DB shard group isn't publicly accessible, it is an internal DB + shard group with a DNS name that resolves to a private IP address. + + For more information, see CreateDBShardGroup. + + This setting is only for Aurora Limitless Database. + """ + endpoint: str | None = ... + """The connection endpoint for the DB shard group.""" + db_shard_group_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB shard group.""" + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBSnapshotInput(_SerdeShape): + """""" + + db_snapshot_identifier: str | None = ... + """ + The DB snapshot identifier. + + Constraints: Must be the name of an existing DB snapshot in the + `available` state. + """ + +@dataclass(kw_only=True) +class DeleteDBSnapshotOutput(_SerdeShape): + """Dataclass for DeleteDBSnapshotOutput structure.""" + + db_snapshot: DBSnapshot | None = ... + """ + Contains the details of an Amazon RDS DB snapshot. + + This data type is used as a response element in the + `DescribeDBSnapshots` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteDBSubnetGroupInput(_SerdeShape): + """""" + + db_subnet_group_name: str | None = ... + """ + The name of the database subnet group to delete. + + Note: + You can't delete the default subnet group. + + Constraints: Must match the name of an existing DBSubnetGroup. Must not + be default. + + Example: `mydbsubnetgroup` + """ + +@dataclass(kw_only=True) +class DeleteDBSubnetGroupOutput(_SerdeShape): + """Dataclass for DeleteDBSubnetGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteEventSubscriptionInput(_SerdeShape): + """""" + + subscription_name: str | None = ... + """The name of the RDS event notification subscription you want to delete.""" + +@dataclass(kw_only=True) +class DeleteEventSubscriptionOutput(_SerdeShape): + """Dataclass for DeleteEventSubscriptionOutput structure.""" + + event_subscription: EventSubscription | None = ... + """ + Contains the results of a successful invocation of the + `DescribeEventSubscriptions` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteGlobalClusterInput(_SerdeShape): + """Dataclass for DeleteGlobalClusterInput structure.""" + + global_cluster_identifier: str | None = ... + """The cluster identifier of the global database cluster being deleted.""" + +@dataclass(kw_only=True) +class DeleteGlobalClusterOutput(_SerdeShape): + """Dataclass for DeleteGlobalClusterOutput structure.""" + + global_cluster: GlobalCluster | None = ... + """A data type representing an Aurora global database.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteIntegrationInput(_SerdeShape): + """Dataclass for DeleteIntegrationInput structure.""" + + integration_identifier: str | None = ... + """The unique identifier of the integration.""" + +@dataclass(kw_only=True) +class DeleteIntegrationOutput(_SerdeShape): + """A zero-ETL integration with Amazon Redshift.""" + + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the database used as the source for + replication. + """ + target_arn: str | None = ... + """ + The ARN of the Redshift data warehouse used as the target for + replication. + """ + integration_name: str | None = ... + """The name of the integration.""" + integration_arn: str | None = ... + """The ARN of the integration.""" + kms_key_id: str | None = ... + """ + The Amazon Web Services Key Management System (Amazon Web Services KMS) + key identifier for the key used to to encrypt the integration. + """ + additional_encryption_context: dict[str, str] | None = ... + """ + The encryption context for the integration. For more information, see + [Encryption + context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) + in the *Amazon Web Services Key Management Service Developer Guide*. + """ + status: str | None = ... + """The current status of the integration.""" + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + data_filter: str | None = ... + """ + Data filters for the integration. These filters determine which tables + from the source database are sent to the target Amazon Redshift data + warehouse. + """ + description: str | None = ... + """A description of the integration.""" + create_time: datetime | None = ... + """ + The time when the integration was created, in Universal Coordinated Time + (UTC). + """ + errors: list[IntegrationError] | None = ... + """Any errors associated with the integration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteOptionGroupInput(_SerdeShape): + """""" + + option_group_name: str | None = ... + """ + The name of the option group to be deleted. + + Note: + You can't delete default option groups. + """ + +@dataclass(kw_only=True) +class DeleteOptionGroupOutput(_SerdeShape): + """Dataclass for DeleteOptionGroupOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteTenantDatabaseInput(_SerdeShape): + """Dataclass for DeleteTenantDatabaseInput structure.""" + + db_instance_identifier: str | None = ... + """ + The user-supplied identifier for the DB instance that contains the + tenant database that you want to delete. + """ + tenant_db_name: str | None = ... + """ + The user-supplied name of the tenant database that you want to remove + from your DB instance. Amazon RDS deletes the tenant database with this + name. This parameter isn't case-sensitive. + """ + skip_final_snapshot: bool | None = ... + """ + Specifies whether to skip the creation of a final DB snapshot before + removing the tenant database from your DB instance. If you enable this + parameter, RDS doesn't create a DB snapshot. If you don't enable this + parameter, RDS creates a DB snapshot before it deletes the tenant + database. By default, RDS doesn't skip the final snapshot. If you + don't enable this parameter, you must specify the + `FinalDBSnapshotIdentifier` parameter. + """ + final_db_snapshot_identifier: str | None = ... + """ + The `DBSnapshotIdentifier` of the new `DBSnapshot` created when the + `SkipFinalSnapshot` parameter is disabled. + + Note: + If you enable this parameter and also enable `SkipFinalShapshot`, the + command results in an error. + """ + +@dataclass(kw_only=True) +class DeleteTenantDatabaseOutput(_SerdeShape): + """Dataclass for DeleteTenantDatabaseOutput structure.""" + + tenant_database: TenantDatabase | None = ... + """ + A tenant database in the DB instance. This data type is an element in + the response to the `DescribeTenantDatabases` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/models_1.pyi b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/models_1.pyi new file mode 100644 index 000000000..0b54f1726 --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/models_1.pyi @@ -0,0 +1,9424 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AccountQuota, + BlueGreenDeployment, + Certificate, + CharacterSet, + CloudwatchLogsExportConfiguration, + ConnectionPoolConfiguration, + CustomDBEngineVersionAMI, + DBCapacityReservation, + DBCluster, + DBClusterAutomatedBackup, + DBClusterBacktrack, + DBClusterEndpoint, + DBClusterParameterGroup, + DBClusterSnapshot, + DBClusterSnapshotAttributesResult, + DBEngineVersion, + DBInstance, + DBInstanceAutomatedBackup, + DBMajorEngineVersion, + DBParameterGroup, + DBProxy, + DBProxyEndpoint, + DBProxyTarget, + DBProxyTargetGroup, + DBRecommendation, + DBSecurityGroup, + DBSecurityGroupMembership, + DBShardGroup, + DBSnapshot, + DBSnapshotAttributesResult, + DBSnapshotTenantDatabase, + DBSubnetGroup, + OptionConfiguration, + OptionGroup, + OptionGroupOption, + OptionSetting, + OrderableDBInstanceOption, + Parameter, + PerformanceInsightsMetricQuery, + PerformanceIssueDetails, + ProcessorFeature, + RecommendedActionUpdate, + ReferenceDetails, + ReservedDBInstance, + ReservedDBInstancesOffering, + ResourcePendingMaintenanceActions, + ScalingConfiguration, + ServerlessV2FeaturesSupport, + ServerlessV2PlatformVersionInfo, + ServerlessV2ScalingConfiguration, + ServiceError, + SourceRegion, + Tag, + TagSpecification, + TenantDatabase, + Timezone, + UpgradeTarget, + UserAuthConfig, + ValidDBInstanceModificationsMessage, + VpcSecurityGroupMembership, + _SerdeShape, +) + +@dataclass(kw_only=True) +class DeregisterDBProxyTargetsInput(_SerdeShape): + """Dataclass for DeregisterDBProxyTargetsInput structure.""" + + db_proxy_name: str | None = ... + """ + The identifier of the `DBProxy` that is associated with the + `DBProxyTargetGroup`. + """ + target_group_name: str | None = ... + """The identifier of the `DBProxyTargetGroup`.""" + db_instance_identifiers: list[str] | None = ... + """One or more DB instance identifiers.""" + db_cluster_identifiers: list[str] | None = ... + """One or more DB cluster identifiers.""" + +@dataclass(kw_only=True) +class DeregisterDBProxyTargetsOutput(_SerdeShape): + """Dataclass for DeregisterDBProxyTargetsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeAccountAttributesInput(_SerdeShape): + """""" + +@dataclass(kw_only=True) +class DescribeAccountAttributesOutput(_SerdeShape): + """Data returned by the **DescribeAccountAttributes** action.""" + + account_quotas: list[AccountQuota] | None = ... + """ + A list of `AccountQuota` objects. Within this list, each quota has a + name, a count of usage toward the quota maximum, and a maximum value for + the quota. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeBlueGreenDeploymentsInput(_SerdeShape): + """Dataclass for DescribeBlueGreenDeploymentsInput structure.""" + + blue_green_deployment_identifier: str | None = ... + """ + The blue/green deployment identifier. If you specify this parameter, the + response only includes information about the specific blue/green + deployment. This parameter isn't case-sensitive. + + Constraints: + + - Must match an existing blue/green deployment identifier. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more blue/green deployments to describe. + + Valid Values: + + - `blue-green-deployment-identifier` - Accepts system-generated + identifiers for blue/green deployments. The results list only includes + information about the blue/green deployments with the specified + identifiers. + + - `blue-green-deployment-name` - Accepts user-supplied names for + blue/green deployments. The results list only includes information + about the blue/green deployments with the specified names. + + - `source` - Accepts source databases for a blue/green deployment. The + results list only includes information about the blue/green + deployments with the specified source databases. + + - `target` - Accepts target databases for a blue/green deployment. The + results list only includes information about the blue/green + deployments with the specified target databases. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeBlueGreenDeployments` request. If you specify this parameter, + the response only includes records beyond the marker, up to the value + specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: + + - Must be a minimum of 20. + + - Can't exceed 100. + """ + +@dataclass(kw_only=True) +class DescribeBlueGreenDeploymentsOutput(_SerdeShape): + """Dataclass for DescribeBlueGreenDeploymentsOutput structure.""" + + blue_green_deployments: list[BlueGreenDeployment] | None = ... + """ + A list of blue/green deployments in the current account and Amazon Web + Services Region. + """ + marker: str | None = ... + """ + A pagination token that can be used in a later + `DescribeBlueGreenDeployments` request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeCertificatesInput(_SerdeShape): + """""" + + certificate_identifier: str | None = ... + """ + The user-supplied certificate identifier. If this parameter is + specified, information for only the identified certificate is returned. + This parameter isn't case-sensitive. + + Constraints: + + - Must match an existing CertificateIdentifier. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeCertificates` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeCertificatesOutput(_SerdeShape): + """Data returned by the **DescribeCertificates** action.""" + + default_certificate_for_new_launches: str | None = ... + """ + The default root CA for new databases created by your Amazon Web + Services account. This is either the root CA override set on your Amazon + Web Services account or the system default CA for the Region if no + override exists. To override the default CA, use the + `ModifyCertificates` operation. + """ + certificates: list[Certificate] | None = ... + """The list of `Certificate` objects for the Amazon Web Services account.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeCertificates` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords` . + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBCapacityReservationsInput(_SerdeShape): + """Dataclass for DescribeDBCapacityReservationsInput structure.""" + + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation to describe. + You can specify the identifier, which has the prefix `dbcr-`, or the + reservation name. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBCapacityReservations` request. If this parameter is + specified, the response includes only records beyond the marker, up to + the value specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: + + - Must be a minimum of 20. + + - Can't exceed 100. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies which DB capacity reservations to describe. + + Supported filters: + + - `db-capacity-reservation-name` - Accepts DB capacity reservation + names. The response includes only the reservations that these names + identify. Use this filter to describe several reservations by name in + one request. + + - `state` - Accepts reservation states. The response includes only the + reservations in these states. + + - `engine` - Accepts database engine names. The response includes only + the reservations that reserve capacity for these engines. + + - `db-instance-class` - Accepts DB instance classes. The response + includes only the reservations that reserve capacity for these DB + instance classes. + + - `availability-zone` - Accepts Availability Zone names. The response + includes only the reservations that cover these Availability Zones. + + When you specify more than one value for a filter, the response includes + the reservations that match any of those values. When you specify more + than one filter, the response includes only the reservations that match + every filter. + + Amazon RDS rejects the request when a filter name isn't in this list, + or when a filter specifies no values. + + Note: + The `state` filter doesn't accept `expired`. To find an expired + reservation, compare `EndDate` against the current date and time. + """ + +@dataclass(kw_only=True) +class DescribeDBCapacityReservationsOutput(_SerdeShape): + """Dataclass for DescribeDBCapacityReservationsOutput structure.""" + + db_capacity_reservations: list[DBCapacityReservation] | None = ... + """A list of DB capacity reservations.""" + marker: str | None = ... + """ + A pagination token that you can use in a later + `DescribeDBCapacityReservations` request. If this value is returned, + more records are available beyond this response. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterAutomatedBackupsInput(_SerdeShape): + """Dataclass for DescribeDBClusterAutomatedBackupsInput structure.""" + + db_cluster_resource_id: str | None = ... + """ + The resource ID of the DB cluster that is the source of the automated + backup. This parameter isn't case-sensitive. + """ + db_cluster_identifier: str | None = ... + """ + (Optional) The user-supplied DB cluster identifier. If this parameter is + specified, it must match the identifier of an existing DB cluster. It + returns information from the specific DB cluster's automated backup. + This parameter isn't case-sensitive. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies which resources to return based on status. + + Supported filters are the following: + + - `status` + + - `retained` - Automated backups for deleted clusters and after backup + replication is stopped. + + - `db-cluster-id` - Accepts DB cluster identifiers and Amazon Resource + Names (ARNs). The results list includes only information about the DB + cluster automated backups identified by these ARNs. + + - `db-cluster-resource-id` - Accepts DB resource identifiers and Amazon + Resource Names (ARNs). The results list includes only information + about the DB cluster resources identified by these ARNs. + + Returns all resources by default. The status for each resource is + specified in the response. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + """ + marker: str | None = ... + """ + The pagination token provided in the previous request. If this parameter + is specified the response includes only records beyond the marker, up to + `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterAutomatedBackupsOutput(_SerdeShape): + """Dataclass for DescribeDBClusterAutomatedBackupsOutput structure.""" + + marker: str | None = ... + """ + The pagination token provided in the previous request. If this parameter + is specified the response includes only records beyond the marker, up to + `MaxRecords`. + """ + db_cluster_automated_backups: list[DBClusterAutomatedBackup] | None = ... + """A list of `DBClusterAutomatedBackup` backups.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterBacktracksInput(_SerdeShape): + """""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the DB cluster to be described. This + parameter is stored as a lowercase string. + + Constraints: + + - Must contain from 1 to 63 alphanumeric characters or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `my-cluster1` + """ + backtrack_identifier: str | None = ... + """ + If specified, this value is the backtrack identifier of the backtrack to + be described. + + Constraints: + + - Must contain a valid universally unique identifier (UUID). For more + information about UUIDs, see [Universally unique + identifier](https://en.wikipedia.org/wiki/Universally_unique_identifier). + + Example: `123e4567-e89b-12d3-a456-426655440000` + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more DB clusters to describe. Supported + filters include the following: + + - `db-cluster-backtrack-id` - Accepts backtrack identifiers. The results + list includes information about only the backtracks identified by + these identifiers. + + - `db-cluster-backtrack-status` - Accepts any of the following backtrack + status values: + + - `applying` + + - `completed` + + - `failed` + + - `pending` + + The results list includes information about only the backtracks + identified by these values. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBClusterBacktracks` request. If this parameter is specified, + the response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterBacktracksOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBClusterBacktracks` action. + """ + + marker: str | None = ... + """ + A pagination token that can be used in a later + `DescribeDBClusterBacktracks` request. + """ + db_cluster_backtracks: list[DBClusterBacktrack] | None = ... + """Contains a list of backtracks for the user.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterEndpointsInput(_SerdeShape): + """Dataclass for DescribeDBClusterEndpointsInput structure.""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the DB cluster associated with the + endpoint. This parameter is stored as a lowercase string. + """ + db_cluster_endpoint_identifier: str | None = ... + """ + The identifier of the endpoint to describe. This parameter is stored as + a lowercase string. + """ + filters: list[Filter] | None = ... + """ + A set of name-value pairs that define which endpoints to include in the + output. The filters are specified as name-value pairs, in the format + `Name=`*`endpoint_type`*`,Values=`*`endpoint_type1`*`,`*`endpoint_type2`*`,...`. + `Name` can be one of: `db-cluster-endpoint-type`, + `db-cluster-endpoint-custom-type`, `db-cluster-endpoint-id`, + `db-cluster-endpoint-status`. `Values` for the + ` db-cluster-endpoint-type` filter can be one or more of: `reader`, + `writer`, `custom`. `Values` for the `db-cluster-endpoint-custom-type` + filter can be one or more of: `reader`, `any`. `Values` for the + `db-cluster-endpoint-status` filter can be one or more of: `available`, + `creating`, `deleting`, `inactive`, `modifying`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBClusterEndpoints` request. If this parameter is specified, + the response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterEndpointsOutput(_SerdeShape): + """Dataclass for DescribeDBClusterEndpointsOutput structure.""" + + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBClusterEndpoints` request. If this parameter is specified, + the response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + db_cluster_endpoints: list[DBClusterEndpoint] | None = ... + """ + Contains the details of the endpoints associated with the cluster and + matching any filter conditions. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterParameterGroupsInput(_SerdeShape): + """""" + + db_cluster_parameter_group_name: str | None = ... + """ + The name of a specific DB cluster parameter group to return details for. + + Constraints: + + - If supplied, must match the name of an existing + DBClusterParameterGroup. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBClusterParameterGroups` request. If this parameter is + specified, the response includes only records beyond the marker, up to + the value specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterParameterGroupsOutput(_SerdeShape): + """""" + + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBClusterParameterGroups` request. If this parameter is + specified, the response includes only records beyond the marker, up to + the value specified by `MaxRecords`. + """ + db_cluster_parameter_groups: list[DBClusterParameterGroup] | None = ... + """A list of DB cluster parameter groups.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterParametersInput(_SerdeShape): + """""" + + db_cluster_parameter_group_name: str | None = ... + """ + The name of a specific DB cluster parameter group to return parameter + details for. + + Constraints: + + - If supplied, must match the name of an existing + DBClusterParameterGroup. + """ + source: str | None = ... + """ + A specific source to return parameters for. + + Valid Values: + + - `engine-default` + + - `system` + + - `user` + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more DB cluster parameters to describe. + + The only supported filter is `parameter-name`. The results list only + includes information about the DB cluster parameters with these names. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBClusterParameters` request. If this parameter is specified, + the response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterParametersOutput(_SerdeShape): + """ + Provides details about a DB cluster parameter group including the + parameters in the DB cluster parameter group. + """ + + parameters: list[Parameter] | None = ... + """Provides a list of parameters for the DB cluster parameter group.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBClusterParameters` request. If this parameter is specified, + the response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBClustersInput(_SerdeShape): + """""" + + db_cluster_identifier: str | None = ... + """ + The user-supplied DB cluster identifier or the Amazon Resource Name + (ARN) of the DB cluster. If this parameter is specified, information for + only the specific DB cluster is returned. This parameter isn't + case-sensitive. + + Constraints: + + - If supplied, must match an existing DB cluster identifier. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more DB clusters to describe. + + Supported Filters: + + - `clone-group-id` - Accepts clone group identifiers. The results list + only includes information about the DB clusters associated with these + clone groups. + + - `db-cluster-id` - Accepts DB cluster identifiers and DB cluster Amazon + Resource Names (ARNs). The results list only includes information + about the DB clusters identified by these ARNs. + + - `db-cluster-resource-id` - Accepts DB cluster resource identifiers. + The results list will only include information about the DB clusters + identified by these DB cluster resource identifiers. + + - `domain` - Accepts Active Directory directory IDs. The results list + only includes information about the DB clusters associated with these + domains. + + - `engine` - Accepts engine names. The results list only includes + information about the DB clusters for these engines. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100 + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous `DescribeDBClusters` + request. If this parameter is specified, the response includes only + records beyond the marker, up to the value specified by `MaxRecords`. + """ + include_shared: bool | None = ... + """ + Specifies whether the output includes information about clusters shared + from other Amazon Web Services accounts. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterSnapshotAttributesInput(_SerdeShape): + """""" + + db_cluster_snapshot_identifier: str | None = ... + """ + The identifier for the DB cluster snapshot to describe the attributes + for. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterSnapshotAttributesOutput(_SerdeShape): + """Dataclass for DescribeDBClusterSnapshotAttributesOutput structure.""" + + db_cluster_snapshot_attributes_result: ( + DBClusterSnapshotAttributesResult | None + ) = ... + """ + Contains the results of a successful call to the + `DescribeDBClusterSnapshotAttributes` API action. + + Manual DB cluster snapshot attributes are used to authorize other Amazon + Web Services accounts to copy or restore a manual DB cluster snapshot. + For more information, see the `ModifyDBClusterSnapshotAttribute` API + action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBClusterSnapshotsInput(_SerdeShape): + """""" + + db_cluster_identifier: str | None = ... + """ + The ID of the DB cluster to retrieve the list of DB cluster snapshots + for. This parameter can't be used in conjunction with the + `DBClusterSnapshotIdentifier` parameter. This parameter isn't + case-sensitive. + + Constraints: + + - If supplied, must match the identifier of an existing DBCluster. + """ + db_cluster_snapshot_identifier: str | None = ... + """ + A specific DB cluster snapshot identifier to describe. This parameter + can't be used in conjunction with the `DBClusterIdentifier` parameter. + This value is stored as a lowercase string. + + Constraints: + + - If supplied, must match the identifier of an existing + DBClusterSnapshot. + + - If this identifier is for an automated snapshot, the `SnapshotType` + parameter must also be specified. + """ + snapshot_type: str | None = ... + """ + The type of DB cluster snapshots to be returned. You can specify one of + the following values: + + - `automated` - Return all DB cluster snapshots that have been + automatically taken by Amazon RDS for my Amazon Web Services account. + + - `manual` - Return all DB cluster snapshots that have been taken by my + Amazon Web Services account. + + - `shared` - Return all manual DB cluster snapshots that have been + shared to my Amazon Web Services account. + + - `public` - Return all DB cluster snapshots that have been marked as + public. + + If you don't specify a `SnapshotType` value, then both automated and + manual DB cluster snapshots are returned. You can include shared DB + cluster snapshots with these results by enabling the `IncludeShared` + parameter. You can include public DB cluster snapshots with these + results by enabling the `IncludePublic` parameter. + + The `IncludeShared` and `IncludePublic` parameters don't apply for + `SnapshotType` values of `manual` or `automated`. The `IncludePublic` + parameter doesn't apply when `SnapshotType` is set to `shared`. The + `IncludeShared` parameter doesn't apply when `SnapshotType` is set to + `public`. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more DB cluster snapshots to describe. + + Supported filters: + + - `db-cluster-id` - Accepts DB cluster identifiers and DB cluster Amazon + Resource Names (ARNs). + + - `db-cluster-snapshot-id` - Accepts DB cluster snapshot identifiers. + + - `snapshot-type` - Accepts types of DB cluster snapshots. + + - `engine` - Accepts names of database engines. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBClusterSnapshots` request. If this parameter is specified, + the response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + include_shared: bool | None = ... + """ + Specifies whether to include shared manual DB cluster snapshots from + other Amazon Web Services accounts that this Amazon Web Services account + has been given permission to copy or restore. By default, these + snapshots are not included. + + You can give an Amazon Web Services account permission to restore a + manual DB cluster snapshot from another Amazon Web Services account by + the `ModifyDBClusterSnapshotAttribute` API action. + """ + include_public: bool | None = ... + """ + Specifies whether to include manual DB cluster snapshots that are public + and can be copied or restored by any Amazon Web Services account. By + default, the public snapshots are not included. + + You can share a manual DB cluster snapshot as public by using the + ModifyDBClusterSnapshotAttribute API action. + """ + db_cluster_resource_id: str | None = ... + """A specific DB cluster resource ID to describe.""" + +@dataclass(kw_only=True) +class DescribeDBClusterSnapshotsOutput(_SerdeShape): + """ + Provides a list of DB cluster snapshots for the user as the result of a + call to the `DescribeDBClusterSnapshots` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBClusterSnapshots` request. If this parameter is specified, + the response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + db_cluster_snapshots: list[DBClusterSnapshot] | None = ... + """Provides a list of DB cluster snapshots for the user.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBClustersOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBClusters` action. + """ + + marker: str | None = ... + """ + A pagination token that can be used in a later `DescribeDBClusters` + request. + """ + db_clusters: list[DBCluster] | None = ... + """Contains a list of DB clusters for the user.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBEngineVersionsInput(_SerdeShape): + """""" + + engine: str | None = ... + """ + The database engine to return version details for. + + Valid Values: + + - `aurora-mysql` + + - `aurora-postgresql` + + - `custom-oracle-ee` + + - `custom-oracle-ee-cdb` + + - `custom-oracle-se2` + + - `custom-oracle-se2-cdb` + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + + - `sqlserver-dev-ee` + """ + engine_version: str | None = ... + """ + A specific database engine version to return details for. + + Example: `5.1.49` + """ + db_parameter_group_family: str | None = ... + """ + The name of a specific DB parameter group family to return details for. + + Constraints: + + - If supplied, must match an existing DB parameter group family. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more DB engine versions to describe. + + Supported filters: + + - `db-parameter-group-family` - Accepts parameter groups family names. + The results list only includes information about the DB engine + versions for these parameter group families. + + - `engine` - Accepts engine names. The results list only includes + information about the DB engine versions for these engines. + + - `engine-mode` - Accepts DB engine modes. The results list only + includes information about the DB engine versions for these engine + modes. Valid DB engine modes are the following: + + - `global` + + - `multimaster` + + - `parallelquery` + + - `provisioned` + + - `serverless` + + - `engine-version` - Accepts engine versions. The results list only + includes information about the DB engine versions for these engine + versions. + + - `status` - Accepts engine version statuses. The results list only + includes information about the DB engine versions for these statuses. + Valid statuses are the following: + + - `available` + + - `deprecated` + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more than + the `MaxRecords` value is available, a pagination token called a marker + is included in the response so you can retrieve the remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + default_only: bool | None = ... + """ + Specifies whether to return only the default version of the specified + engine or the engine and major version combination. + """ + list_supported_character_sets: bool | None = ... + """ + Specifies whether to list the supported character sets for each engine + version. + + If this parameter is enabled and the requested engine supports the + `CharacterSetName` parameter for `CreateDBInstance`, the response + includes a list of supported character sets for each engine version. + + For RDS Custom, the default is not to list supported character sets. If + you enable this parameter, RDS Custom returns no results. + """ + list_supported_timezones: bool | None = ... + """ + Specifies whether to list the supported time zones for each engine + version. + + If this parameter is enabled and the requested engine supports the + `TimeZone` parameter for `CreateDBInstance`, the response includes a + list of supported time zones for each engine version. + + For RDS Custom, the default is not to list supported time zones. If you + enable this parameter, RDS Custom returns no results. + """ + include_all: bool | None = ... + """ + Specifies whether to also list the engine versions that aren't + available. The default is to list only available engine versions. + """ + +@dataclass(kw_only=True) +class DescribeDBEngineVersionsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBEngineVersions` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + db_engine_versions: list[DBEngineVersion] | None = ... + """A list of `DBEngineVersion` elements.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBInstanceAutomatedBackupsInput(_SerdeShape): + """Parameter input for DescribeDBInstanceAutomatedBackups.""" + + dbi_resource_id: str | None = ... + """ + The resource ID of the DB instance that is the source of the automated + backup. This parameter isn't case-sensitive. + """ + db_instance_identifier: str | None = ... + """ + (Optional) The user-supplied instance identifier. If this parameter is + specified, it must match the identifier of an existing DB instance. It + returns information from the specific DB instance's automated backup. + This parameter isn't case-sensitive. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies which resources to return based on status. + + Supported filters are the following: + + - `status` + + - `active` - Automated backups for current instances. + + - `creating` - Automated backups that are waiting for the first + automated snapshot to be available. + + - `retained` - Automated backups for deleted instances and after + backup replication is stopped. + + - `db-instance-id` - Accepts DB instance identifiers and Amazon Resource + Names (ARNs). The results list includes only information about the DB + instance automated backups identified by these ARNs. + + - `dbi-resource-id` - Accepts DB resource identifiers and Amazon + Resource Names (ARNs). The results list includes only information + about the DB instance resources identified by these ARNs. + + Returns all resources by default. The status for each resource is + specified in the response. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + """ + marker: str | None = ... + """ + The pagination token provided in the previous request. If this parameter + is specified the response includes only records beyond the marker, up to + `MaxRecords`. + """ + db_instance_automated_backups_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the replicated automated backups, for + example, + `arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE`. + + This setting doesn't apply to RDS Custom. + """ + +@dataclass(kw_only=True) +class DescribeDBInstanceAutomatedBackupsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBInstanceAutomatedBackups` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + db_instance_automated_backups: list[DBInstanceAutomatedBackup] | None = ... + """A list of `DBInstanceAutomatedBackup` instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBInstancesInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The user-supplied instance identifier or the Amazon Resource Name (ARN) + of the DB instance. If this parameter is specified, information from + only the specific DB instance is returned. This parameter isn't + case-sensitive. + + Constraints: + + - If supplied, must match the identifier of an existing DB instance. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more DB instances to describe. + + Supported Filters: + + - `db-cluster-id` - Accepts DB cluster identifiers and DB cluster Amazon + Resource Names (ARNs). The results list only includes information + about the DB instances associated with the DB clusters identified by + these ARNs. + + - `db-instance-id` - Accepts DB instance identifiers and DB instance + Amazon Resource Names (ARNs). The results list only includes + information about the DB instances identified by these ARNs. + + - `dbi-resource-id` - Accepts DB instance resource identifiers. The + results list only includes information about the DB instances + identified by these DB instance resource identifiers. + + - `domain` - Accepts Active Directory directory IDs. The results list + only includes information about the DB instances associated with these + domains. + + - `engine` - Accepts engine names. The results list only includes + information about the DB instances for these engines. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBInstances` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBInstancesOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBInstances` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords` . + """ + db_instances: list[DBInstance] | None = ... + """A list of `DBInstance` instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBLogFilesDetails(_SerdeShape): + """This data type is used as a response element to `DescribeDBLogFiles`.""" + + log_file_name: str | None = ... + """The name of the log file for the specified DB instance.""" + last_written: int | None = ... + """A POSIX timestamp when the last log entry was written.""" + size: int | None = ... + """The size, in bytes, of the log file for the specified DB instance.""" + +@dataclass(kw_only=True) +class DescribeDBLogFilesInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The customer-assigned name of the DB instance that contains the log + files you want to list. + + Constraints: + + - Must match the identifier of an existing DBInstance. + """ + filename_contains: str | None = ... + """ + Filters the available log files for log file names that contain the + specified string. + """ + file_last_written: int | None = ... + """ + Filters the available log files for files written since the specified + date, in POSIX timestamp format with milliseconds. + """ + file_size: int | None = ... + """ + Filters the available log files for files larger than the specified + size. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified MaxRecords value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + """ + marker: str | None = ... + """ + The pagination token provided in the previous request. If this parameter + is specified the response includes only records beyond the marker, up to + MaxRecords. + """ + +@dataclass(kw_only=True) +class DescribeDBLogFilesOutput(_SerdeShape): + """The response from a call to `DescribeDBLogFiles`.""" + + describe_db_log_files: list[DescribeDBLogFilesDetails] | None = ... + """The DB log files returned.""" + marker: str | None = ... + """ + A pagination token that can be used in a later `DescribeDBLogFiles` + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBMajorEngineVersionsInput(_SerdeShape): + """Dataclass for DescribeDBMajorEngineVersionsInput structure.""" + + engine: str | None = ... + """ + The database engine to return major version details for. + + Valid Values: + + - `aurora-mysql` + + - `aurora-postgresql` + + - `custom-sqlserver-ee` + + - `custom-sqlserver-se` + + - `custom-sqlserver-web` + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + """ + major_engine_version: str | None = ... + """ + A specific database major engine version to return details for. + + Example: `8.4` + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more than + the `MaxRecords` value is available, a pagination token called a marker + is included in the response so you can retrieve the remaining results. + + Default: 100 + """ + +@dataclass(kw_only=True) +class DescribeDBMajorEngineVersionsOutput(_SerdeShape): + """Dataclass for DescribeDBMajorEngineVersionsOutput structure.""" + + db_major_engine_versions: list[DBMajorEngineVersion] | None = ... + """A list of `DBMajorEngineVersion` elements.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBParameterGroupsInput(_SerdeShape): + """""" + + db_parameter_group_name: str | None = ... + """ + The name of a specific DB parameter group to return details for. + + Constraints: + + - If supplied, must match the name of an existing + DBClusterParameterGroup. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBParameterGroups` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBParameterGroupsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBParameterGroups` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + db_parameter_groups: list[DBParameterGroup] | None = ... + """A list of `DBParameterGroup` instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBParametersInput(_SerdeShape): + """""" + + db_parameter_group_name: str | None = ... + """ + The name of a specific DB parameter group to return details for. + + Constraints: + + - If supplied, must match the name of an existing DBParameterGroup. + """ + source: str | None = ... + """ + The parameter types to return. + + Default: All parameter types returned + + Valid Values: `user | system | engine-default` + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more DB parameters to describe. + + The only supported filter is `parameter-name`. The results list only + includes information about the DB parameters with these names. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBParameters` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBParametersOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBParameters` action. + """ + + parameters: list[Parameter] | None = ... + """A list of `Parameter` values.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBProxiesInput(_SerdeShape): + """Dataclass for DescribeDBProxiesInput structure.""" + + db_proxy_name: str | None = ... + """ + The name of the DB proxy. If you omit this parameter, the output + includes information about all DB proxies owned by your Amazon Web + Services account ID. + """ + filters: list[Filter] | None = ... + """This parameter is not currently supported.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that the remaining + results can be retrieved. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + +@dataclass(kw_only=True) +class DescribeDBProxiesOutput(_SerdeShape): + """Dataclass for DescribeDBProxiesOutput structure.""" + + db_proxies: list[DBProxy] | None = ... + """ + A return value representing an arbitrary number of `DBProxy` data + structures. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBProxyEndpointsInput(_SerdeShape): + """Dataclass for DescribeDBProxyEndpointsInput structure.""" + + db_proxy_name: str | None = ... + """ + The name of the DB proxy whose endpoints you want to describe. If you + omit this parameter, the output includes information about all DB proxy + endpoints associated with all your DB proxies. + """ + db_proxy_endpoint_name: str | None = ... + """ + The name of a DB proxy endpoint to describe. If you omit this parameter, + the output includes information about all DB proxy endpoints associated + with the specified proxy. + """ + filters: list[Filter] | None = ... + """This parameter is not currently supported.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that the remaining + results can be retrieved. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + +@dataclass(kw_only=True) +class DescribeDBProxyEndpointsOutput(_SerdeShape): + """Dataclass for DescribeDBProxyEndpointsOutput structure.""" + + db_proxy_endpoints: list[DBProxyEndpoint] | None = ... + """The list of `ProxyEndpoint` objects returned by the API operation.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBProxyTargetGroupsInput(_SerdeShape): + """Dataclass for DescribeDBProxyTargetGroupsInput structure.""" + + db_proxy_name: str | None = ... + """The identifier of the `DBProxy` associated with the target group.""" + target_group_name: str | None = ... + """The identifier of the `DBProxyTargetGroup` to describe.""" + filters: list[Filter] | None = ... + """This parameter is not currently supported.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that the remaining + results can be retrieved. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + +@dataclass(kw_only=True) +class DescribeDBProxyTargetGroupsOutput(_SerdeShape): + """Dataclass for DescribeDBProxyTargetGroupsOutput structure.""" + + target_groups: list[DBProxyTargetGroup] | None = ... + """ + An arbitrary number of `DBProxyTargetGroup` objects, containing details + of the corresponding target groups. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBProxyTargetsInput(_SerdeShape): + """Dataclass for DescribeDBProxyTargetsInput structure.""" + + db_proxy_name: str | None = ... + """The identifier of the `DBProxyTarget` to describe.""" + target_group_name: str | None = ... + """The identifier of the `DBProxyTargetGroup` to describe.""" + filters: list[Filter] | None = ... + """This parameter is not currently supported.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that the remaining + results can be retrieved. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + +@dataclass(kw_only=True) +class DescribeDBProxyTargetsOutput(_SerdeShape): + """Dataclass for DescribeDBProxyTargetsOutput structure.""" + + targets: list[DBProxyTarget] | None = ... + """ + An arbitrary number of `DBProxyTarget` objects, containing details of + the corresponding targets. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBRecommendationsInput(_SerdeShape): + """Dataclass for DescribeDBRecommendationsInput structure.""" + + last_updated_after: datetime | None = ... + """ + A filter to include only the recommendations that were updated after + this specified time. + """ + last_updated_before: datetime | None = ... + """ + A filter to include only the recommendations that were updated before + this specified time. + """ + locale: str | None = ... + """ + The language that you choose to return the list of recommendations. + + Valid values: + + - `en` + + - `en_UK` + + - `de` + + - `es` + + - `fr` + + - `id` + + - `it` + + - `ja` + + - `ko` + + - `pt_BR` + + - `zh_TW` + + - `zh_CN` + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more recommendations to describe. + + Supported Filters: + + - `recommendation-id` - Accepts a list of recommendation identifiers. + The results list only includes the recommendations whose identifier is + one of the specified filter values. + + - `status` - Accepts a list of recommendation statuses. + + Valid values: + + - `active` - The recommendations which are ready for you to apply. + + - `pending` - The applied or scheduled recommendations which are in + progress. + + - `resolved` - The recommendations which are completed. + + - `dismissed` - The recommendations that you dismissed. + + The results list only includes the recommendations whose status is one + of the specified filter values. + + - `severity` - Accepts a list of recommendation severities. The results + list only includes the recommendations whose severity is one of the + specified filter values. + + Valid values: + + - `high` + + - `medium` + + - `low` + + - `informational` + + - `type-id` - Accepts a list of recommendation type identifiers. The + results list only includes the recommendations whose type is one of + the specified filter values. + + - `dbi-resource-id` - Accepts a list of database resource identifiers. + The results list only includes the recommendations that generated for + the specified databases. + + - `cluster-resource-id` - Accepts a list of cluster resource + identifiers. The results list only includes the recommendations that + generated for the specified clusters. + + - `pg-arn` - Accepts a list of parameter group ARNs. The results list + only includes the recommendations that generated for the specified + parameter groups. + + - `cluster-pg-arn` - Accepts a list of cluster parameter group ARNs. The + results list only includes the recommendations that generated for the + specified cluster parameter groups. + """ + max_records: int | None = ... + """ + The maximum number of recommendations to include in the response. If + more records exist than the specified `MaxRecords` value, a pagination + token called a marker is included in the response so that you can + retrieve the remaining results. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBRecommendations` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBRecommendationsOutput(_SerdeShape): + """Dataclass for DescribeDBRecommendationsOutput structure.""" + + db_recommendations: list[DBRecommendation] | None = ... + """ + A list of recommendations which is returned from + `DescribeDBRecommendations` API request. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DBRecommendationsMessage` request. This token can be used later in a + `DescribeDBRecomendations` request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBSecurityGroupsInput(_SerdeShape): + """""" + + db_security_group_name: str | None = ... + """The name of the DB security group to return details for.""" + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBSecurityGroups` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBSecurityGroupsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBSecurityGroups` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + db_security_groups: list[DBSecurityGroup] | None = ... + """A list of `DBSecurityGroup` instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBShardGroupsInput(_SerdeShape): + """Dataclass for DescribeDBShardGroupsInput structure.""" + + db_shard_group_identifier: str | None = ... + """ + The user-supplied DB shard group identifier. If this parameter is + specified, information for only the specific DB shard group is returned. + This parameter isn't case-sensitive. + + Constraints: + + - If supplied, must match an existing DB shard group identifier. + """ + filters: list[Filter] | None = ... + """A filter that specifies one or more DB shard groups to describe.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBShardGroups` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100 + """ + +@dataclass(kw_only=True) +class DescribeDBShardGroupsOutput(_SerdeShape): + """Dataclass for DescribeDBShardGroupsOutput structure.""" + + db_shard_groups: list[DBShardGroup] | None = ... + """Contains a list of DB shard groups for the user.""" + marker: str | None = ... + """ + A pagination token that can be used in a later `DescribeDBClusters` + request. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBSnapshotAttributesInput(_SerdeShape): + """""" + + db_snapshot_identifier: str | None = ... + """The identifier for the DB snapshot to describe the attributes for.""" + +@dataclass(kw_only=True) +class DescribeDBSnapshotAttributesOutput(_SerdeShape): + """Dataclass for DescribeDBSnapshotAttributesOutput structure.""" + + db_snapshot_attributes_result: DBSnapshotAttributesResult | None = ... + """ + Contains the results of a successful call to the + `DescribeDBSnapshotAttributes` API action. + + Manual DB snapshot attributes are used to authorize other Amazon Web + Services accounts to copy or restore a manual DB snapshot. For more + information, see the `ModifyDBSnapshotAttribute` API action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBSnapshotsInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The ID of the DB instance to retrieve the list of DB snapshots for. This + parameter isn't case-sensitive. + + Constraints: + + - If supplied, must match the identifier of an existing DBInstance. + """ + db_snapshot_identifier: str | None = ... + """ + A specific DB snapshot identifier to describe. This value is stored as a + lowercase string. + + Constraints: + + - If supplied, must match the identifier of an existing DBSnapshot. + + - If this identifier is for an automated snapshot, the `SnapshotType` + parameter must also be specified. + """ + snapshot_type: str | None = ... + """ + The type of snapshots to be returned. You can specify one of the + following values: + + - `automated` - Return all DB snapshots that have been automatically + taken by Amazon RDS for my Amazon Web Services account. + + - `manual` - Return all DB snapshots that have been taken by my Amazon + Web Services account. + + - `shared` - Return all manual DB snapshots that have been shared to my + Amazon Web Services account. + + - `public` - Return all DB snapshots that have been marked as public. + + - `awsbackup` - Return the DB snapshots managed by the Amazon Web + Services Backup service. + + For information about Amazon Web Services Backup, see the [*Amazon Web + Services Backup Developer + Guide.*](https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html) + + The `awsbackup` type does not apply to Aurora. + + If you don't specify a `SnapshotType` value, then both automated and + manual snapshots are returned. Shared and public DB snapshots are not + included in the returned results by default. You can include shared + snapshots with these results by enabling the `IncludeShared` parameter. + You can include public snapshots with these results by enabling the + `IncludePublic` parameter. + + The `IncludeShared` and `IncludePublic` parameters don't apply for + `SnapshotType` values of `manual` or `automated`. The `IncludePublic` + parameter doesn't apply when `SnapshotType` is set to `shared`. The + `IncludeShared` parameter doesn't apply when `SnapshotType` is set to + `public`. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more DB snapshots to describe. + + Supported filters: + + - `db-instance-id` - Accepts DB instance identifiers and DB instance + Amazon Resource Names (ARNs). + + - `db-snapshot-id` - Accepts DB snapshot identifiers. + + - `dbi-resource-id` - Accepts identifiers of source DB instances. + + - `snapshot-type` - Accepts types of DB snapshots. + + - `engine` - Accepts names of database engines. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBSnapshots` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + include_shared: bool | None = ... + """ + Specifies whether to include shared manual DB cluster snapshots from + other Amazon Web Services accounts that this Amazon Web Services account + has been given permission to copy or restore. By default, these + snapshots are not included. + + You can give an Amazon Web Services account permission to restore a + manual DB snapshot from another Amazon Web Services account by using the + `ModifyDBSnapshotAttribute` API action. + + This setting doesn't apply to RDS Custom. + """ + include_public: bool | None = ... + """ + Specifies whether to include manual DB cluster snapshots that are public + and can be copied or restored by any Amazon Web Services account. By + default, the public snapshots are not included. + + You can share a manual DB snapshot as public by using the + ModifyDBSnapshotAttribute API. + + This setting doesn't apply to RDS Custom. + """ + dbi_resource_id: str | None = ... + """A specific DB resource ID to describe.""" + +@dataclass(kw_only=True) +class DescribeDBSnapshotsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBSnapshots` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + db_snapshots: list[DBSnapshot] | None = ... + """A list of `DBSnapshot` instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBSnapshotTenantDatabasesInput(_SerdeShape): + """Dataclass for DescribeDBSnapshotTenantDatabasesInput structure.""" + + db_instance_identifier: str | None = ... + """ + The ID of the DB instance used to create the DB snapshots. This + parameter isn't case-sensitive. + + Constraints: + + - If supplied, must match the identifier of an existing `DBInstance`. + """ + db_snapshot_identifier: str | None = ... + """ + The ID of a DB snapshot that contains the tenant databases to describe. + This value is stored as a lowercase string. + + Constraints: + + - If you specify this parameter, the value must match the ID of an + existing DB snapshot. + + - If you specify an automatic snapshot, you must also specify + `SnapshotType`. + """ + snapshot_type: str | None = ... + """ + The type of DB snapshots to be returned. You can specify one of the + following values: + + - `automated` -- All DB snapshots that have been automatically taken by + Amazon RDS for my Amazon Web Services account. + + - `manual` -- All DB snapshots that have been taken by my Amazon Web + Services account. + + - `shared` -- All manual DB snapshots that have been shared to my Amazon + Web Services account. + + - `public` -- All DB snapshots that have been marked as public. + + - `awsbackup` -- All DB snapshots managed by the Amazon Web Services + Backup service. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more tenant databases to describe. + + Supported filters: + + - `tenant-db-name` - Tenant database names. The results list only + includes information about the tenant databases that match these + tenant DB names. + + - `tenant-database-resource-id` - Tenant database resource identifiers. + The results list only includes information about the tenant databases + contained within the DB snapshots. + + - `dbi-resource-id` - DB instance resource identifiers. The results list + only includes information about snapshots containing tenant databases + contained within the DB instances identified by these resource + identifiers. + + - `db-instance-id` - Accepts DB instance identifiers and DB instance + Amazon Resource Names (ARNs). + + - `db-snapshot-id` - Accepts DB snapshot identifiers. + + - `snapshot-type` - Accepts types of DB snapshots. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeDBSnapshotTenantDatabases` request. If this parameter is + specified, the response includes only records beyond the marker, up to + the value specified by `MaxRecords`. + """ + dbi_resource_id: str | None = ... + """A specific DB resource identifier to describe.""" + +@dataclass(kw_only=True) +class DescribeDBSnapshotTenantDatabasesOutput(_SerdeShape): + """Dataclass for DescribeDBSnapshotTenantDatabasesOutput structure.""" + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + db_snapshot_tenant_databases: list[DBSnapshotTenantDatabase] | None = ... + """A list of DB snapshot tenant databases.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeDBSubnetGroupsInput(_SerdeShape): + """""" + + db_subnet_group_name: str | None = ... + """The name of the DB subnet group to return details for.""" + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + DescribeDBSubnetGroups request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeDBSubnetGroupsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeDBSubnetGroups` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + db_subnet_groups: list[DBSubnetGroup] | None = ... + """A list of `DBSubnetGroup` instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeEngineDefaultClusterParametersInput(_SerdeShape): + """""" + + db_parameter_group_family: str | None = ... + """ + The name of the DB cluster parameter group family to return engine + parameter information for. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeEngineDefaultClusterParameters` request. If this parameter is + specified, the response includes only records beyond the marker, up to + the value specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeEngineDefaultClusterParametersOutput(_SerdeShape): + """Dataclass for DescribeEngineDefaultClusterParametersOutput structure.""" + + engine_defaults: EngineDefaults | None = ... + """ + Contains the result of a successful invocation of the + `DescribeEngineDefaultParameters` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeEngineDefaultParametersInput(_SerdeShape): + """""" + + db_parameter_group_family: str | None = ... + """ + The name of the DB parameter group family. + + Valid Values: + + - `aurora-mysql5.7` + + - `aurora-mysql8.0` + + - `aurora-postgresql10` + + - `aurora-postgresql11` + + - `aurora-postgresql12` + + - `aurora-postgresql13` + + - `aurora-postgresql14` + + - `custom-oracle-ee-19` + + - `custom-oracle-ee-cdb-19` + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb10.2` + + - `mariadb10.3` + + - `mariadb10.4` + + - `mariadb10.5` + + - `mariadb10.6` + + - `mysql5.7` + + - `mysql8.0` + + - `oracle-ee-19` + + - `oracle-ee-cdb-19` + + - `oracle-ee-cdb-21` + + - `oracle-se2-19` + + - `oracle-se2-cdb-19` + + - `oracle-se2-cdb-21` + + - `postgres10` + + - `postgres11` + + - `postgres12` + + - `postgres13` + + - `postgres14` + + - `sqlserver-ee-11.0` + + - `sqlserver-ee-12.0` + + - `sqlserver-ee-13.0` + + - `sqlserver-ee-14.0` + + - `sqlserver-ee-15.0` + + - `sqlserver-ex-11.0` + + - `sqlserver-ex-12.0` + + - `sqlserver-ex-13.0` + + - `sqlserver-ex-14.0` + + - `sqlserver-ex-15.0` + + - `sqlserver-se-11.0` + + - `sqlserver-se-12.0` + + - `sqlserver-se-13.0` + + - `sqlserver-se-14.0` + + - `sqlserver-se-15.0` + + - `sqlserver-web-11.0` + + - `sqlserver-web-12.0` + + - `sqlserver-web-13.0` + + - `sqlserver-web-14.0` + + - `sqlserver-web-15.0` + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more parameters to describe. + + The only supported filter is `parameter-name`. The results list only + includes information about the parameters with these names. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeEngineDefaultParameters` request. If this parameter is + specified, the response includes only records beyond the marker, up to + the value specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeEngineDefaultParametersOutput(_SerdeShape): + """Dataclass for DescribeEngineDefaultParametersOutput structure.""" + + engine_defaults: EngineDefaults | None = ... + """ + Contains the result of a successful invocation of the + `DescribeEngineDefaultParameters` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeEventCategoriesInput(_SerdeShape): + """""" + + source_type: str | None = ... + """ + The type of source that is generating the events. For RDS Proxy events, + specify `db-proxy`. + + Valid Values: `db-instance` | `db-cluster` | `db-parameter-group` | + `db-security-group` | `db-snapshot` | `db-cluster-snapshot` | + `db-proxy` + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + +@dataclass(kw_only=True) +class DescribeEventCategoriesOutput(_SerdeShape): + """Data returned from the `DescribeEventCategories` operation.""" + + event_categories_map_list: list[EventCategoriesMap] | None = ... + """A list of `EventCategoriesMap` data types.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeEventsInput(_SerdeShape): + """""" + + source_identifier: str | None = ... + """ + The identifier of the event source for which events are returned. If not + specified, then all sources are included in the response. + + Constraints: + + - If `SourceIdentifier` is supplied, `SourceType` must also be provided. + + - If the source type is a DB instance, a `DBInstanceIdentifier` value + must be supplied. + + - If the source type is a DB cluster, a `DBClusterIdentifier` value must + be supplied. + + - If the source type is a DB parameter group, a `DBParameterGroupName` + value must be supplied. + + - If the source type is a DB security group, a `DBSecurityGroupName` + value must be supplied. + + - If the source type is a DB snapshot, a `DBSnapshotIdentifier` value + must be supplied. + + - If the source type is a DB cluster snapshot, a + `DBClusterSnapshotIdentifier` value must be supplied. + + - If the source type is an RDS Proxy, a `DBProxyName` value must be + supplied. + + - Can't end with a hyphen or contain two consecutive hyphens. + """ + source_type: str | None = ... + """ + The event source to retrieve events for. If no value is specified, all + events are returned. + """ + start_time: datetime | None = ... + """ + The beginning of the time interval to retrieve events for, specified in + ISO 8601 format. For more information about ISO 8601, go to the [ISO8601 + Wikipedia page.](http://en.wikipedia.org/wiki/ISO_8601) + + Example: 2009-07-08T18:00Z + """ + end_time: datetime | None = ... + """ + The end of the time interval for which to retrieve events, specified in + ISO 8601 format. For more information about ISO 8601, go to the [ISO8601 + Wikipedia page.](http://en.wikipedia.org/wiki/ISO_8601) + + Example: 2009-07-08T18:00Z + """ + duration: int | None = ... + """ + The number of minutes to retrieve events for. + + Default: 60 + """ + event_categories: list[str] | None = ... + """ + A list of event categories that trigger notifications for a event + notification subscription. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous DescribeEvents + request. If this parameter is specified, the response includes only + records beyond the marker, up to the value specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeEventsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the `DescribeEvents` + action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous Events request. If + this parameter is specified, the response includes only records beyond + the marker, up to the value specified by `MaxRecords`. + """ + events: list[Event] | None = ... + """A list of `Event` instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeEventSubscriptionsInput(_SerdeShape): + """""" + + subscription_name: str | None = ... + """ + The name of the RDS event notification subscription you want to + describe. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + DescribeOrderableDBInstanceOptions request. If this parameter is + specified, the response includes only records beyond the marker, up to + the value specified by `MaxRecords` . + """ + +@dataclass(kw_only=True) +class DescribeEventSubscriptionsOutput(_SerdeShape): + """Data returned by the **DescribeEventSubscriptions** action.""" + + marker: str | None = ... + """ + An optional pagination token provided by a previous + DescribeOrderableDBInstanceOptions request. If this parameter is + specified, the response includes only records beyond the marker, up to + the value specified by `MaxRecords`. + """ + event_subscriptions_list: list[EventSubscription] | None = ... + """A list of EventSubscriptions data types.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeExportTasksInput(_SerdeShape): + """Dataclass for DescribeExportTasksInput structure.""" + + export_task_identifier: str | None = ... + """The identifier of the snapshot or cluster export task to be described.""" + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the snapshot or cluster exported to + Amazon S3. + """ + filters: list[Filter] | None = ... + """ + Filters specify one or more snapshot or cluster exports to describe. The + filters are specified as name-value pairs that define what to include in + the output. Filter names and values are case-sensitive. + + Supported filters include the following: + + - `export-task-identifier` - An identifier for the snapshot or cluster + export task. + + - `s3-bucket` - The Amazon S3 bucket the data is exported to. + + - `source-arn` - The Amazon Resource Name (ARN) of the snapshot or + cluster exported to Amazon S3. + + - `status` - The status of the export task. Must be lowercase. Valid + statuses are the following: + + - `canceled` + + - `canceling` + + - `complete` + + - `failed` + + - `in_progress` + + - `starting` + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeExportTasks` request. If you specify this parameter, the + response includes only records beyond the marker, up to the value + specified by the `MaxRecords` parameter. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified value, a pagination token called a + marker is included in the response. You can use the marker in a later + `DescribeExportTasks` request to retrieve the remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + source_type: str | None = ... + """The type of source for the export.""" + +@dataclass(kw_only=True) +class DescribeExportTasksOutput(_SerdeShape): + """Dataclass for DescribeExportTasksOutput structure.""" + + marker: str | None = ... + """ + A pagination token that can be used in a later `DescribeExportTasks` + request. A marker is used for pagination to identify the location to + begin output for the next response of `DescribeExportTasks`. + """ + export_tasks: list[ExportTask] | None = ... + """Information about an export of a snapshot or cluster to Amazon S3.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeGlobalClustersInput(_SerdeShape): + """Dataclass for DescribeGlobalClustersInput structure.""" + + global_cluster_identifier: str | None = ... + """ + The user-supplied DB cluster identifier. If this parameter is specified, + information from only the specific DB cluster is returned. This + parameter isn't case-sensitive. + + Constraints: + + - If supplied, must match an existing DBClusterIdentifier. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more global database clusters to + describe. This parameter is case-sensitive. + + Currently, the only supported filter is `region`. + + If used, the request returns information about any global cluster with + at least one member (primary or secondary) in the specified Amazon Web + Services Regions. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeGlobalClusters` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeGlobalClustersOutput(_SerdeShape): + """Dataclass for DescribeGlobalClustersOutput structure.""" + + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeGlobalClusters` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + global_clusters: list[GlobalCluster] | None = ... + """The list of global clusters returned by this request.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeIntegrationsInput(_SerdeShape): + """Dataclass for DescribeIntegrationsInput structure.""" + + integration_identifier: str | None = ... + """The unique identifier of the integration.""" + filters: list[Filter] | None = ... + """A filter that specifies one or more resources to return.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeIntegrations` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeIntegrationsOutput(_SerdeShape): + """Dataclass for DescribeIntegrationsOutput structure.""" + + marker: str | None = ... + """ + A pagination token that can be used in a later `DescribeIntegrations` + request. + """ + integrations: list[Integration] | None = ... + """A list of integrations.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeOptionGroupOptionsInput(_SerdeShape): + """""" + + engine_name: str | None = ... + """ + The name of the engine to describe options for. + + Valid Values: + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + """ + major_engine_version: str | None = ... + """ + If specified, filters the results to include only options for the + specified major engine version. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeOptionGroupOptionsOutput(_SerdeShape): + """""" + + option_group_options: list[OptionGroupOption] | None = ... + """List of available option group options.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeOptionGroupsInput(_SerdeShape): + """""" + + option_group_name: str | None = ... + """ + The name of the option group to describe. Can't be supplied together + with EngineName or MajorEngineVersion. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous DescribeOptionGroups + request. If this parameter is specified, the response includes only + records beyond the marker, up to the value specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + engine_name: str | None = ... + """ + A filter to only include option groups associated with this database + engine. + + Valid Values: + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + """ + major_engine_version: str | None = ... + """ + Filters the list of option groups to only include groups associated with + a specific database engine version. If specified, then EngineName must + also be specified. + """ + +@dataclass(kw_only=True) +class DescribeOptionGroupsOutput(_SerdeShape): + """List of option groups.""" + + option_groups_list: list[OptionGroup] | None = ... + """List of option groups.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeOrderableDBInstanceOptionsInput(_SerdeShape): + """""" + + engine: str | None = ... + """ + The name of the database engine to describe DB instance options for. + + Valid Values: + + - `aurora-mysql` + + - `aurora-postgresql` + + - `custom-oracle-ee` + + - `custom-oracle-ee-cdb` + + - `custom-oracle-se2` + + - `custom-oracle-se2-cdb` + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + """ + engine_version: str | None = ... + """ + A filter to include only the available options for the specified engine + version. + """ + db_instance_class: str | None = ... + """ + A filter to include only the available options for the specified DB + instance class. + """ + license_model: str | None = ... + """ + A filter to include only the available options for the specified license + model. + + RDS Custom supports only the BYOL licensing model. + """ + availability_zone_group: str | None = ... + """ + The Availability Zone group associated with a Local Zone. Specify this + parameter to retrieve available options for the Local Zones in the + group. + + Omit this parameter to show the available options in the specified + Amazon Web Services Region. + + This setting doesn't apply to RDS Custom DB instances. + """ + vpc: bool | None = ... + """ + Specifies whether to show only VPC or non-VPC offerings. RDS Custom + supports only VPC offerings. + + RDS Custom supports only VPC offerings. If you describe non-VPC + offerings for RDS Custom, the output shows VPC offerings. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 1000. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + DescribeOrderableDBInstanceOptions request. If this parameter is + specified, the response includes only records beyond the marker, up to + the value specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeOrderableDBInstanceOptionsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeOrderableDBInstanceOptions` action. + """ + + orderable_db_instance_options: list[OrderableDBInstanceOption] | None = ... + """ + An `OrderableDBInstanceOption` structure containing information about + orderable options for the DB instance. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + OrderableDBInstanceOptions request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribePendingMaintenanceActionsInput(_SerdeShape): + """""" + + resource_identifier: str | None = ... + """The ARN of a resource to return pending maintenance actions for.""" + filters: list[Filter] | None = ... + """ + A filter that specifies one or more resources to return pending + maintenance actions for. + + Supported filters: + + - `db-cluster-id` - Accepts DB cluster identifiers and DB cluster Amazon + Resource Names (ARNs). The results list only includes pending + maintenance actions for the DB clusters identified by these ARNs. + + - `db-instance-id` - Accepts DB instance identifiers and DB instance + ARNs. The results list only includes pending maintenance actions for + the DB instances identified by these ARNs. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribePendingMaintenanceActions` request. If this parameter is + specified, the response includes only records beyond the marker, up to a + number of records specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + +@dataclass(kw_only=True) +class DescribePendingMaintenanceActionsOutput(_SerdeShape): + """Data returned from the **DescribePendingMaintenanceActions** action.""" + + pending_maintenance_actions: list[ResourcePendingMaintenanceActions] | None = ... + """A list of the pending maintenance actions for the resource.""" + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribePendingMaintenanceActions` request. If this parameter is + specified, the response includes only records beyond the marker, up to a + number of records specified by `MaxRecords`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeReservedDBInstancesInput(_SerdeShape): + """""" + + reserved_db_instance_id: str | None = ... + """ + The reserved DB instance identifier filter value. Specify this parameter + to show only the reservation that matches the specified reservation ID. + """ + reserved_db_instances_offering_id: str | None = ... + """ + The offering identifier filter value. Specify this parameter to show + only purchased reservations matching the specified offering identifier. + """ + db_instance_class: str | None = ... + """ + The DB instance class filter value. Specify this parameter to show only + those reservations matching the specified DB instances class. + """ + duration: str | None = ... + """ + The duration filter value, specified in years or seconds. Specify this + parameter to show only reservations for this duration. + + Valid Values: `1 | 3 | 31536000 | 94608000` + """ + product_description: str | None = ... + """ + The product description filter value. Specify this parameter to show + only those reservations matching the specified product description. + """ + offering_type: str | None = ... + """ + The offering type filter value. Specify this parameter to show only the + available offerings matching the specified offering type. + + Valid Values: `"Partial Upfront" | "All Upfront" | "No Upfront" ` + """ + multi_az: bool | None = ... + """Specifies whether to show only those reservations that support Multi-AZ.""" + lease_id: str | None = ... + """ + The lease identifier filter value. Specify this parameter to show only + the reservation that matches the specified lease ID. + + Note: + Amazon Web Services Support might request the lease ID for an issue + related to a reserved DB instance. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more than + the `MaxRecords` value is available, a pagination token called a marker + is included in the response so you can retrieve the remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeReservedDBInstancesOfferingsInput(_SerdeShape): + """""" + + reserved_db_instances_offering_id: str | None = ... + """ + The offering identifier filter value. Specify this parameter to show + only the available offering that matches the specified reservation + identifier. + + Example: `438012d3-4052-4cc7-b2e3-8d3372e0e706` + """ + db_instance_class: str | None = ... + """ + The DB instance class filter value. Specify this parameter to show only + the available offerings matching the specified DB instance class. + """ + duration: str | None = ... + """ + Duration filter value, specified in years or seconds. Specify this + parameter to show only reservations for this duration. + + Valid Values: `1 | 3 | 31536000 | 94608000` + """ + product_description: str | None = ... + """ + Product description filter value. Specify this parameter to show only + the available offerings that contain the specified product description. + + Note: + The results show offerings that partially match the filter value. + """ + offering_type: str | None = ... + """ + The offering type filter value. Specify this parameter to show only the + available offerings matching the specified offering type. + + Valid Values: `"Partial Upfront" | "All Upfront" | "No Upfront" ` + """ + multi_az: bool | None = ... + """Specifies whether to show only those reservations that support Multi-AZ.""" + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more than + the `MaxRecords` value is available, a pagination token called a marker + is included in the response so you can retrieve the remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeReservedDBInstancesOfferingsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeReservedDBInstancesOfferings` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + reserved_db_instances_offerings: list[ReservedDBInstancesOffering] | None = ... + """A list of reserved DB instance offerings.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeReservedDBInstancesOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeReservedDBInstances` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + reserved_db_instances: list[ReservedDBInstance] | None = ... + """A list of reserved DB instances.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeServerlessV2PlatformVersionsInput(_SerdeShape): + """""" + + serverless_v2_platform_version: str | None = ... + """ + A specific platform version to return details for. + + Example: `3` + """ + engine: str | None = ... + """ + The database engine to return platform version details for. + + Valid Values: + + - `aurora-mysql` + + - `aurora-postgresql` + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + default_only: bool | None = ... + """ + Specifies whether to return only the default platform versions for each + engine. The default platform version is the version used for new DB + clusters. + """ + include_all: bool | None = ... + """ + Specifies whether to also include platform versions which are no longer + in use. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more than + the `MaxRecords` value is available, a pagination token called a marker + is included in the response so you can retrieve the remaining results. + + Default: 20 + + Constraints: Minimum 1, maximum 200. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + +@dataclass(kw_only=True) +class DescribeServerlessV2PlatformVersionsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeServerlessV2PlatformVersions` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + serverless_v2_platform_versions: list[ServerlessV2PlatformVersionInfo] | None = ... + """A list of `ServerlessV2PlatformVersionInfo` elements.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeSourceRegionsInput(_SerdeShape): + """""" + + region_name: str | None = ... + """ + The source Amazon Web Services Region name. For example, `us-east-1`. + + Constraints: + + - Must specify a valid Amazon Web Services Region name. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so you can retrieve the + remaining results. + + Default: 100 + + Constraints: Minimum 20, maximum 100. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeSourceRegions` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + +@dataclass(kw_only=True) +class DescribeSourceRegionsOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeSourceRegions` action. + """ + + marker: str | None = ... + """ + An optional pagination token provided by a previous request. If this + parameter is specified, the response includes only records beyond the + marker, up to the value specified by `MaxRecords`. + """ + source_regions: list[SourceRegion] | None = ... + """ + A list of `SourceRegion` instances that contains each source Amazon Web + Services Region that the current Amazon Web Services Region can get a + read replica or a DB snapshot from. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeTenantDatabasesInput(_SerdeShape): + """Dataclass for DescribeTenantDatabasesInput structure.""" + + db_instance_identifier: str | None = ... + """ + The user-supplied DB instance identifier, which must match the + identifier of an existing instance owned by the Amazon Web Services + account. This parameter isn't case-sensitive. + """ + tenant_db_name: str | None = ... + """ + The user-supplied tenant database name, which must match the name of an + existing tenant database on the specified DB instance owned by your + Amazon Web Services account. This parameter isn't case-sensitive. + """ + filters: list[Filter] | None = ... + """ + A filter that specifies one or more database tenants to describe. + + Supported filters: + + - `tenant-db-name` - Tenant database names. The results list only + includes information about the tenant databases that match these + tenant DB names. + + - `tenant-database-resource-id` - Tenant database resource identifiers. + + - `dbi-resource-id` - DB instance resource identifiers. The results list + only includes information about the tenants contained within the DB + instances identified by these resource identifiers. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeTenantDatabases` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + max_records: int | None = ... + """ + The maximum number of records to include in the response. If more + records exist than the specified `MaxRecords` value, a pagination token + called a marker is included in the response so that you can retrieve the + remaining results. + """ + +@dataclass(kw_only=True) +class DescribeTenantDatabasesOutput(_SerdeShape): + """Dataclass for DescribeTenantDatabasesOutput structure.""" + + marker: str | None = ... + """ + An optional pagination token provided by a previous + `DescribeTenantDatabases` request. If this parameter is specified, the + response includes only records beyond the marker, up to the value + specified by `MaxRecords`. + """ + tenant_databases: list[TenantDatabase] | None = ... + """ + An array of the tenant databases requested by the + `DescribeTenantDatabases` operation. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DescribeValidDBInstanceModificationsInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """The customer identifier or the ARN of your DB instance.""" + +@dataclass(kw_only=True) +class DescribeValidDBInstanceModificationsOutput(_SerdeShape): + """Dataclass for DescribeValidDBInstanceModificationsOutput structure.""" + + valid_db_instance_modifications_message: ( + ValidDBInstanceModificationsMessage | None + ) = ... + """ + Information about valid modifications that you can make to your DB + instance. Contains the result of a successful call to the + `DescribeValidDBInstanceModifications` action. You can use this + information when you call `ModifyDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DisableHttpEndpointInput(_SerdeShape): + """Dataclass for DisableHttpEndpointInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the DB cluster.""" + +@dataclass(kw_only=True) +class DisableHttpEndpointOutput(_SerdeShape): + """Dataclass for DisableHttpEndpointOutput structure.""" + + resource_arn: str | None = ... + """The ARN of the DB cluster.""" + http_endpoint_enabled: bool | None = ... + """ + Indicates whether the HTTP endpoint is enabled or disabled for the DB + cluster. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DocLink(_SerdeShape): + """ + A link to documentation that provides additional information for a + recommendation. + """ + + text: str | None = ... + """The text with the link to documentation for the recommendation.""" + url: str | None = ... + """The URL for the documentation for the recommendation.""" + +@dataclass(kw_only=True) +class DomainMembership(_SerdeShape): + """ + An Active Directory Domain membership record associated with the DB + instance or cluster. + """ + + domain: str | None = ... + """The identifier of the Active Directory Domain.""" + status: str | None = ... + """ + The status of the Active Directory Domain membership for the DB instance + or cluster. Values include `joined`, `pending-join`, `failed`, and so + on. + """ + fqdn: str | None = ... + """The fully qualified domain name (FQDN) of the Active Directory Domain.""" + iam_role_name: str | None = ... + """ + The name of the IAM role used when making API calls to the Directory + Service. + """ + ou: str | None = ... + """The Active Directory organizational unit for the DB instance or cluster.""" + auth_secret_arn: str | None = ... + """ + The ARN for the Secrets Manager secret with the credentials for the user + that's a member of the domain. + """ + dns_ips: list[str] | None = ... + """ + The IPv4 DNS IP addresses of the primary and secondary Active Directory + domain controllers. + """ + +@dataclass(kw_only=True) +class DomainNotFoundFault(ServiceError, _SerdeShape): + """`Domain` doesn't refer to an existing Active Directory domain.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DoubleRange(_SerdeShape): + """A range of double values.""" + + from_: float | None = ... + """The minimum value in the range.""" + to: float | None = ... + """The maximum value in the range.""" + +@dataclass(kw_only=True) +class DownloadDBLogFilePortionInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The customer-assigned name of the DB instance that contains the log + files you want to list. + + Constraints: + + - Must match the identifier of an existing DBInstance. + """ + log_file_name: str | None = ... + """The name of the log file to be downloaded.""" + marker: str | None = ... + """ + The pagination token provided in the previous request or \"0\". If the + Marker parameter is specified the response includes only records beyond + the marker until the end of the file or up to NumberOfLines. + """ + number_of_lines: int | None = ... + """ + The number of lines to download. If the number of lines specified + results in a file over 1 MB in size, the file is truncated at 1 MB in + size. + + If the NumberOfLines parameter is specified, then the block of lines + returned can be from the beginning or the end of the log file, depending + on the value of the Marker parameter. + + - If neither Marker or NumberOfLines are specified, the entire log file + is returned up to a maximum of 10000 lines, starting with the most + recent log entries first. + + - If NumberOfLines is specified and Marker isn't specified, then the + most recent lines from the end of the log file are returned. + + - If Marker is specified as \"0\", then the specified number of lines + from the beginning of the log file are returned. + + - You can download the log file in blocks of lines by specifying the + size of the block using the NumberOfLines parameter, and by specifying + a value of \"0\" for the Marker parameter in your first request. + Include the Marker value returned in the response as the Marker value + for the next request, continuing until the AdditionalDataPending + response element returns false. + """ + +@dataclass(kw_only=True) +class DownloadDBLogFilePortionOutput(_SerdeShape): + """ + This data type is used as a response element to + `DownloadDBLogFilePortion`. + """ + + log_file_data: str | None = ... + """Entries from the specified log file.""" + marker: str | None = ... + """ + A pagination token that can be used in a later + `DownloadDBLogFilePortion` request. + """ + additional_data_pending: bool | None = ... + """ + A Boolean value that, if true, indicates there is more data to be + downloaded. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Ec2ImagePropertiesNotSupportedFault(ServiceError, _SerdeShape): + """The AMI configuration prerequisite has not been met.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EC2SecurityGroup(_SerdeShape): + """ + This data type is used as a response element in the following actions: + + - `AuthorizeDBSecurityGroupIngress` + + - `DescribeDBSecurityGroups` + + - `RevokeDBSecurityGroupIngress` + """ + + status: str | None = ... + """ + Provides the status of the EC2 security group. Status can be + \"authorizing\", \"authorized\", \"revoking\", and \"revoked\". + """ + ec2_security_group_name: str | None = ... + """Specifies the name of the EC2 security group.""" + ec2_security_group_id: str | None = ... + """Specifies the id of the EC2 security group.""" + ec2_security_group_owner_id: str | None = ... + """ + Specifies the Amazon Web Services ID of the owner of the EC2 security + group specified in the `EC2SecurityGroupName` field. + """ + +@dataclass(kw_only=True) +class EnableHttpEndpointInput(_SerdeShape): + """Dataclass for EnableHttpEndpointInput structure.""" + + resource_arn: str | None = ... + """The Amazon Resource Name (ARN) of the DB cluster.""" + +@dataclass(kw_only=True) +class EnableHttpEndpointOutput(_SerdeShape): + """Dataclass for EnableHttpEndpointOutput structure.""" + + resource_arn: str | None = ... + """The ARN of the DB cluster.""" + http_endpoint_enabled: bool | None = ... + """ + Indicates whether the HTTP endpoint is enabled or disabled for the DB + cluster. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class EndDateType(UnknownEnumMixin, StrEnum): + UNLIMITED = "unlimited" + LIMITED = "limited" + +@dataclass(kw_only=True) +class Endpoint(_SerdeShape): + """ + This data type represents the information you need to connect to an + Amazon RDS DB instance. This data type is used as a response element in + the following actions: + + - `CreateDBInstance` + + - `DescribeDBInstances` + + - `DeleteDBInstance` + + For the data structure that represents Amazon Aurora DB cluster + endpoints, see `DBClusterEndpoint`. + """ + + address: str | None = ... + """Specifies the DNS address of the DB instance.""" + port: int | None = ... + """Specifies the port that the database engine is listening on.""" + hosted_zone_id: str | None = ... + """ + Specifies the ID that Amazon Route 53 assigns when you create a hosted + zone. + """ + +class EndpointNetworkType(UnknownEnumMixin, StrEnum): + IPV4 = "IPV4" + IPV6 = "IPV6" + DUAL = "DUAL" + +@dataclass(kw_only=True) +class EngineDefaults(_SerdeShape): + """ + Contains the result of a successful invocation of the + `DescribeEngineDefaultParameters` action. + """ + + db_parameter_group_family: str | None = ... + """ + Specifies the name of the DB parameter group family that the engine + default parameters apply to. + """ + marker: str | None = ... + """ + An optional pagination token provided by a previous EngineDefaults + request. If this parameter is specified, the response includes only + records beyond the marker, up to the value specified by `MaxRecords` . + """ + parameters: list[Parameter] | None = ... + """Contains a list of engine default parameters.""" + +class EngineFamily(UnknownEnumMixin, StrEnum): + MYSQL = "MYSQL" + POSTGRESQL = "POSTGRESQL" + SQLSERVER = "SQLSERVER" + +@dataclass(kw_only=True) +class Event(_SerdeShape): + """ + This data type is used as a response element in the + [DescribeEvents](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEvents.html) + action. + """ + + source_identifier: str | None = ... + """Provides the identifier for the source of the event.""" + source_type: str | None = ... + """Specifies the source type for this event.""" + message: str | None = ... + """Provides the text of this event.""" + event_categories: list[str] | None = ... + """Specifies the category for the event.""" + date: datetime | None = ... + """Specifies the date and time of the event.""" + source_arn: str | None = ... + """The Amazon Resource Name (ARN) for the event.""" + +@dataclass(kw_only=True) +class EventCategoriesMap(_SerdeShape): + """ + Contains the results of a successful invocation of the + [DescribeEventCategories](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEventCategories.html) + operation. + """ + + source_type: str | None = ... + """The source type that the returned categories belong to""" + event_categories: list[str] | None = ... + """The event categories for the specified source type""" + +@dataclass(kw_only=True) +class EventSubscription(_SerdeShape): + """ + Contains the results of a successful invocation of the + `DescribeEventSubscriptions` action. + """ + + customer_aws_id: str | None = ... + """ + The Amazon Web Services customer account associated with the RDS event + notification subscription. + """ + cust_subscription_id: str | None = ... + """The RDS event notification subscription Id.""" + sns_topic_arn: str | None = ... + """The topic ARN of the RDS event notification subscription.""" + status: str | None = ... + """ + The status of the RDS event notification subscription. + + Constraints: + + Can be one of the following: creating | modifying | deleting | active + | no-permission | topic-not-exist + + The status \"no-permission\" indicates that RDS no longer has permission + to post to the SNS topic. The status \"topic-not-exist\" indicates that + the topic was deleted after the subscription was created. + """ + subscription_creation_time: str | None = ... + """The time the RDS event notification subscription was created.""" + source_type: str | None = ... + """The source type for the RDS event notification subscription.""" + source_ids_list: list[str] | None = ... + """A list of source IDs for the RDS event notification subscription.""" + event_categories_list: list[str] | None = ... + """A list of event categories for the RDS event notification subscription.""" + enabled: bool | None = ... + """ + Specifies whether the subscription is enabled. True indicates the + subscription is enabled. + """ + event_subscription_arn: str | None = ... + """The Amazon Resource Name (ARN) for the event subscription.""" + +@dataclass(kw_only=True) +class EventSubscriptionQuotaExceededFault(ServiceError, _SerdeShape): + """You have reached the maximum number of event subscriptions.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ExportSourceType(UnknownEnumMixin, StrEnum): + SNAPSHOT = "SNAPSHOT" + CLUSTER = "CLUSTER" + +@dataclass(kw_only=True) +class ExportTask(_SerdeShape): + """ + Contains the details of a snapshot or cluster export to Amazon S3. + + This data type is used as a response element in the + `DescribeExportTasks` operation. + """ + + export_task_identifier: str | None = ... + """ + A unique identifier for the snapshot or cluster export task. This ID + isn't an identifier for the Amazon S3 bucket where the data is + exported. + """ + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the snapshot or cluster exported to + Amazon S3. + """ + export_only: list[str] | None = ... + """ + The data exported from the snapshot or cluster. + + Valid Values: + + - `database` - Export all the data from a specified database. + + - `database.table` *table-name* - Export a table of the snapshot or + cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, + and Aurora MySQL. + + - `database.schema` *schema-name* - Export a database schema of the + snapshot or cluster. This format is valid only for RDS for PostgreSQL + and Aurora PostgreSQL. + + - `database.schema.table` *table-name* - Export a table of the database + schema. This format is valid only for RDS for PostgreSQL and Aurora + PostgreSQL. + """ + snapshot_time: datetime | None = ... + """The time when the snapshot was created.""" + task_start_time: datetime | None = ... + """The time when the snapshot or cluster export task started.""" + task_end_time: datetime | None = ... + """The time when the snapshot or cluster export task ended.""" + s3_bucket: str | None = ... + """The Amazon S3 bucket where the snapshot or cluster is exported to.""" + s3_prefix: str | None = ... + """ + The Amazon S3 bucket prefix that is the file name and path of the + exported data. + """ + iam_role_arn: str | None = ... + """ + The name of the IAM role that is used to write to Amazon S3 when + exporting a snapshot or cluster. + """ + kms_key_id: str | None = ... + """ + The key identifier of the Amazon Web Services KMS key that is used to + encrypt the data when it's exported to Amazon S3. The KMS key + identifier is its key ARN, key ID, alias ARN, or alias name. The IAM + role used for the export must have encryption and decryption permissions + to use this KMS key. + """ + status: str | None = ... + """ + The progress status of the export task. The status can be one of the + following: + + - `CANCELED` + + - `CANCELING` + + - `COMPLETE` + + - `FAILED` + + - `IN_PROGRESS` + + - `STARTING` + """ + percent_progress: int | None = ... + """The progress of the snapshot or cluster export task as a percentage.""" + total_extracted_data_in_gb: int | None = ... + """The total amount of data exported, in gigabytes.""" + failure_cause: str | None = ... + """The reason the export failed, if it failed.""" + warning_message: str | None = ... + """A warning about the snapshot or cluster export task.""" + source_type: str | None = ... + """The type of source for the export.""" + +@dataclass(kw_only=True) +class ExportTaskAlreadyExistsFault(ServiceError, _SerdeShape): + """You can't start an export task that's already running.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ExportTaskNotFoundFault(ServiceError, _SerdeShape): + """The export task doesn't exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FailoverDBClusterInput(_SerdeShape): + """""" + + db_cluster_identifier: str | None = ... + """ + The identifier of the DB cluster to force a failover for. This parameter + isn't case-sensitive. + + Constraints: + + - Must match the identifier of an existing DB cluster. + """ + target_db_instance_identifier: str | None = ... + """ + The name of the DB instance to promote to the primary DB instance. + + Specify the DB instance identifier for an Aurora Replica or a Multi-AZ + readable standby in the DB cluster, for example `mydbcluster-replica1`. + + This setting isn't supported for RDS for MySQL Multi-AZ DB clusters. + """ + +@dataclass(kw_only=True) +class FailoverDBClusterOutput(_SerdeShape): + """Dataclass for FailoverDBClusterOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FailoverGlobalClusterInput(_SerdeShape): + """Dataclass for FailoverGlobalClusterInput structure.""" + + global_cluster_identifier: str | None = ... + """ + The identifier of the global database cluster (Aurora global database) + this operation should apply to. The identifier is the unique key + assigned by the user when the Aurora global database is created. In + other words, it's the name of the Aurora global database. + + Constraints: + + - Must match the identifier of an existing global database cluster. + """ + target_db_cluster_identifier: str | None = ... + """ + The identifier of the secondary Aurora DB cluster that you want to + promote to the primary for the global database cluster. Use the Amazon + Resource Name (ARN) for the identifier so that Aurora can locate the + cluster in its Amazon Web Services Region. + """ + allow_data_loss: bool | None = ... + """ + Specifies whether to allow data loss for this global database cluster + operation. Allowing data loss triggers a global failover operation. + + If you don't specify `AllowDataLoss`, the global database cluster + operation defaults to a switchover. + + Constraints: + + - Can't be specified together with the `Switchover` parameter. + """ + switchover: bool | None = ... + """ + Specifies whether to switch over this global database cluster. + + Constraints: + + - Can't be specified together with the `AllowDataLoss` parameter. + """ + +@dataclass(kw_only=True) +class FailoverGlobalClusterOutput(_SerdeShape): + """Dataclass for FailoverGlobalClusterOutput structure.""" + + global_cluster: GlobalCluster | None = ... + """A data type representing an Aurora global database.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class FailoverState(_SerdeShape): + """ + Contains the state of scheduled or in-process operations on a global + cluster (Aurora global database). This data type is empty unless a + switchover or failover operation is scheduled or is in progress on the + Aurora global database. + """ + + status: str | None = ... + """ + The current status of the global cluster. Possible values are as + follows: + + - pending -- The service received a request to switch over or fail over + the global cluster. The global cluster's primary DB cluster and the + specified secondary DB cluster are being verified before the operation + starts. + + - failing-over -- Aurora is promoting the chosen secondary Aurora DB + cluster to become the new primary DB cluster to fail over the global + cluster. + + - cancelling -- The request to switch over or fail over the global + cluster was cancelled and the primary Aurora DB cluster and the + selected secondary Aurora DB cluster are returning to their previous + states. + + - switching-over -- This status covers the range of Aurora internal + operations that take place during the switchover process, such as + demoting the primary Aurora DB cluster, promoting the secondary Aurora + DB cluster, and synchronizing replicas. + """ + from_db_cluster_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Aurora DB cluster that is + currently being demoted, and which is associated with this state. + """ + to_db_cluster_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Aurora DB cluster that is + currently being promoted, and which is associated with this state. + """ + is_data_loss_allowed: bool | None = ... + """ + Indicates whether the operation is a global switchover or a global + failover. If data loss is allowed, then the operation is a global + failover. Otherwise, it's a switchover. + """ + +class FailoverStatus(UnknownEnumMixin, StrEnum): + PENDING = "pending" + FAILING_OVER = "failing-over" + CANCELLING = "cancelling" + +@dataclass(kw_only=True) +class Filter(_SerdeShape): + """ + A filter name and value pair that is used to return a more specific list + of results from a describe operation. Filters can be used to match a set + of resources by specific criteria, such as IDs. The filters supported by + a describe operation are documented with the describe operation. + + Note: + Currently, wildcards are not supported in filters. + + The following actions can be filtered: + + - `DescribeDBCapacityReservations` + + - `DescribeDBClusterBacktracks` + + - `DescribeDBClusterEndpoints` + + - `DescribeDBClusters` + + - `DescribeDBInstances` + + - `DescribeDBRecommendations` + + - `DescribeDBShardGroups` + + - `DescribePendingMaintenanceActions` + """ + + name: str | None = ... + """The name of the filter. Filter names are case-sensitive.""" + values: list[str] | None = ... + """One or more filter values. Filter values are case-sensitive.""" + +@dataclass(kw_only=True) +class GlobalCluster(_SerdeShape): + """A data type representing an Aurora global database.""" + + global_cluster_identifier: str | None = ... + """ + Contains a user-supplied global database cluster identifier. This + identifier is the unique key that identifies a global database cluster. + """ + global_cluster_resource_id: str | None = ... + """ + The Amazon Web Services + [partition](https://docs.aws.amazon.com/glossary/latest/reference/glos-chap.html?id=docs_gateway#partition)-unique, + immutable identifier for the global database cluster. This identifier is + found in Amazon Web Services CloudTrail log entries whenever the Amazon + Web Services KMS key for the DB cluster is accessed. + """ + global_cluster_arn: str | None = ... + """The Amazon Resource Name (ARN) for the global database cluster.""" + status: str | None = ... + """Specifies the current state of this global database cluster.""" + engine: str | None = ... + """The Aurora database engine used by the global database cluster.""" + engine_version: str | None = ... + """Indicates the database engine version.""" + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for the global cluster. + + For more information, see CreateGlobalCluster. + """ + database_name: str | None = ... + """The default database name within the new global database cluster.""" + storage_encrypted: bool | None = ... + """The storage encryption setting for the global database cluster.""" + storage_encryption_type: str | None = ... + """ + The type of encryption used to protect data at rest in the global + database cluster. Possible values: + + - `none` - The global database cluster is not encrypted. + + - `sse-rds` - The global database cluster is encrypted using an Amazon + Web Services owned KMS key. + + - `sse-kms` - The global database cluster is encrypted using a customer + managed KMS key or Amazon Web Services managed KMS key. + """ + deletion_protection: bool | None = ... + """The deletion protection setting for the new global database cluster.""" + global_cluster_members: list[GlobalClusterMember] | None = ... + """ + The list of primary and secondary clusters within the global database + cluster. + """ + endpoint: str | None = ... + """ + The writer endpoint for the new global database cluster. This endpoint + always points to the writer DB instance in the current primary cluster. + """ + failover_state: FailoverState | None = ... + """ + A data object containing all properties for the current state of an + in-process or pending switchover or failover process for this global + cluster (Aurora global database). This object is empty unless the + `SwitchoverGlobalCluster` or `FailoverGlobalCluster` operation was + called on this global cluster. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class GlobalClusterAlreadyExistsFault(ServiceError, _SerdeShape): + """ + The `GlobalClusterIdentifier` already exists. Specify a new global + database identifier (unique name) to create a new global database + cluster or to rename an existing one. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GlobalClusterMember(_SerdeShape): + """ + A data structure with information about any primary and secondary + clusters associated with a global cluster (Aurora global database). + """ + + db_cluster_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for each Aurora DB cluster in the global + cluster. + """ + readers: list[str] | None = ... + """ + The Amazon Resource Name (ARN) for each read-only secondary cluster + associated with the global cluster. + """ + is_writer: bool | None = ... + """ + Indicates whether the Aurora DB cluster is the primary cluster (that is, + has read-write capability) for the global cluster with which it is + associated. + """ + global_write_forwarding_status: str | None = ... + """ + The status of write forwarding for a secondary cluster in the global + cluster. + """ + synchronization_status: str | None = ... + """ + The status of synchronization of each Aurora DB cluster in the global + cluster. + """ + +class GlobalClusterMemberSynchronizationStatus(UnknownEnumMixin, StrEnum): + CONNECTED = "connected" + PENDING_RESYNC = "pending-resync" + +@dataclass(kw_only=True) +class GlobalClusterNotFoundFault(ServiceError, _SerdeShape): + """ + The `GlobalClusterIdentifier` doesn't refer to an existing global + database cluster. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GlobalClusterQuotaExceededFault(ServiceError, _SerdeShape): + """ + The number of global database clusters for this account is already at + the maximum allowed. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class IAMAuthMode(UnknownEnumMixin, StrEnum): + DISABLED = "DISABLED" + REQUIRED = "REQUIRED" + ENABLED = "ENABLED" + +@dataclass(kw_only=True) +class IamRoleMissingPermissionsFault(ServiceError, _SerdeShape): + """ + The IAM role requires additional permissions to export to an Amazon S3 + bucket. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IamRoleNotFoundFault(ServiceError, _SerdeShape): + """The IAM role is missing for exporting to an Amazon S3 bucket.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InstanceQuotaExceededFault(ServiceError, _SerdeShape): + """ + The request would result in the user exceeding the allowed number of DB + instances. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsufficientAvailableIPsInSubnetFault(ServiceError, _SerdeShape): + """ + The requested operation can't be performed because there aren't enough + available IP addresses in the proxy's subnets. Add more CIDR blocks to + the VPC or remove IP address that aren't required from the subnets. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsufficientDBClusterCapacityFault(ServiceError, _SerdeShape): + """The DB cluster doesn't have enough capacity for the current operation.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsufficientDBInstanceCapacityFault(ServiceError, _SerdeShape): + """ + The specified DB instance class isn't available in the specified + Availability Zone. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InsufficientStorageClusterCapacityFault(ServiceError, _SerdeShape): + """ + There is insufficient storage available for the current action. You + might be able to resolve this error by updating your subnet group to use + different Availability Zones that have more storage available. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Integration(_SerdeShape): + """A zero-ETL integration with Amazon Redshift.""" + + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the database used as the source for + replication. + """ + target_arn: str | None = ... + """ + The ARN of the Redshift data warehouse used as the target for + replication. + """ + integration_name: str | None = ... + """The name of the integration.""" + integration_arn: str | None = ... + """The ARN of the integration.""" + kms_key_id: str | None = ... + """ + The Amazon Web Services Key Management System (Amazon Web Services KMS) + key identifier for the key used to to encrypt the integration. + """ + additional_encryption_context: dict[str, str] | None = ... + """ + The encryption context for the integration. For more information, see + [Encryption + context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) + in the *Amazon Web Services Key Management Service Developer Guide*. + """ + status: str | None = ... + """The current status of the integration.""" + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + data_filter: str | None = ... + """ + Data filters for the integration. These filters determine which tables + from the source database are sent to the target Amazon Redshift data + warehouse. + """ + description: str | None = ... + """A description of the integration.""" + create_time: datetime | None = ... + """ + The time when the integration was created, in Universal Coordinated Time + (UTC). + """ + errors: list[IntegrationError] | None = ... + """Any errors associated with the integration.""" + +@dataclass(kw_only=True) +class IntegrationAlreadyExistsFault(ServiceError, _SerdeShape): + """The integration you are trying to create already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IntegrationConflictOperationFault(ServiceError, _SerdeShape): + """ + A conflicting conditional operation is currently in progress against + this resource. Typically occurs when there are multiple requests being + made to the same resource at the same time, and these requests conflict + with each other. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IntegrationError(_SerdeShape): + """An error associated with a zero-ETL integration with Amazon Redshift.""" + + error_code: str | None = ... + """The error code associated with the integration.""" + error_message: str | None = ... + """A message explaining the error.""" + +@dataclass(kw_only=True) +class IntegrationNotFoundFault(ServiceError, _SerdeShape): + """The specified integration could not be found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IntegrationQuotaExceededFault(ServiceError, _SerdeShape): + """ + You can't crate any more zero-ETL integrations because the quota has + been reached. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class IntegrationStatus(UnknownEnumMixin, StrEnum): + CREATING = "creating" + ACTIVE = "active" + MODIFYING = "modifying" + FAILED = "failed" + DELETING = "deleting" + SYNCING = "syncing" + NEEDS_ATTENTION = "needs_attention" + +@dataclass(kw_only=True) +class InvalidBlueGreenDeploymentStateFault(ServiceError, _SerdeShape): + """ + The blue/green deployment can't be switched over or deleted because + there is an invalid configuration in the green environment. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidCustomDBEngineVersionStateFault(ServiceError, _SerdeShape): + """You can't delete the CEV.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBCapacityReservationStateFault(ServiceError, _SerdeShape): + """The DB capacity reservation isn't in a valid state.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBClusterAutomatedBackupStateFault(ServiceError, _SerdeShape): + """ + The automated backup is in an invalid state. For example, this automated + backup is associated with an active cluster. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBClusterCapacityFault(ServiceError, _SerdeShape): + """ + `Capacity` isn't a valid Aurora Serverless DB cluster capacity. Valid + capacity values are `2`, `4`, `8`, `16`, `32`, `64`, `128`, and `256`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBClusterEndpointStateFault(ServiceError, _SerdeShape): + """ + The requested operation can't be performed on the endpoint while the + endpoint is in this state. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBClusterSnapshotStateFault(ServiceError, _SerdeShape): + """The supplied value isn't a valid DB cluster snapshot state.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBClusterStateFault(ServiceError, _SerdeShape): + """ + The requested operation can't be performed while the cluster is in this + state. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBInstanceAutomatedBackupStateFault(ServiceError, _SerdeShape): + """ + The automated backup is in an invalid state. For example, this automated + backup is associated with an active instance. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBInstanceStateFault(ServiceError, _SerdeShape): + """The DB instance isn't in a valid state.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBParameterGroupStateFault(ServiceError, _SerdeShape): + """ + The DB parameter group is in use or is in an invalid state. If you are + attempting to delete the parameter group, you can't delete it when the + parameter group is in this state. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBProxyEndpointStateFault(ServiceError, _SerdeShape): + """ + You can't perform this operation while the DB proxy endpoint is in a + particular state. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBProxyStateFault(ServiceError, _SerdeShape): + """ + The requested operation can't be performed while the proxy is in this + state. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBSecurityGroupStateFault(ServiceError, _SerdeShape): + """The state of the DB security group doesn't allow deletion.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBShardGroupStateFault(ServiceError, _SerdeShape): + """The DB shard group must be in the available state.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBSnapshotStateFault(ServiceError, _SerdeShape): + """The state of the DB snapshot doesn't allow deletion.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBSubnetGroupFault(ServiceError, _SerdeShape): + """ + The DBSubnetGroup doesn't belong to the same VPC as that of an existing + cross-region read replica of the same source instance. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBSubnetGroupStateFault(ServiceError, _SerdeShape): + """The DB subnet group cannot be deleted because it's in use.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidDBSubnetStateFault(ServiceError, _SerdeShape): + """The DB subnet isn't in the *available* state.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidEventSubscriptionStateFault(ServiceError, _SerdeShape): + """ + This error can occur if someone else is modifying a subscription. You + should retry the action. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidExportOnlyFault(ServiceError, _SerdeShape): + """The export is invalid for exporting to an Amazon S3 bucket.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidExportSourceStateFault(ServiceError, _SerdeShape): + """ + The state of the export snapshot is invalid for exporting to an Amazon + S3 bucket. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidExportTaskStateFault(ServiceError, _SerdeShape): + """You can't cancel an export task that has completed.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidGlobalClusterStateFault(ServiceError, _SerdeShape): + """ + The global cluster is in an invalid state and can't perform the + requested operation. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidIntegrationStateFault(ServiceError, _SerdeShape): + """ + The integration is in an invalid state and can't perform the requested + operation. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidOptionGroupStateFault(ServiceError, _SerdeShape): + """The option group isn't in the *available* state.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidResourceStateFault(ServiceError, _SerdeShape): + """ + The operation can't be performed because another operation is in + progress. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidRestoreFault(ServiceError, _SerdeShape): + """Cannot restore from VPC backup to non-VPC DB instance.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidS3BucketFault(ServiceError, _SerdeShape): + """ + The specified Amazon S3 bucket name can't be found or Amazon RDS isn't + authorized to access the specified Amazon S3 bucket. Verify the + **SourceS3BucketName** and **S3IngestionRoleArn** values and try again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidSubnet(ServiceError, _SerdeShape): + """ + The requested subnet is invalid, or multiple subnets were requested that + are not all in a common VPC. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidVPCNetworkStateFault(ServiceError, _SerdeShape): + """ + The DB subnet group doesn't cover all Availability Zones after it's + created because of users' change. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IPRange(_SerdeShape): + """ + This data type is used as a response element in the + `DescribeDBSecurityGroups` action. + """ + + status: str | None = ... + """ + The status of the IP range. Status can be \"authorizing\", + \"authorized\", \"revoking\", and \"revoked\". + """ + cidrip: str | None = ... + """The IP range.""" + +@dataclass(kw_only=True) +class IssueDetails(_SerdeShape): + """ + The details of an issue with your DB instances, DB clusters, and DB + parameter groups. + """ + + performance_issue_details: PerformanceIssueDetails | None = ... + """ + A detailed description of the issue when the recommendation category is + `performance`. + """ + +@dataclass(kw_only=True) +class KMSKeyNotAccessibleFault(ServiceError, _SerdeShape): + """An error occurred accessing an Amazon Web Services KMS key.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class LifecycleSupportName(UnknownEnumMixin, StrEnum): + OPEN_SOURCE_RDS_STANDARD_SUPPORT = "open-source-rds-standard-support" + OPEN_SOURCE_RDS_EXTENDED_SUPPORT = "open-source-rds-extended-support" + +@dataclass(kw_only=True) +class LimitlessDatabase(_SerdeShape): + """Contains details for Aurora Limitless Database.""" + + status: str | None = ... + """The status of Aurora Limitless Database.""" + min_required_acu: float | None = ... + """ + The minimum required capacity for Aurora Limitless Database in Aurora + capacity units (ACUs). + """ + +class LimitlessDatabaseStatus(UnknownEnumMixin, StrEnum): + ACTIVE = "active" + NOT_IN_USE = "not-in-use" + ENABLED = "enabled" + DISABLED = "disabled" + ENABLING = "enabling" + DISABLING = "disabling" + MODIFYING_MAX_CAPACITY = "modifying-max-capacity" + ERROR = "error" + +@dataclass(kw_only=True) +class ListTagsForResourceInput(_SerdeShape): + """""" + + resource_name: str | None = ... + """ + The Amazon RDS resource with tags to be listed. This value is an Amazon + Resource Name (ARN). For information about creating an ARN, see + [Constructing an ARN for Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) + in the *Amazon RDS User Guide*. + """ + filters: list[Filter] | None = ... + """This parameter isn't currently supported.""" + +@dataclass(kw_only=True) +class ListTagsForResourceOutput(_SerdeShape): + """""" + + tag_list: list[Tag] | None = ... + """List of tags returned by the `ListTagsForResource` operation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class LocalWriteForwardingStatus(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + ENABLING = "enabling" + DISABLING = "disabling" + REQUESTED = "requested" + +class MasterUserAuthenticationType(UnknownEnumMixin, StrEnum): + PASSWORD = "password" + IAM_DB_AUTH = "iam-db-auth" + +@dataclass(kw_only=True) +class MasterUserSecret(_SerdeShape): + """ + Contains the secret managed by RDS in Amazon Web Services Secrets + Manager for the master user password. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide* and [Password management with Amazon Web + Services Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the *Amazon Aurora User Guide.* + """ + + secret_arn: str | None = ... + """The Amazon Resource Name (ARN) of the secret.""" + secret_status: str | None = ... + """ + The status of the secret. + + The possible status values include the following: + + - `creating` - The secret is being created. + + - `active` - The secret is available for normal use and rotation. + + - `rotating` - The secret is being rotated. + + - `impaired` - The secret can be used to access database credentials, + but it can't be rotated. A secret might have this status if, for + example, permissions are changed so that RDS can no longer access + either the secret or the KMS key for the secret. + + When a secret has this status, you can correct the condition that + caused the status. Alternatively, modify the DB instance to turn off + automatic management of database credentials, and then modify the DB + instance again to turn on automatic management of database + credentials. + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier that is used to encrypt the + secret. + """ + +@dataclass(kw_only=True) +class MaxDBShardGroupLimitReached(ServiceError, _SerdeShape): + """ + The maximum number of DB shard groups for your Amazon Web Services + account in the specified Amazon Web Services Region has been reached. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Metric(_SerdeShape): + """The representation of a metric.""" + + name: str | None = ... + """The name of a metric.""" + references: list[MetricReference] | None = ... + """A list of metric references (thresholds).""" + statistics_details: str | None = ... + """ + The details of different statistics for a metric. The description might + contain markdown. + """ + metric_query: MetricQuery | None = ... + """The query to retrieve metric data points.""" + +@dataclass(kw_only=True) +class MetricQuery(_SerdeShape): + """The query to retrieve metric data points.""" + + performance_insights_metric_query: PerformanceInsightsMetricQuery | None = ... + """ + The Performance Insights query that you can use to retrieve Performance + Insights metric data points. + """ + +@dataclass(kw_only=True) +class MetricReference(_SerdeShape): + """The reference (threshold) for a metric.""" + + name: str | None = ... + """The name of the metric reference.""" + reference_details: ReferenceDetails | None = ... + """The details of a performance issue.""" + +@dataclass(kw_only=True) +class MinimumEngineVersionPerAllowedValue(_SerdeShape): + """ + The minimum DB engine version required for each corresponding allowed + value for an option setting. + """ + + allowed_value: str | None = ... + """The allowed value for an option setting.""" + minimum_engine_version: str | None = ... + """The minimum DB engine version required for the allowed value.""" + +@dataclass(kw_only=True) +class ModifyActivityStreamInput(_SerdeShape): + """Dataclass for ModifyActivityStreamInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the RDS for Oracle or Microsoft SQL + Server DB instance. For example, + `arn:aws:rds:us-east-1:12345667890:db:my-orcl-db`. + """ + audit_policy_state: str | None = ... + """ + The audit policy state. When a policy is unlocked, it is read/write. + When it is locked, it is read-only. You can edit your audit policy only + when the activity stream is unlocked or stopped. + """ + +@dataclass(kw_only=True) +class ModifyActivityStreamOutput(_SerdeShape): + """Dataclass for ModifyActivityStreamOutput structure.""" + + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of messages in + the database activity stream. + """ + kinesis_stream_name: str | None = ... + """ + The name of the Amazon Kinesis data stream to be used for the database + activity stream. + """ + status: str | None = ... + """The status of the modification to the database activity stream.""" + mode: str | None = ... + """The mode of the database activity stream.""" + engine_native_audit_fields_included: bool | None = ... + """ + Indicates whether engine-native audit fields are included in the + database activity stream. + """ + policy_status: str | None = ... + """ + The status of the modification to the policy state of the database + activity stream. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyAdditionalStorageVolume(_SerdeShape): + """Contains details about the modification of an additional storage volume.""" + + volume_name: str | None = ... + """ + The name of the additional storage volume that you want to modify. + + Valid Values: `RDSDBDATA2 | RDSDBDATA3 | RDSDBDATA4` + """ + allocated_storage: int | None = ... + """ + The amount of storage allocated for the additional storage volume, in + gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 + TiB). + """ + iops: int | None = ... + """ + The number of I/O operations per second (IOPS) provisioned for the + additional storage volume. This setting is only supported for + Provisioned IOPS SSD (`io1` and `io2`) storage types. + """ + max_allocated_storage: int | None = ... + """ + The upper limit in gibibytes (GiB) to which RDS can automatically scale + the storage of the additional storage volume. You must provide a value + greater than or equal to `AllocatedStorage`. + """ + storage_throughput: int | None = ... + """ + The storage throughput value for the additional storage volume, in + mebibytes per second (MiBps). This setting applies only to the General + Purpose SSD (`gp3`) storage type. + """ + storage_type: str | None = ... + """ + The new storage type for the additional storage volume. + + Valid Values: `GP3 | IO2` + """ + set_for_delete: bool | None = ... + """ + Indicates whether to delete the additional storage volume. The value + `true` schedules the volume for deletion. You can delete an additional + storage volume only when it doesn't contain database files or other + data. + """ + +@dataclass(kw_only=True) +class ModifyCertificatesInput(_SerdeShape): + """Dataclass for ModifyCertificatesInput structure.""" + + certificate_identifier: str | None = ... + """ + The new default certificate identifier to override the current one with. + + To determine the valid values, use the `describe-certificates` CLI + command or the `DescribeCertificates` API operation. + """ + remove_customer_override: bool | None = ... + """ + Specifies whether to remove the override for the default certificate. If + the override is removed, the default certificate is the system default. + """ + +@dataclass(kw_only=True) +class ModifyCertificatesOutput(_SerdeShape): + """Dataclass for ModifyCertificatesOutput structure.""" + + certificate: Certificate | None = ... + """ + A CA certificate for an Amazon Web Services account. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyCurrentDBClusterCapacityInput(_SerdeShape): + """Dataclass for ModifyCurrentDBClusterCapacityInput structure.""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier for the cluster being modified. This parameter + isn't case-sensitive. + + Constraints: + + - Must match the identifier of an existing DB cluster. + """ + capacity: int | None = ... + """ + The DB cluster capacity. + + When you change the capacity of a paused Aurora Serverless v1 DB + cluster, it automatically resumes. + + Constraints: + + - For Aurora MySQL, valid capacity values are `1`, `2`, `4`, `8`, `16`, + `32`, `64`, `128`, and `256`. + + - For Aurora PostgreSQL, valid capacity values are `2`, `4`, `8`, `16`, + `32`, `64`, `192`, and `384`. + """ + seconds_before_timeout: int | None = ... + """ + The amount of time, in seconds, that Aurora Serverless v1 tries to find + a scaling point to perform seamless scaling before enforcing the timeout + action. The default is 300. + + Specify a value between 10 and 600 seconds. + """ + timeout_action: str | None = ... + """ + The action to take when the timeout is reached, either + `ForceApplyCapacityChange` or `RollbackCapacityChange`. + + `ForceApplyCapacityChange`, the default, sets the capacity to the + specified value as soon as possible. + + `RollbackCapacityChange` ignores the capacity change if a scaling point + isn't found in the timeout period. + """ + +@dataclass(kw_only=True) +class ModifyCurrentDBClusterCapacityOutput(_SerdeShape): + """Dataclass for ModifyCurrentDBClusterCapacityOutput structure.""" + + db_cluster_identifier: str | None = ... + """ + A user-supplied DB cluster identifier. This identifier is the unique key + that identifies a DB cluster. + """ + pending_capacity: int | None = ... + """A value that specifies the capacity that the DB cluster scales to next.""" + current_capacity: int | None = ... + """The current capacity of the DB cluster.""" + seconds_before_timeout: int | None = ... + """ + The number of seconds before a call to `ModifyCurrentDBClusterCapacity` + times out. + """ + timeout_action: str | None = ... + """ + The timeout action of a call to `ModifyCurrentDBClusterCapacity`, either + `ForceApplyCapacityChange` or `RollbackCapacityChange`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyCustomDBEngineVersionInput(_SerdeShape): + """Dataclass for ModifyCustomDBEngineVersionInput structure.""" + + engine: str | None = ... + """ + The database engine. + + RDS Custom for Oracle supports the following values: + + - `custom-oracle-ee` + + - `custom-oracle-ee-cdb` + + - `custom-oracle-se2` + + - `custom-oracle-se2-cdb` + + RDS Custom for SQL Server supports the following values: + + - `custom-sqlserver-ee` + + - `custom-sqlserver-se` + + - `custom-sqlserver-web` + + - `custom-sqlserver-dev` + + RDS for SQL Server supports the following values: + + - `sqlserver-ee` (Bring Your Own Media) + + - `sqlserver-se` (Bring Your Own Media) + + - `sqlserver-dev-ee` + """ + engine_version: str | None = ... + """ + The custom engine version (CEV) that you want to modify. This option is + required for RDS Custom for Oracle, but optional for Amazon RDS. The + combination of `Engine` and `EngineVersion` is unique per customer per + Amazon Web Services Region. + """ + description: str | None = ... + """An optional description of your CEV.""" + status: str | None = ... + """ + The availability status to be assigned to the CEV. Valid values are as + follows: + + available + + : You can use this CEV to create a new RDS Custom DB instance. + + inactive + + : You can create a new RDS Custom instance by restoring a DB snapshot + with this CEV. You can't patch or create new instances with this CEV. + + You can change any status to any status. A typical reason to change + status is to prevent the accidental use of a CEV, or to make a + deprecated CEV eligible for use again. For example, you might change the + status of your CEV from `available` to `inactive`, and from `inactive` + back to `available`. To change the availability status of the CEV, it + must not currently be in use by an RDS Custom instance, snapshot, or + automated backup. + """ + +@dataclass(kw_only=True) +class ModifyCustomDBEngineVersionOutput(_SerdeShape): + """ + This data type is used as a response element in the action + `DescribeDBEngineVersions`. + """ + + engine: str | None = ... + """The name of the database engine.""" + major_engine_version: str | None = ... + """The major engine version of the CEV.""" + engine_version: str | None = ... + """The version number of the database engine.""" + database_installation_files_s3_bucket_name: str | None = ... + """ + The name of the Amazon S3 bucket that contains your database + installation files. + """ + database_installation_files_s3_prefix: str | None = ... + """ + The Amazon S3 directory that contains the database installation files. + If not specified, then no prefix is assumed. + """ + database_installation_files: list[str] | None = ... + """ + The database installation files (ISO and EXE) that were uploaded to + Amazon S3 and used to import the database engine version to Amazon RDS. + Returned for RDS for SQL Server engine versions (`sqlserver-ee`, + `sqlserver-se`, and `sqlserver-dev-ee`) created from customer-supplied + installation media. + """ + custom_db_engine_version_manifest: str | None = ... + """ + JSON string that lists the installation files and parameters that RDS + Custom uses to create a custom engine version (CEV). RDS Custom applies + the patches in the order in which they're listed in the manifest. You + can set the Oracle home, Oracle base, and UNIX/Linux user and group + using the installation parameters. For more information, see [JSON + fields in the CEV + manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) + in the *Amazon RDS User Guide*. + """ + db_parameter_group_family: str | None = ... + """The name of the DB parameter group family for the database engine.""" + db_engine_description: str | None = ... + """The description of the database engine.""" + db_engine_version_arn: str | None = ... + """The ARN of the custom engine version.""" + db_engine_version_description: str | None = ... + """The description of the database engine version.""" + default_character_set: CharacterSet | None = ... + """ + The default character set for new instances of this engine version, if + the `CharacterSetName` parameter of the CreateDBInstance API isn't + specified. + """ + failure_reason: str | None = ... + """ + The reason that the custom engine version creation failed with an + `incompatible-installation-media` status. Applicable to RDS for SQL + Server engine versions (`sqlserver-ee`, `sqlserver-se`, and + `sqlserver-dev-ee`). + """ + image: CustomDBEngineVersionAMI | None = ... + """The EC2 image""" + db_engine_media_type: str | None = ... + """ + The source of the installation media for this engine version. A value of + `Customer Provided` indicates that the engine version was created from + customer-supplied installation media using + `CreateCustomDBEngineVersion`. Applicable to RDS Custom for SQL Server + and to RDS for SQL Server engine versions (`sqlserver-ee` and + `sqlserver-se` with the `bring-your-own-media` license model, and + `sqlserver-dev-ee`). + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted CEV. This + parameter is required for RDS Custom, but optional for Amazon RDS. + """ + create_time: datetime | None = ... + """The creation time of the DB engine version.""" + supported_character_sets: list[CharacterSet] | None = ... + """ + A list of the character sets supported by this engine for the + `CharacterSetName` parameter of the `CreateDBInstance` operation. + """ + supported_nchar_character_sets: list[CharacterSet] | None = ... + """ + A list of the character sets supported by the Oracle DB engine for the + `NcharCharacterSetName` parameter of the `CreateDBInstance` operation. + """ + valid_upgrade_target: list[UpgradeTarget] | None = ... + """ + A list of engine versions that this database engine version can be + upgraded to. + """ + supported_timezones: list[Timezone] | None = ... + """ + A list of the time zones supported by this engine for the `Timezone` + parameter of the `CreateDBInstance` action. + """ + exportable_log_types: list[str] | None = ... + """ + The types of logs that the database engine has available for export to + CloudWatch Logs. + """ + supports_log_exports_to_cloudwatch_logs: bool | None = ... + """ + Indicates whether the engine version supports exporting the log types + specified by ExportableLogTypes to CloudWatch Logs. + """ + supports_read_replica: bool | None = ... + """Indicates whether the database engine version supports read replicas.""" + supported_engine_modes: list[str] | None = ... + """A list of the supported DB engine modes.""" + supported_feature_names: list[str] | None = ... + """ + A list of features supported by the DB engine. + + The supported features vary by DB engine and DB engine version. + + To determine the supported features for a specific DB engine and DB + engine version using the CLI, use the following command: + + `aws rds describe-db-engine-versions --engine --engine-version ` + + For example, to determine the supported features for RDS for PostgreSQL + version 13.3 using the CLI, use the following command: + + `aws rds describe-db-engine-versions --engine postgres --engine-version 13.3` + + The supported features are listed under `SupportedFeatureNames` in the + output. + """ + status: str | None = ... + """The status of the DB engine version, either `available` or `deprecated`.""" + supports_parallel_query: bool | None = ... + """ + Indicates whether you can use Aurora parallel query with a specific DB + engine version. + """ + supports_global_databases: bool | None = ... + """ + Indicates whether you can use Aurora global databases with a specific DB + engine version. + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + supports_babelfish: bool | None = ... + """ + Indicates whether the engine version supports Babelfish for Aurora + PostgreSQL. + """ + supports_limitless_database: bool | None = ... + """ + Indicates whether the DB engine version supports Aurora Limitless + Database. + """ + supports_certificate_rotation_without_restart: bool | None = ... + """ + Indicates whether the engine version supports rotating the server + certificate without rebooting the DB instance. + """ + supported_ca_certificate_identifiers: list[str] | None = ... + """ + A list of the supported CA certificate identifiers. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + supports_local_write_forwarding: bool | None = ... + """ + Indicates whether the DB engine version supports forwarding write + operations from reader DB instances to the writer DB instance in the DB + cluster. By default, write operations aren't allowed on reader DB + instances. + + Valid for: Aurora DB clusters only + """ + supports_integrations: bool | None = ... + """ + Indicates whether the DB engine version supports zero-ETL integrations + with Amazon Redshift. + """ + serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... + """ + Specifies any Aurora Serverless v2 properties or limits that differ + between Aurora engine versions. You can test the values of this + attribute when deciding which Aurora version to use in a new or upgraded + DB cluster. You can also retrieve the version of an existing DB cluster + and check whether that version supports certain Aurora Serverless v2 + features before you attempt to use those features. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBCapacityReservationInput(_SerdeShape): + """Dataclass for ModifyDBCapacityReservationInput structure.""" + + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation to modify. You + can specify the identifier, which has the prefix `dbcr-`, or the + reservation name. + """ + capacity_per_availability_zone: int | None = ... + """ + The new number of DB instances to reserve in each Availability Zone of + the reservation. Amazon RDS applies this number to every Availability + Zone of the reservation. + + An increase reserves more capacity at the time of the request, so it can + fail when the Amazon Web Services Region has insufficient capacity. + + This value multiplied by the number of Availability Zones counts against + the DB instances quota for your Amazon Web Services account in the + Amazon Web Services Region. Amazon RDS checks the quota only when you + increase the value. + + Constraints: + + - Minimum 1. + + - Can't be less than the highest number of DB instances that use the + reservation in any single Availability Zone of the reservation. That + number includes a DB instance that holds a unit of reserved capacity + for a pending modification. To find that number for an Availability + Zone, subtract `AvailableCapacity` from + `ReservedCapacityPerAvailabilityZone`. + + - During a capacity commitment, can't be less than + `CommittedCapacityPerAvailabilityZone`. + """ + end_date_type: str | None = ... + """ + The end date type for the reservation. + + Valid Values: + + - `limited` - The reservation has a specific end date. You must also + specify `EndDate`. + + - `unlimited` - The reservation doesn't expire. Don't specify + `EndDate`. + """ + end_date: datetime | None = ... + """ + The new end date for the reservation, in Universal Coordinated Time + (UTC). Required when `EndDateType` is `limited`. Don't specify a value + when `EndDateType` is `unlimited`. + + When you specify `EndDate`, you must also specify `EndDateType`. + + Constraints: + + - Must be a date and time in the future. + + - During a capacity commitment, must be at or after `CommitmentEndDate`. + """ + +@dataclass(kw_only=True) +class ModifyDBCapacityReservationOutput(_SerdeShape): + """Dataclass for ModifyDBCapacityReservationOutput structure.""" + + db_capacity_reservation: DBCapacityReservation | None = ... + """Contains the details of the modified DB capacity reservation.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBClusterEndpointInput(_SerdeShape): + """Dataclass for ModifyDBClusterEndpointInput structure.""" + + db_cluster_endpoint_identifier: str | None = ... + """ + The identifier of the endpoint to modify. This parameter is stored as a + lowercase string. + """ + endpoint_type: str | None = ... + """The type of the endpoint. One of: `READER`, `WRITER`, `ANY`.""" + static_members: list[str] | None = ... + """ + List of DB instance identifiers that are part of the custom endpoint + group. + """ + excluded_members: list[str] | None = ... + """ + List of DB instance identifiers that aren't part of the custom endpoint + group. All other eligible instances are reachable through the custom + endpoint. Only relevant if the list of static members is empty. + """ + +@dataclass(kw_only=True) +class ModifyDBClusterEndpointOutput(_SerdeShape): + """ + This data type represents the information you need to connect to an + Amazon Aurora DB cluster. This data type is used as a response element + in the following actions: + + - `CreateDBClusterEndpoint` + + - `DescribeDBClusterEndpoints` + + - `ModifyDBClusterEndpoint` + + - `DeleteDBClusterEndpoint` + + For the data structure that represents Amazon RDS DB instance endpoints, + see `Endpoint`. + """ + + db_cluster_endpoint_identifier: str | None = ... + """ + The identifier associated with the endpoint. This parameter is stored as + a lowercase string. + """ + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the DB cluster associated with the + endpoint. This parameter is stored as a lowercase string. + """ + db_cluster_endpoint_resource_identifier: str | None = ... + """ + A unique system-generated identifier for an endpoint. It remains the + same for the whole life of the endpoint. + """ + endpoint: str | None = ... + """The DNS address of the endpoint.""" + status: str | None = ... + """ + The current status of the endpoint. One of: `creating`, `available`, + `deleting`, `inactive`, `modifying`. The `inactive` state applies to an + endpoint that can't be used for a certain kind of cluster, such as a + `writer` endpoint for a read-only secondary cluster in a global + database. + """ + endpoint_type: str | None = ... + """The type of the endpoint. One of: `READER`, `WRITER`, `CUSTOM`.""" + custom_endpoint_type: str | None = ... + """ + The type associated with a custom endpoint. One of: `READER`, `WRITER`, + `ANY`. + """ + static_members: list[str] | None = ... + """ + List of DB instance identifiers that are part of the custom endpoint + group. + """ + excluded_members: list[str] | None = ... + """ + List of DB instance identifiers that aren't part of the custom endpoint + group. All other eligible instances are reachable through the custom + endpoint. Only relevant if the list of static members is empty. + """ + db_cluster_endpoint_arn: str | None = ... + """The Amazon Resource Name (ARN) for the endpoint.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBClusterInput(_SerdeShape): + """""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier for the cluster being modified. This parameter + isn't case-sensitive. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must match the identifier of an existing DB cluster. + """ + new_db_cluster_identifier: str | None = ... + """ + The new DB cluster identifier for the DB cluster when renaming a DB + cluster. This value is stored as a lowercase string. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + - The first character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `my-cluster2` + """ + apply_immediately: bool | None = ... + """ + Specifies whether the modifications in this request are asynchronously + applied as soon as possible, regardless of the + `PreferredMaintenanceWindow` setting for the DB cluster. If this + parameter is disabled, changes to the DB cluster are applied during the + next maintenance window. + + Most modifications can be applied immediately or during the next + scheduled maintenance window. Some modifications, such as turning on + deletion protection and changing the master password, are applied + immediately---regardless of when you choose to apply them. + + By default, this parameter is disabled. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + backup_retention_period: int | None = ... + """ + The number of days for which automated backups are retained. Specify a + minimum value of `1`. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Default: `1` + + Constraints: + + - Must be a value from 1 to 35. + """ + db_cluster_parameter_group_name: str | None = ... + """ + The name of the DB cluster parameter group to use for the DB cluster. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of EC2 VPC security groups to associate with this DB cluster. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + port: int | None = ... + """ + The port number on which the DB cluster accepts connections. + + Valid for Cluster Type: Aurora DB clusters only + + Valid Values: `1150-65535` + + Default: The same port as the original DB cluster. + """ + master_user_password: str | None = ... + """ + The new password for the master database user. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must contain from 8 to 41 characters. + + - Can contain any printable ASCII character except \"/\", \"\"\", or + \"@\". + + - Can't be specified if `ManageMasterUserPassword` is turned on. + """ + option_group_name: str | None = ... + """ + The option group to associate the DB cluster with. + + DB clusters are associated with a default option group that can't be + modified. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, using the `BackupRetentionPeriod` + parameter. + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region. To view the time + blocks available, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) + in the *Amazon Aurora User Guide*. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + preferred_maintenance_window: str | None = ... + """ + The weekly time range during which system maintenance can occur, in + Universal Coordinated Time (UTC). + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region, occurring on a random + day of the week. To see the time blocks available, see [Adjusting the + Preferred DB Cluster Maintenance + Window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) + in the *Amazon Aurora User Guide*. + + Constraints: + + - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. + + - Days must be one of `Mon | Tue | Wed | Thu | Fri | Sat | Sun`. + + - Must be in Universal Coordinated Time (UTC). + + - Must be at least 30 minutes. + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + For more information, see [IAM Database + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon Aurora User Guide* or [IAM database authentication for + MariaDB, MySQL, and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide*. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + backtrack_window: int | None = ... + """ + The target backtrack window, in seconds. To disable backtracking, set + this value to `0`. + + Valid for Cluster Type: Aurora MySQL DB clusters only + + Default: `0` + + Constraints: + + - If specified, this value must be set to a number from 0 to 259,200 (72 + hours). + """ + cloudwatch_logs_export_configuration: CloudwatchLogsExportConfiguration | None = ... + """ + The configuration setting for the log types to be enabled for export to + CloudWatch Logs for a specific DB cluster. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + The following values are valid for each DB engine: + + - Aurora MySQL - + `audit | error | general | instance | slowquery | iam-db-auth-error` + + - Aurora PostgreSQL - `instance | postgresql | iam-db-auth-error` + + - RDS for MySQL - `error | general | slowquery | iam-db-auth-error` + + - RDS for PostgreSQL - `postgresql | upgrade | iam-db-auth-error` + + For more information about exporting CloudWatch Logs for Amazon RDS, see + [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + For more information about exporting CloudWatch Logs for Amazon Aurora, + see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon Aurora User Guide*. + """ + engine_version: str | None = ... + """ + The version number of the database engine to which you want to upgrade. + Changing this parameter results in an outage. The change is applied + during the next maintenance window unless `ApplyImmediately` is enabled. + + If the cluster that you're modifying has one or more read replicas, all + replicas must be running an engine version that's the same or later + than the version you specify. + + To list all of the available engine versions for Aurora MySQL, use the + following command: + + `aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"` + + To list all of the available engine versions for Aurora PostgreSQL, use + the following command: + + `aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"` + + To list all of the available engine versions for RDS for MySQL, use the + following command: + + `aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"` + + To list all of the available engine versions for RDS for PostgreSQL, use + the following command: + + `aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"` + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + allow_major_version_upgrade: bool | None = ... + """ + Specifies whether major version upgrades are allowed. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - You must allow major version upgrades when specifying a value for the + `EngineVersion` parameter that is a different major version than the + DB cluster's current version. + """ + db_instance_parameter_group_name: str | None = ... + """ + The name of the DB parameter group to apply to all instances of the DB + cluster. + + Note: + When you apply a parameter group using the + `DBInstanceParameterGroupName` parameter, the DB cluster isn't rebooted + automatically. Also, parameter changes are applied immediately rather + than during the next maintenance window. + + Valid for Cluster Type: Aurora DB clusters only + + Default: The existing name setting + + Constraints: + + - The DB parameter group must be in the same DB parameter group family + as this DB cluster. + + - The `DBInstanceParameterGroupName` parameter is valid in combination + with the `AllowMajorVersionUpgrade` parameter for a major version + upgrade only. + """ + domain: str | None = ... + """ + The Active Directory directory ID to move the DB cluster to. Specify + `none` to remove the cluster from its current domain. The domain must be + created prior to this operation. + + For more information, see [Kerberos + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) + in the *Amazon Aurora User Guide*. + + Valid for Cluster Type: Aurora DB clusters only + """ + domain_iam_role_name: str | None = ... + """ + The name of the IAM role to use when making API calls to the Directory + Service. + + Valid for Cluster Type: Aurora DB clusters only + """ + scaling_configuration: ScalingConfiguration | None = ... + """ + The scaling properties of the DB cluster. You can only modify scaling + properties for DB clusters in `serverless` DB engine mode. + + Valid for Cluster Type: Aurora DB clusters only + """ + deletion_protection: bool | None = ... + """ + Specifies whether the DB cluster has deletion protection enabled. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + enable_http_endpoint: bool | None = ... + """ + Specifies whether to enable the HTTP endpoint for an Aurora Serverless + v1 DB cluster. By default, the HTTP endpoint isn't enabled. + + When enabled, the HTTP endpoint provides a connectionless web service + API (RDS Data API) for running SQL queries on the Aurora Serverless v1 + DB cluster. You can also query your database from inside the RDS console + with the RDS query editor. + + For more information, see [Using RDS Data + API](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + in the *Amazon Aurora User Guide*. + + Note: + This parameter applies only to Aurora Serverless v1 DB clusters. To + enable or disable the HTTP endpoint for an Aurora Serverless v2 or + provisioned DB cluster, use the `EnableHttpEndpoint` and + `DisableHttpEndpoint` operations. + + Valid for Cluster Type: Aurora DB clusters only + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the DB cluster to snapshots of + the DB cluster. The default is not to copy them. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + enable_global_write_forwarding: bool | None = ... + """ + Specifies whether to enable this DB cluster to forward write operations + to the primary cluster of a global cluster (Aurora global database). By + default, write operations are not allowed on Aurora DB clusters that are + secondary clusters in an Aurora global database. + + You can set this value only on Aurora DB clusters that are members of an + Aurora global database. With this parameter enabled, a secondary cluster + can forward writes to the current primary cluster, and the resulting + changes are replicated back to this cluster. For the primary DB cluster + of an Aurora global database, this value is used immediately if the + primary is demoted by a global cluster API operation, but it does + nothing until then. + + Valid for Cluster Type: Aurora DB clusters only + """ + db_cluster_instance_class: str | None = ... + """ + The compute and memory capacity of each DB instance in the Multi-AZ DB + cluster, for example `db.m6gd.xlarge`. Not all DB instance classes are + available in all Amazon Web Services Regions, or for all database + engines. + + For the full list of DB instance classes and availability for your + engine, see [DB Instance + Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide*. + + Valid for Cluster Type: Multi-AZ DB clusters only + """ + allocated_storage: int | None = ... + """ + The amount of storage in gibibytes (GiB) to allocate to each DB instance + in the Multi-AZ DB cluster. + + Valid for Cluster Type: Multi-AZ DB clusters only + """ + storage_type: str | None = ... + """ + The storage type to associate with the DB cluster. + + For information on storage types for Aurora DB clusters, see [Storage + configurations for Amazon Aurora DB + clusters](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type). + For information on storage types for Multi-AZ DB clusters, see [Settings + for creating Multi-AZ DB + clusters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html#create-multi-az-db-cluster-settings). + + When specified for a Multi-AZ DB cluster, a value for the `Iops` + parameter is required. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + + - Aurora DB clusters - `aurora | aurora-iopt1` + + - Multi-AZ DB clusters - `io1 | io2 | gp3` + + Default: + + - Aurora DB clusters - `aurora` + + - Multi-AZ DB clusters - `io1` + """ + iops: int | None = ... + """ + The amount of Provisioned IOPS (input/output operations per second) to + be initially allocated for each DB instance in the Multi-AZ DB cluster. + + For information about valid IOPS values, see [Amazon RDS Provisioned + IOPS + storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) + in the *Amazon RDS User Guide*. + + Valid for Cluster Type: Multi-AZ DB clusters only + + Constraints: + + - Must be a multiple between .5 and 50 of the storage amount for the DB + cluster. + """ + auto_minor_version_upgrade: bool | None = ... + """ + Specifies whether minor engine upgrades are applied automatically to the + DB cluster during the maintenance window. By default, minor engine + upgrades are applied automatically. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + network_type: str | None = ... + """ + The network type of the DB cluster. + + The network type is determined by the `DBSubnetGroup` specified for the + DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon Aurora User Guide.* + + Valid for Cluster Type: Aurora DB clusters only + + Valid Values: `IPV4 | DUAL` + """ + serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... + """ + Contains the scaling configuration of an Aurora Serverless v2 DB + cluster. + + For more information, see [Using Amazon Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the *Amazon Aurora User Guide*. + """ + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the DB cluster. To turn off collecting + Enhanced Monitoring metrics, specify `0`. + + If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to a + value other than `0`. + + Valid for Cluster Type: Multi-AZ DB clusters only + + Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` + + Default: `0` + """ + monitoring_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the IAM role that permits RDS to send + Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is + `arn:aws:iam:123456789012:role/emaccess`. For information on creating a + monitoring role, see [To create an IAM role for Amazon RDS Enhanced + Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole) + in the *Amazon RDS User Guide.* + + If `MonitoringInterval` is set to a value other than `0`, supply a + `MonitoringRoleArn` value. + + Valid for Cluster Type: Multi-AZ DB clusters only + """ + database_insights_mode: str | None = ... + """ + Specifies the mode of Database Insights to enable for the DB cluster. + + If you change the value from `standard` to `advanced`, you must set the + `PerformanceInsightsEnabled` parameter to `true` and the + `PerformanceInsightsRetentionPeriod` parameter to 465. + + If you change the value from `advanced` to `standard`, you can set the + `PerformanceInsightsEnabled` parameter to `true` to collect detailed + database counter and per-query metrics. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + enable_performance_insights: bool | None = ... + """ + Specifies whether to turn on Performance Insights for the DB cluster. + + For more information, see [Using Amazon Performance + Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the *Amazon RDS User Guide*. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + If you don't specify a value for `PerformanceInsightsKMSKeyId`, then + Amazon RDS uses your default KMS key. There is a default KMS key for + your Amazon Web Services account. Your Amazon Web Services account has a + different default KMS key for each Amazon Web Services Region. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + + - `7` + + - *month* * 31, where *month* is a number of months from 1-23. + Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 + months * 31) + + - `731` + + Default: `7` days + + If you specify a retention period that isn't valid, such as `94`, + Amazon RDS issues an error. + """ + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager. + + If the DB cluster doesn't manage the master user password with Amazon + Web Services Secrets Manager, you can turn on this management. In this + case, you can't specify `MasterUserPassword`. + + If the DB cluster already manages the master user password with Amazon + Web Services Secrets Manager, and you specify that the master user + password is not managed with Amazon Web Services Secrets Manager, then + you must specify `MasterUserPassword`. In this case, RDS deletes the + secret and uses the new password for the master user specified by + `MasterUserPassword`. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide* and [Password management with Amazon Web + Services Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the *Amazon Aurora User Guide.* + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + rotate_master_user_password: bool | None = ... + """ + Specifies whether to rotate the secret managed by Amazon Web Services + Secrets Manager for the master user password. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB cluster. The secret + value contains the updated password. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide* and [Password management with Amazon Web + Services Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the *Amazon Aurora User Guide.* + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - You must apply the change immediately when rotating the master user + password. + """ + enable_local_write_forwarding: bool | None = ... + """ + Specifies whether read replicas can forward write operations to the + writer DB instance in the DB cluster. By default, write operations + aren't allowed on reader DB instances. + + Valid for: Aurora DB clusters only + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if both of the following conditions are met: + + - The DB cluster doesn't manage the master user password in Amazon Web + Services Secrets Manager. + + If the DB cluster already manages the master user password in Amazon + Web Services Secrets Manager, you can't change the KMS key that is + used to encrypt the secret. + + - You are turning on `ManageMasterUserPassword` to manage the master + user password in Amazon Web Services Secrets Manager. + + If you are turning on `ManageMasterUserPassword` and don't specify + `MasterUserSecretKmsKeyId`, then the `aws/secretsmanager` KMS key is + used to encrypt the secret. If the secret is in a different Amazon Web + Services account, then you can't use the `aws/secretsmanager` KMS key + to encrypt the secret, and you must use a customer managed KMS key. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + """ + engine_mode: str | None = ... + """ + The DB engine mode of the DB cluster, either `provisioned` or + `serverless`. + + Note: + The DB engine mode can be modified only from `serverless` to + `provisioned`. + + For more information, see + [CreateDBCluster](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html). + + Valid for Cluster Type: Aurora DB clusters only + """ + allow_engine_mode_change: bool | None = ... + """ + Specifies whether engine mode changes from `serverless` to `provisioned` + are allowed. + + Valid for Cluster Type: Aurora Serverless v1 DB clusters only + + Constraints: + + - You must allow engine mode changes when specifying a different value + for the `EngineMode` parameter from the DB cluster's current engine + mode. + """ + aws_backup_recovery_point_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the recovery point in Amazon Web + Services Backup. + """ + enable_limitless_database: bool | None = ... + """ + Specifies whether to enable Aurora Limitless Database. You must enable + Aurora Limitless Database to create a DB shard group. + + Valid for: Aurora DB clusters only + + Note: + This setting is no longer used. Instead use the `ClusterScalabilityType` + setting when you create your Aurora Limitless Database DB cluster. + """ + ca_certificate_identifier: str | None = ... + """ + The CA certificate identifier to use for the DB cluster's server + certificate. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide*. + + Valid for Cluster Type: Multi-AZ DB clusters + """ + master_user_authentication_type: str | None = ... + """ + Specifies the authentication type for the master user. With IAM master + user authentication, you can change the master DB user to use IAM + database authentication. + + You can specify one of the following values: + + - `password` - Use standard database authentication with a password. + + - `iam-db-auth` - Use IAM database authentication for the master user. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL + engines. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB cluster. + + You can use this setting to enroll your DB cluster into Amazon RDS + Extended Support or to opt out. With RDS Extended Support, you can run + the selected major engine version on your DB cluster past the end of + standard support for that engine version. For more information, see the + following sections: + + - Amazon Aurora - [Amazon RDS Extended Support with Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) + in the *Amazon Aurora User Guide* + + - Amazon RDS - [Amazon RDS Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide* + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + """ + +@dataclass(kw_only=True) +class ModifyDBClusterOutput(_SerdeShape): + """Dataclass for ModifyDBClusterOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBClusterParameterGroupInput(_SerdeShape): + """""" + + db_cluster_parameter_group_name: str | None = ... + """The name of the DB cluster parameter group to modify.""" + parameters: list[Parameter] | None = ... + """ + A list of parameters in the DB cluster parameter group to modify. + + Valid Values (for the application method): `immediate | pending-reboot` + + Note: + You can use the `immediate` value with dynamic parameters only. You can + use the `pending-reboot` value for both dynamic and static parameters. + + When the application method is `immediate`, changes to dynamic + parameters are applied immediately to the DB clusters associated with + the parameter group. When the application method is `pending-reboot`, + changes to dynamic and static parameters are applied after a reboot + without failover to the DB clusters associated with the parameter group. + """ + +@dataclass(kw_only=True) +class ModifyDBClusterParameterGroupOutput(_SerdeShape): + """""" + + db_cluster_parameter_group_name: str | None = ... + """ + The name of the DB cluster parameter group. + + Constraints: + + - Must be 1 to 255 letters or numbers. + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Note: + This value is stored as a lowercase string. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBClusterSnapshotAttributeInput(_SerdeShape): + """""" + + db_cluster_snapshot_identifier: str | None = ... + """The identifier for the DB cluster snapshot to modify the attributes for.""" + attribute_name: str | None = ... + """ + The name of the DB cluster snapshot attribute to modify. + + To manage authorization for other Amazon Web Services accounts to copy + or restore a manual DB cluster snapshot, set this value to `restore`. + + Note: + To view the list of attributes available to modify, use the + DescribeDBClusterSnapshotAttributes API operation. + """ + values_to_add: list[str] | None = ... + """ + A list of DB cluster snapshot attributes to add to the attribute + specified by `AttributeName`. + + To authorize other Amazon Web Services accounts to copy or restore a + manual DB cluster snapshot, set this list to include one or more Amazon + Web Services account IDs, or `all` to make the manual DB cluster + snapshot restorable by any Amazon Web Services account. Do not add the + `all` value for any manual DB cluster snapshots that contain private + information that you don't want available to all Amazon Web Services + accounts. + """ + values_to_remove: list[str] | None = ... + """ + A list of DB cluster snapshot attributes to remove from the attribute + specified by `AttributeName`. + + To remove authorization for other Amazon Web Services accounts to copy + or restore a manual DB cluster snapshot, set this list to include one or + more Amazon Web Services account identifiers, or `all` to remove + authorization for any Amazon Web Services account to copy or restore the + DB cluster snapshot. If you specify `all`, an Amazon Web Services + account whose account ID is explicitly added to the `restore` attribute + can still copy or restore a manual DB cluster snapshot. + """ + +@dataclass(kw_only=True) +class ModifyDBClusterSnapshotAttributeOutput(_SerdeShape): + """Dataclass for ModifyDBClusterSnapshotAttributeOutput structure.""" + + db_cluster_snapshot_attributes_result: ( + DBClusterSnapshotAttributesResult | None + ) = ... + """ + Contains the results of a successful call to the + `DescribeDBClusterSnapshotAttributes` API action. + + Manual DB cluster snapshot attributes are used to authorize other Amazon + Web Services accounts to copy or restore a manual DB cluster snapshot. + For more information, see the `ModifyDBClusterSnapshotAttribute` API + action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBInstanceInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The identifier of DB instance to modify. This value is stored as a + lowercase string. + + Constraints: + + - Must match the identifier of an existing DB instance. + """ + allocated_storage: int | None = ... + """ + The new amount of storage in gibibytes (GiB) to allocate for the DB + instance. + + For RDS for Db2, MariaDB, RDS for MySQL, RDS for Oracle, and RDS for + PostgreSQL, the value supplied must be at least 10% greater than the + current value. Values that are not at least 10% greater than the + existing value are rounded up so that they are 10% greater than the + current value. + + For the valid values for allocated storage for each engine, see + `CreateDBInstance`. + + Constraints: + + - When you increase the allocated storage for a DB instance that uses + Provisioned IOPS (`gp3`, `io1`, or `io2` storage type), you must also + specify the `Iops` parameter. You can use the current value for + `Iops`. + """ + db_instance_class: str | None = ... + """ + The new compute and memory capacity of the DB instance, for example + `db.m4.large`. Not all DB instance classes are available in all Amazon + Web Services Regions, or for all database engines. For the full list of + DB instance classes, and availability for your engine, see [DB Instance + Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide* or [Aurora DB instance + classes](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html) + in the *Amazon Aurora User Guide*. For RDS Custom, see [DB instance + class support for RDS Custom for + Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.instances) + and [DB instance class support for RDS Custom for SQL + Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html#custom-reqs-limits.instancesMS). + + If you modify the DB instance class, an outage occurs during the change. + The change is applied during the next maintenance window, unless you + specify `ApplyImmediately` in your request. + + Default: Uses existing setting + + Constraints: + + - If you are modifying the DB instance class and upgrading the engine + version at the same time, the currently running engine version must be + supported on the specified DB instance class. Otherwise, the operation + returns an error. In this case, first run the operation to upgrade the + engine version, and then run it again to modify the DB instance class. + """ + db_subnet_group_name: str | None = ... + """ + The new DB subnet group for the DB instance. You can use this parameter + to move your DB instance to a different VPC. If your DB instance isn't + in a VPC, you can also use this parameter to move your DB instance into + a VPC. For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Non-VPC2VPC) + in the *Amazon RDS User Guide*. + + Changing the subnet group causes an outage during the change. The change + is applied during the next maintenance window, unless you enable + `ApplyImmediately`. + + This setting doesn't apply to RDS Custom DB instances. + + Constraints: + + - If supplied, must match existing DB subnet group. + + Example: `mydbsubnetgroup` + """ + db_security_groups: list[str] | None = ... + """ + A list of DB security groups to authorize on this DB instance. Changing + this setting doesn't result in an outage and the change is + asynchronously applied as soon as possible. + + This setting doesn't apply to RDS Custom DB instances. + + Constraints: + + - If supplied, must match existing DB security groups. + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of Amazon EC2 VPC security groups to associate with this DB + instance. This change is asynchronously applied as soon as possible. + + This setting doesn't apply to the following DB instances: + + - Amazon Aurora (The associated list of EC2 VPC security groups is + managed by the DB cluster. For more information, see + `ModifyDBCluster`.) + + - RDS Custom + + Constraints: + + - If supplied, must match existing VPC security group IDs. + """ + apply_immediately: bool | None = ... + """ + Specifies whether the modifications in this request and any pending + modifications are asynchronously applied as soon as possible, regardless + of the `PreferredMaintenanceWindow` setting for the DB instance. By + default, this parameter is disabled. + + If this parameter is disabled, changes to the DB instance are applied + during the next maintenance window. Some parameter changes can cause an + outage and are applied on the next call to RebootDBInstance, or the next + failure reboot. Review the table of parameters in [Modifying a DB + Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) + in the *Amazon RDS User Guide* to see the impact of enabling or + disabling `ApplyImmediately` for each modified parameter and to + determine when the changes are applied. + """ + master_user_password: str | None = ... + """ + The new password for the master user. + + Changing this parameter doesn't result in an outage and the change is + asynchronously applied as soon as possible. Between the time of the + request and the completion of the request, the `MasterUserPassword` + element exists in the `PendingModifiedValues` element of the operation + response. + + Note: + Amazon RDS API operations never return the password, so this operation + provides a way to regain access to a primary instance user if the + password is lost. This includes restoring privileges that might have + been accidentally revoked. + + This setting doesn't apply to the following DB instances: + + - Amazon Aurora + + The password for the master user is managed by the DB cluster. For + more information, see `ModifyDBCluster`. + + - RDS Custom + + - RDS for Oracle CDBs in the multi-tenant configuration + + Specify the master password in `ModifyTenantDatabase` instead. + + Default: Uses existing setting + + Constraints: + + - Can't be specified if `ManageMasterUserPassword` is turned on. + + - Can include any printable ASCII character except \"/\", \"\"\", or + \"@\". For RDS for Oracle, can't include the \"&\" (ampersand) or the + \"'\" (single quotes) character. + + Length Constraints: + + - RDS for Db2 - Must contain from 8 to 255 characters. + + - RDS for MariaDB - Must contain from 8 to 41 characters. + + - RDS for Microsoft SQL Server - Must contain from 8 to 128 characters. + + - RDS for MySQL - Must contain from 8 to 41 characters. + + - RDS for Oracle - Must contain from 8 to 30 characters. + + - RDS for PostgreSQL - Must contain from 8 to 128 characters. + """ + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group to apply to the DB instance. + + Changing this setting doesn't result in an outage. The parameter group + name itself is changed immediately, but the actual parameter changes are + not applied until you reboot the instance without failover. In this + case, the DB instance isn't rebooted automatically, and the parameter + changes aren't applied during the next maintenance window. However, if + you modify dynamic parameters in the newly associated DB parameter + group, these changes are applied immediately without a reboot. + + This setting doesn't apply to RDS Custom DB instances. + + Default: Uses existing setting + + Constraints: + + - Must be in the same DB parameter group family as the DB instance. + """ + backup_retention_period: int | None = ... + """ + The number of days to retain automated backups. Setting this parameter + to a positive number enables backups. Setting this parameter to 0 + disables automated backups. + + Note: + Enabling and disabling backups can result in a brief I/O suspension that + lasts from a few seconds to a few minutes, depending on the size and + class of your DB instance. + + These changes are applied during the next maintenance window unless the + `ApplyImmediately` parameter is enabled for this request. If you change + the parameter from one non-zero value to another non-zero value, the + change is asynchronously applied as soon as possible. + + This setting doesn't apply to Amazon Aurora DB instances. The retention + period for automated backups is managed by the DB cluster. For more + information, see `ModifyDBCluster`. + + Default: Uses existing setting + + Constraints: + + - Must be a value from 0 to 35. + + - Can't be set to 0 if the DB instance is a source to read replicas. + + - Can't be set to 0 for an RDS Custom for Oracle DB instance. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, as determined by the + `BackupRetentionPeriod` parameter. Changing this parameter doesn't + result in an outage and the change is asynchronously applied as soon as + possible. The default is a 30-minute window selected at random from an + 8-hour block of time for each Amazon Web Services Region. For more + information, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to Amazon Aurora DB instances. The daily + time range for creating automated backups is managed by the DB cluster. + For more information, see `ModifyDBCluster`. + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + preferred_maintenance_window: str | None = ... + """ + The weekly time range during which system maintenance can occur, which + might result in an outage. Changing this parameter doesn't result in an + outage, except in the following situation, and the change is + asynchronously applied as soon as possible. If there are pending actions + that cause a reboot, and the maintenance window is changed to include + the current time, then changing this parameter causes a reboot of the DB + instance. If you change this window to the current time, there must be + at least 30 minutes between the current time and end of the window to + ensure pending changes are applied. + + For more information, see [Amazon RDS Maintenance + Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance) + in the *Amazon RDS User Guide.* + + Default: Uses existing setting + + Constraints: + + - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. + + - The day values must be `mon | tue | wed | thu | fri | sat | sun`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred backup window. + + - Must be at least 30 minutes. + """ + multi_az: bool | None = ... + """ + Specifies whether the DB instance is a Multi-AZ deployment. Changing + this parameter doesn't result in an outage. The change is applied + during the next maintenance window unless the `ApplyImmediately` + parameter is enabled for this request. + + This setting doesn't apply to RDS Custom DB instances. + """ + engine_version: str | None = ... + """ + The version number of the database engine to upgrade to. Changing this + parameter results in an outage and the change is applied during the next + maintenance window unless the `ApplyImmediately` parameter is enabled + for this request. + + For major version upgrades, if a nondefault DB parameter group is + currently in use, a new DB parameter group in the DB parameter group + family for the new engine version must be specified. The new DB + parameter group can be the default for that DB parameter group family. + + If you specify only a major version, Amazon RDS updates the DB instance + to the default minor version if the current minor version is lower. For + information about valid engine versions, see `CreateDBInstance`, or call + `DescribeDBEngineVersions`. + + If the instance that you're modifying is acting as a read replica, the + engine version that you specify must be the same or higher than the + version that the source DB instance or cluster is running. + + In RDS Custom for Oracle, this parameter is supported for read replicas + only if they are in the `PATCH_DB_FAILURE` lifecycle. + + Constraints: + + - If you are upgrading the engine version and modifying the DB instance + class at the same time, the currently running engine version must be + supported on the specified DB instance class. Otherwise, the operation + returns an error. In this case, first run the operation to upgrade the + engine version, and then run it again to modify the DB instance class. + """ + allow_major_version_upgrade: bool | None = ... + """ + Specifies whether major version upgrades are allowed. Changing this + parameter doesn't result in an outage and the change is asynchronously + applied as soon as possible. + + This setting doesn't apply to RDS Custom DB instances. + + Constraints: + + - Major version upgrades must be allowed when specifying a value for the + `EngineVersion` parameter that's a different major version than the + DB instance's current version. + """ + auto_minor_version_upgrade: bool | None = ... + """ + Specifies whether minor version upgrades are applied automatically to + the DB instance during the maintenance window. An outage occurs when all + the following conditions are met: + + - The automatic upgrade is enabled for the maintenance window. + + - A newer minor version is available. + + - RDS has enabled automatic patching for the engine version. + + If any of the preceding conditions isn't met, Amazon RDS applies the + change as soon as possible and doesn't cause an outage. + + For an RDS Custom DB instance, don't enable this setting. Otherwise, + the operation returns an error. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + license_model: str | None = ... + """ + The license model for the DB instance. + + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + + Valid Values: + + - RDS for Db2 - `bring-your-own-license` + + - RDS for MariaDB - `general-public-license` + + - RDS for Microsoft SQL Server - + `license-included | bring-your-own-media` + + - RDS for MySQL - `general-public-license` + + - RDS for Oracle - `bring-your-own-license | license-included` + + - RDS for PostgreSQL - `postgresql-license` + """ + iops: int | None = ... + """ + The new Provisioned IOPS (I/O operations per second) value for the RDS + instance. + + Changing this setting doesn't result in an outage and the change is + applied during the next maintenance window unless the `ApplyImmediately` + parameter is enabled for this request. If you are migrating from + Provisioned IOPS to standard storage, set this value to 0. The DB + instance will require a reboot for the change in storage type to take + effect. + + If you choose to migrate your DB instance from using standard storage to + Provisioned IOPS (io1), or from Provisioned IOPS to standard storage, + the process can take time. The duration of the migration depends on + several factors such as database load, storage size, storage type + (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and + the number of prior scale storage operations. Typical migration times + are under 24 hours, but the process can take up to several days in some + cases. During the migration, the DB instance is available for use, but + might experience performance degradation. While the migration takes + place, nightly backups for the instance are suspended. No other Amazon + RDS operations can take place for the instance, including modifying the + instance, rebooting the instance, deleting the instance, creating a read + replica for the instance, and creating a DB snapshot of the instance. + + Constraints: + + - For RDS for MariaDB, RDS for MySQL, RDS for Oracle, and RDS for + PostgreSQL - The value supplied must be at least 10% greater than the + current value. Values that are not at least 10% greater than the + existing value are rounded up so that they are 10% greater than the + current value. + + - When you increase the Provisioned IOPS, you must also specify the + `AllocatedStorage` parameter. You can use the current value for + `AllocatedStorage`. + + Default: Uses existing setting + """ + storage_throughput: int | None = ... + """ + The storage throughput value for the DB instance. + + This setting applies only to the `gp3` storage type. + + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + """ + option_group_name: str | None = ... + """ + The option group to associate the DB instance with. + + Changing this parameter doesn't result in an outage, with one + exception. If the parameter change results in an option group that + enables OEM, it can cause a brief period, lasting less than a second, + during which new connections are rejected but existing connections + aren't interrupted. + + The change is applied during the next maintenance window unless the + `ApplyImmediately` parameter is enabled for this request. + + Permanent options, such as the TDE option for Oracle Advanced Security + TDE, can't be removed from an option group, and that option group + can't be removed from a DB instance after it is associated with a DB + instance. + + This setting doesn't apply to RDS Custom DB instances. + """ + new_db_instance_identifier: str | None = ... + """ + The new identifier for the DB instance when renaming a DB instance. When + you change the DB instance identifier, an instance reboot occurs + immediately if you enable `ApplyImmediately`, or will occur during the + next maintenance window if you disable `ApplyImmediately`. This value is + stored as a lowercase string. + + This setting doesn't apply to RDS Custom DB instances. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + - The first character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `mydbinstance` + """ + storage_type: str | None = ... + """ + The storage type to associate with the DB instance. + + If you specify `io1`, `io2`, or `gp3` you must also include a value for + the `Iops` parameter. + + If you choose to migrate your DB instance from using standard storage to + gp2 (General Purpose SSD), gp3, or Provisioned IOPS (io1), or from these + storage types to standard storage, the process can take time. The + duration of the migration depends on several factors such as database + load, storage size, storage type (standard or Provisioned IOPS), amount + of IOPS provisioned (if any), and the number of prior scale storage + operations. Typical migration times are under 24 hours, but the process + can take up to several days in some cases. During the migration, the DB + instance is available for use, but might experience performance + degradation. While the migration takes place, nightly backups for the + instance are suspended. No other Amazon RDS operations can take place + for the instance, including modifying the instance, rebooting the + instance, deleting the instance, creating a read replica for the + instance, and creating a DB snapshot of the instance. + + Valid Values: `gp2 | gp3 | io1 | io2 | standard` + + Default: `io1`, if the `Iops` parameter is specified. Otherwise, `gp2`. + """ + tde_credential_arn: str | None = ... + """ + The ARN from the key store with which to associate the instance for TDE + encryption. + + This setting doesn't apply to RDS Custom DB instances. + """ + tde_credential_password: str | None = ... + """ + The password for the given ARN from the key store in order to access the + device. + + This setting doesn't apply to RDS Custom DB instances. + """ + ca_certificate_identifier: str | None = ... + """ + The CA certificate identifier to use for the DB instance's server + certificate. + + This setting doesn't apply to RDS Custom DB instances. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + domain: str | None = ... + """ + The Active Directory directory ID to move the DB instance to. Specify + `none` to remove the instance from its current domain. You must create + the domain before this operation. Currently, you can create only Db2, + MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an + Active Directory Domain. + + For more information, see [Kerberos + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + """ + domain_fqdn: str | None = ... + """ + The fully qualified domain name (FQDN) of an Active Directory domain. + + Constraints: + + - Can't be longer than 64 characters. + + Example: `mymanagedADtest.mymanagedAD.mydomain` + """ + domain_ou: str | None = ... + """ + The Active Directory organizational unit for your DB instance to join. + + Constraints: + + - Must be in the distinguished name format. + + Example: + `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` + """ + domain_auth_secret_arn: str | None = ... + """ + The ARN for the Secrets Manager secret with the credentials for the user + joining the domain. + + Example: + `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` + """ + domain_dns_ips: list[str] | None = ... + """ + The IPv4 DNS IP addresses of your primary and secondary Active Directory + domain controllers. + + Constraints: + + - Two IP addresses must be provided. If there isn't a secondary domain + controller, use the IP address of the primary domain controller for + both entries in the list. + + Example: `123.124.125.126,234.235.236.237` + """ + disable_domain: bool | None = ... + """ + Specifies whether to remove the DB instance from the Active Directory + domain. + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the DB instance to snapshots of + the DB instance. By default, tags aren't copied. + + This setting doesn't apply to Amazon Aurora DB instances. Copying tags + to snapshots is managed by the DB cluster. Setting this value for an + Aurora DB instance has no effect on the DB cluster setting. For more + information, see `ModifyDBCluster`. + """ + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the DB instance. To disable collection of + Enhanced Monitoring metrics, specify `0`. + + If `MonitoringRoleArn` is specified, set `MonitoringInterval` to a value + other than `0`. + + This setting doesn't apply to RDS Custom DB instances. + + Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` + + Default: `0` + """ + db_port_number: int | None = ... + """ + The port number on which the database accepts connections. + + The value of the `DBPortNumber` parameter must not match any of the port + values specified for options in the option group for the DB instance. + + If you change the `DBPortNumber` value, your database restarts + regardless of the value of the `ApplyImmediately` parameter. + + This setting doesn't apply to RDS Custom DB instances. + + Valid Values: `1150-65535` + + Default: + + - Amazon Aurora - `3306` + + - RDS for Db2 - `50000` + + - RDS for MariaDB - `3306` + + - RDS for Microsoft SQL Server - `1433` + + - RDS for MySQL - `3306` + + - RDS for Oracle - `1521` + + - RDS for PostgreSQL - `5432` + + Constraints: + + - For RDS for Microsoft SQL Server, the value can't be `1234`, `1434`, + `3260`, `3343`, `3389`, `47001`, or `49152-49156`. + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB instance is publicly accessible. + + When the DB instance is publicly accessible and you connect from outside + of the DB instance's virtual private cloud (VPC), its Domain Name + System (DNS) endpoint resolves to the public IP address. When you + connect from within the same VPC as the DB instance, the endpoint + resolves to the private IP address. Access to the DB instance is + ultimately controlled by the security group it uses. That public access + isn't permitted if the security group assigned to the DB instance + doesn't permit it. + + When the DB instance isn't publicly accessible, it is an internal DB + instance with a DNS name that resolves to a private IP address. + + `PubliclyAccessible` only applies to DB instances in a VPC. The DB + instance must be part of a public subnet and `PubliclyAccessible` must + be enabled for it to be publicly accessible. + + Changes to the `PubliclyAccessible` parameter are applied immediately + regardless of the value of the `ApplyImmediately` parameter. + """ + monitoring_role_arn: str | None = ... + """ + The ARN for the IAM role that permits RDS to send enhanced monitoring + metrics to Amazon CloudWatch Logs. For example, + `arn:aws:iam:123456789012:role/emaccess`. For information on creating a + monitoring role, see [To create an IAM role for Amazon RDS Enhanced + Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole) + in the *Amazon RDS User Guide.* + + If `MonitoringInterval` is set to a value other than `0`, supply a + `MonitoringRoleArn` value. + + This setting doesn't apply to RDS Custom DB instances. + """ + domain_iam_role_name: str | None = ... + """ + The name of the IAM role to use when making API calls to the Directory + Service. + + This setting doesn't apply to RDS Custom DB instances. + """ + promotion_tier: int | None = ... + """ + The order of priority in which an Aurora Replica is promoted to the + primary instance after a failure of the existing primary instance. For + more information, see [Fault Tolerance for an Aurora DB + Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance) + in the *Amazon Aurora User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + + Default: `1` + + Valid Values: `0 - 15` + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + This setting doesn't apply to Amazon Aurora. Mapping Amazon Web + Services IAM accounts to database accounts is managed by the DB cluster. + + For more information about IAM database authentication, see [IAM + Database Authentication for MySQL and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide.* + + This setting doesn't apply to RDS Custom DB instances. + """ + database_insights_mode: str | None = ... + """ + Specifies the mode of Database Insights to enable for the DB instance. + + Note: + Aurora DB instances inherit this value from the DB cluster, so you + can't change this value. + """ + enable_performance_insights: bool | None = ... + """ + Specifies whether to enable Performance Insights for the DB instance. + + For more information, see [Using Amazon Performance + Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + """ + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + If you don't specify a value for `PerformanceInsightsKMSKeyId`, then + Amazon RDS uses your default KMS key. There is a default KMS key for + your Amazon Web Services account. Your Amazon Web Services account has a + different default KMS key for each Amazon Web Services Region. + + This setting doesn't apply to RDS Custom DB instances. + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. + + This setting doesn't apply to RDS Custom DB instances. + + Valid Values: + + - `7` + + - *month* * 31, where *month* is a number of months from 1-23. + Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 + months * 31) + + - `731` + + Default: `7` days + + If you specify a retention period that isn't valid, such as `94`, + Amazon RDS returns an error. + """ + cloudwatch_logs_export_configuration: CloudwatchLogsExportConfiguration | None = ... + """ + The log types to be enabled for export to CloudWatch Logs for a specific + DB instance. + + A change to the `CloudwatchLogsExportConfiguration` parameter is always + applied to the DB instance immediately. Therefore, the + `ApplyImmediately` parameter has no effect. + + This setting doesn't apply to RDS Custom DB instances. + + The following values are valid for each DB engine: + + - Aurora MySQL - + `audit | error | general | slowquery | iam-db-auth-error` + + - Aurora PostgreSQL - `postgresql | iam-db-auth-error` + + - RDS for MySQL - `error | general | slowquery | iam-db-auth-error` + + - RDS for PostgreSQL - `postgresql | upgrade | iam-db-auth-error` + + For more information about exporting CloudWatch Logs for Amazon RDS, see + [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + For more information about exporting CloudWatch Logs for Amazon Aurora, + see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon Aurora User Guide*. + """ + processor_features: list[ProcessorFeature] | None = ... + """ + The number of CPU cores and the number of threads per core for the DB + instance class of the DB instance. + + This setting doesn't apply to RDS Custom DB instances. + """ + use_default_processor_features: bool | None = ... + """ + Specifies whether the DB instance class of the DB instance uses its + default processor features. + + This setting doesn't apply to RDS Custom DB instances. + """ + deletion_protection: bool | None = ... + """ + Specifies whether the DB instance has deletion protection enabled. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. For more information, see + [Deleting a DB + Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + + This setting doesn't apply to Amazon Aurora DB instances. You can + enable or disable deletion protection for the DB cluster. For more + information, see `ModifyDBCluster`. DB instances in a DB cluster can be + deleted even when deletion protection is enabled for the DB cluster. + """ + max_allocated_storage: int | None = ... + """ + The upper limit in gibibytes (GiB) to which Amazon RDS can automatically + scale the storage of the DB instance. + + For more information about this setting, including limitations that + apply to it, see [Managing capacity automatically with Amazon RDS + storage + autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + """ + certificate_rotation_restart: bool | None = ... + """ + Specifies whether the DB instance is restarted when you rotate your + SSL/TLS certificate. + + By default, the DB instance is restarted when you rotate your SSL/TLS + certificate. The certificate is not updated until the DB instance is + restarted. + + Warning: + Set this parameter only if you are *not* using SSL/TLS to connect to the + DB instance. + + If you are using SSL/TLS to connect to the DB instance, follow the + appropriate instructions for your DB engine to rotate your SSL/TLS + certificate: + + - For more information about rotating your SSL/TLS certificate for RDS + DB engines, see [Rotating Your SSL/TLS + Certificate.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html) + in the *Amazon RDS User Guide.* + + - For more information about rotating your SSL/TLS certificate for + Aurora DB engines, see [Rotating Your SSL/TLS + Certificate](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html) + in the *Amazon Aurora User Guide*. + + This setting doesn't apply to RDS Custom DB instances. + """ + replica_mode: str | None = ... + """ + The open mode of a replica database. + + This parameter is only supported for Db2 DB instances and Oracle DB + instances. + + Db2 + + : Standby DB replicas are included in Db2 Advanced Edition (AE), Db2 + Community Edition (CE), and Db2 Standard Edition (SE). The main use + case for standby replicas is cross-Region disaster recovery. Because + it doesn't accept user connections, a standby replica can't serve a + read-only workload. + + You can create a combination of standby and read-only DB replicas for + the same primary DB instance. For more information, see [Working with + replicas for Amazon RDS for + Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html) + in the *Amazon RDS User Guide*. + + To create standby DB replicas for RDS for Db2, set this parameter to + `mounted`. + + Oracle + + : Mounted DB replicas are included in Oracle Database Enterprise + Edition. The main use case for mounted replicas is cross-Region + disaster recovery. The primary database doesn't use Active Data Guard + to transmit information to the mounted replica. Because it doesn't + accept user connections, a mounted replica can't serve a read-only + workload. + + You can create a combination of mounted and read-only DB replicas for + the same primary DB instance. For more information, see [Working with + read replicas for Amazon RDS for + Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) + in the *Amazon RDS User Guide*. + + For RDS Custom, you must specify this parameter and set it to + `mounted`. The value won't be set by default. After replica creation, + you can manage the open mode manually. + """ + automation_mode: str | None = ... + """ + The automation mode of the RDS Custom DB instance. If `full`, the DB + instance automates monitoring and instance recovery. If `all paused`, + the instance pauses automation for the duration set by + `ResumeFullAutomationModeMinutes`. + """ + resume_full_automation_mode_minutes: int | None = ... + """ + The number of minutes to pause the automation. When the time period + ends, RDS Custom resumes full automation. + + Default: `60` + + Constraints: + + - Must be at least 60. + + - Must be no more than 1,440. + """ + enable_customer_owned_ip: bool | None = ... + """ + Specifies whether to enable a customer-owned IP address (CoIP) for an + RDS on Outposts DB instance. + + A *CoIP* provides local or external connectivity to resources in your + Outpost subnets through your on-premises network. For some use cases, a + CoIP can provide lower latency for connections to the DB instance from + outside of its virtual private cloud (VPC) on your local network. + + For more information about RDS on Outposts, see [Working with Amazon RDS + on Amazon Web Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide*. + + For more information about CoIPs, see [Customer-owned IP + addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the *Amazon Web Services Outposts User Guide*. + """ + network_type: str | None = ... + """ + The network type of the DB instance. + + The network type is determined by the `DBSubnetGroup` specified for the + DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon RDS User Guide.* + + Valid Values: `IPV4 | DUAL` + """ + aws_backup_recovery_point_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the recovery point in Amazon Web + Services Backup. + + This setting doesn't apply to RDS Custom DB instances. + """ + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager. + + If the DB instance doesn't manage the master user password with Amazon + Web Services Secrets Manager, you can turn on this management. In this + case, you can't specify `MasterUserPassword`. + + If the DB instance already manages the master user password with Amazon + Web Services Secrets Manager, and you specify that the master user + password is not managed with Amazon Web Services Secrets Manager, then + you must specify `MasterUserPassword`. In this case, Amazon RDS deletes + the secret and uses the new password for the master user specified by + `MasterUserPassword`. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide.* + + Constraints: + + - Can't manage the master user password with Amazon Web Services + Secrets Manager if `MasterUserPassword` is specified. + + - Can't specify for RDS for Oracle CDB instances in the multi-tenant + configuration. Use `ModifyTenantDatabase` instead. + + - Can't specify the parameters `ManageMasterUserPassword` and + `MultiTenant` in the same operation. + """ + rotate_master_user_password: bool | None = ... + """ + Specifies whether to rotate the secret managed by Amazon Web Services + Secrets Manager for the master user password. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB instance. The secret + value contains the updated password. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide.* + + Constraints: + + - You must apply the change immediately when rotating the master user + password. + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if both of the following conditions are met: + + - The DB instance doesn't manage the master user password in Amazon Web + Services Secrets Manager. + + If the DB instance already manages the master user password in Amazon + Web Services Secrets Manager, you can't change the KMS key used to + encrypt the secret. + + - You are turning on `ManageMasterUserPassword` to manage the master + user password in Amazon Web Services Secrets Manager. + + If you are turning on `ManageMasterUserPassword` and don't specify + `MasterUserSecretKmsKeyId`, then the `aws/secretsmanager` KMS key is + used to encrypt the secret. If the secret is in a different Amazon Web + Services account, then you can't use the `aws/secretsmanager` KMS key + to encrypt the secret, and you must use a customer managed KMS key. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + """ + multi_tenant: bool | None = ... + """ + Specifies whether the to convert your DB instance from the single-tenant + configuration to the multi-tenant configuration. This parameter is + supported only for RDS for Oracle CDB instances. + + During the conversion, RDS creates an initial tenant database and + associates the DB name, master user name, character set, and national + character set metadata with this database. The tags associated with the + instance also propagate to the initial tenant database. You can add more + tenant databases to your DB instance by using the `CreateTenantDatabase` + operation. + + Warning: + The conversion to the multi-tenant configuration is permanent and + irreversible, so you can't later convert back to the single-tenant + configuration. When you specify this parameter, you must also specify + `ApplyImmediately`. + """ + dedicated_log_volume: bool | None = ... + """ + Indicates whether the DB instance has a dedicated log volume (DLV) + enabled. + """ + engine: str | None = ... + """ + The target Oracle DB engine when you convert a non-CDB to a CDB. This + intermediate step is necessary to upgrade an Oracle Database 19c non-CDB + to an Oracle Database 21c CDB. + + Note the following requirements: + + - Make sure that you specify `oracle-ee-cdb` or `oracle-se2-cdb`. + + - Make sure that your DB engine runs Oracle Database 19c with an April + 2021 or later RU. + + Note the following limitations: + + - You can't convert a CDB to a non-CDB. + + - You can't convert a replica database. + + - You can't convert a non-CDB to a CDB and upgrade the engine version + in the same command. + + - You can't convert the existing custom parameter or option group when + it has options or parameters that are permanent or persistent. In this + situation, the DB instance reverts to the default option and parameter + group. To avoid reverting to the default, specify a new parameter + group with `--db-parameter-group-name` and a new option group with + `--option-group-name`. + """ + additional_storage_volumes: list[ModifyAdditionalStorageVolume] | None = ... + """ + A list of additional storage volumes to modify or delete for the DB + instance. You can create up to 3 additional storage volumes. Additional + storage volumes are supported for RDS for Oracle and RDS for SQL Server + DB instances only. + """ + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation for the DB + instance to use. You can specify the identifier, which has the prefix + `dbcr-`, or the reservation name. After the modification completes, the + DB instance uses reserved capacity from this reservation. + + You can't change the DB capacity reservation of a DB instance on its + own. A request that changes the reservation must also change the DB + instance class, the Multi-AZ setting, the license model, or the engine. + Therefore, this request always changes the configuration of the DB + instance. + + If the DB instance already uses the reservation that you specify, this + requirement doesn't apply. You can then change another setting, such as + the Multi-AZ setting, and keep the reservation. + + For a DB instance that uses no reservation, change `DBInstanceClass` to + the DB instance class that the reservation reserves. A reservation + reserves capacity for one DB instance class, so that change moves the DB + instance onto the reserved capacity. That change also resizes the DB + instance, which interrupts it. + + If the DB instance already runs the DB instance class that the + reservation reserves, change `MultiAZ` or `LicenseModel` instead. Only + RDS for Oracle and RDS for Microsoft SQL Server accept a change of + license model, so `MultiAZ` is the remaining choice for every other + engine. + + Warning: + If you don't specify this parameter, Amazon RDS moves the DB instance + to unreserved capacity, and it releases the reserved capacity that the + DB instance holds. A request that changes the DB instance class, the + Multi-AZ setting, the license model, or the engine moves the DB instance + to different hardware, and Amazon RDS places the DB instance on + unreserved capacity. Therefore, to keep the DB instance on reserved + capacity, specify this parameter in every request that changes any of + those settings. + + The DB instance keeps its current reservation until Amazon RDS applies + the modification. Until then, the `DBCapacityReservationIdentifier` + field of the DB instance still reports that reservation, and + `PendingModifiedValues` reports no reservation. Amazon RDS releases the + reserved capacity when it moves the DB instance. + + Constraints: + + - If the request changes which DB capacity reservation the DB instance + uses, it must also set a new value for `DBInstanceClass`, `MultiAZ`, + `LicenseModel`, or `Engine`. The new value must differ from the + current value. The only engine change that `ModifyDBInstance` supports + is a conversion to the CDB architecture. Repeating the current value + doesn't satisfy this requirement. This requirement applies both when + the DB instance uses no reservation, and when it moves to a different + reservation. + + - The reservation must reserve capacity for the DB instance class that + the DB instance uses after the modification, and for the database + engine of the DB instance. Therefore, when the request changes + `DBInstanceClass`, the reservation reserves capacity for a DB instance + class that the DB instance doesn't use today. + + - The reservation must be in the `active` state, and it must not be past + its end date. + + - The reservation must have available capacity in each Availability Zone + that the DB instance uses after the modification. + + - The reservation must cover the Availability Zone of the DB instance, + except when the request changes the DB instance from Multi-AZ to + Single-AZ. + + - For a Multi-AZ DB instance, the reservation must cover two or more + Availability Zones. A Multi-AZ DB instance uses one unit of reserved + capacity in each of two Availability Zones. + + - If the DB instance is already Multi-AZ, the reservation must cover + both of its Availability Zones. If the request converts the DB + instance to Multi-AZ, the reservation must cover the current + Availability Zone of the DB instance, and Amazon RDS chooses the + second Availability Zone from the reservation. + + - If the reservation reserves capacity for a specific license model, the + license model of the DB instance must match it. Amazon RDS checks the + license model only when the request specifies `LicenseModel`. + + - You can't specify this parameter together with a change to + `DBSubnetGroupName`. + + - You can't specify this parameter together with a change to both + `DBInstanceClass` and `LicenseModel`. Submit those changes as two + separate requests. + + - Can't be specified together with a change to `DBInstanceClass` when + the request also changes the DB instance from Multi-AZ to Single-AZ. + + - When the request changes the DB instance from Multi-AZ to Single-AZ, + the reservation must cover either the primary or the secondary + Availability Zone of the DB instance. Amazon RDS keeps the DB instance + in its primary Availability Zone, and it removes the standby replica. + Therefore, the primary Availability Zone keeps its unit of reserved + capacity, and the secondary Availability Zone releases its unit. + + - Can't be specified together with `LicenseModel` while a modification + of the DB instance class or the Multi-AZ setting is pending. + + - Can't be specified together with `DBInstanceClass` or `MultiAZ` while + a modification of the license model is pending. + + - When a modification is already pending, the reservation must reserve + capacity for the DB instance as it will be after both the pending + modification and the requested modification complete. + + - The DB subnet group must be in a VPC with default tenancy. + + - The DB subnet group must cover each Availability Zone that the DB + instance uses. + + - Isn't supported for an RDS on Outposts DB instance. + + - If the reservation expires within one week, you must also enable + `ApplyImmediately`. Otherwise, choose a reservation with a later end + date. + + - Amazon RDS holds a unit of reserved capacity for the DB instance when + it accepts the request, even when the modification waits for the + maintenance window. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB instance. + + Valid Values: + + - `auto-backup` - The DB instance's automated backup. + """ + master_user_authentication_type: str | None = ... + """ + Specifies the authentication type for the master user. With IAM master + user authentication, you can change the master DB user to use IAM + database authentication. + + You can specify one of the following values: + + - `password` - Use standard database authentication with a password. + + - `iam-db-auth` - Use IAM database authentication for the master user. + + This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL + engines. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB instance. + + This setting applies only to RDS for MySQL and RDS for PostgreSQL. For + Amazon Aurora DB instances, the engine lifecycle support is managed by + the DB cluster. + + You can use this setting to enroll your DB instance into Amazon RDS + Extended Support or to opt out. With RDS Extended Support, you can run + the selected major engine version on your DB instance past the end of + standard support for that engine version. For more information, see + [Amazon RDS Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide*. + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + This setting doesn't apply to RDS Custom DB instances. + """ + +@dataclass(kw_only=True) +class ModifyDBInstanceOutput(_SerdeShape): + """Dataclass for ModifyDBInstanceOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBParameterGroupInput(_SerdeShape): + """""" + + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group. + + Constraints: + + - If supplied, must match the name of an existing `DBParameterGroup`. + """ + parameters: list[Parameter] | None = ... + """ + An array of parameter names, values, and the application methods for the + parameter update. At least one parameter name, value, and application + method must be supplied; later arguments are optional. A maximum of 20 + parameters can be modified in a single request. + + Valid Values (for the application method): `immediate | pending-reboot` + + You can use the `immediate` value with dynamic parameters only. You can + use the `pending-reboot` value for both dynamic and static parameters. + + When the application method is `immediate`, changes to dynamic + parameters are applied immediately to the DB instances associated with + the parameter group. + + When the application method is `pending-reboot`, changes to dynamic and + static parameters are applied after a reboot without failover to the DB + instances associated with the parameter group. + + Note: + You can't use `pending-reboot` with dynamic parameters on RDS for SQL + Server DB instances. Use `immediate`. + + For more information on modifying DB parameters, see [Working with DB + parameter + groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html) + in the *Amazon RDS User Guide*. + """ + +@dataclass(kw_only=True) +class ModifyDBParameterGroupOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `ModifyDBParameterGroup` or `ResetDBParameterGroup` operation. + """ + + db_parameter_group_name: str | None = ... + """The name of the DB parameter group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBProxyEndpointInput(_SerdeShape): + """Dataclass for ModifyDBProxyEndpointInput structure.""" + + db_proxy_endpoint_name: str | None = ... + """ + The name of the DB proxy sociated with the DB proxy endpoint that you + want to modify. + """ + new_db_proxy_endpoint_name: str | None = ... + """ + The new identifier for the `DBProxyEndpoint`. An identifier must begin + with a letter and must contain only ASCII letters, digits, and hyphens; + it can't end with a hyphen or contain two consecutive hyphens. + """ + vpc_security_group_ids: list[str] | None = ... + """ + The VPC security group IDs for the DB proxy endpoint. When the DB proxy + endpoint uses a different VPC than the original proxy, you also specify + a different set of security group IDs than for the original proxy. + """ + +@dataclass(kw_only=True) +class ModifyDBProxyEndpointOutput(_SerdeShape): + """Dataclass for ModifyDBProxyEndpointOutput structure.""" + + db_proxy_endpoint: DBProxyEndpoint | None = ... + """ + The `DBProxyEndpoint` object representing the new settings for the DB + proxy endpoint. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBProxyInput(_SerdeShape): + """Dataclass for ModifyDBProxyInput structure.""" + + db_proxy_name: str | None = ... + """The identifier for the `DBProxy` to modify.""" + new_db_proxy_name: str | None = ... + """ + The new identifier for the `DBProxy`. An identifier must begin with a + letter and must contain only ASCII letters, digits, and hyphens; it + can't end with a hyphen or contain two consecutive hyphens. + """ + default_auth_scheme: str | None = ... + """ + The default authentication scheme that the proxy uses for client + connections to the proxy and connections from the proxy to the + underlying database. Valid values are `NONE` and `IAM_AUTH`. When set to + `IAM_AUTH`, the proxy uses end-to-end IAM authentication to connect to + the database. + """ + auth: list[UserAuthConfig] | None = ... + """The new authentication settings for the `DBProxy`.""" + require_tls: bool | None = ... + """ + Whether Transport Layer Security (TLS) encryption is required for + connections to the proxy. By enabling this setting, you can enforce + encrypted TLS connections to the proxy, even if the associated database + doesn't use TLS. + """ + idle_client_timeout: int | None = ... + """ + The number of seconds that a connection to the proxy can be inactive + before the proxy disconnects it. You can set this value higher or lower + than the connection timeout limit for the associated database. + """ + debug_logging: bool | None = ... + """ + Specifies whether the proxy logs detailed connection and query + information. When you enable `DebugLogging`, the proxy captures + connection details and connection pool behavior from your queries. Debug + logging increases CloudWatch costs and can impact proxy performance. + Enable this option only when you need to troubleshoot connection or + performance issues. + """ + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role that the proxy uses to + access secrets in Amazon Web Services Secrets Manager. + """ + security_groups: list[str] | None = ... + """The new list of security groups for the `DBProxy`.""" + +@dataclass(kw_only=True) +class ModifyDBProxyOutput(_SerdeShape): + """Dataclass for ModifyDBProxyOutput structure.""" + + db_proxy: DBProxy | None = ... + """The `DBProxy` object representing the new settings for the proxy.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBProxyTargetGroupInput(_SerdeShape): + """Dataclass for ModifyDBProxyTargetGroupInput structure.""" + + target_group_name: str | None = ... + """The name of the target group to modify.""" + db_proxy_name: str | None = ... + """The name of the proxy.""" + connection_pool_config: ConnectionPoolConfiguration | None = ... + """ + The settings that determine the size and behavior of the connection pool + for the target group. + """ + new_name: str | None = ... + """ + The new name for the modified `DBProxyTarget`. An identifier must begin + with a letter and must contain only ASCII letters, digits, and hyphens; + it can't end with a hyphen or contain two consecutive hyphens. + + You can't rename the `default` target group. + """ + +@dataclass(kw_only=True) +class ModifyDBProxyTargetGroupOutput(_SerdeShape): + """Dataclass for ModifyDBProxyTargetGroupOutput structure.""" + + db_proxy_target_group: DBProxyTargetGroup | None = ... + """The settings of the modified `DBProxyTarget`.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBRecommendationInput(_SerdeShape): + """Dataclass for ModifyDBRecommendationInput structure.""" + + recommendation_id: str | None = ... + """The identifier of the recommendation to update.""" + locale: str | None = ... + """The language of the modified recommendation.""" + status: str | None = ... + """ + The recommendation status to update. + + Valid values: + + - active + + - dismissed + """ + recommended_action_updates: list[RecommendedActionUpdate] | None = ... + """ + The list of recommended action status to update. You can update multiple + recommended actions at one time. + """ + +@dataclass(kw_only=True) +class ModifyDBRecommendationOutput(_SerdeShape): + """Dataclass for ModifyDBRecommendationOutput structure.""" + + db_recommendation: DBRecommendation | None = ... + """ + The recommendation for your DB instances, DB clusters, and DB parameter + groups. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBShardGroupInput(_SerdeShape): + """Dataclass for ModifyDBShardGroupInput structure.""" + + db_shard_group_identifier: str | None = ... + """The name of the DB shard group to modify.""" + max_acu: float | None = ... + """ + The maximum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + min_acu: float | None = ... + """ + The minimum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + compute_redundancy: int | None = ... + """ + Specifies whether to create standby DB shard groups for the DB shard + group. Valid values are the following: + + - 0 - Creates a DB shard group without a standby DB shard group. This is + the default value. + + - 1 - Creates a DB shard group with a standby DB shard group in a + different Availability Zone (AZ). + + - 2 - Creates a DB shard group with two standby DB shard groups in two + different AZs. + """ + +@dataclass(kw_only=True) +class ModifyDBShardGroupOutput(_SerdeShape): + """Contains the details for an Amazon RDS DB shard group.""" + + db_shard_group_resource_id: str | None = ... + """ + The Amazon Web Services Region-unique, immutable identifier for the DB + shard group. + """ + db_shard_group_identifier: str | None = ... + """The name of the DB shard group.""" + db_cluster_identifier: str | None = ... + """The name of the primary DB cluster for the DB shard group.""" + max_acu: float | None = ... + """ + The maximum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + min_acu: float | None = ... + """ + The minimum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + compute_redundancy: int | None = ... + """ + Specifies whether to create standby DB shard groups for the DB shard + group. Valid values are the following: + + - 0 - Creates a DB shard group without a standby DB shard group. This is + the default value. + + - 1 - Creates a DB shard group with a standby DB shard group in a + different Availability Zone (AZ). + + - 2 - Creates a DB shard group with two standby DB shard groups in two + different AZs. + """ + status: str | None = ... + """The status of the DB shard group.""" + publicly_accessible: bool | None = ... + """ + Indicates whether the DB shard group is publicly accessible. + + When the DB shard group is publicly accessible, its Domain Name System + (DNS) endpoint resolves to the private IP address from within the DB + shard group's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB shard group's VPC. Access to the DB + shard group is ultimately controlled by the security group it uses. That + public access isn't permitted if the security group assigned to the DB + shard group doesn't permit it. + + When the DB shard group isn't publicly accessible, it is an internal DB + shard group with a DNS name that resolves to a private IP address. + + For more information, see CreateDBShardGroup. + + This setting is only for Aurora Limitless Database. + """ + endpoint: str | None = ... + """The connection endpoint for the DB shard group.""" + db_shard_group_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB shard group.""" + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBSnapshotAttributeInput(_SerdeShape): + """""" + + db_snapshot_identifier: str | None = ... + """The identifier for the DB snapshot to modify the attributes for.""" + attribute_name: str | None = ... + """ + The name of the DB snapshot attribute to modify. + + To manage authorization for other Amazon Web Services accounts to copy + or restore a manual DB snapshot, set this value to `restore`. + + Note: + To view the list of attributes available to modify, use the + DescribeDBSnapshotAttributes API operation. + """ + values_to_add: list[str] | None = ... + """ + A list of DB snapshot attributes to add to the attribute specified by + `AttributeName`. + + To authorize other Amazon Web Services accounts to copy or restore a + manual snapshot, set this list to include one or more Amazon Web + Services account IDs, or `all` to make the manual DB snapshot restorable + by any Amazon Web Services account. Do not add the `all` value for any + manual DB snapshots that contain private information that you don't + want available to all Amazon Web Services accounts. + """ + values_to_remove: list[str] | None = ... + """ + A list of DB snapshot attributes to remove from the attribute specified + by `AttributeName`. + + To remove authorization for other Amazon Web Services accounts to copy + or restore a manual snapshot, set this list to include one or more + Amazon Web Services account identifiers, or `all` to remove + authorization for any Amazon Web Services account to copy or restore the + DB snapshot. If you specify `all`, an Amazon Web Services account whose + account ID is explicitly added to the `restore` attribute can still copy + or restore the manual DB snapshot. + """ + +@dataclass(kw_only=True) +class ModifyDBSnapshotAttributeOutput(_SerdeShape): + """Dataclass for ModifyDBSnapshotAttributeOutput structure.""" + + db_snapshot_attributes_result: DBSnapshotAttributesResult | None = ... + """ + Contains the results of a successful call to the + `DescribeDBSnapshotAttributes` API action. + + Manual DB snapshot attributes are used to authorize other Amazon Web + Services accounts to copy or restore a manual DB snapshot. For more + information, see the `ModifyDBSnapshotAttribute` API action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBSnapshotInput(_SerdeShape): + """Dataclass for ModifyDBSnapshotInput structure.""" + + db_snapshot_identifier: str | None = ... + """The identifier of the DB snapshot to modify.""" + engine_version: str | None = ... + """ + The engine version to upgrade the DB snapshot to. + + The following are the database engines and engine versions that are + available when you upgrade a DB snapshot. + + **MariaDB** + + For the list of engine versions that are available for upgrading a DB + snapshot, see [Upgrading a MariaDB DB snapshot engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mariadb-upgrade-snapshot.html) + in the *Amazon RDS User Guide.* + + **MySQL** + + For the list of engine versions that are available for upgrading a DB + snapshot, see [Upgrading a MySQL DB snapshot engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-upgrade-snapshot.html) + in the *Amazon RDS User Guide.* + + **Oracle** + + - `21.0.0.0.ru-2025-04.rur-2025-04.r1` (supported for + 21.0.0.0.ru-2022-01.rur-2022-01.r1, + 21.0.0.0.ru-2022-04.rur-2022-04.r1, + 21.0.0.0.ru-2022-07.rur-2022-07.r1, + 21.0.0.0.ru-2022-10.rur-2022-10.r1, 21.0.0.0.ru-2023-01.rur-2023-01.r1 + and 21.0.0.0.ru-2023-01.rur-2023-01.r2 DB snapshots) + + - `19.0.0.0.ru-2025-04.rur-2025-04.r1` (supported for + 19.0.0.0.ru-2019-07.rur-2019-07.r1, 19.0.0.0.ru-2019-10.rur-2019-10.r1 + and 0.0.0.ru-2020-01.rur-2020-01.r1 DB snapshots) + + - `19.0.0.0.ru-2022-01.rur-2022-01.r1` (supported for 12.2.0.1 DB + snapshots) + + - `19.0.0.0.ru-2022-07.rur-2022-07.r1` (supported for 12.1.0.2 DB + snapshots) + + - `12.1.0.2.v8` (supported for 12.1.0.1 DB snapshots) + + - `11.2.0.4.v12` (supported for 11.2.0.2 DB snapshots) + + - `11.2.0.4.v11` (supported for 11.2.0.3 DB snapshots) + + **PostgreSQL** + + For the list of engine versions that are available for upgrading a DB + snapshot, see [Upgrading a PostgreSQL DB snapshot engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBSnapshot.PostgreSQL.html) + in the *Amazon RDS User Guide.* + """ + option_group_name: str | None = ... + """ + The option group to identify with the upgraded DB snapshot. + + You can specify this parameter when you upgrade an Oracle DB snapshot. + The same option group considerations apply when upgrading a DB snapshot + as when upgrading a DB instance. For more information, see [Option group + considerations](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Oracle.html#USER_UpgradeDBInstance.Oracle.OGPG.OG) + in the *Amazon RDS User Guide.* + """ + +@dataclass(kw_only=True) +class ModifyDBSnapshotOutput(_SerdeShape): + """Dataclass for ModifyDBSnapshotOutput structure.""" + + db_snapshot: DBSnapshot | None = ... + """ + Contains the details of an Amazon RDS DB snapshot. + + This data type is used as a response element in the + `DescribeDBSnapshots` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyDBSubnetGroupInput(_SerdeShape): + """""" + + db_subnet_group_name: str | None = ... + """ + The name for the DB subnet group. This value is stored as a lowercase + string. You can't modify the default subnet group. + + Constraints: Must match the name of an existing DBSubnetGroup. Must not + be default. + + Example: `mydbsubnetgroup` + """ + db_subnet_group_description: str | None = ... + """The description for the DB subnet group.""" + subnet_ids: list[str] | None = ... + """The EC2 subnet IDs for the DB subnet group.""" + +@dataclass(kw_only=True) +class ModifyDBSubnetGroupOutput(_SerdeShape): + """Dataclass for ModifyDBSubnetGroupOutput structure.""" + + db_subnet_group: DBSubnetGroup | None = ... + """ + Contains the details of an Amazon RDS DB subnet group. + + This data type is used as a response element in the + `DescribeDBSubnetGroups` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyEventSubscriptionInput(_SerdeShape): + """""" + + subscription_name: str | None = ... + """The name of the RDS event notification subscription.""" + sns_topic_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the SNS topic created for event + notification. The ARN is created by Amazon SNS when you create a topic + and subscribe to it. + """ + source_type: str | None = ... + """ + The type of source that is generating the events. For example, if you + want to be notified of events generated by a DB instance, you would set + this parameter to db-instance. For RDS Proxy events, specify `db-proxy`. + If this value isn't specified, all events are returned. + + Valid + Values:` db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy | zero-etl | custom-engine-version | blue-green-deployment ` + """ + event_categories: list[str] | None = ... + """ + A list of event categories for a source type (`SourceType`) that you + want to subscribe to. You can see a list of the categories for a given + source type in + [Events](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) + in the *Amazon RDS User Guide* or by using the `DescribeEventCategories` + operation. + """ + enabled: bool | None = ... + """Specifies whether to activate the subscription.""" + +@dataclass(kw_only=True) +class ModifyEventSubscriptionOutput(_SerdeShape): + """Dataclass for ModifyEventSubscriptionOutput structure.""" + + event_subscription: EventSubscription | None = ... + """ + Contains the results of a successful invocation of the + `DescribeEventSubscriptions` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyGlobalClusterInput(_SerdeShape): + """Dataclass for ModifyGlobalClusterInput structure.""" + + global_cluster_identifier: str | None = ... + """ + The cluster identifier for the global cluster to modify. This parameter + isn't case-sensitive. + + Constraints: + + - Must match the identifier of an existing global database cluster. + """ + new_global_cluster_identifier: str | None = ... + """ + The new cluster identifier for the global database cluster. This value + is stored as a lowercase string. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + - The first character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `my-cluster2` + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the global database + cluster. The global database cluster can't be deleted when deletion + protection is enabled. + """ + engine_version: str | None = ... + """ + The version number of the database engine to which you want to upgrade. + + To list all of the available engine versions for `aurora-mysql` (for + MySQL-based Aurora global databases), use the following command: + + `` aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]' `` + + To list all of the available engine versions for `aurora-postgresql` + (for PostgreSQL-based Aurora global databases), use the following + command: + + `` aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]' `` + """ + allow_major_version_upgrade: bool | None = ... + """ + Specifies whether to allow major version upgrades. + + Constraints: Must be enabled if you specify a value for the + `EngineVersion` parameter that's a different major version than the + global cluster's current version. + + If you upgrade the major version of a global database, the cluster and + DB instance parameter groups are set to the default parameter groups for + the new version. Apply any custom parameter groups after completing the + upgrade. + """ + +@dataclass(kw_only=True) +class ModifyGlobalClusterOutput(_SerdeShape): + """Dataclass for ModifyGlobalClusterOutput structure.""" + + global_cluster: GlobalCluster | None = ... + """A data type representing an Aurora global database.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyIntegrationInput(_SerdeShape): + """Dataclass for ModifyIntegrationInput structure.""" + + integration_identifier: str | None = ... + """The unique identifier of the integration to modify.""" + integration_name: str | None = ... + """A new name for the integration.""" + data_filter: str | None = ... + """ + A new data filter for the integration. For more information, see [Data + filtering for Aurora zero-ETL integrations with Amazon + Redshift](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Zero_ETL_Filtering.html) + or [Data filtering for Amazon RDS zero-ETL integrations with Amazon + Redshift](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/zero-etl.filtering.html). + """ + description: str | None = ... + """A new description for the integration.""" + +@dataclass(kw_only=True) +class ModifyIntegrationOutput(_SerdeShape): + """A zero-ETL integration with Amazon Redshift.""" + + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the database used as the source for + replication. + """ + target_arn: str | None = ... + """ + The ARN of the Redshift data warehouse used as the target for + replication. + """ + integration_name: str | None = ... + """The name of the integration.""" + integration_arn: str | None = ... + """The ARN of the integration.""" + kms_key_id: str | None = ... + """ + The Amazon Web Services Key Management System (Amazon Web Services KMS) + key identifier for the key used to to encrypt the integration. + """ + additional_encryption_context: dict[str, str] | None = ... + """ + The encryption context for the integration. For more information, see + [Encryption + context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) + in the *Amazon Web Services Key Management Service Developer Guide*. + """ + status: str | None = ... + """The current status of the integration.""" + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + data_filter: str | None = ... + """ + Data filters for the integration. These filters determine which tables + from the source database are sent to the target Amazon Redshift data + warehouse. + """ + description: str | None = ... + """A description of the integration.""" + create_time: datetime | None = ... + """ + The time when the integration was created, in Universal Coordinated Time + (UTC). + """ + errors: list[IntegrationError] | None = ... + """Any errors associated with the integration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyOptionGroupInput(_SerdeShape): + """""" + + option_group_name: str | None = ... + """ + The name of the option group to be modified. + + Permanent options, such as the TDE option for Oracle Advanced Security + TDE, can't be removed from an option group, and that option group + can't be removed from a DB instance once it is associated with a DB + instance + """ + options_to_include: list[OptionConfiguration] | None = ... + """ + Options in this list are added to the option group or, if already + present, the specified configuration is used to update the existing + configuration. + """ + options_to_remove: list[str] | None = ... + """Options in this list are removed from the option group.""" + apply_immediately: bool | None = ... + """ + Specifies whether to apply the change immediately or during the next + maintenance window for each instance associated with the option group. + """ + +@dataclass(kw_only=True) +class ModifyOptionGroupOutput(_SerdeShape): + """Dataclass for ModifyOptionGroupOutput structure.""" + + option_group: OptionGroup | None = ... + """""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ModifyTenantDatabaseInput(_SerdeShape): + """Dataclass for ModifyTenantDatabaseInput structure.""" + + db_instance_identifier: str | None = ... + """ + The identifier of the DB instance that contains the tenant database that + you are modifying. This parameter isn't case-sensitive. + + Constraints: + + - Must match the identifier of an existing DB instance. + """ + tenant_db_name: str | None = ... + """ + The user-supplied name of the tenant database that you want to modify. + This parameter isn't case-sensitive. + + Constraints: + + - Must match the identifier of an existing tenant database. + """ + master_user_password: str | None = ... + """ + The new password for the master user of the specified tenant database in + your DB instance. + + Note: + Amazon RDS operations never return the password, so this action provides + a way to regain access to a tenant database user if the password is + lost. This includes restoring privileges that might have been + accidentally revoked. + + Constraints: + + - Can include any printable ASCII character except `/`, `"` (double + quote), `@`, `&` (ampersand), and `'` (single quote). + + Length constraints: + + - Must contain between 8 and 30 characters. + """ + new_tenant_db_name: str | None = ... + """ + The new name of the tenant database when renaming a tenant database. + This parameter isn't case-sensitive. + + Constraints: + + - Can't be the string null or any other reserved word. + + - Can't be longer than 8 characters. + """ + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager. + + If the tenant database doesn't manage the master user password with + Amazon Web Services Secrets Manager, you can turn on this management. In + this case, you can't specify `MasterUserPassword`. + + If the tenant database already manages the master user password with + Amazon Web Services Secrets Manager, and you specify that the master + user password is not managed with Amazon Web Services Secrets Manager, + then you must specify `MasterUserPassword`. In this case, Amazon RDS + deletes the secret and uses the new password for the master user + specified by `MasterUserPassword`. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide.* + + Constraints: + + - Can't manage the master user password with Amazon Web Services + Secrets Manager if `MasterUserPassword` is specified. + """ + rotate_master_user_password: bool | None = ... + """ + Specifies whether to rotate the secret managed by Amazon Web Services + Secrets Manager for the master user password. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB instance. The secret + value contains the updated password. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide.* + + Constraints: + + - You must apply the change immediately when rotating the master user + password. + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if both of the following conditions are met: + + - The tenant database doesn't manage the master user password in Amazon + Web Services Secrets Manager. + + If the tenant database already manages the master user password in + Amazon Web Services Secrets Manager, you can't change the KMS key + used to encrypt the secret. + + - You're turning on `ManageMasterUserPassword` to manage the master + user password in Amazon Web Services Secrets Manager. + + If you're turning on `ManageMasterUserPassword` and don't specify + `MasterUserSecretKmsKeyId`, then the `aws/secretsmanager` KMS key is + used to encrypt the secret. If the secret is in a different Amazon Web + Services account, then you can't use the `aws/secretsmanager` KMS key + to encrypt the secret, and you must use a self-managed KMS key. + + The Amazon Web Services KMS key identifier is any of the following: + + - Key ARN + + - Key ID + + - Alias ARN + + - Alias name for the KMS key + + To use a KMS key in a different Amazon Web Services account, specify the + key ARN or alias ARN. + + A default KMS key exists for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + """ + +@dataclass(kw_only=True) +class ModifyTenantDatabaseOutput(_SerdeShape): + """Dataclass for ModifyTenantDatabaseOutput structure.""" + + tenant_database: TenantDatabase | None = ... + """ + A tenant database in the DB instance. This data type is an element in + the response to the `DescribeTenantDatabases` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NetworkTypeNotSupported(ServiceError, _SerdeShape): + """ + The network type is invalid for the DB instance. Valid nework type + values are `IPV4` and `DUAL`. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Option(_SerdeShape): + """The details of an option.""" + + option_name: str | None = ... + """The name of the option.""" + option_description: str | None = ... + """The description of the option.""" + persistent: bool | None = ... + """Indicates whether this option is persistent.""" + permanent: bool | None = ... + """Indicates whether this option is permanent.""" + port: int | None = ... + """If required, the port configured for this option to use.""" + option_version: str | None = ... + """The version of the option.""" + option_settings: list[OptionSetting] | None = ... + """The option settings for this option.""" + db_security_group_memberships: list[DBSecurityGroupMembership] | None = ... + """ + If the option requires access to a port, then this DB security group + allows access to the port. + """ + vpc_security_group_memberships: list[VpcSecurityGroupMembership] | None = ... + """ + If the option requires access to a port, then this VPC security group + allows access to the port. + """ diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/models_2.pyi b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/models_2.pyi new file mode 100644 index 000000000..52096d9af --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/models_2.pyi @@ -0,0 +1,7696 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum + +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AdditionalStorageVolume, + AvailabilityZone, + AvailableAdditionalStorageVolumesOption, + AvailableProcessorFeature, + BlueGreenDeployment, + ContextAttribute, + DBCluster, + DBClusterAssociatedRole, + DBInstance, + DBInstanceAutomatedBackup, + DBProxyTarget, + DBSecurityGroup, + DoubleRange, + EventSubscription, + GlobalCluster, + IssueDetails, + MasterUserSecret, + Metric, + MinimumEngineVersionPerAllowedValue, + Option, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class OptionConfiguration(_SerdeShape): + """A list of all available options for an option group.""" + + option_name: str | None = ... + """The configuration of options to include in a group.""" + port: int | None = ... + """The optional port for the option.""" + option_version: str | None = ... + """The version for the option.""" + db_security_group_memberships: list[str] | None = ... + """A list of DB security groups used for this option.""" + vpc_security_group_memberships: list[str] | None = ... + """A list of VPC security group names used for this option.""" + option_settings: list[OptionSetting] | None = ... + """The option settings to include in an option group.""" + +@dataclass(kw_only=True) +class OptionGroup(_SerdeShape): + """""" + + option_group_name: str | None = ... + """Specifies the name of the option group.""" + option_group_description: str | None = ... + """Provides a description of the option group.""" + engine_name: str | None = ... + """ + Indicates the name of the engine that this option group can be applied + to. + """ + major_engine_version: str | None = ... + """Indicates the major engine version associated with this option group.""" + options: list[Option] | None = ... + """Indicates what options are available in the option group.""" + allows_vpc_and_non_vpc_instance_memberships: bool | None = ... + """ + Indicates whether this option group can be applied to both VPC and + non-VPC instances. The value `true` indicates the option group can be + applied to both VPC and non-VPC instances. + """ + vpc_id: str | None = ... + """ + If **AllowsVpcAndNonVpcInstanceMemberships** is `false`, this field is + blank. If **AllowsVpcAndNonVpcInstanceMemberships** is `true` and this + field is blank, then this option group can be applied to both VPC and + non-VPC instances. If this field contains a value, then this option + group can only be applied to instances that are in the VPC indicated by + this field. + """ + option_group_arn: str | None = ... + """Specifies the Amazon Resource Name (ARN) for the option group.""" + source_option_group: str | None = ... + """ + Specifies the name of the option group from which this option group is + copied. + """ + source_account_id: str | None = ... + """ + Specifies the Amazon Web Services account ID for the option group from + which this option group is copied. + """ + copy_timestamp: datetime | None = ... + """Indicates when the option group was copied.""" + source_region: str | None = ... + """ + Specifies the Amazon Web Services Region for the option group from which + this option group is copied. + """ + +@dataclass(kw_only=True) +class OptionGroupAlreadyExistsFault(ServiceError, _SerdeShape): + """The option group you are trying to create already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OptionGroupMembership(_SerdeShape): + """ + Provides information on the option groups the DB instance is a member + of. + """ + + option_group_name: str | None = ... + """The name of the option group that the instance belongs to.""" + status: str | None = ... + """ + The status of the DB instance's option group membership. Valid values + are: `in-sync`, `pending-apply`, `pending-removal`, + `pending-maintenance-apply`, `pending-maintenance-removal`, `applying`, + `removing`, and `failed`. + """ + +@dataclass(kw_only=True) +class OptionGroupNotFoundFault(ServiceError, _SerdeShape): + """The specified option group could not be found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OptionGroupOption(_SerdeShape): + """Available option.""" + + name: str | None = ... + """The name of the option.""" + description: str | None = ... + """The description of the option.""" + engine_name: str | None = ... + """The name of the engine that this option can be applied to.""" + major_engine_version: str | None = ... + """Indicates the major engine version that the option is available for.""" + minimum_required_minor_engine_version: str | None = ... + """The minimum required engine version for the option to be applied.""" + port_required: bool | None = ... + """Indicates whether the option requires a port.""" + default_port: int | None = ... + """ + If the option requires a port, specifies the default port for the + option. + """ + options_depended_on: list[str] | None = ... + """The options that are prerequisites for this option.""" + options_conflicts_with: list[str] | None = ... + """The options that conflict with this option.""" + persistent: bool | None = ... + """ + Persistent options can't be removed from an option group while DB + instances are associated with the option group. If you disassociate all + DB instances from the option group, your can remove the persistent + option from the option group. + """ + permanent: bool | None = ... + """ + Permanent options can never be removed from an option group. An option + group containing a permanent option can't be removed from a DB + instance. + """ + requires_auto_minor_engine_version_upgrade: bool | None = ... + """ + If true, you must enable the Auto Minor Version Upgrade setting for your + DB instance before you can use this option. You can enable Auto Minor + Version Upgrade when you first create your DB instance, or by modifying + your DB instance later. + """ + vpc_only: bool | None = ... + """ + If true, you can only use this option with a DB instance that is in a + VPC. + """ + supports_option_version_downgrade: bool | None = ... + """ + If true, you can change the option to an earlier version of the option. + This only applies to options that have different versions available. + """ + option_group_option_settings: list[OptionGroupOptionSetting] | None = ... + """ + The option settings that are available (and the default value) for each + option in an option group. + """ + option_group_option_versions: list[OptionVersion] | None = ... + """The versions that are available for the option.""" + copyable_cross_account: bool | None = ... + """ + Indicates whether the option can be copied across Amazon Web Services + accounts. + """ + copyable_cross_region: bool | None = ... + """ + Indicates whether the option can be copied across Amazon Web Services + Regions. + """ + +@dataclass(kw_only=True) +class OptionGroupOptionSetting(_SerdeShape): + """ + Option group option settings are used to display settings available for + each option with their default values and other information. These + values are used with the DescribeOptionGroupOptions action. + """ + + setting_name: str | None = ... + """The name of the option group option.""" + setting_description: str | None = ... + """The description of the option group option.""" + default_value: str | None = ... + """The default value for the option group option.""" + apply_type: str | None = ... + """The DB engine specific parameter type for the option group option.""" + allowed_values: str | None = ... + """Indicates the acceptable values for the option group option.""" + is_modifiable: bool | None = ... + """ + Indicates whether this option group option can be changed from the + default value. + """ + is_required: bool | None = ... + """ + Indicates whether a value must be specified for this option setting of + the option group option. + """ + minimum_engine_version_per_allowed_value: ( + list[MinimumEngineVersionPerAllowedValue] | None + ) = ... + """ + The minimum DB engine version required for the corresponding allowed + value for this option setting. + """ + +@dataclass(kw_only=True) +class OptionGroupQuotaExceededFault(ServiceError, _SerdeShape): + """ + The quota of 20 option groups was exceeded for this Amazon Web Services + account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class OptionSetting(_SerdeShape): + """ + Option settings are the actual settings being applied or configured for + that option. It is used when you modify an option group or describe + option groups. For example, the NATIVE_NETWORK_ENCRYPTION option has a + setting called SQLNET.ENCRYPTION_SERVER that can have several different + values. + """ + + name: str | None = ... + """The name of the option that has settings that you can set.""" + value: str | None = ... + """The current value of the option setting.""" + default_value: str | None = ... + """The default value of the option setting.""" + description: str | None = ... + """The description of the option setting.""" + apply_type: str | None = ... + """The DB engine specific parameter type.""" + data_type: str | None = ... + """The data type of the option setting.""" + allowed_values: str | None = ... + """The allowed values of the option setting.""" + is_modifiable: bool | None = ... + """Indicates whether the option setting can be modified from the default.""" + is_collection: bool | None = ... + """Indicates whether the option setting is part of a collection.""" + +@dataclass(kw_only=True) +class OptionVersion(_SerdeShape): + """ + The version for an option. Option group option versions are returned by + the `DescribeOptionGroupOptions` action. + """ + + version: str | None = ... + """The version of the option.""" + is_default: bool | None = ... + """Indicates whether the version is the default version of the option.""" + +@dataclass(kw_only=True) +class OrderableDBInstanceOption(_SerdeShape): + """ + Contains a list of available options for a DB instance. + + This data type is used as a response element in the + `DescribeOrderableDBInstanceOptions` action. + """ + + engine: str | None = ... + """The engine type of a DB instance.""" + engine_version: str | None = ... + """The engine version of a DB instance.""" + db_instance_class: str | None = ... + """The DB instance class for a DB instance.""" + license_model: str | None = ... + """The license model for a DB instance.""" + availability_zone_group: str | None = ... + """The Availability Zone group for a DB instance.""" + availability_zones: list[AvailabilityZone] | None = ... + """A list of Availability Zones for a DB instance.""" + multi_az_capable: bool | None = ... + """Indicates whether a DB instance is Multi-AZ capable.""" + read_replica_capable: bool | None = ... + """Indicates whether a DB instance can have a read replica.""" + vpc: bool | None = ... + """Indicates whether a DB instance is in a VPC.""" + supports_storage_encryption: bool | None = ... + """Indicates whether a DB instance supports encrypted storage.""" + storage_type: str | None = ... + """The storage type for a DB instance.""" + supports_iops: bool | None = ... + """Indicates whether a DB instance supports provisioned IOPS.""" + supports_storage_throughput: bool | None = ... + """Indicates whether a DB instance supports storage throughput.""" + supports_enhanced_monitoring: bool | None = ... + """ + Indicates whether a DB instance supports Enhanced Monitoring at + intervals from 1 to 60 seconds. + """ + supports_iam_database_authentication: bool | None = ... + """Indicates whether a DB instance supports IAM database authentication.""" + supports_performance_insights: bool | None = ... + """Indicates whether a DB instance supports Performance Insights.""" + min_storage_size: int | None = ... + """Minimum storage size for a DB instance.""" + max_storage_size: int | None = ... + """Maximum storage size for a DB instance.""" + min_iops_per_db_instance: int | None = ... + """Minimum total provisioned IOPS for a DB instance.""" + max_iops_per_db_instance: int | None = ... + """Maximum total provisioned IOPS for a DB instance.""" + min_iops_per_gib: float | None = ... + """Minimum provisioned IOPS per GiB for a DB instance.""" + max_iops_per_gib: float | None = ... + """Maximum provisioned IOPS per GiB for a DB instance.""" + min_storage_throughput_per_db_instance: int | None = ... + """Minimum storage throughput for a DB instance.""" + max_storage_throughput_per_db_instance: int | None = ... + """Maximum storage throughput for a DB instance.""" + min_storage_throughput_per_iops: float | None = ... + """Minimum storage throughput to provisioned IOPS ratio for a DB instance.""" + max_storage_throughput_per_iops: float | None = ... + """Maximum storage throughput to provisioned IOPS ratio for a DB instance.""" + available_processor_features: list[AvailableProcessorFeature] | None = ... + """ + A list of the available processor features for the DB instance class of + a DB instance. + """ + supported_engine_modes: list[str] | None = ... + """A list of the supported DB engine modes.""" + supports_storage_autoscaling: bool | None = ... + """ + Indicates whether Amazon RDS can automatically scale storage for DB + instances that use the specified DB instance class. + """ + supports_kerberos_authentication: bool | None = ... + """Indicates whether a DB instance supports Kerberos Authentication.""" + outpost_capable: bool | None = ... + """ + Indicates whether a DB instance supports RDS on Outposts. + + For more information about RDS on Outposts, see [Amazon RDS on Amazon + Web Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide.* + """ + supported_activity_stream_modes: list[str] | None = ... + """ + The list of supported modes for Database Activity Streams. Aurora + PostgreSQL returns the value `[sync, async]`. Aurora MySQL and RDS for + Oracle return `[async]` only. If Database Activity Streams isn't + supported, the return value is an empty list. + """ + supports_global_databases: bool | None = ... + """ + Indicates whether you can use Aurora global databases with a specific + combination of other DB engine attributes. + """ + supported_network_types: list[str] | None = ... + """ + The network types supported by the DB instance (`IPV4` or `DUAL`). + + A DB instance can support only the IPv4 protocol or the IPv4 and the + IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon RDS User Guide.* + """ + supports_clusters: bool | None = ... + """ + Indicates whether DB instances can be configured as a Multi-AZ DB + cluster. + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + supports_dedicated_log_volume: bool | None = ... + """ + Indicates whether a DB instance supports using a dedicated log volume + (DLV). + """ + supports_additional_storage_volumes: bool | None = ... + """ + Indicates whether the DB instance class supports additional storage + volumes. + """ + supports_http_endpoint: bool | None = ... + """Indicates whether a DB instance supports HTTP endpoints.""" + available_additional_storage_volumes_options: ( + list[AvailableAdditionalStorageVolumesOption] | None + ) = ... + """ + The available options for additional storage volumes for the DB instance + class. + """ + +@dataclass(kw_only=True) +class Outpost(_SerdeShape): + """ + A data type that represents an Outpost. + + For more information about RDS on Outposts, see [Amazon RDS on Amazon + Web Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide.* + """ + + arn: str | None = ... + """The Amazon Resource Name (ARN) of the Outpost.""" + +@dataclass(kw_only=True) +class Parameter(_SerdeShape): + """ + This data type is used as a request parameter in the + `ModifyDBParameterGroup` and `ResetDBParameterGroup` actions. + + This data type is used as a response element in the + `DescribeEngineDefaultParameters` and `DescribeDBParameters` actions. + """ + + parameter_name: str | None = ... + """The name of the parameter.""" + parameter_value: str | None = ... + """The value of the parameter.""" + description: str | None = ... + """Provides a description of the parameter.""" + source: str | None = ... + """The source of the parameter value.""" + apply_type: str | None = ... + """Specifies the engine specific parameters type.""" + data_type: str | None = ... + """Specifies the valid data type for the parameter.""" + allowed_values: str | None = ... + """Specifies the valid range of values for the parameter.""" + is_modifiable: bool | None = ... + """ + Indicates whether (`true`) or not (`false`) the parameter can be + modified. Some parameters have security or operational implications that + prevent them from being changed. + """ + minimum_engine_version: str | None = ... + """The earliest engine version to which the parameter can apply.""" + apply_method: str | None = ... + """Indicates when to apply parameter updates.""" + supported_engine_modes: list[str] | None = ... + """The valid DB engine modes.""" + +@dataclass(kw_only=True) +class PendingCloudwatchLogsExports(_SerdeShape): + """ + A list of the log types whose configuration is still pending. In other + words, these log types are in the process of being activated or + deactivated. + """ + + log_types_to_enable: list[str] | None = ... + """ + Log types that are in the process of being deactivated. After they are + deactivated, these log types aren't exported to CloudWatch Logs. + """ + log_types_to_disable: list[str] | None = ... + """ + Log types that are in the process of being enabled. After they are + enabled, these log types are exported to CloudWatch Logs. + """ + +@dataclass(kw_only=True) +class PendingMaintenanceAction(_SerdeShape): + """Provides information about a pending maintenance action for a resource.""" + + action: str | None = ... + """ + The type of pending maintenance action that is available for the + resource. + + For more information about maintenance actions, see [Maintaining a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html). + + Valid Values: + + - `ca-certificate-rotation` + + - `db-upgrade` + + - `hardware-maintenance` + + - `os-upgrade` + + - `serverless-platform-version-update` + + - `system-update` + + For more information about these actions, see [Maintenance actions for + Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora) + or [Maintenance actions for Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds). + """ + auto_applied_after_date: datetime | None = ... + """ + The date of the maintenance window when the action is applied. The + maintenance action is applied to the resource during its first + maintenance window after this date. + """ + forced_apply_date: datetime | None = ... + """ + The date when the maintenance action is automatically applied. + + On this date, the maintenance action is applied to the resource as soon + as possible, regardless of the maintenance window for the resource. + There might be a delay of one or more days from this date before the + maintenance action is applied. + """ + opt_in_status: str | None = ... + """ + Indicates the type of opt-in request that has been received for the + resource. + """ + current_apply_date: datetime | None = ... + """ + The effective date when the pending maintenance action is applied to the + resource. This date takes into account opt-in requests received from the + `ApplyPendingMaintenanceAction` API, the `AutoAppliedAfterDate`, and the + `ForcedApplyDate`. This value is blank if an opt-in request has not been + received and nothing has been specified as `AutoAppliedAfterDate` or + `ForcedApplyDate`. + """ + description: str | None = ... + """A description providing more detail about the maintenance action.""" + +@dataclass(kw_only=True) +class PendingModifiedValues(_SerdeShape): + """ + This data type is used as a response element in the `ModifyDBInstance` + operation and contains changes that will be applied during the next + maintenance window. + """ + + db_instance_class: str | None = ... + """The name of the compute and memory capacity class for the DB instance.""" + allocated_storage: int | None = ... + """ + The allocated storage size for the DB instance specified in gibibytes + (GiB). + """ + master_user_password: str | None = ... + """The master credentials for the DB instance.""" + port: int | None = ... + """The port for the DB instance.""" + backup_retention_period: int | None = ... + """The number of days for which automated backups are retained.""" + multi_az: bool | None = ... + """ + Indicates whether the Single-AZ DB instance will change to a Multi-AZ + deployment. + """ + engine_version: str | None = ... + """The database engine version.""" + license_model: str | None = ... + """ + The license model for the DB instance. + + Valid values: `license-included` | `bring-your-own-license` | + `general-public-license` | `bring-your-own-media` + """ + iops: int | None = ... + """The Provisioned IOPS value for the DB instance.""" + storage_throughput: int | None = ... + """The storage throughput of the DB instance.""" + db_instance_identifier: str | None = ... + """The database identifier for the DB instance.""" + storage_type: str | None = ... + """The storage type of the DB instance.""" + ca_certificate_identifier: str | None = ... + """ + The identifier of the CA certificate for the DB instance. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + db_subnet_group_name: str | None = ... + """The DB subnet group for the DB instance.""" + pending_cloudwatch_logs_exports: PendingCloudwatchLogsExports | None = ... + """ + A list of the log types whose configuration is still pending. In other + words, these log types are in the process of being activated or + deactivated. + """ + processor_features: list[ProcessorFeature] | None = ... + """ + The number of CPU cores and the number of threads per core for the DB + instance class of the DB instance. + """ + automation_mode: str | None = ... + """ + The automation mode of the RDS Custom DB instance: `full` or + `all-paused`. If `full`, the DB instance automates monitoring and + instance recovery. If `all-paused`, the instance pauses automation for + the duration set by `--resume-full-automation-mode-minutes`. + """ + resume_full_automation_mode_time: datetime | None = ... + """ + The number of minutes to pause the automation. When the time period + ends, RDS Custom resumes full automation. The minimum value is 60 + (default). The maximum value is 1,440. + """ + multi_tenant: bool | None = ... + """ + Indicates whether the DB instance will change to the multi-tenant + configuration (TRUE) or the single-tenant configuration (FALSE). + """ + iam_database_authentication_enabled: bool | None = ... + """ + Indicates whether mapping of Amazon Web Services Identity and Access + Management (IAM) accounts to database accounts is enabled. + """ + dedicated_log_volume: bool | None = ... + """ + Indicates whether the DB instance has a dedicated log volume (DLV) + enabled.> + """ + engine: str | None = ... + """The database engine of the DB instance.""" + additional_storage_volumes: list[AdditionalStorageVolume] | None = ... + """ + The additional storage volume modifications that are pending for the DB + instance. + """ + db_capacity_reservation_identifier: str | None = ... + """ + The identifier of the DB capacity reservation that the DB instance uses + after a pending modification completes. Amazon RDS returns this value + when a `ModifyDBInstance` request changes the DB capacity reservation, + and the change hasn't been applied yet. + """ + +@dataclass(kw_only=True) +class PerformanceInsightsMetricDimensionGroup(_SerdeShape): + """ + A logical grouping of Performance Insights metrics for a related subject + area. For example, the `db.sql` dimension group consists of the + following dimensions: + + - `db.sql.id` - The hash of a running SQL statement, generated by + Performance Insights. + + - `db.sql.db_id` - Either the SQL ID generated by the database engine, + or a value generated by Performance Insights that begins with `pi-`. + + - `db.sql.statement` - The full text of the SQL statement that is + running, for example, `SELECT * FROM employees`. + + - `db.sql_tokenized.id` - The hash of the SQL digest generated by + Performance Insights. + + Note: + Each response element returns a maximum of 500 bytes. For larger + elements, such as SQL statements, only the first 500 bytes are returned. + """ + + dimensions: list[str] | None = ... + """ + A list of specific dimensions from a dimension group. If this list + isn't included, then all of the dimensions in the group were requested, + or are present in the response. + """ + group: str | None = ... + """The available dimension groups for Performance Insights metric type.""" + limit: int | None = ... + """The maximum number of items to fetch for this dimension group.""" + +@dataclass(kw_only=True) +class PerformanceInsightsMetricQuery(_SerdeShape): + """ + A single Performance Insights metric query to process. You must provide + the metric to the query. If other parameters aren't specified, + Performance Insights returns all data points for the specified metric. + Optionally, you can request the data points to be aggregated by + dimension group (`GroupBy`) and return only those data points that match + your criteria (`Filter`). + + Constraints: + + - Must be a valid Performance Insights query. + """ + + group_by: PerformanceInsightsMetricDimensionGroup | None = ... + """ + A specification for how to aggregate the data points from a query + result. You must specify a valid dimension group. Performance Insights + will return all of the dimensions within that group, unless you provide + the names of specific dimensions within that group. You can also request + that Performance Insights return a limited number of values for a + dimension. + """ + metric: str | None = ... + """ + The name of a Performance Insights metric to be measured. + + Valid Values: + + - `db.load.avg` - A scaled representation of the number of active + sessions for the database engine. + + - `db.sampledload.avg` - The raw number of active sessions for the + database engine. + + - The counter metrics listed in [Performance Insights operating system + counters](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS) + in the *Amazon Aurora User Guide*. + + If the number of active sessions is less than an internal Performance + Insights threshold, `db.load.avg` and `db.sampledload.avg` are the same + value. If the number of active sessions is greater than the internal + threshold, Performance Insights samples the active sessions, with + `db.load.avg` showing the scaled values, `db.sampledload.avg` showing + the raw values, and `db.sampledload.avg` less than `db.load.avg`. For + most use cases, you can query `db.load.avg` only. + """ + +@dataclass(kw_only=True) +class PerformanceIssueDetails(_SerdeShape): + """Details of the performance issue.""" + + start_time: datetime | None = ... + """The time when the performance issue started.""" + end_time: datetime | None = ... + """The time when the performance issue stopped.""" + metrics: list[Metric] | None = ... + """The metrics that are relevant to the performance issue.""" + analysis: str | None = ... + """ + The analysis of the performance issue. The information might contain + markdown. + """ + +@dataclass(kw_only=True) +class PointInTimeRestoreNotEnabledFault(ServiceError, _SerdeShape): + """ + `SourceDBInstanceIdentifier` refers to a DB instance with + `BackupRetentionPeriod` equal to 0. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ProcessorFeature(_SerdeShape): + """ + Contains the processor features of a DB instance class. + + To specify the number of CPU cores, use the `coreCount` feature name for + the `Name` parameter. To specify the number of threads per core, use the + `threadsPerCore` feature name for the `Name` parameter. + + You can set the processor features of the DB instance class for a DB + instance when you call one of the following actions: + + - `CreateDBInstance` + + - `ModifyDBInstance` + + - `RestoreDBInstanceFromDBSnapshot` + + - `RestoreDBInstanceFromS3` + + - `RestoreDBInstanceToPointInTime` + + You can view the valid processor values for a particular instance class + by calling the `DescribeOrderableDBInstanceOptions` action and + specifying the instance class for the `DBInstanceClass` parameter. + + In addition, you can use the following actions for DB instance class + processor information: + + - `DescribeDBInstances` + + - `DescribeDBSnapshots` + + - `DescribeValidDBInstanceModifications` + + If you call `DescribeDBInstances`, `ProcessorFeature` returns non-null + values only if the following conditions are met: + + - You are accessing an Oracle or SQL Server DB instance. + + - Your Oracle or SQL Server DB instance class supports configuring the + number of CPU cores and threads per core. + + - The current number CPU cores and threads is set to a non-default + value. + + For more information, see [Configuring the processor for a DB instance + class in RDS for + Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor), + [Optimizing your RDS for SQL Server + CPU](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Concepts.General.OptimizeCPU.html), + and [DB instance + classes](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide.* + """ + + name: str | None = ... + """ + The name of the processor feature. Valid names are `coreCount` and + `threadsPerCore`. + """ + value: str | None = ... + """The value of a processor feature.""" + +@dataclass(kw_only=True) +class PromoteReadReplicaDBClusterInput(_SerdeShape): + """""" + + db_cluster_identifier: str | None = ... + """ + The identifier of the DB cluster read replica to promote. This parameter + isn't case-sensitive. + + Constraints: + + - Must match the identifier of an existing DB cluster read replica. + + Example: `my-cluster-replica1` + """ + +@dataclass(kw_only=True) +class PromoteReadReplicaDBClusterOutput(_SerdeShape): + """Dataclass for PromoteReadReplicaDBClusterOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PromoteReadReplicaInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The DB instance identifier. This value is stored as a lowercase string. + + Constraints: + + - Must match the identifier of an existing read replica DB instance. + + Example: `mydbinstance` + """ + backup_retention_period: int | None = ... + """ + The number of days for which automated backups are retained. Setting + this parameter to a positive number enables backups. Setting this + parameter to 0 disables automated backups. + + Default: 1 + + Constraints: + + - Must be a value from 0 to 35. + + - Can't be set to 0 if the DB instance is a source to read replicas. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, using the `BackupRetentionPeriod` + parameter. + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region. To see the time + blocks available, see [Adjusting the Preferred Maintenance + Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) + in the *Amazon RDS User Guide.* + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB instance. + + Valid Values: + + - `auto-backup` - The DB instance's automated backup. + """ + +@dataclass(kw_only=True) +class PromoteReadReplicaOutput(_SerdeShape): + """Dataclass for PromoteReadReplicaOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ProvisionedIopsNotAvailableInAZFault(ServiceError, _SerdeShape): + """Provisioned IOPS not available in the specified Availability Zone.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PurchaseReservedDBInstancesOfferingInput(_SerdeShape): + """""" + + reserved_db_instances_offering_id: str | None = ... + """ + The ID of the Reserved DB instance offering to purchase. + + Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 + """ + reserved_db_instance_id: str | None = ... + """ + Customer-specified identifier to track this reservation. + + Example: myreservationID + """ + db_instance_count: int | None = ... + """ + The number of instances to reserve. + + Default: `1` + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class PurchaseReservedDBInstancesOfferingOutput(_SerdeShape): + """Dataclass for PurchaseReservedDBInstancesOfferingOutput structure.""" + + reserved_db_instance: ReservedDBInstance | None = ... + """ + This data type is used as a response element in the + `DescribeReservedDBInstances` and `PurchaseReservedDBInstancesOffering` + actions. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Range(_SerdeShape): + """A range of integer values.""" + + from_: int | None = ... + """The minimum value in the range.""" + to: int | None = ... + """The maximum value in the range.""" + step: int | None = ... + """ + The step value for the range. For example, if you have a range of 5,000 + to 10,000, with a step value of 1,000, the valid values start at 5,000 + and step up by 1,000. Even though 7,500 is within the range, it isn't a + valid value for the range. The valid values are 5,000, 6,000, 7,000, + 8,000... + """ + +@dataclass(kw_only=True) +class RdsCustomClusterConfiguration(_SerdeShape): + """Reserved for future use.""" + + interconnect_subnet_id: str | None = ... + """Reserved for future use.""" + transit_gateway_multicast_domain_id: str | None = ... + """Reserved for future use.""" + replica_mode: str | None = ... + """Reserved for future use.""" + +@dataclass(kw_only=True) +class RebootDBClusterInput(_SerdeShape): + """Dataclass for RebootDBClusterInput structure.""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier. This parameter is stored as a lowercase + string. + + Constraints: + + - Must match the identifier of an existing DBCluster. + """ + +@dataclass(kw_only=True) +class RebootDBClusterOutput(_SerdeShape): + """Dataclass for RebootDBClusterOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RebootDBInstanceInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The DB instance identifier. This parameter is stored as a lowercase + string. + + Constraints: + + - Must match the identifier of an existing DBInstance. + """ + force_failover: bool | None = ... + """ + Specifies whether the reboot is conducted through a Multi-AZ failover. + + Constraint: You can't enable force failover if the instance isn't + configured for Multi-AZ. + """ + +@dataclass(kw_only=True) +class RebootDBInstanceOutput(_SerdeShape): + """Dataclass for RebootDBInstanceOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RebootDBShardGroupInput(_SerdeShape): + """Dataclass for RebootDBShardGroupInput structure.""" + + db_shard_group_identifier: str | None = ... + """The name of the DB shard group to reboot.""" + +@dataclass(kw_only=True) +class RebootDBShardGroupOutput(_SerdeShape): + """Contains the details for an Amazon RDS DB shard group.""" + + db_shard_group_resource_id: str | None = ... + """ + The Amazon Web Services Region-unique, immutable identifier for the DB + shard group. + """ + db_shard_group_identifier: str | None = ... + """The name of the DB shard group.""" + db_cluster_identifier: str | None = ... + """The name of the primary DB cluster for the DB shard group.""" + max_acu: float | None = ... + """ + The maximum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + min_acu: float | None = ... + """ + The minimum capacity of the DB shard group in Aurora capacity units + (ACUs). + """ + compute_redundancy: int | None = ... + """ + Specifies whether to create standby DB shard groups for the DB shard + group. Valid values are the following: + + - 0 - Creates a DB shard group without a standby DB shard group. This is + the default value. + + - 1 - Creates a DB shard group with a standby DB shard group in a + different Availability Zone (AZ). + + - 2 - Creates a DB shard group with two standby DB shard groups in two + different AZs. + """ + status: str | None = ... + """The status of the DB shard group.""" + publicly_accessible: bool | None = ... + """ + Indicates whether the DB shard group is publicly accessible. + + When the DB shard group is publicly accessible, its Domain Name System + (DNS) endpoint resolves to the private IP address from within the DB + shard group's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB shard group's VPC. Access to the DB + shard group is ultimately controlled by the security group it uses. That + public access isn't permitted if the security group assigned to the DB + shard group doesn't permit it. + + When the DB shard group isn't publicly accessible, it is an internal DB + shard group with a DNS name that resolves to a private IP address. + + For more information, see CreateDBShardGroup. + + This setting is only for Aurora Limitless Database. + """ + endpoint: str | None = ... + """The connection endpoint for the DB shard group.""" + db_shard_group_arn: str | None = ... + """The Amazon Resource Name (ARN) for the DB shard group.""" + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RecommendedAction(_SerdeShape): + """ + The recommended actions to apply to resolve the issues associated with + your DB instances, DB clusters, and DB parameter groups. + """ + + action_id: str | None = ... + """The unique identifier of the recommended action.""" + title: str | None = ... + """ + A short description to summarize the action. The description might + contain markdown. + """ + description: str | None = ... + """ + A detailed description of the action. The description might contain + markdown. + """ + operation: str | None = ... + """An API operation for the action.""" + parameters: list[RecommendedActionParameter] | None = ... + """The parameters for the API operation.""" + apply_modes: list[str] | None = ... + """ + The methods to apply the recommended action. + + Valid values: + + - `manual` - The action requires you to resolve the recommendation + manually. + + - `immediately` - The action is applied immediately. + + - `next-maintainance-window` - The action is applied during the next + scheduled maintainance. + """ + status: str | None = ... + """ + The status of the action. + + - `ready` + + - `applied` + + - `scheduled` + + - `resolved` + """ + issue_details: IssueDetails | None = ... + """The details of the issue.""" + context_attributes: list[ContextAttribute] | None = ... + """The supporting attributes to explain the recommended action.""" + +@dataclass(kw_only=True) +class RecommendedActionParameter(_SerdeShape): + """ + A single parameter to use with the `RecommendedAction` API operation to + apply the action. + """ + + key: str | None = ... + """ + The key of the parameter to use with the `RecommendedAction` API + operation. + """ + value: str | None = ... + """ + The value of the parameter to use with the `RecommendedAction` API + operation. + """ + +@dataclass(kw_only=True) +class RecommendedActionUpdate(_SerdeShape): + """ + The recommended status to update for the specified recommendation action + ID. + """ + + action_id: str | None = ... + """A unique identifier of the updated recommendation action.""" + status: str | None = ... + """ + The status of the updated recommendation action. + + - `applied` + + - `scheduled` + """ + +@dataclass(kw_only=True) +class RecurringCharge(_SerdeShape): + """ + This data type is used as a response element in the + `DescribeReservedDBInstances` and `DescribeReservedDBInstancesOfferings` + actions. + """ + + recurring_charge_amount: float | None = ... + """The amount of the recurring charge.""" + recurring_charge_frequency: str | None = ... + """The frequency of the recurring charge.""" + +@dataclass(kw_only=True) +class ReferenceDetails(_SerdeShape): + """The reference details of a metric.""" + + scalar_reference_details: ScalarReferenceDetails | None = ... + """The metric reference details when the reference is a scalar.""" + +@dataclass(kw_only=True) +class RegisterDBProxyTargetsInput(_SerdeShape): + """Dataclass for RegisterDBProxyTargetsInput structure.""" + + db_proxy_name: str | None = ... + """ + The identifier of the `DBProxy` that is associated with the + `DBProxyTargetGroup`. + """ + target_group_name: str | None = ... + """The identifier of the `DBProxyTargetGroup`.""" + db_instance_identifiers: list[str] | None = ... + """One or more DB instance identifiers.""" + db_cluster_identifiers: list[str] | None = ... + """One or more DB cluster identifiers.""" + +@dataclass(kw_only=True) +class RegisterDBProxyTargetsOutput(_SerdeShape): + """Dataclass for RegisterDBProxyTargetsOutput structure.""" + + db_proxy_targets: list[DBProxyTarget] | None = ... + """ + One or more `DBProxyTarget` objects that are created when you register + targets with a target group. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveFromGlobalClusterInput(_SerdeShape): + """Dataclass for RemoveFromGlobalClusterInput structure.""" + + global_cluster_identifier: str | None = ... + """ + The cluster identifier to detach from the Aurora global database + cluster. + """ + db_cluster_identifier: str | None = ... + """ + The Amazon Resource Name (ARN) identifying the cluster that was detached + from the Aurora global database cluster. + """ + +@dataclass(kw_only=True) +class RemoveFromGlobalClusterOutput(_SerdeShape): + """Dataclass for RemoveFromGlobalClusterOutput structure.""" + + global_cluster: GlobalCluster | None = ... + """A data type representing an Aurora global database.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveRoleFromDBClusterInput(_SerdeShape): + """Dataclass for RemoveRoleFromDBClusterInput structure.""" + + db_cluster_identifier: str | None = ... + """The name of the DB cluster to disassociate the IAM role from.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role to disassociate from the + Aurora DB cluster, for example + `arn:aws:iam::123456789012:role/AuroraAccessRole`. + """ + feature_name: str | None = ... + """ + The name of the feature for the DB cluster that the IAM role is to be + disassociated from. For information about supported feature names, see + DBEngineVersion. + """ + +@dataclass(kw_only=True) +class RemoveRoleFromDBClusterOutput(_SerdeShape): + """Dataclass for RemoveRoleFromDBClusterOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveRoleFromDBInstanceInput(_SerdeShape): + """Dataclass for RemoveRoleFromDBInstanceInput structure.""" + + db_instance_identifier: str | None = ... + """The name of the DB instance to disassociate the IAM role from.""" + role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the IAM role to disassociate from the + DB instance, for example, `arn:aws:iam::123456789012:role/AccessRole`. + """ + feature_name: str | None = ... + """ + The name of the feature for the DB instance that the IAM role is to be + disassociated from. For information about supported feature names, see + `DBEngineVersion`. + """ + +@dataclass(kw_only=True) +class RemoveRoleFromDBInstanceOutput(_SerdeShape): + """Dataclass for RemoveRoleFromDBInstanceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveSourceIdentifierFromSubscriptionInput(_SerdeShape): + """""" + + subscription_name: str | None = ... + """ + The name of the RDS event notification subscription you want to remove a + source identifier from. + """ + source_identifier: str | None = ... + """ + The source identifier to be removed from the subscription, such as the + **DB instance identifier** for a DB instance or the name of a security + group. + """ + +@dataclass(kw_only=True) +class RemoveSourceIdentifierFromSubscriptionOutput(_SerdeShape): + """Dataclass for RemoveSourceIdentifierFromSubscriptionOutput structure.""" + + event_subscription: EventSubscription | None = ... + """ + Contains the results of a successful invocation of the + `DescribeEventSubscriptions` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RemoveTagsFromResourceInput(_SerdeShape): + """""" + + resource_name: str | None = ... + """ + The Amazon RDS resource that the tags are removed from. This value is an + Amazon Resource Name (ARN). For information about creating an ARN, see + [Constructing an ARN for Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) + in the *Amazon RDS User Guide.* + """ + tag_keys: list[str] | None = ... + """The tag key (name) of the tag to be removed.""" + +@dataclass(kw_only=True) +class RemoveTagsFromResourceOutput(_SerdeShape): + """Dataclass for RemoveTagsFromResourceOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ReplicaMode(UnknownEnumMixin, StrEnum): + OPEN_READ_ONLY = "open-read-only" + MOUNTED = "mounted" + +@dataclass(kw_only=True) +class ReservedDBInstance(_SerdeShape): + """ + This data type is used as a response element in the + `DescribeReservedDBInstances` and `PurchaseReservedDBInstancesOffering` + actions. + """ + + reserved_db_instance_id: str | None = ... + """The unique identifier for the reservation.""" + reserved_db_instances_offering_id: str | None = ... + """The offering identifier.""" + db_instance_class: str | None = ... + """The DB instance class for the reserved DB instance.""" + start_time: datetime | None = ... + """The time the reservation started.""" + duration: int | None = ... + """The duration of the reservation in seconds.""" + fixed_price: float | None = ... + """The fixed price charged for this reserved DB instance.""" + usage_price: float | None = ... + """The hourly price charged for this reserved DB instance.""" + currency_code: str | None = ... + """The currency code for the reserved DB instance.""" + db_instance_count: int | None = ... + """The number of reserved DB instances.""" + product_description: str | None = ... + """The description of the reserved DB instance.""" + offering_type: str | None = ... + """The offering type of this reserved DB instance.""" + multi_az: bool | None = ... + """Indicates whether the reservation applies to Multi-AZ deployments.""" + state: str | None = ... + """The state of the reserved DB instance.""" + recurring_charges: list[RecurringCharge] | None = ... + """The recurring price charged to run this reserved DB instance.""" + reserved_db_instance_arn: str | None = ... + """The Amazon Resource Name (ARN) for the reserved DB instance.""" + lease_id: str | None = ... + """ + The unique identifier for the lease associated with the reserved DB + instance. + + Note: + Amazon Web Services Support might request the lease ID for an issue + related to a reserved DB instance. + """ + +@dataclass(kw_only=True) +class ReservedDBInstanceAlreadyExistsFault(ServiceError, _SerdeShape): + """User already has a reservation with the given identifier.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReservedDBInstanceNotFoundFault(ServiceError, _SerdeShape): + """The specified reserved DB Instance not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReservedDBInstanceQuotaExceededFault(ServiceError, _SerdeShape): + """Request would exceed the user's DB Instance quota.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReservedDBInstancesOffering(_SerdeShape): + """ + This data type is used as a response element in the + `DescribeReservedDBInstancesOfferings` action. + """ + + reserved_db_instances_offering_id: str | None = ... + """The offering identifier.""" + db_instance_class: str | None = ... + """The DB instance class for the reserved DB instance.""" + duration: int | None = ... + """The duration of the offering in seconds.""" + fixed_price: float | None = ... + """The fixed price charged for this offering.""" + usage_price: float | None = ... + """The hourly price charged for this offering.""" + currency_code: str | None = ... + """The currency code for the reserved DB instance offering.""" + product_description: str | None = ... + """The database engine used by the offering.""" + offering_type: str | None = ... + """The offering type.""" + multi_az: bool | None = ... + """Indicates whether the offering applies to Multi-AZ deployments.""" + recurring_charges: list[RecurringCharge] | None = ... + """The recurring price charged to run this reserved DB instance.""" + +@dataclass(kw_only=True) +class ReservedDBInstancesOfferingNotFoundFault(ServiceError, _SerdeShape): + """Specified offering does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResetDBClusterParameterGroupInput(_SerdeShape): + """""" + + db_cluster_parameter_group_name: str | None = ... + """The name of the DB cluster parameter group to reset.""" + reset_all_parameters: bool | None = ... + """ + Specifies whether to reset all parameters in the DB cluster parameter + group to their default values. You can't use this parameter if there is + a list of parameter names specified for the `Parameters` parameter. + """ + parameters: list[Parameter] | None = ... + """ + A list of parameter names in the DB cluster parameter group to reset to + the default values. You can't use this parameter if the + `ResetAllParameters` parameter is enabled. + """ + +@dataclass(kw_only=True) +class ResetDBClusterParameterGroupOutput(_SerdeShape): + """""" + + db_cluster_parameter_group_name: str | None = ... + """ + The name of the DB cluster parameter group. + + Constraints: + + - Must be 1 to 255 letters or numbers. + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Note: + This value is stored as a lowercase string. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResetDBParameterGroupInput(_SerdeShape): + """""" + + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group. + + Constraints: + + - Must match the name of an existing `DBParameterGroup`. + """ + reset_all_parameters: bool | None = ... + """ + Specifies whether to reset all parameters in the DB parameter group to + default values. By default, all parameters in the DB parameter group are + reset to default values. + """ + parameters: list[Parameter] | None = ... + """ + To reset the entire DB parameter group, specify the `DBParameterGroup` + name and `ResetAllParameters` parameters. To reset specific parameters, + provide a list of the following: `ParameterName` and `ApplyMethod`. A + maximum of 20 parameters can be modified in a single request. + + **MySQL** + + Valid Values (for Apply method): `immediate` | `pending-reboot` + + You can use the immediate value with dynamic parameters only. You can + use the `pending-reboot` value for both dynamic and static parameters, + and changes are applied when DB instance reboots. + + **MariaDB** + + Valid Values (for Apply method): `immediate` | `pending-reboot` + + You can use the immediate value with dynamic parameters only. You can + use the `pending-reboot` value for both dynamic and static parameters, + and changes are applied when DB instance reboots. + + **Oracle** + + Valid Values (for Apply method): `pending-reboot` + """ + +@dataclass(kw_only=True) +class ResetDBParameterGroupOutput(_SerdeShape): + """ + Contains the result of a successful invocation of the + `ModifyDBParameterGroup` or `ResetDBParameterGroup` operation. + """ + + db_parameter_group_name: str | None = ... + """The name of the DB parameter group.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourceNotFoundFault(ServiceError, _SerdeShape): + """The specified resource ID was not found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ResourcePendingMaintenanceActions(_SerdeShape): + """Describes the pending maintenance actions for a resource.""" + + resource_identifier: str | None = ... + """The ARN of the resource that has pending maintenance actions.""" + pending_maintenance_action_details: list[PendingMaintenanceAction] | None = ... + """ + A list that provides details about the pending maintenance actions for + the resource. + """ + +@dataclass(kw_only=True) +class RestoreDBClusterFromS3Input(_SerdeShape): + """Dataclass for RestoreDBClusterFromS3Input structure.""" + + availability_zones: list[str] | None = ... + """ + A list of Availability Zones (AZs) where instances in the restored DB + cluster can be created. + """ + backup_retention_period: int | None = ... + """ + The number of days for which automated backups of the restored DB + cluster are retained. You must specify a minimum value of 1. + + Default: 1 + + Constraints: + + - Must be a value from 1 to 35 + """ + character_set_name: str | None = ... + """ + A value that indicates that the restored DB cluster should be associated + with the specified CharacterSet. + """ + database_name: str | None = ... + """The database name for the restored DB cluster.""" + db_cluster_identifier: str | None = ... + """ + The name of the DB cluster to create from the source data in the Amazon + S3 bucket. This parameter isn't case-sensitive. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `my-cluster1` + """ + db_cluster_parameter_group_name: str | None = ... + """ + The name of the DB cluster parameter group to associate with the + restored DB cluster. If this argument is omitted, the default parameter + group for the engine version is used. + + Constraints: + + - If supplied, must match the name of an existing + DBClusterParameterGroup. + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of EC2 VPC security groups to associate with the restored DB + cluster. + """ + db_subnet_group_name: str | None = ... + """ + A DB subnet group to associate with the restored DB cluster. + + Constraints: If supplied, must match the name of an existing + DBSubnetGroup. + + Example: `mydbsubnetgroup` + """ + engine: str | None = ... + """ + The name of the database engine to be used for this DB cluster. + + Valid Values: `aurora-mysql` (for Aurora MySQL) + """ + engine_version: str | None = ... + """ + The version number of the database engine to use. + + To list all of the available engine versions for `aurora-mysql` (Aurora + MySQL), use the following command: + + `aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"` + + **Aurora MySQL** + + Examples: `5.7.mysql_aurora.2.12.0`, `8.0.mysql_aurora.3.04.0` + """ + port: int | None = ... + """ + The port number on which the instances in the restored DB cluster accept + connections. + + Default: `3306` + """ + master_username: str | None = ... + """ + The name of the master user for the restored DB cluster. + + Constraints: + + - Must be 1 to 16 letters or numbers. + + - First character must be a letter. + + - Can't be a reserved word for the chosen database engine. + """ + master_user_password: str | None = ... + """ + The password for the master database user. This password can contain any + printable ASCII character except \"/\", \"\"\", or \"@\". + + Constraints: + + - Must contain from 8 to 41 characters. + + - Can't be specified if `ManageMasterUserPassword` is turned on. + """ + option_group_name: str | None = ... + """ + A value that indicates that the restored DB cluster should be associated + with the specified option group. + + Permanent options can't be removed from an option group. An option + group can't be removed from a DB cluster once it is associated with a + DB cluster. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled using the `BackupRetentionPeriod` + parameter. + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region. To view the time + blocks available, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) + in the *Amazon Aurora User Guide*. + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + preferred_maintenance_window: str | None = ... + """ + The weekly time range during which system maintenance can occur, in + Universal Coordinated Time (UTC). + + Format: `ddd:hh24:mi-ddd:hh24:mi` + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region, occurring on a random + day of the week. To see the time blocks available, see [Adjusting the + Preferred Maintenance + Window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) + in the *Amazon Aurora User Guide*. + + Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. + + Constraints: Minimum 30-minute window. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + storage_encrypted: bool | None = ... + """Specifies whether the restored DB cluster is encrypted.""" + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted DB cluster. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + If the StorageEncrypted parameter is enabled, and you do not specify a + value for the `KmsKeyId` parameter, then Amazon RDS will use your + default KMS key. There is a default KMS key for your Amazon Web Services + account. Your Amazon Web Services account has a different default KMS + key for each Amazon Web Services Region. + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + For more information, see [IAM Database + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon Aurora User Guide*. + """ + source_engine: str | None = ... + """ + The identifier for the database engine that was backed up to create the + files stored in the Amazon S3 bucket. + + Valid Values: `mysql` + """ + source_engine_version: str | None = ... + """ + The version of the database that the backup files were created from. + + MySQL versions 5.7 and 8.0 are supported. + + Example: `5.7.40`, `8.0.28` + """ + s3_bucket_name: str | None = ... + """ + The name of the Amazon S3 bucket that contains the data used to create + the Amazon Aurora DB cluster. + """ + s3_prefix: str | None = ... + """ + The prefix for all of the file names that contain the data used to + create the Amazon Aurora DB cluster. If you do not specify a + **SourceS3Prefix** value, then the Amazon Aurora DB cluster is created + by using all of the files in the Amazon S3 bucket. + """ + s3_ingestion_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the Amazon Web Services Identity and + Access Management (IAM) role that authorizes Amazon RDS to access the + Amazon S3 bucket on your behalf. + """ + backtrack_window: int | None = ... + """ + The target backtrack window, in seconds. To disable backtracking, set + this value to 0. + + Note: + Currently, Backtrack is only supported for Aurora MySQL DB clusters. + + Default: 0 + + Constraints: + + - If specified, this value must be set to a number from 0 to 259,200 (72 + hours). + """ + enable_cloudwatch_logs_exports: list[str] | None = ... + """ + The list of logs that the restored DB cluster is to export to CloudWatch + Logs. The values in the list depend on the DB engine being used. + + **Aurora MySQL** + + Possible values are `audit`, `error`, `general`, `instance`, + `slowquery`, and `iam-db-auth-error`. + + **Aurora PostgreSQL** + + Possible value are `instance`, `postgresql`, and `iam-db-auth-error`. + + For more information about exporting CloudWatch Logs for Amazon RDS, see + [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + For more information about exporting CloudWatch Logs for Amazon Aurora, + see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon Aurora User Guide*. + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the DB cluster. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the restored DB cluster to + snapshots of the restored DB cluster. The default is not to copy them. + """ + domain: str | None = ... + """ + Specify the Active Directory directory ID to restore the DB cluster in. + The domain must be created prior to this operation. + + For Amazon Aurora DB clusters, Amazon RDS can use Kerberos + Authentication to authenticate users that connect to the DB cluster. For + more information, see [Kerberos + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) + in the *Amazon Aurora User Guide*. + """ + domain_iam_role_name: str | None = ... + """ + Specify the name of the IAM role to be used when making API calls to the + Directory Service. + """ + storage_type: str | None = ... + """ + Specifies the storage type to be associated with the DB cluster. + + Valid Values: `aurora`, `aurora-iopt1` + + Default: `aurora` + + Valid for: Aurora DB clusters only + """ + network_type: str | None = ... + """ + The network type of the DB cluster. + + Valid Values: + + - `IPV4` + + - `DUAL` + + The network type is determined by the `DBSubnetGroup` specified for the + DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon Aurora User Guide.* + """ + serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... + """ + Contains the scaling configuration of an Aurora Serverless v2 DB + cluster. + + For more information, see [Using Amazon Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the *Amazon Aurora User Guide*. + """ + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide* and [Password management with Amazon Web + Services Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the *Amazon Aurora User Guide.* + + Constraints: + + - Can't manage the master user password with Amazon Web Services + Secrets Manager if `MasterUserPassword` is specified. + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB cluster. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + If you don't specify `MasterUserSecretKmsKeyId`, then the + `aws/secretsmanager` KMS key is used to encrypt the secret. If the + secret is in a different Amazon Web Services account, then you can't + use the `aws/secretsmanager` KMS key to encrypt the secret, and you must + use a customer managed KMS key. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB cluster. + + Note: + By default, this value is set to `open-source-rds-extended-support`, + which enrolls your DB cluster into Amazon RDS Extended Support. At the + end of standard support, you can avoid charges for Extended Support by + setting the value to `open-source-rds-extended-support-disabled`. In + this case, RDS automatically upgrades your restored DB cluster to a + higher engine version, if the major engine version is past its end of + standard support date. + + You can use this setting to enroll your DB cluster into Amazon RDS + Extended Support. With RDS Extended Support, you can run the selected + major engine version on your DB cluster past the end of standard support + for that engine version. For more information, see the following + sections: + + - Amazon Aurora - [Amazon RDS Extended Support with Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) + in the *Amazon Aurora User Guide* + + - Amazon RDS - [Amazon RDS Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide* + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + Default: `open-source-rds-extended-support` + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB cluster. + + Valid Values: + + - `cluster-auto-backup` - The DB cluster's automated backup. + """ + associated_roles: list[DBClusterAssociatedRole] | None = ... + """ + A list of Amazon Web Services Identity and Access Management (IAM) roles + to associate with the DB cluster when it's restored from Amazon S3. + Each role grants the DB cluster permission to access other Amazon Web + Services on your behalf. For each role, specify a role ARN and, + optionally, the feature name (such as `s3Import`, `s3Export`, or + `Lambda`). + """ + +@dataclass(kw_only=True) +class RestoreDBClusterFromS3Output(_SerdeShape): + """Dataclass for RestoreDBClusterFromS3Output structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreDBClusterFromSnapshotInput(_SerdeShape): + """""" + + availability_zones: list[str] | None = ... + """ + Provides the list of Availability Zones (AZs) where instances in the + restored DB cluster can be created. + + Valid for: Aurora DB clusters only + """ + db_cluster_identifier: str | None = ... + """ + The name of the DB cluster to create from the DB snapshot or DB cluster + snapshot. This parameter isn't case-sensitive. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Example: `my-snapshot-id` + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + snapshot_identifier: str | None = ... + """ + The identifier for the DB snapshot or DB cluster snapshot to restore + from. + + You can use either the name or the Amazon Resource Name (ARN) to specify + a DB cluster snapshot. However, you can use only the ARN to specify a DB + snapshot. + + Constraints: + + - Must match the identifier of an existing Snapshot. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + engine: str | None = ... + """ + The database engine to use for the new DB cluster. + + Default: The same as source + + Constraint: Must be compatible with the engine of the source + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + engine_version: str | None = ... + """ + The version of the database engine to use for the new DB cluster. If you + don't specify an engine version, the default version for the database + engine in the Amazon Web Services Region is used. + + To list all of the available engine versions for Aurora MySQL, use the + following command: + + `aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"` + + To list all of the available engine versions for Aurora PostgreSQL, use + the following command: + + `aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"` + + To list all of the available engine versions for RDS for MySQL, use the + following command: + + `aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"` + + To list all of the available engine versions for RDS for PostgreSQL, use + the following command: + + `aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"` + + **Aurora MySQL** + + See [Database engine updates for Amazon Aurora + MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) + in the *Amazon Aurora User Guide*. + + **Aurora PostgreSQL** + + See [Amazon Aurora PostgreSQL releases and engine + versions](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html) + in the *Amazon Aurora User Guide*. + + **MySQL** + + See [Amazon RDS for + MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) + in the *Amazon RDS User Guide.* + + **PostgreSQL** + + See [Amazon RDS for PostgreSQL versions and + extensions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) + in the *Amazon RDS User Guide.* + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + port: int | None = ... + """ + The port number on which the new DB cluster accepts connections. + + Constraints: This value must be `1150-65535` + + Default: The same port as the original DB cluster. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + db_subnet_group_name: str | None = ... + """ + The name of the DB subnet group to use for the new DB cluster. + + Constraints: If supplied, must match the name of an existing DB subnet + group. + + Example: `mydbsubnetgroup` + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + database_name: str | None = ... + """ + The database name for the restored DB cluster. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + option_group_name: str | None = ... + """ + The name of the option group to use for the restored DB cluster. + + DB clusters are associated with a default option group that can't be + modified. + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of VPC security groups that the new DB cluster will belong to. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + tags: list[Tag] | None = ... + """ + The tags to be assigned to the restored DB cluster. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to use when restoring an + encrypted DB cluster from a DB snapshot or DB cluster snapshot. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + When you don't specify a value for the `KmsKeyId` parameter, then the + following occurs: + + - If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` is + encrypted, then the restored DB cluster is encrypted using the KMS key + that was used to encrypt the DB snapshot or DB cluster snapshot. + + - If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` + isn't encrypted, then the restored DB cluster isn't encrypted. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + For more information, see [IAM Database + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon Aurora User Guide* or [IAM database authentication for + MariaDB, MySQL, and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide*. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + backtrack_window: int | None = ... + """ + The target backtrack window, in seconds. To disable backtracking, set + this value to 0. + + Note: + Currently, Backtrack is only supported for Aurora MySQL DB clusters. + + Default: 0 + + Constraints: + + - If specified, this value must be set to a number from 0 to 259,200 (72 + hours). + + Valid for: Aurora DB clusters only + """ + enable_cloudwatch_logs_exports: list[str] | None = ... + """ + The list of logs that the restored DB cluster is to export to Amazon + CloudWatch Logs. The values in the list depend on the DB engine being + used. + + **RDS for MySQL** + + Possible values are `error`, `general`, `slowquery`, and + `iam-db-auth-error`. + + **RDS for PostgreSQL** + + Possible values are `postgresql`, `upgrade`, and `iam-db-auth-error`. + + **Aurora MySQL** + + Possible values are `audit`, `error`, `general`, `instance`, + `slowquery`, and `iam-db-auth-error`. + + **Aurora PostgreSQL** + + Possible value are `instance`, `postgresql`, and `iam-db-auth-error`. + + For more information about exporting CloudWatch Logs for Amazon RDS, see + [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + For more information about exporting CloudWatch Logs for Amazon Aurora, + see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon Aurora User Guide*. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + engine_mode: str | None = ... + """ + The DB engine mode of the DB cluster, either `provisioned` or + `serverless`. + + For more information, see + [CreateDBCluster](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html). + + Valid for: Aurora DB clusters only + """ + scaling_configuration: ScalingConfiguration | None = ... + """ + For DB clusters in `serverless` DB engine mode, the scaling properties + of the DB cluster. + + Valid for: Aurora DB clusters only + """ + db_cluster_parameter_group_name: str | None = ... + """ + The name of the DB cluster parameter group to associate with this DB + cluster. If this argument is omitted, the default DB cluster parameter + group for the specified engine is used. + + Constraints: + + - If supplied, must match the name of an existing default DB cluster + parameter group. + + - Must be 1 to 255 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the DB cluster. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the restored DB cluster to + snapshots of the restored DB cluster. The default is not to copy them. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + domain: str | None = ... + """ + The Active Directory directory ID to restore the DB cluster in. The + domain must be created prior to this operation. Currently, only MySQL, + Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created + in an Active Directory Domain. + + For more information, see [Kerberos + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + in the *Amazon RDS User Guide*. + + Valid for: Aurora DB clusters only + """ + domain_iam_role_name: str | None = ... + """ + The name of the IAM role to be used when making API calls to the + Directory Service. + + Valid for: Aurora DB clusters only + """ + db_cluster_instance_class: str | None = ... + """ + The compute and memory capacity of the each DB instance in the Multi-AZ + DB cluster, for example db.m6gd.xlarge. Not all DB instance classes are + available in all Amazon Web Services Regions, or for all database + engines. + + For the full list of DB instance classes, and availability for your + engine, see [DB Instance + Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide.* + + Valid for: Multi-AZ DB clusters only + """ + storage_type: str | None = ... + """ + Specifies the storage type to be associated with the DB cluster. + + When specified for a Multi-AZ DB cluster, a value for the `Iops` + parameter is required. + + Valid Values: `aurora`, `aurora-iopt1` (Aurora DB clusters); `io1` + (Multi-AZ DB clusters) + + Default: `aurora` (Aurora DB clusters); `io1` (Multi-AZ DB clusters) + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + iops: int | None = ... + """ + The amount of Provisioned IOPS (input/output operations per second) to + be initially allocated for each DB instance in the Multi-AZ DB cluster. + + For information about valid IOPS values, see [Amazon RDS Provisioned + IOPS + storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) + in the *Amazon RDS User Guide*. + + Constraints: Must be a multiple between .5 and 50 of the storage amount + for the DB instance. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB cluster is publicly accessible. + + When the DB cluster is publicly accessible, its Domain Name System (DNS) + endpoint resolves to the private IP address from within the DB + cluster's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB cluster's VPC. Access to the DB cluster + is ultimately controlled by the security group it uses. That public + access is not permitted if the security group assigned to the DB cluster + doesn't permit it. + + When the DB cluster isn't publicly accessible, it is an internal DB + cluster with a DNS name that resolves to a private IP address. + + Default: The default behavior varies depending on whether + `DBSubnetGroupName` is specified. + + If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible` isn't + specified, the following applies: + + - If the default VPC in the target Region doesn't have an internet + gateway attached to it, the DB cluster is private. + + - If the default VPC in the target Region has an internet gateway + attached to it, the DB cluster is public. + + If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't + specified, the following applies: + + - If the subnets are part of a VPC that doesn't have an internet gateway + attached to it, the DB cluster is private. + + - If the subnets are part of a VPC that has an internet gateway attached + to it, the DB cluster is public. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + network_type: str | None = ... + """ + The network type of the DB cluster. + + Valid Values: + + - `IPV4` + + - `DUAL` + + The network type is determined by the `DBSubnetGroup` specified for the + DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon Aurora User Guide.* + + Valid for: Aurora DB clusters only + """ + serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... + """ + Contains the scaling configuration of an Aurora Serverless v2 DB + cluster. + + For more information, see [Using Amazon Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the *Amazon Aurora User Guide*. + """ + rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... + """Reserved for future use.""" + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the DB cluster. To turn off collecting + Enhanced Monitoring metrics, specify `0`. + + If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to a + value other than `0`. + + Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` + + Default: `0` + """ + monitoring_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the IAM role that permits RDS to send + Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is + `arn:aws:iam:123456789012:role/emaccess`. + + If `MonitoringInterval` is set to a value other than `0`, supply a + `MonitoringRoleArn` value. + """ + enable_performance_insights: bool | None = ... + """Specifies whether to turn on Performance Insights for the DB cluster.""" + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + If you don't specify a value for `PerformanceInsightsKMSKeyId`, then + Amazon RDS uses your default KMS key. There is a default KMS key for + your Amazon Web Services account. Your Amazon Web Services account has a + different default KMS key for each Amazon Web Services Region. + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. + + Valid Values: + + - `7` + + - *month* * 31, where *month* is a number of months from 1-23. + Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 + months * 31) + + - `731` + + Default: `7` days + + If you specify a retention period that isn't valid, such as `94`, + Amazon RDS issues an error. + """ + backup_retention_period: int | None = ... + """ + The number of days for which automated backups are retained. Specify a + minimum value of `1`. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Default: Uses existing setting + + Constraints: + + - Must be a value from 1 to 35. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, using the `BackupRetentionPeriod` + parameter. + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region. To view the time + blocks available, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) + in the *Amazon Aurora User Guide*. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB cluster. + + Note: + By default, this value is set to `open-source-rds-extended-support`, + which enrolls your DB cluster into Amazon RDS Extended Support. At the + end of standard support, you can avoid charges for Extended Support by + setting the value to `open-source-rds-extended-support-disabled`. In + this case, RDS automatically upgrades your restored DB cluster to a + higher engine version, if the major engine version is past its end of + standard support date. + + You can use this setting to enroll your DB cluster into Amazon RDS + Extended Support. With RDS Extended Support, you can run the selected + major engine version on your DB cluster past the end of standard support + for that engine version. For more information, see the following + sections: + + - Amazon Aurora - [Amazon RDS Extended Support with Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) + in the *Amazon Aurora User Guide* + + - Amazon RDS - [Amazon RDS Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide* + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + Default: `open-source-rds-extended-support` + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB cluster. + + Valid Values: + + - `cluster-auto-backup` - The DB cluster's automated backup. + """ + enable_vpc_networking: bool | None = ... + """ + Specifies whether to enable VPC networking for the restored DB cluster. + Set this parameter to `false` to create a cluster without the VPC + network interface (ENI). + + This parameter must be used together with `EnableInternetAccessGateway`. + When both parameters are specified, IAM database authentication is + required. You must also specify `EnableIAMDatabaseAuthentication`. + + Valid for Cluster Type: Aurora PostgreSQL clusters + """ + enable_internet_access_gateway: bool | None = ... + """ + Specifies that the restored DB cluster should use internet-based + connectivity through an internet access gateway. This allows clients to + connect to the cluster over the internet without requiring a VPC. + + This parameter must be used together with `EnableVPCNetworking` set to + `false`. When both parameters are specified, IAM database authentication + is required. You must also specify `EnableIAMDatabaseAuthentication`. + + Valid for Cluster Type: Aurora PostgreSQL clusters + """ + associated_roles: list[DBClusterAssociatedRole] | None = ... + """ + A list of Amazon Web Services Identity and Access Management (IAM) roles + to associate with the DB cluster when it's restored from a snapshot. + Each role grants the DB cluster permission to access other Amazon Web + Services on your behalf. For each role, specify a role ARN and, + optionally, the feature name (such as `s3Import`, `s3Export`, or + `Lambda`). + + Valid for Cluster Type: Aurora DB clusters only + """ + +@dataclass(kw_only=True) +class RestoreDBClusterFromSnapshotOutput(_SerdeShape): + """Dataclass for RestoreDBClusterFromSnapshotOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreDBClusterToPointInTimeInput(_SerdeShape): + """""" + + db_cluster_identifier: str | None = ... + """ + The name of the new DB cluster to be created. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens + + - First character must be a letter + + - Can't end with a hyphen or contain two consecutive hyphens + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + restore_type: str | None = ... + """ + The type of restore to be performed. You can specify one of the + following values: + + - `full-copy` - The new DB cluster is restored as a full copy of the + source DB cluster. + + - `copy-on-write` - The new DB cluster is restored as a clone of the + source DB cluster. + + If you don't specify a `RestoreType` value, then the new DB cluster is + restored as a full copy of the source DB cluster. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + source_db_cluster_identifier: str | None = ... + """ + The identifier of the source DB cluster from which to restore. + + Constraints: + + - Must match the identifier of an existing DBCluster. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + restore_to_time: datetime | None = ... + """ + The date and time to restore the DB cluster to. + + Valid Values: Value must be a time in Universal Coordinated Time (UTC) + format + + Constraints: + + - Must be before the latest restorable time for the DB instance + + - Must be specified if `UseLatestRestorableTime` parameter isn't + provided + + - Can't be specified if the `UseLatestRestorableTime` parameter is + enabled + + - Can't be specified if the `RestoreType` parameter is `copy-on-write` + + Example: `2015-03-07T23:45:00Z` + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + use_latest_restorable_time: bool | None = ... + """ + Specifies whether to restore the DB cluster to the latest restorable + backup time. By default, the DB cluster isn't restored to the latest + restorable backup time. + + Constraints: Can't be specified if `RestoreToTime` parameter is + provided. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + port: int | None = ... + """ + The port number on which the new DB cluster accepts connections. + + Constraints: A value from `1150-65535`. + + Default: The default port for the engine. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + db_subnet_group_name: str | None = ... + """ + The DB subnet group name to use for the new DB cluster. + + Constraints: If supplied, must match the name of an existing + DBSubnetGroup. + + Example: `mydbsubnetgroup` + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + option_group_name: str | None = ... + """ + The name of the option group for the new DB cluster. + + DB clusters are associated with a default option group that can't be + modified. + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of VPC security groups that the new DB cluster belongs to. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to use when restoring an + encrypted DB cluster from an encrypted DB cluster. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + You can restore to a new DB cluster and encrypt the new DB cluster with + a KMS key that is different from the KMS key used to encrypt the source + DB cluster. The new DB cluster is encrypted with the KMS key identified + by the `KmsKeyId` parameter. + + If you don't specify a value for the `KmsKeyId` parameter, then the + following occurs: + + - If the DB cluster is encrypted, then the restored DB cluster is + encrypted using the KMS key that was used to encrypt the source DB + cluster. + + - If the DB cluster isn't encrypted, then the restored DB cluster + isn't encrypted. + + If `DBClusterIdentifier` refers to a DB cluster that isn't encrypted, + then the restore request is rejected. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + For more information, see [IAM Database + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon Aurora User Guide* or [IAM database authentication for + MariaDB, MySQL, and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide*. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + backtrack_window: int | None = ... + """ + The target backtrack window, in seconds. To disable backtracking, set + this value to 0. + + Default: 0 + + Constraints: + + - If specified, this value must be set to a number from 0 to 259,200 (72 + hours). + + Valid for: Aurora MySQL DB clusters only + """ + enable_cloudwatch_logs_exports: list[str] | None = ... + """ + The list of logs that the restored DB cluster is to export to CloudWatch + Logs. The values in the list depend on the DB engine being used. + + **RDS for MySQL** + + Possible values are `error`, `general`, `slowquery`, and + `iam-db-auth-error`. + + **RDS for PostgreSQL** + + Possible values are `postgresql`, `upgrade`, and `iam-db-auth-error`. + + **Aurora MySQL** + + Possible values are `audit`, `error`, `general`, `instance`, + `slowquery`, and `iam-db-auth-error`. + + **Aurora PostgreSQL** + + Possible value are `instance`, `postgresql`, and `iam-db-auth-error`. + + For more information about exporting CloudWatch Logs for Amazon RDS, see + [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + For more information about exporting CloudWatch Logs for Amazon Aurora, + see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon Aurora User Guide*. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + db_cluster_parameter_group_name: str | None = ... + """ + The name of the custom DB cluster parameter group to associate with this + DB cluster. + + If the `DBClusterParameterGroupName` parameter is omitted, the default + DB cluster parameter group for the specified engine is used. + + Constraints: + + - If supplied, must match the name of an existing DB cluster parameter + group. + + - Must be 1 to 255 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the DB cluster. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the restored DB cluster to + snapshots of the restored DB cluster. The default is not to copy them. + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + domain: str | None = ... + """ + The Active Directory directory ID to restore the DB cluster in. The + domain must be created prior to this operation. + + For Amazon Aurora DB clusters, Amazon RDS can use Kerberos + Authentication to authenticate users that connect to the DB cluster. For + more information, see [Kerberos + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) + in the *Amazon Aurora User Guide*. + + Valid for: Aurora DB clusters only + """ + domain_iam_role_name: str | None = ... + """ + The name of the IAM role to be used when making API calls to the + Directory Service. + + Valid for: Aurora DB clusters only + """ + db_cluster_instance_class: str | None = ... + """ + The compute and memory capacity of the each DB instance in the Multi-AZ + DB cluster, for example db.m6gd.xlarge. Not all DB instance classes are + available in all Amazon Web Services Regions, or for all database + engines. + + For the full list of DB instance classes, and availability for your + engine, see [DB instance + class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide*. + + Valid for: Multi-AZ DB clusters only + """ + storage_type: str | None = ... + """ + Specifies the storage type to be associated with the DB cluster. + + When specified for a Multi-AZ DB cluster, a value for the `Iops` + parameter is required. + + Valid Values: `aurora`, `aurora-iopt1` (Aurora DB clusters); `io1` + (Multi-AZ DB clusters) + + Default: `aurora` (Aurora DB clusters); `io1` (Multi-AZ DB clusters) + + Valid for: Aurora DB clusters and Multi-AZ DB clusters + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB cluster is publicly accessible. + + When the DB cluster is publicly accessible, its Domain Name System (DNS) + endpoint resolves to the private IP address from within the DB + cluster's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB cluster's VPC. Access to the DB cluster + is ultimately controlled by the security group it uses. That public + access is not permitted if the security group assigned to the DB cluster + doesn't permit it. + + When the DB cluster isn't publicly accessible, it is an internal DB + cluster with a DNS name that resolves to a private IP address. + + Default: The default behavior varies depending on whether + `DBSubnetGroupName` is specified. + + If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible` isn't + specified, the following applies: + + - If the default VPC in the target Region doesn't have an internet + gateway attached to it, the DB cluster is private. + + - If the default VPC in the target Region has an internet gateway + attached to it, the DB cluster is public. + + If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't + specified, the following applies: + + - If the subnets are part of a VPC that doesn't have an internet gateway + attached to it, the DB cluster is private. + + - If the subnets are part of a VPC that has an internet gateway attached + to it, the DB cluster is public. + + Valid for: Multi-AZ DB clusters only + """ + iops: int | None = ... + """ + The amount of Provisioned IOPS (input/output operations per second) to + be initially allocated for each DB instance in the Multi-AZ DB cluster. + + For information about valid IOPS values, see [Amazon RDS Provisioned + IOPS + storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) + in the *Amazon RDS User Guide*. + + Constraints: Must be a multiple between .5 and 50 of the storage amount + for the DB instance. + + Valid for: Multi-AZ DB clusters only + """ + network_type: str | None = ... + """ + The network type of the DB cluster. + + Valid Values: + + - `IPV4` + + - `DUAL` + + The network type is determined by the `DBSubnetGroup` specified for the + DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon Aurora User Guide.* + + Valid for: Aurora DB clusters only + """ + source_db_cluster_resource_id: str | None = ... + """The resource ID of the source DB cluster from which to restore.""" + serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... + """ + Contains the scaling configuration of an Aurora Serverless v2 DB + cluster. + + For more information, see [Using Amazon Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the *Amazon Aurora User Guide*. + """ + scaling_configuration: ScalingConfiguration | None = ... + """ + For DB clusters in `serverless` DB engine mode, the scaling properties + of the DB cluster. + + Valid for: Aurora DB clusters only + """ + engine_mode: str | None = ... + """ + The engine mode of the new cluster. Specify `provisioned` or + `serverless`, depending on the type of the cluster you are creating. You + can create an Aurora Serverless v1 clone from a provisioned cluster, or + a provisioned clone from an Aurora Serverless v1 cluster. To create a + clone that is an Aurora Serverless v1 cluster, the original cluster must + be an Aurora Serverless v1 cluster or an encrypted provisioned cluster. + To create a full copy that is an Aurora Serverless v1 cluster, specify + the engine mode `serverless`. + + Valid for: Aurora DB clusters only + """ + rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... + """Reserved for future use.""" + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the DB cluster. To turn off collecting + Enhanced Monitoring metrics, specify `0`. + + If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to a + value other than `0`. + + Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` + + Default: `0` + """ + monitoring_role_arn: str | None = ... + """ + The Amazon Resource Name (ARN) for the IAM role that permits RDS to send + Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is + `arn:aws:iam:123456789012:role/emaccess`. + + If `MonitoringInterval` is set to a value other than `0`, supply a + `MonitoringRoleArn` value. + """ + enable_performance_insights: bool | None = ... + """Specifies whether to turn on Performance Insights for the DB cluster.""" + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + If you don't specify a value for `PerformanceInsightsKMSKeyId`, then + Amazon RDS uses your default KMS key. There is a default KMS key for + your Amazon Web Services account. Your Amazon Web Services account has a + different default KMS key for each Amazon Web Services Region. + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. + + Valid Values: + + - `7` + + - *month* * 31, where *month* is a number of months from 1-23. + Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 + months * 31) + + - `731` + + Default: `7` days + + If you specify a retention period that isn't valid, such as `94`, + Amazon RDS issues an error. + """ + backup_retention_period: int | None = ... + """ + The number of days for which automated backups are retained. Specify a + minimum value of `1`. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Default: Uses existing setting + + Constraints: + + - Must be a value from 1 to 35. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, using the `BackupRetentionPeriod` + parameter. + + The default is a 30-minute window selected at random from an 8-hour + block of time for each Amazon Web Services Region. To view the time + blocks available, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) + in the *Amazon Aurora User Guide*. + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB cluster. + + Note: + By default, this value is set to `open-source-rds-extended-support`, + which enrolls your DB cluster into Amazon RDS Extended Support. At the + end of standard support, you can avoid charges for Extended Support by + setting the value to `open-source-rds-extended-support-disabled`. In + this case, RDS automatically upgrades your restored DB cluster to a + higher engine version, if the major engine version is past its end of + standard support date. + + You can use this setting to enroll your DB cluster into Amazon RDS + Extended Support. With RDS Extended Support, you can run the selected + major engine version on your DB cluster past the end of standard support + for that engine version. For more information, see the following + sections: + + - Amazon Aurora - [Amazon RDS Extended Support with Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) + in the *Amazon Aurora User Guide* + + - Amazon RDS - [Amazon RDS Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide* + + Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + Default: `open-source-rds-extended-support` + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB cluster. + + Valid Values: + + - `cluster-auto-backup` - The DB cluster's automated backup. + """ + enable_vpc_networking: bool | None = ... + """ + Specifies whether to enable VPC networking for the restored DB cluster. + Set this parameter to `false` to create a cluster without the VPC + network interface (ENI). + + This parameter must be used together with `EnableInternetAccessGateway`. + When both parameters are specified, IAM database authentication is + required. You must also specify `EnableIAMDatabaseAuthentication`. + + Valid for Cluster Type: Aurora PostgreSQL clusters + """ + enable_internet_access_gateway: bool | None = ... + """ + Specifies that the restored DB cluster should use internet-based + connectivity through an internet access gateway. This allows clients to + connect to the cluster over the internet without requiring a VPC. + + This parameter must be used together with `EnableVPCNetworking` set to + `false`. When both parameters are specified, IAM database authentication + is required. You must also specify `EnableIAMDatabaseAuthentication`. + + Valid for Cluster Type: Aurora PostgreSQL clusters + """ + associated_roles: list[DBClusterAssociatedRole] | None = ... + """ + A list of Amazon Web Services Identity and Access Management (IAM) roles + to associate with the DB cluster when it's restored to a point in time. + Each role grants the DB cluster permission to access other Amazon Web + Services on your behalf. For each role, specify a role ARN and, + optionally, the feature name (such as `s3Import`, `s3Export`, or + `Lambda`). + + Valid for Cluster Type: Aurora DB clusters only + """ + +@dataclass(kw_only=True) +class RestoreDBClusterToPointInTimeOutput(_SerdeShape): + """Dataclass for RestoreDBClusterToPointInTimeOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreDBInstanceFromDBSnapshotInput(_SerdeShape): + """""" + + db_instance_identifier: str | None = ... + """ + The name of the DB instance to create from the DB snapshot. This + parameter isn't case-sensitive. + + Constraints: + + - Must contain from 1 to 63 numbers, letters, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `my-snapshot-id` + """ + db_snapshot_identifier: str | None = ... + """ + The identifier for the DB snapshot to restore from. + + Constraints: + + - Must match the identifier of an existing DB snapshot. + + - Can't be specified when `DBClusterSnapshotIdentifier` is specified. + + - Must be specified when `DBClusterSnapshotIdentifier` isn't specified. + + - If you are restoring from a shared manual DB snapshot, the + `DBSnapshotIdentifier` must be the ARN of the shared DB snapshot. + """ + db_instance_class: str | None = ... + """ + The compute and memory capacity of the Amazon RDS DB instance, for + example db.m4.large. Not all DB instance classes are available in all + Amazon Web Services Regions, or for all database engines. For the full + list of DB instance classes, and availability for your engine, see [DB + Instance + Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide.* + + Default: The same DBInstanceClass as the original DB instance. + """ + port: int | None = ... + """ + The port number on which the database accepts connections. + + Default: The same port as the original DB instance + + Constraints: Value must be `1150-65535` + """ + availability_zone: str | None = ... + """ + The Availability Zone (AZ) where the DB instance will be created. + + Default: A random, system-chosen Availability Zone. + + Constraint: You can't specify the `AvailabilityZone` parameter if the + DB instance is a Multi-AZ deployment. + + Example: `us-east-1a` + """ + db_subnet_group_name: str | None = ... + """ + The name of the DB subnet group to use for the new instance. + + Constraints: + + - If supplied, must match the name of an existing DB subnet group. + + Example: `mydbsubnetgroup` + """ + multi_az: bool | None = ... + """ + Specifies whether the DB instance is a Multi-AZ deployment. + + This setting doesn't apply to RDS Custom. + + Constraint: You can't specify the `AvailabilityZone` parameter if the + DB instance is a Multi-AZ deployment. + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB instance is publicly accessible. + + When the DB instance is publicly accessible, its Domain Name System + (DNS) endpoint resolves to the private IP address from within the DB + instance's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB instance's VPC. Access to the DB + instance is ultimately controlled by the security group it uses. That + public access is not permitted if the security group assigned to the DB + instance doesn't permit it. + + When the DB instance isn't publicly accessible, it is an internal DB + instance with a DNS name that resolves to a private IP address. + + For more information, see CreateDBInstance. + """ + auto_minor_version_upgrade: bool | None = ... + """ + Specifies whether to automatically apply minor version upgrades to the + DB instance during the maintenance window. + + If you restore an RDS Custom DB instance, you must disable this + parameter. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + license_model: str | None = ... + """ + License model information for the restored DB instance. + + Note: + License models for RDS for Db2 require additional configuration. The + bring your own license (BYOL) model requires a custom parameter group + and an Amazon Web Services License Manager self-managed license. The Db2 + license through Amazon Web Services Marketplace model requires an Amazon + Web Services Marketplace subscription. For more information, see [Amazon + RDS for Db2 licensing + options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + + Valid Values: + + - RDS for Db2 - `bring-your-own-license | marketplace-license` + + - RDS for MariaDB - `general-public-license` + + - RDS for Microsoft SQL Server - + `license-included | bring-your-own-media` + + - RDS for MySQL - `general-public-license` + + - RDS for Oracle - `bring-your-own-license | license-included` + + - RDS for PostgreSQL - `postgresql-license` + + Default: Same as the source. + """ + db_name: str | None = ... + """ + The name of the database for the restored DB instance. + + This parameter only applies to RDS for Oracle and RDS for SQL Server DB + instances. It doesn't apply to the other engines or to RDS Custom DB + instances. + """ + engine: str | None = ... + """ + The database engine to use for the new instance. + + This setting doesn't apply to RDS Custom. + + Default: The same as source + + Constraint: Must be compatible with the engine of the source. For + example, you can restore a MariaDB 10.1 DB instance from a MySQL 5.6 + snapshot. + + Valid Values: + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + """ + iops: int | None = ... + """ + Specifies the amount of provisioned IOPS for the DB instance, expressed + in I/O operations per second. If this parameter isn't specified, the + IOPS value is taken from the backup. If this parameter is set to 0, the + new instance is converted to a non-PIOPS instance. The conversion takes + additional time, though your DB instance is available for connections + before the conversion starts. + + The provisioned IOPS value must follow the requirements for your + database engine. For more information, see [Amazon RDS Provisioned IOPS + storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) + in the *Amazon RDS User Guide.* + + Constraints: Must be an integer greater than 1000. + """ + storage_throughput: int | None = ... + """ + Specifies the storage throughput value for the DB instance. + + This setting doesn't apply to RDS Custom or Amazon Aurora. + """ + option_group_name: str | None = ... + """ + The name of the option group to be used for the restored DB instance. + + Permanent options, such as the TDE option for Oracle Advanced Security + TDE, can't be removed from an option group, and that option group + can't be removed from a DB instance after it is associated with a DB + instance. + + This setting doesn't apply to RDS Custom. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + storage_type: str | None = ... + """ + Specifies the storage type to be associated with the DB instance. + + Valid Values: `gp2 | gp3 | io1 | io2 | standard` + + If you specify `io1`, `io2`, or `gp3`, you must also include a value for + the `Iops` parameter. + + Default: `io1` if the `Iops` parameter is specified, otherwise `gp3` + """ + tde_credential_arn: str | None = ... + """ + The ARN from the key store with which to associate the instance for TDE + encryption. + + This setting doesn't apply to RDS Custom. + """ + tde_credential_password: str | None = ... + """ + The password for the given ARN from the key store in order to access the + device. + + This setting doesn't apply to RDS Custom. + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of EC2 VPC security groups to associate with this DB instance. + + Default: The default EC2 VPC security group for the DB subnet group's + VPC. + """ + domain: str | None = ... + """ + The Active Directory directory ID to restore the DB instance in. The + domain/ must be created prior to this operation. Currently, you can + create only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB + instances in an Active Directory Domain. + + For more information, see [Kerberos + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom. + """ + domain_fqdn: str | None = ... + """ + The fully qualified domain name (FQDN) of an Active Directory domain. + + Constraints: + + - Can't be longer than 64 characters. + + Example: `mymanagedADtest.mymanagedAD.mydomain` + """ + domain_ou: str | None = ... + """ + The Active Directory organizational unit for your DB instance to join. + + Constraints: + + - Must be in the distinguished name format. + + - Can't be longer than 64 characters. + + Example: + `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` + """ + domain_auth_secret_arn: str | None = ... + """ + The ARN for the Secrets Manager secret with the credentials for the user + joining the domain. + + Constraints: + + - Can't be longer than 64 characters. + + Example: + `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` + """ + domain_dns_ips: list[str] | None = ... + """ + The IPv4 DNS IP addresses of your primary and secondary Active Directory + domain controllers. + + Constraints: + + - Two IP addresses must be provided. If there isn't a secondary domain + controller, use the IP address of the primary domain controller for + both entries in the list. + + Example: `123.124.125.126,234.235.236.237` + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the restored DB instance to + snapshots of the DB instance. + + In most cases, tags aren't copied by default. However, when you restore + a DB instance from a DB snapshot, RDS checks whether you specify new + tags. If yes, the new tags are added to the restored DB instance. If + there are no new tags, RDS looks for the tags from the source DB + instance for the DB snapshot, and then adds those tags to the restored + DB instance. + + For more information, see [Copying tags to DB instance + snapshots](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.CopyTags) + in the *Amazon RDS User Guide*. + """ + domain_iam_role_name: str | None = ... + """ + The name of the IAM role to use when making API calls to the Directory + Service. + + This setting doesn't apply to RDS Custom DB instances. + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping is disabled. + + For more information about IAM database authentication, see [IAM + Database Authentication for MySQL and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide.* + + This setting doesn't apply to RDS Custom. + """ + enable_cloudwatch_logs_exports: list[str] | None = ... + """ + The list of logs for the restored DB instance to export to CloudWatch + Logs. The values in the list depend on the DB engine. For more + information, see [Publishing Database Logs to Amazon CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom. + """ + processor_features: list[ProcessorFeature] | None = ... + """ + The number of CPU cores and the number of threads per core for the DB + instance class of the DB instance. + + This setting doesn't apply to RDS Custom. + """ + use_default_processor_features: bool | None = ... + """ + Specifies whether the DB instance class of the DB instance uses its + default processor features. + + This setting doesn't apply to RDS Custom. + """ + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group to associate with this DB instance. + + If you don't specify a value for `DBParameterGroupName`, then RDS uses + the default `DBParameterGroup` for the specified DB engine. + + This setting doesn't apply to RDS Custom. + + Constraints: + + - If supplied, must match the name of an existing DB parameter group. + + - Must be 1 to 255 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the DB instance. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. For more information, see + [Deleting a DB + Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + """ + enable_customer_owned_ip: bool | None = ... + """ + Specifies whether to enable a customer-owned IP address (CoIP) for an + RDS on Outposts DB instance. + + A *CoIP* provides local or external connectivity to resources in your + Outpost subnets through your on-premises network. For some use cases, a + CoIP can provide lower latency for connections to the DB instance from + outside of its virtual private cloud (VPC) on your local network. + + This setting doesn't apply to RDS Custom. + + For more information about RDS on Outposts, see [Working with Amazon RDS + on Amazon Web Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide*. + + For more information about CoIPs, see [Customer-owned IP + addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the *Amazon Web Services Outposts User Guide*. + """ + network_type: str | None = ... + """ + The network type of the DB instance. + + Valid Values: + + - `IPV4` + + - `DUAL` + + The network type is determined by the `DBSubnetGroup` specified for the + DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon RDS User Guide.* + """ + backup_target: str | None = ... + """ + Specifies where automated backups and manual snapshots are stored for + the restored DB instance. + + Possible values are `local` (Dedicated Local Zone), `outposts` (Amazon + Web Services Outposts), and `region` (Amazon Web Services Region). The + default is `region`. + + For more information, see [Working with Amazon RDS on Amazon Web + Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide*. + """ + custom_iam_instance_profile: str | None = ... + """ + The instance profile associated with the underlying Amazon EC2 instance + of an RDS Custom DB instance. The instance profile must meet the + following requirements: + + - The profile must exist in your account. + + - The profile must have an IAM role that Amazon EC2 has permissions to + assume. + + - The instance profile name and the associated IAM role name must start + with the prefix `AWSRDSCustom`. + + For the list of permissions required for the IAM role, see [Configure + IAM and your + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) + in the *Amazon RDS User Guide*. + + This setting is required for RDS Custom. + """ + allocated_storage: int | None = ... + """ + The amount of storage (in gibibytes) to allocate initially for the DB + instance. Follow the allocation rules specified in CreateDBInstance. + + This setting isn't valid for RDS for SQL Server. + + Note: + Be sure to allocate enough storage for your new DB instance so that the + restore operation can succeed. You can also allocate additional storage + for future growth. + """ + db_cluster_snapshot_identifier: str | None = ... + """ + The identifier for the Multi-AZ DB cluster snapshot to restore from. + + For more information on Multi-AZ DB clusters, see [Multi-AZ DB cluster + deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide*. + + Constraints: + + - Must match the identifier of an existing Multi-AZ DB cluster snapshot. + + - Can't be specified when `DBSnapshotIdentifier` is specified. + + - Must be specified when `DBSnapshotIdentifier` isn't specified. + + - If you are restoring from a shared manual Multi-AZ DB cluster + snapshot, the `DBClusterSnapshotIdentifier` must be the ARN of the + shared snapshot. + + - Can't be the identifier of an Aurora DB cluster snapshot. + """ + backup_retention_period: int | None = ... + """ + The number of days to retain automated backups. Setting this parameter + to a positive number enables backups. Setting this parameter to 0 + disables automated backups. + + Note: + Enabling and disabling backups can result in a brief I/O suspension that + lasts from a few seconds to a few minutes, depending on the size and + class of your DB instance. + + This setting doesn't apply to Amazon Aurora DB instances. The retention + period for automated backups is managed by the DB cluster. For more + information, see `ModifyDBCluster`. + + Default: Uses existing setting + + Constraints: + + - Must be a value from 0 to 35. + + - Can't be set to 0 if the DB instance is a source to read replicas. + + - Can't be set to 0 for an RDS Custom for Oracle DB instance. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, as determined by the + `BackupRetentionPeriod` parameter. Changing this parameter doesn't + result in an outage and the change is asynchronously applied as soon as + possible. The default is a 30-minute window selected at random from an + 8-hour block of time for each Amazon Web Services Region. For more + information, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to Amazon Aurora DB instances. The daily + time range for creating automated backups is managed by the DB cluster. + For more information, see `ModifyDBCluster`. + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation to associate + with this DB instance. You can specify the identifier, which has the + prefix `dbcr-`, or the reservation name. When you specify this + parameter, the DB instance uses reserved capacity from the specified + reservation. + + If you specify `AvailabilityZone`, Amazon RDS places the DB instance in + that Availability Zone, and the reservation must cover it. + + Constraints: + + - The reservation must reserve capacity for the DB instance class and + the database engine of the DB instance. + + - If the reservation reserves capacity for a specific license model, the + license model of the DB instance must match it. + + - The reservation must be in the `active` state, and it must not be past + its end date. + + - If you specify `AvailabilityZone`, it must be one of the Availability + Zones of the reservation. + + - For a Multi-AZ DB instance, the reservation must cover two or more + Availability Zones. A Multi-AZ DB instance uses one unit of reserved + capacity in each of two Availability Zones. If the reservation covers + more than two Availability Zones, Amazon RDS chooses the two that the + DB instance uses. + + - The reservation must have available capacity in each Availability Zone + that the DB instance uses. + + - The DB subnet group must be in a VPC with default tenancy. + + - The DB subnet group must cover each Availability Zone that the DB + instance uses. + """ + dedicated_log_volume: bool | None = ... + """ + Specifies whether to enable a dedicated log volume (DLV) for the DB + instance. + """ + ca_certificate_identifier: str | None = ... + """ + The CA certificate identifier to use for the DB instance's server + certificate. + + This setting doesn't apply to RDS Custom DB instances. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB instance. + + Note: + By default, this value is set to `open-source-rds-extended-support`, + which enrolls your DB instance into Amazon RDS Extended Support. At the + end of standard support, you can avoid charges for Extended Support by + setting the value to `open-source-rds-extended-support-disabled`. In + this case, RDS automatically upgrades your restored DB instance to a + higher engine version, if the major engine version is past its end of + standard support date. + + You can use this setting to enroll your DB instance into Amazon RDS + Extended Support. With RDS Extended Support, you can run the selected + major engine version on your DB instance past the end of standard + support for that engine version. For more information, see [Amazon RDS + Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide*. + + This setting applies only to RDS for MySQL and RDS for PostgreSQL. For + Amazon Aurora DB instances, the engine lifecycle support is managed by + the DB cluster. + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + Default: `open-source-rds-extended-support` + """ + additional_storage_volumes: list[AdditionalStorageVolume] | None = ... + """ + A list of additional storage volumes to create for the DB instance. You + can create up to three additional storage volumes using the names + `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage volumes + are supported for RDS for Oracle and RDS for SQL Server DB instances + only. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB instance. + + Valid Values: + + - `auto-backup` - The DB instance's automated backup. + """ + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager in the restored DB instance. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide*. + + Constraints: + + - Applies to RDS for Oracle only. + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB instance. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + If you don't specify `MasterUserSecretKmsKeyId`, then the + `aws/secretsmanager` KMS key is used to encrypt the secret. If the + secret is in a different Amazon Web Services account, then you can't + use the `aws/secretsmanager` KMS key to encrypt the secret, and you must + use a customer managed KMS key. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + """ + +@dataclass(kw_only=True) +class RestoreDBInstanceFromDBSnapshotOutput(_SerdeShape): + """Dataclass for RestoreDBInstanceFromDBSnapshotOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreDBInstanceFromS3Input(_SerdeShape): + """Dataclass for RestoreDBInstanceFromS3Input structure.""" + + db_name: str | None = ... + """ + The name of the database to create when the DB instance is created. + Follow the naming rules specified in `CreateDBInstance`. + """ + db_instance_identifier: str | None = ... + """ + The DB instance identifier. This parameter is stored as a lowercase + string. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + + Example: `mydbinstance` + """ + allocated_storage: int | None = ... + """ + The amount of storage (in gibibytes) to allocate initially for the DB + instance. Follow the allocation rules specified in `CreateDBInstance`. + + This setting isn't valid for RDS for SQL Server. + + Note: + Be sure to allocate enough storage for your new DB instance so that the + restore operation can succeed. You can also allocate additional storage + for future growth. + """ + db_instance_class: str | None = ... + """ + The compute and memory capacity of the DB instance, for example + db.m4.large. Not all DB instance classes are available in all Amazon Web + Services Regions, or for all database engines. For the full list of DB + instance classes, and availability for your engine, see [DB Instance + Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide.* + + Importing from Amazon S3 isn't supported on the db.t2.micro DB instance + class. + """ + engine: str | None = ... + """ + The name of the database engine to be used for this instance. + + Valid Values: `mysql` + """ + master_username: str | None = ... + """ + The name for the master user. + + Constraints: + + - Must be 1 to 16 letters or numbers. + + - First character must be a letter. + + - Can't be a reserved word for the chosen database engine. + """ + master_user_password: str | None = ... + """ + The password for the master user. + + Constraints: + + - Can't be specified if `ManageMasterUserPassword` is turned on. + + - Can include any printable ASCII character except \"/\", \"\"\", or + \"@\". For RDS for Oracle, can't include the \"&\" (ampersand) or the + \"'\" (single quotes) character. + + Length Constraints: + + - RDS for Db2 - Must contain from 8 to 128 characters. + + - RDS for MariaDB - Must contain from 8 to 41 characters. + + - RDS for Microsoft SQL Server - Must contain from 8 to 128 characters. + + - RDS for MySQL - Must contain from 8 to 41 characters. + + - RDS for Oracle - Must contain from 8 to 30 characters. + + - RDS for PostgreSQL - Must contain from 8 to 128 characters. + """ + db_security_groups: list[str] | None = ... + """ + A list of DB security groups to associate with this DB instance. + + Default: The default DB security group for the database engine. + """ + vpc_security_group_ids: list[str] | None = ... + """A list of VPC security groups to associate with this DB instance.""" + availability_zone: str | None = ... + """ + The Availability Zone that the DB instance is created in. For + information about Amazon Web Services Regions and Availability Zones, + see [Regions and Availability + Zones](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html) + in the *Amazon RDS User Guide.* + + Default: A random, system-chosen Availability Zone in the endpoint's + Amazon Web Services Region. + + Example: `us-east-1d` + + Constraint: The `AvailabilityZone` parameter can't be specified if the + DB instance is a Multi-AZ deployment. The specified Availability Zone + must be in the same Amazon Web Services Region as the current endpoint. + """ + db_subnet_group_name: str | None = ... + """ + A DB subnet group to associate with this DB instance. + + Constraints: If supplied, must match the name of an existing + DBSubnetGroup. + + Example: `mydbsubnetgroup` + """ + preferred_maintenance_window: str | None = ... + """ + The time range each week during which system maintenance can occur, in + Universal Coordinated Time (UTC). For more information, see [Amazon RDS + Maintenance + Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance) + in the *Amazon RDS User Guide.* + + Constraints: + + - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. + + - Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred backup window. + + - Must be at least 30 minutes. + """ + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group to associate with this DB instance. + + If you do not specify a value for `DBParameterGroupName`, then the + default `DBParameterGroup` for the specified DB engine is used. + """ + backup_retention_period: int | None = ... + """ + The number of days for which automated backups are retained. Setting + this parameter to a positive number enables backups. For more + information, see `CreateDBInstance`. + """ + preferred_backup_window: str | None = ... + """ + The time range each day during which automated backups are created if + automated backups are enabled. For more information, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) + in the *Amazon RDS User Guide.* + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + port: int | None = ... + """ + The port number on which the database accepts connections. + + Type: Integer + + Valid Values: `1150`-`65535` + + Default: `3306` + """ + multi_az: bool | None = ... + """ + Specifies whether the DB instance is a Multi-AZ deployment. If the DB + instance is a Multi-AZ deployment, you can't set the `AvailabilityZone` + parameter. + """ + engine_version: str | None = ... + """ + The version number of the database engine to use. Choose the latest + minor version of your database engine. For information about engine + versions, see `CreateDBInstance`, or call `DescribeDBEngineVersions`. + """ + auto_minor_version_upgrade: bool | None = ... + """ + Specifies whether to automatically apply minor engine upgrades to the DB + instance during the maintenance window. By default, minor engine + upgrades are not applied automatically. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + license_model: str | None = ... + """The license model for this DB instance. Use `general-public-license`.""" + iops: int | None = ... + """ + The amount of Provisioned IOPS (input/output operations per second) to + allocate initially for the DB instance. For information about valid IOPS + values, see [Amazon RDS Provisioned IOPS + storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) + in the *Amazon RDS User Guide.* + """ + storage_throughput: int | None = ... + """ + Specifies the storage throughput value for the DB instance. + + This setting doesn't apply to RDS Custom or Amazon Aurora. + """ + option_group_name: str | None = ... + """ + The name of the option group to associate with this DB instance. If this + argument is omitted, the default option group for the specified engine + is used. + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB instance is publicly accessible. + + When the DB instance is publicly accessible, its Domain Name System + (DNS) endpoint resolves to the private IP address from within the DB + instance's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB instance's VPC. Access to the DB + instance is ultimately controlled by the security group it uses. That + public access is not permitted if the security group assigned to the DB + instance doesn't permit it. + + When the DB instance isn't publicly accessible, it is an internal DB + instance with a DNS name that resolves to a private IP address. + + For more information, see CreateDBInstance. + """ + tags: list[Tag] | None = ... + """ + A list of tags to associate with this DB instance. For more information, + see [Tagging Amazon RDS + Resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide.* + """ + storage_type: str | None = ... + """ + Specifies the storage type to be associated with the DB instance. + + Valid Values: `gp2 | gp3 | io1 | io2 | standard` + + If you specify `io1`, `io2`, or `gp3`, you must also include a value for + the `Iops` parameter. + + Default: `io1` if the `Iops` parameter is specified; otherwise `gp2` + """ + storage_encrypted: bool | None = ... + """Specifies whether the new DB instance is encrypted or not.""" + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for an encrypted DB instance. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + If the `StorageEncrypted` parameter is enabled, and you do not specify a + value for the `KmsKeyId` parameter, then Amazon RDS will use your + default KMS key. There is a default KMS key for your Amazon Web Services + account. Your Amazon Web Services account has a different default KMS + key for each Amazon Web Services Region. + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the DB instance to snapshots of + the DB instance. By default, tags are not copied. + """ + monitoring_interval: int | None = ... + """ + The interval, in seconds, between points when Enhanced Monitoring + metrics are collected for the DB instance. To disable collecting + Enhanced Monitoring metrics, specify 0. + + If `MonitoringRoleArn` is specified, then you must also set + `MonitoringInterval` to a value other than 0. + + Valid Values: 0, 1, 5, 10, 15, 30, 60 + + Default: `0` + """ + monitoring_role_arn: str | None = ... + """ + The ARN for the IAM role that permits RDS to send enhanced monitoring + metrics to Amazon CloudWatch Logs. For example, + `arn:aws:iam:123456789012:role/emaccess`. For information on creating a + monitoring role, see [Setting Up and Enabling Enhanced + Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) + in the *Amazon RDS User Guide.* + + If `MonitoringInterval` is set to a value other than 0, then you must + supply a `MonitoringRoleArn` value. + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + For more information about IAM database authentication, see [IAM + Database Authentication for MySQL and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide.* + """ + source_engine: str | None = ... + """ + The name of the engine of your source database. + + Valid Values: `mysql` + """ + source_engine_version: str | None = ... + """ + The version of the database that the backup files were created from. + + MySQL versions 5.6 and 5.7 are supported. + + Example: `5.6.40` + """ + s3_bucket_name: str | None = ... + """ + The name of your Amazon S3 bucket that contains your database backup + file. + """ + s3_prefix: str | None = ... + """The prefix of your Amazon S3 bucket.""" + s3_ingestion_role_arn: str | None = ... + """ + An Amazon Web Services Identity and Access Management (IAM) role with a + trust policy and a permissions policy that allows Amazon RDS to access + your Amazon S3 bucket. For information about this role, see [Creating an + IAM role + manually](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html#MySQL.Procedural.Importing.Enabling.IAM) + in the *Amazon RDS User Guide.* + """ + database_insights_mode: str | None = ... + """ + Specifies the mode of Database Insights to enable for the DB instance. + + Note: + Aurora DB instances inherit this value from the DB cluster, so you + can't change this value. + """ + enable_performance_insights: bool | None = ... + """ + Specifies whether to enable Performance Insights for the DB instance. + + For more information, see [Using Amazon Performance + Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the *Amazon RDS User Guide*. + """ + performance_insights_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of Performance + Insights data. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + If you do not specify a value for `PerformanceInsightsKMSKeyId`, then + Amazon RDS uses your default KMS key. There is a default KMS key for + your Amazon Web Services account. Your Amazon Web Services account has a + different default KMS key for each Amazon Web Services Region. + """ + performance_insights_retention_period: int | None = ... + """ + The number of days to retain Performance Insights data. The default is 7 + days. The following values are valid: + + - 7 + + - *month* * 31, where *month* is a number of months from 1-23 + + - 731 + + For example, the following values are valid: + + - 93 (3 months * 31) + + - 341 (11 months * 31) + + - 589 (19 months * 31) + + - 731 + + If you specify a retention period such as 94, which isn't a valid + value, RDS issues an error. + """ + enable_cloudwatch_logs_exports: list[str] | None = ... + """ + The list of logs that the restored DB instance is to export to + CloudWatch Logs. The values in the list depend on the DB engine being + used. For more information, see [Publishing Database Logs to Amazon + CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + """ + processor_features: list[ProcessorFeature] | None = ... + """ + The number of CPU cores and the number of threads per core for the DB + instance class of the DB instance. + """ + use_default_processor_features: bool | None = ... + """ + Specifies whether the DB instance class of the DB instance uses its + default processor features. + """ + deletion_protection: bool | None = ... + """ + Specifies whether to enable deletion protection for the DB instance. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. For more information, see + [Deleting a DB + Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + """ + max_allocated_storage: int | None = ... + """ + The upper limit in gibibytes (GiB) to which Amazon RDS can automatically + scale the storage of the DB instance. + + For more information about this setting, including limitations that + apply to it, see [Managing capacity automatically with Amazon RDS + storage + autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) + in the *Amazon RDS User Guide*. + """ + network_type: str | None = ... + """ + The network type of the DB instance. + + Valid Values: + + - `IPV4` + + - `DUAL` + + The network type is determined by the `DBSubnetGroup` specified for the + DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon RDS User Guide.* + """ + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide.* + + Constraints: + + - Can't manage the master user password with Amazon Web Services + Secrets Manager if `MasterUserPassword` is specified. + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB instance. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + If you don't specify `MasterUserSecretKmsKeyId`, then the + `aws/secretsmanager` KMS key is used to encrypt the secret. If the + secret is in a different Amazon Web Services account, then you can't + use the `aws/secretsmanager` KMS key to encrypt the secret, and you must + use a customer managed KMS key. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + """ + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation to associate + with this DB instance. You can specify the identifier, which has the + prefix `dbcr-`, or the reservation name. When you specify this + parameter, the DB instance uses reserved capacity from the specified + reservation. + + If you specify `AvailabilityZone`, Amazon RDS places the DB instance in + that Availability Zone, and the reservation must cover it. + + Constraints: + + - The reservation must reserve capacity for the DB instance class and + the database engine of the DB instance. + + - If the reservation reserves capacity for a specific license model, the + license model of the DB instance must match it. + + - The reservation must be in the `active` state, and it must not be past + its end date. + + - If you specify `AvailabilityZone`, it must be one of the Availability + Zones of the reservation. + + - For a Multi-AZ DB instance, the reservation must cover two or more + Availability Zones. A Multi-AZ DB instance uses one unit of reserved + capacity in each of two Availability Zones. If the reservation covers + more than two Availability Zones, Amazon RDS chooses the two that the + DB instance uses. + + - The reservation must have available capacity in each Availability Zone + that the DB instance uses. + + - The DB subnet group must be in a VPC with default tenancy. + + - The DB subnet group must cover each Availability Zone that the DB + instance uses. + """ + dedicated_log_volume: bool | None = ... + """ + Specifies whether to enable a dedicated log volume (DLV) for the DB + instance. + """ + ca_certificate_identifier: str | None = ... + """ + The CA certificate identifier to use for the DB instance's server + certificate. + + This setting doesn't apply to RDS Custom DB instances. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB instance. + + Note: + By default, this value is set to `open-source-rds-extended-support`, + which enrolls your DB instance into Amazon RDS Extended Support. At the + end of standard support, you can avoid charges for Extended Support by + setting the value to `open-source-rds-extended-support-disabled`. In + this case, RDS automatically upgrades your restored DB instance to a + higher engine version, if the major engine version is past its end of + standard support date. + + You can use this setting to enroll your DB instance into Amazon RDS + Extended Support. With RDS Extended Support, you can run the selected + major engine version on your DB instance past the end of standard + support for that engine version. For more information, see [Amazon RDS + Extended Support Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide*. + + This setting applies only to RDS for MySQL and RDS for PostgreSQL. For + Amazon Aurora DB instances, the engine lifecycle support is managed by + the DB cluster. + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + Default: `open-source-rds-extended-support` + """ + additional_storage_volumes: list[AdditionalStorageVolume] | None = ... + """ + A list of additional storage volumes to modify or delete for the DB + instance. You can modify or delete up to three additional storage + volumes using the names `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. + Additional storage volumes are supported for RDS for Oracle and RDS for + SQL Server DB instances only. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB instance. + + Valid Values: + + - `auto-backup` - The DB instance's automated backup. + """ + +@dataclass(kw_only=True) +class RestoreDBInstanceFromS3Output(_SerdeShape): + """Dataclass for RestoreDBInstanceFromS3Output structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreDBInstanceToPointInTimeInput(_SerdeShape): + """""" + + source_db_instance_identifier: str | None = ... + """ + The identifier of the source DB instance from which to restore. + + Constraints: + + - Must match the identifier of an existing DB instance. + """ + target_db_instance_identifier: str | None = ... + """ + The name of the new DB instance to create. + + Constraints: + + - Must contain from 1 to 63 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + """ + restore_time: datetime | None = ... + """ + The date and time to restore from. + + Constraints: + + - Must be a time in Universal Coordinated Time (UTC) format. + + - Must be before the latest restorable time for the DB instance. + + - Can't be specified if the `UseLatestRestorableTime` parameter is + enabled. + + Example: `2009-09-07T23:45:00Z` + """ + use_latest_restorable_time: bool | None = ... + """ + Specifies whether the DB instance is restored from the latest backup + time. By default, the DB instance isn't restored from the latest backup + time. + + Constraints: + + - Can't be specified if the `RestoreTime` parameter is provided. + """ + db_instance_class: str | None = ... + """ + The compute and memory capacity of the Amazon RDS DB instance, for + example db.m4.large. Not all DB instance classes are available in all + Amazon Web Services Regions, or for all database engines. For the full + list of DB instance classes, and availability for your engine, see [DB + Instance + Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the *Amazon RDS User Guide*. + + Default: The same DB instance class as the original DB instance. + """ + port: int | None = ... + """ + The port number on which the database accepts connections. + + Default: The same port as the original DB instance. + + Constraints: + + - The value must be `1150-65535`. + """ + availability_zone: str | None = ... + """ + The Availability Zone (AZ) where the DB instance will be created. + + Default: A random, system-chosen Availability Zone. + + Constraints: + + - You can't specify the `AvailabilityZone` parameter if the DB instance + is a Multi-AZ deployment. + + Example: `us-east-1a` + """ + db_subnet_group_name: str | None = ... + """ + The DB subnet group name to use for the new instance. + + Constraints: + + - If supplied, must match the name of an existing DB subnet group. + + Example: `mydbsubnetgroup` + """ + multi_az: bool | None = ... + """ + Secifies whether the DB instance is a Multi-AZ deployment. + + This setting doesn't apply to RDS Custom. + + Constraints: + + - You can't specify the `AvailabilityZone` parameter if the DB instance + is a Multi-AZ deployment. + """ + publicly_accessible: bool | None = ... + """ + Specifies whether the DB instance is publicly accessible. + + When the DB cluster is publicly accessible, its Domain Name System (DNS) + endpoint resolves to the private IP address from within the DB + cluster's virtual private cloud (VPC). It resolves to the public IP + address from outside of the DB cluster's VPC. Access to the DB cluster + is ultimately controlled by the security group it uses. That public + access isn't permitted if the security group assigned to the DB cluster + doesn't permit it. + + When the DB instance isn't publicly accessible, it is an internal DB + instance with a DNS name that resolves to a private IP address. + + For more information, see CreateDBInstance. + """ + auto_minor_version_upgrade: bool | None = ... + """ + Specifies whether minor version upgrades are applied automatically to + the DB instance during the maintenance window. + + This setting doesn't apply to RDS Custom. + + For more information about automatic minor version upgrades, see + [Automatically upgrading the minor engine + version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). + """ + license_model: str | None = ... + """ + The license model information for the restored DB instance. + + Note: + License models for RDS for Db2 require additional configuration. The + bring your own license (BYOL) model requires a custom parameter group + and an Amazon Web Services License Manager self-managed license. The Db2 + license through Amazon Web Services Marketplace model requires an Amazon + Web Services Marketplace subscription. For more information, see [Amazon + RDS for Db2 licensing + options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + + Valid Values: + + - RDS for Db2 - `bring-your-own-license | marketplace-license` + + - RDS for MariaDB - `general-public-license` + + - RDS for Microsoft SQL Server - + `license-included | bring-your-own-media` + + - RDS for MySQL - `general-public-license` + + - RDS for Oracle - `bring-your-own-license | license-included` + + - RDS for PostgreSQL - `postgresql-license` + + Default: Same as the source. + """ + db_name: str | None = ... + """ + The database name for the restored DB instance. + + This parameter doesn't apply to the following DB instances: + + - RDS Custom + + - RDS for Db2 + + - RDS for MariaDB + + - RDS for MySQL + """ + engine: str | None = ... + """ + The database engine to use for the new instance. + + This setting doesn't apply to RDS Custom. + + Valid Values: + + - `db2-ae` + + - `db2-ce` + + - `db2-se` + + - `mariadb` + + - `mysql` + + - `oracle-ee` + + - `oracle-ee-cdb` + + - `oracle-se2` + + - `oracle-se2-cdb` + + - `postgres` + + - `sqlserver-ee` + + - `sqlserver-se` + + - `sqlserver-ex` + + - `sqlserver-web` + + Default: The same as source + + Constraints: + + - Must be compatible with the engine of the source. + """ + iops: int | None = ... + """ + The amount of Provisioned IOPS (input/output operations per second) to + initially allocate for the DB instance. + + This setting doesn't apply to SQL Server. + + Constraints: + + - Must be an integer greater than 1000. + """ + storage_throughput: int | None = ... + """ + The storage throughput value for the DB instance. + + This setting doesn't apply to RDS Custom or Amazon Aurora. + """ + option_group_name: str | None = ... + """ + The name of the option group to use for the restored DB instance. + + Permanent options, such as the TDE option for Oracle Advanced Security + TDE, can't be removed from an option group, and that option group + can't be removed from a DB instance after it is associated with a DB + instance + + This setting doesn't apply to RDS Custom. + """ + copy_tags_to_snapshot: bool | None = ... + """ + Specifies whether to copy all tags from the restored DB instance to + snapshots of the DB instance. By default, tags are not copied. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + storage_type: str | None = ... + """ + The storage type to associate with the DB instance. + + Valid Values: `gp2 | gp3 | io1 | io2 | standard` + + Default: `io1`, if the `Iops` parameter is specified. Otherwise, `gp3`. + + Constraints: + + - If you specify `io1`, `io2`, or `gp3`, you must also include a value + for the `Iops` parameter. + """ + tde_credential_arn: str | None = ... + """ + The ARN from the key store with which to associate the instance for TDE + encryption. + + This setting doesn't apply to RDS Custom. + """ + tde_credential_password: str | None = ... + """ + The password for the given ARN from the key store in order to access the + device. + + This setting doesn't apply to RDS Custom. + """ + vpc_security_group_ids: list[str] | None = ... + """ + A list of EC2 VPC security groups to associate with this DB instance. + + Default: The default EC2 VPC security group for the DB subnet group's + VPC. + """ + domain: str | None = ... + """ + The Active Directory directory ID to restore the DB instance in. Create + the domain before running this command. Currently, you can create only + the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in + an Active Directory Domain. + + This setting doesn't apply to RDS Custom. + + For more information, see [Kerberos + Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + in the *Amazon RDS User Guide*. + """ + domain_iam_role_name: str | None = ... + """ + The name of the IAM role to use when making API calls to the Directory + Service. + + This setting doesn't apply to RDS Custom DB instances. + """ + domain_fqdn: str | None = ... + """ + The fully qualified domain name (FQDN) of an Active Directory domain. + + Constraints: + + - Can't be longer than 64 characters. + + Example: `mymanagedADtest.mymanagedAD.mydomain` + """ + domain_ou: str | None = ... + """ + The Active Directory organizational unit for your DB instance to join. + + Constraints: + + - Must be in the distinguished name format. + + - Can't be longer than 64 characters. + + Example: + `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` + """ + domain_auth_secret_arn: str | None = ... + """ + The ARN for the Secrets Manager secret with the credentials for the user + joining the domain. + + Constraints: + + - Can't be longer than 64 characters. + + Example: + `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` + """ + domain_dns_ips: list[str] | None = ... + """ + The IPv4 DNS IP addresses of your primary and secondary Active Directory + domain controllers. + + Constraints: + + - Two IP addresses must be provided. If there isn't a secondary domain + controller, use the IP address of the primary domain controller for + both entries in the list. + + Example: `123.124.125.126,234.235.236.237` + """ + enable_iam_database_authentication: bool | None = ... + """ + Specifies whether to enable mapping of Amazon Web Services Identity and + Access Management (IAM) accounts to database accounts. By default, + mapping isn't enabled. + + This setting doesn't apply to RDS Custom. + + For more information about IAM database authentication, see [IAM + Database Authentication for MySQL and + PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the *Amazon RDS User Guide.* + """ + enable_cloudwatch_logs_exports: list[str] | None = ... + """ + The list of logs that the restored DB instance is to export to + CloudWatch Logs. The values in the list depend on the DB engine being + used. For more information, see [Publishing Database Logs to Amazon + CloudWatch + Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom. + """ + processor_features: list[ProcessorFeature] | None = ... + """ + The number of CPU cores and the number of threads per core for the DB + instance class of the DB instance. + + This setting doesn't apply to RDS Custom. + """ + use_default_processor_features: bool | None = ... + """ + Specifies whether the DB instance class of the DB instance uses its + default processor features. + + This setting doesn't apply to RDS Custom. + """ + db_parameter_group_name: str | None = ... + """ + The name of the DB parameter group to associate with this DB instance. + + If you do not specify a value for `DBParameterGroupName`, then the + default `DBParameterGroup` for the specified DB engine is used. + + This setting doesn't apply to RDS Custom. + + Constraints: + + - If supplied, must match the name of an existing DB parameter group. + + - Must be 1 to 255 letters, numbers, or hyphens. + + - First character must be a letter. + + - Can't end with a hyphen or contain two consecutive hyphens. + """ + deletion_protection: bool | None = ... + """ + Specifies whether the DB instance has deletion protection enabled. The + database can't be deleted when deletion protection is enabled. By + default, deletion protection isn't enabled. For more information, see + [Deleting a DB + Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + """ + source_dbi_resource_id: str | None = ... + """The resource ID of the source DB instance from which to restore.""" + max_allocated_storage: int | None = ... + """ + The upper limit in gibibytes (GiB) to which Amazon RDS can automatically + scale the storage of the DB instance. + + For more information about this setting, including limitations that + apply to it, see [Managing capacity automatically with Amazon RDS + storage + autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to RDS Custom. + """ + enable_customer_owned_ip: bool | None = ... + """ + Specifies whether to enable a customer-owned IP address (CoIP) for an + RDS on Outposts DB instance. + + A *CoIP* provides local or external connectivity to resources in your + Outpost subnets through your on-premises network. For some use cases, a + CoIP can provide lower latency for connections to the DB instance from + outside of its virtual private cloud (VPC) on your local network. + + This setting doesn't apply to RDS Custom. + + For more information about RDS on Outposts, see [Working with Amazon RDS + on Amazon Web Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide*. + + For more information about CoIPs, see [Customer-owned IP + addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) + in the *Amazon Web Services Outposts User Guide*. + """ + network_type: str | None = ... + """ + The network type of the DB instance. + + The network type is determined by the `DBSubnetGroup` specified for the + DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the + IPv4 and the IPv6 protocols (`DUAL`). + + For more information, see [Working with a DB instance in a + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) + in the *Amazon RDS User Guide.* + + Valid Values: + + - `IPV4` + + - `DUAL` + """ + source_db_instance_automated_backups_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the replicated automated backups from + which to restore, for example, + `arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE`. + + This setting doesn't apply to RDS Custom. + """ + backup_target: str | None = ... + """ + The location for storing automated backups and manual snapshots for the + restored DB instance. + + Valid Values: + + - `local` (Dedicated Local Zone) + + - `outposts` (Amazon Web Services Outposts) + + - `region` (Amazon Web Services Region) + + Default: `region` + + For more information, see [Working with Amazon RDS on Amazon Web + Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide*. + """ + custom_iam_instance_profile: str | None = ... + """ + The instance profile associated with the underlying Amazon EC2 instance + of an RDS Custom DB instance. The instance profile must meet the + following requirements: + + - The profile must exist in your account. + + - The profile must have an IAM role that Amazon EC2 has permissions to + assume. + + - The instance profile name and the associated IAM role name must start + with the prefix `AWSRDSCustom`. + + For the list of permissions required for the IAM role, see [Configure + IAM and your + VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) + in the *Amazon RDS User Guide*. + + This setting is required for RDS Custom. + """ + allocated_storage: int | None = ... + """ + The amount of storage (in gibibytes) to allocate initially for the DB + instance. Follow the allocation rules specified in `CreateDBInstance`. + + This setting isn't valid for RDS for SQL Server. + + Note: + Be sure to allocate enough storage for your new DB instance so that the + restore operation can succeed. You can also allocate additional storage + for future growth. + """ + backup_retention_period: int | None = ... + """ + The number of days to retain automated backups. Setting this parameter + to a positive number enables backups. Setting this parameter to 0 + disables automated backups. + + Note: + Enabling and disabling backups can result in a brief I/O suspension that + lasts from a few seconds to a few minutes, depending on the size and + class of your DB instance. + + This setting doesn't apply to Amazon Aurora DB instances. The retention + period for automated backups is managed by the DB cluster. For more + information, see `ModifyDBCluster`. + + Default: Uses existing setting + + Constraints: + + - Must be a value from 0 to 35. + + - Can't be set to 0 if the DB instance is a source to read replicas. + + - Can't be set to 0 for an RDS Custom for Oracle DB instance. + """ + preferred_backup_window: str | None = ... + """ + The daily time range during which automated backups are created if + automated backups are enabled, as determined by the + `BackupRetentionPeriod` parameter. Changing this parameter doesn't + result in an outage and the change is asynchronously applied as soon as + possible. The default is a 30-minute window selected at random from an + 8-hour block of time for each Amazon Web Services Region. For more + information, see [Backup + window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) + in the *Amazon RDS User Guide*. + + This setting doesn't apply to Amazon Aurora DB instances. The daily + time range for creating automated backups is managed by the DB cluster. + For more information, see `ModifyDBCluster`. + + Constraints: + + - Must be in the format `hh24:mi-hh24:mi`. + + - Must be in Universal Coordinated Time (UTC). + + - Must not conflict with the preferred maintenance window. + + - Must be at least 30 minutes. + """ + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation to associate + with this DB instance. You can specify the identifier, which has the + prefix `dbcr-`, or the reservation name. When you specify this + parameter, the DB instance uses reserved capacity from the specified + reservation. + + If you specify `AvailabilityZone`, Amazon RDS places the DB instance in + that Availability Zone, and the reservation must cover it. + + Constraints: + + - The reservation must reserve capacity for the DB instance class and + the database engine of the DB instance. + + - If the reservation reserves capacity for a specific license model, the + license model of the DB instance must match it. + + - The reservation must be in the `active` state, and it must not be past + its end date. + + - If you specify `AvailabilityZone`, it must be one of the Availability + Zones of the reservation. + + - For a Multi-AZ DB instance, the reservation must cover two or more + Availability Zones. A Multi-AZ DB instance uses one unit of reserved + capacity in each of two Availability Zones. If the reservation covers + more than two Availability Zones, Amazon RDS chooses the two that the + DB instance uses. + + - The reservation must have available capacity in each Availability Zone + that the DB instance uses. + + - The DB subnet group must be in a VPC with default tenancy. + + - The DB subnet group must cover each Availability Zone that the DB + instance uses. + """ + dedicated_log_volume: bool | None = ... + """ + Specifies whether to enable a dedicated log volume (DLV) for the DB + instance. + """ + ca_certificate_identifier: str | None = ... + """ + The CA certificate identifier to use for the DB instance's server + certificate. + + This setting doesn't apply to RDS Custom DB instances. + + For more information, see [Using SSL/TLS to encrypt a connection to a DB + instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a + connection to a DB + cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) + in the *Amazon Aurora User Guide*. + """ + engine_lifecycle_support: str | None = ... + """ + The lifecycle type for this DB instance. + + Note: + By default, this value is set to `open-source-rds-extended-support`, + which enrolls your DB instance into Amazon RDS Extended Support. At the + end of standard support, you can avoid charges for Extended Support by + setting the value to `open-source-rds-extended-support-disabled`. In + this case, RDS automatically upgrades your restored DB instance to a + higher engine version, if the major engine version is past its end of + standard support date. + + You can use this setting to enroll your DB instance into Amazon RDS + Extended Support. With RDS Extended Support, you can run the selected + major engine version on your DB instance past the end of standard + support for that engine version. For more information, see [Amazon RDS + Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide*. + + This setting applies only to RDS for MySQL and RDS for PostgreSQL. For + Amazon Aurora DB instances, the engine lifecycle support is managed by + the DB cluster. + + Valid Values: + `open-source-rds-extended-support | open-source-rds-extended-support-disabled` + + Default: `open-source-rds-extended-support` + """ + additional_storage_volumes: list[AdditionalStorageVolume] | None = ... + """ + A list of additional storage volumes to restore to the DB instance. You + can restore up to three additional storage volumes using the names + `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage volumes + are supported for RDS for Oracle and RDS for SQL Server DB instances + only. + """ + tag_specifications: list[TagSpecification] | None = ... + """ + Tags to assign to resources associated with the DB instance. + + Valid Values: + + - `auto-backup` - The DB instance's automated backup. + """ + manage_master_user_password: bool | None = ... + """ + Specifies whether to manage the master user password with Amazon Web + Services Secrets Manager in the restored DB instance. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide*. + + Constraints: + + - Applies to RDS for Oracle only. + """ + master_user_secret_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier to encrypt a secret that is + automatically generated and managed in Amazon Web Services Secrets + Manager. + + This setting is valid only if the master user password is managed by RDS + in Amazon Web Services Secrets Manager for the DB instance. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. To use a KMS key in a different + Amazon Web Services account, specify the key ARN or alias ARN. + + If you don't specify `MasterUserSecretKmsKeyId`, then the + `aws/secretsmanager` KMS key is used to encrypt the secret. If the + secret is in a different Amazon Web Services account, then you can't + use the `aws/secretsmanager` KMS key to encrypt the secret, and you must + use a customer managed KMS key. + + There is a default KMS key for your Amazon Web Services account. Your + Amazon Web Services account has a different default KMS key for each + Amazon Web Services Region. + """ + +@dataclass(kw_only=True) +class RestoreDBInstanceToPointInTimeOutput(_SerdeShape): + """Dataclass for RestoreDBInstanceToPointInTimeOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreWindow(_SerdeShape): + """Earliest and latest time an instance can be restored to:""" + + earliest_time: datetime | None = ... + """The earliest time you can restore an instance to.""" + latest_time: datetime | None = ... + """The latest time you can restore an instance to.""" + +@dataclass(kw_only=True) +class RevokeDBSecurityGroupIngressInput(_SerdeShape): + """""" + + db_security_group_name: str | None = ... + """The name of the DB security group to revoke ingress from.""" + cidrip: str | None = ... + """ + The IP range to revoke access from. Must be a valid CIDR range. If + `CIDRIP` is specified, `EC2SecurityGroupName`, `EC2SecurityGroupId` and + `EC2SecurityGroupOwnerId` can't be provided. + """ + ec2_security_group_name: str | None = ... + """ + The name of the EC2 security group to revoke access from. For VPC DB + security groups, `EC2SecurityGroupId` must be provided. Otherwise, + EC2SecurityGroupOwnerId and either `EC2SecurityGroupName` or + `EC2SecurityGroupId` must be provided. + """ + ec2_security_group_id: str | None = ... + """ + The id of the EC2 security group to revoke access from. For VPC DB + security groups, `EC2SecurityGroupId` must be provided. Otherwise, + EC2SecurityGroupOwnerId and either `EC2SecurityGroupName` or + `EC2SecurityGroupId` must be provided. + """ + ec2_security_group_owner_id: str | None = ... + """ + The Amazon Web Services account number of the owner of the EC2 security + group specified in the `EC2SecurityGroupName` parameter. The Amazon Web + Services access key ID isn't an acceptable value. For VPC DB security + groups, `EC2SecurityGroupId` must be provided. Otherwise, + EC2SecurityGroupOwnerId and either `EC2SecurityGroupName` or + `EC2SecurityGroupId` must be provided. + """ + +@dataclass(kw_only=True) +class RevokeDBSecurityGroupIngressOutput(_SerdeShape): + """Dataclass for RevokeDBSecurityGroupIngressOutput structure.""" + + db_security_group: DBSecurityGroup | None = ... + """ + Contains the details for an Amazon RDS DB security group. + + This data type is used as a response element in the + `DescribeDBSecurityGroups` action. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ScalarReferenceDetails(_SerdeShape): + """The metric reference details when the reference is a scalar.""" + + value: float | None = ... + """The value of a scalar reference.""" + +@dataclass(kw_only=True) +class ScalingConfiguration(_SerdeShape): + """ + Contains the scaling configuration of an Aurora Serverless v1 DB + cluster. + + For more information, see [Using Amazon Aurora Serverless + v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) + in the *Amazon Aurora User Guide*. + """ + + min_capacity: int | None = ... + """ + The minimum capacity for an Aurora DB cluster in `serverless` DB engine + mode. + + For Aurora MySQL, valid capacity values are `1`, `2`, `4`, `8`, `16`, + `32`, `64`, `128`, and `256`. + + For Aurora PostgreSQL, valid capacity values are `2`, `4`, `8`, `16`, + `32`, `64`, `192`, and `384`. + + The minimum capacity must be less than or equal to the maximum capacity. + """ + max_capacity: int | None = ... + """ + The maximum capacity for an Aurora DB cluster in `serverless` DB engine + mode. + + For Aurora MySQL, valid capacity values are `1`, `2`, `4`, `8`, `16`, + `32`, `64`, `128`, and `256`. + + For Aurora PostgreSQL, valid capacity values are `2`, `4`, `8`, `16`, + `32`, `64`, `192`, and `384`. + + The maximum capacity must be greater than or equal to the minimum + capacity. + """ + auto_pause: bool | None = ... + """ + Indicates whether to allow or disallow automatic pause for an Aurora DB + cluster in `serverless` DB engine mode. A DB cluster can be paused only + when it's idle (it has no connections). + + Note: + If a DB cluster is paused for more than seven days, the DB cluster might + be backed up with a snapshot. In this case, the DB cluster is restored + when there is a request to connect to it. + """ + seconds_until_auto_pause: int | None = ... + """ + The time, in seconds, before an Aurora DB cluster in `serverless` mode + is paused. + + Specify a value between 300 and 86,400 seconds. + """ + timeout_action: str | None = ... + """ + The action to take when the timeout is reached, either + `ForceApplyCapacityChange` or `RollbackCapacityChange`. + + `ForceApplyCapacityChange` sets the capacity to the specified value as + soon as possible. + + `RollbackCapacityChange`, the default, ignores the capacity change if a + scaling point isn't found in the timeout period. + + Warning: + If you specify `ForceApplyCapacityChange`, connections that prevent + Aurora Serverless v1 from finding a scaling point might be dropped. + + For more information, see [Autoscaling for Aurora Serverless + v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.auto-scaling) + in the *Amazon Aurora User Guide*. + """ + seconds_before_timeout: int | None = ... + """ + The amount of time, in seconds, that Aurora Serverless v1 tries to find + a scaling point to perform seamless scaling before enforcing the timeout + action. The default is 300. + + Specify a value between 60 and 600 seconds. + """ + +@dataclass(kw_only=True) +class ScalingConfigurationInfo(_SerdeShape): + """ + The scaling configuration for an Aurora DB cluster in `serverless` DB + engine mode. + + For more information, see [Using Amazon Aurora Serverless + v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) + in the *Amazon Aurora User Guide*. + """ + + min_capacity: int | None = ... + """ + The minimum capacity for an Aurora DB cluster in `serverless` DB engine + mode. + """ + max_capacity: int | None = ... + """ + The maximum capacity for an Aurora DB cluster in `serverless` DB engine + mode. + """ + auto_pause: bool | None = ... + """ + Indicates whether automatic pause is allowed for the Aurora DB cluster + in `serverless` DB engine mode. + + When the value is set to false for an Aurora Serverless v1 DB cluster, + the DB cluster automatically resumes. + """ + seconds_until_auto_pause: int | None = ... + """ + The remaining amount of time, in seconds, before the Aurora DB cluster + in `serverless` mode is paused. A DB cluster can be paused only when + it's idle (it has no connections). + """ + timeout_action: str | None = ... + """ + The action that occurs when Aurora times out while attempting to change + the capacity of an Aurora Serverless v1 cluster. The value is either + `ForceApplyCapacityChange` or `RollbackCapacityChange`. + + `ForceApplyCapacityChange`, the default, sets the capacity to the + specified value as soon as possible. + + `RollbackCapacityChange` ignores the capacity change if a scaling point + isn't found in the timeout period. + """ + seconds_before_timeout: int | None = ... + """ + The number of seconds before scaling times out. What happens when an + attempted scaling action times out is determined by the `TimeoutAction` + setting. + """ + +@dataclass(kw_only=True) +class ServerlessV2FeaturesSupport(_SerdeShape): + """ + Specifies any Aurora Serverless v2 properties or limits that differ + between Aurora engine versions and platform versions. You can test the + values of this attribute when deciding which Aurora version to use in a + new or upgraded DB cluster. You can also retrieve the version of an + existing DB cluster and check whether that version supports certain + Aurora Serverless v2 features before you attempt to use those features. + """ + + min_capacity: float | None = ... + """ + If the minimum capacity is 0 ACUs, the engine version or platform + version supports the automatic pause/resume feature of Aurora Serverless + v2. + """ + max_capacity: float | None = ... + """ + Specifies the upper Aurora Serverless v2 capacity limit for a particular + engine version or platform version. Depending on the engine version, the + maximum capacity for an Aurora Serverless v2 cluster might be `256` or + `128`. + """ + +@dataclass(kw_only=True) +class ServerlessV2PlatformVersionInfo(_SerdeShape): + """ + This data type is used as a response element in the action + `DescribeServerlessV2PlatformVersions`. + """ + + serverless_v2_platform_version: str | None = ... + """The version number of the serverless platform.""" + serverless_v2_platform_version_description: str | None = ... + """The description of the serverless platform.""" + engine: str | None = ... + """The name of the database engine.""" + serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... + """ + Specifies any Aurora Serverless v2 properties or limits that differ + between Aurora Serverless v2 platform versions. You can retrieve the + platform version of an existing DB cluster and check whether that + version supports certain Aurora Serverless v2 features before you + attempt to use those features. + """ + status: str | None = ... + """ + The status of the serverless platform. Valid statuses are the following: + + - `enabled` - The platform version is in use. + + - `disabled` - The platform version is not in use. + """ + is_default: bool | None = ... + """ + Indicates whether this platform version is the default version for the + engine. The default platform version is the version used for new DB + clusters. + """ + +@dataclass(kw_only=True) +class ServerlessV2ScalingConfiguration(_SerdeShape): + """ + Contains the scaling configuration of an Aurora Serverless v2 DB + cluster. + + For more information, see [Using Amazon Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the *Amazon Aurora User Guide*. + """ + + min_capacity: float | None = ... + """ + The minimum number of Aurora capacity units (ACUs) for a DB instance in + an Aurora Serverless v2 cluster. You can specify ACU values in half-step + increments, such as 8, 8.5, 9, and so on. For Aurora versions that + support the Aurora Serverless v2 auto-pause feature, the smallest value + that you can use is 0. For versions that don't support Aurora + Serverless v2 auto-pause, the smallest value that you can use is 0.5. + """ + max_capacity: float | None = ... + """ + The maximum number of Aurora capacity units (ACUs) for a DB instance in + an Aurora Serverless v2 cluster. You can specify ACU values in half-step + increments, such as 32, 32.5, 33, and so on. The largest value that you + can use is 256 for recent Aurora versions, or 128 for older versions. + You can check the attributes of your engine version or platform version + to determine the specific maximum capacity supported. + """ + seconds_until_auto_pause: int | None = ... + """ + Specifies the number of seconds an Aurora Serverless v2 DB instance must + be idle before Aurora attempts to automatically pause it. + + Specify a value between 300 seconds (five minutes) and 86,400 seconds + (one day). The default is 300 seconds. + """ + +@dataclass(kw_only=True) +class ServerlessV2ScalingConfigurationInfo(_SerdeShape): + """ + The scaling configuration for an Aurora Serverless v2 DB cluster. + + For more information, see [Using Amazon Aurora Serverless + v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) + in the *Amazon Aurora User Guide*. + """ + + min_capacity: float | None = ... + """ + The minimum number of Aurora capacity units (ACUs) for a DB instance in + an Aurora Serverless v2 cluster. You can specify ACU values in half-step + increments, such as 8, 8.5, 9, and so on. For Aurora versions that + support the Aurora Serverless v2 auto-pause feature, the smallest value + that you can use is 0. For versions that don't support Aurora + Serverless v2 auto-pause, the smallest value that you can use is 0.5. + """ + max_capacity: float | None = ... + """ + The maximum number of Aurora capacity units (ACUs) for a DB instance in + an Aurora Serverless v2 cluster. You can specify ACU values in half-step + increments, such as 32, 32.5, 33, and so on. The largest value that you + can use is 256 for recent Aurora versions, or 128 for older versions. + You can check the attributes of your engine version or platform version + to determine the specific maximum capacity supported. + """ + seconds_until_auto_pause: int | None = ... + """ + The number of seconds an Aurora Serverless v2 DB instance must be idle + before Aurora attempts to automatically pause it. This property is only + shown when the minimum capacity for the cluster is set to 0 ACUs. + Changing the minimum capacity to a nonzero value removes this property. + If you later change the minimum capacity back to 0 ACUs, this property + is reset to its default value unless you specify it again. + + This value ranges between 300 seconds (five minutes) and 86,400 seconds + (one day). The default is 300 seconds. + """ + +@dataclass(kw_only=True) +class SharedSnapshotQuotaExceededFault(ServiceError, _SerdeShape): + """ + You have exceeded the maximum number of accounts that you can share a + manual DB snapshot with. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SnapshotQuotaExceededFault(ServiceError, _SerdeShape): + """ + The request would result in the user exceeding the allowed number of DB + snapshots. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SNSInvalidTopicFault(ServiceError, _SerdeShape): + """SNS has responded that there is a problem with the SNS topic specified.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SNSNoAuthorizationFault(ServiceError, _SerdeShape): + """You do not have permission to publish to the SNS topic ARN.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SNSTopicArnNotFoundFault(ServiceError, _SerdeShape): + """The SNS topic ARN does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SourceClusterNotSupportedFault(ServiceError, _SerdeShape): + """The source DB cluster isn't supported for a blue/green deployment.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SourceDatabaseNotSupportedFault(ServiceError, _SerdeShape): + """The source DB instance isn't supported for a blue/green deployment.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SourceNotFoundFault(ServiceError, _SerdeShape): + """The requested source could not be found.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SourceRegion(_SerdeShape): + """ + Contains an Amazon Web Services Region name as the result of a + successful call to the `DescribeSourceRegions` action. + """ + + region_name: str | None = ... + """The name of the source Amazon Web Services Region.""" + endpoint: str | None = ... + """The endpoint for the source Amazon Web Services Region endpoint.""" + status: str | None = ... + """The status of the source Amazon Web Services Region.""" + supports_db_instance_automated_backups_replication: bool | None = ... + """ + Indicates whether the source Amazon Web Services Region supports + replicating automated backups to the current Amazon Web Services Region. + """ + +class SourceType(UnknownEnumMixin, StrEnum): + DB_INSTANCE = "db-instance" + DB_PARAMETER_GROUP = "db-parameter-group" + DB_SECURITY_GROUP = "db-security-group" + DB_SNAPSHOT = "db-snapshot" + DB_CLUSTER = "db-cluster" + DB_CLUSTER_SNAPSHOT = "db-cluster-snapshot" + CUSTOM_ENGINE_VERSION = "custom-engine-version" + DB_PROXY = "db-proxy" + BLUE_GREEN_DEPLOYMENT = "blue-green-deployment" + DB_SHARD_GROUP = "db-shard-group" + ZERO_ETL = "zero-etl" + +@dataclass(kw_only=True) +class StartActivityStreamInput(_SerdeShape): + """Dataclass for StartActivityStreamInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the DB cluster, for example, + `arn:aws:rds:us-east-1:12345667890:cluster:das-cluster`. + """ + mode: str | None = ... + """ + Specifies the mode of the database activity stream. Database events such + as a change or access generate an activity stream event. The database + session can handle these events either synchronously or asynchronously. + """ + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encrypting messages in + the database activity stream. The Amazon Web Services KMS key identifier + is the key ARN, key ID, alias ARN, or alias name for the KMS key. + """ + apply_immediately: bool | None = ... + """ + Specifies whether or not the database activity stream is to start as + soon as possible, regardless of the maintenance window for the database. + """ + engine_native_audit_fields_included: bool | None = ... + """ + Specifies whether the database activity stream includes engine-native + audit fields. This option applies to an Oracle or Microsoft SQL Server + DB instance. By default, no engine-native audit fields are included. + """ + +@dataclass(kw_only=True) +class StartActivityStreamOutput(_SerdeShape): + """Dataclass for StartActivityStreamOutput structure.""" + + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of messages in + the database activity stream. + """ + kinesis_stream_name: str | None = ... + """ + The name of the Amazon Kinesis data stream to be used for the database + activity stream. + """ + status: str | None = ... + """The status of the database activity stream.""" + mode: str | None = ... + """The mode of the database activity stream.""" + engine_native_audit_fields_included: bool | None = ... + """ + Indicates whether engine-native audit fields are included in the + database activity stream. + """ + apply_immediately: bool | None = ... + """ + Indicates whether or not the database activity stream will start as soon + as possible, regardless of the maintenance window for the database. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartDBClusterInput(_SerdeShape): + """Dataclass for StartDBClusterInput structure.""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the Amazon Aurora DB cluster to be started. + This parameter is stored as a lowercase string. + """ + +@dataclass(kw_only=True) +class StartDBClusterOutput(_SerdeShape): + """Dataclass for StartDBClusterOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartDBInstanceAutomatedBackupsReplicationInput(_SerdeShape): + """Dataclass for StartDBInstanceAutomatedBackupsReplicationInput structure.""" + + source_db_instance_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the source DB instance for the + replicated automated backups, for example, + `arn:aws:rds:us-west-2:123456789012:db:mydatabase`. + """ + backup_retention_period: int | None = ... + """The retention period for the replicated automated backups.""" + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of the + replicated automated backups. The KMS key ID is the Amazon Resource Name + (ARN) for the KMS encryption key in the destination Amazon Web Services + Region, for example, + `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE`. + """ + pre_signed_url: str | None = ... + """ + In an Amazon Web Services GovCloud (US) Region, an URL that contains a + Signature Version 4 signed request for the + `StartDBInstanceAutomatedBackupsReplication` operation to call in the + Amazon Web Services Region of the source DB instance. The presigned URL + must be a valid request for the + `StartDBInstanceAutomatedBackupsReplication` API operation that can run + in the Amazon Web Services Region that contains the source DB instance. + + This setting applies only to Amazon Web Services GovCloud (US) Regions. + It's ignored in other Amazon Web Services Regions. + + To learn how to generate a Signature Version 4 signed request, see + [Authenticating Requests: Using Query Parameters (Amazon Web Services + Signature Version + 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + and [Signature Version 4 Signing + Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). + + Note: + If you are using an Amazon Web Services SDK tool or the CLI, you can + specify `SourceRegion` (or `--source-region` for the CLI) instead of + specifying `PreSignedUrl` manually. Specifying `SourceRegion` + autogenerates a presigned URL that is a valid request for the operation + that can run in the source Amazon Web Services Region. + """ + tags: list[Tag] | None = ... + """A list of tags to associate with the replicated automated backups.""" + +@dataclass(kw_only=True) +class StartDBInstanceAutomatedBackupsReplicationOutput(_SerdeShape): + """ + Dataclass for StartDBInstanceAutomatedBackupsReplicationOutput + structure. + """ + + db_instance_automated_backup: DBInstanceAutomatedBackup | None = ... + """ + An automated backup of a DB instance. It consists of system backups, + transaction logs, and the database instance properties that existed at + the time you deleted the source instance. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartDBInstanceInput(_SerdeShape): + """Dataclass for StartDBInstanceInput structure.""" + + db_instance_identifier: str | None = ... + """The user-supplied instance identifier.""" + db_capacity_reservation_identifier: str | None = ... + """ + The identifier or the name of the DB capacity reservation for the DB + instance to use after it starts. You can specify the identifier, which + has the prefix `dbcr-`, or the reservation name. + + Specify this parameter when the DB instance stopped using a reservation, + or when you want the DB instance to use a different reservation. + + If you omit this parameter, and the DB instance kept a DB capacity + reservation when it stopped, Amazon RDS starts the DB instance in that + reservation. + + If that reservation is deleted, ended, or cancelled, the DB instance + still starts. Amazon RDS starts the DB instance outside the reservation, + on unreserved capacity, and it charges on-demand prices for the DB + instance. + + If that reservation has no available capacity in the Availability Zone + of the DB instance, the request fails. Amazon RDS doesn't start the DB + instance, and it doesn't wait for capacity in that Availability Zone. + Specify a reservation that has available capacity in that Availability + Zone, or retry the request after the reservation has available capacity. + + Constraints: + + - The reservation must be in the `active` state. + + - The reservation must reserve capacity for the DB instance class and + the engine of the DB instance. + + - The reservation must cover the Availability Zone of the DB instance, + and it must have available capacity in that Availability Zone. + """ + +@dataclass(kw_only=True) +class StartDBInstanceOutput(_SerdeShape): + """Dataclass for StartDBInstanceOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StartExportTaskInput(_SerdeShape): + """Dataclass for StartExportTaskInput structure.""" + + export_task_identifier: str | None = ... + """ + A unique identifier for the export task. This ID isn't an identifier + for the Amazon S3 bucket where the data is to be exported. + """ + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the snapshot or cluster to export to + Amazon S3. + """ + s3_bucket_name: str | None = ... + """ + The name of the Amazon S3 bucket to export the snapshot or cluster data + to. + """ + iam_role_arn: str | None = ... + """ + The name of the IAM role to use for writing to the Amazon S3 bucket when + exporting a snapshot or cluster. + + In the IAM policy attached to your IAM role, include the following + required actions to allow the transfer of files from Amazon RDS or + Amazon Aurora to an S3 bucket: + + - s3:PutObject* + + - s3:GetObject* + + - s3:ListBucket + + - s3:DeleteObject* + + - s3:GetBucketLocation + + In the policy, include the resources to identify the S3 bucket and + objects in the bucket. The following list of resources shows the Amazon + Resource Name (ARN) format for accessing S3: + + - `arn:aws:s3:::`*`your-s3-bucket`*` ` + + - `arn:aws:s3:::`*`your-s3-bucket`*`/*` + """ + kms_key_id: str | None = ... + """ + The ID of the Amazon Web Services KMS key to use to encrypt the data + exported to Amazon S3. The Amazon Web Services KMS key identifier is the + key ARN, key ID, alias ARN, or alias name for the KMS key. The caller of + this operation must be authorized to run the following operations. These + can be set in the Amazon Web Services KMS key policy: + + - kms:CreateGrant + + - kms:DescribeKey + """ + s3_prefix: str | None = ... + """ + The Amazon S3 bucket prefix to use as the file name and path of the + exported data. + """ + export_only: list[str] | None = ... + """ + The data to be exported from the snapshot or cluster. If this parameter + isn't provided, all of the data is exported. + + Valid Values: + + - `database` - Export all the data from a specified database. + + - `database.table` *table-name* - Export a table of the snapshot or + cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, + and Aurora MySQL. + + - `database.schema` *schema-name* - Export a database schema of the + snapshot or cluster. This format is valid only for RDS for PostgreSQL + and Aurora PostgreSQL. + + - `database.schema.table` *table-name* - Export a table of the database + schema. This format is valid only for RDS for PostgreSQL and Aurora + PostgreSQL. + """ + +@dataclass(kw_only=True) +class StartExportTaskOutput(_SerdeShape): + """ + Contains the details of a snapshot or cluster export to Amazon S3. + + This data type is used as a response element in the + `DescribeExportTasks` operation. + """ + + export_task_identifier: str | None = ... + """ + A unique identifier for the snapshot or cluster export task. This ID + isn't an identifier for the Amazon S3 bucket where the data is + exported. + """ + source_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the snapshot or cluster exported to + Amazon S3. + """ + export_only: list[str] | None = ... + """ + The data exported from the snapshot or cluster. + + Valid Values: + + - `database` - Export all the data from a specified database. + + - `database.table` *table-name* - Export a table of the snapshot or + cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, + and Aurora MySQL. + + - `database.schema` *schema-name* - Export a database schema of the + snapshot or cluster. This format is valid only for RDS for PostgreSQL + and Aurora PostgreSQL. + + - `database.schema.table` *table-name* - Export a table of the database + schema. This format is valid only for RDS for PostgreSQL and Aurora + PostgreSQL. + """ + snapshot_time: datetime | None = ... + """The time when the snapshot was created.""" + task_start_time: datetime | None = ... + """The time when the snapshot or cluster export task started.""" + task_end_time: datetime | None = ... + """The time when the snapshot or cluster export task ended.""" + s3_bucket: str | None = ... + """The Amazon S3 bucket where the snapshot or cluster is exported to.""" + s3_prefix: str | None = ... + """ + The Amazon S3 bucket prefix that is the file name and path of the + exported data. + """ + iam_role_arn: str | None = ... + """ + The name of the IAM role that is used to write to Amazon S3 when + exporting a snapshot or cluster. + """ + kms_key_id: str | None = ... + """ + The key identifier of the Amazon Web Services KMS key that is used to + encrypt the data when it's exported to Amazon S3. The KMS key + identifier is its key ARN, key ID, alias ARN, or alias name. The IAM + role used for the export must have encryption and decryption permissions + to use this KMS key. + """ + status: str | None = ... + """ + The progress status of the export task. The status can be one of the + following: + + - `CANCELED` + + - `CANCELING` + + - `COMPLETE` + + - `FAILED` + + - `IN_PROGRESS` + + - `STARTING` + """ + percent_progress: int | None = ... + """The progress of the snapshot or cluster export task as a percentage.""" + total_extracted_data_in_gb: int | None = ... + """The total amount of data exported, in gigabytes.""" + failure_cause: str | None = ... + """The reason the export failed, if it failed.""" + warning_message: str | None = ... + """A warning about the snapshot or cluster export task.""" + source_type: str | None = ... + """The type of source for the export.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopActivityStreamInput(_SerdeShape): + """Dataclass for StopActivityStreamInput structure.""" + + resource_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the DB cluster for the database + activity stream. For example, + `arn:aws:rds:us-east-1:12345667890:cluster:das-cluster`. + """ + apply_immediately: bool | None = ... + """ + Specifies whether or not the database activity stream is to stop as soon + as possible, regardless of the maintenance window for the database. + """ + +@dataclass(kw_only=True) +class StopActivityStreamOutput(_SerdeShape): + """Dataclass for StopActivityStreamOutput structure.""" + + kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier used for encrypting messages + in the database activity stream. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + """ + kinesis_stream_name: str | None = ... + """ + The name of the Amazon Kinesis data stream used for the database + activity stream. + """ + status: str | None = ... + """The status of the database activity stream.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopDBClusterInput(_SerdeShape): + """Dataclass for StopDBClusterInput structure.""" + + db_cluster_identifier: str | None = ... + """ + The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. + This parameter is stored as a lowercase string. + """ + +@dataclass(kw_only=True) +class StopDBClusterOutput(_SerdeShape): + """Dataclass for StopDBClusterOutput structure.""" + + db_cluster: DBCluster | None = ... + """ + Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB + cluster. + + For an Amazon Aurora DB cluster, this data type is used as a response + element in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, + `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, + `StartDBCluster`, and `StopDBCluster`. + + For a Multi-AZ DB cluster, this data type is used as a response element + in the operations `CreateDBCluster`, `DeleteDBCluster`, + `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, + `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and + `RestoreDBClusterToPointInTime`. + + For more information on Amazon Aurora DB clusters, see [What is Amazon + Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) + in the *Amazon Aurora User Guide.* + + For more information on Multi-AZ DB clusters, see [Multi-AZ deployments + with two readable standby DB + instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) + in the *Amazon RDS User Guide.* + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopDBInstanceAutomatedBackupsReplicationInput(_SerdeShape): + """Dataclass for StopDBInstanceAutomatedBackupsReplicationInput structure.""" + + source_db_instance_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the source DB instance for which to + stop replicating automate backups, for example, + `arn:aws:rds:us-west-2:123456789012:db:mydatabase`. + """ + +@dataclass(kw_only=True) +class StopDBInstanceAutomatedBackupsReplicationOutput(_SerdeShape): + """Dataclass for StopDBInstanceAutomatedBackupsReplicationOutput structure.""" + + db_instance_automated_backup: DBInstanceAutomatedBackup | None = ... + """ + An automated backup of a DB instance. It consists of system backups, + transaction logs, and the database instance properties that existed at + the time you deleted the source instance. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StopDBInstanceInput(_SerdeShape): + """Dataclass for StopDBInstanceInput structure.""" + + db_instance_identifier: str | None = ... + """The user-supplied instance identifier.""" + db_snapshot_identifier: str | None = ... + """ + The user-supplied instance identifier of the DB Snapshot created + immediately before the DB instance is stopped. + """ + detach_from_db_capacity_reservation: bool | None = ... + """ + Specifies whether the DB instance stops using its DB capacity + reservation when the DB instance stops. When you specify `true`, the DB + instance belongs to no reservation after it stops, and a later start + launches it outside the reservation. + + By default, a stopped DB instance keeps its DB capacity reservation, and + a later start returns the DB instance to the same reservation. + + Every stop releases the unit of reserved capacity that the DB instance + holds, for either value of this parameter. Another DB instance can then + use that capacity. This parameter controls the reservation that the DB + instance belongs to, and it does not control the release of the + capacity. + + If the DB instance uses no DB capacity reservation, this parameter has + no effect. + + Warning: + Amazon RDS holds no capacity for a stopped DB instance. When the + reservation has no available capacity in the Availability Zone of the DB + instance, a later start waits for capacity in that Availability Zone. + When the DB instance belongs to no reservation, a later start can fail + because the Amazon Web Services Region has insufficient capacity for the + DB instance class. + """ + +@dataclass(kw_only=True) +class StopDBInstanceOutput(_SerdeShape): + """Dataclass for StopDBInstanceOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class StorageEncryptionType(UnknownEnumMixin, StrEnum): + UNENCRYPTED = "none" + CMK = "sse-kms" + SSE = "sse-rds" + +@dataclass(kw_only=True) +class StorageQuotaExceededFault(ServiceError, _SerdeShape): + """ + The request would result in the user exceeding the allowed amount of + storage available across all DB instances. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StorageTypeNotAvailableFault(ServiceError, _SerdeShape): + """ + The `aurora-iopt1` storage type isn't available, because you modified + the DB cluster to use this storage type less than one month ago. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class StorageTypeNotSupportedFault(ServiceError, _SerdeShape): + """The specified `StorageType` can't be associated with the DB instance.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Subnet(_SerdeShape): + """ + This data type is used as a response element for the + `DescribeDBSubnetGroups` operation. + """ + + subnet_identifier: str | None = ... + """The identifier of the subnet.""" + subnet_availability_zone: AvailabilityZone | None = ... + """ + Contains Availability Zone information. + + This data type is used as an element in the `OrderableDBInstanceOption` + data type. + """ + subnet_outpost: Outpost | None = ... + """ + If the subnet is associated with an Outpost, this value specifies the + Outpost. + + For more information about RDS on Outposts, see [Amazon RDS on Amazon + Web Services + Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the *Amazon RDS User Guide.* + """ + subnet_status: str | None = ... + """The status of the subnet.""" + +@dataclass(kw_only=True) +class SubnetAlreadyInUse(ServiceError, _SerdeShape): + """The DB subnet is already in use in the Availability Zone.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SubscriptionAlreadyExistFault(ServiceError, _SerdeShape): + """The supplied subscription name already exists.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SubscriptionCategoryNotFoundFault(ServiceError, _SerdeShape): + """The supplied category does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SubscriptionNotFoundFault(ServiceError, _SerdeShape): + """The subscription name does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SupportedEngineLifecycle(_SerdeShape): + """ + This data type is used as a response element in the operation + `DescribeDBMajorEngineVersions`. + + You can use the information that this data type returns to plan for + upgrades. + + This data type only returns information for the open source engines + Amazon RDS for MariaDB, Amazon RDS for MySQL, Amazon RDS for PostgreSQL, + Aurora MySQL, and Aurora PostgreSQL. + """ + + lifecycle_support_name: str | None = ... + """ + The type of lifecycle support that the engine version is in. + + This parameter returns the following values: + + - `open-source-rds-standard-support` - Indicates RDS standard support or + Aurora standard support. + + - `open-source-rds-extended-support` - Indicates Amazon RDS Extended + Support. + + For Amazon RDS for MySQL, Amazon RDS for PostgreSQL, Aurora MySQL, and + Aurora PostgreSQL, this parameter returns both + `open-source-rds-standard-support` and + `open-source-rds-extended-support`. + + For Amazon RDS for MariaDB, this parameter only returns the value + `open-source-rds-standard-support`. + + For information about Amazon RDS Extended Support, see [Amazon RDS + Extended Support with Amazon + RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) + in the *Amazon RDS User Guide* and [Amazon RDS Extended Support with + Amazon + Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) + in the *Amazon Aurora User Guide*. + """ + lifecycle_support_start_date: datetime | None = ... + """ + The start date for the type of support returned by + `LifecycleSupportName`. + """ + lifecycle_support_end_date: datetime | None = ... + """The end date for the type of support returned by `LifecycleSupportName`.""" + +@dataclass(kw_only=True) +class SwitchoverBlueGreenDeploymentInput(_SerdeShape): + """Dataclass for SwitchoverBlueGreenDeploymentInput structure.""" + + blue_green_deployment_identifier: str | None = ... + """ + The resource ID of the blue/green deployment. + + Constraints: + + - Must match an existing blue/green deployment resource ID. + """ + switchover_timeout: int | None = ... + """ + The amount of time, in seconds, for the switchover to complete. + + Default: 300 + + If the switchover takes longer than the specified duration, then any + changes are rolled back, and no changes are made to the environments. + """ + +@dataclass(kw_only=True) +class SwitchoverBlueGreenDeploymentOutput(_SerdeShape): + """Dataclass for SwitchoverBlueGreenDeploymentOutput structure.""" + + blue_green_deployment: BlueGreenDeployment | None = ... + """ + Details about a blue/green deployment. + + For more information, see [Using Amazon RDS Blue/Green Deployments for + database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) + in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green + Deployments for database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) + in the *Amazon Aurora User Guide*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SwitchoverDetail(_SerdeShape): + """ + Contains the details about a blue/green deployment. + + For more information, see [Using Amazon RDS Blue/Green Deployments for + database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) + in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green + Deployments for database + updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) + in the *Amazon Aurora User Guide*. + """ + + source_member: str | None = ... + """The Amazon Resource Name (ARN) of a resource in the blue environment.""" + target_member: str | None = ... + """The Amazon Resource Name (ARN) of a resource in the green environment.""" + status: str | None = ... + """ + The switchover status of a resource in a blue/green deployment. + + Values: + + - `PROVISIONING` - The resource is being prepared to switch over. + + - `AVAILABLE` - The resource is ready to switch over. + + - `SWITCHOVER_IN_PROGRESS` - The resource is being switched over. + + - `SWITCHOVER_COMPLETED` - The resource has been switched over. + + - `SWITCHOVER_FAILED` - The resource attempted to switch over but + failed. + + - `MISSING_SOURCE` - The source resource has been deleted. + + - `MISSING_TARGET` - The target resource has been deleted. + """ + +@dataclass(kw_only=True) +class SwitchoverGlobalClusterInput(_SerdeShape): + """Dataclass for SwitchoverGlobalClusterInput structure.""" + + global_cluster_identifier: str | None = ... + """ + The identifier of the global database cluster to switch over. This + parameter isn't case-sensitive. + + Constraints: + + - Must match the identifier of an existing global database cluster + (Aurora global database). + """ + target_db_cluster_identifier: str | None = ... + """ + The identifier of the secondary Aurora DB cluster to promote to the new + primary for the global database cluster. Use the Amazon Resource Name + (ARN) for the identifier so that Aurora can locate the cluster in its + Amazon Web Services Region. + """ + +@dataclass(kw_only=True) +class SwitchoverGlobalClusterOutput(_SerdeShape): + """Dataclass for SwitchoverGlobalClusterOutput structure.""" + + global_cluster: GlobalCluster | None = ... + """A data type representing an Aurora global database.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SwitchoverReadReplicaInput(_SerdeShape): + """Dataclass for SwitchoverReadReplicaInput structure.""" + + db_instance_identifier: str | None = ... + """ + The DB instance identifier of the current standby database. This value + is stored as a lowercase string. + + Constraints: + + - Must match the identifier of an existing Oracle read replica DB + instance. + """ + +@dataclass(kw_only=True) +class SwitchoverReadReplicaOutput(_SerdeShape): + """Dataclass for SwitchoverReadReplicaOutput structure.""" + + db_instance: DBInstance | None = ... + """ + Contains the details of an Amazon RDS DB instance. + + This data type is used as a response element in the operations + `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, + `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, + `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, + `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, + `StartDBInstance`, and `StopDBInstance`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """ + Metadata assigned to an Amazon RDS resource consisting of a key-value + pair. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + + key: str | None = ... + """ + A key is the required name of the tag. The string value can be from 1 to + 128 Unicode characters in length and can't be prefixed with `aws:` or + `rds:`. The string can only contain only the set of Unicode letters, + digits, white-space, '_', '.', ':', '/', '=', '+', '-', + '@' (Java regex: + \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\"). + """ + value: str | None = ... + """ + A value is the optional value of the tag. The string value can be from 1 + to 256 Unicode characters in length and can't be prefixed with `aws:` + or `rds:`. The string can only contain only the set of Unicode letters, + digits, white-space, '_', '.', ':', '/', '=', '+', '-', + '@' (Java regex: + \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\"). + """ + +@dataclass(kw_only=True) +class TagSpecification(_SerdeShape): + """ + The tags to apply to resources when creating or modifying a DB instance + or DB cluster, or when copying a DB instance snapshot. When you specify + a tag, you must specify the resource type to tag, otherwise the request + will fail. + """ + + resource_type: str | None = ... + """ + The type of resource to tag on creation. + + Valid Values: + + - `auto-backup` - The DB instance's automated backup. + + - `cluster-auto-backup` - The DB cluster's automated backup. + + - `og` - The copied option group. Valid only for `CopyDBSnapshot`. + """ + tags: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +class TargetConnectionNetworkType(UnknownEnumMixin, StrEnum): + IPV4 = "IPV4" + IPV6 = "IPV6" + +@dataclass(kw_only=True) +class TargetHealth(_SerdeShape): + """Information about the connection health of an RDS Proxy target.""" + + state: str | None = ... + """ + The current state of the connection health lifecycle for the RDS Proxy + target. The following is a typical lifecycle example for the states of + an RDS Proxy target: + + `registering` > `unavailable` > `available` > `unavailable` > + `available` + """ + reason: str | None = ... + """The reason for the current health `State` of the RDS Proxy target.""" + description: str | None = ... + """ + A description of the health of the RDS Proxy target. If the `State` is + `AVAILABLE`, a description is not included. + """ + +class TargetHealthReason(UnknownEnumMixin, StrEnum): + UNREACHABLE = "UNREACHABLE" + CONNECTION_FAILED = "CONNECTION_FAILED" + AUTH_FAILURE = "AUTH_FAILURE" + PENDING_PROXY_CAPACITY = "PENDING_PROXY_CAPACITY" + INVALID_REPLICATION_STATE = "INVALID_REPLICATION_STATE" + PROMOTED = "PROMOTED" + +@dataclass(kw_only=True) +class TargetResourceConfiguration(_SerdeShape): + """ + The configuration for a single resource in the green environment of a + blue/green deployment. + + Use `SourceArn` to identify a resource in the blue environment. Amazon + RDS creates the corresponding resource in the green environment using + this configuration. + + This data type is a request parameter of the `CreateBlueGreenDeployment` + operation. + """ + + source_arn: str + """ + The Amazon Resource Name (ARN) of the DB cluster or DB instance in the + blue environment to which this configuration applies. + """ + target_kms_key_id: str | None = ... + """ + The Amazon Web Services KMS key identifier for encryption of the + corresponding resource in the green environment. + + The Amazon Web Services KMS key identifier is the key ARN, key ID, alias + ARN, or alias name for the KMS key. + + Specify this setting in either of the following cases: + + - You want the green resource to use a different KMS key than the blue + resource. + + - The blue resource is unencrypted and you want to encrypt the green + resource. + + For Aurora, encryption applies at the DB cluster level. Specify a DB + cluster ARN in `SourceArn`. All DB instances in that cluster use the + same KMS key. + + For RDS, encryption applies at the DB instance level. Specify a DB + instance ARN in `SourceArn`. To encrypt read replicas, include a + separate entry for each one. Each entry can specify a different KMS key. + """ + +class TargetRole(UnknownEnumMixin, StrEnum): + READ_WRITE = "READ_WRITE" + READ_ONLY = "READ_ONLY" + UNKNOWN = "UNKNOWN" + +class TargetState(UnknownEnumMixin, StrEnum): + REGISTERING = "REGISTERING" + AVAILABLE = "AVAILABLE" + UNAVAILABLE = "UNAVAILABLE" + UNUSED = "UNUSED" + +class TargetType(UnknownEnumMixin, StrEnum): + RDS_INSTANCE = "RDS_INSTANCE" + RDS_SERVERLESS_ENDPOINT = "RDS_SERVERLESS_ENDPOINT" + TRACKED_CLUSTER = "TRACKED_CLUSTER" + +@dataclass(kw_only=True) +class TenantDatabase(_SerdeShape): + """ + A tenant database in the DB instance. This data type is an element in + the response to the `DescribeTenantDatabases` action. + """ + + tenant_database_create_time: datetime | None = ... + """The creation time of the tenant database.""" + db_instance_identifier: str | None = ... + """The ID of the DB instance that contains the tenant database.""" + tenant_db_name: str | None = ... + """The database name of the tenant database.""" + status: str | None = ... + """The status of the tenant database.""" + master_username: str | None = ... + """The master username of the tenant database.""" + dbi_resource_id: str | None = ... + """ + The Amazon Web Services Region-unique, immutable identifier for the DB + instance. + """ + tenant_database_resource_id: str | None = ... + """ + The Amazon Web Services Region-unique, immutable identifier for the + tenant database. + """ + tenant_database_arn: str | None = ... + """The Amazon Resource Name (ARN) for the tenant database.""" + character_set_name: str | None = ... + """The character set of the tenant database.""" + nchar_character_set_name: str | None = ... + """The `NCHAR` character set name of the tenant database.""" + deletion_protection: bool | None = ... + """Specifies whether deletion protection is enabled for the DB instance.""" + pending_modified_values: TenantDatabasePendingModifiedValues | None = ... + """Information about pending changes for a tenant database.""" + master_user_secret: MasterUserSecret | None = ... + """ + Contains the secret managed by RDS in Amazon Web Services Secrets + Manager for the master user password. + + For more information, see [Password management with Amazon Web Services + Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) + in the *Amazon RDS User Guide* and [Password management with Amazon Web + Services Secrets + Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) + in the *Amazon Aurora User Guide.* + """ + tag_list: list[Tag] | None = ... + """ + A list of tags. + + For more information, see [Tagging Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) + in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS + resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) + in the *Amazon Aurora User Guide*. + """ + +@dataclass(kw_only=True) +class TenantDatabaseAlreadyExistsFault(ServiceError, _SerdeShape): + """ + You attempted to either create a tenant database that already exists or + modify a tenant database to use the name of an existing tenant database. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TenantDatabaseNotFoundFault(ServiceError, _SerdeShape): + """The specified tenant database wasn't found in the DB instance.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TenantDatabasePendingModifiedValues(_SerdeShape): + """ + A response element in the `ModifyTenantDatabase` operation that + describes changes that will be applied. Specific changes are identified + by subelements. + """ + + master_user_password: str | None = ... + """The master password for the tenant database.""" + tenant_db_name: str | None = ... + """The name of the tenant database.""" + +@dataclass(kw_only=True) +class TenantDatabaseQuotaExceededFault(ServiceError, _SerdeShape): + """ + You attempted to create more tenant databases than are permitted in your + Amazon Web Services account. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Timezone(_SerdeShape): + """ + A time zone associated with a `DBInstance` or a `DBSnapshot`. This data + type is an element in the response to the `DescribeDBInstances`, the + `DescribeDBSnapshots`, and the `DescribeDBEngineVersions` actions. + """ + + timezone_name: str | None = ... + """The name of the time zone.""" + +@dataclass(kw_only=True) +class UnsupportedDBEngineVersionFault(ServiceError, _SerdeShape): + """ + The specified DB engine version isn't supported for Aurora Limitless + Database. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class UpgradeRolloutOrder(UnknownEnumMixin, StrEnum): + FIRST = "first" + SECOND = "second" + LAST = "last" + +@dataclass(kw_only=True) +class UpgradeTarget(_SerdeShape): + """ + The version of the database engine that a DB instance can be upgraded + to. + """ + + engine: str | None = ... + """The name of the upgrade target database engine.""" + engine_version: str | None = ... + """The version number of the upgrade target database engine.""" + description: str | None = ... + """ + The version of the database engine that a DB instance can be upgraded + to. + """ + auto_upgrade: bool | None = ... + """ + Indicates whether the target version is applied to any source DB + instances that have `AutoMinorVersionUpgrade` set to true. + + This parameter is dynamic, and is set by RDS. + """ + is_major_version_upgrade: bool | None = ... + """ + Indicates whether upgrading to the target version requires upgrading the + major version of the database engine. + """ + supported_engine_modes: list[str] | None = ... + """A list of the supported DB engine modes for the target engine version.""" + supports_parallel_query: bool | None = ... + """ + Indicates whether you can use Aurora parallel query with the target + engine version. + """ + supports_global_databases: bool | None = ... + """ + Indicates whether you can use Aurora global databases with the target + engine version. + """ + supports_babelfish: bool | None = ... + """ + Indicates whether you can use Babelfish for Aurora PostgreSQL with the + target engine version. + """ + supports_limitless_database: bool | None = ... + """ + Indicates whether the DB engine version supports Aurora Limitless + Database. + """ + supports_local_write_forwarding: bool | None = ... + """ + Indicates whether the target engine version supports forwarding write + operations from reader DB instances to the writer DB instance in the DB + cluster. By default, write operations aren't allowed on reader DB + instances. + + Valid for: Aurora DB clusters only + """ + supports_integrations: bool | None = ... + """ + Indicates whether the DB engine version supports zero-ETL integrations + with Amazon Redshift. + """ + +@dataclass(kw_only=True) +class UserAuthConfig(_SerdeShape): + """ + Specifies the details of authentication used by a proxy to log in as a + specific database user. + """ + + description: str | None = ... + """ + A user-specified description about the authentication used by a proxy to + log in as a specific database user. + """ + user_name: str | None = ... + """The name of the database user to which the proxy connects.""" + auth_scheme: str | None = ... + """ + The type of authentication that the proxy uses for connections from the + proxy to the underlying database. + """ + secret_arn: str | None = ... + """ + The Amazon Resource Name (ARN) representing the secret that the proxy + uses to authenticate to the RDS DB instance or Aurora DB cluster. These + secrets are stored within Amazon Secrets Manager. + """ + iam_auth: str | None = ... + """ + A value that indicates whether to require or disallow Amazon Web + Services Identity and Access Management (IAM) authentication for + connections to the proxy. The `ENABLED` value is valid only for proxies + with RDS for Microsoft SQL Server. + """ + client_password_auth_type: str | None = ... + """ + The type of authentication the proxy uses for connections from clients. + The following values are defaults for the corresponding engines: + + - RDS for MySQL: `MYSQL_CACHING_SHA2_PASSWORD` + + - RDS for SQL Server: `SQL_SERVER_AUTHENTICATION` + + - RDS for PostgreSQL: `POSTGRES_SCRAM_SHA2_256` + """ + +@dataclass(kw_only=True) +class UserAuthConfigInfo(_SerdeShape): + """ + Returns the details of authentication used by a proxy to log in as a + specific database user. + """ + + description: str | None = ... + """ + A user-specified description about the authentication used by a proxy to + log in as a specific database user. + """ + user_name: str | None = ... + """The name of the database user to which the proxy connects.""" + auth_scheme: str | None = ... + """ + The type of authentication that the proxy uses for connections from the + proxy to the underlying database. + """ + secret_arn: str | None = ... + """ + The Amazon Resource Name (ARN) representing the secret that the proxy + uses to authenticate to the RDS DB instance or Aurora DB cluster. These + secrets are stored within Amazon Secrets Manager. + """ + iam_auth: str | None = ... + """ + Whether to require or disallow Amazon Web Services Identity and Access + Management (IAM) authentication for connections to the proxy. + """ + client_password_auth_type: str | None = ... + """The type of authentication the proxy uses for connections from clients.""" + +@dataclass(kw_only=True) +class ValidAdditionalStorageOptions(_SerdeShape): + """ + Contains the valid options for additional storage volumes for a DB + instance. + """ + + supports_additional_storage_volumes: bool | None = ... + """Indicates whether the DB instance supports additional storage volumes.""" + volumes: list[ValidVolumeOptions] | None = ... + """The valid additional storage volume options for the DB instance.""" + +@dataclass(kw_only=True) +class ValidDBInstanceModificationsMessage(_SerdeShape): + """ + Information about valid modifications that you can make to your DB + instance. Contains the result of a successful call to the + `DescribeValidDBInstanceModifications` action. You can use this + information when you call `ModifyDBInstance`. + """ + + storage: list[ValidStorageOptions] | None = ... + """Valid storage options for your DB instance.""" + valid_processor_features: list[AvailableProcessorFeature] | None = ... + """Valid processor features for your DB instance.""" + supports_dedicated_log_volume: bool | None = ... + """ + Indicates whether a DB instance supports using a dedicated log volume + (DLV). + """ + additional_storage: ValidAdditionalStorageOptions | None = ... + """The valid additional storage options for the DB instance.""" + +@dataclass(kw_only=True) +class ValidStorageOptions(_SerdeShape): + """ + Information about valid modifications that you can make to your DB + instance. Contains the result of a successful call to the + `DescribeValidDBInstanceModifications` action. + """ + + storage_type: str | None = ... + """ + The valid storage types for your DB instance. For example: gp2, gp3, + io1, io2. + """ + storage_size: list[Range] | None = ... + """ + The valid range of storage in gibibytes (GiB). For example, 100 to + 16,384. + """ + provisioned_iops: list[Range] | None = ... + """The valid range of provisioned IOPS. For example, 1000-256,000.""" + iops_to_storage_ratio: list[DoubleRange] | None = ... + """ + The valid range of Provisioned IOPS to gibibytes of storage multiplier. + For example, 3-10, which means that provisioned IOPS can be between 3 + and 10 times storage. + """ + provisioned_storage_throughput: list[Range] | None = ... + """ + The valid range of provisioned storage throughput. For example, + 500-4,000 mebibytes per second (MiBps). + """ + storage_throughput_to_iops_ratio: list[DoubleRange] | None = ... + """ + The valid range of storage throughput to provisioned IOPS ratios. For + example, 0-0.25. + """ + supports_storage_autoscaling: bool | None = ... + """ + Indicates whether or not Amazon RDS can automatically scale storage for + DB instances that use the new instance class. + """ + +@dataclass(kw_only=True) +class ValidVolumeOptions(_SerdeShape): + """Contains the valid options for an additional storage volume.""" + + volume_name: str | None = ... + """The name of the additional storage volume.""" + storage: list[ValidStorageOptions] | None = ... + """The valid storage options for the additional storage volume.""" + +@dataclass(kw_only=True) +class VpcEncryptionControlViolationException(ServiceError, _SerdeShape): + """ + The operation violates VPC encryption control settings. Make sure that + your DB instance type supports the Nitro encryption-in-transit + capability, or modify your VPC's encryption controls to not enforce + encryption-in-transit. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class VpcSecurityGroupMembership(_SerdeShape): + """ + This data type is used as a response element for queries on VPC security + group membership. + """ + + vpc_security_group_id: str | None = ... + """The name of the VPC security group.""" + status: str | None = ... + """ + The membership status of the VPC security group. + + Currently, the only valid status is `active`. + """ + +class WriteForwardingStatus(UnknownEnumMixin, StrEnum): + ENABLED = "enabled" + DISABLED = "disabled" + ENABLING = "enabling" + DISABLING = "disabling" + UNKNOWN = "unknown" diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas.py index 9b6ca4eb0..57016ca0e 100644 --- a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas.py +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas.py @@ -1,15937 +1,1063 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.rds" -_S = "String" -_L = "Long" -_AQ = "AccountQuota" -_AQN = "AccountQuotaName" -_U = "Used" -_M = "Max" -_AQL = "AccountQuotaList" -_m = "member" -_sN = "smithy.api#xmlName" -_ASM = "ActivityStreamMode" -_s = "sync" -_sV = "smithy.api#enumValue" -_a = "async" -_ASML = "ActivityStreamModeList" -_ASPS = "ActivityStreamPolicyStatus" -_l = "locked" -_u = "unlocked" -_lp = "locking_policy" -_lp_ = "locking-policy" -_up = "unlocking_policy" -_up_ = "unlocking-policy" -_ASS = "ActivityStreamStatus" -_st = "stopped" -_sta = "starting" -_star = "started" -_sto = "stopping" -_IO = "IntegerOptional" -_ASV = "AdditionalStorageVolume" -_VN = "VolumeName" -_sm = "smithy.api#required" -_AS = "AllocatedStorage" -_IOPS = "IOPS" -_MAS = "MaxAllocatedStorage" -_ST = "StorageThroughput" -_STt = "StorageType" -_I = "Integer" -_ASVO = "AdditionalStorageVolumeOutput" -_SVS = "StorageVolumeStatus" -_SOS = "StorageOperationStatus" -_SOPP = "StorageOperationPercentProgress" -_ASVL = "AdditionalStorageVolumesList" -_ASVOL = "AdditionalStorageVolumesOutputList" -_IAMRA = "IAMRoleArn" -_ARTDBCI = "AddRoleToDBClusterInput" -_sSI = "smithy.synthetic#originalShapeId" -_cARTDBCM = "com.amazonaws.rds#AddRoleToDBClusterMessage" -_smi = "smithy.api#input" -_DBCI = "DBClusterIdentifier" -_RA = "RoleArn" -_FN = "FeatureName" -_ARTDBCO = "AddRoleToDBClusterOutput" -_sU = "smithy.api#Unit" -_smit = "smithy.api#output" -_EM = "ExceptionMessage" -_DBCNFF = "DBClusterNotFoundFault" -_smith = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_me = "message" -_DBCRAEF = "DBClusterRoleAlreadyExistsFault" -_DBCRQEF = "DBClusterRoleQuotaExceededFault" -_IDBCSF = "InvalidDBClusterStateFault" -_ARTDBC = "AddRoleToDBCluster" -_ARTDBII = "AddRoleToDBInstanceInput" -_cARTDBIM = "com.amazonaws.rds#AddRoleToDBInstanceMessage" -_DBII = "DBInstanceIdentifier" -_ARTDBIO = "AddRoleToDBInstanceOutput" -_DBINFF = "DBInstanceNotFoundFault" -_DBIRAEF = "DBInstanceRoleAlreadyExistsFault" -_DBIRQEF = "DBInstanceRoleQuotaExceededFault" -_IDBISF = "InvalidDBInstanceStateFault" -_ARTDBI = "AddRoleToDBInstance" -_ASITSI = "AddSourceIdentifierToSubscriptionInput" -_cASITSM = "com.amazonaws.rds#AddSourceIdentifierToSubscriptionMessage" -_SN = "SubscriptionName" -_SI = "SourceIdentifier" -_B = "Boolean" -_ECL = "EventCategoriesList" -_EC = "EventCategory" -_SIL = "SourceIdsList" -_SIo = "SourceId" -_ES = "EventSubscription" -_CAI = "CustomerAwsId" -_CSI = "CustSubscriptionId" -_STA = "SnsTopicArn" -_St = "Status" -_SCT = "SubscriptionCreationTime" -_STo = "SourceType" -_E = "Enabled" -_ESA = "EventSubscriptionArn" -_ASITSO = "AddSourceIdentifierToSubscriptionOutput" -_cASITSR = "com.amazonaws.rds#AddSourceIdentifierToSubscriptionResult" -_SNFF = "SourceNotFoundFault" -_SNFFu = "SubscriptionNotFoundFault" -_ASITS = "AddSourceIdentifierToSubscription" -_T = "Tag" -_K = "Key" -_V = "Value" -_TL = "TagList" -_ATTRI = "AddTagsToResourceInput" -_cATTRM = "com.amazonaws.rds#AddTagsToResourceMessage" -_RN = "ResourceName" -_Ta = "Tags" -_ATTRO = "AddTagsToResourceOutput" -_BGDNFF = "BlueGreenDeploymentNotFoundFault" -_DBCRNFF = "DBCapacityReservationNotFoundFault" -_DBPENFF = "DBProxyEndpointNotFoundFault" -_DBPNFF = "DBProxyNotFoundFault" -_DBPTGNFF = "DBProxyTargetGroupNotFoundFault" -_DBSGNFF = "DBShardGroupNotFoundFault" -_DBSNFF = "DBSnapshotNotFoundFault" -_DBSTDNFF = "DBSnapshotTenantDatabaseNotFoundFault" -_INFF = "IntegrationNotFoundFault" -_IDBCESF = "InvalidDBClusterEndpointStateFault" -_TDNFF = "TenantDatabaseNotFoundFault" -_ATTR = "AddTagsToResource" -_APMAI = "ApplyPendingMaintenanceActionInput" -_cAPMAM = "com.amazonaws.rds#ApplyPendingMaintenanceActionMessage" -_RI = "ResourceIdentifier" -_AA = "ApplyAction" -_OIT = "OptInType" -_TS = "TStamp" -_PMA = "PendingMaintenanceAction" -_A = "Action" -_AAAD = "AutoAppliedAfterDate" -_FAD = "ForcedApplyDate" -_OIS = "OptInStatus" -_CAD = "CurrentApplyDate" -_D = "Description" -_PMAD = "PendingMaintenanceActionDetails" -_RPMA = "ResourcePendingMaintenanceActions" -_APMAO = "ApplyPendingMaintenanceActionOutput" -_cAPMAR = "com.amazonaws.rds#ApplyPendingMaintenanceActionResult" -_RNFF = "ResourceNotFoundFault" -_APMA = "ApplyPendingMaintenanceAction" -_AAEF = "AuthorizationAlreadyExistsFault" -_AQEF = "AuthorizationQuotaExceededFault" -_ADBSGII = "AuthorizeDBSecurityGroupIngressInput" -_cADBSGIM = "com.amazonaws.rds#AuthorizeDBSecurityGroupIngressMessage" -_DBSGN = "DBSecurityGroupName" -_CIDRIP = "CIDRIP" -_ECSGN = "EC2SecurityGroupName" -_ECSGI = "EC2SecurityGroupId" -_ECSGOI = "EC2SecurityGroupOwnerId" -_ECSG = "EC2SecurityGroup" -_ECSGL = "EC2SecurityGroupList" -_IPR = "IPRange" -_IPRL = "IPRangeList" -_DBSG = "DBSecurityGroup" -_OI = "OwnerId" -_DBSGD = "DBSecurityGroupDescription" -_VI = "VpcId" -_ECSGe = "EC2SecurityGroups" -_IPRa = "IPRanges" -_DBSGA = "DBSecurityGroupArn" -_ADBSGIO = "AuthorizeDBSecurityGroupIngressOutput" -_cADBSGIR = "com.amazonaws.rds#AuthorizeDBSecurityGroupIngressResult" -_DBSGNFFe = "DBSecurityGroupNotFoundFault" -_IDBSGSF = "InvalidDBSecurityGroupStateFault" -_ADBSGI = "AuthorizeDBSecurityGroupIngress" -_BO = "BooleanOptional" -_BDBCI = "BacktrackDBClusterInput" -_cBDBCM = "com.amazonaws.rds#BacktrackDBClusterMessage" -_BT = "BacktrackTo" -_F = "Force" -_UETOPITU = "UseEarliestTimeOnPointInTimeUnavailable" -_BDBCO = "BacktrackDBClusterOutput" -_cDBCB = "com.amazonaws.rds#DBClusterBacktrack" -_BI = "BacktrackIdentifier" -_BF = "BacktrackedFrom" -_BRCT = "BacktrackRequestCreationTime" -_BDBC = "BacktrackDBCluster" -_DBCRI = "DBCapacityReservationIdentifier" -_CDBCRI = "CancelDBCapacityReservationInput" -_cCDBCRR = "com.amazonaws.rds#CancelDBCapacityReservationRequest" -_ACPAZ = "AvailableCapacityPerAvailabilityZone" -_AZ = "AvailabilityZone" -_AC = "AvailableCapacity" -_ACPAZL = "AvailableCapacityPerAvailabilityZoneList" -_DBCRCI = "DBCapacityReservationCommitmentInfo" -_CCPAZ = "CommittedCapacityPerAvailabilityZone" -_CED = "CommitmentEndDate" -_DBCRN = "DBCapacityReservationName" -_DBIC = "DBInstanceClass" -_DBCRS = "DBCapacityReservationState" -_ac = "active" -_e = "expired" -_ca = "cancelled" -_p = "pending" -_f = "failed" -_as = "assessing" -_sc = "scheduled" -_d = "delayed" -_un = "unsupported" -_DBCR = "DBCapacityReservation" -_En = "Engine" -_LM = "LicenseModel" -_RCPAZ = "ReservedCapacityPerAvailabilityZone" -_ED = "EndDate" -_CD = "CreateDate" -_SD = "StartDate" -_CI = "CommitmentInfo" -_Sta = "State" -_DBCRA = "DBCapacityReservationArn" -_CDBCRO = "CancelDBCapacityReservationOutput" -_cCDBCRRo = "com.amazonaws.rds#CancelDBCapacityReservationResponse" -_IDBCRSF = "InvalidDBCapacityReservationStateFault" -_CDBCR = "CancelDBCapacityReservation" -_CETI = "CancelExportTaskInput" -_cCETM = "com.amazonaws.rds#CancelExportTaskMessage" -_ETI = "ExportTaskIdentifier" -_SL = "StringList" -_EST = "ExportSourceType" -_SNAPSHOT = "SNAPSHOT" -_CLUSTER = "CLUSTER" -_CETO = "CancelExportTaskOutput" -_cET = "com.amazonaws.rds#ExportTask" -_SA = "SourceArn" -_EO = "ExportOnly" -_STn = "SnapshotTime" -_TST = "TaskStartTime" -_TET = "TaskEndTime" -_SB = "S3Bucket" -_SP = "S3Prefix" -_IRA = "IamRoleArn" -_KKI = "KmsKeyId" -_PP = "PercentProgress" -_TEDIGB = "TotalExtractedDataInGB" -_FC = "FailureCause" -_WM = "WarningMessage" -_ETNFF = "ExportTaskNotFoundFault" -_IETSF = "InvalidExportTaskStateFault" -_CET = "CancelExportTask" -_CDBCPGI = "CopyDBClusterParameterGroupInput" -_cCDBCPGM = "com.amazonaws.rds#CopyDBClusterParameterGroupMessage" -_SDBCPGI = "SourceDBClusterParameterGroupIdentifier" -_TDBCPGI = "TargetDBClusterParameterGroupIdentifier" -_TDBCPGD = "TargetDBClusterParameterGroupDescription" -_DBCPG = "DBClusterParameterGroup" -_DBCPGN = "DBClusterParameterGroupName" -_DBPGF = "DBParameterGroupFamily" -_DBCPGA = "DBClusterParameterGroupArn" -_CDBCPGO = "CopyDBClusterParameterGroupOutput" -_cCDBCPGR = "com.amazonaws.rds#CopyDBClusterParameterGroupResult" -_DBPGAEF = "DBParameterGroupAlreadyExistsFault" -_DBPGNFF = "DBParameterGroupNotFoundFault" -_DBPGQEF = "DBParameterGroupQuotaExceededFault" -_CDBCPG = "CopyDBClusterParameterGroup" -_SS = "SensitiveString" -_smithy = "smithy.api#sensitive" -_CDBCSI = "CopyDBClusterSnapshotInput" -_cCDBCSM = "com.amazonaws.rds#CopyDBClusterSnapshotMessage" -_SDBCSI = "SourceDBClusterSnapshotIdentifier" -_TDBCSI = "TargetDBClusterSnapshotIdentifier" -_PSU = "PreSignedUrl" -_CT = "CopyTags" -_AZv = "AvailabilityZones" -_SET = "StorageEncryptionType" -_UNENCRYPTED = "UNENCRYPTED" -_n = "none" -_CMK = "CMK" -_sk = "sse-kms" -_SSE = "SSE" -_sr = "sse-rds" -_DBCS = "DBClusterSnapshot" -_DBCSI = "DBClusterSnapshotIdentifier" -_SCTn = "SnapshotCreateTime" -_EMn = "EngineMode" -_P = "Port" -_CCT = "ClusterCreateTime" -_MU = "MasterUsername" -_EV = "EngineVersion" -_STna = "SnapshotType" -_SE = "StorageEncrypted" -_BRP = "BackupRetentionPeriod" -_PBW = "PreferredBackupWindow" -_DBCSA = "DBClusterSnapshotArn" -_SDBCSA = "SourceDBClusterSnapshotArn" -_IAMDAE = "IAMDatabaseAuthenticationEnabled" -_DCRI = "DbClusterResourceId" -_DBSI = "DBSystemId" -_CDBCSO = "CopyDBClusterSnapshotOutput" -_cCDBCSR = "com.amazonaws.rds#CopyDBClusterSnapshotResult" -_DBCSAEF = "DBClusterSnapshotAlreadyExistsFault" -_DBCSNFF = "DBClusterSnapshotNotFoundFault" -_IDBCSSF = "InvalidDBClusterSnapshotStateFault" -_KMSKNAF = "KMSKeyNotAccessibleFault" -_SQEF = "SnapshotQuotaExceededFault" -_CDBCS = "CopyDBClusterSnapshot" -_CDBPGI = "CopyDBParameterGroupInput" -_cCDBPGM = "com.amazonaws.rds#CopyDBParameterGroupMessage" -_SDBPGI = "SourceDBParameterGroupIdentifier" -_TDBPGI = "TargetDBParameterGroupIdentifier" -_TDBPGD = "TargetDBParameterGroupDescription" -_DBPG = "DBParameterGroup" -_DBPGN = "DBParameterGroupName" -_DBPGA = "DBParameterGroupArn" -_CDBPGO = "CopyDBParameterGroupOutput" -_cCDBPGR = "com.amazonaws.rds#CopyDBParameterGroupResult" -_CDBPG = "CopyDBParameterGroup" -_TSa = "TagSpecification" -_RT = "ResourceType" -_TSL = "TagSpecificationList" -_i = "item" -_CDBSI = "CopyDBSnapshotInput" -_cCDBSM = "com.amazonaws.rds#CopyDBSnapshotMessage" -_SDBSI = "SourceDBSnapshotIdentifier" -_TDBSI = "TargetDBSnapshotIdentifier" -_OGN = "OptionGroupName" -_TCAZ = "TargetCustomAvailabilityZone" -_STnap = "SnapshotTarget" -_COG = "CopyOptionGroup" -_SAZ = "SnapshotAvailabilityZone" -_TSag = "TagSpecifications" -_LO = "LongOptional" -_PF = "ProcessorFeature" -_N = "Name" -_PFL = "ProcessorFeatureList" -_DBS = "DBSnapshot" -_DBSIn = "DBSnapshotIdentifier" -_ICT = "InstanceCreateTime" -_Io = "Iops" -_SR = "SourceRegion" -_TCA = "TdeCredentialArn" -_Enc = "Encrypted" -_DBSA = "DBSnapshotArn" -_Ti = "Timezone" -_PFr = "ProcessorFeatures" -_DRI = "DbiResourceId" -_OSCT = "OriginalSnapshotCreateTime" -_SDT = "SnapshotDatabaseTime" -_MT = "MultiTenant" -_DLV = "DedicatedLogVolume" -_ASVd = "AdditionalStorageVolumes" -_FSSIB = "FullSnapshotSizeInBytes" -_CDBSO = "CopyDBSnapshotOutput" -_cCDBSR = "com.amazonaws.rds#CopyDBSnapshotResult" -_CAZNFF = "CustomAvailabilityZoneNotFoundFault" -_DBSAEF = "DBSnapshotAlreadyExistsFault" -_IDBSSF = "InvalidDBSnapshotStateFault" -_CDBS = "CopyDBSnapshot" -_COGI = "CopyOptionGroupInput" -_cCOGM = "com.amazonaws.rds#CopyOptionGroupMessage" -_SOGI = "SourceOptionGroupIdentifier" -_TOGI = "TargetOptionGroupIdentifier" -_TOGD = "TargetOptionGroupDescription" -_DBSGM = "DBSecurityGroupMembership" -_DBSGML = "DBSecurityGroupMembershipList" -_PSOSV = "PotentiallySensitiveOptionSettingValue" -_OS = "OptionSetting" -_DV = "DefaultValue" -_AT = "ApplyType" -_DT = "DataType" -_AV = "AllowedValues" -_IM = "IsModifiable" -_IC = "IsCollection" -_OSCL = "OptionSettingConfigurationList" -_VSGM = "VpcSecurityGroupMembership" -_VSGI = "VpcSecurityGroupId" -_VSGML = "VpcSecurityGroupMembershipList" -_O = "Option" -_ON = "OptionName" -_OD = "OptionDescription" -_Pe = "Persistent" -_Per = "Permanent" -_OV = "OptionVersion" -_OSp = "OptionSettings" -_DBSGMe = "DBSecurityGroupMemberships" -_VSGMp = "VpcSecurityGroupMemberships" -_OL = "OptionsList" -_OG = "OptionGroup" -_OGD = "OptionGroupDescription" -_EN = "EngineName" -_MEV = "MajorEngineVersion" -_Op = "Options" -_AVANVIM = "AllowsVpcAndNonVpcInstanceMemberships" -_OGA = "OptionGroupArn" -_SOG = "SourceOptionGroup" -_SAI = "SourceAccountId" -_CTo = "CopyTimestamp" -_COGO = "CopyOptionGroupOutput" -_cCOGR = "com.amazonaws.rds#CopyOptionGroupResult" -_OGAEF = "OptionGroupAlreadyExistsFault" -_OGNFF = "OptionGroupNotFoundFault" -_OGQEF = "OptionGroupQuotaExceededFault" -_BGDAEF = "BlueGreenDeploymentAlreadyExistsFault" -_BGDN = "BlueGreenDeploymentName" -_DA = "DatabaseArn" -_TDBCPGN = "TargetDBClusterParameterGroupName" -_TDBIC = "TargetDBInstanceClass" -_TDBPGN = "TargetDBParameterGroupName" -_TEV = "TargetEngineVersion" -_DBACA = "DBAndClusterArn" -_KKIOA = "KmsKeyIdOrArn" -_TRC = "TargetResourceConfiguration" -_TKKI = "TargetKmsKeyId" -_TRCL = "TargetResourceConfigurationList" -_TSTa = "TargetStorageType" -_CBGDI = "CreateBlueGreenDeploymentInput" -_cCBGDR = "com.amazonaws.rds#CreateBlueGreenDeploymentRequest" -_So = "Source" -_UTSC = "UpgradeTargetStorageConfig" -_TI = "TargetIops" -_TAS = "TargetAllocatedStorage" -_TSTar = "TargetStorageThroughput" -_TRCa = "TargetResourceConfigurations" -_BGDI = "BlueGreenDeploymentIdentifier" -_BGDS = "BlueGreenDeploymentStatus" -_BGDSD = "BlueGreenDeploymentStatusDetails" -_SDS = "SwitchoverDetailStatus" -_SDw = "SwitchoverDetail" -_SM = "SourceMember" -_TM = "TargetMember" -_SDL = "SwitchoverDetailList" -_BGDTN = "BlueGreenDeploymentTaskName" -_BGDTS = "BlueGreenDeploymentTaskStatus" -_BGDT = "BlueGreenDeploymentTask" -_BGDTL = "BlueGreenDeploymentTaskList" -_BGD = "BlueGreenDeployment" -_Tar = "Target" -_SDwi = "SwitchoverDetails" -_Tas = "Tasks" -_SDt = "StatusDetails" -_CTr = "CreateTime" -_DTe = "DeleteTime" -_CBGDO = "CreateBlueGreenDeploymentOutput" -_cCBGDRo = "com.amazonaws.rds#CreateBlueGreenDeploymentResponse" -_DBCPGNFF = "DBClusterParameterGroupNotFoundFault" -_DBCQEF = "DBClusterQuotaExceededFault" -_IQEF = "InstanceQuotaExceededFault" -_SCNSF = "SourceClusterNotSupportedFault" -_SDNSF = "SourceDatabaseNotSupportedFault" -_SQEFt = "StorageQuotaExceededFault" -_CBGD = "CreateBlueGreenDeployment" -_CCDBEVF = "CreateCustomDBEngineVersionFault" -_BN = "BucketName" -_Str = "String255" -_CEN = "CustomEngineName" -_CEV = "CustomEngineVersion" -_CDBEVM = "CustomDBEngineVersionManifest" -_CCDBEVI = "CreateCustomDBEngineVersionInput" -_cCCDBEVM = "com.amazonaws.rds#CreateCustomDBEngineVersionMessage" -_DIFSBN = "DatabaseInstallationFilesS3BucketName" -_DIFSP = "DatabaseInstallationFilesS3Prefix" -_DIF = "DatabaseInstallationFiles" -_II = "ImageId" -_KMSKI = "KMSKeyId" -_SCDEVI = "SourceCustomDbEngineVersionIdentifier" -_UAPLI = "UseAwsProvidedLatestImage" -_Ma = "Manifest" -_CS = "CharacterSet" -_CSN = "CharacterSetName" -_CSD = "CharacterSetDescription" -_LTL = "LogTypeList" -_CDBEVAMI = "CustomDBEngineVersionAMI" -_DO = "DoubleOptional" -_SVFS = "ServerlessV2FeaturesSupport" -_MC = "MinCapacity" -_MCa = "MaxCapacity" -_CACIL = "CACertificateIdentifiersList" -_SCSL = "SupportedCharacterSetsList" -_EML = "EngineModeList" -_FNL = "FeatureNameList" -_TN = "TimezoneName" -_STL = "SupportedTimezonesList" -_UT = "UpgradeTarget" -_AU = "AutoUpgrade" -_IMVU = "IsMajorVersionUpgrade" -_SEM = "SupportedEngineModes" -_SPQ = "SupportsParallelQuery" -_SGD = "SupportsGlobalDatabases" -_SBu = "SupportsBabelfish" -_SLD = "SupportsLimitlessDatabase" -_SLWF = "SupportsLocalWriteForwarding" -_SIu = "SupportsIntegrations" -_VUTL = "ValidUpgradeTargetList" -_CCDBEVO = "CreateCustomDBEngineVersionOutput" -_cDBEV = "com.amazonaws.rds#DBEngineVersion" -_DBED = "DBEngineDescription" -_DBEVA = "DBEngineVersionArn" -_DBEVD = "DBEngineVersionDescription" -_DCS = "DefaultCharacterSet" -_FR = "FailureReason" -_Im = "Image" -_DBEMT = "DBEngineMediaType" -_SCS = "SupportedCharacterSets" -_SNCS = "SupportedNcharCharacterSets" -_VUT = "ValidUpgradeTarget" -_STu = "SupportedTimezones" -_ELT = "ExportableLogTypes" -_SLETCL = "SupportsLogExportsToCloudwatchLogs" -_SRR = "SupportsReadReplica" -_SFN = "SupportedFeatureNames" -_SCRWR = "SupportsCertificateRotationWithoutRestart" -_SCACI = "SupportedCACertificateIdentifiers" -_CDBEVAEF = "CustomDBEngineVersionAlreadyExistsFault" -_CDBEVNFF = "CustomDBEngineVersionNotFoundFault" -_CDBEVQEF = "CustomDBEngineVersionQuotaExceededFault" -_EIPNSF = "Ec2ImagePropertiesNotSupportedFault" -_ICDBEVSF = "InvalidCustomDBEngineVersionStateFault" -_CCDBEV = "CreateCustomDBEngineVersion" -_CDBCRIr = "CreateDBCapacityReservationInput" -_cCDBCRRom = "com.amazonaws.rds#CreateDBCapacityReservationRequest" -_CPAZ = "CapacityPerAvailabilityZone" -_CDo = "CommitmentDuration" -_CDBCROr = "CreateDBCapacityReservationOutput" -_cCDBCRRoma = "com.amazonaws.rds#CreateDBCapacityReservationResponse" -_DBCRAEFa = "DBCapacityReservationAlreadyExistsFault" -_DBCRUF = "DBCapacityReservationUnsupportedFault" -_IDBICF = "InsufficientDBInstanceCapacityFault" -_CDBCRr = "CreateDBCapacityReservation" -_DBCAR = "DBClusterAssociatedRole" -_DBCARl = "DBClusterAssociatedRoles" -_CST = "ClusterScalabilityType" -_STANDARD = "STANDARD" -_stan = "standard" -_LIMITLESS = "LIMITLESS" -_li = "limitless" -_DIM = "DatabaseInsightsMode" -_ADVANCED = "ADVANCED" -_ad = "advanced" -_GCI = "GlobalClusterIdentifier" -_MUAT = "MasterUserAuthenticationType" -_PASSWORD = "PASSWORD" -_pa = "password" -_IDA = "IAM_DB_AUTH" -_ida = "iam-db-auth" -_RM = "ReplicaMode" -_ORO = "OPEN_READ_ONLY" -_oro = "open-read-only" -_MOUNTED = "MOUNTED" -_mo = "mounted" -_RCCC = "RdsCustomClusterConfiguration" -_ISI = "InterconnectSubnetId" -_TGMDI = "TransitGatewayMulticastDomainId" -_SC = "ScalingConfiguration" -_AP = "AutoPause" -_SUAP = "SecondsUntilAutoPause" -_TA = "TimeoutAction" -_SBT = "SecondsBeforeTimeout" -_SVSC = "ServerlessV2ScalingConfiguration" -_VSGIL = "VpcSecurityGroupIdList" -_CDBCI = "CreateDBClusterInput" -_cCDBCM = "com.amazonaws.rds#CreateDBClusterMessage" -_DN = "DatabaseName" -_VSGIp = "VpcSecurityGroupIds" -_DBSGNu = "DBSubnetGroupName" -_MUP = "MasterUserPassword" -_PMW = "PreferredMaintenanceWindow" -_RSI = "ReplicationSourceIdentifier" -_EIAMDA = "EnableIAMDatabaseAuthentication" -_BW = "BacktrackWindow" -_ECLE = "EnableCloudwatchLogsExports" -_DBCIC = "DBClusterInstanceClass" -_PA = "PubliclyAccessible" -_AMVU = "AutoMinorVersionUpgrade" -_DP = "DeletionProtection" -_EHE = "EnableHttpEndpoint" -_CTTS = "CopyTagsToSnapshot" -_Do = "Domain" -_DIAMRN = "DomainIAMRoleName" -_EGWF = "EnableGlobalWriteForwarding" -_NT = "NetworkType" -_MI = "MonitoringInterval" -_MRA = "MonitoringRoleArn" -_EPI = "EnablePerformanceInsights" -_PIKMSKI = "PerformanceInsightsKMSKeyId" -_PIRP = "PerformanceInsightsRetentionPeriod" -_ELD = "EnableLimitlessDatabase" -_MMUP = "ManageMasterUserPassword" -_ELWF = "EnableLocalWriteForwarding" -_MUSKKI = "MasterUserSecretKmsKeyId" -_CACI = "CACertificateIdentifier" -_ELS = "EngineLifecycleSupport" -_WEC = "WithExpressConfiguration" -_AR = "AssociatedRoles" -_DBCRl = "DBClusterRole" -_DBCRlu = "DBClusterRoles" -_CDe = "CertificateDetails" -_CAId = "CAIdentifier" -_VT = "ValidTill" -_DBCM = "DBClusterMember" -_ICW = "IsClusterWriter" -_DBCPGS = "DBClusterParameterGroupStatus" -_PT = "PromotionTier" -_DBCML = "DBClusterMemberList" -_DBCOGS = "DBClusterOptionGroupStatus" -_DBCOGN = "DBClusterOptionGroupName" -_DBCOGM = "DBClusterOptionGroupMemberships" -_DBCOG = "DBClusterOptionGroup" -_DM = "DomainMembership" -_FQDN = "FQDN" -_IAMRN = "IAMRoleName" -_OU = "OU" -_ASA = "AuthSecretArn" -_DI = "DnsIps" -_DML = "DomainMembershipList" -_WFS = "WriteForwardingStatus" -_ENABLED = "ENABLED" -_en = "enabled" -_DISABLED = "DISABLED" -_di = "disabled" -_ENABLING = "ENABLING" -_ena = "enabling" -_DISABLING = "DISABLING" -_dis = "disabling" -_UNKNOWN = "UNKNOWN" -_unk = "unknown" -_LDS = "LimitlessDatabaseStatus" -_ACTIVE = "ACTIVE" -_NIU = "NOT_IN_USE" -_niu = "not-in-use" -_MMC = "MODIFYING_MAX_CAPACITY" -_mmc = "modifying-max-capacity" -_ERROR = "ERROR" -_er = "error" -_LD = "LimitlessDatabase" -_MRACU = "MinRequiredACU" -_LWFS = "LocalWriteForwardingStatus" -_REQUESTED = "REQUESTED" -_r = "requested" -_MUS = "MasterUserSecret" -_SAe = "SecretArn" -_SSe = "SecretStatus" -_PCLE = "PendingCloudwatchLogsExports" -_LTTE = "LogTypesToEnable" -_LTTD = "LogTypesToDisable" -_CPMV = "ClusterPendingModifiedValues" -_RRIL = "ReadReplicaIdentifierList" -_RRI = "ReadReplicaIdentifier" -_SCI = "ScalingConfigurationInfo" -_SVSCI = "ServerlessV2ScalingConfigurationInfo" -_DBCSIl = "DBClusterStatusInfo" -_STta = "StatusType" -_No = "Normal" -_Me = "Message" -_DBCSIL = "DBClusterStatusInfoList" -_URO = "UpgradeRolloutOrder" -_FIRST = "FIRST" -_fi = "first" -_SECOND = "SECOND" -_se = "second" -_LAST = "LAST" -_la = "last" -_DBC = "DBCluster" -_DBSGu = "DBSubnetGroup" -_ERT = "EarliestRestorableTime" -_End = "Endpoint" -_RE = "ReaderEndpoint" -_CE = "CustomEndpoints" -_MAZ = "MultiAZ" -_LRT = "LatestRestorableTime" -_RRIe = "ReadReplicaIdentifiers" -_SIt = "StatusInfos" -_DBCMl = "DBClusterMembers" -_VSG = "VpcSecurityGroups" -_HZI = "HostedZoneId" -_DBCA = "DBClusterArn" -_CGI = "CloneGroupId" -_EBT = "EarliestBacktrackTime" -_BCCR = "BacktrackConsumedChangeRecords" -_ECLEn = "EnabledCloudwatchLogsExports" -_C = "Capacity" -_PMV = "PendingModifiedValues" -_IOONAMT = "IOOptimizedNextAllowedModificationTime" -_HEE = "HttpEndpointEnabled" -_ASKKI = "ActivityStreamKmsKeyId" -_ASKSN = "ActivityStreamKinesisStreamName" -_CAC = "CrossAccountClone" -_DMo = "DomainMemberships" -_GWFS = "GlobalWriteForwardingStatus" -_GWFR = "GlobalWriteForwardingRequested" -_ART = "AutomaticRestartTime" -_SVPV = "ServerlessV2PlatformVersion" -_PIE = "PerformanceInsightsEnabled" -_ABRPA = "AwsBackupRecoveryPointArn" -_VPCNE = "VPCNetworkingEnabled" -_IAGE = "InternetAccessGatewayEnabled" -_CDBCO = "CreateDBClusterOutput" -_cCDBCR = "com.amazonaws.rds#CreateDBClusterResult" -_DBCAEF = "DBClusterAlreadyExistsFault" -_DBSGDNCEAZ = "DBSubnetGroupDoesNotCoverEnoughAZs" -_DBSGNFFu = "DBSubnetGroupNotFoundFault" -_DNFF = "DomainNotFoundFault" -_GCNFF = "GlobalClusterNotFoundFault" -_ISCCF = "InsufficientStorageClusterCapacityFault" -_IDBSGF = "InvalidDBSubnetGroupFault" -_IDBSGSFn = "InvalidDBSubnetGroupStateFault" -_IGCSF = "InvalidGlobalClusterStateFault" -_IS = "InvalidSubnet" -_IVPCNSF = "InvalidVPCNetworkStateFault" -_NTNS = "NetworkTypeNotSupported" -_STNSF = "StorageTypeNotSupportedFault" -_VECVE = "VpcEncryptionControlViolationException" -_CDBC = "CreateDBCluster" -_CDBCEI = "CreateDBClusterEndpointInput" -_cCDBCEM = "com.amazonaws.rds#CreateDBClusterEndpointMessage" -_DBCEI = "DBClusterEndpointIdentifier" -_ET = "EndpointType" -_SMt = "StaticMembers" -_EMx = "ExcludedMembers" -_CDBCEO = "CreateDBClusterEndpointOutput" -_cDBCE = "com.amazonaws.rds#DBClusterEndpoint" -_DBCERI = "DBClusterEndpointResourceIdentifier" -_CETu = "CustomEndpointType" -_DBCEA = "DBClusterEndpointArn" -_DBCEAEF = "DBClusterEndpointAlreadyExistsFault" -_DBCEQEF = "DBClusterEndpointQuotaExceededFault" -_CDBCE = "CreateDBClusterEndpoint" -_CDBCPGIr = "CreateDBClusterParameterGroupInput" -_cCDBCPGMo = "com.amazonaws.rds#CreateDBClusterParameterGroupMessage" -_CDBCPGOr = "CreateDBClusterParameterGroupOutput" -_cCDBCPGRo = "com.amazonaws.rds#CreateDBClusterParameterGroupResult" -_CDBCPGr = "CreateDBClusterParameterGroup" -_CDBCSIr = "CreateDBClusterSnapshotInput" -_cCDBCSMo = "com.amazonaws.rds#CreateDBClusterSnapshotMessage" -_CDBCSOr = "CreateDBClusterSnapshotOutput" -_cCDBCSRo = "com.amazonaws.rds#CreateDBClusterSnapshotResult" -_CDBCSr = "CreateDBClusterSnapshot" -_ANFF = "AuthorizationNotFoundFault" -_BPNFF = "BackupPolicyNotFoundFault" -_CNFF = "CertificateNotFoundFault" -_DBSGNL = "DBSecurityGroupNameList" -_CDBII = "CreateDBInstanceInput" -_cCDBIM = "com.amazonaws.rds#CreateDBInstanceMessage" -_DBN = "DBName" -_DBSGe = "DBSecurityGroups" -_NCSN = "NcharCharacterSetName" -_TCP = "TdeCredentialPassword" -_DF = "DomainFqdn" -_DOo = "DomainOu" -_DASA = "DomainAuthSecretArn" -_DDI = "DomainDnsIps" -_ECOI = "EnableCustomerOwnedIp" -_BTa = "BackupTarget" -_CIIP = "CustomIamInstanceProfile" -_DBIR = "DBInstanceRole" -_DBIRn = "DBInstanceRoles" -_AM = "AutomationMode" -_FULL = "FULL" -_fu = "full" -_AP_ = "ALL_PAUSED" -_ap = "all-paused" -_DBIABR = "DBInstanceAutomatedBackupsReplication" -_DBIABA = "DBInstanceAutomatedBackupsArn" -_DBIABRL = "DBInstanceAutomatedBackupsReplicationList" -_DBPGS = "DBParameterGroupStatus" -_PAS = "ParameterApplyStatus" -_DBPGSL = "DBParameterGroupStatusList" -_Ou = "Outpost" -_Ar = "Arn" -_Su = "Subnet" -_SIub = "SubnetIdentifier" -_SAZu = "SubnetAvailabilityZone" -_SO = "SubnetOutpost" -_SSu = "SubnetStatus" -_SLu = "SubnetList" -_DBSGDu = "DBSubnetGroupDescription" -_SGS = "SubnetGroupStatus" -_Sub = "Subnets" -_DBSGAu = "DBSubnetGroupArn" -_SNT = "SupportedNetworkTypes" -_Ad = "Address" -_OGM = "OptionGroupMembership" -_OGML = "OptionGroupMembershipList" -_RFAMT = "ResumeFullAutomationModeTime" -_RRDBCIL = "ReadReplicaDBClusterIdentifierList" -_RRDBCI = "ReadReplicaDBClusterIdentifier" -_RRDBIIL = "ReadReplicaDBInstanceIdentifierList" -_RRDBII = "ReadReplicaDBInstanceIdentifier" -_DBISI = "DBInstanceStatusInfo" -_DBISIL = "DBInstanceStatusInfoList" -_DBI = "DBInstance" -_DBIS = "DBInstanceStatus" -_DBPGa = "DBParameterGroups" -_RRSDBII = "ReadReplicaSourceDBInstanceIdentifier" -_RRDBIIe = "ReadReplicaDBInstanceIdentifiers" -_RRDBCIe = "ReadReplicaDBClusterIdentifiers" -_OGMp = "OptionGroupMemberships" -_SAZe = "SecondaryAvailabilityZone" -_DIP = "DbInstancePort" -_EMRA = "EnhancedMonitoringResourceArn" -_DBIA = "DBInstanceArn" -_LE = "ListenerEndpoint" -_COIE = "CustomerOwnedIpEnabled" -_ASENAFI = "ActivityStreamEngineNativeAuditFieldsIncluded" -_DBIABRn = "DBInstanceAutomatedBackupsReplications" -_RRSDBCI = "ReadReplicaSourceDBClusterIdentifier" -_ISCUA = "IsStorageConfigUpgradeAvailable" -_CDBIO = "CreateDBInstanceOutput" -_cCDBIR = "com.amazonaws.rds#CreateDBInstanceResult" -_DBIAEF = "DBInstanceAlreadyExistsFault" -_PINAIAZF = "ProvisionedIopsNotAvailableInAZFault" -_TDQEF = "TenantDatabaseQuotaExceededFault" -_CDBI = "CreateDBInstance" -_CDBIRRI = "CreateDBInstanceReadReplicaInput" -_cCDBIRRM = "com.amazonaws.rds#CreateDBInstanceReadReplicaMessage" -_SDBII = "SourceDBInstanceIdentifier" -_UDPF = "UseDefaultProcessorFeatures" -_SDBCI = "SourceDBClusterIdentifier" -_USC = "UpgradeStorageConfig" -_CDBIRRO = "CreateDBInstanceReadReplicaOutput" -_cCDBIRRR = "com.amazonaws.rds#CreateDBInstanceReadReplicaResult" -_DBSGNAF = "DBSubnetGroupNotAllowedFault" -_CDBIRR = "CreateDBInstanceReadReplica" -_CDBPGIr = "CreateDBParameterGroupInput" -_cCDBPGMo = "com.amazonaws.rds#CreateDBParameterGroupMessage" -_CDBPGOr = "CreateDBParameterGroupOutput" -_cCDBPGRo = "com.amazonaws.rds#CreateDBParameterGroupResult" -_CDBPGr = "CreateDBParameterGroup" -_ASu = "AuthScheme" -_SECRETS = "SECRETS" -_CPAT = "ClientPasswordAuthType" -_MNP = "MYSQL_NATIVE_PASSWORD" -_MCSP = "MYSQL_CACHING_SHA2_PASSWORD" -_PSS = "POSTGRES_SCRAM_SHA_256" -_PM = "POSTGRES_MD5" -_SSA = "SQL_SERVER_AUTHENTICATION" -_IAMAM = "IAMAuthMode" -_REQUIRED = "REQUIRED" -_AUN = "AuthUserName" -_UAC = "UserAuthConfig" -_UN = "UserName" -_IAMA = "IAMAuth" -_UACL = "UserAuthConfigList" -_DBPN = "DBProxyName" -_DAS = "DefaultAuthScheme" -_IA = "IAM_AUTH" -_NONE = "NONE" -_ENT = "EndpointNetworkType" -_IPV = "IPV4" -_IPV_ = "IPV6" -_DUAL = "DUAL" -_EF = "EngineFamily" -_MYSQL = "MYSQL" -_POSTGRESQL = "POSTGRESQL" -_SQLSERVER = "SQLSERVER" -_TCNT = "TargetConnectionNetworkType" -_CDBPI = "CreateDBProxyInput" -_cCDBPR = "com.amazonaws.rds#CreateDBProxyRequest" -_Au = "Auth" -_VSI = "VpcSubnetIds" -_RTLS = "RequireTLS" -_ICTd = "IdleClientTimeout" -_DL = "DebugLogging" -_UACI = "UserAuthConfigInfo" -_UACIL = "UserAuthConfigInfoList" -_DBPS = "DBProxyStatus" -_AVAILABLE = "AVAILABLE" -_av = "available" -_MODIFYING = "MODIFYING" -_mod = "modifying" -_IN = "INCOMPATIBLE_NETWORK" -_in = "incompatible-network" -_IRL = "INSUFFICIENT_RESOURCE_LIMITS" -_irl = "insufficient-resource-limits" -_CREATING = "CREATING" -_cr = "creating" -_DELETING = "DELETING" -_de = "deleting" -_SUSPENDED = "SUSPENDED" -_su = "suspended" -_SUSPENDING = "SUSPENDING" -_sus = "suspending" -_REACTIVATING = "REACTIVATING" -_re = "reactivating" -_DBP = "DBProxy" -_DBPA = "DBProxyArn" -_CDr = "CreatedDate" -_UD = "UpdatedDate" -_CDBPO = "CreateDBProxyOutput" -_cCDBPRo = "com.amazonaws.rds#CreateDBProxyResponse" -_DBPAEF = "DBProxyAlreadyExistsFault" -_DBPQEF = "DBProxyQuotaExceededFault" -_CDBP = "CreateDBProxy" -_DBPEN = "DBProxyEndpointName" -_DBPETR = "DBProxyEndpointTargetRole" -_RW = "READ_WRITE" -_RO = "READ_ONLY" -_CDBPEI = "CreateDBProxyEndpointInput" -_cCDBPER = "com.amazonaws.rds#CreateDBProxyEndpointRequest" -_TR = "TargetRole" -_DBPES = "DBProxyEndpointStatus" -_DBPE = "DBProxyEndpoint" -_DBPEA = "DBProxyEndpointArn" -_ID = "IsDefault" -_CDBPEO = "CreateDBProxyEndpointOutput" -_cCDBPERo = "com.amazonaws.rds#CreateDBProxyEndpointResponse" -_DBPEAEF = "DBProxyEndpointAlreadyExistsFault" -_DBPEQEF = "DBProxyEndpointQuotaExceededFault" -_IDBPSF = "InvalidDBProxyStateFault" -_CDBPE = "CreateDBProxyEndpoint" -_CDBSGI = "CreateDBSecurityGroupInput" -_cCDBSGM = "com.amazonaws.rds#CreateDBSecurityGroupMessage" -_CDBSGO = "CreateDBSecurityGroupOutput" -_cCDBSGR = "com.amazonaws.rds#CreateDBSecurityGroupResult" -_DBSGAEF = "DBSecurityGroupAlreadyExistsFault" -_DBSGNSF = "DBSecurityGroupNotSupportedFault" -_DBSGQEF = "DBSecurityGroupQuotaExceededFault" -_CDBSG = "CreateDBSecurityGroup" -_CDBSGIr = "CreateDBShardGroupInput" -_cCDBSGMo = "com.amazonaws.rds#CreateDBShardGroupMessage" -_DBSGI = "DBShardGroupIdentifier" -_CR = "ComputeRedundancy" -_MACU = "MaxACU" -_MACUi = "MinACU" -_CDBSGOr = "CreateDBShardGroupOutput" -_cDBSG = "com.amazonaws.rds#DBShardGroup" -_DBSGRI = "DBShardGroupResourceId" -_DBSGAh = "DBShardGroupArn" -_DBSGAEFh = "DBShardGroupAlreadyExistsFault" -_MDBSGLR = "MaxDBShardGroupLimitReached" -_UDBEVF = "UnsupportedDBEngineVersionFault" -_CDBSGr = "CreateDBShardGroup" -_CDBSIr = "CreateDBSnapshotInput" -_cCDBSMo = "com.amazonaws.rds#CreateDBSnapshotMessage" -_CDBSOr = "CreateDBSnapshotOutput" -_cCDBSRo = "com.amazonaws.rds#CreateDBSnapshotResult" -_CDBSr = "CreateDBSnapshot" -_SILu = "SubnetIdentifierList" -_CDBSGIre = "CreateDBSubnetGroupInput" -_cCDBSGMom = "com.amazonaws.rds#CreateDBSubnetGroupMessage" -_SIubn = "SubnetIds" -_CDBSGOre = "CreateDBSubnetGroupOutput" -_cCDBSGRo = "com.amazonaws.rds#CreateDBSubnetGroupResult" -_DBSGAEFu = "DBSubnetGroupAlreadyExistsFault" -_DBSGQEFu = "DBSubnetGroupQuotaExceededFault" -_DBSQEF = "DBSubnetQuotaExceededFault" -_CDBSGre = "CreateDBSubnetGroup" -_CESI = "CreateEventSubscriptionInput" -_cCESM = "com.amazonaws.rds#CreateEventSubscriptionMessage" -_ECv = "EventCategories" -_SIou = "SourceIds" -_CESO = "CreateEventSubscriptionOutput" -_cCESR = "com.amazonaws.rds#CreateEventSubscriptionResult" -_ESQEF = "EventSubscriptionQuotaExceededFault" -_SNSITF = "SNSInvalidTopicFault" -_SNSNAF = "SNSNoAuthorizationFault" -_SNSTANFF = "SNSTopicArnNotFoundFault" -_SAEF = "SubscriptionAlreadyExistFault" -_SCNFF = "SubscriptionCategoryNotFoundFault" -_CES = "CreateEventSubscription" -_CGCI = "CreateGlobalClusterInput" -_cCGCM = "com.amazonaws.rds#CreateGlobalClusterMessage" -_FS = "FailoverStatus" -_PENDING = "PENDING" -_FO = "FAILING_OVER" -_fo = "failing-over" -_CANCELLING = "CANCELLING" -_can = "cancelling" -_FSa = "FailoverState" -_FDCA = "FromDbClusterArn" -_TDCA = "ToDbClusterArn" -_IDLA = "IsDataLossAllowed" -_RAL = "ReadersArnList" -_GCMSS = "GlobalClusterMemberSynchronizationStatus" -_CONNECTED = "CONNECTED" -_co = "connected" -_PR = "PENDING_RESYNC" -_pr = "pending-resync" -_GCM = "GlobalClusterMember" -_R = "Readers" -_IW = "IsWriter" -_SSy = "SynchronizationStatus" -_GCML = "GlobalClusterMemberList" -_GC = "GlobalCluster" -_GCRI = "GlobalClusterResourceId" -_GCA = "GlobalClusterArn" -_GCMl = "GlobalClusterMembers" -_CGCO = "CreateGlobalClusterOutput" -_cCGCR = "com.amazonaws.rds#CreateGlobalClusterResult" -_GCAEF = "GlobalClusterAlreadyExistsFault" -_GCQEF = "GlobalClusterQuotaExceededFault" -_IDBSGSFnv = "InvalidDBShardGroupStateFault" -_CGC = "CreateGlobalCluster" -_ECM = "EncryptionContextMap" -_k = "key" -_v = "value" -_DFa = "DataFilter" -_IDn = "IntegrationDescription" -_INn = "IntegrationName" -_CII = "CreateIntegrationInput" -_cCIM = "com.amazonaws.rds#CreateIntegrationMessage" -_TAa = "TargetArn" -_AEC = "AdditionalEncryptionContext" -_IE = "IntegrationError" -_ECr = "ErrorCode" -_EMr = "ErrorMessage" -_IEL = "IntegrationErrorList" -_IAn = "IntegrationArn" -_ISn = "IntegrationStatus" -_FAILED = "FAILED" -_SYNCING = "SYNCING" -_sy = "syncing" -_NA = "NEEDS_ATTENTION" -_na = "needs_attention" -_CIO = "CreateIntegrationOutput" -_cI = "com.amazonaws.rds#Integration" -_Er = "Errors" -_IAEF = "IntegrationAlreadyExistsFault" -_ICOF = "IntegrationConflictOperationFault" -_IQEFn = "IntegrationQuotaExceededFault" -_CIr = "CreateIntegration" -_COGIr = "CreateOptionGroupInput" -_cCOGMo = "com.amazonaws.rds#CreateOptionGroupMessage" -_COGOr = "CreateOptionGroupOutput" -_cCOGRo = "com.amazonaws.rds#CreateOptionGroupResult" -_COGr = "CreateOptionGroup" -_CTDI = "CreateTenantDatabaseInput" -_cCTDM = "com.amazonaws.rds#CreateTenantDatabaseMessage" -_TDBN = "TenantDBName" -_TDPMV = "TenantDatabasePendingModifiedValues" -_TD = "TenantDatabase" -_TDCT = "TenantDatabaseCreateTime" -_TDRI = "TenantDatabaseResourceId" -_TDARN = "TenantDatabaseARN" -_CTDO = "CreateTenantDatabaseOutput" -_cCTDR = "com.amazonaws.rds#CreateTenantDatabaseResult" -_TDAEF = "TenantDatabaseAlreadyExistsFault" -_CTD = "CreateTenantDatabase" -_DBGDI = "DeleteBlueGreenDeploymentInput" -_cDBGDR = "com.amazonaws.rds#DeleteBlueGreenDeploymentRequest" -_DTel = "DeleteTarget" -_DBGDO = "DeleteBlueGreenDeploymentOutput" -_cDBGDRo = "com.amazonaws.rds#DeleteBlueGreenDeploymentResponse" -_IBGDSF = "InvalidBlueGreenDeploymentStateFault" -_DBGD = "DeleteBlueGreenDeployment" -_DCDBEVI = "DeleteCustomDBEngineVersionInput" -_cDCDBEVM = "com.amazonaws.rds#DeleteCustomDBEngineVersionMessage" -_DCDBEVO = "DeleteCustomDBEngineVersionOutput" -_DCDBEV = "DeleteCustomDBEngineVersion" -_DBCABQEF = "DBClusterAutomatedBackupQuotaExceededFault" -_DDBCI = "DeleteDBClusterInput" -_cDDBCM = "com.amazonaws.rds#DeleteDBClusterMessage" -_SFS = "SkipFinalSnapshot" -_FDBSI = "FinalDBSnapshotIdentifier" -_DAB = "DeleteAutomatedBackups" -_DDBCO = "DeleteDBClusterOutput" -_cDDBCR = "com.amazonaws.rds#DeleteDBClusterResult" -_DDBC = "DeleteDBCluster" -_DBCABNFF = "DBClusterAutomatedBackupNotFoundFault" -_DDBCABI = "DeleteDBClusterAutomatedBackupInput" -_cDDBCABM = "com.amazonaws.rds#DeleteDBClusterAutomatedBackupMessage" -_RWe = "RestoreWindow" -_ETa = "EarliestTime" -_LT = "LatestTime" -_DBCAB = "DBClusterAutomatedBackup" -_DBCABA = "DBClusterAutomatedBackupsArn" -_Re = "Region" -_DDBCABO = "DeleteDBClusterAutomatedBackupOutput" -_cDDBCABR = "com.amazonaws.rds#DeleteDBClusterAutomatedBackupResult" -_IDBCABSF = "InvalidDBClusterAutomatedBackupStateFault" -_DDBCAB = "DeleteDBClusterAutomatedBackup" -_DBCENFF = "DBClusterEndpointNotFoundFault" -_DDBCEI = "DeleteDBClusterEndpointInput" -_cDDBCEM = "com.amazonaws.rds#DeleteDBClusterEndpointMessage" -_DDBCEO = "DeleteDBClusterEndpointOutput" -_DDBCE = "DeleteDBClusterEndpoint" -_DDBCPGI = "DeleteDBClusterParameterGroupInput" -_cDDBCPGM = "com.amazonaws.rds#DeleteDBClusterParameterGroupMessage" -_DDBCPGO = "DeleteDBClusterParameterGroupOutput" -_IDBPGSF = "InvalidDBParameterGroupStateFault" -_DDBCPG = "DeleteDBClusterParameterGroup" -_DDBCSI = "DeleteDBClusterSnapshotInput" -_cDDBCSM = "com.amazonaws.rds#DeleteDBClusterSnapshotMessage" -_DDBCSO = "DeleteDBClusterSnapshotOutput" -_cDDBCSR = "com.amazonaws.rds#DeleteDBClusterSnapshotResult" -_DDBCS = "DeleteDBClusterSnapshot" -_DBIABQEF = "DBInstanceAutomatedBackupQuotaExceededFault" -_DDBII = "DeleteDBInstanceInput" -_cDDBIM = "com.amazonaws.rds#DeleteDBInstanceMessage" -_DDBIO = "DeleteDBInstanceOutput" -_cDDBIR = "com.amazonaws.rds#DeleteDBInstanceResult" -_DDBI = "DeleteDBInstance" -_DBIABNFF = "DBInstanceAutomatedBackupNotFoundFault" -_DDBIABI = "DeleteDBInstanceAutomatedBackupInput" -_cDDBIABM = "com.amazonaws.rds#DeleteDBInstanceAutomatedBackupMessage" -_DBIAB = "DBInstanceAutomatedBackup" -_DDBIABO = "DeleteDBInstanceAutomatedBackupOutput" -_cDDBIABR = "com.amazonaws.rds#DeleteDBInstanceAutomatedBackupResult" -_IDBIABSF = "InvalidDBInstanceAutomatedBackupStateFault" -_DDBIAB = "DeleteDBInstanceAutomatedBackup" -_DDBPGI = "DeleteDBParameterGroupInput" -_cDDBPGM = "com.amazonaws.rds#DeleteDBParameterGroupMessage" -_DDBPGO = "DeleteDBParameterGroupOutput" -_DDBPG = "DeleteDBParameterGroup" -_DDBPI = "DeleteDBProxyInput" -_cDDBPR = "com.amazonaws.rds#DeleteDBProxyRequest" -_DDBPO = "DeleteDBProxyOutput" -_cDDBPRo = "com.amazonaws.rds#DeleteDBProxyResponse" -_DDBP = "DeleteDBProxy" -_DDBPEI = "DeleteDBProxyEndpointInput" -_cDDBPER = "com.amazonaws.rds#DeleteDBProxyEndpointRequest" -_DDBPEO = "DeleteDBProxyEndpointOutput" -_cDDBPERo = "com.amazonaws.rds#DeleteDBProxyEndpointResponse" -_IDBPESF = "InvalidDBProxyEndpointStateFault" -_DDBPE = "DeleteDBProxyEndpoint" -_DDBSGI = "DeleteDBSecurityGroupInput" -_cDDBSGM = "com.amazonaws.rds#DeleteDBSecurityGroupMessage" -_DDBSGO = "DeleteDBSecurityGroupOutput" -_DDBSG = "DeleteDBSecurityGroup" -_DDBSGIe = "DeleteDBShardGroupInput" -_cDDBSGMo = "com.amazonaws.rds#DeleteDBShardGroupMessage" -_DDBSGOe = "DeleteDBShardGroupOutput" -_DDBSGe = "DeleteDBShardGroup" -_DDBSI = "DeleteDBSnapshotInput" -_cDDBSM = "com.amazonaws.rds#DeleteDBSnapshotMessage" -_DDBSO = "DeleteDBSnapshotOutput" -_cDDBSR = "com.amazonaws.rds#DeleteDBSnapshotResult" -_DDBS = "DeleteDBSnapshot" -_DDBSGIel = "DeleteDBSubnetGroupInput" -_cDDBSGMom = "com.amazonaws.rds#DeleteDBSubnetGroupMessage" -_DDBSGOel = "DeleteDBSubnetGroupOutput" -_IDBSSFn = "InvalidDBSubnetStateFault" -_DDBSGel = "DeleteDBSubnetGroup" -_DESI = "DeleteEventSubscriptionInput" -_cDESM = "com.amazonaws.rds#DeleteEventSubscriptionMessage" -_DESO = "DeleteEventSubscriptionOutput" -_cDESR = "com.amazonaws.rds#DeleteEventSubscriptionResult" -_IESSF = "InvalidEventSubscriptionStateFault" -_DES = "DeleteEventSubscription" -_DGCI = "DeleteGlobalClusterInput" -_cDGCM = "com.amazonaws.rds#DeleteGlobalClusterMessage" -_DGCO = "DeleteGlobalClusterOutput" -_cDGCR = "com.amazonaws.rds#DeleteGlobalClusterResult" -_DGC = "DeleteGlobalCluster" -_IIn = "IntegrationIdentifier" -_DII = "DeleteIntegrationInput" -_cDIM = "com.amazonaws.rds#DeleteIntegrationMessage" -_DIO = "DeleteIntegrationOutput" -_IISF = "InvalidIntegrationStateFault" -_DIe = "DeleteIntegration" -_DOGI = "DeleteOptionGroupInput" -_cDOGM = "com.amazonaws.rds#DeleteOptionGroupMessage" -_DOGO = "DeleteOptionGroupOutput" -_IOGSF = "InvalidOptionGroupStateFault" -_DOG = "DeleteOptionGroup" -_DTDI = "DeleteTenantDatabaseInput" -_cDTDM = "com.amazonaws.rds#DeleteTenantDatabaseMessage" -_DTDO = "DeleteTenantDatabaseOutput" -_cDTDR = "com.amazonaws.rds#DeleteTenantDatabaseResult" -_DTD = "DeleteTenantDatabase" -_DBPTNFF = "DBProxyTargetNotFoundFault" -_DBPTGN = "DBProxyTargetGroupName" -_DDBPTI = "DeregisterDBProxyTargetsInput" -_cDDBPTR = "com.amazonaws.rds#DeregisterDBProxyTargetsRequest" -_TGN = "TargetGroupName" -_DBIIn = "DBInstanceIdentifiers" -_DBCIl = "DBClusterIdentifiers" -_DDBPTO = "DeregisterDBProxyTargetsOutput" -_cDDBPTRo = "com.amazonaws.rds#DeregisterDBProxyTargetsResponse" -_DDBPT = "DeregisterDBProxyTargets" -_DAAI = "DescribeAccountAttributesInput" -_cDAAM = "com.amazonaws.rds#DescribeAccountAttributesMessage" -_DAAO = "DescribeAccountAttributesOutput" -_cAAM = "com.amazonaws.rds#AccountAttributesMessage" -_AQc = "AccountQuotas" -_DAA = "DescribeAccountAttributes" -_FVL = "FilterValueList" -_Fi = "Filter" -_Va = "Values" -_FL = "FilterList" -_MR = "MaxRecords" -_DBGDIe = "DescribeBlueGreenDeploymentsInput" -_cDBGDRom = "com.amazonaws.rds#DescribeBlueGreenDeploymentsRequest" -_Fil = "Filters" -_Mar = "Marker" -_BGDL = "BlueGreenDeploymentList" -_DBGDOe = "DescribeBlueGreenDeploymentsOutput" -_cDBGDRoma = "com.amazonaws.rds#DescribeBlueGreenDeploymentsResponse" -_BGDl = "BlueGreenDeployments" -_DBGDe = "DescribeBlueGreenDeployments" -_DCI = "DescribeCertificatesInput" -_cDCM = "com.amazonaws.rds#DescribeCertificatesMessage" -_CIe = "CertificateIdentifier" -_Ce = "Certificate" -_CTe = "CertificateType" -_Th = "Thumbprint" -_VF = "ValidFrom" -_CA = "CertificateArn" -_CO = "CustomerOverride" -_COVT = "CustomerOverrideValidTill" -_CL = "CertificateList" -_DCO = "DescribeCertificatesOutput" -_cCM = "com.amazonaws.rds#CertificateMessage" -_DCFNL = "DefaultCertificateForNewLaunches" -_Cer = "Certificates" -_DC = "DescribeCertificates" -_DDBCRI = "DescribeDBCapacityReservationsInput" -_cDDBCRR = "com.amazonaws.rds#DescribeDBCapacityReservationsRequest" -_DBCRL = "DBCapacityReservationList" -_DDBCRO = "DescribeDBCapacityReservationsOutput" -_cDDBCRRo = "com.amazonaws.rds#DescribeDBCapacityReservationsResponse" -_DBCRa = "DBCapacityReservations" -_DDBCR = "DescribeDBCapacityReservations" -_DDBCABIe = "DescribeDBClusterAutomatedBackupsInput" -_cDDBCABMo = "com.amazonaws.rds#DescribeDBClusterAutomatedBackupsMessage" -_DBCABL = "DBClusterAutomatedBackupList" -_DDBCABOe = "DescribeDBClusterAutomatedBackupsOutput" -_cDBCABM = "com.amazonaws.rds#DBClusterAutomatedBackupMessage" -_DBCABl = "DBClusterAutomatedBackups" -_DDBCABe = "DescribeDBClusterAutomatedBackups" -_DBCBNFF = "DBClusterBacktrackNotFoundFault" -_DDBCBI = "DescribeDBClusterBacktracksInput" -_cDDBCBM = "com.amazonaws.rds#DescribeDBClusterBacktracksMessage" -_DBCB = "DBClusterBacktrack" -_DBCBL = "DBClusterBacktrackList" -_DDBCBO = "DescribeDBClusterBacktracksOutput" -_cDBCBM = "com.amazonaws.rds#DBClusterBacktrackMessage" -_DBCBl = "DBClusterBacktracks" -_DDBCB = "DescribeDBClusterBacktracks" -_DDBCEIe = "DescribeDBClusterEndpointsInput" -_cDDBCEMo = "com.amazonaws.rds#DescribeDBClusterEndpointsMessage" -_DBCE = "DBClusterEndpoint" -_DBCEL = "DBClusterEndpointList" -_DDBCEOe = "DescribeDBClusterEndpointsOutput" -_cDBCEM = "com.amazonaws.rds#DBClusterEndpointMessage" -_DBCEl = "DBClusterEndpoints" -_DDBCEe = "DescribeDBClusterEndpoints" -_DDBCPGIe = "DescribeDBClusterParameterGroupsInput" -_cDDBCPGMo = "com.amazonaws.rds#DescribeDBClusterParameterGroupsMessage" -_DBCPGL = "DBClusterParameterGroupList" -_DDBCPGOe = "DescribeDBClusterParameterGroupsOutput" -_cDBCPGM = "com.amazonaws.rds#DBClusterParameterGroupsMessage" -_DBCPGl = "DBClusterParameterGroups" -_DDBCPGe = "DescribeDBClusterParameterGroups" -_DDBCPI = "DescribeDBClusterParametersInput" -_cDDBCPM = "com.amazonaws.rds#DescribeDBClusterParametersMessage" -_AMp = "ApplyMethod" -_im = "immediate" -_pr_ = "pending_reboot" -_pr__ = "pending-reboot" -_PSPV = "PotentiallySensitiveParameterValue" -_Pa = "Parameter" -_PN = "ParameterName" -_PV = "ParameterValue" -_MEVi = "MinimumEngineVersion" -_PL = "ParametersList" -_DDBCPO = "DescribeDBClusterParametersOutput" -_cDBCPGD = "com.amazonaws.rds#DBClusterParameterGroupDetails" -_Par = "Parameters" -_DDBCP = "DescribeDBClusterParameters" -_DDBCIe = "DescribeDBClustersInput" -_cDDBCMo = "com.amazonaws.rds#DescribeDBClustersMessage" -_ISnc = "IncludeShared" -_DBCL = "DBClusterList" -_DDBCOe = "DescribeDBClustersOutput" -_cDBCM = "com.amazonaws.rds#DBClusterMessage" -_DBCl = "DBClusters" -_DDBCe = "DescribeDBClusters" -_DDBCSAI = "DescribeDBClusterSnapshotAttributesInput" -_cDDBCSAM = "com.amazonaws.rds#DescribeDBClusterSnapshotAttributesMessage" -_AVL = "AttributeValueList" -_AVt = "AttributeValue" -_DBCSAl = "DBClusterSnapshotAttribute" -_AN = "AttributeName" -_AVtt = "AttributeValues" -_DBCSAL = "DBClusterSnapshotAttributeList" -_DBCSAR = "DBClusterSnapshotAttributesResult" -_DBCSAlu = "DBClusterSnapshotAttributes" -_DDBCSAO = "DescribeDBClusterSnapshotAttributesOutput" -_cDDBCSAR = "com.amazonaws.rds#DescribeDBClusterSnapshotAttributesResult" -_DDBCSA = "DescribeDBClusterSnapshotAttributes" -_DDBCSIe = "DescribeDBClusterSnapshotsInput" -_cDDBCSMo = "com.amazonaws.rds#DescribeDBClusterSnapshotsMessage" -_IP = "IncludePublic" -_DBCSL = "DBClusterSnapshotList" -_DDBCSOe = "DescribeDBClusterSnapshotsOutput" -_cDBCSM = "com.amazonaws.rds#DBClusterSnapshotMessage" -_DBCSl = "DBClusterSnapshots" -_DDBCSe = "DescribeDBClusterSnapshots" -_DDBEVI = "DescribeDBEngineVersionsInput" -_cDDBEVM = "com.amazonaws.rds#DescribeDBEngineVersionsMessage" -_DOe = "DefaultOnly" -_LSCS = "ListSupportedCharacterSets" -_LST = "ListSupportedTimezones" -_IAnc = "IncludeAll" -_DBEV = "DBEngineVersion" -_DBEVL = "DBEngineVersionList" -_DDBEVO = "DescribeDBEngineVersionsOutput" -_cDBEVM = "com.amazonaws.rds#DBEngineVersionMessage" -_DBEVn = "DBEngineVersions" -_DDBEV = "DescribeDBEngineVersions" -_DDBIABIe = "DescribeDBInstanceAutomatedBackupsInput" -_cDDBIABMo = "com.amazonaws.rds#DescribeDBInstanceAutomatedBackupsMessage" -_DBIABL = "DBInstanceAutomatedBackupList" -_DDBIABOe = "DescribeDBInstanceAutomatedBackupsOutput" -_cDBIABM = "com.amazonaws.rds#DBInstanceAutomatedBackupMessage" -_DBIABn = "DBInstanceAutomatedBackups" -_DDBIABe = "DescribeDBInstanceAutomatedBackups" -_DDBIIe = "DescribeDBInstancesInput" -_cDDBIMo = "com.amazonaws.rds#DescribeDBInstancesMessage" -_DBIL = "DBInstanceList" -_DDBIOe = "DescribeDBInstancesOutput" -_cDBIM = "com.amazonaws.rds#DBInstanceMessage" -_DBIn = "DBInstances" -_DDBIe = "DescribeDBInstances" -_DBINRF = "DBInstanceNotReadyFault" -_DDBLFI = "DescribeDBLogFilesInput" -_cDDBLFM = "com.amazonaws.rds#DescribeDBLogFilesMessage" -_FCi = "FilenameContains" -_FLW = "FileLastWritten" -_FSi = "FileSize" -_DDBLFD = "DescribeDBLogFilesDetails" -_LFN = "LogFileName" -_LW = "LastWritten" -_Si = "Size" -_DDBLFL = "DescribeDBLogFilesList" -_DDBLFO = "DescribeDBLogFilesOutput" -_cDDBLFR = "com.amazonaws.rds#DescribeDBLogFilesResponse" -_DDBLF = "DescribeDBLogFiles" -_DDBMEVI = "DescribeDBMajorEngineVersionsInput" -_cDDBMEVR = "com.amazonaws.rds#DescribeDBMajorEngineVersionsRequest" -_LSN = "LifecycleSupportName" -_OSRSS = "OPEN_SOURCE_RDS_STANDARD_SUPPORT" -_osrss = "open-source-rds-standard-support" -_OSRES = "OPEN_SOURCE_RDS_EXTENDED_SUPPORT" -_osres = "open-source-rds-extended-support" -_SEL = "SupportedEngineLifecycle" -_LSSD = "LifecycleSupportStartDate" -_LSED = "LifecycleSupportEndDate" -_SELL = "SupportedEngineLifecycleList" -_DBMEV = "DBMajorEngineVersion" -_SELu = "SupportedEngineLifecycles" -_DBMEVL = "DBMajorEngineVersionsList" -_DDBMEVO = "DescribeDBMajorEngineVersionsOutput" -_cDDBMEVRo = "com.amazonaws.rds#DescribeDBMajorEngineVersionsResponse" -_DBMEVa = "DBMajorEngineVersions" -_DDBMEV = "DescribeDBMajorEngineVersions" -_DDBPGIe = "DescribeDBParameterGroupsInput" -_cDDBPGMo = "com.amazonaws.rds#DescribeDBParameterGroupsMessage" -_DBPGL = "DBParameterGroupList" -_DDBPGOe = "DescribeDBParameterGroupsOutput" -_cDBPGM = "com.amazonaws.rds#DBParameterGroupsMessage" -_DDBPGe = "DescribeDBParameterGroups" -_DDBPIe = "DescribeDBParametersInput" -_cDDBPM = "com.amazonaws.rds#DescribeDBParametersMessage" -_DDBPOe = "DescribeDBParametersOutput" -_cDBPGD = "com.amazonaws.rds#DBParameterGroupDetails" -_DDBPe = "DescribeDBParameters" -_DDBPIes = "DescribeDBProxiesInput" -_cDDBPRom = "com.amazonaws.rds#DescribeDBProxiesRequest" -_DBPL = "DBProxyList" -_DDBPOes = "DescribeDBProxiesOutput" -_cDDBPRoma = "com.amazonaws.rds#DescribeDBProxiesResponse" -_DBPr = "DBProxies" -_DDBPes = "DescribeDBProxies" -_DDBPEIe = "DescribeDBProxyEndpointsInput" -_cDDBPERom = "com.amazonaws.rds#DescribeDBProxyEndpointsRequest" -_DBPEL = "DBProxyEndpointList" -_DDBPEOe = "DescribeDBProxyEndpointsOutput" -_cDDBPERoma = "com.amazonaws.rds#DescribeDBProxyEndpointsResponse" -_DBPEr = "DBProxyEndpoints" -_DDBPEe = "DescribeDBProxyEndpoints" -_DDBPTGI = "DescribeDBProxyTargetGroupsInput" -_cDDBPTGR = "com.amazonaws.rds#DescribeDBProxyTargetGroupsRequest" -_OSS = "OperatorSensitiveString" -_CPCI = "ConnectionPoolConfigurationInfo" -_MCP = "MaxConnectionsPercent" -_MICP = "MaxIdleConnectionsPercent" -_CBT = "ConnectionBorrowTimeout" -_SPF = "SessionPinningFilters" -_IQ = "InitQuery" -_DBPTG = "DBProxyTargetGroup" -_TGA = "TargetGroupArn" -_CPC = "ConnectionPoolConfig" -_TGL = "TargetGroupList" -_DDBPTGO = "DescribeDBProxyTargetGroupsOutput" -_cDDBPTGRo = "com.amazonaws.rds#DescribeDBProxyTargetGroupsResponse" -_TG = "TargetGroups" -_DDBPTG = "DescribeDBProxyTargetGroups" -_DDBPTIe = "DescribeDBProxyTargetsInput" -_cDDBPTRom = "com.amazonaws.rds#DescribeDBProxyTargetsRequest" -_THR = "TargetHealthReason" -_UNREACHABLE = "UNREACHABLE" -_CF = "CONNECTION_FAILED" -_AF = "AUTH_FAILURE" -_PPC = "PENDING_PROXY_CAPACITY" -_IRS = "INVALID_REPLICATION_STATE" -_PROMOTED = "PROMOTED" -_TSar = "TargetState" -_reg = "registering" -_REGISTERING = "REGISTERING" -_una = "unavailable" -_UNAVAILABLE = "UNAVAILABLE" -_unu = "unused" -_UNUSED = "UNUSED" -_TH = "TargetHealth" -_Rea = "Reason" -_TT = "TargetType" -_RI_ = "RDS_INSTANCE" -_RSE = "RDS_SERVERLESS_ENDPOINT" -_TC = "TRACKED_CLUSTER" -_DBPT = "DBProxyTarget" -_TCI = "TrackedClusterId" -_RRId = "RdsResourceId" -_Ty = "Type" -_Ro = "Role" -_TLa = "TargetList" -_DDBPTOe = "DescribeDBProxyTargetsOutput" -_cDDBPTRoma = "com.amazonaws.rds#DescribeDBProxyTargetsResponse" -_Targ = "Targets" -_DDBPTe = "DescribeDBProxyTargets" -_DDBRI = "DescribeDBRecommendationsInput" -_cDDBRM = "com.amazonaws.rds#DescribeDBRecommendationsMessage" -_LUA = "LastUpdatedAfter" -_LUB = "LastUpdatedBefore" -_Lo = "Locale" -_PIMDG = "PerformanceInsightsMetricDimensionGroup" -_Di = "Dimensions" -_G = "Group" -_Li = "Limit" -_PIMQ = "PerformanceInsightsMetricQuery" -_GB = "GroupBy" -_Met = "Metric" -_MQ = "MetricQuery" -_Dou = "Double" -_SRD = "ScalarReferenceDetails" -_RD = "ReferenceDetails" -_MRe = "MetricReference" -_MRL = "MetricReferenceList" -_Ref = "References" -_SDta = "StatisticsDetails" -_ML = "MetricList" -_PID = "PerformanceIssueDetails" -_STtar = "StartTime" -_ETn = "EndTime" -_Metr = "Metrics" -_An = "Analysis" -_IDs = "IssueDetails" -_DLo = "DocLink" -_Te = "Text" -_Ur = "Url" -_DLL = "DocLinkList" -_CAo = "ContextAttribute" -_CAL = "ContextAttributeList" -_RAP = "RecommendedActionParameter" -_RAPL = "RecommendedActionParameterList" -_RAe = "RecommendedAction" -_AI = "ActionId" -_Tit = "Title" -_Ope = "Operation" -_AMpp = "ApplyModes" -_CAon = "ContextAttributes" -_RALe = "RecommendedActionList" -_DBR = "DBRecommendation" -_RIe = "RecommendationId" -_TIy = "TypeId" -_Se = "Severity" -_RAes = "ResourceArn" -_CTre = "CreatedTime" -_UTp = "UpdatedTime" -_De = "Detection" -_Rec = "Recommendation" -_RAec = "RecommendedActions" -_Ca = "Category" -_TDy = "TypeDetection" -_TRy = "TypeRecommendation" -_Imp = "Impact" -_AId = "AdditionalInfo" -_Lin = "Links" -_DBRL = "DBRecommendationList" -_DDBRO = "DescribeDBRecommendationsOutput" -_cDBRM = "com.amazonaws.rds#DBRecommendationsMessage" -_DBRe = "DBRecommendations" -_DDBR = "DescribeDBRecommendations" -_DDBSGIes = "DescribeDBSecurityGroupsInput" -_cDDBSGMoma = "com.amazonaws.rds#DescribeDBSecurityGroupsMessage" -_DDBSGOes = "DescribeDBSecurityGroupsOutput" -_cDBSGM = "com.amazonaws.rds#DBSecurityGroupMessage" -_DDBSGes = "DescribeDBSecurityGroups" -_DDBSGIesc = "DescribeDBShardGroupsInput" -_cDDBSGMomam = "com.amazonaws.rds#DescribeDBShardGroupsMessage" -_DBSGh = "DBShardGroup" -_DBSGL = "DBShardGroupsList" -_DDBSGOesc = "DescribeDBShardGroupsOutput" -_cDDBSGR = "com.amazonaws.rds#DescribeDBShardGroupsResponse" -_DBSGha = "DBShardGroups" -_DDBSGesc = "DescribeDBShardGroups" -_DDBSAI = "DescribeDBSnapshotAttributesInput" -_cDDBSAM = "com.amazonaws.rds#DescribeDBSnapshotAttributesMessage" -_DBSAn = "DBSnapshotAttribute" -_DBSAL = "DBSnapshotAttributeList" -_DBSAR = "DBSnapshotAttributesResult" -_DBSAna = "DBSnapshotAttributes" -_DDBSAO = "DescribeDBSnapshotAttributesOutput" -_cDDBSAR = "com.amazonaws.rds#DescribeDBSnapshotAttributesResult" -_DDBSA = "DescribeDBSnapshotAttributes" -_DDBSIe = "DescribeDBSnapshotsInput" -_cDDBSMo = "com.amazonaws.rds#DescribeDBSnapshotsMessage" -_DBSL = "DBSnapshotList" -_DDBSOe = "DescribeDBSnapshotsOutput" -_cDBSM = "com.amazonaws.rds#DBSnapshotMessage" -_DBSn = "DBSnapshots" -_DDBSe = "DescribeDBSnapshots" -_DDBSTDI = "DescribeDBSnapshotTenantDatabasesInput" -_cDDBSTDM = "com.amazonaws.rds#DescribeDBSnapshotTenantDatabasesMessage" -_DBSTD = "DBSnapshotTenantDatabase" -_DBSTDARN = "DBSnapshotTenantDatabaseARN" -_DBSTDL = "DBSnapshotTenantDatabasesList" -_DDBSTDO = "DescribeDBSnapshotTenantDatabasesOutput" -_cDBSTDM = "com.amazonaws.rds#DBSnapshotTenantDatabasesMessage" -_DBSTDn = "DBSnapshotTenantDatabases" -_DDBSTD = "DescribeDBSnapshotTenantDatabases" -_DDBSGIescr = "DescribeDBSubnetGroupsInput" -_cDDBSGMomama = "com.amazonaws.rds#DescribeDBSubnetGroupsMessage" -_DBSGub = "DBSubnetGroups" -_DDBSGOescr = "DescribeDBSubnetGroupsOutput" -_cDBSGMo = "com.amazonaws.rds#DBSubnetGroupMessage" -_DDBSGescr = "DescribeDBSubnetGroups" -_DEDCPI = "DescribeEngineDefaultClusterParametersInput" -_cDEDCPM = "com.amazonaws.rds#DescribeEngineDefaultClusterParametersMessage" -_EDn = "EngineDefaults" -_DEDCPO = "DescribeEngineDefaultClusterParametersOutput" -_cDEDCPR = "com.amazonaws.rds#DescribeEngineDefaultClusterParametersResult" -_DEDCP = "DescribeEngineDefaultClusterParameters" -_DEDPI = "DescribeEngineDefaultParametersInput" -_cDEDPM = "com.amazonaws.rds#DescribeEngineDefaultParametersMessage" -_DEDPO = "DescribeEngineDefaultParametersOutput" -_cDEDPR = "com.amazonaws.rds#DescribeEngineDefaultParametersResult" -_DEDP = "DescribeEngineDefaultParameters" -_DECI = "DescribeEventCategoriesInput" -_cDECM = "com.amazonaws.rds#DescribeEventCategoriesMessage" -_ECMv = "EventCategoriesMap" -_ECML = "EventCategoriesMapList" -_DECO = "DescribeEventCategoriesOutput" -_cECM = "com.amazonaws.rds#EventCategoriesMessage" -_DEC = "DescribeEventCategories" -_di_ = "db_instance" -_di__ = "db-instance" -_dpg = "db_parameter_group" -_dpg_ = "db-parameter-group" -_dsg = "db_security_group" -_dsg_ = "db-security-group" -_ds = "db_snapshot" -_ds_ = "db-snapshot" -_dc = "db_cluster" -_dc_ = "db-cluster" -_dcs = "db_cluster_snapshot" -_dcs_ = "db-cluster-snapshot" -_cev = "custom_engine_version" -_cev_ = "custom-engine-version" -_dp = "db_proxy" -_dp_ = "db-proxy" -_bgd = "blue_green_deployment" -_bgd_ = "blue-green-deployment" -_dsg__ = "db_shard_group" -_dsg___ = "db-shard-group" -_ze = "zero_etl" -_ze_ = "zero-etl" -_DEI = "DescribeEventsInput" -_cDEM = "com.amazonaws.rds#DescribeEventsMessage" -_Du = "Duration" -_Ev = "Event" -_Da = "Date" -_EL = "EventList" -_DEO = "DescribeEventsOutput" -_cEM = "com.amazonaws.rds#EventsMessage" -_Eve = "Events" -_DE = "DescribeEvents" -_DESIe = "DescribeEventSubscriptionsInput" -_cDESMo = "com.amazonaws.rds#DescribeEventSubscriptionsMessage" -_ESL = "EventSubscriptionsList" -_DESOe = "DescribeEventSubscriptionsOutput" -_cESM = "com.amazonaws.rds#EventSubscriptionsMessage" -_DESe = "DescribeEventSubscriptions" -_DETI = "DescribeExportTasksInput" -_cDETM = "com.amazonaws.rds#DescribeExportTasksMessage" -_ETx = "ExportTask" -_ETL = "ExportTasksList" -_DETO = "DescribeExportTasksOutput" -_cETM = "com.amazonaws.rds#ExportTasksMessage" -_ETxp = "ExportTasks" -_DET = "DescribeExportTasks" -_DGCIe = "DescribeGlobalClustersInput" -_cDGCMo = "com.amazonaws.rds#DescribeGlobalClustersMessage" -_GCL = "GlobalClusterList" -_DGCOe = "DescribeGlobalClustersOutput" -_cGCM = "com.amazonaws.rds#GlobalClustersMessage" -_GCl = "GlobalClusters" -_DGCe = "DescribeGlobalClusters" -_DIIe = "DescribeIntegrationsInput" -_cDIMo = "com.amazonaws.rds#DescribeIntegrationsMessage" -_In = "Integration" -_IL = "IntegrationList" -_DIOe = "DescribeIntegrationsOutput" -_cDIR = "com.amazonaws.rds#DescribeIntegrationsResponse" -_Int = "Integrations" -_DIes = "DescribeIntegrations" -_DOGOI = "DescribeOptionGroupOptionsInput" -_cDOGOM = "com.amazonaws.rds#DescribeOptionGroupOptionsMessage" -_MEVPAV = "MinimumEngineVersionPerAllowedValue" -_AVl = "AllowedValue" -_MEVPAVL = "MinimumEngineVersionPerAllowedValueList" -_OGOS = "OptionGroupOptionSetting" -_SNe = "SettingName" -_SDe = "SettingDescription" -_IR = "IsRequired" -_OGOSL = "OptionGroupOptionSettingsList" -_Ve = "Version" -_OGOVL = "OptionGroupOptionVersionsList" -_OCW = "OptionsConflictsWith" -_OCN = "OptionConflictName" -_ODO = "OptionsDependedOn" -_OGO = "OptionGroupOption" -_MRMEV = "MinimumRequiredMinorEngineVersion" -_PRo = "PortRequired" -_DPe = "DefaultPort" -_RAMEVU = "RequiresAutoMinorEngineVersionUpgrade" -_VO = "VpcOnly" -_SOVD = "SupportsOptionVersionDowngrade" -_OGOSp = "OptionGroupOptionSettings" -_OGOV = "OptionGroupOptionVersions" -_CCA = "CopyableCrossAccount" -_CCR = "CopyableCrossRegion" -_OGOL = "OptionGroupOptionsList" -_DOGOO = "DescribeOptionGroupOptionsOutput" -_cOGOM = "com.amazonaws.rds#OptionGroupOptionsMessage" -_OGOp = "OptionGroupOptions" -_DOGOe = "DescribeOptionGroupOptions" -_DOGIe = "DescribeOptionGroupsInput" -_cDOGMo = "com.amazonaws.rds#DescribeOptionGroupsMessage" -_OGL = "OptionGroupsList" -_DOGOes = "DescribeOptionGroupsOutput" -_cOG = "com.amazonaws.rds#OptionGroups" -_DOGe = "DescribeOptionGroups" -_DODBIOI = "DescribeOrderableDBInstanceOptionsInput" -_cDODBIOM = "com.amazonaws.rds#DescribeOrderableDBInstanceOptionsMessage" -_AZG = "AvailabilityZoneGroup" -_Vp = "Vpc" -_AZL = "AvailabilityZoneList" -_AASVO = "AvailableAdditionalStorageVolumesOption" -_SSAu = "SupportsStorageAutoscaling" -_SST = "SupportsStorageThroughput" -_SIup = "SupportsIops" -_MSS = "MinStorageSize" -_MSSa = "MaxStorageSize" -_MIi = "MinIops" -_MIa = "MaxIops" -_MIPG = "MinIopsPerGib" -_MIPGa = "MaxIopsPerGib" -_MST = "MinStorageThroughput" -_MSTa = "MaxStorageThroughput" -_AASVOL = "AvailableAdditionalStorageVolumesOptionList" -_APF = "AvailableProcessorFeature" -_APFL = "AvailableProcessorFeatureList" -_ODBIO = "OrderableDBInstanceOption" -_MAZC = "MultiAZCapable" -_RRC = "ReadReplicaCapable" -_SSEu = "SupportsStorageEncryption" -_SEMu = "SupportsEnhancedMonitoring" -_SIAMDA = "SupportsIAMDatabaseAuthentication" -_SPI = "SupportsPerformanceInsights" -_MIPDI = "MinIopsPerDbInstance" -_MIPDIa = "MaxIopsPerDbInstance" -_MSTPDI = "MinStorageThroughputPerDbInstance" -_MSTPDIa = "MaxStorageThroughputPerDbInstance" -_MSTPI = "MinStorageThroughputPerIops" -_MSTPIa = "MaxStorageThroughputPerIops" -_APFv = "AvailableProcessorFeatures" -_SKA = "SupportsKerberosAuthentication" -_OC = "OutpostCapable" -_SASM = "SupportedActivityStreamModes" -_SCu = "SupportsClusters" -_SDLV = "SupportsDedicatedLogVolume" -_SASV = "SupportsAdditionalStorageVolumes" -_SHE = "SupportsHttpEndpoint" -_AASVOv = "AvailableAdditionalStorageVolumesOptions" -_ODBIOL = "OrderableDBInstanceOptionsList" -_DODBIOO = "DescribeOrderableDBInstanceOptionsOutput" -_cODBIOM = "com.amazonaws.rds#OrderableDBInstanceOptionsMessage" -_ODBIOr = "OrderableDBInstanceOptions" -_DODBIO = "DescribeOrderableDBInstanceOptions" -_DPMAI = "DescribePendingMaintenanceActionsInput" -_cDPMAM = "com.amazonaws.rds#DescribePendingMaintenanceActionsMessage" -_PMAe = "PendingMaintenanceActions" -_DPMAO = "DescribePendingMaintenanceActionsOutput" -_cPMAM = "com.amazonaws.rds#PendingMaintenanceActionsMessage" -_DPMA = "DescribePendingMaintenanceActions" -_DRDBII = "DescribeReservedDBInstancesInput" -_cDRDBIM = "com.amazonaws.rds#DescribeReservedDBInstancesMessage" -_RDBII = "ReservedDBInstanceId" -_RDBIOI = "ReservedDBInstancesOfferingId" -_PD = "ProductDescription" -_OT = "OfferingType" -_LI = "LeaseId" -_RC = "RecurringCharge" -_RCA = "RecurringChargeAmount" -_RCF = "RecurringChargeFrequency" -_RCL = "RecurringChargeList" -_RDBI = "ReservedDBInstance" -_FP = "FixedPrice" -_UP = "UsagePrice" -_CC = "CurrencyCode" -_DBICn = "DBInstanceCount" -_RCe = "RecurringCharges" -_RDBIA = "ReservedDBInstanceArn" -_RDBIL = "ReservedDBInstanceList" -_DRDBIO = "DescribeReservedDBInstancesOutput" -_cRDBIM = "com.amazonaws.rds#ReservedDBInstanceMessage" -_RDBIe = "ReservedDBInstances" -_RDBINFF = "ReservedDBInstanceNotFoundFault" -_DRDBI = "DescribeReservedDBInstances" -_DRDBIOI = "DescribeReservedDBInstancesOfferingsInput" -_cDRDBIOM = "com.amazonaws.rds#DescribeReservedDBInstancesOfferingsMessage" -_RDBIO = "ReservedDBInstancesOffering" -_RDBIOL = "ReservedDBInstancesOfferingList" -_DRDBIOO = "DescribeReservedDBInstancesOfferingsOutput" -_cRDBIOM = "com.amazonaws.rds#ReservedDBInstancesOfferingMessage" -_RDBIOe = "ReservedDBInstancesOfferings" -_RDBIONFF = "ReservedDBInstancesOfferingNotFoundFault" -_DRDBIOe = "DescribeReservedDBInstancesOfferings" -_DSVPVI = "DescribeServerlessV2PlatformVersionsInput" -_cDSVPVM = "com.amazonaws.rds#DescribeServerlessV2PlatformVersionsMessage" -_SVPVI = "ServerlessV2PlatformVersionInfo" -_SVPVD = "ServerlessV2PlatformVersionDescription" -_SVPVL = "ServerlessV2PlatformVersionList" -_DSVPVO = "DescribeServerlessV2PlatformVersionsOutput" -_cSVPVM = "com.amazonaws.rds#ServerlessV2PlatformVersionsMessage" -_SVPVe = "ServerlessV2PlatformVersions" -_DSVPV = "DescribeServerlessV2PlatformVersions" -_DSRI = "DescribeSourceRegionsInput" -_cDSRM = "com.amazonaws.rds#DescribeSourceRegionsMessage" -_RNe = "RegionName" -_SDBIABR = "SupportsDBInstanceAutomatedBackupsReplication" -_SRL = "SourceRegionList" -_DSRO = "DescribeSourceRegionsOutput" -_cSRM = "com.amazonaws.rds#SourceRegionMessage" -_SRo = "SourceRegions" -_DSR = "DescribeSourceRegions" -_DTDIe = "DescribeTenantDatabasesInput" -_cDTDMo = "com.amazonaws.rds#DescribeTenantDatabasesMessage" -_TDL = "TenantDatabasesList" -_DTDOe = "DescribeTenantDatabasesOutput" -_cTDM = "com.amazonaws.rds#TenantDatabasesMessage" -_TDe = "TenantDatabases" -_DTDe = "DescribeTenantDatabases" -_DVDBIMI = "DescribeValidDBInstanceModificationsInput" -_cDVDBIMM = "com.amazonaws.rds#DescribeValidDBInstanceModificationsMessage" -_DR = "DoubleRange" -_Fr = "From" -_To = "To" -_DRL = "DoubleRangeList" -_Ra = "Range" -_Ste = "Step" -_RL = "RangeList" -_VSO = "ValidStorageOptions" -_SSt = "StorageSize" -_PI = "ProvisionedIops" -_ITSR = "IopsToStorageRatio" -_PST = "ProvisionedStorageThroughput" -_STTIR = "StorageThroughputToIopsRatio" -_VSOL = "ValidStorageOptionsList" -_VVO = "ValidVolumeOptions" -_Sto = "Storage" -_VVOL = "ValidVolumeOptionsList" -_VASO = "ValidAdditionalStorageOptions" -_Vo = "Volumes" -_VDBIMM = "ValidDBInstanceModificationsMessage" -_VPF = "ValidProcessorFeatures" -_ASd = "AdditionalStorage" -_DVDBIMO = "DescribeValidDBInstanceModificationsOutput" -_cDVDBIMR = "com.amazonaws.rds#DescribeValidDBInstanceModificationsResult" -_DVDBIM = "DescribeValidDBInstanceModifications" -_DHEI = "DisableHttpEndpointInput" -_cDHER = "com.amazonaws.rds#DisableHttpEndpointRequest" -_DHEO = "DisableHttpEndpointOutput" -_cDHERo = "com.amazonaws.rds#DisableHttpEndpointResponse" -_IRSF = "InvalidResourceStateFault" -_DHE = "DisableHttpEndpoint" -_DBLFNFF = "DBLogFileNotFoundFault" -_DDBLFPI = "DownloadDBLogFilePortionInput" -_cDDBLFPM = "com.amazonaws.rds#DownloadDBLogFilePortionMessage" -_NOL = "NumberOfLines" -_DDBLFPO = "DownloadDBLogFilePortionOutput" -_cDDBLFPD = "com.amazonaws.rds#DownloadDBLogFilePortionDetails" -_LFD = "LogFileData" -_ADP = "AdditionalDataPending" -_DDBLFP = "DownloadDBLogFilePortion" -_EHEI = "EnableHttpEndpointInput" -_cEHER = "com.amazonaws.rds#EnableHttpEndpointRequest" -_EHEO = "EnableHttpEndpointOutput" -_cEHERo = "com.amazonaws.rds#EnableHttpEndpointResponse" -_FDBCI = "FailoverDBClusterInput" -_cFDBCM = "com.amazonaws.rds#FailoverDBClusterMessage" -_TDBII = "TargetDBInstanceIdentifier" -_FDBCO = "FailoverDBClusterOutput" -_cFDBCR = "com.amazonaws.rds#FailoverDBClusterResult" -_FDBC = "FailoverDBCluster" -_FGCI = "FailoverGlobalClusterInput" -_cFGCM = "com.amazonaws.rds#FailoverGlobalClusterMessage" -_TDCI = "TargetDbClusterIdentifier" -_ADL = "AllowDataLoss" -_Sw = "Switchover" -_FGCO = "FailoverGlobalClusterOutput" -_cFGCR = "com.amazonaws.rds#FailoverGlobalClusterResult" -_FGC = "FailoverGlobalCluster" -_LTFRI = "ListTagsForResourceInput" -_cLTFRM = "com.amazonaws.rds#ListTagsForResourceMessage" -_LTFRO = "ListTagsForResourceOutput" -_cTLM = "com.amazonaws.rds#TagListMessage" -_LTFR = "ListTagsForResource" -_APS = "AuditPolicyState" -_LP = "LOCKED_POLICY" -_UP_ = "UNLOCKED_POLICY" -_MASI = "ModifyActivityStreamInput" -_cMASR = "com.amazonaws.rds#ModifyActivityStreamRequest" -_MASO = "ModifyActivityStreamOutput" -_cMASRo = "com.amazonaws.rds#ModifyActivityStreamResponse" -_KSN = "KinesisStreamName" -_Mo = "Mode" -_ENAFI = "EngineNativeAuditFieldsIncluded" -_PS = "PolicyStatus" -_MASo = "ModifyActivityStream" -_MCI = "ModifyCertificatesInput" -_cMCM = "com.amazonaws.rds#ModifyCertificatesMessage" -_RCO = "RemoveCustomerOverride" -_MCO = "ModifyCertificatesOutput" -_cMCR = "com.amazonaws.rds#ModifyCertificatesResult" -_MCo = "ModifyCertificates" -_IDBCCF = "InvalidDBClusterCapacityFault" -_MCDBCCI = "ModifyCurrentDBClusterCapacityInput" -_cMCDBCCM = "com.amazonaws.rds#ModifyCurrentDBClusterCapacityMessage" -_MCDBCCO = "ModifyCurrentDBClusterCapacityOutput" -_cDBCCI = "com.amazonaws.rds#DBClusterCapacityInfo" -_PC = "PendingCapacity" -_CCu = "CurrentCapacity" -_MCDBCC = "ModifyCurrentDBClusterCapacity" -_CEVS = "CustomEngineVersionStatus" -_ina = "inactive" -_ier = "inactive_except_restore" -_ier_ = "inactive-except-restore" -_MCDBEVI = "ModifyCustomDBEngineVersionInput" -_cMCDBEVM = "com.amazonaws.rds#ModifyCustomDBEngineVersionMessage" -_MCDBEVO = "ModifyCustomDBEngineVersionOutput" -_MCDBEV = "ModifyCustomDBEngineVersion" -_EDT = "EndDateType" -_unl = "unlimited" -_lim = "limited" -_MDBCRI = "ModifyDBCapacityReservationInput" -_cMDBCRR = "com.amazonaws.rds#ModifyDBCapacityReservationRequest" -_MDBCRO = "ModifyDBCapacityReservationOutput" -_cMDBCRRo = "com.amazonaws.rds#ModifyDBCapacityReservationResponse" -_MDBCR = "ModifyDBCapacityReservation" -_CLEC = "CloudwatchLogsExportConfiguration" -_ELTn = "EnableLogTypes" -_DLT = "DisableLogTypes" -_MDBCI = "ModifyDBClusterInput" -_cMDBCM = "com.amazonaws.rds#ModifyDBClusterMessage" -_NDBCI = "NewDBClusterIdentifier" -_AIp = "ApplyImmediately" -_AMVUl = "AllowMajorVersionUpgrade" -_DBIPGN = "DBInstanceParameterGroupName" -_RMUP = "RotateMasterUserPassword" -_AEMC = "AllowEngineModeChange" -_MDBCO = "ModifyDBClusterOutput" -_cMDBCR = "com.amazonaws.rds#ModifyDBClusterResult" -_STNAF = "StorageTypeNotAvailableFault" -_MDBC = "ModifyDBCluster" -_MDBCEI = "ModifyDBClusterEndpointInput" -_cMDBCEM = "com.amazonaws.rds#ModifyDBClusterEndpointMessage" -_MDBCEO = "ModifyDBClusterEndpointOutput" -_MDBCE = "ModifyDBClusterEndpoint" -_MDBCPGI = "ModifyDBClusterParameterGroupInput" -_cMDBCPGM = "com.amazonaws.rds#ModifyDBClusterParameterGroupMessage" -_MDBCPGO = "ModifyDBClusterParameterGroupOutput" -_cDBCPGNM = "com.amazonaws.rds#DBClusterParameterGroupNameMessage" -_MDBCPG = "ModifyDBClusterParameterGroup" -_MDBCSAI = "ModifyDBClusterSnapshotAttributeInput" -_cMDBCSAM = "com.amazonaws.rds#ModifyDBClusterSnapshotAttributeMessage" -_VTA = "ValuesToAdd" -_VTR = "ValuesToRemove" -_MDBCSAO = "ModifyDBClusterSnapshotAttributeOutput" -_cMDBCSAR = "com.amazonaws.rds#ModifyDBClusterSnapshotAttributeResult" -_SSQEF = "SharedSnapshotQuotaExceededFault" -_MDBCSA = "ModifyDBClusterSnapshotAttribute" -_DBUDFF = "DBUpgradeDependencyFailureFault" -_MASV = "ModifyAdditionalStorageVolume" -_SFD = "SetForDelete" -_MASVL = "ModifyAdditionalStorageVolumesList" -_MDBII = "ModifyDBInstanceInput" -_cMDBIM = "com.amazonaws.rds#ModifyDBInstanceMessage" -_NDBII = "NewDBInstanceIdentifier" -_DD = "DisableDomain" -_DBPNo = "DBPortNumber" -_CRR = "CertificateRotationRestart" -_RFAMM = "ResumeFullAutomationModeMinutes" -_MDBIO = "ModifyDBInstanceOutput" -_cMDBIR = "com.amazonaws.rds#ModifyDBInstanceResult" -_MDBI = "ModifyDBInstance" -_MDBPGI = "ModifyDBParameterGroupInput" -_cMDBPGM = "com.amazonaws.rds#ModifyDBParameterGroupMessage" -_MDBPGO = "ModifyDBParameterGroupOutput" -_cDBPGNM = "com.amazonaws.rds#DBParameterGroupNameMessage" -_MDBPG = "ModifyDBParameterGroup" -_MDBPI = "ModifyDBProxyInput" -_cMDBPR = "com.amazonaws.rds#ModifyDBProxyRequest" -_NDBPN = "NewDBProxyName" -_SG = "SecurityGroups" -_MDBPO = "ModifyDBProxyOutput" -_cMDBPRo = "com.amazonaws.rds#ModifyDBProxyResponse" -_MDBP = "ModifyDBProxy" -_MDBPEI = "ModifyDBProxyEndpointInput" -_cMDBPER = "com.amazonaws.rds#ModifyDBProxyEndpointRequest" -_NDBPEN = "NewDBProxyEndpointName" -_MDBPEO = "ModifyDBProxyEndpointOutput" -_cMDBPERo = "com.amazonaws.rds#ModifyDBProxyEndpointResponse" -_MDBPE = "ModifyDBProxyEndpoint" -_CPCo = "ConnectionPoolConfiguration" -_MDBPTGI = "ModifyDBProxyTargetGroupInput" -_cMDBPTGR = "com.amazonaws.rds#ModifyDBProxyTargetGroupRequest" -_NN = "NewName" -_MDBPTGO = "ModifyDBProxyTargetGroupOutput" -_cMDBPTGRo = "com.amazonaws.rds#ModifyDBProxyTargetGroupResponse" -_MDBPTG = "ModifyDBProxyTargetGroup" -_RAU = "RecommendedActionUpdate" -_RAUL = "RecommendedActionUpdateList" -_MDBRI = "ModifyDBRecommendationInput" -_cMDBRM = "com.amazonaws.rds#ModifyDBRecommendationMessage" -_RAUe = "RecommendedActionUpdates" -_MDBRO = "ModifyDBRecommendationOutput" -_cDBRMo = "com.amazonaws.rds#DBRecommendationMessage" -_MDBR = "ModifyDBRecommendation" -_MDBSGI = "ModifyDBShardGroupInput" -_cMDBSGM = "com.amazonaws.rds#ModifyDBShardGroupMessage" -_MDBSGO = "ModifyDBShardGroupOutput" -_MDBSG = "ModifyDBShardGroup" -_MDBSI = "ModifyDBSnapshotInput" -_cMDBSM = "com.amazonaws.rds#ModifyDBSnapshotMessage" -_MDBSO = "ModifyDBSnapshotOutput" -_cMDBSR = "com.amazonaws.rds#ModifyDBSnapshotResult" -_MDBS = "ModifyDBSnapshot" -_MDBSAI = "ModifyDBSnapshotAttributeInput" -_cMDBSAM = "com.amazonaws.rds#ModifyDBSnapshotAttributeMessage" -_MDBSAO = "ModifyDBSnapshotAttributeOutput" -_cMDBSAR = "com.amazonaws.rds#ModifyDBSnapshotAttributeResult" -_MDBSA = "ModifyDBSnapshotAttribute" -_MDBSGIo = "ModifyDBSubnetGroupInput" -_cMDBSGMo = "com.amazonaws.rds#ModifyDBSubnetGroupMessage" -_MDBSGOo = "ModifyDBSubnetGroupOutput" -_cMDBSGR = "com.amazonaws.rds#ModifyDBSubnetGroupResult" -_SAIU = "SubnetAlreadyInUse" -_MDBSGo = "ModifyDBSubnetGroup" -_MESI = "ModifyEventSubscriptionInput" -_cMESM = "com.amazonaws.rds#ModifyEventSubscriptionMessage" -_MESO = "ModifyEventSubscriptionOutput" -_cMESR = "com.amazonaws.rds#ModifyEventSubscriptionResult" -_MES = "ModifyEventSubscription" -_MGCI = "ModifyGlobalClusterInput" -_cMGCM = "com.amazonaws.rds#ModifyGlobalClusterMessage" -_NGCI = "NewGlobalClusterIdentifier" -_MGCO = "ModifyGlobalClusterOutput" -_cMGCR = "com.amazonaws.rds#ModifyGlobalClusterResult" -_MGC = "ModifyGlobalCluster" -_MII = "ModifyIntegrationInput" -_cMIM = "com.amazonaws.rds#ModifyIntegrationMessage" -_MIO = "ModifyIntegrationOutput" -_MIo = "ModifyIntegration" -_OSL = "OptionSettingsList" -_OCp = "OptionConfiguration" -_OCL = "OptionConfigurationList" -_ONL = "OptionNamesList" -_MOGI = "ModifyOptionGroupInput" -_cMOGM = "com.amazonaws.rds#ModifyOptionGroupMessage" -_OTI = "OptionsToInclude" -_OTR = "OptionsToRemove" -_MOGO = "ModifyOptionGroupOutput" -_cMOGR = "com.amazonaws.rds#ModifyOptionGroupResult" -_MOG = "ModifyOptionGroup" -_MTDI = "ModifyTenantDatabaseInput" -_cMTDM = "com.amazonaws.rds#ModifyTenantDatabaseMessage" -_NTDBN = "NewTenantDBName" -_MTDO = "ModifyTenantDatabaseOutput" -_cMTDR = "com.amazonaws.rds#ModifyTenantDatabaseResult" -_MTD = "ModifyTenantDatabase" -_PRRI = "PromoteReadReplicaInput" -_cPRRM = "com.amazonaws.rds#PromoteReadReplicaMessage" -_PRRO = "PromoteReadReplicaOutput" -_cPRRR = "com.amazonaws.rds#PromoteReadReplicaResult" -_PRR = "PromoteReadReplica" -_PRRDBCI = "PromoteReadReplicaDBClusterInput" -_cPRRDBCM = "com.amazonaws.rds#PromoteReadReplicaDBClusterMessage" -_PRRDBCO = "PromoteReadReplicaDBClusterOutput" -_cPRRDBCR = "com.amazonaws.rds#PromoteReadReplicaDBClusterResult" -_PRRDBC = "PromoteReadReplicaDBCluster" -_PRDBIOI = "PurchaseReservedDBInstancesOfferingInput" -_cPRDBIOM = "com.amazonaws.rds#PurchaseReservedDBInstancesOfferingMessage" -_PRDBIOO = "PurchaseReservedDBInstancesOfferingOutput" -_cPRDBIOR = "com.amazonaws.rds#PurchaseReservedDBInstancesOfferingResult" -_RDBIAEF = "ReservedDBInstanceAlreadyExistsFault" -_RDBIQEF = "ReservedDBInstanceQuotaExceededFault" -_PRDBIO = "PurchaseReservedDBInstancesOffering" -_RDBCI = "RebootDBClusterInput" -_cRDBCM = "com.amazonaws.rds#RebootDBClusterMessage" -_RDBCO = "RebootDBClusterOutput" -_cRDBCR = "com.amazonaws.rds#RebootDBClusterResult" -_RDBC = "RebootDBCluster" -_RDBIIe = "RebootDBInstanceInput" -_cRDBIMo = "com.amazonaws.rds#RebootDBInstanceMessage" -_FF = "ForceFailover" -_RDBIOeb = "RebootDBInstanceOutput" -_cRDBIR = "com.amazonaws.rds#RebootDBInstanceResult" -_RDBIeb = "RebootDBInstance" -_RDBSGI = "RebootDBShardGroupInput" -_cRDBSGM = "com.amazonaws.rds#RebootDBShardGroupMessage" -_RDBSGO = "RebootDBShardGroupOutput" -_RDBSG = "RebootDBShardGroup" -_DBPTARF = "DBProxyTargetAlreadyRegisteredFault" -_IAIPISF = "InsufficientAvailableIPsInSubnetFault" -_RDBPTI = "RegisterDBProxyTargetsInput" -_cRDBPTR = "com.amazonaws.rds#RegisterDBProxyTargetsRequest" -_RDBPTO = "RegisterDBProxyTargetsOutput" -_cRDBPTRo = "com.amazonaws.rds#RegisterDBProxyTargetsResponse" -_DBPTr = "DBProxyTargets" -_RDBPT = "RegisterDBProxyTargets" -_RFGCI = "RemoveFromGlobalClusterInput" -_cRFGCM = "com.amazonaws.rds#RemoveFromGlobalClusterMessage" -_DCIb = "DbClusterIdentifier" -_RFGCO = "RemoveFromGlobalClusterOutput" -_cRFGCR = "com.amazonaws.rds#RemoveFromGlobalClusterResult" -_RFGC = "RemoveFromGlobalCluster" -_DBCRNFFl = "DBClusterRoleNotFoundFault" -_RRFDBCI = "RemoveRoleFromDBClusterInput" -_cRRFDBCM = "com.amazonaws.rds#RemoveRoleFromDBClusterMessage" -_RRFDBCO = "RemoveRoleFromDBClusterOutput" -_RRFDBC = "RemoveRoleFromDBCluster" -_DBIRNFF = "DBInstanceRoleNotFoundFault" -_RRFDBII = "RemoveRoleFromDBInstanceInput" -_cRRFDBIM = "com.amazonaws.rds#RemoveRoleFromDBInstanceMessage" -_RRFDBIO = "RemoveRoleFromDBInstanceOutput" -_RRFDBI = "RemoveRoleFromDBInstance" -_RSIFSI = "RemoveSourceIdentifierFromSubscriptionInput" -_cRSIFSM = "com.amazonaws.rds#RemoveSourceIdentifierFromSubscriptionMessage" -_RSIFSO = "RemoveSourceIdentifierFromSubscriptionOutput" -_cRSIFSR = "com.amazonaws.rds#RemoveSourceIdentifierFromSubscriptionResult" -_RSIFS = "RemoveSourceIdentifierFromSubscription" -_KL = "KeyList" -_RTFRI = "RemoveTagsFromResourceInput" -_cRTFRM = "com.amazonaws.rds#RemoveTagsFromResourceMessage" -_TK = "TagKeys" -_RTFRO = "RemoveTagsFromResourceOutput" -_RTFR = "RemoveTagsFromResource" -_RDBCPGI = "ResetDBClusterParameterGroupInput" -_cRDBCPGM = "com.amazonaws.rds#ResetDBClusterParameterGroupMessage" -_RAPe = "ResetAllParameters" -_RDBCPGO = "ResetDBClusterParameterGroupOutput" -_RDBCPG = "ResetDBClusterParameterGroup" -_RDBPGI = "ResetDBParameterGroupInput" -_cRDBPGM = "com.amazonaws.rds#ResetDBParameterGroupMessage" -_RDBPGO = "ResetDBParameterGroupOutput" -_RDBPG = "ResetDBParameterGroup" -_ISBF = "InvalidS3BucketFault" -_RDBCFSI = "RestoreDBClusterFromS3Input" -_cRDBCFSM = "com.amazonaws.rds#RestoreDBClusterFromS3Message" -_SEo = "SourceEngine" -_SEV = "SourceEngineVersion" -_SBN = "S3BucketName" -_SIRA = "S3IngestionRoleArn" -_RDBCFSO = "RestoreDBClusterFromS3Output" -_cRDBCFSR = "com.amazonaws.rds#RestoreDBClusterFromS3Result" -_RDBCFS = "RestoreDBClusterFromS3" -_IDBCCFn = "InsufficientDBClusterCapacityFault" -_IRF = "InvalidRestoreFault" -_RDBCFSIe = "RestoreDBClusterFromSnapshotInput" -_cRDBCFSMo = "com.amazonaws.rds#RestoreDBClusterFromSnapshotMessage" -_SIn = "SnapshotIdentifier" -_EVPCN = "EnableVPCNetworking" -_EIAG = "EnableInternetAccessGateway" -_RDBCFSOe = "RestoreDBClusterFromSnapshotOutput" -_cRDBCFSRo = "com.amazonaws.rds#RestoreDBClusterFromSnapshotResult" -_RDBCFSe = "RestoreDBClusterFromSnapshot" -_RDBCTPITI = "RestoreDBClusterToPointInTimeInput" -_cRDBCTPITM = "com.amazonaws.rds#RestoreDBClusterToPointInTimeMessage" -_RTe = "RestoreType" -_RTT = "RestoreToTime" -_ULRT = "UseLatestRestorableTime" -_SDCRI = "SourceDbClusterResourceId" -_RDBCTPITO = "RestoreDBClusterToPointInTimeOutput" -_cRDBCTPITR = "com.amazonaws.rds#RestoreDBClusterToPointInTimeResult" -_RDBCTPIT = "RestoreDBClusterToPointInTime" -_RDBIFDBSI = "RestoreDBInstanceFromDBSnapshotInput" -_cRDBIFDBSM = "com.amazonaws.rds#RestoreDBInstanceFromDBSnapshotMessage" -_RDBIFDBSO = "RestoreDBInstanceFromDBSnapshotOutput" -_cRDBIFDBSR = "com.amazonaws.rds#RestoreDBInstanceFromDBSnapshotResult" -_RDBIFDBS = "RestoreDBInstanceFromDBSnapshot" -_RDBIFSI = "RestoreDBInstanceFromS3Input" -_cRDBIFSM = "com.amazonaws.rds#RestoreDBInstanceFromS3Message" -_RDBIFSO = "RestoreDBInstanceFromS3Output" -_cRDBIFSR = "com.amazonaws.rds#RestoreDBInstanceFromS3Result" -_RDBIFS = "RestoreDBInstanceFromS3" -_PITRNEF = "PointInTimeRestoreNotEnabledFault" -_RDBITPITI = "RestoreDBInstanceToPointInTimeInput" -_cRDBITPITM = "com.amazonaws.rds#RestoreDBInstanceToPointInTimeMessage" -_RTes = "RestoreTime" -_SDRI = "SourceDbiResourceId" -_SDBIABA = "SourceDBInstanceAutomatedBackupsArn" -_RDBITPITO = "RestoreDBInstanceToPointInTimeOutput" -_cRDBITPITR = "com.amazonaws.rds#RestoreDBInstanceToPointInTimeResult" -_RDBITPIT = "RestoreDBInstanceToPointInTime" -_RDBSGII = "RevokeDBSecurityGroupIngressInput" -_cRDBSGIM = "com.amazonaws.rds#RevokeDBSecurityGroupIngressMessage" -_RDBSGIO = "RevokeDBSecurityGroupIngressOutput" -_cRDBSGIR = "com.amazonaws.rds#RevokeDBSecurityGroupIngressResult" -_RDBSGIe = "RevokeDBSecurityGroupIngress" -_SASI = "StartActivityStreamInput" -_cSASR = "com.amazonaws.rds#StartActivityStreamRequest" -_SASO = "StartActivityStreamOutput" -_cSASRo = "com.amazonaws.rds#StartActivityStreamResponse" -_SAS = "StartActivityStream" -_SDBCIt = "StartDBClusterInput" -_cSDBCM = "com.amazonaws.rds#StartDBClusterMessage" -_SDBCO = "StartDBClusterOutput" -_cSDBCR = "com.amazonaws.rds#StartDBClusterResult" -_SDBC = "StartDBCluster" -_SDBIIt = "StartDBInstanceInput" -_cSDBIM = "com.amazonaws.rds#StartDBInstanceMessage" -_SDBIO = "StartDBInstanceOutput" -_cSDBIR = "com.amazonaws.rds#StartDBInstanceResult" -_SDBI = "StartDBInstance" -_SDBIABRI = "StartDBInstanceAutomatedBackupsReplicationInput" -_cSDBIABRM = "com.amazonaws.rds#StartDBInstanceAutomatedBackupsReplicationMessage" -_SDBIA = "SourceDBInstanceArn" -_SDBIABRO = "StartDBInstanceAutomatedBackupsReplicationOutput" -_cSDBIABRR = "com.amazonaws.rds#StartDBInstanceAutomatedBackupsReplicationResult" -_SDBIABRt = "StartDBInstanceAutomatedBackupsReplication" -_ETAEF = "ExportTaskAlreadyExistsFault" -_IRMPF = "IamRoleMissingPermissionsFault" -_IRNFF = "IamRoleNotFoundFault" -_IEOF = "InvalidExportOnlyFault" -_IESSFn = "InvalidExportSourceStateFault" -_SETI = "StartExportTaskInput" -_cSETM = "com.amazonaws.rds#StartExportTaskMessage" -_SETO = "StartExportTaskOutput" -_SETt = "StartExportTask" -_SASIt = "StopActivityStreamInput" -_cSASRom = "com.amazonaws.rds#StopActivityStreamRequest" -_SASOt = "StopActivityStreamOutput" -_cSASRoma = "com.amazonaws.rds#StopActivityStreamResponse" -_SASt = "StopActivityStream" -_SDBCIto = "StopDBClusterInput" -_cSDBCMo = "com.amazonaws.rds#StopDBClusterMessage" -_SDBCOt = "StopDBClusterOutput" -_cSDBCRo = "com.amazonaws.rds#StopDBClusterResult" -_SDBCt = "StopDBCluster" -_SDBIIto = "StopDBInstanceInput" -_cSDBIMo = "com.amazonaws.rds#StopDBInstanceMessage" -_DFDBCR = "DetachFromDBCapacityReservation" -_SDBIOt = "StopDBInstanceOutput" -_cSDBIRo = "com.amazonaws.rds#StopDBInstanceResult" -_SDBIt = "StopDBInstance" -_SDBIABRIt = "StopDBInstanceAutomatedBackupsReplicationInput" -_cSDBIABRMo = "com.amazonaws.rds#StopDBInstanceAutomatedBackupsReplicationMessage" -_SDBIABROt = "StopDBInstanceAutomatedBackupsReplicationOutput" -_cSDBIABRRo = "com.amazonaws.rds#StopDBInstanceAutomatedBackupsReplicationResult" -_SDBIABRto = "StopDBInstanceAutomatedBackupsReplication" -_STw = "SwitchoverTimeout" -_SBGDI = "SwitchoverBlueGreenDeploymentInput" -_cSBGDR = "com.amazonaws.rds#SwitchoverBlueGreenDeploymentRequest" -_SBGDO = "SwitchoverBlueGreenDeploymentOutput" -_cSBGDRo = "com.amazonaws.rds#SwitchoverBlueGreenDeploymentResponse" -_SBGD = "SwitchoverBlueGreenDeployment" -_SGCI = "SwitchoverGlobalClusterInput" -_cSGCM = "com.amazonaws.rds#SwitchoverGlobalClusterMessage" -_SGCO = "SwitchoverGlobalClusterOutput" -_cSGCR = "com.amazonaws.rds#SwitchoverGlobalClusterResult" -_SGC = "SwitchoverGlobalCluster" -_SRRI = "SwitchoverReadReplicaInput" -_cSRRM = "com.amazonaws.rds#SwitchoverReadReplicaMessage" -_SRRO = "SwitchoverReadReplicaOutput" -_cSRRR = "com.amazonaws.rds#SwitchoverReadReplicaResult" -_SRRw = "SwitchoverReadReplica" -_ARDS = "AmazonRDSv19" -_aw = "aws.auth#sigv4" -_aQ = "aws.protocols#awsQuery" -_aws = "aws.api#service" -_sNm = "smithy.api#xmlNamespace" - -STRING: StaticSchema = (3, n0, _S, 0) - -LONG: StaticSchema = (8, n0, _L, 0) - -ACCOUNT_QUOTA: StaticSchema = ( - 18, - n0, - _AQ, - 0, - (_AQN, _U, _M), - ((STRING, 0), (LONG, 0), (LONG, 0)), -) - -ACCOUNT_QUOTA_LIST: StaticSchema = ( - 16, - n0, - _AQL, - 0, - (_m,), - ((ACCOUNT_QUOTA, {_sN: _AQ}),), -) - -ACTIVITY_STREAM_MODE: StaticSchema = ( - 14, - n0, - _ASM, - 0, - (_s, _a), - ((-1, {_sV: _s}), (-1, {_sV: _a})), -) - -ACTIVITY_STREAM_MODE_LIST: StaticSchema = (16, n0, _ASML, 0, (_m,), ((STRING, 0),)) - -ACTIVITY_STREAM_POLICY_STATUS: StaticSchema = ( - 14, - n0, - _ASPS, - 0, - (_l, _u, _lp, _up), - ((-1, {_sV: _l}), (-1, {_sV: _u}), (-1, {_sV: _lp_}), (-1, {_sV: _up_})), -) - -ACTIVITY_STREAM_STATUS: StaticSchema = ( - 14, - n0, - _ASS, - 0, - (_st, _sta, _star, _sto), - ((-1, {_sV: _st}), (-1, {_sV: _sta}), (-1, {_sV: _star}), (-1, {_sV: _sto})), -) - -INTEGER_OPTIONAL: StaticSchema = (7, n0, _IO, 0) - -ADDITIONAL_STORAGE_VOLUME: StaticSchema = ( - 18, - n0, - _ASV, - 0, - (_VN, _AS, _IOPS, _MAS, _ST, _STt), - ( - (STRING, 1), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -INTEGER: StaticSchema = (7, n0, _I, 0) - -ADDITIONAL_STORAGE_VOLUME_OUTPUT: StaticSchema = ( - 18, - n0, - _ASVO, - 0, - (_VN, _SVS, _SOS, _SOPP, _AS, _IOPS, _MAS, _ST, _STt), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -ADDITIONAL_STORAGE_VOLUMES_LIST: StaticSchema = ( - 16, - n0, - _ASVL, - 0, - (_m,), - ((ADDITIONAL_STORAGE_VOLUME, 0),), -) - -ADDITIONAL_STORAGE_VOLUMES_OUTPUT_LIST: StaticSchema = ( - 16, - n0, - _ASVOL, - 0, - (_m,), - ((ADDITIONAL_STORAGE_VOLUME_OUTPUT, 0),), -) - -IAM_ROLE_ARN: StaticSchema = (3, n0, _IAMRA, 0) - -ADD_ROLE_TO_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _ARTDBCI, - {_sSI: _cARTDBCM, _smi: None}, - (_DBCI, _RA, _FN), - ((STRING, 1), (IAM_ROLE_ARN, 1), (STRING, 0)), -) - -ADD_ROLE_TO_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _ARTDBCO, - {_sSI: _sU, _smit: None}, -) - -EXCEPTION_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -DB_CLUSTER_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBCNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBClusterNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_CLUSTER_ROLE_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBCRAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBClusterRoleAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBCRQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBClusterRoleQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_CLUSTER_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBCSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBClusterStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -ADD_ROLE_TO_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _ARTDBC, - 0, - ADD_ROLE_TO_DB_CLUSTER_INPUT, - ADD_ROLE_TO_DB_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_ROLE_ALREADY_EXISTS_FAULT, - DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - ), -) - -ADD_ROLE_TO_DB_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _ARTDBII, - {_sSI: _cARTDBIM, _smi: None}, - (_DBII, _RA, _FN), - ((STRING, 1), (STRING, 1), (STRING, 1)), -) - -ADD_ROLE_TO_DB_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _ARTDBIO, - {_sSI: _sU, _smit: None}, -) - -DB_INSTANCE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBINFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "DBInstanceNotFound", "httpResponseCode": 404}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_INSTANCE_ROLE_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBIRAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBInstanceRoleAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_INSTANCE_ROLE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBIRQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBInstanceRoleQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_INSTANCE_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBISF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBInstanceState", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -ADD_ROLE_TO_DB_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _ARTDBI, - 0, - ADD_ROLE_TO_DB_INSTANCE_INPUT, - ADD_ROLE_TO_DB_INSTANCE_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - DB_INSTANCE_ROLE_ALREADY_EXISTS_FAULT, - DB_INSTANCE_ROLE_QUOTA_EXCEEDED_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - ), -) - -ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _ASITSI, - {_sSI: _cASITSM, _smi: None}, - (_SN, _SI), - ((STRING, 1), (STRING, 1)), -) - -BOOLEAN: StaticSchema = (2, n0, _B, 0) - -EVENT_CATEGORIES_LIST: StaticSchema = (16, n0, _ECL, 0, (_m,), ((STRING, {_sN: _EC}),)) - -SOURCE_IDS_LIST: StaticSchema = (16, n0, _SIL, 0, (_m,), ((STRING, {_sN: _SIo}),)) - -EVENT_SUBSCRIPTION: StaticSchema = ( - 18, - n0, - _ES, - 0, - (_CAI, _CSI, _STA, _St, _SCT, _STo, _SIL, _ECL, _E, _ESA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (SOURCE_IDS_LIST, 0), - (EVENT_CATEGORIES_LIST, 0), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _ASITSO, - {_sSI: _cASITSR, _smit: None}, - (_ES,), - ((EVENT_SUBSCRIPTION, 0),), -) - -SOURCE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _SNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "SourceNotFound", "httpResponseCode": 404}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SUBSCRIPTION_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _SNFFu, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "SubscriptionNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _ASITS, - 0, - ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_INPUT, - ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_OUTPUT, - (SOURCE_NOT_FOUND_FAULT, SUBSCRIPTION_NOT_FOUND_FAULT), -) - -TAG: StaticSchema = (18, n0, _T, 0, (_K, _V), ((STRING, 0), (STRING, 0))) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, {_sN: _T}),)) - -ADD_TAGS_TO_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _ATTRI, - {_sSI: _cATTRM, _smi: None}, - (_RN, _Ta), - ((STRING, 1), (TAG_LIST, 1)), -) - -ADD_TAGS_TO_RESOURCE_OUTPUT: StaticSchema = (18, n0, _ATTRO, {_sSI: _sU, _smit: None}) - -BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _BGDNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "BlueGreenDeploymentNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBCRNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBCapacityReservationNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_PROXY_ENDPOINT_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBPENFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBProxyEndpointNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_PROXY_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBPNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBProxyNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBPTGNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBProxyTargetGroupNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SHARD_GROUP_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBSGNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBShardGroupNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SNAPSHOT_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBSNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "DBSnapshotNotFound", "httpResponseCode": 404}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SNAPSHOT_TENANT_DATABASE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBSTDNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBSnapshotTenantDatabaseNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INTEGRATION_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _INFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "IntegrationNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBCESF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBClusterEndpointStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -TENANT_DATABASE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _TDNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "TenantDatabaseNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -ADD_TAGS_TO_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _ATTR, - 0, - ADD_TAGS_TO_RESOURCE_INPUT, - ADD_TAGS_TO_RESOURCE_OUTPUT, - ( - BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, - DB_PROXY_NOT_FOUND_FAULT, - DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, - DB_SHARD_GROUP_NOT_FOUND_FAULT, - DB_SNAPSHOT_NOT_FOUND_FAULT, - DB_SNAPSHOT_TENANT_DATABASE_NOT_FOUND_FAULT, - INTEGRATION_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - TENANT_DATABASE_NOT_FOUND_FAULT, - ), -) - -APPLY_PENDING_MAINTENANCE_ACTION_INPUT: StaticSchema = ( - 18, - n0, - _APMAI, - {_sSI: _cAPMAM, _smi: None}, - (_RI, _AA, _OIT), - ((STRING, 1), (STRING, 1), (STRING, 1)), -) - -T_STAMP: StaticSchema = (4, n0, _TS, 0) - -PENDING_MAINTENANCE_ACTION: StaticSchema = ( - 18, - n0, - _PMA, - 0, - (_A, _AAAD, _FAD, _OIS, _CAD, _D), - ((STRING, 0), (T_STAMP, 0), (T_STAMP, 0), (STRING, 0), (T_STAMP, 0), (STRING, 0)), -) - -PENDING_MAINTENANCE_ACTION_DETAILS: StaticSchema = ( - 16, - n0, - _PMAD, - 0, - (_m,), - ((PENDING_MAINTENANCE_ACTION, {_sN: _PMA}),), -) - -RESOURCE_PENDING_MAINTENANCE_ACTIONS: StaticSchema = ( - 18, - n0, - _RPMA, - 0, - (_RI, _PMAD), - ((STRING, 0), (PENDING_MAINTENANCE_ACTION_DETAILS, 0)), -) - -APPLY_PENDING_MAINTENANCE_ACTION_OUTPUT: StaticSchema = ( - 18, - n0, - _APMAO, - {_sSI: _cAPMAR, _smit: None}, - (_RPMA,), - ((RESOURCE_PENDING_MAINTENANCE_ACTIONS, 0),), -) - -RESOURCE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _RNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "ResourceNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -APPLY_PENDING_MAINTENANCE_ACTION: StaticOperationSchema = ( - 23, - n0, - _APMA, - 0, - APPLY_PENDING_MAINTENANCE_ACTION_INPUT, - APPLY_PENDING_MAINTENANCE_ACTION_OUTPUT, - ( - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - RESOURCE_NOT_FOUND_FAULT, - ), -) - -AUTHORIZATION_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _AAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "AuthorizationAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -AUTHORIZATION_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _AQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "AuthorizationQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -AUTHORIZE_DB_SECURITY_GROUP_INGRESS_INPUT: StaticSchema = ( - 18, - n0, - _ADBSGII, - {_sSI: _cADBSGIM, _smi: None}, - (_DBSGN, _CIDRIP, _ECSGN, _ECSGI, _ECSGOI), - ((STRING, 1), (STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -EC2_SECURITY_GROUP: StaticSchema = ( - 18, - n0, - _ECSG, - 0, - (_St, _ECSGN, _ECSGI, _ECSGOI), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -EC2_SECURITY_GROUP_LIST: StaticSchema = ( - 16, - n0, - _ECSGL, - 0, - (_m,), - ((EC2_SECURITY_GROUP, {_sN: _ECSG}),), -) - -IP_RANGE: StaticSchema = (18, n0, _IPR, 0, (_St, _CIDRIP), ((STRING, 0), (STRING, 0))) - -IP_RANGE_LIST: StaticSchema = (16, n0, _IPRL, 0, (_m,), ((IP_RANGE, {_sN: _IPR}),)) - -DB_SECURITY_GROUP: StaticSchema = ( - 18, - n0, - _DBSG, - 0, - (_OI, _DBSGN, _DBSGD, _VI, _ECSGe, _IPRa, _DBSGA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (EC2_SECURITY_GROUP_LIST, 0), - (IP_RANGE_LIST, 0), - (STRING, 0), - ), -) - -AUTHORIZE_DB_SECURITY_GROUP_INGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _ADBSGIO, - {_sSI: _cADBSGIR, _smit: None}, - (_DBSG,), - ((DB_SECURITY_GROUP, 0),), -) - -DB_SECURITY_GROUP_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBSGNFFe, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBSecurityGroupNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_SECURITY_GROUP_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBSGSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBSecurityGroupState", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -AUTHORIZE_DB_SECURITY_GROUP_INGRESS: StaticOperationSchema = ( - 23, - n0, - _ADBSGI, - 0, - AUTHORIZE_DB_SECURITY_GROUP_INGRESS_INPUT, - AUTHORIZE_DB_SECURITY_GROUP_INGRESS_OUTPUT, - ( - AUTHORIZATION_ALREADY_EXISTS_FAULT, - AUTHORIZATION_QUOTA_EXCEEDED_FAULT, - DB_SECURITY_GROUP_NOT_FOUND_FAULT, - INVALID_DB_SECURITY_GROUP_STATE_FAULT, - ), -) - -BOOLEAN_OPTIONAL: StaticSchema = (2, n0, _BO, 0) - -BACKTRACK_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _BDBCI, - {_sSI: _cBDBCM, _smi: None}, - (_DBCI, _BT, _F, _UETOPITU), - ((STRING, 1), (T_STAMP, 1), (BOOLEAN_OPTIONAL, 0), (BOOLEAN_OPTIONAL, 0)), -) - -BACKTRACK_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _BDBCO, - {_sSI: _cDBCB, _smit: None}, - (_DBCI, _BI, _BT, _BF, _BRCT, _St), - ((STRING, 0), (STRING, 0), (T_STAMP, 0), (T_STAMP, 0), (T_STAMP, 0), (STRING, 0)), -) - -BACKTRACK_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _BDBC, - 0, - BACKTRACK_DB_CLUSTER_INPUT, - BACKTRACK_DB_CLUSTER_OUTPUT, - (DB_CLUSTER_NOT_FOUND_FAULT, INVALID_DB_CLUSTER_STATE_FAULT), -) - -DB_CAPACITY_RESERVATION_IDENTIFIER: StaticSchema = (3, n0, _DBCRI, 0) - -CANCEL_DB_CAPACITY_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _CDBCRI, - {_sSI: _cCDBCRR, _smi: None}, - (_DBCRI,), - ((DB_CAPACITY_RESERVATION_IDENTIFIER, 1),), -) - -AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE: StaticSchema = ( - 18, - n0, - _ACPAZ, - 0, - (_AZ, _AC), - ((STRING, 0), (INTEGER_OPTIONAL, 0)), -) - -AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE_LIST: StaticSchema = ( - 16, - n0, - _ACPAZL, - 0, - (_m,), - ((AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE, {_sN: _ACPAZ}),), -) - -DB_CAPACITY_RESERVATION_COMMITMENT_INFO: StaticSchema = ( - 18, - n0, - _DBCRCI, - 0, - (_CCPAZ, _CED), - ((INTEGER_OPTIONAL, 0), (T_STAMP, 0)), -) - -DB_CAPACITY_RESERVATION_NAME: StaticSchema = (3, n0, _DBCRN, 0) - -DB_INSTANCE_CLASS: StaticSchema = (3, n0, _DBIC, 0) - -DB_CAPACITY_RESERVATION_STATE: StaticSchema = ( - 14, - n0, - _DBCRS, - 0, - (_ac, _e, _ca, _p, _f, _as, _sc, _d, _un), - ( - (-1, {_sV: _ac}), - (-1, {_sV: _e}), - (-1, {_sV: _ca}), - (-1, {_sV: _p}), - (-1, {_sV: _f}), - (-1, {_sV: _as}), - (-1, {_sV: _sc}), - (-1, {_sV: _d}), - (-1, {_sV: _un}), - ), -) - -DB_CAPACITY_RESERVATION: StaticSchema = ( - 18, - n0, - _DBCR, - 0, - ( - _DBCRN, - _DBIC, - _En, - _LM, - _RCPAZ, - _ACPAZL, - _ED, - _CD, - _SD, - _CI, - _Sta, - _DBCRA, - _DBCRI, - _TL, - ), - ( - (DB_CAPACITY_RESERVATION_NAME, 0), - (DB_INSTANCE_CLASS, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE_LIST, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (DB_CAPACITY_RESERVATION_COMMITMENT_INFO, 0), - (DB_CAPACITY_RESERVATION_STATE, 0), - (STRING, 0), - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - (TAG_LIST, 0), - ), -) - -CANCEL_DB_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBCRO, - {_sSI: _cCDBCRRo, _smit: None}, - (_DBCR,), - ((DB_CAPACITY_RESERVATION, 0),), -) - -INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBCRSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBCapacityReservationState", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CANCEL_DB_CAPACITY_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _CDBCR, - 0, - CANCEL_DB_CAPACITY_RESERVATION_INPUT, - CANCEL_DB_CAPACITY_RESERVATION_OUTPUT, - ( - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - ), -) - -CANCEL_EXPORT_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CETI, - {_sSI: _cCETM, _smi: None}, - (_ETI,), - ((STRING, 1),), -) - -STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_m,), ((STRING, 0),)) - -EXPORT_SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _EST, - 0, - (_SNAPSHOT, _CLUSTER), - ((-1, {_sV: _SNAPSHOT}), (-1, {_sV: _CLUSTER})), -) - -CANCEL_EXPORT_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CETO, - {_sSI: _cET, _smit: None}, - ( - _ETI, - _SA, - _EO, - _STn, - _TST, - _TET, - _SB, - _SP, - _IRA, - _KKI, - _St, - _PP, - _TEDIGB, - _FC, - _WM, - _STo, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (EXPORT_SOURCE_TYPE, 0), - ), -) - -EXPORT_TASK_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _ETNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "ExportTaskNotFound", "httpResponseCode": 404}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_EXPORT_TASK_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IETSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidExportTaskStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CANCEL_EXPORT_TASK: StaticOperationSchema = ( - 23, - n0, - _CET, - 0, - CANCEL_EXPORT_TASK_INPUT, - CANCEL_EXPORT_TASK_OUTPUT, - (EXPORT_TASK_NOT_FOUND_FAULT, INVALID_EXPORT_TASK_STATE_FAULT), -) - -COPY_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CDBCPGI, - {_sSI: _cCDBCPGM, _smi: None}, - (_SDBCPGI, _TDBCPGI, _TDBCPGD, _Ta), - ((STRING, 1), (STRING, 1), (STRING, 1), (TAG_LIST, 0)), -) - -DB_CLUSTER_PARAMETER_GROUP: StaticSchema = ( - 18, - n0, - _DBCPG, - 0, - (_DBCPGN, _DBPGF, _D, _DBCPGA), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -COPY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBCPGO, - {_sSI: _cCDBCPGR, _smit: None}, - (_DBCPG,), - ((DB_CLUSTER_PARAMETER_GROUP, 0),), -) - -DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBPGAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBParameterGroupAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_PARAMETER_GROUP_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBPGNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBParameterGroupNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBPGQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBParameterGroupQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -COPY_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _CDBCPG, - 0, - COPY_DB_CLUSTER_PARAMETER_GROUP_INPUT, - COPY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, - ( - DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT, - ), -) - -SENSITIVE_STRING: StaticSchema = (3, n0, _SS, 4) - -COPY_DB_CLUSTER_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _CDBCSI, - {_sSI: _cCDBCSM, _smi: None}, - (_SDBCSI, _TDBCSI, _KKI, _PSU, _CT, _Ta), - ( - (STRING, 1), - (STRING, 1), - (STRING, 0), - (SENSITIVE_STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (TAG_LIST, 0), - ), -) - -AVAILABILITY_ZONES: StaticSchema = (16, n0, _AZv, 0, (_m,), ((STRING, {_sN: _AZ}),)) - -STORAGE_ENCRYPTION_TYPE: StaticSchema = ( - 14, - n0, - _SET, - 0, - (_UNENCRYPTED, _CMK, _SSE), - ((-1, {_sV: _n}), (-1, {_sV: _sk}), (-1, {_sV: _sr})), -) - -DB_CLUSTER_SNAPSHOT: StaticSchema = ( - 18, - n0, - _DBCS, - 0, - ( - _AZv, - _DBCSI, - _DBCI, - _SCTn, - _En, - _EMn, - _AS, - _St, - _P, - _VI, - _CCT, - _MU, - _EV, - _LM, - _STna, - _PP, - _SE, - _SET, - _BRP, - _PBW, - _KKI, - _DBCSA, - _SDBCSA, - _IAMDAE, - _TL, - _STt, - _ST, - _DCRI, - _DBSI, - ), - ( - (AVAILABILITY_ZONES, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (BOOLEAN, 0), - (STORAGE_ENCRYPTION_TYPE, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (TAG_LIST, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - ), -) - -COPY_DB_CLUSTER_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBCSO, - {_sSI: _cCDBCSR, _smit: None}, - (_DBCS,), - ((DB_CLUSTER_SNAPSHOT, 0),), -) - -DB_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBCSAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBClusterSnapshotAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBCSNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBClusterSnapshotNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBCSSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBClusterSnapshotStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -KMS_KEY_NOT_ACCESSIBLE_FAULT: StaticSchema = ( - 18, - n0, - _KMSKNAF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "KMSKeyNotAccessibleFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SNAPSHOT_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _SQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "SnapshotQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -COPY_DB_CLUSTER_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _CDBCS, - 0, - COPY_DB_CLUSTER_SNAPSHOT_INPUT, - COPY_DB_CLUSTER_SNAPSHOT_OUTPUT, - ( - DB_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT, - DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - SNAPSHOT_QUOTA_EXCEEDED_FAULT, - ), -) - -COPY_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CDBPGI, - {_sSI: _cCDBPGM, _smi: None}, - (_SDBPGI, _TDBPGI, _TDBPGD, _Ta), - ((STRING, 1), (STRING, 1), (STRING, 1), (TAG_LIST, 0)), -) - -DB_PARAMETER_GROUP: StaticSchema = ( - 18, - n0, - _DBPG, - 0, - (_DBPGN, _DBPGF, _D, _DBPGA), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -COPY_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBPGO, - {_sSI: _cCDBPGR, _smit: None}, - (_DBPG,), - ((DB_PARAMETER_GROUP, 0),), -) - -COPY_DB_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _CDBPG, - 0, - COPY_DB_PARAMETER_GROUP_INPUT, - COPY_DB_PARAMETER_GROUP_OUTPUT, - ( - DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT, - ), -) - -TAG_SPECIFICATION: StaticSchema = ( - 18, - n0, - _TSa, - 0, - (_RT, _Ta), - ((STRING, 0), (TAG_LIST, 0)), -) - -TAG_SPECIFICATION_LIST: StaticSchema = ( - 16, - n0, - _TSL, - 0, - (_m,), - ((TAG_SPECIFICATION, {_sN: _i}),), -) - -COPY_DB_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _CDBSI, - {_sSI: _cCDBSM, _smi: None}, - (_SDBSI, _TDBSI, _KKI, _Ta, _CT, _PSU, _OGN, _TCAZ, _STnap, _COG, _SAZ, _TSag), - ( - (STRING, 1), - (STRING, 1), - (STRING, 0), - (TAG_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (SENSITIVE_STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, 0), - ), -) - -LONG_OPTIONAL: StaticSchema = (8, n0, _LO, 0) - -PROCESSOR_FEATURE: StaticSchema = (18, n0, _PF, 0, (_N, _V), ((STRING, 0), (STRING, 0))) - -PROCESSOR_FEATURE_LIST: StaticSchema = ( - 16, - n0, - _PFL, - 0, - (_m,), - ((PROCESSOR_FEATURE, {_sN: _PF}),), -) - -DB_SNAPSHOT: StaticSchema = ( - 18, - n0, - _DBS, - 0, - ( - _DBSIn, - _DBII, - _SCTn, - _En, - _AS, - _St, - _P, - _AZ, - _VI, - _ICT, - _MU, - _EV, - _LM, - _STna, - _Io, - _ST, - _OGN, - _PP, - _SR, - _SDBSI, - _STt, - _TCA, - _Enc, - _SET, - _BRP, - _PBW, - _KKI, - _DBSA, - _Ti, - _IAMDAE, - _PFr, - _DRI, - _TL, - _STnap, - _OSCT, - _SDT, - _DBSI, - _MT, - _DLV, - _ASVd, - _SAZ, - _FSSIB, - ), - ( - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (STORAGE_ENCRYPTION_TYPE, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (PROCESSOR_FEATURE_LIST, 0), - (STRING, 0), - (TAG_LIST, 0), - (STRING, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - (ADDITIONAL_STORAGE_VOLUMES_LIST, 0), - (STRING, 0), - (LONG_OPTIONAL, 0), - ), -) - -COPY_DB_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBSO, - {_sSI: _cCDBSR, _smit: None}, - (_DBS,), - ((DB_SNAPSHOT, 0),), -) - -CUSTOM_AVAILABILITY_ZONE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _CAZNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "CustomAvailabilityZoneNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SNAPSHOT_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBSAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBSnapshotAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_SNAPSHOT_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBSSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBSnapshotState", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -COPY_DB_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _CDBS, - 0, - COPY_DB_SNAPSHOT_INPUT, - COPY_DB_SNAPSHOT_OUTPUT, - ( - CUSTOM_AVAILABILITY_ZONE_NOT_FOUND_FAULT, - DB_SNAPSHOT_ALREADY_EXISTS_FAULT, - DB_SNAPSHOT_NOT_FOUND_FAULT, - INVALID_DB_SNAPSHOT_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - SNAPSHOT_QUOTA_EXCEEDED_FAULT, - ), -) - -COPY_OPTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _COGI, - {_sSI: _cCOGM, _smi: None}, - (_SOGI, _TOGI, _TOGD, _Ta), - ((STRING, 1), (STRING, 1), (STRING, 1), (TAG_LIST, 0)), -) - -DB_SECURITY_GROUP_MEMBERSHIP: StaticSchema = ( - 18, - n0, - _DBSGM, - 0, - (_DBSGN, _St), - ((STRING, 0), (STRING, 0)), -) - -DB_SECURITY_GROUP_MEMBERSHIP_LIST: StaticSchema = ( - 16, - n0, - _DBSGML, - 0, - (_m,), - ((DB_SECURITY_GROUP_MEMBERSHIP, {_sN: _DBSG}),), -) - -POTENTIALLY_SENSITIVE_OPTION_SETTING_VALUE: StaticSchema = (3, n0, _PSOSV, 4) - -OPTION_SETTING: StaticSchema = ( - 18, - n0, - _OS, - 0, - (_N, _V, _DV, _D, _AT, _DT, _AV, _IM, _IC), - ( - (STRING, 0), - (POTENTIALLY_SENSITIVE_OPTION_SETTING_VALUE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - ), -) - -OPTION_SETTING_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _OSCL, - 0, - (_m,), - ((OPTION_SETTING, {_sN: _OS}),), -) - -VPC_SECURITY_GROUP_MEMBERSHIP: StaticSchema = ( - 18, - n0, - _VSGM, - 0, - (_VSGI, _St), - ((STRING, 0), (STRING, 0)), -) - -VPC_SECURITY_GROUP_MEMBERSHIP_LIST: StaticSchema = ( - 16, - n0, - _VSGML, - 0, - (_m,), - ((VPC_SECURITY_GROUP_MEMBERSHIP, {_sN: _VSGM}),), -) - -OPTION: StaticSchema = ( - 18, - n0, - _O, - 0, - (_ON, _OD, _Pe, _Per, _P, _OV, _OSp, _DBSGMe, _VSGMp), - ( - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (OPTION_SETTING_CONFIGURATION_LIST, 0), - (DB_SECURITY_GROUP_MEMBERSHIP_LIST, 0), - (VPC_SECURITY_GROUP_MEMBERSHIP_LIST, 0), - ), -) - -OPTIONS_LIST: StaticSchema = (16, n0, _OL, 0, (_m,), ((OPTION, {_sN: _O}),)) - -OPTION_GROUP: StaticSchema = ( - 18, - n0, - _OG, - 0, - (_OGN, _OGD, _EN, _MEV, _Op, _AVANVIM, _VI, _OGA, _SOG, _SAI, _CTo, _SR), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (OPTIONS_LIST, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (STRING, 0), - ), -) - -COPY_OPTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _COGO, - {_sSI: _cCOGR, _smit: None}, - (_OG,), - ((OPTION_GROUP, 0),), -) - -OPTION_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _OGAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "OptionGroupAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -OPTION_GROUP_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _OGNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "OptionGroupNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -OPTION_GROUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _OGQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "OptionGroupQuotaExceededFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -COPY_OPTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _COG, - 0, - COPY_OPTION_GROUP_INPUT, - COPY_OPTION_GROUP_OUTPUT, - ( - OPTION_GROUP_ALREADY_EXISTS_FAULT, - OPTION_GROUP_NOT_FOUND_FAULT, - OPTION_GROUP_QUOTA_EXCEEDED_FAULT, - ), -) - -BLUE_GREEN_DEPLOYMENT_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _BGDAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "BlueGreenDeploymentAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -BLUE_GREEN_DEPLOYMENT_NAME: StaticSchema = (3, n0, _BGDN, 0) - -DATABASE_ARN: StaticSchema = (3, n0, _DA, 0) - -TARGET_DB_CLUSTER_PARAMETER_GROUP_NAME: StaticSchema = (3, n0, _TDBCPGN, 0) - -TARGET_DB_INSTANCE_CLASS: StaticSchema = (3, n0, _TDBIC, 0) - -TARGET_DB_PARAMETER_GROUP_NAME: StaticSchema = (3, n0, _TDBPGN, 0) - -TARGET_ENGINE_VERSION: StaticSchema = (3, n0, _TEV, 0) - -DB_AND_CLUSTER_ARN: StaticSchema = (3, n0, _DBACA, 0) - -KMS_KEY_ID_OR_ARN: StaticSchema = (3, n0, _KKIOA, 0) - -TARGET_RESOURCE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TRC, - 0, - (_SA, _TKKI), - ((DB_AND_CLUSTER_ARN, 1), (KMS_KEY_ID_OR_ARN, 0)), -) - -TARGET_RESOURCE_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _TRCL, - 0, - (_m,), - ((TARGET_RESOURCE_CONFIGURATION, {_sN: _TRC}),), -) - -TARGET_STORAGE_TYPE: StaticSchema = (3, n0, _TSTa, 0) - -CREATE_BLUE_GREEN_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _CBGDI, - {_sSI: _cCBGDR, _smi: None}, - ( - _BGDN, - _So, - _TEV, - _TDBPGN, - _TDBCPGN, - _Ta, - _TDBIC, - _UTSC, - _TI, - _TSTa, - _TAS, - _TSTar, - _TRCa, - ), - ( - (BLUE_GREEN_DEPLOYMENT_NAME, 1), - (DATABASE_ARN, 1), - (TARGET_ENGINE_VERSION, 0), - (TARGET_DB_PARAMETER_GROUP_NAME, 0), - (TARGET_DB_CLUSTER_PARAMETER_GROUP_NAME, 0), - (TAG_LIST, 0), - (TARGET_DB_INSTANCE_CLASS, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (TARGET_STORAGE_TYPE, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (TARGET_RESOURCE_CONFIGURATION_LIST, 0), - ), -) - -BLUE_GREEN_DEPLOYMENT_IDENTIFIER: StaticSchema = (3, n0, _BGDI, 0) - -BLUE_GREEN_DEPLOYMENT_STATUS: StaticSchema = (3, n0, _BGDS, 0) - -BLUE_GREEN_DEPLOYMENT_STATUS_DETAILS: StaticSchema = (3, n0, _BGDSD, 0) - -SWITCHOVER_DETAIL_STATUS: StaticSchema = (3, n0, _SDS, 0) - -SWITCHOVER_DETAIL: StaticSchema = ( - 18, - n0, - _SDw, - 0, - (_SM, _TM, _St), - ((DATABASE_ARN, 0), (DATABASE_ARN, 0), (SWITCHOVER_DETAIL_STATUS, 0)), -) - -SWITCHOVER_DETAIL_LIST: StaticSchema = ( - 16, - n0, - _SDL, - 0, - (_m,), - ((SWITCHOVER_DETAIL, 0),), -) - -BLUE_GREEN_DEPLOYMENT_TASK_NAME: StaticSchema = (3, n0, _BGDTN, 0) - -BLUE_GREEN_DEPLOYMENT_TASK_STATUS: StaticSchema = (3, n0, _BGDTS, 0) - -BLUE_GREEN_DEPLOYMENT_TASK: StaticSchema = ( - 18, - n0, - _BGDT, - 0, - (_N, _St), - ((BLUE_GREEN_DEPLOYMENT_TASK_NAME, 0), (BLUE_GREEN_DEPLOYMENT_TASK_STATUS, 0)), -) - -BLUE_GREEN_DEPLOYMENT_TASK_LIST: StaticSchema = ( - 16, - n0, - _BGDTL, - 0, - (_m,), - ((BLUE_GREEN_DEPLOYMENT_TASK, 0),), -) - -BLUE_GREEN_DEPLOYMENT: StaticSchema = ( - 18, - n0, - _BGD, - 0, - (_BGDI, _BGDN, _So, _Tar, _SDwi, _Tas, _St, _SDt, _CTr, _DTe, _TL), - ( - (BLUE_GREEN_DEPLOYMENT_IDENTIFIER, 0), - (BLUE_GREEN_DEPLOYMENT_NAME, 0), - (DATABASE_ARN, 0), - (DATABASE_ARN, 0), - (SWITCHOVER_DETAIL_LIST, 0), - (BLUE_GREEN_DEPLOYMENT_TASK_LIST, 0), - (BLUE_GREEN_DEPLOYMENT_STATUS, 0), - (BLUE_GREEN_DEPLOYMENT_STATUS_DETAILS, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (TAG_LIST, 0), - ), -) - -CREATE_BLUE_GREEN_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _CBGDO, - {_sSI: _cCBGDRo, _smit: None}, - (_BGD,), - ((BLUE_GREEN_DEPLOYMENT, 0),), -) - -DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBCPGNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBClusterParameterGroupNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_CLUSTER_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBCQEF, - { - _smith: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "DBClusterQuotaExceededFault", "httpResponseCode": 403} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INSTANCE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _IQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InstanceQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SOURCE_CLUSTER_NOT_SUPPORTED_FAULT: StaticSchema = ( - 18, - n0, - _SCNSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "SourceClusterNotSupportedFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SOURCE_DATABASE_NOT_SUPPORTED_FAULT: StaticSchema = ( - 18, - n0, - _SDNSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "SourceDatabaseNotSupportedFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -STORAGE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _SQEFt, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "StorageQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_BLUE_GREEN_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _CBGD, - 0, - CREATE_BLUE_GREEN_DEPLOYMENT_INPUT, - CREATE_BLUE_GREEN_DEPLOYMENT_OUTPUT, - ( - BLUE_GREEN_DEPLOYMENT_ALREADY_EXISTS_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_CLUSTER_QUOTA_EXCEEDED_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - INSTANCE_QUOTA_EXCEEDED_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - SOURCE_CLUSTER_NOT_SUPPORTED_FAULT, - SOURCE_DATABASE_NOT_SUPPORTED_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - ), -) - -CREATE_CUSTOM_DB_ENGINE_VERSION_FAULT: StaticSchema = ( - 18, - n0, - _CCDBEVF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CreateCustomDBEngineVersionFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -BUCKET_NAME: StaticSchema = (3, n0, _BN, 0) - -STRING255: StaticSchema = (3, n0, _Str, 0) - -DESCRIPTION: StaticSchema = (3, n0, _D, 0) - -CUSTOM_ENGINE_NAME: StaticSchema = (3, n0, _CEN, 0) - -CUSTOM_ENGINE_VERSION: StaticSchema = (3, n0, _CEV, 0) - -CUSTOM_DB_ENGINE_VERSION_MANIFEST: StaticSchema = (3, n0, _CDBEVM, 0) - -CREATE_CUSTOM_DB_ENGINE_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _CCDBEVI, - {_sSI: _cCCDBEVM, _smi: None}, - (_En, _EV, _DIFSBN, _DIFSP, _DIF, _II, _KMSKI, _SCDEVI, _UAPLI, _D, _Ma, _Ta), - ( - (CUSTOM_ENGINE_NAME, 1), - (CUSTOM_ENGINE_VERSION, 1), - (BUCKET_NAME, 0), - (STRING255, 0), - (STRING_LIST, 0), - (STRING255, 0), - (KMS_KEY_ID_OR_ARN, 0), - (STRING255, 0), - (BOOLEAN_OPTIONAL, 0), - (DESCRIPTION, 0), - (CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), - (TAG_LIST, 0), - ), -) - -CHARACTER_SET: StaticSchema = (18, n0, _CS, 0, (_CSN, _CSD), ((STRING, 0), (STRING, 0))) - -LOG_TYPE_LIST: StaticSchema = (16, n0, _LTL, 0, (_m,), ((STRING, 0),)) - -CUSTOM_DB_ENGINE_VERSION_AMI: StaticSchema = ( - 18, - n0, - _CDBEVAMI, - 0, - (_II, _St), - ((STRING, 0), (STRING, 0)), -) - -DOUBLE_OPTIONAL: StaticSchema = (10, n0, _DO, 0) - -SERVERLESS_V2_FEATURES_SUPPORT: StaticSchema = ( - 18, - n0, - _SVFS, - 0, - (_MC, _MCa), - ((DOUBLE_OPTIONAL, 0), (DOUBLE_OPTIONAL, 0)), -) - -CA_CERTIFICATE_IDENTIFIERS_LIST: StaticSchema = ( - 16, - n0, - _CACIL, - 0, - (_m,), - ((STRING, 0),), -) - -SUPPORTED_CHARACTER_SETS_LIST: StaticSchema = ( - 16, - n0, - _SCSL, - 0, - (_m,), - ((CHARACTER_SET, {_sN: _CS}),), -) - -ENGINE_MODE_LIST: StaticSchema = (16, n0, _EML, 0, (_m,), ((STRING, 0),)) - -FEATURE_NAME_LIST: StaticSchema = (16, n0, _FNL, 0, (_m,), ((STRING, 0),)) - -TIMEZONE: StaticSchema = (18, n0, _Ti, 0, (_TN,), ((STRING, 0),)) - -SUPPORTED_TIMEZONES_LIST: StaticSchema = ( - 16, - n0, - _STL, - 0, - (_m,), - ((TIMEZONE, {_sN: _Ti}),), -) - -UPGRADE_TARGET: StaticSchema = ( - 18, - n0, - _UT, - 0, - (_En, _EV, _D, _AU, _IMVU, _SEM, _SPQ, _SGD, _SBu, _SLD, _SLWF, _SIu), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (ENGINE_MODE_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - ), -) - -VALID_UPGRADE_TARGET_LIST: StaticSchema = ( - 16, - n0, - _VUTL, - 0, - (_m,), - ((UPGRADE_TARGET, {_sN: _UT}),), -) - -CREATE_CUSTOM_DB_ENGINE_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CCDBEVO, - {_sSI: _cDBEV, _smit: None}, - ( - _En, - _MEV, - _EV, - _DIFSBN, - _DIFSP, - _DIF, - _CDBEVM, - _DBPGF, - _DBED, - _DBEVA, - _DBEVD, - _DCS, - _FR, - _Im, - _DBEMT, - _KMSKI, - _CTr, - _SCS, - _SNCS, - _VUT, - _STu, - _ELT, - _SLETCL, - _SRR, - _SEM, - _SFN, - _St, - _SPQ, - _SGD, - _TL, - _SBu, - _SLD, - _SCRWR, - _SCACI, - _SLWF, - _SIu, - _SVFS, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CHARACTER_SET, 0), - (STRING, 0), - (CUSTOM_DB_ENGINE_VERSION_AMI, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (SUPPORTED_CHARACTER_SETS_LIST, 0), - (SUPPORTED_CHARACTER_SETS_LIST, 0), - (VALID_UPGRADE_TARGET_LIST, 0), - (SUPPORTED_TIMEZONES_LIST, 0), - (LOG_TYPE_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (ENGINE_MODE_LIST, 0), - (FEATURE_NAME_LIST, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (TAG_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (CA_CERTIFICATE_IDENTIFIERS_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - (SERVERLESS_V2_FEATURES_SUPPORT, 0), - ), -) - -CUSTOM_DB_ENGINE_VERSION_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _CDBEVAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CustomDBEngineVersionAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CUSTOM_DB_ENGINE_VERSION_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _CDBEVNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "CustomDBEngineVersionNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CUSTOM_DB_ENGINE_VERSION_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _CDBEVQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "CustomDBEngineVersionQuotaExceededFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -EC2_IMAGE_PROPERTIES_NOT_SUPPORTED_FAULT: StaticSchema = ( - 18, - n0, - _EIPNSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "Ec2ImagePropertiesNotSupportedFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_CUSTOM_DB_ENGINE_VERSION_STATE_FAULT: StaticSchema = ( - 18, - n0, - _ICDBEVSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidCustomDBEngineVersionStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_CUSTOM_DB_ENGINE_VERSION: StaticOperationSchema = ( - 23, - n0, - _CCDBEV, - 0, - CREATE_CUSTOM_DB_ENGINE_VERSION_INPUT, - CREATE_CUSTOM_DB_ENGINE_VERSION_OUTPUT, - ( - CREATE_CUSTOM_DB_ENGINE_VERSION_FAULT, - CUSTOM_DB_ENGINE_VERSION_ALREADY_EXISTS_FAULT, - CUSTOM_DB_ENGINE_VERSION_NOT_FOUND_FAULT, - CUSTOM_DB_ENGINE_VERSION_QUOTA_EXCEEDED_FAULT, - EC2_IMAGE_PROPERTIES_NOT_SUPPORTED_FAULT, - INVALID_CUSTOM_DB_ENGINE_VERSION_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - ), -) - -CREATE_DB_CAPACITY_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _CDBCRIr, - {_sSI: _cCDBCRRom, _smi: None}, - (_DBCRN, _DBIC, _En, _CPAZ, _AZv, _ED, _SD, _CDo, _LM, _Ta), - ( - (DB_CAPACITY_RESERVATION_NAME, 1), - (DB_INSTANCE_CLASS, 1), - (STRING, 1), - (INTEGER_OPTIONAL, 1), - (AVAILABILITY_ZONES, 1), - (T_STAMP, 0), - (T_STAMP, 0), - (LONG_OPTIONAL, 0), - (STRING, 0), - (TAG_LIST, 0), - ), -) - -CREATE_DB_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBCROr, - {_sSI: _cCDBCRRoma, _smit: None}, - (_DBCR,), - ((DB_CAPACITY_RESERVATION, 0),), -) - -DB_CAPACITY_RESERVATION_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBCRAEFa, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBCapacityReservationAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_CAPACITY_RESERVATION_UNSUPPORTED_FAULT: StaticSchema = ( - 18, - n0, - _DBCRUF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBCapacityReservationUnsupported", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT: StaticSchema = ( - 18, - n0, - _IDBICF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InsufficientDBInstanceCapacity", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_CAPACITY_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _CDBCRr, - 0, - CREATE_DB_CAPACITY_RESERVATION_INPUT, - CREATE_DB_CAPACITY_RESERVATION_OUTPUT, - ( - DB_CAPACITY_RESERVATION_ALREADY_EXISTS_FAULT, - DB_CAPACITY_RESERVATION_UNSUPPORTED_FAULT, - INSTANCE_QUOTA_EXCEEDED_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - ), -) - -DB_CLUSTER_ASSOCIATED_ROLE: StaticSchema = ( - 18, - n0, - _DBCAR, - 0, - (_RA, _FN), - ((IAM_ROLE_ARN, 1), (STRING, 0)), -) - -DB_CLUSTER_ASSOCIATED_ROLES: StaticSchema = ( - 16, - n0, - _DBCARl, - 0, - (_m,), - ((DB_CLUSTER_ASSOCIATED_ROLE, {_sN: _DBCAR}),), -) - -CLUSTER_SCALABILITY_TYPE: StaticSchema = ( - 14, - n0, - _CST, - 0, - (_STANDARD, _LIMITLESS), - ((-1, {_sV: _stan}), (-1, {_sV: _li})), -) - -DATABASE_INSIGHTS_MODE: StaticSchema = ( - 14, - n0, - _DIM, - 0, - (_STANDARD, _ADVANCED), - ((-1, {_sV: _stan}), (-1, {_sV: _ad})), -) - -GLOBAL_CLUSTER_IDENTIFIER: StaticSchema = (3, n0, _GCI, 0) - -MASTER_USER_AUTHENTICATION_TYPE: StaticSchema = ( - 14, - n0, - _MUAT, - 0, - (_PASSWORD, _IDA), - ((-1, {_sV: _pa}), (-1, {_sV: _ida})), -) - -REPLICA_MODE: StaticSchema = ( - 14, - n0, - _RM, - 0, - (_ORO, _MOUNTED), - ((-1, {_sV: _oro}), (-1, {_sV: _mo})), -) - -RDS_CUSTOM_CLUSTER_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RCCC, - 0, - (_ISI, _TGMDI, _RM), - ((STRING, 0), (STRING, 0), (REPLICA_MODE, 0)), -) - -SCALING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SC, - 0, - (_MC, _MCa, _AP, _SUAP, _TA, _SBT), - ( - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - ), -) - -SERVERLESS_V2_SCALING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SVSC, - 0, - (_MC, _MCa, _SUAP), - ((DOUBLE_OPTIONAL, 0), (DOUBLE_OPTIONAL, 0), (INTEGER_OPTIONAL, 0)), -) - -VPC_SECURITY_GROUP_ID_LIST: StaticSchema = ( - 16, - n0, - _VSGIL, - 0, - (_m,), - ((STRING, {_sN: _VSGI}),), -) - -CREATE_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _CDBCI, - {_sSI: _cCDBCM, _smi: None}, - ( - _AZv, - _BRP, - _CSN, - _DN, - _DBCI, - _DBCPGN, - _VSGIp, - _DBSGNu, - _En, - _EV, - _P, - _MU, - _MUP, - _OGN, - _PBW, - _PMW, - _RSI, - _Ta, - _SE, - _KKI, - _PSU, - _EIAMDA, - _BW, - _ECLE, - _EMn, - _SC, - _RCCC, - _DBCIC, - _AS, - _STt, - _Io, - _PA, - _AMVU, - _DP, - _GCI, - _EHE, - _CTTS, - _Do, - _DIAMRN, - _EGWF, - _NT, - _SVSC, - _MI, - _MRA, - _DIM, - _EPI, - _PIKMSKI, - _PIRP, - _ELD, - _CST, - _DBSI, - _MMUP, - _ELWF, - _MUSKKI, - _CACI, - _ELS, - _TSag, - _MUAT, - _WEC, - _AR, - ), - ( - (AVAILABILITY_ZONES, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 1), - (STRING, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (STRING, 0), - (STRING, 1), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (SENSITIVE_STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TAG_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (SENSITIVE_STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (LONG_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (STRING, 0), - (SCALING_CONFIGURATION, 0), - (RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (GLOBAL_CLUSTER_IDENTIFIER, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (SERVERLESS_V2_SCALING_CONFIGURATION, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (DATABASE_INSIGHTS_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (CLUSTER_SCALABILITY_TYPE, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, 0), - (MASTER_USER_AUTHENTICATION_TYPE, 0), - (BOOLEAN_OPTIONAL, 0), - (DB_CLUSTER_ASSOCIATED_ROLES, 0), - ), -) - -DB_CLUSTER_ROLE: StaticSchema = ( - 18, - n0, - _DBCRl, - 0, - (_RA, _St, _FN), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -DB_CLUSTER_ROLES: StaticSchema = ( - 16, - n0, - _DBCRlu, - 0, - (_m,), - ((DB_CLUSTER_ROLE, {_sN: _DBCRl}),), -) - -CERTIFICATE_DETAILS: StaticSchema = ( - 18, - n0, - _CDe, - 0, - (_CAId, _VT), - ((STRING, 0), (T_STAMP, 0)), -) - -DB_CLUSTER_MEMBER: StaticSchema = ( - 18, - n0, - _DBCM, - 0, - (_DBII, _ICW, _DBCPGS, _PT), - ((STRING, 0), (BOOLEAN, 0), (STRING, 0), (INTEGER_OPTIONAL, 0)), -) - -DB_CLUSTER_MEMBER_LIST: StaticSchema = ( - 16, - n0, - _DBCML, - 0, - (_m,), - ((DB_CLUSTER_MEMBER, {_sN: _DBCM}),), -) - -DB_CLUSTER_OPTION_GROUP_STATUS: StaticSchema = ( - 18, - n0, - _DBCOGS, - 0, - (_DBCOGN, _St), - ((STRING, 0), (STRING, 0)), -) - -DB_CLUSTER_OPTION_GROUP_MEMBERSHIPS: StaticSchema = ( - 16, - n0, - _DBCOGM, - 0, - (_m,), - ((DB_CLUSTER_OPTION_GROUP_STATUS, {_sN: _DBCOG}),), -) - -DOMAIN_MEMBERSHIP: StaticSchema = ( - 18, - n0, - _DM, - 0, - (_Do, _St, _FQDN, _IAMRN, _OU, _ASA, _DI), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - ), -) - -DOMAIN_MEMBERSHIP_LIST: StaticSchema = ( - 16, - n0, - _DML, - 0, - (_m,), - ((DOMAIN_MEMBERSHIP, {_sN: _DM}),), -) - -WRITE_FORWARDING_STATUS: StaticSchema = ( - 14, - n0, - _WFS, - 0, - (_ENABLED, _DISABLED, _ENABLING, _DISABLING, _UNKNOWN), - ( - (-1, {_sV: _en}), - (-1, {_sV: _di}), - (-1, {_sV: _ena}), - (-1, {_sV: _dis}), - (-1, {_sV: _unk}), - ), -) - -LIMITLESS_DATABASE_STATUS: StaticSchema = ( - 14, - n0, - _LDS, - 0, - (_ACTIVE, _NIU, _ENABLED, _DISABLED, _ENABLING, _DISABLING, _MMC, _ERROR), - ( - (-1, {_sV: _ac}), - (-1, {_sV: _niu}), - (-1, {_sV: _en}), - (-1, {_sV: _di}), - (-1, {_sV: _ena}), - (-1, {_sV: _dis}), - (-1, {_sV: _mmc}), - (-1, {_sV: _er}), - ), -) - -LIMITLESS_DATABASE: StaticSchema = ( - 18, - n0, - _LD, - 0, - (_St, _MRACU), - ((LIMITLESS_DATABASE_STATUS, 0), (DOUBLE_OPTIONAL, 0)), -) - -LOCAL_WRITE_FORWARDING_STATUS: StaticSchema = ( - 14, - n0, - _LWFS, - 0, - (_ENABLED, _DISABLED, _ENABLING, _DISABLING, _REQUESTED), - ( - (-1, {_sV: _en}), - (-1, {_sV: _di}), - (-1, {_sV: _ena}), - (-1, {_sV: _dis}), - (-1, {_sV: _r}), - ), -) - -MASTER_USER_SECRET: StaticSchema = ( - 18, - n0, - _MUS, - 0, - (_SAe, _SSe, _KKI), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -PENDING_CLOUDWATCH_LOGS_EXPORTS: StaticSchema = ( - 18, - n0, - _PCLE, - 0, - (_LTTE, _LTTD), - ((LOG_TYPE_LIST, 0), (LOG_TYPE_LIST, 0)), -) - -CLUSTER_PENDING_MODIFIED_VALUES: StaticSchema = ( - 18, - n0, - _CPMV, - 0, - (_PCLE, _DBCI, _MUP, _IAMDAE, _EV, _BRP, _STt, _AS, _RCCC, _Io, _CDe), - ( - (PENDING_CLOUDWATCH_LOGS_EXPORTS, 0), - (STRING, 0), - (SENSITIVE_STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), - (INTEGER_OPTIONAL, 0), - (CERTIFICATE_DETAILS, 0), - ), -) - -READ_REPLICA_IDENTIFIER_LIST: StaticSchema = ( - 16, - n0, - _RRIL, - 0, - (_m,), - ((STRING, {_sN: _RRI}),), -) - -SCALING_CONFIGURATION_INFO: StaticSchema = ( - 18, - n0, - _SCI, - 0, - (_MC, _MCa, _AP, _SUAP, _TA, _SBT), - ( - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - ), -) - -SERVERLESS_V2_SCALING_CONFIGURATION_INFO: StaticSchema = ( - 18, - n0, - _SVSCI, - 0, - (_MC, _MCa, _SUAP), - ((DOUBLE_OPTIONAL, 0), (DOUBLE_OPTIONAL, 0), (INTEGER_OPTIONAL, 0)), -) - -DB_CLUSTER_STATUS_INFO: StaticSchema = ( - 18, - n0, - _DBCSIl, - 0, - (_STta, _No, _St, _Me), - ((STRING, 0), (BOOLEAN, 0), (STRING, 0), (STRING, 0)), -) - -DB_CLUSTER_STATUS_INFO_LIST: StaticSchema = ( - 16, - n0, - _DBCSIL, - 0, - (_m,), - ((DB_CLUSTER_STATUS_INFO, {_sN: _DBCSIl}),), -) - -UPGRADE_ROLLOUT_ORDER: StaticSchema = ( - 14, - n0, - _URO, - 0, - (_FIRST, _SECOND, _LAST), - ((-1, {_sV: _fi}), (-1, {_sV: _se}), (-1, {_sV: _la})), -) - -DB_CLUSTER: StaticSchema = ( - 18, - n0, - _DBC, - 0, - ( - _AS, - _AZv, - _BRP, - _CSN, - _DN, - _DBCI, - _DBCPG, - _DBSGu, - _St, - _PP, - _ERT, - _End, - _RE, - _CE, - _MAZ, - _En, - _EV, - _LRT, - _P, - _MU, - _DBCOGM, - _PBW, - _PMW, - _URO, - _RSI, - _RRIe, - _SIt, - _DBCMl, - _VSG, - _HZI, - _SE, - _SET, - _KKI, - _DCRI, - _DBCA, - _AR, - _IAMDAE, - _CGI, - _CCT, - _EBT, - _BW, - _BCCR, - _ECLEn, - _C, - _PMV, - _EMn, - _SCI, - _RCCC, - _DBCIC, - _STt, - _Io, - _ST, - _IOONAMT, - _PA, - _AMVU, - _DP, - _HEE, - _ASM, - _ASS, - _ASKKI, - _ASKSN, - _CTTS, - _CAC, - _DMo, - _TL, - _GCI, - _GWFS, - _GWFR, - _NT, - _ART, - _SVSC, - _SVPV, - _MI, - _MRA, - _DIM, - _PIE, - _PIKMSKI, - _PIRP, - _DBSI, - _MUS, - _LWFS, - _ABRPA, - _LD, - _CST, - _CDe, - _ELS, - _VPCNE, - _IAGE, - ), - ( - (INTEGER_OPTIONAL, 0), - (AVAILABILITY_ZONES, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (DB_CLUSTER_OPTION_GROUP_MEMBERSHIPS, 0), - (STRING, 0), - (STRING, 0), - (UPGRADE_ROLLOUT_ORDER, 0), - (STRING, 0), - (READ_REPLICA_IDENTIFIER_LIST, 0), - (DB_CLUSTER_STATUS_INFO_LIST, 0), - (DB_CLUSTER_MEMBER_LIST, 0), - (VPC_SECURITY_GROUP_MEMBERSHIP_LIST, 0), - (STRING, 0), - (BOOLEAN, 0), - (STORAGE_ENCRYPTION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DB_CLUSTER_ROLES, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (LONG_OPTIONAL, 0), - (LONG_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (INTEGER_OPTIONAL, 0), - (CLUSTER_PENDING_MODIFIED_VALUES, 0), - (STRING, 0), - (SCALING_CONFIGURATION_INFO, 0), - (RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (T_STAMP, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (ACTIVITY_STREAM_MODE, 0), - (ACTIVITY_STREAM_STATUS, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (DOMAIN_MEMBERSHIP_LIST, 0), - (TAG_LIST, 0), - (GLOBAL_CLUSTER_IDENTIFIER, 0), - (WRITE_FORWARDING_STATUS, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (T_STAMP, 0), - (SERVERLESS_V2_SCALING_CONFIGURATION_INFO, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (DATABASE_INSIGHTS_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (MASTER_USER_SECRET, 0), - (LOCAL_WRITE_FORWARDING_STATUS, 0), - (STRING, 0), - (LIMITLESS_DATABASE, 0), - (CLUSTER_SCALABILITY_TYPE, 0), - (CERTIFICATE_DETAILS, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - ), -) - -CREATE_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBCO, - {_sSI: _cCDBCR, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -DB_CLUSTER_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBCAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBClusterAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS: StaticSchema = ( - 18, - n0, - _DBSGDNCEAZ, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBSubnetGroupDoesNotCoverEnoughAZs", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SUBNET_GROUP_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBSGNFFu, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBSubnetGroupNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DOMAIN_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DomainNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -GLOBAL_CLUSTER_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _GCNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "GlobalClusterNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT: StaticSchema = ( - 18, - n0, - _ISCCF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InsufficientStorageClusterCapacity", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_SUBNET_GROUP_FAULT: StaticSchema = ( - 18, - n0, - _IDBSGF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBSubnetGroupFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_SUBNET_GROUP_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBSGSFn, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBSubnetGroupStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_GLOBAL_CLUSTER_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IGCSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidGlobalClusterStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_SUBNET: StaticSchema = ( - 18, - n0, - _IS, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidSubnet", "httpResponseCode": 400}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_VPC_NETWORK_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IVPCNSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidVPCNetworkStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -NETWORK_TYPE_NOT_SUPPORTED: StaticSchema = ( - 18, - n0, - _NTNS, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "NetworkTypeNotSupported", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -STORAGE_TYPE_NOT_SUPPORTED_FAULT: StaticSchema = ( - 18, - n0, - _STNSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "StorageTypeNotSupported", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VECVE, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "VpcEncryptionControlViolationException", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _CDBC, - 0, - CREATE_DB_CLUSTER_INPUT, - CREATE_DB_CLUSTER_OUTPUT, - ( - DB_CLUSTER_ALREADY_EXISTS_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_CLUSTER_QUOTA_EXCEEDED_FAULT, - DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DOMAIN_NOT_FOUND_FAULT, - GLOBAL_CLUSTER_NOT_FOUND_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_DB_SUBNET_GROUP_FAULT, - INVALID_DB_SUBNET_GROUP_STATE_FAULT, - INVALID_GLOBAL_CLUSTER_STATE_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -CREATE_DB_CLUSTER_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CDBCEI, - {_sSI: _cCDBCEM, _smi: None}, - (_DBCI, _DBCEI, _ET, _SMt, _EMx, _Ta), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING_LIST, 0), - (STRING_LIST, 0), - (TAG_LIST, 0), - ), -) - -CREATE_DB_CLUSTER_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBCEO, - {_sSI: _cDBCE, _smit: None}, - (_DBCEI, _DBCI, _DBCERI, _End, _St, _ET, _CETu, _SMt, _EMx, _DBCEA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - (STRING, 0), - ), -) - -DB_CLUSTER_ENDPOINT_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBCEAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBClusterEndpointAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_CLUSTER_ENDPOINT_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBCEQEF, - { - _smith: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "DBClusterEndpointQuotaExceededFault", "httpResponseCode": 403} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_CLUSTER_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CDBCE, - 0, - CREATE_DB_CLUSTER_ENDPOINT_INPUT, - CREATE_DB_CLUSTER_ENDPOINT_OUTPUT, - ( - DB_CLUSTER_ENDPOINT_ALREADY_EXISTS_FAULT, - DB_CLUSTER_ENDPOINT_QUOTA_EXCEEDED_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - ), -) - -CREATE_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CDBCPGIr, - {_sSI: _cCDBCPGMo, _smi: None}, - (_DBCPGN, _DBPGF, _D, _Ta), - ((STRING, 1), (STRING, 1), (STRING, 1), (TAG_LIST, 0)), -) - -CREATE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBCPGOr, - {_sSI: _cCDBCPGRo, _smit: None}, - (_DBCPG,), - ((DB_CLUSTER_PARAMETER_GROUP, 0),), -) - -CREATE_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _CDBCPGr, - 0, - CREATE_DB_CLUSTER_PARAMETER_GROUP_INPUT, - CREATE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, - (DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT, DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT), -) - -CREATE_DB_CLUSTER_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _CDBCSIr, - {_sSI: _cCDBCSMo, _smi: None}, - (_DBCSI, _DBCI, _Ta), - ((STRING, 1), (STRING, 1), (TAG_LIST, 0)), -) - -CREATE_DB_CLUSTER_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBCSOr, - {_sSI: _cCDBCSRo, _smit: None}, - (_DBCS,), - ((DB_CLUSTER_SNAPSHOT, 0),), -) - -CREATE_DB_CLUSTER_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _CDBCSr, - 0, - CREATE_DB_CLUSTER_SNAPSHOT_INPUT, - CREATE_DB_CLUSTER_SNAPSHOT_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT, - INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - SNAPSHOT_QUOTA_EXCEEDED_FAULT, - ), -) - -AUTHORIZATION_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _ANFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "AuthorizationNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -BACKUP_POLICY_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _BPNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "BackupPolicyNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CERTIFICATE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _CNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "CertificateNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SECURITY_GROUP_NAME_LIST: StaticSchema = ( - 16, - n0, - _DBSGNL, - 0, - (_m,), - ((STRING, {_sN: _DBSGN}),), -) - -CREATE_DB_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _CDBII, - {_sSI: _cCDBIM, _smi: None}, - ( - _DBN, - _DBII, - _AS, - _DBIC, - _En, - _MU, - _MUP, - _DBSGe, - _VSGIp, - _AZ, - _DBSGNu, - _PMW, - _DBPGN, - _BRP, - _PBW, - _P, - _MAZ, - _EV, - _AMVU, - _LM, - _Io, - _ST, - _OGN, - _CSN, - _NCSN, - _PA, - _Ta, - _DBCI, - _STt, - _TCA, - _TCP, - _SE, - _KKI, - _Do, - _DF, - _DOo, - _DASA, - _DDI, - _CTTS, - _MI, - _MRA, - _DIAMRN, - _PT, - _Ti, - _EIAMDA, - _DIM, - _EPI, - _PIKMSKI, - _PIRP, - _ECLE, - _PFr, - _DP, - _MAS, - _ECOI, - _NT, - _BTa, - _CIIP, - _DBSI, - _CACI, - _MMUP, - _MUSKKI, - _MT, - _DLV, - _ELS, - _ASVd, - _TSag, - _DBCRI, - _MUAT, - ), - ( - (STRING, 0), - (STRING, 1), - (INTEGER_OPTIONAL, 0), - (STRING, 1), - (STRING, 1), - (STRING, 0), - (SENSITIVE_STRING, 0), - (DB_SECURITY_GROUP_NAME_LIST, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (TAG_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (SENSITIVE_STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (DATABASE_INSIGHTS_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (PROCESSOR_FEATURE_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (ADDITIONAL_STORAGE_VOLUMES_LIST, 0), - (TAG_SPECIFICATION_LIST, 0), - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - (MASTER_USER_AUTHENTICATION_TYPE, 0), - ), -) - -DB_INSTANCE_ROLE: StaticSchema = ( - 18, - n0, - _DBIR, - 0, - (_RA, _FN, _St), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -DB_INSTANCE_ROLES: StaticSchema = ( - 16, - n0, - _DBIRn, - 0, - (_m,), - ((DB_INSTANCE_ROLE, {_sN: _DBIR}),), -) - -AUTOMATION_MODE: StaticSchema = ( - 14, - n0, - _AM, - 0, - (_FULL, _AP_), - ((-1, {_sV: _fu}), (-1, {_sV: _ap})), -) - -DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION: StaticSchema = ( - 18, - n0, - _DBIABR, - 0, - (_DBIABA,), - ((STRING, 0),), -) - -DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_LIST: StaticSchema = ( - 16, - n0, - _DBIABRL, - 0, - (_m,), - ((DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION, {_sN: _DBIABR}),), -) - -DB_PARAMETER_GROUP_STATUS: StaticSchema = ( - 18, - n0, - _DBPGS, - 0, - (_DBPGN, _PAS), - ((STRING, 0), (STRING, 0)), -) - -DB_PARAMETER_GROUP_STATUS_LIST: StaticSchema = ( - 16, - n0, - _DBPGSL, - 0, - (_m,), - ((DB_PARAMETER_GROUP_STATUS, {_sN: _DBPG}),), -) - -AVAILABILITY_ZONE: StaticSchema = (18, n0, _AZ, 0, (_N,), ((STRING, 0),)) - -OUTPOST: StaticSchema = (18, n0, _Ou, 0, (_Ar,), ((STRING, 0),)) - -SUBNET: StaticSchema = ( - 18, - n0, - _Su, - 0, - (_SIub, _SAZu, _SO, _SSu), - ((STRING, 0), (AVAILABILITY_ZONE, 0), (OUTPOST, 0), (STRING, 0)), -) - -SUBNET_LIST: StaticSchema = (16, n0, _SLu, 0, (_m,), ((SUBNET, {_sN: _Su}),)) - -DB_SUBNET_GROUP: StaticSchema = ( - 18, - n0, - _DBSGu, - 0, - (_DBSGNu, _DBSGDu, _VI, _SGS, _Sub, _DBSGAu, _SNT), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (SUBNET_LIST, 0), - (STRING, 0), - (STRING_LIST, 0), - ), -) - -ENDPOINT: StaticSchema = ( - 18, - n0, - _End, - 0, - (_Ad, _P, _HZI), - ((STRING, 0), (INTEGER, 0), (STRING, 0)), -) - -OPTION_GROUP_MEMBERSHIP: StaticSchema = ( - 18, - n0, - _OGM, - 0, - (_OGN, _St), - ((STRING, 0), (STRING, 0)), -) - -OPTION_GROUP_MEMBERSHIP_LIST: StaticSchema = ( - 16, - n0, - _OGML, - 0, - (_m,), - ((OPTION_GROUP_MEMBERSHIP, {_sN: _OGM}),), -) - -PENDING_MODIFIED_VALUES: StaticSchema = ( - 18, - n0, - _PMV, - 0, - ( - _DBIC, - _AS, - _MUP, - _P, - _BRP, - _MAZ, - _EV, - _LM, - _Io, - _ST, - _DBII, - _STt, - _CACI, - _DBSGNu, - _PCLE, - _PFr, - _AM, - _RFAMT, - _MT, - _IAMDAE, - _DLV, - _En, - _ASVd, - _DBCRI, - ), - ( - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (SENSITIVE_STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (PENDING_CLOUDWATCH_LOGS_EXPORTS, 0), - (PROCESSOR_FEATURE_LIST, 0), - (AUTOMATION_MODE, 0), - (T_STAMP, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (ADDITIONAL_STORAGE_VOLUMES_LIST, 0), - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - ), -) - -READ_REPLICA_DB_CLUSTER_IDENTIFIER_LIST: StaticSchema = ( - 16, - n0, - _RRDBCIL, - 0, - (_m,), - ((STRING, {_sN: _RRDBCI}),), -) - -READ_REPLICA_DB_INSTANCE_IDENTIFIER_LIST: StaticSchema = ( - 16, - n0, - _RRDBIIL, - 0, - (_m,), - ((STRING, {_sN: _RRDBII}),), -) - -DB_INSTANCE_STATUS_INFO: StaticSchema = ( - 18, - n0, - _DBISI, - 0, - (_STta, _No, _St, _Me), - ((STRING, 0), (BOOLEAN, 0), (STRING, 0), (STRING, 0)), -) - -DB_INSTANCE_STATUS_INFO_LIST: StaticSchema = ( - 16, - n0, - _DBISIL, - 0, - (_m,), - ((DB_INSTANCE_STATUS_INFO, {_sN: _DBISI}),), -) - -DB_INSTANCE: StaticSchema = ( - 18, - n0, - _DBI, - 0, - ( - _DBII, - _DBIC, - _En, - _DBIS, - _MU, - _DBN, - _End, - _AS, - _ICT, - _PBW, - _BRP, - _DBSGe, - _VSG, - _DBPGa, - _AZ, - _DBSGu, - _PMW, - _URO, - _PMV, - _LRT, - _MAZ, - _EV, - _AMVU, - _RRSDBII, - _RRDBIIe, - _RRDBCIe, - _RM, - _LM, - _Io, - _ST, - _OGMp, - _CSN, - _NCSN, - _SAZe, - _PA, - _SIt, - _STt, - _SET, - _TCA, - _DIP, - _DBCI, - _SE, - _KKI, - _DRI, - _CACI, - _DMo, - _CTTS, - _MI, - _EMRA, - _MRA, - _PT, - _DBIA, - _Ti, - _IAMDAE, - _DIM, - _PIE, - _PIKMSKI, - _PIRP, - _ECLEn, - _PFr, - _DP, - _AR, - _LE, - _MAS, - _TL, - _AM, - _RFAMT, - _COIE, - _NT, - _ASS, - _ASKKI, - _ASKSN, - _ASM, - _ASENAFI, - _ABRPA, - _DBIABRn, - _BTa, - _ART, - _CIIP, - _ASPS, - _CDe, - _DBSI, - _MUS, - _RRSDBCI, - _PP, - _MT, - _DLV, - _ISCUA, - _ELS, - _ASVd, - _SVS, - _SOS, - _SOPP, - _DBCRI, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (ENDPOINT, 0), - (INTEGER, 0), - (T_STAMP, 0), - (STRING, 0), - (INTEGER, 0), - (DB_SECURITY_GROUP_MEMBERSHIP_LIST, 0), - (VPC_SECURITY_GROUP_MEMBERSHIP_LIST, 0), - (DB_PARAMETER_GROUP_STATUS_LIST, 0), - (STRING, 0), - (DB_SUBNET_GROUP, 0), - (STRING, 0), - (UPGRADE_ROLLOUT_ORDER, 0), - (PENDING_MODIFIED_VALUES, 0), - (T_STAMP, 0), - (BOOLEAN, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (READ_REPLICA_DB_INSTANCE_IDENTIFIER_LIST, 0), - (READ_REPLICA_DB_CLUSTER_IDENTIFIER_LIST, 0), - (REPLICA_MODE, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (OPTION_GROUP_MEMBERSHIP_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (DB_INSTANCE_STATUS_INFO_LIST, 0), - (STRING, 0), - (STORAGE_ENCRYPTION_TYPE, 0), - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DOMAIN_MEMBERSHIP_LIST, 0), - (BOOLEAN, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (DATABASE_INSIGHTS_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (PROCESSOR_FEATURE_LIST, 0), - (BOOLEAN, 0), - (DB_INSTANCE_ROLES, 0), - (ENDPOINT, 0), - (INTEGER_OPTIONAL, 0), - (TAG_LIST, 0), - (AUTOMATION_MODE, 0), - (T_STAMP, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (ACTIVITY_STREAM_STATUS, 0), - (STRING, 0), - (STRING, 0), - (ACTIVITY_STREAM_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_LIST, 0), - (STRING, 0), - (T_STAMP, 0), - (STRING, 0), - (ACTIVITY_STREAM_POLICY_STATUS, 0), - (CERTIFICATE_DETAILS, 0), - (STRING, 0), - (MASTER_USER_SECRET, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (ADDITIONAL_STORAGE_VOLUMES_OUTPUT_LIST, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - ), -) - -CREATE_DB_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBIO, - {_sSI: _cCDBIR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -DB_INSTANCE_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBIAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBInstanceAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT: StaticSchema = ( - 18, - n0, - _PINAIAZF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ProvisionedIopsNotAvailableInAZFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -TENANT_DATABASE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _TDQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "TenantDatabaseQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _CDBI, - 0, - CREATE_DB_INSTANCE_INPUT, - CREATE_DB_INSTANCE_OUTPUT, - ( - AUTHORIZATION_NOT_FOUND_FAULT, - BACKUP_POLICY_NOT_FOUND_FAULT, - CERTIFICATE_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_ALREADY_EXISTS_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_SECURITY_GROUP_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DOMAIN_NOT_FOUND_FAULT, - INSTANCE_QUOTA_EXCEEDED_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -CREATE_DB_INSTANCE_READ_REPLICA_INPUT: StaticSchema = ( - 18, - n0, - _CDBIRRI, - {_sSI: _cCDBIRRM, _smi: None}, - ( - _DBII, - _SDBII, - _DBIC, - _AZ, - _P, - _MAZ, - _AMVU, - _Io, - _ST, - _OGN, - _DBPGN, - _PA, - _Ta, - _DBSGNu, - _VSGIp, - _STt, - _CTTS, - _MI, - _MRA, - _KKI, - _PSU, - _EIAMDA, - _DIM, - _EPI, - _PIKMSKI, - _PIRP, - _ECLE, - _PFr, - _UDPF, - _DP, - _Do, - _DIAMRN, - _DF, - _DOo, - _DASA, - _DDI, - _RM, - _ECOI, - _NT, - _MAS, - _BTa, - _CIIP, - _AS, - _SDBCI, - _DLV, - _USC, - _CACI, - _ASVd, - _TSag, - _DBCRI, - ), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (TAG_LIST, 0), - (STRING, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (SENSITIVE_STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (DATABASE_INSIGHTS_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (PROCESSOR_FEATURE_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (REPLICA_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (ADDITIONAL_STORAGE_VOLUMES_LIST, 0), - (TAG_SPECIFICATION_LIST, 0), - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - ), -) - -CREATE_DB_INSTANCE_READ_REPLICA_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBIRRO, - {_sSI: _cCDBIRRR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -DB_SUBNET_GROUP_NOT_ALLOWED_FAULT: StaticSchema = ( - 18, - n0, - _DBSGNAF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBSubnetGroupNotAllowedFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_INSTANCE_READ_REPLICA: StaticOperationSchema = ( - 23, - n0, - _CDBIRR, - 0, - CREATE_DB_INSTANCE_READ_REPLICA_INPUT, - CREATE_DB_INSTANCE_READ_REPLICA_OUTPUT, - ( - CERTIFICATE_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_ALREADY_EXISTS_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_SECURITY_GROUP_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_NOT_ALLOWED_FAULT, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DOMAIN_NOT_FOUND_FAULT, - INSTANCE_QUOTA_EXCEEDED_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_DB_SUBNET_GROUP_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -CREATE_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CDBPGIr, - {_sSI: _cCDBPGMo, _smi: None}, - (_DBPGN, _DBPGF, _D, _Ta), - ((STRING, 1), (STRING, 1), (STRING, 1), (TAG_LIST, 0)), -) - -CREATE_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBPGOr, - {_sSI: _cCDBPGRo, _smit: None}, - (_DBPG,), - ((DB_PARAMETER_GROUP, 0),), -) - -CREATE_DB_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _CDBPGr, - 0, - CREATE_DB_PARAMETER_GROUP_INPUT, - CREATE_DB_PARAMETER_GROUP_OUTPUT, - (DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT, DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT), -) - -AUTH_SCHEME: StaticSchema = (14, n0, _ASu, 0, (_SECRETS,), ((-1, {_sV: _SECRETS}),)) - -CLIENT_PASSWORD_AUTH_TYPE: StaticSchema = ( - 14, - n0, - _CPAT, - 0, - (_MNP, _MCSP, _PSS, _PM, _SSA), - ( - (-1, {_sV: _MNP}), - (-1, {_sV: _MCSP}), - (-1, {_sV: _PSS}), - (-1, {_sV: _PM}), - (-1, {_sV: _SSA}), - ), -) - -IAM_AUTH_MODE: StaticSchema = ( - 14, - n0, - _IAMAM, - 0, - (_DISABLED, _REQUIRED, _ENABLED), - ((-1, {_sV: _DISABLED}), (-1, {_sV: _REQUIRED}), (-1, {_sV: _ENABLED})), -) - -ARN: StaticSchema = (3, n0, _Ar, 0) - -AUTH_USER_NAME: StaticSchema = (3, n0, _AUN, 0) - -USER_AUTH_CONFIG: StaticSchema = ( - 18, - n0, - _UAC, - 0, - (_D, _UN, _ASu, _SAe, _IAMA, _CPAT), - ( - (DESCRIPTION, 0), - (AUTH_USER_NAME, 0), - (AUTH_SCHEME, 0), - (ARN, 0), - (IAM_AUTH_MODE, 0), - (CLIENT_PASSWORD_AUTH_TYPE, 0), - ), -) - -USER_AUTH_CONFIG_LIST: StaticSchema = ( - 16, - n0, - _UACL, - 0, - (_m,), - ((USER_AUTH_CONFIG, 0),), -) - -DB_PROXY_NAME: StaticSchema = (3, n0, _DBPN, 0) - -DEFAULT_AUTH_SCHEME: StaticSchema = ( - 14, - n0, - _DAS, - 0, - (_IA, _NONE), - ((-1, {_sV: _IA}), (-1, {_sV: _NONE})), -) - -ENDPOINT_NETWORK_TYPE: StaticSchema = ( - 14, - n0, - _ENT, - 0, - (_IPV, _IPV_, _DUAL), - ((-1, {_sV: _IPV}), (-1, {_sV: _IPV_}), (-1, {_sV: _DUAL})), -) - -ENGINE_FAMILY: StaticSchema = ( - 14, - n0, - _EF, - 0, - (_MYSQL, _POSTGRESQL, _SQLSERVER), - ((-1, {_sV: _MYSQL}), (-1, {_sV: _POSTGRESQL}), (-1, {_sV: _SQLSERVER})), -) - -TARGET_CONNECTION_NETWORK_TYPE: StaticSchema = ( - 14, - n0, - _TCNT, - 0, - (_IPV, _IPV_), - ((-1, {_sV: _IPV}), (-1, {_sV: _IPV_})), -) - -CREATE_DB_PROXY_INPUT: StaticSchema = ( - 18, - n0, - _CDBPI, - {_sSI: _cCDBPR, _smi: None}, - (_DBPN, _EF, _DAS, _Au, _RA, _VSI, _VSGIp, _RTLS, _ICTd, _DL, _Ta, _ENT, _TCNT), - ( - (DB_PROXY_NAME, 1), - (ENGINE_FAMILY, 1), - (DEFAULT_AUTH_SCHEME, 0), - (USER_AUTH_CONFIG_LIST, 0), - (ARN, 1), - (STRING_LIST, 1), - (STRING_LIST, 0), - (BOOLEAN, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN, 0), - (TAG_LIST, 0), - (ENDPOINT_NETWORK_TYPE, 0), - (TARGET_CONNECTION_NETWORK_TYPE, 0), - ), -) - -USER_AUTH_CONFIG_INFO: StaticSchema = ( - 18, - n0, - _UACI, - 0, - (_D, _UN, _ASu, _SAe, _IAMA, _CPAT), - ( - (STRING, 0), - (STRING, 0), - (AUTH_SCHEME, 0), - (STRING, 0), - (IAM_AUTH_MODE, 0), - (CLIENT_PASSWORD_AUTH_TYPE, 0), - ), -) - -USER_AUTH_CONFIG_INFO_LIST: StaticSchema = ( - 16, - n0, - _UACIL, - 0, - (_m,), - ((USER_AUTH_CONFIG_INFO, 0),), -) - -DB_PROXY_STATUS: StaticSchema = ( - 14, - n0, - _DBPS, - 0, - ( - _AVAILABLE, - _MODIFYING, - _IN, - _IRL, - _CREATING, - _DELETING, - _SUSPENDED, - _SUSPENDING, - _REACTIVATING, - ), - ( - (-1, {_sV: _av}), - (-1, {_sV: _mod}), - (-1, {_sV: _in}), - (-1, {_sV: _irl}), - (-1, {_sV: _cr}), - (-1, {_sV: _de}), - (-1, {_sV: _su}), - (-1, {_sV: _sus}), - (-1, {_sV: _re}), - ), -) - -DB_PROXY: StaticSchema = ( - 18, - n0, - _DBP, - 0, - ( - _DBPN, - _DBPA, - _St, - _EF, - _VI, - _VSGIp, - _VSI, - _DAS, - _Au, - _RA, - _End, - _RTLS, - _ICTd, - _DL, - _CDr, - _UD, - _ENT, - _TCNT, - ), - ( - (STRING, 0), - (STRING, 0), - (DB_PROXY_STATUS, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - (STRING, 0), - (USER_AUTH_CONFIG_INFO_LIST, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (INTEGER, 0), - (BOOLEAN, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (ENDPOINT_NETWORK_TYPE, 0), - (TARGET_CONNECTION_NETWORK_TYPE, 0), - ), -) - -CREATE_DB_PROXY_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBPO, - {_sSI: _cCDBPRo, _smit: None}, - (_DBP,), - ((DB_PROXY, 0),), -) - -DB_PROXY_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBPAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBProxyAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_PROXY_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBPQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBProxyQuotaExceededFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_PROXY: StaticOperationSchema = ( - 23, - n0, - _CDBP, - 0, - CREATE_DB_PROXY_INPUT, - CREATE_DB_PROXY_OUTPUT, - (DB_PROXY_ALREADY_EXISTS_FAULT, DB_PROXY_QUOTA_EXCEEDED_FAULT, INVALID_SUBNET), -) - -DB_PROXY_ENDPOINT_NAME: StaticSchema = (3, n0, _DBPEN, 0) - -DB_PROXY_ENDPOINT_TARGET_ROLE: StaticSchema = ( - 14, - n0, - _DBPETR, - 0, - (_RW, _RO), - ((-1, {_sV: _RW}), (-1, {_sV: _RO})), -) - -CREATE_DB_PROXY_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CDBPEI, - {_sSI: _cCDBPER, _smi: None}, - (_DBPN, _DBPEN, _VSI, _VSGIp, _TR, _Ta, _ENT), - ( - (DB_PROXY_NAME, 1), - (DB_PROXY_ENDPOINT_NAME, 1), - (STRING_LIST, 1), - (STRING_LIST, 0), - (DB_PROXY_ENDPOINT_TARGET_ROLE, 0), - (TAG_LIST, 0), - (ENDPOINT_NETWORK_TYPE, 0), - ), -) - -DB_PROXY_ENDPOINT_STATUS: StaticSchema = ( - 14, - n0, - _DBPES, - 0, - (_AVAILABLE, _MODIFYING, _IN, _IRL, _CREATING, _DELETING), - ( - (-1, {_sV: _av}), - (-1, {_sV: _mod}), - (-1, {_sV: _in}), - (-1, {_sV: _irl}), - (-1, {_sV: _cr}), - (-1, {_sV: _de}), - ), -) - -DB_PROXY_ENDPOINT: StaticSchema = ( - 18, - n0, - _DBPE, - 0, - (_DBPEN, _DBPEA, _DBPN, _St, _VI, _VSGIp, _VSI, _End, _CDr, _TR, _ID, _ENT), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DB_PROXY_ENDPOINT_STATUS, 0), - (STRING, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - (STRING, 0), - (T_STAMP, 0), - (DB_PROXY_ENDPOINT_TARGET_ROLE, 0), - (BOOLEAN, 0), - (ENDPOINT_NETWORK_TYPE, 0), - ), -) - -CREATE_DB_PROXY_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBPEO, - {_sSI: _cCDBPERo, _smit: None}, - (_DBPE,), - ((DB_PROXY_ENDPOINT, 0),), -) - -DB_PROXY_ENDPOINT_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBPEAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBProxyEndpointAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_PROXY_ENDPOINT_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBPEQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBProxyEndpointQuotaExceededFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_PROXY_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBPSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBProxyStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_PROXY_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CDBPE, - 0, - CREATE_DB_PROXY_ENDPOINT_INPUT, - CREATE_DB_PROXY_ENDPOINT_OUTPUT, - ( - DB_PROXY_ENDPOINT_ALREADY_EXISTS_FAULT, - DB_PROXY_ENDPOINT_QUOTA_EXCEEDED_FAULT, - DB_PROXY_NOT_FOUND_FAULT, - INVALID_DB_PROXY_STATE_FAULT, - INVALID_SUBNET, - ), -) - -CREATE_DB_SECURITY_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CDBSGI, - {_sSI: _cCDBSGM, _smi: None}, - (_DBSGN, _DBSGD, _Ta), - ((STRING, 1), (STRING, 1), (TAG_LIST, 0)), -) - -CREATE_DB_SECURITY_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBSGO, - {_sSI: _cCDBSGR, _smit: None}, - (_DBSG,), - ((DB_SECURITY_GROUP, 0),), -) - -DB_SECURITY_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBSGAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBSecurityGroupAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SECURITY_GROUP_NOT_SUPPORTED_FAULT: StaticSchema = ( - 18, - n0, - _DBSGNSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBSecurityGroupNotSupported", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SECURITY_GROUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBSGQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "QuotaExceeded.DBSecurityGroup", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_SECURITY_GROUP: StaticOperationSchema = ( - 23, - n0, - _CDBSG, - 0, - CREATE_DB_SECURITY_GROUP_INPUT, - CREATE_DB_SECURITY_GROUP_OUTPUT, - ( - DB_SECURITY_GROUP_ALREADY_EXISTS_FAULT, - DB_SECURITY_GROUP_NOT_SUPPORTED_FAULT, - DB_SECURITY_GROUP_QUOTA_EXCEEDED_FAULT, - ), -) - -CREATE_DB_SHARD_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CDBSGIr, - {_sSI: _cCDBSGMo, _smi: None}, - (_DBSGI, _DBCI, _CR, _MACU, _MACUi, _PA, _Ta), - ( - (STRING, 1), - (STRING, 1), - (INTEGER_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 1), - (DOUBLE_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (TAG_LIST, 0), - ), -) - -DB_SHARD_GROUP_IDENTIFIER: StaticSchema = (3, n0, _DBSGI, 0) - -CREATE_DB_SHARD_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBSGOr, - {_sSI: _cDBSG, _smit: None}, - (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), - ( - (STRING, 0), - (DB_SHARD_GROUP_IDENTIFIER, 0), - (STRING, 0), - (DOUBLE_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (TAG_LIST, 0), - ), -) - -DB_SHARD_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBSGAEFh, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBShardGroupAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -MAX_DB_SHARD_GROUP_LIMIT_REACHED: StaticSchema = ( - 18, - n0, - _MDBSGLR, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "MaxDBShardGroupLimitReached", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -UNSUPPORTED_DB_ENGINE_VERSION_FAULT: StaticSchema = ( - 18, - n0, - _UDBEVF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "UnsupportedDBEngineVersion", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_SHARD_GROUP: StaticOperationSchema = ( - 23, - n0, - _CDBSGr, - 0, - CREATE_DB_SHARD_GROUP_INPUT, - CREATE_DB_SHARD_GROUP_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - DB_SHARD_GROUP_ALREADY_EXISTS_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_VPC_NETWORK_STATE_FAULT, - MAX_DB_SHARD_GROUP_LIMIT_REACHED, - NETWORK_TYPE_NOT_SUPPORTED, - UNSUPPORTED_DB_ENGINE_VERSION_FAULT, - ), -) - -CREATE_DB_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _CDBSIr, - {_sSI: _cCDBSMo, _smi: None}, - (_DBSIn, _DBII, _Ta), - ((STRING, 1), (STRING, 1), (TAG_LIST, 0)), -) - -CREATE_DB_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBSOr, - {_sSI: _cCDBSRo, _smit: None}, - (_DBS,), - ((DB_SNAPSHOT, 0),), -) - -CREATE_DB_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _CDBSr, - 0, - CREATE_DB_SNAPSHOT_INPUT, - CREATE_DB_SNAPSHOT_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - DB_SNAPSHOT_ALREADY_EXISTS_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - SNAPSHOT_QUOTA_EXCEEDED_FAULT, - ), -) - -SUBNET_IDENTIFIER_LIST: StaticSchema = ( - 16, - n0, - _SILu, - 0, - (_m,), - ((STRING, {_sN: _SIub}),), -) - -CREATE_DB_SUBNET_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _CDBSGIre, - {_sSI: _cCDBSGMom, _smi: None}, - (_DBSGNu, _DBSGDu, _SIubn, _Ta), - ((STRING, 1), (STRING, 1), (SUBNET_IDENTIFIER_LIST, 1), (TAG_LIST, 0)), -) - -CREATE_DB_SUBNET_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _CDBSGOre, - {_sSI: _cCDBSGRo, _smit: None}, - (_DBSGu,), - ((DB_SUBNET_GROUP, 0),), -) - -DB_SUBNET_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _DBSGAEFu, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBSubnetGroupAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SUBNET_GROUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBSGQEFu, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBSubnetGroupQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_SUBNET_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBSQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBSubnetQuotaExceededFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_DB_SUBNET_GROUP: StaticOperationSchema = ( - 23, - n0, - _CDBSGre, - 0, - CREATE_DB_SUBNET_GROUP_INPUT, - CREATE_DB_SUBNET_GROUP_OUTPUT, - ( - DB_SUBNET_GROUP_ALREADY_EXISTS_FAULT, - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_QUOTA_EXCEEDED_FAULT, - DB_SUBNET_QUOTA_EXCEEDED_FAULT, - INVALID_SUBNET, - ), -) - -CREATE_EVENT_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _CESI, - {_sSI: _cCESM, _smi: None}, - (_SN, _STA, _STo, _ECv, _SIou, _E, _Ta), - ( - (STRING, 1), - (STRING, 1), - (STRING, 0), - (EVENT_CATEGORIES_LIST, 0), - (SOURCE_IDS_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (TAG_LIST, 0), - ), -) - -CREATE_EVENT_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CESO, - {_sSI: _cCESR, _smit: None}, - (_ES,), - ((EVENT_SUBSCRIPTION, 0),), -) - -EVENT_SUBSCRIPTION_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _ESQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "EventSubscriptionQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SNS_INVALID_TOPIC_FAULT: StaticSchema = ( - 18, - n0, - _SNSITF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "SNSInvalidTopic", "httpResponseCode": 400}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SNS_NO_AUTHORIZATION_FAULT: StaticSchema = ( - 18, - n0, - _SNSNAF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "SNSNoAuthorization", "httpResponseCode": 400}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SNS_TOPIC_ARN_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _SNSTANFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "SNSTopicArnNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SUBSCRIPTION_ALREADY_EXIST_FAULT: StaticSchema = ( - 18, - n0, - _SAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "SubscriptionAlreadyExist", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SUBSCRIPTION_CATEGORY_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _SCNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "SubscriptionCategoryNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_EVENT_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _CES, - 0, - CREATE_EVENT_SUBSCRIPTION_INPUT, - CREATE_EVENT_SUBSCRIPTION_OUTPUT, - ( - EVENT_SUBSCRIPTION_QUOTA_EXCEEDED_FAULT, - SNS_INVALID_TOPIC_FAULT, - SNS_NO_AUTHORIZATION_FAULT, - SNS_TOPIC_ARN_NOT_FOUND_FAULT, - SOURCE_NOT_FOUND_FAULT, - SUBSCRIPTION_ALREADY_EXIST_FAULT, - SUBSCRIPTION_CATEGORY_NOT_FOUND_FAULT, - ), -) - -CREATE_GLOBAL_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _CGCI, - {_sSI: _cCGCM, _smi: None}, - (_GCI, _SDBCI, _En, _EV, _ELS, _DP, _DN, _SE, _Ta), - ( - (GLOBAL_CLUSTER_IDENTIFIER, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (TAG_LIST, 0), - ), -) - -FAILOVER_STATUS: StaticSchema = ( - 14, - n0, - _FS, - 0, - (_PENDING, _FO, _CANCELLING), - ((-1, {_sV: _p}), (-1, {_sV: _fo}), (-1, {_sV: _can})), -) - -FAILOVER_STATE: StaticSchema = ( - 18, - n0, - _FSa, - 0, - (_St, _FDCA, _TDCA, _IDLA), - ((FAILOVER_STATUS, 0), (STRING, 0), (STRING, 0), (BOOLEAN, 0)), -) - -READERS_ARN_LIST: StaticSchema = (16, n0, _RAL, 0, (_m,), ((STRING, 0),)) - -GLOBAL_CLUSTER_MEMBER_SYNCHRONIZATION_STATUS: StaticSchema = ( - 14, - n0, - _GCMSS, - 0, - (_CONNECTED, _PR), - ((-1, {_sV: _co}), (-1, {_sV: _pr})), -) - -GLOBAL_CLUSTER_MEMBER: StaticSchema = ( - 18, - n0, - _GCM, - 0, - (_DBCA, _R, _IW, _GWFS, _SSy), - ( - (STRING, 0), - (READERS_ARN_LIST, 0), - (BOOLEAN, 0), - (WRITE_FORWARDING_STATUS, 0), - (GLOBAL_CLUSTER_MEMBER_SYNCHRONIZATION_STATUS, 0), - ), -) - -GLOBAL_CLUSTER_MEMBER_LIST: StaticSchema = ( - 16, - n0, - _GCML, - 0, - (_m,), - ((GLOBAL_CLUSTER_MEMBER, {_sN: _GCM}),), -) - -GLOBAL_CLUSTER: StaticSchema = ( - 18, - n0, - _GC, - 0, - ( - _GCI, - _GCRI, - _GCA, - _St, - _En, - _EV, - _ELS, - _DN, - _SE, - _SET, - _DP, - _GCMl, - _End, - _FSa, - _TL, - ), - ( - (GLOBAL_CLUSTER_IDENTIFIER, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STORAGE_ENCRYPTION_TYPE, 0), - (BOOLEAN_OPTIONAL, 0), - (GLOBAL_CLUSTER_MEMBER_LIST, 0), - (STRING, 0), - (FAILOVER_STATE, 0), - (TAG_LIST, 0), - ), -) - -CREATE_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _CGCO, - {_sSI: _cCGCR, _smit: None}, - (_GC,), - ((GLOBAL_CLUSTER, 0),), -) - -GLOBAL_CLUSTER_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _GCAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "GlobalClusterAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -GLOBAL_CLUSTER_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _GCQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "GlobalClusterQuotaExceededFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_DB_SHARD_GROUP_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBSGSFnv, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBShardGroupState", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_GLOBAL_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _CGC, - 0, - CREATE_GLOBAL_CLUSTER_INPUT, - CREATE_GLOBAL_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - GLOBAL_CLUSTER_ALREADY_EXISTS_FAULT, - GLOBAL_CLUSTER_QUOTA_EXCEEDED_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_SHARD_GROUP_STATE_FAULT, - RESOURCE_NOT_FOUND_FAULT, - ), -) - -ENCRYPTION_CONTEXT_MAP: StaticSchema = ( - 17, - n0, - _ECM, - 0, - (_k, _v), - ((STRING, 0), (STRING, 0)), -) - -DATA_FILTER: StaticSchema = (3, n0, _DFa, 0) - -INTEGRATION_DESCRIPTION: StaticSchema = (3, n0, _IDn, 0) - -INTEGRATION_NAME: StaticSchema = (3, n0, _INn, 0) - -SOURCE_ARN: StaticSchema = (3, n0, _SA, 0) - -CREATE_INTEGRATION_INPUT: StaticSchema = ( - 18, - n0, - _CII, - {_sSI: _cCIM, _smi: None}, - (_SA, _TAa, _INn, _KMSKI, _AEC, _Ta, _DFa, _D), - ( - (SOURCE_ARN, 1), - (ARN, 1), - (INTEGRATION_NAME, 1), - (STRING, 0), - (ENCRYPTION_CONTEXT_MAP, 0), - (TAG_LIST, 0), - (DATA_FILTER, 0), - (INTEGRATION_DESCRIPTION, 0), - ), -) - -INTEGRATION_ERROR: StaticSchema = ( - 18, - n0, - _IE, - 0, - (_ECr, _EMr), - ((STRING, 1), (STRING, 0)), -) - -INTEGRATION_ERROR_LIST: StaticSchema = ( - 16, - n0, - _IEL, - 0, - (_m,), - ((INTEGRATION_ERROR, {_sN: _IE}),), -) - -INTEGRATION_ARN: StaticSchema = (3, n0, _IAn, 0) - -INTEGRATION_STATUS: StaticSchema = ( - 14, - n0, - _ISn, - 0, - (_CREATING, _ACTIVE, _MODIFYING, _FAILED, _DELETING, _SYNCING, _NA), - ( - (-1, {_sV: _cr}), - (-1, {_sV: _ac}), - (-1, {_sV: _mod}), - (-1, {_sV: _f}), - (-1, {_sV: _de}), - (-1, {_sV: _sy}), - (-1, {_sV: _na}), - ), -) - -CREATE_INTEGRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CIO, - {_sSI: _cI, _smit: None}, - (_SA, _TAa, _INn, _IAn, _KMSKI, _AEC, _St, _Ta, _DFa, _D, _CTr, _Er), - ( - (SOURCE_ARN, 0), - (ARN, 0), - (INTEGRATION_NAME, 0), - (INTEGRATION_ARN, 0), - (STRING, 0), - (ENCRYPTION_CONTEXT_MAP, 0), - (INTEGRATION_STATUS, 0), - (TAG_LIST, 0), - (DATA_FILTER, 0), - (INTEGRATION_DESCRIPTION, 0), - (T_STAMP, 0), - (INTEGRATION_ERROR_LIST, 0), - ), -) - -INTEGRATION_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _IAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "IntegrationAlreadyExistsFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INTEGRATION_CONFLICT_OPERATION_FAULT: StaticSchema = ( - 18, - n0, - _ICOF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "IntegrationConflictOperationFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INTEGRATION_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _IQEFn, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "IntegrationQuotaExceededFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_INTEGRATION: StaticOperationSchema = ( - 23, - n0, - _CIr, - 0, - CREATE_INTEGRATION_INPUT, - CREATE_INTEGRATION_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - INTEGRATION_ALREADY_EXISTS_FAULT, - INTEGRATION_CONFLICT_OPERATION_FAULT, - INTEGRATION_QUOTA_EXCEEDED_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - ), -) - -CREATE_OPTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _COGIr, - {_sSI: _cCOGMo, _smi: None}, - (_OGN, _EN, _MEV, _OGD, _Ta), - ((STRING, 1), (STRING, 1), (STRING, 1), (STRING, 1), (TAG_LIST, 0)), -) - -CREATE_OPTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _COGOr, - {_sSI: _cCOGRo, _smit: None}, - (_OG,), - ((OPTION_GROUP, 0),), -) - -CREATE_OPTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _COGr, - 0, - CREATE_OPTION_GROUP_INPUT, - CREATE_OPTION_GROUP_OUTPUT, - (OPTION_GROUP_ALREADY_EXISTS_FAULT, OPTION_GROUP_QUOTA_EXCEEDED_FAULT), -) - -CREATE_TENANT_DATABASE_INPUT: StaticSchema = ( - 18, - n0, - _CTDI, - {_sSI: _cCTDM, _smi: None}, - (_DBII, _TDBN, _MU, _MUP, _CSN, _NCSN, _MMUP, _MUSKKI, _Ta), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (SENSITIVE_STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (TAG_LIST, 0), - ), -) - -TENANT_DATABASE_PENDING_MODIFIED_VALUES: StaticSchema = ( - 18, - n0, - _TDPMV, - 0, - (_MUP, _TDBN), - ((SENSITIVE_STRING, 0), (STRING, 0)), -) - -TENANT_DATABASE: StaticSchema = ( - 18, - n0, - _TD, - 0, - ( - _TDCT, - _DBII, - _TDBN, - _St, - _MU, - _DRI, - _TDRI, - _TDARN, - _CSN, - _NCSN, - _DP, - _PMV, - _MUS, - _TL, - ), - ( - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (TENANT_DATABASE_PENDING_MODIFIED_VALUES, 0), - (MASTER_USER_SECRET, 0), - (TAG_LIST, 0), - ), -) - -CREATE_TENANT_DATABASE_OUTPUT: StaticSchema = ( - 18, - n0, - _CTDO, - {_sSI: _cCTDR, _smit: None}, - (_TD,), - ((TENANT_DATABASE, 0),), -) - -TENANT_DATABASE_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _TDAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "TenantDatabaseAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_TENANT_DATABASE: StaticOperationSchema = ( - 23, - n0, - _CTD, - 0, - CREATE_TENANT_DATABASE_INPUT, - CREATE_TENANT_DATABASE_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - TENANT_DATABASE_ALREADY_EXISTS_FAULT, - TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, - ), -) - -DELETE_BLUE_GREEN_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _DBGDI, - {_sSI: _cDBGDR, _smi: None}, - (_BGDI, _DTel), - ((BLUE_GREEN_DEPLOYMENT_IDENTIFIER, 1), (BOOLEAN_OPTIONAL, 0)), -) - -DELETE_BLUE_GREEN_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DBGDO, - {_sSI: _cDBGDRo, _smit: None}, - (_BGD,), - ((BLUE_GREEN_DEPLOYMENT, 0),), -) - -INVALID_BLUE_GREEN_DEPLOYMENT_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IBGDSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidBlueGreenDeploymentStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_BLUE_GREEN_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _DBGD, - 0, - DELETE_BLUE_GREEN_DEPLOYMENT_INPUT, - DELETE_BLUE_GREEN_DEPLOYMENT_OUTPUT, - (BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, INVALID_BLUE_GREEN_DEPLOYMENT_STATE_FAULT), -) - -DELETE_CUSTOM_DB_ENGINE_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _DCDBEVI, - {_sSI: _cDCDBEVM, _smi: None}, - (_En, _EV), - ((CUSTOM_ENGINE_NAME, 1), (CUSTOM_ENGINE_VERSION, 1)), -) - -DELETE_CUSTOM_DB_ENGINE_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _DCDBEVO, - {_sSI: _cDBEV, _smit: None}, - ( - _En, - _MEV, - _EV, - _DIFSBN, - _DIFSP, - _DIF, - _CDBEVM, - _DBPGF, - _DBED, - _DBEVA, - _DBEVD, - _DCS, - _FR, - _Im, - _DBEMT, - _KMSKI, - _CTr, - _SCS, - _SNCS, - _VUT, - _STu, - _ELT, - _SLETCL, - _SRR, - _SEM, - _SFN, - _St, - _SPQ, - _SGD, - _TL, - _SBu, - _SLD, - _SCRWR, - _SCACI, - _SLWF, - _SIu, - _SVFS, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CHARACTER_SET, 0), - (STRING, 0), - (CUSTOM_DB_ENGINE_VERSION_AMI, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (SUPPORTED_CHARACTER_SETS_LIST, 0), - (SUPPORTED_CHARACTER_SETS_LIST, 0), - (VALID_UPGRADE_TARGET_LIST, 0), - (SUPPORTED_TIMEZONES_LIST, 0), - (LOG_TYPE_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (ENGINE_MODE_LIST, 0), - (FEATURE_NAME_LIST, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (TAG_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (CA_CERTIFICATE_IDENTIFIERS_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - (SERVERLESS_V2_FEATURES_SUPPORT, 0), - ), -) - -DELETE_CUSTOM_DB_ENGINE_VERSION: StaticOperationSchema = ( - 23, - n0, - _DCDBEV, - 0, - DELETE_CUSTOM_DB_ENGINE_VERSION_INPUT, - DELETE_CUSTOM_DB_ENGINE_VERSION_OUTPUT, - ( - CUSTOM_DB_ENGINE_VERSION_NOT_FOUND_FAULT, - INVALID_CUSTOM_DB_ENGINE_VERSION_STATE_FAULT, - ), -) - -DB_CLUSTER_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBCABQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "DBClusterAutomatedBackupQuotaExceededFault", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _DDBCI, - {_sSI: _cDDBCM, _smi: None}, - (_DBCI, _SFS, _FDBSI, _DAB), - ((STRING, 1), (BOOLEAN, 0), (STRING, 0), (BOOLEAN_OPTIONAL, 0)), -) - -DELETE_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCO, - {_sSI: _cDDBCR, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -DELETE_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _DDBC, - 0, - DELETE_DB_CLUSTER_INPUT, - DELETE_DB_CLUSTER_OUTPUT, - ( - DB_CLUSTER_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT, - INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_GLOBAL_CLUSTER_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - SNAPSHOT_QUOTA_EXCEEDED_FAULT, - ), -) - -DB_CLUSTER_AUTOMATED_BACKUP_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBCABNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBClusterAutomatedBackupNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_CLUSTER_AUTOMATED_BACKUP_INPUT: StaticSchema = ( - 18, - n0, - _DDBCABI, - {_sSI: _cDDBCABM, _smi: None}, - (_DCRI,), - ((STRING, 1),), -) - -RESTORE_WINDOW: StaticSchema = ( - 18, - n0, - _RWe, - 0, - (_ETa, _LT), - ((T_STAMP, 0), (T_STAMP, 0)), -) - -DB_CLUSTER_AUTOMATED_BACKUP: StaticSchema = ( - 18, - n0, - _DBCAB, - 0, - ( - _En, - _VI, - _DBCABA, - _DBCI, - _RWe, - _MU, - _DCRI, - _Re, - _LM, - _St, - _IAMDAE, - _CCT, - _SE, - _SET, - _AS, - _EV, - _DBCA, - _BRP, - _PBW, - _EMn, - _AZv, - _P, - _KKI, - _STt, - _Io, - _ST, - _ABRPA, - _TL, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (RESTORE_WINDOW, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (T_STAMP, 0), - (BOOLEAN, 0), - (STORAGE_ENCRYPTION_TYPE, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (AVAILABILITY_ZONES, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (TAG_LIST, 0), - ), -) - -DELETE_DB_CLUSTER_AUTOMATED_BACKUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCABO, - {_sSI: _cDDBCABR, _smit: None}, - (_DBCAB,), - ((DB_CLUSTER_AUTOMATED_BACKUP, 0),), -) - -INVALID_DB_CLUSTER_AUTOMATED_BACKUP_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBCABSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "InvalidDBClusterAutomatedBackupStateFault", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_CLUSTER_AUTOMATED_BACKUP: StaticOperationSchema = ( - 23, - n0, - _DDBCAB, - 0, - DELETE_DB_CLUSTER_AUTOMATED_BACKUP_INPUT, - DELETE_DB_CLUSTER_AUTOMATED_BACKUP_OUTPUT, - ( - DB_CLUSTER_AUTOMATED_BACKUP_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_AUTOMATED_BACKUP_STATE_FAULT, - ), -) - -DB_CLUSTER_ENDPOINT_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBCENFF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBClusterEndpointNotFoundFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_CLUSTER_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DDBCEI, - {_sSI: _cDDBCEM, _smi: None}, - (_DBCEI,), - ((STRING, 1),), -) - -DELETE_DB_CLUSTER_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCEO, - {_sSI: _cDBCE, _smit: None}, - (_DBCEI, _DBCI, _DBCERI, _End, _St, _ET, _CETu, _SMt, _EMx, _DBCEA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - (STRING, 0), - ), -) - -DELETE_DB_CLUSTER_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DDBCE, - 0, - DELETE_DB_CLUSTER_ENDPOINT_INPUT, - DELETE_DB_CLUSTER_ENDPOINT_OUTPUT, - ( - DB_CLUSTER_ENDPOINT_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - ), -) - -DELETE_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DDBCPGI, - {_sSI: _cDDBCPGM, _smi: None}, - (_DBCPGN,), - ((STRING, 1),), -) - -DELETE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCPGO, - {_sSI: _sU, _smit: None}, -) - -INVALID_DB_PARAMETER_GROUP_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBPGSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBParameterGroupState", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _DDBCPG, - 0, - DELETE_DB_CLUSTER_PARAMETER_GROUP_INPUT, - DELETE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT, INVALID_DB_PARAMETER_GROUP_STATE_FAULT), -) - -DELETE_DB_CLUSTER_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _DDBCSI, - {_sSI: _cDDBCSM, _smi: None}, - (_DBCSI,), - ((STRING, 1),), -) - -DELETE_DB_CLUSTER_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCSO, - {_sSI: _cDDBCSR, _smit: None}, - (_DBCS,), - ((DB_CLUSTER_SNAPSHOT, 0),), -) - -DELETE_DB_CLUSTER_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _DDBCS, - 0, - DELETE_DB_CLUSTER_SNAPSHOT_INPUT, - DELETE_DB_CLUSTER_SNAPSHOT_OUTPUT, - (DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT), -) - -DB_INSTANCE_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _DBIABQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBInstanceAutomatedBackupQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _DDBII, - {_sSI: _cDDBIM, _smi: None}, - (_DBII, _SFS, _FDBSI, _DAB), - ((STRING, 1), (BOOLEAN, 0), (STRING, 0), (BOOLEAN_OPTIONAL, 0)), -) - -DELETE_DB_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBIO, - {_sSI: _cDDBIR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -DELETE_DB_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _DDBI, - 0, - DELETE_DB_INSTANCE_INPUT, - DELETE_DB_INSTANCE_OUTPUT, - ( - DB_INSTANCE_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_SNAPSHOT_ALREADY_EXISTS_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - SNAPSHOT_QUOTA_EXCEEDED_FAULT, - ), -) - -DB_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBIABNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBInstanceAutomatedBackupNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_INSTANCE_AUTOMATED_BACKUP_INPUT: StaticSchema = ( - 18, - n0, - _DDBIABI, - {_sSI: _cDDBIABM, _smi: None}, - (_DRI, _DBIABA), - ((STRING, 0), (STRING, 0)), -) - -DB_INSTANCE_AUTOMATED_BACKUP: StaticSchema = ( - 18, - n0, - _DBIAB, - 0, - ( - _DBIA, - _DRI, - _Re, - _DBII, - _RWe, - _AS, - _St, - _P, - _AZ, - _VI, - _ICT, - _MU, - _En, - _EV, - _LM, - _Io, - _ST, - _OGN, - _TCA, - _Enc, - _SET, - _STt, - _KKI, - _Ti, - _IAMDAE, - _BRP, - _PBW, - _DBIABA, - _DBIABRn, - _BTa, - _MT, - _ABRPA, - _TL, - _DLV, - _ASVd, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (RESTORE_WINDOW, 0), - (INTEGER, 0), - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (STORAGE_ENCRYPTION_TYPE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_LIST, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (TAG_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (ADDITIONAL_STORAGE_VOLUMES_LIST, 0), - ), -) - -DELETE_DB_INSTANCE_AUTOMATED_BACKUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBIABO, - {_sSI: _cDDBIABR, _smit: None}, - (_DBIAB,), - ((DB_INSTANCE_AUTOMATED_BACKUP, 0),), -) - -INVALID_DB_INSTANCE_AUTOMATED_BACKUP_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBIABSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBInstanceAutomatedBackupState", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_INSTANCE_AUTOMATED_BACKUP: StaticOperationSchema = ( - 23, - n0, - _DDBIAB, - 0, - DELETE_DB_INSTANCE_AUTOMATED_BACKUP_INPUT, - DELETE_DB_INSTANCE_AUTOMATED_BACKUP_OUTPUT, - ( - DB_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT, - INVALID_DB_INSTANCE_AUTOMATED_BACKUP_STATE_FAULT, - ), -) - -DELETE_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DDBPGI, - {_sSI: _cDDBPGM, _smi: None}, - (_DBPGN,), - ((STRING, 1),), -) - -DELETE_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPGO, - {_sSI: _sU, _smit: None}, -) - -DELETE_DB_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _DDBPG, - 0, - DELETE_DB_PARAMETER_GROUP_INPUT, - DELETE_DB_PARAMETER_GROUP_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT, INVALID_DB_PARAMETER_GROUP_STATE_FAULT), -) - -DELETE_DB_PROXY_INPUT: StaticSchema = ( - 18, - n0, - _DDBPI, - {_sSI: _cDDBPR, _smi: None}, - (_DBPN,), - ((DB_PROXY_NAME, 1),), -) - -DELETE_DB_PROXY_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPO, - {_sSI: _cDDBPRo, _smit: None}, - (_DBP,), - ((DB_PROXY, 0),), -) - -DELETE_DB_PROXY: StaticOperationSchema = ( - 23, - n0, - _DDBP, - 0, - DELETE_DB_PROXY_INPUT, - DELETE_DB_PROXY_OUTPUT, - (DB_PROXY_NOT_FOUND_FAULT, INVALID_DB_PROXY_STATE_FAULT), -) - -DELETE_DB_PROXY_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DDBPEI, - {_sSI: _cDDBPER, _smi: None}, - (_DBPEN,), - ((DB_PROXY_ENDPOINT_NAME, 1),), -) - -DELETE_DB_PROXY_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPEO, - {_sSI: _cDDBPERo, _smit: None}, - (_DBPE,), - ((DB_PROXY_ENDPOINT, 0),), -) - -INVALID_DB_PROXY_ENDPOINT_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBPESF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBProxyEndpointStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_PROXY_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DDBPE, - 0, - DELETE_DB_PROXY_ENDPOINT_INPUT, - DELETE_DB_PROXY_ENDPOINT_OUTPUT, - (DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, INVALID_DB_PROXY_ENDPOINT_STATE_FAULT), -) - -DELETE_DB_SECURITY_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DDBSGI, - {_sSI: _cDDBSGM, _smi: None}, - (_DBSGN,), - ((STRING, 1),), -) - -DELETE_DB_SECURITY_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSGO, - {_sSI: _sU, _smit: None}, -) - -DELETE_DB_SECURITY_GROUP: StaticOperationSchema = ( - 23, - n0, - _DDBSG, - 0, - DELETE_DB_SECURITY_GROUP_INPUT, - DELETE_DB_SECURITY_GROUP_OUTPUT, - (DB_SECURITY_GROUP_NOT_FOUND_FAULT, INVALID_DB_SECURITY_GROUP_STATE_FAULT), -) - -DELETE_DB_SHARD_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DDBSGIe, - {_sSI: _cDDBSGMo, _smi: None}, - (_DBSGI,), - ((DB_SHARD_GROUP_IDENTIFIER, 1),), -) - -DELETE_DB_SHARD_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSGOe, - {_sSI: _cDBSG, _smit: None}, - (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), - ( - (STRING, 0), - (DB_SHARD_GROUP_IDENTIFIER, 0), - (STRING, 0), - (DOUBLE_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (TAG_LIST, 0), - ), -) - -DELETE_DB_SHARD_GROUP: StaticOperationSchema = ( - 23, - n0, - _DDBSGe, - 0, - DELETE_DB_SHARD_GROUP_INPUT, - DELETE_DB_SHARD_GROUP_OUTPUT, - ( - DB_SHARD_GROUP_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_SHARD_GROUP_STATE_FAULT, - ), -) - -DELETE_DB_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _DDBSI, - {_sSI: _cDDBSM, _smi: None}, - (_DBSIn,), - ((STRING, 1),), -) - -DELETE_DB_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSO, - {_sSI: _cDDBSR, _smit: None}, - (_DBS,), - ((DB_SNAPSHOT, 0),), -) - -DELETE_DB_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _DDBS, - 0, - DELETE_DB_SNAPSHOT_INPUT, - DELETE_DB_SNAPSHOT_OUTPUT, - (DB_SNAPSHOT_NOT_FOUND_FAULT, INVALID_DB_SNAPSHOT_STATE_FAULT), -) - -DELETE_DB_SUBNET_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DDBSGIel, - {_sSI: _cDDBSGMom, _smi: None}, - (_DBSGNu,), - ((STRING, 1),), -) - -DELETE_DB_SUBNET_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSGOel, - {_sSI: _sU, _smit: None}, -) - -INVALID_DB_SUBNET_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IDBSSFn, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBSubnetStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_DB_SUBNET_GROUP: StaticOperationSchema = ( - 23, - n0, - _DDBSGel, - 0, - DELETE_DB_SUBNET_GROUP_INPUT, - DELETE_DB_SUBNET_GROUP_OUTPUT, - ( - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - INVALID_DB_SUBNET_GROUP_STATE_FAULT, - INVALID_DB_SUBNET_STATE_FAULT, - ), -) - -DELETE_EVENT_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _DESI, - {_sSI: _cDESM, _smi: None}, - (_SN,), - ((STRING, 1),), -) - -DELETE_EVENT_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DESO, - {_sSI: _cDESR, _smit: None}, - (_ES,), - ((EVENT_SUBSCRIPTION, 0),), -) - -INVALID_EVENT_SUBSCRIPTION_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IESSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidEventSubscriptionState", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_EVENT_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _DES, - 0, - DELETE_EVENT_SUBSCRIPTION_INPUT, - DELETE_EVENT_SUBSCRIPTION_OUTPUT, - (INVALID_EVENT_SUBSCRIPTION_STATE_FAULT, SUBSCRIPTION_NOT_FOUND_FAULT), -) - -DELETE_GLOBAL_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _DGCI, - {_sSI: _cDGCM, _smi: None}, - (_GCI,), - ((GLOBAL_CLUSTER_IDENTIFIER, 1),), -) - -DELETE_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _DGCO, - {_sSI: _cDGCR, _smit: None}, - (_GC,), - ((GLOBAL_CLUSTER, 0),), -) - -DELETE_GLOBAL_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _DGC, - 0, - DELETE_GLOBAL_CLUSTER_INPUT, - DELETE_GLOBAL_CLUSTER_OUTPUT, - (GLOBAL_CLUSTER_NOT_FOUND_FAULT, INVALID_GLOBAL_CLUSTER_STATE_FAULT), -) - -INTEGRATION_IDENTIFIER: StaticSchema = (3, n0, _IIn, 0) - -DELETE_INTEGRATION_INPUT: StaticSchema = ( - 18, - n0, - _DII, - {_sSI: _cDIM, _smi: None}, - (_IIn,), - ((INTEGRATION_IDENTIFIER, 1),), -) - -DELETE_INTEGRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DIO, - {_sSI: _cI, _smit: None}, - (_SA, _TAa, _INn, _IAn, _KMSKI, _AEC, _St, _Ta, _DFa, _D, _CTr, _Er), - ( - (SOURCE_ARN, 0), - (ARN, 0), - (INTEGRATION_NAME, 0), - (INTEGRATION_ARN, 0), - (STRING, 0), - (ENCRYPTION_CONTEXT_MAP, 0), - (INTEGRATION_STATUS, 0), - (TAG_LIST, 0), - (DATA_FILTER, 0), - (INTEGRATION_DESCRIPTION, 0), - (T_STAMP, 0), - (INTEGRATION_ERROR_LIST, 0), - ), -) - -INVALID_INTEGRATION_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IISF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidIntegrationStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_INTEGRATION: StaticOperationSchema = ( - 23, - n0, - _DIe, - 0, - DELETE_INTEGRATION_INPUT, - DELETE_INTEGRATION_OUTPUT, - ( - INTEGRATION_CONFLICT_OPERATION_FAULT, - INTEGRATION_NOT_FOUND_FAULT, - INVALID_INTEGRATION_STATE_FAULT, - ), -) - -DELETE_OPTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _DOGI, - {_sSI: _cDOGM, _smi: None}, - (_OGN,), - ((STRING, 1),), -) - -DELETE_OPTION_GROUP_OUTPUT: StaticSchema = (18, n0, _DOGO, {_sSI: _sU, _smit: None}) - -INVALID_OPTION_GROUP_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IOGSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidOptionGroupStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DELETE_OPTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _DOG, - 0, - DELETE_OPTION_GROUP_INPUT, - DELETE_OPTION_GROUP_OUTPUT, - (INVALID_OPTION_GROUP_STATE_FAULT, OPTION_GROUP_NOT_FOUND_FAULT), -) - -DELETE_TENANT_DATABASE_INPUT: StaticSchema = ( - 18, - n0, - _DTDI, - {_sSI: _cDTDM, _smi: None}, - (_DBII, _TDBN, _SFS, _FDBSI), - ((STRING, 1), (STRING, 1), (BOOLEAN, 0), (STRING, 0)), -) - -DELETE_TENANT_DATABASE_OUTPUT: StaticSchema = ( - 18, - n0, - _DTDO, - {_sSI: _cDTDR, _smit: None}, - (_TD,), - ((TENANT_DATABASE, 0),), -) - -DELETE_TENANT_DATABASE: StaticOperationSchema = ( - 23, - n0, - _DTD, - 0, - DELETE_TENANT_DATABASE_INPUT, - DELETE_TENANT_DATABASE_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - DB_SNAPSHOT_ALREADY_EXISTS_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - TENANT_DATABASE_NOT_FOUND_FAULT, - ), -) - -DB_PROXY_TARGET_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBPTNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBProxyTargetNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DB_PROXY_TARGET_GROUP_NAME: StaticSchema = (3, n0, _DBPTGN, 0) - -DEREGISTER_DB_PROXY_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _DDBPTI, - {_sSI: _cDDBPTR, _smi: None}, - (_DBPN, _TGN, _DBIIn, _DBCIl), - ( - (DB_PROXY_NAME, 1), - (DB_PROXY_TARGET_GROUP_NAME, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - ), -) - -DEREGISTER_DB_PROXY_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPTO, - {_sSI: _cDDBPTRo, _smit: None}, -) - -DEREGISTER_DB_PROXY_TARGETS: StaticOperationSchema = ( - 23, - n0, - _DDBPT, - 0, - DEREGISTER_DB_PROXY_TARGETS_INPUT, - DEREGISTER_DB_PROXY_TARGETS_OUTPUT, - ( - DB_PROXY_NOT_FOUND_FAULT, - DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, - DB_PROXY_TARGET_NOT_FOUND_FAULT, - INVALID_DB_PROXY_STATE_FAULT, - ), -) - -DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _DAAI, - {_sSI: _cDAAM, _smi: None}, -) - -DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DAAO, - {_sSI: _cAAM, _smit: None}, - (_AQc,), - ((ACCOUNT_QUOTA_LIST, 0),), -) - -DESCRIBE_ACCOUNT_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _DAA, - 0, - DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT, - DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT, - (), -) - -FILTER_VALUE_LIST: StaticSchema = (16, n0, _FVL, 0, (_m,), ((STRING, {_sN: _V}),)) - -FILTER: StaticSchema = ( - 18, - n0, - _Fi, - 0, - (_N, _Va), - ((STRING, 1), (FILTER_VALUE_LIST, 1)), -) - -FILTER_LIST: StaticSchema = (16, n0, _FL, 0, (_m,), ((FILTER, {_sN: _Fi}),)) - -MAX_RECORDS: StaticSchema = (7, n0, _MR, 0) - -DESCRIBE_BLUE_GREEN_DEPLOYMENTS_INPUT: StaticSchema = ( - 18, - n0, - _DBGDIe, - {_sSI: _cDBGDRom, _smi: None}, - (_BGDI, _Fil, _Mar, _MR), - ( - (BLUE_GREEN_DEPLOYMENT_IDENTIFIER, 0), - (FILTER_LIST, 0), - (STRING, 0), - (MAX_RECORDS, 0), - ), -) - -BLUE_GREEN_DEPLOYMENT_LIST: StaticSchema = ( - 16, - n0, - _BGDL, - 0, - (_m,), - ((BLUE_GREEN_DEPLOYMENT, 0),), -) - -DESCRIBE_BLUE_GREEN_DEPLOYMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DBGDOe, - {_sSI: _cDBGDRoma, _smit: None}, - (_BGDl, _Mar), - ((BLUE_GREEN_DEPLOYMENT_LIST, 0), (STRING, 0)), -) - -DESCRIBE_BLUE_GREEN_DEPLOYMENTS: StaticOperationSchema = ( - 23, - n0, - _DBGDe, - 0, - DESCRIBE_BLUE_GREEN_DEPLOYMENTS_INPUT, - DESCRIBE_BLUE_GREEN_DEPLOYMENTS_OUTPUT, - (BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT,), -) - -DESCRIBE_CERTIFICATES_INPUT: StaticSchema = ( - 18, - n0, - _DCI, - {_sSI: _cDCM, _smi: None}, - (_CIe, _Fil, _MR, _Mar), - ((STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -CERTIFICATE: StaticSchema = ( - 18, - n0, - _Ce, - 0, - (_CIe, _CTe, _Th, _VF, _VT, _CA, _CO, _COVT), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (T_STAMP, 0), - ), -) - -CERTIFICATE_LIST: StaticSchema = (16, n0, _CL, 0, (_m,), ((CERTIFICATE, {_sN: _Ce}),)) - -DESCRIBE_CERTIFICATES_OUTPUT: StaticSchema = ( - 18, - n0, - _DCO, - {_sSI: _cCM, _smit: None}, - (_DCFNL, _Cer, _Mar), - ((STRING, 0), (CERTIFICATE_LIST, 0), (STRING, 0)), -) - -DESCRIBE_CERTIFICATES: StaticOperationSchema = ( - 23, - n0, - _DC, - 0, - DESCRIBE_CERTIFICATES_INPUT, - DESCRIBE_CERTIFICATES_OUTPUT, - (CERTIFICATE_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_CAPACITY_RESERVATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DDBCRI, - {_sSI: _cDDBCRR, _smi: None}, - (_DBCRI, _Mar, _MR, _Fil), - ( - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - (STRING, 0), - (MAX_RECORDS, 0), - (FILTER_LIST, 0), - ), -) - -DB_CAPACITY_RESERVATION_LIST: StaticSchema = ( - 16, - n0, - _DBCRL, - 0, - (_m,), - ((DB_CAPACITY_RESERVATION, 0),), -) - -DESCRIBE_DB_CAPACITY_RESERVATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCRO, - {_sSI: _cDDBCRRo, _smit: None}, - (_DBCRa, _Mar), - ((DB_CAPACITY_RESERVATION_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_CAPACITY_RESERVATIONS: StaticOperationSchema = ( - 23, - n0, - _DDBCR, - 0, - DESCRIBE_DB_CAPACITY_RESERVATIONS_INPUT, - DESCRIBE_DB_CAPACITY_RESERVATIONS_OUTPUT, - (DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_INPUT: StaticSchema = ( - 18, - n0, - _DDBCABIe, - {_sSI: _cDDBCABMo, _smi: None}, - (_DCRI, _DBCI, _Fil, _MR, _Mar), - ((STRING, 0), (STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DB_CLUSTER_AUTOMATED_BACKUP_LIST: StaticSchema = ( - 16, - n0, - _DBCABL, - 0, - (_m,), - ((DB_CLUSTER_AUTOMATED_BACKUP, {_sN: _DBCAB}),), -) - -DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCABOe, - {_sSI: _cDBCABM, _smit: None}, - (_Mar, _DBCABl), - ((STRING, 0), (DB_CLUSTER_AUTOMATED_BACKUP_LIST, 0)), -) - -DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS: StaticOperationSchema = ( - 23, - n0, - _DDBCABe, - 0, - DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_INPUT, - DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_OUTPUT, - (DB_CLUSTER_AUTOMATED_BACKUP_NOT_FOUND_FAULT,), -) - -DB_CLUSTER_BACKTRACK_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBCBNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBClusterBacktrackNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DESCRIBE_DB_CLUSTER_BACKTRACKS_INPUT: StaticSchema = ( - 18, - n0, - _DDBCBI, - {_sSI: _cDDBCBM, _smi: None}, - (_DBCI, _BI, _Fil, _MR, _Mar), - ((STRING, 1), (STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DB_CLUSTER_BACKTRACK: StaticSchema = ( - 18, - n0, - _DBCB, - 0, - (_DBCI, _BI, _BT, _BF, _BRCT, _St), - ((STRING, 0), (STRING, 0), (T_STAMP, 0), (T_STAMP, 0), (T_STAMP, 0), (STRING, 0)), -) - -DB_CLUSTER_BACKTRACK_LIST: StaticSchema = ( - 16, - n0, - _DBCBL, - 0, - (_m,), - ((DB_CLUSTER_BACKTRACK, {_sN: _DBCB}),), -) - -DESCRIBE_DB_CLUSTER_BACKTRACKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCBO, - {_sSI: _cDBCBM, _smit: None}, - (_Mar, _DBCBl), - ((STRING, 0), (DB_CLUSTER_BACKTRACK_LIST, 0)), -) - -DESCRIBE_DB_CLUSTER_BACKTRACKS: StaticOperationSchema = ( - 23, - n0, - _DDBCB, - 0, - DESCRIBE_DB_CLUSTER_BACKTRACKS_INPUT, - DESCRIBE_DB_CLUSTER_BACKTRACKS_OUTPUT, - (DB_CLUSTER_BACKTRACK_NOT_FOUND_FAULT, DB_CLUSTER_NOT_FOUND_FAULT), -) - -DESCRIBE_DB_CLUSTER_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _DDBCEIe, - {_sSI: _cDDBCEMo, _smi: None}, - (_DBCI, _DBCEI, _Fil, _MR, _Mar), - ((STRING, 0), (STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DB_CLUSTER_ENDPOINT: StaticSchema = ( - 18, - n0, - _DBCE, - 0, - (_DBCEI, _DBCI, _DBCERI, _End, _St, _ET, _CETu, _SMt, _EMx, _DBCEA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - (STRING, 0), - ), -) - -DB_CLUSTER_ENDPOINT_LIST: StaticSchema = ( - 16, - n0, - _DBCEL, - 0, - (_m,), - ((DB_CLUSTER_ENDPOINT, {_sN: _DBCEL}),), -) - -DESCRIBE_DB_CLUSTER_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCEOe, - {_sSI: _cDBCEM, _smit: None}, - (_Mar, _DBCEl), - ((STRING, 0), (DB_CLUSTER_ENDPOINT_LIST, 0)), -) - -DESCRIBE_DB_CLUSTER_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _DDBCEe, - 0, - DESCRIBE_DB_CLUSTER_ENDPOINTS_INPUT, - DESCRIBE_DB_CLUSTER_ENDPOINTS_OUTPUT, - (DB_CLUSTER_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DDBCPGIe, - {_sSI: _cDDBCPGMo, _smi: None}, - (_DBCPGN, _Fil, _MR, _Mar), - ((STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DB_CLUSTER_PARAMETER_GROUP_LIST: StaticSchema = ( - 16, - n0, - _DBCPGL, - 0, - (_m,), - ((DB_CLUSTER_PARAMETER_GROUP, {_sN: _DBCPG}),), -) - -DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCPGOe, - {_sSI: _cDBCPGM, _smit: None}, - (_Mar, _DBCPGl), - ((STRING, 0), (DB_CLUSTER_PARAMETER_GROUP_LIST, 0)), -) - -DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DDBCPGe, - 0, - DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_INPUT, - DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_CLUSTER_PARAMETERS_INPUT: StaticSchema = ( - 18, - n0, - _DDBCPI, - {_sSI: _cDDBCPM, _smi: None}, - (_DBCPGN, _So, _Fil, _MR, _Mar), - ((STRING, 1), (STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -APPLY_METHOD: StaticSchema = ( - 14, - n0, - _AMp, - 0, - (_im, _pr_), - ((-1, {_sV: _im}), (-1, {_sV: _pr__})), -) - -POTENTIALLY_SENSITIVE_PARAMETER_VALUE: StaticSchema = (3, n0, _PSPV, 0) - -PARAMETER: StaticSchema = ( - 18, - n0, - _Pa, - 0, - (_PN, _PV, _D, _So, _AT, _DT, _AV, _IM, _MEVi, _AMp, _SEM), - ( - (STRING, 0), - (POTENTIALLY_SENSITIVE_PARAMETER_VALUE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (APPLY_METHOD, 0), - (ENGINE_MODE_LIST, 0), - ), -) - -PARAMETERS_LIST: StaticSchema = (16, n0, _PL, 0, (_m,), ((PARAMETER, {_sN: _Pa}),)) - -DESCRIBE_DB_CLUSTER_PARAMETERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCPO, - {_sSI: _cDBCPGD, _smit: None}, - (_Par, _Mar), - ((PARAMETERS_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_CLUSTER_PARAMETERS: StaticOperationSchema = ( - 23, - n0, - _DDBCP, - 0, - DESCRIBE_DB_CLUSTER_PARAMETERS_INPUT, - DESCRIBE_DB_CLUSTER_PARAMETERS_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_CLUSTERS_INPUT: StaticSchema = ( - 18, - n0, - _DDBCIe, - {_sSI: _cDDBCMo, _smi: None}, - (_DBCI, _Fil, _MR, _Mar, _ISnc), - ((STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0), (BOOLEAN, 0)), -) - -DB_CLUSTER_LIST: StaticSchema = (16, n0, _DBCL, 0, (_m,), ((DB_CLUSTER, {_sN: _DBC}),)) - -DESCRIBE_DB_CLUSTERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCOe, - {_sSI: _cDBCM, _smit: None}, - (_Mar, _DBCl), - ((STRING, 0), (DB_CLUSTER_LIST, 0)), -) - -DESCRIBE_DB_CLUSTERS: StaticOperationSchema = ( - 23, - n0, - _DDBCe, - 0, - DESCRIBE_DB_CLUSTERS_INPUT, - DESCRIBE_DB_CLUSTERS_OUTPUT, - (DB_CLUSTER_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _DDBCSAI, - {_sSI: _cDDBCSAM, _smi: None}, - (_DBCSI,), - ((STRING, 1),), -) - -ATTRIBUTE_VALUE_LIST: StaticSchema = (16, n0, _AVL, 0, (_m,), ((STRING, {_sN: _AVt}),)) - -DB_CLUSTER_SNAPSHOT_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _DBCSAl, - 0, - (_AN, _AVtt), - ((STRING, 0), (ATTRIBUTE_VALUE_LIST, 0)), -) - -DB_CLUSTER_SNAPSHOT_ATTRIBUTE_LIST: StaticSchema = ( - 16, - n0, - _DBCSAL, - 0, - (_m,), - ((DB_CLUSTER_SNAPSHOT_ATTRIBUTE, {_sN: _DBCSAl}),), -) - -DB_CLUSTER_SNAPSHOT_ATTRIBUTES_RESULT: StaticSchema = ( - 18, - n0, - _DBCSAR, - 0, - (_DBCSI, _DBCSAlu), - ((STRING, 0), (DB_CLUSTER_SNAPSHOT_ATTRIBUTE_LIST, 0)), -) - -DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCSAO, - {_sSI: _cDDBCSAR, _smit: None}, - (_DBCSAR,), - ((DB_CLUSTER_SNAPSHOT_ATTRIBUTES_RESULT, 0),), -) - -DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _DDBCSA, - 0, - DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_INPUT, - DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_OUTPUT, - (DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_CLUSTER_SNAPSHOTS_INPUT: StaticSchema = ( - 18, - n0, - _DDBCSIe, - {_sSI: _cDDBCSMo, _smi: None}, - (_DBCI, _DBCSI, _STna, _Fil, _MR, _Mar, _ISnc, _IP, _DCRI), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -DB_CLUSTER_SNAPSHOT_LIST: StaticSchema = ( - 16, - n0, - _DBCSL, - 0, - (_m,), - ((DB_CLUSTER_SNAPSHOT, {_sN: _DBCS}),), -) - -DESCRIBE_DB_CLUSTER_SNAPSHOTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBCSOe, - {_sSI: _cDBCSM, _smit: None}, - (_Mar, _DBCSl), - ((STRING, 0), (DB_CLUSTER_SNAPSHOT_LIST, 0)), -) - -DESCRIBE_DB_CLUSTER_SNAPSHOTS: StaticOperationSchema = ( - 23, - n0, - _DDBCSe, - 0, - DESCRIBE_DB_CLUSTER_SNAPSHOTS_INPUT, - DESCRIBE_DB_CLUSTER_SNAPSHOTS_OUTPUT, - (DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_ENGINE_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DDBEVI, - {_sSI: _cDDBEVM, _smi: None}, - (_En, _EV, _DBPGF, _Fil, _MR, _Mar, _DOe, _LSCS, _LST, _IAnc), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - ), -) - -DB_ENGINE_VERSION: StaticSchema = ( - 18, - n0, - _DBEV, - 0, - ( - _En, - _MEV, - _EV, - _DIFSBN, - _DIFSP, - _DIF, - _CDBEVM, - _DBPGF, - _DBED, - _DBEVA, - _DBEVD, - _DCS, - _FR, - _Im, - _DBEMT, - _KMSKI, - _CTr, - _SCS, - _SNCS, - _VUT, - _STu, - _ELT, - _SLETCL, - _SRR, - _SEM, - _SFN, - _St, - _SPQ, - _SGD, - _TL, - _SBu, - _SLD, - _SCRWR, - _SCACI, - _SLWF, - _SIu, - _SVFS, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CHARACTER_SET, 0), - (STRING, 0), - (CUSTOM_DB_ENGINE_VERSION_AMI, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (SUPPORTED_CHARACTER_SETS_LIST, 0), - (SUPPORTED_CHARACTER_SETS_LIST, 0), - (VALID_UPGRADE_TARGET_LIST, 0), - (SUPPORTED_TIMEZONES_LIST, 0), - (LOG_TYPE_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (ENGINE_MODE_LIST, 0), - (FEATURE_NAME_LIST, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (TAG_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (CA_CERTIFICATE_IDENTIFIERS_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - (SERVERLESS_V2_FEATURES_SUPPORT, 0), - ), -) - -DB_ENGINE_VERSION_LIST: StaticSchema = ( - 16, - n0, - _DBEVL, - 0, - (_m,), - ((DB_ENGINE_VERSION, {_sN: _DBEV}),), -) - -DESCRIBE_DB_ENGINE_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBEVO, - {_sSI: _cDBEVM, _smit: None}, - (_Mar, _DBEVn), - ((STRING, 0), (DB_ENGINE_VERSION_LIST, 0)), -) - -DESCRIBE_DB_ENGINE_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _DDBEV, - 0, - DESCRIBE_DB_ENGINE_VERSIONS_INPUT, - DESCRIBE_DB_ENGINE_VERSIONS_OUTPUT, - (), -) - -DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_INPUT: StaticSchema = ( - 18, - n0, - _DDBIABIe, - {_sSI: _cDDBIABMo, _smi: None}, - (_DRI, _DBII, _Fil, _MR, _Mar, _DBIABA), - ( - (STRING, 0), - (STRING, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - ), -) - -DB_INSTANCE_AUTOMATED_BACKUP_LIST: StaticSchema = ( - 16, - n0, - _DBIABL, - 0, - (_m,), - ((DB_INSTANCE_AUTOMATED_BACKUP, {_sN: _DBIAB}),), -) - -DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBIABOe, - {_sSI: _cDBIABM, _smit: None}, - (_Mar, _DBIABn), - ((STRING, 0), (DB_INSTANCE_AUTOMATED_BACKUP_LIST, 0)), -) - -DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS: StaticOperationSchema = ( - 23, - n0, - _DDBIABe, - 0, - DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_INPUT, - DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_OUTPUT, - (DB_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DDBIIe, - {_sSI: _cDDBIMo, _smi: None}, - (_DBII, _Fil, _MR, _Mar), - ((STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DB_INSTANCE_LIST: StaticSchema = ( - 16, - n0, - _DBIL, - 0, - (_m,), - ((DB_INSTANCE, {_sN: _DBI}),), -) - -DESCRIBE_DB_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBIOe, - {_sSI: _cDBIM, _smit: None}, - (_Mar, _DBIn), - ((STRING, 0), (DB_INSTANCE_LIST, 0)), -) - -DESCRIBE_DB_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DDBIe, - 0, - DESCRIBE_DB_INSTANCES_INPUT, - DESCRIBE_DB_INSTANCES_OUTPUT, - (DB_INSTANCE_NOT_FOUND_FAULT,), -) - -DB_INSTANCE_NOT_READY_FAULT: StaticSchema = ( - 18, - n0, - _DBINRF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "DBInstanceNotReady", "httpResponseCode": 400}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DESCRIBE_DB_LOG_FILES_INPUT: StaticSchema = ( - 18, - n0, - _DDBLFI, - {_sSI: _cDDBLFM, _smi: None}, - (_DBII, _FCi, _FLW, _FSi, _Fil, _MR, _Mar), - ( - (STRING, 1), - (STRING, 0), - (LONG, 0), - (LONG, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -DESCRIBE_DB_LOG_FILES_DETAILS: StaticSchema = ( - 18, - n0, - _DDBLFD, - 0, - (_LFN, _LW, _Si), - ((STRING, 0), (LONG, 0), (LONG, 0)), -) - -DESCRIBE_DB_LOG_FILES_LIST: StaticSchema = ( - 16, - n0, - _DDBLFL, - 0, - (_m,), - ((DESCRIBE_DB_LOG_FILES_DETAILS, {_sN: _DDBLFD}),), -) - -DESCRIBE_DB_LOG_FILES_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBLFO, - {_sSI: _cDDBLFR, _smit: None}, - (_DDBLF, _Mar), - ((DESCRIBE_DB_LOG_FILES_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_LOG_FILES: StaticOperationSchema = ( - 23, - n0, - _DDBLF, - 0, - DESCRIBE_DB_LOG_FILES_INPUT, - DESCRIBE_DB_LOG_FILES_OUTPUT, - (DB_INSTANCE_NOT_FOUND_FAULT, DB_INSTANCE_NOT_READY_FAULT), -) - -ENGINE: StaticSchema = (3, n0, _En, 0) - -MAJOR_ENGINE_VERSION: StaticSchema = (3, n0, _MEV, 0) - -MARKER: StaticSchema = (3, n0, _Mar, 0) - -DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DDBMEVI, - {_sSI: _cDDBMEVR, _smi: None}, - (_En, _MEV, _Mar, _MR), - ((ENGINE, 0), (MAJOR_ENGINE_VERSION, 0), (MARKER, 0), (MAX_RECORDS, 0)), -) - -LIFECYCLE_SUPPORT_NAME: StaticSchema = ( - 14, - n0, - _LSN, - 0, - (_OSRSS, _OSRES), - ((-1, {_sV: _osrss}), (-1, {_sV: _osres})), -) - -SUPPORTED_ENGINE_LIFECYCLE: StaticSchema = ( - 18, - n0, - _SEL, - 0, - (_LSN, _LSSD, _LSED), - ((LIFECYCLE_SUPPORT_NAME, 1), (T_STAMP, 1), (T_STAMP, 1)), -) - -SUPPORTED_ENGINE_LIFECYCLE_LIST: StaticSchema = ( - 16, - n0, - _SELL, - 0, - (_m,), - ((SUPPORTED_ENGINE_LIFECYCLE, {_sN: _SEL}),), -) - -DB_MAJOR_ENGINE_VERSION: StaticSchema = ( - 18, - n0, - _DBMEV, - 0, - (_En, _MEV, _SELu), - ((STRING, 0), (STRING, 0), (SUPPORTED_ENGINE_LIFECYCLE_LIST, 0)), -) - -DB_MAJOR_ENGINE_VERSIONS_LIST: StaticSchema = ( - 16, - n0, - _DBMEVL, - 0, - (_m,), - ((DB_MAJOR_ENGINE_VERSION, {_sN: _DBMEV}),), -) - -DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBMEVO, - {_sSI: _cDDBMEVRo, _smit: None}, - (_DBMEVa, _Mar), - ((DB_MAJOR_ENGINE_VERSIONS_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_MAJOR_ENGINE_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _DDBMEV, - 0, - DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_INPUT, - DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_OUTPUT, - (), -) - -DESCRIBE_DB_PARAMETER_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DDBPGIe, - {_sSI: _cDDBPGMo, _smi: None}, - (_DBPGN, _Fil, _MR, _Mar), - ((STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DB_PARAMETER_GROUP_LIST: StaticSchema = ( - 16, - n0, - _DBPGL, - 0, - (_m,), - ((DB_PARAMETER_GROUP, {_sN: _DBPG}),), -) - -DESCRIBE_DB_PARAMETER_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPGOe, - {_sSI: _cDBPGM, _smit: None}, - (_Mar, _DBPGa), - ((STRING, 0), (DB_PARAMETER_GROUP_LIST, 0)), -) - -DESCRIBE_DB_PARAMETER_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DDBPGe, - 0, - DESCRIBE_DB_PARAMETER_GROUPS_INPUT, - DESCRIBE_DB_PARAMETER_GROUPS_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_PARAMETERS_INPUT: StaticSchema = ( - 18, - n0, - _DDBPIe, - {_sSI: _cDDBPM, _smi: None}, - (_DBPGN, _So, _Fil, _MR, _Mar), - ((STRING, 1), (STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DESCRIBE_DB_PARAMETERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPOe, - {_sSI: _cDBPGD, _smit: None}, - (_Par, _Mar), - ((PARAMETERS_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_PARAMETERS: StaticOperationSchema = ( - 23, - n0, - _DDBPe, - 0, - DESCRIBE_DB_PARAMETERS_INPUT, - DESCRIBE_DB_PARAMETERS_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_PROXIES_INPUT: StaticSchema = ( - 18, - n0, - _DDBPIes, - {_sSI: _cDDBPRom, _smi: None}, - (_DBPN, _Fil, _Mar, _MR), - ((DB_PROXY_NAME, 0), (FILTER_LIST, 0), (STRING, 0), (MAX_RECORDS, 0)), -) - -DB_PROXY_LIST: StaticSchema = (16, n0, _DBPL, 0, (_m,), ((DB_PROXY, 0),)) - -DESCRIBE_DB_PROXIES_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPOes, - {_sSI: _cDDBPRoma, _smit: None}, - (_DBPr, _Mar), - ((DB_PROXY_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_PROXIES: StaticOperationSchema = ( - 23, - n0, - _DDBPes, - 0, - DESCRIBE_DB_PROXIES_INPUT, - DESCRIBE_DB_PROXIES_OUTPUT, - (DB_PROXY_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_PROXY_ENDPOINTS_INPUT: StaticSchema = ( - 18, - n0, - _DDBPEIe, - {_sSI: _cDDBPERom, _smi: None}, - (_DBPN, _DBPEN, _Fil, _Mar, _MR), - ( - (DB_PROXY_NAME, 0), - (DB_PROXY_ENDPOINT_NAME, 0), - (FILTER_LIST, 0), - (STRING, 0), - (MAX_RECORDS, 0), - ), -) - -DB_PROXY_ENDPOINT_LIST: StaticSchema = ( - 16, - n0, - _DBPEL, - 0, - (_m,), - ((DB_PROXY_ENDPOINT, 0),), -) - -DESCRIBE_DB_PROXY_ENDPOINTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPEOe, - {_sSI: _cDDBPERoma, _smit: None}, - (_DBPEr, _Mar), - ((DB_PROXY_ENDPOINT_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_PROXY_ENDPOINTS: StaticOperationSchema = ( - 23, - n0, - _DDBPEe, - 0, - DESCRIBE_DB_PROXY_ENDPOINTS_INPUT, - DESCRIBE_DB_PROXY_ENDPOINTS_OUTPUT, - (DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, DB_PROXY_NOT_FOUND_FAULT), -) - -DESCRIBE_DB_PROXY_TARGET_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DDBPTGI, - {_sSI: _cDDBPTGR, _smi: None}, - (_DBPN, _TGN, _Fil, _Mar, _MR), - ( - (DB_PROXY_NAME, 1), - (DB_PROXY_TARGET_GROUP_NAME, 0), - (FILTER_LIST, 0), - (STRING, 0), - (MAX_RECORDS, 0), - ), -) - -OPERATOR_SENSITIVE_STRING: StaticSchema = (3, n0, _OSS, 4) - -CONNECTION_POOL_CONFIGURATION_INFO: StaticSchema = ( - 18, - n0, - _CPCI, - 0, - (_MCP, _MICP, _CBT, _SPF, _IQ), - ( - (INTEGER, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING_LIST, 0), - (OPERATOR_SENSITIVE_STRING, 0), - ), -) - -DB_PROXY_TARGET_GROUP: StaticSchema = ( - 18, - n0, - _DBPTG, - 0, - (_DBPN, _TGN, _TGA, _ID, _St, _CPC, _CDr, _UD), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (CONNECTION_POOL_CONFIGURATION_INFO, 0), - (T_STAMP, 0), - (T_STAMP, 0), - ), -) - -TARGET_GROUP_LIST: StaticSchema = ( - 16, - n0, - _TGL, - 0, - (_m,), - ((DB_PROXY_TARGET_GROUP, 0),), -) - -DESCRIBE_DB_PROXY_TARGET_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPTGO, - {_sSI: _cDDBPTGRo, _smit: None}, - (_TG, _Mar), - ((TARGET_GROUP_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_PROXY_TARGET_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DDBPTG, - 0, - DESCRIBE_DB_PROXY_TARGET_GROUPS_INPUT, - DESCRIBE_DB_PROXY_TARGET_GROUPS_OUTPUT, - ( - DB_PROXY_NOT_FOUND_FAULT, - DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, - INVALID_DB_PROXY_STATE_FAULT, - ), -) - -DESCRIBE_DB_PROXY_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _DDBPTIe, - {_sSI: _cDDBPTRom, _smi: None}, - (_DBPN, _TGN, _Fil, _Mar, _MR), - ( - (DB_PROXY_NAME, 1), - (DB_PROXY_TARGET_GROUP_NAME, 0), - (FILTER_LIST, 0), - (STRING, 0), - (MAX_RECORDS, 0), - ), -) - -TARGET_ROLE: StaticSchema = ( - 14, - n0, - _TR, - 0, - (_RW, _RO, _UNKNOWN), - ((-1, {_sV: _RW}), (-1, {_sV: _RO}), (-1, {_sV: _UNKNOWN})), -) - -TARGET_HEALTH_REASON: StaticSchema = ( - 14, - n0, - _THR, - 0, - (_UNREACHABLE, _CF, _AF, _PPC, _IRS, _PROMOTED), - ( - (-1, {_sV: _UNREACHABLE}), - (-1, {_sV: _CF}), - (-1, {_sV: _AF}), - (-1, {_sV: _PPC}), - (-1, {_sV: _IRS}), - (-1, {_sV: _PROMOTED}), - ), -) - -TARGET_STATE: StaticSchema = ( - 14, - n0, - _TSar, - 0, - (_reg, _av, _una, _unu), - ( - (-1, {_sV: _REGISTERING}), - (-1, {_sV: _AVAILABLE}), - (-1, {_sV: _UNAVAILABLE}), - (-1, {_sV: _UNUSED}), - ), -) - -TARGET_HEALTH: StaticSchema = ( - 18, - n0, - _TH, - 0, - (_Sta, _Rea, _D), - ((TARGET_STATE, 0), (TARGET_HEALTH_REASON, 0), (STRING, 0)), -) - -TARGET_TYPE: StaticSchema = ( - 14, - n0, - _TT, - 0, - (_RI_, _RSE, _TC), - ((-1, {_sV: _RI_}), (-1, {_sV: _RSE}), (-1, {_sV: _TC})), -) - -DB_PROXY_TARGET: StaticSchema = ( - 18, - n0, - _DBPT, - 0, - (_TAa, _End, _TCI, _RRId, _P, _Ty, _Ro, _TH), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (TARGET_TYPE, 0), - (TARGET_ROLE, 0), - (TARGET_HEALTH, 0), - ), -) - -TARGET_LIST: StaticSchema = (16, n0, _TLa, 0, (_m,), ((DB_PROXY_TARGET, 0),)) - -DESCRIBE_DB_PROXY_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBPTOe, - {_sSI: _cDDBPTRoma, _smit: None}, - (_Targ, _Mar), - ((TARGET_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_PROXY_TARGETS: StaticOperationSchema = ( - 23, - n0, - _DDBPTe, - 0, - DESCRIBE_DB_PROXY_TARGETS_INPUT, - DESCRIBE_DB_PROXY_TARGETS_OUTPUT, - ( - DB_PROXY_NOT_FOUND_FAULT, - DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, - DB_PROXY_TARGET_NOT_FOUND_FAULT, - INVALID_DB_PROXY_STATE_FAULT, - ), -) - -DESCRIBE_DB_RECOMMENDATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DDBRI, - {_sSI: _cDDBRM, _smi: None}, - (_LUA, _LUB, _Lo, _Fil, _MR, _Mar), - ( - (T_STAMP, 0), - (T_STAMP, 0), - (STRING, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -PERFORMANCE_INSIGHTS_METRIC_DIMENSION_GROUP: StaticSchema = ( - 18, - n0, - _PIMDG, - 0, - (_Di, _G, _Li), - ((STRING_LIST, 0), (STRING, 0), (INTEGER, 0)), -) - -PERFORMANCE_INSIGHTS_METRIC_QUERY: StaticSchema = ( - 18, - n0, - _PIMQ, - 0, - (_GB, _Met), - ((PERFORMANCE_INSIGHTS_METRIC_DIMENSION_GROUP, 0), (STRING, 0)), -) - -METRIC_QUERY: StaticSchema = ( - 18, - n0, - _MQ, - 0, - (_PIMQ,), - ((PERFORMANCE_INSIGHTS_METRIC_QUERY, 0),), -) - -DOUBLE: StaticSchema = (10, n0, _Dou, 0) - -SCALAR_REFERENCE_DETAILS: StaticSchema = (18, n0, _SRD, 0, (_V,), ((DOUBLE, 0),)) - -REFERENCE_DETAILS: StaticSchema = ( - 18, - n0, - _RD, - 0, - (_SRD,), - ((SCALAR_REFERENCE_DETAILS, 0),), -) - -METRIC_REFERENCE: StaticSchema = ( - 18, - n0, - _MRe, - 0, - (_N, _RD), - ((STRING, 0), (REFERENCE_DETAILS, 0)), -) - -METRIC_REFERENCE_LIST: StaticSchema = (16, n0, _MRL, 0, (_m,), ((METRIC_REFERENCE, 0),)) - -METRIC: StaticSchema = ( - 18, - n0, - _Met, - 0, - (_N, _Ref, _SDta, _MQ), - ((STRING, 0), (METRIC_REFERENCE_LIST, 0), (STRING, 0), (METRIC_QUERY, 0)), -) - -METRIC_LIST: StaticSchema = (16, n0, _ML, 0, (_m,), ((METRIC, 0),)) - -PERFORMANCE_ISSUE_DETAILS: StaticSchema = ( - 18, - n0, - _PID, - 0, - (_STtar, _ETn, _Metr, _An), - ((T_STAMP, 0), (T_STAMP, 0), (METRIC_LIST, 0), (STRING, 0)), -) - -ISSUE_DETAILS: StaticSchema = ( - 18, - n0, - _IDs, - 0, - (_PID,), - ((PERFORMANCE_ISSUE_DETAILS, 0),), -) - -DOC_LINK: StaticSchema = (18, n0, _DLo, 0, (_Te, _Ur), ((STRING, 0), (STRING, 0))) - -DOC_LINK_LIST: StaticSchema = (16, n0, _DLL, 0, (_m,), ((DOC_LINK, 0),)) - -CONTEXT_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _CAo, - 0, - (_K, _V), - ((STRING, 0), (STRING, 0)), -) - -CONTEXT_ATTRIBUTE_LIST: StaticSchema = ( - 16, - n0, - _CAL, - 0, - (_m,), - ((CONTEXT_ATTRIBUTE, 0),), -) - -RECOMMENDED_ACTION_PARAMETER: StaticSchema = ( - 18, - n0, - _RAP, - 0, - (_K, _V), - ((STRING, 0), (STRING, 0)), -) - -RECOMMENDED_ACTION_PARAMETER_LIST: StaticSchema = ( - 16, - n0, - _RAPL, - 0, - (_m,), - ((RECOMMENDED_ACTION_PARAMETER, 0),), -) - -RECOMMENDED_ACTION: StaticSchema = ( - 18, - n0, - _RAe, - 0, - (_AI, _Tit, _D, _Ope, _Par, _AMpp, _St, _IDs, _CAon), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (RECOMMENDED_ACTION_PARAMETER_LIST, 0), - (STRING_LIST, 0), - (STRING, 0), - (ISSUE_DETAILS, 0), - (CONTEXT_ATTRIBUTE_LIST, 0), - ), -) - -RECOMMENDED_ACTION_LIST: StaticSchema = ( - 16, - n0, - _RALe, - 0, - (_m,), - ((RECOMMENDED_ACTION, 0),), -) - -DB_RECOMMENDATION: StaticSchema = ( - 18, - n0, - _DBR, - 0, - ( - _RIe, - _TIy, - _Se, - _RAes, - _St, - _CTre, - _UTp, - _De, - _Rec, - _D, - _Rea, - _RAec, - _Ca, - _So, - _TDy, - _TRy, - _Imp, - _AId, - _Lin, - _IDs, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (RECOMMENDED_ACTION_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (DOC_LINK_LIST, 0), - (ISSUE_DETAILS, 0), - ), -) - -DB_RECOMMENDATION_LIST: StaticSchema = ( - 16, - n0, - _DBRL, - 0, - (_m,), - ((DB_RECOMMENDATION, 0),), -) - -DESCRIBE_DB_RECOMMENDATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBRO, - {_sSI: _cDBRM, _smit: None}, - (_DBRe, _Mar), - ((DB_RECOMMENDATION_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_RECOMMENDATIONS: StaticOperationSchema = ( - 23, - n0, - _DDBR, - 0, - DESCRIBE_DB_RECOMMENDATIONS_INPUT, - DESCRIBE_DB_RECOMMENDATIONS_OUTPUT, - (), -) - -DESCRIBE_DB_SECURITY_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DDBSGIes, - {_sSI: _cDDBSGMoma, _smi: None}, - (_DBSGN, _Fil, _MR, _Mar), - ((STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DB_SECURITY_GROUPS: StaticSchema = ( - 16, - n0, - _DBSGe, - 0, - (_m,), - ((DB_SECURITY_GROUP, {_sN: _DBSG}),), -) - -DESCRIBE_DB_SECURITY_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSGOes, - {_sSI: _cDBSGM, _smit: None}, - (_Mar, _DBSGe), - ((STRING, 0), (DB_SECURITY_GROUPS, 0)), -) - -DESCRIBE_DB_SECURITY_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DDBSGes, - 0, - DESCRIBE_DB_SECURITY_GROUPS_INPUT, - DESCRIBE_DB_SECURITY_GROUPS_OUTPUT, - (DB_SECURITY_GROUP_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_SHARD_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DDBSGIesc, - {_sSI: _cDDBSGMomam, _smi: None}, - (_DBSGI, _Fil, _Mar, _MR), - ((DB_SHARD_GROUP_IDENTIFIER, 0), (FILTER_LIST, 0), (STRING, 0), (MAX_RECORDS, 0)), -) - -DB_SHARD_GROUP: StaticSchema = ( - 18, - n0, - _DBSGh, - 0, - (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), - ( - (STRING, 0), - (DB_SHARD_GROUP_IDENTIFIER, 0), - (STRING, 0), - (DOUBLE_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (TAG_LIST, 0), - ), -) - -DB_SHARD_GROUPS_LIST: StaticSchema = ( - 16, - n0, - _DBSGL, - 0, - (_m,), - ((DB_SHARD_GROUP, {_sN: _DBSGh}),), -) - -DESCRIBE_DB_SHARD_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSGOesc, - {_sSI: _cDDBSGR, _smit: None}, - (_DBSGha, _Mar), - ((DB_SHARD_GROUPS_LIST, 0), (STRING, 0)), -) - -DESCRIBE_DB_SHARD_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DDBSGesc, - 0, - DESCRIBE_DB_SHARD_GROUPS_INPUT, - DESCRIBE_DB_SHARD_GROUPS_OUTPUT, - (DB_CLUSTER_NOT_FOUND_FAULT, DB_SHARD_GROUP_NOT_FOUND_FAULT), -) - -DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _DDBSAI, - {_sSI: _cDDBSAM, _smi: None}, - (_DBSIn,), - ((STRING, 1),), -) - -DB_SNAPSHOT_ATTRIBUTE: StaticSchema = ( - 18, - n0, - _DBSAn, - 0, - (_AN, _AVtt), - ((STRING, 0), (ATTRIBUTE_VALUE_LIST, 0)), -) - -DB_SNAPSHOT_ATTRIBUTE_LIST: StaticSchema = ( - 16, - n0, - _DBSAL, - 0, - (_m,), - ((DB_SNAPSHOT_ATTRIBUTE, {_sN: _DBSAn}),), -) - -DB_SNAPSHOT_ATTRIBUTES_RESULT: StaticSchema = ( - 18, - n0, - _DBSAR, - 0, - (_DBSIn, _DBSAna), - ((STRING, 0), (DB_SNAPSHOT_ATTRIBUTE_LIST, 0)), -) - -DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSAO, - {_sSI: _cDDBSAR, _smit: None}, - (_DBSAR,), - ((DB_SNAPSHOT_ATTRIBUTES_RESULT, 0),), -) - -DESCRIBE_DB_SNAPSHOT_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _DDBSA, - 0, - DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_INPUT, - DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_OUTPUT, - (DB_SNAPSHOT_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_SNAPSHOTS_INPUT: StaticSchema = ( - 18, - n0, - _DDBSIe, - {_sSI: _cDDBSMo, _smi: None}, - (_DBII, _DBSIn, _STna, _Fil, _MR, _Mar, _ISnc, _IP, _DRI), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - ), -) - -DB_SNAPSHOT_LIST: StaticSchema = ( - 16, - n0, - _DBSL, - 0, - (_m,), - ((DB_SNAPSHOT, {_sN: _DBS}),), -) - -DESCRIBE_DB_SNAPSHOTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSOe, - {_sSI: _cDBSM, _smit: None}, - (_Mar, _DBSn), - ((STRING, 0), (DB_SNAPSHOT_LIST, 0)), -) - -DESCRIBE_DB_SNAPSHOTS: StaticOperationSchema = ( - 23, - n0, - _DDBSe, - 0, - DESCRIBE_DB_SNAPSHOTS_INPUT, - DESCRIBE_DB_SNAPSHOTS_OUTPUT, - (DB_SNAPSHOT_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_INPUT: StaticSchema = ( - 18, - n0, - _DDBSTDI, - {_sSI: _cDDBSTDM, _smi: None}, - (_DBII, _DBSIn, _STna, _Fil, _MR, _Mar, _DRI), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - ), -) - -DB_SNAPSHOT_TENANT_DATABASE: StaticSchema = ( - 18, - n0, - _DBSTD, - 0, - ( - _DBSIn, - _DBII, - _DRI, - _EN, - _STna, - _TDCT, - _TDBN, - _MU, - _TDRI, - _CSN, - _DBSTDARN, - _NCSN, - _TL, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TAG_LIST, 0), - ), -) - -DB_SNAPSHOT_TENANT_DATABASES_LIST: StaticSchema = ( - 16, - n0, - _DBSTDL, - 0, - (_m,), - ((DB_SNAPSHOT_TENANT_DATABASE, {_sN: _DBSTD}),), -) - -DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSTDO, - {_sSI: _cDBSTDM, _smit: None}, - (_Mar, _DBSTDn), - ((STRING, 0), (DB_SNAPSHOT_TENANT_DATABASES_LIST, 0)), -) - -DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES: StaticOperationSchema = ( - 23, - n0, - _DDBSTD, - 0, - DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_INPUT, - DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_OUTPUT, - (DB_SNAPSHOT_NOT_FOUND_FAULT,), -) - -DESCRIBE_DB_SUBNET_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DDBSGIescr, - {_sSI: _cDDBSGMomama, _smi: None}, - (_DBSGNu, _Fil, _MR, _Mar), - ((STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DB_SUBNET_GROUPS: StaticSchema = ( - 16, - n0, - _DBSGub, - 0, - (_m,), - ((DB_SUBNET_GROUP, {_sN: _DBSGu}),), -) - -DESCRIBE_DB_SUBNET_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBSGOescr, - {_sSI: _cDBSGMo, _smit: None}, - (_Mar, _DBSGub), - ((STRING, 0), (DB_SUBNET_GROUPS, 0)), -) - -DESCRIBE_DB_SUBNET_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DDBSGescr, - 0, - DESCRIBE_DB_SUBNET_GROUPS_INPUT, - DESCRIBE_DB_SUBNET_GROUPS_OUTPUT, - (DB_SUBNET_GROUP_NOT_FOUND_FAULT,), -) - -DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_INPUT: StaticSchema = ( - 18, - n0, - _DEDCPI, - {_sSI: _cDEDCPM, _smi: None}, - (_DBPGF, _Fil, _MR, _Mar), - ((STRING, 1), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -ENGINE_DEFAULTS: StaticSchema = ( - 18, - n0, - _EDn, - 0, - (_DBPGF, _Mar, _Par), - ((STRING, 0), (STRING, 0), (PARAMETERS_LIST, 0)), -) - -DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DEDCPO, - {_sSI: _cDEDCPR, _smit: None}, - (_EDn,), - ((ENGINE_DEFAULTS, 0),), -) - -DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS: StaticOperationSchema = ( - 23, - n0, - _DEDCP, - 0, - DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_INPUT, - DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_OUTPUT, - (), -) - -DESCRIBE_ENGINE_DEFAULT_PARAMETERS_INPUT: StaticSchema = ( - 18, - n0, - _DEDPI, - {_sSI: _cDEDPM, _smi: None}, - (_DBPGF, _Fil, _MR, _Mar), - ((STRING, 1), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -DESCRIBE_ENGINE_DEFAULT_PARAMETERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DEDPO, - {_sSI: _cDEDPR, _smit: None}, - (_EDn,), - ((ENGINE_DEFAULTS, 0),), -) - -DESCRIBE_ENGINE_DEFAULT_PARAMETERS: StaticOperationSchema = ( - 23, - n0, - _DEDP, - 0, - DESCRIBE_ENGINE_DEFAULT_PARAMETERS_INPUT, - DESCRIBE_ENGINE_DEFAULT_PARAMETERS_OUTPUT, - (), -) - -DESCRIBE_EVENT_CATEGORIES_INPUT: StaticSchema = ( - 18, - n0, - _DECI, - {_sSI: _cDECM, _smi: None}, - (_STo, _Fil), - ((STRING, 0), (FILTER_LIST, 0)), -) - -EVENT_CATEGORIES_MAP: StaticSchema = ( - 18, - n0, - _ECMv, - 0, - (_STo, _ECv), - ((STRING, 0), (EVENT_CATEGORIES_LIST, 0)), -) - -EVENT_CATEGORIES_MAP_LIST: StaticSchema = ( - 16, - n0, - _ECML, - 0, - (_m,), - ((EVENT_CATEGORIES_MAP, {_sN: _ECMv}),), -) - -DESCRIBE_EVENT_CATEGORIES_OUTPUT: StaticSchema = ( - 18, - n0, - _DECO, - {_sSI: _cECM, _smit: None}, - (_ECML,), - ((EVENT_CATEGORIES_MAP_LIST, 0),), -) - -DESCRIBE_EVENT_CATEGORIES: StaticOperationSchema = ( - 23, - n0, - _DEC, - 0, - DESCRIBE_EVENT_CATEGORIES_INPUT, - DESCRIBE_EVENT_CATEGORIES_OUTPUT, - (), -) - -SOURCE_TYPE: StaticSchema = ( - 14, - n0, - _STo, - 0, - (_di_, _dpg, _dsg, _ds, _dc, _dcs, _cev, _dp, _bgd, _dsg__, _ze), - ( - (-1, {_sV: _di__}), - (-1, {_sV: _dpg_}), - (-1, {_sV: _dsg_}), - (-1, {_sV: _ds_}), - (-1, {_sV: _dc_}), - (-1, {_sV: _dcs_}), - (-1, {_sV: _cev_}), - (-1, {_sV: _dp_}), - (-1, {_sV: _bgd_}), - (-1, {_sV: _dsg___}), - (-1, {_sV: _ze_}), - ), -) - -DESCRIBE_EVENTS_INPUT: StaticSchema = ( - 18, - n0, - _DEI, - {_sSI: _cDEM, _smi: None}, - (_SI, _STo, _STtar, _ETn, _Du, _ECv, _Fil, _MR, _Mar), - ( - (STRING, 0), - (SOURCE_TYPE, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (INTEGER_OPTIONAL, 0), - (EVENT_CATEGORIES_LIST, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -EVENT: StaticSchema = ( - 18, - n0, - _Ev, - 0, - (_SI, _STo, _Me, _ECv, _Da, _SA), - ( - (STRING, 0), - (SOURCE_TYPE, 0), - (STRING, 0), - (EVENT_CATEGORIES_LIST, 0), - (T_STAMP, 0), - (STRING, 0), - ), -) - -EVENT_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((EVENT, {_sN: _Ev}),)) - -DESCRIBE_EVENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DEO, - {_sSI: _cEM, _smit: None}, - (_Mar, _Eve), - ((STRING, 0), (EVENT_LIST, 0)), -) - -DESCRIBE_EVENTS: StaticOperationSchema = ( - 23, - n0, - _DE, - 0, - DESCRIBE_EVENTS_INPUT, - DESCRIBE_EVENTS_OUTPUT, - (), -) - -DESCRIBE_EVENT_SUBSCRIPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DESIe, - {_sSI: _cDESMo, _smi: None}, - (_SN, _Fil, _MR, _Mar), - ((STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -EVENT_SUBSCRIPTIONS_LIST: StaticSchema = ( - 16, - n0, - _ESL, - 0, - (_m,), - ((EVENT_SUBSCRIPTION, {_sN: _ES}),), -) - -DESCRIBE_EVENT_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DESOe, - {_sSI: _cESM, _smit: None}, - (_Mar, _ESL), - ((STRING, 0), (EVENT_SUBSCRIPTIONS_LIST, 0)), -) - -DESCRIBE_EVENT_SUBSCRIPTIONS: StaticOperationSchema = ( - 23, - n0, - _DESe, - 0, - DESCRIBE_EVENT_SUBSCRIPTIONS_INPUT, - DESCRIBE_EVENT_SUBSCRIPTIONS_OUTPUT, - (SUBSCRIPTION_NOT_FOUND_FAULT,), -) - -DESCRIBE_EXPORT_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _DETI, - {_sSI: _cDETM, _smi: None}, - (_ETI, _SA, _Fil, _Mar, _MR, _STo), - ( - (STRING, 0), - (STRING, 0), - (FILTER_LIST, 0), - (STRING, 0), - (MAX_RECORDS, 0), - (EXPORT_SOURCE_TYPE, 0), - ), -) - -EXPORT_TASK: StaticSchema = ( - 18, - n0, - _ETx, - 0, - ( - _ETI, - _SA, - _EO, - _STn, - _TST, - _TET, - _SB, - _SP, - _IRA, - _KKI, - _St, - _PP, - _TEDIGB, - _FC, - _WM, - _STo, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (EXPORT_SOURCE_TYPE, 0), - ), -) - -EXPORT_TASKS_LIST: StaticSchema = ( - 16, - n0, - _ETL, - 0, - (_m,), - ((EXPORT_TASK, {_sN: _ETx}),), -) - -DESCRIBE_EXPORT_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _DETO, - {_sSI: _cETM, _smit: None}, - (_Mar, _ETxp), - ((STRING, 0), (EXPORT_TASKS_LIST, 0)), -) - -DESCRIBE_EXPORT_TASKS: StaticOperationSchema = ( - 23, - n0, - _DET, - 0, - DESCRIBE_EXPORT_TASKS_INPUT, - DESCRIBE_EXPORT_TASKS_OUTPUT, - (EXPORT_TASK_NOT_FOUND_FAULT,), -) - -DESCRIBE_GLOBAL_CLUSTERS_INPUT: StaticSchema = ( - 18, - n0, - _DGCIe, - {_sSI: _cDGCMo, _smi: None}, - (_GCI, _Fil, _MR, _Mar), - ( - (GLOBAL_CLUSTER_IDENTIFIER, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -GLOBAL_CLUSTER_LIST: StaticSchema = ( - 16, - n0, - _GCL, - 0, - (_m,), - ((GLOBAL_CLUSTER, {_sN: _GCM}),), -) - -DESCRIBE_GLOBAL_CLUSTERS_OUTPUT: StaticSchema = ( - 18, - n0, - _DGCOe, - {_sSI: _cGCM, _smit: None}, - (_Mar, _GCl), - ((STRING, 0), (GLOBAL_CLUSTER_LIST, 0)), -) - -DESCRIBE_GLOBAL_CLUSTERS: StaticOperationSchema = ( - 23, - n0, - _DGCe, - 0, - DESCRIBE_GLOBAL_CLUSTERS_INPUT, - DESCRIBE_GLOBAL_CLUSTERS_OUTPUT, - (GLOBAL_CLUSTER_NOT_FOUND_FAULT,), -) - -DESCRIBE_INTEGRATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DIIe, - {_sSI: _cDIMo, _smi: None}, - (_IIn, _Fil, _MR, _Mar), - ((INTEGRATION_IDENTIFIER, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (MARKER, 0)), -) - -INTEGRATION: StaticSchema = ( - 18, - n0, - _In, - 0, - (_SA, _TAa, _INn, _IAn, _KMSKI, _AEC, _St, _Ta, _DFa, _D, _CTr, _Er), - ( - (SOURCE_ARN, 0), - (ARN, 0), - (INTEGRATION_NAME, 0), - (INTEGRATION_ARN, 0), - (STRING, 0), - (ENCRYPTION_CONTEXT_MAP, 0), - (INTEGRATION_STATUS, 0), - (TAG_LIST, 0), - (DATA_FILTER, 0), - (INTEGRATION_DESCRIPTION, 0), - (T_STAMP, 0), - (INTEGRATION_ERROR_LIST, 0), - ), -) - -INTEGRATION_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((INTEGRATION, {_sN: _In}),)) - -DESCRIBE_INTEGRATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DIOe, - {_sSI: _cDIR, _smit: None}, - (_Mar, _Int), - ((MARKER, 0), (INTEGRATION_LIST, 0)), -) - -DESCRIBE_INTEGRATIONS: StaticOperationSchema = ( - 23, - n0, - _DIes, - 0, - DESCRIBE_INTEGRATIONS_INPUT, - DESCRIBE_INTEGRATIONS_OUTPUT, - (INTEGRATION_NOT_FOUND_FAULT,), -) - -DESCRIBE_OPTION_GROUP_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DOGOI, - {_sSI: _cDOGOM, _smi: None}, - (_EN, _MEV, _Fil, _MR, _Mar), - ((STRING, 1), (STRING, 0), (FILTER_LIST, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE: StaticSchema = ( - 18, - n0, - _MEVPAV, - 0, - (_AVl, _MEVi), - ((STRING, 0), (STRING, 0)), -) - -MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE_LIST: StaticSchema = ( - 16, - n0, - _MEVPAVL, - 0, - (_m,), - ((MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE, {_sN: _MEVPAV}),), -) - -OPTION_GROUP_OPTION_SETTING: StaticSchema = ( - 18, - n0, - _OGOS, - 0, - (_SNe, _SDe, _DV, _AT, _AV, _IM, _IR, _MEVPAV), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE_LIST, 0), - ), -) - -OPTION_GROUP_OPTION_SETTINGS_LIST: StaticSchema = ( - 16, - n0, - _OGOSL, - 0, - (_m,), - ((OPTION_GROUP_OPTION_SETTING, {_sN: _OGOS}),), -) - -OPTION_VERSION: StaticSchema = (18, n0, _OV, 0, (_Ve, _ID), ((STRING, 0), (BOOLEAN, 0))) - -OPTION_GROUP_OPTION_VERSIONS_LIST: StaticSchema = ( - 16, - n0, - _OGOVL, - 0, - (_m,), - ((OPTION_VERSION, {_sN: _OV}),), -) - -OPTIONS_CONFLICTS_WITH: StaticSchema = ( - 16, - n0, - _OCW, - 0, - (_m,), - ((STRING, {_sN: _OCN}),), -) - -OPTIONS_DEPENDED_ON: StaticSchema = (16, n0, _ODO, 0, (_m,), ((STRING, {_sN: _ON}),)) - -OPTION_GROUP_OPTION: StaticSchema = ( - 18, - n0, - _OGO, - 0, - ( - _N, - _D, - _EN, - _MEV, - _MRMEV, - _PRo, - _DPe, - _ODO, - _OCW, - _Pe, - _Per, - _RAMEVU, - _VO, - _SOVD, - _OGOSp, - _OGOV, - _CCA, - _CCR, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (INTEGER_OPTIONAL, 0), - (OPTIONS_DEPENDED_ON, 0), - (OPTIONS_CONFLICTS_WITH, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (OPTION_GROUP_OPTION_SETTINGS_LIST, 0), - (OPTION_GROUP_OPTION_VERSIONS_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - ), -) - -OPTION_GROUP_OPTIONS_LIST: StaticSchema = ( - 16, - n0, - _OGOL, - 0, - (_m,), - ((OPTION_GROUP_OPTION, {_sN: _OGO}),), -) - -DESCRIBE_OPTION_GROUP_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DOGOO, - {_sSI: _cOGOM, _smit: None}, - (_OGOp, _Mar), - ((OPTION_GROUP_OPTIONS_LIST, 0), (STRING, 0)), -) - -DESCRIBE_OPTION_GROUP_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _DOGOe, - 0, - DESCRIBE_OPTION_GROUP_OPTIONS_INPUT, - DESCRIBE_OPTION_GROUP_OPTIONS_OUTPUT, - (), -) - -DESCRIBE_OPTION_GROUPS_INPUT: StaticSchema = ( - 18, - n0, - _DOGIe, - {_sSI: _cDOGMo, _smi: None}, - (_OGN, _Fil, _Mar, _MR, _EN, _MEV), - ( - (STRING, 0), - (FILTER_LIST, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - ), -) - -OPTION_GROUPS_LIST: StaticSchema = ( - 16, - n0, - _OGL, - 0, - (_m,), - ((OPTION_GROUP, {_sN: _OG}),), -) - -DESCRIBE_OPTION_GROUPS_OUTPUT: StaticSchema = ( - 18, - n0, - _DOGOes, - {_sSI: _cOG, _smit: None}, - (_OGL, _Mar), - ((OPTION_GROUPS_LIST, 0), (STRING, 0)), -) - -DESCRIBE_OPTION_GROUPS: StaticOperationSchema = ( - 23, - n0, - _DOGe, - 0, - DESCRIBE_OPTION_GROUPS_INPUT, - DESCRIBE_OPTION_GROUPS_OUTPUT, - (OPTION_GROUP_NOT_FOUND_FAULT,), -) - -DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DODBIOI, - {_sSI: _cDODBIOM, _smi: None}, - (_En, _EV, _DBIC, _LM, _AZG, _Vp, _Fil, _MR, _Mar), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -AVAILABILITY_ZONE_LIST: StaticSchema = ( - 16, - n0, - _AZL, - 0, - (_m,), - ((AVAILABILITY_ZONE, {_sN: _AZ}),), -) - -AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION: StaticSchema = ( - 18, - n0, - _AASVO, - 0, - (_SSAu, _SST, _SIup, _STt, _MSS, _MSSa, _MIi, _MIa, _MIPG, _MIPGa, _MST, _MSTa), - ( - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - ), -) - -AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION_LIST: StaticSchema = ( - 16, - n0, - _AASVOL, - 0, - (_m,), - ((AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION, {_sN: _AASVO}),), -) - -AVAILABLE_PROCESSOR_FEATURE: StaticSchema = ( - 18, - n0, - _APF, - 0, - (_N, _DV, _AV), - ((STRING, 0), (STRING, 0), (STRING, 0)), -) - -AVAILABLE_PROCESSOR_FEATURE_LIST: StaticSchema = ( - 16, - n0, - _APFL, - 0, - (_m,), - ((AVAILABLE_PROCESSOR_FEATURE, {_sN: _APF}),), -) - -ORDERABLE_DB_INSTANCE_OPTION: StaticSchema = ( - 18, - n0, - _ODBIO, - 0, - ( - _En, - _EV, - _DBIC, - _LM, - _AZG, - _AZv, - _MAZC, - _RRC, - _Vp, - _SSEu, - _STt, - _SIup, - _SST, - _SEMu, - _SIAMDA, - _SPI, - _MSS, - _MSSa, - _MIPDI, - _MIPDIa, - _MIPG, - _MIPGa, - _MSTPDI, - _MSTPDIa, - _MSTPI, - _MSTPIa, - _APFv, - _SEM, - _SSAu, - _SKA, - _OC, - _SASM, - _SGD, - _SNT, - _SCu, - _SDLV, - _SASV, - _SHE, - _AASVOv, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (AVAILABILITY_ZONE_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (AVAILABLE_PROCESSOR_FEATURE_LIST, 0), - (ENGINE_MODE_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - (ACTIVITY_STREAM_MODE_LIST, 0), - (BOOLEAN, 0), - (STRING_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - (AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION_LIST, 0), - ), -) - -ORDERABLE_DB_INSTANCE_OPTIONS_LIST: StaticSchema = ( - 16, - n0, - _ODBIOL, - 0, - (_m,), - ((ORDERABLE_DB_INSTANCE_OPTION, {_sN: _ODBIO}),), -) - -DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DODBIOO, - {_sSI: _cODBIOM, _smit: None}, - (_ODBIOr, _Mar), - ((ORDERABLE_DB_INSTANCE_OPTIONS_LIST, 0), (STRING, 0)), -) - -DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS: StaticOperationSchema = ( - 23, - n0, - _DODBIO, - 0, - DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_INPUT, - DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_OUTPUT, - (), -) - -DESCRIBE_PENDING_MAINTENANCE_ACTIONS_INPUT: StaticSchema = ( - 18, - n0, - _DPMAI, - {_sSI: _cDPMAM, _smi: None}, - (_RI, _Fil, _Mar, _MR), - ((STRING, 0), (FILTER_LIST, 0), (STRING, 0), (INTEGER_OPTIONAL, 0)), -) - -PENDING_MAINTENANCE_ACTIONS: StaticSchema = ( - 16, - n0, - _PMAe, - 0, - (_m,), - ((RESOURCE_PENDING_MAINTENANCE_ACTIONS, {_sN: _RPMA}),), -) - -DESCRIBE_PENDING_MAINTENANCE_ACTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DPMAO, - {_sSI: _cPMAM, _smit: None}, - (_PMAe, _Mar), - ((PENDING_MAINTENANCE_ACTIONS, 0), (STRING, 0)), -) - -DESCRIBE_PENDING_MAINTENANCE_ACTIONS: StaticOperationSchema = ( - 23, - n0, - _DPMA, - 0, - DESCRIBE_PENDING_MAINTENANCE_ACTIONS_INPUT, - DESCRIBE_PENDING_MAINTENANCE_ACTIONS_OUTPUT, - (RESOURCE_NOT_FOUND_FAULT,), -) - -DESCRIBE_RESERVED_DB_INSTANCES_INPUT: StaticSchema = ( - 18, - n0, - _DRDBII, - {_sSI: _cDRDBIM, _smi: None}, - (_RDBII, _RDBIOI, _DBIC, _Du, _PD, _OT, _MAZ, _LI, _Fil, _MR, _Mar), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -RECURRING_CHARGE: StaticSchema = ( - 18, - n0, - _RC, - 0, - (_RCA, _RCF), - ((DOUBLE, 0), (STRING, 0)), -) - -RECURRING_CHARGE_LIST: StaticSchema = ( - 16, - n0, - _RCL, - 0, - (_m,), - ((RECURRING_CHARGE, {_sN: _RC}),), -) - -RESERVED_DB_INSTANCE: StaticSchema = ( - 18, - n0, - _RDBI, - 0, - ( - _RDBII, - _RDBIOI, - _DBIC, - _STtar, - _Du, - _FP, - _UP, - _CC, - _DBICn, - _PD, - _OT, - _MAZ, - _Sta, - _RCe, - _RDBIA, - _LI, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (INTEGER, 0), - (DOUBLE, 0), - (DOUBLE, 0), - (STRING, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (RECURRING_CHARGE_LIST, 0), - (STRING, 0), - (STRING, 0), - ), -) - -RESERVED_DB_INSTANCE_LIST: StaticSchema = ( - 16, - n0, - _RDBIL, - 0, - (_m,), - ((RESERVED_DB_INSTANCE, {_sN: _RDBI}),), -) - -DESCRIBE_RESERVED_DB_INSTANCES_OUTPUT: StaticSchema = ( - 18, - n0, - _DRDBIO, - {_sSI: _cRDBIM, _smit: None}, - (_Mar, _RDBIe), - ((STRING, 0), (RESERVED_DB_INSTANCE_LIST, 0)), -) - -RESERVED_DB_INSTANCE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _RDBINFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "ReservedDBInstanceNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DESCRIBE_RESERVED_DB_INSTANCES: StaticOperationSchema = ( - 23, - n0, - _DRDBI, - 0, - DESCRIBE_RESERVED_DB_INSTANCES_INPUT, - DESCRIBE_RESERVED_DB_INSTANCES_OUTPUT, - (RESERVED_DB_INSTANCE_NOT_FOUND_FAULT,), -) - -DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_INPUT: StaticSchema = ( - 18, - n0, - _DRDBIOI, - {_sSI: _cDRDBIOM, _smi: None}, - (_RDBIOI, _DBIC, _Du, _PD, _OT, _MAZ, _Fil, _MR, _Mar), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (FILTER_LIST, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -RESERVED_DB_INSTANCES_OFFERING: StaticSchema = ( - 18, - n0, - _RDBIO, - 0, - (_RDBIOI, _DBIC, _Du, _FP, _UP, _CC, _PD, _OT, _MAZ, _RCe), - ( - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (DOUBLE, 0), - (DOUBLE, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (RECURRING_CHARGE_LIST, 0), - ), -) - -RESERVED_DB_INSTANCES_OFFERING_LIST: StaticSchema = ( - 16, - n0, - _RDBIOL, - 0, - (_m,), - ((RESERVED_DB_INSTANCES_OFFERING, {_sN: _RDBIO}),), -) - -DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_OUTPUT: StaticSchema = ( - 18, - n0, - _DRDBIOO, - {_sSI: _cRDBIOM, _smit: None}, - (_Mar, _RDBIOe), - ((STRING, 0), (RESERVED_DB_INSTANCES_OFFERING_LIST, 0)), -) - -RESERVED_DB_INSTANCES_OFFERING_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _RDBIONFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "ReservedDBInstancesOfferingNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS: StaticOperationSchema = ( - 23, - n0, - _DRDBIOe, - 0, - DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_INPUT, - DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_OUTPUT, - (RESERVED_DB_INSTANCES_OFFERING_NOT_FOUND_FAULT,), -) - -DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _DSVPVI, - {_sSI: _cDSVPVM, _smi: None}, - (_SVPV, _En, _Fil, _DOe, _IAnc, _MR, _Mar), - ( - (STRING, 0), - (STRING, 0), - (FILTER_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -SERVERLESS_V2_PLATFORM_VERSION_INFO: StaticSchema = ( - 18, - n0, - _SVPVI, - 0, - (_SVPV, _SVPVD, _En, _SVFS, _St, _ID), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (SERVERLESS_V2_FEATURES_SUPPORT, 0), - (STRING, 0), - (BOOLEAN, 0), - ), -) - -SERVERLESS_V2_PLATFORM_VERSION_LIST: StaticSchema = ( - 16, - n0, - _SVPVL, - 0, - (_m,), - ((SERVERLESS_V2_PLATFORM_VERSION_INFO, 0),), -) - -DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSVPVO, - {_sSI: _cSVPVM, _smit: None}, - (_Mar, _SVPVe), - ((STRING, 0), (SERVERLESS_V2_PLATFORM_VERSION_LIST, 0)), -) - -DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _DSVPV, - 0, - DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_INPUT, - DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_OUTPUT, - (), -) - -DESCRIBE_SOURCE_REGIONS_INPUT: StaticSchema = ( - 18, - n0, - _DSRI, - {_sSI: _cDSRM, _smi: None}, - (_RNe, _MR, _Mar, _Fil), - ((STRING, 0), (INTEGER_OPTIONAL, 0), (STRING, 0), (FILTER_LIST, 0)), -) - -SOURCE_REGION: StaticSchema = ( - 18, - n0, - _SR, - 0, - (_RNe, _End, _St, _SDBIABR), - ((STRING, 0), (STRING, 0), (STRING, 0), (BOOLEAN, 0)), -) - -SOURCE_REGION_LIST: StaticSchema = ( - 16, - n0, - _SRL, - 0, - (_m,), - ((SOURCE_REGION, {_sN: _SR}),), -) - -DESCRIBE_SOURCE_REGIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DSRO, - {_sSI: _cSRM, _smit: None}, - (_Mar, _SRo), - ((STRING, 0), (SOURCE_REGION_LIST, 0)), -) - -DESCRIBE_SOURCE_REGIONS: StaticOperationSchema = ( - 23, - n0, - _DSR, - 0, - DESCRIBE_SOURCE_REGIONS_INPUT, - DESCRIBE_SOURCE_REGIONS_OUTPUT, - (), -) - -DESCRIBE_TENANT_DATABASES_INPUT: StaticSchema = ( - 18, - n0, - _DTDIe, - {_sSI: _cDTDMo, _smi: None}, - (_DBII, _TDBN, _Fil, _Mar, _MR), - ((STRING, 0), (STRING, 0), (FILTER_LIST, 0), (STRING, 0), (INTEGER_OPTIONAL, 0)), -) - -TENANT_DATABASES_LIST: StaticSchema = ( - 16, - n0, - _TDL, - 0, - (_m,), - ((TENANT_DATABASE, {_sN: _TD}),), -) - -DESCRIBE_TENANT_DATABASES_OUTPUT: StaticSchema = ( - 18, - n0, - _DTDOe, - {_sSI: _cTDM, _smit: None}, - (_Mar, _TDe), - ((STRING, 0), (TENANT_DATABASES_LIST, 0)), -) - -DESCRIBE_TENANT_DATABASES: StaticOperationSchema = ( - 23, - n0, - _DTDe, - 0, - DESCRIBE_TENANT_DATABASES_INPUT, - DESCRIBE_TENANT_DATABASES_OUTPUT, - (DB_INSTANCE_NOT_FOUND_FAULT,), -) - -DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_INPUT: StaticSchema = ( - 18, - n0, - _DVDBIMI, - {_sSI: _cDVDBIMM, _smi: None}, - (_DBII,), - ((STRING, 1),), -) - -DOUBLE_RANGE: StaticSchema = (18, n0, _DR, 0, (_Fr, _To), ((DOUBLE, 0), (DOUBLE, 0))) - -DOUBLE_RANGE_LIST: StaticSchema = ( - 16, - n0, - _DRL, - 0, - (_m,), - ((DOUBLE_RANGE, {_sN: _DR}),), -) - -RANGE: StaticSchema = ( - 18, - n0, - _Ra, - 0, - (_Fr, _To, _Ste), - ((INTEGER, 0), (INTEGER, 0), (INTEGER_OPTIONAL, 0)), -) - -RANGE_LIST: StaticSchema = (16, n0, _RL, 0, (_m,), ((RANGE, {_sN: _Ra}),)) - -VALID_STORAGE_OPTIONS: StaticSchema = ( - 18, - n0, - _VSO, - 0, - (_STt, _SSt, _PI, _ITSR, _PST, _STTIR, _SSAu), - ( - (STRING, 0), - (RANGE_LIST, 0), - (RANGE_LIST, 0), - (DOUBLE_RANGE_LIST, 0), - (RANGE_LIST, 0), - (DOUBLE_RANGE_LIST, 0), - (BOOLEAN, 0), - ), -) - -VALID_STORAGE_OPTIONS_LIST: StaticSchema = ( - 16, - n0, - _VSOL, - 0, - (_m,), - ((VALID_STORAGE_OPTIONS, {_sN: _VSO}),), -) - -VALID_VOLUME_OPTIONS: StaticSchema = ( - 18, - n0, - _VVO, - 0, - (_VN, _Sto), - ((STRING, 0), (VALID_STORAGE_OPTIONS_LIST, 0)), -) - -VALID_VOLUME_OPTIONS_LIST: StaticSchema = ( - 16, - n0, - _VVOL, - 0, - (_m,), - ((VALID_VOLUME_OPTIONS, 0),), -) - -VALID_ADDITIONAL_STORAGE_OPTIONS: StaticSchema = ( - 18, - n0, - _VASO, - 0, - (_SASV, _Vo), - ((BOOLEAN, 0), (VALID_VOLUME_OPTIONS_LIST, 0)), -) - -VALID_DB_INSTANCE_MODIFICATIONS_MESSAGE: StaticSchema = ( - 18, - n0, - _VDBIMM, - 0, - (_Sto, _VPF, _SDLV, _ASd), - ( - (VALID_STORAGE_OPTIONS_LIST, 0), - (AVAILABLE_PROCESSOR_FEATURE_LIST, 0), - (BOOLEAN, 0), - (VALID_ADDITIONAL_STORAGE_OPTIONS, 0), - ), -) - -DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _DVDBIMO, - {_sSI: _cDVDBIMR, _smit: None}, - (_VDBIMM,), - ((VALID_DB_INSTANCE_MODIFICATIONS_MESSAGE, 0),), -) - -DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS: StaticOperationSchema = ( - 23, - n0, - _DVDBIM, - 0, - DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_INPUT, - DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_OUTPUT, - (DB_INSTANCE_NOT_FOUND_FAULT, INVALID_DB_INSTANCE_STATE_FAULT), -) - -DISABLE_HTTP_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _DHEI, - {_sSI: _cDHER, _smi: None}, - (_RAes,), - ((STRING, 1),), -) - -DISABLE_HTTP_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _DHEO, - {_sSI: _cDHERo, _smit: None}, - (_RAes, _HEE), - ((STRING, 0), (BOOLEAN, 0)), -) - -INVALID_RESOURCE_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IRSF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidResourceStateFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DISABLE_HTTP_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DHE, - 0, - DISABLE_HTTP_ENDPOINT_INPUT, - DISABLE_HTTP_ENDPOINT_OUTPUT, - (INVALID_RESOURCE_STATE_FAULT, RESOURCE_NOT_FOUND_FAULT), -) - -DB_LOG_FILE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBLFNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBLogFileNotFoundFault", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -DOWNLOAD_DB_LOG_FILE_PORTION_INPUT: StaticSchema = ( - 18, - n0, - _DDBLFPI, - {_sSI: _cDDBLFPM, _smi: None}, - (_DBII, _LFN, _Mar, _NOL), - ((STRING, 1), (STRING, 1), (STRING, 0), (INTEGER, 0)), -) - -DOWNLOAD_DB_LOG_FILE_PORTION_OUTPUT: StaticSchema = ( - 18, - n0, - _DDBLFPO, - {_sSI: _cDDBLFPD, _smit: None}, - (_LFD, _Mar, _ADP), - ((SENSITIVE_STRING, 0), (STRING, 0), (BOOLEAN, 0)), -) - -DOWNLOAD_DB_LOG_FILE_PORTION: StaticOperationSchema = ( - 23, - n0, - _DDBLFP, - 0, - DOWNLOAD_DB_LOG_FILE_PORTION_INPUT, - DOWNLOAD_DB_LOG_FILE_PORTION_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_READY_FAULT, - DB_LOG_FILE_NOT_FOUND_FAULT, - ), -) - -ENABLE_HTTP_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _EHEI, - {_sSI: _cEHER, _smi: None}, - (_RAes,), - ((STRING, 1),), -) - -ENABLE_HTTP_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _EHEO, - {_sSI: _cEHERo, _smit: None}, - (_RAes, _HEE), - ((STRING, 0), (BOOLEAN, 0)), -) - -ENABLE_HTTP_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _EHE, - 0, - ENABLE_HTTP_ENDPOINT_INPUT, - ENABLE_HTTP_ENDPOINT_OUTPUT, - (INVALID_RESOURCE_STATE_FAULT, RESOURCE_NOT_FOUND_FAULT), -) - -FAILOVER_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _FDBCI, - {_sSI: _cFDBCM, _smi: None}, - (_DBCI, _TDBII), - ((STRING, 1), (STRING, 0)), -) - -FAILOVER_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _FDBCO, - {_sSI: _cFDBCR, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -FAILOVER_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _FDBC, - 0, - FAILOVER_DB_CLUSTER_INPUT, - FAILOVER_DB_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - ), -) - -DB_CLUSTER_IDENTIFIER: StaticSchema = (3, n0, _DBCI, 0) - -FAILOVER_GLOBAL_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _FGCI, - {_sSI: _cFGCM, _smi: None}, - (_GCI, _TDCI, _ADL, _Sw), - ( - (GLOBAL_CLUSTER_IDENTIFIER, 1), - (DB_CLUSTER_IDENTIFIER, 1), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - ), -) - -FAILOVER_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _FGCO, - {_sSI: _cFGCR, _smit: None}, - (_GC,), - ((GLOBAL_CLUSTER, 0),), -) - -FAILOVER_GLOBAL_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _FGC, - 0, - FAILOVER_GLOBAL_CLUSTER_INPUT, - FAILOVER_GLOBAL_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - GLOBAL_CLUSTER_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_GLOBAL_CLUSTER_STATE_FAULT, - ), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRM, _smi: None}, - (_RN, _Fil), - ((STRING, 1), (FILTER_LIST, 0)), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cTLM, _smit: None}, - (_TL,), - ((TAG_LIST, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - 0, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, - DB_PROXY_NOT_FOUND_FAULT, - DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, - DB_SHARD_GROUP_NOT_FOUND_FAULT, - DB_SNAPSHOT_NOT_FOUND_FAULT, - DB_SNAPSHOT_TENANT_DATABASE_NOT_FOUND_FAULT, - INTEGRATION_NOT_FOUND_FAULT, - TENANT_DATABASE_NOT_FOUND_FAULT, - ), -) - -AUDIT_POLICY_STATE: StaticSchema = ( - 14, - n0, - _APS, - 0, - (_LP, _UP_), - ((-1, {_sV: _l}), (-1, {_sV: _u})), -) - -MODIFY_ACTIVITY_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _MASI, - {_sSI: _cMASR, _smi: None}, - (_RAes, _APS), - ((STRING, 0), (AUDIT_POLICY_STATE, 0)), -) - -MODIFY_ACTIVITY_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _MASO, - {_sSI: _cMASRo, _smit: None}, - (_KKI, _KSN, _St, _Mo, _ENAFI, _PS), - ( - (STRING, 0), - (STRING, 0), - (ACTIVITY_STREAM_STATUS, 0), - (ACTIVITY_STREAM_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (ACTIVITY_STREAM_POLICY_STATUS, 0), - ), -) - -MODIFY_ACTIVITY_STREAM: StaticOperationSchema = ( - 23, - n0, - _MASo, - 0, - MODIFY_ACTIVITY_STREAM_INPUT, - MODIFY_ACTIVITY_STREAM_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - RESOURCE_NOT_FOUND_FAULT, - ), -) - -MODIFY_CERTIFICATES_INPUT: StaticSchema = ( - 18, - n0, - _MCI, - {_sSI: _cMCM, _smi: None}, - (_CIe, _RCO), - ((STRING, 0), (BOOLEAN_OPTIONAL, 0)), -) - -MODIFY_CERTIFICATES_OUTPUT: StaticSchema = ( - 18, - n0, - _MCO, - {_sSI: _cMCR, _smit: None}, - (_Ce,), - ((CERTIFICATE, 0),), -) - -MODIFY_CERTIFICATES: StaticOperationSchema = ( - 23, - n0, - _MCo, - 0, - MODIFY_CERTIFICATES_INPUT, - MODIFY_CERTIFICATES_OUTPUT, - (CERTIFICATE_NOT_FOUND_FAULT,), -) - -INVALID_DB_CLUSTER_CAPACITY_FAULT: StaticSchema = ( - 18, - n0, - _IDBCCF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidDBClusterCapacityFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -MODIFY_CURRENT_DB_CLUSTER_CAPACITY_INPUT: StaticSchema = ( - 18, - n0, - _MCDBCCI, - {_sSI: _cMCDBCCM, _smi: None}, - (_DBCI, _C, _SBT, _TA), - ((STRING, 1), (INTEGER_OPTIONAL, 0), (INTEGER_OPTIONAL, 0), (STRING, 0)), -) - -MODIFY_CURRENT_DB_CLUSTER_CAPACITY_OUTPUT: StaticSchema = ( - 18, - n0, - _MCDBCCO, - {_sSI: _cDBCCI, _smit: None}, - (_DBCI, _PC, _CCu, _SBT, _TA), - ( - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - ), -) - -MODIFY_CURRENT_DB_CLUSTER_CAPACITY: StaticOperationSchema = ( - 23, - n0, - _MCDBCC, - 0, - MODIFY_CURRENT_DB_CLUSTER_CAPACITY_INPUT, - MODIFY_CURRENT_DB_CLUSTER_CAPACITY_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_CAPACITY_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - ), -) - -CUSTOM_ENGINE_VERSION_STATUS: StaticSchema = ( - 14, - n0, - _CEVS, - 0, - (_av, _ina, _ier), - ((-1, {_sV: _av}), (-1, {_sV: _ina}), (-1, {_sV: _ier_})), -) - -MODIFY_CUSTOM_DB_ENGINE_VERSION_INPUT: StaticSchema = ( - 18, - n0, - _MCDBEVI, - {_sSI: _cMCDBEVM, _smi: None}, - (_En, _EV, _D, _St), - ( - (CUSTOM_ENGINE_NAME, 1), - (CUSTOM_ENGINE_VERSION, 1), - (DESCRIPTION, 0), - (CUSTOM_ENGINE_VERSION_STATUS, 0), - ), -) - -MODIFY_CUSTOM_DB_ENGINE_VERSION_OUTPUT: StaticSchema = ( - 18, - n0, - _MCDBEVO, - {_sSI: _cDBEV, _smit: None}, - ( - _En, - _MEV, - _EV, - _DIFSBN, - _DIFSP, - _DIF, - _CDBEVM, - _DBPGF, - _DBED, - _DBEVA, - _DBEVD, - _DCS, - _FR, - _Im, - _DBEMT, - _KMSKI, - _CTr, - _SCS, - _SNCS, - _VUT, - _STu, - _ELT, - _SLETCL, - _SRR, - _SEM, - _SFN, - _St, - _SPQ, - _SGD, - _TL, - _SBu, - _SLD, - _SCRWR, - _SCACI, - _SLWF, - _SIu, - _SVFS, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CHARACTER_SET, 0), - (STRING, 0), - (CUSTOM_DB_ENGINE_VERSION_AMI, 0), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (SUPPORTED_CHARACTER_SETS_LIST, 0), - (SUPPORTED_CHARACTER_SETS_LIST, 0), - (VALID_UPGRADE_TARGET_LIST, 0), - (SUPPORTED_TIMEZONES_LIST, 0), - (LOG_TYPE_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (ENGINE_MODE_LIST, 0), - (FEATURE_NAME_LIST, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (TAG_LIST, 0), - (BOOLEAN, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (CA_CERTIFICATE_IDENTIFIERS_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - (SERVERLESS_V2_FEATURES_SUPPORT, 0), - ), -) - -MODIFY_CUSTOM_DB_ENGINE_VERSION: StaticOperationSchema = ( - 23, - n0, - _MCDBEV, - 0, - MODIFY_CUSTOM_DB_ENGINE_VERSION_INPUT, - MODIFY_CUSTOM_DB_ENGINE_VERSION_OUTPUT, - ( - CUSTOM_DB_ENGINE_VERSION_NOT_FOUND_FAULT, - INVALID_CUSTOM_DB_ENGINE_VERSION_STATE_FAULT, - ), -) - -END_DATE_TYPE: StaticSchema = ( - 14, - n0, - _EDT, - 0, - (_unl, _lim), - ((-1, {_sV: _unl}), (-1, {_sV: _lim})), -) - -MODIFY_DB_CAPACITY_RESERVATION_INPUT: StaticSchema = ( - 18, - n0, - _MDBCRI, - {_sSI: _cMDBCRR, _smi: None}, - (_DBCRI, _CPAZ, _EDT, _ED), - ( - (DB_CAPACITY_RESERVATION_IDENTIFIER, 1), - (INTEGER_OPTIONAL, 0), - (END_DATE_TYPE, 0), - (T_STAMP, 0), - ), -) - -MODIFY_DB_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBCRO, - {_sSI: _cMDBCRRo, _smit: None}, - (_DBCR,), - ((DB_CAPACITY_RESERVATION, 0),), -) - -MODIFY_DB_CAPACITY_RESERVATION: StaticOperationSchema = ( - 23, - n0, - _MDBCR, - 0, - MODIFY_DB_CAPACITY_RESERVATION_INPUT, - MODIFY_DB_CAPACITY_RESERVATION_OUTPUT, - ( - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - INSTANCE_QUOTA_EXCEEDED_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - ), -) - -AWS_BACKUP_RECOVERY_POINT_ARN: StaticSchema = (3, n0, _ABRPA, 0) - -CLOUDWATCH_LOGS_EXPORT_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CLEC, - 0, - (_ELTn, _DLT), - ((LOG_TYPE_LIST, 0), (LOG_TYPE_LIST, 0)), -) - -MODIFY_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _MDBCI, - {_sSI: _cMDBCM, _smi: None}, - ( - _DBCI, - _NDBCI, - _AIp, - _BRP, - _DBCPGN, - _VSGIp, - _P, - _MUP, - _OGN, - _PBW, - _PMW, - _EIAMDA, - _BW, - _CLEC, - _EV, - _AMVUl, - _DBIPGN, - _Do, - _DIAMRN, - _SC, - _DP, - _EHE, - _CTTS, - _EGWF, - _DBCIC, - _AS, - _STt, - _Io, - _AMVU, - _NT, - _SVSC, - _MI, - _MRA, - _DIM, - _EPI, - _PIKMSKI, - _PIRP, - _MMUP, - _RMUP, - _ELWF, - _MUSKKI, - _EMn, - _AEMC, - _ABRPA, - _ELD, - _CACI, - _MUAT, - _ELS, - ), - ( - (STRING, 1), - (STRING, 0), - (BOOLEAN, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (INTEGER_OPTIONAL, 0), - (SENSITIVE_STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (LONG_OPTIONAL, 0), - (CLOUDWATCH_LOGS_EXPORT_CONFIGURATION, 0), - (STRING, 0), - (BOOLEAN, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (SCALING_CONFIGURATION, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (SERVERLESS_V2_SCALING_CONFIGURATION, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (DATABASE_INSIGHTS_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN, 0), - (AWS_BACKUP_RECOVERY_POINT_ARN, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (MASTER_USER_AUTHENTICATION_TYPE, 0), - (STRING, 0), - ), -) - -MODIFY_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBCO, - {_sSI: _cMDBCR, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -STORAGE_TYPE_NOT_AVAILABLE_FAULT: StaticSchema = ( - 18, - n0, - _STNAF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "StorageTypeNotAvailableFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -MODIFY_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _MDBC, - 0, - MODIFY_DB_CLUSTER_INPUT, - MODIFY_DB_CLUSTER_OUTPUT, - ( - DB_CLUSTER_ALREADY_EXISTS_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_INSTANCE_ALREADY_EXISTS_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DOMAIN_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_DB_SECURITY_GROUP_STATE_FAULT, - INVALID_DB_SUBNET_GROUP_STATE_FAULT, - INVALID_GLOBAL_CLUSTER_STATE_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_AVAILABLE_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -MODIFY_DB_CLUSTER_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _MDBCEI, - {_sSI: _cMDBCEM, _smi: None}, - (_DBCEI, _ET, _SMt, _EMx), - ((STRING, 1), (STRING, 0), (STRING_LIST, 0), (STRING_LIST, 0)), -) - -MODIFY_DB_CLUSTER_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBCEO, - {_sSI: _cDBCE, _smit: None}, - (_DBCEI, _DBCI, _DBCERI, _End, _St, _ET, _CETu, _SMt, _EMx, _DBCEA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - (STRING, 0), - ), -) - -MODIFY_DB_CLUSTER_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _MDBCE, - 0, - MODIFY_DB_CLUSTER_ENDPOINT_INPUT, - MODIFY_DB_CLUSTER_ENDPOINT_OUTPUT, - ( - DB_CLUSTER_ENDPOINT_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - ), -) - -MODIFY_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _MDBCPGI, - {_sSI: _cMDBCPGM, _smi: None}, - (_DBCPGN, _Par), - ((STRING, 1), (PARAMETERS_LIST, 1)), -) - -MODIFY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBCPGO, - {_sSI: _cDBCPGNM, _smit: None}, - (_DBCPGN,), - ((STRING, 0),), -) - -MODIFY_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _MDBCPG, - 0, - MODIFY_DB_CLUSTER_PARAMETER_GROUP_INPUT, - MODIFY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT, INVALID_DB_PARAMETER_GROUP_STATE_FAULT), -) - -MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MDBCSAI, - {_sSI: _cMDBCSAM, _smi: None}, - (_DBCSI, _AN, _VTA, _VTR), - ((STRING, 1), (STRING, 1), (ATTRIBUTE_VALUE_LIST, 0), (ATTRIBUTE_VALUE_LIST, 0)), -) - -MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBCSAO, - {_sSI: _cMDBCSAR, _smit: None}, - (_DBCSAR,), - ((DB_CLUSTER_SNAPSHOT_ATTRIBUTES_RESULT, 0),), -) - -SHARED_SNAPSHOT_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _SSQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "SharedSnapshotQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MDBCSA, - 0, - MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_INPUT, - MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_OUTPUT, - ( - DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, - SHARED_SNAPSHOT_QUOTA_EXCEEDED_FAULT, - ), -) - -DB_UPGRADE_DEPENDENCY_FAILURE_FAULT: StaticSchema = ( - 18, - n0, - _DBUDFF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBUpgradeDependencyFailure", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -MODIFY_ADDITIONAL_STORAGE_VOLUME: StaticSchema = ( - 18, - n0, - _MASV, - 0, - (_VN, _AS, _IOPS, _MAS, _ST, _STt, _SFD), - ( - (STRING, 1), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - ), -) - -MODIFY_ADDITIONAL_STORAGE_VOLUMES_LIST: StaticSchema = ( - 16, - n0, - _MASVL, - 0, - (_m,), - ((MODIFY_ADDITIONAL_STORAGE_VOLUME, 0),), -) - -MODIFY_DB_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _MDBII, - {_sSI: _cMDBIM, _smi: None}, - ( - _DBII, - _AS, - _DBIC, - _DBSGNu, - _DBSGe, - _VSGIp, - _AIp, - _MUP, - _DBPGN, - _BRP, - _PBW, - _PMW, - _MAZ, - _EV, - _AMVUl, - _AMVU, - _LM, - _Io, - _ST, - _OGN, - _NDBII, - _STt, - _TCA, - _TCP, - _CACI, - _Do, - _DF, - _DOo, - _DASA, - _DDI, - _DD, - _CTTS, - _MI, - _DBPNo, - _PA, - _MRA, - _DIAMRN, - _PT, - _EIAMDA, - _DIM, - _EPI, - _PIKMSKI, - _PIRP, - _CLEC, - _PFr, - _UDPF, - _DP, - _MAS, - _CRR, - _RM, - _AM, - _RFAMM, - _ECOI, - _NT, - _ABRPA, - _MMUP, - _RMUP, - _MUSKKI, - _MT, - _DLV, - _En, - _ASVd, - _DBCRI, - _TSag, - _MUAT, - _ELS, - ), - ( - (STRING, 1), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (DB_SECURITY_GROUP_NAME_LIST, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (BOOLEAN, 0), - (SENSITIVE_STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (SENSITIVE_STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (DATABASE_INSIGHTS_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (CLOUDWATCH_LOGS_EXPORT_CONFIGURATION, 0), - (PROCESSOR_FEATURE_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (REPLICA_MODE, 0), - (AUTOMATION_MODE, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (AWS_BACKUP_RECOVERY_POINT_ARN, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (MODIFY_ADDITIONAL_STORAGE_VOLUMES_LIST, 0), - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - (TAG_SPECIFICATION_LIST, 0), - (MASTER_USER_AUTHENTICATION_TYPE, 0), - (STRING, 0), - ), -) - -MODIFY_DB_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBIO, - {_sSI: _cMDBIR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -MODIFY_DB_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _MDBI, - 0, - MODIFY_DB_INSTANCE_INPUT, - MODIFY_DB_INSTANCE_OUTPUT, - ( - AUTHORIZATION_NOT_FOUND_FAULT, - BACKUP_POLICY_NOT_FOUND_FAULT, - CERTIFICATE_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_INSTANCE_ALREADY_EXISTS_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_SECURITY_GROUP_NOT_FOUND_FAULT, - DB_UPGRADE_DEPENDENCY_FAILURE_FAULT, - DOMAIN_NOT_FOUND_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_DB_SECURITY_GROUP_STATE_FAULT, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -MODIFY_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _MDBPGI, - {_sSI: _cMDBPGM, _smi: None}, - (_DBPGN, _Par), - ((STRING, 1), (PARAMETERS_LIST, 1)), -) - -MODIFY_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBPGO, - {_sSI: _cDBPGNM, _smit: None}, - (_DBPGN,), - ((STRING, 0),), -) - -MODIFY_DB_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _MDBPG, - 0, - MODIFY_DB_PARAMETER_GROUP_INPUT, - MODIFY_DB_PARAMETER_GROUP_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT, INVALID_DB_PARAMETER_GROUP_STATE_FAULT), -) - -MODIFY_DB_PROXY_INPUT: StaticSchema = ( - 18, - n0, - _MDBPI, - {_sSI: _cMDBPR, _smi: None}, - (_DBPN, _NDBPN, _DAS, _Au, _RTLS, _ICTd, _DL, _RA, _SG), - ( - (DB_PROXY_NAME, 1), - (DB_PROXY_NAME, 0), - (DEFAULT_AUTH_SCHEME, 0), - (USER_AUTH_CONFIG_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (ARN, 0), - (STRING_LIST, 0), - ), -) - -MODIFY_DB_PROXY_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBPO, - {_sSI: _cMDBPRo, _smit: None}, - (_DBP,), - ((DB_PROXY, 0),), -) - -MODIFY_DB_PROXY: StaticOperationSchema = ( - 23, - n0, - _MDBP, - 0, - MODIFY_DB_PROXY_INPUT, - MODIFY_DB_PROXY_OUTPUT, - ( - DB_PROXY_ALREADY_EXISTS_FAULT, - DB_PROXY_NOT_FOUND_FAULT, - INVALID_DB_PROXY_STATE_FAULT, - ), -) - -MODIFY_DB_PROXY_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _MDBPEI, - {_sSI: _cMDBPER, _smi: None}, - (_DBPEN, _NDBPEN, _VSGIp), - ((DB_PROXY_ENDPOINT_NAME, 1), (DB_PROXY_ENDPOINT_NAME, 0), (STRING_LIST, 0)), -) - -MODIFY_DB_PROXY_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBPEO, - {_sSI: _cMDBPERo, _smit: None}, - (_DBPE,), - ((DB_PROXY_ENDPOINT, 0),), -) - -MODIFY_DB_PROXY_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _MDBPE, - 0, - MODIFY_DB_PROXY_ENDPOINT_INPUT, - MODIFY_DB_PROXY_ENDPOINT_OUTPUT, - ( - DB_PROXY_ENDPOINT_ALREADY_EXISTS_FAULT, - DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, - INVALID_DB_PROXY_ENDPOINT_STATE_FAULT, - INVALID_DB_PROXY_STATE_FAULT, - ), -) - -CONNECTION_POOL_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CPCo, - 0, - (_MCP, _MICP, _CBT, _SPF, _IQ), - ( - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING_LIST, 0), - (OPERATOR_SENSITIVE_STRING, 0), - ), -) - -MODIFY_DB_PROXY_TARGET_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _MDBPTGI, - {_sSI: _cMDBPTGR, _smi: None}, - (_TGN, _DBPN, _CPC, _NN), - ( - (DB_PROXY_TARGET_GROUP_NAME, 1), - (DB_PROXY_NAME, 1), - (CONNECTION_POOL_CONFIGURATION, 0), - (STRING, 0), - ), -) - -MODIFY_DB_PROXY_TARGET_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBPTGO, - {_sSI: _cMDBPTGRo, _smit: None}, - (_DBPTG,), - ((DB_PROXY_TARGET_GROUP, 0),), -) - -MODIFY_DB_PROXY_TARGET_GROUP: StaticOperationSchema = ( - 23, - n0, - _MDBPTG, - 0, - MODIFY_DB_PROXY_TARGET_GROUP_INPUT, - MODIFY_DB_PROXY_TARGET_GROUP_OUTPUT, - ( - DB_PROXY_NOT_FOUND_FAULT, - DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, - INVALID_DB_PROXY_STATE_FAULT, - ), -) - -RECOMMENDED_ACTION_UPDATE: StaticSchema = ( - 18, - n0, - _RAU, - 0, - (_AI, _St), - ((STRING, 1), (STRING, 1)), -) - -RECOMMENDED_ACTION_UPDATE_LIST: StaticSchema = ( - 16, - n0, - _RAUL, - 0, - (_m,), - ((RECOMMENDED_ACTION_UPDATE, 0),), -) - -MODIFY_DB_RECOMMENDATION_INPUT: StaticSchema = ( - 18, - n0, - _MDBRI, - {_sSI: _cMDBRM, _smi: None}, - (_RIe, _Lo, _St, _RAUe), - ((STRING, 1), (STRING, 0), (STRING, 0), (RECOMMENDED_ACTION_UPDATE_LIST, 0)), -) - -MODIFY_DB_RECOMMENDATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBRO, - {_sSI: _cDBRMo, _smit: None}, - (_DBR,), - ((DB_RECOMMENDATION, 0),), -) - -MODIFY_DB_RECOMMENDATION: StaticOperationSchema = ( - 23, - n0, - _MDBR, - 0, - MODIFY_DB_RECOMMENDATION_INPUT, - MODIFY_DB_RECOMMENDATION_OUTPUT, - (), -) - -MODIFY_DB_SHARD_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _MDBSGI, - {_sSI: _cMDBSGM, _smi: None}, - (_DBSGI, _MACU, _MACUi, _CR), - ( - (DB_SHARD_GROUP_IDENTIFIER, 1), - (DOUBLE_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - ), -) - -MODIFY_DB_SHARD_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBSGO, - {_sSI: _cDBSG, _smit: None}, - (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), - ( - (STRING, 0), - (DB_SHARD_GROUP_IDENTIFIER, 0), - (STRING, 0), - (DOUBLE_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (TAG_LIST, 0), - ), -) - -MODIFY_DB_SHARD_GROUP: StaticOperationSchema = ( - 23, - n0, - _MDBSG, - 0, - MODIFY_DB_SHARD_GROUP_INPUT, - MODIFY_DB_SHARD_GROUP_OUTPUT, - ( - DB_SHARD_GROUP_ALREADY_EXISTS_FAULT, - DB_SHARD_GROUP_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - ), -) - -MODIFY_DB_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _MDBSI, - {_sSI: _cMDBSM, _smi: None}, - (_DBSIn, _EV, _OGN), - ((STRING, 1), (STRING, 0), (STRING, 0)), -) - -MODIFY_DB_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBSO, - {_sSI: _cMDBSR, _smit: None}, - (_DBS,), - ((DB_SNAPSHOT, 0),), -) - -MODIFY_DB_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _MDBS, - 0, - MODIFY_DB_SNAPSHOT_INPUT, - MODIFY_DB_SNAPSHOT_OUTPUT, - ( - DB_SNAPSHOT_NOT_FOUND_FAULT, - INVALID_DB_SNAPSHOT_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - ), -) - -MODIFY_DB_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( - 18, - n0, - _MDBSAI, - {_sSI: _cMDBSAM, _smi: None}, - (_DBSIn, _AN, _VTA, _VTR), - ((STRING, 1), (STRING, 1), (ATTRIBUTE_VALUE_LIST, 0), (ATTRIBUTE_VALUE_LIST, 0)), -) - -MODIFY_DB_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBSAO, - {_sSI: _cMDBSAR, _smit: None}, - (_DBSAR,), - ((DB_SNAPSHOT_ATTRIBUTES_RESULT, 0),), -) - -MODIFY_DB_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( - 23, - n0, - _MDBSA, - 0, - MODIFY_DB_SNAPSHOT_ATTRIBUTE_INPUT, - MODIFY_DB_SNAPSHOT_ATTRIBUTE_OUTPUT, - ( - DB_SNAPSHOT_NOT_FOUND_FAULT, - INVALID_DB_SNAPSHOT_STATE_FAULT, - SHARED_SNAPSHOT_QUOTA_EXCEEDED_FAULT, - ), -) - -MODIFY_DB_SUBNET_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _MDBSGIo, - {_sSI: _cMDBSGMo, _smi: None}, - (_DBSGNu, _DBSGDu, _SIubn), - ((STRING, 1), (STRING, 0), (SUBNET_IDENTIFIER_LIST, 1)), -) - -MODIFY_DB_SUBNET_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _MDBSGOo, - {_sSI: _cMDBSGR, _smit: None}, - (_DBSGu,), - ((DB_SUBNET_GROUP, 0),), -) - -SUBNET_ALREADY_IN_USE: StaticSchema = ( - 18, - n0, - _SAIU, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "SubnetAlreadyInUse", "httpResponseCode": 400}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -MODIFY_DB_SUBNET_GROUP: StaticOperationSchema = ( - 23, - n0, - _MDBSGo, - 0, - MODIFY_DB_SUBNET_GROUP_INPUT, - MODIFY_DB_SUBNET_GROUP_OUTPUT, - ( - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DB_SUBNET_QUOTA_EXCEEDED_FAULT, - INVALID_DB_SUBNET_GROUP_STATE_FAULT, - INVALID_SUBNET, - SUBNET_ALREADY_IN_USE, - ), -) - -MODIFY_EVENT_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _MESI, - {_sSI: _cMESM, _smi: None}, - (_SN, _STA, _STo, _ECv, _E), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (EVENT_CATEGORIES_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - ), -) - -MODIFY_EVENT_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _MESO, - {_sSI: _cMESR, _smit: None}, - (_ES,), - ((EVENT_SUBSCRIPTION, 0),), -) - -MODIFY_EVENT_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _MES, - 0, - MODIFY_EVENT_SUBSCRIPTION_INPUT, - MODIFY_EVENT_SUBSCRIPTION_OUTPUT, - ( - EVENT_SUBSCRIPTION_QUOTA_EXCEEDED_FAULT, - SNS_INVALID_TOPIC_FAULT, - SNS_NO_AUTHORIZATION_FAULT, - SNS_TOPIC_ARN_NOT_FOUND_FAULT, - SUBSCRIPTION_CATEGORY_NOT_FOUND_FAULT, - SUBSCRIPTION_NOT_FOUND_FAULT, - ), -) - -MODIFY_GLOBAL_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _MGCI, - {_sSI: _cMGCM, _smi: None}, - (_GCI, _NGCI, _DP, _EV, _AMVUl), - ( - (GLOBAL_CLUSTER_IDENTIFIER, 1), - (GLOBAL_CLUSTER_IDENTIFIER, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - ), -) - -MODIFY_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _MGCO, - {_sSI: _cMGCR, _smit: None}, - (_GC,), - ((GLOBAL_CLUSTER, 0),), -) - -MODIFY_GLOBAL_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _MGC, - 0, - MODIFY_GLOBAL_CLUSTER_INPUT, - MODIFY_GLOBAL_CLUSTER_OUTPUT, - ( - GLOBAL_CLUSTER_ALREADY_EXISTS_FAULT, - GLOBAL_CLUSTER_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_GLOBAL_CLUSTER_STATE_FAULT, - ), -) - -MODIFY_INTEGRATION_INPUT: StaticSchema = ( - 18, - n0, - _MII, - {_sSI: _cMIM, _smi: None}, - (_IIn, _INn, _DFa, _D), - ( - (INTEGRATION_IDENTIFIER, 1), - (INTEGRATION_NAME, 0), - (DATA_FILTER, 0), - (INTEGRATION_DESCRIPTION, 0), - ), -) - -MODIFY_INTEGRATION_OUTPUT: StaticSchema = ( - 18, - n0, - _MIO, - {_sSI: _cI, _smit: None}, - (_SA, _TAa, _INn, _IAn, _KMSKI, _AEC, _St, _Ta, _DFa, _D, _CTr, _Er), - ( - (SOURCE_ARN, 0), - (ARN, 0), - (INTEGRATION_NAME, 0), - (INTEGRATION_ARN, 0), - (STRING, 0), - (ENCRYPTION_CONTEXT_MAP, 0), - (INTEGRATION_STATUS, 0), - (TAG_LIST, 0), - (DATA_FILTER, 0), - (INTEGRATION_DESCRIPTION, 0), - (T_STAMP, 0), - (INTEGRATION_ERROR_LIST, 0), - ), -) - -MODIFY_INTEGRATION: StaticOperationSchema = ( - 23, - n0, - _MIo, - 0, - MODIFY_INTEGRATION_INPUT, - MODIFY_INTEGRATION_OUTPUT, - ( - INTEGRATION_CONFLICT_OPERATION_FAULT, - INTEGRATION_NOT_FOUND_FAULT, - INVALID_INTEGRATION_STATE_FAULT, - ), -) - -OPTION_SETTINGS_LIST: StaticSchema = ( - 16, - n0, - _OSL, - 0, - (_m,), - ((OPTION_SETTING, {_sN: _OS}),), -) - -OPTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OCp, - 0, - (_ON, _P, _OV, _DBSGMe, _VSGMp, _OSp), - ( - (STRING, 1), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (DB_SECURITY_GROUP_NAME_LIST, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (OPTION_SETTINGS_LIST, 0), - ), -) - -OPTION_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _OCL, - 0, - (_m,), - ((OPTION_CONFIGURATION, {_sN: _OCp}),), -) - -OPTION_NAMES_LIST: StaticSchema = (16, n0, _ONL, 0, (_m,), ((STRING, 0),)) - -MODIFY_OPTION_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _MOGI, - {_sSI: _cMOGM, _smi: None}, - (_OGN, _OTI, _OTR, _AIp), - ((STRING, 1), (OPTION_CONFIGURATION_LIST, 0), (OPTION_NAMES_LIST, 0), (BOOLEAN, 0)), -) - -MODIFY_OPTION_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _MOGO, - {_sSI: _cMOGR, _smit: None}, - (_OG,), - ((OPTION_GROUP, 0),), -) - -MODIFY_OPTION_GROUP: StaticOperationSchema = ( - 23, - n0, - _MOG, - 0, - MODIFY_OPTION_GROUP_INPUT, - MODIFY_OPTION_GROUP_OUTPUT, - (INVALID_OPTION_GROUP_STATE_FAULT, OPTION_GROUP_NOT_FOUND_FAULT), -) - -MODIFY_TENANT_DATABASE_INPUT: StaticSchema = ( - 18, - n0, - _MTDI, - {_sSI: _cMTDM, _smi: None}, - (_DBII, _TDBN, _MUP, _NTDBN, _MMUP, _RMUP, _MUSKKI), - ( - (STRING, 1), - (STRING, 1), - (SENSITIVE_STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - ), -) - -MODIFY_TENANT_DATABASE_OUTPUT: StaticSchema = ( - 18, - n0, - _MTDO, - {_sSI: _cMTDR, _smit: None}, - (_TD,), - ((TENANT_DATABASE, 0),), -) - -MODIFY_TENANT_DATABASE: StaticOperationSchema = ( - 23, - n0, - _MTD, - 0, - MODIFY_TENANT_DATABASE_INPUT, - MODIFY_TENANT_DATABASE_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - TENANT_DATABASE_ALREADY_EXISTS_FAULT, - TENANT_DATABASE_NOT_FOUND_FAULT, - ), -) - -PROMOTE_READ_REPLICA_INPUT: StaticSchema = ( - 18, - n0, - _PRRI, - {_sSI: _cPRRM, _smi: None}, - (_DBII, _BRP, _PBW, _TSag), - ((STRING, 1), (INTEGER_OPTIONAL, 0), (STRING, 0), (TAG_SPECIFICATION_LIST, 0)), -) - -PROMOTE_READ_REPLICA_OUTPUT: StaticSchema = ( - 18, - n0, - _PRRO, - {_sSI: _cPRRR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -PROMOTE_READ_REPLICA: StaticOperationSchema = ( - 23, - n0, - _PRR, - 0, - PROMOTE_READ_REPLICA_INPUT, - PROMOTE_READ_REPLICA_OUTPUT, - (DB_INSTANCE_NOT_FOUND_FAULT, INVALID_DB_INSTANCE_STATE_FAULT), -) - -PROMOTE_READ_REPLICA_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _PRRDBCI, - {_sSI: _cPRRDBCM, _smi: None}, - (_DBCI,), - ((STRING, 1),), -) - -PROMOTE_READ_REPLICA_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _PRRDBCO, - {_sSI: _cPRRDBCR, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -PROMOTE_READ_REPLICA_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _PRRDBC, - 0, - PROMOTE_READ_REPLICA_DB_CLUSTER_INPUT, - PROMOTE_READ_REPLICA_DB_CLUSTER_OUTPUT, - (DB_CLUSTER_NOT_FOUND_FAULT, INVALID_DB_CLUSTER_STATE_FAULT), -) - -PURCHASE_RESERVED_DB_INSTANCES_OFFERING_INPUT: StaticSchema = ( - 18, - n0, - _PRDBIOI, - {_sSI: _cPRDBIOM, _smi: None}, - (_RDBIOI, _RDBII, _DBICn, _Ta), - ((STRING, 1), (STRING, 0), (INTEGER_OPTIONAL, 0), (TAG_LIST, 0)), -) - -PURCHASE_RESERVED_DB_INSTANCES_OFFERING_OUTPUT: StaticSchema = ( - 18, - n0, - _PRDBIOO, - {_sSI: _cPRDBIOR, _smit: None}, - (_RDBI,), - ((RESERVED_DB_INSTANCE, 0),), -) - -RESERVED_DB_INSTANCE_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _RDBIAEF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "ReservedDBInstanceAlreadyExists", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -RESERVED_DB_INSTANCE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( - 18, - n0, - _RDBIQEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ReservedDBInstanceQuotaExceeded", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -PURCHASE_RESERVED_DB_INSTANCES_OFFERING: StaticOperationSchema = ( - 23, - n0, - _PRDBIO, - 0, - PURCHASE_RESERVED_DB_INSTANCES_OFFERING_INPUT, - PURCHASE_RESERVED_DB_INSTANCES_OFFERING_OUTPUT, - ( - RESERVED_DB_INSTANCE_ALREADY_EXISTS_FAULT, - RESERVED_DB_INSTANCE_QUOTA_EXCEEDED_FAULT, - RESERVED_DB_INSTANCES_OFFERING_NOT_FOUND_FAULT, - ), -) - -REBOOT_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _RDBCI, - {_sSI: _cRDBCM, _smi: None}, - (_DBCI,), - ((STRING, 1),), -) - -REBOOT_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBCO, - {_sSI: _cRDBCR, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -REBOOT_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _RDBC, - 0, - REBOOT_DB_CLUSTER_INPUT, - REBOOT_DB_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - ), -) - -REBOOT_DB_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _RDBIIe, - {_sSI: _cRDBIMo, _smi: None}, - (_DBII, _FF), - ((STRING, 1), (BOOLEAN_OPTIONAL, 0)), -) - -REBOOT_DB_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBIOeb, - {_sSI: _cRDBIR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -REBOOT_DB_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _RDBIeb, - 0, - REBOOT_DB_INSTANCE_INPUT, - REBOOT_DB_INSTANCE_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - ), -) - -REBOOT_DB_SHARD_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _RDBSGI, - {_sSI: _cRDBSGM, _smi: None}, - (_DBSGI,), - ((DB_SHARD_GROUP_IDENTIFIER, 1),), -) - -REBOOT_DB_SHARD_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBSGO, - {_sSI: _cDBSG, _smit: None}, - (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), - ( - (STRING, 0), - (DB_SHARD_GROUP_IDENTIFIER, 0), - (STRING, 0), - (DOUBLE_OPTIONAL, 0), - (DOUBLE_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (TAG_LIST, 0), - ), -) - -REBOOT_DB_SHARD_GROUP: StaticOperationSchema = ( - 23, - n0, - _RDBSG, - 0, - REBOOT_DB_SHARD_GROUP_INPUT, - REBOOT_DB_SHARD_GROUP_OUTPUT, - (DB_SHARD_GROUP_NOT_FOUND_FAULT, INVALID_DB_SHARD_GROUP_STATE_FAULT), -) - -DB_PROXY_TARGET_ALREADY_REGISTERED_FAULT: StaticSchema = ( - 18, - n0, - _DBPTARF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "DBProxyTargetAlreadyRegisteredFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INSUFFICIENT_AVAILABLE_I_PS_IN_SUBNET_FAULT: StaticSchema = ( - 18, - n0, - _IAIPISF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InsufficientAvailableIPsInSubnetFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -REGISTER_DB_PROXY_TARGETS_INPUT: StaticSchema = ( - 18, - n0, - _RDBPTI, - {_sSI: _cRDBPTR, _smi: None}, - (_DBPN, _TGN, _DBIIn, _DBCIl), - ( - (DB_PROXY_NAME, 1), - (DB_PROXY_TARGET_GROUP_NAME, 0), - (STRING_LIST, 0), - (STRING_LIST, 0), - ), -) - -REGISTER_DB_PROXY_TARGETS_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBPTO, - {_sSI: _cRDBPTRo, _smit: None}, - (_DBPTr,), - ((TARGET_LIST, 0),), -) - -REGISTER_DB_PROXY_TARGETS: StaticOperationSchema = ( - 23, - n0, - _RDBPT, - 0, - REGISTER_DB_PROXY_TARGETS_INPUT, - REGISTER_DB_PROXY_TARGETS_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_PROXY_NOT_FOUND_FAULT, - DB_PROXY_TARGET_ALREADY_REGISTERED_FAULT, - DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, - INSUFFICIENT_AVAILABLE_I_PS_IN_SUBNET_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_DB_PROXY_STATE_FAULT, - ), -) - -REMOVE_FROM_GLOBAL_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _RFGCI, - {_sSI: _cRFGCM, _smi: None}, - (_GCI, _DCIb), - ((GLOBAL_CLUSTER_IDENTIFIER, 1), (STRING, 1)), -) - -REMOVE_FROM_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _RFGCO, - {_sSI: _cRFGCR, _smit: None}, - (_GC,), - ((GLOBAL_CLUSTER, 0),), -) - -REMOVE_FROM_GLOBAL_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _RFGC, - 0, - REMOVE_FROM_GLOBAL_CLUSTER_INPUT, - REMOVE_FROM_GLOBAL_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - GLOBAL_CLUSTER_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_GLOBAL_CLUSTER_STATE_FAULT, - ), -) - -DB_CLUSTER_ROLE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBCRNFFl, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBClusterRoleNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -REMOVE_ROLE_FROM_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _RRFDBCI, - {_sSI: _cRRFDBCM, _smi: None}, - (_DBCI, _RA, _FN), - ((STRING, 1), (IAM_ROLE_ARN, 1), (STRING, 0)), -) - -REMOVE_ROLE_FROM_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _RRFDBCO, - {_sSI: _sU, _smit: None}, -) - -REMOVE_ROLE_FROM_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _RRFDBC, - 0, - REMOVE_ROLE_FROM_DB_CLUSTER_INPUT, - REMOVE_ROLE_FROM_DB_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_ROLE_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - ), -) - -DB_INSTANCE_ROLE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _DBIRNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "DBInstanceRoleNotFound", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -REMOVE_ROLE_FROM_DB_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _RRFDBII, - {_sSI: _cRRFDBIM, _smi: None}, - (_DBII, _RA, _FN), - ((STRING, 1), (STRING, 1), (STRING, 1)), -) - -REMOVE_ROLE_FROM_DB_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _RRFDBIO, - {_sSI: _sU, _smit: None}, -) - -REMOVE_ROLE_FROM_DB_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _RRFDBI, - 0, - REMOVE_ROLE_FROM_DB_INSTANCE_INPUT, - REMOVE_ROLE_FROM_DB_INSTANCE_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - DB_INSTANCE_ROLE_NOT_FOUND_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - ), -) - -REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _RSIFSI, - {_sSI: _cRSIFSM, _smi: None}, - (_SN, _SI), - ((STRING, 1), (STRING, 1)), -) - -REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _RSIFSO, - {_sSI: _cRSIFSR, _smit: None}, - (_ES,), - ((EVENT_SUBSCRIPTION, 0),), -) - -REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _RSIFS, - 0, - REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_INPUT, - REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_OUTPUT, - (SOURCE_NOT_FOUND_FAULT, SUBSCRIPTION_NOT_FOUND_FAULT), -) - -KEY_LIST: StaticSchema = (16, n0, _KL, 0, (_m,), ((STRING, 0),)) - -REMOVE_TAGS_FROM_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _RTFRI, - {_sSI: _cRTFRM, _smi: None}, - (_RN, _TK), - ((STRING, 1), (KEY_LIST, 1)), -) - -REMOVE_TAGS_FROM_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _RTFRO, - {_sSI: _sU, _smit: None}, -) - -REMOVE_TAGS_FROM_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _RTFR, - 0, - REMOVE_TAGS_FROM_RESOURCE_INPUT, - REMOVE_TAGS_FROM_RESOURCE_OUTPUT, - ( - BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, - DB_PROXY_NOT_FOUND_FAULT, - DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, - DB_SHARD_GROUP_NOT_FOUND_FAULT, - DB_SNAPSHOT_NOT_FOUND_FAULT, - DB_SNAPSHOT_TENANT_DATABASE_NOT_FOUND_FAULT, - INTEGRATION_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - TENANT_DATABASE_NOT_FOUND_FAULT, - ), -) - -RESET_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _RDBCPGI, - {_sSI: _cRDBCPGM, _smi: None}, - (_DBCPGN, _RAPe, _Par), - ((STRING, 1), (BOOLEAN, 0), (PARAMETERS_LIST, 0)), -) - -RESET_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBCPGO, - {_sSI: _cDBCPGNM, _smit: None}, - (_DBCPGN,), - ((STRING, 0),), -) - -RESET_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _RDBCPG, - 0, - RESET_DB_CLUSTER_PARAMETER_GROUP_INPUT, - RESET_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT, INVALID_DB_PARAMETER_GROUP_STATE_FAULT), -) - -RESET_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( - 18, - n0, - _RDBPGI, - {_sSI: _cRDBPGM, _smi: None}, - (_DBPGN, _RAPe, _Par), - ((STRING, 1), (BOOLEAN, 0), (PARAMETERS_LIST, 0)), -) - -RESET_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBPGO, - {_sSI: _cDBPGNM, _smit: None}, - (_DBPGN,), - ((STRING, 0),), -) - -RESET_DB_PARAMETER_GROUP: StaticOperationSchema = ( - 23, - n0, - _RDBPG, - 0, - RESET_DB_PARAMETER_GROUP_INPUT, - RESET_DB_PARAMETER_GROUP_OUTPUT, - (DB_PARAMETER_GROUP_NOT_FOUND_FAULT, INVALID_DB_PARAMETER_GROUP_STATE_FAULT), -) - -INVALID_S3_BUCKET_FAULT: StaticSchema = ( - 18, - n0, - _ISBF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidS3BucketFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -RESTORE_DB_CLUSTER_FROM_S3_INPUT: StaticSchema = ( - 18, - n0, - _RDBCFSI, - {_sSI: _cRDBCFSM, _smi: None}, - ( - _AZv, - _BRP, - _CSN, - _DN, - _DBCI, - _DBCPGN, - _VSGIp, - _DBSGNu, - _En, - _EV, - _P, - _MU, - _MUP, - _OGN, - _PBW, - _PMW, - _Ta, - _SE, - _KKI, - _EIAMDA, - _SEo, - _SEV, - _SBN, - _SP, - _SIRA, - _BW, - _ECLE, - _DP, - _CTTS, - _Do, - _DIAMRN, - _STt, - _NT, - _SVSC, - _MMUP, - _MUSKKI, - _ELS, - _TSag, - _AR, - ), - ( - (AVAILABILITY_ZONES, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 1), - (STRING, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (STRING, 0), - (STRING, 1), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 1), - (SENSITIVE_STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (TAG_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 0), - (STRING, 1), - (LONG_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (SERVERLESS_V2_SCALING_CONFIGURATION, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, 0), - (DB_CLUSTER_ASSOCIATED_ROLES, 0), - ), -) - -RESTORE_DB_CLUSTER_FROM_S3_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBCFSO, - {_sSI: _cRDBCFSR, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -RESTORE_DB_CLUSTER_FROM_S3: StaticOperationSchema = ( - 23, - n0, - _RDBCFS, - 0, - RESTORE_DB_CLUSTER_FROM_S3_INPUT, - RESTORE_DB_CLUSTER_FROM_S3_OUTPUT, - ( - DB_CLUSTER_ALREADY_EXISTS_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_CLUSTER_QUOTA_EXCEEDED_FAULT, - DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DOMAIN_NOT_FOUND_FAULT, - INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_SUBNET_GROUP_STATE_FAULT, - INVALID_S3_BUCKET_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - ), -) - -INSUFFICIENT_DB_CLUSTER_CAPACITY_FAULT: StaticSchema = ( - 18, - n0, - _IDBCCFn, - { - _smith: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "InsufficientDBClusterCapacityFault", "httpResponseCode": 403} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_RESTORE_FAULT: StaticSchema = ( - 18, - n0, - _IRF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidRestoreFault", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -RESTORE_DB_CLUSTER_FROM_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _RDBCFSIe, - {_sSI: _cRDBCFSMo, _smi: None}, - ( - _AZv, - _DBCI, - _SIn, - _En, - _EV, - _P, - _DBSGNu, - _DN, - _OGN, - _VSGIp, - _Ta, - _KKI, - _EIAMDA, - _BW, - _ECLE, - _EMn, - _SC, - _DBCPGN, - _DP, - _CTTS, - _Do, - _DIAMRN, - _DBCIC, - _STt, - _Io, - _PA, - _NT, - _SVSC, - _RCCC, - _MI, - _MRA, - _EPI, - _PIKMSKI, - _PIRP, - _BRP, - _PBW, - _ELS, - _TSag, - _EVPCN, - _EIAG, - _AR, - ), - ( - (AVAILABILITY_ZONES, 0), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (TAG_LIST, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (LONG_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (STRING, 0), - (SCALING_CONFIGURATION, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (SERVERLESS_V2_SCALING_CONFIGURATION, 0), - (RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (DB_CLUSTER_ASSOCIATED_ROLES, 0), - ), -) - -RESTORE_DB_CLUSTER_FROM_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBCFSOe, - {_sSI: _cRDBCFSRo, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -RESTORE_DB_CLUSTER_FROM_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _RDBCFSe, - 0, - RESTORE_DB_CLUSTER_FROM_SNAPSHOT_INPUT, - RESTORE_DB_CLUSTER_FROM_SNAPSHOT_OUTPUT, - ( - DB_CLUSTER_ALREADY_EXISTS_FAULT, - DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_CLUSTER_QUOTA_EXCEEDED_FAULT, - DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, - DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, - DB_SNAPSHOT_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DOMAIN_NOT_FOUND_FAULT, - INSUFFICIENT_DB_CLUSTER_CAPACITY_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT, - INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_DB_SNAPSHOT_STATE_FAULT, - INVALID_RESTORE_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_INPUT: StaticSchema = ( - 18, - n0, - _RDBCTPITI, - {_sSI: _cRDBCTPITM, _smi: None}, - ( - _DBCI, - _RTe, - _SDBCI, - _RTT, - _ULRT, - _P, - _DBSGNu, - _OGN, - _VSGIp, - _Ta, - _KKI, - _EIAMDA, - _BW, - _ECLE, - _DBCPGN, - _DP, - _CTTS, - _Do, - _DIAMRN, - _DBCIC, - _STt, - _PA, - _Io, - _NT, - _SDCRI, - _SVSC, - _SC, - _EMn, - _RCCC, - _MI, - _MRA, - _EPI, - _PIKMSKI, - _PIRP, - _BRP, - _PBW, - _ELS, - _TSag, - _EVPCN, - _EIAG, - _AR, - ), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (T_STAMP, 0), - (BOOLEAN, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (TAG_LIST, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (LONG_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (SERVERLESS_V2_SCALING_CONFIGURATION, 0), - (SCALING_CONFIGURATION, 0), - (STRING, 0), - (RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (TAG_SPECIFICATION_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (DB_CLUSTER_ASSOCIATED_ROLES, 0), - ), -) - -RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBCTPITO, - {_sSI: _cRDBCTPITR, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -RESTORE_DB_CLUSTER_TO_POINT_IN_TIME: StaticOperationSchema = ( - 23, - n0, - _RDBCTPIT, - 0, - RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_INPUT, - RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_OUTPUT, - ( - DB_CLUSTER_ALREADY_EXISTS_FAULT, - DB_CLUSTER_AUTOMATED_BACKUP_NOT_FOUND_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_CLUSTER_QUOTA_EXCEEDED_FAULT, - DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, - DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DOMAIN_NOT_FOUND_FAULT, - INSUFFICIENT_DB_CLUSTER_CAPACITY_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT, - INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_SNAPSHOT_STATE_FAULT, - INVALID_RESTORE_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_INPUT: StaticSchema = ( - 18, - n0, - _RDBIFDBSI, - {_sSI: _cRDBIFDBSM, _smi: None}, - ( - _DBII, - _DBSIn, - _DBIC, - _P, - _AZ, - _DBSGNu, - _MAZ, - _PA, - _AMVU, - _LM, - _DBN, - _En, - _Io, - _ST, - _OGN, - _Ta, - _STt, - _TCA, - _TCP, - _VSGIp, - _Do, - _DF, - _DOo, - _DASA, - _DDI, - _CTTS, - _DIAMRN, - _EIAMDA, - _ECLE, - _PFr, - _UDPF, - _DBPGN, - _DP, - _ECOI, - _NT, - _BTa, - _CIIP, - _AS, - _DBCSI, - _BRP, - _PBW, - _DBCRI, - _DLV, - _CACI, - _ELS, - _ASVd, - _TSag, - _MMUP, - _MUSKKI, - ), - ( - (STRING, 1), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (TAG_LIST, 0), - (STRING, 0), - (STRING, 0), - (SENSITIVE_STRING, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (PROCESSOR_FEATURE_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (ADDITIONAL_STORAGE_VOLUMES_LIST, 0), - (TAG_SPECIFICATION_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - ), -) - -RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBIFDBSO, - {_sSI: _cRDBIFDBSR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT: StaticOperationSchema = ( - 23, - n0, - _RDBIFDBS, - 0, - RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_INPUT, - RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_OUTPUT, - ( - AUTHORIZATION_NOT_FOUND_FAULT, - BACKUP_POLICY_NOT_FOUND_FAULT, - CERTIFICATE_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, - DB_INSTANCE_ALREADY_EXISTS_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_SECURITY_GROUP_NOT_FOUND_FAULT, - DB_SNAPSHOT_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DOMAIN_NOT_FOUND_FAULT, - INSTANCE_QUOTA_EXCEEDED_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - INVALID_DB_SNAPSHOT_STATE_FAULT, - INVALID_RESTORE_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -RESTORE_DB_INSTANCE_FROM_S3_INPUT: StaticSchema = ( - 18, - n0, - _RDBIFSI, - {_sSI: _cRDBIFSM, _smi: None}, - ( - _DBN, - _DBII, - _AS, - _DBIC, - _En, - _MU, - _MUP, - _DBSGe, - _VSGIp, - _AZ, - _DBSGNu, - _PMW, - _DBPGN, - _BRP, - _PBW, - _P, - _MAZ, - _EV, - _AMVU, - _LM, - _Io, - _ST, - _OGN, - _PA, - _Ta, - _STt, - _SE, - _KKI, - _CTTS, - _MI, - _MRA, - _EIAMDA, - _SEo, - _SEV, - _SBN, - _SP, - _SIRA, - _DIM, - _EPI, - _PIKMSKI, - _PIRP, - _ECLE, - _PFr, - _UDPF, - _DP, - _MAS, - _NT, - _MMUP, - _MUSKKI, - _DBCRI, - _DLV, - _CACI, - _ELS, - _ASVd, - _TSag, - ), - ( - (STRING, 0), - (STRING, 1), - (INTEGER_OPTIONAL, 0), - (STRING, 1), - (STRING, 1), - (STRING, 0), - (SENSITIVE_STRING, 0), - (DB_SECURITY_GROUP_NAME_LIST, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (TAG_LIST, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 0), - (STRING, 1), - (DATABASE_INSIGHTS_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (PROCESSOR_FEATURE_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (ADDITIONAL_STORAGE_VOLUMES_LIST, 0), - (TAG_SPECIFICATION_LIST, 0), - ), -) - -RESTORE_DB_INSTANCE_FROM_S3_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBIFSO, - {_sSI: _cRDBIFSR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -RESTORE_DB_INSTANCE_FROM_S3: StaticOperationSchema = ( - 23, - n0, - _RDBIFS, - 0, - RESTORE_DB_INSTANCE_FROM_S3_INPUT, - RESTORE_DB_INSTANCE_FROM_S3_OUTPUT, - ( - AUTHORIZATION_NOT_FOUND_FAULT, - BACKUP_POLICY_NOT_FOUND_FAULT, - CERTIFICATE_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_INSTANCE_ALREADY_EXISTS_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_SECURITY_GROUP_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - INSTANCE_QUOTA_EXCEEDED_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - INVALID_S3_BUCKET_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -POINT_IN_TIME_RESTORE_NOT_ENABLED_FAULT: StaticSchema = ( - 18, - n0, - _PITRNEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "PointInTimeRestoreNotEnabled", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_INPUT: StaticSchema = ( - 18, - n0, - _RDBITPITI, - {_sSI: _cRDBITPITM, _smi: None}, - ( - _SDBII, - _TDBII, - _RTes, - _ULRT, - _DBIC, - _P, - _AZ, - _DBSGNu, - _MAZ, - _PA, - _AMVU, - _LM, - _DBN, - _En, - _Io, - _ST, - _OGN, - _CTTS, - _Ta, - _STt, - _TCA, - _TCP, - _VSGIp, - _Do, - _DIAMRN, - _DF, - _DOo, - _DASA, - _DDI, - _EIAMDA, - _ECLE, - _PFr, - _UDPF, - _DBPGN, - _DP, - _SDRI, - _MAS, - _ECOI, - _NT, - _SDBIABA, - _BTa, - _CIIP, - _AS, - _BRP, - _PBW, - _DBCRI, - _DLV, - _CACI, - _ELS, - _ASVd, - _TSag, - _MMUP, - _MUSKKI, - ), - ( - (STRING, 0), - (STRING, 1), - (T_STAMP, 0), - (BOOLEAN, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (TAG_LIST, 0), - (STRING, 0), - (STRING, 0), - (SENSITIVE_STRING, 0), - (VPC_SECURITY_GROUP_ID_LIST, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (LOG_TYPE_LIST, 0), - (PROCESSOR_FEATURE_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER_OPTIONAL, 0), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - (STRING, 0), - (ADDITIONAL_STORAGE_VOLUMES_LIST, 0), - (TAG_SPECIFICATION_LIST, 0), - (BOOLEAN_OPTIONAL, 0), - (STRING, 0), - ), -) - -RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBITPITO, - {_sSI: _cRDBITPITR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -RESTORE_DB_INSTANCE_TO_POINT_IN_TIME: StaticOperationSchema = ( - 23, - n0, - _RDBITPIT, - 0, - RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_INPUT, - RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_OUTPUT, - ( - AUTHORIZATION_NOT_FOUND_FAULT, - BACKUP_POLICY_NOT_FOUND_FAULT, - CERTIFICATE_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_INSTANCE_ALREADY_EXISTS_FAULT, - DB_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_PARAMETER_GROUP_NOT_FOUND_FAULT, - DB_SECURITY_GROUP_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - DOMAIN_NOT_FOUND_FAULT, - INSTANCE_QUOTA_EXCEEDED_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_RESTORE_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - NETWORK_TYPE_NOT_SUPPORTED, - OPTION_GROUP_NOT_FOUND_FAULT, - POINT_IN_TIME_RESTORE_NOT_ENABLED_FAULT, - PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, - STORAGE_QUOTA_EXCEEDED_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -REVOKE_DB_SECURITY_GROUP_INGRESS_INPUT: StaticSchema = ( - 18, - n0, - _RDBSGII, - {_sSI: _cRDBSGIM, _smi: None}, - (_DBSGN, _CIDRIP, _ECSGN, _ECSGI, _ECSGOI), - ((STRING, 1), (STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -REVOKE_DB_SECURITY_GROUP_INGRESS_OUTPUT: StaticSchema = ( - 18, - n0, - _RDBSGIO, - {_sSI: _cRDBSGIR, _smit: None}, - (_DBSG,), - ((DB_SECURITY_GROUP, 0),), -) - -REVOKE_DB_SECURITY_GROUP_INGRESS: StaticOperationSchema = ( - 23, - n0, - _RDBSGIe, - 0, - REVOKE_DB_SECURITY_GROUP_INGRESS_INPUT, - REVOKE_DB_SECURITY_GROUP_INGRESS_OUTPUT, - ( - AUTHORIZATION_NOT_FOUND_FAULT, - DB_SECURITY_GROUP_NOT_FOUND_FAULT, - INVALID_DB_SECURITY_GROUP_STATE_FAULT, - ), -) - -START_ACTIVITY_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _SASI, - {_sSI: _cSASR, _smi: None}, - (_RAes, _Mo, _KKI, _AIp, _ENAFI), - ( - (STRING, 1), - (ACTIVITY_STREAM_MODE, 1), - (STRING, 1), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN_OPTIONAL, 0), - ), -) - -START_ACTIVITY_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _SASO, - {_sSI: _cSASRo, _smit: None}, - (_KKI, _KSN, _St, _Mo, _ENAFI, _AIp), - ( - (STRING, 0), - (STRING, 0), - (ACTIVITY_STREAM_STATUS, 0), - (ACTIVITY_STREAM_MODE, 0), - (BOOLEAN_OPTIONAL, 0), - (BOOLEAN, 0), - ), -) - -START_ACTIVITY_STREAM: StaticOperationSchema = ( - 23, - n0, - _SAS, - 0, - START_ACTIVITY_STREAM_INPUT, - START_ACTIVITY_STREAM_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - RESOURCE_NOT_FOUND_FAULT, - ), -) - -START_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _SDBCIt, - {_sSI: _cSDBCM, _smi: None}, - (_DBCI,), - ((STRING, 1),), -) - -START_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _SDBCO, - {_sSI: _cSDBCR, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -START_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _SDBC, - 0, - START_DB_CLUSTER_INPUT, - START_DB_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_DB_SHARD_GROUP_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -START_DB_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _SDBIIt, - {_sSI: _cSDBIM, _smi: None}, - (_DBII, _DBCRI), - ((STRING, 1), (DB_CAPACITY_RESERVATION_IDENTIFIER, 0)), -) - -START_DB_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _SDBIO, - {_sSI: _cSDBIR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -START_DB_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _SDBI, - 0, - START_DB_INSTANCE_INPUT, - START_DB_INSTANCE_OUTPUT, - ( - AUTHORIZATION_NOT_FOUND_FAULT, - DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, - DB_SUBNET_GROUP_NOT_FOUND_FAULT, - INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_SUBNET, - INVALID_VPC_NETWORK_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, - ), -) - -START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _SDBIABRI, - {_sSI: _cSDBIABRM, _smi: None}, - (_SDBIA, _BRP, _KKI, _PSU, _Ta), - ( - (STRING, 1), - (INTEGER_OPTIONAL, 0), - (STRING, 0), - (SENSITIVE_STRING, 0), - (TAG_LIST, 0), - ), -) - -START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _SDBIABRO, - {_sSI: _cSDBIABRR, _smit: None}, - (_DBIAB,), - ((DB_INSTANCE_AUTOMATED_BACKUP, 0),), -) - -START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION: StaticOperationSchema = ( - 23, - n0, - _SDBIABRt, - 0, - START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT, - START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT, - ( - DB_INSTANCE_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - INVALID_DB_INSTANCE_AUTOMATED_BACKUP_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - STORAGE_TYPE_NOT_SUPPORTED_FAULT, - ), -) - -EXPORT_TASK_ALREADY_EXISTS_FAULT: StaticSchema = ( - 18, - n0, - _ETAEF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ExportTaskAlreadyExists", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -IAM_ROLE_MISSING_PERMISSIONS_FAULT: StaticSchema = ( - 18, - n0, - _IRMPF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "IamRoleMissingPermissions", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -IAM_ROLE_NOT_FOUND_FAULT: StaticSchema = ( - 18, - n0, - _IRNFF, - { - _smith: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "IamRoleNotFound", "httpResponseCode": 404}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_EXPORT_ONLY_FAULT: StaticSchema = ( - 18, - n0, - _IEOF, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidExportOnly", "httpResponseCode": 400}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_EXPORT_SOURCE_STATE_FAULT: StaticSchema = ( - 18, - n0, - _IESSFn, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidExportSourceState", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -START_EXPORT_TASK_INPUT: StaticSchema = ( - 18, - n0, - _SETI, - {_sSI: _cSETM, _smi: None}, - (_ETI, _SA, _SBN, _IRA, _KKI, _SP, _EO), - ( - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 1), - (STRING, 0), - (STRING_LIST, 0), - ), -) - -START_EXPORT_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _SETO, - {_sSI: _cET, _smit: None}, - ( - _ETI, - _SA, - _EO, - _STn, - _TST, - _TET, - _SB, - _SP, - _IRA, - _KKI, - _St, - _PP, - _TEDIGB, - _FC, - _WM, - _STo, - ), - ( - (STRING, 0), - (STRING, 0), - (STRING_LIST, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (T_STAMP, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (INTEGER, 0), - (INTEGER, 0), - (STRING, 0), - (STRING, 0), - (EXPORT_SOURCE_TYPE, 0), - ), -) - -START_EXPORT_TASK: StaticOperationSchema = ( - 23, - n0, - _SETt, - 0, - START_EXPORT_TASK_INPUT, - START_EXPORT_TASK_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, - DB_SNAPSHOT_NOT_FOUND_FAULT, - EXPORT_TASK_ALREADY_EXISTS_FAULT, - IAM_ROLE_MISSING_PERMISSIONS_FAULT, - IAM_ROLE_NOT_FOUND_FAULT, - INVALID_EXPORT_ONLY_FAULT, - INVALID_EXPORT_SOURCE_STATE_FAULT, - INVALID_S3_BUCKET_FAULT, - KMS_KEY_NOT_ACCESSIBLE_FAULT, - ), -) - -STOP_ACTIVITY_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _SASIt, - {_sSI: _cSASRom, _smi: None}, - (_RAes, _AIp), - ((STRING, 1), (BOOLEAN_OPTIONAL, 0)), -) - -STOP_ACTIVITY_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _SASOt, - {_sSI: _cSASRoma, _smit: None}, - (_KKI, _KSN, _St), - ((STRING, 0), (STRING, 0), (ACTIVITY_STREAM_STATUS, 0)), -) - -STOP_ACTIVITY_STREAM: StaticOperationSchema = ( - 23, - n0, - _SASt, - 0, - STOP_ACTIVITY_STREAM_INPUT, - STOP_ACTIVITY_STREAM_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - DB_INSTANCE_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - RESOURCE_NOT_FOUND_FAULT, - ), -) - -STOP_DB_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _SDBCIto, - {_sSI: _cSDBCMo, _smi: None}, - (_DBCI,), - ((STRING, 1),), -) - -STOP_DB_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _SDBCOt, - {_sSI: _cSDBCRo, _smit: None}, - (_DBC,), - ((DB_CLUSTER, 0),), -) - -STOP_DB_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _SDBCt, - 0, - STOP_DB_CLUSTER_INPUT, - STOP_DB_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - INVALID_DB_SHARD_GROUP_STATE_FAULT, - ), -) - -STOP_DB_INSTANCE_INPUT: StaticSchema = ( - 18, - n0, - _SDBIIto, - {_sSI: _cSDBIMo, _smi: None}, - (_DBII, _DBSIn, _DFDBCR), - ((STRING, 1), (STRING, 0), (BOOLEAN_OPTIONAL, 0)), -) - -STOP_DB_INSTANCE_OUTPUT: StaticSchema = ( - 18, - n0, - _SDBIOt, - {_sSI: _cSDBIRo, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -STOP_DB_INSTANCE: StaticOperationSchema = ( - 23, - n0, - _SDBIt, - 0, - STOP_DB_INSTANCE_INPUT, - STOP_DB_INSTANCE_OUTPUT, - ( - DB_INSTANCE_NOT_FOUND_FAULT, - DB_SNAPSHOT_ALREADY_EXISTS_FAULT, - INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_DB_INSTANCE_STATE_FAULT, - SNAPSHOT_QUOTA_EXCEEDED_FAULT, - ), -) - -STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _SDBIABRIt, - {_sSI: _cSDBIABRMo, _smi: None}, - (_SDBIA,), - ((STRING, 1),), -) - -STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _SDBIABROt, - {_sSI: _cSDBIABRRo, _smit: None}, - (_DBIAB,), - ((DB_INSTANCE_AUTOMATED_BACKUP, 0),), -) - -STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION: StaticOperationSchema = ( - 23, - n0, - _SDBIABRto, - 0, - STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT, - STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT, - (DB_INSTANCE_NOT_FOUND_FAULT, INVALID_DB_INSTANCE_STATE_FAULT), -) - -SWITCHOVER_TIMEOUT: StaticSchema = (7, n0, _STw, 0) - -SWITCHOVER_BLUE_GREEN_DEPLOYMENT_INPUT: StaticSchema = ( - 18, - n0, - _SBGDI, - {_sSI: _cSBGDR, _smi: None}, - (_BGDI, _STw), - ((BLUE_GREEN_DEPLOYMENT_IDENTIFIER, 1), (SWITCHOVER_TIMEOUT, 0)), -) - -SWITCHOVER_BLUE_GREEN_DEPLOYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _SBGDO, - {_sSI: _cSBGDRo, _smit: None}, - (_BGD,), - ((BLUE_GREEN_DEPLOYMENT, 0),), -) - -SWITCHOVER_BLUE_GREEN_DEPLOYMENT: StaticOperationSchema = ( - 23, - n0, - _SBGD, - 0, - SWITCHOVER_BLUE_GREEN_DEPLOYMENT_INPUT, - SWITCHOVER_BLUE_GREEN_DEPLOYMENT_OUTPUT, - (BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, INVALID_BLUE_GREEN_DEPLOYMENT_STATE_FAULT), -) - -SWITCHOVER_GLOBAL_CLUSTER_INPUT: StaticSchema = ( - 18, - n0, - _SGCI, - {_sSI: _cSGCM, _smi: None}, - (_GCI, _TDCI), - ((GLOBAL_CLUSTER_IDENTIFIER, 1), (DB_CLUSTER_IDENTIFIER, 1)), -) - -SWITCHOVER_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( - 18, - n0, - _SGCO, - {_sSI: _cSGCR, _smit: None}, - (_GC,), - ((GLOBAL_CLUSTER, 0),), -) - -SWITCHOVER_GLOBAL_CLUSTER: StaticOperationSchema = ( - 23, - n0, - _SGC, - 0, - SWITCHOVER_GLOBAL_CLUSTER_INPUT, - SWITCHOVER_GLOBAL_CLUSTER_OUTPUT, - ( - DB_CLUSTER_NOT_FOUND_FAULT, - GLOBAL_CLUSTER_NOT_FOUND_FAULT, - INVALID_DB_CLUSTER_STATE_FAULT, - INVALID_GLOBAL_CLUSTER_STATE_FAULT, - ), -) - -SWITCHOVER_READ_REPLICA_INPUT: StaticSchema = ( - 18, - n0, - _SRRI, - {_sSI: _cSRRM, _smi: None}, - (_DBII,), - ((STRING, 1),), -) - -SWITCHOVER_READ_REPLICA_OUTPUT: StaticSchema = ( - 18, - n0, - _SRRO, - {_sSI: _cSRRR, _smit: None}, - (_DBI,), - ((DB_INSTANCE, 0),), -) - -SWITCHOVER_READ_REPLICA: StaticOperationSchema = ( - 23, - n0, - _SRRw, - 0, - SWITCHOVER_READ_REPLICA_INPUT, - SWITCHOVER_READ_REPLICA_OUTPUT, - (DB_INSTANCE_NOT_FOUND_FAULT, INVALID_DB_INSTANCE_STATE_FAULT), -) - -AMAZON_RD_SV19: StaticSchema = ( - 21, - n0, - _ARDS, - { - _aw: MappingProxyType({"name": "rds"}), - _aQ: None, - _aws: MappingProxyType( - { - "sdkId": "RDS", - "arnNamespace": "rds", - "cloudFormationName": "RDS", - "cloudTrailEventSource": "rds.amazonaws.com", - "endpointPrefix": "rds", - } - ), - _sNm: MappingProxyType({"uri": "http://rds.amazonaws.com/doc/2014-10-31/"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "STRING", + "LONG", + "ACCOUNT_QUOTA", + "ACCOUNT_QUOTA_LIST", + "ACTIVITY_STREAM_MODE", + "ACTIVITY_STREAM_MODE_LIST", + "ACTIVITY_STREAM_POLICY_STATUS", + "ACTIVITY_STREAM_STATUS", + "INTEGER_OPTIONAL", + "ADDITIONAL_STORAGE_VOLUME", + "INTEGER", + "ADDITIONAL_STORAGE_VOLUME_OUTPUT", + "ADDITIONAL_STORAGE_VOLUMES_LIST", + "ADDITIONAL_STORAGE_VOLUMES_OUTPUT_LIST", + "IAM_ROLE_ARN", + "ADD_ROLE_TO_DB_CLUSTER_INPUT", + "ADD_ROLE_TO_DB_CLUSTER_OUTPUT", + "ADD_ROLE_TO_DB_CLUSTER", + "EXCEPTION_MESSAGE", + "DB_CLUSTER_NOT_FOUND_FAULT", + "DB_CLUSTER_ROLE_ALREADY_EXISTS_FAULT", + "DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT", + "INVALID_DB_CLUSTER_STATE_FAULT", + "ADD_ROLE_TO_DB_INSTANCE_INPUT", + "ADD_ROLE_TO_DB_INSTANCE_OUTPUT", + "ADD_ROLE_TO_DB_INSTANCE", + "DB_INSTANCE_NOT_FOUND_FAULT", + "DB_INSTANCE_ROLE_ALREADY_EXISTS_FAULT", + "DB_INSTANCE_ROLE_QUOTA_EXCEEDED_FAULT", + "INVALID_DB_INSTANCE_STATE_FAULT", + "ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_INPUT", + "ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_OUTPUT", + "ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION", + "BOOLEAN", + "EVENT_CATEGORIES_LIST", + "SOURCE_IDS_LIST", + "EVENT_SUBSCRIPTION", + "SOURCE_NOT_FOUND_FAULT", + "SUBSCRIPTION_NOT_FOUND_FAULT", + "TAG", + "TAG_LIST", + "ADD_TAGS_TO_RESOURCE_INPUT", + "ADD_TAGS_TO_RESOURCE_OUTPUT", + "ADD_TAGS_TO_RESOURCE", + "BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT", + "DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT", + "DB_PROXY_ENDPOINT_NOT_FOUND_FAULT", + "DB_PROXY_NOT_FOUND_FAULT", + "DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT", + "DB_SHARD_GROUP_NOT_FOUND_FAULT", + "DB_SNAPSHOT_NOT_FOUND_FAULT", + "DB_SNAPSHOT_TENANT_DATABASE_NOT_FOUND_FAULT", + "INTEGRATION_NOT_FOUND_FAULT", + "INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT", + "TENANT_DATABASE_NOT_FOUND_FAULT", + "APPLY_PENDING_MAINTENANCE_ACTION_INPUT", + "APPLY_PENDING_MAINTENANCE_ACTION_OUTPUT", + "APPLY_PENDING_MAINTENANCE_ACTION", + "T_STAMP", + "PENDING_MAINTENANCE_ACTION", + "PENDING_MAINTENANCE_ACTION_DETAILS", + "RESOURCE_PENDING_MAINTENANCE_ACTIONS", + "RESOURCE_NOT_FOUND_FAULT", + "AUTHORIZATION_ALREADY_EXISTS_FAULT", + "AUTHORIZATION_QUOTA_EXCEEDED_FAULT", + "AUTHORIZE_DB_SECURITY_GROUP_INGRESS_INPUT", + "AUTHORIZE_DB_SECURITY_GROUP_INGRESS_OUTPUT", + "AUTHORIZE_DB_SECURITY_GROUP_INGRESS", + "EC2_SECURITY_GROUP", + "EC2_SECURITY_GROUP_LIST", + "IP_RANGE", + "IP_RANGE_LIST", + "DB_SECURITY_GROUP", + "DB_SECURITY_GROUP_NOT_FOUND_FAULT", + "INVALID_DB_SECURITY_GROUP_STATE_FAULT", + "BOOLEAN_OPTIONAL", + "BACKTRACK_DB_CLUSTER_INPUT", + "BACKTRACK_DB_CLUSTER_OUTPUT", + "BACKTRACK_DB_CLUSTER", + "DB_CAPACITY_RESERVATION_IDENTIFIER", + "CANCEL_DB_CAPACITY_RESERVATION_INPUT", + "CANCEL_DB_CAPACITY_RESERVATION_OUTPUT", + "CANCEL_DB_CAPACITY_RESERVATION", + "AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE", + "AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE_LIST", + "DB_CAPACITY_RESERVATION_COMMITMENT_INFO", + "DB_CAPACITY_RESERVATION_NAME", + "DB_INSTANCE_CLASS", + "DB_CAPACITY_RESERVATION_STATE", + "DB_CAPACITY_RESERVATION", + "INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT", + "CANCEL_EXPORT_TASK_INPUT", + "CANCEL_EXPORT_TASK_OUTPUT", + "CANCEL_EXPORT_TASK", + "STRING_LIST", + "EXPORT_SOURCE_TYPE", + "EXPORT_TASK_NOT_FOUND_FAULT", + "INVALID_EXPORT_TASK_STATE_FAULT", + "COPY_DB_CLUSTER_PARAMETER_GROUP_INPUT", + "COPY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT", + "COPY_DB_CLUSTER_PARAMETER_GROUP", + "DB_CLUSTER_PARAMETER_GROUP", + "DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT", + "DB_PARAMETER_GROUP_NOT_FOUND_FAULT", + "DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT", + "SENSITIVE_STRING", + "COPY_DB_CLUSTER_SNAPSHOT_INPUT", + "COPY_DB_CLUSTER_SNAPSHOT_OUTPUT", + "COPY_DB_CLUSTER_SNAPSHOT", + "AVAILABILITY_ZONES", + "STORAGE_ENCRYPTION_TYPE", + "DB_CLUSTER_SNAPSHOT", + "DB_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT", + "DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT", + "INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT", + "KMS_KEY_NOT_ACCESSIBLE_FAULT", + "SNAPSHOT_QUOTA_EXCEEDED_FAULT", + "DB_PARAMETER_GROUP", + "DB_SNAPSHOT_ALREADY_EXISTS_FAULT", + "INVALID_DB_SNAPSHOT_STATE_FAULT", + "DESCRIPTION", + "ENGINE_MODE_LIST", + "STORAGE_TYPE_NOT_SUPPORTED_FAULT", + "AUTHORIZATION_NOT_FOUND_FAULT", + "CERTIFICATE_NOT_FOUND_FAULT", + ), + ( + "COPY_DB_PARAMETER_GROUP_INPUT", + "COPY_DB_PARAMETER_GROUP_OUTPUT", + "COPY_DB_PARAMETER_GROUP", + "TAG_SPECIFICATION", + "TAG_SPECIFICATION_LIST", + "COPY_DB_SNAPSHOT_INPUT", + "COPY_DB_SNAPSHOT_OUTPUT", + "COPY_DB_SNAPSHOT", + "LONG_OPTIONAL", + "PROCESSOR_FEATURE", + "PROCESSOR_FEATURE_LIST", + "DB_SNAPSHOT", + "CUSTOM_AVAILABILITY_ZONE_NOT_FOUND_FAULT", + "COPY_OPTION_GROUP_INPUT", + "COPY_OPTION_GROUP_OUTPUT", + "COPY_OPTION_GROUP", + "DB_SECURITY_GROUP_MEMBERSHIP", + "DB_SECURITY_GROUP_MEMBERSHIP_LIST", + "POTENTIALLY_SENSITIVE_OPTION_SETTING_VALUE", + "OPTION_SETTING", + "OPTION_SETTING_CONFIGURATION_LIST", + "VPC_SECURITY_GROUP_MEMBERSHIP", + "VPC_SECURITY_GROUP_MEMBERSHIP_LIST", + "OPTION", + "OPTIONS_LIST", + "OPTION_GROUP", + "OPTION_GROUP_ALREADY_EXISTS_FAULT", + "OPTION_GROUP_NOT_FOUND_FAULT", + "OPTION_GROUP_QUOTA_EXCEEDED_FAULT", + "BLUE_GREEN_DEPLOYMENT_ALREADY_EXISTS_FAULT", + "BLUE_GREEN_DEPLOYMENT_NAME", + "DATABASE_ARN", + "TARGET_DB_CLUSTER_PARAMETER_GROUP_NAME", + "TARGET_DB_INSTANCE_CLASS", + "TARGET_DB_PARAMETER_GROUP_NAME", + "TARGET_ENGINE_VERSION", + "DB_AND_CLUSTER_ARN", + "KMS_KEY_ID_OR_ARN", + "TARGET_RESOURCE_CONFIGURATION", + "TARGET_RESOURCE_CONFIGURATION_LIST", + "TARGET_STORAGE_TYPE", + "CREATE_BLUE_GREEN_DEPLOYMENT_INPUT", + "CREATE_BLUE_GREEN_DEPLOYMENT_OUTPUT", + "CREATE_BLUE_GREEN_DEPLOYMENT", + "BLUE_GREEN_DEPLOYMENT_IDENTIFIER", + "BLUE_GREEN_DEPLOYMENT_STATUS", + "BLUE_GREEN_DEPLOYMENT_STATUS_DETAILS", + "SWITCHOVER_DETAIL_STATUS", + "SWITCHOVER_DETAIL", + "SWITCHOVER_DETAIL_LIST", + "BLUE_GREEN_DEPLOYMENT_TASK_NAME", + "BLUE_GREEN_DEPLOYMENT_TASK_STATUS", + "BLUE_GREEN_DEPLOYMENT_TASK", + "BLUE_GREEN_DEPLOYMENT_TASK_LIST", + "BLUE_GREEN_DEPLOYMENT", + "DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT", + "DB_CLUSTER_QUOTA_EXCEEDED_FAULT", + "INSTANCE_QUOTA_EXCEEDED_FAULT", + "SOURCE_CLUSTER_NOT_SUPPORTED_FAULT", + "SOURCE_DATABASE_NOT_SUPPORTED_FAULT", + "STORAGE_QUOTA_EXCEEDED_FAULT", + "CREATE_CUSTOM_DB_ENGINE_VERSION_FAULT", + "BUCKET_NAME", + "STRING255", + "CUSTOM_ENGINE_NAME", + "CUSTOM_ENGINE_VERSION", + "CUSTOM_DB_ENGINE_VERSION_MANIFEST", + "CREATE_CUSTOM_DB_ENGINE_VERSION_INPUT", + "CREATE_CUSTOM_DB_ENGINE_VERSION_OUTPUT", + "CREATE_CUSTOM_DB_ENGINE_VERSION", + "CHARACTER_SET", + "LOG_TYPE_LIST", + "CUSTOM_DB_ENGINE_VERSION_AMI", + "DOUBLE_OPTIONAL", + "SERVERLESS_V2_FEATURES_SUPPORT", + "CA_CERTIFICATE_IDENTIFIERS_LIST", + "SUPPORTED_CHARACTER_SETS_LIST", + "FEATURE_NAME_LIST", + "TIMEZONE", + "SUPPORTED_TIMEZONES_LIST", + "UPGRADE_TARGET", + "VALID_UPGRADE_TARGET_LIST", + "CUSTOM_DB_ENGINE_VERSION_ALREADY_EXISTS_FAULT", + "CUSTOM_DB_ENGINE_VERSION_NOT_FOUND_FAULT", + "CUSTOM_DB_ENGINE_VERSION_QUOTA_EXCEEDED_FAULT", + "EC2_IMAGE_PROPERTIES_NOT_SUPPORTED_FAULT", + "INVALID_CUSTOM_DB_ENGINE_VERSION_STATE_FAULT", + "CREATE_DB_CAPACITY_RESERVATION_INPUT", + "CREATE_DB_CAPACITY_RESERVATION_OUTPUT", + "CREATE_DB_CAPACITY_RESERVATION", + "DB_CAPACITY_RESERVATION_ALREADY_EXISTS_FAULT", + "DB_CAPACITY_RESERVATION_UNSUPPORTED_FAULT", + "INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT", + "DB_CLUSTER_ASSOCIATED_ROLE", + "DB_CLUSTER_ASSOCIATED_ROLES", + "CLUSTER_SCALABILITY_TYPE", + "DATABASE_INSIGHTS_MODE", + "GLOBAL_CLUSTER_IDENTIFIER", + "MASTER_USER_AUTHENTICATION_TYPE", + "REPLICA_MODE", + "RDS_CUSTOM_CLUSTER_CONFIGURATION", + "SCALING_CONFIGURATION", + "DB_SHARD_GROUP_IDENTIFIER", + "DB_SHARD_GROUP_ALREADY_EXISTS_FAULT", + "INVALID_DB_SHARD_GROUP_STATE_FAULT", + "INVALID_BLUE_GREEN_DEPLOYMENT_STATE_FAULT", + "INVALID_OPTION_GROUP_STATE_FAULT", + "DB_CLUSTER_IDENTIFIER", + "INVALID_RESTORE_FAULT", + ), + ( + "SERVERLESS_V2_SCALING_CONFIGURATION", + "VPC_SECURITY_GROUP_ID_LIST", + "CREATE_DB_CLUSTER_INPUT", + "CREATE_DB_CLUSTER_OUTPUT", + "CREATE_DB_CLUSTER", + "DB_CLUSTER_ROLE", + "DB_CLUSTER_ROLES", + "CERTIFICATE_DETAILS", + "DB_CLUSTER_MEMBER", + "DB_CLUSTER_MEMBER_LIST", + "DB_CLUSTER_OPTION_GROUP_STATUS", + "DB_CLUSTER_OPTION_GROUP_MEMBERSHIPS", + "DOMAIN_MEMBERSHIP", + "DOMAIN_MEMBERSHIP_LIST", + "WRITE_FORWARDING_STATUS", + "LIMITLESS_DATABASE_STATUS", + "LIMITLESS_DATABASE", + "LOCAL_WRITE_FORWARDING_STATUS", + "MASTER_USER_SECRET", + "PENDING_CLOUDWATCH_LOGS_EXPORTS", + "CLUSTER_PENDING_MODIFIED_VALUES", + "READ_REPLICA_IDENTIFIER_LIST", + "SCALING_CONFIGURATION_INFO", + "SERVERLESS_V2_SCALING_CONFIGURATION_INFO", + "DB_CLUSTER_STATUS_INFO", + "DB_CLUSTER_STATUS_INFO_LIST", + "UPGRADE_ROLLOUT_ORDER", + "DB_CLUSTER", + "DB_CLUSTER_ALREADY_EXISTS_FAULT", + "DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS", + "DB_SUBNET_GROUP_NOT_FOUND_FAULT", + "DOMAIN_NOT_FOUND_FAULT", + "GLOBAL_CLUSTER_NOT_FOUND_FAULT", + "INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT", + "INVALID_DB_SUBNET_GROUP_FAULT", + "INVALID_DB_SUBNET_GROUP_STATE_FAULT", + "INVALID_GLOBAL_CLUSTER_STATE_FAULT", + "INVALID_SUBNET", + "INVALID_VPC_NETWORK_STATE_FAULT", + "NETWORK_TYPE_NOT_SUPPORTED", + "VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION", + "CREATE_DB_CLUSTER_ENDPOINT_INPUT", + "CREATE_DB_CLUSTER_ENDPOINT_OUTPUT", + "CREATE_DB_CLUSTER_ENDPOINT", + "DB_CLUSTER_ENDPOINT_ALREADY_EXISTS_FAULT", + "DB_CLUSTER_ENDPOINT_QUOTA_EXCEEDED_FAULT", + "CREATE_DB_CLUSTER_PARAMETER_GROUP_INPUT", + "CREATE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT", + "CREATE_DB_CLUSTER_PARAMETER_GROUP", + "CREATE_DB_CLUSTER_SNAPSHOT_INPUT", + "CREATE_DB_CLUSTER_SNAPSHOT_OUTPUT", + "CREATE_DB_CLUSTER_SNAPSHOT", + "BACKUP_POLICY_NOT_FOUND_FAULT", + "DB_SECURITY_GROUP_NAME_LIST", + "CREATE_DB_INSTANCE_INPUT", + "CREATE_DB_INSTANCE_OUTPUT", + "CREATE_DB_INSTANCE", + "DB_INSTANCE_ROLE", + "DB_INSTANCE_ALREADY_EXISTS_FAULT", + "TENANT_DATABASE_QUOTA_EXCEEDED_FAULT", + "INVALID_S3_BUCKET_FAULT", + "INSUFFICIENT_DB_CLUSTER_CAPACITY_FAULT", + ), + ( + "DB_INSTANCE_ROLES", + "AUTOMATION_MODE", + "DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION", + "DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_LIST", + "DB_PARAMETER_GROUP_STATUS", + "DB_PARAMETER_GROUP_STATUS_LIST", + "AVAILABILITY_ZONE", + "OUTPOST", + "SUBNET", + "SUBNET_LIST", + "DB_SUBNET_GROUP", + "ENDPOINT", + "OPTION_GROUP_MEMBERSHIP", + "OPTION_GROUP_MEMBERSHIP_LIST", + "PENDING_MODIFIED_VALUES", + "READ_REPLICA_DB_CLUSTER_IDENTIFIER_LIST", + "READ_REPLICA_DB_INSTANCE_IDENTIFIER_LIST", + "DB_INSTANCE_STATUS_INFO", + "DB_INSTANCE_STATUS_INFO_LIST", + "DB_INSTANCE", + "PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT", + "CREATE_DB_INSTANCE_READ_REPLICA_INPUT", + "CREATE_DB_INSTANCE_READ_REPLICA_OUTPUT", + "CREATE_DB_INSTANCE_READ_REPLICA", + "DB_SUBNET_GROUP_NOT_ALLOWED_FAULT", + "CREATE_DB_PARAMETER_GROUP_INPUT", + "CREATE_DB_PARAMETER_GROUP_OUTPUT", + "CREATE_DB_PARAMETER_GROUP", + "AUTH_SCHEME", + "CLIENT_PASSWORD_AUTH_TYPE", + "IAM_AUTH_MODE", + "AUTH_USER_NAME", + "USER_AUTH_CONFIG", + "USER_AUTH_CONFIG_LIST", + "DB_PROXY_NAME", + "DEFAULT_AUTH_SCHEME", + "ENDPOINT_NETWORK_TYPE", + "ENGINE_FAMILY", + "TARGET_CONNECTION_NETWORK_TYPE", + "CREATE_DB_PROXY_INPUT", + "CREATE_DB_PROXY_OUTPUT", + "CREATE_DB_PROXY", + "USER_AUTH_CONFIG_INFO", + "USER_AUTH_CONFIG_INFO_LIST", + "DB_PROXY_STATUS", + "DB_PROXY", + "DB_PROXY_ALREADY_EXISTS_FAULT", + "DB_PROXY_QUOTA_EXCEEDED_FAULT", + "DB_PROXY_ENDPOINT_NAME", + "DB_PROXY_ENDPOINT_TARGET_ROLE", + "CREATE_DB_PROXY_ENDPOINT_INPUT", + "CREATE_DB_PROXY_ENDPOINT_OUTPUT", + "CREATE_DB_PROXY_ENDPOINT", + "DB_PROXY_ENDPOINT_STATUS", + "DB_PROXY_ENDPOINT", + "DB_PROXY_ENDPOINT_ALREADY_EXISTS_FAULT", + "DB_PROXY_ENDPOINT_QUOTA_EXCEEDED_FAULT", + "INVALID_DB_PROXY_STATE_FAULT", + "CREATE_DB_SECURITY_GROUP_INPUT", + "CREATE_DB_SECURITY_GROUP_OUTPUT", + "CREATE_DB_SECURITY_GROUP", + "DB_SECURITY_GROUP_ALREADY_EXISTS_FAULT", + "DB_SECURITY_GROUP_NOT_SUPPORTED_FAULT", + "DB_SECURITY_GROUP_QUOTA_EXCEEDED_FAULT", + "CREATE_DB_SHARD_GROUP_INPUT", + "CREATE_DB_SHARD_GROUP_OUTPUT", + "CREATE_DB_SHARD_GROUP", + "MAX_DB_SHARD_GROUP_LIMIT_REACHED", + "DB_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT", + "INVALID_DB_INSTANCE_AUTOMATED_BACKUP_STATE_FAULT", + "INVALID_DB_PROXY_ENDPOINT_STATE_FAULT", + "DB_PROXY_TARGET_GROUP_NAME", + ), + ( + "ARN", + "UNSUPPORTED_DB_ENGINE_VERSION_FAULT", + "CREATE_DB_SNAPSHOT_INPUT", + "CREATE_DB_SNAPSHOT_OUTPUT", + "CREATE_DB_SNAPSHOT", + "SUBNET_IDENTIFIER_LIST", + "CREATE_DB_SUBNET_GROUP_INPUT", + "CREATE_DB_SUBNET_GROUP_OUTPUT", + "CREATE_DB_SUBNET_GROUP", + "DB_SUBNET_GROUP_ALREADY_EXISTS_FAULT", + "DB_SUBNET_GROUP_QUOTA_EXCEEDED_FAULT", + "DB_SUBNET_QUOTA_EXCEEDED_FAULT", + "CREATE_EVENT_SUBSCRIPTION_INPUT", + "CREATE_EVENT_SUBSCRIPTION_OUTPUT", + "CREATE_EVENT_SUBSCRIPTION", + "EVENT_SUBSCRIPTION_QUOTA_EXCEEDED_FAULT", + "SNS_INVALID_TOPIC_FAULT", + "SNS_NO_AUTHORIZATION_FAULT", + "SNS_TOPIC_ARN_NOT_FOUND_FAULT", + "SUBSCRIPTION_ALREADY_EXIST_FAULT", + "SUBSCRIPTION_CATEGORY_NOT_FOUND_FAULT", + "CREATE_GLOBAL_CLUSTER_INPUT", + "CREATE_GLOBAL_CLUSTER_OUTPUT", + "CREATE_GLOBAL_CLUSTER", + "FAILOVER_STATUS", + "FAILOVER_STATE", + "READERS_ARN_LIST", + "GLOBAL_CLUSTER_MEMBER_SYNCHRONIZATION_STATUS", + "GLOBAL_CLUSTER_MEMBER", + "GLOBAL_CLUSTER_MEMBER_LIST", + "GLOBAL_CLUSTER", + "GLOBAL_CLUSTER_ALREADY_EXISTS_FAULT", + "GLOBAL_CLUSTER_QUOTA_EXCEEDED_FAULT", + "ENCRYPTION_CONTEXT_MAP", + "DATA_FILTER", + "INTEGRATION_DESCRIPTION", + "INTEGRATION_NAME", + "SOURCE_ARN", + "CREATE_INTEGRATION_INPUT", + "CREATE_INTEGRATION_OUTPUT", + "CREATE_INTEGRATION", + "INTEGRATION_ERROR", + "INTEGRATION_ERROR_LIST", + "INTEGRATION_ARN", + "INTEGRATION_STATUS", + "INTEGRATION_ALREADY_EXISTS_FAULT", + "INTEGRATION_CONFLICT_OPERATION_FAULT", + "INTEGRATION_QUOTA_EXCEEDED_FAULT", + "CREATE_OPTION_GROUP_INPUT", + "CREATE_OPTION_GROUP_OUTPUT", + "CREATE_OPTION_GROUP", + "CREATE_TENANT_DATABASE_INPUT", + "CREATE_TENANT_DATABASE_OUTPUT", + "CREATE_TENANT_DATABASE", + "TENANT_DATABASE_PENDING_MODIFIED_VALUES", + "TENANT_DATABASE", + "TENANT_DATABASE_ALREADY_EXISTS_FAULT", + "DELETE_BLUE_GREEN_DEPLOYMENT_INPUT", + "DELETE_BLUE_GREEN_DEPLOYMENT_OUTPUT", + "DELETE_BLUE_GREEN_DEPLOYMENT", + "DELETE_CUSTOM_DB_ENGINE_VERSION_INPUT", + "DELETE_CUSTOM_DB_ENGINE_VERSION_OUTPUT", + "DELETE_CUSTOM_DB_ENGINE_VERSION", + "DB_CLUSTER_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT", + "DELETE_DB_CLUSTER_INPUT", + "DELETE_DB_CLUSTER_OUTPUT", + "DELETE_DB_CLUSTER", + "DB_CLUSTER_AUTOMATED_BACKUP_NOT_FOUND_FAULT", + "DELETE_DB_CLUSTER_AUTOMATED_BACKUP_INPUT", + "DELETE_DB_CLUSTER_AUTOMATED_BACKUP_OUTPUT", + "DELETE_DB_CLUSTER_AUTOMATED_BACKUP", + "RESTORE_WINDOW", + "DB_CLUSTER_AUTOMATED_BACKUP", + "INVALID_DB_CLUSTER_AUTOMATED_BACKUP_STATE_FAULT", + "DB_CLUSTER_ENDPOINT_NOT_FOUND_FAULT", + "DELETE_DB_CLUSTER_ENDPOINT_INPUT", + "DELETE_DB_CLUSTER_ENDPOINT_OUTPUT", + "DELETE_DB_CLUSTER_ENDPOINT", + "DELETE_DB_CLUSTER_PARAMETER_GROUP_INPUT", + "DELETE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT", + "DELETE_DB_CLUSTER_PARAMETER_GROUP", + "DELETE_DB_CLUSTER_SNAPSHOT_INPUT", + "DELETE_DB_CLUSTER_SNAPSHOT_OUTPUT", + "DELETE_DB_CLUSTER_SNAPSHOT", + "DB_INSTANCE_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT", + "DELETE_DB_INSTANCE_INPUT", + "DELETE_DB_INSTANCE_OUTPUT", + "DELETE_DB_INSTANCE", + "DELETE_DB_INSTANCE_AUTOMATED_BACKUP_INPUT", + "DELETE_DB_INSTANCE_AUTOMATED_BACKUP_OUTPUT", + "DELETE_DB_INSTANCE_AUTOMATED_BACKUP", + "DB_INSTANCE_AUTOMATED_BACKUP", + ), + ( + "INVALID_DB_PARAMETER_GROUP_STATE_FAULT", + "DELETE_DB_PARAMETER_GROUP_INPUT", + "DELETE_DB_PARAMETER_GROUP_OUTPUT", + "DELETE_DB_PARAMETER_GROUP", + "DELETE_DB_PROXY_INPUT", + "DELETE_DB_PROXY_OUTPUT", + "DELETE_DB_PROXY", + "DELETE_DB_PROXY_ENDPOINT_INPUT", + "DELETE_DB_PROXY_ENDPOINT_OUTPUT", + "DELETE_DB_PROXY_ENDPOINT", + "DELETE_DB_SECURITY_GROUP_INPUT", + "DELETE_DB_SECURITY_GROUP_OUTPUT", + "DELETE_DB_SECURITY_GROUP", + "DELETE_DB_SHARD_GROUP_INPUT", + "DELETE_DB_SHARD_GROUP_OUTPUT", + "DELETE_DB_SHARD_GROUP", + "DELETE_DB_SNAPSHOT_INPUT", + "DELETE_DB_SNAPSHOT_OUTPUT", + "DELETE_DB_SNAPSHOT", + "DELETE_DB_SUBNET_GROUP_INPUT", + "DELETE_DB_SUBNET_GROUP_OUTPUT", + "DELETE_DB_SUBNET_GROUP", + "INVALID_DB_SUBNET_STATE_FAULT", + "DELETE_EVENT_SUBSCRIPTION_INPUT", + "DELETE_EVENT_SUBSCRIPTION_OUTPUT", + "DELETE_EVENT_SUBSCRIPTION", + "INVALID_EVENT_SUBSCRIPTION_STATE_FAULT", + "DELETE_GLOBAL_CLUSTER_INPUT", + "DELETE_GLOBAL_CLUSTER_OUTPUT", + "DELETE_GLOBAL_CLUSTER", + "INTEGRATION_IDENTIFIER", + "DELETE_INTEGRATION_INPUT", + "DELETE_INTEGRATION_OUTPUT", + "DELETE_INTEGRATION", + "INVALID_INTEGRATION_STATE_FAULT", + "DELETE_OPTION_GROUP_INPUT", + "DELETE_OPTION_GROUP_OUTPUT", + "DELETE_OPTION_GROUP", + "DELETE_TENANT_DATABASE_INPUT", + "DELETE_TENANT_DATABASE_OUTPUT", + "DELETE_TENANT_DATABASE", + "DB_PROXY_TARGET_NOT_FOUND_FAULT", + "DEREGISTER_DB_PROXY_TARGETS_INPUT", + "DEREGISTER_DB_PROXY_TARGETS_OUTPUT", + "DEREGISTER_DB_PROXY_TARGETS", + "DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT", + "DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT", + "DESCRIBE_ACCOUNT_ATTRIBUTES", + "FILTER_VALUE_LIST", + "FILTER", + "FILTER_LIST", + "MAX_RECORDS", + "DESCRIBE_BLUE_GREEN_DEPLOYMENTS_INPUT", + "DESCRIBE_BLUE_GREEN_DEPLOYMENTS_OUTPUT", + "DESCRIBE_BLUE_GREEN_DEPLOYMENTS", + "BLUE_GREEN_DEPLOYMENT_LIST", + "DESCRIBE_CERTIFICATES_INPUT", + "DESCRIBE_CERTIFICATES_OUTPUT", + "DESCRIBE_CERTIFICATES", + "CERTIFICATE", + "CERTIFICATE_LIST", + "DESCRIBE_DB_CAPACITY_RESERVATIONS_INPUT", + "DESCRIBE_DB_CAPACITY_RESERVATIONS_OUTPUT", + "DESCRIBE_DB_CAPACITY_RESERVATIONS", + "DB_CAPACITY_RESERVATION_LIST", + "DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_INPUT", + "DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_OUTPUT", + "DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS", + "DB_CLUSTER_AUTOMATED_BACKUP_LIST", + "DB_CLUSTER_BACKTRACK_NOT_FOUND_FAULT", + "DESCRIBE_DB_CLUSTER_BACKTRACKS_INPUT", + "DESCRIBE_DB_CLUSTER_BACKTRACKS_OUTPUT", + "DESCRIBE_DB_CLUSTER_BACKTRACKS", + "DB_CLUSTER_BACKTRACK", + "DB_CLUSTER_BACKTRACK_LIST", + "DESCRIBE_DB_CLUSTER_ENDPOINTS_INPUT", + "DESCRIBE_DB_CLUSTER_ENDPOINTS_OUTPUT", + "DESCRIBE_DB_CLUSTER_ENDPOINTS", + "DB_CLUSTER_ENDPOINT", + "DB_CLUSTER_ENDPOINT_LIST", + "DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_INPUT", + "DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_OUTPUT", + "DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS", + "DB_CLUSTER_PARAMETER_GROUP_LIST", + "DESCRIBE_DB_CLUSTER_PARAMETERS_INPUT", + "DESCRIBE_DB_CLUSTER_PARAMETERS_OUTPUT", + "DESCRIBE_DB_CLUSTER_PARAMETERS", + "APPLY_METHOD", + "POTENTIALLY_SENSITIVE_PARAMETER_VALUE", + "PARAMETER", + "PARAMETERS_LIST", + "DESCRIBE_DB_CLUSTERS_INPUT", + "DESCRIBE_DB_CLUSTERS_OUTPUT", + "DESCRIBE_DB_CLUSTERS", + "DB_CLUSTER_LIST", + "DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_INPUT", + "DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_OUTPUT", + "DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES", + "ATTRIBUTE_VALUE_LIST", + "DB_CLUSTER_SNAPSHOT_ATTRIBUTE", + "DB_CLUSTER_SNAPSHOT_ATTRIBUTE_LIST", + "DB_CLUSTER_SNAPSHOT_ATTRIBUTES_RESULT", + "DESCRIBE_DB_CLUSTER_SNAPSHOTS_INPUT", + "DESCRIBE_DB_CLUSTER_SNAPSHOTS_OUTPUT", + "DESCRIBE_DB_CLUSTER_SNAPSHOTS", + "DB_CLUSTER_SNAPSHOT_LIST", + "DESCRIBE_DB_ENGINE_VERSIONS_INPUT", + "DESCRIBE_DB_ENGINE_VERSIONS_OUTPUT", + "DESCRIBE_DB_ENGINE_VERSIONS", + "MARKER", + "SHARED_SNAPSHOT_QUOTA_EXCEEDED_FAULT", + ), + ( + "DB_ENGINE_VERSION", + "DB_ENGINE_VERSION_LIST", + "DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_INPUT", + "DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_OUTPUT", + "DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS", + "DB_INSTANCE_AUTOMATED_BACKUP_LIST", + "DESCRIBE_DB_INSTANCES_INPUT", + "DESCRIBE_DB_INSTANCES_OUTPUT", + "DESCRIBE_DB_INSTANCES", + "DB_INSTANCE_LIST", + "DB_INSTANCE_NOT_READY_FAULT", + "DESCRIBE_DB_LOG_FILES_INPUT", + "DESCRIBE_DB_LOG_FILES_OUTPUT", + "DESCRIBE_DB_LOG_FILES", + "DESCRIBE_DB_LOG_FILES_DETAILS", + "DESCRIBE_DB_LOG_FILES_LIST", + "ENGINE", + "MAJOR_ENGINE_VERSION", + "DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_INPUT", + "DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_OUTPUT", + "DESCRIBE_DB_MAJOR_ENGINE_VERSIONS", + "LIFECYCLE_SUPPORT_NAME", + "SUPPORTED_ENGINE_LIFECYCLE", + "SUPPORTED_ENGINE_LIFECYCLE_LIST", + "DB_MAJOR_ENGINE_VERSION", + "DB_MAJOR_ENGINE_VERSIONS_LIST", + "DESCRIBE_DB_PARAMETER_GROUPS_INPUT", + "DESCRIBE_DB_PARAMETER_GROUPS_OUTPUT", + "DESCRIBE_DB_PARAMETER_GROUPS", + "DB_PARAMETER_GROUP_LIST", + "DESCRIBE_DB_PARAMETERS_INPUT", + "DESCRIBE_DB_PARAMETERS_OUTPUT", + "DESCRIBE_DB_PARAMETERS", + "DESCRIBE_DB_PROXIES_INPUT", + "DESCRIBE_DB_PROXIES_OUTPUT", + "DESCRIBE_DB_PROXIES", + "DB_PROXY_LIST", + "DESCRIBE_DB_PROXY_ENDPOINTS_INPUT", + "DESCRIBE_DB_PROXY_ENDPOINTS_OUTPUT", + "DESCRIBE_DB_PROXY_ENDPOINTS", + "DB_PROXY_ENDPOINT_LIST", + "DESCRIBE_DB_PROXY_TARGET_GROUPS_INPUT", + "DESCRIBE_DB_PROXY_TARGET_GROUPS_OUTPUT", + "DESCRIBE_DB_PROXY_TARGET_GROUPS", + "OPERATOR_SENSITIVE_STRING", + "CONNECTION_POOL_CONFIGURATION_INFO", + "DB_PROXY_TARGET_GROUP", + "TARGET_GROUP_LIST", + "DESCRIBE_DB_PROXY_TARGETS_INPUT", + "DESCRIBE_DB_PROXY_TARGETS_OUTPUT", + "DESCRIBE_DB_PROXY_TARGETS", + "TARGET_ROLE", + "TARGET_HEALTH_REASON", + "TARGET_STATE", + "TARGET_HEALTH", + "TARGET_TYPE", + "DB_PROXY_TARGET", + "TARGET_LIST", + "DESCRIBE_DB_RECOMMENDATIONS_INPUT", + "DESCRIBE_DB_RECOMMENDATIONS_OUTPUT", + "DESCRIBE_DB_RECOMMENDATIONS", + "PERFORMANCE_INSIGHTS_METRIC_DIMENSION_GROUP", + "PERFORMANCE_INSIGHTS_METRIC_QUERY", + "METRIC_QUERY", + "SCALAR_REFERENCE_DETAILS", + "REFERENCE_DETAILS", + "METRIC_REFERENCE", + "METRIC_REFERENCE_LIST", + "METRIC", + "METRIC_LIST", + "PERFORMANCE_ISSUE_DETAILS", + "ISSUE_DETAILS", + "DOC_LINK", + "DOC_LINK_LIST", + "CONTEXT_ATTRIBUTE", + "CONTEXT_ATTRIBUTE_LIST", + "RECOMMENDED_ACTION_PARAMETER", + "RECOMMENDED_ACTION_PARAMETER_LIST", + "RECOMMENDED_ACTION", + "RECOMMENDED_ACTION_LIST", + "DB_RECOMMENDATION", + "DB_RECOMMENDATION_LIST", + "DESCRIBE_DB_SECURITY_GROUPS_INPUT", + "DESCRIBE_DB_SECURITY_GROUPS_OUTPUT", + "DESCRIBE_DB_SECURITY_GROUPS", + "DB_SECURITY_GROUPS", + "DESCRIBE_DB_SHARD_GROUPS_INPUT", + "DESCRIBE_DB_SHARD_GROUPS_OUTPUT", + "DESCRIBE_DB_SHARD_GROUPS", + "DB_SHARD_GROUP", + "DB_SHARD_GROUPS_LIST", + "DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_INPUT", + "DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_OUTPUT", + "DESCRIBE_DB_SNAPSHOT_ATTRIBUTES", + "DB_SNAPSHOT_ATTRIBUTE", + "DB_SNAPSHOT_ATTRIBUTE_LIST", + "DB_SNAPSHOT_ATTRIBUTES_RESULT", + "DESCRIBE_DB_SNAPSHOTS_INPUT", + "DESCRIBE_DB_SNAPSHOTS_OUTPUT", + "DESCRIBE_DB_SNAPSHOTS", + "DB_SNAPSHOT_LIST", + "DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_INPUT", + "DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_OUTPUT", + "DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES", + "DB_SNAPSHOT_TENANT_DATABASE", + "DB_SNAPSHOT_TENANT_DATABASES_LIST", + "DESCRIBE_DB_SUBNET_GROUPS_INPUT", + "DESCRIBE_DB_SUBNET_GROUPS_OUTPUT", + "DESCRIBE_DB_SUBNET_GROUPS", + "DB_SUBNET_GROUPS", + ), + ( + "DOUBLE", + "DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_INPUT", + "DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_OUTPUT", + "DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS", + "ENGINE_DEFAULTS", + "DESCRIBE_ENGINE_DEFAULT_PARAMETERS_INPUT", + "DESCRIBE_ENGINE_DEFAULT_PARAMETERS_OUTPUT", + "DESCRIBE_ENGINE_DEFAULT_PARAMETERS", + "DESCRIBE_EVENT_CATEGORIES_INPUT", + "DESCRIBE_EVENT_CATEGORIES_OUTPUT", + "DESCRIBE_EVENT_CATEGORIES", + "EVENT_CATEGORIES_MAP", + "EVENT_CATEGORIES_MAP_LIST", + "SOURCE_TYPE", + "DESCRIBE_EVENTS_INPUT", + "DESCRIBE_EVENTS_OUTPUT", + "DESCRIBE_EVENTS", + "EVENT", + "EVENT_LIST", + "DESCRIBE_EVENT_SUBSCRIPTIONS_INPUT", + "DESCRIBE_EVENT_SUBSCRIPTIONS_OUTPUT", + "DESCRIBE_EVENT_SUBSCRIPTIONS", + "EVENT_SUBSCRIPTIONS_LIST", + "DESCRIBE_EXPORT_TASKS_INPUT", + "DESCRIBE_EXPORT_TASKS_OUTPUT", + "DESCRIBE_EXPORT_TASKS", + "EXPORT_TASK", + "EXPORT_TASKS_LIST", + "DESCRIBE_GLOBAL_CLUSTERS_INPUT", + "DESCRIBE_GLOBAL_CLUSTERS_OUTPUT", + "DESCRIBE_GLOBAL_CLUSTERS", + "GLOBAL_CLUSTER_LIST", + "DESCRIBE_INTEGRATIONS_INPUT", + "DESCRIBE_INTEGRATIONS_OUTPUT", + "DESCRIBE_INTEGRATIONS", + "INTEGRATION", + "INTEGRATION_LIST", + "DESCRIBE_OPTION_GROUP_OPTIONS_INPUT", + "DESCRIBE_OPTION_GROUP_OPTIONS_OUTPUT", + "DESCRIBE_OPTION_GROUP_OPTIONS", + "MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE", + "MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE_LIST", + "OPTION_GROUP_OPTION_SETTING", + "OPTION_GROUP_OPTION_SETTINGS_LIST", + "OPTION_VERSION", + "OPTION_GROUP_OPTION_VERSIONS_LIST", + "OPTIONS_CONFLICTS_WITH", + "OPTIONS_DEPENDED_ON", + "OPTION_GROUP_OPTION", + "OPTION_GROUP_OPTIONS_LIST", + "DESCRIBE_OPTION_GROUPS_INPUT", + "DESCRIBE_OPTION_GROUPS_OUTPUT", + "DESCRIBE_OPTION_GROUPS", + "OPTION_GROUPS_LIST", + "DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_INPUT", + "DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_OUTPUT", + "DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS", + "AVAILABILITY_ZONE_LIST", + "AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION", + "AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION_LIST", + "AVAILABLE_PROCESSOR_FEATURE", + "AVAILABLE_PROCESSOR_FEATURE_LIST", + "ORDERABLE_DB_INSTANCE_OPTION", + "ORDERABLE_DB_INSTANCE_OPTIONS_LIST", + "DESCRIBE_PENDING_MAINTENANCE_ACTIONS_INPUT", + "DESCRIBE_PENDING_MAINTENANCE_ACTIONS_OUTPUT", + "DESCRIBE_PENDING_MAINTENANCE_ACTIONS", + "PENDING_MAINTENANCE_ACTIONS", + "DESCRIBE_RESERVED_DB_INSTANCES_INPUT", + "DESCRIBE_RESERVED_DB_INSTANCES_OUTPUT", + "DESCRIBE_RESERVED_DB_INSTANCES", + "RECURRING_CHARGE", + "RECURRING_CHARGE_LIST", + "RESERVED_DB_INSTANCE", + "RESERVED_DB_INSTANCE_LIST", + "RESERVED_DB_INSTANCE_NOT_FOUND_FAULT", + "DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_INPUT", + "DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_OUTPUT", + "DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS", + "RESERVED_DB_INSTANCES_OFFERING", + "RESERVED_DB_INSTANCES_OFFERING_LIST", + "RESERVED_DB_INSTANCES_OFFERING_NOT_FOUND_FAULT", + "DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_INPUT", + "DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_OUTPUT", + "DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS", + "SERVERLESS_V2_PLATFORM_VERSION_INFO", + "SERVERLESS_V2_PLATFORM_VERSION_LIST", + "DESCRIBE_SOURCE_REGIONS_INPUT", + "DESCRIBE_SOURCE_REGIONS_OUTPUT", + "DESCRIBE_SOURCE_REGIONS", + "SOURCE_REGION", + "SOURCE_REGION_LIST", + "DESCRIBE_TENANT_DATABASES_INPUT", + "DESCRIBE_TENANT_DATABASES_OUTPUT", + "DESCRIBE_TENANT_DATABASES", + "TENANT_DATABASES_LIST", + ), + ( + "DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_INPUT", + "DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_OUTPUT", + "DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS", + "DOUBLE_RANGE", + "DOUBLE_RANGE_LIST", + "RANGE", + "RANGE_LIST", + "VALID_STORAGE_OPTIONS", + "VALID_STORAGE_OPTIONS_LIST", + "VALID_VOLUME_OPTIONS", + "VALID_VOLUME_OPTIONS_LIST", + "VALID_ADDITIONAL_STORAGE_OPTIONS", + "VALID_DB_INSTANCE_MODIFICATIONS_MESSAGE", + "DISABLE_HTTP_ENDPOINT_INPUT", + "DISABLE_HTTP_ENDPOINT_OUTPUT", + "DISABLE_HTTP_ENDPOINT", + "INVALID_RESOURCE_STATE_FAULT", + "DB_LOG_FILE_NOT_FOUND_FAULT", + "DOWNLOAD_DB_LOG_FILE_PORTION_INPUT", + "DOWNLOAD_DB_LOG_FILE_PORTION_OUTPUT", + "DOWNLOAD_DB_LOG_FILE_PORTION", + "ENABLE_HTTP_ENDPOINT_INPUT", + "ENABLE_HTTP_ENDPOINT_OUTPUT", + "ENABLE_HTTP_ENDPOINT", + "FAILOVER_DB_CLUSTER_INPUT", + "FAILOVER_DB_CLUSTER_OUTPUT", + "FAILOVER_DB_CLUSTER", + "FAILOVER_GLOBAL_CLUSTER_INPUT", + "FAILOVER_GLOBAL_CLUSTER_OUTPUT", + "FAILOVER_GLOBAL_CLUSTER", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "AUDIT_POLICY_STATE", + "MODIFY_ACTIVITY_STREAM_INPUT", + "MODIFY_ACTIVITY_STREAM_OUTPUT", + "MODIFY_ACTIVITY_STREAM", + "MODIFY_CERTIFICATES_INPUT", + "MODIFY_CERTIFICATES_OUTPUT", + "MODIFY_CERTIFICATES", + "INVALID_DB_CLUSTER_CAPACITY_FAULT", + "MODIFY_CURRENT_DB_CLUSTER_CAPACITY_INPUT", + "MODIFY_CURRENT_DB_CLUSTER_CAPACITY_OUTPUT", + "MODIFY_CURRENT_DB_CLUSTER_CAPACITY", + "CUSTOM_ENGINE_VERSION_STATUS", + "MODIFY_CUSTOM_DB_ENGINE_VERSION_INPUT", + "MODIFY_CUSTOM_DB_ENGINE_VERSION_OUTPUT", + "MODIFY_CUSTOM_DB_ENGINE_VERSION", + "END_DATE_TYPE", + "MODIFY_DB_CAPACITY_RESERVATION_INPUT", + "MODIFY_DB_CAPACITY_RESERVATION_OUTPUT", + "MODIFY_DB_CAPACITY_RESERVATION", + "AWS_BACKUP_RECOVERY_POINT_ARN", + "CLOUDWATCH_LOGS_EXPORT_CONFIGURATION", + "MODIFY_DB_CLUSTER_INPUT", + "MODIFY_DB_CLUSTER_OUTPUT", + "MODIFY_DB_CLUSTER", + "STORAGE_TYPE_NOT_AVAILABLE_FAULT", + "MODIFY_DB_CLUSTER_ENDPOINT_INPUT", + "MODIFY_DB_CLUSTER_ENDPOINT_OUTPUT", + "MODIFY_DB_CLUSTER_ENDPOINT", + "MODIFY_DB_CLUSTER_PARAMETER_GROUP_INPUT", + "MODIFY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT", + "MODIFY_DB_CLUSTER_PARAMETER_GROUP", + "MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_INPUT", + "MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_OUTPUT", + "MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE", + "DB_UPGRADE_DEPENDENCY_FAILURE_FAULT", + "MODIFY_ADDITIONAL_STORAGE_VOLUME", + "MODIFY_ADDITIONAL_STORAGE_VOLUMES_LIST", + "MODIFY_DB_INSTANCE_INPUT", + "MODIFY_DB_INSTANCE_OUTPUT", + "MODIFY_DB_INSTANCE", + "MODIFY_DB_PARAMETER_GROUP_INPUT", + "MODIFY_DB_PARAMETER_GROUP_OUTPUT", + "MODIFY_DB_PARAMETER_GROUP", + "MODIFY_DB_PROXY_INPUT", + "MODIFY_DB_PROXY_OUTPUT", + "MODIFY_DB_PROXY", + ), + ( + "MODIFY_DB_PROXY_ENDPOINT_INPUT", + "MODIFY_DB_PROXY_ENDPOINT_OUTPUT", + "MODIFY_DB_PROXY_ENDPOINT", + "CONNECTION_POOL_CONFIGURATION", + "MODIFY_DB_PROXY_TARGET_GROUP_INPUT", + "MODIFY_DB_PROXY_TARGET_GROUP_OUTPUT", + "MODIFY_DB_PROXY_TARGET_GROUP", + "RECOMMENDED_ACTION_UPDATE", + "RECOMMENDED_ACTION_UPDATE_LIST", + "MODIFY_DB_RECOMMENDATION_INPUT", + "MODIFY_DB_RECOMMENDATION_OUTPUT", + "MODIFY_DB_RECOMMENDATION", + "MODIFY_DB_SHARD_GROUP_INPUT", + "MODIFY_DB_SHARD_GROUP_OUTPUT", + "MODIFY_DB_SHARD_GROUP", + "MODIFY_DB_SNAPSHOT_INPUT", + "MODIFY_DB_SNAPSHOT_OUTPUT", + "MODIFY_DB_SNAPSHOT", + "MODIFY_DB_SNAPSHOT_ATTRIBUTE_INPUT", + "MODIFY_DB_SNAPSHOT_ATTRIBUTE_OUTPUT", + "MODIFY_DB_SNAPSHOT_ATTRIBUTE", + "MODIFY_DB_SUBNET_GROUP_INPUT", + "MODIFY_DB_SUBNET_GROUP_OUTPUT", + "MODIFY_DB_SUBNET_GROUP", + "SUBNET_ALREADY_IN_USE", + "MODIFY_EVENT_SUBSCRIPTION_INPUT", + "MODIFY_EVENT_SUBSCRIPTION_OUTPUT", + "MODIFY_EVENT_SUBSCRIPTION", + "MODIFY_GLOBAL_CLUSTER_INPUT", + "MODIFY_GLOBAL_CLUSTER_OUTPUT", + "MODIFY_GLOBAL_CLUSTER", + "MODIFY_INTEGRATION_INPUT", + "MODIFY_INTEGRATION_OUTPUT", + "MODIFY_INTEGRATION", + "OPTION_SETTINGS_LIST", + "OPTION_CONFIGURATION", + "OPTION_CONFIGURATION_LIST", + "OPTION_NAMES_LIST", + "MODIFY_OPTION_GROUP_INPUT", + "MODIFY_OPTION_GROUP_OUTPUT", + "MODIFY_OPTION_GROUP", + "MODIFY_TENANT_DATABASE_INPUT", + "MODIFY_TENANT_DATABASE_OUTPUT", + "MODIFY_TENANT_DATABASE", + "PROMOTE_READ_REPLICA_INPUT", + "PROMOTE_READ_REPLICA_OUTPUT", + "PROMOTE_READ_REPLICA", + "PROMOTE_READ_REPLICA_DB_CLUSTER_INPUT", + "PROMOTE_READ_REPLICA_DB_CLUSTER_OUTPUT", + "PROMOTE_READ_REPLICA_DB_CLUSTER", + "PURCHASE_RESERVED_DB_INSTANCES_OFFERING_INPUT", + "PURCHASE_RESERVED_DB_INSTANCES_OFFERING_OUTPUT", + "PURCHASE_RESERVED_DB_INSTANCES_OFFERING", + "RESERVED_DB_INSTANCE_ALREADY_EXISTS_FAULT", + "RESERVED_DB_INSTANCE_QUOTA_EXCEEDED_FAULT", + "REBOOT_DB_CLUSTER_INPUT", + "REBOOT_DB_CLUSTER_OUTPUT", + "REBOOT_DB_CLUSTER", + "REBOOT_DB_INSTANCE_INPUT", + "REBOOT_DB_INSTANCE_OUTPUT", + "REBOOT_DB_INSTANCE", + "REBOOT_DB_SHARD_GROUP_INPUT", + "REBOOT_DB_SHARD_GROUP_OUTPUT", + "REBOOT_DB_SHARD_GROUP", + "DB_PROXY_TARGET_ALREADY_REGISTERED_FAULT", + "INSUFFICIENT_AVAILABLE_I_PS_IN_SUBNET_FAULT", + "REGISTER_DB_PROXY_TARGETS_INPUT", + "REGISTER_DB_PROXY_TARGETS_OUTPUT", + "REGISTER_DB_PROXY_TARGETS", + "REMOVE_FROM_GLOBAL_CLUSTER_INPUT", + "REMOVE_FROM_GLOBAL_CLUSTER_OUTPUT", + "REMOVE_FROM_GLOBAL_CLUSTER", + "DB_CLUSTER_ROLE_NOT_FOUND_FAULT", + "REMOVE_ROLE_FROM_DB_CLUSTER_INPUT", + "REMOVE_ROLE_FROM_DB_CLUSTER_OUTPUT", + "REMOVE_ROLE_FROM_DB_CLUSTER", + "DB_INSTANCE_ROLE_NOT_FOUND_FAULT", + "REMOVE_ROLE_FROM_DB_INSTANCE_INPUT", + "REMOVE_ROLE_FROM_DB_INSTANCE_OUTPUT", + "REMOVE_ROLE_FROM_DB_INSTANCE", + "REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_INPUT", + "REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_OUTPUT", + "REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION", + "KEY_LIST", + "REMOVE_TAGS_FROM_RESOURCE_INPUT", + "REMOVE_TAGS_FROM_RESOURCE_OUTPUT", + "REMOVE_TAGS_FROM_RESOURCE", + "RESET_DB_CLUSTER_PARAMETER_GROUP_INPUT", + "RESET_DB_CLUSTER_PARAMETER_GROUP_OUTPUT", + "RESET_DB_CLUSTER_PARAMETER_GROUP", + "RESET_DB_PARAMETER_GROUP_INPUT", + "RESET_DB_PARAMETER_GROUP_OUTPUT", + "RESET_DB_PARAMETER_GROUP", + "RESTORE_DB_CLUSTER_FROM_S3_INPUT", + "RESTORE_DB_CLUSTER_FROM_S3_OUTPUT", + "RESTORE_DB_CLUSTER_FROM_S3", + "RESTORE_DB_CLUSTER_FROM_SNAPSHOT_INPUT", + "RESTORE_DB_CLUSTER_FROM_SNAPSHOT_OUTPUT", + "RESTORE_DB_CLUSTER_FROM_SNAPSHOT", + ), + ( + "RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_INPUT", + "RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_OUTPUT", + "RESTORE_DB_CLUSTER_TO_POINT_IN_TIME", + "RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_INPUT", + "RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_OUTPUT", + "RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT", + "RESTORE_DB_INSTANCE_FROM_S3_INPUT", + "RESTORE_DB_INSTANCE_FROM_S3_OUTPUT", + "RESTORE_DB_INSTANCE_FROM_S3", + "POINT_IN_TIME_RESTORE_NOT_ENABLED_FAULT", + "RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_INPUT", + "RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_OUTPUT", + "RESTORE_DB_INSTANCE_TO_POINT_IN_TIME", + "REVOKE_DB_SECURITY_GROUP_INGRESS_INPUT", + "REVOKE_DB_SECURITY_GROUP_INGRESS_OUTPUT", + "REVOKE_DB_SECURITY_GROUP_INGRESS", + "START_ACTIVITY_STREAM_INPUT", + "START_ACTIVITY_STREAM_OUTPUT", + "START_ACTIVITY_STREAM", + "START_DB_CLUSTER_INPUT", + "START_DB_CLUSTER_OUTPUT", + "START_DB_CLUSTER", + "START_DB_INSTANCE_INPUT", + "START_DB_INSTANCE_OUTPUT", + "START_DB_INSTANCE", + "START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT", + "START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT", + "START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION", + "EXPORT_TASK_ALREADY_EXISTS_FAULT", + "IAM_ROLE_MISSING_PERMISSIONS_FAULT", + "IAM_ROLE_NOT_FOUND_FAULT", + "INVALID_EXPORT_ONLY_FAULT", + "INVALID_EXPORT_SOURCE_STATE_FAULT", + "START_EXPORT_TASK_INPUT", + "START_EXPORT_TASK_OUTPUT", + "START_EXPORT_TASK", + "STOP_ACTIVITY_STREAM_INPUT", + "STOP_ACTIVITY_STREAM_OUTPUT", + "STOP_ACTIVITY_STREAM", + "STOP_DB_CLUSTER_INPUT", + "STOP_DB_CLUSTER_OUTPUT", + "STOP_DB_CLUSTER", + "STOP_DB_INSTANCE_INPUT", + "STOP_DB_INSTANCE_OUTPUT", + "STOP_DB_INSTANCE", + "STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT", + "STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT", + "STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION", + "SWITCHOVER_TIMEOUT", + "SWITCHOVER_BLUE_GREEN_DEPLOYMENT_INPUT", + "SWITCHOVER_BLUE_GREEN_DEPLOYMENT_OUTPUT", + "SWITCHOVER_BLUE_GREEN_DEPLOYMENT", + "SWITCHOVER_GLOBAL_CLUSTER_INPUT", + "SWITCHOVER_GLOBAL_CLUSTER_OUTPUT", + "SWITCHOVER_GLOBAL_CLUSTER", + "SWITCHOVER_READ_REPLICA_INPUT", + "SWITCHOVER_READ_REPLICA_OUTPUT", + "SWITCHOVER_READ_REPLICA", + "AMAZON_RD_SV19", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_0.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_0.py new file mode 100644 index 000000000..1f52b0e7d --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_0.py @@ -0,0 +1,1734 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.rds" +_S = "String" +_L = "Long" +_AQ = "AccountQuota" +_AQN = "AccountQuotaName" +_U = "Used" +_M = "Max" +_AQL = "AccountQuotaList" +_m = "member" +_sN = "smithy.api#xmlName" +_ASM = "ActivityStreamMode" +_s = "sync" +_sV = "smithy.api#enumValue" +_a = "async" +_ASML = "ActivityStreamModeList" +_ASPS = "ActivityStreamPolicyStatus" +_l = "locked" +_u = "unlocked" +_lp = "locking_policy" +_lp_ = "locking-policy" +_up = "unlocking_policy" +_up_ = "unlocking-policy" +_ASS = "ActivityStreamStatus" +_st = "stopped" +_sta = "starting" +_star = "started" +_sto = "stopping" +_IO = "IntegerOptional" +_ASV = "AdditionalStorageVolume" +_VN = "VolumeName" +_sm = "smithy.api#required" +_AS = "AllocatedStorage" +_IOPS = "IOPS" +_MAS = "MaxAllocatedStorage" +_ST = "StorageThroughput" +_STt = "StorageType" +_I = "Integer" +_ASVO = "AdditionalStorageVolumeOutput" +_SVS = "StorageVolumeStatus" +_SOS = "StorageOperationStatus" +_SOPP = "StorageOperationPercentProgress" +_ASVL = "AdditionalStorageVolumesList" +_ASVOL = "AdditionalStorageVolumesOutputList" +_IAMRA = "IAMRoleArn" +_ARTDBCI = "AddRoleToDBClusterInput" +_sSI = "smithy.synthetic#originalShapeId" +_cARTDBCM = "com.amazonaws.rds#AddRoleToDBClusterMessage" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_RA = "RoleArn" +_FN = "FeatureName" +_ARTDBCO = "AddRoleToDBClusterOutput" +_sU = "smithy.api#Unit" +_smit = "smithy.api#output" +_EM = "ExceptionMessage" +_DBCNFF = "DBClusterNotFoundFault" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBCRAEF = "DBClusterRoleAlreadyExistsFault" +_DBCRQEF = "DBClusterRoleQuotaExceededFault" +_IDBCSF = "InvalidDBClusterStateFault" +_ARTDBC = "AddRoleToDBCluster" +_ARTDBII = "AddRoleToDBInstanceInput" +_cARTDBIM = "com.amazonaws.rds#AddRoleToDBInstanceMessage" +_DBII = "DBInstanceIdentifier" +_ARTDBIO = "AddRoleToDBInstanceOutput" +_DBINFF = "DBInstanceNotFoundFault" +_DBIRAEF = "DBInstanceRoleAlreadyExistsFault" +_DBIRQEF = "DBInstanceRoleQuotaExceededFault" +_IDBISF = "InvalidDBInstanceStateFault" +_ARTDBI = "AddRoleToDBInstance" +_ASITSI = "AddSourceIdentifierToSubscriptionInput" +_cASITSM = "com.amazonaws.rds#AddSourceIdentifierToSubscriptionMessage" +_SN = "SubscriptionName" +_SI = "SourceIdentifier" +_B = "Boolean" +_ECL = "EventCategoriesList" +_EC = "EventCategory" +_SIL = "SourceIdsList" +_SIo = "SourceId" +_ES = "EventSubscription" +_CAI = "CustomerAwsId" +_CSI = "CustSubscriptionId" +_STA = "SnsTopicArn" +_St = "Status" +_SCT = "SubscriptionCreationTime" +_STo = "SourceType" +_E = "Enabled" +_ESA = "EventSubscriptionArn" +_ASITSO = "AddSourceIdentifierToSubscriptionOutput" +_cASITSR = "com.amazonaws.rds#AddSourceIdentifierToSubscriptionResult" +_SNFF = "SourceNotFoundFault" +_SNFFu = "SubscriptionNotFoundFault" +_ASITS = "AddSourceIdentifierToSubscription" +_T = "Tag" +_K = "Key" +_V = "Value" +_TL = "TagList" +_ATTRI = "AddTagsToResourceInput" +_cATTRM = "com.amazonaws.rds#AddTagsToResourceMessage" +_RN = "ResourceName" +_Ta = "Tags" +_ATTRO = "AddTagsToResourceOutput" +_BGDNFF = "BlueGreenDeploymentNotFoundFault" +_DBCRNFF = "DBCapacityReservationNotFoundFault" +_DBPENFF = "DBProxyEndpointNotFoundFault" +_DBPNFF = "DBProxyNotFoundFault" +_DBPTGNFF = "DBProxyTargetGroupNotFoundFault" +_DBSGNFF = "DBShardGroupNotFoundFault" +_DBSNFF = "DBSnapshotNotFoundFault" +_DBSTDNFF = "DBSnapshotTenantDatabaseNotFoundFault" +_INFF = "IntegrationNotFoundFault" +_IDBCESF = "InvalidDBClusterEndpointStateFault" +_TDNFF = "TenantDatabaseNotFoundFault" +_ATTR = "AddTagsToResource" +_APMAI = "ApplyPendingMaintenanceActionInput" +_cAPMAM = "com.amazonaws.rds#ApplyPendingMaintenanceActionMessage" +_RI = "ResourceIdentifier" +_AA = "ApplyAction" +_OIT = "OptInType" +_TS = "TStamp" +_PMA = "PendingMaintenanceAction" +_A = "Action" +_AAAD = "AutoAppliedAfterDate" +_FAD = "ForcedApplyDate" +_OIS = "OptInStatus" +_CAD = "CurrentApplyDate" +_D = "Description" +_PMAD = "PendingMaintenanceActionDetails" +_RPMA = "ResourcePendingMaintenanceActions" +_APMAO = "ApplyPendingMaintenanceActionOutput" +_cAPMAR = "com.amazonaws.rds#ApplyPendingMaintenanceActionResult" +_RNFF = "ResourceNotFoundFault" +_APMA = "ApplyPendingMaintenanceAction" +_AAEF = "AuthorizationAlreadyExistsFault" +_AQEF = "AuthorizationQuotaExceededFault" +_ADBSGII = "AuthorizeDBSecurityGroupIngressInput" +_cADBSGIM = "com.amazonaws.rds#AuthorizeDBSecurityGroupIngressMessage" +_DBSGN = "DBSecurityGroupName" +_CIDRIP = "CIDRIP" +_ECSGN = "EC2SecurityGroupName" +_ECSGI = "EC2SecurityGroupId" +_ECSGOI = "EC2SecurityGroupOwnerId" +_ECSG = "EC2SecurityGroup" +_ECSGL = "EC2SecurityGroupList" +_IPR = "IPRange" +_IPRL = "IPRangeList" +_DBSG = "DBSecurityGroup" +_OI = "OwnerId" +_DBSGD = "DBSecurityGroupDescription" +_VI = "VpcId" +_ECSGe = "EC2SecurityGroups" +_IPRa = "IPRanges" +_DBSGA = "DBSecurityGroupArn" +_ADBSGIO = "AuthorizeDBSecurityGroupIngressOutput" +_cADBSGIR = "com.amazonaws.rds#AuthorizeDBSecurityGroupIngressResult" +_DBSGNFFe = "DBSecurityGroupNotFoundFault" +_IDBSGSF = "InvalidDBSecurityGroupStateFault" +_ADBSGI = "AuthorizeDBSecurityGroupIngress" +_BO = "BooleanOptional" +_BDBCI = "BacktrackDBClusterInput" +_cBDBCM = "com.amazonaws.rds#BacktrackDBClusterMessage" +_BT = "BacktrackTo" +_F = "Force" +_UETOPITU = "UseEarliestTimeOnPointInTimeUnavailable" +_BDBCO = "BacktrackDBClusterOutput" +_cDBCB = "com.amazonaws.rds#DBClusterBacktrack" +_BI = "BacktrackIdentifier" +_BF = "BacktrackedFrom" +_BRCT = "BacktrackRequestCreationTime" +_BDBC = "BacktrackDBCluster" +_DBCRI = "DBCapacityReservationIdentifier" +_CDBCRI = "CancelDBCapacityReservationInput" +_cCDBCRR = "com.amazonaws.rds#CancelDBCapacityReservationRequest" +_ACPAZ = "AvailableCapacityPerAvailabilityZone" +_AZ = "AvailabilityZone" +_AC = "AvailableCapacity" +_ACPAZL = "AvailableCapacityPerAvailabilityZoneList" +_DBCRCI = "DBCapacityReservationCommitmentInfo" +_CCPAZ = "CommittedCapacityPerAvailabilityZone" +_CED = "CommitmentEndDate" +_DBCRN = "DBCapacityReservationName" +_DBIC = "DBInstanceClass" +_DBCRS = "DBCapacityReservationState" +_ac = "active" +_e = "expired" +_ca = "cancelled" +_p = "pending" +_f = "failed" +_as = "assessing" +_sc = "scheduled" +_d = "delayed" +_un = "unsupported" +_DBCR = "DBCapacityReservation" +_En = "Engine" +_LM = "LicenseModel" +_RCPAZ = "ReservedCapacityPerAvailabilityZone" +_ED = "EndDate" +_CD = "CreateDate" +_SD = "StartDate" +_CI = "CommitmentInfo" +_Sta = "State" +_DBCRA = "DBCapacityReservationArn" +_CDBCRO = "CancelDBCapacityReservationOutput" +_cCDBCRRo = "com.amazonaws.rds#CancelDBCapacityReservationResponse" +_IDBCRSF = "InvalidDBCapacityReservationStateFault" +_CDBCR = "CancelDBCapacityReservation" +_CETI = "CancelExportTaskInput" +_cCETM = "com.amazonaws.rds#CancelExportTaskMessage" +_ETI = "ExportTaskIdentifier" +_SL = "StringList" +_EST = "ExportSourceType" +_SNAPSHOT = "SNAPSHOT" +_CLUSTER = "CLUSTER" +_CETO = "CancelExportTaskOutput" +_cET = "com.amazonaws.rds#ExportTask" +_SA = "SourceArn" +_EO = "ExportOnly" +_STn = "SnapshotTime" +_TST = "TaskStartTime" +_TET = "TaskEndTime" +_SB = "S3Bucket" +_SP = "S3Prefix" +_IRA = "IamRoleArn" +_KKI = "KmsKeyId" +_PP = "PercentProgress" +_TEDIGB = "TotalExtractedDataInGB" +_FC = "FailureCause" +_WM = "WarningMessage" +_ETNFF = "ExportTaskNotFoundFault" +_IETSF = "InvalidExportTaskStateFault" +_CET = "CancelExportTask" +_CDBCPGI = "CopyDBClusterParameterGroupInput" +_cCDBCPGM = "com.amazonaws.rds#CopyDBClusterParameterGroupMessage" +_SDBCPGI = "SourceDBClusterParameterGroupIdentifier" +_TDBCPGI = "TargetDBClusterParameterGroupIdentifier" +_TDBCPGD = "TargetDBClusterParameterGroupDescription" +_DBCPG = "DBClusterParameterGroup" +_DBCPGN = "DBClusterParameterGroupName" +_DBPGF = "DBParameterGroupFamily" +_DBCPGA = "DBClusterParameterGroupArn" +_CDBCPGO = "CopyDBClusterParameterGroupOutput" +_cCDBCPGR = "com.amazonaws.rds#CopyDBClusterParameterGroupResult" +_DBPGAEF = "DBParameterGroupAlreadyExistsFault" +_DBPGNFF = "DBParameterGroupNotFoundFault" +_DBPGQEF = "DBParameterGroupQuotaExceededFault" +_CDBCPG = "CopyDBClusterParameterGroup" +_SS = "SensitiveString" +_smithy = "smithy.api#sensitive" +_CDBCSI = "CopyDBClusterSnapshotInput" +_cCDBCSM = "com.amazonaws.rds#CopyDBClusterSnapshotMessage" +_SDBCSI = "SourceDBClusterSnapshotIdentifier" +_TDBCSI = "TargetDBClusterSnapshotIdentifier" +_PSU = "PreSignedUrl" +_CT = "CopyTags" +_AZv = "AvailabilityZones" +_SET = "StorageEncryptionType" +_UNENCRYPTED = "UNENCRYPTED" +_n = "none" +_CMK = "CMK" +_sk = "sse-kms" +_SSE = "SSE" +_sr = "sse-rds" +_DBCS = "DBClusterSnapshot" +_DBCSI = "DBClusterSnapshotIdentifier" +_SCTn = "SnapshotCreateTime" +_EMn = "EngineMode" +_P = "Port" +_CCT = "ClusterCreateTime" +_MU = "MasterUsername" +_EV = "EngineVersion" +_STna = "SnapshotType" +_SE = "StorageEncrypted" +_BRP = "BackupRetentionPeriod" +_PBW = "PreferredBackupWindow" +_DBCSA = "DBClusterSnapshotArn" +_SDBCSA = "SourceDBClusterSnapshotArn" +_IAMDAE = "IAMDatabaseAuthenticationEnabled" +_DCRI = "DbClusterResourceId" +_DBSI = "DBSystemId" +_CDBCSO = "CopyDBClusterSnapshotOutput" +_cCDBCSR = "com.amazonaws.rds#CopyDBClusterSnapshotResult" +_DBCSAEF = "DBClusterSnapshotAlreadyExistsFault" +_DBCSNFF = "DBClusterSnapshotNotFoundFault" +_IDBCSSF = "InvalidDBClusterSnapshotStateFault" +_KMSKNAF = "KMSKeyNotAccessibleFault" +_SQEF = "SnapshotQuotaExceededFault" +_CDBCS = "CopyDBClusterSnapshot" +_DBPG = "DBParameterGroup" +_DBPGN = "DBParameterGroupName" +_DBPGA = "DBParameterGroupArn" +_DBSAEF = "DBSnapshotAlreadyExistsFault" +_IDBSSF = "InvalidDBSnapshotStateFault" +_EML = "EngineModeList" +_STNSF = "StorageTypeNotSupportedFault" +_ANFF = "AuthorizationNotFoundFault" +_CNFF = "CertificateNotFoundFault" + +STRING: StaticSchema = (3, n0, _S, 0) + +LONG: StaticSchema = (8, n0, _L, 0) + +ACCOUNT_QUOTA: StaticSchema = ( + 18, + n0, + _AQ, + 0, + (_AQN, _U, _M), + ((STRING, 0), (LONG, 0), (LONG, 0)), +) + +ACCOUNT_QUOTA_LIST: StaticSchema = ( + 16, + n0, + _AQL, + 0, + (_m,), + ((ACCOUNT_QUOTA, {_sN: _AQ}),), +) + +ACTIVITY_STREAM_MODE: StaticSchema = ( + 14, + n0, + _ASM, + 0, + (_s, _a), + ((-1, {_sV: _s}), (-1, {_sV: _a})), +) + +ACTIVITY_STREAM_MODE_LIST: StaticSchema = (16, n0, _ASML, 0, (_m,), ((STRING, 0),)) + +ACTIVITY_STREAM_POLICY_STATUS: StaticSchema = ( + 14, + n0, + _ASPS, + 0, + (_l, _u, _lp, _up), + ((-1, {_sV: _l}), (-1, {_sV: _u}), (-1, {_sV: _lp_}), (-1, {_sV: _up_})), +) + +ACTIVITY_STREAM_STATUS: StaticSchema = ( + 14, + n0, + _ASS, + 0, + (_st, _sta, _star, _sto), + ((-1, {_sV: _st}), (-1, {_sV: _sta}), (-1, {_sV: _star}), (-1, {_sV: _sto})), +) + +INTEGER_OPTIONAL: StaticSchema = (7, n0, _IO, 0) + +ADDITIONAL_STORAGE_VOLUME: StaticSchema = ( + 18, + n0, + _ASV, + 0, + (_VN, _AS, _IOPS, _MAS, _ST, _STt), + ( + (STRING, 1), + (INTEGER_OPTIONAL, 0), + (INTEGER_OPTIONAL, 0), + (INTEGER_OPTIONAL, 0), + (INTEGER_OPTIONAL, 0), + (STRING, 0), + ), +) + +INTEGER: StaticSchema = (7, n0, _I, 0) + +ADDITIONAL_STORAGE_VOLUME_OUTPUT: StaticSchema = ( + 18, + n0, + _ASVO, + 0, + (_VN, _SVS, _SOS, _SOPP, _AS, _IOPS, _MAS, _ST, _STt), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (INTEGER_OPTIONAL, 0), + (INTEGER, 0), + (INTEGER_OPTIONAL, 0), + (INTEGER_OPTIONAL, 0), + (INTEGER_OPTIONAL, 0), + (STRING, 0), + ), +) + +ADDITIONAL_STORAGE_VOLUMES_LIST: StaticSchema = ( + 16, + n0, + _ASVL, + 0, + (_m,), + ((ADDITIONAL_STORAGE_VOLUME, 0),), +) + +ADDITIONAL_STORAGE_VOLUMES_OUTPUT_LIST: StaticSchema = ( + 16, + n0, + _ASVOL, + 0, + (_m,), + ((ADDITIONAL_STORAGE_VOLUME_OUTPUT, 0),), +) + +IAM_ROLE_ARN: StaticSchema = (3, n0, _IAMRA, 0) + +ADD_ROLE_TO_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _ARTDBCI, + {_sSI: _cARTDBCM, _smi: None}, + (_DBCI, _RA, _FN), + ((STRING, 1), (IAM_ROLE_ARN, 1), (STRING, 0)), +) + +ADD_ROLE_TO_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _ARTDBCO, + {_sSI: _sU, _smit: None}, +) + +ADD_ROLE_TO_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _ARTDBC, + 0, + ADD_ROLE_TO_DB_CLUSTER_INPUT, + ADD_ROLE_TO_DB_CLUSTER_OUTPUT, + ( + lambda: DB_CLUSTER_NOT_FOUND_FAULT, + lambda: DB_CLUSTER_ROLE_ALREADY_EXISTS_FAULT, + lambda: DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, + lambda: INVALID_DB_CLUSTER_STATE_FAULT, + ), +) + +EXCEPTION_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +DB_CLUSTER_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBCNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBClusterNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_CLUSTER_ROLE_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBCRAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBClusterRoleAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBCRQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBClusterRoleQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_CLUSTER_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBCSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBClusterStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +ADD_ROLE_TO_DB_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _ARTDBII, + {_sSI: _cARTDBIM, _smi: None}, + (_DBII, _RA, _FN), + ((STRING, 1), (STRING, 1), (STRING, 1)), +) + +ADD_ROLE_TO_DB_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _ARTDBIO, + {_sSI: _sU, _smit: None}, +) + +ADD_ROLE_TO_DB_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _ARTDBI, + 0, + ADD_ROLE_TO_DB_INSTANCE_INPUT, + ADD_ROLE_TO_DB_INSTANCE_OUTPUT, + ( + lambda: DB_INSTANCE_NOT_FOUND_FAULT, + lambda: DB_INSTANCE_ROLE_ALREADY_EXISTS_FAULT, + lambda: DB_INSTANCE_ROLE_QUOTA_EXCEEDED_FAULT, + lambda: INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +DB_INSTANCE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBINFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "DBInstanceNotFound", "httpResponseCode": 404}), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_INSTANCE_ROLE_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBIRAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBInstanceRoleAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_INSTANCE_ROLE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBIRQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBInstanceRoleQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_INSTANCE_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBISF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBInstanceState", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _ASITSI, + {_sSI: _cASITSM, _smi: None}, + (_SN, _SI), + ((STRING, 1), (STRING, 1)), +) + +ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _ASITSO, + {_sSI: _cASITSR, _smit: None}, + (_ES,), + ((lambda: EVENT_SUBSCRIPTION, 0),), +) + +ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _ASITS, + 0, + ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_INPUT, + ADD_SOURCE_IDENTIFIER_TO_SUBSCRIPTION_OUTPUT, + (lambda: SOURCE_NOT_FOUND_FAULT, lambda: SUBSCRIPTION_NOT_FOUND_FAULT), +) + +BOOLEAN: StaticSchema = (2, n0, _B, 0) + +EVENT_CATEGORIES_LIST: StaticSchema = (16, n0, _ECL, 0, (_m,), ((STRING, {_sN: _EC}),)) + +SOURCE_IDS_LIST: StaticSchema = (16, n0, _SIL, 0, (_m,), ((STRING, {_sN: _SIo}),)) + +EVENT_SUBSCRIPTION: StaticSchema = ( + 18, + n0, + _ES, + 0, + (_CAI, _CSI, _STA, _St, _SCT, _STo, _SIL, _ECL, _E, _ESA), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (SOURCE_IDS_LIST, 0), + (EVENT_CATEGORIES_LIST, 0), + (BOOLEAN, 0), + (STRING, 0), + ), +) + +SOURCE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _SNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "SourceNotFound", "httpResponseCode": 404}), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +SUBSCRIPTION_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _SNFFu, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "SubscriptionNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +TAG: StaticSchema = (18, n0, _T, 0, (_K, _V), ((STRING, 0), (STRING, 0))) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, {_sN: _T}),)) + +ADD_TAGS_TO_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _ATTRI, + {_sSI: _cATTRM, _smi: None}, + (_RN, _Ta), + ((STRING, 1), (TAG_LIST, 1)), +) + +ADD_TAGS_TO_RESOURCE_OUTPUT: StaticSchema = (18, n0, _ATTRO, {_sSI: _sU, _smit: None}) + +ADD_TAGS_TO_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _ATTR, + 0, + ADD_TAGS_TO_RESOURCE_INPUT, + ADD_TAGS_TO_RESOURCE_OUTPUT, + ( + lambda: BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, + lambda: DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + DB_CLUSTER_NOT_FOUND_FAULT, + DB_INSTANCE_NOT_FOUND_FAULT, + lambda: DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, + lambda: DB_PROXY_NOT_FOUND_FAULT, + lambda: DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, + lambda: DB_SHARD_GROUP_NOT_FOUND_FAULT, + lambda: DB_SNAPSHOT_NOT_FOUND_FAULT, + lambda: DB_SNAPSHOT_TENANT_DATABASE_NOT_FOUND_FAULT, + lambda: INTEGRATION_NOT_FOUND_FAULT, + lambda: INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT, + INVALID_DB_CLUSTER_STATE_FAULT, + INVALID_DB_INSTANCE_STATE_FAULT, + lambda: TENANT_DATABASE_NOT_FOUND_FAULT, + ), +) + +BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _BGDNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "BlueGreenDeploymentNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBCRNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBCapacityReservationNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_PROXY_ENDPOINT_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBPENFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBProxyEndpointNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_PROXY_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBPNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBProxyNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBPTGNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBProxyTargetGroupNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_SHARD_GROUP_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBSGNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBShardGroupNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_SNAPSHOT_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBSNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "DBSnapshotNotFound", "httpResponseCode": 404}), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_SNAPSHOT_TENANT_DATABASE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBSTDNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBSnapshotTenantDatabaseNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INTEGRATION_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _INFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "IntegrationNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBCESF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBClusterEndpointStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +TENANT_DATABASE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _TDNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "TenantDatabaseNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +APPLY_PENDING_MAINTENANCE_ACTION_INPUT: StaticSchema = ( + 18, + n0, + _APMAI, + {_sSI: _cAPMAM, _smi: None}, + (_RI, _AA, _OIT), + ((STRING, 1), (STRING, 1), (STRING, 1)), +) + +APPLY_PENDING_MAINTENANCE_ACTION_OUTPUT: StaticSchema = ( + 18, + n0, + _APMAO, + {_sSI: _cAPMAR, _smit: None}, + (_RPMA,), + ((lambda: RESOURCE_PENDING_MAINTENANCE_ACTIONS, 0),), +) + +APPLY_PENDING_MAINTENANCE_ACTION: StaticOperationSchema = ( + 23, + n0, + _APMA, + 0, + APPLY_PENDING_MAINTENANCE_ACTION_INPUT, + APPLY_PENDING_MAINTENANCE_ACTION_OUTPUT, + ( + INVALID_DB_CLUSTER_STATE_FAULT, + INVALID_DB_INSTANCE_STATE_FAULT, + lambda: RESOURCE_NOT_FOUND_FAULT, + ), +) + +T_STAMP: StaticSchema = (4, n0, _TS, 0) + +PENDING_MAINTENANCE_ACTION: StaticSchema = ( + 18, + n0, + _PMA, + 0, + (_A, _AAAD, _FAD, _OIS, _CAD, _D), + ((STRING, 0), (T_STAMP, 0), (T_STAMP, 0), (STRING, 0), (T_STAMP, 0), (STRING, 0)), +) + +PENDING_MAINTENANCE_ACTION_DETAILS: StaticSchema = ( + 16, + n0, + _PMAD, + 0, + (_m,), + ((PENDING_MAINTENANCE_ACTION, {_sN: _PMA}),), +) + +RESOURCE_PENDING_MAINTENANCE_ACTIONS: StaticSchema = ( + 18, + n0, + _RPMA, + 0, + (_RI, _PMAD), + ((STRING, 0), (PENDING_MAINTENANCE_ACTION_DETAILS, 0)), +) + +RESOURCE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _RNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "ResourceNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +AUTHORIZATION_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _AAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "AuthorizationAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +AUTHORIZATION_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _AQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "AuthorizationQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +AUTHORIZE_DB_SECURITY_GROUP_INGRESS_INPUT: StaticSchema = ( + 18, + n0, + _ADBSGII, + {_sSI: _cADBSGIM, _smi: None}, + (_DBSGN, _CIDRIP, _ECSGN, _ECSGI, _ECSGOI), + ((STRING, 1), (STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), +) + +AUTHORIZE_DB_SECURITY_GROUP_INGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _ADBSGIO, + {_sSI: _cADBSGIR, _smit: None}, + (_DBSG,), + ((lambda: DB_SECURITY_GROUP, 0),), +) + +AUTHORIZE_DB_SECURITY_GROUP_INGRESS: StaticOperationSchema = ( + 23, + n0, + _ADBSGI, + 0, + AUTHORIZE_DB_SECURITY_GROUP_INGRESS_INPUT, + AUTHORIZE_DB_SECURITY_GROUP_INGRESS_OUTPUT, + ( + AUTHORIZATION_ALREADY_EXISTS_FAULT, + AUTHORIZATION_QUOTA_EXCEEDED_FAULT, + lambda: DB_SECURITY_GROUP_NOT_FOUND_FAULT, + lambda: INVALID_DB_SECURITY_GROUP_STATE_FAULT, + ), +) + +EC2_SECURITY_GROUP: StaticSchema = ( + 18, + n0, + _ECSG, + 0, + (_St, _ECSGN, _ECSGI, _ECSGOI), + ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), +) + +EC2_SECURITY_GROUP_LIST: StaticSchema = ( + 16, + n0, + _ECSGL, + 0, + (_m,), + ((EC2_SECURITY_GROUP, {_sN: _ECSG}),), +) + +IP_RANGE: StaticSchema = (18, n0, _IPR, 0, (_St, _CIDRIP), ((STRING, 0), (STRING, 0))) + +IP_RANGE_LIST: StaticSchema = (16, n0, _IPRL, 0, (_m,), ((IP_RANGE, {_sN: _IPR}),)) + +DB_SECURITY_GROUP: StaticSchema = ( + 18, + n0, + _DBSG, + 0, + (_OI, _DBSGN, _DBSGD, _VI, _ECSGe, _IPRa, _DBSGA), + ( + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (EC2_SECURITY_GROUP_LIST, 0), + (IP_RANGE_LIST, 0), + (STRING, 0), + ), +) + +DB_SECURITY_GROUP_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBSGNFFe, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBSecurityGroupNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_SECURITY_GROUP_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBSGSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBSecurityGroupState", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +BOOLEAN_OPTIONAL: StaticSchema = (2, n0, _BO, 0) + +BACKTRACK_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _BDBCI, + {_sSI: _cBDBCM, _smi: None}, + (_DBCI, _BT, _F, _UETOPITU), + ((STRING, 1), (T_STAMP, 1), (BOOLEAN_OPTIONAL, 0), (BOOLEAN_OPTIONAL, 0)), +) + +BACKTRACK_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _BDBCO, + {_sSI: _cDBCB, _smit: None}, + (_DBCI, _BI, _BT, _BF, _BRCT, _St), + ((STRING, 0), (STRING, 0), (T_STAMP, 0), (T_STAMP, 0), (T_STAMP, 0), (STRING, 0)), +) + +BACKTRACK_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _BDBC, + 0, + BACKTRACK_DB_CLUSTER_INPUT, + BACKTRACK_DB_CLUSTER_OUTPUT, + (DB_CLUSTER_NOT_FOUND_FAULT, INVALID_DB_CLUSTER_STATE_FAULT), +) + +DB_CAPACITY_RESERVATION_IDENTIFIER: StaticSchema = (3, n0, _DBCRI, 0) + +CANCEL_DB_CAPACITY_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _CDBCRI, + {_sSI: _cCDBCRR, _smi: None}, + (_DBCRI,), + ((DB_CAPACITY_RESERVATION_IDENTIFIER, 1),), +) + +CANCEL_DB_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBCRO, + {_sSI: _cCDBCRRo, _smit: None}, + (_DBCR,), + ((lambda: DB_CAPACITY_RESERVATION, 0),), +) + +CANCEL_DB_CAPACITY_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _CDBCR, + 0, + CANCEL_DB_CAPACITY_RESERVATION_INPUT, + CANCEL_DB_CAPACITY_RESERVATION_OUTPUT, + ( + DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + ), +) + +AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE: StaticSchema = ( + 18, + n0, + _ACPAZ, + 0, + (_AZ, _AC), + ((STRING, 0), (INTEGER_OPTIONAL, 0)), +) + +AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE_LIST: StaticSchema = ( + 16, + n0, + _ACPAZL, + 0, + (_m,), + ((AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE, {_sN: _ACPAZ}),), +) + +DB_CAPACITY_RESERVATION_COMMITMENT_INFO: StaticSchema = ( + 18, + n0, + _DBCRCI, + 0, + (_CCPAZ, _CED), + ((INTEGER_OPTIONAL, 0), (T_STAMP, 0)), +) + +DB_CAPACITY_RESERVATION_NAME: StaticSchema = (3, n0, _DBCRN, 0) + +DB_INSTANCE_CLASS: StaticSchema = (3, n0, _DBIC, 0) + +DB_CAPACITY_RESERVATION_STATE: StaticSchema = ( + 14, + n0, + _DBCRS, + 0, + (_ac, _e, _ca, _p, _f, _as, _sc, _d, _un), + ( + (-1, {_sV: _ac}), + (-1, {_sV: _e}), + (-1, {_sV: _ca}), + (-1, {_sV: _p}), + (-1, {_sV: _f}), + (-1, {_sV: _as}), + (-1, {_sV: _sc}), + (-1, {_sV: _d}), + (-1, {_sV: _un}), + ), +) + +DB_CAPACITY_RESERVATION: StaticSchema = ( + 18, + n0, + _DBCR, + 0, + ( + _DBCRN, + _DBIC, + _En, + _LM, + _RCPAZ, + _ACPAZL, + _ED, + _CD, + _SD, + _CI, + _Sta, + _DBCRA, + _DBCRI, + _TL, + ), + ( + (DB_CAPACITY_RESERVATION_NAME, 0), + (DB_INSTANCE_CLASS, 0), + (STRING, 0), + (STRING, 0), + (INTEGER_OPTIONAL, 0), + (AVAILABLE_CAPACITY_PER_AVAILABILITY_ZONE_LIST, 0), + (T_STAMP, 0), + (T_STAMP, 0), + (T_STAMP, 0), + (DB_CAPACITY_RESERVATION_COMMITMENT_INFO, 0), + (DB_CAPACITY_RESERVATION_STATE, 0), + (STRING, 0), + (DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + (TAG_LIST, 0), + ), +) + +INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBCRSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBCapacityReservationState", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +CANCEL_EXPORT_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CETI, + {_sSI: _cCETM, _smi: None}, + (_ETI,), + ((STRING, 1),), +) + +CANCEL_EXPORT_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CETO, + {_sSI: _cET, _smit: None}, + ( + _ETI, + _SA, + _EO, + _STn, + _TST, + _TET, + _SB, + _SP, + _IRA, + _KKI, + _St, + _PP, + _TEDIGB, + _FC, + _WM, + _STo, + ), + ( + (STRING, 0), + (STRING, 0), + (lambda: STRING_LIST, 0), + (T_STAMP, 0), + (T_STAMP, 0), + (T_STAMP, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (INTEGER, 0), + (INTEGER, 0), + (STRING, 0), + (STRING, 0), + (lambda: EXPORT_SOURCE_TYPE, 0), + ), +) + +CANCEL_EXPORT_TASK: StaticOperationSchema = ( + 23, + n0, + _CET, + 0, + CANCEL_EXPORT_TASK_INPUT, + CANCEL_EXPORT_TASK_OUTPUT, + (lambda: EXPORT_TASK_NOT_FOUND_FAULT, lambda: INVALID_EXPORT_TASK_STATE_FAULT), +) + +STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_m,), ((STRING, 0),)) + +EXPORT_SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _EST, + 0, + (_SNAPSHOT, _CLUSTER), + ((-1, {_sV: _SNAPSHOT}), (-1, {_sV: _CLUSTER})), +) + +EXPORT_TASK_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _ETNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "ExportTaskNotFound", "httpResponseCode": 404}), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_EXPORT_TASK_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IETSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidExportTaskStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +COPY_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CDBCPGI, + {_sSI: _cCDBCPGM, _smi: None}, + (_SDBCPGI, _TDBCPGI, _TDBCPGD, _Ta), + ((STRING, 1), (STRING, 1), (STRING, 1), (TAG_LIST, 0)), +) + +COPY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBCPGO, + {_sSI: _cCDBCPGR, _smit: None}, + (_DBCPG,), + ((lambda: DB_CLUSTER_PARAMETER_GROUP, 0),), +) + +COPY_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _CDBCPG, + 0, + COPY_DB_CLUSTER_PARAMETER_GROUP_INPUT, + COPY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, + ( + lambda: DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT, + lambda: DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT, + ), +) + +DB_CLUSTER_PARAMETER_GROUP: StaticSchema = ( + 18, + n0, + _DBCPG, + 0, + (_DBCPGN, _DBPGF, _D, _DBCPGA), + ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), +) + +DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBPGAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBParameterGroupAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_PARAMETER_GROUP_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBPGNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBParameterGroupNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBPGQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBParameterGroupQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +SENSITIVE_STRING: StaticSchema = (3, n0, _SS, 4) + +COPY_DB_CLUSTER_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _CDBCSI, + {_sSI: _cCDBCSM, _smi: None}, + (_SDBCSI, _TDBCSI, _KKI, _PSU, _CT, _Ta), + ( + (STRING, 1), + (STRING, 1), + (STRING, 0), + (SENSITIVE_STRING, 0), + (BOOLEAN_OPTIONAL, 0), + (TAG_LIST, 0), + ), +) + +COPY_DB_CLUSTER_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBCSO, + {_sSI: _cCDBCSR, _smit: None}, + (_DBCS,), + ((lambda: DB_CLUSTER_SNAPSHOT, 0),), +) + +COPY_DB_CLUSTER_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _CDBCS, + 0, + COPY_DB_CLUSTER_SNAPSHOT_INPUT, + COPY_DB_CLUSTER_SNAPSHOT_OUTPUT, + ( + lambda: DB_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT, + lambda: DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, + lambda: INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, + INVALID_DB_CLUSTER_STATE_FAULT, + lambda: KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: SNAPSHOT_QUOTA_EXCEEDED_FAULT, + ), +) + +AVAILABILITY_ZONES: StaticSchema = (16, n0, _AZv, 0, (_m,), ((STRING, {_sN: _AZ}),)) + +STORAGE_ENCRYPTION_TYPE: StaticSchema = ( + 14, + n0, + _SET, + 0, + (_UNENCRYPTED, _CMK, _SSE), + ((-1, {_sV: _n}), (-1, {_sV: _sk}), (-1, {_sV: _sr})), +) + +DB_CLUSTER_SNAPSHOT: StaticSchema = ( + 18, + n0, + _DBCS, + 0, + ( + _AZv, + _DBCSI, + _DBCI, + _SCTn, + _En, + _EMn, + _AS, + _St, + _P, + _VI, + _CCT, + _MU, + _EV, + _LM, + _STna, + _PP, + _SE, + _SET, + _BRP, + _PBW, + _KKI, + _DBCSA, + _SDBCSA, + _IAMDAE, + _TL, + _STt, + _ST, + _DCRI, + _DBSI, + ), + ( + (AVAILABILITY_ZONES, 0), + (STRING, 0), + (STRING, 0), + (T_STAMP, 0), + (STRING, 0), + (STRING, 0), + (INTEGER, 0), + (STRING, 0), + (INTEGER, 0), + (STRING, 0), + (T_STAMP, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (INTEGER, 0), + (BOOLEAN, 0), + (STORAGE_ENCRYPTION_TYPE, 0), + (INTEGER_OPTIONAL, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (BOOLEAN, 0), + (TAG_LIST, 0), + (STRING, 0), + (INTEGER_OPTIONAL, 0), + (STRING, 0), + (STRING, 0), + ), +) + +DB_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBCSAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBClusterSnapshotAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBCSNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBClusterSnapshotNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBCSSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBClusterSnapshotStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +KMS_KEY_NOT_ACCESSIBLE_FAULT: StaticSchema = ( + 18, + n0, + _KMSKNAF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "KMSKeyNotAccessibleFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +SNAPSHOT_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _SQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "SnapshotQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DB_PARAMETER_GROUP: StaticSchema = ( + 18, + n0, + _DBPG, + 0, + (_DBPGN, _DBPGF, _D, _DBPGA), + ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), +) + +DB_SNAPSHOT_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBSAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBSnapshotAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_SNAPSHOT_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBSSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBSnapshotState", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DESCRIPTION: StaticSchema = (3, n0, _D, 0) + +ENGINE_MODE_LIST: StaticSchema = (16, n0, _EML, 0, (_m,), ((STRING, 0),)) + +STORAGE_TYPE_NOT_SUPPORTED_FAULT: StaticSchema = ( + 18, + n0, + _STNSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "StorageTypeNotSupported", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +AUTHORIZATION_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _ANFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "AuthorizationNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +CERTIFICATE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _CNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "CertificateNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_1.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_1.py new file mode 100644 index 000000000..1c5d2948a --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_1.py @@ -0,0 +1,1592 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#required" +_AS = "AllocatedStorage" +_ST = "StorageThroughput" +_STt = "StorageType" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_RA = "RoleArn" +_FN = "FeatureName" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_St = "Status" +_V = "Value" +_TL = "TagList" +_Ta = "Tags" +_D = "Description" +_DBSGN = "DBSecurityGroupName" +_DBSG = "DBSecurityGroup" +_VI = "VpcId" +_AZ = "AvailabilityZone" +_DBCRN = "DBCapacityReservationName" +_DBIC = "DBInstanceClass" +_DBCR = "DBCapacityReservation" +_En = "Engine" +_LM = "LicenseModel" +_ED = "EndDate" +_SD = "StartDate" +_SA = "SourceArn" +_KKI = "KmsKeyId" +_PP = "PercentProgress" +_DBPGF = "DBParameterGroupFamily" +_smithy = "smithy.api#sensitive" +_PSU = "PreSignedUrl" +_CT = "CopyTags" +_AZv = "AvailabilityZones" +_SET = "StorageEncryptionType" +_SCTn = "SnapshotCreateTime" +_P = "Port" +_MU = "MasterUsername" +_EV = "EngineVersion" +_STna = "SnapshotType" +_BRP = "BackupRetentionPeriod" +_PBW = "PreferredBackupWindow" +_IAMDAE = "IAMDatabaseAuthenticationEnabled" +_DBSI = "DBSystemId" +_CDBPGI = "CopyDBParameterGroupInput" +_cCDBPGM = "com.amazonaws.rds#CopyDBParameterGroupMessage" +_SDBPGI = "SourceDBParameterGroupIdentifier" +_TDBPGI = "TargetDBParameterGroupIdentifier" +_TDBPGD = "TargetDBParameterGroupDescription" +_DBPG = "DBParameterGroup" +_CDBPGO = "CopyDBParameterGroupOutput" +_cCDBPGR = "com.amazonaws.rds#CopyDBParameterGroupResult" +_CDBPG = "CopyDBParameterGroup" +_TSa = "TagSpecification" +_RT = "ResourceType" +_TSL = "TagSpecificationList" +_i = "item" +_CDBSI = "CopyDBSnapshotInput" +_cCDBSM = "com.amazonaws.rds#CopyDBSnapshotMessage" +_SDBSI = "SourceDBSnapshotIdentifier" +_TDBSI = "TargetDBSnapshotIdentifier" +_OGN = "OptionGroupName" +_TCAZ = "TargetCustomAvailabilityZone" +_STnap = "SnapshotTarget" +_COG = "CopyOptionGroup" +_SAZ = "SnapshotAvailabilityZone" +_TSag = "TagSpecifications" +_LO = "LongOptional" +_PF = "ProcessorFeature" +_N = "Name" +_PFL = "ProcessorFeatureList" +_DBS = "DBSnapshot" +_DBSIn = "DBSnapshotIdentifier" +_ICT = "InstanceCreateTime" +_Io = "Iops" +_SR = "SourceRegion" +_TCA = "TdeCredentialArn" +_Enc = "Encrypted" +_DBSA = "DBSnapshotArn" +_Ti = "Timezone" +_PFr = "ProcessorFeatures" +_DRI = "DbiResourceId" +_OSCT = "OriginalSnapshotCreateTime" +_SDT = "SnapshotDatabaseTime" +_MT = "MultiTenant" +_DLV = "DedicatedLogVolume" +_ASVd = "AdditionalStorageVolumes" +_FSSIB = "FullSnapshotSizeInBytes" +_CDBSO = "CopyDBSnapshotOutput" +_cCDBSR = "com.amazonaws.rds#CopyDBSnapshotResult" +_CAZNFF = "CustomAvailabilityZoneNotFoundFault" +_CDBS = "CopyDBSnapshot" +_COGI = "CopyOptionGroupInput" +_cCOGM = "com.amazonaws.rds#CopyOptionGroupMessage" +_SOGI = "SourceOptionGroupIdentifier" +_TOGI = "TargetOptionGroupIdentifier" +_TOGD = "TargetOptionGroupDescription" +_DBSGM = "DBSecurityGroupMembership" +_DBSGML = "DBSecurityGroupMembershipList" +_PSOSV = "PotentiallySensitiveOptionSettingValue" +_OS = "OptionSetting" +_DV = "DefaultValue" +_AT = "ApplyType" +_DT = "DataType" +_AV = "AllowedValues" +_IM = "IsModifiable" +_IC = "IsCollection" +_OSCL = "OptionSettingConfigurationList" +_VSGM = "VpcSecurityGroupMembership" +_VSGI = "VpcSecurityGroupId" +_VSGML = "VpcSecurityGroupMembershipList" +_O = "Option" +_ON = "OptionName" +_OD = "OptionDescription" +_Pe = "Persistent" +_Per = "Permanent" +_OV = "OptionVersion" +_OSp = "OptionSettings" +_DBSGMe = "DBSecurityGroupMemberships" +_VSGMp = "VpcSecurityGroupMemberships" +_OL = "OptionsList" +_OG = "OptionGroup" +_OGD = "OptionGroupDescription" +_EN = "EngineName" +_MEV = "MajorEngineVersion" +_Op = "Options" +_AVANVIM = "AllowsVpcAndNonVpcInstanceMemberships" +_OGA = "OptionGroupArn" +_SOG = "SourceOptionGroup" +_SAI = "SourceAccountId" +_CTo = "CopyTimestamp" +_COGO = "CopyOptionGroupOutput" +_cCOGR = "com.amazonaws.rds#CopyOptionGroupResult" +_OGAEF = "OptionGroupAlreadyExistsFault" +_OGNFF = "OptionGroupNotFoundFault" +_OGQEF = "OptionGroupQuotaExceededFault" +_BGDAEF = "BlueGreenDeploymentAlreadyExistsFault" +_BGDN = "BlueGreenDeploymentName" +_DA = "DatabaseArn" +_TDBCPGN = "TargetDBClusterParameterGroupName" +_TDBIC = "TargetDBInstanceClass" +_TDBPGN = "TargetDBParameterGroupName" +_TEV = "TargetEngineVersion" +_DBACA = "DBAndClusterArn" +_KKIOA = "KmsKeyIdOrArn" +_TRC = "TargetResourceConfiguration" +_TKKI = "TargetKmsKeyId" +_TRCL = "TargetResourceConfigurationList" +_TSTa = "TargetStorageType" +_CBGDI = "CreateBlueGreenDeploymentInput" +_cCBGDR = "com.amazonaws.rds#CreateBlueGreenDeploymentRequest" +_So = "Source" +_UTSC = "UpgradeTargetStorageConfig" +_TI = "TargetIops" +_TAS = "TargetAllocatedStorage" +_TSTar = "TargetStorageThroughput" +_TRCa = "TargetResourceConfigurations" +_BGDI = "BlueGreenDeploymentIdentifier" +_BGDS = "BlueGreenDeploymentStatus" +_BGDSD = "BlueGreenDeploymentStatusDetails" +_SDS = "SwitchoverDetailStatus" +_SDw = "SwitchoverDetail" +_SM = "SourceMember" +_TM = "TargetMember" +_SDL = "SwitchoverDetailList" +_BGDTN = "BlueGreenDeploymentTaskName" +_BGDTS = "BlueGreenDeploymentTaskStatus" +_BGDT = "BlueGreenDeploymentTask" +_BGDTL = "BlueGreenDeploymentTaskList" +_BGD = "BlueGreenDeployment" +_Tar = "Target" +_SDwi = "SwitchoverDetails" +_Tas = "Tasks" +_SDt = "StatusDetails" +_CTr = "CreateTime" +_DTe = "DeleteTime" +_CBGDO = "CreateBlueGreenDeploymentOutput" +_cCBGDRo = "com.amazonaws.rds#CreateBlueGreenDeploymentResponse" +_DBCPGNFF = "DBClusterParameterGroupNotFoundFault" +_DBCQEF = "DBClusterQuotaExceededFault" +_IQEF = "InstanceQuotaExceededFault" +_SCNSF = "SourceClusterNotSupportedFault" +_SDNSF = "SourceDatabaseNotSupportedFault" +_SQEFt = "StorageQuotaExceededFault" +_CBGD = "CreateBlueGreenDeployment" +_CCDBEVF = "CreateCustomDBEngineVersionFault" +_BN = "BucketName" +_Str = "String255" +_CEN = "CustomEngineName" +_CEV = "CustomEngineVersion" +_CDBEVM = "CustomDBEngineVersionManifest" +_CCDBEVI = "CreateCustomDBEngineVersionInput" +_cCCDBEVM = "com.amazonaws.rds#CreateCustomDBEngineVersionMessage" +_DIFSBN = "DatabaseInstallationFilesS3BucketName" +_DIFSP = "DatabaseInstallationFilesS3Prefix" +_DIF = "DatabaseInstallationFiles" +_II = "ImageId" +_KMSKI = "KMSKeyId" +_SCDEVI = "SourceCustomDbEngineVersionIdentifier" +_UAPLI = "UseAwsProvidedLatestImage" +_Ma = "Manifest" +_CS = "CharacterSet" +_CSN = "CharacterSetName" +_CSD = "CharacterSetDescription" +_LTL = "LogTypeList" +_CDBEVAMI = "CustomDBEngineVersionAMI" +_DO = "DoubleOptional" +_SVFS = "ServerlessV2FeaturesSupport" +_MC = "MinCapacity" +_MCa = "MaxCapacity" +_CACIL = "CACertificateIdentifiersList" +_SCSL = "SupportedCharacterSetsList" +_FNL = "FeatureNameList" +_TN = "TimezoneName" +_STL = "SupportedTimezonesList" +_UT = "UpgradeTarget" +_AU = "AutoUpgrade" +_IMVU = "IsMajorVersionUpgrade" +_SEM = "SupportedEngineModes" +_SPQ = "SupportsParallelQuery" +_SGD = "SupportsGlobalDatabases" +_SBu = "SupportsBabelfish" +_SLD = "SupportsLimitlessDatabase" +_SLWF = "SupportsLocalWriteForwarding" +_SIu = "SupportsIntegrations" +_VUTL = "ValidUpgradeTargetList" +_CCDBEVO = "CreateCustomDBEngineVersionOutput" +_cDBEV = "com.amazonaws.rds#DBEngineVersion" +_DBED = "DBEngineDescription" +_DBEVA = "DBEngineVersionArn" +_DBEVD = "DBEngineVersionDescription" +_DCS = "DefaultCharacterSet" +_FR = "FailureReason" +_Im = "Image" +_DBEMT = "DBEngineMediaType" +_SCS = "SupportedCharacterSets" +_SNCS = "SupportedNcharCharacterSets" +_VUT = "ValidUpgradeTarget" +_STu = "SupportedTimezones" +_ELT = "ExportableLogTypes" +_SLETCL = "SupportsLogExportsToCloudwatchLogs" +_SRR = "SupportsReadReplica" +_SFN = "SupportedFeatureNames" +_SCRWR = "SupportsCertificateRotationWithoutRestart" +_SCACI = "SupportedCACertificateIdentifiers" +_CDBEVAEF = "CustomDBEngineVersionAlreadyExistsFault" +_CDBEVNFF = "CustomDBEngineVersionNotFoundFault" +_CDBEVQEF = "CustomDBEngineVersionQuotaExceededFault" +_EIPNSF = "Ec2ImagePropertiesNotSupportedFault" +_ICDBEVSF = "InvalidCustomDBEngineVersionStateFault" +_CCDBEV = "CreateCustomDBEngineVersion" +_CDBCRIr = "CreateDBCapacityReservationInput" +_cCDBCRRom = "com.amazonaws.rds#CreateDBCapacityReservationRequest" +_CPAZ = "CapacityPerAvailabilityZone" +_CDo = "CommitmentDuration" +_CDBCROr = "CreateDBCapacityReservationOutput" +_cCDBCRRoma = "com.amazonaws.rds#CreateDBCapacityReservationResponse" +_DBCRAEFa = "DBCapacityReservationAlreadyExistsFault" +_DBCRUF = "DBCapacityReservationUnsupportedFault" +_IDBICF = "InsufficientDBInstanceCapacityFault" +_CDBCRr = "CreateDBCapacityReservation" +_DBCAR = "DBClusterAssociatedRole" +_DBCARl = "DBClusterAssociatedRoles" +_CST = "ClusterScalabilityType" +_STANDARD = "STANDARD" +_stan = "standard" +_LIMITLESS = "LIMITLESS" +_li = "limitless" +_DIM = "DatabaseInsightsMode" +_ADVANCED = "ADVANCED" +_ad = "advanced" +_GCI = "GlobalClusterIdentifier" +_MUAT = "MasterUserAuthenticationType" +_PASSWORD = "PASSWORD" +_pa = "password" +_IDA = "IAM_DB_AUTH" +_ida = "iam-db-auth" +_RM = "ReplicaMode" +_ORO = "OPEN_READ_ONLY" +_oro = "open-read-only" +_MOUNTED = "MOUNTED" +_mo = "mounted" +_RCCC = "RdsCustomClusterConfiguration" +_ISI = "InterconnectSubnetId" +_TGMDI = "TransitGatewayMulticastDomainId" +_SC = "ScalingConfiguration" +_AP = "AutoPause" +_SUAP = "SecondsUntilAutoPause" +_TA = "TimeoutAction" +_SBT = "SecondsBeforeTimeout" +_DBSGI = "DBShardGroupIdentifier" +_DBSGAEFh = "DBShardGroupAlreadyExistsFault" +_IDBSGSFnv = "InvalidDBShardGroupStateFault" +_IBGDSF = "InvalidBlueGreenDeploymentStateFault" +_IOGSF = "InvalidOptionGroupStateFault" +_IRF = "InvalidRestoreFault" + +COPY_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CDBPGI, + {_sSI: _cCDBPGM, _smi: None}, + (_SDBPGI, _TDBPGI, _TDBPGD, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +COPY_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBPGO, + {_sSI: _cCDBPGR, _smit: None}, + (_DBPG,), + ((lambda: schemas.DB_PARAMETER_GROUP, 0),), +) + +COPY_DB_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _CDBPG, + 0, + COPY_DB_PARAMETER_GROUP_INPUT, + COPY_DB_PARAMETER_GROUP_OUTPUT, + ( + lambda: schemas.DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT, + ), +) + +TAG_SPECIFICATION: StaticSchema = ( + 18, + n0, + _TSa, + 0, + (_RT, _Ta), + ((lambda: schemas.STRING, 0), (lambda: schemas.TAG_LIST, 0)), +) + +TAG_SPECIFICATION_LIST: StaticSchema = ( + 16, + n0, + _TSL, + 0, + (_m,), + ((TAG_SPECIFICATION, {_sN: _i}),), +) + +COPY_DB_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _CDBSI, + {_sSI: _cCDBSM, _smi: None}, + (_SDBSI, _TDBSI, _KKI, _Ta, _CT, _PSU, _OGN, _TCAZ, _STnap, _COG, _SAZ, _TSag), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (TAG_SPECIFICATION_LIST, 0), + ), +) + +COPY_DB_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBSO, + {_sSI: _cCDBSR, _smit: None}, + (_DBS,), + ((lambda: DB_SNAPSHOT, 0),), +) + +COPY_DB_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _CDBS, + 0, + COPY_DB_SNAPSHOT_INPUT, + COPY_DB_SNAPSHOT_OUTPUT, + ( + lambda: CUSTOM_AVAILABILITY_ZONE_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_SNAPSHOT_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.SNAPSHOT_QUOTA_EXCEEDED_FAULT, + ), +) + +LONG_OPTIONAL: StaticSchema = (8, n0, _LO, 0) + +PROCESSOR_FEATURE: StaticSchema = ( + 18, + n0, + _PF, + 0, + (_N, _V), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +PROCESSOR_FEATURE_LIST: StaticSchema = ( + 16, + n0, + _PFL, + 0, + (_m,), + ((PROCESSOR_FEATURE, {_sN: _PF}),), +) + +DB_SNAPSHOT: StaticSchema = ( + 18, + n0, + _DBS, + 0, + ( + _DBSIn, + _DBII, + _SCTn, + _En, + _AS, + _St, + _P, + _AZ, + _VI, + _ICT, + _MU, + _EV, + _LM, + _STna, + _Io, + _ST, + _OGN, + _PP, + _SR, + _SDBSI, + _STt, + _TCA, + _Enc, + _SET, + _BRP, + _PBW, + _KKI, + _DBSA, + _Ti, + _IAMDAE, + _PFr, + _DRI, + _TL, + _STnap, + _OSCT, + _SDT, + _DBSI, + _MT, + _DLV, + _ASVd, + _SAZ, + _FSSIB, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STORAGE_ENCRYPTION_TYPE, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ADDITIONAL_STORAGE_VOLUMES_LIST, 0), + (lambda: schemas.STRING, 0), + (LONG_OPTIONAL, 0), + ), +) + +CUSTOM_AVAILABILITY_ZONE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _CAZNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "CustomAvailabilityZoneNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +COPY_OPTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _COGI, + {_sSI: _cCOGM, _smi: None}, + (_SOGI, _TOGI, _TOGD, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +COPY_OPTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _COGO, + {_sSI: _cCOGR, _smit: None}, + (_OG,), + ((lambda: OPTION_GROUP, 0),), +) + +COPY_OPTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _COG, + 0, + COPY_OPTION_GROUP_INPUT, + COPY_OPTION_GROUP_OUTPUT, + ( + lambda: OPTION_GROUP_ALREADY_EXISTS_FAULT, + lambda: OPTION_GROUP_NOT_FOUND_FAULT, + lambda: OPTION_GROUP_QUOTA_EXCEEDED_FAULT, + ), +) + +DB_SECURITY_GROUP_MEMBERSHIP: StaticSchema = ( + 18, + n0, + _DBSGM, + 0, + (_DBSGN, _St), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DB_SECURITY_GROUP_MEMBERSHIP_LIST: StaticSchema = ( + 16, + n0, + _DBSGML, + 0, + (_m,), + ((DB_SECURITY_GROUP_MEMBERSHIP, {_sN: _DBSG}),), +) + +POTENTIALLY_SENSITIVE_OPTION_SETTING_VALUE: StaticSchema = (3, n0, _PSOSV, 4) + +OPTION_SETTING: StaticSchema = ( + 18, + n0, + _OS, + 0, + (_N, _V, _DV, _D, _AT, _DT, _AV, _IM, _IC), + ( + (lambda: schemas.STRING, 0), + (POTENTIALLY_SENSITIVE_OPTION_SETTING_VALUE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +OPTION_SETTING_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _OSCL, + 0, + (_m,), + ((OPTION_SETTING, {_sN: _OS}),), +) + +VPC_SECURITY_GROUP_MEMBERSHIP: StaticSchema = ( + 18, + n0, + _VSGM, + 0, + (_VSGI, _St), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +VPC_SECURITY_GROUP_MEMBERSHIP_LIST: StaticSchema = ( + 16, + n0, + _VSGML, + 0, + (_m,), + ((VPC_SECURITY_GROUP_MEMBERSHIP, {_sN: _VSGM}),), +) + +OPTION: StaticSchema = ( + 18, + n0, + _O, + 0, + (_ON, _OD, _Pe, _Per, _P, _OV, _OSp, _DBSGMe, _VSGMp), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (OPTION_SETTING_CONFIGURATION_LIST, 0), + (DB_SECURITY_GROUP_MEMBERSHIP_LIST, 0), + (VPC_SECURITY_GROUP_MEMBERSHIP_LIST, 0), + ), +) + +OPTIONS_LIST: StaticSchema = (16, n0, _OL, 0, (_m,), ((OPTION, {_sN: _O}),)) + +OPTION_GROUP: StaticSchema = ( + 18, + n0, + _OG, + 0, + (_OGN, _OGD, _EN, _MEV, _Op, _AVANVIM, _VI, _OGA, _SOG, _SAI, _CTo, _SR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (OPTIONS_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +OPTION_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _OGAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "OptionGroupAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +OPTION_GROUP_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _OGNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "OptionGroupNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +OPTION_GROUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _OGQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "OptionGroupQuotaExceededFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +BLUE_GREEN_DEPLOYMENT_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _BGDAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "BlueGreenDeploymentAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +BLUE_GREEN_DEPLOYMENT_NAME: StaticSchema = (3, n0, _BGDN, 0) + +DATABASE_ARN: StaticSchema = (3, n0, _DA, 0) + +TARGET_DB_CLUSTER_PARAMETER_GROUP_NAME: StaticSchema = (3, n0, _TDBCPGN, 0) + +TARGET_DB_INSTANCE_CLASS: StaticSchema = (3, n0, _TDBIC, 0) + +TARGET_DB_PARAMETER_GROUP_NAME: StaticSchema = (3, n0, _TDBPGN, 0) + +TARGET_ENGINE_VERSION: StaticSchema = (3, n0, _TEV, 0) + +DB_AND_CLUSTER_ARN: StaticSchema = (3, n0, _DBACA, 0) + +KMS_KEY_ID_OR_ARN: StaticSchema = (3, n0, _KKIOA, 0) + +TARGET_RESOURCE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TRC, + 0, + (_SA, _TKKI), + ((DB_AND_CLUSTER_ARN, 1), (KMS_KEY_ID_OR_ARN, 0)), +) + +TARGET_RESOURCE_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _TRCL, + 0, + (_m,), + ((TARGET_RESOURCE_CONFIGURATION, {_sN: _TRC}),), +) + +TARGET_STORAGE_TYPE: StaticSchema = (3, n0, _TSTa, 0) + +CREATE_BLUE_GREEN_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _CBGDI, + {_sSI: _cCBGDR, _smi: None}, + ( + _BGDN, + _So, + _TEV, + _TDBPGN, + _TDBCPGN, + _Ta, + _TDBIC, + _UTSC, + _TI, + _TSTa, + _TAS, + _TSTar, + _TRCa, + ), + ( + (BLUE_GREEN_DEPLOYMENT_NAME, 1), + (DATABASE_ARN, 1), + (TARGET_ENGINE_VERSION, 0), + (TARGET_DB_PARAMETER_GROUP_NAME, 0), + (TARGET_DB_CLUSTER_PARAMETER_GROUP_NAME, 0), + (lambda: schemas.TAG_LIST, 0), + (TARGET_DB_INSTANCE_CLASS, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (TARGET_STORAGE_TYPE, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (TARGET_RESOURCE_CONFIGURATION_LIST, 0), + ), +) + +CREATE_BLUE_GREEN_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _CBGDO, + {_sSI: _cCBGDRo, _smit: None}, + (_BGD,), + ((lambda: BLUE_GREEN_DEPLOYMENT, 0),), +) + +CREATE_BLUE_GREEN_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _CBGD, + 0, + CREATE_BLUE_GREEN_DEPLOYMENT_INPUT, + CREATE_BLUE_GREEN_DEPLOYMENT_OUTPUT, + ( + BLUE_GREEN_DEPLOYMENT_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: DB_CLUSTER_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: INSTANCE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: SOURCE_CLUSTER_NOT_SUPPORTED_FAULT, + lambda: SOURCE_DATABASE_NOT_SUPPORTED_FAULT, + lambda: STORAGE_QUOTA_EXCEEDED_FAULT, + ), +) + +BLUE_GREEN_DEPLOYMENT_IDENTIFIER: StaticSchema = (3, n0, _BGDI, 0) + +BLUE_GREEN_DEPLOYMENT_STATUS: StaticSchema = (3, n0, _BGDS, 0) + +BLUE_GREEN_DEPLOYMENT_STATUS_DETAILS: StaticSchema = (3, n0, _BGDSD, 0) + +SWITCHOVER_DETAIL_STATUS: StaticSchema = (3, n0, _SDS, 0) + +SWITCHOVER_DETAIL: StaticSchema = ( + 18, + n0, + _SDw, + 0, + (_SM, _TM, _St), + ((DATABASE_ARN, 0), (DATABASE_ARN, 0), (SWITCHOVER_DETAIL_STATUS, 0)), +) + +SWITCHOVER_DETAIL_LIST: StaticSchema = ( + 16, + n0, + _SDL, + 0, + (_m,), + ((SWITCHOVER_DETAIL, 0),), +) + +BLUE_GREEN_DEPLOYMENT_TASK_NAME: StaticSchema = (3, n0, _BGDTN, 0) + +BLUE_GREEN_DEPLOYMENT_TASK_STATUS: StaticSchema = (3, n0, _BGDTS, 0) + +BLUE_GREEN_DEPLOYMENT_TASK: StaticSchema = ( + 18, + n0, + _BGDT, + 0, + (_N, _St), + ((BLUE_GREEN_DEPLOYMENT_TASK_NAME, 0), (BLUE_GREEN_DEPLOYMENT_TASK_STATUS, 0)), +) + +BLUE_GREEN_DEPLOYMENT_TASK_LIST: StaticSchema = ( + 16, + n0, + _BGDTL, + 0, + (_m,), + ((BLUE_GREEN_DEPLOYMENT_TASK, 0),), +) + +BLUE_GREEN_DEPLOYMENT: StaticSchema = ( + 18, + n0, + _BGD, + 0, + (_BGDI, _BGDN, _So, _Tar, _SDwi, _Tas, _St, _SDt, _CTr, _DTe, _TL), + ( + (BLUE_GREEN_DEPLOYMENT_IDENTIFIER, 0), + (BLUE_GREEN_DEPLOYMENT_NAME, 0), + (DATABASE_ARN, 0), + (DATABASE_ARN, 0), + (SWITCHOVER_DETAIL_LIST, 0), + (BLUE_GREEN_DEPLOYMENT_TASK_LIST, 0), + (BLUE_GREEN_DEPLOYMENT_STATUS, 0), + (BLUE_GREEN_DEPLOYMENT_STATUS_DETAILS, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBCPGNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBClusterParameterGroupNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_CLUSTER_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBCQEF, + { + _smith: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "DBClusterQuotaExceededFault", "httpResponseCode": 403} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INSTANCE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _IQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InstanceQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +SOURCE_CLUSTER_NOT_SUPPORTED_FAULT: StaticSchema = ( + 18, + n0, + _SCNSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "SourceClusterNotSupportedFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +SOURCE_DATABASE_NOT_SUPPORTED_FAULT: StaticSchema = ( + 18, + n0, + _SDNSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "SourceDatabaseNotSupportedFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +STORAGE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _SQEFt, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "StorageQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_CUSTOM_DB_ENGINE_VERSION_FAULT: StaticSchema = ( + 18, + n0, + _CCDBEVF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CreateCustomDBEngineVersionFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +BUCKET_NAME: StaticSchema = (3, n0, _BN, 0) + +STRING255: StaticSchema = (3, n0, _Str, 0) + +CUSTOM_ENGINE_NAME: StaticSchema = (3, n0, _CEN, 0) + +CUSTOM_ENGINE_VERSION: StaticSchema = (3, n0, _CEV, 0) + +CUSTOM_DB_ENGINE_VERSION_MANIFEST: StaticSchema = (3, n0, _CDBEVM, 0) + +CREATE_CUSTOM_DB_ENGINE_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _CCDBEVI, + {_sSI: _cCCDBEVM, _smi: None}, + (_En, _EV, _DIFSBN, _DIFSP, _DIF, _II, _KMSKI, _SCDEVI, _UAPLI, _D, _Ma, _Ta), + ( + (CUSTOM_ENGINE_NAME, 1), + (CUSTOM_ENGINE_VERSION, 1), + (BUCKET_NAME, 0), + (STRING255, 0), + (lambda: schemas.STRING_LIST, 0), + (STRING255, 0), + (KMS_KEY_ID_OR_ARN, 0), + (STRING255, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.DESCRIPTION, 0), + (CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_CUSTOM_DB_ENGINE_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CCDBEVO, + {_sSI: _cDBEV, _smit: None}, + ( + _En, + _MEV, + _EV, + _DIFSBN, + _DIFSP, + _DIF, + _CDBEVM, + _DBPGF, + _DBED, + _DBEVA, + _DBEVD, + _DCS, + _FR, + _Im, + _DBEMT, + _KMSKI, + _CTr, + _SCS, + _SNCS, + _VUT, + _STu, + _ELT, + _SLETCL, + _SRR, + _SEM, + _SFN, + _St, + _SPQ, + _SGD, + _TL, + _SBu, + _SLD, + _SCRWR, + _SCACI, + _SLWF, + _SIu, + _SVFS, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: CHARACTER_SET, 0), + (lambda: schemas.STRING, 0), + (lambda: CUSTOM_DB_ENGINE_VERSION_AMI, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: SUPPORTED_CHARACTER_SETS_LIST, 0), + (lambda: SUPPORTED_CHARACTER_SETS_LIST, 0), + (lambda: VALID_UPGRADE_TARGET_LIST, 0), + (lambda: SUPPORTED_TIMEZONES_LIST, 0), + (lambda: LOG_TYPE_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ENGINE_MODE_LIST, 0), + (lambda: FEATURE_NAME_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: CA_CERTIFICATE_IDENTIFIERS_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: SERVERLESS_V2_FEATURES_SUPPORT, 0), + ), +) + +CREATE_CUSTOM_DB_ENGINE_VERSION: StaticOperationSchema = ( + 23, + n0, + _CCDBEV, + 0, + CREATE_CUSTOM_DB_ENGINE_VERSION_INPUT, + CREATE_CUSTOM_DB_ENGINE_VERSION_OUTPUT, + ( + CREATE_CUSTOM_DB_ENGINE_VERSION_FAULT, + lambda: CUSTOM_DB_ENGINE_VERSION_ALREADY_EXISTS_FAULT, + lambda: CUSTOM_DB_ENGINE_VERSION_NOT_FOUND_FAULT, + lambda: CUSTOM_DB_ENGINE_VERSION_QUOTA_EXCEEDED_FAULT, + lambda: EC2_IMAGE_PROPERTIES_NOT_SUPPORTED_FAULT, + lambda: INVALID_CUSTOM_DB_ENGINE_VERSION_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + ), +) + +CHARACTER_SET: StaticSchema = ( + 18, + n0, + _CS, + 0, + (_CSN, _CSD), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +LOG_TYPE_LIST: StaticSchema = (16, n0, _LTL, 0, (_m,), ((lambda: schemas.STRING, 0),)) + +CUSTOM_DB_ENGINE_VERSION_AMI: StaticSchema = ( + 18, + n0, + _CDBEVAMI, + 0, + (_II, _St), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DOUBLE_OPTIONAL: StaticSchema = (10, n0, _DO, 0) + +SERVERLESS_V2_FEATURES_SUPPORT: StaticSchema = ( + 18, + n0, + _SVFS, + 0, + (_MC, _MCa), + ((DOUBLE_OPTIONAL, 0), (DOUBLE_OPTIONAL, 0)), +) + +CA_CERTIFICATE_IDENTIFIERS_LIST: StaticSchema = ( + 16, + n0, + _CACIL, + 0, + (_m,), + ((lambda: schemas.STRING, 0),), +) + +SUPPORTED_CHARACTER_SETS_LIST: StaticSchema = ( + 16, + n0, + _SCSL, + 0, + (_m,), + ((CHARACTER_SET, {_sN: _CS}),), +) + +FEATURE_NAME_LIST: StaticSchema = ( + 16, + n0, + _FNL, + 0, + (_m,), + ((lambda: schemas.STRING, 0),), +) + +TIMEZONE: StaticSchema = (18, n0, _Ti, 0, (_TN,), ((lambda: schemas.STRING, 0),)) + +SUPPORTED_TIMEZONES_LIST: StaticSchema = ( + 16, + n0, + _STL, + 0, + (_m,), + ((TIMEZONE, {_sN: _Ti}),), +) + +UPGRADE_TARGET: StaticSchema = ( + 18, + n0, + _UT, + 0, + (_En, _EV, _D, _AU, _IMVU, _SEM, _SPQ, _SGD, _SBu, _SLD, _SLWF, _SIu), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ENGINE_MODE_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +VALID_UPGRADE_TARGET_LIST: StaticSchema = ( + 16, + n0, + _VUTL, + 0, + (_m,), + ((UPGRADE_TARGET, {_sN: _UT}),), +) + +CUSTOM_DB_ENGINE_VERSION_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _CDBEVAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CustomDBEngineVersionAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CUSTOM_DB_ENGINE_VERSION_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _CDBEVNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "CustomDBEngineVersionNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CUSTOM_DB_ENGINE_VERSION_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _CDBEVQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "CustomDBEngineVersionQuotaExceededFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +EC2_IMAGE_PROPERTIES_NOT_SUPPORTED_FAULT: StaticSchema = ( + 18, + n0, + _EIPNSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "Ec2ImagePropertiesNotSupportedFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_CUSTOM_DB_ENGINE_VERSION_STATE_FAULT: StaticSchema = ( + 18, + n0, + _ICDBEVSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidCustomDBEngineVersionStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_DB_CAPACITY_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _CDBCRIr, + {_sSI: _cCDBCRRom, _smi: None}, + (_DBCRN, _DBIC, _En, _CPAZ, _AZv, _ED, _SD, _CDo, _LM, _Ta), + ( + (lambda: schemas.DB_CAPACITY_RESERVATION_NAME, 1), + (lambda: schemas.DB_INSTANCE_CLASS, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 1), + (lambda: schemas.AVAILABILITY_ZONES, 1), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (LONG_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBCROr, + {_sSI: _cCDBCRRoma, _smit: None}, + (_DBCR,), + ((lambda: schemas.DB_CAPACITY_RESERVATION, 0),), +) + +CREATE_DB_CAPACITY_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _CDBCRr, + 0, + CREATE_DB_CAPACITY_RESERVATION_INPUT, + CREATE_DB_CAPACITY_RESERVATION_OUTPUT, + ( + lambda: DB_CAPACITY_RESERVATION_ALREADY_EXISTS_FAULT, + lambda: DB_CAPACITY_RESERVATION_UNSUPPORTED_FAULT, + INSTANCE_QUOTA_EXCEEDED_FAULT, + lambda: INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + ), +) + +DB_CAPACITY_RESERVATION_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBCRAEFa, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBCapacityReservationAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_CAPACITY_RESERVATION_UNSUPPORTED_FAULT: StaticSchema = ( + 18, + n0, + _DBCRUF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBCapacityReservationUnsupported", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT: StaticSchema = ( + 18, + n0, + _IDBICF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InsufficientDBInstanceCapacity", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_CLUSTER_ASSOCIATED_ROLE: StaticSchema = ( + 18, + n0, + _DBCAR, + 0, + (_RA, _FN), + ((lambda: schemas.IAM_ROLE_ARN, 1), (lambda: schemas.STRING, 0)), +) + +DB_CLUSTER_ASSOCIATED_ROLES: StaticSchema = ( + 16, + n0, + _DBCARl, + 0, + (_m,), + ((DB_CLUSTER_ASSOCIATED_ROLE, {_sN: _DBCAR}),), +) + +CLUSTER_SCALABILITY_TYPE: StaticSchema = ( + 14, + n0, + _CST, + 0, + (_STANDARD, _LIMITLESS), + ((-1, {_sV: _stan}), (-1, {_sV: _li})), +) + +DATABASE_INSIGHTS_MODE: StaticSchema = ( + 14, + n0, + _DIM, + 0, + (_STANDARD, _ADVANCED), + ((-1, {_sV: _stan}), (-1, {_sV: _ad})), +) + +GLOBAL_CLUSTER_IDENTIFIER: StaticSchema = (3, n0, _GCI, 0) + +MASTER_USER_AUTHENTICATION_TYPE: StaticSchema = ( + 14, + n0, + _MUAT, + 0, + (_PASSWORD, _IDA), + ((-1, {_sV: _pa}), (-1, {_sV: _ida})), +) + +REPLICA_MODE: StaticSchema = ( + 14, + n0, + _RM, + 0, + (_ORO, _MOUNTED), + ((-1, {_sV: _oro}), (-1, {_sV: _mo})), +) + +RDS_CUSTOM_CLUSTER_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RCCC, + 0, + (_ISI, _TGMDI, _RM), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0), (REPLICA_MODE, 0)), +) + +SCALING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SC, + 0, + (_MC, _MCa, _AP, _SUAP, _TA, _SBT), + ( + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +DB_SHARD_GROUP_IDENTIFIER: StaticSchema = (3, n0, _DBSGI, 0) + +DB_SHARD_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBSGAEFh, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBShardGroupAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_SHARD_GROUP_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBSGSFnv, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBShardGroupState", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_BLUE_GREEN_DEPLOYMENT_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IBGDSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidBlueGreenDeploymentStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_OPTION_GROUP_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IOGSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidOptionGroupStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_CLUSTER_IDENTIFIER: StaticSchema = (3, n0, _DBCI, 0) + +INVALID_RESTORE_FAULT: StaticSchema = ( + 18, + n0, + _IRF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidRestoreFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_10.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_10.py new file mode 100644 index 000000000..a99a42ba7 --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_10.py @@ -0,0 +1,1498 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_sm = "smithy.api#required" +_AS = "AllocatedStorage" +_MAS = "MaxAllocatedStorage" +_ST = "StorageThroughput" +_STt = "StorageType" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_St = "Status" +_STo = "SourceType" +_Ta = "Tags" +_DBSGN = "DBSecurityGroupName" +_CIDRIP = "CIDRIP" +_ECSGN = "EC2SecurityGroupName" +_ECSGI = "EC2SecurityGroupId" +_ECSGOI = "EC2SecurityGroupOwnerId" +_DBSG = "DBSecurityGroup" +_DBCRI = "DBCapacityReservationIdentifier" +_AZ = "AvailabilityZone" +_DBIC = "DBInstanceClass" +_En = "Engine" +_LM = "LicenseModel" +_ETI = "ExportTaskIdentifier" +_cET = "com.amazonaws.rds#ExportTask" +_SA = "SourceArn" +_EO = "ExportOnly" +_STn = "SnapshotTime" +_TST = "TaskStartTime" +_TET = "TaskEndTime" +_SB = "S3Bucket" +_SP = "S3Prefix" +_IRA = "IamRoleArn" +_KKI = "KmsKeyId" +_PP = "PercentProgress" +_TEDIGB = "TotalExtractedDataInGB" +_FC = "FailureCause" +_WM = "WarningMessage" +_DBCPGN = "DBClusterParameterGroupName" +_PSU = "PreSignedUrl" +_DBCSI = "DBClusterSnapshotIdentifier" +_EMn = "EngineMode" +_P = "Port" +_MU = "MasterUsername" +_EV = "EngineVersion" +_SE = "StorageEncrypted" +_BRP = "BackupRetentionPeriod" +_PBW = "PreferredBackupWindow" +_DBPGN = "DBParameterGroupName" +_OGN = "OptionGroupName" +_TSag = "TagSpecifications" +_DBSIn = "DBSnapshotIdentifier" +_Io = "Iops" +_TCA = "TdeCredentialArn" +_PFr = "ProcessorFeatures" +_DLV = "DedicatedLogVolume" +_ASVd = "AdditionalStorageVolumes" +_BGDI = "BlueGreenDeploymentIdentifier" +_BGD = "BlueGreenDeployment" +_DIM = "DatabaseInsightsMode" +_GCI = "GlobalClusterIdentifier" +_RCCC = "RdsCustomClusterConfiguration" +_SC = "ScalingConfiguration" +_SVSC = "ServerlessV2ScalingConfiguration" +_VSGIp = "VpcSecurityGroupIds" +_DBSGNu = "DBSubnetGroupName" +_MUP = "MasterUserPassword" +_PMW = "PreferredMaintenanceWindow" +_EIAMDA = "EnableIAMDatabaseAuthentication" +_BW = "BacktrackWindow" +_ECLE = "EnableCloudwatchLogsExports" +_DBCIC = "DBClusterInstanceClass" +_PA = "PubliclyAccessible" +_AMVU = "AutoMinorVersionUpgrade" +_DP = "DeletionProtection" +_CTTS = "CopyTagsToSnapshot" +_Do = "Domain" +_DIAMRN = "DomainIAMRoleName" +_NT = "NetworkType" +_MI = "MonitoringInterval" +_MRA = "MonitoringRoleArn" +_EPI = "EnablePerformanceInsights" +_PIKMSKI = "PerformanceInsightsKMSKeyId" +_PIRP = "PerformanceInsightsRetentionPeriod" +_MMUP = "ManageMasterUserPassword" +_MUSKKI = "MasterUserSecretKmsKeyId" +_CACI = "CACertificateIdentifier" +_ELS = "EngineLifecycleSupport" +_AR = "AssociatedRoles" +_DBC = "DBCluster" +_MAZ = "MultiAZ" +_DBN = "DBName" +_DBSGe = "DBSecurityGroups" +_TCP = "TdeCredentialPassword" +_DF = "DomainFqdn" +_DOo = "DomainOu" +_DASA = "DomainAuthSecretArn" +_DDI = "DomainDnsIps" +_ECOI = "EnableCustomerOwnedIp" +_BTa = "BackupTarget" +_CIIP = "CustomIamInstanceProfile" +_DBI = "DBInstance" +_SDBII = "SourceDBInstanceIdentifier" +_UDPF = "UseDefaultProcessorFeatures" +_SDBCI = "SourceDBClusterIdentifier" +_GC = "GlobalCluster" +_DBIAB = "DBInstanceAutomatedBackup" +_RAes = "ResourceArn" +_TDBII = "TargetDBInstanceIdentifier" +_TDCI = "TargetDbClusterIdentifier" +_KSN = "KinesisStreamName" +_Mo = "Mode" +_ENAFI = "EngineNativeAuditFieldsIncluded" +_AIp = "ApplyImmediately" +_SEo = "SourceEngine" +_SEV = "SourceEngineVersion" +_SBN = "S3BucketName" +_SIRA = "S3IngestionRoleArn" +_EVPCN = "EnableVPCNetworking" +_EIAG = "EnableInternetAccessGateway" +_RDBCTPITI = "RestoreDBClusterToPointInTimeInput" +_cRDBCTPITM = "com.amazonaws.rds#RestoreDBClusterToPointInTimeMessage" +_RTe = "RestoreType" +_RTT = "RestoreToTime" +_ULRT = "UseLatestRestorableTime" +_SDCRI = "SourceDbClusterResourceId" +_RDBCTPITO = "RestoreDBClusterToPointInTimeOutput" +_cRDBCTPITR = "com.amazonaws.rds#RestoreDBClusterToPointInTimeResult" +_RDBCTPIT = "RestoreDBClusterToPointInTime" +_RDBIFDBSI = "RestoreDBInstanceFromDBSnapshotInput" +_cRDBIFDBSM = "com.amazonaws.rds#RestoreDBInstanceFromDBSnapshotMessage" +_RDBIFDBSO = "RestoreDBInstanceFromDBSnapshotOutput" +_cRDBIFDBSR = "com.amazonaws.rds#RestoreDBInstanceFromDBSnapshotResult" +_RDBIFDBS = "RestoreDBInstanceFromDBSnapshot" +_RDBIFSI = "RestoreDBInstanceFromS3Input" +_cRDBIFSM = "com.amazonaws.rds#RestoreDBInstanceFromS3Message" +_RDBIFSO = "RestoreDBInstanceFromS3Output" +_cRDBIFSR = "com.amazonaws.rds#RestoreDBInstanceFromS3Result" +_RDBIFS = "RestoreDBInstanceFromS3" +_PITRNEF = "PointInTimeRestoreNotEnabledFault" +_RDBITPITI = "RestoreDBInstanceToPointInTimeInput" +_cRDBITPITM = "com.amazonaws.rds#RestoreDBInstanceToPointInTimeMessage" +_RTes = "RestoreTime" +_SDRI = "SourceDbiResourceId" +_SDBIABA = "SourceDBInstanceAutomatedBackupsArn" +_RDBITPITO = "RestoreDBInstanceToPointInTimeOutput" +_cRDBITPITR = "com.amazonaws.rds#RestoreDBInstanceToPointInTimeResult" +_RDBITPIT = "RestoreDBInstanceToPointInTime" +_RDBSGII = "RevokeDBSecurityGroupIngressInput" +_cRDBSGIM = "com.amazonaws.rds#RevokeDBSecurityGroupIngressMessage" +_RDBSGIO = "RevokeDBSecurityGroupIngressOutput" +_cRDBSGIR = "com.amazonaws.rds#RevokeDBSecurityGroupIngressResult" +_RDBSGIe = "RevokeDBSecurityGroupIngress" +_SASI = "StartActivityStreamInput" +_cSASR = "com.amazonaws.rds#StartActivityStreamRequest" +_SASO = "StartActivityStreamOutput" +_cSASRo = "com.amazonaws.rds#StartActivityStreamResponse" +_SAS = "StartActivityStream" +_SDBCIt = "StartDBClusterInput" +_cSDBCM = "com.amazonaws.rds#StartDBClusterMessage" +_SDBCO = "StartDBClusterOutput" +_cSDBCR = "com.amazonaws.rds#StartDBClusterResult" +_SDBC = "StartDBCluster" +_SDBIIt = "StartDBInstanceInput" +_cSDBIM = "com.amazonaws.rds#StartDBInstanceMessage" +_SDBIO = "StartDBInstanceOutput" +_cSDBIR = "com.amazonaws.rds#StartDBInstanceResult" +_SDBI = "StartDBInstance" +_SDBIABRI = "StartDBInstanceAutomatedBackupsReplicationInput" +_cSDBIABRM = "com.amazonaws.rds#StartDBInstanceAutomatedBackupsReplicationMessage" +_SDBIA = "SourceDBInstanceArn" +_SDBIABRO = "StartDBInstanceAutomatedBackupsReplicationOutput" +_cSDBIABRR = "com.amazonaws.rds#StartDBInstanceAutomatedBackupsReplicationResult" +_SDBIABRt = "StartDBInstanceAutomatedBackupsReplication" +_ETAEF = "ExportTaskAlreadyExistsFault" +_IRMPF = "IamRoleMissingPermissionsFault" +_IRNFF = "IamRoleNotFoundFault" +_IEOF = "InvalidExportOnlyFault" +_IESSFn = "InvalidExportSourceStateFault" +_SETI = "StartExportTaskInput" +_cSETM = "com.amazonaws.rds#StartExportTaskMessage" +_SETO = "StartExportTaskOutput" +_SETt = "StartExportTask" +_SASIt = "StopActivityStreamInput" +_cSASRom = "com.amazonaws.rds#StopActivityStreamRequest" +_SASOt = "StopActivityStreamOutput" +_cSASRoma = "com.amazonaws.rds#StopActivityStreamResponse" +_SASt = "StopActivityStream" +_SDBCIto = "StopDBClusterInput" +_cSDBCMo = "com.amazonaws.rds#StopDBClusterMessage" +_SDBCOt = "StopDBClusterOutput" +_cSDBCRo = "com.amazonaws.rds#StopDBClusterResult" +_SDBCt = "StopDBCluster" +_SDBIIto = "StopDBInstanceInput" +_cSDBIMo = "com.amazonaws.rds#StopDBInstanceMessage" +_DFDBCR = "DetachFromDBCapacityReservation" +_SDBIOt = "StopDBInstanceOutput" +_cSDBIRo = "com.amazonaws.rds#StopDBInstanceResult" +_SDBIt = "StopDBInstance" +_SDBIABRIt = "StopDBInstanceAutomatedBackupsReplicationInput" +_cSDBIABRMo = "com.amazonaws.rds#StopDBInstanceAutomatedBackupsReplicationMessage" +_SDBIABROt = "StopDBInstanceAutomatedBackupsReplicationOutput" +_cSDBIABRRo = "com.amazonaws.rds#StopDBInstanceAutomatedBackupsReplicationResult" +_SDBIABRto = "StopDBInstanceAutomatedBackupsReplication" +_STw = "SwitchoverTimeout" +_SBGDI = "SwitchoverBlueGreenDeploymentInput" +_cSBGDR = "com.amazonaws.rds#SwitchoverBlueGreenDeploymentRequest" +_SBGDO = "SwitchoverBlueGreenDeploymentOutput" +_cSBGDRo = "com.amazonaws.rds#SwitchoverBlueGreenDeploymentResponse" +_SBGD = "SwitchoverBlueGreenDeployment" +_SGCI = "SwitchoverGlobalClusterInput" +_cSGCM = "com.amazonaws.rds#SwitchoverGlobalClusterMessage" +_SGCO = "SwitchoverGlobalClusterOutput" +_cSGCR = "com.amazonaws.rds#SwitchoverGlobalClusterResult" +_SGC = "SwitchoverGlobalCluster" +_SRRI = "SwitchoverReadReplicaInput" +_cSRRM = "com.amazonaws.rds#SwitchoverReadReplicaMessage" +_SRRO = "SwitchoverReadReplicaOutput" +_cSRRR = "com.amazonaws.rds#SwitchoverReadReplicaResult" +_SRRw = "SwitchoverReadReplica" +_ARDS = "AmazonRDSv19" +_aw = "aws.auth#sigv4" +_aQ = "aws.protocols#awsQuery" +_aws = "aws.api#service" +_sNm = "smithy.api#xmlNamespace" + +RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_INPUT: StaticSchema = ( + 18, + n0, + _RDBCTPITI, + {_sSI: _cRDBCTPITM, _smi: None}, + ( + _DBCI, + _RTe, + _SDBCI, + _RTT, + _ULRT, + _P, + _DBSGNu, + _OGN, + _VSGIp, + _Ta, + _KKI, + _EIAMDA, + _BW, + _ECLE, + _DBCPGN, + _DP, + _CTTS, + _Do, + _DIAMRN, + _DBCIC, + _STt, + _PA, + _Io, + _NT, + _SDCRI, + _SVSC, + _SC, + _EMn, + _RCCC, + _MI, + _MRA, + _EPI, + _PIKMSKI, + _PIRP, + _BRP, + _PBW, + _ELS, + _TSag, + _EVPCN, + _EIAG, + _AR, + ), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.LONG_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SERVERLESS_V2_SCALING_CONFIGURATION, 0), + (lambda: schemas.SCALING_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.DB_CLUSTER_ASSOCIATED_ROLES, 0), + ), +) + +RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBCTPITO, + {_sSI: _cRDBCTPITR, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +RESTORE_DB_CLUSTER_TO_POINT_IN_TIME: StaticOperationSchema = ( + 23, + n0, + _RDBCTPIT, + 0, + RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_INPUT, + RESTORE_DB_CLUSTER_TO_POINT_IN_TIME_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_CLUSTER_AUTOMATED_BACKUP_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DOMAIN_NOT_FOUND_FAULT, + lambda: schemas.INSUFFICIENT_DB_CLUSTER_CAPACITY_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_SNAPSHOT_STATE_FAULT, + lambda: schemas.INVALID_RESTORE_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _RDBIFDBSI, + {_sSI: _cRDBIFDBSM, _smi: None}, + ( + _DBII, + _DBSIn, + _DBIC, + _P, + _AZ, + _DBSGNu, + _MAZ, + _PA, + _AMVU, + _LM, + _DBN, + _En, + _Io, + _ST, + _OGN, + _Ta, + _STt, + _TCA, + _TCP, + _VSGIp, + _Do, + _DF, + _DOo, + _DASA, + _DDI, + _CTTS, + _DIAMRN, + _EIAMDA, + _ECLE, + _PFr, + _UDPF, + _DBPGN, + _DP, + _ECOI, + _NT, + _BTa, + _CIIP, + _AS, + _DBCSI, + _BRP, + _PBW, + _DBCRI, + _DLV, + _CACI, + _ELS, + _ASVd, + _TSag, + _MMUP, + _MUSKKI, + ), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADDITIONAL_STORAGE_VOLUMES_LIST, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBIFDBSO, + {_sSI: _cRDBIFDBSR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _RDBIFDBS, + 0, + RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_INPUT, + RESTORE_DB_INSTANCE_FROM_DB_SNAPSHOT_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_NOT_FOUND_FAULT, + lambda: schemas.BACKUP_POLICY_NOT_FOUND_FAULT, + lambda: schemas.CERTIFICATE_NOT_FOUND_FAULT, + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SECURITY_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DOMAIN_NOT_FOUND_FAULT, + lambda: schemas.INSTANCE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + lambda: schemas.INVALID_DB_SNAPSHOT_STATE_FAULT, + lambda: schemas.INVALID_RESTORE_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + lambda: schemas.PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: schemas.TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +RESTORE_DB_INSTANCE_FROM_S3_INPUT: StaticSchema = ( + 18, + n0, + _RDBIFSI, + {_sSI: _cRDBIFSM, _smi: None}, + ( + _DBN, + _DBII, + _AS, + _DBIC, + _En, + _MU, + _MUP, + _DBSGe, + _VSGIp, + _AZ, + _DBSGNu, + _PMW, + _DBPGN, + _BRP, + _PBW, + _P, + _MAZ, + _EV, + _AMVU, + _LM, + _Io, + _ST, + _OGN, + _PA, + _Ta, + _STt, + _SE, + _KKI, + _CTTS, + _MI, + _MRA, + _EIAMDA, + _SEo, + _SEV, + _SBN, + _SP, + _SIRA, + _DIM, + _EPI, + _PIKMSKI, + _PIRP, + _ECLE, + _PFr, + _UDPF, + _DP, + _MAS, + _NT, + _MMUP, + _MUSKKI, + _DBCRI, + _DLV, + _CACI, + _ELS, + _ASVd, + _TSag, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.DB_SECURITY_GROUP_NAME_LIST, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.DATABASE_INSIGHTS_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADDITIONAL_STORAGE_VOLUMES_LIST, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + ), +) + +RESTORE_DB_INSTANCE_FROM_S3_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBIFSO, + {_sSI: _cRDBIFSR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +RESTORE_DB_INSTANCE_FROM_S3: StaticOperationSchema = ( + 23, + n0, + _RDBIFS, + 0, + RESTORE_DB_INSTANCE_FROM_S3_INPUT, + RESTORE_DB_INSTANCE_FROM_S3_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_NOT_FOUND_FAULT, + lambda: schemas.BACKUP_POLICY_NOT_FOUND_FAULT, + lambda: schemas.CERTIFICATE_NOT_FOUND_FAULT, + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SECURITY_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INSTANCE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + lambda: schemas.INVALID_S3_BUCKET_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + lambda: schemas.PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +POINT_IN_TIME_RESTORE_NOT_ENABLED_FAULT: StaticSchema = ( + 18, + n0, + _PITRNEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "PointInTimeRestoreNotEnabled", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_INPUT: StaticSchema = ( + 18, + n0, + _RDBITPITI, + {_sSI: _cRDBITPITM, _smi: None}, + ( + _SDBII, + _TDBII, + _RTes, + _ULRT, + _DBIC, + _P, + _AZ, + _DBSGNu, + _MAZ, + _PA, + _AMVU, + _LM, + _DBN, + _En, + _Io, + _ST, + _OGN, + _CTTS, + _Ta, + _STt, + _TCA, + _TCP, + _VSGIp, + _Do, + _DIAMRN, + _DF, + _DOo, + _DASA, + _DDI, + _EIAMDA, + _ECLE, + _PFr, + _UDPF, + _DBPGN, + _DP, + _SDRI, + _MAS, + _ECOI, + _NT, + _SDBIABA, + _BTa, + _CIIP, + _AS, + _BRP, + _PBW, + _DBCRI, + _DLV, + _CACI, + _ELS, + _ASVd, + _TSag, + _MMUP, + _MUSKKI, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADDITIONAL_STORAGE_VOLUMES_LIST, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBITPITO, + {_sSI: _cRDBITPITR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +RESTORE_DB_INSTANCE_TO_POINT_IN_TIME: StaticOperationSchema = ( + 23, + n0, + _RDBITPIT, + 0, + RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_INPUT, + RESTORE_DB_INSTANCE_TO_POINT_IN_TIME_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_NOT_FOUND_FAULT, + lambda: schemas.BACKUP_POLICY_NOT_FOUND_FAULT, + lambda: schemas.CERTIFICATE_NOT_FOUND_FAULT, + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SECURITY_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DOMAIN_NOT_FOUND_FAULT, + lambda: schemas.INSTANCE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_RESTORE_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + POINT_IN_TIME_RESTORE_NOT_ENABLED_FAULT, + lambda: schemas.PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: schemas.TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +REVOKE_DB_SECURITY_GROUP_INGRESS_INPUT: StaticSchema = ( + 18, + n0, + _RDBSGII, + {_sSI: _cRDBSGIM, _smi: None}, + (_DBSGN, _CIDRIP, _ECSGN, _ECSGI, _ECSGOI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +REVOKE_DB_SECURITY_GROUP_INGRESS_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBSGIO, + {_sSI: _cRDBSGIR, _smit: None}, + (_DBSG,), + ((lambda: schemas.DB_SECURITY_GROUP, 0),), +) + +REVOKE_DB_SECURITY_GROUP_INGRESS: StaticOperationSchema = ( + 23, + n0, + _RDBSGIe, + 0, + REVOKE_DB_SECURITY_GROUP_INGRESS_INPUT, + REVOKE_DB_SECURITY_GROUP_INGRESS_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_NOT_FOUND_FAULT, + lambda: schemas.DB_SECURITY_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_SECURITY_GROUP_STATE_FAULT, + ), +) + +START_ACTIVITY_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _SASI, + {_sSI: _cSASR, _smi: None}, + (_RAes, _Mo, _KKI, _AIp, _ENAFI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.ACTIVITY_STREAM_MODE, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +START_ACTIVITY_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _SASO, + {_sSI: _cSASRo, _smit: None}, + (_KKI, _KSN, _St, _Mo, _ENAFI, _AIp), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACTIVITY_STREAM_STATUS, 0), + (lambda: schemas.ACTIVITY_STREAM_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +START_ACTIVITY_STREAM: StaticOperationSchema = ( + 23, + n0, + _SAS, + 0, + START_ACTIVITY_STREAM_INPUT, + START_ACTIVITY_STREAM_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.RESOURCE_NOT_FOUND_FAULT, + ), +) + +START_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _SDBCIt, + {_sSI: _cSDBCM, _smi: None}, + (_DBCI,), + ((lambda: schemas.STRING, 1),), +) + +START_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _SDBCO, + {_sSI: _cSDBCR, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +START_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _SDBC, + 0, + START_DB_CLUSTER_INPUT, + START_DB_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_DB_SHARD_GROUP_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +START_DB_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _SDBIIt, + {_sSI: _cSDBIM, _smi: None}, + (_DBII, _DBCRI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + ), +) + +START_DB_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _SDBIO, + {_sSI: _cSDBIR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +START_DB_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _SDBI, + 0, + START_DB_INSTANCE_INPUT, + START_DB_INSTANCE_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_NOT_FOUND_FAULT, + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _SDBIABRI, + {_sSI: _cSDBIABRM, _smi: None}, + (_SDBIA, _BRP, _KKI, _PSU, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _SDBIABRO, + {_sSI: _cSDBIABRR, _smit: None}, + (_DBIAB,), + ((lambda: schemas.DB_INSTANCE_AUTOMATED_BACKUP, 0),), +) + +START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION: StaticOperationSchema = ( + 23, + n0, + _SDBIABRt, + 0, + START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT, + START_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_AUTOMATED_BACKUP_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + ), +) + +EXPORT_TASK_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _ETAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ExportTaskAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +IAM_ROLE_MISSING_PERMISSIONS_FAULT: StaticSchema = ( + 18, + n0, + _IRMPF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "IamRoleMissingPermissions", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +IAM_ROLE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _IRNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "IamRoleNotFound", "httpResponseCode": 404}), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_EXPORT_ONLY_FAULT: StaticSchema = ( + 18, + n0, + _IEOF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidExportOnly", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_EXPORT_SOURCE_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IESSFn, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidExportSourceState", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +START_EXPORT_TASK_INPUT: StaticSchema = ( + 18, + n0, + _SETI, + {_sSI: _cSETM, _smi: None}, + (_ETI, _SA, _SBN, _IRA, _KKI, _SP, _EO), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +START_EXPORT_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _SETO, + {_sSI: _cET, _smit: None}, + ( + _ETI, + _SA, + _EO, + _STn, + _TST, + _TET, + _SB, + _SP, + _IRA, + _KKI, + _St, + _PP, + _TEDIGB, + _FC, + _WM, + _STo, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPORT_SOURCE_TYPE, 0), + ), +) + +START_EXPORT_TASK: StaticOperationSchema = ( + 23, + n0, + _SETt, + 0, + START_EXPORT_TASK_INPUT, + START_EXPORT_TASK_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT, + EXPORT_TASK_ALREADY_EXISTS_FAULT, + IAM_ROLE_MISSING_PERMISSIONS_FAULT, + IAM_ROLE_NOT_FOUND_FAULT, + INVALID_EXPORT_ONLY_FAULT, + INVALID_EXPORT_SOURCE_STATE_FAULT, + lambda: schemas.INVALID_S3_BUCKET_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + ), +) + +STOP_ACTIVITY_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _SASIt, + {_sSI: _cSASRom, _smi: None}, + (_RAes, _AIp), + ((lambda: schemas.STRING, 1), (lambda: schemas.BOOLEAN_OPTIONAL, 0)), +) + +STOP_ACTIVITY_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _SASOt, + {_sSI: _cSASRoma, _smit: None}, + (_KKI, _KSN, _St), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACTIVITY_STREAM_STATUS, 0), + ), +) + +STOP_ACTIVITY_STREAM: StaticOperationSchema = ( + 23, + n0, + _SASt, + 0, + STOP_ACTIVITY_STREAM_INPUT, + STOP_ACTIVITY_STREAM_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.RESOURCE_NOT_FOUND_FAULT, + ), +) + +STOP_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _SDBCIto, + {_sSI: _cSDBCMo, _smi: None}, + (_DBCI,), + ((lambda: schemas.STRING, 1),), +) + +STOP_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _SDBCOt, + {_sSI: _cSDBCRo, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +STOP_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _SDBCt, + 0, + STOP_DB_CLUSTER_INPUT, + STOP_DB_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_DB_SHARD_GROUP_STATE_FAULT, + ), +) + +STOP_DB_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _SDBIIto, + {_sSI: _cSDBIMo, _smi: None}, + (_DBII, _DBSIn, _DFDBCR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +STOP_DB_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _SDBIOt, + {_sSI: _cSDBIRo, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +STOP_DB_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _SDBIt, + 0, + STOP_DB_INSTANCE_INPUT, + STOP_DB_INSTANCE_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_ALREADY_EXISTS_FAULT, + lambda: schemas.INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.SNAPSHOT_QUOTA_EXCEEDED_FAULT, + ), +) + +STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _SDBIABRIt, + {_sSI: _cSDBIABRMo, _smi: None}, + (_SDBIA,), + ((lambda: schemas.STRING, 1),), +) + +STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _SDBIABROt, + {_sSI: _cSDBIABRRo, _smit: None}, + (_DBIAB,), + ((lambda: schemas.DB_INSTANCE_AUTOMATED_BACKUP, 0),), +) + +STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION: StaticOperationSchema = ( + 23, + n0, + _SDBIABRto, + 0, + STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_INPUT, + STOP_DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +SWITCHOVER_TIMEOUT: StaticSchema = (7, n0, _STw, 0) + +SWITCHOVER_BLUE_GREEN_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _SBGDI, + {_sSI: _cSBGDR, _smi: None}, + (_BGDI, _STw), + ((lambda: schemas.BLUE_GREEN_DEPLOYMENT_IDENTIFIER, 1), (SWITCHOVER_TIMEOUT, 0)), +) + +SWITCHOVER_BLUE_GREEN_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _SBGDO, + {_sSI: _cSBGDRo, _smit: None}, + (_BGD,), + ((lambda: schemas.BLUE_GREEN_DEPLOYMENT, 0),), +) + +SWITCHOVER_BLUE_GREEN_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _SBGD, + 0, + SWITCHOVER_BLUE_GREEN_DEPLOYMENT_INPUT, + SWITCHOVER_BLUE_GREEN_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_BLUE_GREEN_DEPLOYMENT_STATE_FAULT, + ), +) + +SWITCHOVER_GLOBAL_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _SGCI, + {_sSI: _cSGCM, _smi: None}, + (_GCI, _TDCI), + ( + (lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 1), + (lambda: schemas.DB_CLUSTER_IDENTIFIER, 1), + ), +) + +SWITCHOVER_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _SGCO, + {_sSI: _cSGCR, _smit: None}, + (_GC,), + ((lambda: schemas.GLOBAL_CLUSTER, 0),), +) + +SWITCHOVER_GLOBAL_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _SGC, + 0, + SWITCHOVER_GLOBAL_CLUSTER_INPUT, + SWITCHOVER_GLOBAL_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.GLOBAL_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_GLOBAL_CLUSTER_STATE_FAULT, + ), +) + +SWITCHOVER_READ_REPLICA_INPUT: StaticSchema = ( + 18, + n0, + _SRRI, + {_sSI: _cSRRM, _smi: None}, + (_DBII,), + ((lambda: schemas.STRING, 1),), +) + +SWITCHOVER_READ_REPLICA_OUTPUT: StaticSchema = ( + 18, + n0, + _SRRO, + {_sSI: _cSRRR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +SWITCHOVER_READ_REPLICA: StaticOperationSchema = ( + 23, + n0, + _SRRw, + 0, + SWITCHOVER_READ_REPLICA_INPUT, + SWITCHOVER_READ_REPLICA_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +AMAZON_RD_SV19: StaticSchema = ( + 21, + n0, + _ARDS, + { + _aw: MappingProxyType({"name": "rds"}), + _aQ: None, + _aws: MappingProxyType( + { + "sdkId": "RDS", + "arnNamespace": "rds", + "cloudFormationName": "RDS", + "cloudTrailEventSource": "rds.amazonaws.com", + "endpointPrefix": "rds", + } + ), + _sNm: MappingProxyType({"uri": "http://rds.amazonaws.com/doc/2014-10-31/"}), + }, +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_2.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_2.py new file mode 100644 index 000000000..776276b9e --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_2.py @@ -0,0 +1,1582 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_m = "member" +_sN = "smithy.api#xmlName" +_ASM = "ActivityStreamMode" +_sV = "smithy.api#enumValue" +_ASS = "ActivityStreamStatus" +_sm = "smithy.api#required" +_AS = "AllocatedStorage" +_MAS = "MaxAllocatedStorage" +_ST = "StorageThroughput" +_STt = "StorageType" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_RA = "RoleArn" +_FN = "FeatureName" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_St = "Status" +_TL = "TagList" +_Ta = "Tags" +_D = "Description" +_DBSGN = "DBSecurityGroupName" +_DBCRI = "DBCapacityReservationIdentifier" +_AZ = "AvailabilityZone" +_DBIC = "DBInstanceClass" +_ac = "active" +_En = "Engine" +_LM = "LicenseModel" +_KKI = "KmsKeyId" +_PP = "PercentProgress" +_DBCPG = "DBClusterParameterGroup" +_DBCPGN = "DBClusterParameterGroupName" +_DBPGF = "DBParameterGroupFamily" +_PSU = "PreSignedUrl" +_AZv = "AvailabilityZones" +_SET = "StorageEncryptionType" +_DBCS = "DBClusterSnapshot" +_DBCSI = "DBClusterSnapshotIdentifier" +_EMn = "EngineMode" +_P = "Port" +_CCT = "ClusterCreateTime" +_MU = "MasterUsername" +_EV = "EngineVersion" +_SE = "StorageEncrypted" +_BRP = "BackupRetentionPeriod" +_PBW = "PreferredBackupWindow" +_IAMDAE = "IAMDatabaseAuthenticationEnabled" +_DCRI = "DbClusterResourceId" +_DBSI = "DBSystemId" +_DBPGN = "DBParameterGroupName" +_OGN = "OptionGroupName" +_TSag = "TagSpecifications" +_Io = "Iops" +_TCA = "TdeCredentialArn" +_Ti = "Timezone" +_PFr = "ProcessorFeatures" +_MT = "MultiTenant" +_DLV = "DedicatedLogVolume" +_ASVd = "AdditionalStorageVolumes" +_VSGI = "VpcSecurityGroupId" +_CSN = "CharacterSetName" +_MC = "MinCapacity" +_MCa = "MaxCapacity" +_CST = "ClusterScalabilityType" +_DIM = "DatabaseInsightsMode" +_GCI = "GlobalClusterIdentifier" +_MUAT = "MasterUserAuthenticationType" +_RCCC = "RdsCustomClusterConfiguration" +_SC = "ScalingConfiguration" +_AP = "AutoPause" +_SUAP = "SecondsUntilAutoPause" +_TA = "TimeoutAction" +_SBT = "SecondsBeforeTimeout" +_SVSC = "ServerlessV2ScalingConfiguration" +_VSGIL = "VpcSecurityGroupIdList" +_CDBCI = "CreateDBClusterInput" +_cCDBCM = "com.amazonaws.rds#CreateDBClusterMessage" +_DN = "DatabaseName" +_VSGIp = "VpcSecurityGroupIds" +_DBSGNu = "DBSubnetGroupName" +_MUP = "MasterUserPassword" +_PMW = "PreferredMaintenanceWindow" +_RSI = "ReplicationSourceIdentifier" +_EIAMDA = "EnableIAMDatabaseAuthentication" +_BW = "BacktrackWindow" +_ECLE = "EnableCloudwatchLogsExports" +_DBCIC = "DBClusterInstanceClass" +_PA = "PubliclyAccessible" +_AMVU = "AutoMinorVersionUpgrade" +_DP = "DeletionProtection" +_EHE = "EnableHttpEndpoint" +_CTTS = "CopyTagsToSnapshot" +_Do = "Domain" +_DIAMRN = "DomainIAMRoleName" +_EGWF = "EnableGlobalWriteForwarding" +_NT = "NetworkType" +_MI = "MonitoringInterval" +_MRA = "MonitoringRoleArn" +_EPI = "EnablePerformanceInsights" +_PIKMSKI = "PerformanceInsightsKMSKeyId" +_PIRP = "PerformanceInsightsRetentionPeriod" +_ELD = "EnableLimitlessDatabase" +_MMUP = "ManageMasterUserPassword" +_ELWF = "EnableLocalWriteForwarding" +_MUSKKI = "MasterUserSecretKmsKeyId" +_CACI = "CACertificateIdentifier" +_ELS = "EngineLifecycleSupport" +_WEC = "WithExpressConfiguration" +_AR = "AssociatedRoles" +_DBCRl = "DBClusterRole" +_DBCRlu = "DBClusterRoles" +_CDe = "CertificateDetails" +_CAId = "CAIdentifier" +_VT = "ValidTill" +_DBCM = "DBClusterMember" +_ICW = "IsClusterWriter" +_DBCPGS = "DBClusterParameterGroupStatus" +_PT = "PromotionTier" +_DBCML = "DBClusterMemberList" +_DBCOGS = "DBClusterOptionGroupStatus" +_DBCOGN = "DBClusterOptionGroupName" +_DBCOGM = "DBClusterOptionGroupMemberships" +_DBCOG = "DBClusterOptionGroup" +_DM = "DomainMembership" +_FQDN = "FQDN" +_IAMRN = "IAMRoleName" +_OU = "OU" +_ASA = "AuthSecretArn" +_DI = "DnsIps" +_DML = "DomainMembershipList" +_WFS = "WriteForwardingStatus" +_ENABLED = "ENABLED" +_en = "enabled" +_DISABLED = "DISABLED" +_di = "disabled" +_ENABLING = "ENABLING" +_ena = "enabling" +_DISABLING = "DISABLING" +_dis = "disabling" +_UNKNOWN = "UNKNOWN" +_unk = "unknown" +_LDS = "LimitlessDatabaseStatus" +_ACTIVE = "ACTIVE" +_NIU = "NOT_IN_USE" +_niu = "not-in-use" +_MMC = "MODIFYING_MAX_CAPACITY" +_mmc = "modifying-max-capacity" +_ERROR = "ERROR" +_er = "error" +_LD = "LimitlessDatabase" +_MRACU = "MinRequiredACU" +_LWFS = "LocalWriteForwardingStatus" +_REQUESTED = "REQUESTED" +_r = "requested" +_MUS = "MasterUserSecret" +_SAe = "SecretArn" +_SSe = "SecretStatus" +_PCLE = "PendingCloudwatchLogsExports" +_LTTE = "LogTypesToEnable" +_LTTD = "LogTypesToDisable" +_CPMV = "ClusterPendingModifiedValues" +_RRIL = "ReadReplicaIdentifierList" +_RRI = "ReadReplicaIdentifier" +_SCI = "ScalingConfigurationInfo" +_SVSCI = "ServerlessV2ScalingConfigurationInfo" +_DBCSIl = "DBClusterStatusInfo" +_STta = "StatusType" +_No = "Normal" +_Me = "Message" +_DBCSIL = "DBClusterStatusInfoList" +_URO = "UpgradeRolloutOrder" +_FIRST = "FIRST" +_fi = "first" +_SECOND = "SECOND" +_se = "second" +_LAST = "LAST" +_la = "last" +_DBC = "DBCluster" +_DBSGu = "DBSubnetGroup" +_ERT = "EarliestRestorableTime" +_End = "Endpoint" +_RE = "ReaderEndpoint" +_CE = "CustomEndpoints" +_MAZ = "MultiAZ" +_LRT = "LatestRestorableTime" +_RRIe = "ReadReplicaIdentifiers" +_SIt = "StatusInfos" +_DBCMl = "DBClusterMembers" +_VSG = "VpcSecurityGroups" +_HZI = "HostedZoneId" +_DBCA = "DBClusterArn" +_CGI = "CloneGroupId" +_EBT = "EarliestBacktrackTime" +_BCCR = "BacktrackConsumedChangeRecords" +_ECLEn = "EnabledCloudwatchLogsExports" +_C = "Capacity" +_PMV = "PendingModifiedValues" +_IOONAMT = "IOOptimizedNextAllowedModificationTime" +_HEE = "HttpEndpointEnabled" +_ASKKI = "ActivityStreamKmsKeyId" +_ASKSN = "ActivityStreamKinesisStreamName" +_CAC = "CrossAccountClone" +_DMo = "DomainMemberships" +_GWFS = "GlobalWriteForwardingStatus" +_GWFR = "GlobalWriteForwardingRequested" +_ART = "AutomaticRestartTime" +_SVPV = "ServerlessV2PlatformVersion" +_PIE = "PerformanceInsightsEnabled" +_ABRPA = "AwsBackupRecoveryPointArn" +_VPCNE = "VPCNetworkingEnabled" +_IAGE = "InternetAccessGatewayEnabled" +_CDBCO = "CreateDBClusterOutput" +_cCDBCR = "com.amazonaws.rds#CreateDBClusterResult" +_DBCAEF = "DBClusterAlreadyExistsFault" +_DBSGDNCEAZ = "DBSubnetGroupDoesNotCoverEnoughAZs" +_DBSGNFFu = "DBSubnetGroupNotFoundFault" +_DNFF = "DomainNotFoundFault" +_GCNFF = "GlobalClusterNotFoundFault" +_ISCCF = "InsufficientStorageClusterCapacityFault" +_IDBSGF = "InvalidDBSubnetGroupFault" +_IDBSGSFn = "InvalidDBSubnetGroupStateFault" +_IGCSF = "InvalidGlobalClusterStateFault" +_IS = "InvalidSubnet" +_IVPCNSF = "InvalidVPCNetworkStateFault" +_NTNS = "NetworkTypeNotSupported" +_VECVE = "VpcEncryptionControlViolationException" +_CDBC = "CreateDBCluster" +_CDBCEI = "CreateDBClusterEndpointInput" +_cCDBCEM = "com.amazonaws.rds#CreateDBClusterEndpointMessage" +_DBCEI = "DBClusterEndpointIdentifier" +_ET = "EndpointType" +_SMt = "StaticMembers" +_EMx = "ExcludedMembers" +_CDBCEO = "CreateDBClusterEndpointOutput" +_cDBCE = "com.amazonaws.rds#DBClusterEndpoint" +_DBCERI = "DBClusterEndpointResourceIdentifier" +_CETu = "CustomEndpointType" +_DBCEA = "DBClusterEndpointArn" +_DBCEAEF = "DBClusterEndpointAlreadyExistsFault" +_DBCEQEF = "DBClusterEndpointQuotaExceededFault" +_CDBCE = "CreateDBClusterEndpoint" +_CDBCPGIr = "CreateDBClusterParameterGroupInput" +_cCDBCPGMo = "com.amazonaws.rds#CreateDBClusterParameterGroupMessage" +_CDBCPGOr = "CreateDBClusterParameterGroupOutput" +_cCDBCPGRo = "com.amazonaws.rds#CreateDBClusterParameterGroupResult" +_CDBCPGr = "CreateDBClusterParameterGroup" +_CDBCSIr = "CreateDBClusterSnapshotInput" +_cCDBCSMo = "com.amazonaws.rds#CreateDBClusterSnapshotMessage" +_CDBCSOr = "CreateDBClusterSnapshotOutput" +_cCDBCSRo = "com.amazonaws.rds#CreateDBClusterSnapshotResult" +_CDBCSr = "CreateDBClusterSnapshot" +_BPNFF = "BackupPolicyNotFoundFault" +_DBSGNL = "DBSecurityGroupNameList" +_CDBII = "CreateDBInstanceInput" +_cCDBIM = "com.amazonaws.rds#CreateDBInstanceMessage" +_DBN = "DBName" +_DBSGe = "DBSecurityGroups" +_NCSN = "NcharCharacterSetName" +_TCP = "TdeCredentialPassword" +_DF = "DomainFqdn" +_DOo = "DomainOu" +_DASA = "DomainAuthSecretArn" +_DDI = "DomainDnsIps" +_ECOI = "EnableCustomerOwnedIp" +_BTa = "BackupTarget" +_CIIP = "CustomIamInstanceProfile" +_DBIR = "DBInstanceRole" +_DBI = "DBInstance" +_CDBIO = "CreateDBInstanceOutput" +_cCDBIR = "com.amazonaws.rds#CreateDBInstanceResult" +_DBIAEF = "DBInstanceAlreadyExistsFault" +_TDQEF = "TenantDatabaseQuotaExceededFault" +_CDBI = "CreateDBInstance" +_ISBF = "InvalidS3BucketFault" +_IDBCCFn = "InsufficientDBClusterCapacityFault" + +SERVERLESS_V2_SCALING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SVSC, + 0, + (_MC, _MCa, _SUAP), + ( + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +VPC_SECURITY_GROUP_ID_LIST: StaticSchema = ( + 16, + n0, + _VSGIL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _VSGI}),), +) + +CREATE_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _CDBCI, + {_sSI: _cCDBCM, _smi: None}, + ( + _AZv, + _BRP, + _CSN, + _DN, + _DBCI, + _DBCPGN, + _VSGIp, + _DBSGNu, + _En, + _EV, + _P, + _MU, + _MUP, + _OGN, + _PBW, + _PMW, + _RSI, + _Ta, + _SE, + _KKI, + _PSU, + _EIAMDA, + _BW, + _ECLE, + _EMn, + _SC, + _RCCC, + _DBCIC, + _AS, + _STt, + _Io, + _PA, + _AMVU, + _DP, + _GCI, + _EHE, + _CTTS, + _Do, + _DIAMRN, + _EGWF, + _NT, + _SVSC, + _MI, + _MRA, + _DIM, + _EPI, + _PIKMSKI, + _PIRP, + _ELD, + _CST, + _DBSI, + _MMUP, + _ELWF, + _MUSKKI, + _CACI, + _ELS, + _TSag, + _MUAT, + _WEC, + _AR, + ), + ( + (lambda: schemas.AVAILABILITY_ZONES, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.LONG_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SCALING_CONFIGURATION, 0), + (lambda: schemas.RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (SERVERLESS_V2_SCALING_CONFIGURATION, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DATABASE_INSIGHTS_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.CLUSTER_SCALABILITY_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.MASTER_USER_AUTHENTICATION_TYPE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.DB_CLUSTER_ASSOCIATED_ROLES, 0), + ), +) + +CREATE_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBCO, + {_sSI: _cCDBCR, _smit: None}, + (_DBC,), + ((lambda: DB_CLUSTER, 0),), +) + +CREATE_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _CDBC, + 0, + CREATE_DB_CLUSTER_INPUT, + CREATE_DB_CLUSTER_OUTPUT, + ( + lambda: DB_CLUSTER_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + lambda: DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: DOMAIN_NOT_FOUND_FAULT, + lambda: GLOBAL_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: INVALID_DB_SUBNET_GROUP_FAULT, + lambda: INVALID_DB_SUBNET_GROUP_STATE_FAULT, + lambda: INVALID_GLOBAL_CLUSTER_STATE_FAULT, + lambda: INVALID_SUBNET, + lambda: INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +DB_CLUSTER_ROLE: StaticSchema = ( + 18, + n0, + _DBCRl, + 0, + (_RA, _St, _FN), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +DB_CLUSTER_ROLES: StaticSchema = ( + 16, + n0, + _DBCRlu, + 0, + (_m,), + ((DB_CLUSTER_ROLE, {_sN: _DBCRl}),), +) + +CERTIFICATE_DETAILS: StaticSchema = ( + 18, + n0, + _CDe, + 0, + (_CAId, _VT), + ((lambda: schemas.STRING, 0), (lambda: schemas.T_STAMP, 0)), +) + +DB_CLUSTER_MEMBER: StaticSchema = ( + 18, + n0, + _DBCM, + 0, + (_DBII, _ICW, _DBCPGS, _PT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +DB_CLUSTER_MEMBER_LIST: StaticSchema = ( + 16, + n0, + _DBCML, + 0, + (_m,), + ((DB_CLUSTER_MEMBER, {_sN: _DBCM}),), +) + +DB_CLUSTER_OPTION_GROUP_STATUS: StaticSchema = ( + 18, + n0, + _DBCOGS, + 0, + (_DBCOGN, _St), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DB_CLUSTER_OPTION_GROUP_MEMBERSHIPS: StaticSchema = ( + 16, + n0, + _DBCOGM, + 0, + (_m,), + ((DB_CLUSTER_OPTION_GROUP_STATUS, {_sN: _DBCOG}),), +) + +DOMAIN_MEMBERSHIP: StaticSchema = ( + 18, + n0, + _DM, + 0, + (_Do, _St, _FQDN, _IAMRN, _OU, _ASA, _DI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +DOMAIN_MEMBERSHIP_LIST: StaticSchema = ( + 16, + n0, + _DML, + 0, + (_m,), + ((DOMAIN_MEMBERSHIP, {_sN: _DM}),), +) + +WRITE_FORWARDING_STATUS: StaticSchema = ( + 14, + n0, + _WFS, + 0, + (_ENABLED, _DISABLED, _ENABLING, _DISABLING, _UNKNOWN), + ( + (-1, {_sV: _en}), + (-1, {_sV: _di}), + (-1, {_sV: _ena}), + (-1, {_sV: _dis}), + (-1, {_sV: _unk}), + ), +) + +LIMITLESS_DATABASE_STATUS: StaticSchema = ( + 14, + n0, + _LDS, + 0, + (_ACTIVE, _NIU, _ENABLED, _DISABLED, _ENABLING, _DISABLING, _MMC, _ERROR), + ( + (-1, {_sV: _ac}), + (-1, {_sV: _niu}), + (-1, {_sV: _en}), + (-1, {_sV: _di}), + (-1, {_sV: _ena}), + (-1, {_sV: _dis}), + (-1, {_sV: _mmc}), + (-1, {_sV: _er}), + ), +) + +LIMITLESS_DATABASE: StaticSchema = ( + 18, + n0, + _LD, + 0, + (_St, _MRACU), + ((LIMITLESS_DATABASE_STATUS, 0), (lambda: schemas.DOUBLE_OPTIONAL, 0)), +) + +LOCAL_WRITE_FORWARDING_STATUS: StaticSchema = ( + 14, + n0, + _LWFS, + 0, + (_ENABLED, _DISABLED, _ENABLING, _DISABLING, _REQUESTED), + ( + (-1, {_sV: _en}), + (-1, {_sV: _di}), + (-1, {_sV: _ena}), + (-1, {_sV: _dis}), + (-1, {_sV: _r}), + ), +) + +MASTER_USER_SECRET: StaticSchema = ( + 18, + n0, + _MUS, + 0, + (_SAe, _SSe, _KKI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +PENDING_CLOUDWATCH_LOGS_EXPORTS: StaticSchema = ( + 18, + n0, + _PCLE, + 0, + (_LTTE, _LTTD), + ((lambda: schemas.LOG_TYPE_LIST, 0), (lambda: schemas.LOG_TYPE_LIST, 0)), +) + +CLUSTER_PENDING_MODIFIED_VALUES: StaticSchema = ( + 18, + n0, + _CPMV, + 0, + (_PCLE, _DBCI, _MUP, _IAMDAE, _EV, _BRP, _STt, _AS, _RCCC, _Io, _CDe), + ( + (PENDING_CLOUDWATCH_LOGS_EXPORTS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (CERTIFICATE_DETAILS, 0), + ), +) + +READ_REPLICA_IDENTIFIER_LIST: StaticSchema = ( + 16, + n0, + _RRIL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _RRI}),), +) + +SCALING_CONFIGURATION_INFO: StaticSchema = ( + 18, + n0, + _SCI, + 0, + (_MC, _MCa, _AP, _SUAP, _TA, _SBT), + ( + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +SERVERLESS_V2_SCALING_CONFIGURATION_INFO: StaticSchema = ( + 18, + n0, + _SVSCI, + 0, + (_MC, _MCa, _SUAP), + ( + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +DB_CLUSTER_STATUS_INFO: StaticSchema = ( + 18, + n0, + _DBCSIl, + 0, + (_STta, _No, _St, _Me), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +DB_CLUSTER_STATUS_INFO_LIST: StaticSchema = ( + 16, + n0, + _DBCSIL, + 0, + (_m,), + ((DB_CLUSTER_STATUS_INFO, {_sN: _DBCSIl}),), +) + +UPGRADE_ROLLOUT_ORDER: StaticSchema = ( + 14, + n0, + _URO, + 0, + (_FIRST, _SECOND, _LAST), + ((-1, {_sV: _fi}), (-1, {_sV: _se}), (-1, {_sV: _la})), +) + +DB_CLUSTER: StaticSchema = ( + 18, + n0, + _DBC, + 0, + ( + _AS, + _AZv, + _BRP, + _CSN, + _DN, + _DBCI, + _DBCPG, + _DBSGu, + _St, + _PP, + _ERT, + _End, + _RE, + _CE, + _MAZ, + _En, + _EV, + _LRT, + _P, + _MU, + _DBCOGM, + _PBW, + _PMW, + _URO, + _RSI, + _RRIe, + _SIt, + _DBCMl, + _VSG, + _HZI, + _SE, + _SET, + _KKI, + _DCRI, + _DBCA, + _AR, + _IAMDAE, + _CGI, + _CCT, + _EBT, + _BW, + _BCCR, + _ECLEn, + _C, + _PMV, + _EMn, + _SCI, + _RCCC, + _DBCIC, + _STt, + _Io, + _ST, + _IOONAMT, + _PA, + _AMVU, + _DP, + _HEE, + _ASM, + _ASS, + _ASKKI, + _ASKSN, + _CTTS, + _CAC, + _DMo, + _TL, + _GCI, + _GWFS, + _GWFR, + _NT, + _ART, + _SVSC, + _SVPV, + _MI, + _MRA, + _DIM, + _PIE, + _PIKMSKI, + _PIRP, + _DBSI, + _MUS, + _LWFS, + _ABRPA, + _LD, + _CST, + _CDe, + _ELS, + _VPCNE, + _IAGE, + ), + ( + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.AVAILABILITY_ZONES, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (DB_CLUSTER_OPTION_GROUP_MEMBERSHIPS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (UPGRADE_ROLLOUT_ORDER, 0), + (lambda: schemas.STRING, 0), + (READ_REPLICA_IDENTIFIER_LIST, 0), + (DB_CLUSTER_STATUS_INFO_LIST, 0), + (DB_CLUSTER_MEMBER_LIST, 0), + (lambda: schemas.VPC_SECURITY_GROUP_MEMBERSHIP_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STORAGE_ENCRYPTION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DB_CLUSTER_ROLES, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.LONG_OPTIONAL, 0), + (lambda: schemas.LONG_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (CLUSTER_PENDING_MODIFIED_VALUES, 0), + (lambda: schemas.STRING, 0), + (SCALING_CONFIGURATION_INFO, 0), + (lambda: schemas.RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.ACTIVITY_STREAM_MODE, 0), + (lambda: schemas.ACTIVITY_STREAM_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (DOMAIN_MEMBERSHIP_LIST, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 0), + (WRITE_FORWARDING_STATUS, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (SERVERLESS_V2_SCALING_CONFIGURATION_INFO, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DATABASE_INSIGHTS_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (MASTER_USER_SECRET, 0), + (LOCAL_WRITE_FORWARDING_STATUS, 0), + (lambda: schemas.STRING, 0), + (LIMITLESS_DATABASE, 0), + (lambda: schemas.CLUSTER_SCALABILITY_TYPE, 0), + (CERTIFICATE_DETAILS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +DB_CLUSTER_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBCAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBClusterAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS: StaticSchema = ( + 18, + n0, + _DBSGDNCEAZ, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBSubnetGroupDoesNotCoverEnoughAZs", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_SUBNET_GROUP_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBSGNFFu, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBSubnetGroupNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DOMAIN_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DomainNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +GLOBAL_CLUSTER_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _GCNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "GlobalClusterNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT: StaticSchema = ( + 18, + n0, + _ISCCF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InsufficientStorageClusterCapacity", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_SUBNET_GROUP_FAULT: StaticSchema = ( + 18, + n0, + _IDBSGF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBSubnetGroupFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_SUBNET_GROUP_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBSGSFn, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBSubnetGroupStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_GLOBAL_CLUSTER_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IGCSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidGlobalClusterStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_SUBNET: StaticSchema = ( + 18, + n0, + _IS, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidSubnet", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_VPC_NETWORK_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IVPCNSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidVPCNetworkStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +NETWORK_TYPE_NOT_SUPPORTED: StaticSchema = ( + 18, + n0, + _NTNS, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "NetworkTypeNotSupported", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VECVE, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "VpcEncryptionControlViolationException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_DB_CLUSTER_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CDBCEI, + {_sSI: _cCDBCEM, _smi: None}, + (_DBCI, _DBCEI, _ET, _SMt, _EMx, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_CLUSTER_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBCEO, + {_sSI: _cDBCE, _smit: None}, + (_DBCEI, _DBCI, _DBCERI, _End, _St, _ET, _CETu, _SMt, _EMx, _DBCEA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +CREATE_DB_CLUSTER_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CDBCE, + 0, + CREATE_DB_CLUSTER_ENDPOINT_INPUT, + CREATE_DB_CLUSTER_ENDPOINT_OUTPUT, + ( + lambda: DB_CLUSTER_ENDPOINT_ALREADY_EXISTS_FAULT, + lambda: DB_CLUSTER_ENDPOINT_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +DB_CLUSTER_ENDPOINT_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBCEAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBClusterEndpointAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_CLUSTER_ENDPOINT_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBCEQEF, + { + _smith: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "DBClusterEndpointQuotaExceededFault", "httpResponseCode": 403} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CDBCPGIr, + {_sSI: _cCDBCPGMo, _smi: None}, + (_DBCPGN, _DBPGF, _D, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBCPGOr, + {_sSI: _cCDBCPGRo, _smit: None}, + (_DBCPG,), + ((lambda: schemas.DB_CLUSTER_PARAMETER_GROUP, 0),), +) + +CREATE_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _CDBCPGr, + 0, + CREATE_DB_CLUSTER_PARAMETER_GROUP_INPUT, + CREATE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, + ( + lambda: schemas.DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT, + ), +) + +CREATE_DB_CLUSTER_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _CDBCSIr, + {_sSI: _cCDBCSMo, _smi: None}, + (_DBCSI, _DBCI, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_CLUSTER_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBCSOr, + {_sSI: _cCDBCSRo, _smit: None}, + (_DBCS,), + ((lambda: schemas.DB_CLUSTER_SNAPSHOT, 0),), +) + +CREATE_DB_CLUSTER_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _CDBCSr, + 0, + CREATE_DB_CLUSTER_SNAPSHOT_INPUT, + CREATE_DB_CLUSTER_SNAPSHOT_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.SNAPSHOT_QUOTA_EXCEEDED_FAULT, + ), +) + +BACKUP_POLICY_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _BPNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "BackupPolicyNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_SECURITY_GROUP_NAME_LIST: StaticSchema = ( + 16, + n0, + _DBSGNL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _DBSGN}),), +) + +CREATE_DB_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _CDBII, + {_sSI: _cCDBIM, _smi: None}, + ( + _DBN, + _DBII, + _AS, + _DBIC, + _En, + _MU, + _MUP, + _DBSGe, + _VSGIp, + _AZ, + _DBSGNu, + _PMW, + _DBPGN, + _BRP, + _PBW, + _P, + _MAZ, + _EV, + _AMVU, + _LM, + _Io, + _ST, + _OGN, + _CSN, + _NCSN, + _PA, + _Ta, + _DBCI, + _STt, + _TCA, + _TCP, + _SE, + _KKI, + _Do, + _DF, + _DOo, + _DASA, + _DDI, + _CTTS, + _MI, + _MRA, + _DIAMRN, + _PT, + _Ti, + _EIAMDA, + _DIM, + _EPI, + _PIKMSKI, + _PIRP, + _ECLE, + _PFr, + _DP, + _MAS, + _ECOI, + _NT, + _BTa, + _CIIP, + _DBSI, + _CACI, + _MMUP, + _MUSKKI, + _MT, + _DLV, + _ELS, + _ASVd, + _TSag, + _DBCRI, + _MUAT, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (DB_SECURITY_GROUP_NAME_LIST, 0), + (VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.DATABASE_INSIGHTS_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADDITIONAL_STORAGE_VOLUMES_LIST, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + (lambda: schemas.MASTER_USER_AUTHENTICATION_TYPE, 0), + ), +) + +CREATE_DB_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBIO, + {_sSI: _cCDBIR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +CREATE_DB_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _CDBI, + 0, + CREATE_DB_INSTANCE_INPUT, + CREATE_DB_INSTANCE_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_NOT_FOUND_FAULT, + BACKUP_POLICY_NOT_FOUND_FAULT, + lambda: schemas.CERTIFICATE_NOT_FOUND_FAULT, + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: DB_INSTANCE_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SECURITY_GROUP_NOT_FOUND_FAULT, + DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + DB_SUBNET_GROUP_NOT_FOUND_FAULT, + DOMAIN_NOT_FOUND_FAULT, + lambda: schemas.INSTANCE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + INVALID_SUBNET, + INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + lambda: schemas.PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, + VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +DB_INSTANCE_ROLE: StaticSchema = ( + 18, + n0, + _DBIR, + 0, + (_RA, _FN, _St), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +DB_INSTANCE_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBIAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBInstanceAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +TENANT_DATABASE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _TDQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "TenantDatabaseQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_S3_BUCKET_FAULT: StaticSchema = ( + 18, + n0, + _ISBF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidS3BucketFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INSUFFICIENT_DB_CLUSTER_CAPACITY_FAULT: StaticSchema = ( + 18, + n0, + _IDBCCFn, + { + _smith: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "InsufficientDBClusterCapacityFault", "httpResponseCode": 403} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_3.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_3.py new file mode 100644 index 000000000..119f06c92 --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_3.py @@ -0,0 +1,1565 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_m = "member" +_sN = "smithy.api#xmlName" +_ASM = "ActivityStreamMode" +_sV = "smithy.api#enumValue" +_ASPS = "ActivityStreamPolicyStatus" +_ASS = "ActivityStreamStatus" +_sm = "smithy.api#required" +_AS = "AllocatedStorage" +_MAS = "MaxAllocatedStorage" +_ST = "StorageThroughput" +_STt = "StorageType" +_SVS = "StorageVolumeStatus" +_SOS = "StorageOperationStatus" +_SOPP = "StorageOperationPercentProgress" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_RA = "RoleArn" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_St = "Status" +_TL = "TagList" +_Ta = "Tags" +_D = "Description" +_DBSGN = "DBSecurityGroupName" +_DBSG = "DBSecurityGroup" +_DBSGD = "DBSecurityGroupDescription" +_VI = "VpcId" +_DBCRI = "DBCapacityReservationIdentifier" +_AZ = "AvailabilityZone" +_DBIC = "DBInstanceClass" +_En = "Engine" +_LM = "LicenseModel" +_KKI = "KmsKeyId" +_PP = "PercentProgress" +_DBPGF = "DBParameterGroupFamily" +_PSU = "PreSignedUrl" +_SET = "StorageEncryptionType" +_P = "Port" +_MU = "MasterUsername" +_EV = "EngineVersion" +_SE = "StorageEncrypted" +_BRP = "BackupRetentionPeriod" +_PBW = "PreferredBackupWindow" +_IAMDAE = "IAMDatabaseAuthenticationEnabled" +_DBSI = "DBSystemId" +_DBPG = "DBParameterGroup" +_DBPGN = "DBParameterGroupName" +_OGN = "OptionGroupName" +_TSag = "TagSpecifications" +_N = "Name" +_ICT = "InstanceCreateTime" +_Io = "Iops" +_TCA = "TdeCredentialArn" +_Ti = "Timezone" +_PFr = "ProcessorFeatures" +_DRI = "DbiResourceId" +_MT = "MultiTenant" +_DLV = "DedicatedLogVolume" +_ASVd = "AdditionalStorageVolumes" +_CSN = "CharacterSetName" +_DIM = "DatabaseInsightsMode" +_RM = "ReplicaMode" +_VSGIp = "VpcSecurityGroupIds" +_DBSGNu = "DBSubnetGroupName" +_MUP = "MasterUserPassword" +_PMW = "PreferredMaintenanceWindow" +_EIAMDA = "EnableIAMDatabaseAuthentication" +_ECLE = "EnableCloudwatchLogsExports" +_PA = "PubliclyAccessible" +_AMVU = "AutoMinorVersionUpgrade" +_DP = "DeletionProtection" +_CTTS = "CopyTagsToSnapshot" +_Do = "Domain" +_DIAMRN = "DomainIAMRoleName" +_NT = "NetworkType" +_MI = "MonitoringInterval" +_MRA = "MonitoringRoleArn" +_EPI = "EnablePerformanceInsights" +_PIKMSKI = "PerformanceInsightsKMSKeyId" +_PIRP = "PerformanceInsightsRetentionPeriod" +_CACI = "CACertificateIdentifier" +_ELS = "EngineLifecycleSupport" +_AR = "AssociatedRoles" +_CDe = "CertificateDetails" +_PT = "PromotionTier" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_MUS = "MasterUserSecret" +_SAe = "SecretArn" +_PCLE = "PendingCloudwatchLogsExports" +_STta = "StatusType" +_No = "Normal" +_Me = "Message" +_URO = "UpgradeRolloutOrder" +_DBSGu = "DBSubnetGroup" +_End = "Endpoint" +_MAZ = "MultiAZ" +_LRT = "LatestRestorableTime" +_SIt = "StatusInfos" +_VSG = "VpcSecurityGroups" +_HZI = "HostedZoneId" +_ECLEn = "EnabledCloudwatchLogsExports" +_PMV = "PendingModifiedValues" +_ASKKI = "ActivityStreamKmsKeyId" +_ASKSN = "ActivityStreamKinesisStreamName" +_DMo = "DomainMemberships" +_ART = "AutomaticRestartTime" +_PIE = "PerformanceInsightsEnabled" +_ABRPA = "AwsBackupRecoveryPointArn" +_DBN = "DBName" +_DBSGe = "DBSecurityGroups" +_NCSN = "NcharCharacterSetName" +_DF = "DomainFqdn" +_DOo = "DomainOu" +_DASA = "DomainAuthSecretArn" +_DDI = "DomainDnsIps" +_ECOI = "EnableCustomerOwnedIp" +_BTa = "BackupTarget" +_CIIP = "CustomIamInstanceProfile" +_DBIR = "DBInstanceRole" +_DBIRn = "DBInstanceRoles" +_AM = "AutomationMode" +_FULL = "FULL" +_fu = "full" +_AP_ = "ALL_PAUSED" +_ap = "all-paused" +_DBIABR = "DBInstanceAutomatedBackupsReplication" +_DBIABA = "DBInstanceAutomatedBackupsArn" +_DBIABRL = "DBInstanceAutomatedBackupsReplicationList" +_DBPGS = "DBParameterGroupStatus" +_PAS = "ParameterApplyStatus" +_DBPGSL = "DBParameterGroupStatusList" +_Ou = "Outpost" +_Ar = "Arn" +_Su = "Subnet" +_SIub = "SubnetIdentifier" +_SAZu = "SubnetAvailabilityZone" +_SO = "SubnetOutpost" +_SSu = "SubnetStatus" +_SLu = "SubnetList" +_DBSGDu = "DBSubnetGroupDescription" +_SGS = "SubnetGroupStatus" +_Sub = "Subnets" +_DBSGAu = "DBSubnetGroupArn" +_SNT = "SupportedNetworkTypes" +_Ad = "Address" +_OGM = "OptionGroupMembership" +_OGML = "OptionGroupMembershipList" +_RFAMT = "ResumeFullAutomationModeTime" +_RRDBCIL = "ReadReplicaDBClusterIdentifierList" +_RRDBCI = "ReadReplicaDBClusterIdentifier" +_RRDBIIL = "ReadReplicaDBInstanceIdentifierList" +_RRDBII = "ReadReplicaDBInstanceIdentifier" +_DBISI = "DBInstanceStatusInfo" +_DBISIL = "DBInstanceStatusInfoList" +_DBI = "DBInstance" +_DBIS = "DBInstanceStatus" +_DBPGa = "DBParameterGroups" +_RRSDBII = "ReadReplicaSourceDBInstanceIdentifier" +_RRDBIIe = "ReadReplicaDBInstanceIdentifiers" +_RRDBCIe = "ReadReplicaDBClusterIdentifiers" +_OGMp = "OptionGroupMemberships" +_SAZe = "SecondaryAvailabilityZone" +_DIP = "DbInstancePort" +_EMRA = "EnhancedMonitoringResourceArn" +_DBIA = "DBInstanceArn" +_LE = "ListenerEndpoint" +_COIE = "CustomerOwnedIpEnabled" +_ASENAFI = "ActivityStreamEngineNativeAuditFieldsIncluded" +_DBIABRn = "DBInstanceAutomatedBackupsReplications" +_RRSDBCI = "ReadReplicaSourceDBClusterIdentifier" +_ISCUA = "IsStorageConfigUpgradeAvailable" +_PINAIAZF = "ProvisionedIopsNotAvailableInAZFault" +_CDBIRRI = "CreateDBInstanceReadReplicaInput" +_cCDBIRRM = "com.amazonaws.rds#CreateDBInstanceReadReplicaMessage" +_SDBII = "SourceDBInstanceIdentifier" +_UDPF = "UseDefaultProcessorFeatures" +_SDBCI = "SourceDBClusterIdentifier" +_USC = "UpgradeStorageConfig" +_CDBIRRO = "CreateDBInstanceReadReplicaOutput" +_cCDBIRRR = "com.amazonaws.rds#CreateDBInstanceReadReplicaResult" +_DBSGNAF = "DBSubnetGroupNotAllowedFault" +_CDBIRR = "CreateDBInstanceReadReplica" +_CDBPGIr = "CreateDBParameterGroupInput" +_cCDBPGMo = "com.amazonaws.rds#CreateDBParameterGroupMessage" +_CDBPGOr = "CreateDBParameterGroupOutput" +_cCDBPGRo = "com.amazonaws.rds#CreateDBParameterGroupResult" +_CDBPGr = "CreateDBParameterGroup" +_ASu = "AuthScheme" +_SECRETS = "SECRETS" +_CPAT = "ClientPasswordAuthType" +_MNP = "MYSQL_NATIVE_PASSWORD" +_MCSP = "MYSQL_CACHING_SHA2_PASSWORD" +_PSS = "POSTGRES_SCRAM_SHA_256" +_PM = "POSTGRES_MD5" +_SSA = "SQL_SERVER_AUTHENTICATION" +_IAMAM = "IAMAuthMode" +_REQUIRED = "REQUIRED" +_AUN = "AuthUserName" +_UAC = "UserAuthConfig" +_UN = "UserName" +_IAMA = "IAMAuth" +_UACL = "UserAuthConfigList" +_DBPN = "DBProxyName" +_DAS = "DefaultAuthScheme" +_IA = "IAM_AUTH" +_NONE = "NONE" +_ENT = "EndpointNetworkType" +_IPV = "IPV4" +_IPV_ = "IPV6" +_DUAL = "DUAL" +_EF = "EngineFamily" +_MYSQL = "MYSQL" +_POSTGRESQL = "POSTGRESQL" +_SQLSERVER = "SQLSERVER" +_TCNT = "TargetConnectionNetworkType" +_CDBPI = "CreateDBProxyInput" +_cCDBPR = "com.amazonaws.rds#CreateDBProxyRequest" +_Au = "Auth" +_VSI = "VpcSubnetIds" +_RTLS = "RequireTLS" +_ICTd = "IdleClientTimeout" +_DL = "DebugLogging" +_UACI = "UserAuthConfigInfo" +_UACIL = "UserAuthConfigInfoList" +_DBPS = "DBProxyStatus" +_AVAILABLE = "AVAILABLE" +_av = "available" +_MODIFYING = "MODIFYING" +_mod = "modifying" +_IN = "INCOMPATIBLE_NETWORK" +_in = "incompatible-network" +_IRL = "INSUFFICIENT_RESOURCE_LIMITS" +_irl = "insufficient-resource-limits" +_CREATING = "CREATING" +_cr = "creating" +_DELETING = "DELETING" +_de = "deleting" +_SUSPENDED = "SUSPENDED" +_su = "suspended" +_SUSPENDING = "SUSPENDING" +_sus = "suspending" +_REACTIVATING = "REACTIVATING" +_re = "reactivating" +_DBP = "DBProxy" +_DBPA = "DBProxyArn" +_CDr = "CreatedDate" +_UD = "UpdatedDate" +_CDBPO = "CreateDBProxyOutput" +_cCDBPRo = "com.amazonaws.rds#CreateDBProxyResponse" +_DBPAEF = "DBProxyAlreadyExistsFault" +_DBPQEF = "DBProxyQuotaExceededFault" +_CDBP = "CreateDBProxy" +_DBPEN = "DBProxyEndpointName" +_DBPETR = "DBProxyEndpointTargetRole" +_RW = "READ_WRITE" +_RO = "READ_ONLY" +_CDBPEI = "CreateDBProxyEndpointInput" +_cCDBPER = "com.amazonaws.rds#CreateDBProxyEndpointRequest" +_TR = "TargetRole" +_DBPES = "DBProxyEndpointStatus" +_DBPE = "DBProxyEndpoint" +_DBPEA = "DBProxyEndpointArn" +_ID = "IsDefault" +_CDBPEO = "CreateDBProxyEndpointOutput" +_cCDBPERo = "com.amazonaws.rds#CreateDBProxyEndpointResponse" +_DBPEAEF = "DBProxyEndpointAlreadyExistsFault" +_DBPEQEF = "DBProxyEndpointQuotaExceededFault" +_IDBPSF = "InvalidDBProxyStateFault" +_CDBPE = "CreateDBProxyEndpoint" +_CDBSGI = "CreateDBSecurityGroupInput" +_cCDBSGM = "com.amazonaws.rds#CreateDBSecurityGroupMessage" +_CDBSGO = "CreateDBSecurityGroupOutput" +_cCDBSGR = "com.amazonaws.rds#CreateDBSecurityGroupResult" +_DBSGAEF = "DBSecurityGroupAlreadyExistsFault" +_DBSGNSF = "DBSecurityGroupNotSupportedFault" +_DBSGQEF = "DBSecurityGroupQuotaExceededFault" +_CDBSG = "CreateDBSecurityGroup" +_CDBSGIr = "CreateDBShardGroupInput" +_cCDBSGMo = "com.amazonaws.rds#CreateDBShardGroupMessage" +_DBSGI = "DBShardGroupIdentifier" +_CR = "ComputeRedundancy" +_MACU = "MaxACU" +_MACUi = "MinACU" +_CDBSGOr = "CreateDBShardGroupOutput" +_cDBSG = "com.amazonaws.rds#DBShardGroup" +_DBSGRI = "DBShardGroupResourceId" +_DBSGAh = "DBShardGroupArn" +_MDBSGLR = "MaxDBShardGroupLimitReached" +_CDBSGr = "CreateDBShardGroup" +_DBIABNFF = "DBInstanceAutomatedBackupNotFoundFault" +_IDBIABSF = "InvalidDBInstanceAutomatedBackupStateFault" +_IDBPESF = "InvalidDBProxyEndpointStateFault" +_DBPTGN = "DBProxyTargetGroupName" + +DB_INSTANCE_ROLES: StaticSchema = ( + 16, + n0, + _DBIRn, + 0, + (_m,), + ((lambda: schemas.DB_INSTANCE_ROLE, {_sN: _DBIR}),), +) + +AUTOMATION_MODE: StaticSchema = ( + 14, + n0, + _AM, + 0, + (_FULL, _AP_), + ((-1, {_sV: _fu}), (-1, {_sV: _ap})), +) + +DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION: StaticSchema = ( + 18, + n0, + _DBIABR, + 0, + (_DBIABA,), + ((lambda: schemas.STRING, 0),), +) + +DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_LIST: StaticSchema = ( + 16, + n0, + _DBIABRL, + 0, + (_m,), + ((DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION, {_sN: _DBIABR}),), +) + +DB_PARAMETER_GROUP_STATUS: StaticSchema = ( + 18, + n0, + _DBPGS, + 0, + (_DBPGN, _PAS), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DB_PARAMETER_GROUP_STATUS_LIST: StaticSchema = ( + 16, + n0, + _DBPGSL, + 0, + (_m,), + ((DB_PARAMETER_GROUP_STATUS, {_sN: _DBPG}),), +) + +AVAILABILITY_ZONE: StaticSchema = ( + 18, + n0, + _AZ, + 0, + (_N,), + ((lambda: schemas.STRING, 0),), +) + +OUTPOST: StaticSchema = (18, n0, _Ou, 0, (_Ar,), ((lambda: schemas.STRING, 0),)) + +SUBNET: StaticSchema = ( + 18, + n0, + _Su, + 0, + (_SIub, _SAZu, _SO, _SSu), + ( + (lambda: schemas.STRING, 0), + (AVAILABILITY_ZONE, 0), + (OUTPOST, 0), + (lambda: schemas.STRING, 0), + ), +) + +SUBNET_LIST: StaticSchema = (16, n0, _SLu, 0, (_m,), ((SUBNET, {_sN: _Su}),)) + +DB_SUBNET_GROUP: StaticSchema = ( + 18, + n0, + _DBSGu, + 0, + (_DBSGNu, _DBSGDu, _VI, _SGS, _Sub, _DBSGAu, _SNT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (SUBNET_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +ENDPOINT: StaticSchema = ( + 18, + n0, + _End, + 0, + (_Ad, _P, _HZI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +OPTION_GROUP_MEMBERSHIP: StaticSchema = ( + 18, + n0, + _OGM, + 0, + (_OGN, _St), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +OPTION_GROUP_MEMBERSHIP_LIST: StaticSchema = ( + 16, + n0, + _OGML, + 0, + (_m,), + ((OPTION_GROUP_MEMBERSHIP, {_sN: _OGM}),), +) + +PENDING_MODIFIED_VALUES: StaticSchema = ( + 18, + n0, + _PMV, + 0, + ( + _DBIC, + _AS, + _MUP, + _P, + _BRP, + _MAZ, + _EV, + _LM, + _Io, + _ST, + _DBII, + _STt, + _CACI, + _DBSGNu, + _PCLE, + _PFr, + _AM, + _RFAMT, + _MT, + _IAMDAE, + _DLV, + _En, + _ASVd, + _DBCRI, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.PENDING_CLOUDWATCH_LOGS_EXPORTS, 0), + (lambda: schemas.PROCESSOR_FEATURE_LIST, 0), + (AUTOMATION_MODE, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADDITIONAL_STORAGE_VOLUMES_LIST, 0), + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + ), +) + +READ_REPLICA_DB_CLUSTER_IDENTIFIER_LIST: StaticSchema = ( + 16, + n0, + _RRDBCIL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _RRDBCI}),), +) + +READ_REPLICA_DB_INSTANCE_IDENTIFIER_LIST: StaticSchema = ( + 16, + n0, + _RRDBIIL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _RRDBII}),), +) + +DB_INSTANCE_STATUS_INFO: StaticSchema = ( + 18, + n0, + _DBISI, + 0, + (_STta, _No, _St, _Me), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +DB_INSTANCE_STATUS_INFO_LIST: StaticSchema = ( + 16, + n0, + _DBISIL, + 0, + (_m,), + ((DB_INSTANCE_STATUS_INFO, {_sN: _DBISI}),), +) + +DB_INSTANCE: StaticSchema = ( + 18, + n0, + _DBI, + 0, + ( + _DBII, + _DBIC, + _En, + _DBIS, + _MU, + _DBN, + _End, + _AS, + _ICT, + _PBW, + _BRP, + _DBSGe, + _VSG, + _DBPGa, + _AZ, + _DBSGu, + _PMW, + _URO, + _PMV, + _LRT, + _MAZ, + _EV, + _AMVU, + _RRSDBII, + _RRDBIIe, + _RRDBCIe, + _RM, + _LM, + _Io, + _ST, + _OGMp, + _CSN, + _NCSN, + _SAZe, + _PA, + _SIt, + _STt, + _SET, + _TCA, + _DIP, + _DBCI, + _SE, + _KKI, + _DRI, + _CACI, + _DMo, + _CTTS, + _MI, + _EMRA, + _MRA, + _PT, + _DBIA, + _Ti, + _IAMDAE, + _DIM, + _PIE, + _PIKMSKI, + _PIRP, + _ECLEn, + _PFr, + _DP, + _AR, + _LE, + _MAS, + _TL, + _AM, + _RFAMT, + _COIE, + _NT, + _ASS, + _ASKKI, + _ASKSN, + _ASM, + _ASENAFI, + _ABRPA, + _DBIABRn, + _BTa, + _ART, + _CIIP, + _ASPS, + _CDe, + _DBSI, + _MUS, + _RRSDBCI, + _PP, + _MT, + _DLV, + _ISCUA, + _ELS, + _ASVd, + _SVS, + _SOS, + _SOPP, + _DBCRI, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (ENDPOINT, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.DB_SECURITY_GROUP_MEMBERSHIP_LIST, 0), + (lambda: schemas.VPC_SECURITY_GROUP_MEMBERSHIP_LIST, 0), + (DB_PARAMETER_GROUP_STATUS_LIST, 0), + (lambda: schemas.STRING, 0), + (DB_SUBNET_GROUP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.UPGRADE_ROLLOUT_ORDER, 0), + (PENDING_MODIFIED_VALUES, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (READ_REPLICA_DB_INSTANCE_IDENTIFIER_LIST, 0), + (READ_REPLICA_DB_CLUSTER_IDENTIFIER_LIST, 0), + (lambda: schemas.REPLICA_MODE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (OPTION_GROUP_MEMBERSHIP_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (DB_INSTANCE_STATUS_INFO_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STORAGE_ENCRYPTION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DOMAIN_MEMBERSHIP_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.DATABASE_INSIGHTS_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (DB_INSTANCE_ROLES, 0), + (ENDPOINT, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.TAG_LIST, 0), + (AUTOMATION_MODE, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACTIVITY_STREAM_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACTIVITY_STREAM_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACTIVITY_STREAM_POLICY_STATUS, 0), + (lambda: schemas.CERTIFICATE_DETAILS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MASTER_USER_SECRET, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADDITIONAL_STORAGE_VOLUMES_OUTPUT_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + ), +) + +PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT: StaticSchema = ( + 18, + n0, + _PINAIAZF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ProvisionedIopsNotAvailableInAZFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_DB_INSTANCE_READ_REPLICA_INPUT: StaticSchema = ( + 18, + n0, + _CDBIRRI, + {_sSI: _cCDBIRRM, _smi: None}, + ( + _DBII, + _SDBII, + _DBIC, + _AZ, + _P, + _MAZ, + _AMVU, + _Io, + _ST, + _OGN, + _DBPGN, + _PA, + _Ta, + _DBSGNu, + _VSGIp, + _STt, + _CTTS, + _MI, + _MRA, + _KKI, + _PSU, + _EIAMDA, + _DIM, + _EPI, + _PIKMSKI, + _PIRP, + _ECLE, + _PFr, + _UDPF, + _DP, + _Do, + _DIAMRN, + _DF, + _DOo, + _DASA, + _DDI, + _RM, + _ECOI, + _NT, + _MAS, + _BTa, + _CIIP, + _AS, + _SDBCI, + _DLV, + _USC, + _CACI, + _ASVd, + _TSag, + _DBCRI, + ), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.DATABASE_INSIGHTS_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.REPLICA_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ADDITIONAL_STORAGE_VOLUMES_LIST, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + ), +) + +CREATE_DB_INSTANCE_READ_REPLICA_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBIRRO, + {_sSI: _cCDBIRRR, _smit: None}, + (_DBI,), + ((DB_INSTANCE, 0),), +) + +CREATE_DB_INSTANCE_READ_REPLICA: StaticOperationSchema = ( + 23, + n0, + _CDBIRR, + 0, + CREATE_DB_INSTANCE_READ_REPLICA_INPUT, + CREATE_DB_INSTANCE_READ_REPLICA_OUTPUT, + ( + lambda: schemas.CERTIFICATE_NOT_FOUND_FAULT, + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SECURITY_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + lambda: DB_SUBNET_GROUP_NOT_ALLOWED_FAULT, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DOMAIN_NOT_FOUND_FAULT, + lambda: schemas.INSTANCE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_DB_SUBNET_GROUP_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: schemas.TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +DB_SUBNET_GROUP_NOT_ALLOWED_FAULT: StaticSchema = ( + 18, + n0, + _DBSGNAF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBSubnetGroupNotAllowedFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CDBPGIr, + {_sSI: _cCDBPGMo, _smi: None}, + (_DBPGN, _DBPGF, _D, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBPGOr, + {_sSI: _cCDBPGRo, _smit: None}, + (_DBPG,), + ((lambda: schemas.DB_PARAMETER_GROUP, 0),), +) + +CREATE_DB_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _CDBPGr, + 0, + CREATE_DB_PARAMETER_GROUP_INPUT, + CREATE_DB_PARAMETER_GROUP_OUTPUT, + ( + lambda: schemas.DB_PARAMETER_GROUP_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_QUOTA_EXCEEDED_FAULT, + ), +) + +AUTH_SCHEME: StaticSchema = (14, n0, _ASu, 0, (_SECRETS,), ((-1, {_sV: _SECRETS}),)) + +CLIENT_PASSWORD_AUTH_TYPE: StaticSchema = ( + 14, + n0, + _CPAT, + 0, + (_MNP, _MCSP, _PSS, _PM, _SSA), + ( + (-1, {_sV: _MNP}), + (-1, {_sV: _MCSP}), + (-1, {_sV: _PSS}), + (-1, {_sV: _PM}), + (-1, {_sV: _SSA}), + ), +) + +IAM_AUTH_MODE: StaticSchema = ( + 14, + n0, + _IAMAM, + 0, + (_DISABLED, _REQUIRED, _ENABLED), + ((-1, {_sV: _DISABLED}), (-1, {_sV: _REQUIRED}), (-1, {_sV: _ENABLED})), +) + +AUTH_USER_NAME: StaticSchema = (3, n0, _AUN, 0) + +USER_AUTH_CONFIG: StaticSchema = ( + 18, + n0, + _UAC, + 0, + (_D, _UN, _ASu, _SAe, _IAMA, _CPAT), + ( + (lambda: schemas.DESCRIPTION, 0), + (AUTH_USER_NAME, 0), + (AUTH_SCHEME, 0), + (lambda: schemas.ARN, 0), + (IAM_AUTH_MODE, 0), + (CLIENT_PASSWORD_AUTH_TYPE, 0), + ), +) + +USER_AUTH_CONFIG_LIST: StaticSchema = ( + 16, + n0, + _UACL, + 0, + (_m,), + ((USER_AUTH_CONFIG, 0),), +) + +DB_PROXY_NAME: StaticSchema = (3, n0, _DBPN, 0) + +DEFAULT_AUTH_SCHEME: StaticSchema = ( + 14, + n0, + _DAS, + 0, + (_IA, _NONE), + ((-1, {_sV: _IA}), (-1, {_sV: _NONE})), +) + +ENDPOINT_NETWORK_TYPE: StaticSchema = ( + 14, + n0, + _ENT, + 0, + (_IPV, _IPV_, _DUAL), + ((-1, {_sV: _IPV}), (-1, {_sV: _IPV_}), (-1, {_sV: _DUAL})), +) + +ENGINE_FAMILY: StaticSchema = ( + 14, + n0, + _EF, + 0, + (_MYSQL, _POSTGRESQL, _SQLSERVER), + ((-1, {_sV: _MYSQL}), (-1, {_sV: _POSTGRESQL}), (-1, {_sV: _SQLSERVER})), +) + +TARGET_CONNECTION_NETWORK_TYPE: StaticSchema = ( + 14, + n0, + _TCNT, + 0, + (_IPV, _IPV_), + ((-1, {_sV: _IPV}), (-1, {_sV: _IPV_})), +) + +CREATE_DB_PROXY_INPUT: StaticSchema = ( + 18, + n0, + _CDBPI, + {_sSI: _cCDBPR, _smi: None}, + (_DBPN, _EF, _DAS, _Au, _RA, _VSI, _VSGIp, _RTLS, _ICTd, _DL, _Ta, _ENT, _TCNT), + ( + (DB_PROXY_NAME, 1), + (ENGINE_FAMILY, 1), + (DEFAULT_AUTH_SCHEME, 0), + (USER_AUTH_CONFIG_LIST, 0), + (lambda: schemas.ARN, 1), + (lambda: schemas.STRING_LIST, 1), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_LIST, 0), + (ENDPOINT_NETWORK_TYPE, 0), + (TARGET_CONNECTION_NETWORK_TYPE, 0), + ), +) + +CREATE_DB_PROXY_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBPO, + {_sSI: _cCDBPRo, _smit: None}, + (_DBP,), + ((lambda: DB_PROXY, 0),), +) + +CREATE_DB_PROXY: StaticOperationSchema = ( + 23, + n0, + _CDBP, + 0, + CREATE_DB_PROXY_INPUT, + CREATE_DB_PROXY_OUTPUT, + ( + lambda: DB_PROXY_ALREADY_EXISTS_FAULT, + lambda: DB_PROXY_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INVALID_SUBNET, + ), +) + +USER_AUTH_CONFIG_INFO: StaticSchema = ( + 18, + n0, + _UACI, + 0, + (_D, _UN, _ASu, _SAe, _IAMA, _CPAT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (AUTH_SCHEME, 0), + (lambda: schemas.STRING, 0), + (IAM_AUTH_MODE, 0), + (CLIENT_PASSWORD_AUTH_TYPE, 0), + ), +) + +USER_AUTH_CONFIG_INFO_LIST: StaticSchema = ( + 16, + n0, + _UACIL, + 0, + (_m,), + ((USER_AUTH_CONFIG_INFO, 0),), +) + +DB_PROXY_STATUS: StaticSchema = ( + 14, + n0, + _DBPS, + 0, + ( + _AVAILABLE, + _MODIFYING, + _IN, + _IRL, + _CREATING, + _DELETING, + _SUSPENDED, + _SUSPENDING, + _REACTIVATING, + ), + ( + (-1, {_sV: _av}), + (-1, {_sV: _mod}), + (-1, {_sV: _in}), + (-1, {_sV: _irl}), + (-1, {_sV: _cr}), + (-1, {_sV: _de}), + (-1, {_sV: _su}), + (-1, {_sV: _sus}), + (-1, {_sV: _re}), + ), +) + +DB_PROXY: StaticSchema = ( + 18, + n0, + _DBP, + 0, + ( + _DBPN, + _DBPA, + _St, + _EF, + _VI, + _VSGIp, + _VSI, + _DAS, + _Au, + _RA, + _End, + _RTLS, + _ICTd, + _DL, + _CDr, + _UD, + _ENT, + _TCNT, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DB_PROXY_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + (USER_AUTH_CONFIG_INFO_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (ENDPOINT_NETWORK_TYPE, 0), + (TARGET_CONNECTION_NETWORK_TYPE, 0), + ), +) + +DB_PROXY_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBPAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBProxyAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_PROXY_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBPQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBProxyQuotaExceededFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_PROXY_ENDPOINT_NAME: StaticSchema = (3, n0, _DBPEN, 0) + +DB_PROXY_ENDPOINT_TARGET_ROLE: StaticSchema = ( + 14, + n0, + _DBPETR, + 0, + (_RW, _RO), + ((-1, {_sV: _RW}), (-1, {_sV: _RO})), +) + +CREATE_DB_PROXY_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CDBPEI, + {_sSI: _cCDBPER, _smi: None}, + (_DBPN, _DBPEN, _VSI, _VSGIp, _TR, _Ta, _ENT), + ( + (DB_PROXY_NAME, 1), + (DB_PROXY_ENDPOINT_NAME, 1), + (lambda: schemas.STRING_LIST, 1), + (lambda: schemas.STRING_LIST, 0), + (DB_PROXY_ENDPOINT_TARGET_ROLE, 0), + (lambda: schemas.TAG_LIST, 0), + (ENDPOINT_NETWORK_TYPE, 0), + ), +) + +CREATE_DB_PROXY_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBPEO, + {_sSI: _cCDBPERo, _smit: None}, + (_DBPE,), + ((lambda: DB_PROXY_ENDPOINT, 0),), +) + +CREATE_DB_PROXY_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CDBPE, + 0, + CREATE_DB_PROXY_ENDPOINT_INPUT, + CREATE_DB_PROXY_ENDPOINT_OUTPUT, + ( + lambda: DB_PROXY_ENDPOINT_ALREADY_EXISTS_FAULT, + lambda: DB_PROXY_ENDPOINT_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + lambda: INVALID_DB_PROXY_STATE_FAULT, + lambda: schemas.INVALID_SUBNET, + ), +) + +DB_PROXY_ENDPOINT_STATUS: StaticSchema = ( + 14, + n0, + _DBPES, + 0, + (_AVAILABLE, _MODIFYING, _IN, _IRL, _CREATING, _DELETING), + ( + (-1, {_sV: _av}), + (-1, {_sV: _mod}), + (-1, {_sV: _in}), + (-1, {_sV: _irl}), + (-1, {_sV: _cr}), + (-1, {_sV: _de}), + ), +) + +DB_PROXY_ENDPOINT: StaticSchema = ( + 18, + n0, + _DBPE, + 0, + (_DBPEN, _DBPEA, _DBPN, _St, _VI, _VSGIp, _VSI, _End, _CDr, _TR, _ID, _ENT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DB_PROXY_ENDPOINT_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (DB_PROXY_ENDPOINT_TARGET_ROLE, 0), + (lambda: schemas.BOOLEAN, 0), + (ENDPOINT_NETWORK_TYPE, 0), + ), +) + +DB_PROXY_ENDPOINT_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBPEAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBProxyEndpointAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_PROXY_ENDPOINT_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBPEQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBProxyEndpointQuotaExceededFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_PROXY_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBPSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBProxyStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_DB_SECURITY_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CDBSGI, + {_sSI: _cCDBSGM, _smi: None}, + (_DBSGN, _DBSGD, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_SECURITY_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBSGO, + {_sSI: _cCDBSGR, _smit: None}, + (_DBSG,), + ((lambda: schemas.DB_SECURITY_GROUP, 0),), +) + +CREATE_DB_SECURITY_GROUP: StaticOperationSchema = ( + 23, + n0, + _CDBSG, + 0, + CREATE_DB_SECURITY_GROUP_INPUT, + CREATE_DB_SECURITY_GROUP_OUTPUT, + ( + lambda: DB_SECURITY_GROUP_ALREADY_EXISTS_FAULT, + lambda: DB_SECURITY_GROUP_NOT_SUPPORTED_FAULT, + lambda: DB_SECURITY_GROUP_QUOTA_EXCEEDED_FAULT, + ), +) + +DB_SECURITY_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBSGAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBSecurityGroupAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_SECURITY_GROUP_NOT_SUPPORTED_FAULT: StaticSchema = ( + 18, + n0, + _DBSGNSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBSecurityGroupNotSupported", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_SECURITY_GROUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBSGQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "QuotaExceeded.DBSecurityGroup", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_DB_SHARD_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CDBSGIr, + {_sSI: _cCDBSGMo, _smi: None}, + (_DBSGI, _DBCI, _CR, _MACU, _MACUi, _PA, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 1), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_SHARD_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBSGOr, + {_sSI: _cDBSG, _smit: None}, + (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_SHARD_GROUP_IDENTIFIER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_SHARD_GROUP: StaticOperationSchema = ( + 23, + n0, + _CDBSGr, + 0, + CREATE_DB_SHARD_GROUP_INPUT, + CREATE_DB_SHARD_GROUP_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_SHARD_GROUP_ALREADY_EXISTS_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: MAX_DB_SHARD_GROUP_LIMIT_REACHED, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.UNSUPPORTED_DB_ENGINE_VERSION_FAULT, + ), +) + +MAX_DB_SHARD_GROUP_LIMIT_REACHED: StaticSchema = ( + 18, + n0, + _MDBSGLR, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "MaxDBShardGroupLimitReached", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBIABNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBInstanceAutomatedBackupNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_INSTANCE_AUTOMATED_BACKUP_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBIABSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBInstanceAutomatedBackupState", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INVALID_DB_PROXY_ENDPOINT_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBPESF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBProxyEndpointStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_PROXY_TARGET_GROUP_NAME: StaticSchema = (3, n0, _DBPTGN, 0) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_4.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_4.py new file mode 100644 index 000000000..4fa781547 --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_4.py @@ -0,0 +1,1706 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#required" +_AS = "AllocatedStorage" +_ST = "StorageThroughput" +_STt = "StorageType" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_sU = "smithy.api#Unit" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_SN = "SubscriptionName" +_ES = "EventSubscription" +_STA = "SnsTopicArn" +_St = "Status" +_STo = "SourceType" +_E = "Enabled" +_TL = "TagList" +_Ta = "Tags" +_D = "Description" +_VI = "VpcId" +_AZ = "AvailabilityZone" +_ac = "active" +_p = "pending" +_f = "failed" +_En = "Engine" +_LM = "LicenseModel" +_SA = "SourceArn" +_KKI = "KmsKeyId" +_DBCPGN = "DBClusterParameterGroupName" +_DBPGF = "DBParameterGroupFamily" +_AZv = "AvailabilityZones" +_SET = "StorageEncryptionType" +_DBCS = "DBClusterSnapshot" +_DBCSI = "DBClusterSnapshotIdentifier" +_EMn = "EngineMode" +_P = "Port" +_CCT = "ClusterCreateTime" +_MU = "MasterUsername" +_EV = "EngineVersion" +_SE = "StorageEncrypted" +_BRP = "BackupRetentionPeriod" +_PBW = "PreferredBackupWindow" +_IAMDAE = "IAMDatabaseAuthenticationEnabled" +_DCRI = "DbClusterResourceId" +_OGN = "OptionGroupName" +_DBS = "DBSnapshot" +_DBSIn = "DBSnapshotIdentifier" +_ICT = "InstanceCreateTime" +_Io = "Iops" +_TCA = "TdeCredentialArn" +_Enc = "Encrypted" +_Ti = "Timezone" +_DRI = "DbiResourceId" +_MT = "MultiTenant" +_DLV = "DedicatedLogVolume" +_ASVd = "AdditionalStorageVolumes" +_OG = "OptionGroup" +_OGD = "OptionGroupDescription" +_EN = "EngineName" +_MEV = "MajorEngineVersion" +_BGDI = "BlueGreenDeploymentIdentifier" +_BGD = "BlueGreenDeployment" +_CTr = "CreateTime" +_CDBEVM = "CustomDBEngineVersionManifest" +_DIFSBN = "DatabaseInstallationFilesS3BucketName" +_DIFSP = "DatabaseInstallationFilesS3Prefix" +_DIF = "DatabaseInstallationFiles" +_KMSKI = "KMSKeyId" +_CSN = "CharacterSetName" +_SVFS = "ServerlessV2FeaturesSupport" +_SEM = "SupportedEngineModes" +_SPQ = "SupportsParallelQuery" +_SGD = "SupportsGlobalDatabases" +_SBu = "SupportsBabelfish" +_SLD = "SupportsLimitlessDatabase" +_SLWF = "SupportsLocalWriteForwarding" +_SIu = "SupportsIntegrations" +_cDBEV = "com.amazonaws.rds#DBEngineVersion" +_DBED = "DBEngineDescription" +_DBEVA = "DBEngineVersionArn" +_DBEVD = "DBEngineVersionDescription" +_DCS = "DefaultCharacterSet" +_FR = "FailureReason" +_Im = "Image" +_DBEMT = "DBEngineMediaType" +_SCS = "SupportedCharacterSets" +_SNCS = "SupportedNcharCharacterSets" +_VUT = "ValidUpgradeTarget" +_STu = "SupportedTimezones" +_ELT = "ExportableLogTypes" +_SLETCL = "SupportsLogExportsToCloudwatchLogs" +_SRR = "SupportsReadReplica" +_SFN = "SupportedFeatureNames" +_SCRWR = "SupportsCertificateRotationWithoutRestart" +_SCACI = "SupportedCACertificateIdentifiers" +_GCI = "GlobalClusterIdentifier" +_DN = "DatabaseName" +_DBSGNu = "DBSubnetGroupName" +_MUP = "MasterUserPassword" +_DP = "DeletionProtection" +_MMUP = "ManageMasterUserPassword" +_MUSKKI = "MasterUserSecretKmsKeyId" +_ELS = "EngineLifecycleSupport" +_ACTIVE = "ACTIVE" +_MUS = "MasterUserSecret" +_DBC = "DBCluster" +_DBSGu = "DBSubnetGroup" +_End = "Endpoint" +_DBCA = "DBClusterArn" +_PMV = "PendingModifiedValues" +_GWFS = "GlobalWriteForwardingStatus" +_ABRPA = "AwsBackupRecoveryPointArn" +_DBCEI = "DBClusterEndpointIdentifier" +_ET = "EndpointType" +_SMt = "StaticMembers" +_EMx = "ExcludedMembers" +_cDBCE = "com.amazonaws.rds#DBClusterEndpoint" +_DBCERI = "DBClusterEndpointResourceIdentifier" +_CETu = "CustomEndpointType" +_DBCEA = "DBClusterEndpointArn" +_NCSN = "NcharCharacterSetName" +_BTa = "BackupTarget" +_DBIABA = "DBInstanceAutomatedBackupsArn" +_Ar = "Arn" +_SIub = "SubnetIdentifier" +_DBSGDu = "DBSubnetGroupDescription" +_DBI = "DBInstance" +_DBIA = "DBInstanceArn" +_DBIABRn = "DBInstanceAutomatedBackupsReplications" +_SDBCI = "SourceDBClusterIdentifier" +_MODIFYING = "MODIFYING" +_mod = "modifying" +_CREATING = "CREATING" +_cr = "creating" +_DELETING = "DELETING" +_de = "deleting" +_UDBEVF = "UnsupportedDBEngineVersionFault" +_CDBSIr = "CreateDBSnapshotInput" +_cCDBSMo = "com.amazonaws.rds#CreateDBSnapshotMessage" +_CDBSOr = "CreateDBSnapshotOutput" +_cCDBSRo = "com.amazonaws.rds#CreateDBSnapshotResult" +_CDBSr = "CreateDBSnapshot" +_SILu = "SubnetIdentifierList" +_CDBSGIre = "CreateDBSubnetGroupInput" +_cCDBSGMom = "com.amazonaws.rds#CreateDBSubnetGroupMessage" +_SIubn = "SubnetIds" +_CDBSGOre = "CreateDBSubnetGroupOutput" +_cCDBSGRo = "com.amazonaws.rds#CreateDBSubnetGroupResult" +_DBSGAEFu = "DBSubnetGroupAlreadyExistsFault" +_DBSGQEFu = "DBSubnetGroupQuotaExceededFault" +_DBSQEF = "DBSubnetQuotaExceededFault" +_CDBSGre = "CreateDBSubnetGroup" +_CESI = "CreateEventSubscriptionInput" +_cCESM = "com.amazonaws.rds#CreateEventSubscriptionMessage" +_ECv = "EventCategories" +_SIou = "SourceIds" +_CESO = "CreateEventSubscriptionOutput" +_cCESR = "com.amazonaws.rds#CreateEventSubscriptionResult" +_ESQEF = "EventSubscriptionQuotaExceededFault" +_SNSITF = "SNSInvalidTopicFault" +_SNSNAF = "SNSNoAuthorizationFault" +_SNSTANFF = "SNSTopicArnNotFoundFault" +_SAEF = "SubscriptionAlreadyExistFault" +_SCNFF = "SubscriptionCategoryNotFoundFault" +_CES = "CreateEventSubscription" +_CGCI = "CreateGlobalClusterInput" +_cCGCM = "com.amazonaws.rds#CreateGlobalClusterMessage" +_FS = "FailoverStatus" +_PENDING = "PENDING" +_FO = "FAILING_OVER" +_fo = "failing-over" +_CANCELLING = "CANCELLING" +_can = "cancelling" +_FSa = "FailoverState" +_FDCA = "FromDbClusterArn" +_TDCA = "ToDbClusterArn" +_IDLA = "IsDataLossAllowed" +_RAL = "ReadersArnList" +_GCMSS = "GlobalClusterMemberSynchronizationStatus" +_CONNECTED = "CONNECTED" +_co = "connected" +_PR = "PENDING_RESYNC" +_pr = "pending-resync" +_GCM = "GlobalClusterMember" +_R = "Readers" +_IW = "IsWriter" +_SSy = "SynchronizationStatus" +_GCML = "GlobalClusterMemberList" +_GC = "GlobalCluster" +_GCRI = "GlobalClusterResourceId" +_GCA = "GlobalClusterArn" +_GCMl = "GlobalClusterMembers" +_CGCO = "CreateGlobalClusterOutput" +_cCGCR = "com.amazonaws.rds#CreateGlobalClusterResult" +_GCAEF = "GlobalClusterAlreadyExistsFault" +_GCQEF = "GlobalClusterQuotaExceededFault" +_CGC = "CreateGlobalCluster" +_ECM = "EncryptionContextMap" +_k = "key" +_v = "value" +_DFa = "DataFilter" +_IDn = "IntegrationDescription" +_INn = "IntegrationName" +_CII = "CreateIntegrationInput" +_cCIM = "com.amazonaws.rds#CreateIntegrationMessage" +_TAa = "TargetArn" +_AEC = "AdditionalEncryptionContext" +_IE = "IntegrationError" +_ECr = "ErrorCode" +_EMr = "ErrorMessage" +_IEL = "IntegrationErrorList" +_IAn = "IntegrationArn" +_ISn = "IntegrationStatus" +_FAILED = "FAILED" +_SYNCING = "SYNCING" +_sy = "syncing" +_NA = "NEEDS_ATTENTION" +_na = "needs_attention" +_CIO = "CreateIntegrationOutput" +_cI = "com.amazonaws.rds#Integration" +_Er = "Errors" +_IAEF = "IntegrationAlreadyExistsFault" +_ICOF = "IntegrationConflictOperationFault" +_IQEFn = "IntegrationQuotaExceededFault" +_CIr = "CreateIntegration" +_COGIr = "CreateOptionGroupInput" +_cCOGMo = "com.amazonaws.rds#CreateOptionGroupMessage" +_COGOr = "CreateOptionGroupOutput" +_cCOGRo = "com.amazonaws.rds#CreateOptionGroupResult" +_COGr = "CreateOptionGroup" +_CTDI = "CreateTenantDatabaseInput" +_cCTDM = "com.amazonaws.rds#CreateTenantDatabaseMessage" +_TDBN = "TenantDBName" +_TDPMV = "TenantDatabasePendingModifiedValues" +_TD = "TenantDatabase" +_TDCT = "TenantDatabaseCreateTime" +_TDRI = "TenantDatabaseResourceId" +_TDARN = "TenantDatabaseARN" +_CTDO = "CreateTenantDatabaseOutput" +_cCTDR = "com.amazonaws.rds#CreateTenantDatabaseResult" +_TDAEF = "TenantDatabaseAlreadyExistsFault" +_CTD = "CreateTenantDatabase" +_DBGDI = "DeleteBlueGreenDeploymentInput" +_cDBGDR = "com.amazonaws.rds#DeleteBlueGreenDeploymentRequest" +_DTel = "DeleteTarget" +_DBGDO = "DeleteBlueGreenDeploymentOutput" +_cDBGDRo = "com.amazonaws.rds#DeleteBlueGreenDeploymentResponse" +_DBGD = "DeleteBlueGreenDeployment" +_DCDBEVI = "DeleteCustomDBEngineVersionInput" +_cDCDBEVM = "com.amazonaws.rds#DeleteCustomDBEngineVersionMessage" +_DCDBEVO = "DeleteCustomDBEngineVersionOutput" +_DCDBEV = "DeleteCustomDBEngineVersion" +_DBCABQEF = "DBClusterAutomatedBackupQuotaExceededFault" +_DDBCI = "DeleteDBClusterInput" +_cDDBCM = "com.amazonaws.rds#DeleteDBClusterMessage" +_SFS = "SkipFinalSnapshot" +_FDBSI = "FinalDBSnapshotIdentifier" +_DAB = "DeleteAutomatedBackups" +_DDBCO = "DeleteDBClusterOutput" +_cDDBCR = "com.amazonaws.rds#DeleteDBClusterResult" +_DDBC = "DeleteDBCluster" +_DBCABNFF = "DBClusterAutomatedBackupNotFoundFault" +_DDBCABI = "DeleteDBClusterAutomatedBackupInput" +_cDDBCABM = "com.amazonaws.rds#DeleteDBClusterAutomatedBackupMessage" +_RWe = "RestoreWindow" +_ETa = "EarliestTime" +_LT = "LatestTime" +_DBCAB = "DBClusterAutomatedBackup" +_DBCABA = "DBClusterAutomatedBackupsArn" +_Re = "Region" +_DDBCABO = "DeleteDBClusterAutomatedBackupOutput" +_cDDBCABR = "com.amazonaws.rds#DeleteDBClusterAutomatedBackupResult" +_IDBCABSF = "InvalidDBClusterAutomatedBackupStateFault" +_DDBCAB = "DeleteDBClusterAutomatedBackup" +_DBCENFF = "DBClusterEndpointNotFoundFault" +_DDBCEI = "DeleteDBClusterEndpointInput" +_cDDBCEM = "com.amazonaws.rds#DeleteDBClusterEndpointMessage" +_DDBCEO = "DeleteDBClusterEndpointOutput" +_DDBCE = "DeleteDBClusterEndpoint" +_DDBCPGI = "DeleteDBClusterParameterGroupInput" +_cDDBCPGM = "com.amazonaws.rds#DeleteDBClusterParameterGroupMessage" +_DDBCPGO = "DeleteDBClusterParameterGroupOutput" +_DDBCPG = "DeleteDBClusterParameterGroup" +_DDBCSI = "DeleteDBClusterSnapshotInput" +_cDDBCSM = "com.amazonaws.rds#DeleteDBClusterSnapshotMessage" +_DDBCSO = "DeleteDBClusterSnapshotOutput" +_cDDBCSR = "com.amazonaws.rds#DeleteDBClusterSnapshotResult" +_DDBCS = "DeleteDBClusterSnapshot" +_DBIABQEF = "DBInstanceAutomatedBackupQuotaExceededFault" +_DDBII = "DeleteDBInstanceInput" +_cDDBIM = "com.amazonaws.rds#DeleteDBInstanceMessage" +_DDBIO = "DeleteDBInstanceOutput" +_cDDBIR = "com.amazonaws.rds#DeleteDBInstanceResult" +_DDBI = "DeleteDBInstance" +_DDBIABI = "DeleteDBInstanceAutomatedBackupInput" +_cDDBIABM = "com.amazonaws.rds#DeleteDBInstanceAutomatedBackupMessage" +_DBIAB = "DBInstanceAutomatedBackup" +_DDBIABO = "DeleteDBInstanceAutomatedBackupOutput" +_cDDBIABR = "com.amazonaws.rds#DeleteDBInstanceAutomatedBackupResult" +_DDBIAB = "DeleteDBInstanceAutomatedBackup" + +ARN: StaticSchema = (3, n0, _Ar, 0) + +UNSUPPORTED_DB_ENGINE_VERSION_FAULT: StaticSchema = ( + 18, + n0, + _UDBEVF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "UnsupportedDBEngineVersion", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_DB_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _CDBSIr, + {_sSI: _cCDBSMo, _smi: None}, + (_DBSIn, _DBII, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBSOr, + {_sSI: _cCDBSRo, _smit: None}, + (_DBS,), + ((lambda: schemas.DB_SNAPSHOT, 0),), +) + +CREATE_DB_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _CDBSr, + 0, + CREATE_DB_SNAPSHOT_INPUT, + CREATE_DB_SNAPSHOT_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_ALREADY_EXISTS_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.SNAPSHOT_QUOTA_EXCEEDED_FAULT, + ), +) + +SUBNET_IDENTIFIER_LIST: StaticSchema = ( + 16, + n0, + _SILu, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _SIub}),), +) + +CREATE_DB_SUBNET_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _CDBSGIre, + {_sSI: _cCDBSGMom, _smi: None}, + (_DBSGNu, _DBSGDu, _SIubn, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (SUBNET_IDENTIFIER_LIST, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_DB_SUBNET_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _CDBSGOre, + {_sSI: _cCDBSGRo, _smit: None}, + (_DBSGu,), + ((lambda: schemas.DB_SUBNET_GROUP, 0),), +) + +CREATE_DB_SUBNET_GROUP: StaticOperationSchema = ( + 23, + n0, + _CDBSGre, + 0, + CREATE_DB_SUBNET_GROUP_INPUT, + CREATE_DB_SUBNET_GROUP_OUTPUT, + ( + lambda: DB_SUBNET_GROUP_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + lambda: DB_SUBNET_GROUP_QUOTA_EXCEEDED_FAULT, + lambda: DB_SUBNET_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INVALID_SUBNET, + ), +) + +DB_SUBNET_GROUP_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _DBSGAEFu, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBSubnetGroupAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_SUBNET_GROUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBSGQEFu, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBSubnetGroupQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_SUBNET_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBSQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBSubnetQuotaExceededFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_EVENT_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _CESI, + {_sSI: _cCESM, _smi: None}, + (_SN, _STA, _STo, _ECv, _SIou, _E, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.EVENT_CATEGORIES_LIST, 0), + (lambda: schemas.SOURCE_IDS_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_EVENT_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CESO, + {_sSI: _cCESR, _smit: None}, + (_ES,), + ((lambda: schemas.EVENT_SUBSCRIPTION, 0),), +) + +CREATE_EVENT_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _CES, + 0, + CREATE_EVENT_SUBSCRIPTION_INPUT, + CREATE_EVENT_SUBSCRIPTION_OUTPUT, + ( + lambda: EVENT_SUBSCRIPTION_QUOTA_EXCEEDED_FAULT, + lambda: SNS_INVALID_TOPIC_FAULT, + lambda: SNS_NO_AUTHORIZATION_FAULT, + lambda: SNS_TOPIC_ARN_NOT_FOUND_FAULT, + lambda: schemas.SOURCE_NOT_FOUND_FAULT, + lambda: SUBSCRIPTION_ALREADY_EXIST_FAULT, + lambda: SUBSCRIPTION_CATEGORY_NOT_FOUND_FAULT, + ), +) + +EVENT_SUBSCRIPTION_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _ESQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "EventSubscriptionQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +SNS_INVALID_TOPIC_FAULT: StaticSchema = ( + 18, + n0, + _SNSITF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "SNSInvalidTopic", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +SNS_NO_AUTHORIZATION_FAULT: StaticSchema = ( + 18, + n0, + _SNSNAF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "SNSNoAuthorization", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +SNS_TOPIC_ARN_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _SNSTANFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "SNSTopicArnNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +SUBSCRIPTION_ALREADY_EXIST_FAULT: StaticSchema = ( + 18, + n0, + _SAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "SubscriptionAlreadyExist", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +SUBSCRIPTION_CATEGORY_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _SCNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "SubscriptionCategoryNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_GLOBAL_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _CGCI, + {_sSI: _cCGCM, _smi: None}, + (_GCI, _SDBCI, _En, _EV, _ELS, _DP, _DN, _SE, _Ta), + ( + (lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _CGCO, + {_sSI: _cCGCR, _smit: None}, + (_GC,), + ((lambda: GLOBAL_CLUSTER, 0),), +) + +CREATE_GLOBAL_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _CGC, + 0, + CREATE_GLOBAL_CLUSTER_INPUT, + CREATE_GLOBAL_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: GLOBAL_CLUSTER_ALREADY_EXISTS_FAULT, + lambda: GLOBAL_CLUSTER_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_SHARD_GROUP_STATE_FAULT, + lambda: schemas.RESOURCE_NOT_FOUND_FAULT, + ), +) + +FAILOVER_STATUS: StaticSchema = ( + 14, + n0, + _FS, + 0, + (_PENDING, _FO, _CANCELLING), + ((-1, {_sV: _p}), (-1, {_sV: _fo}), (-1, {_sV: _can})), +) + +FAILOVER_STATE: StaticSchema = ( + 18, + n0, + _FSa, + 0, + (_St, _FDCA, _TDCA, _IDLA), + ( + (FAILOVER_STATUS, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +READERS_ARN_LIST: StaticSchema = ( + 16, + n0, + _RAL, + 0, + (_m,), + ((lambda: schemas.STRING, 0),), +) + +GLOBAL_CLUSTER_MEMBER_SYNCHRONIZATION_STATUS: StaticSchema = ( + 14, + n0, + _GCMSS, + 0, + (_CONNECTED, _PR), + ((-1, {_sV: _co}), (-1, {_sV: _pr})), +) + +GLOBAL_CLUSTER_MEMBER: StaticSchema = ( + 18, + n0, + _GCM, + 0, + (_DBCA, _R, _IW, _GWFS, _SSy), + ( + (lambda: schemas.STRING, 0), + (READERS_ARN_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.WRITE_FORWARDING_STATUS, 0), + (GLOBAL_CLUSTER_MEMBER_SYNCHRONIZATION_STATUS, 0), + ), +) + +GLOBAL_CLUSTER_MEMBER_LIST: StaticSchema = ( + 16, + n0, + _GCML, + 0, + (_m,), + ((GLOBAL_CLUSTER_MEMBER, {_sN: _GCM}),), +) + +GLOBAL_CLUSTER: StaticSchema = ( + 18, + n0, + _GC, + 0, + ( + _GCI, + _GCRI, + _GCA, + _St, + _En, + _EV, + _ELS, + _DN, + _SE, + _SET, + _DP, + _GCMl, + _End, + _FSa, + _TL, + ), + ( + (lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STORAGE_ENCRYPTION_TYPE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (GLOBAL_CLUSTER_MEMBER_LIST, 0), + (lambda: schemas.STRING, 0), + (FAILOVER_STATE, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +GLOBAL_CLUSTER_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _GCAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "GlobalClusterAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +GLOBAL_CLUSTER_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _GCQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "GlobalClusterQuotaExceededFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +ENCRYPTION_CONTEXT_MAP: StaticSchema = ( + 17, + n0, + _ECM, + 0, + (_k, _v), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DATA_FILTER: StaticSchema = (3, n0, _DFa, 0) + +INTEGRATION_DESCRIPTION: StaticSchema = (3, n0, _IDn, 0) + +INTEGRATION_NAME: StaticSchema = (3, n0, _INn, 0) + +SOURCE_ARN: StaticSchema = (3, n0, _SA, 0) + +CREATE_INTEGRATION_INPUT: StaticSchema = ( + 18, + n0, + _CII, + {_sSI: _cCIM, _smi: None}, + (_SA, _TAa, _INn, _KMSKI, _AEC, _Ta, _DFa, _D), + ( + (SOURCE_ARN, 1), + (ARN, 1), + (INTEGRATION_NAME, 1), + (lambda: schemas.STRING, 0), + (ENCRYPTION_CONTEXT_MAP, 0), + (lambda: schemas.TAG_LIST, 0), + (DATA_FILTER, 0), + (INTEGRATION_DESCRIPTION, 0), + ), +) + +CREATE_INTEGRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CIO, + {_sSI: _cI, _smit: None}, + (_SA, _TAa, _INn, _IAn, _KMSKI, _AEC, _St, _Ta, _DFa, _D, _CTr, _Er), + ( + (SOURCE_ARN, 0), + (ARN, 0), + (INTEGRATION_NAME, 0), + (lambda: INTEGRATION_ARN, 0), + (lambda: schemas.STRING, 0), + (ENCRYPTION_CONTEXT_MAP, 0), + (lambda: INTEGRATION_STATUS, 0), + (lambda: schemas.TAG_LIST, 0), + (DATA_FILTER, 0), + (INTEGRATION_DESCRIPTION, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: INTEGRATION_ERROR_LIST, 0), + ), +) + +CREATE_INTEGRATION: StaticOperationSchema = ( + 23, + n0, + _CIr, + 0, + CREATE_INTEGRATION_INPUT, + CREATE_INTEGRATION_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: INTEGRATION_ALREADY_EXISTS_FAULT, + lambda: INTEGRATION_CONFLICT_OPERATION_FAULT, + lambda: INTEGRATION_QUOTA_EXCEEDED_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + ), +) + +INTEGRATION_ERROR: StaticSchema = ( + 18, + n0, + _IE, + 0, + (_ECr, _EMr), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 0)), +) + +INTEGRATION_ERROR_LIST: StaticSchema = ( + 16, + n0, + _IEL, + 0, + (_m,), + ((INTEGRATION_ERROR, {_sN: _IE}),), +) + +INTEGRATION_ARN: StaticSchema = (3, n0, _IAn, 0) + +INTEGRATION_STATUS: StaticSchema = ( + 14, + n0, + _ISn, + 0, + (_CREATING, _ACTIVE, _MODIFYING, _FAILED, _DELETING, _SYNCING, _NA), + ( + (-1, {_sV: _cr}), + (-1, {_sV: _ac}), + (-1, {_sV: _mod}), + (-1, {_sV: _f}), + (-1, {_sV: _de}), + (-1, {_sV: _sy}), + (-1, {_sV: _na}), + ), +) + +INTEGRATION_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _IAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "IntegrationAlreadyExistsFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INTEGRATION_CONFLICT_OPERATION_FAULT: StaticSchema = ( + 18, + n0, + _ICOF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "IntegrationConflictOperationFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INTEGRATION_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _IQEFn, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "IntegrationQuotaExceededFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +CREATE_OPTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _COGIr, + {_sSI: _cCOGMo, _smi: None}, + (_OGN, _EN, _MEV, _OGD, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_OPTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _COGOr, + {_sSI: _cCOGRo, _smit: None}, + (_OG,), + ((lambda: schemas.OPTION_GROUP, 0),), +) + +CREATE_OPTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _COGr, + 0, + CREATE_OPTION_GROUP_INPUT, + CREATE_OPTION_GROUP_OUTPUT, + ( + lambda: schemas.OPTION_GROUP_ALREADY_EXISTS_FAULT, + lambda: schemas.OPTION_GROUP_QUOTA_EXCEEDED_FAULT, + ), +) + +CREATE_TENANT_DATABASE_INPUT: StaticSchema = ( + 18, + n0, + _CTDI, + {_sSI: _cCTDM, _smi: None}, + (_DBII, _TDBN, _MU, _MUP, _CSN, _NCSN, _MMUP, _MUSKKI, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +CREATE_TENANT_DATABASE_OUTPUT: StaticSchema = ( + 18, + n0, + _CTDO, + {_sSI: _cCTDR, _smit: None}, + (_TD,), + ((lambda: TENANT_DATABASE, 0),), +) + +CREATE_TENANT_DATABASE: StaticOperationSchema = ( + 23, + n0, + _CTD, + 0, + CREATE_TENANT_DATABASE_INPUT, + CREATE_TENANT_DATABASE_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: TENANT_DATABASE_ALREADY_EXISTS_FAULT, + lambda: schemas.TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, + ), +) + +TENANT_DATABASE_PENDING_MODIFIED_VALUES: StaticSchema = ( + 18, + n0, + _TDPMV, + 0, + (_MUP, _TDBN), + ((lambda: schemas.SENSITIVE_STRING, 0), (lambda: schemas.STRING, 0)), +) + +TENANT_DATABASE: StaticSchema = ( + 18, + n0, + _TD, + 0, + ( + _TDCT, + _DBII, + _TDBN, + _St, + _MU, + _DRI, + _TDRI, + _TDARN, + _CSN, + _NCSN, + _DP, + _PMV, + _MUS, + _TL, + ), + ( + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (TENANT_DATABASE_PENDING_MODIFIED_VALUES, 0), + (lambda: schemas.MASTER_USER_SECRET, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +TENANT_DATABASE_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _TDAEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "TenantDatabaseAlreadyExists", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DELETE_BLUE_GREEN_DEPLOYMENT_INPUT: StaticSchema = ( + 18, + n0, + _DBGDI, + {_sSI: _cDBGDR, _smi: None}, + (_BGDI, _DTel), + ( + (lambda: schemas.BLUE_GREEN_DEPLOYMENT_IDENTIFIER, 1), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +DELETE_BLUE_GREEN_DEPLOYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DBGDO, + {_sSI: _cDBGDRo, _smit: None}, + (_BGD,), + ((lambda: schemas.BLUE_GREEN_DEPLOYMENT, 0),), +) + +DELETE_BLUE_GREEN_DEPLOYMENT: StaticOperationSchema = ( + 23, + n0, + _DBGD, + 0, + DELETE_BLUE_GREEN_DEPLOYMENT_INPUT, + DELETE_BLUE_GREEN_DEPLOYMENT_OUTPUT, + ( + lambda: schemas.BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_BLUE_GREEN_DEPLOYMENT_STATE_FAULT, + ), +) + +DELETE_CUSTOM_DB_ENGINE_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _DCDBEVI, + {_sSI: _cDCDBEVM, _smi: None}, + (_En, _EV), + ( + (lambda: schemas.CUSTOM_ENGINE_NAME, 1), + (lambda: schemas.CUSTOM_ENGINE_VERSION, 1), + ), +) + +DELETE_CUSTOM_DB_ENGINE_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _DCDBEVO, + {_sSI: _cDBEV, _smit: None}, + ( + _En, + _MEV, + _EV, + _DIFSBN, + _DIFSP, + _DIF, + _CDBEVM, + _DBPGF, + _DBED, + _DBEVA, + _DBEVD, + _DCS, + _FR, + _Im, + _DBEMT, + _KMSKI, + _CTr, + _SCS, + _SNCS, + _VUT, + _STu, + _ELT, + _SLETCL, + _SRR, + _SEM, + _SFN, + _St, + _SPQ, + _SGD, + _TL, + _SBu, + _SLD, + _SCRWR, + _SCACI, + _SLWF, + _SIu, + _SVFS, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CHARACTER_SET, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CUSTOM_DB_ENGINE_VERSION_AMI, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.SUPPORTED_CHARACTER_SETS_LIST, 0), + (lambda: schemas.SUPPORTED_CHARACTER_SETS_LIST, 0), + (lambda: schemas.VALID_UPGRADE_TARGET_LIST, 0), + (lambda: schemas.SUPPORTED_TIMEZONES_LIST, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ENGINE_MODE_LIST, 0), + (lambda: schemas.FEATURE_NAME_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.CA_CERTIFICATE_IDENTIFIERS_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SERVERLESS_V2_FEATURES_SUPPORT, 0), + ), +) + +DELETE_CUSTOM_DB_ENGINE_VERSION: StaticOperationSchema = ( + 23, + n0, + _DCDBEV, + 0, + DELETE_CUSTOM_DB_ENGINE_VERSION_INPUT, + DELETE_CUSTOM_DB_ENGINE_VERSION_OUTPUT, + ( + lambda: schemas.CUSTOM_DB_ENGINE_VERSION_NOT_FOUND_FAULT, + lambda: schemas.INVALID_CUSTOM_DB_ENGINE_VERSION_STATE_FAULT, + ), +) + +DB_CLUSTER_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBCABQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "DBClusterAutomatedBackupQuotaExceededFault", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DELETE_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _DDBCI, + {_sSI: _cDDBCM, _smi: None}, + (_DBCI, _SFS, _FDBSI, _DAB), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +DELETE_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCO, + {_sSI: _cDDBCR, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +DELETE_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _DDBC, + 0, + DELETE_DB_CLUSTER_INPUT, + DELETE_DB_CLUSTER_OUTPUT, + ( + DB_CLUSTER_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_SNAPSHOT_ALREADY_EXISTS_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_GLOBAL_CLUSTER_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.SNAPSHOT_QUOTA_EXCEEDED_FAULT, + ), +) + +DB_CLUSTER_AUTOMATED_BACKUP_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBCABNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBClusterAutomatedBackupNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DELETE_DB_CLUSTER_AUTOMATED_BACKUP_INPUT: StaticSchema = ( + 18, + n0, + _DDBCABI, + {_sSI: _cDDBCABM, _smi: None}, + (_DCRI,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DB_CLUSTER_AUTOMATED_BACKUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCABO, + {_sSI: _cDDBCABR, _smit: None}, + (_DBCAB,), + ((lambda: DB_CLUSTER_AUTOMATED_BACKUP, 0),), +) + +DELETE_DB_CLUSTER_AUTOMATED_BACKUP: StaticOperationSchema = ( + 23, + n0, + _DDBCAB, + 0, + DELETE_DB_CLUSTER_AUTOMATED_BACKUP_INPUT, + DELETE_DB_CLUSTER_AUTOMATED_BACKUP_OUTPUT, + ( + DB_CLUSTER_AUTOMATED_BACKUP_NOT_FOUND_FAULT, + lambda: INVALID_DB_CLUSTER_AUTOMATED_BACKUP_STATE_FAULT, + ), +) + +RESTORE_WINDOW: StaticSchema = ( + 18, + n0, + _RWe, + 0, + (_ETa, _LT), + ((lambda: schemas.T_STAMP, 0), (lambda: schemas.T_STAMP, 0)), +) + +DB_CLUSTER_AUTOMATED_BACKUP: StaticSchema = ( + 18, + n0, + _DBCAB, + 0, + ( + _En, + _VI, + _DBCABA, + _DBCI, + _RWe, + _MU, + _DCRI, + _Re, + _LM, + _St, + _IAMDAE, + _CCT, + _SE, + _SET, + _AS, + _EV, + _DBCA, + _BRP, + _PBW, + _EMn, + _AZv, + _P, + _KKI, + _STt, + _Io, + _ST, + _ABRPA, + _TL, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (RESTORE_WINDOW, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STORAGE_ENCRYPTION_TYPE, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.AVAILABILITY_ZONES, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +INVALID_DB_CLUSTER_AUTOMATED_BACKUP_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBCABSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "InvalidDBClusterAutomatedBackupStateFault", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_CLUSTER_ENDPOINT_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBCENFF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBClusterEndpointNotFoundFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DELETE_DB_CLUSTER_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DDBCEI, + {_sSI: _cDDBCEM, _smi: None}, + (_DBCEI,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DB_CLUSTER_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCEO, + {_sSI: _cDBCE, _smit: None}, + (_DBCEI, _DBCI, _DBCERI, _End, _St, _ET, _CETu, _SMt, _EMx, _DBCEA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +DELETE_DB_CLUSTER_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DDBCE, + 0, + DELETE_DB_CLUSTER_ENDPOINT_INPUT, + DELETE_DB_CLUSTER_ENDPOINT_OUTPUT, + ( + DB_CLUSTER_ENDPOINT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + ), +) + +DELETE_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DDBCPGI, + {_sSI: _cDDBCPGM, _smi: None}, + (_DBCPGN,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCPGO, + {_sSI: _sU, _smit: None}, +) + +DELETE_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _DDBCPG, + 0, + DELETE_DB_CLUSTER_PARAMETER_GROUP_INPUT, + DELETE_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, + ( + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PARAMETER_GROUP_STATE_FAULT, + ), +) + +DELETE_DB_CLUSTER_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _DDBCSI, + {_sSI: _cDDBCSM, _smi: None}, + (_DBCSI,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DB_CLUSTER_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCSO, + {_sSI: _cDDBCSR, _smit: None}, + (_DBCS,), + ((lambda: schemas.DB_CLUSTER_SNAPSHOT, 0),), +) + +DELETE_DB_CLUSTER_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _DDBCS, + 0, + DELETE_DB_CLUSTER_SNAPSHOT_INPUT, + DELETE_DB_CLUSTER_SNAPSHOT_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, + ), +) + +DB_INSTANCE_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _DBIABQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBInstanceAutomatedBackupQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DELETE_DB_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _DDBII, + {_sSI: _cDDBIM, _smi: None}, + (_DBII, _SFS, _FDBSI, _DAB), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +DELETE_DB_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBIO, + {_sSI: _cDDBIR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +DELETE_DB_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _DDBI, + 0, + DELETE_DB_INSTANCE_INPUT, + DELETE_DB_INSTANCE_OUTPUT, + ( + DB_INSTANCE_AUTOMATED_BACKUP_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_ALREADY_EXISTS_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.SNAPSHOT_QUOTA_EXCEEDED_FAULT, + ), +) + +DELETE_DB_INSTANCE_AUTOMATED_BACKUP_INPUT: StaticSchema = ( + 18, + n0, + _DDBIABI, + {_sSI: _cDDBIABM, _smi: None}, + (_DRI, _DBIABA), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DELETE_DB_INSTANCE_AUTOMATED_BACKUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBIABO, + {_sSI: _cDDBIABR, _smit: None}, + (_DBIAB,), + ((lambda: DB_INSTANCE_AUTOMATED_BACKUP, 0),), +) + +DELETE_DB_INSTANCE_AUTOMATED_BACKUP: StaticOperationSchema = ( + 23, + n0, + _DDBIAB, + 0, + DELETE_DB_INSTANCE_AUTOMATED_BACKUP_INPUT, + DELETE_DB_INSTANCE_AUTOMATED_BACKUP_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_AUTOMATED_BACKUP_STATE_FAULT, + ), +) + +DB_INSTANCE_AUTOMATED_BACKUP: StaticSchema = ( + 18, + n0, + _DBIAB, + 0, + ( + _DBIA, + _DRI, + _Re, + _DBII, + _RWe, + _AS, + _St, + _P, + _AZ, + _VI, + _ICT, + _MU, + _En, + _EV, + _LM, + _Io, + _ST, + _OGN, + _TCA, + _Enc, + _SET, + _STt, + _KKI, + _Ti, + _IAMDAE, + _BRP, + _PBW, + _DBIABA, + _DBIABRn, + _BTa, + _MT, + _ABRPA, + _TL, + _DLV, + _ASVd, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (RESTORE_WINDOW, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STORAGE_ENCRYPTION_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_INSTANCE_AUTOMATED_BACKUPS_REPLICATION_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.ADDITIONAL_STORAGE_VOLUMES_LIST, 0), + ), +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_5.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_5.py new file mode 100644 index 000000000..c16cf1209 --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_5.py @@ -0,0 +1,1493 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#required" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_sU = "smithy.api#Unit" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_SN = "SubscriptionName" +_ES = "EventSubscription" +_St = "Status" +_V = "Value" +_TL = "TagList" +_Ta = "Tags" +_D = "Description" +_DBSGN = "DBSecurityGroupName" +_BT = "BacktrackTo" +_BI = "BacktrackIdentifier" +_BF = "BacktrackedFrom" +_BRCT = "BacktrackRequestCreationTime" +_DBCRI = "DBCapacityReservationIdentifier" +_En = "Engine" +_SA = "SourceArn" +_DBCPG = "DBClusterParameterGroup" +_DBCPGN = "DBClusterParameterGroupName" +_DBPGF = "DBParameterGroupFamily" +_DBCS = "DBClusterSnapshot" +_DBCSI = "DBClusterSnapshotIdentifier" +_EV = "EngineVersion" +_STna = "SnapshotType" +_DCRI = "DbClusterResourceId" +_DBPGN = "DBParameterGroupName" +_OGN = "OptionGroupName" +_N = "Name" +_DBS = "DBSnapshot" +_DBSIn = "DBSnapshotIdentifier" +_AT = "ApplyType" +_DT = "DataType" +_AV = "AllowedValues" +_IM = "IsModifiable" +_So = "Source" +_BGDI = "BlueGreenDeploymentIdentifier" +_CTr = "CreateTime" +_KMSKI = "KMSKeyId" +_SEM = "SupportedEngineModes" +_GCI = "GlobalClusterIdentifier" +_DBSGNu = "DBSubnetGroupName" +_PA = "PubliclyAccessible" +_VT = "ValidTill" +_DBC = "DBCluster" +_End = "Endpoint" +_DBCEI = "DBClusterEndpointIdentifier" +_ET = "EndpointType" +_SMt = "StaticMembers" +_EMx = "ExcludedMembers" +_DBCERI = "DBClusterEndpointResourceIdentifier" +_CETu = "CustomEndpointType" +_DBCEA = "DBClusterEndpointArn" +_DBPN = "DBProxyName" +_DBP = "DBProxy" +_DBPEN = "DBProxyEndpointName" +_DBPE = "DBProxyEndpoint" +_DBSGI = "DBShardGroupIdentifier" +_CR = "ComputeRedundancy" +_MACU = "MaxACU" +_MACUi = "MinACU" +_cDBSG = "com.amazonaws.rds#DBShardGroup" +_DBSGRI = "DBShardGroupResourceId" +_DBSGAh = "DBShardGroupArn" +_GC = "GlobalCluster" +_DFa = "DataFilter" +_INn = "IntegrationName" +_TAa = "TargetArn" +_AEC = "AdditionalEncryptionContext" +_IAn = "IntegrationArn" +_cI = "com.amazonaws.rds#Integration" +_Er = "Errors" +_TDBN = "TenantDBName" +_TD = "TenantDatabase" +_SFS = "SkipFinalSnapshot" +_FDBSI = "FinalDBSnapshotIdentifier" +_DBCAB = "DBClusterAutomatedBackup" +_IDBPGSF = "InvalidDBParameterGroupStateFault" +_DDBPGI = "DeleteDBParameterGroupInput" +_cDDBPGM = "com.amazonaws.rds#DeleteDBParameterGroupMessage" +_DDBPGO = "DeleteDBParameterGroupOutput" +_DDBPG = "DeleteDBParameterGroup" +_DDBPI = "DeleteDBProxyInput" +_cDDBPR = "com.amazonaws.rds#DeleteDBProxyRequest" +_DDBPO = "DeleteDBProxyOutput" +_cDDBPRo = "com.amazonaws.rds#DeleteDBProxyResponse" +_DDBP = "DeleteDBProxy" +_DDBPEI = "DeleteDBProxyEndpointInput" +_cDDBPER = "com.amazonaws.rds#DeleteDBProxyEndpointRequest" +_DDBPEO = "DeleteDBProxyEndpointOutput" +_cDDBPERo = "com.amazonaws.rds#DeleteDBProxyEndpointResponse" +_DDBPE = "DeleteDBProxyEndpoint" +_DDBSGI = "DeleteDBSecurityGroupInput" +_cDDBSGM = "com.amazonaws.rds#DeleteDBSecurityGroupMessage" +_DDBSGO = "DeleteDBSecurityGroupOutput" +_DDBSG = "DeleteDBSecurityGroup" +_DDBSGIe = "DeleteDBShardGroupInput" +_cDDBSGMo = "com.amazonaws.rds#DeleteDBShardGroupMessage" +_DDBSGOe = "DeleteDBShardGroupOutput" +_DDBSGe = "DeleteDBShardGroup" +_DDBSI = "DeleteDBSnapshotInput" +_cDDBSM = "com.amazonaws.rds#DeleteDBSnapshotMessage" +_DDBSO = "DeleteDBSnapshotOutput" +_cDDBSR = "com.amazonaws.rds#DeleteDBSnapshotResult" +_DDBS = "DeleteDBSnapshot" +_DDBSGIel = "DeleteDBSubnetGroupInput" +_cDDBSGMom = "com.amazonaws.rds#DeleteDBSubnetGroupMessage" +_DDBSGOel = "DeleteDBSubnetGroupOutput" +_IDBSSFn = "InvalidDBSubnetStateFault" +_DDBSGel = "DeleteDBSubnetGroup" +_DESI = "DeleteEventSubscriptionInput" +_cDESM = "com.amazonaws.rds#DeleteEventSubscriptionMessage" +_DESO = "DeleteEventSubscriptionOutput" +_cDESR = "com.amazonaws.rds#DeleteEventSubscriptionResult" +_IESSF = "InvalidEventSubscriptionStateFault" +_DES = "DeleteEventSubscription" +_DGCI = "DeleteGlobalClusterInput" +_cDGCM = "com.amazonaws.rds#DeleteGlobalClusterMessage" +_DGCO = "DeleteGlobalClusterOutput" +_cDGCR = "com.amazonaws.rds#DeleteGlobalClusterResult" +_DGC = "DeleteGlobalCluster" +_IIn = "IntegrationIdentifier" +_DII = "DeleteIntegrationInput" +_cDIM = "com.amazonaws.rds#DeleteIntegrationMessage" +_DIO = "DeleteIntegrationOutput" +_IISF = "InvalidIntegrationStateFault" +_DIe = "DeleteIntegration" +_DOGI = "DeleteOptionGroupInput" +_cDOGM = "com.amazonaws.rds#DeleteOptionGroupMessage" +_DOGO = "DeleteOptionGroupOutput" +_DOG = "DeleteOptionGroup" +_DTDI = "DeleteTenantDatabaseInput" +_cDTDM = "com.amazonaws.rds#DeleteTenantDatabaseMessage" +_DTDO = "DeleteTenantDatabaseOutput" +_cDTDR = "com.amazonaws.rds#DeleteTenantDatabaseResult" +_DTD = "DeleteTenantDatabase" +_DBPTNFF = "DBProxyTargetNotFoundFault" +_DDBPTI = "DeregisterDBProxyTargetsInput" +_cDDBPTR = "com.amazonaws.rds#DeregisterDBProxyTargetsRequest" +_TGN = "TargetGroupName" +_DBIIn = "DBInstanceIdentifiers" +_DBCIl = "DBClusterIdentifiers" +_DDBPTO = "DeregisterDBProxyTargetsOutput" +_cDDBPTRo = "com.amazonaws.rds#DeregisterDBProxyTargetsResponse" +_DDBPT = "DeregisterDBProxyTargets" +_DAAI = "DescribeAccountAttributesInput" +_cDAAM = "com.amazonaws.rds#DescribeAccountAttributesMessage" +_DAAO = "DescribeAccountAttributesOutput" +_cAAM = "com.amazonaws.rds#AccountAttributesMessage" +_AQc = "AccountQuotas" +_DAA = "DescribeAccountAttributes" +_FVL = "FilterValueList" +_Fi = "Filter" +_Va = "Values" +_FL = "FilterList" +_MR = "MaxRecords" +_DBGDIe = "DescribeBlueGreenDeploymentsInput" +_cDBGDRom = "com.amazonaws.rds#DescribeBlueGreenDeploymentsRequest" +_Fil = "Filters" +_Mar = "Marker" +_BGDL = "BlueGreenDeploymentList" +_DBGDOe = "DescribeBlueGreenDeploymentsOutput" +_cDBGDRoma = "com.amazonaws.rds#DescribeBlueGreenDeploymentsResponse" +_BGDl = "BlueGreenDeployments" +_DBGDe = "DescribeBlueGreenDeployments" +_DCI = "DescribeCertificatesInput" +_cDCM = "com.amazonaws.rds#DescribeCertificatesMessage" +_CIe = "CertificateIdentifier" +_Ce = "Certificate" +_CTe = "CertificateType" +_Th = "Thumbprint" +_VF = "ValidFrom" +_CA = "CertificateArn" +_CO = "CustomerOverride" +_COVT = "CustomerOverrideValidTill" +_CL = "CertificateList" +_DCO = "DescribeCertificatesOutput" +_cCM = "com.amazonaws.rds#CertificateMessage" +_DCFNL = "DefaultCertificateForNewLaunches" +_Cer = "Certificates" +_DC = "DescribeCertificates" +_DDBCRI = "DescribeDBCapacityReservationsInput" +_cDDBCRR = "com.amazonaws.rds#DescribeDBCapacityReservationsRequest" +_DBCRL = "DBCapacityReservationList" +_DDBCRO = "DescribeDBCapacityReservationsOutput" +_cDDBCRRo = "com.amazonaws.rds#DescribeDBCapacityReservationsResponse" +_DBCRa = "DBCapacityReservations" +_DDBCR = "DescribeDBCapacityReservations" +_DDBCABIe = "DescribeDBClusterAutomatedBackupsInput" +_cDDBCABMo = "com.amazonaws.rds#DescribeDBClusterAutomatedBackupsMessage" +_DBCABL = "DBClusterAutomatedBackupList" +_DDBCABOe = "DescribeDBClusterAutomatedBackupsOutput" +_cDBCABM = "com.amazonaws.rds#DBClusterAutomatedBackupMessage" +_DBCABl = "DBClusterAutomatedBackups" +_DDBCABe = "DescribeDBClusterAutomatedBackups" +_DBCBNFF = "DBClusterBacktrackNotFoundFault" +_DDBCBI = "DescribeDBClusterBacktracksInput" +_cDDBCBM = "com.amazonaws.rds#DescribeDBClusterBacktracksMessage" +_DBCB = "DBClusterBacktrack" +_DBCBL = "DBClusterBacktrackList" +_DDBCBO = "DescribeDBClusterBacktracksOutput" +_cDBCBM = "com.amazonaws.rds#DBClusterBacktrackMessage" +_DBCBl = "DBClusterBacktracks" +_DDBCB = "DescribeDBClusterBacktracks" +_DDBCEIe = "DescribeDBClusterEndpointsInput" +_cDDBCEMo = "com.amazonaws.rds#DescribeDBClusterEndpointsMessage" +_DBCE = "DBClusterEndpoint" +_DBCEL = "DBClusterEndpointList" +_DDBCEOe = "DescribeDBClusterEndpointsOutput" +_cDBCEM = "com.amazonaws.rds#DBClusterEndpointMessage" +_DBCEl = "DBClusterEndpoints" +_DDBCEe = "DescribeDBClusterEndpoints" +_DDBCPGIe = "DescribeDBClusterParameterGroupsInput" +_cDDBCPGMo = "com.amazonaws.rds#DescribeDBClusterParameterGroupsMessage" +_DBCPGL = "DBClusterParameterGroupList" +_DDBCPGOe = "DescribeDBClusterParameterGroupsOutput" +_cDBCPGM = "com.amazonaws.rds#DBClusterParameterGroupsMessage" +_DBCPGl = "DBClusterParameterGroups" +_DDBCPGe = "DescribeDBClusterParameterGroups" +_DDBCPI = "DescribeDBClusterParametersInput" +_cDDBCPM = "com.amazonaws.rds#DescribeDBClusterParametersMessage" +_AMp = "ApplyMethod" +_im = "immediate" +_pr_ = "pending_reboot" +_pr__ = "pending-reboot" +_PSPV = "PotentiallySensitiveParameterValue" +_Pa = "Parameter" +_PN = "ParameterName" +_PV = "ParameterValue" +_MEVi = "MinimumEngineVersion" +_PL = "ParametersList" +_DDBCPO = "DescribeDBClusterParametersOutput" +_cDBCPGD = "com.amazonaws.rds#DBClusterParameterGroupDetails" +_Par = "Parameters" +_DDBCP = "DescribeDBClusterParameters" +_DDBCIe = "DescribeDBClustersInput" +_cDDBCMo = "com.amazonaws.rds#DescribeDBClustersMessage" +_ISnc = "IncludeShared" +_DBCL = "DBClusterList" +_DDBCOe = "DescribeDBClustersOutput" +_cDBCM = "com.amazonaws.rds#DBClusterMessage" +_DBCl = "DBClusters" +_DDBCe = "DescribeDBClusters" +_DDBCSAI = "DescribeDBClusterSnapshotAttributesInput" +_cDDBCSAM = "com.amazonaws.rds#DescribeDBClusterSnapshotAttributesMessage" +_AVL = "AttributeValueList" +_AVt = "AttributeValue" +_DBCSAl = "DBClusterSnapshotAttribute" +_AN = "AttributeName" +_AVtt = "AttributeValues" +_DBCSAL = "DBClusterSnapshotAttributeList" +_DBCSAR = "DBClusterSnapshotAttributesResult" +_DBCSAlu = "DBClusterSnapshotAttributes" +_DDBCSAO = "DescribeDBClusterSnapshotAttributesOutput" +_cDDBCSAR = "com.amazonaws.rds#DescribeDBClusterSnapshotAttributesResult" +_DDBCSA = "DescribeDBClusterSnapshotAttributes" +_DDBCSIe = "DescribeDBClusterSnapshotsInput" +_cDDBCSMo = "com.amazonaws.rds#DescribeDBClusterSnapshotsMessage" +_IP = "IncludePublic" +_DBCSL = "DBClusterSnapshotList" +_DDBCSOe = "DescribeDBClusterSnapshotsOutput" +_cDBCSM = "com.amazonaws.rds#DBClusterSnapshotMessage" +_DBCSl = "DBClusterSnapshots" +_DDBCSe = "DescribeDBClusterSnapshots" +_DDBEVI = "DescribeDBEngineVersionsInput" +_cDDBEVM = "com.amazonaws.rds#DescribeDBEngineVersionsMessage" +_DOe = "DefaultOnly" +_LSCS = "ListSupportedCharacterSets" +_LST = "ListSupportedTimezones" +_IAnc = "IncludeAll" +_DDBEVO = "DescribeDBEngineVersionsOutput" +_cDBEVM = "com.amazonaws.rds#DBEngineVersionMessage" +_DBEVn = "DBEngineVersions" +_DDBEV = "DescribeDBEngineVersions" +_SSQEF = "SharedSnapshotQuotaExceededFault" + +INVALID_DB_PARAMETER_GROUP_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBPGSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBParameterGroupState", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DELETE_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DDBPGI, + {_sSI: _cDDBPGM, _smi: None}, + (_DBPGN,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPGO, + {_sSI: _sU, _smit: None}, +) + +DELETE_DB_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _DDBPG, + 0, + DELETE_DB_PARAMETER_GROUP_INPUT, + DELETE_DB_PARAMETER_GROUP_OUTPUT, + ( + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + INVALID_DB_PARAMETER_GROUP_STATE_FAULT, + ), +) + +DELETE_DB_PROXY_INPUT: StaticSchema = ( + 18, + n0, + _DDBPI, + {_sSI: _cDDBPR, _smi: None}, + (_DBPN,), + ((lambda: schemas.DB_PROXY_NAME, 1),), +) + +DELETE_DB_PROXY_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPO, + {_sSI: _cDDBPRo, _smit: None}, + (_DBP,), + ((lambda: schemas.DB_PROXY, 0),), +) + +DELETE_DB_PROXY: StaticOperationSchema = ( + 23, + n0, + _DDBP, + 0, + DELETE_DB_PROXY_INPUT, + DELETE_DB_PROXY_OUTPUT, + ( + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PROXY_STATE_FAULT, + ), +) + +DELETE_DB_PROXY_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DDBPEI, + {_sSI: _cDDBPER, _smi: None}, + (_DBPEN,), + ((lambda: schemas.DB_PROXY_ENDPOINT_NAME, 1),), +) + +DELETE_DB_PROXY_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPEO, + {_sSI: _cDDBPERo, _smit: None}, + (_DBPE,), + ((lambda: schemas.DB_PROXY_ENDPOINT, 0),), +) + +DELETE_DB_PROXY_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DDBPE, + 0, + DELETE_DB_PROXY_ENDPOINT_INPUT, + DELETE_DB_PROXY_ENDPOINT_OUTPUT, + ( + lambda: schemas.DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PROXY_ENDPOINT_STATE_FAULT, + ), +) + +DELETE_DB_SECURITY_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DDBSGI, + {_sSI: _cDDBSGM, _smi: None}, + (_DBSGN,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DB_SECURITY_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSGO, + {_sSI: _sU, _smit: None}, +) + +DELETE_DB_SECURITY_GROUP: StaticOperationSchema = ( + 23, + n0, + _DDBSG, + 0, + DELETE_DB_SECURITY_GROUP_INPUT, + DELETE_DB_SECURITY_GROUP_OUTPUT, + ( + lambda: schemas.DB_SECURITY_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_SECURITY_GROUP_STATE_FAULT, + ), +) + +DELETE_DB_SHARD_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DDBSGIe, + {_sSI: _cDDBSGMo, _smi: None}, + (_DBSGI,), + ((lambda: schemas.DB_SHARD_GROUP_IDENTIFIER, 1),), +) + +DELETE_DB_SHARD_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSGOe, + {_sSI: _cDBSG, _smit: None}, + (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_SHARD_GROUP_IDENTIFIER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +DELETE_DB_SHARD_GROUP: StaticOperationSchema = ( + 23, + n0, + _DDBSGe, + 0, + DELETE_DB_SHARD_GROUP_INPUT, + DELETE_DB_SHARD_GROUP_OUTPUT, + ( + lambda: schemas.DB_SHARD_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_SHARD_GROUP_STATE_FAULT, + ), +) + +DELETE_DB_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _DDBSI, + {_sSI: _cDDBSM, _smi: None}, + (_DBSIn,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DB_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSO, + {_sSI: _cDDBSR, _smit: None}, + (_DBS,), + ((lambda: schemas.DB_SNAPSHOT, 0),), +) + +DELETE_DB_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _DDBS, + 0, + DELETE_DB_SNAPSHOT_INPUT, + DELETE_DB_SNAPSHOT_OUTPUT, + ( + lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_SNAPSHOT_STATE_FAULT, + ), +) + +DELETE_DB_SUBNET_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DDBSGIel, + {_sSI: _cDDBSGMom, _smi: None}, + (_DBSGNu,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_DB_SUBNET_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSGOel, + {_sSI: _sU, _smit: None}, +) + +DELETE_DB_SUBNET_GROUP: StaticOperationSchema = ( + 23, + n0, + _DDBSGel, + 0, + DELETE_DB_SUBNET_GROUP_INPUT, + DELETE_DB_SUBNET_GROUP_OUTPUT, + ( + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_SUBNET_GROUP_STATE_FAULT, + lambda: INVALID_DB_SUBNET_STATE_FAULT, + ), +) + +INVALID_DB_SUBNET_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IDBSSFn, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBSubnetStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DELETE_EVENT_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _DESI, + {_sSI: _cDESM, _smi: None}, + (_SN,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_EVENT_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DESO, + {_sSI: _cDESR, _smit: None}, + (_ES,), + ((lambda: schemas.EVENT_SUBSCRIPTION, 0),), +) + +DELETE_EVENT_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _DES, + 0, + DELETE_EVENT_SUBSCRIPTION_INPUT, + DELETE_EVENT_SUBSCRIPTION_OUTPUT, + ( + lambda: INVALID_EVENT_SUBSCRIPTION_STATE_FAULT, + lambda: schemas.SUBSCRIPTION_NOT_FOUND_FAULT, + ), +) + +INVALID_EVENT_SUBSCRIPTION_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IESSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidEventSubscriptionState", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DELETE_GLOBAL_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _DGCI, + {_sSI: _cDGCM, _smi: None}, + (_GCI,), + ((lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 1),), +) + +DELETE_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _DGCO, + {_sSI: _cDGCR, _smit: None}, + (_GC,), + ((lambda: schemas.GLOBAL_CLUSTER, 0),), +) + +DELETE_GLOBAL_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _DGC, + 0, + DELETE_GLOBAL_CLUSTER_INPUT, + DELETE_GLOBAL_CLUSTER_OUTPUT, + ( + lambda: schemas.GLOBAL_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_GLOBAL_CLUSTER_STATE_FAULT, + ), +) + +INTEGRATION_IDENTIFIER: StaticSchema = (3, n0, _IIn, 0) + +DELETE_INTEGRATION_INPUT: StaticSchema = ( + 18, + n0, + _DII, + {_sSI: _cDIM, _smi: None}, + (_IIn,), + ((INTEGRATION_IDENTIFIER, 1),), +) + +DELETE_INTEGRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DIO, + {_sSI: _cI, _smit: None}, + (_SA, _TAa, _INn, _IAn, _KMSKI, _AEC, _St, _Ta, _DFa, _D, _CTr, _Er), + ( + (lambda: schemas.SOURCE_ARN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.INTEGRATION_NAME, 0), + (lambda: schemas.INTEGRATION_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ENCRYPTION_CONTEXT_MAP, 0), + (lambda: schemas.INTEGRATION_STATUS, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.DATA_FILTER, 0), + (lambda: schemas.INTEGRATION_DESCRIPTION, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.INTEGRATION_ERROR_LIST, 0), + ), +) + +DELETE_INTEGRATION: StaticOperationSchema = ( + 23, + n0, + _DIe, + 0, + DELETE_INTEGRATION_INPUT, + DELETE_INTEGRATION_OUTPUT, + ( + lambda: schemas.INTEGRATION_CONFLICT_OPERATION_FAULT, + lambda: schemas.INTEGRATION_NOT_FOUND_FAULT, + lambda: INVALID_INTEGRATION_STATE_FAULT, + ), +) + +INVALID_INTEGRATION_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IISF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidIntegrationStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DELETE_OPTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _DOGI, + {_sSI: _cDOGM, _smi: None}, + (_OGN,), + ((lambda: schemas.STRING, 1),), +) + +DELETE_OPTION_GROUP_OUTPUT: StaticSchema = (18, n0, _DOGO, {_sSI: _sU, _smit: None}) + +DELETE_OPTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _DOG, + 0, + DELETE_OPTION_GROUP_INPUT, + DELETE_OPTION_GROUP_OUTPUT, + ( + lambda: schemas.INVALID_OPTION_GROUP_STATE_FAULT, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + ), +) + +DELETE_TENANT_DATABASE_INPUT: StaticSchema = ( + 18, + n0, + _DTDI, + {_sSI: _cDTDM, _smi: None}, + (_DBII, _TDBN, _SFS, _FDBSI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +DELETE_TENANT_DATABASE_OUTPUT: StaticSchema = ( + 18, + n0, + _DTDO, + {_sSI: _cDTDR, _smit: None}, + (_TD,), + ((lambda: schemas.TENANT_DATABASE, 0),), +) + +DELETE_TENANT_DATABASE: StaticOperationSchema = ( + 23, + n0, + _DTD, + 0, + DELETE_TENANT_DATABASE_INPUT, + DELETE_TENANT_DATABASE_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_ALREADY_EXISTS_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.TENANT_DATABASE_NOT_FOUND_FAULT, + ), +) + +DB_PROXY_TARGET_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBPTNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBProxyTargetNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DEREGISTER_DB_PROXY_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _DDBPTI, + {_sSI: _cDDBPTR, _smi: None}, + (_DBPN, _TGN, _DBIIn, _DBCIl), + ( + (lambda: schemas.DB_PROXY_NAME, 1), + (lambda: schemas.DB_PROXY_TARGET_GROUP_NAME, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +DEREGISTER_DB_PROXY_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPTO, + {_sSI: _cDDBPTRo, _smit: None}, +) + +DEREGISTER_DB_PROXY_TARGETS: StaticOperationSchema = ( + 23, + n0, + _DDBPT, + 0, + DEREGISTER_DB_PROXY_TARGETS_INPUT, + DEREGISTER_DB_PROXY_TARGETS_OUTPUT, + ( + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, + DB_PROXY_TARGET_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PROXY_STATE_FAULT, + ), +) + +DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _DAAI, + {_sSI: _cDAAM, _smi: None}, +) + +DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DAAO, + {_sSI: _cAAM, _smit: None}, + (_AQc,), + ((lambda: schemas.ACCOUNT_QUOTA_LIST, 0),), +) + +DESCRIBE_ACCOUNT_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _DAA, + 0, + DESCRIBE_ACCOUNT_ATTRIBUTES_INPUT, + DESCRIBE_ACCOUNT_ATTRIBUTES_OUTPUT, + (), +) + +FILTER_VALUE_LIST: StaticSchema = ( + 16, + n0, + _FVL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _V}),), +) + +FILTER: StaticSchema = ( + 18, + n0, + _Fi, + 0, + (_N, _Va), + ((lambda: schemas.STRING, 1), (FILTER_VALUE_LIST, 1)), +) + +FILTER_LIST: StaticSchema = (16, n0, _FL, 0, (_m,), ((FILTER, {_sN: _Fi}),)) + +MAX_RECORDS: StaticSchema = (7, n0, _MR, 0) + +DESCRIBE_BLUE_GREEN_DEPLOYMENTS_INPUT: StaticSchema = ( + 18, + n0, + _DBGDIe, + {_sSI: _cDBGDRom, _smi: None}, + (_BGDI, _Fil, _Mar, _MR), + ( + (lambda: schemas.BLUE_GREEN_DEPLOYMENT_IDENTIFIER, 0), + (FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (MAX_RECORDS, 0), + ), +) + +DESCRIBE_BLUE_GREEN_DEPLOYMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DBGDOe, + {_sSI: _cDBGDRoma, _smit: None}, + (_BGDl, _Mar), + ((lambda: BLUE_GREEN_DEPLOYMENT_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_BLUE_GREEN_DEPLOYMENTS: StaticOperationSchema = ( + 23, + n0, + _DBGDe, + 0, + DESCRIBE_BLUE_GREEN_DEPLOYMENTS_INPUT, + DESCRIBE_BLUE_GREEN_DEPLOYMENTS_OUTPUT, + (lambda: schemas.BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT,), +) + +BLUE_GREEN_DEPLOYMENT_LIST: StaticSchema = ( + 16, + n0, + _BGDL, + 0, + (_m,), + ((lambda: schemas.BLUE_GREEN_DEPLOYMENT, 0),), +) + +DESCRIBE_CERTIFICATES_INPUT: StaticSchema = ( + 18, + n0, + _DCI, + {_sSI: _cDCM, _smi: None}, + (_CIe, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_CERTIFICATES_OUTPUT: StaticSchema = ( + 18, + n0, + _DCO, + {_sSI: _cCM, _smit: None}, + (_DCFNL, _Cer, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: CERTIFICATE_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_CERTIFICATES: StaticOperationSchema = ( + 23, + n0, + _DC, + 0, + DESCRIBE_CERTIFICATES_INPUT, + DESCRIBE_CERTIFICATES_OUTPUT, + (lambda: schemas.CERTIFICATE_NOT_FOUND_FAULT,), +) + +CERTIFICATE: StaticSchema = ( + 18, + n0, + _Ce, + 0, + (_CIe, _CTe, _Th, _VF, _VT, _CA, _CO, _COVT), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.T_STAMP, 0), + ), +) + +CERTIFICATE_LIST: StaticSchema = (16, n0, _CL, 0, (_m,), ((CERTIFICATE, {_sN: _Ce}),)) + +DESCRIBE_DB_CAPACITY_RESERVATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DDBCRI, + {_sSI: _cDDBCRR, _smi: None}, + (_DBCRI, _Mar, _MR, _Fil), + ( + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + (lambda: schemas.STRING, 0), + (MAX_RECORDS, 0), + (FILTER_LIST, 0), + ), +) + +DESCRIBE_DB_CAPACITY_RESERVATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCRO, + {_sSI: _cDDBCRRo, _smit: None}, + (_DBCRa, _Mar), + ((lambda: DB_CAPACITY_RESERVATION_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_CAPACITY_RESERVATIONS: StaticOperationSchema = ( + 23, + n0, + _DDBCR, + 0, + DESCRIBE_DB_CAPACITY_RESERVATIONS_INPUT, + DESCRIBE_DB_CAPACITY_RESERVATIONS_OUTPUT, + (lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT,), +) + +DB_CAPACITY_RESERVATION_LIST: StaticSchema = ( + 16, + n0, + _DBCRL, + 0, + (_m,), + ((lambda: schemas.DB_CAPACITY_RESERVATION, 0),), +) + +DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_INPUT: StaticSchema = ( + 18, + n0, + _DDBCABIe, + {_sSI: _cDDBCABMo, _smi: None}, + (_DCRI, _DBCI, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCABOe, + {_sSI: _cDBCABM, _smit: None}, + (_Mar, _DBCABl), + ((lambda: schemas.STRING, 0), (lambda: DB_CLUSTER_AUTOMATED_BACKUP_LIST, 0)), +) + +DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS: StaticOperationSchema = ( + 23, + n0, + _DDBCABe, + 0, + DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_INPUT, + DESCRIBE_DB_CLUSTER_AUTOMATED_BACKUPS_OUTPUT, + (lambda: schemas.DB_CLUSTER_AUTOMATED_BACKUP_NOT_FOUND_FAULT,), +) + +DB_CLUSTER_AUTOMATED_BACKUP_LIST: StaticSchema = ( + 16, + n0, + _DBCABL, + 0, + (_m,), + ((lambda: schemas.DB_CLUSTER_AUTOMATED_BACKUP, {_sN: _DBCAB}),), +) + +DB_CLUSTER_BACKTRACK_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBCBNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBClusterBacktrackNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DESCRIBE_DB_CLUSTER_BACKTRACKS_INPUT: StaticSchema = ( + 18, + n0, + _DDBCBI, + {_sSI: _cDDBCBM, _smi: None}, + (_DBCI, _BI, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_CLUSTER_BACKTRACKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCBO, + {_sSI: _cDBCBM, _smit: None}, + (_Mar, _DBCBl), + ((lambda: schemas.STRING, 0), (lambda: DB_CLUSTER_BACKTRACK_LIST, 0)), +) + +DESCRIBE_DB_CLUSTER_BACKTRACKS: StaticOperationSchema = ( + 23, + n0, + _DDBCB, + 0, + DESCRIBE_DB_CLUSTER_BACKTRACKS_INPUT, + DESCRIBE_DB_CLUSTER_BACKTRACKS_OUTPUT, + (DB_CLUSTER_BACKTRACK_NOT_FOUND_FAULT, lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT), +) + +DB_CLUSTER_BACKTRACK: StaticSchema = ( + 18, + n0, + _DBCB, + 0, + (_DBCI, _BI, _BT, _BF, _BRCT, _St), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +DB_CLUSTER_BACKTRACK_LIST: StaticSchema = ( + 16, + n0, + _DBCBL, + 0, + (_m,), + ((DB_CLUSTER_BACKTRACK, {_sN: _DBCB}),), +) + +DESCRIBE_DB_CLUSTER_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _DDBCEIe, + {_sSI: _cDDBCEMo, _smi: None}, + (_DBCI, _DBCEI, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_CLUSTER_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCEOe, + {_sSI: _cDBCEM, _smit: None}, + (_Mar, _DBCEl), + ((lambda: schemas.STRING, 0), (lambda: DB_CLUSTER_ENDPOINT_LIST, 0)), +) + +DESCRIBE_DB_CLUSTER_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _DDBCEe, + 0, + DESCRIBE_DB_CLUSTER_ENDPOINTS_INPUT, + DESCRIBE_DB_CLUSTER_ENDPOINTS_OUTPUT, + (lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT,), +) + +DB_CLUSTER_ENDPOINT: StaticSchema = ( + 18, + n0, + _DBCE, + 0, + (_DBCEI, _DBCI, _DBCERI, _End, _St, _ET, _CETu, _SMt, _EMx, _DBCEA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +DB_CLUSTER_ENDPOINT_LIST: StaticSchema = ( + 16, + n0, + _DBCEL, + 0, + (_m,), + ((DB_CLUSTER_ENDPOINT, {_sN: _DBCEL}),), +) + +DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DDBCPGIe, + {_sSI: _cDDBCPGMo, _smi: None}, + (_DBCPGN, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCPGOe, + {_sSI: _cDBCPGM, _smit: None}, + (_Mar, _DBCPGl), + ((lambda: schemas.STRING, 0), (lambda: DB_CLUSTER_PARAMETER_GROUP_LIST, 0)), +) + +DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DDBCPGe, + 0, + DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_INPUT, + DESCRIBE_DB_CLUSTER_PARAMETER_GROUPS_OUTPUT, + (lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT,), +) + +DB_CLUSTER_PARAMETER_GROUP_LIST: StaticSchema = ( + 16, + n0, + _DBCPGL, + 0, + (_m,), + ((lambda: schemas.DB_CLUSTER_PARAMETER_GROUP, {_sN: _DBCPG}),), +) + +DESCRIBE_DB_CLUSTER_PARAMETERS_INPUT: StaticSchema = ( + 18, + n0, + _DDBCPI, + {_sSI: _cDDBCPM, _smi: None}, + (_DBCPGN, _So, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_CLUSTER_PARAMETERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCPO, + {_sSI: _cDBCPGD, _smit: None}, + (_Par, _Mar), + ((lambda: PARAMETERS_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_CLUSTER_PARAMETERS: StaticOperationSchema = ( + 23, + n0, + _DDBCP, + 0, + DESCRIBE_DB_CLUSTER_PARAMETERS_INPUT, + DESCRIBE_DB_CLUSTER_PARAMETERS_OUTPUT, + (lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT,), +) + +APPLY_METHOD: StaticSchema = ( + 14, + n0, + _AMp, + 0, + (_im, _pr_), + ((-1, {_sV: _im}), (-1, {_sV: _pr__})), +) + +POTENTIALLY_SENSITIVE_PARAMETER_VALUE: StaticSchema = (3, n0, _PSPV, 0) + +PARAMETER: StaticSchema = ( + 18, + n0, + _Pa, + 0, + (_PN, _PV, _D, _So, _AT, _DT, _AV, _IM, _MEVi, _AMp, _SEM), + ( + (lambda: schemas.STRING, 0), + (POTENTIALLY_SENSITIVE_PARAMETER_VALUE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (APPLY_METHOD, 0), + (lambda: schemas.ENGINE_MODE_LIST, 0), + ), +) + +PARAMETERS_LIST: StaticSchema = (16, n0, _PL, 0, (_m,), ((PARAMETER, {_sN: _Pa}),)) + +DESCRIBE_DB_CLUSTERS_INPUT: StaticSchema = ( + 18, + n0, + _DDBCIe, + {_sSI: _cDDBCMo, _smi: None}, + (_DBCI, _Fil, _MR, _Mar, _ISnc), + ( + (lambda: schemas.STRING, 0), + (FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DESCRIBE_DB_CLUSTERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCOe, + {_sSI: _cDBCM, _smit: None}, + (_Mar, _DBCl), + ((lambda: schemas.STRING, 0), (lambda: DB_CLUSTER_LIST, 0)), +) + +DESCRIBE_DB_CLUSTERS: StaticOperationSchema = ( + 23, + n0, + _DDBCe, + 0, + DESCRIBE_DB_CLUSTERS_INPUT, + DESCRIBE_DB_CLUSTERS_OUTPUT, + (lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT,), +) + +DB_CLUSTER_LIST: StaticSchema = ( + 16, + n0, + _DBCL, + 0, + (_m,), + ((lambda: schemas.DB_CLUSTER, {_sN: _DBC}),), +) + +DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _DDBCSAI, + {_sSI: _cDDBCSAM, _smi: None}, + (_DBCSI,), + ((lambda: schemas.STRING, 1),), +) + +DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCSAO, + {_sSI: _cDDBCSAR, _smit: None}, + (_DBCSAR,), + ((lambda: DB_CLUSTER_SNAPSHOT_ATTRIBUTES_RESULT, 0),), +) + +DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _DDBCSA, + 0, + DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_INPUT, + DESCRIBE_DB_CLUSTER_SNAPSHOT_ATTRIBUTES_OUTPUT, + (lambda: schemas.DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT,), +) + +ATTRIBUTE_VALUE_LIST: StaticSchema = ( + 16, + n0, + _AVL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _AVt}),), +) + +DB_CLUSTER_SNAPSHOT_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _DBCSAl, + 0, + (_AN, _AVtt), + ((lambda: schemas.STRING, 0), (ATTRIBUTE_VALUE_LIST, 0)), +) + +DB_CLUSTER_SNAPSHOT_ATTRIBUTE_LIST: StaticSchema = ( + 16, + n0, + _DBCSAL, + 0, + (_m,), + ((DB_CLUSTER_SNAPSHOT_ATTRIBUTE, {_sN: _DBCSAl}),), +) + +DB_CLUSTER_SNAPSHOT_ATTRIBUTES_RESULT: StaticSchema = ( + 18, + n0, + _DBCSAR, + 0, + (_DBCSI, _DBCSAlu), + ((lambda: schemas.STRING, 0), (DB_CLUSTER_SNAPSHOT_ATTRIBUTE_LIST, 0)), +) + +DESCRIBE_DB_CLUSTER_SNAPSHOTS_INPUT: StaticSchema = ( + 18, + n0, + _DDBCSIe, + {_sSI: _cDDBCSMo, _smi: None}, + (_DBCI, _DBCSI, _STna, _Fil, _MR, _Mar, _ISnc, _IP, _DCRI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_CLUSTER_SNAPSHOTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBCSOe, + {_sSI: _cDBCSM, _smit: None}, + (_Mar, _DBCSl), + ((lambda: schemas.STRING, 0), (lambda: DB_CLUSTER_SNAPSHOT_LIST, 0)), +) + +DESCRIBE_DB_CLUSTER_SNAPSHOTS: StaticOperationSchema = ( + 23, + n0, + _DDBCSe, + 0, + DESCRIBE_DB_CLUSTER_SNAPSHOTS_INPUT, + DESCRIBE_DB_CLUSTER_SNAPSHOTS_OUTPUT, + (lambda: schemas.DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT,), +) + +DB_CLUSTER_SNAPSHOT_LIST: StaticSchema = ( + 16, + n0, + _DBCSL, + 0, + (_m,), + ((lambda: schemas.DB_CLUSTER_SNAPSHOT, {_sN: _DBCS}),), +) + +DESCRIBE_DB_ENGINE_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DDBEVI, + {_sSI: _cDDBEVM, _smi: None}, + (_En, _EV, _DBPGF, _Fil, _MR, _Mar, _DOe, _LSCS, _LST, _IAnc), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +DESCRIBE_DB_ENGINE_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBEVO, + {_sSI: _cDBEVM, _smit: None}, + (_Mar, _DBEVn), + ((lambda: schemas.STRING, 0), (lambda: schemas.DB_ENGINE_VERSION_LIST, 0)), +) + +DESCRIBE_DB_ENGINE_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _DDBEV, + 0, + DESCRIBE_DB_ENGINE_VERSIONS_INPUT, + DESCRIBE_DB_ENGINE_VERSIONS_OUTPUT, + (), +) + +MARKER: StaticSchema = (3, n0, _Mar, 0) + +SHARED_SNAPSHOT_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _SSQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "SharedSnapshotQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_6.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_6.py new file mode 100644 index 000000000..556c0d184 --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_6.py @@ -0,0 +1,1650 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#required" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_St = "Status" +_K = "Key" +_V = "Value" +_TL = "TagList" +_D = "Description" +_DBSGN = "DBSecurityGroupName" +_DBSG = "DBSecurityGroup" +_En = "Engine" +_Sta = "State" +_DBPGF = "DBParameterGroupFamily" +_smithy = "smithy.api#sensitive" +_P = "Port" +_MU = "MasterUsername" +_EV = "EngineVersion" +_STna = "SnapshotType" +_DBPG = "DBParameterGroup" +_DBPGN = "DBParameterGroupName" +_N = "Name" +_DBS = "DBSnapshot" +_DBSIn = "DBSnapshotIdentifier" +_DRI = "DbiResourceId" +_EN = "EngineName" +_MEV = "MajorEngineVersion" +_So = "Source" +_CTr = "CreateTime" +_CDBEVM = "CustomDBEngineVersionManifest" +_DIFSBN = "DatabaseInstallationFilesS3BucketName" +_DIFSP = "DatabaseInstallationFilesS3Prefix" +_DIF = "DatabaseInstallationFiles" +_KMSKI = "KMSKeyId" +_CSN = "CharacterSetName" +_SVFS = "ServerlessV2FeaturesSupport" +_SEM = "SupportedEngineModes" +_SPQ = "SupportsParallelQuery" +_SGD = "SupportsGlobalDatabases" +_SBu = "SupportsBabelfish" +_SLD = "SupportsLimitlessDatabase" +_SLWF = "SupportsLocalWriteForwarding" +_SIu = "SupportsIntegrations" +_DBED = "DBEngineDescription" +_DBEVA = "DBEngineVersionArn" +_DBEVD = "DBEngineVersionDescription" +_DCS = "DefaultCharacterSet" +_FR = "FailureReason" +_Im = "Image" +_DBEMT = "DBEngineMediaType" +_SCS = "SupportedCharacterSets" +_SNCS = "SupportedNcharCharacterSets" +_VUT = "ValidUpgradeTarget" +_STu = "SupportedTimezones" +_ELT = "ExportableLogTypes" +_SLETCL = "SupportsLogExportsToCloudwatchLogs" +_SRR = "SupportsReadReplica" +_SFN = "SupportedFeatureNames" +_SCRWR = "SupportsCertificateRotationWithoutRestart" +_SCACI = "SupportedCACertificateIdentifiers" +_DBSGNu = "DBSubnetGroupName" +_PA = "PubliclyAccessible" +_UNKNOWN = "UNKNOWN" +_DBSGu = "DBSubnetGroup" +_End = "Endpoint" +_DBSGe = "DBSecurityGroups" +_NCSN = "NcharCharacterSetName" +_DBIABA = "DBInstanceAutomatedBackupsArn" +_DBI = "DBInstance" +_DBPGa = "DBParameterGroups" +_DBPN = "DBProxyName" +_AVAILABLE = "AVAILABLE" +_av = "available" +_CDr = "CreatedDate" +_UD = "UpdatedDate" +_DBPEN = "DBProxyEndpointName" +_RW = "READ_WRITE" +_RO = "READ_ONLY" +_TR = "TargetRole" +_ID = "IsDefault" +_DBSGI = "DBShardGroupIdentifier" +_CR = "ComputeRedundancy" +_MACU = "MaxACU" +_MACUi = "MinACU" +_DBSGRI = "DBShardGroupResourceId" +_DBSGAh = "DBShardGroupArn" +_TAa = "TargetArn" +_TDBN = "TenantDBName" +_TDCT = "TenantDatabaseCreateTime" +_TDRI = "TenantDatabaseResourceId" +_DBIAB = "DBInstanceAutomatedBackup" +_TGN = "TargetGroupName" +_MR = "MaxRecords" +_Fil = "Filters" +_Mar = "Marker" +_Par = "Parameters" +_ISnc = "IncludeShared" +_AN = "AttributeName" +_AVtt = "AttributeValues" +_IP = "IncludePublic" +_DBEV = "DBEngineVersion" +_DBEVL = "DBEngineVersionList" +_DDBIABIe = "DescribeDBInstanceAutomatedBackupsInput" +_cDDBIABMo = "com.amazonaws.rds#DescribeDBInstanceAutomatedBackupsMessage" +_DBIABL = "DBInstanceAutomatedBackupList" +_DDBIABOe = "DescribeDBInstanceAutomatedBackupsOutput" +_cDBIABM = "com.amazonaws.rds#DBInstanceAutomatedBackupMessage" +_DBIABn = "DBInstanceAutomatedBackups" +_DDBIABe = "DescribeDBInstanceAutomatedBackups" +_DDBIIe = "DescribeDBInstancesInput" +_cDDBIMo = "com.amazonaws.rds#DescribeDBInstancesMessage" +_DBIL = "DBInstanceList" +_DDBIOe = "DescribeDBInstancesOutput" +_cDBIM = "com.amazonaws.rds#DBInstanceMessage" +_DBIn = "DBInstances" +_DDBIe = "DescribeDBInstances" +_DBINRF = "DBInstanceNotReadyFault" +_DDBLFI = "DescribeDBLogFilesInput" +_cDDBLFM = "com.amazonaws.rds#DescribeDBLogFilesMessage" +_FCi = "FilenameContains" +_FLW = "FileLastWritten" +_FSi = "FileSize" +_DDBLFD = "DescribeDBLogFilesDetails" +_LFN = "LogFileName" +_LW = "LastWritten" +_Si = "Size" +_DDBLFL = "DescribeDBLogFilesList" +_DDBLFO = "DescribeDBLogFilesOutput" +_cDDBLFR = "com.amazonaws.rds#DescribeDBLogFilesResponse" +_DDBLF = "DescribeDBLogFiles" +_DDBMEVI = "DescribeDBMajorEngineVersionsInput" +_cDDBMEVR = "com.amazonaws.rds#DescribeDBMajorEngineVersionsRequest" +_LSN = "LifecycleSupportName" +_OSRSS = "OPEN_SOURCE_RDS_STANDARD_SUPPORT" +_osrss = "open-source-rds-standard-support" +_OSRES = "OPEN_SOURCE_RDS_EXTENDED_SUPPORT" +_osres = "open-source-rds-extended-support" +_SEL = "SupportedEngineLifecycle" +_LSSD = "LifecycleSupportStartDate" +_LSED = "LifecycleSupportEndDate" +_SELL = "SupportedEngineLifecycleList" +_DBMEV = "DBMajorEngineVersion" +_SELu = "SupportedEngineLifecycles" +_DBMEVL = "DBMajorEngineVersionsList" +_DDBMEVO = "DescribeDBMajorEngineVersionsOutput" +_cDDBMEVRo = "com.amazonaws.rds#DescribeDBMajorEngineVersionsResponse" +_DBMEVa = "DBMajorEngineVersions" +_DDBMEV = "DescribeDBMajorEngineVersions" +_DDBPGIe = "DescribeDBParameterGroupsInput" +_cDDBPGMo = "com.amazonaws.rds#DescribeDBParameterGroupsMessage" +_DBPGL = "DBParameterGroupList" +_DDBPGOe = "DescribeDBParameterGroupsOutput" +_cDBPGM = "com.amazonaws.rds#DBParameterGroupsMessage" +_DDBPGe = "DescribeDBParameterGroups" +_DDBPIe = "DescribeDBParametersInput" +_cDDBPM = "com.amazonaws.rds#DescribeDBParametersMessage" +_DDBPOe = "DescribeDBParametersOutput" +_cDBPGD = "com.amazonaws.rds#DBParameterGroupDetails" +_DDBPe = "DescribeDBParameters" +_DDBPIes = "DescribeDBProxiesInput" +_cDDBPRom = "com.amazonaws.rds#DescribeDBProxiesRequest" +_DBPL = "DBProxyList" +_DDBPOes = "DescribeDBProxiesOutput" +_cDDBPRoma = "com.amazonaws.rds#DescribeDBProxiesResponse" +_DBPr = "DBProxies" +_DDBPes = "DescribeDBProxies" +_DDBPEIe = "DescribeDBProxyEndpointsInput" +_cDDBPERom = "com.amazonaws.rds#DescribeDBProxyEndpointsRequest" +_DBPEL = "DBProxyEndpointList" +_DDBPEOe = "DescribeDBProxyEndpointsOutput" +_cDDBPERoma = "com.amazonaws.rds#DescribeDBProxyEndpointsResponse" +_DBPEr = "DBProxyEndpoints" +_DDBPEe = "DescribeDBProxyEndpoints" +_DDBPTGI = "DescribeDBProxyTargetGroupsInput" +_cDDBPTGR = "com.amazonaws.rds#DescribeDBProxyTargetGroupsRequest" +_OSS = "OperatorSensitiveString" +_CPCI = "ConnectionPoolConfigurationInfo" +_MCP = "MaxConnectionsPercent" +_MICP = "MaxIdleConnectionsPercent" +_CBT = "ConnectionBorrowTimeout" +_SPF = "SessionPinningFilters" +_IQ = "InitQuery" +_DBPTG = "DBProxyTargetGroup" +_TGA = "TargetGroupArn" +_CPC = "ConnectionPoolConfig" +_TGL = "TargetGroupList" +_DDBPTGO = "DescribeDBProxyTargetGroupsOutput" +_cDDBPTGRo = "com.amazonaws.rds#DescribeDBProxyTargetGroupsResponse" +_TG = "TargetGroups" +_DDBPTG = "DescribeDBProxyTargetGroups" +_DDBPTIe = "DescribeDBProxyTargetsInput" +_cDDBPTRom = "com.amazonaws.rds#DescribeDBProxyTargetsRequest" +_THR = "TargetHealthReason" +_UNREACHABLE = "UNREACHABLE" +_CF = "CONNECTION_FAILED" +_AF = "AUTH_FAILURE" +_PPC = "PENDING_PROXY_CAPACITY" +_IRS = "INVALID_REPLICATION_STATE" +_PROMOTED = "PROMOTED" +_TSar = "TargetState" +_reg = "registering" +_REGISTERING = "REGISTERING" +_una = "unavailable" +_UNAVAILABLE = "UNAVAILABLE" +_unu = "unused" +_UNUSED = "UNUSED" +_TH = "TargetHealth" +_Rea = "Reason" +_TT = "TargetType" +_RI_ = "RDS_INSTANCE" +_RSE = "RDS_SERVERLESS_ENDPOINT" +_TC = "TRACKED_CLUSTER" +_DBPT = "DBProxyTarget" +_TCI = "TrackedClusterId" +_RRId = "RdsResourceId" +_Ty = "Type" +_Ro = "Role" +_TLa = "TargetList" +_DDBPTOe = "DescribeDBProxyTargetsOutput" +_cDDBPTRoma = "com.amazonaws.rds#DescribeDBProxyTargetsResponse" +_Targ = "Targets" +_DDBPTe = "DescribeDBProxyTargets" +_DDBRI = "DescribeDBRecommendationsInput" +_cDDBRM = "com.amazonaws.rds#DescribeDBRecommendationsMessage" +_LUA = "LastUpdatedAfter" +_LUB = "LastUpdatedBefore" +_Lo = "Locale" +_PIMDG = "PerformanceInsightsMetricDimensionGroup" +_Di = "Dimensions" +_G = "Group" +_Li = "Limit" +_PIMQ = "PerformanceInsightsMetricQuery" +_GB = "GroupBy" +_Met = "Metric" +_MQ = "MetricQuery" +_SRD = "ScalarReferenceDetails" +_RD = "ReferenceDetails" +_MRe = "MetricReference" +_MRL = "MetricReferenceList" +_Ref = "References" +_SDta = "StatisticsDetails" +_ML = "MetricList" +_PID = "PerformanceIssueDetails" +_STtar = "StartTime" +_ETn = "EndTime" +_Metr = "Metrics" +_An = "Analysis" +_IDs = "IssueDetails" +_DLo = "DocLink" +_Te = "Text" +_Ur = "Url" +_DLL = "DocLinkList" +_CAo = "ContextAttribute" +_CAL = "ContextAttributeList" +_RAP = "RecommendedActionParameter" +_RAPL = "RecommendedActionParameterList" +_RAe = "RecommendedAction" +_AI = "ActionId" +_Tit = "Title" +_Ope = "Operation" +_AMpp = "ApplyModes" +_CAon = "ContextAttributes" +_RALe = "RecommendedActionList" +_DBR = "DBRecommendation" +_RIe = "RecommendationId" +_TIy = "TypeId" +_Se = "Severity" +_RAes = "ResourceArn" +_CTre = "CreatedTime" +_UTp = "UpdatedTime" +_De = "Detection" +_Rec = "Recommendation" +_RAec = "RecommendedActions" +_Ca = "Category" +_TDy = "TypeDetection" +_TRy = "TypeRecommendation" +_Imp = "Impact" +_AId = "AdditionalInfo" +_Lin = "Links" +_DBRL = "DBRecommendationList" +_DDBRO = "DescribeDBRecommendationsOutput" +_cDBRM = "com.amazonaws.rds#DBRecommendationsMessage" +_DBRe = "DBRecommendations" +_DDBR = "DescribeDBRecommendations" +_DDBSGIes = "DescribeDBSecurityGroupsInput" +_cDDBSGMoma = "com.amazonaws.rds#DescribeDBSecurityGroupsMessage" +_DDBSGOes = "DescribeDBSecurityGroupsOutput" +_cDBSGM = "com.amazonaws.rds#DBSecurityGroupMessage" +_DDBSGes = "DescribeDBSecurityGroups" +_DDBSGIesc = "DescribeDBShardGroupsInput" +_cDDBSGMomam = "com.amazonaws.rds#DescribeDBShardGroupsMessage" +_DBSGh = "DBShardGroup" +_DBSGL = "DBShardGroupsList" +_DDBSGOesc = "DescribeDBShardGroupsOutput" +_cDDBSGR = "com.amazonaws.rds#DescribeDBShardGroupsResponse" +_DBSGha = "DBShardGroups" +_DDBSGesc = "DescribeDBShardGroups" +_DDBSAI = "DescribeDBSnapshotAttributesInput" +_cDDBSAM = "com.amazonaws.rds#DescribeDBSnapshotAttributesMessage" +_DBSAn = "DBSnapshotAttribute" +_DBSAL = "DBSnapshotAttributeList" +_DBSAR = "DBSnapshotAttributesResult" +_DBSAna = "DBSnapshotAttributes" +_DDBSAO = "DescribeDBSnapshotAttributesOutput" +_cDDBSAR = "com.amazonaws.rds#DescribeDBSnapshotAttributesResult" +_DDBSA = "DescribeDBSnapshotAttributes" +_DDBSIe = "DescribeDBSnapshotsInput" +_cDDBSMo = "com.amazonaws.rds#DescribeDBSnapshotsMessage" +_DBSL = "DBSnapshotList" +_DDBSOe = "DescribeDBSnapshotsOutput" +_cDBSM = "com.amazonaws.rds#DBSnapshotMessage" +_DBSn = "DBSnapshots" +_DDBSe = "DescribeDBSnapshots" +_DDBSTDI = "DescribeDBSnapshotTenantDatabasesInput" +_cDDBSTDM = "com.amazonaws.rds#DescribeDBSnapshotTenantDatabasesMessage" +_DBSTD = "DBSnapshotTenantDatabase" +_DBSTDARN = "DBSnapshotTenantDatabaseARN" +_DBSTDL = "DBSnapshotTenantDatabasesList" +_DDBSTDO = "DescribeDBSnapshotTenantDatabasesOutput" +_cDBSTDM = "com.amazonaws.rds#DBSnapshotTenantDatabasesMessage" +_DBSTDn = "DBSnapshotTenantDatabases" +_DDBSTD = "DescribeDBSnapshotTenantDatabases" +_DDBSGIescr = "DescribeDBSubnetGroupsInput" +_cDDBSGMomama = "com.amazonaws.rds#DescribeDBSubnetGroupsMessage" +_DBSGub = "DBSubnetGroups" +_DDBSGOescr = "DescribeDBSubnetGroupsOutput" +_cDBSGMo = "com.amazonaws.rds#DBSubnetGroupMessage" +_DDBSGescr = "DescribeDBSubnetGroups" + +DB_ENGINE_VERSION: StaticSchema = ( + 18, + n0, + _DBEV, + 0, + ( + _En, + _MEV, + _EV, + _DIFSBN, + _DIFSP, + _DIF, + _CDBEVM, + _DBPGF, + _DBED, + _DBEVA, + _DBEVD, + _DCS, + _FR, + _Im, + _DBEMT, + _KMSKI, + _CTr, + _SCS, + _SNCS, + _VUT, + _STu, + _ELT, + _SLETCL, + _SRR, + _SEM, + _SFN, + _St, + _SPQ, + _SGD, + _TL, + _SBu, + _SLD, + _SCRWR, + _SCACI, + _SLWF, + _SIu, + _SVFS, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CHARACTER_SET, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CUSTOM_DB_ENGINE_VERSION_AMI, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.SUPPORTED_CHARACTER_SETS_LIST, 0), + (lambda: schemas.SUPPORTED_CHARACTER_SETS_LIST, 0), + (lambda: schemas.VALID_UPGRADE_TARGET_LIST, 0), + (lambda: schemas.SUPPORTED_TIMEZONES_LIST, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ENGINE_MODE_LIST, 0), + (lambda: schemas.FEATURE_NAME_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.CA_CERTIFICATE_IDENTIFIERS_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SERVERLESS_V2_FEATURES_SUPPORT, 0), + ), +) + +DB_ENGINE_VERSION_LIST: StaticSchema = ( + 16, + n0, + _DBEVL, + 0, + (_m,), + ((DB_ENGINE_VERSION, {_sN: _DBEV}),), +) + +DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_INPUT: StaticSchema = ( + 18, + n0, + _DDBIABIe, + {_sSI: _cDDBIABMo, _smi: None}, + (_DRI, _DBII, _Fil, _MR, _Mar, _DBIABA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBIABOe, + {_sSI: _cDBIABM, _smit: None}, + (_Mar, _DBIABn), + ((lambda: schemas.STRING, 0), (lambda: DB_INSTANCE_AUTOMATED_BACKUP_LIST, 0)), +) + +DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS: StaticOperationSchema = ( + 23, + n0, + _DDBIABe, + 0, + DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_INPUT, + DESCRIBE_DB_INSTANCE_AUTOMATED_BACKUPS_OUTPUT, + (lambda: schemas.DB_INSTANCE_AUTOMATED_BACKUP_NOT_FOUND_FAULT,), +) + +DB_INSTANCE_AUTOMATED_BACKUP_LIST: StaticSchema = ( + 16, + n0, + _DBIABL, + 0, + (_m,), + ((lambda: schemas.DB_INSTANCE_AUTOMATED_BACKUP, {_sN: _DBIAB}),), +) + +DESCRIBE_DB_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DDBIIe, + {_sSI: _cDDBIMo, _smi: None}, + (_DBII, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBIOe, + {_sSI: _cDBIM, _smit: None}, + (_Mar, _DBIn), + ((lambda: schemas.STRING, 0), (lambda: DB_INSTANCE_LIST, 0)), +) + +DESCRIBE_DB_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DDBIe, + 0, + DESCRIBE_DB_INSTANCES_INPUT, + DESCRIBE_DB_INSTANCES_OUTPUT, + (lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT,), +) + +DB_INSTANCE_LIST: StaticSchema = ( + 16, + n0, + _DBIL, + 0, + (_m,), + ((lambda: schemas.DB_INSTANCE, {_sN: _DBI}),), +) + +DB_INSTANCE_NOT_READY_FAULT: StaticSchema = ( + 18, + n0, + _DBINRF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "DBInstanceNotReady", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DESCRIBE_DB_LOG_FILES_INPUT: StaticSchema = ( + 18, + n0, + _DDBLFI, + {_sSI: _cDDBLFM, _smi: None}, + (_DBII, _FCi, _FLW, _FSi, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.LONG, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_LOG_FILES_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBLFO, + {_sSI: _cDDBLFR, _smit: None}, + (_DDBLF, _Mar), + ((lambda: DESCRIBE_DB_LOG_FILES_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_LOG_FILES: StaticOperationSchema = ( + 23, + n0, + _DDBLF, + 0, + DESCRIBE_DB_LOG_FILES_INPUT, + DESCRIBE_DB_LOG_FILES_OUTPUT, + (lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, DB_INSTANCE_NOT_READY_FAULT), +) + +DESCRIBE_DB_LOG_FILES_DETAILS: StaticSchema = ( + 18, + n0, + _DDBLFD, + 0, + (_LFN, _LW, _Si), + ((lambda: schemas.STRING, 0), (lambda: schemas.LONG, 0), (lambda: schemas.LONG, 0)), +) + +DESCRIBE_DB_LOG_FILES_LIST: StaticSchema = ( + 16, + n0, + _DDBLFL, + 0, + (_m,), + ((DESCRIBE_DB_LOG_FILES_DETAILS, {_sN: _DDBLFD}),), +) + +ENGINE: StaticSchema = (3, n0, _En, 0) + +MAJOR_ENGINE_VERSION: StaticSchema = (3, n0, _MEV, 0) + +DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DDBMEVI, + {_sSI: _cDDBMEVR, _smi: None}, + (_En, _MEV, _Mar, _MR), + ( + (ENGINE, 0), + (MAJOR_ENGINE_VERSION, 0), + (lambda: schemas.MARKER, 0), + (lambda: schemas.MAX_RECORDS, 0), + ), +) + +DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBMEVO, + {_sSI: _cDDBMEVRo, _smit: None}, + (_DBMEVa, _Mar), + ((lambda: DB_MAJOR_ENGINE_VERSIONS_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_MAJOR_ENGINE_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _DDBMEV, + 0, + DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_INPUT, + DESCRIBE_DB_MAJOR_ENGINE_VERSIONS_OUTPUT, + (), +) + +LIFECYCLE_SUPPORT_NAME: StaticSchema = ( + 14, + n0, + _LSN, + 0, + (_OSRSS, _OSRES), + ((-1, {_sV: _osrss}), (-1, {_sV: _osres})), +) + +SUPPORTED_ENGINE_LIFECYCLE: StaticSchema = ( + 18, + n0, + _SEL, + 0, + (_LSN, _LSSD, _LSED), + ( + (LIFECYCLE_SUPPORT_NAME, 1), + (lambda: schemas.T_STAMP, 1), + (lambda: schemas.T_STAMP, 1), + ), +) + +SUPPORTED_ENGINE_LIFECYCLE_LIST: StaticSchema = ( + 16, + n0, + _SELL, + 0, + (_m,), + ((SUPPORTED_ENGINE_LIFECYCLE, {_sN: _SEL}),), +) + +DB_MAJOR_ENGINE_VERSION: StaticSchema = ( + 18, + n0, + _DBMEV, + 0, + (_En, _MEV, _SELu), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (SUPPORTED_ENGINE_LIFECYCLE_LIST, 0), + ), +) + +DB_MAJOR_ENGINE_VERSIONS_LIST: StaticSchema = ( + 16, + n0, + _DBMEVL, + 0, + (_m,), + ((DB_MAJOR_ENGINE_VERSION, {_sN: _DBMEV}),), +) + +DESCRIBE_DB_PARAMETER_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DDBPGIe, + {_sSI: _cDDBPGMo, _smi: None}, + (_DBPGN, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_PARAMETER_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPGOe, + {_sSI: _cDBPGM, _smit: None}, + (_Mar, _DBPGa), + ((lambda: schemas.STRING, 0), (lambda: DB_PARAMETER_GROUP_LIST, 0)), +) + +DESCRIBE_DB_PARAMETER_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DDBPGe, + 0, + DESCRIBE_DB_PARAMETER_GROUPS_INPUT, + DESCRIBE_DB_PARAMETER_GROUPS_OUTPUT, + (lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT,), +) + +DB_PARAMETER_GROUP_LIST: StaticSchema = ( + 16, + n0, + _DBPGL, + 0, + (_m,), + ((lambda: schemas.DB_PARAMETER_GROUP, {_sN: _DBPG}),), +) + +DESCRIBE_DB_PARAMETERS_INPUT: StaticSchema = ( + 18, + n0, + _DDBPIe, + {_sSI: _cDDBPM, _smi: None}, + (_DBPGN, _So, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_PARAMETERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPOe, + {_sSI: _cDBPGD, _smit: None}, + (_Par, _Mar), + ((lambda: schemas.PARAMETERS_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_PARAMETERS: StaticOperationSchema = ( + 23, + n0, + _DDBPe, + 0, + DESCRIBE_DB_PARAMETERS_INPUT, + DESCRIBE_DB_PARAMETERS_OUTPUT, + (lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT,), +) + +DESCRIBE_DB_PROXIES_INPUT: StaticSchema = ( + 18, + n0, + _DDBPIes, + {_sSI: _cDDBPRom, _smi: None}, + (_DBPN, _Fil, _Mar, _MR), + ( + (lambda: schemas.DB_PROXY_NAME, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAX_RECORDS, 0), + ), +) + +DESCRIBE_DB_PROXIES_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPOes, + {_sSI: _cDDBPRoma, _smit: None}, + (_DBPr, _Mar), + ((lambda: DB_PROXY_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_PROXIES: StaticOperationSchema = ( + 23, + n0, + _DDBPes, + 0, + DESCRIBE_DB_PROXIES_INPUT, + DESCRIBE_DB_PROXIES_OUTPUT, + (lambda: schemas.DB_PROXY_NOT_FOUND_FAULT,), +) + +DB_PROXY_LIST: StaticSchema = ( + 16, + n0, + _DBPL, + 0, + (_m,), + ((lambda: schemas.DB_PROXY, 0),), +) + +DESCRIBE_DB_PROXY_ENDPOINTS_INPUT: StaticSchema = ( + 18, + n0, + _DDBPEIe, + {_sSI: _cDDBPERom, _smi: None}, + (_DBPN, _DBPEN, _Fil, _Mar, _MR), + ( + (lambda: schemas.DB_PROXY_NAME, 0), + (lambda: schemas.DB_PROXY_ENDPOINT_NAME, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAX_RECORDS, 0), + ), +) + +DESCRIBE_DB_PROXY_ENDPOINTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPEOe, + {_sSI: _cDDBPERoma, _smit: None}, + (_DBPEr, _Mar), + ((lambda: DB_PROXY_ENDPOINT_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_PROXY_ENDPOINTS: StaticOperationSchema = ( + 23, + n0, + _DDBPEe, + 0, + DESCRIBE_DB_PROXY_ENDPOINTS_INPUT, + DESCRIBE_DB_PROXY_ENDPOINTS_OUTPUT, + ( + lambda: schemas.DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + ), +) + +DB_PROXY_ENDPOINT_LIST: StaticSchema = ( + 16, + n0, + _DBPEL, + 0, + (_m,), + ((lambda: schemas.DB_PROXY_ENDPOINT, 0),), +) + +DESCRIBE_DB_PROXY_TARGET_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DDBPTGI, + {_sSI: _cDDBPTGR, _smi: None}, + (_DBPN, _TGN, _Fil, _Mar, _MR), + ( + (lambda: schemas.DB_PROXY_NAME, 1), + (lambda: schemas.DB_PROXY_TARGET_GROUP_NAME, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAX_RECORDS, 0), + ), +) + +DESCRIBE_DB_PROXY_TARGET_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPTGO, + {_sSI: _cDDBPTGRo, _smit: None}, + (_TG, _Mar), + ((lambda: TARGET_GROUP_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_PROXY_TARGET_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DDBPTG, + 0, + DESCRIBE_DB_PROXY_TARGET_GROUPS_INPUT, + DESCRIBE_DB_PROXY_TARGET_GROUPS_OUTPUT, + ( + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PROXY_STATE_FAULT, + ), +) + +OPERATOR_SENSITIVE_STRING: StaticSchema = (3, n0, _OSS, 4) + +CONNECTION_POOL_CONFIGURATION_INFO: StaticSchema = ( + 18, + n0, + _CPCI, + 0, + (_MCP, _MICP, _CBT, _SPF, _IQ), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING_LIST, 0), + (OPERATOR_SENSITIVE_STRING, 0), + ), +) + +DB_PROXY_TARGET_GROUP: StaticSchema = ( + 18, + n0, + _DBPTG, + 0, + (_DBPN, _TGN, _TGA, _ID, _St, _CPC, _CDr, _UD), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (CONNECTION_POOL_CONFIGURATION_INFO, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + ), +) + +TARGET_GROUP_LIST: StaticSchema = ( + 16, + n0, + _TGL, + 0, + (_m,), + ((DB_PROXY_TARGET_GROUP, 0),), +) + +DESCRIBE_DB_PROXY_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _DDBPTIe, + {_sSI: _cDDBPTRom, _smi: None}, + (_DBPN, _TGN, _Fil, _Mar, _MR), + ( + (lambda: schemas.DB_PROXY_NAME, 1), + (lambda: schemas.DB_PROXY_TARGET_GROUP_NAME, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAX_RECORDS, 0), + ), +) + +DESCRIBE_DB_PROXY_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBPTOe, + {_sSI: _cDDBPTRoma, _smit: None}, + (_Targ, _Mar), + ((lambda: TARGET_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_PROXY_TARGETS: StaticOperationSchema = ( + 23, + n0, + _DDBPTe, + 0, + DESCRIBE_DB_PROXY_TARGETS_INPUT, + DESCRIBE_DB_PROXY_TARGETS_OUTPUT, + ( + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_TARGET_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PROXY_STATE_FAULT, + ), +) + +TARGET_ROLE: StaticSchema = ( + 14, + n0, + _TR, + 0, + (_RW, _RO, _UNKNOWN), + ((-1, {_sV: _RW}), (-1, {_sV: _RO}), (-1, {_sV: _UNKNOWN})), +) + +TARGET_HEALTH_REASON: StaticSchema = ( + 14, + n0, + _THR, + 0, + (_UNREACHABLE, _CF, _AF, _PPC, _IRS, _PROMOTED), + ( + (-1, {_sV: _UNREACHABLE}), + (-1, {_sV: _CF}), + (-1, {_sV: _AF}), + (-1, {_sV: _PPC}), + (-1, {_sV: _IRS}), + (-1, {_sV: _PROMOTED}), + ), +) + +TARGET_STATE: StaticSchema = ( + 14, + n0, + _TSar, + 0, + (_reg, _av, _una, _unu), + ( + (-1, {_sV: _REGISTERING}), + (-1, {_sV: _AVAILABLE}), + (-1, {_sV: _UNAVAILABLE}), + (-1, {_sV: _UNUSED}), + ), +) + +TARGET_HEALTH: StaticSchema = ( + 18, + n0, + _TH, + 0, + (_Sta, _Rea, _D), + ((TARGET_STATE, 0), (TARGET_HEALTH_REASON, 0), (lambda: schemas.STRING, 0)), +) + +TARGET_TYPE: StaticSchema = ( + 14, + n0, + _TT, + 0, + (_RI_, _RSE, _TC), + ((-1, {_sV: _RI_}), (-1, {_sV: _RSE}), (-1, {_sV: _TC})), +) + +DB_PROXY_TARGET: StaticSchema = ( + 18, + n0, + _DBPT, + 0, + (_TAa, _End, _TCI, _RRId, _P, _Ty, _Ro, _TH), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (TARGET_TYPE, 0), + (TARGET_ROLE, 0), + (TARGET_HEALTH, 0), + ), +) + +TARGET_LIST: StaticSchema = (16, n0, _TLa, 0, (_m,), ((DB_PROXY_TARGET, 0),)) + +DESCRIBE_DB_RECOMMENDATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DDBRI, + {_sSI: _cDDBRM, _smi: None}, + (_LUA, _LUB, _Lo, _Fil, _MR, _Mar), + ( + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_RECOMMENDATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBRO, + {_sSI: _cDBRM, _smit: None}, + (_DBRe, _Mar), + ((lambda: DB_RECOMMENDATION_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_RECOMMENDATIONS: StaticOperationSchema = ( + 23, + n0, + _DDBR, + 0, + DESCRIBE_DB_RECOMMENDATIONS_INPUT, + DESCRIBE_DB_RECOMMENDATIONS_OUTPUT, + (), +) + +PERFORMANCE_INSIGHTS_METRIC_DIMENSION_GROUP: StaticSchema = ( + 18, + n0, + _PIMDG, + 0, + (_Di, _G, _Li), + ( + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +PERFORMANCE_INSIGHTS_METRIC_QUERY: StaticSchema = ( + 18, + n0, + _PIMQ, + 0, + (_GB, _Met), + ((PERFORMANCE_INSIGHTS_METRIC_DIMENSION_GROUP, 0), (lambda: schemas.STRING, 0)), +) + +METRIC_QUERY: StaticSchema = ( + 18, + n0, + _MQ, + 0, + (_PIMQ,), + ((PERFORMANCE_INSIGHTS_METRIC_QUERY, 0),), +) + +SCALAR_REFERENCE_DETAILS: StaticSchema = ( + 18, + n0, + _SRD, + 0, + (_V,), + ((lambda: schemas.DOUBLE, 0),), +) + +REFERENCE_DETAILS: StaticSchema = ( + 18, + n0, + _RD, + 0, + (_SRD,), + ((SCALAR_REFERENCE_DETAILS, 0),), +) + +METRIC_REFERENCE: StaticSchema = ( + 18, + n0, + _MRe, + 0, + (_N, _RD), + ((lambda: schemas.STRING, 0), (REFERENCE_DETAILS, 0)), +) + +METRIC_REFERENCE_LIST: StaticSchema = (16, n0, _MRL, 0, (_m,), ((METRIC_REFERENCE, 0),)) + +METRIC: StaticSchema = ( + 18, + n0, + _Met, + 0, + (_N, _Ref, _SDta, _MQ), + ( + (lambda: schemas.STRING, 0), + (METRIC_REFERENCE_LIST, 0), + (lambda: schemas.STRING, 0), + (METRIC_QUERY, 0), + ), +) + +METRIC_LIST: StaticSchema = (16, n0, _ML, 0, (_m,), ((METRIC, 0),)) + +PERFORMANCE_ISSUE_DETAILS: StaticSchema = ( + 18, + n0, + _PID, + 0, + (_STtar, _ETn, _Metr, _An), + ( + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (METRIC_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +ISSUE_DETAILS: StaticSchema = ( + 18, + n0, + _IDs, + 0, + (_PID,), + ((PERFORMANCE_ISSUE_DETAILS, 0),), +) + +DOC_LINK: StaticSchema = ( + 18, + n0, + _DLo, + 0, + (_Te, _Ur), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +DOC_LINK_LIST: StaticSchema = (16, n0, _DLL, 0, (_m,), ((DOC_LINK, 0),)) + +CONTEXT_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _CAo, + 0, + (_K, _V), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +CONTEXT_ATTRIBUTE_LIST: StaticSchema = ( + 16, + n0, + _CAL, + 0, + (_m,), + ((CONTEXT_ATTRIBUTE, 0),), +) + +RECOMMENDED_ACTION_PARAMETER: StaticSchema = ( + 18, + n0, + _RAP, + 0, + (_K, _V), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +RECOMMENDED_ACTION_PARAMETER_LIST: StaticSchema = ( + 16, + n0, + _RAPL, + 0, + (_m,), + ((RECOMMENDED_ACTION_PARAMETER, 0),), +) + +RECOMMENDED_ACTION: StaticSchema = ( + 18, + n0, + _RAe, + 0, + (_AI, _Tit, _D, _Ope, _Par, _AMpp, _St, _IDs, _CAon), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (RECOMMENDED_ACTION_PARAMETER_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + (ISSUE_DETAILS, 0), + (CONTEXT_ATTRIBUTE_LIST, 0), + ), +) + +RECOMMENDED_ACTION_LIST: StaticSchema = ( + 16, + n0, + _RALe, + 0, + (_m,), + ((RECOMMENDED_ACTION, 0),), +) + +DB_RECOMMENDATION: StaticSchema = ( + 18, + n0, + _DBR, + 0, + ( + _RIe, + _TIy, + _Se, + _RAes, + _St, + _CTre, + _UTp, + _De, + _Rec, + _D, + _Rea, + _RAec, + _Ca, + _So, + _TDy, + _TRy, + _Imp, + _AId, + _Lin, + _IDs, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (RECOMMENDED_ACTION_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (DOC_LINK_LIST, 0), + (ISSUE_DETAILS, 0), + ), +) + +DB_RECOMMENDATION_LIST: StaticSchema = ( + 16, + n0, + _DBRL, + 0, + (_m,), + ((DB_RECOMMENDATION, 0),), +) + +DESCRIBE_DB_SECURITY_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DDBSGIes, + {_sSI: _cDDBSGMoma, _smi: None}, + (_DBSGN, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_SECURITY_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSGOes, + {_sSI: _cDBSGM, _smit: None}, + (_Mar, _DBSGe), + ((lambda: schemas.STRING, 0), (lambda: DB_SECURITY_GROUPS, 0)), +) + +DESCRIBE_DB_SECURITY_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DDBSGes, + 0, + DESCRIBE_DB_SECURITY_GROUPS_INPUT, + DESCRIBE_DB_SECURITY_GROUPS_OUTPUT, + (lambda: schemas.DB_SECURITY_GROUP_NOT_FOUND_FAULT,), +) + +DB_SECURITY_GROUPS: StaticSchema = ( + 16, + n0, + _DBSGe, + 0, + (_m,), + ((lambda: schemas.DB_SECURITY_GROUP, {_sN: _DBSG}),), +) + +DESCRIBE_DB_SHARD_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DDBSGIesc, + {_sSI: _cDDBSGMomam, _smi: None}, + (_DBSGI, _Fil, _Mar, _MR), + ( + (lambda: schemas.DB_SHARD_GROUP_IDENTIFIER, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAX_RECORDS, 0), + ), +) + +DESCRIBE_DB_SHARD_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSGOesc, + {_sSI: _cDDBSGR, _smit: None}, + (_DBSGha, _Mar), + ((lambda: DB_SHARD_GROUPS_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_DB_SHARD_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DDBSGesc, + 0, + DESCRIBE_DB_SHARD_GROUPS_INPUT, + DESCRIBE_DB_SHARD_GROUPS_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_SHARD_GROUP_NOT_FOUND_FAULT, + ), +) + +DB_SHARD_GROUP: StaticSchema = ( + 18, + n0, + _DBSGh, + 0, + (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_SHARD_GROUP_IDENTIFIER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +DB_SHARD_GROUPS_LIST: StaticSchema = ( + 16, + n0, + _DBSGL, + 0, + (_m,), + ((DB_SHARD_GROUP, {_sN: _DBSGh}),), +) + +DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _DDBSAI, + {_sSI: _cDDBSAM, _smi: None}, + (_DBSIn,), + ((lambda: schemas.STRING, 1),), +) + +DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSAO, + {_sSI: _cDDBSAR, _smit: None}, + (_DBSAR,), + ((lambda: DB_SNAPSHOT_ATTRIBUTES_RESULT, 0),), +) + +DESCRIBE_DB_SNAPSHOT_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _DDBSA, + 0, + DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_INPUT, + DESCRIBE_DB_SNAPSHOT_ATTRIBUTES_OUTPUT, + (lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT,), +) + +DB_SNAPSHOT_ATTRIBUTE: StaticSchema = ( + 18, + n0, + _DBSAn, + 0, + (_AN, _AVtt), + ((lambda: schemas.STRING, 0), (lambda: schemas.ATTRIBUTE_VALUE_LIST, 0)), +) + +DB_SNAPSHOT_ATTRIBUTE_LIST: StaticSchema = ( + 16, + n0, + _DBSAL, + 0, + (_m,), + ((DB_SNAPSHOT_ATTRIBUTE, {_sN: _DBSAn}),), +) + +DB_SNAPSHOT_ATTRIBUTES_RESULT: StaticSchema = ( + 18, + n0, + _DBSAR, + 0, + (_DBSIn, _DBSAna), + ((lambda: schemas.STRING, 0), (DB_SNAPSHOT_ATTRIBUTE_LIST, 0)), +) + +DESCRIBE_DB_SNAPSHOTS_INPUT: StaticSchema = ( + 18, + n0, + _DDBSIe, + {_sSI: _cDDBSMo, _smi: None}, + (_DBII, _DBSIn, _STna, _Fil, _MR, _Mar, _ISnc, _IP, _DRI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_SNAPSHOTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSOe, + {_sSI: _cDBSM, _smit: None}, + (_Mar, _DBSn), + ((lambda: schemas.STRING, 0), (lambda: DB_SNAPSHOT_LIST, 0)), +) + +DESCRIBE_DB_SNAPSHOTS: StaticOperationSchema = ( + 23, + n0, + _DDBSe, + 0, + DESCRIBE_DB_SNAPSHOTS_INPUT, + DESCRIBE_DB_SNAPSHOTS_OUTPUT, + (lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT,), +) + +DB_SNAPSHOT_LIST: StaticSchema = ( + 16, + n0, + _DBSL, + 0, + (_m,), + ((lambda: schemas.DB_SNAPSHOT, {_sN: _DBS}),), +) + +DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_INPUT: StaticSchema = ( + 18, + n0, + _DDBSTDI, + {_sSI: _cDDBSTDM, _smi: None}, + (_DBII, _DBSIn, _STna, _Fil, _MR, _Mar, _DRI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSTDO, + {_sSI: _cDBSTDM, _smit: None}, + (_Mar, _DBSTDn), + ((lambda: schemas.STRING, 0), (lambda: DB_SNAPSHOT_TENANT_DATABASES_LIST, 0)), +) + +DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES: StaticOperationSchema = ( + 23, + n0, + _DDBSTD, + 0, + DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_INPUT, + DESCRIBE_DB_SNAPSHOT_TENANT_DATABASES_OUTPUT, + (lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT,), +) + +DB_SNAPSHOT_TENANT_DATABASE: StaticSchema = ( + 18, + n0, + _DBSTD, + 0, + ( + _DBSIn, + _DBII, + _DRI, + _EN, + _STna, + _TDCT, + _TDBN, + _MU, + _TDRI, + _CSN, + _DBSTDARN, + _NCSN, + _TL, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +DB_SNAPSHOT_TENANT_DATABASES_LIST: StaticSchema = ( + 16, + n0, + _DBSTDL, + 0, + (_m,), + ((DB_SNAPSHOT_TENANT_DATABASE, {_sN: _DBSTD}),), +) + +DESCRIBE_DB_SUBNET_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DDBSGIescr, + {_sSI: _cDDBSGMomama, _smi: None}, + (_DBSGNu, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_DB_SUBNET_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBSGOescr, + {_sSI: _cDBSGMo, _smit: None}, + (_Mar, _DBSGub), + ((lambda: schemas.STRING, 0), (lambda: DB_SUBNET_GROUPS, 0)), +) + +DESCRIBE_DB_SUBNET_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DDBSGescr, + 0, + DESCRIBE_DB_SUBNET_GROUPS_INPUT, + DESCRIBE_DB_SUBNET_GROUPS_OUTPUT, + (lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT,), +) + +DB_SUBNET_GROUPS: StaticSchema = ( + 16, + n0, + _DBSGub, + 0, + (_m,), + ((lambda: schemas.DB_SUBNET_GROUP, {_sN: _DBSGu}),), +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_7.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_7.py new file mode 100644 index 000000000..833df4f37 --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_7.py @@ -0,0 +1,1583 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_sm = "smithy.api#required" +_STt = "StorageType" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_SN = "SubscriptionName" +_SI = "SourceIdentifier" +_ES = "EventSubscription" +_St = "Status" +_STo = "SourceType" +_Ta = "Tags" +_RI = "ResourceIdentifier" +_D = "Description" +_RPMA = "ResourcePendingMaintenanceActions" +_AZ = "AvailabilityZone" +_DBIC = "DBInstanceClass" +_En = "Engine" +_LM = "LicenseModel" +_Sta = "State" +_ETI = "ExportTaskIdentifier" +_SA = "SourceArn" +_EO = "ExportOnly" +_STn = "SnapshotTime" +_TST = "TaskStartTime" +_TET = "TaskEndTime" +_SB = "S3Bucket" +_SP = "S3Prefix" +_IRA = "IamRoleArn" +_KKI = "KmsKeyId" +_PP = "PercentProgress" +_TEDIGB = "TotalExtractedDataInGB" +_FC = "FailureCause" +_WM = "WarningMessage" +_DBPGF = "DBParameterGroupFamily" +_AZv = "AvailabilityZones" +_EV = "EngineVersion" +_OGN = "OptionGroupName" +_N = "Name" +_SR = "SourceRegion" +_DV = "DefaultValue" +_AT = "ApplyType" +_AV = "AllowedValues" +_IM = "IsModifiable" +_ON = "OptionName" +_Pe = "Persistent" +_Per = "Permanent" +_OV = "OptionVersion" +_OG = "OptionGroup" +_EN = "EngineName" +_MEV = "MajorEngineVersion" +_CTr = "CreateTime" +_KMSKI = "KMSKeyId" +_SVFS = "ServerlessV2FeaturesSupport" +_SEM = "SupportedEngineModes" +_SGD = "SupportsGlobalDatabases" +_GCI = "GlobalClusterIdentifier" +_Me = "Message" +_End = "Endpoint" +_MAZ = "MultiAZ" +_SVPV = "ServerlessV2PlatformVersion" +_SNT = "SupportedNetworkTypes" +_ID = "IsDefault" +_ECv = "EventCategories" +_GCM = "GlobalClusterMember" +_DFa = "DataFilter" +_INn = "IntegrationName" +_TAa = "TargetArn" +_AEC = "AdditionalEncryptionContext" +_IAn = "IntegrationArn" +_Er = "Errors" +_TDBN = "TenantDBName" +_TD = "TenantDatabase" +_IIn = "IntegrationIdentifier" +_MR = "MaxRecords" +_Fil = "Filters" +_Mar = "Marker" +_MEVi = "MinimumEngineVersion" +_Par = "Parameters" +_DOe = "DefaultOnly" +_IAnc = "IncludeAll" +_Dou = "Double" +_STtar = "StartTime" +_ETn = "EndTime" +_DEDCPI = "DescribeEngineDefaultClusterParametersInput" +_cDEDCPM = "com.amazonaws.rds#DescribeEngineDefaultClusterParametersMessage" +_EDn = "EngineDefaults" +_DEDCPO = "DescribeEngineDefaultClusterParametersOutput" +_cDEDCPR = "com.amazonaws.rds#DescribeEngineDefaultClusterParametersResult" +_DEDCP = "DescribeEngineDefaultClusterParameters" +_DEDPI = "DescribeEngineDefaultParametersInput" +_cDEDPM = "com.amazonaws.rds#DescribeEngineDefaultParametersMessage" +_DEDPO = "DescribeEngineDefaultParametersOutput" +_cDEDPR = "com.amazonaws.rds#DescribeEngineDefaultParametersResult" +_DEDP = "DescribeEngineDefaultParameters" +_DECI = "DescribeEventCategoriesInput" +_cDECM = "com.amazonaws.rds#DescribeEventCategoriesMessage" +_ECMv = "EventCategoriesMap" +_ECML = "EventCategoriesMapList" +_DECO = "DescribeEventCategoriesOutput" +_cECM = "com.amazonaws.rds#EventCategoriesMessage" +_DEC = "DescribeEventCategories" +_di_ = "db_instance" +_di__ = "db-instance" +_dpg = "db_parameter_group" +_dpg_ = "db-parameter-group" +_dsg = "db_security_group" +_dsg_ = "db-security-group" +_ds = "db_snapshot" +_ds_ = "db-snapshot" +_dc = "db_cluster" +_dc_ = "db-cluster" +_dcs = "db_cluster_snapshot" +_dcs_ = "db-cluster-snapshot" +_cev = "custom_engine_version" +_cev_ = "custom-engine-version" +_dp = "db_proxy" +_dp_ = "db-proxy" +_bgd = "blue_green_deployment" +_bgd_ = "blue-green-deployment" +_dsg__ = "db_shard_group" +_dsg___ = "db-shard-group" +_ze = "zero_etl" +_ze_ = "zero-etl" +_DEI = "DescribeEventsInput" +_cDEM = "com.amazonaws.rds#DescribeEventsMessage" +_Du = "Duration" +_Ev = "Event" +_Da = "Date" +_EL = "EventList" +_DEO = "DescribeEventsOutput" +_cEM = "com.amazonaws.rds#EventsMessage" +_Eve = "Events" +_DE = "DescribeEvents" +_DESIe = "DescribeEventSubscriptionsInput" +_cDESMo = "com.amazonaws.rds#DescribeEventSubscriptionsMessage" +_ESL = "EventSubscriptionsList" +_DESOe = "DescribeEventSubscriptionsOutput" +_cESM = "com.amazonaws.rds#EventSubscriptionsMessage" +_DESe = "DescribeEventSubscriptions" +_DETI = "DescribeExportTasksInput" +_cDETM = "com.amazonaws.rds#DescribeExportTasksMessage" +_ETx = "ExportTask" +_ETL = "ExportTasksList" +_DETO = "DescribeExportTasksOutput" +_cETM = "com.amazonaws.rds#ExportTasksMessage" +_ETxp = "ExportTasks" +_DET = "DescribeExportTasks" +_DGCIe = "DescribeGlobalClustersInput" +_cDGCMo = "com.amazonaws.rds#DescribeGlobalClustersMessage" +_GCL = "GlobalClusterList" +_DGCOe = "DescribeGlobalClustersOutput" +_cGCM = "com.amazonaws.rds#GlobalClustersMessage" +_GCl = "GlobalClusters" +_DGCe = "DescribeGlobalClusters" +_DIIe = "DescribeIntegrationsInput" +_cDIMo = "com.amazonaws.rds#DescribeIntegrationsMessage" +_In = "Integration" +_IL = "IntegrationList" +_DIOe = "DescribeIntegrationsOutput" +_cDIR = "com.amazonaws.rds#DescribeIntegrationsResponse" +_Int = "Integrations" +_DIes = "DescribeIntegrations" +_DOGOI = "DescribeOptionGroupOptionsInput" +_cDOGOM = "com.amazonaws.rds#DescribeOptionGroupOptionsMessage" +_MEVPAV = "MinimumEngineVersionPerAllowedValue" +_AVl = "AllowedValue" +_MEVPAVL = "MinimumEngineVersionPerAllowedValueList" +_OGOS = "OptionGroupOptionSetting" +_SNe = "SettingName" +_SDe = "SettingDescription" +_IR = "IsRequired" +_OGOSL = "OptionGroupOptionSettingsList" +_Ve = "Version" +_OGOVL = "OptionGroupOptionVersionsList" +_OCW = "OptionsConflictsWith" +_OCN = "OptionConflictName" +_ODO = "OptionsDependedOn" +_OGO = "OptionGroupOption" +_MRMEV = "MinimumRequiredMinorEngineVersion" +_PRo = "PortRequired" +_DPe = "DefaultPort" +_RAMEVU = "RequiresAutoMinorEngineVersionUpgrade" +_VO = "VpcOnly" +_SOVD = "SupportsOptionVersionDowngrade" +_OGOSp = "OptionGroupOptionSettings" +_OGOV = "OptionGroupOptionVersions" +_CCA = "CopyableCrossAccount" +_CCR = "CopyableCrossRegion" +_OGOL = "OptionGroupOptionsList" +_DOGOO = "DescribeOptionGroupOptionsOutput" +_cOGOM = "com.amazonaws.rds#OptionGroupOptionsMessage" +_OGOp = "OptionGroupOptions" +_DOGOe = "DescribeOptionGroupOptions" +_DOGIe = "DescribeOptionGroupsInput" +_cDOGMo = "com.amazonaws.rds#DescribeOptionGroupsMessage" +_OGL = "OptionGroupsList" +_DOGOes = "DescribeOptionGroupsOutput" +_cOG = "com.amazonaws.rds#OptionGroups" +_DOGe = "DescribeOptionGroups" +_DODBIOI = "DescribeOrderableDBInstanceOptionsInput" +_cDODBIOM = "com.amazonaws.rds#DescribeOrderableDBInstanceOptionsMessage" +_AZG = "AvailabilityZoneGroup" +_Vp = "Vpc" +_AZL = "AvailabilityZoneList" +_AASVO = "AvailableAdditionalStorageVolumesOption" +_SSAu = "SupportsStorageAutoscaling" +_SST = "SupportsStorageThroughput" +_SIup = "SupportsIops" +_MSS = "MinStorageSize" +_MSSa = "MaxStorageSize" +_MIi = "MinIops" +_MIa = "MaxIops" +_MIPG = "MinIopsPerGib" +_MIPGa = "MaxIopsPerGib" +_MST = "MinStorageThroughput" +_MSTa = "MaxStorageThroughput" +_AASVOL = "AvailableAdditionalStorageVolumesOptionList" +_APF = "AvailableProcessorFeature" +_APFL = "AvailableProcessorFeatureList" +_ODBIO = "OrderableDBInstanceOption" +_MAZC = "MultiAZCapable" +_RRC = "ReadReplicaCapable" +_SSEu = "SupportsStorageEncryption" +_SEMu = "SupportsEnhancedMonitoring" +_SIAMDA = "SupportsIAMDatabaseAuthentication" +_SPI = "SupportsPerformanceInsights" +_MIPDI = "MinIopsPerDbInstance" +_MIPDIa = "MaxIopsPerDbInstance" +_MSTPDI = "MinStorageThroughputPerDbInstance" +_MSTPDIa = "MaxStorageThroughputPerDbInstance" +_MSTPI = "MinStorageThroughputPerIops" +_MSTPIa = "MaxStorageThroughputPerIops" +_APFv = "AvailableProcessorFeatures" +_SKA = "SupportsKerberosAuthentication" +_OC = "OutpostCapable" +_SASM = "SupportedActivityStreamModes" +_SCu = "SupportsClusters" +_SDLV = "SupportsDedicatedLogVolume" +_SASV = "SupportsAdditionalStorageVolumes" +_SHE = "SupportsHttpEndpoint" +_AASVOv = "AvailableAdditionalStorageVolumesOptions" +_ODBIOL = "OrderableDBInstanceOptionsList" +_DODBIOO = "DescribeOrderableDBInstanceOptionsOutput" +_cODBIOM = "com.amazonaws.rds#OrderableDBInstanceOptionsMessage" +_ODBIOr = "OrderableDBInstanceOptions" +_DODBIO = "DescribeOrderableDBInstanceOptions" +_DPMAI = "DescribePendingMaintenanceActionsInput" +_cDPMAM = "com.amazonaws.rds#DescribePendingMaintenanceActionsMessage" +_PMAe = "PendingMaintenanceActions" +_DPMAO = "DescribePendingMaintenanceActionsOutput" +_cPMAM = "com.amazonaws.rds#PendingMaintenanceActionsMessage" +_DPMA = "DescribePendingMaintenanceActions" +_DRDBII = "DescribeReservedDBInstancesInput" +_cDRDBIM = "com.amazonaws.rds#DescribeReservedDBInstancesMessage" +_RDBII = "ReservedDBInstanceId" +_RDBIOI = "ReservedDBInstancesOfferingId" +_PD = "ProductDescription" +_OT = "OfferingType" +_LI = "LeaseId" +_RC = "RecurringCharge" +_RCA = "RecurringChargeAmount" +_RCF = "RecurringChargeFrequency" +_RCL = "RecurringChargeList" +_RDBI = "ReservedDBInstance" +_FP = "FixedPrice" +_UP = "UsagePrice" +_CC = "CurrencyCode" +_DBICn = "DBInstanceCount" +_RCe = "RecurringCharges" +_RDBIA = "ReservedDBInstanceArn" +_RDBIL = "ReservedDBInstanceList" +_DRDBIO = "DescribeReservedDBInstancesOutput" +_cRDBIM = "com.amazonaws.rds#ReservedDBInstanceMessage" +_RDBIe = "ReservedDBInstances" +_RDBINFF = "ReservedDBInstanceNotFoundFault" +_DRDBI = "DescribeReservedDBInstances" +_DRDBIOI = "DescribeReservedDBInstancesOfferingsInput" +_cDRDBIOM = "com.amazonaws.rds#DescribeReservedDBInstancesOfferingsMessage" +_RDBIO = "ReservedDBInstancesOffering" +_RDBIOL = "ReservedDBInstancesOfferingList" +_DRDBIOO = "DescribeReservedDBInstancesOfferingsOutput" +_cRDBIOM = "com.amazonaws.rds#ReservedDBInstancesOfferingMessage" +_RDBIOe = "ReservedDBInstancesOfferings" +_RDBIONFF = "ReservedDBInstancesOfferingNotFoundFault" +_DRDBIOe = "DescribeReservedDBInstancesOfferings" +_DSVPVI = "DescribeServerlessV2PlatformVersionsInput" +_cDSVPVM = "com.amazonaws.rds#DescribeServerlessV2PlatformVersionsMessage" +_SVPVI = "ServerlessV2PlatformVersionInfo" +_SVPVD = "ServerlessV2PlatformVersionDescription" +_SVPVL = "ServerlessV2PlatformVersionList" +_DSVPVO = "DescribeServerlessV2PlatformVersionsOutput" +_cSVPVM = "com.amazonaws.rds#ServerlessV2PlatformVersionsMessage" +_SVPVe = "ServerlessV2PlatformVersions" +_DSVPV = "DescribeServerlessV2PlatformVersions" +_DSRI = "DescribeSourceRegionsInput" +_cDSRM = "com.amazonaws.rds#DescribeSourceRegionsMessage" +_RNe = "RegionName" +_SDBIABR = "SupportsDBInstanceAutomatedBackupsReplication" +_SRL = "SourceRegionList" +_DSRO = "DescribeSourceRegionsOutput" +_cSRM = "com.amazonaws.rds#SourceRegionMessage" +_SRo = "SourceRegions" +_DSR = "DescribeSourceRegions" +_DTDIe = "DescribeTenantDatabasesInput" +_cDTDMo = "com.amazonaws.rds#DescribeTenantDatabasesMessage" +_TDL = "TenantDatabasesList" +_DTDOe = "DescribeTenantDatabasesOutput" +_cTDM = "com.amazonaws.rds#TenantDatabasesMessage" +_TDe = "TenantDatabases" +_DTDe = "DescribeTenantDatabases" + +DOUBLE: StaticSchema = (10, n0, _Dou, 0) + +DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_INPUT: StaticSchema = ( + 18, + n0, + _DEDCPI, + {_sSI: _cDEDCPM, _smi: None}, + (_DBPGF, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DEDCPO, + {_sSI: _cDEDCPR, _smit: None}, + (_EDn,), + ((lambda: ENGINE_DEFAULTS, 0),), +) + +DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS: StaticOperationSchema = ( + 23, + n0, + _DEDCP, + 0, + DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_INPUT, + DESCRIBE_ENGINE_DEFAULT_CLUSTER_PARAMETERS_OUTPUT, + (), +) + +ENGINE_DEFAULTS: StaticSchema = ( + 18, + n0, + _EDn, + 0, + (_DBPGF, _Mar, _Par), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.PARAMETERS_LIST, 0), + ), +) + +DESCRIBE_ENGINE_DEFAULT_PARAMETERS_INPUT: StaticSchema = ( + 18, + n0, + _DEDPI, + {_sSI: _cDEDPM, _smi: None}, + (_DBPGF, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_ENGINE_DEFAULT_PARAMETERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DEDPO, + {_sSI: _cDEDPR, _smit: None}, + (_EDn,), + ((ENGINE_DEFAULTS, 0),), +) + +DESCRIBE_ENGINE_DEFAULT_PARAMETERS: StaticOperationSchema = ( + 23, + n0, + _DEDP, + 0, + DESCRIBE_ENGINE_DEFAULT_PARAMETERS_INPUT, + DESCRIBE_ENGINE_DEFAULT_PARAMETERS_OUTPUT, + (), +) + +DESCRIBE_EVENT_CATEGORIES_INPUT: StaticSchema = ( + 18, + n0, + _DECI, + {_sSI: _cDECM, _smi: None}, + (_STo, _Fil), + ((lambda: schemas.STRING, 0), (lambda: schemas.FILTER_LIST, 0)), +) + +DESCRIBE_EVENT_CATEGORIES_OUTPUT: StaticSchema = ( + 18, + n0, + _DECO, + {_sSI: _cECM, _smit: None}, + (_ECML,), + ((lambda: EVENT_CATEGORIES_MAP_LIST, 0),), +) + +DESCRIBE_EVENT_CATEGORIES: StaticOperationSchema = ( + 23, + n0, + _DEC, + 0, + DESCRIBE_EVENT_CATEGORIES_INPUT, + DESCRIBE_EVENT_CATEGORIES_OUTPUT, + (), +) + +EVENT_CATEGORIES_MAP: StaticSchema = ( + 18, + n0, + _ECMv, + 0, + (_STo, _ECv), + ((lambda: schemas.STRING, 0), (lambda: schemas.EVENT_CATEGORIES_LIST, 0)), +) + +EVENT_CATEGORIES_MAP_LIST: StaticSchema = ( + 16, + n0, + _ECML, + 0, + (_m,), + ((EVENT_CATEGORIES_MAP, {_sN: _ECMv}),), +) + +SOURCE_TYPE: StaticSchema = ( + 14, + n0, + _STo, + 0, + (_di_, _dpg, _dsg, _ds, _dc, _dcs, _cev, _dp, _bgd, _dsg__, _ze), + ( + (-1, {_sV: _di__}), + (-1, {_sV: _dpg_}), + (-1, {_sV: _dsg_}), + (-1, {_sV: _ds_}), + (-1, {_sV: _dc_}), + (-1, {_sV: _dcs_}), + (-1, {_sV: _cev_}), + (-1, {_sV: _dp_}), + (-1, {_sV: _bgd_}), + (-1, {_sV: _dsg___}), + (-1, {_sV: _ze_}), + ), +) + +DESCRIBE_EVENTS_INPUT: StaticSchema = ( + 18, + n0, + _DEI, + {_sSI: _cDEM, _smi: None}, + (_SI, _STo, _STtar, _ETn, _Du, _ECv, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (SOURCE_TYPE, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.EVENT_CATEGORIES_LIST, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_EVENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DEO, + {_sSI: _cEM, _smit: None}, + (_Mar, _Eve), + ((lambda: schemas.STRING, 0), (lambda: EVENT_LIST, 0)), +) + +DESCRIBE_EVENTS: StaticOperationSchema = ( + 23, + n0, + _DE, + 0, + DESCRIBE_EVENTS_INPUT, + DESCRIBE_EVENTS_OUTPUT, + (), +) + +EVENT: StaticSchema = ( + 18, + n0, + _Ev, + 0, + (_SI, _STo, _Me, _ECv, _Da, _SA), + ( + (lambda: schemas.STRING, 0), + (SOURCE_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EVENT_CATEGORIES_LIST, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + ), +) + +EVENT_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((EVENT, {_sN: _Ev}),)) + +DESCRIBE_EVENT_SUBSCRIPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DESIe, + {_sSI: _cDESMo, _smi: None}, + (_SN, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_EVENT_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DESOe, + {_sSI: _cESM, _smit: None}, + (_Mar, _ESL), + ((lambda: schemas.STRING, 0), (lambda: EVENT_SUBSCRIPTIONS_LIST, 0)), +) + +DESCRIBE_EVENT_SUBSCRIPTIONS: StaticOperationSchema = ( + 23, + n0, + _DESe, + 0, + DESCRIBE_EVENT_SUBSCRIPTIONS_INPUT, + DESCRIBE_EVENT_SUBSCRIPTIONS_OUTPUT, + (lambda: schemas.SUBSCRIPTION_NOT_FOUND_FAULT,), +) + +EVENT_SUBSCRIPTIONS_LIST: StaticSchema = ( + 16, + n0, + _ESL, + 0, + (_m,), + ((lambda: schemas.EVENT_SUBSCRIPTION, {_sN: _ES}),), +) + +DESCRIBE_EXPORT_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _DETI, + {_sSI: _cDETM, _smi: None}, + (_ETI, _SA, _Fil, _Mar, _MR, _STo), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MAX_RECORDS, 0), + (lambda: schemas.EXPORT_SOURCE_TYPE, 0), + ), +) + +DESCRIBE_EXPORT_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _DETO, + {_sSI: _cETM, _smit: None}, + (_Mar, _ETxp), + ((lambda: schemas.STRING, 0), (lambda: EXPORT_TASKS_LIST, 0)), +) + +DESCRIBE_EXPORT_TASKS: StaticOperationSchema = ( + 23, + n0, + _DET, + 0, + DESCRIBE_EXPORT_TASKS_INPUT, + DESCRIBE_EXPORT_TASKS_OUTPUT, + (lambda: schemas.EXPORT_TASK_NOT_FOUND_FAULT,), +) + +EXPORT_TASK: StaticSchema = ( + 18, + n0, + _ETx, + 0, + ( + _ETI, + _SA, + _EO, + _STn, + _TST, + _TET, + _SB, + _SP, + _IRA, + _KKI, + _St, + _PP, + _TEDIGB, + _FC, + _WM, + _STo, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EXPORT_SOURCE_TYPE, 0), + ), +) + +EXPORT_TASKS_LIST: StaticSchema = ( + 16, + n0, + _ETL, + 0, + (_m,), + ((EXPORT_TASK, {_sN: _ETx}),), +) + +DESCRIBE_GLOBAL_CLUSTERS_INPUT: StaticSchema = ( + 18, + n0, + _DGCIe, + {_sSI: _cDGCMo, _smi: None}, + (_GCI, _Fil, _MR, _Mar), + ( + (lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_GLOBAL_CLUSTERS_OUTPUT: StaticSchema = ( + 18, + n0, + _DGCOe, + {_sSI: _cGCM, _smit: None}, + (_Mar, _GCl), + ((lambda: schemas.STRING, 0), (lambda: GLOBAL_CLUSTER_LIST, 0)), +) + +DESCRIBE_GLOBAL_CLUSTERS: StaticOperationSchema = ( + 23, + n0, + _DGCe, + 0, + DESCRIBE_GLOBAL_CLUSTERS_INPUT, + DESCRIBE_GLOBAL_CLUSTERS_OUTPUT, + (lambda: schemas.GLOBAL_CLUSTER_NOT_FOUND_FAULT,), +) + +GLOBAL_CLUSTER_LIST: StaticSchema = ( + 16, + n0, + _GCL, + 0, + (_m,), + ((lambda: schemas.GLOBAL_CLUSTER, {_sN: _GCM}),), +) + +DESCRIBE_INTEGRATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DIIe, + {_sSI: _cDIMo, _smi: None}, + (_IIn, _Fil, _MR, _Mar), + ( + (lambda: schemas.INTEGRATION_IDENTIFIER, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.MARKER, 0), + ), +) + +DESCRIBE_INTEGRATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DIOe, + {_sSI: _cDIR, _smit: None}, + (_Mar, _Int), + ((lambda: schemas.MARKER, 0), (lambda: INTEGRATION_LIST, 0)), +) + +DESCRIBE_INTEGRATIONS: StaticOperationSchema = ( + 23, + n0, + _DIes, + 0, + DESCRIBE_INTEGRATIONS_INPUT, + DESCRIBE_INTEGRATIONS_OUTPUT, + (lambda: schemas.INTEGRATION_NOT_FOUND_FAULT,), +) + +INTEGRATION: StaticSchema = ( + 18, + n0, + _In, + 0, + (_SA, _TAa, _INn, _IAn, _KMSKI, _AEC, _St, _Ta, _DFa, _D, _CTr, _Er), + ( + (lambda: schemas.SOURCE_ARN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.INTEGRATION_NAME, 0), + (lambda: schemas.INTEGRATION_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ENCRYPTION_CONTEXT_MAP, 0), + (lambda: schemas.INTEGRATION_STATUS, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.DATA_FILTER, 0), + (lambda: schemas.INTEGRATION_DESCRIPTION, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.INTEGRATION_ERROR_LIST, 0), + ), +) + +INTEGRATION_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((INTEGRATION, {_sN: _In}),)) + +DESCRIBE_OPTION_GROUP_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DOGOI, + {_sSI: _cDOGOM, _smi: None}, + (_EN, _MEV, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_OPTION_GROUP_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DOGOO, + {_sSI: _cOGOM, _smit: None}, + (_OGOp, _Mar), + ((lambda: OPTION_GROUP_OPTIONS_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_OPTION_GROUP_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _DOGOe, + 0, + DESCRIBE_OPTION_GROUP_OPTIONS_INPUT, + DESCRIBE_OPTION_GROUP_OPTIONS_OUTPUT, + (), +) + +MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE: StaticSchema = ( + 18, + n0, + _MEVPAV, + 0, + (_AVl, _MEVi), + ((lambda: schemas.STRING, 0), (lambda: schemas.STRING, 0)), +) + +MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE_LIST: StaticSchema = ( + 16, + n0, + _MEVPAVL, + 0, + (_m,), + ((MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE, {_sN: _MEVPAV}),), +) + +OPTION_GROUP_OPTION_SETTING: StaticSchema = ( + 18, + n0, + _OGOS, + 0, + (_SNe, _SDe, _DV, _AT, _AV, _IM, _IR, _MEVPAV), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (MINIMUM_ENGINE_VERSION_PER_ALLOWED_VALUE_LIST, 0), + ), +) + +OPTION_GROUP_OPTION_SETTINGS_LIST: StaticSchema = ( + 16, + n0, + _OGOSL, + 0, + (_m,), + ((OPTION_GROUP_OPTION_SETTING, {_sN: _OGOS}),), +) + +OPTION_VERSION: StaticSchema = ( + 18, + n0, + _OV, + 0, + (_Ve, _ID), + ((lambda: schemas.STRING, 0), (lambda: schemas.BOOLEAN, 0)), +) + +OPTION_GROUP_OPTION_VERSIONS_LIST: StaticSchema = ( + 16, + n0, + _OGOVL, + 0, + (_m,), + ((OPTION_VERSION, {_sN: _OV}),), +) + +OPTIONS_CONFLICTS_WITH: StaticSchema = ( + 16, + n0, + _OCW, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _OCN}),), +) + +OPTIONS_DEPENDED_ON: StaticSchema = ( + 16, + n0, + _ODO, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _ON}),), +) + +OPTION_GROUP_OPTION: StaticSchema = ( + 18, + n0, + _OGO, + 0, + ( + _N, + _D, + _EN, + _MEV, + _MRMEV, + _PRo, + _DPe, + _ODO, + _OCW, + _Pe, + _Per, + _RAMEVU, + _VO, + _SOVD, + _OGOSp, + _OGOV, + _CCA, + _CCR, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (OPTIONS_DEPENDED_ON, 0), + (OPTIONS_CONFLICTS_WITH, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (OPTION_GROUP_OPTION_SETTINGS_LIST, 0), + (OPTION_GROUP_OPTION_VERSIONS_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +OPTION_GROUP_OPTIONS_LIST: StaticSchema = ( + 16, + n0, + _OGOL, + 0, + (_m,), + ((OPTION_GROUP_OPTION, {_sN: _OGO}),), +) + +DESCRIBE_OPTION_GROUPS_INPUT: StaticSchema = ( + 18, + n0, + _DOGIe, + {_sSI: _cDOGMo, _smi: None}, + (_OGN, _Fil, _Mar, _MR, _EN, _MEV), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_OPTION_GROUPS_OUTPUT: StaticSchema = ( + 18, + n0, + _DOGOes, + {_sSI: _cOG, _smit: None}, + (_OGL, _Mar), + ((lambda: OPTION_GROUPS_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_OPTION_GROUPS: StaticOperationSchema = ( + 23, + n0, + _DOGe, + 0, + DESCRIBE_OPTION_GROUPS_INPUT, + DESCRIBE_OPTION_GROUPS_OUTPUT, + (lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT,), +) + +OPTION_GROUPS_LIST: StaticSchema = ( + 16, + n0, + _OGL, + 0, + (_m,), + ((lambda: schemas.OPTION_GROUP, {_sN: _OG}),), +) + +DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DODBIOI, + {_sSI: _cDODBIOM, _smi: None}, + (_En, _EV, _DBIC, _LM, _AZG, _Vp, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DODBIOO, + {_sSI: _cODBIOM, _smit: None}, + (_ODBIOr, _Mar), + ((lambda: ORDERABLE_DB_INSTANCE_OPTIONS_LIST, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS: StaticOperationSchema = ( + 23, + n0, + _DODBIO, + 0, + DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_INPUT, + DESCRIBE_ORDERABLE_DB_INSTANCE_OPTIONS_OUTPUT, + (), +) + +AVAILABILITY_ZONE_LIST: StaticSchema = ( + 16, + n0, + _AZL, + 0, + (_m,), + ((lambda: schemas.AVAILABILITY_ZONE, {_sN: _AZ}),), +) + +AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION: StaticSchema = ( + 18, + n0, + _AASVO, + 0, + (_SSAu, _SST, _SIup, _STt, _MSS, _MSSa, _MIi, _MIa, _MIPG, _MIPGa, _MST, _MSTa), + ( + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION_LIST: StaticSchema = ( + 16, + n0, + _AASVOL, + 0, + (_m,), + ((AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION, {_sN: _AASVO}),), +) + +AVAILABLE_PROCESSOR_FEATURE: StaticSchema = ( + 18, + n0, + _APF, + 0, + (_N, _DV, _AV), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +AVAILABLE_PROCESSOR_FEATURE_LIST: StaticSchema = ( + 16, + n0, + _APFL, + 0, + (_m,), + ((AVAILABLE_PROCESSOR_FEATURE, {_sN: _APF}),), +) + +ORDERABLE_DB_INSTANCE_OPTION: StaticSchema = ( + 18, + n0, + _ODBIO, + 0, + ( + _En, + _EV, + _DBIC, + _LM, + _AZG, + _AZv, + _MAZC, + _RRC, + _Vp, + _SSEu, + _STt, + _SIup, + _SST, + _SEMu, + _SIAMDA, + _SPI, + _MSS, + _MSSa, + _MIPDI, + _MIPDIa, + _MIPG, + _MIPGa, + _MSTPDI, + _MSTPDIa, + _MSTPI, + _MSTPIa, + _APFv, + _SEM, + _SSAu, + _SKA, + _OC, + _SASM, + _SGD, + _SNT, + _SCu, + _SDLV, + _SASV, + _SHE, + _AASVOv, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (AVAILABILITY_ZONE_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (AVAILABLE_PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.ENGINE_MODE_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ACTIVITY_STREAM_MODE_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (AVAILABLE_ADDITIONAL_STORAGE_VOLUMES_OPTION_LIST, 0), + ), +) + +ORDERABLE_DB_INSTANCE_OPTIONS_LIST: StaticSchema = ( + 16, + n0, + _ODBIOL, + 0, + (_m,), + ((ORDERABLE_DB_INSTANCE_OPTION, {_sN: _ODBIO}),), +) + +DESCRIBE_PENDING_MAINTENANCE_ACTIONS_INPUT: StaticSchema = ( + 18, + n0, + _DPMAI, + {_sSI: _cDPMAM, _smi: None}, + (_RI, _Fil, _Mar, _MR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +DESCRIBE_PENDING_MAINTENANCE_ACTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DPMAO, + {_sSI: _cPMAM, _smit: None}, + (_PMAe, _Mar), + ((lambda: PENDING_MAINTENANCE_ACTIONS, 0), (lambda: schemas.STRING, 0)), +) + +DESCRIBE_PENDING_MAINTENANCE_ACTIONS: StaticOperationSchema = ( + 23, + n0, + _DPMA, + 0, + DESCRIBE_PENDING_MAINTENANCE_ACTIONS_INPUT, + DESCRIBE_PENDING_MAINTENANCE_ACTIONS_OUTPUT, + (lambda: schemas.RESOURCE_NOT_FOUND_FAULT,), +) + +PENDING_MAINTENANCE_ACTIONS: StaticSchema = ( + 16, + n0, + _PMAe, + 0, + (_m,), + ((lambda: schemas.RESOURCE_PENDING_MAINTENANCE_ACTIONS, {_sN: _RPMA}),), +) + +DESCRIBE_RESERVED_DB_INSTANCES_INPUT: StaticSchema = ( + 18, + n0, + _DRDBII, + {_sSI: _cDRDBIM, _smi: None}, + (_RDBII, _RDBIOI, _DBIC, _Du, _PD, _OT, _MAZ, _LI, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_RESERVED_DB_INSTANCES_OUTPUT: StaticSchema = ( + 18, + n0, + _DRDBIO, + {_sSI: _cRDBIM, _smit: None}, + (_Mar, _RDBIe), + ((lambda: schemas.STRING, 0), (lambda: RESERVED_DB_INSTANCE_LIST, 0)), +) + +DESCRIBE_RESERVED_DB_INSTANCES: StaticOperationSchema = ( + 23, + n0, + _DRDBI, + 0, + DESCRIBE_RESERVED_DB_INSTANCES_INPUT, + DESCRIBE_RESERVED_DB_INSTANCES_OUTPUT, + (lambda: RESERVED_DB_INSTANCE_NOT_FOUND_FAULT,), +) + +RECURRING_CHARGE: StaticSchema = ( + 18, + n0, + _RC, + 0, + (_RCA, _RCF), + ((DOUBLE, 0), (lambda: schemas.STRING, 0)), +) + +RECURRING_CHARGE_LIST: StaticSchema = ( + 16, + n0, + _RCL, + 0, + (_m,), + ((RECURRING_CHARGE, {_sN: _RC}),), +) + +RESERVED_DB_INSTANCE: StaticSchema = ( + 18, + n0, + _RDBI, + 0, + ( + _RDBII, + _RDBIOI, + _DBIC, + _STtar, + _Du, + _FP, + _UP, + _CC, + _DBICn, + _PD, + _OT, + _MAZ, + _Sta, + _RCe, + _RDBIA, + _LI, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.INTEGER, 0), + (DOUBLE, 0), + (DOUBLE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (RECURRING_CHARGE_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +RESERVED_DB_INSTANCE_LIST: StaticSchema = ( + 16, + n0, + _RDBIL, + 0, + (_m,), + ((RESERVED_DB_INSTANCE, {_sN: _RDBI}),), +) + +RESERVED_DB_INSTANCE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _RDBINFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "ReservedDBInstanceNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_INPUT: StaticSchema = ( + 18, + n0, + _DRDBIOI, + {_sSI: _cDRDBIOM, _smi: None}, + (_RDBIOI, _DBIC, _Du, _PD, _OT, _MAZ, _Fil, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_OUTPUT: StaticSchema = ( + 18, + n0, + _DRDBIOO, + {_sSI: _cRDBIOM, _smit: None}, + (_Mar, _RDBIOe), + ((lambda: schemas.STRING, 0), (lambda: RESERVED_DB_INSTANCES_OFFERING_LIST, 0)), +) + +DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS: StaticOperationSchema = ( + 23, + n0, + _DRDBIOe, + 0, + DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_INPUT, + DESCRIBE_RESERVED_DB_INSTANCES_OFFERINGS_OUTPUT, + (lambda: RESERVED_DB_INSTANCES_OFFERING_NOT_FOUND_FAULT,), +) + +RESERVED_DB_INSTANCES_OFFERING: StaticSchema = ( + 18, + n0, + _RDBIO, + 0, + (_RDBIOI, _DBIC, _Du, _FP, _UP, _CC, _PD, _OT, _MAZ, _RCe), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + (DOUBLE, 0), + (DOUBLE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (RECURRING_CHARGE_LIST, 0), + ), +) + +RESERVED_DB_INSTANCES_OFFERING_LIST: StaticSchema = ( + 16, + n0, + _RDBIOL, + 0, + (_m,), + ((RESERVED_DB_INSTANCES_OFFERING, {_sN: _RDBIO}),), +) + +RESERVED_DB_INSTANCES_OFFERING_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _RDBIONFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "ReservedDBInstancesOfferingNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _DSVPVI, + {_sSI: _cDSVPVM, _smi: None}, + (_SVPV, _En, _Fil, _DOe, _IAnc, _MR, _Mar), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSVPVO, + {_sSI: _cSVPVM, _smit: None}, + (_Mar, _SVPVe), + ((lambda: schemas.STRING, 0), (lambda: SERVERLESS_V2_PLATFORM_VERSION_LIST, 0)), +) + +DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _DSVPV, + 0, + DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_INPUT, + DESCRIBE_SERVERLESS_V2_PLATFORM_VERSIONS_OUTPUT, + (), +) + +SERVERLESS_V2_PLATFORM_VERSION_INFO: StaticSchema = ( + 18, + n0, + _SVPVI, + 0, + (_SVPV, _SVPVD, _En, _SVFS, _St, _ID), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SERVERLESS_V2_FEATURES_SUPPORT, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +SERVERLESS_V2_PLATFORM_VERSION_LIST: StaticSchema = ( + 16, + n0, + _SVPVL, + 0, + (_m,), + ((SERVERLESS_V2_PLATFORM_VERSION_INFO, 0),), +) + +DESCRIBE_SOURCE_REGIONS_INPUT: StaticSchema = ( + 18, + n0, + _DSRI, + {_sSI: _cDSRM, _smi: None}, + (_RNe, _MR, _Mar, _Fil), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + ), +) + +DESCRIBE_SOURCE_REGIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DSRO, + {_sSI: _cSRM, _smit: None}, + (_Mar, _SRo), + ((lambda: schemas.STRING, 0), (lambda: SOURCE_REGION_LIST, 0)), +) + +DESCRIBE_SOURCE_REGIONS: StaticOperationSchema = ( + 23, + n0, + _DSR, + 0, + DESCRIBE_SOURCE_REGIONS_INPUT, + DESCRIBE_SOURCE_REGIONS_OUTPUT, + (), +) + +SOURCE_REGION: StaticSchema = ( + 18, + n0, + _SR, + 0, + (_RNe, _End, _St, _SDBIABR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +SOURCE_REGION_LIST: StaticSchema = ( + 16, + n0, + _SRL, + 0, + (_m,), + ((SOURCE_REGION, {_sN: _SR}),), +) + +DESCRIBE_TENANT_DATABASES_INPUT: StaticSchema = ( + 18, + n0, + _DTDIe, + {_sSI: _cDTDMo, _smi: None}, + (_DBII, _TDBN, _Fil, _Mar, _MR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.FILTER_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +DESCRIBE_TENANT_DATABASES_OUTPUT: StaticSchema = ( + 18, + n0, + _DTDOe, + {_sSI: _cTDM, _smit: None}, + (_Mar, _TDe), + ((lambda: schemas.STRING, 0), (lambda: TENANT_DATABASES_LIST, 0)), +) + +DESCRIBE_TENANT_DATABASES: StaticOperationSchema = ( + 23, + n0, + _DTDe, + 0, + DESCRIBE_TENANT_DATABASES_INPUT, + DESCRIBE_TENANT_DATABASES_OUTPUT, + (lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT,), +) + +TENANT_DATABASES_LIST: StaticSchema = ( + 16, + n0, + _TDL, + 0, + (_m,), + ((lambda: schemas.TENANT_DATABASE, {_sN: _TD}),), +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_8.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_8.py new file mode 100644 index 000000000..ce965fdfa --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_8.py @@ -0,0 +1,1604 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_m = "member" +_sN = "smithy.api#xmlName" +_sV = "smithy.api#enumValue" +_l = "locked" +_u = "unlocked" +_VN = "VolumeName" +_sm = "smithy.api#required" +_AS = "AllocatedStorage" +_IOPS = "IOPS" +_MAS = "MaxAllocatedStorage" +_ST = "StorageThroughput" +_STt = "StorageType" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_RA = "RoleArn" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_St = "Status" +_TL = "TagList" +_RN = "ResourceName" +_D = "Description" +_DBCRI = "DBCapacityReservationIdentifier" +_DBIC = "DBInstanceClass" +_DBCR = "DBCapacityReservation" +_En = "Engine" +_LM = "LicenseModel" +_ED = "EndDate" +_KKI = "KmsKeyId" +_DBCPGN = "DBClusterParameterGroupName" +_DBPGF = "DBParameterGroupFamily" +_DBCSI = "DBClusterSnapshotIdentifier" +_EMn = "EngineMode" +_P = "Port" +_EV = "EngineVersion" +_BRP = "BackupRetentionPeriod" +_PBW = "PreferredBackupWindow" +_DBPGN = "DBParameterGroupName" +_OGN = "OptionGroupName" +_TSag = "TagSpecifications" +_Io = "Iops" +_TCA = "TdeCredentialArn" +_PFr = "ProcessorFeatures" +_MT = "MultiTenant" +_DLV = "DedicatedLogVolume" +_ASVd = "AdditionalStorageVolumes" +_MEV = "MajorEngineVersion" +_CTr = "CreateTime" +_CDBEVM = "CustomDBEngineVersionManifest" +_DIFSBN = "DatabaseInstallationFilesS3BucketName" +_DIFSP = "DatabaseInstallationFilesS3Prefix" +_DIF = "DatabaseInstallationFiles" +_KMSKI = "KMSKeyId" +_SVFS = "ServerlessV2FeaturesSupport" +_SEM = "SupportedEngineModes" +_SPQ = "SupportsParallelQuery" +_SGD = "SupportsGlobalDatabases" +_SBu = "SupportsBabelfish" +_SLD = "SupportsLimitlessDatabase" +_SLWF = "SupportsLocalWriteForwarding" +_SIu = "SupportsIntegrations" +_cDBEV = "com.amazonaws.rds#DBEngineVersion" +_DBED = "DBEngineDescription" +_DBEVA = "DBEngineVersionArn" +_DBEVD = "DBEngineVersionDescription" +_DCS = "DefaultCharacterSet" +_FR = "FailureReason" +_Im = "Image" +_DBEMT = "DBEngineMediaType" +_SCS = "SupportedCharacterSets" +_SNCS = "SupportedNcharCharacterSets" +_VUT = "ValidUpgradeTarget" +_STu = "SupportedTimezones" +_ELT = "ExportableLogTypes" +_SLETCL = "SupportsLogExportsToCloudwatchLogs" +_SRR = "SupportsReadReplica" +_SFN = "SupportedFeatureNames" +_SCRWR = "SupportsCertificateRotationWithoutRestart" +_SCACI = "SupportedCACertificateIdentifiers" +_CPAZ = "CapacityPerAvailabilityZone" +_DIM = "DatabaseInsightsMode" +_GCI = "GlobalClusterIdentifier" +_MUAT = "MasterUserAuthenticationType" +_RM = "ReplicaMode" +_SC = "ScalingConfiguration" +_TA = "TimeoutAction" +_SBT = "SecondsBeforeTimeout" +_SVSC = "ServerlessV2ScalingConfiguration" +_VSGIp = "VpcSecurityGroupIds" +_DBSGNu = "DBSubnetGroupName" +_MUP = "MasterUserPassword" +_PMW = "PreferredMaintenanceWindow" +_EIAMDA = "EnableIAMDatabaseAuthentication" +_BW = "BacktrackWindow" +_DBCIC = "DBClusterInstanceClass" +_PA = "PubliclyAccessible" +_AMVU = "AutoMinorVersionUpgrade" +_DP = "DeletionProtection" +_EHE = "EnableHttpEndpoint" +_CTTS = "CopyTagsToSnapshot" +_Do = "Domain" +_DIAMRN = "DomainIAMRoleName" +_EGWF = "EnableGlobalWriteForwarding" +_NT = "NetworkType" +_MI = "MonitoringInterval" +_MRA = "MonitoringRoleArn" +_EPI = "EnablePerformanceInsights" +_PIKMSKI = "PerformanceInsightsKMSKeyId" +_PIRP = "PerformanceInsightsRetentionPeriod" +_ELD = "EnableLimitlessDatabase" +_MMUP = "ManageMasterUserPassword" +_ELWF = "EnableLocalWriteForwarding" +_MUSKKI = "MasterUserSecretKmsKeyId" +_CACI = "CACertificateIdentifier" +_ELS = "EngineLifecycleSupport" +_PT = "PromotionTier" +_DBC = "DBCluster" +_End = "Endpoint" +_MAZ = "MultiAZ" +_C = "Capacity" +_HEE = "HttpEndpointEnabled" +_ABRPA = "AwsBackupRecoveryPointArn" +_DBCEI = "DBClusterEndpointIdentifier" +_ET = "EndpointType" +_SMt = "StaticMembers" +_EMx = "ExcludedMembers" +_cDBCE = "com.amazonaws.rds#DBClusterEndpoint" +_DBCERI = "DBClusterEndpointResourceIdentifier" +_CETu = "CustomEndpointType" +_DBCEA = "DBClusterEndpointArn" +_DBSGe = "DBSecurityGroups" +_TCP = "TdeCredentialPassword" +_DF = "DomainFqdn" +_DOo = "DomainOu" +_DASA = "DomainAuthSecretArn" +_DDI = "DomainDnsIps" +_ECOI = "EnableCustomerOwnedIp" +_AM = "AutomationMode" +_DBI = "DBInstance" +_UDPF = "UseDefaultProcessorFeatures" +_DBPN = "DBProxyName" +_DAS = "DefaultAuthScheme" +_Au = "Auth" +_RTLS = "RequireTLS" +_ICTd = "IdleClientTimeout" +_DL = "DebugLogging" +_av = "available" +_DBP = "DBProxy" +_GC = "GlobalCluster" +_Fil = "Filters" +_Mar = "Marker" +_CIe = "CertificateIdentifier" +_Ce = "Certificate" +_Par = "Parameters" +_AN = "AttributeName" +_DBCSAR = "DBClusterSnapshotAttributesResult" +_LFN = "LogFileName" +_RAes = "ResourceArn" +_SSAu = "SupportsStorageAutoscaling" +_SDLV = "SupportsDedicatedLogVolume" +_SASV = "SupportsAdditionalStorageVolumes" +_DVDBIMI = "DescribeValidDBInstanceModificationsInput" +_cDVDBIMM = "com.amazonaws.rds#DescribeValidDBInstanceModificationsMessage" +_DR = "DoubleRange" +_Fr = "From" +_To = "To" +_DRL = "DoubleRangeList" +_Ra = "Range" +_Ste = "Step" +_RL = "RangeList" +_VSO = "ValidStorageOptions" +_SSt = "StorageSize" +_PI = "ProvisionedIops" +_ITSR = "IopsToStorageRatio" +_PST = "ProvisionedStorageThroughput" +_STTIR = "StorageThroughputToIopsRatio" +_VSOL = "ValidStorageOptionsList" +_VVO = "ValidVolumeOptions" +_Sto = "Storage" +_VVOL = "ValidVolumeOptionsList" +_VASO = "ValidAdditionalStorageOptions" +_Vo = "Volumes" +_VDBIMM = "ValidDBInstanceModificationsMessage" +_VPF = "ValidProcessorFeatures" +_ASd = "AdditionalStorage" +_DVDBIMO = "DescribeValidDBInstanceModificationsOutput" +_cDVDBIMR = "com.amazonaws.rds#DescribeValidDBInstanceModificationsResult" +_DVDBIM = "DescribeValidDBInstanceModifications" +_DHEI = "DisableHttpEndpointInput" +_cDHER = "com.amazonaws.rds#DisableHttpEndpointRequest" +_DHEO = "DisableHttpEndpointOutput" +_cDHERo = "com.amazonaws.rds#DisableHttpEndpointResponse" +_IRSF = "InvalidResourceStateFault" +_DHE = "DisableHttpEndpoint" +_DBLFNFF = "DBLogFileNotFoundFault" +_DDBLFPI = "DownloadDBLogFilePortionInput" +_cDDBLFPM = "com.amazonaws.rds#DownloadDBLogFilePortionMessage" +_NOL = "NumberOfLines" +_DDBLFPO = "DownloadDBLogFilePortionOutput" +_cDDBLFPD = "com.amazonaws.rds#DownloadDBLogFilePortionDetails" +_LFD = "LogFileData" +_ADP = "AdditionalDataPending" +_DDBLFP = "DownloadDBLogFilePortion" +_EHEI = "EnableHttpEndpointInput" +_cEHER = "com.amazonaws.rds#EnableHttpEndpointRequest" +_EHEO = "EnableHttpEndpointOutput" +_cEHERo = "com.amazonaws.rds#EnableHttpEndpointResponse" +_FDBCI = "FailoverDBClusterInput" +_cFDBCM = "com.amazonaws.rds#FailoverDBClusterMessage" +_TDBII = "TargetDBInstanceIdentifier" +_FDBCO = "FailoverDBClusterOutput" +_cFDBCR = "com.amazonaws.rds#FailoverDBClusterResult" +_FDBC = "FailoverDBCluster" +_FGCI = "FailoverGlobalClusterInput" +_cFGCM = "com.amazonaws.rds#FailoverGlobalClusterMessage" +_TDCI = "TargetDbClusterIdentifier" +_ADL = "AllowDataLoss" +_Sw = "Switchover" +_FGCO = "FailoverGlobalClusterOutput" +_cFGCR = "com.amazonaws.rds#FailoverGlobalClusterResult" +_FGC = "FailoverGlobalCluster" +_LTFRI = "ListTagsForResourceInput" +_cLTFRM = "com.amazonaws.rds#ListTagsForResourceMessage" +_LTFRO = "ListTagsForResourceOutput" +_cTLM = "com.amazonaws.rds#TagListMessage" +_LTFR = "ListTagsForResource" +_APS = "AuditPolicyState" +_LP = "LOCKED_POLICY" +_UP_ = "UNLOCKED_POLICY" +_MASI = "ModifyActivityStreamInput" +_cMASR = "com.amazonaws.rds#ModifyActivityStreamRequest" +_MASO = "ModifyActivityStreamOutput" +_cMASRo = "com.amazonaws.rds#ModifyActivityStreamResponse" +_KSN = "KinesisStreamName" +_Mo = "Mode" +_ENAFI = "EngineNativeAuditFieldsIncluded" +_PS = "PolicyStatus" +_MASo = "ModifyActivityStream" +_MCI = "ModifyCertificatesInput" +_cMCM = "com.amazonaws.rds#ModifyCertificatesMessage" +_RCO = "RemoveCustomerOverride" +_MCO = "ModifyCertificatesOutput" +_cMCR = "com.amazonaws.rds#ModifyCertificatesResult" +_MCo = "ModifyCertificates" +_IDBCCF = "InvalidDBClusterCapacityFault" +_MCDBCCI = "ModifyCurrentDBClusterCapacityInput" +_cMCDBCCM = "com.amazonaws.rds#ModifyCurrentDBClusterCapacityMessage" +_MCDBCCO = "ModifyCurrentDBClusterCapacityOutput" +_cDBCCI = "com.amazonaws.rds#DBClusterCapacityInfo" +_PC = "PendingCapacity" +_CCu = "CurrentCapacity" +_MCDBCC = "ModifyCurrentDBClusterCapacity" +_CEVS = "CustomEngineVersionStatus" +_ina = "inactive" +_ier = "inactive_except_restore" +_ier_ = "inactive-except-restore" +_MCDBEVI = "ModifyCustomDBEngineVersionInput" +_cMCDBEVM = "com.amazonaws.rds#ModifyCustomDBEngineVersionMessage" +_MCDBEVO = "ModifyCustomDBEngineVersionOutput" +_MCDBEV = "ModifyCustomDBEngineVersion" +_EDT = "EndDateType" +_unl = "unlimited" +_lim = "limited" +_MDBCRI = "ModifyDBCapacityReservationInput" +_cMDBCRR = "com.amazonaws.rds#ModifyDBCapacityReservationRequest" +_MDBCRO = "ModifyDBCapacityReservationOutput" +_cMDBCRRo = "com.amazonaws.rds#ModifyDBCapacityReservationResponse" +_MDBCR = "ModifyDBCapacityReservation" +_CLEC = "CloudwatchLogsExportConfiguration" +_ELTn = "EnableLogTypes" +_DLT = "DisableLogTypes" +_MDBCI = "ModifyDBClusterInput" +_cMDBCM = "com.amazonaws.rds#ModifyDBClusterMessage" +_NDBCI = "NewDBClusterIdentifier" +_AIp = "ApplyImmediately" +_AMVUl = "AllowMajorVersionUpgrade" +_DBIPGN = "DBInstanceParameterGroupName" +_RMUP = "RotateMasterUserPassword" +_AEMC = "AllowEngineModeChange" +_MDBCO = "ModifyDBClusterOutput" +_cMDBCR = "com.amazonaws.rds#ModifyDBClusterResult" +_STNAF = "StorageTypeNotAvailableFault" +_MDBC = "ModifyDBCluster" +_MDBCEI = "ModifyDBClusterEndpointInput" +_cMDBCEM = "com.amazonaws.rds#ModifyDBClusterEndpointMessage" +_MDBCEO = "ModifyDBClusterEndpointOutput" +_MDBCE = "ModifyDBClusterEndpoint" +_MDBCPGI = "ModifyDBClusterParameterGroupInput" +_cMDBCPGM = "com.amazonaws.rds#ModifyDBClusterParameterGroupMessage" +_MDBCPGO = "ModifyDBClusterParameterGroupOutput" +_cDBCPGNM = "com.amazonaws.rds#DBClusterParameterGroupNameMessage" +_MDBCPG = "ModifyDBClusterParameterGroup" +_MDBCSAI = "ModifyDBClusterSnapshotAttributeInput" +_cMDBCSAM = "com.amazonaws.rds#ModifyDBClusterSnapshotAttributeMessage" +_VTA = "ValuesToAdd" +_VTR = "ValuesToRemove" +_MDBCSAO = "ModifyDBClusterSnapshotAttributeOutput" +_cMDBCSAR = "com.amazonaws.rds#ModifyDBClusterSnapshotAttributeResult" +_MDBCSA = "ModifyDBClusterSnapshotAttribute" +_DBUDFF = "DBUpgradeDependencyFailureFault" +_MASV = "ModifyAdditionalStorageVolume" +_SFD = "SetForDelete" +_MASVL = "ModifyAdditionalStorageVolumesList" +_MDBII = "ModifyDBInstanceInput" +_cMDBIM = "com.amazonaws.rds#ModifyDBInstanceMessage" +_NDBII = "NewDBInstanceIdentifier" +_DD = "DisableDomain" +_DBPNo = "DBPortNumber" +_CRR = "CertificateRotationRestart" +_RFAMM = "ResumeFullAutomationModeMinutes" +_MDBIO = "ModifyDBInstanceOutput" +_cMDBIR = "com.amazonaws.rds#ModifyDBInstanceResult" +_MDBI = "ModifyDBInstance" +_MDBPGI = "ModifyDBParameterGroupInput" +_cMDBPGM = "com.amazonaws.rds#ModifyDBParameterGroupMessage" +_MDBPGO = "ModifyDBParameterGroupOutput" +_cDBPGNM = "com.amazonaws.rds#DBParameterGroupNameMessage" +_MDBPG = "ModifyDBParameterGroup" +_MDBPI = "ModifyDBProxyInput" +_cMDBPR = "com.amazonaws.rds#ModifyDBProxyRequest" +_NDBPN = "NewDBProxyName" +_SG = "SecurityGroups" +_MDBPO = "ModifyDBProxyOutput" +_cMDBPRo = "com.amazonaws.rds#ModifyDBProxyResponse" +_MDBP = "ModifyDBProxy" + +DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_INPUT: StaticSchema = ( + 18, + n0, + _DVDBIMI, + {_sSI: _cDVDBIMM, _smi: None}, + (_DBII,), + ((lambda: schemas.STRING, 1),), +) + +DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _DVDBIMO, + {_sSI: _cDVDBIMR, _smit: None}, + (_VDBIMM,), + ((lambda: VALID_DB_INSTANCE_MODIFICATIONS_MESSAGE, 0),), +) + +DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS: StaticOperationSchema = ( + 23, + n0, + _DVDBIM, + 0, + DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_INPUT, + DESCRIBE_VALID_DB_INSTANCE_MODIFICATIONS_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +DOUBLE_RANGE: StaticSchema = ( + 18, + n0, + _DR, + 0, + (_Fr, _To), + ((lambda: schemas.DOUBLE, 0), (lambda: schemas.DOUBLE, 0)), +) + +DOUBLE_RANGE_LIST: StaticSchema = ( + 16, + n0, + _DRL, + 0, + (_m,), + ((DOUBLE_RANGE, {_sN: _DR}),), +) + +RANGE: StaticSchema = ( + 18, + n0, + _Ra, + 0, + (_Fr, _To, _Ste), + ( + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +RANGE_LIST: StaticSchema = (16, n0, _RL, 0, (_m,), ((RANGE, {_sN: _Ra}),)) + +VALID_STORAGE_OPTIONS: StaticSchema = ( + 18, + n0, + _VSO, + 0, + (_STt, _SSt, _PI, _ITSR, _PST, _STTIR, _SSAu), + ( + (lambda: schemas.STRING, 0), + (RANGE_LIST, 0), + (RANGE_LIST, 0), + (DOUBLE_RANGE_LIST, 0), + (RANGE_LIST, 0), + (DOUBLE_RANGE_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +VALID_STORAGE_OPTIONS_LIST: StaticSchema = ( + 16, + n0, + _VSOL, + 0, + (_m,), + ((VALID_STORAGE_OPTIONS, {_sN: _VSO}),), +) + +VALID_VOLUME_OPTIONS: StaticSchema = ( + 18, + n0, + _VVO, + 0, + (_VN, _Sto), + ((lambda: schemas.STRING, 0), (VALID_STORAGE_OPTIONS_LIST, 0)), +) + +VALID_VOLUME_OPTIONS_LIST: StaticSchema = ( + 16, + n0, + _VVOL, + 0, + (_m,), + ((VALID_VOLUME_OPTIONS, 0),), +) + +VALID_ADDITIONAL_STORAGE_OPTIONS: StaticSchema = ( + 18, + n0, + _VASO, + 0, + (_SASV, _Vo), + ((lambda: schemas.BOOLEAN, 0), (VALID_VOLUME_OPTIONS_LIST, 0)), +) + +VALID_DB_INSTANCE_MODIFICATIONS_MESSAGE: StaticSchema = ( + 18, + n0, + _VDBIMM, + 0, + (_Sto, _VPF, _SDLV, _ASd), + ( + (VALID_STORAGE_OPTIONS_LIST, 0), + (lambda: schemas.AVAILABLE_PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (VALID_ADDITIONAL_STORAGE_OPTIONS, 0), + ), +) + +DISABLE_HTTP_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _DHEI, + {_sSI: _cDHER, _smi: None}, + (_RAes,), + ((lambda: schemas.STRING, 1),), +) + +DISABLE_HTTP_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _DHEO, + {_sSI: _cDHERo, _smit: None}, + (_RAes, _HEE), + ((lambda: schemas.STRING, 0), (lambda: schemas.BOOLEAN, 0)), +) + +DISABLE_HTTP_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DHE, + 0, + DISABLE_HTTP_ENDPOINT_INPUT, + DISABLE_HTTP_ENDPOINT_OUTPUT, + (lambda: INVALID_RESOURCE_STATE_FAULT, lambda: schemas.RESOURCE_NOT_FOUND_FAULT), +) + +INVALID_RESOURCE_STATE_FAULT: StaticSchema = ( + 18, + n0, + _IRSF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidResourceStateFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DB_LOG_FILE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBLFNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBLogFileNotFoundFault", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +DOWNLOAD_DB_LOG_FILE_PORTION_INPUT: StaticSchema = ( + 18, + n0, + _DDBLFPI, + {_sSI: _cDDBLFPM, _smi: None}, + (_DBII, _LFN, _Mar, _NOL), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER, 0), + ), +) + +DOWNLOAD_DB_LOG_FILE_PORTION_OUTPUT: StaticSchema = ( + 18, + n0, + _DDBLFPO, + {_sSI: _cDDBLFPD, _smit: None}, + (_LFD, _Mar, _ADP), + ( + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +DOWNLOAD_DB_LOG_FILE_PORTION: StaticOperationSchema = ( + 23, + n0, + _DDBLFP, + 0, + DOWNLOAD_DB_LOG_FILE_PORTION_INPUT, + DOWNLOAD_DB_LOG_FILE_PORTION_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_READY_FAULT, + DB_LOG_FILE_NOT_FOUND_FAULT, + ), +) + +ENABLE_HTTP_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _EHEI, + {_sSI: _cEHER, _smi: None}, + (_RAes,), + ((lambda: schemas.STRING, 1),), +) + +ENABLE_HTTP_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _EHEO, + {_sSI: _cEHERo, _smit: None}, + (_RAes, _HEE), + ((lambda: schemas.STRING, 0), (lambda: schemas.BOOLEAN, 0)), +) + +ENABLE_HTTP_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _EHE, + 0, + ENABLE_HTTP_ENDPOINT_INPUT, + ENABLE_HTTP_ENDPOINT_OUTPUT, + (INVALID_RESOURCE_STATE_FAULT, lambda: schemas.RESOURCE_NOT_FOUND_FAULT), +) + +FAILOVER_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _FDBCI, + {_sSI: _cFDBCM, _smi: None}, + (_DBCI, _TDBII), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 0)), +) + +FAILOVER_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _FDBCO, + {_sSI: _cFDBCR, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +FAILOVER_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _FDBC, + 0, + FAILOVER_DB_CLUSTER_INPUT, + FAILOVER_DB_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +FAILOVER_GLOBAL_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _FGCI, + {_sSI: _cFGCM, _smi: None}, + (_GCI, _TDCI, _ADL, _Sw), + ( + (lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 1), + (lambda: schemas.DB_CLUSTER_IDENTIFIER, 1), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +FAILOVER_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _FGCO, + {_sSI: _cFGCR, _smit: None}, + (_GC,), + ((lambda: schemas.GLOBAL_CLUSTER, 0),), +) + +FAILOVER_GLOBAL_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _FGC, + 0, + FAILOVER_GLOBAL_CLUSTER_INPUT, + FAILOVER_GLOBAL_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.GLOBAL_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_GLOBAL_CLUSTER_STATE_FAULT, + ), +) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRM, _smi: None}, + (_RN, _Fil), + ((lambda: schemas.STRING, 1), (lambda: schemas.FILTER_LIST, 0)), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cTLM, _smit: None}, + (_TL,), + ((lambda: schemas.TAG_LIST, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + 0, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SHARD_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_TENANT_DATABASE_NOT_FOUND_FAULT, + lambda: schemas.INTEGRATION_NOT_FOUND_FAULT, + lambda: schemas.TENANT_DATABASE_NOT_FOUND_FAULT, + ), +) + +AUDIT_POLICY_STATE: StaticSchema = ( + 14, + n0, + _APS, + 0, + (_LP, _UP_), + ((-1, {_sV: _l}), (-1, {_sV: _u})), +) + +MODIFY_ACTIVITY_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _MASI, + {_sSI: _cMASR, _smi: None}, + (_RAes, _APS), + ((lambda: schemas.STRING, 0), (AUDIT_POLICY_STATE, 0)), +) + +MODIFY_ACTIVITY_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _MASO, + {_sSI: _cMASRo, _smit: None}, + (_KKI, _KSN, _St, _Mo, _ENAFI, _PS), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ACTIVITY_STREAM_STATUS, 0), + (lambda: schemas.ACTIVITY_STREAM_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.ACTIVITY_STREAM_POLICY_STATUS, 0), + ), +) + +MODIFY_ACTIVITY_STREAM: StaticOperationSchema = ( + 23, + n0, + _MASo, + 0, + MODIFY_ACTIVITY_STREAM_INPUT, + MODIFY_ACTIVITY_STREAM_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.RESOURCE_NOT_FOUND_FAULT, + ), +) + +MODIFY_CERTIFICATES_INPUT: StaticSchema = ( + 18, + n0, + _MCI, + {_sSI: _cMCM, _smi: None}, + (_CIe, _RCO), + ((lambda: schemas.STRING, 0), (lambda: schemas.BOOLEAN_OPTIONAL, 0)), +) + +MODIFY_CERTIFICATES_OUTPUT: StaticSchema = ( + 18, + n0, + _MCO, + {_sSI: _cMCR, _smit: None}, + (_Ce,), + ((lambda: schemas.CERTIFICATE, 0),), +) + +MODIFY_CERTIFICATES: StaticOperationSchema = ( + 23, + n0, + _MCo, + 0, + MODIFY_CERTIFICATES_INPUT, + MODIFY_CERTIFICATES_OUTPUT, + (lambda: schemas.CERTIFICATE_NOT_FOUND_FAULT,), +) + +INVALID_DB_CLUSTER_CAPACITY_FAULT: StaticSchema = ( + 18, + n0, + _IDBCCF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidDBClusterCapacityFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +MODIFY_CURRENT_DB_CLUSTER_CAPACITY_INPUT: StaticSchema = ( + 18, + n0, + _MCDBCCI, + {_sSI: _cMCDBCCM, _smi: None}, + (_DBCI, _C, _SBT, _TA), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_CURRENT_DB_CLUSTER_CAPACITY_OUTPUT: StaticSchema = ( + 18, + n0, + _MCDBCCO, + {_sSI: _cDBCCI, _smit: None}, + (_DBCI, _PC, _CCu, _SBT, _TA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_CURRENT_DB_CLUSTER_CAPACITY: StaticOperationSchema = ( + 23, + n0, + _MCDBCC, + 0, + MODIFY_CURRENT_DB_CLUSTER_CAPACITY_INPUT, + MODIFY_CURRENT_DB_CLUSTER_CAPACITY_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + INVALID_DB_CLUSTER_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + ), +) + +CUSTOM_ENGINE_VERSION_STATUS: StaticSchema = ( + 14, + n0, + _CEVS, + 0, + (_av, _ina, _ier), + ((-1, {_sV: _av}), (-1, {_sV: _ina}), (-1, {_sV: _ier_})), +) + +MODIFY_CUSTOM_DB_ENGINE_VERSION_INPUT: StaticSchema = ( + 18, + n0, + _MCDBEVI, + {_sSI: _cMCDBEVM, _smi: None}, + (_En, _EV, _D, _St), + ( + (lambda: schemas.CUSTOM_ENGINE_NAME, 1), + (lambda: schemas.CUSTOM_ENGINE_VERSION, 1), + (lambda: schemas.DESCRIPTION, 0), + (CUSTOM_ENGINE_VERSION_STATUS, 0), + ), +) + +MODIFY_CUSTOM_DB_ENGINE_VERSION_OUTPUT: StaticSchema = ( + 18, + n0, + _MCDBEVO, + {_sSI: _cDBEV, _smit: None}, + ( + _En, + _MEV, + _EV, + _DIFSBN, + _DIFSP, + _DIF, + _CDBEVM, + _DBPGF, + _DBED, + _DBEVA, + _DBEVD, + _DCS, + _FR, + _Im, + _DBEMT, + _KMSKI, + _CTr, + _SCS, + _SNCS, + _VUT, + _STu, + _ELT, + _SLETCL, + _SRR, + _SEM, + _SFN, + _St, + _SPQ, + _SGD, + _TL, + _SBu, + _SLD, + _SCRWR, + _SCACI, + _SLWF, + _SIu, + _SVFS, + ), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.CUSTOM_DB_ENGINE_VERSION_MANIFEST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CHARACTER_SET, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CUSTOM_DB_ENGINE_VERSION_AMI, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.SUPPORTED_CHARACTER_SETS_LIST, 0), + (lambda: schemas.SUPPORTED_CHARACTER_SETS_LIST, 0), + (lambda: schemas.VALID_UPGRADE_TARGET_LIST, 0), + (lambda: schemas.SUPPORTED_TIMEZONES_LIST, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.ENGINE_MODE_LIST, 0), + (lambda: schemas.FEATURE_NAME_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.CA_CERTIFICATE_IDENTIFIERS_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SERVERLESS_V2_FEATURES_SUPPORT, 0), + ), +) + +MODIFY_CUSTOM_DB_ENGINE_VERSION: StaticOperationSchema = ( + 23, + n0, + _MCDBEV, + 0, + MODIFY_CUSTOM_DB_ENGINE_VERSION_INPUT, + MODIFY_CUSTOM_DB_ENGINE_VERSION_OUTPUT, + ( + lambda: schemas.CUSTOM_DB_ENGINE_VERSION_NOT_FOUND_FAULT, + lambda: schemas.INVALID_CUSTOM_DB_ENGINE_VERSION_STATE_FAULT, + ), +) + +END_DATE_TYPE: StaticSchema = ( + 14, + n0, + _EDT, + 0, + (_unl, _lim), + ((-1, {_sV: _unl}), (-1, {_sV: _lim})), +) + +MODIFY_DB_CAPACITY_RESERVATION_INPUT: StaticSchema = ( + 18, + n0, + _MDBCRI, + {_sSI: _cMDBCRR, _smi: None}, + (_DBCRI, _CPAZ, _EDT, _ED), + ( + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (END_DATE_TYPE, 0), + (lambda: schemas.T_STAMP, 0), + ), +) + +MODIFY_DB_CAPACITY_RESERVATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBCRO, + {_sSI: _cMDBCRRo, _smit: None}, + (_DBCR,), + ((lambda: schemas.DB_CAPACITY_RESERVATION, 0),), +) + +MODIFY_DB_CAPACITY_RESERVATION: StaticOperationSchema = ( + 23, + n0, + _MDBCR, + 0, + MODIFY_DB_CAPACITY_RESERVATION_INPUT, + MODIFY_DB_CAPACITY_RESERVATION_OUTPUT, + ( + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.INSTANCE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + ), +) + +AWS_BACKUP_RECOVERY_POINT_ARN: StaticSchema = (3, n0, _ABRPA, 0) + +CLOUDWATCH_LOGS_EXPORT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CLEC, + 0, + (_ELTn, _DLT), + ((lambda: schemas.LOG_TYPE_LIST, 0), (lambda: schemas.LOG_TYPE_LIST, 0)), +) + +MODIFY_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _MDBCI, + {_sSI: _cMDBCM, _smi: None}, + ( + _DBCI, + _NDBCI, + _AIp, + _BRP, + _DBCPGN, + _VSGIp, + _P, + _MUP, + _OGN, + _PBW, + _PMW, + _EIAMDA, + _BW, + _CLEC, + _EV, + _AMVUl, + _DBIPGN, + _Do, + _DIAMRN, + _SC, + _DP, + _EHE, + _CTTS, + _EGWF, + _DBCIC, + _AS, + _STt, + _Io, + _AMVU, + _NT, + _SVSC, + _MI, + _MRA, + _DIM, + _EPI, + _PIKMSKI, + _PIRP, + _MMUP, + _RMUP, + _ELWF, + _MUSKKI, + _EMn, + _AEMC, + _ABRPA, + _ELD, + _CACI, + _MUAT, + _ELS, + ), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.LONG_OPTIONAL, 0), + (CLOUDWATCH_LOGS_EXPORT_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SCALING_CONFIGURATION, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SERVERLESS_V2_SCALING_CONFIGURATION, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DATABASE_INSIGHTS_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (AWS_BACKUP_RECOVERY_POINT_ARN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.MASTER_USER_AUTHENTICATION_TYPE, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBCO, + {_sSI: _cMDBCR, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +MODIFY_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _MDBC, + 0, + MODIFY_DB_CLUSTER_INPUT, + MODIFY_DB_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DOMAIN_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_DB_SECURITY_GROUP_STATE_FAULT, + lambda: schemas.INVALID_DB_SUBNET_GROUP_STATE_FAULT, + lambda: schemas.INVALID_GLOBAL_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: STORAGE_TYPE_NOT_AVAILABLE_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +STORAGE_TYPE_NOT_AVAILABLE_FAULT: StaticSchema = ( + 18, + n0, + _STNAF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "StorageTypeNotAvailableFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +MODIFY_DB_CLUSTER_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _MDBCEI, + {_sSI: _cMDBCEM, _smi: None}, + (_DBCEI, _ET, _SMt, _EMx), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +MODIFY_DB_CLUSTER_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBCEO, + {_sSI: _cDBCE, _smit: None}, + (_DBCEI, _DBCI, _DBCERI, _End, _St, _ET, _CETu, _SMt, _EMx, _DBCEA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_DB_CLUSTER_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _MDBCE, + 0, + MODIFY_DB_CLUSTER_ENDPOINT_INPUT, + MODIFY_DB_CLUSTER_ENDPOINT_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_ENDPOINT_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +MODIFY_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _MDBCPGI, + {_sSI: _cMDBCPGM, _smi: None}, + (_DBCPGN, _Par), + ((lambda: schemas.STRING, 1), (lambda: schemas.PARAMETERS_LIST, 1)), +) + +MODIFY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBCPGO, + {_sSI: _cDBCPGNM, _smit: None}, + (_DBCPGN,), + ((lambda: schemas.STRING, 0),), +) + +MODIFY_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _MDBCPG, + 0, + MODIFY_DB_CLUSTER_PARAMETER_GROUP_INPUT, + MODIFY_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, + ( + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PARAMETER_GROUP_STATE_FAULT, + ), +) + +MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MDBCSAI, + {_sSI: _cMDBCSAM, _smi: None}, + (_DBCSI, _AN, _VTA, _VTR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.ATTRIBUTE_VALUE_LIST, 0), + (lambda: schemas.ATTRIBUTE_VALUE_LIST, 0), + ), +) + +MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBCSAO, + {_sSI: _cMDBCSAR, _smit: None}, + (_DBCSAR,), + ((lambda: schemas.DB_CLUSTER_SNAPSHOT_ATTRIBUTES_RESULT, 0),), +) + +MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MDBCSA, + 0, + MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_INPUT, + MODIFY_DB_CLUSTER_SNAPSHOT_ATTRIBUTE_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, + lambda: schemas.SHARED_SNAPSHOT_QUOTA_EXCEEDED_FAULT, + ), +) + +DB_UPGRADE_DEPENDENCY_FAILURE_FAULT: StaticSchema = ( + 18, + n0, + _DBUDFF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBUpgradeDependencyFailure", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +MODIFY_ADDITIONAL_STORAGE_VOLUME: StaticSchema = ( + 18, + n0, + _MASV, + 0, + (_VN, _AS, _IOPS, _MAS, _ST, _STt, _SFD), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +MODIFY_ADDITIONAL_STORAGE_VOLUMES_LIST: StaticSchema = ( + 16, + n0, + _MASVL, + 0, + (_m,), + ((MODIFY_ADDITIONAL_STORAGE_VOLUME, 0),), +) + +MODIFY_DB_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _MDBII, + {_sSI: _cMDBIM, _smi: None}, + ( + _DBII, + _AS, + _DBIC, + _DBSGNu, + _DBSGe, + _VSGIp, + _AIp, + _MUP, + _DBPGN, + _BRP, + _PBW, + _PMW, + _MAZ, + _EV, + _AMVUl, + _AMVU, + _LM, + _Io, + _ST, + _OGN, + _NDBII, + _STt, + _TCA, + _TCP, + _CACI, + _Do, + _DF, + _DOo, + _DASA, + _DDI, + _DD, + _CTTS, + _MI, + _DBPNo, + _PA, + _MRA, + _DIAMRN, + _PT, + _EIAMDA, + _DIM, + _EPI, + _PIKMSKI, + _PIRP, + _CLEC, + _PFr, + _UDPF, + _DP, + _MAS, + _CRR, + _RM, + _AM, + _RFAMM, + _ECOI, + _NT, + _ABRPA, + _MMUP, + _RMUP, + _MUSKKI, + _MT, + _DLV, + _En, + _ASVd, + _DBCRI, + _TSag, + _MUAT, + _ELS, + ), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_SECURITY_GROUP_NAME_LIST, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.DATABASE_INSIGHTS_MODE, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (CLOUDWATCH_LOGS_EXPORT_CONFIGURATION, 0), + (lambda: schemas.PROCESSOR_FEATURE_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.REPLICA_MODE, 0), + (lambda: schemas.AUTOMATION_MODE, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (AWS_BACKUP_RECOVERY_POINT_ARN, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (MODIFY_ADDITIONAL_STORAGE_VOLUMES_LIST, 0), + (lambda: schemas.DB_CAPACITY_RESERVATION_IDENTIFIER, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.MASTER_USER_AUTHENTICATION_TYPE, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_DB_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBIO, + {_sSI: _cMDBIR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +MODIFY_DB_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _MDBI, + 0, + MODIFY_DB_INSTANCE_INPUT, + MODIFY_DB_INSTANCE_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_NOT_FOUND_FAULT, + lambda: schemas.BACKUP_POLICY_NOT_FOUND_FAULT, + lambda: schemas.CERTIFICATE_NOT_FOUND_FAULT, + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SECURITY_GROUP_NOT_FOUND_FAULT, + DB_UPGRADE_DEPENDENCY_FAILURE_FAULT, + lambda: schemas.DOMAIN_NOT_FOUND_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CAPACITY_RESERVATION_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_DB_SECURITY_GROUP_STATE_FAULT, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + lambda: schemas.PROVISIONED_IOPS_NOT_AVAILABLE_IN_AZ_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: schemas.TENANT_DATABASE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) + +MODIFY_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _MDBPGI, + {_sSI: _cMDBPGM, _smi: None}, + (_DBPGN, _Par), + ((lambda: schemas.STRING, 1), (lambda: schemas.PARAMETERS_LIST, 1)), +) + +MODIFY_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBPGO, + {_sSI: _cDBPGNM, _smit: None}, + (_DBPGN,), + ((lambda: schemas.STRING, 0),), +) + +MODIFY_DB_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _MDBPG, + 0, + MODIFY_DB_PARAMETER_GROUP_INPUT, + MODIFY_DB_PARAMETER_GROUP_OUTPUT, + ( + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PARAMETER_GROUP_STATE_FAULT, + ), +) + +MODIFY_DB_PROXY_INPUT: StaticSchema = ( + 18, + n0, + _MDBPI, + {_sSI: _cMDBPR, _smi: None}, + (_DBPN, _NDBPN, _DAS, _Au, _RTLS, _ICTd, _DL, _RA, _SG), + ( + (lambda: schemas.DB_PROXY_NAME, 1), + (lambda: schemas.DB_PROXY_NAME, 0), + (lambda: schemas.DEFAULT_AUTH_SCHEME, 0), + (lambda: schemas.USER_AUTH_CONFIG_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +MODIFY_DB_PROXY_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBPO, + {_sSI: _cMDBPRo, _smit: None}, + (_DBP,), + ((lambda: schemas.DB_PROXY, 0),), +) + +MODIFY_DB_PROXY: StaticOperationSchema = ( + 23, + n0, + _MDBP, + 0, + MODIFY_DB_PROXY_INPUT, + MODIFY_DB_PROXY_OUTPUT, + ( + lambda: schemas.DB_PROXY_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PROXY_STATE_FAULT, + ), +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_9.py b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_9.py new file mode 100644 index 000000000..5ec497a7d --- /dev/null +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/_private/schemas_9.py @@ -0,0 +1,1736 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.rds" +_m = "member" +_sN = "smithy.api#xmlName" +_sm = "smithy.api#required" +_STt = "StorageType" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_DBCI = "DBClusterIdentifier" +_RA = "RoleArn" +_FN = "FeatureName" +_sU = "smithy.api#Unit" +_smit = "smithy.api#output" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_DBII = "DBInstanceIdentifier" +_SN = "SubscriptionName" +_SI = "SourceIdentifier" +_ES = "EventSubscription" +_STA = "SnsTopicArn" +_St = "Status" +_STo = "SourceType" +_E = "Enabled" +_TL = "TagList" +_RN = "ResourceName" +_Ta = "Tags" +_D = "Description" +_En = "Engine" +_SA = "SourceArn" +_SP = "S3Prefix" +_KKI = "KmsKeyId" +_DBCPGN = "DBClusterParameterGroupName" +_AZv = "AvailabilityZones" +_EMn = "EngineMode" +_P = "Port" +_MU = "MasterUsername" +_EV = "EngineVersion" +_SE = "StorageEncrypted" +_BRP = "BackupRetentionPeriod" +_PBW = "PreferredBackupWindow" +_DBPGN = "DBParameterGroupName" +_OGN = "OptionGroupName" +_TSag = "TagSpecifications" +_DBS = "DBSnapshot" +_DBSIn = "DBSnapshotIdentifier" +_Io = "Iops" +_OS = "OptionSetting" +_ON = "OptionName" +_OV = "OptionVersion" +_OSp = "OptionSettings" +_DBSGMe = "DBSecurityGroupMemberships" +_VSGMp = "VpcSecurityGroupMemberships" +_OG = "OptionGroup" +_CTr = "CreateTime" +_KMSKI = "KMSKeyId" +_CSN = "CharacterSetName" +_GCI = "GlobalClusterIdentifier" +_RCCC = "RdsCustomClusterConfiguration" +_SC = "ScalingConfiguration" +_SVSC = "ServerlessV2ScalingConfiguration" +_DN = "DatabaseName" +_VSGIp = "VpcSecurityGroupIds" +_DBSGNu = "DBSubnetGroupName" +_MUP = "MasterUserPassword" +_PMW = "PreferredMaintenanceWindow" +_EIAMDA = "EnableIAMDatabaseAuthentication" +_BW = "BacktrackWindow" +_ECLE = "EnableCloudwatchLogsExports" +_DBCIC = "DBClusterInstanceClass" +_PA = "PubliclyAccessible" +_DP = "DeletionProtection" +_CTTS = "CopyTagsToSnapshot" +_Do = "Domain" +_DIAMRN = "DomainIAMRoleName" +_NT = "NetworkType" +_MI = "MonitoringInterval" +_MRA = "MonitoringRoleArn" +_EPI = "EnablePerformanceInsights" +_PIKMSKI = "PerformanceInsightsKMSKeyId" +_PIRP = "PerformanceInsightsRetentionPeriod" +_MMUP = "ManageMasterUserPassword" +_MUSKKI = "MasterUserSecretKmsKeyId" +_ELS = "EngineLifecycleSupport" +_AR = "AssociatedRoles" +_DBC = "DBCluster" +_DBSGu = "DBSubnetGroup" +_End = "Endpoint" +_DBSGDu = "DBSubnetGroupDescription" +_DBI = "DBInstance" +_DBPN = "DBProxyName" +_DBPEN = "DBProxyEndpointName" +_DBPE = "DBProxyEndpoint" +_DBSGI = "DBShardGroupIdentifier" +_CR = "ComputeRedundancy" +_MACU = "MaxACU" +_MACUi = "MinACU" +_cDBSG = "com.amazonaws.rds#DBShardGroup" +_DBSGRI = "DBShardGroupResourceId" +_DBSGAh = "DBShardGroupArn" +_SIubn = "SubnetIds" +_ECv = "EventCategories" +_GC = "GlobalCluster" +_DFa = "DataFilter" +_INn = "IntegrationName" +_TAa = "TargetArn" +_AEC = "AdditionalEncryptionContext" +_IAn = "IntegrationArn" +_cI = "com.amazonaws.rds#Integration" +_Er = "Errors" +_TDBN = "TenantDBName" +_TD = "TenantDatabase" +_IIn = "IntegrationIdentifier" +_TGN = "TargetGroupName" +_DBIIn = "DBInstanceIdentifiers" +_DBCIl = "DBClusterIdentifiers" +_Par = "Parameters" +_AN = "AttributeName" +_MCP = "MaxConnectionsPercent" +_MICP = "MaxIdleConnectionsPercent" +_CBT = "ConnectionBorrowTimeout" +_SPF = "SessionPinningFilters" +_IQ = "InitQuery" +_DBPTG = "DBProxyTargetGroup" +_CPC = "ConnectionPoolConfig" +_Lo = "Locale" +_AI = "ActionId" +_DBR = "DBRecommendation" +_RIe = "RecommendationId" +_DBSAR = "DBSnapshotAttributesResult" +_RDBII = "ReservedDBInstanceId" +_RDBIOI = "ReservedDBInstancesOfferingId" +_RDBI = "ReservedDBInstance" +_DBICn = "DBInstanceCount" +_AIp = "ApplyImmediately" +_AMVUl = "AllowMajorVersionUpgrade" +_RMUP = "RotateMasterUserPassword" +_cDBCPGNM = "com.amazonaws.rds#DBClusterParameterGroupNameMessage" +_VTA = "ValuesToAdd" +_VTR = "ValuesToRemove" +_cDBPGNM = "com.amazonaws.rds#DBParameterGroupNameMessage" +_MDBPEI = "ModifyDBProxyEndpointInput" +_cMDBPER = "com.amazonaws.rds#ModifyDBProxyEndpointRequest" +_NDBPEN = "NewDBProxyEndpointName" +_MDBPEO = "ModifyDBProxyEndpointOutput" +_cMDBPERo = "com.amazonaws.rds#ModifyDBProxyEndpointResponse" +_MDBPE = "ModifyDBProxyEndpoint" +_CPCo = "ConnectionPoolConfiguration" +_MDBPTGI = "ModifyDBProxyTargetGroupInput" +_cMDBPTGR = "com.amazonaws.rds#ModifyDBProxyTargetGroupRequest" +_NN = "NewName" +_MDBPTGO = "ModifyDBProxyTargetGroupOutput" +_cMDBPTGRo = "com.amazonaws.rds#ModifyDBProxyTargetGroupResponse" +_MDBPTG = "ModifyDBProxyTargetGroup" +_RAU = "RecommendedActionUpdate" +_RAUL = "RecommendedActionUpdateList" +_MDBRI = "ModifyDBRecommendationInput" +_cMDBRM = "com.amazonaws.rds#ModifyDBRecommendationMessage" +_RAUe = "RecommendedActionUpdates" +_MDBRO = "ModifyDBRecommendationOutput" +_cDBRMo = "com.amazonaws.rds#DBRecommendationMessage" +_MDBR = "ModifyDBRecommendation" +_MDBSGI = "ModifyDBShardGroupInput" +_cMDBSGM = "com.amazonaws.rds#ModifyDBShardGroupMessage" +_MDBSGO = "ModifyDBShardGroupOutput" +_MDBSG = "ModifyDBShardGroup" +_MDBSI = "ModifyDBSnapshotInput" +_cMDBSM = "com.amazonaws.rds#ModifyDBSnapshotMessage" +_MDBSO = "ModifyDBSnapshotOutput" +_cMDBSR = "com.amazonaws.rds#ModifyDBSnapshotResult" +_MDBS = "ModifyDBSnapshot" +_MDBSAI = "ModifyDBSnapshotAttributeInput" +_cMDBSAM = "com.amazonaws.rds#ModifyDBSnapshotAttributeMessage" +_MDBSAO = "ModifyDBSnapshotAttributeOutput" +_cMDBSAR = "com.amazonaws.rds#ModifyDBSnapshotAttributeResult" +_MDBSA = "ModifyDBSnapshotAttribute" +_MDBSGIo = "ModifyDBSubnetGroupInput" +_cMDBSGMo = "com.amazonaws.rds#ModifyDBSubnetGroupMessage" +_MDBSGOo = "ModifyDBSubnetGroupOutput" +_cMDBSGR = "com.amazonaws.rds#ModifyDBSubnetGroupResult" +_SAIU = "SubnetAlreadyInUse" +_MDBSGo = "ModifyDBSubnetGroup" +_MESI = "ModifyEventSubscriptionInput" +_cMESM = "com.amazonaws.rds#ModifyEventSubscriptionMessage" +_MESO = "ModifyEventSubscriptionOutput" +_cMESR = "com.amazonaws.rds#ModifyEventSubscriptionResult" +_MES = "ModifyEventSubscription" +_MGCI = "ModifyGlobalClusterInput" +_cMGCM = "com.amazonaws.rds#ModifyGlobalClusterMessage" +_NGCI = "NewGlobalClusterIdentifier" +_MGCO = "ModifyGlobalClusterOutput" +_cMGCR = "com.amazonaws.rds#ModifyGlobalClusterResult" +_MGC = "ModifyGlobalCluster" +_MII = "ModifyIntegrationInput" +_cMIM = "com.amazonaws.rds#ModifyIntegrationMessage" +_MIO = "ModifyIntegrationOutput" +_MIo = "ModifyIntegration" +_OSL = "OptionSettingsList" +_OCp = "OptionConfiguration" +_OCL = "OptionConfigurationList" +_ONL = "OptionNamesList" +_MOGI = "ModifyOptionGroupInput" +_cMOGM = "com.amazonaws.rds#ModifyOptionGroupMessage" +_OTI = "OptionsToInclude" +_OTR = "OptionsToRemove" +_MOGO = "ModifyOptionGroupOutput" +_cMOGR = "com.amazonaws.rds#ModifyOptionGroupResult" +_MOG = "ModifyOptionGroup" +_MTDI = "ModifyTenantDatabaseInput" +_cMTDM = "com.amazonaws.rds#ModifyTenantDatabaseMessage" +_NTDBN = "NewTenantDBName" +_MTDO = "ModifyTenantDatabaseOutput" +_cMTDR = "com.amazonaws.rds#ModifyTenantDatabaseResult" +_MTD = "ModifyTenantDatabase" +_PRRI = "PromoteReadReplicaInput" +_cPRRM = "com.amazonaws.rds#PromoteReadReplicaMessage" +_PRRO = "PromoteReadReplicaOutput" +_cPRRR = "com.amazonaws.rds#PromoteReadReplicaResult" +_PRR = "PromoteReadReplica" +_PRRDBCI = "PromoteReadReplicaDBClusterInput" +_cPRRDBCM = "com.amazonaws.rds#PromoteReadReplicaDBClusterMessage" +_PRRDBCO = "PromoteReadReplicaDBClusterOutput" +_cPRRDBCR = "com.amazonaws.rds#PromoteReadReplicaDBClusterResult" +_PRRDBC = "PromoteReadReplicaDBCluster" +_PRDBIOI = "PurchaseReservedDBInstancesOfferingInput" +_cPRDBIOM = "com.amazonaws.rds#PurchaseReservedDBInstancesOfferingMessage" +_PRDBIOO = "PurchaseReservedDBInstancesOfferingOutput" +_cPRDBIOR = "com.amazonaws.rds#PurchaseReservedDBInstancesOfferingResult" +_RDBIAEF = "ReservedDBInstanceAlreadyExistsFault" +_RDBIQEF = "ReservedDBInstanceQuotaExceededFault" +_PRDBIO = "PurchaseReservedDBInstancesOffering" +_RDBCI = "RebootDBClusterInput" +_cRDBCM = "com.amazonaws.rds#RebootDBClusterMessage" +_RDBCO = "RebootDBClusterOutput" +_cRDBCR = "com.amazonaws.rds#RebootDBClusterResult" +_RDBC = "RebootDBCluster" +_RDBIIe = "RebootDBInstanceInput" +_cRDBIMo = "com.amazonaws.rds#RebootDBInstanceMessage" +_FF = "ForceFailover" +_RDBIOeb = "RebootDBInstanceOutput" +_cRDBIR = "com.amazonaws.rds#RebootDBInstanceResult" +_RDBIeb = "RebootDBInstance" +_RDBSGI = "RebootDBShardGroupInput" +_cRDBSGM = "com.amazonaws.rds#RebootDBShardGroupMessage" +_RDBSGO = "RebootDBShardGroupOutput" +_RDBSG = "RebootDBShardGroup" +_DBPTARF = "DBProxyTargetAlreadyRegisteredFault" +_IAIPISF = "InsufficientAvailableIPsInSubnetFault" +_RDBPTI = "RegisterDBProxyTargetsInput" +_cRDBPTR = "com.amazonaws.rds#RegisterDBProxyTargetsRequest" +_RDBPTO = "RegisterDBProxyTargetsOutput" +_cRDBPTRo = "com.amazonaws.rds#RegisterDBProxyTargetsResponse" +_DBPTr = "DBProxyTargets" +_RDBPT = "RegisterDBProxyTargets" +_RFGCI = "RemoveFromGlobalClusterInput" +_cRFGCM = "com.amazonaws.rds#RemoveFromGlobalClusterMessage" +_DCIb = "DbClusterIdentifier" +_RFGCO = "RemoveFromGlobalClusterOutput" +_cRFGCR = "com.amazonaws.rds#RemoveFromGlobalClusterResult" +_RFGC = "RemoveFromGlobalCluster" +_DBCRNFFl = "DBClusterRoleNotFoundFault" +_RRFDBCI = "RemoveRoleFromDBClusterInput" +_cRRFDBCM = "com.amazonaws.rds#RemoveRoleFromDBClusterMessage" +_RRFDBCO = "RemoveRoleFromDBClusterOutput" +_RRFDBC = "RemoveRoleFromDBCluster" +_DBIRNFF = "DBInstanceRoleNotFoundFault" +_RRFDBII = "RemoveRoleFromDBInstanceInput" +_cRRFDBIM = "com.amazonaws.rds#RemoveRoleFromDBInstanceMessage" +_RRFDBIO = "RemoveRoleFromDBInstanceOutput" +_RRFDBI = "RemoveRoleFromDBInstance" +_RSIFSI = "RemoveSourceIdentifierFromSubscriptionInput" +_cRSIFSM = "com.amazonaws.rds#RemoveSourceIdentifierFromSubscriptionMessage" +_RSIFSO = "RemoveSourceIdentifierFromSubscriptionOutput" +_cRSIFSR = "com.amazonaws.rds#RemoveSourceIdentifierFromSubscriptionResult" +_RSIFS = "RemoveSourceIdentifierFromSubscription" +_KL = "KeyList" +_RTFRI = "RemoveTagsFromResourceInput" +_cRTFRM = "com.amazonaws.rds#RemoveTagsFromResourceMessage" +_TK = "TagKeys" +_RTFRO = "RemoveTagsFromResourceOutput" +_RTFR = "RemoveTagsFromResource" +_RDBCPGI = "ResetDBClusterParameterGroupInput" +_cRDBCPGM = "com.amazonaws.rds#ResetDBClusterParameterGroupMessage" +_RAPe = "ResetAllParameters" +_RDBCPGO = "ResetDBClusterParameterGroupOutput" +_RDBCPG = "ResetDBClusterParameterGroup" +_RDBPGI = "ResetDBParameterGroupInput" +_cRDBPGM = "com.amazonaws.rds#ResetDBParameterGroupMessage" +_RDBPGO = "ResetDBParameterGroupOutput" +_RDBPG = "ResetDBParameterGroup" +_RDBCFSI = "RestoreDBClusterFromS3Input" +_cRDBCFSM = "com.amazonaws.rds#RestoreDBClusterFromS3Message" +_SEo = "SourceEngine" +_SEV = "SourceEngineVersion" +_SBN = "S3BucketName" +_SIRA = "S3IngestionRoleArn" +_RDBCFSO = "RestoreDBClusterFromS3Output" +_cRDBCFSR = "com.amazonaws.rds#RestoreDBClusterFromS3Result" +_RDBCFS = "RestoreDBClusterFromS3" +_RDBCFSIe = "RestoreDBClusterFromSnapshotInput" +_cRDBCFSMo = "com.amazonaws.rds#RestoreDBClusterFromSnapshotMessage" +_SIn = "SnapshotIdentifier" +_EVPCN = "EnableVPCNetworking" +_EIAG = "EnableInternetAccessGateway" +_RDBCFSOe = "RestoreDBClusterFromSnapshotOutput" +_cRDBCFSRo = "com.amazonaws.rds#RestoreDBClusterFromSnapshotResult" +_RDBCFSe = "RestoreDBClusterFromSnapshot" + +MODIFY_DB_PROXY_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _MDBPEI, + {_sSI: _cMDBPER, _smi: None}, + (_DBPEN, _NDBPEN, _VSGIp), + ( + (lambda: schemas.DB_PROXY_ENDPOINT_NAME, 1), + (lambda: schemas.DB_PROXY_ENDPOINT_NAME, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +MODIFY_DB_PROXY_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBPEO, + {_sSI: _cMDBPERo, _smit: None}, + (_DBPE,), + ((lambda: schemas.DB_PROXY_ENDPOINT, 0),), +) + +MODIFY_DB_PROXY_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _MDBPE, + 0, + MODIFY_DB_PROXY_ENDPOINT_INPUT, + MODIFY_DB_PROXY_ENDPOINT_OUTPUT, + ( + lambda: schemas.DB_PROXY_ENDPOINT_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PROXY_ENDPOINT_STATE_FAULT, + lambda: schemas.INVALID_DB_PROXY_STATE_FAULT, + ), +) + +CONNECTION_POOL_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CPCo, + 0, + (_MCP, _MICP, _CBT, _SPF, _IQ), + ( + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.OPERATOR_SENSITIVE_STRING, 0), + ), +) + +MODIFY_DB_PROXY_TARGET_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _MDBPTGI, + {_sSI: _cMDBPTGR, _smi: None}, + (_TGN, _DBPN, _CPC, _NN), + ( + (lambda: schemas.DB_PROXY_TARGET_GROUP_NAME, 1), + (lambda: schemas.DB_PROXY_NAME, 1), + (CONNECTION_POOL_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_DB_PROXY_TARGET_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBPTGO, + {_sSI: _cMDBPTGRo, _smit: None}, + (_DBPTG,), + ((lambda: schemas.DB_PROXY_TARGET_GROUP, 0),), +) + +MODIFY_DB_PROXY_TARGET_GROUP: StaticOperationSchema = ( + 23, + n0, + _MDBPTG, + 0, + MODIFY_DB_PROXY_TARGET_GROUP_INPUT, + MODIFY_DB_PROXY_TARGET_GROUP_OUTPUT, + ( + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PROXY_STATE_FAULT, + ), +) + +RECOMMENDED_ACTION_UPDATE: StaticSchema = ( + 18, + n0, + _RAU, + 0, + (_AI, _St), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +RECOMMENDED_ACTION_UPDATE_LIST: StaticSchema = ( + 16, + n0, + _RAUL, + 0, + (_m,), + ((RECOMMENDED_ACTION_UPDATE, 0),), +) + +MODIFY_DB_RECOMMENDATION_INPUT: StaticSchema = ( + 18, + n0, + _MDBRI, + {_sSI: _cMDBRM, _smi: None}, + (_RIe, _Lo, _St, _RAUe), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (RECOMMENDED_ACTION_UPDATE_LIST, 0), + ), +) + +MODIFY_DB_RECOMMENDATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBRO, + {_sSI: _cDBRMo, _smit: None}, + (_DBR,), + ((lambda: schemas.DB_RECOMMENDATION, 0),), +) + +MODIFY_DB_RECOMMENDATION: StaticOperationSchema = ( + 23, + n0, + _MDBR, + 0, + MODIFY_DB_RECOMMENDATION_INPUT, + MODIFY_DB_RECOMMENDATION_OUTPUT, + (), +) + +MODIFY_DB_SHARD_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _MDBSGI, + {_sSI: _cMDBSGM, _smi: None}, + (_DBSGI, _MACU, _MACUi, _CR), + ( + (lambda: schemas.DB_SHARD_GROUP_IDENTIFIER, 1), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + ), +) + +MODIFY_DB_SHARD_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBSGO, + {_sSI: _cDBSG, _smit: None}, + (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_SHARD_GROUP_IDENTIFIER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +MODIFY_DB_SHARD_GROUP: StaticOperationSchema = ( + 23, + n0, + _MDBSG, + 0, + MODIFY_DB_SHARD_GROUP_INPUT, + MODIFY_DB_SHARD_GROUP_OUTPUT, + ( + lambda: schemas.DB_SHARD_GROUP_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_SHARD_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + ), +) + +MODIFY_DB_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _MDBSI, + {_sSI: _cMDBSM, _smi: None}, + (_DBSIn, _EV, _OGN), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_DB_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBSO, + {_sSI: _cMDBSR, _smit: None}, + (_DBS,), + ((lambda: schemas.DB_SNAPSHOT, 0),), +) + +MODIFY_DB_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _MDBS, + 0, + MODIFY_DB_SNAPSHOT_INPUT, + MODIFY_DB_SNAPSHOT_OUTPUT, + ( + lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_SNAPSHOT_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + ), +) + +MODIFY_DB_SNAPSHOT_ATTRIBUTE_INPUT: StaticSchema = ( + 18, + n0, + _MDBSAI, + {_sSI: _cMDBSAM, _smi: None}, + (_DBSIn, _AN, _VTA, _VTR), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.ATTRIBUTE_VALUE_LIST, 0), + (lambda: schemas.ATTRIBUTE_VALUE_LIST, 0), + ), +) + +MODIFY_DB_SNAPSHOT_ATTRIBUTE_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBSAO, + {_sSI: _cMDBSAR, _smit: None}, + (_DBSAR,), + ((lambda: schemas.DB_SNAPSHOT_ATTRIBUTES_RESULT, 0),), +) + +MODIFY_DB_SNAPSHOT_ATTRIBUTE: StaticOperationSchema = ( + 23, + n0, + _MDBSA, + 0, + MODIFY_DB_SNAPSHOT_ATTRIBUTE_INPUT, + MODIFY_DB_SNAPSHOT_ATTRIBUTE_OUTPUT, + ( + lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_SNAPSHOT_STATE_FAULT, + lambda: schemas.SHARED_SNAPSHOT_QUOTA_EXCEEDED_FAULT, + ), +) + +MODIFY_DB_SUBNET_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _MDBSGIo, + {_sSI: _cMDBSGMo, _smi: None}, + (_DBSGNu, _DBSGDu, _SIubn), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.SUBNET_IDENTIFIER_LIST, 1), + ), +) + +MODIFY_DB_SUBNET_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _MDBSGOo, + {_sSI: _cMDBSGR, _smit: None}, + (_DBSGu,), + ((lambda: schemas.DB_SUBNET_GROUP, 0),), +) + +MODIFY_DB_SUBNET_GROUP: StaticOperationSchema = ( + 23, + n0, + _MDBSGo, + 0, + MODIFY_DB_SUBNET_GROUP_INPUT, + MODIFY_DB_SUBNET_GROUP_OUTPUT, + ( + lambda: schemas.DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SUBNET_QUOTA_EXCEEDED_FAULT, + lambda: schemas.INVALID_DB_SUBNET_GROUP_STATE_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: SUBNET_ALREADY_IN_USE, + ), +) + +SUBNET_ALREADY_IN_USE: StaticSchema = ( + 18, + n0, + _SAIU, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "SubnetAlreadyInUse", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +MODIFY_EVENT_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _MESI, + {_sSI: _cMESM, _smi: None}, + (_SN, _STA, _STo, _ECv, _E), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.EVENT_CATEGORIES_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +MODIFY_EVENT_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _MESO, + {_sSI: _cMESR, _smit: None}, + (_ES,), + ((lambda: schemas.EVENT_SUBSCRIPTION, 0),), +) + +MODIFY_EVENT_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _MES, + 0, + MODIFY_EVENT_SUBSCRIPTION_INPUT, + MODIFY_EVENT_SUBSCRIPTION_OUTPUT, + ( + lambda: schemas.EVENT_SUBSCRIPTION_QUOTA_EXCEEDED_FAULT, + lambda: schemas.SNS_INVALID_TOPIC_FAULT, + lambda: schemas.SNS_NO_AUTHORIZATION_FAULT, + lambda: schemas.SNS_TOPIC_ARN_NOT_FOUND_FAULT, + lambda: schemas.SUBSCRIPTION_CATEGORY_NOT_FOUND_FAULT, + lambda: schemas.SUBSCRIPTION_NOT_FOUND_FAULT, + ), +) + +MODIFY_GLOBAL_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _MGCI, + {_sSI: _cMGCM, _smi: None}, + (_GCI, _NGCI, _DP, _EV, _AMVUl), + ( + (lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 1), + (lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + ), +) + +MODIFY_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _MGCO, + {_sSI: _cMGCR, _smit: None}, + (_GC,), + ((lambda: schemas.GLOBAL_CLUSTER, 0),), +) + +MODIFY_GLOBAL_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _MGC, + 0, + MODIFY_GLOBAL_CLUSTER_INPUT, + MODIFY_GLOBAL_CLUSTER_OUTPUT, + ( + lambda: schemas.GLOBAL_CLUSTER_ALREADY_EXISTS_FAULT, + lambda: schemas.GLOBAL_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_GLOBAL_CLUSTER_STATE_FAULT, + ), +) + +MODIFY_INTEGRATION_INPUT: StaticSchema = ( + 18, + n0, + _MII, + {_sSI: _cMIM, _smi: None}, + (_IIn, _INn, _DFa, _D), + ( + (lambda: schemas.INTEGRATION_IDENTIFIER, 1), + (lambda: schemas.INTEGRATION_NAME, 0), + (lambda: schemas.DATA_FILTER, 0), + (lambda: schemas.INTEGRATION_DESCRIPTION, 0), + ), +) + +MODIFY_INTEGRATION_OUTPUT: StaticSchema = ( + 18, + n0, + _MIO, + {_sSI: _cI, _smit: None}, + (_SA, _TAa, _INn, _IAn, _KMSKI, _AEC, _St, _Ta, _DFa, _D, _CTr, _Er), + ( + (lambda: schemas.SOURCE_ARN, 0), + (lambda: schemas.ARN, 0), + (lambda: schemas.INTEGRATION_NAME, 0), + (lambda: schemas.INTEGRATION_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.ENCRYPTION_CONTEXT_MAP, 0), + (lambda: schemas.INTEGRATION_STATUS, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.DATA_FILTER, 0), + (lambda: schemas.INTEGRATION_DESCRIPTION, 0), + (lambda: schemas.T_STAMP, 0), + (lambda: schemas.INTEGRATION_ERROR_LIST, 0), + ), +) + +MODIFY_INTEGRATION: StaticOperationSchema = ( + 23, + n0, + _MIo, + 0, + MODIFY_INTEGRATION_INPUT, + MODIFY_INTEGRATION_OUTPUT, + ( + lambda: schemas.INTEGRATION_CONFLICT_OPERATION_FAULT, + lambda: schemas.INTEGRATION_NOT_FOUND_FAULT, + lambda: schemas.INVALID_INTEGRATION_STATE_FAULT, + ), +) + +OPTION_SETTINGS_LIST: StaticSchema = ( + 16, + n0, + _OSL, + 0, + (_m,), + ((lambda: schemas.OPTION_SETTING, {_sN: _OS}),), +) + +OPTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OCp, + 0, + (_ON, _P, _OV, _DBSGMe, _VSGMp, _OSp), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_SECURITY_GROUP_NAME_LIST, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (OPTION_SETTINGS_LIST, 0), + ), +) + +OPTION_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _OCL, + 0, + (_m,), + ((OPTION_CONFIGURATION, {_sN: _OCp}),), +) + +OPTION_NAMES_LIST: StaticSchema = ( + 16, + n0, + _ONL, + 0, + (_m,), + ((lambda: schemas.STRING, 0),), +) + +MODIFY_OPTION_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _MOGI, + {_sSI: _cMOGM, _smi: None}, + (_OGN, _OTI, _OTR, _AIp), + ( + (lambda: schemas.STRING, 1), + (OPTION_CONFIGURATION_LIST, 0), + (OPTION_NAMES_LIST, 0), + (lambda: schemas.BOOLEAN, 0), + ), +) + +MODIFY_OPTION_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _MOGO, + {_sSI: _cMOGR, _smit: None}, + (_OG,), + ((lambda: schemas.OPTION_GROUP, 0),), +) + +MODIFY_OPTION_GROUP: StaticOperationSchema = ( + 23, + n0, + _MOG, + 0, + MODIFY_OPTION_GROUP_INPUT, + MODIFY_OPTION_GROUP_OUTPUT, + ( + lambda: schemas.INVALID_OPTION_GROUP_STATE_FAULT, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + ), +) + +MODIFY_TENANT_DATABASE_INPUT: StaticSchema = ( + 18, + n0, + _MTDI, + {_sSI: _cMTDM, _smi: None}, + (_DBII, _TDBN, _MUP, _NTDBN, _MMUP, _RMUP, _MUSKKI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + ), +) + +MODIFY_TENANT_DATABASE_OUTPUT: StaticSchema = ( + 18, + n0, + _MTDO, + {_sSI: _cMTDR, _smit: None}, + (_TD,), + ((lambda: schemas.TENANT_DATABASE, 0),), +) + +MODIFY_TENANT_DATABASE: StaticOperationSchema = ( + 23, + n0, + _MTD, + 0, + MODIFY_TENANT_DATABASE_INPUT, + MODIFY_TENANT_DATABASE_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.TENANT_DATABASE_ALREADY_EXISTS_FAULT, + lambda: schemas.TENANT_DATABASE_NOT_FOUND_FAULT, + ), +) + +PROMOTE_READ_REPLICA_INPUT: StaticSchema = ( + 18, + n0, + _PRRI, + {_sSI: _cPRRM, _smi: None}, + (_DBII, _BRP, _PBW, _TSag), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + ), +) + +PROMOTE_READ_REPLICA_OUTPUT: StaticSchema = ( + 18, + n0, + _PRRO, + {_sSI: _cPRRR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +PROMOTE_READ_REPLICA: StaticOperationSchema = ( + 23, + n0, + _PRR, + 0, + PROMOTE_READ_REPLICA_INPUT, + PROMOTE_READ_REPLICA_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +PROMOTE_READ_REPLICA_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _PRRDBCI, + {_sSI: _cPRRDBCM, _smi: None}, + (_DBCI,), + ((lambda: schemas.STRING, 1),), +) + +PROMOTE_READ_REPLICA_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _PRRDBCO, + {_sSI: _cPRRDBCR, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +PROMOTE_READ_REPLICA_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _PRRDBC, + 0, + PROMOTE_READ_REPLICA_DB_CLUSTER_INPUT, + PROMOTE_READ_REPLICA_DB_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + ), +) + +PURCHASE_RESERVED_DB_INSTANCES_OFFERING_INPUT: StaticSchema = ( + 18, + n0, + _PRDBIOI, + {_sSI: _cPRDBIOM, _smi: None}, + (_RDBIOI, _RDBII, _DBICn, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +PURCHASE_RESERVED_DB_INSTANCES_OFFERING_OUTPUT: StaticSchema = ( + 18, + n0, + _PRDBIOO, + {_sSI: _cPRDBIOR, _smit: None}, + (_RDBI,), + ((lambda: schemas.RESERVED_DB_INSTANCE, 0),), +) + +PURCHASE_RESERVED_DB_INSTANCES_OFFERING: StaticOperationSchema = ( + 23, + n0, + _PRDBIO, + 0, + PURCHASE_RESERVED_DB_INSTANCES_OFFERING_INPUT, + PURCHASE_RESERVED_DB_INSTANCES_OFFERING_OUTPUT, + ( + lambda: RESERVED_DB_INSTANCE_ALREADY_EXISTS_FAULT, + lambda: RESERVED_DB_INSTANCE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.RESERVED_DB_INSTANCES_OFFERING_NOT_FOUND_FAULT, + ), +) + +RESERVED_DB_INSTANCE_ALREADY_EXISTS_FAULT: StaticSchema = ( + 18, + n0, + _RDBIAEF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "ReservedDBInstanceAlreadyExists", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +RESERVED_DB_INSTANCE_QUOTA_EXCEEDED_FAULT: StaticSchema = ( + 18, + n0, + _RDBIQEF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ReservedDBInstanceQuotaExceeded", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +REBOOT_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _RDBCI, + {_sSI: _cRDBCM, _smi: None}, + (_DBCI,), + ((lambda: schemas.STRING, 1),), +) + +REBOOT_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBCO, + {_sSI: _cRDBCR, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +REBOOT_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _RDBC, + 0, + REBOOT_DB_CLUSTER_INPUT, + REBOOT_DB_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +REBOOT_DB_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _RDBIIe, + {_sSI: _cRDBIMo, _smi: None}, + (_DBII, _FF), + ((lambda: schemas.STRING, 1), (lambda: schemas.BOOLEAN_OPTIONAL, 0)), +) + +REBOOT_DB_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBIOeb, + {_sSI: _cRDBIR, _smit: None}, + (_DBI,), + ((lambda: schemas.DB_INSTANCE, 0),), +) + +REBOOT_DB_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _RDBIeb, + 0, + REBOOT_DB_INSTANCE_INPUT, + REBOOT_DB_INSTANCE_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + ), +) + +REBOOT_DB_SHARD_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _RDBSGI, + {_sSI: _cRDBSGM, _smi: None}, + (_DBSGI,), + ((lambda: schemas.DB_SHARD_GROUP_IDENTIFIER, 1),), +) + +REBOOT_DB_SHARD_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBSGO, + {_sSI: _cDBSG, _smit: None}, + (_DBSGRI, _DBSGI, _DBCI, _MACU, _MACUi, _CR, _St, _PA, _End, _DBSGAh, _TL), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DB_SHARD_GROUP_IDENTIFIER, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.DOUBLE_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + ), +) + +REBOOT_DB_SHARD_GROUP: StaticOperationSchema = ( + 23, + n0, + _RDBSG, + 0, + REBOOT_DB_SHARD_GROUP_INPUT, + REBOOT_DB_SHARD_GROUP_OUTPUT, + ( + lambda: schemas.DB_SHARD_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_SHARD_GROUP_STATE_FAULT, + ), +) + +DB_PROXY_TARGET_ALREADY_REGISTERED_FAULT: StaticSchema = ( + 18, + n0, + _DBPTARF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "DBProxyTargetAlreadyRegisteredFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +INSUFFICIENT_AVAILABLE_I_PS_IN_SUBNET_FAULT: StaticSchema = ( + 18, + n0, + _IAIPISF, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InsufficientAvailableIPsInSubnetFault", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +REGISTER_DB_PROXY_TARGETS_INPUT: StaticSchema = ( + 18, + n0, + _RDBPTI, + {_sSI: _cRDBPTR, _smi: None}, + (_DBPN, _TGN, _DBIIn, _DBCIl), + ( + (lambda: schemas.DB_PROXY_NAME, 1), + (lambda: schemas.DB_PROXY_TARGET_GROUP_NAME, 0), + (lambda: schemas.STRING_LIST, 0), + (lambda: schemas.STRING_LIST, 0), + ), +) + +REGISTER_DB_PROXY_TARGETS_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBPTO, + {_sSI: _cRDBPTRo, _smit: None}, + (_DBPTr,), + ((lambda: schemas.TARGET_LIST, 0),), +) + +REGISTER_DB_PROXY_TARGETS: StaticOperationSchema = ( + 23, + n0, + _RDBPT, + 0, + REGISTER_DB_PROXY_TARGETS_INPUT, + REGISTER_DB_PROXY_TARGETS_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + DB_PROXY_TARGET_ALREADY_REGISTERED_FAULT, + lambda: schemas.DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, + INSUFFICIENT_AVAILABLE_I_PS_IN_SUBNET_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_DB_PROXY_STATE_FAULT, + ), +) + +REMOVE_FROM_GLOBAL_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _RFGCI, + {_sSI: _cRFGCM, _smi: None}, + (_GCI, _DCIb), + ((lambda: schemas.GLOBAL_CLUSTER_IDENTIFIER, 1), (lambda: schemas.STRING, 1)), +) + +REMOVE_FROM_GLOBAL_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _RFGCO, + {_sSI: _cRFGCR, _smit: None}, + (_GC,), + ((lambda: schemas.GLOBAL_CLUSTER, 0),), +) + +REMOVE_FROM_GLOBAL_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _RFGC, + 0, + REMOVE_FROM_GLOBAL_CLUSTER_INPUT, + REMOVE_FROM_GLOBAL_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.GLOBAL_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_GLOBAL_CLUSTER_STATE_FAULT, + ), +) + +DB_CLUSTER_ROLE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBCRNFFl, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBClusterRoleNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +REMOVE_ROLE_FROM_DB_CLUSTER_INPUT: StaticSchema = ( + 18, + n0, + _RRFDBCI, + {_sSI: _cRRFDBCM, _smi: None}, + (_DBCI, _RA, _FN), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.IAM_ROLE_ARN, 1), + (lambda: schemas.STRING, 0), + ), +) + +REMOVE_ROLE_FROM_DB_CLUSTER_OUTPUT: StaticSchema = ( + 18, + n0, + _RRFDBCO, + {_sSI: _sU, _smit: None}, +) + +REMOVE_ROLE_FROM_DB_CLUSTER: StaticOperationSchema = ( + 23, + n0, + _RRFDBC, + 0, + REMOVE_ROLE_FROM_DB_CLUSTER_INPUT, + REMOVE_ROLE_FROM_DB_CLUSTER_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + DB_CLUSTER_ROLE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + ), +) + +DB_INSTANCE_ROLE_NOT_FOUND_FAULT: StaticSchema = ( + 18, + n0, + _DBIRNFF, + { + _smith: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "DBInstanceRoleNotFound", "httpResponseCode": 404} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +REMOVE_ROLE_FROM_DB_INSTANCE_INPUT: StaticSchema = ( + 18, + n0, + _RRFDBII, + {_sSI: _cRRFDBIM, _smi: None}, + (_DBII, _RA, _FN), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + ), +) + +REMOVE_ROLE_FROM_DB_INSTANCE_OUTPUT: StaticSchema = ( + 18, + n0, + _RRFDBIO, + {_sSI: _sU, _smit: None}, +) + +REMOVE_ROLE_FROM_DB_INSTANCE: StaticOperationSchema = ( + 23, + n0, + _RRFDBI, + 0, + REMOVE_ROLE_FROM_DB_INSTANCE_INPUT, + REMOVE_ROLE_FROM_DB_INSTANCE_OUTPUT, + ( + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + DB_INSTANCE_ROLE_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + ), +) + +REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _RSIFSI, + {_sSI: _cRSIFSM, _smi: None}, + (_SN, _SI), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _RSIFSO, + {_sSI: _cRSIFSR, _smit: None}, + (_ES,), + ((lambda: schemas.EVENT_SUBSCRIPTION, 0),), +) + +REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _RSIFS, + 0, + REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_INPUT, + REMOVE_SOURCE_IDENTIFIER_FROM_SUBSCRIPTION_OUTPUT, + ( + lambda: schemas.SOURCE_NOT_FOUND_FAULT, + lambda: schemas.SUBSCRIPTION_NOT_FOUND_FAULT, + ), +) + +KEY_LIST: StaticSchema = (16, n0, _KL, 0, (_m,), ((lambda: schemas.STRING, 0),)) + +REMOVE_TAGS_FROM_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _RTFRI, + {_sSI: _cRTFRM, _smi: None}, + (_RN, _TK), + ((lambda: schemas.STRING, 1), (KEY_LIST, 1)), +) + +REMOVE_TAGS_FROM_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _RTFRO, + {_sSI: _sU, _smit: None}, +) + +REMOVE_TAGS_FROM_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _RTFR, + 0, + REMOVE_TAGS_FROM_RESOURCE_INPUT, + REMOVE_TAGS_FROM_RESOURCE_OUTPUT, + ( + lambda: schemas.BLUE_GREEN_DEPLOYMENT_NOT_FOUND_FAULT, + lambda: schemas.DB_CAPACITY_RESERVATION_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_INSTANCE_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_ENDPOINT_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_NOT_FOUND_FAULT, + lambda: schemas.DB_PROXY_TARGET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SHARD_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_TENANT_DATABASE_NOT_FOUND_FAULT, + lambda: schemas.INTEGRATION_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_ENDPOINT_STATE_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.TENANT_DATABASE_NOT_FOUND_FAULT, + ), +) + +RESET_DB_CLUSTER_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _RDBCPGI, + {_sSI: _cRDBCPGM, _smi: None}, + (_DBCPGN, _RAPe, _Par), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.PARAMETERS_LIST, 0), + ), +) + +RESET_DB_CLUSTER_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBCPGO, + {_sSI: _cDBCPGNM, _smit: None}, + (_DBCPGN,), + ((lambda: schemas.STRING, 0),), +) + +RESET_DB_CLUSTER_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _RDBCPG, + 0, + RESET_DB_CLUSTER_PARAMETER_GROUP_INPUT, + RESET_DB_CLUSTER_PARAMETER_GROUP_OUTPUT, + ( + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PARAMETER_GROUP_STATE_FAULT, + ), +) + +RESET_DB_PARAMETER_GROUP_INPUT: StaticSchema = ( + 18, + n0, + _RDBPGI, + {_sSI: _cRDBPGM, _smi: None}, + (_DBPGN, _RAPe, _Par), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.BOOLEAN, 0), + (lambda: schemas.PARAMETERS_LIST, 0), + ), +) + +RESET_DB_PARAMETER_GROUP_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBPGO, + {_sSI: _cDBPGNM, _smit: None}, + (_DBPGN,), + ((lambda: schemas.STRING, 0),), +) + +RESET_DB_PARAMETER_GROUP: StaticOperationSchema = ( + 23, + n0, + _RDBPG, + 0, + RESET_DB_PARAMETER_GROUP_INPUT, + RESET_DB_PARAMETER_GROUP_OUTPUT, + ( + lambda: schemas.DB_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.INVALID_DB_PARAMETER_GROUP_STATE_FAULT, + ), +) + +RESTORE_DB_CLUSTER_FROM_S3_INPUT: StaticSchema = ( + 18, + n0, + _RDBCFSI, + {_sSI: _cRDBCFSM, _smi: None}, + ( + _AZv, + _BRP, + _CSN, + _DN, + _DBCI, + _DBCPGN, + _VSGIp, + _DBSGNu, + _En, + _EV, + _P, + _MU, + _MUP, + _OGN, + _PBW, + _PMW, + _Ta, + _SE, + _KKI, + _EIAMDA, + _SEo, + _SEV, + _SBN, + _SP, + _SIRA, + _BW, + _ECLE, + _DP, + _CTTS, + _Do, + _DIAMRN, + _STt, + _NT, + _SVSC, + _MMUP, + _MUSKKI, + _ELS, + _TSag, + _AR, + ), + ( + (lambda: schemas.AVAILABILITY_ZONES, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.SENSITIVE_STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.LONG_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SERVERLESS_V2_SCALING_CONFIGURATION, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.DB_CLUSTER_ASSOCIATED_ROLES, 0), + ), +) + +RESTORE_DB_CLUSTER_FROM_S3_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBCFSO, + {_sSI: _cRDBCFSR, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +RESTORE_DB_CLUSTER_FROM_S3: StaticOperationSchema = ( + 23, + n0, + _RDBCFS, + 0, + RESTORE_DB_CLUSTER_FROM_S3_INPUT, + RESTORE_DB_CLUSTER_FROM_S3_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_CLUSTER_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DOMAIN_NOT_FOUND_FAULT, + lambda: schemas.INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_STATE_FAULT, + lambda: schemas.INVALID_DB_SUBNET_GROUP_STATE_FAULT, + lambda: schemas.INVALID_S3_BUCKET_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + ), +) + +RESTORE_DB_CLUSTER_FROM_SNAPSHOT_INPUT: StaticSchema = ( + 18, + n0, + _RDBCFSIe, + {_sSI: _cRDBCFSMo, _smi: None}, + ( + _AZv, + _DBCI, + _SIn, + _En, + _EV, + _P, + _DBSGNu, + _DN, + _OGN, + _VSGIp, + _Ta, + _KKI, + _EIAMDA, + _BW, + _ECLE, + _EMn, + _SC, + _DBCPGN, + _DP, + _CTTS, + _Do, + _DIAMRN, + _DBCIC, + _STt, + _Io, + _PA, + _NT, + _SVSC, + _RCCC, + _MI, + _MRA, + _EPI, + _PIKMSKI, + _PIRP, + _BRP, + _PBW, + _ELS, + _TSag, + _EVPCN, + _EIAG, + _AR, + ), + ( + (lambda: schemas.AVAILABILITY_ZONES, 0), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.VPC_SECURITY_GROUP_ID_LIST, 0), + (lambda: schemas.TAG_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.LONG_OPTIONAL, 0), + (lambda: schemas.LOG_TYPE_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SCALING_CONFIGURATION, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.SERVERLESS_V2_SCALING_CONFIGURATION, 0), + (lambda: schemas.RDS_CUSTOM_CLUSTER_CONFIGURATION, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.INTEGER_OPTIONAL, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.TAG_SPECIFICATION_LIST, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.BOOLEAN_OPTIONAL, 0), + (lambda: schemas.DB_CLUSTER_ASSOCIATED_ROLES, 0), + ), +) + +RESTORE_DB_CLUSTER_FROM_SNAPSHOT_OUTPUT: StaticSchema = ( + 18, + n0, + _RDBCFSOe, + {_sSI: _cRDBCFSRo, _smit: None}, + (_DBC,), + ((lambda: schemas.DB_CLUSTER, 0),), +) + +RESTORE_DB_CLUSTER_FROM_SNAPSHOT: StaticOperationSchema = ( + 23, + n0, + _RDBCFSe, + 0, + RESTORE_DB_CLUSTER_FROM_SNAPSHOT_INPUT, + RESTORE_DB_CLUSTER_FROM_SNAPSHOT_OUTPUT, + ( + lambda: schemas.DB_CLUSTER_ALREADY_EXISTS_FAULT, + lambda: schemas.DB_CLUSTER_PARAMETER_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DB_CLUSTER_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_CLUSTER_ROLE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.DB_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.DB_SNAPSHOT_NOT_FOUND_FAULT, + lambda: schemas.DB_SUBNET_GROUP_DOES_NOT_COVER_ENOUGH_A_ZS, + lambda: schemas.DB_SUBNET_GROUP_NOT_FOUND_FAULT, + lambda: schemas.DOMAIN_NOT_FOUND_FAULT, + lambda: schemas.INSUFFICIENT_DB_CLUSTER_CAPACITY_FAULT, + lambda: schemas.INSUFFICIENT_DB_INSTANCE_CAPACITY_FAULT, + lambda: schemas.INSUFFICIENT_STORAGE_CLUSTER_CAPACITY_FAULT, + lambda: schemas.INVALID_DB_CLUSTER_SNAPSHOT_STATE_FAULT, + lambda: schemas.INVALID_DB_INSTANCE_STATE_FAULT, + lambda: schemas.INVALID_DB_SNAPSHOT_STATE_FAULT, + lambda: schemas.INVALID_RESTORE_FAULT, + lambda: schemas.INVALID_SUBNET, + lambda: schemas.INVALID_VPC_NETWORK_STATE_FAULT, + lambda: schemas.KMS_KEY_NOT_ACCESSIBLE_FAULT, + lambda: schemas.NETWORK_TYPE_NOT_SUPPORTED, + lambda: schemas.OPTION_GROUP_NOT_FOUND_FAULT, + lambda: schemas.STORAGE_QUOTA_EXCEEDED_FAULT, + lambda: schemas.STORAGE_TYPE_NOT_SUPPORTED_FAULT, + lambda: schemas.VPC_ENCRYPTION_CONTROL_VIOLATION_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/aio/client.py b/clients/aws-sdk-rds/src/aws_sdk_rds/aio/client.py index e3029a9c3..48d635f18 100644 --- a/clients/aws-sdk-rds/src/aws_sdk_rds/aio/client.py +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/aio/config.py b/clients/aws-sdk-rds/src/aws_sdk_rds/aio/config.py index 83ca01f32..720cb9a47 100644 --- a/clients/aws-sdk-rds/src/aws_sdk_rds/aio/config.py +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -25,7 +25,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/client.py b/clients/aws-sdk-rds/src/aws_sdk_rds/client.py index 854cde840..db6f16060 100644 --- a/clients/aws-sdk-rds/src/aws_sdk_rds/client.py +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/config.py b/clients/aws-sdk-rds/src/aws_sdk_rds/config.py index 4d922a8d8..0b552d924 100644 --- a/clients/aws-sdk-rds/src/aws_sdk_rds/config.py +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-rds/src/aws_sdk_rds/models.pyi b/clients/aws-sdk-rds/src/aws_sdk_rds/models.pyi index 264c28c32..ec160edcb 100644 --- a/clients/aws-sdk-rds/src/aws_sdk_rds/models.pyi +++ b/clients/aws-sdk-rds/src/aws_sdk_rds/models.pyi @@ -1,16 +1,680 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum from typing import Self from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AccountQuota as AccountQuota, + ActivityStreamMode as ActivityStreamMode, + ActivityStreamPolicyStatus as ActivityStreamPolicyStatus, + ActivityStreamStatus as ActivityStreamStatus, + AdditionalStorageVolume as AdditionalStorageVolume, + AdditionalStorageVolumeOutput as AdditionalStorageVolumeOutput, + AddRoleToDBClusterInput as AddRoleToDBClusterInput, + AddRoleToDBClusterOutput as AddRoleToDBClusterOutput, + AddRoleToDBInstanceInput as AddRoleToDBInstanceInput, + AddRoleToDBInstanceOutput as AddRoleToDBInstanceOutput, + AddSourceIdentifierToSubscriptionInput as AddSourceIdentifierToSubscriptionInput, + AddSourceIdentifierToSubscriptionOutput as AddSourceIdentifierToSubscriptionOutput, + AddTagsToResourceInput as AddTagsToResourceInput, + AddTagsToResourceOutput as AddTagsToResourceOutput, + ApplyMethod as ApplyMethod, + ApplyPendingMaintenanceActionInput as ApplyPendingMaintenanceActionInput, + ApplyPendingMaintenanceActionOutput as ApplyPendingMaintenanceActionOutput, + AuditPolicyState as AuditPolicyState, + AuthorizationAlreadyExistsFault as AuthorizationAlreadyExistsFault, + AuthorizationNotFoundFault as AuthorizationNotFoundFault, + AuthorizationQuotaExceededFault as AuthorizationQuotaExceededFault, + AuthorizeDBSecurityGroupIngressInput as AuthorizeDBSecurityGroupIngressInput, + AuthorizeDBSecurityGroupIngressOutput as AuthorizeDBSecurityGroupIngressOutput, + AuthScheme as AuthScheme, + AutomationMode as AutomationMode, + AvailabilityZone as AvailabilityZone, + AvailableAdditionalStorageVolumesOption as AvailableAdditionalStorageVolumesOption, + AvailableCapacityPerAvailabilityZone as AvailableCapacityPerAvailabilityZone, + AvailableProcessorFeature as AvailableProcessorFeature, + BacktrackDBClusterInput as BacktrackDBClusterInput, + BacktrackDBClusterOutput as BacktrackDBClusterOutput, + BackupPolicyNotFoundFault as BackupPolicyNotFoundFault, + BlueGreenDeployment as BlueGreenDeployment, + BlueGreenDeploymentAlreadyExistsFault as BlueGreenDeploymentAlreadyExistsFault, + BlueGreenDeploymentNotFoundFault as BlueGreenDeploymentNotFoundFault, + BlueGreenDeploymentTask as BlueGreenDeploymentTask, + CancelDBCapacityReservationInput as CancelDBCapacityReservationInput, + CancelDBCapacityReservationOutput as CancelDBCapacityReservationOutput, + CancelExportTaskInput as CancelExportTaskInput, + CancelExportTaskOutput as CancelExportTaskOutput, + Certificate as Certificate, + CertificateDetails as CertificateDetails, + CertificateNotFoundFault as CertificateNotFoundFault, + CharacterSet as CharacterSet, + ClientPasswordAuthType as ClientPasswordAuthType, + CloudwatchLogsExportConfiguration as CloudwatchLogsExportConfiguration, + ClusterPendingModifiedValues as ClusterPendingModifiedValues, + ClusterScalabilityType as ClusterScalabilityType, + ConnectionPoolConfiguration as ConnectionPoolConfiguration, + ConnectionPoolConfigurationInfo as ConnectionPoolConfigurationInfo, + ContextAttribute as ContextAttribute, + CopyDBClusterParameterGroupInput as CopyDBClusterParameterGroupInput, + CopyDBClusterParameterGroupOutput as CopyDBClusterParameterGroupOutput, + CopyDBClusterSnapshotInput as CopyDBClusterSnapshotInput, + CopyDBClusterSnapshotOutput as CopyDBClusterSnapshotOutput, + CopyDBParameterGroupInput as CopyDBParameterGroupInput, + CopyDBParameterGroupOutput as CopyDBParameterGroupOutput, + CopyDBSnapshotInput as CopyDBSnapshotInput, + CopyDBSnapshotOutput as CopyDBSnapshotOutput, + CopyOptionGroupInput as CopyOptionGroupInput, + CopyOptionGroupOutput as CopyOptionGroupOutput, + CreateBlueGreenDeploymentInput as CreateBlueGreenDeploymentInput, + CreateBlueGreenDeploymentOutput as CreateBlueGreenDeploymentOutput, + CreateCustomDBEngineVersionFault as CreateCustomDBEngineVersionFault, + CreateCustomDBEngineVersionInput as CreateCustomDBEngineVersionInput, + CreateCustomDBEngineVersionOutput as CreateCustomDBEngineVersionOutput, + CreateDBCapacityReservationInput as CreateDBCapacityReservationInput, + CreateDBCapacityReservationOutput as CreateDBCapacityReservationOutput, + CreateDBClusterEndpointInput as CreateDBClusterEndpointInput, + CreateDBClusterEndpointOutput as CreateDBClusterEndpointOutput, + CreateDBClusterInput as CreateDBClusterInput, + CreateDBClusterOutput as CreateDBClusterOutput, + CreateDBClusterParameterGroupInput as CreateDBClusterParameterGroupInput, + CreateDBClusterParameterGroupOutput as CreateDBClusterParameterGroupOutput, + CreateDBClusterSnapshotInput as CreateDBClusterSnapshotInput, + CreateDBClusterSnapshotOutput as CreateDBClusterSnapshotOutput, + CreateDBInstanceInput as CreateDBInstanceInput, + CreateDBInstanceOutput as CreateDBInstanceOutput, + CreateDBInstanceReadReplicaInput as CreateDBInstanceReadReplicaInput, + CreateDBInstanceReadReplicaOutput as CreateDBInstanceReadReplicaOutput, + CreateDBParameterGroupInput as CreateDBParameterGroupInput, + CreateDBParameterGroupOutput as CreateDBParameterGroupOutput, + CreateDBProxyEndpointInput as CreateDBProxyEndpointInput, + CreateDBProxyEndpointOutput as CreateDBProxyEndpointOutput, + CreateDBProxyInput as CreateDBProxyInput, + CreateDBProxyOutput as CreateDBProxyOutput, + CreateDBSecurityGroupInput as CreateDBSecurityGroupInput, + CreateDBSecurityGroupOutput as CreateDBSecurityGroupOutput, + CreateDBShardGroupInput as CreateDBShardGroupInput, + CreateDBShardGroupOutput as CreateDBShardGroupOutput, + CreateDBSnapshotInput as CreateDBSnapshotInput, + CreateDBSnapshotOutput as CreateDBSnapshotOutput, + CreateDBSubnetGroupInput as CreateDBSubnetGroupInput, + CreateDBSubnetGroupOutput as CreateDBSubnetGroupOutput, + CreateEventSubscriptionInput as CreateEventSubscriptionInput, + CreateEventSubscriptionOutput as CreateEventSubscriptionOutput, + CreateGlobalClusterInput as CreateGlobalClusterInput, + CreateGlobalClusterOutput as CreateGlobalClusterOutput, + CreateIntegrationInput as CreateIntegrationInput, + CreateIntegrationOutput as CreateIntegrationOutput, + CreateOptionGroupInput as CreateOptionGroupInput, + CreateOptionGroupOutput as CreateOptionGroupOutput, + CreateTenantDatabaseInput as CreateTenantDatabaseInput, + CreateTenantDatabaseOutput as CreateTenantDatabaseOutput, + CustomAvailabilityZoneNotFoundFault as CustomAvailabilityZoneNotFoundFault, + CustomDBEngineVersionAlreadyExistsFault as CustomDBEngineVersionAlreadyExistsFault, + CustomDBEngineVersionAMI as CustomDBEngineVersionAMI, + CustomDBEngineVersionNotFoundFault as CustomDBEngineVersionNotFoundFault, + CustomDBEngineVersionQuotaExceededFault as CustomDBEngineVersionQuotaExceededFault, + CustomEngineVersionStatus as CustomEngineVersionStatus, + DatabaseInsightsMode as DatabaseInsightsMode, + DBCapacityReservation as DBCapacityReservation, + DBCapacityReservationAlreadyExistsFault as DBCapacityReservationAlreadyExistsFault, + DBCapacityReservationCommitmentInfo as DBCapacityReservationCommitmentInfo, + DBCapacityReservationNotFoundFault as DBCapacityReservationNotFoundFault, + DBCapacityReservationState as DBCapacityReservationState, + DBCapacityReservationUnsupportedFault as DBCapacityReservationUnsupportedFault, + DBCluster as DBCluster, + DBClusterAlreadyExistsFault as DBClusterAlreadyExistsFault, + DBClusterAssociatedRole as DBClusterAssociatedRole, + DBClusterAutomatedBackup as DBClusterAutomatedBackup, + DBClusterAutomatedBackupNotFoundFault as DBClusterAutomatedBackupNotFoundFault, + DBClusterAutomatedBackupQuotaExceededFault as DBClusterAutomatedBackupQuotaExceededFault, + DBClusterBacktrack as DBClusterBacktrack, + DBClusterBacktrackNotFoundFault as DBClusterBacktrackNotFoundFault, + DBClusterEndpoint as DBClusterEndpoint, + DBClusterEndpointAlreadyExistsFault as DBClusterEndpointAlreadyExistsFault, + DBClusterEndpointNotFoundFault as DBClusterEndpointNotFoundFault, + DBClusterEndpointQuotaExceededFault as DBClusterEndpointQuotaExceededFault, + DBClusterMember as DBClusterMember, + DBClusterNotFoundFault as DBClusterNotFoundFault, + DBClusterOptionGroupStatus as DBClusterOptionGroupStatus, + DBClusterParameterGroup as DBClusterParameterGroup, + DBClusterParameterGroupNotFoundFault as DBClusterParameterGroupNotFoundFault, + DBClusterQuotaExceededFault as DBClusterQuotaExceededFault, + DBClusterRole as DBClusterRole, + DBClusterRoleAlreadyExistsFault as DBClusterRoleAlreadyExistsFault, + DBClusterRoleNotFoundFault as DBClusterRoleNotFoundFault, + DBClusterRoleQuotaExceededFault as DBClusterRoleQuotaExceededFault, + DBClusterSnapshot as DBClusterSnapshot, + DBClusterSnapshotAlreadyExistsFault as DBClusterSnapshotAlreadyExistsFault, + DBClusterSnapshotAttribute as DBClusterSnapshotAttribute, + DBClusterSnapshotAttributesResult as DBClusterSnapshotAttributesResult, + DBClusterSnapshotNotFoundFault as DBClusterSnapshotNotFoundFault, + DBClusterStatusInfo as DBClusterStatusInfo, + DBEngineVersion as DBEngineVersion, + DBInstance as DBInstance, + DBInstanceAlreadyExistsFault as DBInstanceAlreadyExistsFault, + DBInstanceAutomatedBackup as DBInstanceAutomatedBackup, + DBInstanceAutomatedBackupNotFoundFault as DBInstanceAutomatedBackupNotFoundFault, + DBInstanceAutomatedBackupQuotaExceededFault as DBInstanceAutomatedBackupQuotaExceededFault, + DBInstanceAutomatedBackupsReplication as DBInstanceAutomatedBackupsReplication, + DBInstanceNotFoundFault as DBInstanceNotFoundFault, + DBInstanceNotReadyFault as DBInstanceNotReadyFault, + DBInstanceRole as DBInstanceRole, + DBInstanceRoleAlreadyExistsFault as DBInstanceRoleAlreadyExistsFault, + DBInstanceRoleNotFoundFault as DBInstanceRoleNotFoundFault, + DBInstanceRoleQuotaExceededFault as DBInstanceRoleQuotaExceededFault, + DBInstanceStatusInfo as DBInstanceStatusInfo, + DBLogFileNotFoundFault as DBLogFileNotFoundFault, + DBMajorEngineVersion as DBMajorEngineVersion, + DBParameterGroup as DBParameterGroup, + DBParameterGroupAlreadyExistsFault as DBParameterGroupAlreadyExistsFault, + DBParameterGroupNotFoundFault as DBParameterGroupNotFoundFault, + DBParameterGroupQuotaExceededFault as DBParameterGroupQuotaExceededFault, + DBParameterGroupStatus as DBParameterGroupStatus, + DBProxy as DBProxy, + DBProxyAlreadyExistsFault as DBProxyAlreadyExistsFault, + DBProxyEndpoint as DBProxyEndpoint, + DBProxyEndpointAlreadyExistsFault as DBProxyEndpointAlreadyExistsFault, + DBProxyEndpointNotFoundFault as DBProxyEndpointNotFoundFault, + DBProxyEndpointQuotaExceededFault as DBProxyEndpointQuotaExceededFault, + DBProxyEndpointStatus as DBProxyEndpointStatus, + DBProxyEndpointTargetRole as DBProxyEndpointTargetRole, + DBProxyNotFoundFault as DBProxyNotFoundFault, + DBProxyQuotaExceededFault as DBProxyQuotaExceededFault, + DBProxyStatus as DBProxyStatus, + DBProxyTarget as DBProxyTarget, + DBProxyTargetAlreadyRegisteredFault as DBProxyTargetAlreadyRegisteredFault, + DBProxyTargetGroup as DBProxyTargetGroup, + DBProxyTargetGroupNotFoundFault as DBProxyTargetGroupNotFoundFault, + DBProxyTargetNotFoundFault as DBProxyTargetNotFoundFault, + DBRecommendation as DBRecommendation, + DBSecurityGroup as DBSecurityGroup, + DBSecurityGroupAlreadyExistsFault as DBSecurityGroupAlreadyExistsFault, + DBSecurityGroupMembership as DBSecurityGroupMembership, + DBSecurityGroupNotFoundFault as DBSecurityGroupNotFoundFault, + DBSecurityGroupNotSupportedFault as DBSecurityGroupNotSupportedFault, + DBSecurityGroupQuotaExceededFault as DBSecurityGroupQuotaExceededFault, + DBShardGroup as DBShardGroup, + DBShardGroupAlreadyExistsFault as DBShardGroupAlreadyExistsFault, + DBShardGroupNotFoundFault as DBShardGroupNotFoundFault, + DBSnapshot as DBSnapshot, + DBSnapshotAlreadyExistsFault as DBSnapshotAlreadyExistsFault, + DBSnapshotAttribute as DBSnapshotAttribute, + DBSnapshotAttributesResult as DBSnapshotAttributesResult, + DBSnapshotNotFoundFault as DBSnapshotNotFoundFault, + DBSnapshotTenantDatabase as DBSnapshotTenantDatabase, + DBSnapshotTenantDatabaseNotFoundFault as DBSnapshotTenantDatabaseNotFoundFault, + DBSubnetGroup as DBSubnetGroup, + DBSubnetGroupAlreadyExistsFault as DBSubnetGroupAlreadyExistsFault, + DBSubnetGroupDoesNotCoverEnoughAZs as DBSubnetGroupDoesNotCoverEnoughAZs, + DBSubnetGroupNotAllowedFault as DBSubnetGroupNotAllowedFault, + DBSubnetGroupNotFoundFault as DBSubnetGroupNotFoundFault, + DBSubnetGroupQuotaExceededFault as DBSubnetGroupQuotaExceededFault, + DBSubnetQuotaExceededFault as DBSubnetQuotaExceededFault, + DBUpgradeDependencyFailureFault as DBUpgradeDependencyFailureFault, + DefaultAuthScheme as DefaultAuthScheme, + DeleteBlueGreenDeploymentInput as DeleteBlueGreenDeploymentInput, + DeleteBlueGreenDeploymentOutput as DeleteBlueGreenDeploymentOutput, + DeleteCustomDBEngineVersionInput as DeleteCustomDBEngineVersionInput, + DeleteCustomDBEngineVersionOutput as DeleteCustomDBEngineVersionOutput, + DeleteDBClusterAutomatedBackupInput as DeleteDBClusterAutomatedBackupInput, + DeleteDBClusterAutomatedBackupOutput as DeleteDBClusterAutomatedBackupOutput, + DeleteDBClusterEndpointInput as DeleteDBClusterEndpointInput, + DeleteDBClusterEndpointOutput as DeleteDBClusterEndpointOutput, + DeleteDBClusterInput as DeleteDBClusterInput, + DeleteDBClusterOutput as DeleteDBClusterOutput, + DeleteDBClusterParameterGroupInput as DeleteDBClusterParameterGroupInput, + DeleteDBClusterParameterGroupOutput as DeleteDBClusterParameterGroupOutput, + DeleteDBClusterSnapshotInput as DeleteDBClusterSnapshotInput, + DeleteDBClusterSnapshotOutput as DeleteDBClusterSnapshotOutput, + DeleteDBInstanceAutomatedBackupInput as DeleteDBInstanceAutomatedBackupInput, + DeleteDBInstanceAutomatedBackupOutput as DeleteDBInstanceAutomatedBackupOutput, + DeleteDBInstanceInput as DeleteDBInstanceInput, + DeleteDBInstanceOutput as DeleteDBInstanceOutput, + DeleteDBParameterGroupInput as DeleteDBParameterGroupInput, + DeleteDBParameterGroupOutput as DeleteDBParameterGroupOutput, + DeleteDBProxyEndpointInput as DeleteDBProxyEndpointInput, + DeleteDBProxyEndpointOutput as DeleteDBProxyEndpointOutput, + DeleteDBProxyInput as DeleteDBProxyInput, + DeleteDBProxyOutput as DeleteDBProxyOutput, + DeleteDBSecurityGroupInput as DeleteDBSecurityGroupInput, + DeleteDBSecurityGroupOutput as DeleteDBSecurityGroupOutput, + DeleteDBShardGroupInput as DeleteDBShardGroupInput, + DeleteDBShardGroupOutput as DeleteDBShardGroupOutput, + DeleteDBSnapshotInput as DeleteDBSnapshotInput, + DeleteDBSnapshotOutput as DeleteDBSnapshotOutput, + DeleteDBSubnetGroupInput as DeleteDBSubnetGroupInput, + DeleteDBSubnetGroupOutput as DeleteDBSubnetGroupOutput, + DeleteEventSubscriptionInput as DeleteEventSubscriptionInput, + DeleteEventSubscriptionOutput as DeleteEventSubscriptionOutput, + DeleteGlobalClusterInput as DeleteGlobalClusterInput, + DeleteGlobalClusterOutput as DeleteGlobalClusterOutput, + DeleteIntegrationInput as DeleteIntegrationInput, + DeleteIntegrationOutput as DeleteIntegrationOutput, + DeleteOptionGroupInput as DeleteOptionGroupInput, + DeleteOptionGroupOutput as DeleteOptionGroupOutput, + DeleteTenantDatabaseInput as DeleteTenantDatabaseInput, + DeleteTenantDatabaseOutput as DeleteTenantDatabaseOutput, +) + +from ._private.models_1 import ( + DeregisterDBProxyTargetsInput as DeregisterDBProxyTargetsInput, + DeregisterDBProxyTargetsOutput as DeregisterDBProxyTargetsOutput, + DescribeAccountAttributesInput as DescribeAccountAttributesInput, + DescribeAccountAttributesOutput as DescribeAccountAttributesOutput, + DescribeBlueGreenDeploymentsInput as DescribeBlueGreenDeploymentsInput, + DescribeBlueGreenDeploymentsOutput as DescribeBlueGreenDeploymentsOutput, + DescribeCertificatesInput as DescribeCertificatesInput, + DescribeCertificatesOutput as DescribeCertificatesOutput, + DescribeDBCapacityReservationsInput as DescribeDBCapacityReservationsInput, + DescribeDBCapacityReservationsOutput as DescribeDBCapacityReservationsOutput, + DescribeDBClusterAutomatedBackupsInput as DescribeDBClusterAutomatedBackupsInput, + DescribeDBClusterAutomatedBackupsOutput as DescribeDBClusterAutomatedBackupsOutput, + DescribeDBClusterBacktracksInput as DescribeDBClusterBacktracksInput, + DescribeDBClusterBacktracksOutput as DescribeDBClusterBacktracksOutput, + DescribeDBClusterEndpointsInput as DescribeDBClusterEndpointsInput, + DescribeDBClusterEndpointsOutput as DescribeDBClusterEndpointsOutput, + DescribeDBClusterParameterGroupsInput as DescribeDBClusterParameterGroupsInput, + DescribeDBClusterParameterGroupsOutput as DescribeDBClusterParameterGroupsOutput, + DescribeDBClusterParametersInput as DescribeDBClusterParametersInput, + DescribeDBClusterParametersOutput as DescribeDBClusterParametersOutput, + DescribeDBClustersInput as DescribeDBClustersInput, + DescribeDBClusterSnapshotAttributesInput as DescribeDBClusterSnapshotAttributesInput, + DescribeDBClusterSnapshotAttributesOutput as DescribeDBClusterSnapshotAttributesOutput, + DescribeDBClusterSnapshotsInput as DescribeDBClusterSnapshotsInput, + DescribeDBClusterSnapshotsOutput as DescribeDBClusterSnapshotsOutput, + DescribeDBClustersOutput as DescribeDBClustersOutput, + DescribeDBEngineVersionsInput as DescribeDBEngineVersionsInput, + DescribeDBEngineVersionsOutput as DescribeDBEngineVersionsOutput, + DescribeDBInstanceAutomatedBackupsInput as DescribeDBInstanceAutomatedBackupsInput, + DescribeDBInstanceAutomatedBackupsOutput as DescribeDBInstanceAutomatedBackupsOutput, + DescribeDBInstancesInput as DescribeDBInstancesInput, + DescribeDBInstancesOutput as DescribeDBInstancesOutput, + DescribeDBLogFilesDetails as DescribeDBLogFilesDetails, + DescribeDBLogFilesInput as DescribeDBLogFilesInput, + DescribeDBLogFilesOutput as DescribeDBLogFilesOutput, + DescribeDBMajorEngineVersionsInput as DescribeDBMajorEngineVersionsInput, + DescribeDBMajorEngineVersionsOutput as DescribeDBMajorEngineVersionsOutput, + DescribeDBParameterGroupsInput as DescribeDBParameterGroupsInput, + DescribeDBParameterGroupsOutput as DescribeDBParameterGroupsOutput, + DescribeDBParametersInput as DescribeDBParametersInput, + DescribeDBParametersOutput as DescribeDBParametersOutput, + DescribeDBProxiesInput as DescribeDBProxiesInput, + DescribeDBProxiesOutput as DescribeDBProxiesOutput, + DescribeDBProxyEndpointsInput as DescribeDBProxyEndpointsInput, + DescribeDBProxyEndpointsOutput as DescribeDBProxyEndpointsOutput, + DescribeDBProxyTargetGroupsInput as DescribeDBProxyTargetGroupsInput, + DescribeDBProxyTargetGroupsOutput as DescribeDBProxyTargetGroupsOutput, + DescribeDBProxyTargetsInput as DescribeDBProxyTargetsInput, + DescribeDBProxyTargetsOutput as DescribeDBProxyTargetsOutput, + DescribeDBRecommendationsInput as DescribeDBRecommendationsInput, + DescribeDBRecommendationsOutput as DescribeDBRecommendationsOutput, + DescribeDBSecurityGroupsInput as DescribeDBSecurityGroupsInput, + DescribeDBSecurityGroupsOutput as DescribeDBSecurityGroupsOutput, + DescribeDBShardGroupsInput as DescribeDBShardGroupsInput, + DescribeDBShardGroupsOutput as DescribeDBShardGroupsOutput, + DescribeDBSnapshotAttributesInput as DescribeDBSnapshotAttributesInput, + DescribeDBSnapshotAttributesOutput as DescribeDBSnapshotAttributesOutput, + DescribeDBSnapshotsInput as DescribeDBSnapshotsInput, + DescribeDBSnapshotsOutput as DescribeDBSnapshotsOutput, + DescribeDBSnapshotTenantDatabasesInput as DescribeDBSnapshotTenantDatabasesInput, + DescribeDBSnapshotTenantDatabasesOutput as DescribeDBSnapshotTenantDatabasesOutput, + DescribeDBSubnetGroupsInput as DescribeDBSubnetGroupsInput, + DescribeDBSubnetGroupsOutput as DescribeDBSubnetGroupsOutput, + DescribeEngineDefaultClusterParametersInput as DescribeEngineDefaultClusterParametersInput, + DescribeEngineDefaultClusterParametersOutput as DescribeEngineDefaultClusterParametersOutput, + DescribeEngineDefaultParametersInput as DescribeEngineDefaultParametersInput, + DescribeEngineDefaultParametersOutput as DescribeEngineDefaultParametersOutput, + DescribeEventCategoriesInput as DescribeEventCategoriesInput, + DescribeEventCategoriesOutput as DescribeEventCategoriesOutput, + DescribeEventsInput as DescribeEventsInput, + DescribeEventsOutput as DescribeEventsOutput, + DescribeEventSubscriptionsInput as DescribeEventSubscriptionsInput, + DescribeEventSubscriptionsOutput as DescribeEventSubscriptionsOutput, + DescribeExportTasksInput as DescribeExportTasksInput, + DescribeExportTasksOutput as DescribeExportTasksOutput, + DescribeGlobalClustersInput as DescribeGlobalClustersInput, + DescribeGlobalClustersOutput as DescribeGlobalClustersOutput, + DescribeIntegrationsInput as DescribeIntegrationsInput, + DescribeIntegrationsOutput as DescribeIntegrationsOutput, + DescribeOptionGroupOptionsInput as DescribeOptionGroupOptionsInput, + DescribeOptionGroupOptionsOutput as DescribeOptionGroupOptionsOutput, + DescribeOptionGroupsInput as DescribeOptionGroupsInput, + DescribeOptionGroupsOutput as DescribeOptionGroupsOutput, + DescribeOrderableDBInstanceOptionsInput as DescribeOrderableDBInstanceOptionsInput, + DescribeOrderableDBInstanceOptionsOutput as DescribeOrderableDBInstanceOptionsOutput, + DescribePendingMaintenanceActionsInput as DescribePendingMaintenanceActionsInput, + DescribePendingMaintenanceActionsOutput as DescribePendingMaintenanceActionsOutput, + DescribeReservedDBInstancesInput as DescribeReservedDBInstancesInput, + DescribeReservedDBInstancesOfferingsInput as DescribeReservedDBInstancesOfferingsInput, + DescribeReservedDBInstancesOfferingsOutput as DescribeReservedDBInstancesOfferingsOutput, + DescribeReservedDBInstancesOutput as DescribeReservedDBInstancesOutput, + DescribeServerlessV2PlatformVersionsInput as DescribeServerlessV2PlatformVersionsInput, + DescribeServerlessV2PlatformVersionsOutput as DescribeServerlessV2PlatformVersionsOutput, + DescribeSourceRegionsInput as DescribeSourceRegionsInput, + DescribeSourceRegionsOutput as DescribeSourceRegionsOutput, + DescribeTenantDatabasesInput as DescribeTenantDatabasesInput, + DescribeTenantDatabasesOutput as DescribeTenantDatabasesOutput, + DescribeValidDBInstanceModificationsInput as DescribeValidDBInstanceModificationsInput, + DescribeValidDBInstanceModificationsOutput as DescribeValidDBInstanceModificationsOutput, + DisableHttpEndpointInput as DisableHttpEndpointInput, + DisableHttpEndpointOutput as DisableHttpEndpointOutput, + DocLink as DocLink, + DomainMembership as DomainMembership, + DomainNotFoundFault as DomainNotFoundFault, + DoubleRange as DoubleRange, + DownloadDBLogFilePortionInput as DownloadDBLogFilePortionInput, + DownloadDBLogFilePortionOutput as DownloadDBLogFilePortionOutput, + Ec2ImagePropertiesNotSupportedFault as Ec2ImagePropertiesNotSupportedFault, + EC2SecurityGroup as EC2SecurityGroup, + EnableHttpEndpointInput as EnableHttpEndpointInput, + EnableHttpEndpointOutput as EnableHttpEndpointOutput, + EndDateType as EndDateType, + Endpoint as Endpoint, + EndpointNetworkType as EndpointNetworkType, + EngineDefaults as EngineDefaults, + EngineFamily as EngineFamily, + Event as Event, + EventCategoriesMap as EventCategoriesMap, + EventSubscription as EventSubscription, + EventSubscriptionQuotaExceededFault as EventSubscriptionQuotaExceededFault, + ExportSourceType as ExportSourceType, + ExportTask as ExportTask, + ExportTaskAlreadyExistsFault as ExportTaskAlreadyExistsFault, + ExportTaskNotFoundFault as ExportTaskNotFoundFault, + FailoverDBClusterInput as FailoverDBClusterInput, + FailoverDBClusterOutput as FailoverDBClusterOutput, + FailoverGlobalClusterInput as FailoverGlobalClusterInput, + FailoverGlobalClusterOutput as FailoverGlobalClusterOutput, + FailoverState as FailoverState, + FailoverStatus as FailoverStatus, + Filter as Filter, + GlobalCluster as GlobalCluster, + GlobalClusterAlreadyExistsFault as GlobalClusterAlreadyExistsFault, + GlobalClusterMember as GlobalClusterMember, + GlobalClusterMemberSynchronizationStatus as GlobalClusterMemberSynchronizationStatus, + GlobalClusterNotFoundFault as GlobalClusterNotFoundFault, + GlobalClusterQuotaExceededFault as GlobalClusterQuotaExceededFault, + IAMAuthMode as IAMAuthMode, + IamRoleMissingPermissionsFault as IamRoleMissingPermissionsFault, + IamRoleNotFoundFault as IamRoleNotFoundFault, + InstanceQuotaExceededFault as InstanceQuotaExceededFault, + InsufficientAvailableIPsInSubnetFault as InsufficientAvailableIPsInSubnetFault, + InsufficientDBClusterCapacityFault as InsufficientDBClusterCapacityFault, + InsufficientDBInstanceCapacityFault as InsufficientDBInstanceCapacityFault, + InsufficientStorageClusterCapacityFault as InsufficientStorageClusterCapacityFault, + Integration as Integration, + IntegrationAlreadyExistsFault as IntegrationAlreadyExistsFault, + IntegrationConflictOperationFault as IntegrationConflictOperationFault, + IntegrationError as IntegrationError, + IntegrationNotFoundFault as IntegrationNotFoundFault, + IntegrationQuotaExceededFault as IntegrationQuotaExceededFault, + IntegrationStatus as IntegrationStatus, + InvalidBlueGreenDeploymentStateFault as InvalidBlueGreenDeploymentStateFault, + InvalidCustomDBEngineVersionStateFault as InvalidCustomDBEngineVersionStateFault, + InvalidDBCapacityReservationStateFault as InvalidDBCapacityReservationStateFault, + InvalidDBClusterAutomatedBackupStateFault as InvalidDBClusterAutomatedBackupStateFault, + InvalidDBClusterCapacityFault as InvalidDBClusterCapacityFault, + InvalidDBClusterEndpointStateFault as InvalidDBClusterEndpointStateFault, + InvalidDBClusterSnapshotStateFault as InvalidDBClusterSnapshotStateFault, + InvalidDBClusterStateFault as InvalidDBClusterStateFault, + InvalidDBInstanceAutomatedBackupStateFault as InvalidDBInstanceAutomatedBackupStateFault, + InvalidDBInstanceStateFault as InvalidDBInstanceStateFault, + InvalidDBParameterGroupStateFault as InvalidDBParameterGroupStateFault, + InvalidDBProxyEndpointStateFault as InvalidDBProxyEndpointStateFault, + InvalidDBProxyStateFault as InvalidDBProxyStateFault, + InvalidDBSecurityGroupStateFault as InvalidDBSecurityGroupStateFault, + InvalidDBShardGroupStateFault as InvalidDBShardGroupStateFault, + InvalidDBSnapshotStateFault as InvalidDBSnapshotStateFault, + InvalidDBSubnetGroupFault as InvalidDBSubnetGroupFault, + InvalidDBSubnetGroupStateFault as InvalidDBSubnetGroupStateFault, + InvalidDBSubnetStateFault as InvalidDBSubnetStateFault, + InvalidEventSubscriptionStateFault as InvalidEventSubscriptionStateFault, + InvalidExportOnlyFault as InvalidExportOnlyFault, + InvalidExportSourceStateFault as InvalidExportSourceStateFault, + InvalidExportTaskStateFault as InvalidExportTaskStateFault, + InvalidGlobalClusterStateFault as InvalidGlobalClusterStateFault, + InvalidIntegrationStateFault as InvalidIntegrationStateFault, + InvalidOptionGroupStateFault as InvalidOptionGroupStateFault, + InvalidResourceStateFault as InvalidResourceStateFault, + InvalidRestoreFault as InvalidRestoreFault, + InvalidS3BucketFault as InvalidS3BucketFault, + InvalidSubnet as InvalidSubnet, + InvalidVPCNetworkStateFault as InvalidVPCNetworkStateFault, + IPRange as IPRange, + IssueDetails as IssueDetails, + KMSKeyNotAccessibleFault as KMSKeyNotAccessibleFault, + LifecycleSupportName as LifecycleSupportName, + LimitlessDatabase as LimitlessDatabase, + LimitlessDatabaseStatus as LimitlessDatabaseStatus, + ListTagsForResourceInput as ListTagsForResourceInput, + ListTagsForResourceOutput as ListTagsForResourceOutput, + LocalWriteForwardingStatus as LocalWriteForwardingStatus, + MasterUserAuthenticationType as MasterUserAuthenticationType, + MasterUserSecret as MasterUserSecret, + MaxDBShardGroupLimitReached as MaxDBShardGroupLimitReached, + Metric as Metric, + MetricQuery as MetricQuery, + MetricReference as MetricReference, + MinimumEngineVersionPerAllowedValue as MinimumEngineVersionPerAllowedValue, + ModifyActivityStreamInput as ModifyActivityStreamInput, + ModifyActivityStreamOutput as ModifyActivityStreamOutput, + ModifyAdditionalStorageVolume as ModifyAdditionalStorageVolume, + ModifyCertificatesInput as ModifyCertificatesInput, + ModifyCertificatesOutput as ModifyCertificatesOutput, + ModifyCurrentDBClusterCapacityInput as ModifyCurrentDBClusterCapacityInput, + ModifyCurrentDBClusterCapacityOutput as ModifyCurrentDBClusterCapacityOutput, + ModifyCustomDBEngineVersionInput as ModifyCustomDBEngineVersionInput, + ModifyCustomDBEngineVersionOutput as ModifyCustomDBEngineVersionOutput, + ModifyDBCapacityReservationInput as ModifyDBCapacityReservationInput, + ModifyDBCapacityReservationOutput as ModifyDBCapacityReservationOutput, + ModifyDBClusterEndpointInput as ModifyDBClusterEndpointInput, + ModifyDBClusterEndpointOutput as ModifyDBClusterEndpointOutput, + ModifyDBClusterInput as ModifyDBClusterInput, + ModifyDBClusterOutput as ModifyDBClusterOutput, + ModifyDBClusterParameterGroupInput as ModifyDBClusterParameterGroupInput, + ModifyDBClusterParameterGroupOutput as ModifyDBClusterParameterGroupOutput, + ModifyDBClusterSnapshotAttributeInput as ModifyDBClusterSnapshotAttributeInput, + ModifyDBClusterSnapshotAttributeOutput as ModifyDBClusterSnapshotAttributeOutput, + ModifyDBInstanceInput as ModifyDBInstanceInput, + ModifyDBInstanceOutput as ModifyDBInstanceOutput, + ModifyDBParameterGroupInput as ModifyDBParameterGroupInput, + ModifyDBParameterGroupOutput as ModifyDBParameterGroupOutput, + ModifyDBProxyEndpointInput as ModifyDBProxyEndpointInput, + ModifyDBProxyEndpointOutput as ModifyDBProxyEndpointOutput, + ModifyDBProxyInput as ModifyDBProxyInput, + ModifyDBProxyOutput as ModifyDBProxyOutput, + ModifyDBProxyTargetGroupInput as ModifyDBProxyTargetGroupInput, + ModifyDBProxyTargetGroupOutput as ModifyDBProxyTargetGroupOutput, + ModifyDBRecommendationInput as ModifyDBRecommendationInput, + ModifyDBRecommendationOutput as ModifyDBRecommendationOutput, + ModifyDBShardGroupInput as ModifyDBShardGroupInput, + ModifyDBShardGroupOutput as ModifyDBShardGroupOutput, + ModifyDBSnapshotAttributeInput as ModifyDBSnapshotAttributeInput, + ModifyDBSnapshotAttributeOutput as ModifyDBSnapshotAttributeOutput, + ModifyDBSnapshotInput as ModifyDBSnapshotInput, + ModifyDBSnapshotOutput as ModifyDBSnapshotOutput, + ModifyDBSubnetGroupInput as ModifyDBSubnetGroupInput, + ModifyDBSubnetGroupOutput as ModifyDBSubnetGroupOutput, + ModifyEventSubscriptionInput as ModifyEventSubscriptionInput, + ModifyEventSubscriptionOutput as ModifyEventSubscriptionOutput, + ModifyGlobalClusterInput as ModifyGlobalClusterInput, + ModifyGlobalClusterOutput as ModifyGlobalClusterOutput, + ModifyIntegrationInput as ModifyIntegrationInput, + ModifyIntegrationOutput as ModifyIntegrationOutput, + ModifyOptionGroupInput as ModifyOptionGroupInput, + ModifyOptionGroupOutput as ModifyOptionGroupOutput, + ModifyTenantDatabaseInput as ModifyTenantDatabaseInput, + ModifyTenantDatabaseOutput as ModifyTenantDatabaseOutput, + NetworkTypeNotSupported as NetworkTypeNotSupported, + Option as Option, +) + +from ._private.models_2 import ( + OptionConfiguration as OptionConfiguration, + OptionGroup as OptionGroup, + OptionGroupAlreadyExistsFault as OptionGroupAlreadyExistsFault, + OptionGroupMembership as OptionGroupMembership, + OptionGroupNotFoundFault as OptionGroupNotFoundFault, + OptionGroupOption as OptionGroupOption, + OptionGroupOptionSetting as OptionGroupOptionSetting, + OptionGroupQuotaExceededFault as OptionGroupQuotaExceededFault, + OptionSetting as OptionSetting, + OptionVersion as OptionVersion, + OrderableDBInstanceOption as OrderableDBInstanceOption, + Outpost as Outpost, + Parameter as Parameter, + PendingCloudwatchLogsExports as PendingCloudwatchLogsExports, + PendingMaintenanceAction as PendingMaintenanceAction, + PendingModifiedValues as PendingModifiedValues, + PerformanceInsightsMetricDimensionGroup as PerformanceInsightsMetricDimensionGroup, + PerformanceInsightsMetricQuery as PerformanceInsightsMetricQuery, + PerformanceIssueDetails as PerformanceIssueDetails, + PointInTimeRestoreNotEnabledFault as PointInTimeRestoreNotEnabledFault, + ProcessorFeature as ProcessorFeature, + PromoteReadReplicaDBClusterInput as PromoteReadReplicaDBClusterInput, + PromoteReadReplicaDBClusterOutput as PromoteReadReplicaDBClusterOutput, + PromoteReadReplicaInput as PromoteReadReplicaInput, + PromoteReadReplicaOutput as PromoteReadReplicaOutput, + ProvisionedIopsNotAvailableInAZFault as ProvisionedIopsNotAvailableInAZFault, + PurchaseReservedDBInstancesOfferingInput as PurchaseReservedDBInstancesOfferingInput, + PurchaseReservedDBInstancesOfferingOutput as PurchaseReservedDBInstancesOfferingOutput, + Range as Range, + RdsCustomClusterConfiguration as RdsCustomClusterConfiguration, + RebootDBClusterInput as RebootDBClusterInput, + RebootDBClusterOutput as RebootDBClusterOutput, + RebootDBInstanceInput as RebootDBInstanceInput, + RebootDBInstanceOutput as RebootDBInstanceOutput, + RebootDBShardGroupInput as RebootDBShardGroupInput, + RebootDBShardGroupOutput as RebootDBShardGroupOutput, + RecommendedAction as RecommendedAction, + RecommendedActionParameter as RecommendedActionParameter, + RecommendedActionUpdate as RecommendedActionUpdate, + RecurringCharge as RecurringCharge, + ReferenceDetails as ReferenceDetails, + RegisterDBProxyTargetsInput as RegisterDBProxyTargetsInput, + RegisterDBProxyTargetsOutput as RegisterDBProxyTargetsOutput, + RemoveFromGlobalClusterInput as RemoveFromGlobalClusterInput, + RemoveFromGlobalClusterOutput as RemoveFromGlobalClusterOutput, + RemoveRoleFromDBClusterInput as RemoveRoleFromDBClusterInput, + RemoveRoleFromDBClusterOutput as RemoveRoleFromDBClusterOutput, + RemoveRoleFromDBInstanceInput as RemoveRoleFromDBInstanceInput, + RemoveRoleFromDBInstanceOutput as RemoveRoleFromDBInstanceOutput, + RemoveSourceIdentifierFromSubscriptionInput as RemoveSourceIdentifierFromSubscriptionInput, + RemoveSourceIdentifierFromSubscriptionOutput as RemoveSourceIdentifierFromSubscriptionOutput, + RemoveTagsFromResourceInput as RemoveTagsFromResourceInput, + RemoveTagsFromResourceOutput as RemoveTagsFromResourceOutput, + ReplicaMode as ReplicaMode, + ReservedDBInstance as ReservedDBInstance, + ReservedDBInstanceAlreadyExistsFault as ReservedDBInstanceAlreadyExistsFault, + ReservedDBInstanceNotFoundFault as ReservedDBInstanceNotFoundFault, + ReservedDBInstanceQuotaExceededFault as ReservedDBInstanceQuotaExceededFault, + ReservedDBInstancesOffering as ReservedDBInstancesOffering, + ReservedDBInstancesOfferingNotFoundFault as ReservedDBInstancesOfferingNotFoundFault, + ResetDBClusterParameterGroupInput as ResetDBClusterParameterGroupInput, + ResetDBClusterParameterGroupOutput as ResetDBClusterParameterGroupOutput, + ResetDBParameterGroupInput as ResetDBParameterGroupInput, + ResetDBParameterGroupOutput as ResetDBParameterGroupOutput, + ResourceNotFoundFault as ResourceNotFoundFault, + ResourcePendingMaintenanceActions as ResourcePendingMaintenanceActions, + RestoreDBClusterFromS3Input as RestoreDBClusterFromS3Input, + RestoreDBClusterFromS3Output as RestoreDBClusterFromS3Output, + RestoreDBClusterFromSnapshotInput as RestoreDBClusterFromSnapshotInput, + RestoreDBClusterFromSnapshotOutput as RestoreDBClusterFromSnapshotOutput, + RestoreDBClusterToPointInTimeInput as RestoreDBClusterToPointInTimeInput, + RestoreDBClusterToPointInTimeOutput as RestoreDBClusterToPointInTimeOutput, + RestoreDBInstanceFromDBSnapshotInput as RestoreDBInstanceFromDBSnapshotInput, + RestoreDBInstanceFromDBSnapshotOutput as RestoreDBInstanceFromDBSnapshotOutput, + RestoreDBInstanceFromS3Input as RestoreDBInstanceFromS3Input, + RestoreDBInstanceFromS3Output as RestoreDBInstanceFromS3Output, + RestoreDBInstanceToPointInTimeInput as RestoreDBInstanceToPointInTimeInput, + RestoreDBInstanceToPointInTimeOutput as RestoreDBInstanceToPointInTimeOutput, + RestoreWindow as RestoreWindow, + RevokeDBSecurityGroupIngressInput as RevokeDBSecurityGroupIngressInput, + RevokeDBSecurityGroupIngressOutput as RevokeDBSecurityGroupIngressOutput, + ScalarReferenceDetails as ScalarReferenceDetails, + ScalingConfiguration as ScalingConfiguration, + ScalingConfigurationInfo as ScalingConfigurationInfo, + ServerlessV2FeaturesSupport as ServerlessV2FeaturesSupport, + ServerlessV2PlatformVersionInfo as ServerlessV2PlatformVersionInfo, + ServerlessV2ScalingConfiguration as ServerlessV2ScalingConfiguration, + ServerlessV2ScalingConfigurationInfo as ServerlessV2ScalingConfigurationInfo, + SharedSnapshotQuotaExceededFault as SharedSnapshotQuotaExceededFault, + SnapshotQuotaExceededFault as SnapshotQuotaExceededFault, + SNSInvalidTopicFault as SNSInvalidTopicFault, + SNSNoAuthorizationFault as SNSNoAuthorizationFault, + SNSTopicArnNotFoundFault as SNSTopicArnNotFoundFault, + SourceClusterNotSupportedFault as SourceClusterNotSupportedFault, + SourceDatabaseNotSupportedFault as SourceDatabaseNotSupportedFault, + SourceNotFoundFault as SourceNotFoundFault, + SourceRegion as SourceRegion, + SourceType as SourceType, + StartActivityStreamInput as StartActivityStreamInput, + StartActivityStreamOutput as StartActivityStreamOutput, + StartDBClusterInput as StartDBClusterInput, + StartDBClusterOutput as StartDBClusterOutput, + StartDBInstanceAutomatedBackupsReplicationInput as StartDBInstanceAutomatedBackupsReplicationInput, + StartDBInstanceAutomatedBackupsReplicationOutput as StartDBInstanceAutomatedBackupsReplicationOutput, + StartDBInstanceInput as StartDBInstanceInput, + StartDBInstanceOutput as StartDBInstanceOutput, + StartExportTaskInput as StartExportTaskInput, + StartExportTaskOutput as StartExportTaskOutput, + StopActivityStreamInput as StopActivityStreamInput, + StopActivityStreamOutput as StopActivityStreamOutput, + StopDBClusterInput as StopDBClusterInput, + StopDBClusterOutput as StopDBClusterOutput, + StopDBInstanceAutomatedBackupsReplicationInput as StopDBInstanceAutomatedBackupsReplicationInput, + StopDBInstanceAutomatedBackupsReplicationOutput as StopDBInstanceAutomatedBackupsReplicationOutput, + StopDBInstanceInput as StopDBInstanceInput, + StopDBInstanceOutput as StopDBInstanceOutput, + StorageEncryptionType as StorageEncryptionType, + StorageQuotaExceededFault as StorageQuotaExceededFault, + StorageTypeNotAvailableFault as StorageTypeNotAvailableFault, + StorageTypeNotSupportedFault as StorageTypeNotSupportedFault, + Subnet as Subnet, + SubnetAlreadyInUse as SubnetAlreadyInUse, + SubscriptionAlreadyExistFault as SubscriptionAlreadyExistFault, + SubscriptionCategoryNotFoundFault as SubscriptionCategoryNotFoundFault, + SubscriptionNotFoundFault as SubscriptionNotFoundFault, + SupportedEngineLifecycle as SupportedEngineLifecycle, + SwitchoverBlueGreenDeploymentInput as SwitchoverBlueGreenDeploymentInput, + SwitchoverBlueGreenDeploymentOutput as SwitchoverBlueGreenDeploymentOutput, + SwitchoverDetail as SwitchoverDetail, + SwitchoverGlobalClusterInput as SwitchoverGlobalClusterInput, + SwitchoverGlobalClusterOutput as SwitchoverGlobalClusterOutput, + SwitchoverReadReplicaInput as SwitchoverReadReplicaInput, + SwitchoverReadReplicaOutput as SwitchoverReadReplicaOutput, + Tag as Tag, + TagSpecification as TagSpecification, + TargetConnectionNetworkType as TargetConnectionNetworkType, + TargetHealth as TargetHealth, + TargetHealthReason as TargetHealthReason, + TargetResourceConfiguration as TargetResourceConfiguration, + TargetRole as TargetRole, + TargetState as TargetState, + TargetType as TargetType, + TenantDatabase as TenantDatabase, + TenantDatabaseAlreadyExistsFault as TenantDatabaseAlreadyExistsFault, + TenantDatabaseNotFoundFault as TenantDatabaseNotFoundFault, + TenantDatabasePendingModifiedValues as TenantDatabasePendingModifiedValues, + TenantDatabaseQuotaExceededFault as TenantDatabaseQuotaExceededFault, + Timezone as Timezone, + UnsupportedDBEngineVersionFault as UnsupportedDBEngineVersionFault, + UpgradeRolloutOrder as UpgradeRolloutOrder, + UpgradeTarget as UpgradeTarget, + UserAuthConfig as UserAuthConfig, + UserAuthConfigInfo as UserAuthConfigInfo, + ValidAdditionalStorageOptions as ValidAdditionalStorageOptions, + ValidDBInstanceModificationsMessage as ValidDBInstanceModificationsMessage, + ValidStorageOptions as ValidStorageOptions, + ValidVolumeOptions as ValidVolumeOptions, + VpcEncryptionControlViolationException as VpcEncryptionControlViolationException, + VpcSecurityGroupMembership as VpcSecurityGroupMembership, + WriteForwardingStatus as WriteForwardingStatus, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -26,29671 +690,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AccountQuota(_SerdeShape): - """ - Describes a quota for an Amazon Web Services account. - - The following are account quotas: - - - `AllocatedStorage` - The total allocated storage per account, in GiB. - The used value is the total allocated storage in the account, in GiB. - - - `AuthorizationsPerDBSecurityGroup` - The number of ingress rules per - DB security group. The used value is the highest number of ingress - rules in a DB security group in the account. Other DB security groups - in the account might have a lower number of ingress rules. - - - `CustomEndpointsPerDBCluster` - The number of custom endpoints per DB - cluster. The used value is the highest number of custom endpoints in a - DB clusters in the account. Other DB clusters in the account might - have a lower number of custom endpoints. - - - `DBClusterParameterGroups` - The number of DB cluster parameter groups - per account, excluding default parameter groups. The used value is the - count of nondefault DB cluster parameter groups in the account. - - - `DBClusterRoles` - The number of associated Amazon Web Services - Identity and Access Management (IAM) roles per DB cluster. The used - value is the highest number of associated IAM roles for a DB cluster - in the account. Other DB clusters in the account might have a lower - number of associated IAM roles. - - - `DBClusters` - The number of DB clusters per account. The used value - is the count of DB clusters in the account. - - - `DBInstanceRoles` - The number of associated IAM roles per DB - instance. The used value is the highest number of associated IAM roles - for a DB instance in the account. Other DB instances in the account - might have a lower number of associated IAM roles. - - - `DBInstances` - The number of DB instances per account. The used value - is the count of the DB instances in the account. - - Amazon RDS DB instances, Amazon Aurora DB instances, Amazon Neptune - instances, and Amazon DocumentDB instances apply to this quota. - - - `DBParameterGroups` - The number of DB parameter groups per account, - excluding default parameter groups. The used value is the count of - nondefault DB parameter groups in the account. - - - `DBSecurityGroups` - The number of DB security groups (not VPC - security groups) per account, excluding the default security group. - The used value is the count of nondefault DB security groups in the - account. - - - `DBSubnetGroups` - The number of DB subnet groups per account. The - used value is the count of the DB subnet groups in the account. - - - `EventSubscriptions` - The number of event subscriptions per account. - The used value is the count of the event subscriptions in the account. - - - `ManualClusterSnapshots` - The number of manual DB cluster snapshots - per account. The used value is the count of the manual DB cluster - snapshots in the account. - - - `ManualSnapshots` - The number of manual DB instance snapshots per - account. The used value is the count of the manual DB instance - snapshots in the account. - - - `OptionGroups` - The number of DB option groups per account, excluding - default option groups. The used value is the count of nondefault DB - option groups in the account. - - - `ReadReplicasPerMaster` - The number of read replicas per DB instance. - The used value is the highest number of read replicas for a DB - instance in the account. Other DB instances in the account might have - a lower number of read replicas. - - - `ReservedDBInstances` - The number of reserved DB instances per - account. The used value is the count of the active reserved DB - instances in the account. - - - `SubnetsPerDBSubnetGroup` - The number of subnets per DB subnet group. - The used value is highest number of subnets for a DB subnet group in - the account. Other DB subnet groups in the account might have a lower - number of subnets. - - For more information, see [Quotas for Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html) - in the *Amazon RDS User Guide* and [Quotas for Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_Limits.html) - in the *Amazon Aurora User Guide*. - """ - - account_quota_name: str | None = ... - """The name of the Amazon RDS quota for this Amazon Web Services account.""" - used: int | None = ... - """The amount currently used toward the quota maximum.""" - max: int | None = ... - """The maximum allowed value for the quota.""" - -class ActivityStreamMode(UnknownEnumMixin, StrEnum): - SYNC = "sync" - ASYNC_ = "async" - -class ActivityStreamPolicyStatus(UnknownEnumMixin, StrEnum): - LOCKED = "locked" - UNLOCKED = "unlocked" - LOCKING_POLICY = "locking-policy" - UNLOCKING_POLICY = "unlocking-policy" - -class ActivityStreamStatus(UnknownEnumMixin, StrEnum): - STOPPED = "stopped" - STARTING = "starting" - STARTED = "started" - STOPPING = "stopping" - -@dataclass(kw_only=True) -class AdditionalStorageVolume(_SerdeShape): - """ - Contains details about an additional storage volume for a DB instance. - RDS support additional storage volumes for RDS for Oracle and RDS for - SQL Server. - """ - - volume_name: str | None = ... - """ - The name of the additional storage volume. - - Valid Values: `RDSDBDATA2 | RDSDBDATA3 | RDSDBDATA4` - """ - allocated_storage: int | None = ... - """ - The amount of storage allocated for the additional storage volume, in - gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 - TiB). - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS) provisioned for the - additional storage volume. - """ - max_allocated_storage: int | None = ... - """ - The upper limit in gibibytes (GiB) to which RDS can automatically scale - the storage of the additional storage volume. - """ - storage_throughput: int | None = ... - """ - The storage throughput value for the additional storage volume, in - mebibytes per second (MiBps). This setting applies only to the General - Purpose SSD (`gp3`) storage type. - """ - storage_type: str | None = ... - """ - The storage type for the additional storage volume. - - Valid Values: `GP3 | IO2` - """ - -@dataclass(kw_only=True) -class AdditionalStorageVolumeOutput(_SerdeShape): - """ - Contains information about an additional storage volume for a DB - instance. - """ - - volume_name: str | None = ... - """The name of the additional storage volume.""" - storage_volume_status: str | None = ... - """ - The status of the additional storage volume. - - Valid Values: - `ACTIVE | CREATING | DELETING | MODIFYING | NOT-IN-USE | STORAGE-OPTIMIZATION | VOLUME-FULL` - """ - storage_operation_status: str | None = ... - """ - The status of an in-progress storage operation on the additional storage - volume. This field appears only while a storage operation is in - progress. It isn't present when no storage operation is active. - Possible values: - - - `Initializing` - The volume is initializing from a snapshot, such as - during a snapshot restore, point-in-time restore, read replica - creation, or blue/green deployment. Performance can be lower than - provisioned until initialization completes. - - - `Optimizing` - The volume is optimizing following a storage scaling or - modification operation. - """ - storage_operation_percent_progress: int | None = ... - """ - The percentage of the in-progress storage operation on the additional - storage volume that has completed, from `0` to `100`. This field appears - only while a storage operation is in progress. It isn't present when no - storage operation is active. - """ - allocated_storage: int | None = ... - """ - The amount of storage allocated for the additional storage volume, in - gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 - TiB). - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS) provisioned for the - additional storage volume. - """ - max_allocated_storage: int | None = ... - """ - The upper limit in gibibytes (GiB) to which RDS can automatically scale - the storage of the additional storage volume. - """ - storage_throughput: int | None = ... - """ - The storage throughput value for the additional storage volume, in - mebibytes per second (MiBps). - """ - storage_type: str | None = ... - """ - The storage type for the additional storage volume. - - Valid Values: `GP3 | IO2` - """ - -@dataclass(kw_only=True) -class AddRoleToDBClusterInput(_SerdeShape): - """Dataclass for AddRoleToDBClusterInput structure.""" - - db_cluster_identifier: str | None = ... - """The name of the DB cluster to associate the IAM role with.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role to associate with the - Aurora DB cluster, for example - `arn:aws:iam::123456789012:role/AuroraAccessRole`. - """ - feature_name: str | None = ... - """ - The name of the feature for the DB cluster that the IAM role is to be - associated with. For information about supported feature names, see - DBEngineVersion. - """ - -@dataclass(kw_only=True) -class AddRoleToDBClusterOutput(_SerdeShape): - """Dataclass for AddRoleToDBClusterOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AddRoleToDBInstanceInput(_SerdeShape): - """Dataclass for AddRoleToDBInstanceInput structure.""" - - db_instance_identifier: str | None = ... - """The name of the DB instance to associate the IAM role with.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role to associate with the DB - instance, for example `arn:aws:iam::123456789012:role/AccessRole`. - """ - feature_name: str | None = ... - """ - The name of the feature for the DB instance that the IAM role is to be - associated with. For information about supported feature names, see - DBEngineVersion. - """ - -@dataclass(kw_only=True) -class AddRoleToDBInstanceOutput(_SerdeShape): - """Dataclass for AddRoleToDBInstanceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AddSourceIdentifierToSubscriptionInput(_SerdeShape): - """""" - - subscription_name: str | None = ... - """ - The name of the RDS event notification subscription you want to add a - source identifier to. - """ - source_identifier: str | None = ... - """ - The identifier of the event source to be added. - - Constraints: - - - If the source type is a DB instance, a `DBInstanceIdentifier` value - must be supplied. - - - If the source type is a DB cluster, a `DBClusterIdentifier` value must - be supplied. - - - If the source type is a DB parameter group, a `DBParameterGroupName` - value must be supplied. - - - If the source type is a DB security group, a `DBSecurityGroupName` - value must be supplied. - - - If the source type is a DB snapshot, a `DBSnapshotIdentifier` value - must be supplied. - - - If the source type is a DB cluster snapshot, a - `DBClusterSnapshotIdentifier` value must be supplied. - - - If the source type is an RDS Proxy, a `DBProxyName` value must be - supplied. - """ - -@dataclass(kw_only=True) -class AddSourceIdentifierToSubscriptionOutput(_SerdeShape): - """Dataclass for AddSourceIdentifierToSubscriptionOutput structure.""" - - event_subscription: EventSubscription | None = ... - """ - Contains the results of a successful invocation of the - `DescribeEventSubscriptions` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AddTagsToResourceInput(_SerdeShape): - """""" - - resource_name: str | None = ... - """ - The Amazon RDS resource that the tags are added to. This value is an - Amazon Resource Name (ARN). For information about creating an ARN, see - [Constructing an RDS Amazon Resource Name - (ARN)](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). - """ - tags: list[Tag] | None = ... - """The tags to be assigned to the Amazon RDS resource.""" - -@dataclass(kw_only=True) -class AddTagsToResourceOutput(_SerdeShape): - """Dataclass for AddTagsToResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ApplyMethod(UnknownEnumMixin, StrEnum): - IMMEDIATE = "immediate" - PENDING_REBOOT = "pending-reboot" - -@dataclass(kw_only=True) -class ApplyPendingMaintenanceActionInput(_SerdeShape): - """""" - - resource_identifier: str | None = ... - """ - The RDS Amazon Resource Name (ARN) of the resource that the pending - maintenance action applies to. For information about creating an ARN, - see [Constructing an RDS Amazon Resource Name - (ARN)](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). - """ - apply_action: str | None = ... - """ - The pending maintenance action to apply to this resource. - - Valid Values: - - - `ca-certificate-rotation` - - - `db-upgrade` - - - `hardware-maintenance` - - - `os-upgrade` - - - `system-update` - - For more information about these actions, see [Maintenance actions for - Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora) - or [Maintenance actions for Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds). - """ - opt_in_type: str | None = ... - """ - A value that specifies the type of opt-in request, or undoes an opt-in - request. An opt-in request of type `immediate` can't be undone. - - Valid Values: - - - `immediate` - Apply the maintenance action immediately. - - - `next-maintenance` - Apply the maintenance action during the next - maintenance window for the resource. - - - `undo-opt-in` - Cancel any existing `next-maintenance` opt-in - requests. - """ - -@dataclass(kw_only=True) -class ApplyPendingMaintenanceActionOutput(_SerdeShape): - """Dataclass for ApplyPendingMaintenanceActionOutput structure.""" - - resource_pending_maintenance_actions: ResourcePendingMaintenanceActions | None = ... - """Describes the pending maintenance actions for a resource.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AuditPolicyState(UnknownEnumMixin, StrEnum): - LOCKED_POLICY = "locked" - UNLOCKED_POLICY = "unlocked" - -@dataclass(kw_only=True) -class AuthorizationAlreadyExistsFault(ServiceError, _SerdeShape): - """ - The specified CIDR IP range or Amazon EC2 security group is already - authorized for the specified DB security group. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AuthorizationNotFoundFault(ServiceError, _SerdeShape): - """ - The specified CIDR IP range or Amazon EC2 security group might not be - authorized for the specified DB security group. - - Or, RDS might not be authorized to perform necessary actions using IAM - on your behalf. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AuthorizationQuotaExceededFault(ServiceError, _SerdeShape): - """The DB security group authorization quota has been reached.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AuthorizeDBSecurityGroupIngressInput(_SerdeShape): - """""" - - db_security_group_name: str | None = ... - """The name of the DB security group to add authorization to.""" - cidrip: str | None = ... - """The IP range to authorize.""" - ec2_security_group_name: str | None = ... - """ - Name of the EC2 security group to authorize. For VPC DB security groups, - `EC2SecurityGroupId` must be provided. Otherwise, - `EC2SecurityGroupOwnerId` and either `EC2SecurityGroupName` or - `EC2SecurityGroupId` must be provided. - """ - ec2_security_group_id: str | None = ... - """ - Id of the EC2 security group to authorize. For VPC DB security groups, - `EC2SecurityGroupId` must be provided. Otherwise, - `EC2SecurityGroupOwnerId` and either `EC2SecurityGroupName` or - `EC2SecurityGroupId` must be provided. - """ - ec2_security_group_owner_id: str | None = ... - """ - Amazon Web Services account number of the owner of the EC2 security - group specified in the `EC2SecurityGroupName` parameter. The Amazon Web - Services access key ID isn't an acceptable value. For VPC DB security - groups, `EC2SecurityGroupId` must be provided. Otherwise, - `EC2SecurityGroupOwnerId` and either `EC2SecurityGroupName` or - `EC2SecurityGroupId` must be provided. - """ - -@dataclass(kw_only=True) -class AuthorizeDBSecurityGroupIngressOutput(_SerdeShape): - """Dataclass for AuthorizeDBSecurityGroupIngressOutput structure.""" - - db_security_group: DBSecurityGroup | None = ... - """ - Contains the details for an Amazon RDS DB security group. - - This data type is used as a response element in the - `DescribeDBSecurityGroups` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class AuthScheme(UnknownEnumMixin, StrEnum): - SECRETS = "SECRETS" - -class AutomationMode(UnknownEnumMixin, StrEnum): - FULL = "full" - ALL_PAUSED = "all-paused" - -@dataclass(kw_only=True) -class AvailabilityZone(_SerdeShape): - """ - Contains Availability Zone information. - - This data type is used as an element in the `OrderableDBInstanceOption` - data type. - """ - - name: str | None = ... - """The name of the Availability Zone.""" - -@dataclass(kw_only=True) -class AvailableAdditionalStorageVolumesOption(_SerdeShape): - """ - Contains the available options for additional storage volumes for a DB - instance class. - """ - - supports_storage_autoscaling: bool | None = ... - """ - Indicates whether the additional storage volume supports storage - autoscaling. - """ - supports_storage_throughput: bool | None = ... - """ - Indicates whether the additional storage volume supports configurable - storage throughput. - """ - supports_iops: bool | None = ... - """ - Indicates whether the additional storage volume supports provisioned - IOPS. - """ - storage_type: str | None = ... - """ - The storage type for the additional storage volume. - - Valid Values: `GP3 | IO2` - """ - min_storage_size: int | None = ... - """ - The minimum amount of storage that you can allocate for the additional - storage volume, in gibibytes (GiB). - """ - max_storage_size: int | None = ... - """ - The maximum amount of storage that you can allocate for the additional - storage volume, in gibibytes (GiB). - """ - min_iops: int | None = ... - """ - The minimum number of I/O operations per second (IOPS) that the - additional storage volume supports. - """ - max_iops: int | None = ... - """ - The maximum number of I/O operations per second (IOPS) that the - additional storage volume supports. - """ - min_iops_per_gib: float | None = ... - """ - The minimum ratio of I/O operations per second (IOPS) to gibibytes (GiB) - of storage for the additional storage volume. - """ - max_iops_per_gib: float | None = ... - """ - The maximum ratio of I/O operations per second (IOPS) to gibibytes (GiB) - of storage for the additional storage volume. - """ - min_storage_throughput: int | None = ... - """ - The minimum storage throughput that the additional storage volume - supports, in mebibytes per second (MiBps). - """ - max_storage_throughput: int | None = ... - """ - The maximum storage throughput that the additional storage volume - supports, in mebibytes per second (MiBps). - """ - -@dataclass(kw_only=True) -class AvailableCapacityPerAvailabilityZone(_SerdeShape): - """ - Contains the unused capacity of a DB capacity reservation in one - Availability Zone. - - This data type is used as a response element in the following - operations: - - - `CancelDBCapacityReservation` - - - `CreateDBCapacityReservation` - - - `DescribeDBCapacityReservations` - - - `ModifyDBCapacityReservation` - """ - - availability_zone: str | None = ... - """The name of the Availability Zone.""" - available_capacity: int | None = ... - """ - The number of DB instances that remain available in this Availability - Zone. Amazon RDS decreases this value when a DB instance takes a unit of - reserved capacity in this Availability Zone, and it increases this value - when a DB instance releases that unit. - - A DB instance with a pending modification also holds a unit of reserved - capacity. A DB instance has a pending modification when Amazon RDS - accepts a change to the DB instance and applies that change later, - during the maintenance window. Amazon RDS holds the unit from the time - that it accepts the request. To find a DB instance with a pending - modification, check `PendingModifiedValues` in the response of - `DescribeDBInstances`. - - Amazon RDS reports available capacity only for a reservation that is in - the `active` state and not past its end date. Otherwise, this value is - `0`. - """ - -@dataclass(kw_only=True) -class AvailableProcessorFeature(_SerdeShape): - """ - Contains the available processor feature information for the DB instance - class of a DB instance. - - For more information, see [Configuring the Processor of the DB Instance - Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) - in the *Amazon RDS User Guide.* - """ - - name: str | None = ... - """ - The name of the processor feature. Valid names are `coreCount` and - `threadsPerCore`. - """ - default_value: str | None = ... - """The default value for the processor feature of the DB instance class.""" - allowed_values: str | None = ... - """The allowed values for the processor feature of the DB instance class.""" - -@dataclass(kw_only=True) -class BacktrackDBClusterInput(_SerdeShape): - """""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the DB cluster to be backtracked. This - parameter is stored as a lowercase string. - - Constraints: - - - Must contain from 1 to 63 alphanumeric characters or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `my-cluster1` - """ - backtrack_to: datetime | None = ... - """ - The timestamp of the time to backtrack the DB cluster to, specified in - ISO 8601 format. For more information about ISO 8601, see the [ISO8601 - Wikipedia page.](http://en.wikipedia.org/wiki/ISO_8601) - - Note: - If the specified time isn't a consistent time for the DB cluster, - Aurora automatically chooses the nearest possible consistent time for - the DB cluster. - - Constraints: - - - Must contain a valid ISO 8601 timestamp. - - - Can't contain a timestamp set in the future. - - Example: `2017-07-08T18:00Z` - """ - force: bool | None = ... - """ - Specifies whether to force the DB cluster to backtrack when binary - logging is enabled. Otherwise, an error occurs when binary logging is - enabled. - """ - use_earliest_time_on_point_in_time_unavailable: bool | None = ... - """ - Specifies whether to backtrack the DB cluster to the earliest possible - backtrack time when *BacktrackTo* is set to a timestamp earlier than the - earliest backtrack time. When this parameter is disabled and - *BacktrackTo* is set to a timestamp earlier than the earliest backtrack - time, an error occurs. - """ - -@dataclass(kw_only=True) -class BacktrackDBClusterOutput(_SerdeShape): - """ - This data type is used as a response element in the - `DescribeDBClusterBacktracks` action. - """ - - db_cluster_identifier: str | None = ... - """ - Contains a user-supplied DB cluster identifier. This identifier is the - unique key that identifies a DB cluster. - """ - backtrack_identifier: str | None = ... - """Contains the backtrack identifier.""" - backtrack_to: datetime | None = ... - """The timestamp of the time to which the DB cluster was backtracked.""" - backtracked_from: datetime | None = ... - """The timestamp of the time from which the DB cluster was backtracked.""" - backtrack_request_creation_time: datetime | None = ... - """The timestamp of the time at which the backtrack was requested.""" - status: str | None = ... - """ - The status of the backtrack. This property returns one of the following - values: - - - `applying` - The backtrack is currently being applied to or rolled - back from the DB cluster. - - - `completed` - The backtrack has successfully been applied to or rolled - back from the DB cluster. - - - `failed` - An error occurred while the backtrack was applied to or - rolled back from the DB cluster. - - - `pending` - The backtrack is currently pending application to or - rollback from the DB cluster. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BackupPolicyNotFoundFault(ServiceError, _SerdeShape): - """""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BlueGreenDeployment(_SerdeShape): - """ - Details about a blue/green deployment. - - For more information, see [Using Amazon RDS Blue/Green Deployments for - database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) - in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green - Deployments for database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) - in the *Amazon Aurora User Guide*. - """ - - blue_green_deployment_identifier: str | None = ... - """The unique identifier of the blue/green deployment.""" - blue_green_deployment_name: str | None = ... - """The user-supplied name of the blue/green deployment.""" - source: str | None = ... - """ - The source database for the blue/green deployment. - - Before switchover, the source database is the production database in the - blue environment. - """ - target: str | None = ... - """ - The target database for the blue/green deployment. - - Before switchover, the target database is the clone database in the - green environment. - """ - switchover_details: list[SwitchoverDetail] | None = ... - """ - The details about each source and target resource in the blue/green - deployment. - """ - tasks: list[BlueGreenDeploymentTask] | None = ... - """ - Either tasks to be performed or tasks that have been completed on the - target database before switchover. - """ - status: str | None = ... - """ - The status of the blue/green deployment. - - Valid Values: - - - `PROVISIONING` - Resources are being created in the green environment. - - - `AVAILABLE` - Resources are available in the green environment. - - - `SWITCHOVER_IN_PROGRESS` - The deployment is being switched from the - blue environment to the green environment. - - - `SWITCHOVER_COMPLETED` - Switchover from the blue environment to the - green environment is complete. - - - `INVALID_CONFIGURATION` - Resources in the green environment are - invalid, so switchover isn't possible. - - - `SWITCHOVER_FAILED` - Switchover was attempted but failed. - - - `DELETING` - The blue/green deployment is being deleted. - """ - status_details: str | None = ... - """Additional information about the status of the blue/green deployment.""" - create_time: datetime | None = ... - """ - The time when the blue/green deployment was created, in Universal - Coordinated Time (UTC). - """ - delete_time: datetime | None = ... - """ - The time when the blue/green deployment was deleted, in Universal - Coordinated Time (UTC). - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class BlueGreenDeploymentAlreadyExistsFault(ServiceError, _SerdeShape): - """A blue/green deployment with the specified name already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BlueGreenDeploymentNotFoundFault(ServiceError, _SerdeShape): - """ - `BlueGreenDeploymentIdentifier` doesn't refer to an existing blue/green - deployment. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BlueGreenDeploymentTask(_SerdeShape): - """ - Details about a task for a blue/green deployment. - - For more information, see [Using Amazon RDS Blue/Green Deployments for - database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) - in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green - Deployments for database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) - in the *Amazon Aurora User Guide*. - """ - - name: str | None = ... - """The name of the blue/green deployment task.""" - status: str | None = ... - """ - The status of the blue/green deployment task. - - Valid Values: - - - `PENDING` - The resource is being prepared for deployment. - - - `IN_PROGRESS` - The resource is being deployed. - - - `COMPLETED` - The resource has been deployed. - - - `FAILED` - Deployment of the resource failed. - """ - -@dataclass(kw_only=True) -class CancelDBCapacityReservationInput(_SerdeShape): - """Dataclass for CancelDBCapacityReservationInput structure.""" - - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation to cancel. You - can specify the identifier, which has the prefix `dbcr-`, or the - reservation name. - """ - -@dataclass(kw_only=True) -class CancelDBCapacityReservationOutput(_SerdeShape): - """Dataclass for CancelDBCapacityReservationOutput structure.""" - - db_capacity_reservation: DBCapacityReservation | None = ... - """Contains the details of the canceled DB capacity reservation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CancelExportTaskInput(_SerdeShape): - """Dataclass for CancelExportTaskInput structure.""" - - export_task_identifier: str | None = ... - """The identifier of the snapshot or cluster export task to cancel.""" - -@dataclass(kw_only=True) -class CancelExportTaskOutput(_SerdeShape): - """ - Contains the details of a snapshot or cluster export to Amazon S3. - - This data type is used as a response element in the - `DescribeExportTasks` operation. - """ - - export_task_identifier: str | None = ... - """ - A unique identifier for the snapshot or cluster export task. This ID - isn't an identifier for the Amazon S3 bucket where the data is - exported. - """ - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the snapshot or cluster exported to - Amazon S3. - """ - export_only: list[str] | None = ... - """ - The data exported from the snapshot or cluster. - - Valid Values: - - - `database` - Export all the data from a specified database. - - - `database.table` *table-name* - Export a table of the snapshot or - cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, - and Aurora MySQL. - - - `database.schema` *schema-name* - Export a database schema of the - snapshot or cluster. This format is valid only for RDS for PostgreSQL - and Aurora PostgreSQL. - - - `database.schema.table` *table-name* - Export a table of the database - schema. This format is valid only for RDS for PostgreSQL and Aurora - PostgreSQL. - """ - snapshot_time: datetime | None = ... - """The time when the snapshot was created.""" - task_start_time: datetime | None = ... - """The time when the snapshot or cluster export task started.""" - task_end_time: datetime | None = ... - """The time when the snapshot or cluster export task ended.""" - s3_bucket: str | None = ... - """The Amazon S3 bucket where the snapshot or cluster is exported to.""" - s3_prefix: str | None = ... - """ - The Amazon S3 bucket prefix that is the file name and path of the - exported data. - """ - iam_role_arn: str | None = ... - """ - The name of the IAM role that is used to write to Amazon S3 when - exporting a snapshot or cluster. - """ - kms_key_id: str | None = ... - """ - The key identifier of the Amazon Web Services KMS key that is used to - encrypt the data when it's exported to Amazon S3. The KMS key - identifier is its key ARN, key ID, alias ARN, or alias name. The IAM - role used for the export must have encryption and decryption permissions - to use this KMS key. - """ - status: str | None = ... - """ - The progress status of the export task. The status can be one of the - following: - - - `CANCELED` - - - `CANCELING` - - - `COMPLETE` - - - `FAILED` - - - `IN_PROGRESS` - - - `STARTING` - """ - percent_progress: int | None = ... - """The progress of the snapshot or cluster export task as a percentage.""" - total_extracted_data_in_gb: int | None = ... - """The total amount of data exported, in gigabytes.""" - failure_cause: str | None = ... - """The reason the export failed, if it failed.""" - warning_message: str | None = ... - """A warning about the snapshot or cluster export task.""" - source_type: str | None = ... - """The type of source for the export.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Certificate(_SerdeShape): - """ - A CA certificate for an Amazon Web Services account. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - - certificate_identifier: str | None = ... - """The unique key that identifies a certificate.""" - certificate_type: str | None = ... - """The type of the certificate.""" - thumbprint: str | None = ... - """The thumbprint of the certificate.""" - valid_from: datetime | None = ... - """The starting date from which the certificate is valid.""" - valid_till: datetime | None = ... - """The final date that the certificate continues to be valid.""" - certificate_arn: str | None = ... - """The Amazon Resource Name (ARN) for the certificate.""" - customer_override: bool | None = ... - """ - Indicates whether there is an override for the default certificate - identifier. - """ - customer_override_valid_till: datetime | None = ... - """ - If there is an override for the default certificate identifier, when the - override expires. - """ - -@dataclass(kw_only=True) -class CertificateDetails(_SerdeShape): - """ - The details of the DB instance's server certificate. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - - ca_identifier: str | None = ... - """ - The CA identifier of the CA certificate used for the DB instance's - server certificate. - """ - valid_till: datetime | None = ... - """The expiration date of the DB instance's server certificate.""" - -@dataclass(kw_only=True) -class CertificateNotFoundFault(ServiceError, _SerdeShape): - """`CertificateIdentifier` doesn't refer to an existing certificate.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CharacterSet(_SerdeShape): - """ - This data type is used as a response element in the action - `DescribeDBEngineVersions`. - """ - - character_set_name: str | None = ... - """The name of the character set.""" - character_set_description: str | None = ... - """The description of the character set.""" - -class ClientPasswordAuthType(UnknownEnumMixin, StrEnum): - MYSQL_NATIVE_PASSWORD = "MYSQL_NATIVE_PASSWORD" - MYSQL_CACHING_SHA2_PASSWORD = "MYSQL_CACHING_SHA2_PASSWORD" - POSTGRES_SCRAM_SHA_256 = "POSTGRES_SCRAM_SHA_256" - POSTGRES_MD5 = "POSTGRES_MD5" - SQL_SERVER_AUTHENTICATION = "SQL_SERVER_AUTHENTICATION" - -@dataclass(kw_only=True) -class CloudwatchLogsExportConfiguration(_SerdeShape): - """ - The configuration setting for the log types to be enabled for export to - CloudWatch Logs for a specific DB instance or DB cluster. - - The `EnableLogTypes` and `DisableLogTypes` arrays determine which logs - will be exported (or not exported) to CloudWatch Logs. The values within - these arrays depend on the DB engine being used. - - For more information about exporting CloudWatch Logs for Amazon RDS DB - instances, see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - For more information about exporting CloudWatch Logs for Amazon Aurora - DB clusters, see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon Aurora User Guide*. - """ - - enable_log_types: list[str] | None = ... - """ - The list of log types to enable. - - The following values are valid for each DB engine: - - - Aurora MySQL - `audit | error | general | slowquery` - - - Aurora PostgreSQL - `postgresql` - - - RDS for MySQL - `error | general | slowquery` - - - RDS for PostgreSQL - `postgresql | upgrade` - """ - disable_log_types: list[str] | None = ... - """ - The list of log types to disable. - - The following values are valid for each DB engine: - - - Aurora MySQL - `audit | error | general | slowquery` - - - Aurora PostgreSQL - `postgresql` - - - RDS for MySQL - `error | general | slowquery` - - - RDS for PostgreSQL - `postgresql | upgrade` - """ - -@dataclass(kw_only=True) -class ClusterPendingModifiedValues(_SerdeShape): - """ - This data type is used as a response element in the `ModifyDBCluster` - operation and contains changes that will be applied during the next - maintenance window. - """ - - pending_cloudwatch_logs_exports: PendingCloudwatchLogsExports | None = ... - """ - A list of the log types whose configuration is still pending. In other - words, these log types are in the process of being activated or - deactivated. - """ - db_cluster_identifier: str | None = ... - """The DBClusterIdentifier value for the DB cluster.""" - master_user_password: str | None = ... - """The master credentials for the DB cluster.""" - iam_database_authentication_enabled: bool | None = ... - """ - Indicates whether mapping of Amazon Web Services Identity and Access - Management (IAM) accounts to database accounts is enabled. - """ - engine_version: str | None = ... - """The database engine version.""" - backup_retention_period: int | None = ... - """The number of days for which automatic DB snapshots are retained.""" - storage_type: str | None = ... - """The storage type for the DB cluster.""" - allocated_storage: int | None = ... - """ - The allocated storage size in gibibytes (GiB) for all database engines - except Amazon Aurora. For Aurora, `AllocatedStorage` always returns 1, - because Aurora DB cluster storage size isn't fixed, but instead - automatically adjusts as needed. - """ - rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... - """Reserved for future use.""" - iops: int | None = ... - """ - The Provisioned IOPS (I/O operations per second) value. This setting is - only for non-Aurora Multi-AZ DB clusters. - """ - certificate_details: CertificateDetails | None = ... - """ - The details of the DB instance's server certificate. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - -class ClusterScalabilityType(UnknownEnumMixin, StrEnum): - STANDARD = "standard" - LIMITLESS = "limitless" - -@dataclass(kw_only=True) -class ConnectionPoolConfiguration(_SerdeShape): - """ - Specifies the settings that control the size and behavior of the - connection pool associated with a `DBProxyTargetGroup`. - """ - - max_connections_percent: int | None = ... - """ - The maximum size of the connection pool for each target in a target - group. The value is expressed as a percentage of the `max_connections` - setting for the RDS DB instance or Aurora DB cluster used by the target - group. - - If you specify `MaxIdleConnectionsPercent`, then you must also include a - value for this parameter. - - Default: `10` for RDS for Microsoft SQL Server, and `100` for all other - engines - - Constraints: - - - Must be between 1 and 100. - """ - max_idle_connections_percent: int | None = ... - """ - A value that controls how actively the proxy closes idle database - connections in the connection pool. The value is expressed as a - percentage of the `max_connections` setting for the RDS DB instance or - Aurora DB cluster used by the target group. With a high value, the proxy - leaves a high percentage of idle database connections open. A low value - causes the proxy to close more idle connections and return them to the - database. - - If you specify this parameter, then you must also include a value for - `MaxConnectionsPercent`. - - Default: The default value is half of the value of - `MaxConnectionsPercent`. For example, if `MaxConnectionsPercent` is 80, - then the default value of `MaxIdleConnectionsPercent` is 40. If the - value of `MaxConnectionsPercent` isn't specified, then for SQL Server, - `MaxIdleConnectionsPercent` is `5`, and for all other engines, the - default is `50`. - - Constraints: - - - Must be between 0 and the value of `MaxConnectionsPercent`. - """ - connection_borrow_timeout: int | None = ... - """ - The number of seconds for a proxy to wait for a connection to become - available in the connection pool. This setting only applies when the - proxy has opened its maximum number of connections and all connections - are busy with client sessions. - - Default: `120` - - Constraints: - - - Must be between 0 and 300. - """ - session_pinning_filters: list[str] | None = ... - """ - Each item in the list represents a class of SQL operations that normally - cause all later statements in a session using a proxy to be pinned to - the same underlying database connection. Including an item in the list - exempts that class of SQL operations from the pinning behavior. - - Default: no session pinning filters - """ - init_query: str | None = ... - """ - Add an initialization query, or modify the current one. You can specify - one or more SQL statements for the proxy to run when opening each new - database connection. The setting is typically used with `SET` statements - to make sure that each connection has identical settings. Make sure the - query added here is valid. This is an optional field, so you can choose - to leave it empty. For including multiple variables in a single SET - statement, use a comma separator. - - For example: `SET variable1=value1, variable2=value2` - - Default: no initialization query - - Warning: - Since you can access initialization query as part of target group - configuration, it is not protected by authentication or cryptographic - methods. Anyone with access to view or manage your proxy target group - configuration can view the initialization query. You should not add - sensitive data, such as passwords or long-lived encryption keys, to this - option. - """ - -@dataclass(kw_only=True) -class ConnectionPoolConfigurationInfo(_SerdeShape): - """ - Displays the settings that control the size and behavior of the - connection pool associated with a `DBProxyTarget`. - """ - - max_connections_percent: int | None = ... - """ - The maximum size of the connection pool for each target in a target - group. The value is expressed as a percentage of the `max_connections` - setting for the RDS DB instance or Aurora DB cluster used by the target - group. - """ - max_idle_connections_percent: int | None = ... - """ - Controls how actively the proxy closes idle database connections in the - connection pool. The value is expressed as a percentage of the - `max_connections` setting for the RDS DB instance or Aurora DB cluster - used by the target group. With a high value, the proxy leaves a high - percentage of idle database connections open. A low value causes the - proxy to close more idle connections and return them to the database. - """ - connection_borrow_timeout: int | None = ... - """ - The number of seconds for a proxy to wait for a connection to become - available in the connection pool. Only applies when the proxy has opened - its maximum number of connections and all connections are busy with - client sessions. - """ - session_pinning_filters: list[str] | None = ... - """ - Each item in the list represents a class of SQL operations that normally - cause all later statements in a session using a proxy to be pinned to - the same underlying database connection. Including an item in the list - exempts that class of SQL operations from the pinning behavior. This - setting is only supported for MySQL engine family databases. Currently, - the only allowed value is `EXCLUDE_VARIABLE_SETS`. - """ - init_query: str | None = ... - """ - One or more SQL statements for the proxy to run when opening each new - database connection. The setting is typically used with `SET` statements - to make sure that each connection has identical settings. The query - added here must be valid. For including multiple variables in a single - SET statement, use a comma separator. This is an optional field. - - For example: `SET variable1=value1, variable2=value2` - - Warning: - Since you can access initialization query as part of target group - configuration, it is not protected by authentication or cryptographic - methods. Anyone with access to view or manage your proxy target group - configuration can view the initialization query. You should not add - sensitive data, such as passwords or long-lived encryption keys, to this - option. - """ - -@dataclass(kw_only=True) -class ContextAttribute(_SerdeShape): - """The additional attributes of `RecommendedAction` data type.""" - - key: str | None = ... - """The key of `ContextAttribute`.""" - value: str | None = ... - """The value of `ContextAttribute`.""" - -@dataclass(kw_only=True) -class CopyDBClusterParameterGroupInput(_SerdeShape): - """Dataclass for CopyDBClusterParameterGroupInput structure.""" - - source_db_cluster_parameter_group_identifier: str | None = ... - """ - The identifier or Amazon Resource Name (ARN) for the source DB cluster - parameter group. For information about creating an ARN, see - [Constructing an ARN for Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) - in the *Amazon Aurora User Guide*. - - Constraints: - - - Must specify a valid DB cluster parameter group. - """ - target_db_cluster_parameter_group_identifier: str | None = ... - """ - The identifier for the copied DB cluster parameter group. - - Constraints: - - - Can't be null, empty, or blank - - - Must contain from 1 to 255 letters, numbers, or hyphens - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Example: `my-cluster-param-group1` - """ - target_db_cluster_parameter_group_description: str | None = ... - """A description for the copied DB cluster parameter group.""" - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class CopyDBClusterParameterGroupOutput(_SerdeShape): - """Dataclass for CopyDBClusterParameterGroupOutput structure.""" - - db_cluster_parameter_group: DBClusterParameterGroup | None = ... - """ - Contains the details of an Amazon RDS DB cluster parameter group. - - This data type is used as a response element in the - `DescribeDBClusterParameterGroups` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CopyDBClusterSnapshotInput(_SerdeShape): - """""" - - source_db_cluster_snapshot_identifier: str | None = ... - """ - The identifier of the DB cluster snapshot to copy. This parameter isn't - case-sensitive. - - Constraints: - - - Must specify a valid source snapshot in the \"available\" state. - - - If the source snapshot is in the same Amazon Web Services Region as - the copy, specify a valid DB snapshot identifier. - - - If the source snapshot is in a different Amazon Web Services Region - than the copy, specify a valid DB cluster snapshot ARN. You can also - specify an ARN of a snapshot that is in a different account and a - different Amazon Web Services Region. For more information, go to - [Copying Snapshots Across Amazon Web Services - Regions](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_CopySnapshot.html#USER_CopySnapshot.AcrossRegions) - in the *Amazon Aurora User Guide*. - - Example: `my-cluster-snapshot1` - """ - target_db_cluster_snapshot_identifier: str | None = ... - """ - The identifier of the new DB cluster snapshot to create from the source - DB cluster snapshot. This parameter isn't case-sensitive. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `my-cluster-snapshot2` - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted DB cluster - snapshot. The Amazon Web Services KMS key identifier is the key ARN, key - ID, alias ARN, or alias name for the Amazon Web Services KMS key. - - If you copy an encrypted DB cluster snapshot from your Amazon Web - Services account, you can specify a value for `KmsKeyId` to encrypt the - copy with a new KMS key. If you don't specify a value for `KmsKeyId`, - then the copy of the DB cluster snapshot is encrypted with the same KMS - key as the source DB cluster snapshot. - - If you copy an encrypted DB cluster snapshot that is shared from another - Amazon Web Services account, then you must specify a value for - `KmsKeyId`. - - To copy an encrypted DB cluster snapshot to another Amazon Web Services - Region, you must set `KmsKeyId` to the Amazon Web Services KMS key - identifier you want to use to encrypt the copy of the DB cluster - snapshot in the destination Amazon Web Services Region. KMS keys are - specific to the Amazon Web Services Region that they are created in, and - you can't use KMS keys from one Amazon Web Services Region in another - Amazon Web Services Region. - - If you copy an unencrypted DB cluster snapshot and specify a value for - the `KmsKeyId` parameter, an error is returned. - """ - pre_signed_url: str | None = ... - """ - When you are copying a DB cluster snapshot from one Amazon Web Services - GovCloud (US) Region to another, the URL that contains a Signature - Version 4 signed request for the `CopyDBClusterSnapshot` API operation - in the Amazon Web Services Region that contains the source DB cluster - snapshot to copy. Use the `PreSignedUrl` parameter when copying an - encrypted DB cluster snapshot from another Amazon Web Services Region. - Don't specify `PreSignedUrl` when copying an encrypted DB cluster - snapshot in the same Amazon Web Services Region. - - This setting applies only to Amazon Web Services GovCloud (US) Regions. - It's ignored in other Amazon Web Services Regions. - - The presigned URL must be a valid request for the - `CopyDBClusterSnapshot` API operation that can run in the source Amazon - Web Services Region that contains the encrypted DB cluster snapshot to - copy. The presigned URL request must contain the following parameter - values: - - - `KmsKeyId` - The KMS key identifier for the KMS key to use to encrypt - the copy of the DB cluster snapshot in the destination Amazon Web - Services Region. This is the same identifier for both the - `CopyDBClusterSnapshot` operation that is called in the destination - Amazon Web Services Region, and the operation contained in the - presigned URL. - - - `DestinationRegion` - The name of the Amazon Web Services Region that - the DB cluster snapshot is to be created in. - - - `SourceDBClusterSnapshotIdentifier` - The DB cluster snapshot - identifier for the encrypted DB cluster snapshot to be copied. This - identifier must be in the Amazon Resource Name (ARN) format for the - source Amazon Web Services Region. For example, if you are copying an - encrypted DB cluster snapshot from the us-west-2 Amazon Web Services - Region, then your `SourceDBClusterSnapshotIdentifier` looks like the - following example: - `arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115`. - - To learn how to generate a Signature Version 4 signed request, see - [Authenticating Requests: Using Query Parameters (Amazon Web Services - Signature Version - 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) - and [Signature Version 4 Signing - Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). - - Note: - If you are using an Amazon Web Services SDK tool or the CLI, you can - specify `SourceRegion` (or `--source-region` for the CLI) instead of - specifying `PreSignedUrl` manually. Specifying `SourceRegion` - autogenerates a presigned URL that is a valid request for the operation - that can run in the source Amazon Web Services Region. - """ - copy_tags: bool | None = ... - """ - Specifies whether to copy all tags from the source DB cluster snapshot - to the target DB cluster snapshot. By default, tags are not copied. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class CopyDBClusterSnapshotOutput(_SerdeShape): - """Dataclass for CopyDBClusterSnapshotOutput structure.""" - - db_cluster_snapshot: DBClusterSnapshot | None = ... - """ - Contains the details for an Amazon RDS DB cluster snapshot - - This data type is used as a response element in the - `DescribeDBClusterSnapshots` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CopyDBParameterGroupInput(_SerdeShape): - """""" - - source_db_parameter_group_identifier: str | None = ... - """ - The identifier or ARN for the source DB parameter group. For information - about creating an ARN, see [Constructing an ARN for Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) - in the *Amazon RDS User Guide*. - - Constraints: - - - Must specify a valid DB parameter group. - """ - target_db_parameter_group_identifier: str | None = ... - """ - The identifier for the copied DB parameter group. - - Constraints: - - - Can't be null, empty, or blank - - - Must contain from 1 to 255 letters, numbers, or hyphens - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Example: `my-db-parameter-group` - """ - target_db_parameter_group_description: str | None = ... - """A description for the copied DB parameter group.""" - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class CopyDBParameterGroupOutput(_SerdeShape): - """Dataclass for CopyDBParameterGroupOutput structure.""" - - db_parameter_group: DBParameterGroup | None = ... - """ - Contains the details of an Amazon RDS DB parameter group. - - This data type is used as a response element in the - `DescribeDBParameterGroups` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CopyDBSnapshotInput(_SerdeShape): - """""" - - source_db_snapshot_identifier: str | None = ... - """ - The identifier for the source DB snapshot. - - If the source snapshot is in the same Amazon Web Services Region as the - copy, specify a valid DB snapshot identifier. For example, you might - specify `rds:mysql-instance1-snapshot-20130805`. - - If you are copying from a shared manual DB snapshot, this parameter must - be the Amazon Resource Name (ARN) of the shared DB snapshot. - - If the source snapshot is in a different Amazon Web Services Region than - the copy, specify a valid DB snapshot ARN. You can also specify an ARN - of a snapshot that is in a different account and a different Amazon Web - Services Region. For example, you might specify - `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805`. - - Constraints: - - - Must specify a valid source snapshot in the \"available\" state. - - Example: `rds:mydb-2012-04-02-00-01` - - Example: - `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805` - """ - target_db_snapshot_identifier: str | None = ... - """ - The identifier for the copy of the snapshot. - - Constraints: - - - Can't be null, empty, or blank - - - Must contain from 1 to 255 letters, numbers, or hyphens - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Example: `my-db-snapshot` - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted DB snapshot. - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - If you copy an encrypted DB snapshot from your Amazon Web Services - account, you can specify a value for this parameter to encrypt the copy - with a new KMS key. If you don't specify a value for this parameter, - then the copy of the DB snapshot is encrypted with the same Amazon Web - Services KMS key as the source DB snapshot. - - If you copy an encrypted DB snapshot that is shared from another Amazon - Web Services account, then you must specify a value for this parameter. - - If you specify this parameter when you copy an unencrypted snapshot, the - copy is encrypted. - - If you copy an encrypted snapshot to a different Amazon Web Services - Region, then you must specify an Amazon Web Services KMS key identifier - for the destination Amazon Web Services Region. KMS keys are specific to - the Amazon Web Services Region that they are created in, and you can't - use KMS keys from one Amazon Web Services Region in another Amazon Web - Services Region. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - copy_tags: bool | None = ... - """ - Specifies whether to copy all tags from the source DB snapshot to the - target DB snapshot. By default, tags aren't copied. - """ - pre_signed_url: str | None = ... - """ - When you are copying a snapshot from one Amazon Web Services GovCloud - (US) Region to another, the URL that contains a Signature Version 4 - signed request for the `CopyDBSnapshot` API operation in the source - Amazon Web Services Region that contains the source DB snapshot to copy. - - This setting applies only to Amazon Web Services GovCloud (US) Regions. - It's ignored in other Amazon Web Services Regions. - - You must specify this parameter when you copy an encrypted DB snapshot - from another Amazon Web Services Region by using the Amazon RDS API. - Don't specify `PreSignedUrl` when you are copying an encrypted DB - snapshot in the same Amazon Web Services Region. - - The presigned URL must be a valid request for the - `CopyDBClusterSnapshot` API operation that can run in the source Amazon - Web Services Region that contains the encrypted DB cluster snapshot to - copy. The presigned URL request must contain the following parameter - values: - - - `DestinationRegion` - The Amazon Web Services Region that the - encrypted DB snapshot is copied to. This Amazon Web Services Region is - the same one where the `CopyDBSnapshot` operation is called that - contains this presigned URL. - - For example, if you copy an encrypted DB snapshot from the us-west-2 - Amazon Web Services Region to the us-east-1 Amazon Web Services - Region, then you call the `CopyDBSnapshot` operation in the us-east-1 - Amazon Web Services Region and provide a presigned URL that contains a - call to the `CopyDBSnapshot` operation in the us-west-2 Amazon Web - Services Region. For this example, the `DestinationRegion` in the - presigned URL must be set to the us-east-1 Amazon Web Services Region. - - - `KmsKeyId` - The KMS key identifier for the KMS key to use to encrypt - the copy of the DB snapshot in the destination Amazon Web Services - Region. This is the same identifier for both the `CopyDBSnapshot` - operation that is called in the destination Amazon Web Services - Region, and the operation contained in the presigned URL. - - - `SourceDBSnapshotIdentifier` - The DB snapshot identifier for the - encrypted snapshot to be copied. This identifier must be in the Amazon - Resource Name (ARN) format for the source Amazon Web Services Region. - For example, if you are copying an encrypted DB snapshot from the - us-west-2 Amazon Web Services Region, then your - `SourceDBSnapshotIdentifier` looks like the following example: - `arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20161115`. - - To learn how to generate a Signature Version 4 signed request, see - [Authenticating Requests: Using Query Parameters (Amazon Web Services - Signature Version - 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) - and [Signature Version 4 Signing - Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). - - Note: - If you are using an Amazon Web Services SDK tool or the CLI, you can - specify `SourceRegion` (or `--source-region` for the CLI) instead of - specifying `PreSignedUrl` manually. Specifying `SourceRegion` - autogenerates a presigned URL that is a valid request for the operation - that can run in the source Amazon Web Services Region. - """ - option_group_name: str | None = ... - """ - The name of an option group to associate with the copy of the snapshot. - - Specify this option if you are copying a snapshot from one Amazon Web - Services Region to another, and your DB instance uses a nondefault - option group. If your source DB instance uses Transparent Data - Encryption for Oracle or Microsoft SQL Server, you must specify this - option when copying across Amazon Web Services Regions. For more - information, see [Option group - considerations](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopySnapshot.Options) - in the *Amazon RDS User Guide*. - """ - target_custom_availability_zone: str | None = ... - """ - The external custom Availability Zone (CAZ) identifier for the target - CAZ. - - Example: `rds-caz-aiqhTgQv`. - """ - snapshot_target: str | None = ... - """ - Configures the location where RDS will store copied snapshots. - - Valid Values: - - - `local` (Dedicated Local Zone) - - - `outposts` (Amazon Web Services Outposts) - - - `region` (Amazon Web Services Region) - """ - copy_option_group: bool | None = ... - """ - Specifies whether to copy the DB option group associated with the source - DB snapshot to the target Amazon Web Services account or Amazon Web - Services Region and associate it with the target DB snapshot. - """ - snapshot_availability_zone: str | None = ... - """ - Specifies the name of the Availability Zone where RDS stores the DB - snapshot. This value is valid only for snapshots that RDS stores on a - Dedicated Local Zone. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to the copied option group. By default, the copied option - group isn't tagged. - - Valid Values: - - - `og` - The copied option group. - - Constraints: - - - Can only be specified when `CopyOptionGroup` is `true` - """ - -@dataclass(kw_only=True) -class CopyDBSnapshotOutput(_SerdeShape): - """Dataclass for CopyDBSnapshotOutput structure.""" - - db_snapshot: DBSnapshot | None = ... - """ - Contains the details of an Amazon RDS DB snapshot. - - This data type is used as a response element in the - `DescribeDBSnapshots` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CopyOptionGroupInput(_SerdeShape): - """""" - - source_option_group_identifier: str | None = ... - """ - The identifier for the source option group. - - Constraints: - - - Must specify a valid option group. - """ - target_option_group_identifier: str | None = ... - """ - The identifier for the copied option group. - - Constraints: - - - Can't be null, empty, or blank - - - Must contain from 1 to 255 letters, numbers, or hyphens - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Example: `my-option-group` - """ - target_option_group_description: str | None = ... - """The description for the copied option group.""" - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class CopyOptionGroupOutput(_SerdeShape): - """Dataclass for CopyOptionGroupOutput structure.""" - - option_group: OptionGroup | None = ... - """""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateBlueGreenDeploymentInput(_SerdeShape): - """Dataclass for CreateBlueGreenDeploymentInput structure.""" - - blue_green_deployment_name: str | None = ... - """ - The name of the blue/green deployment. - - Constraints: - - - Can't be the same as an existing blue/green deployment name in the - same account and Amazon Web Services Region. - """ - source: str | None = ... - """ - The Amazon Resource Name (ARN) of the source production database. - - Specify the database that you want to clone. The blue/green deployment - creates this database in the green environment. You can make updates to - the database in the green environment, such as an engine version - upgrade. When you are ready, you can switch the database in the green - environment to be the production database. - """ - target_engine_version: str | None = ... - """ - The engine version of the database in the green environment. - - Specify the engine version to upgrade to in the green environment. - """ - target_db_parameter_group_name: str | None = ... - """ - The DB parameter group associated with the DB instance in the green - environment. - - To test parameter changes, specify a DB parameter group that is - different from the one associated with the source DB instance. - """ - target_db_cluster_parameter_group_name: str | None = ... - """ - The DB cluster parameter group associated with the Aurora DB cluster in - the green environment. - - To test parameter changes, specify a DB cluster parameter group that is - different from the one associated with the source DB cluster. - """ - tags: list[Tag] | None = ... - """Tags to assign to the blue/green deployment.""" - target_db_instance_class: str | None = ... - """ - Specify the DB instance class for the databases in the green - environment. - - This parameter only applies to RDS DB instances, because DB instances - within an Aurora DB cluster can have multiple different instance - classes. If you're creating a blue/green deployment from an Aurora DB - cluster, don't specify this parameter. After the green environment is - created, you can individually modify the instance classes of the DB - instances within the green DB cluster. - """ - upgrade_target_storage_config: bool | None = ... - """ - Whether to upgrade the storage file system configuration on the green - database. This option migrates the green DB instance from the older - 32-bit file system to the preferred configuration. For more information, - see [Upgrading the storage file system for a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem). - """ - target_iops: int | None = ... - """ - The amount of Provisioned IOPS (input/output operations per second) to - allocate for the green DB instance. For information about valid IOPS - values, see [Amazon RDS DB instance - storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to Amazon Aurora blue/green deployments. - """ - target_storage_type: str | None = ... - """ - The storage type to associate with the green DB instance. - - Valid Values: `gp2 | gp3 | io1 | io2` - - This setting doesn't apply to Amazon Aurora blue/green deployments. - """ - target_allocated_storage: int | None = ... - """ - The amount of storage in gibibytes (GiB) to allocate for the green DB - instance. You can choose to increase or decrease the allocated storage - on the green DB instance. - - This setting doesn't apply to Amazon Aurora blue/green deployments. - """ - target_storage_throughput: int | None = ... - """ - The storage throughput value for the green DB instance. - - This setting applies only to the `gp3` storage type. - - This setting doesn't apply to Amazon Aurora blue/green deployments. - """ - target_resource_configurations: list[TargetResourceConfiguration] | None = ... - """ - Specifies resource-level configuration overrides for the green - environment. - - Each entry identifies a resource in the blue environment by its Amazon - Resource Name (ARN). It defines the desired configuration for the - corresponding resource in the green environment. Any resource that you - don't include in this parameter retains the same configuration as its - counterpart in the blue environment. - - Use this parameter when one or more resources in the green environment - require a different configuration than what they have in the blue - environment. - - Constraints: - - - You can't specify the same `SourceArn` in more than one entry. - """ - -@dataclass(kw_only=True) -class CreateBlueGreenDeploymentOutput(_SerdeShape): - """Dataclass for CreateBlueGreenDeploymentOutput structure.""" - - blue_green_deployment: BlueGreenDeployment | None = ... - """ - Details about a blue/green deployment. - - For more information, see [Using Amazon RDS Blue/Green Deployments for - database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) - in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green - Deployments for database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) - in the *Amazon Aurora User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCustomDBEngineVersionFault(ServiceError, _SerdeShape): - """An error occurred while trying to create the CEV.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateCustomDBEngineVersionInput(_SerdeShape): - """Dataclass for CreateCustomDBEngineVersionInput structure.""" - - engine: str | None = ... - """ - The database engine. - - RDS Custom for Oracle supports the following values: - - - `custom-oracle-ee` - - - `custom-oracle-ee-cdb` - - - `custom-oracle-se2` - - - `custom-oracle-se2-cdb` - - RDS Custom for SQL Server supports the following values: - - - `custom-sqlserver-ee` - - - `custom-sqlserver-se` - - - `custom-sqlserver-web` - - - `custom-sqlserver-dev` - - RDS for SQL Server supports the following values: - - - `sqlserver-ee` (Bring Your Own Media) - - - `sqlserver-se` (Bring Your Own Media) - - - `sqlserver-dev-ee` - """ - engine_version: str | None = ... - """ - The name of your custom engine version (CEV). - - For RDS Custom for Oracle, the name format is `19.*customized_string*`. - For example, a valid CEV name is `19.my_cev1`. - - For RDS Custom for SQL Server and RDS for SQL Server `sqlserver-dev-ee`, - the name format is - `*major_engine_version*.*minor_engine_version*.*customized_string*`. For - example, a valid CEV name is `16.00.4215.2.my_cev1`. - - For RDS for SQL Server Bring Your Own Media (`sqlserver-ee`, - `sqlserver-se`), specify the RDS engine version that you want to use. - For example, `16.00.4175.1.v1`. - - The CEV name is unique per customer per Amazon Web Services Regions. - """ - database_installation_files_s3_bucket_name: str | None = ... - """ - The name of an Amazon S3 bucket that contains database installation - files for your CEV. For example, a valid bucket name is - `my-custom-installation-files`. - """ - database_installation_files_s3_prefix: str | None = ... - """ - The Amazon S3 directory that contains the database installation files - for your CEV. For example, a valid bucket name is `123456789012/cev1`. - If this setting isn't specified, no prefix is assumed. - """ - database_installation_files: list[str] | None = ... - """ - The database installation files (ISO and EXE) uploaded to Amazon S3 for - your database engine version to import to Amazon RDS. - - For RDS for SQL Server Bring Your Own Media (`sqlserver-ee`, - `sqlserver-se`), provide the SQL Server RTM ISO file once per major - version and edition combination. Minor versions reuse the same file. - """ - image_id: str | None = ... - """ - The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, - an AMI ID is required to create a CEV. For RDS Custom for Oracle, the - default is the most recent AMI available, but you can specify an AMI ID - that was used in a different Oracle CEV. Find the AMIs used by your CEVs - by calling the - [DescribeDBEngineVersions](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBEngineVersions.html) - operation. - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted CEV. A - symmetric encryption KMS key is required for RDS Custom, but optional - for Amazon RDS. - - If you have an existing symmetric encryption KMS key in your account, - you can use it with RDS Custom. No further action is necessary. If you - don't already have a symmetric encryption KMS key in your account, - follow the instructions in [Creating a symmetric encryption KMS - key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html#create-symmetric-cmk) - in the *Amazon Web Services Key Management Service Developer Guide*. - - You can choose the same symmetric encryption key when you create a CEV - and a DB instance, or choose different keys. - """ - source_custom_db_engine_version_identifier: str | None = ... - """ - The ARN of a CEV to use as a source for creating a new CEV. You can - specify a different Amazon Machine Imagine (AMI) by using either - `Source` or `UseAwsProvidedLatestImage`. You can't specify a different - JSON manifest when you specify `SourceCustomDbEngineVersionIdentifier`. - """ - use_aws_provided_latest_image: bool | None = ... - """ - Specifies whether to use the latest service-provided Amazon Machine - Image (AMI) for the CEV. If you specify `UseAwsProvidedLatestImage`, you - can't also specify `ImageId`. - """ - description: str | None = ... - """An optional description of your CEV.""" - manifest: str | None = ... - """ - The CEV manifest, which is a JSON document that describes the - installation .zip files stored in Amazon S3. Specify the name/value - pairs in a file or a quoted string. RDS Custom applies the patches in - the order in which they are listed. - - The following JSON fields are valid: - - MediaImportTemplateVersion - - : Version of the CEV manifest. The date is in the format `YYYY-MM-DD`. - - databaseInstallationFileNames - - : Ordered list of installation files for the CEV. - - opatchFileNames - - : Ordered list of OPatch installers used for the Oracle DB engine. - - psuRuPatchFileNames - - : The PSU and RU patches for this CEV. - - OtherPatchFileNames - - : The patches that are not in the list of PSU and RU patches. Amazon RDS - applies these patches after applying the PSU and RU patches. - - For more information, see [Creating the CEV - manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.html#custom-cev.preparing.manifest) - in the *Amazon RDS User Guide*. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class CreateCustomDBEngineVersionOutput(_SerdeShape): - """ - This data type is used as a response element in the action - `DescribeDBEngineVersions`. - """ - - engine: str | None = ... - """The name of the database engine.""" - major_engine_version: str | None = ... - """The major engine version of the CEV.""" - engine_version: str | None = ... - """The version number of the database engine.""" - database_installation_files_s3_bucket_name: str | None = ... - """ - The name of the Amazon S3 bucket that contains your database - installation files. - """ - database_installation_files_s3_prefix: str | None = ... - """ - The Amazon S3 directory that contains the database installation files. - If not specified, then no prefix is assumed. - """ - database_installation_files: list[str] | None = ... - """ - The database installation files (ISO and EXE) that were uploaded to - Amazon S3 and used to import the database engine version to Amazon RDS. - Returned for RDS for SQL Server engine versions (`sqlserver-ee`, - `sqlserver-se`, and `sqlserver-dev-ee`) created from customer-supplied - installation media. - """ - custom_db_engine_version_manifest: str | None = ... - """ - JSON string that lists the installation files and parameters that RDS - Custom uses to create a custom engine version (CEV). RDS Custom applies - the patches in the order in which they're listed in the manifest. You - can set the Oracle home, Oracle base, and UNIX/Linux user and group - using the installation parameters. For more information, see [JSON - fields in the CEV - manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) - in the *Amazon RDS User Guide*. - """ - db_parameter_group_family: str | None = ... - """The name of the DB parameter group family for the database engine.""" - db_engine_description: str | None = ... - """The description of the database engine.""" - db_engine_version_arn: str | None = ... - """The ARN of the custom engine version.""" - db_engine_version_description: str | None = ... - """The description of the database engine version.""" - default_character_set: CharacterSet | None = ... - """ - The default character set for new instances of this engine version, if - the `CharacterSetName` parameter of the CreateDBInstance API isn't - specified. - """ - failure_reason: str | None = ... - """ - The reason that the custom engine version creation failed with an - `incompatible-installation-media` status. Applicable to RDS for SQL - Server engine versions (`sqlserver-ee`, `sqlserver-se`, and - `sqlserver-dev-ee`). - """ - image: CustomDBEngineVersionAMI | None = ... - """The EC2 image""" - db_engine_media_type: str | None = ... - """ - The source of the installation media for this engine version. A value of - `Customer Provided` indicates that the engine version was created from - customer-supplied installation media using - `CreateCustomDBEngineVersion`. Applicable to RDS Custom for SQL Server - and to RDS for SQL Server engine versions (`sqlserver-ee` and - `sqlserver-se` with the `bring-your-own-media` license model, and - `sqlserver-dev-ee`). - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted CEV. This - parameter is required for RDS Custom, but optional for Amazon RDS. - """ - create_time: datetime | None = ... - """The creation time of the DB engine version.""" - supported_character_sets: list[CharacterSet] | None = ... - """ - A list of the character sets supported by this engine for the - `CharacterSetName` parameter of the `CreateDBInstance` operation. - """ - supported_nchar_character_sets: list[CharacterSet] | None = ... - """ - A list of the character sets supported by the Oracle DB engine for the - `NcharCharacterSetName` parameter of the `CreateDBInstance` operation. - """ - valid_upgrade_target: list[UpgradeTarget] | None = ... - """ - A list of engine versions that this database engine version can be - upgraded to. - """ - supported_timezones: list[Timezone] | None = ... - """ - A list of the time zones supported by this engine for the `Timezone` - parameter of the `CreateDBInstance` action. - """ - exportable_log_types: list[str] | None = ... - """ - The types of logs that the database engine has available for export to - CloudWatch Logs. - """ - supports_log_exports_to_cloudwatch_logs: bool | None = ... - """ - Indicates whether the engine version supports exporting the log types - specified by ExportableLogTypes to CloudWatch Logs. - """ - supports_read_replica: bool | None = ... - """Indicates whether the database engine version supports read replicas.""" - supported_engine_modes: list[str] | None = ... - """A list of the supported DB engine modes.""" - supported_feature_names: list[str] | None = ... - """ - A list of features supported by the DB engine. - - The supported features vary by DB engine and DB engine version. - - To determine the supported features for a specific DB engine and DB - engine version using the CLI, use the following command: - - `aws rds describe-db-engine-versions --engine --engine-version ` - - For example, to determine the supported features for RDS for PostgreSQL - version 13.3 using the CLI, use the following command: - - `aws rds describe-db-engine-versions --engine postgres --engine-version 13.3` - - The supported features are listed under `SupportedFeatureNames` in the - output. - """ - status: str | None = ... - """The status of the DB engine version, either `available` or `deprecated`.""" - supports_parallel_query: bool | None = ... - """ - Indicates whether you can use Aurora parallel query with a specific DB - engine version. - """ - supports_global_databases: bool | None = ... - """ - Indicates whether you can use Aurora global databases with a specific DB - engine version. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - supports_babelfish: bool | None = ... - """ - Indicates whether the engine version supports Babelfish for Aurora - PostgreSQL. - """ - supports_limitless_database: bool | None = ... - """ - Indicates whether the DB engine version supports Aurora Limitless - Database. - """ - supports_certificate_rotation_without_restart: bool | None = ... - """ - Indicates whether the engine version supports rotating the server - certificate without rebooting the DB instance. - """ - supported_ca_certificate_identifiers: list[str] | None = ... - """ - A list of the supported CA certificate identifiers. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - supports_local_write_forwarding: bool | None = ... - """ - Indicates whether the DB engine version supports forwarding write - operations from reader DB instances to the writer DB instance in the DB - cluster. By default, write operations aren't allowed on reader DB - instances. - - Valid for: Aurora DB clusters only - """ - supports_integrations: bool | None = ... - """ - Indicates whether the DB engine version supports zero-ETL integrations - with Amazon Redshift. - """ - serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... - """ - Specifies any Aurora Serverless v2 properties or limits that differ - between Aurora engine versions. You can test the values of this - attribute when deciding which Aurora version to use in a new or upgraded - DB cluster. You can also retrieve the version of an existing DB cluster - and check whether that version supports certain Aurora Serverless v2 - features before you attempt to use those features. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBCapacityReservationInput(_SerdeShape): - """Dataclass for CreateDBCapacityReservationInput structure.""" - - db_capacity_reservation_name: str | None = ... - """ - The name of the DB capacity reservation. This name must be unique for - your Amazon Web Services account in the Amazon Web Services Region. - - Constraints: - - - Must contain from 1 to 63 lowercase letters, digits, or hyphens. - - - First character must be a lowercase letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - - Can't contain more than 16 groups of characters separated by hyphens. - - - Can't begin with `dbcr-`. - """ - db_instance_class: str | None = ... - """ - The compute and memory capacity to reserve, for example `db.m5.large`. - Not all DB instance classes are available in all Amazon Web Services - Regions, or for all database engines. For the full list of DB instance - classes, and availability for your engine, see [DB instance - classes](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide*. - - Constraints: - - - Must be a DB instance class that the specified `Engine` supports. - - - For RDS for Oracle with `LicenseModel` set to `license-included`, some - DB instance classes aren't supported. Either choose a supported DB - instance class, or set `LicenseModel` to `bring-your-own-license`. - """ - engine: str | None = ... - """ - The database engine to reserve capacity for. - - Valid Values: `aurora-mysql` | `aurora-postgresql` | `mysql` | - `postgres` | `mariadb` | `oracle-ee` | `oracle-ee-cdb` | - `oracle-se2` | `oracle-se2-cdb` | `sqlserver-ee` | `sqlserver-se` | - `sqlserver-web` | `sqlserver-ex` | `sqlserver-dev-ee` | - `sqlserver-dev-se` | `db2-ae` | `db2-ce` | `db2-se` - - Note: - The Developer Edition engines `sqlserver-dev-ee` and `sqlserver-dev-se` - support no Multi-AZ DB instance and no read replica. Therefore, a - reservation for either engine serves Single-AZ DB instances only. - """ - capacity_per_availability_zone: int | None = ... - """ - The number of DB instances to reserve in each Availability Zone that you - list in `AvailabilityZones`. Amazon RDS reserves this number of DB - instances in every listed Availability Zone. - - A Single-AZ DB instance uses one unit of reserved capacity, in one - Availability Zone. A Multi-AZ DB instance is one DB instance, and it - uses one unit of reserved capacity in each of two Availability Zones. - Therefore, a Multi-AZ DB instance uses two units in total. A read - replica uses one unit of reserved capacity, in the same way as any other - DB instance. - - Amazon RDS reserves capacity in each Availability Zone separately. - Reserved capacity in one Availability Zone can't serve a DB instance in - another Availability Zone. A request for a DB instance fails when the - Availability Zone of the DB instance has no available capacity. - - Therefore, set this value to the number of DB instances that you want to - run at the same time in one Availability Zone. Don't set it to the - number that you want in total. - - This value multiplied by the number of Availability Zones counts against - the DB instances quota for your Amazon Web Services account in the - Amazon Web Services Region. Your existing DB instances, and the unused - capacity of your other reservations, count against the same quota. - - To find the value of the DB instances quota, see [Quotas and constraints - for Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html) - in the *Amazon RDS User Guide*. - - Constraints: - - - Minimum 1. - """ - availability_zones: list[str] | None = ... - """ - A list of Availability Zones for the reservation. - - You can't change the Availability Zones of a reservation after you - create it. Reserved capacity in an Availability Zone that no DB instance - uses stays unused. - - Constraints: - - - Must specify one or more Availability Zones. - - - Each Availability Zone can appear only once. - - - Each Availability Zone must be in the Amazon Web Services Region of - the request. - - - Each Availability Zone must have capacity for the requested DB - instance class. - - - Must include two or more Availability Zones to use the reservation for - a Multi-AZ DB instance. - - - A DB instance can use reserved capacity only in an Availability Zone - that its DB subnet group covers. - - Example: `us-east-1a` - """ - end_date: datetime | None = ... - """ - The date and time when the reservation expires, in Universal Coordinated - Time (UTC). If you don't specify a value, the reservation doesn't - expire. - - To change the expiration of an existing reservation, use - `ModifyDBCapacityReservation`. That operation takes `EndDateType` along - with `EndDate`. - - Constraints: - - - Must be a date and time in the future. - - - For a future-dated reservation, must be at or after `StartDate` plus - `CommitmentDuration`. For example, a reservation that starts on - 2026-12-01 with a 30-day commitment can't expire before 2026-12-31. - To reserve capacity for one calendar month, set `CommitmentDuration` - to 30 days or fewer, not to the length of the month. - - Example: `2026-12-31T23:59:59Z` - """ - start_date: datetime | None = ... - """ - The date and time when the reservation starts, in Universal Coordinated - Time (UTC). Specify this parameter to create a future-dated reservation. - If you don't specify a value, the reservation starts immediately. - - A reservation that starts later always carries a capacity commitment. - Therefore, a request that specifies `StartDate` must also meet every - constraint of a future-dated reservation, including the minimum reserved - capacity in each Availability Zone. - - Constraints: - - - Must be from 5 to 120 days in the future. - - - You must also specify `CommitmentDuration`. - - Example: `2026-12-01T00:00:00Z` - """ - commitment_duration: int | None = ... - """ - The length of the capacity commitment that you request for a - future-dated reservation, in seconds. Amazon RDS measures this length - from `StartDate`. - - Note: - Amazon RDS can grant a shorter capacity commitment than you request. - Therefore, read `CommitmentEndDate` in `CommitmentInfo` for the - commitment that Amazon RDS granted. - - The commitment doesn't end the reservation. Specify `EndDate` to set an - expiration date. You can't cancel a reservation in the `active` state - during the commitment. - - Constraints: - - - Minimum 1209600, which is 14 days. For a `db.x` DB instance class, - such as `db.x2g.xlarge`, the minimum is 7257600, which is 84 days. - - - Must be less than 315576000, which is 10 years. - - - You must also specify `StartDate`. - - Example: `2592000` - """ - license_model: str | None = ... - """ - The license model to reserve capacity for. Specify this parameter only - for RDS for Microsoft SQL Server Enterprise Edition, Standard Edition, - and Developer Edition, for RDS for Oracle, or for RDS for Db2 Standard - Edition and Advanced Edition. Amazon RDS rejects the request for any - other engine. This includes Amazon Aurora, the Web and Express editions - of RDS for Microsoft SQL Server, and RDS for Db2 Community Edition. - - Valid Values: - - - RDS for Microsoft SQL Server Enterprise Edition and Standard Edition - - `license-included | bring-your-own-media` - - - RDS for Microsoft SQL Server Developer Edition - - `bring-your-own-license` - - - RDS for Oracle - `bring-your-own-license | license-included` - - - RDS for Db2 Standard Edition and Advanced Edition - - `bring-your-own-license | marketplace-license` - - A DB instance launches into the reservation only when the license model - of the DB instance matches the license model of the reservation. For a - reservation that holds no license model, Amazon RDS applies no license - model check at launch. - - For RDS for Microsoft SQL Server Enterprise Edition and Standard - Edition, if you don't specify a value, Amazon RDS uses - `license-included`. - - For RDS for Microsoft SQL Server Developer Edition, if you don't - specify a value, Amazon RDS uses `bring-your-own-license`. That is the - only license model that these engines accept, and Amazon RDS rejects any - other value. - - For RDS for Oracle, if you don't specify a value, Amazon RDS uses the - only orderable license model for the DB instance class. If more than one - license model is orderable, you must specify one. - - For RDS for Db2 Standard Edition and Advanced Edition, if you don't - specify a value, Amazon RDS uses `bring-your-own-license`. To reserve - capacity for Db2 DB instances that you license through Amazon Web - Services Marketplace, specify `marketplace-license`. - - Note: - For RDS for Oracle, the license models that you can reserve depend on - the engine and the DB instance class. RDS for Oracle Enterprise Edition - doesn't support `license-included`. - """ - tags: list[Tag] | None = ... - """Tags to assign to the DB capacity reservation.""" - -@dataclass(kw_only=True) -class CreateDBCapacityReservationOutput(_SerdeShape): - """Dataclass for CreateDBCapacityReservationOutput structure.""" - - db_capacity_reservation: DBCapacityReservation | None = ... - """Contains the details of the newly created DB capacity reservation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBClusterEndpointInput(_SerdeShape): - """Dataclass for CreateDBClusterEndpointInput structure.""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the DB cluster associated with the - endpoint. This parameter is stored as a lowercase string. - """ - db_cluster_endpoint_identifier: str | None = ... - """ - The identifier to use for the new endpoint. This parameter is stored as - a lowercase string. - """ - endpoint_type: str | None = ... - """The type of the endpoint, one of: `READER`, `WRITER`, `ANY`.""" - static_members: list[str] | None = ... - """ - List of DB instance identifiers that are part of the custom endpoint - group. - """ - excluded_members: list[str] | None = ... - """ - List of DB instance identifiers that aren't part of the custom endpoint - group. All other eligible instances are reachable through the custom - endpoint. This parameter is relevant only if the list of static members - is empty. - """ - tags: list[Tag] | None = ... - """The tags to be assigned to the Amazon RDS resource.""" - -@dataclass(kw_only=True) -class CreateDBClusterEndpointOutput(_SerdeShape): - """ - This data type represents the information you need to connect to an - Amazon Aurora DB cluster. This data type is used as a response element - in the following actions: - - - `CreateDBClusterEndpoint` - - - `DescribeDBClusterEndpoints` - - - `ModifyDBClusterEndpoint` - - - `DeleteDBClusterEndpoint` - - For the data structure that represents Amazon RDS DB instance endpoints, - see `Endpoint`. - """ - - db_cluster_endpoint_identifier: str | None = ... - """ - The identifier associated with the endpoint. This parameter is stored as - a lowercase string. - """ - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the DB cluster associated with the - endpoint. This parameter is stored as a lowercase string. - """ - db_cluster_endpoint_resource_identifier: str | None = ... - """ - A unique system-generated identifier for an endpoint. It remains the - same for the whole life of the endpoint. - """ - endpoint: str | None = ... - """The DNS address of the endpoint.""" - status: str | None = ... - """ - The current status of the endpoint. One of: `creating`, `available`, - `deleting`, `inactive`, `modifying`. The `inactive` state applies to an - endpoint that can't be used for a certain kind of cluster, such as a - `writer` endpoint for a read-only secondary cluster in a global - database. - """ - endpoint_type: str | None = ... - """The type of the endpoint. One of: `READER`, `WRITER`, `CUSTOM`.""" - custom_endpoint_type: str | None = ... - """ - The type associated with a custom endpoint. One of: `READER`, `WRITER`, - `ANY`. - """ - static_members: list[str] | None = ... - """ - List of DB instance identifiers that are part of the custom endpoint - group. - """ - excluded_members: list[str] | None = ... - """ - List of DB instance identifiers that aren't part of the custom endpoint - group. All other eligible instances are reachable through the custom - endpoint. Only relevant if the list of static members is empty. - """ - db_cluster_endpoint_arn: str | None = ... - """The Amazon Resource Name (ARN) for the endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBClusterInput(_SerdeShape): - """""" - - availability_zones: list[str] | None = ... - """ - A list of Availability Zones (AZs) where you specifically want to create - DB instances in the DB cluster. - - For the first three DB instances that you create, RDS distributes each - DB instance to a different AZ that you specify. For additional DB - instances that you create, RDS randomly distributes them to the AZs that - you specified. For example, if you create a DB cluster with one writer - instance and three reader instances, RDS might distribute the writer - instance to AZ 1, the first reader instance to AZ 2, the second reader - instance to AZ 3, and the third reader instance to either AZ 1, AZ 2, or - AZ 3. - - For more information, see [Availability - Zones](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html#Concepts.RegionsAndAvailabilityZones.AvailabilityZones) - and [High availability for Aurora DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Concepts.AuroraHighAvailability.Instances) - in the *Amazon Aurora User Guide*. - - Valid for Cluster Type: Aurora DB clusters only - - Constraints: - - - Can't specify more than three AZs. - """ - backup_retention_period: int | None = ... - """ - The number of days for which automated backups are retained. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Default: `1` - - Constraints: - - - Must be a value from 1 to 35. - """ - character_set_name: str | None = ... - """ - The name of the character set (`CharacterSet`) to associate the DB - cluster with. - - Valid for Cluster Type: Aurora DB clusters only - """ - database_name: str | None = ... - """ - The name for your database of up to 64 alphanumeric characters. A - database named `postgres` is always created. If this parameter is - specified, an additional database with this name is created. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - db_cluster_identifier: str | None = ... - """ - The identifier for this DB cluster. This parameter is stored as a - lowercase string. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must contain from 1 to 63 (for Aurora DB clusters) or 1 to 52 (for - Multi-AZ DB clusters) letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `my-cluster1` - """ - db_cluster_parameter_group_name: str | None = ... - """ - The name of the DB cluster parameter group to associate with this DB - cluster. If you don't specify a value, then the default DB cluster - parameter group for the specified DB engine and version is used. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - If supplied, must match the name of an existing DB cluster parameter - group. - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of EC2 VPC security groups to associate with this DB cluster. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - db_subnet_group_name: str | None = ... - """ - A DB subnet group to associate with this DB cluster. - - This setting is required to create a Multi-AZ DB cluster. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must match the name of an existing DB subnet group. - - Example: `mydbsubnetgroup` - """ - engine: str | None = ... - """ - The database engine to use for this DB cluster. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - - - `aurora-mysql` - - - `aurora-postgresql` - - - `mysql` - - - `postgres` - - - `neptune` - For information about using Amazon Neptune, see the - [*Amazon Neptune User - Guide*](https://docs.aws.amazon.com/neptune/latest/userguide/intro.html) - . - """ - engine_version: str | None = ... - """ - The version number of the database engine to use. - - To list all of the available engine versions for Aurora MySQL version 2 - (5.7-compatible) and version 3 (MySQL 8.0-compatible), use the following - command: - - `aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"` - - You can supply either `5.7` or `8.0` to use the default engine version - for Aurora MySQL version 2 or version 3, respectively. - - To list all of the available engine versions for Aurora PostgreSQL, use - the following command: - - `aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"` - - To list all of the available engine versions for RDS for MySQL, use the - following command: - - `aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"` - - To list all of the available engine versions for RDS for PostgreSQL, use - the following command: - - `aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"` - - For information about a specific engine, see the following topics: - - - Aurora MySQL - see [Database engine updates for Amazon Aurora - MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) - in the *Amazon Aurora User Guide*. - - - Aurora PostgreSQL - see [Amazon Aurora PostgreSQL releases and engine - versions](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html) - in the *Amazon Aurora User Guide*. - - - RDS for MySQL - see [Amazon RDS for - MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) - in the *Amazon RDS User Guide*. - - - RDS for PostgreSQL - see [Amazon RDS for - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) - in the *Amazon RDS User Guide*. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - port: int | None = ... - """ - The port number on which the instances in the DB cluster accept - connections. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: `1150-65535` - - Default: - - - RDS for MySQL and Aurora MySQL - `3306` - - - RDS for PostgreSQL and Aurora PostgreSQL - `5432` - """ - master_username: str | None = ... - """ - The name of the master user for the DB cluster. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must be 1 to 16 letters or numbers. - - - First character must be a letter. - - - Can't be a reserved word for the chosen database engine. - """ - master_user_password: str | None = ... - """ - The password for the master database user. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must contain from 8 to 41 characters. - - - Can contain any printable ASCII character except \"/\", \"\"\", or - \"@\". - - - Can't be specified if `ManageMasterUserPassword` is turned on. - """ - option_group_name: str | None = ... - """ - The option group to associate the DB cluster with. - - DB clusters are associated with a default option group that can't be - modified. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled using the `BackupRetentionPeriod` - parameter. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region. To view the time - blocks available, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) - in the *Amazon Aurora User Guide*. - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - preferred_maintenance_window: str | None = ... - """ - The weekly time range during which system maintenance can occur. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region, occurring on a random - day of the week. To see the time blocks available, see [Adjusting the - Preferred DB Cluster Maintenance - Window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) - in the *Amazon Aurora User Guide*. - - Constraints: - - - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. - - - Days must be one of `Mon | Tue | Wed | Thu | Fri | Sat | Sun`. - - - Must be in Universal Coordinated Time (UTC). - - - Must be at least 30 minutes. - """ - replication_source_identifier: str | None = ... - """ - The Amazon Resource Name (ARN) of the source DB instance or DB cluster - if this DB cluster is created as a read replica. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - tags: list[Tag] | None = ... - """ - Tags to assign to the DB cluster. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - storage_encrypted: bool | None = ... - """ - Specifies whether the DB cluster is encrypted. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted DB cluster. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - When a KMS key isn't specified in `KmsKeyId`: - - - If `ReplicationSourceIdentifier` identifies an encrypted source, then - Amazon RDS uses the KMS key used to encrypt the source. Otherwise, - Amazon RDS uses your default KMS key. - - - If the `StorageEncrypted` parameter is enabled and - `ReplicationSourceIdentifier` isn't specified, then Amazon RDS uses - your default KMS key. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - - If you create a read replica of an encrypted DB cluster in another - Amazon Web Services Region, make sure to set `KmsKeyId` to a KMS key - identifier that is valid in the destination Amazon Web Services Region. - This KMS key is used to encrypt the read replica in that Amazon Web - Services Region. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - pre_signed_url: str | None = ... - """ - When you are replicating a DB cluster from one Amazon Web Services - GovCloud (US) Region to another, an URL that contains a Signature - Version 4 signed request for the `CreateDBCluster` operation to be - called in the source Amazon Web Services Region where the DB cluster is - replicated from. Specify `PreSignedUrl` only when you are performing - cross-Region replication from an encrypted DB cluster. - - The presigned URL must be a valid request for the `CreateDBCluster` API - operation that can run in the source Amazon Web Services Region that - contains the encrypted DB cluster to copy. - - The presigned URL request must contain the following parameter values: - - - `KmsKeyId` - The KMS key identifier for the KMS key to use to encrypt - the copy of the DB cluster in the destination Amazon Web Services - Region. This should refer to the same KMS key for both the - `CreateDBCluster` operation that is called in the destination Amazon - Web Services Region, and the operation contained in the presigned URL. - - - `DestinationRegion` - The name of the Amazon Web Services Region that - Aurora read replica will be created in. - - - `ReplicationSourceIdentifier` - The DB cluster identifier for the - encrypted DB cluster to be copied. This identifier must be in the - Amazon Resource Name (ARN) format for the source Amazon Web Services - Region. For example, if you are copying an encrypted DB cluster from - the us-west-2 Amazon Web Services Region, then your - `ReplicationSourceIdentifier` would look like Example: - `arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1`. - - To learn how to generate a Signature Version 4 signed request, see - [Authenticating Requests: Using Query Parameters (Amazon Web Services - Signature Version - 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) - and [Signature Version 4 Signing - Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). - - Note: - If you are using an Amazon Web Services SDK tool or the CLI, you can - specify `SourceRegion` (or `--source-region` for the CLI) instead of - specifying `PreSignedUrl` manually. Specifying `SourceRegion` - autogenerates a presigned URL that is a valid request for the operation - that can run in the source Amazon Web Services Region. - - Valid for Cluster Type: Aurora DB clusters only - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - For more information, see [IAM Database - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon Aurora User Guide* or [IAM database authentication for - MariaDB, MySQL, and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide*. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - backtrack_window: int | None = ... - """ - The target backtrack window, in seconds. To disable backtracking, set - this value to `0`. - - Valid for Cluster Type: Aurora MySQL DB clusters only - - Default: `0` - - Constraints: - - - If specified, this value must be set to a number from 0 to 259,200 (72 - hours). - """ - enable_cloudwatch_logs_exports: list[str] | None = ... - """ - The list of log types that need to be enabled for exporting to - CloudWatch Logs. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - The following values are valid for each DB engine: - - - Aurora MySQL - - `audit | error | general | instance | slowquery | iam-db-auth-error` - - - Aurora PostgreSQL - `instance | postgresql | iam-db-auth-error` - - - RDS for MySQL - `error | general | slowquery | iam-db-auth-error` - - - RDS for PostgreSQL - `postgresql | upgrade | iam-db-auth-error` - - For more information about exporting CloudWatch Logs for Amazon RDS, see - [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - For more information about exporting CloudWatch Logs for Amazon Aurora, - see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon Aurora User Guide*. - """ - engine_mode: str | None = ... - """ - The DB engine mode of the DB cluster, either `provisioned` or - `serverless`. - - The `serverless` engine mode only applies for Aurora Serverless v1 DB - clusters. Aurora Serverless v2 DB clusters use the `provisioned` engine - mode. - - For information about limitations and requirements for Serverless DB - clusters, see the following sections in the *Amazon Aurora User Guide*: - - - [Limitations of Aurora Serverless - v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations) - - - [Requirements for Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html) - - Valid for Cluster Type: Aurora DB clusters only - """ - scaling_configuration: ScalingConfiguration | None = ... - """ - For DB clusters in `serverless` DB engine mode, the scaling properties - of the DB cluster. - - Valid for Cluster Type: Aurora DB clusters only - """ - rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... - """Reserved for future use.""" - db_cluster_instance_class: str | None = ... - """ - The compute and memory capacity of each DB instance in the Multi-AZ DB - cluster, for example `db.m6gd.xlarge`. Not all DB instance classes are - available in all Amazon Web Services Regions, or for all database - engines. - - For the full list of DB instance classes and availability for your - engine, see [DB instance - class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide*. - - This setting is required to create a Multi-AZ DB cluster. - - Valid for Cluster Type: Multi-AZ DB clusters only - """ - allocated_storage: int | None = ... - """ - The amount of storage in gibibytes (GiB) to allocate to each DB instance - in the Multi-AZ DB cluster. - - Valid for Cluster Type: Multi-AZ DB clusters only - - This setting is required to create a Multi-AZ DB cluster. - """ - storage_type: str | None = ... - """ - The storage type to associate with the DB cluster. - - For information on storage types for Aurora DB clusters, see [Storage - configurations for Amazon Aurora DB - clusters](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type). - For information on storage types for Multi-AZ DB clusters, see [Settings - for creating Multi-AZ DB - clusters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html#create-multi-az-db-cluster-settings). - - This setting is required to create a Multi-AZ DB cluster. - - When specified for a Multi-AZ DB cluster, a value for the `Iops` - parameter is required. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - - - Aurora DB clusters - `aurora | aurora-iopt1` - - - Multi-AZ DB clusters - `io1 | io2 | gp3` - - Default: - - - Aurora DB clusters - `aurora` - - - Multi-AZ DB clusters - `io1` - - Note: - When you create an Aurora DB cluster with the storage type set to - `aurora-iopt1`, the storage type is returned in the response. The - storage type isn't returned when you set it to `aurora`. - """ - iops: int | None = ... - """ - The amount of Provisioned IOPS (input/output operations per second) to - be initially allocated for each DB instance in the Multi-AZ DB cluster. - - For information about valid IOPS values, see [Provisioned IOPS - storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) - in the *Amazon RDS User Guide*. - - This setting is required to create a Multi-AZ DB cluster. - - Valid for Cluster Type: Multi-AZ DB clusters only - - Constraints: - - - Must be a multiple between .5 and 50 of the storage amount for the DB - cluster. - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB cluster is publicly accessible. - - Valid for Cluster Type: Multi-AZ DB clusters only - - When the DB cluster is publicly accessible and you connect from outside - of the DB cluster's virtual private cloud (VPC), its domain name system - (DNS) endpoint resolves to the public IP address. When you connect from - within the same VPC as the DB cluster, the endpoint resolves to the - private IP address. Access to the DB cluster is controlled by its - security group settings. - - When the DB cluster isn't publicly accessible, it is an internal DB - cluster with a DNS name that resolves to a private IP address. - - The default behavior when `PubliclyAccessible` is not specified depends - on whether a `DBSubnetGroup` is specified. - - If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to - `true`. - - If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to - `false` unless the value of `DBSubnetGroup` is `default`, in which case - `PubliclyAccessible` defaults to `true`. - - If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup` is - in doesn't have an internet gateway attached to it, Amazon RDS returns - an error. - """ - auto_minor_version_upgrade: bool | None = ... - """ - Specifies whether minor engine upgrades are applied automatically to the - DB cluster during the maintenance window. By default, minor engine - upgrades are applied automatically. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - deletion_protection: bool | None = ... - """ - Specifies whether the DB cluster has deletion protection enabled. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - global_cluster_identifier: str | None = ... - """ - The global cluster ID of an Aurora cluster that becomes the primary - cluster in the new global database cluster. - - Valid for Cluster Type: Aurora DB clusters only - """ - enable_http_endpoint: bool | None = ... - """ - Specifies whether to enable the HTTP endpoint for the DB cluster. By - default, the HTTP endpoint isn't enabled. - - When enabled, the HTTP endpoint provides a connectionless web service - API (RDS Data API) for running SQL queries on the DB cluster. You can - also query your database from inside the RDS console with the RDS query - editor. - - For more information, see [Using RDS Data - API](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) - in the *Amazon Aurora User Guide*. - - Valid for Cluster Type: Aurora DB clusters only - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the DB cluster to snapshots of - the DB cluster. The default is not to copy them. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - domain: str | None = ... - """ - The Active Directory directory ID to create the DB cluster in. - - For Amazon Aurora DB clusters, Amazon RDS can use Kerberos - authentication to authenticate users that connect to the DB cluster. - - For more information, see [Kerberos - authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) - in the *Amazon Aurora User Guide*. - - Valid for Cluster Type: Aurora DB clusters only - """ - domain_iam_role_name: str | None = ... - """ - The name of the IAM role to use when making API calls to the Directory - Service. - - Valid for Cluster Type: Aurora DB clusters only - """ - enable_global_write_forwarding: bool | None = ... - """ - Specifies whether to enable this DB cluster to forward write operations - to the primary cluster of a global cluster (Aurora global database). By - default, write operations are not allowed on Aurora DB clusters that are - secondary clusters in an Aurora global database. - - You can set this value only on Aurora DB clusters that are members of an - Aurora global database. With this parameter enabled, a secondary cluster - can forward writes to the current primary cluster, and the resulting - changes are replicated back to this cluster. For the primary DB cluster - of an Aurora global database, this value is used immediately if the - primary is demoted by a global cluster API operation, but it does - nothing until then. - - Valid for Cluster Type: Aurora DB clusters only - """ - network_type: str | None = ... - """ - The network type of the DB cluster. - - The network type is determined by the `DBSubnetGroup` specified for the - DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon Aurora User Guide.* - - Valid for Cluster Type: Aurora DB clusters only - - Valid Values: `IPV4 | DUAL` - """ - serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... - """ - Contains the scaling configuration of an Aurora Serverless v2 DB - cluster. - - For more information, see [Using Amazon Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the *Amazon Aurora User Guide*. - """ - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the DB cluster. To turn off collecting - Enhanced Monitoring metrics, specify `0`. - - If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to a - value other than `0`. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` - - Default: `0` - """ - monitoring_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send - Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is - `arn:aws:iam:123456789012:role/emaccess`. For information on creating a - monitoring role, see [Setting up and enabling Enhanced - Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) - in the *Amazon RDS User Guide*. - - If `MonitoringInterval` is set to a value other than `0`, supply a - `MonitoringRoleArn` value. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - database_insights_mode: str | None = ... - """ - The mode of Database Insights to enable for the DB cluster. - - If you set this value to `advanced`, you must also set the - `PerformanceInsightsEnabled` parameter to `true` and the - `PerformanceInsightsRetentionPeriod` parameter to 465. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - enable_performance_insights: bool | None = ... - """ - Specifies whether to turn on Performance Insights for the DB cluster. - - For more information, see [Using Amazon Performance - Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the *Amazon RDS User Guide*. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - If you don't specify a value for `PerformanceInsightsKMSKeyId`, then - Amazon RDS uses your default KMS key. There is a default KMS key for - your Amazon Web Services account. Your Amazon Web Services account has a - different default KMS key for each Amazon Web Services Region. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - - - `7` - - - *month* * 31, where *month* is a number of months from 1-23. - Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 - months * 31) - - - `731` - - Default: `7` days - - If you specify a retention period that isn't valid, such as `94`, - Amazon RDS issues an error. - """ - enable_limitless_database: bool | None = ... - """ - Specifies whether to enable Aurora Limitless Database. You must enable - Aurora Limitless Database to create a DB shard group. - - Valid for: Aurora DB clusters only - - Note: - This setting is no longer used. Instead use the `ClusterScalabilityType` - setting. - """ - cluster_scalability_type: str | None = ... - """ - Specifies the scalability mode of the Aurora DB cluster. When set to - `limitless`, the cluster operates as an Aurora Limitless Database. When - set to `standard` (the default), the cluster uses normal DB instance - creation. - - Valid for: Aurora DB clusters only - - Note: - You can't modify this setting after you create the DB cluster. - """ - db_system_id: str | None = ... - """Reserved for future use.""" - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide* and [Password management with Amazon Web - Services Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the *Amazon Aurora User Guide.* - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Can't manage the master user password with Amazon Web Services - Secrets Manager if `MasterUserPassword` is specified. - """ - enable_local_write_forwarding: bool | None = ... - """ - Specifies whether read replicas can forward write operations to the - writer DB instance in the DB cluster. By default, write operations - aren't allowed on reader DB instances. - - Valid for: Aurora DB clusters only - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB cluster. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - If you don't specify `MasterUserSecretKmsKeyId`, then the - `aws/secretsmanager` KMS key is used to encrypt the secret. If the - secret is in a different Amazon Web Services account, then you can't - use the `aws/secretsmanager` KMS key to encrypt the secret, and you must - use a customer managed KMS key. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - ca_certificate_identifier: str | None = ... - """ - The CA certificate identifier to use for the DB cluster's server - certificate. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide*. - - Valid for Cluster Type: Multi-AZ DB clusters - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB cluster. - - Note: - By default, this value is set to `open-source-rds-extended-support`, - which enrolls your DB cluster into Amazon RDS Extended Support. At the - end of standard support, you can avoid charges for Extended Support by - setting the value to `open-source-rds-extended-support-disabled`. In - this case, creating the DB cluster will fail if the DB major version is - past its end of standard support date. - - You can use this setting to enroll your DB cluster into Amazon RDS - Extended Support. With RDS Extended Support, you can run the selected - major engine version on your DB cluster past the end of standard support - for that engine version. For more information, see the following - sections: - - - Amazon Aurora - [Amazon RDS Extended Support with Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) - in the *Amazon Aurora User Guide* - - - Amazon RDS - [Amazon RDS Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide* - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - Default: `open-source-rds-extended-support` - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB cluster. - - Valid Values: - - - `cluster-auto-backup` - The DB cluster's automated backup. - """ - master_user_authentication_type: str | None = ... - """ - Specifies the authentication type for the master user. With IAM master - user authentication, you can configure the master DB user with IAM - database authentication when you create a DB cluster. - - You can specify one of the following values: - - - `password` - Use standard database authentication with a password. - - - `iam-db-auth` - Use IAM database authentication for the master user. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL - engines. - """ - with_express_configuration: bool | None = ... - """ - Specifies to create an Aurora DB Cluster with express configuration in - seconds. Express configuration provides a cluster with a writer instance - and feature specific values set to all other input parameters of this - API. - - Valid for Cluster Type: Aurora DB clusters - """ - associated_roles: list[DBClusterAssociatedRole] | None = ... - """ - A list of Amazon Web Services Identity and Access Management (IAM) roles - to associate with the DB cluster. Each role grants the DB cluster - permission to access other Amazon Web Services on your behalf. For each - role, specify a role ARN and, optionally, the feature name (such as - `s3Import`, `s3Export`, or `Lambda`). - - Valid for Cluster Type: Aurora DB clusters only - """ - -@dataclass(kw_only=True) -class CreateDBClusterOutput(_SerdeShape): - """Dataclass for CreateDBClusterOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBClusterParameterGroupInput(_SerdeShape): - """""" - - db_cluster_parameter_group_name: str | None = ... - """ - The name of the DB cluster parameter group. - - Constraints: - - - Must not match the name of an existing DB cluster parameter group. - - Note: - This value is stored as a lowercase string. - """ - db_parameter_group_family: str | None = ... - """ - The DB cluster parameter group family name. A DB cluster parameter group - can be associated with one and only one DB cluster parameter group - family, and can be applied only to a DB cluster running a database - engine and engine version compatible with that DB cluster parameter - group family. - - **Aurora MySQL** - - Example: `aurora-mysql5.7`, `aurora-mysql8.0` - - **Aurora PostgreSQL** - - Example: `aurora-postgresql14` - - **RDS for MySQL** - - Example: `mysql8.0` - - **RDS for PostgreSQL** - - Example: `postgres13` - - To list all of the available parameter group families for a DB engine, - use the following command: - - `aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine ` - - For example, to list all of the available parameter group families for - the Aurora PostgreSQL DB engine, use the following command: - - `aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine aurora-postgresql` - - Note: - The output contains duplicates. - - The following are the valid DB engine values: - - - `aurora-mysql` - - - `aurora-postgresql` - - - `mysql` - - - `postgres` - """ - description: str | None = ... - """The description for the DB cluster parameter group.""" - tags: list[Tag] | None = ... - """Tags to assign to the DB cluster parameter group.""" - -@dataclass(kw_only=True) -class CreateDBClusterParameterGroupOutput(_SerdeShape): - """Dataclass for CreateDBClusterParameterGroupOutput structure.""" - - db_cluster_parameter_group: DBClusterParameterGroup | None = ... - """ - Contains the details of an Amazon RDS DB cluster parameter group. - - This data type is used as a response element in the - `DescribeDBClusterParameterGroups` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBClusterSnapshotInput(_SerdeShape): - """""" - - db_cluster_snapshot_identifier: str | None = ... - """ - The identifier of the DB cluster snapshot. This parameter is stored as a - lowercase string. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `my-cluster1-snapshot1` - """ - db_cluster_identifier: str | None = ... - """ - The identifier of the DB cluster to create a snapshot for. This - parameter isn't case-sensitive. - - Constraints: - - - Must match the identifier of an existing DBCluster. - - Example: `my-cluster1` - """ - tags: list[Tag] | None = ... - """The tags to be assigned to the DB cluster snapshot.""" - -@dataclass(kw_only=True) -class CreateDBClusterSnapshotOutput(_SerdeShape): - """Dataclass for CreateDBClusterSnapshotOutput structure.""" - - db_cluster_snapshot: DBClusterSnapshot | None = ... - """ - Contains the details for an Amazon RDS DB cluster snapshot - - This data type is used as a response element in the - `DescribeDBClusterSnapshots` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBInstanceInput(_SerdeShape): - """""" - - db_name: str | None = ... - """ - The meaning of this parameter differs according to the database engine - you use. - - Amazon Aurora MySQL - - : The name of the database to create when the primary DB instance of the - Aurora MySQL DB cluster is created. If this parameter isn't specified - for an Aurora MySQL DB cluster, no database is created in the DB - cluster. - - Constraints: - - - Must contain 1 to 64 alphanumeric characters. - - - Must begin with a letter. Subsequent characters can be letters, - underscores, or digits (0-9). - - - Can't be a word reserved by the database engine. - - Amazon Aurora PostgreSQL - - : The name of the database to create when the primary DB instance of the - Aurora PostgreSQL DB cluster is created. A database named `postgres` - is always created. If this parameter is specified, an additional - database with this name is created. - - Constraints: - - - It must contain 1 to 63 alphanumeric characters. - - - Must begin with a letter. Subsequent characters can be letters, - underscores, or digits (0 to 9). - - - Can't be a word reserved by the database engine. - - Amazon RDS Custom for Oracle - - : The Oracle System ID (SID) of the created RDS Custom DB instance. If - you don't specify a value, the default value is `ORCL` for non-CDBs - and `RDSCDB` for CDBs. - - Default: `ORCL` - - Constraints: - - - Must contain 1 to 8 alphanumeric characters. - - - Must contain a letter. - - - Can't be a word reserved by the database engine. - - Amazon RDS Custom for SQL Server - - : Not applicable. Must be null. - - RDS for Db2 - - : The name of the database to create when the DB instance is created. If - this parameter isn't specified, no database is created in the DB - instance. In some cases, we recommend that you don't add a database - name. For more information, see [Additional - considerations](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-db-instance-prereqs.html#db2-prereqs-additional-considerations) - in the *Amazon RDS User Guide*. - - Constraints: - - - Must contain 1 to 64 letters or numbers. - - - Must begin with a letter. Subsequent characters can be letters, - underscores, or digits (0-9). - - - Can't be a word reserved by the specified database engine. - - RDS for MariaDB - - : The name of the database to create when the DB instance is created. If - this parameter isn't specified, no database is created in the DB - instance. - - Constraints: - - - Must contain 1 to 64 letters or numbers. - - - Must begin with a letter. Subsequent characters can be letters, - underscores, or digits (0-9). - - - Can't be a word reserved by the specified database engine. - - RDS for MySQL - - : The name of the database to create when the DB instance is created. If - this parameter isn't specified, no database is created in the DB - instance. - - Constraints: - - - Must contain 1 to 64 letters or numbers. - - - Must begin with a letter. Subsequent characters can be letters, - underscores, or digits (0-9). - - - Can't be a word reserved by the specified database engine. - - RDS for Oracle - - : The Oracle System ID (SID) of the created DB instance. If you don't - specify a value, the default value is `ORCL`. You can't specify the - string `null`, or any other reserved word, for `DBName`. - - Default: `ORCL` - - Constraints: - - - Can't be longer than 8 characters. - - RDS for PostgreSQL - - : The name of the database to create when the DB instance is created. A - database named `postgres` is always created. If this parameter is - specified, an additional database with this name is created. - - Constraints: - - - Must contain 1 to 63 letters, numbers, or underscores. - - - Must begin with a letter. Subsequent characters can be letters, - underscores, or digits (0-9). - - - Can't be a word reserved by the specified database engine. - - RDS for SQL Server - - : Not applicable. Must be null. - """ - db_instance_identifier: str | None = ... - """ - The identifier for this DB instance. This parameter is stored as a - lowercase string. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `mydbinstance` - """ - allocated_storage: int | None = ... - """ - The amount of storage in gibibytes (GiB) to allocate for the DB - instance. - - This setting doesn't apply to Amazon Aurora DB instances. Aurora - cluster volumes automatically grow as the amount of data in your - database increases, though you are only charged for the space that you - use in an Aurora cluster volume. - - Amazon RDS Custom - - : Constraints to the amount of storage for each storage type are the - following: - - - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 - to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL - Server. - - - Provisioned IOPS storage (io1, io2): Must be an integer from 40 to - 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL - Server. - - RDS for Db2 - - : Constraints to the amount of storage for each storage type are the - following: - - - General Purpose (SSD) storage (gp3): Must be an integer from 20 to - 65536. - - - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to - 65536. - - RDS for MariaDB - - : Constraints to the amount of storage for each storage type are the - following: - - - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 - to 65536. - - - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to - 65536. - - - Magnetic storage (standard): Must be an integer from 5 to 3072. - - RDS for MySQL - - : Constraints to the amount of storage for each storage type are the - following: - - - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 - to 65536. - - - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to - 65536. - - - Magnetic storage (standard): Must be an integer from 5 to 3072. - - RDS for Oracle - - : Constraints to the amount of storage for each storage type are the - following: - - - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 - to 65536. - - - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to - 65536. - - - Magnetic storage (standard): Must be an integer from 10 to 3072. - - RDS for PostgreSQL - - : Constraints to the amount of storage for each storage type are the - following: - - - General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 - to 65536. - - - Provisioned IOPS storage (io1, io2): Must be an integer from 100 to - 65536. - - - Magnetic storage (standard): Must be an integer from 5 to 3072. - - RDS for SQL Server - - : Constraints to the amount of storage for each storage type are the - following: - - - General Purpose (SSD) storage (gp2, gp3): - - - Enterprise and Standard editions: Must be an integer from 20 to - 16384. - - - Web and Express editions: Must be an integer from 20 to 16384. - - - Provisioned IOPS storage (io1, io2): - - - Enterprise and Standard editions: Must be an integer from 100 to - 16384. - - - Web and Express editions: Must be an integer from 100 to 16384. - - - Magnetic storage (standard): - - - Enterprise and Standard editions: Must be an integer from 20 to - 1024. - - - Web and Express editions: Must be an integer from 20 to 1024. - """ - db_instance_class: str | None = ... - """ - The compute and memory capacity of the DB instance, for example - `db.m5.large`. Not all DB instance classes are available in all Amazon - Web Services Regions, or for all database engines. For the full list of - DB instance classes, and availability for your engine, see [DB instance - classes](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide* or [Aurora DB instance - classes](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html) - in the *Amazon Aurora User Guide*. - """ - engine: str | None = ... - """ - The database engine to use for this DB instance. - - Not every database engine is available in every Amazon Web Services - Region. - - Valid Values: - - - `aurora-mysql` (for Aurora MySQL DB instances) - - - `aurora-postgresql` (for Aurora PostgreSQL DB instances) - - - `custom-oracle-ee` (for RDS Custom for Oracle DB instances) - - - `custom-oracle-ee-cdb` (for RDS Custom for Oracle DB instances) - - - `custom-oracle-se2` (for RDS Custom for Oracle DB instances) - - - `custom-oracle-se2-cdb` (for RDS Custom for Oracle DB instances) - - - `custom-sqlserver-ee` (for RDS Custom for SQL Server DB instances) - - - `custom-sqlserver-se` (for RDS Custom for SQL Server DB instances) - - - `custom-sqlserver-web` (for RDS Custom for SQL Server DB instances) - - - `custom-sqlserver-dev` (for RDS Custom for SQL Server DB instances) - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-dev-ee` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - """ - master_username: str | None = ... - """ - The name for the master user. - - This setting doesn't apply to Amazon Aurora DB instances. The name for - the master user is managed by the DB cluster. - - This setting is required for RDS DB instances. - - Constraints: - - - Must be 1 to 16 letters, numbers, or underscores. - - - First character must be a letter. - - - Can't be a reserved word for the chosen database engine. - """ - master_user_password: str | None = ... - """ - The password for the master user. - - This setting doesn't apply to Amazon Aurora DB instances. The password - for the master user is managed by the DB cluster. - - Constraints: - - - Can't be specified if `ManageMasterUserPassword` is turned on. - - - Can include any printable ASCII character except \"/\", \"\"\", or - \"@\". For RDS for Oracle, can't include the \"&\" (ampersand) or the - \"'\" (single quotes) character. - - Length Constraints: - - - RDS for Db2 - Must contain from 8 to 255 characters. - - - RDS for MariaDB - Must contain from 8 to 41 characters. - - - RDS for Microsoft SQL Server - Must contain from 8 to 128 characters. - - - RDS for MySQL - Must contain from 8 to 41 characters. - - - RDS for Oracle - Must contain from 8 to 30 characters. - - - RDS for PostgreSQL - Must contain from 8 to 128 characters. - """ - db_security_groups: list[str] | None = ... - """ - A list of DB security groups to associate with this DB instance. - - This setting applies to the legacy EC2-Classic platform, which is no - longer used to create new DB instances. Use the `VpcSecurityGroupIds` - setting instead. - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of Amazon EC2 VPC security groups to associate with this DB - instance. - - This setting doesn't apply to Amazon Aurora DB instances. The - associated list of EC2 VPC security groups is managed by the DB cluster. - - Default: The default EC2 VPC security group for the DB subnet group's - VPC. - """ - availability_zone: str | None = ... - """ - The Availability Zone (AZ) where the database will be created. For - information on Amazon Web Services Regions and Availability Zones, see - [Regions and Availability - Zones](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). - - For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in - three separate Availability Zones. Specify one of these Availability - Zones. Aurora automatically chooses an appropriate Availability Zone if - you don't specify one. - - Default: A random, system-chosen Availability Zone in the endpoint's - Amazon Web Services Region. - - Constraints: - - - The `AvailabilityZone` parameter can't be specified if the DB - instance is a Multi-AZ deployment. - - - The specified Availability Zone must be in the same Amazon Web - Services Region as the current endpoint. - - Example: `us-east-1d` - """ - db_subnet_group_name: str | None = ... - """ - A DB subnet group to associate with this DB instance. - - Constraints: - - - Must match the name of an existing DB subnet group. - - Example: `mydbsubnetgroup` - """ - preferred_maintenance_window: str | None = ... - """ - The time range each week during which system maintenance can occur. For - more information, see [Amazon RDS Maintenance - Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance) - in the *Amazon RDS User Guide.* - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region, occurring on a random - day of the week. - - Constraints: - - - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. - - - The day values must be `mon | tue | wed | thu | fri | sat | sun`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred backup window. - - - Must be at least 30 minutes. - """ - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group to associate with this DB instance. - If you don't specify a value, then Amazon RDS uses the default DB - parameter group for the specified DB engine and version. - - This setting doesn't apply to RDS Custom DB instances. - - Constraints: - - - Must be 1 to 255 letters, numbers, or hyphens. - - - The first character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - """ - backup_retention_period: int | None = ... - """ - The number of days for which automated backups are retained. Setting - this parameter to a positive number enables backups. Setting this - parameter to `0` disables automated backups. - - This setting doesn't apply to Amazon Aurora DB instances. The retention - period for automated backups is managed by the DB cluster. - - Default: `1` - - Constraints: - - - Must be a value from 0 to 35. - - - Can't be set to 0 if the DB instance is a source to read replicas. - - - Can't be set to 0 for an RDS Custom for Oracle DB instance. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, using the `BackupRetentionPeriod` - parameter. The default is a 30-minute window selected at random from an - 8-hour block of time for each Amazon Web Services Region. For more - information, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to Amazon Aurora DB instances. The daily - time range for creating automated backups is managed by the DB cluster. - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - port: int | None = ... - """ - The port number on which the database accepts connections. - - This setting doesn't apply to Aurora DB instances. The port number is - managed by the cluster. - - Valid Values: `1150-65535` - - Default: - - - RDS for Db2 - `50000` - - - RDS for MariaDB - `3306` - - - RDS for Microsoft SQL Server - `1433` - - - RDS for MySQL - `3306` - - - RDS for Oracle - `1521` - - - RDS for PostgreSQL - `5432` - - Constraints: - - - For RDS for Microsoft SQL Server, the value can't be `1234`, `1434`, - `3260`, `3343`, `3389`, `47001`, or `49152-49156`. - """ - multi_az: bool | None = ... - """ - Specifies whether the DB instance is a Multi-AZ deployment. You can't - set the `AvailabilityZone` parameter if the DB instance is a Multi-AZ - deployment. - - This setting doesn't apply to Amazon Aurora because the DB instance - Availability Zones (AZs) are managed by the DB cluster. - """ - engine_version: str | None = ... - """ - The version number of the database engine to use. - - This setting doesn't apply to Amazon Aurora DB instances. The version - number of the database engine the DB instance uses is managed by the DB - cluster. - - For a list of valid engine versions, use the `DescribeDBEngineVersions` - operation. - - The following are the database engines and links to information about - the major and minor versions that are available with Amazon RDS. Not - every database engine is available for every Amazon Web Services Region. - - Amazon RDS Custom for Oracle - - : A custom engine version (CEV) that you have previously created. This - setting is required for RDS Custom for Oracle. The CEV name has the - following format: 19.*customized_string*. A valid CEV name is - `19.my_cev1`. For more information, see [Creating an RDS Custom for - Oracle DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-creating.html#custom-creating.create) - in the *Amazon RDS User Guide*. - - Amazon RDS Custom for SQL Server - - : See [RDS Custom for SQL Server general - requirements](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html) - in the *Amazon RDS User Guide*. - - RDS for Db2 - - : For information, see [Db2 on Amazon RDS - versions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Db2.html#Db2.Concepts.VersionMgmt) - in the *Amazon RDS User Guide*. - - RDS for MariaDB - - : For information, see [MariaDB on Amazon RDS - versions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt) - in the *Amazon RDS User Guide*. - - RDS for Microsoft SQL Server - - : For information, see [Microsoft SQL Server versions on Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport) - in the *Amazon RDS User Guide*. - - RDS for MySQL - - : For information, see [MySQL on Amazon RDS - versions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) - in the *Amazon RDS User Guide*. - - RDS for Oracle - - : For information, see [Oracle Database Engine release - notes](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html) - in the *Amazon RDS User Guide*. - - RDS for PostgreSQL - - : For information, see [Amazon RDS for PostgreSQL versions and - extensions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) - in the *Amazon RDS User Guide*. - """ - auto_minor_version_upgrade: bool | None = ... - """ - Specifies whether minor engine upgrades are applied automatically to the - DB instance during the maintenance window. By default, minor engine - upgrades are applied automatically. - - If you create an RDS Custom DB instance, you must set - `AutoMinorVersionUpgrade` to `false`. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - license_model: str | None = ... - """ - The license model information for this DB instance. - - Note: - License models for RDS for Db2 require additional configuration. The - bring your own license (BYOL) model requires a custom parameter group - and an Amazon Web Services License Manager self-managed license. The Db2 - license through Amazon Web Services Marketplace model requires an Amazon - Web Services Marketplace subscription. For more information, see [Amazon - RDS for Db2 licensing - options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html) - in the *Amazon RDS User Guide*. - - The default for RDS for Db2 is `bring-your-own-license`. - - This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. - - Valid Values: - - - RDS for Db2 - `bring-your-own-license | marketplace-license` - - - RDS for MariaDB - `general-public-license` - - - RDS for Microsoft SQL Server - - `license-included | bring-your-own-media` - - - RDS for MySQL - `general-public-license` - - - RDS for Oracle - `bring-your-own-license | license-included` - - - RDS for PostgreSQL - `postgresql-license` - """ - iops: int | None = ... - """ - The amount of Provisioned IOPS (input/output operations per second) to - initially allocate for the DB instance. For information about valid IOPS - values, see [Amazon RDS DB instance - storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to Amazon Aurora DB instances. Storage is - managed by the DB cluster. - - Constraints: - - - For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a - multiple between .5 and 50 of the storage amount for the DB instance. - - - For RDS for SQL Server - Must be a multiple between 1 and 50 of the - storage amount for the DB instance. - """ - storage_throughput: int | None = ... - """ - The storage throughput value, in mebibyte per second (MiBps), for the DB - instance. - - This setting applies only to the `gp3` storage type. - - This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. - """ - option_group_name: str | None = ... - """ - The option group to associate the DB instance with. - - Permanent options, such as the TDE option for Oracle Advanced Security - TDE, can't be removed from an option group. Also, that option group - can't be removed from a DB instance after it is associated with a DB - instance. - - This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. - """ - character_set_name: str | None = ... - """ - For supported engines, the character set (`CharacterSet`) to associate - the DB instance with. - - This setting doesn't apply to the following DB instances: - - - Amazon Aurora - The character set is managed by the DB cluster. For - more information, see `CreateDBCluster`. - - - RDS Custom - However, if you need to change the character set, you can - change it on the database itself. - """ - nchar_character_set_name: str | None = ... - """ - The name of the NCHAR character set for the Oracle DB instance. - - This setting doesn't apply to RDS Custom DB instances. - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB instance is publicly accessible. - - When the DB instance is publicly accessible and you connect from outside - of the DB instance's virtual private cloud (VPC), its domain name - system (DNS) endpoint resolves to the public IP address. When you - connect from within the same VPC as the DB instance, the endpoint - resolves to the private IP address. Access to the DB instance is - controlled by its security group settings. - - When the DB instance isn't publicly accessible, it is an internal DB - instance with a DNS name that resolves to a private IP address. - - The default behavior when `PubliclyAccessible` is not specified depends - on whether a `DBSubnetGroup` is specified. - - If `DBSubnetGroup` isn't specified, `PubliclyAccessible` defaults to - `false` for Aurora instances and `true` for non-Aurora instances. - - If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to - `false` unless the value of `DBSubnetGroup` is `default`, in which case - `PubliclyAccessible` defaults to `true`. - - If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup` is - in doesn't have an internet gateway attached to it, Amazon RDS returns - an error. - """ - tags: list[Tag] | None = ... - """Tags to assign to the DB instance.""" - db_cluster_identifier: str | None = ... - """ - The identifier of the DB cluster that this DB instance will belong to. - - This setting doesn't apply to RDS Custom DB instances. - """ - storage_type: str | None = ... - """ - The storage type to associate with the DB instance. - - If you specify `io1`, `io2`, or `gp3`, you must also include a value for - the `Iops` parameter. - - This setting doesn't apply to Amazon Aurora DB instances. Storage is - managed by the DB cluster. - - Valid Values: `gp2 | gp3 | io1 | io2 | standard` - - Default: `io1`, if the `Iops` parameter is specified. Otherwise, `gp3`. - """ - tde_credential_arn: str | None = ... - """ - The ARN from the key store with which to associate the instance for TDE - encryption. - - This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. - """ - tde_credential_password: str | None = ... - """ - The password for the given ARN from the key store in order to access the - device. - - This setting doesn't apply to RDS Custom DB instances. - """ - storage_encrypted: bool | None = ... - """ - Specifes whether the DB instance is encrypted. By default, it isn't - encrypted. - - For RDS Custom DB instances, either enable this setting or leave it - unset. Otherwise, Amazon RDS reports an error. - - This setting doesn't apply to Amazon Aurora DB instances. The - encryption for DB instances is managed by the DB cluster. - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted DB instance. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - This setting doesn't apply to Amazon Aurora DB instances. The Amazon - Web Services KMS key identifier is managed by the DB cluster. For more - information, see `CreateDBCluster`. - - If `StorageEncrypted` is enabled, and you do not specify a value for the - `KmsKeyId` parameter, then Amazon RDS uses your default KMS key. There - is a default KMS key for your Amazon Web Services account. Your Amazon - Web Services account has a different default KMS key for each Amazon Web - Services Region. - - For Amazon RDS Custom, a KMS key is required for DB instances. For most - RDS engines, if you leave this parameter empty while enabling - `StorageEncrypted`, the engine uses the default KMS key. However, RDS - Custom doesn't use the default key when this parameter is empty. You - must explicitly specify a key. - """ - domain: str | None = ... - """ - The Active Directory directory ID to create the DB instance in. - Currently, you can create only Db2, MySQL, Microsoft SQL Server, Oracle, - and PostgreSQL DB instances in an Active Directory Domain. - - For more information, see [Kerberos - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to the following DB instances: - - - Amazon Aurora (The domain is managed by the DB cluster.) - - - RDS Custom - """ - domain_fqdn: str | None = ... - """ - The fully qualified domain name (FQDN) of an Active Directory domain. - - Constraints: - - - Can't be longer than 64 characters. - - Example: `mymanagedADtest.mymanagedAD.mydomain` - """ - domain_ou: str | None = ... - """ - The Active Directory organizational unit for your DB instance to join. - - Constraints: - - - Must be in the distinguished name format. - - - Can't be longer than 64 characters. - - Example: - `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` - """ - domain_auth_secret_arn: str | None = ... - """ - The ARN for the Secrets Manager secret with the credentials for the user - joining the domain. - - Example: - `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` - """ - domain_dns_ips: list[str] | None = ... - """ - The IPv4 DNS IP addresses of your primary and secondary Active Directory - domain controllers. - - Constraints: - - - Two IP addresses must be provided. If there isn't a secondary domain - controller, use the IP address of the primary domain controller for - both entries in the list. - - Example: `123.124.125.126,234.235.236.237` - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy tags from the DB instance to snapshots of the - DB instance. By default, tags are not copied. - - This setting doesn't apply to Amazon Aurora DB instances. Copying tags - to snapshots is managed by the DB cluster. Setting this value for an - Aurora DB instance has no effect on the DB cluster setting. - """ - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the DB instance. To disable collection of - Enhanced Monitoring metrics, specify `0`. - - If `MonitoringRoleArn` is specified, then you must set - `MonitoringInterval` to a value other than `0`. - - This setting doesn't apply to RDS Custom DB instances. - - Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` - - Default: `0` - """ - monitoring_role_arn: str | None = ... - """ - The ARN for the IAM role that permits RDS to send enhanced monitoring - metrics to Amazon CloudWatch Logs. For example, - `arn:aws:iam:123456789012:role/emaccess`. For information on creating a - monitoring role, see [Setting Up and Enabling Enhanced - Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) - in the *Amazon RDS User Guide*. - - If `MonitoringInterval` is set to a value other than `0`, then you must - supply a `MonitoringRoleArn` value. - - This setting doesn't apply to RDS Custom DB instances. - """ - domain_iam_role_name: str | None = ... - """ - The name of the IAM role to use when making API calls to the Directory - Service. - - This setting doesn't apply to the following DB instances: - - - Amazon Aurora (The domain is managed by the DB cluster.) - - - RDS Custom - """ - promotion_tier: int | None = ... - """ - The order of priority in which an Aurora Replica is promoted to the - primary instance after a failure of the existing primary instance. For - more information, see [Fault Tolerance for an Aurora DB - Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance) - in the *Amazon Aurora User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - - Default: `1` - - Valid Values: `0 - 15` - """ - timezone: str | None = ... - """ - The time zone of the DB instance. The time zone parameter is currently - supported only by [RDS for - Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone) - and [RDS for SQL - Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone). - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - For more information, see [IAM Database Authentication for MySQL and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to the following DB instances: - - - Amazon Aurora (Mapping Amazon Web Services IAM accounts to database - accounts is managed by the DB cluster.) - - - RDS Custom - """ - database_insights_mode: str | None = ... - """ - The mode of Database Insights to enable for the DB instance. - - Note: - Aurora DB instances inherit this value from the DB cluster, so you - can't change this value. - """ - enable_performance_insights: bool | None = ... - """ - Specifies whether to enable Performance Insights for the DB instance. - For more information, see [Using Amazon Performance - Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - """ - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - If you don't specify a value for `PerformanceInsightsKMSKeyId`, then - Amazon RDS uses your default KMS key. There is a default KMS key for - your Amazon Web Services account. Your Amazon Web Services account has a - different default KMS key for each Amazon Web Services Region. - - This setting doesn't apply to RDS Custom DB instances. - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. - - This setting doesn't apply to RDS Custom DB instances. - - Valid Values: - - - `7` - - - *month* * 31, where *month* is a number of months from 1-23. - Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 - months * 31) - - - `731` - - Default: `7` days - - If you specify a retention period that isn't valid, such as `94`, - Amazon RDS returns an error. - """ - enable_cloudwatch_logs_exports: list[str] | None = ... - """ - The list of log types to enable for exporting to CloudWatch Logs. For - more information, see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to the following DB instances: - - - Amazon Aurora (CloudWatch Logs exports are managed by the DB cluster.) - - - RDS Custom - - The following values are valid for each DB engine: - - - RDS for Db2 - `diag.log | notify.log | iam-db-auth-error` - - - RDS for MariaDB - - `audit | error | general | slowquery | iam-db-auth-error` - - - RDS for Microsoft SQL Server - `agent | error` - - - RDS for MySQL - - `audit | error | general | slowquery | iam-db-auth-error` - - - RDS for Oracle - `alert | audit | listener | trace | oemagent` - - - RDS for PostgreSQL - `postgresql | upgrade | iam-db-auth-error` - """ - processor_features: list[ProcessorFeature] | None = ... - """ - The number of CPU cores and the number of threads per core for the DB - instance class of the DB instance. - - This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. - """ - deletion_protection: bool | None = ... - """ - Specifies whether the DB instance has deletion protection enabled. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. For more information, see - [Deleting a DB - Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). - - This setting doesn't apply to Amazon Aurora DB instances. You can - enable or disable deletion protection for the DB cluster. For more - information, see `CreateDBCluster`. DB instances in a DB cluster can be - deleted even when deletion protection is enabled for the DB cluster. - """ - max_allocated_storage: int | None = ... - """ - The upper limit in gibibytes (GiB) to which Amazon RDS can automatically - scale the storage of the DB instance. - - For more information about this setting, including limitations that - apply to it, see [Managing capacity automatically with Amazon RDS - storage - autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to the following DB instances: - - - Amazon Aurora (Storage is managed by the DB cluster.) - - - RDS Custom - """ - enable_customer_owned_ip: bool | None = ... - """ - Specifies whether to enable a customer-owned IP address (CoIP) for an - RDS on Outposts DB instance. - - A *CoIP* provides local or external connectivity to resources in your - Outpost subnets through your on-premises network. For some use cases, a - CoIP can provide lower latency for connections to the DB instance from - outside of its virtual private cloud (VPC) on your local network. - - For more information about RDS on Outposts, see [Working with Amazon RDS - on Amazon Web Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide*. - - For more information about CoIPs, see [Customer-owned IP - addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the *Amazon Web Services Outposts User Guide*. - """ - network_type: str | None = ... - """ - The network type of the DB instance. - - The network type is determined by the `DBSubnetGroup` specified for the - DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon RDS User Guide.* - - Valid Values: `IPV4 | DUAL` - """ - backup_target: str | None = ... - """ - The location for storing automated backups and manual snapshots. - - Valid Values: - - - `local` (Dedicated Local Zone) - - - `outposts` (Amazon Web Services Outposts) - - - `region` (Amazon Web Services Region) - - Default: `region` - - For more information, see [Working with Amazon RDS on Amazon Web - Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide*. - """ - custom_iam_instance_profile: str | None = ... - """ - The instance profile associated with the underlying Amazon EC2 instance - of an RDS Custom DB instance. - - This setting is required for RDS Custom. - - Constraints: - - - The profile must exist in your account. - - - The profile must have an IAM role that Amazon EC2 has permissions to - assume. - - - The instance profile name and the associated IAM role name must start - with the prefix `AWSRDSCustom`. - - For the list of permissions required for the IAM role, see [Configure - IAM and your - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) - in the *Amazon RDS User Guide*. - """ - db_system_id: str | None = ... - """ - The Oracle system identifier (SID), which is the name of the Oracle - database instance that manages your database files. In this context, the - term \"Oracle database instance\" refers exclusively to the system - global area (SGA) and Oracle background processes. If you don't specify - a SID, the value defaults to `RDSCDB`. The Oracle SID is also the name - of your CDB. - """ - ca_certificate_identifier: str | None = ... - """ - The CA certificate identifier to use for the DB instance's server - certificate. - - This setting doesn't apply to RDS Custom DB instances. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide.* - - Constraints: - - - Can't manage the master user password with Amazon Web Services - Secrets Manager if `MasterUserPassword` is specified. - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB instance. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - If you don't specify `MasterUserSecretKmsKeyId`, then the - `aws/secretsmanager` KMS key is used to encrypt the secret. If the - secret is in a different Amazon Web Services account, then you can't - use the `aws/secretsmanager` KMS key to encrypt the secret, and you must - use a customer managed KMS key. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - """ - multi_tenant: bool | None = ... - """ - Specifies whether to use the multi-tenant configuration or the - single-tenant configuration (default). This parameter only applies to - RDS for Oracle container database (CDB) engines. - - Note the following restrictions: - - - The DB engine that you specify in the request must support the - multi-tenant configuration. If you attempt to enable the multi-tenant - configuration on a DB engine that doesn't support it, the request - fails. - - - If you specify the multi-tenant configuration when you create your DB - instance, you can't later modify this DB instance to use the - single-tenant configuration. - """ - dedicated_log_volume: bool | None = ... - """ - Indicates whether the DB instance has a dedicated log volume (DLV) - enabled. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB instance. - - Note: - By default, this value is set to `open-source-rds-extended-support`, - which enrolls your DB instance into Amazon RDS Extended Support. At the - end of standard support, you can avoid charges for Extended Support by - setting the value to `open-source-rds-extended-support-disabled`. In - this case, creating the DB instance will fail if the DB major version is - past its end of standard support date. - - This setting applies only to RDS for MySQL and RDS for PostgreSQL. For - Amazon Aurora DB instances, the engine lifecycle support is managed by - the DB cluster. - - You can use this setting to enroll your DB instance into Amazon RDS - Extended Support. With RDS Extended Support, you can run the selected - major engine version on your DB instance past the end of standard - support for that engine version. For more information, see [Amazon RDS - Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide*. - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - Default: `open-source-rds-extended-support` - """ - additional_storage_volumes: list[AdditionalStorageVolume] | None = ... - """ - A list of additional storage volumes to create for the DB instance. You - can create up to three additional storage volumes using the names - `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage volumes - are supported for RDS for Oracle and RDS for SQL Server DB instances - only. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB instance. - - Valid Values: - - - `auto-backup` - The DB instance's automated backup. - """ - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation to associate - with this DB instance. You can specify the identifier, which has the - prefix `dbcr-`, or the reservation name. When you specify this - parameter, the DB instance uses reserved capacity from the specified - reservation. - - If you specify `AvailabilityZone`, Amazon RDS places the DB instance in - that Availability Zone, and the reservation must cover it. - - Constraints: - - - The reservation must reserve capacity for the DB instance class and - the database engine of the DB instance. - - - If the reservation reserves capacity for a specific license model, the - license model of the DB instance must match it. - - - The reservation must be in the `active` state, and it must not be past - its end date. - - - If you specify `AvailabilityZone`, it must be one of the Availability - Zones of the reservation. - - - For a Multi-AZ DB instance, the reservation must cover two or more - Availability Zones. A Multi-AZ DB instance uses one unit of reserved - capacity in each of two Availability Zones. If the reservation covers - more than two Availability Zones, Amazon RDS chooses the two that the - DB instance uses. - - - The reservation must have available capacity in each Availability Zone - that the DB instance uses. - - - The DB subnet group must be in a VPC with default tenancy. - - - The DB subnet group must cover each Availability Zone that the DB - instance uses. - """ - master_user_authentication_type: str | None = ... - """ - Specifies the authentication type for the master user. With IAM master - user authentication, you can configure the master DB user with IAM - database authentication when you create a DB instance. - - You can specify one of the following values: - - - `password` - Use standard database authentication with a password. - - - `iam-db-auth` - Use IAM database authentication for the master user. - - This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL - engines. - """ - -@dataclass(kw_only=True) -class CreateDBInstanceOutput(_SerdeShape): - """Dataclass for CreateDBInstanceOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBInstanceReadReplicaInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The DB instance identifier of the read replica. This identifier is the - unique key that identifies a DB instance. This parameter is stored as a - lowercase string. - """ - source_db_instance_identifier: str | None = ... - """ - The identifier of the DB instance that will act as the source for the - read replica. Each DB instance can have up to 15 read replicas, except - for the following engines: - - - Db2 - Can have up to three replicas. - - - Oracle - Can have up to five read replicas. - - - SQL Server - Can have up to five read replicas. - - Constraints: - - - Must be the identifier of an existing Db2, MariaDB, MySQL, Oracle, - PostgreSQL, or SQL Server DB instance. - - - Can't be specified if the `SourceDBClusterIdentifier` parameter is - also specified. - - - For the limitations of Oracle read replicas, see [Version and - licensing considerations for RDS for Oracle - replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.limitations.html#oracle-read-replicas.limitations.versions-and-licenses) - in the *Amazon RDS User Guide*. - - - For the limitations of SQL Server read replicas, see [Read replica - limitations with SQL - Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.ReadReplicas.html#SQLServer.ReadReplicas.Limitations) - in the *Amazon RDS User Guide*. - - - The specified DB instance must have automatic backups enabled, that - is, its backup retention period must be greater than 0. - - - If the source DB instance is in the same Amazon Web Services Region as - the read replica, specify a valid DB instance identifier. - - - If the source DB instance is in a different Amazon Web Services Region - from the read replica, specify a valid DB instance ARN. For more - information, see [Constructing an ARN for Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) - in the *Amazon RDS User Guide*. This doesn't apply to SQL Server or - RDS Custom, which don't support cross-Region replicas. - """ - db_instance_class: str | None = ... - """ - The compute and memory capacity of the read replica, for example - db.m4.large. Not all DB instance classes are available in all Amazon Web - Services Regions, or for all database engines. For the full list of DB - instance classes, and availability for your engine, see [DB Instance - Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide*. - - Default: Inherits the value from the source DB instance. - """ - availability_zone: str | None = ... - """ - The Availability Zone (AZ) where the read replica will be created. - - Default: A random, system-chosen Availability Zone in the endpoint's - Amazon Web Services Region. - - Example: `us-east-1d` - """ - port: int | None = ... - """ - The port number that the DB instance uses for connections. - - Valid Values: `1150-65535` - - Default: Inherits the value from the source DB instance. - """ - multi_az: bool | None = ... - """ - Specifies whether the read replica is in a Multi-AZ deployment. - - You can create a read replica as a Multi-AZ DB instance. RDS creates a - standby of your replica in another Availability Zone for failover - support for the replica. Creating your read replica as a Multi-AZ DB - instance is independent of whether the source is a Multi-AZ DB instance - or a Multi-AZ DB cluster. - - This setting doesn't apply to RDS Custom DB instances. - """ - auto_minor_version_upgrade: bool | None = ... - """ - Specifies whether to automatically apply minor engine upgrades to the - read replica during the maintenance window. - - This setting doesn't apply to RDS Custom DB instances. - - Default: Inherits the value from the source DB instance. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - iops: int | None = ... - """ - The amount of Provisioned IOPS (input/output operations per second) to - initially allocate for the DB instance. - """ - storage_throughput: int | None = ... - """ - Specifies the storage throughput value for the read replica. - - This setting doesn't apply to RDS Custom or Amazon Aurora DB instances. - """ - option_group_name: str | None = ... - """ - The option group to associate the DB instance with. If not specified, - RDS uses the option group associated with the source DB instance or - cluster. - - Note: - For SQL Server, you must use the option group associated with the - source. - - This setting doesn't apply to RDS Custom DB instances. - """ - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group to associate with this read replica - DB instance. - - For the Db2 DB engine, if your source DB instance uses the bring your - own license (BYOL) model, then a custom parameter group must be - associated with the replica. For a same Amazon Web Services Region - replica, if you don't specify a custom parameter group, Amazon RDS - associates the custom parameter group associated with the source DB - instance. For a cross-Region replica, you must specify a custom - parameter group. This custom parameter group must include your IBM Site - ID and IBM Customer ID. For more information, see [IBM IDs for bring - your own license (BYOL) for - Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html#db2-prereqs-ibm-info). - - For Single-AZ or Multi-AZ DB instance read replica instances, if you - don't specify a value for `DBParameterGroupName`, then Amazon RDS uses - the `DBParameterGroup` of the source DB instance for a same Region read - replica, or the default `DBParameterGroup` for the specified DB engine - for a cross-Region read replica. - - For Multi-AZ DB cluster same Region read replica instances, if you - don't specify a value for `DBParameterGroupName`, then Amazon RDS uses - the default `DBParameterGroup`. - - Specifying a parameter group for this operation is only supported for - MySQL DB instances for cross-Region read replicas, for Multi-AZ DB - cluster read replica instances, for Db2 DB instances, and for Oracle DB - instances. It isn't supported for MySQL DB instances for same Region - read replicas or for RDS Custom. - - Constraints: - - - Must be 1 to 255 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB instance is publicly accessible. - - When the DB cluster is publicly accessible, its Domain Name System (DNS) - endpoint resolves to the private IP address from within the DB - cluster's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB cluster's VPC. Access to the DB cluster - is ultimately controlled by the security group it uses. That public - access isn't permitted if the security group assigned to the DB cluster - doesn't permit it. - - When the DB instance isn't publicly accessible, it is an internal DB - instance with a DNS name that resolves to a private IP address. - - For more information, see CreateDBInstance. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - db_subnet_group_name: str | None = ... - """ - A DB subnet group for the DB instance. The new DB instance is created in - the VPC associated with the DB subnet group. If no DB subnet group is - specified, then the new DB instance isn't created in a VPC. - - Constraints: - - - If supplied, must match the name of an existing DB subnet group. - - - The specified DB subnet group must be in the same Amazon Web Services - Region in which the operation is running. - - - All read replicas in one Amazon Web Services Region that are created - from the same source DB instance must either: - - - Specify DB subnet groups from the same VPC. All these read replicas - are created in the same VPC. - - - Not specify a DB subnet group. All these read replicas are created - outside of any VPC. - - Example: `mydbsubnetgroup` - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of Amazon EC2 VPC security groups to associate with the read - replica. - - This setting doesn't apply to RDS Custom DB instances. - - Default: The default EC2 VPC security group for the DB subnet group's - VPC. - """ - storage_type: str | None = ... - """ - The storage type to associate with the read replica. - - If you specify `io1`, `io2`, or `gp3`, you must also include a value for - the `Iops` parameter. - - Valid Values: `gp2 | gp3 | io1 | io2 | standard` - - Default: `io1` if the `Iops` parameter is specified. Otherwise, `gp3`. - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the read replica to snapshots of - the read replica. By default, tags aren't copied. - """ - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the read replica. To disable collection of - Enhanced Monitoring metrics, specify `0`. The default is `0`. - - If `MonitoringRoleArn` is specified, then you must set - `MonitoringInterval` to a value other than `0`. - - This setting doesn't apply to RDS Custom DB instances. - - Valid Values: `0, 1, 5, 10, 15, 30, 60` - - Default: `0` - """ - monitoring_role_arn: str | None = ... - """ - The ARN for the IAM role that permits RDS to send enhanced monitoring - metrics to Amazon CloudWatch Logs. For example, - `arn:aws:iam:123456789012:role/emaccess`. For information on creating a - monitoring role, go to [To create an IAM role for Amazon RDS Enhanced - Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole) - in the *Amazon RDS User Guide*. - - If `MonitoringInterval` is set to a value other than 0, then you must - supply a `MonitoringRoleArn` value. - - This setting doesn't apply to RDS Custom DB instances. - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted read - replica. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - For a read replica in the same Amazon Web Services Region as the source - DB instance or Multi-AZ DB cluster, specifying this parameter is - optional. If you specify a KMS key identifier, the read replica is - encrypted with that KMS key, which can be different from the KMS key of - the source. - - If you don't specify a value for this parameter, the read replica is - encrypted with the same KMS key as the source DB instance or Multi-AZ DB - cluster. - - If you create an encrypted read replica in a different Amazon Web - Services Region, then you must specify a KMS key identifier for the - destination Amazon Web Services Region. KMS keys are specific to the - Amazon Web Services Region that they are created in, and you can't use - KMS keys from one Amazon Web Services Region in another Amazon Web - Services Region. - - You can't create an encrypted read replica from an unencrypted DB - instance or Multi-AZ DB cluster. - - This setting doesn't apply to RDS Custom, which uses the same KMS key - as the primary replica. - """ - pre_signed_url: str | None = ... - """ - When you are creating a read replica from one Amazon Web Services - GovCloud (US) Region to another or from one China Amazon Web Services - Region to another, the URL that contains a Signature Version 4 signed - request for the `CreateDBInstanceReadReplica` API operation in the - source Amazon Web Services Region that contains the source DB instance. - - This setting applies only to Amazon Web Services GovCloud (US) Regions - and China Amazon Web Services Regions. It's ignored in other Amazon Web - Services Regions. - - This setting applies only when replicating from a source DB *instance*. - Source DB clusters aren't supported in Amazon Web Services GovCloud - (US) Regions and China Amazon Web Services Regions. - - You must specify this parameter when you create an encrypted read - replica from another Amazon Web Services Region by using the Amazon RDS - API. Don't specify `PreSignedUrl` when you are creating an encrypted - read replica in the same Amazon Web Services Region. - - The presigned URL must be a valid request for the - `CreateDBInstanceReadReplica` API operation that can run in the source - Amazon Web Services Region that contains the encrypted source DB - instance. The presigned URL request must contain the following parameter - values: - - - `DestinationRegion` - The Amazon Web Services Region that the - encrypted read replica is created in. This Amazon Web Services Region - is the same one where the `CreateDBInstanceReadReplica` operation is - called that contains this presigned URL. - - For example, if you create an encrypted DB instance in the us-west-1 - Amazon Web Services Region, from a source DB instance in the us-east-2 - Amazon Web Services Region, then you call the - `CreateDBInstanceReadReplica` operation in the us-east-1 Amazon Web - Services Region and provide a presigned URL that contains a call to - the `CreateDBInstanceReadReplica` operation in the us-west-2 Amazon - Web Services Region. For this example, the `DestinationRegion` in the - presigned URL must be set to the us-east-1 Amazon Web Services Region. - - - `KmsKeyId` - The KMS key identifier for the key to use to encrypt the - read replica in the destination Amazon Web Services Region. This is - the same identifier for both the `CreateDBInstanceReadReplica` - operation that is called in the destination Amazon Web Services - Region, and the operation contained in the presigned URL. - - - `SourceDBInstanceIdentifier` - The DB instance identifier for the - encrypted DB instance to be replicated. This identifier must be in the - Amazon Resource Name (ARN) format for the source Amazon Web Services - Region. For example, if you are creating an encrypted read replica - from a DB instance in the us-west-2 Amazon Web Services Region, then - your `SourceDBInstanceIdentifier` looks like the following example: - `arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115`. - - To learn how to generate a Signature Version 4 signed request, see - [Authenticating Requests: Using Query Parameters (Amazon Web Services - Signature Version - 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) - and [Signature Version 4 Signing - Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). - - Note: - If you are using an Amazon Web Services SDK tool or the CLI, you can - specify `SourceRegion` (or `--source-region` for the CLI) instead of - specifying `PreSignedUrl` manually. Specifying `SourceRegion` - autogenerates a presigned URL that is a valid request for the operation - that can run in the source Amazon Web Services Region. - - This setting doesn't apply to RDS Custom DB instances. - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - For more information about IAM database authentication, see [IAM - Database Authentication for MySQL and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - """ - database_insights_mode: str | None = ... - """ - The mode of Database Insights to enable for the read replica. - - Note: - This setting isn't supported. - """ - enable_performance_insights: bool | None = ... - """ - Specifies whether to enable Performance Insights for the read replica. - - For more information, see [Using Amazon Performance - Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - """ - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - If you do not specify a value for `PerformanceInsightsKMSKeyId`, then - Amazon RDS uses your default KMS key. There is a default KMS key for - your Amazon Web Services account. Your Amazon Web Services account has a - different default KMS key for each Amazon Web Services Region. - - This setting doesn't apply to RDS Custom DB instances. - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. - - This setting doesn't apply to RDS Custom DB instances. - - Valid Values: - - - `7` - - - *month* * 31, where *month* is a number of months from 1-23. - Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 - months * 31) - - - `731` - - Default: `7` days - - If you specify a retention period that isn't valid, such as `94`, - Amazon RDS returns an error. - """ - enable_cloudwatch_logs_exports: list[str] | None = ... - """ - The list of logs that the new DB instance is to export to CloudWatch - Logs. The values in the list depend on the DB engine being used. For - more information, see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - """ - processor_features: list[ProcessorFeature] | None = ... - """ - The number of CPU cores and the number of threads per core for the DB - instance class of the DB instance. - - This setting doesn't apply to RDS Custom DB instances. - """ - use_default_processor_features: bool | None = ... - """ - Specifies whether the DB instance class of the DB instance uses its - default processor features. - - This setting doesn't apply to RDS Custom DB instances. - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the DB instance. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. For more information, see - [Deleting a DB - Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). - """ - domain: str | None = ... - """ - The Active Directory directory ID to create the DB instance in. - Currently, only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB - instances can be created in an Active Directory Domain. - - For more information, see [Kerberos - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - """ - domain_iam_role_name: str | None = ... - """ - The name of the IAM role to use when making API calls to the Directory - Service. - - This setting doesn't apply to RDS Custom DB instances. - """ - domain_fqdn: str | None = ... - """ - The fully qualified domain name (FQDN) of an Active Directory domain. - - Constraints: - - - Can't be longer than 64 characters. - - Example: `mymanagedADtest.mymanagedAD.mydomain` - """ - domain_ou: str | None = ... - """ - The Active Directory organizational unit for your DB instance to join. - - Constraints: - - - Must be in the distinguished name format. - - - Can't be longer than 64 characters. - - Example: - `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` - """ - domain_auth_secret_arn: str | None = ... - """ - The ARN for the Secrets Manager secret with the credentials for the user - joining the domain. - - Example: - `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` - """ - domain_dns_ips: list[str] | None = ... - """ - The IPv4 DNS IP addresses of your primary and secondary Active Directory - domain controllers. - - Constraints: - - - Two IP addresses must be provided. If there isn't a secondary domain - controller, use the IP address of the primary domain controller for - both entries in the list. - - Example: `123.124.125.126,234.235.236.237` - """ - replica_mode: str | None = ... - """ - The open mode of the replica database. - - This parameter is only supported for Db2 DB instances and Oracle DB - instances. - - Db2 - - : Standby DB replicas are included in Db2 Advanced Edition (AE), Db2 - Community Edition (CE), and Db2 Standard Edition (SE). The main use - case for standby replicas is cross-Region disaster recovery. Because - it doesn't accept user connections, a standby replica can't serve a - read-only workload. - - You can create a combination of standby and read-only DB replicas for - the same primary DB instance. For more information, see [Working with - replicas for Amazon RDS for - Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html) - in the *Amazon RDS User Guide*. - - To create standby DB replicas for RDS for Db2, set this parameter to - `mounted`. - - Oracle - - : Mounted DB replicas are included in Oracle Database Enterprise - Edition. The main use case for mounted replicas is cross-Region - disaster recovery. The primary database doesn't use Active Data Guard - to transmit information to the mounted replica. Because it doesn't - accept user connections, a mounted replica can't serve a read-only - workload. - - You can create a combination of mounted and read-only DB replicas for - the same primary DB instance. For more information, see [Working with - read replicas for Amazon RDS for - Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) - in the *Amazon RDS User Guide*. - - For RDS Custom, you must specify this parameter and set it to - `mounted`. The value won't be set by default. After replica creation, - you can manage the open mode manually. - """ - enable_customer_owned_ip: bool | None = ... - """ - Specifies whether to enable a customer-owned IP address (CoIP) for an - RDS on Outposts read replica. - - A *CoIP* provides local or external connectivity to resources in your - Outpost subnets through your on-premises network. For some use cases, a - CoIP can provide lower latency for connections to the read replica from - outside of its virtual private cloud (VPC) on your local network. - - For more information about RDS on Outposts, see [Working with Amazon RDS - on Amazon Web Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide*. - - For more information about CoIPs, see [Customer-owned IP - addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the *Amazon Web Services Outposts User Guide*. - """ - network_type: str | None = ... - """ - The network type of the DB instance. - - Valid Values: - - - `IPV4` - - - `DUAL` - - The network type is determined by the `DBSubnetGroup` specified for read - replica. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon RDS User Guide.* - """ - max_allocated_storage: int | None = ... - """ - The upper limit in gibibytes (GiB) to which Amazon RDS can automatically - scale the storage of the DB instance. - - For more information about this setting, including limitations that - apply to it, see [Managing capacity automatically with Amazon RDS - storage - autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) - in the *Amazon RDS User Guide*. - """ - backup_target: str | None = ... - """ - The location where RDS stores automated backups and manual snapshots. - - Valid Values: - - - `local` for Dedicated Local Zones - - - `region` for Amazon Web Services Region - """ - custom_iam_instance_profile: str | None = ... - """ - The instance profile associated with the underlying Amazon EC2 instance - of an RDS Custom DB instance. The instance profile must meet the - following requirements: - - - The profile must exist in your account. - - - The profile must have an IAM role that Amazon EC2 has permissions to - assume. - - - The instance profile name and the associated IAM role name must start - with the prefix `AWSRDSCustom`. - - For the list of permissions required for the IAM role, see [Configure - IAM and your - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) - in the *Amazon RDS User Guide*. - - This setting is required for RDS Custom DB instances. - """ - allocated_storage: int | None = ... - """ - The amount of storage (in gibibytes) to allocate initially for the read - replica. Follow the allocation rules specified in `CreateDBInstance`. - - This setting isn't valid for RDS for SQL Server. - - Note: - Be sure to allocate enough storage for your read replica so that the - create operation can succeed. You can also allocate additional storage - for future growth. - """ - source_db_cluster_identifier: str | None = ... - """ - The identifier of the Multi-AZ DB cluster that will act as the source - for the read replica. Each DB cluster can have up to 15 read replicas. - - Constraints: - - - Must be the identifier of an existing Multi-AZ DB cluster. - - - Can't be specified if the `SourceDBInstanceIdentifier` parameter is - also specified. - - - The specified DB cluster must have automatic backups enabled, that is, - its backup retention period must be greater than 0. - - - The source DB cluster must be in the same Amazon Web Services Region - as the read replica. Cross-Region replication isn't supported. - """ - dedicated_log_volume: bool | None = ... - """ - Indicates whether the DB instance has a dedicated log volume (DLV) - enabled. - """ - upgrade_storage_config: bool | None = ... - """ - Whether to upgrade the storage file system configuration on the read - replica. This option migrates the read replica from the old storage file - system layout to the preferred layout. - """ - ca_certificate_identifier: str | None = ... - """ - The CA certificate identifier to use for the read replica's server - certificate. - - This setting doesn't apply to RDS Custom DB instances. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - additional_storage_volumes: list[AdditionalStorageVolume] | None = ... - """ - A list of additional storage volumes to create for the DB instance. You - can create up to three additional storage volumes using the names - `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage volumes - are supported for RDS for Oracle and RDS for SQL Server DB instances - only. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB instance. - - Valid Values: - - - `auto-backup` - The DB instance's automated backup. - """ - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation to associate - with this read replica. You can specify the identifier, which has the - prefix `dbcr-`, or the reservation name. When you specify this - parameter, the read replica uses reserved capacity from the specified - reservation. A read replica uses one unit of reserved capacity, in the - same way as any other DB instance. - - If you specify `AvailabilityZone`, Amazon RDS places the DB instance in - that Availability Zone, and the reservation must cover it. - - Constraints: - - - The reservation must reserve capacity for the DB instance class and - the database engine of the DB instance. - - - If the reservation reserves capacity for a specific license model, the - license model of the source DB instance must match it. A read replica - inherits its license model from the source DB instance. - - - The reservation must be in the `active` state, and it must not be past - its end date. - - - If you specify `AvailabilityZone`, it must be one of the Availability - Zones of the reservation. - - - For a Multi-AZ DB instance, the reservation must cover two or more - Availability Zones. A Multi-AZ DB instance uses one unit of reserved - capacity in each of two Availability Zones. If the reservation covers - more than two Availability Zones, Amazon RDS chooses the two that the - DB instance uses. - - - The reservation must have available capacity in each Availability Zone - that the DB instance uses. - - - The DB subnet group must be in a VPC with default tenancy. - - - The DB subnet group must cover each Availability Zone that the DB - instance uses. - """ - -@dataclass(kw_only=True) -class CreateDBInstanceReadReplicaOutput(_SerdeShape): - """Dataclass for CreateDBInstanceReadReplicaOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBParameterGroupInput(_SerdeShape): - """""" - - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group. - - Constraints: - - - Must be 1 to 255 letters, numbers, or hyphens. - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Note: - This value is stored as a lowercase string. - """ - db_parameter_group_family: str | None = ... - """ - The DB parameter group family name. A DB parameter group can be - associated with one and only one DB parameter group family, and can be - applied only to a DB instance running a database engine and engine - version compatible with that DB parameter group family. - - To list all of the available parameter group families for a DB engine, - use the following command: - - `aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine ` - - For example, to list all of the available parameter group families for - the MySQL DB engine, use the following command: - - `aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql` - - Note: - The output contains duplicates. - - The following are the valid DB engine values: - - - `aurora-mysql` - - - `aurora-postgresql` - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - """ - description: str | None = ... - """The description for the DB parameter group.""" - tags: list[Tag] | None = ... - """Tags to assign to the DB parameter group.""" - -@dataclass(kw_only=True) -class CreateDBParameterGroupOutput(_SerdeShape): - """Dataclass for CreateDBParameterGroupOutput structure.""" - - db_parameter_group: DBParameterGroup | None = ... - """ - Contains the details of an Amazon RDS DB parameter group. - - This data type is used as a response element in the - `DescribeDBParameterGroups` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBProxyEndpointInput(_SerdeShape): - """Dataclass for CreateDBProxyEndpointInput structure.""" - - db_proxy_name: str | None = ... - """ - The name of the DB proxy associated with the DB proxy endpoint that you - create. - """ - db_proxy_endpoint_name: str | None = ... - """The name of the DB proxy endpoint to create.""" - vpc_subnet_ids: list[str] | None = ... - """ - The VPC subnet IDs for the DB proxy endpoint that you create. You can - specify a different set of subnet IDs than for the original DB proxy. - """ - vpc_security_group_ids: list[str] | None = ... - """ - The VPC security group IDs for the DB proxy endpoint that you create. - You can specify a different set of security group IDs than for the - original DB proxy. The default is the default security group for the - VPC. - """ - target_role: str | None = ... - """ - The role of the DB proxy endpoint. The role determines whether the - endpoint can be used for read/write or only read operations. The default - is `READ_WRITE`. The only role that proxies for RDS for Microsoft SQL - Server support is `READ_WRITE`. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - endpoint_network_type: str | None = ... - """ - The network type of the DB proxy endpoint. The network type determines - the IP version that the proxy endpoint supports. - - Valid values: - - - `IPV4` - The proxy endpoint supports IPv4 only. - - - `IPV6` - The proxy endpoint supports IPv6 only. - - - `DUAL` - The proxy endpoint supports both IPv4 and IPv6. - - Default: `IPV4` - - Constraints: - - - If you specify `IPV6` or `DUAL`, the VPC and all subnets must have an - IPv6 CIDR block. - - - If you specify `IPV6` or `DUAL`, the VPC tenancy cannot be - `dedicated`. - """ - -@dataclass(kw_only=True) -class CreateDBProxyEndpointOutput(_SerdeShape): - """Dataclass for CreateDBProxyEndpointOutput structure.""" - - db_proxy_endpoint: DBProxyEndpoint | None = ... - """ - The `DBProxyEndpoint` object that is created by the API operation. The - DB proxy endpoint that you create might provide capabilities such as - read/write or read-only operations, or using a different VPC than the - proxy's default VPC. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBProxyInput(_SerdeShape): - """Dataclass for CreateDBProxyInput structure.""" - - db_proxy_name: str | None = ... - """ - The identifier for the proxy. This name must be unique for all proxies - owned by your Amazon Web Services account in the specified Amazon Web - Services Region. An identifier must begin with a letter and must contain - only ASCII letters, digits, and hyphens; it can't end with a hyphen or - contain two consecutive hyphens. - """ - engine_family: str | None = ... - """ - The kinds of databases that the proxy can connect to. This value - determines which database network protocol the proxy recognizes when it - interprets network traffic to and from the database. For Aurora MySQL, - RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`. For - Aurora PostgreSQL and RDS for PostgreSQL databases, specify - `POSTGRESQL`. For RDS for Microsoft SQL Server, specify `SQLSERVER`. - """ - default_auth_scheme: str | None = ... - """ - The default authentication scheme that the proxy uses for client - connections to the proxy and connections from the proxy to the - underlying database. Valid values are `NONE` and `IAM_AUTH`. When set to - `IAM_AUTH`, the proxy uses end-to-end IAM authentication to connect to - the database. If you don't specify `DefaultAuthScheme` or specify this - parameter as `NONE`, you must specify the `Auth` option. - """ - auth: list[UserAuthConfig] | None = ... - """The authorization mechanism that the proxy uses.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that the proxy uses to - access secrets in Amazon Web Services Secrets Manager. - """ - vpc_subnet_ids: list[str] | None = ... - """One or more VPC subnet IDs to associate with the new proxy.""" - vpc_security_group_ids: list[str] | None = ... - """One or more VPC security group IDs to associate with the new proxy.""" - require_tls: bool | None = ... - """ - Specifies whether Transport Layer Security (TLS) encryption is required - for connections to the proxy. By enabling this setting, you can enforce - encrypted TLS connections to the proxy. - """ - idle_client_timeout: int | None = ... - """ - The number of seconds that a connection to the proxy can be inactive - before the proxy disconnects it. You can set this value higher or lower - than the connection timeout limit for the associated database. - """ - debug_logging: bool | None = ... - """ - Specifies whether the proxy logs detailed connection and query - information. When you enable `DebugLogging`, the proxy captures - connection details and connection pool behavior from your queries. Debug - logging increases CloudWatch costs and can impact proxy performance. - Enable this option only when you need to troubleshoot connection or - performance issues. - """ - tags: list[Tag] | None = ... - """ - An optional set of key-value pairs to associate arbitrary data of your - choosing with the proxy. - """ - endpoint_network_type: str | None = ... - """ - The network type of the DB proxy endpoint. The network type determines - the IP version that the proxy endpoint supports. - - Valid values: - - - `IPV4` - The proxy endpoint supports IPv4 only. - - - `IPV6` - The proxy endpoint supports IPv6 only. - - - `DUAL` - The proxy endpoint supports both IPv4 and IPv6. - - Default: `IPV4` - - Constraints: - - - If you specify `IPV6` or `DUAL`, the VPC and all subnets must have an - IPv6 CIDR block. - - - If you specify `IPV6` or `DUAL`, the VPC tenancy cannot be - `dedicated`. - """ - target_connection_network_type: str | None = ... - """ - The network type that the proxy uses to connect to the target database. - The network type determines the IP version that the proxy uses for - connections to the database. - - Valid values: - - - `IPV4` - The proxy connects to the database using IPv4 only. - - - `IPV6` - The proxy connects to the database using IPv6 only. - - Default: `IPV4` - - Constraints: - - - If you specify `IPV6`, the database must support dual-stack mode. RDS - doesn't support IPv6-only databases. - - - All targets registered with the proxy must be compatible with the - specified network type. - """ - -@dataclass(kw_only=True) -class CreateDBProxyOutput(_SerdeShape): - """Dataclass for CreateDBProxyOutput structure.""" - - db_proxy: DBProxy | None = ... - """The `DBProxy` structure corresponding to the new proxy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBSecurityGroupInput(_SerdeShape): - """""" - - db_security_group_name: str | None = ... - """ - The name for the DB security group. This value is stored as a lowercase - string. - - Constraints: - - - Must be 1 to 255 letters, numbers, or hyphens. - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - - Must not be \"Default\" - - Example: `mysecuritygroup` - """ - db_security_group_description: str | None = ... - """The description for the DB security group.""" - tags: list[Tag] | None = ... - """Tags to assign to the DB security group.""" - -@dataclass(kw_only=True) -class CreateDBSecurityGroupOutput(_SerdeShape): - """Dataclass for CreateDBSecurityGroupOutput structure.""" - - db_security_group: DBSecurityGroup | None = ... - """ - Contains the details for an Amazon RDS DB security group. - - This data type is used as a response element in the - `DescribeDBSecurityGroups` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBShardGroupInput(_SerdeShape): - """Dataclass for CreateDBShardGroupInput structure.""" - - db_shard_group_identifier: str | None = ... - """The name of the DB shard group.""" - db_cluster_identifier: str | None = ... - """The name of the primary DB cluster for the DB shard group.""" - compute_redundancy: int | None = ... - """ - Specifies whether to create standby standby DB data access shard for the - DB shard group. Valid values are the following: - - - 0 - Creates a DB shard group without a standby DB data access shard. - This is the default value. - - - 1 - Creates a DB shard group with a standby DB data access shard in a - different Availability Zone (AZ). - - - 2 - Creates a DB shard group with two standby DB data access shard in - two different AZs. - """ - max_acu: float | None = ... - """ - The maximum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - min_acu: float | None = ... - """ - The minimum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB shard group is publicly accessible. - - When the DB shard group is publicly accessible, its Domain Name System - (DNS) endpoint resolves to the private IP address from within the DB - shard group's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB shard group's VPC. Access to the DB - shard group is ultimately controlled by the security group it uses. That - public access is not permitted if the security group assigned to the DB - shard group doesn't permit it. - - When the DB shard group isn't publicly accessible, it is an internal DB - shard group with a DNS name that resolves to a private IP address. - - Default: The default behavior varies depending on whether - `DBSubnetGroupName` is specified. - - If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible` isn't - specified, the following applies: - - - If the default VPC in the target Region doesn't have an internet - gateway attached to it, the DB shard group is private. - - - If the default VPC in the target Region has an internet gateway - attached to it, the DB shard group is public. - - If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't - specified, the following applies: - - - If the subnets are part of a VPC that doesn't have an internet gateway - attached to it, the DB shard group is private. - - - If the subnets are part of a VPC that has an internet gateway attached - to it, the DB shard group is public. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class CreateDBShardGroupOutput(_SerdeShape): - """Contains the details for an Amazon RDS DB shard group.""" - - db_shard_group_resource_id: str | None = ... - """ - The Amazon Web Services Region-unique, immutable identifier for the DB - shard group. - """ - db_shard_group_identifier: str | None = ... - """The name of the DB shard group.""" - db_cluster_identifier: str | None = ... - """The name of the primary DB cluster for the DB shard group.""" - max_acu: float | None = ... - """ - The maximum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - min_acu: float | None = ... - """ - The minimum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - compute_redundancy: int | None = ... - """ - Specifies whether to create standby DB shard groups for the DB shard - group. Valid values are the following: - - - 0 - Creates a DB shard group without a standby DB shard group. This is - the default value. - - - 1 - Creates a DB shard group with a standby DB shard group in a - different Availability Zone (AZ). - - - 2 - Creates a DB shard group with two standby DB shard groups in two - different AZs. - """ - status: str | None = ... - """The status of the DB shard group.""" - publicly_accessible: bool | None = ... - """ - Indicates whether the DB shard group is publicly accessible. - - When the DB shard group is publicly accessible, its Domain Name System - (DNS) endpoint resolves to the private IP address from within the DB - shard group's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB shard group's VPC. Access to the DB - shard group is ultimately controlled by the security group it uses. That - public access isn't permitted if the security group assigned to the DB - shard group doesn't permit it. - - When the DB shard group isn't publicly accessible, it is an internal DB - shard group with a DNS name that resolves to a private IP address. - - For more information, see CreateDBShardGroup. - - This setting is only for Aurora Limitless Database. - """ - endpoint: str | None = ... - """The connection endpoint for the DB shard group.""" - db_shard_group_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB shard group.""" - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBSnapshotInput(_SerdeShape): - """""" - - db_snapshot_identifier: str | None = ... - """ - The identifier for the DB snapshot. - - Constraints: - - - Can't be null, empty, or blank - - - Must contain from 1 to 255 letters, numbers, or hyphens - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Example: `my-snapshot-id` - """ - db_instance_identifier: str | None = ... - """ - The identifier of the DB instance that you want to create the snapshot - of. - - Constraints: - - - Must match the identifier of an existing DBInstance. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class CreateDBSnapshotOutput(_SerdeShape): - """Dataclass for CreateDBSnapshotOutput structure.""" - - db_snapshot: DBSnapshot | None = ... - """ - Contains the details of an Amazon RDS DB snapshot. - - This data type is used as a response element in the - `DescribeDBSnapshots` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateDBSubnetGroupInput(_SerdeShape): - """""" - - db_subnet_group_name: str | None = ... - """ - The name for the DB subnet group. This value is stored as a lowercase - string. - - Constraints: - - - Must contain no more than 255 letters, numbers, periods, underscores, - spaces, or hyphens. - - - Must not be default. - - - First character must be a letter. - - Example: `mydbsubnetgroup` - """ - db_subnet_group_description: str | None = ... - """The description for the DB subnet group.""" - subnet_ids: list[str] | None = ... - """The EC2 Subnet IDs for the DB subnet group.""" - tags: list[Tag] | None = ... - """Tags to assign to the DB subnet group.""" - -@dataclass(kw_only=True) -class CreateDBSubnetGroupOutput(_SerdeShape): - """Dataclass for CreateDBSubnetGroupOutput structure.""" - - db_subnet_group: DBSubnetGroup | None = ... - """ - Contains the details of an Amazon RDS DB subnet group. - - This data type is used as a response element in the - `DescribeDBSubnetGroups` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateEventSubscriptionInput(_SerdeShape): - """""" - - subscription_name: str | None = ... - """ - The name of the subscription. - - Constraints: The name must be less than 255 characters. - """ - sns_topic_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the SNS topic created for event - notification. SNS automatically creates the ARN when you create a topic - and subscribe to it. - - Note: - RDS doesn't support FIFO (first in, first out) topics. For more - information, see [Message ordering and deduplication (FIFO - topics)](https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html) - in the *Amazon Simple Notification Service Developer Guide*. - """ - source_type: str | None = ... - """ - The type of source that is generating the events. For example, if you - want to be notified of events generated by a DB instance, you set this - parameter to `db-instance`. For RDS Proxy events, specify `db-proxy`. If - this value isn't specified, all events are returned. - - Valid - Values:` db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy | zero-etl | custom-engine-version | blue-green-deployment ` - """ - event_categories: list[str] | None = ... - """ - A list of event categories for a particular source type (`SourceType`) - that you want to subscribe to. You can see a list of the categories for - a given source type in the \"Amazon RDS event categories and event - messages\" section of the [*Amazon RDS User - Guide*](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html) - or the [*Amazon Aurora User - Guide*](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html) - . You can also see this list by using the `DescribeEventCategories` - operation. - """ - source_ids: list[str] | None = ... - """ - The list of identifiers of the event sources for which events are - returned. If not specified, then all sources are included in the - response. An identifier must begin with a letter and must contain only - ASCII letters, digits, and hyphens. It can't end with a hyphen or - contain two consecutive hyphens. - - Constraints: - - - If `SourceIds` are supplied, `SourceType` must also be provided. - - - If the source type is a DB instance, a `DBInstanceIdentifier` value - must be supplied. - - - If the source type is a DB cluster, a `DBClusterIdentifier` value must - be supplied. - - - If the source type is a DB parameter group, a `DBParameterGroupName` - value must be supplied. - - - If the source type is a DB security group, a `DBSecurityGroupName` - value must be supplied. - - - If the source type is a DB snapshot, a `DBSnapshotIdentifier` value - must be supplied. - - - If the source type is a DB cluster snapshot, a - `DBClusterSnapshotIdentifier` value must be supplied. - - - If the source type is an RDS Proxy, a `DBProxyName` value must be - supplied. - """ - enabled: bool | None = ... - """ - Specifies whether to activate the subscription. If the event - notification subscription isn't activated, the subscription is created - but not active. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class CreateEventSubscriptionOutput(_SerdeShape): - """Dataclass for CreateEventSubscriptionOutput structure.""" - - event_subscription: EventSubscription | None = ... - """ - Contains the results of a successful invocation of the - `DescribeEventSubscriptions` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateGlobalClusterInput(_SerdeShape): - """Dataclass for CreateGlobalClusterInput structure.""" - - global_cluster_identifier: str | None = ... - """ - The cluster identifier for this global database cluster. This parameter - is stored as a lowercase string. - """ - source_db_cluster_identifier: str | None = ... - """ - The Amazon Resource Name (ARN) to use as the primary cluster of the - global database. - - If you provide a value for this parameter, don't specify values for the - following settings because Amazon Aurora uses the values from the - specified source DB cluster: - - - `DatabaseName` - - - `Engine` - - - `EngineVersion` - - - `StorageEncrypted` - """ - engine: str | None = ... - """ - The database engine to use for this global database cluster. - - Valid Values: `aurora-mysql | aurora-postgresql` - - Constraints: - - - Can't be specified if `SourceDBClusterIdentifier` is specified. In - this case, Amazon Aurora uses the engine of the source DB cluster. - """ - engine_version: str | None = ... - """ - The engine version to use for this global database cluster. - - Constraints: - - - Can't be specified if `SourceDBClusterIdentifier` is specified. In - this case, Amazon Aurora uses the engine version of the source DB - cluster. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this global database cluster. - - Note: - By default, this value is set to `open-source-rds-extended-support`, - which enrolls your global cluster into Amazon RDS Extended Support. At - the end of standard support, you can avoid charges for Extended Support - by setting the value to `open-source-rds-extended-support-disabled`. In - this case, creating the global cluster will fail if the DB major version - is past its end of standard support date. - - This setting only applies to Aurora PostgreSQL-based global databases. - - You can use this setting to enroll your global cluster into Amazon RDS - Extended Support. With RDS Extended Support, you can run the selected - major engine version on your global cluster past the end of standard - support for that engine version. For more information, see [Amazon RDS - Extended Support with Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) - in the *Amazon Aurora User Guide*. - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - Default: `open-source-rds-extended-support` - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the new global - database cluster. The global database can't be deleted when deletion - protection is enabled. - """ - database_name: str | None = ... - """ - The name for your database of up to 64 alphanumeric characters. If you - don't specify a name, Amazon Aurora doesn't create a database in the - global database cluster. - - Constraints: - - - Can't be specified if `SourceDBClusterIdentifier` is specified. In - this case, Amazon Aurora uses the database name from the source DB - cluster. - """ - storage_encrypted: bool | None = ... - """ - Specifies whether to enable storage encryption for the new global - database cluster. - - Constraints: - - - Can't be specified if `SourceDBClusterIdentifier` is specified. In - this case, Amazon Aurora uses the setting from the source DB cluster. - """ - tags: list[Tag] | None = ... - """Tags to assign to the global cluster.""" - -@dataclass(kw_only=True) -class CreateGlobalClusterOutput(_SerdeShape): - """Dataclass for CreateGlobalClusterOutput structure.""" - - global_cluster: GlobalCluster | None = ... - """A data type representing an Aurora global database.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateIntegrationInput(_SerdeShape): - """Dataclass for CreateIntegrationInput structure.""" - - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the database to use as the source for - replication. - """ - target_arn: str | None = ... - """ - The ARN of the Redshift data warehouse to use as the target for - replication. - """ - integration_name: str | None = ... - """The name of the integration.""" - kms_key_id: str | None = ... - """ - The Amazon Web Services Key Management System (Amazon Web Services KMS) - key identifier for the key to use to encrypt the integration. If you - don't specify an encryption key, RDS uses a default Amazon Web Services - owned key. - """ - additional_encryption_context: dict[str, str] | None = ... - """ - An optional set of non-secret key--value pairs that contains additional - contextual information about the data. For more information, see - [Encryption - context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) - in the *Amazon Web Services Key Management Service Developer Guide*. - - You can only include this parameter if you specify the `KMSKeyId` - parameter. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - data_filter: str | None = ... - """ - Data filtering options for the integration. For more information, see - [Data filtering for Aurora zero-ETL integrations with Amazon - Redshift](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/zero-etl.filtering.html) - or [Data filtering for Amazon RDS zero-ETL integrations with Amazon - Redshift](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/zero-etl.filtering.html). - """ - description: str | None = ... - """A description of the integration.""" - -@dataclass(kw_only=True) -class CreateIntegrationOutput(_SerdeShape): - """A zero-ETL integration with Amazon Redshift.""" - - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the database used as the source for - replication. - """ - target_arn: str | None = ... - """ - The ARN of the Redshift data warehouse used as the target for - replication. - """ - integration_name: str | None = ... - """The name of the integration.""" - integration_arn: str | None = ... - """The ARN of the integration.""" - kms_key_id: str | None = ... - """ - The Amazon Web Services Key Management System (Amazon Web Services KMS) - key identifier for the key used to to encrypt the integration. - """ - additional_encryption_context: dict[str, str] | None = ... - """ - The encryption context for the integration. For more information, see - [Encryption - context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) - in the *Amazon Web Services Key Management Service Developer Guide*. - """ - status: str | None = ... - """The current status of the integration.""" - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - data_filter: str | None = ... - """ - Data filters for the integration. These filters determine which tables - from the source database are sent to the target Amazon Redshift data - warehouse. - """ - description: str | None = ... - """A description of the integration.""" - create_time: datetime | None = ... - """ - The time when the integration was created, in Universal Coordinated Time - (UTC). - """ - errors: list[IntegrationError] | None = ... - """Any errors associated with the integration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateOptionGroupInput(_SerdeShape): - """""" - - option_group_name: str | None = ... - """ - Specifies the name of the option group to be created. - - Constraints: - - - Must be 1 to 255 letters, numbers, or hyphens - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Example: `myoptiongroup` - """ - engine_name: str | None = ... - """ - The name of the engine to associate this option group with. - - Valid Values: - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - """ - major_engine_version: str | None = ... - """ - Specifies the major version of the engine that this option group should - be associated with. - """ - option_group_description: str | None = ... - """The description of the option group.""" - tags: list[Tag] | None = ... - """Tags to assign to the option group.""" - -@dataclass(kw_only=True) -class CreateOptionGroupOutput(_SerdeShape): - """Dataclass for CreateOptionGroupOutput structure.""" - - option_group: OptionGroup | None = ... - """""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateTenantDatabaseInput(_SerdeShape): - """Dataclass for CreateTenantDatabaseInput structure.""" - - db_instance_identifier: str | None = ... - """ - The user-supplied DB instance identifier. RDS creates your tenant - database in this DB instance. This parameter isn't case-sensitive. - """ - tenant_db_name: str | None = ... - """ - The user-supplied name of the tenant database that you want to create in - your DB instance. This parameter has the same constraints as `DBName` in - `CreateDBInstance`. - """ - master_username: str | None = ... - """ - The name for the master user account in your tenant database. RDS - creates this user account in the tenant database and grants privileges - to the master user. This parameter is case-sensitive. - - Constraints: - - - Must be 1 to 16 letters, numbers, or underscores. - - - First character must be a letter. - - - Can't be a reserved word for the chosen database engine. - """ - master_user_password: str | None = ... - """ - The password for the master user in your tenant database. - - Constraints: - - - Must be 8 to 30 characters. - - - Can include any printable ASCII character except forward slash (`/`), - double quote (`"`), at symbol (`@`), ampersand (`&`), or single quote - (`'`). - - - Can't be specified when `ManageMasterUserPassword` is enabled. - """ - character_set_name: str | None = ... - """ - The character set for your tenant database. If you don't specify a - value, the character set name defaults to `AL32UTF8`. - """ - nchar_character_set_name: str | None = ... - """The `NCHAR` value for the tenant database.""" - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide.* - - Constraints: - - - Can't manage the master user password with Amazon Web Services - Secrets Manager if `MasterUserPassword` is specified. - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB instance. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - If you don't specify `MasterUserSecretKmsKeyId`, then the - `aws/secretsmanager` KMS key is used to encrypt the secret. If the - secret is in a different Amazon Web Services account, then you can't - use the `aws/secretsmanager` KMS key to encrypt the secret, and you must - use a customer managed KMS key. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class CreateTenantDatabaseOutput(_SerdeShape): - """Dataclass for CreateTenantDatabaseOutput structure.""" - - tenant_database: TenantDatabase | None = ... - """ - A tenant database in the DB instance. This data type is an element in - the response to the `DescribeTenantDatabases` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CustomAvailabilityZoneNotFoundFault(ServiceError, _SerdeShape): - """ - `CustomAvailabilityZoneId` doesn't refer to an existing custom - Availability Zone identifier. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CustomDBEngineVersionAlreadyExistsFault(ServiceError, _SerdeShape): - """A CEV with the specified name already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CustomDBEngineVersionAMI(_SerdeShape): - """A value that indicates the AMI information.""" - - image_id: str | None = ... - """A value that indicates the ID of the AMI.""" - status: str | None = ... - """A value that indicates the status of a custom engine version (CEV).""" - -@dataclass(kw_only=True) -class CustomDBEngineVersionNotFoundFault(ServiceError, _SerdeShape): - """The specified CEV was not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CustomDBEngineVersionQuotaExceededFault(ServiceError, _SerdeShape): - """You have exceeded your CEV quota.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CustomEngineVersionStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - INACTIVE = "inactive" - INACTIVE_EXCEPT_RESTORE = "inactive-except-restore" - -class DatabaseInsightsMode(UnknownEnumMixin, StrEnum): - STANDARD = "standard" - ADVANCED = "advanced" - -@dataclass(kw_only=True) -class DBCapacityReservation(_SerdeShape): - """ - Contains the details of a DB capacity reservation. - - This data type is used as a response element in the following - operations: - - - `CancelDBCapacityReservation` - - - `CreateDBCapacityReservation` - - - `DescribeDBCapacityReservations` - - - `ModifyDBCapacityReservation` - """ - - db_capacity_reservation_name: str | None = ... - """The name that you specified for the DB capacity reservation.""" - db_instance_class: str | None = ... - """ - The DB instance class for the reserved capacity. You specify this value - when you create the reservation, and you can't change it afterward. - """ - engine: str | None = ... - """ - The database engine for the reserved capacity. You specify this value - when you create the reservation, and you can't change it afterward. - """ - license_model: str | None = ... - """ - The license model for the reserved capacity. Amazon RDS returns this - value only for a reservation that reserves capacity for a specific - license model. Amazon RDS doesn't return this value for a reservation - whose database engine doesn't support a license model. - - A DB instance launches into the reservation only when the license model - of the DB instance matches this value. For a reservation that holds no - license model, Amazon RDS applies no license model check at launch. - - Valid Values: - - - RDS for Microsoft SQL Server Enterprise Edition and Standard Edition - - `license-included | bring-your-own-media` - - - RDS for Microsoft SQL Server Developer Edition - - `bring-your-own-license` - - - RDS for Oracle - `bring-your-own-license | license-included` - - - RDS for Db2 Standard Edition and Advanced Edition - - `bring-your-own-license | marketplace-license` - - For RDS for Db2 Standard Edition and Advanced Edition, a reservation - created without a license model holds `bring-your-own-license`. - """ - reserved_capacity_per_availability_zone: int | None = ... - """ - The number of DB instances that Amazon RDS reserves in each Availability - Zone of the reservation. This value matches the - `CapacityPerAvailabilityZone` parameter of the request. The total - reserved capacity is this value multiplied by the number of Availability - Zones of the reservation. - """ - available_capacity_per_availability_zone_list: ( - list[AvailableCapacityPerAvailabilityZone] | None - ) = ... - """ - The unused capacity of the reservation, reported for each Availability - Zone of the reservation. Each entry names one Availability Zone, and it - reports the number of DB instances that remain available in that - Availability Zone. - - Amazon RDS reports available capacity only for a reservation that is in - the `active` state and not past its end date. Otherwise, each entry - reports an available capacity of `0`. A future-dated reservation that - hasn't started reports `0`, and a reservation that Amazon RDS is - modifying reports `0`. - - A reservation reports the `pending` state while Amazon RDS modifies it. - Therefore, a reservation in the `active` state that reports no available - capacity has no unused capacity. - """ - end_date: datetime | None = ... - """ - The date and time when the reservation expires, in Universal Coordinated - Time (UTC). Amazon RDS doesn't return this value if the reservation - doesn't expire. - - Warning: - A DB instance that uses the reservation keeps running after the - reservation expires. It continues on unreserved capacity, and Amazon RDS - doesn't stop it or modify it. However, Amazon RDS no longer reserves - capacity for the DB instance. Amazon RDS might later move the DB - instance to different hardware, for example during hardware maintenance. - That move can fail when the Amazon Web Services Region has insufficient - capacity for the DB instance class. - """ - create_date: datetime | None = ... - """ - The date and time when the reservation was created, in Universal - Coordinated Time (UTC). - """ - start_date: datetime | None = ... - """ - The date and time when a future-dated reservation starts, in Universal - Coordinated Time (UTC). Amazon RDS doesn't return this value for a - reservation that started immediately. - """ - commitment_info: DBCapacityReservationCommitmentInfo | None = ... - """ - The capacity commitment of the reservation. Amazon RDS returns this - object only for a future-dated reservation. - """ - state: str | None = ... - """ - The current state of the DB capacity reservation. A DB instance can use - the reservation in the `active` state only. - - Valid Values: - - - `active` - Amazon RDS holds the reserved capacity, and a DB instance - can use it. - - - `pending` - The reservation isn't ready to use yet. Amazon RDS is - creating the reserved capacity, or it is applying a requested - modification. - - - `assessing` - Amazon RDS is evaluating the request for a future-dated - reservation. - - - `scheduled` - Amazon RDS accepted a future-dated reservation, and the - reservation is waiting for its start date. - - - `delayed` - Amazon RDS couldn't provide the reserved capacity of a - future-dated reservation by its start date. - - - `unsupported` - Amazon RDS can't fulfill the future-dated reservation - as requested. - - - `expired` - The reservation passed its end date. Amazon RDS releases - the reserved capacity. - - - `cancelled` - You cancelled the reservation, and Amazon RDS released - the reserved capacity. - - - `failed` - Amazon RDS couldn't reserve the capacity. - - The values `assessing`, `scheduled`, `delayed`, and `unsupported` apply - to a future-dated reservation only. - """ - db_capacity_reservation_arn: str | None = ... - """The Amazon Resource Name (ARN) of the DB capacity reservation.""" - db_capacity_reservation_identifier: str | None = ... - """ - The unique identifier of the DB capacity reservation. The identifier has - the prefix `dbcr-`. Every other DB capacity reservation operation takes - this identifier. - """ - tag_list: list[Tag] | None = ... - """The tags associated with the DB capacity reservation.""" - -@dataclass(kw_only=True) -class DBCapacityReservationAlreadyExistsFault(ServiceError, _SerdeShape): - """ - You already have a DB capacity reservation with the given name. Choose a - different name for the new reservation, or use the existing reservation. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBCapacityReservationCommitmentInfo(_SerdeShape): - """ - Contains the capacity commitment details of a DB capacity reservation, - including the number of committed DB instances in each Availability Zone - and the end date of the commitment period. Amazon RDS holds the - committed capacity until the commitment ends. Amazon RDS rejects a - request to cancel a reservation in the `active` state, and a request to - reduce the reserved capacity below the commitment. - - This data type is used as a response element in the following - operations: - - - `CancelDBCapacityReservation` - - - `CreateDBCapacityReservation` - - - `DescribeDBCapacityReservations` - - - `ModifyDBCapacityReservation` - """ - - committed_capacity_per_availability_zone: int | None = ... - """ - The number of DB instances that Amazon RDS holds in each Availability - Zone of the reservation for the length of the commitment. - """ - commitment_end_date: datetime | None = ... - """ - The date and time when the commitment ends, in Universal Coordinated - Time (UTC). This date reports the capacity commitment that Amazon RDS - granted. - - Amazon RDS can grant a shorter capacity commitment than you request in - `CommitmentDuration`. Therefore, this date can fall earlier than - `StartDate` plus `CommitmentDuration`. - """ - -@dataclass(kw_only=True) -class DBCapacityReservationNotFoundFault(ServiceError, _SerdeShape): - """ - `DBCapacityReservationIdentifier` doesn't refer to an existing DB - capacity reservation. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DBCapacityReservationState(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - EXPIRED = "expired" - CANCELLED = "cancelled" - PENDING = "pending" - FAILED = "failed" - ASSESSING = "assessing" - SCHEDULED = "scheduled" - DELAYED = "delayed" - UNSUPPORTED = "unsupported" - -@dataclass(kw_only=True) -class DBCapacityReservationUnsupportedFault(ServiceError, _SerdeShape): - """ - The specified configuration isn't supported for DB capacity - reservations. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBCluster(_SerdeShape): - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - - allocated_storage: int | None = ... - """ - `AllocatedStorage` specifies the allocated storage size in gibibytes - (GiB). For Aurora, `AllocatedStorage` can vary because Aurora DB cluster - storage size adjusts as needed. - """ - availability_zones: list[str] | None = ... - """ - The list of Availability Zones (AZs) where instances in the DB cluster - can be created. - """ - backup_retention_period: int | None = ... - """The number of days for which automatic DB snapshots are retained.""" - character_set_name: str | None = ... - """ - If present, specifies the name of the character set that this cluster is - associated with. - """ - database_name: str | None = ... - """ - The name of the initial database that was specified for the DB cluster - when it was created, if one was provided. This same name is returned for - the life of the DB cluster. - """ - db_cluster_identifier: str | None = ... - """ - The user-supplied identifier for the DB cluster. This identifier is the - unique key that identifies a DB cluster. - """ - db_cluster_parameter_group: str | None = ... - """The name of the DB cluster parameter group for the DB cluster.""" - db_subnet_group: str | None = ... - """ - Information about the subnet group associated with the DB cluster, - including the name, description, and subnets in the subnet group. - """ - status: str | None = ... - """The current state of this DB cluster.""" - percent_progress: str | None = ... - """The progress of the operation as a percentage.""" - earliest_restorable_time: datetime | None = ... - """ - The earliest time to which a database can be restored with point-in-time - restore. - """ - endpoint: str | None = ... - """The connection endpoint for the primary instance of the DB cluster.""" - reader_endpoint: str | None = ... - """ - The reader endpoint for the DB cluster. The reader endpoint for a DB - cluster load-balances connections across the Aurora Replicas that are - available in a DB cluster. As clients request new connections to the - reader endpoint, Aurora distributes the connection requests among the - Aurora Replicas in the DB cluster. This functionality can help balance - your read workload across multiple Aurora Replicas in your DB cluster. - - If a failover occurs, and the Aurora Replica that you are connected to - is promoted to be the primary instance, your connection is dropped. To - continue sending your read workload to other Aurora Replicas in the - cluster, you can then reconnect to the reader endpoint. - """ - custom_endpoints: list[str] | None = ... - """The custom endpoints associated with the DB cluster.""" - multi_az: bool | None = ... - """ - Indicates whether the DB cluster has instances in multiple Availability - Zones. - """ - engine: str | None = ... - """The database engine used for this DB cluster.""" - engine_version: str | None = ... - """The version of the database engine.""" - latest_restorable_time: datetime | None = ... - """ - The latest time to which a database can be restored with point-in-time - restore. - """ - port: int | None = ... - """The port that the database engine is listening on.""" - master_username: str | None = ... - """The master username for the DB cluster.""" - db_cluster_option_group_memberships: list[DBClusterOptionGroupStatus] | None = ... - """The list of option group memberships for this DB cluster.""" - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, as determined by the - `BackupRetentionPeriod`. - """ - preferred_maintenance_window: str | None = ... - """ - The weekly time range during which system maintenance can occur, in - Universal Coordinated Time (UTC). - """ - upgrade_rollout_order: str | None = ... - """ - This data type represents the order in which the clusters are upgraded. - - - [first] - Typically used for development or testing environments. - - - [second] - Default order for resources not specifically configured. - - - [last] - Usually reserved for production environments. - """ - replication_source_identifier: str | None = ... - """ - The identifier of the source DB cluster if this DB cluster is a read - replica. - """ - read_replica_identifiers: list[str] | None = ... - """ - Contains one or more identifiers of the read replicas associated with - this DB cluster. - """ - status_infos: list[DBClusterStatusInfo] | None = ... - """Reserved for future use.""" - db_cluster_members: list[DBClusterMember] | None = ... - """The list of DB instances that make up the DB cluster.""" - vpc_security_groups: list[VpcSecurityGroupMembership] | None = ... - """The list of VPC security groups that the DB cluster belongs to.""" - hosted_zone_id: str | None = ... - """The ID that Amazon Route 53 assigns when you create a hosted zone.""" - storage_encrypted: bool | None = ... - """ - Specifies whether the DB cluster is encrypted with an Amazon Web - Services managed key or a customer managed key. - - If the DB cluster is encrypted with an Amazon Web Services owned key, - this value is `false` and `StorageEncryptionType` is `sse-rds`. In that - case, the data at rest is still encrypted. To determine how the data at - rest is protected, use `StorageEncryptionType`. - """ - storage_encryption_type: str | None = ... - """ - The type of encryption used to protect data at rest in the DB cluster. - Possible values: - - - `none` - The DB cluster is not encrypted. - - - `sse-rds` - The DB cluster is encrypted using an Amazon Web Services - owned KMS key. - - - `sse-kms` - The DB cluster is encrypted using a customer managed KMS - key or Amazon Web Services managed KMS key. - """ - kms_key_id: str | None = ... - """ - If `StorageEncrypted` is enabled, the Amazon Web Services KMS key - identifier for the encrypted DB cluster. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - """ - db_cluster_resource_id: str | None = ... - """ - The Amazon Web Services Region-unique, immutable identifier for the DB - cluster. This identifier is found in Amazon Web Services CloudTrail log - entries whenever the KMS key for the DB cluster is accessed. - """ - db_cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB cluster.""" - associated_roles: list[DBClusterRole] | None = ... - """ - A list of the Amazon Web Services Identity and Access Management (IAM) - roles that are associated with the DB cluster. IAM roles that are - associated with a DB cluster grant permission for the DB cluster to - access other Amazon Web Services on your behalf. - """ - iam_database_authentication_enabled: bool | None = ... - """ - Indicates whether the mapping of Amazon Web Services Identity and Access - Management (IAM) accounts to database accounts is enabled. - """ - clone_group_id: str | None = ... - """ - The ID of the clone group with which the DB cluster is associated. For - newly created clusters, the ID is typically null. - - If you clone a DB cluster when the ID is null, the operation populates - the ID value for the source cluster and the clone because both clusters - become part of the same clone group. Even if you delete the clone - cluster, the clone group ID remains for the lifetime of the source - cluster to show that it was used in a cloning operation. - - For PITR, the clone group ID is inherited from the source cluster. For - snapshot restore operations, the clone group ID isn't inherited from - the source cluster. - """ - cluster_create_time: datetime | None = ... - """ - The time when the DB cluster was created, in Universal Coordinated Time - (UTC). - """ - earliest_backtrack_time: datetime | None = ... - """The earliest time to which a DB cluster can be backtracked.""" - backtrack_window: int | None = ... - """ - The target backtrack window, in seconds. If this value is set to `0`, - backtracking is disabled for the DB cluster. Otherwise, backtracking is - enabled. - """ - backtrack_consumed_change_records: int | None = ... - """The number of change records stored for Backtrack.""" - enabled_cloudwatch_logs_exports: list[str] | None = ... - """ - A list of log types that this DB cluster is configured to export to - CloudWatch Logs. - - Log types vary by DB engine. For information about the log types for - each DB engine, see [Amazon RDS Database Log - Files](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html) - in the *Amazon Aurora User Guide.* - """ - capacity: int | None = ... - """ - The current capacity of an Aurora Serverless v1 DB cluster. The capacity - is `0` (zero) when the cluster is paused. - - For more information about Aurora Serverless v1, see [Using Amazon - Aurora Serverless - v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) - in the *Amazon Aurora User Guide*. - """ - pending_modified_values: ClusterPendingModifiedValues | None = ... - """ - Information about pending changes to the DB cluster. This information is - returned only when there are pending changes. Specific changes are - identified by subelements. - """ - engine_mode: str | None = ... - """ - The DB engine mode of the DB cluster, either `provisioned` or - `serverless`. - - For more information, see - [CreateDBCluster](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html). - """ - scaling_configuration_info: ScalingConfigurationInfo | None = ... - """ - The scaling configuration for an Aurora DB cluster in `serverless` DB - engine mode. - - For more information, see [Using Amazon Aurora Serverless - v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) - in the *Amazon Aurora User Guide*. - """ - rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... - """Reserved for future use.""" - db_cluster_instance_class: str | None = ... - """ - The name of the compute and memory capacity class of the DB instance. - - This setting is only for non-Aurora Multi-AZ DB clusters. - """ - storage_type: str | None = ... - """The storage type associated with the DB cluster.""" - iops: int | None = ... - """ - The Provisioned IOPS (I/O operations per second) value. - - This setting is only for non-Aurora Multi-AZ DB clusters. - """ - storage_throughput: int | None = ... - """ - The storage throughput for the DB cluster. The throughput is - automatically set based on the IOPS that you provision, and is not - configurable. - - This setting is only for non-Aurora Multi-AZ DB clusters. - """ - io_optimized_next_allowed_modification_time: datetime | None = ... - """ - The next time you can modify the DB cluster to use the `aurora-iopt1` - storage type. - - This setting is only for Aurora DB clusters. - """ - publicly_accessible: bool | None = ... - """ - Indicates whether the DB cluster is publicly accessible. - - When the DB cluster is publicly accessible and you connect from outside - of the DB cluster's virtual private cloud (VPC), its Domain Name System - (DNS) endpoint resolves to the public IP address. When you connect from - within the same VPC as the DB cluster, the endpoint resolves to the - private IP address. Access to the DB cluster is ultimately controlled by - the security group it uses. That public access isn't permitted if the - security group assigned to the DB cluster doesn't permit it. - - When the DB cluster isn't publicly accessible, it is an internal DB - cluster with a DNS name that resolves to a private IP address. - - For more information, see CreateDBCluster. - - This setting is only for non-Aurora Multi-AZ DB clusters. - """ - auto_minor_version_upgrade: bool | None = ... - """ - Indicates whether minor version patches are applied automatically. - - This setting is for Aurora DB clusters and Multi-AZ DB clusters. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - deletion_protection: bool | None = ... - """ - Indicates whether the DB cluster has deletion protection enabled. The - database can't be deleted when deletion protection is enabled. - """ - http_endpoint_enabled: bool | None = ... - """ - Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster. - - When enabled, the HTTP endpoint provides a connectionless web service - API (RDS Data API) for running SQL queries on the DB cluster. You can - also query your database from inside the RDS console with the RDS query - editor. - - For more information, see [Using RDS Data - API](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) - in the *Amazon Aurora User Guide*. - """ - activity_stream_mode: str | None = ... - """ - The mode of the database activity stream. Database events such as a - change or access generate an activity stream event. The database session - can handle these events either synchronously or asynchronously. - """ - activity_stream_status: str | None = ... - """The status of the database activity stream.""" - activity_stream_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier used for encrypting messages - in the database activity stream. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - """ - activity_stream_kinesis_stream_name: str | None = ... - """ - The name of the Amazon Kinesis data stream used for the database - activity stream. - """ - copy_tags_to_snapshot: bool | None = ... - """ - Indicates whether tags are copied from the DB cluster to snapshots of - the DB cluster. - """ - cross_account_clone: bool | None = ... - """ - Indicates whether the DB cluster is a clone of a DB cluster owned by a - different Amazon Web Services account. - """ - domain_memberships: list[DomainMembership] | None = ... - """ - The Active Directory Domain membership records associated with the DB - cluster. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - global_cluster_identifier: str | None = ... - """ - Contains a user-supplied global database cluster identifier. This - identifier is the unique key that identifies a global database cluster. - """ - global_write_forwarding_status: str | None = ... - """ - The status of write forwarding for a secondary cluster in an Aurora - global database. - """ - global_write_forwarding_requested: bool | None = ... - """ - Indicates whether write forwarding is enabled for a secondary cluster in - an Aurora global database. Because write forwarding takes time to - enable, check the value of `GlobalWriteForwardingStatus` to confirm that - the request has completed before using the write forwarding feature for - this cluster. - """ - network_type: str | None = ... - """ - The network type of the DB instance. - - The network type is determined by the `DBSubnetGroup` specified for the - DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon Aurora User Guide.* - - This setting is only for Aurora DB clusters. - - Valid Values: `IPV4 | DUAL` - """ - automatic_restart_time: datetime | None = ... - """The time when a stopped DB cluster is restarted automatically.""" - serverless_v2_scaling_configuration: ( - ServerlessV2ScalingConfigurationInfo | None - ) = ... - """ - The scaling configuration for an Aurora Serverless v2 DB cluster. - - For more information, see [Using Amazon Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the *Amazon Aurora User Guide*. - """ - serverless_v2_platform_version: str | None = ... - """ - The version of the Aurora Serverless V2 platform used by the DB cluster. - For more information, see [Using Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the *Amazon Aurora User Guide*. - """ - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the DB cluster. - - This setting is only for -Aurora DB clusters and Multi-AZ DB clusters. - """ - monitoring_role_arn: str | None = ... - """ - The ARN for the IAM role that permits RDS to send Enhanced Monitoring - metrics to Amazon CloudWatch Logs. - - This setting is only for Aurora DB clusters and Multi-AZ DB clusters. - """ - database_insights_mode: str | None = ... - """The mode of Database Insights that is enabled for the DB cluster.""" - performance_insights_enabled: bool | None = ... - """ - Indicates whether Performance Insights is enabled for the DB cluster. - - This setting is only for Aurora DB clusters and Multi-AZ DB clusters. - """ - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - This setting is only for Aurora DB clusters and Multi-AZ DB clusters. - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. - - This setting is only for Aurora DB clusters and Multi-AZ DB clusters. - - Valid Values: - - - `7` - - - *month* * 31, where *month* is a number of months from 1-23. - Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 - months * 31) - - - `731` - - Default: `7` days - """ - db_system_id: str | None = ... - """Reserved for future use.""" - master_user_secret: MasterUserSecret | None = ... - """ - The secret managed by RDS in Amazon Web Services Secrets Manager for the - master user password. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide* and [Password management with Amazon Web - Services Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the *Amazon Aurora User Guide.* - """ - local_write_forwarding_status: str | None = ... - """ - Indicates whether an Aurora DB cluster has in-cluster write forwarding - enabled, not enabled, requested, or is in the process of enabling it. - """ - aws_backup_recovery_point_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the recovery point in Amazon Web - Services Backup. - """ - limitless_database: LimitlessDatabase | None = ... - """The details for Aurora Limitless Database.""" - cluster_scalability_type: str | None = ... - """ - The scalability mode of the Aurora DB cluster. When set to `limitless`, - the cluster operates as an Aurora Limitless Database. When set to - `standard` (the default), the cluster uses normal DB instance creation. - """ - certificate_details: CertificateDetails | None = ... - """ - The details of the DB instance's server certificate. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for the DB cluster. - - For more information, see CreateDBCluster. - """ - vpc_networking_enabled: bool | None = ... - """ - Indicates whether the DB cluster uses VPC-based networking. - - This setting is applicable only for Aurora PostgreSQL clusters created - through express configuration. - """ - internet_access_gateway_enabled: bool | None = ... - """ - Indicates whether the DB cluster has internet-based connectivity enabled - through an internet access gateway. - - This setting is applicable only for Aurora PostgreSQL clusters created - through express configuration. - """ - -@dataclass(kw_only=True) -class DBClusterAlreadyExistsFault(ServiceError, _SerdeShape): - """The user already has a DB cluster with the given identifier.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterAssociatedRole(_SerdeShape): - """ - Contains information about an Amazon Web Services Identity and Access - Management (IAM) role to associate with a DB cluster. You can specify - this structure in the `AssociatedRoles` parameter of CreateDBCluster, - RestoreDBClusterFromS3, RestoreDBClusterFromSnapshot, and - RestoreDBClusterToPointInTime. - """ - - role_arn: str - """ - The Amazon Resource Name (ARN) of the IAM role to associate with the DB - cluster. - """ - feature_name: str | None = ... - """ - The name of the feature associated with the IAM role. For information - about supported feature names, see DBEngineVersion. - """ - -@dataclass(kw_only=True) -class DBClusterAutomatedBackup(_SerdeShape): - """ - An automated backup of a DB cluster. It consists of system backups, - transaction logs, and the database cluster properties that existed at - the time you deleted the source cluster. - """ - - engine: str | None = ... - """The name of the database engine for this automated backup.""" - vpc_id: str | None = ... - """The VPC ID associated with the DB cluster.""" - db_cluster_automated_backups_arn: str | None = ... - """The Amazon Resource Name (ARN) for the automated backups.""" - db_cluster_identifier: str | None = ... - """ - The identifier for the source DB cluster, which can't be changed and - which is unique to an Amazon Web Services Region. - """ - restore_window: RestoreWindow | None = ... - """Earliest and latest time an instance can be restored to:""" - master_username: str | None = ... - """The master user name of the automated backup.""" - db_cluster_resource_id: str | None = ... - """ - The resource ID for the source DB cluster, which can't be changed and - which is unique to an Amazon Web Services Region. - """ - region: str | None = ... - """The Amazon Web Services Region associated with the automated backup.""" - license_model: str | None = ... - """The license model information for this DB cluster automated backup.""" - status: str | None = ... - """ - A list of status information for an automated backup: - - - `retained` - Automated backups for deleted clusters. - """ - iam_database_authentication_enabled: bool | None = ... - """ - Indicates whether mapping of Amazon Web Services Identity and Access - Management (IAM) accounts to database accounts is enabled. - """ - cluster_create_time: datetime | None = ... - """ - The time when the DB cluster was created, in Universal Coordinated Time - (UTC). - """ - storage_encrypted: bool | None = ... - """Indicates whether the source DB cluster is encrypted.""" - storage_encryption_type: str | None = ... - """ - The type of encryption used to protect data at rest in the automated - backup. Possible values: - - - `none` - The automated backup is not encrypted. - - - `sse-rds` - The automated backup is encrypted using an Amazon Web - Services owned KMS key. - - - `sse-kms` - The automated backup is encrypted using a customer managed - KMS key or Amazon Web Services managed KMS key. - """ - allocated_storage: int | None = ... - """ - For all database engines except Amazon Aurora, `AllocatedStorage` - specifies the allocated storage size in gibibytes (GiB). For Aurora, - `AllocatedStorage` always returns 1, because Aurora DB cluster storage - size isn't fixed, but instead automatically adjusts as needed. - """ - engine_version: str | None = ... - """The version of the database engine for the automated backup.""" - db_cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) for the source DB cluster.""" - backup_retention_period: int | None = ... - """The retention period for the automated backups.""" - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, as determined by the - `BackupRetentionPeriod`. - """ - engine_mode: str | None = ... - """The engine mode of the database engine for the automated backup.""" - availability_zones: list[str] | None = ... - """ - The Availability Zones where instances in the DB cluster can be created. - For information on Amazon Web Services Regions and Availability Zones, - see [Regions and Availability - Zones](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html). - """ - port: int | None = ... - """ - The port number that the automated backup used for connections. - - Default: Inherits from the source DB cluster - - Valid Values: `1150-65535` - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key ID for an automated backup. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - """ - storage_type: str | None = ... - """ - The storage type associated with the DB cluster. - - This setting is only for non-Aurora Multi-AZ DB clusters. - """ - iops: int | None = ... - """ - The IOPS (I/O operations per second) value for the automated backup. - - This setting is only for non-Aurora Multi-AZ DB clusters. - """ - storage_throughput: int | None = ... - """ - The storage throughput for the automated backup. The throughput is - automatically set based on the IOPS that you provision, and is not - configurable. - - This setting is only for non-Aurora Multi-AZ DB clusters. - """ - aws_backup_recovery_point_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the recovery point in Amazon Web - Services Backup. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class DBClusterAutomatedBackupNotFoundFault(ServiceError, _SerdeShape): - """No automated backup for this DB cluster was found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterAutomatedBackupQuotaExceededFault(ServiceError, _SerdeShape): - """ - The quota for retained automated backups was exceeded. This prevents you - from retaining any additional automated backups. The retained automated - backups quota is the same as your DB cluster quota. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterBacktrack(_SerdeShape): - """ - This data type is used as a response element in the - `DescribeDBClusterBacktracks` action. - """ - - db_cluster_identifier: str | None = ... - """ - Contains a user-supplied DB cluster identifier. This identifier is the - unique key that identifies a DB cluster. - """ - backtrack_identifier: str | None = ... - """Contains the backtrack identifier.""" - backtrack_to: datetime | None = ... - """The timestamp of the time to which the DB cluster was backtracked.""" - backtracked_from: datetime | None = ... - """The timestamp of the time from which the DB cluster was backtracked.""" - backtrack_request_creation_time: datetime | None = ... - """The timestamp of the time at which the backtrack was requested.""" - status: str | None = ... - """ - The status of the backtrack. This property returns one of the following - values: - - - `applying` - The backtrack is currently being applied to or rolled - back from the DB cluster. - - - `completed` - The backtrack has successfully been applied to or rolled - back from the DB cluster. - - - `failed` - An error occurred while the backtrack was applied to or - rolled back from the DB cluster. - - - `pending` - The backtrack is currently pending application to or - rollback from the DB cluster. - """ - -@dataclass(kw_only=True) -class DBClusterBacktrackNotFoundFault(ServiceError, _SerdeShape): - """`BacktrackIdentifier` doesn't refer to an existing backtrack.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterEndpoint(_SerdeShape): - """ - This data type represents the information you need to connect to an - Amazon Aurora DB cluster. This data type is used as a response element - in the following actions: - - - `CreateDBClusterEndpoint` - - - `DescribeDBClusterEndpoints` - - - `ModifyDBClusterEndpoint` - - - `DeleteDBClusterEndpoint` - - For the data structure that represents Amazon RDS DB instance endpoints, - see `Endpoint`. - """ - - db_cluster_endpoint_identifier: str | None = ... - """ - The identifier associated with the endpoint. This parameter is stored as - a lowercase string. - """ - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the DB cluster associated with the - endpoint. This parameter is stored as a lowercase string. - """ - db_cluster_endpoint_resource_identifier: str | None = ... - """ - A unique system-generated identifier for an endpoint. It remains the - same for the whole life of the endpoint. - """ - endpoint: str | None = ... - """The DNS address of the endpoint.""" - status: str | None = ... - """ - The current status of the endpoint. One of: `creating`, `available`, - `deleting`, `inactive`, `modifying`. The `inactive` state applies to an - endpoint that can't be used for a certain kind of cluster, such as a - `writer` endpoint for a read-only secondary cluster in a global - database. - """ - endpoint_type: str | None = ... - """The type of the endpoint. One of: `READER`, `WRITER`, `CUSTOM`.""" - custom_endpoint_type: str | None = ... - """ - The type associated with a custom endpoint. One of: `READER`, `WRITER`, - `ANY`. - """ - static_members: list[str] | None = ... - """ - List of DB instance identifiers that are part of the custom endpoint - group. - """ - excluded_members: list[str] | None = ... - """ - List of DB instance identifiers that aren't part of the custom endpoint - group. All other eligible instances are reachable through the custom - endpoint. Only relevant if the list of static members is empty. - """ - db_cluster_endpoint_arn: str | None = ... - """The Amazon Resource Name (ARN) for the endpoint.""" - -@dataclass(kw_only=True) -class DBClusterEndpointAlreadyExistsFault(ServiceError, _SerdeShape): - """ - The specified custom endpoint can't be created because it already - exists. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterEndpointNotFoundFault(ServiceError, _SerdeShape): - """The specified custom endpoint doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterEndpointQuotaExceededFault(ServiceError, _SerdeShape): - """The cluster already has the maximum number of custom endpoints.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterMember(_SerdeShape): - """Contains information about an instance that is part of a DB cluster.""" - - db_instance_identifier: str | None = ... - """Specifies the instance identifier for this member of the DB cluster.""" - is_cluster_writer: bool | None = ... - """ - Indicates whether the cluster member is the primary DB instance for the - DB cluster. - """ - db_cluster_parameter_group_status: str | None = ... - """ - Specifies the status of the DB cluster parameter group for this member - of the DB cluster. - """ - promotion_tier: int | None = ... - """ - A value that specifies the order in which an Aurora Replica is promoted - to the primary instance after a failure of the existing primary - instance. For more information, see [Fault Tolerance for an Aurora DB - Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class DBClusterNotFoundFault(ServiceError, _SerdeShape): - """`DBClusterIdentifier` doesn't refer to an existing DB cluster.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterOptionGroupStatus(_SerdeShape): - """Contains status information for a DB cluster option group.""" - - db_cluster_option_group_name: str | None = ... - """Specifies the name of the DB cluster option group.""" - status: str | None = ... - """Specifies the status of the DB cluster option group.""" - -@dataclass(kw_only=True) -class DBClusterParameterGroup(_SerdeShape): - """ - Contains the details of an Amazon RDS DB cluster parameter group. - - This data type is used as a response element in the - `DescribeDBClusterParameterGroups` action. - """ - - db_cluster_parameter_group_name: str | None = ... - """The name of the DB cluster parameter group.""" - db_parameter_group_family: str | None = ... - """ - The name of the DB parameter group family that this DB cluster parameter - group is compatible with. - """ - description: str | None = ... - """ - Provides the customer-specified description for this DB cluster - parameter group. - """ - db_cluster_parameter_group_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB cluster parameter group.""" - -@dataclass(kw_only=True) -class DBClusterParameterGroupNotFoundFault(ServiceError, _SerdeShape): - """ - `DBClusterParameterGroupName` doesn't refer to an existing DB cluster - parameter group. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterQuotaExceededFault(ServiceError, _SerdeShape): - """ - The user attempted to create a new DB cluster and the user has already - reached the maximum allowed DB cluster quota. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterRole(_SerdeShape): - """ - Describes an Amazon Web Services Identity and Access Management (IAM) - role that is associated with a DB cluster. - """ - - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that is associated with - the DB cluster. - """ - status: str | None = ... - """ - Describes the state of association between the IAM role and the DB - cluster. The Status property returns one of the following values: - - - `ACTIVE` - the IAM role ARN is associated with the DB cluster and can - be used to access other Amazon Web Services on your behalf. - - - `PENDING` - the IAM role ARN is being associated with the DB cluster. - - - `INVALID` - the IAM role ARN is associated with the DB cluster, but - the DB cluster is unable to assume the IAM role in order to access - other Amazon Web Services on your behalf. - """ - feature_name: str | None = ... - """ - The name of the feature associated with the Amazon Web Services Identity - and Access Management (IAM) role. For information about supported - feature names, see DBEngineVersion. - """ - -@dataclass(kw_only=True) -class DBClusterRoleAlreadyExistsFault(ServiceError, _SerdeShape): - """ - The specified IAM role Amazon Resource Name (ARN) is already associated - with the specified DB cluster. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterRoleNotFoundFault(ServiceError, _SerdeShape): - """ - The specified IAM role Amazon Resource Name (ARN) isn't associated with - the specified DB cluster. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterRoleQuotaExceededFault(ServiceError, _SerdeShape): - """ - You have exceeded the maximum number of IAM roles that can be associated - with the specified DB cluster. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterSnapshot(_SerdeShape): - """ - Contains the details for an Amazon RDS DB cluster snapshot - - This data type is used as a response element in the - `DescribeDBClusterSnapshots` action. - """ - - availability_zones: list[str] | None = ... - """ - The list of Availability Zones (AZs) where instances in the DB cluster - snapshot can be restored. - """ - db_cluster_snapshot_identifier: str | None = ... - """The identifier for the DB cluster snapshot.""" - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the DB cluster that this DB cluster - snapshot was created from. - """ - snapshot_create_time: datetime | None = ... - """ - The time when the snapshot was taken, in Universal Coordinated Time - (UTC). - """ - engine: str | None = ... - """The name of the database engine for this DB cluster snapshot.""" - engine_mode: str | None = ... - """The engine mode of the database engine for this DB cluster snapshot.""" - allocated_storage: int | None = ... - """ - The allocated storage size of the DB cluster snapshot in gibibytes - (GiB). - """ - status: str | None = ... - """ - The status of this DB cluster snapshot. Valid statuses are the - following: - - - `available` - - - `copying` - - - `creating` - """ - port: int | None = ... - """ - The port that the DB cluster was listening on at the time of the - snapshot. - """ - vpc_id: str | None = ... - """The VPC ID associated with the DB cluster snapshot.""" - cluster_create_time: datetime | None = ... - """ - The time when the DB cluster was created, in Universal Coordinated Time - (UTC). - """ - master_username: str | None = ... - """The master username for this DB cluster snapshot.""" - engine_version: str | None = ... - """The version of the database engine for this DB cluster snapshot.""" - license_model: str | None = ... - """The license model information for this DB cluster snapshot.""" - snapshot_type: str | None = ... - """The type of the DB cluster snapshot.""" - percent_progress: int | None = ... - """The percentage of the estimated data that has been transferred.""" - storage_encrypted: bool | None = ... - """ - Specifies whether the DB cluster snapshot is encrypted with an Amazon - Web Services managed key or a customer managed key. - - If the DB cluster snapshot is encrypted with an Amazon Web Services - owned key, this value is `false` and `StorageEncryptionType` is - `sse-rds`. In that case, the data at rest is still encrypted. To - determine how the data at rest is protected, use - `StorageEncryptionType`. - """ - storage_encryption_type: str | None = ... - """ - The type of encryption used to protect data at rest in the DB cluster - snapshot. Possible values: - - - `none` - The DB cluster snapshot is not encrypted. - - - `sse-rds` - The DB cluster snapshot is encrypted using an Amazon Web - Services owned KMS key. - - - `sse-kms` - The DB cluster snapshot is encrypted using a customer - managed KMS key or Amazon Web Services managed KMS key. - """ - backup_retention_period: int | None = ... - """The number of days for which automatic DB snapshots are retained.""" - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, as determined by the - `BackupRetentionPeriod`. - """ - kms_key_id: str | None = ... - """ - If `StorageEncrypted` is true, the Amazon Web Services KMS key - identifier for the encrypted DB cluster snapshot. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - """ - db_cluster_snapshot_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB cluster snapshot.""" - source_db_cluster_snapshot_arn: str | None = ... - """ - If the DB cluster snapshot was copied from a source DB cluster snapshot, - the Amazon Resource Name (ARN) for the source DB cluster snapshot, - otherwise, a null value. - """ - iam_database_authentication_enabled: bool | None = ... - """ - Indicates whether mapping of Amazon Web Services Identity and Access - Management (IAM) accounts to database accounts is enabled. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - storage_type: str | None = ... - """ - The storage type associated with the DB cluster snapshot. - - This setting is only for Aurora DB clusters. - """ - storage_throughput: int | None = ... - """ - The storage throughput for the DB cluster snapshot. The throughput is - automatically set based on the IOPS that you provision, and is not - configurable. - - This setting is only for non-Aurora Multi-AZ DB clusters. - """ - db_cluster_resource_id: str | None = ... - """ - The resource ID of the DB cluster that this DB cluster snapshot was - created from. - """ - db_system_id: str | None = ... - """Reserved for future use.""" - -@dataclass(kw_only=True) -class DBClusterSnapshotAlreadyExistsFault(ServiceError, _SerdeShape): - """The user already has a DB cluster snapshot with the given identifier.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterSnapshotAttribute(_SerdeShape): - """ - Contains the name and values of a manual DB cluster snapshot attribute. - - Manual DB cluster snapshot attributes are used to authorize other Amazon - Web Services accounts to restore a manual DB cluster snapshot. For more - information, see the `ModifyDBClusterSnapshotAttribute` API action. - """ - - attribute_name: str | None = ... - """ - The name of the manual DB cluster snapshot attribute. - - The attribute named `restore` refers to the list of Amazon Web Services - accounts that have permission to copy or restore the manual DB cluster - snapshot. For more information, see the - `ModifyDBClusterSnapshotAttribute` API action. - """ - attribute_values: list[str] | None = ... - """ - The value(s) for the manual DB cluster snapshot attribute. - - If the `AttributeName` field is set to `restore`, then this element - returns a list of IDs of the Amazon Web Services accounts that are - authorized to copy or restore the manual DB cluster snapshot. If a value - of `all` is in the list, then the manual DB cluster snapshot is public - and available for any Amazon Web Services account to copy or restore. - """ - -@dataclass(kw_only=True) -class DBClusterSnapshotAttributesResult(_SerdeShape): - """ - Contains the results of a successful call to the - `DescribeDBClusterSnapshotAttributes` API action. - - Manual DB cluster snapshot attributes are used to authorize other Amazon - Web Services accounts to copy or restore a manual DB cluster snapshot. - For more information, see the `ModifyDBClusterSnapshotAttribute` API - action. - """ - - db_cluster_snapshot_identifier: str | None = ... - """ - The identifier of the manual DB cluster snapshot that the attributes - apply to. - """ - db_cluster_snapshot_attributes: list[DBClusterSnapshotAttribute] | None = ... - """The list of attributes and values for the manual DB cluster snapshot.""" - -@dataclass(kw_only=True) -class DBClusterSnapshotNotFoundFault(ServiceError, _SerdeShape): - """ - `DBClusterSnapshotIdentifier` doesn't refer to an existing DB cluster - snapshot. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBClusterStatusInfo(_SerdeShape): - """Reserved for future use.""" - - status_type: str | None = ... - """Reserved for future use.""" - normal: bool | None = ... - """Reserved for future use.""" - status: str | None = ... - """Reserved for future use.""" - message: str | None = ... - """Reserved for future use.""" - -@dataclass(kw_only=True) -class DBEngineVersion(_SerdeShape): - """ - This data type is used as a response element in the action - `DescribeDBEngineVersions`. - """ - - engine: str | None = ... - """The name of the database engine.""" - major_engine_version: str | None = ... - """The major engine version of the CEV.""" - engine_version: str | None = ... - """The version number of the database engine.""" - database_installation_files_s3_bucket_name: str | None = ... - """ - The name of the Amazon S3 bucket that contains your database - installation files. - """ - database_installation_files_s3_prefix: str | None = ... - """ - The Amazon S3 directory that contains the database installation files. - If not specified, then no prefix is assumed. - """ - database_installation_files: list[str] | None = ... - """ - The database installation files (ISO and EXE) that were uploaded to - Amazon S3 and used to import the database engine version to Amazon RDS. - Returned for RDS for SQL Server engine versions (`sqlserver-ee`, - `sqlserver-se`, and `sqlserver-dev-ee`) created from customer-supplied - installation media. - """ - custom_db_engine_version_manifest: str | None = ... - """ - JSON string that lists the installation files and parameters that RDS - Custom uses to create a custom engine version (CEV). RDS Custom applies - the patches in the order in which they're listed in the manifest. You - can set the Oracle home, Oracle base, and UNIX/Linux user and group - using the installation parameters. For more information, see [JSON - fields in the CEV - manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) - in the *Amazon RDS User Guide*. - """ - db_parameter_group_family: str | None = ... - """The name of the DB parameter group family for the database engine.""" - db_engine_description: str | None = ... - """The description of the database engine.""" - db_engine_version_arn: str | None = ... - """The ARN of the custom engine version.""" - db_engine_version_description: str | None = ... - """The description of the database engine version.""" - default_character_set: CharacterSet | None = ... - """ - The default character set for new instances of this engine version, if - the `CharacterSetName` parameter of the CreateDBInstance API isn't - specified. - """ - failure_reason: str | None = ... - """ - The reason that the custom engine version creation failed with an - `incompatible-installation-media` status. Applicable to RDS for SQL - Server engine versions (`sqlserver-ee`, `sqlserver-se`, and - `sqlserver-dev-ee`). - """ - image: CustomDBEngineVersionAMI | None = ... - """The EC2 image""" - db_engine_media_type: str | None = ... - """ - The source of the installation media for this engine version. A value of - `Customer Provided` indicates that the engine version was created from - customer-supplied installation media using - `CreateCustomDBEngineVersion`. Applicable to RDS Custom for SQL Server - and to RDS for SQL Server engine versions (`sqlserver-ee` and - `sqlserver-se` with the `bring-your-own-media` license model, and - `sqlserver-dev-ee`). - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted CEV. This - parameter is required for RDS Custom, but optional for Amazon RDS. - """ - create_time: datetime | None = ... - """The creation time of the DB engine version.""" - supported_character_sets: list[CharacterSet] | None = ... - """ - A list of the character sets supported by this engine for the - `CharacterSetName` parameter of the `CreateDBInstance` operation. - """ - supported_nchar_character_sets: list[CharacterSet] | None = ... - """ - A list of the character sets supported by the Oracle DB engine for the - `NcharCharacterSetName` parameter of the `CreateDBInstance` operation. - """ - valid_upgrade_target: list[UpgradeTarget] | None = ... - """ - A list of engine versions that this database engine version can be - upgraded to. - """ - supported_timezones: list[Timezone] | None = ... - """ - A list of the time zones supported by this engine for the `Timezone` - parameter of the `CreateDBInstance` action. - """ - exportable_log_types: list[str] | None = ... - """ - The types of logs that the database engine has available for export to - CloudWatch Logs. - """ - supports_log_exports_to_cloudwatch_logs: bool | None = ... - """ - Indicates whether the engine version supports exporting the log types - specified by ExportableLogTypes to CloudWatch Logs. - """ - supports_read_replica: bool | None = ... - """Indicates whether the database engine version supports read replicas.""" - supported_engine_modes: list[str] | None = ... - """A list of the supported DB engine modes.""" - supported_feature_names: list[str] | None = ... - """ - A list of features supported by the DB engine. - - The supported features vary by DB engine and DB engine version. - - To determine the supported features for a specific DB engine and DB - engine version using the CLI, use the following command: - - `aws rds describe-db-engine-versions --engine --engine-version ` - - For example, to determine the supported features for RDS for PostgreSQL - version 13.3 using the CLI, use the following command: - - `aws rds describe-db-engine-versions --engine postgres --engine-version 13.3` - - The supported features are listed under `SupportedFeatureNames` in the - output. - """ - status: str | None = ... - """The status of the DB engine version, either `available` or `deprecated`.""" - supports_parallel_query: bool | None = ... - """ - Indicates whether you can use Aurora parallel query with a specific DB - engine version. - """ - supports_global_databases: bool | None = ... - """ - Indicates whether you can use Aurora global databases with a specific DB - engine version. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - supports_babelfish: bool | None = ... - """ - Indicates whether the engine version supports Babelfish for Aurora - PostgreSQL. - """ - supports_limitless_database: bool | None = ... - """ - Indicates whether the DB engine version supports Aurora Limitless - Database. - """ - supports_certificate_rotation_without_restart: bool | None = ... - """ - Indicates whether the engine version supports rotating the server - certificate without rebooting the DB instance. - """ - supported_ca_certificate_identifiers: list[str] | None = ... - """ - A list of the supported CA certificate identifiers. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - supports_local_write_forwarding: bool | None = ... - """ - Indicates whether the DB engine version supports forwarding write - operations from reader DB instances to the writer DB instance in the DB - cluster. By default, write operations aren't allowed on reader DB - instances. - - Valid for: Aurora DB clusters only - """ - supports_integrations: bool | None = ... - """ - Indicates whether the DB engine version supports zero-ETL integrations - with Amazon Redshift. - """ - serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... - """ - Specifies any Aurora Serverless v2 properties or limits that differ - between Aurora engine versions. You can test the values of this - attribute when deciding which Aurora version to use in a new or upgraded - DB cluster. You can also retrieve the version of an existing DB cluster - and check whether that version supports certain Aurora Serverless v2 - features before you attempt to use those features. - """ - -@dataclass(kw_only=True) -class DBInstance(_SerdeShape): - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - - db_instance_identifier: str | None = ... - """ - The user-supplied database identifier. This identifier is the unique key - that identifies a DB instance. - """ - db_instance_class: str | None = ... - """The name of the compute and memory capacity class of the DB instance.""" - engine: str | None = ... - """The database engine used for this DB instance.""" - db_instance_status: str | None = ... - """ - The current state of this database. - - For information about DB instance statuses, see [Viewing DB instance - status](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/accessing-monitoring.html#Overview.DBInstance.Status) - in the *Amazon RDS User Guide.* - """ - master_username: str | None = ... - """The master username for the DB instance.""" - db_name: str | None = ... - """ - The initial database name that you provided (if required) when you - created the DB instance. This name is returned for the life of your DB - instance. For an RDS for Oracle CDB instance, the name identifies the - PDB rather than the CDB. - """ - endpoint: Endpoint | None = ... - """ - The connection endpoint for the DB instance. - - Note: - The endpoint might not be shown for instances with the status of - `creating`. - """ - allocated_storage: int | None = ... - """The amount of storage in gibibytes (GiB) allocated for the DB instance.""" - instance_create_time: datetime | None = ... - """The date and time when the DB instance was created.""" - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, as determined by the - `BackupRetentionPeriod`. - """ - backup_retention_period: int | None = ... - """The number of days for which automatic DB snapshots are retained.""" - db_security_groups: list[DBSecurityGroupMembership] | None = ... - """ - A list of DB security group elements containing `DBSecurityGroup.Name` - and `DBSecurityGroup.Status` subelements. - """ - vpc_security_groups: list[VpcSecurityGroupMembership] | None = ... - """ - The list of Amazon EC2 VPC security groups that the DB instance belongs - to. - """ - db_parameter_groups: list[DBParameterGroupStatus] | None = ... - """The list of DB parameter groups applied to this DB instance.""" - availability_zone: str | None = ... - """The name of the Availability Zone where the DB instance is located.""" - db_subnet_group: DBSubnetGroup | None = ... - """ - Information about the subnet group associated with the DB instance, - including the name, description, and subnets in the subnet group. - """ - preferred_maintenance_window: str | None = ... - """ - The weekly time range during which system maintenance can occur, in - Universal Coordinated Time (UTC). - """ - upgrade_rollout_order: str | None = ... - """ - This data type represents the order in which the instances are upgraded. - - - [first] - Typically used for development or testing environments. - - - [second] - Default order for resources not specifically configured. - - - [last] - Usually reserved for production environments. - """ - pending_modified_values: PendingModifiedValues | None = ... - """ - Information about pending changes to the DB instance. This information - is returned only when there are pending changes. Specific changes are - identified by subelements. - """ - latest_restorable_time: datetime | None = ... - """ - The latest time to which a database in this DB instance can be restored - with point-in-time restore. - """ - multi_az: bool | None = ... - """ - Indicates whether the DB instance is a Multi-AZ deployment. This setting - doesn't apply to RDS Custom DB instances. - """ - engine_version: str | None = ... - """The version of the database engine.""" - auto_minor_version_upgrade: bool | None = ... - """ - Indicates whether minor version patches are applied automatically. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - read_replica_source_db_instance_identifier: str | None = ... - """ - The identifier of the source DB instance if this DB instance is a read - replica. - """ - read_replica_db_instance_identifiers: list[str] | None = ... - """The identifiers of the read replicas associated with this DB instance.""" - read_replica_db_cluster_identifiers: list[str] | None = ... - """ - The identifiers of Aurora DB clusters to which the RDS DB instance is - replicated as a read replica. For example, when you create an Aurora - read replica of an RDS for MySQL DB instance, the Aurora MySQL DB - cluster for the Aurora read replica is shown. This output doesn't - contain information about cross-Region Aurora read replicas. - - Note: - Currently, each RDS DB instance can have only one Aurora read replica. - """ - replica_mode: str | None = ... - """ - The open mode of a Db2 or an Oracle read replica. The default is - `open-read-only`. For more information, see [Working with replicas for - Amazon RDS for - Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html) - and [Working with read replicas for Amazon RDS for - Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) - in the *Amazon RDS User Guide*. - - Note: - This attribute is only supported in RDS for Db2, RDS for Oracle, and RDS - Custom for Oracle. - """ - license_model: str | None = ... - """ - The license model information for this DB instance. This setting - doesn't apply to Amazon Aurora or RDS Custom DB instances. - """ - iops: int | None = ... - """ - The Provisioned IOPS (I/O operations per second) value for the DB - instance. - """ - storage_throughput: int | None = ... - """ - The storage throughput for the DB instance. - - This setting applies only to the `gp3` storage type. - """ - option_group_memberships: list[OptionGroupMembership] | None = ... - """The list of option group memberships for this DB instance.""" - character_set_name: str | None = ... - """ - If present, specifies the name of the character set that this instance - is associated with. - """ - nchar_character_set_name: str | None = ... - """ - The name of the NCHAR character set for the Oracle DB instance. This - character set specifies the Unicode encoding for data stored in table - columns of type NCHAR, NCLOB, or NVARCHAR2. - """ - secondary_availability_zone: str | None = ... - """ - If present, specifies the name of the secondary Availability Zone for a - DB instance with multi-AZ support. - """ - publicly_accessible: bool | None = ... - """ - Indicates whether the DB instance is publicly accessible. - - When the DB instance is publicly accessible and you connect from outside - of the DB instance's virtual private cloud (VPC), its Domain Name - System (DNS) endpoint resolves to the public IP address. When you - connect from within the same VPC as the DB instance, the endpoint - resolves to the private IP address. Access to the DB cluster is - ultimately controlled by the security group it uses. That public access - isn't permitted if the security group assigned to the DB cluster - doesn't permit it. - - When the DB instance isn't publicly accessible, it is an internal DB - instance with a DNS name that resolves to a private IP address. - - For more information, see CreateDBInstance. - """ - status_infos: list[DBInstanceStatusInfo] | None = ... - """ - The status of a read replica. If the DB instance isn't a read replica, - the value is blank. - """ - storage_type: str | None = ... - """The storage type associated with the DB instance.""" - storage_encryption_type: str | None = ... - """ - The type of encryption used to protect data at rest in the DB instance. - Possible values: - - - `none` - The DB instance is not encrypted. - - - `sse-rds` - The DB instance is encrypted using an Amazon Web Services - owned KMS key. - - - `sse-kms` - The DB instance is encrypted using a customer managed KMS - key or Amazon Web Services managed KMS key. - """ - tde_credential_arn: str | None = ... - """ - The ARN from the key store with which the instance is associated for TDE - encryption. - """ - db_instance_port: int | None = ... - """ - The port that the DB instance listens on. If the DB instance is part of - a DB cluster, this can be a different port than the DB cluster port. - """ - db_cluster_identifier: str | None = ... - """ - If the DB instance is a member of a DB cluster, indicates the name of - the DB cluster that the DB instance is a member of. - """ - storage_encrypted: bool | None = ... - """Indicates whether the DB instance is encrypted.""" - kms_key_id: str | None = ... - """ - If `StorageEncrypted` is enabled, the Amazon Web Services KMS key - identifier for the encrypted DB instance. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - """ - dbi_resource_id: str | None = ... - """ - The Amazon Web Services Region-unique, immutable identifier for the DB - instance. This identifier is found in Amazon Web Services CloudTrail log - entries whenever the Amazon Web Services KMS key for the DB instance is - accessed. - """ - ca_certificate_identifier: str | None = ... - """ - The identifier of the CA certificate for this DB instance. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - domain_memberships: list[DomainMembership] | None = ... - """ - The Active Directory Domain membership records associated with the DB - instance. - """ - copy_tags_to_snapshot: bool | None = ... - """ - Indicates whether tags are copied from the DB instance to snapshots of - the DB instance. - - This setting doesn't apply to Amazon Aurora DB instances. Copying tags - to snapshots is managed by the DB cluster. Setting this value for an - Aurora DB instance has no effect on the DB cluster setting. For more - information, see `DBCluster`. - """ - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the DB instance. - """ - enhanced_monitoring_resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream - that receives the Enhanced Monitoring metrics data for the DB instance. - """ - monitoring_role_arn: str | None = ... - """ - The ARN for the IAM role that permits RDS to send Enhanced Monitoring - metrics to Amazon CloudWatch Logs. - """ - promotion_tier: int | None = ... - """ - The order of priority in which an Aurora Replica is promoted to the - primary instance after a failure of the existing primary instance. For - more information, see [Fault Tolerance for an Aurora DB - Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance) - in the *Amazon Aurora User Guide*. - """ - db_instance_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB instance.""" - timezone: str | None = ... - """ - The time zone of the DB instance. In most cases, the `Timezone` element - is empty. `Timezone` content appears only for RDS for Db2 and RDS for - SQL Server DB instances that were created with a time zone specified. - """ - iam_database_authentication_enabled: bool | None = ... - """ - Indicates whether mapping of Amazon Web Services Identity and Access - Management (IAM) accounts to database accounts is enabled for the DB - instance. - - For a list of engine versions that support IAM database authentication, - see [IAM database - authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RDS_Fea_Regions_DB-eng.Feature.IamDatabaseAuthentication.html) - in the *Amazon RDS User Guide* and [IAM database authentication in - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.Aurora_Fea_Regions_DB-eng.Feature.IAMdbauth.html) - in the *Amazon Aurora User Guide*. - """ - database_insights_mode: str | None = ... - """The mode of Database Insights that is enabled for the instance.""" - performance_insights_enabled: bool | None = ... - """Indicates whether Performance Insights is enabled for the DB instance.""" - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. - - Valid Values: - - - `7` - - - *month* * 31, where *month* is a number of months from 1-23. - Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 - months * 31) - - - `731` - - Default: `7` days - """ - enabled_cloudwatch_logs_exports: list[str] | None = ... - """ - A list of log types that this DB instance is configured to export to - CloudWatch Logs. - - Log types vary by DB engine. For information about the log types for - each DB engine, see [Monitoring Amazon RDS log - files](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html) - in the *Amazon RDS User Guide.* - """ - processor_features: list[ProcessorFeature] | None = ... - """ - The number of CPU cores and the number of threads per core for the DB - instance class of the DB instance. - """ - deletion_protection: bool | None = ... - """ - Indicates whether the DB instance has deletion protection enabled. The - database can't be deleted when deletion protection is enabled. For more - information, see [Deleting a DB - Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). - """ - associated_roles: list[DBInstanceRole] | None = ... - """ - The Amazon Web Services Identity and Access Management (IAM) roles - associated with the DB instance. - """ - listener_endpoint: Endpoint | None = ... - """The listener connection endpoint for SQL Server Always On.""" - max_allocated_storage: int | None = ... - """ - The upper limit in gibibytes (GiB) to which Amazon RDS can automatically - scale the storage of the DB instance. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - automation_mode: str | None = ... - """ - The automation mode of the RDS Custom DB instance: `full` or - `all paused`. If `full`, the DB instance automates monitoring and - instance recovery. If `all paused`, the instance pauses automation for - the duration set by `--resume-full-automation-mode-minutes`. - """ - resume_full_automation_mode_time: datetime | None = ... - """ - The number of minutes to pause the automation. When the time period - ends, RDS Custom resumes full automation. The minimum value is 60 - (default). The maximum value is 1,440. - """ - customer_owned_ip_enabled: bool | None = ... - """ - Indicates whether a customer-owned IP address (CoIP) is enabled for an - RDS on Outposts DB instance. - - A *CoIP* provides local or external connectivity to resources in your - Outpost subnets through your on-premises network. For some use cases, a - CoIP can provide lower latency for connections to the DB instance from - outside of its virtual private cloud (VPC) on your local network. - - For more information about RDS on Outposts, see [Working with Amazon RDS - on Amazon Web Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide*. - - For more information about CoIPs, see [Customer-owned IP - addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the *Amazon Web Services Outposts User Guide*. - """ - network_type: str | None = ... - """ - The network type of the DB instance. - - The network type is determined by the `DBSubnetGroup` specified for the - DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon RDS User Guide* and [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon Aurora User Guide.* - - Valid Values: `IPV4 | DUAL` - """ - activity_stream_status: str | None = ... - """The status of the database activity stream.""" - activity_stream_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier used for encrypting messages - in the database activity stream. The Amazon Web Services KMS key - identifier is the key ARN, key ID, alias ARN, or alias name for the KMS - key. - """ - activity_stream_kinesis_stream_name: str | None = ... - """ - The name of the Amazon Kinesis data stream used for the database - activity stream. - """ - activity_stream_mode: str | None = ... - """ - The mode of the database activity stream. Database events such as a - change or access generate an activity stream event. RDS for Oracle - always handles these events asynchronously. - """ - activity_stream_engine_native_audit_fields_included: bool | None = ... - """ - Indicates whether engine-native audit fields are included in the - database activity stream. - """ - aws_backup_recovery_point_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the recovery point in Amazon Web - Services Backup. - """ - db_instance_automated_backups_replications: ( - list[DBInstanceAutomatedBackupsReplication] | None - ) = ... - """ - The list of replicated automated backups associated with the DB - instance. - """ - backup_target: str | None = ... - """ - The location where automated backups and manual snapshots are stored: - Dedicated Local Zones, Amazon Web Services Outposts or the Amazon Web - Services Region. - """ - automatic_restart_time: datetime | None = ... - """The time when a stopped DB instance is restarted automatically.""" - custom_iam_instance_profile: str | None = ... - """ - The instance profile associated with the underlying Amazon EC2 instance - of an RDS Custom DB instance. The instance profile must meet the - following requirements: - - - The profile must exist in your account. - - - The profile must have an IAM role that Amazon EC2 has permissions to - assume. - - - The instance profile name and the associated IAM role name must start - with the prefix `AWSRDSCustom`. - - For the list of permissions required for the IAM role, see [Configure - IAM and your - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) - in the *Amazon RDS User Guide*. - """ - activity_stream_policy_status: str | None = ... - """The status of the policy state of the activity stream.""" - certificate_details: CertificateDetails | None = ... - """The details of the DB instance's server certificate.""" - db_system_id: str | None = ... - """ - The Oracle system ID (Oracle SID) for a container database (CDB). The - Oracle SID is also the name of the CDB. This setting is only valid for - RDS Custom DB instances. - """ - master_user_secret: MasterUserSecret | None = ... - """ - The secret managed by RDS in Amazon Web Services Secrets Manager for the - master user password. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide.* - """ - read_replica_source_db_cluster_identifier: str | None = ... - """ - The identifier of the source DB cluster if this DB instance is a read - replica. - """ - percent_progress: str | None = ... - """The progress of the storage optimization operation as a percentage.""" - multi_tenant: bool | None = ... - """ - Specifies whether the DB instance is in the multi-tenant configuration - (TRUE) or the single-tenant configuration (FALSE). - """ - dedicated_log_volume: bool | None = ... - """ - Indicates whether the DB instance has a dedicated log volume (DLV) - enabled. - """ - is_storage_config_upgrade_available: bool | None = ... - """ - Indicates whether an upgrade is recommended for the storage file system - configuration on the DB instance. To migrate to the preferred - configuration, you can either create a blue/green deployment, or create - a read replica from the DB instance. For more information, see - [Upgrading the storage file system for a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem). - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for the DB instance. - - For more information, see CreateDBInstance. - """ - additional_storage_volumes: list[AdditionalStorageVolumeOutput] | None = ... - """ - The additional storage volumes associated with the DB instance. RDS - supports additional storage volumes for RDS for Oracle and RDS for SQL - Server. - """ - storage_volume_status: str | None = ... - """ - The detailed status information for storage volumes associated with the - DB instance. This information helps identify which specific volume is - causing the instance to be in a storage-full state. - """ - storage_operation_status: str | None = ... - """ - The status of an in-progress storage operation on the DB instance. This - field appears only while a storage operation is in progress. It isn't - present when no storage operation is active. Possible values: - - - `Initializing` - The volume is initializing from a snapshot, such as - during a snapshot restore, point-in-time restore, read replica - creation, or blue/green deployment. Performance can be lower than - provisioned until initialization completes. - - - `Optimizing` - The volume is optimizing following a storage scaling or - modification operation. - """ - storage_operation_percent_progress: int | None = ... - """ - The percentage of the in-progress storage operation on the DB instance - that has completed, from `0` to `100`. This field appears only while a - storage operation is in progress. It isn't present when no storage - operation is active. - """ - db_capacity_reservation_identifier: str | None = ... - """ - The identifier of the DB capacity reservation associated with this DB - instance. Amazon RDS doesn't return this value if the DB instance - doesn't use a DB capacity reservation. - """ - -@dataclass(kw_only=True) -class DBInstanceAlreadyExistsFault(ServiceError, _SerdeShape): - """The user already has a DB instance with the given identifier.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBInstanceAutomatedBackup(_SerdeShape): - """ - An automated backup of a DB instance. It consists of system backups, - transaction logs, and the database instance properties that existed at - the time you deleted the source instance. - """ - - db_instance_arn: str | None = ... - """The Amazon Resource Name (ARN) for the automated backups.""" - dbi_resource_id: str | None = ... - """ - The resource ID for the source DB instance, which can't be changed and - which is unique to an Amazon Web Services Region. - """ - region: str | None = ... - """The Amazon Web Services Region associated with the automated backup.""" - db_instance_identifier: str | None = ... - """ - The identifier for the source DB instance, which can't be changed and - which is unique to an Amazon Web Services Region. - """ - restore_window: RestoreWindow | None = ... - """The earliest and latest time a DB instance can be restored to.""" - allocated_storage: int | None = ... - """The allocated storage size for the automated backup in gibibytes (GiB).""" - status: str | None = ... - """ - A list of status information for an automated backup: - - - `active` - Automated backups for current instances. - - - `retained` - Automated backups for deleted instances. - - - `creating` - Automated backups that are waiting for the first - automated snapshot to be available. - """ - port: int | None = ... - """ - The port number that the automated backup used for connections. - - Default: Inherits from the source DB instance - - Valid Values: `1150-65535` - """ - availability_zone: str | None = ... - """ - The Availability Zone that the automated backup was created in. For - information on Amazon Web Services Regions and Availability Zones, see - [Regions and Availability - Zones](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). - """ - vpc_id: str | None = ... - """The VPC ID associated with the DB instance.""" - instance_create_time: datetime | None = ... - """The date and time when the DB instance was created.""" - master_username: str | None = ... - """The master user name of an automated backup.""" - engine: str | None = ... - """The name of the database engine for this automated backup.""" - engine_version: str | None = ... - """The version of the database engine for the automated backup.""" - license_model: str | None = ... - """The license model information for the automated backup.""" - iops: int | None = ... - """The IOPS (I/O operations per second) value for the automated backup.""" - storage_throughput: int | None = ... - """The storage throughput for the automated backup.""" - option_group_name: str | None = ... - """ - The option group the automated backup is associated with. If omitted, - the default option group for the engine specified is used. - """ - tde_credential_arn: str | None = ... - """ - The ARN from the key store with which the automated backup is associated - for TDE encryption. - """ - encrypted: bool | None = ... - """Indicates whether the automated backup is encrypted.""" - storage_encryption_type: str | None = ... - """ - The type of encryption used to protect data at rest in the automated - backup. Possible values: - - - `none` - The automated backup is not encrypted. - - - `sse-rds` - The automated backup is encrypted using an Amazon Web - Services owned KMS key. - - - `sse-kms` - The automated backup is encrypted using a customer managed - KMS key or Amazon Web Services managed KMS key. - """ - storage_type: str | None = ... - """The storage type associated with the automated backup.""" - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key ID for an automated backup. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - """ - timezone: str | None = ... - """ - The time zone of the automated backup. In most cases, the `Timezone` - element is empty. `Timezone` content appears only for Microsoft SQL - Server DB instances that were created with a time zone specified. - """ - iam_database_authentication_enabled: bool | None = ... - """ - True if mapping of Amazon Web Services Identity and Access Management - (IAM) accounts to database accounts is enabled, and otherwise false. - """ - backup_retention_period: int | None = ... - """The retention period for the automated backups.""" - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, as determined by the - `BackupRetentionPeriod`. - """ - db_instance_automated_backups_arn: str | None = ... - """The Amazon Resource Name (ARN) for the replicated automated backups.""" - db_instance_automated_backups_replications: ( - list[DBInstanceAutomatedBackupsReplication] | None - ) = ... - """ - The list of replications to different Amazon Web Services Regions - associated with the automated backup. - """ - backup_target: str | None = ... - """ - The location where automated backups are stored: Dedicated Local Zones, - Amazon Web Services Outposts or the Amazon Web Services Region. - """ - multi_tenant: bool | None = ... - """ - Specifies whether the automatic backup is for a DB instance in the - multi-tenant configuration (TRUE) or the single-tenant configuration - (FALSE). - """ - aws_backup_recovery_point_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the recovery point in Amazon Web - Services Backup. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - dedicated_log_volume: bool | None = ... - """ - Indicates whether the DB instance has a dedicated log volume (DLV) - enabled. - """ - additional_storage_volumes: list[AdditionalStorageVolume] | None = ... - """ - The additional storage volumes associated with the automated backup. - - Valid Values: `GP3 | IO2` - """ - -@dataclass(kw_only=True) -class DBInstanceAutomatedBackupNotFoundFault(ServiceError, _SerdeShape): - """No automated backup for this DB instance was found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBInstanceAutomatedBackupQuotaExceededFault(ServiceError, _SerdeShape): - """ - The quota for retained automated backups was exceeded. This prevents you - from retaining any additional automated backups. The retained automated - backups quota is the same as your DB instance quota. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBInstanceAutomatedBackupsReplication(_SerdeShape): - """ - Automated backups of a DB instance replicated to another Amazon Web - Services Region. They consist of system backups, transaction logs, and - database instance properties. - """ - - db_instance_automated_backups_arn: str | None = ... - """The Amazon Resource Name (ARN) of the replicated automated backups.""" - -@dataclass(kw_only=True) -class DBInstanceNotFoundFault(ServiceError, _SerdeShape): - """`DBInstanceIdentifier` doesn't refer to an existing DB instance.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBInstanceNotReadyFault(ServiceError, _SerdeShape): - """ - An attempt to download or examine log files didn't succeed because an - Aurora Serverless v2 instance was paused. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBInstanceRole(_SerdeShape): - """ - Information about an Amazon Web Services Identity and Access Management - (IAM) role that is associated with a DB instance. - """ - - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that is associated with - the DB instance. - """ - feature_name: str | None = ... - """ - The name of the feature associated with the Amazon Web Services Identity - and Access Management (IAM) role. For information about supported - feature names, see `DBEngineVersion`. - """ - status: str | None = ... - """ - Information about the state of association between the IAM role and the - DB instance. The Status property returns one of the following values: - - - `ACTIVE` - the IAM role ARN is associated with the DB instance and can - be used to access other Amazon Web Services services on your behalf. - - - `PENDING` - the IAM role ARN is being associated with the DB instance. - - - `INVALID` - the IAM role ARN is associated with the DB instance, but - the DB instance is unable to assume the IAM role in order to access - other Amazon Web Services services on your behalf. - """ - -@dataclass(kw_only=True) -class DBInstanceRoleAlreadyExistsFault(ServiceError, _SerdeShape): - """ - The specified `RoleArn` or `FeatureName` value is already associated - with the DB instance. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBInstanceRoleNotFoundFault(ServiceError, _SerdeShape): - """ - The specified `RoleArn` value doesn't match the specified feature for - the DB instance. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBInstanceRoleQuotaExceededFault(ServiceError, _SerdeShape): - """ - You can't associate any more Amazon Web Services Identity and Access - Management (IAM) roles with the DB instance because the quota has been - reached. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBInstanceStatusInfo(_SerdeShape): - """Provides a list of status information for a DB instance.""" - - status_type: str | None = ... - """This value is currently \"read replication.\"""" - normal: bool | None = ... - """ - Indicates whether the instance is operating normally (TRUE) or is in an - error state (FALSE). - """ - status: str | None = ... - """ - The status of the DB instance. For a StatusType of read replica, the - values can be replicating, replication stop point set, replication stop - point reached, error, stopped, or terminated. - """ - message: str | None = ... - """ - Details of the error if there is an error for the instance. If the - instance isn't in an error state, this value is blank. - """ - -@dataclass(kw_only=True) -class DBLogFileNotFoundFault(ServiceError, _SerdeShape): - """`LogFileName` doesn't refer to an existing DB log file.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBMajorEngineVersion(_SerdeShape): - """ - This data type is used as a response element in the operation - `DescribeDBMajorEngineVersions`. - """ - - engine: str | None = ... - """The name of the database engine.""" - major_engine_version: str | None = ... - """The major version number of the database engine.""" - supported_engine_lifecycles: list[SupportedEngineLifecycle] | None = ... - """ - A list of the lifecycles supported by this engine for the - `DescribeDBMajorEngineVersions` operation. - """ - -@dataclass(kw_only=True) -class DBParameterGroup(_SerdeShape): - """ - Contains the details of an Amazon RDS DB parameter group. - - This data type is used as a response element in the - `DescribeDBParameterGroups` action. - """ - - db_parameter_group_name: str | None = ... - """The name of the DB parameter group.""" - db_parameter_group_family: str | None = ... - """ - The name of the DB parameter group family that this DB parameter group - is compatible with. - """ - description: str | None = ... - """Provides the customer-specified description for this DB parameter group.""" - db_parameter_group_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB parameter group.""" - -@dataclass(kw_only=True) -class DBParameterGroupAlreadyExistsFault(ServiceError, _SerdeShape): - """A DB parameter group with the same name exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBParameterGroupNotFoundFault(ServiceError, _SerdeShape): - """`DBParameterGroupName` doesn't refer to an existing DB parameter group.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBParameterGroupQuotaExceededFault(ServiceError, _SerdeShape): - """ - The request would result in the user exceeding the allowed number of DB - parameter groups. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBParameterGroupStatus(_SerdeShape): - """ - The status of the DB parameter group. - - This data type is used as a response element in the following actions: - - - `CreateDBInstance` - - - `CreateDBInstanceReadReplica` - - - `DeleteDBInstance` - - - `ModifyDBInstance` - - - `RebootDBInstance` - - - `RestoreDBInstanceFromDBSnapshot` - """ - - db_parameter_group_name: str | None = ... - """The name of the DB parameter group.""" - parameter_apply_status: str | None = ... - """ - The status of parameter updates. Valid values are: - - - `applying`: The parameter group change is being applied to the - database. - - - `failed-to-apply`: The parameter group is in an invalid state. - - - `in-sync`: The parameter group change is synchronized with the - database. - - - `pending-database-upgrade`: The parameter group change will be applied - after the DB instance is upgraded. - - - `pending-reboot`: The parameter group change will be applied after the - DB instance reboots. - """ - -@dataclass(kw_only=True) -class DBProxy(_SerdeShape): - """ - The data structure representing a proxy managed by the RDS Proxy. - - This data type is used as a response element in the `DescribeDBProxies` - action. - """ - - db_proxy_name: str | None = ... - """ - The identifier for the proxy. This name must be unique for all proxies - owned by your Amazon Web Services account in the specified Amazon Web - Services Region. - """ - db_proxy_arn: str | None = ... - """The Amazon Resource Name (ARN) for the proxy.""" - status: str | None = ... - """ - The current status of this proxy. A status of `available` means the - proxy is ready to handle requests. Other values indicate that you must - wait for the proxy to be ready, or take some action to resolve an issue. - """ - engine_family: str | None = ... - """ - The kinds of databases that the proxy can connect to. This value - determines which database network protocol the proxy recognizes when it - interprets network traffic to and from the database. `MYSQL` supports - Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases. `POSTGRESQL` - supports Aurora PostgreSQL and RDS for PostgreSQL databases. `SQLSERVER` - supports RDS for Microsoft SQL Server databases. - """ - vpc_id: str | None = ... - """Provides the VPC ID of the DB proxy.""" - vpc_security_group_ids: list[str] | None = ... - """Provides a list of VPC security groups that the proxy belongs to.""" - vpc_subnet_ids: list[str] | None = ... - """The EC2 subnet IDs for the proxy.""" - default_auth_scheme: str | None = ... - """ - The default authentication scheme that the proxy uses for client - connections to the proxy and connections from the proxy to the - underlying database. Valid values are `NONE` and `IAM_AUTH`. When set to - `IAM_AUTH`, the proxy uses end-to-end IAM authentication to connect to - the database. - """ - auth: list[UserAuthConfigInfo] | None = ... - """ - One or more data structures specifying the authorization mechanism to - connect to the associated RDS DB instance or Aurora DB cluster. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the IAM role that the proxy uses to - access Amazon Secrets Manager. - """ - endpoint: str | None = ... - """ - The endpoint that you can use to connect to the DB proxy. You include - the endpoint value in the connection string for a database client - application. - """ - require_tls: bool | None = ... - """ - Indicates whether Transport Layer Security (TLS) encryption is required - for connections to the proxy. - """ - idle_client_timeout: int | None = ... - """ - The number of seconds a connection to the proxy can have no activity - before the proxy drops the client connection. The proxy keeps the - underlying database connection open and puts it back into the connection - pool for reuse by later connection requests. - - Default: 1800 (30 minutes) - - Constraints: 1 to 28,800 - """ - debug_logging: bool | None = ... - """ - Specifies whether the proxy logs detailed connection and query - information. When you enable `DebugLogging`, the proxy captures - connection details and connection pool behavior from your queries. Debug - logging increases CloudWatch costs and can impact proxy performance. - Enable this option only when you need to troubleshoot connection or - performance issues. - """ - created_date: datetime | None = ... - """The date and time when the proxy was first created.""" - updated_date: datetime | None = ... - """The date and time when the proxy was last updated.""" - endpoint_network_type: str | None = ... - """ - The network type of the DB proxy endpoint. The network type determines - the IP version that the proxy endpoint supports. - - Valid values: - - - `IPV4` - The proxy endpoint supports IPv4 only. - - - `IPV6` - The proxy endpoint supports IPv6 only. - - - `DUAL` - The proxy endpoint supports both IPv4 and IPv6. - """ - target_connection_network_type: str | None = ... - """ - The network type that the proxy uses to connect to the target database. - The network type determines the IP version that the proxy uses for - connections to the database. - - Valid values: - - - `IPV4` - The proxy connects to the database using IPv4 only. - - - `IPV6` - The proxy connects to the database using IPv6 only. - """ - -@dataclass(kw_only=True) -class DBProxyAlreadyExistsFault(ServiceError, _SerdeShape): - """ - The specified proxy name must be unique for all proxies owned by your - Amazon Web Services account in the specified Amazon Web Services Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBProxyEndpoint(_SerdeShape): - """ - The data structure representing an endpoint associated with a DB proxy. - RDS automatically creates one endpoint for each DB proxy. For Aurora DB - clusters, you can associate additional endpoints with the same DB proxy. - These endpoints can be read/write or read-only. They can also reside in - different VPCs than the associated DB proxy. - - This data type is used as a response element in the - `DescribeDBProxyEndpoints` operation. - """ - - db_proxy_endpoint_name: str | None = ... - """ - The name for the DB proxy endpoint. An identifier must begin with a - letter and must contain only ASCII letters, digits, and hyphens; it - can't end with a hyphen or contain two consecutive hyphens. - """ - db_proxy_endpoint_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB proxy endpoint.""" - db_proxy_name: str | None = ... - """ - The identifier for the DB proxy that is associated with this DB proxy - endpoint. - """ - status: str | None = ... - """ - The current status of this DB proxy endpoint. A status of `available` - means the endpoint is ready to handle requests. Other values indicate - that you must wait for the endpoint to be ready, or take some action to - resolve an issue. - """ - vpc_id: str | None = ... - """Provides the VPC ID of the DB proxy endpoint.""" - vpc_security_group_ids: list[str] | None = ... - """ - Provides a list of VPC security groups that the DB proxy endpoint - belongs to. - """ - vpc_subnet_ids: list[str] | None = ... - """The EC2 subnet IDs for the DB proxy endpoint.""" - endpoint: str | None = ... - """ - The endpoint that you can use to connect to the DB proxy. You include - the endpoint value in the connection string for a database client - application. - """ - created_date: datetime | None = ... - """The date and time when the DB proxy endpoint was first created.""" - target_role: str | None = ... - """ - A value that indicates whether the DB proxy endpoint can be used for - read/write or read-only operations. - """ - is_default: bool | None = ... - """ - Indicates whether this endpoint is the default endpoint for the - associated DB proxy. Default DB proxy endpoints always have read/write - capability. Other endpoints that you associate with the DB proxy can be - either read/write or read-only. - """ - endpoint_network_type: str | None = ... - """ - The network type of the DB proxy endpoint. The network type determines - the IP version that the proxy endpoint supports. - - Valid values: - - - `IPV4` - The proxy endpoint supports IPv4 only. - - - `IPV6` - The proxy endpoint supports IPv6 only. - - - `DUAL` - The proxy endpoint supports both IPv4 and IPv6. - """ - -@dataclass(kw_only=True) -class DBProxyEndpointAlreadyExistsFault(ServiceError, _SerdeShape): - """ - The specified DB proxy endpoint name must be unique for all DB proxy - endpoints owned by your Amazon Web Services account in the specified - Amazon Web Services Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBProxyEndpointNotFoundFault(ServiceError, _SerdeShape): - """The DB proxy endpoint doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBProxyEndpointQuotaExceededFault(ServiceError, _SerdeShape): - """The DB proxy already has the maximum number of endpoints.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DBProxyEndpointStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - MODIFYING = "modifying" - INCOMPATIBLE_NETWORK = "incompatible-network" - INSUFFICIENT_RESOURCE_LIMITS = "insufficient-resource-limits" - CREATING = "creating" - DELETING = "deleting" - -class DBProxyEndpointTargetRole(UnknownEnumMixin, StrEnum): - READ_WRITE = "READ_WRITE" - READ_ONLY = "READ_ONLY" - -@dataclass(kw_only=True) -class DBProxyNotFoundFault(ServiceError, _SerdeShape): - """ - The specified proxy name doesn't correspond to a proxy owned by your - Amazon Web Services account in the specified Amazon Web Services Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBProxyQuotaExceededFault(ServiceError, _SerdeShape): - """ - Your Amazon Web Services account already has the maximum number of - proxies in the specified Amazon Web Services Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DBProxyStatus(UnknownEnumMixin, StrEnum): - AVAILABLE = "available" - MODIFYING = "modifying" - INCOMPATIBLE_NETWORK = "incompatible-network" - INSUFFICIENT_RESOURCE_LIMITS = "insufficient-resource-limits" - CREATING = "creating" - DELETING = "deleting" - SUSPENDED = "suspended" - SUSPENDING = "suspending" - REACTIVATING = "reactivating" - -@dataclass(kw_only=True) -class DBProxyTarget(_SerdeShape): - """ - Contains the details for an RDS Proxy target. It represents an RDS DB - instance or Aurora DB cluster that the proxy can connect to. One or more - targets are associated with an RDS Proxy target group. - - This data type is used as a response element in the - `DescribeDBProxyTargets` action. - """ - - target_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB - cluster. - """ - endpoint: str | None = ... - """The writer endpoint for the RDS DB instance or Aurora DB cluster.""" - tracked_cluster_id: str | None = ... - """ - The DB cluster identifier when the target represents an Aurora DB - cluster. This field is blank when the target represents an RDS DB - instance. - """ - rds_resource_id: str | None = ... - """ - The identifier representing the target. It can be the instance - identifier for an RDS DB instance, or the cluster identifier for an - Aurora DB cluster. - """ - port: int | None = ... - """ - The port that the RDS Proxy uses to connect to the target RDS DB - instance or Aurora DB cluster. - """ - type: str | None = ... - """ - Specifies the kind of database, such as an RDS DB instance or an Aurora - DB cluster, that the target represents. - """ - role: str | None = ... - """ - A value that indicates whether the target of the proxy can be used for - read/write or read-only operations. - """ - target_health: TargetHealth | None = ... - """Information about the connection health of the RDS Proxy target.""" - -@dataclass(kw_only=True) -class DBProxyTargetAlreadyRegisteredFault(ServiceError, _SerdeShape): - """ - The proxy is already associated with the specified RDS DB instance or - Aurora DB cluster. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBProxyTargetGroup(_SerdeShape): - """ - Represents a set of RDS DB instances, Aurora DB clusters, or both that a - proxy can connect to. Currently, each target group is associated with - exactly one RDS DB instance or Aurora DB cluster. - - This data type is used as a response element in the - `DescribeDBProxyTargetGroups` action. - """ - - db_proxy_name: str | None = ... - """The identifier for the RDS proxy associated with this target group.""" - target_group_name: str | None = ... - """ - The identifier for the target group. This name must be unique for all - target groups owned by your Amazon Web Services account in the specified - Amazon Web Services Region. - """ - target_group_arn: str | None = ... - """The Amazon Resource Name (ARN) representing the target group.""" - is_default: bool | None = ... - """ - Indicates whether this target group is the first one used for connection - requests by the associated proxy. Because each proxy is currently - associated with a single target group, currently this setting is always - `true`. - """ - status: str | None = ... - """ - The current status of this target group. A status of `available` means - the target group is correctly associated with a database. Other values - indicate that you must wait for the target group to be ready, or take - some action to resolve an issue. - """ - connection_pool_config: ConnectionPoolConfigurationInfo | None = ... - """ - The settings that determine the size and behavior of the connection pool - for the target group. - """ - created_date: datetime | None = ... - """The date and time when the target group was first created.""" - updated_date: datetime | None = ... - """The date and time when the target group was last updated.""" - -@dataclass(kw_only=True) -class DBProxyTargetGroupNotFoundFault(ServiceError, _SerdeShape): - """ - The specified target group isn't available for a proxy owned by your - Amazon Web Services account in the specified Amazon Web Services Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBProxyTargetNotFoundFault(ServiceError, _SerdeShape): - """ - The specified RDS DB instance or Aurora DB cluster isn't available for - a proxy owned by your Amazon Web Services account in the specified - Amazon Web Services Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBRecommendation(_SerdeShape): - """ - The recommendation for your DB instances, DB clusters, and DB parameter - groups. - """ - - recommendation_id: str | None = ... - """The unique identifier of the recommendation.""" - type_id: str | None = ... - """ - A value that indicates the type of recommendation. This value determines - how the description is rendered. - """ - severity: str | None = ... - """ - The severity level of the recommendation. The severity level can help - you decide the urgency with which to address the recommendation. - - Valid values: - - - `high` - - - `medium` - - - `low` - - - `informational` - """ - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the RDS resource associated with the - recommendation. - """ - status: str | None = ... - """ - The current status of the recommendation. - - Valid values: - - - `active` - The recommendations which are ready for you to apply. - - - `pending` - The applied or scheduled recommendations which are in - progress. - - - `resolved` - The recommendations which are completed. - - - `dismissed` - The recommendations that you dismissed. - """ - created_time: datetime | None = ... - """ - The time when the recommendation was created. For example, - `2023-09-28T01:13:53.931000+00:00`. - """ - updated_time: datetime | None = ... - """The time when the recommendation was last updated.""" - detection: str | None = ... - """ - A short description of the issue identified for this recommendation. The - description might contain markdown. - """ - recommendation: str | None = ... - """ - A short description of the recommendation to resolve an issue. The - description might contain markdown. - """ - description: str | None = ... - """ - A detailed description of the recommendation. The description might - contain markdown. - """ - reason: str | None = ... - """ - The reason why this recommendation was created. The information might - contain markdown. - """ - recommended_actions: list[RecommendedAction] | None = ... - """A list of recommended actions.""" - category: str | None = ... - """ - The category of the recommendation. - - Valid values: - - - `performance efficiency` - - - `security` - - - `reliability` - - - `cost optimization` - - - `operational excellence` - - - `sustainability` - """ - source: str | None = ... - """The Amazon Web Services service that generated the recommendations.""" - type_detection: str | None = ... - """ - A short description of the recommendation type. The description might - contain markdown. - """ - type_recommendation: str | None = ... - """ - A short description that summarizes the recommendation to fix all the - issues of the recommendation type. The description might contain - markdown. - """ - impact: str | None = ... - """A short description that explains the possible impact of an issue.""" - additional_info: str | None = ... - """ - Additional information about the recommendation. The information might - contain markdown. - """ - links: list[DocLink] | None = ... - """ - A link to documentation that provides additional information about the - recommendation. - """ - issue_details: IssueDetails | None = ... - """Details of the issue that caused the recommendation.""" - -@dataclass(kw_only=True) -class DBSecurityGroup(_SerdeShape): - """ - Contains the details for an Amazon RDS DB security group. - - This data type is used as a response element in the - `DescribeDBSecurityGroups` action. - """ - - owner_id: str | None = ... - """ - Provides the Amazon Web Services ID of the owner of a specific DB - security group. - """ - db_security_group_name: str | None = ... - """Specifies the name of the DB security group.""" - db_security_group_description: str | None = ... - """Provides the description of the DB security group.""" - vpc_id: str | None = ... - """Provides the VpcId of the DB security group.""" - ec2_security_groups: list[EC2SecurityGroup] | None = ... - """Contains a list of `EC2SecurityGroup` elements.""" - ip_ranges: list[IPRange] | None = ... - """Contains a list of `IPRange` elements.""" - db_security_group_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB security group.""" - -@dataclass(kw_only=True) -class DBSecurityGroupAlreadyExistsFault(ServiceError, _SerdeShape): - """ - A DB security group with the name specified in `DBSecurityGroupName` - already exists. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSecurityGroupMembership(_SerdeShape): - """ - This data type is used as a response element in the following actions: - - - `ModifyDBInstance` - - - `RebootDBInstance` - - - `RestoreDBInstanceFromDBSnapshot` - - - `RestoreDBInstanceToPointInTime` - """ - - db_security_group_name: str | None = ... - """The name of the DB security group.""" - status: str | None = ... - """The status of the DB security group.""" - -@dataclass(kw_only=True) -class DBSecurityGroupNotFoundFault(ServiceError, _SerdeShape): - """`DBSecurityGroupName` doesn't refer to an existing DB security group.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSecurityGroupNotSupportedFault(ServiceError, _SerdeShape): - """A DB security group isn't allowed for this action.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSecurityGroupQuotaExceededFault(ServiceError, _SerdeShape): - """ - The request would result in the user exceeding the allowed number of DB - security groups. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBShardGroup(_SerdeShape): - """Contains the details for an Amazon RDS DB shard group.""" - - db_shard_group_resource_id: str | None = ... - """ - The Amazon Web Services Region-unique, immutable identifier for the DB - shard group. - """ - db_shard_group_identifier: str | None = ... - """The name of the DB shard group.""" - db_cluster_identifier: str | None = ... - """The name of the primary DB cluster for the DB shard group.""" - max_acu: float | None = ... - """ - The maximum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - min_acu: float | None = ... - """ - The minimum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - compute_redundancy: int | None = ... - """ - Specifies whether to create standby DB shard groups for the DB shard - group. Valid values are the following: - - - 0 - Creates a DB shard group without a standby DB shard group. This is - the default value. - - - 1 - Creates a DB shard group with a standby DB shard group in a - different Availability Zone (AZ). - - - 2 - Creates a DB shard group with two standby DB shard groups in two - different AZs. - """ - status: str | None = ... - """The status of the DB shard group.""" - publicly_accessible: bool | None = ... - """ - Indicates whether the DB shard group is publicly accessible. - - When the DB shard group is publicly accessible, its Domain Name System - (DNS) endpoint resolves to the private IP address from within the DB - shard group's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB shard group's VPC. Access to the DB - shard group is ultimately controlled by the security group it uses. That - public access isn't permitted if the security group assigned to the DB - shard group doesn't permit it. - - When the DB shard group isn't publicly accessible, it is an internal DB - shard group with a DNS name that resolves to a private IP address. - - For more information, see CreateDBShardGroup. - - This setting is only for Aurora Limitless Database. - """ - endpoint: str | None = ... - """The connection endpoint for the DB shard group.""" - db_shard_group_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB shard group.""" - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class DBShardGroupAlreadyExistsFault(ServiceError, _SerdeShape): - """ - The specified DB shard group name must be unique in your Amazon Web - Services account in the specified Amazon Web Services Region. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBShardGroupNotFoundFault(ServiceError, _SerdeShape): - """The specified DB shard group name wasn't found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSnapshot(_SerdeShape): - """ - Contains the details of an Amazon RDS DB snapshot. - - This data type is used as a response element in the - `DescribeDBSnapshots` action. - """ - - db_snapshot_identifier: str | None = ... - """Specifies the identifier for the DB snapshot.""" - db_instance_identifier: str | None = ... - """ - Specifies the DB instance identifier of the DB instance this DB snapshot - was created from. - """ - snapshot_create_time: datetime | None = ... - """ - Specifies when the snapshot was taken in Coordinated Universal Time - (UTC). Changes for the copy when the snapshot is copied. - """ - engine: str | None = ... - """Specifies the name of the database engine.""" - allocated_storage: int | None = ... - """Specifies the allocated storage size in gibibytes (GiB).""" - status: str | None = ... - """Specifies the status of this DB snapshot.""" - port: int | None = ... - """ - Specifies the port that the database engine was listening on at the time - of the snapshot. - """ - availability_zone: str | None = ... - """ - Specifies the name of the Availability Zone the DB instance was located - in at the time of the DB snapshot. - """ - vpc_id: str | None = ... - """Provides the VPC ID associated with the DB snapshot.""" - instance_create_time: datetime | None = ... - """ - Specifies the time in Coordinated Universal Time (UTC) when the DB - instance, from which the snapshot was taken, was created. - """ - master_username: str | None = ... - """Provides the master username for the DB snapshot.""" - engine_version: str | None = ... - """Specifies the version of the database engine.""" - license_model: str | None = ... - """License model information for the restored DB instance.""" - snapshot_type: str | None = ... - """Provides the type of the DB snapshot.""" - iops: int | None = ... - """ - Specifies the Provisioned IOPS (I/O operations per second) value of the - DB instance at the time of the snapshot. - """ - storage_throughput: int | None = ... - """Specifies the storage throughput for the DB snapshot.""" - option_group_name: str | None = ... - """Provides the option group name for the DB snapshot.""" - percent_progress: int | None = ... - """The percentage of the estimated data that has been transferred.""" - source_region: str | None = ... - """ - The Amazon Web Services Region that the DB snapshot was created in or - copied from. - """ - source_db_snapshot_identifier: str | None = ... - """ - The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was - copied from. It only has a value in the case of a cross-account or - cross-Region copy. - """ - storage_type: str | None = ... - """Specifies the storage type associated with DB snapshot.""" - tde_credential_arn: str | None = ... - """ - The ARN from the key store with which to associate the instance for TDE - encryption. - """ - encrypted: bool | None = ... - """Indicates whether the DB snapshot is encrypted.""" - storage_encryption_type: str | None = ... - """ - The type of encryption used to protect data at rest in the DB snapshot. - Possible values: - - - `none` - The DB snapshot is not encrypted. - - - `sse-rds` - The DB snapshot is encrypted using an Amazon Web Services - owned KMS key. - - - `sse-kms` - The DB snapshot is encrypted using a customer managed KMS - key or Amazon Web Services managed KMS key. - """ - backup_retention_period: int | None = ... - """The number of days for which automatic DB snapshots are retained.""" - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, as determined by the - `BackupRetentionPeriod`. - """ - kms_key_id: str | None = ... - """ - If `Encrypted` is true, the Amazon Web Services KMS key identifier for - the encrypted DB snapshot. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - """ - db_snapshot_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB snapshot.""" - timezone: str | None = ... - """ - The time zone of the DB snapshot. In most cases, the `Timezone` element - is empty. `Timezone` content appears only for snapshots taken from - Microsoft SQL Server DB instances that were created with a time zone - specified. - """ - iam_database_authentication_enabled: bool | None = ... - """ - Indicates whether mapping of Amazon Web Services Identity and Access - Management (IAM) accounts to database accounts is enabled. - """ - processor_features: list[ProcessorFeature] | None = ... - """ - The number of CPU cores and the number of threads per core for the DB - instance class of the DB instance when the DB snapshot was created. - """ - dbi_resource_id: str | None = ... - """ - The identifier for the source DB instance, which can't be changed and - which is unique to an Amazon Web Services Region. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - snapshot_target: str | None = ... - """ - Specifies where manual snapshots are stored: Dedicated Local Zones, - Amazon Web Services Outposts or the Amazon Web Services Region. - """ - original_snapshot_create_time: datetime | None = ... - """ - Specifies the time of the CreateDBSnapshot operation in Coordinated - Universal Time (UTC). Doesn't change when the snapshot is copied. - """ - snapshot_database_time: datetime | None = ... - """ - The timestamp of the most recent transaction applied to the database - that you're backing up. Thus, if you restore a snapshot, - SnapshotDatabaseTime is the most recent transaction in the restored DB - instance. In contrast, originalSnapshotCreateTime specifies the system - time that the snapshot completed. - - If you back up a read replica, you can determine the replica lag by - comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For - example, if originalSnapshotCreateTime is two hours later than - SnapshotDatabaseTime, then the replica lag is two hours. - """ - db_system_id: str | None = ... - """ - The Oracle system identifier (SID), which is the name of the Oracle - database instance that manages your database files. The Oracle SID is - also the name of your CDB. - """ - multi_tenant: bool | None = ... - """ - Indicates whether the snapshot is of a DB instance using the - multi-tenant configuration (TRUE) or the single-tenant configuration - (FALSE). - """ - dedicated_log_volume: bool | None = ... - """ - Indicates whether the DB instance has a dedicated log volume (DLV) - enabled. - """ - additional_storage_volumes: list[AdditionalStorageVolume] | None = ... - """ - The additional storage volumes associated with the DB snapshot. RDS - supports additional storage volumes for RDS for Oracle and RDS for SQL - Server. - """ - snapshot_availability_zone: str | None = ... - """ - Specifies the name of the Availability Zone where RDS stores the DB - snapshot. This value is valid only for snapshots that RDS stores on a - Dedicated Local Zone. - """ - full_snapshot_size_in_bytes: int | None = ... - """ - The full size of the DB snapshot, in bytes. - - Warning: - This is not the incremental size of the snapshot. This is the full - snapshot size and represents the size of all the blocks that were - written to the source volume at the time the snapshot was created. - """ - -@dataclass(kw_only=True) -class DBSnapshotAlreadyExistsFault(ServiceError, _SerdeShape): - """`DBSnapshotIdentifier` is already used by an existing snapshot.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSnapshotAttribute(_SerdeShape): - """ - Contains the name and values of a manual DB snapshot attribute - - Manual DB snapshot attributes are used to authorize other Amazon Web - Services accounts to restore a manual DB snapshot. For more information, - see the `ModifyDBSnapshotAttribute` API. - """ - - attribute_name: str | None = ... - """ - The name of the manual DB snapshot attribute. - - The attribute named `restore` refers to the list of Amazon Web Services - accounts that have permission to copy or restore the manual DB cluster - snapshot. For more information, see the `ModifyDBSnapshotAttribute` API - action. - """ - attribute_values: list[str] | None = ... - """ - The value or values for the manual DB snapshot attribute. - - If the `AttributeName` field is set to `restore`, then this element - returns a list of IDs of the Amazon Web Services accounts that are - authorized to copy or restore the manual DB snapshot. If a value of - `all` is in the list, then the manual DB snapshot is public and - available for any Amazon Web Services account to copy or restore. - """ - -@dataclass(kw_only=True) -class DBSnapshotAttributesResult(_SerdeShape): - """ - Contains the results of a successful call to the - `DescribeDBSnapshotAttributes` API action. - - Manual DB snapshot attributes are used to authorize other Amazon Web - Services accounts to copy or restore a manual DB snapshot. For more - information, see the `ModifyDBSnapshotAttribute` API action. - """ - - db_snapshot_identifier: str | None = ... - """The identifier of the manual DB snapshot that the attributes apply to.""" - db_snapshot_attributes: list[DBSnapshotAttribute] | None = ... - """The list of attributes and values for the manual DB snapshot.""" - -@dataclass(kw_only=True) -class DBSnapshotNotFoundFault(ServiceError, _SerdeShape): - """`DBSnapshotIdentifier` doesn't refer to an existing DB snapshot.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSnapshotTenantDatabase(_SerdeShape): - """ - Contains the details of a tenant database in a snapshot of a DB - instance. - """ - - db_snapshot_identifier: str | None = ... - """The identifier for the snapshot of the DB instance.""" - db_instance_identifier: str | None = ... - """The ID for the DB instance that contains the tenant databases.""" - dbi_resource_id: str | None = ... - """ - The resource identifier of the source CDB instance. This identifier - can't be changed and is unique to an Amazon Web Services Region. - """ - engine_name: str | None = ... - """The name of the database engine.""" - snapshot_type: str | None = ... - """The type of DB snapshot.""" - tenant_database_create_time: datetime | None = ... - """ - The time the DB snapshot was taken, specified in Coordinated Universal - Time (UTC). If you copy the snapshot, the creation time changes. - """ - tenant_db_name: str | None = ... - """The name of the tenant database.""" - master_username: str | None = ... - """The master username of the tenant database.""" - tenant_database_resource_id: str | None = ... - """The resource ID of the tenant database.""" - character_set_name: str | None = ... - """The name of the character set of a tenant database.""" - db_snapshot_tenant_database_arn: str | None = ... - """The Amazon Resource Name (ARN) for the snapshot tenant database.""" - nchar_character_set_name: str | None = ... - """The `NCHAR` character set name of the tenant database.""" - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class DBSnapshotTenantDatabaseNotFoundFault(ServiceError, _SerdeShape): - """The specified snapshot tenant database wasn't found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSubnetGroup(_SerdeShape): - """ - Contains the details of an Amazon RDS DB subnet group. - - This data type is used as a response element in the - `DescribeDBSubnetGroups` action. - """ - - db_subnet_group_name: str | None = ... - """The name of the DB subnet group.""" - db_subnet_group_description: str | None = ... - """Provides the description of the DB subnet group.""" - vpc_id: str | None = ... - """Provides the VpcId of the DB subnet group.""" - subnet_group_status: str | None = ... - """Provides the status of the DB subnet group.""" - subnets: list[Subnet] | None = ... - """ - Contains a list of `Subnet` elements. The list of subnets shown here - might not reflect the current state of your VPC. For the most up-to-date - information, we recommend checking your VPC configuration directly. - """ - db_subnet_group_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB subnet group.""" - supported_network_types: list[str] | None = ... - """ - The network type of the DB subnet group. - - Valid values: - - - `IPV4` - - - `DUAL` - - A `DBSubnetGroup` can support only the IPv4 protocol or the IPv4 and the - IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon RDS User Guide.* - """ - -@dataclass(kw_only=True) -class DBSubnetGroupAlreadyExistsFault(ServiceError, _SerdeShape): - """`DBSubnetGroupName` is already used by an existing DB subnet group.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSubnetGroupDoesNotCoverEnoughAZs(ServiceError, _SerdeShape): - """ - Subnets in the DB subnet group should cover at least two Availability - Zones unless there is only one Availability Zone. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSubnetGroupNotAllowedFault(ServiceError, _SerdeShape): - """ - The DBSubnetGroup shouldn't be specified while creating read replicas - that lie in the same region as the source instance. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSubnetGroupNotFoundFault(ServiceError, _SerdeShape): - """`DBSubnetGroupName` doesn't refer to an existing DB subnet group.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSubnetGroupQuotaExceededFault(ServiceError, _SerdeShape): - """ - The request would result in the user exceeding the allowed number of DB - subnet groups. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBSubnetQuotaExceededFault(ServiceError, _SerdeShape): - """ - The request would result in the user exceeding the allowed number of - subnets in a DB subnet groups. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DBUpgradeDependencyFailureFault(ServiceError, _SerdeShape): - """ - The DB upgrade failed because a resource the DB depends on can't be - modified. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class DefaultAuthScheme(UnknownEnumMixin, StrEnum): - IAM_AUTH = "IAM_AUTH" - NONE = "NONE" - -@dataclass(kw_only=True) -class DeleteBlueGreenDeploymentInput(_SerdeShape): - """Dataclass for DeleteBlueGreenDeploymentInput structure.""" - - blue_green_deployment_identifier: str | None = ... - """ - The unique identifier of the blue/green deployment to delete. This - parameter isn't case-sensitive. - - Constraints: - - - Must match an existing blue/green deployment identifier. - """ - delete_target: bool | None = ... - """ - Specifies whether to delete the resources in the green environment. You - can't specify this option if the blue/green deployment - [status](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_BlueGreenDeployment.html) - is `SWITCHOVER_COMPLETED`. - """ - -@dataclass(kw_only=True) -class DeleteBlueGreenDeploymentOutput(_SerdeShape): - """Dataclass for DeleteBlueGreenDeploymentOutput structure.""" - - blue_green_deployment: BlueGreenDeployment | None = ... - """ - Details about a blue/green deployment. - - For more information, see [Using Amazon RDS Blue/Green Deployments for - database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) - in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green - Deployments for database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) - in the *Amazon Aurora User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteCustomDBEngineVersionInput(_SerdeShape): - """Dataclass for DeleteCustomDBEngineVersionInput structure.""" - - engine: str | None = ... - """ - The database engine. - - RDS Custom for Oracle supports the following values: - - - `custom-oracle-ee` - - - `custom-oracle-ee-cdb` - - - `custom-oracle-se2` - - - `custom-oracle-se2-cdb` - - RDS Custom for SQL Server supports the following values: - - - `custom-sqlserver-ee` - - - `custom-sqlserver-se` - - - `custom-sqlserver-web` - - - `custom-sqlserver-dev` - - RDS for SQL Server supports the following values: - - - `sqlserver-ee` (Bring Your Own Media) - - - `sqlserver-se` (Bring Your Own Media) - - - `sqlserver-dev-ee` - """ - engine_version: str | None = ... - """ - The custom engine version (CEV) for your DB instance. This option is - required for RDS Custom, but optional for Amazon RDS. The combination of - `Engine` and `EngineVersion` is unique per customer per Amazon Web - Services Region. - """ - -@dataclass(kw_only=True) -class DeleteCustomDBEngineVersionOutput(_SerdeShape): - """ - This data type is used as a response element in the action - `DescribeDBEngineVersions`. - """ - - engine: str | None = ... - """The name of the database engine.""" - major_engine_version: str | None = ... - """The major engine version of the CEV.""" - engine_version: str | None = ... - """The version number of the database engine.""" - database_installation_files_s3_bucket_name: str | None = ... - """ - The name of the Amazon S3 bucket that contains your database - installation files. - """ - database_installation_files_s3_prefix: str | None = ... - """ - The Amazon S3 directory that contains the database installation files. - If not specified, then no prefix is assumed. - """ - database_installation_files: list[str] | None = ... - """ - The database installation files (ISO and EXE) that were uploaded to - Amazon S3 and used to import the database engine version to Amazon RDS. - Returned for RDS for SQL Server engine versions (`sqlserver-ee`, - `sqlserver-se`, and `sqlserver-dev-ee`) created from customer-supplied - installation media. - """ - custom_db_engine_version_manifest: str | None = ... - """ - JSON string that lists the installation files and parameters that RDS - Custom uses to create a custom engine version (CEV). RDS Custom applies - the patches in the order in which they're listed in the manifest. You - can set the Oracle home, Oracle base, and UNIX/Linux user and group - using the installation parameters. For more information, see [JSON - fields in the CEV - manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) - in the *Amazon RDS User Guide*. - """ - db_parameter_group_family: str | None = ... - """The name of the DB parameter group family for the database engine.""" - db_engine_description: str | None = ... - """The description of the database engine.""" - db_engine_version_arn: str | None = ... - """The ARN of the custom engine version.""" - db_engine_version_description: str | None = ... - """The description of the database engine version.""" - default_character_set: CharacterSet | None = ... - """ - The default character set for new instances of this engine version, if - the `CharacterSetName` parameter of the CreateDBInstance API isn't - specified. - """ - failure_reason: str | None = ... - """ - The reason that the custom engine version creation failed with an - `incompatible-installation-media` status. Applicable to RDS for SQL - Server engine versions (`sqlserver-ee`, `sqlserver-se`, and - `sqlserver-dev-ee`). - """ - image: CustomDBEngineVersionAMI | None = ... - """The EC2 image""" - db_engine_media_type: str | None = ... - """ - The source of the installation media for this engine version. A value of - `Customer Provided` indicates that the engine version was created from - customer-supplied installation media using - `CreateCustomDBEngineVersion`. Applicable to RDS Custom for SQL Server - and to RDS for SQL Server engine versions (`sqlserver-ee` and - `sqlserver-se` with the `bring-your-own-media` license model, and - `sqlserver-dev-ee`). - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted CEV. This - parameter is required for RDS Custom, but optional for Amazon RDS. - """ - create_time: datetime | None = ... - """The creation time of the DB engine version.""" - supported_character_sets: list[CharacterSet] | None = ... - """ - A list of the character sets supported by this engine for the - `CharacterSetName` parameter of the `CreateDBInstance` operation. - """ - supported_nchar_character_sets: list[CharacterSet] | None = ... - """ - A list of the character sets supported by the Oracle DB engine for the - `NcharCharacterSetName` parameter of the `CreateDBInstance` operation. - """ - valid_upgrade_target: list[UpgradeTarget] | None = ... - """ - A list of engine versions that this database engine version can be - upgraded to. - """ - supported_timezones: list[Timezone] | None = ... - """ - A list of the time zones supported by this engine for the `Timezone` - parameter of the `CreateDBInstance` action. - """ - exportable_log_types: list[str] | None = ... - """ - The types of logs that the database engine has available for export to - CloudWatch Logs. - """ - supports_log_exports_to_cloudwatch_logs: bool | None = ... - """ - Indicates whether the engine version supports exporting the log types - specified by ExportableLogTypes to CloudWatch Logs. - """ - supports_read_replica: bool | None = ... - """Indicates whether the database engine version supports read replicas.""" - supported_engine_modes: list[str] | None = ... - """A list of the supported DB engine modes.""" - supported_feature_names: list[str] | None = ... - """ - A list of features supported by the DB engine. - - The supported features vary by DB engine and DB engine version. - - To determine the supported features for a specific DB engine and DB - engine version using the CLI, use the following command: - - `aws rds describe-db-engine-versions --engine --engine-version ` - - For example, to determine the supported features for RDS for PostgreSQL - version 13.3 using the CLI, use the following command: - - `aws rds describe-db-engine-versions --engine postgres --engine-version 13.3` - - The supported features are listed under `SupportedFeatureNames` in the - output. - """ - status: str | None = ... - """The status of the DB engine version, either `available` or `deprecated`.""" - supports_parallel_query: bool | None = ... - """ - Indicates whether you can use Aurora parallel query with a specific DB - engine version. - """ - supports_global_databases: bool | None = ... - """ - Indicates whether you can use Aurora global databases with a specific DB - engine version. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - supports_babelfish: bool | None = ... - """ - Indicates whether the engine version supports Babelfish for Aurora - PostgreSQL. - """ - supports_limitless_database: bool | None = ... - """ - Indicates whether the DB engine version supports Aurora Limitless - Database. - """ - supports_certificate_rotation_without_restart: bool | None = ... - """ - Indicates whether the engine version supports rotating the server - certificate without rebooting the DB instance. - """ - supported_ca_certificate_identifiers: list[str] | None = ... - """ - A list of the supported CA certificate identifiers. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - supports_local_write_forwarding: bool | None = ... - """ - Indicates whether the DB engine version supports forwarding write - operations from reader DB instances to the writer DB instance in the DB - cluster. By default, write operations aren't allowed on reader DB - instances. - - Valid for: Aurora DB clusters only - """ - supports_integrations: bool | None = ... - """ - Indicates whether the DB engine version supports zero-ETL integrations - with Amazon Redshift. - """ - serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... - """ - Specifies any Aurora Serverless v2 properties or limits that differ - between Aurora engine versions. You can test the values of this - attribute when deciding which Aurora version to use in a new or upgraded - DB cluster. You can also retrieve the version of an existing DB cluster - and check whether that version supports certain Aurora Serverless v2 - features before you attempt to use those features. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterAutomatedBackupInput(_SerdeShape): - """Dataclass for DeleteDBClusterAutomatedBackupInput structure.""" - - db_cluster_resource_id: str | None = ... - """ - The identifier for the source DB cluster, which can't be changed and - which is unique to an Amazon Web Services Region. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterAutomatedBackupOutput(_SerdeShape): - """Dataclass for DeleteDBClusterAutomatedBackupOutput structure.""" - - db_cluster_automated_backup: DBClusterAutomatedBackup | None = ... - """ - An automated backup of a DB cluster. It consists of system backups, - transaction logs, and the database cluster properties that existed at - the time you deleted the source cluster. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterEndpointInput(_SerdeShape): - """Dataclass for DeleteDBClusterEndpointInput structure.""" - - db_cluster_endpoint_identifier: str | None = ... - """ - The identifier associated with the custom endpoint. This parameter is - stored as a lowercase string. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterEndpointOutput(_SerdeShape): - """ - This data type represents the information you need to connect to an - Amazon Aurora DB cluster. This data type is used as a response element - in the following actions: - - - `CreateDBClusterEndpoint` - - - `DescribeDBClusterEndpoints` - - - `ModifyDBClusterEndpoint` - - - `DeleteDBClusterEndpoint` - - For the data structure that represents Amazon RDS DB instance endpoints, - see `Endpoint`. - """ - - db_cluster_endpoint_identifier: str | None = ... - """ - The identifier associated with the endpoint. This parameter is stored as - a lowercase string. - """ - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the DB cluster associated with the - endpoint. This parameter is stored as a lowercase string. - """ - db_cluster_endpoint_resource_identifier: str | None = ... - """ - A unique system-generated identifier for an endpoint. It remains the - same for the whole life of the endpoint. - """ - endpoint: str | None = ... - """The DNS address of the endpoint.""" - status: str | None = ... - """ - The current status of the endpoint. One of: `creating`, `available`, - `deleting`, `inactive`, `modifying`. The `inactive` state applies to an - endpoint that can't be used for a certain kind of cluster, such as a - `writer` endpoint for a read-only secondary cluster in a global - database. - """ - endpoint_type: str | None = ... - """The type of the endpoint. One of: `READER`, `WRITER`, `CUSTOM`.""" - custom_endpoint_type: str | None = ... - """ - The type associated with a custom endpoint. One of: `READER`, `WRITER`, - `ANY`. - """ - static_members: list[str] | None = ... - """ - List of DB instance identifiers that are part of the custom endpoint - group. - """ - excluded_members: list[str] | None = ... - """ - List of DB instance identifiers that aren't part of the custom endpoint - group. All other eligible instances are reachable through the custom - endpoint. Only relevant if the list of static members is empty. - """ - db_cluster_endpoint_arn: str | None = ... - """The Amazon Resource Name (ARN) for the endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterInput(_SerdeShape): - """""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier for the DB cluster to be deleted. This - parameter isn't case-sensitive. - - Constraints: - - - Must match an existing DBClusterIdentifier. - """ - skip_final_snapshot: bool | None = ... - """ - Specifies whether to skip the creation of a final DB cluster snapshot - before RDS deletes the DB cluster. If you set this value to `true`, RDS - doesn't create a final DB cluster snapshot. If you set this value to - `false` or don't specify it, RDS creates a DB cluster snapshot before - it deletes the DB cluster. By default, this parameter is disabled, so - RDS creates a final DB cluster snapshot. - - Note: - If `SkipFinalSnapshot` is disabled, you must specify a value for the - `FinalDBSnapshotIdentifier` parameter. - """ - final_db_snapshot_identifier: str | None = ... - """ - The DB cluster snapshot identifier of the new DB cluster snapshot - created when `SkipFinalSnapshot` is disabled. - - Note: - If you specify this parameter and also skip the creation of a final DB - cluster snapshot with the `SkipFinalShapshot` parameter, the request - results in an error. - - Constraints: - - - Must be 1 to 255 letters, numbers, or hyphens. - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - """ - delete_automated_backups: bool | None = ... - """ - Specifies whether to remove automated backups immediately after the DB - cluster is deleted. This parameter isn't case-sensitive. The default is - to remove automated backups immediately after the DB cluster is deleted, - unless the Amazon Web Services Backup policy specifies a point-in-time - restore rule. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterOutput(_SerdeShape): - """Dataclass for DeleteDBClusterOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterParameterGroupInput(_SerdeShape): - """""" - - db_cluster_parameter_group_name: str | None = ... - """ - The name of the DB cluster parameter group. - - Constraints: - - - Must be the name of an existing DB cluster parameter group. - - - You can't delete a default DB cluster parameter group. - - - Can't be associated with any DB clusters. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterParameterGroupOutput(_SerdeShape): - """Dataclass for DeleteDBClusterParameterGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterSnapshotInput(_SerdeShape): - """""" - - db_cluster_snapshot_identifier: str | None = ... - """ - The identifier of the DB cluster snapshot to delete. - - Constraints: Must be the name of an existing DB cluster snapshot in the - `available` state. - """ - -@dataclass(kw_only=True) -class DeleteDBClusterSnapshotOutput(_SerdeShape): - """Dataclass for DeleteDBClusterSnapshotOutput structure.""" - - db_cluster_snapshot: DBClusterSnapshot | None = ... - """ - Contains the details for an Amazon RDS DB cluster snapshot - - This data type is used as a response element in the - `DescribeDBClusterSnapshots` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBInstanceAutomatedBackupInput(_SerdeShape): - """Parameter input for the `DeleteDBInstanceAutomatedBackup` operation.""" - - dbi_resource_id: str | None = ... - """ - The identifier for the source DB instance, which can't be changed and - which is unique to an Amazon Web Services Region. - """ - db_instance_automated_backups_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the automated backups to delete, for - example, - `arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE`. - - This setting doesn't apply to RDS Custom. - """ - -@dataclass(kw_only=True) -class DeleteDBInstanceAutomatedBackupOutput(_SerdeShape): - """Dataclass for DeleteDBInstanceAutomatedBackupOutput structure.""" - - db_instance_automated_backup: DBInstanceAutomatedBackup | None = ... - """ - An automated backup of a DB instance. It consists of system backups, - transaction logs, and the database instance properties that existed at - the time you deleted the source instance. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBInstanceInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The DB instance identifier for the DB instance to be deleted. This - parameter isn't case-sensitive. - - Constraints: - - - Must match the name of an existing DB instance. - """ - skip_final_snapshot: bool | None = ... - """ - Specifies whether to skip the creation of a final DB snapshot before - deleting the instance. If you enable this parameter, RDS doesn't create - a DB snapshot. If you don't enable this parameter, RDS creates a DB - snapshot before the DB instance is deleted. By default, skip isn't - enabled, and the DB snapshot is created. - - Note: - If you don't enable this parameter, you must specify the - `FinalDBSnapshotIdentifier` parameter. - - When a DB instance is in a failure state and has a status of `failed`, - `incompatible-restore`, or `incompatible-network`, RDS can delete the - instance only if you enable this parameter. - - If you delete a read replica or an RDS Custom instance, you must enable - this setting. - - This setting is required for RDS Custom. - """ - final_db_snapshot_identifier: str | None = ... - """ - The `DBSnapshotIdentifier` of the new `DBSnapshot` created when the - `SkipFinalSnapshot` parameter is disabled. - - Note: - If you enable this parameter and also enable SkipFinalShapshot, the - command results in an error. - - This setting doesn't apply to RDS Custom. - - Constraints: - - - Must be 1 to 255 letters or numbers. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - - Can't be specified when deleting a read replica. - """ - delete_automated_backups: bool | None = ... - """ - Specifies whether to remove automated backups immediately after the DB - instance is deleted. This parameter isn't case-sensitive. The default - is to remove automated backups immediately after the DB instance is - deleted. - """ - -@dataclass(kw_only=True) -class DeleteDBInstanceOutput(_SerdeShape): - """Dataclass for DeleteDBInstanceOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBParameterGroupInput(_SerdeShape): - """""" - - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group. - - Constraints: - - - Must be the name of an existing DB parameter group - - - You can't delete a default DB parameter group - - - Can't be associated with any DB instances - """ - -@dataclass(kw_only=True) -class DeleteDBParameterGroupOutput(_SerdeShape): - """Dataclass for DeleteDBParameterGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBProxyEndpointInput(_SerdeShape): - """Dataclass for DeleteDBProxyEndpointInput structure.""" - - db_proxy_endpoint_name: str | None = ... - """The name of the DB proxy endpoint to delete.""" - -@dataclass(kw_only=True) -class DeleteDBProxyEndpointOutput(_SerdeShape): - """Dataclass for DeleteDBProxyEndpointOutput structure.""" - - db_proxy_endpoint: DBProxyEndpoint | None = ... - """ - The data structure representing the details of the DB proxy endpoint - that you delete. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBProxyInput(_SerdeShape): - """Dataclass for DeleteDBProxyInput structure.""" - - db_proxy_name: str | None = ... - """The name of the DB proxy to delete.""" - -@dataclass(kw_only=True) -class DeleteDBProxyOutput(_SerdeShape): - """Dataclass for DeleteDBProxyOutput structure.""" - - db_proxy: DBProxy | None = ... - """ - The data structure representing the details of the DB proxy that you - delete. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBSecurityGroupInput(_SerdeShape): - """""" - - db_security_group_name: str | None = ... - """ - The name of the DB security group to delete. - - Note: - You can't delete the default DB security group. - - Constraints: - - - Must be 1 to 255 letters, numbers, or hyphens. - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - - Must not be \"Default\" - """ - -@dataclass(kw_only=True) -class DeleteDBSecurityGroupOutput(_SerdeShape): - """Dataclass for DeleteDBSecurityGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBShardGroupInput(_SerdeShape): - """Dataclass for DeleteDBShardGroupInput structure.""" - - db_shard_group_identifier: str | None = ... - """The name of the DB shard group to delete.""" - -@dataclass(kw_only=True) -class DeleteDBShardGroupOutput(_SerdeShape): - """Contains the details for an Amazon RDS DB shard group.""" - - db_shard_group_resource_id: str | None = ... - """ - The Amazon Web Services Region-unique, immutable identifier for the DB - shard group. - """ - db_shard_group_identifier: str | None = ... - """The name of the DB shard group.""" - db_cluster_identifier: str | None = ... - """The name of the primary DB cluster for the DB shard group.""" - max_acu: float | None = ... - """ - The maximum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - min_acu: float | None = ... - """ - The minimum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - compute_redundancy: int | None = ... - """ - Specifies whether to create standby DB shard groups for the DB shard - group. Valid values are the following: - - - 0 - Creates a DB shard group without a standby DB shard group. This is - the default value. - - - 1 - Creates a DB shard group with a standby DB shard group in a - different Availability Zone (AZ). - - - 2 - Creates a DB shard group with two standby DB shard groups in two - different AZs. - """ - status: str | None = ... - """The status of the DB shard group.""" - publicly_accessible: bool | None = ... - """ - Indicates whether the DB shard group is publicly accessible. - - When the DB shard group is publicly accessible, its Domain Name System - (DNS) endpoint resolves to the private IP address from within the DB - shard group's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB shard group's VPC. Access to the DB - shard group is ultimately controlled by the security group it uses. That - public access isn't permitted if the security group assigned to the DB - shard group doesn't permit it. - - When the DB shard group isn't publicly accessible, it is an internal DB - shard group with a DNS name that resolves to a private IP address. - - For more information, see CreateDBShardGroup. - - This setting is only for Aurora Limitless Database. - """ - endpoint: str | None = ... - """The connection endpoint for the DB shard group.""" - db_shard_group_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB shard group.""" - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBSnapshotInput(_SerdeShape): - """""" - - db_snapshot_identifier: str | None = ... - """ - The DB snapshot identifier. - - Constraints: Must be the name of an existing DB snapshot in the - `available` state. - """ - -@dataclass(kw_only=True) -class DeleteDBSnapshotOutput(_SerdeShape): - """Dataclass for DeleteDBSnapshotOutput structure.""" - - db_snapshot: DBSnapshot | None = ... - """ - Contains the details of an Amazon RDS DB snapshot. - - This data type is used as a response element in the - `DescribeDBSnapshots` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteDBSubnetGroupInput(_SerdeShape): - """""" - - db_subnet_group_name: str | None = ... - """ - The name of the database subnet group to delete. - - Note: - You can't delete the default subnet group. - - Constraints: Must match the name of an existing DBSubnetGroup. Must not - be default. - - Example: `mydbsubnetgroup` - """ - -@dataclass(kw_only=True) -class DeleteDBSubnetGroupOutput(_SerdeShape): - """Dataclass for DeleteDBSubnetGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteEventSubscriptionInput(_SerdeShape): - """""" - - subscription_name: str | None = ... - """The name of the RDS event notification subscription you want to delete.""" - -@dataclass(kw_only=True) -class DeleteEventSubscriptionOutput(_SerdeShape): - """Dataclass for DeleteEventSubscriptionOutput structure.""" - - event_subscription: EventSubscription | None = ... - """ - Contains the results of a successful invocation of the - `DescribeEventSubscriptions` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteGlobalClusterInput(_SerdeShape): - """Dataclass for DeleteGlobalClusterInput structure.""" - - global_cluster_identifier: str | None = ... - """The cluster identifier of the global database cluster being deleted.""" - -@dataclass(kw_only=True) -class DeleteGlobalClusterOutput(_SerdeShape): - """Dataclass for DeleteGlobalClusterOutput structure.""" - - global_cluster: GlobalCluster | None = ... - """A data type representing an Aurora global database.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteIntegrationInput(_SerdeShape): - """Dataclass for DeleteIntegrationInput structure.""" - - integration_identifier: str | None = ... - """The unique identifier of the integration.""" - -@dataclass(kw_only=True) -class DeleteIntegrationOutput(_SerdeShape): - """A zero-ETL integration with Amazon Redshift.""" - - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the database used as the source for - replication. - """ - target_arn: str | None = ... - """ - The ARN of the Redshift data warehouse used as the target for - replication. - """ - integration_name: str | None = ... - """The name of the integration.""" - integration_arn: str | None = ... - """The ARN of the integration.""" - kms_key_id: str | None = ... - """ - The Amazon Web Services Key Management System (Amazon Web Services KMS) - key identifier for the key used to to encrypt the integration. - """ - additional_encryption_context: dict[str, str] | None = ... - """ - The encryption context for the integration. For more information, see - [Encryption - context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) - in the *Amazon Web Services Key Management Service Developer Guide*. - """ - status: str | None = ... - """The current status of the integration.""" - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - data_filter: str | None = ... - """ - Data filters for the integration. These filters determine which tables - from the source database are sent to the target Amazon Redshift data - warehouse. - """ - description: str | None = ... - """A description of the integration.""" - create_time: datetime | None = ... - """ - The time when the integration was created, in Universal Coordinated Time - (UTC). - """ - errors: list[IntegrationError] | None = ... - """Any errors associated with the integration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteOptionGroupInput(_SerdeShape): - """""" - - option_group_name: str | None = ... - """ - The name of the option group to be deleted. - - Note: - You can't delete default option groups. - """ - -@dataclass(kw_only=True) -class DeleteOptionGroupOutput(_SerdeShape): - """Dataclass for DeleteOptionGroupOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteTenantDatabaseInput(_SerdeShape): - """Dataclass for DeleteTenantDatabaseInput structure.""" - - db_instance_identifier: str | None = ... - """ - The user-supplied identifier for the DB instance that contains the - tenant database that you want to delete. - """ - tenant_db_name: str | None = ... - """ - The user-supplied name of the tenant database that you want to remove - from your DB instance. Amazon RDS deletes the tenant database with this - name. This parameter isn't case-sensitive. - """ - skip_final_snapshot: bool | None = ... - """ - Specifies whether to skip the creation of a final DB snapshot before - removing the tenant database from your DB instance. If you enable this - parameter, RDS doesn't create a DB snapshot. If you don't enable this - parameter, RDS creates a DB snapshot before it deletes the tenant - database. By default, RDS doesn't skip the final snapshot. If you - don't enable this parameter, you must specify the - `FinalDBSnapshotIdentifier` parameter. - """ - final_db_snapshot_identifier: str | None = ... - """ - The `DBSnapshotIdentifier` of the new `DBSnapshot` created when the - `SkipFinalSnapshot` parameter is disabled. - - Note: - If you enable this parameter and also enable `SkipFinalShapshot`, the - command results in an error. - """ - -@dataclass(kw_only=True) -class DeleteTenantDatabaseOutput(_SerdeShape): - """Dataclass for DeleteTenantDatabaseOutput structure.""" - - tenant_database: TenantDatabase | None = ... - """ - A tenant database in the DB instance. This data type is an element in - the response to the `DescribeTenantDatabases` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeregisterDBProxyTargetsInput(_SerdeShape): - """Dataclass for DeregisterDBProxyTargetsInput structure.""" - - db_proxy_name: str | None = ... - """ - The identifier of the `DBProxy` that is associated with the - `DBProxyTargetGroup`. - """ - target_group_name: str | None = ... - """The identifier of the `DBProxyTargetGroup`.""" - db_instance_identifiers: list[str] | None = ... - """One or more DB instance identifiers.""" - db_cluster_identifiers: list[str] | None = ... - """One or more DB cluster identifiers.""" - -@dataclass(kw_only=True) -class DeregisterDBProxyTargetsOutput(_SerdeShape): - """Dataclass for DeregisterDBProxyTargetsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeAccountAttributesInput(_SerdeShape): - """""" - -@dataclass(kw_only=True) -class DescribeAccountAttributesOutput(_SerdeShape): - """Data returned by the **DescribeAccountAttributes** action.""" - - account_quotas: list[AccountQuota] | None = ... - """ - A list of `AccountQuota` objects. Within this list, each quota has a - name, a count of usage toward the quota maximum, and a maximum value for - the quota. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeBlueGreenDeploymentsInput(_SerdeShape): - """Dataclass for DescribeBlueGreenDeploymentsInput structure.""" - - blue_green_deployment_identifier: str | None = ... - """ - The blue/green deployment identifier. If you specify this parameter, the - response only includes information about the specific blue/green - deployment. This parameter isn't case-sensitive. - - Constraints: - - - Must match an existing blue/green deployment identifier. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more blue/green deployments to describe. - - Valid Values: - - - `blue-green-deployment-identifier` - Accepts system-generated - identifiers for blue/green deployments. The results list only includes - information about the blue/green deployments with the specified - identifiers. - - - `blue-green-deployment-name` - Accepts user-supplied names for - blue/green deployments. The results list only includes information - about the blue/green deployments with the specified names. - - - `source` - Accepts source databases for a blue/green deployment. The - results list only includes information about the blue/green - deployments with the specified source databases. - - - `target` - Accepts target databases for a blue/green deployment. The - results list only includes information about the blue/green - deployments with the specified target databases. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeBlueGreenDeployments` request. If you specify this parameter, - the response only includes records beyond the marker, up to the value - specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: - - - Must be a minimum of 20. - - - Can't exceed 100. - """ - -@dataclass(kw_only=True) -class DescribeBlueGreenDeploymentsOutput(_SerdeShape): - """Dataclass for DescribeBlueGreenDeploymentsOutput structure.""" - - blue_green_deployments: list[BlueGreenDeployment] | None = ... - """ - A list of blue/green deployments in the current account and Amazon Web - Services Region. - """ - marker: str | None = ... - """ - A pagination token that can be used in a later - `DescribeBlueGreenDeployments` request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeCertificatesInput(_SerdeShape): - """""" - - certificate_identifier: str | None = ... - """ - The user-supplied certificate identifier. If this parameter is - specified, information for only the identified certificate is returned. - This parameter isn't case-sensitive. - - Constraints: - - - Must match an existing CertificateIdentifier. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeCertificates` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeCertificatesOutput(_SerdeShape): - """Data returned by the **DescribeCertificates** action.""" - - default_certificate_for_new_launches: str | None = ... - """ - The default root CA for new databases created by your Amazon Web - Services account. This is either the root CA override set on your Amazon - Web Services account or the system default CA for the Region if no - override exists. To override the default CA, use the - `ModifyCertificates` operation. - """ - certificates: list[Certificate] | None = ... - """The list of `Certificate` objects for the Amazon Web Services account.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeCertificates` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords` . - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBCapacityReservationsInput(_SerdeShape): - """Dataclass for DescribeDBCapacityReservationsInput structure.""" - - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation to describe. - You can specify the identifier, which has the prefix `dbcr-`, or the - reservation name. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBCapacityReservations` request. If this parameter is - specified, the response includes only records beyond the marker, up to - the value specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: - - - Must be a minimum of 20. - - - Can't exceed 100. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies which DB capacity reservations to describe. - - Supported filters: - - - `db-capacity-reservation-name` - Accepts DB capacity reservation - names. The response includes only the reservations that these names - identify. Use this filter to describe several reservations by name in - one request. - - - `state` - Accepts reservation states. The response includes only the - reservations in these states. - - - `engine` - Accepts database engine names. The response includes only - the reservations that reserve capacity for these engines. - - - `db-instance-class` - Accepts DB instance classes. The response - includes only the reservations that reserve capacity for these DB - instance classes. - - - `availability-zone` - Accepts Availability Zone names. The response - includes only the reservations that cover these Availability Zones. - - When you specify more than one value for a filter, the response includes - the reservations that match any of those values. When you specify more - than one filter, the response includes only the reservations that match - every filter. - - Amazon RDS rejects the request when a filter name isn't in this list, - or when a filter specifies no values. - - Note: - The `state` filter doesn't accept `expired`. To find an expired - reservation, compare `EndDate` against the current date and time. - """ - -@dataclass(kw_only=True) -class DescribeDBCapacityReservationsOutput(_SerdeShape): - """Dataclass for DescribeDBCapacityReservationsOutput structure.""" - - db_capacity_reservations: list[DBCapacityReservation] | None = ... - """A list of DB capacity reservations.""" - marker: str | None = ... - """ - A pagination token that you can use in a later - `DescribeDBCapacityReservations` request. If this value is returned, - more records are available beyond this response. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterAutomatedBackupsInput(_SerdeShape): - """Dataclass for DescribeDBClusterAutomatedBackupsInput structure.""" - - db_cluster_resource_id: str | None = ... - """ - The resource ID of the DB cluster that is the source of the automated - backup. This parameter isn't case-sensitive. - """ - db_cluster_identifier: str | None = ... - """ - (Optional) The user-supplied DB cluster identifier. If this parameter is - specified, it must match the identifier of an existing DB cluster. It - returns information from the specific DB cluster's automated backup. - This parameter isn't case-sensitive. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies which resources to return based on status. - - Supported filters are the following: - - - `status` - - - `retained` - Automated backups for deleted clusters and after backup - replication is stopped. - - - `db-cluster-id` - Accepts DB cluster identifiers and Amazon Resource - Names (ARNs). The results list includes only information about the DB - cluster automated backups identified by these ARNs. - - - `db-cluster-resource-id` - Accepts DB resource identifiers and Amazon - Resource Names (ARNs). The results list includes only information - about the DB cluster resources identified by these ARNs. - - Returns all resources by default. The status for each resource is - specified in the response. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - """ - marker: str | None = ... - """ - The pagination token provided in the previous request. If this parameter - is specified the response includes only records beyond the marker, up to - `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterAutomatedBackupsOutput(_SerdeShape): - """Dataclass for DescribeDBClusterAutomatedBackupsOutput structure.""" - - marker: str | None = ... - """ - The pagination token provided in the previous request. If this parameter - is specified the response includes only records beyond the marker, up to - `MaxRecords`. - """ - db_cluster_automated_backups: list[DBClusterAutomatedBackup] | None = ... - """A list of `DBClusterAutomatedBackup` backups.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterBacktracksInput(_SerdeShape): - """""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the DB cluster to be described. This - parameter is stored as a lowercase string. - - Constraints: - - - Must contain from 1 to 63 alphanumeric characters or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `my-cluster1` - """ - backtrack_identifier: str | None = ... - """ - If specified, this value is the backtrack identifier of the backtrack to - be described. - - Constraints: - - - Must contain a valid universally unique identifier (UUID). For more - information about UUIDs, see [Universally unique - identifier](https://en.wikipedia.org/wiki/Universally_unique_identifier). - - Example: `123e4567-e89b-12d3-a456-426655440000` - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more DB clusters to describe. Supported - filters include the following: - - - `db-cluster-backtrack-id` - Accepts backtrack identifiers. The results - list includes information about only the backtracks identified by - these identifiers. - - - `db-cluster-backtrack-status` - Accepts any of the following backtrack - status values: - - - `applying` - - - `completed` - - - `failed` - - - `pending` - - The results list includes information about only the backtracks - identified by these values. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBClusterBacktracks` request. If this parameter is specified, - the response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterBacktracksOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBClusterBacktracks` action. - """ - - marker: str | None = ... - """ - A pagination token that can be used in a later - `DescribeDBClusterBacktracks` request. - """ - db_cluster_backtracks: list[DBClusterBacktrack] | None = ... - """Contains a list of backtracks for the user.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterEndpointsInput(_SerdeShape): - """Dataclass for DescribeDBClusterEndpointsInput structure.""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the DB cluster associated with the - endpoint. This parameter is stored as a lowercase string. - """ - db_cluster_endpoint_identifier: str | None = ... - """ - The identifier of the endpoint to describe. This parameter is stored as - a lowercase string. - """ - filters: list[Filter] | None = ... - """ - A set of name-value pairs that define which endpoints to include in the - output. The filters are specified as name-value pairs, in the format - `Name=`*`endpoint_type`*`,Values=`*`endpoint_type1`*`,`*`endpoint_type2`*`,...`. - `Name` can be one of: `db-cluster-endpoint-type`, - `db-cluster-endpoint-custom-type`, `db-cluster-endpoint-id`, - `db-cluster-endpoint-status`. `Values` for the - ` db-cluster-endpoint-type` filter can be one or more of: `reader`, - `writer`, `custom`. `Values` for the `db-cluster-endpoint-custom-type` - filter can be one or more of: `reader`, `any`. `Values` for the - `db-cluster-endpoint-status` filter can be one or more of: `available`, - `creating`, `deleting`, `inactive`, `modifying`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBClusterEndpoints` request. If this parameter is specified, - the response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterEndpointsOutput(_SerdeShape): - """Dataclass for DescribeDBClusterEndpointsOutput structure.""" - - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBClusterEndpoints` request. If this parameter is specified, - the response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - db_cluster_endpoints: list[DBClusterEndpoint] | None = ... - """ - Contains the details of the endpoints associated with the cluster and - matching any filter conditions. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterParameterGroupsInput(_SerdeShape): - """""" - - db_cluster_parameter_group_name: str | None = ... - """ - The name of a specific DB cluster parameter group to return details for. - - Constraints: - - - If supplied, must match the name of an existing - DBClusterParameterGroup. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBClusterParameterGroups` request. If this parameter is - specified, the response includes only records beyond the marker, up to - the value specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterParameterGroupsOutput(_SerdeShape): - """""" - - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBClusterParameterGroups` request. If this parameter is - specified, the response includes only records beyond the marker, up to - the value specified by `MaxRecords`. - """ - db_cluster_parameter_groups: list[DBClusterParameterGroup] | None = ... - """A list of DB cluster parameter groups.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterParametersInput(_SerdeShape): - """""" - - db_cluster_parameter_group_name: str | None = ... - """ - The name of a specific DB cluster parameter group to return parameter - details for. - - Constraints: - - - If supplied, must match the name of an existing - DBClusterParameterGroup. - """ - source: str | None = ... - """ - A specific source to return parameters for. - - Valid Values: - - - `engine-default` - - - `system` - - - `user` - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more DB cluster parameters to describe. - - The only supported filter is `parameter-name`. The results list only - includes information about the DB cluster parameters with these names. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBClusterParameters` request. If this parameter is specified, - the response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterParametersOutput(_SerdeShape): - """ - Provides details about a DB cluster parameter group including the - parameters in the DB cluster parameter group. - """ - - parameters: list[Parameter] | None = ... - """Provides a list of parameters for the DB cluster parameter group.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBClusterParameters` request. If this parameter is specified, - the response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBClustersInput(_SerdeShape): - """""" - - db_cluster_identifier: str | None = ... - """ - The user-supplied DB cluster identifier or the Amazon Resource Name - (ARN) of the DB cluster. If this parameter is specified, information for - only the specific DB cluster is returned. This parameter isn't - case-sensitive. - - Constraints: - - - If supplied, must match an existing DB cluster identifier. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more DB clusters to describe. - - Supported Filters: - - - `clone-group-id` - Accepts clone group identifiers. The results list - only includes information about the DB clusters associated with these - clone groups. - - - `db-cluster-id` - Accepts DB cluster identifiers and DB cluster Amazon - Resource Names (ARNs). The results list only includes information - about the DB clusters identified by these ARNs. - - - `db-cluster-resource-id` - Accepts DB cluster resource identifiers. - The results list will only include information about the DB clusters - identified by these DB cluster resource identifiers. - - - `domain` - Accepts Active Directory directory IDs. The results list - only includes information about the DB clusters associated with these - domains. - - - `engine` - Accepts engine names. The results list only includes - information about the DB clusters for these engines. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100 - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous `DescribeDBClusters` - request. If this parameter is specified, the response includes only - records beyond the marker, up to the value specified by `MaxRecords`. - """ - include_shared: bool | None = ... - """ - Specifies whether the output includes information about clusters shared - from other Amazon Web Services accounts. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterSnapshotAttributesInput(_SerdeShape): - """""" - - db_cluster_snapshot_identifier: str | None = ... - """ - The identifier for the DB cluster snapshot to describe the attributes - for. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterSnapshotAttributesOutput(_SerdeShape): - """Dataclass for DescribeDBClusterSnapshotAttributesOutput structure.""" - - db_cluster_snapshot_attributes_result: ( - DBClusterSnapshotAttributesResult | None - ) = ... - """ - Contains the results of a successful call to the - `DescribeDBClusterSnapshotAttributes` API action. - - Manual DB cluster snapshot attributes are used to authorize other Amazon - Web Services accounts to copy or restore a manual DB cluster snapshot. - For more information, see the `ModifyDBClusterSnapshotAttribute` API - action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBClusterSnapshotsInput(_SerdeShape): - """""" - - db_cluster_identifier: str | None = ... - """ - The ID of the DB cluster to retrieve the list of DB cluster snapshots - for. This parameter can't be used in conjunction with the - `DBClusterSnapshotIdentifier` parameter. This parameter isn't - case-sensitive. - - Constraints: - - - If supplied, must match the identifier of an existing DBCluster. - """ - db_cluster_snapshot_identifier: str | None = ... - """ - A specific DB cluster snapshot identifier to describe. This parameter - can't be used in conjunction with the `DBClusterIdentifier` parameter. - This value is stored as a lowercase string. - - Constraints: - - - If supplied, must match the identifier of an existing - DBClusterSnapshot. - - - If this identifier is for an automated snapshot, the `SnapshotType` - parameter must also be specified. - """ - snapshot_type: str | None = ... - """ - The type of DB cluster snapshots to be returned. You can specify one of - the following values: - - - `automated` - Return all DB cluster snapshots that have been - automatically taken by Amazon RDS for my Amazon Web Services account. - - - `manual` - Return all DB cluster snapshots that have been taken by my - Amazon Web Services account. - - - `shared` - Return all manual DB cluster snapshots that have been - shared to my Amazon Web Services account. - - - `public` - Return all DB cluster snapshots that have been marked as - public. - - If you don't specify a `SnapshotType` value, then both automated and - manual DB cluster snapshots are returned. You can include shared DB - cluster snapshots with these results by enabling the `IncludeShared` - parameter. You can include public DB cluster snapshots with these - results by enabling the `IncludePublic` parameter. - - The `IncludeShared` and `IncludePublic` parameters don't apply for - `SnapshotType` values of `manual` or `automated`. The `IncludePublic` - parameter doesn't apply when `SnapshotType` is set to `shared`. The - `IncludeShared` parameter doesn't apply when `SnapshotType` is set to - `public`. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more DB cluster snapshots to describe. - - Supported filters: - - - `db-cluster-id` - Accepts DB cluster identifiers and DB cluster Amazon - Resource Names (ARNs). - - - `db-cluster-snapshot-id` - Accepts DB cluster snapshot identifiers. - - - `snapshot-type` - Accepts types of DB cluster snapshots. - - - `engine` - Accepts names of database engines. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBClusterSnapshots` request. If this parameter is specified, - the response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - include_shared: bool | None = ... - """ - Specifies whether to include shared manual DB cluster snapshots from - other Amazon Web Services accounts that this Amazon Web Services account - has been given permission to copy or restore. By default, these - snapshots are not included. - - You can give an Amazon Web Services account permission to restore a - manual DB cluster snapshot from another Amazon Web Services account by - the `ModifyDBClusterSnapshotAttribute` API action. - """ - include_public: bool | None = ... - """ - Specifies whether to include manual DB cluster snapshots that are public - and can be copied or restored by any Amazon Web Services account. By - default, the public snapshots are not included. - - You can share a manual DB cluster snapshot as public by using the - ModifyDBClusterSnapshotAttribute API action. - """ - db_cluster_resource_id: str | None = ... - """A specific DB cluster resource ID to describe.""" - -@dataclass(kw_only=True) -class DescribeDBClusterSnapshotsOutput(_SerdeShape): - """ - Provides a list of DB cluster snapshots for the user as the result of a - call to the `DescribeDBClusterSnapshots` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBClusterSnapshots` request. If this parameter is specified, - the response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - db_cluster_snapshots: list[DBClusterSnapshot] | None = ... - """Provides a list of DB cluster snapshots for the user.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBClustersOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBClusters` action. - """ - - marker: str | None = ... - """ - A pagination token that can be used in a later `DescribeDBClusters` - request. - """ - db_clusters: list[DBCluster] | None = ... - """Contains a list of DB clusters for the user.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBEngineVersionsInput(_SerdeShape): - """""" - - engine: str | None = ... - """ - The database engine to return version details for. - - Valid Values: - - - `aurora-mysql` - - - `aurora-postgresql` - - - `custom-oracle-ee` - - - `custom-oracle-ee-cdb` - - - `custom-oracle-se2` - - - `custom-oracle-se2-cdb` - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - - - `sqlserver-dev-ee` - """ - engine_version: str | None = ... - """ - A specific database engine version to return details for. - - Example: `5.1.49` - """ - db_parameter_group_family: str | None = ... - """ - The name of a specific DB parameter group family to return details for. - - Constraints: - - - If supplied, must match an existing DB parameter group family. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more DB engine versions to describe. - - Supported filters: - - - `db-parameter-group-family` - Accepts parameter groups family names. - The results list only includes information about the DB engine - versions for these parameter group families. - - - `engine` - Accepts engine names. The results list only includes - information about the DB engine versions for these engines. - - - `engine-mode` - Accepts DB engine modes. The results list only - includes information about the DB engine versions for these engine - modes. Valid DB engine modes are the following: - - - `global` - - - `multimaster` - - - `parallelquery` - - - `provisioned` - - - `serverless` - - - `engine-version` - Accepts engine versions. The results list only - includes information about the DB engine versions for these engine - versions. - - - `status` - Accepts engine version statuses. The results list only - includes information about the DB engine versions for these statuses. - Valid statuses are the following: - - - `available` - - - `deprecated` - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more than - the `MaxRecords` value is available, a pagination token called a marker - is included in the response so you can retrieve the remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - default_only: bool | None = ... - """ - Specifies whether to return only the default version of the specified - engine or the engine and major version combination. - """ - list_supported_character_sets: bool | None = ... - """ - Specifies whether to list the supported character sets for each engine - version. - - If this parameter is enabled and the requested engine supports the - `CharacterSetName` parameter for `CreateDBInstance`, the response - includes a list of supported character sets for each engine version. - - For RDS Custom, the default is not to list supported character sets. If - you enable this parameter, RDS Custom returns no results. - """ - list_supported_timezones: bool | None = ... - """ - Specifies whether to list the supported time zones for each engine - version. - - If this parameter is enabled and the requested engine supports the - `TimeZone` parameter for `CreateDBInstance`, the response includes a - list of supported time zones for each engine version. - - For RDS Custom, the default is not to list supported time zones. If you - enable this parameter, RDS Custom returns no results. - """ - include_all: bool | None = ... - """ - Specifies whether to also list the engine versions that aren't - available. The default is to list only available engine versions. - """ - -@dataclass(kw_only=True) -class DescribeDBEngineVersionsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBEngineVersions` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - db_engine_versions: list[DBEngineVersion] | None = ... - """A list of `DBEngineVersion` elements.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBInstanceAutomatedBackupsInput(_SerdeShape): - """Parameter input for DescribeDBInstanceAutomatedBackups.""" - - dbi_resource_id: str | None = ... - """ - The resource ID of the DB instance that is the source of the automated - backup. This parameter isn't case-sensitive. - """ - db_instance_identifier: str | None = ... - """ - (Optional) The user-supplied instance identifier. If this parameter is - specified, it must match the identifier of an existing DB instance. It - returns information from the specific DB instance's automated backup. - This parameter isn't case-sensitive. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies which resources to return based on status. - - Supported filters are the following: - - - `status` - - - `active` - Automated backups for current instances. - - - `creating` - Automated backups that are waiting for the first - automated snapshot to be available. - - - `retained` - Automated backups for deleted instances and after - backup replication is stopped. - - - `db-instance-id` - Accepts DB instance identifiers and Amazon Resource - Names (ARNs). The results list includes only information about the DB - instance automated backups identified by these ARNs. - - - `dbi-resource-id` - Accepts DB resource identifiers and Amazon - Resource Names (ARNs). The results list includes only information - about the DB instance resources identified by these ARNs. - - Returns all resources by default. The status for each resource is - specified in the response. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - """ - marker: str | None = ... - """ - The pagination token provided in the previous request. If this parameter - is specified the response includes only records beyond the marker, up to - `MaxRecords`. - """ - db_instance_automated_backups_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the replicated automated backups, for - example, - `arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE`. - - This setting doesn't apply to RDS Custom. - """ - -@dataclass(kw_only=True) -class DescribeDBInstanceAutomatedBackupsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBInstanceAutomatedBackups` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - db_instance_automated_backups: list[DBInstanceAutomatedBackup] | None = ... - """A list of `DBInstanceAutomatedBackup` instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBInstancesInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The user-supplied instance identifier or the Amazon Resource Name (ARN) - of the DB instance. If this parameter is specified, information from - only the specific DB instance is returned. This parameter isn't - case-sensitive. - - Constraints: - - - If supplied, must match the identifier of an existing DB instance. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more DB instances to describe. - - Supported Filters: - - - `db-cluster-id` - Accepts DB cluster identifiers and DB cluster Amazon - Resource Names (ARNs). The results list only includes information - about the DB instances associated with the DB clusters identified by - these ARNs. - - - `db-instance-id` - Accepts DB instance identifiers and DB instance - Amazon Resource Names (ARNs). The results list only includes - information about the DB instances identified by these ARNs. - - - `dbi-resource-id` - Accepts DB instance resource identifiers. The - results list only includes information about the DB instances - identified by these DB instance resource identifiers. - - - `domain` - Accepts Active Directory directory IDs. The results list - only includes information about the DB instances associated with these - domains. - - - `engine` - Accepts engine names. The results list only includes - information about the DB instances for these engines. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBInstances` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBInstancesOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBInstances` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords` . - """ - db_instances: list[DBInstance] | None = ... - """A list of `DBInstance` instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBLogFilesDetails(_SerdeShape): - """This data type is used as a response element to `DescribeDBLogFiles`.""" - - log_file_name: str | None = ... - """The name of the log file for the specified DB instance.""" - last_written: int | None = ... - """A POSIX timestamp when the last log entry was written.""" - size: int | None = ... - """The size, in bytes, of the log file for the specified DB instance.""" - -@dataclass(kw_only=True) -class DescribeDBLogFilesInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The customer-assigned name of the DB instance that contains the log - files you want to list. - - Constraints: - - - Must match the identifier of an existing DBInstance. - """ - filename_contains: str | None = ... - """ - Filters the available log files for log file names that contain the - specified string. - """ - file_last_written: int | None = ... - """ - Filters the available log files for files written since the specified - date, in POSIX timestamp format with milliseconds. - """ - file_size: int | None = ... - """ - Filters the available log files for files larger than the specified - size. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified MaxRecords value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - """ - marker: str | None = ... - """ - The pagination token provided in the previous request. If this parameter - is specified the response includes only records beyond the marker, up to - MaxRecords. - """ - -@dataclass(kw_only=True) -class DescribeDBLogFilesOutput(_SerdeShape): - """The response from a call to `DescribeDBLogFiles`.""" - - describe_db_log_files: list[DescribeDBLogFilesDetails] | None = ... - """The DB log files returned.""" - marker: str | None = ... - """ - A pagination token that can be used in a later `DescribeDBLogFiles` - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBMajorEngineVersionsInput(_SerdeShape): - """Dataclass for DescribeDBMajorEngineVersionsInput structure.""" - - engine: str | None = ... - """ - The database engine to return major version details for. - - Valid Values: - - - `aurora-mysql` - - - `aurora-postgresql` - - - `custom-sqlserver-ee` - - - `custom-sqlserver-se` - - - `custom-sqlserver-web` - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - """ - major_engine_version: str | None = ... - """ - A specific database major engine version to return details for. - - Example: `8.4` - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more than - the `MaxRecords` value is available, a pagination token called a marker - is included in the response so you can retrieve the remaining results. - - Default: 100 - """ - -@dataclass(kw_only=True) -class DescribeDBMajorEngineVersionsOutput(_SerdeShape): - """Dataclass for DescribeDBMajorEngineVersionsOutput structure.""" - - db_major_engine_versions: list[DBMajorEngineVersion] | None = ... - """A list of `DBMajorEngineVersion` elements.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBParameterGroupsInput(_SerdeShape): - """""" - - db_parameter_group_name: str | None = ... - """ - The name of a specific DB parameter group to return details for. - - Constraints: - - - If supplied, must match the name of an existing - DBClusterParameterGroup. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBParameterGroups` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBParameterGroupsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBParameterGroups` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - db_parameter_groups: list[DBParameterGroup] | None = ... - """A list of `DBParameterGroup` instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBParametersInput(_SerdeShape): - """""" - - db_parameter_group_name: str | None = ... - """ - The name of a specific DB parameter group to return details for. - - Constraints: - - - If supplied, must match the name of an existing DBParameterGroup. - """ - source: str | None = ... - """ - The parameter types to return. - - Default: All parameter types returned - - Valid Values: `user | system | engine-default` - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more DB parameters to describe. - - The only supported filter is `parameter-name`. The results list only - includes information about the DB parameters with these names. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBParameters` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBParametersOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBParameters` action. - """ - - parameters: list[Parameter] | None = ... - """A list of `Parameter` values.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBProxiesInput(_SerdeShape): - """Dataclass for DescribeDBProxiesInput structure.""" - - db_proxy_name: str | None = ... - """ - The name of the DB proxy. If you omit this parameter, the output - includes information about all DB proxies owned by your Amazon Web - Services account ID. - """ - filters: list[Filter] | None = ... - """This parameter is not currently supported.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that the remaining - results can be retrieved. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - -@dataclass(kw_only=True) -class DescribeDBProxiesOutput(_SerdeShape): - """Dataclass for DescribeDBProxiesOutput structure.""" - - db_proxies: list[DBProxy] | None = ... - """ - A return value representing an arbitrary number of `DBProxy` data - structures. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBProxyEndpointsInput(_SerdeShape): - """Dataclass for DescribeDBProxyEndpointsInput structure.""" - - db_proxy_name: str | None = ... - """ - The name of the DB proxy whose endpoints you want to describe. If you - omit this parameter, the output includes information about all DB proxy - endpoints associated with all your DB proxies. - """ - db_proxy_endpoint_name: str | None = ... - """ - The name of a DB proxy endpoint to describe. If you omit this parameter, - the output includes information about all DB proxy endpoints associated - with the specified proxy. - """ - filters: list[Filter] | None = ... - """This parameter is not currently supported.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that the remaining - results can be retrieved. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - -@dataclass(kw_only=True) -class DescribeDBProxyEndpointsOutput(_SerdeShape): - """Dataclass for DescribeDBProxyEndpointsOutput structure.""" - - db_proxy_endpoints: list[DBProxyEndpoint] | None = ... - """The list of `ProxyEndpoint` objects returned by the API operation.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBProxyTargetGroupsInput(_SerdeShape): - """Dataclass for DescribeDBProxyTargetGroupsInput structure.""" - - db_proxy_name: str | None = ... - """The identifier of the `DBProxy` associated with the target group.""" - target_group_name: str | None = ... - """The identifier of the `DBProxyTargetGroup` to describe.""" - filters: list[Filter] | None = ... - """This parameter is not currently supported.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that the remaining - results can be retrieved. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - -@dataclass(kw_only=True) -class DescribeDBProxyTargetGroupsOutput(_SerdeShape): - """Dataclass for DescribeDBProxyTargetGroupsOutput structure.""" - - target_groups: list[DBProxyTargetGroup] | None = ... - """ - An arbitrary number of `DBProxyTargetGroup` objects, containing details - of the corresponding target groups. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBProxyTargetsInput(_SerdeShape): - """Dataclass for DescribeDBProxyTargetsInput structure.""" - - db_proxy_name: str | None = ... - """The identifier of the `DBProxyTarget` to describe.""" - target_group_name: str | None = ... - """The identifier of the `DBProxyTargetGroup` to describe.""" - filters: list[Filter] | None = ... - """This parameter is not currently supported.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that the remaining - results can be retrieved. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - -@dataclass(kw_only=True) -class DescribeDBProxyTargetsOutput(_SerdeShape): - """Dataclass for DescribeDBProxyTargetsOutput structure.""" - - targets: list[DBProxyTarget] | None = ... - """ - An arbitrary number of `DBProxyTarget` objects, containing details of - the corresponding targets. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBRecommendationsInput(_SerdeShape): - """Dataclass for DescribeDBRecommendationsInput structure.""" - - last_updated_after: datetime | None = ... - """ - A filter to include only the recommendations that were updated after - this specified time. - """ - last_updated_before: datetime | None = ... - """ - A filter to include only the recommendations that were updated before - this specified time. - """ - locale: str | None = ... - """ - The language that you choose to return the list of recommendations. - - Valid values: - - - `en` - - - `en_UK` - - - `de` - - - `es` - - - `fr` - - - `id` - - - `it` - - - `ja` - - - `ko` - - - `pt_BR` - - - `zh_TW` - - - `zh_CN` - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more recommendations to describe. - - Supported Filters: - - - `recommendation-id` - Accepts a list of recommendation identifiers. - The results list only includes the recommendations whose identifier is - one of the specified filter values. - - - `status` - Accepts a list of recommendation statuses. - - Valid values: - - - `active` - The recommendations which are ready for you to apply. - - - `pending` - The applied or scheduled recommendations which are in - progress. - - - `resolved` - The recommendations which are completed. - - - `dismissed` - The recommendations that you dismissed. - - The results list only includes the recommendations whose status is one - of the specified filter values. - - - `severity` - Accepts a list of recommendation severities. The results - list only includes the recommendations whose severity is one of the - specified filter values. - - Valid values: - - - `high` - - - `medium` - - - `low` - - - `informational` - - - `type-id` - Accepts a list of recommendation type identifiers. The - results list only includes the recommendations whose type is one of - the specified filter values. - - - `dbi-resource-id` - Accepts a list of database resource identifiers. - The results list only includes the recommendations that generated for - the specified databases. - - - `cluster-resource-id` - Accepts a list of cluster resource - identifiers. The results list only includes the recommendations that - generated for the specified clusters. - - - `pg-arn` - Accepts a list of parameter group ARNs. The results list - only includes the recommendations that generated for the specified - parameter groups. - - - `cluster-pg-arn` - Accepts a list of cluster parameter group ARNs. The - results list only includes the recommendations that generated for the - specified cluster parameter groups. - """ - max_records: int | None = ... - """ - The maximum number of recommendations to include in the response. If - more records exist than the specified `MaxRecords` value, a pagination - token called a marker is included in the response so that you can - retrieve the remaining results. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBRecommendations` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBRecommendationsOutput(_SerdeShape): - """Dataclass for DescribeDBRecommendationsOutput structure.""" - - db_recommendations: list[DBRecommendation] | None = ... - """ - A list of recommendations which is returned from - `DescribeDBRecommendations` API request. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DBRecommendationsMessage` request. This token can be used later in a - `DescribeDBRecomendations` request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBSecurityGroupsInput(_SerdeShape): - """""" - - db_security_group_name: str | None = ... - """The name of the DB security group to return details for.""" - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBSecurityGroups` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBSecurityGroupsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBSecurityGroups` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - db_security_groups: list[DBSecurityGroup] | None = ... - """A list of `DBSecurityGroup` instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBShardGroupsInput(_SerdeShape): - """Dataclass for DescribeDBShardGroupsInput structure.""" - - db_shard_group_identifier: str | None = ... - """ - The user-supplied DB shard group identifier. If this parameter is - specified, information for only the specific DB shard group is returned. - This parameter isn't case-sensitive. - - Constraints: - - - If supplied, must match an existing DB shard group identifier. - """ - filters: list[Filter] | None = ... - """A filter that specifies one or more DB shard groups to describe.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBShardGroups` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100 - """ - -@dataclass(kw_only=True) -class DescribeDBShardGroupsOutput(_SerdeShape): - """Dataclass for DescribeDBShardGroupsOutput structure.""" - - db_shard_groups: list[DBShardGroup] | None = ... - """Contains a list of DB shard groups for the user.""" - marker: str | None = ... - """ - A pagination token that can be used in a later `DescribeDBClusters` - request. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBSnapshotAttributesInput(_SerdeShape): - """""" - - db_snapshot_identifier: str | None = ... - """The identifier for the DB snapshot to describe the attributes for.""" - -@dataclass(kw_only=True) -class DescribeDBSnapshotAttributesOutput(_SerdeShape): - """Dataclass for DescribeDBSnapshotAttributesOutput structure.""" - - db_snapshot_attributes_result: DBSnapshotAttributesResult | None = ... - """ - Contains the results of a successful call to the - `DescribeDBSnapshotAttributes` API action. - - Manual DB snapshot attributes are used to authorize other Amazon Web - Services accounts to copy or restore a manual DB snapshot. For more - information, see the `ModifyDBSnapshotAttribute` API action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBSnapshotsInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The ID of the DB instance to retrieve the list of DB snapshots for. This - parameter isn't case-sensitive. - - Constraints: - - - If supplied, must match the identifier of an existing DBInstance. - """ - db_snapshot_identifier: str | None = ... - """ - A specific DB snapshot identifier to describe. This value is stored as a - lowercase string. - - Constraints: - - - If supplied, must match the identifier of an existing DBSnapshot. - - - If this identifier is for an automated snapshot, the `SnapshotType` - parameter must also be specified. - """ - snapshot_type: str | None = ... - """ - The type of snapshots to be returned. You can specify one of the - following values: - - - `automated` - Return all DB snapshots that have been automatically - taken by Amazon RDS for my Amazon Web Services account. - - - `manual` - Return all DB snapshots that have been taken by my Amazon - Web Services account. - - - `shared` - Return all manual DB snapshots that have been shared to my - Amazon Web Services account. - - - `public` - Return all DB snapshots that have been marked as public. - - - `awsbackup` - Return the DB snapshots managed by the Amazon Web - Services Backup service. - - For information about Amazon Web Services Backup, see the [*Amazon Web - Services Backup Developer - Guide.*](https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html) - - The `awsbackup` type does not apply to Aurora. - - If you don't specify a `SnapshotType` value, then both automated and - manual snapshots are returned. Shared and public DB snapshots are not - included in the returned results by default. You can include shared - snapshots with these results by enabling the `IncludeShared` parameter. - You can include public snapshots with these results by enabling the - `IncludePublic` parameter. - - The `IncludeShared` and `IncludePublic` parameters don't apply for - `SnapshotType` values of `manual` or `automated`. The `IncludePublic` - parameter doesn't apply when `SnapshotType` is set to `shared`. The - `IncludeShared` parameter doesn't apply when `SnapshotType` is set to - `public`. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more DB snapshots to describe. - - Supported filters: - - - `db-instance-id` - Accepts DB instance identifiers and DB instance - Amazon Resource Names (ARNs). - - - `db-snapshot-id` - Accepts DB snapshot identifiers. - - - `dbi-resource-id` - Accepts identifiers of source DB instances. - - - `snapshot-type` - Accepts types of DB snapshots. - - - `engine` - Accepts names of database engines. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBSnapshots` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - include_shared: bool | None = ... - """ - Specifies whether to include shared manual DB cluster snapshots from - other Amazon Web Services accounts that this Amazon Web Services account - has been given permission to copy or restore. By default, these - snapshots are not included. - - You can give an Amazon Web Services account permission to restore a - manual DB snapshot from another Amazon Web Services account by using the - `ModifyDBSnapshotAttribute` API action. - - This setting doesn't apply to RDS Custom. - """ - include_public: bool | None = ... - """ - Specifies whether to include manual DB cluster snapshots that are public - and can be copied or restored by any Amazon Web Services account. By - default, the public snapshots are not included. - - You can share a manual DB snapshot as public by using the - ModifyDBSnapshotAttribute API. - - This setting doesn't apply to RDS Custom. - """ - dbi_resource_id: str | None = ... - """A specific DB resource ID to describe.""" - -@dataclass(kw_only=True) -class DescribeDBSnapshotsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBSnapshots` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - db_snapshots: list[DBSnapshot] | None = ... - """A list of `DBSnapshot` instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBSnapshotTenantDatabasesInput(_SerdeShape): - """Dataclass for DescribeDBSnapshotTenantDatabasesInput structure.""" - - db_instance_identifier: str | None = ... - """ - The ID of the DB instance used to create the DB snapshots. This - parameter isn't case-sensitive. - - Constraints: - - - If supplied, must match the identifier of an existing `DBInstance`. - """ - db_snapshot_identifier: str | None = ... - """ - The ID of a DB snapshot that contains the tenant databases to describe. - This value is stored as a lowercase string. - - Constraints: - - - If you specify this parameter, the value must match the ID of an - existing DB snapshot. - - - If you specify an automatic snapshot, you must also specify - `SnapshotType`. - """ - snapshot_type: str | None = ... - """ - The type of DB snapshots to be returned. You can specify one of the - following values: - - - `automated` -- All DB snapshots that have been automatically taken by - Amazon RDS for my Amazon Web Services account. - - - `manual` -- All DB snapshots that have been taken by my Amazon Web - Services account. - - - `shared` -- All manual DB snapshots that have been shared to my Amazon - Web Services account. - - - `public` -- All DB snapshots that have been marked as public. - - - `awsbackup` -- All DB snapshots managed by the Amazon Web Services - Backup service. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more tenant databases to describe. - - Supported filters: - - - `tenant-db-name` - Tenant database names. The results list only - includes information about the tenant databases that match these - tenant DB names. - - - `tenant-database-resource-id` - Tenant database resource identifiers. - The results list only includes information about the tenant databases - contained within the DB snapshots. - - - `dbi-resource-id` - DB instance resource identifiers. The results list - only includes information about snapshots containing tenant databases - contained within the DB instances identified by these resource - identifiers. - - - `db-instance-id` - Accepts DB instance identifiers and DB instance - Amazon Resource Names (ARNs). - - - `db-snapshot-id` - Accepts DB snapshot identifiers. - - - `snapshot-type` - Accepts types of DB snapshots. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeDBSnapshotTenantDatabases` request. If this parameter is - specified, the response includes only records beyond the marker, up to - the value specified by `MaxRecords`. - """ - dbi_resource_id: str | None = ... - """A specific DB resource identifier to describe.""" - -@dataclass(kw_only=True) -class DescribeDBSnapshotTenantDatabasesOutput(_SerdeShape): - """Dataclass for DescribeDBSnapshotTenantDatabasesOutput structure.""" - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - db_snapshot_tenant_databases: list[DBSnapshotTenantDatabase] | None = ... - """A list of DB snapshot tenant databases.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeDBSubnetGroupsInput(_SerdeShape): - """""" - - db_subnet_group_name: str | None = ... - """The name of the DB subnet group to return details for.""" - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - DescribeDBSubnetGroups request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeDBSubnetGroupsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeDBSubnetGroups` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - db_subnet_groups: list[DBSubnetGroup] | None = ... - """A list of `DBSubnetGroup` instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeEngineDefaultClusterParametersInput(_SerdeShape): - """""" - - db_parameter_group_family: str | None = ... - """ - The name of the DB cluster parameter group family to return engine - parameter information for. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeEngineDefaultClusterParameters` request. If this parameter is - specified, the response includes only records beyond the marker, up to - the value specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeEngineDefaultClusterParametersOutput(_SerdeShape): - """Dataclass for DescribeEngineDefaultClusterParametersOutput structure.""" - - engine_defaults: EngineDefaults | None = ... - """ - Contains the result of a successful invocation of the - `DescribeEngineDefaultParameters` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeEngineDefaultParametersInput(_SerdeShape): - """""" - - db_parameter_group_family: str | None = ... - """ - The name of the DB parameter group family. - - Valid Values: - - - `aurora-mysql5.7` - - - `aurora-mysql8.0` - - - `aurora-postgresql10` - - - `aurora-postgresql11` - - - `aurora-postgresql12` - - - `aurora-postgresql13` - - - `aurora-postgresql14` - - - `custom-oracle-ee-19` - - - `custom-oracle-ee-cdb-19` - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb10.2` - - - `mariadb10.3` - - - `mariadb10.4` - - - `mariadb10.5` - - - `mariadb10.6` - - - `mysql5.7` - - - `mysql8.0` - - - `oracle-ee-19` - - - `oracle-ee-cdb-19` - - - `oracle-ee-cdb-21` - - - `oracle-se2-19` - - - `oracle-se2-cdb-19` - - - `oracle-se2-cdb-21` - - - `postgres10` - - - `postgres11` - - - `postgres12` - - - `postgres13` - - - `postgres14` - - - `sqlserver-ee-11.0` - - - `sqlserver-ee-12.0` - - - `sqlserver-ee-13.0` - - - `sqlserver-ee-14.0` - - - `sqlserver-ee-15.0` - - - `sqlserver-ex-11.0` - - - `sqlserver-ex-12.0` - - - `sqlserver-ex-13.0` - - - `sqlserver-ex-14.0` - - - `sqlserver-ex-15.0` - - - `sqlserver-se-11.0` - - - `sqlserver-se-12.0` - - - `sqlserver-se-13.0` - - - `sqlserver-se-14.0` - - - `sqlserver-se-15.0` - - - `sqlserver-web-11.0` - - - `sqlserver-web-12.0` - - - `sqlserver-web-13.0` - - - `sqlserver-web-14.0` - - - `sqlserver-web-15.0` - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more parameters to describe. - - The only supported filter is `parameter-name`. The results list only - includes information about the parameters with these names. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeEngineDefaultParameters` request. If this parameter is - specified, the response includes only records beyond the marker, up to - the value specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeEngineDefaultParametersOutput(_SerdeShape): - """Dataclass for DescribeEngineDefaultParametersOutput structure.""" - - engine_defaults: EngineDefaults | None = ... - """ - Contains the result of a successful invocation of the - `DescribeEngineDefaultParameters` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeEventCategoriesInput(_SerdeShape): - """""" - - source_type: str | None = ... - """ - The type of source that is generating the events. For RDS Proxy events, - specify `db-proxy`. - - Valid Values: `db-instance` | `db-cluster` | `db-parameter-group` | - `db-security-group` | `db-snapshot` | `db-cluster-snapshot` | - `db-proxy` - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - -@dataclass(kw_only=True) -class DescribeEventCategoriesOutput(_SerdeShape): - """Data returned from the `DescribeEventCategories` operation.""" - - event_categories_map_list: list[EventCategoriesMap] | None = ... - """A list of `EventCategoriesMap` data types.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeEventsInput(_SerdeShape): - """""" - - source_identifier: str | None = ... - """ - The identifier of the event source for which events are returned. If not - specified, then all sources are included in the response. - - Constraints: - - - If `SourceIdentifier` is supplied, `SourceType` must also be provided. - - - If the source type is a DB instance, a `DBInstanceIdentifier` value - must be supplied. - - - If the source type is a DB cluster, a `DBClusterIdentifier` value must - be supplied. - - - If the source type is a DB parameter group, a `DBParameterGroupName` - value must be supplied. - - - If the source type is a DB security group, a `DBSecurityGroupName` - value must be supplied. - - - If the source type is a DB snapshot, a `DBSnapshotIdentifier` value - must be supplied. - - - If the source type is a DB cluster snapshot, a - `DBClusterSnapshotIdentifier` value must be supplied. - - - If the source type is an RDS Proxy, a `DBProxyName` value must be - supplied. - - - Can't end with a hyphen or contain two consecutive hyphens. - """ - source_type: str | None = ... - """ - The event source to retrieve events for. If no value is specified, all - events are returned. - """ - start_time: datetime | None = ... - """ - The beginning of the time interval to retrieve events for, specified in - ISO 8601 format. For more information about ISO 8601, go to the [ISO8601 - Wikipedia page.](http://en.wikipedia.org/wiki/ISO_8601) - - Example: 2009-07-08T18:00Z - """ - end_time: datetime | None = ... - """ - The end of the time interval for which to retrieve events, specified in - ISO 8601 format. For more information about ISO 8601, go to the [ISO8601 - Wikipedia page.](http://en.wikipedia.org/wiki/ISO_8601) - - Example: 2009-07-08T18:00Z - """ - duration: int | None = ... - """ - The number of minutes to retrieve events for. - - Default: 60 - """ - event_categories: list[str] | None = ... - """ - A list of event categories that trigger notifications for a event - notification subscription. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous DescribeEvents - request. If this parameter is specified, the response includes only - records beyond the marker, up to the value specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeEventsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the `DescribeEvents` - action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous Events request. If - this parameter is specified, the response includes only records beyond - the marker, up to the value specified by `MaxRecords`. - """ - events: list[Event] | None = ... - """A list of `Event` instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeEventSubscriptionsInput(_SerdeShape): - """""" - - subscription_name: str | None = ... - """ - The name of the RDS event notification subscription you want to - describe. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - DescribeOrderableDBInstanceOptions request. If this parameter is - specified, the response includes only records beyond the marker, up to - the value specified by `MaxRecords` . - """ - -@dataclass(kw_only=True) -class DescribeEventSubscriptionsOutput(_SerdeShape): - """Data returned by the **DescribeEventSubscriptions** action.""" - - marker: str | None = ... - """ - An optional pagination token provided by a previous - DescribeOrderableDBInstanceOptions request. If this parameter is - specified, the response includes only records beyond the marker, up to - the value specified by `MaxRecords`. - """ - event_subscriptions_list: list[EventSubscription] | None = ... - """A list of EventSubscriptions data types.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeExportTasksInput(_SerdeShape): - """Dataclass for DescribeExportTasksInput structure.""" - - export_task_identifier: str | None = ... - """The identifier of the snapshot or cluster export task to be described.""" - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the snapshot or cluster exported to - Amazon S3. - """ - filters: list[Filter] | None = ... - """ - Filters specify one or more snapshot or cluster exports to describe. The - filters are specified as name-value pairs that define what to include in - the output. Filter names and values are case-sensitive. - - Supported filters include the following: - - - `export-task-identifier` - An identifier for the snapshot or cluster - export task. - - - `s3-bucket` - The Amazon S3 bucket the data is exported to. - - - `source-arn` - The Amazon Resource Name (ARN) of the snapshot or - cluster exported to Amazon S3. - - - `status` - The status of the export task. Must be lowercase. Valid - statuses are the following: - - - `canceled` - - - `canceling` - - - `complete` - - - `failed` - - - `in_progress` - - - `starting` - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeExportTasks` request. If you specify this parameter, the - response includes only records beyond the marker, up to the value - specified by the `MaxRecords` parameter. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified value, a pagination token called a - marker is included in the response. You can use the marker in a later - `DescribeExportTasks` request to retrieve the remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - source_type: str | None = ... - """The type of source for the export.""" - -@dataclass(kw_only=True) -class DescribeExportTasksOutput(_SerdeShape): - """Dataclass for DescribeExportTasksOutput structure.""" - - marker: str | None = ... - """ - A pagination token that can be used in a later `DescribeExportTasks` - request. A marker is used for pagination to identify the location to - begin output for the next response of `DescribeExportTasks`. - """ - export_tasks: list[ExportTask] | None = ... - """Information about an export of a snapshot or cluster to Amazon S3.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeGlobalClustersInput(_SerdeShape): - """Dataclass for DescribeGlobalClustersInput structure.""" - - global_cluster_identifier: str | None = ... - """ - The user-supplied DB cluster identifier. If this parameter is specified, - information from only the specific DB cluster is returned. This - parameter isn't case-sensitive. - - Constraints: - - - If supplied, must match an existing DBClusterIdentifier. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more global database clusters to - describe. This parameter is case-sensitive. - - Currently, the only supported filter is `region`. - - If used, the request returns information about any global cluster with - at least one member (primary or secondary) in the specified Amazon Web - Services Regions. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeGlobalClusters` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeGlobalClustersOutput(_SerdeShape): - """Dataclass for DescribeGlobalClustersOutput structure.""" - - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeGlobalClusters` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - global_clusters: list[GlobalCluster] | None = ... - """The list of global clusters returned by this request.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeIntegrationsInput(_SerdeShape): - """Dataclass for DescribeIntegrationsInput structure.""" - - integration_identifier: str | None = ... - """The unique identifier of the integration.""" - filters: list[Filter] | None = ... - """A filter that specifies one or more resources to return.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeIntegrations` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeIntegrationsOutput(_SerdeShape): - """Dataclass for DescribeIntegrationsOutput structure.""" - - marker: str | None = ... - """ - A pagination token that can be used in a later `DescribeIntegrations` - request. - """ - integrations: list[Integration] | None = ... - """A list of integrations.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeOptionGroupOptionsInput(_SerdeShape): - """""" - - engine_name: str | None = ... - """ - The name of the engine to describe options for. - - Valid Values: - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - """ - major_engine_version: str | None = ... - """ - If specified, filters the results to include only options for the - specified major engine version. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeOptionGroupOptionsOutput(_SerdeShape): - """""" - - option_group_options: list[OptionGroupOption] | None = ... - """List of available option group options.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeOptionGroupsInput(_SerdeShape): - """""" - - option_group_name: str | None = ... - """ - The name of the option group to describe. Can't be supplied together - with EngineName or MajorEngineVersion. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous DescribeOptionGroups - request. If this parameter is specified, the response includes only - records beyond the marker, up to the value specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - engine_name: str | None = ... - """ - A filter to only include option groups associated with this database - engine. - - Valid Values: - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - """ - major_engine_version: str | None = ... - """ - Filters the list of option groups to only include groups associated with - a specific database engine version. If specified, then EngineName must - also be specified. - """ - -@dataclass(kw_only=True) -class DescribeOptionGroupsOutput(_SerdeShape): - """List of option groups.""" - - option_groups_list: list[OptionGroup] | None = ... - """List of option groups.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeOrderableDBInstanceOptionsInput(_SerdeShape): - """""" - - engine: str | None = ... - """ - The name of the database engine to describe DB instance options for. - - Valid Values: - - - `aurora-mysql` - - - `aurora-postgresql` - - - `custom-oracle-ee` - - - `custom-oracle-ee-cdb` - - - `custom-oracle-se2` - - - `custom-oracle-se2-cdb` - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - """ - engine_version: str | None = ... - """ - A filter to include only the available options for the specified engine - version. - """ - db_instance_class: str | None = ... - """ - A filter to include only the available options for the specified DB - instance class. - """ - license_model: str | None = ... - """ - A filter to include only the available options for the specified license - model. - - RDS Custom supports only the BYOL licensing model. - """ - availability_zone_group: str | None = ... - """ - The Availability Zone group associated with a Local Zone. Specify this - parameter to retrieve available options for the Local Zones in the - group. - - Omit this parameter to show the available options in the specified - Amazon Web Services Region. - - This setting doesn't apply to RDS Custom DB instances. - """ - vpc: bool | None = ... - """ - Specifies whether to show only VPC or non-VPC offerings. RDS Custom - supports only VPC offerings. - - RDS Custom supports only VPC offerings. If you describe non-VPC - offerings for RDS Custom, the output shows VPC offerings. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 1000. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - DescribeOrderableDBInstanceOptions request. If this parameter is - specified, the response includes only records beyond the marker, up to - the value specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeOrderableDBInstanceOptionsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeOrderableDBInstanceOptions` action. - """ - - orderable_db_instance_options: list[OrderableDBInstanceOption] | None = ... - """ - An `OrderableDBInstanceOption` structure containing information about - orderable options for the DB instance. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - OrderableDBInstanceOptions request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribePendingMaintenanceActionsInput(_SerdeShape): - """""" - - resource_identifier: str | None = ... - """The ARN of a resource to return pending maintenance actions for.""" - filters: list[Filter] | None = ... - """ - A filter that specifies one or more resources to return pending - maintenance actions for. - - Supported filters: - - - `db-cluster-id` - Accepts DB cluster identifiers and DB cluster Amazon - Resource Names (ARNs). The results list only includes pending - maintenance actions for the DB clusters identified by these ARNs. - - - `db-instance-id` - Accepts DB instance identifiers and DB instance - ARNs. The results list only includes pending maintenance actions for - the DB instances identified by these ARNs. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribePendingMaintenanceActions` request. If this parameter is - specified, the response includes only records beyond the marker, up to a - number of records specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - -@dataclass(kw_only=True) -class DescribePendingMaintenanceActionsOutput(_SerdeShape): - """Data returned from the **DescribePendingMaintenanceActions** action.""" - - pending_maintenance_actions: list[ResourcePendingMaintenanceActions] | None = ... - """A list of the pending maintenance actions for the resource.""" - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribePendingMaintenanceActions` request. If this parameter is - specified, the response includes only records beyond the marker, up to a - number of records specified by `MaxRecords`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeReservedDBInstancesInput(_SerdeShape): - """""" - - reserved_db_instance_id: str | None = ... - """ - The reserved DB instance identifier filter value. Specify this parameter - to show only the reservation that matches the specified reservation ID. - """ - reserved_db_instances_offering_id: str | None = ... - """ - The offering identifier filter value. Specify this parameter to show - only purchased reservations matching the specified offering identifier. - """ - db_instance_class: str | None = ... - """ - The DB instance class filter value. Specify this parameter to show only - those reservations matching the specified DB instances class. - """ - duration: str | None = ... - """ - The duration filter value, specified in years or seconds. Specify this - parameter to show only reservations for this duration. - - Valid Values: `1 | 3 | 31536000 | 94608000` - """ - product_description: str | None = ... - """ - The product description filter value. Specify this parameter to show - only those reservations matching the specified product description. - """ - offering_type: str | None = ... - """ - The offering type filter value. Specify this parameter to show only the - available offerings matching the specified offering type. - - Valid Values: `"Partial Upfront" | "All Upfront" | "No Upfront" ` - """ - multi_az: bool | None = ... - """Specifies whether to show only those reservations that support Multi-AZ.""" - lease_id: str | None = ... - """ - The lease identifier filter value. Specify this parameter to show only - the reservation that matches the specified lease ID. - - Note: - Amazon Web Services Support might request the lease ID for an issue - related to a reserved DB instance. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more than - the `MaxRecords` value is available, a pagination token called a marker - is included in the response so you can retrieve the remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeReservedDBInstancesOfferingsInput(_SerdeShape): - """""" - - reserved_db_instances_offering_id: str | None = ... - """ - The offering identifier filter value. Specify this parameter to show - only the available offering that matches the specified reservation - identifier. - - Example: `438012d3-4052-4cc7-b2e3-8d3372e0e706` - """ - db_instance_class: str | None = ... - """ - The DB instance class filter value. Specify this parameter to show only - the available offerings matching the specified DB instance class. - """ - duration: str | None = ... - """ - Duration filter value, specified in years or seconds. Specify this - parameter to show only reservations for this duration. - - Valid Values: `1 | 3 | 31536000 | 94608000` - """ - product_description: str | None = ... - """ - Product description filter value. Specify this parameter to show only - the available offerings that contain the specified product description. - - Note: - The results show offerings that partially match the filter value. - """ - offering_type: str | None = ... - """ - The offering type filter value. Specify this parameter to show only the - available offerings matching the specified offering type. - - Valid Values: `"Partial Upfront" | "All Upfront" | "No Upfront" ` - """ - multi_az: bool | None = ... - """Specifies whether to show only those reservations that support Multi-AZ.""" - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more than - the `MaxRecords` value is available, a pagination token called a marker - is included in the response so you can retrieve the remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeReservedDBInstancesOfferingsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeReservedDBInstancesOfferings` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - reserved_db_instances_offerings: list[ReservedDBInstancesOffering] | None = ... - """A list of reserved DB instance offerings.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeReservedDBInstancesOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeReservedDBInstances` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - reserved_db_instances: list[ReservedDBInstance] | None = ... - """A list of reserved DB instances.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeServerlessV2PlatformVersionsInput(_SerdeShape): - """""" - - serverless_v2_platform_version: str | None = ... - """ - A specific platform version to return details for. - - Example: `3` - """ - engine: str | None = ... - """ - The database engine to return platform version details for. - - Valid Values: - - - `aurora-mysql` - - - `aurora-postgresql` - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - default_only: bool | None = ... - """ - Specifies whether to return only the default platform versions for each - engine. The default platform version is the version used for new DB - clusters. - """ - include_all: bool | None = ... - """ - Specifies whether to also include platform versions which are no longer - in use. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more than - the `MaxRecords` value is available, a pagination token called a marker - is included in the response so you can retrieve the remaining results. - - Default: 20 - - Constraints: Minimum 1, maximum 200. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - -@dataclass(kw_only=True) -class DescribeServerlessV2PlatformVersionsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeServerlessV2PlatformVersions` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - serverless_v2_platform_versions: list[ServerlessV2PlatformVersionInfo] | None = ... - """A list of `ServerlessV2PlatformVersionInfo` elements.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeSourceRegionsInput(_SerdeShape): - """""" - - region_name: str | None = ... - """ - The source Amazon Web Services Region name. For example, `us-east-1`. - - Constraints: - - - Must specify a valid Amazon Web Services Region name. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so you can retrieve the - remaining results. - - Default: 100 - - Constraints: Minimum 20, maximum 100. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeSourceRegions` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - -@dataclass(kw_only=True) -class DescribeSourceRegionsOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeSourceRegions` action. - """ - - marker: str | None = ... - """ - An optional pagination token provided by a previous request. If this - parameter is specified, the response includes only records beyond the - marker, up to the value specified by `MaxRecords`. - """ - source_regions: list[SourceRegion] | None = ... - """ - A list of `SourceRegion` instances that contains each source Amazon Web - Services Region that the current Amazon Web Services Region can get a - read replica or a DB snapshot from. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeTenantDatabasesInput(_SerdeShape): - """Dataclass for DescribeTenantDatabasesInput structure.""" - - db_instance_identifier: str | None = ... - """ - The user-supplied DB instance identifier, which must match the - identifier of an existing instance owned by the Amazon Web Services - account. This parameter isn't case-sensitive. - """ - tenant_db_name: str | None = ... - """ - The user-supplied tenant database name, which must match the name of an - existing tenant database on the specified DB instance owned by your - Amazon Web Services account. This parameter isn't case-sensitive. - """ - filters: list[Filter] | None = ... - """ - A filter that specifies one or more database tenants to describe. - - Supported filters: - - - `tenant-db-name` - Tenant database names. The results list only - includes information about the tenant databases that match these - tenant DB names. - - - `tenant-database-resource-id` - Tenant database resource identifiers. - - - `dbi-resource-id` - DB instance resource identifiers. The results list - only includes information about the tenants contained within the DB - instances identified by these resource identifiers. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeTenantDatabases` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - max_records: int | None = ... - """ - The maximum number of records to include in the response. If more - records exist than the specified `MaxRecords` value, a pagination token - called a marker is included in the response so that you can retrieve the - remaining results. - """ - -@dataclass(kw_only=True) -class DescribeTenantDatabasesOutput(_SerdeShape): - """Dataclass for DescribeTenantDatabasesOutput structure.""" - - marker: str | None = ... - """ - An optional pagination token provided by a previous - `DescribeTenantDatabases` request. If this parameter is specified, the - response includes only records beyond the marker, up to the value - specified by `MaxRecords`. - """ - tenant_databases: list[TenantDatabase] | None = ... - """ - An array of the tenant databases requested by the - `DescribeTenantDatabases` operation. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DescribeValidDBInstanceModificationsInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """The customer identifier or the ARN of your DB instance.""" - -@dataclass(kw_only=True) -class DescribeValidDBInstanceModificationsOutput(_SerdeShape): - """Dataclass for DescribeValidDBInstanceModificationsOutput structure.""" - - valid_db_instance_modifications_message: ( - ValidDBInstanceModificationsMessage | None - ) = ... - """ - Information about valid modifications that you can make to your DB - instance. Contains the result of a successful call to the - `DescribeValidDBInstanceModifications` action. You can use this - information when you call `ModifyDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DisableHttpEndpointInput(_SerdeShape): - """Dataclass for DisableHttpEndpointInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the DB cluster.""" - -@dataclass(kw_only=True) -class DisableHttpEndpointOutput(_SerdeShape): - """Dataclass for DisableHttpEndpointOutput structure.""" - - resource_arn: str | None = ... - """The ARN of the DB cluster.""" - http_endpoint_enabled: bool | None = ... - """ - Indicates whether the HTTP endpoint is enabled or disabled for the DB - cluster. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DocLink(_SerdeShape): - """ - A link to documentation that provides additional information for a - recommendation. - """ - - text: str | None = ... - """The text with the link to documentation for the recommendation.""" - url: str | None = ... - """The URL for the documentation for the recommendation.""" - -@dataclass(kw_only=True) -class DomainMembership(_SerdeShape): - """ - An Active Directory Domain membership record associated with the DB - instance or cluster. - """ - - domain: str | None = ... - """The identifier of the Active Directory Domain.""" - status: str | None = ... - """ - The status of the Active Directory Domain membership for the DB instance - or cluster. Values include `joined`, `pending-join`, `failed`, and so - on. - """ - fqdn: str | None = ... - """The fully qualified domain name (FQDN) of the Active Directory Domain.""" - iam_role_name: str | None = ... - """ - The name of the IAM role used when making API calls to the Directory - Service. - """ - ou: str | None = ... - """The Active Directory organizational unit for the DB instance or cluster.""" - auth_secret_arn: str | None = ... - """ - The ARN for the Secrets Manager secret with the credentials for the user - that's a member of the domain. - """ - dns_ips: list[str] | None = ... - """ - The IPv4 DNS IP addresses of the primary and secondary Active Directory - domain controllers. - """ - -@dataclass(kw_only=True) -class DomainNotFoundFault(ServiceError, _SerdeShape): - """`Domain` doesn't refer to an existing Active Directory domain.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DoubleRange(_SerdeShape): - """A range of double values.""" - - from_: float | None = ... - """The minimum value in the range.""" - to: float | None = ... - """The maximum value in the range.""" - -@dataclass(kw_only=True) -class DownloadDBLogFilePortionInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The customer-assigned name of the DB instance that contains the log - files you want to list. - - Constraints: - - - Must match the identifier of an existing DBInstance. - """ - log_file_name: str | None = ... - """The name of the log file to be downloaded.""" - marker: str | None = ... - """ - The pagination token provided in the previous request or \"0\". If the - Marker parameter is specified the response includes only records beyond - the marker until the end of the file or up to NumberOfLines. - """ - number_of_lines: int | None = ... - """ - The number of lines to download. If the number of lines specified - results in a file over 1 MB in size, the file is truncated at 1 MB in - size. - - If the NumberOfLines parameter is specified, then the block of lines - returned can be from the beginning or the end of the log file, depending - on the value of the Marker parameter. - - - If neither Marker or NumberOfLines are specified, the entire log file - is returned up to a maximum of 10000 lines, starting with the most - recent log entries first. - - - If NumberOfLines is specified and Marker isn't specified, then the - most recent lines from the end of the log file are returned. - - - If Marker is specified as \"0\", then the specified number of lines - from the beginning of the log file are returned. - - - You can download the log file in blocks of lines by specifying the - size of the block using the NumberOfLines parameter, and by specifying - a value of \"0\" for the Marker parameter in your first request. - Include the Marker value returned in the response as the Marker value - for the next request, continuing until the AdditionalDataPending - response element returns false. - """ - -@dataclass(kw_only=True) -class DownloadDBLogFilePortionOutput(_SerdeShape): - """ - This data type is used as a response element to - `DownloadDBLogFilePortion`. - """ - - log_file_data: str | None = ... - """Entries from the specified log file.""" - marker: str | None = ... - """ - A pagination token that can be used in a later - `DownloadDBLogFilePortion` request. - """ - additional_data_pending: bool | None = ... - """ - A Boolean value that, if true, indicates there is more data to be - downloaded. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Ec2ImagePropertiesNotSupportedFault(ServiceError, _SerdeShape): - """The AMI configuration prerequisite has not been met.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EC2SecurityGroup(_SerdeShape): - """ - This data type is used as a response element in the following actions: - - - `AuthorizeDBSecurityGroupIngress` - - - `DescribeDBSecurityGroups` - - - `RevokeDBSecurityGroupIngress` - """ - - status: str | None = ... - """ - Provides the status of the EC2 security group. Status can be - \"authorizing\", \"authorized\", \"revoking\", and \"revoked\". - """ - ec2_security_group_name: str | None = ... - """Specifies the name of the EC2 security group.""" - ec2_security_group_id: str | None = ... - """Specifies the id of the EC2 security group.""" - ec2_security_group_owner_id: str | None = ... - """ - Specifies the Amazon Web Services ID of the owner of the EC2 security - group specified in the `EC2SecurityGroupName` field. - """ - -@dataclass(kw_only=True) -class EnableHttpEndpointInput(_SerdeShape): - """Dataclass for EnableHttpEndpointInput structure.""" - - resource_arn: str | None = ... - """The Amazon Resource Name (ARN) of the DB cluster.""" - -@dataclass(kw_only=True) -class EnableHttpEndpointOutput(_SerdeShape): - """Dataclass for EnableHttpEndpointOutput structure.""" - - resource_arn: str | None = ... - """The ARN of the DB cluster.""" - http_endpoint_enabled: bool | None = ... - """ - Indicates whether the HTTP endpoint is enabled or disabled for the DB - cluster. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class EndDateType(UnknownEnumMixin, StrEnum): - UNLIMITED = "unlimited" - LIMITED = "limited" - -@dataclass(kw_only=True) -class Endpoint(_SerdeShape): - """ - This data type represents the information you need to connect to an - Amazon RDS DB instance. This data type is used as a response element in - the following actions: - - - `CreateDBInstance` - - - `DescribeDBInstances` - - - `DeleteDBInstance` - - For the data structure that represents Amazon Aurora DB cluster - endpoints, see `DBClusterEndpoint`. - """ - - address: str | None = ... - """Specifies the DNS address of the DB instance.""" - port: int | None = ... - """Specifies the port that the database engine is listening on.""" - hosted_zone_id: str | None = ... - """ - Specifies the ID that Amazon Route 53 assigns when you create a hosted - zone. - """ - -class EndpointNetworkType(UnknownEnumMixin, StrEnum): - IPV4 = "IPV4" - IPV6 = "IPV6" - DUAL = "DUAL" - -@dataclass(kw_only=True) -class EngineDefaults(_SerdeShape): - """ - Contains the result of a successful invocation of the - `DescribeEngineDefaultParameters` action. - """ - - db_parameter_group_family: str | None = ... - """ - Specifies the name of the DB parameter group family that the engine - default parameters apply to. - """ - marker: str | None = ... - """ - An optional pagination token provided by a previous EngineDefaults - request. If this parameter is specified, the response includes only - records beyond the marker, up to the value specified by `MaxRecords` . - """ - parameters: list[Parameter] | None = ... - """Contains a list of engine default parameters.""" - -class EngineFamily(UnknownEnumMixin, StrEnum): - MYSQL = "MYSQL" - POSTGRESQL = "POSTGRESQL" - SQLSERVER = "SQLSERVER" - -@dataclass(kw_only=True) -class Event(_SerdeShape): - """ - This data type is used as a response element in the - [DescribeEvents](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEvents.html) - action. - """ - - source_identifier: str | None = ... - """Provides the identifier for the source of the event.""" - source_type: str | None = ... - """Specifies the source type for this event.""" - message: str | None = ... - """Provides the text of this event.""" - event_categories: list[str] | None = ... - """Specifies the category for the event.""" - date: datetime | None = ... - """Specifies the date and time of the event.""" - source_arn: str | None = ... - """The Amazon Resource Name (ARN) for the event.""" - -@dataclass(kw_only=True) -class EventCategoriesMap(_SerdeShape): - """ - Contains the results of a successful invocation of the - [DescribeEventCategories](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEventCategories.html) - operation. - """ - - source_type: str | None = ... - """The source type that the returned categories belong to""" - event_categories: list[str] | None = ... - """The event categories for the specified source type""" - -@dataclass(kw_only=True) -class EventSubscription(_SerdeShape): - """ - Contains the results of a successful invocation of the - `DescribeEventSubscriptions` action. - """ - - customer_aws_id: str | None = ... - """ - The Amazon Web Services customer account associated with the RDS event - notification subscription. - """ - cust_subscription_id: str | None = ... - """The RDS event notification subscription Id.""" - sns_topic_arn: str | None = ... - """The topic ARN of the RDS event notification subscription.""" - status: str | None = ... - """ - The status of the RDS event notification subscription. - - Constraints: - - Can be one of the following: creating | modifying | deleting | active - | no-permission | topic-not-exist - - The status \"no-permission\" indicates that RDS no longer has permission - to post to the SNS topic. The status \"topic-not-exist\" indicates that - the topic was deleted after the subscription was created. - """ - subscription_creation_time: str | None = ... - """The time the RDS event notification subscription was created.""" - source_type: str | None = ... - """The source type for the RDS event notification subscription.""" - source_ids_list: list[str] | None = ... - """A list of source IDs for the RDS event notification subscription.""" - event_categories_list: list[str] | None = ... - """A list of event categories for the RDS event notification subscription.""" - enabled: bool | None = ... - """ - Specifies whether the subscription is enabled. True indicates the - subscription is enabled. - """ - event_subscription_arn: str | None = ... - """The Amazon Resource Name (ARN) for the event subscription.""" - -@dataclass(kw_only=True) -class EventSubscriptionQuotaExceededFault(ServiceError, _SerdeShape): - """You have reached the maximum number of event subscriptions.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ExportSourceType(UnknownEnumMixin, StrEnum): - SNAPSHOT = "SNAPSHOT" - CLUSTER = "CLUSTER" - -@dataclass(kw_only=True) -class ExportTask(_SerdeShape): - """ - Contains the details of a snapshot or cluster export to Amazon S3. - - This data type is used as a response element in the - `DescribeExportTasks` operation. - """ - - export_task_identifier: str | None = ... - """ - A unique identifier for the snapshot or cluster export task. This ID - isn't an identifier for the Amazon S3 bucket where the data is - exported. - """ - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the snapshot or cluster exported to - Amazon S3. - """ - export_only: list[str] | None = ... - """ - The data exported from the snapshot or cluster. - - Valid Values: - - - `database` - Export all the data from a specified database. - - - `database.table` *table-name* - Export a table of the snapshot or - cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, - and Aurora MySQL. - - - `database.schema` *schema-name* - Export a database schema of the - snapshot or cluster. This format is valid only for RDS for PostgreSQL - and Aurora PostgreSQL. - - - `database.schema.table` *table-name* - Export a table of the database - schema. This format is valid only for RDS for PostgreSQL and Aurora - PostgreSQL. - """ - snapshot_time: datetime | None = ... - """The time when the snapshot was created.""" - task_start_time: datetime | None = ... - """The time when the snapshot or cluster export task started.""" - task_end_time: datetime | None = ... - """The time when the snapshot or cluster export task ended.""" - s3_bucket: str | None = ... - """The Amazon S3 bucket where the snapshot or cluster is exported to.""" - s3_prefix: str | None = ... - """ - The Amazon S3 bucket prefix that is the file name and path of the - exported data. - """ - iam_role_arn: str | None = ... - """ - The name of the IAM role that is used to write to Amazon S3 when - exporting a snapshot or cluster. - """ - kms_key_id: str | None = ... - """ - The key identifier of the Amazon Web Services KMS key that is used to - encrypt the data when it's exported to Amazon S3. The KMS key - identifier is its key ARN, key ID, alias ARN, or alias name. The IAM - role used for the export must have encryption and decryption permissions - to use this KMS key. - """ - status: str | None = ... - """ - The progress status of the export task. The status can be one of the - following: - - - `CANCELED` - - - `CANCELING` - - - `COMPLETE` - - - `FAILED` - - - `IN_PROGRESS` - - - `STARTING` - """ - percent_progress: int | None = ... - """The progress of the snapshot or cluster export task as a percentage.""" - total_extracted_data_in_gb: int | None = ... - """The total amount of data exported, in gigabytes.""" - failure_cause: str | None = ... - """The reason the export failed, if it failed.""" - warning_message: str | None = ... - """A warning about the snapshot or cluster export task.""" - source_type: str | None = ... - """The type of source for the export.""" - -@dataclass(kw_only=True) -class ExportTaskAlreadyExistsFault(ServiceError, _SerdeShape): - """You can't start an export task that's already running.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ExportTaskNotFoundFault(ServiceError, _SerdeShape): - """The export task doesn't exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FailoverDBClusterInput(_SerdeShape): - """""" - - db_cluster_identifier: str | None = ... - """ - The identifier of the DB cluster to force a failover for. This parameter - isn't case-sensitive. - - Constraints: - - - Must match the identifier of an existing DB cluster. - """ - target_db_instance_identifier: str | None = ... - """ - The name of the DB instance to promote to the primary DB instance. - - Specify the DB instance identifier for an Aurora Replica or a Multi-AZ - readable standby in the DB cluster, for example `mydbcluster-replica1`. - - This setting isn't supported for RDS for MySQL Multi-AZ DB clusters. - """ - -@dataclass(kw_only=True) -class FailoverDBClusterOutput(_SerdeShape): - """Dataclass for FailoverDBClusterOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FailoverGlobalClusterInput(_SerdeShape): - """Dataclass for FailoverGlobalClusterInput structure.""" - - global_cluster_identifier: str | None = ... - """ - The identifier of the global database cluster (Aurora global database) - this operation should apply to. The identifier is the unique key - assigned by the user when the Aurora global database is created. In - other words, it's the name of the Aurora global database. - - Constraints: - - - Must match the identifier of an existing global database cluster. - """ - target_db_cluster_identifier: str | None = ... - """ - The identifier of the secondary Aurora DB cluster that you want to - promote to the primary for the global database cluster. Use the Amazon - Resource Name (ARN) for the identifier so that Aurora can locate the - cluster in its Amazon Web Services Region. - """ - allow_data_loss: bool | None = ... - """ - Specifies whether to allow data loss for this global database cluster - operation. Allowing data loss triggers a global failover operation. - - If you don't specify `AllowDataLoss`, the global database cluster - operation defaults to a switchover. - - Constraints: - - - Can't be specified together with the `Switchover` parameter. - """ - switchover: bool | None = ... - """ - Specifies whether to switch over this global database cluster. - - Constraints: - - - Can't be specified together with the `AllowDataLoss` parameter. - """ - -@dataclass(kw_only=True) -class FailoverGlobalClusterOutput(_SerdeShape): - """Dataclass for FailoverGlobalClusterOutput structure.""" - - global_cluster: GlobalCluster | None = ... - """A data type representing an Aurora global database.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class FailoverState(_SerdeShape): - """ - Contains the state of scheduled or in-process operations on a global - cluster (Aurora global database). This data type is empty unless a - switchover or failover operation is scheduled or is in progress on the - Aurora global database. - """ - - status: str | None = ... - """ - The current status of the global cluster. Possible values are as - follows: - - - pending -- The service received a request to switch over or fail over - the global cluster. The global cluster's primary DB cluster and the - specified secondary DB cluster are being verified before the operation - starts. - - - failing-over -- Aurora is promoting the chosen secondary Aurora DB - cluster to become the new primary DB cluster to fail over the global - cluster. - - - cancelling -- The request to switch over or fail over the global - cluster was cancelled and the primary Aurora DB cluster and the - selected secondary Aurora DB cluster are returning to their previous - states. - - - switching-over -- This status covers the range of Aurora internal - operations that take place during the switchover process, such as - demoting the primary Aurora DB cluster, promoting the secondary Aurora - DB cluster, and synchronizing replicas. - """ - from_db_cluster_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Aurora DB cluster that is - currently being demoted, and which is associated with this state. - """ - to_db_cluster_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Aurora DB cluster that is - currently being promoted, and which is associated with this state. - """ - is_data_loss_allowed: bool | None = ... - """ - Indicates whether the operation is a global switchover or a global - failover. If data loss is allowed, then the operation is a global - failover. Otherwise, it's a switchover. - """ - -class FailoverStatus(UnknownEnumMixin, StrEnum): - PENDING = "pending" - FAILING_OVER = "failing-over" - CANCELLING = "cancelling" - -@dataclass(kw_only=True) -class Filter(_SerdeShape): - """ - A filter name and value pair that is used to return a more specific list - of results from a describe operation. Filters can be used to match a set - of resources by specific criteria, such as IDs. The filters supported by - a describe operation are documented with the describe operation. - - Note: - Currently, wildcards are not supported in filters. - - The following actions can be filtered: - - - `DescribeDBCapacityReservations` - - - `DescribeDBClusterBacktracks` - - - `DescribeDBClusterEndpoints` - - - `DescribeDBClusters` - - - `DescribeDBInstances` - - - `DescribeDBRecommendations` - - - `DescribeDBShardGroups` - - - `DescribePendingMaintenanceActions` - """ - - name: str | None = ... - """The name of the filter. Filter names are case-sensitive.""" - values: list[str] | None = ... - """One or more filter values. Filter values are case-sensitive.""" - -@dataclass(kw_only=True) -class GlobalCluster(_SerdeShape): - """A data type representing an Aurora global database.""" - - global_cluster_identifier: str | None = ... - """ - Contains a user-supplied global database cluster identifier. This - identifier is the unique key that identifies a global database cluster. - """ - global_cluster_resource_id: str | None = ... - """ - The Amazon Web Services - [partition](https://docs.aws.amazon.com/glossary/latest/reference/glos-chap.html?id=docs_gateway#partition)-unique, - immutable identifier for the global database cluster. This identifier is - found in Amazon Web Services CloudTrail log entries whenever the Amazon - Web Services KMS key for the DB cluster is accessed. - """ - global_cluster_arn: str | None = ... - """The Amazon Resource Name (ARN) for the global database cluster.""" - status: str | None = ... - """Specifies the current state of this global database cluster.""" - engine: str | None = ... - """The Aurora database engine used by the global database cluster.""" - engine_version: str | None = ... - """Indicates the database engine version.""" - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for the global cluster. - - For more information, see CreateGlobalCluster. - """ - database_name: str | None = ... - """The default database name within the new global database cluster.""" - storage_encrypted: bool | None = ... - """The storage encryption setting for the global database cluster.""" - storage_encryption_type: str | None = ... - """ - The type of encryption used to protect data at rest in the global - database cluster. Possible values: - - - `none` - The global database cluster is not encrypted. - - - `sse-rds` - The global database cluster is encrypted using an Amazon - Web Services owned KMS key. - - - `sse-kms` - The global database cluster is encrypted using a customer - managed KMS key or Amazon Web Services managed KMS key. - """ - deletion_protection: bool | None = ... - """The deletion protection setting for the new global database cluster.""" - global_cluster_members: list[GlobalClusterMember] | None = ... - """ - The list of primary and secondary clusters within the global database - cluster. - """ - endpoint: str | None = ... - """ - The writer endpoint for the new global database cluster. This endpoint - always points to the writer DB instance in the current primary cluster. - """ - failover_state: FailoverState | None = ... - """ - A data object containing all properties for the current state of an - in-process or pending switchover or failover process for this global - cluster (Aurora global database). This object is empty unless the - `SwitchoverGlobalCluster` or `FailoverGlobalCluster` operation was - called on this global cluster. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class GlobalClusterAlreadyExistsFault(ServiceError, _SerdeShape): - """ - The `GlobalClusterIdentifier` already exists. Specify a new global - database identifier (unique name) to create a new global database - cluster or to rename an existing one. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GlobalClusterMember(_SerdeShape): - """ - A data structure with information about any primary and secondary - clusters associated with a global cluster (Aurora global database). - """ - - db_cluster_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for each Aurora DB cluster in the global - cluster. - """ - readers: list[str] | None = ... - """ - The Amazon Resource Name (ARN) for each read-only secondary cluster - associated with the global cluster. - """ - is_writer: bool | None = ... - """ - Indicates whether the Aurora DB cluster is the primary cluster (that is, - has read-write capability) for the global cluster with which it is - associated. - """ - global_write_forwarding_status: str | None = ... - """ - The status of write forwarding for a secondary cluster in the global - cluster. - """ - synchronization_status: str | None = ... - """ - The status of synchronization of each Aurora DB cluster in the global - cluster. - """ - -class GlobalClusterMemberSynchronizationStatus(UnknownEnumMixin, StrEnum): - CONNECTED = "connected" - PENDING_RESYNC = "pending-resync" - -@dataclass(kw_only=True) -class GlobalClusterNotFoundFault(ServiceError, _SerdeShape): - """ - The `GlobalClusterIdentifier` doesn't refer to an existing global - database cluster. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GlobalClusterQuotaExceededFault(ServiceError, _SerdeShape): - """ - The number of global database clusters for this account is already at - the maximum allowed. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class IAMAuthMode(UnknownEnumMixin, StrEnum): - DISABLED = "DISABLED" - REQUIRED = "REQUIRED" - ENABLED = "ENABLED" - -@dataclass(kw_only=True) -class IamRoleMissingPermissionsFault(ServiceError, _SerdeShape): - """ - The IAM role requires additional permissions to export to an Amazon S3 - bucket. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IamRoleNotFoundFault(ServiceError, _SerdeShape): - """The IAM role is missing for exporting to an Amazon S3 bucket.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InstanceQuotaExceededFault(ServiceError, _SerdeShape): - """ - The request would result in the user exceeding the allowed number of DB - instances. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsufficientAvailableIPsInSubnetFault(ServiceError, _SerdeShape): - """ - The requested operation can't be performed because there aren't enough - available IP addresses in the proxy's subnets. Add more CIDR blocks to - the VPC or remove IP address that aren't required from the subnets. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsufficientDBClusterCapacityFault(ServiceError, _SerdeShape): - """The DB cluster doesn't have enough capacity for the current operation.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsufficientDBInstanceCapacityFault(ServiceError, _SerdeShape): - """ - The specified DB instance class isn't available in the specified - Availability Zone. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InsufficientStorageClusterCapacityFault(ServiceError, _SerdeShape): - """ - There is insufficient storage available for the current action. You - might be able to resolve this error by updating your subnet group to use - different Availability Zones that have more storage available. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Integration(_SerdeShape): - """A zero-ETL integration with Amazon Redshift.""" - - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the database used as the source for - replication. - """ - target_arn: str | None = ... - """ - The ARN of the Redshift data warehouse used as the target for - replication. - """ - integration_name: str | None = ... - """The name of the integration.""" - integration_arn: str | None = ... - """The ARN of the integration.""" - kms_key_id: str | None = ... - """ - The Amazon Web Services Key Management System (Amazon Web Services KMS) - key identifier for the key used to to encrypt the integration. - """ - additional_encryption_context: dict[str, str] | None = ... - """ - The encryption context for the integration. For more information, see - [Encryption - context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) - in the *Amazon Web Services Key Management Service Developer Guide*. - """ - status: str | None = ... - """The current status of the integration.""" - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - data_filter: str | None = ... - """ - Data filters for the integration. These filters determine which tables - from the source database are sent to the target Amazon Redshift data - warehouse. - """ - description: str | None = ... - """A description of the integration.""" - create_time: datetime | None = ... - """ - The time when the integration was created, in Universal Coordinated Time - (UTC). - """ - errors: list[IntegrationError] | None = ... - """Any errors associated with the integration.""" - -@dataclass(kw_only=True) -class IntegrationAlreadyExistsFault(ServiceError, _SerdeShape): - """The integration you are trying to create already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IntegrationConflictOperationFault(ServiceError, _SerdeShape): - """ - A conflicting conditional operation is currently in progress against - this resource. Typically occurs when there are multiple requests being - made to the same resource at the same time, and these requests conflict - with each other. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IntegrationError(_SerdeShape): - """An error associated with a zero-ETL integration with Amazon Redshift.""" - - error_code: str | None = ... - """The error code associated with the integration.""" - error_message: str | None = ... - """A message explaining the error.""" - -@dataclass(kw_only=True) -class IntegrationNotFoundFault(ServiceError, _SerdeShape): - """The specified integration could not be found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IntegrationQuotaExceededFault(ServiceError, _SerdeShape): - """ - You can't crate any more zero-ETL integrations because the quota has - been reached. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class IntegrationStatus(UnknownEnumMixin, StrEnum): - CREATING = "creating" - ACTIVE = "active" - MODIFYING = "modifying" - FAILED = "failed" - DELETING = "deleting" - SYNCING = "syncing" - NEEDS_ATTENTION = "needs_attention" - -@dataclass(kw_only=True) -class InvalidBlueGreenDeploymentStateFault(ServiceError, _SerdeShape): - """ - The blue/green deployment can't be switched over or deleted because - there is an invalid configuration in the green environment. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidCustomDBEngineVersionStateFault(ServiceError, _SerdeShape): - """You can't delete the CEV.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBCapacityReservationStateFault(ServiceError, _SerdeShape): - """The DB capacity reservation isn't in a valid state.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBClusterAutomatedBackupStateFault(ServiceError, _SerdeShape): - """ - The automated backup is in an invalid state. For example, this automated - backup is associated with an active cluster. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBClusterCapacityFault(ServiceError, _SerdeShape): - """ - `Capacity` isn't a valid Aurora Serverless DB cluster capacity. Valid - capacity values are `2`, `4`, `8`, `16`, `32`, `64`, `128`, and `256`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBClusterEndpointStateFault(ServiceError, _SerdeShape): - """ - The requested operation can't be performed on the endpoint while the - endpoint is in this state. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBClusterSnapshotStateFault(ServiceError, _SerdeShape): - """The supplied value isn't a valid DB cluster snapshot state.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBClusterStateFault(ServiceError, _SerdeShape): - """ - The requested operation can't be performed while the cluster is in this - state. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBInstanceAutomatedBackupStateFault(ServiceError, _SerdeShape): - """ - The automated backup is in an invalid state. For example, this automated - backup is associated with an active instance. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBInstanceStateFault(ServiceError, _SerdeShape): - """The DB instance isn't in a valid state.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBParameterGroupStateFault(ServiceError, _SerdeShape): - """ - The DB parameter group is in use or is in an invalid state. If you are - attempting to delete the parameter group, you can't delete it when the - parameter group is in this state. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBProxyEndpointStateFault(ServiceError, _SerdeShape): - """ - You can't perform this operation while the DB proxy endpoint is in a - particular state. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBProxyStateFault(ServiceError, _SerdeShape): - """ - The requested operation can't be performed while the proxy is in this - state. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBSecurityGroupStateFault(ServiceError, _SerdeShape): - """The state of the DB security group doesn't allow deletion.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBShardGroupStateFault(ServiceError, _SerdeShape): - """The DB shard group must be in the available state.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBSnapshotStateFault(ServiceError, _SerdeShape): - """The state of the DB snapshot doesn't allow deletion.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBSubnetGroupFault(ServiceError, _SerdeShape): - """ - The DBSubnetGroup doesn't belong to the same VPC as that of an existing - cross-region read replica of the same source instance. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBSubnetGroupStateFault(ServiceError, _SerdeShape): - """The DB subnet group cannot be deleted because it's in use.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidDBSubnetStateFault(ServiceError, _SerdeShape): - """The DB subnet isn't in the *available* state.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidEventSubscriptionStateFault(ServiceError, _SerdeShape): - """ - This error can occur if someone else is modifying a subscription. You - should retry the action. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidExportOnlyFault(ServiceError, _SerdeShape): - """The export is invalid for exporting to an Amazon S3 bucket.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidExportSourceStateFault(ServiceError, _SerdeShape): - """ - The state of the export snapshot is invalid for exporting to an Amazon - S3 bucket. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidExportTaskStateFault(ServiceError, _SerdeShape): - """You can't cancel an export task that has completed.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidGlobalClusterStateFault(ServiceError, _SerdeShape): - """ - The global cluster is in an invalid state and can't perform the - requested operation. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidIntegrationStateFault(ServiceError, _SerdeShape): - """ - The integration is in an invalid state and can't perform the requested - operation. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidOptionGroupStateFault(ServiceError, _SerdeShape): - """The option group isn't in the *available* state.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidResourceStateFault(ServiceError, _SerdeShape): - """ - The operation can't be performed because another operation is in - progress. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidRestoreFault(ServiceError, _SerdeShape): - """Cannot restore from VPC backup to non-VPC DB instance.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidS3BucketFault(ServiceError, _SerdeShape): - """ - The specified Amazon S3 bucket name can't be found or Amazon RDS isn't - authorized to access the specified Amazon S3 bucket. Verify the - **SourceS3BucketName** and **S3IngestionRoleArn** values and try again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidSubnet(ServiceError, _SerdeShape): - """ - The requested subnet is invalid, or multiple subnets were requested that - are not all in a common VPC. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidVPCNetworkStateFault(ServiceError, _SerdeShape): - """ - The DB subnet group doesn't cover all Availability Zones after it's - created because of users' change. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IPRange(_SerdeShape): - """ - This data type is used as a response element in the - `DescribeDBSecurityGroups` action. - """ - - status: str | None = ... - """ - The status of the IP range. Status can be \"authorizing\", - \"authorized\", \"revoking\", and \"revoked\". - """ - cidrip: str | None = ... - """The IP range.""" - -@dataclass(kw_only=True) -class IssueDetails(_SerdeShape): - """ - The details of an issue with your DB instances, DB clusters, and DB - parameter groups. - """ - - performance_issue_details: PerformanceIssueDetails | None = ... - """ - A detailed description of the issue when the recommendation category is - `performance`. - """ - -@dataclass(kw_only=True) -class KMSKeyNotAccessibleFault(ServiceError, _SerdeShape): - """An error occurred accessing an Amazon Web Services KMS key.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class LifecycleSupportName(UnknownEnumMixin, StrEnum): - OPEN_SOURCE_RDS_STANDARD_SUPPORT = "open-source-rds-standard-support" - OPEN_SOURCE_RDS_EXTENDED_SUPPORT = "open-source-rds-extended-support" - -@dataclass(kw_only=True) -class LimitlessDatabase(_SerdeShape): - """Contains details for Aurora Limitless Database.""" - - status: str | None = ... - """The status of Aurora Limitless Database.""" - min_required_acu: float | None = ... - """ - The minimum required capacity for Aurora Limitless Database in Aurora - capacity units (ACUs). - """ - -class LimitlessDatabaseStatus(UnknownEnumMixin, StrEnum): - ACTIVE = "active" - NOT_IN_USE = "not-in-use" - ENABLED = "enabled" - DISABLED = "disabled" - ENABLING = "enabling" - DISABLING = "disabling" - MODIFYING_MAX_CAPACITY = "modifying-max-capacity" - ERROR = "error" - -@dataclass(kw_only=True) -class ListTagsForResourceInput(_SerdeShape): - """""" - - resource_name: str | None = ... - """ - The Amazon RDS resource with tags to be listed. This value is an Amazon - Resource Name (ARN). For information about creating an ARN, see - [Constructing an ARN for Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) - in the *Amazon RDS User Guide*. - """ - filters: list[Filter] | None = ... - """This parameter isn't currently supported.""" - -@dataclass(kw_only=True) -class ListTagsForResourceOutput(_SerdeShape): - """""" - - tag_list: list[Tag] | None = ... - """List of tags returned by the `ListTagsForResource` operation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class LocalWriteForwardingStatus(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - ENABLING = "enabling" - DISABLING = "disabling" - REQUESTED = "requested" - -class MasterUserAuthenticationType(UnknownEnumMixin, StrEnum): - PASSWORD = "password" - IAM_DB_AUTH = "iam-db-auth" - -@dataclass(kw_only=True) -class MasterUserSecret(_SerdeShape): - """ - Contains the secret managed by RDS in Amazon Web Services Secrets - Manager for the master user password. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide* and [Password management with Amazon Web - Services Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the *Amazon Aurora User Guide.* - """ - - secret_arn: str | None = ... - """The Amazon Resource Name (ARN) of the secret.""" - secret_status: str | None = ... - """ - The status of the secret. - - The possible status values include the following: - - - `creating` - The secret is being created. - - - `active` - The secret is available for normal use and rotation. - - - `rotating` - The secret is being rotated. - - - `impaired` - The secret can be used to access database credentials, - but it can't be rotated. A secret might have this status if, for - example, permissions are changed so that RDS can no longer access - either the secret or the KMS key for the secret. - - When a secret has this status, you can correct the condition that - caused the status. Alternatively, modify the DB instance to turn off - automatic management of database credentials, and then modify the DB - instance again to turn on automatic management of database - credentials. - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier that is used to encrypt the - secret. - """ - -@dataclass(kw_only=True) -class MaxDBShardGroupLimitReached(ServiceError, _SerdeShape): - """ - The maximum number of DB shard groups for your Amazon Web Services - account in the specified Amazon Web Services Region has been reached. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Metric(_SerdeShape): - """The representation of a metric.""" - - name: str | None = ... - """The name of a metric.""" - references: list[MetricReference] | None = ... - """A list of metric references (thresholds).""" - statistics_details: str | None = ... - """ - The details of different statistics for a metric. The description might - contain markdown. - """ - metric_query: MetricQuery | None = ... - """The query to retrieve metric data points.""" - -@dataclass(kw_only=True) -class MetricQuery(_SerdeShape): - """The query to retrieve metric data points.""" - - performance_insights_metric_query: PerformanceInsightsMetricQuery | None = ... - """ - The Performance Insights query that you can use to retrieve Performance - Insights metric data points. - """ - -@dataclass(kw_only=True) -class MetricReference(_SerdeShape): - """The reference (threshold) for a metric.""" - - name: str | None = ... - """The name of the metric reference.""" - reference_details: ReferenceDetails | None = ... - """The details of a performance issue.""" - -@dataclass(kw_only=True) -class MinimumEngineVersionPerAllowedValue(_SerdeShape): - """ - The minimum DB engine version required for each corresponding allowed - value for an option setting. - """ - - allowed_value: str | None = ... - """The allowed value for an option setting.""" - minimum_engine_version: str | None = ... - """The minimum DB engine version required for the allowed value.""" - -@dataclass(kw_only=True) -class ModifyActivityStreamInput(_SerdeShape): - """Dataclass for ModifyActivityStreamInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the RDS for Oracle or Microsoft SQL - Server DB instance. For example, - `arn:aws:rds:us-east-1:12345667890:db:my-orcl-db`. - """ - audit_policy_state: str | None = ... - """ - The audit policy state. When a policy is unlocked, it is read/write. - When it is locked, it is read-only. You can edit your audit policy only - when the activity stream is unlocked or stopped. - """ - -@dataclass(kw_only=True) -class ModifyActivityStreamOutput(_SerdeShape): - """Dataclass for ModifyActivityStreamOutput structure.""" - - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of messages in - the database activity stream. - """ - kinesis_stream_name: str | None = ... - """ - The name of the Amazon Kinesis data stream to be used for the database - activity stream. - """ - status: str | None = ... - """The status of the modification to the database activity stream.""" - mode: str | None = ... - """The mode of the database activity stream.""" - engine_native_audit_fields_included: bool | None = ... - """ - Indicates whether engine-native audit fields are included in the - database activity stream. - """ - policy_status: str | None = ... - """ - The status of the modification to the policy state of the database - activity stream. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyAdditionalStorageVolume(_SerdeShape): - """Contains details about the modification of an additional storage volume.""" - - volume_name: str | None = ... - """ - The name of the additional storage volume that you want to modify. - - Valid Values: `RDSDBDATA2 | RDSDBDATA3 | RDSDBDATA4` - """ - allocated_storage: int | None = ... - """ - The amount of storage allocated for the additional storage volume, in - gibibytes (GiB). The minimum is 20 GiB. The maximum is 65,536 GiB (64 - TiB). - """ - iops: int | None = ... - """ - The number of I/O operations per second (IOPS) provisioned for the - additional storage volume. This setting is only supported for - Provisioned IOPS SSD (`io1` and `io2`) storage types. - """ - max_allocated_storage: int | None = ... - """ - The upper limit in gibibytes (GiB) to which RDS can automatically scale - the storage of the additional storage volume. You must provide a value - greater than or equal to `AllocatedStorage`. - """ - storage_throughput: int | None = ... - """ - The storage throughput value for the additional storage volume, in - mebibytes per second (MiBps). This setting applies only to the General - Purpose SSD (`gp3`) storage type. - """ - storage_type: str | None = ... - """ - The new storage type for the additional storage volume. - - Valid Values: `GP3 | IO2` - """ - set_for_delete: bool | None = ... - """ - Indicates whether to delete the additional storage volume. The value - `true` schedules the volume for deletion. You can delete an additional - storage volume only when it doesn't contain database files or other - data. - """ - -@dataclass(kw_only=True) -class ModifyCertificatesInput(_SerdeShape): - """Dataclass for ModifyCertificatesInput structure.""" - - certificate_identifier: str | None = ... - """ - The new default certificate identifier to override the current one with. - - To determine the valid values, use the `describe-certificates` CLI - command or the `DescribeCertificates` API operation. - """ - remove_customer_override: bool | None = ... - """ - Specifies whether to remove the override for the default certificate. If - the override is removed, the default certificate is the system default. - """ - -@dataclass(kw_only=True) -class ModifyCertificatesOutput(_SerdeShape): - """Dataclass for ModifyCertificatesOutput structure.""" - - certificate: Certificate | None = ... - """ - A CA certificate for an Amazon Web Services account. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyCurrentDBClusterCapacityInput(_SerdeShape): - """Dataclass for ModifyCurrentDBClusterCapacityInput structure.""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier for the cluster being modified. This parameter - isn't case-sensitive. - - Constraints: - - - Must match the identifier of an existing DB cluster. - """ - capacity: int | None = ... - """ - The DB cluster capacity. - - When you change the capacity of a paused Aurora Serverless v1 DB - cluster, it automatically resumes. - - Constraints: - - - For Aurora MySQL, valid capacity values are `1`, `2`, `4`, `8`, `16`, - `32`, `64`, `128`, and `256`. - - - For Aurora PostgreSQL, valid capacity values are `2`, `4`, `8`, `16`, - `32`, `64`, `192`, and `384`. - """ - seconds_before_timeout: int | None = ... - """ - The amount of time, in seconds, that Aurora Serverless v1 tries to find - a scaling point to perform seamless scaling before enforcing the timeout - action. The default is 300. - - Specify a value between 10 and 600 seconds. - """ - timeout_action: str | None = ... - """ - The action to take when the timeout is reached, either - `ForceApplyCapacityChange` or `RollbackCapacityChange`. - - `ForceApplyCapacityChange`, the default, sets the capacity to the - specified value as soon as possible. - - `RollbackCapacityChange` ignores the capacity change if a scaling point - isn't found in the timeout period. - """ - -@dataclass(kw_only=True) -class ModifyCurrentDBClusterCapacityOutput(_SerdeShape): - """Dataclass for ModifyCurrentDBClusterCapacityOutput structure.""" - - db_cluster_identifier: str | None = ... - """ - A user-supplied DB cluster identifier. This identifier is the unique key - that identifies a DB cluster. - """ - pending_capacity: int | None = ... - """A value that specifies the capacity that the DB cluster scales to next.""" - current_capacity: int | None = ... - """The current capacity of the DB cluster.""" - seconds_before_timeout: int | None = ... - """ - The number of seconds before a call to `ModifyCurrentDBClusterCapacity` - times out. - """ - timeout_action: str | None = ... - """ - The timeout action of a call to `ModifyCurrentDBClusterCapacity`, either - `ForceApplyCapacityChange` or `RollbackCapacityChange`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyCustomDBEngineVersionInput(_SerdeShape): - """Dataclass for ModifyCustomDBEngineVersionInput structure.""" - - engine: str | None = ... - """ - The database engine. - - RDS Custom for Oracle supports the following values: - - - `custom-oracle-ee` - - - `custom-oracle-ee-cdb` - - - `custom-oracle-se2` - - - `custom-oracle-se2-cdb` - - RDS Custom for SQL Server supports the following values: - - - `custom-sqlserver-ee` - - - `custom-sqlserver-se` - - - `custom-sqlserver-web` - - - `custom-sqlserver-dev` - - RDS for SQL Server supports the following values: - - - `sqlserver-ee` (Bring Your Own Media) - - - `sqlserver-se` (Bring Your Own Media) - - - `sqlserver-dev-ee` - """ - engine_version: str | None = ... - """ - The custom engine version (CEV) that you want to modify. This option is - required for RDS Custom for Oracle, but optional for Amazon RDS. The - combination of `Engine` and `EngineVersion` is unique per customer per - Amazon Web Services Region. - """ - description: str | None = ... - """An optional description of your CEV.""" - status: str | None = ... - """ - The availability status to be assigned to the CEV. Valid values are as - follows: - - available - - : You can use this CEV to create a new RDS Custom DB instance. - - inactive - - : You can create a new RDS Custom instance by restoring a DB snapshot - with this CEV. You can't patch or create new instances with this CEV. - - You can change any status to any status. A typical reason to change - status is to prevent the accidental use of a CEV, or to make a - deprecated CEV eligible for use again. For example, you might change the - status of your CEV from `available` to `inactive`, and from `inactive` - back to `available`. To change the availability status of the CEV, it - must not currently be in use by an RDS Custom instance, snapshot, or - automated backup. - """ - -@dataclass(kw_only=True) -class ModifyCustomDBEngineVersionOutput(_SerdeShape): - """ - This data type is used as a response element in the action - `DescribeDBEngineVersions`. - """ - - engine: str | None = ... - """The name of the database engine.""" - major_engine_version: str | None = ... - """The major engine version of the CEV.""" - engine_version: str | None = ... - """The version number of the database engine.""" - database_installation_files_s3_bucket_name: str | None = ... - """ - The name of the Amazon S3 bucket that contains your database - installation files. - """ - database_installation_files_s3_prefix: str | None = ... - """ - The Amazon S3 directory that contains the database installation files. - If not specified, then no prefix is assumed. - """ - database_installation_files: list[str] | None = ... - """ - The database installation files (ISO and EXE) that were uploaded to - Amazon S3 and used to import the database engine version to Amazon RDS. - Returned for RDS for SQL Server engine versions (`sqlserver-ee`, - `sqlserver-se`, and `sqlserver-dev-ee`) created from customer-supplied - installation media. - """ - custom_db_engine_version_manifest: str | None = ... - """ - JSON string that lists the installation files and parameters that RDS - Custom uses to create a custom engine version (CEV). RDS Custom applies - the patches in the order in which they're listed in the manifest. You - can set the Oracle home, Oracle base, and UNIX/Linux user and group - using the installation parameters. For more information, see [JSON - fields in the CEV - manifest](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.preparing.html#custom-cev.preparing.manifest.fields) - in the *Amazon RDS User Guide*. - """ - db_parameter_group_family: str | None = ... - """The name of the DB parameter group family for the database engine.""" - db_engine_description: str | None = ... - """The description of the database engine.""" - db_engine_version_arn: str | None = ... - """The ARN of the custom engine version.""" - db_engine_version_description: str | None = ... - """The description of the database engine version.""" - default_character_set: CharacterSet | None = ... - """ - The default character set for new instances of this engine version, if - the `CharacterSetName` parameter of the CreateDBInstance API isn't - specified. - """ - failure_reason: str | None = ... - """ - The reason that the custom engine version creation failed with an - `incompatible-installation-media` status. Applicable to RDS for SQL - Server engine versions (`sqlserver-ee`, `sqlserver-se`, and - `sqlserver-dev-ee`). - """ - image: CustomDBEngineVersionAMI | None = ... - """The EC2 image""" - db_engine_media_type: str | None = ... - """ - The source of the installation media for this engine version. A value of - `Customer Provided` indicates that the engine version was created from - customer-supplied installation media using - `CreateCustomDBEngineVersion`. Applicable to RDS Custom for SQL Server - and to RDS for SQL Server engine versions (`sqlserver-ee` and - `sqlserver-se` with the `bring-your-own-media` license model, and - `sqlserver-dev-ee`). - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted CEV. This - parameter is required for RDS Custom, but optional for Amazon RDS. - """ - create_time: datetime | None = ... - """The creation time of the DB engine version.""" - supported_character_sets: list[CharacterSet] | None = ... - """ - A list of the character sets supported by this engine for the - `CharacterSetName` parameter of the `CreateDBInstance` operation. - """ - supported_nchar_character_sets: list[CharacterSet] | None = ... - """ - A list of the character sets supported by the Oracle DB engine for the - `NcharCharacterSetName` parameter of the `CreateDBInstance` operation. - """ - valid_upgrade_target: list[UpgradeTarget] | None = ... - """ - A list of engine versions that this database engine version can be - upgraded to. - """ - supported_timezones: list[Timezone] | None = ... - """ - A list of the time zones supported by this engine for the `Timezone` - parameter of the `CreateDBInstance` action. - """ - exportable_log_types: list[str] | None = ... - """ - The types of logs that the database engine has available for export to - CloudWatch Logs. - """ - supports_log_exports_to_cloudwatch_logs: bool | None = ... - """ - Indicates whether the engine version supports exporting the log types - specified by ExportableLogTypes to CloudWatch Logs. - """ - supports_read_replica: bool | None = ... - """Indicates whether the database engine version supports read replicas.""" - supported_engine_modes: list[str] | None = ... - """A list of the supported DB engine modes.""" - supported_feature_names: list[str] | None = ... - """ - A list of features supported by the DB engine. - - The supported features vary by DB engine and DB engine version. - - To determine the supported features for a specific DB engine and DB - engine version using the CLI, use the following command: - - `aws rds describe-db-engine-versions --engine --engine-version ` - - For example, to determine the supported features for RDS for PostgreSQL - version 13.3 using the CLI, use the following command: - - `aws rds describe-db-engine-versions --engine postgres --engine-version 13.3` - - The supported features are listed under `SupportedFeatureNames` in the - output. - """ - status: str | None = ... - """The status of the DB engine version, either `available` or `deprecated`.""" - supports_parallel_query: bool | None = ... - """ - Indicates whether you can use Aurora parallel query with a specific DB - engine version. - """ - supports_global_databases: bool | None = ... - """ - Indicates whether you can use Aurora global databases with a specific DB - engine version. - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - supports_babelfish: bool | None = ... - """ - Indicates whether the engine version supports Babelfish for Aurora - PostgreSQL. - """ - supports_limitless_database: bool | None = ... - """ - Indicates whether the DB engine version supports Aurora Limitless - Database. - """ - supports_certificate_rotation_without_restart: bool | None = ... - """ - Indicates whether the engine version supports rotating the server - certificate without rebooting the DB instance. - """ - supported_ca_certificate_identifiers: list[str] | None = ... - """ - A list of the supported CA certificate identifiers. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - supports_local_write_forwarding: bool | None = ... - """ - Indicates whether the DB engine version supports forwarding write - operations from reader DB instances to the writer DB instance in the DB - cluster. By default, write operations aren't allowed on reader DB - instances. - - Valid for: Aurora DB clusters only - """ - supports_integrations: bool | None = ... - """ - Indicates whether the DB engine version supports zero-ETL integrations - with Amazon Redshift. - """ - serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... - """ - Specifies any Aurora Serverless v2 properties or limits that differ - between Aurora engine versions. You can test the values of this - attribute when deciding which Aurora version to use in a new or upgraded - DB cluster. You can also retrieve the version of an existing DB cluster - and check whether that version supports certain Aurora Serverless v2 - features before you attempt to use those features. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBCapacityReservationInput(_SerdeShape): - """Dataclass for ModifyDBCapacityReservationInput structure.""" - - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation to modify. You - can specify the identifier, which has the prefix `dbcr-`, or the - reservation name. - """ - capacity_per_availability_zone: int | None = ... - """ - The new number of DB instances to reserve in each Availability Zone of - the reservation. Amazon RDS applies this number to every Availability - Zone of the reservation. - - An increase reserves more capacity at the time of the request, so it can - fail when the Amazon Web Services Region has insufficient capacity. - - This value multiplied by the number of Availability Zones counts against - the DB instances quota for your Amazon Web Services account in the - Amazon Web Services Region. Amazon RDS checks the quota only when you - increase the value. - - Constraints: - - - Minimum 1. - - - Can't be less than the highest number of DB instances that use the - reservation in any single Availability Zone of the reservation. That - number includes a DB instance that holds a unit of reserved capacity - for a pending modification. To find that number for an Availability - Zone, subtract `AvailableCapacity` from - `ReservedCapacityPerAvailabilityZone`. - - - During a capacity commitment, can't be less than - `CommittedCapacityPerAvailabilityZone`. - """ - end_date_type: str | None = ... - """ - The end date type for the reservation. - - Valid Values: - - - `limited` - The reservation has a specific end date. You must also - specify `EndDate`. - - - `unlimited` - The reservation doesn't expire. Don't specify - `EndDate`. - """ - end_date: datetime | None = ... - """ - The new end date for the reservation, in Universal Coordinated Time - (UTC). Required when `EndDateType` is `limited`. Don't specify a value - when `EndDateType` is `unlimited`. - - When you specify `EndDate`, you must also specify `EndDateType`. - - Constraints: - - - Must be a date and time in the future. - - - During a capacity commitment, must be at or after `CommitmentEndDate`. - """ - -@dataclass(kw_only=True) -class ModifyDBCapacityReservationOutput(_SerdeShape): - """Dataclass for ModifyDBCapacityReservationOutput structure.""" - - db_capacity_reservation: DBCapacityReservation | None = ... - """Contains the details of the modified DB capacity reservation.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBClusterEndpointInput(_SerdeShape): - """Dataclass for ModifyDBClusterEndpointInput structure.""" - - db_cluster_endpoint_identifier: str | None = ... - """ - The identifier of the endpoint to modify. This parameter is stored as a - lowercase string. - """ - endpoint_type: str | None = ... - """The type of the endpoint. One of: `READER`, `WRITER`, `ANY`.""" - static_members: list[str] | None = ... - """ - List of DB instance identifiers that are part of the custom endpoint - group. - """ - excluded_members: list[str] | None = ... - """ - List of DB instance identifiers that aren't part of the custom endpoint - group. All other eligible instances are reachable through the custom - endpoint. Only relevant if the list of static members is empty. - """ - -@dataclass(kw_only=True) -class ModifyDBClusterEndpointOutput(_SerdeShape): - """ - This data type represents the information you need to connect to an - Amazon Aurora DB cluster. This data type is used as a response element - in the following actions: - - - `CreateDBClusterEndpoint` - - - `DescribeDBClusterEndpoints` - - - `ModifyDBClusterEndpoint` - - - `DeleteDBClusterEndpoint` - - For the data structure that represents Amazon RDS DB instance endpoints, - see `Endpoint`. - """ - - db_cluster_endpoint_identifier: str | None = ... - """ - The identifier associated with the endpoint. This parameter is stored as - a lowercase string. - """ - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the DB cluster associated with the - endpoint. This parameter is stored as a lowercase string. - """ - db_cluster_endpoint_resource_identifier: str | None = ... - """ - A unique system-generated identifier for an endpoint. It remains the - same for the whole life of the endpoint. - """ - endpoint: str | None = ... - """The DNS address of the endpoint.""" - status: str | None = ... - """ - The current status of the endpoint. One of: `creating`, `available`, - `deleting`, `inactive`, `modifying`. The `inactive` state applies to an - endpoint that can't be used for a certain kind of cluster, such as a - `writer` endpoint for a read-only secondary cluster in a global - database. - """ - endpoint_type: str | None = ... - """The type of the endpoint. One of: `READER`, `WRITER`, `CUSTOM`.""" - custom_endpoint_type: str | None = ... - """ - The type associated with a custom endpoint. One of: `READER`, `WRITER`, - `ANY`. - """ - static_members: list[str] | None = ... - """ - List of DB instance identifiers that are part of the custom endpoint - group. - """ - excluded_members: list[str] | None = ... - """ - List of DB instance identifiers that aren't part of the custom endpoint - group. All other eligible instances are reachable through the custom - endpoint. Only relevant if the list of static members is empty. - """ - db_cluster_endpoint_arn: str | None = ... - """The Amazon Resource Name (ARN) for the endpoint.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBClusterInput(_SerdeShape): - """""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier for the cluster being modified. This parameter - isn't case-sensitive. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must match the identifier of an existing DB cluster. - """ - new_db_cluster_identifier: str | None = ... - """ - The new DB cluster identifier for the DB cluster when renaming a DB - cluster. This value is stored as a lowercase string. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens. - - - The first character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `my-cluster2` - """ - apply_immediately: bool | None = ... - """ - Specifies whether the modifications in this request are asynchronously - applied as soon as possible, regardless of the - `PreferredMaintenanceWindow` setting for the DB cluster. If this - parameter is disabled, changes to the DB cluster are applied during the - next maintenance window. - - Most modifications can be applied immediately or during the next - scheduled maintenance window. Some modifications, such as turning on - deletion protection and changing the master password, are applied - immediately---regardless of when you choose to apply them. - - By default, this parameter is disabled. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - backup_retention_period: int | None = ... - """ - The number of days for which automated backups are retained. Specify a - minimum value of `1`. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Default: `1` - - Constraints: - - - Must be a value from 1 to 35. - """ - db_cluster_parameter_group_name: str | None = ... - """ - The name of the DB cluster parameter group to use for the DB cluster. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of EC2 VPC security groups to associate with this DB cluster. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - port: int | None = ... - """ - The port number on which the DB cluster accepts connections. - - Valid for Cluster Type: Aurora DB clusters only - - Valid Values: `1150-65535` - - Default: The same port as the original DB cluster. - """ - master_user_password: str | None = ... - """ - The new password for the master database user. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must contain from 8 to 41 characters. - - - Can contain any printable ASCII character except \"/\", \"\"\", or - \"@\". - - - Can't be specified if `ManageMasterUserPassword` is turned on. - """ - option_group_name: str | None = ... - """ - The option group to associate the DB cluster with. - - DB clusters are associated with a default option group that can't be - modified. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, using the `BackupRetentionPeriod` - parameter. - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region. To view the time - blocks available, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) - in the *Amazon Aurora User Guide*. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - preferred_maintenance_window: str | None = ... - """ - The weekly time range during which system maintenance can occur, in - Universal Coordinated Time (UTC). - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region, occurring on a random - day of the week. To see the time blocks available, see [Adjusting the - Preferred DB Cluster Maintenance - Window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) - in the *Amazon Aurora User Guide*. - - Constraints: - - - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. - - - Days must be one of `Mon | Tue | Wed | Thu | Fri | Sat | Sun`. - - - Must be in Universal Coordinated Time (UTC). - - - Must be at least 30 minutes. - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - For more information, see [IAM Database - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon Aurora User Guide* or [IAM database authentication for - MariaDB, MySQL, and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide*. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - backtrack_window: int | None = ... - """ - The target backtrack window, in seconds. To disable backtracking, set - this value to `0`. - - Valid for Cluster Type: Aurora MySQL DB clusters only - - Default: `0` - - Constraints: - - - If specified, this value must be set to a number from 0 to 259,200 (72 - hours). - """ - cloudwatch_logs_export_configuration: CloudwatchLogsExportConfiguration | None = ... - """ - The configuration setting for the log types to be enabled for export to - CloudWatch Logs for a specific DB cluster. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - The following values are valid for each DB engine: - - - Aurora MySQL - - `audit | error | general | instance | slowquery | iam-db-auth-error` - - - Aurora PostgreSQL - `instance | postgresql | iam-db-auth-error` - - - RDS for MySQL - `error | general | slowquery | iam-db-auth-error` - - - RDS for PostgreSQL - `postgresql | upgrade | iam-db-auth-error` - - For more information about exporting CloudWatch Logs for Amazon RDS, see - [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - For more information about exporting CloudWatch Logs for Amazon Aurora, - see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon Aurora User Guide*. - """ - engine_version: str | None = ... - """ - The version number of the database engine to which you want to upgrade. - Changing this parameter results in an outage. The change is applied - during the next maintenance window unless `ApplyImmediately` is enabled. - - If the cluster that you're modifying has one or more read replicas, all - replicas must be running an engine version that's the same or later - than the version you specify. - - To list all of the available engine versions for Aurora MySQL, use the - following command: - - `aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"` - - To list all of the available engine versions for Aurora PostgreSQL, use - the following command: - - `aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"` - - To list all of the available engine versions for RDS for MySQL, use the - following command: - - `aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"` - - To list all of the available engine versions for RDS for PostgreSQL, use - the following command: - - `aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"` - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - allow_major_version_upgrade: bool | None = ... - """ - Specifies whether major version upgrades are allowed. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - You must allow major version upgrades when specifying a value for the - `EngineVersion` parameter that is a different major version than the - DB cluster's current version. - """ - db_instance_parameter_group_name: str | None = ... - """ - The name of the DB parameter group to apply to all instances of the DB - cluster. - - Note: - When you apply a parameter group using the - `DBInstanceParameterGroupName` parameter, the DB cluster isn't rebooted - automatically. Also, parameter changes are applied immediately rather - than during the next maintenance window. - - Valid for Cluster Type: Aurora DB clusters only - - Default: The existing name setting - - Constraints: - - - The DB parameter group must be in the same DB parameter group family - as this DB cluster. - - - The `DBInstanceParameterGroupName` parameter is valid in combination - with the `AllowMajorVersionUpgrade` parameter for a major version - upgrade only. - """ - domain: str | None = ... - """ - The Active Directory directory ID to move the DB cluster to. Specify - `none` to remove the cluster from its current domain. The domain must be - created prior to this operation. - - For more information, see [Kerberos - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) - in the *Amazon Aurora User Guide*. - - Valid for Cluster Type: Aurora DB clusters only - """ - domain_iam_role_name: str | None = ... - """ - The name of the IAM role to use when making API calls to the Directory - Service. - - Valid for Cluster Type: Aurora DB clusters only - """ - scaling_configuration: ScalingConfiguration | None = ... - """ - The scaling properties of the DB cluster. You can only modify scaling - properties for DB clusters in `serverless` DB engine mode. - - Valid for Cluster Type: Aurora DB clusters only - """ - deletion_protection: bool | None = ... - """ - Specifies whether the DB cluster has deletion protection enabled. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - enable_http_endpoint: bool | None = ... - """ - Specifies whether to enable the HTTP endpoint for an Aurora Serverless - v1 DB cluster. By default, the HTTP endpoint isn't enabled. - - When enabled, the HTTP endpoint provides a connectionless web service - API (RDS Data API) for running SQL queries on the Aurora Serverless v1 - DB cluster. You can also query your database from inside the RDS console - with the RDS query editor. - - For more information, see [Using RDS Data - API](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) - in the *Amazon Aurora User Guide*. - - Note: - This parameter applies only to Aurora Serverless v1 DB clusters. To - enable or disable the HTTP endpoint for an Aurora Serverless v2 or - provisioned DB cluster, use the `EnableHttpEndpoint` and - `DisableHttpEndpoint` operations. - - Valid for Cluster Type: Aurora DB clusters only - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the DB cluster to snapshots of - the DB cluster. The default is not to copy them. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - enable_global_write_forwarding: bool | None = ... - """ - Specifies whether to enable this DB cluster to forward write operations - to the primary cluster of a global cluster (Aurora global database). By - default, write operations are not allowed on Aurora DB clusters that are - secondary clusters in an Aurora global database. - - You can set this value only on Aurora DB clusters that are members of an - Aurora global database. With this parameter enabled, a secondary cluster - can forward writes to the current primary cluster, and the resulting - changes are replicated back to this cluster. For the primary DB cluster - of an Aurora global database, this value is used immediately if the - primary is demoted by a global cluster API operation, but it does - nothing until then. - - Valid for Cluster Type: Aurora DB clusters only - """ - db_cluster_instance_class: str | None = ... - """ - The compute and memory capacity of each DB instance in the Multi-AZ DB - cluster, for example `db.m6gd.xlarge`. Not all DB instance classes are - available in all Amazon Web Services Regions, or for all database - engines. - - For the full list of DB instance classes and availability for your - engine, see [DB Instance - Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide*. - - Valid for Cluster Type: Multi-AZ DB clusters only - """ - allocated_storage: int | None = ... - """ - The amount of storage in gibibytes (GiB) to allocate to each DB instance - in the Multi-AZ DB cluster. - - Valid for Cluster Type: Multi-AZ DB clusters only - """ - storage_type: str | None = ... - """ - The storage type to associate with the DB cluster. - - For information on storage types for Aurora DB clusters, see [Storage - configurations for Amazon Aurora DB - clusters](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type). - For information on storage types for Multi-AZ DB clusters, see [Settings - for creating Multi-AZ DB - clusters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/create-multi-az-db-cluster.html#create-multi-az-db-cluster-settings). - - When specified for a Multi-AZ DB cluster, a value for the `Iops` - parameter is required. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - - - Aurora DB clusters - `aurora | aurora-iopt1` - - - Multi-AZ DB clusters - `io1 | io2 | gp3` - - Default: - - - Aurora DB clusters - `aurora` - - - Multi-AZ DB clusters - `io1` - """ - iops: int | None = ... - """ - The amount of Provisioned IOPS (input/output operations per second) to - be initially allocated for each DB instance in the Multi-AZ DB cluster. - - For information about valid IOPS values, see [Amazon RDS Provisioned - IOPS - storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) - in the *Amazon RDS User Guide*. - - Valid for Cluster Type: Multi-AZ DB clusters only - - Constraints: - - - Must be a multiple between .5 and 50 of the storage amount for the DB - cluster. - """ - auto_minor_version_upgrade: bool | None = ... - """ - Specifies whether minor engine upgrades are applied automatically to the - DB cluster during the maintenance window. By default, minor engine - upgrades are applied automatically. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - network_type: str | None = ... - """ - The network type of the DB cluster. - - The network type is determined by the `DBSubnetGroup` specified for the - DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon Aurora User Guide.* - - Valid for Cluster Type: Aurora DB clusters only - - Valid Values: `IPV4 | DUAL` - """ - serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... - """ - Contains the scaling configuration of an Aurora Serverless v2 DB - cluster. - - For more information, see [Using Amazon Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the *Amazon Aurora User Guide*. - """ - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the DB cluster. To turn off collecting - Enhanced Monitoring metrics, specify `0`. - - If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to a - value other than `0`. - - Valid for Cluster Type: Multi-AZ DB clusters only - - Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` - - Default: `0` - """ - monitoring_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send - Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is - `arn:aws:iam:123456789012:role/emaccess`. For information on creating a - monitoring role, see [To create an IAM role for Amazon RDS Enhanced - Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole) - in the *Amazon RDS User Guide.* - - If `MonitoringInterval` is set to a value other than `0`, supply a - `MonitoringRoleArn` value. - - Valid for Cluster Type: Multi-AZ DB clusters only - """ - database_insights_mode: str | None = ... - """ - Specifies the mode of Database Insights to enable for the DB cluster. - - If you change the value from `standard` to `advanced`, you must set the - `PerformanceInsightsEnabled` parameter to `true` and the - `PerformanceInsightsRetentionPeriod` parameter to 465. - - If you change the value from `advanced` to `standard`, you can set the - `PerformanceInsightsEnabled` parameter to `true` to collect detailed - database counter and per-query metrics. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - enable_performance_insights: bool | None = ... - """ - Specifies whether to turn on Performance Insights for the DB cluster. - - For more information, see [Using Amazon Performance - Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the *Amazon RDS User Guide*. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - If you don't specify a value for `PerformanceInsightsKMSKeyId`, then - Amazon RDS uses your default KMS key. There is a default KMS key for - your Amazon Web Services account. Your Amazon Web Services account has a - different default KMS key for each Amazon Web Services Region. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - - - `7` - - - *month* * 31, where *month* is a number of months from 1-23. - Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 - months * 31) - - - `731` - - Default: `7` days - - If you specify a retention period that isn't valid, such as `94`, - Amazon RDS issues an error. - """ - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager. - - If the DB cluster doesn't manage the master user password with Amazon - Web Services Secrets Manager, you can turn on this management. In this - case, you can't specify `MasterUserPassword`. - - If the DB cluster already manages the master user password with Amazon - Web Services Secrets Manager, and you specify that the master user - password is not managed with Amazon Web Services Secrets Manager, then - you must specify `MasterUserPassword`. In this case, RDS deletes the - secret and uses the new password for the master user specified by - `MasterUserPassword`. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide* and [Password management with Amazon Web - Services Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the *Amazon Aurora User Guide.* - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - rotate_master_user_password: bool | None = ... - """ - Specifies whether to rotate the secret managed by Amazon Web Services - Secrets Manager for the master user password. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB cluster. The secret - value contains the updated password. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide* and [Password management with Amazon Web - Services Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the *Amazon Aurora User Guide.* - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - You must apply the change immediately when rotating the master user - password. - """ - enable_local_write_forwarding: bool | None = ... - """ - Specifies whether read replicas can forward write operations to the - writer DB instance in the DB cluster. By default, write operations - aren't allowed on reader DB instances. - - Valid for: Aurora DB clusters only - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if both of the following conditions are met: - - - The DB cluster doesn't manage the master user password in Amazon Web - Services Secrets Manager. - - If the DB cluster already manages the master user password in Amazon - Web Services Secrets Manager, you can't change the KMS key that is - used to encrypt the secret. - - - You are turning on `ManageMasterUserPassword` to manage the master - user password in Amazon Web Services Secrets Manager. - - If you are turning on `ManageMasterUserPassword` and don't specify - `MasterUserSecretKmsKeyId`, then the `aws/secretsmanager` KMS key is - used to encrypt the secret. If the secret is in a different Amazon Web - Services account, then you can't use the `aws/secretsmanager` KMS key - to encrypt the secret, and you must use a customer managed KMS key. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - """ - engine_mode: str | None = ... - """ - The DB engine mode of the DB cluster, either `provisioned` or - `serverless`. - - Note: - The DB engine mode can be modified only from `serverless` to - `provisioned`. - - For more information, see - [CreateDBCluster](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html). - - Valid for Cluster Type: Aurora DB clusters only - """ - allow_engine_mode_change: bool | None = ... - """ - Specifies whether engine mode changes from `serverless` to `provisioned` - are allowed. - - Valid for Cluster Type: Aurora Serverless v1 DB clusters only - - Constraints: - - - You must allow engine mode changes when specifying a different value - for the `EngineMode` parameter from the DB cluster's current engine - mode. - """ - aws_backup_recovery_point_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the recovery point in Amazon Web - Services Backup. - """ - enable_limitless_database: bool | None = ... - """ - Specifies whether to enable Aurora Limitless Database. You must enable - Aurora Limitless Database to create a DB shard group. - - Valid for: Aurora DB clusters only - - Note: - This setting is no longer used. Instead use the `ClusterScalabilityType` - setting when you create your Aurora Limitless Database DB cluster. - """ - ca_certificate_identifier: str | None = ... - """ - The CA certificate identifier to use for the DB cluster's server - certificate. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide*. - - Valid for Cluster Type: Multi-AZ DB clusters - """ - master_user_authentication_type: str | None = ... - """ - Specifies the authentication type for the master user. With IAM master - user authentication, you can change the master DB user to use IAM - database authentication. - - You can specify one of the following values: - - - `password` - Use standard database authentication with a password. - - - `iam-db-auth` - Use IAM database authentication for the master user. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL - engines. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB cluster. - - You can use this setting to enroll your DB cluster into Amazon RDS - Extended Support or to opt out. With RDS Extended Support, you can run - the selected major engine version on your DB cluster past the end of - standard support for that engine version. For more information, see the - following sections: - - - Amazon Aurora - [Amazon RDS Extended Support with Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) - in the *Amazon Aurora User Guide* - - - Amazon RDS - [Amazon RDS Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide* - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - """ - -@dataclass(kw_only=True) -class ModifyDBClusterOutput(_SerdeShape): - """Dataclass for ModifyDBClusterOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBClusterParameterGroupInput(_SerdeShape): - """""" - - db_cluster_parameter_group_name: str | None = ... - """The name of the DB cluster parameter group to modify.""" - parameters: list[Parameter] | None = ... - """ - A list of parameters in the DB cluster parameter group to modify. - - Valid Values (for the application method): `immediate | pending-reboot` - - Note: - You can use the `immediate` value with dynamic parameters only. You can - use the `pending-reboot` value for both dynamic and static parameters. - - When the application method is `immediate`, changes to dynamic - parameters are applied immediately to the DB clusters associated with - the parameter group. When the application method is `pending-reboot`, - changes to dynamic and static parameters are applied after a reboot - without failover to the DB clusters associated with the parameter group. - """ - -@dataclass(kw_only=True) -class ModifyDBClusterParameterGroupOutput(_SerdeShape): - """""" - - db_cluster_parameter_group_name: str | None = ... - """ - The name of the DB cluster parameter group. - - Constraints: - - - Must be 1 to 255 letters or numbers. - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Note: - This value is stored as a lowercase string. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBClusterSnapshotAttributeInput(_SerdeShape): - """""" - - db_cluster_snapshot_identifier: str | None = ... - """The identifier for the DB cluster snapshot to modify the attributes for.""" - attribute_name: str | None = ... - """ - The name of the DB cluster snapshot attribute to modify. - - To manage authorization for other Amazon Web Services accounts to copy - or restore a manual DB cluster snapshot, set this value to `restore`. - - Note: - To view the list of attributes available to modify, use the - DescribeDBClusterSnapshotAttributes API operation. - """ - values_to_add: list[str] | None = ... - """ - A list of DB cluster snapshot attributes to add to the attribute - specified by `AttributeName`. - - To authorize other Amazon Web Services accounts to copy or restore a - manual DB cluster snapshot, set this list to include one or more Amazon - Web Services account IDs, or `all` to make the manual DB cluster - snapshot restorable by any Amazon Web Services account. Do not add the - `all` value for any manual DB cluster snapshots that contain private - information that you don't want available to all Amazon Web Services - accounts. - """ - values_to_remove: list[str] | None = ... - """ - A list of DB cluster snapshot attributes to remove from the attribute - specified by `AttributeName`. - - To remove authorization for other Amazon Web Services accounts to copy - or restore a manual DB cluster snapshot, set this list to include one or - more Amazon Web Services account identifiers, or `all` to remove - authorization for any Amazon Web Services account to copy or restore the - DB cluster snapshot. If you specify `all`, an Amazon Web Services - account whose account ID is explicitly added to the `restore` attribute - can still copy or restore a manual DB cluster snapshot. - """ - -@dataclass(kw_only=True) -class ModifyDBClusterSnapshotAttributeOutput(_SerdeShape): - """Dataclass for ModifyDBClusterSnapshotAttributeOutput structure.""" - - db_cluster_snapshot_attributes_result: ( - DBClusterSnapshotAttributesResult | None - ) = ... - """ - Contains the results of a successful call to the - `DescribeDBClusterSnapshotAttributes` API action. - - Manual DB cluster snapshot attributes are used to authorize other Amazon - Web Services accounts to copy or restore a manual DB cluster snapshot. - For more information, see the `ModifyDBClusterSnapshotAttribute` API - action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBInstanceInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The identifier of DB instance to modify. This value is stored as a - lowercase string. - - Constraints: - - - Must match the identifier of an existing DB instance. - """ - allocated_storage: int | None = ... - """ - The new amount of storage in gibibytes (GiB) to allocate for the DB - instance. - - For RDS for Db2, MariaDB, RDS for MySQL, RDS for Oracle, and RDS for - PostgreSQL, the value supplied must be at least 10% greater than the - current value. Values that are not at least 10% greater than the - existing value are rounded up so that they are 10% greater than the - current value. - - For the valid values for allocated storage for each engine, see - `CreateDBInstance`. - - Constraints: - - - When you increase the allocated storage for a DB instance that uses - Provisioned IOPS (`gp3`, `io1`, or `io2` storage type), you must also - specify the `Iops` parameter. You can use the current value for - `Iops`. - """ - db_instance_class: str | None = ... - """ - The new compute and memory capacity of the DB instance, for example - `db.m4.large`. Not all DB instance classes are available in all Amazon - Web Services Regions, or for all database engines. For the full list of - DB instance classes, and availability for your engine, see [DB Instance - Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide* or [Aurora DB instance - classes](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html) - in the *Amazon Aurora User Guide*. For RDS Custom, see [DB instance - class support for RDS Custom for - Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.instances) - and [DB instance class support for RDS Custom for SQL - Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html#custom-reqs-limits.instancesMS). - - If you modify the DB instance class, an outage occurs during the change. - The change is applied during the next maintenance window, unless you - specify `ApplyImmediately` in your request. - - Default: Uses existing setting - - Constraints: - - - If you are modifying the DB instance class and upgrading the engine - version at the same time, the currently running engine version must be - supported on the specified DB instance class. Otherwise, the operation - returns an error. In this case, first run the operation to upgrade the - engine version, and then run it again to modify the DB instance class. - """ - db_subnet_group_name: str | None = ... - """ - The new DB subnet group for the DB instance. You can use this parameter - to move your DB instance to a different VPC. If your DB instance isn't - in a VPC, you can also use this parameter to move your DB instance into - a VPC. For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Non-VPC2VPC) - in the *Amazon RDS User Guide*. - - Changing the subnet group causes an outage during the change. The change - is applied during the next maintenance window, unless you enable - `ApplyImmediately`. - - This setting doesn't apply to RDS Custom DB instances. - - Constraints: - - - If supplied, must match existing DB subnet group. - - Example: `mydbsubnetgroup` - """ - db_security_groups: list[str] | None = ... - """ - A list of DB security groups to authorize on this DB instance. Changing - this setting doesn't result in an outage and the change is - asynchronously applied as soon as possible. - - This setting doesn't apply to RDS Custom DB instances. - - Constraints: - - - If supplied, must match existing DB security groups. - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of Amazon EC2 VPC security groups to associate with this DB - instance. This change is asynchronously applied as soon as possible. - - This setting doesn't apply to the following DB instances: - - - Amazon Aurora (The associated list of EC2 VPC security groups is - managed by the DB cluster. For more information, see - `ModifyDBCluster`.) - - - RDS Custom - - Constraints: - - - If supplied, must match existing VPC security group IDs. - """ - apply_immediately: bool | None = ... - """ - Specifies whether the modifications in this request and any pending - modifications are asynchronously applied as soon as possible, regardless - of the `PreferredMaintenanceWindow` setting for the DB instance. By - default, this parameter is disabled. - - If this parameter is disabled, changes to the DB instance are applied - during the next maintenance window. Some parameter changes can cause an - outage and are applied on the next call to RebootDBInstance, or the next - failure reboot. Review the table of parameters in [Modifying a DB - Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) - in the *Amazon RDS User Guide* to see the impact of enabling or - disabling `ApplyImmediately` for each modified parameter and to - determine when the changes are applied. - """ - master_user_password: str | None = ... - """ - The new password for the master user. - - Changing this parameter doesn't result in an outage and the change is - asynchronously applied as soon as possible. Between the time of the - request and the completion of the request, the `MasterUserPassword` - element exists in the `PendingModifiedValues` element of the operation - response. - - Note: - Amazon RDS API operations never return the password, so this operation - provides a way to regain access to a primary instance user if the - password is lost. This includes restoring privileges that might have - been accidentally revoked. - - This setting doesn't apply to the following DB instances: - - - Amazon Aurora - - The password for the master user is managed by the DB cluster. For - more information, see `ModifyDBCluster`. - - - RDS Custom - - - RDS for Oracle CDBs in the multi-tenant configuration - - Specify the master password in `ModifyTenantDatabase` instead. - - Default: Uses existing setting - - Constraints: - - - Can't be specified if `ManageMasterUserPassword` is turned on. - - - Can include any printable ASCII character except \"/\", \"\"\", or - \"@\". For RDS for Oracle, can't include the \"&\" (ampersand) or the - \"'\" (single quotes) character. - - Length Constraints: - - - RDS for Db2 - Must contain from 8 to 255 characters. - - - RDS for MariaDB - Must contain from 8 to 41 characters. - - - RDS for Microsoft SQL Server - Must contain from 8 to 128 characters. - - - RDS for MySQL - Must contain from 8 to 41 characters. - - - RDS for Oracle - Must contain from 8 to 30 characters. - - - RDS for PostgreSQL - Must contain from 8 to 128 characters. - """ - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group to apply to the DB instance. - - Changing this setting doesn't result in an outage. The parameter group - name itself is changed immediately, but the actual parameter changes are - not applied until you reboot the instance without failover. In this - case, the DB instance isn't rebooted automatically, and the parameter - changes aren't applied during the next maintenance window. However, if - you modify dynamic parameters in the newly associated DB parameter - group, these changes are applied immediately without a reboot. - - This setting doesn't apply to RDS Custom DB instances. - - Default: Uses existing setting - - Constraints: - - - Must be in the same DB parameter group family as the DB instance. - """ - backup_retention_period: int | None = ... - """ - The number of days to retain automated backups. Setting this parameter - to a positive number enables backups. Setting this parameter to 0 - disables automated backups. - - Note: - Enabling and disabling backups can result in a brief I/O suspension that - lasts from a few seconds to a few minutes, depending on the size and - class of your DB instance. - - These changes are applied during the next maintenance window unless the - `ApplyImmediately` parameter is enabled for this request. If you change - the parameter from one non-zero value to another non-zero value, the - change is asynchronously applied as soon as possible. - - This setting doesn't apply to Amazon Aurora DB instances. The retention - period for automated backups is managed by the DB cluster. For more - information, see `ModifyDBCluster`. - - Default: Uses existing setting - - Constraints: - - - Must be a value from 0 to 35. - - - Can't be set to 0 if the DB instance is a source to read replicas. - - - Can't be set to 0 for an RDS Custom for Oracle DB instance. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, as determined by the - `BackupRetentionPeriod` parameter. Changing this parameter doesn't - result in an outage and the change is asynchronously applied as soon as - possible. The default is a 30-minute window selected at random from an - 8-hour block of time for each Amazon Web Services Region. For more - information, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to Amazon Aurora DB instances. The daily - time range for creating automated backups is managed by the DB cluster. - For more information, see `ModifyDBCluster`. - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - preferred_maintenance_window: str | None = ... - """ - The weekly time range during which system maintenance can occur, which - might result in an outage. Changing this parameter doesn't result in an - outage, except in the following situation, and the change is - asynchronously applied as soon as possible. If there are pending actions - that cause a reboot, and the maintenance window is changed to include - the current time, then changing this parameter causes a reboot of the DB - instance. If you change this window to the current time, there must be - at least 30 minutes between the current time and end of the window to - ensure pending changes are applied. - - For more information, see [Amazon RDS Maintenance - Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance) - in the *Amazon RDS User Guide.* - - Default: Uses existing setting - - Constraints: - - - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. - - - The day values must be `mon | tue | wed | thu | fri | sat | sun`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred backup window. - - - Must be at least 30 minutes. - """ - multi_az: bool | None = ... - """ - Specifies whether the DB instance is a Multi-AZ deployment. Changing - this parameter doesn't result in an outage. The change is applied - during the next maintenance window unless the `ApplyImmediately` - parameter is enabled for this request. - - This setting doesn't apply to RDS Custom DB instances. - """ - engine_version: str | None = ... - """ - The version number of the database engine to upgrade to. Changing this - parameter results in an outage and the change is applied during the next - maintenance window unless the `ApplyImmediately` parameter is enabled - for this request. - - For major version upgrades, if a nondefault DB parameter group is - currently in use, a new DB parameter group in the DB parameter group - family for the new engine version must be specified. The new DB - parameter group can be the default for that DB parameter group family. - - If you specify only a major version, Amazon RDS updates the DB instance - to the default minor version if the current minor version is lower. For - information about valid engine versions, see `CreateDBInstance`, or call - `DescribeDBEngineVersions`. - - If the instance that you're modifying is acting as a read replica, the - engine version that you specify must be the same or higher than the - version that the source DB instance or cluster is running. - - In RDS Custom for Oracle, this parameter is supported for read replicas - only if they are in the `PATCH_DB_FAILURE` lifecycle. - - Constraints: - - - If you are upgrading the engine version and modifying the DB instance - class at the same time, the currently running engine version must be - supported on the specified DB instance class. Otherwise, the operation - returns an error. In this case, first run the operation to upgrade the - engine version, and then run it again to modify the DB instance class. - """ - allow_major_version_upgrade: bool | None = ... - """ - Specifies whether major version upgrades are allowed. Changing this - parameter doesn't result in an outage and the change is asynchronously - applied as soon as possible. - - This setting doesn't apply to RDS Custom DB instances. - - Constraints: - - - Major version upgrades must be allowed when specifying a value for the - `EngineVersion` parameter that's a different major version than the - DB instance's current version. - """ - auto_minor_version_upgrade: bool | None = ... - """ - Specifies whether minor version upgrades are applied automatically to - the DB instance during the maintenance window. An outage occurs when all - the following conditions are met: - - - The automatic upgrade is enabled for the maintenance window. - - - A newer minor version is available. - - - RDS has enabled automatic patching for the engine version. - - If any of the preceding conditions isn't met, Amazon RDS applies the - change as soon as possible and doesn't cause an outage. - - For an RDS Custom DB instance, don't enable this setting. Otherwise, - the operation returns an error. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - license_model: str | None = ... - """ - The license model for the DB instance. - - This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. - - Valid Values: - - - RDS for Db2 - `bring-your-own-license` - - - RDS for MariaDB - `general-public-license` - - - RDS for Microsoft SQL Server - - `license-included | bring-your-own-media` - - - RDS for MySQL - `general-public-license` - - - RDS for Oracle - `bring-your-own-license | license-included` - - - RDS for PostgreSQL - `postgresql-license` - """ - iops: int | None = ... - """ - The new Provisioned IOPS (I/O operations per second) value for the RDS - instance. - - Changing this setting doesn't result in an outage and the change is - applied during the next maintenance window unless the `ApplyImmediately` - parameter is enabled for this request. If you are migrating from - Provisioned IOPS to standard storage, set this value to 0. The DB - instance will require a reboot for the change in storage type to take - effect. - - If you choose to migrate your DB instance from using standard storage to - Provisioned IOPS (io1), or from Provisioned IOPS to standard storage, - the process can take time. The duration of the migration depends on - several factors such as database load, storage size, storage type - (standard or Provisioned IOPS), amount of IOPS provisioned (if any), and - the number of prior scale storage operations. Typical migration times - are under 24 hours, but the process can take up to several days in some - cases. During the migration, the DB instance is available for use, but - might experience performance degradation. While the migration takes - place, nightly backups for the instance are suspended. No other Amazon - RDS operations can take place for the instance, including modifying the - instance, rebooting the instance, deleting the instance, creating a read - replica for the instance, and creating a DB snapshot of the instance. - - Constraints: - - - For RDS for MariaDB, RDS for MySQL, RDS for Oracle, and RDS for - PostgreSQL - The value supplied must be at least 10% greater than the - current value. Values that are not at least 10% greater than the - existing value are rounded up so that they are 10% greater than the - current value. - - - When you increase the Provisioned IOPS, you must also specify the - `AllocatedStorage` parameter. You can use the current value for - `AllocatedStorage`. - - Default: Uses existing setting - """ - storage_throughput: int | None = ... - """ - The storage throughput value for the DB instance. - - This setting applies only to the `gp3` storage type. - - This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. - """ - option_group_name: str | None = ... - """ - The option group to associate the DB instance with. - - Changing this parameter doesn't result in an outage, with one - exception. If the parameter change results in an option group that - enables OEM, it can cause a brief period, lasting less than a second, - during which new connections are rejected but existing connections - aren't interrupted. - - The change is applied during the next maintenance window unless the - `ApplyImmediately` parameter is enabled for this request. - - Permanent options, such as the TDE option for Oracle Advanced Security - TDE, can't be removed from an option group, and that option group - can't be removed from a DB instance after it is associated with a DB - instance. - - This setting doesn't apply to RDS Custom DB instances. - """ - new_db_instance_identifier: str | None = ... - """ - The new identifier for the DB instance when renaming a DB instance. When - you change the DB instance identifier, an instance reboot occurs - immediately if you enable `ApplyImmediately`, or will occur during the - next maintenance window if you disable `ApplyImmediately`. This value is - stored as a lowercase string. - - This setting doesn't apply to RDS Custom DB instances. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens. - - - The first character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `mydbinstance` - """ - storage_type: str | None = ... - """ - The storage type to associate with the DB instance. - - If you specify `io1`, `io2`, or `gp3` you must also include a value for - the `Iops` parameter. - - If you choose to migrate your DB instance from using standard storage to - gp2 (General Purpose SSD), gp3, or Provisioned IOPS (io1), or from these - storage types to standard storage, the process can take time. The - duration of the migration depends on several factors such as database - load, storage size, storage type (standard or Provisioned IOPS), amount - of IOPS provisioned (if any), and the number of prior scale storage - operations. Typical migration times are under 24 hours, but the process - can take up to several days in some cases. During the migration, the DB - instance is available for use, but might experience performance - degradation. While the migration takes place, nightly backups for the - instance are suspended. No other Amazon RDS operations can take place - for the instance, including modifying the instance, rebooting the - instance, deleting the instance, creating a read replica for the - instance, and creating a DB snapshot of the instance. - - Valid Values: `gp2 | gp3 | io1 | io2 | standard` - - Default: `io1`, if the `Iops` parameter is specified. Otherwise, `gp2`. - """ - tde_credential_arn: str | None = ... - """ - The ARN from the key store with which to associate the instance for TDE - encryption. - - This setting doesn't apply to RDS Custom DB instances. - """ - tde_credential_password: str | None = ... - """ - The password for the given ARN from the key store in order to access the - device. - - This setting doesn't apply to RDS Custom DB instances. - """ - ca_certificate_identifier: str | None = ... - """ - The CA certificate identifier to use for the DB instance's server - certificate. - - This setting doesn't apply to RDS Custom DB instances. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - domain: str | None = ... - """ - The Active Directory directory ID to move the DB instance to. Specify - `none` to remove the instance from its current domain. You must create - the domain before this operation. Currently, you can create only Db2, - MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in an - Active Directory Domain. - - For more information, see [Kerberos - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - """ - domain_fqdn: str | None = ... - """ - The fully qualified domain name (FQDN) of an Active Directory domain. - - Constraints: - - - Can't be longer than 64 characters. - - Example: `mymanagedADtest.mymanagedAD.mydomain` - """ - domain_ou: str | None = ... - """ - The Active Directory organizational unit for your DB instance to join. - - Constraints: - - - Must be in the distinguished name format. - - Example: - `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` - """ - domain_auth_secret_arn: str | None = ... - """ - The ARN for the Secrets Manager secret with the credentials for the user - joining the domain. - - Example: - `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` - """ - domain_dns_ips: list[str] | None = ... - """ - The IPv4 DNS IP addresses of your primary and secondary Active Directory - domain controllers. - - Constraints: - - - Two IP addresses must be provided. If there isn't a secondary domain - controller, use the IP address of the primary domain controller for - both entries in the list. - - Example: `123.124.125.126,234.235.236.237` - """ - disable_domain: bool | None = ... - """ - Specifies whether to remove the DB instance from the Active Directory - domain. - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the DB instance to snapshots of - the DB instance. By default, tags aren't copied. - - This setting doesn't apply to Amazon Aurora DB instances. Copying tags - to snapshots is managed by the DB cluster. Setting this value for an - Aurora DB instance has no effect on the DB cluster setting. For more - information, see `ModifyDBCluster`. - """ - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the DB instance. To disable collection of - Enhanced Monitoring metrics, specify `0`. - - If `MonitoringRoleArn` is specified, set `MonitoringInterval` to a value - other than `0`. - - This setting doesn't apply to RDS Custom DB instances. - - Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` - - Default: `0` - """ - db_port_number: int | None = ... - """ - The port number on which the database accepts connections. - - The value of the `DBPortNumber` parameter must not match any of the port - values specified for options in the option group for the DB instance. - - If you change the `DBPortNumber` value, your database restarts - regardless of the value of the `ApplyImmediately` parameter. - - This setting doesn't apply to RDS Custom DB instances. - - Valid Values: `1150-65535` - - Default: - - - Amazon Aurora - `3306` - - - RDS for Db2 - `50000` - - - RDS for MariaDB - `3306` - - - RDS for Microsoft SQL Server - `1433` - - - RDS for MySQL - `3306` - - - RDS for Oracle - `1521` - - - RDS for PostgreSQL - `5432` - - Constraints: - - - For RDS for Microsoft SQL Server, the value can't be `1234`, `1434`, - `3260`, `3343`, `3389`, `47001`, or `49152-49156`. - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB instance is publicly accessible. - - When the DB instance is publicly accessible and you connect from outside - of the DB instance's virtual private cloud (VPC), its Domain Name - System (DNS) endpoint resolves to the public IP address. When you - connect from within the same VPC as the DB instance, the endpoint - resolves to the private IP address. Access to the DB instance is - ultimately controlled by the security group it uses. That public access - isn't permitted if the security group assigned to the DB instance - doesn't permit it. - - When the DB instance isn't publicly accessible, it is an internal DB - instance with a DNS name that resolves to a private IP address. - - `PubliclyAccessible` only applies to DB instances in a VPC. The DB - instance must be part of a public subnet and `PubliclyAccessible` must - be enabled for it to be publicly accessible. - - Changes to the `PubliclyAccessible` parameter are applied immediately - regardless of the value of the `ApplyImmediately` parameter. - """ - monitoring_role_arn: str | None = ... - """ - The ARN for the IAM role that permits RDS to send enhanced monitoring - metrics to Amazon CloudWatch Logs. For example, - `arn:aws:iam:123456789012:role/emaccess`. For information on creating a - monitoring role, see [To create an IAM role for Amazon RDS Enhanced - Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole) - in the *Amazon RDS User Guide.* - - If `MonitoringInterval` is set to a value other than `0`, supply a - `MonitoringRoleArn` value. - - This setting doesn't apply to RDS Custom DB instances. - """ - domain_iam_role_name: str | None = ... - """ - The name of the IAM role to use when making API calls to the Directory - Service. - - This setting doesn't apply to RDS Custom DB instances. - """ - promotion_tier: int | None = ... - """ - The order of priority in which an Aurora Replica is promoted to the - primary instance after a failure of the existing primary instance. For - more information, see [Fault Tolerance for an Aurora DB - Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance) - in the *Amazon Aurora User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - - Default: `1` - - Valid Values: `0 - 15` - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - This setting doesn't apply to Amazon Aurora. Mapping Amazon Web - Services IAM accounts to database accounts is managed by the DB cluster. - - For more information about IAM database authentication, see [IAM - Database Authentication for MySQL and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide.* - - This setting doesn't apply to RDS Custom DB instances. - """ - database_insights_mode: str | None = ... - """ - Specifies the mode of Database Insights to enable for the DB instance. - - Note: - Aurora DB instances inherit this value from the DB cluster, so you - can't change this value. - """ - enable_performance_insights: bool | None = ... - """ - Specifies whether to enable Performance Insights for the DB instance. - - For more information, see [Using Amazon Performance - Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - """ - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - If you don't specify a value for `PerformanceInsightsKMSKeyId`, then - Amazon RDS uses your default KMS key. There is a default KMS key for - your Amazon Web Services account. Your Amazon Web Services account has a - different default KMS key for each Amazon Web Services Region. - - This setting doesn't apply to RDS Custom DB instances. - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. - - This setting doesn't apply to RDS Custom DB instances. - - Valid Values: - - - `7` - - - *month* * 31, where *month* is a number of months from 1-23. - Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 - months * 31) - - - `731` - - Default: `7` days - - If you specify a retention period that isn't valid, such as `94`, - Amazon RDS returns an error. - """ - cloudwatch_logs_export_configuration: CloudwatchLogsExportConfiguration | None = ... - """ - The log types to be enabled for export to CloudWatch Logs for a specific - DB instance. - - A change to the `CloudwatchLogsExportConfiguration` parameter is always - applied to the DB instance immediately. Therefore, the - `ApplyImmediately` parameter has no effect. - - This setting doesn't apply to RDS Custom DB instances. - - The following values are valid for each DB engine: - - - Aurora MySQL - - `audit | error | general | slowquery | iam-db-auth-error` - - - Aurora PostgreSQL - `postgresql | iam-db-auth-error` - - - RDS for MySQL - `error | general | slowquery | iam-db-auth-error` - - - RDS for PostgreSQL - `postgresql | upgrade | iam-db-auth-error` - - For more information about exporting CloudWatch Logs for Amazon RDS, see - [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - For more information about exporting CloudWatch Logs for Amazon Aurora, - see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon Aurora User Guide*. - """ - processor_features: list[ProcessorFeature] | None = ... - """ - The number of CPU cores and the number of threads per core for the DB - instance class of the DB instance. - - This setting doesn't apply to RDS Custom DB instances. - """ - use_default_processor_features: bool | None = ... - """ - Specifies whether the DB instance class of the DB instance uses its - default processor features. - - This setting doesn't apply to RDS Custom DB instances. - """ - deletion_protection: bool | None = ... - """ - Specifies whether the DB instance has deletion protection enabled. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. For more information, see - [Deleting a DB - Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). - - This setting doesn't apply to Amazon Aurora DB instances. You can - enable or disable deletion protection for the DB cluster. For more - information, see `ModifyDBCluster`. DB instances in a DB cluster can be - deleted even when deletion protection is enabled for the DB cluster. - """ - max_allocated_storage: int | None = ... - """ - The upper limit in gibibytes (GiB) to which Amazon RDS can automatically - scale the storage of the DB instance. - - For more information about this setting, including limitations that - apply to it, see [Managing capacity automatically with Amazon RDS - storage - autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - """ - certificate_rotation_restart: bool | None = ... - """ - Specifies whether the DB instance is restarted when you rotate your - SSL/TLS certificate. - - By default, the DB instance is restarted when you rotate your SSL/TLS - certificate. The certificate is not updated until the DB instance is - restarted. - - Warning: - Set this parameter only if you are *not* using SSL/TLS to connect to the - DB instance. - - If you are using SSL/TLS to connect to the DB instance, follow the - appropriate instructions for your DB engine to rotate your SSL/TLS - certificate: - - - For more information about rotating your SSL/TLS certificate for RDS - DB engines, see [Rotating Your SSL/TLS - Certificate.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html) - in the *Amazon RDS User Guide.* - - - For more information about rotating your SSL/TLS certificate for - Aurora DB engines, see [Rotating Your SSL/TLS - Certificate](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html) - in the *Amazon Aurora User Guide*. - - This setting doesn't apply to RDS Custom DB instances. - """ - replica_mode: str | None = ... - """ - The open mode of a replica database. - - This parameter is only supported for Db2 DB instances and Oracle DB - instances. - - Db2 - - : Standby DB replicas are included in Db2 Advanced Edition (AE), Db2 - Community Edition (CE), and Db2 Standard Edition (SE). The main use - case for standby replicas is cross-Region disaster recovery. Because - it doesn't accept user connections, a standby replica can't serve a - read-only workload. - - You can create a combination of standby and read-only DB replicas for - the same primary DB instance. For more information, see [Working with - replicas for Amazon RDS for - Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-replication.html) - in the *Amazon RDS User Guide*. - - To create standby DB replicas for RDS for Db2, set this parameter to - `mounted`. - - Oracle - - : Mounted DB replicas are included in Oracle Database Enterprise - Edition. The main use case for mounted replicas is cross-Region - disaster recovery. The primary database doesn't use Active Data Guard - to transmit information to the mounted replica. Because it doesn't - accept user connections, a mounted replica can't serve a read-only - workload. - - You can create a combination of mounted and read-only DB replicas for - the same primary DB instance. For more information, see [Working with - read replicas for Amazon RDS for - Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) - in the *Amazon RDS User Guide*. - - For RDS Custom, you must specify this parameter and set it to - `mounted`. The value won't be set by default. After replica creation, - you can manage the open mode manually. - """ - automation_mode: str | None = ... - """ - The automation mode of the RDS Custom DB instance. If `full`, the DB - instance automates monitoring and instance recovery. If `all paused`, - the instance pauses automation for the duration set by - `ResumeFullAutomationModeMinutes`. - """ - resume_full_automation_mode_minutes: int | None = ... - """ - The number of minutes to pause the automation. When the time period - ends, RDS Custom resumes full automation. - - Default: `60` - - Constraints: - - - Must be at least 60. - - - Must be no more than 1,440. - """ - enable_customer_owned_ip: bool | None = ... - """ - Specifies whether to enable a customer-owned IP address (CoIP) for an - RDS on Outposts DB instance. - - A *CoIP* provides local or external connectivity to resources in your - Outpost subnets through your on-premises network. For some use cases, a - CoIP can provide lower latency for connections to the DB instance from - outside of its virtual private cloud (VPC) on your local network. - - For more information about RDS on Outposts, see [Working with Amazon RDS - on Amazon Web Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide*. - - For more information about CoIPs, see [Customer-owned IP - addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the *Amazon Web Services Outposts User Guide*. - """ - network_type: str | None = ... - """ - The network type of the DB instance. - - The network type is determined by the `DBSubnetGroup` specified for the - DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon RDS User Guide.* - - Valid Values: `IPV4 | DUAL` - """ - aws_backup_recovery_point_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the recovery point in Amazon Web - Services Backup. - - This setting doesn't apply to RDS Custom DB instances. - """ - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager. - - If the DB instance doesn't manage the master user password with Amazon - Web Services Secrets Manager, you can turn on this management. In this - case, you can't specify `MasterUserPassword`. - - If the DB instance already manages the master user password with Amazon - Web Services Secrets Manager, and you specify that the master user - password is not managed with Amazon Web Services Secrets Manager, then - you must specify `MasterUserPassword`. In this case, Amazon RDS deletes - the secret and uses the new password for the master user specified by - `MasterUserPassword`. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide.* - - Constraints: - - - Can't manage the master user password with Amazon Web Services - Secrets Manager if `MasterUserPassword` is specified. - - - Can't specify for RDS for Oracle CDB instances in the multi-tenant - configuration. Use `ModifyTenantDatabase` instead. - - - Can't specify the parameters `ManageMasterUserPassword` and - `MultiTenant` in the same operation. - """ - rotate_master_user_password: bool | None = ... - """ - Specifies whether to rotate the secret managed by Amazon Web Services - Secrets Manager for the master user password. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB instance. The secret - value contains the updated password. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide.* - - Constraints: - - - You must apply the change immediately when rotating the master user - password. - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if both of the following conditions are met: - - - The DB instance doesn't manage the master user password in Amazon Web - Services Secrets Manager. - - If the DB instance already manages the master user password in Amazon - Web Services Secrets Manager, you can't change the KMS key used to - encrypt the secret. - - - You are turning on `ManageMasterUserPassword` to manage the master - user password in Amazon Web Services Secrets Manager. - - If you are turning on `ManageMasterUserPassword` and don't specify - `MasterUserSecretKmsKeyId`, then the `aws/secretsmanager` KMS key is - used to encrypt the secret. If the secret is in a different Amazon Web - Services account, then you can't use the `aws/secretsmanager` KMS key - to encrypt the secret, and you must use a customer managed KMS key. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - """ - multi_tenant: bool | None = ... - """ - Specifies whether the to convert your DB instance from the single-tenant - configuration to the multi-tenant configuration. This parameter is - supported only for RDS for Oracle CDB instances. - - During the conversion, RDS creates an initial tenant database and - associates the DB name, master user name, character set, and national - character set metadata with this database. The tags associated with the - instance also propagate to the initial tenant database. You can add more - tenant databases to your DB instance by using the `CreateTenantDatabase` - operation. - - Warning: - The conversion to the multi-tenant configuration is permanent and - irreversible, so you can't later convert back to the single-tenant - configuration. When you specify this parameter, you must also specify - `ApplyImmediately`. - """ - dedicated_log_volume: bool | None = ... - """ - Indicates whether the DB instance has a dedicated log volume (DLV) - enabled. - """ - engine: str | None = ... - """ - The target Oracle DB engine when you convert a non-CDB to a CDB. This - intermediate step is necessary to upgrade an Oracle Database 19c non-CDB - to an Oracle Database 21c CDB. - - Note the following requirements: - - - Make sure that you specify `oracle-ee-cdb` or `oracle-se2-cdb`. - - - Make sure that your DB engine runs Oracle Database 19c with an April - 2021 or later RU. - - Note the following limitations: - - - You can't convert a CDB to a non-CDB. - - - You can't convert a replica database. - - - You can't convert a non-CDB to a CDB and upgrade the engine version - in the same command. - - - You can't convert the existing custom parameter or option group when - it has options or parameters that are permanent or persistent. In this - situation, the DB instance reverts to the default option and parameter - group. To avoid reverting to the default, specify a new parameter - group with `--db-parameter-group-name` and a new option group with - `--option-group-name`. - """ - additional_storage_volumes: list[ModifyAdditionalStorageVolume] | None = ... - """ - A list of additional storage volumes to modify or delete for the DB - instance. You can create up to 3 additional storage volumes. Additional - storage volumes are supported for RDS for Oracle and RDS for SQL Server - DB instances only. - """ - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation for the DB - instance to use. You can specify the identifier, which has the prefix - `dbcr-`, or the reservation name. After the modification completes, the - DB instance uses reserved capacity from this reservation. - - You can't change the DB capacity reservation of a DB instance on its - own. A request that changes the reservation must also change the DB - instance class, the Multi-AZ setting, the license model, or the engine. - Therefore, this request always changes the configuration of the DB - instance. - - If the DB instance already uses the reservation that you specify, this - requirement doesn't apply. You can then change another setting, such as - the Multi-AZ setting, and keep the reservation. - - For a DB instance that uses no reservation, change `DBInstanceClass` to - the DB instance class that the reservation reserves. A reservation - reserves capacity for one DB instance class, so that change moves the DB - instance onto the reserved capacity. That change also resizes the DB - instance, which interrupts it. - - If the DB instance already runs the DB instance class that the - reservation reserves, change `MultiAZ` or `LicenseModel` instead. Only - RDS for Oracle and RDS for Microsoft SQL Server accept a change of - license model, so `MultiAZ` is the remaining choice for every other - engine. - - Warning: - If you don't specify this parameter, Amazon RDS moves the DB instance - to unreserved capacity, and it releases the reserved capacity that the - DB instance holds. A request that changes the DB instance class, the - Multi-AZ setting, the license model, or the engine moves the DB instance - to different hardware, and Amazon RDS places the DB instance on - unreserved capacity. Therefore, to keep the DB instance on reserved - capacity, specify this parameter in every request that changes any of - those settings. - - The DB instance keeps its current reservation until Amazon RDS applies - the modification. Until then, the `DBCapacityReservationIdentifier` - field of the DB instance still reports that reservation, and - `PendingModifiedValues` reports no reservation. Amazon RDS releases the - reserved capacity when it moves the DB instance. - - Constraints: - - - If the request changes which DB capacity reservation the DB instance - uses, it must also set a new value for `DBInstanceClass`, `MultiAZ`, - `LicenseModel`, or `Engine`. The new value must differ from the - current value. The only engine change that `ModifyDBInstance` supports - is a conversion to the CDB architecture. Repeating the current value - doesn't satisfy this requirement. This requirement applies both when - the DB instance uses no reservation, and when it moves to a different - reservation. - - - The reservation must reserve capacity for the DB instance class that - the DB instance uses after the modification, and for the database - engine of the DB instance. Therefore, when the request changes - `DBInstanceClass`, the reservation reserves capacity for a DB instance - class that the DB instance doesn't use today. - - - The reservation must be in the `active` state, and it must not be past - its end date. - - - The reservation must have available capacity in each Availability Zone - that the DB instance uses after the modification. - - - The reservation must cover the Availability Zone of the DB instance, - except when the request changes the DB instance from Multi-AZ to - Single-AZ. - - - For a Multi-AZ DB instance, the reservation must cover two or more - Availability Zones. A Multi-AZ DB instance uses one unit of reserved - capacity in each of two Availability Zones. - - - If the DB instance is already Multi-AZ, the reservation must cover - both of its Availability Zones. If the request converts the DB - instance to Multi-AZ, the reservation must cover the current - Availability Zone of the DB instance, and Amazon RDS chooses the - second Availability Zone from the reservation. - - - If the reservation reserves capacity for a specific license model, the - license model of the DB instance must match it. Amazon RDS checks the - license model only when the request specifies `LicenseModel`. - - - You can't specify this parameter together with a change to - `DBSubnetGroupName`. - - - You can't specify this parameter together with a change to both - `DBInstanceClass` and `LicenseModel`. Submit those changes as two - separate requests. - - - Can't be specified together with a change to `DBInstanceClass` when - the request also changes the DB instance from Multi-AZ to Single-AZ. - - - When the request changes the DB instance from Multi-AZ to Single-AZ, - the reservation must cover either the primary or the secondary - Availability Zone of the DB instance. Amazon RDS keeps the DB instance - in its primary Availability Zone, and it removes the standby replica. - Therefore, the primary Availability Zone keeps its unit of reserved - capacity, and the secondary Availability Zone releases its unit. - - - Can't be specified together with `LicenseModel` while a modification - of the DB instance class or the Multi-AZ setting is pending. - - - Can't be specified together with `DBInstanceClass` or `MultiAZ` while - a modification of the license model is pending. - - - When a modification is already pending, the reservation must reserve - capacity for the DB instance as it will be after both the pending - modification and the requested modification complete. - - - The DB subnet group must be in a VPC with default tenancy. - - - The DB subnet group must cover each Availability Zone that the DB - instance uses. - - - Isn't supported for an RDS on Outposts DB instance. - - - If the reservation expires within one week, you must also enable - `ApplyImmediately`. Otherwise, choose a reservation with a later end - date. - - - Amazon RDS holds a unit of reserved capacity for the DB instance when - it accepts the request, even when the modification waits for the - maintenance window. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB instance. - - Valid Values: - - - `auto-backup` - The DB instance's automated backup. - """ - master_user_authentication_type: str | None = ... - """ - Specifies the authentication type for the master user. With IAM master - user authentication, you can change the master DB user to use IAM - database authentication. - - You can specify one of the following values: - - - `password` - Use standard database authentication with a password. - - - `iam-db-auth` - Use IAM database authentication for the master user. - - This option is only valid for RDS for PostgreSQL and Aurora PostgreSQL - engines. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB instance. - - This setting applies only to RDS for MySQL and RDS for PostgreSQL. For - Amazon Aurora DB instances, the engine lifecycle support is managed by - the DB cluster. - - You can use this setting to enroll your DB instance into Amazon RDS - Extended Support or to opt out. With RDS Extended Support, you can run - the selected major engine version on your DB instance past the end of - standard support for that engine version. For more information, see - [Amazon RDS Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide*. - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - This setting doesn't apply to RDS Custom DB instances. - """ - -@dataclass(kw_only=True) -class ModifyDBInstanceOutput(_SerdeShape): - """Dataclass for ModifyDBInstanceOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBParameterGroupInput(_SerdeShape): - """""" - - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group. - - Constraints: - - - If supplied, must match the name of an existing `DBParameterGroup`. - """ - parameters: list[Parameter] | None = ... - """ - An array of parameter names, values, and the application methods for the - parameter update. At least one parameter name, value, and application - method must be supplied; later arguments are optional. A maximum of 20 - parameters can be modified in a single request. - - Valid Values (for the application method): `immediate | pending-reboot` - - You can use the `immediate` value with dynamic parameters only. You can - use the `pending-reboot` value for both dynamic and static parameters. - - When the application method is `immediate`, changes to dynamic - parameters are applied immediately to the DB instances associated with - the parameter group. - - When the application method is `pending-reboot`, changes to dynamic and - static parameters are applied after a reboot without failover to the DB - instances associated with the parameter group. - - Note: - You can't use `pending-reboot` with dynamic parameters on RDS for SQL - Server DB instances. Use `immediate`. - - For more information on modifying DB parameters, see [Working with DB - parameter - groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html) - in the *Amazon RDS User Guide*. - """ - -@dataclass(kw_only=True) -class ModifyDBParameterGroupOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `ModifyDBParameterGroup` or `ResetDBParameterGroup` operation. - """ - - db_parameter_group_name: str | None = ... - """The name of the DB parameter group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBProxyEndpointInput(_SerdeShape): - """Dataclass for ModifyDBProxyEndpointInput structure.""" - - db_proxy_endpoint_name: str | None = ... - """ - The name of the DB proxy sociated with the DB proxy endpoint that you - want to modify. - """ - new_db_proxy_endpoint_name: str | None = ... - """ - The new identifier for the `DBProxyEndpoint`. An identifier must begin - with a letter and must contain only ASCII letters, digits, and hyphens; - it can't end with a hyphen or contain two consecutive hyphens. - """ - vpc_security_group_ids: list[str] | None = ... - """ - The VPC security group IDs for the DB proxy endpoint. When the DB proxy - endpoint uses a different VPC than the original proxy, you also specify - a different set of security group IDs than for the original proxy. - """ - -@dataclass(kw_only=True) -class ModifyDBProxyEndpointOutput(_SerdeShape): - """Dataclass for ModifyDBProxyEndpointOutput structure.""" - - db_proxy_endpoint: DBProxyEndpoint | None = ... - """ - The `DBProxyEndpoint` object representing the new settings for the DB - proxy endpoint. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBProxyInput(_SerdeShape): - """Dataclass for ModifyDBProxyInput structure.""" - - db_proxy_name: str | None = ... - """The identifier for the `DBProxy` to modify.""" - new_db_proxy_name: str | None = ... - """ - The new identifier for the `DBProxy`. An identifier must begin with a - letter and must contain only ASCII letters, digits, and hyphens; it - can't end with a hyphen or contain two consecutive hyphens. - """ - default_auth_scheme: str | None = ... - """ - The default authentication scheme that the proxy uses for client - connections to the proxy and connections from the proxy to the - underlying database. Valid values are `NONE` and `IAM_AUTH`. When set to - `IAM_AUTH`, the proxy uses end-to-end IAM authentication to connect to - the database. - """ - auth: list[UserAuthConfig] | None = ... - """The new authentication settings for the `DBProxy`.""" - require_tls: bool | None = ... - """ - Whether Transport Layer Security (TLS) encryption is required for - connections to the proxy. By enabling this setting, you can enforce - encrypted TLS connections to the proxy, even if the associated database - doesn't use TLS. - """ - idle_client_timeout: int | None = ... - """ - The number of seconds that a connection to the proxy can be inactive - before the proxy disconnects it. You can set this value higher or lower - than the connection timeout limit for the associated database. - """ - debug_logging: bool | None = ... - """ - Specifies whether the proxy logs detailed connection and query - information. When you enable `DebugLogging`, the proxy captures - connection details and connection pool behavior from your queries. Debug - logging increases CloudWatch costs and can impact proxy performance. - Enable this option only when you need to troubleshoot connection or - performance issues. - """ - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role that the proxy uses to - access secrets in Amazon Web Services Secrets Manager. - """ - security_groups: list[str] | None = ... - """The new list of security groups for the `DBProxy`.""" - -@dataclass(kw_only=True) -class ModifyDBProxyOutput(_SerdeShape): - """Dataclass for ModifyDBProxyOutput structure.""" - - db_proxy: DBProxy | None = ... - """The `DBProxy` object representing the new settings for the proxy.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBProxyTargetGroupInput(_SerdeShape): - """Dataclass for ModifyDBProxyTargetGroupInput structure.""" - - target_group_name: str | None = ... - """The name of the target group to modify.""" - db_proxy_name: str | None = ... - """The name of the proxy.""" - connection_pool_config: ConnectionPoolConfiguration | None = ... - """ - The settings that determine the size and behavior of the connection pool - for the target group. - """ - new_name: str | None = ... - """ - The new name for the modified `DBProxyTarget`. An identifier must begin - with a letter and must contain only ASCII letters, digits, and hyphens; - it can't end with a hyphen or contain two consecutive hyphens. - - You can't rename the `default` target group. - """ - -@dataclass(kw_only=True) -class ModifyDBProxyTargetGroupOutput(_SerdeShape): - """Dataclass for ModifyDBProxyTargetGroupOutput structure.""" - - db_proxy_target_group: DBProxyTargetGroup | None = ... - """The settings of the modified `DBProxyTarget`.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBRecommendationInput(_SerdeShape): - """Dataclass for ModifyDBRecommendationInput structure.""" - - recommendation_id: str | None = ... - """The identifier of the recommendation to update.""" - locale: str | None = ... - """The language of the modified recommendation.""" - status: str | None = ... - """ - The recommendation status to update. - - Valid values: - - - active - - - dismissed - """ - recommended_action_updates: list[RecommendedActionUpdate] | None = ... - """ - The list of recommended action status to update. You can update multiple - recommended actions at one time. - """ - -@dataclass(kw_only=True) -class ModifyDBRecommendationOutput(_SerdeShape): - """Dataclass for ModifyDBRecommendationOutput structure.""" - - db_recommendation: DBRecommendation | None = ... - """ - The recommendation for your DB instances, DB clusters, and DB parameter - groups. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBShardGroupInput(_SerdeShape): - """Dataclass for ModifyDBShardGroupInput structure.""" - - db_shard_group_identifier: str | None = ... - """The name of the DB shard group to modify.""" - max_acu: float | None = ... - """ - The maximum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - min_acu: float | None = ... - """ - The minimum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - compute_redundancy: int | None = ... - """ - Specifies whether to create standby DB shard groups for the DB shard - group. Valid values are the following: - - - 0 - Creates a DB shard group without a standby DB shard group. This is - the default value. - - - 1 - Creates a DB shard group with a standby DB shard group in a - different Availability Zone (AZ). - - - 2 - Creates a DB shard group with two standby DB shard groups in two - different AZs. - """ - -@dataclass(kw_only=True) -class ModifyDBShardGroupOutput(_SerdeShape): - """Contains the details for an Amazon RDS DB shard group.""" - - db_shard_group_resource_id: str | None = ... - """ - The Amazon Web Services Region-unique, immutable identifier for the DB - shard group. - """ - db_shard_group_identifier: str | None = ... - """The name of the DB shard group.""" - db_cluster_identifier: str | None = ... - """The name of the primary DB cluster for the DB shard group.""" - max_acu: float | None = ... - """ - The maximum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - min_acu: float | None = ... - """ - The minimum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - compute_redundancy: int | None = ... - """ - Specifies whether to create standby DB shard groups for the DB shard - group. Valid values are the following: - - - 0 - Creates a DB shard group without a standby DB shard group. This is - the default value. - - - 1 - Creates a DB shard group with a standby DB shard group in a - different Availability Zone (AZ). - - - 2 - Creates a DB shard group with two standby DB shard groups in two - different AZs. - """ - status: str | None = ... - """The status of the DB shard group.""" - publicly_accessible: bool | None = ... - """ - Indicates whether the DB shard group is publicly accessible. - - When the DB shard group is publicly accessible, its Domain Name System - (DNS) endpoint resolves to the private IP address from within the DB - shard group's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB shard group's VPC. Access to the DB - shard group is ultimately controlled by the security group it uses. That - public access isn't permitted if the security group assigned to the DB - shard group doesn't permit it. - - When the DB shard group isn't publicly accessible, it is an internal DB - shard group with a DNS name that resolves to a private IP address. - - For more information, see CreateDBShardGroup. - - This setting is only for Aurora Limitless Database. - """ - endpoint: str | None = ... - """The connection endpoint for the DB shard group.""" - db_shard_group_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB shard group.""" - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBSnapshotAttributeInput(_SerdeShape): - """""" - - db_snapshot_identifier: str | None = ... - """The identifier for the DB snapshot to modify the attributes for.""" - attribute_name: str | None = ... - """ - The name of the DB snapshot attribute to modify. - - To manage authorization for other Amazon Web Services accounts to copy - or restore a manual DB snapshot, set this value to `restore`. - - Note: - To view the list of attributes available to modify, use the - DescribeDBSnapshotAttributes API operation. - """ - values_to_add: list[str] | None = ... - """ - A list of DB snapshot attributes to add to the attribute specified by - `AttributeName`. - - To authorize other Amazon Web Services accounts to copy or restore a - manual snapshot, set this list to include one or more Amazon Web - Services account IDs, or `all` to make the manual DB snapshot restorable - by any Amazon Web Services account. Do not add the `all` value for any - manual DB snapshots that contain private information that you don't - want available to all Amazon Web Services accounts. - """ - values_to_remove: list[str] | None = ... - """ - A list of DB snapshot attributes to remove from the attribute specified - by `AttributeName`. - - To remove authorization for other Amazon Web Services accounts to copy - or restore a manual snapshot, set this list to include one or more - Amazon Web Services account identifiers, or `all` to remove - authorization for any Amazon Web Services account to copy or restore the - DB snapshot. If you specify `all`, an Amazon Web Services account whose - account ID is explicitly added to the `restore` attribute can still copy - or restore the manual DB snapshot. - """ - -@dataclass(kw_only=True) -class ModifyDBSnapshotAttributeOutput(_SerdeShape): - """Dataclass for ModifyDBSnapshotAttributeOutput structure.""" - - db_snapshot_attributes_result: DBSnapshotAttributesResult | None = ... - """ - Contains the results of a successful call to the - `DescribeDBSnapshotAttributes` API action. - - Manual DB snapshot attributes are used to authorize other Amazon Web - Services accounts to copy or restore a manual DB snapshot. For more - information, see the `ModifyDBSnapshotAttribute` API action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBSnapshotInput(_SerdeShape): - """Dataclass for ModifyDBSnapshotInput structure.""" - - db_snapshot_identifier: str | None = ... - """The identifier of the DB snapshot to modify.""" - engine_version: str | None = ... - """ - The engine version to upgrade the DB snapshot to. - - The following are the database engines and engine versions that are - available when you upgrade a DB snapshot. - - **MariaDB** - - For the list of engine versions that are available for upgrading a DB - snapshot, see [Upgrading a MariaDB DB snapshot engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mariadb-upgrade-snapshot.html) - in the *Amazon RDS User Guide.* - - **MySQL** - - For the list of engine versions that are available for upgrading a DB - snapshot, see [Upgrading a MySQL DB snapshot engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-upgrade-snapshot.html) - in the *Amazon RDS User Guide.* - - **Oracle** - - - `21.0.0.0.ru-2025-04.rur-2025-04.r1` (supported for - 21.0.0.0.ru-2022-01.rur-2022-01.r1, - 21.0.0.0.ru-2022-04.rur-2022-04.r1, - 21.0.0.0.ru-2022-07.rur-2022-07.r1, - 21.0.0.0.ru-2022-10.rur-2022-10.r1, 21.0.0.0.ru-2023-01.rur-2023-01.r1 - and 21.0.0.0.ru-2023-01.rur-2023-01.r2 DB snapshots) - - - `19.0.0.0.ru-2025-04.rur-2025-04.r1` (supported for - 19.0.0.0.ru-2019-07.rur-2019-07.r1, 19.0.0.0.ru-2019-10.rur-2019-10.r1 - and 0.0.0.ru-2020-01.rur-2020-01.r1 DB snapshots) - - - `19.0.0.0.ru-2022-01.rur-2022-01.r1` (supported for 12.2.0.1 DB - snapshots) - - - `19.0.0.0.ru-2022-07.rur-2022-07.r1` (supported for 12.1.0.2 DB - snapshots) - - - `12.1.0.2.v8` (supported for 12.1.0.1 DB snapshots) - - - `11.2.0.4.v12` (supported for 11.2.0.2 DB snapshots) - - - `11.2.0.4.v11` (supported for 11.2.0.3 DB snapshots) - - **PostgreSQL** - - For the list of engine versions that are available for upgrading a DB - snapshot, see [Upgrading a PostgreSQL DB snapshot engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBSnapshot.PostgreSQL.html) - in the *Amazon RDS User Guide.* - """ - option_group_name: str | None = ... - """ - The option group to identify with the upgraded DB snapshot. - - You can specify this parameter when you upgrade an Oracle DB snapshot. - The same option group considerations apply when upgrading a DB snapshot - as when upgrading a DB instance. For more information, see [Option group - considerations](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Oracle.html#USER_UpgradeDBInstance.Oracle.OGPG.OG) - in the *Amazon RDS User Guide.* - """ - -@dataclass(kw_only=True) -class ModifyDBSnapshotOutput(_SerdeShape): - """Dataclass for ModifyDBSnapshotOutput structure.""" - - db_snapshot: DBSnapshot | None = ... - """ - Contains the details of an Amazon RDS DB snapshot. - - This data type is used as a response element in the - `DescribeDBSnapshots` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyDBSubnetGroupInput(_SerdeShape): - """""" - - db_subnet_group_name: str | None = ... - """ - The name for the DB subnet group. This value is stored as a lowercase - string. You can't modify the default subnet group. - - Constraints: Must match the name of an existing DBSubnetGroup. Must not - be default. - - Example: `mydbsubnetgroup` - """ - db_subnet_group_description: str | None = ... - """The description for the DB subnet group.""" - subnet_ids: list[str] | None = ... - """The EC2 subnet IDs for the DB subnet group.""" - -@dataclass(kw_only=True) -class ModifyDBSubnetGroupOutput(_SerdeShape): - """Dataclass for ModifyDBSubnetGroupOutput structure.""" - - db_subnet_group: DBSubnetGroup | None = ... - """ - Contains the details of an Amazon RDS DB subnet group. - - This data type is used as a response element in the - `DescribeDBSubnetGroups` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyEventSubscriptionInput(_SerdeShape): - """""" - - subscription_name: str | None = ... - """The name of the RDS event notification subscription.""" - sns_topic_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the SNS topic created for event - notification. The ARN is created by Amazon SNS when you create a topic - and subscribe to it. - """ - source_type: str | None = ... - """ - The type of source that is generating the events. For example, if you - want to be notified of events generated by a DB instance, you would set - this parameter to db-instance. For RDS Proxy events, specify `db-proxy`. - If this value isn't specified, all events are returned. - - Valid - Values:` db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy | zero-etl | custom-engine-version | blue-green-deployment ` - """ - event_categories: list[str] | None = ... - """ - A list of event categories for a source type (`SourceType`) that you - want to subscribe to. You can see a list of the categories for a given - source type in - [Events](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) - in the *Amazon RDS User Guide* or by using the `DescribeEventCategories` - operation. - """ - enabled: bool | None = ... - """Specifies whether to activate the subscription.""" - -@dataclass(kw_only=True) -class ModifyEventSubscriptionOutput(_SerdeShape): - """Dataclass for ModifyEventSubscriptionOutput structure.""" - - event_subscription: EventSubscription | None = ... - """ - Contains the results of a successful invocation of the - `DescribeEventSubscriptions` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyGlobalClusterInput(_SerdeShape): - """Dataclass for ModifyGlobalClusterInput structure.""" - - global_cluster_identifier: str | None = ... - """ - The cluster identifier for the global cluster to modify. This parameter - isn't case-sensitive. - - Constraints: - - - Must match the identifier of an existing global database cluster. - """ - new_global_cluster_identifier: str | None = ... - """ - The new cluster identifier for the global database cluster. This value - is stored as a lowercase string. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens. - - - The first character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `my-cluster2` - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the global database - cluster. The global database cluster can't be deleted when deletion - protection is enabled. - """ - engine_version: str | None = ... - """ - The version number of the database engine to which you want to upgrade. - - To list all of the available engine versions for `aurora-mysql` (for - MySQL-based Aurora global databases), use the following command: - - `` aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]' `` - - To list all of the available engine versions for `aurora-postgresql` - (for PostgreSQL-based Aurora global databases), use the following - command: - - `` aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]' `` - """ - allow_major_version_upgrade: bool | None = ... - """ - Specifies whether to allow major version upgrades. - - Constraints: Must be enabled if you specify a value for the - `EngineVersion` parameter that's a different major version than the - global cluster's current version. - - If you upgrade the major version of a global database, the cluster and - DB instance parameter groups are set to the default parameter groups for - the new version. Apply any custom parameter groups after completing the - upgrade. - """ - -@dataclass(kw_only=True) -class ModifyGlobalClusterOutput(_SerdeShape): - """Dataclass for ModifyGlobalClusterOutput structure.""" - - global_cluster: GlobalCluster | None = ... - """A data type representing an Aurora global database.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyIntegrationInput(_SerdeShape): - """Dataclass for ModifyIntegrationInput structure.""" - - integration_identifier: str | None = ... - """The unique identifier of the integration to modify.""" - integration_name: str | None = ... - """A new name for the integration.""" - data_filter: str | None = ... - """ - A new data filter for the integration. For more information, see [Data - filtering for Aurora zero-ETL integrations with Amazon - Redshift](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Zero_ETL_Filtering.html) - or [Data filtering for Amazon RDS zero-ETL integrations with Amazon - Redshift](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/zero-etl.filtering.html). - """ - description: str | None = ... - """A new description for the integration.""" - -@dataclass(kw_only=True) -class ModifyIntegrationOutput(_SerdeShape): - """A zero-ETL integration with Amazon Redshift.""" - - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the database used as the source for - replication. - """ - target_arn: str | None = ... - """ - The ARN of the Redshift data warehouse used as the target for - replication. - """ - integration_name: str | None = ... - """The name of the integration.""" - integration_arn: str | None = ... - """The ARN of the integration.""" - kms_key_id: str | None = ... - """ - The Amazon Web Services Key Management System (Amazon Web Services KMS) - key identifier for the key used to to encrypt the integration. - """ - additional_encryption_context: dict[str, str] | None = ... - """ - The encryption context for the integration. For more information, see - [Encryption - context](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context) - in the *Amazon Web Services Key Management Service Developer Guide*. - """ - status: str | None = ... - """The current status of the integration.""" - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - data_filter: str | None = ... - """ - Data filters for the integration. These filters determine which tables - from the source database are sent to the target Amazon Redshift data - warehouse. - """ - description: str | None = ... - """A description of the integration.""" - create_time: datetime | None = ... - """ - The time when the integration was created, in Universal Coordinated Time - (UTC). - """ - errors: list[IntegrationError] | None = ... - """Any errors associated with the integration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyOptionGroupInput(_SerdeShape): - """""" - - option_group_name: str | None = ... - """ - The name of the option group to be modified. - - Permanent options, such as the TDE option for Oracle Advanced Security - TDE, can't be removed from an option group, and that option group - can't be removed from a DB instance once it is associated with a DB - instance - """ - options_to_include: list[OptionConfiguration] | None = ... - """ - Options in this list are added to the option group or, if already - present, the specified configuration is used to update the existing - configuration. - """ - options_to_remove: list[str] | None = ... - """Options in this list are removed from the option group.""" - apply_immediately: bool | None = ... - """ - Specifies whether to apply the change immediately or during the next - maintenance window for each instance associated with the option group. - """ - -@dataclass(kw_only=True) -class ModifyOptionGroupOutput(_SerdeShape): - """Dataclass for ModifyOptionGroupOutput structure.""" - - option_group: OptionGroup | None = ... - """""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ModifyTenantDatabaseInput(_SerdeShape): - """Dataclass for ModifyTenantDatabaseInput structure.""" - - db_instance_identifier: str | None = ... - """ - The identifier of the DB instance that contains the tenant database that - you are modifying. This parameter isn't case-sensitive. - - Constraints: - - - Must match the identifier of an existing DB instance. - """ - tenant_db_name: str | None = ... - """ - The user-supplied name of the tenant database that you want to modify. - This parameter isn't case-sensitive. - - Constraints: - - - Must match the identifier of an existing tenant database. - """ - master_user_password: str | None = ... - """ - The new password for the master user of the specified tenant database in - your DB instance. - - Note: - Amazon RDS operations never return the password, so this action provides - a way to regain access to a tenant database user if the password is - lost. This includes restoring privileges that might have been - accidentally revoked. - - Constraints: - - - Can include any printable ASCII character except `/`, `"` (double - quote), `@`, `&` (ampersand), and `'` (single quote). - - Length constraints: - - - Must contain between 8 and 30 characters. - """ - new_tenant_db_name: str | None = ... - """ - The new name of the tenant database when renaming a tenant database. - This parameter isn't case-sensitive. - - Constraints: - - - Can't be the string null or any other reserved word. - - - Can't be longer than 8 characters. - """ - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager. - - If the tenant database doesn't manage the master user password with - Amazon Web Services Secrets Manager, you can turn on this management. In - this case, you can't specify `MasterUserPassword`. - - If the tenant database already manages the master user password with - Amazon Web Services Secrets Manager, and you specify that the master - user password is not managed with Amazon Web Services Secrets Manager, - then you must specify `MasterUserPassword`. In this case, Amazon RDS - deletes the secret and uses the new password for the master user - specified by `MasterUserPassword`. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide.* - - Constraints: - - - Can't manage the master user password with Amazon Web Services - Secrets Manager if `MasterUserPassword` is specified. - """ - rotate_master_user_password: bool | None = ... - """ - Specifies whether to rotate the secret managed by Amazon Web Services - Secrets Manager for the master user password. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB instance. The secret - value contains the updated password. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide.* - - Constraints: - - - You must apply the change immediately when rotating the master user - password. - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if both of the following conditions are met: - - - The tenant database doesn't manage the master user password in Amazon - Web Services Secrets Manager. - - If the tenant database already manages the master user password in - Amazon Web Services Secrets Manager, you can't change the KMS key - used to encrypt the secret. - - - You're turning on `ManageMasterUserPassword` to manage the master - user password in Amazon Web Services Secrets Manager. - - If you're turning on `ManageMasterUserPassword` and don't specify - `MasterUserSecretKmsKeyId`, then the `aws/secretsmanager` KMS key is - used to encrypt the secret. If the secret is in a different Amazon Web - Services account, then you can't use the `aws/secretsmanager` KMS key - to encrypt the secret, and you must use a self-managed KMS key. - - The Amazon Web Services KMS key identifier is any of the following: - - - Key ARN - - - Key ID - - - Alias ARN - - - Alias name for the KMS key - - To use a KMS key in a different Amazon Web Services account, specify the - key ARN or alias ARN. - - A default KMS key exists for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - """ - -@dataclass(kw_only=True) -class ModifyTenantDatabaseOutput(_SerdeShape): - """Dataclass for ModifyTenantDatabaseOutput structure.""" - - tenant_database: TenantDatabase | None = ... - """ - A tenant database in the DB instance. This data type is an element in - the response to the `DescribeTenantDatabases` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NetworkTypeNotSupported(ServiceError, _SerdeShape): - """ - The network type is invalid for the DB instance. Valid nework type - values are `IPV4` and `DUAL`. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Option(_SerdeShape): - """The details of an option.""" - - option_name: str | None = ... - """The name of the option.""" - option_description: str | None = ... - """The description of the option.""" - persistent: bool | None = ... - """Indicates whether this option is persistent.""" - permanent: bool | None = ... - """Indicates whether this option is permanent.""" - port: int | None = ... - """If required, the port configured for this option to use.""" - option_version: str | None = ... - """The version of the option.""" - option_settings: list[OptionSetting] | None = ... - """The option settings for this option.""" - db_security_group_memberships: list[DBSecurityGroupMembership] | None = ... - """ - If the option requires access to a port, then this DB security group - allows access to the port. - """ - vpc_security_group_memberships: list[VpcSecurityGroupMembership] | None = ... - """ - If the option requires access to a port, then this VPC security group - allows access to the port. - """ - -@dataclass(kw_only=True) -class OptionConfiguration(_SerdeShape): - """A list of all available options for an option group.""" - - option_name: str | None = ... - """The configuration of options to include in a group.""" - port: int | None = ... - """The optional port for the option.""" - option_version: str | None = ... - """The version for the option.""" - db_security_group_memberships: list[str] | None = ... - """A list of DB security groups used for this option.""" - vpc_security_group_memberships: list[str] | None = ... - """A list of VPC security group names used for this option.""" - option_settings: list[OptionSetting] | None = ... - """The option settings to include in an option group.""" - -@dataclass(kw_only=True) -class OptionGroup(_SerdeShape): - """""" - - option_group_name: str | None = ... - """Specifies the name of the option group.""" - option_group_description: str | None = ... - """Provides a description of the option group.""" - engine_name: str | None = ... - """ - Indicates the name of the engine that this option group can be applied - to. - """ - major_engine_version: str | None = ... - """Indicates the major engine version associated with this option group.""" - options: list[Option] | None = ... - """Indicates what options are available in the option group.""" - allows_vpc_and_non_vpc_instance_memberships: bool | None = ... - """ - Indicates whether this option group can be applied to both VPC and - non-VPC instances. The value `true` indicates the option group can be - applied to both VPC and non-VPC instances. - """ - vpc_id: str | None = ... - """ - If **AllowsVpcAndNonVpcInstanceMemberships** is `false`, this field is - blank. If **AllowsVpcAndNonVpcInstanceMemberships** is `true` and this - field is blank, then this option group can be applied to both VPC and - non-VPC instances. If this field contains a value, then this option - group can only be applied to instances that are in the VPC indicated by - this field. - """ - option_group_arn: str | None = ... - """Specifies the Amazon Resource Name (ARN) for the option group.""" - source_option_group: str | None = ... - """ - Specifies the name of the option group from which this option group is - copied. - """ - source_account_id: str | None = ... - """ - Specifies the Amazon Web Services account ID for the option group from - which this option group is copied. - """ - copy_timestamp: datetime | None = ... - """Indicates when the option group was copied.""" - source_region: str | None = ... - """ - Specifies the Amazon Web Services Region for the option group from which - this option group is copied. - """ - -@dataclass(kw_only=True) -class OptionGroupAlreadyExistsFault(ServiceError, _SerdeShape): - """The option group you are trying to create already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OptionGroupMembership(_SerdeShape): - """ - Provides information on the option groups the DB instance is a member - of. - """ - - option_group_name: str | None = ... - """The name of the option group that the instance belongs to.""" - status: str | None = ... - """ - The status of the DB instance's option group membership. Valid values - are: `in-sync`, `pending-apply`, `pending-removal`, - `pending-maintenance-apply`, `pending-maintenance-removal`, `applying`, - `removing`, and `failed`. - """ - -@dataclass(kw_only=True) -class OptionGroupNotFoundFault(ServiceError, _SerdeShape): - """The specified option group could not be found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OptionGroupOption(_SerdeShape): - """Available option.""" - - name: str | None = ... - """The name of the option.""" - description: str | None = ... - """The description of the option.""" - engine_name: str | None = ... - """The name of the engine that this option can be applied to.""" - major_engine_version: str | None = ... - """Indicates the major engine version that the option is available for.""" - minimum_required_minor_engine_version: str | None = ... - """The minimum required engine version for the option to be applied.""" - port_required: bool | None = ... - """Indicates whether the option requires a port.""" - default_port: int | None = ... - """ - If the option requires a port, specifies the default port for the - option. - """ - options_depended_on: list[str] | None = ... - """The options that are prerequisites for this option.""" - options_conflicts_with: list[str] | None = ... - """The options that conflict with this option.""" - persistent: bool | None = ... - """ - Persistent options can't be removed from an option group while DB - instances are associated with the option group. If you disassociate all - DB instances from the option group, your can remove the persistent - option from the option group. - """ - permanent: bool | None = ... - """ - Permanent options can never be removed from an option group. An option - group containing a permanent option can't be removed from a DB - instance. - """ - requires_auto_minor_engine_version_upgrade: bool | None = ... - """ - If true, you must enable the Auto Minor Version Upgrade setting for your - DB instance before you can use this option. You can enable Auto Minor - Version Upgrade when you first create your DB instance, or by modifying - your DB instance later. - """ - vpc_only: bool | None = ... - """ - If true, you can only use this option with a DB instance that is in a - VPC. - """ - supports_option_version_downgrade: bool | None = ... - """ - If true, you can change the option to an earlier version of the option. - This only applies to options that have different versions available. - """ - option_group_option_settings: list[OptionGroupOptionSetting] | None = ... - """ - The option settings that are available (and the default value) for each - option in an option group. - """ - option_group_option_versions: list[OptionVersion] | None = ... - """The versions that are available for the option.""" - copyable_cross_account: bool | None = ... - """ - Indicates whether the option can be copied across Amazon Web Services - accounts. - """ - copyable_cross_region: bool | None = ... - """ - Indicates whether the option can be copied across Amazon Web Services - Regions. - """ - -@dataclass(kw_only=True) -class OptionGroupOptionSetting(_SerdeShape): - """ - Option group option settings are used to display settings available for - each option with their default values and other information. These - values are used with the DescribeOptionGroupOptions action. - """ - - setting_name: str | None = ... - """The name of the option group option.""" - setting_description: str | None = ... - """The description of the option group option.""" - default_value: str | None = ... - """The default value for the option group option.""" - apply_type: str | None = ... - """The DB engine specific parameter type for the option group option.""" - allowed_values: str | None = ... - """Indicates the acceptable values for the option group option.""" - is_modifiable: bool | None = ... - """ - Indicates whether this option group option can be changed from the - default value. - """ - is_required: bool | None = ... - """ - Indicates whether a value must be specified for this option setting of - the option group option. - """ - minimum_engine_version_per_allowed_value: ( - list[MinimumEngineVersionPerAllowedValue] | None - ) = ... - """ - The minimum DB engine version required for the corresponding allowed - value for this option setting. - """ - -@dataclass(kw_only=True) -class OptionGroupQuotaExceededFault(ServiceError, _SerdeShape): - """ - The quota of 20 option groups was exceeded for this Amazon Web Services - account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class OptionSetting(_SerdeShape): - """ - Option settings are the actual settings being applied or configured for - that option. It is used when you modify an option group or describe - option groups. For example, the NATIVE_NETWORK_ENCRYPTION option has a - setting called SQLNET.ENCRYPTION_SERVER that can have several different - values. - """ - - name: str | None = ... - """The name of the option that has settings that you can set.""" - value: str | None = ... - """The current value of the option setting.""" - default_value: str | None = ... - """The default value of the option setting.""" - description: str | None = ... - """The description of the option setting.""" - apply_type: str | None = ... - """The DB engine specific parameter type.""" - data_type: str | None = ... - """The data type of the option setting.""" - allowed_values: str | None = ... - """The allowed values of the option setting.""" - is_modifiable: bool | None = ... - """Indicates whether the option setting can be modified from the default.""" - is_collection: bool | None = ... - """Indicates whether the option setting is part of a collection.""" - -@dataclass(kw_only=True) -class OptionVersion(_SerdeShape): - """ - The version for an option. Option group option versions are returned by - the `DescribeOptionGroupOptions` action. - """ - - version: str | None = ... - """The version of the option.""" - is_default: bool | None = ... - """Indicates whether the version is the default version of the option.""" - -@dataclass(kw_only=True) -class OrderableDBInstanceOption(_SerdeShape): - """ - Contains a list of available options for a DB instance. - - This data type is used as a response element in the - `DescribeOrderableDBInstanceOptions` action. - """ - - engine: str | None = ... - """The engine type of a DB instance.""" - engine_version: str | None = ... - """The engine version of a DB instance.""" - db_instance_class: str | None = ... - """The DB instance class for a DB instance.""" - license_model: str | None = ... - """The license model for a DB instance.""" - availability_zone_group: str | None = ... - """The Availability Zone group for a DB instance.""" - availability_zones: list[AvailabilityZone] | None = ... - """A list of Availability Zones for a DB instance.""" - multi_az_capable: bool | None = ... - """Indicates whether a DB instance is Multi-AZ capable.""" - read_replica_capable: bool | None = ... - """Indicates whether a DB instance can have a read replica.""" - vpc: bool | None = ... - """Indicates whether a DB instance is in a VPC.""" - supports_storage_encryption: bool | None = ... - """Indicates whether a DB instance supports encrypted storage.""" - storage_type: str | None = ... - """The storage type for a DB instance.""" - supports_iops: bool | None = ... - """Indicates whether a DB instance supports provisioned IOPS.""" - supports_storage_throughput: bool | None = ... - """Indicates whether a DB instance supports storage throughput.""" - supports_enhanced_monitoring: bool | None = ... - """ - Indicates whether a DB instance supports Enhanced Monitoring at - intervals from 1 to 60 seconds. - """ - supports_iam_database_authentication: bool | None = ... - """Indicates whether a DB instance supports IAM database authentication.""" - supports_performance_insights: bool | None = ... - """Indicates whether a DB instance supports Performance Insights.""" - min_storage_size: int | None = ... - """Minimum storage size for a DB instance.""" - max_storage_size: int | None = ... - """Maximum storage size for a DB instance.""" - min_iops_per_db_instance: int | None = ... - """Minimum total provisioned IOPS for a DB instance.""" - max_iops_per_db_instance: int | None = ... - """Maximum total provisioned IOPS for a DB instance.""" - min_iops_per_gib: float | None = ... - """Minimum provisioned IOPS per GiB for a DB instance.""" - max_iops_per_gib: float | None = ... - """Maximum provisioned IOPS per GiB for a DB instance.""" - min_storage_throughput_per_db_instance: int | None = ... - """Minimum storage throughput for a DB instance.""" - max_storage_throughput_per_db_instance: int | None = ... - """Maximum storage throughput for a DB instance.""" - min_storage_throughput_per_iops: float | None = ... - """Minimum storage throughput to provisioned IOPS ratio for a DB instance.""" - max_storage_throughput_per_iops: float | None = ... - """Maximum storage throughput to provisioned IOPS ratio for a DB instance.""" - available_processor_features: list[AvailableProcessorFeature] | None = ... - """ - A list of the available processor features for the DB instance class of - a DB instance. - """ - supported_engine_modes: list[str] | None = ... - """A list of the supported DB engine modes.""" - supports_storage_autoscaling: bool | None = ... - """ - Indicates whether Amazon RDS can automatically scale storage for DB - instances that use the specified DB instance class. - """ - supports_kerberos_authentication: bool | None = ... - """Indicates whether a DB instance supports Kerberos Authentication.""" - outpost_capable: bool | None = ... - """ - Indicates whether a DB instance supports RDS on Outposts. - - For more information about RDS on Outposts, see [Amazon RDS on Amazon - Web Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide.* - """ - supported_activity_stream_modes: list[str] | None = ... - """ - The list of supported modes for Database Activity Streams. Aurora - PostgreSQL returns the value `[sync, async]`. Aurora MySQL and RDS for - Oracle return `[async]` only. If Database Activity Streams isn't - supported, the return value is an empty list. - """ - supports_global_databases: bool | None = ... - """ - Indicates whether you can use Aurora global databases with a specific - combination of other DB engine attributes. - """ - supported_network_types: list[str] | None = ... - """ - The network types supported by the DB instance (`IPV4` or `DUAL`). - - A DB instance can support only the IPv4 protocol or the IPv4 and the - IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon RDS User Guide.* - """ - supports_clusters: bool | None = ... - """ - Indicates whether DB instances can be configured as a Multi-AZ DB - cluster. - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - supports_dedicated_log_volume: bool | None = ... - """ - Indicates whether a DB instance supports using a dedicated log volume - (DLV). - """ - supports_additional_storage_volumes: bool | None = ... - """ - Indicates whether the DB instance class supports additional storage - volumes. - """ - supports_http_endpoint: bool | None = ... - """Indicates whether a DB instance supports HTTP endpoints.""" - available_additional_storage_volumes_options: ( - list[AvailableAdditionalStorageVolumesOption] | None - ) = ... - """ - The available options for additional storage volumes for the DB instance - class. - """ - -@dataclass(kw_only=True) -class Outpost(_SerdeShape): - """ - A data type that represents an Outpost. - - For more information about RDS on Outposts, see [Amazon RDS on Amazon - Web Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide.* - """ - - arn: str | None = ... - """The Amazon Resource Name (ARN) of the Outpost.""" - -@dataclass(kw_only=True) -class Parameter(_SerdeShape): - """ - This data type is used as a request parameter in the - `ModifyDBParameterGroup` and `ResetDBParameterGroup` actions. - - This data type is used as a response element in the - `DescribeEngineDefaultParameters` and `DescribeDBParameters` actions. - """ - - parameter_name: str | None = ... - """The name of the parameter.""" - parameter_value: str | None = ... - """The value of the parameter.""" - description: str | None = ... - """Provides a description of the parameter.""" - source: str | None = ... - """The source of the parameter value.""" - apply_type: str | None = ... - """Specifies the engine specific parameters type.""" - data_type: str | None = ... - """Specifies the valid data type for the parameter.""" - allowed_values: str | None = ... - """Specifies the valid range of values for the parameter.""" - is_modifiable: bool | None = ... - """ - Indicates whether (`true`) or not (`false`) the parameter can be - modified. Some parameters have security or operational implications that - prevent them from being changed. - """ - minimum_engine_version: str | None = ... - """The earliest engine version to which the parameter can apply.""" - apply_method: str | None = ... - """Indicates when to apply parameter updates.""" - supported_engine_modes: list[str] | None = ... - """The valid DB engine modes.""" - -@dataclass(kw_only=True) -class PendingCloudwatchLogsExports(_SerdeShape): - """ - A list of the log types whose configuration is still pending. In other - words, these log types are in the process of being activated or - deactivated. - """ - - log_types_to_enable: list[str] | None = ... - """ - Log types that are in the process of being deactivated. After they are - deactivated, these log types aren't exported to CloudWatch Logs. - """ - log_types_to_disable: list[str] | None = ... - """ - Log types that are in the process of being enabled. After they are - enabled, these log types are exported to CloudWatch Logs. - """ - -@dataclass(kw_only=True) -class PendingMaintenanceAction(_SerdeShape): - """Provides information about a pending maintenance action for a resource.""" - - action: str | None = ... - """ - The type of pending maintenance action that is available for the - resource. - - For more information about maintenance actions, see [Maintaining a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html). - - Valid Values: - - - `ca-certificate-rotation` - - - `db-upgrade` - - - `hardware-maintenance` - - - `os-upgrade` - - - `serverless-platform-version-update` - - - `system-update` - - For more information about these actions, see [Maintenance actions for - Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora) - or [Maintenance actions for Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds). - """ - auto_applied_after_date: datetime | None = ... - """ - The date of the maintenance window when the action is applied. The - maintenance action is applied to the resource during its first - maintenance window after this date. - """ - forced_apply_date: datetime | None = ... - """ - The date when the maintenance action is automatically applied. - - On this date, the maintenance action is applied to the resource as soon - as possible, regardless of the maintenance window for the resource. - There might be a delay of one or more days from this date before the - maintenance action is applied. - """ - opt_in_status: str | None = ... - """ - Indicates the type of opt-in request that has been received for the - resource. - """ - current_apply_date: datetime | None = ... - """ - The effective date when the pending maintenance action is applied to the - resource. This date takes into account opt-in requests received from the - `ApplyPendingMaintenanceAction` API, the `AutoAppliedAfterDate`, and the - `ForcedApplyDate`. This value is blank if an opt-in request has not been - received and nothing has been specified as `AutoAppliedAfterDate` or - `ForcedApplyDate`. - """ - description: str | None = ... - """A description providing more detail about the maintenance action.""" - -@dataclass(kw_only=True) -class PendingModifiedValues(_SerdeShape): - """ - This data type is used as a response element in the `ModifyDBInstance` - operation and contains changes that will be applied during the next - maintenance window. - """ - - db_instance_class: str | None = ... - """The name of the compute and memory capacity class for the DB instance.""" - allocated_storage: int | None = ... - """ - The allocated storage size for the DB instance specified in gibibytes - (GiB). - """ - master_user_password: str | None = ... - """The master credentials for the DB instance.""" - port: int | None = ... - """The port for the DB instance.""" - backup_retention_period: int | None = ... - """The number of days for which automated backups are retained.""" - multi_az: bool | None = ... - """ - Indicates whether the Single-AZ DB instance will change to a Multi-AZ - deployment. - """ - engine_version: str | None = ... - """The database engine version.""" - license_model: str | None = ... - """ - The license model for the DB instance. - - Valid values: `license-included` | `bring-your-own-license` | - `general-public-license` | `bring-your-own-media` - """ - iops: int | None = ... - """The Provisioned IOPS value for the DB instance.""" - storage_throughput: int | None = ... - """The storage throughput of the DB instance.""" - db_instance_identifier: str | None = ... - """The database identifier for the DB instance.""" - storage_type: str | None = ... - """The storage type of the DB instance.""" - ca_certificate_identifier: str | None = ... - """ - The identifier of the CA certificate for the DB instance. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - db_subnet_group_name: str | None = ... - """The DB subnet group for the DB instance.""" - pending_cloudwatch_logs_exports: PendingCloudwatchLogsExports | None = ... - """ - A list of the log types whose configuration is still pending. In other - words, these log types are in the process of being activated or - deactivated. - """ - processor_features: list[ProcessorFeature] | None = ... - """ - The number of CPU cores and the number of threads per core for the DB - instance class of the DB instance. - """ - automation_mode: str | None = ... - """ - The automation mode of the RDS Custom DB instance: `full` or - `all-paused`. If `full`, the DB instance automates monitoring and - instance recovery. If `all-paused`, the instance pauses automation for - the duration set by `--resume-full-automation-mode-minutes`. - """ - resume_full_automation_mode_time: datetime | None = ... - """ - The number of minutes to pause the automation. When the time period - ends, RDS Custom resumes full automation. The minimum value is 60 - (default). The maximum value is 1,440. - """ - multi_tenant: bool | None = ... - """ - Indicates whether the DB instance will change to the multi-tenant - configuration (TRUE) or the single-tenant configuration (FALSE). - """ - iam_database_authentication_enabled: bool | None = ... - """ - Indicates whether mapping of Amazon Web Services Identity and Access - Management (IAM) accounts to database accounts is enabled. - """ - dedicated_log_volume: bool | None = ... - """ - Indicates whether the DB instance has a dedicated log volume (DLV) - enabled.> - """ - engine: str | None = ... - """The database engine of the DB instance.""" - additional_storage_volumes: list[AdditionalStorageVolume] | None = ... - """ - The additional storage volume modifications that are pending for the DB - instance. - """ - db_capacity_reservation_identifier: str | None = ... - """ - The identifier of the DB capacity reservation that the DB instance uses - after a pending modification completes. Amazon RDS returns this value - when a `ModifyDBInstance` request changes the DB capacity reservation, - and the change hasn't been applied yet. - """ - -@dataclass(kw_only=True) -class PerformanceInsightsMetricDimensionGroup(_SerdeShape): - """ - A logical grouping of Performance Insights metrics for a related subject - area. For example, the `db.sql` dimension group consists of the - following dimensions: - - - `db.sql.id` - The hash of a running SQL statement, generated by - Performance Insights. - - - `db.sql.db_id` - Either the SQL ID generated by the database engine, - or a value generated by Performance Insights that begins with `pi-`. - - - `db.sql.statement` - The full text of the SQL statement that is - running, for example, `SELECT * FROM employees`. - - - `db.sql_tokenized.id` - The hash of the SQL digest generated by - Performance Insights. - - Note: - Each response element returns a maximum of 500 bytes. For larger - elements, such as SQL statements, only the first 500 bytes are returned. - """ - - dimensions: list[str] | None = ... - """ - A list of specific dimensions from a dimension group. If this list - isn't included, then all of the dimensions in the group were requested, - or are present in the response. - """ - group: str | None = ... - """The available dimension groups for Performance Insights metric type.""" - limit: int | None = ... - """The maximum number of items to fetch for this dimension group.""" - -@dataclass(kw_only=True) -class PerformanceInsightsMetricQuery(_SerdeShape): - """ - A single Performance Insights metric query to process. You must provide - the metric to the query. If other parameters aren't specified, - Performance Insights returns all data points for the specified metric. - Optionally, you can request the data points to be aggregated by - dimension group (`GroupBy`) and return only those data points that match - your criteria (`Filter`). - - Constraints: - - - Must be a valid Performance Insights query. - """ - - group_by: PerformanceInsightsMetricDimensionGroup | None = ... - """ - A specification for how to aggregate the data points from a query - result. You must specify a valid dimension group. Performance Insights - will return all of the dimensions within that group, unless you provide - the names of specific dimensions within that group. You can also request - that Performance Insights return a limited number of values for a - dimension. - """ - metric: str | None = ... - """ - The name of a Performance Insights metric to be measured. - - Valid Values: - - - `db.load.avg` - A scaled representation of the number of active - sessions for the database engine. - - - `db.sampledload.avg` - The raw number of active sessions for the - database engine. - - - The counter metrics listed in [Performance Insights operating system - counters](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS) - in the *Amazon Aurora User Guide*. - - If the number of active sessions is less than an internal Performance - Insights threshold, `db.load.avg` and `db.sampledload.avg` are the same - value. If the number of active sessions is greater than the internal - threshold, Performance Insights samples the active sessions, with - `db.load.avg` showing the scaled values, `db.sampledload.avg` showing - the raw values, and `db.sampledload.avg` less than `db.load.avg`. For - most use cases, you can query `db.load.avg` only. - """ - -@dataclass(kw_only=True) -class PerformanceIssueDetails(_SerdeShape): - """Details of the performance issue.""" - - start_time: datetime | None = ... - """The time when the performance issue started.""" - end_time: datetime | None = ... - """The time when the performance issue stopped.""" - metrics: list[Metric] | None = ... - """The metrics that are relevant to the performance issue.""" - analysis: str | None = ... - """ - The analysis of the performance issue. The information might contain - markdown. - """ - -@dataclass(kw_only=True) -class PointInTimeRestoreNotEnabledFault(ServiceError, _SerdeShape): - """ - `SourceDBInstanceIdentifier` refers to a DB instance with - `BackupRetentionPeriod` equal to 0. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ProcessorFeature(_SerdeShape): - """ - Contains the processor features of a DB instance class. - - To specify the number of CPU cores, use the `coreCount` feature name for - the `Name` parameter. To specify the number of threads per core, use the - `threadsPerCore` feature name for the `Name` parameter. - - You can set the processor features of the DB instance class for a DB - instance when you call one of the following actions: - - - `CreateDBInstance` - - - `ModifyDBInstance` - - - `RestoreDBInstanceFromDBSnapshot` - - - `RestoreDBInstanceFromS3` - - - `RestoreDBInstanceToPointInTime` - - You can view the valid processor values for a particular instance class - by calling the `DescribeOrderableDBInstanceOptions` action and - specifying the instance class for the `DBInstanceClass` parameter. - - In addition, you can use the following actions for DB instance class - processor information: - - - `DescribeDBInstances` - - - `DescribeDBSnapshots` - - - `DescribeValidDBInstanceModifications` - - If you call `DescribeDBInstances`, `ProcessorFeature` returns non-null - values only if the following conditions are met: - - - You are accessing an Oracle or SQL Server DB instance. - - - Your Oracle or SQL Server DB instance class supports configuring the - number of CPU cores and threads per core. - - - The current number CPU cores and threads is set to a non-default - value. - - For more information, see [Configuring the processor for a DB instance - class in RDS for - Oracle](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor), - [Optimizing your RDS for SQL Server - CPU](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Concepts.General.OptimizeCPU.html), - and [DB instance - classes](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide.* - """ - - name: str | None = ... - """ - The name of the processor feature. Valid names are `coreCount` and - `threadsPerCore`. - """ - value: str | None = ... - """The value of a processor feature.""" - -@dataclass(kw_only=True) -class PromoteReadReplicaDBClusterInput(_SerdeShape): - """""" - - db_cluster_identifier: str | None = ... - """ - The identifier of the DB cluster read replica to promote. This parameter - isn't case-sensitive. - - Constraints: - - - Must match the identifier of an existing DB cluster read replica. - - Example: `my-cluster-replica1` - """ - -@dataclass(kw_only=True) -class PromoteReadReplicaDBClusterOutput(_SerdeShape): - """Dataclass for PromoteReadReplicaDBClusterOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PromoteReadReplicaInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The DB instance identifier. This value is stored as a lowercase string. - - Constraints: - - - Must match the identifier of an existing read replica DB instance. - - Example: `mydbinstance` - """ - backup_retention_period: int | None = ... - """ - The number of days for which automated backups are retained. Setting - this parameter to a positive number enables backups. Setting this - parameter to 0 disables automated backups. - - Default: 1 - - Constraints: - - - Must be a value from 0 to 35. - - - Can't be set to 0 if the DB instance is a source to read replicas. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, using the `BackupRetentionPeriod` - parameter. - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region. To see the time - blocks available, see [Adjusting the Preferred Maintenance - Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) - in the *Amazon RDS User Guide.* - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB instance. - - Valid Values: - - - `auto-backup` - The DB instance's automated backup. - """ - -@dataclass(kw_only=True) -class PromoteReadReplicaOutput(_SerdeShape): - """Dataclass for PromoteReadReplicaOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ProvisionedIopsNotAvailableInAZFault(ServiceError, _SerdeShape): - """Provisioned IOPS not available in the specified Availability Zone.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PurchaseReservedDBInstancesOfferingInput(_SerdeShape): - """""" - - reserved_db_instances_offering_id: str | None = ... - """ - The ID of the Reserved DB instance offering to purchase. - - Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 - """ - reserved_db_instance_id: str | None = ... - """ - Customer-specified identifier to track this reservation. - - Example: myreservationID - """ - db_instance_count: int | None = ... - """ - The number of instances to reserve. - - Default: `1` - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class PurchaseReservedDBInstancesOfferingOutput(_SerdeShape): - """Dataclass for PurchaseReservedDBInstancesOfferingOutput structure.""" - - reserved_db_instance: ReservedDBInstance | None = ... - """ - This data type is used as a response element in the - `DescribeReservedDBInstances` and `PurchaseReservedDBInstancesOffering` - actions. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Range(_SerdeShape): - """A range of integer values.""" - - from_: int | None = ... - """The minimum value in the range.""" - to: int | None = ... - """The maximum value in the range.""" - step: int | None = ... - """ - The step value for the range. For example, if you have a range of 5,000 - to 10,000, with a step value of 1,000, the valid values start at 5,000 - and step up by 1,000. Even though 7,500 is within the range, it isn't a - valid value for the range. The valid values are 5,000, 6,000, 7,000, - 8,000... - """ - -@dataclass(kw_only=True) -class RdsCustomClusterConfiguration(_SerdeShape): - """Reserved for future use.""" - - interconnect_subnet_id: str | None = ... - """Reserved for future use.""" - transit_gateway_multicast_domain_id: str | None = ... - """Reserved for future use.""" - replica_mode: str | None = ... - """Reserved for future use.""" - -@dataclass(kw_only=True) -class RebootDBClusterInput(_SerdeShape): - """Dataclass for RebootDBClusterInput structure.""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier. This parameter is stored as a lowercase - string. - - Constraints: - - - Must match the identifier of an existing DBCluster. - """ - -@dataclass(kw_only=True) -class RebootDBClusterOutput(_SerdeShape): - """Dataclass for RebootDBClusterOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RebootDBInstanceInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The DB instance identifier. This parameter is stored as a lowercase - string. - - Constraints: - - - Must match the identifier of an existing DBInstance. - """ - force_failover: bool | None = ... - """ - Specifies whether the reboot is conducted through a Multi-AZ failover. - - Constraint: You can't enable force failover if the instance isn't - configured for Multi-AZ. - """ - -@dataclass(kw_only=True) -class RebootDBInstanceOutput(_SerdeShape): - """Dataclass for RebootDBInstanceOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RebootDBShardGroupInput(_SerdeShape): - """Dataclass for RebootDBShardGroupInput structure.""" - - db_shard_group_identifier: str | None = ... - """The name of the DB shard group to reboot.""" - -@dataclass(kw_only=True) -class RebootDBShardGroupOutput(_SerdeShape): - """Contains the details for an Amazon RDS DB shard group.""" - - db_shard_group_resource_id: str | None = ... - """ - The Amazon Web Services Region-unique, immutable identifier for the DB - shard group. - """ - db_shard_group_identifier: str | None = ... - """The name of the DB shard group.""" - db_cluster_identifier: str | None = ... - """The name of the primary DB cluster for the DB shard group.""" - max_acu: float | None = ... - """ - The maximum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - min_acu: float | None = ... - """ - The minimum capacity of the DB shard group in Aurora capacity units - (ACUs). - """ - compute_redundancy: int | None = ... - """ - Specifies whether to create standby DB shard groups for the DB shard - group. Valid values are the following: - - - 0 - Creates a DB shard group without a standby DB shard group. This is - the default value. - - - 1 - Creates a DB shard group with a standby DB shard group in a - different Availability Zone (AZ). - - - 2 - Creates a DB shard group with two standby DB shard groups in two - different AZs. - """ - status: str | None = ... - """The status of the DB shard group.""" - publicly_accessible: bool | None = ... - """ - Indicates whether the DB shard group is publicly accessible. - - When the DB shard group is publicly accessible, its Domain Name System - (DNS) endpoint resolves to the private IP address from within the DB - shard group's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB shard group's VPC. Access to the DB - shard group is ultimately controlled by the security group it uses. That - public access isn't permitted if the security group assigned to the DB - shard group doesn't permit it. - - When the DB shard group isn't publicly accessible, it is an internal DB - shard group with a DNS name that resolves to a private IP address. - - For more information, see CreateDBShardGroup. - - This setting is only for Aurora Limitless Database. - """ - endpoint: str | None = ... - """The connection endpoint for the DB shard group.""" - db_shard_group_arn: str | None = ... - """The Amazon Resource Name (ARN) for the DB shard group.""" - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RecommendedAction(_SerdeShape): - """ - The recommended actions to apply to resolve the issues associated with - your DB instances, DB clusters, and DB parameter groups. - """ - - action_id: str | None = ... - """The unique identifier of the recommended action.""" - title: str | None = ... - """ - A short description to summarize the action. The description might - contain markdown. - """ - description: str | None = ... - """ - A detailed description of the action. The description might contain - markdown. - """ - operation: str | None = ... - """An API operation for the action.""" - parameters: list[RecommendedActionParameter] | None = ... - """The parameters for the API operation.""" - apply_modes: list[str] | None = ... - """ - The methods to apply the recommended action. - - Valid values: - - - `manual` - The action requires you to resolve the recommendation - manually. - - - `immediately` - The action is applied immediately. - - - `next-maintainance-window` - The action is applied during the next - scheduled maintainance. - """ - status: str | None = ... - """ - The status of the action. - - - `ready` - - - `applied` - - - `scheduled` - - - `resolved` - """ - issue_details: IssueDetails | None = ... - """The details of the issue.""" - context_attributes: list[ContextAttribute] | None = ... - """The supporting attributes to explain the recommended action.""" - -@dataclass(kw_only=True) -class RecommendedActionParameter(_SerdeShape): - """ - A single parameter to use with the `RecommendedAction` API operation to - apply the action. - """ - - key: str | None = ... - """ - The key of the parameter to use with the `RecommendedAction` API - operation. - """ - value: str | None = ... - """ - The value of the parameter to use with the `RecommendedAction` API - operation. - """ - -@dataclass(kw_only=True) -class RecommendedActionUpdate(_SerdeShape): - """ - The recommended status to update for the specified recommendation action - ID. - """ - - action_id: str | None = ... - """A unique identifier of the updated recommendation action.""" - status: str | None = ... - """ - The status of the updated recommendation action. - - - `applied` - - - `scheduled` - """ - -@dataclass(kw_only=True) -class RecurringCharge(_SerdeShape): - """ - This data type is used as a response element in the - `DescribeReservedDBInstances` and `DescribeReservedDBInstancesOfferings` - actions. - """ - - recurring_charge_amount: float | None = ... - """The amount of the recurring charge.""" - recurring_charge_frequency: str | None = ... - """The frequency of the recurring charge.""" - -@dataclass(kw_only=True) -class ReferenceDetails(_SerdeShape): - """The reference details of a metric.""" - - scalar_reference_details: ScalarReferenceDetails | None = ... - """The metric reference details when the reference is a scalar.""" - -@dataclass(kw_only=True) -class RegisterDBProxyTargetsInput(_SerdeShape): - """Dataclass for RegisterDBProxyTargetsInput structure.""" - - db_proxy_name: str | None = ... - """ - The identifier of the `DBProxy` that is associated with the - `DBProxyTargetGroup`. - """ - target_group_name: str | None = ... - """The identifier of the `DBProxyTargetGroup`.""" - db_instance_identifiers: list[str] | None = ... - """One or more DB instance identifiers.""" - db_cluster_identifiers: list[str] | None = ... - """One or more DB cluster identifiers.""" - -@dataclass(kw_only=True) -class RegisterDBProxyTargetsOutput(_SerdeShape): - """Dataclass for RegisterDBProxyTargetsOutput structure.""" - - db_proxy_targets: list[DBProxyTarget] | None = ... - """ - One or more `DBProxyTarget` objects that are created when you register - targets with a target group. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveFromGlobalClusterInput(_SerdeShape): - """Dataclass for RemoveFromGlobalClusterInput structure.""" - - global_cluster_identifier: str | None = ... - """ - The cluster identifier to detach from the Aurora global database - cluster. - """ - db_cluster_identifier: str | None = ... - """ - The Amazon Resource Name (ARN) identifying the cluster that was detached - from the Aurora global database cluster. - """ - -@dataclass(kw_only=True) -class RemoveFromGlobalClusterOutput(_SerdeShape): - """Dataclass for RemoveFromGlobalClusterOutput structure.""" - - global_cluster: GlobalCluster | None = ... - """A data type representing an Aurora global database.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveRoleFromDBClusterInput(_SerdeShape): - """Dataclass for RemoveRoleFromDBClusterInput structure.""" - - db_cluster_identifier: str | None = ... - """The name of the DB cluster to disassociate the IAM role from.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role to disassociate from the - Aurora DB cluster, for example - `arn:aws:iam::123456789012:role/AuroraAccessRole`. - """ - feature_name: str | None = ... - """ - The name of the feature for the DB cluster that the IAM role is to be - disassociated from. For information about supported feature names, see - DBEngineVersion. - """ - -@dataclass(kw_only=True) -class RemoveRoleFromDBClusterOutput(_SerdeShape): - """Dataclass for RemoveRoleFromDBClusterOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveRoleFromDBInstanceInput(_SerdeShape): - """Dataclass for RemoveRoleFromDBInstanceInput structure.""" - - db_instance_identifier: str | None = ... - """The name of the DB instance to disassociate the IAM role from.""" - role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the IAM role to disassociate from the - DB instance, for example, `arn:aws:iam::123456789012:role/AccessRole`. - """ - feature_name: str | None = ... - """ - The name of the feature for the DB instance that the IAM role is to be - disassociated from. For information about supported feature names, see - `DBEngineVersion`. - """ - -@dataclass(kw_only=True) -class RemoveRoleFromDBInstanceOutput(_SerdeShape): - """Dataclass for RemoveRoleFromDBInstanceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveSourceIdentifierFromSubscriptionInput(_SerdeShape): - """""" - - subscription_name: str | None = ... - """ - The name of the RDS event notification subscription you want to remove a - source identifier from. - """ - source_identifier: str | None = ... - """ - The source identifier to be removed from the subscription, such as the - **DB instance identifier** for a DB instance or the name of a security - group. - """ - -@dataclass(kw_only=True) -class RemoveSourceIdentifierFromSubscriptionOutput(_SerdeShape): - """Dataclass for RemoveSourceIdentifierFromSubscriptionOutput structure.""" - - event_subscription: EventSubscription | None = ... - """ - Contains the results of a successful invocation of the - `DescribeEventSubscriptions` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RemoveTagsFromResourceInput(_SerdeShape): - """""" - - resource_name: str | None = ... - """ - The Amazon RDS resource that the tags are removed from. This value is an - Amazon Resource Name (ARN). For information about creating an ARN, see - [Constructing an ARN for Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) - in the *Amazon RDS User Guide.* - """ - tag_keys: list[str] | None = ... - """The tag key (name) of the tag to be removed.""" - -@dataclass(kw_only=True) -class RemoveTagsFromResourceOutput(_SerdeShape): - """Dataclass for RemoveTagsFromResourceOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ReplicaMode(UnknownEnumMixin, StrEnum): - OPEN_READ_ONLY = "open-read-only" - MOUNTED = "mounted" - -@dataclass(kw_only=True) -class ReservedDBInstance(_SerdeShape): - """ - This data type is used as a response element in the - `DescribeReservedDBInstances` and `PurchaseReservedDBInstancesOffering` - actions. - """ - - reserved_db_instance_id: str | None = ... - """The unique identifier for the reservation.""" - reserved_db_instances_offering_id: str | None = ... - """The offering identifier.""" - db_instance_class: str | None = ... - """The DB instance class for the reserved DB instance.""" - start_time: datetime | None = ... - """The time the reservation started.""" - duration: int | None = ... - """The duration of the reservation in seconds.""" - fixed_price: float | None = ... - """The fixed price charged for this reserved DB instance.""" - usage_price: float | None = ... - """The hourly price charged for this reserved DB instance.""" - currency_code: str | None = ... - """The currency code for the reserved DB instance.""" - db_instance_count: int | None = ... - """The number of reserved DB instances.""" - product_description: str | None = ... - """The description of the reserved DB instance.""" - offering_type: str | None = ... - """The offering type of this reserved DB instance.""" - multi_az: bool | None = ... - """Indicates whether the reservation applies to Multi-AZ deployments.""" - state: str | None = ... - """The state of the reserved DB instance.""" - recurring_charges: list[RecurringCharge] | None = ... - """The recurring price charged to run this reserved DB instance.""" - reserved_db_instance_arn: str | None = ... - """The Amazon Resource Name (ARN) for the reserved DB instance.""" - lease_id: str | None = ... - """ - The unique identifier for the lease associated with the reserved DB - instance. - - Note: - Amazon Web Services Support might request the lease ID for an issue - related to a reserved DB instance. - """ - -@dataclass(kw_only=True) -class ReservedDBInstanceAlreadyExistsFault(ServiceError, _SerdeShape): - """User already has a reservation with the given identifier.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReservedDBInstanceNotFoundFault(ServiceError, _SerdeShape): - """The specified reserved DB Instance not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReservedDBInstanceQuotaExceededFault(ServiceError, _SerdeShape): - """Request would exceed the user's DB Instance quota.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReservedDBInstancesOffering(_SerdeShape): - """ - This data type is used as a response element in the - `DescribeReservedDBInstancesOfferings` action. - """ - - reserved_db_instances_offering_id: str | None = ... - """The offering identifier.""" - db_instance_class: str | None = ... - """The DB instance class for the reserved DB instance.""" - duration: int | None = ... - """The duration of the offering in seconds.""" - fixed_price: float | None = ... - """The fixed price charged for this offering.""" - usage_price: float | None = ... - """The hourly price charged for this offering.""" - currency_code: str | None = ... - """The currency code for the reserved DB instance offering.""" - product_description: str | None = ... - """The database engine used by the offering.""" - offering_type: str | None = ... - """The offering type.""" - multi_az: bool | None = ... - """Indicates whether the offering applies to Multi-AZ deployments.""" - recurring_charges: list[RecurringCharge] | None = ... - """The recurring price charged to run this reserved DB instance.""" - -@dataclass(kw_only=True) -class ReservedDBInstancesOfferingNotFoundFault(ServiceError, _SerdeShape): - """Specified offering does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResetDBClusterParameterGroupInput(_SerdeShape): - """""" - - db_cluster_parameter_group_name: str | None = ... - """The name of the DB cluster parameter group to reset.""" - reset_all_parameters: bool | None = ... - """ - Specifies whether to reset all parameters in the DB cluster parameter - group to their default values. You can't use this parameter if there is - a list of parameter names specified for the `Parameters` parameter. - """ - parameters: list[Parameter] | None = ... - """ - A list of parameter names in the DB cluster parameter group to reset to - the default values. You can't use this parameter if the - `ResetAllParameters` parameter is enabled. - """ - -@dataclass(kw_only=True) -class ResetDBClusterParameterGroupOutput(_SerdeShape): - """""" - - db_cluster_parameter_group_name: str | None = ... - """ - The name of the DB cluster parameter group. - - Constraints: - - - Must be 1 to 255 letters or numbers. - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Note: - This value is stored as a lowercase string. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResetDBParameterGroupInput(_SerdeShape): - """""" - - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group. - - Constraints: - - - Must match the name of an existing `DBParameterGroup`. - """ - reset_all_parameters: bool | None = ... - """ - Specifies whether to reset all parameters in the DB parameter group to - default values. By default, all parameters in the DB parameter group are - reset to default values. - """ - parameters: list[Parameter] | None = ... - """ - To reset the entire DB parameter group, specify the `DBParameterGroup` - name and `ResetAllParameters` parameters. To reset specific parameters, - provide a list of the following: `ParameterName` and `ApplyMethod`. A - maximum of 20 parameters can be modified in a single request. - - **MySQL** - - Valid Values (for Apply method): `immediate` | `pending-reboot` - - You can use the immediate value with dynamic parameters only. You can - use the `pending-reboot` value for both dynamic and static parameters, - and changes are applied when DB instance reboots. - - **MariaDB** - - Valid Values (for Apply method): `immediate` | `pending-reboot` - - You can use the immediate value with dynamic parameters only. You can - use the `pending-reboot` value for both dynamic and static parameters, - and changes are applied when DB instance reboots. - - **Oracle** - - Valid Values (for Apply method): `pending-reboot` - """ - -@dataclass(kw_only=True) -class ResetDBParameterGroupOutput(_SerdeShape): - """ - Contains the result of a successful invocation of the - `ModifyDBParameterGroup` or `ResetDBParameterGroup` operation. - """ - - db_parameter_group_name: str | None = ... - """The name of the DB parameter group.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourceNotFoundFault(ServiceError, _SerdeShape): - """The specified resource ID was not found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ResourcePendingMaintenanceActions(_SerdeShape): - """Describes the pending maintenance actions for a resource.""" - - resource_identifier: str | None = ... - """The ARN of the resource that has pending maintenance actions.""" - pending_maintenance_action_details: list[PendingMaintenanceAction] | None = ... - """ - A list that provides details about the pending maintenance actions for - the resource. - """ - -@dataclass(kw_only=True) -class RestoreDBClusterFromS3Input(_SerdeShape): - """Dataclass for RestoreDBClusterFromS3Input structure.""" - - availability_zones: list[str] | None = ... - """ - A list of Availability Zones (AZs) where instances in the restored DB - cluster can be created. - """ - backup_retention_period: int | None = ... - """ - The number of days for which automated backups of the restored DB - cluster are retained. You must specify a minimum value of 1. - - Default: 1 - - Constraints: - - - Must be a value from 1 to 35 - """ - character_set_name: str | None = ... - """ - A value that indicates that the restored DB cluster should be associated - with the specified CharacterSet. - """ - database_name: str | None = ... - """The database name for the restored DB cluster.""" - db_cluster_identifier: str | None = ... - """ - The name of the DB cluster to create from the source data in the Amazon - S3 bucket. This parameter isn't case-sensitive. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `my-cluster1` - """ - db_cluster_parameter_group_name: str | None = ... - """ - The name of the DB cluster parameter group to associate with the - restored DB cluster. If this argument is omitted, the default parameter - group for the engine version is used. - - Constraints: - - - If supplied, must match the name of an existing - DBClusterParameterGroup. - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of EC2 VPC security groups to associate with the restored DB - cluster. - """ - db_subnet_group_name: str | None = ... - """ - A DB subnet group to associate with the restored DB cluster. - - Constraints: If supplied, must match the name of an existing - DBSubnetGroup. - - Example: `mydbsubnetgroup` - """ - engine: str | None = ... - """ - The name of the database engine to be used for this DB cluster. - - Valid Values: `aurora-mysql` (for Aurora MySQL) - """ - engine_version: str | None = ... - """ - The version number of the database engine to use. - - To list all of the available engine versions for `aurora-mysql` (Aurora - MySQL), use the following command: - - `aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"` - - **Aurora MySQL** - - Examples: `5.7.mysql_aurora.2.12.0`, `8.0.mysql_aurora.3.04.0` - """ - port: int | None = ... - """ - The port number on which the instances in the restored DB cluster accept - connections. - - Default: `3306` - """ - master_username: str | None = ... - """ - The name of the master user for the restored DB cluster. - - Constraints: - - - Must be 1 to 16 letters or numbers. - - - First character must be a letter. - - - Can't be a reserved word for the chosen database engine. - """ - master_user_password: str | None = ... - """ - The password for the master database user. This password can contain any - printable ASCII character except \"/\", \"\"\", or \"@\". - - Constraints: - - - Must contain from 8 to 41 characters. - - - Can't be specified if `ManageMasterUserPassword` is turned on. - """ - option_group_name: str | None = ... - """ - A value that indicates that the restored DB cluster should be associated - with the specified option group. - - Permanent options can't be removed from an option group. An option - group can't be removed from a DB cluster once it is associated with a - DB cluster. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled using the `BackupRetentionPeriod` - parameter. - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region. To view the time - blocks available, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) - in the *Amazon Aurora User Guide*. - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - preferred_maintenance_window: str | None = ... - """ - The weekly time range during which system maintenance can occur, in - Universal Coordinated Time (UTC). - - Format: `ddd:hh24:mi-ddd:hh24:mi` - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region, occurring on a random - day of the week. To see the time blocks available, see [Adjusting the - Preferred Maintenance - Window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) - in the *Amazon Aurora User Guide*. - - Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. - - Constraints: Minimum 30-minute window. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - storage_encrypted: bool | None = ... - """Specifies whether the restored DB cluster is encrypted.""" - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted DB cluster. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - If the StorageEncrypted parameter is enabled, and you do not specify a - value for the `KmsKeyId` parameter, then Amazon RDS will use your - default KMS key. There is a default KMS key for your Amazon Web Services - account. Your Amazon Web Services account has a different default KMS - key for each Amazon Web Services Region. - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - For more information, see [IAM Database - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon Aurora User Guide*. - """ - source_engine: str | None = ... - """ - The identifier for the database engine that was backed up to create the - files stored in the Amazon S3 bucket. - - Valid Values: `mysql` - """ - source_engine_version: str | None = ... - """ - The version of the database that the backup files were created from. - - MySQL versions 5.7 and 8.0 are supported. - - Example: `5.7.40`, `8.0.28` - """ - s3_bucket_name: str | None = ... - """ - The name of the Amazon S3 bucket that contains the data used to create - the Amazon Aurora DB cluster. - """ - s3_prefix: str | None = ... - """ - The prefix for all of the file names that contain the data used to - create the Amazon Aurora DB cluster. If you do not specify a - **SourceS3Prefix** value, then the Amazon Aurora DB cluster is created - by using all of the files in the Amazon S3 bucket. - """ - s3_ingestion_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the Amazon Web Services Identity and - Access Management (IAM) role that authorizes Amazon RDS to access the - Amazon S3 bucket on your behalf. - """ - backtrack_window: int | None = ... - """ - The target backtrack window, in seconds. To disable backtracking, set - this value to 0. - - Note: - Currently, Backtrack is only supported for Aurora MySQL DB clusters. - - Default: 0 - - Constraints: - - - If specified, this value must be set to a number from 0 to 259,200 (72 - hours). - """ - enable_cloudwatch_logs_exports: list[str] | None = ... - """ - The list of logs that the restored DB cluster is to export to CloudWatch - Logs. The values in the list depend on the DB engine being used. - - **Aurora MySQL** - - Possible values are `audit`, `error`, `general`, `instance`, - `slowquery`, and `iam-db-auth-error`. - - **Aurora PostgreSQL** - - Possible value are `instance`, `postgresql`, and `iam-db-auth-error`. - - For more information about exporting CloudWatch Logs for Amazon RDS, see - [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - For more information about exporting CloudWatch Logs for Amazon Aurora, - see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon Aurora User Guide*. - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the DB cluster. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the restored DB cluster to - snapshots of the restored DB cluster. The default is not to copy them. - """ - domain: str | None = ... - """ - Specify the Active Directory directory ID to restore the DB cluster in. - The domain must be created prior to this operation. - - For Amazon Aurora DB clusters, Amazon RDS can use Kerberos - Authentication to authenticate users that connect to the DB cluster. For - more information, see [Kerberos - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) - in the *Amazon Aurora User Guide*. - """ - domain_iam_role_name: str | None = ... - """ - Specify the name of the IAM role to be used when making API calls to the - Directory Service. - """ - storage_type: str | None = ... - """ - Specifies the storage type to be associated with the DB cluster. - - Valid Values: `aurora`, `aurora-iopt1` - - Default: `aurora` - - Valid for: Aurora DB clusters only - """ - network_type: str | None = ... - """ - The network type of the DB cluster. - - Valid Values: - - - `IPV4` - - - `DUAL` - - The network type is determined by the `DBSubnetGroup` specified for the - DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon Aurora User Guide.* - """ - serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... - """ - Contains the scaling configuration of an Aurora Serverless v2 DB - cluster. - - For more information, see [Using Amazon Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the *Amazon Aurora User Guide*. - """ - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide* and [Password management with Amazon Web - Services Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the *Amazon Aurora User Guide.* - - Constraints: - - - Can't manage the master user password with Amazon Web Services - Secrets Manager if `MasterUserPassword` is specified. - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB cluster. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - If you don't specify `MasterUserSecretKmsKeyId`, then the - `aws/secretsmanager` KMS key is used to encrypt the secret. If the - secret is in a different Amazon Web Services account, then you can't - use the `aws/secretsmanager` KMS key to encrypt the secret, and you must - use a customer managed KMS key. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB cluster. - - Note: - By default, this value is set to `open-source-rds-extended-support`, - which enrolls your DB cluster into Amazon RDS Extended Support. At the - end of standard support, you can avoid charges for Extended Support by - setting the value to `open-source-rds-extended-support-disabled`. In - this case, RDS automatically upgrades your restored DB cluster to a - higher engine version, if the major engine version is past its end of - standard support date. - - You can use this setting to enroll your DB cluster into Amazon RDS - Extended Support. With RDS Extended Support, you can run the selected - major engine version on your DB cluster past the end of standard support - for that engine version. For more information, see the following - sections: - - - Amazon Aurora - [Amazon RDS Extended Support with Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) - in the *Amazon Aurora User Guide* - - - Amazon RDS - [Amazon RDS Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide* - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - Default: `open-source-rds-extended-support` - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB cluster. - - Valid Values: - - - `cluster-auto-backup` - The DB cluster's automated backup. - """ - associated_roles: list[DBClusterAssociatedRole] | None = ... - """ - A list of Amazon Web Services Identity and Access Management (IAM) roles - to associate with the DB cluster when it's restored from Amazon S3. - Each role grants the DB cluster permission to access other Amazon Web - Services on your behalf. For each role, specify a role ARN and, - optionally, the feature name (such as `s3Import`, `s3Export`, or - `Lambda`). - """ - -@dataclass(kw_only=True) -class RestoreDBClusterFromS3Output(_SerdeShape): - """Dataclass for RestoreDBClusterFromS3Output structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreDBClusterFromSnapshotInput(_SerdeShape): - """""" - - availability_zones: list[str] | None = ... - """ - Provides the list of Availability Zones (AZs) where instances in the - restored DB cluster can be created. - - Valid for: Aurora DB clusters only - """ - db_cluster_identifier: str | None = ... - """ - The name of the DB cluster to create from the DB snapshot or DB cluster - snapshot. This parameter isn't case-sensitive. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Example: `my-snapshot-id` - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - snapshot_identifier: str | None = ... - """ - The identifier for the DB snapshot or DB cluster snapshot to restore - from. - - You can use either the name or the Amazon Resource Name (ARN) to specify - a DB cluster snapshot. However, you can use only the ARN to specify a DB - snapshot. - - Constraints: - - - Must match the identifier of an existing Snapshot. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - engine: str | None = ... - """ - The database engine to use for the new DB cluster. - - Default: The same as source - - Constraint: Must be compatible with the engine of the source - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - engine_version: str | None = ... - """ - The version of the database engine to use for the new DB cluster. If you - don't specify an engine version, the default version for the database - engine in the Amazon Web Services Region is used. - - To list all of the available engine versions for Aurora MySQL, use the - following command: - - `aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"` - - To list all of the available engine versions for Aurora PostgreSQL, use - the following command: - - `aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"` - - To list all of the available engine versions for RDS for MySQL, use the - following command: - - `aws rds describe-db-engine-versions --engine mysql --query "DBEngineVersions[].EngineVersion"` - - To list all of the available engine versions for RDS for PostgreSQL, use - the following command: - - `aws rds describe-db-engine-versions --engine postgres --query "DBEngineVersions[].EngineVersion"` - - **Aurora MySQL** - - See [Database engine updates for Amazon Aurora - MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) - in the *Amazon Aurora User Guide*. - - **Aurora PostgreSQL** - - See [Amazon Aurora PostgreSQL releases and engine - versions](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html) - in the *Amazon Aurora User Guide*. - - **MySQL** - - See [Amazon RDS for - MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) - in the *Amazon RDS User Guide.* - - **PostgreSQL** - - See [Amazon RDS for PostgreSQL versions and - extensions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) - in the *Amazon RDS User Guide.* - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - port: int | None = ... - """ - The port number on which the new DB cluster accepts connections. - - Constraints: This value must be `1150-65535` - - Default: The same port as the original DB cluster. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - db_subnet_group_name: str | None = ... - """ - The name of the DB subnet group to use for the new DB cluster. - - Constraints: If supplied, must match the name of an existing DB subnet - group. - - Example: `mydbsubnetgroup` - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - database_name: str | None = ... - """ - The database name for the restored DB cluster. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - option_group_name: str | None = ... - """ - The name of the option group to use for the restored DB cluster. - - DB clusters are associated with a default option group that can't be - modified. - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of VPC security groups that the new DB cluster will belong to. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - tags: list[Tag] | None = ... - """ - The tags to be assigned to the restored DB cluster. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to use when restoring an - encrypted DB cluster from a DB snapshot or DB cluster snapshot. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - When you don't specify a value for the `KmsKeyId` parameter, then the - following occurs: - - - If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` is - encrypted, then the restored DB cluster is encrypted using the KMS key - that was used to encrypt the DB snapshot or DB cluster snapshot. - - - If the DB snapshot or DB cluster snapshot in `SnapshotIdentifier` - isn't encrypted, then the restored DB cluster isn't encrypted. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - For more information, see [IAM Database - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon Aurora User Guide* or [IAM database authentication for - MariaDB, MySQL, and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide*. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - backtrack_window: int | None = ... - """ - The target backtrack window, in seconds. To disable backtracking, set - this value to 0. - - Note: - Currently, Backtrack is only supported for Aurora MySQL DB clusters. - - Default: 0 - - Constraints: - - - If specified, this value must be set to a number from 0 to 259,200 (72 - hours). - - Valid for: Aurora DB clusters only - """ - enable_cloudwatch_logs_exports: list[str] | None = ... - """ - The list of logs that the restored DB cluster is to export to Amazon - CloudWatch Logs. The values in the list depend on the DB engine being - used. - - **RDS for MySQL** - - Possible values are `error`, `general`, `slowquery`, and - `iam-db-auth-error`. - - **RDS for PostgreSQL** - - Possible values are `postgresql`, `upgrade`, and `iam-db-auth-error`. - - **Aurora MySQL** - - Possible values are `audit`, `error`, `general`, `instance`, - `slowquery`, and `iam-db-auth-error`. - - **Aurora PostgreSQL** - - Possible value are `instance`, `postgresql`, and `iam-db-auth-error`. - - For more information about exporting CloudWatch Logs for Amazon RDS, see - [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - For more information about exporting CloudWatch Logs for Amazon Aurora, - see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon Aurora User Guide*. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - engine_mode: str | None = ... - """ - The DB engine mode of the DB cluster, either `provisioned` or - `serverless`. - - For more information, see - [CreateDBCluster](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html). - - Valid for: Aurora DB clusters only - """ - scaling_configuration: ScalingConfiguration | None = ... - """ - For DB clusters in `serverless` DB engine mode, the scaling properties - of the DB cluster. - - Valid for: Aurora DB clusters only - """ - db_cluster_parameter_group_name: str | None = ... - """ - The name of the DB cluster parameter group to associate with this DB - cluster. If this argument is omitted, the default DB cluster parameter - group for the specified engine is used. - - Constraints: - - - If supplied, must match the name of an existing default DB cluster - parameter group. - - - Must be 1 to 255 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the DB cluster. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the restored DB cluster to - snapshots of the restored DB cluster. The default is not to copy them. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - domain: str | None = ... - """ - The Active Directory directory ID to restore the DB cluster in. The - domain must be created prior to this operation. Currently, only MySQL, - Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created - in an Active Directory Domain. - - For more information, see [Kerberos - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) - in the *Amazon RDS User Guide*. - - Valid for: Aurora DB clusters only - """ - domain_iam_role_name: str | None = ... - """ - The name of the IAM role to be used when making API calls to the - Directory Service. - - Valid for: Aurora DB clusters only - """ - db_cluster_instance_class: str | None = ... - """ - The compute and memory capacity of the each DB instance in the Multi-AZ - DB cluster, for example db.m6gd.xlarge. Not all DB instance classes are - available in all Amazon Web Services Regions, or for all database - engines. - - For the full list of DB instance classes, and availability for your - engine, see [DB Instance - Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide.* - - Valid for: Multi-AZ DB clusters only - """ - storage_type: str | None = ... - """ - Specifies the storage type to be associated with the DB cluster. - - When specified for a Multi-AZ DB cluster, a value for the `Iops` - parameter is required. - - Valid Values: `aurora`, `aurora-iopt1` (Aurora DB clusters); `io1` - (Multi-AZ DB clusters) - - Default: `aurora` (Aurora DB clusters); `io1` (Multi-AZ DB clusters) - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - iops: int | None = ... - """ - The amount of Provisioned IOPS (input/output operations per second) to - be initially allocated for each DB instance in the Multi-AZ DB cluster. - - For information about valid IOPS values, see [Amazon RDS Provisioned - IOPS - storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) - in the *Amazon RDS User Guide*. - - Constraints: Must be a multiple between .5 and 50 of the storage amount - for the DB instance. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB cluster is publicly accessible. - - When the DB cluster is publicly accessible, its Domain Name System (DNS) - endpoint resolves to the private IP address from within the DB - cluster's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB cluster's VPC. Access to the DB cluster - is ultimately controlled by the security group it uses. That public - access is not permitted if the security group assigned to the DB cluster - doesn't permit it. - - When the DB cluster isn't publicly accessible, it is an internal DB - cluster with a DNS name that resolves to a private IP address. - - Default: The default behavior varies depending on whether - `DBSubnetGroupName` is specified. - - If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible` isn't - specified, the following applies: - - - If the default VPC in the target Region doesn't have an internet - gateway attached to it, the DB cluster is private. - - - If the default VPC in the target Region has an internet gateway - attached to it, the DB cluster is public. - - If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't - specified, the following applies: - - - If the subnets are part of a VPC that doesn't have an internet gateway - attached to it, the DB cluster is private. - - - If the subnets are part of a VPC that has an internet gateway attached - to it, the DB cluster is public. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - network_type: str | None = ... - """ - The network type of the DB cluster. - - Valid Values: - - - `IPV4` - - - `DUAL` - - The network type is determined by the `DBSubnetGroup` specified for the - DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon Aurora User Guide.* - - Valid for: Aurora DB clusters only - """ - serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... - """ - Contains the scaling configuration of an Aurora Serverless v2 DB - cluster. - - For more information, see [Using Amazon Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the *Amazon Aurora User Guide*. - """ - rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... - """Reserved for future use.""" - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the DB cluster. To turn off collecting - Enhanced Monitoring metrics, specify `0`. - - If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to a - value other than `0`. - - Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` - - Default: `0` - """ - monitoring_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send - Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is - `arn:aws:iam:123456789012:role/emaccess`. - - If `MonitoringInterval` is set to a value other than `0`, supply a - `MonitoringRoleArn` value. - """ - enable_performance_insights: bool | None = ... - """Specifies whether to turn on Performance Insights for the DB cluster.""" - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - If you don't specify a value for `PerformanceInsightsKMSKeyId`, then - Amazon RDS uses your default KMS key. There is a default KMS key for - your Amazon Web Services account. Your Amazon Web Services account has a - different default KMS key for each Amazon Web Services Region. - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. - - Valid Values: - - - `7` - - - *month* * 31, where *month* is a number of months from 1-23. - Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 - months * 31) - - - `731` - - Default: `7` days - - If you specify a retention period that isn't valid, such as `94`, - Amazon RDS issues an error. - """ - backup_retention_period: int | None = ... - """ - The number of days for which automated backups are retained. Specify a - minimum value of `1`. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Default: Uses existing setting - - Constraints: - - - Must be a value from 1 to 35. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, using the `BackupRetentionPeriod` - parameter. - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region. To view the time - blocks available, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) - in the *Amazon Aurora User Guide*. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB cluster. - - Note: - By default, this value is set to `open-source-rds-extended-support`, - which enrolls your DB cluster into Amazon RDS Extended Support. At the - end of standard support, you can avoid charges for Extended Support by - setting the value to `open-source-rds-extended-support-disabled`. In - this case, RDS automatically upgrades your restored DB cluster to a - higher engine version, if the major engine version is past its end of - standard support date. - - You can use this setting to enroll your DB cluster into Amazon RDS - Extended Support. With RDS Extended Support, you can run the selected - major engine version on your DB cluster past the end of standard support - for that engine version. For more information, see the following - sections: - - - Amazon Aurora - [Amazon RDS Extended Support with Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) - in the *Amazon Aurora User Guide* - - - Amazon RDS - [Amazon RDS Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide* - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - Default: `open-source-rds-extended-support` - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB cluster. - - Valid Values: - - - `cluster-auto-backup` - The DB cluster's automated backup. - """ - enable_vpc_networking: bool | None = ... - """ - Specifies whether to enable VPC networking for the restored DB cluster. - Set this parameter to `false` to create a cluster without the VPC - network interface (ENI). - - This parameter must be used together with `EnableInternetAccessGateway`. - When both parameters are specified, IAM database authentication is - required. You must also specify `EnableIAMDatabaseAuthentication`. - - Valid for Cluster Type: Aurora PostgreSQL clusters - """ - enable_internet_access_gateway: bool | None = ... - """ - Specifies that the restored DB cluster should use internet-based - connectivity through an internet access gateway. This allows clients to - connect to the cluster over the internet without requiring a VPC. - - This parameter must be used together with `EnableVPCNetworking` set to - `false`. When both parameters are specified, IAM database authentication - is required. You must also specify `EnableIAMDatabaseAuthentication`. - - Valid for Cluster Type: Aurora PostgreSQL clusters - """ - associated_roles: list[DBClusterAssociatedRole] | None = ... - """ - A list of Amazon Web Services Identity and Access Management (IAM) roles - to associate with the DB cluster when it's restored from a snapshot. - Each role grants the DB cluster permission to access other Amazon Web - Services on your behalf. For each role, specify a role ARN and, - optionally, the feature name (such as `s3Import`, `s3Export`, or - `Lambda`). - - Valid for Cluster Type: Aurora DB clusters only - """ - -@dataclass(kw_only=True) -class RestoreDBClusterFromSnapshotOutput(_SerdeShape): - """Dataclass for RestoreDBClusterFromSnapshotOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreDBClusterToPointInTimeInput(_SerdeShape): - """""" - - db_cluster_identifier: str | None = ... - """ - The name of the new DB cluster to be created. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens - - - First character must be a letter - - - Can't end with a hyphen or contain two consecutive hyphens - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - restore_type: str | None = ... - """ - The type of restore to be performed. You can specify one of the - following values: - - - `full-copy` - The new DB cluster is restored as a full copy of the - source DB cluster. - - - `copy-on-write` - The new DB cluster is restored as a clone of the - source DB cluster. - - If you don't specify a `RestoreType` value, then the new DB cluster is - restored as a full copy of the source DB cluster. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - source_db_cluster_identifier: str | None = ... - """ - The identifier of the source DB cluster from which to restore. - - Constraints: - - - Must match the identifier of an existing DBCluster. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - restore_to_time: datetime | None = ... - """ - The date and time to restore the DB cluster to. - - Valid Values: Value must be a time in Universal Coordinated Time (UTC) - format - - Constraints: - - - Must be before the latest restorable time for the DB instance - - - Must be specified if `UseLatestRestorableTime` parameter isn't - provided - - - Can't be specified if the `UseLatestRestorableTime` parameter is - enabled - - - Can't be specified if the `RestoreType` parameter is `copy-on-write` - - Example: `2015-03-07T23:45:00Z` - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - use_latest_restorable_time: bool | None = ... - """ - Specifies whether to restore the DB cluster to the latest restorable - backup time. By default, the DB cluster isn't restored to the latest - restorable backup time. - - Constraints: Can't be specified if `RestoreToTime` parameter is - provided. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - port: int | None = ... - """ - The port number on which the new DB cluster accepts connections. - - Constraints: A value from `1150-65535`. - - Default: The default port for the engine. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - db_subnet_group_name: str | None = ... - """ - The DB subnet group name to use for the new DB cluster. - - Constraints: If supplied, must match the name of an existing - DBSubnetGroup. - - Example: `mydbsubnetgroup` - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - option_group_name: str | None = ... - """ - The name of the option group for the new DB cluster. - - DB clusters are associated with a default option group that can't be - modified. - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of VPC security groups that the new DB cluster belongs to. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to use when restoring an - encrypted DB cluster from an encrypted DB cluster. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - You can restore to a new DB cluster and encrypt the new DB cluster with - a KMS key that is different from the KMS key used to encrypt the source - DB cluster. The new DB cluster is encrypted with the KMS key identified - by the `KmsKeyId` parameter. - - If you don't specify a value for the `KmsKeyId` parameter, then the - following occurs: - - - If the DB cluster is encrypted, then the restored DB cluster is - encrypted using the KMS key that was used to encrypt the source DB - cluster. - - - If the DB cluster isn't encrypted, then the restored DB cluster - isn't encrypted. - - If `DBClusterIdentifier` refers to a DB cluster that isn't encrypted, - then the restore request is rejected. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - For more information, see [IAM Database - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon Aurora User Guide* or [IAM database authentication for - MariaDB, MySQL, and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide*. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - backtrack_window: int | None = ... - """ - The target backtrack window, in seconds. To disable backtracking, set - this value to 0. - - Default: 0 - - Constraints: - - - If specified, this value must be set to a number from 0 to 259,200 (72 - hours). - - Valid for: Aurora MySQL DB clusters only - """ - enable_cloudwatch_logs_exports: list[str] | None = ... - """ - The list of logs that the restored DB cluster is to export to CloudWatch - Logs. The values in the list depend on the DB engine being used. - - **RDS for MySQL** - - Possible values are `error`, `general`, `slowquery`, and - `iam-db-auth-error`. - - **RDS for PostgreSQL** - - Possible values are `postgresql`, `upgrade`, and `iam-db-auth-error`. - - **Aurora MySQL** - - Possible values are `audit`, `error`, `general`, `instance`, - `slowquery`, and `iam-db-auth-error`. - - **Aurora PostgreSQL** - - Possible value are `instance`, `postgresql`, and `iam-db-auth-error`. - - For more information about exporting CloudWatch Logs for Amazon RDS, see - [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - For more information about exporting CloudWatch Logs for Amazon Aurora, - see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon Aurora User Guide*. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - db_cluster_parameter_group_name: str | None = ... - """ - The name of the custom DB cluster parameter group to associate with this - DB cluster. - - If the `DBClusterParameterGroupName` parameter is omitted, the default - DB cluster parameter group for the specified engine is used. - - Constraints: - - - If supplied, must match the name of an existing DB cluster parameter - group. - - - Must be 1 to 255 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the DB cluster. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the restored DB cluster to - snapshots of the restored DB cluster. The default is not to copy them. - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - domain: str | None = ... - """ - The Active Directory directory ID to restore the DB cluster in. The - domain must be created prior to this operation. - - For Amazon Aurora DB clusters, Amazon RDS can use Kerberos - Authentication to authenticate users that connect to the DB cluster. For - more information, see [Kerberos - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) - in the *Amazon Aurora User Guide*. - - Valid for: Aurora DB clusters only - """ - domain_iam_role_name: str | None = ... - """ - The name of the IAM role to be used when making API calls to the - Directory Service. - - Valid for: Aurora DB clusters only - """ - db_cluster_instance_class: str | None = ... - """ - The compute and memory capacity of the each DB instance in the Multi-AZ - DB cluster, for example db.m6gd.xlarge. Not all DB instance classes are - available in all Amazon Web Services Regions, or for all database - engines. - - For the full list of DB instance classes, and availability for your - engine, see [DB instance - class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide*. - - Valid for: Multi-AZ DB clusters only - """ - storage_type: str | None = ... - """ - Specifies the storage type to be associated with the DB cluster. - - When specified for a Multi-AZ DB cluster, a value for the `Iops` - parameter is required. - - Valid Values: `aurora`, `aurora-iopt1` (Aurora DB clusters); `io1` - (Multi-AZ DB clusters) - - Default: `aurora` (Aurora DB clusters); `io1` (Multi-AZ DB clusters) - - Valid for: Aurora DB clusters and Multi-AZ DB clusters - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB cluster is publicly accessible. - - When the DB cluster is publicly accessible, its Domain Name System (DNS) - endpoint resolves to the private IP address from within the DB - cluster's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB cluster's VPC. Access to the DB cluster - is ultimately controlled by the security group it uses. That public - access is not permitted if the security group assigned to the DB cluster - doesn't permit it. - - When the DB cluster isn't publicly accessible, it is an internal DB - cluster with a DNS name that resolves to a private IP address. - - Default: The default behavior varies depending on whether - `DBSubnetGroupName` is specified. - - If `DBSubnetGroupName` isn't specified, and `PubliclyAccessible` isn't - specified, the following applies: - - - If the default VPC in the target Region doesn't have an internet - gateway attached to it, the DB cluster is private. - - - If the default VPC in the target Region has an internet gateway - attached to it, the DB cluster is public. - - If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn't - specified, the following applies: - - - If the subnets are part of a VPC that doesn't have an internet gateway - attached to it, the DB cluster is private. - - - If the subnets are part of a VPC that has an internet gateway attached - to it, the DB cluster is public. - - Valid for: Multi-AZ DB clusters only - """ - iops: int | None = ... - """ - The amount of Provisioned IOPS (input/output operations per second) to - be initially allocated for each DB instance in the Multi-AZ DB cluster. - - For information about valid IOPS values, see [Amazon RDS Provisioned - IOPS - storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) - in the *Amazon RDS User Guide*. - - Constraints: Must be a multiple between .5 and 50 of the storage amount - for the DB instance. - - Valid for: Multi-AZ DB clusters only - """ - network_type: str | None = ... - """ - The network type of the DB cluster. - - Valid Values: - - - `IPV4` - - - `DUAL` - - The network type is determined by the `DBSubnetGroup` specified for the - DB cluster. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon Aurora User Guide.* - - Valid for: Aurora DB clusters only - """ - source_db_cluster_resource_id: str | None = ... - """The resource ID of the source DB cluster from which to restore.""" - serverless_v2_scaling_configuration: ServerlessV2ScalingConfiguration | None = ... - """ - Contains the scaling configuration of an Aurora Serverless v2 DB - cluster. - - For more information, see [Using Amazon Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the *Amazon Aurora User Guide*. - """ - scaling_configuration: ScalingConfiguration | None = ... - """ - For DB clusters in `serverless` DB engine mode, the scaling properties - of the DB cluster. - - Valid for: Aurora DB clusters only - """ - engine_mode: str | None = ... - """ - The engine mode of the new cluster. Specify `provisioned` or - `serverless`, depending on the type of the cluster you are creating. You - can create an Aurora Serverless v1 clone from a provisioned cluster, or - a provisioned clone from an Aurora Serverless v1 cluster. To create a - clone that is an Aurora Serverless v1 cluster, the original cluster must - be an Aurora Serverless v1 cluster or an encrypted provisioned cluster. - To create a full copy that is an Aurora Serverless v1 cluster, specify - the engine mode `serverless`. - - Valid for: Aurora DB clusters only - """ - rds_custom_cluster_configuration: RdsCustomClusterConfiguration | None = ... - """Reserved for future use.""" - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the DB cluster. To turn off collecting - Enhanced Monitoring metrics, specify `0`. - - If `MonitoringRoleArn` is specified, also set `MonitoringInterval` to a - value other than `0`. - - Valid Values: `0 | 1 | 5 | 10 | 15 | 30 | 60` - - Default: `0` - """ - monitoring_role_arn: str | None = ... - """ - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send - Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is - `arn:aws:iam:123456789012:role/emaccess`. - - If `MonitoringInterval` is set to a value other than `0`, supply a - `MonitoringRoleArn` value. - """ - enable_performance_insights: bool | None = ... - """Specifies whether to turn on Performance Insights for the DB cluster.""" - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - If you don't specify a value for `PerformanceInsightsKMSKeyId`, then - Amazon RDS uses your default KMS key. There is a default KMS key for - your Amazon Web Services account. Your Amazon Web Services account has a - different default KMS key for each Amazon Web Services Region. - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. - - Valid Values: - - - `7` - - - *month* * 31, where *month* is a number of months from 1-23. - Examples: `93` (3 months * 31), `341` (11 months * 31), `589` (19 - months * 31) - - - `731` - - Default: `7` days - - If you specify a retention period that isn't valid, such as `94`, - Amazon RDS issues an error. - """ - backup_retention_period: int | None = ... - """ - The number of days for which automated backups are retained. Specify a - minimum value of `1`. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Default: Uses existing setting - - Constraints: - - - Must be a value from 1 to 35. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, using the `BackupRetentionPeriod` - parameter. - - The default is a 30-minute window selected at random from an 8-hour - block of time for each Amazon Web Services Region. To view the time - blocks available, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow) - in the *Amazon Aurora User Guide*. - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB cluster. - - Note: - By default, this value is set to `open-source-rds-extended-support`, - which enrolls your DB cluster into Amazon RDS Extended Support. At the - end of standard support, you can avoid charges for Extended Support by - setting the value to `open-source-rds-extended-support-disabled`. In - this case, RDS automatically upgrades your restored DB cluster to a - higher engine version, if the major engine version is past its end of - standard support date. - - You can use this setting to enroll your DB cluster into Amazon RDS - Extended Support. With RDS Extended Support, you can run the selected - major engine version on your DB cluster past the end of standard support - for that engine version. For more information, see the following - sections: - - - Amazon Aurora - [Amazon RDS Extended Support with Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) - in the *Amazon Aurora User Guide* - - - Amazon RDS - [Amazon RDS Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide* - - Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - Default: `open-source-rds-extended-support` - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB cluster. - - Valid Values: - - - `cluster-auto-backup` - The DB cluster's automated backup. - """ - enable_vpc_networking: bool | None = ... - """ - Specifies whether to enable VPC networking for the restored DB cluster. - Set this parameter to `false` to create a cluster without the VPC - network interface (ENI). - - This parameter must be used together with `EnableInternetAccessGateway`. - When both parameters are specified, IAM database authentication is - required. You must also specify `EnableIAMDatabaseAuthentication`. - - Valid for Cluster Type: Aurora PostgreSQL clusters - """ - enable_internet_access_gateway: bool | None = ... - """ - Specifies that the restored DB cluster should use internet-based - connectivity through an internet access gateway. This allows clients to - connect to the cluster over the internet without requiring a VPC. - - This parameter must be used together with `EnableVPCNetworking` set to - `false`. When both parameters are specified, IAM database authentication - is required. You must also specify `EnableIAMDatabaseAuthentication`. - - Valid for Cluster Type: Aurora PostgreSQL clusters - """ - associated_roles: list[DBClusterAssociatedRole] | None = ... - """ - A list of Amazon Web Services Identity and Access Management (IAM) roles - to associate with the DB cluster when it's restored to a point in time. - Each role grants the DB cluster permission to access other Amazon Web - Services on your behalf. For each role, specify a role ARN and, - optionally, the feature name (such as `s3Import`, `s3Export`, or - `Lambda`). - - Valid for Cluster Type: Aurora DB clusters only - """ - -@dataclass(kw_only=True) -class RestoreDBClusterToPointInTimeOutput(_SerdeShape): - """Dataclass for RestoreDBClusterToPointInTimeOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreDBInstanceFromDBSnapshotInput(_SerdeShape): - """""" - - db_instance_identifier: str | None = ... - """ - The name of the DB instance to create from the DB snapshot. This - parameter isn't case-sensitive. - - Constraints: - - - Must contain from 1 to 63 numbers, letters, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `my-snapshot-id` - """ - db_snapshot_identifier: str | None = ... - """ - The identifier for the DB snapshot to restore from. - - Constraints: - - - Must match the identifier of an existing DB snapshot. - - - Can't be specified when `DBClusterSnapshotIdentifier` is specified. - - - Must be specified when `DBClusterSnapshotIdentifier` isn't specified. - - - If you are restoring from a shared manual DB snapshot, the - `DBSnapshotIdentifier` must be the ARN of the shared DB snapshot. - """ - db_instance_class: str | None = ... - """ - The compute and memory capacity of the Amazon RDS DB instance, for - example db.m4.large. Not all DB instance classes are available in all - Amazon Web Services Regions, or for all database engines. For the full - list of DB instance classes, and availability for your engine, see [DB - Instance - Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide.* - - Default: The same DBInstanceClass as the original DB instance. - """ - port: int | None = ... - """ - The port number on which the database accepts connections. - - Default: The same port as the original DB instance - - Constraints: Value must be `1150-65535` - """ - availability_zone: str | None = ... - """ - The Availability Zone (AZ) where the DB instance will be created. - - Default: A random, system-chosen Availability Zone. - - Constraint: You can't specify the `AvailabilityZone` parameter if the - DB instance is a Multi-AZ deployment. - - Example: `us-east-1a` - """ - db_subnet_group_name: str | None = ... - """ - The name of the DB subnet group to use for the new instance. - - Constraints: - - - If supplied, must match the name of an existing DB subnet group. - - Example: `mydbsubnetgroup` - """ - multi_az: bool | None = ... - """ - Specifies whether the DB instance is a Multi-AZ deployment. - - This setting doesn't apply to RDS Custom. - - Constraint: You can't specify the `AvailabilityZone` parameter if the - DB instance is a Multi-AZ deployment. - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB instance is publicly accessible. - - When the DB instance is publicly accessible, its Domain Name System - (DNS) endpoint resolves to the private IP address from within the DB - instance's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB instance's VPC. Access to the DB - instance is ultimately controlled by the security group it uses. That - public access is not permitted if the security group assigned to the DB - instance doesn't permit it. - - When the DB instance isn't publicly accessible, it is an internal DB - instance with a DNS name that resolves to a private IP address. - - For more information, see CreateDBInstance. - """ - auto_minor_version_upgrade: bool | None = ... - """ - Specifies whether to automatically apply minor version upgrades to the - DB instance during the maintenance window. - - If you restore an RDS Custom DB instance, you must disable this - parameter. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - license_model: str | None = ... - """ - License model information for the restored DB instance. - - Note: - License models for RDS for Db2 require additional configuration. The - bring your own license (BYOL) model requires a custom parameter group - and an Amazon Web Services License Manager self-managed license. The Db2 - license through Amazon Web Services Marketplace model requires an Amazon - Web Services Marketplace subscription. For more information, see [Amazon - RDS for Db2 licensing - options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. - - Valid Values: - - - RDS for Db2 - `bring-your-own-license | marketplace-license` - - - RDS for MariaDB - `general-public-license` - - - RDS for Microsoft SQL Server - - `license-included | bring-your-own-media` - - - RDS for MySQL - `general-public-license` - - - RDS for Oracle - `bring-your-own-license | license-included` - - - RDS for PostgreSQL - `postgresql-license` - - Default: Same as the source. - """ - db_name: str | None = ... - """ - The name of the database for the restored DB instance. - - This parameter only applies to RDS for Oracle and RDS for SQL Server DB - instances. It doesn't apply to the other engines or to RDS Custom DB - instances. - """ - engine: str | None = ... - """ - The database engine to use for the new instance. - - This setting doesn't apply to RDS Custom. - - Default: The same as source - - Constraint: Must be compatible with the engine of the source. For - example, you can restore a MariaDB 10.1 DB instance from a MySQL 5.6 - snapshot. - - Valid Values: - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - """ - iops: int | None = ... - """ - Specifies the amount of provisioned IOPS for the DB instance, expressed - in I/O operations per second. If this parameter isn't specified, the - IOPS value is taken from the backup. If this parameter is set to 0, the - new instance is converted to a non-PIOPS instance. The conversion takes - additional time, though your DB instance is available for connections - before the conversion starts. - - The provisioned IOPS value must follow the requirements for your - database engine. For more information, see [Amazon RDS Provisioned IOPS - storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) - in the *Amazon RDS User Guide.* - - Constraints: Must be an integer greater than 1000. - """ - storage_throughput: int | None = ... - """ - Specifies the storage throughput value for the DB instance. - - This setting doesn't apply to RDS Custom or Amazon Aurora. - """ - option_group_name: str | None = ... - """ - The name of the option group to be used for the restored DB instance. - - Permanent options, such as the TDE option for Oracle Advanced Security - TDE, can't be removed from an option group, and that option group - can't be removed from a DB instance after it is associated with a DB - instance. - - This setting doesn't apply to RDS Custom. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - storage_type: str | None = ... - """ - Specifies the storage type to be associated with the DB instance. - - Valid Values: `gp2 | gp3 | io1 | io2 | standard` - - If you specify `io1`, `io2`, or `gp3`, you must also include a value for - the `Iops` parameter. - - Default: `io1` if the `Iops` parameter is specified, otherwise `gp3` - """ - tde_credential_arn: str | None = ... - """ - The ARN from the key store with which to associate the instance for TDE - encryption. - - This setting doesn't apply to RDS Custom. - """ - tde_credential_password: str | None = ... - """ - The password for the given ARN from the key store in order to access the - device. - - This setting doesn't apply to RDS Custom. - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of EC2 VPC security groups to associate with this DB instance. - - Default: The default EC2 VPC security group for the DB subnet group's - VPC. - """ - domain: str | None = ... - """ - The Active Directory directory ID to restore the DB instance in. The - domain/ must be created prior to this operation. Currently, you can - create only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB - instances in an Active Directory Domain. - - For more information, see [Kerberos - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom. - """ - domain_fqdn: str | None = ... - """ - The fully qualified domain name (FQDN) of an Active Directory domain. - - Constraints: - - - Can't be longer than 64 characters. - - Example: `mymanagedADtest.mymanagedAD.mydomain` - """ - domain_ou: str | None = ... - """ - The Active Directory organizational unit for your DB instance to join. - - Constraints: - - - Must be in the distinguished name format. - - - Can't be longer than 64 characters. - - Example: - `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` - """ - domain_auth_secret_arn: str | None = ... - """ - The ARN for the Secrets Manager secret with the credentials for the user - joining the domain. - - Constraints: - - - Can't be longer than 64 characters. - - Example: - `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` - """ - domain_dns_ips: list[str] | None = ... - """ - The IPv4 DNS IP addresses of your primary and secondary Active Directory - domain controllers. - - Constraints: - - - Two IP addresses must be provided. If there isn't a secondary domain - controller, use the IP address of the primary domain controller for - both entries in the list. - - Example: `123.124.125.126,234.235.236.237` - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the restored DB instance to - snapshots of the DB instance. - - In most cases, tags aren't copied by default. However, when you restore - a DB instance from a DB snapshot, RDS checks whether you specify new - tags. If yes, the new tags are added to the restored DB instance. If - there are no new tags, RDS looks for the tags from the source DB - instance for the DB snapshot, and then adds those tags to the restored - DB instance. - - For more information, see [Copying tags to DB instance - snapshots](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html#USER_Tagging.CopyTags) - in the *Amazon RDS User Guide*. - """ - domain_iam_role_name: str | None = ... - """ - The name of the IAM role to use when making API calls to the Directory - Service. - - This setting doesn't apply to RDS Custom DB instances. - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping is disabled. - - For more information about IAM database authentication, see [IAM - Database Authentication for MySQL and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide.* - - This setting doesn't apply to RDS Custom. - """ - enable_cloudwatch_logs_exports: list[str] | None = ... - """ - The list of logs for the restored DB instance to export to CloudWatch - Logs. The values in the list depend on the DB engine. For more - information, see [Publishing Database Logs to Amazon CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom. - """ - processor_features: list[ProcessorFeature] | None = ... - """ - The number of CPU cores and the number of threads per core for the DB - instance class of the DB instance. - - This setting doesn't apply to RDS Custom. - """ - use_default_processor_features: bool | None = ... - """ - Specifies whether the DB instance class of the DB instance uses its - default processor features. - - This setting doesn't apply to RDS Custom. - """ - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group to associate with this DB instance. - - If you don't specify a value for `DBParameterGroupName`, then RDS uses - the default `DBParameterGroup` for the specified DB engine. - - This setting doesn't apply to RDS Custom. - - Constraints: - - - If supplied, must match the name of an existing DB parameter group. - - - Must be 1 to 255 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the DB instance. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. For more information, see - [Deleting a DB - Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). - """ - enable_customer_owned_ip: bool | None = ... - """ - Specifies whether to enable a customer-owned IP address (CoIP) for an - RDS on Outposts DB instance. - - A *CoIP* provides local or external connectivity to resources in your - Outpost subnets through your on-premises network. For some use cases, a - CoIP can provide lower latency for connections to the DB instance from - outside of its virtual private cloud (VPC) on your local network. - - This setting doesn't apply to RDS Custom. - - For more information about RDS on Outposts, see [Working with Amazon RDS - on Amazon Web Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide*. - - For more information about CoIPs, see [Customer-owned IP - addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the *Amazon Web Services Outposts User Guide*. - """ - network_type: str | None = ... - """ - The network type of the DB instance. - - Valid Values: - - - `IPV4` - - - `DUAL` - - The network type is determined by the `DBSubnetGroup` specified for the - DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon RDS User Guide.* - """ - backup_target: str | None = ... - """ - Specifies where automated backups and manual snapshots are stored for - the restored DB instance. - - Possible values are `local` (Dedicated Local Zone), `outposts` (Amazon - Web Services Outposts), and `region` (Amazon Web Services Region). The - default is `region`. - - For more information, see [Working with Amazon RDS on Amazon Web - Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide*. - """ - custom_iam_instance_profile: str | None = ... - """ - The instance profile associated with the underlying Amazon EC2 instance - of an RDS Custom DB instance. The instance profile must meet the - following requirements: - - - The profile must exist in your account. - - - The profile must have an IAM role that Amazon EC2 has permissions to - assume. - - - The instance profile name and the associated IAM role name must start - with the prefix `AWSRDSCustom`. - - For the list of permissions required for the IAM role, see [Configure - IAM and your - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) - in the *Amazon RDS User Guide*. - - This setting is required for RDS Custom. - """ - allocated_storage: int | None = ... - """ - The amount of storage (in gibibytes) to allocate initially for the DB - instance. Follow the allocation rules specified in CreateDBInstance. - - This setting isn't valid for RDS for SQL Server. - - Note: - Be sure to allocate enough storage for your new DB instance so that the - restore operation can succeed. You can also allocate additional storage - for future growth. - """ - db_cluster_snapshot_identifier: str | None = ... - """ - The identifier for the Multi-AZ DB cluster snapshot to restore from. - - For more information on Multi-AZ DB clusters, see [Multi-AZ DB cluster - deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide*. - - Constraints: - - - Must match the identifier of an existing Multi-AZ DB cluster snapshot. - - - Can't be specified when `DBSnapshotIdentifier` is specified. - - - Must be specified when `DBSnapshotIdentifier` isn't specified. - - - If you are restoring from a shared manual Multi-AZ DB cluster - snapshot, the `DBClusterSnapshotIdentifier` must be the ARN of the - shared snapshot. - - - Can't be the identifier of an Aurora DB cluster snapshot. - """ - backup_retention_period: int | None = ... - """ - The number of days to retain automated backups. Setting this parameter - to a positive number enables backups. Setting this parameter to 0 - disables automated backups. - - Note: - Enabling and disabling backups can result in a brief I/O suspension that - lasts from a few seconds to a few minutes, depending on the size and - class of your DB instance. - - This setting doesn't apply to Amazon Aurora DB instances. The retention - period for automated backups is managed by the DB cluster. For more - information, see `ModifyDBCluster`. - - Default: Uses existing setting - - Constraints: - - - Must be a value from 0 to 35. - - - Can't be set to 0 if the DB instance is a source to read replicas. - - - Can't be set to 0 for an RDS Custom for Oracle DB instance. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, as determined by the - `BackupRetentionPeriod` parameter. Changing this parameter doesn't - result in an outage and the change is asynchronously applied as soon as - possible. The default is a 30-minute window selected at random from an - 8-hour block of time for each Amazon Web Services Region. For more - information, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to Amazon Aurora DB instances. The daily - time range for creating automated backups is managed by the DB cluster. - For more information, see `ModifyDBCluster`. - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation to associate - with this DB instance. You can specify the identifier, which has the - prefix `dbcr-`, or the reservation name. When you specify this - parameter, the DB instance uses reserved capacity from the specified - reservation. - - If you specify `AvailabilityZone`, Amazon RDS places the DB instance in - that Availability Zone, and the reservation must cover it. - - Constraints: - - - The reservation must reserve capacity for the DB instance class and - the database engine of the DB instance. - - - If the reservation reserves capacity for a specific license model, the - license model of the DB instance must match it. - - - The reservation must be in the `active` state, and it must not be past - its end date. - - - If you specify `AvailabilityZone`, it must be one of the Availability - Zones of the reservation. - - - For a Multi-AZ DB instance, the reservation must cover two or more - Availability Zones. A Multi-AZ DB instance uses one unit of reserved - capacity in each of two Availability Zones. If the reservation covers - more than two Availability Zones, Amazon RDS chooses the two that the - DB instance uses. - - - The reservation must have available capacity in each Availability Zone - that the DB instance uses. - - - The DB subnet group must be in a VPC with default tenancy. - - - The DB subnet group must cover each Availability Zone that the DB - instance uses. - """ - dedicated_log_volume: bool | None = ... - """ - Specifies whether to enable a dedicated log volume (DLV) for the DB - instance. - """ - ca_certificate_identifier: str | None = ... - """ - The CA certificate identifier to use for the DB instance's server - certificate. - - This setting doesn't apply to RDS Custom DB instances. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB instance. - - Note: - By default, this value is set to `open-source-rds-extended-support`, - which enrolls your DB instance into Amazon RDS Extended Support. At the - end of standard support, you can avoid charges for Extended Support by - setting the value to `open-source-rds-extended-support-disabled`. In - this case, RDS automatically upgrades your restored DB instance to a - higher engine version, if the major engine version is past its end of - standard support date. - - You can use this setting to enroll your DB instance into Amazon RDS - Extended Support. With RDS Extended Support, you can run the selected - major engine version on your DB instance past the end of standard - support for that engine version. For more information, see [Amazon RDS - Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide*. - - This setting applies only to RDS for MySQL and RDS for PostgreSQL. For - Amazon Aurora DB instances, the engine lifecycle support is managed by - the DB cluster. - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - Default: `open-source-rds-extended-support` - """ - additional_storage_volumes: list[AdditionalStorageVolume] | None = ... - """ - A list of additional storage volumes to create for the DB instance. You - can create up to three additional storage volumes using the names - `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage volumes - are supported for RDS for Oracle and RDS for SQL Server DB instances - only. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB instance. - - Valid Values: - - - `auto-backup` - The DB instance's automated backup. - """ - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager in the restored DB instance. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide*. - - Constraints: - - - Applies to RDS for Oracle only. - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB instance. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - If you don't specify `MasterUserSecretKmsKeyId`, then the - `aws/secretsmanager` KMS key is used to encrypt the secret. If the - secret is in a different Amazon Web Services account, then you can't - use the `aws/secretsmanager` KMS key to encrypt the secret, and you must - use a customer managed KMS key. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - """ - -@dataclass(kw_only=True) -class RestoreDBInstanceFromDBSnapshotOutput(_SerdeShape): - """Dataclass for RestoreDBInstanceFromDBSnapshotOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreDBInstanceFromS3Input(_SerdeShape): - """Dataclass for RestoreDBInstanceFromS3Input structure.""" - - db_name: str | None = ... - """ - The name of the database to create when the DB instance is created. - Follow the naming rules specified in `CreateDBInstance`. - """ - db_instance_identifier: str | None = ... - """ - The DB instance identifier. This parameter is stored as a lowercase - string. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - - Example: `mydbinstance` - """ - allocated_storage: int | None = ... - """ - The amount of storage (in gibibytes) to allocate initially for the DB - instance. Follow the allocation rules specified in `CreateDBInstance`. - - This setting isn't valid for RDS for SQL Server. - - Note: - Be sure to allocate enough storage for your new DB instance so that the - restore operation can succeed. You can also allocate additional storage - for future growth. - """ - db_instance_class: str | None = ... - """ - The compute and memory capacity of the DB instance, for example - db.m4.large. Not all DB instance classes are available in all Amazon Web - Services Regions, or for all database engines. For the full list of DB - instance classes, and availability for your engine, see [DB Instance - Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide.* - - Importing from Amazon S3 isn't supported on the db.t2.micro DB instance - class. - """ - engine: str | None = ... - """ - The name of the database engine to be used for this instance. - - Valid Values: `mysql` - """ - master_username: str | None = ... - """ - The name for the master user. - - Constraints: - - - Must be 1 to 16 letters or numbers. - - - First character must be a letter. - - - Can't be a reserved word for the chosen database engine. - """ - master_user_password: str | None = ... - """ - The password for the master user. - - Constraints: - - - Can't be specified if `ManageMasterUserPassword` is turned on. - - - Can include any printable ASCII character except \"/\", \"\"\", or - \"@\". For RDS for Oracle, can't include the \"&\" (ampersand) or the - \"'\" (single quotes) character. - - Length Constraints: - - - RDS for Db2 - Must contain from 8 to 128 characters. - - - RDS for MariaDB - Must contain from 8 to 41 characters. - - - RDS for Microsoft SQL Server - Must contain from 8 to 128 characters. - - - RDS for MySQL - Must contain from 8 to 41 characters. - - - RDS for Oracle - Must contain from 8 to 30 characters. - - - RDS for PostgreSQL - Must contain from 8 to 128 characters. - """ - db_security_groups: list[str] | None = ... - """ - A list of DB security groups to associate with this DB instance. - - Default: The default DB security group for the database engine. - """ - vpc_security_group_ids: list[str] | None = ... - """A list of VPC security groups to associate with this DB instance.""" - availability_zone: str | None = ... - """ - The Availability Zone that the DB instance is created in. For - information about Amazon Web Services Regions and Availability Zones, - see [Regions and Availability - Zones](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html) - in the *Amazon RDS User Guide.* - - Default: A random, system-chosen Availability Zone in the endpoint's - Amazon Web Services Region. - - Example: `us-east-1d` - - Constraint: The `AvailabilityZone` parameter can't be specified if the - DB instance is a Multi-AZ deployment. The specified Availability Zone - must be in the same Amazon Web Services Region as the current endpoint. - """ - db_subnet_group_name: str | None = ... - """ - A DB subnet group to associate with this DB instance. - - Constraints: If supplied, must match the name of an existing - DBSubnetGroup. - - Example: `mydbsubnetgroup` - """ - preferred_maintenance_window: str | None = ... - """ - The time range each week during which system maintenance can occur, in - Universal Coordinated Time (UTC). For more information, see [Amazon RDS - Maintenance - Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance) - in the *Amazon RDS User Guide.* - - Constraints: - - - Must be in the format `ddd:hh24:mi-ddd:hh24:mi`. - - - Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred backup window. - - - Must be at least 30 minutes. - """ - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group to associate with this DB instance. - - If you do not specify a value for `DBParameterGroupName`, then the - default `DBParameterGroup` for the specified DB engine is used. - """ - backup_retention_period: int | None = ... - """ - The number of days for which automated backups are retained. Setting - this parameter to a positive number enables backups. For more - information, see `CreateDBInstance`. - """ - preferred_backup_window: str | None = ... - """ - The time range each day during which automated backups are created if - automated backups are enabled. For more information, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) - in the *Amazon RDS User Guide.* - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - port: int | None = ... - """ - The port number on which the database accepts connections. - - Type: Integer - - Valid Values: `1150`-`65535` - - Default: `3306` - """ - multi_az: bool | None = ... - """ - Specifies whether the DB instance is a Multi-AZ deployment. If the DB - instance is a Multi-AZ deployment, you can't set the `AvailabilityZone` - parameter. - """ - engine_version: str | None = ... - """ - The version number of the database engine to use. Choose the latest - minor version of your database engine. For information about engine - versions, see `CreateDBInstance`, or call `DescribeDBEngineVersions`. - """ - auto_minor_version_upgrade: bool | None = ... - """ - Specifies whether to automatically apply minor engine upgrades to the DB - instance during the maintenance window. By default, minor engine - upgrades are not applied automatically. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - license_model: str | None = ... - """The license model for this DB instance. Use `general-public-license`.""" - iops: int | None = ... - """ - The amount of Provisioned IOPS (input/output operations per second) to - allocate initially for the DB instance. For information about valid IOPS - values, see [Amazon RDS Provisioned IOPS - storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) - in the *Amazon RDS User Guide.* - """ - storage_throughput: int | None = ... - """ - Specifies the storage throughput value for the DB instance. - - This setting doesn't apply to RDS Custom or Amazon Aurora. - """ - option_group_name: str | None = ... - """ - The name of the option group to associate with this DB instance. If this - argument is omitted, the default option group for the specified engine - is used. - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB instance is publicly accessible. - - When the DB instance is publicly accessible, its Domain Name System - (DNS) endpoint resolves to the private IP address from within the DB - instance's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB instance's VPC. Access to the DB - instance is ultimately controlled by the security group it uses. That - public access is not permitted if the security group assigned to the DB - instance doesn't permit it. - - When the DB instance isn't publicly accessible, it is an internal DB - instance with a DNS name that resolves to a private IP address. - - For more information, see CreateDBInstance. - """ - tags: list[Tag] | None = ... - """ - A list of tags to associate with this DB instance. For more information, - see [Tagging Amazon RDS - Resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide.* - """ - storage_type: str | None = ... - """ - Specifies the storage type to be associated with the DB instance. - - Valid Values: `gp2 | gp3 | io1 | io2 | standard` - - If you specify `io1`, `io2`, or `gp3`, you must also include a value for - the `Iops` parameter. - - Default: `io1` if the `Iops` parameter is specified; otherwise `gp2` - """ - storage_encrypted: bool | None = ... - """Specifies whether the new DB instance is encrypted or not.""" - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for an encrypted DB instance. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - If the `StorageEncrypted` parameter is enabled, and you do not specify a - value for the `KmsKeyId` parameter, then Amazon RDS will use your - default KMS key. There is a default KMS key for your Amazon Web Services - account. Your Amazon Web Services account has a different default KMS - key for each Amazon Web Services Region. - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the DB instance to snapshots of - the DB instance. By default, tags are not copied. - """ - monitoring_interval: int | None = ... - """ - The interval, in seconds, between points when Enhanced Monitoring - metrics are collected for the DB instance. To disable collecting - Enhanced Monitoring metrics, specify 0. - - If `MonitoringRoleArn` is specified, then you must also set - `MonitoringInterval` to a value other than 0. - - Valid Values: 0, 1, 5, 10, 15, 30, 60 - - Default: `0` - """ - monitoring_role_arn: str | None = ... - """ - The ARN for the IAM role that permits RDS to send enhanced monitoring - metrics to Amazon CloudWatch Logs. For example, - `arn:aws:iam:123456789012:role/emaccess`. For information on creating a - monitoring role, see [Setting Up and Enabling Enhanced - Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) - in the *Amazon RDS User Guide.* - - If `MonitoringInterval` is set to a value other than 0, then you must - supply a `MonitoringRoleArn` value. - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - For more information about IAM database authentication, see [IAM - Database Authentication for MySQL and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide.* - """ - source_engine: str | None = ... - """ - The name of the engine of your source database. - - Valid Values: `mysql` - """ - source_engine_version: str | None = ... - """ - The version of the database that the backup files were created from. - - MySQL versions 5.6 and 5.7 are supported. - - Example: `5.6.40` - """ - s3_bucket_name: str | None = ... - """ - The name of your Amazon S3 bucket that contains your database backup - file. - """ - s3_prefix: str | None = ... - """The prefix of your Amazon S3 bucket.""" - s3_ingestion_role_arn: str | None = ... - """ - An Amazon Web Services Identity and Access Management (IAM) role with a - trust policy and a permissions policy that allows Amazon RDS to access - your Amazon S3 bucket. For information about this role, see [Creating an - IAM role - manually](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html#MySQL.Procedural.Importing.Enabling.IAM) - in the *Amazon RDS User Guide.* - """ - database_insights_mode: str | None = ... - """ - Specifies the mode of Database Insights to enable for the DB instance. - - Note: - Aurora DB instances inherit this value from the DB cluster, so you - can't change this value. - """ - enable_performance_insights: bool | None = ... - """ - Specifies whether to enable Performance Insights for the DB instance. - - For more information, see [Using Amazon Performance - Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) - in the *Amazon RDS User Guide*. - """ - performance_insights_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of Performance - Insights data. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - If you do not specify a value for `PerformanceInsightsKMSKeyId`, then - Amazon RDS uses your default KMS key. There is a default KMS key for - your Amazon Web Services account. Your Amazon Web Services account has a - different default KMS key for each Amazon Web Services Region. - """ - performance_insights_retention_period: int | None = ... - """ - The number of days to retain Performance Insights data. The default is 7 - days. The following values are valid: - - - 7 - - - *month* * 31, where *month* is a number of months from 1-23 - - - 731 - - For example, the following values are valid: - - - 93 (3 months * 31) - - - 341 (11 months * 31) - - - 589 (19 months * 31) - - - 731 - - If you specify a retention period such as 94, which isn't a valid - value, RDS issues an error. - """ - enable_cloudwatch_logs_exports: list[str] | None = ... - """ - The list of logs that the restored DB instance is to export to - CloudWatch Logs. The values in the list depend on the DB engine being - used. For more information, see [Publishing Database Logs to Amazon - CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - """ - processor_features: list[ProcessorFeature] | None = ... - """ - The number of CPU cores and the number of threads per core for the DB - instance class of the DB instance. - """ - use_default_processor_features: bool | None = ... - """ - Specifies whether the DB instance class of the DB instance uses its - default processor features. - """ - deletion_protection: bool | None = ... - """ - Specifies whether to enable deletion protection for the DB instance. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. For more information, see - [Deleting a DB - Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). - """ - max_allocated_storage: int | None = ... - """ - The upper limit in gibibytes (GiB) to which Amazon RDS can automatically - scale the storage of the DB instance. - - For more information about this setting, including limitations that - apply to it, see [Managing capacity automatically with Amazon RDS - storage - autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) - in the *Amazon RDS User Guide*. - """ - network_type: str | None = ... - """ - The network type of the DB instance. - - Valid Values: - - - `IPV4` - - - `DUAL` - - The network type is determined by the `DBSubnetGroup` specified for the - DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon RDS User Guide.* - """ - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide.* - - Constraints: - - - Can't manage the master user password with Amazon Web Services - Secrets Manager if `MasterUserPassword` is specified. - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB instance. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - If you don't specify `MasterUserSecretKmsKeyId`, then the - `aws/secretsmanager` KMS key is used to encrypt the secret. If the - secret is in a different Amazon Web Services account, then you can't - use the `aws/secretsmanager` KMS key to encrypt the secret, and you must - use a customer managed KMS key. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - """ - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation to associate - with this DB instance. You can specify the identifier, which has the - prefix `dbcr-`, or the reservation name. When you specify this - parameter, the DB instance uses reserved capacity from the specified - reservation. - - If you specify `AvailabilityZone`, Amazon RDS places the DB instance in - that Availability Zone, and the reservation must cover it. - - Constraints: - - - The reservation must reserve capacity for the DB instance class and - the database engine of the DB instance. - - - If the reservation reserves capacity for a specific license model, the - license model of the DB instance must match it. - - - The reservation must be in the `active` state, and it must not be past - its end date. - - - If you specify `AvailabilityZone`, it must be one of the Availability - Zones of the reservation. - - - For a Multi-AZ DB instance, the reservation must cover two or more - Availability Zones. A Multi-AZ DB instance uses one unit of reserved - capacity in each of two Availability Zones. If the reservation covers - more than two Availability Zones, Amazon RDS chooses the two that the - DB instance uses. - - - The reservation must have available capacity in each Availability Zone - that the DB instance uses. - - - The DB subnet group must be in a VPC with default tenancy. - - - The DB subnet group must cover each Availability Zone that the DB - instance uses. - """ - dedicated_log_volume: bool | None = ... - """ - Specifies whether to enable a dedicated log volume (DLV) for the DB - instance. - """ - ca_certificate_identifier: str | None = ... - """ - The CA certificate identifier to use for the DB instance's server - certificate. - - This setting doesn't apply to RDS Custom DB instances. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB instance. - - Note: - By default, this value is set to `open-source-rds-extended-support`, - which enrolls your DB instance into Amazon RDS Extended Support. At the - end of standard support, you can avoid charges for Extended Support by - setting the value to `open-source-rds-extended-support-disabled`. In - this case, RDS automatically upgrades your restored DB instance to a - higher engine version, if the major engine version is past its end of - standard support date. - - You can use this setting to enroll your DB instance into Amazon RDS - Extended Support. With RDS Extended Support, you can run the selected - major engine version on your DB instance past the end of standard - support for that engine version. For more information, see [Amazon RDS - Extended Support Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide*. - - This setting applies only to RDS for MySQL and RDS for PostgreSQL. For - Amazon Aurora DB instances, the engine lifecycle support is managed by - the DB cluster. - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - Default: `open-source-rds-extended-support` - """ - additional_storage_volumes: list[AdditionalStorageVolume] | None = ... - """ - A list of additional storage volumes to modify or delete for the DB - instance. You can modify or delete up to three additional storage - volumes using the names `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. - Additional storage volumes are supported for RDS for Oracle and RDS for - SQL Server DB instances only. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB instance. - - Valid Values: - - - `auto-backup` - The DB instance's automated backup. - """ - -@dataclass(kw_only=True) -class RestoreDBInstanceFromS3Output(_SerdeShape): - """Dataclass for RestoreDBInstanceFromS3Output structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreDBInstanceToPointInTimeInput(_SerdeShape): - """""" - - source_db_instance_identifier: str | None = ... - """ - The identifier of the source DB instance from which to restore. - - Constraints: - - - Must match the identifier of an existing DB instance. - """ - target_db_instance_identifier: str | None = ... - """ - The name of the new DB instance to create. - - Constraints: - - - Must contain from 1 to 63 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - """ - restore_time: datetime | None = ... - """ - The date and time to restore from. - - Constraints: - - - Must be a time in Universal Coordinated Time (UTC) format. - - - Must be before the latest restorable time for the DB instance. - - - Can't be specified if the `UseLatestRestorableTime` parameter is - enabled. - - Example: `2009-09-07T23:45:00Z` - """ - use_latest_restorable_time: bool | None = ... - """ - Specifies whether the DB instance is restored from the latest backup - time. By default, the DB instance isn't restored from the latest backup - time. - - Constraints: - - - Can't be specified if the `RestoreTime` parameter is provided. - """ - db_instance_class: str | None = ... - """ - The compute and memory capacity of the Amazon RDS DB instance, for - example db.m4.large. Not all DB instance classes are available in all - Amazon Web Services Regions, or for all database engines. For the full - list of DB instance classes, and availability for your engine, see [DB - Instance - Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - in the *Amazon RDS User Guide*. - - Default: The same DB instance class as the original DB instance. - """ - port: int | None = ... - """ - The port number on which the database accepts connections. - - Default: The same port as the original DB instance. - - Constraints: - - - The value must be `1150-65535`. - """ - availability_zone: str | None = ... - """ - The Availability Zone (AZ) where the DB instance will be created. - - Default: A random, system-chosen Availability Zone. - - Constraints: - - - You can't specify the `AvailabilityZone` parameter if the DB instance - is a Multi-AZ deployment. - - Example: `us-east-1a` - """ - db_subnet_group_name: str | None = ... - """ - The DB subnet group name to use for the new instance. - - Constraints: - - - If supplied, must match the name of an existing DB subnet group. - - Example: `mydbsubnetgroup` - """ - multi_az: bool | None = ... - """ - Secifies whether the DB instance is a Multi-AZ deployment. - - This setting doesn't apply to RDS Custom. - - Constraints: - - - You can't specify the `AvailabilityZone` parameter if the DB instance - is a Multi-AZ deployment. - """ - publicly_accessible: bool | None = ... - """ - Specifies whether the DB instance is publicly accessible. - - When the DB cluster is publicly accessible, its Domain Name System (DNS) - endpoint resolves to the private IP address from within the DB - cluster's virtual private cloud (VPC). It resolves to the public IP - address from outside of the DB cluster's VPC. Access to the DB cluster - is ultimately controlled by the security group it uses. That public - access isn't permitted if the security group assigned to the DB cluster - doesn't permit it. - - When the DB instance isn't publicly accessible, it is an internal DB - instance with a DNS name that resolves to a private IP address. - - For more information, see CreateDBInstance. - """ - auto_minor_version_upgrade: bool | None = ... - """ - Specifies whether minor version upgrades are applied automatically to - the DB instance during the maintenance window. - - This setting doesn't apply to RDS Custom. - - For more information about automatic minor version upgrades, see - [Automatically upgrading the minor engine - version](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades). - """ - license_model: str | None = ... - """ - The license model information for the restored DB instance. - - Note: - License models for RDS for Db2 require additional configuration. The - bring your own license (BYOL) model requires a custom parameter group - and an Amazon Web Services License Manager self-managed license. The Db2 - license through Amazon Web Services Marketplace model requires an Amazon - Web Services Marketplace subscription. For more information, see [Amazon - RDS for Db2 licensing - options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. - - Valid Values: - - - RDS for Db2 - `bring-your-own-license | marketplace-license` - - - RDS for MariaDB - `general-public-license` - - - RDS for Microsoft SQL Server - - `license-included | bring-your-own-media` - - - RDS for MySQL - `general-public-license` - - - RDS for Oracle - `bring-your-own-license | license-included` - - - RDS for PostgreSQL - `postgresql-license` - - Default: Same as the source. - """ - db_name: str | None = ... - """ - The database name for the restored DB instance. - - This parameter doesn't apply to the following DB instances: - - - RDS Custom - - - RDS for Db2 - - - RDS for MariaDB - - - RDS for MySQL - """ - engine: str | None = ... - """ - The database engine to use for the new instance. - - This setting doesn't apply to RDS Custom. - - Valid Values: - - - `db2-ae` - - - `db2-ce` - - - `db2-se` - - - `mariadb` - - - `mysql` - - - `oracle-ee` - - - `oracle-ee-cdb` - - - `oracle-se2` - - - `oracle-se2-cdb` - - - `postgres` - - - `sqlserver-ee` - - - `sqlserver-se` - - - `sqlserver-ex` - - - `sqlserver-web` - - Default: The same as source - - Constraints: - - - Must be compatible with the engine of the source. - """ - iops: int | None = ... - """ - The amount of Provisioned IOPS (input/output operations per second) to - initially allocate for the DB instance. - - This setting doesn't apply to SQL Server. - - Constraints: - - - Must be an integer greater than 1000. - """ - storage_throughput: int | None = ... - """ - The storage throughput value for the DB instance. - - This setting doesn't apply to RDS Custom or Amazon Aurora. - """ - option_group_name: str | None = ... - """ - The name of the option group to use for the restored DB instance. - - Permanent options, such as the TDE option for Oracle Advanced Security - TDE, can't be removed from an option group, and that option group - can't be removed from a DB instance after it is associated with a DB - instance - - This setting doesn't apply to RDS Custom. - """ - copy_tags_to_snapshot: bool | None = ... - """ - Specifies whether to copy all tags from the restored DB instance to - snapshots of the DB instance. By default, tags are not copied. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - storage_type: str | None = ... - """ - The storage type to associate with the DB instance. - - Valid Values: `gp2 | gp3 | io1 | io2 | standard` - - Default: `io1`, if the `Iops` parameter is specified. Otherwise, `gp3`. - - Constraints: - - - If you specify `io1`, `io2`, or `gp3`, you must also include a value - for the `Iops` parameter. - """ - tde_credential_arn: str | None = ... - """ - The ARN from the key store with which to associate the instance for TDE - encryption. - - This setting doesn't apply to RDS Custom. - """ - tde_credential_password: str | None = ... - """ - The password for the given ARN from the key store in order to access the - device. - - This setting doesn't apply to RDS Custom. - """ - vpc_security_group_ids: list[str] | None = ... - """ - A list of EC2 VPC security groups to associate with this DB instance. - - Default: The default EC2 VPC security group for the DB subnet group's - VPC. - """ - domain: str | None = ... - """ - The Active Directory directory ID to restore the DB instance in. Create - the domain before running this command. Currently, you can create only - the MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances in - an Active Directory Domain. - - This setting doesn't apply to RDS Custom. - - For more information, see [Kerberos - Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) - in the *Amazon RDS User Guide*. - """ - domain_iam_role_name: str | None = ... - """ - The name of the IAM role to use when making API calls to the Directory - Service. - - This setting doesn't apply to RDS Custom DB instances. - """ - domain_fqdn: str | None = ... - """ - The fully qualified domain name (FQDN) of an Active Directory domain. - - Constraints: - - - Can't be longer than 64 characters. - - Example: `mymanagedADtest.mymanagedAD.mydomain` - """ - domain_ou: str | None = ... - """ - The Active Directory organizational unit for your DB instance to join. - - Constraints: - - - Must be in the distinguished name format. - - - Can't be longer than 64 characters. - - Example: - `OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain` - """ - domain_auth_secret_arn: str | None = ... - """ - The ARN for the Secrets Manager secret with the credentials for the user - joining the domain. - - Constraints: - - - Can't be longer than 64 characters. - - Example: - `arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456` - """ - domain_dns_ips: list[str] | None = ... - """ - The IPv4 DNS IP addresses of your primary and secondary Active Directory - domain controllers. - - Constraints: - - - Two IP addresses must be provided. If there isn't a secondary domain - controller, use the IP address of the primary domain controller for - both entries in the list. - - Example: `123.124.125.126,234.235.236.237` - """ - enable_iam_database_authentication: bool | None = ... - """ - Specifies whether to enable mapping of Amazon Web Services Identity and - Access Management (IAM) accounts to database accounts. By default, - mapping isn't enabled. - - This setting doesn't apply to RDS Custom. - - For more information about IAM database authentication, see [IAM - Database Authentication for MySQL and - PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) - in the *Amazon RDS User Guide.* - """ - enable_cloudwatch_logs_exports: list[str] | None = ... - """ - The list of logs that the restored DB instance is to export to - CloudWatch Logs. The values in the list depend on the DB engine being - used. For more information, see [Publishing Database Logs to Amazon - CloudWatch - Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom. - """ - processor_features: list[ProcessorFeature] | None = ... - """ - The number of CPU cores and the number of threads per core for the DB - instance class of the DB instance. - - This setting doesn't apply to RDS Custom. - """ - use_default_processor_features: bool | None = ... - """ - Specifies whether the DB instance class of the DB instance uses its - default processor features. - - This setting doesn't apply to RDS Custom. - """ - db_parameter_group_name: str | None = ... - """ - The name of the DB parameter group to associate with this DB instance. - - If you do not specify a value for `DBParameterGroupName`, then the - default `DBParameterGroup` for the specified DB engine is used. - - This setting doesn't apply to RDS Custom. - - Constraints: - - - If supplied, must match the name of an existing DB parameter group. - - - Must be 1 to 255 letters, numbers, or hyphens. - - - First character must be a letter. - - - Can't end with a hyphen or contain two consecutive hyphens. - """ - deletion_protection: bool | None = ... - """ - Specifies whether the DB instance has deletion protection enabled. The - database can't be deleted when deletion protection is enabled. By - default, deletion protection isn't enabled. For more information, see - [Deleting a DB - Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). - """ - source_dbi_resource_id: str | None = ... - """The resource ID of the source DB instance from which to restore.""" - max_allocated_storage: int | None = ... - """ - The upper limit in gibibytes (GiB) to which Amazon RDS can automatically - scale the storage of the DB instance. - - For more information about this setting, including limitations that - apply to it, see [Managing capacity automatically with Amazon RDS - storage - autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to RDS Custom. - """ - enable_customer_owned_ip: bool | None = ... - """ - Specifies whether to enable a customer-owned IP address (CoIP) for an - RDS on Outposts DB instance. - - A *CoIP* provides local or external connectivity to resources in your - Outpost subnets through your on-premises network. For some use cases, a - CoIP can provide lower latency for connections to the DB instance from - outside of its virtual private cloud (VPC) on your local network. - - This setting doesn't apply to RDS Custom. - - For more information about RDS on Outposts, see [Working with Amazon RDS - on Amazon Web Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide*. - - For more information about CoIPs, see [Customer-owned IP - addresses](https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing) - in the *Amazon Web Services Outposts User Guide*. - """ - network_type: str | None = ... - """ - The network type of the DB instance. - - The network type is determined by the `DBSubnetGroup` specified for the - DB instance. A `DBSubnetGroup` can support only the IPv4 protocol or the - IPv4 and the IPv6 protocols (`DUAL`). - - For more information, see [Working with a DB instance in a - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) - in the *Amazon RDS User Guide.* - - Valid Values: - - - `IPV4` - - - `DUAL` - """ - source_db_instance_automated_backups_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the replicated automated backups from - which to restore, for example, - `arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE`. - - This setting doesn't apply to RDS Custom. - """ - backup_target: str | None = ... - """ - The location for storing automated backups and manual snapshots for the - restored DB instance. - - Valid Values: - - - `local` (Dedicated Local Zone) - - - `outposts` (Amazon Web Services Outposts) - - - `region` (Amazon Web Services Region) - - Default: `region` - - For more information, see [Working with Amazon RDS on Amazon Web - Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide*. - """ - custom_iam_instance_profile: str | None = ... - """ - The instance profile associated with the underlying Amazon EC2 instance - of an RDS Custom DB instance. The instance profile must meet the - following requirements: - - - The profile must exist in your account. - - - The profile must have an IAM role that Amazon EC2 has permissions to - assume. - - - The instance profile name and the associated IAM role name must start - with the prefix `AWSRDSCustom`. - - For the list of permissions required for the IAM role, see [Configure - IAM and your - VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) - in the *Amazon RDS User Guide*. - - This setting is required for RDS Custom. - """ - allocated_storage: int | None = ... - """ - The amount of storage (in gibibytes) to allocate initially for the DB - instance. Follow the allocation rules specified in `CreateDBInstance`. - - This setting isn't valid for RDS for SQL Server. - - Note: - Be sure to allocate enough storage for your new DB instance so that the - restore operation can succeed. You can also allocate additional storage - for future growth. - """ - backup_retention_period: int | None = ... - """ - The number of days to retain automated backups. Setting this parameter - to a positive number enables backups. Setting this parameter to 0 - disables automated backups. - - Note: - Enabling and disabling backups can result in a brief I/O suspension that - lasts from a few seconds to a few minutes, depending on the size and - class of your DB instance. - - This setting doesn't apply to Amazon Aurora DB instances. The retention - period for automated backups is managed by the DB cluster. For more - information, see `ModifyDBCluster`. - - Default: Uses existing setting - - Constraints: - - - Must be a value from 0 to 35. - - - Can't be set to 0 if the DB instance is a source to read replicas. - - - Can't be set to 0 for an RDS Custom for Oracle DB instance. - """ - preferred_backup_window: str | None = ... - """ - The daily time range during which automated backups are created if - automated backups are enabled, as determined by the - `BackupRetentionPeriod` parameter. Changing this parameter doesn't - result in an outage and the change is asynchronously applied as soon as - possible. The default is a 30-minute window selected at random from an - 8-hour block of time for each Amazon Web Services Region. For more - information, see [Backup - window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) - in the *Amazon RDS User Guide*. - - This setting doesn't apply to Amazon Aurora DB instances. The daily - time range for creating automated backups is managed by the DB cluster. - For more information, see `ModifyDBCluster`. - - Constraints: - - - Must be in the format `hh24:mi-hh24:mi`. - - - Must be in Universal Coordinated Time (UTC). - - - Must not conflict with the preferred maintenance window. - - - Must be at least 30 minutes. - """ - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation to associate - with this DB instance. You can specify the identifier, which has the - prefix `dbcr-`, or the reservation name. When you specify this - parameter, the DB instance uses reserved capacity from the specified - reservation. - - If you specify `AvailabilityZone`, Amazon RDS places the DB instance in - that Availability Zone, and the reservation must cover it. - - Constraints: - - - The reservation must reserve capacity for the DB instance class and - the database engine of the DB instance. - - - If the reservation reserves capacity for a specific license model, the - license model of the DB instance must match it. - - - The reservation must be in the `active` state, and it must not be past - its end date. - - - If you specify `AvailabilityZone`, it must be one of the Availability - Zones of the reservation. - - - For a Multi-AZ DB instance, the reservation must cover two or more - Availability Zones. A Multi-AZ DB instance uses one unit of reserved - capacity in each of two Availability Zones. If the reservation covers - more than two Availability Zones, Amazon RDS chooses the two that the - DB instance uses. - - - The reservation must have available capacity in each Availability Zone - that the DB instance uses. - - - The DB subnet group must be in a VPC with default tenancy. - - - The DB subnet group must cover each Availability Zone that the DB - instance uses. - """ - dedicated_log_volume: bool | None = ... - """ - Specifies whether to enable a dedicated log volume (DLV) for the DB - instance. - """ - ca_certificate_identifier: str | None = ... - """ - The CA certificate identifier to use for the DB instance's server - certificate. - - This setting doesn't apply to RDS Custom DB instances. - - For more information, see [Using SSL/TLS to encrypt a connection to a DB - instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) - in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a - connection to a DB - cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) - in the *Amazon Aurora User Guide*. - """ - engine_lifecycle_support: str | None = ... - """ - The lifecycle type for this DB instance. - - Note: - By default, this value is set to `open-source-rds-extended-support`, - which enrolls your DB instance into Amazon RDS Extended Support. At the - end of standard support, you can avoid charges for Extended Support by - setting the value to `open-source-rds-extended-support-disabled`. In - this case, RDS automatically upgrades your restored DB instance to a - higher engine version, if the major engine version is past its end of - standard support date. - - You can use this setting to enroll your DB instance into Amazon RDS - Extended Support. With RDS Extended Support, you can run the selected - major engine version on your DB instance past the end of standard - support for that engine version. For more information, see [Amazon RDS - Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide*. - - This setting applies only to RDS for MySQL and RDS for PostgreSQL. For - Amazon Aurora DB instances, the engine lifecycle support is managed by - the DB cluster. - - Valid Values: - `open-source-rds-extended-support | open-source-rds-extended-support-disabled` - - Default: `open-source-rds-extended-support` - """ - additional_storage_volumes: list[AdditionalStorageVolume] | None = ... - """ - A list of additional storage volumes to restore to the DB instance. You - can restore up to three additional storage volumes using the names - `rdsdbdata2`, `rdsdbdata3`, and `rdsdbdata4`. Additional storage volumes - are supported for RDS for Oracle and RDS for SQL Server DB instances - only. - """ - tag_specifications: list[TagSpecification] | None = ... - """ - Tags to assign to resources associated with the DB instance. - - Valid Values: - - - `auto-backup` - The DB instance's automated backup. - """ - manage_master_user_password: bool | None = ... - """ - Specifies whether to manage the master user password with Amazon Web - Services Secrets Manager in the restored DB instance. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide*. - - Constraints: - - - Applies to RDS for Oracle only. - """ - master_user_secret_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier to encrypt a secret that is - automatically generated and managed in Amazon Web Services Secrets - Manager. - - This setting is valid only if the master user password is managed by RDS - in Amazon Web Services Secrets Manager for the DB instance. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. To use a KMS key in a different - Amazon Web Services account, specify the key ARN or alias ARN. - - If you don't specify `MasterUserSecretKmsKeyId`, then the - `aws/secretsmanager` KMS key is used to encrypt the secret. If the - secret is in a different Amazon Web Services account, then you can't - use the `aws/secretsmanager` KMS key to encrypt the secret, and you must - use a customer managed KMS key. - - There is a default KMS key for your Amazon Web Services account. Your - Amazon Web Services account has a different default KMS key for each - Amazon Web Services Region. - """ - -@dataclass(kw_only=True) -class RestoreDBInstanceToPointInTimeOutput(_SerdeShape): - """Dataclass for RestoreDBInstanceToPointInTimeOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreWindow(_SerdeShape): - """Earliest and latest time an instance can be restored to:""" - - earliest_time: datetime | None = ... - """The earliest time you can restore an instance to.""" - latest_time: datetime | None = ... - """The latest time you can restore an instance to.""" - -@dataclass(kw_only=True) -class RevokeDBSecurityGroupIngressInput(_SerdeShape): - """""" - - db_security_group_name: str | None = ... - """The name of the DB security group to revoke ingress from.""" - cidrip: str | None = ... - """ - The IP range to revoke access from. Must be a valid CIDR range. If - `CIDRIP` is specified, `EC2SecurityGroupName`, `EC2SecurityGroupId` and - `EC2SecurityGroupOwnerId` can't be provided. - """ - ec2_security_group_name: str | None = ... - """ - The name of the EC2 security group to revoke access from. For VPC DB - security groups, `EC2SecurityGroupId` must be provided. Otherwise, - EC2SecurityGroupOwnerId and either `EC2SecurityGroupName` or - `EC2SecurityGroupId` must be provided. - """ - ec2_security_group_id: str | None = ... - """ - The id of the EC2 security group to revoke access from. For VPC DB - security groups, `EC2SecurityGroupId` must be provided. Otherwise, - EC2SecurityGroupOwnerId and either `EC2SecurityGroupName` or - `EC2SecurityGroupId` must be provided. - """ - ec2_security_group_owner_id: str | None = ... - """ - The Amazon Web Services account number of the owner of the EC2 security - group specified in the `EC2SecurityGroupName` parameter. The Amazon Web - Services access key ID isn't an acceptable value. For VPC DB security - groups, `EC2SecurityGroupId` must be provided. Otherwise, - EC2SecurityGroupOwnerId and either `EC2SecurityGroupName` or - `EC2SecurityGroupId` must be provided. - """ - -@dataclass(kw_only=True) -class RevokeDBSecurityGroupIngressOutput(_SerdeShape): - """Dataclass for RevokeDBSecurityGroupIngressOutput structure.""" - - db_security_group: DBSecurityGroup | None = ... - """ - Contains the details for an Amazon RDS DB security group. - - This data type is used as a response element in the - `DescribeDBSecurityGroups` action. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ScalarReferenceDetails(_SerdeShape): - """The metric reference details when the reference is a scalar.""" - - value: float | None = ... - """The value of a scalar reference.""" - -@dataclass(kw_only=True) -class ScalingConfiguration(_SerdeShape): - """ - Contains the scaling configuration of an Aurora Serverless v1 DB - cluster. - - For more information, see [Using Amazon Aurora Serverless - v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) - in the *Amazon Aurora User Guide*. - """ - - min_capacity: int | None = ... - """ - The minimum capacity for an Aurora DB cluster in `serverless` DB engine - mode. - - For Aurora MySQL, valid capacity values are `1`, `2`, `4`, `8`, `16`, - `32`, `64`, `128`, and `256`. - - For Aurora PostgreSQL, valid capacity values are `2`, `4`, `8`, `16`, - `32`, `64`, `192`, and `384`. - - The minimum capacity must be less than or equal to the maximum capacity. - """ - max_capacity: int | None = ... - """ - The maximum capacity for an Aurora DB cluster in `serverless` DB engine - mode. - - For Aurora MySQL, valid capacity values are `1`, `2`, `4`, `8`, `16`, - `32`, `64`, `128`, and `256`. - - For Aurora PostgreSQL, valid capacity values are `2`, `4`, `8`, `16`, - `32`, `64`, `192`, and `384`. - - The maximum capacity must be greater than or equal to the minimum - capacity. - """ - auto_pause: bool | None = ... - """ - Indicates whether to allow or disallow automatic pause for an Aurora DB - cluster in `serverless` DB engine mode. A DB cluster can be paused only - when it's idle (it has no connections). - - Note: - If a DB cluster is paused for more than seven days, the DB cluster might - be backed up with a snapshot. In this case, the DB cluster is restored - when there is a request to connect to it. - """ - seconds_until_auto_pause: int | None = ... - """ - The time, in seconds, before an Aurora DB cluster in `serverless` mode - is paused. - - Specify a value between 300 and 86,400 seconds. - """ - timeout_action: str | None = ... - """ - The action to take when the timeout is reached, either - `ForceApplyCapacityChange` or `RollbackCapacityChange`. - - `ForceApplyCapacityChange` sets the capacity to the specified value as - soon as possible. - - `RollbackCapacityChange`, the default, ignores the capacity change if a - scaling point isn't found in the timeout period. - - Warning: - If you specify `ForceApplyCapacityChange`, connections that prevent - Aurora Serverless v1 from finding a scaling point might be dropped. - - For more information, see [Autoscaling for Aurora Serverless - v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.auto-scaling) - in the *Amazon Aurora User Guide*. - """ - seconds_before_timeout: int | None = ... - """ - The amount of time, in seconds, that Aurora Serverless v1 tries to find - a scaling point to perform seamless scaling before enforcing the timeout - action. The default is 300. - - Specify a value between 60 and 600 seconds. - """ - -@dataclass(kw_only=True) -class ScalingConfigurationInfo(_SerdeShape): - """ - The scaling configuration for an Aurora DB cluster in `serverless` DB - engine mode. - - For more information, see [Using Amazon Aurora Serverless - v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) - in the *Amazon Aurora User Guide*. - """ - - min_capacity: int | None = ... - """ - The minimum capacity for an Aurora DB cluster in `serverless` DB engine - mode. - """ - max_capacity: int | None = ... - """ - The maximum capacity for an Aurora DB cluster in `serverless` DB engine - mode. - """ - auto_pause: bool | None = ... - """ - Indicates whether automatic pause is allowed for the Aurora DB cluster - in `serverless` DB engine mode. - - When the value is set to false for an Aurora Serverless v1 DB cluster, - the DB cluster automatically resumes. - """ - seconds_until_auto_pause: int | None = ... - """ - The remaining amount of time, in seconds, before the Aurora DB cluster - in `serverless` mode is paused. A DB cluster can be paused only when - it's idle (it has no connections). - """ - timeout_action: str | None = ... - """ - The action that occurs when Aurora times out while attempting to change - the capacity of an Aurora Serverless v1 cluster. The value is either - `ForceApplyCapacityChange` or `RollbackCapacityChange`. - - `ForceApplyCapacityChange`, the default, sets the capacity to the - specified value as soon as possible. - - `RollbackCapacityChange` ignores the capacity change if a scaling point - isn't found in the timeout period. - """ - seconds_before_timeout: int | None = ... - """ - The number of seconds before scaling times out. What happens when an - attempted scaling action times out is determined by the `TimeoutAction` - setting. - """ - -@dataclass(kw_only=True) -class ServerlessV2FeaturesSupport(_SerdeShape): - """ - Specifies any Aurora Serverless v2 properties or limits that differ - between Aurora engine versions and platform versions. You can test the - values of this attribute when deciding which Aurora version to use in a - new or upgraded DB cluster. You can also retrieve the version of an - existing DB cluster and check whether that version supports certain - Aurora Serverless v2 features before you attempt to use those features. - """ - - min_capacity: float | None = ... - """ - If the minimum capacity is 0 ACUs, the engine version or platform - version supports the automatic pause/resume feature of Aurora Serverless - v2. - """ - max_capacity: float | None = ... - """ - Specifies the upper Aurora Serverless v2 capacity limit for a particular - engine version or platform version. Depending on the engine version, the - maximum capacity for an Aurora Serverless v2 cluster might be `256` or - `128`. - """ - -@dataclass(kw_only=True) -class ServerlessV2PlatformVersionInfo(_SerdeShape): - """ - This data type is used as a response element in the action - `DescribeServerlessV2PlatformVersions`. - """ - - serverless_v2_platform_version: str | None = ... - """The version number of the serverless platform.""" - serverless_v2_platform_version_description: str | None = ... - """The description of the serverless platform.""" - engine: str | None = ... - """The name of the database engine.""" - serverless_v2_features_support: ServerlessV2FeaturesSupport | None = ... - """ - Specifies any Aurora Serverless v2 properties or limits that differ - between Aurora Serverless v2 platform versions. You can retrieve the - platform version of an existing DB cluster and check whether that - version supports certain Aurora Serverless v2 features before you - attempt to use those features. - """ - status: str | None = ... - """ - The status of the serverless platform. Valid statuses are the following: - - - `enabled` - The platform version is in use. - - - `disabled` - The platform version is not in use. - """ - is_default: bool | None = ... - """ - Indicates whether this platform version is the default version for the - engine. The default platform version is the version used for new DB - clusters. - """ - -@dataclass(kw_only=True) -class ServerlessV2ScalingConfiguration(_SerdeShape): - """ - Contains the scaling configuration of an Aurora Serverless v2 DB - cluster. - - For more information, see [Using Amazon Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the *Amazon Aurora User Guide*. - """ - - min_capacity: float | None = ... - """ - The minimum number of Aurora capacity units (ACUs) for a DB instance in - an Aurora Serverless v2 cluster. You can specify ACU values in half-step - increments, such as 8, 8.5, 9, and so on. For Aurora versions that - support the Aurora Serverless v2 auto-pause feature, the smallest value - that you can use is 0. For versions that don't support Aurora - Serverless v2 auto-pause, the smallest value that you can use is 0.5. - """ - max_capacity: float | None = ... - """ - The maximum number of Aurora capacity units (ACUs) for a DB instance in - an Aurora Serverless v2 cluster. You can specify ACU values in half-step - increments, such as 32, 32.5, 33, and so on. The largest value that you - can use is 256 for recent Aurora versions, or 128 for older versions. - You can check the attributes of your engine version or platform version - to determine the specific maximum capacity supported. - """ - seconds_until_auto_pause: int | None = ... - """ - Specifies the number of seconds an Aurora Serverless v2 DB instance must - be idle before Aurora attempts to automatically pause it. - - Specify a value between 300 seconds (five minutes) and 86,400 seconds - (one day). The default is 300 seconds. - """ - -@dataclass(kw_only=True) -class ServerlessV2ScalingConfigurationInfo(_SerdeShape): - """ - The scaling configuration for an Aurora Serverless v2 DB cluster. - - For more information, see [Using Amazon Aurora Serverless - v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) - in the *Amazon Aurora User Guide*. - """ - - min_capacity: float | None = ... - """ - The minimum number of Aurora capacity units (ACUs) for a DB instance in - an Aurora Serverless v2 cluster. You can specify ACU values in half-step - increments, such as 8, 8.5, 9, and so on. For Aurora versions that - support the Aurora Serverless v2 auto-pause feature, the smallest value - that you can use is 0. For versions that don't support Aurora - Serverless v2 auto-pause, the smallest value that you can use is 0.5. - """ - max_capacity: float | None = ... - """ - The maximum number of Aurora capacity units (ACUs) for a DB instance in - an Aurora Serverless v2 cluster. You can specify ACU values in half-step - increments, such as 32, 32.5, 33, and so on. The largest value that you - can use is 256 for recent Aurora versions, or 128 for older versions. - You can check the attributes of your engine version or platform version - to determine the specific maximum capacity supported. - """ - seconds_until_auto_pause: int | None = ... - """ - The number of seconds an Aurora Serverless v2 DB instance must be idle - before Aurora attempts to automatically pause it. This property is only - shown when the minimum capacity for the cluster is set to 0 ACUs. - Changing the minimum capacity to a nonzero value removes this property. - If you later change the minimum capacity back to 0 ACUs, this property - is reset to its default value unless you specify it again. - - This value ranges between 300 seconds (five minutes) and 86,400 seconds - (one day). The default is 300 seconds. - """ - -@dataclass(kw_only=True) -class SharedSnapshotQuotaExceededFault(ServiceError, _SerdeShape): - """ - You have exceeded the maximum number of accounts that you can share a - manual DB snapshot with. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SnapshotQuotaExceededFault(ServiceError, _SerdeShape): - """ - The request would result in the user exceeding the allowed number of DB - snapshots. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SNSInvalidTopicFault(ServiceError, _SerdeShape): - """SNS has responded that there is a problem with the SNS topic specified.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SNSNoAuthorizationFault(ServiceError, _SerdeShape): - """You do not have permission to publish to the SNS topic ARN.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SNSTopicArnNotFoundFault(ServiceError, _SerdeShape): - """The SNS topic ARN does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SourceClusterNotSupportedFault(ServiceError, _SerdeShape): - """The source DB cluster isn't supported for a blue/green deployment.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SourceDatabaseNotSupportedFault(ServiceError, _SerdeShape): - """The source DB instance isn't supported for a blue/green deployment.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SourceNotFoundFault(ServiceError, _SerdeShape): - """The requested source could not be found.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SourceRegion(_SerdeShape): - """ - Contains an Amazon Web Services Region name as the result of a - successful call to the `DescribeSourceRegions` action. - """ - - region_name: str | None = ... - """The name of the source Amazon Web Services Region.""" - endpoint: str | None = ... - """The endpoint for the source Amazon Web Services Region endpoint.""" - status: str | None = ... - """The status of the source Amazon Web Services Region.""" - supports_db_instance_automated_backups_replication: bool | None = ... - """ - Indicates whether the source Amazon Web Services Region supports - replicating automated backups to the current Amazon Web Services Region. - """ - -class SourceType(UnknownEnumMixin, StrEnum): - DB_INSTANCE = "db-instance" - DB_PARAMETER_GROUP = "db-parameter-group" - DB_SECURITY_GROUP = "db-security-group" - DB_SNAPSHOT = "db-snapshot" - DB_CLUSTER = "db-cluster" - DB_CLUSTER_SNAPSHOT = "db-cluster-snapshot" - CUSTOM_ENGINE_VERSION = "custom-engine-version" - DB_PROXY = "db-proxy" - BLUE_GREEN_DEPLOYMENT = "blue-green-deployment" - DB_SHARD_GROUP = "db-shard-group" - ZERO_ETL = "zero-etl" - -@dataclass(kw_only=True) -class StartActivityStreamInput(_SerdeShape): - """Dataclass for StartActivityStreamInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the DB cluster, for example, - `arn:aws:rds:us-east-1:12345667890:cluster:das-cluster`. - """ - mode: str | None = ... - """ - Specifies the mode of the database activity stream. Database events such - as a change or access generate an activity stream event. The database - session can handle these events either synchronously or asynchronously. - """ - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encrypting messages in - the database activity stream. The Amazon Web Services KMS key identifier - is the key ARN, key ID, alias ARN, or alias name for the KMS key. - """ - apply_immediately: bool | None = ... - """ - Specifies whether or not the database activity stream is to start as - soon as possible, regardless of the maintenance window for the database. - """ - engine_native_audit_fields_included: bool | None = ... - """ - Specifies whether the database activity stream includes engine-native - audit fields. This option applies to an Oracle or Microsoft SQL Server - DB instance. By default, no engine-native audit fields are included. - """ - -@dataclass(kw_only=True) -class StartActivityStreamOutput(_SerdeShape): - """Dataclass for StartActivityStreamOutput structure.""" - - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of messages in - the database activity stream. - """ - kinesis_stream_name: str | None = ... - """ - The name of the Amazon Kinesis data stream to be used for the database - activity stream. - """ - status: str | None = ... - """The status of the database activity stream.""" - mode: str | None = ... - """The mode of the database activity stream.""" - engine_native_audit_fields_included: bool | None = ... - """ - Indicates whether engine-native audit fields are included in the - database activity stream. - """ - apply_immediately: bool | None = ... - """ - Indicates whether or not the database activity stream will start as soon - as possible, regardless of the maintenance window for the database. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartDBClusterInput(_SerdeShape): - """Dataclass for StartDBClusterInput structure.""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the Amazon Aurora DB cluster to be started. - This parameter is stored as a lowercase string. - """ - -@dataclass(kw_only=True) -class StartDBClusterOutput(_SerdeShape): - """Dataclass for StartDBClusterOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartDBInstanceAutomatedBackupsReplicationInput(_SerdeShape): - """Dataclass for StartDBInstanceAutomatedBackupsReplicationInput structure.""" - - source_db_instance_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the source DB instance for the - replicated automated backups, for example, - `arn:aws:rds:us-west-2:123456789012:db:mydatabase`. - """ - backup_retention_period: int | None = ... - """The retention period for the replicated automated backups.""" - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of the - replicated automated backups. The KMS key ID is the Amazon Resource Name - (ARN) for the KMS encryption key in the destination Amazon Web Services - Region, for example, - `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE`. - """ - pre_signed_url: str | None = ... - """ - In an Amazon Web Services GovCloud (US) Region, an URL that contains a - Signature Version 4 signed request for the - `StartDBInstanceAutomatedBackupsReplication` operation to call in the - Amazon Web Services Region of the source DB instance. The presigned URL - must be a valid request for the - `StartDBInstanceAutomatedBackupsReplication` API operation that can run - in the Amazon Web Services Region that contains the source DB instance. - - This setting applies only to Amazon Web Services GovCloud (US) Regions. - It's ignored in other Amazon Web Services Regions. - - To learn how to generate a Signature Version 4 signed request, see - [Authenticating Requests: Using Query Parameters (Amazon Web Services - Signature Version - 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) - and [Signature Version 4 Signing - Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). - - Note: - If you are using an Amazon Web Services SDK tool or the CLI, you can - specify `SourceRegion` (or `--source-region` for the CLI) instead of - specifying `PreSignedUrl` manually. Specifying `SourceRegion` - autogenerates a presigned URL that is a valid request for the operation - that can run in the source Amazon Web Services Region. - """ - tags: list[Tag] | None = ... - """A list of tags to associate with the replicated automated backups.""" - -@dataclass(kw_only=True) -class StartDBInstanceAutomatedBackupsReplicationOutput(_SerdeShape): - """ - Dataclass for StartDBInstanceAutomatedBackupsReplicationOutput - structure. - """ - - db_instance_automated_backup: DBInstanceAutomatedBackup | None = ... - """ - An automated backup of a DB instance. It consists of system backups, - transaction logs, and the database instance properties that existed at - the time you deleted the source instance. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartDBInstanceInput(_SerdeShape): - """Dataclass for StartDBInstanceInput structure.""" - - db_instance_identifier: str | None = ... - """The user-supplied instance identifier.""" - db_capacity_reservation_identifier: str | None = ... - """ - The identifier or the name of the DB capacity reservation for the DB - instance to use after it starts. You can specify the identifier, which - has the prefix `dbcr-`, or the reservation name. - - Specify this parameter when the DB instance stopped using a reservation, - or when you want the DB instance to use a different reservation. - - If you omit this parameter, and the DB instance kept a DB capacity - reservation when it stopped, Amazon RDS starts the DB instance in that - reservation. - - If that reservation is deleted, ended, or cancelled, the DB instance - still starts. Amazon RDS starts the DB instance outside the reservation, - on unreserved capacity, and it charges on-demand prices for the DB - instance. - - If that reservation has no available capacity in the Availability Zone - of the DB instance, the request fails. Amazon RDS doesn't start the DB - instance, and it doesn't wait for capacity in that Availability Zone. - Specify a reservation that has available capacity in that Availability - Zone, or retry the request after the reservation has available capacity. - - Constraints: - - - The reservation must be in the `active` state. - - - The reservation must reserve capacity for the DB instance class and - the engine of the DB instance. - - - The reservation must cover the Availability Zone of the DB instance, - and it must have available capacity in that Availability Zone. - """ - -@dataclass(kw_only=True) -class StartDBInstanceOutput(_SerdeShape): - """Dataclass for StartDBInstanceOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StartExportTaskInput(_SerdeShape): - """Dataclass for StartExportTaskInput structure.""" - - export_task_identifier: str | None = ... - """ - A unique identifier for the export task. This ID isn't an identifier - for the Amazon S3 bucket where the data is to be exported. - """ - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the snapshot or cluster to export to - Amazon S3. - """ - s3_bucket_name: str | None = ... - """ - The name of the Amazon S3 bucket to export the snapshot or cluster data - to. - """ - iam_role_arn: str | None = ... - """ - The name of the IAM role to use for writing to the Amazon S3 bucket when - exporting a snapshot or cluster. - - In the IAM policy attached to your IAM role, include the following - required actions to allow the transfer of files from Amazon RDS or - Amazon Aurora to an S3 bucket: - - - s3:PutObject* - - - s3:GetObject* - - - s3:ListBucket - - - s3:DeleteObject* - - - s3:GetBucketLocation - - In the policy, include the resources to identify the S3 bucket and - objects in the bucket. The following list of resources shows the Amazon - Resource Name (ARN) format for accessing S3: - - - `arn:aws:s3:::`*`your-s3-bucket`*` ` - - - `arn:aws:s3:::`*`your-s3-bucket`*`/*` - """ - kms_key_id: str | None = ... - """ - The ID of the Amazon Web Services KMS key to use to encrypt the data - exported to Amazon S3. The Amazon Web Services KMS key identifier is the - key ARN, key ID, alias ARN, or alias name for the KMS key. The caller of - this operation must be authorized to run the following operations. These - can be set in the Amazon Web Services KMS key policy: - - - kms:CreateGrant - - - kms:DescribeKey - """ - s3_prefix: str | None = ... - """ - The Amazon S3 bucket prefix to use as the file name and path of the - exported data. - """ - export_only: list[str] | None = ... - """ - The data to be exported from the snapshot or cluster. If this parameter - isn't provided, all of the data is exported. - - Valid Values: - - - `database` - Export all the data from a specified database. - - - `database.table` *table-name* - Export a table of the snapshot or - cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, - and Aurora MySQL. - - - `database.schema` *schema-name* - Export a database schema of the - snapshot or cluster. This format is valid only for RDS for PostgreSQL - and Aurora PostgreSQL. - - - `database.schema.table` *table-name* - Export a table of the database - schema. This format is valid only for RDS for PostgreSQL and Aurora - PostgreSQL. - """ - -@dataclass(kw_only=True) -class StartExportTaskOutput(_SerdeShape): - """ - Contains the details of a snapshot or cluster export to Amazon S3. - - This data type is used as a response element in the - `DescribeExportTasks` operation. - """ - - export_task_identifier: str | None = ... - """ - A unique identifier for the snapshot or cluster export task. This ID - isn't an identifier for the Amazon S3 bucket where the data is - exported. - """ - source_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the snapshot or cluster exported to - Amazon S3. - """ - export_only: list[str] | None = ... - """ - The data exported from the snapshot or cluster. - - Valid Values: - - - `database` - Export all the data from a specified database. - - - `database.table` *table-name* - Export a table of the snapshot or - cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, - and Aurora MySQL. - - - `database.schema` *schema-name* - Export a database schema of the - snapshot or cluster. This format is valid only for RDS for PostgreSQL - and Aurora PostgreSQL. - - - `database.schema.table` *table-name* - Export a table of the database - schema. This format is valid only for RDS for PostgreSQL and Aurora - PostgreSQL. - """ - snapshot_time: datetime | None = ... - """The time when the snapshot was created.""" - task_start_time: datetime | None = ... - """The time when the snapshot or cluster export task started.""" - task_end_time: datetime | None = ... - """The time when the snapshot or cluster export task ended.""" - s3_bucket: str | None = ... - """The Amazon S3 bucket where the snapshot or cluster is exported to.""" - s3_prefix: str | None = ... - """ - The Amazon S3 bucket prefix that is the file name and path of the - exported data. - """ - iam_role_arn: str | None = ... - """ - The name of the IAM role that is used to write to Amazon S3 when - exporting a snapshot or cluster. - """ - kms_key_id: str | None = ... - """ - The key identifier of the Amazon Web Services KMS key that is used to - encrypt the data when it's exported to Amazon S3. The KMS key - identifier is its key ARN, key ID, alias ARN, or alias name. The IAM - role used for the export must have encryption and decryption permissions - to use this KMS key. - """ - status: str | None = ... - """ - The progress status of the export task. The status can be one of the - following: - - - `CANCELED` - - - `CANCELING` - - - `COMPLETE` - - - `FAILED` - - - `IN_PROGRESS` - - - `STARTING` - """ - percent_progress: int | None = ... - """The progress of the snapshot or cluster export task as a percentage.""" - total_extracted_data_in_gb: int | None = ... - """The total amount of data exported, in gigabytes.""" - failure_cause: str | None = ... - """The reason the export failed, if it failed.""" - warning_message: str | None = ... - """A warning about the snapshot or cluster export task.""" - source_type: str | None = ... - """The type of source for the export.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopActivityStreamInput(_SerdeShape): - """Dataclass for StopActivityStreamInput structure.""" - - resource_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the DB cluster for the database - activity stream. For example, - `arn:aws:rds:us-east-1:12345667890:cluster:das-cluster`. - """ - apply_immediately: bool | None = ... - """ - Specifies whether or not the database activity stream is to stop as soon - as possible, regardless of the maintenance window for the database. - """ - -@dataclass(kw_only=True) -class StopActivityStreamOutput(_SerdeShape): - """Dataclass for StopActivityStreamOutput structure.""" - - kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier used for encrypting messages - in the database activity stream. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - """ - kinesis_stream_name: str | None = ... - """ - The name of the Amazon Kinesis data stream used for the database - activity stream. - """ - status: str | None = ... - """The status of the database activity stream.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopDBClusterInput(_SerdeShape): - """Dataclass for StopDBClusterInput structure.""" - - db_cluster_identifier: str | None = ... - """ - The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. - This parameter is stored as a lowercase string. - """ - -@dataclass(kw_only=True) -class StopDBClusterOutput(_SerdeShape): - """Dataclass for StopDBClusterOutput structure.""" - - db_cluster: DBCluster | None = ... - """ - Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB - cluster. - - For an Amazon Aurora DB cluster, this data type is used as a response - element in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `PromoteReadReplicaDBCluster`, `RestoreDBClusterFromS3`, - `RestoreDBClusterFromSnapshot`, `RestoreDBClusterToPointInTime`, - `StartDBCluster`, and `StopDBCluster`. - - For a Multi-AZ DB cluster, this data type is used as a response element - in the operations `CreateDBCluster`, `DeleteDBCluster`, - `DescribeDBClusters`, `FailoverDBCluster`, `ModifyDBCluster`, - `RebootDBCluster`, `RestoreDBClusterFromSnapshot`, and - `RestoreDBClusterToPointInTime`. - - For more information on Amazon Aurora DB clusters, see [What is Amazon - Aurora?](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) - in the *Amazon Aurora User Guide.* - - For more information on Multi-AZ DB clusters, see [Multi-AZ deployments - with two readable standby DB - instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) - in the *Amazon RDS User Guide.* - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopDBInstanceAutomatedBackupsReplicationInput(_SerdeShape): - """Dataclass for StopDBInstanceAutomatedBackupsReplicationInput structure.""" - - source_db_instance_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the source DB instance for which to - stop replicating automate backups, for example, - `arn:aws:rds:us-west-2:123456789012:db:mydatabase`. - """ - -@dataclass(kw_only=True) -class StopDBInstanceAutomatedBackupsReplicationOutput(_SerdeShape): - """Dataclass for StopDBInstanceAutomatedBackupsReplicationOutput structure.""" - - db_instance_automated_backup: DBInstanceAutomatedBackup | None = ... - """ - An automated backup of a DB instance. It consists of system backups, - transaction logs, and the database instance properties that existed at - the time you deleted the source instance. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StopDBInstanceInput(_SerdeShape): - """Dataclass for StopDBInstanceInput structure.""" - - db_instance_identifier: str | None = ... - """The user-supplied instance identifier.""" - db_snapshot_identifier: str | None = ... - """ - The user-supplied instance identifier of the DB Snapshot created - immediately before the DB instance is stopped. - """ - detach_from_db_capacity_reservation: bool | None = ... - """ - Specifies whether the DB instance stops using its DB capacity - reservation when the DB instance stops. When you specify `true`, the DB - instance belongs to no reservation after it stops, and a later start - launches it outside the reservation. - - By default, a stopped DB instance keeps its DB capacity reservation, and - a later start returns the DB instance to the same reservation. - - Every stop releases the unit of reserved capacity that the DB instance - holds, for either value of this parameter. Another DB instance can then - use that capacity. This parameter controls the reservation that the DB - instance belongs to, and it does not control the release of the - capacity. - - If the DB instance uses no DB capacity reservation, this parameter has - no effect. - - Warning: - Amazon RDS holds no capacity for a stopped DB instance. When the - reservation has no available capacity in the Availability Zone of the DB - instance, a later start waits for capacity in that Availability Zone. - When the DB instance belongs to no reservation, a later start can fail - because the Amazon Web Services Region has insufficient capacity for the - DB instance class. - """ - -@dataclass(kw_only=True) -class StopDBInstanceOutput(_SerdeShape): - """Dataclass for StopDBInstanceOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class StorageEncryptionType(UnknownEnumMixin, StrEnum): - UNENCRYPTED = "none" - CMK = "sse-kms" - SSE = "sse-rds" - -@dataclass(kw_only=True) -class StorageQuotaExceededFault(ServiceError, _SerdeShape): - """ - The request would result in the user exceeding the allowed amount of - storage available across all DB instances. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StorageTypeNotAvailableFault(ServiceError, _SerdeShape): - """ - The `aurora-iopt1` storage type isn't available, because you modified - the DB cluster to use this storage type less than one month ago. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class StorageTypeNotSupportedFault(ServiceError, _SerdeShape): - """The specified `StorageType` can't be associated with the DB instance.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Subnet(_SerdeShape): - """ - This data type is used as a response element for the - `DescribeDBSubnetGroups` operation. - """ - - subnet_identifier: str | None = ... - """The identifier of the subnet.""" - subnet_availability_zone: AvailabilityZone | None = ... - """ - Contains Availability Zone information. - - This data type is used as an element in the `OrderableDBInstanceOption` - data type. - """ - subnet_outpost: Outpost | None = ... - """ - If the subnet is associated with an Outpost, this value specifies the - Outpost. - - For more information about RDS on Outposts, see [Amazon RDS on Amazon - Web Services - Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) - in the *Amazon RDS User Guide.* - """ - subnet_status: str | None = ... - """The status of the subnet.""" - -@dataclass(kw_only=True) -class SubnetAlreadyInUse(ServiceError, _SerdeShape): - """The DB subnet is already in use in the Availability Zone.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SubscriptionAlreadyExistFault(ServiceError, _SerdeShape): - """The supplied subscription name already exists.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SubscriptionCategoryNotFoundFault(ServiceError, _SerdeShape): - """The supplied category does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SubscriptionNotFoundFault(ServiceError, _SerdeShape): - """The subscription name does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SupportedEngineLifecycle(_SerdeShape): - """ - This data type is used as a response element in the operation - `DescribeDBMajorEngineVersions`. - - You can use the information that this data type returns to plan for - upgrades. - - This data type only returns information for the open source engines - Amazon RDS for MariaDB, Amazon RDS for MySQL, Amazon RDS for PostgreSQL, - Aurora MySQL, and Aurora PostgreSQL. - """ - - lifecycle_support_name: str | None = ... - """ - The type of lifecycle support that the engine version is in. - - This parameter returns the following values: - - - `open-source-rds-standard-support` - Indicates RDS standard support or - Aurora standard support. - - - `open-source-rds-extended-support` - Indicates Amazon RDS Extended - Support. - - For Amazon RDS for MySQL, Amazon RDS for PostgreSQL, Aurora MySQL, and - Aurora PostgreSQL, this parameter returns both - `open-source-rds-standard-support` and - `open-source-rds-extended-support`. - - For Amazon RDS for MariaDB, this parameter only returns the value - `open-source-rds-standard-support`. - - For information about Amazon RDS Extended Support, see [Amazon RDS - Extended Support with Amazon - RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html) - in the *Amazon RDS User Guide* and [Amazon RDS Extended Support with - Amazon - Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html) - in the *Amazon Aurora User Guide*. - """ - lifecycle_support_start_date: datetime | None = ... - """ - The start date for the type of support returned by - `LifecycleSupportName`. - """ - lifecycle_support_end_date: datetime | None = ... - """The end date for the type of support returned by `LifecycleSupportName`.""" - -@dataclass(kw_only=True) -class SwitchoverBlueGreenDeploymentInput(_SerdeShape): - """Dataclass for SwitchoverBlueGreenDeploymentInput structure.""" - - blue_green_deployment_identifier: str | None = ... - """ - The resource ID of the blue/green deployment. - - Constraints: - - - Must match an existing blue/green deployment resource ID. - """ - switchover_timeout: int | None = ... - """ - The amount of time, in seconds, for the switchover to complete. - - Default: 300 - - If the switchover takes longer than the specified duration, then any - changes are rolled back, and no changes are made to the environments. - """ - -@dataclass(kw_only=True) -class SwitchoverBlueGreenDeploymentOutput(_SerdeShape): - """Dataclass for SwitchoverBlueGreenDeploymentOutput structure.""" - - blue_green_deployment: BlueGreenDeployment | None = ... - """ - Details about a blue/green deployment. - - For more information, see [Using Amazon RDS Blue/Green Deployments for - database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) - in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green - Deployments for database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) - in the *Amazon Aurora User Guide*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SwitchoverDetail(_SerdeShape): - """ - Contains the details about a blue/green deployment. - - For more information, see [Using Amazon RDS Blue/Green Deployments for - database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) - in the *Amazon RDS User Guide* and [Using Amazon RDS Blue/Green - Deployments for database - updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) - in the *Amazon Aurora User Guide*. - """ - - source_member: str | None = ... - """The Amazon Resource Name (ARN) of a resource in the blue environment.""" - target_member: str | None = ... - """The Amazon Resource Name (ARN) of a resource in the green environment.""" - status: str | None = ... - """ - The switchover status of a resource in a blue/green deployment. - - Values: - - - `PROVISIONING` - The resource is being prepared to switch over. - - - `AVAILABLE` - The resource is ready to switch over. - - - `SWITCHOVER_IN_PROGRESS` - The resource is being switched over. - - - `SWITCHOVER_COMPLETED` - The resource has been switched over. - - - `SWITCHOVER_FAILED` - The resource attempted to switch over but - failed. - - - `MISSING_SOURCE` - The source resource has been deleted. - - - `MISSING_TARGET` - The target resource has been deleted. - """ - -@dataclass(kw_only=True) -class SwitchoverGlobalClusterInput(_SerdeShape): - """Dataclass for SwitchoverGlobalClusterInput structure.""" - - global_cluster_identifier: str | None = ... - """ - The identifier of the global database cluster to switch over. This - parameter isn't case-sensitive. - - Constraints: - - - Must match the identifier of an existing global database cluster - (Aurora global database). - """ - target_db_cluster_identifier: str | None = ... - """ - The identifier of the secondary Aurora DB cluster to promote to the new - primary for the global database cluster. Use the Amazon Resource Name - (ARN) for the identifier so that Aurora can locate the cluster in its - Amazon Web Services Region. - """ - -@dataclass(kw_only=True) -class SwitchoverGlobalClusterOutput(_SerdeShape): - """Dataclass for SwitchoverGlobalClusterOutput structure.""" - - global_cluster: GlobalCluster | None = ... - """A data type representing an Aurora global database.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SwitchoverReadReplicaInput(_SerdeShape): - """Dataclass for SwitchoverReadReplicaInput structure.""" - - db_instance_identifier: str | None = ... - """ - The DB instance identifier of the current standby database. This value - is stored as a lowercase string. - - Constraints: - - - Must match the identifier of an existing Oracle read replica DB - instance. - """ - -@dataclass(kw_only=True) -class SwitchoverReadReplicaOutput(_SerdeShape): - """Dataclass for SwitchoverReadReplicaOutput structure.""" - - db_instance: DBInstance | None = ... - """ - Contains the details of an Amazon RDS DB instance. - - This data type is used as a response element in the operations - `CreateDBInstance`, `CreateDBInstanceReadReplica`, `DeleteDBInstance`, - `DescribeDBInstances`, `ModifyDBInstance`, `PromoteReadReplica`, - `RebootDBInstance`, `RestoreDBInstanceFromDBSnapshot`, - `RestoreDBInstanceFromS3`, `RestoreDBInstanceToPointInTime`, - `StartDBInstance`, and `StopDBInstance`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """ - Metadata assigned to an Amazon RDS resource consisting of a key-value - pair. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - - key: str | None = ... - """ - A key is the required name of the tag. The string value can be from 1 to - 128 Unicode characters in length and can't be prefixed with `aws:` or - `rds:`. The string can only contain only the set of Unicode letters, - digits, white-space, '_', '.', ':', '/', '=', '+', '-', - '@' (Java regex: - \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\"). - """ - value: str | None = ... - """ - A value is the optional value of the tag. The string value can be from 1 - to 256 Unicode characters in length and can't be prefixed with `aws:` - or `rds:`. The string can only contain only the set of Unicode letters, - digits, white-space, '_', '.', ':', '/', '=', '+', '-', - '@' (Java regex: - \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\"). - """ - -@dataclass(kw_only=True) -class TagSpecification(_SerdeShape): - """ - The tags to apply to resources when creating or modifying a DB instance - or DB cluster, or when copying a DB instance snapshot. When you specify - a tag, you must specify the resource type to tag, otherwise the request - will fail. - """ - - resource_type: str | None = ... - """ - The type of resource to tag on creation. - - Valid Values: - - - `auto-backup` - The DB instance's automated backup. - - - `cluster-auto-backup` - The DB cluster's automated backup. - - - `og` - The copied option group. Valid only for `CopyDBSnapshot`. - """ - tags: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -class TargetConnectionNetworkType(UnknownEnumMixin, StrEnum): - IPV4 = "IPV4" - IPV6 = "IPV6" - -@dataclass(kw_only=True) -class TargetHealth(_SerdeShape): - """Information about the connection health of an RDS Proxy target.""" - - state: str | None = ... - """ - The current state of the connection health lifecycle for the RDS Proxy - target. The following is a typical lifecycle example for the states of - an RDS Proxy target: - - `registering` > `unavailable` > `available` > `unavailable` > - `available` - """ - reason: str | None = ... - """The reason for the current health `State` of the RDS Proxy target.""" - description: str | None = ... - """ - A description of the health of the RDS Proxy target. If the `State` is - `AVAILABLE`, a description is not included. - """ - -class TargetHealthReason(UnknownEnumMixin, StrEnum): - UNREACHABLE = "UNREACHABLE" - CONNECTION_FAILED = "CONNECTION_FAILED" - AUTH_FAILURE = "AUTH_FAILURE" - PENDING_PROXY_CAPACITY = "PENDING_PROXY_CAPACITY" - INVALID_REPLICATION_STATE = "INVALID_REPLICATION_STATE" - PROMOTED = "PROMOTED" - -@dataclass(kw_only=True) -class TargetResourceConfiguration(_SerdeShape): - """ - The configuration for a single resource in the green environment of a - blue/green deployment. - - Use `SourceArn` to identify a resource in the blue environment. Amazon - RDS creates the corresponding resource in the green environment using - this configuration. - - This data type is a request parameter of the `CreateBlueGreenDeployment` - operation. - """ - - source_arn: str - """ - The Amazon Resource Name (ARN) of the DB cluster or DB instance in the - blue environment to which this configuration applies. - """ - target_kms_key_id: str | None = ... - """ - The Amazon Web Services KMS key identifier for encryption of the - corresponding resource in the green environment. - - The Amazon Web Services KMS key identifier is the key ARN, key ID, alias - ARN, or alias name for the KMS key. - - Specify this setting in either of the following cases: - - - You want the green resource to use a different KMS key than the blue - resource. - - - The blue resource is unencrypted and you want to encrypt the green - resource. - - For Aurora, encryption applies at the DB cluster level. Specify a DB - cluster ARN in `SourceArn`. All DB instances in that cluster use the - same KMS key. - - For RDS, encryption applies at the DB instance level. Specify a DB - instance ARN in `SourceArn`. To encrypt read replicas, include a - separate entry for each one. Each entry can specify a different KMS key. - """ - -class TargetRole(UnknownEnumMixin, StrEnum): - READ_WRITE = "READ_WRITE" - READ_ONLY = "READ_ONLY" - UNKNOWN = "UNKNOWN" - -class TargetState(UnknownEnumMixin, StrEnum): - REGISTERING = "REGISTERING" - AVAILABLE = "AVAILABLE" - UNAVAILABLE = "UNAVAILABLE" - UNUSED = "UNUSED" - -class TargetType(UnknownEnumMixin, StrEnum): - RDS_INSTANCE = "RDS_INSTANCE" - RDS_SERVERLESS_ENDPOINT = "RDS_SERVERLESS_ENDPOINT" - TRACKED_CLUSTER = "TRACKED_CLUSTER" - -@dataclass(kw_only=True) -class TenantDatabase(_SerdeShape): - """ - A tenant database in the DB instance. This data type is an element in - the response to the `DescribeTenantDatabases` action. - """ - - tenant_database_create_time: datetime | None = ... - """The creation time of the tenant database.""" - db_instance_identifier: str | None = ... - """The ID of the DB instance that contains the tenant database.""" - tenant_db_name: str | None = ... - """The database name of the tenant database.""" - status: str | None = ... - """The status of the tenant database.""" - master_username: str | None = ... - """The master username of the tenant database.""" - dbi_resource_id: str | None = ... - """ - The Amazon Web Services Region-unique, immutable identifier for the DB - instance. - """ - tenant_database_resource_id: str | None = ... - """ - The Amazon Web Services Region-unique, immutable identifier for the - tenant database. - """ - tenant_database_arn: str | None = ... - """The Amazon Resource Name (ARN) for the tenant database.""" - character_set_name: str | None = ... - """The character set of the tenant database.""" - nchar_character_set_name: str | None = ... - """The `NCHAR` character set name of the tenant database.""" - deletion_protection: bool | None = ... - """Specifies whether deletion protection is enabled for the DB instance.""" - pending_modified_values: TenantDatabasePendingModifiedValues | None = ... - """Information about pending changes for a tenant database.""" - master_user_secret: MasterUserSecret | None = ... - """ - Contains the secret managed by RDS in Amazon Web Services Secrets - Manager for the master user password. - - For more information, see [Password management with Amazon Web Services - Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) - in the *Amazon RDS User Guide* and [Password management with Amazon Web - Services Secrets - Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) - in the *Amazon Aurora User Guide.* - """ - tag_list: list[Tag] | None = ... - """ - A list of tags. - - For more information, see [Tagging Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) - in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS - resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) - in the *Amazon Aurora User Guide*. - """ - -@dataclass(kw_only=True) -class TenantDatabaseAlreadyExistsFault(ServiceError, _SerdeShape): - """ - You attempted to either create a tenant database that already exists or - modify a tenant database to use the name of an existing tenant database. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TenantDatabaseNotFoundFault(ServiceError, _SerdeShape): - """The specified tenant database wasn't found in the DB instance.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TenantDatabasePendingModifiedValues(_SerdeShape): - """ - A response element in the `ModifyTenantDatabase` operation that - describes changes that will be applied. Specific changes are identified - by subelements. - """ - - master_user_password: str | None = ... - """The master password for the tenant database.""" - tenant_db_name: str | None = ... - """The name of the tenant database.""" - -@dataclass(kw_only=True) -class TenantDatabaseQuotaExceededFault(ServiceError, _SerdeShape): - """ - You attempted to create more tenant databases than are permitted in your - Amazon Web Services account. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Timezone(_SerdeShape): - """ - A time zone associated with a `DBInstance` or a `DBSnapshot`. This data - type is an element in the response to the `DescribeDBInstances`, the - `DescribeDBSnapshots`, and the `DescribeDBEngineVersions` actions. - """ - - timezone_name: str | None = ... - """The name of the time zone.""" - -@dataclass(kw_only=True) -class UnsupportedDBEngineVersionFault(ServiceError, _SerdeShape): - """ - The specified DB engine version isn't supported for Aurora Limitless - Database. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class UpgradeRolloutOrder(UnknownEnumMixin, StrEnum): - FIRST = "first" - SECOND = "second" - LAST = "last" - -@dataclass(kw_only=True) -class UpgradeTarget(_SerdeShape): - """ - The version of the database engine that a DB instance can be upgraded - to. - """ - - engine: str | None = ... - """The name of the upgrade target database engine.""" - engine_version: str | None = ... - """The version number of the upgrade target database engine.""" - description: str | None = ... - """ - The version of the database engine that a DB instance can be upgraded - to. - """ - auto_upgrade: bool | None = ... - """ - Indicates whether the target version is applied to any source DB - instances that have `AutoMinorVersionUpgrade` set to true. - - This parameter is dynamic, and is set by RDS. - """ - is_major_version_upgrade: bool | None = ... - """ - Indicates whether upgrading to the target version requires upgrading the - major version of the database engine. - """ - supported_engine_modes: list[str] | None = ... - """A list of the supported DB engine modes for the target engine version.""" - supports_parallel_query: bool | None = ... - """ - Indicates whether you can use Aurora parallel query with the target - engine version. - """ - supports_global_databases: bool | None = ... - """ - Indicates whether you can use Aurora global databases with the target - engine version. - """ - supports_babelfish: bool | None = ... - """ - Indicates whether you can use Babelfish for Aurora PostgreSQL with the - target engine version. - """ - supports_limitless_database: bool | None = ... - """ - Indicates whether the DB engine version supports Aurora Limitless - Database. - """ - supports_local_write_forwarding: bool | None = ... - """ - Indicates whether the target engine version supports forwarding write - operations from reader DB instances to the writer DB instance in the DB - cluster. By default, write operations aren't allowed on reader DB - instances. - - Valid for: Aurora DB clusters only - """ - supports_integrations: bool | None = ... - """ - Indicates whether the DB engine version supports zero-ETL integrations - with Amazon Redshift. - """ - -@dataclass(kw_only=True) -class UserAuthConfig(_SerdeShape): - """ - Specifies the details of authentication used by a proxy to log in as a - specific database user. - """ - - description: str | None = ... - """ - A user-specified description about the authentication used by a proxy to - log in as a specific database user. - """ - user_name: str | None = ... - """The name of the database user to which the proxy connects.""" - auth_scheme: str | None = ... - """ - The type of authentication that the proxy uses for connections from the - proxy to the underlying database. - """ - secret_arn: str | None = ... - """ - The Amazon Resource Name (ARN) representing the secret that the proxy - uses to authenticate to the RDS DB instance or Aurora DB cluster. These - secrets are stored within Amazon Secrets Manager. - """ - iam_auth: str | None = ... - """ - A value that indicates whether to require or disallow Amazon Web - Services Identity and Access Management (IAM) authentication for - connections to the proxy. The `ENABLED` value is valid only for proxies - with RDS for Microsoft SQL Server. - """ - client_password_auth_type: str | None = ... - """ - The type of authentication the proxy uses for connections from clients. - The following values are defaults for the corresponding engines: - - - RDS for MySQL: `MYSQL_CACHING_SHA2_PASSWORD` - - - RDS for SQL Server: `SQL_SERVER_AUTHENTICATION` - - - RDS for PostgreSQL: `POSTGRES_SCRAM_SHA2_256` - """ - -@dataclass(kw_only=True) -class UserAuthConfigInfo(_SerdeShape): - """ - Returns the details of authentication used by a proxy to log in as a - specific database user. - """ - - description: str | None = ... - """ - A user-specified description about the authentication used by a proxy to - log in as a specific database user. - """ - user_name: str | None = ... - """The name of the database user to which the proxy connects.""" - auth_scheme: str | None = ... - """ - The type of authentication that the proxy uses for connections from the - proxy to the underlying database. - """ - secret_arn: str | None = ... - """ - The Amazon Resource Name (ARN) representing the secret that the proxy - uses to authenticate to the RDS DB instance or Aurora DB cluster. These - secrets are stored within Amazon Secrets Manager. - """ - iam_auth: str | None = ... - """ - Whether to require or disallow Amazon Web Services Identity and Access - Management (IAM) authentication for connections to the proxy. - """ - client_password_auth_type: str | None = ... - """The type of authentication the proxy uses for connections from clients.""" - -@dataclass(kw_only=True) -class ValidAdditionalStorageOptions(_SerdeShape): - """ - Contains the valid options for additional storage volumes for a DB - instance. - """ - - supports_additional_storage_volumes: bool | None = ... - """Indicates whether the DB instance supports additional storage volumes.""" - volumes: list[ValidVolumeOptions] | None = ... - """The valid additional storage volume options for the DB instance.""" - -@dataclass(kw_only=True) -class ValidDBInstanceModificationsMessage(_SerdeShape): - """ - Information about valid modifications that you can make to your DB - instance. Contains the result of a successful call to the - `DescribeValidDBInstanceModifications` action. You can use this - information when you call `ModifyDBInstance`. - """ - - storage: list[ValidStorageOptions] | None = ... - """Valid storage options for your DB instance.""" - valid_processor_features: list[AvailableProcessorFeature] | None = ... - """Valid processor features for your DB instance.""" - supports_dedicated_log_volume: bool | None = ... - """ - Indicates whether a DB instance supports using a dedicated log volume - (DLV). - """ - additional_storage: ValidAdditionalStorageOptions | None = ... - """The valid additional storage options for the DB instance.""" - -@dataclass(kw_only=True) -class ValidStorageOptions(_SerdeShape): - """ - Information about valid modifications that you can make to your DB - instance. Contains the result of a successful call to the - `DescribeValidDBInstanceModifications` action. - """ - - storage_type: str | None = ... - """ - The valid storage types for your DB instance. For example: gp2, gp3, - io1, io2. - """ - storage_size: list[Range] | None = ... - """ - The valid range of storage in gibibytes (GiB). For example, 100 to - 16,384. - """ - provisioned_iops: list[Range] | None = ... - """The valid range of provisioned IOPS. For example, 1000-256,000.""" - iops_to_storage_ratio: list[DoubleRange] | None = ... - """ - The valid range of Provisioned IOPS to gibibytes of storage multiplier. - For example, 3-10, which means that provisioned IOPS can be between 3 - and 10 times storage. - """ - provisioned_storage_throughput: list[Range] | None = ... - """ - The valid range of provisioned storage throughput. For example, - 500-4,000 mebibytes per second (MiBps). - """ - storage_throughput_to_iops_ratio: list[DoubleRange] | None = ... - """ - The valid range of storage throughput to provisioned IOPS ratios. For - example, 0-0.25. - """ - supports_storage_autoscaling: bool | None = ... - """ - Indicates whether or not Amazon RDS can automatically scale storage for - DB instances that use the new instance class. - """ - -@dataclass(kw_only=True) -class ValidVolumeOptions(_SerdeShape): - """Contains the valid options for an additional storage volume.""" - - volume_name: str | None = ... - """The name of the additional storage volume.""" - storage: list[ValidStorageOptions] | None = ... - """The valid storage options for the additional storage volume.""" - -@dataclass(kw_only=True) -class VpcEncryptionControlViolationException(ServiceError, _SerdeShape): - """ - The operation violates VPC encryption control settings. Make sure that - your DB instance type supports the Nitro encryption-in-transit - capability, or modify your VPC's encryption controls to not enforce - encryption-in-transit. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class VpcSecurityGroupMembership(_SerdeShape): - """ - This data type is used as a response element for queries on VPC security - group membership. - """ - - vpc_security_group_id: str | None = ... - """The name of the VPC security group.""" - status: str | None = ... - """ - The membership status of the VPC security group. - - Currently, the only valid status is `active`. - """ - -class WriteForwardingStatus(UnknownEnumMixin, StrEnum): - ENABLED = "enabled" - DISABLED = "disabled" - ENABLING = "enabling" - DISABLING = "disabling" - UNKNOWN = "unknown" - ADD_ROLE_TO_DB_CLUSTER: APIOperation[AddRoleToDBClusterInput, AddRoleToDBClusterOutput] ADD_ROLE_TO_DB_INSTANCE: APIOperation[ AddRoleToDBInstanceInput, AddRoleToDBInstanceOutput diff --git a/clients/aws-sdk-rds/tests/test_endpoints.py b/clients/aws-sdk-rds/tests/test_endpoints.py index c67677721..3ab120100 100644 --- a/clients/aws-sdk-rds/tests/test_endpoints.py +++ b/clients/aws-sdk-rds/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-s3/pyproject.toml b/clients/aws-sdk-s3/pyproject.toml index fafd9025a..8bc05eda3 100644 --- a/clients/aws-sdk-s3/pyproject.toml +++ b/clients/aws-sdk-s3/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_s3" version = "0.12.0" -description = "aws_sdk_s3 client" +description = "Python client for Amazon Simple Storage Service" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_s3"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[checksums, eventstream, xml]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[checksums, eventstream, xml]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/models_0.pyi b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/models_0.pyi new file mode 100644 index 000000000..7882ef38d --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/models_0.pyi @@ -0,0 +1,10090 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.aio.interfaces import StreamingBlob +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + LifecycleRule, + LocationInfo, + LoggingEnabled, + MetadataConfiguration, + MetadataConfigurationResult, + MetadataTableConfiguration, + MetadataTableConfigurationResult, + MetadataTableEncryptionConfiguration, + Metrics, + MetricsConfiguration, + NotificationConfigurationFilter, + ObjectIdentifier, + ObjectLockConfiguration, + ObjectLockLegalHold, + ObjectLockRetention, + ObjectPart, + Owner, + OwnershipControls, + ParquetInput, + PolicyStatus, + PublicAccessBlockConfiguration, + QueueConfiguration, + RecordExpiration, + RedirectAllRequestsTo, + ReplicationConfiguration, + ReplicationTime, + RoutingRule, + SSEKMS, + SSES3, + ServerSideEncryptionConfiguration, + ServiceError, + SessionCredentials, + StorageClassAnalysis, + Tag, + Tiering, + TopicConfiguration, + _SerdeShape, +) + +@dataclass(kw_only=True) +class AbacStatus(_SerdeShape): + """ + The ABAC status of the general purpose bucket. When ABAC is enabled for + the general purpose bucket, you can use tags to manage access to the + general purpose buckets as well as for cost tracking purposes. When ABAC + is disabled for the general purpose buckets, you can only use tags for + cost tracking purposes. For more information, see [Using tags with S3 + general purpose + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html). + """ + + status: str | None = ... + """The ABAC status of the general purpose bucket.""" + +@dataclass(kw_only=True) +class AbortIncompleteMultipartUpload(_SerdeShape): + """ + Specifies the days since the initiation of an incomplete multipart + upload that Amazon S3 will wait before permanently removing all parts of + the upload. For more information, see [Aborting Incomplete Multipart + Uploads Using a Bucket Lifecycle + Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) + in the *Amazon S3 User Guide*. + """ + + days_after_initiation: int | None = ... + """ + Specifies the number of days after which Amazon S3 aborts an incomplete + multipart upload. + """ + +@dataclass(kw_only=True) +class AbortMultipartUploadInput(_SerdeShape): + """Dataclass for AbortMultipartUploadInput structure.""" + + bucket: str | None = ... + """ + The bucket name to which the upload was taking place. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """Key of the object for which the multipart upload was initiated.""" + upload_id: str | None = ... + """Upload ID that identifies the multipart upload.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + if_match_initiated_time: datetime | None = ... + """ + If present, this header aborts an in progress multipart upload only if + it was initiated on the provided timestamp. If the initiated timestamp + of the multipart upload does not match the provided value, the operation + returns a `412 Precondition Failed` error. If the initiated timestamp + matches or if the multipart upload doesn't exist, the operation returns + a `204 Success (No Content)` response. + + Note: + This functionality is only supported for directory buckets. + """ + +@dataclass(kw_only=True) +class AbortMultipartUploadOutput(_SerdeShape): + """Dataclass for AbortMultipartUploadOutput structure.""" + + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AccelerateConfiguration(_SerdeShape): + """ + Configures the transfer acceleration state for an Amazon S3 bucket. For + more information, see [Amazon S3 Transfer + Acceleration](https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) + in the *Amazon S3 User Guide*. + """ + + status: str | None = ... + """Specifies the transfer acceleration status of the bucket.""" + +@dataclass(kw_only=True) +class AccessControlPolicy(_SerdeShape): + """ + Contains the elements that set the ACL permissions for an object per + grantee. + """ + + grants: list[Grant] | None = ... + """A list of grants.""" + owner: Owner | None = ... + """Container for the bucket owner's display name and ID.""" + +@dataclass(kw_only=True) +class AccessControlTranslation(_SerdeShape): + """A container for information about access control for replicas.""" + + owner: str + """ + Specifies the replica ownership. For default and valid values, see [PUT + bucket + replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) + in the *Amazon S3 API Reference*. + """ + +@dataclass(kw_only=True) +class AccessDenied(ServiceError, _SerdeShape): + """ + You might receive this error for several reasons. For details, see the + description of this API operation. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AnalyticsAndOperator(_SerdeShape): + """ + A conjunction (logical AND) of predicates, which is used in evaluating a + metrics filter. The operator must have at least two predicates in any + combination, and an object must match all of the predicates for the + filter to apply. + """ + + prefix: str | None = ... + """ + The prefix to use when evaluating an AND predicate: The prefix that an + object must have to be included in the metrics results. + """ + tags: list[Tag] | None = ... + """The list of tags to use when evaluating an AND predicate.""" + +@dataclass(kw_only=True) +class AnalyticsConfiguration(_SerdeShape): + """ + Specifies the configuration and any analyses for the analytics filter of + an Amazon S3 bucket. + """ + + id: str + """The ID that identifies the analytics configuration.""" + filter: AnalyticsFilter | None = ... + """ + The filter used to describe a set of objects for analyses. A filter must + have exactly one prefix, one tag, or one conjunction + (AnalyticsAndOperator). If no filter is provided, all objects will be + considered in any analysis. + """ + storage_class_analysis: StorageClassAnalysis + """ + Contains data related to access patterns to be collected and made + available to analyze the tradeoffs between different storage classes. + """ + +@dataclass(kw_only=True) +class AnalyticsExportDestination(_SerdeShape): + """Where to publish the analytics results.""" + + s3_bucket_destination: AnalyticsS3BucketDestination + """A destination signifying output to an S3 bucket.""" + +@dataclass +class AnalyticsFilterPrefix(_SerdeShape): + """The prefix to use when evaluating an analytics filter.""" + + value: str + +@dataclass +class AnalyticsFilterTag(_SerdeShape): + """The tag to use when evaluating an analytics filter.""" + + value: Tag + +@dataclass +class AnalyticsFilterAnd(_SerdeShape): + """ + A conjunction (logical AND) of predicates, which is used in evaluating + an analytics filter. The operator must have at least two predicates. + """ + + value: AnalyticsAndOperator + +@dataclass +class AnalyticsFilterUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +AnalyticsFilter = Union[ + AnalyticsFilterPrefix + | AnalyticsFilterTag + | AnalyticsFilterAnd + | AnalyticsFilterUnknown +] +""" +The filter used to describe a set of objects for analyses. A filter must +have exactly one prefix, one tag, or one conjunction +(AnalyticsAndOperator). If no filter is provided, all objects will be +considered in any analysis. +""" + +class _AnalyticsFilterDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> AnalyticsFilter: ... + +@dataclass(kw_only=True) +class AnalyticsS3BucketDestination(_SerdeShape): + """Contains information about where to publish the analytics results.""" + + format: str + """Specifies the file format used when exporting data to Amazon S3.""" + bucket_account_id: str | None = ... + """ + The account ID that owns the destination S3 bucket. If no account ID is + provided, the owner is not validated before exporting data. + + Note: + Although this value is optional, we strongly recommend that you set it + to help prevent problems if the destination bucket ownership changes. + """ + bucket: str + """The Amazon Resource Name (ARN) of the bucket to which data is exported.""" + prefix: str | None = ... + """ + The prefix to use when exporting data. The prefix is prepended to all + results. + """ + +class AnalyticsS3ExportFileFormat(UnknownEnumMixin, StrEnum): + CSV = "CSV" + +class AnnotationConfigurationState(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class AnnotationDirective(UnknownEnumMixin, StrEnum): + COPY = "COPY" + EXCLUDE = "EXCLUDE" + +@dataclass(kw_only=True) +class AnnotationEntry(_SerdeShape): + """ + Describes a single annotation attached to an object, including its name, + last modified time, size, ETag, checksum algorithm, and replication + status. Returned in the response from `ListObjectAnnotations`. + """ + + annotation_name: str + """The name of the annotation.""" + last_modified: datetime + """The date and time the annotation was last modified.""" + e_tag: str | None = ... + """The entity tag of the annotation.""" + checksum_algorithm: list[str] | None = ... + """The checksum algorithm used for the annotation.""" + size: int + """The size of the annotation payload, in bytes.""" + replication_status: str | None = ... + """The replication status of the annotation.""" + +@dataclass(kw_only=True) +class AnnotationLimitExceeded(ServiceError, _SerdeShape): + """ + The request would exceed the maximum number of annotations allowed per + object. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AnnotationNameTooLong(ServiceError, _SerdeShape): + """The annotation name exceeds 512 bytes.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class AnnotationTableConfiguration(_SerdeShape): + """ + Specifies the configuration for the annotation table associated with a + bucket's Amazon S3 Metadata configuration. The annotation table is an + Iceberg table that records annotation events for objects in the bucket. + """ + + configuration_state: str + """ + The state of the annotation table. Valid values are `ENABLED` and + `DISABLED`. + """ + encryption_configuration: MetadataTableEncryptionConfiguration | None = ... + """ + The encryption settings for an S3 Metadata journal table or inventory + table configuration. + """ + role: str | None = ... + """The ARN of the IAM role used to manage the annotation table.""" + +@dataclass(kw_only=True) +class AnnotationTableConfigurationResult(_SerdeShape): + """ + Contains the current state of the annotation table associated with a + bucket's Amazon S3 Metadata configuration, including its provisioning + status and identifiers. + """ + + configuration_state: str + """The current configuration state of the annotation table.""" + table_status: str | None = ... + """ + The provisioning status of the annotation table. Possible values: + `CREATING`, `BACKFILLING`, `ACTIVE`, `FAILED`. + """ + error: ErrorDetails | None = ... + """ + If an S3 Metadata V1 `CreateBucketMetadataTableConfiguration` or V2 + `CreateBucketMetadataConfiguration` request succeeds, but S3 Metadata + was unable to create the table, this structure contains the error code + and error message. + + Note: + If you created your S3 Metadata configuration before July 15, 2025, we + recommend that you delete and re-create your configuration by using + [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) + so that you can expire journal table records and create a live inventory + table. + """ + table_name: str | None = ... + """The name of the annotation table.""" + table_arn: str | None = ... + """The ARN of the annotation table.""" + role: str | None = ... + """The ARN of the IAM role associated with the annotation table.""" + +@dataclass(kw_only=True) +class AnnotationTableConfigurationUpdates(_SerdeShape): + """ + Specifies updates to apply to the annotation table configuration. Used + as the request body for + `UpdateBucketMetadataAnnotationTableConfiguration`. + """ + + configuration_state: str + """The new configuration state to apply.""" + encryption_configuration: MetadataTableEncryptionConfiguration | None = ... + """ + The encryption settings for an S3 Metadata journal table or inventory + table configuration. + """ + role: str | None = ... + """The new IAM role ARN to apply.""" + +class ArchiveStatus(UnknownEnumMixin, StrEnum): + ARCHIVE_ACCESS = "ARCHIVE_ACCESS" + DEEP_ARCHIVE_ACCESS = "DEEP_ARCHIVE_ACCESS" + +@dataclass(kw_only=True) +class BlockedEncryptionTypes(_SerdeShape): + """ + A bucket-level setting for Amazon S3 general purpose buckets used to + prevent the upload of new objects encrypted with the specified + server-side encryption type. For example, blocking an encryption type + will block `PutObject`, `CopyObject`, `PostObject`, multipart upload, + and replication requests to the bucket for objects with the specified + encryption type. However, you can continue to read and list any + pre-existing objects already encrypted with the specified encryption + type. For more information, see [Blocking or unblocking SSE-C for a + general purpose + bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html). + + This data type is used with the following actions: + + - [PutBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html) + + - [GetBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html) + + - [DeleteBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html) + + Permissions + + : You must have the `s3:PutEncryptionConfiguration` permission to block + or unblock an encryption type for a bucket. + + You must have the `s3:GetEncryptionConfiguration` permission to view a + bucket's encryption type. + """ + + encryption_type: list[str] | None = ... + """ + The object encryption type that you want to block or unblock for an + Amazon S3 general purpose bucket. + + Note: + Currently, this parameter only supports blocking or unblocking server + side encryption with customer-provided keys (SSE-C). For more + information about SSE-C, see [Using server-side encryption with + customer-provided keys + (SSE-C)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html). + """ + +@dataclass(kw_only=True) +class Bucket(_SerdeShape): + """In terms of implementation, a Bucket is a resource.""" + + name: str | None = ... + """The name of the bucket.""" + creation_date: datetime | None = ... + """ + Date the bucket was created. This date can change when making changes to + your bucket, such as editing its bucket policy. + """ + bucket_region: str | None = ... + """ + `BucketRegion` indicates the Amazon Web Services region where the bucket + is located. If the request contains at least one valid parameter, it is + included in the response. + """ + bucket_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify + Amazon Web Services resources across all of Amazon Web Services. + + Note: + This parameter is only supported for S3 directory buckets. For more + information, see [Using tags with directory + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html). + """ + +class BucketAbacStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +class BucketAccelerateStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + SUSPENDED = "Suspended" + +@dataclass(kw_only=True) +class BucketAlreadyExists(ServiceError, _SerdeShape): + """ + The requested bucket name is not available. The bucket namespace is + shared by all users of the system. Select a different name and try + again. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class BucketAlreadyOwnedByYou(ServiceError, _SerdeShape): + """ + The bucket you tried to create already exists, and you own it. Amazon S3 + returns this error in all Amazon Web Services Regions except in the + North Virginia Region. For legacy compatibility, if you re-create an + existing bucket that you already own in the North Virginia Region, + Amazon S3 returns 200 OK and resets the bucket access control lists + (ACLs). + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class BucketCannedACL(UnknownEnumMixin, StrEnum): + PRIVATE = "private" + PUBLIC_READ = "public-read" + PUBLIC_READ_WRITE = "public-read-write" + AUTHENTICATED_READ = "authenticated-read" + +@dataclass(kw_only=True) +class BucketInfo(_SerdeShape): + """ + Specifies the information about the bucket that will be created. For + more information about directory buckets, see [Directory + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is only supported by directory buckets. + """ + + data_redundancy: str | None = ... + """ + The number of Zone (Availability Zone or Local Zone) that's used for + redundancy for the bucket. + """ + type: str | None = ... + """The type of bucket.""" + +@dataclass(kw_only=True) +class BucketLifecycleConfiguration(_SerdeShape): + """ + Specifies the lifecycle configuration for objects in an Amazon S3 + bucket. For more information, see [Object Lifecycle + Management](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) + in the *Amazon S3 User Guide*. + """ + + rules: list[LifecycleRule] + """A lifecycle rule for individual objects in an Amazon S3 bucket.""" + +class BucketLocationConstraint(UnknownEnumMixin, StrEnum): + AF_SOUTH_1 = "af-south-1" + AP_EAST_1 = "ap-east-1" + AP_EAST_2 = "ap-east-2" + AP_NORTHEAST_1 = "ap-northeast-1" + AP_NORTHEAST_2 = "ap-northeast-2" + AP_NORTHEAST_3 = "ap-northeast-3" + AP_SOUTH_1 = "ap-south-1" + AP_SOUTH_2 = "ap-south-2" + AP_SOUTHEAST_1 = "ap-southeast-1" + AP_SOUTHEAST_2 = "ap-southeast-2" + AP_SOUTHEAST_3 = "ap-southeast-3" + AP_SOUTHEAST_4 = "ap-southeast-4" + AP_SOUTHEAST_5 = "ap-southeast-5" + AP_SOUTHEAST_6 = "ap-southeast-6" + AP_SOUTHEAST_7 = "ap-southeast-7" + CA_CENTRAL_1 = "ca-central-1" + CA_WEST_1 = "ca-west-1" + CN_NORTH_1 = "cn-north-1" + CN_NORTHWEST_1 = "cn-northwest-1" + EU = "EU" + EU_CENTRAL_1 = "eu-central-1" + EU_CENTRAL_2 = "eu-central-2" + EU_NORTH_1 = "eu-north-1" + EU_SOUTH_1 = "eu-south-1" + EU_SOUTH_2 = "eu-south-2" + EU_WEST_1 = "eu-west-1" + EU_WEST_2 = "eu-west-2" + EU_WEST_3 = "eu-west-3" + IL_CENTRAL_1 = "il-central-1" + ME_CENTRAL_1 = "me-central-1" + ME_SOUTH_1 = "me-south-1" + MX_CENTRAL_1 = "mx-central-1" + SA_EAST_1 = "sa-east-1" + US_EAST_2 = "us-east-2" + US_GOV_EAST_1 = "us-gov-east-1" + US_GOV_WEST_1 = "us-gov-west-1" + US_WEST_1 = "us-west-1" + US_WEST_2 = "us-west-2" + +@dataclass(kw_only=True) +class BucketLoggingStatus(_SerdeShape): + """Container for logging status information.""" + + logging_enabled: LoggingEnabled | None = ... + """ + Describes where logs are stored and the prefix that Amazon S3 assigns to + all log object keys for a bucket. For more information, see [PUT Bucket + logging](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html) + in the *Amazon S3 API Reference*. + """ + +class BucketLogsPermission(UnknownEnumMixin, StrEnum): + FULL_CONTROL = "FULL_CONTROL" + READ = "READ" + WRITE = "WRITE" + +class BucketNamespace(UnknownEnumMixin, StrEnum): + ACCOUNT_REGIONAL = "account-regional" + GLOBAL_ = "global" + +class BucketType(UnknownEnumMixin, StrEnum): + DIRECTORY = "Directory" + +class BucketVersioningStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + SUSPENDED = "Suspended" + +@dataclass(kw_only=True) +class Checksum(_SerdeShape): + """Contains all the possible checksum or digest values for an object.""" + + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32 checksum` of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use an API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the object. This + checksum is only present if the checksum was uploaded with the object. + When you use an API operation on an object that was uploaded using + multipart uploads, this value may not be a direct checksum value of the + full object. Instead, it's a calculation based on the checksum values + of each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. This + checksum is present if the object was uploaded with the `CRC64NVME` + checksum algorithm, or if the object was uploaded without a checksum + (and Amazon S3 added the default checksum, `CRC64NVME`, to the uploaded + object). For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use the API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use an API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the object. This checksum + is present if the object was uploaded with the `SHA512` checksum + algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the object. This checksum is + present if the object was uploaded with the `MD5` checksum algorithm. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the object. This + checksum is present if the object was uploaded with the `XXHASH64` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the object. This + checksum is present if the object was uploaded with the `XXHASH3` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the object. This + checksum is present if the object was uploaded with the `XXHASH128` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_type: str | None = ... + """ + The checksum type that is used to calculate the object's checksum value. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + +class ChecksumAlgorithm(UnknownEnumMixin, StrEnum): + CRC32 = "CRC32" + CRC32_C = "CRC32C" + SHA1 = "SHA1" + SHA256 = "SHA256" + CRC64_NVME = "CRC64NVME" + SHA512 = "SHA512" + MD5 = "MD5" + XXHASH64 = "XXHASH64" + XXHASH3 = "XXHASH3" + XXHASH128 = "XXHASH128" + +class ChecksumMode(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + +class ChecksumType(UnknownEnumMixin, StrEnum): + COMPOSITE = "COMPOSITE" + FULL_OBJECT = "FULL_OBJECT" + +@dataclass(kw_only=True) +class CommonPrefix(_SerdeShape): + """ + Container for all (if there are any) keys between Prefix and the next + occurrence of the string specified by a delimiter. CommonPrefixes lists + keys that act like subdirectories in the directory specified by Prefix. + For example, if the prefix is notes/ and the delimiter is a slash (/) as + in notes/summer/july, the common prefix is notes/summer/. + """ + + prefix: str | None = ... + """Container for the specified common prefix.""" + +@dataclass(kw_only=True) +class CompletedMultipartUpload(_SerdeShape): + """The container for the completed multipart upload details.""" + + parts: list[CompletedPart] | None = ... + """ + Array of CompletedPart data types. + + If you do not supply a valid `Part` with your request, the service sends + back an HTTP 400 response. + """ + +@dataclass(kw_only=True) +class CompletedPart(_SerdeShape): + """Details of the parts that were uploaded.""" + + e_tag: str | None = ... + """Entity tag returned when the part was uploaded.""" + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum + is present if the multipart upload request was created with the `CRC32` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the part. This checksum + is present if the multipart upload request was created with the `CRC32C` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This + checksum is present if the multipart upload request was created with the + `CRC64NVME` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` checksum of the part. This checksum + is present if the multipart upload request was created with the `SHA1` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` checksum of the part. This checksum + is present if the multipart upload request was created with the `SHA256` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the part. This checksum + is present if the multipart upload request was created with the `SHA512` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the part. This checksum is + present if the multipart upload request was created with the `MD5` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This + checksum is present if the multipart upload request was created with the + `XXHASH64` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This checksum + is present if the multipart upload request was created with the + `XXHASH3` checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This + checksum is present if the multipart upload request was created with the + `XXHASH128` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + part_number: int | None = ... + """ + Part number that identifies the part. This is a positive integer between + 1 and 10,000. + + Note: + - **General purpose buckets** - In `CompleteMultipartUpload`, when a + additional checksum (including `x-amz-checksum-crc32`, + `x-amz-checksum-crc32c`, `x-amz-checksum-sha1`, or + `x-amz-checksum-sha256`) is applied to each part, the `PartNumber` + must start at 1 and the part numbers must be consecutive. Otherwise, + Amazon S3 generates an HTTP `400 Bad Request` status code and an + `InvalidPartOrder` error code. + + - **Directory buckets** - In `CompleteMultipartUpload`, the `PartNumber` + must start at 1 and the part numbers must be consecutive. + """ + +@dataclass(kw_only=True) +class CompleteMultipartUploadInput(_SerdeShape): + """Dataclass for CompleteMultipartUploadInput structure.""" + + bucket: str | None = ... + """ + Name of the bucket to which the multipart upload was initiated. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """Object key for which the multipart upload was initiated.""" + multipart_upload: CompletedMultipartUpload | None = ... + """The container for the multipart upload request information.""" + upload_id: str | None = ... + """ID for the initiated multipart upload.""" + checksum_crc32: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. + The `CRC64NVME` checksum is always a full object checksum. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_sha1: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 512-bit `SHA512` digest of the object. For + more information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_md5: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 128-bit `MD5` digest of the object. For + more information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash64: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `XXHASH64` checksum of the object. + For more information, see [Checking object integrity in the Amazon S3 + User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash3: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `XXHASH3` checksum of the object. + For more information, see [Checking object integrity in the Amazon S3 + User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash128: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 128-bit `XXHASH128` checksum of the + object. For more information, see [Checking object integrity in the + Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_type: str | None = ... + """ + This header specifies the checksum type of the object, which determines + how part-level checksums are combined to create an object-level checksum + for multipart objects. You can use this header as a data integrity check + to verify that the checksum type that is received is the same checksum + that was specified. If the checksum type doesn't match the checksum type + that was specified for the object during the `CreateMultipartUpload` + request, it'll result in a `BadDigest` error. For more information, see + Checking object integrity in the Amazon S3 User Guide. + """ + mpu_object_size: int | None = ... + """ + The expected total object size of the multipart upload request. If + there's a mismatch between the specified object size value and the + actual object size value, it results in an `HTTP 400 InvalidRequest` + error. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + if_match: str | None = ... + """ + Uploads the object only if the ETag (entity tag) value provided during + the WRITE operation matches the ETag of the object in S3. If the ETag + values do not match, the operation returns a `412 Precondition Failed` + error. + + If a conflicting operation occurs during the upload S3 returns a + `409 ConditionalRequestConflict` response. On a 409 failure you should + fetch the object's ETag, re-initiate the multipart upload with + `CreateMultipartUpload`, and re-upload each part. + + Expects the ETag value as a string. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232), or [Conditional + requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html) + in the *Amazon S3 User Guide*. + """ + if_none_match: str | None = ... + """ + Uploads the object only if the object key name does not already exist in + the bucket specified. Otherwise, Amazon S3 returns a + `412 Precondition Failed` error. + + If a conflicting operation occurs during the upload S3 returns a + `409 ConditionalRequestConflict` response. On a 409 failure you should + re-initiate the multipart upload with `CreateMultipartUpload` and + re-upload each part. + + Expects the '*' (asterisk) character. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232), or [Conditional + requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html) + in the *Amazon S3 User Guide*. + """ + sse_customer_algorithm: str | None = ... + """ + The server-side encryption (SSE) algorithm used to encrypt the object. + This parameter is required only when the object was created using a + checksum algorithm or if your bucket policy requires the use of SSE-C. + For more information, see [Protecting data using SSE-C + keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html#ssec-require-condition-key) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key: str | None = ... + """ + The server-side encryption (SSE) customer managed key. This parameter is + needed only when the object was created using a checksum algorithm. For + more information, see [Protecting data using SSE-C + keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + The MD5 server-side encryption (SSE) customer managed key. This + parameter is needed only when the object was created using a checksum + algorithm. For more information, see [Protecting data using SSE-C + keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + +@dataclass(kw_only=True) +class CompleteMultipartUploadOutput(_SerdeShape): + """Dataclass for CompleteMultipartUploadOutput structure.""" + + location: str | None = ... + """The URI that identifies the newly created object.""" + bucket: str | None = ... + """ + The name of the bucket that contains the newly created object. Does not + return the access point ARN or access point alias if used. + + Note: + Access points are not supported by directory buckets. + """ + key: str | None = ... + """The object key of the newly created object.""" + expiration: str | None = ... + """ + If the object expiration is configured, this will contain the expiration + date (`expiry-date`) and rule ID (`rule-id`). The value of `rule-id` is + URL-encoded. + + Note: + This functionality is not supported for directory buckets. + """ + e_tag: str | None = ... + """ + Entity tag that identifies the newly created object's data. Objects + with different object data will have different entity tags. The entity + tag is an opaque string. The entity tag may or may not be an MD5 digest + of the object data. If the entity tag is not an MD5 digest of the object + data, it will contain one or more nonhexadecimal characters and/or will + consist of less than 32 or more than 32 hexadecimal digits. For more + information about how the entity tag is calculated, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32 checksum` of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use an API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the object. This + checksum is only present if the checksum was uploaded with the object. + When you use an API operation on an object that was uploaded using + multipart uploads, this value may not be a direct checksum value of the + full object. Instead, it's a calculation based on the checksum values + of each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. + The `CRC64NVME` checksum is always a full object checksum. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use the API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use an API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_type: str | None = ... + """ + The checksum type, which determines how part-level checksums are + combined to create an object-level checksum for multipart objects. You + can use this header as a data integrity check to verify that the + checksum type that is received is the same checksum type that was + specified during the `CreateMultipartUpload` request. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when storing this object in + Amazon S3. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + version_id: str | None = ... + """ + Version ID of the newly created object, in case the bucket has + versioning turned on. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + If present, indicates the ID of the KMS key that was used for object + encryption. + """ + bucket_key_enabled: bool | None = ... + """ + Indicates whether the multipart upload uses an S3 Bucket Key for + server-side encryption with Key Management Service (KMS) keys (SSE-KMS). + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class CompressionType(UnknownEnumMixin, StrEnum): + NONE = "NONE" + GZIP = "GZIP" + BZIP2 = "BZIP2" + +@dataclass(kw_only=True) +class Condition(_SerdeShape): + """ + A container for describing a condition that must be met for the + specified redirect to apply. For example, 1. If request is for pages in + the `/docs` folder, redirect to the `/documents` folder. 2. If request + results in HTTP error 4xx, redirect request to another host where you + might process the error. + """ + + http_error_code_returned_equals: str | None = ... + """ + The HTTP error code when the redirect is applied. In the event of an + error, if the error code equals this value, then the specified redirect + is applied. Required when parent element `Condition` is specified and + sibling `KeyPrefixEquals` is not specified. If both are specified, then + both must be true for the redirect to be applied. + """ + key_prefix_equals: str | None = ... + """ + The object key name prefix when the redirect is applied. For example, to + redirect requests for `ExamplePage.html`, the key prefix will be + `ExamplePage.html`. To redirect request for all pages with the prefix + `docs/`, the key prefix will be `/docs`, which identifies all objects in + the `docs/` folder. Required when the parent element `Condition` is + specified and sibling `HttpErrorCodeReturnedEquals` is not specified. If + both conditions are specified, both must be true for the redirect to be + applied. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + +@dataclass(kw_only=True) +class ContinuationEvent(_SerdeShape): + """""" + +@dataclass(kw_only=True) +class CopyObjectInput(_SerdeShape): + """Dataclass for CopyObjectInput structure.""" + + acl: str | None = ... + """ + The canned access control list (ACL) to apply to the object. + + When you copy an object, the ACL metadata is not preserved and is set to + `private` by default. Only the owner has full access control. To + override the default ACL setting, specify a new ACL when you generate a + copy request. For more information, see [Using + ACLs](https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html). + + If the destination bucket that you're copying objects to uses the + bucket owner enforced setting for S3 Object Ownership, ACLs are disabled + and no longer affect permissions. Buckets that use this setting only + accept `PUT` requests that don't specify an ACL or `PUT` requests that + specify bucket owner full control ACLs, such as the + `bucket-owner-full-control` canned ACL or an equivalent form of this ACL + expressed in the XML format. For more information, see [Controlling + ownership of objects and disabling + ACLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) + in the *Amazon S3 User Guide*. + + Note: + - If your destination bucket uses the bucket owner enforced setting for + Object Ownership, all objects written to the bucket by any account + will be owned by the bucket owner. + + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + bucket: str | None = ... + """ + The name of the destination bucket. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + Note: + Copying objects across different Amazon Web Services Regions isn't + supported when the source or destination bucket is in Amazon Web + Services Local Zones. The source and destination buckets must have the + same parent Amazon Web Services Region. Otherwise, you get an HTTP + `400 Bad Request` error with the error code `InvalidRequest`. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must use the Outpost bucket access point ARN or the access point alias + for the destination bucket. You can only copy objects within the same + Outpost bucket. It's not supported to copy objects across different + Amazon Web Services Outposts, between buckets on the same Outposts, or + between Outposts buckets and any other bucket types. For more + information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *S3 on Outposts guide*. When you use this action with S3 on + Outposts through the REST API, you must direct requests to the S3 on + Outposts hostname, in the format + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + The hostname isn't required when you use the Amazon Web Services CLI or + SDKs. + """ + cache_control: str | None = ... + """Specifies the caching behavior along the request/reply chain.""" + checksum_algorithm: str | None = ... + """ + Indicates the algorithm that you want Amazon S3 to use to create the + checksum for the object. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + When you copy an object, if the source object has a checksum, that + checksum value will be copied to the new object by default. If the + `CopyObject` request does not include this `x-amz-checksum-algorithm` + header, the checksum algorithm will be copied from the source object to + the destination object (if it's present on the source object). You can + optionally specify a different checksum algorithm to use with the + `x-amz-checksum-algorithm` header. Unrecognized or unsupported values + will respond with the HTTP status code `400 Bad Request`. + + Note: + For directory buckets, when you use Amazon Web Services SDKs, `CRC32` is + the default checksum algorithm that's used for performance. + """ + content_disposition: str | None = ... + """ + Specifies presentational information for the object. Indicates whether + an object should be displayed in a web browser or downloaded as a file. + It allows specifying the desired filename for the downloaded file. + """ + content_encoding: str | None = ... + """ + Specifies what content encodings have been applied to the object and + thus what decoding mechanisms must be applied to obtain the media-type + referenced by the Content-Type header field. + + Note: + For directory buckets, only the `aws-chunked` value is supported in this + header field. + """ + content_language: str | None = ... + """The language the content is in.""" + content_type: str | None = ... + """A standard MIME type that describes the format of the object data.""" + copy_source: str | None = ... + """ + Specifies the source object for the copy operation. The source object + can be up to 5 GB. If the source object is an object that was uploaded + by using a multipart upload, the object copy will be a single part + object after the source object is copied to the destination bucket. + + You specify the value of the copy source in one of two formats, + depending on whether you want to access the source object through an + [access + point](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html): + + - For objects not accessed through an access point, specify the name of + the source bucket and the key of the source object, separated by a + slash (/). For example, to copy the object `reports/january.pdf` from + the general purpose bucket `awsexamplebucket`, use + `awsexamplebucket/reports/january.pdf`. The value must be URL-encoded. + To copy the object `reports/january.pdf` from the directory bucket + `awsexamplebucket--use1-az5--x-s3`, use + `awsexamplebucket--use1-az5--x-s3/reports/january.pdf`. The value must + be URL-encoded. + + - For objects accessed through access points, specify the Amazon + Resource Name (ARN) of the object as accessed through the access + point, in the format + `arn:aws:s3:```{=html}`:```{=html}`:accesspoint/```{=html}`/object/```{=html}. + For example, to copy the object `reports/january.pdf` through access + point `my-access-point` owned by account `123456789012` in Region + `us-west-2`, use the URL encoding of + `arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf`. + The value must be URL encoded. + + Note: + - Amazon S3 supports copy operations using Access points only when the + source and destination buckets are in the same Amazon Web Services + Region. + + - Access points are not supported by directory buckets. + + Alternatively, for objects accessed through Amazon S3 on Outposts, + specify the ARN of the object as accessed in the format + `arn:aws:s3-outposts:```{=html}`:```{=html}`:outpost/```{=html}`/object/```{=html}. + For example, to copy the object `reports/january.pdf` through outpost + `my-outpost` owned by account `123456789012` in Region `us-west-2`, + use the URL encoding of + `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`. + The value must be URL-encoded. + + If your source bucket versioning is enabled, the `x-amz-copy-source` + header by default identifies the current version of an object to copy. + If the current version is a delete marker, Amazon S3 behaves as if the + object was deleted. To copy a different version, use the `versionId` + query parameter. Specifically, append `?versionId=```{=html} + to the value (for example, + `awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893`). + If you don't specify a version ID, Amazon S3 copies the latest version + of the source object. + + If you enable versioning on the destination bucket, Amazon S3 generates + a unique version ID for the copied object. This version ID is different + from the version ID of the source object. Amazon S3 returns the version + ID of the copied object in the `x-amz-version-id` response header in the + response. + + If you do not enable versioning or suspend it on the destination bucket, + the version ID that Amazon S3 generates in the `x-amz-version-id` + response header is always null. + + Note: + **Directory buckets** - S3 Versioning isn't enabled and supported for + directory buckets. + """ + copy_source_if_match: str | None = ... + """ + Copies the object if its entity tag (ETag) matches the specified tag. + + If both the `x-amz-copy-source-if-match` and + `x-amz-copy-source-if-unmodified-since` headers are present in the + request and evaluate as follows, Amazon S3 returns `200 OK` and copies + the data: + + - `x-amz-copy-source-if-match` condition evaluates to true + + - `x-amz-copy-source-if-unmodified-since` condition evaluates to false + """ + copy_source_if_modified_since: datetime | None = ... + """ + Copies the object if it has been modified since the specified time. + + If both the `x-amz-copy-source-if-none-match` and + `x-amz-copy-source-if-modified-since` headers are present in the request + and evaluate as follows, Amazon S3 returns the `412 Precondition Failed` + response code: + + - `x-amz-copy-source-if-none-match` condition evaluates to false + + - `x-amz-copy-source-if-modified-since` condition evaluates to true + """ + copy_source_if_none_match: str | None = ... + """ + Copies the object if its entity tag (ETag) is different than the + specified ETag. + + If both the `x-amz-copy-source-if-none-match` and + `x-amz-copy-source-if-modified-since` headers are present in the request + and evaluate as follows, Amazon S3 returns the `412 Precondition Failed` + response code: + + - `x-amz-copy-source-if-none-match` condition evaluates to false + + - `x-amz-copy-source-if-modified-since` condition evaluates to true + """ + copy_source_if_unmodified_since: datetime | None = ... + """ + Copies the object if it hasn't been modified since the specified time. + + If both the `x-amz-copy-source-if-match` and + `x-amz-copy-source-if-unmodified-since` headers are present in the + request and evaluate as follows, Amazon S3 returns `200 OK` and copies + the data: + + - `x-amz-copy-source-if-match` condition evaluates to true + + - `x-amz-copy-source-if-unmodified-since` condition evaluates to false + """ + expires: str | None = ... + """The date and time at which the object is no longer cacheable.""" + grant_full_control: str | None = ... + """ + Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the + object. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + grant_read: str | None = ... + """ + Allows grantee to read the object data and its metadata. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + grant_read_acp: str | None = ... + """ + Allows grantee to read the object ACL. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + grant_write_acp: str | None = ... + """ + Allows grantee to write the ACL for the applicable object. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + if_match: str | None = ... + """ + Copies the object if the entity tag (ETag) of the destination object + matches the specified tag. If the ETag values do not match, the + operation returns a `412 Precondition Failed` error. If a concurrent + operation occurs during the upload S3 returns a + `409 ConditionalRequestConflict` response. On a 409 failure you should + fetch the object's ETag and retry the upload. + + Expects the ETag value as a string. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + if_none_match: str | None = ... + """ + Copies the object only if the object key name at the destination does + not already exist in the bucket specified. Otherwise, Amazon S3 returns + a `412 Precondition Failed` error. If a concurrent operation occurs + during the upload S3 returns a `409 ConditionalRequestConflict` + response. On a 409 failure you should retry the upload. + + Expects the '*' (asterisk) character. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + key: str | None = ... + """The key of the destination object.""" + metadata: dict[str, str] | None = ... + """A map of metadata to store with the object in S3.""" + metadata_directive: str | None = ... + """ + Specifies whether the metadata is copied from the source object or + replaced with metadata that's provided in the request. When copying an + object, you can preserve all metadata (the default) or specify new + metadata. If this header isn't specified, `COPY` is the default + behavior. + + **General purpose bucket** - For general purpose buckets, when you grant + permissions, you can use the `s3:x-amz-metadata-directive` condition key + to enforce certain metadata behavior when objects are uploaded. For more + information, see [Amazon S3 condition key + examples](https://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html) + in the *Amazon S3 User Guide*. + + Note: + `x-amz-website-redirect-location` is unique to each object and is not + copied when using the `x-amz-metadata-directive` header. To copy the + value, you must specify `x-amz-website-redirect-location` in the request + header. + """ + tagging_directive: str | None = ... + """ + Specifies whether the object tag-set is copied from the source object or + replaced with the tag-set that's provided in the request. + + The default value is `COPY`. + + Note: + **Directory buckets** - For directory buckets in a `CopyObject` + operation, only the empty tag-set is supported. Any requests that + attempt to write non-empty tags into directory buckets will receive a + `501 Not Implemented` status code. When the destination bucket is a + directory bucket, you will receive a `501 Not Implemented` response in + any of the following situations: + + - When you attempt to `COPY` the tag-set from an S3 source object that + has non-empty tags. + + - When you attempt to `REPLACE` the tag-set of a source object and set a + non-empty value to `x-amz-tagging`. + + - When you don't set the `x-amz-tagging-directive` header and the + source object has non-empty tags. This is because the default value of + `x-amz-tagging-directive` is `COPY`. + + Because only the empty tag-set is supported for directory buckets in a + `CopyObject` operation, the following situations are allowed: + + - When you attempt to `COPY` the tag-set from a directory bucket source + object that has no tags to a general purpose bucket. It copies an + empty tag-set to the destination object. + + - When you attempt to `REPLACE` the tag-set of a directory bucket source + object and set the `x-amz-tagging` value of the directory bucket + destination object to empty. + + - When you attempt to `REPLACE` the tag-set of a general purpose bucket + source object that has non-empty tags and set the `x-amz-tagging` + value of the directory bucket destination object to empty. + + - When you attempt to `REPLACE` the tag-set of a directory bucket source + object and don't set the `x-amz-tagging` value of the directory + bucket destination object. This is because the default value of + `x-amz-tagging` is the empty value. + """ + annotation_directive: str | None = ... + """ + Specifies whether you want to copy annotations from the source object or + exclude them. If this header isn't specified, `COPY` is the default + behavior. + + Valid Values: `COPY | EXCLUDE` + + You can specify this directive as either an HTTP header + (`x-amz-object-annotation-directive`) or as a query string parameter. + Use the query string form when generating presigned URLs that need to + control annotation copy behavior. + + When set to `COPY`, you must have `s3:GetObjectAnnotation` permission on + the source object and `s3:PutObjectAnnotation` permission on the + destination. Each annotation copied is billed as a separate PUT request. + If annotations on the source are modified during the copy, Amazon S3 + returns a retryable error. + + Note: + For directory buckets, annotations are not supported. Use `EXCLUDE` to + copy objects to directory buckets without errors. If you specify `COPY` + for a directory bucket, the request returns HTTP 501 (Not Implemented). + Note: + When you copy objects using multipart upload (for example, when the + Amazon Web Services CLI or Amazon Web Services SDKs use Transfer Manager + for objects larger than approximately 8 MB), annotations are not copied + by default. To include annotations, specify `--copy-props default` in + the Amazon Web Services CLI or the equivalent SDK configuration. With + this opt-in, the SDK reads source annotations, completes the multipart + upload, and then writes each annotation to the destination. Between the + upload completion and the last annotation write, the destination object + exists without all its annotations. + """ + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when storing this object in + Amazon S3. Unrecognized or unsupported values won't write a destination + object and will receive a `400 Bad Request` response. + + Amazon S3 automatically encrypts all new objects that are copied to an + S3 bucket. When copying an object, if you don't specify encryption + information in your copy request, the encryption setting of the target + object is set to the default encryption configuration of the destination + bucket. By default, all buckets have a base level of encryption + configuration that uses server-side encryption with Amazon S3 managed + keys (SSE-S3). If the destination bucket has a different default + encryption configuration, Amazon S3 uses the corresponding encryption + key to encrypt the target object copy. + + With server-side encryption, Amazon S3 encrypts your data as it writes + your data to disks in its data centers and decrypts the data when you + access it. For more information about server-side encryption, see [Using + Server-Side + Encryption](https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) + in the *Amazon S3 User Guide*. + + **General purpose buckets** + + - For general purpose buckets, there are the following supported options + for server-side encryption: server-side encryption with Key Management + Service (KMS) keys (SSE-KMS), dual-layer server-side encryption with + Amazon Web Services KMS keys (DSSE-KMS), and server-side encryption + with customer-provided encryption keys (SSE-C). Amazon S3 uses the + corresponding KMS key, or a customer-provided key to encrypt the + target object copy. + + - When you perform a `CopyObject` operation, if you want to use a + different type of encryption setting for the target object, you can + specify appropriate encryption-related headers to encrypt the target + object with an Amazon S3 managed key, a KMS key, or a + customer-provided key. If the encryption setting in your request is + different from the default encryption configuration of the destination + bucket, the encryption setting in your request takes precedence. + + **Directory buckets** + + - For directory buckets, there are only two supported options for + server-side encryption: server-side encryption with Amazon S3 managed + keys (SSE-S3) (`AES256`) and server-side encryption with KMS keys + (SSE-KMS) (`aws:kms`). We recommend that the bucket's default + encryption uses the desired encryption configuration and you don't + override the bucket default encryption in your `CreateSession` + requests or `PUT` object requests. Then, new objects are automatically + encrypted with the desired encryption settings. For more information, + see [Protecting data with server-side + encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html) + in the *Amazon S3 User Guide*. For more information about the + encryption overriding behaviors in directory buckets, see [Specifying + server-side encryption with KMS for new object + uploads](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html). + + - To encrypt new object copies to a directory bucket with SSE-KMS, we + recommend you specify SSE-KMS as the directory bucket's default + encryption configuration with a KMS key (specifically, a [customer + managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk)). + The [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) + (`aws/s3`) isn't supported. Your SSE-KMS configuration can only + support 1 [customer managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) + per directory bucket for the lifetime of the bucket. After you specify + a customer managed key for SSE-KMS, you can't override the customer + managed key for the bucket's SSE-KMS configuration. Then, when you + perform a `CopyObject` operation and want to specify server-side + encryption settings for new object copies with SSE-KMS in the + encryption-related request headers, you must ensure the encryption key + is the same customer managed key that you specified for the directory + bucket's default encryption configuration. + + - **S3 access points for Amazon FSx** - When accessing data stored in + Amazon FSx file systems using S3 access points, the only valid server + side encryption option is `aws:fsx`. All Amazon FSx file systems have + encryption configured by default and are encrypted at rest. Data is + automatically encrypted before being written to the file system, and + automatically decrypted as it is read. These processes are handled + transparently by Amazon FSx. + """ + storage_class: str | None = ... + """ + If the `x-amz-storage-class` header is not used, the copied object will + be stored in the `STANDARD` Storage Class by default. The `STANDARD` + storage class provides high durability and high availability. Depending + on performance needs, you can specify a different Storage Class. + + Note: + - **Directory buckets** - Directory buckets only support + `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in + Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent Access + storage class) in Dedicated Local Zones. Unsupported storage class + values won't write a destination object and will respond with the + HTTP status code `400 Bad Request`. + + - **Amazon S3 on Outposts** - S3 on Outposts only uses the `OUTPOSTS` + Storage Class. + + You can use the `CopyObject` action to change the storage class of an + object that is already stored in Amazon S3 by using the + `x-amz-storage-class` header. For more information, see [Storage + Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) + in the *Amazon S3 User Guide*. + + Before using an object as a source object for the copy operation, you + must restore a copy of it if it meets any of the following conditions: + + - The storage class of the source object is `GLACIER` or `DEEP_ARCHIVE`. + + - The storage class of the source object is `INTELLIGENT_TIERING` and + it's [S3 Intelligent-Tiering access + tier](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intelligent-tiering-overview.html#intel-tiering-tier-definition) + is `Archive Access` or `Deep Archive Access`. + + For more information, see + [RestoreObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html) + and [Copying + Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html) + in the *Amazon S3 User Guide*. + """ + website_redirect_location: str | None = ... + """ + If the destination bucket is configured as a website, redirects requests + for this object copy to another object in the same bucket or to an + external URL. Amazon S3 stores the value of this header in the object + metadata. This value is unique to each object and is not copied when + using the `x-amz-metadata-directive` header. Instead, you may opt to + provide this header in combination with the `x-amz-metadata-directive` + header. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when encrypting the object (for example, + `AES256`). + + When you perform a `CopyObject` operation, if you want to use a + different type of encryption setting for the target object, you can + specify appropriate encryption-related headers to encrypt the target + object with an Amazon S3 managed key, a KMS key, or a customer-provided + key. If the encryption setting in your request is different from the + default encryption configuration of the destination bucket, the + encryption setting in your request takes precedence. + + Note: + This functionality is not supported when the destination bucket is a + directory bucket. + """ + sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key for Amazon S3 to use in + encrypting data. This value is used to store the object and then it is + discarded. Amazon S3 does not store the encryption key. The key must be + appropriate for use with the algorithm specified in the + `x-amz-server-side-encryption-customer-algorithm` header. + + Note: + This functionality is not supported when the destination bucket is a + directory bucket. + """ + sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the encryption key according to RFC + 1321. Amazon S3 uses this header for a message integrity check to ensure + that the encryption key was transmitted without error. + + Note: + This functionality is not supported when the destination bucket is a + directory bucket. + """ + ssekms_key_id: str | None = ... + """ + Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for + object encryption. All GET and PUT requests for an object protected by + KMS will fail if they're not made via SSL or using SigV4. For + information about configuring any of the officially supported Amazon Web + Services SDKs and Amazon Web Services CLI, see [Specifying the Signature + Version in Request + Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version) + in the *Amazon S3 User Guide*. + + **Directory buckets** - To encrypt data using SSE-KMS, it's recommended + to specify the `x-amz-server-side-encryption` header to `aws:kms`. Then, + the `x-amz-server-side-encryption-aws-kms-key-id` header implicitly uses + the bucket's default KMS customer managed key ID. If you want to + explicitly set the ` x-amz-server-side-encryption-aws-kms-key-id` + header, it must match the bucket's default customer managed key (using + key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 + [customer managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) + per directory bucket's lifetime. The [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) + (`aws/s3`) isn't supported. Incorrect key specification results in an + HTTP `400 Bad Request` error. + """ + ssekms_encryption_context: str | None = ... + """ + Specifies the Amazon Web Services KMS Encryption Context as an + additional encryption context to use for the destination object + encryption. The value of this header is a base64-encoded UTF-8 string + holding JSON with the encryption context key-value pairs. + + **General purpose buckets** - This value must be explicitly added to + specify encryption context for `CopyObject` requests if you want an + additional encryption context for your destination object. The + additional encryption context of the source object won't be copied to + the destination object. For more information, see [Encryption + context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) + in the *Amazon S3 User Guide*. + + **Directory buckets** - You can optionally provide an explicit + encryption context value. The value must match the default encryption + context - the bucket Amazon Resource Name (ARN). An additional + encryption context value is not supported. + """ + bucket_key_enabled: bool | None = ... + """ + Specifies whether Amazon S3 should use an S3 Bucket Key for object + encryption with server-side encryption using Key Management Service + (KMS) keys (SSE-KMS). If a target object uses SSE-KMS, you can enable an + S3 Bucket Key for the object. + + Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key + for object encryption with SSE-KMS. Specifying this header with a COPY + action doesn't affect bucket-level settings for S3 Bucket Key. + + For more information, see [Amazon S3 Bucket + Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) + in the *Amazon S3 User Guide*. + + Note: + **Directory buckets** - S3 Bucket Keys aren't supported, when you copy + SSE-KMS encrypted objects from general purpose buckets to directory + buckets, from directory buckets to general purpose buckets, or between + directory buckets, through + [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html). + In this case, Amazon S3 makes a call to KMS every time a copy request is + made for a KMS-encrypted object. + """ + copy_source_sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when decrypting the source object (for + example, `AES256`). + + If the source object for the copy is stored in Amazon S3 using SSE-C, + you must provide the necessary encryption information in your request so + that Amazon S3 can decrypt the object for copying. + + Note: + This functionality is not supported when the source object is in a + directory bucket. + """ + copy_source_sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key for Amazon S3 to use to + decrypt the source object. The encryption key provided in this header + must be the same one that was used when the source object was created. + + If the source object for the copy is stored in Amazon S3 using SSE-C, + you must provide the necessary encryption information in your request so + that Amazon S3 can decrypt the object for copying. + + Note: + This functionality is not supported when the source object is in a + directory bucket. + """ + copy_source_sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the encryption key according to RFC + 1321. Amazon S3 uses this header for a message integrity check to ensure + that the encryption key was transmitted without error. + + If the source object for the copy is stored in Amazon S3 using SSE-C, + you must provide the necessary encryption information in your request so + that Amazon S3 can decrypt the object for copying. + + Note: + This functionality is not supported when the source object is in a + directory bucket. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + tagging: str | None = ... + """ + The tag-set for the object copy in the destination bucket. This value + must be used in conjunction with the `x-amz-tagging-directive` if you + choose `REPLACE` for the `x-amz-tagging-directive`. If you choose `COPY` + for the `x-amz-tagging-directive`, you don't need to set the + `x-amz-tagging` header, because the tag-set will be copied from the + source object directly. The tag-set must be encoded as URL Query + parameters. + + The default value is the empty value. + + Note: + **Directory buckets** - For directory buckets in a `CopyObject` + operation, only the empty tag-set is supported. Any requests that + attempt to write non-empty tags into directory buckets will receive a + `501 Not Implemented` status code. When the destination bucket is a + directory bucket, you will receive a `501 Not Implemented` response in + any of the following situations: + + - When you attempt to `COPY` the tag-set from an S3 source object that + has non-empty tags. + + - When you attempt to `REPLACE` the tag-set of a source object and set a + non-empty value to `x-amz-tagging`. + + - When you don't set the `x-amz-tagging-directive` header and the + source object has non-empty tags. This is because the default value of + `x-amz-tagging-directive` is `COPY`. + + Because only the empty tag-set is supported for directory buckets in a + `CopyObject` operation, the following situations are allowed: + + - When you attempt to `COPY` the tag-set from a directory bucket source + object that has no tags to a general purpose bucket. It copies an + empty tag-set to the destination object. + + - When you attempt to `REPLACE` the tag-set of a directory bucket source + object and set the `x-amz-tagging` value of the directory bucket + destination object to empty. + + - When you attempt to `REPLACE` the tag-set of a general purpose bucket + source object that has non-empty tags and set the `x-amz-tagging` + value of the directory bucket destination object to empty. + + - When you attempt to `REPLACE` the tag-set of a directory bucket source + object and don't set the `x-amz-tagging` value of the directory + bucket destination object. This is because the default value of + `x-amz-tagging` is the empty value. + """ + object_lock_mode: str | None = ... + """ + The Object Lock mode that you want to apply to the object copy. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_retain_until_date: datetime | None = ... + """ + The date and time when you want the Object Lock of the object copy to + expire. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_legal_hold_status: str | None = ... + """ + Specifies whether you want to apply a legal hold to the object copy. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold: str | None = ... + """ + The event hold status to apply to the object copy. Set to `ON` to enable + or `OFF` to disable. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_days: int | None = ... + """ + The event hold duration in days to apply to the object copy. You cannot + specify a duration in both days and years. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_years: int | None = ... + """ + The event hold duration in years to apply to the object copy. You cannot + specify a duration in both days and years. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected destination bucket owner. If the account + ID that you provide does not match the actual owner of the destination + bucket, the request fails with the HTTP status code `403 Forbidden` + (access denied). + """ + expected_source_bucket_owner: str | None = ... + """ + The account ID of the expected source bucket owner. If the account ID + that you provide does not match the actual owner of the source bucket, + the request fails with the HTTP status code `403 Forbidden` (access + denied). + """ + +@dataclass(kw_only=True) +class CopyObjectOutput(_SerdeShape): + """Dataclass for CopyObjectOutput structure.""" + + copy_object_result: CopyObjectResult | None = ... + """Container for all response elements.""" + expiration: str | None = ... + """ + If the object expiration is configured, the response includes this + header. + + Note: + Object expiration information is not returned in directory buckets and + this header returns the value \"`NotImplemented`\" in all responses for + directory buckets. + """ + copy_source_version_id: str | None = ... + """ + Version ID of the source object that was copied. + + Note: + This functionality is not supported when the source object is in a + directory bucket. + """ + version_id: str | None = ... + """ + Version ID of the newly created copy. + + Note: + This functionality is not supported for directory buckets. + """ + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when you store this object in + Amazon S3 or Amazon FSx. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + sse_customer_algorithm: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to confirm the + encryption algorithm that's used. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to provide the + round-trip message integrity verification of the customer-provided + encryption key. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + If present, indicates the ID of the KMS key that was used for object + encryption. + """ + ssekms_encryption_context: str | None = ... + """ + If present, indicates the Amazon Web Services KMS Encryption Context to + use for object encryption. The value of this header is a Base64 encoded + UTF-8 string holding JSON with the encryption context key-value pairs. + """ + bucket_key_enabled: bool | None = ... + """ + Indicates whether the copied object uses an S3 Bucket Key for + server-side encryption with Key Management Service (KMS) keys (SSE-KMS). + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CopyObjectResult(_SerdeShape): + """Container for all response elements.""" + + e_tag: str | None = ... + """ + Returns the ETag of the new object. The ETag reflects only changes to + the contents of an object, not its metadata. + """ + last_modified: datetime | None = ... + """Creation date of the object.""" + checksum_type: str | None = ... + """ + The checksum type that is used to calculate the object's checksum value. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32` checksum of the object. This checksum + is only present if the checksum was uploaded with the object. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the object. This + checksum is only present if the checksum was uploaded with the object. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. This + checksum is present if the object being copied was uploaded with the + `CRC64NVME` checksum algorithm, or if the object was uploaded without a + checksum (and Amazon S3 added the default checksum, `CRC64NVME`, to the + uploaded object). For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum + is only present if the checksum was uploaded with the object. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum + is only present if the checksum was uploaded with the object. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the object. This checksum + is only present if the object was uploaded with the `SHA512` checksum + algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the object. This checksum is + only present if the object was uploaded with the `MD5` checksum + algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the object. This + checksum is only present if the object was uploaded with the `XXHASH64` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the object. This + checksum is only present if the object was uploaded with the `XXHASH3` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the object. This + checksum is only present if the object was uploaded with the `XXHASH128` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + +@dataclass(kw_only=True) +class CopyPartResult(_SerdeShape): + """Container for all response elements.""" + + e_tag: str | None = ... + """Entity tag of the object.""" + last_modified: datetime | None = ... + """Date and time at which the object was uploaded.""" + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum + is present if the multipart upload request was created with the `CRC32` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the part. This checksum + is present if the multipart upload request was created with the `CRC32C` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This + checksum is present if the multipart upload request was created with the + `CRC64NVME` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` digest of the part. This checksum is + present if the multipart upload request was created with the `SHA1` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` digest of the part. This checksum + is present if the multipart upload request was created with the `SHA256` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the part. This checksum + is present if the multipart upload request was created with the `SHA512` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the part. This checksum is + present if the multipart upload request was created with the `MD5` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This + checksum is present if the multipart upload request was created with the + `XXHASH64` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This checksum + is present if the multipart upload request was created with the + `XXHASH3` checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This + checksum is present if the multipart upload request was created with the + `XXHASH128` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + +@dataclass(kw_only=True) +class CORSConfiguration(_SerdeShape): + """ + Describes the cross-origin access configuration for objects in an Amazon + S3 bucket. For more information, see [Enabling Cross-Origin Resource + Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in + the *Amazon S3 User Guide*. + """ + + cors_rules: list[CORSRule] + """ + A set of origins and methods (cross-origin access that you want to + allow). You can add up to 100 rules to the configuration. + """ + +@dataclass(kw_only=True) +class CORSRule(_SerdeShape): + """Specifies a cross-origin access rule for an Amazon S3 bucket.""" + + id: str | None = ... + """ + Unique identifier for the rule. The value cannot be longer than 255 + characters. + """ + allowed_headers: list[str] | None = ... + """ + Headers that are specified in the `Access-Control-Request-Headers` + header. These headers are allowed in a preflight OPTIONS request. In + response to any preflight OPTIONS request, Amazon S3 returns any + requested headers that are allowed. + """ + allowed_methods: list[str] + """ + An HTTP method that you allow the origin to execute. Valid values are + `GET`, `PUT`, `HEAD`, `POST`, and `DELETE`. + """ + allowed_origins: list[str] + """ + One or more origins you want customers to be able to access the bucket + from. + """ + expose_headers: list[str] | None = ... + """ + One or more headers in the response that you want customers to be able + to access from their applications (for example, from a JavaScript + `XMLHttpRequest` object). + """ + max_age_seconds: int | None = ... + """ + The time in seconds that your browser is to cache the preflight response + for the specified resource. + """ + +@dataclass(kw_only=True) +class CreateBucketConfiguration(_SerdeShape): + """The configuration information for the bucket.""" + + location_constraint: str | None = ... + """ + Specifies the Region where the bucket will be created. You might choose + a Region to optimize latency, minimize costs, or address regulatory + requirements. For example, if you reside in Europe, you will probably + find it advantageous to create buckets in the Europe (Ireland) Region. + + If you don't specify a Region, the bucket is created in the US East (N. + Virginia) Region (us-east-1) by default. Configurations using the value + `EU` will create a bucket in `eu-west-1`. + + For a list of the valid values for all of the Amazon Web Services + Regions, see [Regions and + Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). + + Note: + This functionality is not supported for directory buckets. + """ + location: LocationInfo | None = ... + """ + Specifies the location where the bucket will be created. + + **Directory buckets** - The location type is Availability Zone or Local + Zone. To use the Local Zone location type, your account must be enabled + for Local Zones. Otherwise, you get an HTTP `403 Forbidden` error with + the error code `AccessDenied`. To learn more, see [Enable accounts for + Local + Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is only supported by directory buckets. + """ + bucket: BucketInfo | None = ... + """ + Specifies the information about the bucket that will be created. + + Note: + This functionality is only supported by directory buckets. + """ + tags: list[Tag] | None = ... + """ + An array of tags that you can apply to the bucket that you're creating. + Tags are key-value pairs of metadata used to categorize and organize + your buckets, track costs, and control access. + + You must have the `s3:TagResource` permission to create a general + purpose bucket with tags or the `s3express:TagResource` permission to + create a directory bucket with tags. + + When creating buckets with tags, note that tag-based conditions using + `aws:ResourceTag` and `s3:BucketTag` condition keys are applicable only + after ABAC is enabled on the bucket. To learn more, see [Enabling ABAC + in general purpose + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html). + """ + +@dataclass(kw_only=True) +class CreateBucketInput(_SerdeShape): + """Dataclass for CreateBucketInput structure.""" + + acl: str | None = ... + """ + The canned ACL to apply to the bucket. + + Note: + This functionality is not supported for directory buckets. + """ + bucket: str | None = ... + """ + The name of the bucket to create. + + **General purpose buckets** - For information about bucket naming + restrictions, see [Bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) + in the *Amazon S3 User Guide*. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + create_bucket_configuration: CreateBucketConfiguration | None = ... + """The configuration information for the bucket.""" + grant_full_control: str | None = ... + """ + Allows grantee the read, write, read ACP, and write ACP permissions on + the bucket. + + Note: + This functionality is not supported for directory buckets. + """ + grant_read: str | None = ... + """ + Allows grantee to list the objects in the bucket. + + Note: + This functionality is not supported for directory buckets. + """ + grant_read_acp: str | None = ... + """ + Allows grantee to read the bucket ACL. + + Note: + This functionality is not supported for directory buckets. + """ + grant_write: str | None = ... + """ + Allows grantee to create new objects in the bucket. + + For the bucket and object owners of existing objects, also allows + deletions and overwrites of those objects. + + Note: + This functionality is not supported for directory buckets. + """ + grant_write_acp: str | None = ... + """ + Allows grantee to write the ACL for the applicable bucket. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_enabled_for_bucket: bool | None = ... + """ + Specifies whether you want S3 Object Lock to be enabled for the new + bucket. + + Note: + This functionality is not supported for directory buckets. + """ + object_ownership: str | None = ... + """ + The container element for object ownership for a bucket's ownership + controls. + + `BucketOwnerPreferred` - Objects uploaded to the bucket change ownership + to the bucket owner if the objects are uploaded with the + `bucket-owner-full-control` canned ACL. + + `ObjectWriter` - The uploading account will own the object if the object + is uploaded with the `bucket-owner-full-control` canned ACL. + + `BucketOwnerEnforced` - Access control lists (ACLs) are disabled and no + longer affect permissions. The bucket owner automatically owns and has + full control over every object in the bucket. The bucket only accepts + PUT requests that don't specify an ACL or specify bucket owner full + control ACLs (such as the predefined `bucket-owner-full-control` canned + ACL or a custom ACL in XML format that grants the same permissions). + + By default, `ObjectOwnership` is set to `BucketOwnerEnforced` and ACLs + are disabled. We recommend keeping ACLs disabled, except in uncommon use + cases where you must control access for each object individually. For + more information about S3 Object Ownership, see [Controlling ownership + of objects and disabling ACLs for your + bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. Directory + buckets use the bucket owner enforced setting for S3 Object Ownership. + """ + bucket_namespace: str | None = ... + """ + Specifies the namespace where you want to create your general purpose + bucket. When you create a general purpose bucket, you can choose to + create a bucket in the shared global namespace or you can choose to + create a bucket in your account regional namespace. Your account + regional namespace is a subdivision of the global namespace that only + your account can create buckets in. For more information on bucket + namespaces, see [Namespaces for general purpose + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/gpbucketnamespaces.html). + + General purpose buckets in your account regional namespace must follow a + specific naming convention. These buckets consist of a bucket name + prefix that you create, and a suffix that contains your 12-digit Amazon + Web Services Account ID, the Amazon Web Services Region code, and ends + with `-an`. Bucket names must follow the format + `bucket-name-prefix-accountId-region-an` (for example, + `amzn-s3-demo-bucket-111122223333-us-west-2-an`). For information about + bucket naming restrictions, see [Account regional namespace naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html#account-regional-naming-rules) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + +@dataclass(kw_only=True) +class CreateBucketMetadataConfigurationInput(_SerdeShape): + """Dataclass for CreateBucketMetadataConfigurationInput structure.""" + + bucket: str | None = ... + """ + The general purpose bucket that you want to create the metadata + configuration for. + """ + content_md5: str | None = ... + """The `Content-MD5` header for the metadata configuration.""" + checksum_algorithm: str | None = ... + """The checksum algorithm to use with your metadata configuration.""" + metadata_configuration: MetadataConfiguration | None = ... + """The contents of your metadata configuration.""" + expected_bucket_owner: str | None = ... + """ + The expected owner of the general purpose bucket that corresponds to + your metadata configuration. + """ + +@dataclass(kw_only=True) +class CreateBucketMetadataConfigurationOutput(_SerdeShape): + """Dataclass for CreateBucketMetadataConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateBucketMetadataTableConfigurationInput(_SerdeShape): + """Dataclass for CreateBucketMetadataTableConfigurationInput structure.""" + + bucket: str | None = ... + """ + The general purpose bucket that you want to create the metadata table + configuration for. + """ + content_md5: str | None = ... + """The `Content-MD5` header for the metadata table configuration.""" + checksum_algorithm: str | None = ... + """The checksum algorithm to use with your metadata table configuration.""" + metadata_table_configuration: MetadataTableConfiguration | None = ... + """The contents of your metadata table configuration.""" + expected_bucket_owner: str | None = ... + """ + The expected owner of the general purpose bucket that corresponds to + your metadata table configuration. + """ + +@dataclass(kw_only=True) +class CreateBucketMetadataTableConfigurationOutput(_SerdeShape): + """Dataclass for CreateBucketMetadataTableConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateBucketOutput(_SerdeShape): + """Dataclass for CreateBucketOutput structure.""" + + location: str | None = ... + """ + A forward slash followed by the name of the bucket for all account + regional namespace buckets and all global general purpose buckets + created in us-east-1. For example, `/amzn-s3-demo-bucket`. For global + general purpose buckets created in other Amazon Web Services Regions, + the Location field is the global endpoint URL. For example, + `http://amzn-s3-demo-bucket.s3.amazonaws.com/`. + """ + bucket_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify + Amazon Web Services resources across all of Amazon Web Services. + + Note: + This parameter is only supported for S3 directory buckets. For more + information, see [Using tags with directory + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateMultipartUploadInput(_SerdeShape): + """Dataclass for CreateMultipartUploadInput structure.""" + + acl: str | None = ... + """ + The canned ACL to apply to the object. Amazon S3 supports a set of + predefined ACLs, known as *canned ACLs*. Each canned ACL has a + predefined set of grantees and permissions. For more information, see + [Canned + ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL) + in the *Amazon S3 User Guide*. + + By default, all objects are private. Only the owner has full access + control. When uploading an object, you can grant access permissions to + individual Amazon Web Services accounts or to predefined groups defined + by Amazon S3. These permissions are then added to the access control + list (ACL) on the new object. For more information, see [Using + ACLs](https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html). + One way to grant the permissions using the request headers is to specify + a canned ACL with the `x-amz-acl` request header. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + bucket: str | None = ... + """ + The name of the bucket where the multipart upload is initiated and where + the object is uploaded. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + cache_control: str | None = ... + """Specifies caching behavior along the request/reply chain.""" + content_disposition: str | None = ... + """Specifies presentational information for the object.""" + content_encoding: str | None = ... + """ + Specifies what content encodings have been applied to the object and + thus what decoding mechanisms must be applied to obtain the media-type + referenced by the Content-Type header field. + + Note: + For directory buckets, only the `aws-chunked` value is supported in this + header field. + """ + content_language: str | None = ... + """The language that the content is in.""" + content_type: str | None = ... + """A standard MIME type describing the format of the object data.""" + expires: str | None = ... + """The date and time at which the object is no longer cacheable.""" + grant_full_control: str | None = ... + """ + Specify access permissions explicitly to give the grantee READ, + READ_ACP, and WRITE_ACP permissions on the object. + + By default, all objects are private. Only the owner has full access + control. When uploading an object, you can use this header to explicitly + grant access permissions to specific Amazon Web Services accounts or + groups. This header maps to specific permissions that Amazon S3 supports + in an ACL. For more information, see [Access Control List (ACL) + Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) + in the *Amazon S3 User Guide*. + + You specify each grantee as a type=value pair, where the type is one of + the following: + + - `id` -- if the value specified is the canonical user ID of an Amazon + Web Services account + + - `uri` -- if you are granting permissions to a predefined group + + - `emailAddress` -- if the value specified is the email address of an + Amazon Web Services account + + Note: + Using email addresses to specify a grantee is only supported in the + following Amazon Web Services Regions: + + - US East (N. Virginia) + + - US West (N. California) + + - US West (Oregon) + + - Asia Pacific (Singapore) + + - Asia Pacific (Sydney) + + - Asia Pacific (Tokyo) + + - Europe (Ireland) + + - South America (São Paulo) + + For a list of all the Amazon S3 supported Regions and endpoints, see + [Regions and + Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) + in the Amazon Web Services General Reference. + + For example, the following `x-amz-grant-read` header grants the Amazon + Web Services accounts identified by account IDs permissions to read + object data and its metadata: + + `x-amz-grant-read: id="11112222333", id="444455556666" ` + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + grant_read: str | None = ... + """ + Specify access permissions explicitly to allow grantee to read the + object data and its metadata. + + By default, all objects are private. Only the owner has full access + control. When uploading an object, you can use this header to explicitly + grant access permissions to specific Amazon Web Services accounts or + groups. This header maps to specific permissions that Amazon S3 supports + in an ACL. For more information, see [Access Control List (ACL) + Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) + in the *Amazon S3 User Guide*. + + You specify each grantee as a type=value pair, where the type is one of + the following: + + - `id` -- if the value specified is the canonical user ID of an Amazon + Web Services account + + - `uri` -- if you are granting permissions to a predefined group + + - `emailAddress` -- if the value specified is the email address of an + Amazon Web Services account + + Note: + Using email addresses to specify a grantee is only supported in the + following Amazon Web Services Regions: + + - US East (N. Virginia) + + - US West (N. California) + + - US West (Oregon) + + - Asia Pacific (Singapore) + + - Asia Pacific (Sydney) + + - Asia Pacific (Tokyo) + + - Europe (Ireland) + + - South America (São Paulo) + + For a list of all the Amazon S3 supported Regions and endpoints, see + [Regions and + Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) + in the Amazon Web Services General Reference. + + For example, the following `x-amz-grant-read` header grants the Amazon + Web Services accounts identified by account IDs permissions to read + object data and its metadata: + + `x-amz-grant-read: id="11112222333", id="444455556666" ` + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + grant_read_acp: str | None = ... + """ + Specify access permissions explicitly to allows grantee to read the + object ACL. + + By default, all objects are private. Only the owner has full access + control. When uploading an object, you can use this header to explicitly + grant access permissions to specific Amazon Web Services accounts or + groups. This header maps to specific permissions that Amazon S3 supports + in an ACL. For more information, see [Access Control List (ACL) + Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) + in the *Amazon S3 User Guide*. + + You specify each grantee as a type=value pair, where the type is one of + the following: + + - `id` -- if the value specified is the canonical user ID of an Amazon + Web Services account + + - `uri` -- if you are granting permissions to a predefined group + + - `emailAddress` -- if the value specified is the email address of an + Amazon Web Services account + + Note: + Using email addresses to specify a grantee is only supported in the + following Amazon Web Services Regions: + + - US East (N. Virginia) + + - US West (N. California) + + - US West (Oregon) + + - Asia Pacific (Singapore) + + - Asia Pacific (Sydney) + + - Asia Pacific (Tokyo) + + - Europe (Ireland) + + - South America (São Paulo) + + For a list of all the Amazon S3 supported Regions and endpoints, see + [Regions and + Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) + in the Amazon Web Services General Reference. + + For example, the following `x-amz-grant-read` header grants the Amazon + Web Services accounts identified by account IDs permissions to read + object data and its metadata: + + `x-amz-grant-read: id="11112222333", id="444455556666" ` + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + grant_write_acp: str | None = ... + """ + Specify access permissions explicitly to allows grantee to allow grantee + to write the ACL for the applicable object. + + By default, all objects are private. Only the owner has full access + control. When uploading an object, you can use this header to explicitly + grant access permissions to specific Amazon Web Services accounts or + groups. This header maps to specific permissions that Amazon S3 supports + in an ACL. For more information, see [Access Control List (ACL) + Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) + in the *Amazon S3 User Guide*. + + You specify each grantee as a type=value pair, where the type is one of + the following: + + - `id` -- if the value specified is the canonical user ID of an Amazon + Web Services account + + - `uri` -- if you are granting permissions to a predefined group + + - `emailAddress` -- if the value specified is the email address of an + Amazon Web Services account + + Note: + Using email addresses to specify a grantee is only supported in the + following Amazon Web Services Regions: + + - US East (N. Virginia) + + - US West (N. California) + + - US West (Oregon) + + - Asia Pacific (Singapore) + + - Asia Pacific (Sydney) + + - Asia Pacific (Tokyo) + + - Europe (Ireland) + + - South America (São Paulo) + + For a list of all the Amazon S3 supported Regions and endpoints, see + [Regions and + Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) + in the Amazon Web Services General Reference. + + For example, the following `x-amz-grant-read` header grants the Amazon + Web Services accounts identified by account IDs permissions to read + object data and its metadata: + + `x-amz-grant-read: id="11112222333", id="444455556666" ` + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + key: str | None = ... + """Object key for which the multipart upload is to be initiated.""" + metadata: dict[str, str] | None = ... + """A map of metadata to store with the object in S3.""" + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when you store this object in + Amazon S3 or Amazon FSx. + + - **Directory buckets** - For directory buckets, there are only two + supported options for server-side encryption: server-side encryption + with Amazon S3 managed keys (SSE-S3) (`AES256`) and server-side + encryption with KMS keys (SSE-KMS) (`aws:kms`). We recommend that the + bucket's default encryption uses the desired encryption configuration + and you don't override the bucket default encryption in your + `CreateSession` requests or `PUT` object requests. Then, new objects + are automatically encrypted with the desired encryption settings. For + more information, see [Protecting data with server-side + encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html) + in the *Amazon S3 User Guide*. For more information about the + encryption overriding behaviors in directory buckets, see [Specifying + server-side encryption with KMS for new object + uploads](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html). + + In the Zonal endpoint API calls (except + [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) + and + [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)) + using the REST API, the encryption request headers must match the + encryption settings that are specified in the `CreateSession` request. + You can't override the values of the encryption settings + (`x-amz-server-side-encryption`, + `x-amz-server-side-encryption-aws-kms-key-id`, + `x-amz-server-side-encryption-context`, and + `x-amz-server-side-encryption-bucket-key-enabled`) that are specified + in the `CreateSession` request. You don't need to explicitly specify + these encryption settings values in Zonal endpoint API calls, and + Amazon S3 will use the encryption settings values from the + `CreateSession` request to protect new objects in the directory + bucket. + + Note: + When you use the CLI or the Amazon Web Services SDKs, for + `CreateSession`, the session token refreshes automatically to avoid + service interruptions when a session expires. The CLI or the Amazon + Web Services SDKs use the bucket's default encryption configuration + for the `CreateSession` request. It's not supported to override the + encryption settings values in the `CreateSession` request. So in the + Zonal endpoint API calls (except + [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) + and + [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)), + the encryption request headers must match the default encryption + configuration of the directory bucket. + + - **S3 access points for Amazon FSx** - When accessing data stored in + Amazon FSx file systems using S3 access points, the only valid server + side encryption option is `aws:fsx`. All Amazon FSx file systems have + encryption configured by default and are encrypted at rest. Data is + automatically encrypted before being written to the file system, and + automatically decrypted as it is read. These processes are handled + transparently by Amazon FSx. + """ + storage_class: str | None = ... + """ + By default, Amazon S3 uses the STANDARD Storage Class to store newly + created objects. The STANDARD storage class provides high durability and + high availability. Depending on performance needs, you can specify a + different Storage Class. For more information, see [Storage + Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) + in the *Amazon S3 User Guide*. + + Note: + - Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One + Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3 One + Zone-Infrequent Access storage class) in Dedicated Local Zones. + + - Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. + """ + website_redirect_location: str | None = ... + """ + If the bucket is configured as a website, redirects requests for this + object to another object in the same bucket or to an external URL. + Amazon S3 stores the value of this header in the object metadata. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when encrypting the object (for example, + AES256). + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key for Amazon S3 to use in + encrypting data. This value is used to store the object and then it is + discarded; Amazon S3 does not store the encryption key. The key must be + appropriate for use with the algorithm specified in the + `x-amz-server-side-encryption-customer-algorithm` header. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the customer-provided encryption key + according to RFC 1321. Amazon S3 uses this header for a message + integrity check to ensure that the encryption key was transmitted + without error. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for + object encryption. If the KMS key doesn't exist in the same account + that's issuing the command, you must use the full Key ARN not the Key + ID. + + **General purpose buckets** - If you specify + `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this + header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key + to use. If you specify `x-amz-server-side-encryption:aws:kms` or + `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide + `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the Amazon + Web Services managed key (`aws/s3`) to protect the data. + + **Directory buckets** - To encrypt data using SSE-KMS, it's recommended + to specify the `x-amz-server-side-encryption` header to `aws:kms`. Then, + the `x-amz-server-side-encryption-aws-kms-key-id` header implicitly uses + the bucket's default KMS customer managed key ID. If you want to + explicitly set the ` x-amz-server-side-encryption-aws-kms-key-id` + header, it must match the bucket's default customer managed key (using + key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 + [customer managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) + per directory bucket's lifetime. The [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) + (`aws/s3`) isn't supported. Incorrect key specification results in an + HTTP `400 Bad Request` error. + """ + ssekms_encryption_context: str | None = ... + """ + Specifies the Amazon Web Services KMS Encryption Context to use for + object encryption. The value of this header is a Base64 encoded string + of a UTF-8 encoded JSON, which contains the encryption context as + key-value pairs. + + **Directory buckets** - You can optionally provide an explicit + encryption context value. The value must match the default encryption + context - the bucket Amazon Resource Name (ARN). An additional + encryption context value is not supported. + """ + bucket_key_enabled: bool | None = ... + """ + Specifies whether Amazon S3 should use an S3 Bucket Key for object + encryption with server-side encryption using Key Management Service + (KMS) keys (SSE-KMS). + + **General purpose buckets** - Setting this header to `true` causes + Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS. + Also, specifying this header with a PUT action doesn't affect + bucket-level settings for S3 Bucket Key. + + **Directory buckets** - S3 Bucket Keys are always enabled for `GET` and + `PUT` operations in a directory bucket and can't be disabled. S3 Bucket + Keys aren't supported, when you copy SSE-KMS encrypted objects from + general purpose buckets to directory buckets, from directory buckets to + general purpose buckets, or between directory buckets, through + [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), + [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html), + [the Copy operation in Batch + Operations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops), + or [the import + jobs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job). + In this case, Amazon S3 makes a call to KMS every time a copy request is + made for a KMS-encrypted object. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + tagging: str | None = ... + """ + The tag-set for the object. The tag-set must be encoded as URL Query + parameters. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_mode: str | None = ... + """ + Specifies the Object Lock mode that you want to apply to the uploaded + object. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_retain_until_date: datetime | None = ... + """ + Specifies the date and time when you want the Object Lock to expire. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_legal_hold_status: str | None = ... + """ + Specifies whether you want to apply a legal hold to the uploaded object. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold: str | None = ... + """ + Specifies the event hold status to apply to the uploaded object. Set to + `ON` to enable or `OFF` to disable. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_days: int | None = ... + """ + Specifies the event hold duration in days to apply to the uploaded + object. You cannot specify a duration in both days and years. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_years: int | None = ... + """ + Specifies the event hold duration in years to apply to the uploaded + object. You cannot specify a duration in both days and years. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm that you want Amazon S3 to use to create the + checksum for the object. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_type: str | None = ... + """ + Indicates the checksum type that you want Amazon S3 to use to calculate + the object's checksum value. For more information, see [Checking object + integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + +@dataclass(kw_only=True) +class CreateMultipartUploadOutput(_SerdeShape): + """Dataclass for CreateMultipartUploadOutput structure.""" + + abort_date: datetime | None = ... + """ + If the bucket has a lifecycle rule configured with an action to abort + incomplete multipart uploads and the prefix in the lifecycle rule + matches the object name in the request, the response includes this + header. The header indicates when the initiated multipart upload becomes + eligible for an abort operation. For more information, see [Aborting + Incomplete Multipart Uploads Using a Bucket Lifecycle + Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) + in the *Amazon S3 User Guide*. + + The response also includes the `x-amz-abort-rule-id` header that + provides the ID of the lifecycle configuration rule that defines the + abort action. + + Note: + This functionality is not supported for directory buckets. + """ + abort_rule_id: str | None = ... + """ + This header is returned along with the `x-amz-abort-date` header. It + identifies the applicable lifecycle configuration rule that defines the + action to abort incomplete multipart uploads. + + Note: + This functionality is not supported for directory buckets. + """ + bucket: str | None = ... + """ + The name of the bucket to which the multipart upload was initiated. Does + not return the access point ARN or access point alias if used. + + Note: + Access points are not supported by directory buckets. + """ + key: str | None = ... + """Object key for which the multipart upload was initiated.""" + upload_id: str | None = ... + """ID for the initiated multipart upload.""" + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when you store this object in + Amazon S3 or Amazon FSx. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + sse_customer_algorithm: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to confirm the + encryption algorithm that's used. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to provide the + round-trip message integrity verification of the customer-provided + encryption key. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + If present, indicates the ID of the KMS key that was used for object + encryption. + """ + ssekms_encryption_context: str | None = ... + """ + If present, indicates the Amazon Web Services KMS Encryption Context to + use for object encryption. The value of this header is a Base64 encoded + string of a UTF-8 encoded JSON, which contains the encryption context as + key-value pairs. + """ + bucket_key_enabled: bool | None = ... + """ + Indicates whether the multipart upload uses an S3 Bucket Key for + server-side encryption with Key Management Service (KMS) keys (SSE-KMS). + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + checksum_algorithm: str | None = ... + """The algorithm that was used to create a checksum of the object.""" + checksum_type: str | None = ... + """ + Indicates the checksum type that you want Amazon S3 to use to calculate + the object's checksum value. For more information, see [Checking object + integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CreateSessionInput(_SerdeShape): + """Dataclass for CreateSessionInput structure.""" + + session_mode: str | None = ... + """ + Specifies the mode of the session that will be created, either + `ReadWrite` or `ReadOnly`. If no session mode is specified, the default + behavior attempts to create a session with the maximum allowable + privilege. It will first attempt to create a `ReadWrite` session, and if + that is not allowed by permissions, it will attempt to create a + `ReadOnly` session. If neither session type is allowed, the request will + return an Access Denied error. A `ReadWrite` session is capable of + executing all the Zonal endpoint API operations on a directory bucket. A + `ReadOnly` session is constrained to execute the following Zonal + endpoint API operations: `GetObject`, `HeadObject`, `ListObjectsV2`, + `GetObjectAttributes`, `ListParts`, and `ListMultipartUploads`. + """ + bucket: str | None = ... + """The name of the bucket that you create a session for.""" + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm to use when you store objects in + the directory bucket. + + For directory buckets, there are only two supported options for + server-side encryption: server-side encryption with Amazon S3 managed + keys (SSE-S3) (`AES256`) and server-side encryption with KMS keys + (SSE-KMS) (`aws:kms`). By default, Amazon S3 encrypts data with SSE-S3. + For more information, see [Protecting data with server-side + encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/serv-side-encryption.html) + in the *Amazon S3 User Guide*. + + **S3 access points for Amazon FSx** - When accessing data stored in + Amazon FSx file systems using S3 access points, the only valid server + side encryption option is `aws:fsx`. All Amazon FSx file systems have + encryption configured by default and are encrypted at rest. Data is + automatically encrypted before being written to the file system, and + automatically decrypted as it is read. These processes are handled + transparently by Amazon FSx. + """ + ssekms_key_id: str | None = ... + """ + If you specify `x-amz-server-side-encryption` with `aws:kms`, you must + specify the ` x-amz-server-side-encryption-aws-kms-key-id` header with + the ID (Key ID or Key ARN) of the KMS symmetric encryption customer + managed key to use. Otherwise, you get an HTTP `400 Bad Request` error. + Only use the key ID or key ARN. The key alias format of the KMS key + isn't supported. Also, if the KMS key doesn't exist in the same + account that't issuing the command, you must use the full Key ARN not + the Key ID. + + Your SSE-KMS configuration can only support 1 [customer managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) + per directory bucket's lifetime. The [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) + (`aws/s3`) isn't supported. + """ + ssekms_encryption_context: str | None = ... + """ + Specifies the Amazon Web Services KMS Encryption Context as an + additional encryption context to use for object encryption. The value of + this header is a Base64 encoded string of a UTF-8 encoded JSON, which + contains the encryption context as key-value pairs. This value is stored + as object metadata and automatically gets passed on to Amazon Web + Services KMS for future `GetObject` operations on this object. + + **General purpose buckets** - This value must be explicitly added during + `CopyObject` operations if you want an additional encryption context for + your object. For more information, see [Encryption + context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) + in the *Amazon S3 User Guide*. + + **Directory buckets** - You can optionally provide an explicit + encryption context value. The value must match the default encryption + context - the bucket Amazon Resource Name (ARN). An additional + encryption context value is not supported. + """ + bucket_key_enabled: bool | None = ... + """ + Specifies whether Amazon S3 should use an S3 Bucket Key for object + encryption with server-side encryption using KMS keys (SSE-KMS). + + S3 Bucket Keys are always enabled for `GET` and `PUT` operations in a + directory bucket and can't be disabled. S3 Bucket Keys aren't + supported, when you copy SSE-KMS encrypted objects from general purpose + buckets to directory buckets, from directory buckets to general purpose + buckets, or between directory buckets, through + [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), + [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html), + [the Copy operation in Batch + Operations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops), + or [the import + jobs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job). + In this case, Amazon S3 makes a call to KMS every time a copy request is + made for a KMS-encrypted object. + """ + +@dataclass(kw_only=True) +class CreateSessionOutput(_SerdeShape): + """Dataclass for CreateSessionOutput structure.""" + + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when you store objects in the + directory bucket. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + ssekms_key_id: str | None = ... + """ + If you specify `x-amz-server-side-encryption` with `aws:kms`, this + header indicates the ID of the KMS symmetric encryption customer managed + key that was used for object encryption. + """ + ssekms_encryption_context: str | None = ... + """ + If present, indicates the Amazon Web Services KMS Encryption Context to + use for object encryption. The value of this header is a Base64 encoded + string of a UTF-8 encoded JSON, which contains the encryption context as + key-value pairs. This value is stored as object metadata and + automatically gets passed on to Amazon Web Services KMS for future + `GetObject` operations on this object. + """ + bucket_key_enabled: bool | None = ... + """ + Indicates whether to use an S3 Bucket Key for server-side encryption + with KMS keys (SSE-KMS). + """ + credentials: SessionCredentials + """The established temporary security credentials for the created session.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class CSVInput(_SerdeShape): + """ + Describes how an uncompressed comma-separated values (CSV)-formatted + input object is formatted. + """ + + file_header_info: str | None = ... + """ + Describes the first line of input. Valid values are: + + - `NONE`: First line is not a header. + + - `IGNORE`: First line is a header, but you can't use the header values + to indicate the column in an expression. You can use column position + (such as _1, _2, ...) to indicate the column + (`SELECT s._1 FROM OBJECT s`). + + - `Use`: First line is a header, and you can use the header value to + identify a column in an expression (`SELECT "name" FROM OBJECT`). + """ + comments: str | None = ... + """ + A single character used to indicate that a row should be ignored when + the character is present at the start of that row. You can specify any + character to indicate a comment line. The default character is `#`. + + Default: `#` + """ + quote_escape_character: str | None = ... + """ + A single character used for escaping the quotation mark character inside + an already escaped value. For example, the value `\"\"\" a , b \"\"\"` is + parsed as `" a , b "`. + """ + record_delimiter: str | None = ... + """ + A single character used to separate individual records in the input. + Instead of the default value, you can specify an arbitrary delimiter. + """ + field_delimiter: str | None = ... + """ + A single character used to separate individual fields in a record. You + can specify an arbitrary delimiter. + """ + quote_character: str | None = ... + """ + A single character used for escaping when the field delimiter is part of + the value. For example, if the value is `a, b`, Amazon S3 wraps this + field value in quotation marks, as follows: `" a , b "`. + + Type: String + + Default: `"` + + Ancestors: `CSV` + """ + allow_quoted_record_delimiter: bool | None = ... + """ + Specifies that CSV field values may contain quoted record delimiters and + such records should be allowed. Default value is FALSE. Setting this + value to TRUE may lower performance. + """ + +@dataclass(kw_only=True) +class CSVOutput(_SerdeShape): + """ + Describes how uncompressed comma-separated values (CSV)-formatted + results are formatted. + """ + + quote_fields: str | None = ... + """ + Indicates whether to use quotation marks around output fields. + + - `ALWAYS`: Always use quotation marks for output fields. + + - `ASNEEDED`: Use quotation marks for output fields when needed. + """ + quote_escape_character: str | None = ... + """ + The single character used for escaping the quote character inside an + already escaped value. + """ + record_delimiter: str | None = ... + """ + A single character used to separate individual records in the output. + Instead of the default value, you can specify an arbitrary delimiter. + """ + field_delimiter: str | None = ... + """ + The value used to separate individual fields in a record. You can + specify an arbitrary delimiter. + """ + quote_character: str | None = ... + """ + A single character used for escaping when the field delimiter is part of + the value. For example, if the value is `a, b`, Amazon S3 wraps this + field value in quotation marks, as follows: `" a , b "`. + """ + +class DataRedundancy(UnknownEnumMixin, StrEnum): + SINGLE_AVAILABILITY_ZONE = "SingleAvailabilityZone" + SINGLE_LOCAL_ZONE = "SingleLocalZone" + +@dataclass(kw_only=True) +class DefaultRetention(_SerdeShape): + """ + The container element for optionally specifying the default Object Lock + retention settings for new objects placed in the specified bucket. + + Note: + - The `DefaultRetention` settings require both a mode and a period. + + - The `DefaultRetention` period can be either `Days` or `Years` but you + must select one. You cannot specify `Days` and `Years` at the same + time. + """ + + mode: str | None = ... + """ + The default Object Lock retention mode you want to apply to new objects + placed in the specified bucket. Must be used with either `Days` or + `Years`. + """ + days: int | None = ... + """ + The number of days that you want to specify for the default retention + period. Must be used with `Mode`. + """ + years: int | None = ... + """ + The number of years that you want to specify for the default retention + period. Must be used with `Mode`. + """ + default_event_hold: EventHoldDuration | None = ... + """ + The default event hold duration to be applied to new objects placed in + the specified bucket. When configured, new objects will automatically + have an event hold enabled with this duration. + """ + +@dataclass(kw_only=True) +class Delete(_SerdeShape): + """Container for the objects to delete.""" + + objects: list[ObjectIdentifier] + """ + The object to delete. + + Note: + **Directory buckets** - For directory buckets, an object that's + composed entirely of whitespace characters is not supported by the + `DeleteObjects` API operation. The request will receive a + `400 Bad Request` error and none of the objects in the request will be + deleted. + """ + quiet: bool | None = ... + """ + Element to enable quiet mode for the request. When you add this element, + you must set its value to `true`. + """ + +@dataclass(kw_only=True) +class DeleteBucketAnalyticsConfigurationInput(_SerdeShape): + """Dataclass for DeleteBucketAnalyticsConfigurationInput structure.""" + + bucket: str | None = ... + """The name of the bucket from which an analytics configuration is deleted.""" + id: str | None = ... + """The ID that identifies the analytics configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class DeleteBucketAnalyticsConfigurationOutput(_SerdeShape): + """Dataclass for DeleteBucketAnalyticsConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketCorsInput(_SerdeShape): + """Dataclass for DeleteBucketCorsInput structure.""" + + bucket: str | None = ... + """Specifies the bucket whose `cors` configuration is being deleted.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class DeleteBucketCorsOutput(_SerdeShape): + """Dataclass for DeleteBucketCorsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketEncryptionInput(_SerdeShape): + """Dataclass for DeleteBucketEncryptionInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket containing the server-side encryption + configuration to delete. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class DeleteBucketEncryptionOutput(_SerdeShape): + """Dataclass for DeleteBucketEncryptionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketInput(_SerdeShape): + """Dataclass for DeleteBucketInput structure.""" + + bucket: str | None = ... + """ + Specifies the bucket being deleted. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class DeleteBucketIntelligentTieringConfigurationInput(_SerdeShape): + """ + Dataclass for DeleteBucketIntelligentTieringConfigurationInput + structure. + """ + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket whose configuration you want to modify + or retrieve. + """ + id: str | None = ... + """The ID used to identify the S3 Intelligent-Tiering configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class DeleteBucketIntelligentTieringConfigurationOutput(_SerdeShape): + """ + Dataclass for DeleteBucketIntelligentTieringConfigurationOutput + structure. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketInventoryConfigurationInput(_SerdeShape): + """Dataclass for DeleteBucketInventoryConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket containing the inventory configuration to delete. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + id: str | None = ... + """The ID used to identify the inventory configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class DeleteBucketInventoryConfigurationOutput(_SerdeShape): + """Dataclass for DeleteBucketInventoryConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketLifecycleInput(_SerdeShape): + """Dataclass for DeleteBucketLifecycleInput structure.""" + + bucket: str | None = ... + """The bucket name of the lifecycle to delete.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + +@dataclass(kw_only=True) +class DeleteBucketLifecycleOutput(_SerdeShape): + """Dataclass for DeleteBucketLifecycleOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketMetadataConfigurationInput(_SerdeShape): + """Dataclass for DeleteBucketMetadataConfigurationInput structure.""" + + bucket: str | None = ... + """ + The general purpose bucket that you want to remove the metadata + configuration from. + """ + expected_bucket_owner: str | None = ... + """ + The expected bucket owner of the general purpose bucket that you want to + remove the metadata table configuration from. + """ + +@dataclass(kw_only=True) +class DeleteBucketMetadataConfigurationOutput(_SerdeShape): + """Dataclass for DeleteBucketMetadataConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketMetadataTableConfigurationInput(_SerdeShape): + """Dataclass for DeleteBucketMetadataTableConfigurationInput structure.""" + + bucket: str | None = ... + """ + The general purpose bucket that you want to remove the metadata table + configuration from. + """ + expected_bucket_owner: str | None = ... + """ + The expected bucket owner of the general purpose bucket that you want to + remove the metadata table configuration from. + """ + +@dataclass(kw_only=True) +class DeleteBucketMetadataTableConfigurationOutput(_SerdeShape): + """Dataclass for DeleteBucketMetadataTableConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketMetricsConfigurationInput(_SerdeShape): + """Dataclass for DeleteBucketMetricsConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket containing the metrics configuration to delete. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + id: str | None = ... + """ + The ID used to identify the metrics configuration. The ID has a 64 + character limit and can only contain letters, numbers, periods, dashes, + and underscores. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class DeleteBucketMetricsConfigurationOutput(_SerdeShape): + """Dataclass for DeleteBucketMetricsConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketOutput(_SerdeShape): + """Dataclass for DeleteBucketOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketOwnershipControlsInput(_SerdeShape): + """Dataclass for DeleteBucketOwnershipControlsInput structure.""" + + bucket: str | None = ... + """The Amazon S3 bucket whose `OwnershipControls` you want to delete.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class DeleteBucketOwnershipControlsOutput(_SerdeShape): + """Dataclass for DeleteBucketOwnershipControlsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketPolicyInput(_SerdeShape): + """Dataclass for DeleteBucketPolicyInput structure.""" + + bucket: str | None = ... + """ + The bucket name. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class DeleteBucketPolicyOutput(_SerdeShape): + """Dataclass for DeleteBucketPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketReplicationInput(_SerdeShape): + """Dataclass for DeleteBucketReplicationInput structure.""" + + bucket: str | None = ... + """The bucket name.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class DeleteBucketReplicationOutput(_SerdeShape): + """Dataclass for DeleteBucketReplicationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketTaggingInput(_SerdeShape): + """Dataclass for DeleteBucketTaggingInput structure.""" + + bucket: str | None = ... + """The bucket that has the tag set to be removed.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class DeleteBucketTaggingOutput(_SerdeShape): + """Dataclass for DeleteBucketTaggingOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteBucketWebsiteInput(_SerdeShape): + """Dataclass for DeleteBucketWebsiteInput structure.""" + + bucket: str | None = ... + """The bucket name for which you want to remove the website configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class DeleteBucketWebsiteOutput(_SerdeShape): + """Dataclass for DeleteBucketWebsiteOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletedObject(_SerdeShape): + """Information about the deleted object.""" + + key: str | None = ... + """The name of the deleted object.""" + version_id: str | None = ... + """ + The version ID of the deleted object. + + Note: + This functionality is not supported for directory buckets. + """ + delete_marker: bool | None = ... + """ + Indicates whether the specified object version that was permanently + deleted was (true) or was not (false) a delete marker before deletion. + In a simple DELETE, this header indicates whether (true) or not (false) + the current version of the object is a delete marker. To learn more + about delete markers, see [Working with delete + markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). + + Note: + This functionality is not supported for directory buckets. + """ + delete_marker_version_id: str | None = ... + """ + The version ID of the delete marker created as a result of the DELETE + operation. If you delete a specific object version, the value returned + by this header is the version ID of the object version deleted. + + Note: + This functionality is not supported for directory buckets. + """ + +@dataclass(kw_only=True) +class DeleteMarkerEntry(_SerdeShape): + """Information about the delete marker.""" + + owner: Owner | None = ... + """The account that created the delete marker.""" + key: str | None = ... + """The object key.""" + version_id: str | None = ... + """Version ID of an object.""" + is_latest: bool | None = ... + """ + Specifies whether the object is (true) or is not (false) the latest + version of an object. + """ + last_modified: datetime | None = ... + """Date and time when the object was last modified.""" + +@dataclass(kw_only=True) +class DeleteMarkerReplication(_SerdeShape): + """ + Specifies whether Amazon S3 replicates delete markers. If you specify a + `Filter` in your replication configuration, you must also include a + `DeleteMarkerReplication` element. If your `Filter` includes a `Tag` + element, the `DeleteMarkerReplication` `Status` must be set to Disabled, + because Amazon S3 does not support replicating delete markers for + tag-based rules. For an example configuration, see [Basic Rule + Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config). + + For more information about delete marker replication, see [Basic Rule + Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html). + + Note: + If you are using an earlier version of the replication configuration, + Amazon S3 handles replication of delete markers differently. For more + information, see [Backward + Compatibility](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations). + """ + + status: str | None = ... + """ + Indicates whether to replicate delete markers. + + Note: + Indicates whether to replicate delete markers. + """ + +class DeleteMarkerReplicationStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +@dataclass(kw_only=True) +class DeleteObjectAnnotationInput(_SerdeShape): + """Dataclass for DeleteObjectAnnotationInput structure.""" + + bucket: str | None = ... + """The name of the bucket that contains the object.""" + key: str | None = ... + """The object key.""" + annotation_name: str | None = ... + """ + The name of the annotation to delete. Annotation names are UTF-8 encoded + and cannot start with `aws` or `s3` (case-insensitive). + + Length Constraints: Minimum length of 1. Maximum length of 512 bytes. + """ + version_id: str | None = ... + """The version ID of the object.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """The account ID of the expected bucket owner.""" + object_if_match: str | None = ... + """ + If specified, the operation only succeeds if the object's ETag matches + the provided value. + """ + +@dataclass(kw_only=True) +class DeleteObjectAnnotationOutput(_SerdeShape): + """Dataclass for DeleteObjectAnnotationOutput structure.""" + + object_version_id: str | None = ... + """The version ID of the object that the annotation was deleted from.""" + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteObjectInput(_SerdeShape): + """Dataclass for DeleteObjectInput structure.""" + + bucket: str | None = ... + """ + The bucket name of the bucket containing the object. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """Key name of the object to delete.""" + mfa: str | None = ... + """ + The concatenation of the authentication device's serial number, a + space, and the value that is displayed on your authentication device. + Required to permanently delete a versioned object if versioning is + configured with MFA delete enabled. + + Note: + This functionality is not supported for directory buckets. + """ + version_id: str | None = ... + """ + Version ID used to reference a specific version of the object. + + Note: + For directory buckets in this API operation, only the `null` value of + the version ID is supported. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + bypass_governance_retention: bool | None = ... + """ + Indicates whether S3 Object Lock should bypass Governance-mode + restrictions to process this operation. To use this header, you must + have the `s3:BypassGovernanceRetention` permission. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + if_match: str | None = ... + """ + Deletes the object if the ETag (entity tag) value provided during the + delete operation matches the ETag of the object in S3. If the ETag + values do not match, the operation returns a `412 Precondition Failed` + error. + + Expects the ETag value as a string. `If-Match` does accept a string + value of an '*' (asterisk) character to denote a match of any ETag. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + if_match_last_modified_time: datetime | None = ... + """ + If present, the object is deleted only if its modification times matches + the provided `Timestamp`. If the `Timestamp` values do not match, the + operation returns a `412 Precondition Failed` error. If the `Timestamp` + matches or if the object doesn't exist, the operation returns a + `204 Success (No Content)` response. + + Note: + This functionality is only supported for directory buckets. + """ + if_match_size: int | None = ... + """ + If present, the object is deleted only if its size matches the provided + size in bytes. If the `Size` value does not match, the operation returns + a `412 Precondition Failed` error. If the `Size` matches or if the + object doesn't exist, the operation returns a `204 Success (No Content)` + response. + + Note: + This functionality is only supported for directory buckets. + Warning: + You can use the `If-Match`, `x-amz-if-match-last-modified-time` and + `x-amz-if-match-size` conditional headers in conjunction with each-other + or individually. + """ + +@dataclass(kw_only=True) +class DeleteObjectOutput(_SerdeShape): + """Dataclass for DeleteObjectOutput structure.""" + + delete_marker: bool | None = ... + """ + Indicates whether the specified object version that was permanently + deleted was (true) or was not (false) a delete marker before deletion. + In a simple DELETE, this header indicates whether (true) or not (false) + the current version of the object is a delete marker. To learn more + about delete markers, see [Working with delete + markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). + + Note: + This functionality is not supported for directory buckets. + """ + version_id: str | None = ... + """ + Returns the version ID of the delete marker created as a result of the + DELETE operation. + + Note: + This functionality is not supported for directory buckets. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteObjectsInput(_SerdeShape): + """Dataclass for DeleteObjectsInput structure.""" + + bucket: str | None = ... + """ + The bucket name containing the objects to delete. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + delete: Delete | None = ... + """Container for the request.""" + mfa: str | None = ... + """ + The concatenation of the authentication device's serial number, a + space, and the value that is displayed on your authentication device. + Required to permanently delete a versioned object if versioning is + configured with MFA delete enabled. + + When performing the `DeleteObjects` operation on an MFA delete enabled + bucket, which attempts to delete the specified versioned objects, you + must include an MFA token. If you don't provide an MFA token, the + entire request will fail, even if there are non-versioned objects that + you are trying to delete. If you provide an invalid token, whether there + are versioned object keys in the request or not, the entire Multi-Object + Delete request will fail. For information about MFA Delete, see [MFA + Delete](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + bypass_governance_retention: bool | None = ... + """ + Specifies whether you want to delete this object even if it has a + Governance-type Object Lock in place. To use this header, you must have + the `s3:BypassGovernanceRetention` permission. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum-`*`algorithm`*` ` or + `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request with + the HTTP status code `400 Bad Request`. + + For the `x-amz-checksum-`*`algorithm`*` ` header, replace + ` `*`algorithm`*` ` with the supported algorithm from the following + list: + + - `CRC32` + + - `CRC32C` + + - `CRC64NVME` + + - `MD5` + + - `SHA1` + + - `SHA256` + + - `SHA512` + + - `XXHASH3` + + - `XXHASH64` + + - `XXHASH128` + + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If the individual checksum value you provide through + `x-amz-checksum-`*`algorithm`*` ` doesn't match the checksum algorithm + you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the + request with a `BadDigest` error. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + +@dataclass(kw_only=True) +class DeleteObjectsOutput(_SerdeShape): + """Dataclass for DeleteObjectsOutput structure.""" + + deleted: list[DeletedObject] | None = ... + """ + Container element for a successful delete. It identifies the object that + was successfully deleted. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + errors: list[Error] | None = ... + """ + Container for a failed delete action that describes the object that + Amazon S3 attempted to delete and the error it encountered. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeleteObjectTaggingInput(_SerdeShape): + """Dataclass for DeleteObjectTaggingInput structure.""" + + bucket: str | None = ... + """ + The bucket name containing the objects from which to remove the tags. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """ + The key that identifies the object in the bucket from which to remove + all tags. + """ + version_id: str | None = ... + """The versionId of the object that the tag-set will be removed from.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class DeleteObjectTaggingOutput(_SerdeShape): + """Dataclass for DeleteObjectTaggingOutput structure.""" + + version_id: str | None = ... + """The versionId of the object the tag-set was removed from.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class DeletePublicAccessBlockInput(_SerdeShape): + """Dataclass for DeletePublicAccessBlockInput structure.""" + + bucket: str | None = ... + """ + The Amazon S3 bucket whose `PublicAccessBlock` configuration you want to + delete. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class DeletePublicAccessBlockOutput(_SerdeShape): + """Dataclass for DeletePublicAccessBlockOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class Destination(_SerdeShape): + """ + Specifies information about where to publish analysis or configuration + results for an Amazon S3 bucket and S3 Replication Time Control (S3 + RTC). + """ + + bucket: str + """ + The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to + store the results. + """ + account: str | None = ... + """ + Destination bucket owner account ID. In a cross-account scenario, if you + direct Amazon S3 to change replica ownership to the Amazon Web Services + account that owns the destination bucket by specifying the + `AccessControlTranslation` property, this is the account ID of the + destination bucket owner. For more information, see [Replication + Additional Configuration: Changing the Replica + Owner](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html) + in the *Amazon S3 User Guide*. + """ + storage_class: str | None = ... + """ + The storage class to use when replicating objects, such as S3 Standard + or reduced redundancy. By default, Amazon S3 uses the storage class of + the source object to create the object replica. + + For valid values, see the `StorageClass` element of the [PUT Bucket + replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) + action in the *Amazon S3 API Reference*. + + `FSX_OPENZFS` is not an accepted value when replicating objects. + """ + access_control_translation: AccessControlTranslation | None = ... + """ + Specify this only in a cross-account scenario (where source and + destination bucket owners are not the same), and you want to change + replica ownership to the Amazon Web Services account that owns the + destination bucket. If this is not specified in the replication + configuration, the replicas are owned by same Amazon Web Services + account that owns the source object. + """ + encryption_configuration: EncryptionConfiguration | None = ... + """ + A container that provides information about encryption. If + `SourceSelectionCriteria` is specified, you must specify this element. + """ + replication_time: ReplicationTime | None = ... + """ + A container specifying S3 Replication Time Control (S3 RTC), including + whether S3 RTC is enabled and the time when all objects and operations + on objects must be replicated. Must be specified together with a + `Metrics` block. + """ + metrics: Metrics | None = ... + """ + A container specifying replication metrics-related settings enabling + replication metrics and events. + """ + +@dataclass(kw_only=True) +class DestinationResult(_SerdeShape): + """The destination information for the S3 Metadata configuration.""" + + table_bucket_type: str | None = ... + """ + The type of the table bucket where the metadata configuration is stored. + The `aws` value indicates an Amazon Web Services managed table bucket, + and the `customer` value indicates a customer-managed table bucket. V2 + metadata configurations are stored in Amazon Web Services managed table + buckets, and V1 metadata configurations are stored in customer-managed + table buckets. + """ + table_bucket_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the table bucket where the metadata + configuration is stored. + """ + table_namespace: str | None = ... + """ + The namespace in the table bucket where the metadata tables for a + metadata configuration are stored. + """ + +class EncodingType(UnknownEnumMixin, StrEnum): + """ + Encoding type used by Amazon S3 to encode the [object + keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) + in the response. Responses are encoded only in UTF-8. An object key can + contain any Unicode character. However, the XML 1.0 parser can't parse + certain characters, such as characters with an ASCII value from 0 to 10. + For characters that aren't supported in XML 1.0, you can add this + parameter to request that Amazon S3 encode the keys in the response. For + more information about characters to avoid in object key names, see + [Object key naming + guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). + + Note: + When using the URL encoding type, non-ASCII characters that are used in + an object's key name will be percent-encoded according to UTF-8 code + values. For example, the object `test_file(3).png` will appear as + `test_file%283%29.png`. + """ + + URL = "url" + +@dataclass(kw_only=True) +class Encryption(_SerdeShape): + """Contains the type of server-side encryption used.""" + + encryption_type: str + """ + The server-side encryption algorithm used when storing job results in + Amazon S3 (for example, AES256, `aws:kms`). + """ + kms_key_id: str | None = ... + """ + If the encryption type is `aws:kms`, this optional value specifies the + ID of the symmetric encryption customer managed key to use for + encryption of job results. Amazon S3 only supports symmetric encryption + KMS keys. For more information, see [Asymmetric keys in + KMS](https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) + in the *Amazon Web Services Key Management Service Developer Guide*. + """ + kms_context: str | None = ... + """ + If the encryption type is `aws:kms`, this optional value can be used to + specify the encryption context for the restore results. + """ + +@dataclass(kw_only=True) +class EncryptionConfiguration(_SerdeShape): + """ + Specifies encryption-related information for an Amazon S3 bucket that is + a destination for replicated objects. + + Note: + If you're specifying a customer managed KMS key, we recommend using a + fully qualified KMS key ARN. If you use a KMS key alias instead, then + KMS resolves the key within the requester's account. This behavior can + result in data that's encrypted with a KMS key that belongs to the + requester, and not the bucket owner. + """ + + replica_kms_key_id: str | None = ... + """ + Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon + Web Services KMS key stored in Amazon Web Services Key Management + Service (KMS) for the destination bucket. Amazon S3 uses this key to + encrypt replica objects. Amazon S3 only supports symmetric encryption + KMS keys. For more information, see [Asymmetric keys in Amazon Web + Services + KMS](https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) + in the *Amazon Web Services Key Management Service Developer Guide*. + """ + +class EncryptionType(UnknownEnumMixin, StrEnum): + NONE = "NONE" + SSE_C = "SSE-C" + +@dataclass(kw_only=True) +class EncryptionTypeMismatch(ServiceError, _SerdeShape): + """ + The existing object was created with a different encryption type. + Subsequent write requests must include the appropriate encryption + parameters in the request or while creating the session. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class EndEvent(_SerdeShape): + """ + A message that indicates the request is complete and no more messages + will be sent. You should not assume that the request is complete until + the client receives an `EndEvent`. + """ + +@dataclass(kw_only=True) +class Error(_SerdeShape): + """ + Note: + For information about using the Amazon S3 API---including error + handling---see the [Amazon S3 Developer + Guide](https://docs.aws.amazon.com/AmazonS3/latest/developerguide/Welcome.html). + + Container for all error elements. + """ + + key: str | None = ... + """The error key.""" + version_id: str | None = ... + """ + The version ID of the error. + + Note: + This functionality is not supported for directory buckets. + """ + code: str | None = ... + """ + The error code is a string that uniquely identifies an error condition. + It is meant to be read and understood by programs that detect and handle + errors by type. The following is a list of Amazon S3 error codes. For + more information, see [Error + responses](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html). + + - - *Code:* AccessDenied + + - *Description:* Access Denied + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* AccountProblem + + - *Description:* There is a problem with your Amazon Web Services + account that prevents the action from completing successfully. + Contact Amazon Web Services Support for further assistance. + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* AllAccessDisabled + + - *Description:* All access to this Amazon S3 resource has been + disabled. Contact Amazon Web Services Support for further + assistance. + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* AmbiguousGrantByEmailAddress + + - *Description:* The email address you provided is associated with + more than one account. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* AuthorizationHeaderMalformed + + - *Description:* The authorization header you provided is invalid. + + - *HTTP Status Code:* 400 Bad Request + + - *HTTP Status Code:* N/A + + - - *Code:* BadDigest + + - *Description:* The Content-MD5 you specified did not match what we + received. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* BucketAlreadyExists + + - *Description:* The requested bucket name is not available. The + bucket namespace is shared by all users of the system. Please select + a different name and try again. + + - *HTTP Status Code:* 409 Conflict + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* BucketAlreadyOwnedByYou + + - *Description:* The bucket you tried to create already exists, and + you own it. Amazon S3 returns this error in all Amazon Web Services + Regions except in the North Virginia Region. For legacy + compatibility, if you re-create an existing bucket that you already + own in the North Virginia Region, Amazon S3 returns 200 OK and + resets the bucket access control lists (ACLs). + + - *Code:* 409 Conflict (in all Regions except the North Virginia + Region) + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* BucketNotEmpty + + - *Description:* The bucket you tried to delete is not empty. + + - *HTTP Status Code:* 409 Conflict + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* CredentialsNotSupported + + - *Description:* This request does not support credentials. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* CrossLocationLoggingProhibited + + - *Description:* Cross-location logging not allowed. Buckets in one + geographic location cannot log information to a bucket in another + location. + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* EntityTooSmall + + - *Description:* Your proposed upload is smaller than the minimum + allowed object size. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* EntityTooLarge + + - *Description:* Your proposed upload exceeds the maximum allowed + object size. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* ExpiredToken + + - *Description:* The provided token has expired. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* IllegalVersioningConfigurationException + + - *Description:* Indicates that the versioning configuration specified + in the request is invalid. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* IncompleteBody + + - *Description:* You did not provide the number of bytes specified by + the Content-Length HTTP header + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* IncorrectNumberOfFilesInPostRequest + + - *Description:* POST requires exactly one file upload per request. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InlineDataTooLarge + + - *Description:* Inline data exceeds the maximum allowed size. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InternalError + + - *Description:* We encountered an internal error. Please try again. + + - *HTTP Status Code:* 500 Internal Server Error + + - *SOAP Fault Code Prefix:* Server + + - - *Code:* InvalidAccessKeyId + + - *Description:* The Amazon Web Services access key ID you provided + does not exist in our records. + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidAddressingHeader + + - *Description:* You must specify the Anonymous role. + + - *HTTP Status Code:* N/A + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidArgument + + - *Description:* Invalid Argument + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidBucketName + + - *Description:* The specified bucket is not valid. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidBucketState + + - *Description:* The request is not valid with the current state of + the bucket. + + - *HTTP Status Code:* 409 Conflict + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidDigest + + - *Description:* The Content-MD5 you specified is not valid. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidEncryptionAlgorithmError + + - *Description:* The encryption request you specified is not valid. + The valid value is AES256. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidLocationConstraint + + - *Description:* The specified location constraint is not valid. For + more information about Regions, see [How to Select a Region for Your + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro). + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidObjectState + + - *Description:* The action is not valid for the current state of the + object. + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidPart + + - *Description:* One or more of the specified parts could not be + found. The part might not have been uploaded, or the specified + entity tag might not have matched the part's entity tag. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidPartOrder + + - *Description:* The list of parts was not in ascending order. Parts + list must be specified in order by part number. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidPayer + + - *Description:* All access to this object has been disabled. Please + contact Amazon Web Services Support for further assistance. + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidPolicyDocument + + - *Description:* The content of the form does not meet the conditions + specified in the policy document. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidRange + + - *Description:* The requested range cannot be satisfied. + + - *HTTP Status Code:* 416 Requested Range Not Satisfiable + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidRequest + + - *Description:* Please use `AWS4-HMAC-SHA256`. + + - *HTTP Status Code:* 400 Bad Request + + - *Code:* N/A + + - - *Code:* InvalidRequest + + - *Description:* SOAP requests must be made over an HTTPS connection. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidRequest + + - *Description:* Amazon S3 Transfer Acceleration is not supported for + buckets with non-DNS compliant names. + + - *HTTP Status Code:* 400 Bad Request + + - *Code:* N/A + + - - *Code:* InvalidRequest + + - *Description:* Amazon S3 Transfer Acceleration is not supported for + buckets with periods (.) in their names. + + - *HTTP Status Code:* 400 Bad Request + + - *Code:* N/A + + - - *Code:* InvalidRequest + + - *Description:* Amazon S3 Transfer Accelerate endpoint only supports + virtual style requests. + + - *HTTP Status Code:* 400 Bad Request + + - *Code:* N/A + + - - *Code:* InvalidRequest + + - *Description:* Amazon S3 Transfer Accelerate is not configured on + this bucket. + + - *HTTP Status Code:* 400 Bad Request + + - *Code:* N/A + + - - *Code:* InvalidRequest + + - *Description:* Amazon S3 Transfer Accelerate is disabled on this + bucket. + + - *HTTP Status Code:* 400 Bad Request + + - *Code:* N/A + + - - *Code:* InvalidRequest + + - *Description:* Amazon S3 Transfer Acceleration is not supported on + this bucket. Contact Amazon Web Services Support for more + information. + + - *HTTP Status Code:* 400 Bad Request + + - *Code:* N/A + + - - *Code:* InvalidRequest + + - *Description:* Amazon S3 Transfer Acceleration cannot be enabled on + this bucket. Contact Amazon Web Services Support for more + information. + + - *HTTP Status Code:* 400 Bad Request + + - *Code:* N/A + + - - *Code:* InvalidSecurity + + - *Description:* The provided security credentials are not valid. + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidSOAPRequest + + - *Description:* The SOAP request body is invalid. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidStorageClass + + - *Description:* The storage class you specified is not valid. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidTargetBucketForLogging + + - *Description:* The target bucket for logging does not exist, is not + owned by you, or does not have the appropriate grants for the + log-delivery group. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidToken + + - *Description:* The provided token is malformed or otherwise invalid. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* InvalidURI + + - *Description:* Couldn't parse the specified URI. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* KeyTooLongError + + - *Description:* Your key is too long. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MalformedACLError + + - *Description:* The XML you provided was not well-formed or did not + validate against our published schema. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MalformedPOSTRequest + + - *Description:* The body of your POST request is not well-formed + multipart/form-data. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MalformedXML + + - *Description:* This happens when the user sends malformed XML (XML + that doesn't conform to the published XSD) for the configuration. + The error message is, \"The XML you provided was not well-formed or + did not validate against our published schema.\" + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MaxMessageLengthExceeded + + - *Description:* Your request was too big. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MaxPostPreDataLengthExceededError + + - *Description:* Your POST request fields preceding the upload file + were too large. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MetadataTooLarge + + - *Description:* Your metadata headers exceed the maximum allowed + metadata size. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MethodNotAllowed + + - *Description:* The specified method is not allowed against this + resource. + + - *HTTP Status Code:* 405 Method Not Allowed + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MissingAttachment + + - *Description:* A SOAP attachment was expected, but none were found. + + - *HTTP Status Code:* N/A + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MissingContentLength + + - *Description:* You must provide the Content-Length HTTP header. + + - *HTTP Status Code:* 411 Length Required + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MissingRequestBodyError + + - *Description:* This happens when the user sends an empty XML + document as a request. The error message is, \"Request body is + empty.\" + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MissingSecurityElement + + - *Description:* The SOAP 1.1 request is missing a security element. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* MissingSecurityHeader + + - *Description:* Your request is missing a required header. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* NoLoggingStatusForKey + + - *Description:* There is no such thing as a logging status + subresource for a key. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* NoSuchBucket + + - *Description:* The specified bucket does not exist. + + - *HTTP Status Code:* 404 Not Found + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* NoSuchBucketPolicy + + - *Description:* The specified bucket does not have a bucket policy. + + - *HTTP Status Code:* 404 Not Found + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* NoSuchKey + + - *Description:* The specified key does not exist. + + - *HTTP Status Code:* 404 Not Found + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* NoSuchLifecycleConfiguration + + - *Description:* The lifecycle configuration does not exist. + + - *HTTP Status Code:* 404 Not Found + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* NoSuchUpload + + - *Description:* The specified multipart upload does not exist. The + upload ID might be invalid, or the multipart upload might have been + aborted or completed. + + - *HTTP Status Code:* 404 Not Found + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* NoSuchVersion + + - *Description:* Indicates that the version ID specified in the + request does not match an existing version. + + - *HTTP Status Code:* 404 Not Found + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* NotImplemented + + - *Description:* A header you provided implies functionality that is + not implemented. + + - *HTTP Status Code:* 501 Not Implemented + + - *SOAP Fault Code Prefix:* Server + + - - *Code:* NotSignedUp + + - *Description:* Your account is not signed up for the Amazon S3 + service. You must sign up before you can use Amazon S3. You can sign + up at the following URL: [Amazon S3](http://aws.amazon.com/s3) + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* OperationAborted + + - *Description:* A conflicting conditional action is currently in + progress against this resource. Try again. + + - *HTTP Status Code:* 409 Conflict + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* PermanentRedirect + + - *Description:* The bucket you are attempting to access must be + addressed using the specified endpoint. Send all future requests to + this endpoint. + + - *HTTP Status Code:* 301 Moved Permanently + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* PreconditionFailed + + - *Description:* At least one of the preconditions you specified did + not hold. + + - *HTTP Status Code:* 412 Precondition Failed + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* Redirect + + - *Description:* Temporary redirect. + + - *HTTP Status Code:* 307 Moved Temporarily + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* RestoreAlreadyInProgress + + - *Description:* Object restore is already in progress. + + - *HTTP Status Code:* 409 Conflict + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* RequestIsNotMultiPartContent + + - *Description:* Bucket POST must be of the enclosure-type + multipart/form-data. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* RequestTimeout + + - *Description:* Your socket connection to the server was not read + from or written to within the timeout period. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* RequestTimeTooSkewed + + - *Description:* The difference between the request time and the + server's time is too large. + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* RequestTorrentOfBucketError + + - *Description:* Requesting the torrent file of a bucket is not + permitted. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* SignatureDoesNotMatch + + - *Description:* The request signature we calculated does not match + the signature you provided. Check your Amazon Web Services secret + access key and signing method. For more information, see [REST + Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html) + and [SOAP + Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html) + for details. + + - *HTTP Status Code:* 403 Forbidden + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* ServiceUnavailable + + - *Description:* Service is unable to handle request. + + - *HTTP Status Code:* 503 Service Unavailable + + - *SOAP Fault Code Prefix:* Server + + - - *Code:* SlowDown + + - *Description:* Reduce your request rate. + + - *HTTP Status Code:* 503 Slow Down + + - *SOAP Fault Code Prefix:* Server + + - - *Code:* TemporaryRedirect + + - *Description:* You are being redirected to the bucket while DNS + updates. + + - *HTTP Status Code:* 307 Moved Temporarily + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* TokenRefreshRequired + + - *Description:* The provided token must be refreshed. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* TooManyBuckets + + - *Description:* You have attempted to create more buckets than + allowed. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* UnexpectedContent + + - *Description:* This request does not support content. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* UnresolvableGrantByEmailAddress + + - *Description:* The email address you provided does not match any + account on record. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + + - - *Code:* UserKeyMustBeSpecified + + - *Description:* The bucket POST must contain the specified field + name. If it is specified, check the order of the fields. + + - *HTTP Status Code:* 400 Bad Request + + - *SOAP Fault Code Prefix:* Client + """ + message: str | None = ... + """ + The error message contains a generic description of the error condition + in English. It is intended for a human audience. Simple programs display + the message directly to the end user if they encounter an error + condition they don't know how or don't care to handle. Sophisticated + programs with more exhaustive error handling and proper + internationalization are more likely to ignore the error message. + """ + +@dataclass(kw_only=True) +class ErrorDetails(_SerdeShape): + """ + If an S3 Metadata V1 `CreateBucketMetadataTableConfiguration` or V2 + `CreateBucketMetadataConfiguration` request succeeds, but S3 Metadata + was unable to create the table, this structure contains the error code + and error message. + + Note: + If you created your S3 Metadata configuration before July 15, 2025, we + recommend that you delete and re-create your configuration by using + [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) + so that you can expire journal table records and create a live inventory + table. + """ + + error_code: str | None = ... + """ + If the V1 `CreateBucketMetadataTableConfiguration` request succeeds, but + S3 Metadata was unable to create the table, this structure contains the + error code. The possible error codes and error messages are as follows: + + - `AccessDeniedCreatingResources` - You don't have sufficient + permissions to create the required resources. Make sure that you have + `s3tables:CreateNamespace`, `s3tables:CreateTable`, + `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and + then try again. To create a new metadata table, you must delete the + metadata configuration for this bucket, and then create a new metadata + configuration. + + - `AccessDeniedWritingToTable` - Unable to write to the metadata table + because of missing resource permissions. To fix the resource policy, + Amazon S3 needs to create a new metadata table. To create a new + metadata table, you must delete the metadata configuration for this + bucket, and then create a new metadata configuration. + + - `DestinationTableNotFound` - The destination table doesn't exist. To + create a new metadata table, you must delete the metadata + configuration for this bucket, and then create a new metadata + configuration. + + - `ServerInternalError` - An internal error has occurred. To create a + new metadata table, you must delete the metadata configuration for + this bucket, and then create a new metadata configuration. + + - `TableAlreadyExists` - The table that you specified already exists in + the table bucket's namespace. Specify a different table name. To + create a new metadata table, you must delete the metadata + configuration for this bucket, and then create a new metadata + configuration. + + - `TableBucketNotFound` - The table bucket that you specified doesn't + exist in this Amazon Web Services Region and account. Create or choose + a different table bucket. To create a new metadata table, you must + delete the metadata configuration for this bucket, and then create a + new metadata configuration. + + If the V2 `CreateBucketMetadataConfiguration` request succeeds, but S3 + Metadata was unable to create the table, this structure contains the + error code. The possible error codes and error messages are as follows: + + - `AccessDeniedCreatingResources` - You don't have sufficient + permissions to create the required resources. Make sure that you have + `s3tables:CreateTableBucket`, `s3tables:CreateNamespace`, + `s3tables:CreateTable`, `s3tables:GetTable`, + `s3tables:PutTablePolicy`, `kms:DescribeKey`, and + `s3tables:PutTableEncryption` permissions. Additionally, ensure that + the KMS key used to encrypt the table still exists, is active and has + a resource policy granting access to the S3 service principals + '`maintenance.s3tables.amazonaws.com`' and + '`metadata.s3.amazonaws.com`'. To create a new metadata table, you + must delete the metadata configuration for this bucket, and then + create a new metadata configuration. + + - `AccessDeniedWritingToTable` - Unable to write to the metadata table + because of missing resource permissions. To fix the resource policy, + Amazon S3 needs to create a new metadata table. To create a new + metadata table, you must delete the metadata configuration for this + bucket, and then create a new metadata configuration. + + - `DestinationTableNotFound` - The destination table doesn't exist. To + create a new metadata table, you must delete the metadata + configuration for this bucket, and then create a new metadata + configuration. + + - `ServerInternalError` - An internal error has occurred. To create a + new metadata table, you must delete the metadata configuration for + this bucket, and then create a new metadata configuration. + + - `JournalTableAlreadyExists` - A journal table already exists in the + Amazon Web Services managed table bucket's namespace. Delete the + journal table, and then try again. To create a new metadata table, you + must delete the metadata configuration for this bucket, and then + create a new metadata configuration. + + - `InventoryTableAlreadyExists` - An inventory table already exists in + the Amazon Web Services managed table bucket's namespace. Delete the + inventory table, and then try again. To create a new metadata table, + you must delete the metadata configuration for this bucket, and then + create a new metadata configuration. + + - `JournalTableNotAvailable` - The journal table that the inventory + table relies on has a `FAILED` status. An inventory table requires a + journal table with an `ACTIVE` status. To create a new journal or + inventory table, you must delete the metadata configuration for this + bucket, along with any journal or inventory tables, and then create a + new metadata configuration. + + - `NoSuchBucket` - The specified general purpose bucket does not exist. + """ + error_message: str | None = ... + """ + If the V1 `CreateBucketMetadataTableConfiguration` request succeeds, but + S3 Metadata was unable to create the table, this structure contains the + error message. The possible error codes and error messages are as + follows: + + - `AccessDeniedCreatingResources` - You don't have sufficient + permissions to create the required resources. Make sure that you have + `s3tables:CreateNamespace`, `s3tables:CreateTable`, + `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and + then try again. To create a new metadata table, you must delete the + metadata configuration for this bucket, and then create a new metadata + configuration. + + - `AccessDeniedWritingToTable` - Unable to write to the metadata table + because of missing resource permissions. To fix the resource policy, + Amazon S3 needs to create a new metadata table. To create a new + metadata table, you must delete the metadata configuration for this + bucket, and then create a new metadata configuration. + + - `DestinationTableNotFound` - The destination table doesn't exist. To + create a new metadata table, you must delete the metadata + configuration for this bucket, and then create a new metadata + configuration. + + - `ServerInternalError` - An internal error has occurred. To create a + new metadata table, you must delete the metadata configuration for + this bucket, and then create a new metadata configuration. + + - `TableAlreadyExists` - The table that you specified already exists in + the table bucket's namespace. Specify a different table name. To + create a new metadata table, you must delete the metadata + configuration for this bucket, and then create a new metadata + configuration. + + - `TableBucketNotFound` - The table bucket that you specified doesn't + exist in this Amazon Web Services Region and account. Create or choose + a different table bucket. To create a new metadata table, you must + delete the metadata configuration for this bucket, and then create a + new metadata configuration. + + If the V2 `CreateBucketMetadataConfiguration` request succeeds, but S3 + Metadata was unable to create the table, this structure contains the + error code. The possible error codes and error messages are as follows: + + - `AccessDeniedCreatingResources` - You don't have sufficient + permissions to create the required resources. Make sure that you have + `s3tables:CreateTableBucket`, `s3tables:CreateNamespace`, + `s3tables:CreateTable`, `s3tables:GetTable`, + `s3tables:PutTablePolicy`, `kms:DescribeKey`, and + `s3tables:PutTableEncryption` permissions. Additionally, ensure that + the KMS key used to encrypt the table still exists, is active and has + a resource policy granting access to the S3 service principals + '`maintenance.s3tables.amazonaws.com`' and + '`metadata.s3.amazonaws.com`'. To create a new metadata table, you + must delete the metadata configuration for this bucket, and then + create a new metadata configuration. + + - `AccessDeniedWritingToTable` - Unable to write to the metadata table + because of missing resource permissions. To fix the resource policy, + Amazon S3 needs to create a new metadata table. To create a new + metadata table, you must delete the metadata configuration for this + bucket, and then create a new metadata configuration. + + - `DestinationTableNotFound` - The destination table doesn't exist. To + create a new metadata table, you must delete the metadata + configuration for this bucket, and then create a new metadata + configuration. + + - `ServerInternalError` - An internal error has occurred. To create a + new metadata table, you must delete the metadata configuration for + this bucket, and then create a new metadata configuration. + + - `JournalTableAlreadyExists` - A journal table already exists in the + Amazon Web Services managed table bucket's namespace. Delete the + journal table, and then try again. To create a new metadata table, you + must delete the metadata configuration for this bucket, and then + create a new metadata configuration. + + - `InventoryTableAlreadyExists` - An inventory table already exists in + the Amazon Web Services managed table bucket's namespace. Delete the + inventory table, and then try again. To create a new metadata table, + you must delete the metadata configuration for this bucket, and then + create a new metadata configuration. + + - `JournalTableNotAvailable` - The journal table that the inventory + table relies on has a `FAILED` status. An inventory table requires a + journal table with an `ACTIVE` status. To create a new journal or + inventory table, you must delete the metadata configuration for this + bucket, along with any journal or inventory tables, and then create a + new metadata configuration. + + - `NoSuchBucket` - The specified general purpose bucket does not exist. + """ + +@dataclass(kw_only=True) +class ErrorDocument(_SerdeShape): + """The error information.""" + + key: str + """ + The object key name to use when a 4XX class error occurs. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + +class Event(UnknownEnumMixin, StrEnum): + """The bucket event for which to send notifications.""" + + S3_REDUCED_REDUNDANCY_LOST_OBJECT = "s3:ReducedRedundancyLostObject" + S3_OBJECT_CREATED_ = "s3:ObjectCreated:*" + S3_OBJECT_CREATED_PUT = "s3:ObjectCreated:Put" + S3_OBJECT_CREATED_POST = "s3:ObjectCreated:Post" + S3_OBJECT_CREATED_COPY = "s3:ObjectCreated:Copy" + S3_OBJECT_CREATED_COMPLETE_MULTIPART_UPLOAD = ( + "s3:ObjectCreated:CompleteMultipartUpload" + ) + S3_OBJECT_REMOVED_ = "s3:ObjectRemoved:*" + S3_OBJECT_REMOVED_DELETE = "s3:ObjectRemoved:Delete" + S3_OBJECT_REMOVED_DELETE_MARKER_CREATED = "s3:ObjectRemoved:DeleteMarkerCreated" + S3_OBJECT_RESTORE_ = "s3:ObjectRestore:*" + S3_OBJECT_RESTORE_POST = "s3:ObjectRestore:Post" + S3_OBJECT_RESTORE_COMPLETED = "s3:ObjectRestore:Completed" + S3_REPLICATION_ = "s3:Replication:*" + S3_REPLICATION_OPERATION_FAILED_REPLICATION = ( + "s3:Replication:OperationFailedReplication" + ) + S3_REPLICATION_OPERATION_NOT_TRACKED = "s3:Replication:OperationNotTracked" + S3_REPLICATION_OPERATION_MISSED_THRESHOLD = ( + "s3:Replication:OperationMissedThreshold" + ) + S3_REPLICATION_OPERATION_REPLICATED_AFTER_THRESHOLD = ( + "s3:Replication:OperationReplicatedAfterThreshold" + ) + S3_OBJECT_RESTORE_DELETE = "s3:ObjectRestore:Delete" + S3_LIFECYCLE_TRANSITION = "s3:LifecycleTransition" + S3_INTELLIGENT_TIERING = "s3:IntelligentTiering" + S3_OBJECT_ACL_PUT = "s3:ObjectAcl:Put" + S3_LIFECYCLE_EXPIRATION_ = "s3:LifecycleExpiration:*" + S3_LIFECYCLE_EXPIRATION_DELETE = "s3:LifecycleExpiration:Delete" + S3_LIFECYCLE_EXPIRATION_DELETE_MARKER_CREATED = ( + "s3:LifecycleExpiration:DeleteMarkerCreated" + ) + S3_OBJECT_TAGGING_ = "s3:ObjectTagging:*" + S3_OBJECT_TAGGING_PUT = "s3:ObjectTagging:Put" + S3_OBJECT_TAGGING_DELETE = "s3:ObjectTagging:Delete" + S3_OBJECT_ANNOTATION_ = "s3:ObjectAnnotation:*" + S3_OBJECT_ANNOTATION_PUT = "s3:ObjectAnnotation:Put" + S3_OBJECT_ANNOTATION_DELETE = "s3:ObjectAnnotation:Delete" + S3_OBJECT_RETENTION_PUT = "s3:ObjectRetention:Put" + +@dataclass(kw_only=True) +class EventBridgeConfiguration(_SerdeShape): + """A container for specifying the configuration for Amazon EventBridge.""" + +@dataclass(kw_only=True) +class EventHoldDuration(_SerdeShape): + """ + Contains the event hold duration configuration, specified in either days + or years. + """ + + days: int | None = ... + """ + The number of days for the event hold duration. The minimum value is 1 + and the maximum value is 36,500. + """ + years: int | None = ... + """ + The number of years for the event hold duration. The minimum value is 1 + and the maximum value is 100. + """ + +@dataclass(kw_only=True) +class ExistingObjectReplication(_SerdeShape): + """ + Optional configuration to replicate existing source bucket objects. + + Note: + This parameter is no longer supported. To replicate existing objects, + see [Replicating existing objects with S3 Batch + Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) + in the *Amazon S3 User Guide*. + """ + + status: str + """Specifies whether Amazon S3 replicates existing source bucket objects.""" + +class ExistingObjectReplicationStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ExpirationState(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +class ExpirationStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ExpressionType(UnknownEnumMixin, StrEnum): + SQL = "SQL" + +class FileHeaderInfo(UnknownEnumMixin, StrEnum): + USE = "USE" + IGNORE = "IGNORE" + NONE = "NONE" + +@dataclass(kw_only=True) +class FilterRule(_SerdeShape): + """ + Specifies the Amazon S3 object key name to filter on. An object key name + is the name assigned to an object in your Amazon S3 bucket. You specify + whether to filter on the suffix or prefix of the object key name. A + prefix is a specific string of characters at the beginning of an object + key name, which you can use to organize objects. For example, you can + start the key names of related objects with a prefix, such as `2023-` or + `engineering/`. Then, you can use `FilterRule` to find objects in a + bucket with key names that have the same prefix. A suffix is similar to + a prefix, but it is at the end of the object key name instead of at the + beginning. + """ + + name: str | None = ... + """ + The object key name prefix or suffix identifying one or more objects to + which the filtering rule applies. The maximum length is 1,024 + characters. Overlapping prefixes and suffixes are not supported. For + more information, see [Configuring Event + Notifications](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) + in the *Amazon S3 User Guide*. + """ + value: str | None = ... + """The value that the filter searches for in object key names.""" + +class FilterRuleName(UnknownEnumMixin, StrEnum): + PREFIX = "prefix" + SUFFIX = "suffix" + +@dataclass(kw_only=True) +class GetBucketAbacInput(_SerdeShape): + """Dataclass for GetBucketAbacInput structure.""" + + bucket: str | None = ... + """The name of the general purpose bucket.""" + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID of the general purpose bucket's + owner. + """ + +@dataclass(kw_only=True) +class GetBucketAbacOutput(_SerdeShape): + """Dataclass for GetBucketAbacOutput structure.""" + + abac_status: AbacStatus | None = ... + """The ABAC status of the general purpose bucket.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketAccelerateConfigurationInput(_SerdeShape): + """Dataclass for GetBucketAccelerateConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket for which the accelerate configuration is + retrieved. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + +@dataclass(kw_only=True) +class GetBucketAccelerateConfigurationOutput(_SerdeShape): + """Dataclass for GetBucketAccelerateConfigurationOutput structure.""" + + status: str | None = ... + """The accelerate configuration of the bucket.""" + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketAclInput(_SerdeShape): + """Dataclass for GetBucketAclInput structure.""" + + bucket: str | None = ... + """ + Specifies the S3 bucket whose ACL is being requested. + + When you use this API operation with an access point, provide the alias + of the access point in place of the bucket name. + + When you use this API operation with an Object Lambda access point, + provide the alias of the Object Lambda access point in place of the + bucket name. If the Object Lambda access point alias in a request is not + valid, the error code `InvalidAccessPointAliasError` is returned. For + more information about `InvalidAccessPointAliasError`, see [List of + Error + Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketAclOutput(_SerdeShape): + """Dataclass for GetBucketAclOutput structure.""" + + owner: Owner | None = ... + """Container for the bucket owner's ID.""" + grants: list[Grant] | None = ... + """A list of grants.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketAnalyticsConfigurationInput(_SerdeShape): + """Dataclass for GetBucketAnalyticsConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket from which an analytics configuration is + retrieved. + """ + id: str | None = ... + """The ID that identifies the analytics configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketAnalyticsConfigurationOutput(_SerdeShape): + """Dataclass for GetBucketAnalyticsConfigurationOutput structure.""" + + analytics_configuration: AnalyticsConfiguration | None = ... + """The configuration and any analyses for the analytics filter.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketCorsInput(_SerdeShape): + """Dataclass for GetBucketCorsInput structure.""" + + bucket: str | None = ... + """ + The bucket name for which to get the cors configuration. + + When you use this API operation with an access point, provide the alias + of the access point in place of the bucket name. + + When you use this API operation with an Object Lambda access point, + provide the alias of the Object Lambda access point in place of the + bucket name. If the Object Lambda access point alias in a request is not + valid, the error code `InvalidAccessPointAliasError` is returned. For + more information about `InvalidAccessPointAliasError`, see [List of + Error + Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketCorsOutput(_SerdeShape): + """Dataclass for GetBucketCorsOutput structure.""" + + cors_rules: list[CORSRule] | None = ... + """ + A set of origins and methods (cross-origin access that you want to + allow). You can add up to 100 rules to the configuration. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketEncryptionInput(_SerdeShape): + """Dataclass for GetBucketEncryptionInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket from which the server-side encryption + configuration is retrieved. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class GetBucketEncryptionOutput(_SerdeShape): + """Dataclass for GetBucketEncryptionOutput structure.""" + + server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... + """Specifies the default server-side-encryption configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketIntelligentTieringConfigurationInput(_SerdeShape): + """Dataclass for GetBucketIntelligentTieringConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket whose configuration you want to modify + or retrieve. + """ + id: str | None = ... + """The ID used to identify the S3 Intelligent-Tiering configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketIntelligentTieringConfigurationOutput(_SerdeShape): + """Dataclass for GetBucketIntelligentTieringConfigurationOutput structure.""" + + intelligent_tiering_configuration: IntelligentTieringConfiguration | None = ... + """Container for S3 Intelligent-Tiering configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketInventoryConfigurationInput(_SerdeShape): + """Dataclass for GetBucketInventoryConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket containing the inventory configuration to + retrieve. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + id: str | None = ... + """The ID used to identify the inventory configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class GetBucketInventoryConfigurationOutput(_SerdeShape): + """Dataclass for GetBucketInventoryConfigurationOutput structure.""" + + inventory_configuration: InventoryConfiguration | None = ... + """Specifies the inventory configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketLifecycleConfigurationInput(_SerdeShape): + """Dataclass for GetBucketLifecycleConfigurationInput structure.""" + + bucket: str | None = ... + """The name of the bucket for which to get the lifecycle information.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + +@dataclass(kw_only=True) +class GetBucketLifecycleConfigurationOutput(_SerdeShape): + """Dataclass for GetBucketLifecycleConfigurationOutput structure.""" + + rules: list[LifecycleRule] | None = ... + """Container for a lifecycle rule.""" + transition_default_minimum_object_size: str | None = ... + """ + Indicates which default minimum object size behavior is applied to the + lifecycle configuration. + + Note: + This parameter applies to general purpose buckets only. It isn't + supported for directory bucket lifecycle configurations. + + - `all_storage_classes_128K` - Objects smaller than 128 KB will not + transition to any storage class by default. + + - `varies_by_storage_class` - Objects smaller than 128 KB will + transition to Glacier Flexible Retrieval or Glacier Deep Archive + storage classes. By default, all other storage classes will prevent + transitions smaller than 128 KB. + + To customize the minimum object size for any transition you can add a + filter that specifies a custom `ObjectSizeGreaterThan` or + `ObjectSizeLessThan` in the body of your transition rule. Custom filters + always take precedence over the default transition behavior. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketLocationInput(_SerdeShape): + """Dataclass for GetBucketLocationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket for which to get the location. + + When you use this API operation with an access point, provide the alias + of the access point in place of the bucket name. + + When you use this API operation with an Object Lambda access point, + provide the alias of the Object Lambda access point in place of the + bucket name. If the Object Lambda access point alias in a request is not + valid, the error code `InvalidAccessPointAliasError` is returned. For + more information about `InvalidAccessPointAliasError`, see [List of + Error + Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketLocationOutput(_SerdeShape): + """Dataclass for GetBucketLocationOutput structure.""" + + location_constraint: str | None = ... + """ + Specifies the Region where the bucket resides. For a list of all the + Amazon S3 supported location constraints by Region, see [Regions and + Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). + + Buckets in Region `us-east-1` have a LocationConstraint of `null`. + Buckets with a LocationConstraint of `EU` reside in `eu-west-1`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketLoggingInput(_SerdeShape): + """Dataclass for GetBucketLoggingInput structure.""" + + bucket: str | None = ... + """The bucket name for which to get the logging information.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketLoggingOutput(_SerdeShape): + """Dataclass for GetBucketLoggingOutput structure.""" + + logging_enabled: LoggingEnabled | None = ... + """ + Describes where logs are stored and the prefix that Amazon S3 assigns to + all log object keys for a bucket. For more information, see [PUT Bucket + logging](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html) + in the *Amazon S3 API Reference*. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketMetadataConfigurationInput(_SerdeShape): + """Dataclass for GetBucketMetadataConfigurationInput structure.""" + + bucket: str | None = ... + """ + The general purpose bucket that corresponds to the metadata + configuration that you want to retrieve. + """ + expected_bucket_owner: str | None = ... + """ + The expected owner of the general purpose bucket that you want to + retrieve the metadata table configuration for. + """ + +@dataclass(kw_only=True) +class GetBucketMetadataConfigurationOutput(_SerdeShape): + """Dataclass for GetBucketMetadataConfigurationOutput structure.""" + + get_bucket_metadata_configuration_result: ( + GetBucketMetadataConfigurationResult | None + ) = ... + """The metadata configuration for the general purpose bucket.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketMetadataConfigurationResult(_SerdeShape): + """The S3 Metadata configuration for a general purpose bucket.""" + + metadata_configuration_result: MetadataConfigurationResult + """The metadata configuration for a general purpose bucket.""" + +@dataclass(kw_only=True) +class GetBucketMetadataTableConfigurationInput(_SerdeShape): + """Dataclass for GetBucketMetadataTableConfigurationInput structure.""" + + bucket: str | None = ... + """ + The general purpose bucket that corresponds to the metadata table + configuration that you want to retrieve. + """ + expected_bucket_owner: str | None = ... + """ + The expected owner of the general purpose bucket that you want to + retrieve the metadata table configuration for. + """ + +@dataclass(kw_only=True) +class GetBucketMetadataTableConfigurationOutput(_SerdeShape): + """Dataclass for GetBucketMetadataTableConfigurationOutput structure.""" + + get_bucket_metadata_table_configuration_result: ( + GetBucketMetadataTableConfigurationResult | None + ) = ... + """The metadata table configuration for the general purpose bucket.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketMetadataTableConfigurationResult(_SerdeShape): + """ + The V1 S3 Metadata configuration for a general purpose bucket. + + Note: + If you created your S3 Metadata configuration before July 15, 2025, we + recommend that you delete and re-create your configuration by using + [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) + so that you can expire journal table records and create a live inventory + table. + """ + + metadata_table_configuration_result: MetadataTableConfigurationResult + """The V1 S3 Metadata configuration for a general purpose bucket.""" + status: str + """ + The status of the metadata table. The status values are: + + - `CREATING` - The metadata table is in the process of being created in + the specified table bucket. + + - `ACTIVE` - The metadata table has been created successfully, and + records are being delivered to the table. + + - `FAILED` - Amazon S3 is unable to create the metadata table, or Amazon + S3 is unable to deliver records. See `ErrorDetails` for details. + """ + error: ErrorDetails | None = ... + """ + If the `CreateBucketMetadataTableConfiguration` request succeeds, but S3 + Metadata was unable to create the table, this structure contains the + error code and error message. + """ + +@dataclass(kw_only=True) +class GetBucketMetricsConfigurationInput(_SerdeShape): + """Dataclass for GetBucketMetricsConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket containing the metrics configuration to retrieve. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + id: str | None = ... + """ + The ID used to identify the metrics configuration. The ID has a 64 + character limit and can only contain letters, numbers, periods, dashes, + and underscores. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class GetBucketMetricsConfigurationOutput(_SerdeShape): + """Dataclass for GetBucketMetricsConfigurationOutput structure.""" + + metrics_configuration: MetricsConfiguration | None = ... + """Specifies the metrics configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketNotificationConfigurationInput(_SerdeShape): + """Dataclass for GetBucketNotificationConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket for which to get the notification configuration. + + When you use this API operation with an access point, provide the alias + of the access point in place of the bucket name. + + When you use this API operation with an Object Lambda access point, + provide the alias of the Object Lambda access point in place of the + bucket name. If the Object Lambda access point alias in a request is not + valid, the error code `InvalidAccessPointAliasError` is returned. For + more information about `InvalidAccessPointAliasError`, see [List of + Error + Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketNotificationConfigurationOutput(_SerdeShape): + """ + A container for specifying the notification configuration of the bucket. + If this element is empty, notifications are turned off for the bucket. + """ + + topic_configurations: list[TopicConfiguration] | None = ... + """ + The topic to which notifications are sent and the events for which + notifications are generated. + """ + queue_configurations: list[QueueConfiguration] | None = ... + """ + The Amazon Simple Queue Service queues to publish messages to and the + events for which to publish messages. + """ + lambda_function_configurations: list[LambdaFunctionConfiguration] | None = ... + """ + Describes the Lambda functions to invoke and the events for which to + invoke them. + """ + event_bridge_configuration: EventBridgeConfiguration | None = ... + """Enables delivery of events to Amazon EventBridge.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketOwnershipControlsInput(_SerdeShape): + """Dataclass for GetBucketOwnershipControlsInput structure.""" + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket whose `OwnershipControls` you want to + retrieve. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketOwnershipControlsOutput(_SerdeShape): + """Dataclass for GetBucketOwnershipControlsOutput structure.""" + + ownership_controls: OwnershipControls | None = ... + """ + The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred, or + ObjectWriter) currently in effect for this Amazon S3 bucket. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketPolicyInput(_SerdeShape): + """Dataclass for GetBucketPolicyInput structure.""" + + bucket: str | None = ... + """ + The bucket name to get the bucket policy for. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + + **Access points** - When you use this API operation with an access + point, provide the alias of the access point in place of the bucket + name. + + **Object Lambda access points** - When you use this API operation with + an Object Lambda access point, provide the alias of the Object Lambda + access point in place of the bucket name. If the Object Lambda access + point alias in a request is not valid, the error code + `InvalidAccessPointAliasError` is returned. For more information about + `InvalidAccessPointAliasError`, see [List of Error + Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). + + Note: + Object Lambda access points are not supported by directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class GetBucketPolicyOutput(_SerdeShape): + """Dataclass for GetBucketPolicyOutput structure.""" + + policy: str | None = ... + """The bucket policy as a JSON document.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketPolicyStatusInput(_SerdeShape): + """Dataclass for GetBucketPolicyStatusInput structure.""" + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket whose policy status you want to + retrieve. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketPolicyStatusOutput(_SerdeShape): + """Dataclass for GetBucketPolicyStatusOutput structure.""" + + policy_status: PolicyStatus | None = ... + """The policy status for the specified bucket.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketReplicationInput(_SerdeShape): + """Dataclass for GetBucketReplicationInput structure.""" + + bucket: str | None = ... + """The bucket name for which to get the replication information.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketReplicationOutput(_SerdeShape): + """Dataclass for GetBucketReplicationOutput structure.""" + + replication_configuration: ReplicationConfiguration | None = ... + """ + A container for replication rules. You can add up to 1,000 rules. The + maximum size of a replication configuration is 2 MB. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketRequestPaymentInput(_SerdeShape): + """Dataclass for GetBucketRequestPaymentInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket for which to get the payment request + configuration + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketRequestPaymentOutput(_SerdeShape): + """Dataclass for GetBucketRequestPaymentOutput structure.""" + + payer: str | None = ... + """Specifies who pays for the download and request fees.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketTaggingInput(_SerdeShape): + """Dataclass for GetBucketTaggingInput structure.""" + + bucket: str | None = ... + """The name of the bucket for which to get the tagging information.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketTaggingOutput(_SerdeShape): + """Dataclass for GetBucketTaggingOutput structure.""" + + tag_set: list[Tag] + """Contains the tag set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketVersioningInput(_SerdeShape): + """Dataclass for GetBucketVersioningInput structure.""" + + bucket: str | None = ... + """The name of the bucket for which to get the versioning information.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketVersioningOutput(_SerdeShape): + """Dataclass for GetBucketVersioningOutput structure.""" + + status: str | None = ... + """The versioning state of the bucket.""" + mfa_delete: str | None = ... + """ + Specifies whether MFA delete is enabled in the bucket versioning + configuration. This element is only returned if the bucket has been + configured with MFA delete. If the bucket has never been so configured, + this element is not returned. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetBucketWebsiteInput(_SerdeShape): + """Dataclass for GetBucketWebsiteInput structure.""" + + bucket: str | None = ... + """The bucket name for which to get the website configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetBucketWebsiteOutput(_SerdeShape): + """Dataclass for GetBucketWebsiteOutput structure.""" + + redirect_all_requests_to: RedirectAllRequestsTo | None = ... + """ + Specifies the redirect behavior of all requests to a website endpoint of + an Amazon S3 bucket. + """ + index_document: IndexDocument | None = ... + """ + The name of the index document for the website (for example + `index.html`). + """ + error_document: ErrorDocument | None = ... + """ + The object key name of the website error document to use for 4XX class + errors. + """ + routing_rules: list[RoutingRule] | None = ... + """Rules that define when a redirect is applied and the redirect behavior.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetObjectAclInput(_SerdeShape): + """Dataclass for GetObjectAclInput structure.""" + + bucket: str | None = ... + """ + The bucket name that contains the object for which to get the ACL + information. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """The key of the object for which to get the ACL information.""" + version_id: str | None = ... + """ + Version ID used to reference a specific version of the object. + + Note: + This functionality is not supported for directory buckets. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetObjectAclOutput(_SerdeShape): + """Dataclass for GetObjectAclOutput structure.""" + + owner: Owner | None = ... + """Container for the bucket owner's ID.""" + grants: list[Grant] | None = ... + """A list of grants.""" + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetObjectAnnotationInput(_SerdeShape): + """Dataclass for GetObjectAnnotationInput structure.""" + + bucket: str | None = ... + """The name of the bucket that contains the object.""" + key: str | None = ... + """The object key.""" + annotation_name: str | None = ... + """ + The name of the annotation to retrieve. + + Length Constraints: Minimum length of 1. Maximum length of 512 bytes. + """ + version_id: str | None = ... + """The version ID of the object.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the bucket is owned by a + different account, the request fails with an HTTP 403 (Access Denied) + error. + """ + checksum_mode: str | None = ... + """ + Set to `ENABLED` to validate the checksum of the annotation payload on + retrieval. + """ + +@dataclass(kw_only=True) +class GetObjectAnnotationOutput(_SerdeShape): + """Dataclass for GetObjectAnnotationOutput structure.""" + + annotation_payload: StreamingBlob = ... + """The annotation payload.""" + object_version_id: str | None = ... + """The version ID of the object that the annotation is attached to.""" + last_modified: datetime | None = ... + """The date and time the annotation was last modified.""" + content_length: int | None = ... + """The size of the annotation payload, in bytes.""" + e_tag: str | None = ... + """The entity tag of the annotation.""" + checksum_crc32: str | None = ... + """The CRC32 checksum of the annotation payload.""" + checksum_crc32_c: str | None = ... + """The CRC32C checksum of the annotation payload.""" + checksum_crc64_nvme: str | None = ... + """The CRC64NVME checksum of the annotation payload.""" + checksum_sha1: str | None = ... + """The SHA1 checksum of the annotation payload.""" + checksum_sha256: str | None = ... + """The SHA256 checksum of the annotation payload.""" + checksum_sha512: str | None = ... + """The SHA512 checksum of the annotation payload.""" + checksum_md5: str | None = ... + """The MD5 checksum of the annotation payload.""" + checksum_xxhash64: str | None = ... + """The XXHASH64 checksum of the annotation payload.""" + checksum_xxhash3: str | None = ... + """The XXHASH3 checksum of the annotation payload.""" + checksum_xxhash128: str | None = ... + """The XXHASH128 checksum of the annotation payload.""" + checksum_type: str | None = ... + """The type of checksum used.""" + server_side_encryption: str | None = ... + """The server-side encryption algorithm used.""" + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + replication_status: str | None = ... + """ + The replication status of the annotation. Possible values include + `PENDING`, `COMPLETED`, `FAILED`, and `REPLICA`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetObjectAttributesInput(_SerdeShape): + """Dataclass for GetObjectAttributesInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket that contains the object. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """The object key.""" + version_id: str | None = ... + """ + The version ID used to reference a specific version of the object. + + Note: + S3 Versioning isn't enabled and supported for directory buckets. For + this API operation, only the `null` value of the version ID is supported + by directory buckets. You can only specify `null` to the `versionId` + query parameter in the request. + """ + max_parts: int | None = ... + """ + Sets the maximum number of parts to return. For more information, see + [Uploading and copying objects using multipart upload in Amazon + S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html) + in the *Amazon Simple Storage Service user guide*. + """ + part_number_marker: str | None = ... + """ + Specifies the part after which listing should begin. Only parts with + higher part numbers will be listed. For more information, see [Uploading + and copying objects using multipart upload in Amazon + S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html) + in the *Amazon Simple Storage Service user guide*. + """ + sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when encrypting the object (for example, + AES256). + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key for Amazon S3 to use in + encrypting data. This value is used to store the object and then it is + discarded; Amazon S3 does not store the encryption key. The key must be + appropriate for use with the algorithm specified in the + `x-amz-server-side-encryption-customer-algorithm` header. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the encryption key according to RFC + 1321. Amazon S3 uses this header for a message integrity check to ensure + that the encryption key was transmitted without error. + + Note: + This functionality is not supported for directory buckets. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + object_attributes: list[str] | None = ... + """ + Specifies the fields at the root level that you want returned in the + response. Fields that you do not specify are not returned. + """ + +@dataclass(kw_only=True) +class GetObjectAttributesOutput(_SerdeShape): + """Dataclass for GetObjectAttributesOutput structure.""" + + delete_marker: bool | None = ... + """ + Specifies whether the object retrieved was (`true`) or was not (`false`) + a delete marker. If `false`, this response header does not appear in the + response. To learn more about delete markers, see [Working with delete + markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). + + Note: + This functionality is not supported for directory buckets. + """ + last_modified: datetime | None = ... + """Date and time when the object was last modified.""" + version_id: str | None = ... + """ + The version ID of the object. + + Note: + This functionality is not supported for directory buckets. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + e_tag: str | None = ... + """ + An ETag is an opaque identifier assigned by a web server to a specific + version of a resource found at a URL. + """ + checksum: Checksum | None = ... + """The checksum or digest of the object.""" + object_parts: GetObjectAttributesParts | None = ... + """A collection of parts associated with a multipart upload.""" + storage_class: str | None = ... + """ + Provides the storage class information of the object. Amazon S3 returns + this header for all objects except for S3 Standard storage class + objects. + + For more information, see [Storage + Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html). + + Note: + **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` + (the S3 Express One Zone storage class) in Availability Zones and + `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in + Dedicated Local Zones. + """ + object_size: int | None = ... + """The size of the object in bytes.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetObjectAttributesParts(_SerdeShape): + """A collection of parts associated with a multipart upload.""" + + total_parts_count: int | None = ... + """The total number of parts.""" + part_number_marker: str | None = ... + """The marker for the current part.""" + next_part_number_marker: str | None = ... + """ + When a list is truncated, this element specifies the last part in the + list, as well as the value to use for the `PartNumberMarker` request + parameter in a subsequent request. + """ + max_parts: int | None = ... + """The maximum number of parts allowed in the response.""" + is_truncated: bool | None = ... + """ + Indicates whether the returned list of parts is truncated. A value of + `true` indicates that the list was truncated. A list can be truncated if + the number of parts exceeds the limit returned in the `MaxParts` + element. + """ + parts: list[ObjectPart] | None = ... + """ + A container for elements related to a particular part. A response can + contain zero or more `Parts` elements. + + Note: + - **General purpose buckets** - For `GetObjectAttributes`, if an + additional checksum (including `x-amz-checksum-crc32`, + `x-amz-checksum-crc32c`, `x-amz-checksum-sha1`, or + `x-amz-checksum-sha256`) isn't applied to the object specified in the + request, the response doesn't return the `Part` element. + + - **Directory buckets** - For `GetObjectAttributes`, regardless of + whether an additional checksum is applied to the object specified in + the request, the response returns the `Part` element. + """ + +@dataclass(kw_only=True) +class GetObjectInput(_SerdeShape): + """Dataclass for GetObjectInput structure.""" + + bucket: str | None = ... + """ + The bucket name containing the object. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + **Object Lambda access points** - When you use this action with an + Object Lambda access point, you must direct requests to the Object + Lambda access point hostname. The Object Lambda access point hostname + takes the form + *AccessPointName*-*AccountId*.s3-object-lambda.*Region*.amazonaws.com. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + if_match: str | None = ... + """ + Return the object only if its entity tag (ETag) is the same as the one + specified in this header; otherwise, return a `412 Precondition Failed` + error. + + If both of the `If-Match` and `If-Unmodified-Since` headers are present + in the request as follows: `If-Match` condition evaluates to `true`, + and; `If-Unmodified-Since` condition evaluates to `false`; then, S3 + returns `200 OK` and the data requested. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + if_modified_since: datetime | None = ... + """ + Return the object only if it has been modified since the specified time; + otherwise, return a `304 Not Modified` error. + + If both of the `If-None-Match` and `If-Modified-Since` headers are + present in the request as follows:` If-None-Match` condition evaluates + to `false`, and; `If-Modified-Since` condition evaluates to `true`; + then, S3 returns `304 Not Modified` status code. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + if_none_match: str | None = ... + """ + Return the object only if its entity tag (ETag) is different from the + one specified in this header; otherwise, return a `304 Not Modified` + error. + + If both of the `If-None-Match` and `If-Modified-Since` headers are + present in the request as follows:` If-None-Match` condition evaluates + to `false`, and; `If-Modified-Since` condition evaluates to `true`; + then, S3 returns `304 Not Modified` HTTP status code. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + if_unmodified_since: datetime | None = ... + """ + Return the object only if it has not been modified since the specified + time; otherwise, return a `412 Precondition Failed` error. + + If both of the `If-Match` and `If-Unmodified-Since` headers are present + in the request as follows: `If-Match` condition evaluates to `true`, + and; `If-Unmodified-Since` condition evaluates to `false`; then, S3 + returns `200 OK` and the data requested. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + key: str | None = ... + """Key of the object to get.""" + range: str | None = ... + """ + Downloads the specified byte range of an object. For more information + about the HTTP Range header, see + . + + Note: + Amazon S3 doesn't support retrieving multiple ranges of data per `GET` + request. + """ + response_cache_control: str | None = ... + """Sets the `Cache-Control` header of the response.""" + response_content_disposition: str | None = ... + """Sets the `Content-Disposition` header of the response.""" + response_content_encoding: str | None = ... + """Sets the `Content-Encoding` header of the response.""" + response_content_language: str | None = ... + """Sets the `Content-Language` header of the response.""" + response_content_type: str | None = ... + """Sets the `Content-Type` header of the response.""" + response_expires: datetime | None = ... + """Sets the `Expires` header of the response.""" + version_id: str | None = ... + """ + Version ID used to reference a specific version of the object. + + By default, the `GetObject` operation returns the current version of an + object. To return a different version, use the `versionId` subresource. + + Note: + - If you include a `versionId` in your request header, you must have the + `s3:GetObjectVersion` permission to access a specific version of an + object. The `s3:GetObject` permission is not required in this + scenario. + + - If you request the current version of an object without a specific + `versionId` in the request header, only the `s3:GetObject` permission + is required. The `s3:GetObjectVersion` permission is not required in + this scenario. + + - **Directory buckets** - S3 Versioning isn't enabled and supported for + directory buckets. For this API operation, only the `null` value of + the version ID is supported by directory buckets. You can only specify + `null` to the `versionId` query parameter in the request. + + For more information about versioning, see + [PutBucketVersioning](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html). + """ + sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when decrypting the object (for example, + `AES256`). + + If you encrypt an object by using server-side encryption with + customer-provided encryption keys (SSE-C) when you store the object in + Amazon S3, then when you GET the object, you must use the following + headers: + + - `x-amz-server-side-encryption-customer-algorithm` + + - `x-amz-server-side-encryption-customer-key` + + - `x-amz-server-side-encryption-customer-key-MD5` + + For more information about SSE-C, see [Server-Side Encryption (Using + Customer-Provided Encryption + Keys)](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key that you originally + provided for Amazon S3 to encrypt the data before storing it. This value + is used to decrypt the object when recovering it and must match the one + used when storing the data. The key must be appropriate for use with the + algorithm specified in the + `x-amz-server-side-encryption-customer-algorithm` header. + + If you encrypt an object by using server-side encryption with + customer-provided encryption keys (SSE-C) when you store the object in + Amazon S3, then when you GET the object, you must use the following + headers: + + - `x-amz-server-side-encryption-customer-algorithm` + + - `x-amz-server-side-encryption-customer-key` + + - `x-amz-server-side-encryption-customer-key-MD5` + + For more information about SSE-C, see [Server-Side Encryption (Using + Customer-Provided Encryption + Keys)](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the customer-provided encryption key + according to RFC 1321. Amazon S3 uses this header for a message + integrity check to ensure that the encryption key was transmitted + without error. + + If you encrypt an object by using server-side encryption with + customer-provided encryption keys (SSE-C) when you store the object in + Amazon S3, then when you GET the object, you must use the following + headers: + + - `x-amz-server-side-encryption-customer-algorithm` + + - `x-amz-server-side-encryption-customer-key` + + - `x-amz-server-side-encryption-customer-key-MD5` + + For more information about SSE-C, see [Server-Side Encryption (Using + Customer-Provided Encryption + Keys)](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + part_number: int | None = ... + """ + Part number of the object being read. This is a positive integer between + 1 and 10,000. Effectively performs a 'ranged' GET request for the part + specified. Useful for downloading just a part of an object. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + checksum_mode: str | None = ... + """To retrieve the checksum, this mode must be enabled.""" + +@dataclass(kw_only=True) +class GetObjectLegalHoldInput(_SerdeShape): + """Dataclass for GetObjectLegalHoldInput structure.""" + + bucket: str | None = ... + """ + The bucket name containing the object whose legal hold status you want + to retrieve. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """ + The key name for the object whose legal hold status you want to + retrieve. + """ + version_id: str | None = ... + """ + The version ID of the object whose legal hold status you want to + retrieve. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetObjectLegalHoldOutput(_SerdeShape): + """Dataclass for GetObjectLegalHoldOutput structure.""" + + legal_hold: ObjectLockLegalHold | None = ... + """The current legal hold status for the specified object.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetObjectLockConfigurationInput(_SerdeShape): + """Dataclass for GetObjectLockConfigurationInput structure.""" + + bucket: str | None = ... + """ + The bucket whose Object Lock configuration you want to retrieve. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetObjectLockConfigurationOutput(_SerdeShape): + """Dataclass for GetObjectLockConfigurationOutput structure.""" + + object_lock_configuration: ObjectLockConfiguration | None = ... + """The specified bucket's Object Lock configuration.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetObjectOutput(_SerdeShape): + """Dataclass for GetObjectOutput structure.""" + + body: StreamingBlob = ... + """Object data.""" + delete_marker: bool | None = ... + """ + Indicates whether the object retrieved was (true) or was not (false) a + Delete Marker. If false, this response header does not appear in the + response. + + Note: + - If the current version of the object is a delete marker, Amazon S3 + behaves as if the object was deleted and includes + `x-amz-delete-marker: true` in the response. + + - If the specified version in the request is a delete marker, the + response returns a `405 Method Not Allowed` error and the + `Last-Modified: timestamp` response header. + """ + accept_ranges: str | None = ... + """Indicates that a range of bytes was specified in the request.""" + expiration: str | None = ... + """ + If the object expiration is configured (see + [`PutBucketLifecycleConfiguration`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) + ), the response includes this header. It includes the `expiry-date` and + `rule-id` key-value pairs providing object expiration information. The + value of the `rule-id` is URL-encoded. + + Note: + Object expiration information is not returned in directory buckets and + this header returns the value \"`NotImplemented`\" in all responses for + directory buckets. + """ + restore: str | None = ... + """ + Provides information about object restoration action and expiration time + of the restored object copy. + + Note: + This functionality is not supported for directory buckets. Directory + buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone storage + class) in Availability Zones and `ONEZONE_IA` (the S3 One + Zone-Infrequent Access storage class) in Dedicated Local Zones. + """ + last_modified: datetime | None = ... + """ + Date and time when the object was last modified. + + **General purpose buckets** - When you specify a `versionId` of the + object in your request, if the specified version in the request is a + delete marker, the response returns a `405 Method Not Allowed` error and + the `Last-Modified: timestamp` response header. + """ + content_length: int | None = ... + """Size of the body in bytes.""" + e_tag: str | None = ... + """ + An entity tag (ETag) is an opaque identifier assigned by a web server to + a specific version of a resource found at a URL. + """ + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32` checksum of the object. This checksum + is only present if the checksum was uploaded with the object. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the object. This + checksum is only present if the checksum was uploaded with the object. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum + is only present if the checksum was uploaded with the object. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum + is only present if the checksum was uploaded with the object. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_type: str | None = ... + """ + The checksum type, which determines how part-level checksums are + combined to create an object-level checksum for multipart objects. You + can use this header response to verify that the checksum type that is + received is the same checksum type that was specified in the + `CreateMultipartUpload` request. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + missing_meta: int | None = ... + """ + This is set to the number of metadata entries not returned in the + headers that are prefixed with `x-amz-meta-`. This can happen if you + create metadata using an API like SOAP that supports more flexible + metadata than the REST API. For example, using SOAP, you can create + metadata whose values are not legal HTTP headers. + + Note: + This functionality is not supported for directory buckets. + """ + version_id: str | None = ... + """ + Version ID of the object. + + Note: + This functionality is not supported for directory buckets. + """ + cache_control: str | None = ... + """Specifies caching behavior along the request/reply chain.""" + content_disposition: str | None = ... + """Specifies presentational information for the object.""" + content_encoding: str | None = ... + """ + Indicates what content encodings have been applied to the object and + thus what decoding mechanisms must be applied to obtain the media-type + referenced by the Content-Type header field. + """ + content_language: str | None = ... + """The language the content is in.""" + content_range: str | None = ... + """The portion of the object returned in the response.""" + content_type: str | None = ... + """A standard MIME type describing the format of the object data.""" + expires: str | None = ... + """The date and time at which the object is no longer cacheable.""" + website_redirect_location: str | None = ... + """ + If the bucket is configured as a website, redirects requests for this + object to another object in the same bucket or to an external URL. + Amazon S3 stores the value of this header in the object metadata. + + Note: + This functionality is not supported for directory buckets. + """ + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when you store this object in + Amazon S3 or Amazon FSx. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + metadata: dict[str, str] | None = ... + """A map of metadata to store with the object in S3.""" + sse_customer_algorithm: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to confirm the + encryption algorithm that's used. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to provide the + round-trip message integrity verification of the customer-provided + encryption key. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + If present, indicates the ID of the KMS key that was used for object + encryption. + """ + bucket_key_enabled: bool | None = ... + """ + Indicates whether the object uses an S3 Bucket Key for server-side + encryption with Key Management Service (KMS) keys (SSE-KMS). + """ + storage_class: str | None = ... + """ + Provides storage class information of the object. Amazon S3 returns this + header for all objects except for S3 Standard storage class objects. + + Note: + **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` + (the S3 Express One Zone storage class) in Availability Zones and + `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in + Dedicated Local Zones. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + replication_status: str | None = ... + """ + Amazon S3 can return this if your request involves a bucket that is + either a source or destination in a replication rule. + + Note: + This functionality is not supported for directory buckets. + """ + parts_count: int | None = ... + """ + The count of parts this object has. This value is only returned if you + specify `partNumber` in your request and the object was uploaded as a + multipart upload. + """ + tag_count: int | None = ... + """ + The number of tags, if any, on the object, when you have the relevant + permission to read object tags. + + You can use + [GetObjectTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) + to retrieve the tag set associated with an object. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_mode: str | None = ... + """ + The Object Lock mode that's currently in place for this object. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_retain_until_date: datetime | None = ... + """ + The date and time when this object's Object Lock will expire. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_legal_hold_status: str | None = ... + """ + Indicates whether this object has an active legal hold. This field is + only returned if you have permission to view an object's legal hold + status. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold: str | None = ... + """ + The event hold status for this object. This header is only returned if + the requester has the `s3:GetObjectRetention` permission. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_days: int | None = ... + """ + The event hold duration in days for this object. Only returned when the + event hold is enabled. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_years: int | None = ... + """ + The event hold duration in years for this object. Only returned when the + event hold is enabled. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetObjectRetentionInput(_SerdeShape): + """Dataclass for GetObjectRetentionInput structure.""" + + bucket: str | None = ... + """ + The bucket name containing the object whose retention settings you want + to retrieve. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """ + The key name for the object whose retention settings you want to + retrieve. + """ + version_id: str | None = ... + """ + The version ID for the object whose retention settings you want to + retrieve. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetObjectRetentionOutput(_SerdeShape): + """Dataclass for GetObjectRetentionOutput structure.""" + + retention: ObjectLockRetention | None = ... + """The container element for an object's retention settings.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetObjectTaggingInput(_SerdeShape): + """Dataclass for GetObjectTaggingInput structure.""" + + bucket: str | None = ... + """ + The bucket name containing the object for which to get the tagging + information. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """Object key for which to get the tagging information.""" + version_id: str | None = ... + """The versionId of the object for which to get the tagging information.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + +@dataclass(kw_only=True) +class GetObjectTaggingOutput(_SerdeShape): + """Dataclass for GetObjectTaggingOutput structure.""" + + version_id: str | None = ... + """The versionId of the object for which you got the tagging information.""" + tag_set: list[Tag] + """Contains the tag set.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetObjectTorrentInput(_SerdeShape): + """Dataclass for GetObjectTorrentInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket containing the object for which to get the + torrent files. + """ + key: str | None = ... + """The object key for which to get the information.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetObjectTorrentOutput(_SerdeShape): + """Dataclass for GetObjectTorrentOutput structure.""" + + body: StreamingBlob = ... + """A Bencoded dictionary as defined by the BitTorrent specification""" + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GetPublicAccessBlockInput(_SerdeShape): + """Dataclass for GetPublicAccessBlockInput structure.""" + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket whose `PublicAccessBlock` configuration + you want to retrieve. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class GetPublicAccessBlockOutput(_SerdeShape): + """Dataclass for GetPublicAccessBlockOutput structure.""" + + public_access_block_configuration: PublicAccessBlockConfiguration | None = ... + """ + The `PublicAccessBlock` configuration currently in effect for this + Amazon S3 bucket. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class GlacierJobParameters(_SerdeShape): + """Container for S3 Glacier job parameters.""" + + tier: str + """Retrieval tier at which the restore will be processed.""" + +@dataclass(kw_only=True) +class Grant(_SerdeShape): + """Container for grant information.""" + + grantee: Grantee | None = ... + """The person being granted permissions.""" + permission: str | None = ... + """Specifies the permission given to the grantee.""" + +@dataclass(kw_only=True) +class Grantee(_SerdeShape): + """Container for the person being granted permissions.""" + + display_name: str | None = ... + """""" + email_address: str | None = ... + """""" + id: str | None = ... + """The canonical user ID of the grantee.""" + uri: str | None = ... + """URI of the grantee group.""" + type: str + """Type of grantee""" + +@dataclass(kw_only=True) +class HeadBucketInput(_SerdeShape): + """Dataclass for HeadBucketInput structure.""" + + bucket: str | None = ... + """ + The bucket name. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + **Object Lambda access points** - When you use this API operation with + an Object Lambda access point, provide the alias of the Object Lambda + access point in place of the bucket name. If the Object Lambda access + point alias in a request is not valid, the error code + `InvalidAccessPointAliasError` is returned. For more information about + `InvalidAccessPointAliasError`, see [List of Error + Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class HeadBucketOutput(_SerdeShape): + """Dataclass for HeadBucketOutput structure.""" + + bucket_arn: str | None = ... + """ + The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify + Amazon Web Services resources across all of Amazon Web Services. + + Note: + This parameter is only supported for S3 directory buckets. For more + information, see [Using tags with directory + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html). + """ + bucket_location_type: str | None = ... + """ + The type of location where the bucket is created. + + Note: + This functionality is only supported by directory buckets. + """ + bucket_location_name: str | None = ... + """ + The name of the location where the bucket will be created. + + For directory buckets, the Zone ID of the Availability Zone or the Local + Zone where the bucket is created. An example Zone ID value for an + Availability Zone is `usw2-az1`. + + Note: + This functionality is only supported by directory buckets. + """ + bucket_region: str | None = ... + """The Region that the bucket is located.""" + access_point_alias: bool | None = ... + """ + Indicates whether the bucket name used in the request is an access point + alias. + + Note: + For directory buckets, the value of this field is `false`. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class HeadObjectInput(_SerdeShape): + """Dataclass for HeadObjectInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket that contains the object. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + if_match: str | None = ... + """ + Return the object only if its entity tag (ETag) is the same as the one + specified; otherwise, return a 412 (precondition failed) error. + + If both of the `If-Match` and `If-Unmodified-Since` headers are present + in the request as follows: + + - `If-Match` condition evaluates to `true`, and; + + - `If-Unmodified-Since` condition evaluates to `false`; + + Then Amazon S3 returns `200 OK` and the data requested. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + if_modified_since: datetime | None = ... + """ + Return the object only if it has been modified since the specified time; + otherwise, return a 304 (not modified) error. + + If both of the `If-None-Match` and `If-Modified-Since` headers are + present in the request as follows: + + - `If-None-Match` condition evaluates to `false`, and; + + - `If-Modified-Since` condition evaluates to `true`; + + Then Amazon S3 returns the `304 Not Modified` response code. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + if_none_match: str | None = ... + """ + Return the object only if its entity tag (ETag) is different from the + one specified; otherwise, return a 304 (not modified) error. + + If both of the `If-None-Match` and `If-Modified-Since` headers are + present in the request as follows: + + - `If-None-Match` condition evaluates to `false`, and; + + - `If-Modified-Since` condition evaluates to `true`; + + Then Amazon S3 returns the `304 Not Modified` response code. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + if_unmodified_since: datetime | None = ... + """ + Return the object only if it has not been modified since the specified + time; otherwise, return a 412 (precondition failed) error. + + If both of the `If-Match` and `If-Unmodified-Since` headers are present + in the request as follows: + + - `If-Match` condition evaluates to `true`, and; + + - `If-Unmodified-Since` condition evaluates to `false`; + + Then Amazon S3 returns `200 OK` and the data requested. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232). + """ + key: str | None = ... + """The object key.""" + range: str | None = ... + """ + HeadObject returns only the metadata for an object. If the Range is + satisfiable, only the `ContentLength` is affected in the response. If + the Range is not satisfiable, S3 returns a + `416 - Requested Range Not Satisfiable` error. + """ + response_cache_control: str | None = ... + """Sets the `Cache-Control` header of the response.""" + response_content_disposition: str | None = ... + """Sets the `Content-Disposition` header of the response.""" + response_content_encoding: str | None = ... + """Sets the `Content-Encoding` header of the response.""" + response_content_language: str | None = ... + """Sets the `Content-Language` header of the response.""" + response_content_type: str | None = ... + """Sets the `Content-Type` header of the response.""" + response_expires: datetime | None = ... + """Sets the `Expires` header of the response.""" + version_id: str | None = ... + """ + Version ID used to reference a specific version of the object. + + Note: + For directory buckets in this API operation, only the `null` value of + the version ID is supported. + """ + sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when encrypting the object (for example, + AES256). + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key for Amazon S3 to use in + encrypting data. This value is used to store the object and then it is + discarded; Amazon S3 does not store the encryption key. The key must be + appropriate for use with the algorithm specified in the + `x-amz-server-side-encryption-customer-algorithm` header. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the encryption key according to RFC + 1321. Amazon S3 uses this header for a message integrity check to ensure + that the encryption key was transmitted without error. + + Note: + This functionality is not supported for directory buckets. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + part_number: int | None = ... + """ + Part number of the object being read. This is a positive integer between + 1 and 10,000. Effectively performs a 'ranged' HEAD request for the + part specified. Useful querying about the size of the part and the + number of parts in this object. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + checksum_mode: str | None = ... + """ + To retrieve the checksum, this parameter must be enabled. + + **General purpose buckets** - If you enable checksum mode and the object + is uploaded with a + [checksum](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html) + and encrypted with an Key Management Service (KMS) key, you must have + permission to use the `kms:Decrypt` action to retrieve the checksum. + + **Directory buckets** - If you enable `ChecksumMode` and the object is + encrypted with Amazon Web Services Key Management Service (Amazon Web + Services KMS), you must also have the `kms:GenerateDataKey` and + `kms:Decrypt` permissions in IAM identity-based policies and KMS key + policies for the KMS key to retrieve the checksum of the object. + """ + +@dataclass(kw_only=True) +class HeadObjectOutput(_SerdeShape): + """Dataclass for HeadObjectOutput structure.""" + + delete_marker: bool | None = ... + """ + Specifies whether the object retrieved was (true) or was not (false) a + Delete Marker. If false, this response header does not appear in the + response. + + Note: + This functionality is not supported for directory buckets. + """ + accept_ranges: str | None = ... + """Indicates that a range of bytes was specified.""" + expiration: str | None = ... + """ + If the object expiration is configured (see + [`PutBucketLifecycleConfiguration`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) + ), the response includes this header. It includes the `expiry-date` and + `rule-id` key-value pairs providing object expiration information. The + value of the `rule-id` is URL-encoded. + + Note: + Object expiration information is not returned in directory buckets and + this header returns the value \"`NotImplemented`\" in all responses for + directory buckets. + """ + restore: str | None = ... + """ + If the object is an archived object (an object whose storage class is + GLACIER), the response includes this header if either the archive + restoration is in progress (see + [RestoreObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html) + or an archive copy is already restored. + + If an archive copy is already restored, the header value indicates when + Amazon S3 is scheduled to delete the object copy. For example: + + `x-amz-restore: ongoing-request="false", expiry-date="Fri, 21 Dec 2012 00:00:00 GMT"` + + If the object restoration is in progress, the header returns the value + `ongoing-request="true"`. + + For more information about archiving objects, see [Transitioning + Objects: General + Considerations](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-transition-general-considerations). + + Note: + This functionality is not supported for directory buckets. Directory + buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone storage + class) in Availability Zones and `ONEZONE_IA` (the S3 One + Zone-Infrequent Access storage class) in Dedicated Local Zones. + """ + archive_status: str | None = ... + """ + The archive state of the head object. + + Note: + This functionality is not supported for directory buckets. + """ + last_modified: datetime | None = ... + """Date and time when the object was last modified.""" + content_length: int | None = ... + """Size of the body in bytes.""" + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32 checksum` of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use an API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the object. This + checksum is only present if the checksum was uploaded with the object. + When you use an API operation on an object that was uploaded using + multipart uploads, this value may not be a direct checksum value of the + full object. Instead, it's a calculation based on the checksum values + of each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use the API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use an API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the object. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_type: str | None = ... + """ + The checksum type, which determines how part-level checksums are + combined to create an object-level checksum for multipart objects. You + can use this header response to verify that the checksum type that is + received is the same checksum type that was specified in + `CreateMultipartUpload` request. For more information, see [Checking + object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + e_tag: str | None = ... + """ + An entity tag (ETag) is an opaque identifier assigned by a web server to + a specific version of a resource found at a URL. + """ + missing_meta: int | None = ... + """ + This is set to the number of metadata entries not returned in + `x-amz-meta` headers. This can happen if you create metadata using an + API like SOAP that supports more flexible metadata than the REST API. + For example, using SOAP, you can create metadata whose values are not + legal HTTP headers. + + Note: + This functionality is not supported for directory buckets. + """ + version_id: str | None = ... + """ + Version ID of the object. + + Note: + This functionality is not supported for directory buckets. + """ + cache_control: str | None = ... + """Specifies caching behavior along the request/reply chain.""" + content_disposition: str | None = ... + """Specifies presentational information for the object.""" + content_encoding: str | None = ... + """ + Indicates what content encodings have been applied to the object and + thus what decoding mechanisms must be applied to obtain the media-type + referenced by the Content-Type header field. + """ + content_language: str | None = ... + """The language the content is in.""" + content_type: str | None = ... + """A standard MIME type describing the format of the object data.""" + content_range: str | None = ... + """The portion of the object returned in the response for a `GET` request.""" + expires: str | None = ... + """The date and time at which the object is no longer cacheable.""" + website_redirect_location: str | None = ... + """ + If the bucket is configured as a website, redirects requests for this + object to another object in the same bucket or to an external URL. + Amazon S3 stores the value of this header in the object metadata. + + Note: + This functionality is not supported for directory buckets. + """ + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when you store this object in + Amazon S3 or Amazon FSx. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + metadata: dict[str, str] | None = ... + """A map of metadata to store with the object in S3.""" + sse_customer_algorithm: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to confirm the + encryption algorithm that's used. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to provide the + round-trip message integrity verification of the customer-provided + encryption key. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + If present, indicates the ID of the KMS key that was used for object + encryption. + """ + bucket_key_enabled: bool | None = ... + """ + Indicates whether the object uses an S3 Bucket Key for server-side + encryption with Key Management Service (KMS) keys (SSE-KMS). + """ + storage_class: str | None = ... + """ + Provides storage class information of the object. Amazon S3 returns this + header for all objects except for S3 Standard storage class objects. + + For more information, see [Storage + Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html). + + Note: + **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` + (the S3 Express One Zone storage class) in Availability Zones and + `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in + Dedicated Local Zones. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + replication_status: str | None = ... + """ + Amazon S3 can return this header if your request involves a bucket that + is either a source or a destination in a replication rule. + + In replication, you have a source bucket on which you configure + replication and destination bucket or buckets where Amazon S3 stores + object replicas. When you request an object (`GetObject`) or object + metadata (`HeadObject`) from these buckets, Amazon S3 will return the + `x-amz-replication-status` header in the response as follows: + + - **If requesting an object from the source bucket**, Amazon S3 will + return the `x-amz-replication-status` header if the object in your + request is eligible for replication. + + For example, suppose that in your replication configuration, you + specify object prefix `TaxDocs` requesting Amazon S3 to replicate + objects with key prefix `TaxDocs`. Any objects you upload with this + key name prefix, for example `TaxDocs/document1.pdf`, are eligible for + replication. For any object request with this key name prefix, Amazon + S3 will return the `x-amz-replication-status` header with value + PENDING, COMPLETED or FAILED indicating object replication status. + + - **If requesting an object from a destination bucket**, Amazon S3 will + return the `x-amz-replication-status` header with value REPLICA if the + object in your request is a replica that Amazon S3 created and there + is no replica modification replication in progress. + + - **When replicating objects to multiple destination buckets**, the + `x-amz-replication-status` header acts differently. The header of the + source object will only return a value of COMPLETED when replication + is successful to all destinations. The header will remain at value + PENDING until replication has completed for all destinations. If one + or more destinations fails replication the header will return FAILED. + + For more information, see + [Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html). + + Note: + This functionality is not supported for directory buckets. + """ + parts_count: int | None = ... + """ + The count of parts this object has. This value is only returned if you + specify `partNumber` in your request and the object was uploaded as a + multipart upload. + """ + tag_count: int | None = ... + """ + The number of tags, if any, on the object, when you have the relevant + permission to read object tags. + + You can use + [GetObjectTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) + to retrieve the tag set associated with an object. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_mode: str | None = ... + """ + The Object Lock mode, if any, that's in effect for this object. This + header is only returned if the requester has the `s3:GetObjectRetention` + permission. For more information about S3 Object Lock, see [Object + Lock](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_retain_until_date: datetime | None = ... + """ + The date and time when the Object Lock retention period expires. This + header is only returned if the requester has the `s3:GetObjectRetention` + permission. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_legal_hold_status: str | None = ... + """ + Specifies whether a legal hold is in effect for this object. This header + is only returned if the requester has the `s3:GetObjectLegalHold` + permission. This header is not returned if the specified version of this + object has never had a legal hold applied. For more information about S3 + Object Lock, see [Object + Lock](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold: str | None = ... + """ + The event hold status for this object. This header is only returned if + the requester has the `s3:GetObjectRetention` permission. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_days: int | None = ... + """ + The event hold duration in days for this object. Only returned when the + event hold is enabled. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_years: int | None = ... + """ + The event hold duration in years for this object. Only returned when the + event hold is enabled. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IdempotencyParameterMismatch(ServiceError, _SerdeShape): + """ + Parameters on this idempotent request are inconsistent with parameters + used in previous request(s). + + For a list of error codes and more information on Amazon S3 errors, see + [Error + codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). + + Note: + Idempotency ensures that an API request completes no more than one time. + With an idempotent request, if the original request completes + successfully, any subsequent retries complete successfully without + performing any further actions. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class IndexDocument(_SerdeShape): + """Container for the `Suffix` element.""" + + suffix: str + """ + A suffix that is appended to a request that is for a directory on the + website endpoint. (For example, if the suffix is `index.html` and you + make a request to `samplebucket/images/`, the data that is returned will + be for the object with the key name `images/index.html`.) The suffix + must not be empty and must not include a slash character. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + +@dataclass(kw_only=True) +class Initiator(_SerdeShape): + """Container element that identifies who initiated the multipart upload.""" + + id: str | None = ... + """ + If the principal is an Amazon Web Services account, it provides the + Canonical User ID. If the principal is an IAM User, it provides a user + ARN value. + + Note: + **Directory buckets** - If the principal is an Amazon Web Services + account, it provides the Amazon Web Services account ID. If the + principal is an IAM User, it provides a user ARN value. + """ + display_name: str | None = ... + """ + Note: + This functionality is not supported for directory buckets. + """ + +@dataclass(kw_only=True) +class InputSerialization(_SerdeShape): + """Describes the serialization format of the object.""" + + csv: CSVInput | None = ... + """Describes the serialization of a CSV-encoded object.""" + compression_type: str | None = ... + """ + Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. + Default Value: NONE. + """ + json: JSONInput | None = ... + """Specifies JSON as object's input serialization format.""" + parquet: ParquetInput | None = ... + """Specifies Parquet as object's input serialization format.""" + +class IntelligentTieringAccessTier(UnknownEnumMixin, StrEnum): + ARCHIVE_ACCESS = "ARCHIVE_ACCESS" + DEEP_ARCHIVE_ACCESS = "DEEP_ARCHIVE_ACCESS" + +@dataclass(kw_only=True) +class IntelligentTieringAndOperator(_SerdeShape): + """ + A container for specifying S3 Intelligent-Tiering filters. The filters + determine the subset of objects to which the rule applies. + """ + + prefix: str | None = ... + """ + An object key name prefix that identifies the subset of objects to which + the configuration applies. + """ + tags: list[Tag] | None = ... + """ + All of these tags must exist in the object's tag set in order for the + configuration to apply. + """ + +@dataclass(kw_only=True) +class IntelligentTieringConfiguration(_SerdeShape): + """ + Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 + bucket. + + For information about the S3 Intelligent-Tiering storage class, see + [Storage class for automatically optimizing frequently and infrequently + accessed + objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access). + """ + + id: str + """The ID used to identify the S3 Intelligent-Tiering configuration.""" + filter: IntelligentTieringFilter | None = ... + """ + Specifies a bucket filter. The configuration only includes objects that + meet the filter's criteria. + """ + status: str + """Specifies the status of the configuration.""" + tierings: list[Tiering] + """ + Specifies the S3 Intelligent-Tiering storage class tier of the + configuration. + """ + +@dataclass(kw_only=True) +class IntelligentTieringFilter(_SerdeShape): + """ + The `Filter` is used to identify objects that the S3 Intelligent-Tiering + configuration applies to. + """ + + prefix: str | None = ... + """ + An object key name prefix that identifies the subset of objects to which + the rule applies. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + tag: Tag | None = ... + """A container of a key value name pair.""" + and_: IntelligentTieringAndOperator | None = ... + """ + A conjunction (logical AND) of predicates, which is used in evaluating a + metrics filter. The operator must have at least two predicates, and an + object must match all of the predicates in order for the filter to + apply. + """ + +class IntelligentTieringStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +@dataclass(kw_only=True) +class InvalidAnnotationName(ServiceError, _SerdeShape): + """The annotation name you provided is invalid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidObjectState(ServiceError, _SerdeShape): + """ + Object is archived and inaccessible until restored. + + If the object you are retrieving is stored in the S3 Glacier Flexible + Retrieval storage class, the S3 Glacier Deep Archive storage class, the + S3 Intelligent-Tiering Archive Access tier, or the S3 + Intelligent-Tiering Deep Archive Access tier, before you can retrieve + the object you must first restore a copy using + [RestoreObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html). + Otherwise, this operation returns an `InvalidObjectState` error. For + information about restoring archived objects, see [Restoring Archived + Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html) + in the *Amazon S3 User Guide*. + """ + + storage_class: str | None = ... + access_tier: str | None = ... + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidPrefix(ServiceError, _SerdeShape): + """The annotation prefix you provided is invalid.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidRequest(ServiceError, _SerdeShape): + """ + A parameter or header in your request isn't valid. For details, see the + description of this API operation. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InvalidWriteOffset(ServiceError, _SerdeShape): + """ + The write offset value that you specified does not match the current + object size. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class InventoryConfiguration(_SerdeShape): + """ + Specifies the S3 Inventory configuration for an Amazon S3 bucket. For + more information, see [GET Bucket + inventory](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html) + in the *Amazon S3 API Reference*. + """ + + destination: InventoryDestination + """Contains information about where to publish the inventory results.""" + is_enabled: bool + """ + Specifies whether the inventory is enabled or disabled. If set to + `True`, an inventory list is generated. If set to `False`, no inventory + list is generated. + """ + filter: InventoryFilter | None = ... + """ + Specifies an inventory filter. The inventory only includes objects that + meet the filter's criteria. + """ + id: str + """The ID used to identify the inventory configuration.""" + included_object_versions: str + """ + Object versions to include in the inventory list. If set to `All`, the + list includes all the object versions, which adds the version-related + fields `VersionId`, `IsLatest`, and `DeleteMarker` to the list. If set + to `Current`, the list does not contain these version-related fields. + """ + optional_fields: list[str] | None = ... + """ + Contains the optional fields that are included in the inventory results. + + Note: + The following optional fields are supported for directory buckets + `Size | LastModifiedDate | StorageClass | ETag | IsMultipartUploaded | EncryptionStatus | BucketKeyStatus | ChecksumAlgorithm | LifecycleExpirationDate.` + Throws MalformedXML error if unsupported optional field is provided. + """ + schedule: InventorySchedule + """Specifies the schedule for generating inventory results.""" + +class InventoryConfigurationState(UnknownEnumMixin, StrEnum): + ENABLED = "ENABLED" + DISABLED = "DISABLED" + +@dataclass(kw_only=True) +class InventoryDestination(_SerdeShape): + """Specifies the S3 Inventory configuration for an Amazon S3 bucket.""" + + s3_bucket_destination: InventoryS3BucketDestination + """ + Contains the bucket name, file format, bucket owner (optional), and + prefix (optional) where inventory results are published. + """ + +@dataclass(kw_only=True) +class InventoryEncryption(_SerdeShape): + """ + Contains the type of server-side encryption used to encrypt the S3 + Inventory results. + """ + + sses3: SSES3 | None = ... + """Specifies the use of SSE-S3 to encrypt delivered inventory reports.""" + ssekms: SSEKMS | None = ... + """Specifies the use of SSE-KMS to encrypt delivered inventory reports.""" + +@dataclass(kw_only=True) +class InventoryFilter(_SerdeShape): + """ + Specifies an S3 Inventory filter. The inventory only includes objects + that meet the filter's criteria. + """ + + prefix: str + """ + The prefix that an object must have to be included in the inventory + results. + """ + +class InventoryFormat(UnknownEnumMixin, StrEnum): + CSV = "CSV" + ORC = "ORC" + PARQUET = "Parquet" + +class InventoryFrequency(UnknownEnumMixin, StrEnum): + DAILY = "Daily" + WEEKLY = "Weekly" + +class InventoryIncludedObjectVersions(UnknownEnumMixin, StrEnum): + ALL = "All" + CURRENT = "Current" + +class InventoryOptionalField(UnknownEnumMixin, StrEnum): + SIZE = "Size" + LAST_MODIFIED_DATE = "LastModifiedDate" + STORAGE_CLASS = "StorageClass" + E_TAG = "ETag" + IS_MULTIPART_UPLOADED = "IsMultipartUploaded" + REPLICATION_STATUS = "ReplicationStatus" + ENCRYPTION_STATUS = "EncryptionStatus" + OBJECT_LOCK_RETAIN_UNTIL_DATE = "ObjectLockRetainUntilDate" + OBJECT_LOCK_MODE = "ObjectLockMode" + OBJECT_LOCK_LEGAL_HOLD_STATUS = "ObjectLockLegalHoldStatus" + OBJECT_LOCK_EVENT_HOLD_STATUS = "ObjectLockEventHoldStatus" + OBJECT_LOCK_EVENT_HOLD_DURATION = "ObjectLockEventHoldDuration" + INTELLIGENT_TIERING_ACCESS_TIER = "IntelligentTieringAccessTier" + BUCKET_KEY_STATUS = "BucketKeyStatus" + CHECKSUM_ALGORITHM = "ChecksumAlgorithm" + OBJECT_ACCESS_CONTROL_LIST = "ObjectAccessControlList" + OBJECT_OWNER = "ObjectOwner" + LIFECYCLE_EXPIRATION_DATE = "LifecycleExpirationDate" + INTELLIGENT_TIERING_REFERENCE_DATE = "IntelligentTieringReferenceDate" + +@dataclass(kw_only=True) +class InventoryS3BucketDestination(_SerdeShape): + """ + Contains the bucket name, file format, bucket owner (optional), and + prefix (optional) where S3 Inventory results are published. + """ + + account_id: str | None = ... + """ + The account ID that owns the destination S3 bucket. If no account ID is + provided, the owner is not validated before exporting data. + + Note: + Although this value is optional, we strongly recommend that you set it + to help prevent problems if the destination bucket ownership changes. + """ + bucket: str + """ + The Amazon Resource Name (ARN) of the bucket where inventory results + will be published. + """ + format: str + """Specifies the output format of the inventory results.""" + prefix: str | None = ... + """The prefix that is prepended to all inventory results.""" + encryption: InventoryEncryption | None = ... + """ + Contains the type of server-side encryption used to encrypt the + inventory results. + """ + +@dataclass(kw_only=True) +class InventorySchedule(_SerdeShape): + """Specifies the schedule for generating S3 Inventory results.""" + + frequency: str + """Specifies how frequently inventory results are produced.""" + +@dataclass(kw_only=True) +class InventoryTableConfiguration(_SerdeShape): + """The inventory table configuration for an S3 Metadata configuration.""" + + configuration_state: str + """ + The configuration state of the inventory table, indicating whether the + inventory table is enabled or disabled. + """ + encryption_configuration: MetadataTableEncryptionConfiguration | None = ... + """The encryption configuration for the inventory table.""" + +@dataclass(kw_only=True) +class InventoryTableConfigurationResult(_SerdeShape): + """The inventory table configuration for an S3 Metadata configuration.""" + + configuration_state: str + """ + The configuration state of the inventory table, indicating whether the + inventory table is enabled or disabled. + """ + table_status: str | None = ... + """ + The status of the inventory table. The status values are: + + - `CREATING` - The inventory table is in the process of being created in + the specified Amazon Web Services managed table bucket. + + - `BACKFILLING` - The inventory table is in the process of being + backfilled. When you enable the inventory table for your metadata + configuration, the table goes through a process known as backfilling, + during which Amazon S3 scans your general purpose bucket to retrieve + the initial metadata for all objects in the bucket. Depending on the + number of objects in your bucket, this process can take several hours. + When the backfilling process is finished, the status of your inventory + table changes from `BACKFILLING` to `ACTIVE`. After backfilling is + completed, updates to your objects are reflected in the inventory + table within one hour. + + - `ACTIVE` - The inventory table has been created successfully, and + records are being delivered to the table. + + - `FAILED` - Amazon S3 is unable to create the inventory table, or + Amazon S3 is unable to deliver records. + """ + error: ErrorDetails | None = ... + """ + If an S3 Metadata V1 `CreateBucketMetadataTableConfiguration` or V2 + `CreateBucketMetadataConfiguration` request succeeds, but S3 Metadata + was unable to create the table, this structure contains the error code + and error message. + + Note: + If you created your S3 Metadata configuration before July 15, 2025, we + recommend that you delete and re-create your configuration by using + [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) + so that you can expire journal table records and create a live inventory + table. + """ + table_name: str | None = ... + """The name of the inventory table.""" + table_arn: str | None = ... + """The Amazon Resource Name (ARN) for the inventory table.""" + +@dataclass(kw_only=True) +class InventoryTableConfigurationUpdates(_SerdeShape): + """The specified updates to the S3 Metadata inventory table configuration.""" + + configuration_state: str + """ + The configuration state of the inventory table, indicating whether the + inventory table is enabled or disabled. + """ + encryption_configuration: MetadataTableEncryptionConfiguration | None = ... + """The encryption configuration for the inventory table.""" + +@dataclass(kw_only=True) +class JournalTableConfiguration(_SerdeShape): + """The journal table configuration for an S3 Metadata configuration.""" + + record_expiration: RecordExpiration + """The journal table record expiration settings for the journal table.""" + encryption_configuration: MetadataTableEncryptionConfiguration | None = ... + """The encryption configuration for the journal table.""" + +@dataclass(kw_only=True) +class JournalTableConfigurationResult(_SerdeShape): + """The journal table configuration for the S3 Metadata configuration.""" + + table_status: str + """ + The status of the journal table. The status values are: + + - `CREATING` - The journal table is in the process of being created in + the specified table bucket. + + - `ACTIVE` - The journal table has been created successfully, and + records are being delivered to the table. + + - `FAILED` - Amazon S3 is unable to create the journal table, or Amazon + S3 is unable to deliver records. + """ + error: ErrorDetails | None = ... + """ + If an S3 Metadata V1 `CreateBucketMetadataTableConfiguration` or V2 + `CreateBucketMetadataConfiguration` request succeeds, but S3 Metadata + was unable to create the table, this structure contains the error code + and error message. + + Note: + If you created your S3 Metadata configuration before July 15, 2025, we + recommend that you delete and re-create your configuration by using + [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) + so that you can expire journal table records and create a live inventory + table. + """ + table_name: str + """The name of the journal table.""" + table_arn: str | None = ... + """The Amazon Resource Name (ARN) for the journal table.""" + record_expiration: RecordExpiration + """The journal table record expiration settings for the journal table.""" + +@dataclass(kw_only=True) +class JournalTableConfigurationUpdates(_SerdeShape): + """The specified updates to the S3 Metadata journal table configuration.""" + + record_expiration: RecordExpiration + """The journal table record expiration settings for the journal table.""" + +@dataclass(kw_only=True) +class JSONInput(_SerdeShape): + """Specifies JSON as object's input serialization format.""" + + type: str | None = ... + """The type of JSON. Valid values: Document, Lines.""" + +@dataclass(kw_only=True) +class JSONOutput(_SerdeShape): + """Specifies JSON as request's output serialization format.""" + + record_delimiter: str | None = ... + """ + The value used to separate individual records in the output. If no value + is specified, Amazon S3 uses a newline character ('\\n'). + """ + +class JSONType(UnknownEnumMixin, StrEnum): + DOCUMENT = "DOCUMENT" + LINES = "LINES" + +@dataclass(kw_only=True) +class LambdaFunctionConfiguration(_SerdeShape): + """A container for specifying the configuration for Lambda notifications.""" + + id: str | None = ... + """ + An optional unique identifier for configurations in a notification + configuration. If you don't provide one, Amazon S3 will assign an ID. + """ + lambda_function_arn: str + """ + The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 + invokes when the specified event type occurs. + """ + events: list[str] + """ + The Amazon S3 bucket event for which to invoke the Lambda function. For + more information, see [Supported Event + Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) + in the *Amazon S3 User Guide*. + """ + filter: NotificationConfigurationFilter | None = ... + """ + Specifies object key name filtering rules. For information about key + name filtering, see [Configuring event notifications using object key + name + filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) + in the *Amazon S3 User Guide*. + """ + +@dataclass(kw_only=True) +class LifecycleExpiration(_SerdeShape): + """ + Container for the expiration for the lifecycle of the object. + + For more information see, [Managing your storage + lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html) + in the *Amazon S3 User Guide*. + """ + + date: datetime | None = ... + """ + Indicates at what date the object is to be moved or deleted. The date + value must conform to the ISO 8601 format. The time is always midnight + UTC. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + days: int | None = ... + """ + Indicates the lifetime, in days, of the objects that are subject to the + rule. The value must be a non-zero positive integer. + """ + expired_object_delete_marker: bool | None = ... + """ + Indicates whether Amazon S3 will remove a delete marker with no + noncurrent versions. If set to true, the delete marker will be expired; + if set to false the policy takes no action. This cannot be specified + with Days or Date in a Lifecycle Expiration Policy. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/models_1.pyi b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/models_1.pyi new file mode 100644 index 000000000..92fbdf4fd --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/models_1.pyi @@ -0,0 +1,8842 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from dataclasses import dataclass +from datetime import datetime +from enum import StrEnum +from typing import Union + +from smithy_core.aio.interfaces import StreamingBlob +from smithy_core.deserializers import ShapeDeserializer +from smithy_core.response import ResponseMetadata +from smithy_core.types import UnknownEnumMixin + +from ..models import ( + AbacStatus, + AbortIncompleteMultipartUpload, + AccelerateConfiguration, + AccessControlPolicy, + AnalyticsConfiguration, + AnalyticsExportDestination, + AnnotationEntry, + AnnotationTableConfiguration, + AnnotationTableConfigurationResult, + AnnotationTableConfigurationUpdates, + BlockedEncryptionTypes, + Bucket, + BucketLifecycleConfiguration, + BucketLoggingStatus, + CORSConfiguration, + CSVOutput, + CommonPrefix, + Condition, + ContinuationEvent, + CopyPartResult, + DefaultRetention, + DeleteMarkerEntry, + DeleteMarkerReplication, + Destination, + DestinationResult, + Encryption, + EndEvent, + ErrorDocument, + EventBridgeConfiguration, + EventHoldDuration, + ExistingObjectReplication, + FilterRule, + GlacierJobParameters, + Grant, + Grantee, + IndexDocument, + Initiator, + InputSerialization, + IntelligentTieringConfiguration, + InventoryConfiguration, + InventoryTableConfiguration, + InventoryTableConfigurationResult, + InventoryTableConfigurationUpdates, + JSONOutput, + JournalTableConfiguration, + JournalTableConfigurationResult, + JournalTableConfigurationUpdates, + LambdaFunctionConfiguration, + LifecycleExpiration, + ServiceError, + _SerdeShape, +) + +@dataclass(kw_only=True) +class LifecycleRule(_SerdeShape): + """ + A lifecycle rule for individual objects in an Amazon S3 bucket. + + For more information see, [Managing your storage + lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html) + in the *Amazon S3 User Guide*. + """ + + expiration: LifecycleExpiration | None = ... + """ + Specifies the expiration for the lifecycle of the object in the form of + date, days and, whether the object has a delete marker. + """ + id: str | None = ... + """ + Unique identifier for the rule. The value cannot be longer than 255 + characters. + """ + prefix: str | None = ... + """ + The general purpose bucket prefix that identifies one or more objects to + which the rule applies. We recommend using `Filter` instead of `Prefix` + for new PUTs. Previous configurations where a prefix is defined will + continue to operate as before. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + filter: LifecycleRuleFilter | None = ... + """ + The `Filter` is used to identify objects that a Lifecycle Rule applies + to. A `Filter` must have exactly one of `Prefix`, `Tag`, + `ObjectSizeGreaterThan`, `ObjectSizeLessThan`, or `And` specified. + `Filter` is required if the `LifecycleRule` does not contain a `Prefix` + element. + + For more information about `Tag` filters, see [Adding filters to + Lifecycle + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-filters.html) + in the *Amazon S3 User Guide*. + + Note: + `Tag` filters are not supported for directory buckets. + """ + status: str + """ + If 'Enabled', the rule is currently being applied. If 'Disabled', + the rule is not currently being applied. + """ + transitions: list[Transition] | None = ... + """ + Specifies when an Amazon S3 object transitions to a specified storage + class. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + noncurrent_version_transitions: list[NoncurrentVersionTransition] | None = ... + """ + Specifies the transition rule for the lifecycle rule that describes when + noncurrent objects transition to a specific storage class. If your + bucket is versioning-enabled (or versioning is suspended), you can set + this action to request that Amazon S3 transition noncurrent object + versions to a specific storage class at a set period in the object's + lifetime. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + noncurrent_version_expiration: NoncurrentVersionExpiration | None = ... + """ + Specifies when noncurrent object versions expire. Upon expiration, + Amazon S3 permanently deletes the noncurrent object versions. You set + this lifecycle configuration action on a bucket that has versioning + enabled (or suspended) to request that Amazon S3 delete noncurrent + object versions at a specific period in the object's lifetime. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + abort_incomplete_multipart_upload: AbortIncompleteMultipartUpload | None = ... + """ + Specifies the days since the initiation of an incomplete multipart + upload that Amazon S3 will wait before permanently removing all parts of + the upload. For more information, see [Aborting Incomplete Multipart + Uploads Using a Bucket Lifecycle + Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) + in the *Amazon S3 User Guide*. + """ + +@dataclass(kw_only=True) +class LifecycleRuleAndOperator(_SerdeShape): + """ + This is used in a Lifecycle Rule Filter to apply a logical AND to two or + more predicates. The Lifecycle Rule will apply to any object matching + all of the predicates configured inside the And operator. + """ + + prefix: str | None = ... + """Prefix identifying one or more objects to which the rule applies.""" + tags: list[Tag] | None = ... + """ + All of these tags must exist in the object's tag set in order for the + rule to apply. + """ + object_size_greater_than: int | None = ... + """Minimum object size to which the rule applies.""" + object_size_less_than: int | None = ... + """Maximum object size to which the rule applies.""" + +@dataclass(kw_only=True) +class LifecycleRuleFilter(_SerdeShape): + """ + The `Filter` is used to identify objects that a Lifecycle Rule applies + to. A `Filter` can have exactly one of `Prefix`, `Tag`, + `ObjectSizeGreaterThan`, `ObjectSizeLessThan`, or `And` specified. If + the `Filter` element is left empty, the Lifecycle Rule applies to all + objects in the bucket. + """ + + prefix: str | None = ... + """ + Prefix identifying one or more objects to which the rule applies. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + tag: Tag | None = ... + """ + This tag must exist in the object's tag set in order for the rule to + apply. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + object_size_greater_than: int | None = ... + """Minimum object size to which the rule applies.""" + object_size_less_than: int | None = ... + """Maximum object size to which the rule applies.""" + and_: LifecycleRuleAndOperator | None = ... + """ + This is used in a Lifecycle Rule Filter to apply a logical AND to two or + more predicates. The Lifecycle Rule will apply to any object matching + all of the predicates configured inside the And operator. + """ + +@dataclass(kw_only=True) +class ListBucketAnalyticsConfigurationsInput(_SerdeShape): + """Dataclass for ListBucketAnalyticsConfigurationsInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket from which analytics configurations are + retrieved. + """ + continuation_token: str | None = ... + """ + The `ContinuationToken` that represents a placeholder from where this + request should begin. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class ListBucketAnalyticsConfigurationsOutput(_SerdeShape): + """Dataclass for ListBucketAnalyticsConfigurationsOutput structure.""" + + is_truncated: bool | None = ... + """ + Indicates whether the returned list of analytics configurations is + complete. A value of true indicates that the list is not complete and + the NextContinuationToken will be provided for a subsequent request. + """ + continuation_token: str | None = ... + """ + The marker that is used as a starting point for this analytics + configuration list response. This value is present if it was sent in the + request. + """ + next_continuation_token: str | None = ... + """ + `NextContinuationToken` is sent when `isTruncated` is true, which + indicates that there are more analytics configurations to list. The next + request must include this `NextContinuationToken`. The token is + obfuscated and is not a usable value. + """ + analytics_configuration_list: list[AnalyticsConfiguration] | None = ... + """The list of analytics configurations for a bucket.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBucketIntelligentTieringConfigurationsInput(_SerdeShape): + """Dataclass for ListBucketIntelligentTieringConfigurationsInput structure.""" + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket whose configuration you want to modify + or retrieve. + """ + continuation_token: str | None = ... + """ + The `ContinuationToken` that represents a placeholder from where this + request should begin. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class ListBucketIntelligentTieringConfigurationsOutput(_SerdeShape): + """ + Dataclass for ListBucketIntelligentTieringConfigurationsOutput + structure. + """ + + is_truncated: bool | None = ... + """ + Indicates whether the returned list of analytics configurations is + complete. A value of `true` indicates that the list is not complete and + the `NextContinuationToken` will be provided for a subsequent request. + """ + continuation_token: str | None = ... + """ + The `ContinuationToken` that represents a placeholder from where this + request should begin. + """ + next_continuation_token: str | None = ... + """ + The marker used to continue this inventory configuration listing. Use + the `NextContinuationToken` from this response to continue the listing + in a subsequent request. The continuation token is an opaque value that + Amazon S3 understands. + """ + intelligent_tiering_configuration_list: ( + list[IntelligentTieringConfiguration] | None + ) = ... + """The list of S3 Intelligent-Tiering configurations for a bucket.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBucketInventoryConfigurationsInput(_SerdeShape): + """Dataclass for ListBucketInventoryConfigurationsInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket containing the inventory configurations to + retrieve. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + continuation_token: str | None = ... + """ + The marker used to continue an inventory configuration listing that has + been truncated. Use the `NextContinuationToken` from a previously + truncated list response to continue the listing. The continuation token + is an opaque value that Amazon S3 understands. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class ListBucketInventoryConfigurationsOutput(_SerdeShape): + """Dataclass for ListBucketInventoryConfigurationsOutput structure.""" + + continuation_token: str | None = ... + """ + If sent in the request, the marker that is used as a starting point for + this inventory configuration list response. + """ + inventory_configuration_list: list[InventoryConfiguration] | None = ... + """The list of inventory configurations for a bucket.""" + is_truncated: bool | None = ... + """ + Tells whether the returned list of inventory configurations is complete. + A value of true indicates that the list is not complete and the + NextContinuationToken is provided for a subsequent request. + """ + next_continuation_token: str | None = ... + """ + The marker used to continue this inventory configuration listing. Use + the `NextContinuationToken` from this response to continue the listing + in a subsequent request. The continuation token is an opaque value that + Amazon S3 understands. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBucketMetricsConfigurationsInput(_SerdeShape): + """Dataclass for ListBucketMetricsConfigurationsInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket containing the metrics configurations to + retrieve. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + continuation_token: str | None = ... + """ + The marker that is used to continue a metrics configuration listing that + has been truncated. Use the `NextContinuationToken` from a previously + truncated list response to continue the listing. The continuation token + is an opaque value that Amazon S3 understands. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class ListBucketMetricsConfigurationsOutput(_SerdeShape): + """Dataclass for ListBucketMetricsConfigurationsOutput structure.""" + + is_truncated: bool | None = ... + """ + Indicates whether the returned list of metrics configurations is + complete. A value of true indicates that the list is not complete and + the NextContinuationToken will be provided for a subsequent request. + """ + continuation_token: str | None = ... + """ + The marker that is used as a starting point for this metrics + configuration list response. This value is present if it was sent in the + request. + """ + next_continuation_token: str | None = ... + """ + The marker used to continue a metrics configuration listing that has + been truncated. Use the `NextContinuationToken` from a previously + truncated list response to continue the listing. The continuation token + is an opaque value that Amazon S3 understands. + """ + metrics_configuration_list: list[MetricsConfiguration] | None = ... + """The list of metrics configurations for a bucket.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListBucketsInput(_SerdeShape): + """Dataclass for ListBucketsInput structure.""" + + max_buckets: int | None = ... + """ + Maximum number of buckets to be returned in response. When the number is + more than the count of buckets that are owned by an Amazon Web Services + account, return all the buckets in response. + """ + continuation_token: str | None = ... + """ + `ContinuationToken` indicates to Amazon S3 that the list is being + continued on this bucket with a token. `ContinuationToken` is obfuscated + and is not a real key. You can use this `ContinuationToken` for + pagination of the list results. + + Length Constraints: Minimum length of 0. Maximum length of 1024. + + Required: No. + + Note: + If you specify the `bucket-region`, `prefix`, or `continuation-token` + query parameters without using `max-buckets` to set the maximum number + of buckets returned in the response, Amazon S3 applies a default page + size of 10,000 and provides a continuation token if there are more + buckets. + """ + prefix: str | None = ... + """ + Limits the response to bucket names that begin with the specified bucket + name prefix. + """ + bucket_region: str | None = ... + """ + Limits the response to buckets that are located in the specified Amazon + Web Services Region. The Amazon Web Services Region must be expressed + according to the Amazon Web Services Region code, such as `us-west-2` + for the US West (Oregon) Region. For a list of the valid values for all + of the Amazon Web Services Regions, see [Regions and + Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). + + Note: + Requests made to a Regional endpoint that is different from the + `bucket-region` parameter are not supported. For example, if you want to + limit the response to your buckets in Region `us-west-2`, the request + must be made to an endpoint in Region `us-west-2`. + """ + +@dataclass(kw_only=True) +class ListBucketsOutput(_SerdeShape): + """Dataclass for ListBucketsOutput structure.""" + + buckets: list[Bucket] | None = ... + """The list of buckets owned by the requester.""" + owner: Owner | None = ... + """The owner of the buckets listed.""" + continuation_token: str | None = ... + """ + `ContinuationToken` is included in the response when there are more + buckets that can be listed with pagination. The next `ListBuckets` + request to Amazon S3 can be continued with this `ContinuationToken`. + `ContinuationToken` is obfuscated and is not a real bucket. + """ + prefix: str | None = ... + """ + If `Prefix` was sent with the request, it is included in the response. + + All bucket names in the response begin with the specified bucket name + prefix. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListDirectoryBucketsInput(_SerdeShape): + """Dataclass for ListDirectoryBucketsInput structure.""" + + continuation_token: str | None = ... + """ + `ContinuationToken` indicates to Amazon S3 that the list is being + continued on buckets in this account with a token. `ContinuationToken` + is obfuscated and is not a real bucket name. You can use this + `ContinuationToken` for the pagination of the list results. + """ + max_directory_buckets: int | None = ... + """ + Maximum number of buckets to be returned in response. When the number is + more than the count of buckets that are owned by an Amazon Web Services + account, return all the buckets in response. + """ + +@dataclass(kw_only=True) +class ListDirectoryBucketsOutput(_SerdeShape): + """Dataclass for ListDirectoryBucketsOutput structure.""" + + buckets: list[Bucket] | None = ... + """The list of buckets owned by the requester.""" + continuation_token: str | None = ... + """ + If `ContinuationToken` was sent with the request, it is included in the + response. You can use the returned `ContinuationToken` for pagination of + the list response. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListMultipartUploadsInput(_SerdeShape): + """Dataclass for ListMultipartUploadsInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket to which the multipart upload was initiated. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + delimiter: str | None = ... + """ + Character you use to group keys. + + All keys that contain the same string between the prefix, if specified, + and the first occurrence of the delimiter after the prefix are grouped + under a single result element, `CommonPrefixes`. If you don't specify + the prefix parameter, then the substring starts at the beginning of the + key. The keys that are grouped under `CommonPrefixes` result element are + not returned elsewhere in the response. + + `CommonPrefixes` is filtered out from results if it is not + lexicographically greater than the key-marker. + + Note: + **Directory buckets** - For directory buckets, `/` is the only supported + delimiter. + """ + encoding_type: str | None = ... + """ + Encoding type used by Amazon S3 to encode the [object + keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) + in the response. Responses are encoded only in UTF-8. An object key can + contain any Unicode character. However, the XML 1.0 parser can't parse + certain characters, such as characters with an ASCII value from 0 to 10. + For characters that aren't supported in XML 1.0, you can add this + parameter to request that Amazon S3 encode the keys in the response. For + more information about characters to avoid in object key names, see + [Object key naming + guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). + + Note: + When using the URL encoding type, non-ASCII characters that are used in + an object's key name will be percent-encoded according to UTF-8 code + values. For example, the object `test_file(3).png` will appear as + `test_file%283%29.png`. + """ + key_marker: str | None = ... + """ + Specifies the multipart upload after which listing should begin. + + Note: + - **General purpose buckets** - For general purpose buckets, + `key-marker` is an object key. Together with `upload-id-marker`, this + parameter specifies the multipart upload after which listing should + begin. + + If `upload-id-marker` is not specified, only the keys + lexicographically greater than the specified `key-marker` will be + included in the list. + + If `upload-id-marker` is specified, any multipart uploads for a key + equal to the `key-marker` might also be included, provided those + multipart uploads have upload IDs lexicographically greater than the + specified `upload-id-marker`. + + - **Directory buckets** - For directory buckets, `key-marker` is + obfuscated and isn't a real object key. The `upload-id-marker` + parameter isn't supported by directory buckets. To list the + additional multipart uploads, you only need to set the value of + `key-marker` to the `NextKeyMarker` value from the previous response. + + In the `ListMultipartUploads` response, the multipart uploads aren't + sorted lexicographically based on the object keys. + """ + max_uploads: int | None = ... + """ + Sets the maximum number of multipart uploads, from 1 to 1,000, to return + in the response body. 1,000 is the maximum number of uploads that can be + returned in a response. + """ + prefix: str | None = ... + """ + Lists in-progress uploads only for those keys that begin with the + specified prefix. You can use prefixes to separate a bucket into + different grouping of keys. (You can think of using `prefix` to make + groups in the same way that you'd use a folder in a file system.) + + Note: + **Directory buckets** - For directory buckets, only prefixes that end in + a delimiter (`/`) are supported. + """ + upload_id_marker: str | None = ... + """ + Together with key-marker, specifies the multipart upload after which + listing should begin. If key-marker is not specified, the + upload-id-marker parameter is ignored. Otherwise, any multipart uploads + for a key equal to the key-marker might be included in the list only if + they have an upload ID lexicographically greater than the specified + `upload-id-marker`. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + +@dataclass(kw_only=True) +class ListMultipartUploadsOutput(_SerdeShape): + """Dataclass for ListMultipartUploadsOutput structure.""" + + bucket: str | None = ... + """ + The name of the bucket to which the multipart upload was initiated. Does + not return the access point ARN or access point alias if used. + """ + key_marker: str | None = ... + """The key at or after which the listing began.""" + upload_id_marker: str | None = ... + """ + Together with key-marker, specifies the multipart upload after which + listing should begin. If key-marker is not specified, the + upload-id-marker parameter is ignored. Otherwise, any multipart uploads + for a key equal to the key-marker might be included in the list only if + they have an upload ID lexicographically greater than the specified + `upload-id-marker`. + + Note: + This functionality is not supported for directory buckets. + """ + next_key_marker: str | None = ... + """ + When a list is truncated, this element specifies the value that should + be used for the key-marker request parameter in a subsequent request. + """ + prefix: str | None = ... + """ + When a prefix is provided in the request, this field contains the + specified prefix. The result contains only keys starting with the + specified prefix. + + Note: + **Directory buckets** - For directory buckets, only prefixes that end in + a delimiter (`/`) are supported. + """ + delimiter: str | None = ... + """ + Contains the delimiter you specified in the request. If you don't + specify a delimiter in your request, this element is absent from the + response. + + Note: + **Directory buckets** - For directory buckets, `/` is the only supported + delimiter. + """ + next_upload_id_marker: str | None = ... + """ + When a list is truncated, this element specifies the value that should + be used for the `upload-id-marker` request parameter in a subsequent + request. + + Note: + This functionality is not supported for directory buckets. + """ + max_uploads: int | None = ... + """ + Maximum number of multipart uploads that could have been included in the + response. + """ + is_truncated: bool | None = ... + """ + Indicates whether the returned list of multipart uploads is truncated. A + value of true indicates that the list was truncated. The list can be + truncated if the number of multipart uploads exceeds the limit allowed + or specified by max uploads. + """ + uploads: list[MultipartUpload] | None = ... + """ + Container for elements related to a particular multipart upload. A + response can contain zero or more `Upload` elements. + """ + common_prefixes: list[CommonPrefix] | None = ... + """ + If you specify a delimiter in the request, then the result returns each + distinct key prefix containing the delimiter in a `CommonPrefixes` + element. The distinct key prefixes are returned in the `Prefix` child + element. + + Note: + **Directory buckets** - For directory buckets, only prefixes that end in + a delimiter (`/`) are supported. + """ + encoding_type: str | None = ... + """ + Encoding type used by Amazon S3 to encode object keys in the response. + + If you specify the `encoding-type` request parameter, Amazon S3 includes + this element in the response, and returns encoded key name values in the + following response elements: + + `Delimiter`, `KeyMarker`, `Prefix`, `NextKeyMarker`, `Key`. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListObjectAnnotationsInput(_SerdeShape): + """Dataclass for ListObjectAnnotationsInput structure.""" + + bucket: str | None = ... + """The name of the bucket that contains the object.""" + key: str | None = ... + """The object key.""" + version_id: str | None = ... + """The version ID of the object.""" + max_annotation_results: int | None = ... + """ + The maximum number of annotations to return in the response. Maximum is + 1,000. + """ + annotation_prefix: str | None = ... + """ + Filter results to annotations whose name begins with the specified + prefix. + """ + continuation_token: str | None = ... + """ + Continuation token returned by a previous request to retrieve the next + page. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """The account ID of the expected bucket owner.""" + +@dataclass(kw_only=True) +class ListObjectAnnotationsOutput(_SerdeShape): + """Dataclass for ListObjectAnnotationsOutput structure.""" + + annotations: list[AnnotationEntry] | None = ... + """The list of annotations attached to the object.""" + bucket: str | None = ... + """The bucket name.""" + key: str | None = ... + """The object key.""" + object_version_id: str | None = ... + """The version ID of the object.""" + annotation_prefix: str | None = ... + """The prefix used to filter the response.""" + max_annotation_results: int | None = ... + """The maximum number of annotations returned in the response.""" + annotation_count: int | None = ... + """The number of annotations returned.""" + continuation_token: str | None = ... + """The continuation token used in this request.""" + next_continuation_token: str | None = ... + """The continuation token to use to retrieve the next page of results.""" + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListObjectsInput(_SerdeShape): + """Dataclass for ListObjectsInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket containing the objects. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + delimiter: str | None = ... + """ + A delimiter is a character that you use to group keys. + + `CommonPrefixes` is filtered out from results if it is not + lexicographically greater than the key-marker. + """ + encoding_type: str | None = ... + """ + Encoding type used by Amazon S3 to encode the [object + keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) + in the response. Responses are encoded only in UTF-8. An object key can + contain any Unicode character. However, the XML 1.0 parser can't parse + certain characters, such as characters with an ASCII value from 0 to 10. + For characters that aren't supported in XML 1.0, you can add this + parameter to request that Amazon S3 encode the keys in the response. For + more information about characters to avoid in object key names, see + [Object key naming + guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). + + Note: + When using the URL encoding type, non-ASCII characters that are used in + an object's key name will be percent-encoded according to UTF-8 code + values. For example, the object `test_file(3).png` will appear as + `test_file%283%29.png`. + """ + marker: str | None = ... + """ + Marker is where you want Amazon S3 to start listing from. Amazon S3 + starts listing after this specified key. Marker can be any key in the + bucket. + """ + max_keys: int | None = ... + """ + Sets the maximum number of keys returned in the response. By default, + the action returns up to 1,000 key names. The response might contain + fewer keys but will never contain more. + """ + prefix: str | None = ... + """Limits the response to keys that begin with the specified prefix.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that she or he will be charged for the + list objects request. Bucket owners need not specify this parameter in + their requests. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + optional_object_attributes: list[str] | None = ... + """ + Specifies the optional fields that you want returned in the response. + Fields that you do not specify are not returned. + """ + +@dataclass(kw_only=True) +class ListObjectsOutput(_SerdeShape): + """Dataclass for ListObjectsOutput structure.""" + + is_truncated: bool | None = ... + """ + A flag that indicates whether Amazon S3 returned all of the results that + satisfied the search criteria. + """ + marker: str | None = ... + """ + Indicates where in the bucket listing begins. Marker is included in the + response if it was sent with the request. + """ + next_marker: str | None = ... + """ + When the response is truncated (the `IsTruncated` element value in the + response is `true`), you can use the key name in this field as the + `marker` parameter in the subsequent request to get the next set of + objects. Amazon S3 lists objects in alphabetical order. + + Note: + This element is returned only if you have the `delimiter` request + parameter specified. If the response does not include the `NextMarker` + element and it is truncated, you can use the value of the last `Key` + element in the response as the `marker` parameter in the subsequent + request to get the next set of object keys. + """ + contents: list[Object] | None = ... + """Metadata about each object returned.""" + name: str | None = ... + """The bucket name.""" + prefix: str | None = ... + """Keys that begin with the indicated prefix.""" + delimiter: str | None = ... + """ + Causes keys that contain the same string between the prefix and the + first occurrence of the delimiter to be rolled up into a single result + element in the `CommonPrefixes` collection. These rolled-up keys are not + returned elsewhere in the response. Each rolled-up result counts as only + one return against the `MaxKeys` value. + """ + max_keys: int | None = ... + """The maximum number of keys returned in the response body.""" + common_prefixes: list[CommonPrefix] | None = ... + """ + All of the keys (up to 1,000) rolled up in a common prefix count as a + single return when calculating the number of returns. + + A response can contain `CommonPrefixes` only if you specify a delimiter. + + `CommonPrefixes` contains all (if there are any) keys between `Prefix` + and the next occurrence of the string specified by the delimiter. + + `CommonPrefixes` lists keys that act like subdirectories in the + directory specified by `Prefix`. + + For example, if the prefix is `notes/` and the delimiter is a slash + (`/`), as in `notes/summer/july`, the common prefix is `notes/summer/`. + All of the keys that roll up into a common prefix count as a single + return when calculating the number of returns. + """ + encoding_type: str | None = ... + """ + Encoding type used by Amazon S3 to encode the [object + keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) + in the response. Responses are encoded only in UTF-8. An object key can + contain any Unicode character. However, the XML 1.0 parser can't parse + certain characters, such as characters with an ASCII value from 0 to 10. + For characters that aren't supported in XML 1.0, you can add this + parameter to request that Amazon S3 encode the keys in the response. For + more information about characters to avoid in object key names, see + [Object key naming + guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). + + Note: + When using the URL encoding type, non-ASCII characters that are used in + an object's key name will be percent-encoded according to UTF-8 code + values. For example, the object `test_file(3).png` will appear as + `test_file%283%29.png`. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListObjectsV2Input(_SerdeShape): + """Dataclass for ListObjectsV2Input structure.""" + + bucket: str | None = ... + """ + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + delimiter: str | None = ... + """ + A delimiter is a character that you use to group keys. + + `CommonPrefixes` is filtered out from results if it is not + lexicographically greater than the `StartAfter` value. + + Note: + - **Directory buckets** - For directory buckets, `/` is the only + supported delimiter. + + - **Directory buckets** - When you query `ListObjectsV2` with a + delimiter during in-progress multipart uploads, the `CommonPrefixes` + response parameter contains the prefixes that are associated with the + in-progress multipart uploads. For more information about multipart + uploads, see [Multipart Upload + Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) + in the *Amazon S3 User Guide*. + """ + encoding_type: str | None = ... + """ + Encoding type used by Amazon S3 to encode the [object + keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) + in the response. Responses are encoded only in UTF-8. An object key can + contain any Unicode character. However, the XML 1.0 parser can't parse + certain characters, such as characters with an ASCII value from 0 to 10. + For characters that aren't supported in XML 1.0, you can add this + parameter to request that Amazon S3 encode the keys in the response. For + more information about characters to avoid in object key names, see + [Object key naming + guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). + + Note: + When using the URL encoding type, non-ASCII characters that are used in + an object's key name will be percent-encoded according to UTF-8 code + values. For example, the object `test_file(3).png` will appear as + `test_file%283%29.png`. + """ + max_keys: int | None = ... + """ + Sets the maximum number of keys returned in the response. By default, + the action returns up to 1,000 key names. The response might contain + fewer keys but will never contain more. + """ + prefix: str | None = ... + """ + Limits the response to keys that begin with the specified prefix. + + Note: + **Directory buckets** - For directory buckets, only prefixes that end in + a delimiter (`/`) are supported. + """ + continuation_token: str | None = ... + """ + `ContinuationToken` indicates to Amazon S3 that the list is being + continued on this bucket with a token. `ContinuationToken` is obfuscated + and is not a real key. You can use this `ContinuationToken` for + pagination of the list results. + """ + fetch_owner: bool | None = ... + """ + The owner field is not present in `ListObjectsV2` by default. If you + want to return the owner field with each key in the result, then set the + `FetchOwner` field to `true`. + + Note: + **Directory buckets** - For directory buckets, the bucket owner is + returned as the object owner for all objects. + """ + start_after: str | None = ... + """ + StartAfter is where you want Amazon S3 to start listing from. Amazon S3 + starts listing after this specified key. StartAfter can be any key in + the bucket. + + Note: + This functionality is not supported for directory buckets. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that she or he will be charged for the + list objects request in V2 style. Bucket owners need not specify this + parameter in their requests. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + optional_object_attributes: list[str] | None = ... + """ + Specifies the optional fields that you want returned in the response. + Fields that you do not specify are not returned. + + Note: + This functionality is not supported for directory buckets. + """ + +@dataclass(kw_only=True) +class ListObjectsV2Output(_SerdeShape): + """Dataclass for ListObjectsV2Output structure.""" + + is_truncated: bool | None = ... + """ + Set to `false` if all of the results were returned. Set to `true` if + more keys are available to return. If the number of results exceeds that + specified by `MaxKeys`, all of the results might not be returned. + """ + contents: list[Object] | None = ... + """Metadata about each object returned.""" + name: str | None = ... + """The bucket name.""" + prefix: str | None = ... + """ + Keys that begin with the indicated prefix. + + Note: + **Directory buckets** - For directory buckets, only prefixes that end in + a delimiter (`/`) are supported. + """ + delimiter: str | None = ... + """ + Causes keys that contain the same string between the `prefix` and the + first occurrence of the delimiter to be rolled up into a single result + element in the `CommonPrefixes` collection. These rolled-up keys are not + returned elsewhere in the response. Each rolled-up result counts as only + one return against the `MaxKeys` value. + + Note: + **Directory buckets** - For directory buckets, `/` is the only supported + delimiter. + """ + max_keys: int | None = ... + """ + Sets the maximum number of keys returned in the response. By default, + the action returns up to 1,000 key names. The response might contain + fewer keys but will never contain more. + """ + common_prefixes: list[CommonPrefix] | None = ... + """ + All of the keys (up to 1,000) that share the same prefix are grouped + together. When counting the total numbers of returns by this API + operation, this group of keys is considered as one item. + + A response can contain `CommonPrefixes` only if you specify a delimiter. + + `CommonPrefixes` contains all (if there are any) keys between `Prefix` + and the next occurrence of the string specified by a delimiter. + + `CommonPrefixes` lists keys that act like subdirectories in the + directory specified by `Prefix`. + + For example, if the prefix is `notes/` and the delimiter is a slash + (`/`) as in `notes/summer/july`, the common prefix is `notes/summer/`. + All of the keys that roll up into a common prefix count as a single + return when calculating the number of returns. + + Note: + - **Directory buckets** - For directory buckets, only prefixes that end + in a delimiter (`/`) are supported. + + - **Directory buckets** - When you query `ListObjectsV2` with a + delimiter during in-progress multipart uploads, the `CommonPrefixes` + response parameter contains the prefixes that are associated with the + in-progress multipart uploads. For more information about multipart + uploads, see [Multipart Upload + Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) + in the *Amazon S3 User Guide*. + """ + encoding_type: str | None = ... + """ + Encoding type used by Amazon S3 to encode object key names in the XML + response. + + If you specify the `encoding-type` request parameter, Amazon S3 includes + this element in the response, and returns encoded key name values in the + following response elements: + + `Delimiter, Prefix, Key,` and `StartAfter`. + """ + key_count: int | None = ... + """ + `KeyCount` is the number of keys returned with this request. `KeyCount` + will always be less than or equal to the `MaxKeys` field. For example, + if you ask for 50 keys, your result will include 50 keys or fewer. + """ + continuation_token: str | None = ... + """ + If `ContinuationToken` was sent with the request, it is included in the + response. You can use the returned `ContinuationToken` for pagination of + the list response. + """ + next_continuation_token: str | None = ... + """ + `NextContinuationToken` is sent when `isTruncated` is true, which means + there are more keys in the bucket that can be listed. The next list + requests to Amazon S3 can be continued with this + `NextContinuationToken`. `NextContinuationToken` is obfuscated and is + not a real key + """ + start_after: str | None = ... + """ + If StartAfter was sent with the request, it is included in the response. + + Note: + This functionality is not supported for directory buckets. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListObjectVersionsInput(_SerdeShape): + """Dataclass for ListObjectVersionsInput structure.""" + + bucket: str | None = ... + """The bucket name that contains the objects.""" + delimiter: str | None = ... + """ + A delimiter is a character that you specify to group keys. All keys that + contain the same string between the `prefix` and the first occurrence of + the delimiter are grouped under a single result element in + `CommonPrefixes`. These groups are counted as one result against the + `max-keys` limitation. These keys are not returned elsewhere in the + response. + + `CommonPrefixes` is filtered out from results if it is not + lexicographically greater than the key-marker. + """ + encoding_type: str | None = ... + """ + Encoding type used by Amazon S3 to encode the [object + keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) + in the response. Responses are encoded only in UTF-8. An object key can + contain any Unicode character. However, the XML 1.0 parser can't parse + certain characters, such as characters with an ASCII value from 0 to 10. + For characters that aren't supported in XML 1.0, you can add this + parameter to request that Amazon S3 encode the keys in the response. For + more information about characters to avoid in object key names, see + [Object key naming + guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). + + Note: + When using the URL encoding type, non-ASCII characters that are used in + an object's key name will be percent-encoded according to UTF-8 code + values. For example, the object `test_file(3).png` will appear as + `test_file%283%29.png`. + """ + key_marker: str | None = ... + """Specifies the key to start with when listing objects in a bucket.""" + max_keys: int | None = ... + """ + Sets the maximum number of keys returned in the response. By default, + the action returns up to 1,000 key names. The response might contain + fewer keys but will never contain more. If additional keys satisfy the + search criteria, but were not returned because `max-keys` was exceeded, + the response contains + ``{=html}`true```{=html}. To return the + additional keys, see `key-marker` and `version-id-marker`. + """ + prefix: str | None = ... + """ + Use this parameter to select only those keys that begin with the + specified prefix. You can use prefixes to separate a bucket into + different groupings of keys. (You can think of using `prefix` to make + groups in the same way that you'd use a folder in a file system.) You + can use `prefix` with `delimiter` to roll up numerous objects into a + single result under `CommonPrefixes`. + """ + version_id_marker: str | None = ... + """Specifies the object version you want to start listing from.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + optional_object_attributes: list[str] | None = ... + """ + Specifies the optional fields that you want returned in the response. + Fields that you do not specify are not returned. + """ + +@dataclass(kw_only=True) +class ListObjectVersionsOutput(_SerdeShape): + """Dataclass for ListObjectVersionsOutput structure.""" + + is_truncated: bool | None = ... + """ + A flag that indicates whether Amazon S3 returned all of the results that + satisfied the search criteria. If your results were truncated, you can + make a follow-up paginated request by using the `NextKeyMarker` and + `NextVersionIdMarker` response parameters as a starting place in another + request to return the rest of the results. + """ + key_marker: str | None = ... + """Marks the last key returned in a truncated response.""" + version_id_marker: str | None = ... + """Marks the last version of the key returned in a truncated response.""" + next_key_marker: str | None = ... + """ + When the number of responses exceeds the value of `MaxKeys`, + `NextKeyMarker` specifies the first key not returned that satisfies the + search criteria. Use this value for the key-marker request parameter in + a subsequent request. + """ + next_version_id_marker: str | None = ... + """ + When the number of responses exceeds the value of `MaxKeys`, + `NextVersionIdMarker` specifies the first object version not returned + that satisfies the search criteria. Use this value for the + `version-id-marker` request parameter in a subsequent request. + """ + versions: list[ObjectVersion] | None = ... + """Container for version information.""" + delete_markers: list[DeleteMarkerEntry] | None = ... + """ + Container for an object that is a delete marker. To learn more about + delete markers, see [Working with delete + markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). + """ + name: str | None = ... + """The bucket name.""" + prefix: str | None = ... + """Selects objects that start with the value supplied by this parameter.""" + delimiter: str | None = ... + """ + The delimiter grouping the included keys. A delimiter is a character + that you specify to group keys. All keys that contain the same string + between the prefix and the first occurrence of the delimiter are grouped + under a single result element in `CommonPrefixes`. These groups are + counted as one result against the `max-keys` limitation. These keys are + not returned elsewhere in the response. + """ + max_keys: int | None = ... + """Specifies the maximum number of objects to return.""" + common_prefixes: list[CommonPrefix] | None = ... + """ + All of the keys rolled up into a common prefix count as a single return + when calculating the number of returns. + """ + encoding_type: str | None = ... + """ + Encoding type used by Amazon S3 to encode object key names in the XML + response. + + If you specify the `encoding-type` request parameter, Amazon S3 includes + this element in the response, and returns encoded key name values in the + following response elements: + + `KeyMarker, NextKeyMarker, Prefix, Key`, and `Delimiter`. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ListPartsInput(_SerdeShape): + """Dataclass for ListPartsInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket to which the parts are being uploaded. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """Object key for which the multipart upload was initiated.""" + max_parts: int | None = ... + """Sets the maximum number of parts to return.""" + part_number_marker: str | None = ... + """ + Specifies the part after which listing should begin. Only parts with + higher part numbers will be listed. + """ + upload_id: str | None = ... + """Upload ID identifying the multipart upload whose parts are being listed.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + sse_customer_algorithm: str | None = ... + """ + The server-side encryption (SSE) algorithm used to encrypt the object. + This parameter is needed only when the object was created using a + checksum algorithm. For more information, see [Protecting data using + SSE-C + keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key: str | None = ... + """ + The server-side encryption (SSE) customer managed key. This parameter is + needed only when the object was created using a checksum algorithm. For + more information, see [Protecting data using SSE-C + keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + The MD5 server-side encryption (SSE) customer managed key. This + parameter is needed only when the object was created using a checksum + algorithm. For more information, see [Protecting data using SSE-C + keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + +@dataclass(kw_only=True) +class ListPartsOutput(_SerdeShape): + """Dataclass for ListPartsOutput structure.""" + + abort_date: datetime | None = ... + """ + If the bucket has a lifecycle rule configured with an action to abort + incomplete multipart uploads and the prefix in the lifecycle rule + matches the object name in the request, then the response includes this + header indicating when the initiated multipart upload will become + eligible for abort operation. For more information, see [Aborting + Incomplete Multipart Uploads Using a Bucket Lifecycle + Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config). + + The response will also include the `x-amz-abort-rule-id` header that + will provide the ID of the lifecycle configuration rule that defines + this action. + + Note: + This functionality is not supported for directory buckets. + """ + abort_rule_id: str | None = ... + """ + This header is returned along with the `x-amz-abort-date` header. It + identifies applicable lifecycle configuration rule that defines the + action to abort incomplete multipart uploads. + + Note: + This functionality is not supported for directory buckets. + """ + bucket: str | None = ... + """ + The name of the bucket to which the multipart upload was initiated. Does + not return the access point ARN or access point alias if used. + """ + key: str | None = ... + """Object key for which the multipart upload was initiated.""" + upload_id: str | None = ... + """Upload ID identifying the multipart upload whose parts are being listed.""" + part_number_marker: str | None = ... + """ + Specifies the part after which listing should begin. Only parts with + higher part numbers will be listed. + """ + next_part_number_marker: str | None = ... + """ + When a list is truncated, this element specifies the last part in the + list, as well as the value to use for the `part-number-marker` request + parameter in a subsequent request. + """ + max_parts: int | None = ... + """Maximum number of parts that were allowed in the response.""" + is_truncated: bool | None = ... + """ + Indicates whether the returned list of parts is truncated. A true value + indicates that the list was truncated. A list can be truncated if the + number of parts exceeds the limit returned in the MaxParts element. + """ + parts: list[Part] | None = ... + """ + Container for elements related to a particular part. A response can + contain zero or more `Part` elements. + """ + initiator: Initiator | None = ... + """ + Container element that identifies who initiated the multipart upload. If + the initiator is an Amazon Web Services account, this element provides + the same information as the `Owner` element. If the initiator is an IAM + User, this element provides the user ARN. + """ + owner: Owner | None = ... + """ + Container element that identifies the object owner, after the object is + created. If multipart upload is initiated by an IAM user, this element + provides the parent account ID. + + Note: + **Directory buckets** - The bucket owner is returned as the object owner + for all the parts. + """ + storage_class: str | None = ... + """ + The class of storage used to store the uploaded object. + + Note: + **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` + (the S3 Express One Zone storage class) in Availability Zones and + `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in + Dedicated Local Zones. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + checksum_algorithm: str | None = ... + """The algorithm that was used to create a checksum of the object.""" + checksum_type: str | None = ... + """ + The checksum type, which determines how part-level checksums are + combined to create an object-level checksum for multipart objects. You + can use this header response to verify that the checksum type that is + received is the same checksum type that was specified in + `CreateMultipartUpload` request. For more information, see [Checking + object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class LocationInfo(_SerdeShape): + """ + Specifies the location where the bucket will be created. + + For directory buckets, the location type is Availability Zone or Local + Zone. For more information about directory buckets, see [Working with + directory + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is only supported by directory buckets. + """ + + type: str | None = ... + """The type of location where the bucket will be created.""" + name: str | None = ... + """ + The name of the location where the bucket will be created. + + For directory buckets, the name of the location is the Zone ID of the + Availability Zone (AZ) or Local Zone (LZ) where the bucket will be + created. An example AZ ID value is `usw2-az1`. + """ + +class LocationType(UnknownEnumMixin, StrEnum): + AVAILABILITY_ZONE = "AvailabilityZone" + LOCAL_ZONE = "LocalZone" + +@dataclass(kw_only=True) +class LoggingEnabled(_SerdeShape): + """ + Describes where logs are stored and the prefix that Amazon S3 assigns to + all log object keys for a bucket. For more information, see [PUT Bucket + logging](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html) + in the *Amazon S3 API Reference*. + """ + + target_bucket: str + """ + Specifies the bucket where you want Amazon S3 to store server access + logs. You can have your logs delivered to any bucket that you own, + including the same bucket that is being logged. You can also configure + multiple buckets to deliver their logs to the same target bucket. In + this case, you should choose a different `TargetPrefix` for each source + bucket so that the delivered log files can be distinguished by key. + """ + target_grants: list[TargetGrant] | None = ... + """ + Container for granting information. + + Buckets that use the bucket owner enforced setting for Object Ownership + don't support target grants. For more information, see [Permissions for + server access log + delivery](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general) + in the *Amazon S3 User Guide*. + """ + target_prefix: str + """ + A prefix for all log object keys. If you store log files from multiple + Amazon S3 buckets in a single bucket, you can use a prefix to + distinguish which log files came from which bucket. + """ + target_object_key_format: TargetObjectKeyFormat | None = ... + """Amazon S3 key format for log objects.""" + +@dataclass(kw_only=True) +class MetadataConfiguration(_SerdeShape): + """The S3 Metadata configuration for a general purpose bucket.""" + + journal_table_configuration: JournalTableConfiguration + """The journal table configuration for a metadata configuration.""" + inventory_table_configuration: InventoryTableConfiguration | None = ... + """The inventory table configuration for a metadata configuration.""" + annotation_table_configuration: AnnotationTableConfiguration | None = ... + """ + Optional annotation table configuration to include with the metadata + configuration. + """ + +@dataclass(kw_only=True) +class MetadataConfigurationResult(_SerdeShape): + """The S3 Metadata configuration for a general purpose bucket.""" + + destination_result: DestinationResult + """The destination settings for a metadata configuration.""" + journal_table_configuration_result: JournalTableConfigurationResult | None = ... + """The journal table configuration for a metadata configuration.""" + inventory_table_configuration_result: InventoryTableConfigurationResult | None = ... + """The inventory table configuration for a metadata configuration.""" + annotation_table_configuration_result: ( + AnnotationTableConfigurationResult | None + ) = ... + """ + The annotation table configuration result, if an annotation table is + configured. + """ + +class MetadataDirective(UnknownEnumMixin, StrEnum): + COPY = "COPY" + REPLACE = "REPLACE" + +@dataclass(kw_only=True) +class MetadataEntry(_SerdeShape): + """A metadata key-value pair to store with an object.""" + + name: str | None = ... + """Name of the object.""" + value: str | None = ... + """Value of the object.""" + +@dataclass(kw_only=True) +class MetadataTableConfiguration(_SerdeShape): + """ + The V1 S3 Metadata configuration for a general purpose bucket. + + Note: + If you created your S3 Metadata configuration before July 15, 2025, we + recommend that you delete and re-create your configuration by using + [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) + so that you can expire journal table records and create a live inventory + table. + """ + + s3_tables_destination: S3TablesDestination + """ + The destination information for the metadata table configuration. The + destination table bucket must be in the same Region and Amazon Web + Services account as the general purpose bucket. The specified metadata + table name must be unique within the `aws_s3_metadata` namespace in the + destination table bucket. + """ + +@dataclass(kw_only=True) +class MetadataTableConfigurationResult(_SerdeShape): + """ + The V1 S3 Metadata configuration for a general purpose bucket. The + destination table bucket must be in the same Region and Amazon Web + Services account as the general purpose bucket. The specified metadata + table name must be unique within the `aws_s3_metadata` namespace in the + destination table bucket. + + Note: + If you created your S3 Metadata configuration before July 15, 2025, we + recommend that you delete and re-create your configuration by using + [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) + so that you can expire journal table records and create a live inventory + table. + """ + + s3_tables_destination_result: S3TablesDestinationResult + """ + The destination information for the metadata table configuration. The + destination table bucket must be in the same Region and Amazon Web + Services account as the general purpose bucket. The specified metadata + table name must be unique within the `aws_s3_metadata` namespace in the + destination table bucket. + """ + +@dataclass(kw_only=True) +class MetadataTableEncryptionConfiguration(_SerdeShape): + """ + The encryption settings for an S3 Metadata journal table or inventory + table configuration. + """ + + sse_algorithm: str + """ + The encryption type specified for a metadata table. To specify + server-side encryption with Key Management Service (KMS) keys (SSE-KMS), + use the `aws:kms` value. To specify server-side encryption with Amazon + S3 managed keys (SSE-S3), use the `AES256` value. + """ + kms_key_arn: str | None = ... + """ + If server-side encryption with Key Management Service (KMS) keys + (SSE-KMS) is specified, you must also specify the KMS key Amazon + Resource Name (ARN). You must specify a customer-managed KMS key that's + located in the same Region as the general purpose bucket that + corresponds to the metadata table configuration. + """ + +@dataclass(kw_only=True) +class Metrics(_SerdeShape): + """ + A container specifying replication metrics-related settings enabling + replication metrics and events. + """ + + status: str + """Specifies whether the replication metrics are enabled.""" + event_threshold: ReplicationTimeValue | None = ... + """ + A container specifying the time threshold for emitting the + `s3:Replication:OperationMissedThreshold` event. + """ + +@dataclass(kw_only=True) +class MetricsAndOperator(_SerdeShape): + """ + A conjunction (logical AND) of predicates, which is used in evaluating a + metrics filter. The operator must have at least two predicates, and an + object must match all of the predicates in order for the filter to + apply. + """ + + prefix: str | None = ... + """The prefix used when evaluating an AND predicate.""" + tags: list[Tag] | None = ... + """ + The list of tags used when evaluating an AND predicate. + + Note: + `Tag` filters are not supported for directory buckets. + """ + access_point_arn: str | None = ... + """The access point ARN used when evaluating an `AND` predicate.""" + +@dataclass(kw_only=True) +class MetricsConfiguration(_SerdeShape): + """ + Specifies a metrics configuration for the CloudWatch request metrics + (specified by the metrics configuration ID) from an Amazon S3 bucket. If + you're updating an existing metrics configuration, note that this is a + full replacement of the existing metrics configuration. If you don't + include the elements you want to keep, they are erased. For more + information, see + [PutBucketMetricsConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html). + """ + + id: str + """ + The ID used to identify the metrics configuration. The ID has a 64 + character limit and can only contain letters, numbers, periods, dashes, + and underscores. + """ + filter: MetricsFilter | None = ... + """ + Specifies a metrics configuration filter. The metrics configuration will + only include objects that meet the filter's criteria. A filter must be + a prefix, an object tag, an access point ARN, or a conjunction + (MetricsAndOperator). + + Note: + Metrics configurations for directory buckets do not support tag filters. + """ + +@dataclass +class MetricsFilterPrefix(_SerdeShape): + """The prefix used when evaluating a metrics filter.""" + + value: str + +@dataclass +class MetricsFilterTag(_SerdeShape): + """ + The tag used when evaluating a metrics filter. + + Note: + `Tag` filters are not supported for directory buckets. + """ + + value: Tag + +@dataclass +class MetricsFilterAccessPointArn(_SerdeShape): + """The access point ARN used when evaluating a metrics filter.""" + + value: str + +@dataclass +class MetricsFilterAnd(_SerdeShape): + """ + A conjunction (logical AND) of predicates, which is used in evaluating a + metrics filter. The operator must have at least two predicates, and an + object must match all of the predicates in order for the filter to + apply. + """ + + value: MetricsAndOperator + +@dataclass +class MetricsFilterUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +MetricsFilter = Union[ + MetricsFilterPrefix + | MetricsFilterTag + | MetricsFilterAccessPointArn + | MetricsFilterAnd + | MetricsFilterUnknown +] +""" +Specifies a metrics configuration filter. The metrics configuration only +includes objects that meet the filter's criteria. A filter must be a +prefix, an object tag, an access point ARN, or a conjunction +(MetricsAndOperator). For more information, see +[PutBucketMetricsConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html). +""" + +class _MetricsFilterDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> MetricsFilter: ... + +class MetricsStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +class MFADelete(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +class MFADeleteStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +@dataclass(kw_only=True) +class MultipartUpload(_SerdeShape): + """Container for the `MultipartUpload` for the Amazon S3 object.""" + + upload_id: str | None = ... + """Upload ID that identifies the multipart upload.""" + key: str | None = ... + """Key of the object for which the multipart upload was initiated.""" + initiated: datetime | None = ... + """Date and time at which the multipart upload was initiated.""" + storage_class: str | None = ... + """ + The class of storage used to store the object. + + Note: + **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` + (the S3 Express One Zone storage class) in Availability Zones and + `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in + Dedicated Local Zones. + """ + owner: Owner | None = ... + """ + Specifies the owner of the object that is part of the multipart upload. + + Note: + **Directory buckets** - The bucket owner is returned as the object owner + for all the objects. + """ + initiator: Initiator | None = ... + """Identifies who initiated the multipart upload.""" + checksum_algorithm: str | None = ... + """The algorithm that was used to create a checksum of the object.""" + checksum_type: str | None = ... + """ + The checksum type that is used to calculate the object's checksum value. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + +@dataclass(kw_only=True) +class NoncurrentVersionExpiration(_SerdeShape): + """ + Specifies when noncurrent object versions expire. Upon expiration, + Amazon S3 permanently deletes the noncurrent object versions. You set + this lifecycle configuration action on a bucket that has versioning + enabled (or suspended) to request that Amazon S3 delete noncurrent + object versions at a specific period in the object's lifetime. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + + noncurrent_days: int | None = ... + """ + Specifies the number of days an object is noncurrent before Amazon S3 + can perform the associated action. The value must be a non-zero positive + integer. For information about the noncurrent days calculations, see + [How Amazon S3 Calculates When an Object Became + Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) + in the *Amazon S3 User Guide*. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + newer_noncurrent_versions: int | None = ... + """ + Specifies how many noncurrent versions Amazon S3 will retain. You can + specify up to 100 noncurrent versions to retain. Amazon S3 will + permanently delete any additional noncurrent versions beyond the + specified number to retain. For more information about noncurrent + versions, see [Lifecycle configuration + elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) + in the *Amazon S3 User Guide*. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + +@dataclass(kw_only=True) +class NoncurrentVersionTransition(_SerdeShape): + """ + Container for the transition rule that describes when noncurrent objects + transition to the `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, + `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE` storage class. If your bucket + is versioning-enabled (or versioning is suspended), you can set this + action to request that Amazon S3 transition noncurrent object versions + to the `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, + `GLACIER`, or `DEEP_ARCHIVE` storage class at a specific period in the + object's lifetime. + """ + + noncurrent_days: int | None = ... + """ + Specifies the number of days an object is noncurrent before Amazon S3 + can perform the associated action. For information about the noncurrent + days calculations, see [How Amazon S3 Calculates How Long an Object Has + Been + Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) + in the *Amazon S3 User Guide*. + """ + storage_class: str | None = ... + """The class of storage used to store the object.""" + newer_noncurrent_versions: int | None = ... + """ + Specifies how many noncurrent versions Amazon S3 will retain in the same + storage class before transitioning objects. You can specify up to 100 + noncurrent versions to retain. Amazon S3 will transition any additional + noncurrent versions beyond the specified number to retain. For more + information about noncurrent versions, see [Lifecycle configuration + elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) + in the *Amazon S3 User Guide*. + """ + +@dataclass(kw_only=True) +class NoSuchAnnotation(ServiceError, _SerdeShape): + """The specified annotation does not exist on this object.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchBucket(ServiceError, _SerdeShape): + """The specified bucket does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchKey(ServiceError, _SerdeShape): + """The specified key does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NoSuchUpload(ServiceError, _SerdeShape): + """The specified multipart upload does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NotFound(ServiceError, _SerdeShape): + """The specified content does not exist.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class NotificationConfiguration(_SerdeShape): + """ + A container for specifying the notification configuration of the bucket. + If this element is empty, notifications are turned off for the bucket. + """ + + topic_configurations: list[TopicConfiguration] | None = ... + """ + The topic to which notifications are sent and the events for which + notifications are generated. + """ + queue_configurations: list[QueueConfiguration] | None = ... + """ + The Amazon Simple Queue Service queues to publish messages to and the + events for which to publish messages. + """ + lambda_function_configurations: list[LambdaFunctionConfiguration] | None = ... + """ + Describes the Lambda functions to invoke and the events for which to + invoke them. + """ + event_bridge_configuration: EventBridgeConfiguration | None = ... + """Enables delivery of events to Amazon EventBridge.""" + +@dataclass(kw_only=True) +class NotificationConfigurationFilter(_SerdeShape): + """ + Specifies object key name filtering rules. For information about key + name filtering, see [Configuring event notifications using object key + name + filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) + in the *Amazon S3 User Guide*. + """ + + key: S3KeyFilter | None = ... + """A container for object key name prefix and suffix filtering rules.""" + +@dataclass(kw_only=True) +class Object(_SerdeShape): + """An object consists of data and its descriptive metadata.""" + + key: str | None = ... + """ + The name that you assign to an object. You use the object key to + retrieve the object. + """ + last_modified: datetime | None = ... + """Creation date of the object.""" + e_tag: str | None = ... + """ + The entity tag is a hash of the object. The ETag reflects changes only + to the contents of an object, not its metadata. The ETag may or may not + be an MD5 digest of the object data. Whether or not it is depends on how + the object was created and how it is encrypted as described below: + + - Objects created by the PUT Object, POST Object, or Copy operation, or + through the Amazon Web Services Management Console, and are encrypted + by SSE-S3 or plaintext, have ETags that are an MD5 digest of their + object data. + + - Objects created by the PUT Object, POST Object, or Copy operation, or + through the Amazon Web Services Management Console, and are encrypted + by SSE-C or SSE-KMS, have ETags that are not an MD5 digest of their + object data. + + - If an object is created by either the Multipart Upload or Part Copy + operation, the ETag is not an MD5 digest, regardless of the method of + encryption. If an object is larger than 16 MB, the Amazon Web Services + Management Console will upload or copy that object as a Multipart + Upload, and therefore the ETag will not be an MD5 digest. + + Note: + **Directory buckets** - MD5 is not supported by directory buckets. + """ + checksum_algorithm: list[str] | None = ... + """The algorithm that was used to create a checksum of the object.""" + checksum_type: str | None = ... + """ + The checksum type that is used to calculate the object's checksum value. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + size: int | None = ... + """Size in bytes of the object""" + storage_class: str | None = ... + """ + The class of storage used to store the object. + + Note: + **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` + (the S3 Express One Zone storage class) in Availability Zones and + `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in + Dedicated Local Zones. + """ + owner: Owner | None = ... + """ + The owner of the object + + Note: + **Directory buckets** - The bucket owner is returned as the object + owner. + """ + restore_status: RestoreStatus | None = ... + """ + Specifies the restoration status of an object. Objects in certain + storage classes must be restored before they can be retrieved. For more + information about these storage classes and how to work with archived + objects, see [Working with archived + objects](https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. Directory + buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone storage + class) in Availability Zones and `ONEZONE_IA` (the S3 One + Zone-Infrequent Access storage class) in Dedicated Local Zones. + """ + +@dataclass(kw_only=True) +class ObjectAlreadyInActiveTierError(ServiceError, _SerdeShape): + """This action is not allowed against this storage tier.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ObjectAttributes(UnknownEnumMixin, StrEnum): + ETAG = "ETag" + CHECKSUM = "Checksum" + OBJECT_PARTS = "ObjectParts" + STORAGE_CLASS = "StorageClass" + OBJECT_SIZE = "ObjectSize" + +class ObjectCannedACL(UnknownEnumMixin, StrEnum): + PRIVATE = "private" + PUBLIC_READ = "public-read" + PUBLIC_READ_WRITE = "public-read-write" + AUTHENTICATED_READ = "authenticated-read" + AWS_EXEC_READ = "aws-exec-read" + BUCKET_OWNER_READ = "bucket-owner-read" + BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control" + +@dataclass +class ObjectEncryptionSSEKMS(_SerdeShape): + """ + Specifies to update the object encryption type to server-side encryption + with Key Management Service (KMS) keys (SSE-KMS). + """ + + value: SSEKMSEncryption + +@dataclass +class ObjectEncryptionUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +ObjectEncryption = Union[ObjectEncryptionSSEKMS | ObjectEncryptionUnknown] +""" +The updated server-side encryption type for this object. The +`UpdateObjectEncryption` operation supports the SSE-S3 and SSE-KMS +encryption types. + +Valid Values: `SSES3` | `SSEKMS` +""" + +class _ObjectEncryptionDeserializer: + def deserialize(self, deserializer: ShapeDeserializer) -> ObjectEncryption: ... + +@dataclass(kw_only=True) +class ObjectIdentifier(_SerdeShape): + """Object Identifier is unique value to identify objects.""" + + key: str + """ + Key name of the object. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + version_id: str | None = ... + """ + Version ID for the specific version of the object to delete. + + Note: + This functionality is not supported for directory buckets. + """ + e_tag: str | None = ... + """ + An entity tag (ETag) is an identifier assigned by a web server to a + specific version of a resource found at a URL. This header field makes + the request method conditional on `ETags`. + + Note: + Entity tags (ETags) for S3 Express One Zone are random alphanumeric + strings unique to the object. + """ + last_modified_time: datetime | None = ... + """ + If present, the objects are deleted only if its modification times + matches the provided `Timestamp`. + + Note: + This functionality is only supported for directory buckets. + """ + size: int | None = ... + """ + If present, the objects are deleted only if its size matches the + provided size in bytes. + + Note: + This functionality is only supported for directory buckets. + """ + +@dataclass(kw_only=True) +class ObjectLockConfiguration(_SerdeShape): + """The container element for Object Lock configuration parameters.""" + + object_lock_enabled: str | None = ... + """ + Indicates whether this bucket has an Object Lock configuration enabled. + Enable `ObjectLockEnabled` when you apply `ObjectLockConfiguration` to a + bucket. + """ + rule: ObjectLockRule | None = ... + """ + Specifies the Object Lock rule for the specified object. Enable the this + rule when you apply `ObjectLockConfiguration` to a bucket. Bucket + settings require both a mode and a period. The period can be either + `Days` or `Years` but you must select one. You cannot specify `Days` and + `Years` at the same time. + """ + +class ObjectLockEnabled(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + +class ObjectLockEventHold(UnknownEnumMixin, StrEnum): + ON = "ON" + OFF = "OFF" + +@dataclass(kw_only=True) +class ObjectLockLegalHold(_SerdeShape): + """A legal hold configuration for an object.""" + + status: str | None = ... + """Indicates whether the specified object has a legal hold in place.""" + +class ObjectLockLegalHoldStatus(UnknownEnumMixin, StrEnum): + ON = "ON" + OFF = "OFF" + +class ObjectLockMode(UnknownEnumMixin, StrEnum): + GOVERNANCE = "GOVERNANCE" + COMPLIANCE = "COMPLIANCE" + +@dataclass(kw_only=True) +class ObjectLockRetention(_SerdeShape): + """A Retention configuration for an object.""" + + mode: str | None = ... + """Indicates the Retention mode for the specified object.""" + retain_until_date: datetime | None = ... + """The date on which this Object Lock Retention will expire.""" + event_hold: str | None = ... + """ + The event hold status for the object. Set to `ON` to enable an event + hold or `OFF` to disable it. + """ + event_hold_duration: EventHoldDuration | None = ... + """ + The event hold duration for the object. Specifies how long the object + remains protected after the event hold is released. + """ + +class ObjectLockRetentionMode(UnknownEnumMixin, StrEnum): + GOVERNANCE = "GOVERNANCE" + COMPLIANCE = "COMPLIANCE" + +@dataclass(kw_only=True) +class ObjectLockRule(_SerdeShape): + """The container element for an Object Lock rule.""" + + default_retention: DefaultRetention | None = ... + """ + The default Object Lock retention settings for new objects in this + bucket. You can specify: + + - A default retention period, by using `Days` or `Years`. + + - A default event hold duration, by using `DefaultEventHold`. This + setting also uses days or years. + + You can set one or both. You cannot use days and years in the same + setting. + """ + +@dataclass(kw_only=True) +class ObjectNotInActiveTierError(ServiceError, _SerdeShape): + """ + The source object of the COPY action is not in the active tier and is + only stored in Amazon S3 Glacier. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +class ObjectOwnership(UnknownEnumMixin, StrEnum): + """ + The container element for object ownership for a bucket's ownership + controls. + + `BucketOwnerPreferred` - Objects uploaded to the bucket change ownership + to the bucket owner if the objects are uploaded with the + `bucket-owner-full-control` canned ACL. + + `ObjectWriter` - The uploading account will own the object if the object + is uploaded with the `bucket-owner-full-control` canned ACL. + + `BucketOwnerEnforced` - Access control lists (ACLs) are disabled and no + longer affect permissions. The bucket owner automatically owns and has + full control over every object in the bucket. The bucket only accepts + PUT requests that don't specify an ACL or specify bucket owner full + control ACLs (such as the predefined `bucket-owner-full-control` canned + ACL or a custom ACL in XML format that grants the same permissions). + + By default, `ObjectOwnership` is set to `BucketOwnerEnforced` and ACLs + are disabled. We recommend keeping ACLs disabled, except in uncommon use + cases where you must control access for each object individually. For + more information about S3 Object Ownership, see [Controlling ownership + of objects and disabling ACLs for your + bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. Directory + buckets use the bucket owner enforced setting for S3 Object Ownership. + """ + + BUCKET_OWNER_PREFERRED = "BucketOwnerPreferred" + OBJECT_WRITER = "ObjectWriter" + BUCKET_OWNER_ENFORCED = "BucketOwnerEnforced" + +@dataclass(kw_only=True) +class ObjectPart(_SerdeShape): + """A container for elements related to an individual part.""" + + part_number: int | None = ... + """ + The part number identifying the part. This value is a positive integer + between 1 and 10,000. + """ + size: int | None = ... + """The size of the uploaded part in bytes.""" + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum + is present if the multipart upload request was created with the `CRC32` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the part. This checksum + is present if the multipart upload request was created with the `CRC32C` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This + checksum is present if the multipart upload request was created with the + `CRC64NVME` checksum algorithm, or if the object was uploaded without a + checksum (and Amazon S3 added the default checksum, `CRC64NVME`, to the + uploaded object). For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` checksum of the part. This checksum + is present if the multipart upload request was created with the `SHA1` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` checksum of the part. This checksum + is present if the multipart upload request was created with the `SHA256` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the part. This checksum + is present if the multipart upload request was created with the `SHA512` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the part. This checksum is + present if the multipart upload request was created with the `MD5` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This + checksum is present if the multipart upload request was created with the + `XXHASH64` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This checksum + is present if the multipart upload request was created with the + `XXHASH3` checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This + checksum is present if the multipart upload request was created with the + `XXHASH128` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + +class ObjectStorageClass(UnknownEnumMixin, StrEnum): + STANDARD = "STANDARD" + REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY" + GLACIER = "GLACIER" + STANDARD_IA = "STANDARD_IA" + ONEZONE_IA = "ONEZONE_IA" + INTELLIGENT_TIERING = "INTELLIGENT_TIERING" + DEEP_ARCHIVE = "DEEP_ARCHIVE" + OUTPOSTS = "OUTPOSTS" + GLACIER_IR = "GLACIER_IR" + SNOW = "SNOW" + EXPRESS_ONEZONE = "EXPRESS_ONEZONE" + FSX_OPENZFS = "FSX_OPENZFS" + FSX_ONTAP = "FSX_ONTAP" + AWS_BACKUP_WARM = "AWS_BACKUP_WARM" + AWS_BACKUP_LOW_COST_WARM = "AWS_BACKUP_LOW_COST_WARM" + +@dataclass(kw_only=True) +class ObjectVersion(_SerdeShape): + """The version of an object.""" + + e_tag: str | None = ... + """The entity tag is an MD5 hash of that version of the object.""" + checksum_algorithm: list[str] | None = ... + """The algorithm that was used to create a checksum of the object.""" + checksum_type: str | None = ... + """ + The checksum type that is used to calculate the object's checksum value. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + size: int | None = ... + """Size in bytes of the object.""" + storage_class: str | None = ... + """The class of storage used to store the object.""" + key: str | None = ... + """The object key.""" + version_id: str | None = ... + """Version ID of an object.""" + is_latest: bool | None = ... + """ + Specifies whether the object is (true) or is not (false) the latest + version of an object. + """ + last_modified: datetime | None = ... + """Date and time when the object was last modified.""" + owner: Owner | None = ... + """Specifies the owner of the object.""" + restore_status: RestoreStatus | None = ... + """ + Specifies the restoration status of an object. Objects in certain + storage classes must be restored before they can be retrieved. For more + information about these storage classes and how to work with archived + objects, see [Working with archived + objects](https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html) + in the *Amazon S3 User Guide*. + """ + +class ObjectVersionStorageClass(UnknownEnumMixin, StrEnum): + STANDARD = "STANDARD" + +class OptionalObjectAttributes(UnknownEnumMixin, StrEnum): + RESTORE_STATUS = "RestoreStatus" + +@dataclass(kw_only=True) +class OutputLocation(_SerdeShape): + """Describes the location where the restore job's output is stored.""" + + s3: S3Location | None = ... + """ + Describes an S3 location that will receive the results of the restore + request. + """ + +@dataclass(kw_only=True) +class OutputSerialization(_SerdeShape): + """Describes how results of the Select job are serialized.""" + + csv: CSVOutput | None = ... + """Describes the serialization of CSV-encoded Select results.""" + json: JSONOutput | None = ... + """Specifies JSON as request's output serialization format.""" + +@dataclass(kw_only=True) +class Owner(_SerdeShape): + """Container for the owner's display name and ID.""" + + display_name: str | None = ... + """""" + id: str | None = ... + """Container for the ID of the owner.""" + +class OwnerOverride(UnknownEnumMixin, StrEnum): + DESTINATION = "Destination" + +@dataclass(kw_only=True) +class OwnershipControls(_SerdeShape): + """The container element for a bucket's ownership controls.""" + + rules: list[OwnershipControlsRule] + """The container element for an ownership control rule.""" + +@dataclass(kw_only=True) +class OwnershipControlsRule(_SerdeShape): + """The container element for an ownership control rule.""" + + object_ownership: str + """ + The container element for object ownership for a bucket's ownership + controls. + + `BucketOwnerPreferred` - Objects uploaded to the bucket change ownership + to the bucket owner if the objects are uploaded with the + `bucket-owner-full-control` canned ACL. + + `ObjectWriter` - The uploading account will own the object if the object + is uploaded with the `bucket-owner-full-control` canned ACL. + + `BucketOwnerEnforced` - Access control lists (ACLs) are disabled and no + longer affect permissions. The bucket owner automatically owns and has + full control over every object in the bucket. The bucket only accepts + PUT requests that don't specify an ACL or specify bucket owner full + control ACLs (such as the predefined `bucket-owner-full-control` canned + ACL or a custom ACL in XML format that grants the same permissions). + + By default, `ObjectOwnership` is set to `BucketOwnerEnforced` and ACLs + are disabled. We recommend keeping ACLs disabled, except in uncommon use + cases where you must control access for each object individually. For + more information about S3 Object Ownership, see [Controlling ownership + of objects and disabling ACLs for your + bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. Directory + buckets use the bucket owner enforced setting for S3 Object Ownership. + """ + +@dataclass(kw_only=True) +class ParquetInput(_SerdeShape): + """Container for Parquet.""" + +@dataclass(kw_only=True) +class Part(_SerdeShape): + """Container for elements related to a part.""" + + part_number: int | None = ... + """ + Part number identifying the part. This is a positive integer between 1 + and 10,000. + """ + last_modified: datetime | None = ... + """Date and time at which the part was uploaded.""" + e_tag: str | None = ... + """Entity tag returned when the part was uploaded.""" + size: int | None = ... + """Size in bytes of the uploaded part data.""" + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum + is present if the object was uploaded with the `CRC32` checksum + algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the part. This checksum + is present if the object was uploaded with the `CRC32C` checksum + algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This + checksum is present if the multipart upload request was created with the + `CRC64NVME` checksum algorithm, or if the object was uploaded without a + checksum (and Amazon S3 added the default checksum, `CRC64NVME`, to the + uploaded object). For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` checksum of the part. This checksum + is present if the object was uploaded with the `SHA1` checksum + algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` checksum of the part. This checksum + is present if the object was uploaded with the `SHA256` checksum + algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the part. This checksum + is present if the multipart upload request was created with the `SHA512` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the part. This checksum is + present if the multipart upload request was created with the `MD5` + checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This + checksum is present if the multipart upload request was created with the + `XXHASH64` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This checksum + is present if the multipart upload request was created with the + `XXHASH3` checksum algorithm. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This + checksum is present if the multipart upload request was created with the + `XXHASH128` checksum algorithm. For more information, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + +class PartitionDateSource(UnknownEnumMixin, StrEnum): + EVENT_TIME = "EventTime" + DELIVERY_TIME = "DeliveryTime" + +@dataclass(kw_only=True) +class PartitionedPrefix(_SerdeShape): + """ + Amazon S3 keys for log objects are partitioned in the following format: + + `[DestinationPrefix][SourceAccountId]/[SourceRegion]/[SourceBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]` + + PartitionedPrefix defaults to EventTime delivery when server access logs + are delivered. + """ + + partition_date_source: str | None = ... + """ + Specifies the partition date source for the partitioned prefix. + `PartitionDateSource` can be `EventTime` or `DeliveryTime`. + + For `DeliveryTime`, the time in the log file names corresponds to the + delivery time for the log files. + + For `EventTime`, The logs delivered are for a specific day only. The + year, month, and day correspond to the day on which the event occurred, + and the hour, minutes and seconds are set to 00 in the key. + """ + +class Payer(UnknownEnumMixin, StrEnum): + REQUESTER = "Requester" + BUCKET_OWNER = "BucketOwner" + +class Permission(UnknownEnumMixin, StrEnum): + FULL_CONTROL = "FULL_CONTROL" + WRITE = "WRITE" + WRITE_ACP = "WRITE_ACP" + READ = "READ" + READ_ACP = "READ_ACP" + +@dataclass(kw_only=True) +class PolicyStatus(_SerdeShape): + """The container element for a bucket's policy status.""" + + is_public: bool | None = ... + """ + The policy status for this bucket. `TRUE` indicates that this bucket is + public. `FALSE` indicates that the bucket is not public. + """ + +@dataclass(kw_only=True) +class Progress(_SerdeShape): + """This data type contains information about progress of an operation.""" + + bytes_scanned: int | None = ... + """The current number of object bytes scanned.""" + bytes_processed: int | None = ... + """The current number of uncompressed object bytes processed.""" + bytes_returned: int | None = ... + """The current number of bytes of records payload data returned.""" + +@dataclass(kw_only=True) +class ProgressEvent(_SerdeShape): + """ + This data type contains information about the progress event of an + operation. + """ + + details: Progress | None = ... + """The Progress event details.""" + +class Protocol(UnknownEnumMixin, StrEnum): + HTTP = "http" + HTTPS = "https" + +@dataclass(kw_only=True) +class PublicAccessBlockConfiguration(_SerdeShape): + """ + The PublicAccessBlock configuration that you want to apply to this + Amazon S3 bucket. You can enable the configuration options in any + combination. Bucket-level settings work alongside account-level settings + (which may inherit from organization-level policies). For more + information about when Amazon S3 considers a bucket or object public, + see [The Meaning of + \"Public\"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) + in the *Amazon S3 User Guide*. + """ + + block_public_acls: bool | None = ... + """ + Specifies whether Amazon S3 should block public access control lists + (ACLs) for this bucket and objects in this bucket. Setting this element + to `TRUE` causes the following behavior: + + - PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is + public. + + - PUT Object calls fail if the request includes a public ACL. + + - PUT Bucket calls fail if the request includes a public ACL. + + Enabling this setting doesn't affect existing policies or ACLs. + """ + ignore_public_acls: bool | None = ... + """ + Specifies whether Amazon S3 should ignore public ACLs for this bucket + and objects in this bucket. Setting this element to `TRUE` causes Amazon + S3 to ignore all public ACLs on this bucket and objects in this bucket. + + Enabling this setting doesn't affect the persistence of any existing + ACLs and doesn't prevent new public ACLs from being set. + """ + block_public_policy: bool | None = ... + """ + Specifies whether Amazon S3 should block public bucket policies for this + bucket. Setting this element to `TRUE` causes Amazon S3 to reject calls + to PUT Bucket policy if the specified bucket policy allows public + access. + + Enabling this setting doesn't affect existing bucket policies. + """ + restrict_public_buckets: bool | None = ... + """ + Specifies whether Amazon S3 should restrict public bucket policies for + this bucket. Setting this element to `TRUE` restricts access to this + bucket to only Amazon Web Services service principals and authorized + users within this account if the bucket has a public policy. + + Enabling this setting doesn't affect previously stored bucket policies, + except that public and cross-account access within any public bucket + policy, including non-public delegation to specific accounts, is + blocked. + """ + +@dataclass(kw_only=True) +class PutBucketAbacInput(_SerdeShape): + """Dataclass for PutBucketAbacInput structure.""" + + bucket: str | None = ... + """The name of the general purpose bucket.""" + content_md5: str | None = ... + """ + The MD5 hash of the `PutBucketAbac` request body. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm that you want Amazon S3 to use to create the + checksum. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + expected_bucket_owner: str | None = ... + """ + The Amazon Web Services account ID of the general purpose bucket's + owner. + """ + abac_status: AbacStatus | None = ... + """ + The ABAC status of the general purpose bucket. When ABAC is enabled for + the general purpose bucket, you can use tags to manage access to the + general purpose buckets as well as for cost tracking purposes. When ABAC + is disabled for the general purpose buckets, you can only use tags for + cost tracking purposes. For more information, see [Using tags with S3 + general purpose + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html). + """ + +@dataclass(kw_only=True) +class PutBucketAbacOutput(_SerdeShape): + """Dataclass for PutBucketAbacOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketAccelerateConfigurationInput(_SerdeShape): + """Dataclass for PutBucketAccelerateConfigurationInput structure.""" + + bucket: str | None = ... + """The name of the bucket for which the accelerate configuration is set.""" + accelerate_configuration: AccelerateConfiguration | None = ... + """Container for setting the transfer acceleration state.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + +@dataclass(kw_only=True) +class PutBucketAccelerateConfigurationOutput(_SerdeShape): + """Dataclass for PutBucketAccelerateConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketAclInput(_SerdeShape): + """Dataclass for PutBucketAclInput structure.""" + + acl: str | None = ... + """The canned ACL to apply to the bucket.""" + access_control_policy: AccessControlPolicy | None = ... + """ + Contains the elements that set the ACL permissions for an object per + grantee. + """ + bucket: str | None = ... + """The bucket to which to apply the ACL.""" + content_md5: str | None = ... + """ + The Base64 encoded 128-bit `MD5` digest of the data. This header must be + used as a message integrity check to verify that the request body was + not corrupted in transit. For more information, go to [RFC + 1864.](http://www.ietf.org/rfc/rfc1864.txt) + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + grant_full_control: str | None = ... + """ + Allows grantee the read, write, read ACP, and write ACP permissions on + the bucket. + """ + grant_read: str | None = ... + """Allows grantee to list the objects in the bucket.""" + grant_read_acp: str | None = ... + """Allows grantee to read the bucket ACL.""" + grant_write: str | None = ... + """ + Allows grantee to create new objects in the bucket. + + For the bucket and object owners of existing objects, also allows + deletions and overwrites of those objects. + """ + grant_write_acp: str | None = ... + """Allows grantee to write the ACL for the applicable bucket.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutBucketAclOutput(_SerdeShape): + """Dataclass for PutBucketAclOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketAnalyticsConfigurationInput(_SerdeShape): + """Dataclass for PutBucketAnalyticsConfigurationInput structure.""" + + bucket: str | None = ... + """The name of the bucket to which an analytics configuration is stored.""" + id: str | None = ... + """The ID that identifies the analytics configuration.""" + analytics_configuration: AnalyticsConfiguration | None = ... + """The configuration and any analyses for the analytics filter.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutBucketAnalyticsConfigurationOutput(_SerdeShape): + """Dataclass for PutBucketAnalyticsConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketCorsInput(_SerdeShape): + """Dataclass for PutBucketCorsInput structure.""" + + bucket: str | None = ... + """Specifies the bucket impacted by the `cors`configuration.""" + cors_configuration: CORSConfiguration | None = ... + """ + Describes the cross-origin access configuration for objects in an Amazon + S3 bucket. For more information, see [Enabling Cross-Origin Resource + Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in + the *Amazon S3 User Guide*. + """ + content_md5: str | None = ... + """ + The Base64 encoded 128-bit `MD5` digest of the data. This header must be + used as a message integrity check to verify that the request body was + not corrupted in transit. For more information, go to [RFC + 1864.](http://www.ietf.org/rfc/rfc1864.txt) + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutBucketCorsOutput(_SerdeShape): + """Dataclass for PutBucketCorsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketEncryptionInput(_SerdeShape): + """Dataclass for PutBucketEncryptionInput structure.""" + + bucket: str | None = ... + """ + Specifies default encryption for a bucket using server-side encryption + with different key options. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + content_md5: str | None = ... + """ + The Base64 encoded 128-bit `MD5` digest of the server-side encryption + configuration. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + + Note: + This functionality is not supported for directory buckets. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + + Note: + For directory buckets, when you use Amazon Web Services SDKs, `CRC32` is + the default checksum algorithm that's used for performance. + """ + server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... + """Specifies the default server-side-encryption configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class PutBucketEncryptionOutput(_SerdeShape): + """Dataclass for PutBucketEncryptionOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketIntelligentTieringConfigurationInput(_SerdeShape): + """Dataclass for PutBucketIntelligentTieringConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket whose configuration you want to modify + or retrieve. + """ + id: str | None = ... + """The ID used to identify the S3 Intelligent-Tiering configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + intelligent_tiering_configuration: IntelligentTieringConfiguration | None = ... + """Container for S3 Intelligent-Tiering configuration.""" + +@dataclass(kw_only=True) +class PutBucketIntelligentTieringConfigurationOutput(_SerdeShape): + """Dataclass for PutBucketIntelligentTieringConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketInventoryConfigurationInput(_SerdeShape): + """Dataclass for PutBucketInventoryConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket where the inventory configuration will be stored. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + id: str | None = ... + """The ID used to identify the inventory configuration.""" + inventory_configuration: InventoryConfiguration | None = ... + """Specifies the inventory configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class PutBucketInventoryConfigurationOutput(_SerdeShape): + """Dataclass for PutBucketInventoryConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketLifecycleConfigurationInput(_SerdeShape): + """Dataclass for PutBucketLifecycleConfigurationInput structure.""" + + bucket: str | None = ... + """The name of the bucket for which to set the configuration.""" + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + lifecycle_configuration: BucketLifecycleConfiguration | None = ... + """Container for lifecycle rules. You can add as many as 1,000 rules.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + """ + transition_default_minimum_object_size: str | None = ... + """ + Indicates which default minimum object size behavior is applied to the + lifecycle configuration. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + + - `all_storage_classes_128K` - Objects smaller than 128 KB will not + transition to any storage class by default. + + - `varies_by_storage_class` - Objects smaller than 128 KB will + transition to Glacier Flexible Retrieval or Glacier Deep Archive + storage classes. By default, all other storage classes will prevent + transitions smaller than 128 KB. + + To customize the minimum object size for any transition you can add a + filter that specifies a custom `ObjectSizeGreaterThan` or + `ObjectSizeLessThan` in the body of your transition rule. Custom filters + always take precedence over the default transition behavior. + """ + +@dataclass(kw_only=True) +class PutBucketLifecycleConfigurationOutput(_SerdeShape): + """Dataclass for PutBucketLifecycleConfigurationOutput structure.""" + + transition_default_minimum_object_size: str | None = ... + """ + Indicates which default minimum object size behavior is applied to the + lifecycle configuration. + + Note: + This parameter applies to general purpose buckets only. It is not + supported for directory bucket lifecycle configurations. + + - `all_storage_classes_128K` - Objects smaller than 128 KB will not + transition to any storage class by default. + + - `varies_by_storage_class` - Objects smaller than 128 KB will + transition to Glacier Flexible Retrieval or Glacier Deep Archive + storage classes. By default, all other storage classes will prevent + transitions smaller than 128 KB. + + To customize the minimum object size for any transition you can add a + filter that specifies a custom `ObjectSizeGreaterThan` or + `ObjectSizeLessThan` in the body of your transition rule. Custom filters + always take precedence over the default transition behavior. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketLoggingInput(_SerdeShape): + """Dataclass for PutBucketLoggingInput structure.""" + + bucket: str | None = ... + """The name of the bucket for which to set the logging parameters.""" + bucket_logging_status: BucketLoggingStatus | None = ... + """Container for logging status information.""" + content_md5: str | None = ... + """ + The MD5 hash of the `PutBucketLogging` request body. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutBucketLoggingOutput(_SerdeShape): + """Dataclass for PutBucketLoggingOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketMetricsConfigurationInput(_SerdeShape): + """Dataclass for PutBucketMetricsConfigurationInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket for which the metrics configuration is set. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + id: str | None = ... + """ + The ID used to identify the metrics configuration. The ID has a 64 + character limit and can only contain letters, numbers, periods, dashes, + and underscores. + """ + metrics_configuration: MetricsConfiguration | None = ... + """Specifies the metrics configuration.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class PutBucketMetricsConfigurationOutput(_SerdeShape): + """Dataclass for PutBucketMetricsConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketNotificationConfigurationInput(_SerdeShape): + """Dataclass for PutBucketNotificationConfigurationInput structure.""" + + bucket: str | None = ... + """The name of the bucket.""" + notification_configuration: NotificationConfiguration | None = ... + """ + A container for specifying the notification configuration of the bucket. + If this element is empty, notifications are turned off for the bucket. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + skip_destination_validation: bool | None = ... + """ + Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. + True or false value. + """ + +@dataclass(kw_only=True) +class PutBucketNotificationConfigurationOutput(_SerdeShape): + """Dataclass for PutBucketNotificationConfigurationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketOwnershipControlsInput(_SerdeShape): + """Dataclass for PutBucketOwnershipControlsInput structure.""" + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket whose `OwnershipControls` you want to + set. + """ + content_md5: str | None = ... + """ + The MD5 hash of the `OwnershipControls` request body. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + ownership_controls: OwnershipControls | None = ... + """ + The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred, or + ObjectWriter) that you want to apply to this Amazon S3 bucket. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum-`*`algorithm`*` ` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + +@dataclass(kw_only=True) +class PutBucketOwnershipControlsOutput(_SerdeShape): + """Dataclass for PutBucketOwnershipControlsOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketPolicyInput(_SerdeShape): + """Dataclass for PutBucketPolicyInput structure.""" + + bucket: str | None = ... + """ + The name of the bucket. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use path-style requests in the format + `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. + Virtual-hosted-style requests aren't supported. Directory bucket names + must be unique in the chosen Zone (Availability Zone or Local Zone). + Bucket names must also follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide* + """ + content_md5: str | None = ... + """ + The MD5 hash of the request body. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + + Note: + This functionality is not supported for directory buckets. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum-`*`algorithm`*` ` or + `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request with + the HTTP status code `400 Bad Request`. + + For the `x-amz-checksum-`*`algorithm`*` ` header, replace + ` `*`algorithm`*` ` with the supported algorithm from the following + list: + + - `CRC32` + + - `CRC32C` + + - `CRC64NVME` + + - `MD5` + + - `SHA1` + + - `SHA256` + + - `SHA512` + + - `XXHASH3` + + - `XXHASH64` + + - `XXHASH128` + + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If the individual checksum value you provide through + `x-amz-checksum-`*`algorithm`*` ` doesn't match the checksum algorithm + you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the + request with a `BadDigest` error. + + Note: + For directory buckets, when you use Amazon Web Services SDKs, `CRC32` is + the default checksum algorithm that's used for performance. + """ + confirm_remove_self_bucket_access: bool | None = ... + """ + Set this parameter to true to confirm that you want to remove your + permissions to change this bucket policy in the future. + + Note: + This functionality is not supported for directory buckets. + """ + policy: str | None = ... + """ + The bucket policy as a JSON document. + + For directory buckets, the only IAM action supported in the bucket + policy is `s3express:CreateSession`. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + + Note: + For directory buckets, this header is not supported in this API + operation. If you specify this header, the request fails with the HTTP + status code `501 Not Implemented`. + """ + +@dataclass(kw_only=True) +class PutBucketPolicyOutput(_SerdeShape): + """Dataclass for PutBucketPolicyOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketReplicationInput(_SerdeShape): + """Dataclass for PutBucketReplicationInput structure.""" + + bucket: str | None = ... + """The name of the bucket""" + content_md5: str | None = ... + """ + The Base64 encoded 128-bit `MD5` digest of the data. You must use this + header as a message integrity check to verify that the request body was + not corrupted in transit. For more information, see [RFC + 1864](http://www.ietf.org/rfc/rfc1864.txt). + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + replication_configuration: ReplicationConfiguration | None = ... + """ + A container for replication rules. You can add up to 1,000 rules. The + maximum size of a replication configuration is 2 MB. + """ + token: str | None = ... + """A token to allow Object Lock to be enabled for an existing bucket.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutBucketReplicationOutput(_SerdeShape): + """Dataclass for PutBucketReplicationOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketRequestPaymentInput(_SerdeShape): + """Dataclass for PutBucketRequestPaymentInput structure.""" + + bucket: str | None = ... + """The bucket name.""" + content_md5: str | None = ... + """ + The Base64 encoded 128-bit `MD5` digest of the data. You must use this + header as a message integrity check to verify that the request body was + not corrupted in transit. For more information, see [RFC + 1864](http://www.ietf.org/rfc/rfc1864.txt). + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + request_payment_configuration: RequestPaymentConfiguration | None = ... + """Container for Payer.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutBucketRequestPaymentOutput(_SerdeShape): + """Dataclass for PutBucketRequestPaymentOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketTaggingInput(_SerdeShape): + """Dataclass for PutBucketTaggingInput structure.""" + + bucket: str | None = ... + """The bucket name.""" + content_md5: str | None = ... + """ + The Base64 encoded 128-bit `MD5` digest of the data. You must use this + header as a message integrity check to verify that the request body was + not corrupted in transit. For more information, see [RFC + 1864](http://www.ietf.org/rfc/rfc1864.txt). + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + tagging: Tagging | None = ... + """Container for the `TagSet` and `Tag` elements.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutBucketTaggingOutput(_SerdeShape): + """Dataclass for PutBucketTaggingOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketVersioningInput(_SerdeShape): + """Dataclass for PutBucketVersioningInput structure.""" + + bucket: str | None = ... + """The bucket name.""" + content_md5: str | None = ... + """ + >The Base64 encoded 128-bit `MD5` digest of the data. You must use this + header as a message integrity check to verify that the request body was + not corrupted in transit. For more information, see [RFC + 1864](http://www.ietf.org/rfc/rfc1864.txt). + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + mfa: str | None = ... + """ + The concatenation of the authentication device's serial number, a + space, and the value that is displayed on your authentication device. + The serial number is the number that uniquely identifies the MFA device. + For physical MFA devices, this is the unique serial number that's + provided with the device. For virtual MFA devices, the serial number is + the device ARN. For more information, see [Enabling versioning on + buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html) + and [Configuring MFA + delete](https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiFactorAuthenticationDelete.html) + in the *Amazon Simple Storage Service User Guide*. + """ + versioning_configuration: VersioningConfiguration | None = ... + """Container for setting the versioning state.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutBucketVersioningOutput(_SerdeShape): + """Dataclass for PutBucketVersioningOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutBucketWebsiteInput(_SerdeShape): + """Dataclass for PutBucketWebsiteInput structure.""" + + bucket: str | None = ... + """The bucket name.""" + content_md5: str | None = ... + """ + The Base64 encoded 128-bit `MD5` digest of the data. You must use this + header as a message integrity check to verify that the request body was + not corrupted in transit. For more information, see [RFC + 1864](http://www.ietf.org/rfc/rfc1864.txt). + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the request when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + website_configuration: WebsiteConfiguration | None = ... + """Container for the request.""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutBucketWebsiteOutput(_SerdeShape): + """Dataclass for PutBucketWebsiteOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutObjectAclInput(_SerdeShape): + """Dataclass for PutObjectAclInput structure.""" + + acl: str | None = ... + """ + The canned ACL to apply to the object. For more information, see [Canned + ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). + """ + access_control_policy: AccessControlPolicy | None = ... + """ + Contains the elements that set the ACL permissions for an object per + grantee. + """ + bucket: str | None = ... + """ + The bucket name that contains the object to which you want to attach the + ACL. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + content_md5: str | None = ... + """ + The Base64 encoded 128-bit `MD5` digest of the data. This header must be + used as a message integrity check to verify that the request body was + not corrupted in transit. For more information, go to [RFC + 1864.>](http://www.ietf.org/rfc/rfc1864.txt) + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + grant_full_control: str | None = ... + """ + Allows grantee the read, write, read ACP, and write ACP permissions on + the bucket. + + This functionality is not supported for Amazon S3 on Outposts. + """ + grant_read: str | None = ... + """ + Allows grantee to list the objects in the bucket. + + This functionality is not supported for Amazon S3 on Outposts. + """ + grant_read_acp: str | None = ... + """ + Allows grantee to read the bucket ACL. + + This functionality is not supported for Amazon S3 on Outposts. + """ + grant_write: str | None = ... + """ + Allows grantee to create new objects in the bucket. + + For the bucket and object owners of existing objects, also allows + deletions and overwrites of those objects. + """ + grant_write_acp: str | None = ... + """ + Allows grantee to write the ACL for the applicable bucket. + + This functionality is not supported for Amazon S3 on Outposts. + """ + key: str | None = ... + """Key for which the PUT action was initiated.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + version_id: str | None = ... + """ + Version ID used to reference a specific version of the object. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutObjectAclOutput(_SerdeShape): + """Dataclass for PutObjectAclOutput structure.""" + + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutObjectAnnotationInput(_SerdeShape): + """Dataclass for PutObjectAnnotationInput structure.""" + + bucket: str | None = ... + """The name of the bucket that contains the object.""" + key: str | None = ... + """The object key.""" + version_id: str | None = ... + """The version ID of the object to attach the annotation to.""" + annotation_name: str | None = ... + """ + The name of the annotation. + + Length Constraints: Minimum length of 1. Maximum length of 512 bytes. + """ + annotation_payload: StreamingBlob | None = ... + """ + The annotation payload. Must be between 1 byte and 1 MiB in size, and + must be valid UTF-8 encoded text. If the payload contains invalid UTF-8 + bytes, the request fails with HTTP 415 (Unsupported Media Type). To + store binary data, encode the payload using Base64 before uploading. + """ + object_if_match: str | None = ... + """ + If specified, the operation only succeeds if the object's ETag matches + the provided value. + """ + checksum_algorithm: str | None = ... + """ + The checksum algorithm to use. Supported values: `CRC32`, `CRC32C`, + `CRC64NVME`, `SHA1`, `SHA256`, `SHA512`, `MD5`, `XXHASH64`, `XXHASH3`, + `XXHASH128`. + """ + checksum_crc32: str | None = ... + """Base64-encoded CRC32 checksum of the annotation payload.""" + checksum_crc32_c: str | None = ... + """Base64-encoded CRC32C checksum of the annotation payload.""" + checksum_crc64_nvme: str | None = ... + """Base64-encoded CRC64NVME checksum of the annotation payload.""" + checksum_sha1: str | None = ... + """Base64-encoded SHA1 checksum of the annotation payload.""" + checksum_sha256: str | None = ... + """Base64-encoded SHA256 checksum of the annotation payload.""" + checksum_sha512: str | None = ... + """Base64-encoded SHA512 checksum of the annotation payload.""" + checksum_md5: str | None = ... + """Base64-encoded MD5 checksum of the annotation payload.""" + checksum_xxhash64: str | None = ... + """Base64-encoded XXHASH64 checksum of the annotation payload.""" + checksum_xxhash3: str | None = ... + """Base64-encoded XXHASH3 checksum of the annotation payload.""" + checksum_xxhash128: str | None = ... + """Base64-encoded XXHASH128 checksum of the annotation payload.""" + content_md5: str | None = ... + """Base64-encoded MD5 digest of the message.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the bucket is owned by a + different account, the request fails with an HTTP 403 (Access Denied) + error. + """ + +@dataclass(kw_only=True) +class PutObjectAnnotationOutput(_SerdeShape): + """Dataclass for PutObjectAnnotationOutput structure.""" + + key: str | None = ... + """The object key.""" + annotation_name: str | None = ... + """The name of the annotation.""" + object_version_id: str | None = ... + """The version ID of the object that the annotation was attached to.""" + e_tag: str | None = ... + """The entity tag of the annotation.""" + checksum_crc32: str | None = ... + """The CRC32 checksum of the stored annotation.""" + checksum_crc32_c: str | None = ... + """The CRC32C checksum of the stored annotation.""" + checksum_crc64_nvme: str | None = ... + """The CRC64NVME checksum of the stored annotation.""" + checksum_sha1: str | None = ... + """The SHA1 checksum of the stored annotation.""" + checksum_sha256: str | None = ... + """The SHA256 checksum of the stored annotation.""" + checksum_sha512: str | None = ... + """The SHA512 checksum of the stored annotation.""" + checksum_md5: str | None = ... + """The MD5 checksum of the stored annotation.""" + checksum_xxhash64: str | None = ... + """The XXHASH64 checksum of the stored annotation.""" + checksum_xxhash3: str | None = ... + """The XXHASH3 checksum of the stored annotation.""" + checksum_xxhash128: str | None = ... + """The XXHASH128 checksum of the stored annotation.""" + checksum_type: str | None = ... + """The type of checksum used.""" + server_side_encryption: str | None = ... + """The server-side encryption algorithm used to encrypt the annotation.""" + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutObjectInput(_SerdeShape): + """Dataclass for PutObjectInput structure.""" + + acl: str | None = ... + """ + The canned ACL to apply to the object. For more information, see [Canned + ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL) + in the *Amazon S3 User Guide*. + + When adding a new object, you can use headers to grant ACL-based + permissions to individual Amazon Web Services accounts or to predefined + groups defined by Amazon S3. These permissions are then added to the ACL + on the object. By default, all objects are private. Only the owner has + full access control. For more information, see [Access Control List + (ACL) + Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) + and [Managing ACLs Using the REST + API](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html) + in the *Amazon S3 User Guide*. + + If the bucket that you're uploading objects to uses the bucket owner + enforced setting for S3 Object Ownership, ACLs are disabled and no + longer affect permissions. Buckets that use this setting only accept PUT + requests that don't specify an ACL or PUT requests that specify bucket + owner full control ACLs, such as the `bucket-owner-full-control` canned + ACL or an equivalent form of this ACL expressed in the XML format. PUT + requests that contain other ACLs (for example, custom grants to certain + Amazon Web Services accounts) fail and return a `400` error with the + error code `AccessControlListNotSupported`. For more information, see + [Controlling ownership of objects and disabling + ACLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) + in the *Amazon S3 User Guide*. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + body: StreamingBlob = ... + """Object data.""" + bucket: str | None = ... + """ + The bucket name to which the PUT action was initiated. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + cache_control: str | None = ... + """ + Can be used to specify caching behavior along the request/reply chain. + For more information, see + . + """ + content_disposition: str | None = ... + """ + Specifies presentational information for the object. For more + information, see . + """ + content_encoding: str | None = ... + """ + Specifies what content encodings have been applied to the object and + thus what decoding mechanisms must be applied to obtain the media-type + referenced by the Content-Type header field. For more information, see + . + """ + content_language: str | None = ... + """The language the content is in.""" + content_length: int | None = ... + """ + Size of the body in bytes. This parameter is useful when the size of the + body cannot be determined automatically. For more information, see + . + """ + content_md5: str | None = ... + """ + The Base64 encoded 128-bit `MD5` digest of the message (without the + headers) according to RFC 1864. This header can be used as a message + integrity check to verify that the data is the same data that was + originally sent. Although it is optional, we recommend using the + Content-MD5 mechanism as an end-to-end integrity check. For more + information about REST request authentication, see [REST + Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html). + + Note: + The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required + for any request to upload an object with a retention period configured + using Amazon S3 Object Lock. For more information, see [Uploading + objects to an Object Lock enabled + bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object) + in the *Amazon S3 User Guide*. + Note: + This functionality is not supported for directory buckets. + """ + content_type: str | None = ... + """ + A standard MIME type describing the format of the contents. For more + information, see + . + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum-`*`algorithm`*` ` or + `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request with + the HTTP status code `400 Bad Request`. + + For the `x-amz-checksum-`*`algorithm`*` ` header, replace + ` `*`algorithm`*` ` with the supported algorithm from the following + list: + + - `CRC32` + + - `CRC32C` + + - `CRC64NVME` + + - `MD5` + + - `SHA1` + + - `SHA256` + + - `SHA512` + + - `XXHASH3` + + - `XXHASH64` + + - `XXHASH128` + + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If the individual checksum value you provide through + `x-amz-checksum-`*`algorithm`*` ` doesn't match the checksum algorithm + you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the + request with a `BadDigest` error. + + Note: + The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required + for any request to upload an object with a retention period configured + using Amazon S3 Object Lock. For more information, see [Uploading + objects to an Object Lock enabled + bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object) + in the *Amazon S3 User Guide*. + + For directory buckets, when you use Amazon Web Services SDKs, `CRC32` is + the default checksum algorithm that's used for performance. + """ + checksum_crc32: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. + The `CRC64NVME` checksum is always a full object checksum. For more + information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_sha1: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 512-bit `SHA512` digest of the object. For + more information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_md5: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 128-bit `MD5` digest of the object. For + more information, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash64: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `XXHASH64` checksum of the object. + For more information, see [Checking object integrity in the Amazon S3 + User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash3: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `XXHASH3` checksum of the object. + For more information, see [Checking object integrity in the Amazon S3 + User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash128: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 128-bit `XXHASH128` checksum of the + object. For more information, see [Checking object integrity in the + Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + expires: str | None = ... + """ + The date and time at which the object is no longer cacheable. For more + information, see . + """ + if_match: str | None = ... + """ + Uploads the object only if the ETag (entity tag) value provided during + the WRITE operation matches the ETag of the object in S3. If the ETag + values do not match, the operation returns a `412 Precondition Failed` + error. + + If a conflicting operation occurs during the upload S3 returns a + `409 ConditionalRequestConflict` response. On a 409 failure you should + fetch the object's ETag and retry the upload. + + Expects the ETag value as a string. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232), or [Conditional + requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html) + in the *Amazon S3 User Guide*. + """ + if_none_match: str | None = ... + """ + Uploads the object only if the object key name does not already exist in + the bucket specified. Otherwise, Amazon S3 returns a + `412 Precondition Failed` error. + + If a conflicting operation occurs during the upload S3 returns a + `409 ConditionalRequestConflict` response. On a 409 failure you should + retry the upload. + + Expects the '*' (asterisk) character. + + For more information about conditional requests, see [RFC + 7232](https://tools.ietf.org/html/rfc7232), or [Conditional + requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html) + in the *Amazon S3 User Guide*. + """ + grant_full_control: str | None = ... + """ + Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the + object. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + grant_read: str | None = ... + """ + Allows grantee to read the object data and its metadata. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + grant_read_acp: str | None = ... + """ + Allows grantee to read the object ACL. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + grant_write_acp: str | None = ... + """ + Allows grantee to write the ACL for the applicable object. + + Note: + - This functionality is not supported for directory buckets. + + - This functionality is not supported for Amazon S3 on Outposts. + """ + key: str | None = ... + """Object key for which the PUT action was initiated.""" + write_offset_bytes: int | None = ... + """ + Specifies the offset for appending data to existing objects in bytes. + The offset must be equal to the size of the existing object being + appended to. If no object exists, setting this header to 0 will create a + new object. + + Note: + This functionality is only supported for objects in the Amazon S3 + Express One Zone storage class in directory buckets. + """ + metadata: dict[str, str] | None = ... + """A map of metadata to store with the object in S3.""" + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm that was used when you store this + object in Amazon S3 or Amazon FSx. + + - **General purpose buckets** - You have four mutually exclusive options + to protect data using server-side encryption in Amazon S3, depending + on how you choose to manage the encryption keys. Specifically, the + encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web + Services KMS keys (SSE-KMS or DSSE-KMS), and customer-provided keys + (SSE-C). Amazon S3 encrypts data with server-side encryption by using + Amazon S3 managed keys (SSE-S3) by default. You can optionally tell + Amazon S3 to encrypt data at rest by using server-side encryption with + other key options. For more information, see [Using Server-Side + Encryption](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) + in the *Amazon S3 User Guide*. + + - **Directory buckets** - For directory buckets, there are only two + supported options for server-side encryption: server-side encryption + with Amazon S3 managed keys (SSE-S3) (`AES256`) and server-side + encryption with KMS keys (SSE-KMS) (`aws:kms`). We recommend that the + bucket's default encryption uses the desired encryption configuration + and you don't override the bucket default encryption in your + `CreateSession` requests or `PUT` object requests. Then, new objects + are automatically encrypted with the desired encryption settings. For + more information, see [Protecting data with server-side + encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html) + in the *Amazon S3 User Guide*. For more information about the + encryption overriding behaviors in directory buckets, see [Specifying + server-side encryption with KMS for new object + uploads](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html). + + In the Zonal endpoint API calls (except + [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) + and + [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)) + using the REST API, the encryption request headers must match the + encryption settings that are specified in the `CreateSession` request. + You can't override the values of the encryption settings + (`x-amz-server-side-encryption`, + `x-amz-server-side-encryption-aws-kms-key-id`, + `x-amz-server-side-encryption-context`, and + `x-amz-server-side-encryption-bucket-key-enabled`) that are specified + in the `CreateSession` request. You don't need to explicitly specify + these encryption settings values in Zonal endpoint API calls, and + Amazon S3 will use the encryption settings values from the + `CreateSession` request to protect new objects in the directory + bucket. + + Note: + When you use the CLI or the Amazon Web Services SDKs, for + `CreateSession`, the session token refreshes automatically to avoid + service interruptions when a session expires. The CLI or the Amazon + Web Services SDKs use the bucket's default encryption configuration + for the `CreateSession` request. It's not supported to override the + encryption settings values in the `CreateSession` request. So in the + Zonal endpoint API calls (except + [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) + and + [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)), + the encryption request headers must match the default encryption + configuration of the directory bucket. + + - **S3 access points for Amazon FSx** - When accessing data stored in + Amazon FSx file systems using S3 access points, the only valid server + side encryption option is `aws:fsx`. All Amazon FSx file systems have + encryption configured by default and are encrypted at rest. Data is + automatically encrypted before being written to the file system, and + automatically decrypted as it is read. These processes are handled + transparently by Amazon FSx. + """ + storage_class: str | None = ... + """ + By default, Amazon S3 uses the STANDARD Storage Class to store newly + created objects. The STANDARD storage class provides high durability and + high availability. Depending on performance needs, you can specify a + different Storage Class. For more information, see [Storage + Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) + in the *Amazon S3 User Guide*. + + Note: + - Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One + Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3 One + Zone-Infrequent Access storage class) in Dedicated Local Zones. + + - Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. + """ + website_redirect_location: str | None = ... + """ + If the bucket is configured as a website, redirects requests for this + object to another object in the same bucket or to an external URL. + Amazon S3 stores the value of this header in the object metadata. For + information about object metadata, see [Object Key and + Metadata](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html) + in the *Amazon S3 User Guide*. + + In the following example, the request header sets the redirect to an + object (anotherPage.html) in the same bucket: + + `x-amz-website-redirect-location: /anotherPage.html` + + In the following example, the request header sets the object redirect to + another website: + + `x-amz-website-redirect-location: http://www.example.com/` + + For more information about website hosting in Amazon S3, see [Hosting + Websites on Amazon + S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html) + and [How to Configure Website Page + Redirects](https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when encrypting the object (for example, + `AES256`). + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key for Amazon S3 to use in + encrypting data. This value is used to store the object and then it is + discarded; Amazon S3 does not store the encryption key. The key must be + appropriate for use with the algorithm specified in the + `x-amz-server-side-encryption-customer-algorithm` header. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the encryption key according to RFC + 1321. Amazon S3 uses this header for a message integrity check to ensure + that the encryption key was transmitted without error. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for + object encryption. If the KMS key doesn't exist in the same account + that's issuing the command, you must use the full Key ARN not the Key + ID. + + **General purpose buckets** - If you specify + `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this + header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key + to use. If you specify `x-amz-server-side-encryption:aws:kms` or + `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide + `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the Amazon + Web Services managed key (`aws/s3`) to protect the data. + + **Directory buckets** - To encrypt data using SSE-KMS, it's recommended + to specify the `x-amz-server-side-encryption` header to `aws:kms`. Then, + the `x-amz-server-side-encryption-aws-kms-key-id` header implicitly uses + the bucket's default KMS customer managed key ID. If you want to + explicitly set the ` x-amz-server-side-encryption-aws-kms-key-id` + header, it must match the bucket's default customer managed key (using + key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 + [customer managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) + per directory bucket's lifetime. The [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) + (`aws/s3`) isn't supported. Incorrect key specification results in an + HTTP `400 Bad Request` error. + """ + ssekms_encryption_context: str | None = ... + """ + Specifies the Amazon Web Services KMS Encryption Context as an + additional encryption context to use for object encryption. The value of + this header is a Base64 encoded string of a UTF-8 encoded JSON, which + contains the encryption context as key-value pairs. This value is stored + as object metadata and automatically gets passed on to Amazon Web + Services KMS for future `GetObject` operations on this object. + + **General purpose buckets** - This value must be explicitly added during + `CopyObject` operations if you want an additional encryption context for + your object. For more information, see [Encryption + context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) + in the *Amazon S3 User Guide*. + + **Directory buckets** - You can optionally provide an explicit + encryption context value. The value must match the default encryption + context - the bucket Amazon Resource Name (ARN). An additional + encryption context value is not supported. + """ + bucket_key_enabled: bool | None = ... + """ + Specifies whether Amazon S3 should use an S3 Bucket Key for object + encryption with server-side encryption using Key Management Service + (KMS) keys (SSE-KMS). + + **General purpose buckets** - Setting this header to `true` causes + Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS. + Also, specifying this header with a PUT action doesn't affect + bucket-level settings for S3 Bucket Key. + + **Directory buckets** - S3 Bucket Keys are always enabled for `GET` and + `PUT` operations in a directory bucket and can't be disabled. S3 Bucket + Keys aren't supported, when you copy SSE-KMS encrypted objects from + general purpose buckets to directory buckets, from directory buckets to + general purpose buckets, or between directory buckets, through + [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), + [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html), + [the Copy operation in Batch + Operations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops), + or [the import + jobs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job). + In this case, Amazon S3 makes a call to KMS every time a copy request is + made for a KMS-encrypted object. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + tagging: str | None = ... + """ + The tag-set for the object. The tag-set must be encoded as URL Query + parameters. (For example, \"Key1=Value1\") + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_mode: str | None = ... + """ + The Object Lock mode that you want to apply to this object. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_retain_until_date: datetime | None = ... + """ + The date and time when you want this object's Object Lock to expire. + Must be formatted as a timestamp parameter. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_legal_hold_status: str | None = ... + """ + Specifies whether a legal hold will be applied to this object. For more + information about S3 Object Lock, see [Object + Lock](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold: str | None = ... + """ + Specifies the event hold status to apply to this object. Set to `ON` to + enable or `OFF` to disable. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_days: int | None = ... + """ + Specifies the event hold duration in days to apply to this object. You + cannot specify a duration in both days and years. + + Note: + This functionality is not supported for directory buckets. + """ + object_lock_event_hold_duration_years: int | None = ... + """ + Specifies the event hold duration in years to apply to this object. You + cannot specify a duration in both days and years. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutObjectLegalHoldInput(_SerdeShape): + """Dataclass for PutObjectLegalHoldInput structure.""" + + bucket: str | None = ... + """ + The bucket name containing the object that you want to place a legal + hold on. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """The key name for the object that you want to place a legal hold on.""" + legal_hold: ObjectLockLegalHold | None = ... + """ + Container element for the legal hold configuration you want to apply to + the specified object. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + version_id: str | None = ... + """The version ID of the object that you want to place a legal hold on.""" + content_md5: str | None = ... + """ + The MD5 hash for the request body. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutObjectLegalHoldOutput(_SerdeShape): + """Dataclass for PutObjectLegalHoldOutput structure.""" + + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutObjectLockConfigurationInput(_SerdeShape): + """Dataclass for PutObjectLockConfigurationInput structure.""" + + bucket: str | None = ... + """ + The bucket whose Object Lock configuration you want to create or + replace. + """ + object_lock_configuration: ObjectLockConfiguration | None = ... + """ + The Object Lock configuration that you want to apply to the specified + bucket. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + token: str | None = ... + """A token to allow Object Lock to be enabled for an existing bucket.""" + content_md5: str | None = ... + """ + The MD5 hash for the request body. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutObjectLockConfigurationOutput(_SerdeShape): + """Dataclass for PutObjectLockConfigurationOutput structure.""" + + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutObjectOutput(_SerdeShape): + """Dataclass for PutObjectOutput structure.""" + + expiration: str | None = ... + """ + If the expiration is configured for the object (see + [PutBucketLifecycleConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html)) + in the *Amazon S3 User Guide*, the response includes this header. It + includes the `expiry-date` and `rule-id` key-value pairs that provide + information about object expiration. The value of the `rule-id` is + URL-encoded. + + Note: + Object expiration information is not returned in directory buckets and + this header returns the value \"`NotImplemented`\" in all responses for + directory buckets. + """ + e_tag: str | None = ... + """ + Entity tag for the uploaded object. + + **General purpose buckets** - To ensure that data is not corrupted + traversing the network, for objects where the ETag is the MD5 digest of + the object, you can calculate the MD5 while putting an object to Amazon + S3 and compare the returned ETag to the calculated MD5 value. + + **Directory buckets** - The ETag for the object in a directory bucket + isn't the MD5 digest of the object. + """ + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32 checksum` of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use an API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the object. This + checksum is only present if the checksum was uploaded with the object. + When you use an API operation on an object that was uploaded using + multipart uploads, this value may not be a direct checksum value of the + full object. Instead, it's a calculation based on the checksum values + of each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. This + header is present if the object was uploaded with the `CRC64NVME` + checksum algorithm, or if it was uploaded without a checksum (and Amazon + S3 added the default checksum, `CRC64NVME`, to the uploaded object). For + more information about how checksums are calculated with multipart + uploads, see [Checking object integrity in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use the API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum + is only present if the checksum was uploaded with the object. When you + use an API operation on an object that was uploaded using multipart + uploads, this value may not be a direct checksum value of the full + object. Instead, it's a calculation based on the checksum values of + each individual part. For more information about how checksums are + calculated with multipart uploads, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` digest of the object. This header + is present if the object was uploaded with the `SHA512` checksum + algorithm. For more information, see [Checking object integrity in the + Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` digest of the object. This header is + present if the object was uploaded with the `MD5` checksum algorithm. + For more information, see [Checking object integrity in the Amazon S3 + User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the object. This + header is present if the object was uploaded with the `XXHASH64` + checksum algorithm. For more information, see [Checking object integrity + in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the object. This header + is present if the object was uploaded with the `XXHASH3` checksum + algorithm. For more information, see [Checking object integrity in the + Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the object. This + header is present if the object was uploaded with the `XXHASH128` + checksum algorithm. For more information, see [Checking object integrity + in the Amazon S3 User + Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + """ + checksum_type: str | None = ... + """ + This header specifies the checksum type of the object, which determines + how part-level checksums are combined to create an object-level checksum + for multipart objects. For `PutObject` uploads, the checksum type is + always `FULL_OBJECT`. You can use this header as a data integrity check + to verify that the checksum type that is received is the same checksum + that was specified. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when you store this object in + Amazon S3 or Amazon FSx. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + version_id: str | None = ... + """ + Version ID of the object. + + If you enable versioning for a bucket, Amazon S3 automatically generates + a unique version ID for the object being stored. Amazon S3 returns this + ID in the response. When you enable versioning for a bucket, if Amazon + S3 receives multiple write requests for the same object simultaneously, + it stores all of the objects. For more information about versioning, see + [Adding Objects to Versioning-Enabled + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html) + in the *Amazon S3 User Guide*. For information about returning the + versioning state of a bucket, see + [GetBucketVersioning](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html). + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_algorithm: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to confirm the + encryption algorithm that's used. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to provide the + round-trip message integrity verification of the customer-provided + encryption key. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + If present, indicates the ID of the KMS key that was used for object + encryption. + """ + ssekms_encryption_context: str | None = ... + """ + If present, indicates the Amazon Web Services KMS Encryption Context to + use for object encryption. The value of this header is a Base64 encoded + string of a UTF-8 encoded JSON, which contains the encryption context as + key-value pairs. This value is stored as object metadata and + automatically gets passed on to Amazon Web Services KMS for future + `GetObject` operations on this object. + """ + bucket_key_enabled: bool | None = ... + """ + Indicates whether the uploaded object uses an S3 Bucket Key for + server-side encryption with Key Management Service (KMS) keys (SSE-KMS). + """ + size: int | None = ... + """ + The size of the object in bytes. This value is only be present if you + append to an object. + + Note: + This functionality is only supported for objects in the Amazon S3 + Express One Zone storage class in directory buckets. + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutObjectRetentionInput(_SerdeShape): + """Dataclass for PutObjectRetentionInput structure.""" + + bucket: str | None = ... + """ + The bucket name that contains the object you want to apply this Object + Retention configuration to. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """ + The key name for the object that you want to apply this Object Retention + configuration to. + """ + retention: ObjectLockRetention | None = ... + """The container element for the Object Retention configuration.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + version_id: str | None = ... + """ + The version ID for the object that you want to apply this Object + Retention configuration to. + """ + bypass_governance_retention: bool | None = ... + """ + Indicates whether this action should bypass Governance-mode + restrictions. + """ + content_md5: str | None = ... + """ + The MD5 hash for the request body. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutObjectRetentionOutput(_SerdeShape): + """Dataclass for PutObjectRetentionOutput structure.""" + + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutObjectTaggingInput(_SerdeShape): + """Dataclass for PutObjectTaggingInput structure.""" + + bucket: str | None = ... + """ + The bucket name containing the object. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """Name of the object key.""" + version_id: str | None = ... + """The versionId of the object that the tag-set will be added to.""" + content_md5: str | None = ... + """ + The MD5 hash for the request body. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + tagging: Tagging | None = ... + """Container for the `TagSet` and `Tag` elements""" + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that she or he will be charged for the + tagging object request. Bucket owners need not specify this parameter in + their requests. + """ + +@dataclass(kw_only=True) +class PutObjectTaggingOutput(_SerdeShape): + """Dataclass for PutObjectTaggingOutput structure.""" + + version_id: str | None = ... + """The versionId of the object the tag-set was added to.""" + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class PutPublicAccessBlockInput(_SerdeShape): + """Dataclass for PutPublicAccessBlockInput structure.""" + + bucket: str | None = ... + """ + The name of the Amazon S3 bucket whose `PublicAccessBlock` configuration + you want to set. + """ + content_md5: str | None = ... + """ + The MD5 hash of the `PutPublicAccessBlock` request body. + + For requests made using the Amazon Web Services Command Line Interface + (CLI) or Amazon Web Services SDKs, this field is calculated + automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + public_access_block_configuration: PublicAccessBlockConfiguration | None = ... + """ + The `PublicAccessBlock` configuration that you want to apply to this + Amazon S3 bucket. You can enable the configuration options in any + combination. For more information about when Amazon S3 considers a + bucket or object public, see [The Meaning of + \"Public\"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) + in the *Amazon S3 User Guide*. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class PutPublicAccessBlockOutput(_SerdeShape): + """Dataclass for PutPublicAccessBlockOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class QueueConfiguration(_SerdeShape): + """ + Specifies the configuration for publishing messages to an Amazon Simple + Queue Service (Amazon SQS) queue when Amazon S3 detects specified + events. + """ + + id: str | None = ... + """ + An optional unique identifier for configurations in a notification + configuration. If you don't provide one, Amazon S3 will assign an ID. + """ + queue_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon + S3 publishes a message when it detects events of the specified type. + """ + events: list[str] + """A collection of bucket events for which to send notifications""" + filter: NotificationConfigurationFilter | None = ... + """ + Specifies object key name filtering rules. For information about key + name filtering, see [Configuring event notifications using object key + name + filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) + in the *Amazon S3 User Guide*. + """ + +class QuoteFields(UnknownEnumMixin, StrEnum): + ALWAYS = "ALWAYS" + ASNEEDED = "ASNEEDED" + +@dataclass(kw_only=True) +class RecordExpiration(_SerdeShape): + """ + The journal table record expiration settings for a journal table in an + S3 Metadata configuration. + """ + + expiration: str + """ + Specifies whether journal table record expiration is enabled or + disabled. + """ + days: int | None = ... + """ + If you enable journal table record expiration, you can set the number of + days to retain your journal table records. Journal table records must be + retained for a minimum of 7 days. To set this value, specify any whole + number from `7` to `2147483647`. For example, to retain your journal + table records for one year, set this value to `365`. + """ + +@dataclass(kw_only=True) +class RecordsEvent(_SerdeShape): + """The container for the records event.""" + + payload: bytes | None = ... + """ + The byte array of partial, one or more result records. S3 Select + doesn't guarantee that a record will be self-contained in one record + frame. To ensure continuous streaming of data, S3 Select might split the + same record across multiple record frames instead of aggregating the + results in memory. Some S3 clients (for example, the SDK for Java) + handle this behavior by creating a `ByteStream` out of the response by + default. Other clients might not handle this behavior by default. In + those cases, you must aggregate the results on the client side and parse + the response. + """ + +@dataclass(kw_only=True) +class Redirect(_SerdeShape): + """ + Specifies how requests are redirected. In the event of an error, you can + specify a different error code to return. + """ + + host_name: str | None = ... + """The host name to use in the redirect request.""" + http_redirect_code: str | None = ... + """ + The HTTP redirect code to use on the response. Not required if one of + the siblings is present. + """ + protocol: str | None = ... + """ + Protocol to use when redirecting requests. The default is the protocol + that is used in the original request. + """ + replace_key_prefix_with: str | None = ... + """ + The object key prefix to use in the redirect request. For example, to + redirect requests for all pages with prefix `docs/` (objects in the + `docs/` folder) to `documents/`, you can set a condition block with + `KeyPrefixEquals` set to `docs/` and in the Redirect set + `ReplaceKeyPrefixWith` to `/documents`. Not required if one of the + siblings is present. Can be present only if `ReplaceKeyWith` is not + provided. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + replace_key_with: str | None = ... + """ + The specific object key to use in the redirect request. For example, + redirect request to `error.html`. Not required if one of the siblings is + present. Can be present only if `ReplaceKeyPrefixWith` is not provided. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + +@dataclass(kw_only=True) +class RedirectAllRequestsTo(_SerdeShape): + """ + Specifies the redirect behavior of all requests to a website endpoint of + an Amazon S3 bucket. + """ + + host_name: str + """Name of the host where requests are redirected.""" + protocol: str | None = ... + """ + Protocol to use when redirecting requests. The default is the protocol + that is used in the original request. + """ + +@dataclass(kw_only=True) +class RenameObjectInput(_SerdeShape): + """Dataclass for RenameObjectInput structure.""" + + bucket: str | None = ... + """ + The bucket name of the directory bucket containing the object. + + You must use virtual-hosted-style requests in the format + `Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style + requests are not supported. Directory bucket names must be unique in the + chosen Availability Zone. Bucket names must follow the format + `bucket-base-name--zone-id--x-s3 ` (for example, + `amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket + naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """Key name of the object to rename.""" + rename_source: str | None = ... + """ + Specifies the source for the rename operation. The value must be URL + encoded. + """ + destination_if_match: str | None = ... + """ + Renames the object only if the ETag (entity tag) value provided during + the operation matches the ETag of the object in S3. The `If-Match` + header field makes the request method conditional on ETags. If the ETag + values do not match, the operation returns a `412 Precondition Failed` + error. + + Expects the ETag value as a string. + """ + destination_if_none_match: str | None = ... + """ + Renames the object only if the destination does not already exist in the + specified directory bucket. If the object does exist when you send a + request with `If-None-Match:*`, the S3 API will return a + `412 Precondition Failed` error, preventing an overwrite. The + `If-None-Match` header prevents overwrites of existing data by + validating that there's not an object with the same key name already in + your directory bucket. + + Expects the `*` character (asterisk). + """ + destination_if_modified_since: datetime | None = ... + """ + Renames the object if the destination exists and if it has been modified + since the specified time. + """ + destination_if_unmodified_since: datetime | None = ... + """Renames the object if it hasn't been modified since the specified time.""" + source_if_match: str | None = ... + """ + Renames the object if the source exists and if its entity tag (ETag) + matches the specified ETag. + """ + source_if_none_match: str | None = ... + """ + Renames the object if the source exists and if its entity tag (ETag) is + different than the specified ETag. If an asterisk (`*`) character is + provided, the operation will fail and return a `412 Precondition Failed` + error. + """ + source_if_modified_since: datetime | None = ... + """ + Renames the object if the source exists and if it has been modified + since the specified time. + """ + source_if_unmodified_since: datetime | None = ... + """ + Renames the object if the source exists and hasn't been modified since + the specified time. + """ + client_token: str | None = ... + """ + A unique string with a max of 64 ASCII characters in the ASCII range of + 33 - 126. + + Note: + `RenameObject` supports idempotency using a client token. To make an + idempotent API request using `RenameObject`, specify a client token in + the request. You should not reuse the same client token for other API + requests. If you retry a request that completed successfully using the + same client token and the same parameters, the retry succeeds without + performing any further actions. If you retry a successful request using + the same client token, but one or more of the parameters are different, + the retry fails and an `IdempotentParameterMismatch` error is returned. + + This field is autopopulated if not provided. + """ + +@dataclass(kw_only=True) +class RenameObjectOutput(_SerdeShape): + """Dataclass for RenameObjectOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class ReplicaModifications(_SerdeShape): + """ + A filter that you can specify for selection for modifications on + replicas. Amazon S3 doesn't replicate replica modifications by default. + In the latest version of replication configuration (when `Filter` is + specified), you can specify this element and set the status to `Enabled` + to replicate modifications on replicas. + + Note: + If you don't specify the `Filter` element, Amazon S3 assumes that the + replication configuration is the earlier version, V1. In the earlier + version, this element is not allowed. + """ + + status: str + """Specifies whether Amazon S3 replicates modifications on replicas.""" + +class ReplicaModificationsStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +@dataclass(kw_only=True) +class ReplicationConfiguration(_SerdeShape): + """ + A container for replication rules. You can add up to 1,000 rules. The + maximum size of a replication configuration is 2 MB. + """ + + role: str + """ + The Amazon Resource Name (ARN) of the Identity and Access Management + (IAM) role that Amazon S3 assumes when replicating objects. For more + information, see [How to Set Up + Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html) + in the *Amazon S3 User Guide*. + """ + rules: list[ReplicationRule] + """ + A container for one or more replication rules. A replication + configuration must have at least one rule and can contain a maximum of + 1,000 rules. + """ + +@dataclass(kw_only=True) +class ReplicationRule(_SerdeShape): + """ + Specifies which Amazon S3 objects to replicate and where to store the + replicas. + """ + + id: str | None = ... + """A unique identifier for the rule. The maximum value is 255 characters.""" + priority: int | None = ... + """ + The priority indicates which rule has precedence whenever two or more + replication rules conflict. Amazon S3 will attempt to replicate objects + according to all replication rules. However, if there are two or more + rules with the same destination bucket, then objects will be replicated + according to the rule with the highest priority. The higher the number, + the higher the priority. + + For more information, see + [Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html) + in the *Amazon S3 User Guide*. + """ + prefix: str | None = ... + """ + An object key name prefix that identifies the object or objects to which + the rule applies. The maximum prefix length is 1,024 characters. To + include all objects in a bucket, specify an empty string. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + filter: ReplicationRuleFilter | None = ... + """ + A filter that identifies the subset of objects to which the replication + rule applies. A `Filter` must specify exactly one `Prefix`, `Tag`, or an + `And` child element. + """ + status: str + """Specifies whether the rule is enabled.""" + source_selection_criteria: SourceSelectionCriteria | None = ... + """ + A container that describes additional filters for identifying the source + objects that you want to replicate. You can choose to enable or disable + the replication of these objects. Currently, Amazon S3 supports only the + filter that you can specify for objects created with server-side + encryption using a customer managed key stored in Amazon Web Services + Key Management Service (SSE-KMS). + """ + existing_object_replication: ExistingObjectReplication | None = ... + """ + Optional configuration to replicate existing source bucket objects. + + Note: + This parameter is no longer supported. To replicate existing objects, + see [Replicating existing objects with S3 Batch + Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) + in the *Amazon S3 User Guide*. + """ + destination: Destination + """ + A container for information about the replication destination and its + configurations including enabling the S3 Replication Time Control (S3 + RTC). + """ + delete_marker_replication: DeleteMarkerReplication | None = ... + """ + Specifies whether Amazon S3 replicates delete markers. If you specify a + `Filter` in your replication configuration, you must also include a + `DeleteMarkerReplication` element. If your `Filter` includes a `Tag` + element, the `DeleteMarkerReplication` `Status` must be set to Disabled, + because Amazon S3 does not support replicating delete markers for + tag-based rules. For an example configuration, see [Basic Rule + Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config). + + For more information about delete marker replication, see [Basic Rule + Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html). + + Note: + If you are using an earlier version of the replication configuration, + Amazon S3 handles replication of delete markers differently. For more + information, see [Backward + Compatibility](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations). + """ + +@dataclass(kw_only=True) +class ReplicationRuleAndOperator(_SerdeShape): + """ + A container for specifying rule filters. The filters determine the + subset of objects to which the rule applies. This element is required + only if you specify more than one filter. + + For example: + + - If you specify both a `Prefix` and a `Tag` filter, wrap these filters + in an `And` tag. + + - If you specify a filter based on multiple tags, wrap the `Tag` + elements in an `And` tag. + """ + + prefix: str | None = ... + """ + An object key name prefix that identifies the subset of objects to which + the rule applies. + """ + tags: list[Tag] | None = ... + """An array of tags containing key and value pairs.""" + +@dataclass(kw_only=True) +class ReplicationRuleFilter(_SerdeShape): + """ + A filter that identifies the subset of objects to which the replication + rule applies. A `Filter` must specify exactly one `Prefix`, `Tag`, or an + `And` child element. + """ + + prefix: str | None = ... + """ + An object key name prefix that identifies the subset of objects to which + the rule applies. + + Warning: + Replacement must be made for object keys containing special characters + (such as carriage returns) when using XML requests. For more + information, see [XML related object key + constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + tag: Tag | None = ... + """ + A container for specifying a tag key and value. + + The rule applies only to objects that have the tag in their tag set. + """ + and_: ReplicationRuleAndOperator | None = ... + """ + A container for specifying rule filters. The filters determine the + subset of objects to which the rule applies. This element is required + only if you specify more than one filter. For example: + + - If you specify both a `Prefix` and a `Tag` filter, wrap these filters + in an `And` tag. + + - If you specify a filter based on multiple tags, wrap the `Tag` + elements in an `And` tag. + """ + +class ReplicationRuleStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ReplicationStatus(UnknownEnumMixin, StrEnum): + COMPLETE = "COMPLETE" + PENDING = "PENDING" + FAILED = "FAILED" + REPLICA = "REPLICA" + COMPLETED = "COMPLETED" + +@dataclass(kw_only=True) +class ReplicationTime(_SerdeShape): + """ + A container specifying S3 Replication Time Control (S3 RTC) related + information, including whether S3 RTC is enabled and the time when all + objects and operations on objects must be replicated. Must be specified + together with a `Metrics` block. + """ + + status: str + """Specifies whether the replication time is enabled.""" + time: ReplicationTimeValue + """ + A container specifying the time by which replication should be complete + for all objects and operations on objects. + """ + +class ReplicationTimeStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +@dataclass(kw_only=True) +class ReplicationTimeValue(_SerdeShape): + """ + A container specifying the time value for S3 Replication Time Control + (S3 RTC) and replication metrics `EventThreshold`. + """ + + minutes: int | None = ... + """ + Contains an integer specifying time in minutes. + + Valid value: 15 + """ + +class RequestCharged(UnknownEnumMixin, StrEnum): + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + + REQUESTER = "requester" + +class RequestPayer(UnknownEnumMixin, StrEnum): + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + + REQUESTER = "requester" + +@dataclass(kw_only=True) +class RequestPaymentConfiguration(_SerdeShape): + """Container for Payer.""" + + payer: str + """Specifies who pays for the download and request fees.""" + +@dataclass(kw_only=True) +class RequestProgress(_SerdeShape): + """ + Container for specifying if periodic `QueryProgress` messages should be + sent. + """ + + enabled: bool | None = ... + """ + Specifies whether periodic QueryProgress frames should be sent. Valid + values: TRUE, FALSE. Default value: FALSE. + """ + +@dataclass(kw_only=True) +class RestoreObjectInput(_SerdeShape): + """Dataclass for RestoreObjectInput structure.""" + + bucket: str | None = ... + """ + The bucket name containing the object to restore. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """Object key for which the action was initiated.""" + version_id: str | None = ... + """VersionId used to reference a specific version of the object.""" + restore_request: RestoreRequest | None = ... + """Container for restore job parameters.""" + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class RestoreObjectOutput(_SerdeShape): + """Dataclass for RestoreObjectOutput structure.""" + + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + restore_output_path: str | None = ... + """ + Indicates the path in the provided S3 output location where Select + results will be restored to. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class RestoreRequest(_SerdeShape): + """Container for restore job parameters.""" + + days: int | None = ... + """ + Lifetime of the active copy in days. Do not use with restores that + specify `OutputLocation`. + + The Days element is required for regular restores, and must not be + provided for select requests. + """ + glacier_job_parameters: GlacierJobParameters | None = ... + """ + S3 Glacier related parameters pertaining to this job. Do not use with + restores that specify `OutputLocation`. + """ + type: str | None = ... + """ + Warning: + Amazon S3 Select is no longer available to new customers. Existing + customers of Amazon S3 Select can continue to use the feature as usual. + [Learn + more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) + + Type of restore request. + """ + tier: str | None = ... + """Retrieval tier at which the restore will be processed.""" + description: str | None = ... + """The optional description for the job.""" + select_parameters: SelectParameters | None = ... + """ + Warning: + Amazon S3 Select is no longer available to new customers. Existing + customers of Amazon S3 Select can continue to use the feature as usual. + [Learn + more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) + + Describes the parameters for Select job types. + """ + output_location: OutputLocation | None = ... + """Describes the location where the restore job's output is stored.""" + +class RestoreRequestType(UnknownEnumMixin, StrEnum): + SELECT = "SELECT" + +@dataclass(kw_only=True) +class RestoreStatus(_SerdeShape): + """ + Specifies the restoration status of an object. Objects in certain + storage classes must be restored before they can be retrieved. For more + information about these storage classes and how to work with archived + objects, see [Working with archived + objects](https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. Directory + buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone storage + class) in Availability Zones and `ONEZONE_IA` (the S3 One + Zone-Infrequent Access storage class) in Dedicated Local Zones. + """ + + is_restore_in_progress: bool | None = ... + """ + Specifies whether the object is currently being restored. If the object + restoration is in progress, the header returns the value `TRUE`. For + example: + + `x-amz-optional-object-attributes: IsRestoreInProgress="true"` + + If the object restoration has completed, the header returns the value + `FALSE`. For example: + + `x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"` + + If the object hasn't been restored, there is no header response. + """ + restore_expiry_date: datetime | None = ... + """ + Indicates when the restored copy will expire. This value is populated + only if the object has already been restored. For example: + + `x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"` + """ + +@dataclass(kw_only=True) +class RoutingRule(_SerdeShape): + """ + Specifies the redirect behavior and when a redirect is applied. For more + information about routing rules, see [Configuring advanced conditional + redirects](https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects) + in the *Amazon S3 User Guide*. + """ + + condition: Condition | None = ... + """ + A container for describing a condition that must be met for the + specified redirect to apply. For example, 1. If request is for pages in + the `/docs` folder, redirect to the `/documents` folder. 2. If request + results in HTTP error 4xx, redirect request to another host where you + might process the error. + """ + redirect: Redirect + """ + Container for redirect information. You can redirect requests to another + host, to another page, or with another protocol. In the event of an + error, you can specify a different error code to return. + """ + +@dataclass(kw_only=True) +class S3KeyFilter(_SerdeShape): + """A container for object key name prefix and suffix filtering rules.""" + + filter_rules: list[FilterRule] | None = ... + """ + A list of containers for the key-value pair that defines the criteria + for the filter rule. + """ + +@dataclass(kw_only=True) +class S3Location(_SerdeShape): + """ + Describes an Amazon S3 location that will receive the results of the + restore request. + """ + + bucket_name: str + """The name of the bucket where the restore results will be placed.""" + prefix: str + """The prefix that is prepended to the restore results for this request.""" + encryption: Encryption | None = ... + """Contains the type of server-side encryption used.""" + canned_acl: str | None = ... + """The canned ACL to apply to the restore results.""" + access_control_list: list[Grant] | None = ... + """A list of grants that control access to the staged results.""" + tagging: Tagging | None = ... + """The tag-set that is applied to the restore results.""" + user_metadata: list[MetadataEntry] | None = ... + """A list of metadata to store with the restore results in S3.""" + storage_class: str | None = ... + """The class of storage used to store the restore results.""" + +class S3TablesBucketType(UnknownEnumMixin, StrEnum): + AWS = "aws" + CUSTOMER = "customer" + +@dataclass(kw_only=True) +class S3TablesDestination(_SerdeShape): + """ + The destination information for a V1 S3 Metadata configuration. The + destination table bucket must be in the same Region and Amazon Web + Services account as the general purpose bucket. The specified metadata + table name must be unique within the `aws_s3_metadata` namespace in the + destination table bucket. + + Note: + If you created your S3 Metadata configuration before July 15, 2025, we + recommend that you delete and re-create your configuration by using + [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) + so that you can expire journal table records and create a live inventory + table. + """ + + table_bucket_arn: str + """ + The Amazon Resource Name (ARN) for the table bucket that's specified as + the destination in the metadata table configuration. The destination + table bucket must be in the same Region and Amazon Web Services account + as the general purpose bucket. + """ + table_name: str + """ + The name for the metadata table in your metadata table configuration. + The specified metadata table name must be unique within the + `aws_s3_metadata` namespace in the destination table bucket. + """ + +@dataclass(kw_only=True) +class S3TablesDestinationResult(_SerdeShape): + """ + The destination information for a V1 S3 Metadata configuration. The + destination table bucket must be in the same Region and Amazon Web + Services account as the general purpose bucket. The specified metadata + table name must be unique within the `aws_s3_metadata` namespace in the + destination table bucket. + + Note: + If you created your S3 Metadata configuration before July 15, 2025, we + recommend that you delete and re-create your configuration by using + [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) + so that you can expire journal table records and create a live inventory + table. + """ + + table_bucket_arn: str + """ + The Amazon Resource Name (ARN) for the table bucket that's specified as + the destination in the metadata table configuration. The destination + table bucket must be in the same Region and Amazon Web Services account + as the general purpose bucket. + """ + table_name: str + """ + The name for the metadata table in your metadata table configuration. + The specified metadata table name must be unique within the + `aws_s3_metadata` namespace in the destination table bucket. + """ + table_arn: str + """ + The Amazon Resource Name (ARN) for the metadata table in the metadata + table configuration. The specified metadata table name must be unique + within the `aws_s3_metadata` namespace in the destination table bucket. + """ + table_namespace: str + """ + The table bucket namespace for the metadata table in your metadata table + configuration. This value is always `aws_s3_metadata`. + """ + +@dataclass(kw_only=True) +class ScanRange(_SerdeShape): + """ + Specifies the byte range of the object to get the records from. A record + is processed when its first byte is contained by the range. This + parameter is optional, but when specified, it must not be empty. See RFC + 2616, Section 14.35.1 about how to specify the start and end of the + range. + """ + + start: int | None = ... + """ + Specifies the start of the byte range. This parameter is optional. Valid + values: non-negative integers. The default value is 0. If only `start` + is supplied, it means scan from that point to the end of the file. For + example, + ``{=html}``{=html}`50```{=html}``{=html} + means scan from byte 50 until the end of the file. + """ + end: int | None = ... + """ + Specifies the end of the byte range. This parameter is optional. Valid + values: non-negative integers. The default value is one less than the + size of the object being queried. If only the End parameter is supplied, + it is interpreted to mean scan the last N bytes of the file. For + example, + ``{=html}``{=html}`50```{=html}``{=html} + means scan the last 50 bytes. + """ + +@dataclass +class SelectObjectContentEventStreamRecords(_SerdeShape): + """The Records Event.""" + + value: RecordsEvent + +@dataclass +class SelectObjectContentEventStreamStats(_SerdeShape): + """The Stats Event.""" + + value: StatsEvent + +@dataclass +class SelectObjectContentEventStreamProgress(_SerdeShape): + """The Progress Event.""" + + value: ProgressEvent + +@dataclass +class SelectObjectContentEventStreamCont(_SerdeShape): + """The Continuation Event.""" + + value: ContinuationEvent + +@dataclass +class SelectObjectContentEventStreamEnd(_SerdeShape): + """The End Event.""" + + value: EndEvent + +@dataclass +class SelectObjectContentEventStreamUnknown(_SerdeShape): + """ + Represents an unknown variant. If you receive this value, you will need + to update your library to receive the parsed value. This value may not + be deliberately sent. + """ + + tag: str + +SelectObjectContentEventStream = Union[ + SelectObjectContentEventStreamRecords + | SelectObjectContentEventStreamStats + | SelectObjectContentEventStreamProgress + | SelectObjectContentEventStreamCont + | SelectObjectContentEventStreamEnd + | SelectObjectContentEventStreamUnknown +] +"""The container for selecting objects from a content event stream.""" + +class _SelectObjectContentEventStreamDeserializer: + def deserialize( + self, deserializer: ShapeDeserializer + ) -> SelectObjectContentEventStream: ... + +@dataclass(kw_only=True) +class SelectObjectContentInput(_SerdeShape): + """ + Note: + Learn Amazon S3 Select is no longer available to new customers. Existing + customers of Amazon S3 Select can continue to use the feature as usual. + [Learn + more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) + + Request to filter the contents of an Amazon S3 object based on a simple + Structured Query Language (SQL) statement. In the request, along with + the SQL expression, you must specify a data serialization format (JSON + or CSV) of the object. Amazon S3 uses this to parse object data into + records. It returns only records that match the specified SQL + expression. You must also specify the data serialization format for the + response. For more information, see [S3Select API + Documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html). + """ + + bucket: str | None = ... + """The S3 bucket.""" + key: str | None = ... + """The object key.""" + sse_customer_algorithm: str | None = ... + """ + The server-side encryption (SSE) algorithm used to encrypt the object. + This parameter is needed only when the object was created using a + checksum algorithm. For more information, see [Protecting data using + SSE-C + keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + """ + sse_customer_key: str | None = ... + """ + The server-side encryption (SSE) customer managed key. This parameter is + needed only when the object was created using a checksum algorithm. For + more information, see [Protecting data using SSE-C + keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + """ + sse_customer_key_md5: str | None = ... + """ + The MD5 server-side encryption (SSE) customer managed key. This + parameter is needed only when the object was created using a checksum + algorithm. For more information, see [Protecting data using SSE-C + keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) + in the *Amazon S3 User Guide*. + """ + expression: str | None = ... + """The expression that is used to query the object.""" + expression_type: str | None = ... + """The type of the provided expression (for example, SQL).""" + request_progress: RequestProgress | None = ... + """Specifies if periodic request progress information should be enabled.""" + input_serialization: InputSerialization | None = ... + """Describes the format of the data in the object that is being queried.""" + output_serialization: OutputSerialization | None = ... + """ + Describes the format of the data that you want Amazon S3 to return in + response. + """ + scan_range: ScanRange | None = ... + """ + Specifies the byte range of the object to get the records from. A record + is processed when its first byte is contained by the range. This + parameter is optional, but when specified, it must not be empty. See RFC + 2616, Section 14.35.1 about how to specify the start and end of the + range. + + `ScanRange`may be used in the following ways: + + - ``{=html}``{=html}`50```{=html}``{=html}`100```{=html}``{=html} - + process only the records starting between the bytes 50 and 100 + (inclusive, counting from zero) + + - ``{=html}``{=html}`50```{=html}``{=html} - + process only the records starting after the byte 50 + + - ``{=html}``{=html}`50```{=html}``{=html} - + process only the records within the last 50 bytes of the file. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class SelectObjectContentOutput(_SerdeShape): + """Dataclass for SelectObjectContentOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class SelectParameters(_SerdeShape): + """ + Warning: + Amazon S3 Select is no longer available to new customers. Existing + customers of Amazon S3 Select can continue to use the feature as usual. + [Learn + more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) + + Describes the parameters for Select job types. + + Learn [How to optimize querying your data in Amazon + S3](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) + using [Amazon + Athena](https://docs.aws.amazon.com/athena/latest/ug/what-is.html), [S3 + Object + Lambda](https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html), + or client-side filtering. + """ + + input_serialization: InputSerialization + """Describes the serialization format of the object.""" + expression_type: str + """The type of the provided expression (for example, SQL).""" + expression: str + """ + Warning: + Amazon S3 Select is no longer available to new customers. Existing + customers of Amazon S3 Select can continue to use the feature as usual. + [Learn + more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) + + The expression that is used to query the object. + """ + output_serialization: OutputSerialization + """Describes how the results of the Select job are serialized.""" + +class ServerSideEncryption(UnknownEnumMixin, StrEnum): + AES256 = "AES256" + AWS_FSX = "aws:fsx" + AWS_BACKUP = "aws:backup" + AWS_KMS = "aws:kms" + AWS_KMS_DSSE = "aws:kms:dsse" + +@dataclass(kw_only=True) +class ServerSideEncryptionByDefault(_SerdeShape): + """ + Describes the default server-side encryption to apply to new objects in + the bucket. If a PUT Object request doesn't specify any server-side + encryption, this default encryption will be applied. For more + information, see + [PutBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTencryption.html). + + Note: + - **General purpose buckets** - If you don't specify a customer managed + key at configuration, Amazon S3 automatically creates an Amazon Web + Services KMS key (`aws/s3`) in your Amazon Web Services account the + first time that you add an object encrypted with SSE-KMS to a bucket. + By default, Amazon S3 uses this KMS key for SSE-KMS. + + - **Directory buckets** - Your SSE-KMS configuration can only support 1 + [customer managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) + per directory bucket's lifetime. The [Amazon Web Services managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) + (`aws/s3`) isn't supported. + + - **Directory buckets** - For directory buckets, there are only two + supported options for server-side encryption: SSE-S3 and SSE-KMS. + """ + + sse_algorithm: str + """ + Server-side encryption algorithm to use for the default encryption. + + Note: + For directory buckets, there are only two supported values for + server-side encryption: `AES256` and `aws:kms`. + """ + kms_master_key_id: str | None = ... + """ + Amazon Web Services Key Management Service (KMS) customer managed key ID + to use for the default encryption. + + Note: + - **General purpose buckets** - This parameter is allowed if and only if + `SSEAlgorithm` is set to `aws:kms` or `aws:kms:dsse`. + + - **Directory buckets** - This parameter is allowed if and only if + `SSEAlgorithm` is set to `aws:kms`. + + You can specify the key ID, key alias, or the Amazon Resource Name (ARN) + of the KMS key. + + - Key ID: `1234abcd-12ab-34cd-56ef-1234567890ab` + + - Key ARN: + `arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` + + - Key Alias: `alias/alias-name` + + If you are using encryption with cross-account or Amazon Web Services + service operations, you must use a fully qualified KMS key ARN. For more + information, see [Using encryption for cross-account + operations](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy). + + Note: + - **General purpose buckets** - If you're specifying a customer managed + KMS key, we recommend using a fully qualified KMS key ARN. If you use + a KMS key alias instead, then KMS resolves the key within the + requester's account. This behavior can result in data that's + encrypted with a KMS key that belongs to the requester, and not the + bucket owner. Also, if you use a key ID, you can run into a + LogDestination undeliverable error when creating a VPC flow log. + + - **Directory buckets** - When you specify an [KMS customer managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) + for encryption in your directory bucket, only use the key ID or key + ARN. The key alias format of the KMS key isn't supported. + Warning: + Amazon S3 only supports symmetric encryption KMS keys. For more + information, see [Asymmetric keys in Amazon Web Services + KMS](https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) + in the *Amazon Web Services Key Management Service Developer Guide*. + """ + +@dataclass(kw_only=True) +class ServerSideEncryptionConfiguration(_SerdeShape): + """Specifies the default server-side-encryption configuration.""" + + rules: list[ServerSideEncryptionRule] + """ + Container for information about a particular server-side encryption + configuration rule. + """ + +@dataclass(kw_only=True) +class ServerSideEncryptionRule(_SerdeShape): + """ + Specifies the default server-side encryption configuration. + + Note: + - **General purpose buckets** - If you're specifying a customer managed + KMS key, we recommend using a fully qualified KMS key ARN. If you use + a KMS key alias instead, then KMS resolves the key within the + requester's account. This behavior can result in data that's + encrypted with a KMS key that belongs to the requester, and not the + bucket owner. + + - **Directory buckets** - When you specify an [KMS customer managed + key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) + for encryption in your directory bucket, only use the key ID or key + ARN. The key alias format of the KMS key isn't supported. + """ + + apply_server_side_encryption_by_default: ServerSideEncryptionByDefault | None = ... + """ + Specifies the default server-side encryption to apply to new objects in + the bucket. If a PUT Object request doesn't specify any server-side + encryption, this default encryption will be applied. + """ + bucket_key_enabled: bool | None = ... + """ + Specifies whether Amazon S3 should use an S3 Bucket Key with server-side + encryption using KMS (SSE-KMS) for new objects in the bucket. Existing + objects are not affected. Setting the `BucketKeyEnabled` element to + `true` causes Amazon S3 to use an S3 Bucket Key. + + Note: + - **General purpose buckets** - By default, S3 Bucket Key is not + enabled. For more information, see [Amazon S3 Bucket + Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) + in the *Amazon S3 User Guide*. + + - **Directory buckets** - S3 Bucket Keys are always enabled for `GET` + and `PUT` operations in a directory bucket and can't be disabled. S3 + Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects + from general purpose buckets to directory buckets, from directory + buckets to general purpose buckets, or between directory buckets, + through + [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), + [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html), + [the Copy operation in Batch + Operations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops), + or [the import + jobs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job). + In this case, Amazon S3 makes a call to KMS every time a copy request + is made for a KMS-encrypted object. + """ + blocked_encryption_types: BlockedEncryptionTypes | None = ... + """ + A bucket-level setting for Amazon S3 general purpose buckets used to + prevent the upload of new objects encrypted with the specified + server-side encryption type. For example, blocking an encryption type + will block `PutObject`, `CopyObject`, `PostObject`, multipart upload, + and replication requests to the bucket for objects with the specified + encryption type. However, you can continue to read and list any + pre-existing objects already encrypted with the specified encryption + type. For more information, see [Blocking or unblocking SSE-C for a + general purpose + bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html). + + Note: + Currently, this parameter only supports blocking or unblocking + server-side encryption with customer-provided keys (SSE-C). For more + information about SSE-C, see [Using server-side encryption with + customer-provided keys + (SSE-C)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html). + """ + +@dataclass(kw_only=True) +class SessionCredentials(_SerdeShape): + """ + The established temporary security credentials of the session. + + Note: + **Directory buckets** - These session credentials are only supported for + the authentication and authorization of Zonal endpoint API operations on + directory buckets. + """ + + access_key_id: str + """ + A unique identifier that's associated with a secret access key. The + access key ID and the secret access key are used together to sign + programmatic Amazon Web Services requests cryptographically. + """ + secret_access_key: str + """ + A key that's used with the access key ID to cryptographically sign + programmatic Amazon Web Services requests. Signing a request identifies + the sender and prevents the request from being altered. + """ + session_token: str + """ + A part of the temporary security credentials. The session token is used + to validate the temporary security credentials. + """ + expiration: datetime + """ + Temporary security credentials expire after a specified interval. After + temporary credentials expire, any calls that you make with those + credentials will fail. So you must generate a new set of temporary + credentials. Temporary credentials cannot be extended or refreshed + beyond the original specified interval. + """ + +class SessionMode(UnknownEnumMixin, StrEnum): + READ_ONLY = "ReadOnly" + READ_WRITE = "ReadWrite" + +@dataclass(kw_only=True) +class SimplePrefix(_SerdeShape): + """ + To use simple format for S3 keys for log objects, set SimplePrefix to an + empty object. + + `[DestinationPrefix][YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]` + """ + +@dataclass(kw_only=True) +class SourceSelectionCriteria(_SerdeShape): + """ + A container that describes additional filters for identifying the source + objects that you want to replicate. You can choose to enable or disable + the replication of these objects. Currently, Amazon S3 supports only the + filter that you can specify for objects created with server-side + encryption using a customer managed key stored in Amazon Web Services + Key Management Service (SSE-KMS). + """ + + sse_kms_encrypted_objects: SseKmsEncryptedObjects | None = ... + """ + A container for filter information for the selection of Amazon S3 + objects encrypted with Amazon Web Services KMS. If you include + `SourceSelectionCriteria` in the replication configuration, this element + is required. + """ + replica_modifications: ReplicaModifications | None = ... + """ + A filter that you can specify for selections for modifications on + replicas. Amazon S3 doesn't replicate replica modifications by default. + In the latest version of replication configuration (when `Filter` is + specified), you can specify this element and set the status to `Enabled` + to replicate modifications on replicas. + + Note: + If you don't specify the `Filter` element, Amazon S3 assumes that the + replication configuration is the earlier version, V1. In the earlier + version, this element is not allowed + """ + +@dataclass(kw_only=True) +class SSEKMS(_SerdeShape): + """Specifies the use of SSE-KMS to encrypt delivered inventory reports.""" + + key_id: str + """ + Specifies the ID of the Key Management Service (KMS) symmetric + encryption customer managed key to use for encrypting inventory reports. + """ + +@dataclass(kw_only=True) +class SseKmsEncryptedObjects(_SerdeShape): + """ + A container for filter information for the selection of S3 objects + encrypted with Amazon Web Services KMS. + """ + + status: str + """ + Specifies whether Amazon S3 replicates objects created with server-side + encryption using an Amazon Web Services KMS key stored in Amazon Web + Services Key Management Service. + """ + +class SseKmsEncryptedObjectsStatus(UnknownEnumMixin, StrEnum): + ENABLED = "Enabled" + DISABLED = "Disabled" + +@dataclass(kw_only=True) +class SSEKMSEncryption(_SerdeShape): + """ + If `SSEKMS` is specified for `ObjectEncryption`, this data type + specifies the Amazon Web Services KMS key Amazon Resource Name (ARN) to + use and whether to use an S3 Bucket Key for server-side encryption using + Key Management Service (KMS) keys (SSE-KMS). + """ + + kms_key_arn: str + """ + Specifies the Amazon Web Services KMS key Amazon Resource Name (ARN) to + use for the updated server-side encryption type. Required if + `ObjectEncryption` specifies `SSEKMS`. + + Note: + You must specify the full Amazon Web Services KMS key ARN. The KMS key + ID and KMS key alias aren't supported. + + Pattern: (`arn:aws[-a-z0-9]*:kms:[-a-z0-9]*:[0-9]{12}:key/.+`) + """ + bucket_key_enabled: bool | None = ... + """ + Specifies whether Amazon S3 should use an S3 Bucket Key for object + encryption with server-side encryption using Key Management Service + (KMS) keys (SSE-KMS). If this value isn't specified, it defaults to + `false`. Setting this value to `true` causes Amazon S3 to use an S3 + Bucket Key for object encryption with SSE-KMS. For more information, see + [Using Amazon S3 Bucket + Keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html) + in the *Amazon S3 User Guide*. + + Valid Values: `true` | `false` + """ + +@dataclass(kw_only=True) +class SSES3(_SerdeShape): + """Specifies the use of SSE-S3 to encrypt delivered inventory reports.""" + +@dataclass(kw_only=True) +class Stats(_SerdeShape): + """Container for the stats details.""" + + bytes_scanned: int | None = ... + """The total number of object bytes scanned.""" + bytes_processed: int | None = ... + """The total number of uncompressed object bytes processed.""" + bytes_returned: int | None = ... + """The total number of bytes of records payload data returned.""" + +@dataclass(kw_only=True) +class StatsEvent(_SerdeShape): + """Container for the Stats Event.""" + + details: Stats | None = ... + """The Stats event details.""" + +class StorageClass(UnknownEnumMixin, StrEnum): + STANDARD = "STANDARD" + REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY" + STANDARD_IA = "STANDARD_IA" + ONEZONE_IA = "ONEZONE_IA" + INTELLIGENT_TIERING = "INTELLIGENT_TIERING" + GLACIER = "GLACIER" + DEEP_ARCHIVE = "DEEP_ARCHIVE" + OUTPOSTS = "OUTPOSTS" + GLACIER_IR = "GLACIER_IR" + SNOW = "SNOW" + EXPRESS_ONEZONE = "EXPRESS_ONEZONE" + FSX_OPENZFS = "FSX_OPENZFS" + FSX_ONTAP = "FSX_ONTAP" + AWS_BACKUP_WARM = "AWS_BACKUP_WARM" + AWS_BACKUP_LOW_COST_WARM = "AWS_BACKUP_LOW_COST_WARM" + +@dataclass(kw_only=True) +class StorageClassAnalysis(_SerdeShape): + """ + Specifies data related to access patterns to be collected and made + available to analyze the tradeoffs between different storage classes for + an Amazon S3 bucket. + """ + + data_export: StorageClassAnalysisDataExport | None = ... + """ + Specifies how data related to the storage class analysis for an Amazon + S3 bucket should be exported. + """ + +@dataclass(kw_only=True) +class StorageClassAnalysisDataExport(_SerdeShape): + """ + Container for data related to the storage class analysis for an Amazon + S3 bucket for export. + """ + + output_schema_version: str + """ + The version of the output schema to use when exporting data. Must be + `V_1`. + """ + destination: AnalyticsExportDestination + """The place to store the data for an analysis.""" + +class StorageClassAnalysisSchemaVersion(UnknownEnumMixin, StrEnum): + V_1 = "V_1" + +class TableSseAlgorithm(UnknownEnumMixin, StrEnum): + AWS_KMS = "aws:kms" + AES256 = "AES256" + +@dataclass(kw_only=True) +class Tag(_SerdeShape): + """A container of a key value name pair.""" + + key: str + """Name of the object key.""" + value: str + """Value of the tag.""" + +@dataclass(kw_only=True) +class Tagging(_SerdeShape): + """Container for `TagSet` elements.""" + + tag_set: list[Tag] + """A collection for a set of tags""" + +class TaggingDirective(UnknownEnumMixin, StrEnum): + COPY = "COPY" + REPLACE = "REPLACE" + +@dataclass(kw_only=True) +class TargetGrant(_SerdeShape): + """ + Container for granting information. + + Buckets that use the bucket owner enforced setting for Object Ownership + don't support target grants. For more information, see [Permissions + server access log + delivery](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general) + in the *Amazon S3 User Guide*. + """ + + grantee: Grantee | None = ... + """Container for the person being granted permissions.""" + permission: str | None = ... + """Logging permissions assigned to the grantee for the bucket.""" + +@dataclass(kw_only=True) +class TargetObjectKeyFormat(_SerdeShape): + """ + Amazon S3 key format for log objects. Only one format, PartitionedPrefix + or SimplePrefix, is allowed. + """ + + simple_prefix: SimplePrefix | None = ... + """ + To use the simple format for S3 keys for log objects. To specify + SimplePrefix format, set SimplePrefix to {}. + """ + partitioned_prefix: PartitionedPrefix | None = ... + """Partitioned S3 key for log objects.""" + +class Tier(UnknownEnumMixin, StrEnum): + STANDARD = "Standard" + BULK = "Bulk" + EXPEDITED = "Expedited" + +@dataclass(kw_only=True) +class Tiering(_SerdeShape): + """ + The S3 Intelligent-Tiering storage class is designed to optimize storage + costs by automatically moving data to the most cost-effective storage + access tier, without additional operational overhead. + """ + + days: int + """ + The number of consecutive days of no access after which an object will + be eligible to be transitioned to the corresponding tier. The minimum + number of days specified for Archive Access tier must be at least 90 + days and Deep Archive Access tier must be at least 180 days. The maximum + can be up to 2 years (730 days). + """ + access_tier: str + """ + S3 Intelligent-Tiering access tier. See [Storage class for automatically + optimizing frequently and infrequently accessed + objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access) + for a list of access tiers in the S3 Intelligent-Tiering storage class. + """ + +@dataclass(kw_only=True) +class TooManyParts(ServiceError, _SerdeShape): + """ + You have attempted to add more parts than the maximum of 10000 that are + allowed for this object. You can use the CopyObject operation to copy + this object to another and then add more data to the newly copied + object. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class TopicConfiguration(_SerdeShape): + """ + A container for specifying the configuration for publication of messages + to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon + S3 detects specified events. + """ + + id: str | None = ... + """ + An optional unique identifier for configurations in a notification + configuration. If you don't provide one, Amazon S3 will assign an ID. + """ + topic_arn: str + """ + The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon + S3 publishes a message when it detects events of the specified type. + """ + events: list[str] + """ + The Amazon S3 bucket event about which to send notifications. For more + information, see [Supported Event + Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) + in the *Amazon S3 User Guide*. + """ + filter: NotificationConfigurationFilter | None = ... + """ + Specifies object key name filtering rules. For information about key + name filtering, see [Configuring event notifications using object key + name + filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) + in the *Amazon S3 User Guide*. + """ + +@dataclass(kw_only=True) +class Transition(_SerdeShape): + """ + Specifies when an object transitions to a specified storage class. For + more information about Amazon S3 lifecycle configuration rules, see + [Transitioning Objects Using Amazon S3 + Lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html) + in the *Amazon S3 User Guide*. + """ + + date: datetime | None = ... + """ + Indicates when objects are transitioned to the specified storage class. + The date value must be in ISO 8601 format. The time is always midnight + UTC. + """ + days: int | None = ... + """ + Indicates the number of days after creation when objects are + transitioned to the specified storage class. The value can be `0` or any + positive integer. Be aware that some storage classes have a minimum + storage duration and that you're charged for transitioning objects + before their minimum storage duration. For more information, see + [Constraints and considerations for + transitions](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html#lifecycle-configuration-constraints) + in the *Amazon S3 User Guide*. + """ + storage_class: str | None = ... + """The storage class to which you want the object to transition.""" + +class TransitionDefaultMinimumObjectSize(UnknownEnumMixin, StrEnum): + VARIES_BY_STORAGE_CLASS = "varies_by_storage_class" + ALL_STORAGE_CLASSES_128_K = "all_storage_classes_128K" + +class TransitionStorageClass(UnknownEnumMixin, StrEnum): + GLACIER = "GLACIER" + STANDARD_IA = "STANDARD_IA" + ONEZONE_IA = "ONEZONE_IA" + INTELLIGENT_TIERING = "INTELLIGENT_TIERING" + DEEP_ARCHIVE = "DEEP_ARCHIVE" + GLACIER_IR = "GLACIER_IR" + +class Type(UnknownEnumMixin, StrEnum): + CANONICAL_USER = "CanonicalUser" + AMAZON_CUSTOMER_BY_EMAIL = "AmazonCustomerByEmail" + GROUP = "Group" + +@dataclass(kw_only=True) +class UnsupportedMediaType(ServiceError, _SerdeShape): + """The annotation payload is not valid UTF-8 encoded text.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateBucketMetadataAnnotationTableConfigurationInput(_SerdeShape): + """ + Dataclass for UpdateBucketMetadataAnnotationTableConfigurationInput + structure. + """ + + bucket: str | None = ... + """The name of the bucket whose annotation table configuration to update.""" + content_md5: str | None = ... + """Base64-encoded MD5 digest of the message body.""" + checksum_algorithm: str | None = ... + """Checksum algorithm for the request payload.""" + annotation_table_configuration: AnnotationTableConfigurationUpdates | None = ... + """The annotation table configuration updates to apply.""" + expected_bucket_owner: str | None = ... + """The account ID of the expected bucket owner.""" + +@dataclass(kw_only=True) +class UpdateBucketMetadataAnnotationTableConfigurationOutput(_SerdeShape): + """ + Dataclass for UpdateBucketMetadataAnnotationTableConfigurationOutput + structure. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateBucketMetadataInventoryTableConfigurationInput(_SerdeShape): + """ + Dataclass for UpdateBucketMetadataInventoryTableConfigurationInput + structure. + """ + + bucket: str | None = ... + """ + The general purpose bucket that corresponds to the metadata + configuration that you want to enable or disable an inventory table for. + """ + content_md5: str | None = ... + """The `Content-MD5` header for the inventory table configuration.""" + checksum_algorithm: str | None = ... + """The checksum algorithm to use with your inventory table configuration.""" + inventory_table_configuration: InventoryTableConfigurationUpdates | None = ... + """The contents of your inventory table configuration.""" + expected_bucket_owner: str | None = ... + """ + The expected owner of the general purpose bucket that corresponds to the + metadata table configuration that you want to enable or disable an + inventory table for. + """ + +@dataclass(kw_only=True) +class UpdateBucketMetadataInventoryTableConfigurationOutput(_SerdeShape): + """ + Dataclass for UpdateBucketMetadataInventoryTableConfigurationOutput + structure. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateBucketMetadataJournalTableConfigurationInput(_SerdeShape): + """ + Dataclass for UpdateBucketMetadataJournalTableConfigurationInput + structure. + """ + + bucket: str | None = ... + """ + The general purpose bucket that corresponds to the metadata + configuration that you want to enable or disable journal table record + expiration for. + """ + content_md5: str | None = ... + """The `Content-MD5` header for the journal table configuration.""" + checksum_algorithm: str | None = ... + """The checksum algorithm to use with your journal table configuration.""" + journal_table_configuration: JournalTableConfigurationUpdates | None = ... + """The contents of your journal table configuration.""" + expected_bucket_owner: str | None = ... + """ + The expected owner of the general purpose bucket that corresponds to the + metadata table configuration that you want to enable or disable journal + table record expiration for. + """ + +@dataclass(kw_only=True) +class UpdateBucketMetadataJournalTableConfigurationOutput(_SerdeShape): + """ + Dataclass for UpdateBucketMetadataJournalTableConfigurationOutput + structure. + """ + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UpdateObjectEncryptionInput(_SerdeShape): + """Dataclass for UpdateObjectEncryptionInput structure.""" + + bucket: str | None = ... + """ + The name of the general purpose bucket that contains the specified + object key name. + + When you use this operation with an access point attached to a general + purpose bucket, you must either provide the alias of the access point in + place of the bucket name or you must specify the access point Amazon + Resource Name (ARN). When using the access point ARN, you must direct + requests to the access point hostname. The access point hostname takes + the form + ` `*`AccessPointName`*`-`*`AccountId`*`.s3-accesspoint.`*`Region`*`.amazonaws.com`. + When using this operation with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Referencing + access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-naming.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """ + The key name of the object that you want to update the server-side + encryption type for. + """ + version_id: str | None = ... + """ + The version ID of the object that you want to update the server-side + encryption type for. + """ + object_encryption: ObjectEncryption | None = ... + """ + The updated server-side encryption type for this object. The + `UpdateObjectEncryption` operation supports the SSE-S3 and SSE-KMS + encryption types. + + Valid Values: `SSES3` | `SSEKMS` + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide doesn't match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + content_md5: str | None = ... + """ + The MD5 hash for the request body. For requests made using the Amazon + Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, + this field is calculated automatically. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use an Amazon Web Services SDK. This header doesn't provide any + additional functionality if you don't use the SDK. When you send this + header, there must be a corresponding `x-amz-checksum` or + `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request with + the HTTP status code `400 Bad Request`. For more information, see + [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + """ + +@dataclass(kw_only=True) +class UpdateObjectEncryptionOutput(_SerdeShape): + """Dataclass for UpdateObjectEncryptionOutput structure.""" + + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UploadPartCopyInput(_SerdeShape): + """Dataclass for UploadPartCopyInput structure.""" + + bucket: str | None = ... + """ + The bucket name. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + Note: + Copying objects across different Amazon Web Services Regions isn't + supported when the source or destination bucket is in Amazon Web + Services Local Zones. The source and destination buckets must have the + same parent Amazon Web Services Region. Otherwise, you get an HTTP + `400 Bad Request` error with the error code `InvalidRequest`. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + copy_source: str | None = ... + """ + Specifies the source object for the copy operation. You specify the + value in one of two formats, depending on whether you want to access the + source object through an [access + point](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html): + + - For objects not accessed through an access point, specify the name of + the source bucket and key of the source object, separated by a slash + (/). For example, to copy the object `reports/january.pdf` from the + bucket `awsexamplebucket`, use `awsexamplebucket/reports/january.pdf`. + The value must be URL-encoded. + + - For objects accessed through access points, specify the Amazon + Resource Name (ARN) of the object as accessed through the access + point, in the format + `arn:aws:s3:```{=html}`:```{=html}`:accesspoint/```{=html}`/object/```{=html}. + For example, to copy the object `reports/january.pdf` through access + point `my-access-point` owned by account `123456789012` in Region + `us-west-2`, use the URL encoding of + `arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf`. + The value must be URL encoded. + + Note: + - Amazon S3 supports copy operations using Access points only when the + source and destination buckets are in the same Amazon Web Services + Region. + + - Access points are not supported by directory buckets. + + Alternatively, for objects accessed through Amazon S3 on Outposts, + specify the ARN of the object as accessed in the format + `arn:aws:s3-outposts:```{=html}`:```{=html}`:outpost/```{=html}`/object/```{=html}. + For example, to copy the object `reports/january.pdf` through outpost + `my-outpost` owned by account `123456789012` in Region `us-west-2`, + use the URL encoding of + `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`. + The value must be URL-encoded. + + If your bucket has versioning enabled, you could have multiple versions + of the same object. By default, `x-amz-copy-source` identifies the + current version of the source object to copy. To copy a specific version + of the source object to copy, append `?versionId=```{=html} + to the `x-amz-copy-source` request header (for example, + `x-amz-copy-source: /awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893`). + + If the current version is a delete marker and you don't specify a + versionId in the `x-amz-copy-source` request header, Amazon S3 returns a + `404 Not Found` error, because the object does not exist. If you specify + versionId in the `x-amz-copy-source` and the versionId is a delete + marker, Amazon S3 returns an HTTP `400 Bad Request` error, because you + are not allowed to specify a delete marker as a version for the + `x-amz-copy-source`. + + Note: + **Directory buckets** - S3 Versioning isn't enabled and supported for + directory buckets. + """ + copy_source_if_match: str | None = ... + """ + Copies the object if its entity tag (ETag) matches the specified tag. + + If both of the `x-amz-copy-source-if-match` and + `x-amz-copy-source-if-unmodified-since` headers are present in the + request as follows: + + `x-amz-copy-source-if-match` condition evaluates to `true`, and; + + `x-amz-copy-source-if-unmodified-since` condition evaluates to `false`; + + Amazon S3 returns `200 OK` and copies the data. + """ + copy_source_if_modified_since: datetime | None = ... + """ + Copies the object if it has been modified since the specified time. + + If both of the `x-amz-copy-source-if-none-match` and + `x-amz-copy-source-if-modified-since` headers are present in the request + as follows: + + `x-amz-copy-source-if-none-match` condition evaluates to `false`, and; + + `x-amz-copy-source-if-modified-since` condition evaluates to `true`; + + Amazon S3 returns `412 Precondition Failed` response code. + """ + copy_source_if_none_match: str | None = ... + """ + Copies the object if its entity tag (ETag) is different than the + specified ETag. + + If both of the `x-amz-copy-source-if-none-match` and + `x-amz-copy-source-if-modified-since` headers are present in the request + as follows: + + `x-amz-copy-source-if-none-match` condition evaluates to `false`, and; + + `x-amz-copy-source-if-modified-since` condition evaluates to `true`; + + Amazon S3 returns `412 Precondition Failed` response code. + """ + copy_source_if_unmodified_since: datetime | None = ... + """ + Copies the object if it hasn't been modified since the specified time. + + If both of the `x-amz-copy-source-if-match` and + `x-amz-copy-source-if-unmodified-since` headers are present in the + request as follows: + + `x-amz-copy-source-if-match` condition evaluates to `true`, and; + + `x-amz-copy-source-if-unmodified-since` condition evaluates to `false`; + + Amazon S3 returns `200 OK` and copies the data. + """ + copy_source_range: str | None = ... + """ + The range of bytes to copy from the source object. The range value must + use the form bytes=first-last, where the first and last are the + zero-based byte offsets to copy. For example, bytes=0-9 indicates that + you want to copy the first 10 bytes of the source. You can copy a range + only if the source object is greater than 5 MB. + """ + key: str | None = ... + """Object key for which the multipart upload was initiated.""" + part_number: int | None = ... + """ + Part number of part being copied. This is a positive integer between 1 + and 10,000. + """ + upload_id: str | None = ... + """Upload ID identifying the multipart upload whose part is being copied.""" + sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when encrypting the object (for example, + AES256). + + Note: + This functionality is not supported when the destination bucket is a + directory bucket. + """ + sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key for Amazon S3 to use in + encrypting data. This value is used to store the object and then it is + discarded; Amazon S3 does not store the encryption key. The key must be + appropriate for use with the algorithm specified in the + `x-amz-server-side-encryption-customer-algorithm` header. This must be + the same encryption key specified in the initiate multipart upload + request. + + Note: + This functionality is not supported when the destination bucket is a + directory bucket. + """ + sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the encryption key according to RFC + 1321. Amazon S3 uses this header for a message integrity check to ensure + that the encryption key was transmitted without error. + + Note: + This functionality is not supported when the destination bucket is a + directory bucket. + """ + copy_source_sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when decrypting the source object (for + example, `AES256`). + + Note: + This functionality is not supported when the source object is in a + directory bucket. + """ + copy_source_sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key for Amazon S3 to use to + decrypt the source object. The encryption key provided in this header + must be one that was used when the source object was created. + + Note: + This functionality is not supported when the source object is in a + directory bucket. + """ + copy_source_sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the encryption key according to RFC + 1321. Amazon S3 uses this header for a message integrity check to ensure + that the encryption key was transmitted without error. + + Note: + This functionality is not supported when the source object is in a + directory bucket. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected destination bucket owner. If the account + ID that you provide does not match the actual owner of the destination + bucket, the request fails with the HTTP status code `403 Forbidden` + (access denied). + """ + expected_source_bucket_owner: str | None = ... + """ + The account ID of the expected source bucket owner. If the account ID + that you provide does not match the actual owner of the source bucket, + the request fails with the HTTP status code `403 Forbidden` (access + denied). + """ + +@dataclass(kw_only=True) +class UploadPartCopyOutput(_SerdeShape): + """Dataclass for UploadPartCopyOutput structure.""" + + copy_source_version_id: str | None = ... + """ + The version of the source object that was copied, if you have enabled + versioning on the source bucket. + + Note: + This functionality is not supported when the source object is in a + directory bucket. + """ + copy_part_result: CopyPartResult | None = ... + """Container for all response elements.""" + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when you store this object in + Amazon S3 or Amazon FSx. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + sse_customer_algorithm: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to confirm the + encryption algorithm that's used. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to provide the + round-trip message integrity verification of the customer-provided + encryption key. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + If present, indicates the ID of the KMS key that was used for object + encryption. + """ + bucket_key_enabled: bool | None = ... + """ + Indicates whether the multipart upload uses an S3 Bucket Key for + server-side encryption with Key Management Service (KMS) keys (SSE-KMS). + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class UploadPartInput(_SerdeShape): + """Dataclass for UploadPartInput structure.""" + + body: StreamingBlob = ... + """Object data.""" + bucket: str | None = ... + """ + The name of the bucket to which the multipart upload was initiated. + + **Directory buckets** - When you use this operation with a directory + bucket, you must use virtual-hosted-style requests in the format + ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. + Path-style requests are not supported. Directory bucket names must be + unique in the chosen Zone (Availability Zone or Local Zone). Bucket + names must follow the format + ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, + ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information + about bucket naming restrictions, see [Directory bucket naming + rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) + in the *Amazon S3 User Guide*. + + **Access points** - When you use this action with an access point for + general purpose buckets, you must provide the alias of the access point + in place of the bucket name or specify the access point ARN. When you + use this action with an access point for directory buckets, you must + provide the access point name in place of the bucket name. When using + the access point ARN, you must direct requests to the access point + hostname. The access point hostname takes the form + *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. + When using this action with an access point through the Amazon Web + Services SDKs, you provide the access point ARN in place of the bucket + name. For more information about access point ARNs, see [Using access + points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) + in the *Amazon S3 User Guide*. + + Note: + Object Lambda access points are not supported by directory buckets. + + **S3 on Outposts** - When you use this action with S3 on Outposts, you + must direct requests to the S3 on Outposts hostname. The S3 on Outposts + hostname takes the form + ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. + When you use this action with S3 on Outposts, the destination bucket + must be the Outposts access point ARN or the access point alias. For + more information about S3 on Outposts, see [What is S3 on + Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) + in the *Amazon S3 User Guide*. + """ + content_length: int | None = ... + """ + Size of the body in bytes. This parameter is useful when the size of the + body cannot be determined automatically. + """ + content_md5: str | None = ... + """ + The Base64 encoded 128-bit MD5 digest of the part data. This parameter + is auto-populated when using the command from the CLI. This parameter is + required if object lock parameters are specified. + + Note: + This functionality is not supported for directory buckets. + """ + checksum_algorithm: str | None = ... + """ + Indicates the algorithm used to create the checksum for the object when + you use the SDK. This header will not provide any additional + functionality if you don't use the SDK. When you send this header, + there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header + sent. Otherwise, Amazon S3 fails the request with the HTTP status code + `400 Bad Request`. For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + If you provide an individual checksum, Amazon S3 ignores any provided + `ChecksumAlgorithm` parameter. + + This checksum algorithm must be the same for all parts and it match the + checksum value supplied in the `CreateMultipartUpload` request. + """ + checksum_crc32: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha1: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 512-bit `SHA512` digest of the part. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_md5: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 128-bit `MD5` digest of the part. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash64: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `XXHASH64` checksum of the part. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash3: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `XXHASH3` checksum of the part. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash128: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 128-bit `XXHASH128` checksum of the part. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + key: str | None = ... + """Object key for which the multipart upload was initiated.""" + part_number: int | None = ... + """ + Part number of part being uploaded. This is a positive integer between 1 + and 10,000. + """ + upload_id: str | None = ... + """Upload ID identifying the multipart upload whose part is being uploaded.""" + sse_customer_algorithm: str | None = ... + """ + Specifies the algorithm to use when encrypting the object (for example, + AES256). + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key: str | None = ... + """ + Specifies the customer-provided encryption key for Amazon S3 to use in + encrypting data. This value is used to store the object and then it is + discarded; Amazon S3 does not store the encryption key. The key must be + appropriate for use with the algorithm specified in the + `x-amz-server-side-encryption-customer-algorithm header`. This must be + the same encryption key specified in the initiate multipart upload + request. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + Specifies the 128-bit MD5 digest of the encryption key according to RFC + 1321. Amazon S3 uses this header for a message integrity check to ensure + that the encryption key was transmitted without error. + + Note: + This functionality is not supported for directory buckets. + """ + request_payer: str | None = ... + """ + Confirms that the requester knows that they will be charged for the + request. Bucket owners need not specify this parameter in their + requests. If either the source or destination S3 bucket has Requester + Pays enabled, the requester will pay for the corresponding charges. For + information about downloading objects from Requester Pays buckets, see + [Downloading Objects in Requester Pays + Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) + in the *Amazon S3 User Guide*. + + Note: + This functionality is not supported for directory buckets. + """ + expected_bucket_owner: str | None = ... + """ + The account ID of the expected bucket owner. If the account ID that you + provide does not match the actual owner of the bucket, the request fails + with the HTTP status code `403 Forbidden` (access denied). + """ + +@dataclass(kw_only=True) +class UploadPartOutput(_SerdeShape): + """Dataclass for UploadPartOutput structure.""" + + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when you store this object in + Amazon S3 or Amazon FSx. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + e_tag: str | None = ... + """Entity tag for the uploaded object.""" + checksum_crc32: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32` checksum of the part. This will only + be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc32_c: str | None = ... + """ + The Base64 encoded, 32-bit `CRC32C` checksum of the part. This will only + be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_crc64_nvme: str | None = ... + """ + The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This will + only be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha1: str | None = ... + """ + The Base64 encoded, 160-bit `SHA1` checksum of the part. This will only + be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha256: str | None = ... + """ + The Base64 encoded, 256-bit `SHA256` checksum of the part. This will + only be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha512: str | None = ... + """ + The Base64 encoded, 512-bit `SHA512` checksum of the part. This will + only be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_md5: str | None = ... + """ + The Base64 encoded, 128-bit `MD5` checksum of the part. This will only + be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash64: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This will + only be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash3: str | None = ... + """ + The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This will + only be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash128: str | None = ... + """ + The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This will + only be present if the checksum was provided in the request. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + sse_customer_algorithm: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to confirm the + encryption algorithm that's used. + + Note: + This functionality is not supported for directory buckets. + """ + sse_customer_key_md5: str | None = ... + """ + If server-side encryption with a customer-provided encryption key was + requested, the response will include this header to provide the + round-trip message integrity verification of the customer-provided + encryption key. + + Note: + This functionality is not supported for directory buckets. + """ + ssekms_key_id: str | None = ... + """ + If present, indicates the ID of the KMS key that was used for object + encryption. + """ + bucket_key_enabled: bool | None = ... + """ + Indicates whether the multipart upload uses an S3 Bucket Key for + server-side encryption with Key Management Service (KMS) keys (SSE-KMS). + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ + +@dataclass(kw_only=True) +class VersioningConfiguration(_SerdeShape): + """ + Describes the versioning state of an Amazon S3 bucket. For more + information, see [PUT Bucket + versioning](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html) + in the *Amazon S3 API Reference*. + """ + + mfa_delete: str | None = ... + """ + Specifies whether MFA delete is enabled in the bucket versioning + configuration. This element is only returned if the bucket has been + configured with MFA delete. If the bucket has never been so configured, + this element is not returned. + """ + status: str | None = ... + """The versioning state of the bucket.""" + +@dataclass(kw_only=True) +class WebsiteConfiguration(_SerdeShape): + """Specifies website configuration parameters for an Amazon S3 bucket.""" + + error_document: ErrorDocument | None = ... + """The name of the error document for the website.""" + index_document: IndexDocument | None = ... + """The name of the index document for the website.""" + redirect_all_requests_to: RedirectAllRequestsTo | None = ... + """ + The redirect behavior for every request to this bucket's website + endpoint. + + Warning: + If you specify this property, you can't specify any other property. + """ + routing_rules: list[RoutingRule] | None = ... + """Rules that define when a redirect is applied and the redirect behavior.""" + +@dataclass(kw_only=True) +class WriteGetObjectResponseInput(_SerdeShape): + """Dataclass for WriteGetObjectResponseInput structure.""" + + request_route: str | None = ... + """Route prefix to the HTTP URL generated.""" + request_token: str | None = ... + """ + A single use encrypted token that maps `WriteGetObjectResponse` to the + end user `GetObject` request. + """ + body: StreamingBlob = ... + """The object data.""" + status_code: int | None = ... + """ + The integer status code for an HTTP response of a corresponding + `GetObject` request. The following is a list of status codes. + + - `200 - OK` + + - `206 - Partial Content` + + - `304 - Not Modified` + + - `400 - Bad Request` + + - `401 - Unauthorized` + + - `403 - Forbidden` + + - `404 - Not Found` + + - `405 - Method Not Allowed` + + - `409 - Conflict` + + - `411 - Length Required` + + - `412 - Precondition Failed` + + - `416 - Range Not Satisfiable` + + - `500 - Internal Server Error` + + - `503 - Service Unavailable` + """ + error_code: str | None = ... + """ +

+ A string that uniquely identifies an error condition. Returned in the + + tag of the error XML response for a corresponding `GetObject` call. + Cannot be used with a successful `StatusCode` header or when the + transformed object is provided in the body. All error codes from S3 are + sentence-cased. The regular expression (regex) value is + `"^[A-Z][a-zA-Z]+$"`. +

+ """ + error_message: str | None = ... + """ + Contains a generic description of the error condition. Returned in the + ``{=html} tag of the error XML response for a corresponding + `GetObject` call. Cannot be used with a successful `StatusCode` header + or when the transformed object is provided in body. + """ + accept_ranges: str | None = ... + """Indicates that a range of bytes was specified.""" + cache_control: str | None = ... + """Specifies caching behavior along the request/reply chain.""" + content_disposition: str | None = ... + """Specifies presentational information for the object.""" + content_encoding: str | None = ... + """ + Specifies what content encodings have been applied to the object and + thus what decoding mechanisms must be applied to obtain the media-type + referenced by the Content-Type header field. + """ + content_language: str | None = ... + """The language the content is in.""" + content_length: int | None = ... + """The size of the content body in bytes.""" + content_range: str | None = ... + """The portion of the object returned in the response.""" + content_type: str | None = ... + """A standard MIME type describing the format of the object data.""" + checksum_crc32: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This specifies + the Base64 encoded, 32-bit `CRC32` checksum of the object returned by + the Object Lambda function. This may not match the checksum for the + object stored in Amazon S3. Amazon S3 will perform validation of the + checksum values only when the original `GetObject` request required + checksum validation. For more information about checksums, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + Only one checksum header can be specified at a time. If you supply + multiple checksum headers, this request will fail. + """ + checksum_crc32_c: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This specifies + the Base64 encoded, 32-bit `CRC32C` checksum of the object returned by + the Object Lambda function. This may not match the checksum for the + object stored in Amazon S3. Amazon S3 will perform validation of the + checksum values only when the original `GetObject` request required + checksum validation. For more information about checksums, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + Only one checksum header can be specified at a time. If you supply + multiple checksum headers, this request will fail. + """ + checksum_crc64_nvme: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_sha1: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This specifies + the Base64 encoded, 160-bit `SHA1` digest of the object returned by the + Object Lambda function. This may not match the checksum for the object + stored in Amazon S3. Amazon S3 will perform validation of the checksum + values only when the original `GetObject` request required checksum + validation. For more information about checksums, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + Only one checksum header can be specified at a time. If you supply + multiple checksum headers, this request will fail. + """ + checksum_sha256: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This specifies + the Base64 encoded, 256-bit `SHA256` digest of the object returned by + the Object Lambda function. This may not match the checksum for the + object stored in Amazon S3. Amazon S3 will perform validation of the + checksum values only when the original `GetObject` request required + checksum validation. For more information about checksums, see [Checking + object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + + Only one checksum header can be specified at a time. If you supply + multiple checksum headers, this request will fail. + """ + checksum_sha512: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 512-bit `SHA512` digest of the part. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_md5: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 128-bit `MD5` digest of the part. For more + information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash64: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `XXHASH64` checksum of the part. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash3: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 64-bit `XXHASH3` checksum of the part. For + more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + checksum_xxhash128: str | None = ... + """ + This header can be used as a data integrity check to verify that the + data received is the same data that was originally sent. This header + specifies the Base64 encoded, 128-bit `XXHASH128` checksum of the part. + For more information, see [Checking object + integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) + in the *Amazon S3 User Guide*. + """ + delete_marker: bool | None = ... + """ + Specifies whether an object stored in Amazon S3 is (`true`) or is not + (`false`) a delete marker. To learn more about delete markers, see + [Working with delete + markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). + """ + e_tag: str | None = ... + """ + An opaque identifier assigned by a web server to a specific version of a + resource found at a URL. + """ + expires: str | None = ... + """The date and time at which the object is no longer cacheable.""" + expiration: str | None = ... + """ + If the object expiration is configured (see PUT Bucket lifecycle), the + response includes this header. It includes the `expiry-date` and + `rule-id` key-value pairs that provide the object expiration + information. The value of the `rule-id` is URL-encoded. + """ + last_modified: datetime | None = ... + """The date and time that the object was last modified.""" + missing_meta: int | None = ... + """ + Set to the number of metadata entries not returned in `x-amz-meta` + headers. This can happen if you create metadata using an API like SOAP + that supports more flexible metadata than the REST API. For example, + using SOAP, you can create metadata whose values are not legal HTTP + headers. + """ + metadata: dict[str, str] | None = ... + """A map of metadata to store with the object in S3.""" + object_lock_mode: str | None = ... + """ + Indicates whether an object stored in Amazon S3 has Object Lock enabled. + For more information about S3 Object Lock, see [Object + Lock](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html). + """ + object_lock_legal_hold_status: str | None = ... + """ + Indicates whether an object stored in Amazon S3 has an active legal + hold. + """ + object_lock_retain_until_date: datetime | None = ... + """The date and time when Object Lock is configured to expire.""" + parts_count: int | None = ... + """The count of parts this object has.""" + replication_status: str | None = ... + """ + Indicates if request involves bucket that is either a source or + destination in a Replication rule. For more information about S3 + Replication, see + [Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html). + """ + request_charged: str | None = ... + """ + If present, indicates that the requester was successfully charged for + the request. For more information, see [Using Requester Pays buckets for + storage transfers and + usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) + in the *Amazon Simple Storage Service user guide*. + + Note: + This functionality is not supported for directory buckets. + """ + restore: str | None = ... + """ + Provides information about object restoration operation and expiration + time of the restored object copy. + """ + server_side_encryption: str | None = ... + """ + The server-side encryption algorithm used when storing requested object + in Amazon S3 or Amazon FSx. + + Note: + When accessing data stored in Amazon FSx file systems using S3 access + points, the only valid server side encryption option is `aws:fsx`. + """ + sse_customer_algorithm: str | None = ... + """ + Encryption algorithm used if server-side encryption with a + customer-provided encryption key was specified for object stored in + Amazon S3. + """ + ssekms_key_id: str | None = ... + """ + If present, specifies the ID (Key ID, Key ARN, or Key Alias) of the + Amazon Web Services Key Management Service (Amazon Web Services KMS) + symmetric encryption customer managed key that was used for stored in + Amazon S3 object. + """ + sse_customer_key_md5: str | None = ... + """ + 128-bit MD5 digest of customer-provided encryption key used in Amazon S3 + to encrypt data stored in S3. For more information, see [Protecting data + using server-side encryption with customer-provided encryption keys + (SSE-C)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html). + """ + storage_class: str | None = ... + """ + Provides storage class information of the object. Amazon S3 returns this + header for all objects except for S3 Standard storage class objects. + + For more information, see [Storage + Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html). + """ + tag_count: int | None = ... + """The number of tags, if any, on the object.""" + version_id: str | None = ... + """An ID used to reference a specific version of the object.""" + bucket_key_enabled: bool | None = ... + """ + Indicates whether the object stored in Amazon S3 uses an S3 bucket key + for server-side encryption with Amazon Web Services KMS (SSE-KMS). + """ + +@dataclass(kw_only=True) +class WriteGetObjectResponseOutput(_SerdeShape): + """Dataclass for WriteGetObjectResponseOutput structure.""" + + response_metadata: ResponseMetadata = ... + """ + Metadata about the response that produced this output. Use this to + recover the request identifiers a service's support team needs in order + to investigate a call. Members of the metadata are individually + optional. + """ diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas.py index 1d0443e9a..8d864028c 100644 --- a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas.py +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas.py @@ -1,10914 +1,910 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.s3" -_BAS = "BucketAbacStatus" -_E = "Enabled" -_sV = "smithy.api#enumValue" -_D = "Disabled" -_AS = "AbacStatus" -_S = "Status" -_AD = "AbortDate" -_DAI = "DaysAfterInitiation" -_AIMU = "AbortIncompleteMultipartUpload" -_BN = "BucketName" -_AI = "AccountId" -_IMIT = "IfMatchInitiatedTime" -_sF = "smithy.api#timestampFormat" -_hd = "http-date" -_OK = "ObjectKey" -_RP = "RequestPayer" -_r = "requester" -_MUI = "MultipartUploadId" -_AMUI = "AbortMultipartUploadInput" -_sSI = "smithy.synthetic#originalShapeId" -_cAMUR = "com.amazonaws.s3#AbortMultipartUploadRequest" -_s = "smithy.api#input" -_B = "Bucket" -_sP = "smithy.rules#contextParam" -_sm = "smithy.api#required" -_sL = "smithy.api#httpLabel" -_K = "Key" -_UI = "UploadId" -_sQ = "smithy.api#httpQuery" -_uI = "uploadId" -_sH = "smithy.api#httpHeader" -_xarp = "x-amz-request-payer" -_EBO = "ExpectedBucketOwner" -_xaebo = "x-amz-expected-bucket-owner" -_xaimit = "x-amz-if-match-initiated-time" -_RC = "RequestCharged" -_AMUO = "AbortMultipartUploadOutput" -_smi = "smithy.api#output" -_xarc = "x-amz-request-charged" -_NSU = "NoSuchUpload" -_smit = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_AMU = "AbortMultipartUpload" -_smith = "smithy.api#http" -_ARI = "AbortRuleId" -_BASu = "BucketAccelerateStatus" -_Su = "Suspended" -_AC = "AccelerateConfiguration" -_AR = "AcceptRanges" -_DN = "DisplayName" -_EA = "EmailAddress" -_ID = "ID" -_T = "Type" -_CU = "CanonicalUser" -_ACBE = "AmazonCustomerByEmail" -_G = "Group" -_URI = "URI" -_Gr = "Grantee" -_sN = "smithy.api#xmlName" -_x = "xsi:type" -_sA = "smithy.api#xmlAttribute" -_P = "Permission" -_FC = "FULL_CONTROL" -_WRITE = "WRITE" -_WA = "WRITE_ACP" -_READ = "READ" -_RA = "READ_ACP" -_Gra = "Grant" -_sNm = "smithy.api#xmlNamespace" -_Gran = "Grants" -_m = "member" -_O = "Owner" -_ACP = "AccessControlPolicy" -_ACL = "AccessControlList" -_OO = "OwnerOverride" -_De = "Destination" -_ACT = "AccessControlTranslation" -_ADc = "AccessDenied" -_AKIV = "AccessKeyIdValue" -_APA = "AccessPointAlias" -_APAc = "AccessPointArn" -_AH = "AllowedHeader" -_AHl = "AllowedHeaders" -_AM = "AllowedMethod" -_AMl = "AllowedMethods" -_AO = "AllowedOrigin" -_AOl = "AllowedOrigins" -_AQRD = "AllowQuotedRecordDelimiter" -_CCRC = "ChecksumCRC32" -_CCRCC = "ChecksumCRC32C" -_CCRCNVME = "ChecksumCRC64NVME" -_CMD = "ChecksumMD5" -_CSHA = "ChecksumSHA1" -_CSHAh = "ChecksumSHA256" -_CSHAhe = "ChecksumSHA512" -_CT = "ChecksumType" -_COMPOSITE = "COMPOSITE" -_FO = "FULL_OBJECT" -_CXXHASH = "ChecksumXXHASH128" -_CXXHASHh = "ChecksumXXHASH3" -_CXXHASHhe = "ChecksumXXHASH64" -_IM = "IfMatch" -_INM = "IfNoneMatch" -_MOS = "MpuObjectSize" -_ET = "ETag" -_PN = "PartNumber" -_CP = "CompletedPart" -_CPL = "CompletedPartList" -_CMU = "CompletedMultipartUpload" -_Pa = "Parts" -_Par = "Part" -_sFm = "smithy.api#xmlFlattened" -_SSECA = "SSECustomerAlgorithm" -_SSECK = "SSECustomerKey" -_smithy = "smithy.api#sensitive" -_SSECKMD = "SSECustomerKeyMD5" -_CMUI = "CompleteMultipartUploadInput" -_cCMUR = "com.amazonaws.s3#CompleteMultipartUploadRequest" -_MU = "MultipartUpload" -_CMUo = "CompleteMultipartUpload" -_sPm = "smithy.api#httpPayload" -_xacc = "x-amz-checksum-crc32" -_xacc_ = "x-amz-checksum-crc32c" -_xacc__ = "x-amz-checksum-crc64nvme" -_xacs = "x-amz-checksum-sha1" -_xacs_ = "x-amz-checksum-sha256" -_xacs__ = "x-amz-checksum-sha512" -_xacm = "x-amz-checksum-md5" -_xacx = "x-amz-checksum-xxhash64" -_xacx_ = "x-amz-checksum-xxhash3" -_xacx__ = "x-amz-checksum-xxhash128" -_xact = "x-amz-checksum-type" -_xamos = "x-amz-mp-object-size" -_IM_ = "If-Match" -_INM_ = "If-None-Match" -_xasseca = "x-amz-server-side-encryption-customer-algorithm" -_xasseck = "x-amz-server-side-encryption-customer-key" -_xasseckM = "x-amz-server-side-encryption-customer-key-MD5" -_BKE = "BucketKeyEnabled" -_Ex = "Expiration" -_L = "Location" -_SSE = "ServerSideEncryption" -_AES = "AES256" -_af = "aws_fsx" -_a = "aws:fsx" -_ab = "aws_backup" -_aw = "aws:backup" -_ak = "aws_kms" -_aws = "aws:kms" -_akd = "aws_kms_dsse" -_awsk = "aws:kms:dsse" -_SSEKMSKI = "SSEKMSKeyId" -_OVI = "ObjectVersionId" -_CMUO = "CompleteMultipartUploadOutput" -_CMUR = "CompleteMultipartUploadResult" -_xae = "x-amz-expiration" -_xasse = "x-amz-server-side-encryption" -_VI = "VersionId" -_xavi = "x-amz-version-id" -_xasseakki = "x-amz-server-side-encryption-aws-kms-key-id" -_xassebke = "x-amz-server-side-encryption-bucket-key-enabled" -_OCACL = "ObjectCannedACL" -_p = "private" -_pr = "public_read" -_pr_ = "public-read" -_prw = "public_read_write" -_prw_ = "public-read-write" -_ar = "authenticated_read" -_ar_ = "authenticated-read" -_aer = "aws_exec_read" -_aer_ = "aws-exec-read" -_bor = "bucket_owner_read" -_bor_ = "bucket-owner-read" -_bofc = "bucket_owner_full_control" -_bofc_ = "bucket-owner-full-control" -_ADn = "AnnotationDirective" -_COPY = "COPY" -_EXCLUDE = "EXCLUDE" -_CC = "CacheControl" -_CA = "ChecksumAlgorithm" -_CRC = "CRC32" -_CRCC = "CRC32C" -_SHA = "SHA1" -_SHA_ = "SHA256" -_CRCNVME = "CRC64NVME" -_SHA__ = "SHA512" -_MD = "MD5" -_XXHASH = "XXHASH64" -_XXHASH_ = "XXHASH3" -_XXHASH__ = "XXHASH128" -_CD = "ContentDisposition" -_CE = "ContentEncoding" -_CL = "ContentLanguage" -_CTo = "ContentType" -_CS = "CopySource" -_CSIM = "CopySourceIfMatch" -_CSIMS = "CopySourceIfModifiedSince" -_CSINM = "CopySourceIfNoneMatch" -_CSIUS = "CopySourceIfUnmodifiedSince" -_CSSSECA = "CopySourceSSECustomerAlgorithm" -_CSSSECK = "CopySourceSSECustomerKey" -_CSSSECKMD = "CopySourceSSECustomerKeyMD5" -_Exp = "Expires" -_GFC = "GrantFullControl" -_GR = "GrantRead" -_GRACP = "GrantReadACP" -_GWACP = "GrantWriteACP" -_MK = "MetadataKey" -_MV = "MetadataValue" -_M = "Metadata" -_k = "key" -_v = "value" -_MDe = "MetadataDirective" -_REPLACE = "REPLACE" -_OLEH = "ObjectLockEventHold" -_ON = "ON" -_OFF = "OFF" -_OLEHDD = "ObjectLockEventHoldDurationDays" -_OLEHDY = "ObjectLockEventHoldDurationYears" -_OLLHS = "ObjectLockLegalHoldStatus" -_OLM = "ObjectLockMode" -_GOVERNANCE = "GOVERNANCE" -_COMPLIANCE = "COMPLIANCE" -_OLRUD = "ObjectLockRetainUntilDate" -_dt = "date-time" -_SSEKMSEC = "SSEKMSEncryptionContext" -_SC = "StorageClass" -_STANDARD = "STANDARD" -_RR = "REDUCED_REDUNDANCY" -_SI = "STANDARD_IA" -_OI = "ONEZONE_IA" -_IT = "INTELLIGENT_TIERING" -_GLACIER = "GLACIER" -_DA = "DEEP_ARCHIVE" -_OUTPOSTS = "OUTPOSTS" -_GI = "GLACIER_IR" -_SNOW = "SNOW" -_EO = "EXPRESS_ONEZONE" -_FO_ = "FSX_OPENZFS" -_FO__ = "FSX_ONTAP" -_ABW = "AWS_BACKUP_WARM" -_ABLCW = "AWS_BACKUP_LOW_COST_WARM" -_TH = "TaggingHeader" -_TD = "TaggingDirective" -_WRL = "WebsiteRedirectLocation" -_COI = "CopyObjectInput" -_cCOR = "com.amazonaws.s3#CopyObjectRequest" -_ACL_ = "ACL" -_xaa = "x-amz-acl" -_CC_ = "Cache-Control" -_xaca = "x-amz-checksum-algorithm" -_CD_ = "Content-Disposition" -_CE_ = "Content-Encoding" -_CL_ = "Content-Language" -_CT_ = "Content-Type" -_xacs___ = "x-amz-copy-source" -_xacsim = "x-amz-copy-source-if-match" -_xacsims = "x-amz-copy-source-if-modified-since" -_xacsinm = "x-amz-copy-source-if-none-match" -_xacsius = "x-amz-copy-source-if-unmodified-since" -_xagfc = "x-amz-grant-full-control" -_xagr = "x-amz-grant-read" -_xagra = "x-amz-grant-read-acp" -_xagwa = "x-amz-grant-write-acp" -_sPH = "smithy.api#httpPrefixHeaders" -_xam = "x-amz-meta-" -_xamd = "x-amz-metadata-directive" -_xatd = "x-amz-tagging-directive" -_xaoad = "x-amz-object-annotation-directive" -_xasc = "x-amz-storage-class" -_xawrl = "x-amz-website-redirect-location" -_xassec = "x-amz-server-side-encryption-context" -_xacssseca = "x-amz-copy-source-server-side-encryption-customer-algorithm" -_xacssseck = "x-amz-copy-source-server-side-encryption-customer-key" -_xacssseckM = "x-amz-copy-source-server-side-encryption-customer-key-MD5" -_Ta = "Tagging" -_xat = "x-amz-tagging" -_xaolm = "x-amz-object-lock-mode" -_xaolrud = "x-amz-object-lock-retain-until-date" -_xaollh = "x-amz-object-lock-legal-hold" -_xaoleh = "x-amz-object-lock-event-hold" -_xaolehdd = "x-amz-object-lock-event-hold-duration-days" -_xaolehdy = "x-amz-object-lock-event-hold-duration-years" -_ESBO = "ExpectedSourceBucketOwner" -_xasebo = "x-amz-source-expected-bucket-owner" -_LM = "LastModified" -_COR = "CopyObjectResult" -_CSVI = "CopySourceVersionId" -_COO = "CopyObjectOutput" -_xacsvi = "x-amz-copy-source-version-id" -_ONIATE = "ObjectNotInActiveTierError" -_CO = "CopyObject" -_sCP = "smithy.rules#staticContextParams" -_BAE = "BucketAlreadyExists" -_BAOBY = "BucketAlreadyOwnedByYou" -_BCACL = "BucketCannedACL" -_BNu = "BucketNamespace" -_AR_ = "ACCOUNT_REGIONAL" -_ar__ = "account-regional" -_GLOBAL = "GLOBAL" -_g = "global" -_DR = "DataRedundancy" -_SAZ = "SingleAvailabilityZone" -_SLZ = "SingleLocalZone" -_BT = "BucketType" -_Di = "Directory" -_BI = "BucketInfo" -_LNAS = "LocationNameAsString" -_LT = "LocationType" -_AZ = "AvailabilityZone" -_LZ = "LocalZone" -_LI = "LocationInfo" -_N = "Name" -_BLC = "BucketLocationConstraint" -_as = "af_south_1" -_as_ = "af-south-1" -_ae = "ap_east_1" -_ae_ = "ap-east-1" -_ae__ = "ap_east_2" -_ae___ = "ap-east-2" -_an = "ap_northeast_1" -_an_ = "ap-northeast-1" -_an__ = "ap_northeast_2" -_an___ = "ap-northeast-2" -_an____ = "ap_northeast_3" -_an_____ = "ap-northeast-3" -_as__ = "ap_south_1" -_as___ = "ap-south-1" -_as____ = "ap_south_2" -_as_____ = "ap-south-2" -_as______ = "ap_southeast_1" -_as_______ = "ap-southeast-1" -_as________ = "ap_southeast_2" -_as_________ = "ap-southeast-2" -_as__________ = "ap_southeast_3" -_as___________ = "ap-southeast-3" -_as____________ = "ap_southeast_4" -_as_____________ = "ap-southeast-4" -_as______________ = "ap_southeast_5" -_as_______________ = "ap-southeast-5" -_as________________ = "ap_southeast_6" -_as_________________ = "ap-southeast-6" -_as__________________ = "ap_southeast_7" -_as___________________ = "ap-southeast-7" -_cc = "ca_central_1" -_cc_ = "ca-central-1" -_cw = "ca_west_1" -_cw_ = "ca-west-1" -_cn = "cn_north_1" -_cn_ = "cn-north-1" -_cn__ = "cn_northwest_1" -_cn___ = "cn-northwest-1" -_EU = "EU" -_ec = "eu_central_1" -_ec_ = "eu-central-1" -_ec__ = "eu_central_2" -_ec___ = "eu-central-2" -_en = "eu_north_1" -_en_ = "eu-north-1" -_es = "eu_south_1" -_es_ = "eu-south-1" -_es__ = "eu_south_2" -_es___ = "eu-south-2" -_ew = "eu_west_1" -_ew_ = "eu-west-1" -_ew__ = "eu_west_2" -_ew___ = "eu-west-2" -_ew____ = "eu_west_3" -_ew_____ = "eu-west-3" -_ic = "il_central_1" -_ic_ = "il-central-1" -_mc = "me_central_1" -_mc_ = "me-central-1" -_ms = "me_south_1" -_ms_ = "me-south-1" -_mc__ = "mx_central_1" -_mc___ = "mx-central-1" -_se = "sa_east_1" -_se_ = "sa-east-1" -_ue = "us_east_2" -_ue_ = "us-east-2" -_uge = "us_gov_east_1" -_uge_ = "us-gov-east-1" -_ugw = "us_gov_west_1" -_ugw_ = "us-gov-west-1" -_uw = "us_west_1" -_uw_ = "us-west-1" -_uw__ = "us_west_2" -_uw___ = "us-west-2" -_V = "Value" -_Tag = "Tag" -_TS = "TagSet" -_CBC = "CreateBucketConfiguration" -_LC = "LocationConstraint" -_Tags = "Tags" -_GW = "GrantWrite" -_OLEFB = "ObjectLockEnabledForBucket" -_OOb = "ObjectOwnership" -_BOP = "BucketOwnerPreferred" -_OW = "ObjectWriter" -_BOE = "BucketOwnerEnforced" -_CBI = "CreateBucketInput" -_cCBR = "com.amazonaws.s3#CreateBucketRequest" -_xagw = "x-amz-grant-write" -_xabole = "x-amz-bucket-object-lock-enabled" -_xaoo = "x-amz-object-ownership" -_xabn = "x-amz-bucket-namespace" -_SROSEBAS = "S3RegionalOrS3ExpressBucketArnString" -_CBO = "CreateBucketOutput" -_BA = "BucketArn" -_xaba = "x-amz-bucket-arn" -_CB = "CreateBucket" -_CMDo = "ContentMD5" -_ACS = "AnnotationConfigurationState" -_ENABLED = "ENABLED" -_DISABLED = "DISABLED" -_KKA = "KmsKeyArn" -_TSA = "TableSseAlgorithm" -_MTEC = "MetadataTableEncryptionConfiguration" -_SA = "SseAlgorithm" -_R = "Role" -_ATC = "AnnotationTableConfiguration" -_CSo = "ConfigurationState" -_EC = "EncryptionConfiguration" -_ICS = "InventoryConfigurationState" -_ITC = "InventoryTableConfiguration" -_RED = "RecordExpirationDays" -_ES = "ExpirationState" -_RE = "RecordExpiration" -_Da = "Days" -_JTC = "JournalTableConfiguration" -_MC = "MetadataConfiguration" -_CBMCI = "CreateBucketMetadataConfigurationInput" -_cCBMCR = "com.amazonaws.s3#CreateBucketMetadataConfigurationRequest" -_CM = "Content-MD5" -_xasca = "x-amz-sdk-checksum-algorithm" -_CBMCO = "CreateBucketMetadataConfigurationOutput" -_sU = "smithy.api#Unit" -_CBMC = "CreateBucketMetadataConfiguration" -_aC = "aws.protocols#httpChecksum" -_STBA = "S3TablesBucketArn" -_STN = "S3TablesName" -_STD = "S3TablesDestination" -_TBA = "TableBucketArn" -_TN = "TableName" -_MTC = "MetadataTableConfiguration" -_CBMTCI = "CreateBucketMetadataTableConfigurationInput" -_cCBMTCR = "com.amazonaws.s3#CreateBucketMetadataTableConfigurationRequest" -_CBMTCO = "CreateBucketMetadataTableConfigurationOutput" -_CBMTC = "CreateBucketMetadataTableConfiguration" -_CMUIr = "CreateMultipartUploadInput" -_cCMURo = "com.amazonaws.s3#CreateMultipartUploadRequest" -_CMUOr = "CreateMultipartUploadOutput" -_IMUR = "InitiateMultipartUploadResult" -_xaad = "x-amz-abort-date" -_xaari = "x-amz-abort-rule-id" -_CMUr = "CreateMultipartUpload" -_SM = "SessionMode" -_RO = "ReadOnly" -_RW = "ReadWrite" -_CSI = "CreateSessionInput" -_cCSR = "com.amazonaws.s3#CreateSessionRequest" -_xacsm = "x-amz-create-session-mode" -_SE = "SessionExpiration" -_SCV = "SessionCredentialValue" -_SCe = "SessionCredentials" -_AKI = "AccessKeyId" -_SAK = "SecretAccessKey" -_ST = "SessionToken" -_CSO = "CreateSessionOutput" -_CSR = "CreateSessionResult" -_C = "Credentials" -_NSB = "NoSuchBucket" -_CSr = "CreateSession" -_DBI = "DeleteBucketInput" -_cDBR = "com.amazonaws.s3#DeleteBucketRequest" -_DBO = "DeleteBucketOutput" -_DB = "DeleteBucket" -_AIn = "AnalyticsId" -_DBACI = "DeleteBucketAnalyticsConfigurationInput" -_cDBACR = "com.amazonaws.s3#DeleteBucketAnalyticsConfigurationRequest" -_I = "Id" -_i = "id" -_DBACO = "DeleteBucketAnalyticsConfigurationOutput" -_DBAC = "DeleteBucketAnalyticsConfiguration" -_DBCI = "DeleteBucketCorsInput" -_cDBCR = "com.amazonaws.s3#DeleteBucketCorsRequest" -_DBCO = "DeleteBucketCorsOutput" -_DBC = "DeleteBucketCors" -_DBEI = "DeleteBucketEncryptionInput" -_cDBER = "com.amazonaws.s3#DeleteBucketEncryptionRequest" -_DBEO = "DeleteBucketEncryptionOutput" -_DBE = "DeleteBucketEncryption" -_ITI = "IntelligentTieringId" -_DBITCI = "DeleteBucketIntelligentTieringConfigurationInput" -_cDBITCR = "com.amazonaws.s3#DeleteBucketIntelligentTieringConfigurationRequest" -_DBITCO = "DeleteBucketIntelligentTieringConfigurationOutput" -_DBITC = "DeleteBucketIntelligentTieringConfiguration" -_II = "InventoryId" -_DBICI = "DeleteBucketInventoryConfigurationInput" -_cDBICR = "com.amazonaws.s3#DeleteBucketInventoryConfigurationRequest" -_DBICO = "DeleteBucketInventoryConfigurationOutput" -_DBIC = "DeleteBucketInventoryConfiguration" -_DBLI = "DeleteBucketLifecycleInput" -_cDBLR = "com.amazonaws.s3#DeleteBucketLifecycleRequest" -_DBLO = "DeleteBucketLifecycleOutput" -_DBL = "DeleteBucketLifecycle" -_DBMCI = "DeleteBucketMetadataConfigurationInput" -_cDBMCR = "com.amazonaws.s3#DeleteBucketMetadataConfigurationRequest" -_DBMCO = "DeleteBucketMetadataConfigurationOutput" -_DBMC = "DeleteBucketMetadataConfiguration" -_DBMTCI = "DeleteBucketMetadataTableConfigurationInput" -_cDBMTCR = "com.amazonaws.s3#DeleteBucketMetadataTableConfigurationRequest" -_DBMTCO = "DeleteBucketMetadataTableConfigurationOutput" -_DBMTC = "DeleteBucketMetadataTableConfiguration" -_MI = "MetricsId" -_DBMCIe = "DeleteBucketMetricsConfigurationInput" -_cDBMCRo = "com.amazonaws.s3#DeleteBucketMetricsConfigurationRequest" -_DBMCOe = "DeleteBucketMetricsConfigurationOutput" -_DBMCe = "DeleteBucketMetricsConfiguration" -_DBOCI = "DeleteBucketOwnershipControlsInput" -_cDBOCR = "com.amazonaws.s3#DeleteBucketOwnershipControlsRequest" -_DBOCO = "DeleteBucketOwnershipControlsOutput" -_DBOC = "DeleteBucketOwnershipControls" -_DBPI = "DeleteBucketPolicyInput" -_cDBPR = "com.amazonaws.s3#DeleteBucketPolicyRequest" -_DBPO = "DeleteBucketPolicyOutput" -_DBP = "DeleteBucketPolicy" -_DBRI = "DeleteBucketReplicationInput" -_cDBRR = "com.amazonaws.s3#DeleteBucketReplicationRequest" -_DBRO = "DeleteBucketReplicationOutput" -_DBR = "DeleteBucketReplication" -_DBTI = "DeleteBucketTaggingInput" -_cDBTR = "com.amazonaws.s3#DeleteBucketTaggingRequest" -_DBTO = "DeleteBucketTaggingOutput" -_DBT = "DeleteBucketTagging" -_DBWI = "DeleteBucketWebsiteInput" -_cDBWR = "com.amazonaws.s3#DeleteBucketWebsiteRequest" -_DBWO = "DeleteBucketWebsiteOutput" -_DBW = "DeleteBucketWebsite" -_BGR = "BypassGovernanceRetention" -_IMLMT = "IfMatchLastModifiedTime" -_IMS = "IfMatchSize" -_MFA = "MFA" -_DOI = "DeleteObjectInput" -_cDOR = "com.amazonaws.s3#DeleteObjectRequest" -_xam_ = "x-amz-mfa" -_vI = "versionId" -_xabgr = "x-amz-bypass-governance-retention" -_xaimlmt = "x-amz-if-match-last-modified-time" -_xaims = "x-amz-if-match-size" -_DM = "DeleteMarker" -_DOO = "DeleteObjectOutput" -_xadm = "x-amz-delete-marker" -_DO = "DeleteObject" -_AN = "AnnotationName" -_OIM = "ObjectIfMatch" -_DOAI = "DeleteObjectAnnotationInput" -_cDOAR = "com.amazonaws.s3#DeleteObjectAnnotationRequest" -_aN = "annotationName" -_xaoim = "x-amz-object-if-match" -_DOAO = "DeleteObjectAnnotationOutput" -_xaovi = "x-amz-object-version-id" -_NSK = "NoSuchKey" -_DOA = "DeleteObjectAnnotation" -_LMT = "LastModifiedTime" -_Si = "Size" -_OIb = "ObjectIdentifier" -_OIL = "ObjectIdentifierList" -_Q = "Quiet" -_Del = "Delete" -_Ob = "Objects" -_Obj = "Object" -_DOIe = "DeleteObjectsInput" -_cDORo = "com.amazonaws.s3#DeleteObjectsRequest" -_DMVI = "DeleteMarkerVersionId" -_DOe = "DeletedObject" -_DOel = "DeletedObjects" -_Co = "Code" -_Me = "Message" -_Er = "Error" -_Err = "Errors" -_DOOe = "DeleteObjectsOutput" -_DRe = "DeleteResult" -_Dele = "Deleted" -_DOele = "DeleteObjects" -_DOTI = "DeleteObjectTaggingInput" -_cDOTR = "com.amazonaws.s3#DeleteObjectTaggingRequest" -_DOTO = "DeleteObjectTaggingOutput" -_DOT = "DeleteObjectTagging" -_DPABI = "DeletePublicAccessBlockInput" -_cDPABR = "com.amazonaws.s3#DeletePublicAccessBlockRequest" -_DPABO = "DeletePublicAccessBlockOutput" -_DPAB = "DeletePublicAccessBlock" -_GBAI = "GetBucketAbacInput" -_cGBAR = "com.amazonaws.s3#GetBucketAbacRequest" -_GBAO = "GetBucketAbacOutput" -_GBA = "GetBucketAbac" -_GBACI = "GetBucketAccelerateConfigurationInput" -_cGBACR = "com.amazonaws.s3#GetBucketAccelerateConfigurationRequest" -_GBACO = "GetBucketAccelerateConfigurationOutput" -_GBAC = "GetBucketAccelerateConfiguration" -_GBAIe = "GetBucketAclInput" -_cGBARo = "com.amazonaws.s3#GetBucketAclRequest" -_GBAOe = "GetBucketAclOutput" -_GBAe = "GetBucketAcl" -_GBACIe = "GetBucketAnalyticsConfigurationInput" -_cGBACRo = "com.amazonaws.s3#GetBucketAnalyticsConfigurationRequest" -_Pr = "Prefix" -_AAO = "AnalyticsAndOperator" -_AF = "AnalyticsFilter" -_A = "And" -_ASEFF = "AnalyticsS3ExportFileFormat" -_CSV = "CSV" -_ASBD = "AnalyticsS3BucketDestination" -_F = "Format" -_BAI = "BucketAccountId" -_AED = "AnalyticsExportDestination" -_SBD = "S3BucketDestination" -_SCASV = "StorageClassAnalysisSchemaVersion" -_V_ = "V_1" -_SCADE = "StorageClassAnalysisDataExport" -_OSV = "OutputSchemaVersion" -_SCA = "StorageClassAnalysis" -_DE = "DataExport" -_ACn = "AnalyticsConfiguration" -_Fi = "Filter" -_GBACOe = "GetBucketAnalyticsConfigurationOutput" -_GBACe = "GetBucketAnalyticsConfiguration" -_GBCI = "GetBucketCorsInput" -_cGBCR = "com.amazonaws.s3#GetBucketCorsRequest" -_EH = "ExposeHeader" -_EHx = "ExposeHeaders" -_MAS = "MaxAgeSeconds" -_CORSR = "CORSRule" -_CORSRu = "CORSRules" -_GBCO = "GetBucketCorsOutput" -_CORSC = "CORSConfiguration" -_GBC = "GetBucketCors" -_GBEI = "GetBucketEncryptionInput" -_cGBER = "com.amazonaws.s3#GetBucketEncryptionRequest" -_SSEBD = "ServerSideEncryptionByDefault" -_SSEA = "SSEAlgorithm" -_KMSMKID = "KMSMasterKeyID" -_ETn = "EncryptionType" -_NONE = "NONE" -_SC_ = "SSE_C" -_SC__ = "SSE-C" -_ETL = "EncryptionTypeList" -_BET = "BlockedEncryptionTypes" -_SSER = "ServerSideEncryptionRule" -_ASSEBD = "ApplyServerSideEncryptionByDefault" -_SSERe = "ServerSideEncryptionRules" -_SSEC = "ServerSideEncryptionConfiguration" -_Ru = "Rules" -_Rul = "Rule" -_GBEO = "GetBucketEncryptionOutput" -_GBE = "GetBucketEncryption" -_GBITCI = "GetBucketIntelligentTieringConfigurationInput" -_cGBITCR = "com.amazonaws.s3#GetBucketIntelligentTieringConfigurationRequest" -_ITAO = "IntelligentTieringAndOperator" -_ITF = "IntelligentTieringFilter" -_ITS = "IntelligentTieringStatus" -_ITAT = "IntelligentTieringAccessTier" -_AA = "ARCHIVE_ACCESS" -_DAA = "DEEP_ARCHIVE_ACCESS" -_ITD = "IntelligentTieringDays" -_Ti = "Tiering" -_AT = "AccessTier" -_TL = "TieringList" -_ITCn = "IntelligentTieringConfiguration" -_Tie = "Tierings" -_GBITCO = "GetBucketIntelligentTieringConfigurationOutput" -_GBITC = "GetBucketIntelligentTieringConfiguration" -_GBICI = "GetBucketInventoryConfigurationInput" -_cGBICR = "com.amazonaws.s3#GetBucketInventoryConfigurationRequest" -_SSEKMS = "SSEKMS" -_SK = "SSE-KMS" -_KI = "KeyId" -_SSES = "SSES3" -_SS = "SSE-S3" -_IE = "InventoryEncryption" -_IF = "InventoryFormat" -_ORC = "ORC" -_Parq = "Parquet" -_ISBD = "InventoryS3BucketDestination" -_En = "Encryption" -_IDn = "InventoryDestination" -_IFn = "InventoryFilter" -_IIOV = "InventoryIncludedObjectVersions" -_Al = "All" -_Cu = "Current" -_IEs = "IsEnabled" -_IOF = "InventoryOptionalField" -_LMD = "LastModifiedDate" -_IMU = "IsMultipartUploaded" -_RS = "ReplicationStatus" -_ESn = "EncryptionStatus" -_OLEHS = "ObjectLockEventHoldStatus" -_OLEHD = "ObjectLockEventHoldDuration" -_BKS = "BucketKeyStatus" -_OACL = "ObjectAccessControlList" -_OObj = "ObjectOwner" -_LED = "LifecycleExpirationDate" -_ITRD = "IntelligentTieringReferenceDate" -_IOFn = "InventoryOptionalFields" -_Fie = "Field" -_IFnv = "InventoryFrequency" -_Dai = "Daily" -_W = "Weekly" -_IS = "InventorySchedule" -_Fr = "Frequency" -_IC = "InventoryConfiguration" -_IOV = "IncludedObjectVersions" -_OF = "OptionalFields" -_Sc = "Schedule" -_GBICO = "GetBucketInventoryConfigurationOutput" -_GBIC = "GetBucketInventoryConfiguration" -_GBLCI = "GetBucketLifecycleConfigurationInput" -_cGBLCR = "com.amazonaws.s3#GetBucketLifecycleConfigurationRequest" -_Dat = "Date" -_EODM = "ExpiredObjectDeleteMarker" -_LE = "LifecycleExpiration" -_OSGTB = "ObjectSizeGreaterThanBytes" -_OSLTB = "ObjectSizeLessThanBytes" -_LRAO = "LifecycleRuleAndOperator" -_OSGT = "ObjectSizeGreaterThan" -_OSLT = "ObjectSizeLessThan" -_LRF = "LifecycleRuleFilter" -_VC = "VersionCount" -_NVE = "NoncurrentVersionExpiration" -_ND = "NoncurrentDays" -_NNV = "NewerNoncurrentVersions" -_TSC = "TransitionStorageClass" -_NVT = "NoncurrentVersionTransition" -_NVTL = "NoncurrentVersionTransitionList" -_ESx = "ExpirationStatus" -_Tr = "Transition" -_TLr = "TransitionList" -_LR = "LifecycleRule" -_Tra = "Transitions" -_NVTo = "NoncurrentVersionTransitions" -_LRi = "LifecycleRules" -_TDMOS = "TransitionDefaultMinimumObjectSize" -_vbsc = "varies_by_storage_class" -_asc = "all_storage_classes_128K" -_GBLCO = "GetBucketLifecycleConfigurationOutput" -_LCi = "LifecycleConfiguration" -_xatdmos = "x-amz-transition-default-minimum-object-size" -_GBLC = "GetBucketLifecycleConfiguration" -_GBLI = "GetBucketLocationInput" -_cGBLR = "com.amazonaws.s3#GetBucketLocationRequest" -_GBLO = "GetBucketLocationOutput" -_GBL = "GetBucketLocation" -_GBLIe = "GetBucketLoggingInput" -_cGBLRo = "com.amazonaws.s3#GetBucketLoggingRequest" -_TB = "TargetBucket" -_BLP = "BucketLogsPermission" -_TG = "TargetGrant" -_TGa = "TargetGrants" -_PDS = "PartitionDateSource" -_ETv = "EventTime" -_DT = "DeliveryTime" -_PP = "PartitionedPrefix" -_SP = "SimplePrefix" -_TOKF = "TargetObjectKeyFormat" -_TP = "TargetPrefix" -_LEo = "LoggingEnabled" -_GBLOe = "GetBucketLoggingOutput" -_BLS = "BucketLoggingStatus" -_GBLe = "GetBucketLogging" -_GBMCI = "GetBucketMetadataConfigurationInput" -_cGBMCR = "com.amazonaws.s3#GetBucketMetadataConfigurationRequest" -_ECr = "ErrorCode" -_EM = "ErrorMessage" -_ED = "ErrorDetails" -_STA = "S3TablesArn" -_MTS = "MetadataTableStatus" -_ATCR = "AnnotationTableConfigurationResult" -_TSa = "TableStatus" -_TA = "TableArn" -_STBT = "S3TablesBucketType" -_aws_ = "aws" -_cu = "customer" -_STNa = "S3TablesNamespace" -_DRes = "DestinationResult" -_TBT = "TableBucketType" -_TNa = "TableNamespace" -_ITCR = "InventoryTableConfigurationResult" -_JTCR = "JournalTableConfigurationResult" -_MCR = "MetadataConfigurationResult" -_GBMCR = "GetBucketMetadataConfigurationResult" -_GBMCO = "GetBucketMetadataConfigurationOutput" -_GBMC = "GetBucketMetadataConfiguration" -_GBMTCI = "GetBucketMetadataTableConfigurationInput" -_cGBMTCR = "com.amazonaws.s3#GetBucketMetadataTableConfigurationRequest" -_STDR = "S3TablesDestinationResult" -_MTCR = "MetadataTableConfigurationResult" -_GBMTCR = "GetBucketMetadataTableConfigurationResult" -_GBMTCO = "GetBucketMetadataTableConfigurationOutput" -_GBMTC = "GetBucketMetadataTableConfiguration" -_GBMCIe = "GetBucketMetricsConfigurationInput" -_cGBMCRo = "com.amazonaws.s3#GetBucketMetricsConfigurationRequest" -_MAO = "MetricsAndOperator" -_MF = "MetricsFilter" -_MCe = "MetricsConfiguration" -_GBMCOe = "GetBucketMetricsConfigurationOutput" -_GBMCe = "GetBucketMetricsConfiguration" -_GBNCI = "GetBucketNotificationConfigurationInput" -_cGBNCR = "com.amazonaws.s3#GetBucketNotificationConfigurationRequest" -_EBC = "EventBridgeConfiguration" -_Ev = "Event" -_sR = "s3_ReducedRedundancyLostObject" -_sRRLO = "s3:ReducedRedundancyLostObject" -_sO = "s3_ObjectCreated_" -_sOC = "s3:ObjectCreated:*" -_sOP = "s3_ObjectCreated_Put" -_sOCP = "s3:ObjectCreated:Put" -_sOP_ = "s3_ObjectCreated_Post" -_sOCPb = "s3:ObjectCreated:Post" -_sOC_ = "s3_ObjectCreated_Copy" -_sOCC = "s3:ObjectCreated:Copy" -_sOC__ = "s3_ObjectCreated_CompleteMultipartUpload" -_sOCCMU = "s3:ObjectCreated:CompleteMultipartUpload" -_sO_ = "s3_ObjectRemoved_" -_sOR = "s3:ObjectRemoved:*" -_sOD = "s3_ObjectRemoved_Delete" -_sORD = "s3:ObjectRemoved:Delete" -_sOD_ = "s3_ObjectRemoved_DeleteMarkerCreated" -_sORDMC = "s3:ObjectRemoved:DeleteMarkerCreated" -_sO__ = "s3_ObjectRestore_" -_sORb = "s3:ObjectRestore:*" -_sOP__ = "s3_ObjectRestore_Post" -_sORP = "s3:ObjectRestore:Post" -_sOC___ = "s3_ObjectRestore_Completed" -_sORC = "s3:ObjectRestore:Completed" -_sR_ = "s3_Replication_" -_sRe = "s3:Replication:*" -_sRO = "s3_Replication_OperationFailedReplication" -_sROFR = "s3:Replication:OperationFailedReplication" -_sRO_ = "s3_Replication_OperationNotTracked" -_sRONT = "s3:Replication:OperationNotTracked" -_sRO__ = "s3_Replication_OperationMissedThreshold" -_sROMT = "s3:Replication:OperationMissedThreshold" -_sRO___ = "s3_Replication_OperationReplicatedAfterThreshold" -_sRORAT = "s3:Replication:OperationReplicatedAfterThreshold" -_sOD__ = "s3_ObjectRestore_Delete" -_sORDb = "s3:ObjectRestore:Delete" -_sL_ = "s3_LifecycleTransition" -_sLT = "s3:LifecycleTransition" -_sI = "s3_IntelligentTiering" -_sIT = "s3:IntelligentTiering" -_sOP___ = "s3_ObjectAcl_Put" -_sOAP = "s3:ObjectAcl:Put" -_sL__ = "s3_LifecycleExpiration_" -_sLE = "s3:LifecycleExpiration:*" -_sLD = "s3_LifecycleExpiration_Delete" -_sLED = "s3:LifecycleExpiration:Delete" -_sLD_ = "s3_LifecycleExpiration_DeleteMarkerCreated" -_sLEDMC = "s3:LifecycleExpiration:DeleteMarkerCreated" -_sO___ = "s3_ObjectTagging_" -_sOT = "s3:ObjectTagging:*" -_sOP____ = "s3_ObjectTagging_Put" -_sOTP = "s3:ObjectTagging:Put" -_sOD___ = "s3_ObjectTagging_Delete" -_sOTD = "s3:ObjectTagging:Delete" -_sO____ = "s3_ObjectAnnotation_" -_sOA = "s3:ObjectAnnotation:*" -_sOP_____ = "s3_ObjectAnnotation_Put" -_sOAPb = "s3:ObjectAnnotation:Put" -_sOD____ = "s3_ObjectAnnotation_Delete" -_sOAD = "s3:ObjectAnnotation:Delete" -_sOP______ = "s3_ObjectRetention_Put" -_sORPb = "s3:ObjectRetention:Put" -_EL = "EventList" -_FRN = "FilterRuleName" -_pre = "prefix" -_su = "suffix" -_FRV = "FilterRuleValue" -_FR = "FilterRule" -_FRL = "FilterRuleList" -_SKF = "S3KeyFilter" -_FRi = "FilterRules" -_NCF = "NotificationConfigurationFilter" -_SKe = "S3Key" -_NI = "NotificationId" -_LFA = "LambdaFunctionArn" -_LFC = "LambdaFunctionConfiguration" -_CF = "CloudFunction" -_Eve = "Events" -_LFCL = "LambdaFunctionConfigurationList" -_QA = "QueueArn" -_QC = "QueueConfiguration" -_Qu = "Queue" -_QCL = "QueueConfigurationList" -_TAo = "TopicArn" -_TC = "TopicConfiguration" -_To = "Topic" -_TCL = "TopicConfigurationList" -_GBNCO = "GetBucketNotificationConfigurationOutput" -_cNC = "com.amazonaws.s3#NotificationConfiguration" -_TCo = "TopicConfigurations" -_QCu = "QueueConfigurations" -_LFCa = "LambdaFunctionConfigurations" -_CFC = "CloudFunctionConfiguration" -_GBNC = "GetBucketNotificationConfiguration" -_GBOCI = "GetBucketOwnershipControlsInput" -_cGBOCR = "com.amazonaws.s3#GetBucketOwnershipControlsRequest" -_OCR = "OwnershipControlsRule" -_OCRw = "OwnershipControlsRules" -_OC = "OwnershipControls" -_GBOCO = "GetBucketOwnershipControlsOutput" -_GBOC = "GetBucketOwnershipControls" -_GBPI = "GetBucketPolicyInput" -_cGBPR = "com.amazonaws.s3#GetBucketPolicyRequest" -_Po = "Policy" -_GBPO = "GetBucketPolicyOutput" -_GBP = "GetBucketPolicy" -_GBPSI = "GetBucketPolicyStatusInput" -_cGBPSR = "com.amazonaws.s3#GetBucketPolicyStatusRequest" -_IP = "IsPublic" -_PS = "PolicyStatus" -_GBPSO = "GetBucketPolicyStatusOutput" -_GBPS = "GetBucketPolicyStatus" -_GBRI = "GetBucketReplicationInput" -_cGBRR = "com.amazonaws.s3#GetBucketReplicationRequest" -_DMRS = "DeleteMarkerReplicationStatus" -_DMR = "DeleteMarkerReplication" -_RKKID = "ReplicaKmsKeyID" -_Mi = "Minutes" -_RTV = "ReplicationTimeValue" -_MS = "MetricsStatus" -_Met = "Metrics" -_ETve = "EventThreshold" -_RTS = "ReplicationTimeStatus" -_RT = "ReplicationTime" -_Tim = "Time" -_Ac = "Account" -_EORS = "ExistingObjectReplicationStatus" -_EOR = "ExistingObjectReplication" -_RRAO = "ReplicationRuleAndOperator" -_RRF = "ReplicationRuleFilter" -_Pri = "Priority" -_RMS = "ReplicaModificationsStatus" -_RM = "ReplicaModifications" -_SKEOS = "SseKmsEncryptedObjectsStatus" -_SKEO = "SseKmsEncryptedObjects" -_SSC = "SourceSelectionCriteria" -_RRS = "ReplicationRuleStatus" -_RRe = "ReplicationRule" -_RRep = "ReplicationRules" -_RCe = "ReplicationConfiguration" -_GBRO = "GetBucketReplicationOutput" -_GBR = "GetBucketReplication" -_GBRPI = "GetBucketRequestPaymentInput" -_cGBRPR = "com.amazonaws.s3#GetBucketRequestPaymentRequest" -_Pay = "Payer" -_Re = "Requester" -_BO = "BucketOwner" -_GBRPO = "GetBucketRequestPaymentOutput" -_RPC = "RequestPaymentConfiguration" -_GBRP = "GetBucketRequestPayment" -_GBTI = "GetBucketTaggingInput" -_cGBTR = "com.amazonaws.s3#GetBucketTaggingRequest" -_GBTO = "GetBucketTaggingOutput" -_GBT = "GetBucketTagging" -_GBVI = "GetBucketVersioningInput" -_cGBVR = "com.amazonaws.s3#GetBucketVersioningRequest" -_MFADS = "MFADeleteStatus" -_BVS = "BucketVersioningStatus" -_GBVO = "GetBucketVersioningOutput" -_VCe = "VersioningConfiguration" -_MFAD = "MFADelete" -_MDf = "MfaDelete" -_GBV = "GetBucketVersioning" -_GBWI = "GetBucketWebsiteInput" -_cGBWR = "com.amazonaws.s3#GetBucketWebsiteRequest" -_EDr = "ErrorDocument" -_Suf = "Suffix" -_IDnd = "IndexDocument" -_HN = "HostName" -_Pro = "Protocol" -_h = "http" -_ht = "https" -_RART = "RedirectAllRequestsTo" -_HECRE = "HttpErrorCodeReturnedEquals" -_KPE = "KeyPrefixEquals" -_Con = "Condition" -_HRC = "HttpRedirectCode" -_RKPW = "ReplaceKeyPrefixWith" -_RKW = "ReplaceKeyWith" -_Red = "Redirect" -_RRo = "RoutingRule" -_RRou = "RoutingRules" -_GBWO = "GetBucketWebsiteOutput" -_WC = "WebsiteConfiguration" -_GBW = "GetBucketWebsite" -_CMh = "ChecksumMode" -_IMSf = "IfModifiedSince" -_IUS = "IfUnmodifiedSince" -_Ra = "Range" -_RCC = "ResponseCacheControl" -_RCD = "ResponseContentDisposition" -_RCE = "ResponseContentEncoding" -_RCL = "ResponseContentLanguage" -_RCT = "ResponseContentType" -_REe = "ResponseExpires" -_GOI = "GetObjectInput" -_cGOR = "com.amazonaws.s3#GetObjectRequest" -_IMS_ = "If-Modified-Since" -_IUS_ = "If-Unmodified-Since" -_rcc = "response-cache-control" -_rcd = "response-content-disposition" -_rce = "response-content-encoding" -_rcl = "response-content-language" -_rct = "response-content-type" -_re = "response-expires" -_pN = "partNumber" -_xacm_ = "x-amz-checksum-mode" -_SB = "StreamingBlob" -_smithya = "smithy.api#streaming" -_CLo = "ContentLength" -_CR = "ContentRange" -_MM = "MissingMeta" -_PC = "PartsCount" -_COMPLETE = "COMPLETE" -_PENDING = "PENDING" -_FAILED = "FAILED" -_REPLICA = "REPLICA" -_COMPLETED = "COMPLETED" -_Res = "Restore" -_TCa = "TagCount" -_GOO = "GetObjectOutput" -_Bo = "Body" -_smithyap = "smithy.api#default" -_v_ = "" -_ar___ = "accept-ranges" -_xar = "x-amz-restore" -_LM_ = "Last-Modified" -_CL__ = "Content-Length" -_xamm = "x-amz-missing-meta" -_CR_ = "Content-Range" -_xars = "x-amz-replication-status" -_xampc = "x-amz-mp-parts-count" -_xatc = "x-amz-tagging-count" -_IOS = "InvalidObjectState" -_GO = "GetObject" -_GOAI = "GetObjectAclInput" -_cGOAR = "com.amazonaws.s3#GetObjectAclRequest" -_GOAO = "GetObjectAclOutput" -_GOA = "GetObjectAcl" -_GOAIe = "GetObjectAnnotationInput" -_cGOARo = "com.amazonaws.s3#GetObjectAnnotationRequest" -_GOAOe = "GetObjectAnnotationOutput" -_AP = "AnnotationPayload" -_NSA = "NoSuchAnnotation" -_GOAe = "GetObjectAnnotation" -_MP = "MaxParts" -_OA = "ObjectAttributes" -_ETAG = "ETAG" -_CHECKSUM = "CHECKSUM" -_Ch = "Checksum" -_OP = "OBJECT_PARTS" -_OPb = "ObjectParts" -_SC___ = "STORAGE_CLASS" -_OS = "OBJECT_SIZE" -_OSb = "ObjectSize" -_OAL = "ObjectAttributesList" -_PNM = "PartNumberMarker" -_GOAIet = "GetObjectAttributesInput" -_cGOARom = "com.amazonaws.s3#GetObjectAttributesRequest" -_xamp = "x-amz-max-parts" -_xapnm = "x-amz-part-number-marker" -_xaoa = "x-amz-object-attributes" -_ITs = "IsTruncated" -_NPNM = "NextPartNumberMarker" -_OPbj = "ObjectPart" -_PL = "PartsList" -_GOAP = "GetObjectAttributesParts" -_TPC = "TotalPartsCount" -_GOAOet = "GetObjectAttributesOutput" -_GOAR = "GetObjectAttributesResponse" -_GOAet = "GetObjectAttributes" -_GOLHI = "GetObjectLegalHoldInput" -_cGOLHR = "com.amazonaws.s3#GetObjectLegalHoldRequest" -_OLLH = "ObjectLockLegalHold" -_GOLHO = "GetObjectLegalHoldOutput" -_LH = "LegalHold" -_GOLH = "GetObjectLegalHold" -_GOLCI = "GetObjectLockConfigurationInput" -_cGOLCR = "com.amazonaws.s3#GetObjectLockConfigurationRequest" -_OLE = "ObjectLockEnabled" -_Y = "Years" -_EHD = "EventHoldDuration" -_OLRM = "ObjectLockRetentionMode" -_DRef = "DefaultRetention" -_Mo = "Mode" -_DEH = "DefaultEventHold" -_OLR = "ObjectLockRule" -_OLC = "ObjectLockConfiguration" -_GOLCO = "GetObjectLockConfigurationOutput" -_GOLC = "GetObjectLockConfiguration" -_GORI = "GetObjectRetentionInput" -_cGORR = "com.amazonaws.s3#GetObjectRetentionRequest" -_OLRb = "ObjectLockRetention" -_RUD = "RetainUntilDate" -_EHv = "EventHold" -_GORO = "GetObjectRetentionOutput" -_Ret = "Retention" -_GOR = "GetObjectRetention" -_GOTI = "GetObjectTaggingInput" -_cGOTR = "com.amazonaws.s3#GetObjectTaggingRequest" -_GOTO = "GetObjectTaggingOutput" -_GOT = "GetObjectTagging" -_GOTIe = "GetObjectTorrentInput" -_cGOTRo = "com.amazonaws.s3#GetObjectTorrentRequest" -_GOTOe = "GetObjectTorrentOutput" -_GOTe = "GetObjectTorrent" -_GPABI = "GetPublicAccessBlockInput" -_cGPABR = "com.amazonaws.s3#GetPublicAccessBlockRequest" -_Se = "Setting" -_PABC = "PublicAccessBlockConfiguration" -_BPA = "BlockPublicAcls" -_IPA = "IgnorePublicAcls" -_BPP = "BlockPublicPolicy" -_RPB = "RestrictPublicBuckets" -_GPABO = "GetPublicAccessBlockOutput" -_GPAB = "GetPublicAccessBlock" -_HBI = "HeadBucketInput" -_cHBR = "com.amazonaws.s3#HeadBucketRequest" -_BLN = "BucketLocationName" -_Reg = "Region" -_HBO = "HeadBucketOutput" -_BLT = "BucketLocationType" -_xablt = "x-amz-bucket-location-type" -_xabln = "x-amz-bucket-location-name" -_BR = "BucketRegion" -_xabr = "x-amz-bucket-region" -_xaapa = "x-amz-access-point-alias" -_NF = "NotFound" -_HB = "HeadBucket" -_HOI = "HeadObjectInput" -_cHOR = "com.amazonaws.s3#HeadObjectRequest" -_ASr = "ArchiveStatus" -_HOO = "HeadObjectOutput" -_xaas = "x-amz-archive-status" -_HO = "HeadObject" -_Tok = "Token" -_LBACI = "ListBucketAnalyticsConfigurationsInput" -_cLBACR = "com.amazonaws.s3#ListBucketAnalyticsConfigurationsRequest" -_CTon = "ContinuationToken" -_ct = "continuation-token" -_ACLn = "AnalyticsConfigurationList" -_NT = "NextToken" -_LBACO = "ListBucketAnalyticsConfigurationsOutput" -_LBACR = "ListBucketAnalyticsConfigurationResult" -_NCT = "NextContinuationToken" -_LBAC = "ListBucketAnalyticsConfigurations" -_LBITCI = "ListBucketIntelligentTieringConfigurationsInput" -_cLBITCR = "com.amazonaws.s3#ListBucketIntelligentTieringConfigurationsRequest" -_ITCL = "IntelligentTieringConfigurationList" -_LBITCO = "ListBucketIntelligentTieringConfigurationsOutput" -_LBITC = "ListBucketIntelligentTieringConfigurations" -_LBICI = "ListBucketInventoryConfigurationsInput" -_cLBICR = "com.amazonaws.s3#ListBucketInventoryConfigurationsRequest" -_ICL = "InventoryConfigurationList" -_LBICO = "ListBucketInventoryConfigurationsOutput" -_LICR = "ListInventoryConfigurationsResult" -_LBIC = "ListBucketInventoryConfigurations" -_LBMCI = "ListBucketMetricsConfigurationsInput" -_cLBMCR = "com.amazonaws.s3#ListBucketMetricsConfigurationsRequest" -_MCL = "MetricsConfigurationList" -_LBMCO = "ListBucketMetricsConfigurationsOutput" -_LMCR = "ListMetricsConfigurationsResult" -_LBMC = "ListBucketMetricsConfigurations" -_MB = "MaxBuckets" -_LBI = "ListBucketsInput" -_cLBR = "com.amazonaws.s3#ListBucketsRequest" -_mb = "max-buckets" -_br = "bucket-region" -_CDr = "CreationDate" -_Bu = "Buckets" -_LBO = "ListBucketsOutput" -_LAMBR = "ListAllMyBucketsResult" -_LB = "ListBuckets" -_DBTi = "DirectoryBucketToken" -_MDB = "MaxDirectoryBuckets" -_LDBI = "ListDirectoryBucketsInput" -_cLDBR = "com.amazonaws.s3#ListDirectoryBucketsRequest" -_mdb = "max-directory-buckets" -_LDBO = "ListDirectoryBucketsOutput" -_LAMDBR = "ListAllMyDirectoryBucketsResult" -_LDB = "ListDirectoryBuckets" -_Deli = "Delimiter" -_ETnc = "EncodingType" -_u = "url" -_KM = "KeyMarker" -_MUa = "MaxUploads" -_UIM = "UploadIdMarker" -_LMUI = "ListMultipartUploadsInput" -_cLMUR = "com.amazonaws.s3#ListMultipartUploadsRequest" -_d = "delimiter" -_et = "encoding-type" -_km = "key-marker" -_mu = "max-uploads" -_uim = "upload-id-marker" -_CPo = "CommonPrefix" -_CPLo = "CommonPrefixList" -_NKM = "NextKeyMarker" -_NUIM = "NextUploadIdMarker" -_In = "Initiated" -_Ini = "Initiator" -_MUL = "MultipartUploadList" -_LMUO = "ListMultipartUploadsOutput" -_LMUR = "ListMultipartUploadsResult" -_U = "Uploads" -_Up = "Upload" -_CPom = "CommonPrefixes" -_LMU = "ListMultipartUploads" -_IPn = "InvalidPrefix" -_APn = "AnnotationPrefix" -_MAR = "MaxAnnotationResults" -_LOAI = "ListObjectAnnotationsInput" -_cLOAR = "com.amazonaws.s3#ListObjectAnnotationsRequest" -_mar = "max-annotation-results" -_ap = "annotation-prefix" -_ACnn = "AnnotationCount" -_CAL = "ChecksumAlgorithmList" -_AE = "AnnotationEntry" -_AL = "AnnotationList" -_LOAO = "ListObjectAnnotationsOutput" -_An = "Annotations" -_LOA = "ListObjectAnnotations" -_Ma = "Marker" -_MKa = "MaxKeys" -_OOA = "OptionalObjectAttributes" -_RS_ = "RESTORE_STATUS" -_RSe = "RestoreStatus" -_OOAL = "OptionalObjectAttributesList" -_LOI = "ListObjectsInput" -_cLOR = "com.amazonaws.s3#ListObjectsRequest" -_ma = "marker" -_mk = "max-keys" -_xaooa = "x-amz-optional-object-attributes" -_IRIP = "IsRestoreInProgress" -_REDe = "RestoreExpiryDate" -_OSC = "ObjectStorageClass" -_OL = "ObjectList" -_NM = "NextMarker" -_LOO = "ListObjectsOutput" -_LBR = "ListBucketResult" -_Cont = "Contents" -_LO = "ListObjects" -_FOe = "FetchOwner" -_SAt = "StartAfter" -_LOVI = "ListObjectsV2Input" -_cLOVR = "com.amazonaws.s3#ListObjectsV2Request" -_fo = "fetch-owner" -_sa = "start-after" -_KC = "KeyCount" -_LOVO = "ListObjectsV2Output" -_LOV = "ListObjectsV2" -_VIM = "VersionIdMarker" -_LOVIi = "ListObjectVersionsInput" -_cLOVRo = "com.amazonaws.s3#ListObjectVersionsRequest" -_vim = "version-id-marker" -_IL = "IsLatest" -_DME = "DeleteMarkerEntry" -_DMe = "DeleteMarkers" -_NVIM = "NextVersionIdMarker" -_OVSC = "ObjectVersionStorageClass" -_OV = "ObjectVersion" -_OVL = "ObjectVersionList" -_LOVOi = "ListObjectVersionsOutput" -_LVR = "ListVersionsResult" -_Ve = "Versions" -_Ver = "Version" -_LOVi = "ListObjectVersions" -_LPI = "ListPartsInput" -_cLPR = "com.amazonaws.s3#ListPartsRequest" -_mp = "max-parts" -_pnm = "part-number-marker" -_LPO = "ListPartsOutput" -_LPR = "ListPartsResult" -_LP = "ListParts" -_PBAI = "PutBucketAbacInput" -_cPBAR = "com.amazonaws.s3#PutBucketAbacRequest" -_PBAO = "PutBucketAbacOutput" -_PBA = "PutBucketAbac" -_PBACI = "PutBucketAccelerateConfigurationInput" -_cPBACR = "com.amazonaws.s3#PutBucketAccelerateConfigurationRequest" -_PBACO = "PutBucketAccelerateConfigurationOutput" -_PBAC = "PutBucketAccelerateConfiguration" -_PBAIu = "PutBucketAclInput" -_cPBARo = "com.amazonaws.s3#PutBucketAclRequest" -_PBAOu = "PutBucketAclOutput" -_PBAu = "PutBucketAcl" -_PBACIu = "PutBucketAnalyticsConfigurationInput" -_cPBACRo = "com.amazonaws.s3#PutBucketAnalyticsConfigurationRequest" -_PBACOu = "PutBucketAnalyticsConfigurationOutput" -_PBACu = "PutBucketAnalyticsConfiguration" -_PBCI = "PutBucketCorsInput" -_cPBCR = "com.amazonaws.s3#PutBucketCorsRequest" -_PBCO = "PutBucketCorsOutput" -_PBC = "PutBucketCors" -_PBEI = "PutBucketEncryptionInput" -_cPBER = "com.amazonaws.s3#PutBucketEncryptionRequest" -_PBEO = "PutBucketEncryptionOutput" -_PBE = "PutBucketEncryption" -_PBITCI = "PutBucketIntelligentTieringConfigurationInput" -_cPBITCR = "com.amazonaws.s3#PutBucketIntelligentTieringConfigurationRequest" -_PBITCO = "PutBucketIntelligentTieringConfigurationOutput" -_PBITC = "PutBucketIntelligentTieringConfiguration" -_PBICI = "PutBucketInventoryConfigurationInput" -_cPBICR = "com.amazonaws.s3#PutBucketInventoryConfigurationRequest" -_PBICO = "PutBucketInventoryConfigurationOutput" -_PBIC = "PutBucketInventoryConfiguration" -_BLCu = "BucketLifecycleConfiguration" -_PBLCI = "PutBucketLifecycleConfigurationInput" -_cPBLCR = "com.amazonaws.s3#PutBucketLifecycleConfigurationRequest" -_PBLCO = "PutBucketLifecycleConfigurationOutput" -_PBLC = "PutBucketLifecycleConfiguration" -_PBLI = "PutBucketLoggingInput" -_cPBLR = "com.amazonaws.s3#PutBucketLoggingRequest" -_PBLO = "PutBucketLoggingOutput" -_PBL = "PutBucketLogging" -_PBMCI = "PutBucketMetricsConfigurationInput" -_cPBMCR = "com.amazonaws.s3#PutBucketMetricsConfigurationRequest" -_PBMCO = "PutBucketMetricsConfigurationOutput" -_PBMC = "PutBucketMetricsConfiguration" -_NC = "NotificationConfiguration" -_SV = "SkipValidation" -_PBNCI = "PutBucketNotificationConfigurationInput" -_cPBNCR = "com.amazonaws.s3#PutBucketNotificationConfigurationRequest" -_SDV = "SkipDestinationValidation" -_xasdv = "x-amz-skip-destination-validation" -_PBNCO = "PutBucketNotificationConfigurationOutput" -_PBNC = "PutBucketNotificationConfiguration" -_PBOCI = "PutBucketOwnershipControlsInput" -_cPBOCR = "com.amazonaws.s3#PutBucketOwnershipControlsRequest" -_PBOCO = "PutBucketOwnershipControlsOutput" -_PBOC = "PutBucketOwnershipControls" -_CRSBA = "ConfirmRemoveSelfBucketAccess" -_PBPI = "PutBucketPolicyInput" -_cPBPR = "com.amazonaws.s3#PutBucketPolicyRequest" -_xacrsba = "x-amz-confirm-remove-self-bucket-access" -_PBPO = "PutBucketPolicyOutput" -_PBP = "PutBucketPolicy" -_OLT = "ObjectLockToken" -_PBRI = "PutBucketReplicationInput" -_cPBRR = "com.amazonaws.s3#PutBucketReplicationRequest" -_xabolt = "x-amz-bucket-object-lock-token" -_PBRO = "PutBucketReplicationOutput" -_PBR = "PutBucketReplication" -_PBRPI = "PutBucketRequestPaymentInput" -_cPBRPR = "com.amazonaws.s3#PutBucketRequestPaymentRequest" -_PBRPO = "PutBucketRequestPaymentOutput" -_PBRP = "PutBucketRequestPayment" -_PBTI = "PutBucketTaggingInput" -_cPBTR = "com.amazonaws.s3#PutBucketTaggingRequest" -_PBTO = "PutBucketTaggingOutput" -_PBT = "PutBucketTagging" -_PBVI = "PutBucketVersioningInput" -_cPBVR = "com.amazonaws.s3#PutBucketVersioningRequest" -_PBVO = "PutBucketVersioningOutput" -_PBV = "PutBucketVersioning" -_PBWI = "PutBucketWebsiteInput" -_cPBWR = "com.amazonaws.s3#PutBucketWebsiteRequest" -_PBWO = "PutBucketWebsiteOutput" -_PBW = "PutBucketWebsite" -_ETM = "EncryptionTypeMismatch" -_IR = "InvalidRequest" -_IWO = "InvalidWriteOffset" -_WOB = "WriteOffsetBytes" -_POI = "PutObjectInput" -_cPOR = "com.amazonaws.s3#PutObjectRequest" -_xawob = "x-amz-write-offset-bytes" -_POO = "PutObjectOutput" -_xaos = "x-amz-object-size" -_TMP = "TooManyParts" -_PO = "PutObject" -_POAI = "PutObjectAclInput" -_cPOAR = "com.amazonaws.s3#PutObjectAclRequest" -_POAO = "PutObjectAclOutput" -_POA = "PutObjectAcl" -_ALE = "AnnotationLimitExceeded" -_ANTL = "AnnotationNameTooLong" -_IAN = "InvalidAnnotationName" -_POAIu = "PutObjectAnnotationInput" -_cPOARo = "com.amazonaws.s3#PutObjectAnnotationRequest" -_POAOu = "PutObjectAnnotationOutput" -_UMT = "UnsupportedMediaType" -_POAu = "PutObjectAnnotation" -_POLHI = "PutObjectLegalHoldInput" -_cPOLHR = "com.amazonaws.s3#PutObjectLegalHoldRequest" -_POLHO = "PutObjectLegalHoldOutput" -_POLH = "PutObjectLegalHold" -_POLCI = "PutObjectLockConfigurationInput" -_cPOLCR = "com.amazonaws.s3#PutObjectLockConfigurationRequest" -_POLCO = "PutObjectLockConfigurationOutput" -_POLC = "PutObjectLockConfiguration" -_PORI = "PutObjectRetentionInput" -_cPORR = "com.amazonaws.s3#PutObjectRetentionRequest" -_PORO = "PutObjectRetentionOutput" -_POR = "PutObjectRetention" -_POTI = "PutObjectTaggingInput" -_cPOTR = "com.amazonaws.s3#PutObjectTaggingRequest" -_POTO = "PutObjectTaggingOutput" -_POT = "PutObjectTagging" -_PPABI = "PutPublicAccessBlockInput" -_cPPABR = "com.amazonaws.s3#PutPublicAccessBlockRequest" -_PPABO = "PutPublicAccessBlockOutput" -_PPAB = "PutPublicAccessBlock" -_IPM = "IdempotencyParameterMismatch" -_CTl = "ClientToken" -_RSen = "RenameSource" -_RSIM = "RenameSourceIfMatch" -_RSIMS = "RenameSourceIfModifiedSince" -_RSINM = "RenameSourceIfNoneMatch" -_RSIUS = "RenameSourceIfUnmodifiedSince" -_ROI = "RenameObjectInput" -_cROR = "com.amazonaws.s3#RenameObjectRequest" -_xars_ = "x-amz-rename-source" -_DIM = "DestinationIfMatch" -_DINM = "DestinationIfNoneMatch" -_DIMS = "DestinationIfModifiedSince" -_DIUS = "DestinationIfUnmodifiedSince" -_SIM = "SourceIfMatch" -_xarsim = "x-amz-rename-source-if-match" -_SINM = "SourceIfNoneMatch" -_xarsinm = "x-amz-rename-source-if-none-match" -_SIMS = "SourceIfModifiedSince" -_xarsims = "x-amz-rename-source-if-modified-since" -_SIUS = "SourceIfUnmodifiedSince" -_xarsius = "x-amz-rename-source-if-unmodified-since" -_xact_ = "x-amz-client-token" -_sT = "smithy.api#idempotencyToken" -_ROO = "RenameObjectOutput" -_ROe = "RenameObject" -_OAIATE = "ObjectAlreadyInActiveTierError" -_Des = "Description" -_Tier = "Tier" -_St = "Standard" -_Bul = "Bulk" -_Expe = "Expedited" -_GJP = "GlacierJobParameters" -_KMSC = "KMSContext" -_KMSKI = "KMSKeyId" -_LPo = "LocationPrefix" -_ME = "MetadataEntry" -_UM = "UserMetadata" -_SL = "S3Location" -_CACL = "CannedACL" -_OLu = "OutputLocation" -_S_ = "S3" -_Expr = "Expression" -_ETx = "ExpressionType" -_SQL = "SQL" -_CTom = "CompressionType" -_GZIP = "GZIP" -_BZIP = "BZIP2" -_Com = "Comments" -_FD = "FieldDelimiter" -_FHI = "FileHeaderInfo" -_USE = "USE" -_IGNORE = "IGNORE" -_QCuo = "QuoteCharacter" -_QEC = "QuoteEscapeCharacter" -_RD = "RecordDelimiter" -_CSVIn = "CSVInput" -_JSONT = "JSONType" -_DOCUMENT = "DOCUMENT" -_LINES = "LINES" -_JSONI = "JSONInput" -_PI = "ParquetInput" -_ISn = "InputSerialization" -_JSON = "JSON" -_QF = "QuoteFields" -_ALWAYS = "ALWAYS" -_ASNEEDED = "ASNEEDED" -_CSVO = "CSVOutput" -_JSONO = "JSONOutput" -_OSu = "OutputSerialization" -_SPe = "SelectParameters" -_RRT = "RestoreRequestType" -_SELECT = "SELECT" -_RRes = "RestoreRequest" -_ROIe = "RestoreObjectInput" -_cRORo = "com.amazonaws.s3#RestoreObjectRequest" -_ROP = "RestoreOutputPath" -_ROOe = "RestoreObjectOutput" -_xarop = "x-amz-restore-output-path" -_ROes = "RestoreObject" -_ERP = "EnableRequestProgress" -_RPe = "RequestProgress" -_End = "End" -_Sta = "Start" -_SR = "ScanRange" -_SOCI = "SelectObjectContentInput" -_cSOCR = "com.amazonaws.s3#SelectObjectContentRequest" -_CEo = "ContinuationEvent" -_EE = "EndEvent" -_BP = "BytesProcessed" -_BRy = "BytesReturned" -_BS = "BytesScanned" -_Prog = "Progress" -_PE = "ProgressEvent" -_Det = "Details" -_sPmi = "smithy.api#eventPayload" -_REec = "RecordsEvent" -_Payl = "Payload" -_Stat = "Stats" -_SEt = "StatsEvent" -_SOCES = "SelectObjectContentEventStream" -_Rec = "Records" -_Cont_ = "Cont" -_SOCO = "SelectObjectContentOutput" -_SOC = "SelectObjectContent" -_ATCU = "AnnotationTableConfigurationUpdates" -_UBMATCI = "UpdateBucketMetadataAnnotationTableConfigurationInput" -_cUBMATCR = "com.amazonaws.s3#UpdateBucketMetadataAnnotationTableConfigurationRequest" -_UBMATCO = "UpdateBucketMetadataAnnotationTableConfigurationOutput" -_UBMATC = "UpdateBucketMetadataAnnotationTableConfiguration" -_ITCU = "InventoryTableConfigurationUpdates" -_UBMITCI = "UpdateBucketMetadataInventoryTableConfigurationInput" -_cUBMITCR = "com.amazonaws.s3#UpdateBucketMetadataInventoryTableConfigurationRequest" -_UBMITCO = "UpdateBucketMetadataInventoryTableConfigurationOutput" -_UBMITC = "UpdateBucketMetadataInventoryTableConfiguration" -_JTCU = "JournalTableConfigurationUpdates" -_UBMJTCI = "UpdateBucketMetadataJournalTableConfigurationInput" -_cUBMJTCR = "com.amazonaws.s3#UpdateBucketMetadataJournalTableConfigurationRequest" -_UBMJTCO = "UpdateBucketMetadataJournalTableConfigurationOutput" -_UBMJTC = "UpdateBucketMetadataJournalTableConfiguration" -_NEKKAS = "NonEmptyKmsKeyArnString" -_SSEKMSE = "SSEKMSEncryption" -_KMSKA = "KMSKeyArn" -_OE = "ObjectEncryption" -_UOEI = "UpdateObjectEncryptionInput" -_cUOER = "com.amazonaws.s3#UpdateObjectEncryptionRequest" -_UOEO = "UpdateObjectEncryptionOutput" -_cUOERo = "com.amazonaws.s3#UpdateObjectEncryptionResponse" -_UOE = "UpdateObjectEncryption" -_UPI = "UploadPartInput" -_cUPR = "com.amazonaws.s3#UploadPartRequest" -_UPO = "UploadPartOutput" -_UP = "UploadPart" -_CSRo = "CopySourceRange" -_UPCI = "UploadPartCopyInput" -_cUPCR = "com.amazonaws.s3#UploadPartCopyRequest" -_xacsr = "x-amz-copy-source-range" -_CPR = "CopyPartResult" -_UPCO = "UploadPartCopyOutput" -_UPC = "UploadPartCopy" -_RReq = "RequestRoute" -_RTe = "RequestToken" -_GORSC = "GetObjectResponseStatusCode" -_WGORI = "WriteGetObjectResponseInput" -_cWGORR = "com.amazonaws.s3#WriteGetObjectResponseRequest" -_sLm = "smithy.api#hostLabel" -_xarr = "x-amz-request-route" -_xart = "x-amz-request-token" -_SCt = "StatusCode" -_xafs = "x-amz-fwd-status" -_xafec = "x-amz-fwd-error-code" -_xafem = "x-amz-fwd-error-message" -_xafhar = "x-amz-fwd-header-accept-ranges" -_xafhCC = "x-amz-fwd-header-Cache-Control" -_xafhCD = "x-amz-fwd-header-Content-Disposition" -_xafhCE = "x-amz-fwd-header-Content-Encoding" -_xafhCL = "x-amz-fwd-header-Content-Language" -_xafhCR = "x-amz-fwd-header-Content-Range" -_xafhCT = "x-amz-fwd-header-Content-Type" -_xafhxacc = "x-amz-fwd-header-x-amz-checksum-crc32" -_xafhxacc_ = "x-amz-fwd-header-x-amz-checksum-crc32c" -_xafhxacc__ = "x-amz-fwd-header-x-amz-checksum-crc64nvme" -_xafhxacs = "x-amz-fwd-header-x-amz-checksum-sha1" -_xafhxacs_ = "x-amz-fwd-header-x-amz-checksum-sha256" -_xafhxacs__ = "x-amz-fwd-header-x-amz-checksum-sha512" -_xafhxacm = "x-amz-fwd-header-x-amz-checksum-md5" -_xafhxacx = "x-amz-fwd-header-x-amz-checksum-xxhash64" -_xafhxacx_ = "x-amz-fwd-header-x-amz-checksum-xxhash3" -_xafhxacx__ = "x-amz-fwd-header-x-amz-checksum-xxhash128" -_xafhxadm = "x-amz-fwd-header-x-amz-delete-marker" -_xafhE = "x-amz-fwd-header-ETag" -_xafhE_ = "x-amz-fwd-header-Expires" -_xafhxae = "x-amz-fwd-header-x-amz-expiration" -_xafhLM = "x-amz-fwd-header-Last-Modified" -_xafhxamm = "x-amz-fwd-header-x-amz-missing-meta" -_xafhxaolm = "x-amz-fwd-header-x-amz-object-lock-mode" -_xafhxaollh = "x-amz-fwd-header-x-amz-object-lock-legal-hold" -_xafhxaolrud = "x-amz-fwd-header-x-amz-object-lock-retain-until-date" -_xafhxampc = "x-amz-fwd-header-x-amz-mp-parts-count" -_xafhxars = "x-amz-fwd-header-x-amz-replication-status" -_xafhxarc = "x-amz-fwd-header-x-amz-request-charged" -_xafhxar = "x-amz-fwd-header-x-amz-restore" -_xafhxasse = "x-amz-fwd-header-x-amz-server-side-encryption" -_xafhxasseca = "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm" -_xafhxasseakki = "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id" -_xafhxasseckM = "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5" -_xafhxasc = "x-amz-fwd-header-x-amz-storage-class" -_xafhxatc = "x-amz-fwd-header-x-amz-tagging-count" -_xafhxavi = "x-amz-fwd-header-x-amz-version-id" -_xafhxassebke = "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled" -_WGORO = "WriteGetObjectResponseOutput" -_WGOR = "WriteGetObjectResponse" -_aP = "aws.auth#unsignedPayload" -_smithyapi = "smithy.api#endpoint" -_ASm = "AmazonS3" -_awsa = "aws.auth#sigv4" -_aX = "aws.protocols#restXml" -_awsap = "aws.api#service" - -BUCKET_ABAC_STATUS: StaticSchema = ( - 14, - n0, - _BAS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -ABAC_STATUS: StaticSchema = (18, n0, _AS, 0, (_S,), ((BUCKET_ABAC_STATUS, 0),)) - -ABORT_DATE: StaticSchema = (4, n0, _AD, 0) - -DAYS_AFTER_INITIATION: StaticSchema = (7, n0, _DAI, 0) - -ABORT_INCOMPLETE_MULTIPART_UPLOAD: StaticSchema = ( - 18, - n0, - _AIMU, - 0, - (_DAI,), - ((DAYS_AFTER_INITIATION, 0),), -) - -BUCKET_NAME: StaticSchema = (3, n0, _BN, 0) - -ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) - -IF_MATCH_INITIATED_TIME: StaticSchema = (4, n0, _IMIT, {_sF: _hd}) - -OBJECT_KEY: StaticSchema = (3, n0, _OK, 0) - -REQUEST_PAYER: StaticSchema = (14, n0, _RP, 0, (_r,), ((-1, {_sV: _r}),)) - -MULTIPART_UPLOAD_ID: StaticSchema = (3, n0, _MUI, 0) - -ABORT_MULTIPART_UPLOAD_INPUT: StaticSchema = ( - 18, - n0, - _AMUI, - {_sSI: _cAMUR, _s: None}, - (_B, _K, _UI, _RP, _EBO, _IMIT), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (IF_MATCH_INITIATED_TIME, {_sH: _xaimit}), - ), -) - -REQUEST_CHARGED: StaticSchema = (14, n0, _RC, 0, (_r,), ((-1, {_sV: _r}),)) - -ABORT_MULTIPART_UPLOAD_OUTPUT: StaticSchema = ( - 18, - n0, - _AMUO, - {_smi: None}, - (_RC,), - ((REQUEST_CHARGED, {_sH: _xarc}),), -) - -NO_SUCH_UPLOAD: StaticSchema = (18, n0, _NSU, {_smit: _c, _sE: 404}) - -ABORT_MULTIPART_UPLOAD: StaticOperationSchema = ( - 23, - n0, - _AMU, - { - _smith: MappingProxyType( - { - "method": "DELETE", - "uri": "/{Key+}?x-id=AbortMultipartUpload", - "code": 204, - } - ) - }, - ABORT_MULTIPART_UPLOAD_INPUT, - ABORT_MULTIPART_UPLOAD_OUTPUT, - (NO_SUCH_UPLOAD,), -) - -ABORT_RULE_ID: StaticSchema = (3, n0, _ARI, 0) - -BUCKET_ACCELERATE_STATUS: StaticSchema = ( - 14, - n0, - _BASu, - 0, - (_E, _Su), - ((-1, {_sV: _E}), (-1, {_sV: _Su})), -) - -ACCELERATE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _AC, - 0, - (_S,), - ((BUCKET_ACCELERATE_STATUS, 0),), -) - -ACCEPT_RANGES: StaticSchema = (3, n0, _AR, 0) - -DISPLAY_NAME: StaticSchema = (3, n0, _DN, 0) - -EMAIL_ADDRESS: StaticSchema = (3, n0, _EA, 0) - -ID: StaticSchema = (3, n0, _ID, 0) - -TYPE: StaticSchema = ( - 14, - n0, - _T, - 0, - (_CU, _ACBE, _G), - ((-1, {_sV: _CU}), (-1, {_sV: _ACBE}), (-1, {_sV: _G})), -) - -URI: StaticSchema = (3, n0, _URI, 0) - -GRANTEE: StaticSchema = ( - 18, - n0, - _Gr, - 0, - (_DN, _EA, _ID, _URI, _T), - ( - (DISPLAY_NAME, 0), - (EMAIL_ADDRESS, 0), - (ID, 0), - (URI, 0), - (TYPE, {_sN: _x, _sA: None, _sm: None}), - ), -) - -PERMISSION: StaticSchema = ( - 14, - n0, - _P, - 0, - (_FC, _WRITE, _WA, _READ, _RA), - ( - (-1, {_sV: _FC}), - (-1, {_sV: _WRITE}), - (-1, {_sV: _WA}), - (-1, {_sV: _READ}), - (-1, {_sV: _RA}), - ), -) - -GRANT: StaticSchema = ( - 18, - n0, - _Gra, - 0, - (_Gr, _P), - ( - ( - GRANTEE, - { - _sNm: MappingProxyType( - { - "uri": "http://www.w3.org/2001/XMLSchema-instance", - "prefix": "xsi", - } - ) - }, - ), - (PERMISSION, 0), - ), -) - -GRANTS: StaticSchema = (16, n0, _Gran, 0, (_m,), ((GRANT, {_sN: _Gra}),)) - -OWNER: StaticSchema = (18, n0, _O, 0, (_DN, _ID), ((DISPLAY_NAME, 0), (ID, 0))) - -ACCESS_CONTROL_POLICY: StaticSchema = ( - 18, - n0, - _ACP, - 0, - (_Gran, _O), - ((GRANTS, {_sN: _ACL}), (OWNER, 0)), -) - -OWNER_OVERRIDE: StaticSchema = (14, n0, _OO, 0, (_De,), ((-1, {_sV: _De}),)) - -ACCESS_CONTROL_TRANSLATION: StaticSchema = ( - 18, - n0, - _ACT, - 0, - (_O,), - ((OWNER_OVERRIDE, 1),), -) - -ACCESS_DENIED: StaticSchema = (18, n0, _ADc, {_smit: _c, _sE: 403}) - -ACCESS_KEY_ID_VALUE: StaticSchema = (3, n0, _AKIV, 0) - -ACCESS_POINT_ALIAS: StaticSchema = (2, n0, _APA, 0) - -ACCESS_POINT_ARN: StaticSchema = (3, n0, _APAc, 0) - -ALLOWED_HEADER: StaticSchema = (3, n0, _AH, 0) - -ALLOWED_HEADERS: StaticSchema = (16, n0, _AHl, 0, (_m,), ((ALLOWED_HEADER, 0),)) - -ALLOWED_METHOD: StaticSchema = (3, n0, _AM, 0) - -ALLOWED_METHODS: StaticSchema = (16, n0, _AMl, 0, (_m,), ((ALLOWED_METHOD, 0),)) - -ALLOWED_ORIGIN: StaticSchema = (3, n0, _AO, 0) - -ALLOWED_ORIGINS: StaticSchema = (16, n0, _AOl, 0, (_m,), ((ALLOWED_ORIGIN, 0),)) - -ALLOW_QUOTED_RECORD_DELIMITER: StaticSchema = (2, n0, _AQRD, 0) - -CHECKSUM_CRC32: StaticSchema = (3, n0, _CCRC, 0) - -CHECKSUM_CRC32_C: StaticSchema = (3, n0, _CCRCC, 0) - -CHECKSUM_CRC64_NVME: StaticSchema = (3, n0, _CCRCNVME, 0) - -CHECKSUM_MD5: StaticSchema = (3, n0, _CMD, 0) - -CHECKSUM_SHA1: StaticSchema = (3, n0, _CSHA, 0) - -CHECKSUM_SHA256: StaticSchema = (3, n0, _CSHAh, 0) - -CHECKSUM_SHA512: StaticSchema = (3, n0, _CSHAhe, 0) - -CHECKSUM_TYPE: StaticSchema = ( - 14, - n0, - _CT, - 0, - (_COMPOSITE, _FO), - ((-1, {_sV: _COMPOSITE}), (-1, {_sV: _FO})), -) - -CHECKSUM_XXHASH128: StaticSchema = (3, n0, _CXXHASH, 0) - -CHECKSUM_XXHASH3: StaticSchema = (3, n0, _CXXHASHh, 0) - -CHECKSUM_XXHASH64: StaticSchema = (3, n0, _CXXHASHhe, 0) - -IF_MATCH: StaticSchema = (3, n0, _IM, 0) - -IF_NONE_MATCH: StaticSchema = (3, n0, _INM, 0) - -MPU_OBJECT_SIZE: StaticSchema = (8, n0, _MOS, 0) - -E_TAG: StaticSchema = (3, n0, _ET, 0) - -PART_NUMBER: StaticSchema = (7, n0, _PN, 0) - -COMPLETED_PART: StaticSchema = ( - 18, - n0, - _CP, - 0, - ( - _ET, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _PN, - ), - ( - (E_TAG, 0), - (CHECKSUM_CRC32, 0), - (CHECKSUM_CRC32_C, 0), - (CHECKSUM_CRC64_NVME, 0), - (CHECKSUM_SHA1, 0), - (CHECKSUM_SHA256, 0), - (CHECKSUM_SHA512, 0), - (CHECKSUM_MD5, 0), - (CHECKSUM_XXHASH64, 0), - (CHECKSUM_XXHASH3, 0), - (CHECKSUM_XXHASH128, 0), - (PART_NUMBER, 0), - ), -) - -COMPLETED_PART_LIST: StaticSchema = (16, n0, _CPL, 0, (_m,), ((COMPLETED_PART, 0),)) - -COMPLETED_MULTIPART_UPLOAD: StaticSchema = ( - 18, - n0, - _CMU, - 0, - (_Pa,), - ((COMPLETED_PART_LIST, {_sN: _Par, _sFm: None}),), -) - -SSE_CUSTOMER_ALGORITHM: StaticSchema = (3, n0, _SSECA, 0) - -SSE_CUSTOMER_KEY: StaticSchema = (3, n0, _SSECK, 4) - -SSE_CUSTOMER_KEY_MD5: StaticSchema = (3, n0, _SSECKMD, 0) - -COMPLETE_MULTIPART_UPLOAD_INPUT: StaticSchema = ( - 18, - n0, - _CMUI, - {_sSI: _cCMUR, _s: None}, - ( - _B, - _K, - _MU, - _UI, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _CT, - _MOS, - _RP, - _EBO, - _IM, - _INM, - _SSECA, - _SSECK, - _SSECKMD, - ), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (COMPLETED_MULTIPART_UPLOAD, {_sN: _CMUo, _sPm: None}), - (MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (CHECKSUM_TYPE, {_sH: _xact}), - (MPU_OBJECT_SIZE, {_sH: _xamos}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (IF_MATCH, {_sH: _IM_}), - (IF_NONE_MATCH, {_sH: _INM_}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - ), -) - -BUCKET_KEY_ENABLED: StaticSchema = (2, n0, _BKE, 0) - -EXPIRATION: StaticSchema = (3, n0, _Ex, 0) - -LOCATION: StaticSchema = (3, n0, _L, 0) - -SERVER_SIDE_ENCRYPTION: StaticSchema = ( - 14, - n0, - _SSE, - 0, - (_AES, _af, _ab, _ak, _akd), - ( - (-1, {_sV: _AES}), - (-1, {_sV: _a}), - (-1, {_sV: _aw}), - (-1, {_sV: _aws}), - (-1, {_sV: _awsk}), - ), -) - -SSEKMS_KEY_ID: StaticSchema = (3, n0, _SSEKMSKI, 4) - -OBJECT_VERSION_ID: StaticSchema = (3, n0, _OVI, 0) - -COMPLETE_MULTIPART_UPLOAD_OUTPUT: StaticSchema = ( - 18, - n0, - _CMUO, - {_sN: _CMUR, _smi: None}, - ( - _L, - _B, - _K, - _Ex, - _ET, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _CT, - _SSE, - _VI, - _SSEKMSKI, - _BKE, - _RC, - ), - ( - (LOCATION, 0), - (BUCKET_NAME, 0), - (OBJECT_KEY, 0), - (EXPIRATION, {_sH: _xae}), - (E_TAG, 0), - (CHECKSUM_CRC32, 0), - (CHECKSUM_CRC32_C, 0), - (CHECKSUM_CRC64_NVME, 0), - (CHECKSUM_SHA1, 0), - (CHECKSUM_SHA256, 0), - (CHECKSUM_SHA512, 0), - (CHECKSUM_MD5, 0), - (CHECKSUM_XXHASH64, 0), - (CHECKSUM_XXHASH3, 0), - (CHECKSUM_XXHASH128, 0), - (CHECKSUM_TYPE, 0), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (OBJECT_VERSION_ID, {_sH: _xavi}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -COMPLETE_MULTIPART_UPLOAD: StaticOperationSchema = ( - 23, - n0, - _CMUo, - {_smith: MappingProxyType({"method": "POST", "uri": "/{Key+}", "code": 200})}, - COMPLETE_MULTIPART_UPLOAD_INPUT, - COMPLETE_MULTIPART_UPLOAD_OUTPUT, - (), -) - -OBJECT_CANNED_ACL: StaticSchema = ( - 14, - n0, - _OCACL, - 0, - (_p, _pr, _prw, _ar, _aer, _bor, _bofc), - ( - (-1, {_sV: _p}), - (-1, {_sV: _pr_}), - (-1, {_sV: _prw_}), - (-1, {_sV: _ar_}), - (-1, {_sV: _aer_}), - (-1, {_sV: _bor_}), - (-1, {_sV: _bofc_}), - ), -) - -ANNOTATION_DIRECTIVE: StaticSchema = ( - 14, - n0, - _ADn, - 0, - (_COPY, _EXCLUDE), - ((-1, {_sV: _COPY}), (-1, {_sV: _EXCLUDE})), -) - -CACHE_CONTROL: StaticSchema = (3, n0, _CC, 0) - -CHECKSUM_ALGORITHM: StaticSchema = ( - 14, - n0, - _CA, - 0, - (_CRC, _CRCC, _SHA, _SHA_, _CRCNVME, _SHA__, _MD, _XXHASH, _XXHASH_, _XXHASH__), - ( - (-1, {_sV: _CRC}), - (-1, {_sV: _CRCC}), - (-1, {_sV: _SHA}), - (-1, {_sV: _SHA_}), - (-1, {_sV: _CRCNVME}), - (-1, {_sV: _SHA__}), - (-1, {_sV: _MD}), - (-1, {_sV: _XXHASH}), - (-1, {_sV: _XXHASH_}), - (-1, {_sV: _XXHASH__}), - ), -) - -CONTENT_DISPOSITION: StaticSchema = (3, n0, _CD, 0) - -CONTENT_ENCODING: StaticSchema = (3, n0, _CE, 0) - -CONTENT_LANGUAGE: StaticSchema = (3, n0, _CL, 0) - -CONTENT_TYPE: StaticSchema = (3, n0, _CTo, 0) - -COPY_SOURCE: StaticSchema = (3, n0, _CS, 0) - -COPY_SOURCE_IF_MATCH: StaticSchema = (3, n0, _CSIM, 0) - -COPY_SOURCE_IF_MODIFIED_SINCE: StaticSchema = (4, n0, _CSIMS, 0) - -COPY_SOURCE_IF_NONE_MATCH: StaticSchema = (3, n0, _CSINM, 0) - -COPY_SOURCE_IF_UNMODIFIED_SINCE: StaticSchema = (4, n0, _CSIUS, 0) - -COPY_SOURCE_SSE_CUSTOMER_ALGORITHM: StaticSchema = (3, n0, _CSSSECA, 0) - -COPY_SOURCE_SSE_CUSTOMER_KEY: StaticSchema = (3, n0, _CSSSECK, 4) - -COPY_SOURCE_SSE_CUSTOMER_KEY_MD5: StaticSchema = (3, n0, _CSSSECKMD, 0) - -EXPIRES: StaticSchema = (3, n0, _Exp, 0) - -GRANT_FULL_CONTROL: StaticSchema = (3, n0, _GFC, 0) - -GRANT_READ: StaticSchema = (3, n0, _GR, 0) - -GRANT_READ_ACP: StaticSchema = (3, n0, _GRACP, 0) - -GRANT_WRITE_ACP: StaticSchema = (3, n0, _GWACP, 0) - -METADATA_KEY: StaticSchema = (3, n0, _MK, 0) - -METADATA_VALUE: StaticSchema = (3, n0, _MV, 0) - -METADATA: StaticSchema = ( - 17, - n0, - _M, - 0, - (_k, _v), - ((METADATA_KEY, 0), (METADATA_VALUE, 0)), -) - -METADATA_DIRECTIVE: StaticSchema = ( - 14, - n0, - _MDe, - 0, - (_COPY, _REPLACE), - ((-1, {_sV: _COPY}), (-1, {_sV: _REPLACE})), -) - -OBJECT_LOCK_EVENT_HOLD: StaticSchema = ( - 14, - n0, - _OLEH, - 0, - (_ON, _OFF), - ((-1, {_sV: _ON}), (-1, {_sV: _OFF})), -) - -OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS: StaticSchema = (7, n0, _OLEHDD, 0) - -OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS: StaticSchema = (7, n0, _OLEHDY, 0) - -OBJECT_LOCK_LEGAL_HOLD_STATUS: StaticSchema = ( - 14, - n0, - _OLLHS, - 0, - (_ON, _OFF), - ((-1, {_sV: _ON}), (-1, {_sV: _OFF})), -) - -OBJECT_LOCK_MODE: StaticSchema = ( - 14, - n0, - _OLM, - 0, - (_GOVERNANCE, _COMPLIANCE), - ((-1, {_sV: _GOVERNANCE}), (-1, {_sV: _COMPLIANCE})), -) - -OBJECT_LOCK_RETAIN_UNTIL_DATE: StaticSchema = (4, n0, _OLRUD, {_sF: _dt}) - -SSEKMS_ENCRYPTION_CONTEXT: StaticSchema = (3, n0, _SSEKMSEC, 4) - -STORAGE_CLASS: StaticSchema = ( - 14, - n0, - _SC, - 0, - ( - _STANDARD, - _RR, - _SI, - _OI, - _IT, - _GLACIER, - _DA, - _OUTPOSTS, - _GI, - _SNOW, - _EO, - _FO_, - _FO__, - _ABW, - _ABLCW, - ), - ( - (-1, {_sV: _STANDARD}), - (-1, {_sV: _RR}), - (-1, {_sV: _SI}), - (-1, {_sV: _OI}), - (-1, {_sV: _IT}), - (-1, {_sV: _GLACIER}), - (-1, {_sV: _DA}), - (-1, {_sV: _OUTPOSTS}), - (-1, {_sV: _GI}), - (-1, {_sV: _SNOW}), - (-1, {_sV: _EO}), - (-1, {_sV: _FO_}), - (-1, {_sV: _FO__}), - (-1, {_sV: _ABW}), - (-1, {_sV: _ABLCW}), - ), -) - -TAGGING_HEADER: StaticSchema = (3, n0, _TH, 0) - -TAGGING_DIRECTIVE: StaticSchema = ( - 14, - n0, - _TD, - 0, - (_COPY, _REPLACE), - ((-1, {_sV: _COPY}), (-1, {_sV: _REPLACE})), -) - -WEBSITE_REDIRECT_LOCATION: StaticSchema = (3, n0, _WRL, 0) - -COPY_OBJECT_INPUT: StaticSchema = ( - 18, - n0, - _COI, - {_sSI: _cCOR, _s: None}, - ( - _ACL_, - _B, - _CC, - _CA, - _CD, - _CE, - _CL, - _CTo, - _CS, - _CSIM, - _CSIMS, - _CSINM, - _CSIUS, - _Exp, - _GFC, - _GR, - _GRACP, - _GWACP, - _IM, - _INM, - _K, - _M, - _MDe, - _TD, - _ADn, - _SSE, - _SC, - _WRL, - _SSECA, - _SSECK, - _SSECKMD, - _SSEKMSKI, - _SSEKMSEC, - _BKE, - _CSSSECA, - _CSSSECK, - _CSSSECKMD, - _RP, - _Ta, - _OLM, - _OLRUD, - _OLLHS, - _OLEH, - _OLEHDD, - _OLEHDY, - _EBO, - _ESBO, - ), - ( - (OBJECT_CANNED_ACL, {_sH: _xaa}), - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CACHE_CONTROL, {_sH: _CC_}), - (CHECKSUM_ALGORITHM, {_sH: _xaca}), - (CONTENT_DISPOSITION, {_sH: _CD_}), - (CONTENT_ENCODING, {_sH: _CE_}), - (CONTENT_LANGUAGE, {_sH: _CL_}), - (CONTENT_TYPE, {_sH: _CT_}), - ( - COPY_SOURCE, - {_sH: _xacs___, _sP: MappingProxyType({"name": "CopySource"}), _sm: None}, - ), - (COPY_SOURCE_IF_MATCH, {_sH: _xacsim}), - (COPY_SOURCE_IF_MODIFIED_SINCE, {_sH: _xacsims}), - (COPY_SOURCE_IF_NONE_MATCH, {_sH: _xacsinm}), - (COPY_SOURCE_IF_UNMODIFIED_SINCE, {_sH: _xacsius}), - (EXPIRES, {_sH: _Exp}), - (GRANT_FULL_CONTROL, {_sH: _xagfc}), - (GRANT_READ, {_sH: _xagr}), - (GRANT_READ_ACP, {_sH: _xagra}), - (GRANT_WRITE_ACP, {_sH: _xagwa}), - (IF_MATCH, {_sH: _IM_}), - (IF_NONE_MATCH, {_sH: _INM_}), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (METADATA, {_sPH: _xam}), - (METADATA_DIRECTIVE, {_sH: _xamd}), - (TAGGING_DIRECTIVE, {_sH: _xatd}), - (ANNOTATION_DIRECTIVE, {_sH: _xaoad}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (STORAGE_CLASS, {_sH: _xasc}), - (WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (COPY_SOURCE_SSE_CUSTOMER_ALGORITHM, {_sH: _xacssseca}), - (COPY_SOURCE_SSE_CUSTOMER_KEY, {_sH: _xacssseck}), - (COPY_SOURCE_SSE_CUSTOMER_KEY_MD5, {_sH: _xacssseckM}), - (REQUEST_PAYER, {_sH: _xarp}), - (TAGGING_HEADER, {_sH: _xat}), - (OBJECT_LOCK_MODE, {_sH: _xaolm}), - (OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), - (OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), - (OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), - (ACCOUNT_ID, {_sH: _xaebo}), - (ACCOUNT_ID, {_sH: _xasebo}), - ), -) - -LAST_MODIFIED: StaticSchema = (4, n0, _LM, 0) - -COPY_OBJECT_RESULT: StaticSchema = ( - 18, - n0, - _COR, - 0, - ( - _ET, - _LM, - _CT, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - ), - ( - (E_TAG, 0), - (LAST_MODIFIED, 0), - (CHECKSUM_TYPE, 0), - (CHECKSUM_CRC32, 0), - (CHECKSUM_CRC32_C, 0), - (CHECKSUM_CRC64_NVME, 0), - (CHECKSUM_SHA1, 0), - (CHECKSUM_SHA256, 0), - (CHECKSUM_SHA512, 0), - (CHECKSUM_MD5, 0), - (CHECKSUM_XXHASH64, 0), - (CHECKSUM_XXHASH3, 0), - (CHECKSUM_XXHASH128, 0), - ), -) - -COPY_SOURCE_VERSION_ID: StaticSchema = (3, n0, _CSVI, 0) - -COPY_OBJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _COO, - {_smi: None}, - (_COR, _Ex, _CSVI, _VI, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RC), - ( - (COPY_OBJECT_RESULT, 16), - (EXPIRATION, {_sH: _xae}), - (COPY_SOURCE_VERSION_ID, {_sH: _xacsvi}), - (OBJECT_VERSION_ID, {_sH: _xavi}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -OBJECT_NOT_IN_ACTIVE_TIER_ERROR: StaticSchema = (18, n0, _ONIATE, {_smit: _c, _sE: 403}) - -COPY_OBJECT: StaticOperationSchema = ( - 23, - n0, - _CO, - { - _sCP: MappingProxyType( - {"DisableS3ExpressSessionAuth": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?x-id=CopyObject", "code": 200} - ), - }, - COPY_OBJECT_INPUT, - COPY_OBJECT_OUTPUT, - (OBJECT_NOT_IN_ACTIVE_TIER_ERROR,), -) - -BUCKET_ALREADY_EXISTS: StaticSchema = (18, n0, _BAE, {_smit: _c, _sE: 409}) - -BUCKET_ALREADY_OWNED_BY_YOU: StaticSchema = (18, n0, _BAOBY, {_smit: _c, _sE: 409}) - -BUCKET_CANNED_ACL: StaticSchema = ( - 14, - n0, - _BCACL, - 0, - (_p, _pr, _prw, _ar), - ((-1, {_sV: _p}), (-1, {_sV: _pr_}), (-1, {_sV: _prw_}), (-1, {_sV: _ar_})), -) - -BUCKET_NAMESPACE: StaticSchema = ( - 14, - n0, - _BNu, - 0, - (_AR_, _GLOBAL), - ((-1, {_sV: _ar__}), (-1, {_sV: _g})), -) - -DATA_REDUNDANCY: StaticSchema = ( - 14, - n0, - _DR, - 0, - (_SAZ, _SLZ), - ((-1, {_sV: _SAZ}), (-1, {_sV: _SLZ})), -) - -BUCKET_TYPE: StaticSchema = (14, n0, _BT, 0, (_Di,), ((-1, {_sV: _Di}),)) - -BUCKET_INFO: StaticSchema = ( - 18, - n0, - _BI, - 0, - (_DR, _T), - ((DATA_REDUNDANCY, 0), (BUCKET_TYPE, 0)), -) - -LOCATION_NAME_AS_STRING: StaticSchema = (3, n0, _LNAS, 0) - -LOCATION_TYPE: StaticSchema = ( - 14, - n0, - _LT, - 0, - (_AZ, _LZ), - ((-1, {_sV: _AZ}), (-1, {_sV: _LZ})), -) - -LOCATION_INFO: StaticSchema = ( - 18, - n0, - _LI, - 0, - (_T, _N), - ((LOCATION_TYPE, 0), (LOCATION_NAME_AS_STRING, 0)), -) - -BUCKET_LOCATION_CONSTRAINT: StaticSchema = ( - 14, - n0, - _BLC, - 0, - ( - _as, - _ae, - _ae__, - _an, - _an__, - _an____, - _as__, - _as____, - _as______, - _as________, - _as__________, - _as____________, - _as______________, - _as________________, - _as__________________, - _cc, - _cw, - _cn, - _cn__, - _EU, - _ec, - _ec__, - _en, - _es, - _es__, - _ew, - _ew__, - _ew____, - _ic, - _mc, - _ms, - _mc__, - _se, - _ue, - _uge, - _ugw, - _uw, - _uw__, - ), - ( - (-1, {_sV: _as_}), - (-1, {_sV: _ae_}), - (-1, {_sV: _ae___}), - (-1, {_sV: _an_}), - (-1, {_sV: _an___}), - (-1, {_sV: _an_____}), - (-1, {_sV: _as___}), - (-1, {_sV: _as_____}), - (-1, {_sV: _as_______}), - (-1, {_sV: _as_________}), - (-1, {_sV: _as___________}), - (-1, {_sV: _as_____________}), - (-1, {_sV: _as_______________}), - (-1, {_sV: _as_________________}), - (-1, {_sV: _as___________________}), - (-1, {_sV: _cc_}), - (-1, {_sV: _cw_}), - (-1, {_sV: _cn_}), - (-1, {_sV: _cn___}), - (-1, {_sV: _EU}), - (-1, {_sV: _ec_}), - (-1, {_sV: _ec___}), - (-1, {_sV: _en_}), - (-1, {_sV: _es_}), - (-1, {_sV: _es___}), - (-1, {_sV: _ew_}), - (-1, {_sV: _ew___}), - (-1, {_sV: _ew_____}), - (-1, {_sV: _ic_}), - (-1, {_sV: _mc_}), - (-1, {_sV: _ms_}), - (-1, {_sV: _mc___}), - (-1, {_sV: _se_}), - (-1, {_sV: _ue_}), - (-1, {_sV: _uge_}), - (-1, {_sV: _ugw_}), - (-1, {_sV: _uw_}), - (-1, {_sV: _uw___}), - ), -) - -VALUE: StaticSchema = (3, n0, _V, 0) - -TAG: StaticSchema = (18, n0, _Tag, 0, (_K, _V), ((OBJECT_KEY, 1), (VALUE, 1))) - -TAG_SET: StaticSchema = (16, n0, _TS, 0, (_m,), ((TAG, {_sN: _Tag}),)) - -CREATE_BUCKET_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CBC, - 0, - (_LC, _L, _B, _Tags), - ( - (BUCKET_LOCATION_CONSTRAINT, 0), - (LOCATION_INFO, 0), - (BUCKET_INFO, 0), - (TAG_SET, 0), - ), -) - -GRANT_WRITE: StaticSchema = (3, n0, _GW, 0) - -OBJECT_LOCK_ENABLED_FOR_BUCKET: StaticSchema = (2, n0, _OLEFB, 0) - -OBJECT_OWNERSHIP: StaticSchema = ( - 14, - n0, - _OOb, - 0, - (_BOP, _OW, _BOE), - ((-1, {_sV: _BOP}), (-1, {_sV: _OW}), (-1, {_sV: _BOE})), -) - -CREATE_BUCKET_INPUT: StaticSchema = ( - 18, - n0, - _CBI, - {_sSI: _cCBR, _s: None}, - (_ACL_, _B, _CBC, _GFC, _GR, _GRACP, _GW, _GWACP, _OLEFB, _OOb, _BNu), - ( - (BUCKET_CANNED_ACL, {_sH: _xaa}), - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CREATE_BUCKET_CONFIGURATION, {_sN: _CBC, _sPm: None}), - (GRANT_FULL_CONTROL, {_sH: _xagfc}), - (GRANT_READ, {_sH: _xagr}), - (GRANT_READ_ACP, {_sH: _xagra}), - (GRANT_WRITE, {_sH: _xagw}), - (GRANT_WRITE_ACP, {_sH: _xagwa}), - (OBJECT_LOCK_ENABLED_FOR_BUCKET, {_sH: _xabole}), - (OBJECT_OWNERSHIP, {_sH: _xaoo}), - (BUCKET_NAMESPACE, {_sH: _xabn}), - ), -) - -S3_REGIONAL_OR_S3_EXPRESS_BUCKET_ARN_STRING: StaticSchema = (3, n0, _SROSEBAS, 0) - -CREATE_BUCKET_OUTPUT: StaticSchema = ( - 18, - n0, - _CBO, - {_smi: None}, - (_L, _BA), - ( - (LOCATION, {_sH: _L}), - (S3_REGIONAL_OR_S3_EXPRESS_BUCKET_ARN_STRING, {_sH: _xaba}), - ), -) - -CREATE_BUCKET: StaticOperationSchema = ( - 23, - n0, - _CB, - { - _sCP: MappingProxyType( - { - "UseS3ExpressControlEndpoint": MappingProxyType({"value": True}), - "DisableAccessPoints": MappingProxyType({"value": True}), - } - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/", "code": 200}), - }, - CREATE_BUCKET_INPUT, - CREATE_BUCKET_OUTPUT, - (BUCKET_ALREADY_EXISTS, BUCKET_ALREADY_OWNED_BY_YOU), -) - -CONTENT_MD5: StaticSchema = (3, n0, _CMDo, 0) - -ANNOTATION_CONFIGURATION_STATE: StaticSchema = ( - 14, - n0, - _ACS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) - -TABLE_SSE_ALGORITHM: StaticSchema = ( - 14, - n0, - _TSA, - 0, - (_ak, _AES), - ((-1, {_sV: _aws}), (-1, {_sV: _AES})), -) - -METADATA_TABLE_ENCRYPTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MTEC, - 0, - (_SA, _KKA), - ((TABLE_SSE_ALGORITHM, 1), (KMS_KEY_ARN, 0)), -) - -ROLE: StaticSchema = (3, n0, _R, 0) - -ANNOTATION_TABLE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ATC, - 0, - (_CSo, _EC, _R), - ( - (ANNOTATION_CONFIGURATION_STATE, 1), - (METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0), - (ROLE, 0), - ), -) - -INVENTORY_CONFIGURATION_STATE: StaticSchema = ( - 14, - n0, - _ICS, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -INVENTORY_TABLE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ITC, - 0, - (_CSo, _EC), - ((INVENTORY_CONFIGURATION_STATE, 1), (METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0)), -) - -RECORD_EXPIRATION_DAYS: StaticSchema = (7, n0, _RED, 0) - -EXPIRATION_STATE: StaticSchema = ( - 14, - n0, - _ES, - 0, - (_ENABLED, _DISABLED), - ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), -) - -RECORD_EXPIRATION: StaticSchema = ( - 18, - n0, - _RE, - 0, - (_Ex, _Da), - ((EXPIRATION_STATE, 1), (RECORD_EXPIRATION_DAYS, 0)), -) - -JOURNAL_TABLE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _JTC, - 0, - (_RE, _EC), - ((RECORD_EXPIRATION, 1), (METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0)), -) - -METADATA_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MC, - 0, - (_JTC, _ITC, _ATC), - ( - (JOURNAL_TABLE_CONFIGURATION, 1), - (INVENTORY_TABLE_CONFIGURATION, 0), - (ANNOTATION_TABLE_CONFIGURATION, 0), - ), -) - -CREATE_BUCKET_METADATA_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _CBMCI, - {_sSI: _cCBMCR, _s: None}, - (_B, _CMDo, _CA, _MC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (METADATA_CONFIGURATION, {_sN: _MC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -CREATE_BUCKET_METADATA_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CBMCO, - {_sSI: _sU, _smi: None}, -) - -CREATE_BUCKET_METADATA_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _CBMC, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "POST", "uri": "/?metadataConfiguration", "code": 200} - ), - }, - CREATE_BUCKET_METADATA_CONFIGURATION_INPUT, - CREATE_BUCKET_METADATA_CONFIGURATION_OUTPUT, - (), -) - -S3_TABLES_BUCKET_ARN: StaticSchema = (3, n0, _STBA, 0) - -S3_TABLES_NAME: StaticSchema = (3, n0, _STN, 0) - -S3_TABLES_DESTINATION: StaticSchema = ( - 18, - n0, - _STD, - 0, - (_TBA, _TN), - ((S3_TABLES_BUCKET_ARN, 1), (S3_TABLES_NAME, 1)), -) - -METADATA_TABLE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MTC, - 0, - (_STD,), - ((S3_TABLES_DESTINATION, 1),), -) - -CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _CBMTCI, - {_sSI: _cCBMTCR, _s: None}, - (_B, _CMDo, _CA, _MTC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (METADATA_TABLE_CONFIGURATION, {_sN: _MTC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CBMTCO, - {_sSI: _sU, _smi: None}, -) - -CREATE_BUCKET_METADATA_TABLE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _CBMTC, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "POST", "uri": "/?metadataTable", "code": 200} - ), - }, - CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT, - CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT, - (), -) - -CREATE_MULTIPART_UPLOAD_INPUT: StaticSchema = ( - 18, - n0, - _CMUIr, - {_sSI: _cCMURo, _s: None}, - ( - _ACL_, - _B, - _CC, - _CD, - _CE, - _CL, - _CTo, - _Exp, - _GFC, - _GR, - _GRACP, - _GWACP, - _K, - _M, - _SSE, - _SC, - _WRL, - _SSECA, - _SSECK, - _SSECKMD, - _SSEKMSKI, - _SSEKMSEC, - _BKE, - _RP, - _Ta, - _OLM, - _OLRUD, - _OLLHS, - _OLEH, - _OLEHDD, - _OLEHDY, - _EBO, - _CA, - _CT, - ), - ( - (OBJECT_CANNED_ACL, {_sH: _xaa}), - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CACHE_CONTROL, {_sH: _CC_}), - (CONTENT_DISPOSITION, {_sH: _CD_}), - (CONTENT_ENCODING, {_sH: _CE_}), - (CONTENT_LANGUAGE, {_sH: _CL_}), - (CONTENT_TYPE, {_sH: _CT_}), - (EXPIRES, {_sH: _Exp}), - (GRANT_FULL_CONTROL, {_sH: _xagfc}), - (GRANT_READ, {_sH: _xagr}), - (GRANT_READ_ACP, {_sH: _xagra}), - (GRANT_WRITE_ACP, {_sH: _xagwa}), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (METADATA, {_sPH: _xam}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (STORAGE_CLASS, {_sH: _xasc}), - (WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (REQUEST_PAYER, {_sH: _xarp}), - (TAGGING_HEADER, {_sH: _xat}), - (OBJECT_LOCK_MODE, {_sH: _xaolm}), - (OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), - (OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), - (OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), - (ACCOUNT_ID, {_sH: _xaebo}), - (CHECKSUM_ALGORITHM, {_sH: _xaca}), - (CHECKSUM_TYPE, {_sH: _xact}), - ), -) - -CREATE_MULTIPART_UPLOAD_OUTPUT: StaticSchema = ( - 18, - n0, - _CMUOr, - {_sN: _IMUR, _smi: None}, - ( - _AD, - _ARI, - _B, - _K, - _UI, - _SSE, - _SSECA, - _SSECKMD, - _SSEKMSKI, - _SSEKMSEC, - _BKE, - _RC, - _CA, - _CT, - ), - ( - (ABORT_DATE, {_sH: _xaad}), - (ABORT_RULE_ID, {_sH: _xaari}), - (BUCKET_NAME, {_sN: _B}), - (OBJECT_KEY, 0), - (MULTIPART_UPLOAD_ID, 0), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (REQUEST_CHARGED, {_sH: _xarc}), - (CHECKSUM_ALGORITHM, {_sH: _xaca}), - (CHECKSUM_TYPE, {_sH: _xact}), - ), -) - -CREATE_MULTIPART_UPLOAD: StaticOperationSchema = ( - 23, - n0, - _CMUr, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/{Key+}?uploads", "code": 200} - ) - }, - CREATE_MULTIPART_UPLOAD_INPUT, - CREATE_MULTIPART_UPLOAD_OUTPUT, - (), -) - -SESSION_MODE: StaticSchema = ( - 14, - n0, - _SM, - 0, - (_RO, _RW), - ((-1, {_sV: _RO}), (-1, {_sV: _RW})), -) - -CREATE_SESSION_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_sSI: _cCSR, _s: None}, - (_SM, _B, _SSE, _SSEKMSKI, _SSEKMSEC, _BKE), - ( - (SESSION_MODE, {_sH: _xacsm}), - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - ), -) - -SESSION_EXPIRATION: StaticSchema = (4, n0, _SE, 0) - -SESSION_CREDENTIAL_VALUE: StaticSchema = (3, n0, _SCV, 4) - -SESSION_CREDENTIALS: StaticSchema = ( - 18, - n0, - _SCe, - 0, - (_AKI, _SAK, _ST, _Ex), - ( - (ACCESS_KEY_ID_VALUE, {_sN: _AKI, _sm: None}), - (SESSION_CREDENTIAL_VALUE, {_sN: _SAK, _sm: None}), - (SESSION_CREDENTIAL_VALUE, {_sN: _ST, _sm: None}), - (SESSION_EXPIRATION, {_sN: _Ex, _sm: None}), - ), -) - -CREATE_SESSION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_sN: _CSR, _smi: None}, - (_SSE, _SSEKMSKI, _SSEKMSEC, _BKE, _C), - ( - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (SESSION_CREDENTIALS, {_sN: _C, _sm: None}), - ), -) - -NO_SUCH_BUCKET: StaticSchema = (18, n0, _NSB, {_smit: _c, _sE: 404}) - -CREATE_SESSION: StaticOperationSchema = ( - 23, - n0, - _CSr, - { - _sCP: MappingProxyType( - {"DisableS3ExpressSessionAuth": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?session", "code": 200}), - }, - CREATE_SESSION_INPUT, - CREATE_SESSION_OUTPUT, - (NO_SUCH_BUCKET,), -) - -DELETE_BUCKET_INPUT: StaticSchema = ( - 18, - n0, - _DBI, - {_sSI: _cDBR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_OUTPUT: StaticSchema = (18, n0, _DBO, {_sSI: _sU, _smi: None}) - -DELETE_BUCKET: StaticOperationSchema = ( - 23, - n0, - _DB, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "DELETE", "uri": "/", "code": 204}), - }, - DELETE_BUCKET_INPUT, - DELETE_BUCKET_OUTPUT, - (), -) - -ANALYTICS_ID: StaticSchema = (3, n0, _AIn, 0) - -DELETE_BUCKET_ANALYTICS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DBACI, - {_sSI: _cDBACR, _s: None}, - (_B, _I, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ANALYTICS_ID, {_sQ: _i, _sm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DBACO, - {_sSI: _sU, _smi: None}, -) - -DELETE_BUCKET_ANALYTICS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DBAC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?analytics", "code": 204} - ), - }, - DELETE_BUCKET_ANALYTICS_CONFIGURATION_INPUT, - DELETE_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT, - (), -) - -DELETE_BUCKET_CORS_INPUT: StaticSchema = ( - 18, - n0, - _DBCI, - {_sSI: _cDBCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_CORS_OUTPUT: StaticSchema = (18, n0, _DBCO, {_sSI: _sU, _smi: None}) - -DELETE_BUCKET_CORS: StaticOperationSchema = ( - 23, - n0, - _DBC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "DELETE", "uri": "/?cors", "code": 204}), - }, - DELETE_BUCKET_CORS_INPUT, - DELETE_BUCKET_CORS_OUTPUT, - (), -) - -DELETE_BUCKET_ENCRYPTION_INPUT: StaticSchema = ( - 18, - n0, - _DBEI, - {_sSI: _cDBER, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_ENCRYPTION_OUTPUT: StaticSchema = (18, n0, _DBEO, {_sSI: _sU, _smi: None}) - -DELETE_BUCKET_ENCRYPTION: StaticOperationSchema = ( - 23, - n0, - _DBE, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?encryption", "code": 204} - ), - }, - DELETE_BUCKET_ENCRYPTION_INPUT, - DELETE_BUCKET_ENCRYPTION_OUTPUT, - (), -) - -INTELLIGENT_TIERING_ID: StaticSchema = (3, n0, _ITI, 0) - -DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DBITCI, - {_sSI: _cDBITCR, _s: None}, - (_B, _I, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (INTELLIGENT_TIERING_ID, {_sQ: _i, _sm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DBITCO, - {_sSI: _sU, _smi: None}, -) - -DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DBITC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?intelligent-tiering", "code": 204} - ), - }, - DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT, - DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT, - (), -) - -INVENTORY_ID: StaticSchema = (3, n0, _II, 0) - -DELETE_BUCKET_INVENTORY_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DBICI, - {_sSI: _cDBICR, _s: None}, - (_B, _I, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (INVENTORY_ID, {_sQ: _i, _sm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_INVENTORY_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DBICO, - {_sSI: _sU, _smi: None}, -) - -DELETE_BUCKET_INVENTORY_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DBIC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?inventory", "code": 204} - ), - }, - DELETE_BUCKET_INVENTORY_CONFIGURATION_INPUT, - DELETE_BUCKET_INVENTORY_CONFIGURATION_OUTPUT, - (), -) - -DELETE_BUCKET_LIFECYCLE_INPUT: StaticSchema = ( - 18, - n0, - _DBLI, - {_sSI: _cDBLR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_LIFECYCLE_OUTPUT: StaticSchema = (18, n0, _DBLO, {_sSI: _sU, _smi: None}) - -DELETE_BUCKET_LIFECYCLE: StaticOperationSchema = ( - 23, - n0, - _DBL, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?lifecycle", "code": 204} - ), - }, - DELETE_BUCKET_LIFECYCLE_INPUT, - DELETE_BUCKET_LIFECYCLE_OUTPUT, - (), -) - -DELETE_BUCKET_METADATA_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DBMCI, - {_sSI: _cDBMCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_METADATA_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DBMCO, - {_sSI: _sU, _smi: None}, -) - -DELETE_BUCKET_METADATA_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DBMC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?metadataConfiguration", "code": 204} - ), - }, - DELETE_BUCKET_METADATA_CONFIGURATION_INPUT, - DELETE_BUCKET_METADATA_CONFIGURATION_OUTPUT, - (), -) - -DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DBMTCI, - {_sSI: _cDBMTCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DBMTCO, - {_sSI: _sU, _smi: None}, -) - -DELETE_BUCKET_METADATA_TABLE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DBMTC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?metadataTable", "code": 204} - ), - }, - DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT, - DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT, - (), -) - -METRICS_ID: StaticSchema = (3, n0, _MI, 0) - -DELETE_BUCKET_METRICS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DBMCIe, - {_sSI: _cDBMCRo, _s: None}, - (_B, _I, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (METRICS_ID, {_sQ: _i, _sm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_METRICS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DBMCOe, - {_sSI: _sU, _smi: None}, -) - -DELETE_BUCKET_METRICS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DBMCe, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "DELETE", "uri": "/?metrics", "code": 204}), - }, - DELETE_BUCKET_METRICS_CONFIGURATION_INPUT, - DELETE_BUCKET_METRICS_CONFIGURATION_OUTPUT, - (), -) - -DELETE_BUCKET_OWNERSHIP_CONTROLS_INPUT: StaticSchema = ( - 18, - n0, - _DBOCI, - {_sSI: _cDBOCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_OWNERSHIP_CONTROLS_OUTPUT: StaticSchema = ( - 18, - n0, - _DBOCO, - {_sSI: _sU, _smi: None}, -) - -DELETE_BUCKET_OWNERSHIP_CONTROLS: StaticOperationSchema = ( - 23, - n0, - _DBOC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?ownershipControls", "code": 204} - ), - }, - DELETE_BUCKET_OWNERSHIP_CONTROLS_INPUT, - DELETE_BUCKET_OWNERSHIP_CONTROLS_OUTPUT, - (), -) - -DELETE_BUCKET_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DBPI, - {_sSI: _cDBPR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_POLICY_OUTPUT: StaticSchema = (18, n0, _DBPO, {_sSI: _sU, _smi: None}) - -DELETE_BUCKET_POLICY: StaticOperationSchema = ( - 23, - n0, - _DBP, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "DELETE", "uri": "/?policy", "code": 204}), - }, - DELETE_BUCKET_POLICY_INPUT, - DELETE_BUCKET_POLICY_OUTPUT, - (), -) - -DELETE_BUCKET_REPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _DBRI, - {_sSI: _cDBRR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_REPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DBRO, - {_sSI: _sU, _smi: None}, -) - -DELETE_BUCKET_REPLICATION: StaticOperationSchema = ( - 23, - n0, - _DBR, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?replication", "code": 204} - ), - }, - DELETE_BUCKET_REPLICATION_INPUT, - DELETE_BUCKET_REPLICATION_OUTPUT, - (), -) - -DELETE_BUCKET_TAGGING_INPUT: StaticSchema = ( - 18, - n0, - _DBTI, - {_sSI: _cDBTR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_TAGGING_OUTPUT: StaticSchema = (18, n0, _DBTO, {_sSI: _sU, _smi: None}) - -DELETE_BUCKET_TAGGING: StaticOperationSchema = ( - 23, - n0, - _DBT, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "DELETE", "uri": "/?tagging", "code": 204}), - }, - DELETE_BUCKET_TAGGING_INPUT, - DELETE_BUCKET_TAGGING_OUTPUT, - (), -) - -DELETE_BUCKET_WEBSITE_INPUT: StaticSchema = ( - 18, - n0, - _DBWI, - {_sSI: _cDBWR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_BUCKET_WEBSITE_OUTPUT: StaticSchema = (18, n0, _DBWO, {_sSI: _sU, _smi: None}) - -DELETE_BUCKET_WEBSITE: StaticOperationSchema = ( - 23, - n0, - _DBW, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "DELETE", "uri": "/?website", "code": 204}), - }, - DELETE_BUCKET_WEBSITE_INPUT, - DELETE_BUCKET_WEBSITE_OUTPUT, - (), -) - -BYPASS_GOVERNANCE_RETENTION: StaticSchema = (2, n0, _BGR, 0) - -IF_MATCH_LAST_MODIFIED_TIME: StaticSchema = (4, n0, _IMLMT, {_sF: _hd}) - -IF_MATCH_SIZE: StaticSchema = (8, n0, _IMS, 0) - -MFA: StaticSchema = (3, n0, _MFA, 0) - -DELETE_OBJECT_INPUT: StaticSchema = ( - 18, - n0, - _DOI, - {_sSI: _cDOR, _s: None}, - (_B, _K, _MFA, _VI, _RP, _BGR, _EBO, _IM, _IMLMT, _IMS), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (MFA, {_sH: _xam_}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (REQUEST_PAYER, {_sH: _xarp}), - (BYPASS_GOVERNANCE_RETENTION, {_sH: _xabgr}), - (ACCOUNT_ID, {_sH: _xaebo}), - (IF_MATCH, {_sH: _IM_}), - (IF_MATCH_LAST_MODIFIED_TIME, {_sH: _xaimlmt}), - (IF_MATCH_SIZE, {_sH: _xaims}), - ), -) - -DELETE_MARKER: StaticSchema = (2, n0, _DM, 0) - -DELETE_OBJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _DOO, - {_smi: None}, - (_DM, _VI, _RC), - ( - (DELETE_MARKER, {_sH: _xadm}), - (OBJECT_VERSION_ID, {_sH: _xavi}), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -DELETE_OBJECT: StaticOperationSchema = ( - 23, - n0, - _DO, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/{Key+}?x-id=DeleteObject", "code": 204} - ) - }, - DELETE_OBJECT_INPUT, - DELETE_OBJECT_OUTPUT, - (), -) - -ANNOTATION_NAME: StaticSchema = (3, n0, _AN, 0) - -OBJECT_IF_MATCH: StaticSchema = (3, n0, _OIM, 0) - -DELETE_OBJECT_ANNOTATION_INPUT: StaticSchema = ( - 18, - n0, - _DOAI, - {_sSI: _cDOAR, _s: None}, - (_B, _K, _AN, _VI, _RP, _EBO, _OIM), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (ANNOTATION_NAME, {_sQ: _aN, _sm: None}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (OBJECT_IF_MATCH, {_sH: _xaoim}), - ), -) - -DELETE_OBJECT_ANNOTATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DOAO, - {_smi: None}, - (_OVI, _RC), - ((OBJECT_VERSION_ID, {_sH: _xaovi}), (REQUEST_CHARGED, {_sH: _xarc})), -) - -NO_SUCH_KEY: StaticSchema = (18, n0, _NSK, {_smit: _c, _sE: 404}) - -DELETE_OBJECT_ANNOTATION: StaticOperationSchema = ( - 23, - n0, - _DOA, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/{Key+}?annotation", "code": 204} - ) - }, - DELETE_OBJECT_ANNOTATION_INPUT, - DELETE_OBJECT_ANNOTATION_OUTPUT, - (NO_SUCH_BUCKET, NO_SUCH_KEY), -) - -LAST_MODIFIED_TIME: StaticSchema = (4, n0, _LMT, {_sF: _hd}) - -SIZE: StaticSchema = (8, n0, _Si, 0) - -OBJECT_IDENTIFIER: StaticSchema = ( - 18, - n0, - _OIb, - 0, - (_K, _VI, _ET, _LMT, _Si), - ( - (OBJECT_KEY, 1), - (OBJECT_VERSION_ID, 0), - (E_TAG, 0), - (LAST_MODIFIED_TIME, 0), - (SIZE, 0), - ), -) - -OBJECT_IDENTIFIER_LIST: StaticSchema = ( - 16, - n0, - _OIL, - 0, - (_m,), - ((OBJECT_IDENTIFIER, 0),), -) - -QUIET: StaticSchema = (2, n0, _Q, 0) - -DELETE: StaticSchema = ( - 18, - n0, - _Del, - 0, - (_Ob, _Q), - ((OBJECT_IDENTIFIER_LIST, {_sN: _Obj, _sFm: None, _sm: None}), (QUIET, 0)), -) - -DELETE_OBJECTS_INPUT: StaticSchema = ( - 18, - n0, - _DOIe, - {_sSI: _cDORo, _s: None}, - (_B, _Del, _MFA, _RP, _BGR, _EBO, _CA), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (DELETE, {_sN: _Del, _sm: None, _sPm: None}), - (MFA, {_sH: _xam_}), - (REQUEST_PAYER, {_sH: _xarp}), - (BYPASS_GOVERNANCE_RETENTION, {_sH: _xabgr}), - (ACCOUNT_ID, {_sH: _xaebo}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - ), -) - -DELETE_MARKER_VERSION_ID: StaticSchema = (3, n0, _DMVI, 0) - -DELETED_OBJECT: StaticSchema = ( - 18, - n0, - _DOe, - 0, - (_K, _VI, _DM, _DMVI), - ( - (OBJECT_KEY, 0), - (OBJECT_VERSION_ID, 0), - (DELETE_MARKER, 0), - (DELETE_MARKER_VERSION_ID, 0), - ), -) - -DELETED_OBJECTS: StaticSchema = (16, n0, _DOel, 0, (_m,), ((DELETED_OBJECT, 0),)) - -CODE: StaticSchema = (3, n0, _Co, 0) - -MESSAGE: StaticSchema = (3, n0, _Me, 0) - -ERROR: StaticSchema = ( - 18, - n0, - _Er, - 0, - (_K, _VI, _Co, _Me), - ((OBJECT_KEY, 0), (OBJECT_VERSION_ID, 0), (CODE, 0), (MESSAGE, 0)), -) - -ERRORS: StaticSchema = (16, n0, _Err, 0, (_m,), ((ERROR, 0),)) - -DELETE_OBJECTS_OUTPUT: StaticSchema = ( - 18, - n0, - _DOOe, - {_sN: _DRe, _smi: None}, - (_Dele, _RC, _Err), - ( - (DELETED_OBJECTS, {_sFm: None}), - (REQUEST_CHARGED, {_sH: _xarc}), - (ERRORS, {_sN: _Er, _sFm: None}), - ), -) - -DELETE_OBJECTS: StaticOperationSchema = ( - 23, - n0, - _DOele, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _smith: MappingProxyType({"method": "POST", "uri": "/?delete", "code": 200}), - }, - DELETE_OBJECTS_INPUT, - DELETE_OBJECTS_OUTPUT, - (), -) - -DELETE_OBJECT_TAGGING_INPUT: StaticSchema = ( - 18, - n0, - _DOTI, - {_sSI: _cDOTR, _s: None}, - (_B, _K, _VI, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_OBJECT_TAGGING_OUTPUT: StaticSchema = ( - 18, - n0, - _DOTO, - {_smi: None}, - (_VI,), - ((OBJECT_VERSION_ID, {_sH: _xavi}),), -) - -DELETE_OBJECT_TAGGING: StaticOperationSchema = ( - 23, - n0, - _DOT, - { - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/{Key+}?tagging", "code": 204} - ) - }, - DELETE_OBJECT_TAGGING_INPUT, - DELETE_OBJECT_TAGGING_OUTPUT, - (), -) - -DELETE_PUBLIC_ACCESS_BLOCK_INPUT: StaticSchema = ( - 18, - n0, - _DPABI, - {_sSI: _cDPABR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_PUBLIC_ACCESS_BLOCK_OUTPUT: StaticSchema = ( - 18, - n0, - _DPABO, - {_sSI: _sU, _smi: None}, -) - -DELETE_PUBLIC_ACCESS_BLOCK: StaticOperationSchema = ( - 23, - n0, - _DPAB, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "DELETE", "uri": "/?publicAccessBlock", "code": 204} - ), - }, - DELETE_PUBLIC_ACCESS_BLOCK_INPUT, - DELETE_PUBLIC_ACCESS_BLOCK_OUTPUT, - (), -) - -GET_BUCKET_ABAC_INPUT: StaticSchema = ( - 18, - n0, - _GBAI, - {_sSI: _cGBAR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -GET_BUCKET_ABAC_OUTPUT: StaticSchema = ( - 18, - n0, - _GBAO, - {_smi: None}, - (_AS,), - ((ABAC_STATUS, 16),), -) - -GET_BUCKET_ABAC: StaticOperationSchema = ( - 23, - n0, - _GBA, - {_smith: MappingProxyType({"method": "GET", "uri": "/?abac", "code": 200})}, - GET_BUCKET_ABAC_INPUT, - GET_BUCKET_ABAC_OUTPUT, - (), -) - -GET_BUCKET_ACCELERATE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GBACI, - {_sSI: _cGBACR, _s: None}, - (_B, _EBO, _RP), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - (REQUEST_PAYER, {_sH: _xarp}), - ), -) - -GET_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBACO, - {_sN: _AC, _smi: None}, - (_S, _RC), - ((BUCKET_ACCELERATE_STATUS, 0), (REQUEST_CHARGED, {_sH: _xarc})), -) - -GET_BUCKET_ACCELERATE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GBAC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?accelerate", "code": 200}), - }, - GET_BUCKET_ACCELERATE_CONFIGURATION_INPUT, - GET_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT, - (), -) - -GET_BUCKET_ACL_INPUT: StaticSchema = ( - 18, - n0, - _GBAIe, - {_sSI: _cGBARo, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -GET_BUCKET_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _GBAOe, - {_sN: _ACP, _smi: None}, - (_O, _Gran), - ((OWNER, 0), (GRANTS, {_sN: _ACL})), -) - -GET_BUCKET_ACL: StaticOperationSchema = ( - 23, - n0, - _GBAe, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?acl", "code": 200}), - }, - GET_BUCKET_ACL_INPUT, - GET_BUCKET_ACL_OUTPUT, - (), -) - -GET_BUCKET_ANALYTICS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GBACIe, - {_sSI: _cGBACRo, _s: None}, - (_B, _I, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ANALYTICS_ID, {_sQ: _i, _sm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PREFIX: StaticSchema = (3, n0, _Pr, 0) - -ANALYTICS_AND_OPERATOR: StaticSchema = ( - 18, - n0, - _AAO, - 0, - (_Pr, _Tags), - ((PREFIX, 0), (TAG_SET, {_sN: _Tag, _sFm: None})), -) - -ANALYTICS_FILTER: StaticSchema = ( - 19, - n0, - _AF, - 0, - (_Pr, _Tag, _A), - ((PREFIX, 0), (TAG, 0), (ANALYTICS_AND_OPERATOR, 0)), -) - -ANALYTICS_S3_EXPORT_FILE_FORMAT: StaticSchema = ( - 14, - n0, - _ASEFF, - 0, - (_CSV,), - ((-1, {_sV: _CSV}),), -) - -ANALYTICS_S3_BUCKET_DESTINATION: StaticSchema = ( - 18, - n0, - _ASBD, - 0, - (_F, _BAI, _B, _Pr), - ( - (ANALYTICS_S3_EXPORT_FILE_FORMAT, 1), - (ACCOUNT_ID, 0), - (BUCKET_NAME, 1), - (PREFIX, 0), - ), -) - -ANALYTICS_EXPORT_DESTINATION: StaticSchema = ( - 18, - n0, - _AED, - 0, - (_SBD,), - ((ANALYTICS_S3_BUCKET_DESTINATION, 1),), -) - -STORAGE_CLASS_ANALYSIS_SCHEMA_VERSION: StaticSchema = ( - 14, - n0, - _SCASV, - 0, - (_V_,), - ((-1, {_sV: _V_}),), -) - -STORAGE_CLASS_ANALYSIS_DATA_EXPORT: StaticSchema = ( - 18, - n0, - _SCADE, - 0, - (_OSV, _De), - ((STORAGE_CLASS_ANALYSIS_SCHEMA_VERSION, 1), (ANALYTICS_EXPORT_DESTINATION, 1)), -) - -STORAGE_CLASS_ANALYSIS: StaticSchema = ( - 18, - n0, - _SCA, - 0, - (_DE,), - ((STORAGE_CLASS_ANALYSIS_DATA_EXPORT, 0),), -) - -ANALYTICS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ACn, - 0, - (_I, _Fi, _SCA), - ((ANALYTICS_ID, 1), (ANALYTICS_FILTER, 0), (STORAGE_CLASS_ANALYSIS, 1)), -) - -GET_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBACOe, - {_smi: None}, - (_ACn,), - ((ANALYTICS_CONFIGURATION, 16),), -) - -GET_BUCKET_ANALYTICS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GBACe, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/?analytics&x-id=GetBucketAnalyticsConfiguration", - "code": 200, - } - ), - }, - GET_BUCKET_ANALYTICS_CONFIGURATION_INPUT, - GET_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT, - (), -) - -GET_BUCKET_CORS_INPUT: StaticSchema = ( - 18, - n0, - _GBCI, - {_sSI: _cGBCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -EXPOSE_HEADER: StaticSchema = (3, n0, _EH, 0) - -EXPOSE_HEADERS: StaticSchema = (16, n0, _EHx, 0, (_m,), ((EXPOSE_HEADER, 0),)) - -MAX_AGE_SECONDS: StaticSchema = (7, n0, _MAS, 0) - -CORS_RULE: StaticSchema = ( - 18, - n0, - _CORSR, - 0, - (_ID, _AHl, _AMl, _AOl, _EHx, _MAS), - ( - (ID, 0), - (ALLOWED_HEADERS, {_sN: _AH, _sFm: None}), - (ALLOWED_METHODS, {_sN: _AM, _sFm: None, _sm: None}), - (ALLOWED_ORIGINS, {_sN: _AO, _sFm: None, _sm: None}), - (EXPOSE_HEADERS, {_sN: _EH, _sFm: None}), - (MAX_AGE_SECONDS, 0), - ), -) - -CORS_RULES: StaticSchema = (16, n0, _CORSRu, 0, (_m,), ((CORS_RULE, 0),)) - -GET_BUCKET_CORS_OUTPUT: StaticSchema = ( - 18, - n0, - _GBCO, - {_sN: _CORSC, _smi: None}, - (_CORSRu,), - ((CORS_RULES, {_sN: _CORSR, _sFm: None}),), -) - -GET_BUCKET_CORS: StaticOperationSchema = ( - 23, - n0, - _GBC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?cors", "code": 200}), - }, - GET_BUCKET_CORS_INPUT, - GET_BUCKET_CORS_OUTPUT, - (), -) - -GET_BUCKET_ENCRYPTION_INPUT: StaticSchema = ( - 18, - n0, - _GBEI, - {_sSI: _cGBER, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -SERVER_SIDE_ENCRYPTION_BY_DEFAULT: StaticSchema = ( - 18, - n0, - _SSEBD, - 0, - (_SSEA, _KMSMKID), - ((SERVER_SIDE_ENCRYPTION, 1), (SSEKMS_KEY_ID, 0)), -) - -ENCRYPTION_TYPE: StaticSchema = ( - 14, - n0, - _ETn, - 0, - (_NONE, _SC_), - ((-1, {_sV: _NONE}), (-1, {_sV: _SC__})), -) - -ENCRYPTION_TYPE_LIST: StaticSchema = ( - 16, - n0, - _ETL, - 0, - (_m,), - ((ENCRYPTION_TYPE, {_sN: _ETn}),), -) - -BLOCKED_ENCRYPTION_TYPES: StaticSchema = ( - 18, - n0, - _BET, - 0, - (_ETn,), - ((ENCRYPTION_TYPE_LIST, {_sFm: None}),), -) - -SERVER_SIDE_ENCRYPTION_RULE: StaticSchema = ( - 18, - n0, - _SSER, - 0, - (_ASSEBD, _BKE, _BET), - ( - (SERVER_SIDE_ENCRYPTION_BY_DEFAULT, 0), - (BUCKET_KEY_ENABLED, 0), - (BLOCKED_ENCRYPTION_TYPES, 0), - ), -) - -SERVER_SIDE_ENCRYPTION_RULES: StaticSchema = ( - 16, - n0, - _SSERe, - 0, - (_m,), - ((SERVER_SIDE_ENCRYPTION_RULE, 0),), -) - -SERVER_SIDE_ENCRYPTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _SSEC, - 0, - (_Ru,), - ((SERVER_SIDE_ENCRYPTION_RULES, {_sN: _Rul, _sFm: None, _sm: None}),), -) - -GET_BUCKET_ENCRYPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBEO, - {_smi: None}, - (_SSEC,), - ((SERVER_SIDE_ENCRYPTION_CONFIGURATION, 16),), -) - -GET_BUCKET_ENCRYPTION: StaticOperationSchema = ( - 23, - n0, - _GBE, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?encryption", "code": 200}), - }, - GET_BUCKET_ENCRYPTION_INPUT, - GET_BUCKET_ENCRYPTION_OUTPUT, - (), -) - -GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GBITCI, - {_sSI: _cGBITCR, _s: None}, - (_B, _I, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (INTELLIGENT_TIERING_ID, {_sQ: _i, _sm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -INTELLIGENT_TIERING_AND_OPERATOR: StaticSchema = ( - 18, - n0, - _ITAO, - 0, - (_Pr, _Tags), - ((PREFIX, 0), (TAG_SET, {_sN: _Tag, _sFm: None})), -) - -INTELLIGENT_TIERING_FILTER: StaticSchema = ( - 18, - n0, - _ITF, - 0, - (_Pr, _Tag, _A), - ((PREFIX, 0), (TAG, 0), (INTELLIGENT_TIERING_AND_OPERATOR, 0)), -) - -INTELLIGENT_TIERING_STATUS: StaticSchema = ( - 14, - n0, - _ITS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -INTELLIGENT_TIERING_ACCESS_TIER: StaticSchema = ( - 14, - n0, - _ITAT, - 0, - (_AA, _DAA), - ((-1, {_sV: _AA}), (-1, {_sV: _DAA})), -) - -INTELLIGENT_TIERING_DAYS: StaticSchema = (7, n0, _ITD, 0) - -TIERING: StaticSchema = ( - 18, - n0, - _Ti, - 0, - (_Da, _AT), - ((INTELLIGENT_TIERING_DAYS, 1), (INTELLIGENT_TIERING_ACCESS_TIER, 1)), -) - -TIERING_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TIERING, 0),)) - -INTELLIGENT_TIERING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _ITCn, - 0, - (_I, _Fi, _S, _Tie), - ( - (INTELLIGENT_TIERING_ID, 1), - (INTELLIGENT_TIERING_FILTER, 0), - (INTELLIGENT_TIERING_STATUS, 1), - (TIERING_LIST, {_sN: _Ti, _sFm: None, _sm: None}), - ), -) - -GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBITCO, - {_smi: None}, - (_ITCn,), - ((INTELLIGENT_TIERING_CONFIGURATION, 16),), -) - -GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GBITC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/?intelligent-tiering&x-id=GetBucketIntelligentTieringConfiguration", - "code": 200, - } - ), - }, - GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT, - GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT, - (), -) - -GET_BUCKET_INVENTORY_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GBICI, - {_sSI: _cGBICR, _s: None}, - (_B, _I, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (INVENTORY_ID, {_sQ: _i, _sm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -SSEKMS: StaticSchema = (18, n0, _SSEKMS, {_sN: _SK}, (_KI,), ((SSEKMS_KEY_ID, 1),)) - -SSES3: StaticSchema = (18, n0, _SSES, {_sN: _SS}) - -INVENTORY_ENCRYPTION: StaticSchema = ( - 18, - n0, - _IE, - 0, - (_SSES, _SSEKMS), - ((SSES3, {_sN: _SS}), (SSEKMS, {_sN: _SK})), -) - -INVENTORY_FORMAT: StaticSchema = ( - 14, - n0, - _IF, - 0, - (_CSV, _ORC, _Parq), - ((-1, {_sV: _CSV}), (-1, {_sV: _ORC}), (-1, {_sV: _Parq})), -) - -INVENTORY_S3_BUCKET_DESTINATION: StaticSchema = ( - 18, - n0, - _ISBD, - 0, - (_AI, _B, _F, _Pr, _En), - ( - (ACCOUNT_ID, 0), - (BUCKET_NAME, 1), - (INVENTORY_FORMAT, 1), - (PREFIX, 0), - (INVENTORY_ENCRYPTION, 0), - ), -) - -INVENTORY_DESTINATION: StaticSchema = ( - 18, - n0, - _IDn, - 0, - (_SBD,), - ((INVENTORY_S3_BUCKET_DESTINATION, 1),), -) - -INVENTORY_FILTER: StaticSchema = (18, n0, _IFn, 0, (_Pr,), ((PREFIX, 1),)) - -INVENTORY_INCLUDED_OBJECT_VERSIONS: StaticSchema = ( - 14, - n0, - _IIOV, - 0, - (_Al, _Cu), - ((-1, {_sV: _Al}), (-1, {_sV: _Cu})), -) - -IS_ENABLED: StaticSchema = (2, n0, _IEs, 0) - -INVENTORY_OPTIONAL_FIELD: StaticSchema = ( - 14, - n0, - _IOF, - 0, - ( - _Si, - _LMD, - _SC, - _ET, - _IMU, - _RS, - _ESn, - _OLRUD, - _OLM, - _OLLHS, - _OLEHS, - _OLEHD, - _ITAT, - _BKS, - _CA, - _OACL, - _OObj, - _LED, - _ITRD, - ), - ( - (-1, {_sV: _Si}), - (-1, {_sV: _LMD}), - (-1, {_sV: _SC}), - (-1, {_sV: _ET}), - (-1, {_sV: _IMU}), - (-1, {_sV: _RS}), - (-1, {_sV: _ESn}), - (-1, {_sV: _OLRUD}), - (-1, {_sV: _OLM}), - (-1, {_sV: _OLLHS}), - (-1, {_sV: _OLEHS}), - (-1, {_sV: _OLEHD}), - (-1, {_sV: _ITAT}), - (-1, {_sV: _BKS}), - (-1, {_sV: _CA}), - (-1, {_sV: _OACL}), - (-1, {_sV: _OObj}), - (-1, {_sV: _LED}), - (-1, {_sV: _ITRD}), - ), -) - -INVENTORY_OPTIONAL_FIELDS: StaticSchema = ( - 16, - n0, - _IOFn, - 0, - (_m,), - ((INVENTORY_OPTIONAL_FIELD, {_sN: _Fie}),), -) - -INVENTORY_FREQUENCY: StaticSchema = ( - 14, - n0, - _IFnv, - 0, - (_Dai, _W), - ((-1, {_sV: _Dai}), (-1, {_sV: _W})), -) - -INVENTORY_SCHEDULE: StaticSchema = (18, n0, _IS, 0, (_Fr,), ((INVENTORY_FREQUENCY, 1),)) - -INVENTORY_CONFIGURATION: StaticSchema = ( - 18, - n0, - _IC, - 0, - (_De, _IEs, _Fi, _I, _IOV, _OF, _Sc), - ( - (INVENTORY_DESTINATION, 1), - (IS_ENABLED, 1), - (INVENTORY_FILTER, 0), - (INVENTORY_ID, 1), - (INVENTORY_INCLUDED_OBJECT_VERSIONS, 1), - (INVENTORY_OPTIONAL_FIELDS, 0), - (INVENTORY_SCHEDULE, 1), - ), -) - -GET_BUCKET_INVENTORY_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBICO, - {_smi: None}, - (_IC,), - ((INVENTORY_CONFIGURATION, 16),), -) - -GET_BUCKET_INVENTORY_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GBIC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/?inventory&x-id=GetBucketInventoryConfiguration", - "code": 200, - } - ), - }, - GET_BUCKET_INVENTORY_CONFIGURATION_INPUT, - GET_BUCKET_INVENTORY_CONFIGURATION_OUTPUT, - (), -) - -GET_BUCKET_LIFECYCLE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GBLCI, - {_sSI: _cGBLCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DATE: StaticSchema = (4, n0, _Dat, {_sF: _dt}) - -DAYS: StaticSchema = (7, n0, _Da, 0) - -EXPIRED_OBJECT_DELETE_MARKER: StaticSchema = (2, n0, _EODM, 0) - -LIFECYCLE_EXPIRATION: StaticSchema = ( - 18, - n0, - _LE, - 0, - (_Dat, _Da, _EODM), - ((DATE, 0), (DAYS, 0), (EXPIRED_OBJECT_DELETE_MARKER, 0)), -) - -OBJECT_SIZE_GREATER_THAN_BYTES: StaticSchema = (8, n0, _OSGTB, 0) - -OBJECT_SIZE_LESS_THAN_BYTES: StaticSchema = (8, n0, _OSLTB, 0) - -LIFECYCLE_RULE_AND_OPERATOR: StaticSchema = ( - 18, - n0, - _LRAO, - 0, - (_Pr, _Tags, _OSGT, _OSLT), - ( - (PREFIX, 0), - (TAG_SET, {_sN: _Tag, _sFm: None}), - (OBJECT_SIZE_GREATER_THAN_BYTES, 0), - (OBJECT_SIZE_LESS_THAN_BYTES, 0), - ), -) - -LIFECYCLE_RULE_FILTER: StaticSchema = ( - 18, - n0, - _LRF, - 0, - (_Pr, _Tag, _OSGT, _OSLT, _A), - ( - (PREFIX, 0), - (TAG, 0), - (OBJECT_SIZE_GREATER_THAN_BYTES, 0), - (OBJECT_SIZE_LESS_THAN_BYTES, 0), - (LIFECYCLE_RULE_AND_OPERATOR, 0), - ), -) - -VERSION_COUNT: StaticSchema = (7, n0, _VC, 0) - -NONCURRENT_VERSION_EXPIRATION: StaticSchema = ( - 18, - n0, - _NVE, - 0, - (_ND, _NNV), - ((DAYS, 0), (VERSION_COUNT, 0)), -) - -TRANSITION_STORAGE_CLASS: StaticSchema = ( - 14, - n0, - _TSC, - 0, - (_GLACIER, _SI, _OI, _IT, _DA, _GI), - ( - (-1, {_sV: _GLACIER}), - (-1, {_sV: _SI}), - (-1, {_sV: _OI}), - (-1, {_sV: _IT}), - (-1, {_sV: _DA}), - (-1, {_sV: _GI}), - ), -) - -NONCURRENT_VERSION_TRANSITION: StaticSchema = ( - 18, - n0, - _NVT, - 0, - (_ND, _SC, _NNV), - ((DAYS, 0), (TRANSITION_STORAGE_CLASS, 0), (VERSION_COUNT, 0)), -) - -NONCURRENT_VERSION_TRANSITION_LIST: StaticSchema = ( - 16, - n0, - _NVTL, - 0, - (_m,), - ((NONCURRENT_VERSION_TRANSITION, 0),), -) - -EXPIRATION_STATUS: StaticSchema = ( - 14, - n0, - _ESx, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -TRANSITION: StaticSchema = ( - 18, - n0, - _Tr, - 0, - (_Dat, _Da, _SC), - ((DATE, 0), (DAYS, 0), (TRANSITION_STORAGE_CLASS, 0)), -) - -TRANSITION_LIST: StaticSchema = (16, n0, _TLr, 0, (_m,), ((TRANSITION, 0),)) - -LIFECYCLE_RULE: StaticSchema = ( - 18, - n0, - _LR, - 0, - (_Ex, _ID, _Pr, _Fi, _S, _Tra, _NVTo, _NVE, _AIMU), - ( - (LIFECYCLE_EXPIRATION, 0), - (ID, 0), - (PREFIX, 0), - (LIFECYCLE_RULE_FILTER, 0), - (EXPIRATION_STATUS, 1), - (TRANSITION_LIST, {_sN: _Tr, _sFm: None}), - (NONCURRENT_VERSION_TRANSITION_LIST, {_sN: _NVT, _sFm: None}), - (NONCURRENT_VERSION_EXPIRATION, 0), - (ABORT_INCOMPLETE_MULTIPART_UPLOAD, 0), - ), -) - -LIFECYCLE_RULES: StaticSchema = (16, n0, _LRi, 0, (_m,), ((LIFECYCLE_RULE, 0),)) - -TRANSITION_DEFAULT_MINIMUM_OBJECT_SIZE: StaticSchema = ( - 14, - n0, - _TDMOS, - 0, - (_vbsc, _asc), - ((-1, {_sV: _vbsc}), (-1, {_sV: _asc})), -) - -GET_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBLCO, - {_sN: _LCi, _smi: None}, - (_Ru, _TDMOS), - ( - (LIFECYCLE_RULES, {_sN: _Rul, _sFm: None}), - (TRANSITION_DEFAULT_MINIMUM_OBJECT_SIZE, {_sH: _xatdmos}), - ), -) - -GET_BUCKET_LIFECYCLE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GBLC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?lifecycle", "code": 200}), - }, - GET_BUCKET_LIFECYCLE_CONFIGURATION_INPUT, - GET_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT, - (), -) - -GET_BUCKET_LOCATION_INPUT: StaticSchema = ( - 18, - n0, - _GBLI, - {_sSI: _cGBLR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -GET_BUCKET_LOCATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBLO, - {_sN: _LC, _smi: None}, - (_LC,), - ((BUCKET_LOCATION_CONSTRAINT, 0),), -) - -GET_BUCKET_LOCATION: StaticOperationSchema = ( - 23, - n0, - _GBL, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?location", "code": 200}), - }, - GET_BUCKET_LOCATION_INPUT, - GET_BUCKET_LOCATION_OUTPUT, - (), -) - -GET_BUCKET_LOGGING_INPUT: StaticSchema = ( - 18, - n0, - _GBLIe, - {_sSI: _cGBLRo, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -TARGET_BUCKET: StaticSchema = (3, n0, _TB, 0) - -BUCKET_LOGS_PERMISSION: StaticSchema = ( - 14, - n0, - _BLP, - 0, - (_FC, _READ, _WRITE), - ((-1, {_sV: _FC}), (-1, {_sV: _READ}), (-1, {_sV: _WRITE})), -) - -TARGET_GRANT: StaticSchema = ( - 18, - n0, - _TG, - 0, - (_Gr, _P), - ( - ( - GRANTEE, - { - _sNm: MappingProxyType( - { - "uri": "http://www.w3.org/2001/XMLSchema-instance", - "prefix": "xsi", - } - ) - }, - ), - (BUCKET_LOGS_PERMISSION, 0), - ), -) - -TARGET_GRANTS: StaticSchema = (16, n0, _TGa, 0, (_m,), ((TARGET_GRANT, {_sN: _Gra}),)) - -PARTITION_DATE_SOURCE: StaticSchema = ( - 14, - n0, - _PDS, - 0, - (_ETv, _DT), - ((-1, {_sV: _ETv}), (-1, {_sV: _DT})), -) - -PARTITIONED_PREFIX: StaticSchema = ( - 18, - n0, - _PP, - {_sN: _PP}, - (_PDS,), - ((PARTITION_DATE_SOURCE, 0),), -) - -SIMPLE_PREFIX: StaticSchema = (18, n0, _SP, {_sN: _SP}) - -TARGET_OBJECT_KEY_FORMAT: StaticSchema = ( - 18, - n0, - _TOKF, - 0, - (_SP, _PP), - ((SIMPLE_PREFIX, {_sN: _SP}), (PARTITIONED_PREFIX, {_sN: _PP})), -) - -TARGET_PREFIX: StaticSchema = (3, n0, _TP, 0) - -LOGGING_ENABLED: StaticSchema = ( - 18, - n0, - _LEo, - 0, - (_TB, _TGa, _TP, _TOKF), - ( - (TARGET_BUCKET, 1), - (TARGET_GRANTS, 0), - (TARGET_PREFIX, 1), - (TARGET_OBJECT_KEY_FORMAT, 0), - ), -) - -GET_BUCKET_LOGGING_OUTPUT: StaticSchema = ( - 18, - n0, - _GBLOe, - {_sN: _BLS, _smi: None}, - (_LEo,), - ((LOGGING_ENABLED, 0),), -) - -GET_BUCKET_LOGGING: StaticOperationSchema = ( - 23, - n0, - _GBLe, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?logging", "code": 200}), - }, - GET_BUCKET_LOGGING_INPUT, - GET_BUCKET_LOGGING_OUTPUT, - (), -) - -GET_BUCKET_METADATA_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GBMCI, - {_sSI: _cGBMCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -ERROR_CODE: StaticSchema = (3, n0, _ECr, 0) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -ERROR_DETAILS: StaticSchema = ( - 18, - n0, - _ED, - 0, - (_ECr, _EM), - ((ERROR_CODE, 0), (ERROR_MESSAGE, 0)), -) - -S3_TABLES_ARN: StaticSchema = (3, n0, _STA, 0) - -METADATA_TABLE_STATUS: StaticSchema = (3, n0, _MTS, 0) - -ANNOTATION_TABLE_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _ATCR, - 0, - (_CSo, _TSa, _Er, _TN, _TA, _R), - ( - (ANNOTATION_CONFIGURATION_STATE, 1), - (METADATA_TABLE_STATUS, 0), - (ERROR_DETAILS, 0), - (S3_TABLES_NAME, 0), - (S3_TABLES_ARN, 0), - (ROLE, 0), - ), -) - -S3_TABLES_BUCKET_TYPE: StaticSchema = ( - 14, - n0, - _STBT, - 0, - (_aws_, _cu), - ((-1, {_sV: _aws_}), (-1, {_sV: _cu})), -) - -S3_TABLES_NAMESPACE: StaticSchema = (3, n0, _STNa, 0) - -DESTINATION_RESULT: StaticSchema = ( - 18, - n0, - _DRes, - 0, - (_TBT, _TBA, _TNa), - ((S3_TABLES_BUCKET_TYPE, 0), (S3_TABLES_BUCKET_ARN, 0), (S3_TABLES_NAMESPACE, 0)), -) - -INVENTORY_TABLE_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _ITCR, - 0, - (_CSo, _TSa, _Er, _TN, _TA), - ( - (INVENTORY_CONFIGURATION_STATE, 1), - (METADATA_TABLE_STATUS, 0), - (ERROR_DETAILS, 0), - (S3_TABLES_NAME, 0), - (S3_TABLES_ARN, 0), - ), -) - -JOURNAL_TABLE_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _JTCR, - 0, - (_TSa, _Er, _TN, _TA, _RE), - ( - (METADATA_TABLE_STATUS, 1), - (ERROR_DETAILS, 0), - (S3_TABLES_NAME, 1), - (S3_TABLES_ARN, 0), - (RECORD_EXPIRATION, 1), - ), -) - -METADATA_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _MCR, - 0, - (_DRes, _JTCR, _ITCR, _ATCR), - ( - (DESTINATION_RESULT, 1), - (JOURNAL_TABLE_CONFIGURATION_RESULT, 0), - (INVENTORY_TABLE_CONFIGURATION_RESULT, 0), - (ANNOTATION_TABLE_CONFIGURATION_RESULT, 0), - ), -) - -GET_BUCKET_METADATA_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _GBMCR, - 0, - (_MCR,), - ((METADATA_CONFIGURATION_RESULT, 1),), -) - -GET_BUCKET_METADATA_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBMCO, - {_smi: None}, - (_GBMCR,), - ((GET_BUCKET_METADATA_CONFIGURATION_RESULT, 16),), -) - -GET_BUCKET_METADATA_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GBMC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/?metadataConfiguration", "code": 200} - ), - }, - GET_BUCKET_METADATA_CONFIGURATION_INPUT, - GET_BUCKET_METADATA_CONFIGURATION_OUTPUT, - (), -) - -GET_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GBMTCI, - {_sSI: _cGBMTCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -S3_TABLES_DESTINATION_RESULT: StaticSchema = ( - 18, - n0, - _STDR, - 0, - (_TBA, _TN, _TA, _TNa), - ( - (S3_TABLES_BUCKET_ARN, 1), - (S3_TABLES_NAME, 1), - (S3_TABLES_ARN, 1), - (S3_TABLES_NAMESPACE, 1), - ), -) - -METADATA_TABLE_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _MTCR, - 0, - (_STDR,), - ((S3_TABLES_DESTINATION_RESULT, 1),), -) - -GET_BUCKET_METADATA_TABLE_CONFIGURATION_RESULT: StaticSchema = ( - 18, - n0, - _GBMTCR, - 0, - (_MTCR, _S, _Er), - ( - (METADATA_TABLE_CONFIGURATION_RESULT, 1), - (METADATA_TABLE_STATUS, 1), - (ERROR_DETAILS, 0), - ), -) - -GET_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBMTCO, - {_smi: None}, - (_GBMTCR,), - ((GET_BUCKET_METADATA_TABLE_CONFIGURATION_RESULT, 16),), -) - -GET_BUCKET_METADATA_TABLE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GBMTC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/?metadataTable", "code": 200} - ), - }, - GET_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT, - GET_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT, - (), -) - -GET_BUCKET_METRICS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GBMCIe, - {_sSI: _cGBMCRo, _s: None}, - (_B, _I, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (METRICS_ID, {_sQ: _i, _sm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -METRICS_AND_OPERATOR: StaticSchema = ( - 18, - n0, - _MAO, - 0, - (_Pr, _Tags, _APAc), - ((PREFIX, 0), (TAG_SET, {_sN: _Tag, _sFm: None}), (ACCESS_POINT_ARN, 0)), -) - -METRICS_FILTER: StaticSchema = ( - 19, - n0, - _MF, - 0, - (_Pr, _Tag, _APAc, _A), - ((PREFIX, 0), (TAG, 0), (ACCESS_POINT_ARN, 0), (METRICS_AND_OPERATOR, 0)), -) - -METRICS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _MCe, - 0, - (_I, _Fi), - ((METRICS_ID, 1), (METRICS_FILTER, 0)), -) - -GET_BUCKET_METRICS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBMCOe, - {_smi: None}, - (_MCe,), - ((METRICS_CONFIGURATION, 16),), -) - -GET_BUCKET_METRICS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GBMCe, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/?metrics&x-id=GetBucketMetricsConfiguration", - "code": 200, - } - ), - }, - GET_BUCKET_METRICS_CONFIGURATION_INPUT, - GET_BUCKET_METRICS_CONFIGURATION_OUTPUT, - (), -) - -GET_BUCKET_NOTIFICATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GBNCI, - {_sSI: _cGBNCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -EVENT_BRIDGE_CONFIGURATION: StaticSchema = (18, n0, _EBC, 0) - -EVENT: StaticSchema = ( - 14, - n0, - _Ev, - 0, - ( - _sR, - _sO, - _sOP, - _sOP_, - _sOC_, - _sOC__, - _sO_, - _sOD, - _sOD_, - _sO__, - _sOP__, - _sOC___, - _sR_, - _sRO, - _sRO_, - _sRO__, - _sRO___, - _sOD__, - _sL_, - _sI, - _sOP___, - _sL__, - _sLD, - _sLD_, - _sO___, - _sOP____, - _sOD___, - _sO____, - _sOP_____, - _sOD____, - _sOP______, - ), - ( - (-1, {_sV: _sRRLO}), - (-1, {_sV: _sOC}), - (-1, {_sV: _sOCP}), - (-1, {_sV: _sOCPb}), - (-1, {_sV: _sOCC}), - (-1, {_sV: _sOCCMU}), - (-1, {_sV: _sOR}), - (-1, {_sV: _sORD}), - (-1, {_sV: _sORDMC}), - (-1, {_sV: _sORb}), - (-1, {_sV: _sORP}), - (-1, {_sV: _sORC}), - (-1, {_sV: _sRe}), - (-1, {_sV: _sROFR}), - (-1, {_sV: _sRONT}), - (-1, {_sV: _sROMT}), - (-1, {_sV: _sRORAT}), - (-1, {_sV: _sORDb}), - (-1, {_sV: _sLT}), - (-1, {_sV: _sIT}), - (-1, {_sV: _sOAP}), - (-1, {_sV: _sLE}), - (-1, {_sV: _sLED}), - (-1, {_sV: _sLEDMC}), - (-1, {_sV: _sOT}), - (-1, {_sV: _sOTP}), - (-1, {_sV: _sOTD}), - (-1, {_sV: _sOA}), - (-1, {_sV: _sOAPb}), - (-1, {_sV: _sOAD}), - (-1, {_sV: _sORPb}), - ), -) - -EVENT_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((EVENT, 0),)) - -FILTER_RULE_NAME: StaticSchema = ( - 14, - n0, - _FRN, - 0, - (_pre, _su), - ((-1, {_sV: _pre}), (-1, {_sV: _su})), -) - -FILTER_RULE_VALUE: StaticSchema = (3, n0, _FRV, 0) - -FILTER_RULE: StaticSchema = ( - 18, - n0, - _FR, - 0, - (_N, _V), - ((FILTER_RULE_NAME, 0), (FILTER_RULE_VALUE, 0)), -) - -FILTER_RULE_LIST: StaticSchema = (16, n0, _FRL, 0, (_m,), ((FILTER_RULE, 0),)) - -S3_KEY_FILTER: StaticSchema = ( - 18, - n0, - _SKF, - 0, - (_FRi,), - ((FILTER_RULE_LIST, {_sN: _FR, _sFm: None}),), -) - -NOTIFICATION_CONFIGURATION_FILTER: StaticSchema = ( - 18, - n0, - _NCF, - 0, - (_K,), - ((S3_KEY_FILTER, {_sN: _SKe}),), -) - -NOTIFICATION_ID: StaticSchema = (3, n0, _NI, 0) - -LAMBDA_FUNCTION_ARN: StaticSchema = (3, n0, _LFA, 0) - -LAMBDA_FUNCTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _LFC, - 0, - (_I, _LFA, _Eve, _Fi), - ( - (NOTIFICATION_ID, 0), - (LAMBDA_FUNCTION_ARN, {_sN: _CF, _sm: None}), - (EVENT_LIST, {_sN: _Ev, _sFm: None, _sm: None}), - (NOTIFICATION_CONFIGURATION_FILTER, 0), - ), -) - -LAMBDA_FUNCTION_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _LFCL, - 0, - (_m,), - ((LAMBDA_FUNCTION_CONFIGURATION, 0),), -) - -QUEUE_ARN: StaticSchema = (3, n0, _QA, 0) - -QUEUE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _QC, - 0, - (_I, _QA, _Eve, _Fi), - ( - (NOTIFICATION_ID, 0), - (QUEUE_ARN, {_sN: _Qu, _sm: None}), - (EVENT_LIST, {_sN: _Ev, _sFm: None, _sm: None}), - (NOTIFICATION_CONFIGURATION_FILTER, 0), - ), -) - -QUEUE_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _QCL, - 0, - (_m,), - ((QUEUE_CONFIGURATION, 0),), -) - -TOPIC_ARN: StaticSchema = (3, n0, _TAo, 0) - -TOPIC_CONFIGURATION: StaticSchema = ( - 18, - n0, - _TC, - 0, - (_I, _TAo, _Eve, _Fi), - ( - (NOTIFICATION_ID, 0), - (TOPIC_ARN, {_sN: _To, _sm: None}), - (EVENT_LIST, {_sN: _Ev, _sFm: None, _sm: None}), - (NOTIFICATION_CONFIGURATION_FILTER, 0), - ), -) - -TOPIC_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _TCL, - 0, - (_m,), - ((TOPIC_CONFIGURATION, 0),), -) - -GET_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBNCO, - {_sSI: _cNC, _smi: None}, - (_TCo, _QCu, _LFCa, _EBC), - ( - (TOPIC_CONFIGURATION_LIST, {_sN: _TC, _sFm: None}), - (QUEUE_CONFIGURATION_LIST, {_sN: _QC, _sFm: None}), - (LAMBDA_FUNCTION_CONFIGURATION_LIST, {_sN: _CFC, _sFm: None}), - (EVENT_BRIDGE_CONFIGURATION, 0), - ), -) - -GET_BUCKET_NOTIFICATION_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GBNC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/?notification", "code": 200} - ), - }, - GET_BUCKET_NOTIFICATION_CONFIGURATION_INPUT, - GET_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT, - (), -) - -GET_BUCKET_OWNERSHIP_CONTROLS_INPUT: StaticSchema = ( - 18, - n0, - _GBOCI, - {_sSI: _cGBOCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -OWNERSHIP_CONTROLS_RULE: StaticSchema = ( - 18, - n0, - _OCR, - 0, - (_OOb,), - ((OBJECT_OWNERSHIP, 1),), -) - -OWNERSHIP_CONTROLS_RULES: StaticSchema = ( - 16, - n0, - _OCRw, - 0, - (_m,), - ((OWNERSHIP_CONTROLS_RULE, 0),), -) - -OWNERSHIP_CONTROLS: StaticSchema = ( - 18, - n0, - _OC, - 0, - (_Ru,), - ((OWNERSHIP_CONTROLS_RULES, {_sN: _Rul, _sFm: None, _sm: None}),), -) - -GET_BUCKET_OWNERSHIP_CONTROLS_OUTPUT: StaticSchema = ( - 18, - n0, - _GBOCO, - {_smi: None}, - (_OC,), - ((OWNERSHIP_CONTROLS, 16),), -) - -GET_BUCKET_OWNERSHIP_CONTROLS: StaticOperationSchema = ( - 23, - n0, - _GBOC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/?ownershipControls", "code": 200} - ), - }, - GET_BUCKET_OWNERSHIP_CONTROLS_INPUT, - GET_BUCKET_OWNERSHIP_CONTROLS_OUTPUT, - (), -) - -GET_BUCKET_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GBPI, - {_sSI: _cGBPR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -POLICY: StaticSchema = (3, n0, _Po, 0) - -GET_BUCKET_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GBPO, - {_smi: None}, - (_Po,), - ((POLICY, 16),), -) - -GET_BUCKET_POLICY: StaticOperationSchema = ( - 23, - n0, - _GBP, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?policy", "code": 200}), - }, - GET_BUCKET_POLICY_INPUT, - GET_BUCKET_POLICY_OUTPUT, - (), -) - -GET_BUCKET_POLICY_STATUS_INPUT: StaticSchema = ( - 18, - n0, - _GBPSI, - {_sSI: _cGBPSR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -IS_PUBLIC: StaticSchema = (2, n0, _IP, 0) - -POLICY_STATUS: StaticSchema = (18, n0, _PS, 0, (_IP,), ((IS_PUBLIC, {_sN: _IP}),)) - -GET_BUCKET_POLICY_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _GBPSO, - {_smi: None}, - (_PS,), - ((POLICY_STATUS, 16),), -) - -GET_BUCKET_POLICY_STATUS: StaticOperationSchema = ( - 23, - n0, - _GBPS, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/?policyStatus", "code": 200} - ), - }, - GET_BUCKET_POLICY_STATUS_INPUT, - GET_BUCKET_POLICY_STATUS_OUTPUT, - (), -) - -GET_BUCKET_REPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _GBRI, - {_sSI: _cGBRR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -DELETE_MARKER_REPLICATION_STATUS: StaticSchema = ( - 14, - n0, - _DMRS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -DELETE_MARKER_REPLICATION: StaticSchema = ( - 18, - n0, - _DMR, - 0, - (_S,), - ((DELETE_MARKER_REPLICATION_STATUS, 0),), -) - -REPLICA_KMS_KEY_ID: StaticSchema = (3, n0, _RKKID, 0) - -ENCRYPTION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _EC, - 0, - (_RKKID,), - ((REPLICA_KMS_KEY_ID, 0),), -) - -MINUTES: StaticSchema = (7, n0, _Mi, 0) - -REPLICATION_TIME_VALUE: StaticSchema = (18, n0, _RTV, 0, (_Mi,), ((MINUTES, 0),)) - -METRICS_STATUS: StaticSchema = ( - 14, - n0, - _MS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -METRICS: StaticSchema = ( - 18, - n0, - _Met, - 0, - (_S, _ETve), - ((METRICS_STATUS, 1), (REPLICATION_TIME_VALUE, 0)), -) - -REPLICATION_TIME_STATUS: StaticSchema = ( - 14, - n0, - _RTS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -REPLICATION_TIME: StaticSchema = ( - 18, - n0, - _RT, - 0, - (_S, _Tim), - ((REPLICATION_TIME_STATUS, 1), (REPLICATION_TIME_VALUE, 1)), -) - -DESTINATION: StaticSchema = ( - 18, - n0, - _De, - 0, - (_B, _Ac, _SC, _ACT, _EC, _RT, _Met), - ( - (BUCKET_NAME, 1), - (ACCOUNT_ID, 0), - (STORAGE_CLASS, 0), - (ACCESS_CONTROL_TRANSLATION, 0), - (ENCRYPTION_CONFIGURATION, 0), - (REPLICATION_TIME, 0), - (METRICS, 0), - ), -) - -EXISTING_OBJECT_REPLICATION_STATUS: StaticSchema = ( - 14, - n0, - _EORS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -EXISTING_OBJECT_REPLICATION: StaticSchema = ( - 18, - n0, - _EOR, - 0, - (_S,), - ((EXISTING_OBJECT_REPLICATION_STATUS, 1),), -) - -REPLICATION_RULE_AND_OPERATOR: StaticSchema = ( - 18, - n0, - _RRAO, - 0, - (_Pr, _Tags), - ((PREFIX, 0), (TAG_SET, {_sN: _Tag, _sFm: None})), -) - -REPLICATION_RULE_FILTER: StaticSchema = ( - 18, - n0, - _RRF, - 0, - (_Pr, _Tag, _A), - ((PREFIX, 0), (TAG, 0), (REPLICATION_RULE_AND_OPERATOR, 0)), -) - -PRIORITY: StaticSchema = (7, n0, _Pri, 0) - -REPLICA_MODIFICATIONS_STATUS: StaticSchema = ( - 14, - n0, - _RMS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -REPLICA_MODIFICATIONS: StaticSchema = ( - 18, - n0, - _RM, - 0, - (_S,), - ((REPLICA_MODIFICATIONS_STATUS, 1),), -) - -SSE_KMS_ENCRYPTED_OBJECTS_STATUS: StaticSchema = ( - 14, - n0, - _SKEOS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -SSE_KMS_ENCRYPTED_OBJECTS: StaticSchema = ( - 18, - n0, - _SKEO, - 0, - (_S,), - ((SSE_KMS_ENCRYPTED_OBJECTS_STATUS, 1),), -) - -SOURCE_SELECTION_CRITERIA: StaticSchema = ( - 18, - n0, - _SSC, - 0, - (_SKEO, _RM), - ((SSE_KMS_ENCRYPTED_OBJECTS, 0), (REPLICA_MODIFICATIONS, 0)), -) - -REPLICATION_RULE_STATUS: StaticSchema = ( - 14, - n0, - _RRS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -REPLICATION_RULE: StaticSchema = ( - 18, - n0, - _RRe, - 0, - (_ID, _Pri, _Pr, _Fi, _S, _SSC, _EOR, _De, _DMR), - ( - (ID, 0), - (PRIORITY, 0), - (PREFIX, 0), - (REPLICATION_RULE_FILTER, 0), - (REPLICATION_RULE_STATUS, 1), - (SOURCE_SELECTION_CRITERIA, 0), - (EXISTING_OBJECT_REPLICATION, 0), - (DESTINATION, 1), - (DELETE_MARKER_REPLICATION, 0), - ), -) - -REPLICATION_RULES: StaticSchema = (16, n0, _RRep, 0, (_m,), ((REPLICATION_RULE, 0),)) - -REPLICATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _RCe, - 0, - (_R, _Ru), - ((ROLE, 1), (REPLICATION_RULES, {_sN: _Rul, _sFm: None, _sm: None})), -) - -GET_BUCKET_REPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GBRO, - {_smi: None}, - (_RCe,), - ((REPLICATION_CONFIGURATION, 16),), -) - -GET_BUCKET_REPLICATION: StaticOperationSchema = ( - 23, - n0, - _GBR, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/?replication", "code": 200} - ), - }, - GET_BUCKET_REPLICATION_INPUT, - GET_BUCKET_REPLICATION_OUTPUT, - (), -) - -GET_BUCKET_REQUEST_PAYMENT_INPUT: StaticSchema = ( - 18, - n0, - _GBRPI, - {_sSI: _cGBRPR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PAYER: StaticSchema = ( - 14, - n0, - _Pay, - 0, - (_Re, _BO), - ((-1, {_sV: _Re}), (-1, {_sV: _BO})), -) - -GET_BUCKET_REQUEST_PAYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GBRPO, - {_sN: _RPC, _smi: None}, - (_Pay,), - ((PAYER, 0),), -) - -GET_BUCKET_REQUEST_PAYMENT: StaticOperationSchema = ( - 23, - n0, - _GBRP, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/?requestPayment", "code": 200} - ), - }, - GET_BUCKET_REQUEST_PAYMENT_INPUT, - GET_BUCKET_REQUEST_PAYMENT_OUTPUT, - (), -) - -GET_BUCKET_TAGGING_INPUT: StaticSchema = ( - 18, - n0, - _GBTI, - {_sSI: _cGBTR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -GET_BUCKET_TAGGING_OUTPUT: StaticSchema = ( - 18, - n0, - _GBTO, - {_sN: _Ta, _smi: None}, - (_TS,), - ((TAG_SET, 1),), -) - -GET_BUCKET_TAGGING: StaticOperationSchema = ( - 23, - n0, - _GBT, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?tagging", "code": 200}), - }, - GET_BUCKET_TAGGING_INPUT, - GET_BUCKET_TAGGING_OUTPUT, - (), -) - -GET_BUCKET_VERSIONING_INPUT: StaticSchema = ( - 18, - n0, - _GBVI, - {_sSI: _cGBVR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -MFA_DELETE_STATUS: StaticSchema = ( - 14, - n0, - _MFADS, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -BUCKET_VERSIONING_STATUS: StaticSchema = ( - 14, - n0, - _BVS, - 0, - (_E, _Su), - ((-1, {_sV: _E}), (-1, {_sV: _Su})), -) - -GET_BUCKET_VERSIONING_OUTPUT: StaticSchema = ( - 18, - n0, - _GBVO, - {_sN: _VCe, _smi: None}, - (_S, _MFAD), - ((BUCKET_VERSIONING_STATUS, 0), (MFA_DELETE_STATUS, {_sN: _MDf})), -) - -GET_BUCKET_VERSIONING: StaticOperationSchema = ( - 23, - n0, - _GBV, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?versioning", "code": 200}), - }, - GET_BUCKET_VERSIONING_INPUT, - GET_BUCKET_VERSIONING_OUTPUT, - (), -) - -GET_BUCKET_WEBSITE_INPUT: StaticSchema = ( - 18, - n0, - _GBWI, - {_sSI: _cGBWR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -ERROR_DOCUMENT: StaticSchema = (18, n0, _EDr, 0, (_K,), ((OBJECT_KEY, 1),)) - -SUFFIX: StaticSchema = (3, n0, _Suf, 0) - -INDEX_DOCUMENT: StaticSchema = (18, n0, _IDnd, 0, (_Suf,), ((SUFFIX, 1),)) - -HOST_NAME: StaticSchema = (3, n0, _HN, 0) - -PROTOCOL: StaticSchema = ( - 14, - n0, - _Pro, - 0, - (_h, _ht), - ((-1, {_sV: _h}), (-1, {_sV: _ht})), -) - -REDIRECT_ALL_REQUESTS_TO: StaticSchema = ( - 18, - n0, - _RART, - 0, - (_HN, _Pro), - ((HOST_NAME, 1), (PROTOCOL, 0)), -) - -HTTP_ERROR_CODE_RETURNED_EQUALS: StaticSchema = (3, n0, _HECRE, 0) - -KEY_PREFIX_EQUALS: StaticSchema = (3, n0, _KPE, 0) - -CONDITION: StaticSchema = ( - 18, - n0, - _Con, - 0, - (_HECRE, _KPE), - ((HTTP_ERROR_CODE_RETURNED_EQUALS, 0), (KEY_PREFIX_EQUALS, 0)), -) - -HTTP_REDIRECT_CODE: StaticSchema = (3, n0, _HRC, 0) - -REPLACE_KEY_PREFIX_WITH: StaticSchema = (3, n0, _RKPW, 0) - -REPLACE_KEY_WITH: StaticSchema = (3, n0, _RKW, 0) - -REDIRECT: StaticSchema = ( - 18, - n0, - _Red, - 0, - (_HN, _HRC, _Pro, _RKPW, _RKW), - ( - (HOST_NAME, 0), - (HTTP_REDIRECT_CODE, 0), - (PROTOCOL, 0), - (REPLACE_KEY_PREFIX_WITH, 0), - (REPLACE_KEY_WITH, 0), - ), -) - -ROUTING_RULE: StaticSchema = ( - 18, - n0, - _RRo, - 0, - (_Con, _Red), - ((CONDITION, 0), (REDIRECT, 1)), -) - -ROUTING_RULES: StaticSchema = (16, n0, _RRou, 0, (_m,), ((ROUTING_RULE, {_sN: _RRo}),)) - -GET_BUCKET_WEBSITE_OUTPUT: StaticSchema = ( - 18, - n0, - _GBWO, - {_sN: _WC, _smi: None}, - (_RART, _IDnd, _EDr, _RRou), - ( - (REDIRECT_ALL_REQUESTS_TO, 0), - (INDEX_DOCUMENT, 0), - (ERROR_DOCUMENT, 0), - (ROUTING_RULES, 0), - ), -) - -GET_BUCKET_WEBSITE: StaticOperationSchema = ( - 23, - n0, - _GBW, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "GET", "uri": "/?website", "code": 200}), - }, - GET_BUCKET_WEBSITE_INPUT, - GET_BUCKET_WEBSITE_OUTPUT, - (), -) - -CHECKSUM_MODE: StaticSchema = (14, n0, _CMh, 0, (_ENABLED,), ((-1, {_sV: _ENABLED}),)) - -IF_MODIFIED_SINCE: StaticSchema = (4, n0, _IMSf, 0) - -IF_UNMODIFIED_SINCE: StaticSchema = (4, n0, _IUS, 0) - -RANGE: StaticSchema = (3, n0, _Ra, 0) - -RESPONSE_CACHE_CONTROL: StaticSchema = (3, n0, _RCC, 0) - -RESPONSE_CONTENT_DISPOSITION: StaticSchema = (3, n0, _RCD, 0) - -RESPONSE_CONTENT_ENCODING: StaticSchema = (3, n0, _RCE, 0) - -RESPONSE_CONTENT_LANGUAGE: StaticSchema = (3, n0, _RCL, 0) - -RESPONSE_CONTENT_TYPE: StaticSchema = (3, n0, _RCT, 0) - -RESPONSE_EXPIRES: StaticSchema = (4, n0, _REe, {_sF: _hd}) - -GET_OBJECT_INPUT: StaticSchema = ( - 18, - n0, - _GOI, - {_sSI: _cGOR, _s: None}, - ( - _B, - _IM, - _IMSf, - _INM, - _IUS, - _K, - _Ra, - _RCC, - _RCD, - _RCE, - _RCL, - _RCT, - _REe, - _VI, - _SSECA, - _SSECK, - _SSECKMD, - _RP, - _PN, - _EBO, - _CMh, - ), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (IF_MATCH, {_sH: _IM_}), - (IF_MODIFIED_SINCE, {_sH: _IMS_}), - (IF_NONE_MATCH, {_sH: _INM_}), - (IF_UNMODIFIED_SINCE, {_sH: _IUS_}), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (RANGE, {_sH: _Ra}), - (RESPONSE_CACHE_CONTROL, {_sQ: _rcc}), - (RESPONSE_CONTENT_DISPOSITION, {_sQ: _rcd}), - (RESPONSE_CONTENT_ENCODING, {_sQ: _rce}), - (RESPONSE_CONTENT_LANGUAGE, {_sQ: _rcl}), - (RESPONSE_CONTENT_TYPE, {_sQ: _rct}), - (RESPONSE_EXPIRES, {_sQ: _re}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (REQUEST_PAYER, {_sH: _xarp}), - (PART_NUMBER, {_sQ: _pN}), - (ACCOUNT_ID, {_sH: _xaebo}), - (CHECKSUM_MODE, {_sH: _xacm_}), - ), -) - -STREAMING_BLOB: StaticSchema = (1, n0, _SB, {_smithya: None}) - -CONTENT_LENGTH: StaticSchema = (8, n0, _CLo, 0) - -CONTENT_RANGE: StaticSchema = (3, n0, _CR, 0) - -MISSING_META: StaticSchema = (7, n0, _MM, 0) - -PARTS_COUNT: StaticSchema = (7, n0, _PC, 0) - -REPLICATION_STATUS: StaticSchema = ( - 14, - n0, - _RS, - 0, - (_COMPLETE, _PENDING, _FAILED, _REPLICA, _COMPLETED), - ( - (-1, {_sV: _COMPLETE}), - (-1, {_sV: _PENDING}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _REPLICA}), - (-1, {_sV: _COMPLETED}), - ), -) - -RESTORE: StaticSchema = (3, n0, _Res, 0) - -TAG_COUNT: StaticSchema = (7, n0, _TCa, 0) - -GET_OBJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _GOO, - {_smi: None}, - ( - _Bo, - _DM, - _AR, - _Ex, - _Res, - _LM, - _CLo, - _ET, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _CT, - _MM, - _VI, - _CC, - _CD, - _CE, - _CL, - _CR, - _CTo, - _Exp, - _WRL, - _SSE, - _M, - _SSECA, - _SSECKMD, - _SSEKMSKI, - _BKE, - _SC, - _RC, - _RS, - _PC, - _TCa, - _OLM, - _OLRUD, - _OLLHS, - _OLEH, - _OLEHDD, - _OLEHDY, - ), - ( - (STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), - (DELETE_MARKER, {_sH: _xadm}), - (ACCEPT_RANGES, {_sH: _ar___}), - (EXPIRATION, {_sH: _xae}), - (RESTORE, {_sH: _xar}), - (LAST_MODIFIED, {_sH: _LM_}), - (CONTENT_LENGTH, {_sH: _CL__}), - (E_TAG, {_sH: _ET}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (CHECKSUM_TYPE, {_sH: _xact}), - (MISSING_META, {_sH: _xamm}), - (OBJECT_VERSION_ID, {_sH: _xavi}), - (CACHE_CONTROL, {_sH: _CC_}), - (CONTENT_DISPOSITION, {_sH: _CD_}), - (CONTENT_ENCODING, {_sH: _CE_}), - (CONTENT_LANGUAGE, {_sH: _CL_}), - (CONTENT_RANGE, {_sH: _CR_}), - (CONTENT_TYPE, {_sH: _CT_}), - (EXPIRES, {_sH: _Exp}), - (WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (METADATA, {_sPH: _xam}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (STORAGE_CLASS, {_sH: _xasc}), - (REQUEST_CHARGED, {_sH: _xarc}), - (REPLICATION_STATUS, {_sH: _xars}), - (PARTS_COUNT, {_sH: _xampc}), - (TAG_COUNT, {_sH: _xatc}), - (OBJECT_LOCK_MODE, {_sH: _xaolm}), - (OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), - (OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), - (OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), - ), -) - -INVALID_OBJECT_STATE: StaticSchema = ( - 18, - n0, - _IOS, - {_smit: _c, _sE: 403}, - (_SC, _AT), - ((STORAGE_CLASS, 0), (INTELLIGENT_TIERING_ACCESS_TIER, 0)), -) - -GET_OBJECT: StaticOperationSchema = ( - 23, - n0, - _GO, - { - _aC: MappingProxyType( - { - "requestValidationModeMember": "ChecksumMode", - "responseAlgorithms": ( - "CRC64NVME", - "CRC32", - "CRC32C", - "SHA256", - "SHA1", - "SHA512", - "MD5", - "XXHASH64", - "XXHASH3", - "XXHASH128", - ), - } - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/{Key+}?x-id=GetObject", "code": 200} - ), - }, - GET_OBJECT_INPUT, - GET_OBJECT_OUTPUT, - (INVALID_OBJECT_STATE, NO_SUCH_KEY), -) - -GET_OBJECT_ACL_INPUT: StaticSchema = ( - 18, - n0, - _GOAI, - {_sSI: _cGOAR, _s: None}, - (_B, _K, _VI, _RP, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -GET_OBJECT_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _GOAO, - {_sN: _ACP, _smi: None}, - (_O, _Gran, _RC), - ((OWNER, 0), (GRANTS, {_sN: _ACL}), (REQUEST_CHARGED, {_sH: _xarc})), -) - -GET_OBJECT_ACL: StaticOperationSchema = ( - 23, - n0, - _GOA, - {_smith: MappingProxyType({"method": "GET", "uri": "/{Key+}?acl", "code": 200})}, - GET_OBJECT_ACL_INPUT, - GET_OBJECT_ACL_OUTPUT, - (NO_SUCH_KEY,), -) - -GET_OBJECT_ANNOTATION_INPUT: StaticSchema = ( - 18, - n0, - _GOAIe, - {_sSI: _cGOARo, _s: None}, - (_B, _K, _AN, _VI, _RP, _EBO, _CMh), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (ANNOTATION_NAME, {_sQ: _aN, _sm: None}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (CHECKSUM_MODE, {_sH: _xacm_}), - ), -) - -GET_OBJECT_ANNOTATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GOAOe, - {_smi: None}, - ( - _AP, - _OVI, - _LM, - _CLo, - _ET, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _CT, - _SSE, - _RC, - _RS, - ), - ( - (STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), - (OBJECT_VERSION_ID, {_sH: _xaovi}), - (LAST_MODIFIED, {_sH: _LM_}), - (CONTENT_LENGTH, {_sH: _CL__}), - (E_TAG, {_sH: _ET}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (CHECKSUM_TYPE, {_sH: _xact}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (REQUEST_CHARGED, {_sH: _xarc}), - (REPLICATION_STATUS, {_sH: _xars}), - ), -) - -NO_SUCH_ANNOTATION: StaticSchema = (18, n0, _NSA, {_smit: _c, _sE: 404}) - -GET_OBJECT_ANNOTATION: StaticOperationSchema = ( - 23, - n0, - _GOAe, - { - _aC: MappingProxyType( - { - "requestValidationModeMember": "ChecksumMode", - "responseAlgorithms": ( - "CRC64NVME", - "CRC32", - "CRC32C", - "SHA256", - "SHA1", - "SHA512", - "MD5", - "XXHASH64", - "XXHASH3", - "XXHASH128", - ), - } - ), - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/{Key+}?annotation&x-id=GetObjectAnnotation", - "code": 200, - } - ), - }, - GET_OBJECT_ANNOTATION_INPUT, - GET_OBJECT_ANNOTATION_OUTPUT, - (NO_SUCH_ANNOTATION, NO_SUCH_BUCKET, NO_SUCH_KEY), -) - -MAX_PARTS: StaticSchema = (7, n0, _MP, 0) - -OBJECT_ATTRIBUTES: StaticSchema = ( - 14, - n0, - _OA, - 0, - (_ETAG, _CHECKSUM, _OP, _SC___, _OS), - ( - (-1, {_sV: _ET}), - (-1, {_sV: _Ch}), - (-1, {_sV: _OPb}), - (-1, {_sV: _SC}), - (-1, {_sV: _OSb}), - ), -) - -OBJECT_ATTRIBUTES_LIST: StaticSchema = ( - 16, - n0, - _OAL, - 0, - (_m,), - ((OBJECT_ATTRIBUTES, 0),), -) - -PART_NUMBER_MARKER: StaticSchema = (3, n0, _PNM, 0) - -GET_OBJECT_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _GOAIet, - {_sSI: _cGOARom, _s: None}, - (_B, _K, _VI, _MP, _PNM, _SSECA, _SSECK, _SSECKMD, _RP, _EBO, _OA), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (MAX_PARTS, {_sH: _xamp}), - (PART_NUMBER_MARKER, {_sH: _xapnm}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (OBJECT_ATTRIBUTES_LIST, {_sH: _xaoa, _sm: None}), - ), -) - -CHECKSUM: StaticSchema = ( - 18, - n0, - _Ch, - 0, - ( - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _CT, - ), - ( - (CHECKSUM_CRC32, 0), - (CHECKSUM_CRC32_C, 0), - (CHECKSUM_CRC64_NVME, 0), - (CHECKSUM_SHA1, 0), - (CHECKSUM_SHA256, 0), - (CHECKSUM_SHA512, 0), - (CHECKSUM_MD5, 0), - (CHECKSUM_XXHASH64, 0), - (CHECKSUM_XXHASH3, 0), - (CHECKSUM_XXHASH128, 0), - (CHECKSUM_TYPE, 0), - ), -) - -IS_TRUNCATED: StaticSchema = (2, n0, _ITs, 0) - -NEXT_PART_NUMBER_MARKER: StaticSchema = (3, n0, _NPNM, 0) - -OBJECT_PART: StaticSchema = ( - 18, - n0, - _OPbj, - 0, - ( - _PN, - _Si, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - ), - ( - (PART_NUMBER, 0), - (SIZE, 0), - (CHECKSUM_CRC32, 0), - (CHECKSUM_CRC32_C, 0), - (CHECKSUM_CRC64_NVME, 0), - (CHECKSUM_SHA1, 0), - (CHECKSUM_SHA256, 0), - (CHECKSUM_SHA512, 0), - (CHECKSUM_MD5, 0), - (CHECKSUM_XXHASH64, 0), - (CHECKSUM_XXHASH3, 0), - (CHECKSUM_XXHASH128, 0), - ), -) - -PARTS_LIST: StaticSchema = (16, n0, _PL, 0, (_m,), ((OBJECT_PART, 0),)) - -GET_OBJECT_ATTRIBUTES_PARTS: StaticSchema = ( - 18, - n0, - _GOAP, - 0, - (_TPC, _PNM, _NPNM, _MP, _ITs, _Pa), - ( - (PARTS_COUNT, {_sN: _PC}), - (PART_NUMBER_MARKER, 0), - (NEXT_PART_NUMBER_MARKER, 0), - (MAX_PARTS, 0), - (IS_TRUNCATED, 0), - (PARTS_LIST, {_sN: _Par, _sFm: None}), - ), -) - -OBJECT_SIZE: StaticSchema = (8, n0, _OSb, 0) - -GET_OBJECT_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _GOAOet, - {_sN: _GOAR, _smi: None}, - (_DM, _LM, _VI, _RC, _ET, _Ch, _OPb, _SC, _OSb), - ( - (DELETE_MARKER, {_sH: _xadm}), - (LAST_MODIFIED, {_sH: _LM_}), - (OBJECT_VERSION_ID, {_sH: _xavi}), - (REQUEST_CHARGED, {_sH: _xarc}), - (E_TAG, 0), - (CHECKSUM, 0), - (GET_OBJECT_ATTRIBUTES_PARTS, 0), - (STORAGE_CLASS, 0), - (OBJECT_SIZE, 0), - ), -) - -GET_OBJECT_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _GOAet, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/{Key+}?attributes", "code": 200} - ) - }, - GET_OBJECT_ATTRIBUTES_INPUT, - GET_OBJECT_ATTRIBUTES_OUTPUT, - (NO_SUCH_KEY,), -) - -GET_OBJECT_LEGAL_HOLD_INPUT: StaticSchema = ( - 18, - n0, - _GOLHI, - {_sSI: _cGOLHR, _s: None}, - (_B, _K, _VI, _RP, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -OBJECT_LOCK_LEGAL_HOLD: StaticSchema = ( - 18, - n0, - _OLLH, - 0, - (_S,), - ((OBJECT_LOCK_LEGAL_HOLD_STATUS, 0),), -) - -GET_OBJECT_LEGAL_HOLD_OUTPUT: StaticSchema = ( - 18, - n0, - _GOLHO, - {_smi: None}, - (_LH,), - ((OBJECT_LOCK_LEGAL_HOLD, {_sN: _LH, _sPm: None}),), -) - -GET_OBJECT_LEGAL_HOLD: StaticOperationSchema = ( - 23, - n0, - _GOLH, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/{Key+}?legal-hold", "code": 200} - ) - }, - GET_OBJECT_LEGAL_HOLD_INPUT, - GET_OBJECT_LEGAL_HOLD_OUTPUT, - (), -) - -GET_OBJECT_LOCK_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GOLCI, - {_sSI: _cGOLCR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -OBJECT_LOCK_ENABLED: StaticSchema = (14, n0, _OLE, 0, (_E,), ((-1, {_sV: _E}),)) - -YEARS: StaticSchema = (7, n0, _Y, 0) - -EVENT_HOLD_DURATION: StaticSchema = ( - 18, - n0, - _EHD, - 0, - (_Da, _Y), - ((DAYS, 0), (YEARS, 0)), -) - -OBJECT_LOCK_RETENTION_MODE: StaticSchema = ( - 14, - n0, - _OLRM, - 0, - (_GOVERNANCE, _COMPLIANCE), - ((-1, {_sV: _GOVERNANCE}), (-1, {_sV: _COMPLIANCE})), -) - -DEFAULT_RETENTION: StaticSchema = ( - 18, - n0, - _DRef, - 0, - (_Mo, _Da, _Y, _DEH), - ((OBJECT_LOCK_RETENTION_MODE, 0), (DAYS, 0), (YEARS, 0), (EVENT_HOLD_DURATION, 0)), -) - -OBJECT_LOCK_RULE: StaticSchema = (18, n0, _OLR, 0, (_DRef,), ((DEFAULT_RETENTION, 0),)) - -OBJECT_LOCK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _OLC, - 0, - (_OLE, _Rul), - ((OBJECT_LOCK_ENABLED, 0), (OBJECT_LOCK_RULE, 0)), -) - -GET_OBJECT_LOCK_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GOLCO, - {_smi: None}, - (_OLC,), - ((OBJECT_LOCK_CONFIGURATION, 16),), -) - -GET_OBJECT_LOCK_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GOLC, - {_smith: MappingProxyType({"method": "GET", "uri": "/?object-lock", "code": 200})}, - GET_OBJECT_LOCK_CONFIGURATION_INPUT, - GET_OBJECT_LOCK_CONFIGURATION_OUTPUT, - (), -) - -GET_OBJECT_RETENTION_INPUT: StaticSchema = ( - 18, - n0, - _GORI, - {_sSI: _cGORR, _s: None}, - (_B, _K, _VI, _RP, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -OBJECT_LOCK_RETENTION: StaticSchema = ( - 18, - n0, - _OLRb, - 0, - (_Mo, _RUD, _EHv, _EHD), - ( - (OBJECT_LOCK_RETENTION_MODE, 0), - (DATE, 0), - (OBJECT_LOCK_EVENT_HOLD, 0), - (EVENT_HOLD_DURATION, 0), - ), -) - -GET_OBJECT_RETENTION_OUTPUT: StaticSchema = ( - 18, - n0, - _GORO, - {_smi: None}, - (_Ret,), - ((OBJECT_LOCK_RETENTION, {_sN: _Ret, _sPm: None}),), -) - -GET_OBJECT_RETENTION: StaticOperationSchema = ( - 23, - n0, - _GOR, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/{Key+}?retention", "code": 200} - ) - }, - GET_OBJECT_RETENTION_INPUT, - GET_OBJECT_RETENTION_OUTPUT, - (), -) - -GET_OBJECT_TAGGING_INPUT: StaticSchema = ( - 18, - n0, - _GOTI, - {_sSI: _cGOTR, _s: None}, - (_B, _K, _VI, _EBO, _RP), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (ACCOUNT_ID, {_sH: _xaebo}), - (REQUEST_PAYER, {_sH: _xarp}), - ), -) - -GET_OBJECT_TAGGING_OUTPUT: StaticSchema = ( - 18, - n0, - _GOTO, - {_sN: _Ta, _smi: None}, - (_VI, _TS), - ((OBJECT_VERSION_ID, {_sH: _xavi}), (TAG_SET, 1)), -) - -GET_OBJECT_TAGGING: StaticOperationSchema = ( - 23, - n0, - _GOT, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/{Key+}?tagging", "code": 200} - ) - }, - GET_OBJECT_TAGGING_INPUT, - GET_OBJECT_TAGGING_OUTPUT, - (), -) - -GET_OBJECT_TORRENT_INPUT: StaticSchema = ( - 18, - n0, - _GOTIe, - {_sSI: _cGOTRo, _s: None}, - (_B, _K, _RP, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -GET_OBJECT_TORRENT_OUTPUT: StaticSchema = ( - 18, - n0, - _GOTOe, - {_smi: None}, - (_Bo, _RC), - ((STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), (REQUEST_CHARGED, {_sH: _xarc})), -) - -GET_OBJECT_TORRENT: StaticOperationSchema = ( - 23, - n0, - _GOTe, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/{Key+}?torrent", "code": 200} - ) - }, - GET_OBJECT_TORRENT_INPUT, - GET_OBJECT_TORRENT_OUTPUT, - (), -) - -GET_PUBLIC_ACCESS_BLOCK_INPUT: StaticSchema = ( - 18, - n0, - _GPABI, - {_sSI: _cGPABR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -SETTING: StaticSchema = (2, n0, _Se, 0) - -PUBLIC_ACCESS_BLOCK_CONFIGURATION: StaticSchema = ( - 18, - n0, - _PABC, - 0, - (_BPA, _IPA, _BPP, _RPB), - ( - (SETTING, {_sN: _BPA}), - (SETTING, {_sN: _IPA}), - (SETTING, {_sN: _BPP}), - (SETTING, {_sN: _RPB}), - ), -) - -GET_PUBLIC_ACCESS_BLOCK_OUTPUT: StaticSchema = ( - 18, - n0, - _GPABO, - {_smi: None}, - (_PABC,), - ((PUBLIC_ACCESS_BLOCK_CONFIGURATION, 16),), -) - -GET_PUBLIC_ACCESS_BLOCK: StaticOperationSchema = ( - 23, - n0, - _GPAB, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/?publicAccessBlock", "code": 200} - ), - }, - GET_PUBLIC_ACCESS_BLOCK_INPUT, - GET_PUBLIC_ACCESS_BLOCK_OUTPUT, - (), -) - -HEAD_BUCKET_INPUT: StaticSchema = ( - 18, - n0, - _HBI, - {_sSI: _cHBR, _s: None}, - (_B, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -BUCKET_LOCATION_NAME: StaticSchema = (3, n0, _BLN, 0) - -REGION: StaticSchema = (3, n0, _Reg, 0) - -HEAD_BUCKET_OUTPUT: StaticSchema = ( - 18, - n0, - _HBO, - {_smi: None}, - (_BA, _BLT, _BLN, _BR, _APA), - ( - (S3_REGIONAL_OR_S3_EXPRESS_BUCKET_ARN_STRING, {_sH: _xaba}), - (LOCATION_TYPE, {_sH: _xablt}), - (BUCKET_LOCATION_NAME, {_sH: _xabln}), - (REGION, {_sH: _xabr}), - (ACCESS_POINT_ALIAS, {_sH: _xaapa}), - ), -) - -NOT_FOUND: StaticSchema = (18, n0, _NF, {_smit: _c}) - -HEAD_BUCKET: StaticOperationSchema = ( - 23, - n0, - _HB, - {_smith: MappingProxyType({"method": "HEAD", "uri": "/", "code": 200})}, - HEAD_BUCKET_INPUT, - HEAD_BUCKET_OUTPUT, - (NOT_FOUND,), -) - -HEAD_OBJECT_INPUT: StaticSchema = ( - 18, - n0, - _HOI, - {_sSI: _cHOR, _s: None}, - ( - _B, - _IM, - _IMSf, - _INM, - _IUS, - _K, - _Ra, - _RCC, - _RCD, - _RCE, - _RCL, - _RCT, - _REe, - _VI, - _SSECA, - _SSECK, - _SSECKMD, - _RP, - _PN, - _EBO, - _CMh, - ), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (IF_MATCH, {_sH: _IM_}), - (IF_MODIFIED_SINCE, {_sH: _IMS_}), - (IF_NONE_MATCH, {_sH: _INM_}), - (IF_UNMODIFIED_SINCE, {_sH: _IUS_}), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (RANGE, {_sH: _Ra}), - (RESPONSE_CACHE_CONTROL, {_sQ: _rcc}), - (RESPONSE_CONTENT_DISPOSITION, {_sQ: _rcd}), - (RESPONSE_CONTENT_ENCODING, {_sQ: _rce}), - (RESPONSE_CONTENT_LANGUAGE, {_sQ: _rcl}), - (RESPONSE_CONTENT_TYPE, {_sQ: _rct}), - (RESPONSE_EXPIRES, {_sQ: _re}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (REQUEST_PAYER, {_sH: _xarp}), - (PART_NUMBER, {_sQ: _pN}), - (ACCOUNT_ID, {_sH: _xaebo}), - (CHECKSUM_MODE, {_sH: _xacm_}), - ), -) - -ARCHIVE_STATUS: StaticSchema = ( - 14, - n0, - _ASr, - 0, - (_AA, _DAA), - ((-1, {_sV: _AA}), (-1, {_sV: _DAA})), -) - -HEAD_OBJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _HOO, - {_smi: None}, - ( - _DM, - _AR, - _Ex, - _Res, - _ASr, - _LM, - _CLo, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _CT, - _ET, - _MM, - _VI, - _CC, - _CD, - _CE, - _CL, - _CTo, - _CR, - _Exp, - _WRL, - _SSE, - _M, - _SSECA, - _SSECKMD, - _SSEKMSKI, - _BKE, - _SC, - _RC, - _RS, - _PC, - _TCa, - _OLM, - _OLRUD, - _OLLHS, - _OLEH, - _OLEHDD, - _OLEHDY, - ), - ( - (DELETE_MARKER, {_sH: _xadm}), - (ACCEPT_RANGES, {_sH: _ar___}), - (EXPIRATION, {_sH: _xae}), - (RESTORE, {_sH: _xar}), - (ARCHIVE_STATUS, {_sH: _xaas}), - (LAST_MODIFIED, {_sH: _LM_}), - (CONTENT_LENGTH, {_sH: _CL__}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (CHECKSUM_TYPE, {_sH: _xact}), - (E_TAG, {_sH: _ET}), - (MISSING_META, {_sH: _xamm}), - (OBJECT_VERSION_ID, {_sH: _xavi}), - (CACHE_CONTROL, {_sH: _CC_}), - (CONTENT_DISPOSITION, {_sH: _CD_}), - (CONTENT_ENCODING, {_sH: _CE_}), - (CONTENT_LANGUAGE, {_sH: _CL_}), - (CONTENT_TYPE, {_sH: _CT_}), - (CONTENT_RANGE, {_sH: _CR_}), - (EXPIRES, {_sH: _Exp}), - (WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (METADATA, {_sPH: _xam}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (STORAGE_CLASS, {_sH: _xasc}), - (REQUEST_CHARGED, {_sH: _xarc}), - (REPLICATION_STATUS, {_sH: _xars}), - (PARTS_COUNT, {_sH: _xampc}), - (TAG_COUNT, {_sH: _xatc}), - (OBJECT_LOCK_MODE, {_sH: _xaolm}), - (OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), - (OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), - (OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), - ), -) - -HEAD_OBJECT: StaticOperationSchema = ( - 23, - n0, - _HO, - {_smith: MappingProxyType({"method": "HEAD", "uri": "/{Key+}", "code": 200})}, - HEAD_OBJECT_INPUT, - HEAD_OBJECT_OUTPUT, - (NOT_FOUND,), -) - -TOKEN: StaticSchema = (3, n0, _Tok, 0) - -LIST_BUCKET_ANALYTICS_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LBACI, - {_sSI: _cLBACR, _s: None}, - (_B, _CTon, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (TOKEN, {_sQ: _ct}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -ANALYTICS_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _ACLn, - 0, - (_m,), - ((ANALYTICS_CONFIGURATION, 0),), -) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -LIST_BUCKET_ANALYTICS_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBACO, - {_sN: _LBACR, _smi: None}, - (_ITs, _CTon, _NCT, _ACLn), - ( - (IS_TRUNCATED, 0), - (TOKEN, 0), - (NEXT_TOKEN, 0), - (ANALYTICS_CONFIGURATION_LIST, {_sN: _ACn, _sFm: None}), - ), -) - -LIST_BUCKET_ANALYTICS_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _LBAC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/?analytics&x-id=ListBucketAnalyticsConfigurations", - "code": 200, - } - ), - }, - LIST_BUCKET_ANALYTICS_CONFIGURATIONS_INPUT, - LIST_BUCKET_ANALYTICS_CONFIGURATIONS_OUTPUT, - (), -) - -LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LBITCI, - {_sSI: _cLBITCR, _s: None}, - (_B, _CTon, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (TOKEN, {_sQ: _ct}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -INTELLIGENT_TIERING_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _ITCL, - 0, - (_m,), - ((INTELLIGENT_TIERING_CONFIGURATION, 0),), -) - -LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBITCO, - {_smi: None}, - (_ITs, _CTon, _NCT, _ITCL), - ( - (IS_TRUNCATED, 0), - (TOKEN, 0), - (NEXT_TOKEN, 0), - (INTELLIGENT_TIERING_CONFIGURATION_LIST, {_sN: _ITCn, _sFm: None}), - ), -) - -LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _LBITC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/?intelligent-tiering&x-id=ListBucketIntelligentTieringConfigurations", - "code": 200, - } - ), - }, - LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_INPUT, - LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_OUTPUT, - (), -) - -LIST_BUCKET_INVENTORY_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LBICI, - {_sSI: _cLBICR, _s: None}, - (_B, _CTon, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (TOKEN, {_sQ: _ct}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -INVENTORY_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _ICL, - 0, - (_m,), - ((INVENTORY_CONFIGURATION, 0),), -) - -LIST_BUCKET_INVENTORY_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBICO, - {_sN: _LICR, _smi: None}, - (_CTon, _ICL, _ITs, _NCT), - ( - (TOKEN, 0), - (INVENTORY_CONFIGURATION_LIST, {_sN: _IC, _sFm: None}), - (IS_TRUNCATED, 0), - (NEXT_TOKEN, 0), - ), -) - -LIST_BUCKET_INVENTORY_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _LBIC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/?inventory&x-id=ListBucketInventoryConfigurations", - "code": 200, - } - ), - }, - LIST_BUCKET_INVENTORY_CONFIGURATIONS_INPUT, - LIST_BUCKET_INVENTORY_CONFIGURATIONS_OUTPUT, - (), -) - -LIST_BUCKET_METRICS_CONFIGURATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LBMCI, - {_sSI: _cLBMCR, _s: None}, - (_B, _CTon, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (TOKEN, {_sQ: _ct}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -METRICS_CONFIGURATION_LIST: StaticSchema = ( - 16, - n0, - _MCL, - 0, - (_m,), - ((METRICS_CONFIGURATION, 0),), -) - -LIST_BUCKET_METRICS_CONFIGURATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBMCO, - {_sN: _LMCR, _smi: None}, - (_ITs, _CTon, _NCT, _MCL), - ( - (IS_TRUNCATED, 0), - (TOKEN, 0), - (NEXT_TOKEN, 0), - (METRICS_CONFIGURATION_LIST, {_sN: _MCe, _sFm: None}), - ), -) - -LIST_BUCKET_METRICS_CONFIGURATIONS: StaticOperationSchema = ( - 23, - n0, - _LBMC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/?metrics&x-id=ListBucketMetricsConfigurations", - "code": 200, - } - ), - }, - LIST_BUCKET_METRICS_CONFIGURATIONS_INPUT, - LIST_BUCKET_METRICS_CONFIGURATIONS_OUTPUT, - (), -) - -BUCKET_REGION: StaticSchema = (3, n0, _BR, 0) - -MAX_BUCKETS: StaticSchema = (7, n0, _MB, 0) - -LIST_BUCKETS_INPUT: StaticSchema = ( - 18, - n0, - _LBI, - {_sSI: _cLBR, _s: None}, - (_MB, _CTon, _Pr, _BR), - ( - (MAX_BUCKETS, {_sQ: _mb}), - (TOKEN, {_sQ: _ct}), - (PREFIX, {_sQ: _pre}), - (BUCKET_REGION, {_sQ: _br}), - ), -) - -CREATION_DATE: StaticSchema = (4, n0, _CDr, 0) - -BUCKET: StaticSchema = ( - 18, - n0, - _B, - 0, - (_N, _CDr, _BR, _BA), - ( - (BUCKET_NAME, 0), - (CREATION_DATE, 0), - (BUCKET_REGION, 0), - (S3_REGIONAL_OR_S3_EXPRESS_BUCKET_ARN_STRING, 0), - ), -) - -BUCKETS: StaticSchema = (16, n0, _Bu, 0, (_m,), ((BUCKET, {_sN: _B}),)) - -LIST_BUCKETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LBO, - {_sN: _LAMBR, _smi: None}, - (_Bu, _O, _CTon, _Pr), - ((BUCKETS, 0), (OWNER, 0), (NEXT_TOKEN, 0), (PREFIX, 0)), -) - -LIST_BUCKETS: StaticOperationSchema = ( - 23, - n0, - _LB, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/?x-id=ListBuckets", "code": 200} - ) - }, - LIST_BUCKETS_INPUT, - LIST_BUCKETS_OUTPUT, - (), -) - -DIRECTORY_BUCKET_TOKEN: StaticSchema = (3, n0, _DBTi, 0) - -MAX_DIRECTORY_BUCKETS: StaticSchema = (7, n0, _MDB, 0) - -LIST_DIRECTORY_BUCKETS_INPUT: StaticSchema = ( - 18, - n0, - _LDBI, - {_sSI: _cLDBR, _s: None}, - (_CTon, _MDB), - ((DIRECTORY_BUCKET_TOKEN, {_sQ: _ct}), (MAX_DIRECTORY_BUCKETS, {_sQ: _mdb})), -) - -LIST_DIRECTORY_BUCKETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LDBO, - {_sN: _LAMDBR, _smi: None}, - (_Bu, _CTon), - ((BUCKETS, 0), (DIRECTORY_BUCKET_TOKEN, 0)), -) - -LIST_DIRECTORY_BUCKETS: StaticOperationSchema = ( - 23, - n0, - _LDB, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "GET", "uri": "/?x-id=ListDirectoryBuckets", "code": 200} - ), - }, - LIST_DIRECTORY_BUCKETS_INPUT, - LIST_DIRECTORY_BUCKETS_OUTPUT, - (), -) - -DELIMITER: StaticSchema = (3, n0, _Deli, 0) - -ENCODING_TYPE: StaticSchema = (14, n0, _ETnc, 0, (_u,), ((-1, {_sV: _u}),)) - -KEY_MARKER: StaticSchema = (3, n0, _KM, 0) - -MAX_UPLOADS: StaticSchema = (7, n0, _MUa, 0) - -UPLOAD_ID_MARKER: StaticSchema = (3, n0, _UIM, 0) - -LIST_MULTIPART_UPLOADS_INPUT: StaticSchema = ( - 18, - n0, - _LMUI, - {_sSI: _cLMUR, _s: None}, - (_B, _Deli, _ETnc, _KM, _MUa, _Pr, _UIM, _EBO, _RP), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (DELIMITER, {_sQ: _d}), - (ENCODING_TYPE, {_sQ: _et}), - (KEY_MARKER, {_sQ: _km}), - (MAX_UPLOADS, {_sQ: _mu}), - (PREFIX, {_sP: MappingProxyType({"name": "Prefix"}), _sQ: _pre}), - (UPLOAD_ID_MARKER, {_sQ: _uim}), - (ACCOUNT_ID, {_sH: _xaebo}), - (REQUEST_PAYER, {_sH: _xarp}), - ), -) - -COMMON_PREFIX: StaticSchema = (18, n0, _CPo, 0, (_Pr,), ((PREFIX, 0),)) - -COMMON_PREFIX_LIST: StaticSchema = (16, n0, _CPLo, 0, (_m,), ((COMMON_PREFIX, 0),)) - -NEXT_KEY_MARKER: StaticSchema = (3, n0, _NKM, 0) - -NEXT_UPLOAD_ID_MARKER: StaticSchema = (3, n0, _NUIM, 0) - -INITIATED: StaticSchema = (4, n0, _In, 0) - -INITIATOR: StaticSchema = (18, n0, _Ini, 0, (_ID, _DN), ((ID, 0), (DISPLAY_NAME, 0))) - -MULTIPART_UPLOAD: StaticSchema = ( - 18, - n0, - _MU, - 0, - (_UI, _K, _In, _SC, _O, _Ini, _CA, _CT), - ( - (MULTIPART_UPLOAD_ID, 0), - (OBJECT_KEY, 0), - (INITIATED, 0), - (STORAGE_CLASS, 0), - (OWNER, 0), - (INITIATOR, 0), - (CHECKSUM_ALGORITHM, 0), - (CHECKSUM_TYPE, 0), - ), -) - -MULTIPART_UPLOAD_LIST: StaticSchema = (16, n0, _MUL, 0, (_m,), ((MULTIPART_UPLOAD, 0),)) - -LIST_MULTIPART_UPLOADS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMUO, - {_sN: _LMUR, _smi: None}, - (_B, _KM, _UIM, _NKM, _Pr, _Deli, _NUIM, _MUa, _ITs, _U, _CPom, _ETnc, _RC), - ( - (BUCKET_NAME, 0), - (KEY_MARKER, 0), - (UPLOAD_ID_MARKER, 0), - (NEXT_KEY_MARKER, 0), - (PREFIX, 0), - (DELIMITER, 0), - (NEXT_UPLOAD_ID_MARKER, 0), - (MAX_UPLOADS, 0), - (IS_TRUNCATED, 0), - (MULTIPART_UPLOAD_LIST, {_sN: _Up, _sFm: None}), - (COMMON_PREFIX_LIST, {_sFm: None}), - (ENCODING_TYPE, 0), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -LIST_MULTIPART_UPLOADS: StaticOperationSchema = ( - 23, - n0, - _LMU, - {_smith: MappingProxyType({"method": "GET", "uri": "/?uploads", "code": 200})}, - LIST_MULTIPART_UPLOADS_INPUT, - LIST_MULTIPART_UPLOADS_OUTPUT, - (), -) - -INVALID_PREFIX: StaticSchema = (18, n0, _IPn, {_smit: _c, _sE: 400}) - -ANNOTATION_PREFIX: StaticSchema = (3, n0, _APn, 0) - -MAX_ANNOTATION_RESULTS: StaticSchema = (7, n0, _MAR, 0) - -LIST_OBJECT_ANNOTATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LOAI, - {_sSI: _cLOAR, _s: None}, - (_B, _K, _VI, _MAR, _APn, _CTon, _RP, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (MAX_ANNOTATION_RESULTS, {_sQ: _mar}), - (ANNOTATION_PREFIX, {_sQ: _ap}), - (TOKEN, {_sQ: _ct}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -ANNOTATION_COUNT: StaticSchema = (7, n0, _ACnn, 0) - -CHECKSUM_ALGORITHM_LIST: StaticSchema = ( - 16, - n0, - _CAL, - 0, - (_m,), - ((CHECKSUM_ALGORITHM, 0),), -) - -ANNOTATION_ENTRY: StaticSchema = ( - 18, - n0, - _AE, - 0, - (_AN, _LM, _ET, _CA, _Si, _RS), - ( - (ANNOTATION_NAME, 1), - (LAST_MODIFIED, 1), - (E_TAG, 0), - (CHECKSUM_ALGORITHM_LIST, {_sFm: None}), - (SIZE, 1), - (REPLICATION_STATUS, 0), - ), -) - -ANNOTATION_LIST: StaticSchema = ( - 16, - n0, - _AL, - 0, - (_m,), - ((ANNOTATION_ENTRY, {_sN: _AE}),), -) - -LIST_OBJECT_ANNOTATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LOAO, - {_smi: None}, - (_An, _B, _K, _OVI, _APn, _MAR, _ACnn, _CTon, _NCT, _RC), - ( - (ANNOTATION_LIST, 0), - (BUCKET_NAME, 0), - (OBJECT_KEY, 0), - (OBJECT_VERSION_ID, {_sH: _xaovi}), - (ANNOTATION_PREFIX, 0), - (MAX_ANNOTATION_RESULTS, 0), - (ANNOTATION_COUNT, 0), - (TOKEN, 0), - (NEXT_TOKEN, 0), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -LIST_OBJECT_ANNOTATIONS: StaticOperationSchema = ( - 23, - n0, - _LOA, - { - _smith: MappingProxyType( - { - "method": "GET", - "uri": "/{Key+}?annotation&x-id=ListObjectAnnotations", - "code": 200, - } - ) - }, - LIST_OBJECT_ANNOTATIONS_INPUT, - LIST_OBJECT_ANNOTATIONS_OUTPUT, - (INVALID_PREFIX, NO_SUCH_BUCKET, NO_SUCH_KEY), -) - -MARKER: StaticSchema = (3, n0, _Ma, 0) - -MAX_KEYS: StaticSchema = (7, n0, _MKa, 0) - -OPTIONAL_OBJECT_ATTRIBUTES: StaticSchema = ( - 14, - n0, - _OOA, - 0, - (_RS_,), - ((-1, {_sV: _RSe}),), -) - -OPTIONAL_OBJECT_ATTRIBUTES_LIST: StaticSchema = ( - 16, - n0, - _OOAL, - 0, - (_m,), - ((OPTIONAL_OBJECT_ATTRIBUTES, 0),), -) - -LIST_OBJECTS_INPUT: StaticSchema = ( - 18, - n0, - _LOI, - {_sSI: _cLOR, _s: None}, - (_B, _Deli, _ETnc, _Ma, _MKa, _Pr, _RP, _EBO, _OOA), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (DELIMITER, {_sQ: _d}), - (ENCODING_TYPE, {_sQ: _et}), - (MARKER, {_sQ: _ma}), - (MAX_KEYS, {_sQ: _mk}), - (PREFIX, {_sP: MappingProxyType({"name": "Prefix"}), _sQ: _pre}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (OPTIONAL_OBJECT_ATTRIBUTES_LIST, {_sH: _xaooa}), - ), -) - -IS_RESTORE_IN_PROGRESS: StaticSchema = (2, n0, _IRIP, 0) - -RESTORE_EXPIRY_DATE: StaticSchema = (4, n0, _REDe, 0) - -RESTORE_STATUS: StaticSchema = ( - 18, - n0, - _RSe, - 0, - (_IRIP, _REDe), - ((IS_RESTORE_IN_PROGRESS, 0), (RESTORE_EXPIRY_DATE, 0)), -) - -OBJECT_STORAGE_CLASS: StaticSchema = ( - 14, - n0, - _OSC, - 0, - ( - _STANDARD, - _RR, - _GLACIER, - _SI, - _OI, - _IT, - _DA, - _OUTPOSTS, - _GI, - _SNOW, - _EO, - _FO_, - _FO__, - _ABW, - _ABLCW, - ), - ( - (-1, {_sV: _STANDARD}), - (-1, {_sV: _RR}), - (-1, {_sV: _GLACIER}), - (-1, {_sV: _SI}), - (-1, {_sV: _OI}), - (-1, {_sV: _IT}), - (-1, {_sV: _DA}), - (-1, {_sV: _OUTPOSTS}), - (-1, {_sV: _GI}), - (-1, {_sV: _SNOW}), - (-1, {_sV: _EO}), - (-1, {_sV: _FO_}), - (-1, {_sV: _FO__}), - (-1, {_sV: _ABW}), - (-1, {_sV: _ABLCW}), - ), -) - -OBJECT: StaticSchema = ( - 18, - n0, - _Obj, - 0, - (_K, _LM, _ET, _CA, _CT, _Si, _SC, _O, _RSe), - ( - (OBJECT_KEY, 0), - (LAST_MODIFIED, 0), - (E_TAG, 0), - (CHECKSUM_ALGORITHM_LIST, {_sFm: None}), - (CHECKSUM_TYPE, 0), - (SIZE, 0), - (OBJECT_STORAGE_CLASS, 0), - (OWNER, 0), - (RESTORE_STATUS, 0), - ), -) - -OBJECT_LIST: StaticSchema = (16, n0, _OL, 0, (_m,), ((OBJECT, 0),)) - -NEXT_MARKER: StaticSchema = (3, n0, _NM, 0) - -LIST_OBJECTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LOO, - {_sN: _LBR, _smi: None}, - (_ITs, _Ma, _NM, _Cont, _N, _Pr, _Deli, _MKa, _CPom, _ETnc, _RC), - ( - (IS_TRUNCATED, 0), - (MARKER, 0), - (NEXT_MARKER, 0), - (OBJECT_LIST, {_sFm: None}), - (BUCKET_NAME, 0), - (PREFIX, 0), - (DELIMITER, 0), - (MAX_KEYS, 0), - (COMMON_PREFIX_LIST, {_sFm: None}), - (ENCODING_TYPE, 0), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -LIST_OBJECTS: StaticOperationSchema = ( - 23, - n0, - _LO, - {_smith: MappingProxyType({"method": "GET", "uri": "/", "code": 200})}, - LIST_OBJECTS_INPUT, - LIST_OBJECTS_OUTPUT, - (NO_SUCH_BUCKET,), -) - -FETCH_OWNER: StaticSchema = (2, n0, _FOe, 0) - -START_AFTER: StaticSchema = (3, n0, _SAt, 0) - -LIST_OBJECTS_V2_INPUT: StaticSchema = ( - 18, - n0, - _LOVI, - {_sSI: _cLOVR, _s: None}, - (_B, _Deli, _ETnc, _MKa, _Pr, _CTon, _FOe, _SAt, _RP, _EBO, _OOA), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (DELIMITER, {_sQ: _d}), - (ENCODING_TYPE, {_sQ: _et}), - (MAX_KEYS, {_sQ: _mk}), - (PREFIX, {_sP: MappingProxyType({"name": "Prefix"}), _sQ: _pre}), - (TOKEN, {_sQ: _ct}), - (FETCH_OWNER, {_sQ: _fo}), - (START_AFTER, {_sQ: _sa}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (OPTIONAL_OBJECT_ATTRIBUTES_LIST, {_sH: _xaooa}), - ), -) - -KEY_COUNT: StaticSchema = (7, n0, _KC, 0) - -LIST_OBJECTS_V2_OUTPUT: StaticSchema = ( - 18, - n0, - _LOVO, - {_sN: _LBR, _smi: None}, - (_ITs, _Cont, _N, _Pr, _Deli, _MKa, _CPom, _ETnc, _KC, _CTon, _NCT, _SAt, _RC), - ( - (IS_TRUNCATED, 0), - (OBJECT_LIST, {_sFm: None}), - (BUCKET_NAME, 0), - (PREFIX, 0), - (DELIMITER, 0), - (MAX_KEYS, 0), - (COMMON_PREFIX_LIST, {_sFm: None}), - (ENCODING_TYPE, 0), - (KEY_COUNT, 0), - (TOKEN, 0), - (NEXT_TOKEN, 0), - (START_AFTER, 0), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -LIST_OBJECTS_V2: StaticOperationSchema = ( - 23, - n0, - _LOV, - {_smith: MappingProxyType({"method": "GET", "uri": "/?list-type=2", "code": 200})}, - LIST_OBJECTS_V2_INPUT, - LIST_OBJECTS_V2_OUTPUT, - (NO_SUCH_BUCKET,), -) - -VERSION_ID_MARKER: StaticSchema = (3, n0, _VIM, 0) - -LIST_OBJECT_VERSIONS_INPUT: StaticSchema = ( - 18, - n0, - _LOVIi, - {_sSI: _cLOVRo, _s: None}, - (_B, _Deli, _ETnc, _KM, _MKa, _Pr, _VIM, _EBO, _RP, _OOA), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (DELIMITER, {_sQ: _d}), - (ENCODING_TYPE, {_sQ: _et}), - (KEY_MARKER, {_sQ: _km}), - (MAX_KEYS, {_sQ: _mk}), - (PREFIX, {_sP: MappingProxyType({"name": "Prefix"}), _sQ: _pre}), - (VERSION_ID_MARKER, {_sQ: _vim}), - (ACCOUNT_ID, {_sH: _xaebo}), - (REQUEST_PAYER, {_sH: _xarp}), - (OPTIONAL_OBJECT_ATTRIBUTES_LIST, {_sH: _xaooa}), - ), -) - -IS_LATEST: StaticSchema = (2, n0, _IL, 0) - -DELETE_MARKER_ENTRY: StaticSchema = ( - 18, - n0, - _DME, - 0, - (_O, _K, _VI, _IL, _LM), - ( - (OWNER, 0), - (OBJECT_KEY, 0), - (OBJECT_VERSION_ID, 0), - (IS_LATEST, 0), - (LAST_MODIFIED, 0), - ), -) - -DELETE_MARKERS: StaticSchema = (16, n0, _DMe, 0, (_m,), ((DELETE_MARKER_ENTRY, 0),)) - -NEXT_VERSION_ID_MARKER: StaticSchema = (3, n0, _NVIM, 0) - -OBJECT_VERSION_STORAGE_CLASS: StaticSchema = ( - 14, - n0, - _OVSC, - 0, - (_STANDARD,), - ((-1, {_sV: _STANDARD}),), -) - -OBJECT_VERSION: StaticSchema = ( - 18, - n0, - _OV, - 0, - (_ET, _CA, _CT, _Si, _SC, _K, _VI, _IL, _LM, _O, _RSe), - ( - (E_TAG, 0), - (CHECKSUM_ALGORITHM_LIST, {_sFm: None}), - (CHECKSUM_TYPE, 0), - (SIZE, 0), - (OBJECT_VERSION_STORAGE_CLASS, 0), - (OBJECT_KEY, 0), - (OBJECT_VERSION_ID, 0), - (IS_LATEST, 0), - (LAST_MODIFIED, 0), - (OWNER, 0), - (RESTORE_STATUS, 0), - ), -) - -OBJECT_VERSION_LIST: StaticSchema = (16, n0, _OVL, 0, (_m,), ((OBJECT_VERSION, 0),)) - -LIST_OBJECT_VERSIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LOVOi, - {_sN: _LVR, _smi: None}, - (_ITs, _KM, _VIM, _NKM, _NVIM, _Ve, _DMe, _N, _Pr, _Deli, _MKa, _CPom, _ETnc, _RC), - ( - (IS_TRUNCATED, 0), - (KEY_MARKER, 0), - (VERSION_ID_MARKER, 0), - (NEXT_KEY_MARKER, 0), - (NEXT_VERSION_ID_MARKER, 0), - (OBJECT_VERSION_LIST, {_sN: _Ver, _sFm: None}), - (DELETE_MARKERS, {_sN: _DM, _sFm: None}), - (BUCKET_NAME, 0), - (PREFIX, 0), - (DELIMITER, 0), - (MAX_KEYS, 0), - (COMMON_PREFIX_LIST, {_sFm: None}), - (ENCODING_TYPE, 0), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -LIST_OBJECT_VERSIONS: StaticOperationSchema = ( - 23, - n0, - _LOVi, - {_smith: MappingProxyType({"method": "GET", "uri": "/?versions", "code": 200})}, - LIST_OBJECT_VERSIONS_INPUT, - LIST_OBJECT_VERSIONS_OUTPUT, - (), -) - -LIST_PARTS_INPUT: StaticSchema = ( - 18, - n0, - _LPI, - {_sSI: _cLPR, _s: None}, - (_B, _K, _MP, _PNM, _UI, _RP, _EBO, _SSECA, _SSECK, _SSECKMD), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (MAX_PARTS, {_sQ: _mp}), - (PART_NUMBER_MARKER, {_sQ: _pnm}), - (MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - ), -) - -PART: StaticSchema = ( - 18, - n0, - _Par, - 0, - ( - _PN, - _LM, - _ET, - _Si, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - ), - ( - (PART_NUMBER, 0), - (LAST_MODIFIED, 0), - (E_TAG, 0), - (SIZE, 0), - (CHECKSUM_CRC32, 0), - (CHECKSUM_CRC32_C, 0), - (CHECKSUM_CRC64_NVME, 0), - (CHECKSUM_SHA1, 0), - (CHECKSUM_SHA256, 0), - (CHECKSUM_SHA512, 0), - (CHECKSUM_MD5, 0), - (CHECKSUM_XXHASH64, 0), - (CHECKSUM_XXHASH3, 0), - (CHECKSUM_XXHASH128, 0), - ), -) - -PARTS: StaticSchema = (16, n0, _Pa, 0, (_m,), ((PART, 0),)) - -LIST_PARTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPO, - {_sN: _LPR, _smi: None}, - (_AD, _ARI, _B, _K, _UI, _PNM, _NPNM, _MP, _ITs, _Pa, _Ini, _O, _SC, _RC, _CA, _CT), - ( - (ABORT_DATE, {_sH: _xaad}), - (ABORT_RULE_ID, {_sH: _xaari}), - (BUCKET_NAME, 0), - (OBJECT_KEY, 0), - (MULTIPART_UPLOAD_ID, 0), - (PART_NUMBER_MARKER, 0), - (NEXT_PART_NUMBER_MARKER, 0), - (MAX_PARTS, 0), - (IS_TRUNCATED, 0), - (PARTS, {_sN: _Par, _sFm: None}), - (INITIATOR, 0), - (OWNER, 0), - (STORAGE_CLASS, 0), - (REQUEST_CHARGED, {_sH: _xarc}), - (CHECKSUM_ALGORITHM, 0), - (CHECKSUM_TYPE, 0), - ), -) - -LIST_PARTS: StaticOperationSchema = ( - 23, - n0, - _LP, - { - _smith: MappingProxyType( - {"method": "GET", "uri": "/{Key+}?x-id=ListParts", "code": 200} - ) - }, - LIST_PARTS_INPUT, - LIST_PARTS_OUTPUT, - (), -) - -PUT_BUCKET_ABAC_INPUT: StaticSchema = ( - 18, - n0, - _PBAI, - {_sSI: _cPBAR, _s: None}, - (_B, _CMDo, _CA, _EBO, _AS), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (ACCOUNT_ID, {_sH: _xaebo}), - (ABAC_STATUS, {_sN: _AS, _sm: None, _sPm: None}), - ), -) - -PUT_BUCKET_ABAC_OUTPUT: StaticSchema = (18, n0, _PBAO, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_ABAC: StaticOperationSchema = ( - 23, - n0, - _PBA, - { - _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), - _smith: MappingProxyType({"method": "PUT", "uri": "/?abac", "code": 200}), - }, - PUT_BUCKET_ABAC_INPUT, - PUT_BUCKET_ABAC_OUTPUT, - (), -) - -PUT_BUCKET_ACCELERATE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PBACI, - {_sSI: _cPBACR, _s: None}, - (_B, _AC, _EBO, _CA), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ACCELERATE_CONFIGURATION, {_sN: _AC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - ), -) - -PUT_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PBACO, - {_sSI: _sU, _smi: None}, -) - -PUT_BUCKET_ACCELERATE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PBAC, - { - _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?accelerate", "code": 200}), - }, - PUT_BUCKET_ACCELERATE_CONFIGURATION_INPUT, - PUT_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT, - (), -) - -PUT_BUCKET_ACL_INPUT: StaticSchema = ( - 18, - n0, - _PBAIu, - {_sSI: _cPBARo, _s: None}, - (_ACL_, _ACP, _B, _CMDo, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _EBO), - ( - (BUCKET_CANNED_ACL, {_sH: _xaa}), - (ACCESS_CONTROL_POLICY, {_sN: _ACP, _sPm: None}), - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (GRANT_FULL_CONTROL, {_sH: _xagfc}), - (GRANT_READ, {_sH: _xagr}), - (GRANT_READ_ACP, {_sH: _xagra}), - (GRANT_WRITE, {_sH: _xagw}), - (GRANT_WRITE_ACP, {_sH: _xagwa}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_ACL_OUTPUT: StaticSchema = (18, n0, _PBAOu, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_ACL: StaticOperationSchema = ( - 23, - n0, - _PBAu, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?acl", "code": 200}), - }, - PUT_BUCKET_ACL_INPUT, - PUT_BUCKET_ACL_OUTPUT, - (), -) - -PUT_BUCKET_ANALYTICS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PBACIu, - {_sSI: _cPBACRo, _s: None}, - (_B, _I, _ACn, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (ANALYTICS_ID, {_sQ: _i, _sm: None}), - (ANALYTICS_CONFIGURATION, {_sN: _ACn, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PBACOu, - {_sSI: _sU, _smi: None}, -) - -PUT_BUCKET_ANALYTICS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PBACu, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?analytics", "code": 200}), - }, - PUT_BUCKET_ANALYTICS_CONFIGURATION_INPUT, - PUT_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT, - (), -) - -CORS_CONFIGURATION: StaticSchema = ( - 18, - n0, - _CORSC, - 0, - (_CORSRu,), - ((CORS_RULES, {_sN: _CORSR, _sFm: None, _sm: None}),), -) - -PUT_BUCKET_CORS_INPUT: StaticSchema = ( - 18, - n0, - _PBCI, - {_sSI: _cPBCR, _s: None}, - (_B, _CORSC, _CMDo, _CA, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CORS_CONFIGURATION, {_sN: _CORSC, _sm: None, _sPm: None}), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_CORS_OUTPUT: StaticSchema = (18, n0, _PBCO, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_CORS: StaticOperationSchema = ( - 23, - n0, - _PBC, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?cors", "code": 200}), - }, - PUT_BUCKET_CORS_INPUT, - PUT_BUCKET_CORS_OUTPUT, - (), -) - -PUT_BUCKET_ENCRYPTION_INPUT: StaticSchema = ( - 18, - n0, - _PBEI, - {_sSI: _cPBER, _s: None}, - (_B, _CMDo, _CA, _SSEC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (SERVER_SIDE_ENCRYPTION_CONFIGURATION, {_sN: _SSEC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_ENCRYPTION_OUTPUT: StaticSchema = (18, n0, _PBEO, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_ENCRYPTION: StaticOperationSchema = ( - 23, - n0, - _PBE, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?encryption", "code": 200}), - }, - PUT_BUCKET_ENCRYPTION_INPUT, - PUT_BUCKET_ENCRYPTION_OUTPUT, - (), -) - -PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PBITCI, - {_sSI: _cPBITCR, _s: None}, - (_B, _I, _EBO, _ITCn), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (INTELLIGENT_TIERING_ID, {_sQ: _i, _sm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - (INTELLIGENT_TIERING_CONFIGURATION, {_sN: _ITCn, _sm: None, _sPm: None}), - ), -) - -PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PBITCO, - {_sSI: _sU, _smi: None}, -) - -PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PBITC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?intelligent-tiering", "code": 200} - ), - }, - PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT, - PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT, - (), -) - -PUT_BUCKET_INVENTORY_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PBICI, - {_sSI: _cPBICR, _s: None}, - (_B, _I, _IC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (INVENTORY_ID, {_sQ: _i, _sm: None}), - (INVENTORY_CONFIGURATION, {_sN: _IC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_INVENTORY_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PBICO, - {_sSI: _sU, _smi: None}, -) - -PUT_BUCKET_INVENTORY_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PBIC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?inventory", "code": 200}), - }, - PUT_BUCKET_INVENTORY_CONFIGURATION_INPUT, - PUT_BUCKET_INVENTORY_CONFIGURATION_OUTPUT, - (), -) - -BUCKET_LIFECYCLE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _BLCu, - 0, - (_Ru,), - ((LIFECYCLE_RULES, {_sN: _Rul, _sFm: None, _sm: None}),), -) - -PUT_BUCKET_LIFECYCLE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PBLCI, - {_sSI: _cPBLCR, _s: None}, - (_B, _CA, _LCi, _EBO, _TDMOS), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (BUCKET_LIFECYCLE_CONFIGURATION, {_sN: _LCi, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - (TRANSITION_DEFAULT_MINIMUM_OBJECT_SIZE, {_sH: _xatdmos}), - ), -) - -PUT_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PBLCO, - {_smi: None}, - (_TDMOS,), - ((TRANSITION_DEFAULT_MINIMUM_OBJECT_SIZE, {_sH: _xatdmos}),), -) - -PUT_BUCKET_LIFECYCLE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PBLC, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?lifecycle", "code": 200}), - }, - PUT_BUCKET_LIFECYCLE_CONFIGURATION_INPUT, - PUT_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT, - (), -) - -BUCKET_LOGGING_STATUS: StaticSchema = ( - 18, - n0, - _BLS, - 0, - (_LEo,), - ((LOGGING_ENABLED, 0),), -) - -PUT_BUCKET_LOGGING_INPUT: StaticSchema = ( - 18, - n0, - _PBLI, - {_sSI: _cPBLR, _s: None}, - (_B, _BLS, _CMDo, _CA, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (BUCKET_LOGGING_STATUS, {_sN: _BLS, _sm: None, _sPm: None}), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_LOGGING_OUTPUT: StaticSchema = (18, n0, _PBLO, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_LOGGING: StaticOperationSchema = ( - 23, - n0, - _PBL, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?logging", "code": 200}), - }, - PUT_BUCKET_LOGGING_INPUT, - PUT_BUCKET_LOGGING_OUTPUT, - (), -) - -PUT_BUCKET_METRICS_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PBMCI, - {_sSI: _cPBMCR, _s: None}, - (_B, _I, _MCe, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (METRICS_ID, {_sQ: _i, _sm: None}), - (METRICS_CONFIGURATION, {_sN: _MCe, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_METRICS_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PBMCO, - {_sSI: _sU, _smi: None}, -) - -PUT_BUCKET_METRICS_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PBMC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?metrics", "code": 200}), - }, - PUT_BUCKET_METRICS_CONFIGURATION_INPUT, - PUT_BUCKET_METRICS_CONFIGURATION_OUTPUT, - (), -) - -NOTIFICATION_CONFIGURATION: StaticSchema = ( - 18, - n0, - _NC, - 0, - (_TCo, _QCu, _LFCa, _EBC), - ( - (TOPIC_CONFIGURATION_LIST, {_sN: _TC, _sFm: None}), - (QUEUE_CONFIGURATION_LIST, {_sN: _QC, _sFm: None}), - (LAMBDA_FUNCTION_CONFIGURATION_LIST, {_sN: _CFC, _sFm: None}), - (EVENT_BRIDGE_CONFIGURATION, 0), - ), -) - -SKIP_VALIDATION: StaticSchema = (2, n0, _SV, 0) - -PUT_BUCKET_NOTIFICATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PBNCI, - {_sSI: _cPBNCR, _s: None}, - (_B, _NC, _EBO, _SDV), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (NOTIFICATION_CONFIGURATION, {_sN: _NC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - (SKIP_VALIDATION, {_sH: _xasdv}), - ), -) - -PUT_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PBNCO, - {_sSI: _sU, _smi: None}, -) - -PUT_BUCKET_NOTIFICATION_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PBNC, - { - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?notification", "code": 200} - ), - }, - PUT_BUCKET_NOTIFICATION_CONFIGURATION_INPUT, - PUT_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT, - (), -) - -PUT_BUCKET_OWNERSHIP_CONTROLS_INPUT: StaticSchema = ( - 18, - n0, - _PBOCI, - {_sSI: _cPBOCR, _s: None}, - (_B, _CMDo, _EBO, _OC, _CA), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (ACCOUNT_ID, {_sH: _xaebo}), - (OWNERSHIP_CONTROLS, {_sN: _OC, _sm: None, _sPm: None}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - ), -) - -PUT_BUCKET_OWNERSHIP_CONTROLS_OUTPUT: StaticSchema = ( - 18, - n0, - _PBOCO, - {_sSI: _sU, _smi: None}, -) - -PUT_BUCKET_OWNERSHIP_CONTROLS: StaticOperationSchema = ( - 23, - n0, - _PBOC, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?ownershipControls", "code": 200} - ), - }, - PUT_BUCKET_OWNERSHIP_CONTROLS_INPUT, - PUT_BUCKET_OWNERSHIP_CONTROLS_OUTPUT, - (), -) - -CONFIRM_REMOVE_SELF_BUCKET_ACCESS: StaticSchema = (2, n0, _CRSBA, 0) - -PUT_BUCKET_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PBPI, - {_sSI: _cPBPR, _s: None}, - (_B, _CMDo, _CA, _CRSBA, _Po, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (CONFIRM_REMOVE_SELF_BUCKET_ACCESS, {_sH: _xacrsba}), - (POLICY, 17), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_POLICY_OUTPUT: StaticSchema = (18, n0, _PBPO, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_POLICY: StaticOperationSchema = ( - 23, - n0, - _PBP, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?policy", "code": 200}), - }, - PUT_BUCKET_POLICY_INPUT, - PUT_BUCKET_POLICY_OUTPUT, - (), -) - -OBJECT_LOCK_TOKEN: StaticSchema = (3, n0, _OLT, 0) - -PUT_BUCKET_REPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _PBRI, - {_sSI: _cPBRR, _s: None}, - (_B, _CMDo, _CA, _RCe, _Tok, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (REPLICATION_CONFIGURATION, {_sN: _RCe, _sm: None, _sPm: None}), - (OBJECT_LOCK_TOKEN, {_sH: _xabolt}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_REPLICATION_OUTPUT: StaticSchema = (18, n0, _PBRO, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_REPLICATION: StaticOperationSchema = ( - 23, - n0, - _PBR, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?replication", "code": 200} - ), - }, - PUT_BUCKET_REPLICATION_INPUT, - PUT_BUCKET_REPLICATION_OUTPUT, - (), -) - -REQUEST_PAYMENT_CONFIGURATION: StaticSchema = (18, n0, _RPC, 0, (_Pay,), ((PAYER, 1),)) - -PUT_BUCKET_REQUEST_PAYMENT_INPUT: StaticSchema = ( - 18, - n0, - _PBRPI, - {_sSI: _cPBRPR, _s: None}, - (_B, _CMDo, _CA, _RPC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (REQUEST_PAYMENT_CONFIGURATION, {_sN: _RPC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_REQUEST_PAYMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _PBRPO, - {_sSI: _sU, _smi: None}, -) - -PUT_BUCKET_REQUEST_PAYMENT: StaticOperationSchema = ( - 23, - n0, - _PBRP, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?requestPayment", "code": 200} - ), - }, - PUT_BUCKET_REQUEST_PAYMENT_INPUT, - PUT_BUCKET_REQUEST_PAYMENT_OUTPUT, - (), -) - -TAGGING: StaticSchema = (18, n0, _Ta, 0, (_TS,), ((TAG_SET, 1),)) - -PUT_BUCKET_TAGGING_INPUT: StaticSchema = ( - 18, - n0, - _PBTI, - {_sSI: _cPBTR, _s: None}, - (_B, _CMDo, _CA, _Ta, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (TAGGING, {_sN: _Ta, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_TAGGING_OUTPUT: StaticSchema = (18, n0, _PBTO, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_TAGGING: StaticOperationSchema = ( - 23, - n0, - _PBT, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?tagging", "code": 200}), - }, - PUT_BUCKET_TAGGING_INPUT, - PUT_BUCKET_TAGGING_OUTPUT, - (), -) - -MFA_DELETE: StaticSchema = ( - 14, - n0, - _MFAD, - 0, - (_E, _D), - ((-1, {_sV: _E}), (-1, {_sV: _D})), -) - -VERSIONING_CONFIGURATION: StaticSchema = ( - 18, - n0, - _VCe, - 0, - (_MFAD, _S), - ((MFA_DELETE, {_sN: _MDf}), (BUCKET_VERSIONING_STATUS, 0)), -) - -PUT_BUCKET_VERSIONING_INPUT: StaticSchema = ( - 18, - n0, - _PBVI, - {_sSI: _cPBVR, _s: None}, - (_B, _CMDo, _CA, _MFA, _VCe, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (MFA, {_sH: _xam_}), - (VERSIONING_CONFIGURATION, {_sN: _VCe, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_VERSIONING_OUTPUT: StaticSchema = (18, n0, _PBVO, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_VERSIONING: StaticOperationSchema = ( - 23, - n0, - _PBV, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?versioning", "code": 200}), - }, - PUT_BUCKET_VERSIONING_INPUT, - PUT_BUCKET_VERSIONING_OUTPUT, - (), -) - -WEBSITE_CONFIGURATION: StaticSchema = ( - 18, - n0, - _WC, - 0, - (_EDr, _IDnd, _RART, _RRou), - ( - (ERROR_DOCUMENT, 0), - (INDEX_DOCUMENT, 0), - (REDIRECT_ALL_REQUESTS_TO, 0), - (ROUTING_RULES, 0), - ), -) - -PUT_BUCKET_WEBSITE_INPUT: StaticSchema = ( - 18, - n0, - _PBWI, - {_sSI: _cPBWR, _s: None}, - (_B, _CMDo, _CA, _WC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (WEBSITE_CONFIGURATION, {_sN: _WC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_BUCKET_WEBSITE_OUTPUT: StaticSchema = (18, n0, _PBWO, {_sSI: _sU, _smi: None}) - -PUT_BUCKET_WEBSITE: StaticOperationSchema = ( - 23, - n0, - _PBW, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/?website", "code": 200}), - }, - PUT_BUCKET_WEBSITE_INPUT, - PUT_BUCKET_WEBSITE_OUTPUT, - (), -) - -ENCRYPTION_TYPE_MISMATCH: StaticSchema = (18, n0, _ETM, {_smit: _c, _sE: 400}) - -INVALID_REQUEST: StaticSchema = (18, n0, _IR, {_smit: _c, _sE: 400}) - -INVALID_WRITE_OFFSET: StaticSchema = (18, n0, _IWO, {_smit: _c, _sE: 400}) - -WRITE_OFFSET_BYTES: StaticSchema = (8, n0, _WOB, 0) - -PUT_OBJECT_INPUT: StaticSchema = ( - 18, - n0, - _POI, - {_sSI: _cPOR, _s: None}, - ( - _ACL_, - _Bo, - _B, - _CC, - _CD, - _CE, - _CL, - _CLo, - _CMDo, - _CTo, - _CA, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _Exp, - _IM, - _INM, - _GFC, - _GR, - _GRACP, - _GWACP, - _K, - _WOB, - _M, - _SSE, - _SC, - _WRL, - _SSECA, - _SSECK, - _SSECKMD, - _SSEKMSKI, - _SSEKMSEC, - _BKE, - _RP, - _Ta, - _OLM, - _OLRUD, - _OLLHS, - _OLEH, - _OLEHDD, - _OLEHDY, - _EBO, - ), - ( - (OBJECT_CANNED_ACL, {_sH: _xaa}), - (STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CACHE_CONTROL, {_sH: _CC_}), - (CONTENT_DISPOSITION, {_sH: _CD_}), - (CONTENT_ENCODING, {_sH: _CE_}), - (CONTENT_LANGUAGE, {_sH: _CL_}), - (CONTENT_LENGTH, {_sH: _CL__}), - (CONTENT_MD5, {_sH: _CM}), - (CONTENT_TYPE, {_sH: _CT_}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (EXPIRES, {_sH: _Exp}), - (IF_MATCH, {_sH: _IM_}), - (IF_NONE_MATCH, {_sH: _INM_}), - (GRANT_FULL_CONTROL, {_sH: _xagfc}), - (GRANT_READ, {_sH: _xagr}), - (GRANT_READ_ACP, {_sH: _xagra}), - (GRANT_WRITE_ACP, {_sH: _xagwa}), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (WRITE_OFFSET_BYTES, {_sH: _xawob}), - (METADATA, {_sPH: _xam}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (STORAGE_CLASS, {_sH: _xasc}), - (WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (REQUEST_PAYER, {_sH: _xarp}), - (TAGGING_HEADER, {_sH: _xat}), - (OBJECT_LOCK_MODE, {_sH: _xaolm}), - (OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), - (OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), - (OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), - (OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_OBJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _POO, - {_smi: None}, - ( - _Ex, - _ET, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _CT, - _SSE, - _VI, - _SSECA, - _SSECKMD, - _SSEKMSKI, - _SSEKMSEC, - _BKE, - _Si, - _RC, - ), - ( - (EXPIRATION, {_sH: _xae}), - (E_TAG, {_sH: _ET}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (CHECKSUM_TYPE, {_sH: _xact}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (OBJECT_VERSION_ID, {_sH: _xavi}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (SIZE, {_sH: _xaos}), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -TOO_MANY_PARTS: StaticSchema = (18, n0, _TMP, {_smit: _c, _sE: 400}) - -PUT_OBJECT: StaticOperationSchema = ( - 23, - n0, - _PO, - { - _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?x-id=PutObject", "code": 200} - ), - }, - PUT_OBJECT_INPUT, - PUT_OBJECT_OUTPUT, - (ENCRYPTION_TYPE_MISMATCH, INVALID_REQUEST, INVALID_WRITE_OFFSET, TOO_MANY_PARTS), -) - -PUT_OBJECT_ACL_INPUT: StaticSchema = ( - 18, - n0, - _POAI, - {_sSI: _cPOAR, _s: None}, - (_ACL_, _ACP, _B, _CMDo, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _K, _RP, _VI, _EBO), - ( - (OBJECT_CANNED_ACL, {_sH: _xaa}), - (ACCESS_CONTROL_POLICY, {_sN: _ACP, _sPm: None}), - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (GRANT_FULL_CONTROL, {_sH: _xagfc}), - (GRANT_READ, {_sH: _xagr}), - (GRANT_READ_ACP, {_sH: _xagra}), - (GRANT_WRITE, {_sH: _xagw}), - (GRANT_WRITE_ACP, {_sH: _xagwa}), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (REQUEST_PAYER, {_sH: _xarp}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_OBJECT_ACL_OUTPUT: StaticSchema = ( - 18, - n0, - _POAO, - {_smi: None}, - (_RC,), - ((REQUEST_CHARGED, {_sH: _xarc}),), -) - -PUT_OBJECT_ACL: StaticOperationSchema = ( - 23, - n0, - _POA, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _smith: MappingProxyType({"method": "PUT", "uri": "/{Key+}?acl", "code": 200}), - }, - PUT_OBJECT_ACL_INPUT, - PUT_OBJECT_ACL_OUTPUT, - (NO_SUCH_KEY,), -) - -ANNOTATION_LIMIT_EXCEEDED: StaticSchema = (18, n0, _ALE, {_smit: _c, _sE: 400}) - -ANNOTATION_NAME_TOO_LONG: StaticSchema = (18, n0, _ANTL, {_smit: _c, _sE: 400}) - -INVALID_ANNOTATION_NAME: StaticSchema = (18, n0, _IAN, {_smit: _c, _sE: 400}) - -PUT_OBJECT_ANNOTATION_INPUT: StaticSchema = ( - 18, - n0, - _POAIu, - {_sSI: _cPOARo, _s: None}, - ( - _B, - _K, - _VI, - _AN, - _AP, - _OIM, - _CA, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _CMDo, - _RP, - _EBO, - ), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (ANNOTATION_NAME, {_sQ: _aN, _sm: None}), - (STREAMING_BLOB, 17), - (OBJECT_IF_MATCH, {_sH: _xaoim}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (CONTENT_MD5, {_sH: _CM}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_OBJECT_ANNOTATION_OUTPUT: StaticSchema = ( - 18, - n0, - _POAOu, - {_smi: None}, - ( - _K, - _AN, - _OVI, - _ET, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _CT, - _SSE, - _RC, - ), - ( - (OBJECT_KEY, 0), - (ANNOTATION_NAME, 0), - (OBJECT_VERSION_ID, {_sH: _xaovi}), - (E_TAG, {_sH: _ET}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (CHECKSUM_TYPE, {_sH: _xact}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -UNSUPPORTED_MEDIA_TYPE: StaticSchema = (18, n0, _UMT, {_smit: _c, _sE: 415}) - -PUT_OBJECT_ANNOTATION: StaticOperationSchema = ( - 23, - n0, - _POAu, - { - _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?annotation", "code": 200} - ), - }, - PUT_OBJECT_ANNOTATION_INPUT, - PUT_OBJECT_ANNOTATION_OUTPUT, - ( - ANNOTATION_LIMIT_EXCEEDED, - ANNOTATION_NAME_TOO_LONG, - INVALID_ANNOTATION_NAME, - INVALID_REQUEST, - NO_SUCH_BUCKET, - NO_SUCH_KEY, - UNSUPPORTED_MEDIA_TYPE, - ), -) - -PUT_OBJECT_LEGAL_HOLD_INPUT: StaticSchema = ( - 18, - n0, - _POLHI, - {_sSI: _cPOLHR, _s: None}, - (_B, _K, _LH, _RP, _VI, _CMDo, _CA, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_LOCK_LEGAL_HOLD, {_sN: _LH, _sPm: None}), - (REQUEST_PAYER, {_sH: _xarp}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_OBJECT_LEGAL_HOLD_OUTPUT: StaticSchema = ( - 18, - n0, - _POLHO, - {_smi: None}, - (_RC,), - ((REQUEST_CHARGED, {_sH: _xarc}),), -) - -PUT_OBJECT_LEGAL_HOLD: StaticOperationSchema = ( - 23, - n0, - _POLH, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?legal-hold", "code": 200} - ), - }, - PUT_OBJECT_LEGAL_HOLD_INPUT, - PUT_OBJECT_LEGAL_HOLD_OUTPUT, - (), -) - -PUT_OBJECT_LOCK_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _POLCI, - {_sSI: _cPOLCR, _s: None}, - (_B, _OLC, _RP, _Tok, _CMDo, _CA, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_LOCK_CONFIGURATION, {_sN: _OLC, _sPm: None}), - (REQUEST_PAYER, {_sH: _xarp}), - (OBJECT_LOCK_TOKEN, {_sH: _xabolt}), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_OBJECT_LOCK_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _POLCO, - {_smi: None}, - (_RC,), - ((REQUEST_CHARGED, {_sH: _xarc}),), -) - -PUT_OBJECT_LOCK_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _POLC, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?object-lock", "code": 200} - ), - }, - PUT_OBJECT_LOCK_CONFIGURATION_INPUT, - PUT_OBJECT_LOCK_CONFIGURATION_OUTPUT, - (), -) - -PUT_OBJECT_RETENTION_INPUT: StaticSchema = ( - 18, - n0, - _PORI, - {_sSI: _cPORR, _s: None}, - (_B, _K, _Ret, _RP, _VI, _BGR, _CMDo, _CA, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_LOCK_RETENTION, {_sN: _Ret, _sPm: None}), - (REQUEST_PAYER, {_sH: _xarp}), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (BYPASS_GOVERNANCE_RETENTION, {_sH: _xabgr}), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_OBJECT_RETENTION_OUTPUT: StaticSchema = ( - 18, - n0, - _PORO, - {_smi: None}, - (_RC,), - ((REQUEST_CHARGED, {_sH: _xarc}),), -) - -PUT_OBJECT_RETENTION: StaticOperationSchema = ( - 23, - n0, - _POR, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?retention", "code": 200} - ), - }, - PUT_OBJECT_RETENTION_INPUT, - PUT_OBJECT_RETENTION_OUTPUT, - (), -) - -PUT_OBJECT_TAGGING_INPUT: StaticSchema = ( - 18, - n0, - _POTI, - {_sSI: _cPOTR, _s: None}, - (_B, _K, _VI, _CMDo, _CA, _Ta, _EBO, _RP), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (TAGGING, {_sN: _Ta, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - (REQUEST_PAYER, {_sH: _xarp}), - ), -) - -PUT_OBJECT_TAGGING_OUTPUT: StaticSchema = ( - 18, - n0, - _POTO, - {_smi: None}, - (_VI,), - ((OBJECT_VERSION_ID, {_sH: _xavi}),), -) - -PUT_OBJECT_TAGGING: StaticOperationSchema = ( - 23, - n0, - _POT, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?tagging", "code": 200} - ), - }, - PUT_OBJECT_TAGGING_INPUT, - PUT_OBJECT_TAGGING_OUTPUT, - (), -) - -PUT_PUBLIC_ACCESS_BLOCK_INPUT: StaticSchema = ( - 18, - n0, - _PPABI, - {_sSI: _cPPABR, _s: None}, - (_B, _CMDo, _CA, _PABC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (PUBLIC_ACCESS_BLOCK_CONFIGURATION, {_sN: _PABC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -PUT_PUBLIC_ACCESS_BLOCK_OUTPUT: StaticSchema = (18, n0, _PPABO, {_sSI: _sU, _smi: None}) - -PUT_PUBLIC_ACCESS_BLOCK: StaticOperationSchema = ( - 23, - n0, - _PPAB, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?publicAccessBlock", "code": 200} - ), - }, - PUT_PUBLIC_ACCESS_BLOCK_INPUT, - PUT_PUBLIC_ACCESS_BLOCK_OUTPUT, - (), -) - -IDEMPOTENCY_PARAMETER_MISMATCH: StaticSchema = (18, n0, _IPM, {_smit: _c, _sE: 400}) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) - -RENAME_SOURCE: StaticSchema = (3, n0, _RSen, 0) - -RENAME_SOURCE_IF_MATCH: StaticSchema = (3, n0, _RSIM, 0) - -RENAME_SOURCE_IF_MODIFIED_SINCE: StaticSchema = (4, n0, _RSIMS, {_sF: _hd}) - -RENAME_SOURCE_IF_NONE_MATCH: StaticSchema = (3, n0, _RSINM, 0) - -RENAME_SOURCE_IF_UNMODIFIED_SINCE: StaticSchema = (4, n0, _RSIUS, {_sF: _hd}) - -RENAME_OBJECT_INPUT: StaticSchema = ( - 18, - n0, - _ROI, - {_sSI: _cROR, _s: None}, - (_B, _K, _RSen, _DIM, _DINM, _DIMS, _DIUS, _SIM, _SINM, _SIMS, _SIUS, _CTl), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (RENAME_SOURCE, {_sH: _xars_, _sm: None}), - (IF_MATCH, {_sH: _IM_}), - (IF_NONE_MATCH, {_sH: _INM_}), - (IF_MODIFIED_SINCE, {_sH: _IMS_}), - (IF_UNMODIFIED_SINCE, {_sH: _IUS_}), - (RENAME_SOURCE_IF_MATCH, {_sH: _xarsim}), - (RENAME_SOURCE_IF_NONE_MATCH, {_sH: _xarsinm}), - (RENAME_SOURCE_IF_MODIFIED_SINCE, {_sH: _xarsims}), - (RENAME_SOURCE_IF_UNMODIFIED_SINCE, {_sH: _xarsius}), - (CLIENT_TOKEN, {_sH: _xact_, _sT: None}), - ), -) - -RENAME_OBJECT_OUTPUT: StaticSchema = (18, n0, _ROO, {_smi: None}) - -RENAME_OBJECT: StaticOperationSchema = ( - 23, - n0, - _ROe, - { - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?renameObject", "code": 200} - ) - }, - RENAME_OBJECT_INPUT, - RENAME_OBJECT_OUTPUT, - (IDEMPOTENCY_PARAMETER_MISMATCH,), -) - -OBJECT_ALREADY_IN_ACTIVE_TIER_ERROR: StaticSchema = ( - 18, - n0, - _OAIATE, - {_smit: _c, _sE: 403}, -) - -DESCRIPTION: StaticSchema = (3, n0, _Des, 0) - -TIER: StaticSchema = ( - 14, - n0, - _Tier, - 0, - (_St, _Bul, _Expe), - ((-1, {_sV: _St}), (-1, {_sV: _Bul}), (-1, {_sV: _Expe})), -) - -GLACIER_JOB_PARAMETERS: StaticSchema = (18, n0, _GJP, 0, (_Tier,), ((TIER, 1),)) - -KMS_CONTEXT: StaticSchema = (3, n0, _KMSC, 0) - -ENCRYPTION: StaticSchema = ( - 18, - n0, - _En, - 0, - (_ETn, _KMSKI, _KMSC), - ((SERVER_SIDE_ENCRYPTION, 1), (SSEKMS_KEY_ID, 0), (KMS_CONTEXT, 0)), -) - -LOCATION_PREFIX: StaticSchema = (3, n0, _LPo, 0) - -METADATA_ENTRY: StaticSchema = ( - 18, - n0, - _ME, - 0, - (_N, _V), - ((METADATA_KEY, 0), (METADATA_VALUE, 0)), -) - -USER_METADATA: StaticSchema = (16, n0, _UM, 0, (_m,), ((METADATA_ENTRY, {_sN: _ME}),)) - -S3_LOCATION: StaticSchema = ( - 18, - n0, - _SL, - 0, - (_BN, _Pr, _En, _CACL, _ACL, _Ta, _UM, _SC), - ( - (BUCKET_NAME, 1), - (LOCATION_PREFIX, 1), - (ENCRYPTION, 0), - (OBJECT_CANNED_ACL, 0), - (GRANTS, 0), - (TAGGING, 0), - (USER_METADATA, 0), - (STORAGE_CLASS, 0), - ), -) - -OUTPUT_LOCATION: StaticSchema = (18, n0, _OLu, 0, (_S_,), ((S3_LOCATION, 0),)) - -EXPRESSION: StaticSchema = (3, n0, _Expr, 0) - -EXPRESSION_TYPE: StaticSchema = (14, n0, _ETx, 0, (_SQL,), ((-1, {_sV: _SQL}),)) - -COMPRESSION_TYPE: StaticSchema = ( - 14, - n0, - _CTom, - 0, - (_NONE, _GZIP, _BZIP), - ((-1, {_sV: _NONE}), (-1, {_sV: _GZIP}), (-1, {_sV: _BZIP})), -) - -COMMENTS: StaticSchema = (3, n0, _Com, 0) - -FIELD_DELIMITER: StaticSchema = (3, n0, _FD, 0) - -FILE_HEADER_INFO: StaticSchema = ( - 14, - n0, - _FHI, - 0, - (_USE, _IGNORE, _NONE), - ((-1, {_sV: _USE}), (-1, {_sV: _IGNORE}), (-1, {_sV: _NONE})), -) - -QUOTE_CHARACTER: StaticSchema = (3, n0, _QCuo, 0) - -QUOTE_ESCAPE_CHARACTER: StaticSchema = (3, n0, _QEC, 0) - -RECORD_DELIMITER: StaticSchema = (3, n0, _RD, 0) - -CSV_INPUT: StaticSchema = ( - 18, - n0, - _CSVIn, - 0, - (_FHI, _Com, _QEC, _RD, _FD, _QCuo, _AQRD), - ( - (FILE_HEADER_INFO, 0), - (COMMENTS, 0), - (QUOTE_ESCAPE_CHARACTER, 0), - (RECORD_DELIMITER, 0), - (FIELD_DELIMITER, 0), - (QUOTE_CHARACTER, 0), - (ALLOW_QUOTED_RECORD_DELIMITER, 0), - ), -) - -JSON_TYPE: StaticSchema = ( - 14, - n0, - _JSONT, - 0, - (_DOCUMENT, _LINES), - ((-1, {_sV: _DOCUMENT}), (-1, {_sV: _LINES})), -) - -JSON_INPUT: StaticSchema = (18, n0, _JSONI, 0, (_T,), ((JSON_TYPE, 0),)) - -PARQUET_INPUT: StaticSchema = (18, n0, _PI, 0) - -INPUT_SERIALIZATION: StaticSchema = ( - 18, - n0, - _ISn, - 0, - (_CSV, _CTom, _JSON, _Parq), - ((CSV_INPUT, 0), (COMPRESSION_TYPE, 0), (JSON_INPUT, 0), (PARQUET_INPUT, 0)), -) - -QUOTE_FIELDS: StaticSchema = ( - 14, - n0, - _QF, - 0, - (_ALWAYS, _ASNEEDED), - ((-1, {_sV: _ALWAYS}), (-1, {_sV: _ASNEEDED})), -) - -CSV_OUTPUT: StaticSchema = ( - 18, - n0, - _CSVO, - 0, - (_QF, _QEC, _RD, _FD, _QCuo), - ( - (QUOTE_FIELDS, 0), - (QUOTE_ESCAPE_CHARACTER, 0), - (RECORD_DELIMITER, 0), - (FIELD_DELIMITER, 0), - (QUOTE_CHARACTER, 0), - ), -) - -JSON_OUTPUT: StaticSchema = (18, n0, _JSONO, 0, (_RD,), ((RECORD_DELIMITER, 0),)) - -OUTPUT_SERIALIZATION: StaticSchema = ( - 18, - n0, - _OSu, - 0, - (_CSV, _JSON), - ((CSV_OUTPUT, 0), (JSON_OUTPUT, 0)), -) - -SELECT_PARAMETERS: StaticSchema = ( - 18, - n0, - _SPe, - 0, - (_ISn, _ETx, _Expr, _OSu), - ( - (INPUT_SERIALIZATION, 1), - (EXPRESSION_TYPE, 1), - (EXPRESSION, 1), - (OUTPUT_SERIALIZATION, 1), - ), -) - -RESTORE_REQUEST_TYPE: StaticSchema = ( - 14, - n0, - _RRT, - 0, - (_SELECT,), - ((-1, {_sV: _SELECT}),), -) - -RESTORE_REQUEST: StaticSchema = ( - 18, - n0, - _RRes, - 0, - (_Da, _GJP, _T, _Tier, _Des, _SPe, _OLu), - ( - (DAYS, 0), - (GLACIER_JOB_PARAMETERS, 0), - (RESTORE_REQUEST_TYPE, 0), - (TIER, 0), - (DESCRIPTION, 0), - (SELECT_PARAMETERS, 0), - (OUTPUT_LOCATION, 0), - ), -) - -RESTORE_OBJECT_INPUT: StaticSchema = ( - 18, - n0, - _ROIe, - {_sSI: _cRORo, _s: None}, - (_B, _K, _VI, _RRes, _RP, _CA, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (RESTORE_REQUEST, {_sN: _RRes, _sPm: None}), - (REQUEST_PAYER, {_sH: _xarp}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -RESTORE_OUTPUT_PATH: StaticSchema = (3, n0, _ROP, 0) - -RESTORE_OBJECT_OUTPUT: StaticSchema = ( - 18, - n0, - _ROOe, - {_smi: None}, - (_RC, _ROP), - ((REQUEST_CHARGED, {_sH: _xarc}), (RESTORE_OUTPUT_PATH, {_sH: _xarop})), -) - -RESTORE_OBJECT: StaticOperationSchema = ( - 23, - n0, - _ROes, - { - _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), - _smith: MappingProxyType( - {"method": "POST", "uri": "/{Key+}?restore", "code": 200} - ), - }, - RESTORE_OBJECT_INPUT, - RESTORE_OBJECT_OUTPUT, - (OBJECT_ALREADY_IN_ACTIVE_TIER_ERROR,), -) - -ENABLE_REQUEST_PROGRESS: StaticSchema = (2, n0, _ERP, 0) - -REQUEST_PROGRESS: StaticSchema = ( - 18, - n0, - _RPe, - 0, - (_E,), - ((ENABLE_REQUEST_PROGRESS, 0),), -) - -END: StaticSchema = (8, n0, _End, 0) - -START: StaticSchema = (8, n0, _Sta, 0) - -SCAN_RANGE: StaticSchema = (18, n0, _SR, 0, (_Sta, _End), ((START, 0), (END, 0))) - -SELECT_OBJECT_CONTENT_INPUT: StaticSchema = ( - 18, - n0, - _SOCI, - {_sSI: _cSOCR, _s: None}, - (_B, _K, _SSECA, _SSECK, _SSECKMD, _Expr, _ETx, _RPe, _ISn, _OSu, _SR, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (EXPRESSION, 1), - (EXPRESSION_TYPE, 1), - (REQUEST_PROGRESS, 0), - (INPUT_SERIALIZATION, 1), - (OUTPUT_SERIALIZATION, 1), - (SCAN_RANGE, 0), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -CONTINUATION_EVENT: StaticSchema = (18, n0, _CEo, 0) - -END_EVENT: StaticSchema = (18, n0, _EE, 0) - -BYTES_PROCESSED: StaticSchema = (8, n0, _BP, 0) - -BYTES_RETURNED: StaticSchema = (8, n0, _BRy, 0) - -BYTES_SCANNED: StaticSchema = (8, n0, _BS, 0) - -PROGRESS: StaticSchema = ( - 18, - n0, - _Prog, - 0, - (_BS, _BP, _BRy), - ((BYTES_SCANNED, 0), (BYTES_PROCESSED, 0), (BYTES_RETURNED, 0)), -) - -PROGRESS_EVENT: StaticSchema = (18, n0, _PE, 0, (_Det,), ((PROGRESS, {_sPmi: None}),)) - -BODY: StaticSchema = (1, n0, _Bo, 0) - -RECORDS_EVENT: StaticSchema = (18, n0, _REec, 0, (_Payl,), ((BODY, {_sPmi: None}),)) - -STATS: StaticSchema = ( - 18, - n0, - _Stat, - 0, - (_BS, _BP, _BRy), - ((BYTES_SCANNED, 0), (BYTES_PROCESSED, 0), (BYTES_RETURNED, 0)), -) - -STATS_EVENT: StaticSchema = (18, n0, _SEt, 0, (_Det,), ((STATS, {_sPmi: None}),)) - -SELECT_OBJECT_CONTENT_EVENT_STREAM: StaticSchema = ( - 19, - n0, - _SOCES, - {_smithya: None}, - (_Rec, _Stat, _Prog, _Cont_, _End), - ( - (RECORDS_EVENT, 0), - (STATS_EVENT, 0), - (PROGRESS_EVENT, 0), - (CONTINUATION_EVENT, 0), - (END_EVENT, 0), - ), -) - -SELECT_OBJECT_CONTENT_OUTPUT: StaticSchema = ( - 18, - n0, - _SOCO, - {_smi: None}, - (_Payl,), - ((SELECT_OBJECT_CONTENT_EVENT_STREAM, 16),), -) - -SELECT_OBJECT_CONTENT: StaticOperationSchema = ( - 23, - n0, - _SOC, - { - _smith: MappingProxyType( - {"method": "POST", "uri": "/{Key+}?select&select-type=2", "code": 200} - ) - }, - SELECT_OBJECT_CONTENT_INPUT, - SELECT_OBJECT_CONTENT_OUTPUT, - (), -) - -ANNOTATION_TABLE_CONFIGURATION_UPDATES: StaticSchema = ( - 18, - n0, - _ATCU, - 0, - (_CSo, _EC, _R), - ( - (ANNOTATION_CONFIGURATION_STATE, 1), - (METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0), - (ROLE, 0), - ), -) - -UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UBMATCI, - {_sSI: _cUBMATCR, _s: None}, - (_B, _CMDo, _CA, _ATC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (ANNOTATION_TABLE_CONFIGURATION_UPDATES, {_sN: _ATC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UBMATCO, - {_sSI: _sU, _smi: None}, -) - -UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _UBMATC, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?metadataAnnotationTable", "code": 200} - ), - }, - UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_INPUT, - UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_OUTPUT, - (), -) - -INVENTORY_TABLE_CONFIGURATION_UPDATES: StaticSchema = ( - 18, - n0, - _ITCU, - 0, - (_CSo, _EC), - ((INVENTORY_CONFIGURATION_STATE, 1), (METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0)), -) - -UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UBMITCI, - {_sSI: _cUBMITCR, _s: None}, - (_B, _CMDo, _CA, _ITC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (INVENTORY_TABLE_CONFIGURATION_UPDATES, {_sN: _ITC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UBMITCO, - {_sSI: _sU, _smi: None}, -) - -UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _UBMITC, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?metadataInventoryTable", "code": 200} - ), - }, - UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_INPUT, - UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_OUTPUT, - (), -) - -JOURNAL_TABLE_CONFIGURATION_UPDATES: StaticSchema = ( - 18, - n0, - _JTCU, - 0, - (_RE,), - ((RECORD_EXPIRATION, 1),), -) - -UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _UBMJTCI, - {_sSI: _cUBMJTCR, _s: None}, - (_B, _CMDo, _CA, _JTC, _EBO), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (JOURNAL_TABLE_CONFIGURATION_UPDATES, {_sN: _JTC, _sm: None, _sPm: None}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _UBMJTCO, - {_sSI: _sU, _smi: None}, -) - -UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _UBMJTC, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _sCP: MappingProxyType( - {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/?metadataJournalTable", "code": 200} - ), - }, - UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_INPUT, - UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_OUTPUT, - (), -) - -NON_EMPTY_KMS_KEY_ARN_STRING: StaticSchema = (3, n0, _NEKKAS, 4) - -SSEKMS_ENCRYPTION: StaticSchema = ( - 18, - n0, - _SSEKMSE, - {_sN: _SK}, - (_KMSKA, _BKE), - ((NON_EMPTY_KMS_KEY_ARN_STRING, 1), (BUCKET_KEY_ENABLED, 0)), -) - -OBJECT_ENCRYPTION: StaticSchema = ( - 19, - n0, - _OE, - 0, - (_SSEKMS,), - ((SSEKMS_ENCRYPTION, {_sN: _SK}),), -) - -UPDATE_OBJECT_ENCRYPTION_INPUT: StaticSchema = ( - 18, - n0, - _UOEI, - {_sSI: _cUOER, _s: None}, - (_B, _K, _VI, _OE, _RP, _EBO, _CMDo, _CA), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (OBJECT_KEY, 9), - (OBJECT_VERSION_ID, {_sQ: _vI}), - (OBJECT_ENCRYPTION, 17), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - ), -) - -UPDATE_OBJECT_ENCRYPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _UOEO, - {_sSI: _cUOERo, _smi: None}, - (_RC,), - ((REQUEST_CHARGED, {_sH: _xarc}),), -) - -UPDATE_OBJECT_ENCRYPTION: StaticOperationSchema = ( - 23, - n0, - _UOE, - { - _aC: MappingProxyType( - { - "requestAlgorithmMember": "ChecksumAlgorithm", - "requestChecksumRequired": True, - } - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?encryption", "code": 200} - ), - }, - UPDATE_OBJECT_ENCRYPTION_INPUT, - UPDATE_OBJECT_ENCRYPTION_OUTPUT, - (ACCESS_DENIED, INVALID_REQUEST, NO_SUCH_KEY), -) - -UPLOAD_PART_INPUT: StaticSchema = ( - 18, - n0, - _UPI, - {_sSI: _cUPR, _s: None}, - ( - _Bo, - _B, - _CLo, - _CMDo, - _CA, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _K, - _PN, - _UI, - _SSECA, - _SSECK, - _SSECKMD, - _RP, - _EBO, - ), - ( - (STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (CONTENT_LENGTH, {_sH: _CL__}), - (CONTENT_MD5, {_sH: _CM}), - (CHECKSUM_ALGORITHM, {_sH: _xasca}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), - (PART_NUMBER, {_sQ: _pN, _sm: None}), - (MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - ), -) - -UPLOAD_PART_OUTPUT: StaticSchema = ( - 18, - n0, - _UPO, - {_smi: None}, - ( - _SSE, - _ET, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _SSECA, - _SSECKMD, - _SSEKMSKI, - _BKE, - _RC, - ), - ( - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (E_TAG, {_sH: _ET}), - (CHECKSUM_CRC32, {_sH: _xacc}), - (CHECKSUM_CRC32_C, {_sH: _xacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), - (CHECKSUM_SHA1, {_sH: _xacs}), - (CHECKSUM_SHA256, {_sH: _xacs_}), - (CHECKSUM_SHA512, {_sH: _xacs__}), - (CHECKSUM_MD5, {_sH: _xacm}), - (CHECKSUM_XXHASH64, {_sH: _xacx}), - (CHECKSUM_XXHASH3, {_sH: _xacx_}), - (CHECKSUM_XXHASH128, {_sH: _xacx__}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -UPLOAD_PART: StaticOperationSchema = ( - 23, - n0, - _UP, - { - _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?x-id=UploadPart", "code": 200} - ), - }, - UPLOAD_PART_INPUT, - UPLOAD_PART_OUTPUT, - (), -) - -COPY_SOURCE_RANGE: StaticSchema = (3, n0, _CSRo, 0) - -UPLOAD_PART_COPY_INPUT: StaticSchema = ( - 18, - n0, - _UPCI, - {_sSI: _cUPCR, _s: None}, - ( - _B, - _CS, - _CSIM, - _CSIMS, - _CSINM, - _CSIUS, - _CSRo, - _K, - _PN, - _UI, - _SSECA, - _SSECK, - _SSECKMD, - _CSSSECA, - _CSSSECK, - _CSSSECKMD, - _RP, - _EBO, - _ESBO, - ), - ( - ( - BUCKET_NAME, - {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, - ), - (COPY_SOURCE, {_sH: _xacs___, _sm: None}), - (COPY_SOURCE_IF_MATCH, {_sH: _xacsim}), - (COPY_SOURCE_IF_MODIFIED_SINCE, {_sH: _xacsims}), - (COPY_SOURCE_IF_NONE_MATCH, {_sH: _xacsinm}), - (COPY_SOURCE_IF_UNMODIFIED_SINCE, {_sH: _xacsius}), - (COPY_SOURCE_RANGE, {_sH: _xacsr}), - (OBJECT_KEY, 9), - (PART_NUMBER, {_sQ: _pN, _sm: None}), - (MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY, {_sH: _xasseck}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (COPY_SOURCE_SSE_CUSTOMER_ALGORITHM, {_sH: _xacssseca}), - (COPY_SOURCE_SSE_CUSTOMER_KEY, {_sH: _xacssseck}), - (COPY_SOURCE_SSE_CUSTOMER_KEY_MD5, {_sH: _xacssseckM}), - (REQUEST_PAYER, {_sH: _xarp}), - (ACCOUNT_ID, {_sH: _xaebo}), - (ACCOUNT_ID, {_sH: _xasebo}), - ), -) - -COPY_PART_RESULT: StaticSchema = ( - 18, - n0, - _CPR, - 0, - ( - _ET, - _LM, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - ), - ( - (E_TAG, 0), - (LAST_MODIFIED, 0), - (CHECKSUM_CRC32, 0), - (CHECKSUM_CRC32_C, 0), - (CHECKSUM_CRC64_NVME, 0), - (CHECKSUM_SHA1, 0), - (CHECKSUM_SHA256, 0), - (CHECKSUM_SHA512, 0), - (CHECKSUM_MD5, 0), - (CHECKSUM_XXHASH64, 0), - (CHECKSUM_XXHASH3, 0), - (CHECKSUM_XXHASH128, 0), - ), -) - -UPLOAD_PART_COPY_OUTPUT: StaticSchema = ( - 18, - n0, - _UPCO, - {_smi: None}, - (_CSVI, _CPR, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC), - ( - (COPY_SOURCE_VERSION_ID, {_sH: _xacsvi}), - (COPY_PART_RESULT, 16), - (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), - (SSEKMS_KEY_ID, {_sH: _xasseakki}), - (BUCKET_KEY_ENABLED, {_sH: _xassebke}), - (REQUEST_CHARGED, {_sH: _xarc}), - ), -) - -UPLOAD_PART_COPY: StaticOperationSchema = ( - 23, - n0, - _UPC, - { - _sCP: MappingProxyType( - {"DisableS3ExpressSessionAuth": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "PUT", "uri": "/{Key+}?x-id=UploadPartCopy", "code": 200} - ), - }, - UPLOAD_PART_COPY_INPUT, - UPLOAD_PART_COPY_OUTPUT, - (), -) - -REQUEST_ROUTE: StaticSchema = (3, n0, _RReq, 0) - -REQUEST_TOKEN: StaticSchema = (3, n0, _RTe, 0) - -GET_OBJECT_RESPONSE_STATUS_CODE: StaticSchema = (7, n0, _GORSC, 0) - -WRITE_GET_OBJECT_RESPONSE_INPUT: StaticSchema = ( - 18, - n0, - _WGORI, - {_sSI: _cWGORR, _s: None}, - ( - _RReq, - _RTe, - _Bo, - _SCt, - _ECr, - _EM, - _AR, - _CC, - _CD, - _CE, - _CL, - _CLo, - _CR, - _CTo, - _CCRC, - _CCRCC, - _CCRCNVME, - _CSHA, - _CSHAh, - _CSHAhe, - _CMD, - _CXXHASHhe, - _CXXHASHh, - _CXXHASH, - _DM, - _ET, - _Exp, - _Ex, - _LM, - _MM, - _M, - _OLM, - _OLLHS, - _OLRUD, - _PC, - _RS, - _RC, - _Res, - _SSE, - _SSECA, - _SSEKMSKI, - _SSECKMD, - _SC, - _TCa, - _VI, - _BKE, - ), - ( - (REQUEST_ROUTE, {_sH: _xarr, _sLm: None, _sm: None}), - (REQUEST_TOKEN, {_sH: _xart, _sm: None}), - (STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), - (GET_OBJECT_RESPONSE_STATUS_CODE, {_sH: _xafs}), - (ERROR_CODE, {_sH: _xafec}), - (ERROR_MESSAGE, {_sH: _xafem}), - (ACCEPT_RANGES, {_sH: _xafhar}), - (CACHE_CONTROL, {_sH: _xafhCC}), - (CONTENT_DISPOSITION, {_sH: _xafhCD}), - (CONTENT_ENCODING, {_sH: _xafhCE}), - (CONTENT_LANGUAGE, {_sH: _xafhCL}), - (CONTENT_LENGTH, {_sH: _CL__}), - (CONTENT_RANGE, {_sH: _xafhCR}), - (CONTENT_TYPE, {_sH: _xafhCT}), - (CHECKSUM_CRC32, {_sH: _xafhxacc}), - (CHECKSUM_CRC32_C, {_sH: _xafhxacc_}), - (CHECKSUM_CRC64_NVME, {_sH: _xafhxacc__}), - (CHECKSUM_SHA1, {_sH: _xafhxacs}), - (CHECKSUM_SHA256, {_sH: _xafhxacs_}), - (CHECKSUM_SHA512, {_sH: _xafhxacs__}), - (CHECKSUM_MD5, {_sH: _xafhxacm}), - (CHECKSUM_XXHASH64, {_sH: _xafhxacx}), - (CHECKSUM_XXHASH3, {_sH: _xafhxacx_}), - (CHECKSUM_XXHASH128, {_sH: _xafhxacx__}), - (DELETE_MARKER, {_sH: _xafhxadm}), - (E_TAG, {_sH: _xafhE}), - (EXPIRES, {_sH: _xafhE_}), - (EXPIRATION, {_sH: _xafhxae}), - (LAST_MODIFIED, {_sH: _xafhLM}), - (MISSING_META, {_sH: _xafhxamm}), - (METADATA, {_sPH: _xam}), - (OBJECT_LOCK_MODE, {_sH: _xafhxaolm}), - (OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xafhxaollh}), - (OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xafhxaolrud}), - (PARTS_COUNT, {_sH: _xafhxampc}), - (REPLICATION_STATUS, {_sH: _xafhxars}), - (REQUEST_CHARGED, {_sH: _xafhxarc}), - (RESTORE, {_sH: _xafhxar}), - (SERVER_SIDE_ENCRYPTION, {_sH: _xafhxasse}), - (SSE_CUSTOMER_ALGORITHM, {_sH: _xafhxasseca}), - (SSEKMS_KEY_ID, {_sH: _xafhxasseakki}), - (SSE_CUSTOMER_KEY_MD5, {_sH: _xafhxasseckM}), - (STORAGE_CLASS, {_sH: _xafhxasc}), - (TAG_COUNT, {_sH: _xafhxatc}), - (OBJECT_VERSION_ID, {_sH: _xafhxavi}), - (BUCKET_KEY_ENABLED, {_sH: _xafhxassebke}), - ), -) - -WRITE_GET_OBJECT_RESPONSE_OUTPUT: StaticSchema = ( - 18, - n0, - _WGORO, - {_sSI: _sU, _smi: None}, -) - -WRITE_GET_OBJECT_RESPONSE: StaticOperationSchema = ( - 23, - n0, - _WGOR, - { - _aP: None, - _smithyapi: MappingProxyType({"hostPrefix": "{RequestRoute}."}), - _sCP: MappingProxyType( - {"UseObjectLambdaEndpoint": MappingProxyType({"value": True})} - ), - _smith: MappingProxyType( - {"method": "POST", "uri": "/WriteGetObjectResponse", "code": 200} - ), - }, - WRITE_GET_OBJECT_RESPONSE_INPUT, - WRITE_GET_OBJECT_RESPONSE_OUTPUT, - (), -) - -AMAZON_S3: StaticSchema = ( - 21, - n0, - _ASm, - { - _awsa: MappingProxyType({"name": "s3"}), - _aX: MappingProxyType({"noErrorWrapping": True}), - _awsap: MappingProxyType( - { - "sdkId": "S3", - "arnNamespace": "s3", - "cloudFormationName": "S3", - "cloudTrailEventSource": "s3.amazonaws.com", - "endpointPrefix": "s3", - } - ), - _sNm: MappingProxyType({"uri": "http://s3.amazonaws.com/doc/2006-03-01/"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "BUCKET_ABAC_STATUS", + "ABAC_STATUS", + "ABORT_DATE", + "DAYS_AFTER_INITIATION", + "ABORT_INCOMPLETE_MULTIPART_UPLOAD", + "BUCKET_NAME", + "ACCOUNT_ID", + "IF_MATCH_INITIATED_TIME", + "OBJECT_KEY", + "REQUEST_PAYER", + "MULTIPART_UPLOAD_ID", + "ABORT_MULTIPART_UPLOAD_INPUT", + "ABORT_MULTIPART_UPLOAD_OUTPUT", + "ABORT_MULTIPART_UPLOAD", + "REQUEST_CHARGED", + "NO_SUCH_UPLOAD", + "ABORT_RULE_ID", + "BUCKET_ACCELERATE_STATUS", + "ACCELERATE_CONFIGURATION", + "ACCEPT_RANGES", + "DISPLAY_NAME", + "EMAIL_ADDRESS", + "ID", + "TYPE", + "URI", + "GRANTEE", + "PERMISSION", + "GRANT", + "GRANTS", + "OWNER", + "ACCESS_CONTROL_POLICY", + "OWNER_OVERRIDE", + "ACCESS_CONTROL_TRANSLATION", + "ACCESS_DENIED", + "ACCESS_KEY_ID_VALUE", + "ACCESS_POINT_ALIAS", + "ACCESS_POINT_ARN", + "ALLOWED_HEADER", + "ALLOWED_HEADERS", + "ALLOWED_METHOD", + "ALLOWED_METHODS", + "ALLOWED_ORIGIN", + "ALLOWED_ORIGINS", + "ALLOW_QUOTED_RECORD_DELIMITER", + "CHECKSUM_CRC32", + "CHECKSUM_CRC32_C", + "CHECKSUM_CRC64_NVME", + "CHECKSUM_MD5", + "CHECKSUM_SHA1", + "CHECKSUM_SHA256", + "CHECKSUM_SHA512", + "CHECKSUM_TYPE", + "CHECKSUM_XXHASH128", + "CHECKSUM_XXHASH3", + "CHECKSUM_XXHASH64", + "IF_MATCH", + "IF_NONE_MATCH", + "MPU_OBJECT_SIZE", + "E_TAG", + "PART_NUMBER", + "COMPLETED_PART", + "COMPLETED_PART_LIST", + "COMPLETED_MULTIPART_UPLOAD", + "SSE_CUSTOMER_ALGORITHM", + "SSE_CUSTOMER_KEY", + "SSE_CUSTOMER_KEY_MD5", + "COMPLETE_MULTIPART_UPLOAD_INPUT", + "COMPLETE_MULTIPART_UPLOAD_OUTPUT", + "COMPLETE_MULTIPART_UPLOAD", + "BUCKET_KEY_ENABLED", + "EXPIRATION", + "LOCATION", + "SERVER_SIDE_ENCRYPTION", + "SSEKMS_KEY_ID", + "OBJECT_VERSION_ID", + "OBJECT_CANNED_ACL", + "ANNOTATION_DIRECTIVE", + "CACHE_CONTROL", + "CHECKSUM_ALGORITHM", + "CONTENT_DISPOSITION", + "CONTENT_ENCODING", + "CONTENT_LANGUAGE", + "CONTENT_TYPE", + "COPY_SOURCE", + "COPY_SOURCE_IF_MATCH", + "COPY_SOURCE_IF_MODIFIED_SINCE", + "COPY_SOURCE_IF_NONE_MATCH", + "COPY_SOURCE_IF_UNMODIFIED_SINCE", + "COPY_SOURCE_SSE_CUSTOMER_ALGORITHM", + "COPY_SOURCE_SSE_CUSTOMER_KEY", + "COPY_SOURCE_SSE_CUSTOMER_KEY_MD5", + "EXPIRES", + "GRANT_FULL_CONTROL", + "GRANT_READ", + "GRANT_READ_ACP", + "GRANT_WRITE_ACP", + "METADATA_KEY", + "METADATA_VALUE", + "METADATA", + "METADATA_DIRECTIVE", + "OBJECT_LOCK_EVENT_HOLD", + "OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS", + "OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS", + "OBJECT_LOCK_LEGAL_HOLD_STATUS", + "OBJECT_LOCK_MODE", + "OBJECT_LOCK_RETAIN_UNTIL_DATE", + "SSEKMS_ENCRYPTION_CONTEXT", + "STORAGE_CLASS", + "TAGGING_HEADER", + "TAGGING_DIRECTIVE", + "WEBSITE_REDIRECT_LOCATION", + "COPY_OBJECT_INPUT", + "COPY_OBJECT_OUTPUT", + "COPY_OBJECT", + "LAST_MODIFIED", + "COPY_OBJECT_RESULT", + "COPY_SOURCE_VERSION_ID", + "OBJECT_NOT_IN_ACTIVE_TIER_ERROR", + "BUCKET_ALREADY_EXISTS", + "BUCKET_ALREADY_OWNED_BY_YOU", + "BUCKET_CANNED_ACL", + "BUCKET_NAMESPACE", + "DATA_REDUNDANCY", + "BUCKET_TYPE", + "BUCKET_INFO", + "LOCATION_NAME_AS_STRING", + "LOCATION_TYPE", + "LOCATION_INFO", + ), + ( + "BUCKET_LOCATION_CONSTRAINT", + "VALUE", + "TAG", + "TAG_SET", + "CREATE_BUCKET_CONFIGURATION", + "GRANT_WRITE", + "OBJECT_LOCK_ENABLED_FOR_BUCKET", + "OBJECT_OWNERSHIP", + "CREATE_BUCKET_INPUT", + "CREATE_BUCKET_OUTPUT", + "CREATE_BUCKET", + "CONTENT_MD5", + "ANNOTATION_CONFIGURATION_STATE", + "KMS_KEY_ARN", + "TABLE_SSE_ALGORITHM", + "METADATA_TABLE_ENCRYPTION_CONFIGURATION", + "ROLE", + "ANNOTATION_TABLE_CONFIGURATION", + "INVENTORY_CONFIGURATION_STATE", + "INVENTORY_TABLE_CONFIGURATION", + "RECORD_EXPIRATION_DAYS", + "EXPIRATION_STATE", + "RECORD_EXPIRATION", + "JOURNAL_TABLE_CONFIGURATION", + "METADATA_CONFIGURATION", + "CREATE_BUCKET_METADATA_CONFIGURATION_INPUT", + "CREATE_BUCKET_METADATA_CONFIGURATION_OUTPUT", + "CREATE_BUCKET_METADATA_CONFIGURATION", + "S3_TABLES_BUCKET_ARN", + "S3_TABLES_NAME", + "S3_TABLES_DESTINATION", + "METADATA_TABLE_CONFIGURATION", + "CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT", + "CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT", + "CREATE_BUCKET_METADATA_TABLE_CONFIGURATION", + "CREATE_MULTIPART_UPLOAD_INPUT", + "CREATE_MULTIPART_UPLOAD_OUTPUT", + "CREATE_MULTIPART_UPLOAD", + "SESSION_MODE", + "CREATE_SESSION_INPUT", + "CREATE_SESSION_OUTPUT", + "CREATE_SESSION", + "SESSION_EXPIRATION", + "SESSION_CREDENTIAL_VALUE", + "SESSION_CREDENTIALS", + "DELETE_BUCKET_INPUT", + "DELETE_BUCKET_OUTPUT", + "DELETE_BUCKET", + "ANALYTICS_ID", + "DELETE_BUCKET_ANALYTICS_CONFIGURATION_INPUT", + "DELETE_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT", + "DELETE_BUCKET_ANALYTICS_CONFIGURATION", + "DELETE_BUCKET_CORS_INPUT", + "DELETE_BUCKET_CORS_OUTPUT", + "DELETE_BUCKET_CORS", + "DELETE_BUCKET_ENCRYPTION_INPUT", + "DELETE_BUCKET_ENCRYPTION_OUTPUT", + "DELETE_BUCKET_ENCRYPTION", + "INTELLIGENT_TIERING_ID", + "DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT", + "DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT", + "DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION", + "DELETE_BUCKET_INVENTORY_CONFIGURATION_INPUT", + "DELETE_BUCKET_INVENTORY_CONFIGURATION_OUTPUT", + "DELETE_BUCKET_INVENTORY_CONFIGURATION", + "DELETE_BUCKET_LIFECYCLE_INPUT", + "DELETE_BUCKET_LIFECYCLE_OUTPUT", + "DELETE_BUCKET_LIFECYCLE", + "DELETE_BUCKET_METADATA_CONFIGURATION_INPUT", + "DELETE_BUCKET_METADATA_CONFIGURATION_OUTPUT", + "DELETE_BUCKET_METADATA_CONFIGURATION", + "DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT", + "DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT", + "DELETE_BUCKET_METADATA_TABLE_CONFIGURATION", + "METRICS_ID", + "DELETE_BUCKET_METRICS_CONFIGURATION_INPUT", + "DELETE_BUCKET_METRICS_CONFIGURATION_OUTPUT", + "DELETE_BUCKET_METRICS_CONFIGURATION", + "DELETE_BUCKET_OWNERSHIP_CONTROLS_INPUT", + "DELETE_BUCKET_OWNERSHIP_CONTROLS_OUTPUT", + "DELETE_BUCKET_OWNERSHIP_CONTROLS", + "DELETE_BUCKET_POLICY_INPUT", + "DELETE_BUCKET_POLICY_OUTPUT", + "DELETE_BUCKET_POLICY", + "DELETE_BUCKET_REPLICATION_INPUT", + "DELETE_BUCKET_REPLICATION_OUTPUT", + "DELETE_BUCKET_REPLICATION", + "DATE", + "DAYS", + "OBJECT_LOCK_TOKEN", + "INVALID_REQUEST", + ), + ( + "NO_SUCH_BUCKET", + "INVENTORY_ID", + "DELETE_BUCKET_TAGGING_INPUT", + "DELETE_BUCKET_TAGGING_OUTPUT", + "DELETE_BUCKET_TAGGING", + "DELETE_BUCKET_WEBSITE_INPUT", + "DELETE_BUCKET_WEBSITE_OUTPUT", + "DELETE_BUCKET_WEBSITE", + "BYPASS_GOVERNANCE_RETENTION", + "IF_MATCH_LAST_MODIFIED_TIME", + "IF_MATCH_SIZE", + "MFA", + "DELETE_OBJECT_INPUT", + "DELETE_OBJECT_OUTPUT", + "DELETE_OBJECT", + "DELETE_MARKER", + "ANNOTATION_NAME", + "OBJECT_IF_MATCH", + "DELETE_OBJECT_ANNOTATION_INPUT", + "DELETE_OBJECT_ANNOTATION_OUTPUT", + "DELETE_OBJECT_ANNOTATION", + "NO_SUCH_KEY", + "LAST_MODIFIED_TIME", + "SIZE", + "OBJECT_IDENTIFIER", + "OBJECT_IDENTIFIER_LIST", + "QUIET", + "DELETE", + "DELETE_OBJECTS_INPUT", + "DELETE_OBJECTS_OUTPUT", + "DELETE_OBJECTS", + "DELETE_MARKER_VERSION_ID", + "DELETED_OBJECT", + "DELETED_OBJECTS", + "CODE", + "MESSAGE", + "ERROR", + "ERRORS", + "DELETE_OBJECT_TAGGING_INPUT", + "DELETE_OBJECT_TAGGING_OUTPUT", + "DELETE_OBJECT_TAGGING", + "DELETE_PUBLIC_ACCESS_BLOCK_INPUT", + "DELETE_PUBLIC_ACCESS_BLOCK_OUTPUT", + "DELETE_PUBLIC_ACCESS_BLOCK", + "GET_BUCKET_ABAC_INPUT", + "GET_BUCKET_ABAC_OUTPUT", + "GET_BUCKET_ABAC", + "GET_BUCKET_ACCELERATE_CONFIGURATION_INPUT", + "GET_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT", + "GET_BUCKET_ACCELERATE_CONFIGURATION", + "GET_BUCKET_ACL_INPUT", + "GET_BUCKET_ACL_OUTPUT", + "GET_BUCKET_ACL", + "GET_BUCKET_ANALYTICS_CONFIGURATION_INPUT", + "GET_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT", + "GET_BUCKET_ANALYTICS_CONFIGURATION", + "PREFIX", + "ANALYTICS_AND_OPERATOR", + "ANALYTICS_FILTER", + "ANALYTICS_S3_EXPORT_FILE_FORMAT", + "ANALYTICS_S3_BUCKET_DESTINATION", + "ANALYTICS_EXPORT_DESTINATION", + "STORAGE_CLASS_ANALYSIS_SCHEMA_VERSION", + "STORAGE_CLASS_ANALYSIS_DATA_EXPORT", + "STORAGE_CLASS_ANALYSIS", + "ANALYTICS_CONFIGURATION", + "GET_BUCKET_CORS_INPUT", + "GET_BUCKET_CORS_OUTPUT", + "GET_BUCKET_CORS", + "EXPOSE_HEADER", + "EXPOSE_HEADERS", + "MAX_AGE_SECONDS", + "CORS_RULE", + "CORS_RULES", + "GET_BUCKET_ENCRYPTION_INPUT", + "GET_BUCKET_ENCRYPTION_OUTPUT", + "GET_BUCKET_ENCRYPTION", + "SERVER_SIDE_ENCRYPTION_BY_DEFAULT", + "ENCRYPTION_TYPE", + "ENCRYPTION_TYPE_LIST", + "BLOCKED_ENCRYPTION_TYPES", + "SERVER_SIDE_ENCRYPTION_RULE", + "SERVER_SIDE_ENCRYPTION_RULES", + "SERVER_SIDE_ENCRYPTION_CONFIGURATION", + "GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT", + "GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT", + "GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION", + "INTELLIGENT_TIERING_AND_OPERATOR", + "INTELLIGENT_TIERING_FILTER", + "INTELLIGENT_TIERING_STATUS", + "INTELLIGENT_TIERING_ACCESS_TIER", + "INTELLIGENT_TIERING_DAYS", + "TIERING", + "TIERING_LIST", + "INTELLIGENT_TIERING_CONFIGURATION", + "GET_BUCKET_INVENTORY_CONFIGURATION_INPUT", + "GET_BUCKET_INVENTORY_CONFIGURATION_OUTPUT", + "GET_BUCKET_INVENTORY_CONFIGURATION", + "SSEKMS", + "SSES3", + "INVENTORY_ENCRYPTION", + "INVENTORY_FORMAT", + "INVENTORY_S3_BUCKET_DESTINATION", + "INVENTORY_DESTINATION", + "INVENTORY_FILTER", + "INVENTORY_INCLUDED_OBJECT_VERSIONS", + "IS_ENABLED", + "INVENTORY_OPTIONAL_FIELD", + "INVENTORY_OPTIONAL_FIELDS", + "INVENTORY_FREQUENCY", + "INVENTORY_SCHEDULE", + "INVENTORY_CONFIGURATION", + "GET_BUCKET_LIFECYCLE_CONFIGURATION_INPUT", + "GET_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT", + "GET_BUCKET_LIFECYCLE_CONFIGURATION", + "EXPIRED_OBJECT_DELETE_MARKER", + "LIFECYCLE_EXPIRATION", + "REPLICATION_STATUS", + "IS_TRUNCATED", + "INITIATOR", + ), + ( + "OBJECT_SIZE_GREATER_THAN_BYTES", + "OBJECT_SIZE_LESS_THAN_BYTES", + "LIFECYCLE_RULE_AND_OPERATOR", + "LIFECYCLE_RULE_FILTER", + "VERSION_COUNT", + "NONCURRENT_VERSION_EXPIRATION", + "TRANSITION_STORAGE_CLASS", + "NONCURRENT_VERSION_TRANSITION", + "NONCURRENT_VERSION_TRANSITION_LIST", + "EXPIRATION_STATUS", + "TRANSITION", + "TRANSITION_LIST", + "LIFECYCLE_RULE", + "LIFECYCLE_RULES", + "TRANSITION_DEFAULT_MINIMUM_OBJECT_SIZE", + "GET_BUCKET_LOCATION_INPUT", + "GET_BUCKET_LOCATION_OUTPUT", + "GET_BUCKET_LOCATION", + "GET_BUCKET_LOGGING_INPUT", + "GET_BUCKET_LOGGING_OUTPUT", + "GET_BUCKET_LOGGING", + "TARGET_BUCKET", + "BUCKET_LOGS_PERMISSION", + "TARGET_GRANT", + "TARGET_GRANTS", + "PARTITION_DATE_SOURCE", + "PARTITIONED_PREFIX", + "SIMPLE_PREFIX", + "TARGET_OBJECT_KEY_FORMAT", + "TARGET_PREFIX", + "LOGGING_ENABLED", + "GET_BUCKET_METADATA_CONFIGURATION_INPUT", + "GET_BUCKET_METADATA_CONFIGURATION_OUTPUT", + "GET_BUCKET_METADATA_CONFIGURATION", + "ERROR_CODE", + "ERROR_MESSAGE", + "ERROR_DETAILS", + "S3_TABLES_ARN", + "METADATA_TABLE_STATUS", + "ANNOTATION_TABLE_CONFIGURATION_RESULT", + "S3_TABLES_BUCKET_TYPE", + "S3_TABLES_NAMESPACE", + "DESTINATION_RESULT", + "INVENTORY_TABLE_CONFIGURATION_RESULT", + "JOURNAL_TABLE_CONFIGURATION_RESULT", + "METADATA_CONFIGURATION_RESULT", + "GET_BUCKET_METADATA_CONFIGURATION_RESULT", + "GET_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT", + "GET_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT", + "GET_BUCKET_METADATA_TABLE_CONFIGURATION", + "S3_TABLES_DESTINATION_RESULT", + "METADATA_TABLE_CONFIGURATION_RESULT", + "GET_BUCKET_METADATA_TABLE_CONFIGURATION_RESULT", + "GET_BUCKET_METRICS_CONFIGURATION_INPUT", + "GET_BUCKET_METRICS_CONFIGURATION_OUTPUT", + "GET_BUCKET_METRICS_CONFIGURATION", + "METRICS_AND_OPERATOR", + "METRICS_FILTER", + "METRICS_CONFIGURATION", + "GET_BUCKET_NOTIFICATION_CONFIGURATION_INPUT", + "GET_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT", + "GET_BUCKET_NOTIFICATION_CONFIGURATION", + "EVENT_BRIDGE_CONFIGURATION", + "EVENT", + "EVENT_LIST", + "FILTER_RULE_NAME", + "FILTER_RULE_VALUE", + "FILTER_RULE", + "FILTER_RULE_LIST", + "S3_KEY_FILTER", + "NOTIFICATION_CONFIGURATION_FILTER", + "NOTIFICATION_ID", + "LAMBDA_FUNCTION_ARN", + "LAMBDA_FUNCTION_CONFIGURATION", + "LAMBDA_FUNCTION_CONFIGURATION_LIST", + "QUEUE_ARN", + "QUEUE_CONFIGURATION", + "QUEUE_CONFIGURATION_LIST", + "TOPIC_ARN", + "TOPIC_CONFIGURATION", + "TOPIC_CONFIGURATION_LIST", + "GET_BUCKET_OWNERSHIP_CONTROLS_INPUT", + "GET_BUCKET_OWNERSHIP_CONTROLS_OUTPUT", + "GET_BUCKET_OWNERSHIP_CONTROLS", + "OWNERSHIP_CONTROLS_RULE", + "OWNERSHIP_CONTROLS_RULES", + "OWNERSHIP_CONTROLS", + "GET_BUCKET_POLICY_INPUT", + "GET_BUCKET_POLICY_OUTPUT", + "GET_BUCKET_POLICY", + "POLICY", + "GET_BUCKET_POLICY_STATUS_INPUT", + "GET_BUCKET_POLICY_STATUS_OUTPUT", + "GET_BUCKET_POLICY_STATUS", + "IS_PUBLIC", + "POLICY_STATUS", + "GET_BUCKET_REPLICATION_INPUT", + "GET_BUCKET_REPLICATION_OUTPUT", + "GET_BUCKET_REPLICATION", + "DELETE_MARKER_REPLICATION_STATUS", + "DELETE_MARKER_REPLICATION", + "REPLICA_KMS_KEY_ID", + "ENCRYPTION_CONFIGURATION", + "MINUTES", + "REPLICATION_TIME_VALUE", + "METRICS_STATUS", + "METRICS", + "REPLICATION_TIME_STATUS", + "REPLICATION_TIME", + "DESTINATION", + "EXISTING_OBJECT_REPLICATION_STATUS", + "EXISTING_OBJECT_REPLICATION", + "REPLICATION_RULE_AND_OPERATOR", + ), + ( + "REPLICATION_RULE_FILTER", + "PRIORITY", + "REPLICA_MODIFICATIONS_STATUS", + "REPLICA_MODIFICATIONS", + "SSE_KMS_ENCRYPTED_OBJECTS_STATUS", + "SSE_KMS_ENCRYPTED_OBJECTS", + "SOURCE_SELECTION_CRITERIA", + "REPLICATION_RULE_STATUS", + "REPLICATION_RULE", + "REPLICATION_RULES", + "REPLICATION_CONFIGURATION", + "GET_BUCKET_REQUEST_PAYMENT_INPUT", + "GET_BUCKET_REQUEST_PAYMENT_OUTPUT", + "GET_BUCKET_REQUEST_PAYMENT", + "PAYER", + "GET_BUCKET_TAGGING_INPUT", + "GET_BUCKET_TAGGING_OUTPUT", + "GET_BUCKET_TAGGING", + "GET_BUCKET_VERSIONING_INPUT", + "GET_BUCKET_VERSIONING_OUTPUT", + "GET_BUCKET_VERSIONING", + "MFA_DELETE_STATUS", + "BUCKET_VERSIONING_STATUS", + "GET_BUCKET_WEBSITE_INPUT", + "GET_BUCKET_WEBSITE_OUTPUT", + "GET_BUCKET_WEBSITE", + "ERROR_DOCUMENT", + "SUFFIX", + "INDEX_DOCUMENT", + "HOST_NAME", + "PROTOCOL", + "REDIRECT_ALL_REQUESTS_TO", + "HTTP_ERROR_CODE_RETURNED_EQUALS", + "KEY_PREFIX_EQUALS", + "CONDITION", + "HTTP_REDIRECT_CODE", + "REPLACE_KEY_PREFIX_WITH", + "REPLACE_KEY_WITH", + "REDIRECT", + "ROUTING_RULE", + "ROUTING_RULES", + "CHECKSUM_MODE", + "IF_MODIFIED_SINCE", + "IF_UNMODIFIED_SINCE", + "RANGE", + "RESPONSE_CACHE_CONTROL", + "RESPONSE_CONTENT_DISPOSITION", + "RESPONSE_CONTENT_ENCODING", + "RESPONSE_CONTENT_LANGUAGE", + "RESPONSE_CONTENT_TYPE", + "RESPONSE_EXPIRES", + "GET_OBJECT_INPUT", + "GET_OBJECT_OUTPUT", + "GET_OBJECT", + "STREAMING_BLOB", + "CONTENT_LENGTH", + "CONTENT_RANGE", + "MISSING_META", + "PARTS_COUNT", + "RESTORE", + "TAG_COUNT", + "INVALID_OBJECT_STATE", + "GET_OBJECT_ACL_INPUT", + "GET_OBJECT_ACL_OUTPUT", + "GET_OBJECT_ACL", + "GET_OBJECT_ANNOTATION_INPUT", + "GET_OBJECT_ANNOTATION_OUTPUT", + "GET_OBJECT_ANNOTATION", + "NO_SUCH_ANNOTATION", + "MAX_PARTS", + "OBJECT_ATTRIBUTES", + "OBJECT_ATTRIBUTES_LIST", + "PART_NUMBER_MARKER", + "GET_OBJECT_ATTRIBUTES_INPUT", + "GET_OBJECT_ATTRIBUTES_OUTPUT", + "GET_OBJECT_ATTRIBUTES", + "CHECKSUM", + "NEXT_PART_NUMBER_MARKER", + "OBJECT_PART", + "PARTS_LIST", + "GET_OBJECT_ATTRIBUTES_PARTS", + "OBJECT_SIZE", + "GET_OBJECT_LEGAL_HOLD_INPUT", + "GET_OBJECT_LEGAL_HOLD_OUTPUT", + "GET_OBJECT_LEGAL_HOLD", + "OBJECT_LOCK_LEGAL_HOLD", + "GET_OBJECT_LOCK_CONFIGURATION_INPUT", + "GET_OBJECT_LOCK_CONFIGURATION_OUTPUT", + "GET_OBJECT_LOCK_CONFIGURATION", + "OBJECT_LOCK_ENABLED", + "YEARS", + "EVENT_HOLD_DURATION", + "OBJECT_LOCK_RETENTION_MODE", + "DEFAULT_RETENTION", + "OBJECT_LOCK_RETENTION", + ), + ( + "S3_REGIONAL_OR_S3_EXPRESS_BUCKET_ARN_STRING", + "OBJECT_LOCK_RULE", + "OBJECT_LOCK_CONFIGURATION", + "GET_OBJECT_RETENTION_INPUT", + "GET_OBJECT_RETENTION_OUTPUT", + "GET_OBJECT_RETENTION", + "GET_OBJECT_TAGGING_INPUT", + "GET_OBJECT_TAGGING_OUTPUT", + "GET_OBJECT_TAGGING", + "GET_OBJECT_TORRENT_INPUT", + "GET_OBJECT_TORRENT_OUTPUT", + "GET_OBJECT_TORRENT", + "GET_PUBLIC_ACCESS_BLOCK_INPUT", + "GET_PUBLIC_ACCESS_BLOCK_OUTPUT", + "GET_PUBLIC_ACCESS_BLOCK", + "SETTING", + "PUBLIC_ACCESS_BLOCK_CONFIGURATION", + "HEAD_BUCKET_INPUT", + "HEAD_BUCKET_OUTPUT", + "HEAD_BUCKET", + "BUCKET_LOCATION_NAME", + "REGION", + "NOT_FOUND", + "HEAD_OBJECT_INPUT", + "HEAD_OBJECT_OUTPUT", + "HEAD_OBJECT", + "ARCHIVE_STATUS", + "TOKEN", + "LIST_BUCKET_ANALYTICS_CONFIGURATIONS_INPUT", + "LIST_BUCKET_ANALYTICS_CONFIGURATIONS_OUTPUT", + "LIST_BUCKET_ANALYTICS_CONFIGURATIONS", + "ANALYTICS_CONFIGURATION_LIST", + "NEXT_TOKEN", + "LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_INPUT", + "LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_OUTPUT", + "LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS", + "INTELLIGENT_TIERING_CONFIGURATION_LIST", + "LIST_BUCKET_INVENTORY_CONFIGURATIONS_INPUT", + "LIST_BUCKET_INVENTORY_CONFIGURATIONS_OUTPUT", + "LIST_BUCKET_INVENTORY_CONFIGURATIONS", + "INVENTORY_CONFIGURATION_LIST", + "LIST_BUCKET_METRICS_CONFIGURATIONS_INPUT", + "LIST_BUCKET_METRICS_CONFIGURATIONS_OUTPUT", + "LIST_BUCKET_METRICS_CONFIGURATIONS", + "METRICS_CONFIGURATION_LIST", + "BUCKET_REGION", + "MAX_BUCKETS", + "LIST_BUCKETS_INPUT", + "LIST_BUCKETS_OUTPUT", + "LIST_BUCKETS", + "CREATION_DATE", + "BUCKET", + "BUCKETS", + "DIRECTORY_BUCKET_TOKEN", + "MAX_DIRECTORY_BUCKETS", + "LIST_DIRECTORY_BUCKETS_INPUT", + "LIST_DIRECTORY_BUCKETS_OUTPUT", + "LIST_DIRECTORY_BUCKETS", + "DELIMITER", + "ENCODING_TYPE", + "KEY_MARKER", + "MAX_UPLOADS", + "UPLOAD_ID_MARKER", + "LIST_MULTIPART_UPLOADS_INPUT", + "LIST_MULTIPART_UPLOADS_OUTPUT", + "LIST_MULTIPART_UPLOADS", + "COMMON_PREFIX", + "COMMON_PREFIX_LIST", + "NEXT_KEY_MARKER", + "NEXT_UPLOAD_ID_MARKER", + "INITIATED", + "MULTIPART_UPLOAD", + "MULTIPART_UPLOAD_LIST", + "INVALID_PREFIX", + "ANNOTATION_PREFIX", + "MAX_ANNOTATION_RESULTS", + "LIST_OBJECT_ANNOTATIONS_INPUT", + "LIST_OBJECT_ANNOTATIONS_OUTPUT", + "LIST_OBJECT_ANNOTATIONS", + "ANNOTATION_COUNT", + "CHECKSUM_ALGORITHM_LIST", + "ANNOTATION_ENTRY", + "ANNOTATION_LIST", + "MARKER", + "MAX_KEYS", + "OPTIONAL_OBJECT_ATTRIBUTES", + "OPTIONAL_OBJECT_ATTRIBUTES_LIST", + "LIST_OBJECTS_INPUT", + "LIST_OBJECTS_OUTPUT", + "LIST_OBJECTS", + ), + ( + "IS_RESTORE_IN_PROGRESS", + "RESTORE_EXPIRY_DATE", + "RESTORE_STATUS", + "OBJECT_STORAGE_CLASS", + "OBJECT", + "OBJECT_LIST", + "NEXT_MARKER", + "FETCH_OWNER", + "START_AFTER", + "LIST_OBJECTS_V2_INPUT", + "LIST_OBJECTS_V2_OUTPUT", + "LIST_OBJECTS_V2", + "KEY_COUNT", + "VERSION_ID_MARKER", + "LIST_OBJECT_VERSIONS_INPUT", + "LIST_OBJECT_VERSIONS_OUTPUT", + "LIST_OBJECT_VERSIONS", + "IS_LATEST", + "DELETE_MARKER_ENTRY", + "DELETE_MARKERS", + "NEXT_VERSION_ID_MARKER", + "OBJECT_VERSION_STORAGE_CLASS", + "OBJECT_VERSION", + "OBJECT_VERSION_LIST", + "LIST_PARTS_INPUT", + "LIST_PARTS_OUTPUT", + "LIST_PARTS", + "PART", + "PARTS", + "PUT_BUCKET_ABAC_INPUT", + "PUT_BUCKET_ABAC_OUTPUT", + "PUT_BUCKET_ABAC", + "PUT_BUCKET_ACCELERATE_CONFIGURATION_INPUT", + "PUT_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT", + "PUT_BUCKET_ACCELERATE_CONFIGURATION", + "PUT_BUCKET_ACL_INPUT", + "PUT_BUCKET_ACL_OUTPUT", + "PUT_BUCKET_ACL", + "PUT_BUCKET_ANALYTICS_CONFIGURATION_INPUT", + "PUT_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT", + "PUT_BUCKET_ANALYTICS_CONFIGURATION", + "CORS_CONFIGURATION", + "PUT_BUCKET_CORS_INPUT", + "PUT_BUCKET_CORS_OUTPUT", + "PUT_BUCKET_CORS", + "PUT_BUCKET_ENCRYPTION_INPUT", + "PUT_BUCKET_ENCRYPTION_OUTPUT", + "PUT_BUCKET_ENCRYPTION", + "PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT", + "PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT", + "PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION", + "PUT_BUCKET_INVENTORY_CONFIGURATION_INPUT", + "PUT_BUCKET_INVENTORY_CONFIGURATION_OUTPUT", + "PUT_BUCKET_INVENTORY_CONFIGURATION", + "BUCKET_LIFECYCLE_CONFIGURATION", + "PUT_BUCKET_LIFECYCLE_CONFIGURATION_INPUT", + "PUT_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT", + "PUT_BUCKET_LIFECYCLE_CONFIGURATION", + "BUCKET_LOGGING_STATUS", + "PUT_BUCKET_LOGGING_INPUT", + "PUT_BUCKET_LOGGING_OUTPUT", + "PUT_BUCKET_LOGGING", + "PUT_BUCKET_METRICS_CONFIGURATION_INPUT", + "PUT_BUCKET_METRICS_CONFIGURATION_OUTPUT", + "PUT_BUCKET_METRICS_CONFIGURATION", + "NOTIFICATION_CONFIGURATION", + "SKIP_VALIDATION", + "PUT_BUCKET_NOTIFICATION_CONFIGURATION_INPUT", + "PUT_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT", + "PUT_BUCKET_NOTIFICATION_CONFIGURATION", + "PUT_BUCKET_OWNERSHIP_CONTROLS_INPUT", + "PUT_BUCKET_OWNERSHIP_CONTROLS_OUTPUT", + "PUT_BUCKET_OWNERSHIP_CONTROLS", + "CONFIRM_REMOVE_SELF_BUCKET_ACCESS", + "PUT_BUCKET_POLICY_INPUT", + "PUT_BUCKET_POLICY_OUTPUT", + "PUT_BUCKET_POLICY", + "PUT_BUCKET_REPLICATION_INPUT", + "PUT_BUCKET_REPLICATION_OUTPUT", + "PUT_BUCKET_REPLICATION", + ), + ( + "REQUEST_PAYMENT_CONFIGURATION", + "PUT_BUCKET_REQUEST_PAYMENT_INPUT", + "PUT_BUCKET_REQUEST_PAYMENT_OUTPUT", + "PUT_BUCKET_REQUEST_PAYMENT", + "TAGGING", + "PUT_BUCKET_TAGGING_INPUT", + "PUT_BUCKET_TAGGING_OUTPUT", + "PUT_BUCKET_TAGGING", + "MFA_DELETE", + "VERSIONING_CONFIGURATION", + "PUT_BUCKET_VERSIONING_INPUT", + "PUT_BUCKET_VERSIONING_OUTPUT", + "PUT_BUCKET_VERSIONING", + "WEBSITE_CONFIGURATION", + "PUT_BUCKET_WEBSITE_INPUT", + "PUT_BUCKET_WEBSITE_OUTPUT", + "PUT_BUCKET_WEBSITE", + "ENCRYPTION_TYPE_MISMATCH", + "INVALID_WRITE_OFFSET", + "WRITE_OFFSET_BYTES", + "PUT_OBJECT_INPUT", + "PUT_OBJECT_OUTPUT", + "PUT_OBJECT", + "TOO_MANY_PARTS", + "PUT_OBJECT_ACL_INPUT", + "PUT_OBJECT_ACL_OUTPUT", + "PUT_OBJECT_ACL", + "ANNOTATION_LIMIT_EXCEEDED", + "ANNOTATION_NAME_TOO_LONG", + "INVALID_ANNOTATION_NAME", + "PUT_OBJECT_ANNOTATION_INPUT", + "PUT_OBJECT_ANNOTATION_OUTPUT", + "PUT_OBJECT_ANNOTATION", + "UNSUPPORTED_MEDIA_TYPE", + "PUT_OBJECT_LEGAL_HOLD_INPUT", + "PUT_OBJECT_LEGAL_HOLD_OUTPUT", + "PUT_OBJECT_LEGAL_HOLD", + "PUT_OBJECT_LOCK_CONFIGURATION_INPUT", + "PUT_OBJECT_LOCK_CONFIGURATION_OUTPUT", + "PUT_OBJECT_LOCK_CONFIGURATION", + "PUT_OBJECT_RETENTION_INPUT", + "PUT_OBJECT_RETENTION_OUTPUT", + "PUT_OBJECT_RETENTION", + "PUT_OBJECT_TAGGING_INPUT", + "PUT_OBJECT_TAGGING_OUTPUT", + "PUT_OBJECT_TAGGING", + "PUT_PUBLIC_ACCESS_BLOCK_INPUT", + "PUT_PUBLIC_ACCESS_BLOCK_OUTPUT", + "PUT_PUBLIC_ACCESS_BLOCK", + "IDEMPOTENCY_PARAMETER_MISMATCH", + "CLIENT_TOKEN", + "RENAME_SOURCE", + "RENAME_SOURCE_IF_MATCH", + "RENAME_SOURCE_IF_MODIFIED_SINCE", + "RENAME_SOURCE_IF_NONE_MATCH", + "RENAME_SOURCE_IF_UNMODIFIED_SINCE", + "RENAME_OBJECT_INPUT", + "RENAME_OBJECT_OUTPUT", + "RENAME_OBJECT", + "OBJECT_ALREADY_IN_ACTIVE_TIER_ERROR", + "DESCRIPTION", + "TIER", + "GLACIER_JOB_PARAMETERS", + "KMS_CONTEXT", + "ENCRYPTION", + "LOCATION_PREFIX", + "METADATA_ENTRY", + "USER_METADATA", + "S3_LOCATION", + "OUTPUT_LOCATION", + "EXPRESSION", + "EXPRESSION_TYPE", + ), + ( + "COMPRESSION_TYPE", + "COMMENTS", + "FIELD_DELIMITER", + "FILE_HEADER_INFO", + "QUOTE_CHARACTER", + "QUOTE_ESCAPE_CHARACTER", + "RECORD_DELIMITER", + "CSV_INPUT", + "JSON_TYPE", + "JSON_INPUT", + "PARQUET_INPUT", + "INPUT_SERIALIZATION", + "QUOTE_FIELDS", + "CSV_OUTPUT", + "JSON_OUTPUT", + "OUTPUT_SERIALIZATION", + "SELECT_PARAMETERS", + "RESTORE_REQUEST_TYPE", + "RESTORE_REQUEST", + "RESTORE_OBJECT_INPUT", + "RESTORE_OBJECT_OUTPUT", + "RESTORE_OBJECT", + "RESTORE_OUTPUT_PATH", + "ENABLE_REQUEST_PROGRESS", + "REQUEST_PROGRESS", + "END", + "START", + "SCAN_RANGE", + "SELECT_OBJECT_CONTENT_INPUT", + "SELECT_OBJECT_CONTENT_OUTPUT", + "SELECT_OBJECT_CONTENT", + "CONTINUATION_EVENT", + "END_EVENT", + "BYTES_PROCESSED", + "BYTES_RETURNED", + "BYTES_SCANNED", + "PROGRESS", + "PROGRESS_EVENT", + "BODY", + "RECORDS_EVENT", + "STATS", + "STATS_EVENT", + "SELECT_OBJECT_CONTENT_EVENT_STREAM", + "ANNOTATION_TABLE_CONFIGURATION_UPDATES", + "UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_INPUT", + "UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_OUTPUT", + "UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION", + "INVENTORY_TABLE_CONFIGURATION_UPDATES", + "UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_INPUT", + "UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_OUTPUT", + "UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION", + "JOURNAL_TABLE_CONFIGURATION_UPDATES", + "UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_INPUT", + "UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_OUTPUT", + "UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION", + "NON_EMPTY_KMS_KEY_ARN_STRING", + "SSEKMS_ENCRYPTION", + "OBJECT_ENCRYPTION", + "UPDATE_OBJECT_ENCRYPTION_INPUT", + "UPDATE_OBJECT_ENCRYPTION_OUTPUT", + "UPDATE_OBJECT_ENCRYPTION", + "UPLOAD_PART_INPUT", + "UPLOAD_PART_OUTPUT", + "UPLOAD_PART", + "COPY_SOURCE_RANGE", + "UPLOAD_PART_COPY_INPUT", + "UPLOAD_PART_COPY_OUTPUT", + "UPLOAD_PART_COPY", + "COPY_PART_RESULT", + "REQUEST_ROUTE", + "REQUEST_TOKEN", + "GET_OBJECT_RESPONSE_STATUS_CODE", + "WRITE_GET_OBJECT_RESPONSE_INPUT", + "WRITE_GET_OBJECT_RESPONSE_OUTPUT", + "WRITE_GET_OBJECT_RESPONSE", + "AMAZON_S3", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_0.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_0.py new file mode 100644 index 000000000..13eee2b00 --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_0.py @@ -0,0 +1,1231 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.s3" +_BAS = "BucketAbacStatus" +_E = "Enabled" +_sV = "smithy.api#enumValue" +_D = "Disabled" +_AS = "AbacStatus" +_S = "Status" +_AD = "AbortDate" +_DAI = "DaysAfterInitiation" +_AIMU = "AbortIncompleteMultipartUpload" +_BN = "BucketName" +_AI = "AccountId" +_IMIT = "IfMatchInitiatedTime" +_sF = "smithy.api#timestampFormat" +_hd = "http-date" +_OK = "ObjectKey" +_RP = "RequestPayer" +_r = "requester" +_MUI = "MultipartUploadId" +_AMUI = "AbortMultipartUploadInput" +_sSI = "smithy.synthetic#originalShapeId" +_cAMUR = "com.amazonaws.s3#AbortMultipartUploadRequest" +_s = "smithy.api#input" +_B = "Bucket" +_sP = "smithy.rules#contextParam" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_K = "Key" +_UI = "UploadId" +_sQ = "smithy.api#httpQuery" +_uI = "uploadId" +_sH = "smithy.api#httpHeader" +_xarp = "x-amz-request-payer" +_EBO = "ExpectedBucketOwner" +_xaebo = "x-amz-expected-bucket-owner" +_xaimit = "x-amz-if-match-initiated-time" +_RC = "RequestCharged" +_AMUO = "AbortMultipartUploadOutput" +_smi = "smithy.api#output" +_xarc = "x-amz-request-charged" +_NSU = "NoSuchUpload" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_AMU = "AbortMultipartUpload" +_smith = "smithy.api#http" +_ARI = "AbortRuleId" +_BASu = "BucketAccelerateStatus" +_Su = "Suspended" +_AC = "AccelerateConfiguration" +_AR = "AcceptRanges" +_DN = "DisplayName" +_EA = "EmailAddress" +_ID = "ID" +_T = "Type" +_CU = "CanonicalUser" +_ACBE = "AmazonCustomerByEmail" +_G = "Group" +_URI = "URI" +_Gr = "Grantee" +_sN = "smithy.api#xmlName" +_x = "xsi:type" +_sA = "smithy.api#xmlAttribute" +_P = "Permission" +_FC = "FULL_CONTROL" +_WRITE = "WRITE" +_WA = "WRITE_ACP" +_READ = "READ" +_RA = "READ_ACP" +_Gra = "Grant" +_sNm = "smithy.api#xmlNamespace" +_Gran = "Grants" +_m = "member" +_O = "Owner" +_ACP = "AccessControlPolicy" +_ACL = "AccessControlList" +_OO = "OwnerOverride" +_De = "Destination" +_ACT = "AccessControlTranslation" +_ADc = "AccessDenied" +_AKIV = "AccessKeyIdValue" +_APA = "AccessPointAlias" +_APAc = "AccessPointArn" +_AH = "AllowedHeader" +_AHl = "AllowedHeaders" +_AM = "AllowedMethod" +_AMl = "AllowedMethods" +_AO = "AllowedOrigin" +_AOl = "AllowedOrigins" +_AQRD = "AllowQuotedRecordDelimiter" +_CCRC = "ChecksumCRC32" +_CCRCC = "ChecksumCRC32C" +_CCRCNVME = "ChecksumCRC64NVME" +_CMD = "ChecksumMD5" +_CSHA = "ChecksumSHA1" +_CSHAh = "ChecksumSHA256" +_CSHAhe = "ChecksumSHA512" +_CT = "ChecksumType" +_COMPOSITE = "COMPOSITE" +_FO = "FULL_OBJECT" +_CXXHASH = "ChecksumXXHASH128" +_CXXHASHh = "ChecksumXXHASH3" +_CXXHASHhe = "ChecksumXXHASH64" +_IM = "IfMatch" +_INM = "IfNoneMatch" +_MOS = "MpuObjectSize" +_ET = "ETag" +_PN = "PartNumber" +_CP = "CompletedPart" +_CPL = "CompletedPartList" +_CMU = "CompletedMultipartUpload" +_Pa = "Parts" +_Par = "Part" +_sFm = "smithy.api#xmlFlattened" +_SSECA = "SSECustomerAlgorithm" +_SSECK = "SSECustomerKey" +_smithy = "smithy.api#sensitive" +_SSECKMD = "SSECustomerKeyMD5" +_CMUI = "CompleteMultipartUploadInput" +_cCMUR = "com.amazonaws.s3#CompleteMultipartUploadRequest" +_MU = "MultipartUpload" +_CMUo = "CompleteMultipartUpload" +_sPm = "smithy.api#httpPayload" +_xacc = "x-amz-checksum-crc32" +_xacc_ = "x-amz-checksum-crc32c" +_xacc__ = "x-amz-checksum-crc64nvme" +_xacs = "x-amz-checksum-sha1" +_xacs_ = "x-amz-checksum-sha256" +_xacs__ = "x-amz-checksum-sha512" +_xacm = "x-amz-checksum-md5" +_xacx = "x-amz-checksum-xxhash64" +_xacx_ = "x-amz-checksum-xxhash3" +_xacx__ = "x-amz-checksum-xxhash128" +_xact = "x-amz-checksum-type" +_xamos = "x-amz-mp-object-size" +_IM_ = "If-Match" +_INM_ = "If-None-Match" +_xasseca = "x-amz-server-side-encryption-customer-algorithm" +_xasseck = "x-amz-server-side-encryption-customer-key" +_xasseckM = "x-amz-server-side-encryption-customer-key-MD5" +_BKE = "BucketKeyEnabled" +_Ex = "Expiration" +_L = "Location" +_SSE = "ServerSideEncryption" +_AES = "AES256" +_af = "aws_fsx" +_a = "aws:fsx" +_ab = "aws_backup" +_aw = "aws:backup" +_ak = "aws_kms" +_aws = "aws:kms" +_akd = "aws_kms_dsse" +_awsk = "aws:kms:dsse" +_SSEKMSKI = "SSEKMSKeyId" +_OVI = "ObjectVersionId" +_CMUO = "CompleteMultipartUploadOutput" +_CMUR = "CompleteMultipartUploadResult" +_xae = "x-amz-expiration" +_xasse = "x-amz-server-side-encryption" +_VI = "VersionId" +_xavi = "x-amz-version-id" +_xasseakki = "x-amz-server-side-encryption-aws-kms-key-id" +_xassebke = "x-amz-server-side-encryption-bucket-key-enabled" +_OCACL = "ObjectCannedACL" +_p = "private" +_pr = "public_read" +_pr_ = "public-read" +_prw = "public_read_write" +_prw_ = "public-read-write" +_ar = "authenticated_read" +_ar_ = "authenticated-read" +_aer = "aws_exec_read" +_aer_ = "aws-exec-read" +_bor = "bucket_owner_read" +_bor_ = "bucket-owner-read" +_bofc = "bucket_owner_full_control" +_bofc_ = "bucket-owner-full-control" +_ADn = "AnnotationDirective" +_COPY = "COPY" +_EXCLUDE = "EXCLUDE" +_CC = "CacheControl" +_CA = "ChecksumAlgorithm" +_CRC = "CRC32" +_CRCC = "CRC32C" +_SHA = "SHA1" +_SHA_ = "SHA256" +_CRCNVME = "CRC64NVME" +_SHA__ = "SHA512" +_MD = "MD5" +_XXHASH = "XXHASH64" +_XXHASH_ = "XXHASH3" +_XXHASH__ = "XXHASH128" +_CD = "ContentDisposition" +_CE = "ContentEncoding" +_CL = "ContentLanguage" +_CTo = "ContentType" +_CS = "CopySource" +_CSIM = "CopySourceIfMatch" +_CSIMS = "CopySourceIfModifiedSince" +_CSINM = "CopySourceIfNoneMatch" +_CSIUS = "CopySourceIfUnmodifiedSince" +_CSSSECA = "CopySourceSSECustomerAlgorithm" +_CSSSECK = "CopySourceSSECustomerKey" +_CSSSECKMD = "CopySourceSSECustomerKeyMD5" +_Exp = "Expires" +_GFC = "GrantFullControl" +_GR = "GrantRead" +_GRACP = "GrantReadACP" +_GWACP = "GrantWriteACP" +_MK = "MetadataKey" +_MV = "MetadataValue" +_M = "Metadata" +_k = "key" +_v = "value" +_MDe = "MetadataDirective" +_REPLACE = "REPLACE" +_OLEH = "ObjectLockEventHold" +_ON = "ON" +_OFF = "OFF" +_OLEHDD = "ObjectLockEventHoldDurationDays" +_OLEHDY = "ObjectLockEventHoldDurationYears" +_OLLHS = "ObjectLockLegalHoldStatus" +_OLM = "ObjectLockMode" +_GOVERNANCE = "GOVERNANCE" +_COMPLIANCE = "COMPLIANCE" +_OLRUD = "ObjectLockRetainUntilDate" +_dt = "date-time" +_SSEKMSEC = "SSEKMSEncryptionContext" +_SC = "StorageClass" +_STANDARD = "STANDARD" +_RR = "REDUCED_REDUNDANCY" +_SI = "STANDARD_IA" +_OI = "ONEZONE_IA" +_IT = "INTELLIGENT_TIERING" +_GLACIER = "GLACIER" +_DA = "DEEP_ARCHIVE" +_OUTPOSTS = "OUTPOSTS" +_GI = "GLACIER_IR" +_SNOW = "SNOW" +_EO = "EXPRESS_ONEZONE" +_FO_ = "FSX_OPENZFS" +_FO__ = "FSX_ONTAP" +_ABW = "AWS_BACKUP_WARM" +_ABLCW = "AWS_BACKUP_LOW_COST_WARM" +_TH = "TaggingHeader" +_TD = "TaggingDirective" +_WRL = "WebsiteRedirectLocation" +_COI = "CopyObjectInput" +_cCOR = "com.amazonaws.s3#CopyObjectRequest" +_ACL_ = "ACL" +_xaa = "x-amz-acl" +_CC_ = "Cache-Control" +_xaca = "x-amz-checksum-algorithm" +_CD_ = "Content-Disposition" +_CE_ = "Content-Encoding" +_CL_ = "Content-Language" +_CT_ = "Content-Type" +_xacs___ = "x-amz-copy-source" +_xacsim = "x-amz-copy-source-if-match" +_xacsims = "x-amz-copy-source-if-modified-since" +_xacsinm = "x-amz-copy-source-if-none-match" +_xacsius = "x-amz-copy-source-if-unmodified-since" +_xagfc = "x-amz-grant-full-control" +_xagr = "x-amz-grant-read" +_xagra = "x-amz-grant-read-acp" +_xagwa = "x-amz-grant-write-acp" +_sPH = "smithy.api#httpPrefixHeaders" +_xam = "x-amz-meta-" +_xamd = "x-amz-metadata-directive" +_xatd = "x-amz-tagging-directive" +_xaoad = "x-amz-object-annotation-directive" +_xasc = "x-amz-storage-class" +_xawrl = "x-amz-website-redirect-location" +_xassec = "x-amz-server-side-encryption-context" +_xacssseca = "x-amz-copy-source-server-side-encryption-customer-algorithm" +_xacssseck = "x-amz-copy-source-server-side-encryption-customer-key" +_xacssseckM = "x-amz-copy-source-server-side-encryption-customer-key-MD5" +_Ta = "Tagging" +_xat = "x-amz-tagging" +_xaolm = "x-amz-object-lock-mode" +_xaolrud = "x-amz-object-lock-retain-until-date" +_xaollh = "x-amz-object-lock-legal-hold" +_xaoleh = "x-amz-object-lock-event-hold" +_xaolehdd = "x-amz-object-lock-event-hold-duration-days" +_xaolehdy = "x-amz-object-lock-event-hold-duration-years" +_ESBO = "ExpectedSourceBucketOwner" +_xasebo = "x-amz-source-expected-bucket-owner" +_LM = "LastModified" +_COR = "CopyObjectResult" +_CSVI = "CopySourceVersionId" +_COO = "CopyObjectOutput" +_xacsvi = "x-amz-copy-source-version-id" +_ONIATE = "ObjectNotInActiveTierError" +_CO = "CopyObject" +_sCP = "smithy.rules#staticContextParams" +_BAE = "BucketAlreadyExists" +_BAOBY = "BucketAlreadyOwnedByYou" +_BCACL = "BucketCannedACL" +_BNu = "BucketNamespace" +_AR_ = "ACCOUNT_REGIONAL" +_ar__ = "account-regional" +_GLOBAL = "GLOBAL" +_g = "global" +_DR = "DataRedundancy" +_SAZ = "SingleAvailabilityZone" +_SLZ = "SingleLocalZone" +_BT = "BucketType" +_Di = "Directory" +_BI = "BucketInfo" +_LNAS = "LocationNameAsString" +_LT = "LocationType" +_AZ = "AvailabilityZone" +_LZ = "LocalZone" +_LI = "LocationInfo" +_N = "Name" + +BUCKET_ABAC_STATUS: StaticSchema = ( + 14, + n0, + _BAS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +ABAC_STATUS: StaticSchema = (18, n0, _AS, 0, (_S,), ((BUCKET_ABAC_STATUS, 0),)) + +ABORT_DATE: StaticSchema = (4, n0, _AD, 0) + +DAYS_AFTER_INITIATION: StaticSchema = (7, n0, _DAI, 0) + +ABORT_INCOMPLETE_MULTIPART_UPLOAD: StaticSchema = ( + 18, + n0, + _AIMU, + 0, + (_DAI,), + ((DAYS_AFTER_INITIATION, 0),), +) + +BUCKET_NAME: StaticSchema = (3, n0, _BN, 0) + +ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) + +IF_MATCH_INITIATED_TIME: StaticSchema = (4, n0, _IMIT, {_sF: _hd}) + +OBJECT_KEY: StaticSchema = (3, n0, _OK, 0) + +REQUEST_PAYER: StaticSchema = (14, n0, _RP, 0, (_r,), ((-1, {_sV: _r}),)) + +MULTIPART_UPLOAD_ID: StaticSchema = (3, n0, _MUI, 0) + +ABORT_MULTIPART_UPLOAD_INPUT: StaticSchema = ( + 18, + n0, + _AMUI, + {_sSI: _cAMUR, _s: None}, + (_B, _K, _UI, _RP, _EBO, _IMIT), + ( + ( + BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), + (MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), + (REQUEST_PAYER, {_sH: _xarp}), + (ACCOUNT_ID, {_sH: _xaebo}), + (IF_MATCH_INITIATED_TIME, {_sH: _xaimit}), + ), +) + +ABORT_MULTIPART_UPLOAD_OUTPUT: StaticSchema = ( + 18, + n0, + _AMUO, + {_smi: None}, + (_RC,), + ((lambda: REQUEST_CHARGED, {_sH: _xarc}),), +) + +ABORT_MULTIPART_UPLOAD: StaticOperationSchema = ( + 23, + n0, + _AMU, + { + _smith: MappingProxyType( + { + "method": "DELETE", + "uri": "/{Key+}?x-id=AbortMultipartUpload", + "code": 204, + } + ) + }, + ABORT_MULTIPART_UPLOAD_INPUT, + ABORT_MULTIPART_UPLOAD_OUTPUT, + (lambda: NO_SUCH_UPLOAD,), +) + +REQUEST_CHARGED: StaticSchema = (14, n0, _RC, 0, (_r,), ((-1, {_sV: _r}),)) + +NO_SUCH_UPLOAD: StaticSchema = (18, n0, _NSU, {_smit: _c, _sE: 404}) + +ABORT_RULE_ID: StaticSchema = (3, n0, _ARI, 0) + +BUCKET_ACCELERATE_STATUS: StaticSchema = ( + 14, + n0, + _BASu, + 0, + (_E, _Su), + ((-1, {_sV: _E}), (-1, {_sV: _Su})), +) + +ACCELERATE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _AC, + 0, + (_S,), + ((BUCKET_ACCELERATE_STATUS, 0),), +) + +ACCEPT_RANGES: StaticSchema = (3, n0, _AR, 0) + +DISPLAY_NAME: StaticSchema = (3, n0, _DN, 0) + +EMAIL_ADDRESS: StaticSchema = (3, n0, _EA, 0) + +ID: StaticSchema = (3, n0, _ID, 0) + +TYPE: StaticSchema = ( + 14, + n0, + _T, + 0, + (_CU, _ACBE, _G), + ((-1, {_sV: _CU}), (-1, {_sV: _ACBE}), (-1, {_sV: _G})), +) + +URI: StaticSchema = (3, n0, _URI, 0) + +GRANTEE: StaticSchema = ( + 18, + n0, + _Gr, + 0, + (_DN, _EA, _ID, _URI, _T), + ( + (DISPLAY_NAME, 0), + (EMAIL_ADDRESS, 0), + (ID, 0), + (URI, 0), + (TYPE, {_sN: _x, _sA: None, _sm: None}), + ), +) + +PERMISSION: StaticSchema = ( + 14, + n0, + _P, + 0, + (_FC, _WRITE, _WA, _READ, _RA), + ( + (-1, {_sV: _FC}), + (-1, {_sV: _WRITE}), + (-1, {_sV: _WA}), + (-1, {_sV: _READ}), + (-1, {_sV: _RA}), + ), +) + +GRANT: StaticSchema = ( + 18, + n0, + _Gra, + 0, + (_Gr, _P), + ( + ( + GRANTEE, + { + _sNm: MappingProxyType( + { + "uri": "http://www.w3.org/2001/XMLSchema-instance", + "prefix": "xsi", + } + ) + }, + ), + (PERMISSION, 0), + ), +) + +GRANTS: StaticSchema = (16, n0, _Gran, 0, (_m,), ((GRANT, {_sN: _Gra}),)) + +OWNER: StaticSchema = (18, n0, _O, 0, (_DN, _ID), ((DISPLAY_NAME, 0), (ID, 0))) + +ACCESS_CONTROL_POLICY: StaticSchema = ( + 18, + n0, + _ACP, + 0, + (_Gran, _O), + ((GRANTS, {_sN: _ACL}), (OWNER, 0)), +) + +OWNER_OVERRIDE: StaticSchema = (14, n0, _OO, 0, (_De,), ((-1, {_sV: _De}),)) + +ACCESS_CONTROL_TRANSLATION: StaticSchema = ( + 18, + n0, + _ACT, + 0, + (_O,), + ((OWNER_OVERRIDE, 1),), +) + +ACCESS_DENIED: StaticSchema = (18, n0, _ADc, {_smit: _c, _sE: 403}) + +ACCESS_KEY_ID_VALUE: StaticSchema = (3, n0, _AKIV, 0) + +ACCESS_POINT_ALIAS: StaticSchema = (2, n0, _APA, 0) + +ACCESS_POINT_ARN: StaticSchema = (3, n0, _APAc, 0) + +ALLOWED_HEADER: StaticSchema = (3, n0, _AH, 0) + +ALLOWED_HEADERS: StaticSchema = (16, n0, _AHl, 0, (_m,), ((ALLOWED_HEADER, 0),)) + +ALLOWED_METHOD: StaticSchema = (3, n0, _AM, 0) + +ALLOWED_METHODS: StaticSchema = (16, n0, _AMl, 0, (_m,), ((ALLOWED_METHOD, 0),)) + +ALLOWED_ORIGIN: StaticSchema = (3, n0, _AO, 0) + +ALLOWED_ORIGINS: StaticSchema = (16, n0, _AOl, 0, (_m,), ((ALLOWED_ORIGIN, 0),)) + +ALLOW_QUOTED_RECORD_DELIMITER: StaticSchema = (2, n0, _AQRD, 0) + +CHECKSUM_CRC32: StaticSchema = (3, n0, _CCRC, 0) + +CHECKSUM_CRC32_C: StaticSchema = (3, n0, _CCRCC, 0) + +CHECKSUM_CRC64_NVME: StaticSchema = (3, n0, _CCRCNVME, 0) + +CHECKSUM_MD5: StaticSchema = (3, n0, _CMD, 0) + +CHECKSUM_SHA1: StaticSchema = (3, n0, _CSHA, 0) + +CHECKSUM_SHA256: StaticSchema = (3, n0, _CSHAh, 0) + +CHECKSUM_SHA512: StaticSchema = (3, n0, _CSHAhe, 0) + +CHECKSUM_TYPE: StaticSchema = ( + 14, + n0, + _CT, + 0, + (_COMPOSITE, _FO), + ((-1, {_sV: _COMPOSITE}), (-1, {_sV: _FO})), +) + +CHECKSUM_XXHASH128: StaticSchema = (3, n0, _CXXHASH, 0) + +CHECKSUM_XXHASH3: StaticSchema = (3, n0, _CXXHASHh, 0) + +CHECKSUM_XXHASH64: StaticSchema = (3, n0, _CXXHASHhe, 0) + +IF_MATCH: StaticSchema = (3, n0, _IM, 0) + +IF_NONE_MATCH: StaticSchema = (3, n0, _INM, 0) + +MPU_OBJECT_SIZE: StaticSchema = (8, n0, _MOS, 0) + +E_TAG: StaticSchema = (3, n0, _ET, 0) + +PART_NUMBER: StaticSchema = (7, n0, _PN, 0) + +COMPLETED_PART: StaticSchema = ( + 18, + n0, + _CP, + 0, + ( + _ET, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _PN, + ), + ( + (E_TAG, 0), + (CHECKSUM_CRC32, 0), + (CHECKSUM_CRC32_C, 0), + (CHECKSUM_CRC64_NVME, 0), + (CHECKSUM_SHA1, 0), + (CHECKSUM_SHA256, 0), + (CHECKSUM_SHA512, 0), + (CHECKSUM_MD5, 0), + (CHECKSUM_XXHASH64, 0), + (CHECKSUM_XXHASH3, 0), + (CHECKSUM_XXHASH128, 0), + (PART_NUMBER, 0), + ), +) + +COMPLETED_PART_LIST: StaticSchema = (16, n0, _CPL, 0, (_m,), ((COMPLETED_PART, 0),)) + +COMPLETED_MULTIPART_UPLOAD: StaticSchema = ( + 18, + n0, + _CMU, + 0, + (_Pa,), + ((COMPLETED_PART_LIST, {_sN: _Par, _sFm: None}),), +) + +SSE_CUSTOMER_ALGORITHM: StaticSchema = (3, n0, _SSECA, 0) + +SSE_CUSTOMER_KEY: StaticSchema = (3, n0, _SSECK, 4) + +SSE_CUSTOMER_KEY_MD5: StaticSchema = (3, n0, _SSECKMD, 0) + +COMPLETE_MULTIPART_UPLOAD_INPUT: StaticSchema = ( + 18, + n0, + _CMUI, + {_sSI: _cCMUR, _s: None}, + ( + _B, + _K, + _MU, + _UI, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _CT, + _MOS, + _RP, + _EBO, + _IM, + _INM, + _SSECA, + _SSECK, + _SSECKMD, + ), + ( + ( + BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), + (COMPLETED_MULTIPART_UPLOAD, {_sN: _CMUo, _sPm: None}), + (MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), + (CHECKSUM_CRC32, {_sH: _xacc}), + (CHECKSUM_CRC32_C, {_sH: _xacc_}), + (CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (CHECKSUM_SHA1, {_sH: _xacs}), + (CHECKSUM_SHA256, {_sH: _xacs_}), + (CHECKSUM_SHA512, {_sH: _xacs__}), + (CHECKSUM_MD5, {_sH: _xacm}), + (CHECKSUM_XXHASH64, {_sH: _xacx}), + (CHECKSUM_XXHASH3, {_sH: _xacx_}), + (CHECKSUM_XXHASH128, {_sH: _xacx__}), + (CHECKSUM_TYPE, {_sH: _xact}), + (MPU_OBJECT_SIZE, {_sH: _xamos}), + (REQUEST_PAYER, {_sH: _xarp}), + (ACCOUNT_ID, {_sH: _xaebo}), + (IF_MATCH, {_sH: _IM_}), + (IF_NONE_MATCH, {_sH: _INM_}), + (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + ), +) + +COMPLETE_MULTIPART_UPLOAD_OUTPUT: StaticSchema = ( + 18, + n0, + _CMUO, + {_sN: _CMUR, _smi: None}, + ( + _L, + _B, + _K, + _Ex, + _ET, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _CT, + _SSE, + _VI, + _SSEKMSKI, + _BKE, + _RC, + ), + ( + (lambda: LOCATION, 0), + (BUCKET_NAME, 0), + (OBJECT_KEY, 0), + (lambda: EXPIRATION, {_sH: _xae}), + (E_TAG, 0), + (CHECKSUM_CRC32, 0), + (CHECKSUM_CRC32_C, 0), + (CHECKSUM_CRC64_NVME, 0), + (CHECKSUM_SHA1, 0), + (CHECKSUM_SHA256, 0), + (CHECKSUM_SHA512, 0), + (CHECKSUM_MD5, 0), + (CHECKSUM_XXHASH64, 0), + (CHECKSUM_XXHASH3, 0), + (CHECKSUM_XXHASH128, 0), + (CHECKSUM_TYPE, 0), + (lambda: SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: OBJECT_VERSION_ID, {_sH: _xavi}), + (lambda: SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +COMPLETE_MULTIPART_UPLOAD: StaticOperationSchema = ( + 23, + n0, + _CMUo, + {_smith: MappingProxyType({"method": "POST", "uri": "/{Key+}", "code": 200})}, + COMPLETE_MULTIPART_UPLOAD_INPUT, + COMPLETE_MULTIPART_UPLOAD_OUTPUT, + (), +) + +BUCKET_KEY_ENABLED: StaticSchema = (2, n0, _BKE, 0) + +EXPIRATION: StaticSchema = (3, n0, _Ex, 0) + +LOCATION: StaticSchema = (3, n0, _L, 0) + +SERVER_SIDE_ENCRYPTION: StaticSchema = ( + 14, + n0, + _SSE, + 0, + (_AES, _af, _ab, _ak, _akd), + ( + (-1, {_sV: _AES}), + (-1, {_sV: _a}), + (-1, {_sV: _aw}), + (-1, {_sV: _aws}), + (-1, {_sV: _awsk}), + ), +) + +SSEKMS_KEY_ID: StaticSchema = (3, n0, _SSEKMSKI, 4) + +OBJECT_VERSION_ID: StaticSchema = (3, n0, _OVI, 0) + +OBJECT_CANNED_ACL: StaticSchema = ( + 14, + n0, + _OCACL, + 0, + (_p, _pr, _prw, _ar, _aer, _bor, _bofc), + ( + (-1, {_sV: _p}), + (-1, {_sV: _pr_}), + (-1, {_sV: _prw_}), + (-1, {_sV: _ar_}), + (-1, {_sV: _aer_}), + (-1, {_sV: _bor_}), + (-1, {_sV: _bofc_}), + ), +) + +ANNOTATION_DIRECTIVE: StaticSchema = ( + 14, + n0, + _ADn, + 0, + (_COPY, _EXCLUDE), + ((-1, {_sV: _COPY}), (-1, {_sV: _EXCLUDE})), +) + +CACHE_CONTROL: StaticSchema = (3, n0, _CC, 0) + +CHECKSUM_ALGORITHM: StaticSchema = ( + 14, + n0, + _CA, + 0, + (_CRC, _CRCC, _SHA, _SHA_, _CRCNVME, _SHA__, _MD, _XXHASH, _XXHASH_, _XXHASH__), + ( + (-1, {_sV: _CRC}), + (-1, {_sV: _CRCC}), + (-1, {_sV: _SHA}), + (-1, {_sV: _SHA_}), + (-1, {_sV: _CRCNVME}), + (-1, {_sV: _SHA__}), + (-1, {_sV: _MD}), + (-1, {_sV: _XXHASH}), + (-1, {_sV: _XXHASH_}), + (-1, {_sV: _XXHASH__}), + ), +) + +CONTENT_DISPOSITION: StaticSchema = (3, n0, _CD, 0) + +CONTENT_ENCODING: StaticSchema = (3, n0, _CE, 0) + +CONTENT_LANGUAGE: StaticSchema = (3, n0, _CL, 0) + +CONTENT_TYPE: StaticSchema = (3, n0, _CTo, 0) + +COPY_SOURCE: StaticSchema = (3, n0, _CS, 0) + +COPY_SOURCE_IF_MATCH: StaticSchema = (3, n0, _CSIM, 0) + +COPY_SOURCE_IF_MODIFIED_SINCE: StaticSchema = (4, n0, _CSIMS, 0) + +COPY_SOURCE_IF_NONE_MATCH: StaticSchema = (3, n0, _CSINM, 0) + +COPY_SOURCE_IF_UNMODIFIED_SINCE: StaticSchema = (4, n0, _CSIUS, 0) + +COPY_SOURCE_SSE_CUSTOMER_ALGORITHM: StaticSchema = (3, n0, _CSSSECA, 0) + +COPY_SOURCE_SSE_CUSTOMER_KEY: StaticSchema = (3, n0, _CSSSECK, 4) + +COPY_SOURCE_SSE_CUSTOMER_KEY_MD5: StaticSchema = (3, n0, _CSSSECKMD, 0) + +EXPIRES: StaticSchema = (3, n0, _Exp, 0) + +GRANT_FULL_CONTROL: StaticSchema = (3, n0, _GFC, 0) + +GRANT_READ: StaticSchema = (3, n0, _GR, 0) + +GRANT_READ_ACP: StaticSchema = (3, n0, _GRACP, 0) + +GRANT_WRITE_ACP: StaticSchema = (3, n0, _GWACP, 0) + +METADATA_KEY: StaticSchema = (3, n0, _MK, 0) + +METADATA_VALUE: StaticSchema = (3, n0, _MV, 0) + +METADATA: StaticSchema = ( + 17, + n0, + _M, + 0, + (_k, _v), + ((METADATA_KEY, 0), (METADATA_VALUE, 0)), +) + +METADATA_DIRECTIVE: StaticSchema = ( + 14, + n0, + _MDe, + 0, + (_COPY, _REPLACE), + ((-1, {_sV: _COPY}), (-1, {_sV: _REPLACE})), +) + +OBJECT_LOCK_EVENT_HOLD: StaticSchema = ( + 14, + n0, + _OLEH, + 0, + (_ON, _OFF), + ((-1, {_sV: _ON}), (-1, {_sV: _OFF})), +) + +OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS: StaticSchema = (7, n0, _OLEHDD, 0) + +OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS: StaticSchema = (7, n0, _OLEHDY, 0) + +OBJECT_LOCK_LEGAL_HOLD_STATUS: StaticSchema = ( + 14, + n0, + _OLLHS, + 0, + (_ON, _OFF), + ((-1, {_sV: _ON}), (-1, {_sV: _OFF})), +) + +OBJECT_LOCK_MODE: StaticSchema = ( + 14, + n0, + _OLM, + 0, + (_GOVERNANCE, _COMPLIANCE), + ((-1, {_sV: _GOVERNANCE}), (-1, {_sV: _COMPLIANCE})), +) + +OBJECT_LOCK_RETAIN_UNTIL_DATE: StaticSchema = (4, n0, _OLRUD, {_sF: _dt}) + +SSEKMS_ENCRYPTION_CONTEXT: StaticSchema = (3, n0, _SSEKMSEC, 4) + +STORAGE_CLASS: StaticSchema = ( + 14, + n0, + _SC, + 0, + ( + _STANDARD, + _RR, + _SI, + _OI, + _IT, + _GLACIER, + _DA, + _OUTPOSTS, + _GI, + _SNOW, + _EO, + _FO_, + _FO__, + _ABW, + _ABLCW, + ), + ( + (-1, {_sV: _STANDARD}), + (-1, {_sV: _RR}), + (-1, {_sV: _SI}), + (-1, {_sV: _OI}), + (-1, {_sV: _IT}), + (-1, {_sV: _GLACIER}), + (-1, {_sV: _DA}), + (-1, {_sV: _OUTPOSTS}), + (-1, {_sV: _GI}), + (-1, {_sV: _SNOW}), + (-1, {_sV: _EO}), + (-1, {_sV: _FO_}), + (-1, {_sV: _FO__}), + (-1, {_sV: _ABW}), + (-1, {_sV: _ABLCW}), + ), +) + +TAGGING_HEADER: StaticSchema = (3, n0, _TH, 0) + +TAGGING_DIRECTIVE: StaticSchema = ( + 14, + n0, + _TD, + 0, + (_COPY, _REPLACE), + ((-1, {_sV: _COPY}), (-1, {_sV: _REPLACE})), +) + +WEBSITE_REDIRECT_LOCATION: StaticSchema = (3, n0, _WRL, 0) + +COPY_OBJECT_INPUT: StaticSchema = ( + 18, + n0, + _COI, + {_sSI: _cCOR, _s: None}, + ( + _ACL_, + _B, + _CC, + _CA, + _CD, + _CE, + _CL, + _CTo, + _CS, + _CSIM, + _CSIMS, + _CSINM, + _CSIUS, + _Exp, + _GFC, + _GR, + _GRACP, + _GWACP, + _IM, + _INM, + _K, + _M, + _MDe, + _TD, + _ADn, + _SSE, + _SC, + _WRL, + _SSECA, + _SSECK, + _SSECKMD, + _SSEKMSKI, + _SSEKMSEC, + _BKE, + _CSSSECA, + _CSSSECK, + _CSSSECKMD, + _RP, + _Ta, + _OLM, + _OLRUD, + _OLLHS, + _OLEH, + _OLEHDD, + _OLEHDY, + _EBO, + _ESBO, + ), + ( + (OBJECT_CANNED_ACL, {_sH: _xaa}), + ( + BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (CACHE_CONTROL, {_sH: _CC_}), + (CHECKSUM_ALGORITHM, {_sH: _xaca}), + (CONTENT_DISPOSITION, {_sH: _CD_}), + (CONTENT_ENCODING, {_sH: _CE_}), + (CONTENT_LANGUAGE, {_sH: _CL_}), + (CONTENT_TYPE, {_sH: _CT_}), + ( + COPY_SOURCE, + {_sH: _xacs___, _sP: MappingProxyType({"name": "CopySource"}), _sm: None}, + ), + (COPY_SOURCE_IF_MATCH, {_sH: _xacsim}), + (COPY_SOURCE_IF_MODIFIED_SINCE, {_sH: _xacsims}), + (COPY_SOURCE_IF_NONE_MATCH, {_sH: _xacsinm}), + (COPY_SOURCE_IF_UNMODIFIED_SINCE, {_sH: _xacsius}), + (EXPIRES, {_sH: _Exp}), + (GRANT_FULL_CONTROL, {_sH: _xagfc}), + (GRANT_READ, {_sH: _xagr}), + (GRANT_READ_ACP, {_sH: _xagra}), + (GRANT_WRITE_ACP, {_sH: _xagwa}), + (IF_MATCH, {_sH: _IM_}), + (IF_NONE_MATCH, {_sH: _INM_}), + (OBJECT_KEY, {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}), + (METADATA, {_sPH: _xam}), + (METADATA_DIRECTIVE, {_sH: _xamd}), + (TAGGING_DIRECTIVE, {_sH: _xatd}), + (ANNOTATION_DIRECTIVE, {_sH: _xaoad}), + (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (STORAGE_CLASS, {_sH: _xasc}), + (WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), + (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (SSEKMS_KEY_ID, {_sH: _xasseakki}), + (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), + (BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (COPY_SOURCE_SSE_CUSTOMER_ALGORITHM, {_sH: _xacssseca}), + (COPY_SOURCE_SSE_CUSTOMER_KEY, {_sH: _xacssseck}), + (COPY_SOURCE_SSE_CUSTOMER_KEY_MD5, {_sH: _xacssseckM}), + (REQUEST_PAYER, {_sH: _xarp}), + (TAGGING_HEADER, {_sH: _xat}), + (OBJECT_LOCK_MODE, {_sH: _xaolm}), + (OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), + (OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), + (OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), + (OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), + (OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), + (ACCOUNT_ID, {_sH: _xaebo}), + (ACCOUNT_ID, {_sH: _xasebo}), + ), +) + +COPY_OBJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _COO, + {_smi: None}, + (_COR, _Ex, _CSVI, _VI, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _SSEKMSEC, _BKE, _RC), + ( + (lambda: COPY_OBJECT_RESULT, 16), + (EXPIRATION, {_sH: _xae}), + (lambda: COPY_SOURCE_VERSION_ID, {_sH: _xacsvi}), + (OBJECT_VERSION_ID, {_sH: _xavi}), + (SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (SSEKMS_KEY_ID, {_sH: _xasseakki}), + (SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), + (BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +COPY_OBJECT: StaticOperationSchema = ( + 23, + n0, + _CO, + { + _sCP: MappingProxyType( + {"DisableS3ExpressSessionAuth": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?x-id=CopyObject", "code": 200} + ), + }, + COPY_OBJECT_INPUT, + COPY_OBJECT_OUTPUT, + (lambda: OBJECT_NOT_IN_ACTIVE_TIER_ERROR,), +) + +LAST_MODIFIED: StaticSchema = (4, n0, _LM, 0) + +COPY_OBJECT_RESULT: StaticSchema = ( + 18, + n0, + _COR, + 0, + ( + _ET, + _LM, + _CT, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + ), + ( + (E_TAG, 0), + (LAST_MODIFIED, 0), + (CHECKSUM_TYPE, 0), + (CHECKSUM_CRC32, 0), + (CHECKSUM_CRC32_C, 0), + (CHECKSUM_CRC64_NVME, 0), + (CHECKSUM_SHA1, 0), + (CHECKSUM_SHA256, 0), + (CHECKSUM_SHA512, 0), + (CHECKSUM_MD5, 0), + (CHECKSUM_XXHASH64, 0), + (CHECKSUM_XXHASH3, 0), + (CHECKSUM_XXHASH128, 0), + ), +) + +COPY_SOURCE_VERSION_ID: StaticSchema = (3, n0, _CSVI, 0) + +OBJECT_NOT_IN_ACTIVE_TIER_ERROR: StaticSchema = (18, n0, _ONIATE, {_smit: _c, _sE: 403}) + +BUCKET_ALREADY_EXISTS: StaticSchema = (18, n0, _BAE, {_smit: _c, _sE: 409}) + +BUCKET_ALREADY_OWNED_BY_YOU: StaticSchema = (18, n0, _BAOBY, {_smit: _c, _sE: 409}) + +BUCKET_CANNED_ACL: StaticSchema = ( + 14, + n0, + _BCACL, + 0, + (_p, _pr, _prw, _ar), + ((-1, {_sV: _p}), (-1, {_sV: _pr_}), (-1, {_sV: _prw_}), (-1, {_sV: _ar_})), +) + +BUCKET_NAMESPACE: StaticSchema = ( + 14, + n0, + _BNu, + 0, + (_AR_, _GLOBAL), + ((-1, {_sV: _ar__}), (-1, {_sV: _g})), +) + +DATA_REDUNDANCY: StaticSchema = ( + 14, + n0, + _DR, + 0, + (_SAZ, _SLZ), + ((-1, {_sV: _SAZ}), (-1, {_sV: _SLZ})), +) + +BUCKET_TYPE: StaticSchema = (14, n0, _BT, 0, (_Di,), ((-1, {_sV: _Di}),)) + +BUCKET_INFO: StaticSchema = ( + 18, + n0, + _BI, + 0, + (_DR, _T), + ((DATA_REDUNDANCY, 0), (BUCKET_TYPE, 0)), +) + +LOCATION_NAME_AS_STRING: StaticSchema = (3, n0, _LNAS, 0) + +LOCATION_TYPE: StaticSchema = ( + 14, + n0, + _LT, + 0, + (_AZ, _LZ), + ((-1, {_sV: _AZ}), (-1, {_sV: _LZ})), +) + +LOCATION_INFO: StaticSchema = ( + 18, + n0, + _LI, + 0, + (_T, _N), + ((LOCATION_TYPE, 0), (LOCATION_NAME_AS_STRING, 0)), +) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_1.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_1.py new file mode 100644 index 000000000..66ae9c062 --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_1.py @@ -0,0 +1,1440 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.s3" +_sV = "smithy.api#enumValue" +_AD = "AbortDate" +_sF = "smithy.api#timestampFormat" +_RP = "RequestPayer" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_B = "Bucket" +_sP = "smithy.rules#contextParam" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_K = "Key" +_UI = "UploadId" +_sQ = "smithy.api#httpQuery" +_sH = "smithy.api#httpHeader" +_xarp = "x-amz-request-payer" +_EBO = "ExpectedBucketOwner" +_xaebo = "x-amz-expected-bucket-owner" +_RC = "RequestCharged" +_smi = "smithy.api#output" +_xarc = "x-amz-request-charged" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_smith = "smithy.api#http" +_ARI = "AbortRuleId" +_sN = "smithy.api#xmlName" +_m = "member" +_CT = "ChecksumType" +_SSECA = "SSECustomerAlgorithm" +_SSECK = "SSECustomerKey" +_smithy = "smithy.api#sensitive" +_SSECKMD = "SSECustomerKeyMD5" +_sPm = "smithy.api#httpPayload" +_xact = "x-amz-checksum-type" +_xasseca = "x-amz-server-side-encryption-customer-algorithm" +_xasseck = "x-amz-server-side-encryption-customer-key" +_xasseckM = "x-amz-server-side-encryption-customer-key-MD5" +_BKE = "BucketKeyEnabled" +_Ex = "Expiration" +_L = "Location" +_SSE = "ServerSideEncryption" +_AES = "AES256" +_ak = "aws_kms" +_aws = "aws:kms" +_SSEKMSKI = "SSEKMSKeyId" +_xasse = "x-amz-server-side-encryption" +_xasseakki = "x-amz-server-side-encryption-aws-kms-key-id" +_xassebke = "x-amz-server-side-encryption-bucket-key-enabled" +_CC = "CacheControl" +_CA = "ChecksumAlgorithm" +_CD = "ContentDisposition" +_CE = "ContentEncoding" +_CL = "ContentLanguage" +_CTo = "ContentType" +_Exp = "Expires" +_GFC = "GrantFullControl" +_GR = "GrantRead" +_GRACP = "GrantReadACP" +_GWACP = "GrantWriteACP" +_M = "Metadata" +_OLEH = "ObjectLockEventHold" +_OLEHDD = "ObjectLockEventHoldDurationDays" +_OLEHDY = "ObjectLockEventHoldDurationYears" +_OLLHS = "ObjectLockLegalHoldStatus" +_OLM = "ObjectLockMode" +_OLRUD = "ObjectLockRetainUntilDate" +_dt = "date-time" +_SSEKMSEC = "SSEKMSEncryptionContext" +_SC = "StorageClass" +_WRL = "WebsiteRedirectLocation" +_ACL_ = "ACL" +_xaa = "x-amz-acl" +_CC_ = "Cache-Control" +_xaca = "x-amz-checksum-algorithm" +_CD_ = "Content-Disposition" +_CE_ = "Content-Encoding" +_CL_ = "Content-Language" +_CT_ = "Content-Type" +_xagfc = "x-amz-grant-full-control" +_xagr = "x-amz-grant-read" +_xagra = "x-amz-grant-read-acp" +_xagwa = "x-amz-grant-write-acp" +_sPH = "smithy.api#httpPrefixHeaders" +_xam = "x-amz-meta-" +_xasc = "x-amz-storage-class" +_xawrl = "x-amz-website-redirect-location" +_xassec = "x-amz-server-side-encryption-context" +_Ta = "Tagging" +_xat = "x-amz-tagging" +_xaolm = "x-amz-object-lock-mode" +_xaolrud = "x-amz-object-lock-retain-until-date" +_xaollh = "x-amz-object-lock-legal-hold" +_xaoleh = "x-amz-object-lock-event-hold" +_xaolehdd = "x-amz-object-lock-event-hold-duration-days" +_xaolehdy = "x-amz-object-lock-event-hold-duration-years" +_sCP = "smithy.rules#staticContextParams" +_BNu = "BucketNamespace" +_BLC = "BucketLocationConstraint" +_as = "af_south_1" +_as_ = "af-south-1" +_ae = "ap_east_1" +_ae_ = "ap-east-1" +_ae__ = "ap_east_2" +_ae___ = "ap-east-2" +_an = "ap_northeast_1" +_an_ = "ap-northeast-1" +_an__ = "ap_northeast_2" +_an___ = "ap-northeast-2" +_an____ = "ap_northeast_3" +_an_____ = "ap-northeast-3" +_as__ = "ap_south_1" +_as___ = "ap-south-1" +_as____ = "ap_south_2" +_as_____ = "ap-south-2" +_as______ = "ap_southeast_1" +_as_______ = "ap-southeast-1" +_as________ = "ap_southeast_2" +_as_________ = "ap-southeast-2" +_as__________ = "ap_southeast_3" +_as___________ = "ap-southeast-3" +_as____________ = "ap_southeast_4" +_as_____________ = "ap-southeast-4" +_as______________ = "ap_southeast_5" +_as_______________ = "ap-southeast-5" +_as________________ = "ap_southeast_6" +_as_________________ = "ap-southeast-6" +_as__________________ = "ap_southeast_7" +_as___________________ = "ap-southeast-7" +_cc = "ca_central_1" +_cc_ = "ca-central-1" +_cw = "ca_west_1" +_cw_ = "ca-west-1" +_cn = "cn_north_1" +_cn_ = "cn-north-1" +_cn__ = "cn_northwest_1" +_cn___ = "cn-northwest-1" +_EU = "EU" +_ec = "eu_central_1" +_ec_ = "eu-central-1" +_ec__ = "eu_central_2" +_ec___ = "eu-central-2" +_en = "eu_north_1" +_en_ = "eu-north-1" +_es = "eu_south_1" +_es_ = "eu-south-1" +_es__ = "eu_south_2" +_es___ = "eu-south-2" +_ew = "eu_west_1" +_ew_ = "eu-west-1" +_ew__ = "eu_west_2" +_ew___ = "eu-west-2" +_ew____ = "eu_west_3" +_ew_____ = "eu-west-3" +_ic = "il_central_1" +_ic_ = "il-central-1" +_mc = "me_central_1" +_mc_ = "me-central-1" +_ms = "me_south_1" +_ms_ = "me-south-1" +_mc__ = "mx_central_1" +_mc___ = "mx-central-1" +_se = "sa_east_1" +_se_ = "sa-east-1" +_ue = "us_east_2" +_ue_ = "us-east-2" +_uge = "us_gov_east_1" +_uge_ = "us-gov-east-1" +_ugw = "us_gov_west_1" +_ugw_ = "us-gov-west-1" +_uw = "us_west_1" +_uw_ = "us-west-1" +_uw__ = "us_west_2" +_uw___ = "us-west-2" +_V = "Value" +_Tag = "Tag" +_TS = "TagSet" +_CBC = "CreateBucketConfiguration" +_LC = "LocationConstraint" +_Tags = "Tags" +_GW = "GrantWrite" +_OLEFB = "ObjectLockEnabledForBucket" +_OOb = "ObjectOwnership" +_BOP = "BucketOwnerPreferred" +_OW = "ObjectWriter" +_BOE = "BucketOwnerEnforced" +_CBI = "CreateBucketInput" +_cCBR = "com.amazonaws.s3#CreateBucketRequest" +_xagw = "x-amz-grant-write" +_xabole = "x-amz-bucket-object-lock-enabled" +_xaoo = "x-amz-object-ownership" +_xabn = "x-amz-bucket-namespace" +_CBO = "CreateBucketOutput" +_BA = "BucketArn" +_xaba = "x-amz-bucket-arn" +_CB = "CreateBucket" +_CMDo = "ContentMD5" +_ACS = "AnnotationConfigurationState" +_ENABLED = "ENABLED" +_DISABLED = "DISABLED" +_KKA = "KmsKeyArn" +_TSA = "TableSseAlgorithm" +_MTEC = "MetadataTableEncryptionConfiguration" +_SA = "SseAlgorithm" +_R = "Role" +_ATC = "AnnotationTableConfiguration" +_CSo = "ConfigurationState" +_EC = "EncryptionConfiguration" +_ICS = "InventoryConfigurationState" +_ITC = "InventoryTableConfiguration" +_RED = "RecordExpirationDays" +_ES = "ExpirationState" +_RE = "RecordExpiration" +_Da = "Days" +_JTC = "JournalTableConfiguration" +_MC = "MetadataConfiguration" +_CBMCI = "CreateBucketMetadataConfigurationInput" +_cCBMCR = "com.amazonaws.s3#CreateBucketMetadataConfigurationRequest" +_CM = "Content-MD5" +_xasca = "x-amz-sdk-checksum-algorithm" +_CBMCO = "CreateBucketMetadataConfigurationOutput" +_sU = "smithy.api#Unit" +_CBMC = "CreateBucketMetadataConfiguration" +_aC = "aws.protocols#httpChecksum" +_STBA = "S3TablesBucketArn" +_STN = "S3TablesName" +_STD = "S3TablesDestination" +_TBA = "TableBucketArn" +_TN = "TableName" +_MTC = "MetadataTableConfiguration" +_CBMTCI = "CreateBucketMetadataTableConfigurationInput" +_cCBMTCR = "com.amazonaws.s3#CreateBucketMetadataTableConfigurationRequest" +_CBMTCO = "CreateBucketMetadataTableConfigurationOutput" +_CBMTC = "CreateBucketMetadataTableConfiguration" +_CMUIr = "CreateMultipartUploadInput" +_cCMURo = "com.amazonaws.s3#CreateMultipartUploadRequest" +_CMUOr = "CreateMultipartUploadOutput" +_IMUR = "InitiateMultipartUploadResult" +_xaad = "x-amz-abort-date" +_xaari = "x-amz-abort-rule-id" +_CMUr = "CreateMultipartUpload" +_SM = "SessionMode" +_RO = "ReadOnly" +_RW = "ReadWrite" +_CSI = "CreateSessionInput" +_cCSR = "com.amazonaws.s3#CreateSessionRequest" +_xacsm = "x-amz-create-session-mode" +_SE = "SessionExpiration" +_SCV = "SessionCredentialValue" +_SCe = "SessionCredentials" +_AKI = "AccessKeyId" +_SAK = "SecretAccessKey" +_ST = "SessionToken" +_CSO = "CreateSessionOutput" +_CSR = "CreateSessionResult" +_C = "Credentials" +_CSr = "CreateSession" +_DBI = "DeleteBucketInput" +_cDBR = "com.amazonaws.s3#DeleteBucketRequest" +_DBO = "DeleteBucketOutput" +_DB = "DeleteBucket" +_AIn = "AnalyticsId" +_DBACI = "DeleteBucketAnalyticsConfigurationInput" +_cDBACR = "com.amazonaws.s3#DeleteBucketAnalyticsConfigurationRequest" +_I = "Id" +_i = "id" +_DBACO = "DeleteBucketAnalyticsConfigurationOutput" +_DBAC = "DeleteBucketAnalyticsConfiguration" +_DBCI = "DeleteBucketCorsInput" +_cDBCR = "com.amazonaws.s3#DeleteBucketCorsRequest" +_DBCO = "DeleteBucketCorsOutput" +_DBC = "DeleteBucketCors" +_DBEI = "DeleteBucketEncryptionInput" +_cDBER = "com.amazonaws.s3#DeleteBucketEncryptionRequest" +_DBEO = "DeleteBucketEncryptionOutput" +_DBE = "DeleteBucketEncryption" +_ITI = "IntelligentTieringId" +_DBITCI = "DeleteBucketIntelligentTieringConfigurationInput" +_cDBITCR = "com.amazonaws.s3#DeleteBucketIntelligentTieringConfigurationRequest" +_DBITCO = "DeleteBucketIntelligentTieringConfigurationOutput" +_DBITC = "DeleteBucketIntelligentTieringConfiguration" +_DBICI = "DeleteBucketInventoryConfigurationInput" +_cDBICR = "com.amazonaws.s3#DeleteBucketInventoryConfigurationRequest" +_DBICO = "DeleteBucketInventoryConfigurationOutput" +_DBIC = "DeleteBucketInventoryConfiguration" +_DBLI = "DeleteBucketLifecycleInput" +_cDBLR = "com.amazonaws.s3#DeleteBucketLifecycleRequest" +_DBLO = "DeleteBucketLifecycleOutput" +_DBL = "DeleteBucketLifecycle" +_DBMCI = "DeleteBucketMetadataConfigurationInput" +_cDBMCR = "com.amazonaws.s3#DeleteBucketMetadataConfigurationRequest" +_DBMCO = "DeleteBucketMetadataConfigurationOutput" +_DBMC = "DeleteBucketMetadataConfiguration" +_DBMTCI = "DeleteBucketMetadataTableConfigurationInput" +_cDBMTCR = "com.amazonaws.s3#DeleteBucketMetadataTableConfigurationRequest" +_DBMTCO = "DeleteBucketMetadataTableConfigurationOutput" +_DBMTC = "DeleteBucketMetadataTableConfiguration" +_MI = "MetricsId" +_DBMCIe = "DeleteBucketMetricsConfigurationInput" +_cDBMCRo = "com.amazonaws.s3#DeleteBucketMetricsConfigurationRequest" +_DBMCOe = "DeleteBucketMetricsConfigurationOutput" +_DBMCe = "DeleteBucketMetricsConfiguration" +_DBOCI = "DeleteBucketOwnershipControlsInput" +_cDBOCR = "com.amazonaws.s3#DeleteBucketOwnershipControlsRequest" +_DBOCO = "DeleteBucketOwnershipControlsOutput" +_DBOC = "DeleteBucketOwnershipControls" +_DBPI = "DeleteBucketPolicyInput" +_cDBPR = "com.amazonaws.s3#DeleteBucketPolicyRequest" +_DBPO = "DeleteBucketPolicyOutput" +_DBP = "DeleteBucketPolicy" +_DBRI = "DeleteBucketReplicationInput" +_cDBRR = "com.amazonaws.s3#DeleteBucketReplicationRequest" +_DBRO = "DeleteBucketReplicationOutput" +_DBR = "DeleteBucketReplication" +_Dat = "Date" +_OLT = "ObjectLockToken" +_IR = "InvalidRequest" + +BUCKET_LOCATION_CONSTRAINT: StaticSchema = ( + 14, + n0, + _BLC, + 0, + ( + _as, + _ae, + _ae__, + _an, + _an__, + _an____, + _as__, + _as____, + _as______, + _as________, + _as__________, + _as____________, + _as______________, + _as________________, + _as__________________, + _cc, + _cw, + _cn, + _cn__, + _EU, + _ec, + _ec__, + _en, + _es, + _es__, + _ew, + _ew__, + _ew____, + _ic, + _mc, + _ms, + _mc__, + _se, + _ue, + _uge, + _ugw, + _uw, + _uw__, + ), + ( + (-1, {_sV: _as_}), + (-1, {_sV: _ae_}), + (-1, {_sV: _ae___}), + (-1, {_sV: _an_}), + (-1, {_sV: _an___}), + (-1, {_sV: _an_____}), + (-1, {_sV: _as___}), + (-1, {_sV: _as_____}), + (-1, {_sV: _as_______}), + (-1, {_sV: _as_________}), + (-1, {_sV: _as___________}), + (-1, {_sV: _as_____________}), + (-1, {_sV: _as_______________}), + (-1, {_sV: _as_________________}), + (-1, {_sV: _as___________________}), + (-1, {_sV: _cc_}), + (-1, {_sV: _cw_}), + (-1, {_sV: _cn_}), + (-1, {_sV: _cn___}), + (-1, {_sV: _EU}), + (-1, {_sV: _ec_}), + (-1, {_sV: _ec___}), + (-1, {_sV: _en_}), + (-1, {_sV: _es_}), + (-1, {_sV: _es___}), + (-1, {_sV: _ew_}), + (-1, {_sV: _ew___}), + (-1, {_sV: _ew_____}), + (-1, {_sV: _ic_}), + (-1, {_sV: _mc_}), + (-1, {_sV: _ms_}), + (-1, {_sV: _mc___}), + (-1, {_sV: _se_}), + (-1, {_sV: _ue_}), + (-1, {_sV: _uge_}), + (-1, {_sV: _ugw_}), + (-1, {_sV: _uw_}), + (-1, {_sV: _uw___}), + ), +) + +VALUE: StaticSchema = (3, n0, _V, 0) + +TAG: StaticSchema = ( + 18, + n0, + _Tag, + 0, + (_K, _V), + ((lambda: schemas.OBJECT_KEY, 1), (VALUE, 1)), +) + +TAG_SET: StaticSchema = (16, n0, _TS, 0, (_m,), ((TAG, {_sN: _Tag}),)) + +CREATE_BUCKET_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CBC, + 0, + (_LC, _L, _B, _Tags), + ( + (BUCKET_LOCATION_CONSTRAINT, 0), + (lambda: schemas.LOCATION_INFO, 0), + (lambda: schemas.BUCKET_INFO, 0), + (TAG_SET, 0), + ), +) + +GRANT_WRITE: StaticSchema = (3, n0, _GW, 0) + +OBJECT_LOCK_ENABLED_FOR_BUCKET: StaticSchema = (2, n0, _OLEFB, 0) + +OBJECT_OWNERSHIP: StaticSchema = ( + 14, + n0, + _OOb, + 0, + (_BOP, _OW, _BOE), + ((-1, {_sV: _BOP}), (-1, {_sV: _OW}), (-1, {_sV: _BOE})), +) + +CREATE_BUCKET_INPUT: StaticSchema = ( + 18, + n0, + _CBI, + {_sSI: _cCBR, _s: None}, + (_ACL_, _B, _CBC, _GFC, _GR, _GRACP, _GW, _GWACP, _OLEFB, _OOb, _BNu), + ( + (lambda: schemas.BUCKET_CANNED_ACL, {_sH: _xaa}), + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (CREATE_BUCKET_CONFIGURATION, {_sN: _CBC, _sPm: None}), + (lambda: schemas.GRANT_FULL_CONTROL, {_sH: _xagfc}), + (lambda: schemas.GRANT_READ, {_sH: _xagr}), + (lambda: schemas.GRANT_READ_ACP, {_sH: _xagra}), + (GRANT_WRITE, {_sH: _xagw}), + (lambda: schemas.GRANT_WRITE_ACP, {_sH: _xagwa}), + (OBJECT_LOCK_ENABLED_FOR_BUCKET, {_sH: _xabole}), + (OBJECT_OWNERSHIP, {_sH: _xaoo}), + (lambda: schemas.BUCKET_NAMESPACE, {_sH: _xabn}), + ), +) + +CREATE_BUCKET_OUTPUT: StaticSchema = ( + 18, + n0, + _CBO, + {_smi: None}, + (_L, _BA), + ( + (lambda: schemas.LOCATION, {_sH: _L}), + (lambda: schemas.S3_REGIONAL_OR_S3_EXPRESS_BUCKET_ARN_STRING, {_sH: _xaba}), + ), +) + +CREATE_BUCKET: StaticOperationSchema = ( + 23, + n0, + _CB, + { + _sCP: MappingProxyType( + { + "UseS3ExpressControlEndpoint": MappingProxyType({"value": True}), + "DisableAccessPoints": MappingProxyType({"value": True}), + } + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/", "code": 200}), + }, + CREATE_BUCKET_INPUT, + CREATE_BUCKET_OUTPUT, + ( + lambda: schemas.BUCKET_ALREADY_EXISTS, + lambda: schemas.BUCKET_ALREADY_OWNED_BY_YOU, + ), +) + +CONTENT_MD5: StaticSchema = (3, n0, _CMDo, 0) + +ANNOTATION_CONFIGURATION_STATE: StaticSchema = ( + 14, + n0, + _ACS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +KMS_KEY_ARN: StaticSchema = (3, n0, _KKA, 0) + +TABLE_SSE_ALGORITHM: StaticSchema = ( + 14, + n0, + _TSA, + 0, + (_ak, _AES), + ((-1, {_sV: _aws}), (-1, {_sV: _AES})), +) + +METADATA_TABLE_ENCRYPTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MTEC, + 0, + (_SA, _KKA), + ((TABLE_SSE_ALGORITHM, 1), (KMS_KEY_ARN, 0)), +) + +ROLE: StaticSchema = (3, n0, _R, 0) + +ANNOTATION_TABLE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ATC, + 0, + (_CSo, _EC, _R), + ( + (ANNOTATION_CONFIGURATION_STATE, 1), + (METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0), + (ROLE, 0), + ), +) + +INVENTORY_CONFIGURATION_STATE: StaticSchema = ( + 14, + n0, + _ICS, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +INVENTORY_TABLE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ITC, + 0, + (_CSo, _EC), + ((INVENTORY_CONFIGURATION_STATE, 1), (METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0)), +) + +RECORD_EXPIRATION_DAYS: StaticSchema = (7, n0, _RED, 0) + +EXPIRATION_STATE: StaticSchema = ( + 14, + n0, + _ES, + 0, + (_ENABLED, _DISABLED), + ((-1, {_sV: _ENABLED}), (-1, {_sV: _DISABLED})), +) + +RECORD_EXPIRATION: StaticSchema = ( + 18, + n0, + _RE, + 0, + (_Ex, _Da), + ((EXPIRATION_STATE, 1), (RECORD_EXPIRATION_DAYS, 0)), +) + +JOURNAL_TABLE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _JTC, + 0, + (_RE, _EC), + ((RECORD_EXPIRATION, 1), (METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0)), +) + +METADATA_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MC, + 0, + (_JTC, _ITC, _ATC), + ( + (JOURNAL_TABLE_CONFIGURATION, 1), + (INVENTORY_TABLE_CONFIGURATION, 0), + (ANNOTATION_TABLE_CONFIGURATION, 0), + ), +) + +CREATE_BUCKET_METADATA_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _CBMCI, + {_sSI: _cCBMCR, _s: None}, + (_B, _CMDo, _CA, _MC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (METADATA_CONFIGURATION, {_sN: _MC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +CREATE_BUCKET_METADATA_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CBMCO, + {_sSI: _sU, _smi: None}, +) + +CREATE_BUCKET_METADATA_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _CBMC, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "POST", "uri": "/?metadataConfiguration", "code": 200} + ), + }, + CREATE_BUCKET_METADATA_CONFIGURATION_INPUT, + CREATE_BUCKET_METADATA_CONFIGURATION_OUTPUT, + (), +) + +S3_TABLES_BUCKET_ARN: StaticSchema = (3, n0, _STBA, 0) + +S3_TABLES_NAME: StaticSchema = (3, n0, _STN, 0) + +S3_TABLES_DESTINATION: StaticSchema = ( + 18, + n0, + _STD, + 0, + (_TBA, _TN), + ((S3_TABLES_BUCKET_ARN, 1), (S3_TABLES_NAME, 1)), +) + +METADATA_TABLE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MTC, + 0, + (_STD,), + ((S3_TABLES_DESTINATION, 1),), +) + +CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _CBMTCI, + {_sSI: _cCBMTCR, _s: None}, + (_B, _CMDo, _CA, _MTC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (METADATA_TABLE_CONFIGURATION, {_sN: _MTC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CBMTCO, + {_sSI: _sU, _smi: None}, +) + +CREATE_BUCKET_METADATA_TABLE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _CBMTC, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "POST", "uri": "/?metadataTable", "code": 200} + ), + }, + CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT, + CREATE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT, + (), +) + +CREATE_MULTIPART_UPLOAD_INPUT: StaticSchema = ( + 18, + n0, + _CMUIr, + {_sSI: _cCMURo, _s: None}, + ( + _ACL_, + _B, + _CC, + _CD, + _CE, + _CL, + _CTo, + _Exp, + _GFC, + _GR, + _GRACP, + _GWACP, + _K, + _M, + _SSE, + _SC, + _WRL, + _SSECA, + _SSECK, + _SSECKMD, + _SSEKMSKI, + _SSEKMSEC, + _BKE, + _RP, + _Ta, + _OLM, + _OLRUD, + _OLLHS, + _OLEH, + _OLEHDD, + _OLEHDY, + _EBO, + _CA, + _CT, + ), + ( + (lambda: schemas.OBJECT_CANNED_ACL, {_sH: _xaa}), + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CACHE_CONTROL, {_sH: _CC_}), + (lambda: schemas.CONTENT_DISPOSITION, {_sH: _CD_}), + (lambda: schemas.CONTENT_ENCODING, {_sH: _CE_}), + (lambda: schemas.CONTENT_LANGUAGE, {_sH: _CL_}), + (lambda: schemas.CONTENT_TYPE, {_sH: _CT_}), + (lambda: schemas.EXPIRES, {_sH: _Exp}), + (lambda: schemas.GRANT_FULL_CONTROL, {_sH: _xagfc}), + (lambda: schemas.GRANT_READ, {_sH: _xagr}), + (lambda: schemas.GRANT_READ_ACP, {_sH: _xagra}), + (lambda: schemas.GRANT_WRITE_ACP, {_sH: _xagwa}), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (lambda: schemas.METADATA, {_sPH: _xam}), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.STORAGE_CLASS, {_sH: _xasc}), + (lambda: schemas.WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.TAGGING_HEADER, {_sH: _xat}), + (lambda: schemas.OBJECT_LOCK_MODE, {_sH: _xaolm}), + (lambda: schemas.OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), + (lambda: schemas.OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xaca}), + (lambda: schemas.CHECKSUM_TYPE, {_sH: _xact}), + ), +) + +CREATE_MULTIPART_UPLOAD_OUTPUT: StaticSchema = ( + 18, + n0, + _CMUOr, + {_sN: _IMUR, _smi: None}, + ( + _AD, + _ARI, + _B, + _K, + _UI, + _SSE, + _SSECA, + _SSECKMD, + _SSEKMSKI, + _SSEKMSEC, + _BKE, + _RC, + _CA, + _CT, + ), + ( + (lambda: schemas.ABORT_DATE, {_sH: _xaad}), + (lambda: schemas.ABORT_RULE_ID, {_sH: _xaari}), + (lambda: schemas.BUCKET_NAME, {_sN: _B}), + (lambda: schemas.OBJECT_KEY, 0), + (lambda: schemas.MULTIPART_UPLOAD_ID, 0), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xaca}), + (lambda: schemas.CHECKSUM_TYPE, {_sH: _xact}), + ), +) + +CREATE_MULTIPART_UPLOAD: StaticOperationSchema = ( + 23, + n0, + _CMUr, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/{Key+}?uploads", "code": 200} + ) + }, + CREATE_MULTIPART_UPLOAD_INPUT, + CREATE_MULTIPART_UPLOAD_OUTPUT, + (), +) + +SESSION_MODE: StaticSchema = ( + 14, + n0, + _SM, + 0, + (_RO, _RW), + ((-1, {_sV: _RO}), (-1, {_sV: _RW})), +) + +CREATE_SESSION_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_sSI: _cCSR, _s: None}, + (_SM, _B, _SSE, _SSEKMSKI, _SSEKMSEC, _BKE), + ( + (SESSION_MODE, {_sH: _xacsm}), + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + ), +) + +CREATE_SESSION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_sN: _CSR, _smi: None}, + (_SSE, _SSEKMSKI, _SSEKMSEC, _BKE, _C), + ( + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (lambda: SESSION_CREDENTIALS, {_sN: _C, _sm: None}), + ), +) + +CREATE_SESSION: StaticOperationSchema = ( + 23, + n0, + _CSr, + { + _sCP: MappingProxyType( + {"DisableS3ExpressSessionAuth": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?session", "code": 200}), + }, + CREATE_SESSION_INPUT, + CREATE_SESSION_OUTPUT, + (lambda: schemas.NO_SUCH_BUCKET,), +) + +SESSION_EXPIRATION: StaticSchema = (4, n0, _SE, 0) + +SESSION_CREDENTIAL_VALUE: StaticSchema = (3, n0, _SCV, 4) + +SESSION_CREDENTIALS: StaticSchema = ( + 18, + n0, + _SCe, + 0, + (_AKI, _SAK, _ST, _Ex), + ( + (lambda: schemas.ACCESS_KEY_ID_VALUE, {_sN: _AKI, _sm: None}), + (SESSION_CREDENTIAL_VALUE, {_sN: _SAK, _sm: None}), + (SESSION_CREDENTIAL_VALUE, {_sN: _ST, _sm: None}), + (SESSION_EXPIRATION, {_sN: _Ex, _sm: None}), + ), +) + +DELETE_BUCKET_INPUT: StaticSchema = ( + 18, + n0, + _DBI, + {_sSI: _cDBR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_OUTPUT: StaticSchema = (18, n0, _DBO, {_sSI: _sU, _smi: None}) + +DELETE_BUCKET: StaticOperationSchema = ( + 23, + n0, + _DB, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "DELETE", "uri": "/", "code": 204}), + }, + DELETE_BUCKET_INPUT, + DELETE_BUCKET_OUTPUT, + (), +) + +ANALYTICS_ID: StaticSchema = (3, n0, _AIn, 0) + +DELETE_BUCKET_ANALYTICS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DBACI, + {_sSI: _cDBACR, _s: None}, + (_B, _I, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (ANALYTICS_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DBACO, + {_sSI: _sU, _smi: None}, +) + +DELETE_BUCKET_ANALYTICS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DBAC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?analytics", "code": 204} + ), + }, + DELETE_BUCKET_ANALYTICS_CONFIGURATION_INPUT, + DELETE_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT, + (), +) + +DELETE_BUCKET_CORS_INPUT: StaticSchema = ( + 18, + n0, + _DBCI, + {_sSI: _cDBCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_CORS_OUTPUT: StaticSchema = (18, n0, _DBCO, {_sSI: _sU, _smi: None}) + +DELETE_BUCKET_CORS: StaticOperationSchema = ( + 23, + n0, + _DBC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "DELETE", "uri": "/?cors", "code": 204}), + }, + DELETE_BUCKET_CORS_INPUT, + DELETE_BUCKET_CORS_OUTPUT, + (), +) + +DELETE_BUCKET_ENCRYPTION_INPUT: StaticSchema = ( + 18, + n0, + _DBEI, + {_sSI: _cDBER, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_ENCRYPTION_OUTPUT: StaticSchema = (18, n0, _DBEO, {_sSI: _sU, _smi: None}) + +DELETE_BUCKET_ENCRYPTION: StaticOperationSchema = ( + 23, + n0, + _DBE, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?encryption", "code": 204} + ), + }, + DELETE_BUCKET_ENCRYPTION_INPUT, + DELETE_BUCKET_ENCRYPTION_OUTPUT, + (), +) + +INTELLIGENT_TIERING_ID: StaticSchema = (3, n0, _ITI, 0) + +DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DBITCI, + {_sSI: _cDBITCR, _s: None}, + (_B, _I, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (INTELLIGENT_TIERING_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DBITCO, + {_sSI: _sU, _smi: None}, +) + +DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DBITC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?intelligent-tiering", "code": 204} + ), + }, + DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT, + DELETE_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT, + (), +) + +DELETE_BUCKET_INVENTORY_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DBICI, + {_sSI: _cDBICR, _s: None}, + (_B, _I, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.INVENTORY_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_INVENTORY_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DBICO, + {_sSI: _sU, _smi: None}, +) + +DELETE_BUCKET_INVENTORY_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DBIC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?inventory", "code": 204} + ), + }, + DELETE_BUCKET_INVENTORY_CONFIGURATION_INPUT, + DELETE_BUCKET_INVENTORY_CONFIGURATION_OUTPUT, + (), +) + +DELETE_BUCKET_LIFECYCLE_INPUT: StaticSchema = ( + 18, + n0, + _DBLI, + {_sSI: _cDBLR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_LIFECYCLE_OUTPUT: StaticSchema = (18, n0, _DBLO, {_sSI: _sU, _smi: None}) + +DELETE_BUCKET_LIFECYCLE: StaticOperationSchema = ( + 23, + n0, + _DBL, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?lifecycle", "code": 204} + ), + }, + DELETE_BUCKET_LIFECYCLE_INPUT, + DELETE_BUCKET_LIFECYCLE_OUTPUT, + (), +) + +DELETE_BUCKET_METADATA_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DBMCI, + {_sSI: _cDBMCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_METADATA_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DBMCO, + {_sSI: _sU, _smi: None}, +) + +DELETE_BUCKET_METADATA_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DBMC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?metadataConfiguration", "code": 204} + ), + }, + DELETE_BUCKET_METADATA_CONFIGURATION_INPUT, + DELETE_BUCKET_METADATA_CONFIGURATION_OUTPUT, + (), +) + +DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DBMTCI, + {_sSI: _cDBMTCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DBMTCO, + {_sSI: _sU, _smi: None}, +) + +DELETE_BUCKET_METADATA_TABLE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DBMTC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?metadataTable", "code": 204} + ), + }, + DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT, + DELETE_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT, + (), +) + +METRICS_ID: StaticSchema = (3, n0, _MI, 0) + +DELETE_BUCKET_METRICS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DBMCIe, + {_sSI: _cDBMCRo, _s: None}, + (_B, _I, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (METRICS_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_METRICS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DBMCOe, + {_sSI: _sU, _smi: None}, +) + +DELETE_BUCKET_METRICS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DBMCe, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "DELETE", "uri": "/?metrics", "code": 204}), + }, + DELETE_BUCKET_METRICS_CONFIGURATION_INPUT, + DELETE_BUCKET_METRICS_CONFIGURATION_OUTPUT, + (), +) + +DELETE_BUCKET_OWNERSHIP_CONTROLS_INPUT: StaticSchema = ( + 18, + n0, + _DBOCI, + {_sSI: _cDBOCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_OWNERSHIP_CONTROLS_OUTPUT: StaticSchema = ( + 18, + n0, + _DBOCO, + {_sSI: _sU, _smi: None}, +) + +DELETE_BUCKET_OWNERSHIP_CONTROLS: StaticOperationSchema = ( + 23, + n0, + _DBOC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?ownershipControls", "code": 204} + ), + }, + DELETE_BUCKET_OWNERSHIP_CONTROLS_INPUT, + DELETE_BUCKET_OWNERSHIP_CONTROLS_OUTPUT, + (), +) + +DELETE_BUCKET_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DBPI, + {_sSI: _cDBPR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_POLICY_OUTPUT: StaticSchema = (18, n0, _DBPO, {_sSI: _sU, _smi: None}) + +DELETE_BUCKET_POLICY: StaticOperationSchema = ( + 23, + n0, + _DBP, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "DELETE", "uri": "/?policy", "code": 204}), + }, + DELETE_BUCKET_POLICY_INPUT, + DELETE_BUCKET_POLICY_OUTPUT, + (), +) + +DELETE_BUCKET_REPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _DBRI, + {_sSI: _cDBRR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_REPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DBRO, + {_sSI: _sU, _smi: None}, +) + +DELETE_BUCKET_REPLICATION: StaticOperationSchema = ( + 23, + n0, + _DBR, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?replication", "code": 204} + ), + }, + DELETE_BUCKET_REPLICATION_INPUT, + DELETE_BUCKET_REPLICATION_OUTPUT, + (), +) + +DATE: StaticSchema = (4, n0, _Dat, {_sF: _dt}) + +DAYS: StaticSchema = (7, n0, _Da, 0) + +OBJECT_LOCK_TOKEN: StaticSchema = (3, n0, _OLT, 0) + +INVALID_REQUEST: StaticSchema = (18, n0, _IR, {_smit: _c, _sE: 400}) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_2.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_2.py new file mode 100644 index 000000000..d725d6ed2 --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_2.py @@ -0,0 +1,1485 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.s3" +_E = "Enabled" +_sV = "smithy.api#enumValue" +_D = "Disabled" +_AS = "AbacStatus" +_S = "Status" +_AI = "AccountId" +_sF = "smithy.api#timestampFormat" +_hd = "http-date" +_RP = "RequestPayer" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_B = "Bucket" +_sP = "smithy.rules#contextParam" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_K = "Key" +_sQ = "smithy.api#httpQuery" +_sH = "smithy.api#httpHeader" +_xarp = "x-amz-request-payer" +_EBO = "ExpectedBucketOwner" +_xaebo = "x-amz-expected-bucket-owner" +_RC = "RequestCharged" +_smi = "smithy.api#output" +_xarc = "x-amz-request-charged" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_smith = "smithy.api#http" +_AC = "AccelerateConfiguration" +_DN = "DisplayName" +_ID = "ID" +_sN = "smithy.api#xmlName" +_Gran = "Grants" +_m = "member" +_O = "Owner" +_ACP = "AccessControlPolicy" +_ACL = "AccessControlList" +_De = "Destination" +_AH = "AllowedHeader" +_AHl = "AllowedHeaders" +_AM = "AllowedMethod" +_AMl = "AllowedMethods" +_AO = "AllowedOrigin" +_AOl = "AllowedOrigins" +_IM = "IfMatch" +_ET = "ETag" +_sFm = "smithy.api#xmlFlattened" +_sPm = "smithy.api#httpPayload" +_IM_ = "If-Match" +_BKE = "BucketKeyEnabled" +_OVI = "ObjectVersionId" +_VI = "VersionId" +_xavi = "x-amz-version-id" +_CA = "ChecksumAlgorithm" +_OLLHS = "ObjectLockLegalHoldStatus" +_OLM = "ObjectLockMode" +_OLRUD = "ObjectLockRetainUntilDate" +_SC = "StorageClass" +_sCP = "smithy.rules#staticContextParams" +_Tag = "Tag" +_Tags = "Tags" +_Da = "Days" +_xasca = "x-amz-sdk-checksum-algorithm" +_sU = "smithy.api#Unit" +_aC = "aws.protocols#httpChecksum" +_NSB = "NoSuchBucket" +_I = "Id" +_i = "id" +_II = "InventoryId" +_DBTI = "DeleteBucketTaggingInput" +_cDBTR = "com.amazonaws.s3#DeleteBucketTaggingRequest" +_DBTO = "DeleteBucketTaggingOutput" +_DBT = "DeleteBucketTagging" +_DBWI = "DeleteBucketWebsiteInput" +_cDBWR = "com.amazonaws.s3#DeleteBucketWebsiteRequest" +_DBWO = "DeleteBucketWebsiteOutput" +_DBW = "DeleteBucketWebsite" +_BGR = "BypassGovernanceRetention" +_IMLMT = "IfMatchLastModifiedTime" +_IMS = "IfMatchSize" +_MFA = "MFA" +_DOI = "DeleteObjectInput" +_cDOR = "com.amazonaws.s3#DeleteObjectRequest" +_xam_ = "x-amz-mfa" +_vI = "versionId" +_xabgr = "x-amz-bypass-governance-retention" +_xaimlmt = "x-amz-if-match-last-modified-time" +_xaims = "x-amz-if-match-size" +_DM = "DeleteMarker" +_DOO = "DeleteObjectOutput" +_xadm = "x-amz-delete-marker" +_DO = "DeleteObject" +_AN = "AnnotationName" +_OIM = "ObjectIfMatch" +_DOAI = "DeleteObjectAnnotationInput" +_cDOAR = "com.amazonaws.s3#DeleteObjectAnnotationRequest" +_aN = "annotationName" +_xaoim = "x-amz-object-if-match" +_DOAO = "DeleteObjectAnnotationOutput" +_xaovi = "x-amz-object-version-id" +_NSK = "NoSuchKey" +_DOA = "DeleteObjectAnnotation" +_LMT = "LastModifiedTime" +_Si = "Size" +_OIb = "ObjectIdentifier" +_OIL = "ObjectIdentifierList" +_Q = "Quiet" +_Del = "Delete" +_Ob = "Objects" +_Obj = "Object" +_DOIe = "DeleteObjectsInput" +_cDORo = "com.amazonaws.s3#DeleteObjectsRequest" +_DMVI = "DeleteMarkerVersionId" +_DOe = "DeletedObject" +_DOel = "DeletedObjects" +_Co = "Code" +_Me = "Message" +_Er = "Error" +_Err = "Errors" +_DOOe = "DeleteObjectsOutput" +_DRe = "DeleteResult" +_Dele = "Deleted" +_DOele = "DeleteObjects" +_DOTI = "DeleteObjectTaggingInput" +_cDOTR = "com.amazonaws.s3#DeleteObjectTaggingRequest" +_DOTO = "DeleteObjectTaggingOutput" +_DOT = "DeleteObjectTagging" +_DPABI = "DeletePublicAccessBlockInput" +_cDPABR = "com.amazonaws.s3#DeletePublicAccessBlockRequest" +_DPABO = "DeletePublicAccessBlockOutput" +_DPAB = "DeletePublicAccessBlock" +_GBAI = "GetBucketAbacInput" +_cGBAR = "com.amazonaws.s3#GetBucketAbacRequest" +_GBAO = "GetBucketAbacOutput" +_GBA = "GetBucketAbac" +_GBACI = "GetBucketAccelerateConfigurationInput" +_cGBACR = "com.amazonaws.s3#GetBucketAccelerateConfigurationRequest" +_GBACO = "GetBucketAccelerateConfigurationOutput" +_GBAC = "GetBucketAccelerateConfiguration" +_GBAIe = "GetBucketAclInput" +_cGBARo = "com.amazonaws.s3#GetBucketAclRequest" +_GBAOe = "GetBucketAclOutput" +_GBAe = "GetBucketAcl" +_GBACIe = "GetBucketAnalyticsConfigurationInput" +_cGBACRo = "com.amazonaws.s3#GetBucketAnalyticsConfigurationRequest" +_Pr = "Prefix" +_AAO = "AnalyticsAndOperator" +_AF = "AnalyticsFilter" +_A = "And" +_ASEFF = "AnalyticsS3ExportFileFormat" +_CSV = "CSV" +_ASBD = "AnalyticsS3BucketDestination" +_F = "Format" +_BAI = "BucketAccountId" +_AED = "AnalyticsExportDestination" +_SBD = "S3BucketDestination" +_SCASV = "StorageClassAnalysisSchemaVersion" +_V_ = "V_1" +_SCADE = "StorageClassAnalysisDataExport" +_OSV = "OutputSchemaVersion" +_SCA = "StorageClassAnalysis" +_DE = "DataExport" +_ACn = "AnalyticsConfiguration" +_Fi = "Filter" +_GBACOe = "GetBucketAnalyticsConfigurationOutput" +_GBACe = "GetBucketAnalyticsConfiguration" +_GBCI = "GetBucketCorsInput" +_cGBCR = "com.amazonaws.s3#GetBucketCorsRequest" +_EH = "ExposeHeader" +_EHx = "ExposeHeaders" +_MAS = "MaxAgeSeconds" +_CORSR = "CORSRule" +_CORSRu = "CORSRules" +_GBCO = "GetBucketCorsOutput" +_CORSC = "CORSConfiguration" +_GBC = "GetBucketCors" +_GBEI = "GetBucketEncryptionInput" +_cGBER = "com.amazonaws.s3#GetBucketEncryptionRequest" +_SSEBD = "ServerSideEncryptionByDefault" +_SSEA = "SSEAlgorithm" +_KMSMKID = "KMSMasterKeyID" +_ETn = "EncryptionType" +_NONE = "NONE" +_SC_ = "SSE_C" +_SC__ = "SSE-C" +_ETL = "EncryptionTypeList" +_BET = "BlockedEncryptionTypes" +_SSER = "ServerSideEncryptionRule" +_ASSEBD = "ApplyServerSideEncryptionByDefault" +_SSERe = "ServerSideEncryptionRules" +_SSEC = "ServerSideEncryptionConfiguration" +_Ru = "Rules" +_Rul = "Rule" +_GBEO = "GetBucketEncryptionOutput" +_GBE = "GetBucketEncryption" +_GBITCI = "GetBucketIntelligentTieringConfigurationInput" +_cGBITCR = "com.amazonaws.s3#GetBucketIntelligentTieringConfigurationRequest" +_ITAO = "IntelligentTieringAndOperator" +_ITF = "IntelligentTieringFilter" +_ITS = "IntelligentTieringStatus" +_ITAT = "IntelligentTieringAccessTier" +_AA = "ARCHIVE_ACCESS" +_DAA = "DEEP_ARCHIVE_ACCESS" +_ITD = "IntelligentTieringDays" +_Ti = "Tiering" +_AT = "AccessTier" +_TL = "TieringList" +_ITCn = "IntelligentTieringConfiguration" +_Tie = "Tierings" +_GBITCO = "GetBucketIntelligentTieringConfigurationOutput" +_GBITC = "GetBucketIntelligentTieringConfiguration" +_GBICI = "GetBucketInventoryConfigurationInput" +_cGBICR = "com.amazonaws.s3#GetBucketInventoryConfigurationRequest" +_SSEKMS = "SSEKMS" +_SK = "SSE-KMS" +_KI = "KeyId" +_SSES = "SSES3" +_SS = "SSE-S3" +_IE = "InventoryEncryption" +_IF = "InventoryFormat" +_ORC = "ORC" +_Parq = "Parquet" +_ISBD = "InventoryS3BucketDestination" +_En = "Encryption" +_IDn = "InventoryDestination" +_IFn = "InventoryFilter" +_IIOV = "InventoryIncludedObjectVersions" +_Al = "All" +_Cu = "Current" +_IEs = "IsEnabled" +_IOF = "InventoryOptionalField" +_LMD = "LastModifiedDate" +_IMU = "IsMultipartUploaded" +_RS = "ReplicationStatus" +_ESn = "EncryptionStatus" +_OLEHS = "ObjectLockEventHoldStatus" +_OLEHD = "ObjectLockEventHoldDuration" +_BKS = "BucketKeyStatus" +_OACL = "ObjectAccessControlList" +_OObj = "ObjectOwner" +_LED = "LifecycleExpirationDate" +_ITRD = "IntelligentTieringReferenceDate" +_IOFn = "InventoryOptionalFields" +_Fie = "Field" +_IFnv = "InventoryFrequency" +_Dai = "Daily" +_W = "Weekly" +_IS = "InventorySchedule" +_Fr = "Frequency" +_IC = "InventoryConfiguration" +_IOV = "IncludedObjectVersions" +_OF = "OptionalFields" +_Sc = "Schedule" +_GBICO = "GetBucketInventoryConfigurationOutput" +_GBIC = "GetBucketInventoryConfiguration" +_GBLCI = "GetBucketLifecycleConfigurationInput" +_cGBLCR = "com.amazonaws.s3#GetBucketLifecycleConfigurationRequest" +_Dat = "Date" +_EODM = "ExpiredObjectDeleteMarker" +_LE = "LifecycleExpiration" +_TDMOS = "TransitionDefaultMinimumObjectSize" +_GBLCO = "GetBucketLifecycleConfigurationOutput" +_LCi = "LifecycleConfiguration" +_xatdmos = "x-amz-transition-default-minimum-object-size" +_GBLC = "GetBucketLifecycleConfiguration" +_COMPLETE = "COMPLETE" +_PENDING = "PENDING" +_FAILED = "FAILED" +_REPLICA = "REPLICA" +_COMPLETED = "COMPLETED" +_ITs = "IsTruncated" +_Ini = "Initiator" + +NO_SUCH_BUCKET: StaticSchema = (18, n0, _NSB, {_smit: _c, _sE: 404}) + +INVENTORY_ID: StaticSchema = (3, n0, _II, 0) + +DELETE_BUCKET_TAGGING_INPUT: StaticSchema = ( + 18, + n0, + _DBTI, + {_sSI: _cDBTR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_TAGGING_OUTPUT: StaticSchema = (18, n0, _DBTO, {_sSI: _sU, _smi: None}) + +DELETE_BUCKET_TAGGING: StaticOperationSchema = ( + 23, + n0, + _DBT, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "DELETE", "uri": "/?tagging", "code": 204}), + }, + DELETE_BUCKET_TAGGING_INPUT, + DELETE_BUCKET_TAGGING_OUTPUT, + (), +) + +DELETE_BUCKET_WEBSITE_INPUT: StaticSchema = ( + 18, + n0, + _DBWI, + {_sSI: _cDBWR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_BUCKET_WEBSITE_OUTPUT: StaticSchema = (18, n0, _DBWO, {_sSI: _sU, _smi: None}) + +DELETE_BUCKET_WEBSITE: StaticOperationSchema = ( + 23, + n0, + _DBW, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "DELETE", "uri": "/?website", "code": 204}), + }, + DELETE_BUCKET_WEBSITE_INPUT, + DELETE_BUCKET_WEBSITE_OUTPUT, + (), +) + +BYPASS_GOVERNANCE_RETENTION: StaticSchema = (2, n0, _BGR, 0) + +IF_MATCH_LAST_MODIFIED_TIME: StaticSchema = (4, n0, _IMLMT, {_sF: _hd}) + +IF_MATCH_SIZE: StaticSchema = (8, n0, _IMS, 0) + +MFA: StaticSchema = (3, n0, _MFA, 0) + +DELETE_OBJECT_INPUT: StaticSchema = ( + 18, + n0, + _DOI, + {_sSI: _cDOR, _s: None}, + (_B, _K, _MFA, _VI, _RP, _BGR, _EBO, _IM, _IMLMT, _IMS), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (MFA, {_sH: _xam_}), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (BYPASS_GOVERNANCE_RETENTION, {_sH: _xabgr}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.IF_MATCH, {_sH: _IM_}), + (IF_MATCH_LAST_MODIFIED_TIME, {_sH: _xaimlmt}), + (IF_MATCH_SIZE, {_sH: _xaims}), + ), +) + +DELETE_OBJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _DOO, + {_smi: None}, + (_DM, _VI, _RC), + ( + (lambda: DELETE_MARKER, {_sH: _xadm}), + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xavi}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +DELETE_OBJECT: StaticOperationSchema = ( + 23, + n0, + _DO, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/{Key+}?x-id=DeleteObject", "code": 204} + ) + }, + DELETE_OBJECT_INPUT, + DELETE_OBJECT_OUTPUT, + (), +) + +DELETE_MARKER: StaticSchema = (2, n0, _DM, 0) + +ANNOTATION_NAME: StaticSchema = (3, n0, _AN, 0) + +OBJECT_IF_MATCH: StaticSchema = (3, n0, _OIM, 0) + +DELETE_OBJECT_ANNOTATION_INPUT: StaticSchema = ( + 18, + n0, + _DOAI, + {_sSI: _cDOAR, _s: None}, + (_B, _K, _AN, _VI, _RP, _EBO, _OIM), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (ANNOTATION_NAME, {_sQ: _aN, _sm: None}), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (OBJECT_IF_MATCH, {_sH: _xaoim}), + ), +) + +DELETE_OBJECT_ANNOTATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DOAO, + {_smi: None}, + (_OVI, _RC), + ( + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xaovi}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +DELETE_OBJECT_ANNOTATION: StaticOperationSchema = ( + 23, + n0, + _DOA, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/{Key+}?annotation", "code": 204} + ) + }, + DELETE_OBJECT_ANNOTATION_INPUT, + DELETE_OBJECT_ANNOTATION_OUTPUT, + (NO_SUCH_BUCKET, lambda: NO_SUCH_KEY), +) + +NO_SUCH_KEY: StaticSchema = (18, n0, _NSK, {_smit: _c, _sE: 404}) + +LAST_MODIFIED_TIME: StaticSchema = (4, n0, _LMT, {_sF: _hd}) + +SIZE: StaticSchema = (8, n0, _Si, 0) + +OBJECT_IDENTIFIER: StaticSchema = ( + 18, + n0, + _OIb, + 0, + (_K, _VI, _ET, _LMT, _Si), + ( + (lambda: schemas.OBJECT_KEY, 1), + (lambda: schemas.OBJECT_VERSION_ID, 0), + (lambda: schemas.E_TAG, 0), + (LAST_MODIFIED_TIME, 0), + (SIZE, 0), + ), +) + +OBJECT_IDENTIFIER_LIST: StaticSchema = ( + 16, + n0, + _OIL, + 0, + (_m,), + ((OBJECT_IDENTIFIER, 0),), +) + +QUIET: StaticSchema = (2, n0, _Q, 0) + +DELETE: StaticSchema = ( + 18, + n0, + _Del, + 0, + (_Ob, _Q), + ((OBJECT_IDENTIFIER_LIST, {_sN: _Obj, _sFm: None, _sm: None}), (QUIET, 0)), +) + +DELETE_OBJECTS_INPUT: StaticSchema = ( + 18, + n0, + _DOIe, + {_sSI: _cDORo, _s: None}, + (_B, _Del, _MFA, _RP, _BGR, _EBO, _CA), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (DELETE, {_sN: _Del, _sm: None, _sPm: None}), + (MFA, {_sH: _xam_}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (BYPASS_GOVERNANCE_RETENTION, {_sH: _xabgr}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + ), +) + +DELETE_OBJECTS_OUTPUT: StaticSchema = ( + 18, + n0, + _DOOe, + {_sN: _DRe, _smi: None}, + (_Dele, _RC, _Err), + ( + (lambda: DELETED_OBJECTS, {_sFm: None}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + (lambda: ERRORS, {_sN: _Er, _sFm: None}), + ), +) + +DELETE_OBJECTS: StaticOperationSchema = ( + 23, + n0, + _DOele, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _smith: MappingProxyType({"method": "POST", "uri": "/?delete", "code": 200}), + }, + DELETE_OBJECTS_INPUT, + DELETE_OBJECTS_OUTPUT, + (), +) + +DELETE_MARKER_VERSION_ID: StaticSchema = (3, n0, _DMVI, 0) + +DELETED_OBJECT: StaticSchema = ( + 18, + n0, + _DOe, + 0, + (_K, _VI, _DM, _DMVI), + ( + (lambda: schemas.OBJECT_KEY, 0), + (lambda: schemas.OBJECT_VERSION_ID, 0), + (DELETE_MARKER, 0), + (DELETE_MARKER_VERSION_ID, 0), + ), +) + +DELETED_OBJECTS: StaticSchema = (16, n0, _DOel, 0, (_m,), ((DELETED_OBJECT, 0),)) + +CODE: StaticSchema = (3, n0, _Co, 0) + +MESSAGE: StaticSchema = (3, n0, _Me, 0) + +ERROR: StaticSchema = ( + 18, + n0, + _Er, + 0, + (_K, _VI, _Co, _Me), + ( + (lambda: schemas.OBJECT_KEY, 0), + (lambda: schemas.OBJECT_VERSION_ID, 0), + (CODE, 0), + (MESSAGE, 0), + ), +) + +ERRORS: StaticSchema = (16, n0, _Err, 0, (_m,), ((ERROR, 0),)) + +DELETE_OBJECT_TAGGING_INPUT: StaticSchema = ( + 18, + n0, + _DOTI, + {_sSI: _cDOTR, _s: None}, + (_B, _K, _VI, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_OBJECT_TAGGING_OUTPUT: StaticSchema = ( + 18, + n0, + _DOTO, + {_smi: None}, + (_VI,), + ((lambda: schemas.OBJECT_VERSION_ID, {_sH: _xavi}),), +) + +DELETE_OBJECT_TAGGING: StaticOperationSchema = ( + 23, + n0, + _DOT, + { + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/{Key+}?tagging", "code": 204} + ) + }, + DELETE_OBJECT_TAGGING_INPUT, + DELETE_OBJECT_TAGGING_OUTPUT, + (), +) + +DELETE_PUBLIC_ACCESS_BLOCK_INPUT: StaticSchema = ( + 18, + n0, + _DPABI, + {_sSI: _cDPABR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +DELETE_PUBLIC_ACCESS_BLOCK_OUTPUT: StaticSchema = ( + 18, + n0, + _DPABO, + {_sSI: _sU, _smi: None}, +) + +DELETE_PUBLIC_ACCESS_BLOCK: StaticOperationSchema = ( + 23, + n0, + _DPAB, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "DELETE", "uri": "/?publicAccessBlock", "code": 204} + ), + }, + DELETE_PUBLIC_ACCESS_BLOCK_INPUT, + DELETE_PUBLIC_ACCESS_BLOCK_OUTPUT, + (), +) + +GET_BUCKET_ABAC_INPUT: StaticSchema = ( + 18, + n0, + _GBAI, + {_sSI: _cGBAR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_ABAC_OUTPUT: StaticSchema = ( + 18, + n0, + _GBAO, + {_smi: None}, + (_AS,), + ((lambda: schemas.ABAC_STATUS, 16),), +) + +GET_BUCKET_ABAC: StaticOperationSchema = ( + 23, + n0, + _GBA, + {_smith: MappingProxyType({"method": "GET", "uri": "/?abac", "code": 200})}, + GET_BUCKET_ABAC_INPUT, + GET_BUCKET_ABAC_OUTPUT, + (), +) + +GET_BUCKET_ACCELERATE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GBACI, + {_sSI: _cGBACR, _s: None}, + (_B, _EBO, _RP), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + ), +) + +GET_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBACO, + {_sN: _AC, _smi: None}, + (_S, _RC), + ( + (lambda: schemas.BUCKET_ACCELERATE_STATUS, 0), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +GET_BUCKET_ACCELERATE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GBAC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?accelerate", "code": 200}), + }, + GET_BUCKET_ACCELERATE_CONFIGURATION_INPUT, + GET_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT, + (), +) + +GET_BUCKET_ACL_INPUT: StaticSchema = ( + 18, + n0, + _GBAIe, + {_sSI: _cGBARo, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _GBAOe, + {_sN: _ACP, _smi: None}, + (_O, _Gran), + ((lambda: schemas.OWNER, 0), (lambda: schemas.GRANTS, {_sN: _ACL})), +) + +GET_BUCKET_ACL: StaticOperationSchema = ( + 23, + n0, + _GBAe, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?acl", "code": 200}), + }, + GET_BUCKET_ACL_INPUT, + GET_BUCKET_ACL_OUTPUT, + (), +) + +GET_BUCKET_ANALYTICS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GBACIe, + {_sSI: _cGBACRo, _s: None}, + (_B, _I, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ANALYTICS_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBACOe, + {_smi: None}, + (_ACn,), + ((lambda: ANALYTICS_CONFIGURATION, 16),), +) + +GET_BUCKET_ANALYTICS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GBACe, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/?analytics&x-id=GetBucketAnalyticsConfiguration", + "code": 200, + } + ), + }, + GET_BUCKET_ANALYTICS_CONFIGURATION_INPUT, + GET_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT, + (), +) + +PREFIX: StaticSchema = (3, n0, _Pr, 0) + +ANALYTICS_AND_OPERATOR: StaticSchema = ( + 18, + n0, + _AAO, + 0, + (_Pr, _Tags), + ((PREFIX, 0), (lambda: schemas.TAG_SET, {_sN: _Tag, _sFm: None})), +) + +ANALYTICS_FILTER: StaticSchema = ( + 19, + n0, + _AF, + 0, + (_Pr, _Tag, _A), + ((PREFIX, 0), (lambda: schemas.TAG, 0), (ANALYTICS_AND_OPERATOR, 0)), +) + +ANALYTICS_S3_EXPORT_FILE_FORMAT: StaticSchema = ( + 14, + n0, + _ASEFF, + 0, + (_CSV,), + ((-1, {_sV: _CSV}),), +) + +ANALYTICS_S3_BUCKET_DESTINATION: StaticSchema = ( + 18, + n0, + _ASBD, + 0, + (_F, _BAI, _B, _Pr), + ( + (ANALYTICS_S3_EXPORT_FILE_FORMAT, 1), + (lambda: schemas.ACCOUNT_ID, 0), + (lambda: schemas.BUCKET_NAME, 1), + (PREFIX, 0), + ), +) + +ANALYTICS_EXPORT_DESTINATION: StaticSchema = ( + 18, + n0, + _AED, + 0, + (_SBD,), + ((ANALYTICS_S3_BUCKET_DESTINATION, 1),), +) + +STORAGE_CLASS_ANALYSIS_SCHEMA_VERSION: StaticSchema = ( + 14, + n0, + _SCASV, + 0, + (_V_,), + ((-1, {_sV: _V_}),), +) + +STORAGE_CLASS_ANALYSIS_DATA_EXPORT: StaticSchema = ( + 18, + n0, + _SCADE, + 0, + (_OSV, _De), + ((STORAGE_CLASS_ANALYSIS_SCHEMA_VERSION, 1), (ANALYTICS_EXPORT_DESTINATION, 1)), +) + +STORAGE_CLASS_ANALYSIS: StaticSchema = ( + 18, + n0, + _SCA, + 0, + (_DE,), + ((STORAGE_CLASS_ANALYSIS_DATA_EXPORT, 0),), +) + +ANALYTICS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ACn, + 0, + (_I, _Fi, _SCA), + ( + (lambda: schemas.ANALYTICS_ID, 1), + (ANALYTICS_FILTER, 0), + (STORAGE_CLASS_ANALYSIS, 1), + ), +) + +GET_BUCKET_CORS_INPUT: StaticSchema = ( + 18, + n0, + _GBCI, + {_sSI: _cGBCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_CORS_OUTPUT: StaticSchema = ( + 18, + n0, + _GBCO, + {_sN: _CORSC, _smi: None}, + (_CORSRu,), + ((lambda: CORS_RULES, {_sN: _CORSR, _sFm: None}),), +) + +GET_BUCKET_CORS: StaticOperationSchema = ( + 23, + n0, + _GBC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?cors", "code": 200}), + }, + GET_BUCKET_CORS_INPUT, + GET_BUCKET_CORS_OUTPUT, + (), +) + +EXPOSE_HEADER: StaticSchema = (3, n0, _EH, 0) + +EXPOSE_HEADERS: StaticSchema = (16, n0, _EHx, 0, (_m,), ((EXPOSE_HEADER, 0),)) + +MAX_AGE_SECONDS: StaticSchema = (7, n0, _MAS, 0) + +CORS_RULE: StaticSchema = ( + 18, + n0, + _CORSR, + 0, + (_ID, _AHl, _AMl, _AOl, _EHx, _MAS), + ( + (lambda: schemas.ID, 0), + (lambda: schemas.ALLOWED_HEADERS, {_sN: _AH, _sFm: None}), + (lambda: schemas.ALLOWED_METHODS, {_sN: _AM, _sFm: None, _sm: None}), + (lambda: schemas.ALLOWED_ORIGINS, {_sN: _AO, _sFm: None, _sm: None}), + (EXPOSE_HEADERS, {_sN: _EH, _sFm: None}), + (MAX_AGE_SECONDS, 0), + ), +) + +CORS_RULES: StaticSchema = (16, n0, _CORSRu, 0, (_m,), ((CORS_RULE, 0),)) + +GET_BUCKET_ENCRYPTION_INPUT: StaticSchema = ( + 18, + n0, + _GBEI, + {_sSI: _cGBER, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_ENCRYPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBEO, + {_smi: None}, + (_SSEC,), + ((lambda: SERVER_SIDE_ENCRYPTION_CONFIGURATION, 16),), +) + +GET_BUCKET_ENCRYPTION: StaticOperationSchema = ( + 23, + n0, + _GBE, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?encryption", "code": 200}), + }, + GET_BUCKET_ENCRYPTION_INPUT, + GET_BUCKET_ENCRYPTION_OUTPUT, + (), +) + +SERVER_SIDE_ENCRYPTION_BY_DEFAULT: StaticSchema = ( + 18, + n0, + _SSEBD, + 0, + (_SSEA, _KMSMKID), + ((lambda: schemas.SERVER_SIDE_ENCRYPTION, 1), (lambda: schemas.SSEKMS_KEY_ID, 0)), +) + +ENCRYPTION_TYPE: StaticSchema = ( + 14, + n0, + _ETn, + 0, + (_NONE, _SC_), + ((-1, {_sV: _NONE}), (-1, {_sV: _SC__})), +) + +ENCRYPTION_TYPE_LIST: StaticSchema = ( + 16, + n0, + _ETL, + 0, + (_m,), + ((ENCRYPTION_TYPE, {_sN: _ETn}),), +) + +BLOCKED_ENCRYPTION_TYPES: StaticSchema = ( + 18, + n0, + _BET, + 0, + (_ETn,), + ((ENCRYPTION_TYPE_LIST, {_sFm: None}),), +) + +SERVER_SIDE_ENCRYPTION_RULE: StaticSchema = ( + 18, + n0, + _SSER, + 0, + (_ASSEBD, _BKE, _BET), + ( + (SERVER_SIDE_ENCRYPTION_BY_DEFAULT, 0), + (lambda: schemas.BUCKET_KEY_ENABLED, 0), + (BLOCKED_ENCRYPTION_TYPES, 0), + ), +) + +SERVER_SIDE_ENCRYPTION_RULES: StaticSchema = ( + 16, + n0, + _SSERe, + 0, + (_m,), + ((SERVER_SIDE_ENCRYPTION_RULE, 0),), +) + +SERVER_SIDE_ENCRYPTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _SSEC, + 0, + (_Ru,), + ((SERVER_SIDE_ENCRYPTION_RULES, {_sN: _Rul, _sFm: None, _sm: None}),), +) + +GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GBITCI, + {_sSI: _cGBITCR, _s: None}, + (_B, _I, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.INTELLIGENT_TIERING_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBITCO, + {_smi: None}, + (_ITCn,), + ((lambda: INTELLIGENT_TIERING_CONFIGURATION, 16),), +) + +GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GBITC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/?intelligent-tiering&x-id=GetBucketIntelligentTieringConfiguration", + "code": 200, + } + ), + }, + GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT, + GET_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT, + (), +) + +INTELLIGENT_TIERING_AND_OPERATOR: StaticSchema = ( + 18, + n0, + _ITAO, + 0, + (_Pr, _Tags), + ((PREFIX, 0), (lambda: schemas.TAG_SET, {_sN: _Tag, _sFm: None})), +) + +INTELLIGENT_TIERING_FILTER: StaticSchema = ( + 18, + n0, + _ITF, + 0, + (_Pr, _Tag, _A), + ((PREFIX, 0), (lambda: schemas.TAG, 0), (INTELLIGENT_TIERING_AND_OPERATOR, 0)), +) + +INTELLIGENT_TIERING_STATUS: StaticSchema = ( + 14, + n0, + _ITS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +INTELLIGENT_TIERING_ACCESS_TIER: StaticSchema = ( + 14, + n0, + _ITAT, + 0, + (_AA, _DAA), + ((-1, {_sV: _AA}), (-1, {_sV: _DAA})), +) + +INTELLIGENT_TIERING_DAYS: StaticSchema = (7, n0, _ITD, 0) + +TIERING: StaticSchema = ( + 18, + n0, + _Ti, + 0, + (_Da, _AT), + ((INTELLIGENT_TIERING_DAYS, 1), (INTELLIGENT_TIERING_ACCESS_TIER, 1)), +) + +TIERING_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TIERING, 0),)) + +INTELLIGENT_TIERING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _ITCn, + 0, + (_I, _Fi, _S, _Tie), + ( + (lambda: schemas.INTELLIGENT_TIERING_ID, 1), + (INTELLIGENT_TIERING_FILTER, 0), + (INTELLIGENT_TIERING_STATUS, 1), + (TIERING_LIST, {_sN: _Ti, _sFm: None, _sm: None}), + ), +) + +GET_BUCKET_INVENTORY_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GBICI, + {_sSI: _cGBICR, _s: None}, + (_B, _I, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (INVENTORY_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_INVENTORY_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBICO, + {_smi: None}, + (_IC,), + ((lambda: INVENTORY_CONFIGURATION, 16),), +) + +GET_BUCKET_INVENTORY_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GBIC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/?inventory&x-id=GetBucketInventoryConfiguration", + "code": 200, + } + ), + }, + GET_BUCKET_INVENTORY_CONFIGURATION_INPUT, + GET_BUCKET_INVENTORY_CONFIGURATION_OUTPUT, + (), +) + +SSEKMS: StaticSchema = ( + 18, + n0, + _SSEKMS, + {_sN: _SK}, + (_KI,), + ((lambda: schemas.SSEKMS_KEY_ID, 1),), +) + +SSES3: StaticSchema = (18, n0, _SSES, {_sN: _SS}) + +INVENTORY_ENCRYPTION: StaticSchema = ( + 18, + n0, + _IE, + 0, + (_SSES, _SSEKMS), + ((SSES3, {_sN: _SS}), (SSEKMS, {_sN: _SK})), +) + +INVENTORY_FORMAT: StaticSchema = ( + 14, + n0, + _IF, + 0, + (_CSV, _ORC, _Parq), + ((-1, {_sV: _CSV}), (-1, {_sV: _ORC}), (-1, {_sV: _Parq})), +) + +INVENTORY_S3_BUCKET_DESTINATION: StaticSchema = ( + 18, + n0, + _ISBD, + 0, + (_AI, _B, _F, _Pr, _En), + ( + (lambda: schemas.ACCOUNT_ID, 0), + (lambda: schemas.BUCKET_NAME, 1), + (INVENTORY_FORMAT, 1), + (PREFIX, 0), + (INVENTORY_ENCRYPTION, 0), + ), +) + +INVENTORY_DESTINATION: StaticSchema = ( + 18, + n0, + _IDn, + 0, + (_SBD,), + ((INVENTORY_S3_BUCKET_DESTINATION, 1),), +) + +INVENTORY_FILTER: StaticSchema = (18, n0, _IFn, 0, (_Pr,), ((PREFIX, 1),)) + +INVENTORY_INCLUDED_OBJECT_VERSIONS: StaticSchema = ( + 14, + n0, + _IIOV, + 0, + (_Al, _Cu), + ((-1, {_sV: _Al}), (-1, {_sV: _Cu})), +) + +IS_ENABLED: StaticSchema = (2, n0, _IEs, 0) + +INVENTORY_OPTIONAL_FIELD: StaticSchema = ( + 14, + n0, + _IOF, + 0, + ( + _Si, + _LMD, + _SC, + _ET, + _IMU, + _RS, + _ESn, + _OLRUD, + _OLM, + _OLLHS, + _OLEHS, + _OLEHD, + _ITAT, + _BKS, + _CA, + _OACL, + _OObj, + _LED, + _ITRD, + ), + ( + (-1, {_sV: _Si}), + (-1, {_sV: _LMD}), + (-1, {_sV: _SC}), + (-1, {_sV: _ET}), + (-1, {_sV: _IMU}), + (-1, {_sV: _RS}), + (-1, {_sV: _ESn}), + (-1, {_sV: _OLRUD}), + (-1, {_sV: _OLM}), + (-1, {_sV: _OLLHS}), + (-1, {_sV: _OLEHS}), + (-1, {_sV: _OLEHD}), + (-1, {_sV: _ITAT}), + (-1, {_sV: _BKS}), + (-1, {_sV: _CA}), + (-1, {_sV: _OACL}), + (-1, {_sV: _OObj}), + (-1, {_sV: _LED}), + (-1, {_sV: _ITRD}), + ), +) + +INVENTORY_OPTIONAL_FIELDS: StaticSchema = ( + 16, + n0, + _IOFn, + 0, + (_m,), + ((INVENTORY_OPTIONAL_FIELD, {_sN: _Fie}),), +) + +INVENTORY_FREQUENCY: StaticSchema = ( + 14, + n0, + _IFnv, + 0, + (_Dai, _W), + ((-1, {_sV: _Dai}), (-1, {_sV: _W})), +) + +INVENTORY_SCHEDULE: StaticSchema = (18, n0, _IS, 0, (_Fr,), ((INVENTORY_FREQUENCY, 1),)) + +INVENTORY_CONFIGURATION: StaticSchema = ( + 18, + n0, + _IC, + 0, + (_De, _IEs, _Fi, _I, _IOV, _OF, _Sc), + ( + (INVENTORY_DESTINATION, 1), + (IS_ENABLED, 1), + (INVENTORY_FILTER, 0), + (INVENTORY_ID, 1), + (INVENTORY_INCLUDED_OBJECT_VERSIONS, 1), + (INVENTORY_OPTIONAL_FIELDS, 0), + (INVENTORY_SCHEDULE, 1), + ), +) + +GET_BUCKET_LIFECYCLE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GBLCI, + {_sSI: _cGBLCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBLCO, + {_sN: _LCi, _smi: None}, + (_Ru, _TDMOS), + ( + (lambda: schemas.LIFECYCLE_RULES, {_sN: _Rul, _sFm: None}), + (lambda: schemas.TRANSITION_DEFAULT_MINIMUM_OBJECT_SIZE, {_sH: _xatdmos}), + ), +) + +GET_BUCKET_LIFECYCLE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GBLC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?lifecycle", "code": 200}), + }, + GET_BUCKET_LIFECYCLE_CONFIGURATION_INPUT, + GET_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT, + (), +) + +EXPIRED_OBJECT_DELETE_MARKER: StaticSchema = (2, n0, _EODM, 0) + +LIFECYCLE_EXPIRATION: StaticSchema = ( + 18, + n0, + _LE, + 0, + (_Dat, _Da, _EODM), + ( + (lambda: schemas.DATE, 0), + (lambda: schemas.DAYS, 0), + (EXPIRED_OBJECT_DELETE_MARKER, 0), + ), +) + +REPLICATION_STATUS: StaticSchema = ( + 14, + n0, + _RS, + 0, + (_COMPLETE, _PENDING, _FAILED, _REPLICA, _COMPLETED), + ( + (-1, {_sV: _COMPLETE}), + (-1, {_sV: _PENDING}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _REPLICA}), + (-1, {_sV: _COMPLETED}), + ), +) + +IS_TRUNCATED: StaticSchema = (2, n0, _ITs, 0) + +INITIATOR: StaticSchema = ( + 18, + n0, + _Ini, + 0, + (_ID, _DN), + ((lambda: schemas.ID, 0), (lambda: schemas.DISPLAY_NAME, 0)), +) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_3.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_3.py new file mode 100644 index 000000000..514510902 --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_3.py @@ -0,0 +1,1439 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.s3" +_E = "Enabled" +_sV = "smithy.api#enumValue" +_D = "Disabled" +_S = "Status" +_AIMU = "AbortIncompleteMultipartUpload" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_B = "Bucket" +_sP = "smithy.rules#contextParam" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_K = "Key" +_sQ = "smithy.api#httpQuery" +_sH = "smithy.api#httpHeader" +_EBO = "ExpectedBucketOwner" +_xaebo = "x-amz-expected-bucket-owner" +_smi = "smithy.api#output" +_smith = "smithy.api#http" +_ID = "ID" +_Gr = "Grantee" +_sN = "smithy.api#xmlName" +_P = "Permission" +_FC = "FULL_CONTROL" +_WRITE = "WRITE" +_READ = "READ" +_Gra = "Grant" +_sNm = "smithy.api#xmlNamespace" +_m = "member" +_De = "Destination" +_ACT = "AccessControlTranslation" +_APAc = "AccessPointArn" +_sFm = "smithy.api#xmlFlattened" +_sPm = "smithy.api#httpPayload" +_Ex = "Expiration" +_SC = "StorageClass" +_SI = "STANDARD_IA" +_OI = "ONEZONE_IA" +_IT = "INTELLIGENT_TIERING" +_GLACIER = "GLACIER" +_DA = "DEEP_ARCHIVE" +_GI = "GLACIER_IR" +_sCP = "smithy.rules#staticContextParams" +_N = "Name" +_V = "Value" +_Tag = "Tag" +_LC = "LocationConstraint" +_Tags = "Tags" +_OOb = "ObjectOwnership" +_R = "Role" +_CSo = "ConfigurationState" +_EC = "EncryptionConfiguration" +_RE = "RecordExpiration" +_Da = "Days" +_TBA = "TableBucketArn" +_TN = "TableName" +_I = "Id" +_i = "id" +_Er = "Error" +_Pr = "Prefix" +_A = "And" +_Fi = "Filter" +_Ru = "Rules" +_Rul = "Rule" +_Dat = "Date" +_OSGTB = "ObjectSizeGreaterThanBytes" +_OSLTB = "ObjectSizeLessThanBytes" +_LRAO = "LifecycleRuleAndOperator" +_OSGT = "ObjectSizeGreaterThan" +_OSLT = "ObjectSizeLessThan" +_LRF = "LifecycleRuleFilter" +_VC = "VersionCount" +_NVE = "NoncurrentVersionExpiration" +_ND = "NoncurrentDays" +_NNV = "NewerNoncurrentVersions" +_TSC = "TransitionStorageClass" +_NVT = "NoncurrentVersionTransition" +_NVTL = "NoncurrentVersionTransitionList" +_ESx = "ExpirationStatus" +_Tr = "Transition" +_TLr = "TransitionList" +_LR = "LifecycleRule" +_Tra = "Transitions" +_NVTo = "NoncurrentVersionTransitions" +_LRi = "LifecycleRules" +_TDMOS = "TransitionDefaultMinimumObjectSize" +_vbsc = "varies_by_storage_class" +_asc = "all_storage_classes_128K" +_GBLI = "GetBucketLocationInput" +_cGBLR = "com.amazonaws.s3#GetBucketLocationRequest" +_GBLO = "GetBucketLocationOutput" +_GBL = "GetBucketLocation" +_GBLIe = "GetBucketLoggingInput" +_cGBLRo = "com.amazonaws.s3#GetBucketLoggingRequest" +_TB = "TargetBucket" +_BLP = "BucketLogsPermission" +_TG = "TargetGrant" +_TGa = "TargetGrants" +_PDS = "PartitionDateSource" +_ETv = "EventTime" +_DT = "DeliveryTime" +_PP = "PartitionedPrefix" +_SP = "SimplePrefix" +_TOKF = "TargetObjectKeyFormat" +_TP = "TargetPrefix" +_LEo = "LoggingEnabled" +_GBLOe = "GetBucketLoggingOutput" +_BLS = "BucketLoggingStatus" +_GBLe = "GetBucketLogging" +_GBMCI = "GetBucketMetadataConfigurationInput" +_cGBMCR = "com.amazonaws.s3#GetBucketMetadataConfigurationRequest" +_ECr = "ErrorCode" +_EM = "ErrorMessage" +_ED = "ErrorDetails" +_STA = "S3TablesArn" +_MTS = "MetadataTableStatus" +_ATCR = "AnnotationTableConfigurationResult" +_TSa = "TableStatus" +_TA = "TableArn" +_STBT = "S3TablesBucketType" +_aws_ = "aws" +_cu = "customer" +_STNa = "S3TablesNamespace" +_DRes = "DestinationResult" +_TBT = "TableBucketType" +_TNa = "TableNamespace" +_ITCR = "InventoryTableConfigurationResult" +_JTCR = "JournalTableConfigurationResult" +_MCR = "MetadataConfigurationResult" +_GBMCR = "GetBucketMetadataConfigurationResult" +_GBMCO = "GetBucketMetadataConfigurationOutput" +_GBMC = "GetBucketMetadataConfiguration" +_GBMTCI = "GetBucketMetadataTableConfigurationInput" +_cGBMTCR = "com.amazonaws.s3#GetBucketMetadataTableConfigurationRequest" +_STDR = "S3TablesDestinationResult" +_MTCR = "MetadataTableConfigurationResult" +_GBMTCR = "GetBucketMetadataTableConfigurationResult" +_GBMTCO = "GetBucketMetadataTableConfigurationOutput" +_GBMTC = "GetBucketMetadataTableConfiguration" +_GBMCIe = "GetBucketMetricsConfigurationInput" +_cGBMCRo = "com.amazonaws.s3#GetBucketMetricsConfigurationRequest" +_MAO = "MetricsAndOperator" +_MF = "MetricsFilter" +_MCe = "MetricsConfiguration" +_GBMCOe = "GetBucketMetricsConfigurationOutput" +_GBMCe = "GetBucketMetricsConfiguration" +_GBNCI = "GetBucketNotificationConfigurationInput" +_cGBNCR = "com.amazonaws.s3#GetBucketNotificationConfigurationRequest" +_EBC = "EventBridgeConfiguration" +_Ev = "Event" +_sR = "s3_ReducedRedundancyLostObject" +_sRRLO = "s3:ReducedRedundancyLostObject" +_sO = "s3_ObjectCreated_" +_sOC = "s3:ObjectCreated:*" +_sOP = "s3_ObjectCreated_Put" +_sOCP = "s3:ObjectCreated:Put" +_sOP_ = "s3_ObjectCreated_Post" +_sOCPb = "s3:ObjectCreated:Post" +_sOC_ = "s3_ObjectCreated_Copy" +_sOCC = "s3:ObjectCreated:Copy" +_sOC__ = "s3_ObjectCreated_CompleteMultipartUpload" +_sOCCMU = "s3:ObjectCreated:CompleteMultipartUpload" +_sO_ = "s3_ObjectRemoved_" +_sOR = "s3:ObjectRemoved:*" +_sOD = "s3_ObjectRemoved_Delete" +_sORD = "s3:ObjectRemoved:Delete" +_sOD_ = "s3_ObjectRemoved_DeleteMarkerCreated" +_sORDMC = "s3:ObjectRemoved:DeleteMarkerCreated" +_sO__ = "s3_ObjectRestore_" +_sORb = "s3:ObjectRestore:*" +_sOP__ = "s3_ObjectRestore_Post" +_sORP = "s3:ObjectRestore:Post" +_sOC___ = "s3_ObjectRestore_Completed" +_sORC = "s3:ObjectRestore:Completed" +_sR_ = "s3_Replication_" +_sRe = "s3:Replication:*" +_sRO = "s3_Replication_OperationFailedReplication" +_sROFR = "s3:Replication:OperationFailedReplication" +_sRO_ = "s3_Replication_OperationNotTracked" +_sRONT = "s3:Replication:OperationNotTracked" +_sRO__ = "s3_Replication_OperationMissedThreshold" +_sROMT = "s3:Replication:OperationMissedThreshold" +_sRO___ = "s3_Replication_OperationReplicatedAfterThreshold" +_sRORAT = "s3:Replication:OperationReplicatedAfterThreshold" +_sOD__ = "s3_ObjectRestore_Delete" +_sORDb = "s3:ObjectRestore:Delete" +_sL_ = "s3_LifecycleTransition" +_sLT = "s3:LifecycleTransition" +_sI = "s3_IntelligentTiering" +_sIT = "s3:IntelligentTiering" +_sOP___ = "s3_ObjectAcl_Put" +_sOAP = "s3:ObjectAcl:Put" +_sL__ = "s3_LifecycleExpiration_" +_sLE = "s3:LifecycleExpiration:*" +_sLD = "s3_LifecycleExpiration_Delete" +_sLED = "s3:LifecycleExpiration:Delete" +_sLD_ = "s3_LifecycleExpiration_DeleteMarkerCreated" +_sLEDMC = "s3:LifecycleExpiration:DeleteMarkerCreated" +_sO___ = "s3_ObjectTagging_" +_sOT = "s3:ObjectTagging:*" +_sOP____ = "s3_ObjectTagging_Put" +_sOTP = "s3:ObjectTagging:Put" +_sOD___ = "s3_ObjectTagging_Delete" +_sOTD = "s3:ObjectTagging:Delete" +_sO____ = "s3_ObjectAnnotation_" +_sOA = "s3:ObjectAnnotation:*" +_sOP_____ = "s3_ObjectAnnotation_Put" +_sOAPb = "s3:ObjectAnnotation:Put" +_sOD____ = "s3_ObjectAnnotation_Delete" +_sOAD = "s3:ObjectAnnotation:Delete" +_sOP______ = "s3_ObjectRetention_Put" +_sORPb = "s3:ObjectRetention:Put" +_EL = "EventList" +_FRN = "FilterRuleName" +_pre = "prefix" +_su = "suffix" +_FRV = "FilterRuleValue" +_FR = "FilterRule" +_FRL = "FilterRuleList" +_SKF = "S3KeyFilter" +_FRi = "FilterRules" +_NCF = "NotificationConfigurationFilter" +_SKe = "S3Key" +_NI = "NotificationId" +_LFA = "LambdaFunctionArn" +_LFC = "LambdaFunctionConfiguration" +_CF = "CloudFunction" +_Eve = "Events" +_LFCL = "LambdaFunctionConfigurationList" +_QA = "QueueArn" +_QC = "QueueConfiguration" +_Qu = "Queue" +_QCL = "QueueConfigurationList" +_TAo = "TopicArn" +_TC = "TopicConfiguration" +_To = "Topic" +_TCL = "TopicConfigurationList" +_GBNCO = "GetBucketNotificationConfigurationOutput" +_cNC = "com.amazonaws.s3#NotificationConfiguration" +_TCo = "TopicConfigurations" +_QCu = "QueueConfigurations" +_LFCa = "LambdaFunctionConfigurations" +_CFC = "CloudFunctionConfiguration" +_GBNC = "GetBucketNotificationConfiguration" +_GBOCI = "GetBucketOwnershipControlsInput" +_cGBOCR = "com.amazonaws.s3#GetBucketOwnershipControlsRequest" +_OCR = "OwnershipControlsRule" +_OCRw = "OwnershipControlsRules" +_OC = "OwnershipControls" +_GBOCO = "GetBucketOwnershipControlsOutput" +_GBOC = "GetBucketOwnershipControls" +_GBPI = "GetBucketPolicyInput" +_cGBPR = "com.amazonaws.s3#GetBucketPolicyRequest" +_Po = "Policy" +_GBPO = "GetBucketPolicyOutput" +_GBP = "GetBucketPolicy" +_GBPSI = "GetBucketPolicyStatusInput" +_cGBPSR = "com.amazonaws.s3#GetBucketPolicyStatusRequest" +_IP = "IsPublic" +_PS = "PolicyStatus" +_GBPSO = "GetBucketPolicyStatusOutput" +_GBPS = "GetBucketPolicyStatus" +_GBRI = "GetBucketReplicationInput" +_cGBRR = "com.amazonaws.s3#GetBucketReplicationRequest" +_DMRS = "DeleteMarkerReplicationStatus" +_DMR = "DeleteMarkerReplication" +_RKKID = "ReplicaKmsKeyID" +_Mi = "Minutes" +_RTV = "ReplicationTimeValue" +_MS = "MetricsStatus" +_Met = "Metrics" +_ETve = "EventThreshold" +_RTS = "ReplicationTimeStatus" +_RT = "ReplicationTime" +_Tim = "Time" +_Ac = "Account" +_EORS = "ExistingObjectReplicationStatus" +_EOR = "ExistingObjectReplication" +_RRAO = "ReplicationRuleAndOperator" +_RCe = "ReplicationConfiguration" +_GBRO = "GetBucketReplicationOutput" +_GBR = "GetBucketReplication" + +OBJECT_SIZE_GREATER_THAN_BYTES: StaticSchema = (8, n0, _OSGTB, 0) + +OBJECT_SIZE_LESS_THAN_BYTES: StaticSchema = (8, n0, _OSLTB, 0) + +LIFECYCLE_RULE_AND_OPERATOR: StaticSchema = ( + 18, + n0, + _LRAO, + 0, + (_Pr, _Tags, _OSGT, _OSLT), + ( + (lambda: schemas.PREFIX, 0), + (lambda: schemas.TAG_SET, {_sN: _Tag, _sFm: None}), + (OBJECT_SIZE_GREATER_THAN_BYTES, 0), + (OBJECT_SIZE_LESS_THAN_BYTES, 0), + ), +) + +LIFECYCLE_RULE_FILTER: StaticSchema = ( + 18, + n0, + _LRF, + 0, + (_Pr, _Tag, _OSGT, _OSLT, _A), + ( + (lambda: schemas.PREFIX, 0), + (lambda: schemas.TAG, 0), + (OBJECT_SIZE_GREATER_THAN_BYTES, 0), + (OBJECT_SIZE_LESS_THAN_BYTES, 0), + (LIFECYCLE_RULE_AND_OPERATOR, 0), + ), +) + +VERSION_COUNT: StaticSchema = (7, n0, _VC, 0) + +NONCURRENT_VERSION_EXPIRATION: StaticSchema = ( + 18, + n0, + _NVE, + 0, + (_ND, _NNV), + ((lambda: schemas.DAYS, 0), (VERSION_COUNT, 0)), +) + +TRANSITION_STORAGE_CLASS: StaticSchema = ( + 14, + n0, + _TSC, + 0, + (_GLACIER, _SI, _OI, _IT, _DA, _GI), + ( + (-1, {_sV: _GLACIER}), + (-1, {_sV: _SI}), + (-1, {_sV: _OI}), + (-1, {_sV: _IT}), + (-1, {_sV: _DA}), + (-1, {_sV: _GI}), + ), +) + +NONCURRENT_VERSION_TRANSITION: StaticSchema = ( + 18, + n0, + _NVT, + 0, + (_ND, _SC, _NNV), + ((lambda: schemas.DAYS, 0), (TRANSITION_STORAGE_CLASS, 0), (VERSION_COUNT, 0)), +) + +NONCURRENT_VERSION_TRANSITION_LIST: StaticSchema = ( + 16, + n0, + _NVTL, + 0, + (_m,), + ((NONCURRENT_VERSION_TRANSITION, 0),), +) + +EXPIRATION_STATUS: StaticSchema = ( + 14, + n0, + _ESx, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +TRANSITION: StaticSchema = ( + 18, + n0, + _Tr, + 0, + (_Dat, _Da, _SC), + ( + (lambda: schemas.DATE, 0), + (lambda: schemas.DAYS, 0), + (TRANSITION_STORAGE_CLASS, 0), + ), +) + +TRANSITION_LIST: StaticSchema = (16, n0, _TLr, 0, (_m,), ((TRANSITION, 0),)) + +LIFECYCLE_RULE: StaticSchema = ( + 18, + n0, + _LR, + 0, + (_Ex, _ID, _Pr, _Fi, _S, _Tra, _NVTo, _NVE, _AIMU), + ( + (lambda: schemas.LIFECYCLE_EXPIRATION, 0), + (lambda: schemas.ID, 0), + (lambda: schemas.PREFIX, 0), + (LIFECYCLE_RULE_FILTER, 0), + (EXPIRATION_STATUS, 1), + (TRANSITION_LIST, {_sN: _Tr, _sFm: None}), + (NONCURRENT_VERSION_TRANSITION_LIST, {_sN: _NVT, _sFm: None}), + (NONCURRENT_VERSION_EXPIRATION, 0), + (lambda: schemas.ABORT_INCOMPLETE_MULTIPART_UPLOAD, 0), + ), +) + +LIFECYCLE_RULES: StaticSchema = (16, n0, _LRi, 0, (_m,), ((LIFECYCLE_RULE, 0),)) + +TRANSITION_DEFAULT_MINIMUM_OBJECT_SIZE: StaticSchema = ( + 14, + n0, + _TDMOS, + 0, + (_vbsc, _asc), + ((-1, {_sV: _vbsc}), (-1, {_sV: _asc})), +) + +GET_BUCKET_LOCATION_INPUT: StaticSchema = ( + 18, + n0, + _GBLI, + {_sSI: _cGBLR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_LOCATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBLO, + {_sN: _LC, _smi: None}, + (_LC,), + ((lambda: schemas.BUCKET_LOCATION_CONSTRAINT, 0),), +) + +GET_BUCKET_LOCATION: StaticOperationSchema = ( + 23, + n0, + _GBL, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?location", "code": 200}), + }, + GET_BUCKET_LOCATION_INPUT, + GET_BUCKET_LOCATION_OUTPUT, + (), +) + +GET_BUCKET_LOGGING_INPUT: StaticSchema = ( + 18, + n0, + _GBLIe, + {_sSI: _cGBLRo, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_LOGGING_OUTPUT: StaticSchema = ( + 18, + n0, + _GBLOe, + {_sN: _BLS, _smi: None}, + (_LEo,), + ((lambda: LOGGING_ENABLED, 0),), +) + +GET_BUCKET_LOGGING: StaticOperationSchema = ( + 23, + n0, + _GBLe, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?logging", "code": 200}), + }, + GET_BUCKET_LOGGING_INPUT, + GET_BUCKET_LOGGING_OUTPUT, + (), +) + +TARGET_BUCKET: StaticSchema = (3, n0, _TB, 0) + +BUCKET_LOGS_PERMISSION: StaticSchema = ( + 14, + n0, + _BLP, + 0, + (_FC, _READ, _WRITE), + ((-1, {_sV: _FC}), (-1, {_sV: _READ}), (-1, {_sV: _WRITE})), +) + +TARGET_GRANT: StaticSchema = ( + 18, + n0, + _TG, + 0, + (_Gr, _P), + ( + ( + lambda: schemas.GRANTEE, + { + _sNm: MappingProxyType( + { + "uri": "http://www.w3.org/2001/XMLSchema-instance", + "prefix": "xsi", + } + ) + }, + ), + (BUCKET_LOGS_PERMISSION, 0), + ), +) + +TARGET_GRANTS: StaticSchema = (16, n0, _TGa, 0, (_m,), ((TARGET_GRANT, {_sN: _Gra}),)) + +PARTITION_DATE_SOURCE: StaticSchema = ( + 14, + n0, + _PDS, + 0, + (_ETv, _DT), + ((-1, {_sV: _ETv}), (-1, {_sV: _DT})), +) + +PARTITIONED_PREFIX: StaticSchema = ( + 18, + n0, + _PP, + {_sN: _PP}, + (_PDS,), + ((PARTITION_DATE_SOURCE, 0),), +) + +SIMPLE_PREFIX: StaticSchema = (18, n0, _SP, {_sN: _SP}) + +TARGET_OBJECT_KEY_FORMAT: StaticSchema = ( + 18, + n0, + _TOKF, + 0, + (_SP, _PP), + ((SIMPLE_PREFIX, {_sN: _SP}), (PARTITIONED_PREFIX, {_sN: _PP})), +) + +TARGET_PREFIX: StaticSchema = (3, n0, _TP, 0) + +LOGGING_ENABLED: StaticSchema = ( + 18, + n0, + _LEo, + 0, + (_TB, _TGa, _TP, _TOKF), + ( + (TARGET_BUCKET, 1), + (TARGET_GRANTS, 0), + (TARGET_PREFIX, 1), + (TARGET_OBJECT_KEY_FORMAT, 0), + ), +) + +GET_BUCKET_METADATA_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GBMCI, + {_sSI: _cGBMCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_METADATA_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBMCO, + {_smi: None}, + (_GBMCR,), + ((lambda: GET_BUCKET_METADATA_CONFIGURATION_RESULT, 16),), +) + +GET_BUCKET_METADATA_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GBMC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/?metadataConfiguration", "code": 200} + ), + }, + GET_BUCKET_METADATA_CONFIGURATION_INPUT, + GET_BUCKET_METADATA_CONFIGURATION_OUTPUT, + (), +) + +ERROR_CODE: StaticSchema = (3, n0, _ECr, 0) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +ERROR_DETAILS: StaticSchema = ( + 18, + n0, + _ED, + 0, + (_ECr, _EM), + ((ERROR_CODE, 0), (ERROR_MESSAGE, 0)), +) + +S3_TABLES_ARN: StaticSchema = (3, n0, _STA, 0) + +METADATA_TABLE_STATUS: StaticSchema = (3, n0, _MTS, 0) + +ANNOTATION_TABLE_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _ATCR, + 0, + (_CSo, _TSa, _Er, _TN, _TA, _R), + ( + (lambda: schemas.ANNOTATION_CONFIGURATION_STATE, 1), + (METADATA_TABLE_STATUS, 0), + (ERROR_DETAILS, 0), + (lambda: schemas.S3_TABLES_NAME, 0), + (S3_TABLES_ARN, 0), + (lambda: schemas.ROLE, 0), + ), +) + +S3_TABLES_BUCKET_TYPE: StaticSchema = ( + 14, + n0, + _STBT, + 0, + (_aws_, _cu), + ((-1, {_sV: _aws_}), (-1, {_sV: _cu})), +) + +S3_TABLES_NAMESPACE: StaticSchema = (3, n0, _STNa, 0) + +DESTINATION_RESULT: StaticSchema = ( + 18, + n0, + _DRes, + 0, + (_TBT, _TBA, _TNa), + ( + (S3_TABLES_BUCKET_TYPE, 0), + (lambda: schemas.S3_TABLES_BUCKET_ARN, 0), + (S3_TABLES_NAMESPACE, 0), + ), +) + +INVENTORY_TABLE_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _ITCR, + 0, + (_CSo, _TSa, _Er, _TN, _TA), + ( + (lambda: schemas.INVENTORY_CONFIGURATION_STATE, 1), + (METADATA_TABLE_STATUS, 0), + (ERROR_DETAILS, 0), + (lambda: schemas.S3_TABLES_NAME, 0), + (S3_TABLES_ARN, 0), + ), +) + +JOURNAL_TABLE_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _JTCR, + 0, + (_TSa, _Er, _TN, _TA, _RE), + ( + (METADATA_TABLE_STATUS, 1), + (ERROR_DETAILS, 0), + (lambda: schemas.S3_TABLES_NAME, 1), + (S3_TABLES_ARN, 0), + (lambda: schemas.RECORD_EXPIRATION, 1), + ), +) + +METADATA_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _MCR, + 0, + (_DRes, _JTCR, _ITCR, _ATCR), + ( + (DESTINATION_RESULT, 1), + (JOURNAL_TABLE_CONFIGURATION_RESULT, 0), + (INVENTORY_TABLE_CONFIGURATION_RESULT, 0), + (ANNOTATION_TABLE_CONFIGURATION_RESULT, 0), + ), +) + +GET_BUCKET_METADATA_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _GBMCR, + 0, + (_MCR,), + ((METADATA_CONFIGURATION_RESULT, 1),), +) + +GET_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GBMTCI, + {_sSI: _cGBMTCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBMTCO, + {_smi: None}, + (_GBMTCR,), + ((lambda: GET_BUCKET_METADATA_TABLE_CONFIGURATION_RESULT, 16),), +) + +GET_BUCKET_METADATA_TABLE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GBMTC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/?metadataTable", "code": 200} + ), + }, + GET_BUCKET_METADATA_TABLE_CONFIGURATION_INPUT, + GET_BUCKET_METADATA_TABLE_CONFIGURATION_OUTPUT, + (), +) + +S3_TABLES_DESTINATION_RESULT: StaticSchema = ( + 18, + n0, + _STDR, + 0, + (_TBA, _TN, _TA, _TNa), + ( + (lambda: schemas.S3_TABLES_BUCKET_ARN, 1), + (lambda: schemas.S3_TABLES_NAME, 1), + (S3_TABLES_ARN, 1), + (S3_TABLES_NAMESPACE, 1), + ), +) + +METADATA_TABLE_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _MTCR, + 0, + (_STDR,), + ((S3_TABLES_DESTINATION_RESULT, 1),), +) + +GET_BUCKET_METADATA_TABLE_CONFIGURATION_RESULT: StaticSchema = ( + 18, + n0, + _GBMTCR, + 0, + (_MTCR, _S, _Er), + ( + (METADATA_TABLE_CONFIGURATION_RESULT, 1), + (METADATA_TABLE_STATUS, 1), + (ERROR_DETAILS, 0), + ), +) + +GET_BUCKET_METRICS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GBMCIe, + {_sSI: _cGBMCRo, _s: None}, + (_B, _I, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.METRICS_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_METRICS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBMCOe, + {_smi: None}, + (_MCe,), + ((lambda: METRICS_CONFIGURATION, 16),), +) + +GET_BUCKET_METRICS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GBMCe, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/?metrics&x-id=GetBucketMetricsConfiguration", + "code": 200, + } + ), + }, + GET_BUCKET_METRICS_CONFIGURATION_INPUT, + GET_BUCKET_METRICS_CONFIGURATION_OUTPUT, + (), +) + +METRICS_AND_OPERATOR: StaticSchema = ( + 18, + n0, + _MAO, + 0, + (_Pr, _Tags, _APAc), + ( + (lambda: schemas.PREFIX, 0), + (lambda: schemas.TAG_SET, {_sN: _Tag, _sFm: None}), + (lambda: schemas.ACCESS_POINT_ARN, 0), + ), +) + +METRICS_FILTER: StaticSchema = ( + 19, + n0, + _MF, + 0, + (_Pr, _Tag, _APAc, _A), + ( + (lambda: schemas.PREFIX, 0), + (lambda: schemas.TAG, 0), + (lambda: schemas.ACCESS_POINT_ARN, 0), + (METRICS_AND_OPERATOR, 0), + ), +) + +METRICS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _MCe, + 0, + (_I, _Fi), + ((lambda: schemas.METRICS_ID, 1), (METRICS_FILTER, 0)), +) + +GET_BUCKET_NOTIFICATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GBNCI, + {_sSI: _cGBNCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBNCO, + {_sSI: _cNC, _smi: None}, + (_TCo, _QCu, _LFCa, _EBC), + ( + (lambda: TOPIC_CONFIGURATION_LIST, {_sN: _TC, _sFm: None}), + (lambda: QUEUE_CONFIGURATION_LIST, {_sN: _QC, _sFm: None}), + (lambda: LAMBDA_FUNCTION_CONFIGURATION_LIST, {_sN: _CFC, _sFm: None}), + (lambda: EVENT_BRIDGE_CONFIGURATION, 0), + ), +) + +GET_BUCKET_NOTIFICATION_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GBNC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/?notification", "code": 200} + ), + }, + GET_BUCKET_NOTIFICATION_CONFIGURATION_INPUT, + GET_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT, + (), +) + +EVENT_BRIDGE_CONFIGURATION: StaticSchema = (18, n0, _EBC, 0) + +EVENT: StaticSchema = ( + 14, + n0, + _Ev, + 0, + ( + _sR, + _sO, + _sOP, + _sOP_, + _sOC_, + _sOC__, + _sO_, + _sOD, + _sOD_, + _sO__, + _sOP__, + _sOC___, + _sR_, + _sRO, + _sRO_, + _sRO__, + _sRO___, + _sOD__, + _sL_, + _sI, + _sOP___, + _sL__, + _sLD, + _sLD_, + _sO___, + _sOP____, + _sOD___, + _sO____, + _sOP_____, + _sOD____, + _sOP______, + ), + ( + (-1, {_sV: _sRRLO}), + (-1, {_sV: _sOC}), + (-1, {_sV: _sOCP}), + (-1, {_sV: _sOCPb}), + (-1, {_sV: _sOCC}), + (-1, {_sV: _sOCCMU}), + (-1, {_sV: _sOR}), + (-1, {_sV: _sORD}), + (-1, {_sV: _sORDMC}), + (-1, {_sV: _sORb}), + (-1, {_sV: _sORP}), + (-1, {_sV: _sORC}), + (-1, {_sV: _sRe}), + (-1, {_sV: _sROFR}), + (-1, {_sV: _sRONT}), + (-1, {_sV: _sROMT}), + (-1, {_sV: _sRORAT}), + (-1, {_sV: _sORDb}), + (-1, {_sV: _sLT}), + (-1, {_sV: _sIT}), + (-1, {_sV: _sOAP}), + (-1, {_sV: _sLE}), + (-1, {_sV: _sLED}), + (-1, {_sV: _sLEDMC}), + (-1, {_sV: _sOT}), + (-1, {_sV: _sOTP}), + (-1, {_sV: _sOTD}), + (-1, {_sV: _sOA}), + (-1, {_sV: _sOAPb}), + (-1, {_sV: _sOAD}), + (-1, {_sV: _sORPb}), + ), +) + +EVENT_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((EVENT, 0),)) + +FILTER_RULE_NAME: StaticSchema = ( + 14, + n0, + _FRN, + 0, + (_pre, _su), + ((-1, {_sV: _pre}), (-1, {_sV: _su})), +) + +FILTER_RULE_VALUE: StaticSchema = (3, n0, _FRV, 0) + +FILTER_RULE: StaticSchema = ( + 18, + n0, + _FR, + 0, + (_N, _V), + ((FILTER_RULE_NAME, 0), (FILTER_RULE_VALUE, 0)), +) + +FILTER_RULE_LIST: StaticSchema = (16, n0, _FRL, 0, (_m,), ((FILTER_RULE, 0),)) + +S3_KEY_FILTER: StaticSchema = ( + 18, + n0, + _SKF, + 0, + (_FRi,), + ((FILTER_RULE_LIST, {_sN: _FR, _sFm: None}),), +) + +NOTIFICATION_CONFIGURATION_FILTER: StaticSchema = ( + 18, + n0, + _NCF, + 0, + (_K,), + ((S3_KEY_FILTER, {_sN: _SKe}),), +) + +NOTIFICATION_ID: StaticSchema = (3, n0, _NI, 0) + +LAMBDA_FUNCTION_ARN: StaticSchema = (3, n0, _LFA, 0) + +LAMBDA_FUNCTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _LFC, + 0, + (_I, _LFA, _Eve, _Fi), + ( + (NOTIFICATION_ID, 0), + (LAMBDA_FUNCTION_ARN, {_sN: _CF, _sm: None}), + (EVENT_LIST, {_sN: _Ev, _sFm: None, _sm: None}), + (NOTIFICATION_CONFIGURATION_FILTER, 0), + ), +) + +LAMBDA_FUNCTION_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _LFCL, + 0, + (_m,), + ((LAMBDA_FUNCTION_CONFIGURATION, 0),), +) + +QUEUE_ARN: StaticSchema = (3, n0, _QA, 0) + +QUEUE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _QC, + 0, + (_I, _QA, _Eve, _Fi), + ( + (NOTIFICATION_ID, 0), + (QUEUE_ARN, {_sN: _Qu, _sm: None}), + (EVENT_LIST, {_sN: _Ev, _sFm: None, _sm: None}), + (NOTIFICATION_CONFIGURATION_FILTER, 0), + ), +) + +QUEUE_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _QCL, + 0, + (_m,), + ((QUEUE_CONFIGURATION, 0),), +) + +TOPIC_ARN: StaticSchema = (3, n0, _TAo, 0) + +TOPIC_CONFIGURATION: StaticSchema = ( + 18, + n0, + _TC, + 0, + (_I, _TAo, _Eve, _Fi), + ( + (NOTIFICATION_ID, 0), + (TOPIC_ARN, {_sN: _To, _sm: None}), + (EVENT_LIST, {_sN: _Ev, _sFm: None, _sm: None}), + (NOTIFICATION_CONFIGURATION_FILTER, 0), + ), +) + +TOPIC_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _TCL, + 0, + (_m,), + ((TOPIC_CONFIGURATION, 0),), +) + +GET_BUCKET_OWNERSHIP_CONTROLS_INPUT: StaticSchema = ( + 18, + n0, + _GBOCI, + {_sSI: _cGBOCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_OWNERSHIP_CONTROLS_OUTPUT: StaticSchema = ( + 18, + n0, + _GBOCO, + {_smi: None}, + (_OC,), + ((lambda: OWNERSHIP_CONTROLS, 16),), +) + +GET_BUCKET_OWNERSHIP_CONTROLS: StaticOperationSchema = ( + 23, + n0, + _GBOC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/?ownershipControls", "code": 200} + ), + }, + GET_BUCKET_OWNERSHIP_CONTROLS_INPUT, + GET_BUCKET_OWNERSHIP_CONTROLS_OUTPUT, + (), +) + +OWNERSHIP_CONTROLS_RULE: StaticSchema = ( + 18, + n0, + _OCR, + 0, + (_OOb,), + ((lambda: schemas.OBJECT_OWNERSHIP, 1),), +) + +OWNERSHIP_CONTROLS_RULES: StaticSchema = ( + 16, + n0, + _OCRw, + 0, + (_m,), + ((OWNERSHIP_CONTROLS_RULE, 0),), +) + +OWNERSHIP_CONTROLS: StaticSchema = ( + 18, + n0, + _OC, + 0, + (_Ru,), + ((OWNERSHIP_CONTROLS_RULES, {_sN: _Rul, _sFm: None, _sm: None}),), +) + +GET_BUCKET_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GBPI, + {_sSI: _cGBPR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GBPO, + {_smi: None}, + (_Po,), + ((lambda: POLICY, 16),), +) + +GET_BUCKET_POLICY: StaticOperationSchema = ( + 23, + n0, + _GBP, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?policy", "code": 200}), + }, + GET_BUCKET_POLICY_INPUT, + GET_BUCKET_POLICY_OUTPUT, + (), +) + +POLICY: StaticSchema = (3, n0, _Po, 0) + +GET_BUCKET_POLICY_STATUS_INPUT: StaticSchema = ( + 18, + n0, + _GBPSI, + {_sSI: _cGBPSR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_POLICY_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _GBPSO, + {_smi: None}, + (_PS,), + ((lambda: POLICY_STATUS, 16),), +) + +GET_BUCKET_POLICY_STATUS: StaticOperationSchema = ( + 23, + n0, + _GBPS, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/?policyStatus", "code": 200} + ), + }, + GET_BUCKET_POLICY_STATUS_INPUT, + GET_BUCKET_POLICY_STATUS_OUTPUT, + (), +) + +IS_PUBLIC: StaticSchema = (2, n0, _IP, 0) + +POLICY_STATUS: StaticSchema = (18, n0, _PS, 0, (_IP,), ((IS_PUBLIC, {_sN: _IP}),)) + +GET_BUCKET_REPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _GBRI, + {_sSI: _cGBRR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_REPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GBRO, + {_smi: None}, + (_RCe,), + ((lambda: schemas.REPLICATION_CONFIGURATION, 16),), +) + +GET_BUCKET_REPLICATION: StaticOperationSchema = ( + 23, + n0, + _GBR, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/?replication", "code": 200} + ), + }, + GET_BUCKET_REPLICATION_INPUT, + GET_BUCKET_REPLICATION_OUTPUT, + (), +) + +DELETE_MARKER_REPLICATION_STATUS: StaticSchema = ( + 14, + n0, + _DMRS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +DELETE_MARKER_REPLICATION: StaticSchema = ( + 18, + n0, + _DMR, + 0, + (_S,), + ((DELETE_MARKER_REPLICATION_STATUS, 0),), +) + +REPLICA_KMS_KEY_ID: StaticSchema = (3, n0, _RKKID, 0) + +ENCRYPTION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _EC, + 0, + (_RKKID,), + ((REPLICA_KMS_KEY_ID, 0),), +) + +MINUTES: StaticSchema = (7, n0, _Mi, 0) + +REPLICATION_TIME_VALUE: StaticSchema = (18, n0, _RTV, 0, (_Mi,), ((MINUTES, 0),)) + +METRICS_STATUS: StaticSchema = ( + 14, + n0, + _MS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +METRICS: StaticSchema = ( + 18, + n0, + _Met, + 0, + (_S, _ETve), + ((METRICS_STATUS, 1), (REPLICATION_TIME_VALUE, 0)), +) + +REPLICATION_TIME_STATUS: StaticSchema = ( + 14, + n0, + _RTS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +REPLICATION_TIME: StaticSchema = ( + 18, + n0, + _RT, + 0, + (_S, _Tim), + ((REPLICATION_TIME_STATUS, 1), (REPLICATION_TIME_VALUE, 1)), +) + +DESTINATION: StaticSchema = ( + 18, + n0, + _De, + 0, + (_B, _Ac, _SC, _ACT, _EC, _RT, _Met), + ( + (lambda: schemas.BUCKET_NAME, 1), + (lambda: schemas.ACCOUNT_ID, 0), + (lambda: schemas.STORAGE_CLASS, 0), + (lambda: schemas.ACCESS_CONTROL_TRANSLATION, 0), + (ENCRYPTION_CONFIGURATION, 0), + (REPLICATION_TIME, 0), + (METRICS, 0), + ), +) + +EXISTING_OBJECT_REPLICATION_STATUS: StaticSchema = ( + 14, + n0, + _EORS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +EXISTING_OBJECT_REPLICATION: StaticSchema = ( + 18, + n0, + _EOR, + 0, + (_S,), + ((EXISTING_OBJECT_REPLICATION_STATUS, 1),), +) + +REPLICATION_RULE_AND_OPERATOR: StaticSchema = ( + 18, + n0, + _RRAO, + 0, + (_Pr, _Tags), + ((lambda: schemas.PREFIX, 0), (lambda: schemas.TAG_SET, {_sN: _Tag, _sFm: None})), +) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_4.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_4.py new file mode 100644 index 000000000..1c75ebbc6 --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_4.py @@ -0,0 +1,1383 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.s3" +_E = "Enabled" +_sV = "smithy.api#enumValue" +_D = "Disabled" +_S = "Status" +_sF = "smithy.api#timestampFormat" +_hd = "http-date" +_RP = "RequestPayer" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_B = "Bucket" +_sP = "smithy.rules#contextParam" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_K = "Key" +_sQ = "smithy.api#httpQuery" +_sH = "smithy.api#httpHeader" +_xarp = "x-amz-request-payer" +_EBO = "ExpectedBucketOwner" +_xaebo = "x-amz-expected-bucket-owner" +_RC = "RequestCharged" +_smi = "smithy.api#output" +_xarc = "x-amz-request-charged" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_smith = "smithy.api#http" +_Su = "Suspended" +_AR = "AcceptRanges" +_ID = "ID" +_sN = "smithy.api#xmlName" +_Gran = "Grants" +_m = "member" +_O = "Owner" +_ACP = "AccessControlPolicy" +_ACL = "AccessControlList" +_De = "Destination" +_CCRC = "ChecksumCRC32" +_CCRCC = "ChecksumCRC32C" +_CCRCNVME = "ChecksumCRC64NVME" +_CMD = "ChecksumMD5" +_CSHA = "ChecksumSHA1" +_CSHAh = "ChecksumSHA256" +_CSHAhe = "ChecksumSHA512" +_CT = "ChecksumType" +_CXXHASH = "ChecksumXXHASH128" +_CXXHASHh = "ChecksumXXHASH3" +_CXXHASHhe = "ChecksumXXHASH64" +_IM = "IfMatch" +_INM = "IfNoneMatch" +_ET = "ETag" +_PN = "PartNumber" +_Pa = "Parts" +_Par = "Part" +_sFm = "smithy.api#xmlFlattened" +_SSECA = "SSECustomerAlgorithm" +_SSECK = "SSECustomerKey" +_SSECKMD = "SSECustomerKeyMD5" +_sPm = "smithy.api#httpPayload" +_xacc = "x-amz-checksum-crc32" +_xacc_ = "x-amz-checksum-crc32c" +_xacc__ = "x-amz-checksum-crc64nvme" +_xacs = "x-amz-checksum-sha1" +_xacs_ = "x-amz-checksum-sha256" +_xacs__ = "x-amz-checksum-sha512" +_xacm = "x-amz-checksum-md5" +_xacx = "x-amz-checksum-xxhash64" +_xacx_ = "x-amz-checksum-xxhash3" +_xacx__ = "x-amz-checksum-xxhash128" +_xact = "x-amz-checksum-type" +_IM_ = "If-Match" +_INM_ = "If-None-Match" +_xasseca = "x-amz-server-side-encryption-customer-algorithm" +_xasseck = "x-amz-server-side-encryption-customer-key" +_xasseckM = "x-amz-server-side-encryption-customer-key-MD5" +_BKE = "BucketKeyEnabled" +_Ex = "Expiration" +_SSE = "ServerSideEncryption" +_SSEKMSKI = "SSEKMSKeyId" +_OVI = "ObjectVersionId" +_xae = "x-amz-expiration" +_xasse = "x-amz-server-side-encryption" +_VI = "VersionId" +_xavi = "x-amz-version-id" +_xasseakki = "x-amz-server-side-encryption-aws-kms-key-id" +_xassebke = "x-amz-server-side-encryption-bucket-key-enabled" +_CC = "CacheControl" +_CD = "ContentDisposition" +_CE = "ContentEncoding" +_CL = "ContentLanguage" +_CTo = "ContentType" +_Exp = "Expires" +_M = "Metadata" +_OLEH = "ObjectLockEventHold" +_OLEHDD = "ObjectLockEventHoldDurationDays" +_OLEHDY = "ObjectLockEventHoldDurationYears" +_OLLHS = "ObjectLockLegalHoldStatus" +_OLM = "ObjectLockMode" +_GOVERNANCE = "GOVERNANCE" +_COMPLIANCE = "COMPLIANCE" +_OLRUD = "ObjectLockRetainUntilDate" +_SC = "StorageClass" +_WRL = "WebsiteRedirectLocation" +_CC_ = "Cache-Control" +_CD_ = "Content-Disposition" +_CE_ = "Content-Encoding" +_CL_ = "Content-Language" +_CT_ = "Content-Type" +_sPH = "smithy.api#httpPrefixHeaders" +_xam = "x-amz-meta-" +_xasc = "x-amz-storage-class" +_xawrl = "x-amz-website-redirect-location" +_Ta = "Tagging" +_xaolm = "x-amz-object-lock-mode" +_xaolrud = "x-amz-object-lock-retain-until-date" +_xaollh = "x-amz-object-lock-legal-hold" +_xaoleh = "x-amz-object-lock-event-hold" +_xaolehdd = "x-amz-object-lock-event-hold-duration-days" +_xaolehdy = "x-amz-object-lock-event-hold-duration-years" +_LM = "LastModified" +_sCP = "smithy.rules#staticContextParams" +_Tag = "Tag" +_TS = "TagSet" +_ENABLED = "ENABLED" +_R = "Role" +_Da = "Days" +_aC = "aws.protocols#httpChecksum" +_vI = "versionId" +_DM = "DeleteMarker" +_xadm = "x-amz-delete-marker" +_AN = "AnnotationName" +_aN = "annotationName" +_xaovi = "x-amz-object-version-id" +_Si = "Size" +_Pr = "Prefix" +_A = "And" +_Fi = "Filter" +_Ru = "Rules" +_Rul = "Rule" +_AT = "AccessTier" +_RS = "ReplicationStatus" +_DMR = "DeleteMarkerReplication" +_EOR = "ExistingObjectReplication" +_RRF = "ReplicationRuleFilter" +_Pri = "Priority" +_RMS = "ReplicaModificationsStatus" +_RM = "ReplicaModifications" +_SKEOS = "SseKmsEncryptedObjectsStatus" +_SKEO = "SseKmsEncryptedObjects" +_SSC = "SourceSelectionCriteria" +_RRS = "ReplicationRuleStatus" +_RRe = "ReplicationRule" +_RRep = "ReplicationRules" +_RCe = "ReplicationConfiguration" +_GBRPI = "GetBucketRequestPaymentInput" +_cGBRPR = "com.amazonaws.s3#GetBucketRequestPaymentRequest" +_Pay = "Payer" +_Re = "Requester" +_BO = "BucketOwner" +_GBRPO = "GetBucketRequestPaymentOutput" +_RPC = "RequestPaymentConfiguration" +_GBRP = "GetBucketRequestPayment" +_GBTI = "GetBucketTaggingInput" +_cGBTR = "com.amazonaws.s3#GetBucketTaggingRequest" +_GBTO = "GetBucketTaggingOutput" +_GBT = "GetBucketTagging" +_GBVI = "GetBucketVersioningInput" +_cGBVR = "com.amazonaws.s3#GetBucketVersioningRequest" +_MFADS = "MFADeleteStatus" +_BVS = "BucketVersioningStatus" +_GBVO = "GetBucketVersioningOutput" +_VCe = "VersioningConfiguration" +_MFAD = "MFADelete" +_MDf = "MfaDelete" +_GBV = "GetBucketVersioning" +_GBWI = "GetBucketWebsiteInput" +_cGBWR = "com.amazonaws.s3#GetBucketWebsiteRequest" +_EDr = "ErrorDocument" +_Suf = "Suffix" +_IDnd = "IndexDocument" +_HN = "HostName" +_Pro = "Protocol" +_h = "http" +_ht = "https" +_RART = "RedirectAllRequestsTo" +_HECRE = "HttpErrorCodeReturnedEquals" +_KPE = "KeyPrefixEquals" +_Con = "Condition" +_HRC = "HttpRedirectCode" +_RKPW = "ReplaceKeyPrefixWith" +_RKW = "ReplaceKeyWith" +_Red = "Redirect" +_RRo = "RoutingRule" +_RRou = "RoutingRules" +_GBWO = "GetBucketWebsiteOutput" +_WC = "WebsiteConfiguration" +_GBW = "GetBucketWebsite" +_CMh = "ChecksumMode" +_IMSf = "IfModifiedSince" +_IUS = "IfUnmodifiedSince" +_Ra = "Range" +_RCC = "ResponseCacheControl" +_RCD = "ResponseContentDisposition" +_RCE = "ResponseContentEncoding" +_RCL = "ResponseContentLanguage" +_RCT = "ResponseContentType" +_REe = "ResponseExpires" +_GOI = "GetObjectInput" +_cGOR = "com.amazonaws.s3#GetObjectRequest" +_IMS_ = "If-Modified-Since" +_IUS_ = "If-Unmodified-Since" +_rcc = "response-cache-control" +_rcd = "response-content-disposition" +_rce = "response-content-encoding" +_rcl = "response-content-language" +_rct = "response-content-type" +_re = "response-expires" +_pN = "partNumber" +_xacm_ = "x-amz-checksum-mode" +_SB = "StreamingBlob" +_smithya = "smithy.api#streaming" +_CLo = "ContentLength" +_CR = "ContentRange" +_MM = "MissingMeta" +_PC = "PartsCount" +_Res = "Restore" +_TCa = "TagCount" +_GOO = "GetObjectOutput" +_Bo = "Body" +_smithyap = "smithy.api#default" +_v_ = "" +_ar___ = "accept-ranges" +_xar = "x-amz-restore" +_LM_ = "Last-Modified" +_CL__ = "Content-Length" +_xamm = "x-amz-missing-meta" +_CR_ = "Content-Range" +_xars = "x-amz-replication-status" +_xampc = "x-amz-mp-parts-count" +_xatc = "x-amz-tagging-count" +_IOS = "InvalidObjectState" +_GO = "GetObject" +_GOAI = "GetObjectAclInput" +_cGOAR = "com.amazonaws.s3#GetObjectAclRequest" +_GOAO = "GetObjectAclOutput" +_GOA = "GetObjectAcl" +_GOAIe = "GetObjectAnnotationInput" +_cGOARo = "com.amazonaws.s3#GetObjectAnnotationRequest" +_GOAOe = "GetObjectAnnotationOutput" +_AP = "AnnotationPayload" +_NSA = "NoSuchAnnotation" +_GOAe = "GetObjectAnnotation" +_MP = "MaxParts" +_OA = "ObjectAttributes" +_ETAG = "ETAG" +_CHECKSUM = "CHECKSUM" +_Ch = "Checksum" +_OP = "OBJECT_PARTS" +_OPb = "ObjectParts" +_SC___ = "STORAGE_CLASS" +_OS = "OBJECT_SIZE" +_OSb = "ObjectSize" +_OAL = "ObjectAttributesList" +_PNM = "PartNumberMarker" +_GOAIet = "GetObjectAttributesInput" +_cGOARom = "com.amazonaws.s3#GetObjectAttributesRequest" +_xamp = "x-amz-max-parts" +_xapnm = "x-amz-part-number-marker" +_xaoa = "x-amz-object-attributes" +_ITs = "IsTruncated" +_NPNM = "NextPartNumberMarker" +_OPbj = "ObjectPart" +_PL = "PartsList" +_GOAP = "GetObjectAttributesParts" +_TPC = "TotalPartsCount" +_GOAOet = "GetObjectAttributesOutput" +_GOAR = "GetObjectAttributesResponse" +_GOAet = "GetObjectAttributes" +_GOLHI = "GetObjectLegalHoldInput" +_cGOLHR = "com.amazonaws.s3#GetObjectLegalHoldRequest" +_OLLH = "ObjectLockLegalHold" +_GOLHO = "GetObjectLegalHoldOutput" +_LH = "LegalHold" +_GOLH = "GetObjectLegalHold" +_GOLCI = "GetObjectLockConfigurationInput" +_cGOLCR = "com.amazonaws.s3#GetObjectLockConfigurationRequest" +_OLE = "ObjectLockEnabled" +_Y = "Years" +_EHD = "EventHoldDuration" +_OLRM = "ObjectLockRetentionMode" +_DRef = "DefaultRetention" +_Mo = "Mode" +_DEH = "DefaultEventHold" +_OLC = "ObjectLockConfiguration" +_GOLCO = "GetObjectLockConfigurationOutput" +_GOLC = "GetObjectLockConfiguration" +_OLRb = "ObjectLockRetention" +_RUD = "RetainUntilDate" +_EHv = "EventHold" + +REPLICATION_RULE_FILTER: StaticSchema = ( + 18, + n0, + _RRF, + 0, + (_Pr, _Tag, _A), + ( + (lambda: schemas.PREFIX, 0), + (lambda: schemas.TAG, 0), + (lambda: schemas.REPLICATION_RULE_AND_OPERATOR, 0), + ), +) + +PRIORITY: StaticSchema = (7, n0, _Pri, 0) + +REPLICA_MODIFICATIONS_STATUS: StaticSchema = ( + 14, + n0, + _RMS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +REPLICA_MODIFICATIONS: StaticSchema = ( + 18, + n0, + _RM, + 0, + (_S,), + ((REPLICA_MODIFICATIONS_STATUS, 1),), +) + +SSE_KMS_ENCRYPTED_OBJECTS_STATUS: StaticSchema = ( + 14, + n0, + _SKEOS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +SSE_KMS_ENCRYPTED_OBJECTS: StaticSchema = ( + 18, + n0, + _SKEO, + 0, + (_S,), + ((SSE_KMS_ENCRYPTED_OBJECTS_STATUS, 1),), +) + +SOURCE_SELECTION_CRITERIA: StaticSchema = ( + 18, + n0, + _SSC, + 0, + (_SKEO, _RM), + ((SSE_KMS_ENCRYPTED_OBJECTS, 0), (REPLICA_MODIFICATIONS, 0)), +) + +REPLICATION_RULE_STATUS: StaticSchema = ( + 14, + n0, + _RRS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +REPLICATION_RULE: StaticSchema = ( + 18, + n0, + _RRe, + 0, + (_ID, _Pri, _Pr, _Fi, _S, _SSC, _EOR, _De, _DMR), + ( + (lambda: schemas.ID, 0), + (PRIORITY, 0), + (lambda: schemas.PREFIX, 0), + (REPLICATION_RULE_FILTER, 0), + (REPLICATION_RULE_STATUS, 1), + (SOURCE_SELECTION_CRITERIA, 0), + (lambda: schemas.EXISTING_OBJECT_REPLICATION, 0), + (lambda: schemas.DESTINATION, 1), + (lambda: schemas.DELETE_MARKER_REPLICATION, 0), + ), +) + +REPLICATION_RULES: StaticSchema = (16, n0, _RRep, 0, (_m,), ((REPLICATION_RULE, 0),)) + +REPLICATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RCe, + 0, + (_R, _Ru), + ( + (lambda: schemas.ROLE, 1), + (REPLICATION_RULES, {_sN: _Rul, _sFm: None, _sm: None}), + ), +) + +GET_BUCKET_REQUEST_PAYMENT_INPUT: StaticSchema = ( + 18, + n0, + _GBRPI, + {_sSI: _cGBRPR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_REQUEST_PAYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GBRPO, + {_sN: _RPC, _smi: None}, + (_Pay,), + ((lambda: PAYER, 0),), +) + +GET_BUCKET_REQUEST_PAYMENT: StaticOperationSchema = ( + 23, + n0, + _GBRP, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/?requestPayment", "code": 200} + ), + }, + GET_BUCKET_REQUEST_PAYMENT_INPUT, + GET_BUCKET_REQUEST_PAYMENT_OUTPUT, + (), +) + +PAYER: StaticSchema = ( + 14, + n0, + _Pay, + 0, + (_Re, _BO), + ((-1, {_sV: _Re}), (-1, {_sV: _BO})), +) + +GET_BUCKET_TAGGING_INPUT: StaticSchema = ( + 18, + n0, + _GBTI, + {_sSI: _cGBTR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_TAGGING_OUTPUT: StaticSchema = ( + 18, + n0, + _GBTO, + {_sN: _Ta, _smi: None}, + (_TS,), + ((lambda: schemas.TAG_SET, 1),), +) + +GET_BUCKET_TAGGING: StaticOperationSchema = ( + 23, + n0, + _GBT, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?tagging", "code": 200}), + }, + GET_BUCKET_TAGGING_INPUT, + GET_BUCKET_TAGGING_OUTPUT, + (), +) + +GET_BUCKET_VERSIONING_INPUT: StaticSchema = ( + 18, + n0, + _GBVI, + {_sSI: _cGBVR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_VERSIONING_OUTPUT: StaticSchema = ( + 18, + n0, + _GBVO, + {_sN: _VCe, _smi: None}, + (_S, _MFAD), + ((lambda: BUCKET_VERSIONING_STATUS, 0), (lambda: MFA_DELETE_STATUS, {_sN: _MDf})), +) + +GET_BUCKET_VERSIONING: StaticOperationSchema = ( + 23, + n0, + _GBV, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?versioning", "code": 200}), + }, + GET_BUCKET_VERSIONING_INPUT, + GET_BUCKET_VERSIONING_OUTPUT, + (), +) + +MFA_DELETE_STATUS: StaticSchema = ( + 14, + n0, + _MFADS, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +BUCKET_VERSIONING_STATUS: StaticSchema = ( + 14, + n0, + _BVS, + 0, + (_E, _Su), + ((-1, {_sV: _E}), (-1, {_sV: _Su})), +) + +GET_BUCKET_WEBSITE_INPUT: StaticSchema = ( + 18, + n0, + _GBWI, + {_sSI: _cGBWR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_BUCKET_WEBSITE_OUTPUT: StaticSchema = ( + 18, + n0, + _GBWO, + {_sN: _WC, _smi: None}, + (_RART, _IDnd, _EDr, _RRou), + ( + (lambda: REDIRECT_ALL_REQUESTS_TO, 0), + (lambda: INDEX_DOCUMENT, 0), + (lambda: ERROR_DOCUMENT, 0), + (lambda: ROUTING_RULES, 0), + ), +) + +GET_BUCKET_WEBSITE: StaticOperationSchema = ( + 23, + n0, + _GBW, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "GET", "uri": "/?website", "code": 200}), + }, + GET_BUCKET_WEBSITE_INPUT, + GET_BUCKET_WEBSITE_OUTPUT, + (), +) + +ERROR_DOCUMENT: StaticSchema = ( + 18, + n0, + _EDr, + 0, + (_K,), + ((lambda: schemas.OBJECT_KEY, 1),), +) + +SUFFIX: StaticSchema = (3, n0, _Suf, 0) + +INDEX_DOCUMENT: StaticSchema = (18, n0, _IDnd, 0, (_Suf,), ((SUFFIX, 1),)) + +HOST_NAME: StaticSchema = (3, n0, _HN, 0) + +PROTOCOL: StaticSchema = ( + 14, + n0, + _Pro, + 0, + (_h, _ht), + ((-1, {_sV: _h}), (-1, {_sV: _ht})), +) + +REDIRECT_ALL_REQUESTS_TO: StaticSchema = ( + 18, + n0, + _RART, + 0, + (_HN, _Pro), + ((HOST_NAME, 1), (PROTOCOL, 0)), +) + +HTTP_ERROR_CODE_RETURNED_EQUALS: StaticSchema = (3, n0, _HECRE, 0) + +KEY_PREFIX_EQUALS: StaticSchema = (3, n0, _KPE, 0) + +CONDITION: StaticSchema = ( + 18, + n0, + _Con, + 0, + (_HECRE, _KPE), + ((HTTP_ERROR_CODE_RETURNED_EQUALS, 0), (KEY_PREFIX_EQUALS, 0)), +) + +HTTP_REDIRECT_CODE: StaticSchema = (3, n0, _HRC, 0) + +REPLACE_KEY_PREFIX_WITH: StaticSchema = (3, n0, _RKPW, 0) + +REPLACE_KEY_WITH: StaticSchema = (3, n0, _RKW, 0) + +REDIRECT: StaticSchema = ( + 18, + n0, + _Red, + 0, + (_HN, _HRC, _Pro, _RKPW, _RKW), + ( + (HOST_NAME, 0), + (HTTP_REDIRECT_CODE, 0), + (PROTOCOL, 0), + (REPLACE_KEY_PREFIX_WITH, 0), + (REPLACE_KEY_WITH, 0), + ), +) + +ROUTING_RULE: StaticSchema = ( + 18, + n0, + _RRo, + 0, + (_Con, _Red), + ((CONDITION, 0), (REDIRECT, 1)), +) + +ROUTING_RULES: StaticSchema = (16, n0, _RRou, 0, (_m,), ((ROUTING_RULE, {_sN: _RRo}),)) + +CHECKSUM_MODE: StaticSchema = (14, n0, _CMh, 0, (_ENABLED,), ((-1, {_sV: _ENABLED}),)) + +IF_MODIFIED_SINCE: StaticSchema = (4, n0, _IMSf, 0) + +IF_UNMODIFIED_SINCE: StaticSchema = (4, n0, _IUS, 0) + +RANGE: StaticSchema = (3, n0, _Ra, 0) + +RESPONSE_CACHE_CONTROL: StaticSchema = (3, n0, _RCC, 0) + +RESPONSE_CONTENT_DISPOSITION: StaticSchema = (3, n0, _RCD, 0) + +RESPONSE_CONTENT_ENCODING: StaticSchema = (3, n0, _RCE, 0) + +RESPONSE_CONTENT_LANGUAGE: StaticSchema = (3, n0, _RCL, 0) + +RESPONSE_CONTENT_TYPE: StaticSchema = (3, n0, _RCT, 0) + +RESPONSE_EXPIRES: StaticSchema = (4, n0, _REe, {_sF: _hd}) + +GET_OBJECT_INPUT: StaticSchema = ( + 18, + n0, + _GOI, + {_sSI: _cGOR, _s: None}, + ( + _B, + _IM, + _IMSf, + _INM, + _IUS, + _K, + _Ra, + _RCC, + _RCD, + _RCE, + _RCL, + _RCT, + _REe, + _VI, + _SSECA, + _SSECK, + _SSECKMD, + _RP, + _PN, + _EBO, + _CMh, + ), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.IF_MATCH, {_sH: _IM_}), + (IF_MODIFIED_SINCE, {_sH: _IMS_}), + (lambda: schemas.IF_NONE_MATCH, {_sH: _INM_}), + (IF_UNMODIFIED_SINCE, {_sH: _IUS_}), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (RANGE, {_sH: _Ra}), + (RESPONSE_CACHE_CONTROL, {_sQ: _rcc}), + (RESPONSE_CONTENT_DISPOSITION, {_sQ: _rcd}), + (RESPONSE_CONTENT_ENCODING, {_sQ: _rce}), + (RESPONSE_CONTENT_LANGUAGE, {_sQ: _rcl}), + (RESPONSE_CONTENT_TYPE, {_sQ: _rct}), + (RESPONSE_EXPIRES, {_sQ: _re}), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.PART_NUMBER, {_sQ: _pN}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (CHECKSUM_MODE, {_sH: _xacm_}), + ), +) + +GET_OBJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _GOO, + {_smi: None}, + ( + _Bo, + _DM, + _AR, + _Ex, + _Res, + _LM, + _CLo, + _ET, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _CT, + _MM, + _VI, + _CC, + _CD, + _CE, + _CL, + _CR, + _CTo, + _Exp, + _WRL, + _SSE, + _M, + _SSECA, + _SSECKMD, + _SSEKMSKI, + _BKE, + _SC, + _RC, + _RS, + _PC, + _TCa, + _OLM, + _OLRUD, + _OLLHS, + _OLEH, + _OLEHDD, + _OLEHDY, + ), + ( + (lambda: STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), + (lambda: schemas.DELETE_MARKER, {_sH: _xadm}), + (lambda: schemas.ACCEPT_RANGES, {_sH: _ar___}), + (lambda: schemas.EXPIRATION, {_sH: _xae}), + (lambda: RESTORE, {_sH: _xar}), + (lambda: schemas.LAST_MODIFIED, {_sH: _LM_}), + (lambda: CONTENT_LENGTH, {_sH: _CL__}), + (lambda: schemas.E_TAG, {_sH: _ET}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xacx__}), + (lambda: schemas.CHECKSUM_TYPE, {_sH: _xact}), + (lambda: MISSING_META, {_sH: _xamm}), + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xavi}), + (lambda: schemas.CACHE_CONTROL, {_sH: _CC_}), + (lambda: schemas.CONTENT_DISPOSITION, {_sH: _CD_}), + (lambda: schemas.CONTENT_ENCODING, {_sH: _CE_}), + (lambda: schemas.CONTENT_LANGUAGE, {_sH: _CL_}), + (lambda: CONTENT_RANGE, {_sH: _CR_}), + (lambda: schemas.CONTENT_TYPE, {_sH: _CT_}), + (lambda: schemas.EXPIRES, {_sH: _Exp}), + (lambda: schemas.WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.METADATA, {_sPH: _xam}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (lambda: schemas.STORAGE_CLASS, {_sH: _xasc}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + (lambda: schemas.REPLICATION_STATUS, {_sH: _xars}), + (lambda: PARTS_COUNT, {_sH: _xampc}), + (lambda: TAG_COUNT, {_sH: _xatc}), + (lambda: schemas.OBJECT_LOCK_MODE, {_sH: _xaolm}), + (lambda: schemas.OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), + (lambda: schemas.OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), + ), +) + +GET_OBJECT: StaticOperationSchema = ( + 23, + n0, + _GO, + { + _aC: MappingProxyType( + { + "requestValidationModeMember": "ChecksumMode", + "responseAlgorithms": ( + "CRC64NVME", + "CRC32", + "CRC32C", + "SHA256", + "SHA1", + "SHA512", + "MD5", + "XXHASH64", + "XXHASH3", + "XXHASH128", + ), + } + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/{Key+}?x-id=GetObject", "code": 200} + ), + }, + GET_OBJECT_INPUT, + GET_OBJECT_OUTPUT, + (lambda: INVALID_OBJECT_STATE, lambda: schemas.NO_SUCH_KEY), +) + +STREAMING_BLOB: StaticSchema = (1, n0, _SB, {_smithya: None}) + +CONTENT_LENGTH: StaticSchema = (8, n0, _CLo, 0) + +CONTENT_RANGE: StaticSchema = (3, n0, _CR, 0) + +MISSING_META: StaticSchema = (7, n0, _MM, 0) + +PARTS_COUNT: StaticSchema = (7, n0, _PC, 0) + +RESTORE: StaticSchema = (3, n0, _Res, 0) + +TAG_COUNT: StaticSchema = (7, n0, _TCa, 0) + +INVALID_OBJECT_STATE: StaticSchema = ( + 18, + n0, + _IOS, + {_smit: _c, _sE: 403}, + (_SC, _AT), + ( + (lambda: schemas.STORAGE_CLASS, 0), + (lambda: schemas.INTELLIGENT_TIERING_ACCESS_TIER, 0), + ), +) + +GET_OBJECT_ACL_INPUT: StaticSchema = ( + 18, + n0, + _GOAI, + {_sSI: _cGOAR, _s: None}, + (_B, _K, _VI, _RP, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_OBJECT_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _GOAO, + {_sN: _ACP, _smi: None}, + (_O, _Gran, _RC), + ( + (lambda: schemas.OWNER, 0), + (lambda: schemas.GRANTS, {_sN: _ACL}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +GET_OBJECT_ACL: StaticOperationSchema = ( + 23, + n0, + _GOA, + {_smith: MappingProxyType({"method": "GET", "uri": "/{Key+}?acl", "code": 200})}, + GET_OBJECT_ACL_INPUT, + GET_OBJECT_ACL_OUTPUT, + (lambda: schemas.NO_SUCH_KEY,), +) + +GET_OBJECT_ANNOTATION_INPUT: StaticSchema = ( + 18, + n0, + _GOAIe, + {_sSI: _cGOARo, _s: None}, + (_B, _K, _AN, _VI, _RP, _EBO, _CMh), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ANNOTATION_NAME, {_sQ: _aN, _sm: None}), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (CHECKSUM_MODE, {_sH: _xacm_}), + ), +) + +GET_OBJECT_ANNOTATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GOAOe, + {_smi: None}, + ( + _AP, + _OVI, + _LM, + _CLo, + _ET, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _CT, + _SSE, + _RC, + _RS, + ), + ( + (STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xaovi}), + (lambda: schemas.LAST_MODIFIED, {_sH: _LM_}), + (CONTENT_LENGTH, {_sH: _CL__}), + (lambda: schemas.E_TAG, {_sH: _ET}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xacx__}), + (lambda: schemas.CHECKSUM_TYPE, {_sH: _xact}), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + (lambda: schemas.REPLICATION_STATUS, {_sH: _xars}), + ), +) + +GET_OBJECT_ANNOTATION: StaticOperationSchema = ( + 23, + n0, + _GOAe, + { + _aC: MappingProxyType( + { + "requestValidationModeMember": "ChecksumMode", + "responseAlgorithms": ( + "CRC64NVME", + "CRC32", + "CRC32C", + "SHA256", + "SHA1", + "SHA512", + "MD5", + "XXHASH64", + "XXHASH3", + "XXHASH128", + ), + } + ), + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/{Key+}?annotation&x-id=GetObjectAnnotation", + "code": 200, + } + ), + }, + GET_OBJECT_ANNOTATION_INPUT, + GET_OBJECT_ANNOTATION_OUTPUT, + ( + lambda: NO_SUCH_ANNOTATION, + lambda: schemas.NO_SUCH_BUCKET, + lambda: schemas.NO_SUCH_KEY, + ), +) + +NO_SUCH_ANNOTATION: StaticSchema = (18, n0, _NSA, {_smit: _c, _sE: 404}) + +MAX_PARTS: StaticSchema = (7, n0, _MP, 0) + +OBJECT_ATTRIBUTES: StaticSchema = ( + 14, + n0, + _OA, + 0, + (_ETAG, _CHECKSUM, _OP, _SC___, _OS), + ( + (-1, {_sV: _ET}), + (-1, {_sV: _Ch}), + (-1, {_sV: _OPb}), + (-1, {_sV: _SC}), + (-1, {_sV: _OSb}), + ), +) + +OBJECT_ATTRIBUTES_LIST: StaticSchema = ( + 16, + n0, + _OAL, + 0, + (_m,), + ((OBJECT_ATTRIBUTES, 0),), +) + +PART_NUMBER_MARKER: StaticSchema = (3, n0, _PNM, 0) + +GET_OBJECT_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _GOAIet, + {_sSI: _cGOARom, _s: None}, + (_B, _K, _VI, _MP, _PNM, _SSECA, _SSECK, _SSECKMD, _RP, _EBO, _OA), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (MAX_PARTS, {_sH: _xamp}), + (PART_NUMBER_MARKER, {_sH: _xapnm}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (OBJECT_ATTRIBUTES_LIST, {_sH: _xaoa, _sm: None}), + ), +) + +GET_OBJECT_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _GOAOet, + {_sN: _GOAR, _smi: None}, + (_DM, _LM, _VI, _RC, _ET, _Ch, _OPb, _SC, _OSb), + ( + (lambda: schemas.DELETE_MARKER, {_sH: _xadm}), + (lambda: schemas.LAST_MODIFIED, {_sH: _LM_}), + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xavi}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + (lambda: schemas.E_TAG, 0), + (lambda: CHECKSUM, 0), + (lambda: GET_OBJECT_ATTRIBUTES_PARTS, 0), + (lambda: schemas.STORAGE_CLASS, 0), + (lambda: OBJECT_SIZE, 0), + ), +) + +GET_OBJECT_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _GOAet, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/{Key+}?attributes", "code": 200} + ) + }, + GET_OBJECT_ATTRIBUTES_INPUT, + GET_OBJECT_ATTRIBUTES_OUTPUT, + (lambda: schemas.NO_SUCH_KEY,), +) + +CHECKSUM: StaticSchema = ( + 18, + n0, + _Ch, + 0, + ( + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _CT, + ), + ( + (lambda: schemas.CHECKSUM_CRC32, 0), + (lambda: schemas.CHECKSUM_CRC32_C, 0), + (lambda: schemas.CHECKSUM_CRC64_NVME, 0), + (lambda: schemas.CHECKSUM_SHA1, 0), + (lambda: schemas.CHECKSUM_SHA256, 0), + (lambda: schemas.CHECKSUM_SHA512, 0), + (lambda: schemas.CHECKSUM_MD5, 0), + (lambda: schemas.CHECKSUM_XXHASH64, 0), + (lambda: schemas.CHECKSUM_XXHASH3, 0), + (lambda: schemas.CHECKSUM_XXHASH128, 0), + (lambda: schemas.CHECKSUM_TYPE, 0), + ), +) + +NEXT_PART_NUMBER_MARKER: StaticSchema = (3, n0, _NPNM, 0) + +OBJECT_PART: StaticSchema = ( + 18, + n0, + _OPbj, + 0, + ( + _PN, + _Si, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + ), + ( + (lambda: schemas.PART_NUMBER, 0), + (lambda: schemas.SIZE, 0), + (lambda: schemas.CHECKSUM_CRC32, 0), + (lambda: schemas.CHECKSUM_CRC32_C, 0), + (lambda: schemas.CHECKSUM_CRC64_NVME, 0), + (lambda: schemas.CHECKSUM_SHA1, 0), + (lambda: schemas.CHECKSUM_SHA256, 0), + (lambda: schemas.CHECKSUM_SHA512, 0), + (lambda: schemas.CHECKSUM_MD5, 0), + (lambda: schemas.CHECKSUM_XXHASH64, 0), + (lambda: schemas.CHECKSUM_XXHASH3, 0), + (lambda: schemas.CHECKSUM_XXHASH128, 0), + ), +) + +PARTS_LIST: StaticSchema = (16, n0, _PL, 0, (_m,), ((OBJECT_PART, 0),)) + +GET_OBJECT_ATTRIBUTES_PARTS: StaticSchema = ( + 18, + n0, + _GOAP, + 0, + (_TPC, _PNM, _NPNM, _MP, _ITs, _Pa), + ( + (PARTS_COUNT, {_sN: _PC}), + (PART_NUMBER_MARKER, 0), + (NEXT_PART_NUMBER_MARKER, 0), + (MAX_PARTS, 0), + (lambda: schemas.IS_TRUNCATED, 0), + (PARTS_LIST, {_sN: _Par, _sFm: None}), + ), +) + +OBJECT_SIZE: StaticSchema = (8, n0, _OSb, 0) + +GET_OBJECT_LEGAL_HOLD_INPUT: StaticSchema = ( + 18, + n0, + _GOLHI, + {_sSI: _cGOLHR, _s: None}, + (_B, _K, _VI, _RP, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_OBJECT_LEGAL_HOLD_OUTPUT: StaticSchema = ( + 18, + n0, + _GOLHO, + {_smi: None}, + (_LH,), + ((lambda: OBJECT_LOCK_LEGAL_HOLD, {_sN: _LH, _sPm: None}),), +) + +GET_OBJECT_LEGAL_HOLD: StaticOperationSchema = ( + 23, + n0, + _GOLH, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/{Key+}?legal-hold", "code": 200} + ) + }, + GET_OBJECT_LEGAL_HOLD_INPUT, + GET_OBJECT_LEGAL_HOLD_OUTPUT, + (), +) + +OBJECT_LOCK_LEGAL_HOLD: StaticSchema = ( + 18, + n0, + _OLLH, + 0, + (_S,), + ((lambda: schemas.OBJECT_LOCK_LEGAL_HOLD_STATUS, 0),), +) + +GET_OBJECT_LOCK_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GOLCI, + {_sSI: _cGOLCR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_OBJECT_LOCK_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GOLCO, + {_smi: None}, + (_OLC,), + ((lambda: schemas.OBJECT_LOCK_CONFIGURATION, 16),), +) + +GET_OBJECT_LOCK_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GOLC, + {_smith: MappingProxyType({"method": "GET", "uri": "/?object-lock", "code": 200})}, + GET_OBJECT_LOCK_CONFIGURATION_INPUT, + GET_OBJECT_LOCK_CONFIGURATION_OUTPUT, + (), +) + +OBJECT_LOCK_ENABLED: StaticSchema = (14, n0, _OLE, 0, (_E,), ((-1, {_sV: _E}),)) + +YEARS: StaticSchema = (7, n0, _Y, 0) + +EVENT_HOLD_DURATION: StaticSchema = ( + 18, + n0, + _EHD, + 0, + (_Da, _Y), + ((lambda: schemas.DAYS, 0), (YEARS, 0)), +) + +OBJECT_LOCK_RETENTION_MODE: StaticSchema = ( + 14, + n0, + _OLRM, + 0, + (_GOVERNANCE, _COMPLIANCE), + ((-1, {_sV: _GOVERNANCE}), (-1, {_sV: _COMPLIANCE})), +) + +DEFAULT_RETENTION: StaticSchema = ( + 18, + n0, + _DRef, + 0, + (_Mo, _Da, _Y, _DEH), + ( + (OBJECT_LOCK_RETENTION_MODE, 0), + (lambda: schemas.DAYS, 0), + (YEARS, 0), + (EVENT_HOLD_DURATION, 0), + ), +) + +OBJECT_LOCK_RETENTION: StaticSchema = ( + 18, + n0, + _OLRb, + 0, + (_Mo, _RUD, _EHv, _EHD), + ( + (OBJECT_LOCK_RETENTION_MODE, 0), + (lambda: schemas.DATE, 0), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD, 0), + (EVENT_HOLD_DURATION, 0), + ), +) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_5.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_5.py new file mode 100644 index 000000000..77132d988 --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_5.py @@ -0,0 +1,1380 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.s3" +_sV = "smithy.api#enumValue" +_RP = "RequestPayer" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_B = "Bucket" +_sP = "smithy.rules#contextParam" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_K = "Key" +_UI = "UploadId" +_sQ = "smithy.api#httpQuery" +_sH = "smithy.api#httpHeader" +_xarp = "x-amz-request-payer" +_EBO = "ExpectedBucketOwner" +_xaebo = "x-amz-expected-bucket-owner" +_RC = "RequestCharged" +_smi = "smithy.api#output" +_xarc = "x-amz-request-charged" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_smith = "smithy.api#http" +_AR = "AcceptRanges" +_sN = "smithy.api#xmlName" +_m = "member" +_O = "Owner" +_APA = "AccessPointAlias" +_CCRC = "ChecksumCRC32" +_CCRCC = "ChecksumCRC32C" +_CCRCNVME = "ChecksumCRC64NVME" +_CMD = "ChecksumMD5" +_CSHA = "ChecksumSHA1" +_CSHAh = "ChecksumSHA256" +_CSHAhe = "ChecksumSHA512" +_CT = "ChecksumType" +_CXXHASH = "ChecksumXXHASH128" +_CXXHASHh = "ChecksumXXHASH3" +_CXXHASHhe = "ChecksumXXHASH64" +_IM = "IfMatch" +_INM = "IfNoneMatch" +_ET = "ETag" +_PN = "PartNumber" +_sFm = "smithy.api#xmlFlattened" +_SSECA = "SSECustomerAlgorithm" +_SSECK = "SSECustomerKey" +_SSECKMD = "SSECustomerKeyMD5" +_MU = "MultipartUpload" +_sPm = "smithy.api#httpPayload" +_xacc = "x-amz-checksum-crc32" +_xacc_ = "x-amz-checksum-crc32c" +_xacc__ = "x-amz-checksum-crc64nvme" +_xacs = "x-amz-checksum-sha1" +_xacs_ = "x-amz-checksum-sha256" +_xacs__ = "x-amz-checksum-sha512" +_xacm = "x-amz-checksum-md5" +_xacx = "x-amz-checksum-xxhash64" +_xacx_ = "x-amz-checksum-xxhash3" +_xacx__ = "x-amz-checksum-xxhash128" +_xact = "x-amz-checksum-type" +_IM_ = "If-Match" +_INM_ = "If-None-Match" +_xasseca = "x-amz-server-side-encryption-customer-algorithm" +_xasseck = "x-amz-server-side-encryption-customer-key" +_xasseckM = "x-amz-server-side-encryption-customer-key-MD5" +_BKE = "BucketKeyEnabled" +_Ex = "Expiration" +_SSE = "ServerSideEncryption" +_SSEKMSKI = "SSEKMSKeyId" +_OVI = "ObjectVersionId" +_xae = "x-amz-expiration" +_xasse = "x-amz-server-side-encryption" +_VI = "VersionId" +_xavi = "x-amz-version-id" +_xasseakki = "x-amz-server-side-encryption-aws-kms-key-id" +_xassebke = "x-amz-server-side-encryption-bucket-key-enabled" +_CC = "CacheControl" +_CA = "ChecksumAlgorithm" +_CD = "ContentDisposition" +_CE = "ContentEncoding" +_CL = "ContentLanguage" +_CTo = "ContentType" +_Exp = "Expires" +_M = "Metadata" +_OLEH = "ObjectLockEventHold" +_OLEHDD = "ObjectLockEventHoldDurationDays" +_OLEHDY = "ObjectLockEventHoldDurationYears" +_OLLHS = "ObjectLockLegalHoldStatus" +_OLM = "ObjectLockMode" +_OLRUD = "ObjectLockRetainUntilDate" +_SC = "StorageClass" +_WRL = "WebsiteRedirectLocation" +_CC_ = "Cache-Control" +_CD_ = "Content-Disposition" +_CE_ = "Content-Encoding" +_CL_ = "Content-Language" +_CT_ = "Content-Type" +_sPH = "smithy.api#httpPrefixHeaders" +_xam = "x-amz-meta-" +_xasc = "x-amz-storage-class" +_xawrl = "x-amz-website-redirect-location" +_Ta = "Tagging" +_xaolm = "x-amz-object-lock-mode" +_xaolrud = "x-amz-object-lock-retain-until-date" +_xaollh = "x-amz-object-lock-legal-hold" +_xaoleh = "x-amz-object-lock-event-hold" +_xaolehdd = "x-amz-object-lock-event-hold-duration-days" +_xaolehdy = "x-amz-object-lock-event-hold-duration-years" +_LM = "LastModified" +_sCP = "smithy.rules#staticContextParams" +_N = "Name" +_TS = "TagSet" +_SROSEBAS = "S3RegionalOrS3ExpressBucketArnString" +_BA = "BucketArn" +_xaba = "x-amz-bucket-arn" +_vI = "versionId" +_DM = "DeleteMarker" +_xadm = "x-amz-delete-marker" +_AN = "AnnotationName" +_xaovi = "x-amz-object-version-id" +_Si = "Size" +_Pr = "Prefix" +_ACn = "AnalyticsConfiguration" +_Rul = "Rule" +_AA = "ARCHIVE_ACCESS" +_DAA = "DEEP_ARCHIVE_ACCESS" +_ITCn = "IntelligentTieringConfiguration" +_RS = "ReplicationStatus" +_IC = "InventoryConfiguration" +_MCe = "MetricsConfiguration" +_pre = "prefix" +_CMh = "ChecksumMode" +_IMSf = "IfModifiedSince" +_IUS = "IfUnmodifiedSince" +_Ra = "Range" +_RCC = "ResponseCacheControl" +_RCD = "ResponseContentDisposition" +_RCE = "ResponseContentEncoding" +_RCL = "ResponseContentLanguage" +_RCT = "ResponseContentType" +_REe = "ResponseExpires" +_IMS_ = "If-Modified-Since" +_IUS_ = "If-Unmodified-Since" +_rcc = "response-cache-control" +_rcd = "response-content-disposition" +_rce = "response-content-encoding" +_rcl = "response-content-language" +_rct = "response-content-type" +_re = "response-expires" +_pN = "partNumber" +_xacm_ = "x-amz-checksum-mode" +_CLo = "ContentLength" +_CR = "ContentRange" +_MM = "MissingMeta" +_PC = "PartsCount" +_Res = "Restore" +_TCa = "TagCount" +_Bo = "Body" +_smithyap = "smithy.api#default" +_v_ = "" +_ar___ = "accept-ranges" +_xar = "x-amz-restore" +_LM_ = "Last-Modified" +_CL__ = "Content-Length" +_xamm = "x-amz-missing-meta" +_CR_ = "Content-Range" +_xars = "x-amz-replication-status" +_xampc = "x-amz-mp-parts-count" +_xatc = "x-amz-tagging-count" +_ITs = "IsTruncated" +_OLE = "ObjectLockEnabled" +_DRef = "DefaultRetention" +_OLR = "ObjectLockRule" +_OLC = "ObjectLockConfiguration" +_GORI = "GetObjectRetentionInput" +_cGORR = "com.amazonaws.s3#GetObjectRetentionRequest" +_GORO = "GetObjectRetentionOutput" +_Ret = "Retention" +_GOR = "GetObjectRetention" +_GOTI = "GetObjectTaggingInput" +_cGOTR = "com.amazonaws.s3#GetObjectTaggingRequest" +_GOTO = "GetObjectTaggingOutput" +_GOT = "GetObjectTagging" +_GOTIe = "GetObjectTorrentInput" +_cGOTRo = "com.amazonaws.s3#GetObjectTorrentRequest" +_GOTOe = "GetObjectTorrentOutput" +_GOTe = "GetObjectTorrent" +_GPABI = "GetPublicAccessBlockInput" +_cGPABR = "com.amazonaws.s3#GetPublicAccessBlockRequest" +_Se = "Setting" +_PABC = "PublicAccessBlockConfiguration" +_BPA = "BlockPublicAcls" +_IPA = "IgnorePublicAcls" +_BPP = "BlockPublicPolicy" +_RPB = "RestrictPublicBuckets" +_GPABO = "GetPublicAccessBlockOutput" +_GPAB = "GetPublicAccessBlock" +_HBI = "HeadBucketInput" +_cHBR = "com.amazonaws.s3#HeadBucketRequest" +_BLN = "BucketLocationName" +_Reg = "Region" +_HBO = "HeadBucketOutput" +_BLT = "BucketLocationType" +_xablt = "x-amz-bucket-location-type" +_xabln = "x-amz-bucket-location-name" +_BR = "BucketRegion" +_xabr = "x-amz-bucket-region" +_xaapa = "x-amz-access-point-alias" +_NF = "NotFound" +_HB = "HeadBucket" +_HOI = "HeadObjectInput" +_cHOR = "com.amazonaws.s3#HeadObjectRequest" +_ASr = "ArchiveStatus" +_HOO = "HeadObjectOutput" +_xaas = "x-amz-archive-status" +_HO = "HeadObject" +_Tok = "Token" +_LBACI = "ListBucketAnalyticsConfigurationsInput" +_cLBACR = "com.amazonaws.s3#ListBucketAnalyticsConfigurationsRequest" +_CTon = "ContinuationToken" +_ct = "continuation-token" +_ACLn = "AnalyticsConfigurationList" +_NT = "NextToken" +_LBACO = "ListBucketAnalyticsConfigurationsOutput" +_LBACR = "ListBucketAnalyticsConfigurationResult" +_NCT = "NextContinuationToken" +_LBAC = "ListBucketAnalyticsConfigurations" +_LBITCI = "ListBucketIntelligentTieringConfigurationsInput" +_cLBITCR = "com.amazonaws.s3#ListBucketIntelligentTieringConfigurationsRequest" +_ITCL = "IntelligentTieringConfigurationList" +_LBITCO = "ListBucketIntelligentTieringConfigurationsOutput" +_LBITC = "ListBucketIntelligentTieringConfigurations" +_LBICI = "ListBucketInventoryConfigurationsInput" +_cLBICR = "com.amazonaws.s3#ListBucketInventoryConfigurationsRequest" +_ICL = "InventoryConfigurationList" +_LBICO = "ListBucketInventoryConfigurationsOutput" +_LICR = "ListInventoryConfigurationsResult" +_LBIC = "ListBucketInventoryConfigurations" +_LBMCI = "ListBucketMetricsConfigurationsInput" +_cLBMCR = "com.amazonaws.s3#ListBucketMetricsConfigurationsRequest" +_MCL = "MetricsConfigurationList" +_LBMCO = "ListBucketMetricsConfigurationsOutput" +_LMCR = "ListMetricsConfigurationsResult" +_LBMC = "ListBucketMetricsConfigurations" +_MB = "MaxBuckets" +_LBI = "ListBucketsInput" +_cLBR = "com.amazonaws.s3#ListBucketsRequest" +_mb = "max-buckets" +_br = "bucket-region" +_CDr = "CreationDate" +_Bu = "Buckets" +_LBO = "ListBucketsOutput" +_LAMBR = "ListAllMyBucketsResult" +_LB = "ListBuckets" +_DBTi = "DirectoryBucketToken" +_MDB = "MaxDirectoryBuckets" +_LDBI = "ListDirectoryBucketsInput" +_cLDBR = "com.amazonaws.s3#ListDirectoryBucketsRequest" +_mdb = "max-directory-buckets" +_LDBO = "ListDirectoryBucketsOutput" +_LAMDBR = "ListAllMyDirectoryBucketsResult" +_LDB = "ListDirectoryBuckets" +_Deli = "Delimiter" +_ETnc = "EncodingType" +_u = "url" +_KM = "KeyMarker" +_MUa = "MaxUploads" +_UIM = "UploadIdMarker" +_LMUI = "ListMultipartUploadsInput" +_cLMUR = "com.amazonaws.s3#ListMultipartUploadsRequest" +_d = "delimiter" +_et = "encoding-type" +_km = "key-marker" +_mu = "max-uploads" +_uim = "upload-id-marker" +_CPo = "CommonPrefix" +_CPLo = "CommonPrefixList" +_NKM = "NextKeyMarker" +_NUIM = "NextUploadIdMarker" +_In = "Initiated" +_Ini = "Initiator" +_MUL = "MultipartUploadList" +_LMUO = "ListMultipartUploadsOutput" +_LMUR = "ListMultipartUploadsResult" +_U = "Uploads" +_Up = "Upload" +_CPom = "CommonPrefixes" +_LMU = "ListMultipartUploads" +_IPn = "InvalidPrefix" +_APn = "AnnotationPrefix" +_MAR = "MaxAnnotationResults" +_LOAI = "ListObjectAnnotationsInput" +_cLOAR = "com.amazonaws.s3#ListObjectAnnotationsRequest" +_mar = "max-annotation-results" +_ap = "annotation-prefix" +_ACnn = "AnnotationCount" +_CAL = "ChecksumAlgorithmList" +_AE = "AnnotationEntry" +_AL = "AnnotationList" +_LOAO = "ListObjectAnnotationsOutput" +_An = "Annotations" +_LOA = "ListObjectAnnotations" +_Ma = "Marker" +_MKa = "MaxKeys" +_OOA = "OptionalObjectAttributes" +_RS_ = "RESTORE_STATUS" +_RSe = "RestoreStatus" +_OOAL = "OptionalObjectAttributesList" +_LOI = "ListObjectsInput" +_cLOR = "com.amazonaws.s3#ListObjectsRequest" +_ma = "marker" +_mk = "max-keys" +_xaooa = "x-amz-optional-object-attributes" +_NM = "NextMarker" +_LOO = "ListObjectsOutput" +_LBR = "ListBucketResult" +_Cont = "Contents" +_LO = "ListObjects" + +S3_REGIONAL_OR_S3_EXPRESS_BUCKET_ARN_STRING: StaticSchema = (3, n0, _SROSEBAS, 0) + +OBJECT_LOCK_RULE: StaticSchema = ( + 18, + n0, + _OLR, + 0, + (_DRef,), + ((lambda: schemas.DEFAULT_RETENTION, 0),), +) + +OBJECT_LOCK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _OLC, + 0, + (_OLE, _Rul), + ((lambda: schemas.OBJECT_LOCK_ENABLED, 0), (OBJECT_LOCK_RULE, 0)), +) + +GET_OBJECT_RETENTION_INPUT: StaticSchema = ( + 18, + n0, + _GORI, + {_sSI: _cGORR, _s: None}, + (_B, _K, _VI, _RP, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_OBJECT_RETENTION_OUTPUT: StaticSchema = ( + 18, + n0, + _GORO, + {_smi: None}, + (_Ret,), + ((lambda: schemas.OBJECT_LOCK_RETENTION, {_sN: _Ret, _sPm: None}),), +) + +GET_OBJECT_RETENTION: StaticOperationSchema = ( + 23, + n0, + _GOR, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/{Key+}?retention", "code": 200} + ) + }, + GET_OBJECT_RETENTION_INPUT, + GET_OBJECT_RETENTION_OUTPUT, + (), +) + +GET_OBJECT_TAGGING_INPUT: StaticSchema = ( + 18, + n0, + _GOTI, + {_sSI: _cGOTR, _s: None}, + (_B, _K, _VI, _EBO, _RP), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + ), +) + +GET_OBJECT_TAGGING_OUTPUT: StaticSchema = ( + 18, + n0, + _GOTO, + {_sN: _Ta, _smi: None}, + (_VI, _TS), + ((lambda: schemas.OBJECT_VERSION_ID, {_sH: _xavi}), (lambda: schemas.TAG_SET, 1)), +) + +GET_OBJECT_TAGGING: StaticOperationSchema = ( + 23, + n0, + _GOT, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/{Key+}?tagging", "code": 200} + ) + }, + GET_OBJECT_TAGGING_INPUT, + GET_OBJECT_TAGGING_OUTPUT, + (), +) + +GET_OBJECT_TORRENT_INPUT: StaticSchema = ( + 18, + n0, + _GOTIe, + {_sSI: _cGOTRo, _s: None}, + (_B, _K, _RP, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_OBJECT_TORRENT_OUTPUT: StaticSchema = ( + 18, + n0, + _GOTOe, + {_smi: None}, + (_Bo, _RC), + ( + (lambda: schemas.STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +GET_OBJECT_TORRENT: StaticOperationSchema = ( + 23, + n0, + _GOTe, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/{Key+}?torrent", "code": 200} + ) + }, + GET_OBJECT_TORRENT_INPUT, + GET_OBJECT_TORRENT_OUTPUT, + (), +) + +GET_PUBLIC_ACCESS_BLOCK_INPUT: StaticSchema = ( + 18, + n0, + _GPABI, + {_sSI: _cGPABR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +GET_PUBLIC_ACCESS_BLOCK_OUTPUT: StaticSchema = ( + 18, + n0, + _GPABO, + {_smi: None}, + (_PABC,), + ((lambda: PUBLIC_ACCESS_BLOCK_CONFIGURATION, 16),), +) + +GET_PUBLIC_ACCESS_BLOCK: StaticOperationSchema = ( + 23, + n0, + _GPAB, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/?publicAccessBlock", "code": 200} + ), + }, + GET_PUBLIC_ACCESS_BLOCK_INPUT, + GET_PUBLIC_ACCESS_BLOCK_OUTPUT, + (), +) + +SETTING: StaticSchema = (2, n0, _Se, 0) + +PUBLIC_ACCESS_BLOCK_CONFIGURATION: StaticSchema = ( + 18, + n0, + _PABC, + 0, + (_BPA, _IPA, _BPP, _RPB), + ( + (SETTING, {_sN: _BPA}), + (SETTING, {_sN: _IPA}), + (SETTING, {_sN: _BPP}), + (SETTING, {_sN: _RPB}), + ), +) + +HEAD_BUCKET_INPUT: StaticSchema = ( + 18, + n0, + _HBI, + {_sSI: _cHBR, _s: None}, + (_B, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +HEAD_BUCKET_OUTPUT: StaticSchema = ( + 18, + n0, + _HBO, + {_smi: None}, + (_BA, _BLT, _BLN, _BR, _APA), + ( + (S3_REGIONAL_OR_S3_EXPRESS_BUCKET_ARN_STRING, {_sH: _xaba}), + (lambda: schemas.LOCATION_TYPE, {_sH: _xablt}), + (lambda: BUCKET_LOCATION_NAME, {_sH: _xabln}), + (lambda: REGION, {_sH: _xabr}), + (lambda: schemas.ACCESS_POINT_ALIAS, {_sH: _xaapa}), + ), +) + +HEAD_BUCKET: StaticOperationSchema = ( + 23, + n0, + _HB, + {_smith: MappingProxyType({"method": "HEAD", "uri": "/", "code": 200})}, + HEAD_BUCKET_INPUT, + HEAD_BUCKET_OUTPUT, + (lambda: NOT_FOUND,), +) + +BUCKET_LOCATION_NAME: StaticSchema = (3, n0, _BLN, 0) + +REGION: StaticSchema = (3, n0, _Reg, 0) + +NOT_FOUND: StaticSchema = (18, n0, _NF, {_smit: _c}) + +HEAD_OBJECT_INPUT: StaticSchema = ( + 18, + n0, + _HOI, + {_sSI: _cHOR, _s: None}, + ( + _B, + _IM, + _IMSf, + _INM, + _IUS, + _K, + _Ra, + _RCC, + _RCD, + _RCE, + _RCL, + _RCT, + _REe, + _VI, + _SSECA, + _SSECK, + _SSECKMD, + _RP, + _PN, + _EBO, + _CMh, + ), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.IF_MATCH, {_sH: _IM_}), + (lambda: schemas.IF_MODIFIED_SINCE, {_sH: _IMS_}), + (lambda: schemas.IF_NONE_MATCH, {_sH: _INM_}), + (lambda: schemas.IF_UNMODIFIED_SINCE, {_sH: _IUS_}), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (lambda: schemas.RANGE, {_sH: _Ra}), + (lambda: schemas.RESPONSE_CACHE_CONTROL, {_sQ: _rcc}), + (lambda: schemas.RESPONSE_CONTENT_DISPOSITION, {_sQ: _rcd}), + (lambda: schemas.RESPONSE_CONTENT_ENCODING, {_sQ: _rce}), + (lambda: schemas.RESPONSE_CONTENT_LANGUAGE, {_sQ: _rcl}), + (lambda: schemas.RESPONSE_CONTENT_TYPE, {_sQ: _rct}), + (lambda: schemas.RESPONSE_EXPIRES, {_sQ: _re}), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.PART_NUMBER, {_sQ: _pN}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.CHECKSUM_MODE, {_sH: _xacm_}), + ), +) + +HEAD_OBJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _HOO, + {_smi: None}, + ( + _DM, + _AR, + _Ex, + _Res, + _ASr, + _LM, + _CLo, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _CT, + _ET, + _MM, + _VI, + _CC, + _CD, + _CE, + _CL, + _CTo, + _CR, + _Exp, + _WRL, + _SSE, + _M, + _SSECA, + _SSECKMD, + _SSEKMSKI, + _BKE, + _SC, + _RC, + _RS, + _PC, + _TCa, + _OLM, + _OLRUD, + _OLLHS, + _OLEH, + _OLEHDD, + _OLEHDY, + ), + ( + (lambda: schemas.DELETE_MARKER, {_sH: _xadm}), + (lambda: schemas.ACCEPT_RANGES, {_sH: _ar___}), + (lambda: schemas.EXPIRATION, {_sH: _xae}), + (lambda: schemas.RESTORE, {_sH: _xar}), + (lambda: ARCHIVE_STATUS, {_sH: _xaas}), + (lambda: schemas.LAST_MODIFIED, {_sH: _LM_}), + (lambda: schemas.CONTENT_LENGTH, {_sH: _CL__}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xacx__}), + (lambda: schemas.CHECKSUM_TYPE, {_sH: _xact}), + (lambda: schemas.E_TAG, {_sH: _ET}), + (lambda: schemas.MISSING_META, {_sH: _xamm}), + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xavi}), + (lambda: schemas.CACHE_CONTROL, {_sH: _CC_}), + (lambda: schemas.CONTENT_DISPOSITION, {_sH: _CD_}), + (lambda: schemas.CONTENT_ENCODING, {_sH: _CE_}), + (lambda: schemas.CONTENT_LANGUAGE, {_sH: _CL_}), + (lambda: schemas.CONTENT_TYPE, {_sH: _CT_}), + (lambda: schemas.CONTENT_RANGE, {_sH: _CR_}), + (lambda: schemas.EXPIRES, {_sH: _Exp}), + (lambda: schemas.WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.METADATA, {_sPH: _xam}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (lambda: schemas.STORAGE_CLASS, {_sH: _xasc}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + (lambda: schemas.REPLICATION_STATUS, {_sH: _xars}), + (lambda: schemas.PARTS_COUNT, {_sH: _xampc}), + (lambda: schemas.TAG_COUNT, {_sH: _xatc}), + (lambda: schemas.OBJECT_LOCK_MODE, {_sH: _xaolm}), + (lambda: schemas.OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), + (lambda: schemas.OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), + ), +) + +HEAD_OBJECT: StaticOperationSchema = ( + 23, + n0, + _HO, + {_smith: MappingProxyType({"method": "HEAD", "uri": "/{Key+}", "code": 200})}, + HEAD_OBJECT_INPUT, + HEAD_OBJECT_OUTPUT, + (NOT_FOUND,), +) + +ARCHIVE_STATUS: StaticSchema = ( + 14, + n0, + _ASr, + 0, + (_AA, _DAA), + ((-1, {_sV: _AA}), (-1, {_sV: _DAA})), +) + +TOKEN: StaticSchema = (3, n0, _Tok, 0) + +LIST_BUCKET_ANALYTICS_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LBACI, + {_sSI: _cLBACR, _s: None}, + (_B, _CTon, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (TOKEN, {_sQ: _ct}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +LIST_BUCKET_ANALYTICS_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBACO, + {_sN: _LBACR, _smi: None}, + (_ITs, _CTon, _NCT, _ACLn), + ( + (lambda: schemas.IS_TRUNCATED, 0), + (TOKEN, 0), + (lambda: NEXT_TOKEN, 0), + (lambda: ANALYTICS_CONFIGURATION_LIST, {_sN: _ACn, _sFm: None}), + ), +) + +LIST_BUCKET_ANALYTICS_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _LBAC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/?analytics&x-id=ListBucketAnalyticsConfigurations", + "code": 200, + } + ), + }, + LIST_BUCKET_ANALYTICS_CONFIGURATIONS_INPUT, + LIST_BUCKET_ANALYTICS_CONFIGURATIONS_OUTPUT, + (), +) + +ANALYTICS_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _ACLn, + 0, + (_m,), + ((lambda: schemas.ANALYTICS_CONFIGURATION, 0),), +) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LBITCI, + {_sSI: _cLBITCR, _s: None}, + (_B, _CTon, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (TOKEN, {_sQ: _ct}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBITCO, + {_smi: None}, + (_ITs, _CTon, _NCT, _ITCL), + ( + (lambda: schemas.IS_TRUNCATED, 0), + (TOKEN, 0), + (NEXT_TOKEN, 0), + (lambda: INTELLIGENT_TIERING_CONFIGURATION_LIST, {_sN: _ITCn, _sFm: None}), + ), +) + +LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _LBITC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/?intelligent-tiering&x-id=ListBucketIntelligentTieringConfigurations", + "code": 200, + } + ), + }, + LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_INPUT, + LIST_BUCKET_INTELLIGENT_TIERING_CONFIGURATIONS_OUTPUT, + (), +) + +INTELLIGENT_TIERING_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _ITCL, + 0, + (_m,), + ((lambda: schemas.INTELLIGENT_TIERING_CONFIGURATION, 0),), +) + +LIST_BUCKET_INVENTORY_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LBICI, + {_sSI: _cLBICR, _s: None}, + (_B, _CTon, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (TOKEN, {_sQ: _ct}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +LIST_BUCKET_INVENTORY_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBICO, + {_sN: _LICR, _smi: None}, + (_CTon, _ICL, _ITs, _NCT), + ( + (TOKEN, 0), + (lambda: INVENTORY_CONFIGURATION_LIST, {_sN: _IC, _sFm: None}), + (lambda: schemas.IS_TRUNCATED, 0), + (NEXT_TOKEN, 0), + ), +) + +LIST_BUCKET_INVENTORY_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _LBIC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/?inventory&x-id=ListBucketInventoryConfigurations", + "code": 200, + } + ), + }, + LIST_BUCKET_INVENTORY_CONFIGURATIONS_INPUT, + LIST_BUCKET_INVENTORY_CONFIGURATIONS_OUTPUT, + (), +) + +INVENTORY_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _ICL, + 0, + (_m,), + ((lambda: schemas.INVENTORY_CONFIGURATION, 0),), +) + +LIST_BUCKET_METRICS_CONFIGURATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LBMCI, + {_sSI: _cLBMCR, _s: None}, + (_B, _CTon, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (TOKEN, {_sQ: _ct}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +LIST_BUCKET_METRICS_CONFIGURATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBMCO, + {_sN: _LMCR, _smi: None}, + (_ITs, _CTon, _NCT, _MCL), + ( + (lambda: schemas.IS_TRUNCATED, 0), + (TOKEN, 0), + (NEXT_TOKEN, 0), + (lambda: METRICS_CONFIGURATION_LIST, {_sN: _MCe, _sFm: None}), + ), +) + +LIST_BUCKET_METRICS_CONFIGURATIONS: StaticOperationSchema = ( + 23, + n0, + _LBMC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/?metrics&x-id=ListBucketMetricsConfigurations", + "code": 200, + } + ), + }, + LIST_BUCKET_METRICS_CONFIGURATIONS_INPUT, + LIST_BUCKET_METRICS_CONFIGURATIONS_OUTPUT, + (), +) + +METRICS_CONFIGURATION_LIST: StaticSchema = ( + 16, + n0, + _MCL, + 0, + (_m,), + ((lambda: schemas.METRICS_CONFIGURATION, 0),), +) + +BUCKET_REGION: StaticSchema = (3, n0, _BR, 0) + +MAX_BUCKETS: StaticSchema = (7, n0, _MB, 0) + +LIST_BUCKETS_INPUT: StaticSchema = ( + 18, + n0, + _LBI, + {_sSI: _cLBR, _s: None}, + (_MB, _CTon, _Pr, _BR), + ( + (MAX_BUCKETS, {_sQ: _mb}), + (TOKEN, {_sQ: _ct}), + (lambda: schemas.PREFIX, {_sQ: _pre}), + (BUCKET_REGION, {_sQ: _br}), + ), +) + +LIST_BUCKETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LBO, + {_sN: _LAMBR, _smi: None}, + (_Bu, _O, _CTon, _Pr), + ( + (lambda: BUCKETS, 0), + (lambda: schemas.OWNER, 0), + (NEXT_TOKEN, 0), + (lambda: schemas.PREFIX, 0), + ), +) + +LIST_BUCKETS: StaticOperationSchema = ( + 23, + n0, + _LB, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/?x-id=ListBuckets", "code": 200} + ) + }, + LIST_BUCKETS_INPUT, + LIST_BUCKETS_OUTPUT, + (), +) + +CREATION_DATE: StaticSchema = (4, n0, _CDr, 0) + +BUCKET: StaticSchema = ( + 18, + n0, + _B, + 0, + (_N, _CDr, _BR, _BA), + ( + (lambda: schemas.BUCKET_NAME, 0), + (CREATION_DATE, 0), + (BUCKET_REGION, 0), + (S3_REGIONAL_OR_S3_EXPRESS_BUCKET_ARN_STRING, 0), + ), +) + +BUCKETS: StaticSchema = (16, n0, _Bu, 0, (_m,), ((BUCKET, {_sN: _B}),)) + +DIRECTORY_BUCKET_TOKEN: StaticSchema = (3, n0, _DBTi, 0) + +MAX_DIRECTORY_BUCKETS: StaticSchema = (7, n0, _MDB, 0) + +LIST_DIRECTORY_BUCKETS_INPUT: StaticSchema = ( + 18, + n0, + _LDBI, + {_sSI: _cLDBR, _s: None}, + (_CTon, _MDB), + ((DIRECTORY_BUCKET_TOKEN, {_sQ: _ct}), (MAX_DIRECTORY_BUCKETS, {_sQ: _mdb})), +) + +LIST_DIRECTORY_BUCKETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LDBO, + {_sN: _LAMDBR, _smi: None}, + (_Bu, _CTon), + ((BUCKETS, 0), (DIRECTORY_BUCKET_TOKEN, 0)), +) + +LIST_DIRECTORY_BUCKETS: StaticOperationSchema = ( + 23, + n0, + _LDB, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "GET", "uri": "/?x-id=ListDirectoryBuckets", "code": 200} + ), + }, + LIST_DIRECTORY_BUCKETS_INPUT, + LIST_DIRECTORY_BUCKETS_OUTPUT, + (), +) + +DELIMITER: StaticSchema = (3, n0, _Deli, 0) + +ENCODING_TYPE: StaticSchema = (14, n0, _ETnc, 0, (_u,), ((-1, {_sV: _u}),)) + +KEY_MARKER: StaticSchema = (3, n0, _KM, 0) + +MAX_UPLOADS: StaticSchema = (7, n0, _MUa, 0) + +UPLOAD_ID_MARKER: StaticSchema = (3, n0, _UIM, 0) + +LIST_MULTIPART_UPLOADS_INPUT: StaticSchema = ( + 18, + n0, + _LMUI, + {_sSI: _cLMUR, _s: None}, + (_B, _Deli, _ETnc, _KM, _MUa, _Pr, _UIM, _EBO, _RP), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (DELIMITER, {_sQ: _d}), + (ENCODING_TYPE, {_sQ: _et}), + (KEY_MARKER, {_sQ: _km}), + (MAX_UPLOADS, {_sQ: _mu}), + ( + lambda: schemas.PREFIX, + {_sP: MappingProxyType({"name": "Prefix"}), _sQ: _pre}, + ), + (UPLOAD_ID_MARKER, {_sQ: _uim}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + ), +) + +LIST_MULTIPART_UPLOADS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMUO, + {_sN: _LMUR, _smi: None}, + (_B, _KM, _UIM, _NKM, _Pr, _Deli, _NUIM, _MUa, _ITs, _U, _CPom, _ETnc, _RC), + ( + (lambda: schemas.BUCKET_NAME, 0), + (KEY_MARKER, 0), + (UPLOAD_ID_MARKER, 0), + (lambda: NEXT_KEY_MARKER, 0), + (lambda: schemas.PREFIX, 0), + (DELIMITER, 0), + (lambda: NEXT_UPLOAD_ID_MARKER, 0), + (MAX_UPLOADS, 0), + (lambda: schemas.IS_TRUNCATED, 0), + (lambda: MULTIPART_UPLOAD_LIST, {_sN: _Up, _sFm: None}), + (lambda: COMMON_PREFIX_LIST, {_sFm: None}), + (ENCODING_TYPE, 0), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +LIST_MULTIPART_UPLOADS: StaticOperationSchema = ( + 23, + n0, + _LMU, + {_smith: MappingProxyType({"method": "GET", "uri": "/?uploads", "code": 200})}, + LIST_MULTIPART_UPLOADS_INPUT, + LIST_MULTIPART_UPLOADS_OUTPUT, + (), +) + +COMMON_PREFIX: StaticSchema = (18, n0, _CPo, 0, (_Pr,), ((lambda: schemas.PREFIX, 0),)) + +COMMON_PREFIX_LIST: StaticSchema = (16, n0, _CPLo, 0, (_m,), ((COMMON_PREFIX, 0),)) + +NEXT_KEY_MARKER: StaticSchema = (3, n0, _NKM, 0) + +NEXT_UPLOAD_ID_MARKER: StaticSchema = (3, n0, _NUIM, 0) + +INITIATED: StaticSchema = (4, n0, _In, 0) + +MULTIPART_UPLOAD: StaticSchema = ( + 18, + n0, + _MU, + 0, + (_UI, _K, _In, _SC, _O, _Ini, _CA, _CT), + ( + (lambda: schemas.MULTIPART_UPLOAD_ID, 0), + (lambda: schemas.OBJECT_KEY, 0), + (INITIATED, 0), + (lambda: schemas.STORAGE_CLASS, 0), + (lambda: schemas.OWNER, 0), + (lambda: schemas.INITIATOR, 0), + (lambda: schemas.CHECKSUM_ALGORITHM, 0), + (lambda: schemas.CHECKSUM_TYPE, 0), + ), +) + +MULTIPART_UPLOAD_LIST: StaticSchema = (16, n0, _MUL, 0, (_m,), ((MULTIPART_UPLOAD, 0),)) + +INVALID_PREFIX: StaticSchema = (18, n0, _IPn, {_smit: _c, _sE: 400}) + +ANNOTATION_PREFIX: StaticSchema = (3, n0, _APn, 0) + +MAX_ANNOTATION_RESULTS: StaticSchema = (7, n0, _MAR, 0) + +LIST_OBJECT_ANNOTATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LOAI, + {_sSI: _cLOAR, _s: None}, + (_B, _K, _VI, _MAR, _APn, _CTon, _RP, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (MAX_ANNOTATION_RESULTS, {_sQ: _mar}), + (ANNOTATION_PREFIX, {_sQ: _ap}), + (TOKEN, {_sQ: _ct}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +LIST_OBJECT_ANNOTATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LOAO, + {_smi: None}, + (_An, _B, _K, _OVI, _APn, _MAR, _ACnn, _CTon, _NCT, _RC), + ( + (lambda: ANNOTATION_LIST, 0), + (lambda: schemas.BUCKET_NAME, 0), + (lambda: schemas.OBJECT_KEY, 0), + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xaovi}), + (ANNOTATION_PREFIX, 0), + (MAX_ANNOTATION_RESULTS, 0), + (lambda: ANNOTATION_COUNT, 0), + (TOKEN, 0), + (NEXT_TOKEN, 0), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +LIST_OBJECT_ANNOTATIONS: StaticOperationSchema = ( + 23, + n0, + _LOA, + { + _smith: MappingProxyType( + { + "method": "GET", + "uri": "/{Key+}?annotation&x-id=ListObjectAnnotations", + "code": 200, + } + ) + }, + LIST_OBJECT_ANNOTATIONS_INPUT, + LIST_OBJECT_ANNOTATIONS_OUTPUT, + (INVALID_PREFIX, lambda: schemas.NO_SUCH_BUCKET, lambda: schemas.NO_SUCH_KEY), +) + +ANNOTATION_COUNT: StaticSchema = (7, n0, _ACnn, 0) + +CHECKSUM_ALGORITHM_LIST: StaticSchema = ( + 16, + n0, + _CAL, + 0, + (_m,), + ((lambda: schemas.CHECKSUM_ALGORITHM, 0),), +) + +ANNOTATION_ENTRY: StaticSchema = ( + 18, + n0, + _AE, + 0, + (_AN, _LM, _ET, _CA, _Si, _RS), + ( + (lambda: schemas.ANNOTATION_NAME, 1), + (lambda: schemas.LAST_MODIFIED, 1), + (lambda: schemas.E_TAG, 0), + (CHECKSUM_ALGORITHM_LIST, {_sFm: None}), + (lambda: schemas.SIZE, 1), + (lambda: schemas.REPLICATION_STATUS, 0), + ), +) + +ANNOTATION_LIST: StaticSchema = ( + 16, + n0, + _AL, + 0, + (_m,), + ((ANNOTATION_ENTRY, {_sN: _AE}),), +) + +MARKER: StaticSchema = (3, n0, _Ma, 0) + +MAX_KEYS: StaticSchema = (7, n0, _MKa, 0) + +OPTIONAL_OBJECT_ATTRIBUTES: StaticSchema = ( + 14, + n0, + _OOA, + 0, + (_RS_,), + ((-1, {_sV: _RSe}),), +) + +OPTIONAL_OBJECT_ATTRIBUTES_LIST: StaticSchema = ( + 16, + n0, + _OOAL, + 0, + (_m,), + ((OPTIONAL_OBJECT_ATTRIBUTES, 0),), +) + +LIST_OBJECTS_INPUT: StaticSchema = ( + 18, + n0, + _LOI, + {_sSI: _cLOR, _s: None}, + (_B, _Deli, _ETnc, _Ma, _MKa, _Pr, _RP, _EBO, _OOA), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (DELIMITER, {_sQ: _d}), + (ENCODING_TYPE, {_sQ: _et}), + (MARKER, {_sQ: _ma}), + (MAX_KEYS, {_sQ: _mk}), + ( + lambda: schemas.PREFIX, + {_sP: MappingProxyType({"name": "Prefix"}), _sQ: _pre}, + ), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (OPTIONAL_OBJECT_ATTRIBUTES_LIST, {_sH: _xaooa}), + ), +) + +LIST_OBJECTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LOO, + {_sN: _LBR, _smi: None}, + (_ITs, _Ma, _NM, _Cont, _N, _Pr, _Deli, _MKa, _CPom, _ETnc, _RC), + ( + (lambda: schemas.IS_TRUNCATED, 0), + (MARKER, 0), + (lambda: schemas.NEXT_MARKER, 0), + (lambda: schemas.OBJECT_LIST, {_sFm: None}), + (lambda: schemas.BUCKET_NAME, 0), + (lambda: schemas.PREFIX, 0), + (DELIMITER, 0), + (MAX_KEYS, 0), + (COMMON_PREFIX_LIST, {_sFm: None}), + (ENCODING_TYPE, 0), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +LIST_OBJECTS: StaticOperationSchema = ( + 23, + n0, + _LO, + {_smith: MappingProxyType({"method": "GET", "uri": "/", "code": 200})}, + LIST_OBJECTS_INPUT, + LIST_OBJECTS_OUTPUT, + (lambda: schemas.NO_SUCH_BUCKET,), +) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_6.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_6.py new file mode 100644 index 000000000..8f5b7fc3a --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_6.py @@ -0,0 +1,1302 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.s3" +_sV = "smithy.api#enumValue" +_AS = "AbacStatus" +_AD = "AbortDate" +_RP = "RequestPayer" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_B = "Bucket" +_sP = "smithy.rules#contextParam" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_K = "Key" +_UI = "UploadId" +_sQ = "smithy.api#httpQuery" +_uI = "uploadId" +_sH = "smithy.api#httpHeader" +_xarp = "x-amz-request-payer" +_EBO = "ExpectedBucketOwner" +_xaebo = "x-amz-expected-bucket-owner" +_RC = "RequestCharged" +_smi = "smithy.api#output" +_xarc = "x-amz-request-charged" +_smith = "smithy.api#http" +_ARI = "AbortRuleId" +_AC = "AccelerateConfiguration" +_sN = "smithy.api#xmlName" +_m = "member" +_O = "Owner" +_ACP = "AccessControlPolicy" +_CCRC = "ChecksumCRC32" +_CCRCC = "ChecksumCRC32C" +_CCRCNVME = "ChecksumCRC64NVME" +_CMD = "ChecksumMD5" +_CSHA = "ChecksumSHA1" +_CSHAh = "ChecksumSHA256" +_CSHAhe = "ChecksumSHA512" +_CT = "ChecksumType" +_CXXHASH = "ChecksumXXHASH128" +_CXXHASHh = "ChecksumXXHASH3" +_CXXHASHhe = "ChecksumXXHASH64" +_ET = "ETag" +_PN = "PartNumber" +_Pa = "Parts" +_Par = "Part" +_sFm = "smithy.api#xmlFlattened" +_SSECA = "SSECustomerAlgorithm" +_SSECK = "SSECustomerKey" +_SSECKMD = "SSECustomerKeyMD5" +_sPm = "smithy.api#httpPayload" +_xasseca = "x-amz-server-side-encryption-customer-algorithm" +_xasseck = "x-amz-server-side-encryption-customer-key" +_xasseckM = "x-amz-server-side-encryption-customer-key-MD5" +_VI = "VersionId" +_CA = "ChecksumAlgorithm" +_GFC = "GrantFullControl" +_GR = "GrantRead" +_GRACP = "GrantReadACP" +_GWACP = "GrantWriteACP" +_SC = "StorageClass" +_STANDARD = "STANDARD" +_RR = "REDUCED_REDUNDANCY" +_SI = "STANDARD_IA" +_OI = "ONEZONE_IA" +_IT = "INTELLIGENT_TIERING" +_GLACIER = "GLACIER" +_DA = "DEEP_ARCHIVE" +_OUTPOSTS = "OUTPOSTS" +_GI = "GLACIER_IR" +_SNOW = "SNOW" +_EO = "EXPRESS_ONEZONE" +_FO_ = "FSX_OPENZFS" +_FO__ = "FSX_ONTAP" +_ABW = "AWS_BACKUP_WARM" +_ABLCW = "AWS_BACKUP_LOW_COST_WARM" +_ACL_ = "ACL" +_xaa = "x-amz-acl" +_xagfc = "x-amz-grant-full-control" +_xagr = "x-amz-grant-read" +_xagra = "x-amz-grant-read-acp" +_xagwa = "x-amz-grant-write-acp" +_LM = "LastModified" +_sCP = "smithy.rules#staticContextParams" +_N = "Name" +_GW = "GrantWrite" +_xagw = "x-amz-grant-write" +_CMDo = "ContentMD5" +_CM = "Content-MD5" +_xasca = "x-amz-sdk-checksum-algorithm" +_sU = "smithy.api#Unit" +_aC = "aws.protocols#httpChecksum" +_xaad = "x-amz-abort-date" +_xaari = "x-amz-abort-rule-id" +_I = "Id" +_i = "id" +_DM = "DeleteMarker" +_Si = "Size" +_Obj = "Object" +_Pr = "Prefix" +_ACn = "AnalyticsConfiguration" +_CORSR = "CORSRule" +_CORSRu = "CORSRules" +_CORSC = "CORSConfiguration" +_SSEC = "ServerSideEncryptionConfiguration" +_Ru = "Rules" +_Rul = "Rule" +_ITCn = "IntelligentTieringConfiguration" +_IC = "InventoryConfiguration" +_TDMOS = "TransitionDefaultMinimumObjectSize" +_LCi = "LifecycleConfiguration" +_xatdmos = "x-amz-transition-default-minimum-object-size" +_LEo = "LoggingEnabled" +_BLS = "BucketLoggingStatus" +_MCe = "MetricsConfiguration" +_EBC = "EventBridgeConfiguration" +_pre = "prefix" +_QC = "QueueConfiguration" +_TC = "TopicConfiguration" +_TCo = "TopicConfigurations" +_QCu = "QueueConfigurations" +_LFCa = "LambdaFunctionConfigurations" +_CFC = "CloudFunctionConfiguration" +_OC = "OwnershipControls" +_Po = "Policy" +_RCe = "ReplicationConfiguration" +_MP = "MaxParts" +_PNM = "PartNumberMarker" +_ITs = "IsTruncated" +_NPNM = "NextPartNumberMarker" +_Tok = "Token" +_CTon = "ContinuationToken" +_ct = "continuation-token" +_NCT = "NextContinuationToken" +_Deli = "Delimiter" +_ETnc = "EncodingType" +_KM = "KeyMarker" +_d = "delimiter" +_et = "encoding-type" +_km = "key-marker" +_NKM = "NextKeyMarker" +_Ini = "Initiator" +_CPom = "CommonPrefixes" +_MKa = "MaxKeys" +_OOA = "OptionalObjectAttributes" +_RSe = "RestoreStatus" +_mk = "max-keys" +_xaooa = "x-amz-optional-object-attributes" +_IRIP = "IsRestoreInProgress" +_REDe = "RestoreExpiryDate" +_OSC = "ObjectStorageClass" +_OL = "ObjectList" +_NM = "NextMarker" +_LBR = "ListBucketResult" +_Cont = "Contents" +_FOe = "FetchOwner" +_SAt = "StartAfter" +_LOVI = "ListObjectsV2Input" +_cLOVR = "com.amazonaws.s3#ListObjectsV2Request" +_fo = "fetch-owner" +_sa = "start-after" +_KC = "KeyCount" +_LOVO = "ListObjectsV2Output" +_LOV = "ListObjectsV2" +_VIM = "VersionIdMarker" +_LOVIi = "ListObjectVersionsInput" +_cLOVRo = "com.amazonaws.s3#ListObjectVersionsRequest" +_vim = "version-id-marker" +_IL = "IsLatest" +_DME = "DeleteMarkerEntry" +_DMe = "DeleteMarkers" +_NVIM = "NextVersionIdMarker" +_OVSC = "ObjectVersionStorageClass" +_OV = "ObjectVersion" +_OVL = "ObjectVersionList" +_LOVOi = "ListObjectVersionsOutput" +_LVR = "ListVersionsResult" +_Ve = "Versions" +_Ver = "Version" +_LOVi = "ListObjectVersions" +_LPI = "ListPartsInput" +_cLPR = "com.amazonaws.s3#ListPartsRequest" +_mp = "max-parts" +_pnm = "part-number-marker" +_LPO = "ListPartsOutput" +_LPR = "ListPartsResult" +_LP = "ListParts" +_PBAI = "PutBucketAbacInput" +_cPBAR = "com.amazonaws.s3#PutBucketAbacRequest" +_PBAO = "PutBucketAbacOutput" +_PBA = "PutBucketAbac" +_PBACI = "PutBucketAccelerateConfigurationInput" +_cPBACR = "com.amazonaws.s3#PutBucketAccelerateConfigurationRequest" +_PBACO = "PutBucketAccelerateConfigurationOutput" +_PBAC = "PutBucketAccelerateConfiguration" +_PBAIu = "PutBucketAclInput" +_cPBARo = "com.amazonaws.s3#PutBucketAclRequest" +_PBAOu = "PutBucketAclOutput" +_PBAu = "PutBucketAcl" +_PBACIu = "PutBucketAnalyticsConfigurationInput" +_cPBACRo = "com.amazonaws.s3#PutBucketAnalyticsConfigurationRequest" +_PBACOu = "PutBucketAnalyticsConfigurationOutput" +_PBACu = "PutBucketAnalyticsConfiguration" +_PBCI = "PutBucketCorsInput" +_cPBCR = "com.amazonaws.s3#PutBucketCorsRequest" +_PBCO = "PutBucketCorsOutput" +_PBC = "PutBucketCors" +_PBEI = "PutBucketEncryptionInput" +_cPBER = "com.amazonaws.s3#PutBucketEncryptionRequest" +_PBEO = "PutBucketEncryptionOutput" +_PBE = "PutBucketEncryption" +_PBITCI = "PutBucketIntelligentTieringConfigurationInput" +_cPBITCR = "com.amazonaws.s3#PutBucketIntelligentTieringConfigurationRequest" +_PBITCO = "PutBucketIntelligentTieringConfigurationOutput" +_PBITC = "PutBucketIntelligentTieringConfiguration" +_PBICI = "PutBucketInventoryConfigurationInput" +_cPBICR = "com.amazonaws.s3#PutBucketInventoryConfigurationRequest" +_PBICO = "PutBucketInventoryConfigurationOutput" +_PBIC = "PutBucketInventoryConfiguration" +_BLCu = "BucketLifecycleConfiguration" +_PBLCI = "PutBucketLifecycleConfigurationInput" +_cPBLCR = "com.amazonaws.s3#PutBucketLifecycleConfigurationRequest" +_PBLCO = "PutBucketLifecycleConfigurationOutput" +_PBLC = "PutBucketLifecycleConfiguration" +_PBLI = "PutBucketLoggingInput" +_cPBLR = "com.amazonaws.s3#PutBucketLoggingRequest" +_PBLO = "PutBucketLoggingOutput" +_PBL = "PutBucketLogging" +_PBMCI = "PutBucketMetricsConfigurationInput" +_cPBMCR = "com.amazonaws.s3#PutBucketMetricsConfigurationRequest" +_PBMCO = "PutBucketMetricsConfigurationOutput" +_PBMC = "PutBucketMetricsConfiguration" +_NC = "NotificationConfiguration" +_SV = "SkipValidation" +_PBNCI = "PutBucketNotificationConfigurationInput" +_cPBNCR = "com.amazonaws.s3#PutBucketNotificationConfigurationRequest" +_SDV = "SkipDestinationValidation" +_xasdv = "x-amz-skip-destination-validation" +_PBNCO = "PutBucketNotificationConfigurationOutput" +_PBNC = "PutBucketNotificationConfiguration" +_PBOCI = "PutBucketOwnershipControlsInput" +_cPBOCR = "com.amazonaws.s3#PutBucketOwnershipControlsRequest" +_PBOCO = "PutBucketOwnershipControlsOutput" +_PBOC = "PutBucketOwnershipControls" +_CRSBA = "ConfirmRemoveSelfBucketAccess" +_PBPI = "PutBucketPolicyInput" +_cPBPR = "com.amazonaws.s3#PutBucketPolicyRequest" +_xacrsba = "x-amz-confirm-remove-self-bucket-access" +_PBPO = "PutBucketPolicyOutput" +_PBP = "PutBucketPolicy" +_PBRI = "PutBucketReplicationInput" +_cPBRR = "com.amazonaws.s3#PutBucketReplicationRequest" +_xabolt = "x-amz-bucket-object-lock-token" +_PBRO = "PutBucketReplicationOutput" +_PBR = "PutBucketReplication" + +IS_RESTORE_IN_PROGRESS: StaticSchema = (2, n0, _IRIP, 0) + +RESTORE_EXPIRY_DATE: StaticSchema = (4, n0, _REDe, 0) + +RESTORE_STATUS: StaticSchema = ( + 18, + n0, + _RSe, + 0, + (_IRIP, _REDe), + ((IS_RESTORE_IN_PROGRESS, 0), (RESTORE_EXPIRY_DATE, 0)), +) + +OBJECT_STORAGE_CLASS: StaticSchema = ( + 14, + n0, + _OSC, + 0, + ( + _STANDARD, + _RR, + _GLACIER, + _SI, + _OI, + _IT, + _DA, + _OUTPOSTS, + _GI, + _SNOW, + _EO, + _FO_, + _FO__, + _ABW, + _ABLCW, + ), + ( + (-1, {_sV: _STANDARD}), + (-1, {_sV: _RR}), + (-1, {_sV: _GLACIER}), + (-1, {_sV: _SI}), + (-1, {_sV: _OI}), + (-1, {_sV: _IT}), + (-1, {_sV: _DA}), + (-1, {_sV: _OUTPOSTS}), + (-1, {_sV: _GI}), + (-1, {_sV: _SNOW}), + (-1, {_sV: _EO}), + (-1, {_sV: _FO_}), + (-1, {_sV: _FO__}), + (-1, {_sV: _ABW}), + (-1, {_sV: _ABLCW}), + ), +) + +OBJECT: StaticSchema = ( + 18, + n0, + _Obj, + 0, + (_K, _LM, _ET, _CA, _CT, _Si, _SC, _O, _RSe), + ( + (lambda: schemas.OBJECT_KEY, 0), + (lambda: schemas.LAST_MODIFIED, 0), + (lambda: schemas.E_TAG, 0), + (lambda: schemas.CHECKSUM_ALGORITHM_LIST, {_sFm: None}), + (lambda: schemas.CHECKSUM_TYPE, 0), + (lambda: schemas.SIZE, 0), + (OBJECT_STORAGE_CLASS, 0), + (lambda: schemas.OWNER, 0), + (RESTORE_STATUS, 0), + ), +) + +OBJECT_LIST: StaticSchema = (16, n0, _OL, 0, (_m,), ((OBJECT, 0),)) + +NEXT_MARKER: StaticSchema = (3, n0, _NM, 0) + +FETCH_OWNER: StaticSchema = (2, n0, _FOe, 0) + +START_AFTER: StaticSchema = (3, n0, _SAt, 0) + +LIST_OBJECTS_V2_INPUT: StaticSchema = ( + 18, + n0, + _LOVI, + {_sSI: _cLOVR, _s: None}, + (_B, _Deli, _ETnc, _MKa, _Pr, _CTon, _FOe, _SAt, _RP, _EBO, _OOA), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.DELIMITER, {_sQ: _d}), + (lambda: schemas.ENCODING_TYPE, {_sQ: _et}), + (lambda: schemas.MAX_KEYS, {_sQ: _mk}), + ( + lambda: schemas.PREFIX, + {_sP: MappingProxyType({"name": "Prefix"}), _sQ: _pre}, + ), + (lambda: schemas.TOKEN, {_sQ: _ct}), + (FETCH_OWNER, {_sQ: _fo}), + (START_AFTER, {_sQ: _sa}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.OPTIONAL_OBJECT_ATTRIBUTES_LIST, {_sH: _xaooa}), + ), +) + +LIST_OBJECTS_V2_OUTPUT: StaticSchema = ( + 18, + n0, + _LOVO, + {_sN: _LBR, _smi: None}, + (_ITs, _Cont, _N, _Pr, _Deli, _MKa, _CPom, _ETnc, _KC, _CTon, _NCT, _SAt, _RC), + ( + (lambda: schemas.IS_TRUNCATED, 0), + (OBJECT_LIST, {_sFm: None}), + (lambda: schemas.BUCKET_NAME, 0), + (lambda: schemas.PREFIX, 0), + (lambda: schemas.DELIMITER, 0), + (lambda: schemas.MAX_KEYS, 0), + (lambda: schemas.COMMON_PREFIX_LIST, {_sFm: None}), + (lambda: schemas.ENCODING_TYPE, 0), + (lambda: KEY_COUNT, 0), + (lambda: schemas.TOKEN, 0), + (lambda: schemas.NEXT_TOKEN, 0), + (START_AFTER, 0), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +LIST_OBJECTS_V2: StaticOperationSchema = ( + 23, + n0, + _LOV, + {_smith: MappingProxyType({"method": "GET", "uri": "/?list-type=2", "code": 200})}, + LIST_OBJECTS_V2_INPUT, + LIST_OBJECTS_V2_OUTPUT, + (lambda: schemas.NO_SUCH_BUCKET,), +) + +KEY_COUNT: StaticSchema = (7, n0, _KC, 0) + +VERSION_ID_MARKER: StaticSchema = (3, n0, _VIM, 0) + +LIST_OBJECT_VERSIONS_INPUT: StaticSchema = ( + 18, + n0, + _LOVIi, + {_sSI: _cLOVRo, _s: None}, + (_B, _Deli, _ETnc, _KM, _MKa, _Pr, _VIM, _EBO, _RP, _OOA), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.DELIMITER, {_sQ: _d}), + (lambda: schemas.ENCODING_TYPE, {_sQ: _et}), + (lambda: schemas.KEY_MARKER, {_sQ: _km}), + (lambda: schemas.MAX_KEYS, {_sQ: _mk}), + ( + lambda: schemas.PREFIX, + {_sP: MappingProxyType({"name": "Prefix"}), _sQ: _pre}, + ), + (VERSION_ID_MARKER, {_sQ: _vim}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.OPTIONAL_OBJECT_ATTRIBUTES_LIST, {_sH: _xaooa}), + ), +) + +LIST_OBJECT_VERSIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LOVOi, + {_sN: _LVR, _smi: None}, + (_ITs, _KM, _VIM, _NKM, _NVIM, _Ve, _DMe, _N, _Pr, _Deli, _MKa, _CPom, _ETnc, _RC), + ( + (lambda: schemas.IS_TRUNCATED, 0), + (lambda: schemas.KEY_MARKER, 0), + (VERSION_ID_MARKER, 0), + (lambda: schemas.NEXT_KEY_MARKER, 0), + (lambda: NEXT_VERSION_ID_MARKER, 0), + (lambda: OBJECT_VERSION_LIST, {_sN: _Ver, _sFm: None}), + (lambda: DELETE_MARKERS, {_sN: _DM, _sFm: None}), + (lambda: schemas.BUCKET_NAME, 0), + (lambda: schemas.PREFIX, 0), + (lambda: schemas.DELIMITER, 0), + (lambda: schemas.MAX_KEYS, 0), + (lambda: schemas.COMMON_PREFIX_LIST, {_sFm: None}), + (lambda: schemas.ENCODING_TYPE, 0), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +LIST_OBJECT_VERSIONS: StaticOperationSchema = ( + 23, + n0, + _LOVi, + {_smith: MappingProxyType({"method": "GET", "uri": "/?versions", "code": 200})}, + LIST_OBJECT_VERSIONS_INPUT, + LIST_OBJECT_VERSIONS_OUTPUT, + (), +) + +IS_LATEST: StaticSchema = (2, n0, _IL, 0) + +DELETE_MARKER_ENTRY: StaticSchema = ( + 18, + n0, + _DME, + 0, + (_O, _K, _VI, _IL, _LM), + ( + (lambda: schemas.OWNER, 0), + (lambda: schemas.OBJECT_KEY, 0), + (lambda: schemas.OBJECT_VERSION_ID, 0), + (IS_LATEST, 0), + (lambda: schemas.LAST_MODIFIED, 0), + ), +) + +DELETE_MARKERS: StaticSchema = (16, n0, _DMe, 0, (_m,), ((DELETE_MARKER_ENTRY, 0),)) + +NEXT_VERSION_ID_MARKER: StaticSchema = (3, n0, _NVIM, 0) + +OBJECT_VERSION_STORAGE_CLASS: StaticSchema = ( + 14, + n0, + _OVSC, + 0, + (_STANDARD,), + ((-1, {_sV: _STANDARD}),), +) + +OBJECT_VERSION: StaticSchema = ( + 18, + n0, + _OV, + 0, + (_ET, _CA, _CT, _Si, _SC, _K, _VI, _IL, _LM, _O, _RSe), + ( + (lambda: schemas.E_TAG, 0), + (lambda: schemas.CHECKSUM_ALGORITHM_LIST, {_sFm: None}), + (lambda: schemas.CHECKSUM_TYPE, 0), + (lambda: schemas.SIZE, 0), + (OBJECT_VERSION_STORAGE_CLASS, 0), + (lambda: schemas.OBJECT_KEY, 0), + (lambda: schemas.OBJECT_VERSION_ID, 0), + (IS_LATEST, 0), + (lambda: schemas.LAST_MODIFIED, 0), + (lambda: schemas.OWNER, 0), + (RESTORE_STATUS, 0), + ), +) + +OBJECT_VERSION_LIST: StaticSchema = (16, n0, _OVL, 0, (_m,), ((OBJECT_VERSION, 0),)) + +LIST_PARTS_INPUT: StaticSchema = ( + 18, + n0, + _LPI, + {_sSI: _cLPR, _s: None}, + (_B, _K, _MP, _PNM, _UI, _RP, _EBO, _SSECA, _SSECK, _SSECKMD), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (lambda: schemas.MAX_PARTS, {_sQ: _mp}), + (lambda: schemas.PART_NUMBER_MARKER, {_sQ: _pnm}), + (lambda: schemas.MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + ), +) + +LIST_PARTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPO, + {_sN: _LPR, _smi: None}, + (_AD, _ARI, _B, _K, _UI, _PNM, _NPNM, _MP, _ITs, _Pa, _Ini, _O, _SC, _RC, _CA, _CT), + ( + (lambda: schemas.ABORT_DATE, {_sH: _xaad}), + (lambda: schemas.ABORT_RULE_ID, {_sH: _xaari}), + (lambda: schemas.BUCKET_NAME, 0), + (lambda: schemas.OBJECT_KEY, 0), + (lambda: schemas.MULTIPART_UPLOAD_ID, 0), + (lambda: schemas.PART_NUMBER_MARKER, 0), + (lambda: schemas.NEXT_PART_NUMBER_MARKER, 0), + (lambda: schemas.MAX_PARTS, 0), + (lambda: schemas.IS_TRUNCATED, 0), + (lambda: PARTS, {_sN: _Par, _sFm: None}), + (lambda: schemas.INITIATOR, 0), + (lambda: schemas.OWNER, 0), + (lambda: schemas.STORAGE_CLASS, 0), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + (lambda: schemas.CHECKSUM_ALGORITHM, 0), + (lambda: schemas.CHECKSUM_TYPE, 0), + ), +) + +LIST_PARTS: StaticOperationSchema = ( + 23, + n0, + _LP, + { + _smith: MappingProxyType( + {"method": "GET", "uri": "/{Key+}?x-id=ListParts", "code": 200} + ) + }, + LIST_PARTS_INPUT, + LIST_PARTS_OUTPUT, + (), +) + +PART: StaticSchema = ( + 18, + n0, + _Par, + 0, + ( + _PN, + _LM, + _ET, + _Si, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + ), + ( + (lambda: schemas.PART_NUMBER, 0), + (lambda: schemas.LAST_MODIFIED, 0), + (lambda: schemas.E_TAG, 0), + (lambda: schemas.SIZE, 0), + (lambda: schemas.CHECKSUM_CRC32, 0), + (lambda: schemas.CHECKSUM_CRC32_C, 0), + (lambda: schemas.CHECKSUM_CRC64_NVME, 0), + (lambda: schemas.CHECKSUM_SHA1, 0), + (lambda: schemas.CHECKSUM_SHA256, 0), + (lambda: schemas.CHECKSUM_SHA512, 0), + (lambda: schemas.CHECKSUM_MD5, 0), + (lambda: schemas.CHECKSUM_XXHASH64, 0), + (lambda: schemas.CHECKSUM_XXHASH3, 0), + (lambda: schemas.CHECKSUM_XXHASH128, 0), + ), +) + +PARTS: StaticSchema = (16, n0, _Pa, 0, (_m,), ((PART, 0),)) + +PUT_BUCKET_ABAC_INPUT: StaticSchema = ( + 18, + n0, + _PBAI, + {_sSI: _cPBAR, _s: None}, + (_B, _CMDo, _CA, _EBO, _AS), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.ABAC_STATUS, {_sN: _AS, _sm: None, _sPm: None}), + ), +) + +PUT_BUCKET_ABAC_OUTPUT: StaticSchema = (18, n0, _PBAO, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_ABAC: StaticOperationSchema = ( + 23, + n0, + _PBA, + { + _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), + _smith: MappingProxyType({"method": "PUT", "uri": "/?abac", "code": 200}), + }, + PUT_BUCKET_ABAC_INPUT, + PUT_BUCKET_ABAC_OUTPUT, + (), +) + +PUT_BUCKET_ACCELERATE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PBACI, + {_sSI: _cPBACR, _s: None}, + (_B, _AC, _EBO, _CA), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ACCELERATE_CONFIGURATION, {_sN: _AC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + ), +) + +PUT_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PBACO, + {_sSI: _sU, _smi: None}, +) + +PUT_BUCKET_ACCELERATE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PBAC, + { + _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?accelerate", "code": 200}), + }, + PUT_BUCKET_ACCELERATE_CONFIGURATION_INPUT, + PUT_BUCKET_ACCELERATE_CONFIGURATION_OUTPUT, + (), +) + +PUT_BUCKET_ACL_INPUT: StaticSchema = ( + 18, + n0, + _PBAIu, + {_sSI: _cPBARo, _s: None}, + (_ACL_, _ACP, _B, _CMDo, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _EBO), + ( + (lambda: schemas.BUCKET_CANNED_ACL, {_sH: _xaa}), + (lambda: schemas.ACCESS_CONTROL_POLICY, {_sN: _ACP, _sPm: None}), + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.GRANT_FULL_CONTROL, {_sH: _xagfc}), + (lambda: schemas.GRANT_READ, {_sH: _xagr}), + (lambda: schemas.GRANT_READ_ACP, {_sH: _xagra}), + (lambda: schemas.GRANT_WRITE, {_sH: _xagw}), + (lambda: schemas.GRANT_WRITE_ACP, {_sH: _xagwa}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_ACL_OUTPUT: StaticSchema = (18, n0, _PBAOu, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_ACL: StaticOperationSchema = ( + 23, + n0, + _PBAu, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?acl", "code": 200}), + }, + PUT_BUCKET_ACL_INPUT, + PUT_BUCKET_ACL_OUTPUT, + (), +) + +PUT_BUCKET_ANALYTICS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PBACIu, + {_sSI: _cPBACRo, _s: None}, + (_B, _I, _ACn, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.ANALYTICS_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ANALYTICS_CONFIGURATION, {_sN: _ACn, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PBACOu, + {_sSI: _sU, _smi: None}, +) + +PUT_BUCKET_ANALYTICS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PBACu, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?analytics", "code": 200}), + }, + PUT_BUCKET_ANALYTICS_CONFIGURATION_INPUT, + PUT_BUCKET_ANALYTICS_CONFIGURATION_OUTPUT, + (), +) + +CORS_CONFIGURATION: StaticSchema = ( + 18, + n0, + _CORSC, + 0, + (_CORSRu,), + ((lambda: schemas.CORS_RULES, {_sN: _CORSR, _sFm: None, _sm: None}),), +) + +PUT_BUCKET_CORS_INPUT: StaticSchema = ( + 18, + n0, + _PBCI, + {_sSI: _cPBCR, _s: None}, + (_B, _CORSC, _CMDo, _CA, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (CORS_CONFIGURATION, {_sN: _CORSC, _sm: None, _sPm: None}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_CORS_OUTPUT: StaticSchema = (18, n0, _PBCO, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_CORS: StaticOperationSchema = ( + 23, + n0, + _PBC, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?cors", "code": 200}), + }, + PUT_BUCKET_CORS_INPUT, + PUT_BUCKET_CORS_OUTPUT, + (), +) + +PUT_BUCKET_ENCRYPTION_INPUT: StaticSchema = ( + 18, + n0, + _PBEI, + {_sSI: _cPBER, _s: None}, + (_B, _CMDo, _CA, _SSEC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + ( + lambda: schemas.SERVER_SIDE_ENCRYPTION_CONFIGURATION, + {_sN: _SSEC, _sm: None, _sPm: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_ENCRYPTION_OUTPUT: StaticSchema = (18, n0, _PBEO, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_ENCRYPTION: StaticOperationSchema = ( + 23, + n0, + _PBE, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?encryption", "code": 200}), + }, + PUT_BUCKET_ENCRYPTION_INPUT, + PUT_BUCKET_ENCRYPTION_OUTPUT, + (), +) + +PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PBITCI, + {_sSI: _cPBITCR, _s: None}, + (_B, _I, _EBO, _ITCn), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.INTELLIGENT_TIERING_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ( + lambda: schemas.INTELLIGENT_TIERING_CONFIGURATION, + {_sN: _ITCn, _sm: None, _sPm: None}, + ), + ), +) + +PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PBITCO, + {_sSI: _sU, _smi: None}, +) + +PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PBITC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?intelligent-tiering", "code": 200} + ), + }, + PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_INPUT, + PUT_BUCKET_INTELLIGENT_TIERING_CONFIGURATION_OUTPUT, + (), +) + +PUT_BUCKET_INVENTORY_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PBICI, + {_sSI: _cPBICR, _s: None}, + (_B, _I, _IC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.INVENTORY_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.INVENTORY_CONFIGURATION, {_sN: _IC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_INVENTORY_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PBICO, + {_sSI: _sU, _smi: None}, +) + +PUT_BUCKET_INVENTORY_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PBIC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?inventory", "code": 200}), + }, + PUT_BUCKET_INVENTORY_CONFIGURATION_INPUT, + PUT_BUCKET_INVENTORY_CONFIGURATION_OUTPUT, + (), +) + +BUCKET_LIFECYCLE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _BLCu, + 0, + (_Ru,), + ((lambda: schemas.LIFECYCLE_RULES, {_sN: _Rul, _sFm: None, _sm: None}),), +) + +PUT_BUCKET_LIFECYCLE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PBLCI, + {_sSI: _cPBLCR, _s: None}, + (_B, _CA, _LCi, _EBO, _TDMOS), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (BUCKET_LIFECYCLE_CONFIGURATION, {_sN: _LCi, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.TRANSITION_DEFAULT_MINIMUM_OBJECT_SIZE, {_sH: _xatdmos}), + ), +) + +PUT_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PBLCO, + {_smi: None}, + (_TDMOS,), + ((lambda: schemas.TRANSITION_DEFAULT_MINIMUM_OBJECT_SIZE, {_sH: _xatdmos}),), +) + +PUT_BUCKET_LIFECYCLE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PBLC, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?lifecycle", "code": 200}), + }, + PUT_BUCKET_LIFECYCLE_CONFIGURATION_INPUT, + PUT_BUCKET_LIFECYCLE_CONFIGURATION_OUTPUT, + (), +) + +BUCKET_LOGGING_STATUS: StaticSchema = ( + 18, + n0, + _BLS, + 0, + (_LEo,), + ((lambda: schemas.LOGGING_ENABLED, 0),), +) + +PUT_BUCKET_LOGGING_INPUT: StaticSchema = ( + 18, + n0, + _PBLI, + {_sSI: _cPBLR, _s: None}, + (_B, _BLS, _CMDo, _CA, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (BUCKET_LOGGING_STATUS, {_sN: _BLS, _sm: None, _sPm: None}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_LOGGING_OUTPUT: StaticSchema = (18, n0, _PBLO, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_LOGGING: StaticOperationSchema = ( + 23, + n0, + _PBL, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?logging", "code": 200}), + }, + PUT_BUCKET_LOGGING_INPUT, + PUT_BUCKET_LOGGING_OUTPUT, + (), +) + +PUT_BUCKET_METRICS_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PBMCI, + {_sSI: _cPBMCR, _s: None}, + (_B, _I, _MCe, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.METRICS_ID, {_sQ: _i, _sm: None}), + (lambda: schemas.METRICS_CONFIGURATION, {_sN: _MCe, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_METRICS_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PBMCO, + {_sSI: _sU, _smi: None}, +) + +PUT_BUCKET_METRICS_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PBMC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?metrics", "code": 200}), + }, + PUT_BUCKET_METRICS_CONFIGURATION_INPUT, + PUT_BUCKET_METRICS_CONFIGURATION_OUTPUT, + (), +) + +NOTIFICATION_CONFIGURATION: StaticSchema = ( + 18, + n0, + _NC, + 0, + (_TCo, _QCu, _LFCa, _EBC), + ( + (lambda: schemas.TOPIC_CONFIGURATION_LIST, {_sN: _TC, _sFm: None}), + (lambda: schemas.QUEUE_CONFIGURATION_LIST, {_sN: _QC, _sFm: None}), + (lambda: schemas.LAMBDA_FUNCTION_CONFIGURATION_LIST, {_sN: _CFC, _sFm: None}), + (lambda: schemas.EVENT_BRIDGE_CONFIGURATION, 0), + ), +) + +SKIP_VALIDATION: StaticSchema = (2, n0, _SV, 0) + +PUT_BUCKET_NOTIFICATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PBNCI, + {_sSI: _cPBNCR, _s: None}, + (_B, _NC, _EBO, _SDV), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (NOTIFICATION_CONFIGURATION, {_sN: _NC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (SKIP_VALIDATION, {_sH: _xasdv}), + ), +) + +PUT_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PBNCO, + {_sSI: _sU, _smi: None}, +) + +PUT_BUCKET_NOTIFICATION_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PBNC, + { + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?notification", "code": 200} + ), + }, + PUT_BUCKET_NOTIFICATION_CONFIGURATION_INPUT, + PUT_BUCKET_NOTIFICATION_CONFIGURATION_OUTPUT, + (), +) + +PUT_BUCKET_OWNERSHIP_CONTROLS_INPUT: StaticSchema = ( + 18, + n0, + _PBOCI, + {_sSI: _cPBOCR, _s: None}, + (_B, _CMDo, _EBO, _OC, _CA), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.OWNERSHIP_CONTROLS, {_sN: _OC, _sm: None, _sPm: None}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + ), +) + +PUT_BUCKET_OWNERSHIP_CONTROLS_OUTPUT: StaticSchema = ( + 18, + n0, + _PBOCO, + {_sSI: _sU, _smi: None}, +) + +PUT_BUCKET_OWNERSHIP_CONTROLS: StaticOperationSchema = ( + 23, + n0, + _PBOC, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?ownershipControls", "code": 200} + ), + }, + PUT_BUCKET_OWNERSHIP_CONTROLS_INPUT, + PUT_BUCKET_OWNERSHIP_CONTROLS_OUTPUT, + (), +) + +CONFIRM_REMOVE_SELF_BUCKET_ACCESS: StaticSchema = (2, n0, _CRSBA, 0) + +PUT_BUCKET_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PBPI, + {_sSI: _cPBPR, _s: None}, + (_B, _CMDo, _CA, _CRSBA, _Po, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (CONFIRM_REMOVE_SELF_BUCKET_ACCESS, {_sH: _xacrsba}), + (lambda: schemas.POLICY, 17), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_POLICY_OUTPUT: StaticSchema = (18, n0, _PBPO, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_POLICY: StaticOperationSchema = ( + 23, + n0, + _PBP, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?policy", "code": 200}), + }, + PUT_BUCKET_POLICY_INPUT, + PUT_BUCKET_POLICY_OUTPUT, + (), +) + +PUT_BUCKET_REPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _PBRI, + {_sSI: _cPBRR, _s: None}, + (_B, _CMDo, _CA, _RCe, _Tok, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.REPLICATION_CONFIGURATION, {_sN: _RCe, _sm: None, _sPm: None}), + (lambda: schemas.OBJECT_LOCK_TOKEN, {_sH: _xabolt}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_REPLICATION_OUTPUT: StaticSchema = (18, n0, _PBRO, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_REPLICATION: StaticOperationSchema = ( + 23, + n0, + _PBR, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?replication", "code": 200} + ), + }, + PUT_BUCKET_REPLICATION_INPUT, + PUT_BUCKET_REPLICATION_OUTPUT, + (), +) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_7.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_7.py new file mode 100644 index 000000000..c12b5f8ea --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_7.py @@ -0,0 +1,1262 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.s3" +_E = "Enabled" +_sV = "smithy.api#enumValue" +_D = "Disabled" +_S = "Status" +_BN = "BucketName" +_sF = "smithy.api#timestampFormat" +_hd = "http-date" +_RP = "RequestPayer" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_B = "Bucket" +_sP = "smithy.rules#contextParam" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_K = "Key" +_sQ = "smithy.api#httpQuery" +_sH = "smithy.api#httpHeader" +_xarp = "x-amz-request-payer" +_EBO = "ExpectedBucketOwner" +_xaebo = "x-amz-expected-bucket-owner" +_RC = "RequestCharged" +_smi = "smithy.api#output" +_xarc = "x-amz-request-charged" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_smith = "smithy.api#http" +_sN = "smithy.api#xmlName" +_m = "member" +_ACP = "AccessControlPolicy" +_ACL = "AccessControlList" +_CCRC = "ChecksumCRC32" +_CCRCC = "ChecksumCRC32C" +_CCRCNVME = "ChecksumCRC64NVME" +_CMD = "ChecksumMD5" +_CSHA = "ChecksumSHA1" +_CSHAh = "ChecksumSHA256" +_CSHAhe = "ChecksumSHA512" +_CT = "ChecksumType" +_CXXHASH = "ChecksumXXHASH128" +_CXXHASHh = "ChecksumXXHASH3" +_CXXHASHhe = "ChecksumXXHASH64" +_IM = "IfMatch" +_INM = "IfNoneMatch" +_ET = "ETag" +_SSECA = "SSECustomerAlgorithm" +_SSECK = "SSECustomerKey" +_SSECKMD = "SSECustomerKeyMD5" +_sPm = "smithy.api#httpPayload" +_xacc = "x-amz-checksum-crc32" +_xacc_ = "x-amz-checksum-crc32c" +_xacc__ = "x-amz-checksum-crc64nvme" +_xacs = "x-amz-checksum-sha1" +_xacs_ = "x-amz-checksum-sha256" +_xacs__ = "x-amz-checksum-sha512" +_xacm = "x-amz-checksum-md5" +_xacx = "x-amz-checksum-xxhash64" +_xacx_ = "x-amz-checksum-xxhash3" +_xacx__ = "x-amz-checksum-xxhash128" +_xact = "x-amz-checksum-type" +_IM_ = "If-Match" +_INM_ = "If-None-Match" +_xasseca = "x-amz-server-side-encryption-customer-algorithm" +_xasseck = "x-amz-server-side-encryption-customer-key" +_xasseckM = "x-amz-server-side-encryption-customer-key-MD5" +_BKE = "BucketKeyEnabled" +_Ex = "Expiration" +_SSE = "ServerSideEncryption" +_SSEKMSKI = "SSEKMSKeyId" +_OVI = "ObjectVersionId" +_xae = "x-amz-expiration" +_xasse = "x-amz-server-side-encryption" +_VI = "VersionId" +_xavi = "x-amz-version-id" +_xasseakki = "x-amz-server-side-encryption-aws-kms-key-id" +_xassebke = "x-amz-server-side-encryption-bucket-key-enabled" +_CC = "CacheControl" +_CA = "ChecksumAlgorithm" +_CD = "ContentDisposition" +_CE = "ContentEncoding" +_CL = "ContentLanguage" +_CTo = "ContentType" +_Exp = "Expires" +_GFC = "GrantFullControl" +_GR = "GrantRead" +_GRACP = "GrantReadACP" +_GWACP = "GrantWriteACP" +_M = "Metadata" +_OLEH = "ObjectLockEventHold" +_OLEHDD = "ObjectLockEventHoldDurationDays" +_OLEHDY = "ObjectLockEventHoldDurationYears" +_OLLHS = "ObjectLockLegalHoldStatus" +_OLM = "ObjectLockMode" +_OLRUD = "ObjectLockRetainUntilDate" +_SSEKMSEC = "SSEKMSEncryptionContext" +_SC = "StorageClass" +_WRL = "WebsiteRedirectLocation" +_ACL_ = "ACL" +_xaa = "x-amz-acl" +_CC_ = "Cache-Control" +_CD_ = "Content-Disposition" +_CE_ = "Content-Encoding" +_CL_ = "Content-Language" +_CT_ = "Content-Type" +_xagfc = "x-amz-grant-full-control" +_xagr = "x-amz-grant-read" +_xagra = "x-amz-grant-read-acp" +_xagwa = "x-amz-grant-write-acp" +_sPH = "smithy.api#httpPrefixHeaders" +_xam = "x-amz-meta-" +_xasc = "x-amz-storage-class" +_xawrl = "x-amz-website-redirect-location" +_xassec = "x-amz-server-side-encryption-context" +_Ta = "Tagging" +_xat = "x-amz-tagging" +_xaolm = "x-amz-object-lock-mode" +_xaolrud = "x-amz-object-lock-retain-until-date" +_xaollh = "x-amz-object-lock-legal-hold" +_xaoleh = "x-amz-object-lock-event-hold" +_xaolehdd = "x-amz-object-lock-event-hold-duration-days" +_xaolehdy = "x-amz-object-lock-event-hold-duration-years" +_sCP = "smithy.rules#staticContextParams" +_N = "Name" +_V = "Value" +_TS = "TagSet" +_GW = "GrantWrite" +_xagw = "x-amz-grant-write" +_CMDo = "ContentMD5" +_CM = "Content-MD5" +_xasca = "x-amz-sdk-checksum-algorithm" +_sU = "smithy.api#Unit" +_aC = "aws.protocols#httpChecksum" +_BGR = "BypassGovernanceRetention" +_MFA = "MFA" +_xam_ = "x-amz-mfa" +_vI = "versionId" +_xabgr = "x-amz-bypass-governance-retention" +_AN = "AnnotationName" +_OIM = "ObjectIfMatch" +_aN = "annotationName" +_xaoim = "x-amz-object-if-match" +_xaovi = "x-amz-object-version-id" +_Si = "Size" +_Pr = "Prefix" +_ETn = "EncryptionType" +_En = "Encryption" +_Pay = "Payer" +_RPC = "RequestPaymentConfiguration" +_VCe = "VersioningConfiguration" +_MFAD = "MFADelete" +_MDf = "MfaDelete" +_EDr = "ErrorDocument" +_IDnd = "IndexDocument" +_RART = "RedirectAllRequestsTo" +_RRou = "RoutingRules" +_WC = "WebsiteConfiguration" +_IMS_ = "If-Modified-Since" +_IUS_ = "If-Unmodified-Since" +_CLo = "ContentLength" +_Bo = "Body" +_smithyap = "smithy.api#default" +_v_ = "" +_CL__ = "Content-Length" +_AP = "AnnotationPayload" +_LH = "LegalHold" +_OLC = "ObjectLockConfiguration" +_Ret = "Retention" +_PABC = "PublicAccessBlockConfiguration" +_Tok = "Token" +_xabolt = "x-amz-bucket-object-lock-token" +_PBRPI = "PutBucketRequestPaymentInput" +_cPBRPR = "com.amazonaws.s3#PutBucketRequestPaymentRequest" +_PBRPO = "PutBucketRequestPaymentOutput" +_PBRP = "PutBucketRequestPayment" +_PBTI = "PutBucketTaggingInput" +_cPBTR = "com.amazonaws.s3#PutBucketTaggingRequest" +_PBTO = "PutBucketTaggingOutput" +_PBT = "PutBucketTagging" +_PBVI = "PutBucketVersioningInput" +_cPBVR = "com.amazonaws.s3#PutBucketVersioningRequest" +_PBVO = "PutBucketVersioningOutput" +_PBV = "PutBucketVersioning" +_PBWI = "PutBucketWebsiteInput" +_cPBWR = "com.amazonaws.s3#PutBucketWebsiteRequest" +_PBWO = "PutBucketWebsiteOutput" +_PBW = "PutBucketWebsite" +_ETM = "EncryptionTypeMismatch" +_IWO = "InvalidWriteOffset" +_WOB = "WriteOffsetBytes" +_POI = "PutObjectInput" +_cPOR = "com.amazonaws.s3#PutObjectRequest" +_xawob = "x-amz-write-offset-bytes" +_POO = "PutObjectOutput" +_xaos = "x-amz-object-size" +_TMP = "TooManyParts" +_PO = "PutObject" +_POAI = "PutObjectAclInput" +_cPOAR = "com.amazonaws.s3#PutObjectAclRequest" +_POAO = "PutObjectAclOutput" +_POA = "PutObjectAcl" +_ALE = "AnnotationLimitExceeded" +_ANTL = "AnnotationNameTooLong" +_IAN = "InvalidAnnotationName" +_POAIu = "PutObjectAnnotationInput" +_cPOARo = "com.amazonaws.s3#PutObjectAnnotationRequest" +_POAOu = "PutObjectAnnotationOutput" +_UMT = "UnsupportedMediaType" +_POAu = "PutObjectAnnotation" +_POLHI = "PutObjectLegalHoldInput" +_cPOLHR = "com.amazonaws.s3#PutObjectLegalHoldRequest" +_POLHO = "PutObjectLegalHoldOutput" +_POLH = "PutObjectLegalHold" +_POLCI = "PutObjectLockConfigurationInput" +_cPOLCR = "com.amazonaws.s3#PutObjectLockConfigurationRequest" +_POLCO = "PutObjectLockConfigurationOutput" +_POLC = "PutObjectLockConfiguration" +_PORI = "PutObjectRetentionInput" +_cPORR = "com.amazonaws.s3#PutObjectRetentionRequest" +_PORO = "PutObjectRetentionOutput" +_POR = "PutObjectRetention" +_POTI = "PutObjectTaggingInput" +_cPOTR = "com.amazonaws.s3#PutObjectTaggingRequest" +_POTO = "PutObjectTaggingOutput" +_POT = "PutObjectTagging" +_PPABI = "PutPublicAccessBlockInput" +_cPPABR = "com.amazonaws.s3#PutPublicAccessBlockRequest" +_PPABO = "PutPublicAccessBlockOutput" +_PPAB = "PutPublicAccessBlock" +_IPM = "IdempotencyParameterMismatch" +_CTl = "ClientToken" +_RSen = "RenameSource" +_RSIM = "RenameSourceIfMatch" +_RSIMS = "RenameSourceIfModifiedSince" +_RSINM = "RenameSourceIfNoneMatch" +_RSIUS = "RenameSourceIfUnmodifiedSince" +_ROI = "RenameObjectInput" +_cROR = "com.amazonaws.s3#RenameObjectRequest" +_xars_ = "x-amz-rename-source" +_DIM = "DestinationIfMatch" +_DINM = "DestinationIfNoneMatch" +_DIMS = "DestinationIfModifiedSince" +_DIUS = "DestinationIfUnmodifiedSince" +_SIM = "SourceIfMatch" +_xarsim = "x-amz-rename-source-if-match" +_SINM = "SourceIfNoneMatch" +_xarsinm = "x-amz-rename-source-if-none-match" +_SIMS = "SourceIfModifiedSince" +_xarsims = "x-amz-rename-source-if-modified-since" +_SIUS = "SourceIfUnmodifiedSince" +_xarsius = "x-amz-rename-source-if-unmodified-since" +_xact_ = "x-amz-client-token" +_sT = "smithy.api#idempotencyToken" +_ROO = "RenameObjectOutput" +_ROe = "RenameObject" +_OAIATE = "ObjectAlreadyInActiveTierError" +_Des = "Description" +_Tier = "Tier" +_St = "Standard" +_Bul = "Bulk" +_Expe = "Expedited" +_GJP = "GlacierJobParameters" +_KMSC = "KMSContext" +_KMSKI = "KMSKeyId" +_LPo = "LocationPrefix" +_ME = "MetadataEntry" +_UM = "UserMetadata" +_SL = "S3Location" +_CACL = "CannedACL" +_OLu = "OutputLocation" +_S_ = "S3" +_Expr = "Expression" +_ETx = "ExpressionType" +_SQL = "SQL" + +REQUEST_PAYMENT_CONFIGURATION: StaticSchema = ( + 18, + n0, + _RPC, + 0, + (_Pay,), + ((lambda: schemas.PAYER, 1),), +) + +PUT_BUCKET_REQUEST_PAYMENT_INPUT: StaticSchema = ( + 18, + n0, + _PBRPI, + {_sSI: _cPBRPR, _s: None}, + (_B, _CMDo, _CA, _RPC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (REQUEST_PAYMENT_CONFIGURATION, {_sN: _RPC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_REQUEST_PAYMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _PBRPO, + {_sSI: _sU, _smi: None}, +) + +PUT_BUCKET_REQUEST_PAYMENT: StaticOperationSchema = ( + 23, + n0, + _PBRP, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?requestPayment", "code": 200} + ), + }, + PUT_BUCKET_REQUEST_PAYMENT_INPUT, + PUT_BUCKET_REQUEST_PAYMENT_OUTPUT, + (), +) + +TAGGING: StaticSchema = (18, n0, _Ta, 0, (_TS,), ((lambda: schemas.TAG_SET, 1),)) + +PUT_BUCKET_TAGGING_INPUT: StaticSchema = ( + 18, + n0, + _PBTI, + {_sSI: _cPBTR, _s: None}, + (_B, _CMDo, _CA, _Ta, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (TAGGING, {_sN: _Ta, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_TAGGING_OUTPUT: StaticSchema = (18, n0, _PBTO, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_TAGGING: StaticOperationSchema = ( + 23, + n0, + _PBT, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?tagging", "code": 200}), + }, + PUT_BUCKET_TAGGING_INPUT, + PUT_BUCKET_TAGGING_OUTPUT, + (), +) + +MFA_DELETE: StaticSchema = ( + 14, + n0, + _MFAD, + 0, + (_E, _D), + ((-1, {_sV: _E}), (-1, {_sV: _D})), +) + +VERSIONING_CONFIGURATION: StaticSchema = ( + 18, + n0, + _VCe, + 0, + (_MFAD, _S), + ((MFA_DELETE, {_sN: _MDf}), (lambda: schemas.BUCKET_VERSIONING_STATUS, 0)), +) + +PUT_BUCKET_VERSIONING_INPUT: StaticSchema = ( + 18, + n0, + _PBVI, + {_sSI: _cPBVR, _s: None}, + (_B, _CMDo, _CA, _MFA, _VCe, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.MFA, {_sH: _xam_}), + (VERSIONING_CONFIGURATION, {_sN: _VCe, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_VERSIONING_OUTPUT: StaticSchema = (18, n0, _PBVO, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_VERSIONING: StaticOperationSchema = ( + 23, + n0, + _PBV, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?versioning", "code": 200}), + }, + PUT_BUCKET_VERSIONING_INPUT, + PUT_BUCKET_VERSIONING_OUTPUT, + (), +) + +WEBSITE_CONFIGURATION: StaticSchema = ( + 18, + n0, + _WC, + 0, + (_EDr, _IDnd, _RART, _RRou), + ( + (lambda: schemas.ERROR_DOCUMENT, 0), + (lambda: schemas.INDEX_DOCUMENT, 0), + (lambda: schemas.REDIRECT_ALL_REQUESTS_TO, 0), + (lambda: schemas.ROUTING_RULES, 0), + ), +) + +PUT_BUCKET_WEBSITE_INPUT: StaticSchema = ( + 18, + n0, + _PBWI, + {_sSI: _cPBWR, _s: None}, + (_B, _CMDo, _CA, _WC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (WEBSITE_CONFIGURATION, {_sN: _WC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_BUCKET_WEBSITE_OUTPUT: StaticSchema = (18, n0, _PBWO, {_sSI: _sU, _smi: None}) + +PUT_BUCKET_WEBSITE: StaticOperationSchema = ( + 23, + n0, + _PBW, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/?website", "code": 200}), + }, + PUT_BUCKET_WEBSITE_INPUT, + PUT_BUCKET_WEBSITE_OUTPUT, + (), +) + +ENCRYPTION_TYPE_MISMATCH: StaticSchema = (18, n0, _ETM, {_smit: _c, _sE: 400}) + +INVALID_WRITE_OFFSET: StaticSchema = (18, n0, _IWO, {_smit: _c, _sE: 400}) + +WRITE_OFFSET_BYTES: StaticSchema = (8, n0, _WOB, 0) + +PUT_OBJECT_INPUT: StaticSchema = ( + 18, + n0, + _POI, + {_sSI: _cPOR, _s: None}, + ( + _ACL_, + _Bo, + _B, + _CC, + _CD, + _CE, + _CL, + _CLo, + _CMDo, + _CTo, + _CA, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _Exp, + _IM, + _INM, + _GFC, + _GR, + _GRACP, + _GWACP, + _K, + _WOB, + _M, + _SSE, + _SC, + _WRL, + _SSECA, + _SSECK, + _SSECKMD, + _SSEKMSKI, + _SSEKMSEC, + _BKE, + _RP, + _Ta, + _OLM, + _OLRUD, + _OLLHS, + _OLEH, + _OLEHDD, + _OLEHDY, + _EBO, + ), + ( + (lambda: schemas.OBJECT_CANNED_ACL, {_sH: _xaa}), + (lambda: schemas.STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CACHE_CONTROL, {_sH: _CC_}), + (lambda: schemas.CONTENT_DISPOSITION, {_sH: _CD_}), + (lambda: schemas.CONTENT_ENCODING, {_sH: _CE_}), + (lambda: schemas.CONTENT_LANGUAGE, {_sH: _CL_}), + (lambda: schemas.CONTENT_LENGTH, {_sH: _CL__}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CONTENT_TYPE, {_sH: _CT_}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xacx__}), + (lambda: schemas.EXPIRES, {_sH: _Exp}), + (lambda: schemas.IF_MATCH, {_sH: _IM_}), + (lambda: schemas.IF_NONE_MATCH, {_sH: _INM_}), + (lambda: schemas.GRANT_FULL_CONTROL, {_sH: _xagfc}), + (lambda: schemas.GRANT_READ, {_sH: _xagr}), + (lambda: schemas.GRANT_READ_ACP, {_sH: _xagra}), + (lambda: schemas.GRANT_WRITE_ACP, {_sH: _xagwa}), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (WRITE_OFFSET_BYTES, {_sH: _xawob}), + (lambda: schemas.METADATA, {_sPH: _xam}), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.STORAGE_CLASS, {_sH: _xasc}), + (lambda: schemas.WEBSITE_REDIRECT_LOCATION, {_sH: _xawrl}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.TAGGING_HEADER, {_sH: _xat}), + (lambda: schemas.OBJECT_LOCK_MODE, {_sH: _xaolm}), + (lambda: schemas.OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xaolrud}), + (lambda: schemas.OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xaollh}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD, {_sH: _xaoleh}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD_DURATION_DAYS, {_sH: _xaolehdd}), + (lambda: schemas.OBJECT_LOCK_EVENT_HOLD_DURATION_YEARS, {_sH: _xaolehdy}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_OBJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _POO, + {_smi: None}, + ( + _Ex, + _ET, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _CT, + _SSE, + _VI, + _SSECA, + _SSECKMD, + _SSEKMSKI, + _SSEKMSEC, + _BKE, + _Si, + _RC, + ), + ( + (lambda: schemas.EXPIRATION, {_sH: _xae}), + (lambda: schemas.E_TAG, {_sH: _ET}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xacx__}), + (lambda: schemas.CHECKSUM_TYPE, {_sH: _xact}), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xavi}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.SSEKMS_ENCRYPTION_CONTEXT, {_sH: _xassec}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (lambda: schemas.SIZE, {_sH: _xaos}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +PUT_OBJECT: StaticOperationSchema = ( + 23, + n0, + _PO, + { + _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?x-id=PutObject", "code": 200} + ), + }, + PUT_OBJECT_INPUT, + PUT_OBJECT_OUTPUT, + ( + ENCRYPTION_TYPE_MISMATCH, + lambda: schemas.INVALID_REQUEST, + INVALID_WRITE_OFFSET, + lambda: TOO_MANY_PARTS, + ), +) + +TOO_MANY_PARTS: StaticSchema = (18, n0, _TMP, {_smit: _c, _sE: 400}) + +PUT_OBJECT_ACL_INPUT: StaticSchema = ( + 18, + n0, + _POAI, + {_sSI: _cPOAR, _s: None}, + (_ACL_, _ACP, _B, _CMDo, _CA, _GFC, _GR, _GRACP, _GW, _GWACP, _K, _RP, _VI, _EBO), + ( + (lambda: schemas.OBJECT_CANNED_ACL, {_sH: _xaa}), + (lambda: schemas.ACCESS_CONTROL_POLICY, {_sN: _ACP, _sPm: None}), + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.GRANT_FULL_CONTROL, {_sH: _xagfc}), + (lambda: schemas.GRANT_READ, {_sH: _xagr}), + (lambda: schemas.GRANT_READ_ACP, {_sH: _xagra}), + (lambda: schemas.GRANT_WRITE, {_sH: _xagw}), + (lambda: schemas.GRANT_WRITE_ACP, {_sH: _xagwa}), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_OBJECT_ACL_OUTPUT: StaticSchema = ( + 18, + n0, + _POAO, + {_smi: None}, + (_RC,), + ((lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}),), +) + +PUT_OBJECT_ACL: StaticOperationSchema = ( + 23, + n0, + _POA, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _smith: MappingProxyType({"method": "PUT", "uri": "/{Key+}?acl", "code": 200}), + }, + PUT_OBJECT_ACL_INPUT, + PUT_OBJECT_ACL_OUTPUT, + (lambda: schemas.NO_SUCH_KEY,), +) + +ANNOTATION_LIMIT_EXCEEDED: StaticSchema = (18, n0, _ALE, {_smit: _c, _sE: 400}) + +ANNOTATION_NAME_TOO_LONG: StaticSchema = (18, n0, _ANTL, {_smit: _c, _sE: 400}) + +INVALID_ANNOTATION_NAME: StaticSchema = (18, n0, _IAN, {_smit: _c, _sE: 400}) + +PUT_OBJECT_ANNOTATION_INPUT: StaticSchema = ( + 18, + n0, + _POAIu, + {_sSI: _cPOARo, _s: None}, + ( + _B, + _K, + _VI, + _AN, + _AP, + _OIM, + _CA, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _CMDo, + _RP, + _EBO, + ), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.ANNOTATION_NAME, {_sQ: _aN, _sm: None}), + (lambda: schemas.STREAMING_BLOB, 17), + (lambda: schemas.OBJECT_IF_MATCH, {_sH: _xaoim}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xacx__}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_OBJECT_ANNOTATION_OUTPUT: StaticSchema = ( + 18, + n0, + _POAOu, + {_smi: None}, + ( + _K, + _AN, + _OVI, + _ET, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _CT, + _SSE, + _RC, + ), + ( + (lambda: schemas.OBJECT_KEY, 0), + (lambda: schemas.ANNOTATION_NAME, 0), + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xaovi}), + (lambda: schemas.E_TAG, {_sH: _ET}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xacx__}), + (lambda: schemas.CHECKSUM_TYPE, {_sH: _xact}), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +PUT_OBJECT_ANNOTATION: StaticOperationSchema = ( + 23, + n0, + _POAu, + { + _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?annotation", "code": 200} + ), + }, + PUT_OBJECT_ANNOTATION_INPUT, + PUT_OBJECT_ANNOTATION_OUTPUT, + ( + ANNOTATION_LIMIT_EXCEEDED, + ANNOTATION_NAME_TOO_LONG, + INVALID_ANNOTATION_NAME, + lambda: schemas.INVALID_REQUEST, + lambda: schemas.NO_SUCH_BUCKET, + lambda: schemas.NO_SUCH_KEY, + lambda: UNSUPPORTED_MEDIA_TYPE, + ), +) + +UNSUPPORTED_MEDIA_TYPE: StaticSchema = (18, n0, _UMT, {_smit: _c, _sE: 415}) + +PUT_OBJECT_LEGAL_HOLD_INPUT: StaticSchema = ( + 18, + n0, + _POLHI, + {_sSI: _cPOLHR, _s: None}, + (_B, _K, _LH, _RP, _VI, _CMDo, _CA, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_LOCK_LEGAL_HOLD, {_sN: _LH, _sPm: None}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_OBJECT_LEGAL_HOLD_OUTPUT: StaticSchema = ( + 18, + n0, + _POLHO, + {_smi: None}, + (_RC,), + ((lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}),), +) + +PUT_OBJECT_LEGAL_HOLD: StaticOperationSchema = ( + 23, + n0, + _POLH, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?legal-hold", "code": 200} + ), + }, + PUT_OBJECT_LEGAL_HOLD_INPUT, + PUT_OBJECT_LEGAL_HOLD_OUTPUT, + (), +) + +PUT_OBJECT_LOCK_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _POLCI, + {_sSI: _cPOLCR, _s: None}, + (_B, _OLC, _RP, _Tok, _CMDo, _CA, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_LOCK_CONFIGURATION, {_sN: _OLC, _sPm: None}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.OBJECT_LOCK_TOKEN, {_sH: _xabolt}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_OBJECT_LOCK_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _POLCO, + {_smi: None}, + (_RC,), + ((lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}),), +) + +PUT_OBJECT_LOCK_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _POLC, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?object-lock", "code": 200} + ), + }, + PUT_OBJECT_LOCK_CONFIGURATION_INPUT, + PUT_OBJECT_LOCK_CONFIGURATION_OUTPUT, + (), +) + +PUT_OBJECT_RETENTION_INPUT: StaticSchema = ( + 18, + n0, + _PORI, + {_sSI: _cPORR, _s: None}, + (_B, _K, _Ret, _RP, _VI, _BGR, _CMDo, _CA, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_LOCK_RETENTION, {_sN: _Ret, _sPm: None}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.BYPASS_GOVERNANCE_RETENTION, {_sH: _xabgr}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_OBJECT_RETENTION_OUTPUT: StaticSchema = ( + 18, + n0, + _PORO, + {_smi: None}, + (_RC,), + ((lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}),), +) + +PUT_OBJECT_RETENTION: StaticOperationSchema = ( + 23, + n0, + _POR, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?retention", "code": 200} + ), + }, + PUT_OBJECT_RETENTION_INPUT, + PUT_OBJECT_RETENTION_OUTPUT, + (), +) + +PUT_OBJECT_TAGGING_INPUT: StaticSchema = ( + 18, + n0, + _POTI, + {_sSI: _cPOTR, _s: None}, + (_B, _K, _VI, _CMDo, _CA, _Ta, _EBO, _RP), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (TAGGING, {_sN: _Ta, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + ), +) + +PUT_OBJECT_TAGGING_OUTPUT: StaticSchema = ( + 18, + n0, + _POTO, + {_smi: None}, + (_VI,), + ((lambda: schemas.OBJECT_VERSION_ID, {_sH: _xavi}),), +) + +PUT_OBJECT_TAGGING: StaticOperationSchema = ( + 23, + n0, + _POT, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?tagging", "code": 200} + ), + }, + PUT_OBJECT_TAGGING_INPUT, + PUT_OBJECT_TAGGING_OUTPUT, + (), +) + +PUT_PUBLIC_ACCESS_BLOCK_INPUT: StaticSchema = ( + 18, + n0, + _PPABI, + {_sSI: _cPPABR, _s: None}, + (_B, _CMDo, _CA, _PABC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + ( + lambda: schemas.PUBLIC_ACCESS_BLOCK_CONFIGURATION, + {_sN: _PABC, _sm: None, _sPm: None}, + ), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +PUT_PUBLIC_ACCESS_BLOCK_OUTPUT: StaticSchema = (18, n0, _PPABO, {_sSI: _sU, _smi: None}) + +PUT_PUBLIC_ACCESS_BLOCK: StaticOperationSchema = ( + 23, + n0, + _PPAB, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?publicAccessBlock", "code": 200} + ), + }, + PUT_PUBLIC_ACCESS_BLOCK_INPUT, + PUT_PUBLIC_ACCESS_BLOCK_OUTPUT, + (), +) + +IDEMPOTENCY_PARAMETER_MISMATCH: StaticSchema = (18, n0, _IPM, {_smit: _c, _sE: 400}) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CTl, 0) + +RENAME_SOURCE: StaticSchema = (3, n0, _RSen, 0) + +RENAME_SOURCE_IF_MATCH: StaticSchema = (3, n0, _RSIM, 0) + +RENAME_SOURCE_IF_MODIFIED_SINCE: StaticSchema = (4, n0, _RSIMS, {_sF: _hd}) + +RENAME_SOURCE_IF_NONE_MATCH: StaticSchema = (3, n0, _RSINM, 0) + +RENAME_SOURCE_IF_UNMODIFIED_SINCE: StaticSchema = (4, n0, _RSIUS, {_sF: _hd}) + +RENAME_OBJECT_INPUT: StaticSchema = ( + 18, + n0, + _ROI, + {_sSI: _cROR, _s: None}, + (_B, _K, _RSen, _DIM, _DINM, _DIMS, _DIUS, _SIM, _SINM, _SIMS, _SIUS, _CTl), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (RENAME_SOURCE, {_sH: _xars_, _sm: None}), + (lambda: schemas.IF_MATCH, {_sH: _IM_}), + (lambda: schemas.IF_NONE_MATCH, {_sH: _INM_}), + (lambda: schemas.IF_MODIFIED_SINCE, {_sH: _IMS_}), + (lambda: schemas.IF_UNMODIFIED_SINCE, {_sH: _IUS_}), + (RENAME_SOURCE_IF_MATCH, {_sH: _xarsim}), + (RENAME_SOURCE_IF_NONE_MATCH, {_sH: _xarsinm}), + (RENAME_SOURCE_IF_MODIFIED_SINCE, {_sH: _xarsims}), + (RENAME_SOURCE_IF_UNMODIFIED_SINCE, {_sH: _xarsius}), + (CLIENT_TOKEN, {_sH: _xact_, _sT: None}), + ), +) + +RENAME_OBJECT_OUTPUT: StaticSchema = (18, n0, _ROO, {_smi: None}) + +RENAME_OBJECT: StaticOperationSchema = ( + 23, + n0, + _ROe, + { + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?renameObject", "code": 200} + ) + }, + RENAME_OBJECT_INPUT, + RENAME_OBJECT_OUTPUT, + (IDEMPOTENCY_PARAMETER_MISMATCH,), +) + +OBJECT_ALREADY_IN_ACTIVE_TIER_ERROR: StaticSchema = ( + 18, + n0, + _OAIATE, + {_smit: _c, _sE: 403}, +) + +DESCRIPTION: StaticSchema = (3, n0, _Des, 0) + +TIER: StaticSchema = ( + 14, + n0, + _Tier, + 0, + (_St, _Bul, _Expe), + ((-1, {_sV: _St}), (-1, {_sV: _Bul}), (-1, {_sV: _Expe})), +) + +GLACIER_JOB_PARAMETERS: StaticSchema = (18, n0, _GJP, 0, (_Tier,), ((TIER, 1),)) + +KMS_CONTEXT: StaticSchema = (3, n0, _KMSC, 0) + +ENCRYPTION: StaticSchema = ( + 18, + n0, + _En, + 0, + (_ETn, _KMSKI, _KMSC), + ( + (lambda: schemas.SERVER_SIDE_ENCRYPTION, 1), + (lambda: schemas.SSEKMS_KEY_ID, 0), + (KMS_CONTEXT, 0), + ), +) + +LOCATION_PREFIX: StaticSchema = (3, n0, _LPo, 0) + +METADATA_ENTRY: StaticSchema = ( + 18, + n0, + _ME, + 0, + (_N, _V), + ((lambda: schemas.METADATA_KEY, 0), (lambda: schemas.METADATA_VALUE, 0)), +) + +USER_METADATA: StaticSchema = (16, n0, _UM, 0, (_m,), ((METADATA_ENTRY, {_sN: _ME}),)) + +S3_LOCATION: StaticSchema = ( + 18, + n0, + _SL, + 0, + (_BN, _Pr, _En, _CACL, _ACL, _Ta, _UM, _SC), + ( + (lambda: schemas.BUCKET_NAME, 1), + (LOCATION_PREFIX, 1), + (ENCRYPTION, 0), + (lambda: schemas.OBJECT_CANNED_ACL, 0), + (lambda: schemas.GRANTS, 0), + (TAGGING, 0), + (USER_METADATA, 0), + (lambda: schemas.STORAGE_CLASS, 0), + ), +) + +OUTPUT_LOCATION: StaticSchema = (18, n0, _OLu, 0, (_S_,), ((S3_LOCATION, 0),)) + +EXPRESSION: StaticSchema = (3, n0, _Expr, 0) + +EXPRESSION_TYPE: StaticSchema = (14, n0, _ETx, 0, (_SQL,), ((-1, {_sV: _SQL}),)) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_8.py b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_8.py new file mode 100644 index 000000000..d21caf2d9 --- /dev/null +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/_private/schemas_8.py @@ -0,0 +1,1265 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.s3" +_E = "Enabled" +_sV = "smithy.api#enumValue" +_RP = "RequestPayer" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_B = "Bucket" +_sP = "smithy.rules#contextParam" +_sm = "smithy.api#required" +_sL = "smithy.api#httpLabel" +_K = "Key" +_UI = "UploadId" +_sQ = "smithy.api#httpQuery" +_uI = "uploadId" +_sH = "smithy.api#httpHeader" +_xarp = "x-amz-request-payer" +_EBO = "ExpectedBucketOwner" +_xaebo = "x-amz-expected-bucket-owner" +_RC = "RequestCharged" +_smi = "smithy.api#output" +_xarc = "x-amz-request-charged" +_smith = "smithy.api#http" +_AR = "AcceptRanges" +_T = "Type" +_sN = "smithy.api#xmlName" +_sNm = "smithy.api#xmlNamespace" +_AQRD = "AllowQuotedRecordDelimiter" +_CCRC = "ChecksumCRC32" +_CCRCC = "ChecksumCRC32C" +_CCRCNVME = "ChecksumCRC64NVME" +_CMD = "ChecksumMD5" +_CSHA = "ChecksumSHA1" +_CSHAh = "ChecksumSHA256" +_CSHAhe = "ChecksumSHA512" +_CXXHASH = "ChecksumXXHASH128" +_CXXHASHh = "ChecksumXXHASH3" +_CXXHASHhe = "ChecksumXXHASH64" +_ET = "ETag" +_PN = "PartNumber" +_SSECA = "SSECustomerAlgorithm" +_SSECK = "SSECustomerKey" +_smithy = "smithy.api#sensitive" +_SSECKMD = "SSECustomerKeyMD5" +_sPm = "smithy.api#httpPayload" +_xacc = "x-amz-checksum-crc32" +_xacc_ = "x-amz-checksum-crc32c" +_xacc__ = "x-amz-checksum-crc64nvme" +_xacs = "x-amz-checksum-sha1" +_xacs_ = "x-amz-checksum-sha256" +_xacs__ = "x-amz-checksum-sha512" +_xacm = "x-amz-checksum-md5" +_xacx = "x-amz-checksum-xxhash64" +_xacx_ = "x-amz-checksum-xxhash3" +_xacx__ = "x-amz-checksum-xxhash128" +_xasseca = "x-amz-server-side-encryption-customer-algorithm" +_xasseck = "x-amz-server-side-encryption-customer-key" +_xasseckM = "x-amz-server-side-encryption-customer-key-MD5" +_BKE = "BucketKeyEnabled" +_Ex = "Expiration" +_SSE = "ServerSideEncryption" +_SSEKMSKI = "SSEKMSKeyId" +_xasse = "x-amz-server-side-encryption" +_VI = "VersionId" +_xasseakki = "x-amz-server-side-encryption-aws-kms-key-id" +_xassebke = "x-amz-server-side-encryption-bucket-key-enabled" +_CC = "CacheControl" +_CA = "ChecksumAlgorithm" +_CD = "ContentDisposition" +_CE = "ContentEncoding" +_CL = "ContentLanguage" +_CTo = "ContentType" +_CS = "CopySource" +_CSIM = "CopySourceIfMatch" +_CSIMS = "CopySourceIfModifiedSince" +_CSINM = "CopySourceIfNoneMatch" +_CSIUS = "CopySourceIfUnmodifiedSince" +_CSSSECA = "CopySourceSSECustomerAlgorithm" +_CSSSECK = "CopySourceSSECustomerKey" +_CSSSECKMD = "CopySourceSSECustomerKeyMD5" +_Exp = "Expires" +_M = "Metadata" +_OLLHS = "ObjectLockLegalHoldStatus" +_OLM = "ObjectLockMode" +_OLRUD = "ObjectLockRetainUntilDate" +_SC = "StorageClass" +_xacs___ = "x-amz-copy-source" +_xacsim = "x-amz-copy-source-if-match" +_xacsims = "x-amz-copy-source-if-modified-since" +_xacsinm = "x-amz-copy-source-if-none-match" +_xacsius = "x-amz-copy-source-if-unmodified-since" +_sPH = "smithy.api#httpPrefixHeaders" +_xam = "x-amz-meta-" +_xacssseca = "x-amz-copy-source-server-side-encryption-customer-algorithm" +_xacssseck = "x-amz-copy-source-server-side-encryption-customer-key" +_xacssseckM = "x-amz-copy-source-server-side-encryption-customer-key-MD5" +_ESBO = "ExpectedSourceBucketOwner" +_xasebo = "x-amz-source-expected-bucket-owner" +_LM = "LastModified" +_CSVI = "CopySourceVersionId" +_xacsvi = "x-amz-copy-source-version-id" +_sCP = "smithy.rules#staticContextParams" +_CMDo = "ContentMD5" +_R = "Role" +_ATC = "AnnotationTableConfiguration" +_CSo = "ConfigurationState" +_EC = "EncryptionConfiguration" +_ITC = "InventoryTableConfiguration" +_RE = "RecordExpiration" +_Da = "Days" +_JTC = "JournalTableConfiguration" +_CM = "Content-MD5" +_xasca = "x-amz-sdk-checksum-algorithm" +_sU = "smithy.api#Unit" +_aC = "aws.protocols#httpChecksum" +_vI = "versionId" +_DM = "DeleteMarker" +_CSV = "CSV" +_NONE = "NONE" +_SSEKMS = "SSEKMS" +_SK = "SSE-KMS" +_Parq = "Parquet" +_RS = "ReplicationStatus" +_ECr = "ErrorCode" +_EM = "ErrorMessage" +_pN = "partNumber" +_smithya = "smithy.api#streaming" +_CLo = "ContentLength" +_CR = "ContentRange" +_MM = "MissingMeta" +_PC = "PartsCount" +_Res = "Restore" +_TCa = "TagCount" +_Bo = "Body" +_smithyap = "smithy.api#default" +_v_ = "" +_CL__ = "Content-Length" +_Des = "Description" +_Tier = "Tier" +_GJP = "GlacierJobParameters" +_OLu = "OutputLocation" +_Expr = "Expression" +_ETx = "ExpressionType" +_CTom = "CompressionType" +_GZIP = "GZIP" +_BZIP = "BZIP2" +_Com = "Comments" +_FD = "FieldDelimiter" +_FHI = "FileHeaderInfo" +_USE = "USE" +_IGNORE = "IGNORE" +_QCuo = "QuoteCharacter" +_QEC = "QuoteEscapeCharacter" +_RD = "RecordDelimiter" +_CSVIn = "CSVInput" +_JSONT = "JSONType" +_DOCUMENT = "DOCUMENT" +_LINES = "LINES" +_JSONI = "JSONInput" +_PI = "ParquetInput" +_ISn = "InputSerialization" +_JSON = "JSON" +_QF = "QuoteFields" +_ALWAYS = "ALWAYS" +_ASNEEDED = "ASNEEDED" +_CSVO = "CSVOutput" +_JSONO = "JSONOutput" +_OSu = "OutputSerialization" +_SPe = "SelectParameters" +_RRT = "RestoreRequestType" +_SELECT = "SELECT" +_RRes = "RestoreRequest" +_ROIe = "RestoreObjectInput" +_cRORo = "com.amazonaws.s3#RestoreObjectRequest" +_ROP = "RestoreOutputPath" +_ROOe = "RestoreObjectOutput" +_xarop = "x-amz-restore-output-path" +_ROes = "RestoreObject" +_ERP = "EnableRequestProgress" +_RPe = "RequestProgress" +_End = "End" +_Sta = "Start" +_SR = "ScanRange" +_SOCI = "SelectObjectContentInput" +_cSOCR = "com.amazonaws.s3#SelectObjectContentRequest" +_CEo = "ContinuationEvent" +_EE = "EndEvent" +_BP = "BytesProcessed" +_BRy = "BytesReturned" +_BS = "BytesScanned" +_Prog = "Progress" +_PE = "ProgressEvent" +_Det = "Details" +_sPmi = "smithy.api#eventPayload" +_REec = "RecordsEvent" +_Payl = "Payload" +_Stat = "Stats" +_SEt = "StatsEvent" +_SOCES = "SelectObjectContentEventStream" +_Rec = "Records" +_Cont_ = "Cont" +_SOCO = "SelectObjectContentOutput" +_SOC = "SelectObjectContent" +_ATCU = "AnnotationTableConfigurationUpdates" +_UBMATCI = "UpdateBucketMetadataAnnotationTableConfigurationInput" +_cUBMATCR = "com.amazonaws.s3#UpdateBucketMetadataAnnotationTableConfigurationRequest" +_UBMATCO = "UpdateBucketMetadataAnnotationTableConfigurationOutput" +_UBMATC = "UpdateBucketMetadataAnnotationTableConfiguration" +_ITCU = "InventoryTableConfigurationUpdates" +_UBMITCI = "UpdateBucketMetadataInventoryTableConfigurationInput" +_cUBMITCR = "com.amazonaws.s3#UpdateBucketMetadataInventoryTableConfigurationRequest" +_UBMITCO = "UpdateBucketMetadataInventoryTableConfigurationOutput" +_UBMITC = "UpdateBucketMetadataInventoryTableConfiguration" +_JTCU = "JournalTableConfigurationUpdates" +_UBMJTCI = "UpdateBucketMetadataJournalTableConfigurationInput" +_cUBMJTCR = "com.amazonaws.s3#UpdateBucketMetadataJournalTableConfigurationRequest" +_UBMJTCO = "UpdateBucketMetadataJournalTableConfigurationOutput" +_UBMJTC = "UpdateBucketMetadataJournalTableConfiguration" +_NEKKAS = "NonEmptyKmsKeyArnString" +_SSEKMSE = "SSEKMSEncryption" +_KMSKA = "KMSKeyArn" +_OE = "ObjectEncryption" +_UOEI = "UpdateObjectEncryptionInput" +_cUOER = "com.amazonaws.s3#UpdateObjectEncryptionRequest" +_UOEO = "UpdateObjectEncryptionOutput" +_cUOERo = "com.amazonaws.s3#UpdateObjectEncryptionResponse" +_UOE = "UpdateObjectEncryption" +_UPI = "UploadPartInput" +_cUPR = "com.amazonaws.s3#UploadPartRequest" +_UPO = "UploadPartOutput" +_UP = "UploadPart" +_CSRo = "CopySourceRange" +_UPCI = "UploadPartCopyInput" +_cUPCR = "com.amazonaws.s3#UploadPartCopyRequest" +_xacsr = "x-amz-copy-source-range" +_CPR = "CopyPartResult" +_UPCO = "UploadPartCopyOutput" +_UPC = "UploadPartCopy" +_RReq = "RequestRoute" +_RTe = "RequestToken" +_GORSC = "GetObjectResponseStatusCode" +_WGORI = "WriteGetObjectResponseInput" +_cWGORR = "com.amazonaws.s3#WriteGetObjectResponseRequest" +_sLm = "smithy.api#hostLabel" +_xarr = "x-amz-request-route" +_xart = "x-amz-request-token" +_SCt = "StatusCode" +_xafs = "x-amz-fwd-status" +_xafec = "x-amz-fwd-error-code" +_xafem = "x-amz-fwd-error-message" +_xafhar = "x-amz-fwd-header-accept-ranges" +_xafhCC = "x-amz-fwd-header-Cache-Control" +_xafhCD = "x-amz-fwd-header-Content-Disposition" +_xafhCE = "x-amz-fwd-header-Content-Encoding" +_xafhCL = "x-amz-fwd-header-Content-Language" +_xafhCR = "x-amz-fwd-header-Content-Range" +_xafhCT = "x-amz-fwd-header-Content-Type" +_xafhxacc = "x-amz-fwd-header-x-amz-checksum-crc32" +_xafhxacc_ = "x-amz-fwd-header-x-amz-checksum-crc32c" +_xafhxacc__ = "x-amz-fwd-header-x-amz-checksum-crc64nvme" +_xafhxacs = "x-amz-fwd-header-x-amz-checksum-sha1" +_xafhxacs_ = "x-amz-fwd-header-x-amz-checksum-sha256" +_xafhxacs__ = "x-amz-fwd-header-x-amz-checksum-sha512" +_xafhxacm = "x-amz-fwd-header-x-amz-checksum-md5" +_xafhxacx = "x-amz-fwd-header-x-amz-checksum-xxhash64" +_xafhxacx_ = "x-amz-fwd-header-x-amz-checksum-xxhash3" +_xafhxacx__ = "x-amz-fwd-header-x-amz-checksum-xxhash128" +_xafhxadm = "x-amz-fwd-header-x-amz-delete-marker" +_xafhE = "x-amz-fwd-header-ETag" +_xafhE_ = "x-amz-fwd-header-Expires" +_xafhxae = "x-amz-fwd-header-x-amz-expiration" +_xafhLM = "x-amz-fwd-header-Last-Modified" +_xafhxamm = "x-amz-fwd-header-x-amz-missing-meta" +_xafhxaolm = "x-amz-fwd-header-x-amz-object-lock-mode" +_xafhxaollh = "x-amz-fwd-header-x-amz-object-lock-legal-hold" +_xafhxaolrud = "x-amz-fwd-header-x-amz-object-lock-retain-until-date" +_xafhxampc = "x-amz-fwd-header-x-amz-mp-parts-count" +_xafhxars = "x-amz-fwd-header-x-amz-replication-status" +_xafhxarc = "x-amz-fwd-header-x-amz-request-charged" +_xafhxar = "x-amz-fwd-header-x-amz-restore" +_xafhxasse = "x-amz-fwd-header-x-amz-server-side-encryption" +_xafhxasseca = "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm" +_xafhxasseakki = "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id" +_xafhxasseckM = "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5" +_xafhxasc = "x-amz-fwd-header-x-amz-storage-class" +_xafhxatc = "x-amz-fwd-header-x-amz-tagging-count" +_xafhxavi = "x-amz-fwd-header-x-amz-version-id" +_xafhxassebke = "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled" +_WGORO = "WriteGetObjectResponseOutput" +_WGOR = "WriteGetObjectResponse" +_aP = "aws.auth#unsignedPayload" +_smithyapi = "smithy.api#endpoint" +_ASm = "AmazonS3" +_awsa = "aws.auth#sigv4" +_aX = "aws.protocols#restXml" +_awsap = "aws.api#service" + +COMPRESSION_TYPE: StaticSchema = ( + 14, + n0, + _CTom, + 0, + (_NONE, _GZIP, _BZIP), + ((-1, {_sV: _NONE}), (-1, {_sV: _GZIP}), (-1, {_sV: _BZIP})), +) + +COMMENTS: StaticSchema = (3, n0, _Com, 0) + +FIELD_DELIMITER: StaticSchema = (3, n0, _FD, 0) + +FILE_HEADER_INFO: StaticSchema = ( + 14, + n0, + _FHI, + 0, + (_USE, _IGNORE, _NONE), + ((-1, {_sV: _USE}), (-1, {_sV: _IGNORE}), (-1, {_sV: _NONE})), +) + +QUOTE_CHARACTER: StaticSchema = (3, n0, _QCuo, 0) + +QUOTE_ESCAPE_CHARACTER: StaticSchema = (3, n0, _QEC, 0) + +RECORD_DELIMITER: StaticSchema = (3, n0, _RD, 0) + +CSV_INPUT: StaticSchema = ( + 18, + n0, + _CSVIn, + 0, + (_FHI, _Com, _QEC, _RD, _FD, _QCuo, _AQRD), + ( + (FILE_HEADER_INFO, 0), + (COMMENTS, 0), + (QUOTE_ESCAPE_CHARACTER, 0), + (RECORD_DELIMITER, 0), + (FIELD_DELIMITER, 0), + (QUOTE_CHARACTER, 0), + (lambda: schemas.ALLOW_QUOTED_RECORD_DELIMITER, 0), + ), +) + +JSON_TYPE: StaticSchema = ( + 14, + n0, + _JSONT, + 0, + (_DOCUMENT, _LINES), + ((-1, {_sV: _DOCUMENT}), (-1, {_sV: _LINES})), +) + +JSON_INPUT: StaticSchema = (18, n0, _JSONI, 0, (_T,), ((JSON_TYPE, 0),)) + +PARQUET_INPUT: StaticSchema = (18, n0, _PI, 0) + +INPUT_SERIALIZATION: StaticSchema = ( + 18, + n0, + _ISn, + 0, + (_CSV, _CTom, _JSON, _Parq), + ((CSV_INPUT, 0), (COMPRESSION_TYPE, 0), (JSON_INPUT, 0), (PARQUET_INPUT, 0)), +) + +QUOTE_FIELDS: StaticSchema = ( + 14, + n0, + _QF, + 0, + (_ALWAYS, _ASNEEDED), + ((-1, {_sV: _ALWAYS}), (-1, {_sV: _ASNEEDED})), +) + +CSV_OUTPUT: StaticSchema = ( + 18, + n0, + _CSVO, + 0, + (_QF, _QEC, _RD, _FD, _QCuo), + ( + (QUOTE_FIELDS, 0), + (QUOTE_ESCAPE_CHARACTER, 0), + (RECORD_DELIMITER, 0), + (FIELD_DELIMITER, 0), + (QUOTE_CHARACTER, 0), + ), +) + +JSON_OUTPUT: StaticSchema = (18, n0, _JSONO, 0, (_RD,), ((RECORD_DELIMITER, 0),)) + +OUTPUT_SERIALIZATION: StaticSchema = ( + 18, + n0, + _OSu, + 0, + (_CSV, _JSON), + ((CSV_OUTPUT, 0), (JSON_OUTPUT, 0)), +) + +SELECT_PARAMETERS: StaticSchema = ( + 18, + n0, + _SPe, + 0, + (_ISn, _ETx, _Expr, _OSu), + ( + (INPUT_SERIALIZATION, 1), + (lambda: schemas.EXPRESSION_TYPE, 1), + (lambda: schemas.EXPRESSION, 1), + (OUTPUT_SERIALIZATION, 1), + ), +) + +RESTORE_REQUEST_TYPE: StaticSchema = ( + 14, + n0, + _RRT, + 0, + (_SELECT,), + ((-1, {_sV: _SELECT}),), +) + +RESTORE_REQUEST: StaticSchema = ( + 18, + n0, + _RRes, + 0, + (_Da, _GJP, _T, _Tier, _Des, _SPe, _OLu), + ( + (lambda: schemas.DAYS, 0), + (lambda: schemas.GLACIER_JOB_PARAMETERS, 0), + (RESTORE_REQUEST_TYPE, 0), + (lambda: schemas.TIER, 0), + (lambda: schemas.DESCRIPTION, 0), + (SELECT_PARAMETERS, 0), + (lambda: schemas.OUTPUT_LOCATION, 0), + ), +) + +RESTORE_OBJECT_INPUT: StaticSchema = ( + 18, + n0, + _ROIe, + {_sSI: _cRORo, _s: None}, + (_B, _K, _VI, _RRes, _RP, _CA, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (RESTORE_REQUEST, {_sN: _RRes, _sPm: None}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +RESTORE_OBJECT_OUTPUT: StaticSchema = ( + 18, + n0, + _ROOe, + {_smi: None}, + (_RC, _ROP), + ( + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + (lambda: RESTORE_OUTPUT_PATH, {_sH: _xarop}), + ), +) + +RESTORE_OBJECT: StaticOperationSchema = ( + 23, + n0, + _ROes, + { + _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), + _smith: MappingProxyType( + {"method": "POST", "uri": "/{Key+}?restore", "code": 200} + ), + }, + RESTORE_OBJECT_INPUT, + RESTORE_OBJECT_OUTPUT, + (lambda: schemas.OBJECT_ALREADY_IN_ACTIVE_TIER_ERROR,), +) + +RESTORE_OUTPUT_PATH: StaticSchema = (3, n0, _ROP, 0) + +ENABLE_REQUEST_PROGRESS: StaticSchema = (2, n0, _ERP, 0) + +REQUEST_PROGRESS: StaticSchema = ( + 18, + n0, + _RPe, + 0, + (_E,), + ((ENABLE_REQUEST_PROGRESS, 0),), +) + +END: StaticSchema = (8, n0, _End, 0) + +START: StaticSchema = (8, n0, _Sta, 0) + +SCAN_RANGE: StaticSchema = (18, n0, _SR, 0, (_Sta, _End), ((START, 0), (END, 0))) + +SELECT_OBJECT_CONTENT_INPUT: StaticSchema = ( + 18, + n0, + _SOCI, + {_sSI: _cSOCR, _s: None}, + (_B, _K, _SSECA, _SSECK, _SSECKMD, _Expr, _ETx, _RPe, _ISn, _OSu, _SR, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.EXPRESSION, 1), + (lambda: schemas.EXPRESSION_TYPE, 1), + (REQUEST_PROGRESS, 0), + (INPUT_SERIALIZATION, 1), + (OUTPUT_SERIALIZATION, 1), + (SCAN_RANGE, 0), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +SELECT_OBJECT_CONTENT_OUTPUT: StaticSchema = ( + 18, + n0, + _SOCO, + {_smi: None}, + (_Payl,), + ((lambda: SELECT_OBJECT_CONTENT_EVENT_STREAM, 16),), +) + +SELECT_OBJECT_CONTENT: StaticOperationSchema = ( + 23, + n0, + _SOC, + { + _smith: MappingProxyType( + {"method": "POST", "uri": "/{Key+}?select&select-type=2", "code": 200} + ) + }, + SELECT_OBJECT_CONTENT_INPUT, + SELECT_OBJECT_CONTENT_OUTPUT, + (), +) + +CONTINUATION_EVENT: StaticSchema = (18, n0, _CEo, 0) + +END_EVENT: StaticSchema = (18, n0, _EE, 0) + +BYTES_PROCESSED: StaticSchema = (8, n0, _BP, 0) + +BYTES_RETURNED: StaticSchema = (8, n0, _BRy, 0) + +BYTES_SCANNED: StaticSchema = (8, n0, _BS, 0) + +PROGRESS: StaticSchema = ( + 18, + n0, + _Prog, + 0, + (_BS, _BP, _BRy), + ((BYTES_SCANNED, 0), (BYTES_PROCESSED, 0), (BYTES_RETURNED, 0)), +) + +PROGRESS_EVENT: StaticSchema = (18, n0, _PE, 0, (_Det,), ((PROGRESS, {_sPmi: None}),)) + +BODY: StaticSchema = (1, n0, _Bo, 0) + +RECORDS_EVENT: StaticSchema = (18, n0, _REec, 0, (_Payl,), ((BODY, {_sPmi: None}),)) + +STATS: StaticSchema = ( + 18, + n0, + _Stat, + 0, + (_BS, _BP, _BRy), + ((BYTES_SCANNED, 0), (BYTES_PROCESSED, 0), (BYTES_RETURNED, 0)), +) + +STATS_EVENT: StaticSchema = (18, n0, _SEt, 0, (_Det,), ((STATS, {_sPmi: None}),)) + +SELECT_OBJECT_CONTENT_EVENT_STREAM: StaticSchema = ( + 19, + n0, + _SOCES, + {_smithya: None}, + (_Rec, _Stat, _Prog, _Cont_, _End), + ( + (RECORDS_EVENT, 0), + (STATS_EVENT, 0), + (PROGRESS_EVENT, 0), + (CONTINUATION_EVENT, 0), + (END_EVENT, 0), + ), +) + +ANNOTATION_TABLE_CONFIGURATION_UPDATES: StaticSchema = ( + 18, + n0, + _ATCU, + 0, + (_CSo, _EC, _R), + ( + (lambda: schemas.ANNOTATION_CONFIGURATION_STATE, 1), + (lambda: schemas.METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0), + (lambda: schemas.ROLE, 0), + ), +) + +UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UBMATCI, + {_sSI: _cUBMATCR, _s: None}, + (_B, _CMDo, _CA, _ATC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (ANNOTATION_TABLE_CONFIGURATION_UPDATES, {_sN: _ATC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UBMATCO, + {_sSI: _sU, _smi: None}, +) + +UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _UBMATC, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?metadataAnnotationTable", "code": 200} + ), + }, + UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_INPUT, + UPDATE_BUCKET_METADATA_ANNOTATION_TABLE_CONFIGURATION_OUTPUT, + (), +) + +INVENTORY_TABLE_CONFIGURATION_UPDATES: StaticSchema = ( + 18, + n0, + _ITCU, + 0, + (_CSo, _EC), + ( + (lambda: schemas.INVENTORY_CONFIGURATION_STATE, 1), + (lambda: schemas.METADATA_TABLE_ENCRYPTION_CONFIGURATION, 0), + ), +) + +UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UBMITCI, + {_sSI: _cUBMITCR, _s: None}, + (_B, _CMDo, _CA, _ITC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (INVENTORY_TABLE_CONFIGURATION_UPDATES, {_sN: _ITC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UBMITCO, + {_sSI: _sU, _smi: None}, +) + +UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _UBMITC, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?metadataInventoryTable", "code": 200} + ), + }, + UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_INPUT, + UPDATE_BUCKET_METADATA_INVENTORY_TABLE_CONFIGURATION_OUTPUT, + (), +) + +JOURNAL_TABLE_CONFIGURATION_UPDATES: StaticSchema = ( + 18, + n0, + _JTCU, + 0, + (_RE,), + ((lambda: schemas.RECORD_EXPIRATION, 1),), +) + +UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _UBMJTCI, + {_sSI: _cUBMJTCR, _s: None}, + (_B, _CMDo, _CA, _JTC, _EBO), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (JOURNAL_TABLE_CONFIGURATION_UPDATES, {_sN: _JTC, _sm: None, _sPm: None}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _UBMJTCO, + {_sSI: _sU, _smi: None}, +) + +UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _UBMJTC, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _sCP: MappingProxyType( + {"UseS3ExpressControlEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/?metadataJournalTable", "code": 200} + ), + }, + UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_INPUT, + UPDATE_BUCKET_METADATA_JOURNAL_TABLE_CONFIGURATION_OUTPUT, + (), +) + +NON_EMPTY_KMS_KEY_ARN_STRING: StaticSchema = (3, n0, _NEKKAS, 4) + +SSEKMS_ENCRYPTION: StaticSchema = ( + 18, + n0, + _SSEKMSE, + {_sN: _SK}, + (_KMSKA, _BKE), + ((NON_EMPTY_KMS_KEY_ARN_STRING, 1), (lambda: schemas.BUCKET_KEY_ENABLED, 0)), +) + +OBJECT_ENCRYPTION: StaticSchema = ( + 19, + n0, + _OE, + 0, + (_SSEKMS,), + ((SSEKMS_ENCRYPTION, {_sN: _SK}),), +) + +UPDATE_OBJECT_ENCRYPTION_INPUT: StaticSchema = ( + 18, + n0, + _UOEI, + {_sSI: _cUOER, _s: None}, + (_B, _K, _VI, _OE, _RP, _EBO, _CMDo, _CA), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.OBJECT_VERSION_ID, {_sQ: _vI}), + (OBJECT_ENCRYPTION, 17), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + ), +) + +UPDATE_OBJECT_ENCRYPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _UOEO, + {_sSI: _cUOERo, _smi: None}, + (_RC,), + ((lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}),), +) + +UPDATE_OBJECT_ENCRYPTION: StaticOperationSchema = ( + 23, + n0, + _UOE, + { + _aC: MappingProxyType( + { + "requestAlgorithmMember": "ChecksumAlgorithm", + "requestChecksumRequired": True, + } + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?encryption", "code": 200} + ), + }, + UPDATE_OBJECT_ENCRYPTION_INPUT, + UPDATE_OBJECT_ENCRYPTION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED, + lambda: schemas.INVALID_REQUEST, + lambda: schemas.NO_SUCH_KEY, + ), +) + +UPLOAD_PART_INPUT: StaticSchema = ( + 18, + n0, + _UPI, + {_sSI: _cUPR, _s: None}, + ( + _Bo, + _B, + _CLo, + _CMDo, + _CA, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _K, + _PN, + _UI, + _SSECA, + _SSECK, + _SSECKMD, + _RP, + _EBO, + ), + ( + (lambda: schemas.STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.CONTENT_LENGTH, {_sH: _CL__}), + (lambda: schemas.CONTENT_MD5, {_sH: _CM}), + (lambda: schemas.CHECKSUM_ALGORITHM, {_sH: _xasca}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xacx__}), + ( + lambda: schemas.OBJECT_KEY, + {_sP: MappingProxyType({"name": "Key"}), _sm: None, _sL: None}, + ), + (lambda: schemas.PART_NUMBER, {_sQ: _pN, _sm: None}), + (lambda: schemas.MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + ), +) + +UPLOAD_PART_OUTPUT: StaticSchema = ( + 18, + n0, + _UPO, + {_smi: None}, + ( + _SSE, + _ET, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _SSECA, + _SSECKMD, + _SSEKMSKI, + _BKE, + _RC, + ), + ( + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.E_TAG, {_sH: _ET}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xacx__}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +UPLOAD_PART: StaticOperationSchema = ( + 23, + n0, + _UP, + { + _aC: MappingProxyType({"requestAlgorithmMember": "ChecksumAlgorithm"}), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?x-id=UploadPart", "code": 200} + ), + }, + UPLOAD_PART_INPUT, + UPLOAD_PART_OUTPUT, + (), +) + +COPY_SOURCE_RANGE: StaticSchema = (3, n0, _CSRo, 0) + +UPLOAD_PART_COPY_INPUT: StaticSchema = ( + 18, + n0, + _UPCI, + {_sSI: _cUPCR, _s: None}, + ( + _B, + _CS, + _CSIM, + _CSIMS, + _CSINM, + _CSIUS, + _CSRo, + _K, + _PN, + _UI, + _SSECA, + _SSECK, + _SSECKMD, + _CSSSECA, + _CSSSECK, + _CSSSECKMD, + _RP, + _EBO, + _ESBO, + ), + ( + ( + lambda: schemas.BUCKET_NAME, + {_sP: MappingProxyType({"name": "Bucket"}), _sm: None, _sL: None}, + ), + (lambda: schemas.COPY_SOURCE, {_sH: _xacs___, _sm: None}), + (lambda: schemas.COPY_SOURCE_IF_MATCH, {_sH: _xacsim}), + (lambda: schemas.COPY_SOURCE_IF_MODIFIED_SINCE, {_sH: _xacsims}), + (lambda: schemas.COPY_SOURCE_IF_NONE_MATCH, {_sH: _xacsinm}), + (lambda: schemas.COPY_SOURCE_IF_UNMODIFIED_SINCE, {_sH: _xacsius}), + (COPY_SOURCE_RANGE, {_sH: _xacsr}), + (lambda: schemas.OBJECT_KEY, 9), + (lambda: schemas.PART_NUMBER, {_sQ: _pN, _sm: None}), + (lambda: schemas.MULTIPART_UPLOAD_ID, {_sQ: _uI, _sm: None}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY, {_sH: _xasseck}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.COPY_SOURCE_SSE_CUSTOMER_ALGORITHM, {_sH: _xacssseca}), + (lambda: schemas.COPY_SOURCE_SSE_CUSTOMER_KEY, {_sH: _xacssseck}), + (lambda: schemas.COPY_SOURCE_SSE_CUSTOMER_KEY_MD5, {_sH: _xacssseckM}), + (lambda: schemas.REQUEST_PAYER, {_sH: _xarp}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xaebo}), + (lambda: schemas.ACCOUNT_ID, {_sH: _xasebo}), + ), +) + +UPLOAD_PART_COPY_OUTPUT: StaticSchema = ( + 18, + n0, + _UPCO, + {_smi: None}, + (_CSVI, _CPR, _SSE, _SSECA, _SSECKMD, _SSEKMSKI, _BKE, _RC), + ( + (lambda: schemas.COPY_SOURCE_VERSION_ID, {_sH: _xacsvi}), + (lambda: COPY_PART_RESULT, 16), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xasse}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xasseca}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xasseckM}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xasseakki}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xassebke}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xarc}), + ), +) + +UPLOAD_PART_COPY: StaticOperationSchema = ( + 23, + n0, + _UPC, + { + _sCP: MappingProxyType( + {"DisableS3ExpressSessionAuth": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "PUT", "uri": "/{Key+}?x-id=UploadPartCopy", "code": 200} + ), + }, + UPLOAD_PART_COPY_INPUT, + UPLOAD_PART_COPY_OUTPUT, + (), +) + +COPY_PART_RESULT: StaticSchema = ( + 18, + n0, + _CPR, + 0, + ( + _ET, + _LM, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + ), + ( + (lambda: schemas.E_TAG, 0), + (lambda: schemas.LAST_MODIFIED, 0), + (lambda: schemas.CHECKSUM_CRC32, 0), + (lambda: schemas.CHECKSUM_CRC32_C, 0), + (lambda: schemas.CHECKSUM_CRC64_NVME, 0), + (lambda: schemas.CHECKSUM_SHA1, 0), + (lambda: schemas.CHECKSUM_SHA256, 0), + (lambda: schemas.CHECKSUM_SHA512, 0), + (lambda: schemas.CHECKSUM_MD5, 0), + (lambda: schemas.CHECKSUM_XXHASH64, 0), + (lambda: schemas.CHECKSUM_XXHASH3, 0), + (lambda: schemas.CHECKSUM_XXHASH128, 0), + ), +) + +REQUEST_ROUTE: StaticSchema = (3, n0, _RReq, 0) + +REQUEST_TOKEN: StaticSchema = (3, n0, _RTe, 0) + +GET_OBJECT_RESPONSE_STATUS_CODE: StaticSchema = (7, n0, _GORSC, 0) + +WRITE_GET_OBJECT_RESPONSE_INPUT: StaticSchema = ( + 18, + n0, + _WGORI, + {_sSI: _cWGORR, _s: None}, + ( + _RReq, + _RTe, + _Bo, + _SCt, + _ECr, + _EM, + _AR, + _CC, + _CD, + _CE, + _CL, + _CLo, + _CR, + _CTo, + _CCRC, + _CCRCC, + _CCRCNVME, + _CSHA, + _CSHAh, + _CSHAhe, + _CMD, + _CXXHASHhe, + _CXXHASHh, + _CXXHASH, + _DM, + _ET, + _Exp, + _Ex, + _LM, + _MM, + _M, + _OLM, + _OLLHS, + _OLRUD, + _PC, + _RS, + _RC, + _Res, + _SSE, + _SSECA, + _SSEKMSKI, + _SSECKMD, + _SC, + _TCa, + _VI, + _BKE, + ), + ( + (REQUEST_ROUTE, {_sH: _xarr, _sLm: None, _sm: None}), + (REQUEST_TOKEN, {_sH: _xart, _sm: None}), + (lambda: schemas.STREAMING_BLOB, {_smithyap: _v_, _sPm: None}), + (GET_OBJECT_RESPONSE_STATUS_CODE, {_sH: _xafs}), + (lambda: schemas.ERROR_CODE, {_sH: _xafec}), + (lambda: schemas.ERROR_MESSAGE, {_sH: _xafem}), + (lambda: schemas.ACCEPT_RANGES, {_sH: _xafhar}), + (lambda: schemas.CACHE_CONTROL, {_sH: _xafhCC}), + (lambda: schemas.CONTENT_DISPOSITION, {_sH: _xafhCD}), + (lambda: schemas.CONTENT_ENCODING, {_sH: _xafhCE}), + (lambda: schemas.CONTENT_LANGUAGE, {_sH: _xafhCL}), + (lambda: schemas.CONTENT_LENGTH, {_sH: _CL__}), + (lambda: schemas.CONTENT_RANGE, {_sH: _xafhCR}), + (lambda: schemas.CONTENT_TYPE, {_sH: _xafhCT}), + (lambda: schemas.CHECKSUM_CRC32, {_sH: _xafhxacc}), + (lambda: schemas.CHECKSUM_CRC32_C, {_sH: _xafhxacc_}), + (lambda: schemas.CHECKSUM_CRC64_NVME, {_sH: _xafhxacc__}), + (lambda: schemas.CHECKSUM_SHA1, {_sH: _xafhxacs}), + (lambda: schemas.CHECKSUM_SHA256, {_sH: _xafhxacs_}), + (lambda: schemas.CHECKSUM_SHA512, {_sH: _xafhxacs__}), + (lambda: schemas.CHECKSUM_MD5, {_sH: _xafhxacm}), + (lambda: schemas.CHECKSUM_XXHASH64, {_sH: _xafhxacx}), + (lambda: schemas.CHECKSUM_XXHASH3, {_sH: _xafhxacx_}), + (lambda: schemas.CHECKSUM_XXHASH128, {_sH: _xafhxacx__}), + (lambda: schemas.DELETE_MARKER, {_sH: _xafhxadm}), + (lambda: schemas.E_TAG, {_sH: _xafhE}), + (lambda: schemas.EXPIRES, {_sH: _xafhE_}), + (lambda: schemas.EXPIRATION, {_sH: _xafhxae}), + (lambda: schemas.LAST_MODIFIED, {_sH: _xafhLM}), + (lambda: schemas.MISSING_META, {_sH: _xafhxamm}), + (lambda: schemas.METADATA, {_sPH: _xam}), + (lambda: schemas.OBJECT_LOCK_MODE, {_sH: _xafhxaolm}), + (lambda: schemas.OBJECT_LOCK_LEGAL_HOLD_STATUS, {_sH: _xafhxaollh}), + (lambda: schemas.OBJECT_LOCK_RETAIN_UNTIL_DATE, {_sH: _xafhxaolrud}), + (lambda: schemas.PARTS_COUNT, {_sH: _xafhxampc}), + (lambda: schemas.REPLICATION_STATUS, {_sH: _xafhxars}), + (lambda: schemas.REQUEST_CHARGED, {_sH: _xafhxarc}), + (lambda: schemas.RESTORE, {_sH: _xafhxar}), + (lambda: schemas.SERVER_SIDE_ENCRYPTION, {_sH: _xafhxasse}), + (lambda: schemas.SSE_CUSTOMER_ALGORITHM, {_sH: _xafhxasseca}), + (lambda: schemas.SSEKMS_KEY_ID, {_sH: _xafhxasseakki}), + (lambda: schemas.SSE_CUSTOMER_KEY_MD5, {_sH: _xafhxasseckM}), + (lambda: schemas.STORAGE_CLASS, {_sH: _xafhxasc}), + (lambda: schemas.TAG_COUNT, {_sH: _xafhxatc}), + (lambda: schemas.OBJECT_VERSION_ID, {_sH: _xafhxavi}), + (lambda: schemas.BUCKET_KEY_ENABLED, {_sH: _xafhxassebke}), + ), +) + +WRITE_GET_OBJECT_RESPONSE_OUTPUT: StaticSchema = ( + 18, + n0, + _WGORO, + {_sSI: _sU, _smi: None}, +) + +WRITE_GET_OBJECT_RESPONSE: StaticOperationSchema = ( + 23, + n0, + _WGOR, + { + _aP: None, + _smithyapi: MappingProxyType({"hostPrefix": "{RequestRoute}."}), + _sCP: MappingProxyType( + {"UseObjectLambdaEndpoint": MappingProxyType({"value": True})} + ), + _smith: MappingProxyType( + {"method": "POST", "uri": "/WriteGetObjectResponse", "code": 200} + ), + }, + WRITE_GET_OBJECT_RESPONSE_INPUT, + WRITE_GET_OBJECT_RESPONSE_OUTPUT, + (), +) + +AMAZON_S3: StaticSchema = ( + 21, + n0, + _ASm, + { + _awsa: MappingProxyType({"name": "s3"}), + _aX: MappingProxyType({"noErrorWrapping": True}), + _awsap: MappingProxyType( + { + "sdkId": "S3", + "arnNamespace": "s3", + "cloudFormationName": "S3", + "cloudTrailEventSource": "s3.amazonaws.com", + "endpointPrefix": "s3", + } + ), + _sNm: MappingProxyType({"uri": "http://s3.amazonaws.com/doc/2006-03-01/"}), + }, +) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/aio/checksums.py b/clients/aws-sdk-s3/src/aws_sdk_s3/aio/checksums.py index a31c23775..8ee25fc4e 100644 --- a/clients/aws-sdk-s3/src/aws_sdk_s3/aio/checksums.py +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/aio/checksums.py @@ -1,10 +1,9 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from smithy_aws_core.aio.checksums import AsyncChecksumStream -from smithy_aws_core.interceptors.checksums import FlexibleChecksumsInterceptor +from smithy_aws_core.aio.interceptors.checksums import AsyncFlexibleChecksumsInterceptor from .config import AsyncS3Config def flexible_checksums_plugin(config: AsyncS3Config) -> None: - config.interceptors.append(FlexibleChecksumsInterceptor(AsyncChecksumStream)) + config.interceptors.append(AsyncFlexibleChecksumsInterceptor()) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/aio/client.py b/clients/aws-sdk-s3/src/aws_sdk_s3/aio/client.py index 44fde9488..671f46ea0 100644 --- a/clients/aws-sdk-s3/src/aws_sdk_s3/aio/client.py +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncOutputEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/aio/config.py b/clients/aws-sdk-s3/src/aws_sdk_s3/aio/config.py index 1e466c205..cfeaf4f8a 100644 --- a/clients/aws-sdk-s3/src/aws_sdk_s3/aio/config.py +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestXmlClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -38,7 +38,10 @@ validate_response_checksum_validation, ) from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver @@ -641,6 +644,7 @@ class _AsyncS3ConfigOverrides(AsyncAwsConfigOverrides, total=False): use_dualstack_endpoint: bool | None request_checksum_calculation: RequestChecksumCalculation | None response_checksum_validation: ResponseChecksumValidation | None + disable_host_prefix_injection: bool | None @dataclass(kw_only=True, repr=False, init=False) @@ -757,6 +761,12 @@ class AsyncS3Config(AsyncAwsConfig): end, and a mismatch raises ``ChecksumMismatchError``. """ + disable_host_prefix_injection: bool | None = None + """ + Whether to skip prepending operations' modeled host prefixes to the + endpoint host. + """ + _FIELDS: ClassVar[dict[str, FieldSpec]] = { "force_path_style": FieldSpec(default=None), "use_arn_region": FieldSpec(default=None, resolver=_resolve_use_arn_region), @@ -790,6 +800,7 @@ class AsyncS3Config(AsyncAwsConfig): resolver=resolve_response_checksum_validation_program, validator=validate_response_checksum_validation, ), + "disable_host_prefix_injection": FieldSpec(default=None), **AsyncAwsConfig._FIELDS, "endpoint_uri": FieldSpec( default=None, resolver=EndpointUriResolver("s3").program diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/checksums.py b/clients/aws-sdk-s3/src/aws_sdk_s3/checksums.py index 6d1f493cd..21467b815 100644 --- a/clients/aws-sdk-s3/src/aws_sdk_s3/checksums.py +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/checksums.py @@ -1,10 +1,9 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from smithy_aws_core.checksums import ChecksumStream from smithy_aws_core.interceptors.checksums import FlexibleChecksumsInterceptor from .config import S3Config def flexible_checksums_plugin(config: S3Config) -> None: - config.interceptors.append(FlexibleChecksumsInterceptor(ChecksumStream)) + config.interceptors.append(FlexibleChecksumsInterceptor()) diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/client.py b/clients/aws-sdk-s3/src/aws_sdk_s3/client.py index 25f19c38d..0b8169ad2 100644 --- a/clients/aws-sdk-s3/src/aws_sdk_s3/client.py +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/config.py b/clients/aws-sdk-s3/src/aws_sdk_s3/config.py index 589f3a06f..b567536ac 100644 --- a/clients/aws-sdk-s3/src/aws_sdk_s3/config.py +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_bool_program, @@ -34,7 +34,10 @@ validate_response_checksum_validation, ) from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestXmlClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( @@ -636,6 +639,7 @@ class _S3ConfigOverrides(AwsConfigOverrides, total=False): use_dualstack_endpoint: bool | None request_checksum_calculation: RequestChecksumCalculation | None response_checksum_validation: ResponseChecksumValidation | None + disable_host_prefix_injection: bool | None @dataclass(kw_only=True, repr=False, init=False) @@ -752,6 +756,12 @@ class S3Config(AwsConfig): end, and a mismatch raises ``ChecksumMismatchError``. """ + disable_host_prefix_injection: bool | None = None + """ + Whether to skip prepending operations' modeled host prefixes to the + endpoint host. + """ + _FIELDS: ClassVar[dict[str, FieldSpec]] = { "force_path_style": FieldSpec(default=None), "use_arn_region": FieldSpec(default=None, resolver=_resolve_use_arn_region), @@ -785,6 +795,7 @@ class S3Config(AwsConfig): resolver=resolve_response_checksum_validation_program, validator=validate_response_checksum_validation, ), + "disable_host_prefix_injection": FieldSpec(default=None), **AwsConfig._FIELDS, "endpoint_uri": FieldSpec( default=None, resolver=EndpointUriResolver("s3").program diff --git a/clients/aws-sdk-s3/src/aws_sdk_s3/models.pyi b/clients/aws-sdk-s3/src/aws_sdk_s3/models.pyi index 0e998c5f4..8c7081c2c 100644 --- a/clients/aws-sdk-s3/src/aws_sdk_s3/models.pyi +++ b/clients/aws-sdk-s3/src/aws_sdk_s3/models.pyi @@ -1,17 +1,524 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from dataclasses import dataclass -from datetime import datetime -from enum import StrEnum -from typing import Self, Union +from typing import Self -from smithy_core.aio.interfaces import StreamingBlob from smithy_core.deserializers import ShapeDeserializer from smithy_core.exceptions import ModeledError -from smithy_core.response import ResponseMetadata from smithy_core.schemas import APIOperation from smithy_core.serializers import ShapeSerializer -from smithy_core.types import UnknownEnumMixin + +from ._private.models_0 import ( + AbacStatus as AbacStatus, + AbortIncompleteMultipartUpload as AbortIncompleteMultipartUpload, + AbortMultipartUploadInput as AbortMultipartUploadInput, + AbortMultipartUploadOutput as AbortMultipartUploadOutput, + AccelerateConfiguration as AccelerateConfiguration, + AccessControlPolicy as AccessControlPolicy, + AccessControlTranslation as AccessControlTranslation, + AccessDenied as AccessDenied, + AnalyticsAndOperator as AnalyticsAndOperator, + AnalyticsConfiguration as AnalyticsConfiguration, + AnalyticsExportDestination as AnalyticsExportDestination, + AnalyticsFilterPrefix as AnalyticsFilterPrefix, + AnalyticsFilterTag as AnalyticsFilterTag, + AnalyticsFilterAnd as AnalyticsFilterAnd, + AnalyticsFilterUnknown as AnalyticsFilterUnknown, + AnalyticsFilter as AnalyticsFilter, + _AnalyticsFilterDeserializer as _AnalyticsFilterDeserializer, + AnalyticsS3BucketDestination as AnalyticsS3BucketDestination, + AnalyticsS3ExportFileFormat as AnalyticsS3ExportFileFormat, + AnnotationConfigurationState as AnnotationConfigurationState, + AnnotationDirective as AnnotationDirective, + AnnotationEntry as AnnotationEntry, + AnnotationLimitExceeded as AnnotationLimitExceeded, + AnnotationNameTooLong as AnnotationNameTooLong, + AnnotationTableConfiguration as AnnotationTableConfiguration, + AnnotationTableConfigurationResult as AnnotationTableConfigurationResult, + AnnotationTableConfigurationUpdates as AnnotationTableConfigurationUpdates, + ArchiveStatus as ArchiveStatus, + BlockedEncryptionTypes as BlockedEncryptionTypes, + Bucket as Bucket, + BucketAbacStatus as BucketAbacStatus, + BucketAccelerateStatus as BucketAccelerateStatus, + BucketAlreadyExists as BucketAlreadyExists, + BucketAlreadyOwnedByYou as BucketAlreadyOwnedByYou, + BucketCannedACL as BucketCannedACL, + BucketInfo as BucketInfo, + BucketLifecycleConfiguration as BucketLifecycleConfiguration, + BucketLocationConstraint as BucketLocationConstraint, + BucketLoggingStatus as BucketLoggingStatus, + BucketLogsPermission as BucketLogsPermission, + BucketNamespace as BucketNamespace, + BucketType as BucketType, + BucketVersioningStatus as BucketVersioningStatus, + Checksum as Checksum, + ChecksumAlgorithm as ChecksumAlgorithm, + ChecksumMode as ChecksumMode, + ChecksumType as ChecksumType, + CommonPrefix as CommonPrefix, + CompletedMultipartUpload as CompletedMultipartUpload, + CompletedPart as CompletedPart, + CompleteMultipartUploadInput as CompleteMultipartUploadInput, + CompleteMultipartUploadOutput as CompleteMultipartUploadOutput, + CompressionType as CompressionType, + Condition as Condition, + ContinuationEvent as ContinuationEvent, + CopyObjectInput as CopyObjectInput, + CopyObjectOutput as CopyObjectOutput, + CopyObjectResult as CopyObjectResult, + CopyPartResult as CopyPartResult, + CORSConfiguration as CORSConfiguration, + CORSRule as CORSRule, + CreateBucketConfiguration as CreateBucketConfiguration, + CreateBucketInput as CreateBucketInput, + CreateBucketMetadataConfigurationInput as CreateBucketMetadataConfigurationInput, + CreateBucketMetadataConfigurationOutput as CreateBucketMetadataConfigurationOutput, + CreateBucketMetadataTableConfigurationInput as CreateBucketMetadataTableConfigurationInput, + CreateBucketMetadataTableConfigurationOutput as CreateBucketMetadataTableConfigurationOutput, + CreateBucketOutput as CreateBucketOutput, + CreateMultipartUploadInput as CreateMultipartUploadInput, + CreateMultipartUploadOutput as CreateMultipartUploadOutput, + CreateSessionInput as CreateSessionInput, + CreateSessionOutput as CreateSessionOutput, + CSVInput as CSVInput, + CSVOutput as CSVOutput, + DataRedundancy as DataRedundancy, + DefaultRetention as DefaultRetention, + Delete as Delete, + DeleteBucketAnalyticsConfigurationInput as DeleteBucketAnalyticsConfigurationInput, + DeleteBucketAnalyticsConfigurationOutput as DeleteBucketAnalyticsConfigurationOutput, + DeleteBucketCorsInput as DeleteBucketCorsInput, + DeleteBucketCorsOutput as DeleteBucketCorsOutput, + DeleteBucketEncryptionInput as DeleteBucketEncryptionInput, + DeleteBucketEncryptionOutput as DeleteBucketEncryptionOutput, + DeleteBucketInput as DeleteBucketInput, + DeleteBucketIntelligentTieringConfigurationInput as DeleteBucketIntelligentTieringConfigurationInput, + DeleteBucketIntelligentTieringConfigurationOutput as DeleteBucketIntelligentTieringConfigurationOutput, + DeleteBucketInventoryConfigurationInput as DeleteBucketInventoryConfigurationInput, + DeleteBucketInventoryConfigurationOutput as DeleteBucketInventoryConfigurationOutput, + DeleteBucketLifecycleInput as DeleteBucketLifecycleInput, + DeleteBucketLifecycleOutput as DeleteBucketLifecycleOutput, + DeleteBucketMetadataConfigurationInput as DeleteBucketMetadataConfigurationInput, + DeleteBucketMetadataConfigurationOutput as DeleteBucketMetadataConfigurationOutput, + DeleteBucketMetadataTableConfigurationInput as DeleteBucketMetadataTableConfigurationInput, + DeleteBucketMetadataTableConfigurationOutput as DeleteBucketMetadataTableConfigurationOutput, + DeleteBucketMetricsConfigurationInput as DeleteBucketMetricsConfigurationInput, + DeleteBucketMetricsConfigurationOutput as DeleteBucketMetricsConfigurationOutput, + DeleteBucketOutput as DeleteBucketOutput, + DeleteBucketOwnershipControlsInput as DeleteBucketOwnershipControlsInput, + DeleteBucketOwnershipControlsOutput as DeleteBucketOwnershipControlsOutput, + DeleteBucketPolicyInput as DeleteBucketPolicyInput, + DeleteBucketPolicyOutput as DeleteBucketPolicyOutput, + DeleteBucketReplicationInput as DeleteBucketReplicationInput, + DeleteBucketReplicationOutput as DeleteBucketReplicationOutput, + DeleteBucketTaggingInput as DeleteBucketTaggingInput, + DeleteBucketTaggingOutput as DeleteBucketTaggingOutput, + DeleteBucketWebsiteInput as DeleteBucketWebsiteInput, + DeleteBucketWebsiteOutput as DeleteBucketWebsiteOutput, + DeletedObject as DeletedObject, + DeleteMarkerEntry as DeleteMarkerEntry, + DeleteMarkerReplication as DeleteMarkerReplication, + DeleteMarkerReplicationStatus as DeleteMarkerReplicationStatus, + DeleteObjectAnnotationInput as DeleteObjectAnnotationInput, + DeleteObjectAnnotationOutput as DeleteObjectAnnotationOutput, + DeleteObjectInput as DeleteObjectInput, + DeleteObjectOutput as DeleteObjectOutput, + DeleteObjectsInput as DeleteObjectsInput, + DeleteObjectsOutput as DeleteObjectsOutput, + DeleteObjectTaggingInput as DeleteObjectTaggingInput, + DeleteObjectTaggingOutput as DeleteObjectTaggingOutput, + DeletePublicAccessBlockInput as DeletePublicAccessBlockInput, + DeletePublicAccessBlockOutput as DeletePublicAccessBlockOutput, + Destination as Destination, + DestinationResult as DestinationResult, + EncodingType as EncodingType, + Encryption as Encryption, + EncryptionConfiguration as EncryptionConfiguration, + EncryptionType as EncryptionType, + EncryptionTypeMismatch as EncryptionTypeMismatch, + EndEvent as EndEvent, + Error as Error, + ErrorDetails as ErrorDetails, + ErrorDocument as ErrorDocument, + Event as Event, + EventBridgeConfiguration as EventBridgeConfiguration, + EventHoldDuration as EventHoldDuration, + ExistingObjectReplication as ExistingObjectReplication, + ExistingObjectReplicationStatus as ExistingObjectReplicationStatus, + ExpirationState as ExpirationState, + ExpirationStatus as ExpirationStatus, + ExpressionType as ExpressionType, + FileHeaderInfo as FileHeaderInfo, + FilterRule as FilterRule, + FilterRuleName as FilterRuleName, + GetBucketAbacInput as GetBucketAbacInput, + GetBucketAbacOutput as GetBucketAbacOutput, + GetBucketAccelerateConfigurationInput as GetBucketAccelerateConfigurationInput, + GetBucketAccelerateConfigurationOutput as GetBucketAccelerateConfigurationOutput, + GetBucketAclInput as GetBucketAclInput, + GetBucketAclOutput as GetBucketAclOutput, + GetBucketAnalyticsConfigurationInput as GetBucketAnalyticsConfigurationInput, + GetBucketAnalyticsConfigurationOutput as GetBucketAnalyticsConfigurationOutput, + GetBucketCorsInput as GetBucketCorsInput, + GetBucketCorsOutput as GetBucketCorsOutput, + GetBucketEncryptionInput as GetBucketEncryptionInput, + GetBucketEncryptionOutput as GetBucketEncryptionOutput, + GetBucketIntelligentTieringConfigurationInput as GetBucketIntelligentTieringConfigurationInput, + GetBucketIntelligentTieringConfigurationOutput as GetBucketIntelligentTieringConfigurationOutput, + GetBucketInventoryConfigurationInput as GetBucketInventoryConfigurationInput, + GetBucketInventoryConfigurationOutput as GetBucketInventoryConfigurationOutput, + GetBucketLifecycleConfigurationInput as GetBucketLifecycleConfigurationInput, + GetBucketLifecycleConfigurationOutput as GetBucketLifecycleConfigurationOutput, + GetBucketLocationInput as GetBucketLocationInput, + GetBucketLocationOutput as GetBucketLocationOutput, + GetBucketLoggingInput as GetBucketLoggingInput, + GetBucketLoggingOutput as GetBucketLoggingOutput, + GetBucketMetadataConfigurationInput as GetBucketMetadataConfigurationInput, + GetBucketMetadataConfigurationOutput as GetBucketMetadataConfigurationOutput, + GetBucketMetadataConfigurationResult as GetBucketMetadataConfigurationResult, + GetBucketMetadataTableConfigurationInput as GetBucketMetadataTableConfigurationInput, + GetBucketMetadataTableConfigurationOutput as GetBucketMetadataTableConfigurationOutput, + GetBucketMetadataTableConfigurationResult as GetBucketMetadataTableConfigurationResult, + GetBucketMetricsConfigurationInput as GetBucketMetricsConfigurationInput, + GetBucketMetricsConfigurationOutput as GetBucketMetricsConfigurationOutput, + GetBucketNotificationConfigurationInput as GetBucketNotificationConfigurationInput, + GetBucketNotificationConfigurationOutput as GetBucketNotificationConfigurationOutput, + GetBucketOwnershipControlsInput as GetBucketOwnershipControlsInput, + GetBucketOwnershipControlsOutput as GetBucketOwnershipControlsOutput, + GetBucketPolicyInput as GetBucketPolicyInput, + GetBucketPolicyOutput as GetBucketPolicyOutput, + GetBucketPolicyStatusInput as GetBucketPolicyStatusInput, + GetBucketPolicyStatusOutput as GetBucketPolicyStatusOutput, + GetBucketReplicationInput as GetBucketReplicationInput, + GetBucketReplicationOutput as GetBucketReplicationOutput, + GetBucketRequestPaymentInput as GetBucketRequestPaymentInput, + GetBucketRequestPaymentOutput as GetBucketRequestPaymentOutput, + GetBucketTaggingInput as GetBucketTaggingInput, + GetBucketTaggingOutput as GetBucketTaggingOutput, + GetBucketVersioningInput as GetBucketVersioningInput, + GetBucketVersioningOutput as GetBucketVersioningOutput, + GetBucketWebsiteInput as GetBucketWebsiteInput, + GetBucketWebsiteOutput as GetBucketWebsiteOutput, + GetObjectAclInput as GetObjectAclInput, + GetObjectAclOutput as GetObjectAclOutput, + GetObjectAnnotationInput as GetObjectAnnotationInput, + GetObjectAnnotationOutput as GetObjectAnnotationOutput, + GetObjectAttributesInput as GetObjectAttributesInput, + GetObjectAttributesOutput as GetObjectAttributesOutput, + GetObjectAttributesParts as GetObjectAttributesParts, + GetObjectInput as GetObjectInput, + GetObjectLegalHoldInput as GetObjectLegalHoldInput, + GetObjectLegalHoldOutput as GetObjectLegalHoldOutput, + GetObjectLockConfigurationInput as GetObjectLockConfigurationInput, + GetObjectLockConfigurationOutput as GetObjectLockConfigurationOutput, + GetObjectOutput as GetObjectOutput, + GetObjectRetentionInput as GetObjectRetentionInput, + GetObjectRetentionOutput as GetObjectRetentionOutput, + GetObjectTaggingInput as GetObjectTaggingInput, + GetObjectTaggingOutput as GetObjectTaggingOutput, + GetObjectTorrentInput as GetObjectTorrentInput, + GetObjectTorrentOutput as GetObjectTorrentOutput, + GetPublicAccessBlockInput as GetPublicAccessBlockInput, + GetPublicAccessBlockOutput as GetPublicAccessBlockOutput, + GlacierJobParameters as GlacierJobParameters, + Grant as Grant, + Grantee as Grantee, + HeadBucketInput as HeadBucketInput, + HeadBucketOutput as HeadBucketOutput, + HeadObjectInput as HeadObjectInput, + HeadObjectOutput as HeadObjectOutput, + IdempotencyParameterMismatch as IdempotencyParameterMismatch, + IndexDocument as IndexDocument, + Initiator as Initiator, + InputSerialization as InputSerialization, + IntelligentTieringAccessTier as IntelligentTieringAccessTier, + IntelligentTieringAndOperator as IntelligentTieringAndOperator, + IntelligentTieringConfiguration as IntelligentTieringConfiguration, + IntelligentTieringFilter as IntelligentTieringFilter, + IntelligentTieringStatus as IntelligentTieringStatus, + InvalidAnnotationName as InvalidAnnotationName, + InvalidObjectState as InvalidObjectState, + InvalidPrefix as InvalidPrefix, + InvalidRequest as InvalidRequest, + InvalidWriteOffset as InvalidWriteOffset, + InventoryConfiguration as InventoryConfiguration, + InventoryConfigurationState as InventoryConfigurationState, + InventoryDestination as InventoryDestination, + InventoryEncryption as InventoryEncryption, + InventoryFilter as InventoryFilter, + InventoryFormat as InventoryFormat, + InventoryFrequency as InventoryFrequency, + InventoryIncludedObjectVersions as InventoryIncludedObjectVersions, + InventoryOptionalField as InventoryOptionalField, + InventoryS3BucketDestination as InventoryS3BucketDestination, + InventorySchedule as InventorySchedule, + InventoryTableConfiguration as InventoryTableConfiguration, + InventoryTableConfigurationResult as InventoryTableConfigurationResult, + InventoryTableConfigurationUpdates as InventoryTableConfigurationUpdates, + JournalTableConfiguration as JournalTableConfiguration, + JournalTableConfigurationResult as JournalTableConfigurationResult, + JournalTableConfigurationUpdates as JournalTableConfigurationUpdates, + JSONInput as JSONInput, + JSONOutput as JSONOutput, + JSONType as JSONType, + LambdaFunctionConfiguration as LambdaFunctionConfiguration, + LifecycleExpiration as LifecycleExpiration, +) + +from ._private.models_1 import ( + LifecycleRule as LifecycleRule, + LifecycleRuleAndOperator as LifecycleRuleAndOperator, + LifecycleRuleFilter as LifecycleRuleFilter, + ListBucketAnalyticsConfigurationsInput as ListBucketAnalyticsConfigurationsInput, + ListBucketAnalyticsConfigurationsOutput as ListBucketAnalyticsConfigurationsOutput, + ListBucketIntelligentTieringConfigurationsInput as ListBucketIntelligentTieringConfigurationsInput, + ListBucketIntelligentTieringConfigurationsOutput as ListBucketIntelligentTieringConfigurationsOutput, + ListBucketInventoryConfigurationsInput as ListBucketInventoryConfigurationsInput, + ListBucketInventoryConfigurationsOutput as ListBucketInventoryConfigurationsOutput, + ListBucketMetricsConfigurationsInput as ListBucketMetricsConfigurationsInput, + ListBucketMetricsConfigurationsOutput as ListBucketMetricsConfigurationsOutput, + ListBucketsInput as ListBucketsInput, + ListBucketsOutput as ListBucketsOutput, + ListDirectoryBucketsInput as ListDirectoryBucketsInput, + ListDirectoryBucketsOutput as ListDirectoryBucketsOutput, + ListMultipartUploadsInput as ListMultipartUploadsInput, + ListMultipartUploadsOutput as ListMultipartUploadsOutput, + ListObjectAnnotationsInput as ListObjectAnnotationsInput, + ListObjectAnnotationsOutput as ListObjectAnnotationsOutput, + ListObjectsInput as ListObjectsInput, + ListObjectsOutput as ListObjectsOutput, + ListObjectsV2Input as ListObjectsV2Input, + ListObjectsV2Output as ListObjectsV2Output, + ListObjectVersionsInput as ListObjectVersionsInput, + ListObjectVersionsOutput as ListObjectVersionsOutput, + ListPartsInput as ListPartsInput, + ListPartsOutput as ListPartsOutput, + LocationInfo as LocationInfo, + LocationType as LocationType, + LoggingEnabled as LoggingEnabled, + MetadataConfiguration as MetadataConfiguration, + MetadataConfigurationResult as MetadataConfigurationResult, + MetadataDirective as MetadataDirective, + MetadataEntry as MetadataEntry, + MetadataTableConfiguration as MetadataTableConfiguration, + MetadataTableConfigurationResult as MetadataTableConfigurationResult, + MetadataTableEncryptionConfiguration as MetadataTableEncryptionConfiguration, + Metrics as Metrics, + MetricsAndOperator as MetricsAndOperator, + MetricsConfiguration as MetricsConfiguration, + MetricsFilterPrefix as MetricsFilterPrefix, + MetricsFilterTag as MetricsFilterTag, + MetricsFilterAccessPointArn as MetricsFilterAccessPointArn, + MetricsFilterAnd as MetricsFilterAnd, + MetricsFilterUnknown as MetricsFilterUnknown, + MetricsFilter as MetricsFilter, + _MetricsFilterDeserializer as _MetricsFilterDeserializer, + MetricsStatus as MetricsStatus, + MFADelete as MFADelete, + MFADeleteStatus as MFADeleteStatus, + MultipartUpload as MultipartUpload, + NoncurrentVersionExpiration as NoncurrentVersionExpiration, + NoncurrentVersionTransition as NoncurrentVersionTransition, + NoSuchAnnotation as NoSuchAnnotation, + NoSuchBucket as NoSuchBucket, + NoSuchKey as NoSuchKey, + NoSuchUpload as NoSuchUpload, + NotFound as NotFound, + NotificationConfiguration as NotificationConfiguration, + NotificationConfigurationFilter as NotificationConfigurationFilter, + Object as Object, + ObjectAlreadyInActiveTierError as ObjectAlreadyInActiveTierError, + ObjectAttributes as ObjectAttributes, + ObjectCannedACL as ObjectCannedACL, + ObjectEncryptionSSEKMS as ObjectEncryptionSSEKMS, + ObjectEncryptionUnknown as ObjectEncryptionUnknown, + ObjectEncryption as ObjectEncryption, + _ObjectEncryptionDeserializer as _ObjectEncryptionDeserializer, + ObjectIdentifier as ObjectIdentifier, + ObjectLockConfiguration as ObjectLockConfiguration, + ObjectLockEnabled as ObjectLockEnabled, + ObjectLockEventHold as ObjectLockEventHold, + ObjectLockLegalHold as ObjectLockLegalHold, + ObjectLockLegalHoldStatus as ObjectLockLegalHoldStatus, + ObjectLockMode as ObjectLockMode, + ObjectLockRetention as ObjectLockRetention, + ObjectLockRetentionMode as ObjectLockRetentionMode, + ObjectLockRule as ObjectLockRule, + ObjectNotInActiveTierError as ObjectNotInActiveTierError, + ObjectOwnership as ObjectOwnership, + ObjectPart as ObjectPart, + ObjectStorageClass as ObjectStorageClass, + ObjectVersion as ObjectVersion, + ObjectVersionStorageClass as ObjectVersionStorageClass, + OptionalObjectAttributes as OptionalObjectAttributes, + OutputLocation as OutputLocation, + OutputSerialization as OutputSerialization, + Owner as Owner, + OwnerOverride as OwnerOverride, + OwnershipControls as OwnershipControls, + OwnershipControlsRule as OwnershipControlsRule, + ParquetInput as ParquetInput, + Part as Part, + PartitionDateSource as PartitionDateSource, + PartitionedPrefix as PartitionedPrefix, + Payer as Payer, + Permission as Permission, + PolicyStatus as PolicyStatus, + Progress as Progress, + ProgressEvent as ProgressEvent, + Protocol as Protocol, + PublicAccessBlockConfiguration as PublicAccessBlockConfiguration, + PutBucketAbacInput as PutBucketAbacInput, + PutBucketAbacOutput as PutBucketAbacOutput, + PutBucketAccelerateConfigurationInput as PutBucketAccelerateConfigurationInput, + PutBucketAccelerateConfigurationOutput as PutBucketAccelerateConfigurationOutput, + PutBucketAclInput as PutBucketAclInput, + PutBucketAclOutput as PutBucketAclOutput, + PutBucketAnalyticsConfigurationInput as PutBucketAnalyticsConfigurationInput, + PutBucketAnalyticsConfigurationOutput as PutBucketAnalyticsConfigurationOutput, + PutBucketCorsInput as PutBucketCorsInput, + PutBucketCorsOutput as PutBucketCorsOutput, + PutBucketEncryptionInput as PutBucketEncryptionInput, + PutBucketEncryptionOutput as PutBucketEncryptionOutput, + PutBucketIntelligentTieringConfigurationInput as PutBucketIntelligentTieringConfigurationInput, + PutBucketIntelligentTieringConfigurationOutput as PutBucketIntelligentTieringConfigurationOutput, + PutBucketInventoryConfigurationInput as PutBucketInventoryConfigurationInput, + PutBucketInventoryConfigurationOutput as PutBucketInventoryConfigurationOutput, + PutBucketLifecycleConfigurationInput as PutBucketLifecycleConfigurationInput, + PutBucketLifecycleConfigurationOutput as PutBucketLifecycleConfigurationOutput, + PutBucketLoggingInput as PutBucketLoggingInput, + PutBucketLoggingOutput as PutBucketLoggingOutput, + PutBucketMetricsConfigurationInput as PutBucketMetricsConfigurationInput, + PutBucketMetricsConfigurationOutput as PutBucketMetricsConfigurationOutput, + PutBucketNotificationConfigurationInput as PutBucketNotificationConfigurationInput, + PutBucketNotificationConfigurationOutput as PutBucketNotificationConfigurationOutput, + PutBucketOwnershipControlsInput as PutBucketOwnershipControlsInput, + PutBucketOwnershipControlsOutput as PutBucketOwnershipControlsOutput, + PutBucketPolicyInput as PutBucketPolicyInput, + PutBucketPolicyOutput as PutBucketPolicyOutput, + PutBucketReplicationInput as PutBucketReplicationInput, + PutBucketReplicationOutput as PutBucketReplicationOutput, + PutBucketRequestPaymentInput as PutBucketRequestPaymentInput, + PutBucketRequestPaymentOutput as PutBucketRequestPaymentOutput, + PutBucketTaggingInput as PutBucketTaggingInput, + PutBucketTaggingOutput as PutBucketTaggingOutput, + PutBucketVersioningInput as PutBucketVersioningInput, + PutBucketVersioningOutput as PutBucketVersioningOutput, + PutBucketWebsiteInput as PutBucketWebsiteInput, + PutBucketWebsiteOutput as PutBucketWebsiteOutput, + PutObjectAclInput as PutObjectAclInput, + PutObjectAclOutput as PutObjectAclOutput, + PutObjectAnnotationInput as PutObjectAnnotationInput, + PutObjectAnnotationOutput as PutObjectAnnotationOutput, + PutObjectInput as PutObjectInput, + PutObjectLegalHoldInput as PutObjectLegalHoldInput, + PutObjectLegalHoldOutput as PutObjectLegalHoldOutput, + PutObjectLockConfigurationInput as PutObjectLockConfigurationInput, + PutObjectLockConfigurationOutput as PutObjectLockConfigurationOutput, + PutObjectOutput as PutObjectOutput, + PutObjectRetentionInput as PutObjectRetentionInput, + PutObjectRetentionOutput as PutObjectRetentionOutput, + PutObjectTaggingInput as PutObjectTaggingInput, + PutObjectTaggingOutput as PutObjectTaggingOutput, + PutPublicAccessBlockInput as PutPublicAccessBlockInput, + PutPublicAccessBlockOutput as PutPublicAccessBlockOutput, + QueueConfiguration as QueueConfiguration, + QuoteFields as QuoteFields, + RecordExpiration as RecordExpiration, + RecordsEvent as RecordsEvent, + Redirect as Redirect, + RedirectAllRequestsTo as RedirectAllRequestsTo, + RenameObjectInput as RenameObjectInput, + RenameObjectOutput as RenameObjectOutput, + ReplicaModifications as ReplicaModifications, + ReplicaModificationsStatus as ReplicaModificationsStatus, + ReplicationConfiguration as ReplicationConfiguration, + ReplicationRule as ReplicationRule, + ReplicationRuleAndOperator as ReplicationRuleAndOperator, + ReplicationRuleFilter as ReplicationRuleFilter, + ReplicationRuleStatus as ReplicationRuleStatus, + ReplicationStatus as ReplicationStatus, + ReplicationTime as ReplicationTime, + ReplicationTimeStatus as ReplicationTimeStatus, + ReplicationTimeValue as ReplicationTimeValue, + RequestCharged as RequestCharged, + RequestPayer as RequestPayer, + RequestPaymentConfiguration as RequestPaymentConfiguration, + RequestProgress as RequestProgress, + RestoreObjectInput as RestoreObjectInput, + RestoreObjectOutput as RestoreObjectOutput, + RestoreRequest as RestoreRequest, + RestoreRequestType as RestoreRequestType, + RestoreStatus as RestoreStatus, + RoutingRule as RoutingRule, + S3KeyFilter as S3KeyFilter, + S3Location as S3Location, + S3TablesBucketType as S3TablesBucketType, + S3TablesDestination as S3TablesDestination, + S3TablesDestinationResult as S3TablesDestinationResult, + ScanRange as ScanRange, + SelectObjectContentEventStreamRecords as SelectObjectContentEventStreamRecords, + SelectObjectContentEventStreamStats as SelectObjectContentEventStreamStats, + SelectObjectContentEventStreamProgress as SelectObjectContentEventStreamProgress, + SelectObjectContentEventStreamCont as SelectObjectContentEventStreamCont, + SelectObjectContentEventStreamEnd as SelectObjectContentEventStreamEnd, + SelectObjectContentEventStreamUnknown as SelectObjectContentEventStreamUnknown, + SelectObjectContentEventStream as SelectObjectContentEventStream, + _SelectObjectContentEventStreamDeserializer as _SelectObjectContentEventStreamDeserializer, + SelectObjectContentInput as SelectObjectContentInput, + SelectObjectContentOutput as SelectObjectContentOutput, + SelectParameters as SelectParameters, + ServerSideEncryption as ServerSideEncryption, + ServerSideEncryptionByDefault as ServerSideEncryptionByDefault, + ServerSideEncryptionConfiguration as ServerSideEncryptionConfiguration, + ServerSideEncryptionRule as ServerSideEncryptionRule, + SessionCredentials as SessionCredentials, + SessionMode as SessionMode, + SimplePrefix as SimplePrefix, + SourceSelectionCriteria as SourceSelectionCriteria, + SSEKMS as SSEKMS, + SseKmsEncryptedObjects as SseKmsEncryptedObjects, + SseKmsEncryptedObjectsStatus as SseKmsEncryptedObjectsStatus, + SSEKMSEncryption as SSEKMSEncryption, + SSES3 as SSES3, + Stats as Stats, + StatsEvent as StatsEvent, + StorageClass as StorageClass, + StorageClassAnalysis as StorageClassAnalysis, + StorageClassAnalysisDataExport as StorageClassAnalysisDataExport, + StorageClassAnalysisSchemaVersion as StorageClassAnalysisSchemaVersion, + TableSseAlgorithm as TableSseAlgorithm, + Tag as Tag, + Tagging as Tagging, + TaggingDirective as TaggingDirective, + TargetGrant as TargetGrant, + TargetObjectKeyFormat as TargetObjectKeyFormat, + Tier as Tier, + Tiering as Tiering, + TooManyParts as TooManyParts, + TopicConfiguration as TopicConfiguration, + Transition as Transition, + TransitionDefaultMinimumObjectSize as TransitionDefaultMinimumObjectSize, + TransitionStorageClass as TransitionStorageClass, + Type as Type, + UnsupportedMediaType as UnsupportedMediaType, + UpdateBucketMetadataAnnotationTableConfigurationInput as UpdateBucketMetadataAnnotationTableConfigurationInput, + UpdateBucketMetadataAnnotationTableConfigurationOutput as UpdateBucketMetadataAnnotationTableConfigurationOutput, + UpdateBucketMetadataInventoryTableConfigurationInput as UpdateBucketMetadataInventoryTableConfigurationInput, + UpdateBucketMetadataInventoryTableConfigurationOutput as UpdateBucketMetadataInventoryTableConfigurationOutput, + UpdateBucketMetadataJournalTableConfigurationInput as UpdateBucketMetadataJournalTableConfigurationInput, + UpdateBucketMetadataJournalTableConfigurationOutput as UpdateBucketMetadataJournalTableConfigurationOutput, + UpdateObjectEncryptionInput as UpdateObjectEncryptionInput, + UpdateObjectEncryptionOutput as UpdateObjectEncryptionOutput, + UploadPartCopyInput as UploadPartCopyInput, + UploadPartCopyOutput as UploadPartCopyOutput, + UploadPartInput as UploadPartInput, + UploadPartOutput as UploadPartOutput, + VersioningConfiguration as VersioningConfiguration, + WebsiteConfiguration as WebsiteConfiguration, + WriteGetObjectResponseInput as WriteGetObjectResponseInput, + WriteGetObjectResponseOutput as WriteGetObjectResponseOutput, +) class _SerdeShape: def serialize(self, serializer: ShapeSerializer) -> None: ... @@ -27,18820 +534,6 @@ class ServiceError(ModeledError): synthetic, implicit, and shared exception types. """ -@dataclass(kw_only=True) -class AbacStatus(_SerdeShape): - """ - The ABAC status of the general purpose bucket. When ABAC is enabled for - the general purpose bucket, you can use tags to manage access to the - general purpose buckets as well as for cost tracking purposes. When ABAC - is disabled for the general purpose buckets, you can only use tags for - cost tracking purposes. For more information, see [Using tags with S3 - general purpose - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html). - """ - - status: str | None = ... - """The ABAC status of the general purpose bucket.""" - -@dataclass(kw_only=True) -class AbortIncompleteMultipartUpload(_SerdeShape): - """ - Specifies the days since the initiation of an incomplete multipart - upload that Amazon S3 will wait before permanently removing all parts of - the upload. For more information, see [Aborting Incomplete Multipart - Uploads Using a Bucket Lifecycle - Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) - in the *Amazon S3 User Guide*. - """ - - days_after_initiation: int | None = ... - """ - Specifies the number of days after which Amazon S3 aborts an incomplete - multipart upload. - """ - -@dataclass(kw_only=True) -class AbortMultipartUploadInput(_SerdeShape): - """Dataclass for AbortMultipartUploadInput structure.""" - - bucket: str | None = ... - """ - The bucket name to which the upload was taking place. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """Key of the object for which the multipart upload was initiated.""" - upload_id: str | None = ... - """Upload ID that identifies the multipart upload.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - if_match_initiated_time: datetime | None = ... - """ - If present, this header aborts an in progress multipart upload only if - it was initiated on the provided timestamp. If the initiated timestamp - of the multipart upload does not match the provided value, the operation - returns a `412 Precondition Failed` error. If the initiated timestamp - matches or if the multipart upload doesn't exist, the operation returns - a `204 Success (No Content)` response. - - Note: - This functionality is only supported for directory buckets. - """ - -@dataclass(kw_only=True) -class AbortMultipartUploadOutput(_SerdeShape): - """Dataclass for AbortMultipartUploadOutput structure.""" - - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AccelerateConfiguration(_SerdeShape): - """ - Configures the transfer acceleration state for an Amazon S3 bucket. For - more information, see [Amazon S3 Transfer - Acceleration](https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) - in the *Amazon S3 User Guide*. - """ - - status: str | None = ... - """Specifies the transfer acceleration status of the bucket.""" - -@dataclass(kw_only=True) -class AccessControlPolicy(_SerdeShape): - """ - Contains the elements that set the ACL permissions for an object per - grantee. - """ - - grants: list[Grant] | None = ... - """A list of grants.""" - owner: Owner | None = ... - """Container for the bucket owner's display name and ID.""" - -@dataclass(kw_only=True) -class AccessControlTranslation(_SerdeShape): - """A container for information about access control for replicas.""" - - owner: str - """ - Specifies the replica ownership. For default and valid values, see [PUT - bucket - replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) - in the *Amazon S3 API Reference*. - """ - -@dataclass(kw_only=True) -class AccessDenied(ServiceError, _SerdeShape): - """ - You might receive this error for several reasons. For details, see the - description of this API operation. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AnalyticsAndOperator(_SerdeShape): - """ - A conjunction (logical AND) of predicates, which is used in evaluating a - metrics filter. The operator must have at least two predicates in any - combination, and an object must match all of the predicates for the - filter to apply. - """ - - prefix: str | None = ... - """ - The prefix to use when evaluating an AND predicate: The prefix that an - object must have to be included in the metrics results. - """ - tags: list[Tag] | None = ... - """The list of tags to use when evaluating an AND predicate.""" - -@dataclass(kw_only=True) -class AnalyticsConfiguration(_SerdeShape): - """ - Specifies the configuration and any analyses for the analytics filter of - an Amazon S3 bucket. - """ - - id: str - """The ID that identifies the analytics configuration.""" - filter: AnalyticsFilter | None = ... - """ - The filter used to describe a set of objects for analyses. A filter must - have exactly one prefix, one tag, or one conjunction - (AnalyticsAndOperator). If no filter is provided, all objects will be - considered in any analysis. - """ - storage_class_analysis: StorageClassAnalysis - """ - Contains data related to access patterns to be collected and made - available to analyze the tradeoffs between different storage classes. - """ - -@dataclass(kw_only=True) -class AnalyticsExportDestination(_SerdeShape): - """Where to publish the analytics results.""" - - s3_bucket_destination: AnalyticsS3BucketDestination - """A destination signifying output to an S3 bucket.""" - -@dataclass -class AnalyticsFilterPrefix(_SerdeShape): - """The prefix to use when evaluating an analytics filter.""" - - value: str - -@dataclass -class AnalyticsFilterTag(_SerdeShape): - """The tag to use when evaluating an analytics filter.""" - - value: Tag - -@dataclass -class AnalyticsFilterAnd(_SerdeShape): - """ - A conjunction (logical AND) of predicates, which is used in evaluating - an analytics filter. The operator must have at least two predicates. - """ - - value: AnalyticsAndOperator - -@dataclass -class AnalyticsFilterUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -AnalyticsFilter = Union[ - AnalyticsFilterPrefix - | AnalyticsFilterTag - | AnalyticsFilterAnd - | AnalyticsFilterUnknown -] -""" -The filter used to describe a set of objects for analyses. A filter must -have exactly one prefix, one tag, or one conjunction -(AnalyticsAndOperator). If no filter is provided, all objects will be -considered in any analysis. -""" - -class _AnalyticsFilterDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> AnalyticsFilter: ... - -@dataclass(kw_only=True) -class AnalyticsS3BucketDestination(_SerdeShape): - """Contains information about where to publish the analytics results.""" - - format: str - """Specifies the file format used when exporting data to Amazon S3.""" - bucket_account_id: str | None = ... - """ - The account ID that owns the destination S3 bucket. If no account ID is - provided, the owner is not validated before exporting data. - - Note: - Although this value is optional, we strongly recommend that you set it - to help prevent problems if the destination bucket ownership changes. - """ - bucket: str - """The Amazon Resource Name (ARN) of the bucket to which data is exported.""" - prefix: str | None = ... - """ - The prefix to use when exporting data. The prefix is prepended to all - results. - """ - -class AnalyticsS3ExportFileFormat(UnknownEnumMixin, StrEnum): - CSV = "CSV" - -class AnnotationConfigurationState(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class AnnotationDirective(UnknownEnumMixin, StrEnum): - COPY = "COPY" - EXCLUDE = "EXCLUDE" - -@dataclass(kw_only=True) -class AnnotationEntry(_SerdeShape): - """ - Describes a single annotation attached to an object, including its name, - last modified time, size, ETag, checksum algorithm, and replication - status. Returned in the response from `ListObjectAnnotations`. - """ - - annotation_name: str - """The name of the annotation.""" - last_modified: datetime - """The date and time the annotation was last modified.""" - e_tag: str | None = ... - """The entity tag of the annotation.""" - checksum_algorithm: list[str] | None = ... - """The checksum algorithm used for the annotation.""" - size: int - """The size of the annotation payload, in bytes.""" - replication_status: str | None = ... - """The replication status of the annotation.""" - -@dataclass(kw_only=True) -class AnnotationLimitExceeded(ServiceError, _SerdeShape): - """ - The request would exceed the maximum number of annotations allowed per - object. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AnnotationNameTooLong(ServiceError, _SerdeShape): - """The annotation name exceeds 512 bytes.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class AnnotationTableConfiguration(_SerdeShape): - """ - Specifies the configuration for the annotation table associated with a - bucket's Amazon S3 Metadata configuration. The annotation table is an - Iceberg table that records annotation events for objects in the bucket. - """ - - configuration_state: str - """ - The state of the annotation table. Valid values are `ENABLED` and - `DISABLED`. - """ - encryption_configuration: MetadataTableEncryptionConfiguration | None = ... - """ - The encryption settings for an S3 Metadata journal table or inventory - table configuration. - """ - role: str | None = ... - """The ARN of the IAM role used to manage the annotation table.""" - -@dataclass(kw_only=True) -class AnnotationTableConfigurationResult(_SerdeShape): - """ - Contains the current state of the annotation table associated with a - bucket's Amazon S3 Metadata configuration, including its provisioning - status and identifiers. - """ - - configuration_state: str - """The current configuration state of the annotation table.""" - table_status: str | None = ... - """ - The provisioning status of the annotation table. Possible values: - `CREATING`, `BACKFILLING`, `ACTIVE`, `FAILED`. - """ - error: ErrorDetails | None = ... - """ - If an S3 Metadata V1 `CreateBucketMetadataTableConfiguration` or V2 - `CreateBucketMetadataConfiguration` request succeeds, but S3 Metadata - was unable to create the table, this structure contains the error code - and error message. - - Note: - If you created your S3 Metadata configuration before July 15, 2025, we - recommend that you delete and re-create your configuration by using - [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) - so that you can expire journal table records and create a live inventory - table. - """ - table_name: str | None = ... - """The name of the annotation table.""" - table_arn: str | None = ... - """The ARN of the annotation table.""" - role: str | None = ... - """The ARN of the IAM role associated with the annotation table.""" - -@dataclass(kw_only=True) -class AnnotationTableConfigurationUpdates(_SerdeShape): - """ - Specifies updates to apply to the annotation table configuration. Used - as the request body for - `UpdateBucketMetadataAnnotationTableConfiguration`. - """ - - configuration_state: str - """The new configuration state to apply.""" - encryption_configuration: MetadataTableEncryptionConfiguration | None = ... - """ - The encryption settings for an S3 Metadata journal table or inventory - table configuration. - """ - role: str | None = ... - """The new IAM role ARN to apply.""" - -class ArchiveStatus(UnknownEnumMixin, StrEnum): - ARCHIVE_ACCESS = "ARCHIVE_ACCESS" - DEEP_ARCHIVE_ACCESS = "DEEP_ARCHIVE_ACCESS" - -@dataclass(kw_only=True) -class BlockedEncryptionTypes(_SerdeShape): - """ - A bucket-level setting for Amazon S3 general purpose buckets used to - prevent the upload of new objects encrypted with the specified - server-side encryption type. For example, blocking an encryption type - will block `PutObject`, `CopyObject`, `PostObject`, multipart upload, - and replication requests to the bucket for objects with the specified - encryption type. However, you can continue to read and list any - pre-existing objects already encrypted with the specified encryption - type. For more information, see [Blocking or unblocking SSE-C for a - general purpose - bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html). - - This data type is used with the following actions: - - - [PutBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html) - - - [GetBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html) - - - [DeleteBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html) - - Permissions - - : You must have the `s3:PutEncryptionConfiguration` permission to block - or unblock an encryption type for a bucket. - - You must have the `s3:GetEncryptionConfiguration` permission to view a - bucket's encryption type. - """ - - encryption_type: list[str] | None = ... - """ - The object encryption type that you want to block or unblock for an - Amazon S3 general purpose bucket. - - Note: - Currently, this parameter only supports blocking or unblocking server - side encryption with customer-provided keys (SSE-C). For more - information about SSE-C, see [Using server-side encryption with - customer-provided keys - (SSE-C)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html). - """ - -@dataclass(kw_only=True) -class Bucket(_SerdeShape): - """In terms of implementation, a Bucket is a resource.""" - - name: str | None = ... - """The name of the bucket.""" - creation_date: datetime | None = ... - """ - Date the bucket was created. This date can change when making changes to - your bucket, such as editing its bucket policy. - """ - bucket_region: str | None = ... - """ - `BucketRegion` indicates the Amazon Web Services region where the bucket - is located. If the request contains at least one valid parameter, it is - included in the response. - """ - bucket_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify - Amazon Web Services resources across all of Amazon Web Services. - - Note: - This parameter is only supported for S3 directory buckets. For more - information, see [Using tags with directory - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html). - """ - -class BucketAbacStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -class BucketAccelerateStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - SUSPENDED = "Suspended" - -@dataclass(kw_only=True) -class BucketAlreadyExists(ServiceError, _SerdeShape): - """ - The requested bucket name is not available. The bucket namespace is - shared by all users of the system. Select a different name and try - again. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class BucketAlreadyOwnedByYou(ServiceError, _SerdeShape): - """ - The bucket you tried to create already exists, and you own it. Amazon S3 - returns this error in all Amazon Web Services Regions except in the - North Virginia Region. For legacy compatibility, if you re-create an - existing bucket that you already own in the North Virginia Region, - Amazon S3 returns 200 OK and resets the bucket access control lists - (ACLs). - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class BucketCannedACL(UnknownEnumMixin, StrEnum): - PRIVATE = "private" - PUBLIC_READ = "public-read" - PUBLIC_READ_WRITE = "public-read-write" - AUTHENTICATED_READ = "authenticated-read" - -@dataclass(kw_only=True) -class BucketInfo(_SerdeShape): - """ - Specifies the information about the bucket that will be created. For - more information about directory buckets, see [Directory - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is only supported by directory buckets. - """ - - data_redundancy: str | None = ... - """ - The number of Zone (Availability Zone or Local Zone) that's used for - redundancy for the bucket. - """ - type: str | None = ... - """The type of bucket.""" - -@dataclass(kw_only=True) -class BucketLifecycleConfiguration(_SerdeShape): - """ - Specifies the lifecycle configuration for objects in an Amazon S3 - bucket. For more information, see [Object Lifecycle - Management](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) - in the *Amazon S3 User Guide*. - """ - - rules: list[LifecycleRule] - """A lifecycle rule for individual objects in an Amazon S3 bucket.""" - -class BucketLocationConstraint(UnknownEnumMixin, StrEnum): - AF_SOUTH_1 = "af-south-1" - AP_EAST_1 = "ap-east-1" - AP_EAST_2 = "ap-east-2" - AP_NORTHEAST_1 = "ap-northeast-1" - AP_NORTHEAST_2 = "ap-northeast-2" - AP_NORTHEAST_3 = "ap-northeast-3" - AP_SOUTH_1 = "ap-south-1" - AP_SOUTH_2 = "ap-south-2" - AP_SOUTHEAST_1 = "ap-southeast-1" - AP_SOUTHEAST_2 = "ap-southeast-2" - AP_SOUTHEAST_3 = "ap-southeast-3" - AP_SOUTHEAST_4 = "ap-southeast-4" - AP_SOUTHEAST_5 = "ap-southeast-5" - AP_SOUTHEAST_6 = "ap-southeast-6" - AP_SOUTHEAST_7 = "ap-southeast-7" - CA_CENTRAL_1 = "ca-central-1" - CA_WEST_1 = "ca-west-1" - CN_NORTH_1 = "cn-north-1" - CN_NORTHWEST_1 = "cn-northwest-1" - EU = "EU" - EU_CENTRAL_1 = "eu-central-1" - EU_CENTRAL_2 = "eu-central-2" - EU_NORTH_1 = "eu-north-1" - EU_SOUTH_1 = "eu-south-1" - EU_SOUTH_2 = "eu-south-2" - EU_WEST_1 = "eu-west-1" - EU_WEST_2 = "eu-west-2" - EU_WEST_3 = "eu-west-3" - IL_CENTRAL_1 = "il-central-1" - ME_CENTRAL_1 = "me-central-1" - ME_SOUTH_1 = "me-south-1" - MX_CENTRAL_1 = "mx-central-1" - SA_EAST_1 = "sa-east-1" - US_EAST_2 = "us-east-2" - US_GOV_EAST_1 = "us-gov-east-1" - US_GOV_WEST_1 = "us-gov-west-1" - US_WEST_1 = "us-west-1" - US_WEST_2 = "us-west-2" - -@dataclass(kw_only=True) -class BucketLoggingStatus(_SerdeShape): - """Container for logging status information.""" - - logging_enabled: LoggingEnabled | None = ... - """ - Describes where logs are stored and the prefix that Amazon S3 assigns to - all log object keys for a bucket. For more information, see [PUT Bucket - logging](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html) - in the *Amazon S3 API Reference*. - """ - -class BucketLogsPermission(UnknownEnumMixin, StrEnum): - FULL_CONTROL = "FULL_CONTROL" - READ = "READ" - WRITE = "WRITE" - -class BucketNamespace(UnknownEnumMixin, StrEnum): - ACCOUNT_REGIONAL = "account-regional" - GLOBAL_ = "global" - -class BucketType(UnknownEnumMixin, StrEnum): - DIRECTORY = "Directory" - -class BucketVersioningStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - SUSPENDED = "Suspended" - -@dataclass(kw_only=True) -class Checksum(_SerdeShape): - """Contains all the possible checksum or digest values for an object.""" - - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32 checksum` of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use an API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the object. This - checksum is only present if the checksum was uploaded with the object. - When you use an API operation on an object that was uploaded using - multipart uploads, this value may not be a direct checksum value of the - full object. Instead, it's a calculation based on the checksum values - of each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. This - checksum is present if the object was uploaded with the `CRC64NVME` - checksum algorithm, or if the object was uploaded without a checksum - (and Amazon S3 added the default checksum, `CRC64NVME`, to the uploaded - object). For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use the API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use an API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the object. This checksum - is present if the object was uploaded with the `SHA512` checksum - algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the object. This checksum is - present if the object was uploaded with the `MD5` checksum algorithm. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the object. This - checksum is present if the object was uploaded with the `XXHASH64` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the object. This - checksum is present if the object was uploaded with the `XXHASH3` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the object. This - checksum is present if the object was uploaded with the `XXHASH128` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_type: str | None = ... - """ - The checksum type that is used to calculate the object's checksum value. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - -class ChecksumAlgorithm(UnknownEnumMixin, StrEnum): - CRC32 = "CRC32" - CRC32_C = "CRC32C" - SHA1 = "SHA1" - SHA256 = "SHA256" - CRC64_NVME = "CRC64NVME" - SHA512 = "SHA512" - MD5 = "MD5" - XXHASH64 = "XXHASH64" - XXHASH3 = "XXHASH3" - XXHASH128 = "XXHASH128" - -class ChecksumMode(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - -class ChecksumType(UnknownEnumMixin, StrEnum): - COMPOSITE = "COMPOSITE" - FULL_OBJECT = "FULL_OBJECT" - -@dataclass(kw_only=True) -class CommonPrefix(_SerdeShape): - """ - Container for all (if there are any) keys between Prefix and the next - occurrence of the string specified by a delimiter. CommonPrefixes lists - keys that act like subdirectories in the directory specified by Prefix. - For example, if the prefix is notes/ and the delimiter is a slash (/) as - in notes/summer/july, the common prefix is notes/summer/. - """ - - prefix: str | None = ... - """Container for the specified common prefix.""" - -@dataclass(kw_only=True) -class CompletedMultipartUpload(_SerdeShape): - """The container for the completed multipart upload details.""" - - parts: list[CompletedPart] | None = ... - """ - Array of CompletedPart data types. - - If you do not supply a valid `Part` with your request, the service sends - back an HTTP 400 response. - """ - -@dataclass(kw_only=True) -class CompletedPart(_SerdeShape): - """Details of the parts that were uploaded.""" - - e_tag: str | None = ... - """Entity tag returned when the part was uploaded.""" - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum - is present if the multipart upload request was created with the `CRC32` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the part. This checksum - is present if the multipart upload request was created with the `CRC32C` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This - checksum is present if the multipart upload request was created with the - `CRC64NVME` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` checksum of the part. This checksum - is present if the multipart upload request was created with the `SHA1` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` checksum of the part. This checksum - is present if the multipart upload request was created with the `SHA256` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the part. This checksum - is present if the multipart upload request was created with the `SHA512` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the part. This checksum is - present if the multipart upload request was created with the `MD5` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This - checksum is present if the multipart upload request was created with the - `XXHASH64` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This checksum - is present if the multipart upload request was created with the - `XXHASH3` checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This - checksum is present if the multipart upload request was created with the - `XXHASH128` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - part_number: int | None = ... - """ - Part number that identifies the part. This is a positive integer between - 1 and 10,000. - - Note: - - **General purpose buckets** - In `CompleteMultipartUpload`, when a - additional checksum (including `x-amz-checksum-crc32`, - `x-amz-checksum-crc32c`, `x-amz-checksum-sha1`, or - `x-amz-checksum-sha256`) is applied to each part, the `PartNumber` - must start at 1 and the part numbers must be consecutive. Otherwise, - Amazon S3 generates an HTTP `400 Bad Request` status code and an - `InvalidPartOrder` error code. - - - **Directory buckets** - In `CompleteMultipartUpload`, the `PartNumber` - must start at 1 and the part numbers must be consecutive. - """ - -@dataclass(kw_only=True) -class CompleteMultipartUploadInput(_SerdeShape): - """Dataclass for CompleteMultipartUploadInput structure.""" - - bucket: str | None = ... - """ - Name of the bucket to which the multipart upload was initiated. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """Object key for which the multipart upload was initiated.""" - multipart_upload: CompletedMultipartUpload | None = ... - """The container for the multipart upload request information.""" - upload_id: str | None = ... - """ID for the initiated multipart upload.""" - checksum_crc32: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. - The `CRC64NVME` checksum is always a full object checksum. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_sha1: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 512-bit `SHA512` digest of the object. For - more information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_md5: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 128-bit `MD5` digest of the object. For - more information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash64: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `XXHASH64` checksum of the object. - For more information, see [Checking object integrity in the Amazon S3 - User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash3: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `XXHASH3` checksum of the object. - For more information, see [Checking object integrity in the Amazon S3 - User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash128: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 128-bit `XXHASH128` checksum of the - object. For more information, see [Checking object integrity in the - Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_type: str | None = ... - """ - This header specifies the checksum type of the object, which determines - how part-level checksums are combined to create an object-level checksum - for multipart objects. You can use this header as a data integrity check - to verify that the checksum type that is received is the same checksum - that was specified. If the checksum type doesn't match the checksum type - that was specified for the object during the `CreateMultipartUpload` - request, it'll result in a `BadDigest` error. For more information, see - Checking object integrity in the Amazon S3 User Guide. - """ - mpu_object_size: int | None = ... - """ - The expected total object size of the multipart upload request. If - there's a mismatch between the specified object size value and the - actual object size value, it results in an `HTTP 400 InvalidRequest` - error. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - if_match: str | None = ... - """ - Uploads the object only if the ETag (entity tag) value provided during - the WRITE operation matches the ETag of the object in S3. If the ETag - values do not match, the operation returns a `412 Precondition Failed` - error. - - If a conflicting operation occurs during the upload S3 returns a - `409 ConditionalRequestConflict` response. On a 409 failure you should - fetch the object's ETag, re-initiate the multipart upload with - `CreateMultipartUpload`, and re-upload each part. - - Expects the ETag value as a string. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232), or [Conditional - requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html) - in the *Amazon S3 User Guide*. - """ - if_none_match: str | None = ... - """ - Uploads the object only if the object key name does not already exist in - the bucket specified. Otherwise, Amazon S3 returns a - `412 Precondition Failed` error. - - If a conflicting operation occurs during the upload S3 returns a - `409 ConditionalRequestConflict` response. On a 409 failure you should - re-initiate the multipart upload with `CreateMultipartUpload` and - re-upload each part. - - Expects the '*' (asterisk) character. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232), or [Conditional - requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html) - in the *Amazon S3 User Guide*. - """ - sse_customer_algorithm: str | None = ... - """ - The server-side encryption (SSE) algorithm used to encrypt the object. - This parameter is required only when the object was created using a - checksum algorithm or if your bucket policy requires the use of SSE-C. - For more information, see [Protecting data using SSE-C - keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html#ssec-require-condition-key) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key: str | None = ... - """ - The server-side encryption (SSE) customer managed key. This parameter is - needed only when the object was created using a checksum algorithm. For - more information, see [Protecting data using SSE-C - keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - The MD5 server-side encryption (SSE) customer managed key. This - parameter is needed only when the object was created using a checksum - algorithm. For more information, see [Protecting data using SSE-C - keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - -@dataclass(kw_only=True) -class CompleteMultipartUploadOutput(_SerdeShape): - """Dataclass for CompleteMultipartUploadOutput structure.""" - - location: str | None = ... - """The URI that identifies the newly created object.""" - bucket: str | None = ... - """ - The name of the bucket that contains the newly created object. Does not - return the access point ARN or access point alias if used. - - Note: - Access points are not supported by directory buckets. - """ - key: str | None = ... - """The object key of the newly created object.""" - expiration: str | None = ... - """ - If the object expiration is configured, this will contain the expiration - date (`expiry-date`) and rule ID (`rule-id`). The value of `rule-id` is - URL-encoded. - - Note: - This functionality is not supported for directory buckets. - """ - e_tag: str | None = ... - """ - Entity tag that identifies the newly created object's data. Objects - with different object data will have different entity tags. The entity - tag is an opaque string. The entity tag may or may not be an MD5 digest - of the object data. If the entity tag is not an MD5 digest of the object - data, it will contain one or more nonhexadecimal characters and/or will - consist of less than 32 or more than 32 hexadecimal digits. For more - information about how the entity tag is calculated, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32 checksum` of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use an API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the object. This - checksum is only present if the checksum was uploaded with the object. - When you use an API operation on an object that was uploaded using - multipart uploads, this value may not be a direct checksum value of the - full object. Instead, it's a calculation based on the checksum values - of each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. - The `CRC64NVME` checksum is always a full object checksum. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use the API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use an API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_type: str | None = ... - """ - The checksum type, which determines how part-level checksums are - combined to create an object-level checksum for multipart objects. You - can use this header as a data integrity check to verify that the - checksum type that is received is the same checksum type that was - specified during the `CreateMultipartUpload` request. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when storing this object in - Amazon S3. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - version_id: str | None = ... - """ - Version ID of the newly created object, in case the bucket has - versioning turned on. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - If present, indicates the ID of the KMS key that was used for object - encryption. - """ - bucket_key_enabled: bool | None = ... - """ - Indicates whether the multipart upload uses an S3 Bucket Key for - server-side encryption with Key Management Service (KMS) keys (SSE-KMS). - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class CompressionType(UnknownEnumMixin, StrEnum): - NONE = "NONE" - GZIP = "GZIP" - BZIP2 = "BZIP2" - -@dataclass(kw_only=True) -class Condition(_SerdeShape): - """ - A container for describing a condition that must be met for the - specified redirect to apply. For example, 1. If request is for pages in - the `/docs` folder, redirect to the `/documents` folder. 2. If request - results in HTTP error 4xx, redirect request to another host where you - might process the error. - """ - - http_error_code_returned_equals: str | None = ... - """ - The HTTP error code when the redirect is applied. In the event of an - error, if the error code equals this value, then the specified redirect - is applied. Required when parent element `Condition` is specified and - sibling `KeyPrefixEquals` is not specified. If both are specified, then - both must be true for the redirect to be applied. - """ - key_prefix_equals: str | None = ... - """ - The object key name prefix when the redirect is applied. For example, to - redirect requests for `ExamplePage.html`, the key prefix will be - `ExamplePage.html`. To redirect request for all pages with the prefix - `docs/`, the key prefix will be `/docs`, which identifies all objects in - the `docs/` folder. Required when the parent element `Condition` is - specified and sibling `HttpErrorCodeReturnedEquals` is not specified. If - both conditions are specified, both must be true for the redirect to be - applied. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - -@dataclass(kw_only=True) -class ContinuationEvent(_SerdeShape): - """""" - -@dataclass(kw_only=True) -class CopyObjectInput(_SerdeShape): - """Dataclass for CopyObjectInput structure.""" - - acl: str | None = ... - """ - The canned access control list (ACL) to apply to the object. - - When you copy an object, the ACL metadata is not preserved and is set to - `private` by default. Only the owner has full access control. To - override the default ACL setting, specify a new ACL when you generate a - copy request. For more information, see [Using - ACLs](https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html). - - If the destination bucket that you're copying objects to uses the - bucket owner enforced setting for S3 Object Ownership, ACLs are disabled - and no longer affect permissions. Buckets that use this setting only - accept `PUT` requests that don't specify an ACL or `PUT` requests that - specify bucket owner full control ACLs, such as the - `bucket-owner-full-control` canned ACL or an equivalent form of this ACL - expressed in the XML format. For more information, see [Controlling - ownership of objects and disabling - ACLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) - in the *Amazon S3 User Guide*. - - Note: - - If your destination bucket uses the bucket owner enforced setting for - Object Ownership, all objects written to the bucket by any account - will be owned by the bucket owner. - - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - bucket: str | None = ... - """ - The name of the destination bucket. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - Note: - Copying objects across different Amazon Web Services Regions isn't - supported when the source or destination bucket is in Amazon Web - Services Local Zones. The source and destination buckets must have the - same parent Amazon Web Services Region. Otherwise, you get an HTTP - `400 Bad Request` error with the error code `InvalidRequest`. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must use the Outpost bucket access point ARN or the access point alias - for the destination bucket. You can only copy objects within the same - Outpost bucket. It's not supported to copy objects across different - Amazon Web Services Outposts, between buckets on the same Outposts, or - between Outposts buckets and any other bucket types. For more - information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *S3 on Outposts guide*. When you use this action with S3 on - Outposts through the REST API, you must direct requests to the S3 on - Outposts hostname, in the format - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - The hostname isn't required when you use the Amazon Web Services CLI or - SDKs. - """ - cache_control: str | None = ... - """Specifies the caching behavior along the request/reply chain.""" - checksum_algorithm: str | None = ... - """ - Indicates the algorithm that you want Amazon S3 to use to create the - checksum for the object. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - When you copy an object, if the source object has a checksum, that - checksum value will be copied to the new object by default. If the - `CopyObject` request does not include this `x-amz-checksum-algorithm` - header, the checksum algorithm will be copied from the source object to - the destination object (if it's present on the source object). You can - optionally specify a different checksum algorithm to use with the - `x-amz-checksum-algorithm` header. Unrecognized or unsupported values - will respond with the HTTP status code `400 Bad Request`. - - Note: - For directory buckets, when you use Amazon Web Services SDKs, `CRC32` is - the default checksum algorithm that's used for performance. - """ - content_disposition: str | None = ... - """ - Specifies presentational information for the object. Indicates whether - an object should be displayed in a web browser or downloaded as a file. - It allows specifying the desired filename for the downloaded file. - """ - content_encoding: str | None = ... - """ - Specifies what content encodings have been applied to the object and - thus what decoding mechanisms must be applied to obtain the media-type - referenced by the Content-Type header field. - - Note: - For directory buckets, only the `aws-chunked` value is supported in this - header field. - """ - content_language: str | None = ... - """The language the content is in.""" - content_type: str | None = ... - """A standard MIME type that describes the format of the object data.""" - copy_source: str | None = ... - """ - Specifies the source object for the copy operation. The source object - can be up to 5 GB. If the source object is an object that was uploaded - by using a multipart upload, the object copy will be a single part - object after the source object is copied to the destination bucket. - - You specify the value of the copy source in one of two formats, - depending on whether you want to access the source object through an - [access - point](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html): - - - For objects not accessed through an access point, specify the name of - the source bucket and the key of the source object, separated by a - slash (/). For example, to copy the object `reports/january.pdf` from - the general purpose bucket `awsexamplebucket`, use - `awsexamplebucket/reports/january.pdf`. The value must be URL-encoded. - To copy the object `reports/january.pdf` from the directory bucket - `awsexamplebucket--use1-az5--x-s3`, use - `awsexamplebucket--use1-az5--x-s3/reports/january.pdf`. The value must - be URL-encoded. - - - For objects accessed through access points, specify the Amazon - Resource Name (ARN) of the object as accessed through the access - point, in the format - `arn:aws:s3:```{=html}`:```{=html}`:accesspoint/```{=html}`/object/```{=html}. - For example, to copy the object `reports/january.pdf` through access - point `my-access-point` owned by account `123456789012` in Region - `us-west-2`, use the URL encoding of - `arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf`. - The value must be URL encoded. - - Note: - - Amazon S3 supports copy operations using Access points only when the - source and destination buckets are in the same Amazon Web Services - Region. - - - Access points are not supported by directory buckets. - - Alternatively, for objects accessed through Amazon S3 on Outposts, - specify the ARN of the object as accessed in the format - `arn:aws:s3-outposts:```{=html}`:```{=html}`:outpost/```{=html}`/object/```{=html}. - For example, to copy the object `reports/january.pdf` through outpost - `my-outpost` owned by account `123456789012` in Region `us-west-2`, - use the URL encoding of - `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`. - The value must be URL-encoded. - - If your source bucket versioning is enabled, the `x-amz-copy-source` - header by default identifies the current version of an object to copy. - If the current version is a delete marker, Amazon S3 behaves as if the - object was deleted. To copy a different version, use the `versionId` - query parameter. Specifically, append `?versionId=```{=html} - to the value (for example, - `awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893`). - If you don't specify a version ID, Amazon S3 copies the latest version - of the source object. - - If you enable versioning on the destination bucket, Amazon S3 generates - a unique version ID for the copied object. This version ID is different - from the version ID of the source object. Amazon S3 returns the version - ID of the copied object in the `x-amz-version-id` response header in the - response. - - If you do not enable versioning or suspend it on the destination bucket, - the version ID that Amazon S3 generates in the `x-amz-version-id` - response header is always null. - - Note: - **Directory buckets** - S3 Versioning isn't enabled and supported for - directory buckets. - """ - copy_source_if_match: str | None = ... - """ - Copies the object if its entity tag (ETag) matches the specified tag. - - If both the `x-amz-copy-source-if-match` and - `x-amz-copy-source-if-unmodified-since` headers are present in the - request and evaluate as follows, Amazon S3 returns `200 OK` and copies - the data: - - - `x-amz-copy-source-if-match` condition evaluates to true - - - `x-amz-copy-source-if-unmodified-since` condition evaluates to false - """ - copy_source_if_modified_since: datetime | None = ... - """ - Copies the object if it has been modified since the specified time. - - If both the `x-amz-copy-source-if-none-match` and - `x-amz-copy-source-if-modified-since` headers are present in the request - and evaluate as follows, Amazon S3 returns the `412 Precondition Failed` - response code: - - - `x-amz-copy-source-if-none-match` condition evaluates to false - - - `x-amz-copy-source-if-modified-since` condition evaluates to true - """ - copy_source_if_none_match: str | None = ... - """ - Copies the object if its entity tag (ETag) is different than the - specified ETag. - - If both the `x-amz-copy-source-if-none-match` and - `x-amz-copy-source-if-modified-since` headers are present in the request - and evaluate as follows, Amazon S3 returns the `412 Precondition Failed` - response code: - - - `x-amz-copy-source-if-none-match` condition evaluates to false - - - `x-amz-copy-source-if-modified-since` condition evaluates to true - """ - copy_source_if_unmodified_since: datetime | None = ... - """ - Copies the object if it hasn't been modified since the specified time. - - If both the `x-amz-copy-source-if-match` and - `x-amz-copy-source-if-unmodified-since` headers are present in the - request and evaluate as follows, Amazon S3 returns `200 OK` and copies - the data: - - - `x-amz-copy-source-if-match` condition evaluates to true - - - `x-amz-copy-source-if-unmodified-since` condition evaluates to false - """ - expires: str | None = ... - """The date and time at which the object is no longer cacheable.""" - grant_full_control: str | None = ... - """ - Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the - object. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_read: str | None = ... - """ - Allows grantee to read the object data and its metadata. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_read_acp: str | None = ... - """ - Allows grantee to read the object ACL. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_write_acp: str | None = ... - """ - Allows grantee to write the ACL for the applicable object. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - if_match: str | None = ... - """ - Copies the object if the entity tag (ETag) of the destination object - matches the specified tag. If the ETag values do not match, the - operation returns a `412 Precondition Failed` error. If a concurrent - operation occurs during the upload S3 returns a - `409 ConditionalRequestConflict` response. On a 409 failure you should - fetch the object's ETag and retry the upload. - - Expects the ETag value as a string. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - if_none_match: str | None = ... - """ - Copies the object only if the object key name at the destination does - not already exist in the bucket specified. Otherwise, Amazon S3 returns - a `412 Precondition Failed` error. If a concurrent operation occurs - during the upload S3 returns a `409 ConditionalRequestConflict` - response. On a 409 failure you should retry the upload. - - Expects the '*' (asterisk) character. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - key: str | None = ... - """The key of the destination object.""" - metadata: dict[str, str] | None = ... - """A map of metadata to store with the object in S3.""" - metadata_directive: str | None = ... - """ - Specifies whether the metadata is copied from the source object or - replaced with metadata that's provided in the request. When copying an - object, you can preserve all metadata (the default) or specify new - metadata. If this header isn't specified, `COPY` is the default - behavior. - - **General purpose bucket** - For general purpose buckets, when you grant - permissions, you can use the `s3:x-amz-metadata-directive` condition key - to enforce certain metadata behavior when objects are uploaded. For more - information, see [Amazon S3 condition key - examples](https://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html) - in the *Amazon S3 User Guide*. - - Note: - `x-amz-website-redirect-location` is unique to each object and is not - copied when using the `x-amz-metadata-directive` header. To copy the - value, you must specify `x-amz-website-redirect-location` in the request - header. - """ - tagging_directive: str | None = ... - """ - Specifies whether the object tag-set is copied from the source object or - replaced with the tag-set that's provided in the request. - - The default value is `COPY`. - - Note: - **Directory buckets** - For directory buckets in a `CopyObject` - operation, only the empty tag-set is supported. Any requests that - attempt to write non-empty tags into directory buckets will receive a - `501 Not Implemented` status code. When the destination bucket is a - directory bucket, you will receive a `501 Not Implemented` response in - any of the following situations: - - - When you attempt to `COPY` the tag-set from an S3 source object that - has non-empty tags. - - - When you attempt to `REPLACE` the tag-set of a source object and set a - non-empty value to `x-amz-tagging`. - - - When you don't set the `x-amz-tagging-directive` header and the - source object has non-empty tags. This is because the default value of - `x-amz-tagging-directive` is `COPY`. - - Because only the empty tag-set is supported for directory buckets in a - `CopyObject` operation, the following situations are allowed: - - - When you attempt to `COPY` the tag-set from a directory bucket source - object that has no tags to a general purpose bucket. It copies an - empty tag-set to the destination object. - - - When you attempt to `REPLACE` the tag-set of a directory bucket source - object and set the `x-amz-tagging` value of the directory bucket - destination object to empty. - - - When you attempt to `REPLACE` the tag-set of a general purpose bucket - source object that has non-empty tags and set the `x-amz-tagging` - value of the directory bucket destination object to empty. - - - When you attempt to `REPLACE` the tag-set of a directory bucket source - object and don't set the `x-amz-tagging` value of the directory - bucket destination object. This is because the default value of - `x-amz-tagging` is the empty value. - """ - annotation_directive: str | None = ... - """ - Specifies whether you want to copy annotations from the source object or - exclude them. If this header isn't specified, `COPY` is the default - behavior. - - Valid Values: `COPY | EXCLUDE` - - You can specify this directive as either an HTTP header - (`x-amz-object-annotation-directive`) or as a query string parameter. - Use the query string form when generating presigned URLs that need to - control annotation copy behavior. - - When set to `COPY`, you must have `s3:GetObjectAnnotation` permission on - the source object and `s3:PutObjectAnnotation` permission on the - destination. Each annotation copied is billed as a separate PUT request. - If annotations on the source are modified during the copy, Amazon S3 - returns a retryable error. - - Note: - For directory buckets, annotations are not supported. Use `EXCLUDE` to - copy objects to directory buckets without errors. If you specify `COPY` - for a directory bucket, the request returns HTTP 501 (Not Implemented). - Note: - When you copy objects using multipart upload (for example, when the - Amazon Web Services CLI or Amazon Web Services SDKs use Transfer Manager - for objects larger than approximately 8 MB), annotations are not copied - by default. To include annotations, specify `--copy-props default` in - the Amazon Web Services CLI or the equivalent SDK configuration. With - this opt-in, the SDK reads source annotations, completes the multipart - upload, and then writes each annotation to the destination. Between the - upload completion and the last annotation write, the destination object - exists without all its annotations. - """ - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when storing this object in - Amazon S3. Unrecognized or unsupported values won't write a destination - object and will receive a `400 Bad Request` response. - - Amazon S3 automatically encrypts all new objects that are copied to an - S3 bucket. When copying an object, if you don't specify encryption - information in your copy request, the encryption setting of the target - object is set to the default encryption configuration of the destination - bucket. By default, all buckets have a base level of encryption - configuration that uses server-side encryption with Amazon S3 managed - keys (SSE-S3). If the destination bucket has a different default - encryption configuration, Amazon S3 uses the corresponding encryption - key to encrypt the target object copy. - - With server-side encryption, Amazon S3 encrypts your data as it writes - your data to disks in its data centers and decrypts the data when you - access it. For more information about server-side encryption, see [Using - Server-Side - Encryption](https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) - in the *Amazon S3 User Guide*. - - **General purpose buckets** - - - For general purpose buckets, there are the following supported options - for server-side encryption: server-side encryption with Key Management - Service (KMS) keys (SSE-KMS), dual-layer server-side encryption with - Amazon Web Services KMS keys (DSSE-KMS), and server-side encryption - with customer-provided encryption keys (SSE-C). Amazon S3 uses the - corresponding KMS key, or a customer-provided key to encrypt the - target object copy. - - - When you perform a `CopyObject` operation, if you want to use a - different type of encryption setting for the target object, you can - specify appropriate encryption-related headers to encrypt the target - object with an Amazon S3 managed key, a KMS key, or a - customer-provided key. If the encryption setting in your request is - different from the default encryption configuration of the destination - bucket, the encryption setting in your request takes precedence. - - **Directory buckets** - - - For directory buckets, there are only two supported options for - server-side encryption: server-side encryption with Amazon S3 managed - keys (SSE-S3) (`AES256`) and server-side encryption with KMS keys - (SSE-KMS) (`aws:kms`). We recommend that the bucket's default - encryption uses the desired encryption configuration and you don't - override the bucket default encryption in your `CreateSession` - requests or `PUT` object requests. Then, new objects are automatically - encrypted with the desired encryption settings. For more information, - see [Protecting data with server-side - encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html) - in the *Amazon S3 User Guide*. For more information about the - encryption overriding behaviors in directory buckets, see [Specifying - server-side encryption with KMS for new object - uploads](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html). - - - To encrypt new object copies to a directory bucket with SSE-KMS, we - recommend you specify SSE-KMS as the directory bucket's default - encryption configuration with a KMS key (specifically, a [customer - managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk)). - The [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) - (`aws/s3`) isn't supported. Your SSE-KMS configuration can only - support 1 [customer managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) - per directory bucket for the lifetime of the bucket. After you specify - a customer managed key for SSE-KMS, you can't override the customer - managed key for the bucket's SSE-KMS configuration. Then, when you - perform a `CopyObject` operation and want to specify server-side - encryption settings for new object copies with SSE-KMS in the - encryption-related request headers, you must ensure the encryption key - is the same customer managed key that you specified for the directory - bucket's default encryption configuration. - - - **S3 access points for Amazon FSx** - When accessing data stored in - Amazon FSx file systems using S3 access points, the only valid server - side encryption option is `aws:fsx`. All Amazon FSx file systems have - encryption configured by default and are encrypted at rest. Data is - automatically encrypted before being written to the file system, and - automatically decrypted as it is read. These processes are handled - transparently by Amazon FSx. - """ - storage_class: str | None = ... - """ - If the `x-amz-storage-class` header is not used, the copied object will - be stored in the `STANDARD` Storage Class by default. The `STANDARD` - storage class provides high durability and high availability. Depending - on performance needs, you can specify a different Storage Class. - - Note: - - **Directory buckets** - Directory buckets only support - `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in - Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent Access - storage class) in Dedicated Local Zones. Unsupported storage class - values won't write a destination object and will respond with the - HTTP status code `400 Bad Request`. - - - **Amazon S3 on Outposts** - S3 on Outposts only uses the `OUTPOSTS` - Storage Class. - - You can use the `CopyObject` action to change the storage class of an - object that is already stored in Amazon S3 by using the - `x-amz-storage-class` header. For more information, see [Storage - Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) - in the *Amazon S3 User Guide*. - - Before using an object as a source object for the copy operation, you - must restore a copy of it if it meets any of the following conditions: - - - The storage class of the source object is `GLACIER` or `DEEP_ARCHIVE`. - - - The storage class of the source object is `INTELLIGENT_TIERING` and - it's [S3 Intelligent-Tiering access - tier](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intelligent-tiering-overview.html#intel-tiering-tier-definition) - is `Archive Access` or `Deep Archive Access`. - - For more information, see - [RestoreObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html) - and [Copying - Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html) - in the *Amazon S3 User Guide*. - """ - website_redirect_location: str | None = ... - """ - If the destination bucket is configured as a website, redirects requests - for this object copy to another object in the same bucket or to an - external URL. Amazon S3 stores the value of this header in the object - metadata. This value is unique to each object and is not copied when - using the `x-amz-metadata-directive` header. Instead, you may opt to - provide this header in combination with the `x-amz-metadata-directive` - header. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when encrypting the object (for example, - `AES256`). - - When you perform a `CopyObject` operation, if you want to use a - different type of encryption setting for the target object, you can - specify appropriate encryption-related headers to encrypt the target - object with an Amazon S3 managed key, a KMS key, or a customer-provided - key. If the encryption setting in your request is different from the - default encryption configuration of the destination bucket, the - encryption setting in your request takes precedence. - - Note: - This functionality is not supported when the destination bucket is a - directory bucket. - """ - sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key for Amazon S3 to use in - encrypting data. This value is used to store the object and then it is - discarded. Amazon S3 does not store the encryption key. The key must be - appropriate for use with the algorithm specified in the - `x-amz-server-side-encryption-customer-algorithm` header. - - Note: - This functionality is not supported when the destination bucket is a - directory bucket. - """ - sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the encryption key according to RFC - 1321. Amazon S3 uses this header for a message integrity check to ensure - that the encryption key was transmitted without error. - - Note: - This functionality is not supported when the destination bucket is a - directory bucket. - """ - ssekms_key_id: str | None = ... - """ - Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for - object encryption. All GET and PUT requests for an object protected by - KMS will fail if they're not made via SSL or using SigV4. For - information about configuring any of the officially supported Amazon Web - Services SDKs and Amazon Web Services CLI, see [Specifying the Signature - Version in Request - Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version) - in the *Amazon S3 User Guide*. - - **Directory buckets** - To encrypt data using SSE-KMS, it's recommended - to specify the `x-amz-server-side-encryption` header to `aws:kms`. Then, - the `x-amz-server-side-encryption-aws-kms-key-id` header implicitly uses - the bucket's default KMS customer managed key ID. If you want to - explicitly set the ` x-amz-server-side-encryption-aws-kms-key-id` - header, it must match the bucket's default customer managed key (using - key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 - [customer managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) - per directory bucket's lifetime. The [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) - (`aws/s3`) isn't supported. Incorrect key specification results in an - HTTP `400 Bad Request` error. - """ - ssekms_encryption_context: str | None = ... - """ - Specifies the Amazon Web Services KMS Encryption Context as an - additional encryption context to use for the destination object - encryption. The value of this header is a base64-encoded UTF-8 string - holding JSON with the encryption context key-value pairs. - - **General purpose buckets** - This value must be explicitly added to - specify encryption context for `CopyObject` requests if you want an - additional encryption context for your destination object. The - additional encryption context of the source object won't be copied to - the destination object. For more information, see [Encryption - context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) - in the *Amazon S3 User Guide*. - - **Directory buckets** - You can optionally provide an explicit - encryption context value. The value must match the default encryption - context - the bucket Amazon Resource Name (ARN). An additional - encryption context value is not supported. - """ - bucket_key_enabled: bool | None = ... - """ - Specifies whether Amazon S3 should use an S3 Bucket Key for object - encryption with server-side encryption using Key Management Service - (KMS) keys (SSE-KMS). If a target object uses SSE-KMS, you can enable an - S3 Bucket Key for the object. - - Setting this header to `true` causes Amazon S3 to use an S3 Bucket Key - for object encryption with SSE-KMS. Specifying this header with a COPY - action doesn't affect bucket-level settings for S3 Bucket Key. - - For more information, see [Amazon S3 Bucket - Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) - in the *Amazon S3 User Guide*. - - Note: - **Directory buckets** - S3 Bucket Keys aren't supported, when you copy - SSE-KMS encrypted objects from general purpose buckets to directory - buckets, from directory buckets to general purpose buckets, or between - directory buckets, through - [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html). - In this case, Amazon S3 makes a call to KMS every time a copy request is - made for a KMS-encrypted object. - """ - copy_source_sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when decrypting the source object (for - example, `AES256`). - - If the source object for the copy is stored in Amazon S3 using SSE-C, - you must provide the necessary encryption information in your request so - that Amazon S3 can decrypt the object for copying. - - Note: - This functionality is not supported when the source object is in a - directory bucket. - """ - copy_source_sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key for Amazon S3 to use to - decrypt the source object. The encryption key provided in this header - must be the same one that was used when the source object was created. - - If the source object for the copy is stored in Amazon S3 using SSE-C, - you must provide the necessary encryption information in your request so - that Amazon S3 can decrypt the object for copying. - - Note: - This functionality is not supported when the source object is in a - directory bucket. - """ - copy_source_sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the encryption key according to RFC - 1321. Amazon S3 uses this header for a message integrity check to ensure - that the encryption key was transmitted without error. - - If the source object for the copy is stored in Amazon S3 using SSE-C, - you must provide the necessary encryption information in your request so - that Amazon S3 can decrypt the object for copying. - - Note: - This functionality is not supported when the source object is in a - directory bucket. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - tagging: str | None = ... - """ - The tag-set for the object copy in the destination bucket. This value - must be used in conjunction with the `x-amz-tagging-directive` if you - choose `REPLACE` for the `x-amz-tagging-directive`. If you choose `COPY` - for the `x-amz-tagging-directive`, you don't need to set the - `x-amz-tagging` header, because the tag-set will be copied from the - source object directly. The tag-set must be encoded as URL Query - parameters. - - The default value is the empty value. - - Note: - **Directory buckets** - For directory buckets in a `CopyObject` - operation, only the empty tag-set is supported. Any requests that - attempt to write non-empty tags into directory buckets will receive a - `501 Not Implemented` status code. When the destination bucket is a - directory bucket, you will receive a `501 Not Implemented` response in - any of the following situations: - - - When you attempt to `COPY` the tag-set from an S3 source object that - has non-empty tags. - - - When you attempt to `REPLACE` the tag-set of a source object and set a - non-empty value to `x-amz-tagging`. - - - When you don't set the `x-amz-tagging-directive` header and the - source object has non-empty tags. This is because the default value of - `x-amz-tagging-directive` is `COPY`. - - Because only the empty tag-set is supported for directory buckets in a - `CopyObject` operation, the following situations are allowed: - - - When you attempt to `COPY` the tag-set from a directory bucket source - object that has no tags to a general purpose bucket. It copies an - empty tag-set to the destination object. - - - When you attempt to `REPLACE` the tag-set of a directory bucket source - object and set the `x-amz-tagging` value of the directory bucket - destination object to empty. - - - When you attempt to `REPLACE` the tag-set of a general purpose bucket - source object that has non-empty tags and set the `x-amz-tagging` - value of the directory bucket destination object to empty. - - - When you attempt to `REPLACE` the tag-set of a directory bucket source - object and don't set the `x-amz-tagging` value of the directory - bucket destination object. This is because the default value of - `x-amz-tagging` is the empty value. - """ - object_lock_mode: str | None = ... - """ - The Object Lock mode that you want to apply to the object copy. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_retain_until_date: datetime | None = ... - """ - The date and time when you want the Object Lock of the object copy to - expire. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_legal_hold_status: str | None = ... - """ - Specifies whether you want to apply a legal hold to the object copy. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold: str | None = ... - """ - The event hold status to apply to the object copy. Set to `ON` to enable - or `OFF` to disable. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_days: int | None = ... - """ - The event hold duration in days to apply to the object copy. You cannot - specify a duration in both days and years. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_years: int | None = ... - """ - The event hold duration in years to apply to the object copy. You cannot - specify a duration in both days and years. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected destination bucket owner. If the account - ID that you provide does not match the actual owner of the destination - bucket, the request fails with the HTTP status code `403 Forbidden` - (access denied). - """ - expected_source_bucket_owner: str | None = ... - """ - The account ID of the expected source bucket owner. If the account ID - that you provide does not match the actual owner of the source bucket, - the request fails with the HTTP status code `403 Forbidden` (access - denied). - """ - -@dataclass(kw_only=True) -class CopyObjectOutput(_SerdeShape): - """Dataclass for CopyObjectOutput structure.""" - - copy_object_result: CopyObjectResult | None = ... - """Container for all response elements.""" - expiration: str | None = ... - """ - If the object expiration is configured, the response includes this - header. - - Note: - Object expiration information is not returned in directory buckets and - this header returns the value \"`NotImplemented`\" in all responses for - directory buckets. - """ - copy_source_version_id: str | None = ... - """ - Version ID of the source object that was copied. - - Note: - This functionality is not supported when the source object is in a - directory bucket. - """ - version_id: str | None = ... - """ - Version ID of the newly created copy. - - Note: - This functionality is not supported for directory buckets. - """ - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when you store this object in - Amazon S3 or Amazon FSx. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - sse_customer_algorithm: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to confirm the - encryption algorithm that's used. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to provide the - round-trip message integrity verification of the customer-provided - encryption key. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - If present, indicates the ID of the KMS key that was used for object - encryption. - """ - ssekms_encryption_context: str | None = ... - """ - If present, indicates the Amazon Web Services KMS Encryption Context to - use for object encryption. The value of this header is a Base64 encoded - UTF-8 string holding JSON with the encryption context key-value pairs. - """ - bucket_key_enabled: bool | None = ... - """ - Indicates whether the copied object uses an S3 Bucket Key for - server-side encryption with Key Management Service (KMS) keys (SSE-KMS). - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CopyObjectResult(_SerdeShape): - """Container for all response elements.""" - - e_tag: str | None = ... - """ - Returns the ETag of the new object. The ETag reflects only changes to - the contents of an object, not its metadata. - """ - last_modified: datetime | None = ... - """Creation date of the object.""" - checksum_type: str | None = ... - """ - The checksum type that is used to calculate the object's checksum value. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32` checksum of the object. This checksum - is only present if the checksum was uploaded with the object. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the object. This - checksum is only present if the checksum was uploaded with the object. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. This - checksum is present if the object being copied was uploaded with the - `CRC64NVME` checksum algorithm, or if the object was uploaded without a - checksum (and Amazon S3 added the default checksum, `CRC64NVME`, to the - uploaded object). For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum - is only present if the checksum was uploaded with the object. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum - is only present if the checksum was uploaded with the object. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the object. This checksum - is only present if the object was uploaded with the `SHA512` checksum - algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the object. This checksum is - only present if the object was uploaded with the `MD5` checksum - algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the object. This - checksum is only present if the object was uploaded with the `XXHASH64` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the object. This - checksum is only present if the object was uploaded with the `XXHASH3` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the object. This - checksum is only present if the object was uploaded with the `XXHASH128` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - -@dataclass(kw_only=True) -class CopyPartResult(_SerdeShape): - """Container for all response elements.""" - - e_tag: str | None = ... - """Entity tag of the object.""" - last_modified: datetime | None = ... - """Date and time at which the object was uploaded.""" - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum - is present if the multipart upload request was created with the `CRC32` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the part. This checksum - is present if the multipart upload request was created with the `CRC32C` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This - checksum is present if the multipart upload request was created with the - `CRC64NVME` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` digest of the part. This checksum is - present if the multipart upload request was created with the `SHA1` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` digest of the part. This checksum - is present if the multipart upload request was created with the `SHA256` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the part. This checksum - is present if the multipart upload request was created with the `SHA512` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the part. This checksum is - present if the multipart upload request was created with the `MD5` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This - checksum is present if the multipart upload request was created with the - `XXHASH64` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This checksum - is present if the multipart upload request was created with the - `XXHASH3` checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This - checksum is present if the multipart upload request was created with the - `XXHASH128` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - -@dataclass(kw_only=True) -class CORSConfiguration(_SerdeShape): - """ - Describes the cross-origin access configuration for objects in an Amazon - S3 bucket. For more information, see [Enabling Cross-Origin Resource - Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in - the *Amazon S3 User Guide*. - """ - - cors_rules: list[CORSRule] - """ - A set of origins and methods (cross-origin access that you want to - allow). You can add up to 100 rules to the configuration. - """ - -@dataclass(kw_only=True) -class CORSRule(_SerdeShape): - """Specifies a cross-origin access rule for an Amazon S3 bucket.""" - - id: str | None = ... - """ - Unique identifier for the rule. The value cannot be longer than 255 - characters. - """ - allowed_headers: list[str] | None = ... - """ - Headers that are specified in the `Access-Control-Request-Headers` - header. These headers are allowed in a preflight OPTIONS request. In - response to any preflight OPTIONS request, Amazon S3 returns any - requested headers that are allowed. - """ - allowed_methods: list[str] - """ - An HTTP method that you allow the origin to execute. Valid values are - `GET`, `PUT`, `HEAD`, `POST`, and `DELETE`. - """ - allowed_origins: list[str] - """ - One or more origins you want customers to be able to access the bucket - from. - """ - expose_headers: list[str] | None = ... - """ - One or more headers in the response that you want customers to be able - to access from their applications (for example, from a JavaScript - `XMLHttpRequest` object). - """ - max_age_seconds: int | None = ... - """ - The time in seconds that your browser is to cache the preflight response - for the specified resource. - """ - -@dataclass(kw_only=True) -class CreateBucketConfiguration(_SerdeShape): - """The configuration information for the bucket.""" - - location_constraint: str | None = ... - """ - Specifies the Region where the bucket will be created. You might choose - a Region to optimize latency, minimize costs, or address regulatory - requirements. For example, if you reside in Europe, you will probably - find it advantageous to create buckets in the Europe (Ireland) Region. - - If you don't specify a Region, the bucket is created in the US East (N. - Virginia) Region (us-east-1) by default. Configurations using the value - `EU` will create a bucket in `eu-west-1`. - - For a list of the valid values for all of the Amazon Web Services - Regions, see [Regions and - Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). - - Note: - This functionality is not supported for directory buckets. - """ - location: LocationInfo | None = ... - """ - Specifies the location where the bucket will be created. - - **Directory buckets** - The location type is Availability Zone or Local - Zone. To use the Local Zone location type, your account must be enabled - for Local Zones. Otherwise, you get an HTTP `403 Forbidden` error with - the error code `AccessDenied`. To learn more, see [Enable accounts for - Local - Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is only supported by directory buckets. - """ - bucket: BucketInfo | None = ... - """ - Specifies the information about the bucket that will be created. - - Note: - This functionality is only supported by directory buckets. - """ - tags: list[Tag] | None = ... - """ - An array of tags that you can apply to the bucket that you're creating. - Tags are key-value pairs of metadata used to categorize and organize - your buckets, track costs, and control access. - - You must have the `s3:TagResource` permission to create a general - purpose bucket with tags or the `s3express:TagResource` permission to - create a directory bucket with tags. - - When creating buckets with tags, note that tag-based conditions using - `aws:ResourceTag` and `s3:BucketTag` condition keys are applicable only - after ABAC is enabled on the bucket. To learn more, see [Enabling ABAC - in general purpose - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html). - """ - -@dataclass(kw_only=True) -class CreateBucketInput(_SerdeShape): - """Dataclass for CreateBucketInput structure.""" - - acl: str | None = ... - """ - The canned ACL to apply to the bucket. - - Note: - This functionality is not supported for directory buckets. - """ - bucket: str | None = ... - """ - The name of the bucket to create. - - **General purpose buckets** - For information about bucket naming - restrictions, see [Bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) - in the *Amazon S3 User Guide*. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - create_bucket_configuration: CreateBucketConfiguration | None = ... - """The configuration information for the bucket.""" - grant_full_control: str | None = ... - """ - Allows grantee the read, write, read ACP, and write ACP permissions on - the bucket. - - Note: - This functionality is not supported for directory buckets. - """ - grant_read: str | None = ... - """ - Allows grantee to list the objects in the bucket. - - Note: - This functionality is not supported for directory buckets. - """ - grant_read_acp: str | None = ... - """ - Allows grantee to read the bucket ACL. - - Note: - This functionality is not supported for directory buckets. - """ - grant_write: str | None = ... - """ - Allows grantee to create new objects in the bucket. - - For the bucket and object owners of existing objects, also allows - deletions and overwrites of those objects. - - Note: - This functionality is not supported for directory buckets. - """ - grant_write_acp: str | None = ... - """ - Allows grantee to write the ACL for the applicable bucket. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_enabled_for_bucket: bool | None = ... - """ - Specifies whether you want S3 Object Lock to be enabled for the new - bucket. - - Note: - This functionality is not supported for directory buckets. - """ - object_ownership: str | None = ... - """ - The container element for object ownership for a bucket's ownership - controls. - - `BucketOwnerPreferred` - Objects uploaded to the bucket change ownership - to the bucket owner if the objects are uploaded with the - `bucket-owner-full-control` canned ACL. - - `ObjectWriter` - The uploading account will own the object if the object - is uploaded with the `bucket-owner-full-control` canned ACL. - - `BucketOwnerEnforced` - Access control lists (ACLs) are disabled and no - longer affect permissions. The bucket owner automatically owns and has - full control over every object in the bucket. The bucket only accepts - PUT requests that don't specify an ACL or specify bucket owner full - control ACLs (such as the predefined `bucket-owner-full-control` canned - ACL or a custom ACL in XML format that grants the same permissions). - - By default, `ObjectOwnership` is set to `BucketOwnerEnforced` and ACLs - are disabled. We recommend keeping ACLs disabled, except in uncommon use - cases where you must control access for each object individually. For - more information about S3 Object Ownership, see [Controlling ownership - of objects and disabling ACLs for your - bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. Directory - buckets use the bucket owner enforced setting for S3 Object Ownership. - """ - bucket_namespace: str | None = ... - """ - Specifies the namespace where you want to create your general purpose - bucket. When you create a general purpose bucket, you can choose to - create a bucket in the shared global namespace or you can choose to - create a bucket in your account regional namespace. Your account - regional namespace is a subdivision of the global namespace that only - your account can create buckets in. For more information on bucket - namespaces, see [Namespaces for general purpose - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/gpbucketnamespaces.html). - - General purpose buckets in your account regional namespace must follow a - specific naming convention. These buckets consist of a bucket name - prefix that you create, and a suffix that contains your 12-digit Amazon - Web Services Account ID, the Amazon Web Services Region code, and ends - with `-an`. Bucket names must follow the format - `bucket-name-prefix-accountId-region-an` (for example, - `amzn-s3-demo-bucket-111122223333-us-west-2-an`). For information about - bucket naming restrictions, see [Account regional namespace naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html#account-regional-naming-rules) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - -@dataclass(kw_only=True) -class CreateBucketMetadataConfigurationInput(_SerdeShape): - """Dataclass for CreateBucketMetadataConfigurationInput structure.""" - - bucket: str | None = ... - """ - The general purpose bucket that you want to create the metadata - configuration for. - """ - content_md5: str | None = ... - """The `Content-MD5` header for the metadata configuration.""" - checksum_algorithm: str | None = ... - """The checksum algorithm to use with your metadata configuration.""" - metadata_configuration: MetadataConfiguration | None = ... - """The contents of your metadata configuration.""" - expected_bucket_owner: str | None = ... - """ - The expected owner of the general purpose bucket that corresponds to - your metadata configuration. - """ - -@dataclass(kw_only=True) -class CreateBucketMetadataConfigurationOutput(_SerdeShape): - """Dataclass for CreateBucketMetadataConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateBucketMetadataTableConfigurationInput(_SerdeShape): - """Dataclass for CreateBucketMetadataTableConfigurationInput structure.""" - - bucket: str | None = ... - """ - The general purpose bucket that you want to create the metadata table - configuration for. - """ - content_md5: str | None = ... - """The `Content-MD5` header for the metadata table configuration.""" - checksum_algorithm: str | None = ... - """The checksum algorithm to use with your metadata table configuration.""" - metadata_table_configuration: MetadataTableConfiguration | None = ... - """The contents of your metadata table configuration.""" - expected_bucket_owner: str | None = ... - """ - The expected owner of the general purpose bucket that corresponds to - your metadata table configuration. - """ - -@dataclass(kw_only=True) -class CreateBucketMetadataTableConfigurationOutput(_SerdeShape): - """Dataclass for CreateBucketMetadataTableConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateBucketOutput(_SerdeShape): - """Dataclass for CreateBucketOutput structure.""" - - location: str | None = ... - """ - A forward slash followed by the name of the bucket for all account - regional namespace buckets and all global general purpose buckets - created in us-east-1. For example, `/amzn-s3-demo-bucket`. For global - general purpose buckets created in other Amazon Web Services Regions, - the Location field is the global endpoint URL. For example, - `http://amzn-s3-demo-bucket.s3.amazonaws.com/`. - """ - bucket_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify - Amazon Web Services resources across all of Amazon Web Services. - - Note: - This parameter is only supported for S3 directory buckets. For more - information, see [Using tags with directory - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateMultipartUploadInput(_SerdeShape): - """Dataclass for CreateMultipartUploadInput structure.""" - - acl: str | None = ... - """ - The canned ACL to apply to the object. Amazon S3 supports a set of - predefined ACLs, known as *canned ACLs*. Each canned ACL has a - predefined set of grantees and permissions. For more information, see - [Canned - ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL) - in the *Amazon S3 User Guide*. - - By default, all objects are private. Only the owner has full access - control. When uploading an object, you can grant access permissions to - individual Amazon Web Services accounts or to predefined groups defined - by Amazon S3. These permissions are then added to the access control - list (ACL) on the new object. For more information, see [Using - ACLs](https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html). - One way to grant the permissions using the request headers is to specify - a canned ACL with the `x-amz-acl` request header. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - bucket: str | None = ... - """ - The name of the bucket where the multipart upload is initiated and where - the object is uploaded. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - cache_control: str | None = ... - """Specifies caching behavior along the request/reply chain.""" - content_disposition: str | None = ... - """Specifies presentational information for the object.""" - content_encoding: str | None = ... - """ - Specifies what content encodings have been applied to the object and - thus what decoding mechanisms must be applied to obtain the media-type - referenced by the Content-Type header field. - - Note: - For directory buckets, only the `aws-chunked` value is supported in this - header field. - """ - content_language: str | None = ... - """The language that the content is in.""" - content_type: str | None = ... - """A standard MIME type describing the format of the object data.""" - expires: str | None = ... - """The date and time at which the object is no longer cacheable.""" - grant_full_control: str | None = ... - """ - Specify access permissions explicitly to give the grantee READ, - READ_ACP, and WRITE_ACP permissions on the object. - - By default, all objects are private. Only the owner has full access - control. When uploading an object, you can use this header to explicitly - grant access permissions to specific Amazon Web Services accounts or - groups. This header maps to specific permissions that Amazon S3 supports - in an ACL. For more information, see [Access Control List (ACL) - Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) - in the *Amazon S3 User Guide*. - - You specify each grantee as a type=value pair, where the type is one of - the following: - - - `id` -- if the value specified is the canonical user ID of an Amazon - Web Services account - - - `uri` -- if you are granting permissions to a predefined group - - - `emailAddress` -- if the value specified is the email address of an - Amazon Web Services account - - Note: - Using email addresses to specify a grantee is only supported in the - following Amazon Web Services Regions: - - - US East (N. Virginia) - - - US West (N. California) - - - US West (Oregon) - - - Asia Pacific (Singapore) - - - Asia Pacific (Sydney) - - - Asia Pacific (Tokyo) - - - Europe (Ireland) - - - South America (São Paulo) - - For a list of all the Amazon S3 supported Regions and endpoints, see - [Regions and - Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) - in the Amazon Web Services General Reference. - - For example, the following `x-amz-grant-read` header grants the Amazon - Web Services accounts identified by account IDs permissions to read - object data and its metadata: - - `x-amz-grant-read: id="11112222333", id="444455556666" ` - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_read: str | None = ... - """ - Specify access permissions explicitly to allow grantee to read the - object data and its metadata. - - By default, all objects are private. Only the owner has full access - control. When uploading an object, you can use this header to explicitly - grant access permissions to specific Amazon Web Services accounts or - groups. This header maps to specific permissions that Amazon S3 supports - in an ACL. For more information, see [Access Control List (ACL) - Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) - in the *Amazon S3 User Guide*. - - You specify each grantee as a type=value pair, where the type is one of - the following: - - - `id` -- if the value specified is the canonical user ID of an Amazon - Web Services account - - - `uri` -- if you are granting permissions to a predefined group - - - `emailAddress` -- if the value specified is the email address of an - Amazon Web Services account - - Note: - Using email addresses to specify a grantee is only supported in the - following Amazon Web Services Regions: - - - US East (N. Virginia) - - - US West (N. California) - - - US West (Oregon) - - - Asia Pacific (Singapore) - - - Asia Pacific (Sydney) - - - Asia Pacific (Tokyo) - - - Europe (Ireland) - - - South America (São Paulo) - - For a list of all the Amazon S3 supported Regions and endpoints, see - [Regions and - Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) - in the Amazon Web Services General Reference. - - For example, the following `x-amz-grant-read` header grants the Amazon - Web Services accounts identified by account IDs permissions to read - object data and its metadata: - - `x-amz-grant-read: id="11112222333", id="444455556666" ` - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_read_acp: str | None = ... - """ - Specify access permissions explicitly to allows grantee to read the - object ACL. - - By default, all objects are private. Only the owner has full access - control. When uploading an object, you can use this header to explicitly - grant access permissions to specific Amazon Web Services accounts or - groups. This header maps to specific permissions that Amazon S3 supports - in an ACL. For more information, see [Access Control List (ACL) - Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) - in the *Amazon S3 User Guide*. - - You specify each grantee as a type=value pair, where the type is one of - the following: - - - `id` -- if the value specified is the canonical user ID of an Amazon - Web Services account - - - `uri` -- if you are granting permissions to a predefined group - - - `emailAddress` -- if the value specified is the email address of an - Amazon Web Services account - - Note: - Using email addresses to specify a grantee is only supported in the - following Amazon Web Services Regions: - - - US East (N. Virginia) - - - US West (N. California) - - - US West (Oregon) - - - Asia Pacific (Singapore) - - - Asia Pacific (Sydney) - - - Asia Pacific (Tokyo) - - - Europe (Ireland) - - - South America (São Paulo) - - For a list of all the Amazon S3 supported Regions and endpoints, see - [Regions and - Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) - in the Amazon Web Services General Reference. - - For example, the following `x-amz-grant-read` header grants the Amazon - Web Services accounts identified by account IDs permissions to read - object data and its metadata: - - `x-amz-grant-read: id="11112222333", id="444455556666" ` - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_write_acp: str | None = ... - """ - Specify access permissions explicitly to allows grantee to allow grantee - to write the ACL for the applicable object. - - By default, all objects are private. Only the owner has full access - control. When uploading an object, you can use this header to explicitly - grant access permissions to specific Amazon Web Services accounts or - groups. This header maps to specific permissions that Amazon S3 supports - in an ACL. For more information, see [Access Control List (ACL) - Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) - in the *Amazon S3 User Guide*. - - You specify each grantee as a type=value pair, where the type is one of - the following: - - - `id` -- if the value specified is the canonical user ID of an Amazon - Web Services account - - - `uri` -- if you are granting permissions to a predefined group - - - `emailAddress` -- if the value specified is the email address of an - Amazon Web Services account - - Note: - Using email addresses to specify a grantee is only supported in the - following Amazon Web Services Regions: - - - US East (N. Virginia) - - - US West (N. California) - - - US West (Oregon) - - - Asia Pacific (Singapore) - - - Asia Pacific (Sydney) - - - Asia Pacific (Tokyo) - - - Europe (Ireland) - - - South America (São Paulo) - - For a list of all the Amazon S3 supported Regions and endpoints, see - [Regions and - Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) - in the Amazon Web Services General Reference. - - For example, the following `x-amz-grant-read` header grants the Amazon - Web Services accounts identified by account IDs permissions to read - object data and its metadata: - - `x-amz-grant-read: id="11112222333", id="444455556666" ` - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - key: str | None = ... - """Object key for which the multipart upload is to be initiated.""" - metadata: dict[str, str] | None = ... - """A map of metadata to store with the object in S3.""" - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when you store this object in - Amazon S3 or Amazon FSx. - - - **Directory buckets** - For directory buckets, there are only two - supported options for server-side encryption: server-side encryption - with Amazon S3 managed keys (SSE-S3) (`AES256`) and server-side - encryption with KMS keys (SSE-KMS) (`aws:kms`). We recommend that the - bucket's default encryption uses the desired encryption configuration - and you don't override the bucket default encryption in your - `CreateSession` requests or `PUT` object requests. Then, new objects - are automatically encrypted with the desired encryption settings. For - more information, see [Protecting data with server-side - encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html) - in the *Amazon S3 User Guide*. For more information about the - encryption overriding behaviors in directory buckets, see [Specifying - server-side encryption with KMS for new object - uploads](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html). - - In the Zonal endpoint API calls (except - [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) - and - [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)) - using the REST API, the encryption request headers must match the - encryption settings that are specified in the `CreateSession` request. - You can't override the values of the encryption settings - (`x-amz-server-side-encryption`, - `x-amz-server-side-encryption-aws-kms-key-id`, - `x-amz-server-side-encryption-context`, and - `x-amz-server-side-encryption-bucket-key-enabled`) that are specified - in the `CreateSession` request. You don't need to explicitly specify - these encryption settings values in Zonal endpoint API calls, and - Amazon S3 will use the encryption settings values from the - `CreateSession` request to protect new objects in the directory - bucket. - - Note: - When you use the CLI or the Amazon Web Services SDKs, for - `CreateSession`, the session token refreshes automatically to avoid - service interruptions when a session expires. The CLI or the Amazon - Web Services SDKs use the bucket's default encryption configuration - for the `CreateSession` request. It's not supported to override the - encryption settings values in the `CreateSession` request. So in the - Zonal endpoint API calls (except - [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) - and - [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)), - the encryption request headers must match the default encryption - configuration of the directory bucket. - - - **S3 access points for Amazon FSx** - When accessing data stored in - Amazon FSx file systems using S3 access points, the only valid server - side encryption option is `aws:fsx`. All Amazon FSx file systems have - encryption configured by default and are encrypted at rest. Data is - automatically encrypted before being written to the file system, and - automatically decrypted as it is read. These processes are handled - transparently by Amazon FSx. - """ - storage_class: str | None = ... - """ - By default, Amazon S3 uses the STANDARD Storage Class to store newly - created objects. The STANDARD storage class provides high durability and - high availability. Depending on performance needs, you can specify a - different Storage Class. For more information, see [Storage - Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) - in the *Amazon S3 User Guide*. - - Note: - - Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One - Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3 One - Zone-Infrequent Access storage class) in Dedicated Local Zones. - - - Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. - """ - website_redirect_location: str | None = ... - """ - If the bucket is configured as a website, redirects requests for this - object to another object in the same bucket or to an external URL. - Amazon S3 stores the value of this header in the object metadata. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when encrypting the object (for example, - AES256). - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key for Amazon S3 to use in - encrypting data. This value is used to store the object and then it is - discarded; Amazon S3 does not store the encryption key. The key must be - appropriate for use with the algorithm specified in the - `x-amz-server-side-encryption-customer-algorithm` header. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the customer-provided encryption key - according to RFC 1321. Amazon S3 uses this header for a message - integrity check to ensure that the encryption key was transmitted - without error. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for - object encryption. If the KMS key doesn't exist in the same account - that's issuing the command, you must use the full Key ARN not the Key - ID. - - **General purpose buckets** - If you specify - `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this - header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key - to use. If you specify `x-amz-server-side-encryption:aws:kms` or - `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide - `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the Amazon - Web Services managed key (`aws/s3`) to protect the data. - - **Directory buckets** - To encrypt data using SSE-KMS, it's recommended - to specify the `x-amz-server-side-encryption` header to `aws:kms`. Then, - the `x-amz-server-side-encryption-aws-kms-key-id` header implicitly uses - the bucket's default KMS customer managed key ID. If you want to - explicitly set the ` x-amz-server-side-encryption-aws-kms-key-id` - header, it must match the bucket's default customer managed key (using - key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 - [customer managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) - per directory bucket's lifetime. The [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) - (`aws/s3`) isn't supported. Incorrect key specification results in an - HTTP `400 Bad Request` error. - """ - ssekms_encryption_context: str | None = ... - """ - Specifies the Amazon Web Services KMS Encryption Context to use for - object encryption. The value of this header is a Base64 encoded string - of a UTF-8 encoded JSON, which contains the encryption context as - key-value pairs. - - **Directory buckets** - You can optionally provide an explicit - encryption context value. The value must match the default encryption - context - the bucket Amazon Resource Name (ARN). An additional - encryption context value is not supported. - """ - bucket_key_enabled: bool | None = ... - """ - Specifies whether Amazon S3 should use an S3 Bucket Key for object - encryption with server-side encryption using Key Management Service - (KMS) keys (SSE-KMS). - - **General purpose buckets** - Setting this header to `true` causes - Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS. - Also, specifying this header with a PUT action doesn't affect - bucket-level settings for S3 Bucket Key. - - **Directory buckets** - S3 Bucket Keys are always enabled for `GET` and - `PUT` operations in a directory bucket and can't be disabled. S3 Bucket - Keys aren't supported, when you copy SSE-KMS encrypted objects from - general purpose buckets to directory buckets, from directory buckets to - general purpose buckets, or between directory buckets, through - [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), - [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html), - [the Copy operation in Batch - Operations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops), - or [the import - jobs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job). - In this case, Amazon S3 makes a call to KMS every time a copy request is - made for a KMS-encrypted object. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - tagging: str | None = ... - """ - The tag-set for the object. The tag-set must be encoded as URL Query - parameters. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_mode: str | None = ... - """ - Specifies the Object Lock mode that you want to apply to the uploaded - object. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_retain_until_date: datetime | None = ... - """ - Specifies the date and time when you want the Object Lock to expire. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_legal_hold_status: str | None = ... - """ - Specifies whether you want to apply a legal hold to the uploaded object. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold: str | None = ... - """ - Specifies the event hold status to apply to the uploaded object. Set to - `ON` to enable or `OFF` to disable. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_days: int | None = ... - """ - Specifies the event hold duration in days to apply to the uploaded - object. You cannot specify a duration in both days and years. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_years: int | None = ... - """ - Specifies the event hold duration in years to apply to the uploaded - object. You cannot specify a duration in both days and years. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm that you want Amazon S3 to use to create the - checksum for the object. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_type: str | None = ... - """ - Indicates the checksum type that you want Amazon S3 to use to calculate - the object's checksum value. For more information, see [Checking object - integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - -@dataclass(kw_only=True) -class CreateMultipartUploadOutput(_SerdeShape): - """Dataclass for CreateMultipartUploadOutput structure.""" - - abort_date: datetime | None = ... - """ - If the bucket has a lifecycle rule configured with an action to abort - incomplete multipart uploads and the prefix in the lifecycle rule - matches the object name in the request, the response includes this - header. The header indicates when the initiated multipart upload becomes - eligible for an abort operation. For more information, see [Aborting - Incomplete Multipart Uploads Using a Bucket Lifecycle - Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) - in the *Amazon S3 User Guide*. - - The response also includes the `x-amz-abort-rule-id` header that - provides the ID of the lifecycle configuration rule that defines the - abort action. - - Note: - This functionality is not supported for directory buckets. - """ - abort_rule_id: str | None = ... - """ - This header is returned along with the `x-amz-abort-date` header. It - identifies the applicable lifecycle configuration rule that defines the - action to abort incomplete multipart uploads. - - Note: - This functionality is not supported for directory buckets. - """ - bucket: str | None = ... - """ - The name of the bucket to which the multipart upload was initiated. Does - not return the access point ARN or access point alias if used. - - Note: - Access points are not supported by directory buckets. - """ - key: str | None = ... - """Object key for which the multipart upload was initiated.""" - upload_id: str | None = ... - """ID for the initiated multipart upload.""" - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when you store this object in - Amazon S3 or Amazon FSx. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - sse_customer_algorithm: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to confirm the - encryption algorithm that's used. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to provide the - round-trip message integrity verification of the customer-provided - encryption key. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - If present, indicates the ID of the KMS key that was used for object - encryption. - """ - ssekms_encryption_context: str | None = ... - """ - If present, indicates the Amazon Web Services KMS Encryption Context to - use for object encryption. The value of this header is a Base64 encoded - string of a UTF-8 encoded JSON, which contains the encryption context as - key-value pairs. - """ - bucket_key_enabled: bool | None = ... - """ - Indicates whether the multipart upload uses an S3 Bucket Key for - server-side encryption with Key Management Service (KMS) keys (SSE-KMS). - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - checksum_algorithm: str | None = ... - """The algorithm that was used to create a checksum of the object.""" - checksum_type: str | None = ... - """ - Indicates the checksum type that you want Amazon S3 to use to calculate - the object's checksum value. For more information, see [Checking object - integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CreateSessionInput(_SerdeShape): - """Dataclass for CreateSessionInput structure.""" - - session_mode: str | None = ... - """ - Specifies the mode of the session that will be created, either - `ReadWrite` or `ReadOnly`. If no session mode is specified, the default - behavior attempts to create a session with the maximum allowable - privilege. It will first attempt to create a `ReadWrite` session, and if - that is not allowed by permissions, it will attempt to create a - `ReadOnly` session. If neither session type is allowed, the request will - return an Access Denied error. A `ReadWrite` session is capable of - executing all the Zonal endpoint API operations on a directory bucket. A - `ReadOnly` session is constrained to execute the following Zonal - endpoint API operations: `GetObject`, `HeadObject`, `ListObjectsV2`, - `GetObjectAttributes`, `ListParts`, and `ListMultipartUploads`. - """ - bucket: str | None = ... - """The name of the bucket that you create a session for.""" - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm to use when you store objects in - the directory bucket. - - For directory buckets, there are only two supported options for - server-side encryption: server-side encryption with Amazon S3 managed - keys (SSE-S3) (`AES256`) and server-side encryption with KMS keys - (SSE-KMS) (`aws:kms`). By default, Amazon S3 encrypts data with SSE-S3. - For more information, see [Protecting data with server-side - encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/serv-side-encryption.html) - in the *Amazon S3 User Guide*. - - **S3 access points for Amazon FSx** - When accessing data stored in - Amazon FSx file systems using S3 access points, the only valid server - side encryption option is `aws:fsx`. All Amazon FSx file systems have - encryption configured by default and are encrypted at rest. Data is - automatically encrypted before being written to the file system, and - automatically decrypted as it is read. These processes are handled - transparently by Amazon FSx. - """ - ssekms_key_id: str | None = ... - """ - If you specify `x-amz-server-side-encryption` with `aws:kms`, you must - specify the ` x-amz-server-side-encryption-aws-kms-key-id` header with - the ID (Key ID or Key ARN) of the KMS symmetric encryption customer - managed key to use. Otherwise, you get an HTTP `400 Bad Request` error. - Only use the key ID or key ARN. The key alias format of the KMS key - isn't supported. Also, if the KMS key doesn't exist in the same - account that't issuing the command, you must use the full Key ARN not - the Key ID. - - Your SSE-KMS configuration can only support 1 [customer managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) - per directory bucket's lifetime. The [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) - (`aws/s3`) isn't supported. - """ - ssekms_encryption_context: str | None = ... - """ - Specifies the Amazon Web Services KMS Encryption Context as an - additional encryption context to use for object encryption. The value of - this header is a Base64 encoded string of a UTF-8 encoded JSON, which - contains the encryption context as key-value pairs. This value is stored - as object metadata and automatically gets passed on to Amazon Web - Services KMS for future `GetObject` operations on this object. - - **General purpose buckets** - This value must be explicitly added during - `CopyObject` operations if you want an additional encryption context for - your object. For more information, see [Encryption - context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) - in the *Amazon S3 User Guide*. - - **Directory buckets** - You can optionally provide an explicit - encryption context value. The value must match the default encryption - context - the bucket Amazon Resource Name (ARN). An additional - encryption context value is not supported. - """ - bucket_key_enabled: bool | None = ... - """ - Specifies whether Amazon S3 should use an S3 Bucket Key for object - encryption with server-side encryption using KMS keys (SSE-KMS). - - S3 Bucket Keys are always enabled for `GET` and `PUT` operations in a - directory bucket and can't be disabled. S3 Bucket Keys aren't - supported, when you copy SSE-KMS encrypted objects from general purpose - buckets to directory buckets, from directory buckets to general purpose - buckets, or between directory buckets, through - [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), - [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html), - [the Copy operation in Batch - Operations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops), - or [the import - jobs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job). - In this case, Amazon S3 makes a call to KMS every time a copy request is - made for a KMS-encrypted object. - """ - -@dataclass(kw_only=True) -class CreateSessionOutput(_SerdeShape): - """Dataclass for CreateSessionOutput structure.""" - - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when you store objects in the - directory bucket. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - ssekms_key_id: str | None = ... - """ - If you specify `x-amz-server-side-encryption` with `aws:kms`, this - header indicates the ID of the KMS symmetric encryption customer managed - key that was used for object encryption. - """ - ssekms_encryption_context: str | None = ... - """ - If present, indicates the Amazon Web Services KMS Encryption Context to - use for object encryption. The value of this header is a Base64 encoded - string of a UTF-8 encoded JSON, which contains the encryption context as - key-value pairs. This value is stored as object metadata and - automatically gets passed on to Amazon Web Services KMS for future - `GetObject` operations on this object. - """ - bucket_key_enabled: bool | None = ... - """ - Indicates whether to use an S3 Bucket Key for server-side encryption - with KMS keys (SSE-KMS). - """ - credentials: SessionCredentials - """The established temporary security credentials for the created session.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class CSVInput(_SerdeShape): - """ - Describes how an uncompressed comma-separated values (CSV)-formatted - input object is formatted. - """ - - file_header_info: str | None = ... - """ - Describes the first line of input. Valid values are: - - - `NONE`: First line is not a header. - - - `IGNORE`: First line is a header, but you can't use the header values - to indicate the column in an expression. You can use column position - (such as _1, _2, ...) to indicate the column - (`SELECT s._1 FROM OBJECT s`). - - - `Use`: First line is a header, and you can use the header value to - identify a column in an expression (`SELECT "name" FROM OBJECT`). - """ - comments: str | None = ... - """ - A single character used to indicate that a row should be ignored when - the character is present at the start of that row. You can specify any - character to indicate a comment line. The default character is `#`. - - Default: `#` - """ - quote_escape_character: str | None = ... - """ - A single character used for escaping the quotation mark character inside - an already escaped value. For example, the value `\"\"\" a , b \"\"\"` is - parsed as `" a , b "`. - """ - record_delimiter: str | None = ... - """ - A single character used to separate individual records in the input. - Instead of the default value, you can specify an arbitrary delimiter. - """ - field_delimiter: str | None = ... - """ - A single character used to separate individual fields in a record. You - can specify an arbitrary delimiter. - """ - quote_character: str | None = ... - """ - A single character used for escaping when the field delimiter is part of - the value. For example, if the value is `a, b`, Amazon S3 wraps this - field value in quotation marks, as follows: `" a , b "`. - - Type: String - - Default: `"` - - Ancestors: `CSV` - """ - allow_quoted_record_delimiter: bool | None = ... - """ - Specifies that CSV field values may contain quoted record delimiters and - such records should be allowed. Default value is FALSE. Setting this - value to TRUE may lower performance. - """ - -@dataclass(kw_only=True) -class CSVOutput(_SerdeShape): - """ - Describes how uncompressed comma-separated values (CSV)-formatted - results are formatted. - """ - - quote_fields: str | None = ... - """ - Indicates whether to use quotation marks around output fields. - - - `ALWAYS`: Always use quotation marks for output fields. - - - `ASNEEDED`: Use quotation marks for output fields when needed. - """ - quote_escape_character: str | None = ... - """ - The single character used for escaping the quote character inside an - already escaped value. - """ - record_delimiter: str | None = ... - """ - A single character used to separate individual records in the output. - Instead of the default value, you can specify an arbitrary delimiter. - """ - field_delimiter: str | None = ... - """ - The value used to separate individual fields in a record. You can - specify an arbitrary delimiter. - """ - quote_character: str | None = ... - """ - A single character used for escaping when the field delimiter is part of - the value. For example, if the value is `a, b`, Amazon S3 wraps this - field value in quotation marks, as follows: `" a , b "`. - """ - -class DataRedundancy(UnknownEnumMixin, StrEnum): - SINGLE_AVAILABILITY_ZONE = "SingleAvailabilityZone" - SINGLE_LOCAL_ZONE = "SingleLocalZone" - -@dataclass(kw_only=True) -class DefaultRetention(_SerdeShape): - """ - The container element for optionally specifying the default Object Lock - retention settings for new objects placed in the specified bucket. - - Note: - - The `DefaultRetention` settings require both a mode and a period. - - - The `DefaultRetention` period can be either `Days` or `Years` but you - must select one. You cannot specify `Days` and `Years` at the same - time. - """ - - mode: str | None = ... - """ - The default Object Lock retention mode you want to apply to new objects - placed in the specified bucket. Must be used with either `Days` or - `Years`. - """ - days: int | None = ... - """ - The number of days that you want to specify for the default retention - period. Must be used with `Mode`. - """ - years: int | None = ... - """ - The number of years that you want to specify for the default retention - period. Must be used with `Mode`. - """ - default_event_hold: EventHoldDuration | None = ... - """ - The default event hold duration to be applied to new objects placed in - the specified bucket. When configured, new objects will automatically - have an event hold enabled with this duration. - """ - -@dataclass(kw_only=True) -class Delete(_SerdeShape): - """Container for the objects to delete.""" - - objects: list[ObjectIdentifier] - """ - The object to delete. - - Note: - **Directory buckets** - For directory buckets, an object that's - composed entirely of whitespace characters is not supported by the - `DeleteObjects` API operation. The request will receive a - `400 Bad Request` error and none of the objects in the request will be - deleted. - """ - quiet: bool | None = ... - """ - Element to enable quiet mode for the request. When you add this element, - you must set its value to `true`. - """ - -@dataclass(kw_only=True) -class DeleteBucketAnalyticsConfigurationInput(_SerdeShape): - """Dataclass for DeleteBucketAnalyticsConfigurationInput structure.""" - - bucket: str | None = ... - """The name of the bucket from which an analytics configuration is deleted.""" - id: str | None = ... - """The ID that identifies the analytics configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class DeleteBucketAnalyticsConfigurationOutput(_SerdeShape): - """Dataclass for DeleteBucketAnalyticsConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketCorsInput(_SerdeShape): - """Dataclass for DeleteBucketCorsInput structure.""" - - bucket: str | None = ... - """Specifies the bucket whose `cors` configuration is being deleted.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class DeleteBucketCorsOutput(_SerdeShape): - """Dataclass for DeleteBucketCorsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketEncryptionInput(_SerdeShape): - """Dataclass for DeleteBucketEncryptionInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket containing the server-side encryption - configuration to delete. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class DeleteBucketEncryptionOutput(_SerdeShape): - """Dataclass for DeleteBucketEncryptionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketInput(_SerdeShape): - """Dataclass for DeleteBucketInput structure.""" - - bucket: str | None = ... - """ - Specifies the bucket being deleted. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class DeleteBucketIntelligentTieringConfigurationInput(_SerdeShape): - """ - Dataclass for DeleteBucketIntelligentTieringConfigurationInput - structure. - """ - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket whose configuration you want to modify - or retrieve. - """ - id: str | None = ... - """The ID used to identify the S3 Intelligent-Tiering configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class DeleteBucketIntelligentTieringConfigurationOutput(_SerdeShape): - """ - Dataclass for DeleteBucketIntelligentTieringConfigurationOutput - structure. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketInventoryConfigurationInput(_SerdeShape): - """Dataclass for DeleteBucketInventoryConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket containing the inventory configuration to delete. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - id: str | None = ... - """The ID used to identify the inventory configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class DeleteBucketInventoryConfigurationOutput(_SerdeShape): - """Dataclass for DeleteBucketInventoryConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketLifecycleInput(_SerdeShape): - """Dataclass for DeleteBucketLifecycleInput structure.""" - - bucket: str | None = ... - """The bucket name of the lifecycle to delete.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - -@dataclass(kw_only=True) -class DeleteBucketLifecycleOutput(_SerdeShape): - """Dataclass for DeleteBucketLifecycleOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketMetadataConfigurationInput(_SerdeShape): - """Dataclass for DeleteBucketMetadataConfigurationInput structure.""" - - bucket: str | None = ... - """ - The general purpose bucket that you want to remove the metadata - configuration from. - """ - expected_bucket_owner: str | None = ... - """ - The expected bucket owner of the general purpose bucket that you want to - remove the metadata table configuration from. - """ - -@dataclass(kw_only=True) -class DeleteBucketMetadataConfigurationOutput(_SerdeShape): - """Dataclass for DeleteBucketMetadataConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketMetadataTableConfigurationInput(_SerdeShape): - """Dataclass for DeleteBucketMetadataTableConfigurationInput structure.""" - - bucket: str | None = ... - """ - The general purpose bucket that you want to remove the metadata table - configuration from. - """ - expected_bucket_owner: str | None = ... - """ - The expected bucket owner of the general purpose bucket that you want to - remove the metadata table configuration from. - """ - -@dataclass(kw_only=True) -class DeleteBucketMetadataTableConfigurationOutput(_SerdeShape): - """Dataclass for DeleteBucketMetadataTableConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketMetricsConfigurationInput(_SerdeShape): - """Dataclass for DeleteBucketMetricsConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket containing the metrics configuration to delete. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - id: str | None = ... - """ - The ID used to identify the metrics configuration. The ID has a 64 - character limit and can only contain letters, numbers, periods, dashes, - and underscores. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class DeleteBucketMetricsConfigurationOutput(_SerdeShape): - """Dataclass for DeleteBucketMetricsConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketOutput(_SerdeShape): - """Dataclass for DeleteBucketOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketOwnershipControlsInput(_SerdeShape): - """Dataclass for DeleteBucketOwnershipControlsInput structure.""" - - bucket: str | None = ... - """The Amazon S3 bucket whose `OwnershipControls` you want to delete.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class DeleteBucketOwnershipControlsOutput(_SerdeShape): - """Dataclass for DeleteBucketOwnershipControlsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketPolicyInput(_SerdeShape): - """Dataclass for DeleteBucketPolicyInput structure.""" - - bucket: str | None = ... - """ - The bucket name. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class DeleteBucketPolicyOutput(_SerdeShape): - """Dataclass for DeleteBucketPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketReplicationInput(_SerdeShape): - """Dataclass for DeleteBucketReplicationInput structure.""" - - bucket: str | None = ... - """The bucket name.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class DeleteBucketReplicationOutput(_SerdeShape): - """Dataclass for DeleteBucketReplicationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketTaggingInput(_SerdeShape): - """Dataclass for DeleteBucketTaggingInput structure.""" - - bucket: str | None = ... - """The bucket that has the tag set to be removed.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class DeleteBucketTaggingOutput(_SerdeShape): - """Dataclass for DeleteBucketTaggingOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteBucketWebsiteInput(_SerdeShape): - """Dataclass for DeleteBucketWebsiteInput structure.""" - - bucket: str | None = ... - """The bucket name for which you want to remove the website configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class DeleteBucketWebsiteOutput(_SerdeShape): - """Dataclass for DeleteBucketWebsiteOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletedObject(_SerdeShape): - """Information about the deleted object.""" - - key: str | None = ... - """The name of the deleted object.""" - version_id: str | None = ... - """ - The version ID of the deleted object. - - Note: - This functionality is not supported for directory buckets. - """ - delete_marker: bool | None = ... - """ - Indicates whether the specified object version that was permanently - deleted was (true) or was not (false) a delete marker before deletion. - In a simple DELETE, this header indicates whether (true) or not (false) - the current version of the object is a delete marker. To learn more - about delete markers, see [Working with delete - markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). - - Note: - This functionality is not supported for directory buckets. - """ - delete_marker_version_id: str | None = ... - """ - The version ID of the delete marker created as a result of the DELETE - operation. If you delete a specific object version, the value returned - by this header is the version ID of the object version deleted. - - Note: - This functionality is not supported for directory buckets. - """ - -@dataclass(kw_only=True) -class DeleteMarkerEntry(_SerdeShape): - """Information about the delete marker.""" - - owner: Owner | None = ... - """The account that created the delete marker.""" - key: str | None = ... - """The object key.""" - version_id: str | None = ... - """Version ID of an object.""" - is_latest: bool | None = ... - """ - Specifies whether the object is (true) or is not (false) the latest - version of an object. - """ - last_modified: datetime | None = ... - """Date and time when the object was last modified.""" - -@dataclass(kw_only=True) -class DeleteMarkerReplication(_SerdeShape): - """ - Specifies whether Amazon S3 replicates delete markers. If you specify a - `Filter` in your replication configuration, you must also include a - `DeleteMarkerReplication` element. If your `Filter` includes a `Tag` - element, the `DeleteMarkerReplication` `Status` must be set to Disabled, - because Amazon S3 does not support replicating delete markers for - tag-based rules. For an example configuration, see [Basic Rule - Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config). - - For more information about delete marker replication, see [Basic Rule - Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html). - - Note: - If you are using an earlier version of the replication configuration, - Amazon S3 handles replication of delete markers differently. For more - information, see [Backward - Compatibility](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations). - """ - - status: str | None = ... - """ - Indicates whether to replicate delete markers. - - Note: - Indicates whether to replicate delete markers. - """ - -class DeleteMarkerReplicationStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -@dataclass(kw_only=True) -class DeleteObjectAnnotationInput(_SerdeShape): - """Dataclass for DeleteObjectAnnotationInput structure.""" - - bucket: str | None = ... - """The name of the bucket that contains the object.""" - key: str | None = ... - """The object key.""" - annotation_name: str | None = ... - """ - The name of the annotation to delete. Annotation names are UTF-8 encoded - and cannot start with `aws` or `s3` (case-insensitive). - - Length Constraints: Minimum length of 1. Maximum length of 512 bytes. - """ - version_id: str | None = ... - """The version ID of the object.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """The account ID of the expected bucket owner.""" - object_if_match: str | None = ... - """ - If specified, the operation only succeeds if the object's ETag matches - the provided value. - """ - -@dataclass(kw_only=True) -class DeleteObjectAnnotationOutput(_SerdeShape): - """Dataclass for DeleteObjectAnnotationOutput structure.""" - - object_version_id: str | None = ... - """The version ID of the object that the annotation was deleted from.""" - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteObjectInput(_SerdeShape): - """Dataclass for DeleteObjectInput structure.""" - - bucket: str | None = ... - """ - The bucket name of the bucket containing the object. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """Key name of the object to delete.""" - mfa: str | None = ... - """ - The concatenation of the authentication device's serial number, a - space, and the value that is displayed on your authentication device. - Required to permanently delete a versioned object if versioning is - configured with MFA delete enabled. - - Note: - This functionality is not supported for directory buckets. - """ - version_id: str | None = ... - """ - Version ID used to reference a specific version of the object. - - Note: - For directory buckets in this API operation, only the `null` value of - the version ID is supported. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - bypass_governance_retention: bool | None = ... - """ - Indicates whether S3 Object Lock should bypass Governance-mode - restrictions to process this operation. To use this header, you must - have the `s3:BypassGovernanceRetention` permission. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - if_match: str | None = ... - """ - Deletes the object if the ETag (entity tag) value provided during the - delete operation matches the ETag of the object in S3. If the ETag - values do not match, the operation returns a `412 Precondition Failed` - error. - - Expects the ETag value as a string. `If-Match` does accept a string - value of an '*' (asterisk) character to denote a match of any ETag. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - if_match_last_modified_time: datetime | None = ... - """ - If present, the object is deleted only if its modification times matches - the provided `Timestamp`. If the `Timestamp` values do not match, the - operation returns a `412 Precondition Failed` error. If the `Timestamp` - matches or if the object doesn't exist, the operation returns a - `204 Success (No Content)` response. - - Note: - This functionality is only supported for directory buckets. - """ - if_match_size: int | None = ... - """ - If present, the object is deleted only if its size matches the provided - size in bytes. If the `Size` value does not match, the operation returns - a `412 Precondition Failed` error. If the `Size` matches or if the - object doesn't exist, the operation returns a `204 Success (No Content)` - response. - - Note: - This functionality is only supported for directory buckets. - Warning: - You can use the `If-Match`, `x-amz-if-match-last-modified-time` and - `x-amz-if-match-size` conditional headers in conjunction with each-other - or individually. - """ - -@dataclass(kw_only=True) -class DeleteObjectOutput(_SerdeShape): - """Dataclass for DeleteObjectOutput structure.""" - - delete_marker: bool | None = ... - """ - Indicates whether the specified object version that was permanently - deleted was (true) or was not (false) a delete marker before deletion. - In a simple DELETE, this header indicates whether (true) or not (false) - the current version of the object is a delete marker. To learn more - about delete markers, see [Working with delete - markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). - - Note: - This functionality is not supported for directory buckets. - """ - version_id: str | None = ... - """ - Returns the version ID of the delete marker created as a result of the - DELETE operation. - - Note: - This functionality is not supported for directory buckets. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteObjectsInput(_SerdeShape): - """Dataclass for DeleteObjectsInput structure.""" - - bucket: str | None = ... - """ - The bucket name containing the objects to delete. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - delete: Delete | None = ... - """Container for the request.""" - mfa: str | None = ... - """ - The concatenation of the authentication device's serial number, a - space, and the value that is displayed on your authentication device. - Required to permanently delete a versioned object if versioning is - configured with MFA delete enabled. - - When performing the `DeleteObjects` operation on an MFA delete enabled - bucket, which attempts to delete the specified versioned objects, you - must include an MFA token. If you don't provide an MFA token, the - entire request will fail, even if there are non-versioned objects that - you are trying to delete. If you provide an invalid token, whether there - are versioned object keys in the request or not, the entire Multi-Object - Delete request will fail. For information about MFA Delete, see [MFA - Delete](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - bypass_governance_retention: bool | None = ... - """ - Specifies whether you want to delete this object even if it has a - Governance-type Object Lock in place. To use this header, you must have - the `s3:BypassGovernanceRetention` permission. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum-`*`algorithm`*` ` or - `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request with - the HTTP status code `400 Bad Request`. - - For the `x-amz-checksum-`*`algorithm`*` ` header, replace - ` `*`algorithm`*` ` with the supported algorithm from the following - list: - - - `CRC32` - - - `CRC32C` - - - `CRC64NVME` - - - `MD5` - - - `SHA1` - - - `SHA256` - - - `SHA512` - - - `XXHASH3` - - - `XXHASH64` - - - `XXHASH128` - - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If the individual checksum value you provide through - `x-amz-checksum-`*`algorithm`*` ` doesn't match the checksum algorithm - you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the - request with a `BadDigest` error. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - -@dataclass(kw_only=True) -class DeleteObjectsOutput(_SerdeShape): - """Dataclass for DeleteObjectsOutput structure.""" - - deleted: list[DeletedObject] | None = ... - """ - Container element for a successful delete. It identifies the object that - was successfully deleted. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - errors: list[Error] | None = ... - """ - Container for a failed delete action that describes the object that - Amazon S3 attempted to delete and the error it encountered. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeleteObjectTaggingInput(_SerdeShape): - """Dataclass for DeleteObjectTaggingInput structure.""" - - bucket: str | None = ... - """ - The bucket name containing the objects from which to remove the tags. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """ - The key that identifies the object in the bucket from which to remove - all tags. - """ - version_id: str | None = ... - """The versionId of the object that the tag-set will be removed from.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class DeleteObjectTaggingOutput(_SerdeShape): - """Dataclass for DeleteObjectTaggingOutput structure.""" - - version_id: str | None = ... - """The versionId of the object the tag-set was removed from.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class DeletePublicAccessBlockInput(_SerdeShape): - """Dataclass for DeletePublicAccessBlockInput structure.""" - - bucket: str | None = ... - """ - The Amazon S3 bucket whose `PublicAccessBlock` configuration you want to - delete. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class DeletePublicAccessBlockOutput(_SerdeShape): - """Dataclass for DeletePublicAccessBlockOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class Destination(_SerdeShape): - """ - Specifies information about where to publish analysis or configuration - results for an Amazon S3 bucket and S3 Replication Time Control (S3 - RTC). - """ - - bucket: str - """ - The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to - store the results. - """ - account: str | None = ... - """ - Destination bucket owner account ID. In a cross-account scenario, if you - direct Amazon S3 to change replica ownership to the Amazon Web Services - account that owns the destination bucket by specifying the - `AccessControlTranslation` property, this is the account ID of the - destination bucket owner. For more information, see [Replication - Additional Configuration: Changing the Replica - Owner](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html) - in the *Amazon S3 User Guide*. - """ - storage_class: str | None = ... - """ - The storage class to use when replicating objects, such as S3 Standard - or reduced redundancy. By default, Amazon S3 uses the storage class of - the source object to create the object replica. - - For valid values, see the `StorageClass` element of the [PUT Bucket - replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) - action in the *Amazon S3 API Reference*. - - `FSX_OPENZFS` is not an accepted value when replicating objects. - """ - access_control_translation: AccessControlTranslation | None = ... - """ - Specify this only in a cross-account scenario (where source and - destination bucket owners are not the same), and you want to change - replica ownership to the Amazon Web Services account that owns the - destination bucket. If this is not specified in the replication - configuration, the replicas are owned by same Amazon Web Services - account that owns the source object. - """ - encryption_configuration: EncryptionConfiguration | None = ... - """ - A container that provides information about encryption. If - `SourceSelectionCriteria` is specified, you must specify this element. - """ - replication_time: ReplicationTime | None = ... - """ - A container specifying S3 Replication Time Control (S3 RTC), including - whether S3 RTC is enabled and the time when all objects and operations - on objects must be replicated. Must be specified together with a - `Metrics` block. - """ - metrics: Metrics | None = ... - """ - A container specifying replication metrics-related settings enabling - replication metrics and events. - """ - -@dataclass(kw_only=True) -class DestinationResult(_SerdeShape): - """The destination information for the S3 Metadata configuration.""" - - table_bucket_type: str | None = ... - """ - The type of the table bucket where the metadata configuration is stored. - The `aws` value indicates an Amazon Web Services managed table bucket, - and the `customer` value indicates a customer-managed table bucket. V2 - metadata configurations are stored in Amazon Web Services managed table - buckets, and V1 metadata configurations are stored in customer-managed - table buckets. - """ - table_bucket_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the table bucket where the metadata - configuration is stored. - """ - table_namespace: str | None = ... - """ - The namespace in the table bucket where the metadata tables for a - metadata configuration are stored. - """ - -class EncodingType(UnknownEnumMixin, StrEnum): - """ - Encoding type used by Amazon S3 to encode the [object - keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) - in the response. Responses are encoded only in UTF-8. An object key can - contain any Unicode character. However, the XML 1.0 parser can't parse - certain characters, such as characters with an ASCII value from 0 to 10. - For characters that aren't supported in XML 1.0, you can add this - parameter to request that Amazon S3 encode the keys in the response. For - more information about characters to avoid in object key names, see - [Object key naming - guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). - - Note: - When using the URL encoding type, non-ASCII characters that are used in - an object's key name will be percent-encoded according to UTF-8 code - values. For example, the object `test_file(3).png` will appear as - `test_file%283%29.png`. - """ - - URL = "url" - -@dataclass(kw_only=True) -class Encryption(_SerdeShape): - """Contains the type of server-side encryption used.""" - - encryption_type: str - """ - The server-side encryption algorithm used when storing job results in - Amazon S3 (for example, AES256, `aws:kms`). - """ - kms_key_id: str | None = ... - """ - If the encryption type is `aws:kms`, this optional value specifies the - ID of the symmetric encryption customer managed key to use for - encryption of job results. Amazon S3 only supports symmetric encryption - KMS keys. For more information, see [Asymmetric keys in - KMS](https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) - in the *Amazon Web Services Key Management Service Developer Guide*. - """ - kms_context: str | None = ... - """ - If the encryption type is `aws:kms`, this optional value can be used to - specify the encryption context for the restore results. - """ - -@dataclass(kw_only=True) -class EncryptionConfiguration(_SerdeShape): - """ - Specifies encryption-related information for an Amazon S3 bucket that is - a destination for replicated objects. - - Note: - If you're specifying a customer managed KMS key, we recommend using a - fully qualified KMS key ARN. If you use a KMS key alias instead, then - KMS resolves the key within the requester's account. This behavior can - result in data that's encrypted with a KMS key that belongs to the - requester, and not the bucket owner. - """ - - replica_kms_key_id: str | None = ... - """ - Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon - Web Services KMS key stored in Amazon Web Services Key Management - Service (KMS) for the destination bucket. Amazon S3 uses this key to - encrypt replica objects. Amazon S3 only supports symmetric encryption - KMS keys. For more information, see [Asymmetric keys in Amazon Web - Services - KMS](https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) - in the *Amazon Web Services Key Management Service Developer Guide*. - """ - -class EncryptionType(UnknownEnumMixin, StrEnum): - NONE = "NONE" - SSE_C = "SSE-C" - -@dataclass(kw_only=True) -class EncryptionTypeMismatch(ServiceError, _SerdeShape): - """ - The existing object was created with a different encryption type. - Subsequent write requests must include the appropriate encryption - parameters in the request or while creating the session. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class EndEvent(_SerdeShape): - """ - A message that indicates the request is complete and no more messages - will be sent. You should not assume that the request is complete until - the client receives an `EndEvent`. - """ - -@dataclass(kw_only=True) -class Error(_SerdeShape): - """ - Note: - For information about using the Amazon S3 API---including error - handling---see the [Amazon S3 Developer - Guide](https://docs.aws.amazon.com/AmazonS3/latest/developerguide/Welcome.html). - - Container for all error elements. - """ - - key: str | None = ... - """The error key.""" - version_id: str | None = ... - """ - The version ID of the error. - - Note: - This functionality is not supported for directory buckets. - """ - code: str | None = ... - """ - The error code is a string that uniquely identifies an error condition. - It is meant to be read and understood by programs that detect and handle - errors by type. The following is a list of Amazon S3 error codes. For - more information, see [Error - responses](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html). - - - - *Code:* AccessDenied - - - *Description:* Access Denied - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* AccountProblem - - - *Description:* There is a problem with your Amazon Web Services - account that prevents the action from completing successfully. - Contact Amazon Web Services Support for further assistance. - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* AllAccessDisabled - - - *Description:* All access to this Amazon S3 resource has been - disabled. Contact Amazon Web Services Support for further - assistance. - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* AmbiguousGrantByEmailAddress - - - *Description:* The email address you provided is associated with - more than one account. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* AuthorizationHeaderMalformed - - - *Description:* The authorization header you provided is invalid. - - - *HTTP Status Code:* 400 Bad Request - - - *HTTP Status Code:* N/A - - - - *Code:* BadDigest - - - *Description:* The Content-MD5 you specified did not match what we - received. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* BucketAlreadyExists - - - *Description:* The requested bucket name is not available. The - bucket namespace is shared by all users of the system. Please select - a different name and try again. - - - *HTTP Status Code:* 409 Conflict - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* BucketAlreadyOwnedByYou - - - *Description:* The bucket you tried to create already exists, and - you own it. Amazon S3 returns this error in all Amazon Web Services - Regions except in the North Virginia Region. For legacy - compatibility, if you re-create an existing bucket that you already - own in the North Virginia Region, Amazon S3 returns 200 OK and - resets the bucket access control lists (ACLs). - - - *Code:* 409 Conflict (in all Regions except the North Virginia - Region) - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* BucketNotEmpty - - - *Description:* The bucket you tried to delete is not empty. - - - *HTTP Status Code:* 409 Conflict - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* CredentialsNotSupported - - - *Description:* This request does not support credentials. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* CrossLocationLoggingProhibited - - - *Description:* Cross-location logging not allowed. Buckets in one - geographic location cannot log information to a bucket in another - location. - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* EntityTooSmall - - - *Description:* Your proposed upload is smaller than the minimum - allowed object size. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* EntityTooLarge - - - *Description:* Your proposed upload exceeds the maximum allowed - object size. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* ExpiredToken - - - *Description:* The provided token has expired. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* IllegalVersioningConfigurationException - - - *Description:* Indicates that the versioning configuration specified - in the request is invalid. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* IncompleteBody - - - *Description:* You did not provide the number of bytes specified by - the Content-Length HTTP header - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* IncorrectNumberOfFilesInPostRequest - - - *Description:* POST requires exactly one file upload per request. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InlineDataTooLarge - - - *Description:* Inline data exceeds the maximum allowed size. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InternalError - - - *Description:* We encountered an internal error. Please try again. - - - *HTTP Status Code:* 500 Internal Server Error - - - *SOAP Fault Code Prefix:* Server - - - - *Code:* InvalidAccessKeyId - - - *Description:* The Amazon Web Services access key ID you provided - does not exist in our records. - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidAddressingHeader - - - *Description:* You must specify the Anonymous role. - - - *HTTP Status Code:* N/A - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidArgument - - - *Description:* Invalid Argument - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidBucketName - - - *Description:* The specified bucket is not valid. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidBucketState - - - *Description:* The request is not valid with the current state of - the bucket. - - - *HTTP Status Code:* 409 Conflict - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidDigest - - - *Description:* The Content-MD5 you specified is not valid. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidEncryptionAlgorithmError - - - *Description:* The encryption request you specified is not valid. - The valid value is AES256. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidLocationConstraint - - - *Description:* The specified location constraint is not valid. For - more information about Regions, see [How to Select a Region for Your - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro). - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidObjectState - - - *Description:* The action is not valid for the current state of the - object. - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidPart - - - *Description:* One or more of the specified parts could not be - found. The part might not have been uploaded, or the specified - entity tag might not have matched the part's entity tag. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidPartOrder - - - *Description:* The list of parts was not in ascending order. Parts - list must be specified in order by part number. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidPayer - - - *Description:* All access to this object has been disabled. Please - contact Amazon Web Services Support for further assistance. - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidPolicyDocument - - - *Description:* The content of the form does not meet the conditions - specified in the policy document. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidRange - - - *Description:* The requested range cannot be satisfied. - - - *HTTP Status Code:* 416 Requested Range Not Satisfiable - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidRequest - - - *Description:* Please use `AWS4-HMAC-SHA256`. - - - *HTTP Status Code:* 400 Bad Request - - - *Code:* N/A - - - - *Code:* InvalidRequest - - - *Description:* SOAP requests must be made over an HTTPS connection. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidRequest - - - *Description:* Amazon S3 Transfer Acceleration is not supported for - buckets with non-DNS compliant names. - - - *HTTP Status Code:* 400 Bad Request - - - *Code:* N/A - - - - *Code:* InvalidRequest - - - *Description:* Amazon S3 Transfer Acceleration is not supported for - buckets with periods (.) in their names. - - - *HTTP Status Code:* 400 Bad Request - - - *Code:* N/A - - - - *Code:* InvalidRequest - - - *Description:* Amazon S3 Transfer Accelerate endpoint only supports - virtual style requests. - - - *HTTP Status Code:* 400 Bad Request - - - *Code:* N/A - - - - *Code:* InvalidRequest - - - *Description:* Amazon S3 Transfer Accelerate is not configured on - this bucket. - - - *HTTP Status Code:* 400 Bad Request - - - *Code:* N/A - - - - *Code:* InvalidRequest - - - *Description:* Amazon S3 Transfer Accelerate is disabled on this - bucket. - - - *HTTP Status Code:* 400 Bad Request - - - *Code:* N/A - - - - *Code:* InvalidRequest - - - *Description:* Amazon S3 Transfer Acceleration is not supported on - this bucket. Contact Amazon Web Services Support for more - information. - - - *HTTP Status Code:* 400 Bad Request - - - *Code:* N/A - - - - *Code:* InvalidRequest - - - *Description:* Amazon S3 Transfer Acceleration cannot be enabled on - this bucket. Contact Amazon Web Services Support for more - information. - - - *HTTP Status Code:* 400 Bad Request - - - *Code:* N/A - - - - *Code:* InvalidSecurity - - - *Description:* The provided security credentials are not valid. - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidSOAPRequest - - - *Description:* The SOAP request body is invalid. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidStorageClass - - - *Description:* The storage class you specified is not valid. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidTargetBucketForLogging - - - *Description:* The target bucket for logging does not exist, is not - owned by you, or does not have the appropriate grants for the - log-delivery group. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidToken - - - *Description:* The provided token is malformed or otherwise invalid. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* InvalidURI - - - *Description:* Couldn't parse the specified URI. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* KeyTooLongError - - - *Description:* Your key is too long. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MalformedACLError - - - *Description:* The XML you provided was not well-formed or did not - validate against our published schema. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MalformedPOSTRequest - - - *Description:* The body of your POST request is not well-formed - multipart/form-data. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MalformedXML - - - *Description:* This happens when the user sends malformed XML (XML - that doesn't conform to the published XSD) for the configuration. - The error message is, \"The XML you provided was not well-formed or - did not validate against our published schema.\" - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MaxMessageLengthExceeded - - - *Description:* Your request was too big. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MaxPostPreDataLengthExceededError - - - *Description:* Your POST request fields preceding the upload file - were too large. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MetadataTooLarge - - - *Description:* Your metadata headers exceed the maximum allowed - metadata size. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MethodNotAllowed - - - *Description:* The specified method is not allowed against this - resource. - - - *HTTP Status Code:* 405 Method Not Allowed - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MissingAttachment - - - *Description:* A SOAP attachment was expected, but none were found. - - - *HTTP Status Code:* N/A - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MissingContentLength - - - *Description:* You must provide the Content-Length HTTP header. - - - *HTTP Status Code:* 411 Length Required - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MissingRequestBodyError - - - *Description:* This happens when the user sends an empty XML - document as a request. The error message is, \"Request body is - empty.\" - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MissingSecurityElement - - - *Description:* The SOAP 1.1 request is missing a security element. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* MissingSecurityHeader - - - *Description:* Your request is missing a required header. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* NoLoggingStatusForKey - - - *Description:* There is no such thing as a logging status - subresource for a key. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* NoSuchBucket - - - *Description:* The specified bucket does not exist. - - - *HTTP Status Code:* 404 Not Found - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* NoSuchBucketPolicy - - - *Description:* The specified bucket does not have a bucket policy. - - - *HTTP Status Code:* 404 Not Found - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* NoSuchKey - - - *Description:* The specified key does not exist. - - - *HTTP Status Code:* 404 Not Found - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* NoSuchLifecycleConfiguration - - - *Description:* The lifecycle configuration does not exist. - - - *HTTP Status Code:* 404 Not Found - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* NoSuchUpload - - - *Description:* The specified multipart upload does not exist. The - upload ID might be invalid, or the multipart upload might have been - aborted or completed. - - - *HTTP Status Code:* 404 Not Found - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* NoSuchVersion - - - *Description:* Indicates that the version ID specified in the - request does not match an existing version. - - - *HTTP Status Code:* 404 Not Found - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* NotImplemented - - - *Description:* A header you provided implies functionality that is - not implemented. - - - *HTTP Status Code:* 501 Not Implemented - - - *SOAP Fault Code Prefix:* Server - - - - *Code:* NotSignedUp - - - *Description:* Your account is not signed up for the Amazon S3 - service. You must sign up before you can use Amazon S3. You can sign - up at the following URL: [Amazon S3](http://aws.amazon.com/s3) - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* OperationAborted - - - *Description:* A conflicting conditional action is currently in - progress against this resource. Try again. - - - *HTTP Status Code:* 409 Conflict - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* PermanentRedirect - - - *Description:* The bucket you are attempting to access must be - addressed using the specified endpoint. Send all future requests to - this endpoint. - - - *HTTP Status Code:* 301 Moved Permanently - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* PreconditionFailed - - - *Description:* At least one of the preconditions you specified did - not hold. - - - *HTTP Status Code:* 412 Precondition Failed - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* Redirect - - - *Description:* Temporary redirect. - - - *HTTP Status Code:* 307 Moved Temporarily - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* RestoreAlreadyInProgress - - - *Description:* Object restore is already in progress. - - - *HTTP Status Code:* 409 Conflict - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* RequestIsNotMultiPartContent - - - *Description:* Bucket POST must be of the enclosure-type - multipart/form-data. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* RequestTimeout - - - *Description:* Your socket connection to the server was not read - from or written to within the timeout period. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* RequestTimeTooSkewed - - - *Description:* The difference between the request time and the - server's time is too large. - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* RequestTorrentOfBucketError - - - *Description:* Requesting the torrent file of a bucket is not - permitted. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* SignatureDoesNotMatch - - - *Description:* The request signature we calculated does not match - the signature you provided. Check your Amazon Web Services secret - access key and signing method. For more information, see [REST - Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html) - and [SOAP - Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html) - for details. - - - *HTTP Status Code:* 403 Forbidden - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* ServiceUnavailable - - - *Description:* Service is unable to handle request. - - - *HTTP Status Code:* 503 Service Unavailable - - - *SOAP Fault Code Prefix:* Server - - - - *Code:* SlowDown - - - *Description:* Reduce your request rate. - - - *HTTP Status Code:* 503 Slow Down - - - *SOAP Fault Code Prefix:* Server - - - - *Code:* TemporaryRedirect - - - *Description:* You are being redirected to the bucket while DNS - updates. - - - *HTTP Status Code:* 307 Moved Temporarily - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* TokenRefreshRequired - - - *Description:* The provided token must be refreshed. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* TooManyBuckets - - - *Description:* You have attempted to create more buckets than - allowed. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* UnexpectedContent - - - *Description:* This request does not support content. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* UnresolvableGrantByEmailAddress - - - *Description:* The email address you provided does not match any - account on record. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - - - - *Code:* UserKeyMustBeSpecified - - - *Description:* The bucket POST must contain the specified field - name. If it is specified, check the order of the fields. - - - *HTTP Status Code:* 400 Bad Request - - - *SOAP Fault Code Prefix:* Client - """ - message: str | None = ... - """ - The error message contains a generic description of the error condition - in English. It is intended for a human audience. Simple programs display - the message directly to the end user if they encounter an error - condition they don't know how or don't care to handle. Sophisticated - programs with more exhaustive error handling and proper - internationalization are more likely to ignore the error message. - """ - -@dataclass(kw_only=True) -class ErrorDetails(_SerdeShape): - """ - If an S3 Metadata V1 `CreateBucketMetadataTableConfiguration` or V2 - `CreateBucketMetadataConfiguration` request succeeds, but S3 Metadata - was unable to create the table, this structure contains the error code - and error message. - - Note: - If you created your S3 Metadata configuration before July 15, 2025, we - recommend that you delete and re-create your configuration by using - [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) - so that you can expire journal table records and create a live inventory - table. - """ - - error_code: str | None = ... - """ - If the V1 `CreateBucketMetadataTableConfiguration` request succeeds, but - S3 Metadata was unable to create the table, this structure contains the - error code. The possible error codes and error messages are as follows: - - - `AccessDeniedCreatingResources` - You don't have sufficient - permissions to create the required resources. Make sure that you have - `s3tables:CreateNamespace`, `s3tables:CreateTable`, - `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and - then try again. To create a new metadata table, you must delete the - metadata configuration for this bucket, and then create a new metadata - configuration. - - - `AccessDeniedWritingToTable` - Unable to write to the metadata table - because of missing resource permissions. To fix the resource policy, - Amazon S3 needs to create a new metadata table. To create a new - metadata table, you must delete the metadata configuration for this - bucket, and then create a new metadata configuration. - - - `DestinationTableNotFound` - The destination table doesn't exist. To - create a new metadata table, you must delete the metadata - configuration for this bucket, and then create a new metadata - configuration. - - - `ServerInternalError` - An internal error has occurred. To create a - new metadata table, you must delete the metadata configuration for - this bucket, and then create a new metadata configuration. - - - `TableAlreadyExists` - The table that you specified already exists in - the table bucket's namespace. Specify a different table name. To - create a new metadata table, you must delete the metadata - configuration for this bucket, and then create a new metadata - configuration. - - - `TableBucketNotFound` - The table bucket that you specified doesn't - exist in this Amazon Web Services Region and account. Create or choose - a different table bucket. To create a new metadata table, you must - delete the metadata configuration for this bucket, and then create a - new metadata configuration. - - If the V2 `CreateBucketMetadataConfiguration` request succeeds, but S3 - Metadata was unable to create the table, this structure contains the - error code. The possible error codes and error messages are as follows: - - - `AccessDeniedCreatingResources` - You don't have sufficient - permissions to create the required resources. Make sure that you have - `s3tables:CreateTableBucket`, `s3tables:CreateNamespace`, - `s3tables:CreateTable`, `s3tables:GetTable`, - `s3tables:PutTablePolicy`, `kms:DescribeKey`, and - `s3tables:PutTableEncryption` permissions. Additionally, ensure that - the KMS key used to encrypt the table still exists, is active and has - a resource policy granting access to the S3 service principals - '`maintenance.s3tables.amazonaws.com`' and - '`metadata.s3.amazonaws.com`'. To create a new metadata table, you - must delete the metadata configuration for this bucket, and then - create a new metadata configuration. - - - `AccessDeniedWritingToTable` - Unable to write to the metadata table - because of missing resource permissions. To fix the resource policy, - Amazon S3 needs to create a new metadata table. To create a new - metadata table, you must delete the metadata configuration for this - bucket, and then create a new metadata configuration. - - - `DestinationTableNotFound` - The destination table doesn't exist. To - create a new metadata table, you must delete the metadata - configuration for this bucket, and then create a new metadata - configuration. - - - `ServerInternalError` - An internal error has occurred. To create a - new metadata table, you must delete the metadata configuration for - this bucket, and then create a new metadata configuration. - - - `JournalTableAlreadyExists` - A journal table already exists in the - Amazon Web Services managed table bucket's namespace. Delete the - journal table, and then try again. To create a new metadata table, you - must delete the metadata configuration for this bucket, and then - create a new metadata configuration. - - - `InventoryTableAlreadyExists` - An inventory table already exists in - the Amazon Web Services managed table bucket's namespace. Delete the - inventory table, and then try again. To create a new metadata table, - you must delete the metadata configuration for this bucket, and then - create a new metadata configuration. - - - `JournalTableNotAvailable` - The journal table that the inventory - table relies on has a `FAILED` status. An inventory table requires a - journal table with an `ACTIVE` status. To create a new journal or - inventory table, you must delete the metadata configuration for this - bucket, along with any journal or inventory tables, and then create a - new metadata configuration. - - - `NoSuchBucket` - The specified general purpose bucket does not exist. - """ - error_message: str | None = ... - """ - If the V1 `CreateBucketMetadataTableConfiguration` request succeeds, but - S3 Metadata was unable to create the table, this structure contains the - error message. The possible error codes and error messages are as - follows: - - - `AccessDeniedCreatingResources` - You don't have sufficient - permissions to create the required resources. Make sure that you have - `s3tables:CreateNamespace`, `s3tables:CreateTable`, - `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and - then try again. To create a new metadata table, you must delete the - metadata configuration for this bucket, and then create a new metadata - configuration. - - - `AccessDeniedWritingToTable` - Unable to write to the metadata table - because of missing resource permissions. To fix the resource policy, - Amazon S3 needs to create a new metadata table. To create a new - metadata table, you must delete the metadata configuration for this - bucket, and then create a new metadata configuration. - - - `DestinationTableNotFound` - The destination table doesn't exist. To - create a new metadata table, you must delete the metadata - configuration for this bucket, and then create a new metadata - configuration. - - - `ServerInternalError` - An internal error has occurred. To create a - new metadata table, you must delete the metadata configuration for - this bucket, and then create a new metadata configuration. - - - `TableAlreadyExists` - The table that you specified already exists in - the table bucket's namespace. Specify a different table name. To - create a new metadata table, you must delete the metadata - configuration for this bucket, and then create a new metadata - configuration. - - - `TableBucketNotFound` - The table bucket that you specified doesn't - exist in this Amazon Web Services Region and account. Create or choose - a different table bucket. To create a new metadata table, you must - delete the metadata configuration for this bucket, and then create a - new metadata configuration. - - If the V2 `CreateBucketMetadataConfiguration` request succeeds, but S3 - Metadata was unable to create the table, this structure contains the - error code. The possible error codes and error messages are as follows: - - - `AccessDeniedCreatingResources` - You don't have sufficient - permissions to create the required resources. Make sure that you have - `s3tables:CreateTableBucket`, `s3tables:CreateNamespace`, - `s3tables:CreateTable`, `s3tables:GetTable`, - `s3tables:PutTablePolicy`, `kms:DescribeKey`, and - `s3tables:PutTableEncryption` permissions. Additionally, ensure that - the KMS key used to encrypt the table still exists, is active and has - a resource policy granting access to the S3 service principals - '`maintenance.s3tables.amazonaws.com`' and - '`metadata.s3.amazonaws.com`'. To create a new metadata table, you - must delete the metadata configuration for this bucket, and then - create a new metadata configuration. - - - `AccessDeniedWritingToTable` - Unable to write to the metadata table - because of missing resource permissions. To fix the resource policy, - Amazon S3 needs to create a new metadata table. To create a new - metadata table, you must delete the metadata configuration for this - bucket, and then create a new metadata configuration. - - - `DestinationTableNotFound` - The destination table doesn't exist. To - create a new metadata table, you must delete the metadata - configuration for this bucket, and then create a new metadata - configuration. - - - `ServerInternalError` - An internal error has occurred. To create a - new metadata table, you must delete the metadata configuration for - this bucket, and then create a new metadata configuration. - - - `JournalTableAlreadyExists` - A journal table already exists in the - Amazon Web Services managed table bucket's namespace. Delete the - journal table, and then try again. To create a new metadata table, you - must delete the metadata configuration for this bucket, and then - create a new metadata configuration. - - - `InventoryTableAlreadyExists` - An inventory table already exists in - the Amazon Web Services managed table bucket's namespace. Delete the - inventory table, and then try again. To create a new metadata table, - you must delete the metadata configuration for this bucket, and then - create a new metadata configuration. - - - `JournalTableNotAvailable` - The journal table that the inventory - table relies on has a `FAILED` status. An inventory table requires a - journal table with an `ACTIVE` status. To create a new journal or - inventory table, you must delete the metadata configuration for this - bucket, along with any journal or inventory tables, and then create a - new metadata configuration. - - - `NoSuchBucket` - The specified general purpose bucket does not exist. - """ - -@dataclass(kw_only=True) -class ErrorDocument(_SerdeShape): - """The error information.""" - - key: str - """ - The object key name to use when a 4XX class error occurs. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - -class Event(UnknownEnumMixin, StrEnum): - """The bucket event for which to send notifications.""" - - S3_REDUCED_REDUNDANCY_LOST_OBJECT = "s3:ReducedRedundancyLostObject" - S3_OBJECT_CREATED_ = "s3:ObjectCreated:*" - S3_OBJECT_CREATED_PUT = "s3:ObjectCreated:Put" - S3_OBJECT_CREATED_POST = "s3:ObjectCreated:Post" - S3_OBJECT_CREATED_COPY = "s3:ObjectCreated:Copy" - S3_OBJECT_CREATED_COMPLETE_MULTIPART_UPLOAD = ( - "s3:ObjectCreated:CompleteMultipartUpload" - ) - S3_OBJECT_REMOVED_ = "s3:ObjectRemoved:*" - S3_OBJECT_REMOVED_DELETE = "s3:ObjectRemoved:Delete" - S3_OBJECT_REMOVED_DELETE_MARKER_CREATED = "s3:ObjectRemoved:DeleteMarkerCreated" - S3_OBJECT_RESTORE_ = "s3:ObjectRestore:*" - S3_OBJECT_RESTORE_POST = "s3:ObjectRestore:Post" - S3_OBJECT_RESTORE_COMPLETED = "s3:ObjectRestore:Completed" - S3_REPLICATION_ = "s3:Replication:*" - S3_REPLICATION_OPERATION_FAILED_REPLICATION = ( - "s3:Replication:OperationFailedReplication" - ) - S3_REPLICATION_OPERATION_NOT_TRACKED = "s3:Replication:OperationNotTracked" - S3_REPLICATION_OPERATION_MISSED_THRESHOLD = ( - "s3:Replication:OperationMissedThreshold" - ) - S3_REPLICATION_OPERATION_REPLICATED_AFTER_THRESHOLD = ( - "s3:Replication:OperationReplicatedAfterThreshold" - ) - S3_OBJECT_RESTORE_DELETE = "s3:ObjectRestore:Delete" - S3_LIFECYCLE_TRANSITION = "s3:LifecycleTransition" - S3_INTELLIGENT_TIERING = "s3:IntelligentTiering" - S3_OBJECT_ACL_PUT = "s3:ObjectAcl:Put" - S3_LIFECYCLE_EXPIRATION_ = "s3:LifecycleExpiration:*" - S3_LIFECYCLE_EXPIRATION_DELETE = "s3:LifecycleExpiration:Delete" - S3_LIFECYCLE_EXPIRATION_DELETE_MARKER_CREATED = ( - "s3:LifecycleExpiration:DeleteMarkerCreated" - ) - S3_OBJECT_TAGGING_ = "s3:ObjectTagging:*" - S3_OBJECT_TAGGING_PUT = "s3:ObjectTagging:Put" - S3_OBJECT_TAGGING_DELETE = "s3:ObjectTagging:Delete" - S3_OBJECT_ANNOTATION_ = "s3:ObjectAnnotation:*" - S3_OBJECT_ANNOTATION_PUT = "s3:ObjectAnnotation:Put" - S3_OBJECT_ANNOTATION_DELETE = "s3:ObjectAnnotation:Delete" - S3_OBJECT_RETENTION_PUT = "s3:ObjectRetention:Put" - -@dataclass(kw_only=True) -class EventBridgeConfiguration(_SerdeShape): - """A container for specifying the configuration for Amazon EventBridge.""" - -@dataclass(kw_only=True) -class EventHoldDuration(_SerdeShape): - """ - Contains the event hold duration configuration, specified in either days - or years. - """ - - days: int | None = ... - """ - The number of days for the event hold duration. The minimum value is 1 - and the maximum value is 36,500. - """ - years: int | None = ... - """ - The number of years for the event hold duration. The minimum value is 1 - and the maximum value is 100. - """ - -@dataclass(kw_only=True) -class ExistingObjectReplication(_SerdeShape): - """ - Optional configuration to replicate existing source bucket objects. - - Note: - This parameter is no longer supported. To replicate existing objects, - see [Replicating existing objects with S3 Batch - Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) - in the *Amazon S3 User Guide*. - """ - - status: str - """Specifies whether Amazon S3 replicates existing source bucket objects.""" - -class ExistingObjectReplicationStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -class ExpirationState(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -class ExpirationStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -class ExpressionType(UnknownEnumMixin, StrEnum): - SQL = "SQL" - -class FileHeaderInfo(UnknownEnumMixin, StrEnum): - USE = "USE" - IGNORE = "IGNORE" - NONE = "NONE" - -@dataclass(kw_only=True) -class FilterRule(_SerdeShape): - """ - Specifies the Amazon S3 object key name to filter on. An object key name - is the name assigned to an object in your Amazon S3 bucket. You specify - whether to filter on the suffix or prefix of the object key name. A - prefix is a specific string of characters at the beginning of an object - key name, which you can use to organize objects. For example, you can - start the key names of related objects with a prefix, such as `2023-` or - `engineering/`. Then, you can use `FilterRule` to find objects in a - bucket with key names that have the same prefix. A suffix is similar to - a prefix, but it is at the end of the object key name instead of at the - beginning. - """ - - name: str | None = ... - """ - The object key name prefix or suffix identifying one or more objects to - which the filtering rule applies. The maximum length is 1,024 - characters. Overlapping prefixes and suffixes are not supported. For - more information, see [Configuring Event - Notifications](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) - in the *Amazon S3 User Guide*. - """ - value: str | None = ... - """The value that the filter searches for in object key names.""" - -class FilterRuleName(UnknownEnumMixin, StrEnum): - PREFIX = "prefix" - SUFFIX = "suffix" - -@dataclass(kw_only=True) -class GetBucketAbacInput(_SerdeShape): - """Dataclass for GetBucketAbacInput structure.""" - - bucket: str | None = ... - """The name of the general purpose bucket.""" - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID of the general purpose bucket's - owner. - """ - -@dataclass(kw_only=True) -class GetBucketAbacOutput(_SerdeShape): - """Dataclass for GetBucketAbacOutput structure.""" - - abac_status: AbacStatus | None = ... - """The ABAC status of the general purpose bucket.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketAccelerateConfigurationInput(_SerdeShape): - """Dataclass for GetBucketAccelerateConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket for which the accelerate configuration is - retrieved. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - -@dataclass(kw_only=True) -class GetBucketAccelerateConfigurationOutput(_SerdeShape): - """Dataclass for GetBucketAccelerateConfigurationOutput structure.""" - - status: str | None = ... - """The accelerate configuration of the bucket.""" - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketAclInput(_SerdeShape): - """Dataclass for GetBucketAclInput structure.""" - - bucket: str | None = ... - """ - Specifies the S3 bucket whose ACL is being requested. - - When you use this API operation with an access point, provide the alias - of the access point in place of the bucket name. - - When you use this API operation with an Object Lambda access point, - provide the alias of the Object Lambda access point in place of the - bucket name. If the Object Lambda access point alias in a request is not - valid, the error code `InvalidAccessPointAliasError` is returned. For - more information about `InvalidAccessPointAliasError`, see [List of - Error - Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketAclOutput(_SerdeShape): - """Dataclass for GetBucketAclOutput structure.""" - - owner: Owner | None = ... - """Container for the bucket owner's ID.""" - grants: list[Grant] | None = ... - """A list of grants.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketAnalyticsConfigurationInput(_SerdeShape): - """Dataclass for GetBucketAnalyticsConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket from which an analytics configuration is - retrieved. - """ - id: str | None = ... - """The ID that identifies the analytics configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketAnalyticsConfigurationOutput(_SerdeShape): - """Dataclass for GetBucketAnalyticsConfigurationOutput structure.""" - - analytics_configuration: AnalyticsConfiguration | None = ... - """The configuration and any analyses for the analytics filter.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketCorsInput(_SerdeShape): - """Dataclass for GetBucketCorsInput structure.""" - - bucket: str | None = ... - """ - The bucket name for which to get the cors configuration. - - When you use this API operation with an access point, provide the alias - of the access point in place of the bucket name. - - When you use this API operation with an Object Lambda access point, - provide the alias of the Object Lambda access point in place of the - bucket name. If the Object Lambda access point alias in a request is not - valid, the error code `InvalidAccessPointAliasError` is returned. For - more information about `InvalidAccessPointAliasError`, see [List of - Error - Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketCorsOutput(_SerdeShape): - """Dataclass for GetBucketCorsOutput structure.""" - - cors_rules: list[CORSRule] | None = ... - """ - A set of origins and methods (cross-origin access that you want to - allow). You can add up to 100 rules to the configuration. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketEncryptionInput(_SerdeShape): - """Dataclass for GetBucketEncryptionInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket from which the server-side encryption - configuration is retrieved. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class GetBucketEncryptionOutput(_SerdeShape): - """Dataclass for GetBucketEncryptionOutput structure.""" - - server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... - """Specifies the default server-side-encryption configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketIntelligentTieringConfigurationInput(_SerdeShape): - """Dataclass for GetBucketIntelligentTieringConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket whose configuration you want to modify - or retrieve. - """ - id: str | None = ... - """The ID used to identify the S3 Intelligent-Tiering configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketIntelligentTieringConfigurationOutput(_SerdeShape): - """Dataclass for GetBucketIntelligentTieringConfigurationOutput structure.""" - - intelligent_tiering_configuration: IntelligentTieringConfiguration | None = ... - """Container for S3 Intelligent-Tiering configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketInventoryConfigurationInput(_SerdeShape): - """Dataclass for GetBucketInventoryConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket containing the inventory configuration to - retrieve. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - id: str | None = ... - """The ID used to identify the inventory configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class GetBucketInventoryConfigurationOutput(_SerdeShape): - """Dataclass for GetBucketInventoryConfigurationOutput structure.""" - - inventory_configuration: InventoryConfiguration | None = ... - """Specifies the inventory configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketLifecycleConfigurationInput(_SerdeShape): - """Dataclass for GetBucketLifecycleConfigurationInput structure.""" - - bucket: str | None = ... - """The name of the bucket for which to get the lifecycle information.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - -@dataclass(kw_only=True) -class GetBucketLifecycleConfigurationOutput(_SerdeShape): - """Dataclass for GetBucketLifecycleConfigurationOutput structure.""" - - rules: list[LifecycleRule] | None = ... - """Container for a lifecycle rule.""" - transition_default_minimum_object_size: str | None = ... - """ - Indicates which default minimum object size behavior is applied to the - lifecycle configuration. - - Note: - This parameter applies to general purpose buckets only. It isn't - supported for directory bucket lifecycle configurations. - - - `all_storage_classes_128K` - Objects smaller than 128 KB will not - transition to any storage class by default. - - - `varies_by_storage_class` - Objects smaller than 128 KB will - transition to Glacier Flexible Retrieval or Glacier Deep Archive - storage classes. By default, all other storage classes will prevent - transitions smaller than 128 KB. - - To customize the minimum object size for any transition you can add a - filter that specifies a custom `ObjectSizeGreaterThan` or - `ObjectSizeLessThan` in the body of your transition rule. Custom filters - always take precedence over the default transition behavior. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketLocationInput(_SerdeShape): - """Dataclass for GetBucketLocationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket for which to get the location. - - When you use this API operation with an access point, provide the alias - of the access point in place of the bucket name. - - When you use this API operation with an Object Lambda access point, - provide the alias of the Object Lambda access point in place of the - bucket name. If the Object Lambda access point alias in a request is not - valid, the error code `InvalidAccessPointAliasError` is returned. For - more information about `InvalidAccessPointAliasError`, see [List of - Error - Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketLocationOutput(_SerdeShape): - """Dataclass for GetBucketLocationOutput structure.""" - - location_constraint: str | None = ... - """ - Specifies the Region where the bucket resides. For a list of all the - Amazon S3 supported location constraints by Region, see [Regions and - Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). - - Buckets in Region `us-east-1` have a LocationConstraint of `null`. - Buckets with a LocationConstraint of `EU` reside in `eu-west-1`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketLoggingInput(_SerdeShape): - """Dataclass for GetBucketLoggingInput structure.""" - - bucket: str | None = ... - """The bucket name for which to get the logging information.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketLoggingOutput(_SerdeShape): - """Dataclass for GetBucketLoggingOutput structure.""" - - logging_enabled: LoggingEnabled | None = ... - """ - Describes where logs are stored and the prefix that Amazon S3 assigns to - all log object keys for a bucket. For more information, see [PUT Bucket - logging](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html) - in the *Amazon S3 API Reference*. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketMetadataConfigurationInput(_SerdeShape): - """Dataclass for GetBucketMetadataConfigurationInput structure.""" - - bucket: str | None = ... - """ - The general purpose bucket that corresponds to the metadata - configuration that you want to retrieve. - """ - expected_bucket_owner: str | None = ... - """ - The expected owner of the general purpose bucket that you want to - retrieve the metadata table configuration for. - """ - -@dataclass(kw_only=True) -class GetBucketMetadataConfigurationOutput(_SerdeShape): - """Dataclass for GetBucketMetadataConfigurationOutput structure.""" - - get_bucket_metadata_configuration_result: ( - GetBucketMetadataConfigurationResult | None - ) = ... - """The metadata configuration for the general purpose bucket.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketMetadataConfigurationResult(_SerdeShape): - """The S3 Metadata configuration for a general purpose bucket.""" - - metadata_configuration_result: MetadataConfigurationResult - """The metadata configuration for a general purpose bucket.""" - -@dataclass(kw_only=True) -class GetBucketMetadataTableConfigurationInput(_SerdeShape): - """Dataclass for GetBucketMetadataTableConfigurationInput structure.""" - - bucket: str | None = ... - """ - The general purpose bucket that corresponds to the metadata table - configuration that you want to retrieve. - """ - expected_bucket_owner: str | None = ... - """ - The expected owner of the general purpose bucket that you want to - retrieve the metadata table configuration for. - """ - -@dataclass(kw_only=True) -class GetBucketMetadataTableConfigurationOutput(_SerdeShape): - """Dataclass for GetBucketMetadataTableConfigurationOutput structure.""" - - get_bucket_metadata_table_configuration_result: ( - GetBucketMetadataTableConfigurationResult | None - ) = ... - """The metadata table configuration for the general purpose bucket.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketMetadataTableConfigurationResult(_SerdeShape): - """ - The V1 S3 Metadata configuration for a general purpose bucket. - - Note: - If you created your S3 Metadata configuration before July 15, 2025, we - recommend that you delete and re-create your configuration by using - [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) - so that you can expire journal table records and create a live inventory - table. - """ - - metadata_table_configuration_result: MetadataTableConfigurationResult - """The V1 S3 Metadata configuration for a general purpose bucket.""" - status: str - """ - The status of the metadata table. The status values are: - - - `CREATING` - The metadata table is in the process of being created in - the specified table bucket. - - - `ACTIVE` - The metadata table has been created successfully, and - records are being delivered to the table. - - - `FAILED` - Amazon S3 is unable to create the metadata table, or Amazon - S3 is unable to deliver records. See `ErrorDetails` for details. - """ - error: ErrorDetails | None = ... - """ - If the `CreateBucketMetadataTableConfiguration` request succeeds, but S3 - Metadata was unable to create the table, this structure contains the - error code and error message. - """ - -@dataclass(kw_only=True) -class GetBucketMetricsConfigurationInput(_SerdeShape): - """Dataclass for GetBucketMetricsConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket containing the metrics configuration to retrieve. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - id: str | None = ... - """ - The ID used to identify the metrics configuration. The ID has a 64 - character limit and can only contain letters, numbers, periods, dashes, - and underscores. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class GetBucketMetricsConfigurationOutput(_SerdeShape): - """Dataclass for GetBucketMetricsConfigurationOutput structure.""" - - metrics_configuration: MetricsConfiguration | None = ... - """Specifies the metrics configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketNotificationConfigurationInput(_SerdeShape): - """Dataclass for GetBucketNotificationConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket for which to get the notification configuration. - - When you use this API operation with an access point, provide the alias - of the access point in place of the bucket name. - - When you use this API operation with an Object Lambda access point, - provide the alias of the Object Lambda access point in place of the - bucket name. If the Object Lambda access point alias in a request is not - valid, the error code `InvalidAccessPointAliasError` is returned. For - more information about `InvalidAccessPointAliasError`, see [List of - Error - Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketNotificationConfigurationOutput(_SerdeShape): - """ - A container for specifying the notification configuration of the bucket. - If this element is empty, notifications are turned off for the bucket. - """ - - topic_configurations: list[TopicConfiguration] | None = ... - """ - The topic to which notifications are sent and the events for which - notifications are generated. - """ - queue_configurations: list[QueueConfiguration] | None = ... - """ - The Amazon Simple Queue Service queues to publish messages to and the - events for which to publish messages. - """ - lambda_function_configurations: list[LambdaFunctionConfiguration] | None = ... - """ - Describes the Lambda functions to invoke and the events for which to - invoke them. - """ - event_bridge_configuration: EventBridgeConfiguration | None = ... - """Enables delivery of events to Amazon EventBridge.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketOwnershipControlsInput(_SerdeShape): - """Dataclass for GetBucketOwnershipControlsInput structure.""" - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket whose `OwnershipControls` you want to - retrieve. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketOwnershipControlsOutput(_SerdeShape): - """Dataclass for GetBucketOwnershipControlsOutput structure.""" - - ownership_controls: OwnershipControls | None = ... - """ - The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred, or - ObjectWriter) currently in effect for this Amazon S3 bucket. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketPolicyInput(_SerdeShape): - """Dataclass for GetBucketPolicyInput structure.""" - - bucket: str | None = ... - """ - The bucket name to get the bucket policy for. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - - **Access points** - When you use this API operation with an access - point, provide the alias of the access point in place of the bucket - name. - - **Object Lambda access points** - When you use this API operation with - an Object Lambda access point, provide the alias of the Object Lambda - access point in place of the bucket name. If the Object Lambda access - point alias in a request is not valid, the error code - `InvalidAccessPointAliasError` is returned. For more information about - `InvalidAccessPointAliasError`, see [List of Error - Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). - - Note: - Object Lambda access points are not supported by directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class GetBucketPolicyOutput(_SerdeShape): - """Dataclass for GetBucketPolicyOutput structure.""" - - policy: str | None = ... - """The bucket policy as a JSON document.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketPolicyStatusInput(_SerdeShape): - """Dataclass for GetBucketPolicyStatusInput structure.""" - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket whose policy status you want to - retrieve. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketPolicyStatusOutput(_SerdeShape): - """Dataclass for GetBucketPolicyStatusOutput structure.""" - - policy_status: PolicyStatus | None = ... - """The policy status for the specified bucket.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketReplicationInput(_SerdeShape): - """Dataclass for GetBucketReplicationInput structure.""" - - bucket: str | None = ... - """The bucket name for which to get the replication information.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketReplicationOutput(_SerdeShape): - """Dataclass for GetBucketReplicationOutput structure.""" - - replication_configuration: ReplicationConfiguration | None = ... - """ - A container for replication rules. You can add up to 1,000 rules. The - maximum size of a replication configuration is 2 MB. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketRequestPaymentInput(_SerdeShape): - """Dataclass for GetBucketRequestPaymentInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket for which to get the payment request - configuration - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketRequestPaymentOutput(_SerdeShape): - """Dataclass for GetBucketRequestPaymentOutput structure.""" - - payer: str | None = ... - """Specifies who pays for the download and request fees.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketTaggingInput(_SerdeShape): - """Dataclass for GetBucketTaggingInput structure.""" - - bucket: str | None = ... - """The name of the bucket for which to get the tagging information.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketTaggingOutput(_SerdeShape): - """Dataclass for GetBucketTaggingOutput structure.""" - - tag_set: list[Tag] - """Contains the tag set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketVersioningInput(_SerdeShape): - """Dataclass for GetBucketVersioningInput structure.""" - - bucket: str | None = ... - """The name of the bucket for which to get the versioning information.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketVersioningOutput(_SerdeShape): - """Dataclass for GetBucketVersioningOutput structure.""" - - status: str | None = ... - """The versioning state of the bucket.""" - mfa_delete: str | None = ... - """ - Specifies whether MFA delete is enabled in the bucket versioning - configuration. This element is only returned if the bucket has been - configured with MFA delete. If the bucket has never been so configured, - this element is not returned. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetBucketWebsiteInput(_SerdeShape): - """Dataclass for GetBucketWebsiteInput structure.""" - - bucket: str | None = ... - """The bucket name for which to get the website configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetBucketWebsiteOutput(_SerdeShape): - """Dataclass for GetBucketWebsiteOutput structure.""" - - redirect_all_requests_to: RedirectAllRequestsTo | None = ... - """ - Specifies the redirect behavior of all requests to a website endpoint of - an Amazon S3 bucket. - """ - index_document: IndexDocument | None = ... - """ - The name of the index document for the website (for example - `index.html`). - """ - error_document: ErrorDocument | None = ... - """ - The object key name of the website error document to use for 4XX class - errors. - """ - routing_rules: list[RoutingRule] | None = ... - """Rules that define when a redirect is applied and the redirect behavior.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetObjectAclInput(_SerdeShape): - """Dataclass for GetObjectAclInput structure.""" - - bucket: str | None = ... - """ - The bucket name that contains the object for which to get the ACL - information. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """The key of the object for which to get the ACL information.""" - version_id: str | None = ... - """ - Version ID used to reference a specific version of the object. - - Note: - This functionality is not supported for directory buckets. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetObjectAclOutput(_SerdeShape): - """Dataclass for GetObjectAclOutput structure.""" - - owner: Owner | None = ... - """Container for the bucket owner's ID.""" - grants: list[Grant] | None = ... - """A list of grants.""" - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetObjectAnnotationInput(_SerdeShape): - """Dataclass for GetObjectAnnotationInput structure.""" - - bucket: str | None = ... - """The name of the bucket that contains the object.""" - key: str | None = ... - """The object key.""" - annotation_name: str | None = ... - """ - The name of the annotation to retrieve. - - Length Constraints: Minimum length of 1. Maximum length of 512 bytes. - """ - version_id: str | None = ... - """The version ID of the object.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the bucket is owned by a - different account, the request fails with an HTTP 403 (Access Denied) - error. - """ - checksum_mode: str | None = ... - """ - Set to `ENABLED` to validate the checksum of the annotation payload on - retrieval. - """ - -@dataclass(kw_only=True) -class GetObjectAnnotationOutput(_SerdeShape): - """Dataclass for GetObjectAnnotationOutput structure.""" - - annotation_payload: StreamingBlob = ... - """The annotation payload.""" - object_version_id: str | None = ... - """The version ID of the object that the annotation is attached to.""" - last_modified: datetime | None = ... - """The date and time the annotation was last modified.""" - content_length: int | None = ... - """The size of the annotation payload, in bytes.""" - e_tag: str | None = ... - """The entity tag of the annotation.""" - checksum_crc32: str | None = ... - """The CRC32 checksum of the annotation payload.""" - checksum_crc32_c: str | None = ... - """The CRC32C checksum of the annotation payload.""" - checksum_crc64_nvme: str | None = ... - """The CRC64NVME checksum of the annotation payload.""" - checksum_sha1: str | None = ... - """The SHA1 checksum of the annotation payload.""" - checksum_sha256: str | None = ... - """The SHA256 checksum of the annotation payload.""" - checksum_sha512: str | None = ... - """The SHA512 checksum of the annotation payload.""" - checksum_md5: str | None = ... - """The MD5 checksum of the annotation payload.""" - checksum_xxhash64: str | None = ... - """The XXHASH64 checksum of the annotation payload.""" - checksum_xxhash3: str | None = ... - """The XXHASH3 checksum of the annotation payload.""" - checksum_xxhash128: str | None = ... - """The XXHASH128 checksum of the annotation payload.""" - checksum_type: str | None = ... - """The type of checksum used.""" - server_side_encryption: str | None = ... - """The server-side encryption algorithm used.""" - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - replication_status: str | None = ... - """ - The replication status of the annotation. Possible values include - `PENDING`, `COMPLETED`, `FAILED`, and `REPLICA`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetObjectAttributesInput(_SerdeShape): - """Dataclass for GetObjectAttributesInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket that contains the object. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """The object key.""" - version_id: str | None = ... - """ - The version ID used to reference a specific version of the object. - - Note: - S3 Versioning isn't enabled and supported for directory buckets. For - this API operation, only the `null` value of the version ID is supported - by directory buckets. You can only specify `null` to the `versionId` - query parameter in the request. - """ - max_parts: int | None = ... - """ - Sets the maximum number of parts to return. For more information, see - [Uploading and copying objects using multipart upload in Amazon - S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html) - in the *Amazon Simple Storage Service user guide*. - """ - part_number_marker: str | None = ... - """ - Specifies the part after which listing should begin. Only parts with - higher part numbers will be listed. For more information, see [Uploading - and copying objects using multipart upload in Amazon - S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html) - in the *Amazon Simple Storage Service user guide*. - """ - sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when encrypting the object (for example, - AES256). - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key for Amazon S3 to use in - encrypting data. This value is used to store the object and then it is - discarded; Amazon S3 does not store the encryption key. The key must be - appropriate for use with the algorithm specified in the - `x-amz-server-side-encryption-customer-algorithm` header. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the encryption key according to RFC - 1321. Amazon S3 uses this header for a message integrity check to ensure - that the encryption key was transmitted without error. - - Note: - This functionality is not supported for directory buckets. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - object_attributes: list[str] | None = ... - """ - Specifies the fields at the root level that you want returned in the - response. Fields that you do not specify are not returned. - """ - -@dataclass(kw_only=True) -class GetObjectAttributesOutput(_SerdeShape): - """Dataclass for GetObjectAttributesOutput structure.""" - - delete_marker: bool | None = ... - """ - Specifies whether the object retrieved was (`true`) or was not (`false`) - a delete marker. If `false`, this response header does not appear in the - response. To learn more about delete markers, see [Working with delete - markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). - - Note: - This functionality is not supported for directory buckets. - """ - last_modified: datetime | None = ... - """Date and time when the object was last modified.""" - version_id: str | None = ... - """ - The version ID of the object. - - Note: - This functionality is not supported for directory buckets. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - e_tag: str | None = ... - """ - An ETag is an opaque identifier assigned by a web server to a specific - version of a resource found at a URL. - """ - checksum: Checksum | None = ... - """The checksum or digest of the object.""" - object_parts: GetObjectAttributesParts | None = ... - """A collection of parts associated with a multipart upload.""" - storage_class: str | None = ... - """ - Provides the storage class information of the object. Amazon S3 returns - this header for all objects except for S3 Standard storage class - objects. - - For more information, see [Storage - Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html). - - Note: - **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` - (the S3 Express One Zone storage class) in Availability Zones and - `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in - Dedicated Local Zones. - """ - object_size: int | None = ... - """The size of the object in bytes.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetObjectAttributesParts(_SerdeShape): - """A collection of parts associated with a multipart upload.""" - - total_parts_count: int | None = ... - """The total number of parts.""" - part_number_marker: str | None = ... - """The marker for the current part.""" - next_part_number_marker: str | None = ... - """ - When a list is truncated, this element specifies the last part in the - list, as well as the value to use for the `PartNumberMarker` request - parameter in a subsequent request. - """ - max_parts: int | None = ... - """The maximum number of parts allowed in the response.""" - is_truncated: bool | None = ... - """ - Indicates whether the returned list of parts is truncated. A value of - `true` indicates that the list was truncated. A list can be truncated if - the number of parts exceeds the limit returned in the `MaxParts` - element. - """ - parts: list[ObjectPart] | None = ... - """ - A container for elements related to a particular part. A response can - contain zero or more `Parts` elements. - - Note: - - **General purpose buckets** - For `GetObjectAttributes`, if an - additional checksum (including `x-amz-checksum-crc32`, - `x-amz-checksum-crc32c`, `x-amz-checksum-sha1`, or - `x-amz-checksum-sha256`) isn't applied to the object specified in the - request, the response doesn't return the `Part` element. - - - **Directory buckets** - For `GetObjectAttributes`, regardless of - whether an additional checksum is applied to the object specified in - the request, the response returns the `Part` element. - """ - -@dataclass(kw_only=True) -class GetObjectInput(_SerdeShape): - """Dataclass for GetObjectInput structure.""" - - bucket: str | None = ... - """ - The bucket name containing the object. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - **Object Lambda access points** - When you use this action with an - Object Lambda access point, you must direct requests to the Object - Lambda access point hostname. The Object Lambda access point hostname - takes the form - *AccessPointName*-*AccountId*.s3-object-lambda.*Region*.amazonaws.com. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - if_match: str | None = ... - """ - Return the object only if its entity tag (ETag) is the same as the one - specified in this header; otherwise, return a `412 Precondition Failed` - error. - - If both of the `If-Match` and `If-Unmodified-Since` headers are present - in the request as follows: `If-Match` condition evaluates to `true`, - and; `If-Unmodified-Since` condition evaluates to `false`; then, S3 - returns `200 OK` and the data requested. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - if_modified_since: datetime | None = ... - """ - Return the object only if it has been modified since the specified time; - otherwise, return a `304 Not Modified` error. - - If both of the `If-None-Match` and `If-Modified-Since` headers are - present in the request as follows:` If-None-Match` condition evaluates - to `false`, and; `If-Modified-Since` condition evaluates to `true`; - then, S3 returns `304 Not Modified` status code. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - if_none_match: str | None = ... - """ - Return the object only if its entity tag (ETag) is different from the - one specified in this header; otherwise, return a `304 Not Modified` - error. - - If both of the `If-None-Match` and `If-Modified-Since` headers are - present in the request as follows:` If-None-Match` condition evaluates - to `false`, and; `If-Modified-Since` condition evaluates to `true`; - then, S3 returns `304 Not Modified` HTTP status code. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - if_unmodified_since: datetime | None = ... - """ - Return the object only if it has not been modified since the specified - time; otherwise, return a `412 Precondition Failed` error. - - If both of the `If-Match` and `If-Unmodified-Since` headers are present - in the request as follows: `If-Match` condition evaluates to `true`, - and; `If-Unmodified-Since` condition evaluates to `false`; then, S3 - returns `200 OK` and the data requested. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - key: str | None = ... - """Key of the object to get.""" - range: str | None = ... - """ - Downloads the specified byte range of an object. For more information - about the HTTP Range header, see - . - - Note: - Amazon S3 doesn't support retrieving multiple ranges of data per `GET` - request. - """ - response_cache_control: str | None = ... - """Sets the `Cache-Control` header of the response.""" - response_content_disposition: str | None = ... - """Sets the `Content-Disposition` header of the response.""" - response_content_encoding: str | None = ... - """Sets the `Content-Encoding` header of the response.""" - response_content_language: str | None = ... - """Sets the `Content-Language` header of the response.""" - response_content_type: str | None = ... - """Sets the `Content-Type` header of the response.""" - response_expires: datetime | None = ... - """Sets the `Expires` header of the response.""" - version_id: str | None = ... - """ - Version ID used to reference a specific version of the object. - - By default, the `GetObject` operation returns the current version of an - object. To return a different version, use the `versionId` subresource. - - Note: - - If you include a `versionId` in your request header, you must have the - `s3:GetObjectVersion` permission to access a specific version of an - object. The `s3:GetObject` permission is not required in this - scenario. - - - If you request the current version of an object without a specific - `versionId` in the request header, only the `s3:GetObject` permission - is required. The `s3:GetObjectVersion` permission is not required in - this scenario. - - - **Directory buckets** - S3 Versioning isn't enabled and supported for - directory buckets. For this API operation, only the `null` value of - the version ID is supported by directory buckets. You can only specify - `null` to the `versionId` query parameter in the request. - - For more information about versioning, see - [PutBucketVersioning](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html). - """ - sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when decrypting the object (for example, - `AES256`). - - If you encrypt an object by using server-side encryption with - customer-provided encryption keys (SSE-C) when you store the object in - Amazon S3, then when you GET the object, you must use the following - headers: - - - `x-amz-server-side-encryption-customer-algorithm` - - - `x-amz-server-side-encryption-customer-key` - - - `x-amz-server-side-encryption-customer-key-MD5` - - For more information about SSE-C, see [Server-Side Encryption (Using - Customer-Provided Encryption - Keys)](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key that you originally - provided for Amazon S3 to encrypt the data before storing it. This value - is used to decrypt the object when recovering it and must match the one - used when storing the data. The key must be appropriate for use with the - algorithm specified in the - `x-amz-server-side-encryption-customer-algorithm` header. - - If you encrypt an object by using server-side encryption with - customer-provided encryption keys (SSE-C) when you store the object in - Amazon S3, then when you GET the object, you must use the following - headers: - - - `x-amz-server-side-encryption-customer-algorithm` - - - `x-amz-server-side-encryption-customer-key` - - - `x-amz-server-side-encryption-customer-key-MD5` - - For more information about SSE-C, see [Server-Side Encryption (Using - Customer-Provided Encryption - Keys)](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the customer-provided encryption key - according to RFC 1321. Amazon S3 uses this header for a message - integrity check to ensure that the encryption key was transmitted - without error. - - If you encrypt an object by using server-side encryption with - customer-provided encryption keys (SSE-C) when you store the object in - Amazon S3, then when you GET the object, you must use the following - headers: - - - `x-amz-server-side-encryption-customer-algorithm` - - - `x-amz-server-side-encryption-customer-key` - - - `x-amz-server-side-encryption-customer-key-MD5` - - For more information about SSE-C, see [Server-Side Encryption (Using - Customer-Provided Encryption - Keys)](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - part_number: int | None = ... - """ - Part number of the object being read. This is a positive integer between - 1 and 10,000. Effectively performs a 'ranged' GET request for the part - specified. Useful for downloading just a part of an object. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - checksum_mode: str | None = ... - """To retrieve the checksum, this mode must be enabled.""" - -@dataclass(kw_only=True) -class GetObjectLegalHoldInput(_SerdeShape): - """Dataclass for GetObjectLegalHoldInput structure.""" - - bucket: str | None = ... - """ - The bucket name containing the object whose legal hold status you want - to retrieve. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """ - The key name for the object whose legal hold status you want to - retrieve. - """ - version_id: str | None = ... - """ - The version ID of the object whose legal hold status you want to - retrieve. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetObjectLegalHoldOutput(_SerdeShape): - """Dataclass for GetObjectLegalHoldOutput structure.""" - - legal_hold: ObjectLockLegalHold | None = ... - """The current legal hold status for the specified object.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetObjectLockConfigurationInput(_SerdeShape): - """Dataclass for GetObjectLockConfigurationInput structure.""" - - bucket: str | None = ... - """ - The bucket whose Object Lock configuration you want to retrieve. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetObjectLockConfigurationOutput(_SerdeShape): - """Dataclass for GetObjectLockConfigurationOutput structure.""" - - object_lock_configuration: ObjectLockConfiguration | None = ... - """The specified bucket's Object Lock configuration.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetObjectOutput(_SerdeShape): - """Dataclass for GetObjectOutput structure.""" - - body: StreamingBlob = ... - """Object data.""" - delete_marker: bool | None = ... - """ - Indicates whether the object retrieved was (true) or was not (false) a - Delete Marker. If false, this response header does not appear in the - response. - - Note: - - If the current version of the object is a delete marker, Amazon S3 - behaves as if the object was deleted and includes - `x-amz-delete-marker: true` in the response. - - - If the specified version in the request is a delete marker, the - response returns a `405 Method Not Allowed` error and the - `Last-Modified: timestamp` response header. - """ - accept_ranges: str | None = ... - """Indicates that a range of bytes was specified in the request.""" - expiration: str | None = ... - """ - If the object expiration is configured (see - [`PutBucketLifecycleConfiguration`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) - ), the response includes this header. It includes the `expiry-date` and - `rule-id` key-value pairs providing object expiration information. The - value of the `rule-id` is URL-encoded. - - Note: - Object expiration information is not returned in directory buckets and - this header returns the value \"`NotImplemented`\" in all responses for - directory buckets. - """ - restore: str | None = ... - """ - Provides information about object restoration action and expiration time - of the restored object copy. - - Note: - This functionality is not supported for directory buckets. Directory - buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone storage - class) in Availability Zones and `ONEZONE_IA` (the S3 One - Zone-Infrequent Access storage class) in Dedicated Local Zones. - """ - last_modified: datetime | None = ... - """ - Date and time when the object was last modified. - - **General purpose buckets** - When you specify a `versionId` of the - object in your request, if the specified version in the request is a - delete marker, the response returns a `405 Method Not Allowed` error and - the `Last-Modified: timestamp` response header. - """ - content_length: int | None = ... - """Size of the body in bytes.""" - e_tag: str | None = ... - """ - An entity tag (ETag) is an opaque identifier assigned by a web server to - a specific version of a resource found at a URL. - """ - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32` checksum of the object. This checksum - is only present if the checksum was uploaded with the object. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the object. This - checksum is only present if the checksum was uploaded with the object. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum - is only present if the checksum was uploaded with the object. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum - is only present if the checksum was uploaded with the object. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_type: str | None = ... - """ - The checksum type, which determines how part-level checksums are - combined to create an object-level checksum for multipart objects. You - can use this header response to verify that the checksum type that is - received is the same checksum type that was specified in the - `CreateMultipartUpload` request. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - missing_meta: int | None = ... - """ - This is set to the number of metadata entries not returned in the - headers that are prefixed with `x-amz-meta-`. This can happen if you - create metadata using an API like SOAP that supports more flexible - metadata than the REST API. For example, using SOAP, you can create - metadata whose values are not legal HTTP headers. - - Note: - This functionality is not supported for directory buckets. - """ - version_id: str | None = ... - """ - Version ID of the object. - - Note: - This functionality is not supported for directory buckets. - """ - cache_control: str | None = ... - """Specifies caching behavior along the request/reply chain.""" - content_disposition: str | None = ... - """Specifies presentational information for the object.""" - content_encoding: str | None = ... - """ - Indicates what content encodings have been applied to the object and - thus what decoding mechanisms must be applied to obtain the media-type - referenced by the Content-Type header field. - """ - content_language: str | None = ... - """The language the content is in.""" - content_range: str | None = ... - """The portion of the object returned in the response.""" - content_type: str | None = ... - """A standard MIME type describing the format of the object data.""" - expires: str | None = ... - """The date and time at which the object is no longer cacheable.""" - website_redirect_location: str | None = ... - """ - If the bucket is configured as a website, redirects requests for this - object to another object in the same bucket or to an external URL. - Amazon S3 stores the value of this header in the object metadata. - - Note: - This functionality is not supported for directory buckets. - """ - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when you store this object in - Amazon S3 or Amazon FSx. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - metadata: dict[str, str] | None = ... - """A map of metadata to store with the object in S3.""" - sse_customer_algorithm: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to confirm the - encryption algorithm that's used. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to provide the - round-trip message integrity verification of the customer-provided - encryption key. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - If present, indicates the ID of the KMS key that was used for object - encryption. - """ - bucket_key_enabled: bool | None = ... - """ - Indicates whether the object uses an S3 Bucket Key for server-side - encryption with Key Management Service (KMS) keys (SSE-KMS). - """ - storage_class: str | None = ... - """ - Provides storage class information of the object. Amazon S3 returns this - header for all objects except for S3 Standard storage class objects. - - Note: - **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` - (the S3 Express One Zone storage class) in Availability Zones and - `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in - Dedicated Local Zones. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - replication_status: str | None = ... - """ - Amazon S3 can return this if your request involves a bucket that is - either a source or destination in a replication rule. - - Note: - This functionality is not supported for directory buckets. - """ - parts_count: int | None = ... - """ - The count of parts this object has. This value is only returned if you - specify `partNumber` in your request and the object was uploaded as a - multipart upload. - """ - tag_count: int | None = ... - """ - The number of tags, if any, on the object, when you have the relevant - permission to read object tags. - - You can use - [GetObjectTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) - to retrieve the tag set associated with an object. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_mode: str | None = ... - """ - The Object Lock mode that's currently in place for this object. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_retain_until_date: datetime | None = ... - """ - The date and time when this object's Object Lock will expire. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_legal_hold_status: str | None = ... - """ - Indicates whether this object has an active legal hold. This field is - only returned if you have permission to view an object's legal hold - status. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold: str | None = ... - """ - The event hold status for this object. This header is only returned if - the requester has the `s3:GetObjectRetention` permission. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_days: int | None = ... - """ - The event hold duration in days for this object. Only returned when the - event hold is enabled. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_years: int | None = ... - """ - The event hold duration in years for this object. Only returned when the - event hold is enabled. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetObjectRetentionInput(_SerdeShape): - """Dataclass for GetObjectRetentionInput structure.""" - - bucket: str | None = ... - """ - The bucket name containing the object whose retention settings you want - to retrieve. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """ - The key name for the object whose retention settings you want to - retrieve. - """ - version_id: str | None = ... - """ - The version ID for the object whose retention settings you want to - retrieve. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetObjectRetentionOutput(_SerdeShape): - """Dataclass for GetObjectRetentionOutput structure.""" - - retention: ObjectLockRetention | None = ... - """The container element for an object's retention settings.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetObjectTaggingInput(_SerdeShape): - """Dataclass for GetObjectTaggingInput structure.""" - - bucket: str | None = ... - """ - The bucket name containing the object for which to get the tagging - information. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """Object key for which to get the tagging information.""" - version_id: str | None = ... - """The versionId of the object for which to get the tagging information.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - -@dataclass(kw_only=True) -class GetObjectTaggingOutput(_SerdeShape): - """Dataclass for GetObjectTaggingOutput structure.""" - - version_id: str | None = ... - """The versionId of the object for which you got the tagging information.""" - tag_set: list[Tag] - """Contains the tag set.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetObjectTorrentInput(_SerdeShape): - """Dataclass for GetObjectTorrentInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket containing the object for which to get the - torrent files. - """ - key: str | None = ... - """The object key for which to get the information.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetObjectTorrentOutput(_SerdeShape): - """Dataclass for GetObjectTorrentOutput structure.""" - - body: StreamingBlob = ... - """A Bencoded dictionary as defined by the BitTorrent specification""" - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GetPublicAccessBlockInput(_SerdeShape): - """Dataclass for GetPublicAccessBlockInput structure.""" - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket whose `PublicAccessBlock` configuration - you want to retrieve. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class GetPublicAccessBlockOutput(_SerdeShape): - """Dataclass for GetPublicAccessBlockOutput structure.""" - - public_access_block_configuration: PublicAccessBlockConfiguration | None = ... - """ - The `PublicAccessBlock` configuration currently in effect for this - Amazon S3 bucket. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class GlacierJobParameters(_SerdeShape): - """Container for S3 Glacier job parameters.""" - - tier: str - """Retrieval tier at which the restore will be processed.""" - -@dataclass(kw_only=True) -class Grant(_SerdeShape): - """Container for grant information.""" - - grantee: Grantee | None = ... - """The person being granted permissions.""" - permission: str | None = ... - """Specifies the permission given to the grantee.""" - -@dataclass(kw_only=True) -class Grantee(_SerdeShape): - """Container for the person being granted permissions.""" - - display_name: str | None = ... - """""" - email_address: str | None = ... - """""" - id: str | None = ... - """The canonical user ID of the grantee.""" - uri: str | None = ... - """URI of the grantee group.""" - type: str - """Type of grantee""" - -@dataclass(kw_only=True) -class HeadBucketInput(_SerdeShape): - """Dataclass for HeadBucketInput structure.""" - - bucket: str | None = ... - """ - The bucket name. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - **Object Lambda access points** - When you use this API operation with - an Object Lambda access point, provide the alias of the Object Lambda - access point in place of the bucket name. If the Object Lambda access - point alias in a request is not valid, the error code - `InvalidAccessPointAliasError` is returned. For more information about - `InvalidAccessPointAliasError`, see [List of Error - Codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class HeadBucketOutput(_SerdeShape): - """Dataclass for HeadBucketOutput structure.""" - - bucket_arn: str | None = ... - """ - The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify - Amazon Web Services resources across all of Amazon Web Services. - - Note: - This parameter is only supported for S3 directory buckets. For more - information, see [Using tags with directory - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html). - """ - bucket_location_type: str | None = ... - """ - The type of location where the bucket is created. - - Note: - This functionality is only supported by directory buckets. - """ - bucket_location_name: str | None = ... - """ - The name of the location where the bucket will be created. - - For directory buckets, the Zone ID of the Availability Zone or the Local - Zone where the bucket is created. An example Zone ID value for an - Availability Zone is `usw2-az1`. - - Note: - This functionality is only supported by directory buckets. - """ - bucket_region: str | None = ... - """The Region that the bucket is located.""" - access_point_alias: bool | None = ... - """ - Indicates whether the bucket name used in the request is an access point - alias. - - Note: - For directory buckets, the value of this field is `false`. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class HeadObjectInput(_SerdeShape): - """Dataclass for HeadObjectInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket that contains the object. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - if_match: str | None = ... - """ - Return the object only if its entity tag (ETag) is the same as the one - specified; otherwise, return a 412 (precondition failed) error. - - If both of the `If-Match` and `If-Unmodified-Since` headers are present - in the request as follows: - - - `If-Match` condition evaluates to `true`, and; - - - `If-Unmodified-Since` condition evaluates to `false`; - - Then Amazon S3 returns `200 OK` and the data requested. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - if_modified_since: datetime | None = ... - """ - Return the object only if it has been modified since the specified time; - otherwise, return a 304 (not modified) error. - - If both of the `If-None-Match` and `If-Modified-Since` headers are - present in the request as follows: - - - `If-None-Match` condition evaluates to `false`, and; - - - `If-Modified-Since` condition evaluates to `true`; - - Then Amazon S3 returns the `304 Not Modified` response code. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - if_none_match: str | None = ... - """ - Return the object only if its entity tag (ETag) is different from the - one specified; otherwise, return a 304 (not modified) error. - - If both of the `If-None-Match` and `If-Modified-Since` headers are - present in the request as follows: - - - `If-None-Match` condition evaluates to `false`, and; - - - `If-Modified-Since` condition evaluates to `true`; - - Then Amazon S3 returns the `304 Not Modified` response code. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - if_unmodified_since: datetime | None = ... - """ - Return the object only if it has not been modified since the specified - time; otherwise, return a 412 (precondition failed) error. - - If both of the `If-Match` and `If-Unmodified-Since` headers are present - in the request as follows: - - - `If-Match` condition evaluates to `true`, and; - - - `If-Unmodified-Since` condition evaluates to `false`; - - Then Amazon S3 returns `200 OK` and the data requested. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232). - """ - key: str | None = ... - """The object key.""" - range: str | None = ... - """ - HeadObject returns only the metadata for an object. If the Range is - satisfiable, only the `ContentLength` is affected in the response. If - the Range is not satisfiable, S3 returns a - `416 - Requested Range Not Satisfiable` error. - """ - response_cache_control: str | None = ... - """Sets the `Cache-Control` header of the response.""" - response_content_disposition: str | None = ... - """Sets the `Content-Disposition` header of the response.""" - response_content_encoding: str | None = ... - """Sets the `Content-Encoding` header of the response.""" - response_content_language: str | None = ... - """Sets the `Content-Language` header of the response.""" - response_content_type: str | None = ... - """Sets the `Content-Type` header of the response.""" - response_expires: datetime | None = ... - """Sets the `Expires` header of the response.""" - version_id: str | None = ... - """ - Version ID used to reference a specific version of the object. - - Note: - For directory buckets in this API operation, only the `null` value of - the version ID is supported. - """ - sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when encrypting the object (for example, - AES256). - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key for Amazon S3 to use in - encrypting data. This value is used to store the object and then it is - discarded; Amazon S3 does not store the encryption key. The key must be - appropriate for use with the algorithm specified in the - `x-amz-server-side-encryption-customer-algorithm` header. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the encryption key according to RFC - 1321. Amazon S3 uses this header for a message integrity check to ensure - that the encryption key was transmitted without error. - - Note: - This functionality is not supported for directory buckets. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - part_number: int | None = ... - """ - Part number of the object being read. This is a positive integer between - 1 and 10,000. Effectively performs a 'ranged' HEAD request for the - part specified. Useful querying about the size of the part and the - number of parts in this object. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - checksum_mode: str | None = ... - """ - To retrieve the checksum, this parameter must be enabled. - - **General purpose buckets** - If you enable checksum mode and the object - is uploaded with a - [checksum](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html) - and encrypted with an Key Management Service (KMS) key, you must have - permission to use the `kms:Decrypt` action to retrieve the checksum. - - **Directory buckets** - If you enable `ChecksumMode` and the object is - encrypted with Amazon Web Services Key Management Service (Amazon Web - Services KMS), you must also have the `kms:GenerateDataKey` and - `kms:Decrypt` permissions in IAM identity-based policies and KMS key - policies for the KMS key to retrieve the checksum of the object. - """ - -@dataclass(kw_only=True) -class HeadObjectOutput(_SerdeShape): - """Dataclass for HeadObjectOutput structure.""" - - delete_marker: bool | None = ... - """ - Specifies whether the object retrieved was (true) or was not (false) a - Delete Marker. If false, this response header does not appear in the - response. - - Note: - This functionality is not supported for directory buckets. - """ - accept_ranges: str | None = ... - """Indicates that a range of bytes was specified.""" - expiration: str | None = ... - """ - If the object expiration is configured (see - [`PutBucketLifecycleConfiguration`](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) - ), the response includes this header. It includes the `expiry-date` and - `rule-id` key-value pairs providing object expiration information. The - value of the `rule-id` is URL-encoded. - - Note: - Object expiration information is not returned in directory buckets and - this header returns the value \"`NotImplemented`\" in all responses for - directory buckets. - """ - restore: str | None = ... - """ - If the object is an archived object (an object whose storage class is - GLACIER), the response includes this header if either the archive - restoration is in progress (see - [RestoreObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html) - or an archive copy is already restored. - - If an archive copy is already restored, the header value indicates when - Amazon S3 is scheduled to delete the object copy. For example: - - `x-amz-restore: ongoing-request="false", expiry-date="Fri, 21 Dec 2012 00:00:00 GMT"` - - If the object restoration is in progress, the header returns the value - `ongoing-request="true"`. - - For more information about archiving objects, see [Transitioning - Objects: General - Considerations](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-transition-general-considerations). - - Note: - This functionality is not supported for directory buckets. Directory - buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone storage - class) in Availability Zones and `ONEZONE_IA` (the S3 One - Zone-Infrequent Access storage class) in Dedicated Local Zones. - """ - archive_status: str | None = ... - """ - The archive state of the head object. - - Note: - This functionality is not supported for directory buckets. - """ - last_modified: datetime | None = ... - """Date and time when the object was last modified.""" - content_length: int | None = ... - """Size of the body in bytes.""" - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32 checksum` of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use an API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the object. This - checksum is only present if the checksum was uploaded with the object. - When you use an API operation on an object that was uploaded using - multipart uploads, this value may not be a direct checksum value of the - full object. Instead, it's a calculation based on the checksum values - of each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use the API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use an API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the object. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_type: str | None = ... - """ - The checksum type, which determines how part-level checksums are - combined to create an object-level checksum for multipart objects. You - can use this header response to verify that the checksum type that is - received is the same checksum type that was specified in - `CreateMultipartUpload` request. For more information, see [Checking - object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - e_tag: str | None = ... - """ - An entity tag (ETag) is an opaque identifier assigned by a web server to - a specific version of a resource found at a URL. - """ - missing_meta: int | None = ... - """ - This is set to the number of metadata entries not returned in - `x-amz-meta` headers. This can happen if you create metadata using an - API like SOAP that supports more flexible metadata than the REST API. - For example, using SOAP, you can create metadata whose values are not - legal HTTP headers. - - Note: - This functionality is not supported for directory buckets. - """ - version_id: str | None = ... - """ - Version ID of the object. - - Note: - This functionality is not supported for directory buckets. - """ - cache_control: str | None = ... - """Specifies caching behavior along the request/reply chain.""" - content_disposition: str | None = ... - """Specifies presentational information for the object.""" - content_encoding: str | None = ... - """ - Indicates what content encodings have been applied to the object and - thus what decoding mechanisms must be applied to obtain the media-type - referenced by the Content-Type header field. - """ - content_language: str | None = ... - """The language the content is in.""" - content_type: str | None = ... - """A standard MIME type describing the format of the object data.""" - content_range: str | None = ... - """The portion of the object returned in the response for a `GET` request.""" - expires: str | None = ... - """The date and time at which the object is no longer cacheable.""" - website_redirect_location: str | None = ... - """ - If the bucket is configured as a website, redirects requests for this - object to another object in the same bucket or to an external URL. - Amazon S3 stores the value of this header in the object metadata. - - Note: - This functionality is not supported for directory buckets. - """ - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when you store this object in - Amazon S3 or Amazon FSx. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - metadata: dict[str, str] | None = ... - """A map of metadata to store with the object in S3.""" - sse_customer_algorithm: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to confirm the - encryption algorithm that's used. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to provide the - round-trip message integrity verification of the customer-provided - encryption key. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - If present, indicates the ID of the KMS key that was used for object - encryption. - """ - bucket_key_enabled: bool | None = ... - """ - Indicates whether the object uses an S3 Bucket Key for server-side - encryption with Key Management Service (KMS) keys (SSE-KMS). - """ - storage_class: str | None = ... - """ - Provides storage class information of the object. Amazon S3 returns this - header for all objects except for S3 Standard storage class objects. - - For more information, see [Storage - Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html). - - Note: - **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` - (the S3 Express One Zone storage class) in Availability Zones and - `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in - Dedicated Local Zones. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - replication_status: str | None = ... - """ - Amazon S3 can return this header if your request involves a bucket that - is either a source or a destination in a replication rule. - - In replication, you have a source bucket on which you configure - replication and destination bucket or buckets where Amazon S3 stores - object replicas. When you request an object (`GetObject`) or object - metadata (`HeadObject`) from these buckets, Amazon S3 will return the - `x-amz-replication-status` header in the response as follows: - - - **If requesting an object from the source bucket**, Amazon S3 will - return the `x-amz-replication-status` header if the object in your - request is eligible for replication. - - For example, suppose that in your replication configuration, you - specify object prefix `TaxDocs` requesting Amazon S3 to replicate - objects with key prefix `TaxDocs`. Any objects you upload with this - key name prefix, for example `TaxDocs/document1.pdf`, are eligible for - replication. For any object request with this key name prefix, Amazon - S3 will return the `x-amz-replication-status` header with value - PENDING, COMPLETED or FAILED indicating object replication status. - - - **If requesting an object from a destination bucket**, Amazon S3 will - return the `x-amz-replication-status` header with value REPLICA if the - object in your request is a replica that Amazon S3 created and there - is no replica modification replication in progress. - - - **When replicating objects to multiple destination buckets**, the - `x-amz-replication-status` header acts differently. The header of the - source object will only return a value of COMPLETED when replication - is successful to all destinations. The header will remain at value - PENDING until replication has completed for all destinations. If one - or more destinations fails replication the header will return FAILED. - - For more information, see - [Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html). - - Note: - This functionality is not supported for directory buckets. - """ - parts_count: int | None = ... - """ - The count of parts this object has. This value is only returned if you - specify `partNumber` in your request and the object was uploaded as a - multipart upload. - """ - tag_count: int | None = ... - """ - The number of tags, if any, on the object, when you have the relevant - permission to read object tags. - - You can use - [GetObjectTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) - to retrieve the tag set associated with an object. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_mode: str | None = ... - """ - The Object Lock mode, if any, that's in effect for this object. This - header is only returned if the requester has the `s3:GetObjectRetention` - permission. For more information about S3 Object Lock, see [Object - Lock](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_retain_until_date: datetime | None = ... - """ - The date and time when the Object Lock retention period expires. This - header is only returned if the requester has the `s3:GetObjectRetention` - permission. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_legal_hold_status: str | None = ... - """ - Specifies whether a legal hold is in effect for this object. This header - is only returned if the requester has the `s3:GetObjectLegalHold` - permission. This header is not returned if the specified version of this - object has never had a legal hold applied. For more information about S3 - Object Lock, see [Object - Lock](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold: str | None = ... - """ - The event hold status for this object. This header is only returned if - the requester has the `s3:GetObjectRetention` permission. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_days: int | None = ... - """ - The event hold duration in days for this object. Only returned when the - event hold is enabled. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_years: int | None = ... - """ - The event hold duration in years for this object. Only returned when the - event hold is enabled. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IdempotencyParameterMismatch(ServiceError, _SerdeShape): - """ - Parameters on this idempotent request are inconsistent with parameters - used in previous request(s). - - For a list of error codes and more information on Amazon S3 errors, see - [Error - codes](https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList). - - Note: - Idempotency ensures that an API request completes no more than one time. - With an idempotent request, if the original request completes - successfully, any subsequent retries complete successfully without - performing any further actions. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class IndexDocument(_SerdeShape): - """Container for the `Suffix` element.""" - - suffix: str - """ - A suffix that is appended to a request that is for a directory on the - website endpoint. (For example, if the suffix is `index.html` and you - make a request to `samplebucket/images/`, the data that is returned will - be for the object with the key name `images/index.html`.) The suffix - must not be empty and must not include a slash character. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - -@dataclass(kw_only=True) -class Initiator(_SerdeShape): - """Container element that identifies who initiated the multipart upload.""" - - id: str | None = ... - """ - If the principal is an Amazon Web Services account, it provides the - Canonical User ID. If the principal is an IAM User, it provides a user - ARN value. - - Note: - **Directory buckets** - If the principal is an Amazon Web Services - account, it provides the Amazon Web Services account ID. If the - principal is an IAM User, it provides a user ARN value. - """ - display_name: str | None = ... - """ - Note: - This functionality is not supported for directory buckets. - """ - -@dataclass(kw_only=True) -class InputSerialization(_SerdeShape): - """Describes the serialization format of the object.""" - - csv: CSVInput | None = ... - """Describes the serialization of a CSV-encoded object.""" - compression_type: str | None = ... - """ - Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. - Default Value: NONE. - """ - json: JSONInput | None = ... - """Specifies JSON as object's input serialization format.""" - parquet: ParquetInput | None = ... - """Specifies Parquet as object's input serialization format.""" - -class IntelligentTieringAccessTier(UnknownEnumMixin, StrEnum): - ARCHIVE_ACCESS = "ARCHIVE_ACCESS" - DEEP_ARCHIVE_ACCESS = "DEEP_ARCHIVE_ACCESS" - -@dataclass(kw_only=True) -class IntelligentTieringAndOperator(_SerdeShape): - """ - A container for specifying S3 Intelligent-Tiering filters. The filters - determine the subset of objects to which the rule applies. - """ - - prefix: str | None = ... - """ - An object key name prefix that identifies the subset of objects to which - the configuration applies. - """ - tags: list[Tag] | None = ... - """ - All of these tags must exist in the object's tag set in order for the - configuration to apply. - """ - -@dataclass(kw_only=True) -class IntelligentTieringConfiguration(_SerdeShape): - """ - Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 - bucket. - - For information about the S3 Intelligent-Tiering storage class, see - [Storage class for automatically optimizing frequently and infrequently - accessed - objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access). - """ - - id: str - """The ID used to identify the S3 Intelligent-Tiering configuration.""" - filter: IntelligentTieringFilter | None = ... - """ - Specifies a bucket filter. The configuration only includes objects that - meet the filter's criteria. - """ - status: str - """Specifies the status of the configuration.""" - tierings: list[Tiering] - """ - Specifies the S3 Intelligent-Tiering storage class tier of the - configuration. - """ - -@dataclass(kw_only=True) -class IntelligentTieringFilter(_SerdeShape): - """ - The `Filter` is used to identify objects that the S3 Intelligent-Tiering - configuration applies to. - """ - - prefix: str | None = ... - """ - An object key name prefix that identifies the subset of objects to which - the rule applies. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - tag: Tag | None = ... - """A container of a key value name pair.""" - and_: IntelligentTieringAndOperator | None = ... - """ - A conjunction (logical AND) of predicates, which is used in evaluating a - metrics filter. The operator must have at least two predicates, and an - object must match all of the predicates in order for the filter to - apply. - """ - -class IntelligentTieringStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -@dataclass(kw_only=True) -class InvalidAnnotationName(ServiceError, _SerdeShape): - """The annotation name you provided is invalid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidObjectState(ServiceError, _SerdeShape): - """ - Object is archived and inaccessible until restored. - - If the object you are retrieving is stored in the S3 Glacier Flexible - Retrieval storage class, the S3 Glacier Deep Archive storage class, the - S3 Intelligent-Tiering Archive Access tier, or the S3 - Intelligent-Tiering Deep Archive Access tier, before you can retrieve - the object you must first restore a copy using - [RestoreObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html). - Otherwise, this operation returns an `InvalidObjectState` error. For - information about restoring archived objects, see [Restoring Archived - Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html) - in the *Amazon S3 User Guide*. - """ - - storage_class: str | None = ... - access_tier: str | None = ... - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidPrefix(ServiceError, _SerdeShape): - """The annotation prefix you provided is invalid.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidRequest(ServiceError, _SerdeShape): - """ - A parameter or header in your request isn't valid. For details, see the - description of this API operation. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InvalidWriteOffset(ServiceError, _SerdeShape): - """ - The write offset value that you specified does not match the current - object size. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class InventoryConfiguration(_SerdeShape): - """ - Specifies the S3 Inventory configuration for an Amazon S3 bucket. For - more information, see [GET Bucket - inventory](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html) - in the *Amazon S3 API Reference*. - """ - - destination: InventoryDestination - """Contains information about where to publish the inventory results.""" - is_enabled: bool - """ - Specifies whether the inventory is enabled or disabled. If set to - `True`, an inventory list is generated. If set to `False`, no inventory - list is generated. - """ - filter: InventoryFilter | None = ... - """ - Specifies an inventory filter. The inventory only includes objects that - meet the filter's criteria. - """ - id: str - """The ID used to identify the inventory configuration.""" - included_object_versions: str - """ - Object versions to include in the inventory list. If set to `All`, the - list includes all the object versions, which adds the version-related - fields `VersionId`, `IsLatest`, and `DeleteMarker` to the list. If set - to `Current`, the list does not contain these version-related fields. - """ - optional_fields: list[str] | None = ... - """ - Contains the optional fields that are included in the inventory results. - - Note: - The following optional fields are supported for directory buckets - `Size | LastModifiedDate | StorageClass | ETag | IsMultipartUploaded | EncryptionStatus | BucketKeyStatus | ChecksumAlgorithm | LifecycleExpirationDate.` - Throws MalformedXML error if unsupported optional field is provided. - """ - schedule: InventorySchedule - """Specifies the schedule for generating inventory results.""" - -class InventoryConfigurationState(UnknownEnumMixin, StrEnum): - ENABLED = "ENABLED" - DISABLED = "DISABLED" - -@dataclass(kw_only=True) -class InventoryDestination(_SerdeShape): - """Specifies the S3 Inventory configuration for an Amazon S3 bucket.""" - - s3_bucket_destination: InventoryS3BucketDestination - """ - Contains the bucket name, file format, bucket owner (optional), and - prefix (optional) where inventory results are published. - """ - -@dataclass(kw_only=True) -class InventoryEncryption(_SerdeShape): - """ - Contains the type of server-side encryption used to encrypt the S3 - Inventory results. - """ - - sses3: SSES3 | None = ... - """Specifies the use of SSE-S3 to encrypt delivered inventory reports.""" - ssekms: SSEKMS | None = ... - """Specifies the use of SSE-KMS to encrypt delivered inventory reports.""" - -@dataclass(kw_only=True) -class InventoryFilter(_SerdeShape): - """ - Specifies an S3 Inventory filter. The inventory only includes objects - that meet the filter's criteria. - """ - - prefix: str - """ - The prefix that an object must have to be included in the inventory - results. - """ - -class InventoryFormat(UnknownEnumMixin, StrEnum): - CSV = "CSV" - ORC = "ORC" - PARQUET = "Parquet" - -class InventoryFrequency(UnknownEnumMixin, StrEnum): - DAILY = "Daily" - WEEKLY = "Weekly" - -class InventoryIncludedObjectVersions(UnknownEnumMixin, StrEnum): - ALL = "All" - CURRENT = "Current" - -class InventoryOptionalField(UnknownEnumMixin, StrEnum): - SIZE = "Size" - LAST_MODIFIED_DATE = "LastModifiedDate" - STORAGE_CLASS = "StorageClass" - E_TAG = "ETag" - IS_MULTIPART_UPLOADED = "IsMultipartUploaded" - REPLICATION_STATUS = "ReplicationStatus" - ENCRYPTION_STATUS = "EncryptionStatus" - OBJECT_LOCK_RETAIN_UNTIL_DATE = "ObjectLockRetainUntilDate" - OBJECT_LOCK_MODE = "ObjectLockMode" - OBJECT_LOCK_LEGAL_HOLD_STATUS = "ObjectLockLegalHoldStatus" - OBJECT_LOCK_EVENT_HOLD_STATUS = "ObjectLockEventHoldStatus" - OBJECT_LOCK_EVENT_HOLD_DURATION = "ObjectLockEventHoldDuration" - INTELLIGENT_TIERING_ACCESS_TIER = "IntelligentTieringAccessTier" - BUCKET_KEY_STATUS = "BucketKeyStatus" - CHECKSUM_ALGORITHM = "ChecksumAlgorithm" - OBJECT_ACCESS_CONTROL_LIST = "ObjectAccessControlList" - OBJECT_OWNER = "ObjectOwner" - LIFECYCLE_EXPIRATION_DATE = "LifecycleExpirationDate" - INTELLIGENT_TIERING_REFERENCE_DATE = "IntelligentTieringReferenceDate" - -@dataclass(kw_only=True) -class InventoryS3BucketDestination(_SerdeShape): - """ - Contains the bucket name, file format, bucket owner (optional), and - prefix (optional) where S3 Inventory results are published. - """ - - account_id: str | None = ... - """ - The account ID that owns the destination S3 bucket. If no account ID is - provided, the owner is not validated before exporting data. - - Note: - Although this value is optional, we strongly recommend that you set it - to help prevent problems if the destination bucket ownership changes. - """ - bucket: str - """ - The Amazon Resource Name (ARN) of the bucket where inventory results - will be published. - """ - format: str - """Specifies the output format of the inventory results.""" - prefix: str | None = ... - """The prefix that is prepended to all inventory results.""" - encryption: InventoryEncryption | None = ... - """ - Contains the type of server-side encryption used to encrypt the - inventory results. - """ - -@dataclass(kw_only=True) -class InventorySchedule(_SerdeShape): - """Specifies the schedule for generating S3 Inventory results.""" - - frequency: str - """Specifies how frequently inventory results are produced.""" - -@dataclass(kw_only=True) -class InventoryTableConfiguration(_SerdeShape): - """The inventory table configuration for an S3 Metadata configuration.""" - - configuration_state: str - """ - The configuration state of the inventory table, indicating whether the - inventory table is enabled or disabled. - """ - encryption_configuration: MetadataTableEncryptionConfiguration | None = ... - """The encryption configuration for the inventory table.""" - -@dataclass(kw_only=True) -class InventoryTableConfigurationResult(_SerdeShape): - """The inventory table configuration for an S3 Metadata configuration.""" - - configuration_state: str - """ - The configuration state of the inventory table, indicating whether the - inventory table is enabled or disabled. - """ - table_status: str | None = ... - """ - The status of the inventory table. The status values are: - - - `CREATING` - The inventory table is in the process of being created in - the specified Amazon Web Services managed table bucket. - - - `BACKFILLING` - The inventory table is in the process of being - backfilled. When you enable the inventory table for your metadata - configuration, the table goes through a process known as backfilling, - during which Amazon S3 scans your general purpose bucket to retrieve - the initial metadata for all objects in the bucket. Depending on the - number of objects in your bucket, this process can take several hours. - When the backfilling process is finished, the status of your inventory - table changes from `BACKFILLING` to `ACTIVE`. After backfilling is - completed, updates to your objects are reflected in the inventory - table within one hour. - - - `ACTIVE` - The inventory table has been created successfully, and - records are being delivered to the table. - - - `FAILED` - Amazon S3 is unable to create the inventory table, or - Amazon S3 is unable to deliver records. - """ - error: ErrorDetails | None = ... - """ - If an S3 Metadata V1 `CreateBucketMetadataTableConfiguration` or V2 - `CreateBucketMetadataConfiguration` request succeeds, but S3 Metadata - was unable to create the table, this structure contains the error code - and error message. - - Note: - If you created your S3 Metadata configuration before July 15, 2025, we - recommend that you delete and re-create your configuration by using - [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) - so that you can expire journal table records and create a live inventory - table. - """ - table_name: str | None = ... - """The name of the inventory table.""" - table_arn: str | None = ... - """The Amazon Resource Name (ARN) for the inventory table.""" - -@dataclass(kw_only=True) -class InventoryTableConfigurationUpdates(_SerdeShape): - """The specified updates to the S3 Metadata inventory table configuration.""" - - configuration_state: str - """ - The configuration state of the inventory table, indicating whether the - inventory table is enabled or disabled. - """ - encryption_configuration: MetadataTableEncryptionConfiguration | None = ... - """The encryption configuration for the inventory table.""" - -@dataclass(kw_only=True) -class JournalTableConfiguration(_SerdeShape): - """The journal table configuration for an S3 Metadata configuration.""" - - record_expiration: RecordExpiration - """The journal table record expiration settings for the journal table.""" - encryption_configuration: MetadataTableEncryptionConfiguration | None = ... - """The encryption configuration for the journal table.""" - -@dataclass(kw_only=True) -class JournalTableConfigurationResult(_SerdeShape): - """The journal table configuration for the S3 Metadata configuration.""" - - table_status: str - """ - The status of the journal table. The status values are: - - - `CREATING` - The journal table is in the process of being created in - the specified table bucket. - - - `ACTIVE` - The journal table has been created successfully, and - records are being delivered to the table. - - - `FAILED` - Amazon S3 is unable to create the journal table, or Amazon - S3 is unable to deliver records. - """ - error: ErrorDetails | None = ... - """ - If an S3 Metadata V1 `CreateBucketMetadataTableConfiguration` or V2 - `CreateBucketMetadataConfiguration` request succeeds, but S3 Metadata - was unable to create the table, this structure contains the error code - and error message. - - Note: - If you created your S3 Metadata configuration before July 15, 2025, we - recommend that you delete and re-create your configuration by using - [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) - so that you can expire journal table records and create a live inventory - table. - """ - table_name: str - """The name of the journal table.""" - table_arn: str | None = ... - """The Amazon Resource Name (ARN) for the journal table.""" - record_expiration: RecordExpiration - """The journal table record expiration settings for the journal table.""" - -@dataclass(kw_only=True) -class JournalTableConfigurationUpdates(_SerdeShape): - """The specified updates to the S3 Metadata journal table configuration.""" - - record_expiration: RecordExpiration - """The journal table record expiration settings for the journal table.""" - -@dataclass(kw_only=True) -class JSONInput(_SerdeShape): - """Specifies JSON as object's input serialization format.""" - - type: str | None = ... - """The type of JSON. Valid values: Document, Lines.""" - -@dataclass(kw_only=True) -class JSONOutput(_SerdeShape): - """Specifies JSON as request's output serialization format.""" - - record_delimiter: str | None = ... - """ - The value used to separate individual records in the output. If no value - is specified, Amazon S3 uses a newline character ('\\n'). - """ - -class JSONType(UnknownEnumMixin, StrEnum): - DOCUMENT = "DOCUMENT" - LINES = "LINES" - -@dataclass(kw_only=True) -class LambdaFunctionConfiguration(_SerdeShape): - """A container for specifying the configuration for Lambda notifications.""" - - id: str | None = ... - """ - An optional unique identifier for configurations in a notification - configuration. If you don't provide one, Amazon S3 will assign an ID. - """ - lambda_function_arn: str - """ - The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 - invokes when the specified event type occurs. - """ - events: list[str] - """ - The Amazon S3 bucket event for which to invoke the Lambda function. For - more information, see [Supported Event - Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) - in the *Amazon S3 User Guide*. - """ - filter: NotificationConfigurationFilter | None = ... - """ - Specifies object key name filtering rules. For information about key - name filtering, see [Configuring event notifications using object key - name - filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) - in the *Amazon S3 User Guide*. - """ - -@dataclass(kw_only=True) -class LifecycleExpiration(_SerdeShape): - """ - Container for the expiration for the lifecycle of the object. - - For more information see, [Managing your storage - lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html) - in the *Amazon S3 User Guide*. - """ - - date: datetime | None = ... - """ - Indicates at what date the object is to be moved or deleted. The date - value must conform to the ISO 8601 format. The time is always midnight - UTC. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - days: int | None = ... - """ - Indicates the lifetime, in days, of the objects that are subject to the - rule. The value must be a non-zero positive integer. - """ - expired_object_delete_marker: bool | None = ... - """ - Indicates whether Amazon S3 will remove a delete marker with no - noncurrent versions. If set to true, the delete marker will be expired; - if set to false the policy takes no action. This cannot be specified - with Days or Date in a Lifecycle Expiration Policy. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - -@dataclass(kw_only=True) -class LifecycleRule(_SerdeShape): - """ - A lifecycle rule for individual objects in an Amazon S3 bucket. - - For more information see, [Managing your storage - lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html) - in the *Amazon S3 User Guide*. - """ - - expiration: LifecycleExpiration | None = ... - """ - Specifies the expiration for the lifecycle of the object in the form of - date, days and, whether the object has a delete marker. - """ - id: str | None = ... - """ - Unique identifier for the rule. The value cannot be longer than 255 - characters. - """ - prefix: str | None = ... - """ - The general purpose bucket prefix that identifies one or more objects to - which the rule applies. We recommend using `Filter` instead of `Prefix` - for new PUTs. Previous configurations where a prefix is defined will - continue to operate as before. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - filter: LifecycleRuleFilter | None = ... - """ - The `Filter` is used to identify objects that a Lifecycle Rule applies - to. A `Filter` must have exactly one of `Prefix`, `Tag`, - `ObjectSizeGreaterThan`, `ObjectSizeLessThan`, or `And` specified. - `Filter` is required if the `LifecycleRule` does not contain a `Prefix` - element. - - For more information about `Tag` filters, see [Adding filters to - Lifecycle - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-filters.html) - in the *Amazon S3 User Guide*. - - Note: - `Tag` filters are not supported for directory buckets. - """ - status: str - """ - If 'Enabled', the rule is currently being applied. If 'Disabled', - the rule is not currently being applied. - """ - transitions: list[Transition] | None = ... - """ - Specifies when an Amazon S3 object transitions to a specified storage - class. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - noncurrent_version_transitions: list[NoncurrentVersionTransition] | None = ... - """ - Specifies the transition rule for the lifecycle rule that describes when - noncurrent objects transition to a specific storage class. If your - bucket is versioning-enabled (or versioning is suspended), you can set - this action to request that Amazon S3 transition noncurrent object - versions to a specific storage class at a set period in the object's - lifetime. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - noncurrent_version_expiration: NoncurrentVersionExpiration | None = ... - """ - Specifies when noncurrent object versions expire. Upon expiration, - Amazon S3 permanently deletes the noncurrent object versions. You set - this lifecycle configuration action on a bucket that has versioning - enabled (or suspended) to request that Amazon S3 delete noncurrent - object versions at a specific period in the object's lifetime. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - abort_incomplete_multipart_upload: AbortIncompleteMultipartUpload | None = ... - """ - Specifies the days since the initiation of an incomplete multipart - upload that Amazon S3 will wait before permanently removing all parts of - the upload. For more information, see [Aborting Incomplete Multipart - Uploads Using a Bucket Lifecycle - Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) - in the *Amazon S3 User Guide*. - """ - -@dataclass(kw_only=True) -class LifecycleRuleAndOperator(_SerdeShape): - """ - This is used in a Lifecycle Rule Filter to apply a logical AND to two or - more predicates. The Lifecycle Rule will apply to any object matching - all of the predicates configured inside the And operator. - """ - - prefix: str | None = ... - """Prefix identifying one or more objects to which the rule applies.""" - tags: list[Tag] | None = ... - """ - All of these tags must exist in the object's tag set in order for the - rule to apply. - """ - object_size_greater_than: int | None = ... - """Minimum object size to which the rule applies.""" - object_size_less_than: int | None = ... - """Maximum object size to which the rule applies.""" - -@dataclass(kw_only=True) -class LifecycleRuleFilter(_SerdeShape): - """ - The `Filter` is used to identify objects that a Lifecycle Rule applies - to. A `Filter` can have exactly one of `Prefix`, `Tag`, - `ObjectSizeGreaterThan`, `ObjectSizeLessThan`, or `And` specified. If - the `Filter` element is left empty, the Lifecycle Rule applies to all - objects in the bucket. - """ - - prefix: str | None = ... - """ - Prefix identifying one or more objects to which the rule applies. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - tag: Tag | None = ... - """ - This tag must exist in the object's tag set in order for the rule to - apply. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - object_size_greater_than: int | None = ... - """Minimum object size to which the rule applies.""" - object_size_less_than: int | None = ... - """Maximum object size to which the rule applies.""" - and_: LifecycleRuleAndOperator | None = ... - """ - This is used in a Lifecycle Rule Filter to apply a logical AND to two or - more predicates. The Lifecycle Rule will apply to any object matching - all of the predicates configured inside the And operator. - """ - -@dataclass(kw_only=True) -class ListBucketAnalyticsConfigurationsInput(_SerdeShape): - """Dataclass for ListBucketAnalyticsConfigurationsInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket from which analytics configurations are - retrieved. - """ - continuation_token: str | None = ... - """ - The `ContinuationToken` that represents a placeholder from where this - request should begin. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class ListBucketAnalyticsConfigurationsOutput(_SerdeShape): - """Dataclass for ListBucketAnalyticsConfigurationsOutput structure.""" - - is_truncated: bool | None = ... - """ - Indicates whether the returned list of analytics configurations is - complete. A value of true indicates that the list is not complete and - the NextContinuationToken will be provided for a subsequent request. - """ - continuation_token: str | None = ... - """ - The marker that is used as a starting point for this analytics - configuration list response. This value is present if it was sent in the - request. - """ - next_continuation_token: str | None = ... - """ - `NextContinuationToken` is sent when `isTruncated` is true, which - indicates that there are more analytics configurations to list. The next - request must include this `NextContinuationToken`. The token is - obfuscated and is not a usable value. - """ - analytics_configuration_list: list[AnalyticsConfiguration] | None = ... - """The list of analytics configurations for a bucket.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBucketIntelligentTieringConfigurationsInput(_SerdeShape): - """Dataclass for ListBucketIntelligentTieringConfigurationsInput structure.""" - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket whose configuration you want to modify - or retrieve. - """ - continuation_token: str | None = ... - """ - The `ContinuationToken` that represents a placeholder from where this - request should begin. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class ListBucketIntelligentTieringConfigurationsOutput(_SerdeShape): - """ - Dataclass for ListBucketIntelligentTieringConfigurationsOutput - structure. - """ - - is_truncated: bool | None = ... - """ - Indicates whether the returned list of analytics configurations is - complete. A value of `true` indicates that the list is not complete and - the `NextContinuationToken` will be provided for a subsequent request. - """ - continuation_token: str | None = ... - """ - The `ContinuationToken` that represents a placeholder from where this - request should begin. - """ - next_continuation_token: str | None = ... - """ - The marker used to continue this inventory configuration listing. Use - the `NextContinuationToken` from this response to continue the listing - in a subsequent request. The continuation token is an opaque value that - Amazon S3 understands. - """ - intelligent_tiering_configuration_list: ( - list[IntelligentTieringConfiguration] | None - ) = ... - """The list of S3 Intelligent-Tiering configurations for a bucket.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBucketInventoryConfigurationsInput(_SerdeShape): - """Dataclass for ListBucketInventoryConfigurationsInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket containing the inventory configurations to - retrieve. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - continuation_token: str | None = ... - """ - The marker used to continue an inventory configuration listing that has - been truncated. Use the `NextContinuationToken` from a previously - truncated list response to continue the listing. The continuation token - is an opaque value that Amazon S3 understands. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class ListBucketInventoryConfigurationsOutput(_SerdeShape): - """Dataclass for ListBucketInventoryConfigurationsOutput structure.""" - - continuation_token: str | None = ... - """ - If sent in the request, the marker that is used as a starting point for - this inventory configuration list response. - """ - inventory_configuration_list: list[InventoryConfiguration] | None = ... - """The list of inventory configurations for a bucket.""" - is_truncated: bool | None = ... - """ - Tells whether the returned list of inventory configurations is complete. - A value of true indicates that the list is not complete and the - NextContinuationToken is provided for a subsequent request. - """ - next_continuation_token: str | None = ... - """ - The marker used to continue this inventory configuration listing. Use - the `NextContinuationToken` from this response to continue the listing - in a subsequent request. The continuation token is an opaque value that - Amazon S3 understands. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBucketMetricsConfigurationsInput(_SerdeShape): - """Dataclass for ListBucketMetricsConfigurationsInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket containing the metrics configurations to - retrieve. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - continuation_token: str | None = ... - """ - The marker that is used to continue a metrics configuration listing that - has been truncated. Use the `NextContinuationToken` from a previously - truncated list response to continue the listing. The continuation token - is an opaque value that Amazon S3 understands. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class ListBucketMetricsConfigurationsOutput(_SerdeShape): - """Dataclass for ListBucketMetricsConfigurationsOutput structure.""" - - is_truncated: bool | None = ... - """ - Indicates whether the returned list of metrics configurations is - complete. A value of true indicates that the list is not complete and - the NextContinuationToken will be provided for a subsequent request. - """ - continuation_token: str | None = ... - """ - The marker that is used as a starting point for this metrics - configuration list response. This value is present if it was sent in the - request. - """ - next_continuation_token: str | None = ... - """ - The marker used to continue a metrics configuration listing that has - been truncated. Use the `NextContinuationToken` from a previously - truncated list response to continue the listing. The continuation token - is an opaque value that Amazon S3 understands. - """ - metrics_configuration_list: list[MetricsConfiguration] | None = ... - """The list of metrics configurations for a bucket.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListBucketsInput(_SerdeShape): - """Dataclass for ListBucketsInput structure.""" - - max_buckets: int | None = ... - """ - Maximum number of buckets to be returned in response. When the number is - more than the count of buckets that are owned by an Amazon Web Services - account, return all the buckets in response. - """ - continuation_token: str | None = ... - """ - `ContinuationToken` indicates to Amazon S3 that the list is being - continued on this bucket with a token. `ContinuationToken` is obfuscated - and is not a real key. You can use this `ContinuationToken` for - pagination of the list results. - - Length Constraints: Minimum length of 0. Maximum length of 1024. - - Required: No. - - Note: - If you specify the `bucket-region`, `prefix`, or `continuation-token` - query parameters without using `max-buckets` to set the maximum number - of buckets returned in the response, Amazon S3 applies a default page - size of 10,000 and provides a continuation token if there are more - buckets. - """ - prefix: str | None = ... - """ - Limits the response to bucket names that begin with the specified bucket - name prefix. - """ - bucket_region: str | None = ... - """ - Limits the response to buckets that are located in the specified Amazon - Web Services Region. The Amazon Web Services Region must be expressed - according to the Amazon Web Services Region code, such as `us-west-2` - for the US West (Oregon) Region. For a list of the valid values for all - of the Amazon Web Services Regions, see [Regions and - Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). - - Note: - Requests made to a Regional endpoint that is different from the - `bucket-region` parameter are not supported. For example, if you want to - limit the response to your buckets in Region `us-west-2`, the request - must be made to an endpoint in Region `us-west-2`. - """ - -@dataclass(kw_only=True) -class ListBucketsOutput(_SerdeShape): - """Dataclass for ListBucketsOutput structure.""" - - buckets: list[Bucket] | None = ... - """The list of buckets owned by the requester.""" - owner: Owner | None = ... - """The owner of the buckets listed.""" - continuation_token: str | None = ... - """ - `ContinuationToken` is included in the response when there are more - buckets that can be listed with pagination. The next `ListBuckets` - request to Amazon S3 can be continued with this `ContinuationToken`. - `ContinuationToken` is obfuscated and is not a real bucket. - """ - prefix: str | None = ... - """ - If `Prefix` was sent with the request, it is included in the response. - - All bucket names in the response begin with the specified bucket name - prefix. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListDirectoryBucketsInput(_SerdeShape): - """Dataclass for ListDirectoryBucketsInput structure.""" - - continuation_token: str | None = ... - """ - `ContinuationToken` indicates to Amazon S3 that the list is being - continued on buckets in this account with a token. `ContinuationToken` - is obfuscated and is not a real bucket name. You can use this - `ContinuationToken` for the pagination of the list results. - """ - max_directory_buckets: int | None = ... - """ - Maximum number of buckets to be returned in response. When the number is - more than the count of buckets that are owned by an Amazon Web Services - account, return all the buckets in response. - """ - -@dataclass(kw_only=True) -class ListDirectoryBucketsOutput(_SerdeShape): - """Dataclass for ListDirectoryBucketsOutput structure.""" - - buckets: list[Bucket] | None = ... - """The list of buckets owned by the requester.""" - continuation_token: str | None = ... - """ - If `ContinuationToken` was sent with the request, it is included in the - response. You can use the returned `ContinuationToken` for pagination of - the list response. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListMultipartUploadsInput(_SerdeShape): - """Dataclass for ListMultipartUploadsInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket to which the multipart upload was initiated. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - delimiter: str | None = ... - """ - Character you use to group keys. - - All keys that contain the same string between the prefix, if specified, - and the first occurrence of the delimiter after the prefix are grouped - under a single result element, `CommonPrefixes`. If you don't specify - the prefix parameter, then the substring starts at the beginning of the - key. The keys that are grouped under `CommonPrefixes` result element are - not returned elsewhere in the response. - - `CommonPrefixes` is filtered out from results if it is not - lexicographically greater than the key-marker. - - Note: - **Directory buckets** - For directory buckets, `/` is the only supported - delimiter. - """ - encoding_type: str | None = ... - """ - Encoding type used by Amazon S3 to encode the [object - keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) - in the response. Responses are encoded only in UTF-8. An object key can - contain any Unicode character. However, the XML 1.0 parser can't parse - certain characters, such as characters with an ASCII value from 0 to 10. - For characters that aren't supported in XML 1.0, you can add this - parameter to request that Amazon S3 encode the keys in the response. For - more information about characters to avoid in object key names, see - [Object key naming - guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). - - Note: - When using the URL encoding type, non-ASCII characters that are used in - an object's key name will be percent-encoded according to UTF-8 code - values. For example, the object `test_file(3).png` will appear as - `test_file%283%29.png`. - """ - key_marker: str | None = ... - """ - Specifies the multipart upload after which listing should begin. - - Note: - - **General purpose buckets** - For general purpose buckets, - `key-marker` is an object key. Together with `upload-id-marker`, this - parameter specifies the multipart upload after which listing should - begin. - - If `upload-id-marker` is not specified, only the keys - lexicographically greater than the specified `key-marker` will be - included in the list. - - If `upload-id-marker` is specified, any multipart uploads for a key - equal to the `key-marker` might also be included, provided those - multipart uploads have upload IDs lexicographically greater than the - specified `upload-id-marker`. - - - **Directory buckets** - For directory buckets, `key-marker` is - obfuscated and isn't a real object key. The `upload-id-marker` - parameter isn't supported by directory buckets. To list the - additional multipart uploads, you only need to set the value of - `key-marker` to the `NextKeyMarker` value from the previous response. - - In the `ListMultipartUploads` response, the multipart uploads aren't - sorted lexicographically based on the object keys. - """ - max_uploads: int | None = ... - """ - Sets the maximum number of multipart uploads, from 1 to 1,000, to return - in the response body. 1,000 is the maximum number of uploads that can be - returned in a response. - """ - prefix: str | None = ... - """ - Lists in-progress uploads only for those keys that begin with the - specified prefix. You can use prefixes to separate a bucket into - different grouping of keys. (You can think of using `prefix` to make - groups in the same way that you'd use a folder in a file system.) - - Note: - **Directory buckets** - For directory buckets, only prefixes that end in - a delimiter (`/`) are supported. - """ - upload_id_marker: str | None = ... - """ - Together with key-marker, specifies the multipart upload after which - listing should begin. If key-marker is not specified, the - upload-id-marker parameter is ignored. Otherwise, any multipart uploads - for a key equal to the key-marker might be included in the list only if - they have an upload ID lexicographically greater than the specified - `upload-id-marker`. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - -@dataclass(kw_only=True) -class ListMultipartUploadsOutput(_SerdeShape): - """Dataclass for ListMultipartUploadsOutput structure.""" - - bucket: str | None = ... - """ - The name of the bucket to which the multipart upload was initiated. Does - not return the access point ARN or access point alias if used. - """ - key_marker: str | None = ... - """The key at or after which the listing began.""" - upload_id_marker: str | None = ... - """ - Together with key-marker, specifies the multipart upload after which - listing should begin. If key-marker is not specified, the - upload-id-marker parameter is ignored. Otherwise, any multipart uploads - for a key equal to the key-marker might be included in the list only if - they have an upload ID lexicographically greater than the specified - `upload-id-marker`. - - Note: - This functionality is not supported for directory buckets. - """ - next_key_marker: str | None = ... - """ - When a list is truncated, this element specifies the value that should - be used for the key-marker request parameter in a subsequent request. - """ - prefix: str | None = ... - """ - When a prefix is provided in the request, this field contains the - specified prefix. The result contains only keys starting with the - specified prefix. - - Note: - **Directory buckets** - For directory buckets, only prefixes that end in - a delimiter (`/`) are supported. - """ - delimiter: str | None = ... - """ - Contains the delimiter you specified in the request. If you don't - specify a delimiter in your request, this element is absent from the - response. - - Note: - **Directory buckets** - For directory buckets, `/` is the only supported - delimiter. - """ - next_upload_id_marker: str | None = ... - """ - When a list is truncated, this element specifies the value that should - be used for the `upload-id-marker` request parameter in a subsequent - request. - - Note: - This functionality is not supported for directory buckets. - """ - max_uploads: int | None = ... - """ - Maximum number of multipart uploads that could have been included in the - response. - """ - is_truncated: bool | None = ... - """ - Indicates whether the returned list of multipart uploads is truncated. A - value of true indicates that the list was truncated. The list can be - truncated if the number of multipart uploads exceeds the limit allowed - or specified by max uploads. - """ - uploads: list[MultipartUpload] | None = ... - """ - Container for elements related to a particular multipart upload. A - response can contain zero or more `Upload` elements. - """ - common_prefixes: list[CommonPrefix] | None = ... - """ - If you specify a delimiter in the request, then the result returns each - distinct key prefix containing the delimiter in a `CommonPrefixes` - element. The distinct key prefixes are returned in the `Prefix` child - element. - - Note: - **Directory buckets** - For directory buckets, only prefixes that end in - a delimiter (`/`) are supported. - """ - encoding_type: str | None = ... - """ - Encoding type used by Amazon S3 to encode object keys in the response. - - If you specify the `encoding-type` request parameter, Amazon S3 includes - this element in the response, and returns encoded key name values in the - following response elements: - - `Delimiter`, `KeyMarker`, `Prefix`, `NextKeyMarker`, `Key`. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListObjectAnnotationsInput(_SerdeShape): - """Dataclass for ListObjectAnnotationsInput structure.""" - - bucket: str | None = ... - """The name of the bucket that contains the object.""" - key: str | None = ... - """The object key.""" - version_id: str | None = ... - """The version ID of the object.""" - max_annotation_results: int | None = ... - """ - The maximum number of annotations to return in the response. Maximum is - 1,000. - """ - annotation_prefix: str | None = ... - """ - Filter results to annotations whose name begins with the specified - prefix. - """ - continuation_token: str | None = ... - """ - Continuation token returned by a previous request to retrieve the next - page. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """The account ID of the expected bucket owner.""" - -@dataclass(kw_only=True) -class ListObjectAnnotationsOutput(_SerdeShape): - """Dataclass for ListObjectAnnotationsOutput structure.""" - - annotations: list[AnnotationEntry] | None = ... - """The list of annotations attached to the object.""" - bucket: str | None = ... - """The bucket name.""" - key: str | None = ... - """The object key.""" - object_version_id: str | None = ... - """The version ID of the object.""" - annotation_prefix: str | None = ... - """The prefix used to filter the response.""" - max_annotation_results: int | None = ... - """The maximum number of annotations returned in the response.""" - annotation_count: int | None = ... - """The number of annotations returned.""" - continuation_token: str | None = ... - """The continuation token used in this request.""" - next_continuation_token: str | None = ... - """The continuation token to use to retrieve the next page of results.""" - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListObjectsInput(_SerdeShape): - """Dataclass for ListObjectsInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket containing the objects. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - delimiter: str | None = ... - """ - A delimiter is a character that you use to group keys. - - `CommonPrefixes` is filtered out from results if it is not - lexicographically greater than the key-marker. - """ - encoding_type: str | None = ... - """ - Encoding type used by Amazon S3 to encode the [object - keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) - in the response. Responses are encoded only in UTF-8. An object key can - contain any Unicode character. However, the XML 1.0 parser can't parse - certain characters, such as characters with an ASCII value from 0 to 10. - For characters that aren't supported in XML 1.0, you can add this - parameter to request that Amazon S3 encode the keys in the response. For - more information about characters to avoid in object key names, see - [Object key naming - guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). - - Note: - When using the URL encoding type, non-ASCII characters that are used in - an object's key name will be percent-encoded according to UTF-8 code - values. For example, the object `test_file(3).png` will appear as - `test_file%283%29.png`. - """ - marker: str | None = ... - """ - Marker is where you want Amazon S3 to start listing from. Amazon S3 - starts listing after this specified key. Marker can be any key in the - bucket. - """ - max_keys: int | None = ... - """ - Sets the maximum number of keys returned in the response. By default, - the action returns up to 1,000 key names. The response might contain - fewer keys but will never contain more. - """ - prefix: str | None = ... - """Limits the response to keys that begin with the specified prefix.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that she or he will be charged for the - list objects request. Bucket owners need not specify this parameter in - their requests. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - optional_object_attributes: list[str] | None = ... - """ - Specifies the optional fields that you want returned in the response. - Fields that you do not specify are not returned. - """ - -@dataclass(kw_only=True) -class ListObjectsOutput(_SerdeShape): - """Dataclass for ListObjectsOutput structure.""" - - is_truncated: bool | None = ... - """ - A flag that indicates whether Amazon S3 returned all of the results that - satisfied the search criteria. - """ - marker: str | None = ... - """ - Indicates where in the bucket listing begins. Marker is included in the - response if it was sent with the request. - """ - next_marker: str | None = ... - """ - When the response is truncated (the `IsTruncated` element value in the - response is `true`), you can use the key name in this field as the - `marker` parameter in the subsequent request to get the next set of - objects. Amazon S3 lists objects in alphabetical order. - - Note: - This element is returned only if you have the `delimiter` request - parameter specified. If the response does not include the `NextMarker` - element and it is truncated, you can use the value of the last `Key` - element in the response as the `marker` parameter in the subsequent - request to get the next set of object keys. - """ - contents: list[Object] | None = ... - """Metadata about each object returned.""" - name: str | None = ... - """The bucket name.""" - prefix: str | None = ... - """Keys that begin with the indicated prefix.""" - delimiter: str | None = ... - """ - Causes keys that contain the same string between the prefix and the - first occurrence of the delimiter to be rolled up into a single result - element in the `CommonPrefixes` collection. These rolled-up keys are not - returned elsewhere in the response. Each rolled-up result counts as only - one return against the `MaxKeys` value. - """ - max_keys: int | None = ... - """The maximum number of keys returned in the response body.""" - common_prefixes: list[CommonPrefix] | None = ... - """ - All of the keys (up to 1,000) rolled up in a common prefix count as a - single return when calculating the number of returns. - - A response can contain `CommonPrefixes` only if you specify a delimiter. - - `CommonPrefixes` contains all (if there are any) keys between `Prefix` - and the next occurrence of the string specified by the delimiter. - - `CommonPrefixes` lists keys that act like subdirectories in the - directory specified by `Prefix`. - - For example, if the prefix is `notes/` and the delimiter is a slash - (`/`), as in `notes/summer/july`, the common prefix is `notes/summer/`. - All of the keys that roll up into a common prefix count as a single - return when calculating the number of returns. - """ - encoding_type: str | None = ... - """ - Encoding type used by Amazon S3 to encode the [object - keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) - in the response. Responses are encoded only in UTF-8. An object key can - contain any Unicode character. However, the XML 1.0 parser can't parse - certain characters, such as characters with an ASCII value from 0 to 10. - For characters that aren't supported in XML 1.0, you can add this - parameter to request that Amazon S3 encode the keys in the response. For - more information about characters to avoid in object key names, see - [Object key naming - guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). - - Note: - When using the URL encoding type, non-ASCII characters that are used in - an object's key name will be percent-encoded according to UTF-8 code - values. For example, the object `test_file(3).png` will appear as - `test_file%283%29.png`. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListObjectsV2Input(_SerdeShape): - """Dataclass for ListObjectsV2Input structure.""" - - bucket: str | None = ... - """ - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - delimiter: str | None = ... - """ - A delimiter is a character that you use to group keys. - - `CommonPrefixes` is filtered out from results if it is not - lexicographically greater than the `StartAfter` value. - - Note: - - **Directory buckets** - For directory buckets, `/` is the only - supported delimiter. - - - **Directory buckets** - When you query `ListObjectsV2` with a - delimiter during in-progress multipart uploads, the `CommonPrefixes` - response parameter contains the prefixes that are associated with the - in-progress multipart uploads. For more information about multipart - uploads, see [Multipart Upload - Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) - in the *Amazon S3 User Guide*. - """ - encoding_type: str | None = ... - """ - Encoding type used by Amazon S3 to encode the [object - keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) - in the response. Responses are encoded only in UTF-8. An object key can - contain any Unicode character. However, the XML 1.0 parser can't parse - certain characters, such as characters with an ASCII value from 0 to 10. - For characters that aren't supported in XML 1.0, you can add this - parameter to request that Amazon S3 encode the keys in the response. For - more information about characters to avoid in object key names, see - [Object key naming - guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). - - Note: - When using the URL encoding type, non-ASCII characters that are used in - an object's key name will be percent-encoded according to UTF-8 code - values. For example, the object `test_file(3).png` will appear as - `test_file%283%29.png`. - """ - max_keys: int | None = ... - """ - Sets the maximum number of keys returned in the response. By default, - the action returns up to 1,000 key names. The response might contain - fewer keys but will never contain more. - """ - prefix: str | None = ... - """ - Limits the response to keys that begin with the specified prefix. - - Note: - **Directory buckets** - For directory buckets, only prefixes that end in - a delimiter (`/`) are supported. - """ - continuation_token: str | None = ... - """ - `ContinuationToken` indicates to Amazon S3 that the list is being - continued on this bucket with a token. `ContinuationToken` is obfuscated - and is not a real key. You can use this `ContinuationToken` for - pagination of the list results. - """ - fetch_owner: bool | None = ... - """ - The owner field is not present in `ListObjectsV2` by default. If you - want to return the owner field with each key in the result, then set the - `FetchOwner` field to `true`. - - Note: - **Directory buckets** - For directory buckets, the bucket owner is - returned as the object owner for all objects. - """ - start_after: str | None = ... - """ - StartAfter is where you want Amazon S3 to start listing from. Amazon S3 - starts listing after this specified key. StartAfter can be any key in - the bucket. - - Note: - This functionality is not supported for directory buckets. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that she or he will be charged for the - list objects request in V2 style. Bucket owners need not specify this - parameter in their requests. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - optional_object_attributes: list[str] | None = ... - """ - Specifies the optional fields that you want returned in the response. - Fields that you do not specify are not returned. - - Note: - This functionality is not supported for directory buckets. - """ - -@dataclass(kw_only=True) -class ListObjectsV2Output(_SerdeShape): - """Dataclass for ListObjectsV2Output structure.""" - - is_truncated: bool | None = ... - """ - Set to `false` if all of the results were returned. Set to `true` if - more keys are available to return. If the number of results exceeds that - specified by `MaxKeys`, all of the results might not be returned. - """ - contents: list[Object] | None = ... - """Metadata about each object returned.""" - name: str | None = ... - """The bucket name.""" - prefix: str | None = ... - """ - Keys that begin with the indicated prefix. - - Note: - **Directory buckets** - For directory buckets, only prefixes that end in - a delimiter (`/`) are supported. - """ - delimiter: str | None = ... - """ - Causes keys that contain the same string between the `prefix` and the - first occurrence of the delimiter to be rolled up into a single result - element in the `CommonPrefixes` collection. These rolled-up keys are not - returned elsewhere in the response. Each rolled-up result counts as only - one return against the `MaxKeys` value. - - Note: - **Directory buckets** - For directory buckets, `/` is the only supported - delimiter. - """ - max_keys: int | None = ... - """ - Sets the maximum number of keys returned in the response. By default, - the action returns up to 1,000 key names. The response might contain - fewer keys but will never contain more. - """ - common_prefixes: list[CommonPrefix] | None = ... - """ - All of the keys (up to 1,000) that share the same prefix are grouped - together. When counting the total numbers of returns by this API - operation, this group of keys is considered as one item. - - A response can contain `CommonPrefixes` only if you specify a delimiter. - - `CommonPrefixes` contains all (if there are any) keys between `Prefix` - and the next occurrence of the string specified by a delimiter. - - `CommonPrefixes` lists keys that act like subdirectories in the - directory specified by `Prefix`. - - For example, if the prefix is `notes/` and the delimiter is a slash - (`/`) as in `notes/summer/july`, the common prefix is `notes/summer/`. - All of the keys that roll up into a common prefix count as a single - return when calculating the number of returns. - - Note: - - **Directory buckets** - For directory buckets, only prefixes that end - in a delimiter (`/`) are supported. - - - **Directory buckets** - When you query `ListObjectsV2` with a - delimiter during in-progress multipart uploads, the `CommonPrefixes` - response parameter contains the prefixes that are associated with the - in-progress multipart uploads. For more information about multipart - uploads, see [Multipart Upload - Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) - in the *Amazon S3 User Guide*. - """ - encoding_type: str | None = ... - """ - Encoding type used by Amazon S3 to encode object key names in the XML - response. - - If you specify the `encoding-type` request parameter, Amazon S3 includes - this element in the response, and returns encoded key name values in the - following response elements: - - `Delimiter, Prefix, Key,` and `StartAfter`. - """ - key_count: int | None = ... - """ - `KeyCount` is the number of keys returned with this request. `KeyCount` - will always be less than or equal to the `MaxKeys` field. For example, - if you ask for 50 keys, your result will include 50 keys or fewer. - """ - continuation_token: str | None = ... - """ - If `ContinuationToken` was sent with the request, it is included in the - response. You can use the returned `ContinuationToken` for pagination of - the list response. - """ - next_continuation_token: str | None = ... - """ - `NextContinuationToken` is sent when `isTruncated` is true, which means - there are more keys in the bucket that can be listed. The next list - requests to Amazon S3 can be continued with this - `NextContinuationToken`. `NextContinuationToken` is obfuscated and is - not a real key - """ - start_after: str | None = ... - """ - If StartAfter was sent with the request, it is included in the response. - - Note: - This functionality is not supported for directory buckets. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListObjectVersionsInput(_SerdeShape): - """Dataclass for ListObjectVersionsInput structure.""" - - bucket: str | None = ... - """The bucket name that contains the objects.""" - delimiter: str | None = ... - """ - A delimiter is a character that you specify to group keys. All keys that - contain the same string between the `prefix` and the first occurrence of - the delimiter are grouped under a single result element in - `CommonPrefixes`. These groups are counted as one result against the - `max-keys` limitation. These keys are not returned elsewhere in the - response. - - `CommonPrefixes` is filtered out from results if it is not - lexicographically greater than the key-marker. - """ - encoding_type: str | None = ... - """ - Encoding type used by Amazon S3 to encode the [object - keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html) - in the response. Responses are encoded only in UTF-8. An object key can - contain any Unicode character. However, the XML 1.0 parser can't parse - certain characters, such as characters with an ASCII value from 0 to 10. - For characters that aren't supported in XML 1.0, you can add this - parameter to request that Amazon S3 encode the keys in the response. For - more information about characters to avoid in object key names, see - [Object key naming - guidelines](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines). - - Note: - When using the URL encoding type, non-ASCII characters that are used in - an object's key name will be percent-encoded according to UTF-8 code - values. For example, the object `test_file(3).png` will appear as - `test_file%283%29.png`. - """ - key_marker: str | None = ... - """Specifies the key to start with when listing objects in a bucket.""" - max_keys: int | None = ... - """ - Sets the maximum number of keys returned in the response. By default, - the action returns up to 1,000 key names. The response might contain - fewer keys but will never contain more. If additional keys satisfy the - search criteria, but were not returned because `max-keys` was exceeded, - the response contains - ``{=html}`true```{=html}. To return the - additional keys, see `key-marker` and `version-id-marker`. - """ - prefix: str | None = ... - """ - Use this parameter to select only those keys that begin with the - specified prefix. You can use prefixes to separate a bucket into - different groupings of keys. (You can think of using `prefix` to make - groups in the same way that you'd use a folder in a file system.) You - can use `prefix` with `delimiter` to roll up numerous objects into a - single result under `CommonPrefixes`. - """ - version_id_marker: str | None = ... - """Specifies the object version you want to start listing from.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - optional_object_attributes: list[str] | None = ... - """ - Specifies the optional fields that you want returned in the response. - Fields that you do not specify are not returned. - """ - -@dataclass(kw_only=True) -class ListObjectVersionsOutput(_SerdeShape): - """Dataclass for ListObjectVersionsOutput structure.""" - - is_truncated: bool | None = ... - """ - A flag that indicates whether Amazon S3 returned all of the results that - satisfied the search criteria. If your results were truncated, you can - make a follow-up paginated request by using the `NextKeyMarker` and - `NextVersionIdMarker` response parameters as a starting place in another - request to return the rest of the results. - """ - key_marker: str | None = ... - """Marks the last key returned in a truncated response.""" - version_id_marker: str | None = ... - """Marks the last version of the key returned in a truncated response.""" - next_key_marker: str | None = ... - """ - When the number of responses exceeds the value of `MaxKeys`, - `NextKeyMarker` specifies the first key not returned that satisfies the - search criteria. Use this value for the key-marker request parameter in - a subsequent request. - """ - next_version_id_marker: str | None = ... - """ - When the number of responses exceeds the value of `MaxKeys`, - `NextVersionIdMarker` specifies the first object version not returned - that satisfies the search criteria. Use this value for the - `version-id-marker` request parameter in a subsequent request. - """ - versions: list[ObjectVersion] | None = ... - """Container for version information.""" - delete_markers: list[DeleteMarkerEntry] | None = ... - """ - Container for an object that is a delete marker. To learn more about - delete markers, see [Working with delete - markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). - """ - name: str | None = ... - """The bucket name.""" - prefix: str | None = ... - """Selects objects that start with the value supplied by this parameter.""" - delimiter: str | None = ... - """ - The delimiter grouping the included keys. A delimiter is a character - that you specify to group keys. All keys that contain the same string - between the prefix and the first occurrence of the delimiter are grouped - under a single result element in `CommonPrefixes`. These groups are - counted as one result against the `max-keys` limitation. These keys are - not returned elsewhere in the response. - """ - max_keys: int | None = ... - """Specifies the maximum number of objects to return.""" - common_prefixes: list[CommonPrefix] | None = ... - """ - All of the keys rolled up into a common prefix count as a single return - when calculating the number of returns. - """ - encoding_type: str | None = ... - """ - Encoding type used by Amazon S3 to encode object key names in the XML - response. - - If you specify the `encoding-type` request parameter, Amazon S3 includes - this element in the response, and returns encoded key name values in the - following response elements: - - `KeyMarker, NextKeyMarker, Prefix, Key`, and `Delimiter`. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ListPartsInput(_SerdeShape): - """Dataclass for ListPartsInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket to which the parts are being uploaded. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """Object key for which the multipart upload was initiated.""" - max_parts: int | None = ... - """Sets the maximum number of parts to return.""" - part_number_marker: str | None = ... - """ - Specifies the part after which listing should begin. Only parts with - higher part numbers will be listed. - """ - upload_id: str | None = ... - """Upload ID identifying the multipart upload whose parts are being listed.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - sse_customer_algorithm: str | None = ... - """ - The server-side encryption (SSE) algorithm used to encrypt the object. - This parameter is needed only when the object was created using a - checksum algorithm. For more information, see [Protecting data using - SSE-C - keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key: str | None = ... - """ - The server-side encryption (SSE) customer managed key. This parameter is - needed only when the object was created using a checksum algorithm. For - more information, see [Protecting data using SSE-C - keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - The MD5 server-side encryption (SSE) customer managed key. This - parameter is needed only when the object was created using a checksum - algorithm. For more information, see [Protecting data using SSE-C - keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - -@dataclass(kw_only=True) -class ListPartsOutput(_SerdeShape): - """Dataclass for ListPartsOutput structure.""" - - abort_date: datetime | None = ... - """ - If the bucket has a lifecycle rule configured with an action to abort - incomplete multipart uploads and the prefix in the lifecycle rule - matches the object name in the request, then the response includes this - header indicating when the initiated multipart upload will become - eligible for abort operation. For more information, see [Aborting - Incomplete Multipart Uploads Using a Bucket Lifecycle - Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config). - - The response will also include the `x-amz-abort-rule-id` header that - will provide the ID of the lifecycle configuration rule that defines - this action. - - Note: - This functionality is not supported for directory buckets. - """ - abort_rule_id: str | None = ... - """ - This header is returned along with the `x-amz-abort-date` header. It - identifies applicable lifecycle configuration rule that defines the - action to abort incomplete multipart uploads. - - Note: - This functionality is not supported for directory buckets. - """ - bucket: str | None = ... - """ - The name of the bucket to which the multipart upload was initiated. Does - not return the access point ARN or access point alias if used. - """ - key: str | None = ... - """Object key for which the multipart upload was initiated.""" - upload_id: str | None = ... - """Upload ID identifying the multipart upload whose parts are being listed.""" - part_number_marker: str | None = ... - """ - Specifies the part after which listing should begin. Only parts with - higher part numbers will be listed. - """ - next_part_number_marker: str | None = ... - """ - When a list is truncated, this element specifies the last part in the - list, as well as the value to use for the `part-number-marker` request - parameter in a subsequent request. - """ - max_parts: int | None = ... - """Maximum number of parts that were allowed in the response.""" - is_truncated: bool | None = ... - """ - Indicates whether the returned list of parts is truncated. A true value - indicates that the list was truncated. A list can be truncated if the - number of parts exceeds the limit returned in the MaxParts element. - """ - parts: list[Part] | None = ... - """ - Container for elements related to a particular part. A response can - contain zero or more `Part` elements. - """ - initiator: Initiator | None = ... - """ - Container element that identifies who initiated the multipart upload. If - the initiator is an Amazon Web Services account, this element provides - the same information as the `Owner` element. If the initiator is an IAM - User, this element provides the user ARN. - """ - owner: Owner | None = ... - """ - Container element that identifies the object owner, after the object is - created. If multipart upload is initiated by an IAM user, this element - provides the parent account ID. - - Note: - **Directory buckets** - The bucket owner is returned as the object owner - for all the parts. - """ - storage_class: str | None = ... - """ - The class of storage used to store the uploaded object. - - Note: - **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` - (the S3 Express One Zone storage class) in Availability Zones and - `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in - Dedicated Local Zones. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - checksum_algorithm: str | None = ... - """The algorithm that was used to create a checksum of the object.""" - checksum_type: str | None = ... - """ - The checksum type, which determines how part-level checksums are - combined to create an object-level checksum for multipart objects. You - can use this header response to verify that the checksum type that is - received is the same checksum type that was specified in - `CreateMultipartUpload` request. For more information, see [Checking - object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class LocationInfo(_SerdeShape): - """ - Specifies the location where the bucket will be created. - - For directory buckets, the location type is Availability Zone or Local - Zone. For more information about directory buckets, see [Working with - directory - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is only supported by directory buckets. - """ - - type: str | None = ... - """The type of location where the bucket will be created.""" - name: str | None = ... - """ - The name of the location where the bucket will be created. - - For directory buckets, the name of the location is the Zone ID of the - Availability Zone (AZ) or Local Zone (LZ) where the bucket will be - created. An example AZ ID value is `usw2-az1`. - """ - -class LocationType(UnknownEnumMixin, StrEnum): - AVAILABILITY_ZONE = "AvailabilityZone" - LOCAL_ZONE = "LocalZone" - -@dataclass(kw_only=True) -class LoggingEnabled(_SerdeShape): - """ - Describes where logs are stored and the prefix that Amazon S3 assigns to - all log object keys for a bucket. For more information, see [PUT Bucket - logging](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html) - in the *Amazon S3 API Reference*. - """ - - target_bucket: str - """ - Specifies the bucket where you want Amazon S3 to store server access - logs. You can have your logs delivered to any bucket that you own, - including the same bucket that is being logged. You can also configure - multiple buckets to deliver their logs to the same target bucket. In - this case, you should choose a different `TargetPrefix` for each source - bucket so that the delivered log files can be distinguished by key. - """ - target_grants: list[TargetGrant] | None = ... - """ - Container for granting information. - - Buckets that use the bucket owner enforced setting for Object Ownership - don't support target grants. For more information, see [Permissions for - server access log - delivery](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general) - in the *Amazon S3 User Guide*. - """ - target_prefix: str - """ - A prefix for all log object keys. If you store log files from multiple - Amazon S3 buckets in a single bucket, you can use a prefix to - distinguish which log files came from which bucket. - """ - target_object_key_format: TargetObjectKeyFormat | None = ... - """Amazon S3 key format for log objects.""" - -@dataclass(kw_only=True) -class MetadataConfiguration(_SerdeShape): - """The S3 Metadata configuration for a general purpose bucket.""" - - journal_table_configuration: JournalTableConfiguration - """The journal table configuration for a metadata configuration.""" - inventory_table_configuration: InventoryTableConfiguration | None = ... - """The inventory table configuration for a metadata configuration.""" - annotation_table_configuration: AnnotationTableConfiguration | None = ... - """ - Optional annotation table configuration to include with the metadata - configuration. - """ - -@dataclass(kw_only=True) -class MetadataConfigurationResult(_SerdeShape): - """The S3 Metadata configuration for a general purpose bucket.""" - - destination_result: DestinationResult - """The destination settings for a metadata configuration.""" - journal_table_configuration_result: JournalTableConfigurationResult | None = ... - """The journal table configuration for a metadata configuration.""" - inventory_table_configuration_result: InventoryTableConfigurationResult | None = ... - """The inventory table configuration for a metadata configuration.""" - annotation_table_configuration_result: ( - AnnotationTableConfigurationResult | None - ) = ... - """ - The annotation table configuration result, if an annotation table is - configured. - """ - -class MetadataDirective(UnknownEnumMixin, StrEnum): - COPY = "COPY" - REPLACE = "REPLACE" - -@dataclass(kw_only=True) -class MetadataEntry(_SerdeShape): - """A metadata key-value pair to store with an object.""" - - name: str | None = ... - """Name of the object.""" - value: str | None = ... - """Value of the object.""" - -@dataclass(kw_only=True) -class MetadataTableConfiguration(_SerdeShape): - """ - The V1 S3 Metadata configuration for a general purpose bucket. - - Note: - If you created your S3 Metadata configuration before July 15, 2025, we - recommend that you delete and re-create your configuration by using - [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) - so that you can expire journal table records and create a live inventory - table. - """ - - s3_tables_destination: S3TablesDestination - """ - The destination information for the metadata table configuration. The - destination table bucket must be in the same Region and Amazon Web - Services account as the general purpose bucket. The specified metadata - table name must be unique within the `aws_s3_metadata` namespace in the - destination table bucket. - """ - -@dataclass(kw_only=True) -class MetadataTableConfigurationResult(_SerdeShape): - """ - The V1 S3 Metadata configuration for a general purpose bucket. The - destination table bucket must be in the same Region and Amazon Web - Services account as the general purpose bucket. The specified metadata - table name must be unique within the `aws_s3_metadata` namespace in the - destination table bucket. - - Note: - If you created your S3 Metadata configuration before July 15, 2025, we - recommend that you delete and re-create your configuration by using - [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) - so that you can expire journal table records and create a live inventory - table. - """ - - s3_tables_destination_result: S3TablesDestinationResult - """ - The destination information for the metadata table configuration. The - destination table bucket must be in the same Region and Amazon Web - Services account as the general purpose bucket. The specified metadata - table name must be unique within the `aws_s3_metadata` namespace in the - destination table bucket. - """ - -@dataclass(kw_only=True) -class MetadataTableEncryptionConfiguration(_SerdeShape): - """ - The encryption settings for an S3 Metadata journal table or inventory - table configuration. - """ - - sse_algorithm: str - """ - The encryption type specified for a metadata table. To specify - server-side encryption with Key Management Service (KMS) keys (SSE-KMS), - use the `aws:kms` value. To specify server-side encryption with Amazon - S3 managed keys (SSE-S3), use the `AES256` value. - """ - kms_key_arn: str | None = ... - """ - If server-side encryption with Key Management Service (KMS) keys - (SSE-KMS) is specified, you must also specify the KMS key Amazon - Resource Name (ARN). You must specify a customer-managed KMS key that's - located in the same Region as the general purpose bucket that - corresponds to the metadata table configuration. - """ - -@dataclass(kw_only=True) -class Metrics(_SerdeShape): - """ - A container specifying replication metrics-related settings enabling - replication metrics and events. - """ - - status: str - """Specifies whether the replication metrics are enabled.""" - event_threshold: ReplicationTimeValue | None = ... - """ - A container specifying the time threshold for emitting the - `s3:Replication:OperationMissedThreshold` event. - """ - -@dataclass(kw_only=True) -class MetricsAndOperator(_SerdeShape): - """ - A conjunction (logical AND) of predicates, which is used in evaluating a - metrics filter. The operator must have at least two predicates, and an - object must match all of the predicates in order for the filter to - apply. - """ - - prefix: str | None = ... - """The prefix used when evaluating an AND predicate.""" - tags: list[Tag] | None = ... - """ - The list of tags used when evaluating an AND predicate. - - Note: - `Tag` filters are not supported for directory buckets. - """ - access_point_arn: str | None = ... - """The access point ARN used when evaluating an `AND` predicate.""" - -@dataclass(kw_only=True) -class MetricsConfiguration(_SerdeShape): - """ - Specifies a metrics configuration for the CloudWatch request metrics - (specified by the metrics configuration ID) from an Amazon S3 bucket. If - you're updating an existing metrics configuration, note that this is a - full replacement of the existing metrics configuration. If you don't - include the elements you want to keep, they are erased. For more - information, see - [PutBucketMetricsConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html). - """ - - id: str - """ - The ID used to identify the metrics configuration. The ID has a 64 - character limit and can only contain letters, numbers, periods, dashes, - and underscores. - """ - filter: MetricsFilter | None = ... - """ - Specifies a metrics configuration filter. The metrics configuration will - only include objects that meet the filter's criteria. A filter must be - a prefix, an object tag, an access point ARN, or a conjunction - (MetricsAndOperator). - - Note: - Metrics configurations for directory buckets do not support tag filters. - """ - -@dataclass -class MetricsFilterPrefix(_SerdeShape): - """The prefix used when evaluating a metrics filter.""" - - value: str - -@dataclass -class MetricsFilterTag(_SerdeShape): - """ - The tag used when evaluating a metrics filter. - - Note: - `Tag` filters are not supported for directory buckets. - """ - - value: Tag - -@dataclass -class MetricsFilterAccessPointArn(_SerdeShape): - """The access point ARN used when evaluating a metrics filter.""" - - value: str - -@dataclass -class MetricsFilterAnd(_SerdeShape): - """ - A conjunction (logical AND) of predicates, which is used in evaluating a - metrics filter. The operator must have at least two predicates, and an - object must match all of the predicates in order for the filter to - apply. - """ - - value: MetricsAndOperator - -@dataclass -class MetricsFilterUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -MetricsFilter = Union[ - MetricsFilterPrefix - | MetricsFilterTag - | MetricsFilterAccessPointArn - | MetricsFilterAnd - | MetricsFilterUnknown -] -""" -Specifies a metrics configuration filter. The metrics configuration only -includes objects that meet the filter's criteria. A filter must be a -prefix, an object tag, an access point ARN, or a conjunction -(MetricsAndOperator). For more information, see -[PutBucketMetricsConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html). -""" - -class _MetricsFilterDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> MetricsFilter: ... - -class MetricsStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -class MFADelete(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -class MFADeleteStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -@dataclass(kw_only=True) -class MultipartUpload(_SerdeShape): - """Container for the `MultipartUpload` for the Amazon S3 object.""" - - upload_id: str | None = ... - """Upload ID that identifies the multipart upload.""" - key: str | None = ... - """Key of the object for which the multipart upload was initiated.""" - initiated: datetime | None = ... - """Date and time at which the multipart upload was initiated.""" - storage_class: str | None = ... - """ - The class of storage used to store the object. - - Note: - **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` - (the S3 Express One Zone storage class) in Availability Zones and - `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in - Dedicated Local Zones. - """ - owner: Owner | None = ... - """ - Specifies the owner of the object that is part of the multipart upload. - - Note: - **Directory buckets** - The bucket owner is returned as the object owner - for all the objects. - """ - initiator: Initiator | None = ... - """Identifies who initiated the multipart upload.""" - checksum_algorithm: str | None = ... - """The algorithm that was used to create a checksum of the object.""" - checksum_type: str | None = ... - """ - The checksum type that is used to calculate the object's checksum value. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - -@dataclass(kw_only=True) -class NoncurrentVersionExpiration(_SerdeShape): - """ - Specifies when noncurrent object versions expire. Upon expiration, - Amazon S3 permanently deletes the noncurrent object versions. You set - this lifecycle configuration action on a bucket that has versioning - enabled (or suspended) to request that Amazon S3 delete noncurrent - object versions at a specific period in the object's lifetime. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - - noncurrent_days: int | None = ... - """ - Specifies the number of days an object is noncurrent before Amazon S3 - can perform the associated action. The value must be a non-zero positive - integer. For information about the noncurrent days calculations, see - [How Amazon S3 Calculates When an Object Became - Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) - in the *Amazon S3 User Guide*. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - newer_noncurrent_versions: int | None = ... - """ - Specifies how many noncurrent versions Amazon S3 will retain. You can - specify up to 100 noncurrent versions to retain. Amazon S3 will - permanently delete any additional noncurrent versions beyond the - specified number to retain. For more information about noncurrent - versions, see [Lifecycle configuration - elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) - in the *Amazon S3 User Guide*. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - -@dataclass(kw_only=True) -class NoncurrentVersionTransition(_SerdeShape): - """ - Container for the transition rule that describes when noncurrent objects - transition to the `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, - `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE` storage class. If your bucket - is versioning-enabled (or versioning is suspended), you can set this - action to request that Amazon S3 transition noncurrent object versions - to the `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, - `GLACIER`, or `DEEP_ARCHIVE` storage class at a specific period in the - object's lifetime. - """ - - noncurrent_days: int | None = ... - """ - Specifies the number of days an object is noncurrent before Amazon S3 - can perform the associated action. For information about the noncurrent - days calculations, see [How Amazon S3 Calculates How Long an Object Has - Been - Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) - in the *Amazon S3 User Guide*. - """ - storage_class: str | None = ... - """The class of storage used to store the object.""" - newer_noncurrent_versions: int | None = ... - """ - Specifies how many noncurrent versions Amazon S3 will retain in the same - storage class before transitioning objects. You can specify up to 100 - noncurrent versions to retain. Amazon S3 will transition any additional - noncurrent versions beyond the specified number to retain. For more - information about noncurrent versions, see [Lifecycle configuration - elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) - in the *Amazon S3 User Guide*. - """ - -@dataclass(kw_only=True) -class NoSuchAnnotation(ServiceError, _SerdeShape): - """The specified annotation does not exist on this object.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchBucket(ServiceError, _SerdeShape): - """The specified bucket does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchKey(ServiceError, _SerdeShape): - """The specified key does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NoSuchUpload(ServiceError, _SerdeShape): - """The specified multipart upload does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NotFound(ServiceError, _SerdeShape): - """The specified content does not exist.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class NotificationConfiguration(_SerdeShape): - """ - A container for specifying the notification configuration of the bucket. - If this element is empty, notifications are turned off for the bucket. - """ - - topic_configurations: list[TopicConfiguration] | None = ... - """ - The topic to which notifications are sent and the events for which - notifications are generated. - """ - queue_configurations: list[QueueConfiguration] | None = ... - """ - The Amazon Simple Queue Service queues to publish messages to and the - events for which to publish messages. - """ - lambda_function_configurations: list[LambdaFunctionConfiguration] | None = ... - """ - Describes the Lambda functions to invoke and the events for which to - invoke them. - """ - event_bridge_configuration: EventBridgeConfiguration | None = ... - """Enables delivery of events to Amazon EventBridge.""" - -@dataclass(kw_only=True) -class NotificationConfigurationFilter(_SerdeShape): - """ - Specifies object key name filtering rules. For information about key - name filtering, see [Configuring event notifications using object key - name - filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) - in the *Amazon S3 User Guide*. - """ - - key: S3KeyFilter | None = ... - """A container for object key name prefix and suffix filtering rules.""" - -@dataclass(kw_only=True) -class Object(_SerdeShape): - """An object consists of data and its descriptive metadata.""" - - key: str | None = ... - """ - The name that you assign to an object. You use the object key to - retrieve the object. - """ - last_modified: datetime | None = ... - """Creation date of the object.""" - e_tag: str | None = ... - """ - The entity tag is a hash of the object. The ETag reflects changes only - to the contents of an object, not its metadata. The ETag may or may not - be an MD5 digest of the object data. Whether or not it is depends on how - the object was created and how it is encrypted as described below: - - - Objects created by the PUT Object, POST Object, or Copy operation, or - through the Amazon Web Services Management Console, and are encrypted - by SSE-S3 or plaintext, have ETags that are an MD5 digest of their - object data. - - - Objects created by the PUT Object, POST Object, or Copy operation, or - through the Amazon Web Services Management Console, and are encrypted - by SSE-C or SSE-KMS, have ETags that are not an MD5 digest of their - object data. - - - If an object is created by either the Multipart Upload or Part Copy - operation, the ETag is not an MD5 digest, regardless of the method of - encryption. If an object is larger than 16 MB, the Amazon Web Services - Management Console will upload or copy that object as a Multipart - Upload, and therefore the ETag will not be an MD5 digest. - - Note: - **Directory buckets** - MD5 is not supported by directory buckets. - """ - checksum_algorithm: list[str] | None = ... - """The algorithm that was used to create a checksum of the object.""" - checksum_type: str | None = ... - """ - The checksum type that is used to calculate the object's checksum value. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - size: int | None = ... - """Size in bytes of the object""" - storage_class: str | None = ... - """ - The class of storage used to store the object. - - Note: - **Directory buckets** - Directory buckets only support `EXPRESS_ONEZONE` - (the S3 Express One Zone storage class) in Availability Zones and - `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in - Dedicated Local Zones. - """ - owner: Owner | None = ... - """ - The owner of the object - - Note: - **Directory buckets** - The bucket owner is returned as the object - owner. - """ - restore_status: RestoreStatus | None = ... - """ - Specifies the restoration status of an object. Objects in certain - storage classes must be restored before they can be retrieved. For more - information about these storage classes and how to work with archived - objects, see [Working with archived - objects](https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. Directory - buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone storage - class) in Availability Zones and `ONEZONE_IA` (the S3 One - Zone-Infrequent Access storage class) in Dedicated Local Zones. - """ - -@dataclass(kw_only=True) -class ObjectAlreadyInActiveTierError(ServiceError, _SerdeShape): - """This action is not allowed against this storage tier.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ObjectAttributes(UnknownEnumMixin, StrEnum): - ETAG = "ETag" - CHECKSUM = "Checksum" - OBJECT_PARTS = "ObjectParts" - STORAGE_CLASS = "StorageClass" - OBJECT_SIZE = "ObjectSize" - -class ObjectCannedACL(UnknownEnumMixin, StrEnum): - PRIVATE = "private" - PUBLIC_READ = "public-read" - PUBLIC_READ_WRITE = "public-read-write" - AUTHENTICATED_READ = "authenticated-read" - AWS_EXEC_READ = "aws-exec-read" - BUCKET_OWNER_READ = "bucket-owner-read" - BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control" - -@dataclass -class ObjectEncryptionSSEKMS(_SerdeShape): - """ - Specifies to update the object encryption type to server-side encryption - with Key Management Service (KMS) keys (SSE-KMS). - """ - - value: SSEKMSEncryption - -@dataclass -class ObjectEncryptionUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -ObjectEncryption = Union[ObjectEncryptionSSEKMS | ObjectEncryptionUnknown] -""" -The updated server-side encryption type for this object. The -`UpdateObjectEncryption` operation supports the SSE-S3 and SSE-KMS -encryption types. - -Valid Values: `SSES3` | `SSEKMS` -""" - -class _ObjectEncryptionDeserializer: - def deserialize(self, deserializer: ShapeDeserializer) -> ObjectEncryption: ... - -@dataclass(kw_only=True) -class ObjectIdentifier(_SerdeShape): - """Object Identifier is unique value to identify objects.""" - - key: str - """ - Key name of the object. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - version_id: str | None = ... - """ - Version ID for the specific version of the object to delete. - - Note: - This functionality is not supported for directory buckets. - """ - e_tag: str | None = ... - """ - An entity tag (ETag) is an identifier assigned by a web server to a - specific version of a resource found at a URL. This header field makes - the request method conditional on `ETags`. - - Note: - Entity tags (ETags) for S3 Express One Zone are random alphanumeric - strings unique to the object. - """ - last_modified_time: datetime | None = ... - """ - If present, the objects are deleted only if its modification times - matches the provided `Timestamp`. - - Note: - This functionality is only supported for directory buckets. - """ - size: int | None = ... - """ - If present, the objects are deleted only if its size matches the - provided size in bytes. - - Note: - This functionality is only supported for directory buckets. - """ - -@dataclass(kw_only=True) -class ObjectLockConfiguration(_SerdeShape): - """The container element for Object Lock configuration parameters.""" - - object_lock_enabled: str | None = ... - """ - Indicates whether this bucket has an Object Lock configuration enabled. - Enable `ObjectLockEnabled` when you apply `ObjectLockConfiguration` to a - bucket. - """ - rule: ObjectLockRule | None = ... - """ - Specifies the Object Lock rule for the specified object. Enable the this - rule when you apply `ObjectLockConfiguration` to a bucket. Bucket - settings require both a mode and a period. The period can be either - `Days` or `Years` but you must select one. You cannot specify `Days` and - `Years` at the same time. - """ - -class ObjectLockEnabled(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - -class ObjectLockEventHold(UnknownEnumMixin, StrEnum): - ON = "ON" - OFF = "OFF" - -@dataclass(kw_only=True) -class ObjectLockLegalHold(_SerdeShape): - """A legal hold configuration for an object.""" - - status: str | None = ... - """Indicates whether the specified object has a legal hold in place.""" - -class ObjectLockLegalHoldStatus(UnknownEnumMixin, StrEnum): - ON = "ON" - OFF = "OFF" - -class ObjectLockMode(UnknownEnumMixin, StrEnum): - GOVERNANCE = "GOVERNANCE" - COMPLIANCE = "COMPLIANCE" - -@dataclass(kw_only=True) -class ObjectLockRetention(_SerdeShape): - """A Retention configuration for an object.""" - - mode: str | None = ... - """Indicates the Retention mode for the specified object.""" - retain_until_date: datetime | None = ... - """The date on which this Object Lock Retention will expire.""" - event_hold: str | None = ... - """ - The event hold status for the object. Set to `ON` to enable an event - hold or `OFF` to disable it. - """ - event_hold_duration: EventHoldDuration | None = ... - """ - The event hold duration for the object. Specifies how long the object - remains protected after the event hold is released. - """ - -class ObjectLockRetentionMode(UnknownEnumMixin, StrEnum): - GOVERNANCE = "GOVERNANCE" - COMPLIANCE = "COMPLIANCE" - -@dataclass(kw_only=True) -class ObjectLockRule(_SerdeShape): - """The container element for an Object Lock rule.""" - - default_retention: DefaultRetention | None = ... - """ - The default Object Lock retention settings for new objects in this - bucket. You can specify: - - - A default retention period, by using `Days` or `Years`. - - - A default event hold duration, by using `DefaultEventHold`. This - setting also uses days or years. - - You can set one or both. You cannot use days and years in the same - setting. - """ - -@dataclass(kw_only=True) -class ObjectNotInActiveTierError(ServiceError, _SerdeShape): - """ - The source object of the COPY action is not in the active tier and is - only stored in Amazon S3 Glacier. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -class ObjectOwnership(UnknownEnumMixin, StrEnum): - """ - The container element for object ownership for a bucket's ownership - controls. - - `BucketOwnerPreferred` - Objects uploaded to the bucket change ownership - to the bucket owner if the objects are uploaded with the - `bucket-owner-full-control` canned ACL. - - `ObjectWriter` - The uploading account will own the object if the object - is uploaded with the `bucket-owner-full-control` canned ACL. - - `BucketOwnerEnforced` - Access control lists (ACLs) are disabled and no - longer affect permissions. The bucket owner automatically owns and has - full control over every object in the bucket. The bucket only accepts - PUT requests that don't specify an ACL or specify bucket owner full - control ACLs (such as the predefined `bucket-owner-full-control` canned - ACL or a custom ACL in XML format that grants the same permissions). - - By default, `ObjectOwnership` is set to `BucketOwnerEnforced` and ACLs - are disabled. We recommend keeping ACLs disabled, except in uncommon use - cases where you must control access for each object individually. For - more information about S3 Object Ownership, see [Controlling ownership - of objects and disabling ACLs for your - bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. Directory - buckets use the bucket owner enforced setting for S3 Object Ownership. - """ - - BUCKET_OWNER_PREFERRED = "BucketOwnerPreferred" - OBJECT_WRITER = "ObjectWriter" - BUCKET_OWNER_ENFORCED = "BucketOwnerEnforced" - -@dataclass(kw_only=True) -class ObjectPart(_SerdeShape): - """A container for elements related to an individual part.""" - - part_number: int | None = ... - """ - The part number identifying the part. This value is a positive integer - between 1 and 10,000. - """ - size: int | None = ... - """The size of the uploaded part in bytes.""" - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum - is present if the multipart upload request was created with the `CRC32` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the part. This checksum - is present if the multipart upload request was created with the `CRC32C` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This - checksum is present if the multipart upload request was created with the - `CRC64NVME` checksum algorithm, or if the object was uploaded without a - checksum (and Amazon S3 added the default checksum, `CRC64NVME`, to the - uploaded object). For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` checksum of the part. This checksum - is present if the multipart upload request was created with the `SHA1` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` checksum of the part. This checksum - is present if the multipart upload request was created with the `SHA256` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the part. This checksum - is present if the multipart upload request was created with the `SHA512` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the part. This checksum is - present if the multipart upload request was created with the `MD5` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This - checksum is present if the multipart upload request was created with the - `XXHASH64` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This checksum - is present if the multipart upload request was created with the - `XXHASH3` checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This - checksum is present if the multipart upload request was created with the - `XXHASH128` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - -class ObjectStorageClass(UnknownEnumMixin, StrEnum): - STANDARD = "STANDARD" - REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY" - GLACIER = "GLACIER" - STANDARD_IA = "STANDARD_IA" - ONEZONE_IA = "ONEZONE_IA" - INTELLIGENT_TIERING = "INTELLIGENT_TIERING" - DEEP_ARCHIVE = "DEEP_ARCHIVE" - OUTPOSTS = "OUTPOSTS" - GLACIER_IR = "GLACIER_IR" - SNOW = "SNOW" - EXPRESS_ONEZONE = "EXPRESS_ONEZONE" - FSX_OPENZFS = "FSX_OPENZFS" - FSX_ONTAP = "FSX_ONTAP" - AWS_BACKUP_WARM = "AWS_BACKUP_WARM" - AWS_BACKUP_LOW_COST_WARM = "AWS_BACKUP_LOW_COST_WARM" - -@dataclass(kw_only=True) -class ObjectVersion(_SerdeShape): - """The version of an object.""" - - e_tag: str | None = ... - """The entity tag is an MD5 hash of that version of the object.""" - checksum_algorithm: list[str] | None = ... - """The algorithm that was used to create a checksum of the object.""" - checksum_type: str | None = ... - """ - The checksum type that is used to calculate the object's checksum value. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - size: int | None = ... - """Size in bytes of the object.""" - storage_class: str | None = ... - """The class of storage used to store the object.""" - key: str | None = ... - """The object key.""" - version_id: str | None = ... - """Version ID of an object.""" - is_latest: bool | None = ... - """ - Specifies whether the object is (true) or is not (false) the latest - version of an object. - """ - last_modified: datetime | None = ... - """Date and time when the object was last modified.""" - owner: Owner | None = ... - """Specifies the owner of the object.""" - restore_status: RestoreStatus | None = ... - """ - Specifies the restoration status of an object. Objects in certain - storage classes must be restored before they can be retrieved. For more - information about these storage classes and how to work with archived - objects, see [Working with archived - objects](https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html) - in the *Amazon S3 User Guide*. - """ - -class ObjectVersionStorageClass(UnknownEnumMixin, StrEnum): - STANDARD = "STANDARD" - -class OptionalObjectAttributes(UnknownEnumMixin, StrEnum): - RESTORE_STATUS = "RestoreStatus" - -@dataclass(kw_only=True) -class OutputLocation(_SerdeShape): - """Describes the location where the restore job's output is stored.""" - - s3: S3Location | None = ... - """ - Describes an S3 location that will receive the results of the restore - request. - """ - -@dataclass(kw_only=True) -class OutputSerialization(_SerdeShape): - """Describes how results of the Select job are serialized.""" - - csv: CSVOutput | None = ... - """Describes the serialization of CSV-encoded Select results.""" - json: JSONOutput | None = ... - """Specifies JSON as request's output serialization format.""" - -@dataclass(kw_only=True) -class Owner(_SerdeShape): - """Container for the owner's display name and ID.""" - - display_name: str | None = ... - """""" - id: str | None = ... - """Container for the ID of the owner.""" - -class OwnerOverride(UnknownEnumMixin, StrEnum): - DESTINATION = "Destination" - -@dataclass(kw_only=True) -class OwnershipControls(_SerdeShape): - """The container element for a bucket's ownership controls.""" - - rules: list[OwnershipControlsRule] - """The container element for an ownership control rule.""" - -@dataclass(kw_only=True) -class OwnershipControlsRule(_SerdeShape): - """The container element for an ownership control rule.""" - - object_ownership: str - """ - The container element for object ownership for a bucket's ownership - controls. - - `BucketOwnerPreferred` - Objects uploaded to the bucket change ownership - to the bucket owner if the objects are uploaded with the - `bucket-owner-full-control` canned ACL. - - `ObjectWriter` - The uploading account will own the object if the object - is uploaded with the `bucket-owner-full-control` canned ACL. - - `BucketOwnerEnforced` - Access control lists (ACLs) are disabled and no - longer affect permissions. The bucket owner automatically owns and has - full control over every object in the bucket. The bucket only accepts - PUT requests that don't specify an ACL or specify bucket owner full - control ACLs (such as the predefined `bucket-owner-full-control` canned - ACL or a custom ACL in XML format that grants the same permissions). - - By default, `ObjectOwnership` is set to `BucketOwnerEnforced` and ACLs - are disabled. We recommend keeping ACLs disabled, except in uncommon use - cases where you must control access for each object individually. For - more information about S3 Object Ownership, see [Controlling ownership - of objects and disabling ACLs for your - bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. Directory - buckets use the bucket owner enforced setting for S3 Object Ownership. - """ - -@dataclass(kw_only=True) -class ParquetInput(_SerdeShape): - """Container for Parquet.""" - -@dataclass(kw_only=True) -class Part(_SerdeShape): - """Container for elements related to a part.""" - - part_number: int | None = ... - """ - Part number identifying the part. This is a positive integer between 1 - and 10,000. - """ - last_modified: datetime | None = ... - """Date and time at which the part was uploaded.""" - e_tag: str | None = ... - """Entity tag returned when the part was uploaded.""" - size: int | None = ... - """Size in bytes of the uploaded part data.""" - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum - is present if the object was uploaded with the `CRC32` checksum - algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the part. This checksum - is present if the object was uploaded with the `CRC32C` checksum - algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This - checksum is present if the multipart upload request was created with the - `CRC64NVME` checksum algorithm, or if the object was uploaded without a - checksum (and Amazon S3 added the default checksum, `CRC64NVME`, to the - uploaded object). For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` checksum of the part. This checksum - is present if the object was uploaded with the `SHA1` checksum - algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` checksum of the part. This checksum - is present if the object was uploaded with the `SHA256` checksum - algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the part. This checksum - is present if the multipart upload request was created with the `SHA512` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the part. This checksum is - present if the multipart upload request was created with the `MD5` - checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This - checksum is present if the multipart upload request was created with the - `XXHASH64` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This checksum - is present if the multipart upload request was created with the - `XXHASH3` checksum algorithm. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This - checksum is present if the multipart upload request was created with the - `XXHASH128` checksum algorithm. For more information, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - -class PartitionDateSource(UnknownEnumMixin, StrEnum): - EVENT_TIME = "EventTime" - DELIVERY_TIME = "DeliveryTime" - -@dataclass(kw_only=True) -class PartitionedPrefix(_SerdeShape): - """ - Amazon S3 keys for log objects are partitioned in the following format: - - `[DestinationPrefix][SourceAccountId]/[SourceRegion]/[SourceBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]` - - PartitionedPrefix defaults to EventTime delivery when server access logs - are delivered. - """ - - partition_date_source: str | None = ... - """ - Specifies the partition date source for the partitioned prefix. - `PartitionDateSource` can be `EventTime` or `DeliveryTime`. - - For `DeliveryTime`, the time in the log file names corresponds to the - delivery time for the log files. - - For `EventTime`, The logs delivered are for a specific day only. The - year, month, and day correspond to the day on which the event occurred, - and the hour, minutes and seconds are set to 00 in the key. - """ - -class Payer(UnknownEnumMixin, StrEnum): - REQUESTER = "Requester" - BUCKET_OWNER = "BucketOwner" - -class Permission(UnknownEnumMixin, StrEnum): - FULL_CONTROL = "FULL_CONTROL" - WRITE = "WRITE" - WRITE_ACP = "WRITE_ACP" - READ = "READ" - READ_ACP = "READ_ACP" - -@dataclass(kw_only=True) -class PolicyStatus(_SerdeShape): - """The container element for a bucket's policy status.""" - - is_public: bool | None = ... - """ - The policy status for this bucket. `TRUE` indicates that this bucket is - public. `FALSE` indicates that the bucket is not public. - """ - -@dataclass(kw_only=True) -class Progress(_SerdeShape): - """This data type contains information about progress of an operation.""" - - bytes_scanned: int | None = ... - """The current number of object bytes scanned.""" - bytes_processed: int | None = ... - """The current number of uncompressed object bytes processed.""" - bytes_returned: int | None = ... - """The current number of bytes of records payload data returned.""" - -@dataclass(kw_only=True) -class ProgressEvent(_SerdeShape): - """ - This data type contains information about the progress event of an - operation. - """ - - details: Progress | None = ... - """The Progress event details.""" - -class Protocol(UnknownEnumMixin, StrEnum): - HTTP = "http" - HTTPS = "https" - -@dataclass(kw_only=True) -class PublicAccessBlockConfiguration(_SerdeShape): - """ - The PublicAccessBlock configuration that you want to apply to this - Amazon S3 bucket. You can enable the configuration options in any - combination. Bucket-level settings work alongside account-level settings - (which may inherit from organization-level policies). For more - information about when Amazon S3 considers a bucket or object public, - see [The Meaning of - \"Public\"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) - in the *Amazon S3 User Guide*. - """ - - block_public_acls: bool | None = ... - """ - Specifies whether Amazon S3 should block public access control lists - (ACLs) for this bucket and objects in this bucket. Setting this element - to `TRUE` causes the following behavior: - - - PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is - public. - - - PUT Object calls fail if the request includes a public ACL. - - - PUT Bucket calls fail if the request includes a public ACL. - - Enabling this setting doesn't affect existing policies or ACLs. - """ - ignore_public_acls: bool | None = ... - """ - Specifies whether Amazon S3 should ignore public ACLs for this bucket - and objects in this bucket. Setting this element to `TRUE` causes Amazon - S3 to ignore all public ACLs on this bucket and objects in this bucket. - - Enabling this setting doesn't affect the persistence of any existing - ACLs and doesn't prevent new public ACLs from being set. - """ - block_public_policy: bool | None = ... - """ - Specifies whether Amazon S3 should block public bucket policies for this - bucket. Setting this element to `TRUE` causes Amazon S3 to reject calls - to PUT Bucket policy if the specified bucket policy allows public - access. - - Enabling this setting doesn't affect existing bucket policies. - """ - restrict_public_buckets: bool | None = ... - """ - Specifies whether Amazon S3 should restrict public bucket policies for - this bucket. Setting this element to `TRUE` restricts access to this - bucket to only Amazon Web Services service principals and authorized - users within this account if the bucket has a public policy. - - Enabling this setting doesn't affect previously stored bucket policies, - except that public and cross-account access within any public bucket - policy, including non-public delegation to specific accounts, is - blocked. - """ - -@dataclass(kw_only=True) -class PutBucketAbacInput(_SerdeShape): - """Dataclass for PutBucketAbacInput structure.""" - - bucket: str | None = ... - """The name of the general purpose bucket.""" - content_md5: str | None = ... - """ - The MD5 hash of the `PutBucketAbac` request body. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm that you want Amazon S3 to use to create the - checksum. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - expected_bucket_owner: str | None = ... - """ - The Amazon Web Services account ID of the general purpose bucket's - owner. - """ - abac_status: AbacStatus | None = ... - """ - The ABAC status of the general purpose bucket. When ABAC is enabled for - the general purpose bucket, you can use tags to manage access to the - general purpose buckets as well as for cost tracking purposes. When ABAC - is disabled for the general purpose buckets, you can only use tags for - cost tracking purposes. For more information, see [Using tags with S3 - general purpose - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging.html). - """ - -@dataclass(kw_only=True) -class PutBucketAbacOutput(_SerdeShape): - """Dataclass for PutBucketAbacOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketAccelerateConfigurationInput(_SerdeShape): - """Dataclass for PutBucketAccelerateConfigurationInput structure.""" - - bucket: str | None = ... - """The name of the bucket for which the accelerate configuration is set.""" - accelerate_configuration: AccelerateConfiguration | None = ... - """Container for setting the transfer acceleration state.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - -@dataclass(kw_only=True) -class PutBucketAccelerateConfigurationOutput(_SerdeShape): - """Dataclass for PutBucketAccelerateConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketAclInput(_SerdeShape): - """Dataclass for PutBucketAclInput structure.""" - - acl: str | None = ... - """The canned ACL to apply to the bucket.""" - access_control_policy: AccessControlPolicy | None = ... - """ - Contains the elements that set the ACL permissions for an object per - grantee. - """ - bucket: str | None = ... - """The bucket to which to apply the ACL.""" - content_md5: str | None = ... - """ - The Base64 encoded 128-bit `MD5` digest of the data. This header must be - used as a message integrity check to verify that the request body was - not corrupted in transit. For more information, go to [RFC - 1864.](http://www.ietf.org/rfc/rfc1864.txt) - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - grant_full_control: str | None = ... - """ - Allows grantee the read, write, read ACP, and write ACP permissions on - the bucket. - """ - grant_read: str | None = ... - """Allows grantee to list the objects in the bucket.""" - grant_read_acp: str | None = ... - """Allows grantee to read the bucket ACL.""" - grant_write: str | None = ... - """ - Allows grantee to create new objects in the bucket. - - For the bucket and object owners of existing objects, also allows - deletions and overwrites of those objects. - """ - grant_write_acp: str | None = ... - """Allows grantee to write the ACL for the applicable bucket.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutBucketAclOutput(_SerdeShape): - """Dataclass for PutBucketAclOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketAnalyticsConfigurationInput(_SerdeShape): - """Dataclass for PutBucketAnalyticsConfigurationInput structure.""" - - bucket: str | None = ... - """The name of the bucket to which an analytics configuration is stored.""" - id: str | None = ... - """The ID that identifies the analytics configuration.""" - analytics_configuration: AnalyticsConfiguration | None = ... - """The configuration and any analyses for the analytics filter.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutBucketAnalyticsConfigurationOutput(_SerdeShape): - """Dataclass for PutBucketAnalyticsConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketCorsInput(_SerdeShape): - """Dataclass for PutBucketCorsInput structure.""" - - bucket: str | None = ... - """Specifies the bucket impacted by the `cors`configuration.""" - cors_configuration: CORSConfiguration | None = ... - """ - Describes the cross-origin access configuration for objects in an Amazon - S3 bucket. For more information, see [Enabling Cross-Origin Resource - Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in - the *Amazon S3 User Guide*. - """ - content_md5: str | None = ... - """ - The Base64 encoded 128-bit `MD5` digest of the data. This header must be - used as a message integrity check to verify that the request body was - not corrupted in transit. For more information, go to [RFC - 1864.](http://www.ietf.org/rfc/rfc1864.txt) - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutBucketCorsOutput(_SerdeShape): - """Dataclass for PutBucketCorsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketEncryptionInput(_SerdeShape): - """Dataclass for PutBucketEncryptionInput structure.""" - - bucket: str | None = ... - """ - Specifies default encryption for a bucket using server-side encryption - with different key options. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - content_md5: str | None = ... - """ - The Base64 encoded 128-bit `MD5` digest of the server-side encryption - configuration. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - - Note: - This functionality is not supported for directory buckets. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - - Note: - For directory buckets, when you use Amazon Web Services SDKs, `CRC32` is - the default checksum algorithm that's used for performance. - """ - server_side_encryption_configuration: ServerSideEncryptionConfiguration | None = ... - """Specifies the default server-side-encryption configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class PutBucketEncryptionOutput(_SerdeShape): - """Dataclass for PutBucketEncryptionOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketIntelligentTieringConfigurationInput(_SerdeShape): - """Dataclass for PutBucketIntelligentTieringConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket whose configuration you want to modify - or retrieve. - """ - id: str | None = ... - """The ID used to identify the S3 Intelligent-Tiering configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - intelligent_tiering_configuration: IntelligentTieringConfiguration | None = ... - """Container for S3 Intelligent-Tiering configuration.""" - -@dataclass(kw_only=True) -class PutBucketIntelligentTieringConfigurationOutput(_SerdeShape): - """Dataclass for PutBucketIntelligentTieringConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketInventoryConfigurationInput(_SerdeShape): - """Dataclass for PutBucketInventoryConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket where the inventory configuration will be stored. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - id: str | None = ... - """The ID used to identify the inventory configuration.""" - inventory_configuration: InventoryConfiguration | None = ... - """Specifies the inventory configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class PutBucketInventoryConfigurationOutput(_SerdeShape): - """Dataclass for PutBucketInventoryConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketLifecycleConfigurationInput(_SerdeShape): - """Dataclass for PutBucketLifecycleConfigurationInput structure.""" - - bucket: str | None = ... - """The name of the bucket for which to set the configuration.""" - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - lifecycle_configuration: BucketLifecycleConfiguration | None = ... - """Container for lifecycle rules. You can add as many as 1,000 rules.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - """ - transition_default_minimum_object_size: str | None = ... - """ - Indicates which default minimum object size behavior is applied to the - lifecycle configuration. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - - - `all_storage_classes_128K` - Objects smaller than 128 KB will not - transition to any storage class by default. - - - `varies_by_storage_class` - Objects smaller than 128 KB will - transition to Glacier Flexible Retrieval or Glacier Deep Archive - storage classes. By default, all other storage classes will prevent - transitions smaller than 128 KB. - - To customize the minimum object size for any transition you can add a - filter that specifies a custom `ObjectSizeGreaterThan` or - `ObjectSizeLessThan` in the body of your transition rule. Custom filters - always take precedence over the default transition behavior. - """ - -@dataclass(kw_only=True) -class PutBucketLifecycleConfigurationOutput(_SerdeShape): - """Dataclass for PutBucketLifecycleConfigurationOutput structure.""" - - transition_default_minimum_object_size: str | None = ... - """ - Indicates which default minimum object size behavior is applied to the - lifecycle configuration. - - Note: - This parameter applies to general purpose buckets only. It is not - supported for directory bucket lifecycle configurations. - - - `all_storage_classes_128K` - Objects smaller than 128 KB will not - transition to any storage class by default. - - - `varies_by_storage_class` - Objects smaller than 128 KB will - transition to Glacier Flexible Retrieval or Glacier Deep Archive - storage classes. By default, all other storage classes will prevent - transitions smaller than 128 KB. - - To customize the minimum object size for any transition you can add a - filter that specifies a custom `ObjectSizeGreaterThan` or - `ObjectSizeLessThan` in the body of your transition rule. Custom filters - always take precedence over the default transition behavior. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketLoggingInput(_SerdeShape): - """Dataclass for PutBucketLoggingInput structure.""" - - bucket: str | None = ... - """The name of the bucket for which to set the logging parameters.""" - bucket_logging_status: BucketLoggingStatus | None = ... - """Container for logging status information.""" - content_md5: str | None = ... - """ - The MD5 hash of the `PutBucketLogging` request body. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutBucketLoggingOutput(_SerdeShape): - """Dataclass for PutBucketLoggingOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketMetricsConfigurationInput(_SerdeShape): - """Dataclass for PutBucketMetricsConfigurationInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket for which the metrics configuration is set. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - id: str | None = ... - """ - The ID used to identify the metrics configuration. The ID has a 64 - character limit and can only contain letters, numbers, periods, dashes, - and underscores. - """ - metrics_configuration: MetricsConfiguration | None = ... - """Specifies the metrics configuration.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class PutBucketMetricsConfigurationOutput(_SerdeShape): - """Dataclass for PutBucketMetricsConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketNotificationConfigurationInput(_SerdeShape): - """Dataclass for PutBucketNotificationConfigurationInput structure.""" - - bucket: str | None = ... - """The name of the bucket.""" - notification_configuration: NotificationConfiguration | None = ... - """ - A container for specifying the notification configuration of the bucket. - If this element is empty, notifications are turned off for the bucket. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - skip_destination_validation: bool | None = ... - """ - Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. - True or false value. - """ - -@dataclass(kw_only=True) -class PutBucketNotificationConfigurationOutput(_SerdeShape): - """Dataclass for PutBucketNotificationConfigurationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketOwnershipControlsInput(_SerdeShape): - """Dataclass for PutBucketOwnershipControlsInput structure.""" - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket whose `OwnershipControls` you want to - set. - """ - content_md5: str | None = ... - """ - The MD5 hash of the `OwnershipControls` request body. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - ownership_controls: OwnershipControls | None = ... - """ - The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred, or - ObjectWriter) that you want to apply to this Amazon S3 bucket. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum-`*`algorithm`*` ` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - -@dataclass(kw_only=True) -class PutBucketOwnershipControlsOutput(_SerdeShape): - """Dataclass for PutBucketOwnershipControlsOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketPolicyInput(_SerdeShape): - """Dataclass for PutBucketPolicyInput structure.""" - - bucket: str | None = ... - """ - The name of the bucket. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use path-style requests in the format - `https://s3express-control.`*`region-code`*`.amazonaws.com/`*`bucket-name`*` `. - Virtual-hosted-style requests aren't supported. Directory bucket names - must be unique in the chosen Zone (Availability Zone or Local Zone). - Bucket names must also follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`DOC-EXAMPLE-BUCKET`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide* - """ - content_md5: str | None = ... - """ - The MD5 hash of the request body. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - - Note: - This functionality is not supported for directory buckets. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum-`*`algorithm`*` ` or - `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request with - the HTTP status code `400 Bad Request`. - - For the `x-amz-checksum-`*`algorithm`*` ` header, replace - ` `*`algorithm`*` ` with the supported algorithm from the following - list: - - - `CRC32` - - - `CRC32C` - - - `CRC64NVME` - - - `MD5` - - - `SHA1` - - - `SHA256` - - - `SHA512` - - - `XXHASH3` - - - `XXHASH64` - - - `XXHASH128` - - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If the individual checksum value you provide through - `x-amz-checksum-`*`algorithm`*` ` doesn't match the checksum algorithm - you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the - request with a `BadDigest` error. - - Note: - For directory buckets, when you use Amazon Web Services SDKs, `CRC32` is - the default checksum algorithm that's used for performance. - """ - confirm_remove_self_bucket_access: bool | None = ... - """ - Set this parameter to true to confirm that you want to remove your - permissions to change this bucket policy in the future. - - Note: - This functionality is not supported for directory buckets. - """ - policy: str | None = ... - """ - The bucket policy as a JSON document. - - For directory buckets, the only IAM action supported in the bucket - policy is `s3express:CreateSession`. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - - Note: - For directory buckets, this header is not supported in this API - operation. If you specify this header, the request fails with the HTTP - status code `501 Not Implemented`. - """ - -@dataclass(kw_only=True) -class PutBucketPolicyOutput(_SerdeShape): - """Dataclass for PutBucketPolicyOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketReplicationInput(_SerdeShape): - """Dataclass for PutBucketReplicationInput structure.""" - - bucket: str | None = ... - """The name of the bucket""" - content_md5: str | None = ... - """ - The Base64 encoded 128-bit `MD5` digest of the data. You must use this - header as a message integrity check to verify that the request body was - not corrupted in transit. For more information, see [RFC - 1864](http://www.ietf.org/rfc/rfc1864.txt). - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - replication_configuration: ReplicationConfiguration | None = ... - """ - A container for replication rules. You can add up to 1,000 rules. The - maximum size of a replication configuration is 2 MB. - """ - token: str | None = ... - """A token to allow Object Lock to be enabled for an existing bucket.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutBucketReplicationOutput(_SerdeShape): - """Dataclass for PutBucketReplicationOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketRequestPaymentInput(_SerdeShape): - """Dataclass for PutBucketRequestPaymentInput structure.""" - - bucket: str | None = ... - """The bucket name.""" - content_md5: str | None = ... - """ - The Base64 encoded 128-bit `MD5` digest of the data. You must use this - header as a message integrity check to verify that the request body was - not corrupted in transit. For more information, see [RFC - 1864](http://www.ietf.org/rfc/rfc1864.txt). - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - request_payment_configuration: RequestPaymentConfiguration | None = ... - """Container for Payer.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutBucketRequestPaymentOutput(_SerdeShape): - """Dataclass for PutBucketRequestPaymentOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketTaggingInput(_SerdeShape): - """Dataclass for PutBucketTaggingInput structure.""" - - bucket: str | None = ... - """The bucket name.""" - content_md5: str | None = ... - """ - The Base64 encoded 128-bit `MD5` digest of the data. You must use this - header as a message integrity check to verify that the request body was - not corrupted in transit. For more information, see [RFC - 1864](http://www.ietf.org/rfc/rfc1864.txt). - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - tagging: Tagging | None = ... - """Container for the `TagSet` and `Tag` elements.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutBucketTaggingOutput(_SerdeShape): - """Dataclass for PutBucketTaggingOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketVersioningInput(_SerdeShape): - """Dataclass for PutBucketVersioningInput structure.""" - - bucket: str | None = ... - """The bucket name.""" - content_md5: str | None = ... - """ - >The Base64 encoded 128-bit `MD5` digest of the data. You must use this - header as a message integrity check to verify that the request body was - not corrupted in transit. For more information, see [RFC - 1864](http://www.ietf.org/rfc/rfc1864.txt). - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - mfa: str | None = ... - """ - The concatenation of the authentication device's serial number, a - space, and the value that is displayed on your authentication device. - The serial number is the number that uniquely identifies the MFA device. - For physical MFA devices, this is the unique serial number that's - provided with the device. For virtual MFA devices, the serial number is - the device ARN. For more information, see [Enabling versioning on - buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html) - and [Configuring MFA - delete](https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiFactorAuthenticationDelete.html) - in the *Amazon Simple Storage Service User Guide*. - """ - versioning_configuration: VersioningConfiguration | None = ... - """Container for setting the versioning state.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutBucketVersioningOutput(_SerdeShape): - """Dataclass for PutBucketVersioningOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutBucketWebsiteInput(_SerdeShape): - """Dataclass for PutBucketWebsiteInput structure.""" - - bucket: str | None = ... - """The bucket name.""" - content_md5: str | None = ... - """ - The Base64 encoded 128-bit `MD5` digest of the data. You must use this - header as a message integrity check to verify that the request body was - not corrupted in transit. For more information, see [RFC - 1864](http://www.ietf.org/rfc/rfc1864.txt). - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the request when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - website_configuration: WebsiteConfiguration | None = ... - """Container for the request.""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutBucketWebsiteOutput(_SerdeShape): - """Dataclass for PutBucketWebsiteOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutObjectAclInput(_SerdeShape): - """Dataclass for PutObjectAclInput structure.""" - - acl: str | None = ... - """ - The canned ACL to apply to the object. For more information, see [Canned - ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). - """ - access_control_policy: AccessControlPolicy | None = ... - """ - Contains the elements that set the ACL permissions for an object per - grantee. - """ - bucket: str | None = ... - """ - The bucket name that contains the object to which you want to attach the - ACL. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - content_md5: str | None = ... - """ - The Base64 encoded 128-bit `MD5` digest of the data. This header must be - used as a message integrity check to verify that the request body was - not corrupted in transit. For more information, go to [RFC - 1864.>](http://www.ietf.org/rfc/rfc1864.txt) - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - grant_full_control: str | None = ... - """ - Allows grantee the read, write, read ACP, and write ACP permissions on - the bucket. - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_read: str | None = ... - """ - Allows grantee to list the objects in the bucket. - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_read_acp: str | None = ... - """ - Allows grantee to read the bucket ACL. - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_write: str | None = ... - """ - Allows grantee to create new objects in the bucket. - - For the bucket and object owners of existing objects, also allows - deletions and overwrites of those objects. - """ - grant_write_acp: str | None = ... - """ - Allows grantee to write the ACL for the applicable bucket. - - This functionality is not supported for Amazon S3 on Outposts. - """ - key: str | None = ... - """Key for which the PUT action was initiated.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - version_id: str | None = ... - """ - Version ID used to reference a specific version of the object. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutObjectAclOutput(_SerdeShape): - """Dataclass for PutObjectAclOutput structure.""" - - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutObjectAnnotationInput(_SerdeShape): - """Dataclass for PutObjectAnnotationInput structure.""" - - bucket: str | None = ... - """The name of the bucket that contains the object.""" - key: str | None = ... - """The object key.""" - version_id: str | None = ... - """The version ID of the object to attach the annotation to.""" - annotation_name: str | None = ... - """ - The name of the annotation. - - Length Constraints: Minimum length of 1. Maximum length of 512 bytes. - """ - annotation_payload: StreamingBlob | None = ... - """ - The annotation payload. Must be between 1 byte and 1 MiB in size, and - must be valid UTF-8 encoded text. If the payload contains invalid UTF-8 - bytes, the request fails with HTTP 415 (Unsupported Media Type). To - store binary data, encode the payload using Base64 before uploading. - """ - object_if_match: str | None = ... - """ - If specified, the operation only succeeds if the object's ETag matches - the provided value. - """ - checksum_algorithm: str | None = ... - """ - The checksum algorithm to use. Supported values: `CRC32`, `CRC32C`, - `CRC64NVME`, `SHA1`, `SHA256`, `SHA512`, `MD5`, `XXHASH64`, `XXHASH3`, - `XXHASH128`. - """ - checksum_crc32: str | None = ... - """Base64-encoded CRC32 checksum of the annotation payload.""" - checksum_crc32_c: str | None = ... - """Base64-encoded CRC32C checksum of the annotation payload.""" - checksum_crc64_nvme: str | None = ... - """Base64-encoded CRC64NVME checksum of the annotation payload.""" - checksum_sha1: str | None = ... - """Base64-encoded SHA1 checksum of the annotation payload.""" - checksum_sha256: str | None = ... - """Base64-encoded SHA256 checksum of the annotation payload.""" - checksum_sha512: str | None = ... - """Base64-encoded SHA512 checksum of the annotation payload.""" - checksum_md5: str | None = ... - """Base64-encoded MD5 checksum of the annotation payload.""" - checksum_xxhash64: str | None = ... - """Base64-encoded XXHASH64 checksum of the annotation payload.""" - checksum_xxhash3: str | None = ... - """Base64-encoded XXHASH3 checksum of the annotation payload.""" - checksum_xxhash128: str | None = ... - """Base64-encoded XXHASH128 checksum of the annotation payload.""" - content_md5: str | None = ... - """Base64-encoded MD5 digest of the message.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the bucket is owned by a - different account, the request fails with an HTTP 403 (Access Denied) - error. - """ - -@dataclass(kw_only=True) -class PutObjectAnnotationOutput(_SerdeShape): - """Dataclass for PutObjectAnnotationOutput structure.""" - - key: str | None = ... - """The object key.""" - annotation_name: str | None = ... - """The name of the annotation.""" - object_version_id: str | None = ... - """The version ID of the object that the annotation was attached to.""" - e_tag: str | None = ... - """The entity tag of the annotation.""" - checksum_crc32: str | None = ... - """The CRC32 checksum of the stored annotation.""" - checksum_crc32_c: str | None = ... - """The CRC32C checksum of the stored annotation.""" - checksum_crc64_nvme: str | None = ... - """The CRC64NVME checksum of the stored annotation.""" - checksum_sha1: str | None = ... - """The SHA1 checksum of the stored annotation.""" - checksum_sha256: str | None = ... - """The SHA256 checksum of the stored annotation.""" - checksum_sha512: str | None = ... - """The SHA512 checksum of the stored annotation.""" - checksum_md5: str | None = ... - """The MD5 checksum of the stored annotation.""" - checksum_xxhash64: str | None = ... - """The XXHASH64 checksum of the stored annotation.""" - checksum_xxhash3: str | None = ... - """The XXHASH3 checksum of the stored annotation.""" - checksum_xxhash128: str | None = ... - """The XXHASH128 checksum of the stored annotation.""" - checksum_type: str | None = ... - """The type of checksum used.""" - server_side_encryption: str | None = ... - """The server-side encryption algorithm used to encrypt the annotation.""" - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutObjectInput(_SerdeShape): - """Dataclass for PutObjectInput structure.""" - - acl: str | None = ... - """ - The canned ACL to apply to the object. For more information, see [Canned - ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL) - in the *Amazon S3 User Guide*. - - When adding a new object, you can use headers to grant ACL-based - permissions to individual Amazon Web Services accounts or to predefined - groups defined by Amazon S3. These permissions are then added to the ACL - on the object. By default, all objects are private. Only the owner has - full access control. For more information, see [Access Control List - (ACL) - Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) - and [Managing ACLs Using the REST - API](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html) - in the *Amazon S3 User Guide*. - - If the bucket that you're uploading objects to uses the bucket owner - enforced setting for S3 Object Ownership, ACLs are disabled and no - longer affect permissions. Buckets that use this setting only accept PUT - requests that don't specify an ACL or PUT requests that specify bucket - owner full control ACLs, such as the `bucket-owner-full-control` canned - ACL or an equivalent form of this ACL expressed in the XML format. PUT - requests that contain other ACLs (for example, custom grants to certain - Amazon Web Services accounts) fail and return a `400` error with the - error code `AccessControlListNotSupported`. For more information, see - [Controlling ownership of objects and disabling - ACLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) - in the *Amazon S3 User Guide*. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - body: StreamingBlob = ... - """Object data.""" - bucket: str | None = ... - """ - The bucket name to which the PUT action was initiated. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - cache_control: str | None = ... - """ - Can be used to specify caching behavior along the request/reply chain. - For more information, see - . - """ - content_disposition: str | None = ... - """ - Specifies presentational information for the object. For more - information, see . - """ - content_encoding: str | None = ... - """ - Specifies what content encodings have been applied to the object and - thus what decoding mechanisms must be applied to obtain the media-type - referenced by the Content-Type header field. For more information, see - . - """ - content_language: str | None = ... - """The language the content is in.""" - content_length: int | None = ... - """ - Size of the body in bytes. This parameter is useful when the size of the - body cannot be determined automatically. For more information, see - . - """ - content_md5: str | None = ... - """ - The Base64 encoded 128-bit `MD5` digest of the message (without the - headers) according to RFC 1864. This header can be used as a message - integrity check to verify that the data is the same data that was - originally sent. Although it is optional, we recommend using the - Content-MD5 mechanism as an end-to-end integrity check. For more - information about REST request authentication, see [REST - Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html). - - Note: - The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required - for any request to upload an object with a retention period configured - using Amazon S3 Object Lock. For more information, see [Uploading - objects to an Object Lock enabled - bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object) - in the *Amazon S3 User Guide*. - Note: - This functionality is not supported for directory buckets. - """ - content_type: str | None = ... - """ - A standard MIME type describing the format of the contents. For more - information, see - . - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum-`*`algorithm`*` ` or - `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request with - the HTTP status code `400 Bad Request`. - - For the `x-amz-checksum-`*`algorithm`*` ` header, replace - ` `*`algorithm`*` ` with the supported algorithm from the following - list: - - - `CRC32` - - - `CRC32C` - - - `CRC64NVME` - - - `MD5` - - - `SHA1` - - - `SHA256` - - - `SHA512` - - - `XXHASH3` - - - `XXHASH64` - - - `XXHASH128` - - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If the individual checksum value you provide through - `x-amz-checksum-`*`algorithm`*` ` doesn't match the checksum algorithm - you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the - request with a `BadDigest` error. - - Note: - The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required - for any request to upload an object with a retention period configured - using Amazon S3 Object Lock. For more information, see [Uploading - objects to an Object Lock enabled - bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object) - in the *Amazon S3 User Guide*. - - For directory buckets, when you use Amazon Web Services SDKs, `CRC32` is - the default checksum algorithm that's used for performance. - """ - checksum_crc32: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the object. - The `CRC64NVME` checksum is always a full object checksum. For more - information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_sha1: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 512-bit `SHA512` digest of the object. For - more information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_md5: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 128-bit `MD5` digest of the object. For - more information, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash64: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `XXHASH64` checksum of the object. - For more information, see [Checking object integrity in the Amazon S3 - User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash3: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `XXHASH3` checksum of the object. - For more information, see [Checking object integrity in the Amazon S3 - User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash128: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 128-bit `XXHASH128` checksum of the - object. For more information, see [Checking object integrity in the - Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - expires: str | None = ... - """ - The date and time at which the object is no longer cacheable. For more - information, see . - """ - if_match: str | None = ... - """ - Uploads the object only if the ETag (entity tag) value provided during - the WRITE operation matches the ETag of the object in S3. If the ETag - values do not match, the operation returns a `412 Precondition Failed` - error. - - If a conflicting operation occurs during the upload S3 returns a - `409 ConditionalRequestConflict` response. On a 409 failure you should - fetch the object's ETag and retry the upload. - - Expects the ETag value as a string. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232), or [Conditional - requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html) - in the *Amazon S3 User Guide*. - """ - if_none_match: str | None = ... - """ - Uploads the object only if the object key name does not already exist in - the bucket specified. Otherwise, Amazon S3 returns a - `412 Precondition Failed` error. - - If a conflicting operation occurs during the upload S3 returns a - `409 ConditionalRequestConflict` response. On a 409 failure you should - retry the upload. - - Expects the '*' (asterisk) character. - - For more information about conditional requests, see [RFC - 7232](https://tools.ietf.org/html/rfc7232), or [Conditional - requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html) - in the *Amazon S3 User Guide*. - """ - grant_full_control: str | None = ... - """ - Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the - object. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_read: str | None = ... - """ - Allows grantee to read the object data and its metadata. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_read_acp: str | None = ... - """ - Allows grantee to read the object ACL. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - grant_write_acp: str | None = ... - """ - Allows grantee to write the ACL for the applicable object. - - Note: - - This functionality is not supported for directory buckets. - - - This functionality is not supported for Amazon S3 on Outposts. - """ - key: str | None = ... - """Object key for which the PUT action was initiated.""" - write_offset_bytes: int | None = ... - """ - Specifies the offset for appending data to existing objects in bytes. - The offset must be equal to the size of the existing object being - appended to. If no object exists, setting this header to 0 will create a - new object. - - Note: - This functionality is only supported for objects in the Amazon S3 - Express One Zone storage class in directory buckets. - """ - metadata: dict[str, str] | None = ... - """A map of metadata to store with the object in S3.""" - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm that was used when you store this - object in Amazon S3 or Amazon FSx. - - - **General purpose buckets** - You have four mutually exclusive options - to protect data using server-side encryption in Amazon S3, depending - on how you choose to manage the encryption keys. Specifically, the - encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web - Services KMS keys (SSE-KMS or DSSE-KMS), and customer-provided keys - (SSE-C). Amazon S3 encrypts data with server-side encryption by using - Amazon S3 managed keys (SSE-S3) by default. You can optionally tell - Amazon S3 to encrypt data at rest by using server-side encryption with - other key options. For more information, see [Using Server-Side - Encryption](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) - in the *Amazon S3 User Guide*. - - - **Directory buckets** - For directory buckets, there are only two - supported options for server-side encryption: server-side encryption - with Amazon S3 managed keys (SSE-S3) (`AES256`) and server-side - encryption with KMS keys (SSE-KMS) (`aws:kms`). We recommend that the - bucket's default encryption uses the desired encryption configuration - and you don't override the bucket default encryption in your - `CreateSession` requests or `PUT` object requests. Then, new objects - are automatically encrypted with the desired encryption settings. For - more information, see [Protecting data with server-side - encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html) - in the *Amazon S3 User Guide*. For more information about the - encryption overriding behaviors in directory buckets, see [Specifying - server-side encryption with KMS for new object - uploads](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html). - - In the Zonal endpoint API calls (except - [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) - and - [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)) - using the REST API, the encryption request headers must match the - encryption settings that are specified in the `CreateSession` request. - You can't override the values of the encryption settings - (`x-amz-server-side-encryption`, - `x-amz-server-side-encryption-aws-kms-key-id`, - `x-amz-server-side-encryption-context`, and - `x-amz-server-side-encryption-bucket-key-enabled`) that are specified - in the `CreateSession` request. You don't need to explicitly specify - these encryption settings values in Zonal endpoint API calls, and - Amazon S3 will use the encryption settings values from the - `CreateSession` request to protect new objects in the directory - bucket. - - Note: - When you use the CLI or the Amazon Web Services SDKs, for - `CreateSession`, the session token refreshes automatically to avoid - service interruptions when a session expires. The CLI or the Amazon - Web Services SDKs use the bucket's default encryption configuration - for the `CreateSession` request. It's not supported to override the - encryption settings values in the `CreateSession` request. So in the - Zonal endpoint API calls (except - [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) - and - [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)), - the encryption request headers must match the default encryption - configuration of the directory bucket. - - - **S3 access points for Amazon FSx** - When accessing data stored in - Amazon FSx file systems using S3 access points, the only valid server - side encryption option is `aws:fsx`. All Amazon FSx file systems have - encryption configured by default and are encrypted at rest. Data is - automatically encrypted before being written to the file system, and - automatically decrypted as it is read. These processes are handled - transparently by Amazon FSx. - """ - storage_class: str | None = ... - """ - By default, Amazon S3 uses the STANDARD Storage Class to store newly - created objects. The STANDARD storage class provides high durability and - high availability. Depending on performance needs, you can specify a - different Storage Class. For more information, see [Storage - Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) - in the *Amazon S3 User Guide*. - - Note: - - Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One - Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3 One - Zone-Infrequent Access storage class) in Dedicated Local Zones. - - - Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. - """ - website_redirect_location: str | None = ... - """ - If the bucket is configured as a website, redirects requests for this - object to another object in the same bucket or to an external URL. - Amazon S3 stores the value of this header in the object metadata. For - information about object metadata, see [Object Key and - Metadata](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html) - in the *Amazon S3 User Guide*. - - In the following example, the request header sets the redirect to an - object (anotherPage.html) in the same bucket: - - `x-amz-website-redirect-location: /anotherPage.html` - - In the following example, the request header sets the object redirect to - another website: - - `x-amz-website-redirect-location: http://www.example.com/` - - For more information about website hosting in Amazon S3, see [Hosting - Websites on Amazon - S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html) - and [How to Configure Website Page - Redirects](https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when encrypting the object (for example, - `AES256`). - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key for Amazon S3 to use in - encrypting data. This value is used to store the object and then it is - discarded; Amazon S3 does not store the encryption key. The key must be - appropriate for use with the algorithm specified in the - `x-amz-server-side-encryption-customer-algorithm` header. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the encryption key according to RFC - 1321. Amazon S3 uses this header for a message integrity check to ensure - that the encryption key was transmitted without error. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for - object encryption. If the KMS key doesn't exist in the same account - that's issuing the command, you must use the full Key ARN not the Key - ID. - - **General purpose buckets** - If you specify - `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this - header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key - to use. If you specify `x-amz-server-side-encryption:aws:kms` or - `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide - `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the Amazon - Web Services managed key (`aws/s3`) to protect the data. - - **Directory buckets** - To encrypt data using SSE-KMS, it's recommended - to specify the `x-amz-server-side-encryption` header to `aws:kms`. Then, - the `x-amz-server-side-encryption-aws-kms-key-id` header implicitly uses - the bucket's default KMS customer managed key ID. If you want to - explicitly set the ` x-amz-server-side-encryption-aws-kms-key-id` - header, it must match the bucket's default customer managed key (using - key ID or ARN, not alias). Your SSE-KMS configuration can only support 1 - [customer managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) - per directory bucket's lifetime. The [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) - (`aws/s3`) isn't supported. Incorrect key specification results in an - HTTP `400 Bad Request` error. - """ - ssekms_encryption_context: str | None = ... - """ - Specifies the Amazon Web Services KMS Encryption Context as an - additional encryption context to use for object encryption. The value of - this header is a Base64 encoded string of a UTF-8 encoded JSON, which - contains the encryption context as key-value pairs. This value is stored - as object metadata and automatically gets passed on to Amazon Web - Services KMS for future `GetObject` operations on this object. - - **General purpose buckets** - This value must be explicitly added during - `CopyObject` operations if you want an additional encryption context for - your object. For more information, see [Encryption - context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) - in the *Amazon S3 User Guide*. - - **Directory buckets** - You can optionally provide an explicit - encryption context value. The value must match the default encryption - context - the bucket Amazon Resource Name (ARN). An additional - encryption context value is not supported. - """ - bucket_key_enabled: bool | None = ... - """ - Specifies whether Amazon S3 should use an S3 Bucket Key for object - encryption with server-side encryption using Key Management Service - (KMS) keys (SSE-KMS). - - **General purpose buckets** - Setting this header to `true` causes - Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS. - Also, specifying this header with a PUT action doesn't affect - bucket-level settings for S3 Bucket Key. - - **Directory buckets** - S3 Bucket Keys are always enabled for `GET` and - `PUT` operations in a directory bucket and can't be disabled. S3 Bucket - Keys aren't supported, when you copy SSE-KMS encrypted objects from - general purpose buckets to directory buckets, from directory buckets to - general purpose buckets, or between directory buckets, through - [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), - [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html), - [the Copy operation in Batch - Operations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops), - or [the import - jobs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job). - In this case, Amazon S3 makes a call to KMS every time a copy request is - made for a KMS-encrypted object. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - tagging: str | None = ... - """ - The tag-set for the object. The tag-set must be encoded as URL Query - parameters. (For example, \"Key1=Value1\") - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_mode: str | None = ... - """ - The Object Lock mode that you want to apply to this object. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_retain_until_date: datetime | None = ... - """ - The date and time when you want this object's Object Lock to expire. - Must be formatted as a timestamp parameter. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_legal_hold_status: str | None = ... - """ - Specifies whether a legal hold will be applied to this object. For more - information about S3 Object Lock, see [Object - Lock](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold: str | None = ... - """ - Specifies the event hold status to apply to this object. Set to `ON` to - enable or `OFF` to disable. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_days: int | None = ... - """ - Specifies the event hold duration in days to apply to this object. You - cannot specify a duration in both days and years. - - Note: - This functionality is not supported for directory buckets. - """ - object_lock_event_hold_duration_years: int | None = ... - """ - Specifies the event hold duration in years to apply to this object. You - cannot specify a duration in both days and years. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutObjectLegalHoldInput(_SerdeShape): - """Dataclass for PutObjectLegalHoldInput structure.""" - - bucket: str | None = ... - """ - The bucket name containing the object that you want to place a legal - hold on. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """The key name for the object that you want to place a legal hold on.""" - legal_hold: ObjectLockLegalHold | None = ... - """ - Container element for the legal hold configuration you want to apply to - the specified object. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - version_id: str | None = ... - """The version ID of the object that you want to place a legal hold on.""" - content_md5: str | None = ... - """ - The MD5 hash for the request body. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutObjectLegalHoldOutput(_SerdeShape): - """Dataclass for PutObjectLegalHoldOutput structure.""" - - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutObjectLockConfigurationInput(_SerdeShape): - """Dataclass for PutObjectLockConfigurationInput structure.""" - - bucket: str | None = ... - """ - The bucket whose Object Lock configuration you want to create or - replace. - """ - object_lock_configuration: ObjectLockConfiguration | None = ... - """ - The Object Lock configuration that you want to apply to the specified - bucket. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - token: str | None = ... - """A token to allow Object Lock to be enabled for an existing bucket.""" - content_md5: str | None = ... - """ - The MD5 hash for the request body. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutObjectLockConfigurationOutput(_SerdeShape): - """Dataclass for PutObjectLockConfigurationOutput structure.""" - - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutObjectOutput(_SerdeShape): - """Dataclass for PutObjectOutput structure.""" - - expiration: str | None = ... - """ - If the expiration is configured for the object (see - [PutBucketLifecycleConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html)) - in the *Amazon S3 User Guide*, the response includes this header. It - includes the `expiry-date` and `rule-id` key-value pairs that provide - information about object expiration. The value of the `rule-id` is - URL-encoded. - - Note: - Object expiration information is not returned in directory buckets and - this header returns the value \"`NotImplemented`\" in all responses for - directory buckets. - """ - e_tag: str | None = ... - """ - Entity tag for the uploaded object. - - **General purpose buckets** - To ensure that data is not corrupted - traversing the network, for objects where the ETag is the MD5 digest of - the object, you can calculate the MD5 while putting an object to Amazon - S3 and compare the returned ETag to the calculated MD5 value. - - **Directory buckets** - The ETag for the object in a directory bucket - isn't the MD5 digest of the object. - """ - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32 checksum` of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use an API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the object. This - checksum is only present if the checksum was uploaded with the object. - When you use an API operation on an object that was uploaded using - multipart uploads, this value may not be a direct checksum value of the - full object. Instead, it's a calculation based on the checksum values - of each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. This - header is present if the object was uploaded with the `CRC64NVME` - checksum algorithm, or if it was uploaded without a checksum (and Amazon - S3 added the default checksum, `CRC64NVME`, to the uploaded object). For - more information about how checksums are calculated with multipart - uploads, see [Checking object integrity in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` digest of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use the API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` digest of the object. This checksum - is only present if the checksum was uploaded with the object. When you - use an API operation on an object that was uploaded using multipart - uploads, this value may not be a direct checksum value of the full - object. Instead, it's a calculation based on the checksum values of - each individual part. For more information about how checksums are - calculated with multipart uploads, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` digest of the object. This header - is present if the object was uploaded with the `SHA512` checksum - algorithm. For more information, see [Checking object integrity in the - Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` digest of the object. This header is - present if the object was uploaded with the `MD5` checksum algorithm. - For more information, see [Checking object integrity in the Amazon S3 - User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the object. This - header is present if the object was uploaded with the `XXHASH64` - checksum algorithm. For more information, see [Checking object integrity - in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the object. This header - is present if the object was uploaded with the `XXHASH3` checksum - algorithm. For more information, see [Checking object integrity in the - Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the object. This - header is present if the object was uploaded with the `XXHASH128` - checksum algorithm. For more information, see [Checking object integrity - in the Amazon S3 User - Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). - """ - checksum_type: str | None = ... - """ - This header specifies the checksum type of the object, which determines - how part-level checksums are combined to create an object-level checksum - for multipart objects. For `PutObject` uploads, the checksum type is - always `FULL_OBJECT`. You can use this header as a data integrity check - to verify that the checksum type that is received is the same checksum - that was specified. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when you store this object in - Amazon S3 or Amazon FSx. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - version_id: str | None = ... - """ - Version ID of the object. - - If you enable versioning for a bucket, Amazon S3 automatically generates - a unique version ID for the object being stored. Amazon S3 returns this - ID in the response. When you enable versioning for a bucket, if Amazon - S3 receives multiple write requests for the same object simultaneously, - it stores all of the objects. For more information about versioning, see - [Adding Objects to Versioning-Enabled - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html) - in the *Amazon S3 User Guide*. For information about returning the - versioning state of a bucket, see - [GetBucketVersioning](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html). - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_algorithm: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to confirm the - encryption algorithm that's used. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to provide the - round-trip message integrity verification of the customer-provided - encryption key. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - If present, indicates the ID of the KMS key that was used for object - encryption. - """ - ssekms_encryption_context: str | None = ... - """ - If present, indicates the Amazon Web Services KMS Encryption Context to - use for object encryption. The value of this header is a Base64 encoded - string of a UTF-8 encoded JSON, which contains the encryption context as - key-value pairs. This value is stored as object metadata and - automatically gets passed on to Amazon Web Services KMS for future - `GetObject` operations on this object. - """ - bucket_key_enabled: bool | None = ... - """ - Indicates whether the uploaded object uses an S3 Bucket Key for - server-side encryption with Key Management Service (KMS) keys (SSE-KMS). - """ - size: int | None = ... - """ - The size of the object in bytes. This value is only be present if you - append to an object. - - Note: - This functionality is only supported for objects in the Amazon S3 - Express One Zone storage class in directory buckets. - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutObjectRetentionInput(_SerdeShape): - """Dataclass for PutObjectRetentionInput structure.""" - - bucket: str | None = ... - """ - The bucket name that contains the object you want to apply this Object - Retention configuration to. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """ - The key name for the object that you want to apply this Object Retention - configuration to. - """ - retention: ObjectLockRetention | None = ... - """The container element for the Object Retention configuration.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - version_id: str | None = ... - """ - The version ID for the object that you want to apply this Object - Retention configuration to. - """ - bypass_governance_retention: bool | None = ... - """ - Indicates whether this action should bypass Governance-mode - restrictions. - """ - content_md5: str | None = ... - """ - The MD5 hash for the request body. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutObjectRetentionOutput(_SerdeShape): - """Dataclass for PutObjectRetentionOutput structure.""" - - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutObjectTaggingInput(_SerdeShape): - """Dataclass for PutObjectTaggingInput structure.""" - - bucket: str | None = ... - """ - The bucket name containing the object. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """Name of the object key.""" - version_id: str | None = ... - """The versionId of the object that the tag-set will be added to.""" - content_md5: str | None = ... - """ - The MD5 hash for the request body. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - tagging: Tagging | None = ... - """Container for the `TagSet` and `Tag` elements""" - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that she or he will be charged for the - tagging object request. Bucket owners need not specify this parameter in - their requests. - """ - -@dataclass(kw_only=True) -class PutObjectTaggingOutput(_SerdeShape): - """Dataclass for PutObjectTaggingOutput structure.""" - - version_id: str | None = ... - """The versionId of the object the tag-set was added to.""" - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class PutPublicAccessBlockInput(_SerdeShape): - """Dataclass for PutPublicAccessBlockInput structure.""" - - bucket: str | None = ... - """ - The name of the Amazon S3 bucket whose `PublicAccessBlock` configuration - you want to set. - """ - content_md5: str | None = ... - """ - The MD5 hash of the `PutPublicAccessBlock` request body. - - For requests made using the Amazon Web Services Command Line Interface - (CLI) or Amazon Web Services SDKs, this field is calculated - automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - public_access_block_configuration: PublicAccessBlockConfiguration | None = ... - """ - The `PublicAccessBlock` configuration that you want to apply to this - Amazon S3 bucket. You can enable the configuration options in any - combination. For more information about when Amazon S3 considers a - bucket or object public, see [The Meaning of - \"Public\"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) - in the *Amazon S3 User Guide*. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class PutPublicAccessBlockOutput(_SerdeShape): - """Dataclass for PutPublicAccessBlockOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class QueueConfiguration(_SerdeShape): - """ - Specifies the configuration for publishing messages to an Amazon Simple - Queue Service (Amazon SQS) queue when Amazon S3 detects specified - events. - """ - - id: str | None = ... - """ - An optional unique identifier for configurations in a notification - configuration. If you don't provide one, Amazon S3 will assign an ID. - """ - queue_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon - S3 publishes a message when it detects events of the specified type. - """ - events: list[str] - """A collection of bucket events for which to send notifications""" - filter: NotificationConfigurationFilter | None = ... - """ - Specifies object key name filtering rules. For information about key - name filtering, see [Configuring event notifications using object key - name - filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) - in the *Amazon S3 User Guide*. - """ - -class QuoteFields(UnknownEnumMixin, StrEnum): - ALWAYS = "ALWAYS" - ASNEEDED = "ASNEEDED" - -@dataclass(kw_only=True) -class RecordExpiration(_SerdeShape): - """ - The journal table record expiration settings for a journal table in an - S3 Metadata configuration. - """ - - expiration: str - """ - Specifies whether journal table record expiration is enabled or - disabled. - """ - days: int | None = ... - """ - If you enable journal table record expiration, you can set the number of - days to retain your journal table records. Journal table records must be - retained for a minimum of 7 days. To set this value, specify any whole - number from `7` to `2147483647`. For example, to retain your journal - table records for one year, set this value to `365`. - """ - -@dataclass(kw_only=True) -class RecordsEvent(_SerdeShape): - """The container for the records event.""" - - payload: bytes | None = ... - """ - The byte array of partial, one or more result records. S3 Select - doesn't guarantee that a record will be self-contained in one record - frame. To ensure continuous streaming of data, S3 Select might split the - same record across multiple record frames instead of aggregating the - results in memory. Some S3 clients (for example, the SDK for Java) - handle this behavior by creating a `ByteStream` out of the response by - default. Other clients might not handle this behavior by default. In - those cases, you must aggregate the results on the client side and parse - the response. - """ - -@dataclass(kw_only=True) -class Redirect(_SerdeShape): - """ - Specifies how requests are redirected. In the event of an error, you can - specify a different error code to return. - """ - - host_name: str | None = ... - """The host name to use in the redirect request.""" - http_redirect_code: str | None = ... - """ - The HTTP redirect code to use on the response. Not required if one of - the siblings is present. - """ - protocol: str | None = ... - """ - Protocol to use when redirecting requests. The default is the protocol - that is used in the original request. - """ - replace_key_prefix_with: str | None = ... - """ - The object key prefix to use in the redirect request. For example, to - redirect requests for all pages with prefix `docs/` (objects in the - `docs/` folder) to `documents/`, you can set a condition block with - `KeyPrefixEquals` set to `docs/` and in the Redirect set - `ReplaceKeyPrefixWith` to `/documents`. Not required if one of the - siblings is present. Can be present only if `ReplaceKeyWith` is not - provided. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - replace_key_with: str | None = ... - """ - The specific object key to use in the redirect request. For example, - redirect request to `error.html`. Not required if one of the siblings is - present. Can be present only if `ReplaceKeyPrefixWith` is not provided. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - -@dataclass(kw_only=True) -class RedirectAllRequestsTo(_SerdeShape): - """ - Specifies the redirect behavior of all requests to a website endpoint of - an Amazon S3 bucket. - """ - - host_name: str - """Name of the host where requests are redirected.""" - protocol: str | None = ... - """ - Protocol to use when redirecting requests. The default is the protocol - that is used in the original request. - """ - -@dataclass(kw_only=True) -class RenameObjectInput(_SerdeShape): - """Dataclass for RenameObjectInput structure.""" - - bucket: str | None = ... - """ - The bucket name of the directory bucket containing the object. - - You must use virtual-hosted-style requests in the format - `Bucket-name.s3express-zone-id.region-code.amazonaws.com`. Path-style - requests are not supported. Directory bucket names must be unique in the - chosen Availability Zone. Bucket names must follow the format - `bucket-base-name--zone-id--x-s3 ` (for example, - `amzn-s3-demo-bucket--usw2-az1--x-s3`). For information about bucket - naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """Key name of the object to rename.""" - rename_source: str | None = ... - """ - Specifies the source for the rename operation. The value must be URL - encoded. - """ - destination_if_match: str | None = ... - """ - Renames the object only if the ETag (entity tag) value provided during - the operation matches the ETag of the object in S3. The `If-Match` - header field makes the request method conditional on ETags. If the ETag - values do not match, the operation returns a `412 Precondition Failed` - error. - - Expects the ETag value as a string. - """ - destination_if_none_match: str | None = ... - """ - Renames the object only if the destination does not already exist in the - specified directory bucket. If the object does exist when you send a - request with `If-None-Match:*`, the S3 API will return a - `412 Precondition Failed` error, preventing an overwrite. The - `If-None-Match` header prevents overwrites of existing data by - validating that there's not an object with the same key name already in - your directory bucket. - - Expects the `*` character (asterisk). - """ - destination_if_modified_since: datetime | None = ... - """ - Renames the object if the destination exists and if it has been modified - since the specified time. - """ - destination_if_unmodified_since: datetime | None = ... - """Renames the object if it hasn't been modified since the specified time.""" - source_if_match: str | None = ... - """ - Renames the object if the source exists and if its entity tag (ETag) - matches the specified ETag. - """ - source_if_none_match: str | None = ... - """ - Renames the object if the source exists and if its entity tag (ETag) is - different than the specified ETag. If an asterisk (`*`) character is - provided, the operation will fail and return a `412 Precondition Failed` - error. - """ - source_if_modified_since: datetime | None = ... - """ - Renames the object if the source exists and if it has been modified - since the specified time. - """ - source_if_unmodified_since: datetime | None = ... - """ - Renames the object if the source exists and hasn't been modified since - the specified time. - """ - client_token: str | None = ... - """ - A unique string with a max of 64 ASCII characters in the ASCII range of - 33 - 126. - - Note: - `RenameObject` supports idempotency using a client token. To make an - idempotent API request using `RenameObject`, specify a client token in - the request. You should not reuse the same client token for other API - requests. If you retry a request that completed successfully using the - same client token and the same parameters, the retry succeeds without - performing any further actions. If you retry a successful request using - the same client token, but one or more of the parameters are different, - the retry fails and an `IdempotentParameterMismatch` error is returned. - """ - -@dataclass(kw_only=True) -class RenameObjectOutput(_SerdeShape): - """Dataclass for RenameObjectOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class ReplicaModifications(_SerdeShape): - """ - A filter that you can specify for selection for modifications on - replicas. Amazon S3 doesn't replicate replica modifications by default. - In the latest version of replication configuration (when `Filter` is - specified), you can specify this element and set the status to `Enabled` - to replicate modifications on replicas. - - Note: - If you don't specify the `Filter` element, Amazon S3 assumes that the - replication configuration is the earlier version, V1. In the earlier - version, this element is not allowed. - """ - - status: str - """Specifies whether Amazon S3 replicates modifications on replicas.""" - -class ReplicaModificationsStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -@dataclass(kw_only=True) -class ReplicationConfiguration(_SerdeShape): - """ - A container for replication rules. You can add up to 1,000 rules. The - maximum size of a replication configuration is 2 MB. - """ - - role: str - """ - The Amazon Resource Name (ARN) of the Identity and Access Management - (IAM) role that Amazon S3 assumes when replicating objects. For more - information, see [How to Set Up - Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html) - in the *Amazon S3 User Guide*. - """ - rules: list[ReplicationRule] - """ - A container for one or more replication rules. A replication - configuration must have at least one rule and can contain a maximum of - 1,000 rules. - """ - -@dataclass(kw_only=True) -class ReplicationRule(_SerdeShape): - """ - Specifies which Amazon S3 objects to replicate and where to store the - replicas. - """ - - id: str | None = ... - """A unique identifier for the rule. The maximum value is 255 characters.""" - priority: int | None = ... - """ - The priority indicates which rule has precedence whenever two or more - replication rules conflict. Amazon S3 will attempt to replicate objects - according to all replication rules. However, if there are two or more - rules with the same destination bucket, then objects will be replicated - according to the rule with the highest priority. The higher the number, - the higher the priority. - - For more information, see - [Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html) - in the *Amazon S3 User Guide*. - """ - prefix: str | None = ... - """ - An object key name prefix that identifies the object or objects to which - the rule applies. The maximum prefix length is 1,024 characters. To - include all objects in a bucket, specify an empty string. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - filter: ReplicationRuleFilter | None = ... - """ - A filter that identifies the subset of objects to which the replication - rule applies. A `Filter` must specify exactly one `Prefix`, `Tag`, or an - `And` child element. - """ - status: str - """Specifies whether the rule is enabled.""" - source_selection_criteria: SourceSelectionCriteria | None = ... - """ - A container that describes additional filters for identifying the source - objects that you want to replicate. You can choose to enable or disable - the replication of these objects. Currently, Amazon S3 supports only the - filter that you can specify for objects created with server-side - encryption using a customer managed key stored in Amazon Web Services - Key Management Service (SSE-KMS). - """ - existing_object_replication: ExistingObjectReplication | None = ... - """ - Optional configuration to replicate existing source bucket objects. - - Note: - This parameter is no longer supported. To replicate existing objects, - see [Replicating existing objects with S3 Batch - Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) - in the *Amazon S3 User Guide*. - """ - destination: Destination - """ - A container for information about the replication destination and its - configurations including enabling the S3 Replication Time Control (S3 - RTC). - """ - delete_marker_replication: DeleteMarkerReplication | None = ... - """ - Specifies whether Amazon S3 replicates delete markers. If you specify a - `Filter` in your replication configuration, you must also include a - `DeleteMarkerReplication` element. If your `Filter` includes a `Tag` - element, the `DeleteMarkerReplication` `Status` must be set to Disabled, - because Amazon S3 does not support replicating delete markers for - tag-based rules. For an example configuration, see [Basic Rule - Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config). - - For more information about delete marker replication, see [Basic Rule - Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html). - - Note: - If you are using an earlier version of the replication configuration, - Amazon S3 handles replication of delete markers differently. For more - information, see [Backward - Compatibility](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations). - """ - -@dataclass(kw_only=True) -class ReplicationRuleAndOperator(_SerdeShape): - """ - A container for specifying rule filters. The filters determine the - subset of objects to which the rule applies. This element is required - only if you specify more than one filter. - - For example: - - - If you specify both a `Prefix` and a `Tag` filter, wrap these filters - in an `And` tag. - - - If you specify a filter based on multiple tags, wrap the `Tag` - elements in an `And` tag. - """ - - prefix: str | None = ... - """ - An object key name prefix that identifies the subset of objects to which - the rule applies. - """ - tags: list[Tag] | None = ... - """An array of tags containing key and value pairs.""" - -@dataclass(kw_only=True) -class ReplicationRuleFilter(_SerdeShape): - """ - A filter that identifies the subset of objects to which the replication - rule applies. A `Filter` must specify exactly one `Prefix`, `Tag`, or an - `And` child element. - """ - - prefix: str | None = ... - """ - An object key name prefix that identifies the subset of objects to which - the rule applies. - - Warning: - Replacement must be made for object keys containing special characters - (such as carriage returns) when using XML requests. For more - information, see [XML related object key - constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). - """ - tag: Tag | None = ... - """ - A container for specifying a tag key and value. - - The rule applies only to objects that have the tag in their tag set. - """ - and_: ReplicationRuleAndOperator | None = ... - """ - A container for specifying rule filters. The filters determine the - subset of objects to which the rule applies. This element is required - only if you specify more than one filter. For example: - - - If you specify both a `Prefix` and a `Tag` filter, wrap these filters - in an `And` tag. - - - If you specify a filter based on multiple tags, wrap the `Tag` - elements in an `And` tag. - """ - -class ReplicationRuleStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -class ReplicationStatus(UnknownEnumMixin, StrEnum): - COMPLETE = "COMPLETE" - PENDING = "PENDING" - FAILED = "FAILED" - REPLICA = "REPLICA" - COMPLETED = "COMPLETED" - -@dataclass(kw_only=True) -class ReplicationTime(_SerdeShape): - """ - A container specifying S3 Replication Time Control (S3 RTC) related - information, including whether S3 RTC is enabled and the time when all - objects and operations on objects must be replicated. Must be specified - together with a `Metrics` block. - """ - - status: str - """Specifies whether the replication time is enabled.""" - time: ReplicationTimeValue - """ - A container specifying the time by which replication should be complete - for all objects and operations on objects. - """ - -class ReplicationTimeStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -@dataclass(kw_only=True) -class ReplicationTimeValue(_SerdeShape): - """ - A container specifying the time value for S3 Replication Time Control - (S3 RTC) and replication metrics `EventThreshold`. - """ - - minutes: int | None = ... - """ - Contains an integer specifying time in minutes. - - Valid value: 15 - """ - -class RequestCharged(UnknownEnumMixin, StrEnum): - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - - REQUESTER = "requester" - -class RequestPayer(UnknownEnumMixin, StrEnum): - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - - REQUESTER = "requester" - -@dataclass(kw_only=True) -class RequestPaymentConfiguration(_SerdeShape): - """Container for Payer.""" - - payer: str - """Specifies who pays for the download and request fees.""" - -@dataclass(kw_only=True) -class RequestProgress(_SerdeShape): - """ - Container for specifying if periodic `QueryProgress` messages should be - sent. - """ - - enabled: bool | None = ... - """ - Specifies whether periodic QueryProgress frames should be sent. Valid - values: TRUE, FALSE. Default value: FALSE. - """ - -@dataclass(kw_only=True) -class RestoreObjectInput(_SerdeShape): - """Dataclass for RestoreObjectInput structure.""" - - bucket: str | None = ... - """ - The bucket name containing the object to restore. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """Object key for which the action was initiated.""" - version_id: str | None = ... - """VersionId used to reference a specific version of the object.""" - restore_request: RestoreRequest | None = ... - """Container for restore job parameters.""" - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class RestoreObjectOutput(_SerdeShape): - """Dataclass for RestoreObjectOutput structure.""" - - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - restore_output_path: str | None = ... - """ - Indicates the path in the provided S3 output location where Select - results will be restored to. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class RestoreRequest(_SerdeShape): - """Container for restore job parameters.""" - - days: int | None = ... - """ - Lifetime of the active copy in days. Do not use with restores that - specify `OutputLocation`. - - The Days element is required for regular restores, and must not be - provided for select requests. - """ - glacier_job_parameters: GlacierJobParameters | None = ... - """ - S3 Glacier related parameters pertaining to this job. Do not use with - restores that specify `OutputLocation`. - """ - type: str | None = ... - """ - Warning: - Amazon S3 Select is no longer available to new customers. Existing - customers of Amazon S3 Select can continue to use the feature as usual. - [Learn - more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) - - Type of restore request. - """ - tier: str | None = ... - """Retrieval tier at which the restore will be processed.""" - description: str | None = ... - """The optional description for the job.""" - select_parameters: SelectParameters | None = ... - """ - Warning: - Amazon S3 Select is no longer available to new customers. Existing - customers of Amazon S3 Select can continue to use the feature as usual. - [Learn - more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) - - Describes the parameters for Select job types. - """ - output_location: OutputLocation | None = ... - """Describes the location where the restore job's output is stored.""" - -class RestoreRequestType(UnknownEnumMixin, StrEnum): - SELECT = "SELECT" - -@dataclass(kw_only=True) -class RestoreStatus(_SerdeShape): - """ - Specifies the restoration status of an object. Objects in certain - storage classes must be restored before they can be retrieved. For more - information about these storage classes and how to work with archived - objects, see [Working with archived - objects](https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. Directory - buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone storage - class) in Availability Zones and `ONEZONE_IA` (the S3 One - Zone-Infrequent Access storage class) in Dedicated Local Zones. - """ - - is_restore_in_progress: bool | None = ... - """ - Specifies whether the object is currently being restored. If the object - restoration is in progress, the header returns the value `TRUE`. For - example: - - `x-amz-optional-object-attributes: IsRestoreInProgress="true"` - - If the object restoration has completed, the header returns the value - `FALSE`. For example: - - `x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"` - - If the object hasn't been restored, there is no header response. - """ - restore_expiry_date: datetime | None = ... - """ - Indicates when the restored copy will expire. This value is populated - only if the object has already been restored. For example: - - `x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"` - """ - -@dataclass(kw_only=True) -class RoutingRule(_SerdeShape): - """ - Specifies the redirect behavior and when a redirect is applied. For more - information about routing rules, see [Configuring advanced conditional - redirects](https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects) - in the *Amazon S3 User Guide*. - """ - - condition: Condition | None = ... - """ - A container for describing a condition that must be met for the - specified redirect to apply. For example, 1. If request is for pages in - the `/docs` folder, redirect to the `/documents` folder. 2. If request - results in HTTP error 4xx, redirect request to another host where you - might process the error. - """ - redirect: Redirect - """ - Container for redirect information. You can redirect requests to another - host, to another page, or with another protocol. In the event of an - error, you can specify a different error code to return. - """ - -@dataclass(kw_only=True) -class S3KeyFilter(_SerdeShape): - """A container for object key name prefix and suffix filtering rules.""" - - filter_rules: list[FilterRule] | None = ... - """ - A list of containers for the key-value pair that defines the criteria - for the filter rule. - """ - -@dataclass(kw_only=True) -class S3Location(_SerdeShape): - """ - Describes an Amazon S3 location that will receive the results of the - restore request. - """ - - bucket_name: str - """The name of the bucket where the restore results will be placed.""" - prefix: str - """The prefix that is prepended to the restore results for this request.""" - encryption: Encryption | None = ... - """Contains the type of server-side encryption used.""" - canned_acl: str | None = ... - """The canned ACL to apply to the restore results.""" - access_control_list: list[Grant] | None = ... - """A list of grants that control access to the staged results.""" - tagging: Tagging | None = ... - """The tag-set that is applied to the restore results.""" - user_metadata: list[MetadataEntry] | None = ... - """A list of metadata to store with the restore results in S3.""" - storage_class: str | None = ... - """The class of storage used to store the restore results.""" - -class S3TablesBucketType(UnknownEnumMixin, StrEnum): - AWS = "aws" - CUSTOMER = "customer" - -@dataclass(kw_only=True) -class S3TablesDestination(_SerdeShape): - """ - The destination information for a V1 S3 Metadata configuration. The - destination table bucket must be in the same Region and Amazon Web - Services account as the general purpose bucket. The specified metadata - table name must be unique within the `aws_s3_metadata` namespace in the - destination table bucket. - - Note: - If you created your S3 Metadata configuration before July 15, 2025, we - recommend that you delete and re-create your configuration by using - [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) - so that you can expire journal table records and create a live inventory - table. - """ - - table_bucket_arn: str - """ - The Amazon Resource Name (ARN) for the table bucket that's specified as - the destination in the metadata table configuration. The destination - table bucket must be in the same Region and Amazon Web Services account - as the general purpose bucket. - """ - table_name: str - """ - The name for the metadata table in your metadata table configuration. - The specified metadata table name must be unique within the - `aws_s3_metadata` namespace in the destination table bucket. - """ - -@dataclass(kw_only=True) -class S3TablesDestinationResult(_SerdeShape): - """ - The destination information for a V1 S3 Metadata configuration. The - destination table bucket must be in the same Region and Amazon Web - Services account as the general purpose bucket. The specified metadata - table name must be unique within the `aws_s3_metadata` namespace in the - destination table bucket. - - Note: - If you created your S3 Metadata configuration before July 15, 2025, we - recommend that you delete and re-create your configuration by using - [CreateBucketMetadataConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html) - so that you can expire journal table records and create a live inventory - table. - """ - - table_bucket_arn: str - """ - The Amazon Resource Name (ARN) for the table bucket that's specified as - the destination in the metadata table configuration. The destination - table bucket must be in the same Region and Amazon Web Services account - as the general purpose bucket. - """ - table_name: str - """ - The name for the metadata table in your metadata table configuration. - The specified metadata table name must be unique within the - `aws_s3_metadata` namespace in the destination table bucket. - """ - table_arn: str - """ - The Amazon Resource Name (ARN) for the metadata table in the metadata - table configuration. The specified metadata table name must be unique - within the `aws_s3_metadata` namespace in the destination table bucket. - """ - table_namespace: str - """ - The table bucket namespace for the metadata table in your metadata table - configuration. This value is always `aws_s3_metadata`. - """ - -@dataclass(kw_only=True) -class ScanRange(_SerdeShape): - """ - Specifies the byte range of the object to get the records from. A record - is processed when its first byte is contained by the range. This - parameter is optional, but when specified, it must not be empty. See RFC - 2616, Section 14.35.1 about how to specify the start and end of the - range. - """ - - start: int | None = ... - """ - Specifies the start of the byte range. This parameter is optional. Valid - values: non-negative integers. The default value is 0. If only `start` - is supplied, it means scan from that point to the end of the file. For - example, - ``{=html}``{=html}`50```{=html}``{=html} - means scan from byte 50 until the end of the file. - """ - end: int | None = ... - """ - Specifies the end of the byte range. This parameter is optional. Valid - values: non-negative integers. The default value is one less than the - size of the object being queried. If only the End parameter is supplied, - it is interpreted to mean scan the last N bytes of the file. For - example, - ``{=html}``{=html}`50```{=html}``{=html} - means scan the last 50 bytes. - """ - -@dataclass -class SelectObjectContentEventStreamRecords(_SerdeShape): - """The Records Event.""" - - value: RecordsEvent - -@dataclass -class SelectObjectContentEventStreamStats(_SerdeShape): - """The Stats Event.""" - - value: StatsEvent - -@dataclass -class SelectObjectContentEventStreamProgress(_SerdeShape): - """The Progress Event.""" - - value: ProgressEvent - -@dataclass -class SelectObjectContentEventStreamCont(_SerdeShape): - """The Continuation Event.""" - - value: ContinuationEvent - -@dataclass -class SelectObjectContentEventStreamEnd(_SerdeShape): - """The End Event.""" - - value: EndEvent - -@dataclass -class SelectObjectContentEventStreamUnknown(_SerdeShape): - """ - Represents an unknown variant. If you receive this value, you will need - to update your library to receive the parsed value. This value may not - be deliberately sent. - """ - - tag: str - -SelectObjectContentEventStream = Union[ - SelectObjectContentEventStreamRecords - | SelectObjectContentEventStreamStats - | SelectObjectContentEventStreamProgress - | SelectObjectContentEventStreamCont - | SelectObjectContentEventStreamEnd - | SelectObjectContentEventStreamUnknown -] -"""The container for selecting objects from a content event stream.""" - -class _SelectObjectContentEventStreamDeserializer: - def deserialize( - self, deserializer: ShapeDeserializer - ) -> SelectObjectContentEventStream: ... - -@dataclass(kw_only=True) -class SelectObjectContentInput(_SerdeShape): - """ - Note: - Learn Amazon S3 Select is no longer available to new customers. Existing - customers of Amazon S3 Select can continue to use the feature as usual. - [Learn - more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) - - Request to filter the contents of an Amazon S3 object based on a simple - Structured Query Language (SQL) statement. In the request, along with - the SQL expression, you must specify a data serialization format (JSON - or CSV) of the object. Amazon S3 uses this to parse object data into - records. It returns only records that match the specified SQL - expression. You must also specify the data serialization format for the - response. For more information, see [S3Select API - Documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html). - """ - - bucket: str | None = ... - """The S3 bucket.""" - key: str | None = ... - """The object key.""" - sse_customer_algorithm: str | None = ... - """ - The server-side encryption (SSE) algorithm used to encrypt the object. - This parameter is needed only when the object was created using a - checksum algorithm. For more information, see [Protecting data using - SSE-C - keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - """ - sse_customer_key: str | None = ... - """ - The server-side encryption (SSE) customer managed key. This parameter is - needed only when the object was created using a checksum algorithm. For - more information, see [Protecting data using SSE-C - keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - """ - sse_customer_key_md5: str | None = ... - """ - The MD5 server-side encryption (SSE) customer managed key. This - parameter is needed only when the object was created using a checksum - algorithm. For more information, see [Protecting data using SSE-C - keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) - in the *Amazon S3 User Guide*. - """ - expression: str | None = ... - """The expression that is used to query the object.""" - expression_type: str | None = ... - """The type of the provided expression (for example, SQL).""" - request_progress: RequestProgress | None = ... - """Specifies if periodic request progress information should be enabled.""" - input_serialization: InputSerialization | None = ... - """Describes the format of the data in the object that is being queried.""" - output_serialization: OutputSerialization | None = ... - """ - Describes the format of the data that you want Amazon S3 to return in - response. - """ - scan_range: ScanRange | None = ... - """ - Specifies the byte range of the object to get the records from. A record - is processed when its first byte is contained by the range. This - parameter is optional, but when specified, it must not be empty. See RFC - 2616, Section 14.35.1 about how to specify the start and end of the - range. - - `ScanRange`may be used in the following ways: - - - ``{=html}``{=html}`50```{=html}``{=html}`100```{=html}``{=html} - - process only the records starting between the bytes 50 and 100 - (inclusive, counting from zero) - - - ``{=html}``{=html}`50```{=html}``{=html} - - process only the records starting after the byte 50 - - - ``{=html}``{=html}`50```{=html}``{=html} - - process only the records within the last 50 bytes of the file. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class SelectObjectContentOutput(_SerdeShape): - """Dataclass for SelectObjectContentOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class SelectParameters(_SerdeShape): - """ - Warning: - Amazon S3 Select is no longer available to new customers. Existing - customers of Amazon S3 Select can continue to use the feature as usual. - [Learn - more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) - - Describes the parameters for Select job types. - - Learn [How to optimize querying your data in Amazon - S3](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) - using [Amazon - Athena](https://docs.aws.amazon.com/athena/latest/ug/what-is.html), [S3 - Object - Lambda](https://docs.aws.amazon.com/AmazonS3/latest/userguide/transforming-objects.html), - or client-side filtering. - """ - - input_serialization: InputSerialization - """Describes the serialization format of the object.""" - expression_type: str - """The type of the provided expression (for example, SQL).""" - expression: str - """ - Warning: - Amazon S3 Select is no longer available to new customers. Existing - customers of Amazon S3 Select can continue to use the feature as usual. - [Learn - more](http://aws.amazon.com/blogs/storage/how-to-optimize-querying-your-data-in-amazon-s3/) - - The expression that is used to query the object. - """ - output_serialization: OutputSerialization - """Describes how the results of the Select job are serialized.""" - -class ServerSideEncryption(UnknownEnumMixin, StrEnum): - AES256 = "AES256" - AWS_FSX = "aws:fsx" - AWS_BACKUP = "aws:backup" - AWS_KMS = "aws:kms" - AWS_KMS_DSSE = "aws:kms:dsse" - -@dataclass(kw_only=True) -class ServerSideEncryptionByDefault(_SerdeShape): - """ - Describes the default server-side encryption to apply to new objects in - the bucket. If a PUT Object request doesn't specify any server-side - encryption, this default encryption will be applied. For more - information, see - [PutBucketEncryption](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTencryption.html). - - Note: - - **General purpose buckets** - If you don't specify a customer managed - key at configuration, Amazon S3 automatically creates an Amazon Web - Services KMS key (`aws/s3`) in your Amazon Web Services account the - first time that you add an object encrypted with SSE-KMS to a bucket. - By default, Amazon S3 uses this KMS key for SSE-KMS. - - - **Directory buckets** - Your SSE-KMS configuration can only support 1 - [customer managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) - per directory bucket's lifetime. The [Amazon Web Services managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) - (`aws/s3`) isn't supported. - - - **Directory buckets** - For directory buckets, there are only two - supported options for server-side encryption: SSE-S3 and SSE-KMS. - """ - - sse_algorithm: str - """ - Server-side encryption algorithm to use for the default encryption. - - Note: - For directory buckets, there are only two supported values for - server-side encryption: `AES256` and `aws:kms`. - """ - kms_master_key_id: str | None = ... - """ - Amazon Web Services Key Management Service (KMS) customer managed key ID - to use for the default encryption. - - Note: - - **General purpose buckets** - This parameter is allowed if and only if - `SSEAlgorithm` is set to `aws:kms` or `aws:kms:dsse`. - - - **Directory buckets** - This parameter is allowed if and only if - `SSEAlgorithm` is set to `aws:kms`. - - You can specify the key ID, key alias, or the Amazon Resource Name (ARN) - of the KMS key. - - - Key ID: `1234abcd-12ab-34cd-56ef-1234567890ab` - - - Key ARN: - `arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` - - - Key Alias: `alias/alias-name` - - If you are using encryption with cross-account or Amazon Web Services - service operations, you must use a fully qualified KMS key ARN. For more - information, see [Using encryption for cross-account - operations](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy). - - Note: - - **General purpose buckets** - If you're specifying a customer managed - KMS key, we recommend using a fully qualified KMS key ARN. If you use - a KMS key alias instead, then KMS resolves the key within the - requester's account. This behavior can result in data that's - encrypted with a KMS key that belongs to the requester, and not the - bucket owner. Also, if you use a key ID, you can run into a - LogDestination undeliverable error when creating a VPC flow log. - - - **Directory buckets** - When you specify an [KMS customer managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) - for encryption in your directory bucket, only use the key ID or key - ARN. The key alias format of the KMS key isn't supported. - Warning: - Amazon S3 only supports symmetric encryption KMS keys. For more - information, see [Asymmetric keys in Amazon Web Services - KMS](https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) - in the *Amazon Web Services Key Management Service Developer Guide*. - """ - -@dataclass(kw_only=True) -class ServerSideEncryptionConfiguration(_SerdeShape): - """Specifies the default server-side-encryption configuration.""" - - rules: list[ServerSideEncryptionRule] - """ - Container for information about a particular server-side encryption - configuration rule. - """ - -@dataclass(kw_only=True) -class ServerSideEncryptionRule(_SerdeShape): - """ - Specifies the default server-side encryption configuration. - - Note: - - **General purpose buckets** - If you're specifying a customer managed - KMS key, we recommend using a fully qualified KMS key ARN. If you use - a KMS key alias instead, then KMS resolves the key within the - requester's account. This behavior can result in data that's - encrypted with a KMS key that belongs to the requester, and not the - bucket owner. - - - **Directory buckets** - When you specify an [KMS customer managed - key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) - for encryption in your directory bucket, only use the key ID or key - ARN. The key alias format of the KMS key isn't supported. - """ - - apply_server_side_encryption_by_default: ServerSideEncryptionByDefault | None = ... - """ - Specifies the default server-side encryption to apply to new objects in - the bucket. If a PUT Object request doesn't specify any server-side - encryption, this default encryption will be applied. - """ - bucket_key_enabled: bool | None = ... - """ - Specifies whether Amazon S3 should use an S3 Bucket Key with server-side - encryption using KMS (SSE-KMS) for new objects in the bucket. Existing - objects are not affected. Setting the `BucketKeyEnabled` element to - `true` causes Amazon S3 to use an S3 Bucket Key. - - Note: - - **General purpose buckets** - By default, S3 Bucket Key is not - enabled. For more information, see [Amazon S3 Bucket - Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) - in the *Amazon S3 User Guide*. - - - **Directory buckets** - S3 Bucket Keys are always enabled for `GET` - and `PUT` operations in a directory bucket and can't be disabled. S3 - Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects - from general purpose buckets to directory buckets, from directory - buckets to general purpose buckets, or between directory buckets, - through - [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html), - [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html), - [the Copy operation in Batch - Operations](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops), - or [the import - jobs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job). - In this case, Amazon S3 makes a call to KMS every time a copy request - is made for a KMS-encrypted object. - """ - blocked_encryption_types: BlockedEncryptionTypes | None = ... - """ - A bucket-level setting for Amazon S3 general purpose buckets used to - prevent the upload of new objects encrypted with the specified - server-side encryption type. For example, blocking an encryption type - will block `PutObject`, `CopyObject`, `PostObject`, multipart upload, - and replication requests to the bucket for objects with the specified - encryption type. However, you can continue to read and list any - pre-existing objects already encrypted with the specified encryption - type. For more information, see [Blocking or unblocking SSE-C for a - general purpose - bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/blocking-unblocking-s3-c-encryption-gpb.html). - - Note: - Currently, this parameter only supports blocking or unblocking - server-side encryption with customer-provided keys (SSE-C). For more - information about SSE-C, see [Using server-side encryption with - customer-provided keys - (SSE-C)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html). - """ - -@dataclass(kw_only=True) -class SessionCredentials(_SerdeShape): - """ - The established temporary security credentials of the session. - - Note: - **Directory buckets** - These session credentials are only supported for - the authentication and authorization of Zonal endpoint API operations on - directory buckets. - """ - - access_key_id: str - """ - A unique identifier that's associated with a secret access key. The - access key ID and the secret access key are used together to sign - programmatic Amazon Web Services requests cryptographically. - """ - secret_access_key: str - """ - A key that's used with the access key ID to cryptographically sign - programmatic Amazon Web Services requests. Signing a request identifies - the sender and prevents the request from being altered. - """ - session_token: str - """ - A part of the temporary security credentials. The session token is used - to validate the temporary security credentials. - """ - expiration: datetime - """ - Temporary security credentials expire after a specified interval. After - temporary credentials expire, any calls that you make with those - credentials will fail. So you must generate a new set of temporary - credentials. Temporary credentials cannot be extended or refreshed - beyond the original specified interval. - """ - -class SessionMode(UnknownEnumMixin, StrEnum): - READ_ONLY = "ReadOnly" - READ_WRITE = "ReadWrite" - -@dataclass(kw_only=True) -class SimplePrefix(_SerdeShape): - """ - To use simple format for S3 keys for log objects, set SimplePrefix to an - empty object. - - `[DestinationPrefix][YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]` - """ - -@dataclass(kw_only=True) -class SourceSelectionCriteria(_SerdeShape): - """ - A container that describes additional filters for identifying the source - objects that you want to replicate. You can choose to enable or disable - the replication of these objects. Currently, Amazon S3 supports only the - filter that you can specify for objects created with server-side - encryption using a customer managed key stored in Amazon Web Services - Key Management Service (SSE-KMS). - """ - - sse_kms_encrypted_objects: SseKmsEncryptedObjects | None = ... - """ - A container for filter information for the selection of Amazon S3 - objects encrypted with Amazon Web Services KMS. If you include - `SourceSelectionCriteria` in the replication configuration, this element - is required. - """ - replica_modifications: ReplicaModifications | None = ... - """ - A filter that you can specify for selections for modifications on - replicas. Amazon S3 doesn't replicate replica modifications by default. - In the latest version of replication configuration (when `Filter` is - specified), you can specify this element and set the status to `Enabled` - to replicate modifications on replicas. - - Note: - If you don't specify the `Filter` element, Amazon S3 assumes that the - replication configuration is the earlier version, V1. In the earlier - version, this element is not allowed - """ - -@dataclass(kw_only=True) -class SSEKMS(_SerdeShape): - """Specifies the use of SSE-KMS to encrypt delivered inventory reports.""" - - key_id: str - """ - Specifies the ID of the Key Management Service (KMS) symmetric - encryption customer managed key to use for encrypting inventory reports. - """ - -@dataclass(kw_only=True) -class SseKmsEncryptedObjects(_SerdeShape): - """ - A container for filter information for the selection of S3 objects - encrypted with Amazon Web Services KMS. - """ - - status: str - """ - Specifies whether Amazon S3 replicates objects created with server-side - encryption using an Amazon Web Services KMS key stored in Amazon Web - Services Key Management Service. - """ - -class SseKmsEncryptedObjectsStatus(UnknownEnumMixin, StrEnum): - ENABLED = "Enabled" - DISABLED = "Disabled" - -@dataclass(kw_only=True) -class SSEKMSEncryption(_SerdeShape): - """ - If `SSEKMS` is specified for `ObjectEncryption`, this data type - specifies the Amazon Web Services KMS key Amazon Resource Name (ARN) to - use and whether to use an S3 Bucket Key for server-side encryption using - Key Management Service (KMS) keys (SSE-KMS). - """ - - kms_key_arn: str - """ - Specifies the Amazon Web Services KMS key Amazon Resource Name (ARN) to - use for the updated server-side encryption type. Required if - `ObjectEncryption` specifies `SSEKMS`. - - Note: - You must specify the full Amazon Web Services KMS key ARN. The KMS key - ID and KMS key alias aren't supported. - - Pattern: (`arn:aws[-a-z0-9]*:kms:[-a-z0-9]*:[0-9]{12}:key/.+`) - """ - bucket_key_enabled: bool | None = ... - """ - Specifies whether Amazon S3 should use an S3 Bucket Key for object - encryption with server-side encryption using Key Management Service - (KMS) keys (SSE-KMS). If this value isn't specified, it defaults to - `false`. Setting this value to `true` causes Amazon S3 to use an S3 - Bucket Key for object encryption with SSE-KMS. For more information, see - [Using Amazon S3 Bucket - Keys](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html) - in the *Amazon S3 User Guide*. - - Valid Values: `true` | `false` - """ - -@dataclass(kw_only=True) -class SSES3(_SerdeShape): - """Specifies the use of SSE-S3 to encrypt delivered inventory reports.""" - -@dataclass(kw_only=True) -class Stats(_SerdeShape): - """Container for the stats details.""" - - bytes_scanned: int | None = ... - """The total number of object bytes scanned.""" - bytes_processed: int | None = ... - """The total number of uncompressed object bytes processed.""" - bytes_returned: int | None = ... - """The total number of bytes of records payload data returned.""" - -@dataclass(kw_only=True) -class StatsEvent(_SerdeShape): - """Container for the Stats Event.""" - - details: Stats | None = ... - """The Stats event details.""" - -class StorageClass(UnknownEnumMixin, StrEnum): - STANDARD = "STANDARD" - REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY" - STANDARD_IA = "STANDARD_IA" - ONEZONE_IA = "ONEZONE_IA" - INTELLIGENT_TIERING = "INTELLIGENT_TIERING" - GLACIER = "GLACIER" - DEEP_ARCHIVE = "DEEP_ARCHIVE" - OUTPOSTS = "OUTPOSTS" - GLACIER_IR = "GLACIER_IR" - SNOW = "SNOW" - EXPRESS_ONEZONE = "EXPRESS_ONEZONE" - FSX_OPENZFS = "FSX_OPENZFS" - FSX_ONTAP = "FSX_ONTAP" - AWS_BACKUP_WARM = "AWS_BACKUP_WARM" - AWS_BACKUP_LOW_COST_WARM = "AWS_BACKUP_LOW_COST_WARM" - -@dataclass(kw_only=True) -class StorageClassAnalysis(_SerdeShape): - """ - Specifies data related to access patterns to be collected and made - available to analyze the tradeoffs between different storage classes for - an Amazon S3 bucket. - """ - - data_export: StorageClassAnalysisDataExport | None = ... - """ - Specifies how data related to the storage class analysis for an Amazon - S3 bucket should be exported. - """ - -@dataclass(kw_only=True) -class StorageClassAnalysisDataExport(_SerdeShape): - """ - Container for data related to the storage class analysis for an Amazon - S3 bucket for export. - """ - - output_schema_version: str - """ - The version of the output schema to use when exporting data. Must be - `V_1`. - """ - destination: AnalyticsExportDestination - """The place to store the data for an analysis.""" - -class StorageClassAnalysisSchemaVersion(UnknownEnumMixin, StrEnum): - V_1 = "V_1" - -class TableSseAlgorithm(UnknownEnumMixin, StrEnum): - AWS_KMS = "aws:kms" - AES256 = "AES256" - -@dataclass(kw_only=True) -class Tag(_SerdeShape): - """A container of a key value name pair.""" - - key: str - """Name of the object key.""" - value: str - """Value of the tag.""" - -@dataclass(kw_only=True) -class Tagging(_SerdeShape): - """Container for `TagSet` elements.""" - - tag_set: list[Tag] - """A collection for a set of tags""" - -class TaggingDirective(UnknownEnumMixin, StrEnum): - COPY = "COPY" - REPLACE = "REPLACE" - -@dataclass(kw_only=True) -class TargetGrant(_SerdeShape): - """ - Container for granting information. - - Buckets that use the bucket owner enforced setting for Object Ownership - don't support target grants. For more information, see [Permissions - server access log - delivery](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general) - in the *Amazon S3 User Guide*. - """ - - grantee: Grantee | None = ... - """Container for the person being granted permissions.""" - permission: str | None = ... - """Logging permissions assigned to the grantee for the bucket.""" - -@dataclass(kw_only=True) -class TargetObjectKeyFormat(_SerdeShape): - """ - Amazon S3 key format for log objects. Only one format, PartitionedPrefix - or SimplePrefix, is allowed. - """ - - simple_prefix: SimplePrefix | None = ... - """ - To use the simple format for S3 keys for log objects. To specify - SimplePrefix format, set SimplePrefix to {}. - """ - partitioned_prefix: PartitionedPrefix | None = ... - """Partitioned S3 key for log objects.""" - -class Tier(UnknownEnumMixin, StrEnum): - STANDARD = "Standard" - BULK = "Bulk" - EXPEDITED = "Expedited" - -@dataclass(kw_only=True) -class Tiering(_SerdeShape): - """ - The S3 Intelligent-Tiering storage class is designed to optimize storage - costs by automatically moving data to the most cost-effective storage - access tier, without additional operational overhead. - """ - - days: int - """ - The number of consecutive days of no access after which an object will - be eligible to be transitioned to the corresponding tier. The minimum - number of days specified for Archive Access tier must be at least 90 - days and Deep Archive Access tier must be at least 180 days. The maximum - can be up to 2 years (730 days). - """ - access_tier: str - """ - S3 Intelligent-Tiering access tier. See [Storage class for automatically - optimizing frequently and infrequently accessed - objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access) - for a list of access tiers in the S3 Intelligent-Tiering storage class. - """ - -@dataclass(kw_only=True) -class TooManyParts(ServiceError, _SerdeShape): - """ - You have attempted to add more parts than the maximum of 10000 that are - allowed for this object. You can use the CopyObject operation to copy - this object to another and then add more data to the newly copied - object. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class TopicConfiguration(_SerdeShape): - """ - A container for specifying the configuration for publication of messages - to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon - S3 detects specified events. - """ - - id: str | None = ... - """ - An optional unique identifier for configurations in a notification - configuration. If you don't provide one, Amazon S3 will assign an ID. - """ - topic_arn: str - """ - The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon - S3 publishes a message when it detects events of the specified type. - """ - events: list[str] - """ - The Amazon S3 bucket event about which to send notifications. For more - information, see [Supported Event - Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) - in the *Amazon S3 User Guide*. - """ - filter: NotificationConfigurationFilter | None = ... - """ - Specifies object key name filtering rules. For information about key - name filtering, see [Configuring event notifications using object key - name - filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) - in the *Amazon S3 User Guide*. - """ - -@dataclass(kw_only=True) -class Transition(_SerdeShape): - """ - Specifies when an object transitions to a specified storage class. For - more information about Amazon S3 lifecycle configuration rules, see - [Transitioning Objects Using Amazon S3 - Lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html) - in the *Amazon S3 User Guide*. - """ - - date: datetime | None = ... - """ - Indicates when objects are transitioned to the specified storage class. - The date value must be in ISO 8601 format. The time is always midnight - UTC. - """ - days: int | None = ... - """ - Indicates the number of days after creation when objects are - transitioned to the specified storage class. The value can be `0` or any - positive integer. Be aware that some storage classes have a minimum - storage duration and that you're charged for transitioning objects - before their minimum storage duration. For more information, see - [Constraints and considerations for - transitions](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html#lifecycle-configuration-constraints) - in the *Amazon S3 User Guide*. - """ - storage_class: str | None = ... - """The storage class to which you want the object to transition.""" - -class TransitionDefaultMinimumObjectSize(UnknownEnumMixin, StrEnum): - VARIES_BY_STORAGE_CLASS = "varies_by_storage_class" - ALL_STORAGE_CLASSES_128_K = "all_storage_classes_128K" - -class TransitionStorageClass(UnknownEnumMixin, StrEnum): - GLACIER = "GLACIER" - STANDARD_IA = "STANDARD_IA" - ONEZONE_IA = "ONEZONE_IA" - INTELLIGENT_TIERING = "INTELLIGENT_TIERING" - DEEP_ARCHIVE = "DEEP_ARCHIVE" - GLACIER_IR = "GLACIER_IR" - -class Type(UnknownEnumMixin, StrEnum): - CANONICAL_USER = "CanonicalUser" - AMAZON_CUSTOMER_BY_EMAIL = "AmazonCustomerByEmail" - GROUP = "Group" - -@dataclass(kw_only=True) -class UnsupportedMediaType(ServiceError, _SerdeShape): - """The annotation payload is not valid UTF-8 encoded text.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateBucketMetadataAnnotationTableConfigurationInput(_SerdeShape): - """ - Dataclass for UpdateBucketMetadataAnnotationTableConfigurationInput - structure. - """ - - bucket: str | None = ... - """The name of the bucket whose annotation table configuration to update.""" - content_md5: str | None = ... - """Base64-encoded MD5 digest of the message body.""" - checksum_algorithm: str | None = ... - """Checksum algorithm for the request payload.""" - annotation_table_configuration: AnnotationTableConfigurationUpdates | None = ... - """The annotation table configuration updates to apply.""" - expected_bucket_owner: str | None = ... - """The account ID of the expected bucket owner.""" - -@dataclass(kw_only=True) -class UpdateBucketMetadataAnnotationTableConfigurationOutput(_SerdeShape): - """ - Dataclass for UpdateBucketMetadataAnnotationTableConfigurationOutput - structure. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateBucketMetadataInventoryTableConfigurationInput(_SerdeShape): - """ - Dataclass for UpdateBucketMetadataInventoryTableConfigurationInput - structure. - """ - - bucket: str | None = ... - """ - The general purpose bucket that corresponds to the metadata - configuration that you want to enable or disable an inventory table for. - """ - content_md5: str | None = ... - """The `Content-MD5` header for the inventory table configuration.""" - checksum_algorithm: str | None = ... - """The checksum algorithm to use with your inventory table configuration.""" - inventory_table_configuration: InventoryTableConfigurationUpdates | None = ... - """The contents of your inventory table configuration.""" - expected_bucket_owner: str | None = ... - """ - The expected owner of the general purpose bucket that corresponds to the - metadata table configuration that you want to enable or disable an - inventory table for. - """ - -@dataclass(kw_only=True) -class UpdateBucketMetadataInventoryTableConfigurationOutput(_SerdeShape): - """ - Dataclass for UpdateBucketMetadataInventoryTableConfigurationOutput - structure. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateBucketMetadataJournalTableConfigurationInput(_SerdeShape): - """ - Dataclass for UpdateBucketMetadataJournalTableConfigurationInput - structure. - """ - - bucket: str | None = ... - """ - The general purpose bucket that corresponds to the metadata - configuration that you want to enable or disable journal table record - expiration for. - """ - content_md5: str | None = ... - """The `Content-MD5` header for the journal table configuration.""" - checksum_algorithm: str | None = ... - """The checksum algorithm to use with your journal table configuration.""" - journal_table_configuration: JournalTableConfigurationUpdates | None = ... - """The contents of your journal table configuration.""" - expected_bucket_owner: str | None = ... - """ - The expected owner of the general purpose bucket that corresponds to the - metadata table configuration that you want to enable or disable journal - table record expiration for. - """ - -@dataclass(kw_only=True) -class UpdateBucketMetadataJournalTableConfigurationOutput(_SerdeShape): - """ - Dataclass for UpdateBucketMetadataJournalTableConfigurationOutput - structure. - """ - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UpdateObjectEncryptionInput(_SerdeShape): - """Dataclass for UpdateObjectEncryptionInput structure.""" - - bucket: str | None = ... - """ - The name of the general purpose bucket that contains the specified - object key name. - - When you use this operation with an access point attached to a general - purpose bucket, you must either provide the alias of the access point in - place of the bucket name or you must specify the access point Amazon - Resource Name (ARN). When using the access point ARN, you must direct - requests to the access point hostname. The access point hostname takes - the form - ` `*`AccessPointName`*`-`*`AccountId`*`.s3-accesspoint.`*`Region`*`.amazonaws.com`. - When using this operation with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Referencing - access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-naming.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """ - The key name of the object that you want to update the server-side - encryption type for. - """ - version_id: str | None = ... - """ - The version ID of the object that you want to update the server-side - encryption type for. - """ - object_encryption: ObjectEncryption | None = ... - """ - The updated server-side encryption type for this object. The - `UpdateObjectEncryption` operation supports the SSE-S3 and SSE-KMS - encryption types. - - Valid Values: `SSES3` | `SSEKMS` - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide doesn't match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - content_md5: str | None = ... - """ - The MD5 hash for the request body. For requests made using the Amazon - Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, - this field is calculated automatically. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use an Amazon Web Services SDK. This header doesn't provide any - additional functionality if you don't use the SDK. When you send this - header, there must be a corresponding `x-amz-checksum` or - `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request with - the HTTP status code `400 Bad Request`. For more information, see - [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - """ - -@dataclass(kw_only=True) -class UpdateObjectEncryptionOutput(_SerdeShape): - """Dataclass for UpdateObjectEncryptionOutput structure.""" - - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UploadPartCopyInput(_SerdeShape): - """Dataclass for UploadPartCopyInput structure.""" - - bucket: str | None = ... - """ - The bucket name. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - Note: - Copying objects across different Amazon Web Services Regions isn't - supported when the source or destination bucket is in Amazon Web - Services Local Zones. The source and destination buckets must have the - same parent Amazon Web Services Region. Otherwise, you get an HTTP - `400 Bad Request` error with the error code `InvalidRequest`. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - copy_source: str | None = ... - """ - Specifies the source object for the copy operation. You specify the - value in one of two formats, depending on whether you want to access the - source object through an [access - point](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html): - - - For objects not accessed through an access point, specify the name of - the source bucket and key of the source object, separated by a slash - (/). For example, to copy the object `reports/january.pdf` from the - bucket `awsexamplebucket`, use `awsexamplebucket/reports/january.pdf`. - The value must be URL-encoded. - - - For objects accessed through access points, specify the Amazon - Resource Name (ARN) of the object as accessed through the access - point, in the format - `arn:aws:s3:```{=html}`:```{=html}`:accesspoint/```{=html}`/object/```{=html}. - For example, to copy the object `reports/january.pdf` through access - point `my-access-point` owned by account `123456789012` in Region - `us-west-2`, use the URL encoding of - `arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf`. - The value must be URL encoded. - - Note: - - Amazon S3 supports copy operations using Access points only when the - source and destination buckets are in the same Amazon Web Services - Region. - - - Access points are not supported by directory buckets. - - Alternatively, for objects accessed through Amazon S3 on Outposts, - specify the ARN of the object as accessed in the format - `arn:aws:s3-outposts:```{=html}`:```{=html}`:outpost/```{=html}`/object/```{=html}. - For example, to copy the object `reports/january.pdf` through outpost - `my-outpost` owned by account `123456789012` in Region `us-west-2`, - use the URL encoding of - `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`. - The value must be URL-encoded. - - If your bucket has versioning enabled, you could have multiple versions - of the same object. By default, `x-amz-copy-source` identifies the - current version of the source object to copy. To copy a specific version - of the source object to copy, append `?versionId=```{=html} - to the `x-amz-copy-source` request header (for example, - `x-amz-copy-source: /awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893`). - - If the current version is a delete marker and you don't specify a - versionId in the `x-amz-copy-source` request header, Amazon S3 returns a - `404 Not Found` error, because the object does not exist. If you specify - versionId in the `x-amz-copy-source` and the versionId is a delete - marker, Amazon S3 returns an HTTP `400 Bad Request` error, because you - are not allowed to specify a delete marker as a version for the - `x-amz-copy-source`. - - Note: - **Directory buckets** - S3 Versioning isn't enabled and supported for - directory buckets. - """ - copy_source_if_match: str | None = ... - """ - Copies the object if its entity tag (ETag) matches the specified tag. - - If both of the `x-amz-copy-source-if-match` and - `x-amz-copy-source-if-unmodified-since` headers are present in the - request as follows: - - `x-amz-copy-source-if-match` condition evaluates to `true`, and; - - `x-amz-copy-source-if-unmodified-since` condition evaluates to `false`; - - Amazon S3 returns `200 OK` and copies the data. - """ - copy_source_if_modified_since: datetime | None = ... - """ - Copies the object if it has been modified since the specified time. - - If both of the `x-amz-copy-source-if-none-match` and - `x-amz-copy-source-if-modified-since` headers are present in the request - as follows: - - `x-amz-copy-source-if-none-match` condition evaluates to `false`, and; - - `x-amz-copy-source-if-modified-since` condition evaluates to `true`; - - Amazon S3 returns `412 Precondition Failed` response code. - """ - copy_source_if_none_match: str | None = ... - """ - Copies the object if its entity tag (ETag) is different than the - specified ETag. - - If both of the `x-amz-copy-source-if-none-match` and - `x-amz-copy-source-if-modified-since` headers are present in the request - as follows: - - `x-amz-copy-source-if-none-match` condition evaluates to `false`, and; - - `x-amz-copy-source-if-modified-since` condition evaluates to `true`; - - Amazon S3 returns `412 Precondition Failed` response code. - """ - copy_source_if_unmodified_since: datetime | None = ... - """ - Copies the object if it hasn't been modified since the specified time. - - If both of the `x-amz-copy-source-if-match` and - `x-amz-copy-source-if-unmodified-since` headers are present in the - request as follows: - - `x-amz-copy-source-if-match` condition evaluates to `true`, and; - - `x-amz-copy-source-if-unmodified-since` condition evaluates to `false`; - - Amazon S3 returns `200 OK` and copies the data. - """ - copy_source_range: str | None = ... - """ - The range of bytes to copy from the source object. The range value must - use the form bytes=first-last, where the first and last are the - zero-based byte offsets to copy. For example, bytes=0-9 indicates that - you want to copy the first 10 bytes of the source. You can copy a range - only if the source object is greater than 5 MB. - """ - key: str | None = ... - """Object key for which the multipart upload was initiated.""" - part_number: int | None = ... - """ - Part number of part being copied. This is a positive integer between 1 - and 10,000. - """ - upload_id: str | None = ... - """Upload ID identifying the multipart upload whose part is being copied.""" - sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when encrypting the object (for example, - AES256). - - Note: - This functionality is not supported when the destination bucket is a - directory bucket. - """ - sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key for Amazon S3 to use in - encrypting data. This value is used to store the object and then it is - discarded; Amazon S3 does not store the encryption key. The key must be - appropriate for use with the algorithm specified in the - `x-amz-server-side-encryption-customer-algorithm` header. This must be - the same encryption key specified in the initiate multipart upload - request. - - Note: - This functionality is not supported when the destination bucket is a - directory bucket. - """ - sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the encryption key according to RFC - 1321. Amazon S3 uses this header for a message integrity check to ensure - that the encryption key was transmitted without error. - - Note: - This functionality is not supported when the destination bucket is a - directory bucket. - """ - copy_source_sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when decrypting the source object (for - example, `AES256`). - - Note: - This functionality is not supported when the source object is in a - directory bucket. - """ - copy_source_sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key for Amazon S3 to use to - decrypt the source object. The encryption key provided in this header - must be one that was used when the source object was created. - - Note: - This functionality is not supported when the source object is in a - directory bucket. - """ - copy_source_sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the encryption key according to RFC - 1321. Amazon S3 uses this header for a message integrity check to ensure - that the encryption key was transmitted without error. - - Note: - This functionality is not supported when the source object is in a - directory bucket. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected destination bucket owner. If the account - ID that you provide does not match the actual owner of the destination - bucket, the request fails with the HTTP status code `403 Forbidden` - (access denied). - """ - expected_source_bucket_owner: str | None = ... - """ - The account ID of the expected source bucket owner. If the account ID - that you provide does not match the actual owner of the source bucket, - the request fails with the HTTP status code `403 Forbidden` (access - denied). - """ - -@dataclass(kw_only=True) -class UploadPartCopyOutput(_SerdeShape): - """Dataclass for UploadPartCopyOutput structure.""" - - copy_source_version_id: str | None = ... - """ - The version of the source object that was copied, if you have enabled - versioning on the source bucket. - - Note: - This functionality is not supported when the source object is in a - directory bucket. - """ - copy_part_result: CopyPartResult | None = ... - """Container for all response elements.""" - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when you store this object in - Amazon S3 or Amazon FSx. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - sse_customer_algorithm: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to confirm the - encryption algorithm that's used. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to provide the - round-trip message integrity verification of the customer-provided - encryption key. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - If present, indicates the ID of the KMS key that was used for object - encryption. - """ - bucket_key_enabled: bool | None = ... - """ - Indicates whether the multipart upload uses an S3 Bucket Key for - server-side encryption with Key Management Service (KMS) keys (SSE-KMS). - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class UploadPartInput(_SerdeShape): - """Dataclass for UploadPartInput structure.""" - - body: StreamingBlob = ... - """Object data.""" - bucket: str | None = ... - """ - The name of the bucket to which the multipart upload was initiated. - - **Directory buckets** - When you use this operation with a directory - bucket, you must use virtual-hosted-style requests in the format - ` `*`Bucket-name`*`.s3express-`*`zone-id`*`.`*`region-code`*`.amazonaws.com`. - Path-style requests are not supported. Directory bucket names must be - unique in the chosen Zone (Availability Zone or Local Zone). Bucket - names must follow the format - ` `*`bucket-base-name`*`--`*`zone-id`*`--x-s3` (for example, - ` `*`amzn-s3-demo-bucket`*`--`*`usw2-az1`*`--x-s3`). For information - about bucket naming restrictions, see [Directory bucket naming - rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) - in the *Amazon S3 User Guide*. - - **Access points** - When you use this action with an access point for - general purpose buckets, you must provide the alias of the access point - in place of the bucket name or specify the access point ARN. When you - use this action with an access point for directory buckets, you must - provide the access point name in place of the bucket name. When using - the access point ARN, you must direct requests to the access point - hostname. The access point hostname takes the form - *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com. - When using this action with an access point through the Amazon Web - Services SDKs, you provide the access point ARN in place of the bucket - name. For more information about access point ARNs, see [Using access - points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) - in the *Amazon S3 User Guide*. - - Note: - Object Lambda access points are not supported by directory buckets. - - **S3 on Outposts** - When you use this action with S3 on Outposts, you - must direct requests to the S3 on Outposts hostname. The S3 on Outposts - hostname takes the form - ` `*`AccessPointName`*`-`*`AccountId`*`.`*`outpostID`*`.s3-outposts.`*`Region`*`.amazonaws.com`. - When you use this action with S3 on Outposts, the destination bucket - must be the Outposts access point ARN or the access point alias. For - more information about S3 on Outposts, see [What is S3 on - Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) - in the *Amazon S3 User Guide*. - """ - content_length: int | None = ... - """ - Size of the body in bytes. This parameter is useful when the size of the - body cannot be determined automatically. - """ - content_md5: str | None = ... - """ - The Base64 encoded 128-bit MD5 digest of the part data. This parameter - is auto-populated when using the command from the CLI. This parameter is - required if object lock parameters are specified. - - Note: - This functionality is not supported for directory buckets. - """ - checksum_algorithm: str | None = ... - """ - Indicates the algorithm used to create the checksum for the object when - you use the SDK. This header will not provide any additional - functionality if you don't use the SDK. When you send this header, - there must be a corresponding `x-amz-checksum` or `x-amz-trailer` header - sent. Otherwise, Amazon S3 fails the request with the HTTP status code - `400 Bad Request`. For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - If you provide an individual checksum, Amazon S3 ignores any provided - `ChecksumAlgorithm` parameter. - - This checksum algorithm must be the same for all parts and it match the - checksum value supplied in the `CreateMultipartUpload` request. - """ - checksum_crc32: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 32-bit `CRC32` checksum of the object. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha1: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 256-bit `SHA256` digest of the object. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 512-bit `SHA512` digest of the part. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_md5: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 128-bit `MD5` digest of the part. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash64: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `XXHASH64` checksum of the part. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash3: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `XXHASH3` checksum of the part. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash128: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 128-bit `XXHASH128` checksum of the part. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - key: str | None = ... - """Object key for which the multipart upload was initiated.""" - part_number: int | None = ... - """ - Part number of part being uploaded. This is a positive integer between 1 - and 10,000. - """ - upload_id: str | None = ... - """Upload ID identifying the multipart upload whose part is being uploaded.""" - sse_customer_algorithm: str | None = ... - """ - Specifies the algorithm to use when encrypting the object (for example, - AES256). - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key: str | None = ... - """ - Specifies the customer-provided encryption key for Amazon S3 to use in - encrypting data. This value is used to store the object and then it is - discarded; Amazon S3 does not store the encryption key. The key must be - appropriate for use with the algorithm specified in the - `x-amz-server-side-encryption-customer-algorithm header`. This must be - the same encryption key specified in the initiate multipart upload - request. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - Specifies the 128-bit MD5 digest of the encryption key according to RFC - 1321. Amazon S3 uses this header for a message integrity check to ensure - that the encryption key was transmitted without error. - - Note: - This functionality is not supported for directory buckets. - """ - request_payer: str | None = ... - """ - Confirms that the requester knows that they will be charged for the - request. Bucket owners need not specify this parameter in their - requests. If either the source or destination S3 bucket has Requester - Pays enabled, the requester will pay for the corresponding charges. For - information about downloading objects from Requester Pays buckets, see - [Downloading Objects in Requester Pays - Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) - in the *Amazon S3 User Guide*. - - Note: - This functionality is not supported for directory buckets. - """ - expected_bucket_owner: str | None = ... - """ - The account ID of the expected bucket owner. If the account ID that you - provide does not match the actual owner of the bucket, the request fails - with the HTTP status code `403 Forbidden` (access denied). - """ - -@dataclass(kw_only=True) -class UploadPartOutput(_SerdeShape): - """Dataclass for UploadPartOutput structure.""" - - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when you store this object in - Amazon S3 or Amazon FSx. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - e_tag: str | None = ... - """Entity tag for the uploaded object.""" - checksum_crc32: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32` checksum of the part. This will only - be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc32_c: str | None = ... - """ - The Base64 encoded, 32-bit `CRC32C` checksum of the part. This will only - be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_crc64_nvme: str | None = ... - """ - The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This will - only be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha1: str | None = ... - """ - The Base64 encoded, 160-bit `SHA1` checksum of the part. This will only - be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha256: str | None = ... - """ - The Base64 encoded, 256-bit `SHA256` checksum of the part. This will - only be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha512: str | None = ... - """ - The Base64 encoded, 512-bit `SHA512` checksum of the part. This will - only be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_md5: str | None = ... - """ - The Base64 encoded, 128-bit `MD5` checksum of the part. This will only - be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash64: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH64` checksum of the part. This will - only be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash3: str | None = ... - """ - The Base64 encoded, 64-bit `XXHASH3` checksum of the part. This will - only be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash128: str | None = ... - """ - The Base64 encoded, 128-bit `XXHASH128` checksum of the part. This will - only be present if the checksum was provided in the request. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - sse_customer_algorithm: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to confirm the - encryption algorithm that's used. - - Note: - This functionality is not supported for directory buckets. - """ - sse_customer_key_md5: str | None = ... - """ - If server-side encryption with a customer-provided encryption key was - requested, the response will include this header to provide the - round-trip message integrity verification of the customer-provided - encryption key. - - Note: - This functionality is not supported for directory buckets. - """ - ssekms_key_id: str | None = ... - """ - If present, indicates the ID of the KMS key that was used for object - encryption. - """ - bucket_key_enabled: bool | None = ... - """ - Indicates whether the multipart upload uses an S3 Bucket Key for - server-side encryption with Key Management Service (KMS) keys (SSE-KMS). - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - -@dataclass(kw_only=True) -class VersioningConfiguration(_SerdeShape): - """ - Describes the versioning state of an Amazon S3 bucket. For more - information, see [PUT Bucket - versioning](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html) - in the *Amazon S3 API Reference*. - """ - - mfa_delete: str | None = ... - """ - Specifies whether MFA delete is enabled in the bucket versioning - configuration. This element is only returned if the bucket has been - configured with MFA delete. If the bucket has never been so configured, - this element is not returned. - """ - status: str | None = ... - """The versioning state of the bucket.""" - -@dataclass(kw_only=True) -class WebsiteConfiguration(_SerdeShape): - """Specifies website configuration parameters for an Amazon S3 bucket.""" - - error_document: ErrorDocument | None = ... - """The name of the error document for the website.""" - index_document: IndexDocument | None = ... - """The name of the index document for the website.""" - redirect_all_requests_to: RedirectAllRequestsTo | None = ... - """ - The redirect behavior for every request to this bucket's website - endpoint. - - Warning: - If you specify this property, you can't specify any other property. - """ - routing_rules: list[RoutingRule] | None = ... - """Rules that define when a redirect is applied and the redirect behavior.""" - -@dataclass(kw_only=True) -class WriteGetObjectResponseInput(_SerdeShape): - """Dataclass for WriteGetObjectResponseInput structure.""" - - request_route: str | None = ... - """Route prefix to the HTTP URL generated.""" - request_token: str | None = ... - """ - A single use encrypted token that maps `WriteGetObjectResponse` to the - end user `GetObject` request. - """ - body: StreamingBlob = ... - """The object data.""" - status_code: int | None = ... - """ - The integer status code for an HTTP response of a corresponding - `GetObject` request. The following is a list of status codes. - - - `200 - OK` - - - `206 - Partial Content` - - - `304 - Not Modified` - - - `400 - Bad Request` - - - `401 - Unauthorized` - - - `403 - Forbidden` - - - `404 - Not Found` - - - `405 - Method Not Allowed` - - - `409 - Conflict` - - - `411 - Length Required` - - - `412 - Precondition Failed` - - - `416 - Range Not Satisfiable` - - - `500 - Internal Server Error` - - - `503 - Service Unavailable` - """ - error_code: str | None = ... - """ -

- A string that uniquely identifies an error condition. Returned in the - - tag of the error XML response for a corresponding `GetObject` call. - Cannot be used with a successful `StatusCode` header or when the - transformed object is provided in the body. All error codes from S3 are - sentence-cased. The regular expression (regex) value is - `"^[A-Z][a-zA-Z]+$"`. -

- """ - error_message: str | None = ... - """ - Contains a generic description of the error condition. Returned in the - ``{=html} tag of the error XML response for a corresponding - `GetObject` call. Cannot be used with a successful `StatusCode` header - or when the transformed object is provided in body. - """ - accept_ranges: str | None = ... - """Indicates that a range of bytes was specified.""" - cache_control: str | None = ... - """Specifies caching behavior along the request/reply chain.""" - content_disposition: str | None = ... - """Specifies presentational information for the object.""" - content_encoding: str | None = ... - """ - Specifies what content encodings have been applied to the object and - thus what decoding mechanisms must be applied to obtain the media-type - referenced by the Content-Type header field. - """ - content_language: str | None = ... - """The language the content is in.""" - content_length: int | None = ... - """The size of the content body in bytes.""" - content_range: str | None = ... - """The portion of the object returned in the response.""" - content_type: str | None = ... - """A standard MIME type describing the format of the object data.""" - checksum_crc32: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This specifies - the Base64 encoded, 32-bit `CRC32` checksum of the object returned by - the Object Lambda function. This may not match the checksum for the - object stored in Amazon S3. Amazon S3 will perform validation of the - checksum values only when the original `GetObject` request required - checksum validation. For more information about checksums, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - Only one checksum header can be specified at a time. If you supply - multiple checksum headers, this request will fail. - """ - checksum_crc32_c: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This specifies - the Base64 encoded, 32-bit `CRC32C` checksum of the object returned by - the Object Lambda function. This may not match the checksum for the - object stored in Amazon S3. Amazon S3 will perform validation of the - checksum values only when the original `GetObject` request required - checksum validation. For more information about checksums, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - Only one checksum header can be specified at a time. If you supply - multiple checksum headers, this request will fail. - """ - checksum_crc64_nvme: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_sha1: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This specifies - the Base64 encoded, 160-bit `SHA1` digest of the object returned by the - Object Lambda function. This may not match the checksum for the object - stored in Amazon S3. Amazon S3 will perform validation of the checksum - values only when the original `GetObject` request required checksum - validation. For more information about checksums, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - Only one checksum header can be specified at a time. If you supply - multiple checksum headers, this request will fail. - """ - checksum_sha256: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This specifies - the Base64 encoded, 256-bit `SHA256` digest of the object returned by - the Object Lambda function. This may not match the checksum for the - object stored in Amazon S3. Amazon S3 will perform validation of the - checksum values only when the original `GetObject` request required - checksum validation. For more information about checksums, see [Checking - object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - - Only one checksum header can be specified at a time. If you supply - multiple checksum headers, this request will fail. - """ - checksum_sha512: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 512-bit `SHA512` digest of the part. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_md5: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 128-bit `MD5` digest of the part. For more - information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash64: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `XXHASH64` checksum of the part. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash3: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 64-bit `XXHASH3` checksum of the part. For - more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - checksum_xxhash128: str | None = ... - """ - This header can be used as a data integrity check to verify that the - data received is the same data that was originally sent. This header - specifies the Base64 encoded, 128-bit `XXHASH128` checksum of the part. - For more information, see [Checking object - integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) - in the *Amazon S3 User Guide*. - """ - delete_marker: bool | None = ... - """ - Specifies whether an object stored in Amazon S3 is (`true`) or is not - (`false`) a delete marker. To learn more about delete markers, see - [Working with delete - markers](https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html). - """ - e_tag: str | None = ... - """ - An opaque identifier assigned by a web server to a specific version of a - resource found at a URL. - """ - expires: str | None = ... - """The date and time at which the object is no longer cacheable.""" - expiration: str | None = ... - """ - If the object expiration is configured (see PUT Bucket lifecycle), the - response includes this header. It includes the `expiry-date` and - `rule-id` key-value pairs that provide the object expiration - information. The value of the `rule-id` is URL-encoded. - """ - last_modified: datetime | None = ... - """The date and time that the object was last modified.""" - missing_meta: int | None = ... - """ - Set to the number of metadata entries not returned in `x-amz-meta` - headers. This can happen if you create metadata using an API like SOAP - that supports more flexible metadata than the REST API. For example, - using SOAP, you can create metadata whose values are not legal HTTP - headers. - """ - metadata: dict[str, str] | None = ... - """A map of metadata to store with the object in S3.""" - object_lock_mode: str | None = ... - """ - Indicates whether an object stored in Amazon S3 has Object Lock enabled. - For more information about S3 Object Lock, see [Object - Lock](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html). - """ - object_lock_legal_hold_status: str | None = ... - """ - Indicates whether an object stored in Amazon S3 has an active legal - hold. - """ - object_lock_retain_until_date: datetime | None = ... - """The date and time when Object Lock is configured to expire.""" - parts_count: int | None = ... - """The count of parts this object has.""" - replication_status: str | None = ... - """ - Indicates if request involves bucket that is either a source or - destination in a Replication rule. For more information about S3 - Replication, see - [Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html). - """ - request_charged: str | None = ... - """ - If present, indicates that the requester was successfully charged for - the request. For more information, see [Using Requester Pays buckets for - storage transfers and - usage](https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html) - in the *Amazon Simple Storage Service user guide*. - - Note: - This functionality is not supported for directory buckets. - """ - restore: str | None = ... - """ - Provides information about object restoration operation and expiration - time of the restored object copy. - """ - server_side_encryption: str | None = ... - """ - The server-side encryption algorithm used when storing requested object - in Amazon S3 or Amazon FSx. - - Note: - When accessing data stored in Amazon FSx file systems using S3 access - points, the only valid server side encryption option is `aws:fsx`. - """ - sse_customer_algorithm: str | None = ... - """ - Encryption algorithm used if server-side encryption with a - customer-provided encryption key was specified for object stored in - Amazon S3. - """ - ssekms_key_id: str | None = ... - """ - If present, specifies the ID (Key ID, Key ARN, or Key Alias) of the - Amazon Web Services Key Management Service (Amazon Web Services KMS) - symmetric encryption customer managed key that was used for stored in - Amazon S3 object. - """ - sse_customer_key_md5: str | None = ... - """ - 128-bit MD5 digest of customer-provided encryption key used in Amazon S3 - to encrypt data stored in S3. For more information, see [Protecting data - using server-side encryption with customer-provided encryption keys - (SSE-C)](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html). - """ - storage_class: str | None = ... - """ - Provides storage class information of the object. Amazon S3 returns this - header for all objects except for S3 Standard storage class objects. - - For more information, see [Storage - Classes](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html). - """ - tag_count: int | None = ... - """The number of tags, if any, on the object.""" - version_id: str | None = ... - """An ID used to reference a specific version of the object.""" - bucket_key_enabled: bool | None = ... - """ - Indicates whether the object stored in Amazon S3 uses an S3 bucket key - for server-side encryption with Amazon Web Services KMS (SSE-KMS). - """ - -@dataclass(kw_only=True) -class WriteGetObjectResponseOutput(_SerdeShape): - """Dataclass for WriteGetObjectResponseOutput structure.""" - - response_metadata: ResponseMetadata = ... - """ - Metadata about the response that produced this output. Use this to - recover the request identifiers a service's support team needs in order - to investigate a call. Members of the metadata are individually - optional. - """ - ABORT_MULTIPART_UPLOAD: APIOperation[ AbortMultipartUploadInput, AbortMultipartUploadOutput ] diff --git a/clients/aws-sdk-s3/tests/test_endpoints.py b/clients/aws-sdk-s3/tests/test_endpoints.py index e9e1c1d39..2efb1c673 100644 --- a/clients/aws-sdk-s3/tests/test_endpoints.py +++ b/clients/aws-sdk-s3/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor @@ -11720,10 +11720,6 @@ async def test_endpoint_rules(params: dict[str, Any], expect: dict[str, Any]) -> } }, id="WriteGetObjectResponse @ us-west-2", - marks=mark.xfail( - reason="Host labels in an endpoint trait's hostPrefix aren't serialized yet", - strict=True, - ), ), param( {"region": "us-west-2", "endpoint_uri": "https://my-endpoint.com"}, @@ -11747,10 +11743,6 @@ async def test_endpoint_rules(params: dict[str, Any], expect: dict[str, Any]) -> } }, id="WriteGetObjectResponse with custom endpoint", - marks=mark.xfail( - reason="Host labels in an endpoint trait's hostPrefix aren't serialized yet", - strict=True, - ), ), param( {"region": "us-east-1"}, @@ -11774,10 +11766,6 @@ async def test_endpoint_rules(params: dict[str, Any], expect: dict[str, Any]) -> } }, id="WriteGetObjectResponse @ us-east-1", - marks=mark.xfail( - reason="Host labels in an endpoint trait's hostPrefix aren't serialized yet", - strict=True, - ), ), param( {"region": "us-east-1", "use_fips_endpoint": True}, @@ -11801,10 +11789,6 @@ async def test_endpoint_rules(params: dict[str, Any], expect: dict[str, Any]) -> } }, id="WriteGetObjectResponse with fips", - marks=mark.xfail( - reason="Host labels in an endpoint trait's hostPrefix aren't serialized yet", - strict=True, - ), ), param( {"region": "us-east-1", "use_dualstack_endpoint": True}, @@ -11814,10 +11798,6 @@ async def test_endpoint_rules(params: dict[str, Any], expect: dict[str, Any]) -> ), {"error": "S3 Object Lambda does not support Dual-stack"}, id="WriteGetObjectResponse with dualstack", - marks=mark.xfail( - reason="Host labels in an endpoint trait's hostPrefix aren't serialized yet", - strict=True, - ), ), param( {"region": "us-east-1"}, diff --git a/clients/aws-sdk-sagemaker-runtime-http2/pyproject.toml b/clients/aws-sdk-sagemaker-runtime-http2/pyproject.toml index c76ab7745..d1f29345a 100644 --- a/clients/aws-sdk-sagemaker-runtime-http2/pyproject.toml +++ b/clients/aws-sdk-sagemaker-runtime-http2/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_sagemaker_runtime_http2" version = "0.12.0" -description = "aws_sdk_sagemaker_runtime_http2 client" +description = "Python client for Amazon SageMaker Runtime HTTP2" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_sagemaker_runtime_http2"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/aio/client.py b/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/aio/client.py index 918cc8b65..4b7d492c6 100644 --- a/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/aio/client.py +++ b/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/aio/client.py @@ -4,8 +4,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncDuplexEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/aio/config.py b/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/aio/config.py index 9c2cff1c3..69ecd0099 100644 --- a/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/aio/config.py +++ b/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/client.py b/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/client.py index 9748b5587..be8c3b32b 100644 --- a/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/client.py +++ b/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/client.py @@ -3,9 +3,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/config.py b/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/config.py index 659d4131d..b8cfa24dd 100644 --- a/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/config.py +++ b/clients/aws-sdk-sagemaker-runtime-http2/src/aws_sdk_sagemaker_runtime_http2/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-sagemaker-runtime-http2/tests/test_endpoints.py b/clients/aws-sdk-sagemaker-runtime-http2/tests/test_endpoints.py index deb21d593..cb6b5846c 100644 --- a/clients/aws-sdk-sagemaker-runtime-http2/tests/test_endpoints.py +++ b/clients/aws-sdk-sagemaker-runtime-http2/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-secrets-manager/pyproject.toml b/clients/aws-sdk-secrets-manager/pyproject.toml index ccf2935b1..c4bfabeb9 100644 --- a/clients/aws-sdk-secrets-manager/pyproject.toml +++ b/clients/aws-sdk-secrets-manager/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_secrets_manager" version = "0.12.0" -description = "aws_sdk_secrets_manager client" +description = "Python client for AWS Secrets Manager" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_secrets_manager"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas.py b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas.py index 76ae569ba..22fee5523 100644 --- a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas.py +++ b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas.py @@ -1,1771 +1,197 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.secretsmanager" -_KKIT = "KmsKeyIdType" -_RT = "RegionType" -_RRT = "ReplicaRegionType" -_R = "Region" -_KKI = "KmsKeyId" -_ARRLT = "AddReplicaRegionListType" -_m = "member" -_EC = "ErrorCode" -_EM = "ErrorMessage" -_SIT = "SecretIdType" -_APIET = "APIErrorType" -_SI = "SecretId" -_M = "Message" -_APIELT = "APIErrorListType" -_ARADT = "AutomaticallyRotateAfterDaysType" -_FNST = "FilterNameStringType" -_d = "description" -_sV = "smithy.api#enumValue" -_n = "name" -_tk = "tag_key" -_tk_ = "tag-key" -_tv = "tag_value" -_tv_ = "tag-value" -_pr = "primary_region" -_pr_ = "primary-region" -_os = "owning_service" -_os_ = "owning-service" -_a = "all" -_FVST = "FilterValueStringType" -_FVSL = "FilterValuesStringList" -_F = "Filter" -_K = "Key" -_V = "Values" -_FLT = "FiltersListType" -_MRBT = "MaxResultsBatchType" -_NTT = "NextTokenType" -_SILT = "SecretIdListType" -_BGSVI = "BatchGetSecretValueInput" -_sSI = "smithy.synthetic#originalShapeId" -_cBGSVR = "com.amazonaws.secretsmanager#BatchGetSecretValueRequest" -_s = "smithy.api#input" -_SIL = "SecretIdList" -_Fi = "Filters" -_MR = "MaxResults" -_NT = "NextToken" -_SARNT = "SecretARNType" -_CDT = "CreatedDateType" -_SNT = "SecretNameType" -_SBT = "SecretBinaryType" -_sm = "smithy.api#sensitive" -_SST = "SecretStringType" -_SVIT = "SecretVersionIdType" -_SVST = "SecretVersionStageType" -_SVSTe = "SecretVersionStagesType" -_SVE = "SecretValueEntry" -_ARN = "ARN" -_N = "Name" -_VI = "VersionId" -_SB = "SecretBinary" -_SS = "SecretString" -_VS = "VersionStages" -_CD = "CreatedDate" -_SVT = "SecretValuesType" -_BGSVO = "BatchGetSecretValueOutput" -_cBGSVRo = "com.amazonaws.secretsmanager#BatchGetSecretValueResponse" -_smi = "smithy.api#output" -_SV = "SecretValues" -_E = "Errors" -_DF = "DecryptionFailure" -_smit = "smithy.api#error" -_c = "client" -_ISE = "InternalServiceError" -_se = "server" -_INTE = "InvalidNextTokenException" -_IPE = "InvalidParameterException" -_IRE = "InvalidRequestException" -_RNFE = "ResourceNotFoundException" -_BGSV = "BatchGetSecretValue" -_BT = "BooleanType" -_smith = "smithy.api#default" -_CRSI = "CancelRotateSecretInput" -_cCRSR = "com.amazonaws.secretsmanager#CancelRotateSecretRequest" -_smithy = "smithy.api#required" -_CRSO = "CancelRotateSecretOutput" -_cCRSRo = "com.amazonaws.secretsmanager#CancelRotateSecretResponse" -_CRS = "CancelRotateSecret" -_CRTT = "ClientRequestTokenType" -_DT = "DescriptionType" -_NTa = "NameType" -_TKT = "TagKeyType" -_TVT = "TagValueType" -_T = "Tag" -_Va = "Value" -_TLT = "TagListType" -_MTT = "MedeaTypeType" -_CSI = "CreateSecretInput" -_cCSR = "com.amazonaws.secretsmanager#CreateSecretRequest" -_CRT = "ClientRequestToken" -_sT = "smithy.api#idempotencyToken" -_D = "Description" -_Ta = "Tags" -_ARR = "AddReplicaRegions" -_FORS = "ForceOverwriteReplicaSecret" -_Ty = "Type" -_LADT = "LastAccessedDateType" -_ST = "StatusType" -_IS = "InSync" -_Fa = "Failed" -_IP = "InProgress" -_SMT = "StatusMessageType" -_RST = "ReplicationStatusType" -_S = "Status" -_SM = "StatusMessage" -_LAD = "LastAccessedDate" -_RSLT = "ReplicationStatusListType" -_CSO = "CreateSecretOutput" -_cCSRo = "com.amazonaws.secretsmanager#CreateSecretResponse" -_RS = "ReplicationStatus" -_EF = "EncryptionFailure" -_LEE = "LimitExceededException" -_MPDE = "MalformedPolicyDocumentException" -_PNME = "PreconditionNotMetException" -_REE = "ResourceExistsException" -_CS = "CreateSecret" -_DDT = "DeletedDateType" -_DRPI = "DeleteResourcePolicyInput" -_cDRPR = "com.amazonaws.secretsmanager#DeleteResourcePolicyRequest" -_DRPO = "DeleteResourcePolicyOutput" -_cDRPRo = "com.amazonaws.secretsmanager#DeleteResourcePolicyResponse" -_DRP = "DeleteResourcePolicy" -_RWIDT = "RecoveryWindowInDaysType" -_DSI = "DeleteSecretInput" -_cDSR = "com.amazonaws.secretsmanager#DeleteSecretRequest" -_RWID = "RecoveryWindowInDays" -_FDWR = "ForceDeleteWithoutRecovery" -_DDTe = "DeletionDateType" -_DSO = "DeleteSecretOutput" -_cDSRo = "com.amazonaws.secretsmanager#DeleteSecretResponse" -_DD = "DeletionDate" -_DS = "DeleteSecret" -_DSIe = "DescribeSecretInput" -_cDSRom = "com.amazonaws.secretsmanager#DescribeSecretRequest" -_TT = "TimestampType" -_ESRMIKT = "ExternalSecretRotationMetadataItemKeyType" -_ESRMIVT = "ExternalSecretRotationMetadataItemValueType" -_ESRMI = "ExternalSecretRotationMetadataItem" -_ESRMT = "ExternalSecretRotationMetadataType" -_RARNT = "RoleARNType" -_LCDT = "LastChangedDateType" -_LRDT = "LastRotatedDateType" -_NRDT = "NextRotationDateType" -_OST = "OwningServiceType" -_RET = "RotationEnabledType" -_RLARNT = "RotationLambdaARNType" -_DTu = "DurationType" -_SET = "ScheduleExpressionType" -_RRTo = "RotationRulesType" -_AAD = "AutomaticallyAfterDays" -_Du = "Duration" -_SE = "ScheduleExpression" -_SVTSMT = "SecretVersionsToStagesMapType" -_k = "key" -_v = "value" -_DSOe = "DescribeSecretOutput" -_cDSRoma = "com.amazonaws.secretsmanager#DescribeSecretResponse" -_RE = "RotationEnabled" -_RLARN = "RotationLambdaARN" -_RR = "RotationRules" -_ESRM = "ExternalSecretRotationMetadata" -_ESRRA = "ExternalSecretRotationRoleArn" -_LRD = "LastRotatedDate" -_LCD = "LastChangedDate" -_DDe = "DeletedDate" -_NRD = "NextRotationDate" -_VITS = "VersionIdsToStages" -_OS = "OwningService" -_PR = "PrimaryRegion" -_DSe = "DescribeSecret" -_ECT = "ExcludeCharactersType" -_ELT = "ExcludeLowercaseType" -_ENT = "ExcludeNumbersType" -_EPT = "ExcludePunctuationType" -_EUT = "ExcludeUppercaseType" -_IST = "IncludeSpaceType" -_PLT = "PasswordLengthType" -_REITT = "RequireEachIncludedTypeType" -_GRPI = "GetRandomPasswordInput" -_cGRPR = "com.amazonaws.secretsmanager#GetRandomPasswordRequest" -_PL = "PasswordLength" -_ECx = "ExcludeCharacters" -_EN = "ExcludeNumbers" -_EP = "ExcludePunctuation" -_EU = "ExcludeUppercase" -_EL = "ExcludeLowercase" -_ISn = "IncludeSpace" -_REIT = "RequireEachIncludedType" -_RPT = "RandomPasswordType" -_GRPO = "GetRandomPasswordOutput" -_cGRPRo = "com.amazonaws.secretsmanager#GetRandomPasswordResponse" -_RP = "RandomPassword" -_GRP = "GetRandomPassword" -_GRPIe = "GetResourcePolicyInput" -_cGRPRom = "com.amazonaws.secretsmanager#GetResourcePolicyRequest" -_NERPT = "NonEmptyResourcePolicyType" -_GRPOe = "GetResourcePolicyOutput" -_cGRPRoma = "com.amazonaws.secretsmanager#GetResourcePolicyResponse" -_RPe = "ResourcePolicy" -_GRPe = "GetResourcePolicy" -_GSVI = "GetSecretValueInput" -_cGSVR = "com.amazonaws.secretsmanager#GetSecretValueRequest" -_VSe = "VersionStage" -_GSVO = "GetSecretValueOutput" -_cGSVRo = "com.amazonaws.secretsmanager#GetSecretValueResponse" -_GSV = "GetSecretValue" -_KKILT = "KmsKeyIdListType" -_MRT = "MaxResultsType" -_SBTo = "SortByType" -_cd = "created_date" -_cd_ = "created-date" -_lad = "last_accessed_date" -_lad_ = "last-accessed-date" -_lcd = "last_changed_date" -_lcd_ = "last-changed-date" -_SOT = "SortOrderType" -_as = "asc" -_de = "desc" -_LSI = "ListSecretsInput" -_cLSR = "com.amazonaws.secretsmanager#ListSecretsRequest" -_IPD = "IncludePlannedDeletion" -_SO = "SortOrder" -_SBo = "SortBy" -_SLE = "SecretListEntry" -_SVTS = "SecretVersionsToStages" -_SLT = "SecretListType" -_LSO = "ListSecretsOutput" -_cLSRo = "com.amazonaws.secretsmanager#ListSecretsResponse" -_SL = "SecretList" -_LS = "ListSecrets" -_LSVII = "ListSecretVersionIdsInput" -_cLSVIR = "com.amazonaws.secretsmanager#ListSecretVersionIdsRequest" -_ID = "IncludeDeprecated" -_SVLE = "SecretVersionsListEntry" -_KKIm = "KmsKeyIds" -_SVLT = "SecretVersionsListType" -_LSVIO = "ListSecretVersionIdsOutput" -_cLSVIRo = "com.amazonaws.secretsmanager#ListSecretVersionIdsResponse" -_Ve = "Versions" -_LSVI = "ListSecretVersionIds" -_PPE = "PublicPolicyException" -_PRPI = "PutResourcePolicyInput" -_cPRPR = "com.amazonaws.secretsmanager#PutResourcePolicyRequest" -_BPP = "BlockPublicPolicy" -_PRPO = "PutResourcePolicyOutput" -_cPRPRo = "com.amazonaws.secretsmanager#PutResourcePolicyResponse" -_PRP = "PutResourcePolicy" -_RTT = "RotationTokenType" -_PSVI = "PutSecretValueInput" -_cPSVR = "com.amazonaws.secretsmanager#PutSecretValueRequest" -_RTo = "RotationToken" -_PSVO = "PutSecretValueOutput" -_cPSVRo = "com.amazonaws.secretsmanager#PutSecretValueResponse" -_PSV = "PutSecretValue" -_RRRLT = "RemoveReplicaRegionListType" -_RRFRI = "RemoveRegionsFromReplicationInput" -_cRRFRR = "com.amazonaws.secretsmanager#RemoveRegionsFromReplicationRequest" -_RRR = "RemoveReplicaRegions" -_RRFRO = "RemoveRegionsFromReplicationOutput" -_cRRFRRo = "com.amazonaws.secretsmanager#RemoveRegionsFromReplicationResponse" -_RRFR = "RemoveRegionsFromReplication" -_RSTRI = "ReplicateSecretToRegionsInput" -_cRSTRR = "com.amazonaws.secretsmanager#ReplicateSecretToRegionsRequest" -_RSTRO = "ReplicateSecretToRegionsOutput" -_cRSTRRo = "com.amazonaws.secretsmanager#ReplicateSecretToRegionsResponse" -_RSTR = "ReplicateSecretToRegions" -_RSI = "RestoreSecretInput" -_cRSR = "com.amazonaws.secretsmanager#RestoreSecretRequest" -_RSO = "RestoreSecretOutput" -_cRSRo = "com.amazonaws.secretsmanager#RestoreSecretResponse" -_RSe = "RestoreSecret" -_RSIo = "RotateSecretInput" -_cRSRom = "com.amazonaws.secretsmanager#RotateSecretRequest" -_RI = "RotateImmediately" -_RSOo = "RotateSecretOutput" -_cRSRoma = "com.amazonaws.secretsmanager#RotateSecretResponse" -_RSo = "RotateSecret" -_SRTRI = "StopReplicationToReplicaInput" -_cSRTRR = "com.amazonaws.secretsmanager#StopReplicationToReplicaRequest" -_SRTRO = "StopReplicationToReplicaOutput" -_cSRTRRo = "com.amazonaws.secretsmanager#StopReplicationToReplicaResponse" -_SRTR = "StopReplicationToReplica" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.secretsmanager#TagResourceRequest" -_TRO = "TagResourceOutput" -_sU = "smithy.api#Unit" -_TR = "TagResource" -_TKLT = "TagKeyListType" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.secretsmanager#UntagResourceRequest" -_TK = "TagKeys" -_URO = "UntagResourceOutput" -_UR = "UntagResource" -_USI = "UpdateSecretInput" -_cUSR = "com.amazonaws.secretsmanager#UpdateSecretRequest" -_USO = "UpdateSecretOutput" -_cUSRo = "com.amazonaws.secretsmanager#UpdateSecretResponse" -_US = "UpdateSecret" -_USVSI = "UpdateSecretVersionStageInput" -_cUSVSR = "com.amazonaws.secretsmanager#UpdateSecretVersionStageRequest" -_RFVI = "RemoveFromVersionId" -_MTVI = "MoveToVersionId" -_USVSO = "UpdateSecretVersionStageOutput" -_cUSVSRo = "com.amazonaws.secretsmanager#UpdateSecretVersionStageResponse" -_USVS = "UpdateSecretVersionStage" -_VRPI = "ValidateResourcePolicyInput" -_cVRPR = "com.amazonaws.secretsmanager#ValidateResourcePolicyRequest" -_VEE = "ValidationErrorsEntry" -_CN = "CheckName" -_VET = "ValidationErrorsType" -_VRPO = "ValidateResourcePolicyOutput" -_cVRPRo = "com.amazonaws.secretsmanager#ValidateResourcePolicyResponse" -_PVP = "PolicyValidationPassed" -_VE = "ValidationErrors" -_VRP = "ValidateResourcePolicy" -_sec = "secretsmanager" -_aw = "aws.auth#sigv4" -_a_ = "aws.protocols#awsJson1_1" -_aws = "aws.api#service" - -KMS_KEY_ID_TYPE: StaticSchema = (3, n0, _KKIT, 0) - -REGION_TYPE: StaticSchema = (3, n0, _RT, 0) - -REPLICA_REGION_TYPE: StaticSchema = ( - 18, - n0, - _RRT, - 0, - (_R, _KKI), - ((REGION_TYPE, 0), (KMS_KEY_ID_TYPE, 0)), -) - -ADD_REPLICA_REGION_LIST_TYPE: StaticSchema = ( - 16, - n0, - _ARRLT, - 0, - (_m,), - ((REPLICA_REGION_TYPE, 0),), -) - -ERROR_CODE: StaticSchema = (3, n0, _EC, 0) - -ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -SECRET_ID_TYPE: StaticSchema = (3, n0, _SIT, 0) - -API_ERROR_TYPE: StaticSchema = ( - 18, - n0, - _APIET, - 0, - (_SI, _EC, _M), - ((SECRET_ID_TYPE, 0), (ERROR_CODE, 0), (ERROR_MESSAGE, 0)), -) - -API_ERROR_LIST_TYPE: StaticSchema = (16, n0, _APIELT, 0, (_m,), ((API_ERROR_TYPE, 0),)) - -AUTOMATICALLY_ROTATE_AFTER_DAYS_TYPE: StaticSchema = (8, n0, _ARADT, 0) - -FILTER_NAME_STRING_TYPE: StaticSchema = ( - 14, - n0, - _FNST, - 0, - (_d, _n, _tk, _tv, _pr, _os, _a), - ( - (-1, {_sV: _d}), - (-1, {_sV: _n}), - (-1, {_sV: _tk_}), - (-1, {_sV: _tv_}), - (-1, {_sV: _pr_}), - (-1, {_sV: _os_}), - (-1, {_sV: _a}), - ), -) - -FILTER_VALUE_STRING_TYPE: StaticSchema = (3, n0, _FVST, 0) - -FILTER_VALUES_STRING_LIST: StaticSchema = ( - 16, - n0, - _FVSL, - 0, - (_m,), - ((FILTER_VALUE_STRING_TYPE, 0),), -) - -FILTER: StaticSchema = ( - 18, - n0, - _F, - 0, - (_K, _V), - ((FILTER_NAME_STRING_TYPE, 0), (FILTER_VALUES_STRING_LIST, 0)), -) - -FILTERS_LIST_TYPE: StaticSchema = (16, n0, _FLT, 0, (_m,), ((FILTER, 0),)) - -MAX_RESULTS_BATCH_TYPE: StaticSchema = (7, n0, _MRBT, 0) - -NEXT_TOKEN_TYPE: StaticSchema = (3, n0, _NTT, 0) - -SECRET_ID_LIST_TYPE: StaticSchema = (16, n0, _SILT, 0, (_m,), ((SECRET_ID_TYPE, 0),)) - -BATCH_GET_SECRET_VALUE_INPUT: StaticSchema = ( - 18, - n0, - _BGSVI, - {_sSI: _cBGSVR, _s: None}, - (_SIL, _Fi, _MR, _NT), - ( - (SECRET_ID_LIST_TYPE, 0), - (FILTERS_LIST_TYPE, 0), - (MAX_RESULTS_BATCH_TYPE, 0), - (NEXT_TOKEN_TYPE, 0), - ), -) - -SECRET_ARN_TYPE: StaticSchema = (3, n0, _SARNT, 0) - -CREATED_DATE_TYPE: StaticSchema = (4, n0, _CDT, 0) - -SECRET_NAME_TYPE: StaticSchema = (3, n0, _SNT, 0) - -SECRET_BINARY_TYPE: StaticSchema = (1, n0, _SBT, 4) - -SECRET_STRING_TYPE: StaticSchema = (3, n0, _SST, 4) - -SECRET_VERSION_ID_TYPE: StaticSchema = (3, n0, _SVIT, 0) - -SECRET_VERSION_STAGE_TYPE: StaticSchema = (3, n0, _SVST, 0) - -SECRET_VERSION_STAGES_TYPE: StaticSchema = ( - 16, - n0, - _SVSTe, - 0, - (_m,), - ((SECRET_VERSION_STAGE_TYPE, 0),), -) - -SECRET_VALUE_ENTRY: StaticSchema = ( - 18, - n0, - _SVE, - 0, - (_ARN, _N, _VI, _SB, _SS, _VS, _CD), - ( - (SECRET_ARN_TYPE, 0), - (SECRET_NAME_TYPE, 0), - (SECRET_VERSION_ID_TYPE, 0), - (SECRET_BINARY_TYPE, 0), - (SECRET_STRING_TYPE, 0), - (SECRET_VERSION_STAGES_TYPE, 0), - (CREATED_DATE_TYPE, 0), - ), -) - -SECRET_VALUES_TYPE: StaticSchema = (16, n0, _SVT, 0, (_m,), ((SECRET_VALUE_ENTRY, 0),)) - -BATCH_GET_SECRET_VALUE_OUTPUT: StaticSchema = ( - 18, - n0, - _BGSVO, - {_sSI: _cBGSVRo, _smi: None}, - (_SV, _NT, _E), - ((SECRET_VALUES_TYPE, 0), (NEXT_TOKEN_TYPE, 0), (API_ERROR_LIST_TYPE, 0)), -) - -DECRYPTION_FAILURE: StaticSchema = ( - 18, - n0, - _DF, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INTERNAL_SERVICE_ERROR: StaticSchema = ( - 18, - n0, - _ISE, - {_smit: _se}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_NEXT_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _INTE, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_PARAMETER_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPE, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -INVALID_REQUEST_EXCEPTION: StaticSchema = ( - 18, - n0, - _IRE, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -BATCH_GET_SECRET_VALUE: StaticOperationSchema = ( - 23, - n0, - _BGSV, - 0, - BATCH_GET_SECRET_VALUE_INPUT, - BATCH_GET_SECRET_VALUE_OUTPUT, - ( - DECRYPTION_FAILURE, - INTERNAL_SERVICE_ERROR, - INVALID_NEXT_TOKEN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -BOOLEAN_TYPE: StaticSchema = (2, n0, _BT, {_smith: False}) - -CANCEL_ROTATE_SECRET_INPUT: StaticSchema = ( - 18, - n0, - _CRSI, - {_sSI: _cCRSR, _s: None}, - (_SI,), - ((SECRET_ID_TYPE, 1),), -) - -CANCEL_ROTATE_SECRET_OUTPUT: StaticSchema = ( - 18, - n0, - _CRSO, - {_sSI: _cCRSRo, _smi: None}, - (_ARN, _N, _VI), - ((SECRET_ARN_TYPE, 0), (SECRET_NAME_TYPE, 0), (SECRET_VERSION_ID_TYPE, 0)), -) - -CANCEL_ROTATE_SECRET: StaticOperationSchema = ( - 23, - n0, - _CRS, - 0, - CANCEL_ROTATE_SECRET_INPUT, - CANCEL_ROTATE_SECRET_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -CLIENT_REQUEST_TOKEN_TYPE: StaticSchema = (3, n0, _CRTT, 0) - -DESCRIPTION_TYPE: StaticSchema = (3, n0, _DT, 0) - -NAME_TYPE: StaticSchema = (3, n0, _NTa, 0) - -TAG_KEY_TYPE: StaticSchema = (3, n0, _TKT, 0) - -TAG_VALUE_TYPE: StaticSchema = (3, n0, _TVT, 0) - -TAG: StaticSchema = (18, n0, _T, 0, (_K, _Va), ((TAG_KEY_TYPE, 0), (TAG_VALUE_TYPE, 0))) - -TAG_LIST_TYPE: StaticSchema = (16, n0, _TLT, 0, (_m,), ((TAG, 0),)) - -MEDEA_TYPE_TYPE: StaticSchema = (3, n0, _MTT, 0) - -CREATE_SECRET_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_sSI: _cCSR, _s: None}, - (_N, _CRT, _D, _KKI, _SB, _SS, _Ta, _ARR, _FORS, _Ty), - ( - (NAME_TYPE, 1), - (CLIENT_REQUEST_TOKEN_TYPE, 2), - (DESCRIPTION_TYPE, 0), - (KMS_KEY_ID_TYPE, 0), - (SECRET_BINARY_TYPE, 0), - (SECRET_STRING_TYPE, 0), - (TAG_LIST_TYPE, 0), - (ADD_REPLICA_REGION_LIST_TYPE, 0), - (BOOLEAN_TYPE, {_smith: False}), - (MEDEA_TYPE_TYPE, 0), - ), -) - -LAST_ACCESSED_DATE_TYPE: StaticSchema = (4, n0, _LADT, 0) - -STATUS_TYPE: StaticSchema = ( - 14, - n0, - _ST, - 0, - (_IS, _Fa, _IP), - ((-1, {_sV: _IS}), (-1, {_sV: _Fa}), (-1, {_sV: _IP})), -) - -STATUS_MESSAGE_TYPE: StaticSchema = (3, n0, _SMT, 0) - -REPLICATION_STATUS_TYPE: StaticSchema = ( - 18, - n0, - _RST, - 0, - (_R, _KKI, _S, _SM, _LAD), - ( - (REGION_TYPE, 0), - (KMS_KEY_ID_TYPE, 0), - (STATUS_TYPE, 0), - (STATUS_MESSAGE_TYPE, 0), - (LAST_ACCESSED_DATE_TYPE, 0), - ), -) - -REPLICATION_STATUS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _RSLT, - 0, - (_m,), - ((REPLICATION_STATUS_TYPE, 0),), -) - -CREATE_SECRET_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_sSI: _cCSRo, _smi: None}, - (_ARN, _N, _VI, _RS), - ( - (SECRET_ARN_TYPE, 0), - (SECRET_NAME_TYPE, 0), - (SECRET_VERSION_ID_TYPE, 0), - (REPLICATION_STATUS_LIST_TYPE, 0), - ), -) - -ENCRYPTION_FAILURE: StaticSchema = ( - 18, - n0, - _EF, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -MALFORMED_POLICY_DOCUMENT_EXCEPTION: StaticSchema = ( - 18, - n0, - _MPDE, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -PRECONDITION_NOT_MET_EXCEPTION: StaticSchema = ( - 18, - n0, - _PNME, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -RESOURCE_EXISTS_EXCEPTION: StaticSchema = ( - 18, - n0, - _REE, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -CREATE_SECRET: StaticOperationSchema = ( - 23, - n0, - _CS, - 0, - CREATE_SECRET_INPUT, - CREATE_SECRET_OUTPUT, - ( - DECRYPTION_FAILURE, - ENCRYPTION_FAILURE, - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - PRECONDITION_NOT_MET_EXCEPTION, - RESOURCE_EXISTS_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DELETED_DATE_TYPE: StaticSchema = (4, n0, _DDT, 0) - -DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _DRPI, - {_sSI: _cDRPR, _s: None}, - (_SI,), - ((SECRET_ID_TYPE, 1),), -) - -DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _DRPO, - {_sSI: _cDRPRo, _smi: None}, - (_ARN, _N), - ((SECRET_ARN_TYPE, 0), (NAME_TYPE, 0)), -) - -DELETE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _DRP, - 0, - DELETE_RESOURCE_POLICY_INPUT, - DELETE_RESOURCE_POLICY_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -RECOVERY_WINDOW_IN_DAYS_TYPE: StaticSchema = (8, n0, _RWIDT, {_smith: 0}) - -DELETE_SECRET_INPUT: StaticSchema = ( - 18, - n0, - _DSI, - {_sSI: _cDSR, _s: None}, - (_SI, _RWID, _FDWR), - ( - (SECRET_ID_TYPE, 1), - (RECOVERY_WINDOW_IN_DAYS_TYPE, {_smith: None}), - (BOOLEAN_TYPE, {_smith: None}), - ), -) - -DELETION_DATE_TYPE: StaticSchema = (4, n0, _DDTe, 0) - -DELETE_SECRET_OUTPUT: StaticSchema = ( - 18, - n0, - _DSO, - {_sSI: _cDSRo, _smi: None}, - (_ARN, _N, _DD), - ((SECRET_ARN_TYPE, 0), (SECRET_NAME_TYPE, 0), (DELETION_DATE_TYPE, 0)), -) - -DELETE_SECRET: StaticOperationSchema = ( - 23, - n0, - _DS, - 0, - DELETE_SECRET_INPUT, - DELETE_SECRET_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -DESCRIBE_SECRET_INPUT: StaticSchema = ( - 18, - n0, - _DSIe, - {_sSI: _cDSRom, _s: None}, - (_SI,), - ((SECRET_ID_TYPE, 1),), -) - -TIMESTAMP_TYPE: StaticSchema = (4, n0, _TT, 0) - -EXTERNAL_SECRET_ROTATION_METADATA_ITEM_KEY_TYPE: StaticSchema = (3, n0, _ESRMIKT, 0) - -EXTERNAL_SECRET_ROTATION_METADATA_ITEM_VALUE_TYPE: StaticSchema = (3, n0, _ESRMIVT, 0) - -EXTERNAL_SECRET_ROTATION_METADATA_ITEM: StaticSchema = ( - 18, - n0, - _ESRMI, - 0, - (_K, _Va), - ( - (EXTERNAL_SECRET_ROTATION_METADATA_ITEM_KEY_TYPE, 0), - (EXTERNAL_SECRET_ROTATION_METADATA_ITEM_VALUE_TYPE, 0), - ), -) - -EXTERNAL_SECRET_ROTATION_METADATA_TYPE: StaticSchema = ( - 16, - n0, - _ESRMT, - 0, - (_m,), - ((EXTERNAL_SECRET_ROTATION_METADATA_ITEM, 0),), -) - -ROLE_ARN_TYPE: StaticSchema = (3, n0, _RARNT, 0) - -LAST_CHANGED_DATE_TYPE: StaticSchema = (4, n0, _LCDT, 0) - -LAST_ROTATED_DATE_TYPE: StaticSchema = (4, n0, _LRDT, 0) - -NEXT_ROTATION_DATE_TYPE: StaticSchema = (4, n0, _NRDT, 0) - -OWNING_SERVICE_TYPE: StaticSchema = (3, n0, _OST, 0) - -ROTATION_ENABLED_TYPE: StaticSchema = (2, n0, _RET, {_smith: False}) - -ROTATION_LAMBDA_ARN_TYPE: StaticSchema = (3, n0, _RLARNT, 0) - -DURATION_TYPE: StaticSchema = (3, n0, _DTu, 0) - -SCHEDULE_EXPRESSION_TYPE: StaticSchema = (3, n0, _SET, 0) - -ROTATION_RULES_TYPE: StaticSchema = ( - 18, - n0, - _RRTo, - 0, - (_AAD, _Du, _SE), - ( - (AUTOMATICALLY_ROTATE_AFTER_DAYS_TYPE, 0), - (DURATION_TYPE, 0), - (SCHEDULE_EXPRESSION_TYPE, 0), - ), -) - -SECRET_VERSIONS_TO_STAGES_MAP_TYPE: StaticSchema = ( - 17, - n0, - _SVTSMT, - 0, - (_k, _v), - ((SECRET_VERSION_ID_TYPE, 0), (SECRET_VERSION_STAGES_TYPE, 0)), -) - -DESCRIBE_SECRET_OUTPUT: StaticSchema = ( - 18, - n0, - _DSOe, - {_sSI: _cDSRoma, _smi: None}, - ( - _ARN, - _N, - _Ty, - _D, - _KKI, - _RE, - _RLARN, - _RR, - _ESRM, - _ESRRA, - _LRD, - _LCD, - _LAD, - _DDe, - _NRD, - _Ta, - _VITS, - _OS, - _CD, - _PR, - _RS, - ), - ( - (SECRET_ARN_TYPE, 0), - (SECRET_NAME_TYPE, 0), - (MEDEA_TYPE_TYPE, 0), - (DESCRIPTION_TYPE, 0), - (KMS_KEY_ID_TYPE, 0), - (ROTATION_ENABLED_TYPE, {_smith: None}), - (ROTATION_LAMBDA_ARN_TYPE, 0), - (ROTATION_RULES_TYPE, 0), - (EXTERNAL_SECRET_ROTATION_METADATA_TYPE, 0), - (ROLE_ARN_TYPE, 0), - (LAST_ROTATED_DATE_TYPE, 0), - (LAST_CHANGED_DATE_TYPE, 0), - (LAST_ACCESSED_DATE_TYPE, 0), - (DELETED_DATE_TYPE, 0), - (NEXT_ROTATION_DATE_TYPE, 0), - (TAG_LIST_TYPE, 0), - (SECRET_VERSIONS_TO_STAGES_MAP_TYPE, 0), - (OWNING_SERVICE_TYPE, 0), - (TIMESTAMP_TYPE, 0), - (REGION_TYPE, 0), - (REPLICATION_STATUS_LIST_TYPE, 0), - ), -) - -DESCRIBE_SECRET: StaticOperationSchema = ( - 23, - n0, - _DSe, - 0, - DESCRIBE_SECRET_INPUT, - DESCRIBE_SECRET_OUTPUT, - (INTERNAL_SERVICE_ERROR, INVALID_PARAMETER_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION), -) - -EXCLUDE_CHARACTERS_TYPE: StaticSchema = (3, n0, _ECT, 0) - -EXCLUDE_LOWERCASE_TYPE: StaticSchema = (2, n0, _ELT, {_smith: False}) - -EXCLUDE_NUMBERS_TYPE: StaticSchema = (2, n0, _ENT, {_smith: False}) - -EXCLUDE_PUNCTUATION_TYPE: StaticSchema = (2, n0, _EPT, {_smith: False}) - -EXCLUDE_UPPERCASE_TYPE: StaticSchema = (2, n0, _EUT, {_smith: False}) - -INCLUDE_SPACE_TYPE: StaticSchema = (2, n0, _IST, {_smith: False}) - -PASSWORD_LENGTH_TYPE: StaticSchema = (8, n0, _PLT, 0) - -REQUIRE_EACH_INCLUDED_TYPE_TYPE: StaticSchema = (2, n0, _REITT, {_smith: False}) - -GET_RANDOM_PASSWORD_INPUT: StaticSchema = ( - 18, - n0, - _GRPI, - {_sSI: _cGRPR, _s: None}, - (_PL, _ECx, _EN, _EP, _EU, _EL, _ISn, _REIT), - ( - (PASSWORD_LENGTH_TYPE, 0), - (EXCLUDE_CHARACTERS_TYPE, 0), - (EXCLUDE_NUMBERS_TYPE, {_smith: None}), - (EXCLUDE_PUNCTUATION_TYPE, {_smith: None}), - (EXCLUDE_UPPERCASE_TYPE, {_smith: None}), - (EXCLUDE_LOWERCASE_TYPE, {_smith: None}), - (INCLUDE_SPACE_TYPE, {_smith: None}), - (REQUIRE_EACH_INCLUDED_TYPE_TYPE, {_smith: None}), - ), -) - -RANDOM_PASSWORD_TYPE: StaticSchema = (3, n0, _RPT, 4) - -GET_RANDOM_PASSWORD_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_sSI: _cGRPRo, _smi: None}, - (_RP,), - ((RANDOM_PASSWORD_TYPE, 0),), -) - -GET_RANDOM_PASSWORD: StaticOperationSchema = ( - 23, - n0, - _GRP, - 0, - GET_RANDOM_PASSWORD_INPUT, - GET_RANDOM_PASSWORD_OUTPUT, - (INTERNAL_SERVICE_ERROR, INVALID_PARAMETER_EXCEPTION, INVALID_REQUEST_EXCEPTION), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GRPIe, - {_sSI: _cGRPRom, _s: None}, - (_SI,), - ((SECRET_ID_TYPE, 1),), -) - -NON_EMPTY_RESOURCE_POLICY_TYPE: StaticSchema = (3, n0, _NERPT, 0) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPOe, - {_sSI: _cGRPRoma, _smi: None}, - (_ARN, _N, _RPe), - ((SECRET_ARN_TYPE, 0), (NAME_TYPE, 0), (NON_EMPTY_RESOURCE_POLICY_TYPE, 0)), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRPe, - 0, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -GET_SECRET_VALUE_INPUT: StaticSchema = ( - 18, - n0, - _GSVI, - {_sSI: _cGSVR, _s: None}, - (_SI, _VI, _VSe), - ((SECRET_ID_TYPE, 1), (SECRET_VERSION_ID_TYPE, 0), (SECRET_VERSION_STAGE_TYPE, 0)), -) - -GET_SECRET_VALUE_OUTPUT: StaticSchema = ( - 18, - n0, - _GSVO, - {_sSI: _cGSVRo, _smi: None}, - (_ARN, _N, _VI, _SB, _SS, _VS, _CD), - ( - (SECRET_ARN_TYPE, 0), - (SECRET_NAME_TYPE, 0), - (SECRET_VERSION_ID_TYPE, 0), - (SECRET_BINARY_TYPE, 0), - (SECRET_STRING_TYPE, 0), - (SECRET_VERSION_STAGES_TYPE, 0), - (CREATED_DATE_TYPE, 0), - ), -) - -GET_SECRET_VALUE: StaticOperationSchema = ( - 23, - n0, - _GSV, - 0, - GET_SECRET_VALUE_INPUT, - GET_SECRET_VALUE_OUTPUT, - ( - DECRYPTION_FAILURE, - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -KMS_KEY_ID_LIST_TYPE: StaticSchema = (16, n0, _KKILT, 0, (_m,), ((KMS_KEY_ID_TYPE, 0),)) - -MAX_RESULTS_TYPE: StaticSchema = (7, n0, _MRT, 0) - -SORT_BY_TYPE: StaticSchema = ( - 14, - n0, - _SBTo, - 0, - (_cd, _lad, _lcd, _n), - ((-1, {_sV: _cd_}), (-1, {_sV: _lad_}), (-1, {_sV: _lcd_}), (-1, {_sV: _n})), -) - -SORT_ORDER_TYPE: StaticSchema = ( - 14, - n0, - _SOT, - 0, - (_as, _de), - ((-1, {_sV: _as}), (-1, {_sV: _de})), -) - -LIST_SECRETS_INPUT: StaticSchema = ( - 18, - n0, - _LSI, - {_sSI: _cLSR, _s: None}, - (_IPD, _MR, _NT, _Fi, _SO, _SBo), - ( - (BOOLEAN_TYPE, {_smith: None}), - (MAX_RESULTS_TYPE, 0), - (NEXT_TOKEN_TYPE, 0), - (FILTERS_LIST_TYPE, 0), - (SORT_ORDER_TYPE, 0), - (SORT_BY_TYPE, 0), - ), -) - -SECRET_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _SLE, - 0, - ( - _ARN, - _N, - _Ty, - _D, - _KKI, - _RE, - _RLARN, - _RR, - _ESRM, - _ESRRA, - _LRD, - _LCD, - _LAD, - _DDe, - _NRD, - _Ta, - _SVTS, - _OS, - _CD, - _PR, - ), - ( - (SECRET_ARN_TYPE, 0), - (SECRET_NAME_TYPE, 0), - (MEDEA_TYPE_TYPE, 0), - (DESCRIPTION_TYPE, 0), - (KMS_KEY_ID_TYPE, 0), - (ROTATION_ENABLED_TYPE, {_smith: None}), - (ROTATION_LAMBDA_ARN_TYPE, 0), - (ROTATION_RULES_TYPE, 0), - (EXTERNAL_SECRET_ROTATION_METADATA_TYPE, 0), - (ROLE_ARN_TYPE, 0), - (LAST_ROTATED_DATE_TYPE, 0), - (LAST_CHANGED_DATE_TYPE, 0), - (LAST_ACCESSED_DATE_TYPE, 0), - (DELETED_DATE_TYPE, 0), - (NEXT_ROTATION_DATE_TYPE, 0), - (TAG_LIST_TYPE, 0), - (SECRET_VERSIONS_TO_STAGES_MAP_TYPE, 0), - (OWNING_SERVICE_TYPE, 0), - (TIMESTAMP_TYPE, 0), - (REGION_TYPE, 0), - ), -) - -SECRET_LIST_TYPE: StaticSchema = (16, n0, _SLT, 0, (_m,), ((SECRET_LIST_ENTRY, 0),)) - -LIST_SECRETS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_sSI: _cLSRo, _smi: None}, - (_SL, _NT), - ((SECRET_LIST_TYPE, 0), (NEXT_TOKEN_TYPE, 0)), -) - -LIST_SECRETS: StaticOperationSchema = ( - 23, - n0, - _LS, - 0, - LIST_SECRETS_INPUT, - LIST_SECRETS_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_NEXT_TOKEN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - ), -) - -LIST_SECRET_VERSION_IDS_INPUT: StaticSchema = ( - 18, - n0, - _LSVII, - {_sSI: _cLSVIR, _s: None}, - (_SI, _MR, _NT, _ID), - ( - (SECRET_ID_TYPE, 1), - (MAX_RESULTS_TYPE, 0), - (NEXT_TOKEN_TYPE, 0), - (BOOLEAN_TYPE, {_smith: None}), - ), -) - -SECRET_VERSIONS_LIST_ENTRY: StaticSchema = ( - 18, - n0, - _SVLE, - 0, - (_VI, _VS, _LAD, _CD, _KKIm), - ( - (SECRET_VERSION_ID_TYPE, 0), - (SECRET_VERSION_STAGES_TYPE, 0), - (LAST_ACCESSED_DATE_TYPE, 0), - (CREATED_DATE_TYPE, 0), - (KMS_KEY_ID_LIST_TYPE, 0), - ), -) - -SECRET_VERSIONS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _SVLT, - 0, - (_m,), - ((SECRET_VERSIONS_LIST_ENTRY, 0),), -) - -LIST_SECRET_VERSION_IDS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSVIO, - {_sSI: _cLSVIRo, _smi: None}, - (_Ve, _NT, _ARN, _N), - ( - (SECRET_VERSIONS_LIST_TYPE, 0), - (NEXT_TOKEN_TYPE, 0), - (SECRET_ARN_TYPE, 0), - (SECRET_NAME_TYPE, 0), - ), -) - -LIST_SECRET_VERSION_IDS: StaticOperationSchema = ( - 23, - n0, - _LSVI, - 0, - LIST_SECRET_VERSION_IDS_INPUT, - LIST_SECRET_VERSION_IDS_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_NEXT_TOKEN_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -PUBLIC_POLICY_EXCEPTION: StaticSchema = ( - 18, - n0, - _PPE, - {_smit: _c}, - (_M,), - ((ERROR_MESSAGE, 0),), -) - -PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PRPI, - {_sSI: _cPRPR, _s: None}, - (_SI, _RPe, _BPP), - ( - (SECRET_ID_TYPE, 1), - (NON_EMPTY_RESOURCE_POLICY_TYPE, 1), - (BOOLEAN_TYPE, {_smith: None}), - ), -) - -PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPO, - {_sSI: _cPRPRo, _smi: None}, - (_ARN, _N), - ((SECRET_ARN_TYPE, 0), (NAME_TYPE, 0)), -) - -PUT_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _PRP, - 0, - PUT_RESOURCE_POLICY_INPUT, - PUT_RESOURCE_POLICY_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - PUBLIC_POLICY_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -ROTATION_TOKEN_TYPE: StaticSchema = (3, n0, _RTT, 4) - -PUT_SECRET_VALUE_INPUT: StaticSchema = ( - 18, - n0, - _PSVI, - {_sSI: _cPSVR, _s: None}, - (_SI, _CRT, _SB, _SS, _VS, _RTo), - ( - (SECRET_ID_TYPE, 1), - (CLIENT_REQUEST_TOKEN_TYPE, 2), - (SECRET_BINARY_TYPE, 0), - (SECRET_STRING_TYPE, 0), - (SECRET_VERSION_STAGES_TYPE, 0), - (ROTATION_TOKEN_TYPE, 0), - ), -) - -PUT_SECRET_VALUE_OUTPUT: StaticSchema = ( - 18, - n0, - _PSVO, - {_sSI: _cPSVRo, _smi: None}, - (_ARN, _N, _VI, _VS), - ( - (SECRET_ARN_TYPE, 0), - (SECRET_NAME_TYPE, 0), - (SECRET_VERSION_ID_TYPE, 0), - (SECRET_VERSION_STAGES_TYPE, 0), - ), -) - -PUT_SECRET_VALUE: StaticOperationSchema = ( - 23, - n0, - _PSV, - 0, - PUT_SECRET_VALUE_INPUT, - PUT_SECRET_VALUE_OUTPUT, - ( - DECRYPTION_FAILURE, - ENCRYPTION_FAILURE, - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_EXISTS_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -REMOVE_REPLICA_REGION_LIST_TYPE: StaticSchema = ( - 16, - n0, - _RRRLT, - 0, - (_m,), - ((REGION_TYPE, 0),), -) - -REMOVE_REGIONS_FROM_REPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _RRFRI, - {_sSI: _cRRFRR, _s: None}, - (_SI, _RRR), - ((SECRET_ID_TYPE, 1), (REMOVE_REPLICA_REGION_LIST_TYPE, 1)), -) - -REMOVE_REGIONS_FROM_REPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _RRFRO, - {_sSI: _cRRFRRo, _smi: None}, - (_ARN, _RS), - ((SECRET_ARN_TYPE, 0), (REPLICATION_STATUS_LIST_TYPE, 0)), -) - -REMOVE_REGIONS_FROM_REPLICATION: StaticOperationSchema = ( - 23, - n0, - _RRFR, - 0, - REMOVE_REGIONS_FROM_REPLICATION_INPUT, - REMOVE_REGIONS_FROM_REPLICATION_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -REPLICATE_SECRET_TO_REGIONS_INPUT: StaticSchema = ( - 18, - n0, - _RSTRI, - {_sSI: _cRSTRR, _s: None}, - (_SI, _ARR, _FORS), - ( - (SECRET_ID_TYPE, 1), - (ADD_REPLICA_REGION_LIST_TYPE, 1), - (BOOLEAN_TYPE, {_smith: False}), - ), -) - -REPLICATE_SECRET_TO_REGIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _RSTRO, - {_sSI: _cRSTRRo, _smi: None}, - (_ARN, _RS), - ((SECRET_ARN_TYPE, 0), (REPLICATION_STATUS_LIST_TYPE, 0)), -) - -REPLICATE_SECRET_TO_REGIONS: StaticOperationSchema = ( - 23, - n0, - _RSTR, - 0, - REPLICATE_SECRET_TO_REGIONS_INPUT, - REPLICATE_SECRET_TO_REGIONS_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -RESTORE_SECRET_INPUT: StaticSchema = ( - 18, - n0, - _RSI, - {_sSI: _cRSR, _s: None}, - (_SI,), - ((SECRET_ID_TYPE, 1),), -) - -RESTORE_SECRET_OUTPUT: StaticSchema = ( - 18, - n0, - _RSO, - {_sSI: _cRSRo, _smi: None}, - (_ARN, _N), - ((SECRET_ARN_TYPE, 0), (SECRET_NAME_TYPE, 0)), -) - -RESTORE_SECRET: StaticOperationSchema = ( - 23, - n0, - _RSe, - 0, - RESTORE_SECRET_INPUT, - RESTORE_SECRET_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -ROTATE_SECRET_INPUT: StaticSchema = ( - 18, - n0, - _RSIo, - {_sSI: _cRSRom, _s: None}, - (_SI, _CRT, _RLARN, _RR, _ESRM, _ESRRA, _RI), - ( - (SECRET_ID_TYPE, 1), - (CLIENT_REQUEST_TOKEN_TYPE, 2), - (ROTATION_LAMBDA_ARN_TYPE, 0), - (ROTATION_RULES_TYPE, 0), - (EXTERNAL_SECRET_ROTATION_METADATA_TYPE, 0), - (ROLE_ARN_TYPE, 0), - (BOOLEAN_TYPE, {_smith: None}), - ), -) - -ROTATE_SECRET_OUTPUT: StaticSchema = ( - 18, - n0, - _RSOo, - {_sSI: _cRSRoma, _smi: None}, - (_ARN, _N, _VI), - ((SECRET_ARN_TYPE, 0), (SECRET_NAME_TYPE, 0), (SECRET_VERSION_ID_TYPE, 0)), -) - -ROTATE_SECRET: StaticOperationSchema = ( - 23, - n0, - _RSo, - 0, - ROTATE_SECRET_INPUT, - ROTATE_SECRET_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -STOP_REPLICATION_TO_REPLICA_INPUT: StaticSchema = ( - 18, - n0, - _SRTRI, - {_sSI: _cSRTRR, _s: None}, - (_SI,), - ((SECRET_ID_TYPE, 1),), -) - -STOP_REPLICATION_TO_REPLICA_OUTPUT: StaticSchema = ( - 18, - n0, - _SRTRO, - {_sSI: _cSRTRRo, _smi: None}, - (_ARN,), - ((SECRET_ARN_TYPE, 0),), -) - -STOP_REPLICATION_TO_REPLICA: StaticOperationSchema = ( - 23, - n0, - _SRTR, - 0, - STOP_REPLICATION_TO_REPLICA_INPUT, - STOP_REPLICATION_TO_REPLICA_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _s: None}, - (_SI, _Ta), - ((SECRET_ID_TYPE, 1), (TAG_LIST_TYPE, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smi: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - 0, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -TAG_KEY_LIST_TYPE: StaticSchema = (16, n0, _TKLT, 0, (_m,), ((TAG_KEY_TYPE, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _s: None}, - (_SI, _TK), - ((SECRET_ID_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smi: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - 0, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_SECRET_INPUT: StaticSchema = ( - 18, - n0, - _USI, - {_sSI: _cUSR, _s: None}, - (_SI, _CRT, _D, _KKI, _SB, _SS, _Ty), - ( - (SECRET_ID_TYPE, 1), - (CLIENT_REQUEST_TOKEN_TYPE, 2), - (DESCRIPTION_TYPE, 0), - (KMS_KEY_ID_TYPE, 0), - (SECRET_BINARY_TYPE, 0), - (SECRET_STRING_TYPE, 0), - (MEDEA_TYPE_TYPE, 0), - ), -) - -UPDATE_SECRET_OUTPUT: StaticSchema = ( - 18, - n0, - _USO, - {_sSI: _cUSRo, _smi: None}, - (_ARN, _N, _VI), - ((SECRET_ARN_TYPE, 0), (SECRET_NAME_TYPE, 0), (SECRET_VERSION_ID_TYPE, 0)), -) - -UPDATE_SECRET: StaticOperationSchema = ( - 23, - n0, - _US, - 0, - UPDATE_SECRET_INPUT, - UPDATE_SECRET_OUTPUT, - ( - DECRYPTION_FAILURE, - ENCRYPTION_FAILURE, - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - PRECONDITION_NOT_MET_EXCEPTION, - RESOURCE_EXISTS_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -UPDATE_SECRET_VERSION_STAGE_INPUT: StaticSchema = ( - 18, - n0, - _USVSI, - {_sSI: _cUSVSR, _s: None}, - (_SI, _VSe, _RFVI, _MTVI), - ( - (SECRET_ID_TYPE, 1), - (SECRET_VERSION_STAGE_TYPE, 1), - (SECRET_VERSION_ID_TYPE, 0), - (SECRET_VERSION_ID_TYPE, 0), - ), -) - -UPDATE_SECRET_VERSION_STAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _USVSO, - {_sSI: _cUSVSRo, _smi: None}, - (_ARN, _N), - ((SECRET_ARN_TYPE, 0), (SECRET_NAME_TYPE, 0)), -) - -UPDATE_SECRET_VERSION_STAGE: StaticOperationSchema = ( - 23, - n0, - _USVS, - 0, - UPDATE_SECRET_VERSION_STAGE_INPUT, - UPDATE_SECRET_VERSION_STAGE_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -VALIDATE_RESOURCE_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _VRPI, - {_sSI: _cVRPR, _s: None}, - (_SI, _RPe), - ((SECRET_ID_TYPE, 0), (NON_EMPTY_RESOURCE_POLICY_TYPE, 1)), -) - -VALIDATION_ERRORS_ENTRY: StaticSchema = ( - 18, - n0, - _VEE, - 0, - (_CN, _EM), - ((NAME_TYPE, 0), (ERROR_MESSAGE, 0)), -) - -VALIDATION_ERRORS_TYPE: StaticSchema = ( - 16, - n0, - _VET, - 0, - (_m,), - ((VALIDATION_ERRORS_ENTRY, 0),), -) - -VALIDATE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _VRPO, - {_sSI: _cVRPRo, _smi: None}, - (_PVP, _VE), - ((BOOLEAN_TYPE, {_smith: False}), (VALIDATION_ERRORS_TYPE, 0)), -) - -VALIDATE_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _VRP, - 0, - VALIDATE_RESOURCE_POLICY_INPUT, - VALIDATE_RESOURCE_POLICY_OUTPUT, - ( - INTERNAL_SERVICE_ERROR, - INVALID_PARAMETER_EXCEPTION, - INVALID_REQUEST_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -SECRETSMANAGER: StaticSchema = ( - 21, - n0, - _sec, - { - _aw: MappingProxyType({"name": "secretsmanager"}), - _a_: None, - _aws: MappingProxyType( - { - "sdkId": "Secrets Manager", - "arnNamespace": "secretsmanager", - "cloudFormationName": "SecretsManager", - "cloudTrailEventSource": "secretsmanager.amazonaws.com", - "docId": "secretsmanager-2017-10-17", - "endpointPrefix": "secretsmanager", - } - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "KMS_KEY_ID_TYPE", + "REGION_TYPE", + "REPLICA_REGION_TYPE", + "ADD_REPLICA_REGION_LIST_TYPE", + "ERROR_CODE", + "ERROR_MESSAGE", + "SECRET_ID_TYPE", + "API_ERROR_TYPE", + "API_ERROR_LIST_TYPE", + "AUTOMATICALLY_ROTATE_AFTER_DAYS_TYPE", + "FILTER_NAME_STRING_TYPE", + "FILTER_VALUE_STRING_TYPE", + "FILTER_VALUES_STRING_LIST", + "FILTER", + "FILTERS_LIST_TYPE", + "MAX_RESULTS_BATCH_TYPE", + "NEXT_TOKEN_TYPE", + "SECRET_ID_LIST_TYPE", + "BATCH_GET_SECRET_VALUE_INPUT", + "BATCH_GET_SECRET_VALUE_OUTPUT", + "BATCH_GET_SECRET_VALUE", + "SECRET_ARN_TYPE", + "CREATED_DATE_TYPE", + "SECRET_NAME_TYPE", + "SECRET_BINARY_TYPE", + "SECRET_STRING_TYPE", + "SECRET_VERSION_ID_TYPE", + "SECRET_VERSION_STAGE_TYPE", + "SECRET_VERSION_STAGES_TYPE", + "SECRET_VALUE_ENTRY", + "SECRET_VALUES_TYPE", + "DECRYPTION_FAILURE", + "INTERNAL_SERVICE_ERROR", + "INVALID_NEXT_TOKEN_EXCEPTION", + "INVALID_PARAMETER_EXCEPTION", + "INVALID_REQUEST_EXCEPTION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "BOOLEAN_TYPE", + "CANCEL_ROTATE_SECRET_INPUT", + "CANCEL_ROTATE_SECRET_OUTPUT", + "CANCEL_ROTATE_SECRET", + "CLIENT_REQUEST_TOKEN_TYPE", + "DESCRIPTION_TYPE", + "NAME_TYPE", + "TAG_KEY_TYPE", + "TAG_VALUE_TYPE", + "TAG", + "TAG_LIST_TYPE", + "MEDEA_TYPE_TYPE", + "CREATE_SECRET_INPUT", + "CREATE_SECRET_OUTPUT", + "CREATE_SECRET", + "LAST_ACCESSED_DATE_TYPE", + "STATUS_TYPE", + "STATUS_MESSAGE_TYPE", + "REPLICATION_STATUS_TYPE", + "REPLICATION_STATUS_LIST_TYPE", + "ENCRYPTION_FAILURE", + "LIMIT_EXCEEDED_EXCEPTION", + "MALFORMED_POLICY_DOCUMENT_EXCEPTION", + "PRECONDITION_NOT_MET_EXCEPTION", + "RESOURCE_EXISTS_EXCEPTION", + "DELETED_DATE_TYPE", + "DELETE_RESOURCE_POLICY_INPUT", + "DELETE_RESOURCE_POLICY_OUTPUT", + "DELETE_RESOURCE_POLICY", + "RECOVERY_WINDOW_IN_DAYS_TYPE", + "DELETE_SECRET_INPUT", + "DELETE_SECRET_OUTPUT", + "DELETE_SECRET", + "DELETION_DATE_TYPE", + "DESCRIBE_SECRET_INPUT", + "DESCRIBE_SECRET_OUTPUT", + "DESCRIBE_SECRET", + "TIMESTAMP_TYPE", + "EXTERNAL_SECRET_ROTATION_METADATA_ITEM_KEY_TYPE", + "EXTERNAL_SECRET_ROTATION_METADATA_ITEM_VALUE_TYPE", + "EXTERNAL_SECRET_ROTATION_METADATA_ITEM", + "EXTERNAL_SECRET_ROTATION_METADATA_TYPE", + "ROLE_ARN_TYPE", + "LAST_CHANGED_DATE_TYPE", + "LAST_ROTATED_DATE_TYPE", + "NEXT_ROTATION_DATE_TYPE", + "OWNING_SERVICE_TYPE", + "ROTATION_ENABLED_TYPE", + "ROTATION_LAMBDA_ARN_TYPE", + "DURATION_TYPE", + "SCHEDULE_EXPRESSION_TYPE", + "ROTATION_RULES_TYPE", + "SECRET_VERSIONS_TO_STAGES_MAP_TYPE", + "EXCLUDE_CHARACTERS_TYPE", + "EXCLUDE_LOWERCASE_TYPE", + "EXCLUDE_NUMBERS_TYPE", + "EXCLUDE_PUNCTUATION_TYPE", + "EXCLUDE_UPPERCASE_TYPE", + "INCLUDE_SPACE_TYPE", + "PASSWORD_LENGTH_TYPE", + "REQUIRE_EACH_INCLUDED_TYPE_TYPE", + ), + ( + "GET_RANDOM_PASSWORD_INPUT", + "GET_RANDOM_PASSWORD_OUTPUT", + "GET_RANDOM_PASSWORD", + "RANDOM_PASSWORD_TYPE", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + "NON_EMPTY_RESOURCE_POLICY_TYPE", + "GET_SECRET_VALUE_INPUT", + "GET_SECRET_VALUE_OUTPUT", + "GET_SECRET_VALUE", + "KMS_KEY_ID_LIST_TYPE", + "MAX_RESULTS_TYPE", + "SORT_BY_TYPE", + "SORT_ORDER_TYPE", + "LIST_SECRETS_INPUT", + "LIST_SECRETS_OUTPUT", + "LIST_SECRETS", + "SECRET_LIST_ENTRY", + "SECRET_LIST_TYPE", + "LIST_SECRET_VERSION_IDS_INPUT", + "LIST_SECRET_VERSION_IDS_OUTPUT", + "LIST_SECRET_VERSION_IDS", + "SECRET_VERSIONS_LIST_ENTRY", + "SECRET_VERSIONS_LIST_TYPE", + "PUBLIC_POLICY_EXCEPTION", + "PUT_RESOURCE_POLICY_INPUT", + "PUT_RESOURCE_POLICY_OUTPUT", + "PUT_RESOURCE_POLICY", + "ROTATION_TOKEN_TYPE", + "PUT_SECRET_VALUE_INPUT", + "PUT_SECRET_VALUE_OUTPUT", + "PUT_SECRET_VALUE", + "REMOVE_REPLICA_REGION_LIST_TYPE", + "REMOVE_REGIONS_FROM_REPLICATION_INPUT", + "REMOVE_REGIONS_FROM_REPLICATION_OUTPUT", + "REMOVE_REGIONS_FROM_REPLICATION", + "REPLICATE_SECRET_TO_REGIONS_INPUT", + "REPLICATE_SECRET_TO_REGIONS_OUTPUT", + "REPLICATE_SECRET_TO_REGIONS", + "RESTORE_SECRET_INPUT", + "RESTORE_SECRET_OUTPUT", + "RESTORE_SECRET", + "ROTATE_SECRET_INPUT", + "ROTATE_SECRET_OUTPUT", + "ROTATE_SECRET", + "STOP_REPLICATION_TO_REPLICA_INPUT", + "STOP_REPLICATION_TO_REPLICA_OUTPUT", + "STOP_REPLICATION_TO_REPLICA", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "TAG_KEY_LIST_TYPE", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "UPDATE_SECRET_INPUT", + "UPDATE_SECRET_OUTPUT", + "UPDATE_SECRET", + "UPDATE_SECRET_VERSION_STAGE_INPUT", + "UPDATE_SECRET_VERSION_STAGE_OUTPUT", + "UPDATE_SECRET_VERSION_STAGE", + "VALIDATE_RESOURCE_POLICY_INPUT", + "VALIDATE_RESOURCE_POLICY_OUTPUT", + "VALIDATE_RESOURCE_POLICY", + "VALIDATION_ERRORS_ENTRY", + "VALIDATION_ERRORS_TYPE", + "SECRETSMANAGER", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas_0.py b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas_0.py new file mode 100644 index 000000000..6f715e456 --- /dev/null +++ b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas_0.py @@ -0,0 +1,833 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.secretsmanager" +_KKIT = "KmsKeyIdType" +_RT = "RegionType" +_RRT = "ReplicaRegionType" +_R = "Region" +_KKI = "KmsKeyId" +_ARRLT = "AddReplicaRegionListType" +_m = "member" +_EC = "ErrorCode" +_EM = "ErrorMessage" +_SIT = "SecretIdType" +_APIET = "APIErrorType" +_SI = "SecretId" +_M = "Message" +_APIELT = "APIErrorListType" +_ARADT = "AutomaticallyRotateAfterDaysType" +_FNST = "FilterNameStringType" +_d = "description" +_sV = "smithy.api#enumValue" +_n = "name" +_tk = "tag_key" +_tk_ = "tag-key" +_tv = "tag_value" +_tv_ = "tag-value" +_pr = "primary_region" +_pr_ = "primary-region" +_os = "owning_service" +_os_ = "owning-service" +_a = "all" +_FVST = "FilterValueStringType" +_FVSL = "FilterValuesStringList" +_F = "Filter" +_K = "Key" +_V = "Values" +_FLT = "FiltersListType" +_MRBT = "MaxResultsBatchType" +_NTT = "NextTokenType" +_SILT = "SecretIdListType" +_BGSVI = "BatchGetSecretValueInput" +_sSI = "smithy.synthetic#originalShapeId" +_cBGSVR = "com.amazonaws.secretsmanager#BatchGetSecretValueRequest" +_s = "smithy.api#input" +_SIL = "SecretIdList" +_Fi = "Filters" +_MR = "MaxResults" +_NT = "NextToken" +_SARNT = "SecretARNType" +_CDT = "CreatedDateType" +_SNT = "SecretNameType" +_SBT = "SecretBinaryType" +_sm = "smithy.api#sensitive" +_SST = "SecretStringType" +_SVIT = "SecretVersionIdType" +_SVST = "SecretVersionStageType" +_SVSTe = "SecretVersionStagesType" +_SVE = "SecretValueEntry" +_ARN = "ARN" +_N = "Name" +_VI = "VersionId" +_SB = "SecretBinary" +_SS = "SecretString" +_VS = "VersionStages" +_CD = "CreatedDate" +_SVT = "SecretValuesType" +_BGSVO = "BatchGetSecretValueOutput" +_cBGSVRo = "com.amazonaws.secretsmanager#BatchGetSecretValueResponse" +_smi = "smithy.api#output" +_SV = "SecretValues" +_E = "Errors" +_DF = "DecryptionFailure" +_smit = "smithy.api#error" +_c = "client" +_ISE = "InternalServiceError" +_se = "server" +_INTE = "InvalidNextTokenException" +_IPE = "InvalidParameterException" +_IRE = "InvalidRequestException" +_RNFE = "ResourceNotFoundException" +_BGSV = "BatchGetSecretValue" +_BT = "BooleanType" +_smith = "smithy.api#default" +_CRSI = "CancelRotateSecretInput" +_cCRSR = "com.amazonaws.secretsmanager#CancelRotateSecretRequest" +_smithy = "smithy.api#required" +_CRSO = "CancelRotateSecretOutput" +_cCRSRo = "com.amazonaws.secretsmanager#CancelRotateSecretResponse" +_CRS = "CancelRotateSecret" +_CRTT = "ClientRequestTokenType" +_DT = "DescriptionType" +_NTa = "NameType" +_TKT = "TagKeyType" +_TVT = "TagValueType" +_T = "Tag" +_Va = "Value" +_TLT = "TagListType" +_MTT = "MedeaTypeType" +_CSI = "CreateSecretInput" +_cCSR = "com.amazonaws.secretsmanager#CreateSecretRequest" +_CRT = "ClientRequestToken" +_sT = "smithy.api#idempotencyToken" +_D = "Description" +_Ta = "Tags" +_ARR = "AddReplicaRegions" +_FORS = "ForceOverwriteReplicaSecret" +_Ty = "Type" +_LADT = "LastAccessedDateType" +_ST = "StatusType" +_IS = "InSync" +_Fa = "Failed" +_IP = "InProgress" +_SMT = "StatusMessageType" +_RST = "ReplicationStatusType" +_S = "Status" +_SM = "StatusMessage" +_LAD = "LastAccessedDate" +_RSLT = "ReplicationStatusListType" +_CSO = "CreateSecretOutput" +_cCSRo = "com.amazonaws.secretsmanager#CreateSecretResponse" +_RS = "ReplicationStatus" +_EF = "EncryptionFailure" +_LEE = "LimitExceededException" +_MPDE = "MalformedPolicyDocumentException" +_PNME = "PreconditionNotMetException" +_REE = "ResourceExistsException" +_CS = "CreateSecret" +_DDT = "DeletedDateType" +_DRPI = "DeleteResourcePolicyInput" +_cDRPR = "com.amazonaws.secretsmanager#DeleteResourcePolicyRequest" +_DRPO = "DeleteResourcePolicyOutput" +_cDRPRo = "com.amazonaws.secretsmanager#DeleteResourcePolicyResponse" +_DRP = "DeleteResourcePolicy" +_RWIDT = "RecoveryWindowInDaysType" +_DSI = "DeleteSecretInput" +_cDSR = "com.amazonaws.secretsmanager#DeleteSecretRequest" +_RWID = "RecoveryWindowInDays" +_FDWR = "ForceDeleteWithoutRecovery" +_DDTe = "DeletionDateType" +_DSO = "DeleteSecretOutput" +_cDSRo = "com.amazonaws.secretsmanager#DeleteSecretResponse" +_DD = "DeletionDate" +_DS = "DeleteSecret" +_DSIe = "DescribeSecretInput" +_cDSRom = "com.amazonaws.secretsmanager#DescribeSecretRequest" +_TT = "TimestampType" +_ESRMIKT = "ExternalSecretRotationMetadataItemKeyType" +_ESRMIVT = "ExternalSecretRotationMetadataItemValueType" +_ESRMI = "ExternalSecretRotationMetadataItem" +_ESRMT = "ExternalSecretRotationMetadataType" +_RARNT = "RoleARNType" +_LCDT = "LastChangedDateType" +_LRDT = "LastRotatedDateType" +_NRDT = "NextRotationDateType" +_OST = "OwningServiceType" +_RET = "RotationEnabledType" +_RLARNT = "RotationLambdaARNType" +_DTu = "DurationType" +_SET = "ScheduleExpressionType" +_RRTo = "RotationRulesType" +_AAD = "AutomaticallyAfterDays" +_Du = "Duration" +_SE = "ScheduleExpression" +_SVTSMT = "SecretVersionsToStagesMapType" +_k = "key" +_v = "value" +_DSOe = "DescribeSecretOutput" +_cDSRoma = "com.amazonaws.secretsmanager#DescribeSecretResponse" +_RE = "RotationEnabled" +_RLARN = "RotationLambdaARN" +_RR = "RotationRules" +_ESRM = "ExternalSecretRotationMetadata" +_ESRRA = "ExternalSecretRotationRoleArn" +_LRD = "LastRotatedDate" +_LCD = "LastChangedDate" +_DDe = "DeletedDate" +_NRD = "NextRotationDate" +_VITS = "VersionIdsToStages" +_OS = "OwningService" +_PR = "PrimaryRegion" +_DSe = "DescribeSecret" +_ECT = "ExcludeCharactersType" +_ELT = "ExcludeLowercaseType" +_ENT = "ExcludeNumbersType" +_EPT = "ExcludePunctuationType" +_EUT = "ExcludeUppercaseType" +_IST = "IncludeSpaceType" +_PLT = "PasswordLengthType" +_REITT = "RequireEachIncludedTypeType" + +KMS_KEY_ID_TYPE: StaticSchema = (3, n0, _KKIT, 0) + +REGION_TYPE: StaticSchema = (3, n0, _RT, 0) + +REPLICA_REGION_TYPE: StaticSchema = ( + 18, + n0, + _RRT, + 0, + (_R, _KKI), + ((REGION_TYPE, 0), (KMS_KEY_ID_TYPE, 0)), +) + +ADD_REPLICA_REGION_LIST_TYPE: StaticSchema = ( + 16, + n0, + _ARRLT, + 0, + (_m,), + ((REPLICA_REGION_TYPE, 0),), +) + +ERROR_CODE: StaticSchema = (3, n0, _EC, 0) + +ERROR_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +SECRET_ID_TYPE: StaticSchema = (3, n0, _SIT, 0) + +API_ERROR_TYPE: StaticSchema = ( + 18, + n0, + _APIET, + 0, + (_SI, _EC, _M), + ((SECRET_ID_TYPE, 0), (ERROR_CODE, 0), (ERROR_MESSAGE, 0)), +) + +API_ERROR_LIST_TYPE: StaticSchema = (16, n0, _APIELT, 0, (_m,), ((API_ERROR_TYPE, 0),)) + +AUTOMATICALLY_ROTATE_AFTER_DAYS_TYPE: StaticSchema = (8, n0, _ARADT, 0) + +FILTER_NAME_STRING_TYPE: StaticSchema = ( + 14, + n0, + _FNST, + 0, + (_d, _n, _tk, _tv, _pr, _os, _a), + ( + (-1, {_sV: _d}), + (-1, {_sV: _n}), + (-1, {_sV: _tk_}), + (-1, {_sV: _tv_}), + (-1, {_sV: _pr_}), + (-1, {_sV: _os_}), + (-1, {_sV: _a}), + ), +) + +FILTER_VALUE_STRING_TYPE: StaticSchema = (3, n0, _FVST, 0) + +FILTER_VALUES_STRING_LIST: StaticSchema = ( + 16, + n0, + _FVSL, + 0, + (_m,), + ((FILTER_VALUE_STRING_TYPE, 0),), +) + +FILTER: StaticSchema = ( + 18, + n0, + _F, + 0, + (_K, _V), + ((FILTER_NAME_STRING_TYPE, 0), (FILTER_VALUES_STRING_LIST, 0)), +) + +FILTERS_LIST_TYPE: StaticSchema = (16, n0, _FLT, 0, (_m,), ((FILTER, 0),)) + +MAX_RESULTS_BATCH_TYPE: StaticSchema = (7, n0, _MRBT, 0) + +NEXT_TOKEN_TYPE: StaticSchema = (3, n0, _NTT, 0) + +SECRET_ID_LIST_TYPE: StaticSchema = (16, n0, _SILT, 0, (_m,), ((SECRET_ID_TYPE, 0),)) + +BATCH_GET_SECRET_VALUE_INPUT: StaticSchema = ( + 18, + n0, + _BGSVI, + {_sSI: _cBGSVR, _s: None}, + (_SIL, _Fi, _MR, _NT), + ( + (SECRET_ID_LIST_TYPE, 0), + (FILTERS_LIST_TYPE, 0), + (MAX_RESULTS_BATCH_TYPE, 0), + (NEXT_TOKEN_TYPE, 0), + ), +) + +BATCH_GET_SECRET_VALUE_OUTPUT: StaticSchema = ( + 18, + n0, + _BGSVO, + {_sSI: _cBGSVRo, _smi: None}, + (_SV, _NT, _E), + ((lambda: SECRET_VALUES_TYPE, 0), (NEXT_TOKEN_TYPE, 0), (API_ERROR_LIST_TYPE, 0)), +) + +BATCH_GET_SECRET_VALUE: StaticOperationSchema = ( + 23, + n0, + _BGSV, + 0, + BATCH_GET_SECRET_VALUE_INPUT, + BATCH_GET_SECRET_VALUE_OUTPUT, + ( + lambda: DECRYPTION_FAILURE, + lambda: INTERNAL_SERVICE_ERROR, + lambda: INVALID_NEXT_TOKEN_EXCEPTION, + lambda: INVALID_PARAMETER_EXCEPTION, + lambda: INVALID_REQUEST_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +SECRET_ARN_TYPE: StaticSchema = (3, n0, _SARNT, 0) + +CREATED_DATE_TYPE: StaticSchema = (4, n0, _CDT, 0) + +SECRET_NAME_TYPE: StaticSchema = (3, n0, _SNT, 0) + +SECRET_BINARY_TYPE: StaticSchema = (1, n0, _SBT, 4) + +SECRET_STRING_TYPE: StaticSchema = (3, n0, _SST, 4) + +SECRET_VERSION_ID_TYPE: StaticSchema = (3, n0, _SVIT, 0) + +SECRET_VERSION_STAGE_TYPE: StaticSchema = (3, n0, _SVST, 0) + +SECRET_VERSION_STAGES_TYPE: StaticSchema = ( + 16, + n0, + _SVSTe, + 0, + (_m,), + ((SECRET_VERSION_STAGE_TYPE, 0),), +) + +SECRET_VALUE_ENTRY: StaticSchema = ( + 18, + n0, + _SVE, + 0, + (_ARN, _N, _VI, _SB, _SS, _VS, _CD), + ( + (SECRET_ARN_TYPE, 0), + (SECRET_NAME_TYPE, 0), + (SECRET_VERSION_ID_TYPE, 0), + (SECRET_BINARY_TYPE, 0), + (SECRET_STRING_TYPE, 0), + (SECRET_VERSION_STAGES_TYPE, 0), + (CREATED_DATE_TYPE, 0), + ), +) + +SECRET_VALUES_TYPE: StaticSchema = (16, n0, _SVT, 0, (_m,), ((SECRET_VALUE_ENTRY, 0),)) + +DECRYPTION_FAILURE: StaticSchema = ( + 18, + n0, + _DF, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INTERNAL_SERVICE_ERROR: StaticSchema = ( + 18, + n0, + _ISE, + {_smit: _se}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INVALID_NEXT_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _INTE, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INVALID_PARAMETER_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPE, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +INVALID_REQUEST_EXCEPTION: StaticSchema = ( + 18, + n0, + _IRE, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +BOOLEAN_TYPE: StaticSchema = (2, n0, _BT, {_smith: False}) + +CANCEL_ROTATE_SECRET_INPUT: StaticSchema = ( + 18, + n0, + _CRSI, + {_sSI: _cCRSR, _s: None}, + (_SI,), + ((SECRET_ID_TYPE, 1),), +) + +CANCEL_ROTATE_SECRET_OUTPUT: StaticSchema = ( + 18, + n0, + _CRSO, + {_sSI: _cCRSRo, _smi: None}, + (_ARN, _N, _VI), + ((SECRET_ARN_TYPE, 0), (SECRET_NAME_TYPE, 0), (SECRET_VERSION_ID_TYPE, 0)), +) + +CANCEL_ROTATE_SECRET: StaticOperationSchema = ( + 23, + n0, + _CRS, + 0, + CANCEL_ROTATE_SECRET_INPUT, + CANCEL_ROTATE_SECRET_OUTPUT, + ( + INTERNAL_SERVICE_ERROR, + INVALID_PARAMETER_EXCEPTION, + INVALID_REQUEST_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +CLIENT_REQUEST_TOKEN_TYPE: StaticSchema = (3, n0, _CRTT, 0) + +DESCRIPTION_TYPE: StaticSchema = (3, n0, _DT, 0) + +NAME_TYPE: StaticSchema = (3, n0, _NTa, 0) + +TAG_KEY_TYPE: StaticSchema = (3, n0, _TKT, 0) + +TAG_VALUE_TYPE: StaticSchema = (3, n0, _TVT, 0) + +TAG: StaticSchema = (18, n0, _T, 0, (_K, _Va), ((TAG_KEY_TYPE, 0), (TAG_VALUE_TYPE, 0))) + +TAG_LIST_TYPE: StaticSchema = (16, n0, _TLT, 0, (_m,), ((TAG, 0),)) + +MEDEA_TYPE_TYPE: StaticSchema = (3, n0, _MTT, 0) + +CREATE_SECRET_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_sSI: _cCSR, _s: None}, + (_N, _CRT, _D, _KKI, _SB, _SS, _Ta, _ARR, _FORS, _Ty), + ( + (NAME_TYPE, 1), + (CLIENT_REQUEST_TOKEN_TYPE, 2), + (DESCRIPTION_TYPE, 0), + (KMS_KEY_ID_TYPE, 0), + (SECRET_BINARY_TYPE, 0), + (SECRET_STRING_TYPE, 0), + (TAG_LIST_TYPE, 0), + (ADD_REPLICA_REGION_LIST_TYPE, 0), + (BOOLEAN_TYPE, {_smith: False}), + (MEDEA_TYPE_TYPE, 0), + ), +) + +CREATE_SECRET_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_sSI: _cCSRo, _smi: None}, + (_ARN, _N, _VI, _RS), + ( + (SECRET_ARN_TYPE, 0), + (SECRET_NAME_TYPE, 0), + (SECRET_VERSION_ID_TYPE, 0), + (lambda: REPLICATION_STATUS_LIST_TYPE, 0), + ), +) + +CREATE_SECRET: StaticOperationSchema = ( + 23, + n0, + _CS, + 0, + CREATE_SECRET_INPUT, + CREATE_SECRET_OUTPUT, + ( + DECRYPTION_FAILURE, + lambda: ENCRYPTION_FAILURE, + INTERNAL_SERVICE_ERROR, + INVALID_PARAMETER_EXCEPTION, + INVALID_REQUEST_EXCEPTION, + lambda: LIMIT_EXCEEDED_EXCEPTION, + lambda: MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: PRECONDITION_NOT_MET_EXCEPTION, + lambda: RESOURCE_EXISTS_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +LAST_ACCESSED_DATE_TYPE: StaticSchema = (4, n0, _LADT, 0) + +STATUS_TYPE: StaticSchema = ( + 14, + n0, + _ST, + 0, + (_IS, _Fa, _IP), + ((-1, {_sV: _IS}), (-1, {_sV: _Fa}), (-1, {_sV: _IP})), +) + +STATUS_MESSAGE_TYPE: StaticSchema = (3, n0, _SMT, 0) + +REPLICATION_STATUS_TYPE: StaticSchema = ( + 18, + n0, + _RST, + 0, + (_R, _KKI, _S, _SM, _LAD), + ( + (REGION_TYPE, 0), + (KMS_KEY_ID_TYPE, 0), + (STATUS_TYPE, 0), + (STATUS_MESSAGE_TYPE, 0), + (LAST_ACCESSED_DATE_TYPE, 0), + ), +) + +REPLICATION_STATUS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _RSLT, + 0, + (_m,), + ((REPLICATION_STATUS_TYPE, 0),), +) + +ENCRYPTION_FAILURE: StaticSchema = ( + 18, + n0, + _EF, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +MALFORMED_POLICY_DOCUMENT_EXCEPTION: StaticSchema = ( + 18, + n0, + _MPDE, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +PRECONDITION_NOT_MET_EXCEPTION: StaticSchema = ( + 18, + n0, + _PNME, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +RESOURCE_EXISTS_EXCEPTION: StaticSchema = ( + 18, + n0, + _REE, + {_smit: _c}, + (_M,), + ((ERROR_MESSAGE, 0),), +) + +DELETED_DATE_TYPE: StaticSchema = (4, n0, _DDT, 0) + +DELETE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _DRPI, + {_sSI: _cDRPR, _s: None}, + (_SI,), + ((SECRET_ID_TYPE, 1),), +) + +DELETE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _DRPO, + {_sSI: _cDRPRo, _smi: None}, + (_ARN, _N), + ((SECRET_ARN_TYPE, 0), (NAME_TYPE, 0)), +) + +DELETE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _DRP, + 0, + DELETE_RESOURCE_POLICY_INPUT, + DELETE_RESOURCE_POLICY_OUTPUT, + ( + INTERNAL_SERVICE_ERROR, + INVALID_PARAMETER_EXCEPTION, + INVALID_REQUEST_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +RECOVERY_WINDOW_IN_DAYS_TYPE: StaticSchema = (8, n0, _RWIDT, {_smith: 0}) + +DELETE_SECRET_INPUT: StaticSchema = ( + 18, + n0, + _DSI, + {_sSI: _cDSR, _s: None}, + (_SI, _RWID, _FDWR), + ( + (SECRET_ID_TYPE, 1), + (RECOVERY_WINDOW_IN_DAYS_TYPE, {_smith: None}), + (BOOLEAN_TYPE, {_smith: None}), + ), +) + +DELETE_SECRET_OUTPUT: StaticSchema = ( + 18, + n0, + _DSO, + {_sSI: _cDSRo, _smi: None}, + (_ARN, _N, _DD), + ((SECRET_ARN_TYPE, 0), (SECRET_NAME_TYPE, 0), (lambda: DELETION_DATE_TYPE, 0)), +) + +DELETE_SECRET: StaticOperationSchema = ( + 23, + n0, + _DS, + 0, + DELETE_SECRET_INPUT, + DELETE_SECRET_OUTPUT, + ( + INTERNAL_SERVICE_ERROR, + INVALID_PARAMETER_EXCEPTION, + INVALID_REQUEST_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +DELETION_DATE_TYPE: StaticSchema = (4, n0, _DDTe, 0) + +DESCRIBE_SECRET_INPUT: StaticSchema = ( + 18, + n0, + _DSIe, + {_sSI: _cDSRom, _s: None}, + (_SI,), + ((SECRET_ID_TYPE, 1),), +) + +DESCRIBE_SECRET_OUTPUT: StaticSchema = ( + 18, + n0, + _DSOe, + {_sSI: _cDSRoma, _smi: None}, + ( + _ARN, + _N, + _Ty, + _D, + _KKI, + _RE, + _RLARN, + _RR, + _ESRM, + _ESRRA, + _LRD, + _LCD, + _LAD, + _DDe, + _NRD, + _Ta, + _VITS, + _OS, + _CD, + _PR, + _RS, + ), + ( + (SECRET_ARN_TYPE, 0), + (SECRET_NAME_TYPE, 0), + (MEDEA_TYPE_TYPE, 0), + (DESCRIPTION_TYPE, 0), + (KMS_KEY_ID_TYPE, 0), + (lambda: ROTATION_ENABLED_TYPE, {_smith: None}), + (lambda: ROTATION_LAMBDA_ARN_TYPE, 0), + (lambda: ROTATION_RULES_TYPE, 0), + (lambda: EXTERNAL_SECRET_ROTATION_METADATA_TYPE, 0), + (lambda: ROLE_ARN_TYPE, 0), + (lambda: LAST_ROTATED_DATE_TYPE, 0), + (lambda: LAST_CHANGED_DATE_TYPE, 0), + (LAST_ACCESSED_DATE_TYPE, 0), + (DELETED_DATE_TYPE, 0), + (lambda: NEXT_ROTATION_DATE_TYPE, 0), + (TAG_LIST_TYPE, 0), + (lambda: SECRET_VERSIONS_TO_STAGES_MAP_TYPE, 0), + (lambda: OWNING_SERVICE_TYPE, 0), + (lambda: TIMESTAMP_TYPE, 0), + (REGION_TYPE, 0), + (REPLICATION_STATUS_LIST_TYPE, 0), + ), +) + +DESCRIBE_SECRET: StaticOperationSchema = ( + 23, + n0, + _DSe, + 0, + DESCRIBE_SECRET_INPUT, + DESCRIBE_SECRET_OUTPUT, + (INTERNAL_SERVICE_ERROR, INVALID_PARAMETER_EXCEPTION, RESOURCE_NOT_FOUND_EXCEPTION), +) + +TIMESTAMP_TYPE: StaticSchema = (4, n0, _TT, 0) + +EXTERNAL_SECRET_ROTATION_METADATA_ITEM_KEY_TYPE: StaticSchema = (3, n0, _ESRMIKT, 0) + +EXTERNAL_SECRET_ROTATION_METADATA_ITEM_VALUE_TYPE: StaticSchema = (3, n0, _ESRMIVT, 0) + +EXTERNAL_SECRET_ROTATION_METADATA_ITEM: StaticSchema = ( + 18, + n0, + _ESRMI, + 0, + (_K, _Va), + ( + (EXTERNAL_SECRET_ROTATION_METADATA_ITEM_KEY_TYPE, 0), + (EXTERNAL_SECRET_ROTATION_METADATA_ITEM_VALUE_TYPE, 0), + ), +) + +EXTERNAL_SECRET_ROTATION_METADATA_TYPE: StaticSchema = ( + 16, + n0, + _ESRMT, + 0, + (_m,), + ((EXTERNAL_SECRET_ROTATION_METADATA_ITEM, 0),), +) + +ROLE_ARN_TYPE: StaticSchema = (3, n0, _RARNT, 0) + +LAST_CHANGED_DATE_TYPE: StaticSchema = (4, n0, _LCDT, 0) + +LAST_ROTATED_DATE_TYPE: StaticSchema = (4, n0, _LRDT, 0) + +NEXT_ROTATION_DATE_TYPE: StaticSchema = (4, n0, _NRDT, 0) + +OWNING_SERVICE_TYPE: StaticSchema = (3, n0, _OST, 0) + +ROTATION_ENABLED_TYPE: StaticSchema = (2, n0, _RET, {_smith: False}) + +ROTATION_LAMBDA_ARN_TYPE: StaticSchema = (3, n0, _RLARNT, 0) + +DURATION_TYPE: StaticSchema = (3, n0, _DTu, 0) + +SCHEDULE_EXPRESSION_TYPE: StaticSchema = (3, n0, _SET, 0) + +ROTATION_RULES_TYPE: StaticSchema = ( + 18, + n0, + _RRTo, + 0, + (_AAD, _Du, _SE), + ( + (AUTOMATICALLY_ROTATE_AFTER_DAYS_TYPE, 0), + (DURATION_TYPE, 0), + (SCHEDULE_EXPRESSION_TYPE, 0), + ), +) + +SECRET_VERSIONS_TO_STAGES_MAP_TYPE: StaticSchema = ( + 17, + n0, + _SVTSMT, + 0, + (_k, _v), + ((SECRET_VERSION_ID_TYPE, 0), (SECRET_VERSION_STAGES_TYPE, 0)), +) + +EXCLUDE_CHARACTERS_TYPE: StaticSchema = (3, n0, _ECT, 0) + +EXCLUDE_LOWERCASE_TYPE: StaticSchema = (2, n0, _ELT, {_smith: False}) + +EXCLUDE_NUMBERS_TYPE: StaticSchema = (2, n0, _ENT, {_smith: False}) + +EXCLUDE_PUNCTUATION_TYPE: StaticSchema = (2, n0, _EPT, {_smith: False}) + +EXCLUDE_UPPERCASE_TYPE: StaticSchema = (2, n0, _EUT, {_smith: False}) + +INCLUDE_SPACE_TYPE: StaticSchema = (2, n0, _IST, {_smith: False}) + +PASSWORD_LENGTH_TYPE: StaticSchema = (8, n0, _PLT, 0) + +REQUIRE_EACH_INCLUDED_TYPE_TYPE: StaticSchema = (2, n0, _REITT, {_smith: False}) diff --git a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas_1.py b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas_1.py new file mode 100644 index 000000000..090eadcd8 --- /dev/null +++ b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/_private/schemas_1.py @@ -0,0 +1,1034 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.secretsmanager" +_KKI = "KmsKeyId" +_m = "member" +_EM = "ErrorMessage" +_SI = "SecretId" +_M = "Message" +_sV = "smithy.api#enumValue" +_n = "name" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_Fi = "Filters" +_MR = "MaxResults" +_NT = "NextToken" +_sm = "smithy.api#sensitive" +_ARN = "ARN" +_N = "Name" +_VI = "VersionId" +_SB = "SecretBinary" +_SS = "SecretString" +_VS = "VersionStages" +_CD = "CreatedDate" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_smith = "smithy.api#default" +_smithy = "smithy.api#required" +_CRT = "ClientRequestToken" +_sT = "smithy.api#idempotencyToken" +_D = "Description" +_Ta = "Tags" +_ARR = "AddReplicaRegions" +_FORS = "ForceOverwriteReplicaSecret" +_Ty = "Type" +_LAD = "LastAccessedDate" +_RS = "ReplicationStatus" +_RE = "RotationEnabled" +_RLARN = "RotationLambdaARN" +_RR = "RotationRules" +_ESRM = "ExternalSecretRotationMetadata" +_ESRRA = "ExternalSecretRotationRoleArn" +_LRD = "LastRotatedDate" +_LCD = "LastChangedDate" +_DDe = "DeletedDate" +_NRD = "NextRotationDate" +_OS = "OwningService" +_PR = "PrimaryRegion" +_GRPI = "GetRandomPasswordInput" +_cGRPR = "com.amazonaws.secretsmanager#GetRandomPasswordRequest" +_PL = "PasswordLength" +_ECx = "ExcludeCharacters" +_EN = "ExcludeNumbers" +_EP = "ExcludePunctuation" +_EU = "ExcludeUppercase" +_EL = "ExcludeLowercase" +_ISn = "IncludeSpace" +_REIT = "RequireEachIncludedType" +_RPT = "RandomPasswordType" +_GRPO = "GetRandomPasswordOutput" +_cGRPRo = "com.amazonaws.secretsmanager#GetRandomPasswordResponse" +_RP = "RandomPassword" +_GRP = "GetRandomPassword" +_GRPIe = "GetResourcePolicyInput" +_cGRPRom = "com.amazonaws.secretsmanager#GetResourcePolicyRequest" +_NERPT = "NonEmptyResourcePolicyType" +_GRPOe = "GetResourcePolicyOutput" +_cGRPRoma = "com.amazonaws.secretsmanager#GetResourcePolicyResponse" +_RPe = "ResourcePolicy" +_GRPe = "GetResourcePolicy" +_GSVI = "GetSecretValueInput" +_cGSVR = "com.amazonaws.secretsmanager#GetSecretValueRequest" +_VSe = "VersionStage" +_GSVO = "GetSecretValueOutput" +_cGSVRo = "com.amazonaws.secretsmanager#GetSecretValueResponse" +_GSV = "GetSecretValue" +_KKILT = "KmsKeyIdListType" +_MRT = "MaxResultsType" +_SBTo = "SortByType" +_cd = "created_date" +_cd_ = "created-date" +_lad = "last_accessed_date" +_lad_ = "last-accessed-date" +_lcd = "last_changed_date" +_lcd_ = "last-changed-date" +_SOT = "SortOrderType" +_as = "asc" +_de = "desc" +_LSI = "ListSecretsInput" +_cLSR = "com.amazonaws.secretsmanager#ListSecretsRequest" +_IPD = "IncludePlannedDeletion" +_SO = "SortOrder" +_SBo = "SortBy" +_SLE = "SecretListEntry" +_SVTS = "SecretVersionsToStages" +_SLT = "SecretListType" +_LSO = "ListSecretsOutput" +_cLSRo = "com.amazonaws.secretsmanager#ListSecretsResponse" +_SL = "SecretList" +_LS = "ListSecrets" +_LSVII = "ListSecretVersionIdsInput" +_cLSVIR = "com.amazonaws.secretsmanager#ListSecretVersionIdsRequest" +_ID = "IncludeDeprecated" +_SVLE = "SecretVersionsListEntry" +_KKIm = "KmsKeyIds" +_SVLT = "SecretVersionsListType" +_LSVIO = "ListSecretVersionIdsOutput" +_cLSVIRo = "com.amazonaws.secretsmanager#ListSecretVersionIdsResponse" +_Ve = "Versions" +_LSVI = "ListSecretVersionIds" +_PPE = "PublicPolicyException" +_PRPI = "PutResourcePolicyInput" +_cPRPR = "com.amazonaws.secretsmanager#PutResourcePolicyRequest" +_BPP = "BlockPublicPolicy" +_PRPO = "PutResourcePolicyOutput" +_cPRPRo = "com.amazonaws.secretsmanager#PutResourcePolicyResponse" +_PRP = "PutResourcePolicy" +_RTT = "RotationTokenType" +_PSVI = "PutSecretValueInput" +_cPSVR = "com.amazonaws.secretsmanager#PutSecretValueRequest" +_RTo = "RotationToken" +_PSVO = "PutSecretValueOutput" +_cPSVRo = "com.amazonaws.secretsmanager#PutSecretValueResponse" +_PSV = "PutSecretValue" +_RRRLT = "RemoveReplicaRegionListType" +_RRFRI = "RemoveRegionsFromReplicationInput" +_cRRFRR = "com.amazonaws.secretsmanager#RemoveRegionsFromReplicationRequest" +_RRR = "RemoveReplicaRegions" +_RRFRO = "RemoveRegionsFromReplicationOutput" +_cRRFRRo = "com.amazonaws.secretsmanager#RemoveRegionsFromReplicationResponse" +_RRFR = "RemoveRegionsFromReplication" +_RSTRI = "ReplicateSecretToRegionsInput" +_cRSTRR = "com.amazonaws.secretsmanager#ReplicateSecretToRegionsRequest" +_RSTRO = "ReplicateSecretToRegionsOutput" +_cRSTRRo = "com.amazonaws.secretsmanager#ReplicateSecretToRegionsResponse" +_RSTR = "ReplicateSecretToRegions" +_RSI = "RestoreSecretInput" +_cRSR = "com.amazonaws.secretsmanager#RestoreSecretRequest" +_RSO = "RestoreSecretOutput" +_cRSRo = "com.amazonaws.secretsmanager#RestoreSecretResponse" +_RSe = "RestoreSecret" +_RSIo = "RotateSecretInput" +_cRSRom = "com.amazonaws.secretsmanager#RotateSecretRequest" +_RI = "RotateImmediately" +_RSOo = "RotateSecretOutput" +_cRSRoma = "com.amazonaws.secretsmanager#RotateSecretResponse" +_RSo = "RotateSecret" +_SRTRI = "StopReplicationToReplicaInput" +_cSRTRR = "com.amazonaws.secretsmanager#StopReplicationToReplicaRequest" +_SRTRO = "StopReplicationToReplicaOutput" +_cSRTRRo = "com.amazonaws.secretsmanager#StopReplicationToReplicaResponse" +_SRTR = "StopReplicationToReplica" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.secretsmanager#TagResourceRequest" +_TRO = "TagResourceOutput" +_sU = "smithy.api#Unit" +_TR = "TagResource" +_TKLT = "TagKeyListType" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.secretsmanager#UntagResourceRequest" +_TK = "TagKeys" +_URO = "UntagResourceOutput" +_UR = "UntagResource" +_USI = "UpdateSecretInput" +_cUSR = "com.amazonaws.secretsmanager#UpdateSecretRequest" +_USO = "UpdateSecretOutput" +_cUSRo = "com.amazonaws.secretsmanager#UpdateSecretResponse" +_US = "UpdateSecret" +_USVSI = "UpdateSecretVersionStageInput" +_cUSVSR = "com.amazonaws.secretsmanager#UpdateSecretVersionStageRequest" +_RFVI = "RemoveFromVersionId" +_MTVI = "MoveToVersionId" +_USVSO = "UpdateSecretVersionStageOutput" +_cUSVSRo = "com.amazonaws.secretsmanager#UpdateSecretVersionStageResponse" +_USVS = "UpdateSecretVersionStage" +_VRPI = "ValidateResourcePolicyInput" +_cVRPR = "com.amazonaws.secretsmanager#ValidateResourcePolicyRequest" +_VEE = "ValidationErrorsEntry" +_CN = "CheckName" +_VET = "ValidationErrorsType" +_VRPO = "ValidateResourcePolicyOutput" +_cVRPRo = "com.amazonaws.secretsmanager#ValidateResourcePolicyResponse" +_PVP = "PolicyValidationPassed" +_VE = "ValidationErrors" +_VRP = "ValidateResourcePolicy" +_sec = "secretsmanager" +_aw = "aws.auth#sigv4" +_a_ = "aws.protocols#awsJson1_1" +_aws = "aws.api#service" + +GET_RANDOM_PASSWORD_INPUT: StaticSchema = ( + 18, + n0, + _GRPI, + {_sSI: _cGRPR, _s: None}, + (_PL, _ECx, _EN, _EP, _EU, _EL, _ISn, _REIT), + ( + (lambda: schemas.PASSWORD_LENGTH_TYPE, 0), + (lambda: schemas.EXCLUDE_CHARACTERS_TYPE, 0), + (lambda: schemas.EXCLUDE_NUMBERS_TYPE, {_smith: None}), + (lambda: schemas.EXCLUDE_PUNCTUATION_TYPE, {_smith: None}), + (lambda: schemas.EXCLUDE_UPPERCASE_TYPE, {_smith: None}), + (lambda: schemas.EXCLUDE_LOWERCASE_TYPE, {_smith: None}), + (lambda: schemas.INCLUDE_SPACE_TYPE, {_smith: None}), + (lambda: schemas.REQUIRE_EACH_INCLUDED_TYPE_TYPE, {_smith: None}), + ), +) + +GET_RANDOM_PASSWORD_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_sSI: _cGRPRo, _smi: None}, + (_RP,), + ((lambda: RANDOM_PASSWORD_TYPE, 0),), +) + +GET_RANDOM_PASSWORD: StaticOperationSchema = ( + 23, + n0, + _GRP, + 0, + GET_RANDOM_PASSWORD_INPUT, + GET_RANDOM_PASSWORD_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + ), +) + +RANDOM_PASSWORD_TYPE: StaticSchema = (3, n0, _RPT, 4) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GRPIe, + {_sSI: _cGRPRom, _s: None}, + (_SI,), + ((lambda: schemas.SECRET_ID_TYPE, 1),), +) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPOe, + {_sSI: _cGRPRoma, _smi: None}, + (_ARN, _N, _RPe), + ( + (lambda: schemas.SECRET_ARN_TYPE, 0), + (lambda: schemas.NAME_TYPE, 0), + (lambda: NON_EMPTY_RESOURCE_POLICY_TYPE, 0), + ), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRPe, + 0, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +NON_EMPTY_RESOURCE_POLICY_TYPE: StaticSchema = (3, n0, _NERPT, 0) + +GET_SECRET_VALUE_INPUT: StaticSchema = ( + 18, + n0, + _GSVI, + {_sSI: _cGSVR, _s: None}, + (_SI, _VI, _VSe), + ( + (lambda: schemas.SECRET_ID_TYPE, 1), + (lambda: schemas.SECRET_VERSION_ID_TYPE, 0), + (lambda: schemas.SECRET_VERSION_STAGE_TYPE, 0), + ), +) + +GET_SECRET_VALUE_OUTPUT: StaticSchema = ( + 18, + n0, + _GSVO, + {_sSI: _cGSVRo, _smi: None}, + (_ARN, _N, _VI, _SB, _SS, _VS, _CD), + ( + (lambda: schemas.SECRET_ARN_TYPE, 0), + (lambda: schemas.SECRET_NAME_TYPE, 0), + (lambda: schemas.SECRET_VERSION_ID_TYPE, 0), + (lambda: schemas.SECRET_BINARY_TYPE, 0), + (lambda: schemas.SECRET_STRING_TYPE, 0), + (lambda: schemas.SECRET_VERSION_STAGES_TYPE, 0), + (lambda: schemas.CREATED_DATE_TYPE, 0), + ), +) + +GET_SECRET_VALUE: StaticOperationSchema = ( + 23, + n0, + _GSV, + 0, + GET_SECRET_VALUE_INPUT, + GET_SECRET_VALUE_OUTPUT, + ( + lambda: schemas.DECRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +KMS_KEY_ID_LIST_TYPE: StaticSchema = ( + 16, + n0, + _KKILT, + 0, + (_m,), + ((lambda: schemas.KMS_KEY_ID_TYPE, 0),), +) + +MAX_RESULTS_TYPE: StaticSchema = (7, n0, _MRT, 0) + +SORT_BY_TYPE: StaticSchema = ( + 14, + n0, + _SBTo, + 0, + (_cd, _lad, _lcd, _n), + ((-1, {_sV: _cd_}), (-1, {_sV: _lad_}), (-1, {_sV: _lcd_}), (-1, {_sV: _n})), +) + +SORT_ORDER_TYPE: StaticSchema = ( + 14, + n0, + _SOT, + 0, + (_as, _de), + ((-1, {_sV: _as}), (-1, {_sV: _de})), +) + +LIST_SECRETS_INPUT: StaticSchema = ( + 18, + n0, + _LSI, + {_sSI: _cLSR, _s: None}, + (_IPD, _MR, _NT, _Fi, _SO, _SBo), + ( + (lambda: schemas.BOOLEAN_TYPE, {_smith: None}), + (MAX_RESULTS_TYPE, 0), + (lambda: schemas.NEXT_TOKEN_TYPE, 0), + (lambda: schemas.FILTERS_LIST_TYPE, 0), + (SORT_ORDER_TYPE, 0), + (SORT_BY_TYPE, 0), + ), +) + +LIST_SECRETS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_sSI: _cLSRo, _smi: None}, + (_SL, _NT), + ((lambda: SECRET_LIST_TYPE, 0), (lambda: schemas.NEXT_TOKEN_TYPE, 0)), +) + +LIST_SECRETS: StaticOperationSchema = ( + 23, + n0, + _LS, + 0, + LIST_SECRETS_INPUT, + LIST_SECRETS_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + ), +) + +SECRET_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _SLE, + 0, + ( + _ARN, + _N, + _Ty, + _D, + _KKI, + _RE, + _RLARN, + _RR, + _ESRM, + _ESRRA, + _LRD, + _LCD, + _LAD, + _DDe, + _NRD, + _Ta, + _SVTS, + _OS, + _CD, + _PR, + ), + ( + (lambda: schemas.SECRET_ARN_TYPE, 0), + (lambda: schemas.SECRET_NAME_TYPE, 0), + (lambda: schemas.MEDEA_TYPE_TYPE, 0), + (lambda: schemas.DESCRIPTION_TYPE, 0), + (lambda: schemas.KMS_KEY_ID_TYPE, 0), + (lambda: schemas.ROTATION_ENABLED_TYPE, {_smith: None}), + (lambda: schemas.ROTATION_LAMBDA_ARN_TYPE, 0), + (lambda: schemas.ROTATION_RULES_TYPE, 0), + (lambda: schemas.EXTERNAL_SECRET_ROTATION_METADATA_TYPE, 0), + (lambda: schemas.ROLE_ARN_TYPE, 0), + (lambda: schemas.LAST_ROTATED_DATE_TYPE, 0), + (lambda: schemas.LAST_CHANGED_DATE_TYPE, 0), + (lambda: schemas.LAST_ACCESSED_DATE_TYPE, 0), + (lambda: schemas.DELETED_DATE_TYPE, 0), + (lambda: schemas.NEXT_ROTATION_DATE_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + (lambda: schemas.SECRET_VERSIONS_TO_STAGES_MAP_TYPE, 0), + (lambda: schemas.OWNING_SERVICE_TYPE, 0), + (lambda: schemas.TIMESTAMP_TYPE, 0), + (lambda: schemas.REGION_TYPE, 0), + ), +) + +SECRET_LIST_TYPE: StaticSchema = (16, n0, _SLT, 0, (_m,), ((SECRET_LIST_ENTRY, 0),)) + +LIST_SECRET_VERSION_IDS_INPUT: StaticSchema = ( + 18, + n0, + _LSVII, + {_sSI: _cLSVIR, _s: None}, + (_SI, _MR, _NT, _ID), + ( + (lambda: schemas.SECRET_ID_TYPE, 1), + (MAX_RESULTS_TYPE, 0), + (lambda: schemas.NEXT_TOKEN_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smith: None}), + ), +) + +LIST_SECRET_VERSION_IDS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSVIO, + {_sSI: _cLSVIRo, _smi: None}, + (_Ve, _NT, _ARN, _N), + ( + (lambda: SECRET_VERSIONS_LIST_TYPE, 0), + (lambda: schemas.NEXT_TOKEN_TYPE, 0), + (lambda: schemas.SECRET_ARN_TYPE, 0), + (lambda: schemas.SECRET_NAME_TYPE, 0), + ), +) + +LIST_SECRET_VERSION_IDS: StaticOperationSchema = ( + 23, + n0, + _LSVI, + 0, + LIST_SECRET_VERSION_IDS_INPUT, + LIST_SECRET_VERSION_IDS_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_NEXT_TOKEN_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +SECRET_VERSIONS_LIST_ENTRY: StaticSchema = ( + 18, + n0, + _SVLE, + 0, + (_VI, _VS, _LAD, _CD, _KKIm), + ( + (lambda: schemas.SECRET_VERSION_ID_TYPE, 0), + (lambda: schemas.SECRET_VERSION_STAGES_TYPE, 0), + (lambda: schemas.LAST_ACCESSED_DATE_TYPE, 0), + (lambda: schemas.CREATED_DATE_TYPE, 0), + (KMS_KEY_ID_LIST_TYPE, 0), + ), +) + +SECRET_VERSIONS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _SVLT, + 0, + (_m,), + ((SECRET_VERSIONS_LIST_ENTRY, 0),), +) + +PUBLIC_POLICY_EXCEPTION: StaticSchema = ( + 18, + n0, + _PPE, + {_smit: _c}, + (_M,), + ((lambda: schemas.ERROR_MESSAGE, 0),), +) + +PUT_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PRPI, + {_sSI: _cPRPR, _s: None}, + (_SI, _RPe, _BPP), + ( + (lambda: schemas.SECRET_ID_TYPE, 1), + (NON_EMPTY_RESOURCE_POLICY_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smith: None}), + ), +) + +PUT_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPO, + {_sSI: _cPRPRo, _smi: None}, + (_ARN, _N), + ((lambda: schemas.SECRET_ARN_TYPE, 0), (lambda: schemas.NAME_TYPE, 0)), +) + +PUT_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _PRP, + 0, + PUT_RESOURCE_POLICY_INPUT, + PUT_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + PUBLIC_POLICY_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +ROTATION_TOKEN_TYPE: StaticSchema = (3, n0, _RTT, 4) + +PUT_SECRET_VALUE_INPUT: StaticSchema = ( + 18, + n0, + _PSVI, + {_sSI: _cPSVR, _s: None}, + (_SI, _CRT, _SB, _SS, _VS, _RTo), + ( + (lambda: schemas.SECRET_ID_TYPE, 1), + (lambda: schemas.CLIENT_REQUEST_TOKEN_TYPE, 2), + (lambda: schemas.SECRET_BINARY_TYPE, 0), + (lambda: schemas.SECRET_STRING_TYPE, 0), + (lambda: schemas.SECRET_VERSION_STAGES_TYPE, 0), + (ROTATION_TOKEN_TYPE, 0), + ), +) + +PUT_SECRET_VALUE_OUTPUT: StaticSchema = ( + 18, + n0, + _PSVO, + {_sSI: _cPSVRo, _smi: None}, + (_ARN, _N, _VI, _VS), + ( + (lambda: schemas.SECRET_ARN_TYPE, 0), + (lambda: schemas.SECRET_NAME_TYPE, 0), + (lambda: schemas.SECRET_VERSION_ID_TYPE, 0), + (lambda: schemas.SECRET_VERSION_STAGES_TYPE, 0), + ), +) + +PUT_SECRET_VALUE: StaticOperationSchema = ( + 23, + n0, + _PSV, + 0, + PUT_SECRET_VALUE_INPUT, + PUT_SECRET_VALUE_OUTPUT, + ( + lambda: schemas.DECRYPTION_FAILURE, + lambda: schemas.ENCRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_EXISTS_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +REMOVE_REPLICA_REGION_LIST_TYPE: StaticSchema = ( + 16, + n0, + _RRRLT, + 0, + (_m,), + ((lambda: schemas.REGION_TYPE, 0),), +) + +REMOVE_REGIONS_FROM_REPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _RRFRI, + {_sSI: _cRRFRR, _s: None}, + (_SI, _RRR), + ((lambda: schemas.SECRET_ID_TYPE, 1), (REMOVE_REPLICA_REGION_LIST_TYPE, 1)), +) + +REMOVE_REGIONS_FROM_REPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _RRFRO, + {_sSI: _cRRFRRo, _smi: None}, + (_ARN, _RS), + ( + (lambda: schemas.SECRET_ARN_TYPE, 0), + (lambda: schemas.REPLICATION_STATUS_LIST_TYPE, 0), + ), +) + +REMOVE_REGIONS_FROM_REPLICATION: StaticOperationSchema = ( + 23, + n0, + _RRFR, + 0, + REMOVE_REGIONS_FROM_REPLICATION_INPUT, + REMOVE_REGIONS_FROM_REPLICATION_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +REPLICATE_SECRET_TO_REGIONS_INPUT: StaticSchema = ( + 18, + n0, + _RSTRI, + {_sSI: _cRSTRR, _s: None}, + (_SI, _ARR, _FORS), + ( + (lambda: schemas.SECRET_ID_TYPE, 1), + (lambda: schemas.ADD_REPLICA_REGION_LIST_TYPE, 1), + (lambda: schemas.BOOLEAN_TYPE, {_smith: False}), + ), +) + +REPLICATE_SECRET_TO_REGIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _RSTRO, + {_sSI: _cRSTRRo, _smi: None}, + (_ARN, _RS), + ( + (lambda: schemas.SECRET_ARN_TYPE, 0), + (lambda: schemas.REPLICATION_STATUS_LIST_TYPE, 0), + ), +) + +REPLICATE_SECRET_TO_REGIONS: StaticOperationSchema = ( + 23, + n0, + _RSTR, + 0, + REPLICATE_SECRET_TO_REGIONS_INPUT, + REPLICATE_SECRET_TO_REGIONS_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +RESTORE_SECRET_INPUT: StaticSchema = ( + 18, + n0, + _RSI, + {_sSI: _cRSR, _s: None}, + (_SI,), + ((lambda: schemas.SECRET_ID_TYPE, 1),), +) + +RESTORE_SECRET_OUTPUT: StaticSchema = ( + 18, + n0, + _RSO, + {_sSI: _cRSRo, _smi: None}, + (_ARN, _N), + ((lambda: schemas.SECRET_ARN_TYPE, 0), (lambda: schemas.SECRET_NAME_TYPE, 0)), +) + +RESTORE_SECRET: StaticOperationSchema = ( + 23, + n0, + _RSe, + 0, + RESTORE_SECRET_INPUT, + RESTORE_SECRET_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +ROTATE_SECRET_INPUT: StaticSchema = ( + 18, + n0, + _RSIo, + {_sSI: _cRSRom, _s: None}, + (_SI, _CRT, _RLARN, _RR, _ESRM, _ESRRA, _RI), + ( + (lambda: schemas.SECRET_ID_TYPE, 1), + (lambda: schemas.CLIENT_REQUEST_TOKEN_TYPE, 2), + (lambda: schemas.ROTATION_LAMBDA_ARN_TYPE, 0), + (lambda: schemas.ROTATION_RULES_TYPE, 0), + (lambda: schemas.EXTERNAL_SECRET_ROTATION_METADATA_TYPE, 0), + (lambda: schemas.ROLE_ARN_TYPE, 0), + (lambda: schemas.BOOLEAN_TYPE, {_smith: None}), + ), +) + +ROTATE_SECRET_OUTPUT: StaticSchema = ( + 18, + n0, + _RSOo, + {_sSI: _cRSRoma, _smi: None}, + (_ARN, _N, _VI), + ( + (lambda: schemas.SECRET_ARN_TYPE, 0), + (lambda: schemas.SECRET_NAME_TYPE, 0), + (lambda: schemas.SECRET_VERSION_ID_TYPE, 0), + ), +) + +ROTATE_SECRET: StaticOperationSchema = ( + 23, + n0, + _RSo, + 0, + ROTATE_SECRET_INPUT, + ROTATE_SECRET_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +STOP_REPLICATION_TO_REPLICA_INPUT: StaticSchema = ( + 18, + n0, + _SRTRI, + {_sSI: _cSRTRR, _s: None}, + (_SI,), + ((lambda: schemas.SECRET_ID_TYPE, 1),), +) + +STOP_REPLICATION_TO_REPLICA_OUTPUT: StaticSchema = ( + 18, + n0, + _SRTRO, + {_sSI: _cSRTRRo, _smi: None}, + (_ARN,), + ((lambda: schemas.SECRET_ARN_TYPE, 0),), +) + +STOP_REPLICATION_TO_REPLICA: StaticOperationSchema = ( + 23, + n0, + _SRTR, + 0, + STOP_REPLICATION_TO_REPLICA_INPUT, + STOP_REPLICATION_TO_REPLICA_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _s: None}, + (_SI, _Ta), + ((lambda: schemas.SECRET_ID_TYPE, 1), (lambda: schemas.TAG_LIST_TYPE, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _sU, _smi: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + 0, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +TAG_KEY_LIST_TYPE: StaticSchema = ( + 16, + n0, + _TKLT, + 0, + (_m,), + ((lambda: schemas.TAG_KEY_TYPE, 0),), +) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _s: None}, + (_SI, _TK), + ((lambda: schemas.SECRET_ID_TYPE, 1), (TAG_KEY_LIST_TYPE, 1)), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _sU, _smi: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + 0, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_SECRET_INPUT: StaticSchema = ( + 18, + n0, + _USI, + {_sSI: _cUSR, _s: None}, + (_SI, _CRT, _D, _KKI, _SB, _SS, _Ty), + ( + (lambda: schemas.SECRET_ID_TYPE, 1), + (lambda: schemas.CLIENT_REQUEST_TOKEN_TYPE, 2), + (lambda: schemas.DESCRIPTION_TYPE, 0), + (lambda: schemas.KMS_KEY_ID_TYPE, 0), + (lambda: schemas.SECRET_BINARY_TYPE, 0), + (lambda: schemas.SECRET_STRING_TYPE, 0), + (lambda: schemas.MEDEA_TYPE_TYPE, 0), + ), +) + +UPDATE_SECRET_OUTPUT: StaticSchema = ( + 18, + n0, + _USO, + {_sSI: _cUSRo, _smi: None}, + (_ARN, _N, _VI), + ( + (lambda: schemas.SECRET_ARN_TYPE, 0), + (lambda: schemas.SECRET_NAME_TYPE, 0), + (lambda: schemas.SECRET_VERSION_ID_TYPE, 0), + ), +) + +UPDATE_SECRET: StaticOperationSchema = ( + 23, + n0, + _US, + 0, + UPDATE_SECRET_INPUT, + UPDATE_SECRET_OUTPUT, + ( + lambda: schemas.DECRYPTION_FAILURE, + lambda: schemas.ENCRYPTION_FAILURE, + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.PRECONDITION_NOT_MET_EXCEPTION, + lambda: schemas.RESOURCE_EXISTS_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +UPDATE_SECRET_VERSION_STAGE_INPUT: StaticSchema = ( + 18, + n0, + _USVSI, + {_sSI: _cUSVSR, _s: None}, + (_SI, _VSe, _RFVI, _MTVI), + ( + (lambda: schemas.SECRET_ID_TYPE, 1), + (lambda: schemas.SECRET_VERSION_STAGE_TYPE, 1), + (lambda: schemas.SECRET_VERSION_ID_TYPE, 0), + (lambda: schemas.SECRET_VERSION_ID_TYPE, 0), + ), +) + +UPDATE_SECRET_VERSION_STAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _USVSO, + {_sSI: _cUSVSRo, _smi: None}, + (_ARN, _N), + ((lambda: schemas.SECRET_ARN_TYPE, 0), (lambda: schemas.SECRET_NAME_TYPE, 0)), +) + +UPDATE_SECRET_VERSION_STAGE: StaticOperationSchema = ( + 23, + n0, + _USVS, + 0, + UPDATE_SECRET_VERSION_STAGE_INPUT, + UPDATE_SECRET_VERSION_STAGE_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +VALIDATE_RESOURCE_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _VRPI, + {_sSI: _cVRPR, _s: None}, + (_SI, _RPe), + ((lambda: schemas.SECRET_ID_TYPE, 0), (NON_EMPTY_RESOURCE_POLICY_TYPE, 1)), +) + +VALIDATE_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _VRPO, + {_sSI: _cVRPRo, _smi: None}, + (_PVP, _VE), + ( + (lambda: schemas.BOOLEAN_TYPE, {_smith: False}), + (lambda: VALIDATION_ERRORS_TYPE, 0), + ), +) + +VALIDATE_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _VRP, + 0, + VALIDATE_RESOURCE_POLICY_INPUT, + VALIDATE_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.INTERNAL_SERVICE_ERROR, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_REQUEST_EXCEPTION, + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +VALIDATION_ERRORS_ENTRY: StaticSchema = ( + 18, + n0, + _VEE, + 0, + (_CN, _EM), + ((lambda: schemas.NAME_TYPE, 0), (lambda: schemas.ERROR_MESSAGE, 0)), +) + +VALIDATION_ERRORS_TYPE: StaticSchema = ( + 16, + n0, + _VET, + 0, + (_m,), + ((VALIDATION_ERRORS_ENTRY, 0),), +) + +SECRETSMANAGER: StaticSchema = ( + 21, + n0, + _sec, + { + _aw: MappingProxyType({"name": "secretsmanager"}), + _a_: None, + _aws: MappingProxyType( + { + "sdkId": "Secrets Manager", + "arnNamespace": "secretsmanager", + "cloudFormationName": "SecretsManager", + "cloudTrailEventSource": "secretsmanager.amazonaws.com", + "docId": "secretsmanager-2017-10-17", + "endpointPrefix": "secretsmanager", + } + ), + }, +) diff --git a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/aio/client.py b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/aio/client.py index 1bb389f5e..daf3834e8 100644 --- a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/aio/client.py +++ b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/aio/config.py b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/aio/config.py index cb3c0f088..708d14a35 100644 --- a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/aio/config.py +++ b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson11ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/client.py b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/client.py index 3959bcd60..aae94672c 100644 --- a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/client.py +++ b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/config.py b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/config.py index bc64c6bb8..89d67deff 100644 --- a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/config.py +++ b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson11ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/models.pyi b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/models.pyi index 10cdab20f..1ce28acd6 100644 --- a/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/models.pyi +++ b/clients/aws-sdk-secrets-manager/src/aws_sdk_secrets_manager/models.pyi @@ -192,6 +192,8 @@ class CreateSecretInput(_SerdeShape): existing version. Instead, use PutSecretValue to create a new version. This value becomes the `VersionId` of the new version. + + This field is autopopulated if not provided. """ description: str | None = ... """The description of the secret.""" @@ -1216,6 +1218,8 @@ class PutSecretValueInput(_SerdeShape): version. You can only create new versions to store new secret values. This value becomes the `VersionId` of the new version. + + This field is autopopulated if not provided. """ secret_binary: bytes | None = ... """ @@ -1487,6 +1491,8 @@ class RotateSecretInput(_SerdeShape): failures and retries during a rotation. We recommend that you generate a [UUID-type](https://wikipedia.org/wiki/Universally_unique_identifier) value to ensure uniqueness of your versions within the specified secret. + + This field is autopopulated if not provided. """ rotation_lambda_arn: str | None = ... """ @@ -1968,6 +1974,8 @@ class UpdateSecretInput(_SerdeShape): failures and retries during a rotation. We recommend that you generate a [UUID-type](https://wikipedia.org/wiki/Universally_unique_identifier) value to ensure uniqueness of your versions within the specified secret. + + This field is autopopulated if not provided. """ description: str | None = ... """The description of the secret.""" diff --git a/clients/aws-sdk-secrets-manager/tests/test_endpoints.py b/clients/aws-sdk-secrets-manager/tests/test_endpoints.py index 1fed05f42..12e1fd986 100644 --- a/clients/aws-sdk-secrets-manager/tests/test_endpoints.py +++ b/clients/aws-sdk-secrets-manager/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-signin/pyproject.toml b/clients/aws-sdk-signin/pyproject.toml index ae1d4672c..20c5241f3 100644 --- a/clients/aws-sdk-signin/pyproject.toml +++ b/clients/aws-sdk-signin/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_signin" version = "0.12.0" -description = "aws_sdk_signin client" +description = "Python client for AWS Sign-In Service" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_signin"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas.py b/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas.py index 74bf13aa6..0faa6fb40 100644 --- a/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas.py +++ b/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas.py @@ -1,1108 +1,133 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.signin" -_OAEC = "OAuth2ErrorCode" -_TE = "TOKEN_EXPIRED" -_sV = "smithy.api#enumValue" -_UCC = "USER_CREDENTIALS_CHANGED" -_IP = "INSUFFICIENT_PERMISSIONS" -_AE = "AUTHCODE_EXPIRED" -_SE = "SERVER_ERROR" -_se = "server_error" -_IR = "INVALID_REQUEST" -_RNF = "RESOURCE_NOT_FOUND" -_CONFLICT = "CONFLICT" -_SQE = "SERVICE_QUOTA_EXCEEDED" -_OUGT = "OAUTH_UNSUPPORTED_GRANT_TYPE" -_ugt = "unsupported_grant_type" -_OIR = "OAUTH_INVALID_REQUEST" -_ir = "invalid_request" -_OIG = "OAUTH_INVALID_GRANT" -_ig = "invalid_grant" -_OIS = "OAUTH_INVALID_SCOPE" -_is = "invalid_scope" -_OIT = "OAUTH_INVALID_TARGET" -_it = "invalid_target" -_ORE = "OAUTH_RATE_EXCEEDED" -_re = "rate_exceeded" -_OSU = "OAUTH_SERVICE_UNAVAILABLE" -_su = "service_unavailable" -_ADE = "AccessDeniedException" -_s = "smithy.api#error" -_c = "client" -_e = "error" -_sm = "smithy.api#required" -_m = "message" -_AT = "AccessToken" -_smi = "smithy.api#sensitive" -_aKI = "accessKeyId" -_sN = "smithy.api#jsonName" -_sAK = "secretAccessKey" -_sT = "sessionToken" -_AI = "AccountId" -_AC = "AuthorizationCode" -_BTEI = "BearerTokenExpiresIn" -_BTT = "BearerTokenType" -_CCGT = "ClientCredentialsGrantType" -_CI = "ClientId" -_CT = "ClientToken" -_CV = "CodeVerifier" -_CVo = "ConditionValues" -_me = "member" -_C = "Condition" -_k = "key" -_v = "value" -_CTo = "ConditionType" -_CB = "ConditionBlock" -_CE = "ConflictException" -_sE = "smithy.api#httpError" -_CPMR = "ConsolePermissionMaxResults" -_TD = "TokenDuration" -_R = "Resource" -_CBTI = "CreateBearerTokenInput" -_sSI = "smithy.synthetic#originalShapeId" -_cCBTR = "com.amazonaws.signin#CreateBearerTokenRequest" -_smit = "smithy.api#input" -_gT = "grantType" -_gt = "grant_type" -_r = "resource" -_dS = "durationSeconds" -_d = "duration" -_OAAT = "OAuthAccessToken" -_CBTO = "CreateBearerTokenOutput" -_cCBTRo = "com.amazonaws.signin#CreateBearerTokenResponse" -_smith = "smithy.api#output" -_aT = "accessToken" -_at = "access_token" -_tT = "tokenType" -_tt = "token_type" -_eI = "expiresIn" -_ei = "expires_in" -_ISE = "InternalServerException" -_ser = "server" -_TMRE = "TooManyRequestsError" -_VE = "ValidationException" -_CBT = "CreateBearerToken" -_sCP = "smithy.rules#staticContextParams" -_smithy = "smithy.api#http" -_GT = "GrantType" -_RU = "RedirectUri" -_RT = "RefreshToken" -_COATRB = "CreateOAuth2TokenRequestBody" -_cI = "clientId" -_co = "code" -_rU = "redirectUri" -_cV = "codeVerifier" -_rT = "refreshToken" -_COATI = "CreateOAuth2TokenInput" -_cCOATR = "com.amazonaws.signin#CreateOAuth2TokenRequest" -_tI = "tokenInput" -_sP = "smithy.api#httpPayload" -_EI = "ExpiresIn" -_IT = "IdToken" -_TT = "TokenType" -_COATRBr = "CreateOAuth2TokenResponseBody" -_iT = "idToken" -_COATO = "CreateOAuth2TokenOutput" -_cCOATRo = "com.amazonaws.signin#CreateOAuth2TokenResponse" -_tO = "tokenOutput" -_COAT = "CreateOAuth2Token" -_COATWIAMI = "CreateOAuth2TokenWithIAMInput" -_cCOATWIAMR = "com.amazonaws.signin#CreateOAuth2TokenWithIAMRequest" -_TEI = "TokenExpiresIn" -_COATWIAMO = "CreateOAuth2TokenWithIAMOutput" -_cCOATWIAMRo = "com.amazonaws.signin#CreateOAuth2TokenWithIAMResponse" -_COATWIAM = "CreateOAuth2TokenWithIAM" -_TEGT = "TokenExchangeGrantType" -_S = "Scope" -_ST = "SubjectToken" -_STT = "SubjectTokenType" -_COATWTEI = "CreateOAuth2TokenWithTokenExchangeInput" -_cCOATWTER = "com.amazonaws.signin#CreateOAuth2TokenWithTokenExchangeRequest" -_sTu = "subjectToken" -_st = "subject_token" -_sTT = "subjectTokenType" -_stt = "subject_token_type" -_sc = "scope" -_IOAATT = "IssuedOAuthAccessTokenType" -_COATWTEO = "CreateOAuth2TokenWithTokenExchangeOutput" -_cCOATWTERo = "com.amazonaws.signin#CreateOAuth2TokenWithTokenExchangeResponse" -_iTT = "issuedTokenType" -_itt = "issued_token_type" -_IGE = "InvalidGrantException" -_ISEn = "InvalidScopeException" -_SUE = "ServiceUnavailableException" -_COATWTE = "CreateOAuth2TokenWithTokenExchange" -_TI = "TargetId" -_DCACI = "DeleteConsoleAuthorizationConfigurationInput" -_tIa = "targetId" -_DCACO = "DeleteConsoleAuthorizationConfigurationOutput" -_cAE = "consoleAuthorizationEnabled" -_RNFE = "ResourceNotFoundException" -_DCAC = "DeleteConsoleAuthorizationConfiguration" -_SI = "StatementId" -_DRPSI = "DeleteResourcePermissionStatementInput" -_sI = "statementId" -_cT = "clientToken" -_sTm = "smithy.api#idempotencyToken" -_DRPSO = "DeleteResourcePermissionStatementOutput" -_DRPS = "DeleteResourcePermissionStatement" -_EP = "ExcludedPrincipal" -_GCACI = "GetConsoleAuthorizationConfigurationInput" -_GCACO = "GetConsoleAuthorizationConfigurationOutput" -_GCAC = "GetConsoleAuthorizationConfiguration" -_GRPI = "GetResourcePolicyInput" -_PA = "PolicyActions" -_P = "Principal" -_PS = "PolicyStatement" -_ef = "effect" -_E = "Effect" -_p = "principal" -_a = "action" -_A = "Action" -_con = "condition" -_PSo = "PolicyStatements" -_SRBP = "SigninResourceBasedPolicy" -_ve = "version" -_V = "Version" -_sta = "statement" -_St = "Statement" -_GRPO = "GetResourcePolicyOutput" -_sRBP = "signinResourceBasedPolicy" -_GRP = "GetResourcePolicy" -_ITT = "IntrospectedTokenType" -_ITn = "IntrospectionToken" -_TTH = "TokenTypeHint" -_IOATWIAMI = "IntrospectOAuth2TokenWithIAMInput" -_cIOATWIAMR = "com.amazonaws.signin#IntrospectOAuth2TokenWithIAMRequest" -_t = "token" -_tTH = "tokenTypeHint" -_tth = "token_type_hint" -_IOATWIAMO = "IntrospectOAuth2TokenWithIAMOutput" -_cIOATWIAMRo = "com.amazonaws.signin#IntrospectOAuth2TokenWithIAMResponse" -_ac = "active" -_ci = "client_id" -_uI = "userId" -_ui = "user_id" -_ex = "exp" -_i = "iat" -_n = "nbf" -_sub = "sub" -_au = "aud" -_iss = "iss" -_j = "jti" -_aI = "accountId" -_ai = "account_id" -_sS = "signinSession" -_ss = "signin_session" -_IOATWIAM = "IntrospectOAuth2TokenWithIAM" -_NT = "NextToken" -_LRPSI = "ListResourcePermissionStatementsInput" -_mR = "maxResults" -_nT = "nextToken" -_PSS = "PermissionStatementSummary" -_si = "sid" -_PSSe = "PermissionStatementSummaries" -_LRPSO = "ListResourcePermissionStatementsOutput" -_pS = "permissionStatements" -_LRPS = "ListResourcePermissionStatements" -_PCACI = "PutConsoleAuthorizationConfigurationInput" -_PCACO = "PutConsoleAuthorizationConfigurationOutput" -_PCAC = "PutConsoleAuthorizationConfiguration" -_SV = "SourceVpce" -_RR = "RequestedRegion" -_SIo = "SourceIp" -_SVo = "SourceVpc" -_VSI = "VpcSourceIp" -_PRPSI = "PutResourcePermissionStatementInput" -_sVo = "sourceVpc" -_sSV = "signinSourceVpce" -_cSV = "consoleSourceVpce" -_vSI = "vpcSourceIp" -_sIo = "sourceIp" -_rR = "requestedRegion" -_eP = "excludedPrincipal" -_PRPSO = "PutResourcePermissionStatementOutput" -_SQEE = "ServiceQuotaExceededException" -_PRPS = "PutResourcePermissionStatement" -_RTe = "RevocationToken" -_ROATWIAMI = "RevokeOAuth2TokenWithIAMInput" -_cROATWIAMR = "com.amazonaws.signin#RevokeOAuth2TokenWithIAMRequest" -_ROATWIAMO = "RevokeOAuth2TokenWithIAMOutput" -_cROATWIAMRo = "com.amazonaws.signin#RevokeOAuth2TokenWithIAMResponse" -_ROATWIAM = "RevokeOAuth2TokenWithIAM" -_Si = "Signin" -_aw = "aws.auth#sigv4" -_aws = "aws.api#service" -_aJ = "aws.protocols#restJson1" - -O_AUTH2_ERROR_CODE: StaticSchema = ( - 14, - n0, - _OAEC, - 0, - ( - _TE, - _UCC, - _IP, - _AE, - _SE, - _IR, - _RNF, - _CONFLICT, - _SQE, - _OUGT, - _OIR, - _OIG, - _OIS, - _OIT, - _ORE, - _OSU, - ), - ( - (-1, {_sV: _TE}), - (-1, {_sV: _UCC}), - (-1, {_sV: _IP}), - (-1, {_sV: _AE}), - (-1, {_sV: _se}), - (-1, {_sV: _IR}), - (-1, {_sV: _RNF}), - (-1, {_sV: _CONFLICT}), - (-1, {_sV: _SQE}), - (-1, {_sV: _ugt}), - (-1, {_sV: _ir}), - (-1, {_sV: _ig}), - (-1, {_sV: _is}), - (-1, {_sV: _it}), - (-1, {_sV: _re}), - (-1, {_sV: _su}), - ), -) - -ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _ADE, - {_s: _c}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -ACCESS_TOKEN: StaticSchema = ( - 18, - n0, - _AT, - 4, - (_aKI, _sAK, _sT), - ( - (3, {_sN: _aKI, _sm: None}), - (3, {_sN: _sAK, _sm: None}), - (3, {_sN: _sT, _sm: None}), - ), -) - -ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) - -AUTHORIZATION_CODE: StaticSchema = (3, n0, _AC, 0) - -BEARER_TOKEN_EXPIRES_IN: StaticSchema = (7, n0, _BTEI, 0) - -BEARER_TOKEN_TYPE: StaticSchema = (3, n0, _BTT, 0) - -CLIENT_CREDENTIALS_GRANT_TYPE: StaticSchema = (3, n0, _CCGT, 0) - -CLIENT_ID: StaticSchema = (3, n0, _CI, 0) - -CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) - -CODE_VERIFIER: StaticSchema = (3, n0, _CV, 0) - -CONDITION_VALUES: StaticSchema = (16, n0, _CVo, 0, (_me,), ((3, 0),)) - -CONDITION: StaticSchema = (17, n0, _C, 0, (_k, _v), ((3, 0), (CONDITION_VALUES, 0))) - -CONDITION_TYPE: StaticSchema = (3, n0, _CTo, 0) - -CONDITION_BLOCK: StaticSchema = ( - 17, - n0, - _CB, - 0, - (_k, _v), - ((CONDITION_TYPE, 0), (CONDITION, 0)), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CE, - {_s: _c, _sE: 409}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -CONSOLE_PERMISSION_MAX_RESULTS: StaticSchema = (7, n0, _CPMR, 0) - -TOKEN_DURATION: StaticSchema = (7, n0, _TD, 0) - -RESOURCE: StaticSchema = (3, n0, _R, 0) - -CREATE_BEARER_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _CBTI, - {_sSI: _cCBTR, _smit: None}, - (_gT, _r, _dS), - ( - (CLIENT_CREDENTIALS_GRANT_TYPE, {_sN: _gt, _sm: None}), - (RESOURCE, 1), - (TOKEN_DURATION, {_sN: _d}), - ), -) - -O_AUTH_ACCESS_TOKEN: StaticSchema = (3, n0, _OAAT, 4) - -CREATE_BEARER_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _CBTO, - {_sSI: _cCBTRo, _smith: None}, - (_aT, _tT, _eI), - ( - (O_AUTH_ACCESS_TOKEN, {_sN: _at, _sm: None}), - (BEARER_TOKEN_TYPE, {_sN: _tt, _sm: None}), - (BEARER_TOKEN_EXPIRES_IN, {_sN: _ei, _sm: None}), - ), -) - -INTERNAL_SERVER_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - {_s: _ser, _sE: 500}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -TOO_MANY_REQUESTS_ERROR: StaticSchema = ( - 18, - n0, - _TMRE, - {_s: _c, _sE: 429}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - {_s: _c, _sE: 400}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -CREATE_BEARER_TOKEN: StaticOperationSchema = ( - 23, - n0, - _CBT, - { - _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/v1/token?x-amz-token-request-type=bearer"} - ), - }, - CREATE_BEARER_TOKEN_INPUT, - CREATE_BEARER_TOKEN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -GRANT_TYPE: StaticSchema = (3, n0, _GT, 0) - -REDIRECT_URI: StaticSchema = (3, n0, _RU, 0) - -REFRESH_TOKEN: StaticSchema = (3, n0, _RT, 4) - -CREATE_O_AUTH2_TOKEN_REQUEST_BODY: StaticSchema = ( - 18, - n0, - _COATRB, - 0, - (_cI, _gT, _co, _rU, _cV, _rT), - ( - (CLIENT_ID, {_sN: _cI, _sm: None}), - (GRANT_TYPE, {_sN: _gT, _sm: None}), - (AUTHORIZATION_CODE, 0), - (REDIRECT_URI, {_sN: _rU}), - (CODE_VERIFIER, {_sN: _cV}), - (REFRESH_TOKEN, {_sN: _rT}), - ), -) - -CREATE_O_AUTH2_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _COATI, - {_sSI: _cCOATR, _smit: None}, - (_tI,), - ((CREATE_O_AUTH2_TOKEN_REQUEST_BODY, 17),), -) - -EXPIRES_IN: StaticSchema = (7, n0, _EI, 0) - -ID_TOKEN: StaticSchema = (3, n0, _IT, 0) - -TOKEN_TYPE: StaticSchema = (3, n0, _TT, 0) - -CREATE_O_AUTH2_TOKEN_RESPONSE_BODY: StaticSchema = ( - 18, - n0, - _COATRBr, - 0, - (_aT, _tT, _eI, _rT, _iT), - ( - (ACCESS_TOKEN, {_sN: _aT, _sm: None}), - (TOKEN_TYPE, {_sN: _tT, _sm: None}), - (EXPIRES_IN, {_sN: _eI, _sm: None}), - (REFRESH_TOKEN, {_sN: _rT, _sm: None}), - (ID_TOKEN, {_sN: _iT}), - ), -) - -CREATE_O_AUTH2_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _COATO, - {_sSI: _cCOATRo, _smith: None}, - (_tO,), - ((CREATE_O_AUTH2_TOKEN_RESPONSE_BODY, 17),), -) - -CREATE_O_AUTH2_TOKEN: StaticOperationSchema = ( - 23, - n0, - _COAT, - { - _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": False})}), - _smithy: MappingProxyType({"method": "POST", "uri": "/v1/token"}), - }, - CREATE_O_AUTH2_TOKEN_INPUT, - CREATE_O_AUTH2_TOKEN_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -CREATE_O_AUTH2_TOKEN_WITH_IAM_INPUT: StaticSchema = ( - 18, - n0, - _COATWIAMI, - {_sSI: _cCOATWIAMR, _smit: None}, - (_gT, _r), - ((CLIENT_CREDENTIALS_GRANT_TYPE, {_sN: _gt, _sm: None}), (RESOURCE, 1)), -) - -TOKEN_EXPIRES_IN: StaticSchema = (7, n0, _TEI, 0) - -CREATE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT: StaticSchema = ( - 18, - n0, - _COATWIAMO, - {_sSI: _cCOATWIAMRo, _smith: None}, - (_aT, _tT, _eI), - ( - (O_AUTH_ACCESS_TOKEN, {_sN: _at, _sm: None}), - (BEARER_TOKEN_TYPE, {_sN: _tt, _sm: None}), - (TOKEN_EXPIRES_IN, {_sN: _ei, _sm: None}), - ), -) - -CREATE_O_AUTH2_TOKEN_WITH_IAM: StaticOperationSchema = ( - 23, - n0, - _COATWIAM, - { - _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/v1/token?x-amz-client-auth-method=iam"} - ), - }, - CREATE_O_AUTH2_TOKEN_WITH_IAM_INPUT, - CREATE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -TOKEN_EXCHANGE_GRANT_TYPE: StaticSchema = (3, n0, _TEGT, 0) - -SCOPE: StaticSchema = (3, n0, _S, 0) - -SUBJECT_TOKEN: StaticSchema = (3, n0, _ST, 4) - -SUBJECT_TOKEN_TYPE: StaticSchema = (3, n0, _STT, 0) - -CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_INPUT: StaticSchema = ( - 18, - n0, - _COATWTEI, - {_sSI: _cCOATWTER, _smit: None}, - (_gT, _sTu, _sTT, _r, _sc), - ( - (TOKEN_EXCHANGE_GRANT_TYPE, {_sN: _gt, _sm: None}), - (SUBJECT_TOKEN, {_sN: _st}), - (SUBJECT_TOKEN_TYPE, {_sN: _stt}), - (RESOURCE, 0), - (SCOPE, 0), - ), -) - -ISSUED_O_AUTH_ACCESS_TOKEN_TYPE: StaticSchema = (3, n0, _IOAATT, 0) - -CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_OUTPUT: StaticSchema = ( - 18, - n0, - _COATWTEO, - {_sSI: _cCOATWTERo, _smith: None}, - (_aT, _iTT, _tT, _eI), - ( - (O_AUTH_ACCESS_TOKEN, {_sN: _at, _sm: None}), - (ISSUED_O_AUTH_ACCESS_TOKEN_TYPE, {_sN: _itt}), - (BEARER_TOKEN_TYPE, {_sN: _tt, _sm: None}), - (TOKEN_EXPIRES_IN, {_sN: _ei, _sm: None}), - ), -) - -INVALID_GRANT_EXCEPTION: StaticSchema = ( - 18, - n0, - _IGE, - {_s: _c, _sE: 400}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -INVALID_SCOPE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISEn, - {_s: _c, _sE: 400}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SUE, - {_s: _ser, _sE: 503}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE: StaticOperationSchema = ( - 23, - n0, - _COATWTE, - { - _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - { - "method": "POST", - "uri": "/v1/token?x-amz-oauth-token-method=token-exchange", - } - ), - }, - CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_INPUT, - CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_OUTPUT, - ( - INTERNAL_SERVER_EXCEPTION, - INVALID_GRANT_EXCEPTION, - INVALID_SCOPE_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -TARGET_ID: StaticSchema = (3, n0, _TI, 0) - -DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _DCACI, - {_smit: None}, - (_tIa,), - ((TARGET_ID, 0),), -) - -DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DCACO, - {_smith: None}, - (_tIa, _sc, _cAE), - ((TARGET_ID, 1), (3, 1), (2, 1)), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_s: _c, _sE: 404}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _DCAC, - { - _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/delete-console-authorization-configuration"} - ), - }, - DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT, - DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -STATEMENT_ID: StaticSchema = (3, n0, _SI, 0) - -DELETE_RESOURCE_PERMISSION_STATEMENT_INPUT: StaticSchema = ( - 18, - n0, - _DRPSI, - {_smit: None}, - (_sI, _cT), - ((STATEMENT_ID, 1), (CLIENT_TOKEN, 2)), -) - -DELETE_RESOURCE_PERMISSION_STATEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _DRPSO, - {_smith: None}, -) - -DELETE_RESOURCE_PERMISSION_STATEMENT: StaticOperationSchema = ( - 23, - n0, - _DRPS, - { - _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/delete-resource-permission-statement"} - ), - }, - DELETE_RESOURCE_PERMISSION_STATEMENT_INPUT, - DELETE_RESOURCE_PERMISSION_STATEMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -EXCLUDED_PRINCIPAL: StaticSchema = (3, n0, _EP, 0) - -GET_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _GCACI, - {_smit: None}, - (_tIa,), - ((TARGET_ID, 0),), -) - -GET_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _GCACO, - {_smith: None}, - (_tIa, _sc, _cAE), - ((TARGET_ID, 1), (3, 1), (2, 1)), -) - -GET_CONSOLE_AUTHORIZATION_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _GCAC, - { - _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/get-console-authorization-configuration"} - ), - }, - GET_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT, - GET_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -GET_RESOURCE_POLICY_INPUT: StaticSchema = (18, n0, _GRPI, {_smit: None}) - -POLICY_ACTIONS: StaticSchema = (16, n0, _PA, 0, (_me,), ((3, 0),)) - -PRINCIPAL: StaticSchema = (17, n0, _P, 0, (_k, _v), ((3, 0), (3, 0))) - -POLICY_STATEMENT: StaticSchema = ( - 18, - n0, - _PS, - 0, - (_ef, _p, _a, _r, _con), - ( - (3, {_sN: _E}), - (PRINCIPAL, {_sN: _P}), - (POLICY_ACTIONS, {_sN: _A}), - (3, {_sN: _R}), - (CONDITION_BLOCK, {_sN: _C}), - ), -) - -POLICY_STATEMENTS: StaticSchema = (16, n0, _PSo, 0, (_me,), ((POLICY_STATEMENT, 0),)) - -SIGNIN_RESOURCE_BASED_POLICY: StaticSchema = ( - 18, - n0, - _SRBP, - 0, - (_ve, _sta), - ((3, {_sN: _V}), (POLICY_STATEMENTS, {_sN: _St})), -) - -GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GRPO, - {_smith: None}, - (_sRBP,), - ((SIGNIN_RESOURCE_BASED_POLICY, 1),), -) - -GET_RESOURCE_POLICY: StaticOperationSchema = ( - 23, - n0, - _GRP, - { - _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), - _smithy: MappingProxyType({"method": "POST", "uri": "/get-resource-policy"}), - }, - GET_RESOURCE_POLICY_INPUT, - GET_RESOURCE_POLICY_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - ), -) - -INTROSPECTED_TOKEN_TYPE: StaticSchema = (3, n0, _ITT, 0) - -INTROSPECTION_TOKEN: StaticSchema = (3, n0, _ITn, 4) - -TOKEN_TYPE_HINT: StaticSchema = (3, n0, _TTH, 0) - -INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_INPUT: StaticSchema = ( - 18, - n0, - _IOATWIAMI, - {_sSI: _cIOATWIAMR, _smit: None}, - (_t, _tTH), - ((INTROSPECTION_TOKEN, {_sN: _t, _sm: None}), (TOKEN_TYPE_HINT, {_sN: _tth})), -) - -INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_OUTPUT: StaticSchema = ( - 18, - n0, - _IOATWIAMO, - {_sSI: _cIOATWIAMRo, _smith: None}, - (_ac, _cI, _uI, _tT, _ex, _i, _n, _sub, _au, _iss, _j, _aI, _sS, _r), - ( - (2, 1), - (3, {_sN: _ci}), - (3, {_sN: _ui}), - (INTROSPECTED_TOKEN_TYPE, {_sN: _tt}), - (8, {_sN: _ex}), - (8, {_sN: _i}), - (8, {_sN: _n}), - (3, {_sN: _sub}), - (3, {_sN: _au}), - (3, {_sN: _iss}), - (3, {_sN: _j}), - (ACCOUNT_ID, {_sN: _ai}), - (3, {_sN: _ss}), - (RESOURCE, {_sN: _r}), - ), -) - -INTROSPECT_O_AUTH2_TOKEN_WITH_IAM: StaticOperationSchema = ( - 23, - n0, - _IOATWIAM, - { - _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/v1/introspect?x-amz-client-auth-method=iam"} - ), - }, - INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_INPUT, - INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) - -LIST_RESOURCE_PERMISSION_STATEMENTS_INPUT: StaticSchema = ( - 18, - n0, - _LRPSI, - {_smit: None}, - (_mR, _nT), - ((CONSOLE_PERMISSION_MAX_RESULTS, 0), (NEXT_TOKEN, 0)), -) - -PERMISSION_STATEMENT_SUMMARY: StaticSchema = ( - 18, - n0, - _PSS, - 0, - (_si, _con), - ((STATEMENT_ID, 1), (CONDITION_BLOCK, 0)), -) - -PERMISSION_STATEMENT_SUMMARIES: StaticSchema = ( - 16, - n0, - _PSSe, - 0, - (_me,), - ((PERMISSION_STATEMENT_SUMMARY, 0),), -) - -LIST_RESOURCE_PERMISSION_STATEMENTS_OUTPUT: StaticSchema = ( - 18, - n0, - _LRPSO, - {_smith: None}, - (_pS, _nT), - ((PERMISSION_STATEMENT_SUMMARIES, 1), (NEXT_TOKEN, 0)), -) - -LIST_RESOURCE_PERMISSION_STATEMENTS: StaticOperationSchema = ( - 23, - n0, - _LRPS, - { - _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/list-resource-permission-statements"} - ), - }, - LIST_RESOURCE_PERMISSION_STATEMENTS_INPUT, - LIST_RESOURCE_PERMISSION_STATEMENTS_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT: StaticSchema = ( - 18, - n0, - _PCACI, - {_smit: None}, - (_tIa,), - ((TARGET_ID, 0),), -) - -PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( - 18, - n0, - _PCACO, - {_smith: None}, - (_tIa, _sc, _cAE), - ((TARGET_ID, 1), (3, 1), (2, 1)), -) - -PUT_CONSOLE_AUTHORIZATION_CONFIGURATION: StaticOperationSchema = ( - 23, - n0, - _PCAC, - { - _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/put-console-authorization-configuration"} - ), - }, - PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT, - PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -SOURCE_VPCE: StaticSchema = (3, n0, _SV, 0) - -REQUESTED_REGION: StaticSchema = (3, n0, _RR, 0) - -SOURCE_IP: StaticSchema = (3, n0, _SIo, 0) - -SOURCE_VPC: StaticSchema = (3, n0, _SVo, 0) - -VPC_SOURCE_IP: StaticSchema = (3, n0, _VSI, 0) - -PUT_RESOURCE_PERMISSION_STATEMENT_INPUT: StaticSchema = ( - 18, - n0, - _PRPSI, - {_smit: None}, - (_sVo, _sSV, _cSV, _vSI, _sIo, _rR, _eP, _cT), - ( - (SOURCE_VPC, 0), - (SOURCE_VPCE, 0), - (SOURCE_VPCE, 0), - (VPC_SOURCE_IP, 0), - (SOURCE_IP, 0), - (REQUESTED_REGION, 0), - (EXCLUDED_PRINCIPAL, 0), - (CLIENT_TOKEN, 2), - ), -) - -PUT_RESOURCE_PERMISSION_STATEMENT_OUTPUT: StaticSchema = ( - 18, - n0, - _PRPSO, - {_smith: None}, - (_sI,), - ((STATEMENT_ID, 1),), -) - -SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SQEE, - {_s: _c, _sE: 402}, - (_e, _m), - ((O_AUTH2_ERROR_CODE, 1), (3, 1)), -) - -PUT_RESOURCE_PERMISSION_STATEMENT: StaticOperationSchema = ( - 23, - n0, - _PRPS, - { - _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/put-resource-permission-statement"} - ), - }, - PUT_RESOURCE_PERMISSION_STATEMENT_INPUT, - PUT_RESOURCE_PERMISSION_STATEMENT_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - SERVICE_QUOTA_EXCEEDED_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -REVOCATION_TOKEN: StaticSchema = (3, n0, _RTe, 4) - -REVOKE_O_AUTH2_TOKEN_WITH_IAM_INPUT: StaticSchema = ( - 18, - n0, - _ROATWIAMI, - {_sSI: _cROATWIAMR, _smit: None}, - (_t,), - ((REVOCATION_TOKEN, {_sN: _t, _sm: None}),), -) - -REVOKE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT: StaticSchema = ( - 18, - n0, - _ROATWIAMO, - {_sSI: _cROATWIAMRo, _smith: None}, -) - -REVOKE_O_AUTH2_TOKEN_WITH_IAM: StaticOperationSchema = ( - 23, - n0, - _ROATWIAM, - { - _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), - _smithy: MappingProxyType( - {"method": "POST", "uri": "/v1/revoke?x-amz-client-auth-method=iam"} - ), - }, - REVOKE_O_AUTH2_TOKEN_WITH_IAM_INPUT, - REVOKE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT, - ( - ACCESS_DENIED_EXCEPTION, - INTERNAL_SERVER_EXCEPTION, - TOO_MANY_REQUESTS_ERROR, - VALIDATION_EXCEPTION, - ), -) - -SIGNIN: StaticSchema = ( - 21, - n0, - _Si, - { - _aw: MappingProxyType({"name": "signin"}), - _aws: MappingProxyType( - {"sdkId": "Signin", "arnNamespace": "signin", "endpointPrefix": "signin"} - ), - _aJ: None, - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "O_AUTH2_ERROR_CODE", + "ACCESS_DENIED_EXCEPTION", + "ACCESS_TOKEN", + "ACCOUNT_ID", + "AUTHORIZATION_CODE", + "BEARER_TOKEN_EXPIRES_IN", + "BEARER_TOKEN_TYPE", + "CLIENT_CREDENTIALS_GRANT_TYPE", + "CLIENT_ID", + "CLIENT_TOKEN", + "CODE_VERIFIER", + "CONDITION_VALUES", + "CONDITION", + "CONDITION_TYPE", + "CONDITION_BLOCK", + "CONFLICT_EXCEPTION", + "CONSOLE_PERMISSION_MAX_RESULTS", + "TOKEN_DURATION", + "RESOURCE", + "CREATE_BEARER_TOKEN_INPUT", + "CREATE_BEARER_TOKEN_OUTPUT", + "CREATE_BEARER_TOKEN", + "O_AUTH_ACCESS_TOKEN", + "INTERNAL_SERVER_EXCEPTION", + "TOO_MANY_REQUESTS_ERROR", + "VALIDATION_EXCEPTION", + "GRANT_TYPE", + "REDIRECT_URI", + "REFRESH_TOKEN", + "CREATE_O_AUTH2_TOKEN_REQUEST_BODY", + "CREATE_O_AUTH2_TOKEN_INPUT", + "CREATE_O_AUTH2_TOKEN_OUTPUT", + "CREATE_O_AUTH2_TOKEN", + "EXPIRES_IN", + "ID_TOKEN", + "TOKEN_TYPE", + "CREATE_O_AUTH2_TOKEN_RESPONSE_BODY", + "CREATE_O_AUTH2_TOKEN_WITH_IAM_INPUT", + "CREATE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT", + "CREATE_O_AUTH2_TOKEN_WITH_IAM", + "TOKEN_EXPIRES_IN", + "TOKEN_EXCHANGE_GRANT_TYPE", + "SCOPE", + "SUBJECT_TOKEN", + "SUBJECT_TOKEN_TYPE", + "CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_INPUT", + "CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_OUTPUT", + "CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE", + "ISSUED_O_AUTH_ACCESS_TOKEN_TYPE", + "INVALID_GRANT_EXCEPTION", + "INVALID_SCOPE_EXCEPTION", + "SERVICE_UNAVAILABLE_EXCEPTION", + ), + ( + "TARGET_ID", + "DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT", + "DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT", + "DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION", + "RESOURCE_NOT_FOUND_EXCEPTION", + "STATEMENT_ID", + "DELETE_RESOURCE_PERMISSION_STATEMENT_INPUT", + "DELETE_RESOURCE_PERMISSION_STATEMENT_OUTPUT", + "DELETE_RESOURCE_PERMISSION_STATEMENT", + "EXCLUDED_PRINCIPAL", + "GET_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT", + "GET_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT", + "GET_CONSOLE_AUTHORIZATION_CONFIGURATION", + "GET_RESOURCE_POLICY_INPUT", + "GET_RESOURCE_POLICY_OUTPUT", + "GET_RESOURCE_POLICY", + "POLICY_ACTIONS", + "PRINCIPAL", + "POLICY_STATEMENT", + "POLICY_STATEMENTS", + "SIGNIN_RESOURCE_BASED_POLICY", + "INTROSPECTED_TOKEN_TYPE", + "INTROSPECTION_TOKEN", + "TOKEN_TYPE_HINT", + "INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_INPUT", + "INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_OUTPUT", + "INTROSPECT_O_AUTH2_TOKEN_WITH_IAM", + "NEXT_TOKEN", + "LIST_RESOURCE_PERMISSION_STATEMENTS_INPUT", + "LIST_RESOURCE_PERMISSION_STATEMENTS_OUTPUT", + "LIST_RESOURCE_PERMISSION_STATEMENTS", + "PERMISSION_STATEMENT_SUMMARY", + "PERMISSION_STATEMENT_SUMMARIES", + "PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT", + "PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT", + "PUT_CONSOLE_AUTHORIZATION_CONFIGURATION", + "SOURCE_VPCE", + "REQUESTED_REGION", + "SOURCE_IP", + "SOURCE_VPC", + "VPC_SOURCE_IP", + "PUT_RESOURCE_PERMISSION_STATEMENT_INPUT", + "PUT_RESOURCE_PERMISSION_STATEMENT_OUTPUT", + "PUT_RESOURCE_PERMISSION_STATEMENT", + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "REVOCATION_TOKEN", + "REVOKE_O_AUTH2_TOKEN_WITH_IAM_INPUT", + "REVOKE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT", + "REVOKE_O_AUTH2_TOKEN_WITH_IAM", + "SIGNIN", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas_0.py b/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas_0.py new file mode 100644 index 000000000..79a2b9494 --- /dev/null +++ b/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas_0.py @@ -0,0 +1,540 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.signin" +_OAEC = "OAuth2ErrorCode" +_TE = "TOKEN_EXPIRED" +_sV = "smithy.api#enumValue" +_UCC = "USER_CREDENTIALS_CHANGED" +_IP = "INSUFFICIENT_PERMISSIONS" +_AE = "AUTHCODE_EXPIRED" +_SE = "SERVER_ERROR" +_se = "server_error" +_IR = "INVALID_REQUEST" +_RNF = "RESOURCE_NOT_FOUND" +_CONFLICT = "CONFLICT" +_SQE = "SERVICE_QUOTA_EXCEEDED" +_OUGT = "OAUTH_UNSUPPORTED_GRANT_TYPE" +_ugt = "unsupported_grant_type" +_OIR = "OAUTH_INVALID_REQUEST" +_ir = "invalid_request" +_OIG = "OAUTH_INVALID_GRANT" +_ig = "invalid_grant" +_OIS = "OAUTH_INVALID_SCOPE" +_is = "invalid_scope" +_OIT = "OAUTH_INVALID_TARGET" +_it = "invalid_target" +_ORE = "OAUTH_RATE_EXCEEDED" +_re = "rate_exceeded" +_OSU = "OAUTH_SERVICE_UNAVAILABLE" +_su = "service_unavailable" +_ADE = "AccessDeniedException" +_s = "smithy.api#error" +_c = "client" +_e = "error" +_sm = "smithy.api#required" +_m = "message" +_AT = "AccessToken" +_smi = "smithy.api#sensitive" +_aKI = "accessKeyId" +_sN = "smithy.api#jsonName" +_sAK = "secretAccessKey" +_sT = "sessionToken" +_AI = "AccountId" +_AC = "AuthorizationCode" +_BTEI = "BearerTokenExpiresIn" +_BTT = "BearerTokenType" +_CCGT = "ClientCredentialsGrantType" +_CI = "ClientId" +_CT = "ClientToken" +_CV = "CodeVerifier" +_CVo = "ConditionValues" +_me = "member" +_C = "Condition" +_k = "key" +_v = "value" +_CTo = "ConditionType" +_CB = "ConditionBlock" +_CE = "ConflictException" +_sE = "smithy.api#httpError" +_CPMR = "ConsolePermissionMaxResults" +_TD = "TokenDuration" +_R = "Resource" +_CBTI = "CreateBearerTokenInput" +_sSI = "smithy.synthetic#originalShapeId" +_cCBTR = "com.amazonaws.signin#CreateBearerTokenRequest" +_smit = "smithy.api#input" +_gT = "grantType" +_gt = "grant_type" +_r = "resource" +_dS = "durationSeconds" +_d = "duration" +_OAAT = "OAuthAccessToken" +_CBTO = "CreateBearerTokenOutput" +_cCBTRo = "com.amazonaws.signin#CreateBearerTokenResponse" +_smith = "smithy.api#output" +_aT = "accessToken" +_at = "access_token" +_tT = "tokenType" +_tt = "token_type" +_eI = "expiresIn" +_ei = "expires_in" +_ISE = "InternalServerException" +_ser = "server" +_TMRE = "TooManyRequestsError" +_VE = "ValidationException" +_CBT = "CreateBearerToken" +_sCP = "smithy.rules#staticContextParams" +_smithy = "smithy.api#http" +_GT = "GrantType" +_RU = "RedirectUri" +_RT = "RefreshToken" +_COATRB = "CreateOAuth2TokenRequestBody" +_cI = "clientId" +_co = "code" +_rU = "redirectUri" +_cV = "codeVerifier" +_rT = "refreshToken" +_COATI = "CreateOAuth2TokenInput" +_cCOATR = "com.amazonaws.signin#CreateOAuth2TokenRequest" +_tI = "tokenInput" +_sP = "smithy.api#httpPayload" +_EI = "ExpiresIn" +_IT = "IdToken" +_TT = "TokenType" +_COATRBr = "CreateOAuth2TokenResponseBody" +_iT = "idToken" +_COATO = "CreateOAuth2TokenOutput" +_cCOATRo = "com.amazonaws.signin#CreateOAuth2TokenResponse" +_tO = "tokenOutput" +_COAT = "CreateOAuth2Token" +_COATWIAMI = "CreateOAuth2TokenWithIAMInput" +_cCOATWIAMR = "com.amazonaws.signin#CreateOAuth2TokenWithIAMRequest" +_TEI = "TokenExpiresIn" +_COATWIAMO = "CreateOAuth2TokenWithIAMOutput" +_cCOATWIAMRo = "com.amazonaws.signin#CreateOAuth2TokenWithIAMResponse" +_COATWIAM = "CreateOAuth2TokenWithIAM" +_TEGT = "TokenExchangeGrantType" +_S = "Scope" +_ST = "SubjectToken" +_STT = "SubjectTokenType" +_COATWTEI = "CreateOAuth2TokenWithTokenExchangeInput" +_cCOATWTER = "com.amazonaws.signin#CreateOAuth2TokenWithTokenExchangeRequest" +_sTu = "subjectToken" +_st = "subject_token" +_sTT = "subjectTokenType" +_stt = "subject_token_type" +_sc = "scope" +_IOAATT = "IssuedOAuthAccessTokenType" +_COATWTEO = "CreateOAuth2TokenWithTokenExchangeOutput" +_cCOATWTERo = "com.amazonaws.signin#CreateOAuth2TokenWithTokenExchangeResponse" +_iTT = "issuedTokenType" +_itt = "issued_token_type" +_IGE = "InvalidGrantException" +_ISEn = "InvalidScopeException" +_SUE = "ServiceUnavailableException" +_COATWTE = "CreateOAuth2TokenWithTokenExchange" + +O_AUTH2_ERROR_CODE: StaticSchema = ( + 14, + n0, + _OAEC, + 0, + ( + _TE, + _UCC, + _IP, + _AE, + _SE, + _IR, + _RNF, + _CONFLICT, + _SQE, + _OUGT, + _OIR, + _OIG, + _OIS, + _OIT, + _ORE, + _OSU, + ), + ( + (-1, {_sV: _TE}), + (-1, {_sV: _UCC}), + (-1, {_sV: _IP}), + (-1, {_sV: _AE}), + (-1, {_sV: _se}), + (-1, {_sV: _IR}), + (-1, {_sV: _RNF}), + (-1, {_sV: _CONFLICT}), + (-1, {_sV: _SQE}), + (-1, {_sV: _ugt}), + (-1, {_sV: _ir}), + (-1, {_sV: _ig}), + (-1, {_sV: _is}), + (-1, {_sV: _it}), + (-1, {_sV: _re}), + (-1, {_sV: _su}), + ), +) + +ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _ADE, + {_s: _c}, + (_e, _m), + ((O_AUTH2_ERROR_CODE, 1), (3, 1)), +) + +ACCESS_TOKEN: StaticSchema = ( + 18, + n0, + _AT, + 4, + (_aKI, _sAK, _sT), + ( + (3, {_sN: _aKI, _sm: None}), + (3, {_sN: _sAK, _sm: None}), + (3, {_sN: _sT, _sm: None}), + ), +) + +ACCOUNT_ID: StaticSchema = (3, n0, _AI, 0) + +AUTHORIZATION_CODE: StaticSchema = (3, n0, _AC, 0) + +BEARER_TOKEN_EXPIRES_IN: StaticSchema = (7, n0, _BTEI, 0) + +BEARER_TOKEN_TYPE: StaticSchema = (3, n0, _BTT, 0) + +CLIENT_CREDENTIALS_GRANT_TYPE: StaticSchema = (3, n0, _CCGT, 0) + +CLIENT_ID: StaticSchema = (3, n0, _CI, 0) + +CLIENT_TOKEN: StaticSchema = (3, n0, _CT, 0) + +CODE_VERIFIER: StaticSchema = (3, n0, _CV, 0) + +CONDITION_VALUES: StaticSchema = (16, n0, _CVo, 0, (_me,), ((3, 0),)) + +CONDITION: StaticSchema = (17, n0, _C, 0, (_k, _v), ((3, 0), (CONDITION_VALUES, 0))) + +CONDITION_TYPE: StaticSchema = (3, n0, _CTo, 0) + +CONDITION_BLOCK: StaticSchema = ( + 17, + n0, + _CB, + 0, + (_k, _v), + ((CONDITION_TYPE, 0), (CONDITION, 0)), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CE, + {_s: _c, _sE: 409}, + (_e, _m), + ((O_AUTH2_ERROR_CODE, 1), (3, 1)), +) + +CONSOLE_PERMISSION_MAX_RESULTS: StaticSchema = (7, n0, _CPMR, 0) + +TOKEN_DURATION: StaticSchema = (7, n0, _TD, 0) + +RESOURCE: StaticSchema = (3, n0, _R, 0) + +CREATE_BEARER_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _CBTI, + {_sSI: _cCBTR, _smit: None}, + (_gT, _r, _dS), + ( + (CLIENT_CREDENTIALS_GRANT_TYPE, {_sN: _gt, _sm: None}), + (RESOURCE, 1), + (TOKEN_DURATION, {_sN: _d}), + ), +) + +CREATE_BEARER_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _CBTO, + {_sSI: _cCBTRo, _smith: None}, + (_aT, _tT, _eI), + ( + (lambda: O_AUTH_ACCESS_TOKEN, {_sN: _at, _sm: None}), + (BEARER_TOKEN_TYPE, {_sN: _tt, _sm: None}), + (BEARER_TOKEN_EXPIRES_IN, {_sN: _ei, _sm: None}), + ), +) + +CREATE_BEARER_TOKEN: StaticOperationSchema = ( + 23, + n0, + _CBT, + { + _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/v1/token?x-amz-token-request-type=bearer"} + ), + }, + CREATE_BEARER_TOKEN_INPUT, + CREATE_BEARER_TOKEN_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + lambda: INTERNAL_SERVER_EXCEPTION, + lambda: TOO_MANY_REQUESTS_ERROR, + lambda: VALIDATION_EXCEPTION, + ), +) + +O_AUTH_ACCESS_TOKEN: StaticSchema = (3, n0, _OAAT, 4) + +INTERNAL_SERVER_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + {_s: _ser, _sE: 500}, + (_e, _m), + ((O_AUTH2_ERROR_CODE, 1), (3, 1)), +) + +TOO_MANY_REQUESTS_ERROR: StaticSchema = ( + 18, + n0, + _TMRE, + {_s: _c, _sE: 429}, + (_e, _m), + ((O_AUTH2_ERROR_CODE, 1), (3, 1)), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + {_s: _c, _sE: 400}, + (_e, _m), + ((O_AUTH2_ERROR_CODE, 1), (3, 1)), +) + +GRANT_TYPE: StaticSchema = (3, n0, _GT, 0) + +REDIRECT_URI: StaticSchema = (3, n0, _RU, 0) + +REFRESH_TOKEN: StaticSchema = (3, n0, _RT, 4) + +CREATE_O_AUTH2_TOKEN_REQUEST_BODY: StaticSchema = ( + 18, + n0, + _COATRB, + 0, + (_cI, _gT, _co, _rU, _cV, _rT), + ( + (CLIENT_ID, {_sN: _cI, _sm: None}), + (GRANT_TYPE, {_sN: _gT, _sm: None}), + (AUTHORIZATION_CODE, 0), + (REDIRECT_URI, {_sN: _rU}), + (CODE_VERIFIER, {_sN: _cV}), + (REFRESH_TOKEN, {_sN: _rT}), + ), +) + +CREATE_O_AUTH2_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _COATI, + {_sSI: _cCOATR, _smit: None}, + (_tI,), + ((CREATE_O_AUTH2_TOKEN_REQUEST_BODY, 17),), +) + +CREATE_O_AUTH2_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _COATO, + {_sSI: _cCOATRo, _smith: None}, + (_tO,), + ((lambda: CREATE_O_AUTH2_TOKEN_RESPONSE_BODY, 17),), +) + +CREATE_O_AUTH2_TOKEN: StaticOperationSchema = ( + 23, + n0, + _COAT, + { + _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": False})}), + _smithy: MappingProxyType({"method": "POST", "uri": "/v1/token"}), + }, + CREATE_O_AUTH2_TOKEN_INPUT, + CREATE_O_AUTH2_TOKEN_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + TOO_MANY_REQUESTS_ERROR, + VALIDATION_EXCEPTION, + ), +) + +EXPIRES_IN: StaticSchema = (7, n0, _EI, 0) + +ID_TOKEN: StaticSchema = (3, n0, _IT, 0) + +TOKEN_TYPE: StaticSchema = (3, n0, _TT, 0) + +CREATE_O_AUTH2_TOKEN_RESPONSE_BODY: StaticSchema = ( + 18, + n0, + _COATRBr, + 0, + (_aT, _tT, _eI, _rT, _iT), + ( + (ACCESS_TOKEN, {_sN: _aT, _sm: None}), + (TOKEN_TYPE, {_sN: _tT, _sm: None}), + (EXPIRES_IN, {_sN: _eI, _sm: None}), + (REFRESH_TOKEN, {_sN: _rT, _sm: None}), + (ID_TOKEN, {_sN: _iT}), + ), +) + +CREATE_O_AUTH2_TOKEN_WITH_IAM_INPUT: StaticSchema = ( + 18, + n0, + _COATWIAMI, + {_sSI: _cCOATWIAMR, _smit: None}, + (_gT, _r), + ((CLIENT_CREDENTIALS_GRANT_TYPE, {_sN: _gt, _sm: None}), (RESOURCE, 1)), +) + +CREATE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT: StaticSchema = ( + 18, + n0, + _COATWIAMO, + {_sSI: _cCOATWIAMRo, _smith: None}, + (_aT, _tT, _eI), + ( + (O_AUTH_ACCESS_TOKEN, {_sN: _at, _sm: None}), + (BEARER_TOKEN_TYPE, {_sN: _tt, _sm: None}), + (lambda: TOKEN_EXPIRES_IN, {_sN: _ei, _sm: None}), + ), +) + +CREATE_O_AUTH2_TOKEN_WITH_IAM: StaticOperationSchema = ( + 23, + n0, + _COATWIAM, + { + _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/v1/token?x-amz-client-auth-method=iam"} + ), + }, + CREATE_O_AUTH2_TOKEN_WITH_IAM_INPUT, + CREATE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT, + ( + ACCESS_DENIED_EXCEPTION, + INTERNAL_SERVER_EXCEPTION, + TOO_MANY_REQUESTS_ERROR, + VALIDATION_EXCEPTION, + ), +) + +TOKEN_EXPIRES_IN: StaticSchema = (7, n0, _TEI, 0) + +TOKEN_EXCHANGE_GRANT_TYPE: StaticSchema = (3, n0, _TEGT, 0) + +SCOPE: StaticSchema = (3, n0, _S, 0) + +SUBJECT_TOKEN: StaticSchema = (3, n0, _ST, 4) + +SUBJECT_TOKEN_TYPE: StaticSchema = (3, n0, _STT, 0) + +CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_INPUT: StaticSchema = ( + 18, + n0, + _COATWTEI, + {_sSI: _cCOATWTER, _smit: None}, + (_gT, _sTu, _sTT, _r, _sc), + ( + (TOKEN_EXCHANGE_GRANT_TYPE, {_sN: _gt, _sm: None}), + (SUBJECT_TOKEN, {_sN: _st}), + (SUBJECT_TOKEN_TYPE, {_sN: _stt}), + (RESOURCE, 0), + (SCOPE, 0), + ), +) + +CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_OUTPUT: StaticSchema = ( + 18, + n0, + _COATWTEO, + {_sSI: _cCOATWTERo, _smith: None}, + (_aT, _iTT, _tT, _eI), + ( + (O_AUTH_ACCESS_TOKEN, {_sN: _at, _sm: None}), + (lambda: ISSUED_O_AUTH_ACCESS_TOKEN_TYPE, {_sN: _itt}), + (BEARER_TOKEN_TYPE, {_sN: _tt, _sm: None}), + (TOKEN_EXPIRES_IN, {_sN: _ei, _sm: None}), + ), +) + +CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE: StaticOperationSchema = ( + 23, + n0, + _COATWTE, + { + _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + { + "method": "POST", + "uri": "/v1/token?x-amz-oauth-token-method=token-exchange", + } + ), + }, + CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_INPUT, + CREATE_O_AUTH2_TOKEN_WITH_TOKEN_EXCHANGE_OUTPUT, + ( + INTERNAL_SERVER_EXCEPTION, + lambda: INVALID_GRANT_EXCEPTION, + lambda: INVALID_SCOPE_EXCEPTION, + lambda: SERVICE_UNAVAILABLE_EXCEPTION, + TOO_MANY_REQUESTS_ERROR, + VALIDATION_EXCEPTION, + ), +) + +ISSUED_O_AUTH_ACCESS_TOKEN_TYPE: StaticSchema = (3, n0, _IOAATT, 0) + +INVALID_GRANT_EXCEPTION: StaticSchema = ( + 18, + n0, + _IGE, + {_s: _c, _sE: 400}, + (_e, _m), + ((O_AUTH2_ERROR_CODE, 1), (3, 1)), +) + +INVALID_SCOPE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISEn, + {_s: _c, _sE: 400}, + (_e, _m), + ((O_AUTH2_ERROR_CODE, 1), (3, 1)), +) + +SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SUE, + {_s: _ser, _sE: 503}, + (_e, _m), + ((O_AUTH2_ERROR_CODE, 1), (3, 1)), +) diff --git a/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas_1.py b/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas_1.py new file mode 100644 index 000000000..848bbef5f --- /dev/null +++ b/clients/aws-sdk-signin/src/aws_sdk_signin/_private/schemas_1.py @@ -0,0 +1,601 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.signin" +_s = "smithy.api#error" +_c = "client" +_e = "error" +_sm = "smithy.api#required" +_m = "message" +_smi = "smithy.api#sensitive" +_sN = "smithy.api#jsonName" +_me = "member" +_C = "Condition" +_k = "key" +_v = "value" +_sE = "smithy.api#httpError" +_R = "Resource" +_sSI = "smithy.synthetic#originalShapeId" +_smit = "smithy.api#input" +_r = "resource" +_smith = "smithy.api#output" +_tT = "tokenType" +_tt = "token_type" +_sCP = "smithy.rules#staticContextParams" +_smithy = "smithy.api#http" +_cI = "clientId" +_sc = "scope" +_TI = "TargetId" +_DCACI = "DeleteConsoleAuthorizationConfigurationInput" +_tIa = "targetId" +_DCACO = "DeleteConsoleAuthorizationConfigurationOutput" +_cAE = "consoleAuthorizationEnabled" +_RNFE = "ResourceNotFoundException" +_DCAC = "DeleteConsoleAuthorizationConfiguration" +_SI = "StatementId" +_DRPSI = "DeleteResourcePermissionStatementInput" +_sI = "statementId" +_cT = "clientToken" +_sTm = "smithy.api#idempotencyToken" +_DRPSO = "DeleteResourcePermissionStatementOutput" +_DRPS = "DeleteResourcePermissionStatement" +_EP = "ExcludedPrincipal" +_GCACI = "GetConsoleAuthorizationConfigurationInput" +_GCACO = "GetConsoleAuthorizationConfigurationOutput" +_GCAC = "GetConsoleAuthorizationConfiguration" +_GRPI = "GetResourcePolicyInput" +_PA = "PolicyActions" +_P = "Principal" +_PS = "PolicyStatement" +_ef = "effect" +_E = "Effect" +_p = "principal" +_a = "action" +_A = "Action" +_con = "condition" +_PSo = "PolicyStatements" +_SRBP = "SigninResourceBasedPolicy" +_ve = "version" +_V = "Version" +_sta = "statement" +_St = "Statement" +_GRPO = "GetResourcePolicyOutput" +_sRBP = "signinResourceBasedPolicy" +_GRP = "GetResourcePolicy" +_ITT = "IntrospectedTokenType" +_ITn = "IntrospectionToken" +_TTH = "TokenTypeHint" +_IOATWIAMI = "IntrospectOAuth2TokenWithIAMInput" +_cIOATWIAMR = "com.amazonaws.signin#IntrospectOAuth2TokenWithIAMRequest" +_t = "token" +_tTH = "tokenTypeHint" +_tth = "token_type_hint" +_IOATWIAMO = "IntrospectOAuth2TokenWithIAMOutput" +_cIOATWIAMRo = "com.amazonaws.signin#IntrospectOAuth2TokenWithIAMResponse" +_ac = "active" +_ci = "client_id" +_uI = "userId" +_ui = "user_id" +_ex = "exp" +_i = "iat" +_n = "nbf" +_sub = "sub" +_au = "aud" +_iss = "iss" +_j = "jti" +_aI = "accountId" +_ai = "account_id" +_sS = "signinSession" +_ss = "signin_session" +_IOATWIAM = "IntrospectOAuth2TokenWithIAM" +_NT = "NextToken" +_LRPSI = "ListResourcePermissionStatementsInput" +_mR = "maxResults" +_nT = "nextToken" +_PSS = "PermissionStatementSummary" +_si = "sid" +_PSSe = "PermissionStatementSummaries" +_LRPSO = "ListResourcePermissionStatementsOutput" +_pS = "permissionStatements" +_LRPS = "ListResourcePermissionStatements" +_PCACI = "PutConsoleAuthorizationConfigurationInput" +_PCACO = "PutConsoleAuthorizationConfigurationOutput" +_PCAC = "PutConsoleAuthorizationConfiguration" +_SV = "SourceVpce" +_RR = "RequestedRegion" +_SIo = "SourceIp" +_SVo = "SourceVpc" +_VSI = "VpcSourceIp" +_PRPSI = "PutResourcePermissionStatementInput" +_sVo = "sourceVpc" +_sSV = "signinSourceVpce" +_cSV = "consoleSourceVpce" +_vSI = "vpcSourceIp" +_sIo = "sourceIp" +_rR = "requestedRegion" +_eP = "excludedPrincipal" +_PRPSO = "PutResourcePermissionStatementOutput" +_SQEE = "ServiceQuotaExceededException" +_PRPS = "PutResourcePermissionStatement" +_RTe = "RevocationToken" +_ROATWIAMI = "RevokeOAuth2TokenWithIAMInput" +_cROATWIAMR = "com.amazonaws.signin#RevokeOAuth2TokenWithIAMRequest" +_ROATWIAMO = "RevokeOAuth2TokenWithIAMOutput" +_cROATWIAMRo = "com.amazonaws.signin#RevokeOAuth2TokenWithIAMResponse" +_ROATWIAM = "RevokeOAuth2TokenWithIAM" +_Si = "Signin" +_aw = "aws.auth#sigv4" +_aws = "aws.api#service" +_aJ = "aws.protocols#restJson1" + +TARGET_ID: StaticSchema = (3, n0, _TI, 0) + +DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _DCACI, + {_smit: None}, + (_tIa,), + ((TARGET_ID, 0),), +) + +DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DCACO, + {_smith: None}, + (_tIa, _sc, _cAE), + ((TARGET_ID, 1), (3, 1), (2, 1)), +) + +DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _DCAC, + { + _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/delete-console-authorization-configuration"} + ), + }, + DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT, + DELETE_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_ERROR, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_s: _c, _sE: 404}, + (_e, _m), + ((lambda: schemas.O_AUTH2_ERROR_CODE, 1), (3, 1)), +) + +STATEMENT_ID: StaticSchema = (3, n0, _SI, 0) + +DELETE_RESOURCE_PERMISSION_STATEMENT_INPUT: StaticSchema = ( + 18, + n0, + _DRPSI, + {_smit: None}, + (_sI, _cT), + ((STATEMENT_ID, 1), (lambda: schemas.CLIENT_TOKEN, 2)), +) + +DELETE_RESOURCE_PERMISSION_STATEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _DRPSO, + {_smith: None}, +) + +DELETE_RESOURCE_PERMISSION_STATEMENT: StaticOperationSchema = ( + 23, + n0, + _DRPS, + { + _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/delete-resource-permission-statement"} + ), + }, + DELETE_RESOURCE_PERMISSION_STATEMENT_INPUT, + DELETE_RESOURCE_PERMISSION_STATEMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_ERROR, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +EXCLUDED_PRINCIPAL: StaticSchema = (3, n0, _EP, 0) + +GET_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _GCACI, + {_smit: None}, + (_tIa,), + ((TARGET_ID, 0),), +) + +GET_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _GCACO, + {_smith: None}, + (_tIa, _sc, _cAE), + ((TARGET_ID, 1), (3, 1), (2, 1)), +) + +GET_CONSOLE_AUTHORIZATION_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _GCAC, + { + _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/get-console-authorization-configuration"} + ), + }, + GET_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT, + GET_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_ERROR, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +GET_RESOURCE_POLICY_INPUT: StaticSchema = (18, n0, _GRPI, {_smit: None}) + +GET_RESOURCE_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GRPO, + {_smith: None}, + (_sRBP,), + ((lambda: SIGNIN_RESOURCE_BASED_POLICY, 1),), +) + +GET_RESOURCE_POLICY: StaticOperationSchema = ( + 23, + n0, + _GRP, + { + _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), + _smithy: MappingProxyType({"method": "POST", "uri": "/get-resource-policy"}), + }, + GET_RESOURCE_POLICY_INPUT, + GET_RESOURCE_POLICY_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_ERROR, + ), +) + +POLICY_ACTIONS: StaticSchema = (16, n0, _PA, 0, (_me,), ((3, 0),)) + +PRINCIPAL: StaticSchema = (17, n0, _P, 0, (_k, _v), ((3, 0), (3, 0))) + +POLICY_STATEMENT: StaticSchema = ( + 18, + n0, + _PS, + 0, + (_ef, _p, _a, _r, _con), + ( + (3, {_sN: _E}), + (PRINCIPAL, {_sN: _P}), + (POLICY_ACTIONS, {_sN: _A}), + (3, {_sN: _R}), + (lambda: schemas.CONDITION_BLOCK, {_sN: _C}), + ), +) + +POLICY_STATEMENTS: StaticSchema = (16, n0, _PSo, 0, (_me,), ((POLICY_STATEMENT, 0),)) + +SIGNIN_RESOURCE_BASED_POLICY: StaticSchema = ( + 18, + n0, + _SRBP, + 0, + (_ve, _sta), + ((3, {_sN: _V}), (POLICY_STATEMENTS, {_sN: _St})), +) + +INTROSPECTED_TOKEN_TYPE: StaticSchema = (3, n0, _ITT, 0) + +INTROSPECTION_TOKEN: StaticSchema = (3, n0, _ITn, 4) + +TOKEN_TYPE_HINT: StaticSchema = (3, n0, _TTH, 0) + +INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_INPUT: StaticSchema = ( + 18, + n0, + _IOATWIAMI, + {_sSI: _cIOATWIAMR, _smit: None}, + (_t, _tTH), + ((INTROSPECTION_TOKEN, {_sN: _t, _sm: None}), (TOKEN_TYPE_HINT, {_sN: _tth})), +) + +INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_OUTPUT: StaticSchema = ( + 18, + n0, + _IOATWIAMO, + {_sSI: _cIOATWIAMRo, _smith: None}, + (_ac, _cI, _uI, _tT, _ex, _i, _n, _sub, _au, _iss, _j, _aI, _sS, _r), + ( + (2, 1), + (3, {_sN: _ci}), + (3, {_sN: _ui}), + (INTROSPECTED_TOKEN_TYPE, {_sN: _tt}), + (8, {_sN: _ex}), + (8, {_sN: _i}), + (8, {_sN: _n}), + (3, {_sN: _sub}), + (3, {_sN: _au}), + (3, {_sN: _iss}), + (3, {_sN: _j}), + (lambda: schemas.ACCOUNT_ID, {_sN: _ai}), + (3, {_sN: _ss}), + (lambda: schemas.RESOURCE, {_sN: _r}), + ), +) + +INTROSPECT_O_AUTH2_TOKEN_WITH_IAM: StaticOperationSchema = ( + 23, + n0, + _IOATWIAM, + { + _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/v1/introspect?x-amz-client-auth-method=iam"} + ), + }, + INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_INPUT, + INTROSPECT_O_AUTH2_TOKEN_WITH_IAM_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_ERROR, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +NEXT_TOKEN: StaticSchema = (3, n0, _NT, 0) + +LIST_RESOURCE_PERMISSION_STATEMENTS_INPUT: StaticSchema = ( + 18, + n0, + _LRPSI, + {_smit: None}, + (_mR, _nT), + ((lambda: schemas.CONSOLE_PERMISSION_MAX_RESULTS, 0), (NEXT_TOKEN, 0)), +) + +LIST_RESOURCE_PERMISSION_STATEMENTS_OUTPUT: StaticSchema = ( + 18, + n0, + _LRPSO, + {_smith: None}, + (_pS, _nT), + ((lambda: PERMISSION_STATEMENT_SUMMARIES, 1), (NEXT_TOKEN, 0)), +) + +LIST_RESOURCE_PERMISSION_STATEMENTS: StaticOperationSchema = ( + 23, + n0, + _LRPS, + { + _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/list-resource-permission-statements"} + ), + }, + LIST_RESOURCE_PERMISSION_STATEMENTS_INPUT, + LIST_RESOURCE_PERMISSION_STATEMENTS_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_ERROR, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +PERMISSION_STATEMENT_SUMMARY: StaticSchema = ( + 18, + n0, + _PSS, + 0, + (_si, _con), + ((STATEMENT_ID, 1), (lambda: schemas.CONDITION_BLOCK, 0)), +) + +PERMISSION_STATEMENT_SUMMARIES: StaticSchema = ( + 16, + n0, + _PSSe, + 0, + (_me,), + ((PERMISSION_STATEMENT_SUMMARY, 0),), +) + +PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT: StaticSchema = ( + 18, + n0, + _PCACI, + {_smit: None}, + (_tIa,), + ((TARGET_ID, 0),), +) + +PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT: StaticSchema = ( + 18, + n0, + _PCACO, + {_smith: None}, + (_tIa, _sc, _cAE), + ((TARGET_ID, 1), (3, 1), (2, 1)), +) + +PUT_CONSOLE_AUTHORIZATION_CONFIGURATION: StaticOperationSchema = ( + 23, + n0, + _PCAC, + { + _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/put-console-authorization-configuration"} + ), + }, + PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_INPUT, + PUT_CONSOLE_AUTHORIZATION_CONFIGURATION_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_ERROR, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SOURCE_VPCE: StaticSchema = (3, n0, _SV, 0) + +REQUESTED_REGION: StaticSchema = (3, n0, _RR, 0) + +SOURCE_IP: StaticSchema = (3, n0, _SIo, 0) + +SOURCE_VPC: StaticSchema = (3, n0, _SVo, 0) + +VPC_SOURCE_IP: StaticSchema = (3, n0, _VSI, 0) + +PUT_RESOURCE_PERMISSION_STATEMENT_INPUT: StaticSchema = ( + 18, + n0, + _PRPSI, + {_smit: None}, + (_sVo, _sSV, _cSV, _vSI, _sIo, _rR, _eP, _cT), + ( + (SOURCE_VPC, 0), + (SOURCE_VPCE, 0), + (SOURCE_VPCE, 0), + (VPC_SOURCE_IP, 0), + (SOURCE_IP, 0), + (REQUESTED_REGION, 0), + (EXCLUDED_PRINCIPAL, 0), + (lambda: schemas.CLIENT_TOKEN, 2), + ), +) + +PUT_RESOURCE_PERMISSION_STATEMENT_OUTPUT: StaticSchema = ( + 18, + n0, + _PRPSO, + {_smith: None}, + (_sI,), + ((STATEMENT_ID, 1),), +) + +PUT_RESOURCE_PERMISSION_STATEMENT: StaticOperationSchema = ( + 23, + n0, + _PRPS, + { + _sCP: MappingProxyType({"IsControlPlane": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/put-resource-permission-statement"} + ), + }, + PUT_RESOURCE_PERMISSION_STATEMENT_INPUT, + PUT_RESOURCE_PERMISSION_STATEMENT_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: SERVICE_QUOTA_EXCEEDED_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_ERROR, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SERVICE_QUOTA_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SQEE, + {_s: _c, _sE: 402}, + (_e, _m), + ((lambda: schemas.O_AUTH2_ERROR_CODE, 1), (3, 1)), +) + +REVOCATION_TOKEN: StaticSchema = (3, n0, _RTe, 4) + +REVOKE_O_AUTH2_TOKEN_WITH_IAM_INPUT: StaticSchema = ( + 18, + n0, + _ROATWIAMI, + {_sSI: _cROATWIAMR, _smit: None}, + (_t,), + ((REVOCATION_TOKEN, {_sN: _t, _sm: None}),), +) + +REVOKE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT: StaticSchema = ( + 18, + n0, + _ROATWIAMO, + {_sSI: _cROATWIAMRo, _smith: None}, +) + +REVOKE_O_AUTH2_TOKEN_WITH_IAM: StaticOperationSchema = ( + 23, + n0, + _ROATWIAM, + { + _sCP: MappingProxyType({"IsOAuthEndpoint": MappingProxyType({"value": True})}), + _smithy: MappingProxyType( + {"method": "POST", "uri": "/v1/revoke?x-amz-client-auth-method=iam"} + ), + }, + REVOKE_O_AUTH2_TOKEN_WITH_IAM_INPUT, + REVOKE_O_AUTH2_TOKEN_WITH_IAM_OUTPUT, + ( + lambda: schemas.ACCESS_DENIED_EXCEPTION, + lambda: schemas.INTERNAL_SERVER_EXCEPTION, + lambda: schemas.TOO_MANY_REQUESTS_ERROR, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +SIGNIN: StaticSchema = ( + 21, + n0, + _Si, + { + _aw: MappingProxyType({"name": "signin"}), + _aws: MappingProxyType( + {"sdkId": "Signin", "arnNamespace": "signin", "endpointPrefix": "signin"} + ), + _aJ: None, + }, +) diff --git a/clients/aws-sdk-signin/src/aws_sdk_signin/aio/client.py b/clients/aws-sdk-signin/src/aws_sdk_signin/aio/client.py index 0c5220363..48892735d 100644 --- a/clients/aws-sdk-signin/src/aws_sdk_signin/aio/client.py +++ b/clients/aws-sdk-signin/src/aws_sdk_signin/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-signin/src/aws_sdk_signin/aio/config.py b/clients/aws-sdk-signin/src/aws_sdk_signin/aio/config.py index 167642402..bb23625a1 100644 --- a/clients/aws-sdk-signin/src/aws_sdk_signin/aio/config.py +++ b/clients/aws-sdk-signin/src/aws_sdk_signin/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-signin/src/aws_sdk_signin/client.py b/clients/aws-sdk-signin/src/aws_sdk_signin/client.py index bf97cfcc0..0ebf849bb 100644 --- a/clients/aws-sdk-signin/src/aws_sdk_signin/client.py +++ b/clients/aws-sdk-signin/src/aws_sdk_signin/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-signin/src/aws_sdk_signin/config.py b/clients/aws-sdk-signin/src/aws_sdk_signin/config.py index 656321719..d0e318174 100644 --- a/clients/aws-sdk-signin/src/aws_sdk_signin/config.py +++ b/clients/aws-sdk-signin/src/aws_sdk_signin/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-signin/src/aws_sdk_signin/models.pyi b/clients/aws-sdk-signin/src/aws_sdk_signin/models.pyi index 3085f263c..c10998194 100644 --- a/clients/aws-sdk-signin/src/aws_sdk_signin/models.pyi +++ b/clients/aws-sdk-signin/src/aws_sdk_signin/models.pyi @@ -365,7 +365,10 @@ class DeleteResourcePermissionStatementInput(_SerdeShape): statement_id: str | None = ... """Unique identifier of the permission statement to delete""" client_token: str | None = ... - """Idempotency token for the request""" + """ + Idempotency token for the request This field is autopopulated if not + provided. + """ @dataclass(kw_only=True) class DeleteResourcePermissionStatementOutput(_SerdeShape): @@ -683,7 +686,10 @@ class PutResourcePermissionStatementInput(_SerdeShape): excluded_principal: str | None = ... """Principal to exclude from the permission statement""" client_token: str | None = ... - """Idempotency token for the request""" + """ + Idempotency token for the request This field is autopopulated if not + provided. + """ @dataclass(kw_only=True) class PutResourcePermissionStatementOutput(_SerdeShape): diff --git a/clients/aws-sdk-signin/tests/test_endpoints.py b/clients/aws-sdk-signin/tests/test_endpoints.py index aef0a3763..d5f033c20 100644 --- a/clients/aws-sdk-signin/tests/test_endpoints.py +++ b/clients/aws-sdk-signin/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-sns/pyproject.toml b/clients/aws-sdk-sns/pyproject.toml index 737a0316f..545e6f0d2 100644 --- a/clients/aws-sdk-sns/pyproject.toml +++ b/clients/aws-sdk-sns/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_sns" version = "0.12.0" -description = "aws_sdk_sns client" +description = "Python client for Amazon Simple Notification Service" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_sns"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[xml]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[xml]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas.py b/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas.py index daaeef36f..914463571 100644 --- a/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas.py +++ b/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas.py @@ -1,2539 +1,260 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.sns" -_a = "account" -_ac = "action" -_AL = "ActionsList" -_m = "member" -_d = "delegate" -_DL = "DelegatesList" -_l = "label" -_tARN = "topicARN" -_API = "AddPermissionInput" -_s = "smithy.api#input" -_TA = "TopicArn" -_sm = "smithy.api#required" -_L = "Label" -_AWSAI = "AWSAccountId" -_AN = "ActionName" -_APO = "AddPermissionOutput" -_sSI = "smithy.synthetic#originalShapeId" -_sU = "smithy.api#Unit" -_smi = "smithy.api#output" -_S = "String" -_AEE = "AuthorizationErrorException" -_smit = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_me = "message" -_IEE = "InternalErrorException" -_se = "server" -_IPE = "InvalidParameterException" -_NFE = "NotFoundException" -_AP = "AddPermission" -_ARN = "AmazonResourceName" -_PN = "PhoneNumber" -_smith = "smithy.api#sensitive" -_CIPNIOOI = "CheckIfPhoneNumberIsOptedOutInput" -_pN = "phoneNumber" -_b = "boolean" -_smithy = "smithy.api#default" -_CIPNIOOO = "CheckIfPhoneNumberIsOptedOutOutput" -_cCIPNIOOR = "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutResponse" -_iOO = "isOptedOut" -_TE = "ThrottledException" -_CIPNIOO = "CheckIfPhoneNumberIsOptedOut" -_aOU = "authenticateOnUnsubscribe" -_t = "token" -_CSI = "ConfirmSubscriptionInput" -_T = "Token" -_AOU = "AuthenticateOnUnsubscribe" -_sARN = "subscriptionARN" -_CSO = "ConfirmSubscriptionOutput" -_cCSR = "com.amazonaws.sns#ConfirmSubscriptionResponse" -_SA = "SubscriptionArn" -_FPLEE = "FilterPolicyLimitExceededException" -_RLEE = "ReplayLimitExceededException" -_SLEE = "SubscriptionLimitExceededException" -_CS = "ConfirmSubscription" -_MSTS = "MapStringToString" -_k = "key" -_v = "value" -_CPAI = "CreatePlatformApplicationInput" -_N = "Name" -_P = "Platform" -_A = "Attributes" -_CPAO = "CreatePlatformApplicationOutput" -_cCPAR = "com.amazonaws.sns#CreatePlatformApplicationResponse" -_PAA = "PlatformApplicationArn" -_CPA = "CreatePlatformApplication" -_CPEI = "CreatePlatformEndpointInput" -_CUD = "CustomUserData" -_CPEO = "CreatePlatformEndpointOutput" -_cCER = "com.amazonaws.sns#CreateEndpointResponse" -_EA = "EndpointArn" -_CPE = "CreatePlatformEndpoint" -_LCS = "LanguageCodeString" -_eU = "en_US" -_sV = "smithy.api#enumValue" -_eU_ = "en-US" -_eG = "en_GB" -_eG_ = "en-GB" -_e = "es_419" -_e_ = "es-419" -_eE = "es_ES" -_eE_ = "es-ES" -_dD = "de_DE" -_dD_ = "de-DE" -_fC = "fr_CA" -_fC_ = "fr-CA" -_fF = "fr_FR" -_fF_ = "fr-FR" -_iI = "it_IT" -_iI_ = "it-IT" -_jJ = "jp_JP" -_jJ_ = "ja-JP" -_pB = "pt_BR" -_pB_ = "pt-BR" -_kK = "kr_KR" -_kK_ = "kr-KR" -_zC = "zh_CN" -_zC_ = "zh-CN" -_zT = "zh_TW" -_zT_ = "zh-TW" -_PNS = "PhoneNumberString" -_CSMSSPNI = "CreateSMSSandboxPhoneNumberInput" -_LC = "LanguageCode" -_CSMSSPNO = "CreateSMSSandboxPhoneNumberOutput" -_cCSMSSPNR = "com.amazonaws.sns#CreateSMSSandboxPhoneNumberResult" -_OOE = "OptedOutException" -_UEE = "UserErrorException" -_CSMSSPN = "CreateSMSSandboxPhoneNumber" -_CAE = "ConcurrentAccessException" -_aN = "attributeName" -_aV = "attributeValue" -_TAM = "TopicAttributesMap" -_tN = "topicName" -_TK = "TagKey" -_TV = "TagValue" -_Ta = "Tag" -_K = "Key" -_V = "Value" -_TL = "TagList" -_CTI = "CreateTopicInput" -_Tag = "Tags" -_DPP = "DataProtectionPolicy" -_CTO = "CreateTopicOutput" -_cCTR = "com.amazonaws.sns#CreateTopicResponse" -_ISE = "InvalidSecurityException" -_STE = "StaleTagException" -_TLEE = "TagLimitExceededException" -_TPE = "TagPolicyException" -_TLEEo = "TopicLimitExceededException" -_CT = "CreateTopic" -_DEI = "DeleteEndpointInput" -_DEO = "DeleteEndpointOutput" -_DE = "DeleteEndpoint" -_DPAI = "DeletePlatformApplicationInput" -_DPAO = "DeletePlatformApplicationOutput" -_DPA = "DeletePlatformApplication" -_DSMSSPNI = "DeleteSMSSandboxPhoneNumberInput" -_DSMSSPNO = "DeleteSMSSandboxPhoneNumberOutput" -_cDSMSSPNR = "com.amazonaws.sns#DeleteSMSSandboxPhoneNumberResult" -_RNFE = "ResourceNotFoundException" -_DSMSSPN = "DeleteSMSSandboxPhoneNumber" -_DTI = "DeleteTopicInput" -_DTO = "DeleteTopicOutput" -_ISEn = "InvalidStateException" -_DT = "DeleteTopic" -_GDPPI = "GetDataProtectionPolicyInput" -_RA = "ResourceArn" -_GDPPO = "GetDataProtectionPolicyOutput" -_cGDPPR = "com.amazonaws.sns#GetDataProtectionPolicyResponse" -_GDPP = "GetDataProtectionPolicy" -_GEAI = "GetEndpointAttributesInput" -_GEAO = "GetEndpointAttributesOutput" -_cGEAR = "com.amazonaws.sns#GetEndpointAttributesResponse" -_GEA = "GetEndpointAttributes" -_GPAAI = "GetPlatformApplicationAttributesInput" -_GPAAO = "GetPlatformApplicationAttributesOutput" -_cGPAAR = "com.amazonaws.sns#GetPlatformApplicationAttributesResponse" -_GPAA = "GetPlatformApplicationAttributes" -_LS = "ListString" -_GSMSAI = "GetSMSAttributesInput" -_at = "attributes" -_GSMSAO = "GetSMSAttributesOutput" -_cGSMSAR = "com.amazonaws.sns#GetSMSAttributesResponse" -_GSMSA = "GetSMSAttributes" -_GSMSSASI = "GetSMSSandboxAccountStatusInput" -_GSMSSASO = "GetSMSSandboxAccountStatusOutput" -_cGSMSSASR = "com.amazonaws.sns#GetSMSSandboxAccountStatusResult" -_IIS = "IsInSandbox" -_GSMSSAS = "GetSMSSandboxAccountStatus" -_GSAI = "GetSubscriptionAttributesInput" -_SAM = "SubscriptionAttributesMap" -_GSAO = "GetSubscriptionAttributesOutput" -_cGSAR = "com.amazonaws.sns#GetSubscriptionAttributesResponse" -_GSA = "GetSubscriptionAttributes" -_GTAI = "GetTopicAttributesInput" -_GTAO = "GetTopicAttributesOutput" -_cGTAR = "com.amazonaws.sns#GetTopicAttributesResponse" -_GTA = "GetTopicAttributes" -_LEBPAI = "ListEndpointsByPlatformApplicationInput" -_NT = "NextToken" -_E = "Endpoint" -_LOE = "ListOfEndpoints" -_LEBPAO = "ListEndpointsByPlatformApplicationOutput" -_cLEBPAR = "com.amazonaws.sns#ListEndpointsByPlatformApplicationResponse" -_En = "Endpoints" -_LEBPA = "ListEndpointsByPlatformApplication" -_MILON = "MaxItemsListOriginationNumbers" -_nT = "nextToken" -_LONI = "ListOriginationNumbersInput" -_cLONR = "com.amazonaws.sns#ListOriginationNumbersRequest" -_MR = "MaxResults" -_Ti = "Timestamp" -_ICC = "Iso2CountryCode" -_NC = "NumberCapability" -_SMS = "SMS" -_MMS = "MMS" -_VOICE = "VOICE" -_NCL = "NumberCapabilityList" -_RT = "RouteType" -_Tr = "Transactional" -_Pr = "Promotional" -_Pre = "Premium" -_PNI = "PhoneNumberInformation" -_CA = "CreatedAt" -_St = "Status" -_NCu = "NumberCapabilities" -_PNIL = "PhoneNumberInformationList" -_LONO = "ListOriginationNumbersOutput" -_cLONRo = "com.amazonaws.sns#ListOriginationNumbersResult" -_PNh = "PhoneNumbers" -_VE = "ValidationException" -_M = "Message" -_LON = "ListOriginationNumbers" -_LPNOOI = "ListPhoneNumbersOptedOutInput" -_PNL = "PhoneNumberList" -_LPNOOO = "ListPhoneNumbersOptedOutOutput" -_cLPNOOR = "com.amazonaws.sns#ListPhoneNumbersOptedOutResponse" -_pNh = "phoneNumbers" -_LPNOO = "ListPhoneNumbersOptedOut" -_LPAI = "ListPlatformApplicationsInput" -_PA = "PlatformApplication" -_LOPA = "ListOfPlatformApplications" -_LPAO = "ListPlatformApplicationsOutput" -_cLPAR = "com.amazonaws.sns#ListPlatformApplicationsResponse" -_PAl = "PlatformApplications" -_LPA = "ListPlatformApplications" -_MI = "MaxItems" -_LSMSSPNI = "ListSMSSandboxPhoneNumbersInput" -_SMSSPNVS = "SMSSandboxPhoneNumberVerificationStatus" -_Pe = "Pending" -_Ve = "Verified" -_SMSSPN = "SMSSandboxPhoneNumber" -_SMSSPNL = "SMSSandboxPhoneNumberList" -_LSMSSPNO = "ListSMSSandboxPhoneNumbersOutput" -_cLSMSSPNR = "com.amazonaws.sns#ListSMSSandboxPhoneNumbersResult" -_LSMSSPN = "ListSMSSandboxPhoneNumbers" -_LSI = "ListSubscriptionsInput" -_End = "Endpoint2" -_p = "protocol" -_Su = "Subscription" -_O = "Owner" -_Pro = "Protocol" -_SL = "SubscriptionsList" -_LSO = "ListSubscriptionsOutput" -_cLSR = "com.amazonaws.sns#ListSubscriptionsResponse" -_Sub = "Subscriptions" -_LSi = "ListSubscriptions" -_LSBTI = "ListSubscriptionsByTopicInput" -_LSBTO = "ListSubscriptionsByTopicOutput" -_cLSBTR = "com.amazonaws.sns#ListSubscriptionsByTopicResponse" -_LSBT = "ListSubscriptionsByTopic" -_LTFRI = "ListTagsForResourceInput" -_cLTFRR = "com.amazonaws.sns#ListTagsForResourceRequest" -_LTFRO = "ListTagsForResourceOutput" -_cLTFRRo = "com.amazonaws.sns#ListTagsForResourceResponse" -_LTFR = "ListTagsForResource" -_LTI = "ListTopicsInput" -_To = "Topic" -_TLo = "TopicsList" -_LTO = "ListTopicsOutput" -_cLTR = "com.amazonaws.sns#ListTopicsResponse" -_Top = "Topics" -_LT = "ListTopics" -_OIPNI = "OptInPhoneNumberInput" -_OIPNO = "OptInPhoneNumberOutput" -_cOIPNR = "com.amazonaws.sns#OptInPhoneNumberResponse" -_OIPN = "OptInPhoneNumber" -_EDE = "EndpointDisabledException" -_IPVE = "InvalidParameterValueException" -_KMSADE = "KMSAccessDeniedException" -_KMSDE = "KMSDisabledException" -_KMSISE = "KMSInvalidStateException" -_KMSNFE = "KMSNotFoundException" -_KMSOIR = "KMSOptInRequired" -_KMSTE = "KMSThrottlingException" -_PADE = "PlatformApplicationDisabledException" -_B = "Binary" -_MAV = "MessageAttributeValue" -_DTa = "DataType" -_SV = "StringValue" -_BV = "BinaryValue" -_MAM = "MessageAttributeMap" -_sN = "smithy.api#xmlName" -_mS = "messageStructure" -_su = "subject" -_PI = "PublishInput" -_TAa = "TargetArn" -_Subj = "Subject" -_MS = "MessageStructure" -_MA = "MessageAttributes" -_MDI = "MessageDeduplicationId" -_MGI = "MessageGroupId" -_mI = "messageId" -_PO = "PublishOutput" -_cPR = "com.amazonaws.sns#PublishResponse" -_MIe = "MessageId" -_SN = "SequenceNumber" -_Pu = "Publish" -_BEINDE = "BatchEntryIdsNotDistinctException" -_BRTLE = "BatchRequestTooLongException" -_EBRE = "EmptyBatchRequestException" -_IBEIE = "InvalidBatchEntryIdException" -_PBRE = "PublishBatchRequestEntry" -_I = "Id" -_PBREL = "PublishBatchRequestEntryList" -_PBI = "PublishBatchInput" -_PBREu = "PublishBatchRequestEntries" -_BREE = "BatchResultErrorEntry" -_C = "Code" -_SF = "SenderFault" -_BREEL = "BatchResultErrorEntryList" -_PBREub = "PublishBatchResultEntry" -_PBRELu = "PublishBatchResultEntryList" -_PBO = "PublishBatchOutput" -_cPBR = "com.amazonaws.sns#PublishBatchResponse" -_Suc = "Successful" -_F = "Failed" -_TMEIBRE = "TooManyEntriesInBatchRequestException" -_PB = "PublishBatch" -_PDPPI = "PutDataProtectionPolicyInput" -_PDPPO = "PutDataProtectionPolicyOutput" -_PDPP = "PutDataProtectionPolicy" -_RPI = "RemovePermissionInput" -_RPO = "RemovePermissionOutput" -_RP = "RemovePermission" -_SEAI = "SetEndpointAttributesInput" -_SEAO = "SetEndpointAttributesOutput" -_SEA = "SetEndpointAttributes" -_SPAAI = "SetPlatformApplicationAttributesInput" -_SPAAO = "SetPlatformApplicationAttributesOutput" -_SPAA = "SetPlatformApplicationAttributes" -_SSMSAI = "SetSMSAttributesInput" -_SSMSAO = "SetSMSAttributesOutput" -_cSSMSAR = "com.amazonaws.sns#SetSMSAttributesResponse" -_SSMSA = "SetSMSAttributes" -_SSAI = "SetSubscriptionAttributesInput" -_ANt = "AttributeName" -_AV = "AttributeValue" -_SSAO = "SetSubscriptionAttributesOutput" -_SSA = "SetSubscriptionAttributes" -_STAI = "SetTopicAttributesInput" -_STAO = "SetTopicAttributesOutput" -_STA = "SetTopicAttributes" -_SI = "SubscribeInput" -_RSA = "ReturnSubscriptionArn" -_SO = "SubscribeOutput" -_cSR = "com.amazonaws.sns#SubscribeResponse" -_Subs = "Subscribe" -_TRI = "TagResourceInput" -_cTRR = "com.amazonaws.sns#TagResourceRequest" -_TRO = "TagResourceOutput" -_cTRRo = "com.amazonaws.sns#TagResourceResponse" -_TR = "TagResource" -_UI = "UnsubscribeInput" -_UO = "UnsubscribeOutput" -_U = "Unsubscribe" -_TKL = "TagKeyList" -_URI = "UntagResourceInput" -_cURR = "com.amazonaws.sns#UntagResourceRequest" -_TKa = "TagKeys" -_URO = "UntagResourceOutput" -_cURRo = "com.amazonaws.sns#UntagResourceResponse" -_UR = "UntagResource" -_VEe = "VerificationException" -_OTPC = "OTPCode" -_VSMSSPNI = "VerifySMSSandboxPhoneNumberInput" -_OTP = "OneTimePassword" -_VSMSSPNO = "VerifySMSSandboxPhoneNumberOutput" -_cVSMSSPNR = "com.amazonaws.sns#VerifySMSSandboxPhoneNumberResult" -_VSMSSPN = "VerifySMSSandboxPhoneNumber" -_ASNS = "AmazonSimpleNotificationService" -_aw = "aws.auth#sigv4" -_aQ = "aws.protocols#awsQuery" -_aws = "aws.api#service" -_sNm = "smithy.api#xmlNamespace" - -ACCOUNT: StaticSchema = (3, n0, _a, 0) - -ACTION: StaticSchema = (3, n0, _ac, 0) - -ACTIONS_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((ACTION, 0),)) - -DELEGATE: StaticSchema = (3, n0, _d, 0) - -DELEGATES_LIST: StaticSchema = (16, n0, _DL, 0, (_m,), ((DELEGATE, 0),)) - -LABEL: StaticSchema = (3, n0, _l, 0) - -TOPIC_ARN: StaticSchema = (3, n0, _tARN, 0) - -ADD_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _API, - {_s: None}, - (_TA, _L, _AWSAI, _AN), - ((TOPIC_ARN, 1), (LABEL, 1), (DELEGATES_LIST, 1), (ACTIONS_LIST, 1)), -) - -ADD_PERMISSION_OUTPUT: StaticSchema = (18, n0, _APO, {_sSI: _sU, _smi: None}) - -STRING: StaticSchema = (3, n0, _S, 0) - -AUTHORIZATION_ERROR_EXCEPTION: StaticSchema = ( - 18, - n0, - _AEE, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "AuthorizationError", "httpResponseCode": 403}), - }, - (_me,), - ((STRING, 0),), -) - -INTERNAL_ERROR_EXCEPTION: StaticSchema = ( - 18, - n0, - _IEE, - { - _smit: _se, - _sE: 500, - _aQE: MappingProxyType({"code": "InternalError", "httpResponseCode": 500}), - }, - (_me,), - ((STRING, 0),), -) - -INVALID_PARAMETER_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidParameter", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _NFE, - { - _smit: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "NotFound", "httpResponseCode": 404}), - }, - (_me,), - ((STRING, 0),), -) - -ADD_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _AP, - 0, - ADD_PERMISSION_INPUT, - ADD_PERMISSION_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -AMAZON_RESOURCE_NAME: StaticSchema = (3, n0, _ARN, 0) - -PHONE_NUMBER: StaticSchema = (3, n0, _PN, 4) - -CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_INPUT: StaticSchema = ( - 18, - n0, - _CIPNIOOI, - {_s: None}, - (_pN,), - ((PHONE_NUMBER, 1),), -) - -BOOLEAN: StaticSchema = (2, n0, _b, {_smithy: False}) - -CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_OUTPUT: StaticSchema = ( - 18, - n0, - _CIPNIOOO, - {_sSI: _cCIPNIOOR, _smi: None}, - (_iOO,), - ((BOOLEAN, {_smithy: False}),), -) - -THROTTLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _TE, - { - _smit: _c, - _sE: 429, - _aQE: MappingProxyType({"code": "Throttled", "httpResponseCode": 429}), - }, - (_me,), - ((STRING, 0),), -) - -CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT: StaticOperationSchema = ( - 23, - n0, - _CIPNIOO, - 0, - CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_INPUT, - CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - THROTTLED_EXCEPTION, - ), -) - -AUTHENTICATE_ON_UNSUBSCRIBE: StaticSchema = (3, n0, _aOU, 0) - -TOKEN: StaticSchema = (3, n0, _t, 0) - -CONFIRM_SUBSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _CSI, - {_s: None}, - (_TA, _T, _AOU), - ((TOPIC_ARN, 1), (TOKEN, 1), (AUTHENTICATE_ON_UNSUBSCRIBE, 0)), -) - -SUBSCRIPTION_ARN: StaticSchema = (3, n0, _sARN, 0) - -CONFIRM_SUBSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _CSO, - {_sSI: _cCSR, _smi: None}, - (_SA,), - ((SUBSCRIPTION_ARN, 0),), -) - -FILTER_POLICY_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _FPLEE, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "FilterPolicyLimitExceeded", "httpResponseCode": 403} - ), - }, - (_me,), - ((STRING, 0),), -) - -REPLAY_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _RLEE, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "ReplayLimitExceeded", "httpResponseCode": 403} - ), - }, - (_me,), - ((STRING, 0),), -) - -SUBSCRIPTION_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _SLEE, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "SubscriptionLimitExceeded", "httpResponseCode": 403} - ), - }, - (_me,), - ((STRING, 0),), -) - -CONFIRM_SUBSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _CS, - 0, - CONFIRM_SUBSCRIPTION_INPUT, - CONFIRM_SUBSCRIPTION_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - FILTER_POLICY_LIMIT_EXCEEDED_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - REPLAY_LIMIT_EXCEEDED_EXCEPTION, - SUBSCRIPTION_LIMIT_EXCEEDED_EXCEPTION, - ), -) - -MAP_STRING_TO_STRING: StaticSchema = ( - 17, - n0, - _MSTS, - 0, - (_k, _v), - ((STRING, 0), (STRING, 0)), -) - -CREATE_PLATFORM_APPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _CPAI, - {_s: None}, - (_N, _P, _A), - ((STRING, 1), (STRING, 1), (MAP_STRING_TO_STRING, 1)), -) - -CREATE_PLATFORM_APPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _CPAO, - {_sSI: _cCPAR, _smi: None}, - (_PAA,), - ((STRING, 0),), -) - -CREATE_PLATFORM_APPLICATION: StaticOperationSchema = ( - 23, - n0, - _CPA, - 0, - CREATE_PLATFORM_APPLICATION_INPUT, - CREATE_PLATFORM_APPLICATION_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - ), -) - -CREATE_PLATFORM_ENDPOINT_INPUT: StaticSchema = ( - 18, - n0, - _CPEI, - {_s: None}, - (_PAA, _T, _CUD, _A), - ((STRING, 1), (STRING, 1), (STRING, 0), (MAP_STRING_TO_STRING, 0)), -) - -CREATE_PLATFORM_ENDPOINT_OUTPUT: StaticSchema = ( - 18, - n0, - _CPEO, - {_sSI: _cCER, _smi: None}, - (_EA,), - ((STRING, 0),), -) - -CREATE_PLATFORM_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _CPE, - 0, - CREATE_PLATFORM_ENDPOINT_INPUT, - CREATE_PLATFORM_ENDPOINT_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -LANGUAGE_CODE_STRING: StaticSchema = ( - 14, - n0, - _LCS, - 0, - (_eU, _eG, _e, _eE, _dD, _fC, _fF, _iI, _jJ, _pB, _kK, _zC, _zT), - ( - (-1, {_sV: _eU_}), - (-1, {_sV: _eG_}), - (-1, {_sV: _e_}), - (-1, {_sV: _eE_}), - (-1, {_sV: _dD_}), - (-1, {_sV: _fC_}), - (-1, {_sV: _fF_}), - (-1, {_sV: _iI_}), - (-1, {_sV: _jJ_}), - (-1, {_sV: _pB_}), - (-1, {_sV: _kK_}), - (-1, {_sV: _zC_}), - (-1, {_sV: _zT_}), - ), -) - -PHONE_NUMBER_STRING: StaticSchema = (3, n0, _PNS, 4) - -CREATE_SMS_SANDBOX_PHONE_NUMBER_INPUT: StaticSchema = ( - 18, - n0, - _CSMSSPNI, - {_s: None}, - (_PN, _LC), - ((PHONE_NUMBER_STRING, 1), (LANGUAGE_CODE_STRING, 0)), -) - -CREATE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT: StaticSchema = ( - 18, - n0, - _CSMSSPNO, - {_sSI: _cCSMSSPNR, _smi: None}, -) - -OPTED_OUT_EXCEPTION: StaticSchema = ( - 18, - n0, - _OOE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "OptedOut", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -USER_ERROR_EXCEPTION: StaticSchema = ( - 18, - n0, - _UEE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "UserError", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -CREATE_SMS_SANDBOX_PHONE_NUMBER: StaticOperationSchema = ( - 23, - n0, - _CSMSSPN, - 0, - CREATE_SMS_SANDBOX_PHONE_NUMBER_INPUT, - CREATE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - OPTED_OUT_EXCEPTION, - THROTTLED_EXCEPTION, - USER_ERROR_EXCEPTION, - ), -) - -CONCURRENT_ACCESS_EXCEPTION: StaticSchema = ( - 18, - n0, - _CAE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "ConcurrentAccess", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -ATTRIBUTE_NAME: StaticSchema = (3, n0, _aN, 0) - -ATTRIBUTE_VALUE: StaticSchema = (3, n0, _aV, 0) - -TOPIC_ATTRIBUTES_MAP: StaticSchema = ( - 17, - n0, - _TAM, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), -) - -TOPIC_NAME: StaticSchema = (3, n0, _tN, 0) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG: StaticSchema = (18, n0, _Ta, 0, (_K, _V), ((TAG_KEY, 1), (TAG_VALUE, 1))) - -TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) - -CREATE_TOPIC_INPUT: StaticSchema = ( - 18, - n0, - _CTI, - {_s: None}, - (_N, _A, _Tag, _DPP), - ((TOPIC_NAME, 1), (TOPIC_ATTRIBUTES_MAP, 0), (TAG_LIST, 0), (ATTRIBUTE_VALUE, 0)), -) - -CREATE_TOPIC_OUTPUT: StaticSchema = ( - 18, - n0, - _CTO, - {_sSI: _cCTR, _smi: None}, - (_TA,), - ((TOPIC_ARN, 0),), -) - -INVALID_SECURITY_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISE, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "InvalidSecurity", "httpResponseCode": 403}), - }, - (_me,), - ((STRING, 0),), -) - -STALE_TAG_EXCEPTION: StaticSchema = ( - 18, - n0, - _STE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "StaleTag", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -TAG_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _TLEE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "TagLimitExceeded", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -TAG_POLICY_EXCEPTION: StaticSchema = ( - 18, - n0, - _TPE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "TagPolicy", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -TOPIC_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _TLEEo, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "TopicLimitExceeded", "httpResponseCode": 403}), - }, - (_me,), - ((STRING, 0),), -) - -CREATE_TOPIC: StaticOperationSchema = ( - 23, - n0, - _CT, - 0, - CREATE_TOPIC_INPUT, - CREATE_TOPIC_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - CONCURRENT_ACCESS_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_SECURITY_EXCEPTION, - STALE_TAG_EXCEPTION, - TAG_LIMIT_EXCEEDED_EXCEPTION, - TAG_POLICY_EXCEPTION, - TOPIC_LIMIT_EXCEEDED_EXCEPTION, - ), -) - -DELETE_ENDPOINT_INPUT: StaticSchema = (18, n0, _DEI, {_s: None}, (_EA,), ((STRING, 1),)) - -DELETE_ENDPOINT_OUTPUT: StaticSchema = (18, n0, _DEO, {_sSI: _sU, _smi: None}) - -DELETE_ENDPOINT: StaticOperationSchema = ( - 23, - n0, - _DE, - 0, - DELETE_ENDPOINT_INPUT, - DELETE_ENDPOINT_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - ), -) - -DELETE_PLATFORM_APPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _DPAI, - {_s: None}, - (_PAA,), - ((STRING, 1),), -) - -DELETE_PLATFORM_APPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _DPAO, - {_sSI: _sU, _smi: None}, -) - -DELETE_PLATFORM_APPLICATION: StaticOperationSchema = ( - 23, - n0, - _DPA, - 0, - DELETE_PLATFORM_APPLICATION_INPUT, - DELETE_PLATFORM_APPLICATION_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - ), -) - -DELETE_SMS_SANDBOX_PHONE_NUMBER_INPUT: StaticSchema = ( - 18, - n0, - _DSMSSPNI, - {_s: None}, - (_PN,), - ((PHONE_NUMBER_STRING, 1),), -) - -DELETE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT: StaticSchema = ( - 18, - n0, - _DSMSSPNO, - {_sSI: _cDSMSSPNR, _smi: None}, -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - { - _smit: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "ResourceNotFound", "httpResponseCode": 404}), - }, - (_me,), - ((STRING, 0),), -) - -DELETE_SMS_SANDBOX_PHONE_NUMBER: StaticOperationSchema = ( - 23, - n0, - _DSMSSPN, - 0, - DELETE_SMS_SANDBOX_PHONE_NUMBER_INPUT, - DELETE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLED_EXCEPTION, - USER_ERROR_EXCEPTION, - ), -) - -DELETE_TOPIC_INPUT: StaticSchema = (18, n0, _DTI, {_s: None}, (_TA,), ((TOPIC_ARN, 1),)) - -DELETE_TOPIC_OUTPUT: StaticSchema = (18, n0, _DTO, {_sSI: _sU, _smi: None}) - -INVALID_STATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _ISEn, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "InvalidState", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -DELETE_TOPIC: StaticOperationSchema = ( - 23, - n0, - _DT, - 0, - DELETE_TOPIC_INPUT, - DELETE_TOPIC_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - CONCURRENT_ACCESS_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_STATE_EXCEPTION, - NOT_FOUND_EXCEPTION, - STALE_TAG_EXCEPTION, - TAG_POLICY_EXCEPTION, - ), -) - -GET_DATA_PROTECTION_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _GDPPI, - {_s: None}, - (_RA,), - ((TOPIC_ARN, 1),), -) - -GET_DATA_PROTECTION_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _GDPPO, - {_sSI: _cGDPPR, _smi: None}, - (_DPP,), - ((ATTRIBUTE_VALUE, 0),), -) - -GET_DATA_PROTECTION_POLICY: StaticOperationSchema = ( - 23, - n0, - _GDPP, - 0, - GET_DATA_PROTECTION_POLICY_INPUT, - GET_DATA_PROTECTION_POLICY_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_SECURITY_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -GET_ENDPOINT_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _GEAI, - {_s: None}, - (_EA,), - ((STRING, 1),), -) - -GET_ENDPOINT_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _GEAO, - {_sSI: _cGEAR, _smi: None}, - (_A,), - ((MAP_STRING_TO_STRING, 0),), -) - -GET_ENDPOINT_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _GEA, - 0, - GET_ENDPOINT_ATTRIBUTES_INPUT, - GET_ENDPOINT_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -GET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _GPAAI, - {_s: None}, - (_PAA,), - ((STRING, 1),), -) - -GET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _GPAAO, - {_sSI: _cGPAAR, _smi: None}, - (_A,), - ((MAP_STRING_TO_STRING, 0),), -) - -GET_PLATFORM_APPLICATION_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _GPAA, - 0, - GET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT, - GET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -LIST_STRING: StaticSchema = (16, n0, _LS, 0, (_m,), ((STRING, 0),)) - -GET_SMS_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _GSMSAI, - {_s: None}, - (_at,), - ((LIST_STRING, 0),), -) - -GET_SMS_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _GSMSAO, - {_sSI: _cGSMSAR, _smi: None}, - (_at,), - ((MAP_STRING_TO_STRING, 0),), -) - -GET_SMS_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _GSMSA, - 0, - GET_SMS_ATTRIBUTES_INPUT, - GET_SMS_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - THROTTLED_EXCEPTION, - ), -) - -GET_SMS_SANDBOX_ACCOUNT_STATUS_INPUT: StaticSchema = (18, n0, _GSMSSASI, {_s: None}) - -GET_SMS_SANDBOX_ACCOUNT_STATUS_OUTPUT: StaticSchema = ( - 18, - n0, - _GSMSSASO, - {_sSI: _cGSMSSASR, _smi: None}, - (_IIS,), - ((BOOLEAN, {_smithy: False, _sm: None}),), -) - -GET_SMS_SANDBOX_ACCOUNT_STATUS: StaticOperationSchema = ( - 23, - n0, - _GSMSSAS, - 0, - GET_SMS_SANDBOX_ACCOUNT_STATUS_INPUT, - GET_SMS_SANDBOX_ACCOUNT_STATUS_OUTPUT, - (AUTHORIZATION_ERROR_EXCEPTION, INTERNAL_ERROR_EXCEPTION, THROTTLED_EXCEPTION), -) - -GET_SUBSCRIPTION_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _GSAI, - {_s: None}, - (_SA,), - ((SUBSCRIPTION_ARN, 1),), -) - -SUBSCRIPTION_ATTRIBUTES_MAP: StaticSchema = ( - 17, - n0, - _SAM, - 0, - (_k, _v), - ((ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), -) - -GET_SUBSCRIPTION_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _GSAO, - {_sSI: _cGSAR, _smi: None}, - (_A,), - ((SUBSCRIPTION_ATTRIBUTES_MAP, 0),), -) - -GET_SUBSCRIPTION_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _GSA, - 0, - GET_SUBSCRIPTION_ATTRIBUTES_INPUT, - GET_SUBSCRIPTION_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -GET_TOPIC_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _GTAI, - {_s: None}, - (_TA,), - ((TOPIC_ARN, 1),), -) - -GET_TOPIC_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _GTAO, - {_sSI: _cGTAR, _smi: None}, - (_A,), - ((TOPIC_ATTRIBUTES_MAP, 0),), -) - -GET_TOPIC_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _GTA, - 0, - GET_TOPIC_ATTRIBUTES_INPUT, - GET_TOPIC_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_SECURITY_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_INPUT: StaticSchema = ( - 18, - n0, - _LEBPAI, - {_s: None}, - (_PAA, _NT), - ((STRING, 1), (STRING, 0)), -) - -ENDPOINT: StaticSchema = ( - 18, - n0, - _E, - 0, - (_EA, _A), - ((STRING, 0), (MAP_STRING_TO_STRING, 0)), -) - -LIST_OF_ENDPOINTS: StaticSchema = (16, n0, _LOE, 0, (_m,), ((ENDPOINT, 0),)) - -LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_OUTPUT: StaticSchema = ( - 18, - n0, - _LEBPAO, - {_sSI: _cLEBPAR, _smi: None}, - (_En, _NT), - ((LIST_OF_ENDPOINTS, 0), (STRING, 0)), -) - -LIST_ENDPOINTS_BY_PLATFORM_APPLICATION: StaticOperationSchema = ( - 23, - n0, - _LEBPA, - 0, - LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_INPUT, - LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -MAX_ITEMS_LIST_ORIGINATION_NUMBERS: StaticSchema = (7, n0, _MILON, 0) - -NEXT_TOKEN: StaticSchema = (3, n0, _nT, 0) - -LIST_ORIGINATION_NUMBERS_INPUT: StaticSchema = ( - 18, - n0, - _LONI, - {_sSI: _cLONR, _s: None}, - (_NT, _MR), - ((NEXT_TOKEN, 0), (MAX_ITEMS_LIST_ORIGINATION_NUMBERS, 0)), -) - -TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) - -ISO2_COUNTRY_CODE: StaticSchema = (3, n0, _ICC, 0) - -NUMBER_CAPABILITY: StaticSchema = ( - 14, - n0, - _NC, - 0, - (_SMS, _MMS, _VOICE), - ((-1, {_sV: _SMS}), (-1, {_sV: _MMS}), (-1, {_sV: _VOICE})), -) - -NUMBER_CAPABILITY_LIST: StaticSchema = ( - 16, - n0, - _NCL, - 0, - (_m,), - ((NUMBER_CAPABILITY, 0),), -) - -ROUTE_TYPE: StaticSchema = ( - 14, - n0, - _RT, - 0, - (_Tr, _Pr, _Pre), - ((-1, {_sV: _Tr}), (-1, {_sV: _Pr}), (-1, {_sV: _Pre})), -) - -PHONE_NUMBER_INFORMATION: StaticSchema = ( - 18, - n0, - _PNI, - 0, - (_CA, _PN, _St, _ICC, _RT, _NCu), - ( - (TIMESTAMP, 0), - (PHONE_NUMBER, 0), - (STRING, 0), - (ISO2_COUNTRY_CODE, 0), - (ROUTE_TYPE, 0), - (NUMBER_CAPABILITY_LIST, 0), - ), -) - -PHONE_NUMBER_INFORMATION_LIST: StaticSchema = ( - 16, - n0, - _PNIL, - 0, - (_m,), - ((PHONE_NUMBER_INFORMATION, 0),), -) - -LIST_ORIGINATION_NUMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LONO, - {_sSI: _cLONRo, _smi: None}, - (_NT, _PNh), - ((NEXT_TOKEN, 0), (PHONE_NUMBER_INFORMATION_LIST, 0)), -) - -VALIDATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ValidationException", "httpResponseCode": 400} - ), - }, - (_M,), - ((STRING, 1),), -) - -LIST_ORIGINATION_NUMBERS: StaticOperationSchema = ( - 23, - n0, - _LON, - 0, - LIST_ORIGINATION_NUMBERS_INPUT, - LIST_ORIGINATION_NUMBERS_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - THROTTLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -LIST_PHONE_NUMBERS_OPTED_OUT_INPUT: StaticSchema = ( - 18, - n0, - _LPNOOI, - {_s: None}, - (_nT,), - ((STRING, 0),), -) - -PHONE_NUMBER_LIST: StaticSchema = (16, n0, _PNL, 0, (_m,), ((PHONE_NUMBER, 0),)) - -LIST_PHONE_NUMBERS_OPTED_OUT_OUTPUT: StaticSchema = ( - 18, - n0, - _LPNOOO, - {_sSI: _cLPNOOR, _smi: None}, - (_pNh, _nT), - ((PHONE_NUMBER_LIST, 0), (STRING, 0)), -) - -LIST_PHONE_NUMBERS_OPTED_OUT: StaticOperationSchema = ( - 23, - n0, - _LPNOO, - 0, - LIST_PHONE_NUMBERS_OPTED_OUT_INPUT, - LIST_PHONE_NUMBERS_OPTED_OUT_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - THROTTLED_EXCEPTION, - ), -) - -LIST_PLATFORM_APPLICATIONS_INPUT: StaticSchema = ( - 18, - n0, - _LPAI, - {_s: None}, - (_NT,), - ((STRING, 0),), -) - -PLATFORM_APPLICATION: StaticSchema = ( - 18, - n0, - _PA, - 0, - (_PAA, _A), - ((STRING, 0), (MAP_STRING_TO_STRING, 0)), -) - -LIST_OF_PLATFORM_APPLICATIONS: StaticSchema = ( - 16, - n0, - _LOPA, - 0, - (_m,), - ((PLATFORM_APPLICATION, 0),), -) - -LIST_PLATFORM_APPLICATIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LPAO, - {_sSI: _cLPAR, _smi: None}, - (_PAl, _NT), - ((LIST_OF_PLATFORM_APPLICATIONS, 0), (STRING, 0)), -) - -LIST_PLATFORM_APPLICATIONS: StaticOperationSchema = ( - 23, - n0, - _LPA, - 0, - LIST_PLATFORM_APPLICATIONS_INPUT, - LIST_PLATFORM_APPLICATIONS_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - ), -) - -MAX_ITEMS: StaticSchema = (7, n0, _MI, 0) - -LIST_SMS_SANDBOX_PHONE_NUMBERS_INPUT: StaticSchema = ( - 18, - n0, - _LSMSSPNI, - {_s: None}, - (_NT, _MR), - ((NEXT_TOKEN, 0), (MAX_ITEMS, 0)), -) - -SMS_SANDBOX_PHONE_NUMBER_VERIFICATION_STATUS: StaticSchema = ( - 14, - n0, - _SMSSPNVS, - 0, - (_Pe, _Ve), - ((-1, {_sV: _Pe}), (-1, {_sV: _Ve})), -) - -SMS_SANDBOX_PHONE_NUMBER: StaticSchema = ( - 18, - n0, - _SMSSPN, - 0, - (_PN, _St), - ((PHONE_NUMBER_STRING, 0), (SMS_SANDBOX_PHONE_NUMBER_VERIFICATION_STATUS, 0)), -) - -SMS_SANDBOX_PHONE_NUMBER_LIST: StaticSchema = ( - 16, - n0, - _SMSSPNL, - 0, - (_m,), - ((SMS_SANDBOX_PHONE_NUMBER, 0),), -) - -LIST_SMS_SANDBOX_PHONE_NUMBERS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSMSSPNO, - {_sSI: _cLSMSSPNR, _smi: None}, - (_PNh, _NT), - ((SMS_SANDBOX_PHONE_NUMBER_LIST, 1), (STRING, 0)), -) - -LIST_SMS_SANDBOX_PHONE_NUMBERS: StaticOperationSchema = ( - 23, - n0, - _LSMSSPN, - 0, - LIST_SMS_SANDBOX_PHONE_NUMBERS_INPUT, - LIST_SMS_SANDBOX_PHONE_NUMBERS_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLED_EXCEPTION, - ), -) - -LIST_SUBSCRIPTIONS_INPUT: StaticSchema = ( - 18, - n0, - _LSI, - {_s: None}, - (_NT,), - ((NEXT_TOKEN, 0),), -) - -ENDPOINT2: StaticSchema = (3, n0, _End, 0) - -PROTOCOL: StaticSchema = (3, n0, _p, 0) - -SUBSCRIPTION: StaticSchema = ( - 18, - n0, - _Su, - 0, - (_SA, _O, _Pro, _E, _TA), - ( - (SUBSCRIPTION_ARN, 0), - (ACCOUNT, 0), - (PROTOCOL, 0), - (ENDPOINT2, 0), - (TOPIC_ARN, 0), - ), -) - -SUBSCRIPTIONS_LIST: StaticSchema = (16, n0, _SL, 0, (_m,), ((SUBSCRIPTION, 0),)) - -LIST_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( - 18, - n0, - _LSO, - {_sSI: _cLSR, _smi: None}, - (_Sub, _NT), - ((SUBSCRIPTIONS_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_SUBSCRIPTIONS: StaticOperationSchema = ( - 23, - n0, - _LSi, - 0, - LIST_SUBSCRIPTIONS_INPUT, - LIST_SUBSCRIPTIONS_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - ), -) - -LIST_SUBSCRIPTIONS_BY_TOPIC_INPUT: StaticSchema = ( - 18, - n0, - _LSBTI, - {_s: None}, - (_TA, _NT), - ((TOPIC_ARN, 1), (NEXT_TOKEN, 0)), -) - -LIST_SUBSCRIPTIONS_BY_TOPIC_OUTPUT: StaticSchema = ( - 18, - n0, - _LSBTO, - {_sSI: _cLSBTR, _smi: None}, - (_Sub, _NT), - ((SUBSCRIPTIONS_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_SUBSCRIPTIONS_BY_TOPIC: StaticOperationSchema = ( - 23, - n0, - _LSBT, - 0, - LIST_SUBSCRIPTIONS_BY_TOPIC_INPUT, - LIST_SUBSCRIPTIONS_BY_TOPIC_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _LTFRI, - {_sSI: _cLTFRR, _s: None}, - (_RA,), - ((AMAZON_RESOURCE_NAME, 1),), -) - -LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( - 18, - n0, - _LTFRO, - {_sSI: _cLTFRRo, _smi: None}, - (_Tag,), - ((TAG_LIST, 0),), -) - -LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _LTFR, - 0, - LIST_TAGS_FOR_RESOURCE_INPUT, - LIST_TAGS_FOR_RESOURCE_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - CONCURRENT_ACCESS_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - TAG_POLICY_EXCEPTION, - ), -) - -LIST_TOPICS_INPUT: StaticSchema = (18, n0, _LTI, {_s: None}, (_NT,), ((NEXT_TOKEN, 0),)) - -TOPIC: StaticSchema = (18, n0, _To, 0, (_TA,), ((TOPIC_ARN, 0),)) - -TOPICS_LIST: StaticSchema = (16, n0, _TLo, 0, (_m,), ((TOPIC, 0),)) - -LIST_TOPICS_OUTPUT: StaticSchema = ( - 18, - n0, - _LTO, - {_sSI: _cLTR, _smi: None}, - (_Top, _NT), - ((TOPICS_LIST, 0), (NEXT_TOKEN, 0)), -) - -LIST_TOPICS: StaticOperationSchema = ( - 23, - n0, - _LT, - 0, - LIST_TOPICS_INPUT, - LIST_TOPICS_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - ), -) - -OPT_IN_PHONE_NUMBER_INPUT: StaticSchema = ( - 18, - n0, - _OIPNI, - {_s: None}, - (_pN,), - ((PHONE_NUMBER, 1),), -) - -OPT_IN_PHONE_NUMBER_OUTPUT: StaticSchema = (18, n0, _OIPNO, {_sSI: _cOIPNR, _smi: None}) - -OPT_IN_PHONE_NUMBER: StaticOperationSchema = ( - 23, - n0, - _OIPN, - 0, - OPT_IN_PHONE_NUMBER_INPUT, - OPT_IN_PHONE_NUMBER_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - THROTTLED_EXCEPTION, - ), -) - -ENDPOINT_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _EDE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "EndpointDisabled", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -INVALID_PARAMETER_VALUE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IPVE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ParameterValueInvalid", "httpResponseCode": 400} - ), - }, - (_me,), - ((STRING, 0),), -) - -KMS_ACCESS_DENIED_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSADE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KMSAccessDenied", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -KMS_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSDE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KMSDisabled", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -KMS_INVALID_STATE_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSISE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KMSInvalidState", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -KMS_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSNFE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KMSNotFound", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -KMS_OPT_IN_REQUIRED: StaticSchema = ( - 18, - n0, - _KMSOIR, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "KMSOptInRequired", "httpResponseCode": 403}), - }, - (_me,), - ((STRING, 0),), -) - -KMS_THROTTLING_EXCEPTION: StaticSchema = ( - 18, - n0, - _KMSTE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "KMSThrottling", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -PLATFORM_APPLICATION_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _PADE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "PlatformApplicationDisabled", "httpResponseCode": 400} - ), - }, - (_me,), - ((STRING, 0),), -) - -MESSAGE: StaticSchema = (3, n0, _me, 0) - -BINARY: StaticSchema = (1, n0, _B, 0) - -MESSAGE_ATTRIBUTE_VALUE: StaticSchema = ( - 18, - n0, - _MAV, - 0, - (_DTa, _SV, _BV), - ((STRING, 1), (STRING, 0), (BINARY, 0)), -) - -MESSAGE_ATTRIBUTE_MAP: StaticSchema = ( - 17, - n0, - _MAM, - 0, - (_k, _v), - ((STRING, {_sN: _N}), (MESSAGE_ATTRIBUTE_VALUE, {_sN: _V})), -) - -MESSAGE_STRUCTURE: StaticSchema = (3, n0, _mS, 0) - -SUBJECT: StaticSchema = (3, n0, _su, 0) - -PUBLISH_INPUT: StaticSchema = ( - 18, - n0, - _PI, - {_s: None}, - (_TA, _TAa, _PN, _M, _Subj, _MS, _MA, _MDI, _MGI), - ( - (TOPIC_ARN, 0), - (STRING, 0), - (PHONE_NUMBER, 0), - (MESSAGE, 1), - (SUBJECT, 0), - (MESSAGE_STRUCTURE, 0), - (MESSAGE_ATTRIBUTE_MAP, 0), - (STRING, 0), - (STRING, 0), - ), -) - -MESSAGE_ID: StaticSchema = (3, n0, _mI, 0) - -PUBLISH_OUTPUT: StaticSchema = ( - 18, - n0, - _PO, - {_sSI: _cPR, _smi: None}, - (_MIe, _SN), - ((MESSAGE_ID, 0), (STRING, 0)), -) - -PUBLISH: StaticOperationSchema = ( - 23, - n0, - _Pu, - 0, - PUBLISH_INPUT, - PUBLISH_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - ENDPOINT_DISABLED_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - INVALID_SECURITY_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLING_EXCEPTION, - NOT_FOUND_EXCEPTION, - PLATFORM_APPLICATION_DISABLED_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -BATCH_ENTRY_IDS_NOT_DISTINCT_EXCEPTION: StaticSchema = ( - 18, - n0, - _BEINDE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "BatchEntryIdsNotDistinct", "httpResponseCode": 400} - ), - }, - (_me,), - ((STRING, 0),), -) - -BATCH_REQUEST_TOO_LONG_EXCEPTION: StaticSchema = ( - 18, - n0, - _BRTLE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "BatchRequestTooLong", "httpResponseCode": 400} - ), - }, - (_me,), - ((STRING, 0),), -) - -EMPTY_BATCH_REQUEST_EXCEPTION: StaticSchema = ( - 18, - n0, - _EBRE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "EmptyBatchRequest", "httpResponseCode": 400}), - }, - (_me,), - ((STRING, 0),), -) - -INVALID_BATCH_ENTRY_ID_EXCEPTION: StaticSchema = ( - 18, - n0, - _IBEIE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidBatchEntryId", "httpResponseCode": 400} - ), - }, - (_me,), - ((STRING, 0),), -) - -PUBLISH_BATCH_REQUEST_ENTRY: StaticSchema = ( - 18, - n0, - _PBRE, - 0, - (_I, _M, _Subj, _MS, _MA, _MDI, _MGI), - ( - (STRING, 1), - (MESSAGE, 1), - (SUBJECT, 0), - (MESSAGE_STRUCTURE, 0), - (MESSAGE_ATTRIBUTE_MAP, 0), - (STRING, 0), - (STRING, 0), - ), -) - -PUBLISH_BATCH_REQUEST_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _PBREL, - 0, - (_m,), - ((PUBLISH_BATCH_REQUEST_ENTRY, 0),), -) - -PUBLISH_BATCH_INPUT: StaticSchema = ( - 18, - n0, - _PBI, - {_s: None}, - (_TA, _PBREu), - ((TOPIC_ARN, 1), (PUBLISH_BATCH_REQUEST_ENTRY_LIST, 1)), -) - -BATCH_RESULT_ERROR_ENTRY: StaticSchema = ( - 18, - n0, - _BREE, - 0, - (_I, _C, _M, _SF), - ((STRING, 1), (STRING, 1), (STRING, 0), (BOOLEAN, {_smithy: False, _sm: None})), -) - -BATCH_RESULT_ERROR_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _BREEL, - 0, - (_m,), - ((BATCH_RESULT_ERROR_ENTRY, 0),), -) - -PUBLISH_BATCH_RESULT_ENTRY: StaticSchema = ( - 18, - n0, - _PBREub, - 0, - (_I, _MIe, _SN), - ((STRING, 0), (MESSAGE_ID, 0), (STRING, 0)), -) - -PUBLISH_BATCH_RESULT_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _PBRELu, - 0, - (_m,), - ((PUBLISH_BATCH_RESULT_ENTRY, 0),), -) - -PUBLISH_BATCH_OUTPUT: StaticSchema = ( - 18, - n0, - _PBO, - {_sSI: _cPBR, _smi: None}, - (_Suc, _F), - ((PUBLISH_BATCH_RESULT_ENTRY_LIST, 0), (BATCH_RESULT_ERROR_ENTRY_LIST, 0)), -) - -TOO_MANY_ENTRIES_IN_BATCH_REQUEST_EXCEPTION: StaticSchema = ( - 18, - n0, - _TMEIBRE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "TooManyEntriesInBatchRequest", "httpResponseCode": 400} - ), - }, - (_me,), - ((STRING, 0),), -) - -PUBLISH_BATCH: StaticOperationSchema = ( - 23, - n0, - _PB, - 0, - PUBLISH_BATCH_INPUT, - PUBLISH_BATCH_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - BATCH_ENTRY_IDS_NOT_DISTINCT_EXCEPTION, - BATCH_REQUEST_TOO_LONG_EXCEPTION, - EMPTY_BATCH_REQUEST_EXCEPTION, - ENDPOINT_DISABLED_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_BATCH_ENTRY_ID_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_PARAMETER_VALUE_EXCEPTION, - INVALID_SECURITY_EXCEPTION, - KMS_ACCESS_DENIED_EXCEPTION, - KMS_DISABLED_EXCEPTION, - KMS_INVALID_STATE_EXCEPTION, - KMS_NOT_FOUND_EXCEPTION, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLING_EXCEPTION, - NOT_FOUND_EXCEPTION, - PLATFORM_APPLICATION_DISABLED_EXCEPTION, - TOO_MANY_ENTRIES_IN_BATCH_REQUEST_EXCEPTION, - VALIDATION_EXCEPTION, - ), -) - -PUT_DATA_PROTECTION_POLICY_INPUT: StaticSchema = ( - 18, - n0, - _PDPPI, - {_s: None}, - (_RA, _DPP), - ((TOPIC_ARN, 1), (ATTRIBUTE_VALUE, 1)), -) - -PUT_DATA_PROTECTION_POLICY_OUTPUT: StaticSchema = ( - 18, - n0, - _PDPPO, - {_sSI: _sU, _smi: None}, -) - -PUT_DATA_PROTECTION_POLICY: StaticOperationSchema = ( - 23, - n0, - _PDPP, - 0, - PUT_DATA_PROTECTION_POLICY_INPUT, - PUT_DATA_PROTECTION_POLICY_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_SECURITY_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -REMOVE_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _RPI, - {_s: None}, - (_TA, _L), - ((TOPIC_ARN, 1), (LABEL, 1)), -) - -REMOVE_PERMISSION_OUTPUT: StaticSchema = (18, n0, _RPO, {_sSI: _sU, _smi: None}) - -REMOVE_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _RP, - 0, - REMOVE_PERMISSION_INPUT, - REMOVE_PERMISSION_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -SET_ENDPOINT_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _SEAI, - {_s: None}, - (_EA, _A), - ((STRING, 1), (MAP_STRING_TO_STRING, 1)), -) - -SET_ENDPOINT_ATTRIBUTES_OUTPUT: StaticSchema = (18, n0, _SEAO, {_sSI: _sU, _smi: None}) - -SET_ENDPOINT_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _SEA, - 0, - SET_ENDPOINT_ATTRIBUTES_INPUT, - SET_ENDPOINT_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -SET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _SPAAI, - {_s: None}, - (_PAA, _A), - ((STRING, 1), (MAP_STRING_TO_STRING, 1)), -) - -SET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _SPAAO, - {_sSI: _sU, _smi: None}, -) - -SET_PLATFORM_APPLICATION_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _SPAA, - 0, - SET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT, - SET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -SET_SMS_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _SSMSAI, - {_s: None}, - (_at,), - ((MAP_STRING_TO_STRING, 1),), -) - -SET_SMS_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _SSMSAO, - {_sSI: _cSSMSAR, _smi: None}, -) - -SET_SMS_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _SSMSA, - 0, - SET_SMS_ATTRIBUTES_INPUT, - SET_SMS_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - THROTTLED_EXCEPTION, - ), -) - -SET_SUBSCRIPTION_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _SSAI, - {_s: None}, - (_SA, _ANt, _AV), - ((SUBSCRIPTION_ARN, 1), (ATTRIBUTE_NAME, 1), (ATTRIBUTE_VALUE, 0)), -) - -SET_SUBSCRIPTION_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _SSAO, - {_sSI: _sU, _smi: None}, -) - -SET_SUBSCRIPTION_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _SSA, - 0, - SET_SUBSCRIPTION_ATTRIBUTES_INPUT, - SET_SUBSCRIPTION_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - FILTER_POLICY_LIMIT_EXCEEDED_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - NOT_FOUND_EXCEPTION, - REPLAY_LIMIT_EXCEEDED_EXCEPTION, - ), -) - -SET_TOPIC_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _STAI, - {_s: None}, - (_TA, _ANt, _AV), - ((TOPIC_ARN, 1), (ATTRIBUTE_NAME, 1), (ATTRIBUTE_VALUE, 0)), -) - -SET_TOPIC_ATTRIBUTES_OUTPUT: StaticSchema = (18, n0, _STAO, {_sSI: _sU, _smi: None}) - -SET_TOPIC_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _STA, - 0, - SET_TOPIC_ATTRIBUTES_INPUT, - SET_TOPIC_ATTRIBUTES_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_SECURITY_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -SUBSCRIBE_INPUT: StaticSchema = ( - 18, - n0, - _SI, - {_s: None}, - (_TA, _Pro, _E, _A, _RSA), - ( - (TOPIC_ARN, 1), - (PROTOCOL, 1), - (ENDPOINT2, 0), - (SUBSCRIPTION_ATTRIBUTES_MAP, 0), - (BOOLEAN, {_smithy: False}), - ), -) - -SUBSCRIBE_OUTPUT: StaticSchema = ( - 18, - n0, - _SO, - {_sSI: _cSR, _smi: None}, - (_SA,), - ((SUBSCRIPTION_ARN, 0),), -) - -SUBSCRIBE: StaticOperationSchema = ( - 23, - n0, - _Subs, - 0, - SUBSCRIBE_INPUT, - SUBSCRIBE_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - FILTER_POLICY_LIMIT_EXCEEDED_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_SECURITY_EXCEPTION, - NOT_FOUND_EXCEPTION, - REPLAY_LIMIT_EXCEEDED_EXCEPTION, - SUBSCRIPTION_LIMIT_EXCEEDED_EXCEPTION, - ), -) - -TAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _TRI, - {_sSI: _cTRR, _s: None}, - (_RA, _Tag), - ((AMAZON_RESOURCE_NAME, 1), (TAG_LIST, 1)), -) - -TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smi: None}) - -TAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _TR, - 0, - TAG_RESOURCE_INPUT, - TAG_RESOURCE_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - CONCURRENT_ACCESS_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - STALE_TAG_EXCEPTION, - TAG_LIMIT_EXCEEDED_EXCEPTION, - TAG_POLICY_EXCEPTION, - ), -) - -UNSUBSCRIBE_INPUT: StaticSchema = ( - 18, - n0, - _UI, - {_s: None}, - (_SA,), - ((SUBSCRIPTION_ARN, 1),), -) - -UNSUBSCRIBE_OUTPUT: StaticSchema = (18, n0, _UO, {_sSI: _sU, _smi: None}) - -UNSUBSCRIBE: StaticOperationSchema = ( - 23, - n0, - _U, - 0, - UNSUBSCRIBE_INPUT, - UNSUBSCRIBE_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - INVALID_SECURITY_EXCEPTION, - NOT_FOUND_EXCEPTION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_m,), ((TAG_KEY, 0),)) - -UNTAG_RESOURCE_INPUT: StaticSchema = ( - 18, - n0, - _URI, - {_sSI: _cURR, _s: None}, - (_RA, _TKa), - ((AMAZON_RESOURCE_NAME, 1), (TAG_KEY_LIST, 1)), -) - -UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smi: None}) - -UNTAG_RESOURCE: StaticOperationSchema = ( - 23, - n0, - _UR, - 0, - UNTAG_RESOURCE_INPUT, - UNTAG_RESOURCE_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - CONCURRENT_ACCESS_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - STALE_TAG_EXCEPTION, - TAG_LIMIT_EXCEEDED_EXCEPTION, - TAG_POLICY_EXCEPTION, - ), -) - -VERIFICATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _VEe, - {_smit: _c}, - (_M, _St), - ((STRING, 1), (STRING, 1)), -) - -OTP_CODE: StaticSchema = (3, n0, _OTPC, 0) - -VERIFY_SMS_SANDBOX_PHONE_NUMBER_INPUT: StaticSchema = ( - 18, - n0, - _VSMSSPNI, - {_s: None}, - (_PN, _OTP), - ((PHONE_NUMBER_STRING, 1), (OTP_CODE, 1)), -) - -VERIFY_SMS_SANDBOX_PHONE_NUMBER_OUTPUT: StaticSchema = ( - 18, - n0, - _VSMSSPNO, - {_sSI: _cVSMSSPNR, _smi: None}, -) - -VERIFY_SMS_SANDBOX_PHONE_NUMBER: StaticOperationSchema = ( - 23, - n0, - _VSMSSPN, - 0, - VERIFY_SMS_SANDBOX_PHONE_NUMBER_INPUT, - VERIFY_SMS_SANDBOX_PHONE_NUMBER_OUTPUT, - ( - AUTHORIZATION_ERROR_EXCEPTION, - INTERNAL_ERROR_EXCEPTION, - INVALID_PARAMETER_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - THROTTLED_EXCEPTION, - VERIFICATION_EXCEPTION, - ), -) - -AMAZON_SIMPLE_NOTIFICATION_SERVICE: StaticSchema = ( - 21, - n0, - _ASNS, - { - _aw: MappingProxyType({"name": "sns"}), - _aQ: None, - _aws: MappingProxyType( - { - "sdkId": "SNS", - "arnNamespace": "sns", - "cloudFormationName": "SNS", - "cloudTrailEventSource": "sns.amazonaws.com", - "endpointPrefix": "sns", - } - ), - _sNm: MappingProxyType({"uri": "http://sns.amazonaws.com/doc/2010-03-31/"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ACCOUNT", + "ACTION", + "ACTIONS_LIST", + "DELEGATE", + "DELEGATES_LIST", + "LABEL", + "TOPIC_ARN", + "ADD_PERMISSION_INPUT", + "ADD_PERMISSION_OUTPUT", + "ADD_PERMISSION", + "STRING", + "AUTHORIZATION_ERROR_EXCEPTION", + "INTERNAL_ERROR_EXCEPTION", + "INVALID_PARAMETER_EXCEPTION", + "NOT_FOUND_EXCEPTION", + "AMAZON_RESOURCE_NAME", + "PHONE_NUMBER", + "CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_INPUT", + "CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_OUTPUT", + "CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT", + "BOOLEAN", + "THROTTLED_EXCEPTION", + "AUTHENTICATE_ON_UNSUBSCRIBE", + "TOKEN", + "CONFIRM_SUBSCRIPTION_INPUT", + "CONFIRM_SUBSCRIPTION_OUTPUT", + "CONFIRM_SUBSCRIPTION", + "SUBSCRIPTION_ARN", + "FILTER_POLICY_LIMIT_EXCEEDED_EXCEPTION", + "REPLAY_LIMIT_EXCEEDED_EXCEPTION", + "SUBSCRIPTION_LIMIT_EXCEEDED_EXCEPTION", + "MAP_STRING_TO_STRING", + "CREATE_PLATFORM_APPLICATION_INPUT", + "CREATE_PLATFORM_APPLICATION_OUTPUT", + "CREATE_PLATFORM_APPLICATION", + "CREATE_PLATFORM_ENDPOINT_INPUT", + "CREATE_PLATFORM_ENDPOINT_OUTPUT", + "CREATE_PLATFORM_ENDPOINT", + "LANGUAGE_CODE_STRING", + "PHONE_NUMBER_STRING", + "CREATE_SMS_SANDBOX_PHONE_NUMBER_INPUT", + "CREATE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT", + "CREATE_SMS_SANDBOX_PHONE_NUMBER", + "OPTED_OUT_EXCEPTION", + "USER_ERROR_EXCEPTION", + "CONCURRENT_ACCESS_EXCEPTION", + "ATTRIBUTE_NAME", + "ATTRIBUTE_VALUE", + "TOPIC_ATTRIBUTES_MAP", + "TOPIC_NAME", + "TAG_KEY", + "TAG_VALUE", + "TAG", + "TAG_LIST", + "CREATE_TOPIC_INPUT", + "CREATE_TOPIC_OUTPUT", + "CREATE_TOPIC", + "INVALID_SECURITY_EXCEPTION", + "STALE_TAG_EXCEPTION", + "TAG_LIMIT_EXCEEDED_EXCEPTION", + "TAG_POLICY_EXCEPTION", + "TOPIC_LIMIT_EXCEEDED_EXCEPTION", + "DELETE_ENDPOINT_INPUT", + "DELETE_ENDPOINT_OUTPUT", + "DELETE_ENDPOINT", + "DELETE_PLATFORM_APPLICATION_INPUT", + "DELETE_PLATFORM_APPLICATION_OUTPUT", + "DELETE_PLATFORM_APPLICATION", + "DELETE_SMS_SANDBOX_PHONE_NUMBER_INPUT", + "DELETE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT", + "DELETE_SMS_SANDBOX_PHONE_NUMBER", + "RESOURCE_NOT_FOUND_EXCEPTION", + "DELETE_TOPIC_INPUT", + "DELETE_TOPIC_OUTPUT", + "DELETE_TOPIC", + "INVALID_STATE_EXCEPTION", + "GET_DATA_PROTECTION_POLICY_INPUT", + "GET_DATA_PROTECTION_POLICY_OUTPUT", + "GET_DATA_PROTECTION_POLICY", + ), + ( + "GET_ENDPOINT_ATTRIBUTES_INPUT", + "GET_ENDPOINT_ATTRIBUTES_OUTPUT", + "GET_ENDPOINT_ATTRIBUTES", + "GET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT", + "GET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT", + "GET_PLATFORM_APPLICATION_ATTRIBUTES", + "LIST_STRING", + "GET_SMS_ATTRIBUTES_INPUT", + "GET_SMS_ATTRIBUTES_OUTPUT", + "GET_SMS_ATTRIBUTES", + "GET_SMS_SANDBOX_ACCOUNT_STATUS_INPUT", + "GET_SMS_SANDBOX_ACCOUNT_STATUS_OUTPUT", + "GET_SMS_SANDBOX_ACCOUNT_STATUS", + "GET_SUBSCRIPTION_ATTRIBUTES_INPUT", + "GET_SUBSCRIPTION_ATTRIBUTES_OUTPUT", + "GET_SUBSCRIPTION_ATTRIBUTES", + "SUBSCRIPTION_ATTRIBUTES_MAP", + "GET_TOPIC_ATTRIBUTES_INPUT", + "GET_TOPIC_ATTRIBUTES_OUTPUT", + "GET_TOPIC_ATTRIBUTES", + "LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_INPUT", + "LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_OUTPUT", + "LIST_ENDPOINTS_BY_PLATFORM_APPLICATION", + "ENDPOINT", + "LIST_OF_ENDPOINTS", + "MAX_ITEMS_LIST_ORIGINATION_NUMBERS", + "NEXT_TOKEN", + "LIST_ORIGINATION_NUMBERS_INPUT", + "LIST_ORIGINATION_NUMBERS_OUTPUT", + "LIST_ORIGINATION_NUMBERS", + "TIMESTAMP", + "ISO2_COUNTRY_CODE", + "NUMBER_CAPABILITY", + "NUMBER_CAPABILITY_LIST", + "ROUTE_TYPE", + "PHONE_NUMBER_INFORMATION", + "PHONE_NUMBER_INFORMATION_LIST", + "VALIDATION_EXCEPTION", + "LIST_PHONE_NUMBERS_OPTED_OUT_INPUT", + "LIST_PHONE_NUMBERS_OPTED_OUT_OUTPUT", + "LIST_PHONE_NUMBERS_OPTED_OUT", + "PHONE_NUMBER_LIST", + "LIST_PLATFORM_APPLICATIONS_INPUT", + "LIST_PLATFORM_APPLICATIONS_OUTPUT", + "LIST_PLATFORM_APPLICATIONS", + "PLATFORM_APPLICATION", + "LIST_OF_PLATFORM_APPLICATIONS", + "MAX_ITEMS", + "LIST_SMS_SANDBOX_PHONE_NUMBERS_INPUT", + "LIST_SMS_SANDBOX_PHONE_NUMBERS_OUTPUT", + "LIST_SMS_SANDBOX_PHONE_NUMBERS", + "SMS_SANDBOX_PHONE_NUMBER_VERIFICATION_STATUS", + "SMS_SANDBOX_PHONE_NUMBER", + "SMS_SANDBOX_PHONE_NUMBER_LIST", + "LIST_SUBSCRIPTIONS_INPUT", + "LIST_SUBSCRIPTIONS_OUTPUT", + "LIST_SUBSCRIPTIONS", + "ENDPOINT2", + "PROTOCOL", + "SUBSCRIPTION", + "SUBSCRIPTIONS_LIST", + "LIST_SUBSCRIPTIONS_BY_TOPIC_INPUT", + "LIST_SUBSCRIPTIONS_BY_TOPIC_OUTPUT", + "LIST_SUBSCRIPTIONS_BY_TOPIC", + "LIST_TAGS_FOR_RESOURCE_INPUT", + "LIST_TAGS_FOR_RESOURCE_OUTPUT", + "LIST_TAGS_FOR_RESOURCE", + "LIST_TOPICS_INPUT", + "LIST_TOPICS_OUTPUT", + "LIST_TOPICS", + "TOPIC", + "TOPICS_LIST", + "OPT_IN_PHONE_NUMBER_INPUT", + "OPT_IN_PHONE_NUMBER_OUTPUT", + "OPT_IN_PHONE_NUMBER", + "ENDPOINT_DISABLED_EXCEPTION", + "INVALID_PARAMETER_VALUE_EXCEPTION", + "KMS_ACCESS_DENIED_EXCEPTION", + ), + ( + "KMS_DISABLED_EXCEPTION", + "KMS_INVALID_STATE_EXCEPTION", + "KMS_NOT_FOUND_EXCEPTION", + "KMS_OPT_IN_REQUIRED", + "KMS_THROTTLING_EXCEPTION", + "PLATFORM_APPLICATION_DISABLED_EXCEPTION", + "MESSAGE", + "BINARY", + "MESSAGE_ATTRIBUTE_VALUE", + "MESSAGE_ATTRIBUTE_MAP", + "MESSAGE_STRUCTURE", + "SUBJECT", + "PUBLISH_INPUT", + "PUBLISH_OUTPUT", + "PUBLISH", + "MESSAGE_ID", + "BATCH_ENTRY_IDS_NOT_DISTINCT_EXCEPTION", + "BATCH_REQUEST_TOO_LONG_EXCEPTION", + "EMPTY_BATCH_REQUEST_EXCEPTION", + "INVALID_BATCH_ENTRY_ID_EXCEPTION", + "PUBLISH_BATCH_REQUEST_ENTRY", + "PUBLISH_BATCH_REQUEST_ENTRY_LIST", + "PUBLISH_BATCH_INPUT", + "PUBLISH_BATCH_OUTPUT", + "PUBLISH_BATCH", + "BATCH_RESULT_ERROR_ENTRY", + "BATCH_RESULT_ERROR_ENTRY_LIST", + "PUBLISH_BATCH_RESULT_ENTRY", + "PUBLISH_BATCH_RESULT_ENTRY_LIST", + "TOO_MANY_ENTRIES_IN_BATCH_REQUEST_EXCEPTION", + "PUT_DATA_PROTECTION_POLICY_INPUT", + "PUT_DATA_PROTECTION_POLICY_OUTPUT", + "PUT_DATA_PROTECTION_POLICY", + "REMOVE_PERMISSION_INPUT", + "REMOVE_PERMISSION_OUTPUT", + "REMOVE_PERMISSION", + "SET_ENDPOINT_ATTRIBUTES_INPUT", + "SET_ENDPOINT_ATTRIBUTES_OUTPUT", + "SET_ENDPOINT_ATTRIBUTES", + "SET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT", + "SET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT", + "SET_PLATFORM_APPLICATION_ATTRIBUTES", + "SET_SMS_ATTRIBUTES_INPUT", + "SET_SMS_ATTRIBUTES_OUTPUT", + "SET_SMS_ATTRIBUTES", + "SET_SUBSCRIPTION_ATTRIBUTES_INPUT", + "SET_SUBSCRIPTION_ATTRIBUTES_OUTPUT", + "SET_SUBSCRIPTION_ATTRIBUTES", + "SET_TOPIC_ATTRIBUTES_INPUT", + "SET_TOPIC_ATTRIBUTES_OUTPUT", + "SET_TOPIC_ATTRIBUTES", + "SUBSCRIBE_INPUT", + "SUBSCRIBE_OUTPUT", + "SUBSCRIBE", + "TAG_RESOURCE_INPUT", + "TAG_RESOURCE_OUTPUT", + "TAG_RESOURCE", + "UNSUBSCRIBE_INPUT", + "UNSUBSCRIBE_OUTPUT", + "UNSUBSCRIBE", + "TAG_KEY_LIST", + "UNTAG_RESOURCE_INPUT", + "UNTAG_RESOURCE_OUTPUT", + "UNTAG_RESOURCE", + "VERIFICATION_EXCEPTION", + "OTP_CODE", + "VERIFY_SMS_SANDBOX_PHONE_NUMBER_INPUT", + "VERIFY_SMS_SANDBOX_PHONE_NUMBER_OUTPUT", + "VERIFY_SMS_SANDBOX_PHONE_NUMBER", + "AMAZON_SIMPLE_NOTIFICATION_SERVICE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas_0.py b/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas_0.py new file mode 100644 index 000000000..1b1d8176e --- /dev/null +++ b/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas_0.py @@ -0,0 +1,853 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.sns" +_a = "account" +_ac = "action" +_AL = "ActionsList" +_m = "member" +_d = "delegate" +_DL = "DelegatesList" +_l = "label" +_tARN = "topicARN" +_API = "AddPermissionInput" +_s = "smithy.api#input" +_TA = "TopicArn" +_sm = "smithy.api#required" +_L = "Label" +_AWSAI = "AWSAccountId" +_AN = "ActionName" +_APO = "AddPermissionOutput" +_sSI = "smithy.synthetic#originalShapeId" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_S = "String" +_AEE = "AuthorizationErrorException" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_IEE = "InternalErrorException" +_se = "server" +_IPE = "InvalidParameterException" +_NFE = "NotFoundException" +_AP = "AddPermission" +_ARN = "AmazonResourceName" +_PN = "PhoneNumber" +_smith = "smithy.api#sensitive" +_CIPNIOOI = "CheckIfPhoneNumberIsOptedOutInput" +_pN = "phoneNumber" +_b = "boolean" +_smithy = "smithy.api#default" +_CIPNIOOO = "CheckIfPhoneNumberIsOptedOutOutput" +_cCIPNIOOR = "com.amazonaws.sns#CheckIfPhoneNumberIsOptedOutResponse" +_iOO = "isOptedOut" +_TE = "ThrottledException" +_CIPNIOO = "CheckIfPhoneNumberIsOptedOut" +_aOU = "authenticateOnUnsubscribe" +_t = "token" +_CSI = "ConfirmSubscriptionInput" +_T = "Token" +_AOU = "AuthenticateOnUnsubscribe" +_sARN = "subscriptionARN" +_CSO = "ConfirmSubscriptionOutput" +_cCSR = "com.amazonaws.sns#ConfirmSubscriptionResponse" +_SA = "SubscriptionArn" +_FPLEE = "FilterPolicyLimitExceededException" +_RLEE = "ReplayLimitExceededException" +_SLEE = "SubscriptionLimitExceededException" +_CS = "ConfirmSubscription" +_MSTS = "MapStringToString" +_k = "key" +_v = "value" +_CPAI = "CreatePlatformApplicationInput" +_N = "Name" +_P = "Platform" +_A = "Attributes" +_CPAO = "CreatePlatformApplicationOutput" +_cCPAR = "com.amazonaws.sns#CreatePlatformApplicationResponse" +_PAA = "PlatformApplicationArn" +_CPA = "CreatePlatformApplication" +_CPEI = "CreatePlatformEndpointInput" +_CUD = "CustomUserData" +_CPEO = "CreatePlatformEndpointOutput" +_cCER = "com.amazonaws.sns#CreateEndpointResponse" +_EA = "EndpointArn" +_CPE = "CreatePlatformEndpoint" +_LCS = "LanguageCodeString" +_eU = "en_US" +_sV = "smithy.api#enumValue" +_eU_ = "en-US" +_eG = "en_GB" +_eG_ = "en-GB" +_e = "es_419" +_e_ = "es-419" +_eE = "es_ES" +_eE_ = "es-ES" +_dD = "de_DE" +_dD_ = "de-DE" +_fC = "fr_CA" +_fC_ = "fr-CA" +_fF = "fr_FR" +_fF_ = "fr-FR" +_iI = "it_IT" +_iI_ = "it-IT" +_jJ = "jp_JP" +_jJ_ = "ja-JP" +_pB = "pt_BR" +_pB_ = "pt-BR" +_kK = "kr_KR" +_kK_ = "kr-KR" +_zC = "zh_CN" +_zC_ = "zh-CN" +_zT = "zh_TW" +_zT_ = "zh-TW" +_PNS = "PhoneNumberString" +_CSMSSPNI = "CreateSMSSandboxPhoneNumberInput" +_LC = "LanguageCode" +_CSMSSPNO = "CreateSMSSandboxPhoneNumberOutput" +_cCSMSSPNR = "com.amazonaws.sns#CreateSMSSandboxPhoneNumberResult" +_OOE = "OptedOutException" +_UEE = "UserErrorException" +_CSMSSPN = "CreateSMSSandboxPhoneNumber" +_CAE = "ConcurrentAccessException" +_aN = "attributeName" +_aV = "attributeValue" +_TAM = "TopicAttributesMap" +_tN = "topicName" +_TK = "TagKey" +_TV = "TagValue" +_Ta = "Tag" +_K = "Key" +_V = "Value" +_TL = "TagList" +_CTI = "CreateTopicInput" +_Tag = "Tags" +_DPP = "DataProtectionPolicy" +_CTO = "CreateTopicOutput" +_cCTR = "com.amazonaws.sns#CreateTopicResponse" +_ISE = "InvalidSecurityException" +_STE = "StaleTagException" +_TLEE = "TagLimitExceededException" +_TPE = "TagPolicyException" +_TLEEo = "TopicLimitExceededException" +_CT = "CreateTopic" +_DEI = "DeleteEndpointInput" +_DEO = "DeleteEndpointOutput" +_DE = "DeleteEndpoint" +_DPAI = "DeletePlatformApplicationInput" +_DPAO = "DeletePlatformApplicationOutput" +_DPA = "DeletePlatformApplication" +_DSMSSPNI = "DeleteSMSSandboxPhoneNumberInput" +_DSMSSPNO = "DeleteSMSSandboxPhoneNumberOutput" +_cDSMSSPNR = "com.amazonaws.sns#DeleteSMSSandboxPhoneNumberResult" +_RNFE = "ResourceNotFoundException" +_DSMSSPN = "DeleteSMSSandboxPhoneNumber" +_DTI = "DeleteTopicInput" +_DTO = "DeleteTopicOutput" +_ISEn = "InvalidStateException" +_DT = "DeleteTopic" +_GDPPI = "GetDataProtectionPolicyInput" +_RA = "ResourceArn" +_GDPPO = "GetDataProtectionPolicyOutput" +_cGDPPR = "com.amazonaws.sns#GetDataProtectionPolicyResponse" +_GDPP = "GetDataProtectionPolicy" + +ACCOUNT: StaticSchema = (3, n0, _a, 0) + +ACTION: StaticSchema = (3, n0, _ac, 0) + +ACTIONS_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((ACTION, 0),)) + +DELEGATE: StaticSchema = (3, n0, _d, 0) + +DELEGATES_LIST: StaticSchema = (16, n0, _DL, 0, (_m,), ((DELEGATE, 0),)) + +LABEL: StaticSchema = (3, n0, _l, 0) + +TOPIC_ARN: StaticSchema = (3, n0, _tARN, 0) + +ADD_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _API, + {_s: None}, + (_TA, _L, _AWSAI, _AN), + ((TOPIC_ARN, 1), (LABEL, 1), (DELEGATES_LIST, 1), (ACTIONS_LIST, 1)), +) + +ADD_PERMISSION_OUTPUT: StaticSchema = (18, n0, _APO, {_sSI: _sU, _smi: None}) + +ADD_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _AP, + 0, + ADD_PERMISSION_INPUT, + ADD_PERMISSION_OUTPUT, + ( + lambda: AUTHORIZATION_ERROR_EXCEPTION, + lambda: INTERNAL_ERROR_EXCEPTION, + lambda: INVALID_PARAMETER_EXCEPTION, + lambda: NOT_FOUND_EXCEPTION, + ), +) + +STRING: StaticSchema = (3, n0, _S, 0) + +AUTHORIZATION_ERROR_EXCEPTION: StaticSchema = ( + 18, + n0, + _AEE, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "AuthorizationError", "httpResponseCode": 403}), + }, + (_me,), + ((STRING, 0),), +) + +INTERNAL_ERROR_EXCEPTION: StaticSchema = ( + 18, + n0, + _IEE, + { + _smit: _se, + _sE: 500, + _aQE: MappingProxyType({"code": "InternalError", "httpResponseCode": 500}), + }, + (_me,), + ((STRING, 0),), +) + +INVALID_PARAMETER_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidParameter", "httpResponseCode": 400}), + }, + (_me,), + ((STRING, 0),), +) + +NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _NFE, + { + _smit: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "NotFound", "httpResponseCode": 404}), + }, + (_me,), + ((STRING, 0),), +) + +AMAZON_RESOURCE_NAME: StaticSchema = (3, n0, _ARN, 0) + +PHONE_NUMBER: StaticSchema = (3, n0, _PN, 4) + +CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_INPUT: StaticSchema = ( + 18, + n0, + _CIPNIOOI, + {_s: None}, + (_pN,), + ((PHONE_NUMBER, 1),), +) + +CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_OUTPUT: StaticSchema = ( + 18, + n0, + _CIPNIOOO, + {_sSI: _cCIPNIOOR, _smi: None}, + (_iOO,), + ((lambda: BOOLEAN, {_smithy: False}),), +) + +CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT: StaticOperationSchema = ( + 23, + n0, + _CIPNIOO, + 0, + CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_INPUT, + CHECK_IF_PHONE_NUMBER_IS_OPTED_OUT_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + lambda: THROTTLED_EXCEPTION, + ), +) + +BOOLEAN: StaticSchema = (2, n0, _b, {_smithy: False}) + +THROTTLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _TE, + { + _smit: _c, + _sE: 429, + _aQE: MappingProxyType({"code": "Throttled", "httpResponseCode": 429}), + }, + (_me,), + ((STRING, 0),), +) + +AUTHENTICATE_ON_UNSUBSCRIBE: StaticSchema = (3, n0, _aOU, 0) + +TOKEN: StaticSchema = (3, n0, _t, 0) + +CONFIRM_SUBSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _CSI, + {_s: None}, + (_TA, _T, _AOU), + ((TOPIC_ARN, 1), (TOKEN, 1), (AUTHENTICATE_ON_UNSUBSCRIBE, 0)), +) + +CONFIRM_SUBSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _CSO, + {_sSI: _cCSR, _smi: None}, + (_SA,), + ((lambda: SUBSCRIPTION_ARN, 0),), +) + +CONFIRM_SUBSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _CS, + 0, + CONFIRM_SUBSCRIPTION_INPUT, + CONFIRM_SUBSCRIPTION_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + lambda: FILTER_POLICY_LIMIT_EXCEEDED_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + NOT_FOUND_EXCEPTION, + lambda: REPLAY_LIMIT_EXCEEDED_EXCEPTION, + lambda: SUBSCRIPTION_LIMIT_EXCEEDED_EXCEPTION, + ), +) + +SUBSCRIPTION_ARN: StaticSchema = (3, n0, _sARN, 0) + +FILTER_POLICY_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _FPLEE, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "FilterPolicyLimitExceeded", "httpResponseCode": 403} + ), + }, + (_me,), + ((STRING, 0),), +) + +REPLAY_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _RLEE, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "ReplayLimitExceeded", "httpResponseCode": 403} + ), + }, + (_me,), + ((STRING, 0),), +) + +SUBSCRIPTION_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _SLEE, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "SubscriptionLimitExceeded", "httpResponseCode": 403} + ), + }, + (_me,), + ((STRING, 0),), +) + +MAP_STRING_TO_STRING: StaticSchema = ( + 17, + n0, + _MSTS, + 0, + (_k, _v), + ((STRING, 0), (STRING, 0)), +) + +CREATE_PLATFORM_APPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _CPAI, + {_s: None}, + (_N, _P, _A), + ((STRING, 1), (STRING, 1), (MAP_STRING_TO_STRING, 1)), +) + +CREATE_PLATFORM_APPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _CPAO, + {_sSI: _cCPAR, _smi: None}, + (_PAA,), + ((STRING, 0),), +) + +CREATE_PLATFORM_APPLICATION: StaticOperationSchema = ( + 23, + n0, + _CPA, + 0, + CREATE_PLATFORM_APPLICATION_INPUT, + CREATE_PLATFORM_APPLICATION_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + ), +) + +CREATE_PLATFORM_ENDPOINT_INPUT: StaticSchema = ( + 18, + n0, + _CPEI, + {_s: None}, + (_PAA, _T, _CUD, _A), + ((STRING, 1), (STRING, 1), (STRING, 0), (MAP_STRING_TO_STRING, 0)), +) + +CREATE_PLATFORM_ENDPOINT_OUTPUT: StaticSchema = ( + 18, + n0, + _CPEO, + {_sSI: _cCER, _smi: None}, + (_EA,), + ((STRING, 0),), +) + +CREATE_PLATFORM_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _CPE, + 0, + CREATE_PLATFORM_ENDPOINT_INPUT, + CREATE_PLATFORM_ENDPOINT_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + NOT_FOUND_EXCEPTION, + ), +) + +LANGUAGE_CODE_STRING: StaticSchema = ( + 14, + n0, + _LCS, + 0, + (_eU, _eG, _e, _eE, _dD, _fC, _fF, _iI, _jJ, _pB, _kK, _zC, _zT), + ( + (-1, {_sV: _eU_}), + (-1, {_sV: _eG_}), + (-1, {_sV: _e_}), + (-1, {_sV: _eE_}), + (-1, {_sV: _dD_}), + (-1, {_sV: _fC_}), + (-1, {_sV: _fF_}), + (-1, {_sV: _iI_}), + (-1, {_sV: _jJ_}), + (-1, {_sV: _pB_}), + (-1, {_sV: _kK_}), + (-1, {_sV: _zC_}), + (-1, {_sV: _zT_}), + ), +) + +PHONE_NUMBER_STRING: StaticSchema = (3, n0, _PNS, 4) + +CREATE_SMS_SANDBOX_PHONE_NUMBER_INPUT: StaticSchema = ( + 18, + n0, + _CSMSSPNI, + {_s: None}, + (_PN, _LC), + ((PHONE_NUMBER_STRING, 1), (LANGUAGE_CODE_STRING, 0)), +) + +CREATE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT: StaticSchema = ( + 18, + n0, + _CSMSSPNO, + {_sSI: _cCSMSSPNR, _smi: None}, +) + +CREATE_SMS_SANDBOX_PHONE_NUMBER: StaticOperationSchema = ( + 23, + n0, + _CSMSSPN, + 0, + CREATE_SMS_SANDBOX_PHONE_NUMBER_INPUT, + CREATE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + lambda: OPTED_OUT_EXCEPTION, + THROTTLED_EXCEPTION, + lambda: USER_ERROR_EXCEPTION, + ), +) + +OPTED_OUT_EXCEPTION: StaticSchema = ( + 18, + n0, + _OOE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "OptedOut", "httpResponseCode": 400}), + }, + (_me,), + ((STRING, 0),), +) + +USER_ERROR_EXCEPTION: StaticSchema = ( + 18, + n0, + _UEE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "UserError", "httpResponseCode": 400}), + }, + (_me,), + ((STRING, 0),), +) + +CONCURRENT_ACCESS_EXCEPTION: StaticSchema = ( + 18, + n0, + _CAE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "ConcurrentAccess", "httpResponseCode": 400}), + }, + (_me,), + ((STRING, 0),), +) + +ATTRIBUTE_NAME: StaticSchema = (3, n0, _aN, 0) + +ATTRIBUTE_VALUE: StaticSchema = (3, n0, _aV, 0) + +TOPIC_ATTRIBUTES_MAP: StaticSchema = ( + 17, + n0, + _TAM, + 0, + (_k, _v), + ((ATTRIBUTE_NAME, 0), (ATTRIBUTE_VALUE, 0)), +) + +TOPIC_NAME: StaticSchema = (3, n0, _tN, 0) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG: StaticSchema = (18, n0, _Ta, 0, (_K, _V), ((TAG_KEY, 1), (TAG_VALUE, 1))) + +TAG_LIST: StaticSchema = (16, n0, _TL, 0, (_m,), ((TAG, 0),)) + +CREATE_TOPIC_INPUT: StaticSchema = ( + 18, + n0, + _CTI, + {_s: None}, + (_N, _A, _Tag, _DPP), + ((TOPIC_NAME, 1), (TOPIC_ATTRIBUTES_MAP, 0), (TAG_LIST, 0), (ATTRIBUTE_VALUE, 0)), +) + +CREATE_TOPIC_OUTPUT: StaticSchema = ( + 18, + n0, + _CTO, + {_sSI: _cCTR, _smi: None}, + (_TA,), + ((TOPIC_ARN, 0),), +) + +CREATE_TOPIC: StaticOperationSchema = ( + 23, + n0, + _CT, + 0, + CREATE_TOPIC_INPUT, + CREATE_TOPIC_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + CONCURRENT_ACCESS_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + lambda: INVALID_SECURITY_EXCEPTION, + lambda: STALE_TAG_EXCEPTION, + lambda: TAG_LIMIT_EXCEEDED_EXCEPTION, + lambda: TAG_POLICY_EXCEPTION, + lambda: TOPIC_LIMIT_EXCEEDED_EXCEPTION, + ), +) + +INVALID_SECURITY_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISE, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "InvalidSecurity", "httpResponseCode": 403}), + }, + (_me,), + ((STRING, 0),), +) + +STALE_TAG_EXCEPTION: StaticSchema = ( + 18, + n0, + _STE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "StaleTag", "httpResponseCode": 400}), + }, + (_me,), + ((STRING, 0),), +) + +TAG_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _TLEE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "TagLimitExceeded", "httpResponseCode": 400}), + }, + (_me,), + ((STRING, 0),), +) + +TAG_POLICY_EXCEPTION: StaticSchema = ( + 18, + n0, + _TPE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "TagPolicy", "httpResponseCode": 400}), + }, + (_me,), + ((STRING, 0),), +) + +TOPIC_LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _TLEEo, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "TopicLimitExceeded", "httpResponseCode": 403}), + }, + (_me,), + ((STRING, 0),), +) + +DELETE_ENDPOINT_INPUT: StaticSchema = (18, n0, _DEI, {_s: None}, (_EA,), ((STRING, 1),)) + +DELETE_ENDPOINT_OUTPUT: StaticSchema = (18, n0, _DEO, {_sSI: _sU, _smi: None}) + +DELETE_ENDPOINT: StaticOperationSchema = ( + 23, + n0, + _DE, + 0, + DELETE_ENDPOINT_INPUT, + DELETE_ENDPOINT_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + ), +) + +DELETE_PLATFORM_APPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _DPAI, + {_s: None}, + (_PAA,), + ((STRING, 1),), +) + +DELETE_PLATFORM_APPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _DPAO, + {_sSI: _sU, _smi: None}, +) + +DELETE_PLATFORM_APPLICATION: StaticOperationSchema = ( + 23, + n0, + _DPA, + 0, + DELETE_PLATFORM_APPLICATION_INPUT, + DELETE_PLATFORM_APPLICATION_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + ), +) + +DELETE_SMS_SANDBOX_PHONE_NUMBER_INPUT: StaticSchema = ( + 18, + n0, + _DSMSSPNI, + {_s: None}, + (_PN,), + ((PHONE_NUMBER_STRING, 1),), +) + +DELETE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT: StaticSchema = ( + 18, + n0, + _DSMSSPNO, + {_sSI: _cDSMSSPNR, _smi: None}, +) + +DELETE_SMS_SANDBOX_PHONE_NUMBER: StaticOperationSchema = ( + 23, + n0, + _DSMSSPN, + 0, + DELETE_SMS_SANDBOX_PHONE_NUMBER_INPUT, + DELETE_SMS_SANDBOX_PHONE_NUMBER_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + THROTTLED_EXCEPTION, + USER_ERROR_EXCEPTION, + ), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + { + _smit: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "ResourceNotFound", "httpResponseCode": 404}), + }, + (_me,), + ((STRING, 0),), +) + +DELETE_TOPIC_INPUT: StaticSchema = (18, n0, _DTI, {_s: None}, (_TA,), ((TOPIC_ARN, 1),)) + +DELETE_TOPIC_OUTPUT: StaticSchema = (18, n0, _DTO, {_sSI: _sU, _smi: None}) + +DELETE_TOPIC: StaticOperationSchema = ( + 23, + n0, + _DT, + 0, + DELETE_TOPIC_INPUT, + DELETE_TOPIC_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + CONCURRENT_ACCESS_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + lambda: INVALID_STATE_EXCEPTION, + NOT_FOUND_EXCEPTION, + STALE_TAG_EXCEPTION, + TAG_POLICY_EXCEPTION, + ), +) + +INVALID_STATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _ISEn, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "InvalidState", "httpResponseCode": 400}), + }, + (_me,), + ((STRING, 0),), +) + +GET_DATA_PROTECTION_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _GDPPI, + {_s: None}, + (_RA,), + ((TOPIC_ARN, 1),), +) + +GET_DATA_PROTECTION_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _GDPPO, + {_sSI: _cGDPPR, _smi: None}, + (_DPP,), + ((ATTRIBUTE_VALUE, 0),), +) + +GET_DATA_PROTECTION_POLICY: StaticOperationSchema = ( + 23, + n0, + _GDPP, + 0, + GET_DATA_PROTECTION_POLICY_INPUT, + GET_DATA_PROTECTION_POLICY_OUTPUT, + ( + AUTHORIZATION_ERROR_EXCEPTION, + INTERNAL_ERROR_EXCEPTION, + INVALID_PARAMETER_EXCEPTION, + INVALID_SECURITY_EXCEPTION, + NOT_FOUND_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas_1.py b/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas_1.py new file mode 100644 index 000000000..cf6742977 --- /dev/null +++ b/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas_1.py @@ -0,0 +1,882 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.sns" +_m = "member" +_s = "smithy.api#input" +_TA = "TopicArn" +_sm = "smithy.api#required" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_PN = "PhoneNumber" +_pN = "phoneNumber" +_smithy = "smithy.api#default" +_SA = "SubscriptionArn" +_k = "key" +_v = "value" +_A = "Attributes" +_PAA = "PlatformApplicationArn" +_EA = "EndpointArn" +_sV = "smithy.api#enumValue" +_Tag = "Tags" +_RA = "ResourceArn" +_GEAI = "GetEndpointAttributesInput" +_GEAO = "GetEndpointAttributesOutput" +_cGEAR = "com.amazonaws.sns#GetEndpointAttributesResponse" +_GEA = "GetEndpointAttributes" +_GPAAI = "GetPlatformApplicationAttributesInput" +_GPAAO = "GetPlatformApplicationAttributesOutput" +_cGPAAR = "com.amazonaws.sns#GetPlatformApplicationAttributesResponse" +_GPAA = "GetPlatformApplicationAttributes" +_LS = "ListString" +_GSMSAI = "GetSMSAttributesInput" +_at = "attributes" +_GSMSAO = "GetSMSAttributesOutput" +_cGSMSAR = "com.amazonaws.sns#GetSMSAttributesResponse" +_GSMSA = "GetSMSAttributes" +_GSMSSASI = "GetSMSSandboxAccountStatusInput" +_GSMSSASO = "GetSMSSandboxAccountStatusOutput" +_cGSMSSASR = "com.amazonaws.sns#GetSMSSandboxAccountStatusResult" +_IIS = "IsInSandbox" +_GSMSSAS = "GetSMSSandboxAccountStatus" +_GSAI = "GetSubscriptionAttributesInput" +_SAM = "SubscriptionAttributesMap" +_GSAO = "GetSubscriptionAttributesOutput" +_cGSAR = "com.amazonaws.sns#GetSubscriptionAttributesResponse" +_GSA = "GetSubscriptionAttributes" +_GTAI = "GetTopicAttributesInput" +_GTAO = "GetTopicAttributesOutput" +_cGTAR = "com.amazonaws.sns#GetTopicAttributesResponse" +_GTA = "GetTopicAttributes" +_LEBPAI = "ListEndpointsByPlatformApplicationInput" +_NT = "NextToken" +_E = "Endpoint" +_LOE = "ListOfEndpoints" +_LEBPAO = "ListEndpointsByPlatformApplicationOutput" +_cLEBPAR = "com.amazonaws.sns#ListEndpointsByPlatformApplicationResponse" +_En = "Endpoints" +_LEBPA = "ListEndpointsByPlatformApplication" +_MILON = "MaxItemsListOriginationNumbers" +_nT = "nextToken" +_LONI = "ListOriginationNumbersInput" +_cLONR = "com.amazonaws.sns#ListOriginationNumbersRequest" +_MR = "MaxResults" +_Ti = "Timestamp" +_ICC = "Iso2CountryCode" +_NC = "NumberCapability" +_SMS = "SMS" +_MMS = "MMS" +_VOICE = "VOICE" +_NCL = "NumberCapabilityList" +_RT = "RouteType" +_Tr = "Transactional" +_Pr = "Promotional" +_Pre = "Premium" +_PNI = "PhoneNumberInformation" +_CA = "CreatedAt" +_St = "Status" +_NCu = "NumberCapabilities" +_PNIL = "PhoneNumberInformationList" +_LONO = "ListOriginationNumbersOutput" +_cLONRo = "com.amazonaws.sns#ListOriginationNumbersResult" +_PNh = "PhoneNumbers" +_VE = "ValidationException" +_M = "Message" +_LON = "ListOriginationNumbers" +_LPNOOI = "ListPhoneNumbersOptedOutInput" +_PNL = "PhoneNumberList" +_LPNOOO = "ListPhoneNumbersOptedOutOutput" +_cLPNOOR = "com.amazonaws.sns#ListPhoneNumbersOptedOutResponse" +_pNh = "phoneNumbers" +_LPNOO = "ListPhoneNumbersOptedOut" +_LPAI = "ListPlatformApplicationsInput" +_PA = "PlatformApplication" +_LOPA = "ListOfPlatformApplications" +_LPAO = "ListPlatformApplicationsOutput" +_cLPAR = "com.amazonaws.sns#ListPlatformApplicationsResponse" +_PAl = "PlatformApplications" +_LPA = "ListPlatformApplications" +_MI = "MaxItems" +_LSMSSPNI = "ListSMSSandboxPhoneNumbersInput" +_SMSSPNVS = "SMSSandboxPhoneNumberVerificationStatus" +_Pe = "Pending" +_Ve = "Verified" +_SMSSPN = "SMSSandboxPhoneNumber" +_SMSSPNL = "SMSSandboxPhoneNumberList" +_LSMSSPNO = "ListSMSSandboxPhoneNumbersOutput" +_cLSMSSPNR = "com.amazonaws.sns#ListSMSSandboxPhoneNumbersResult" +_LSMSSPN = "ListSMSSandboxPhoneNumbers" +_LSI = "ListSubscriptionsInput" +_End = "Endpoint2" +_p = "protocol" +_Su = "Subscription" +_O = "Owner" +_Pro = "Protocol" +_SL = "SubscriptionsList" +_LSO = "ListSubscriptionsOutput" +_cLSR = "com.amazonaws.sns#ListSubscriptionsResponse" +_Sub = "Subscriptions" +_LSi = "ListSubscriptions" +_LSBTI = "ListSubscriptionsByTopicInput" +_LSBTO = "ListSubscriptionsByTopicOutput" +_cLSBTR = "com.amazonaws.sns#ListSubscriptionsByTopicResponse" +_LSBT = "ListSubscriptionsByTopic" +_LTFRI = "ListTagsForResourceInput" +_cLTFRR = "com.amazonaws.sns#ListTagsForResourceRequest" +_LTFRO = "ListTagsForResourceOutput" +_cLTFRRo = "com.amazonaws.sns#ListTagsForResourceResponse" +_LTFR = "ListTagsForResource" +_LTI = "ListTopicsInput" +_To = "Topic" +_TLo = "TopicsList" +_LTO = "ListTopicsOutput" +_cLTR = "com.amazonaws.sns#ListTopicsResponse" +_Top = "Topics" +_LT = "ListTopics" +_OIPNI = "OptInPhoneNumberInput" +_OIPNO = "OptInPhoneNumberOutput" +_cOIPNR = "com.amazonaws.sns#OptInPhoneNumberResponse" +_OIPN = "OptInPhoneNumber" +_EDE = "EndpointDisabledException" +_IPVE = "InvalidParameterValueException" +_KMSADE = "KMSAccessDeniedException" + +GET_ENDPOINT_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _GEAI, + {_s: None}, + (_EA,), + ((lambda: schemas.STRING, 1),), +) + +GET_ENDPOINT_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _GEAO, + {_sSI: _cGEAR, _smi: None}, + (_A,), + ((lambda: schemas.MAP_STRING_TO_STRING, 0),), +) + +GET_ENDPOINT_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _GEA, + 0, + GET_ENDPOINT_ATTRIBUTES_INPUT, + GET_ENDPOINT_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +GET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _GPAAI, + {_s: None}, + (_PAA,), + ((lambda: schemas.STRING, 1),), +) + +GET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _GPAAO, + {_sSI: _cGPAAR, _smi: None}, + (_A,), + ((lambda: schemas.MAP_STRING_TO_STRING, 0),), +) + +GET_PLATFORM_APPLICATION_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _GPAA, + 0, + GET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT, + GET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +LIST_STRING: StaticSchema = (16, n0, _LS, 0, (_m,), ((lambda: schemas.STRING, 0),)) + +GET_SMS_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _GSMSAI, + {_s: None}, + (_at,), + ((LIST_STRING, 0),), +) + +GET_SMS_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _GSMSAO, + {_sSI: _cGSMSAR, _smi: None}, + (_at,), + ((lambda: schemas.MAP_STRING_TO_STRING, 0),), +) + +GET_SMS_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _GSMSA, + 0, + GET_SMS_ATTRIBUTES_INPUT, + GET_SMS_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + ), +) + +GET_SMS_SANDBOX_ACCOUNT_STATUS_INPUT: StaticSchema = (18, n0, _GSMSSASI, {_s: None}) + +GET_SMS_SANDBOX_ACCOUNT_STATUS_OUTPUT: StaticSchema = ( + 18, + n0, + _GSMSSASO, + {_sSI: _cGSMSSASR, _smi: None}, + (_IIS,), + ((lambda: schemas.BOOLEAN, {_smithy: False, _sm: None}),), +) + +GET_SMS_SANDBOX_ACCOUNT_STATUS: StaticOperationSchema = ( + 23, + n0, + _GSMSSAS, + 0, + GET_SMS_SANDBOX_ACCOUNT_STATUS_INPUT, + GET_SMS_SANDBOX_ACCOUNT_STATUS_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + ), +) + +GET_SUBSCRIPTION_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _GSAI, + {_s: None}, + (_SA,), + ((lambda: schemas.SUBSCRIPTION_ARN, 1),), +) + +GET_SUBSCRIPTION_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _GSAO, + {_sSI: _cGSAR, _smi: None}, + (_A,), + ((lambda: SUBSCRIPTION_ATTRIBUTES_MAP, 0),), +) + +GET_SUBSCRIPTION_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _GSA, + 0, + GET_SUBSCRIPTION_ATTRIBUTES_INPUT, + GET_SUBSCRIPTION_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +SUBSCRIPTION_ATTRIBUTES_MAP: StaticSchema = ( + 17, + n0, + _SAM, + 0, + (_k, _v), + ((lambda: schemas.ATTRIBUTE_NAME, 0), (lambda: schemas.ATTRIBUTE_VALUE, 0)), +) + +GET_TOPIC_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _GTAI, + {_s: None}, + (_TA,), + ((lambda: schemas.TOPIC_ARN, 1),), +) + +GET_TOPIC_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _GTAO, + {_sSI: _cGTAR, _smi: None}, + (_A,), + ((lambda: schemas.TOPIC_ATTRIBUTES_MAP, 0),), +) + +GET_TOPIC_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _GTA, + 0, + GET_TOPIC_ATTRIBUTES_INPUT, + GET_TOPIC_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_SECURITY_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_INPUT: StaticSchema = ( + 18, + n0, + _LEBPAI, + {_s: None}, + (_PAA, _NT), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 0)), +) + +LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_OUTPUT: StaticSchema = ( + 18, + n0, + _LEBPAO, + {_sSI: _cLEBPAR, _smi: None}, + (_En, _NT), + ((lambda: LIST_OF_ENDPOINTS, 0), (lambda: schemas.STRING, 0)), +) + +LIST_ENDPOINTS_BY_PLATFORM_APPLICATION: StaticOperationSchema = ( + 23, + n0, + _LEBPA, + 0, + LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_INPUT, + LIST_ENDPOINTS_BY_PLATFORM_APPLICATION_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +ENDPOINT: StaticSchema = ( + 18, + n0, + _E, + 0, + (_EA, _A), + ((lambda: schemas.STRING, 0), (lambda: schemas.MAP_STRING_TO_STRING, 0)), +) + +LIST_OF_ENDPOINTS: StaticSchema = (16, n0, _LOE, 0, (_m,), ((ENDPOINT, 0),)) + +MAX_ITEMS_LIST_ORIGINATION_NUMBERS: StaticSchema = (7, n0, _MILON, 0) + +NEXT_TOKEN: StaticSchema = (3, n0, _nT, 0) + +LIST_ORIGINATION_NUMBERS_INPUT: StaticSchema = ( + 18, + n0, + _LONI, + {_sSI: _cLONR, _s: None}, + (_NT, _MR), + ((NEXT_TOKEN, 0), (MAX_ITEMS_LIST_ORIGINATION_NUMBERS, 0)), +) + +LIST_ORIGINATION_NUMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LONO, + {_sSI: _cLONRo, _smi: None}, + (_NT, _PNh), + ((NEXT_TOKEN, 0), (lambda: PHONE_NUMBER_INFORMATION_LIST, 0)), +) + +LIST_ORIGINATION_NUMBERS: StaticOperationSchema = ( + 23, + n0, + _LON, + 0, + LIST_ORIGINATION_NUMBERS_INPUT, + LIST_ORIGINATION_NUMBERS_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + lambda: VALIDATION_EXCEPTION, + ), +) + +TIMESTAMP: StaticSchema = (4, n0, _Ti, 0) + +ISO2_COUNTRY_CODE: StaticSchema = (3, n0, _ICC, 0) + +NUMBER_CAPABILITY: StaticSchema = ( + 14, + n0, + _NC, + 0, + (_SMS, _MMS, _VOICE), + ((-1, {_sV: _SMS}), (-1, {_sV: _MMS}), (-1, {_sV: _VOICE})), +) + +NUMBER_CAPABILITY_LIST: StaticSchema = ( + 16, + n0, + _NCL, + 0, + (_m,), + ((NUMBER_CAPABILITY, 0),), +) + +ROUTE_TYPE: StaticSchema = ( + 14, + n0, + _RT, + 0, + (_Tr, _Pr, _Pre), + ((-1, {_sV: _Tr}), (-1, {_sV: _Pr}), (-1, {_sV: _Pre})), +) + +PHONE_NUMBER_INFORMATION: StaticSchema = ( + 18, + n0, + _PNI, + 0, + (_CA, _PN, _St, _ICC, _RT, _NCu), + ( + (TIMESTAMP, 0), + (lambda: schemas.PHONE_NUMBER, 0), + (lambda: schemas.STRING, 0), + (ISO2_COUNTRY_CODE, 0), + (ROUTE_TYPE, 0), + (NUMBER_CAPABILITY_LIST, 0), + ), +) + +PHONE_NUMBER_INFORMATION_LIST: StaticSchema = ( + 16, + n0, + _PNIL, + 0, + (_m,), + ((PHONE_NUMBER_INFORMATION, 0),), +) + +VALIDATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ValidationException", "httpResponseCode": 400} + ), + }, + (_M,), + ((lambda: schemas.STRING, 1),), +) + +LIST_PHONE_NUMBERS_OPTED_OUT_INPUT: StaticSchema = ( + 18, + n0, + _LPNOOI, + {_s: None}, + (_nT,), + ((lambda: schemas.STRING, 0),), +) + +LIST_PHONE_NUMBERS_OPTED_OUT_OUTPUT: StaticSchema = ( + 18, + n0, + _LPNOOO, + {_sSI: _cLPNOOR, _smi: None}, + (_pNh, _nT), + ((lambda: PHONE_NUMBER_LIST, 0), (lambda: schemas.STRING, 0)), +) + +LIST_PHONE_NUMBERS_OPTED_OUT: StaticOperationSchema = ( + 23, + n0, + _LPNOO, + 0, + LIST_PHONE_NUMBERS_OPTED_OUT_INPUT, + LIST_PHONE_NUMBERS_OPTED_OUT_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + ), +) + +PHONE_NUMBER_LIST: StaticSchema = ( + 16, + n0, + _PNL, + 0, + (_m,), + ((lambda: schemas.PHONE_NUMBER, 0),), +) + +LIST_PLATFORM_APPLICATIONS_INPUT: StaticSchema = ( + 18, + n0, + _LPAI, + {_s: None}, + (_NT,), + ((lambda: schemas.STRING, 0),), +) + +LIST_PLATFORM_APPLICATIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LPAO, + {_sSI: _cLPAR, _smi: None}, + (_PAl, _NT), + ((lambda: LIST_OF_PLATFORM_APPLICATIONS, 0), (lambda: schemas.STRING, 0)), +) + +LIST_PLATFORM_APPLICATIONS: StaticOperationSchema = ( + 23, + n0, + _LPA, + 0, + LIST_PLATFORM_APPLICATIONS_INPUT, + LIST_PLATFORM_APPLICATIONS_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + ), +) + +PLATFORM_APPLICATION: StaticSchema = ( + 18, + n0, + _PA, + 0, + (_PAA, _A), + ((lambda: schemas.STRING, 0), (lambda: schemas.MAP_STRING_TO_STRING, 0)), +) + +LIST_OF_PLATFORM_APPLICATIONS: StaticSchema = ( + 16, + n0, + _LOPA, + 0, + (_m,), + ((PLATFORM_APPLICATION, 0),), +) + +MAX_ITEMS: StaticSchema = (7, n0, _MI, 0) + +LIST_SMS_SANDBOX_PHONE_NUMBERS_INPUT: StaticSchema = ( + 18, + n0, + _LSMSSPNI, + {_s: None}, + (_NT, _MR), + ((NEXT_TOKEN, 0), (MAX_ITEMS, 0)), +) + +LIST_SMS_SANDBOX_PHONE_NUMBERS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSMSSPNO, + {_sSI: _cLSMSSPNR, _smi: None}, + (_PNh, _NT), + ((lambda: SMS_SANDBOX_PHONE_NUMBER_LIST, 1), (lambda: schemas.STRING, 0)), +) + +LIST_SMS_SANDBOX_PHONE_NUMBERS: StaticOperationSchema = ( + 23, + n0, + _LSMSSPN, + 0, + LIST_SMS_SANDBOX_PHONE_NUMBERS_INPUT, + LIST_SMS_SANDBOX_PHONE_NUMBERS_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + ), +) + +SMS_SANDBOX_PHONE_NUMBER_VERIFICATION_STATUS: StaticSchema = ( + 14, + n0, + _SMSSPNVS, + 0, + (_Pe, _Ve), + ((-1, {_sV: _Pe}), (-1, {_sV: _Ve})), +) + +SMS_SANDBOX_PHONE_NUMBER: StaticSchema = ( + 18, + n0, + _SMSSPN, + 0, + (_PN, _St), + ( + (lambda: schemas.PHONE_NUMBER_STRING, 0), + (SMS_SANDBOX_PHONE_NUMBER_VERIFICATION_STATUS, 0), + ), +) + +SMS_SANDBOX_PHONE_NUMBER_LIST: StaticSchema = ( + 16, + n0, + _SMSSPNL, + 0, + (_m,), + ((SMS_SANDBOX_PHONE_NUMBER, 0),), +) + +LIST_SUBSCRIPTIONS_INPUT: StaticSchema = ( + 18, + n0, + _LSI, + {_s: None}, + (_NT,), + ((NEXT_TOKEN, 0),), +) + +LIST_SUBSCRIPTIONS_OUTPUT: StaticSchema = ( + 18, + n0, + _LSO, + {_sSI: _cLSR, _smi: None}, + (_Sub, _NT), + ((lambda: SUBSCRIPTIONS_LIST, 0), (NEXT_TOKEN, 0)), +) + +LIST_SUBSCRIPTIONS: StaticOperationSchema = ( + 23, + n0, + _LSi, + 0, + LIST_SUBSCRIPTIONS_INPUT, + LIST_SUBSCRIPTIONS_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + ), +) + +ENDPOINT2: StaticSchema = (3, n0, _End, 0) + +PROTOCOL: StaticSchema = (3, n0, _p, 0) + +SUBSCRIPTION: StaticSchema = ( + 18, + n0, + _Su, + 0, + (_SA, _O, _Pro, _E, _TA), + ( + (lambda: schemas.SUBSCRIPTION_ARN, 0), + (lambda: schemas.ACCOUNT, 0), + (PROTOCOL, 0), + (ENDPOINT2, 0), + (lambda: schemas.TOPIC_ARN, 0), + ), +) + +SUBSCRIPTIONS_LIST: StaticSchema = (16, n0, _SL, 0, (_m,), ((SUBSCRIPTION, 0),)) + +LIST_SUBSCRIPTIONS_BY_TOPIC_INPUT: StaticSchema = ( + 18, + n0, + _LSBTI, + {_s: None}, + (_TA, _NT), + ((lambda: schemas.TOPIC_ARN, 1), (NEXT_TOKEN, 0)), +) + +LIST_SUBSCRIPTIONS_BY_TOPIC_OUTPUT: StaticSchema = ( + 18, + n0, + _LSBTO, + {_sSI: _cLSBTR, _smi: None}, + (_Sub, _NT), + ((SUBSCRIPTIONS_LIST, 0), (NEXT_TOKEN, 0)), +) + +LIST_SUBSCRIPTIONS_BY_TOPIC: StaticOperationSchema = ( + 23, + n0, + _LSBT, + 0, + LIST_SUBSCRIPTIONS_BY_TOPIC_INPUT, + LIST_SUBSCRIPTIONS_BY_TOPIC_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +LIST_TAGS_FOR_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _LTFRI, + {_sSI: _cLTFRR, _s: None}, + (_RA,), + ((lambda: schemas.AMAZON_RESOURCE_NAME, 1),), +) + +LIST_TAGS_FOR_RESOURCE_OUTPUT: StaticSchema = ( + 18, + n0, + _LTFRO, + {_sSI: _cLTFRRo, _smi: None}, + (_Tag,), + ((lambda: schemas.TAG_LIST, 0),), +) + +LIST_TAGS_FOR_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _LTFR, + 0, + LIST_TAGS_FOR_RESOURCE_INPUT, + LIST_TAGS_FOR_RESOURCE_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.CONCURRENT_ACCESS_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.TAG_POLICY_EXCEPTION, + ), +) + +LIST_TOPICS_INPUT: StaticSchema = (18, n0, _LTI, {_s: None}, (_NT,), ((NEXT_TOKEN, 0),)) + +LIST_TOPICS_OUTPUT: StaticSchema = ( + 18, + n0, + _LTO, + {_sSI: _cLTR, _smi: None}, + (_Top, _NT), + ((lambda: TOPICS_LIST, 0), (NEXT_TOKEN, 0)), +) + +LIST_TOPICS: StaticOperationSchema = ( + 23, + n0, + _LT, + 0, + LIST_TOPICS_INPUT, + LIST_TOPICS_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + ), +) + +TOPIC: StaticSchema = (18, n0, _To, 0, (_TA,), ((lambda: schemas.TOPIC_ARN, 0),)) + +TOPICS_LIST: StaticSchema = (16, n0, _TLo, 0, (_m,), ((TOPIC, 0),)) + +OPT_IN_PHONE_NUMBER_INPUT: StaticSchema = ( + 18, + n0, + _OIPNI, + {_s: None}, + (_pN,), + ((lambda: schemas.PHONE_NUMBER, 1),), +) + +OPT_IN_PHONE_NUMBER_OUTPUT: StaticSchema = (18, n0, _OIPNO, {_sSI: _cOIPNR, _smi: None}) + +OPT_IN_PHONE_NUMBER: StaticOperationSchema = ( + 23, + n0, + _OIPN, + 0, + OPT_IN_PHONE_NUMBER_INPUT, + OPT_IN_PHONE_NUMBER_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + ), +) + +ENDPOINT_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _EDE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "EndpointDisabled", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_PARAMETER_VALUE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IPVE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ParameterValueInvalid", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +KMS_ACCESS_DENIED_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSADE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KMSAccessDenied", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) diff --git a/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas_2.py b/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas_2.py new file mode 100644 index 000000000..ef6152a34 --- /dev/null +++ b/clients/aws-sdk-sns/src/aws_sdk_sns/_private/schemas_2.py @@ -0,0 +1,908 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.sns" +_m = "member" +_s = "smithy.api#input" +_TA = "TopicArn" +_sm = "smithy.api#required" +_L = "Label" +_sSI = "smithy.synthetic#originalShapeId" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_PN = "PhoneNumber" +_smithy = "smithy.api#default" +_SA = "SubscriptionArn" +_k = "key" +_v = "value" +_N = "Name" +_A = "Attributes" +_PAA = "PlatformApplicationArn" +_EA = "EndpointArn" +_V = "Value" +_Tag = "Tags" +_DPP = "DataProtectionPolicy" +_RA = "ResourceArn" +_at = "attributes" +_E = "Endpoint" +_St = "Status" +_M = "Message" +_Pro = "Protocol" +_KMSDE = "KMSDisabledException" +_KMSISE = "KMSInvalidStateException" +_KMSNFE = "KMSNotFoundException" +_KMSOIR = "KMSOptInRequired" +_KMSTE = "KMSThrottlingException" +_PADE = "PlatformApplicationDisabledException" +_B = "Binary" +_MAV = "MessageAttributeValue" +_DTa = "DataType" +_SV = "StringValue" +_BV = "BinaryValue" +_MAM = "MessageAttributeMap" +_sN = "smithy.api#xmlName" +_mS = "messageStructure" +_su = "subject" +_PI = "PublishInput" +_TAa = "TargetArn" +_Subj = "Subject" +_MS = "MessageStructure" +_MA = "MessageAttributes" +_MDI = "MessageDeduplicationId" +_MGI = "MessageGroupId" +_mI = "messageId" +_PO = "PublishOutput" +_cPR = "com.amazonaws.sns#PublishResponse" +_MIe = "MessageId" +_SN = "SequenceNumber" +_Pu = "Publish" +_BEINDE = "BatchEntryIdsNotDistinctException" +_BRTLE = "BatchRequestTooLongException" +_EBRE = "EmptyBatchRequestException" +_IBEIE = "InvalidBatchEntryIdException" +_PBRE = "PublishBatchRequestEntry" +_I = "Id" +_PBREL = "PublishBatchRequestEntryList" +_PBI = "PublishBatchInput" +_PBREu = "PublishBatchRequestEntries" +_BREE = "BatchResultErrorEntry" +_C = "Code" +_SF = "SenderFault" +_BREEL = "BatchResultErrorEntryList" +_PBREub = "PublishBatchResultEntry" +_PBRELu = "PublishBatchResultEntryList" +_PBO = "PublishBatchOutput" +_cPBR = "com.amazonaws.sns#PublishBatchResponse" +_Suc = "Successful" +_F = "Failed" +_TMEIBRE = "TooManyEntriesInBatchRequestException" +_PB = "PublishBatch" +_PDPPI = "PutDataProtectionPolicyInput" +_PDPPO = "PutDataProtectionPolicyOutput" +_PDPP = "PutDataProtectionPolicy" +_RPI = "RemovePermissionInput" +_RPO = "RemovePermissionOutput" +_RP = "RemovePermission" +_SEAI = "SetEndpointAttributesInput" +_SEAO = "SetEndpointAttributesOutput" +_SEA = "SetEndpointAttributes" +_SPAAI = "SetPlatformApplicationAttributesInput" +_SPAAO = "SetPlatformApplicationAttributesOutput" +_SPAA = "SetPlatformApplicationAttributes" +_SSMSAI = "SetSMSAttributesInput" +_SSMSAO = "SetSMSAttributesOutput" +_cSSMSAR = "com.amazonaws.sns#SetSMSAttributesResponse" +_SSMSA = "SetSMSAttributes" +_SSAI = "SetSubscriptionAttributesInput" +_ANt = "AttributeName" +_AV = "AttributeValue" +_SSAO = "SetSubscriptionAttributesOutput" +_SSA = "SetSubscriptionAttributes" +_STAI = "SetTopicAttributesInput" +_STAO = "SetTopicAttributesOutput" +_STA = "SetTopicAttributes" +_SI = "SubscribeInput" +_RSA = "ReturnSubscriptionArn" +_SO = "SubscribeOutput" +_cSR = "com.amazonaws.sns#SubscribeResponse" +_Subs = "Subscribe" +_TRI = "TagResourceInput" +_cTRR = "com.amazonaws.sns#TagResourceRequest" +_TRO = "TagResourceOutput" +_cTRRo = "com.amazonaws.sns#TagResourceResponse" +_TR = "TagResource" +_UI = "UnsubscribeInput" +_UO = "UnsubscribeOutput" +_U = "Unsubscribe" +_TKL = "TagKeyList" +_URI = "UntagResourceInput" +_cURR = "com.amazonaws.sns#UntagResourceRequest" +_TKa = "TagKeys" +_URO = "UntagResourceOutput" +_cURRo = "com.amazonaws.sns#UntagResourceResponse" +_UR = "UntagResource" +_VEe = "VerificationException" +_OTPC = "OTPCode" +_VSMSSPNI = "VerifySMSSandboxPhoneNumberInput" +_OTP = "OneTimePassword" +_VSMSSPNO = "VerifySMSSandboxPhoneNumberOutput" +_cVSMSSPNR = "com.amazonaws.sns#VerifySMSSandboxPhoneNumberResult" +_VSMSSPN = "VerifySMSSandboxPhoneNumber" +_ASNS = "AmazonSimpleNotificationService" +_aw = "aws.auth#sigv4" +_aQ = "aws.protocols#awsQuery" +_aws = "aws.api#service" +_sNm = "smithy.api#xmlNamespace" + +KMS_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSDE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KMSDisabled", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +KMS_INVALID_STATE_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSISE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KMSInvalidState", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +KMS_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSNFE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KMSNotFound", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +KMS_OPT_IN_REQUIRED: StaticSchema = ( + 18, + n0, + _KMSOIR, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "KMSOptInRequired", "httpResponseCode": 403}), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +KMS_THROTTLING_EXCEPTION: StaticSchema = ( + 18, + n0, + _KMSTE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "KMSThrottling", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +PLATFORM_APPLICATION_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _PADE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "PlatformApplicationDisabled", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +MESSAGE: StaticSchema = (3, n0, _me, 0) + +BINARY: StaticSchema = (1, n0, _B, 0) + +MESSAGE_ATTRIBUTE_VALUE: StaticSchema = ( + 18, + n0, + _MAV, + 0, + (_DTa, _SV, _BV), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 0), (BINARY, 0)), +) + +MESSAGE_ATTRIBUTE_MAP: StaticSchema = ( + 17, + n0, + _MAM, + 0, + (_k, _v), + ((lambda: schemas.STRING, {_sN: _N}), (MESSAGE_ATTRIBUTE_VALUE, {_sN: _V})), +) + +MESSAGE_STRUCTURE: StaticSchema = (3, n0, _mS, 0) + +SUBJECT: StaticSchema = (3, n0, _su, 0) + +PUBLISH_INPUT: StaticSchema = ( + 18, + n0, + _PI, + {_s: None}, + (_TA, _TAa, _PN, _M, _Subj, _MS, _MA, _MDI, _MGI), + ( + (lambda: schemas.TOPIC_ARN, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.PHONE_NUMBER, 0), + (MESSAGE, 1), + (SUBJECT, 0), + (MESSAGE_STRUCTURE, 0), + (MESSAGE_ATTRIBUTE_MAP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +PUBLISH_OUTPUT: StaticSchema = ( + 18, + n0, + _PO, + {_sSI: _cPR, _smi: None}, + (_MIe, _SN), + ((lambda: MESSAGE_ID, 0), (lambda: schemas.STRING, 0)), +) + +PUBLISH: StaticOperationSchema = ( + 23, + n0, + _Pu, + 0, + PUBLISH_INPUT, + PUBLISH_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.ENDPOINT_DISABLED_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.INVALID_SECURITY_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + KMS_DISABLED_EXCEPTION, + KMS_INVALID_STATE_EXCEPTION, + KMS_NOT_FOUND_EXCEPTION, + KMS_OPT_IN_REQUIRED, + KMS_THROTTLING_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + PLATFORM_APPLICATION_DISABLED_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +MESSAGE_ID: StaticSchema = (3, n0, _mI, 0) + +BATCH_ENTRY_IDS_NOT_DISTINCT_EXCEPTION: StaticSchema = ( + 18, + n0, + _BEINDE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "BatchEntryIdsNotDistinct", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +BATCH_REQUEST_TOO_LONG_EXCEPTION: StaticSchema = ( + 18, + n0, + _BRTLE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "BatchRequestTooLong", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +EMPTY_BATCH_REQUEST_EXCEPTION: StaticSchema = ( + 18, + n0, + _EBRE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "EmptyBatchRequest", "httpResponseCode": 400}), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +INVALID_BATCH_ENTRY_ID_EXCEPTION: StaticSchema = ( + 18, + n0, + _IBEIE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidBatchEntryId", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +PUBLISH_BATCH_REQUEST_ENTRY: StaticSchema = ( + 18, + n0, + _PBRE, + 0, + (_I, _M, _Subj, _MS, _MA, _MDI, _MGI), + ( + (lambda: schemas.STRING, 1), + (MESSAGE, 1), + (SUBJECT, 0), + (MESSAGE_STRUCTURE, 0), + (MESSAGE_ATTRIBUTE_MAP, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +PUBLISH_BATCH_REQUEST_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _PBREL, + 0, + (_m,), + ((PUBLISH_BATCH_REQUEST_ENTRY, 0),), +) + +PUBLISH_BATCH_INPUT: StaticSchema = ( + 18, + n0, + _PBI, + {_s: None}, + (_TA, _PBREu), + ((lambda: schemas.TOPIC_ARN, 1), (PUBLISH_BATCH_REQUEST_ENTRY_LIST, 1)), +) + +PUBLISH_BATCH_OUTPUT: StaticSchema = ( + 18, + n0, + _PBO, + {_sSI: _cPBR, _smi: None}, + (_Suc, _F), + ( + (lambda: PUBLISH_BATCH_RESULT_ENTRY_LIST, 0), + (lambda: BATCH_RESULT_ERROR_ENTRY_LIST, 0), + ), +) + +PUBLISH_BATCH: StaticOperationSchema = ( + 23, + n0, + _PB, + 0, + PUBLISH_BATCH_INPUT, + PUBLISH_BATCH_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + BATCH_ENTRY_IDS_NOT_DISTINCT_EXCEPTION, + BATCH_REQUEST_TOO_LONG_EXCEPTION, + EMPTY_BATCH_REQUEST_EXCEPTION, + lambda: schemas.ENDPOINT_DISABLED_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + INVALID_BATCH_ENTRY_ID_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_VALUE_EXCEPTION, + lambda: schemas.INVALID_SECURITY_EXCEPTION, + lambda: schemas.KMS_ACCESS_DENIED_EXCEPTION, + KMS_DISABLED_EXCEPTION, + KMS_INVALID_STATE_EXCEPTION, + KMS_NOT_FOUND_EXCEPTION, + KMS_OPT_IN_REQUIRED, + KMS_THROTTLING_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + PLATFORM_APPLICATION_DISABLED_EXCEPTION, + lambda: TOO_MANY_ENTRIES_IN_BATCH_REQUEST_EXCEPTION, + lambda: schemas.VALIDATION_EXCEPTION, + ), +) + +BATCH_RESULT_ERROR_ENTRY: StaticSchema = ( + 18, + n0, + _BREE, + 0, + (_I, _C, _M, _SF), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.BOOLEAN, {_smithy: False, _sm: None}), + ), +) + +BATCH_RESULT_ERROR_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _BREEL, + 0, + (_m,), + ((BATCH_RESULT_ERROR_ENTRY, 0),), +) + +PUBLISH_BATCH_RESULT_ENTRY: StaticSchema = ( + 18, + n0, + _PBREub, + 0, + (_I, _MIe, _SN), + ((lambda: schemas.STRING, 0), (MESSAGE_ID, 0), (lambda: schemas.STRING, 0)), +) + +PUBLISH_BATCH_RESULT_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _PBRELu, + 0, + (_m,), + ((PUBLISH_BATCH_RESULT_ENTRY, 0),), +) + +TOO_MANY_ENTRIES_IN_BATCH_REQUEST_EXCEPTION: StaticSchema = ( + 18, + n0, + _TMEIBRE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "TooManyEntriesInBatchRequest", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.STRING, 0),), +) + +PUT_DATA_PROTECTION_POLICY_INPUT: StaticSchema = ( + 18, + n0, + _PDPPI, + {_s: None}, + (_RA, _DPP), + ((lambda: schemas.TOPIC_ARN, 1), (lambda: schemas.ATTRIBUTE_VALUE, 1)), +) + +PUT_DATA_PROTECTION_POLICY_OUTPUT: StaticSchema = ( + 18, + n0, + _PDPPO, + {_sSI: _sU, _smi: None}, +) + +PUT_DATA_PROTECTION_POLICY: StaticOperationSchema = ( + 23, + n0, + _PDPP, + 0, + PUT_DATA_PROTECTION_POLICY_INPUT, + PUT_DATA_PROTECTION_POLICY_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_SECURITY_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +REMOVE_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _RPI, + {_s: None}, + (_TA, _L), + ((lambda: schemas.TOPIC_ARN, 1), (lambda: schemas.LABEL, 1)), +) + +REMOVE_PERMISSION_OUTPUT: StaticSchema = (18, n0, _RPO, {_sSI: _sU, _smi: None}) + +REMOVE_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _RP, + 0, + REMOVE_PERMISSION_INPUT, + REMOVE_PERMISSION_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +SET_ENDPOINT_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _SEAI, + {_s: None}, + (_EA, _A), + ((lambda: schemas.STRING, 1), (lambda: schemas.MAP_STRING_TO_STRING, 1)), +) + +SET_ENDPOINT_ATTRIBUTES_OUTPUT: StaticSchema = (18, n0, _SEAO, {_sSI: _sU, _smi: None}) + +SET_ENDPOINT_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _SEA, + 0, + SET_ENDPOINT_ATTRIBUTES_INPUT, + SET_ENDPOINT_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +SET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _SPAAI, + {_s: None}, + (_PAA, _A), + ((lambda: schemas.STRING, 1), (lambda: schemas.MAP_STRING_TO_STRING, 1)), +) + +SET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _SPAAO, + {_sSI: _sU, _smi: None}, +) + +SET_PLATFORM_APPLICATION_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _SPAA, + 0, + SET_PLATFORM_APPLICATION_ATTRIBUTES_INPUT, + SET_PLATFORM_APPLICATION_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +SET_SMS_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _SSMSAI, + {_s: None}, + (_at,), + ((lambda: schemas.MAP_STRING_TO_STRING, 1),), +) + +SET_SMS_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _SSMSAO, + {_sSI: _cSSMSAR, _smi: None}, +) + +SET_SMS_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _SSMSA, + 0, + SET_SMS_ATTRIBUTES_INPUT, + SET_SMS_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + ), +) + +SET_SUBSCRIPTION_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _SSAI, + {_s: None}, + (_SA, _ANt, _AV), + ( + (lambda: schemas.SUBSCRIPTION_ARN, 1), + (lambda: schemas.ATTRIBUTE_NAME, 1), + (lambda: schemas.ATTRIBUTE_VALUE, 0), + ), +) + +SET_SUBSCRIPTION_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _SSAO, + {_sSI: _sU, _smi: None}, +) + +SET_SUBSCRIPTION_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _SSA, + 0, + SET_SUBSCRIPTION_ATTRIBUTES_INPUT, + SET_SUBSCRIPTION_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.FILTER_POLICY_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.REPLAY_LIMIT_EXCEEDED_EXCEPTION, + ), +) + +SET_TOPIC_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _STAI, + {_s: None}, + (_TA, _ANt, _AV), + ( + (lambda: schemas.TOPIC_ARN, 1), + (lambda: schemas.ATTRIBUTE_NAME, 1), + (lambda: schemas.ATTRIBUTE_VALUE, 0), + ), +) + +SET_TOPIC_ATTRIBUTES_OUTPUT: StaticSchema = (18, n0, _STAO, {_sSI: _sU, _smi: None}) + +SET_TOPIC_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _STA, + 0, + SET_TOPIC_ATTRIBUTES_INPUT, + SET_TOPIC_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_SECURITY_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +SUBSCRIBE_INPUT: StaticSchema = ( + 18, + n0, + _SI, + {_s: None}, + (_TA, _Pro, _E, _A, _RSA), + ( + (lambda: schemas.TOPIC_ARN, 1), + (lambda: schemas.PROTOCOL, 1), + (lambda: schemas.ENDPOINT2, 0), + (lambda: schemas.SUBSCRIPTION_ATTRIBUTES_MAP, 0), + (lambda: schemas.BOOLEAN, {_smithy: False}), + ), +) + +SUBSCRIBE_OUTPUT: StaticSchema = ( + 18, + n0, + _SO, + {_sSI: _cSR, _smi: None}, + (_SA,), + ((lambda: schemas.SUBSCRIPTION_ARN, 0),), +) + +SUBSCRIBE: StaticOperationSchema = ( + 23, + n0, + _Subs, + 0, + SUBSCRIBE_INPUT, + SUBSCRIBE_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.FILTER_POLICY_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_SECURITY_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + lambda: schemas.REPLAY_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SUBSCRIPTION_LIMIT_EXCEEDED_EXCEPTION, + ), +) + +TAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _TRI, + {_sSI: _cTRR, _s: None}, + (_RA, _Tag), + ((lambda: schemas.AMAZON_RESOURCE_NAME, 1), (lambda: schemas.TAG_LIST, 1)), +) + +TAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _TRO, {_sSI: _cTRRo, _smi: None}) + +TAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _TR, + 0, + TAG_RESOURCE_INPUT, + TAG_RESOURCE_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.CONCURRENT_ACCESS_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.STALE_TAG_EXCEPTION, + lambda: schemas.TAG_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.TAG_POLICY_EXCEPTION, + ), +) + +UNSUBSCRIBE_INPUT: StaticSchema = ( + 18, + n0, + _UI, + {_s: None}, + (_SA,), + ((lambda: schemas.SUBSCRIPTION_ARN, 1),), +) + +UNSUBSCRIBE_OUTPUT: StaticSchema = (18, n0, _UO, {_sSI: _sU, _smi: None}) + +UNSUBSCRIBE: StaticOperationSchema = ( + 23, + n0, + _U, + 0, + UNSUBSCRIBE_INPUT, + UNSUBSCRIBE_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.INVALID_SECURITY_EXCEPTION, + lambda: schemas.NOT_FOUND_EXCEPTION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_m,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_RESOURCE_INPUT: StaticSchema = ( + 18, + n0, + _URI, + {_sSI: _cURR, _s: None}, + (_RA, _TKa), + ((lambda: schemas.AMAZON_RESOURCE_NAME, 1), (TAG_KEY_LIST, 1)), +) + +UNTAG_RESOURCE_OUTPUT: StaticSchema = (18, n0, _URO, {_sSI: _cURRo, _smi: None}) + +UNTAG_RESOURCE: StaticOperationSchema = ( + 23, + n0, + _UR, + 0, + UNTAG_RESOURCE_INPUT, + UNTAG_RESOURCE_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.CONCURRENT_ACCESS_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.STALE_TAG_EXCEPTION, + lambda: schemas.TAG_LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.TAG_POLICY_EXCEPTION, + ), +) + +VERIFICATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _VEe, + {_smit: _c}, + (_M, _St), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +OTP_CODE: StaticSchema = (3, n0, _OTPC, 0) + +VERIFY_SMS_SANDBOX_PHONE_NUMBER_INPUT: StaticSchema = ( + 18, + n0, + _VSMSSPNI, + {_s: None}, + (_PN, _OTP), + ((lambda: schemas.PHONE_NUMBER_STRING, 1), (OTP_CODE, 1)), +) + +VERIFY_SMS_SANDBOX_PHONE_NUMBER_OUTPUT: StaticSchema = ( + 18, + n0, + _VSMSSPNO, + {_sSI: _cVSMSSPNR, _smi: None}, +) + +VERIFY_SMS_SANDBOX_PHONE_NUMBER: StaticOperationSchema = ( + 23, + n0, + _VSMSSPN, + 0, + VERIFY_SMS_SANDBOX_PHONE_NUMBER_INPUT, + VERIFY_SMS_SANDBOX_PHONE_NUMBER_OUTPUT, + ( + lambda: schemas.AUTHORIZATION_ERROR_EXCEPTION, + lambda: schemas.INTERNAL_ERROR_EXCEPTION, + lambda: schemas.INVALID_PARAMETER_EXCEPTION, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.THROTTLED_EXCEPTION, + VERIFICATION_EXCEPTION, + ), +) + +AMAZON_SIMPLE_NOTIFICATION_SERVICE: StaticSchema = ( + 21, + n0, + _ASNS, + { + _aw: MappingProxyType({"name": "sns"}), + _aQ: None, + _aws: MappingProxyType( + { + "sdkId": "SNS", + "arnNamespace": "sns", + "cloudFormationName": "SNS", + "cloudTrailEventSource": "sns.amazonaws.com", + "endpointPrefix": "sns", + } + ), + _sNm: MappingProxyType({"uri": "http://sns.amazonaws.com/doc/2010-03-31/"}), + }, +) diff --git a/clients/aws-sdk-sns/src/aws_sdk_sns/aio/client.py b/clients/aws-sdk-sns/src/aws_sdk_sns/aio/client.py index 8bcbf9680..ce6653f16 100644 --- a/clients/aws-sdk-sns/src/aws_sdk_sns/aio/client.py +++ b/clients/aws-sdk-sns/src/aws_sdk_sns/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-sns/src/aws_sdk_sns/aio/config.py b/clients/aws-sdk-sns/src/aws_sdk_sns/aio/config.py index 7552b7923..5972fe2da 100644 --- a/clients/aws-sdk-sns/src/aws_sdk_sns/aio/config.py +++ b/clients/aws-sdk-sns/src/aws_sdk_sns/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -25,7 +25,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme diff --git a/clients/aws-sdk-sns/src/aws_sdk_sns/client.py b/clients/aws-sdk-sns/src/aws_sdk_sns/client.py index 64ed05d93..5655bdb57 100644 --- a/clients/aws-sdk-sns/src/aws_sdk_sns/client.py +++ b/clients/aws-sdk-sns/src/aws_sdk_sns/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-sns/src/aws_sdk_sns/config.py b/clients/aws-sdk-sns/src/aws_sdk_sns/config.py index 21b7d7d25..9b7c2bc4c 100644 --- a/clients/aws-sdk-sns/src/aws_sdk_sns/config.py +++ b/clients/aws-sdk-sns/src/aws_sdk_sns/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-sns/tests/test_endpoints.py b/clients/aws-sdk-sns/tests/test_endpoints.py index ff212c646..64405dd78 100644 --- a/clients/aws-sdk-sns/tests/test_endpoints.py +++ b/clients/aws-sdk-sns/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-sqs/pyproject.toml b/clients/aws-sdk-sqs/pyproject.toml index f41c934e1..209b5a993 100644 --- a/clients/aws-sdk-sqs/pyproject.toml +++ b/clients/aws-sdk-sqs/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_sqs" version = "0.12.0" -description = "aws_sdk_sqs client" +description = "Python client for Amazon Simple Queue Service" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_sqs"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas.py b/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas.py index c91a47162..63df5b808 100644 --- a/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas.py +++ b/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas.py @@ -1,1953 +1,178 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.sqs" -_S = "String" -_ANL = "ActionNameList" -_m = "member" -_AWSAIL = "AWSAccountIdList" -_API = "AddPermissionInput" -_sSI = "smithy.synthetic#originalShapeId" -_cAPR = "com.amazonaws.sqs#AddPermissionRequest" -_s = "smithy.api#input" -_QU = "QueueUrl" -_sm = "smithy.api#required" -_L = "Label" -_AWSAI = "AWSAccountIds" -_sN = "smithy.api#xmlName" -_AWSAIc = "AWSAccountId" -_sF = "smithy.api#xmlFlattened" -_A = "Actions" -_AN = "ActionName" -_APO = "AddPermissionOutput" -_sU = "smithy.api#Unit" -_smi = "smithy.api#output" -_EM = "ExceptionMessage" -_IA = "InvalidAddress" -_smit = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_me = "message" -_IS = "InvalidSecurity" -_OL = "OverLimit" -_QDNE = "QueueDoesNotExist" -_RT = "RequestThrottled" -_UO = "UnsupportedOperation" -_AP = "AddPermission" -_CMMTI = "CancelMessageMoveTaskInput" -_cCMMTR = "com.amazonaws.sqs#CancelMessageMoveTaskRequest" -_TH = "TaskHandle" -_Lo = "Long" -_smith = "smithy.api#default" -_CMMTO = "CancelMessageMoveTaskOutput" -_cCMMTRo = "com.amazonaws.sqs#CancelMessageMoveTaskResult" -_ANOMM = "ApproximateNumberOfMessagesMoved" -_RNFE = "ResourceNotFoundException" -_CMMT = "CancelMessageMoveTask" -_NI = "NullableInteger" -_CMVI = "ChangeMessageVisibilityInput" -_cCMVR = "com.amazonaws.sqs#ChangeMessageVisibilityRequest" -_RH = "ReceiptHandle" -_VT = "VisibilityTimeout" -_CMVO = "ChangeMessageVisibilityOutput" -_MNI = "MessageNotInflight" -_RHII = "ReceiptHandleIsInvalid" -_CMV = "ChangeMessageVisibility" -_BEIND = "BatchEntryIdsNotDistinct" -_CMVBRE = "ChangeMessageVisibilityBatchRequestEntry" -_I = "Id" -_CMVBREL = "ChangeMessageVisibilityBatchRequestEntryList" -_CMVBI = "ChangeMessageVisibilityBatchInput" -_cCMVBR = "com.amazonaws.sqs#ChangeMessageVisibilityBatchRequest" -_E = "Entries" -_B = "Boolean" -_BREE = "BatchResultErrorEntry" -_SF = "SenderFault" -_C = "Code" -_M = "Message" -_BREEL = "BatchResultErrorEntryList" -_CMVBREh = "ChangeMessageVisibilityBatchResultEntry" -_CMVBRELh = "ChangeMessageVisibilityBatchResultEntryList" -_CMVBO = "ChangeMessageVisibilityBatchOutput" -_cCMVBRo = "com.amazonaws.sqs#ChangeMessageVisibilityBatchResult" -_Su = "Successful" -_F = "Failed" -_EBR = "EmptyBatchRequest" -_IBEI = "InvalidBatchEntryId" -_TMEIBR = "TooManyEntriesInBatchRequest" -_CMVB = "ChangeMessageVisibilityBatch" -_QAN = "QueueAttributeName" -_Al = "All" -_sV = "smithy.api#enumValue" -_P = "Policy" -_MMS = "MaximumMessageSize" -_MRP = "MessageRetentionPeriod" -_ANOM = "ApproximateNumberOfMessages" -_ANOMNV = "ApproximateNumberOfMessagesNotVisible" -_CT = "CreatedTimestamp" -_LMT = "LastModifiedTimestamp" -_QA = "QueueArn" -_ANOMD = "ApproximateNumberOfMessagesDelayed" -_DS = "DelaySeconds" -_RMWTS = "ReceiveMessageWaitTimeSeconds" -_RP = "RedrivePolicy" -_FQ = "FifoQueue" -_CBD = "ContentBasedDeduplication" -_KMKI = "KmsMasterKeyId" -_KDKRPS = "KmsDataKeyReusePeriodSeconds" -_DSe = "DeduplicationScope" -_FTL = "FifoThroughputLimit" -_RAP = "RedriveAllowPolicy" -_SMSE = "SqsManagedSseEnabled" -_QAM = "QueueAttributeMap" -_k = "key" -_N = "Name" -_v = "value" -_V = "Value" -_TK = "TagKey" -_TV = "TagValue" -_TM = "TagMap" -_K = "Key" -_CQI = "CreateQueueInput" -_cCQR = "com.amazonaws.sqs#CreateQueueRequest" -_QN = "QueueName" -_At = "Attributes" -_Att = "Attribute" -_t = "tags" -_T = "Tag" -_CQO = "CreateQueueOutput" -_cCQRo = "com.amazonaws.sqs#CreateQueueResult" -_IAN = "InvalidAttributeName" -_IAV = "InvalidAttributeValue" -_QDR = "QueueDeletedRecently" -_QNE = "QueueNameExists" -_CQ = "CreateQueue" -_DMI = "DeleteMessageInput" -_cDMR = "com.amazonaws.sqs#DeleteMessageRequest" -_DMO = "DeleteMessageOutput" -_IIF = "InvalidIdFormat" -_DM = "DeleteMessage" -_DMBRE = "DeleteMessageBatchRequestEntry" -_DMBREL = "DeleteMessageBatchRequestEntryList" -_DMBI = "DeleteMessageBatchInput" -_cDMBR = "com.amazonaws.sqs#DeleteMessageBatchRequest" -_DMBREe = "DeleteMessageBatchResultEntry" -_DMBRELe = "DeleteMessageBatchResultEntryList" -_DMBO = "DeleteMessageBatchOutput" -_cDMBRo = "com.amazonaws.sqs#DeleteMessageBatchResult" -_DMB = "DeleteMessageBatch" -_DQI = "DeleteQueueInput" -_cDQR = "com.amazonaws.sqs#DeleteQueueRequest" -_DQO = "DeleteQueueOutput" -_DQ = "DeleteQueue" -_ANLt = "AttributeNameList" -_GQAI = "GetQueueAttributesInput" -_cGQAR = "com.amazonaws.sqs#GetQueueAttributesRequest" -_ANt = "AttributeNames" -_ANtt = "AttributeName" -_GQAO = "GetQueueAttributesOutput" -_cGQARo = "com.amazonaws.sqs#GetQueueAttributesResult" -_GQA = "GetQueueAttributes" -_GQUI = "GetQueueUrlInput" -_cGQUR = "com.amazonaws.sqs#GetQueueUrlRequest" -_QOAWSAI = "QueueOwnerAWSAccountId" -_GQUO = "GetQueueUrlOutput" -_cGQURo = "com.amazonaws.sqs#GetQueueUrlResult" -_GQU = "GetQueueUrl" -_BI = "BoxedInteger" -_To = "Token" -_LDLSQI = "ListDeadLetterSourceQueuesInput" -_cLDLSQR = "com.amazonaws.sqs#ListDeadLetterSourceQueuesRequest" -_NT = "NextToken" -_MR = "MaxResults" -_QUL = "QueueUrlList" -_LDLSQO = "ListDeadLetterSourceQueuesOutput" -_cLDLSQRo = "com.amazonaws.sqs#ListDeadLetterSourceQueuesResult" -_qU = "queueUrls" -_LDLSQ = "ListDeadLetterSourceQueues" -_LMMTI = "ListMessageMoveTasksInput" -_cLMMTR = "com.amazonaws.sqs#ListMessageMoveTasksRequest" -_SA = "SourceArn" -_NL = "NullableLong" -_LMMTRE = "ListMessageMoveTasksResultEntry" -_St = "Status" -_DA = "DestinationArn" -_MNOMPS = "MaxNumberOfMessagesPerSecond" -_ANOMTM = "ApproximateNumberOfMessagesToMove" -_FR = "FailureReason" -_ST = "StartedTimestamp" -_LMMTREL = "ListMessageMoveTasksResultEntryList" -_LMMTO = "ListMessageMoveTasksOutput" -_LMMTR = "ListMessageMoveTasksResult" -_cLMMTRo = "com.amazonaws.sqs#ListMessageMoveTasksResult" -_R = "Results" -_LMMT = "ListMessageMoveTasks" -_LQI = "ListQueuesInput" -_cLQR = "com.amazonaws.sqs#ListQueuesRequest" -_QNP = "QueueNamePrefix" -_LQO = "ListQueuesOutput" -_cLQRo = "com.amazonaws.sqs#ListQueuesResult" -_QUu = "QueueUrls" -_LQ = "ListQueues" -_LQTI = "ListQueueTagsInput" -_cLQTR = "com.amazonaws.sqs#ListQueueTagsRequest" -_LQTO = "ListQueueTagsOutput" -_cLQTRo = "com.amazonaws.sqs#ListQueueTagsResult" -_Ta = "Tags" -_LQT = "ListQueueTags" -_PQIP = "PurgeQueueInProgress" -_PQI = "PurgeQueueInput" -_cPQR = "com.amazonaws.sqs#PurgeQueueRequest" -_PQO = "PurgeQueueOutput" -_PQ = "PurgeQueue" -_KAD = "KmsAccessDenied" -_KD = "KmsDisabled" -_KIKU = "KmsInvalidKeyUsage" -_KIS = "KmsInvalidState" -_KNF = "KmsNotFound" -_KOIR = "KmsOptInRequired" -_KT = "KmsThrottled" -_MAN = "MessageAttributeName" -_MANL = "MessageAttributeNameList" -_MSAN = "MessageSystemAttributeName" -_SI = "SenderId" -_STe = "SentTimestamp" -_ARC = "ApproximateReceiveCount" -_AFRT = "ApproximateFirstReceiveTimestamp" -_SN = "SequenceNumber" -_MDI = "MessageDeduplicationId" -_MGI = "MessageGroupId" -_AWSTH = "AWSTraceHeader" -_DLQSA = "DeadLetterQueueSourceArn" -_MSAL = "MessageSystemAttributeList" -_RMI = "ReceiveMessageInput" -_cRMR = "com.amazonaws.sqs#ReceiveMessageRequest" -_MSANe = "MessageSystemAttributeNames" -_MANe = "MessageAttributeNames" -_MNOM = "MaxNumberOfMessages" -_WTS = "WaitTimeSeconds" -_RRAI = "ReceiveRequestAttemptId" -_MSAM = "MessageSystemAttributeMap" -_Bi = "Binary" -_BL = "BinaryList" -_BLV = "BinaryListValue" -_SL = "StringList" -_SLV = "StringListValue" -_MAV = "MessageAttributeValue" -_SV = "StringValue" -_BV = "BinaryValue" -_SLVt = "StringListValues" -_BLVi = "BinaryListValues" -_DT = "DataType" -_MBAM = "MessageBodyAttributeMap" -_MI = "MessageId" -_MDOB = "MD5OfBody" -_Bo = "Body" -_MDOMA = "MD5OfMessageAttributes" -_MA = "MessageAttributes" -_MAe = "MessageAttribute" -_ML = "MessageList" -_RMO = "ReceiveMessageOutput" -_cRMRo = "com.amazonaws.sqs#ReceiveMessageResult" -_Me = "Messages" -_RM = "ReceiveMessage" -_RPI = "RemovePermissionInput" -_cRPR = "com.amazonaws.sqs#RemovePermissionRequest" -_RPO = "RemovePermissionOutput" -_RPe = "RemovePermission" -_IMC = "InvalidMessageContents" -_MSANFS = "MessageSystemAttributeNameForSends" -_MSAV = "MessageSystemAttributeValue" -_MBSAM = "MessageBodySystemAttributeMap" -_SMI = "SendMessageInput" -_cSMR = "com.amazonaws.sqs#SendMessageRequest" -_MB = "MessageBody" -_MSA = "MessageSystemAttributes" -_MSAe = "MessageSystemAttribute" -_SMO = "SendMessageOutput" -_cSMRo = "com.amazonaws.sqs#SendMessageResult" -_MDOMB = "MD5OfMessageBody" -_MDOMSA = "MD5OfMessageSystemAttributes" -_SM = "SendMessage" -_BRTL = "BatchRequestTooLong" -_SMBRE = "SendMessageBatchRequestEntry" -_SMBREL = "SendMessageBatchRequestEntryList" -_SMBI = "SendMessageBatchInput" -_cSMBR = "com.amazonaws.sqs#SendMessageBatchRequest" -_SMBREe = "SendMessageBatchResultEntry" -_SMBRELe = "SendMessageBatchResultEntryList" -_SMBO = "SendMessageBatchOutput" -_cSMBRo = "com.amazonaws.sqs#SendMessageBatchResult" -_SMB = "SendMessageBatch" -_SQAI = "SetQueueAttributesInput" -_cSQAR = "com.amazonaws.sqs#SetQueueAttributesRequest" -_SQAO = "SetQueueAttributesOutput" -_SQA = "SetQueueAttributes" -_SMMTI = "StartMessageMoveTaskInput" -_cSMMTR = "com.amazonaws.sqs#StartMessageMoveTaskRequest" -_SMMTO = "StartMessageMoveTaskOutput" -_cSMMTRo = "com.amazonaws.sqs#StartMessageMoveTaskResult" -_SMMT = "StartMessageMoveTask" -_TQI = "TagQueueInput" -_cTQR = "com.amazonaws.sqs#TagQueueRequest" -_TQO = "TagQueueOutput" -_TQ = "TagQueue" -_TKL = "TagKeyList" -_UQI = "UntagQueueInput" -_cUQR = "com.amazonaws.sqs#UntagQueueRequest" -_TKa = "TagKeys" -_UQO = "UntagQueueOutput" -_UQ = "UntagQueue" -_ASQS = "AmazonSQS" -_a = "aws.auth#sigv4" -_a_ = "aws.protocols#awsJson1_0" -_aw = "aws.api#service" - -STRING: StaticSchema = (3, n0, _S, 0) - -ACTION_NAME_LIST: StaticSchema = (16, n0, _ANL, 0, (_m,), ((STRING, 0),)) - -AWS_ACCOUNT_ID_LIST: StaticSchema = (16, n0, _AWSAIL, 0, (_m,), ((STRING, 0),)) - -ADD_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _API, - {_sSI: _cAPR, _s: None}, - (_QU, _L, _AWSAI, _A), - ( - (STRING, 1), - (STRING, 1), - (AWS_ACCOUNT_ID_LIST, {_sN: _AWSAIc, _sF: None, _sm: None}), - (ACTION_NAME_LIST, {_sN: _AN, _sF: None, _sm: None}), - ), -) - -ADD_PERMISSION_OUTPUT: StaticSchema = (18, n0, _APO, {_sSI: _sU, _smi: None}) - -EXCEPTION_MESSAGE: StaticSchema = (3, n0, _EM, 0) - -INVALID_ADDRESS: StaticSchema = ( - 18, - n0, - _IA, - { - _smit: _c, - _sE: 404, - _aQE: MappingProxyType({"code": "InvalidAddress", "httpResponseCode": 404}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_SECURITY: StaticSchema = ( - 18, - n0, - _IS, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "InvalidSecurity", "httpResponseCode": 403}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -OVER_LIMIT: StaticSchema = ( - 18, - n0, - _OL, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "OverLimit", "httpResponseCode": 403}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -QUEUE_DOES_NOT_EXIST: StaticSchema = ( - 18, - n0, - _QDNE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "AWS.SimpleQueueService.NonExistentQueue", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -REQUEST_THROTTLED: StaticSchema = ( - 18, - n0, - _RT, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "RequestThrottled", "httpResponseCode": 403}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -UNSUPPORTED_OPERATION: StaticSchema = ( - 18, - n0, - _UO, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "AWS.SimpleQueueService.UnsupportedOperation", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -ADD_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _AP, - 0, - ADD_PERMISSION_INPUT, - ADD_PERMISSION_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - OVER_LIMIT, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -CANCEL_MESSAGE_MOVE_TASK_INPUT: StaticSchema = ( - 18, - n0, - _CMMTI, - {_sSI: _cCMMTR, _s: None}, - (_TH,), - ((STRING, 1),), -) - -LONG: StaticSchema = (8, n0, _Lo, {_smith: 0}) - -CANCEL_MESSAGE_MOVE_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _CMMTO, - {_sSI: _cCMMTRo, _smi: None}, - (_ANOMM,), - ((LONG, {_smith: 0}),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - { - _smit: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "ResourceNotFoundException", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CANCEL_MESSAGE_MOVE_TASK: StaticOperationSchema = ( - 23, - n0, - _CMMT, - 0, - CANCEL_MESSAGE_MOVE_TASK_INPUT, - CANCEL_MESSAGE_MOVE_TASK_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - REQUEST_THROTTLED, - RESOURCE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION, - ), -) - -NULLABLE_INTEGER: StaticSchema = (7, n0, _NI, 0) - -CHANGE_MESSAGE_VISIBILITY_INPUT: StaticSchema = ( - 18, - n0, - _CMVI, - {_sSI: _cCMVR, _s: None}, - (_QU, _RH, _VT), - ((STRING, 1), (STRING, 1), (NULLABLE_INTEGER, 1)), -) - -CHANGE_MESSAGE_VISIBILITY_OUTPUT: StaticSchema = ( - 18, - n0, - _CMVO, - {_sSI: _sU, _smi: None}, -) - -MESSAGE_NOT_INFLIGHT: StaticSchema = ( - 18, - n0, - _MNI, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "AWS.SimpleQueueService.MessageNotInflight", - "httpResponseCode": 400, - } - ), - }, -) - -RECEIPT_HANDLE_IS_INVALID: StaticSchema = ( - 18, - n0, - _RHII, - { - _smit: _c, - _sE: 404, - _aQE: MappingProxyType( - {"code": "ReceiptHandleIsInvalid", "httpResponseCode": 404} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CHANGE_MESSAGE_VISIBILITY: StaticOperationSchema = ( - 23, - n0, - _CMV, - 0, - CHANGE_MESSAGE_VISIBILITY_INPUT, - CHANGE_MESSAGE_VISIBILITY_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - MESSAGE_NOT_INFLIGHT, - QUEUE_DOES_NOT_EXIST, - RECEIPT_HANDLE_IS_INVALID, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -BATCH_ENTRY_IDS_NOT_DISTINCT: StaticSchema = ( - 18, - n0, - _BEIND, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "AWS.SimpleQueueService.BatchEntryIdsNotDistinct", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY: StaticSchema = ( - 18, - n0, - _CMVBRE, - 0, - (_I, _RH, _VT), - ((STRING, 1), (STRING, 1), (NULLABLE_INTEGER, 0)), -) - -CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _CMVBREL, - 0, - (_m,), - ((CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY, 0),), -) - -CHANGE_MESSAGE_VISIBILITY_BATCH_INPUT: StaticSchema = ( - 18, - n0, - _CMVBI, - {_sSI: _cCMVBR, _s: None}, - (_QU, _E), - ( - (STRING, 1), - ( - CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY_LIST, - {_sN: _CMVBRE, _sF: None, _sm: None}, - ), - ), -) - -BOOLEAN: StaticSchema = (2, n0, _B, {_smith: False}) - -BATCH_RESULT_ERROR_ENTRY: StaticSchema = ( - 18, - n0, - _BREE, - 0, - (_I, _SF, _C, _M), - ((STRING, 1), (BOOLEAN, {_smith: False, _sm: None}), (STRING, 1), (STRING, 0)), -) - -BATCH_RESULT_ERROR_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _BREEL, - 0, - (_m,), - ((BATCH_RESULT_ERROR_ENTRY, 0),), -) - -CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY: StaticSchema = ( - 18, - n0, - _CMVBREh, - 0, - (_I,), - ((STRING, 1),), -) - -CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _CMVBRELh, - 0, - (_m,), - ((CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY, 0),), -) - -CHANGE_MESSAGE_VISIBILITY_BATCH_OUTPUT: StaticSchema = ( - 18, - n0, - _CMVBO, - {_sSI: _cCMVBRo, _smi: None}, - (_Su, _F), - ( - ( - CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY_LIST, - {_sN: _CMVBREh, _sF: None, _sm: None}, - ), - (BATCH_RESULT_ERROR_ENTRY_LIST, {_sN: _BREE, _sF: None, _sm: None}), - ), -) - -EMPTY_BATCH_REQUEST: StaticSchema = ( - 18, - n0, - _EBR, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "AWS.SimpleQueueService.EmptyBatchRequest", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_BATCH_ENTRY_ID: StaticSchema = ( - 18, - n0, - _IBEI, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "AWS.SimpleQueueService.InvalidBatchEntryId", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -TOO_MANY_ENTRIES_IN_BATCH_REQUEST: StaticSchema = ( - 18, - n0, - _TMEIBR, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "AWS.SimpleQueueService.TooManyEntriesInBatchRequest", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CHANGE_MESSAGE_VISIBILITY_BATCH: StaticOperationSchema = ( - 23, - n0, - _CMVB, - 0, - CHANGE_MESSAGE_VISIBILITY_BATCH_INPUT, - CHANGE_MESSAGE_VISIBILITY_BATCH_OUTPUT, - ( - BATCH_ENTRY_IDS_NOT_DISTINCT, - EMPTY_BATCH_REQUEST, - INVALID_ADDRESS, - INVALID_BATCH_ENTRY_ID, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - TOO_MANY_ENTRIES_IN_BATCH_REQUEST, - UNSUPPORTED_OPERATION, - ), -) - -QUEUE_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _QAN, - 0, - ( - _Al, - _P, - _VT, - _MMS, - _MRP, - _ANOM, - _ANOMNV, - _CT, - _LMT, - _QA, - _ANOMD, - _DS, - _RMWTS, - _RP, - _FQ, - _CBD, - _KMKI, - _KDKRPS, - _DSe, - _FTL, - _RAP, - _SMSE, - ), - ( - (-1, {_sV: _Al}), - (-1, {_sV: _P}), - (-1, {_sV: _VT}), - (-1, {_sV: _MMS}), - (-1, {_sV: _MRP}), - (-1, {_sV: _ANOM}), - (-1, {_sV: _ANOMNV}), - (-1, {_sV: _CT}), - (-1, {_sV: _LMT}), - (-1, {_sV: _QA}), - (-1, {_sV: _ANOMD}), - (-1, {_sV: _DS}), - (-1, {_sV: _RMWTS}), - (-1, {_sV: _RP}), - (-1, {_sV: _FQ}), - (-1, {_sV: _CBD}), - (-1, {_sV: _KMKI}), - (-1, {_sV: _KDKRPS}), - (-1, {_sV: _DSe}), - (-1, {_sV: _FTL}), - (-1, {_sV: _RAP}), - (-1, {_sV: _SMSE}), - ), -) - -QUEUE_ATTRIBUTE_MAP: StaticSchema = ( - 17, - n0, - _QAM, - 0, - (_k, _v), - ((QUEUE_ATTRIBUTE_NAME, {_sN: _N}), (STRING, {_sN: _V})), -) - -TAG_KEY: StaticSchema = (3, n0, _TK, 0) - -TAG_VALUE: StaticSchema = (3, n0, _TV, 0) - -TAG_MAP: StaticSchema = ( - 17, - n0, - _TM, - 0, - (_k, _v), - ((TAG_KEY, {_sN: _K}), (TAG_VALUE, {_sN: _V})), -) - -CREATE_QUEUE_INPUT: StaticSchema = ( - 18, - n0, - _CQI, - {_sSI: _cCQR, _s: None}, - (_QN, _At, _t), - ( - (STRING, 1), - (QUEUE_ATTRIBUTE_MAP, {_sN: _Att, _sF: None}), - (TAG_MAP, {_sN: _T, _sF: None}), - ), -) - -CREATE_QUEUE_OUTPUT: StaticSchema = ( - 18, - n0, - _CQO, - {_sSI: _cCQRo, _smi: None}, - (_QU,), - ((STRING, 0),), -) - -INVALID_ATTRIBUTE_NAME: StaticSchema = ( - 18, - n0, - _IAN, - {_smit: _c}, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -INVALID_ATTRIBUTE_VALUE: StaticSchema = ( - 18, - n0, - _IAV, - {_smit: _c}, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -QUEUE_DELETED_RECENTLY: StaticSchema = ( - 18, - n0, - _QDR, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "AWS.SimpleQueueService.QueueDeletedRecently", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -QUEUE_NAME_EXISTS: StaticSchema = ( - 18, - n0, - _QNE, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType({"code": "QueueAlreadyExists", "httpResponseCode": 400}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -CREATE_QUEUE: StaticOperationSchema = ( - 23, - n0, - _CQ, - 0, - CREATE_QUEUE_INPUT, - CREATE_QUEUE_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_ATTRIBUTE_NAME, - INVALID_ATTRIBUTE_VALUE, - INVALID_SECURITY, - QUEUE_DELETED_RECENTLY, - QUEUE_NAME_EXISTS, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_MESSAGE_INPUT: StaticSchema = ( - 18, - n0, - _DMI, - {_sSI: _cDMR, _s: None}, - (_QU, _RH), - ((STRING, 1), (STRING, 1)), -) - -DELETE_MESSAGE_OUTPUT: StaticSchema = (18, n0, _DMO, {_sSI: _sU, _smi: None}) - -INVALID_ID_FORMAT: StaticSchema = (18, n0, _IIF, {_smit: _c}) - -DELETE_MESSAGE: StaticOperationSchema = ( - 23, - n0, - _DM, - 0, - DELETE_MESSAGE_INPUT, - DELETE_MESSAGE_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_ID_FORMAT, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - RECEIPT_HANDLE_IS_INVALID, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_MESSAGE_BATCH_REQUEST_ENTRY: StaticSchema = ( - 18, - n0, - _DMBRE, - 0, - (_I, _RH), - ((STRING, 1), (STRING, 1)), -) - -DELETE_MESSAGE_BATCH_REQUEST_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _DMBREL, - 0, - (_m,), - ((DELETE_MESSAGE_BATCH_REQUEST_ENTRY, 0),), -) - -DELETE_MESSAGE_BATCH_INPUT: StaticSchema = ( - 18, - n0, - _DMBI, - {_sSI: _cDMBR, _s: None}, - (_QU, _E), - ( - (STRING, 1), - (DELETE_MESSAGE_BATCH_REQUEST_ENTRY_LIST, {_sN: _DMBRE, _sF: None, _sm: None}), - ), -) - -DELETE_MESSAGE_BATCH_RESULT_ENTRY: StaticSchema = ( - 18, - n0, - _DMBREe, - 0, - (_I,), - ((STRING, 1),), -) - -DELETE_MESSAGE_BATCH_RESULT_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _DMBRELe, - 0, - (_m,), - ((DELETE_MESSAGE_BATCH_RESULT_ENTRY, 0),), -) - -DELETE_MESSAGE_BATCH_OUTPUT: StaticSchema = ( - 18, - n0, - _DMBO, - {_sSI: _cDMBRo, _smi: None}, - (_Su, _F), - ( - (DELETE_MESSAGE_BATCH_RESULT_ENTRY_LIST, {_sN: _DMBREe, _sF: None, _sm: None}), - (BATCH_RESULT_ERROR_ENTRY_LIST, {_sN: _BREE, _sF: None, _sm: None}), - ), -) - -DELETE_MESSAGE_BATCH: StaticOperationSchema = ( - 23, - n0, - _DMB, - 0, - DELETE_MESSAGE_BATCH_INPUT, - DELETE_MESSAGE_BATCH_OUTPUT, - ( - BATCH_ENTRY_IDS_NOT_DISTINCT, - EMPTY_BATCH_REQUEST, - INVALID_ADDRESS, - INVALID_BATCH_ENTRY_ID, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - TOO_MANY_ENTRIES_IN_BATCH_REQUEST, - UNSUPPORTED_OPERATION, - ), -) - -DELETE_QUEUE_INPUT: StaticSchema = ( - 18, - n0, - _DQI, - {_sSI: _cDQR, _s: None}, - (_QU,), - ((STRING, 1),), -) - -DELETE_QUEUE_OUTPUT: StaticSchema = (18, n0, _DQO, {_sSI: _sU, _smi: None}) - -DELETE_QUEUE: StaticOperationSchema = ( - 23, - n0, - _DQ, - 0, - DELETE_QUEUE_INPUT, - DELETE_QUEUE_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -ATTRIBUTE_NAME_LIST: StaticSchema = ( - 16, - n0, - _ANLt, - 0, - (_m,), - ((QUEUE_ATTRIBUTE_NAME, 0),), -) - -GET_QUEUE_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _GQAI, - {_sSI: _cGQAR, _s: None}, - (_QU, _ANt), - ((STRING, 1), (ATTRIBUTE_NAME_LIST, {_sN: _ANtt, _sF: None})), -) - -GET_QUEUE_ATTRIBUTES_OUTPUT: StaticSchema = ( - 18, - n0, - _GQAO, - {_sSI: _cGQARo, _smi: None}, - (_At,), - ((QUEUE_ATTRIBUTE_MAP, {_sN: _Att, _sF: None}),), -) - -GET_QUEUE_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _GQA, - 0, - GET_QUEUE_ATTRIBUTES_INPUT, - GET_QUEUE_ATTRIBUTES_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_ATTRIBUTE_NAME, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -GET_QUEUE_URL_INPUT: StaticSchema = ( - 18, - n0, - _GQUI, - {_sSI: _cGQUR, _s: None}, - (_QN, _QOAWSAI), - ((STRING, 1), (STRING, 0)), -) - -GET_QUEUE_URL_OUTPUT: StaticSchema = ( - 18, - n0, - _GQUO, - {_sSI: _cGQURo, _smi: None}, - (_QU,), - ((STRING, 0),), -) - -GET_QUEUE_URL: StaticOperationSchema = ( - 23, - n0, - _GQU, - 0, - GET_QUEUE_URL_INPUT, - GET_QUEUE_URL_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -BOXED_INTEGER: StaticSchema = (7, n0, _BI, 0) - -TOKEN: StaticSchema = (3, n0, _To, 0) - -LIST_DEAD_LETTER_SOURCE_QUEUES_INPUT: StaticSchema = ( - 18, - n0, - _LDLSQI, - {_sSI: _cLDLSQR, _s: None}, - (_QU, _NT, _MR), - ((STRING, 1), (TOKEN, 0), (BOXED_INTEGER, 0)), -) - -QUEUE_URL_LIST: StaticSchema = (16, n0, _QUL, 0, (_m,), ((STRING, 0),)) - -LIST_DEAD_LETTER_SOURCE_QUEUES_OUTPUT: StaticSchema = ( - 18, - n0, - _LDLSQO, - {_sSI: _cLDLSQRo, _smi: None}, - (_qU, _NT), - ((QUEUE_URL_LIST, {_sN: _QU, _sF: None, _sm: None}), (TOKEN, 0)), -) - -LIST_DEAD_LETTER_SOURCE_QUEUES: StaticOperationSchema = ( - 23, - n0, - _LDLSQ, - 0, - LIST_DEAD_LETTER_SOURCE_QUEUES_INPUT, - LIST_DEAD_LETTER_SOURCE_QUEUES_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -LIST_MESSAGE_MOVE_TASKS_INPUT: StaticSchema = ( - 18, - n0, - _LMMTI, - {_sSI: _cLMMTR, _s: None}, - (_SA, _MR), - ((STRING, 1), (NULLABLE_INTEGER, 0)), -) - -NULLABLE_LONG: StaticSchema = (8, n0, _NL, 0) - -LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY: StaticSchema = ( - 18, - n0, - _LMMTRE, - 0, - (_TH, _St, _SA, _DA, _MNOMPS, _ANOMM, _ANOMTM, _FR, _ST), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (NULLABLE_INTEGER, 0), - (LONG, {_smith: 0}), - (NULLABLE_LONG, 0), - (STRING, 0), - (LONG, {_smith: 0}), - ), -) - -LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _LMMTREL, - 0, - (_m,), - ((LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY, 0),), -) - -LIST_MESSAGE_MOVE_TASKS_OUTPUT: StaticSchema = ( - 18, - n0, - _LMMTO, - {_sN: _LMMTR, _sSI: _cLMMTRo, _smi: None}, - (_R,), - ((LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY_LIST, {_sN: _LMMTRE, _sF: None}),), -) - -LIST_MESSAGE_MOVE_TASKS: StaticOperationSchema = ( - 23, - n0, - _LMMT, - 0, - LIST_MESSAGE_MOVE_TASKS_INPUT, - LIST_MESSAGE_MOVE_TASKS_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - REQUEST_THROTTLED, - RESOURCE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION, - ), -) - -LIST_QUEUES_INPUT: StaticSchema = ( - 18, - n0, - _LQI, - {_sSI: _cLQR, _s: None}, - (_QNP, _NT, _MR), - ((STRING, 0), (TOKEN, 0), (BOXED_INTEGER, 0)), -) - -LIST_QUEUES_OUTPUT: StaticSchema = ( - 18, - n0, - _LQO, - {_sSI: _cLQRo, _smi: None}, - (_QUu, _NT), - ((QUEUE_URL_LIST, {_sN: _QU, _sF: None}), (TOKEN, 0)), -) - -LIST_QUEUES: StaticOperationSchema = ( - 23, - n0, - _LQ, - 0, - LIST_QUEUES_INPUT, - LIST_QUEUES_OUTPUT, - (INVALID_ADDRESS, INVALID_SECURITY, REQUEST_THROTTLED, UNSUPPORTED_OPERATION), -) - -LIST_QUEUE_TAGS_INPUT: StaticSchema = ( - 18, - n0, - _LQTI, - {_sSI: _cLQTR, _s: None}, - (_QU,), - ((STRING, 1),), -) - -LIST_QUEUE_TAGS_OUTPUT: StaticSchema = ( - 18, - n0, - _LQTO, - {_sSI: _cLQTRo, _smi: None}, - (_Ta,), - ((TAG_MAP, {_sN: _T, _sF: None}),), -) - -LIST_QUEUE_TAGS: StaticOperationSchema = ( - 23, - n0, - _LQT, - 0, - LIST_QUEUE_TAGS_INPUT, - LIST_QUEUE_TAGS_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -PURGE_QUEUE_IN_PROGRESS: StaticSchema = ( - 18, - n0, - _PQIP, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType( - { - "code": "AWS.SimpleQueueService.PurgeQueueInProgress", - "httpResponseCode": 403, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -PURGE_QUEUE_INPUT: StaticSchema = ( - 18, - n0, - _PQI, - {_sSI: _cPQR, _s: None}, - (_QU,), - ((STRING, 1),), -) - -PURGE_QUEUE_OUTPUT: StaticSchema = (18, n0, _PQO, {_sSI: _sU, _smi: None}) - -PURGE_QUEUE: StaticOperationSchema = ( - 23, - n0, - _PQ, - 0, - PURGE_QUEUE_INPUT, - PURGE_QUEUE_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - PURGE_QUEUE_IN_PROGRESS, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -KMS_ACCESS_DENIED: StaticSchema = ( - 18, - n0, - _KAD, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "KMS.AccessDeniedException", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -KMS_DISABLED: StaticSchema = ( - 18, - n0, - _KD, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "KMS.DisabledException", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -KMS_INVALID_KEY_USAGE: StaticSchema = ( - 18, - n0, - _KIKU, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "KMS.InvalidKeyUsageException", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -KMS_INVALID_STATE: StaticSchema = ( - 18, - n0, - _KIS, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "KMS.InvalidStateException", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -KMS_NOT_FOUND: StaticSchema = ( - 18, - n0, - _KNF, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "KMS.NotFoundException", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -KMS_OPT_IN_REQUIRED: StaticSchema = ( - 18, - n0, - _KOIR, - { - _smit: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "KMS.OptInRequired", "httpResponseCode": 403}), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -KMS_THROTTLED: StaticSchema = ( - 18, - n0, - _KT, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "KMS.ThrottlingException", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -MESSAGE_ATTRIBUTE_NAME: StaticSchema = (3, n0, _MAN, 0) - -MESSAGE_ATTRIBUTE_NAME_LIST: StaticSchema = ( - 16, - n0, - _MANL, - 0, - (_m,), - ((MESSAGE_ATTRIBUTE_NAME, 0),), -) - -MESSAGE_SYSTEM_ATTRIBUTE_NAME: StaticSchema = ( - 14, - n0, - _MSAN, - 0, - (_Al, _SI, _STe, _ARC, _AFRT, _SN, _MDI, _MGI, _AWSTH, _DLQSA), - ( - (-1, {_sV: _Al}), - (-1, {_sV: _SI}), - (-1, {_sV: _STe}), - (-1, {_sV: _ARC}), - (-1, {_sV: _AFRT}), - (-1, {_sV: _SN}), - (-1, {_sV: _MDI}), - (-1, {_sV: _MGI}), - (-1, {_sV: _AWSTH}), - (-1, {_sV: _DLQSA}), - ), -) - -MESSAGE_SYSTEM_ATTRIBUTE_LIST: StaticSchema = ( - 16, - n0, - _MSAL, - 0, - (_m,), - ((MESSAGE_SYSTEM_ATTRIBUTE_NAME, 0),), -) - -RECEIVE_MESSAGE_INPUT: StaticSchema = ( - 18, - n0, - _RMI, - {_sSI: _cRMR, _s: None}, - (_QU, _ANt, _MSANe, _MANe, _MNOM, _VT, _WTS, _RRAI), - ( - (STRING, 1), - (ATTRIBUTE_NAME_LIST, {_sN: _ANtt, _sF: None}), - (MESSAGE_SYSTEM_ATTRIBUTE_LIST, {_sN: _ANtt, _sF: None}), - (MESSAGE_ATTRIBUTE_NAME_LIST, {_sN: _MAN, _sF: None}), - (NULLABLE_INTEGER, 0), - (NULLABLE_INTEGER, 0), - (NULLABLE_INTEGER, 0), - (STRING, 0), - ), -) - -MESSAGE_SYSTEM_ATTRIBUTE_MAP: StaticSchema = ( - 17, - n0, - _MSAM, - 0, - (_k, _v), - ((MESSAGE_SYSTEM_ATTRIBUTE_NAME, {_sN: _N}), (STRING, {_sN: _V})), -) - -BINARY: StaticSchema = (1, n0, _Bi, 0) - -BINARY_LIST: StaticSchema = (16, n0, _BL, 0, (_m,), ((BINARY, {_sN: _BLV}),)) - -STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_m,), ((STRING, {_sN: _SLV}),)) - -MESSAGE_ATTRIBUTE_VALUE: StaticSchema = ( - 18, - n0, - _MAV, - 0, - (_SV, _BV, _SLVt, _BLVi, _DT), - ( - (STRING, 0), - (BINARY, 0), - (STRING_LIST, {_sN: _SLV, _sF: None}), - (BINARY_LIST, {_sN: _BLV, _sF: None}), - (STRING, 1), - ), -) - -MESSAGE_BODY_ATTRIBUTE_MAP: StaticSchema = ( - 17, - n0, - _MBAM, - 0, - (_k, _v), - ((STRING, {_sN: _N}), (MESSAGE_ATTRIBUTE_VALUE, {_sN: _V})), -) - -MESSAGE: StaticSchema = ( - 18, - n0, - _M, - 0, - (_MI, _RH, _MDOB, _Bo, _At, _MDOMA, _MA), - ( - (STRING, 0), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (MESSAGE_SYSTEM_ATTRIBUTE_MAP, {_sN: _Att, _sF: None}), - (STRING, 0), - (MESSAGE_BODY_ATTRIBUTE_MAP, {_sN: _MAe, _sF: None}), - ), -) - -MESSAGE_LIST: StaticSchema = (16, n0, _ML, 0, (_m,), ((MESSAGE, 0),)) - -RECEIVE_MESSAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _RMO, - {_sSI: _cRMRo, _smi: None}, - (_Me,), - ((MESSAGE_LIST, {_sN: _M, _sF: None}),), -) - -RECEIVE_MESSAGE: StaticOperationSchema = ( - 23, - n0, - _RM, - 0, - RECEIVE_MESSAGE_INPUT, - RECEIVE_MESSAGE_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - KMS_ACCESS_DENIED, - KMS_DISABLED, - KMS_INVALID_KEY_USAGE, - KMS_INVALID_STATE, - KMS_NOT_FOUND, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLED, - OVER_LIMIT, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -REMOVE_PERMISSION_INPUT: StaticSchema = ( - 18, - n0, - _RPI, - {_sSI: _cRPR, _s: None}, - (_QU, _L), - ((STRING, 1), (STRING, 1)), -) - -REMOVE_PERMISSION_OUTPUT: StaticSchema = (18, n0, _RPO, {_sSI: _sU, _smi: None}) - -REMOVE_PERMISSION: StaticOperationSchema = ( - 23, - n0, - _RPe, - 0, - REMOVE_PERMISSION_INPUT, - REMOVE_PERMISSION_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -INVALID_MESSAGE_CONTENTS: StaticSchema = ( - 18, - n0, - _IMC, - {_smit: _c}, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -MESSAGE_SYSTEM_ATTRIBUTE_NAME_FOR_SENDS: StaticSchema = ( - 14, - n0, - _MSANFS, - 0, - (_AWSTH,), - ((-1, {_sV: _AWSTH}),), -) - -MESSAGE_SYSTEM_ATTRIBUTE_VALUE: StaticSchema = ( - 18, - n0, - _MSAV, - 0, - (_SV, _BV, _SLVt, _BLVi, _DT), - ( - (STRING, 0), - (BINARY, 0), - (STRING_LIST, {_sN: _SLV, _sF: None}), - (BINARY_LIST, {_sN: _BLV, _sF: None}), - (STRING, 1), - ), -) - -MESSAGE_BODY_SYSTEM_ATTRIBUTE_MAP: StaticSchema = ( - 17, - n0, - _MBSAM, - 0, - (_k, _v), - ( - (MESSAGE_SYSTEM_ATTRIBUTE_NAME_FOR_SENDS, {_sN: _N}), - (MESSAGE_SYSTEM_ATTRIBUTE_VALUE, {_sN: _V}), - ), -) - -SEND_MESSAGE_INPUT: StaticSchema = ( - 18, - n0, - _SMI, - {_sSI: _cSMR, _s: None}, - (_QU, _MB, _DS, _MA, _MSA, _MDI, _MGI), - ( - (STRING, 1), - (STRING, 1), - (NULLABLE_INTEGER, 0), - (MESSAGE_BODY_ATTRIBUTE_MAP, {_sN: _MAe, _sF: None}), - (MESSAGE_BODY_SYSTEM_ATTRIBUTE_MAP, {_sN: _MSAe, _sF: None}), - (STRING, 0), - (STRING, 0), - ), -) - -SEND_MESSAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _SMO, - {_sSI: _cSMRo, _smi: None}, - (_MDOMB, _MDOMA, _MDOMSA, _MI, _SN), - ((STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -SEND_MESSAGE: StaticOperationSchema = ( - 23, - n0, - _SM, - 0, - SEND_MESSAGE_INPUT, - SEND_MESSAGE_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_MESSAGE_CONTENTS, - INVALID_SECURITY, - KMS_ACCESS_DENIED, - KMS_DISABLED, - KMS_INVALID_KEY_USAGE, - KMS_INVALID_STATE, - KMS_NOT_FOUND, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLED, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -BATCH_REQUEST_TOO_LONG: StaticSchema = ( - 18, - n0, - _BRTL, - { - _smit: _c, - _sE: 400, - _aQE: MappingProxyType( - { - "code": "AWS.SimpleQueueService.BatchRequestTooLong", - "httpResponseCode": 400, - } - ), - }, - (_me,), - ((EXCEPTION_MESSAGE, 0),), -) - -SEND_MESSAGE_BATCH_REQUEST_ENTRY: StaticSchema = ( - 18, - n0, - _SMBRE, - 0, - (_I, _MB, _DS, _MA, _MSA, _MDI, _MGI), - ( - (STRING, 1), - (STRING, 1), - (NULLABLE_INTEGER, 0), - (MESSAGE_BODY_ATTRIBUTE_MAP, {_sN: _MAe, _sF: None}), - (MESSAGE_BODY_SYSTEM_ATTRIBUTE_MAP, {_sN: _MSAe, _sF: None}), - (STRING, 0), - (STRING, 0), - ), -) - -SEND_MESSAGE_BATCH_REQUEST_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _SMBREL, - 0, - (_m,), - ((SEND_MESSAGE_BATCH_REQUEST_ENTRY, 0),), -) - -SEND_MESSAGE_BATCH_INPUT: StaticSchema = ( - 18, - n0, - _SMBI, - {_sSI: _cSMBR, _s: None}, - (_QU, _E), - ( - (STRING, 1), - (SEND_MESSAGE_BATCH_REQUEST_ENTRY_LIST, {_sN: _SMBRE, _sF: None, _sm: None}), - ), -) - -SEND_MESSAGE_BATCH_RESULT_ENTRY: StaticSchema = ( - 18, - n0, - _SMBREe, - 0, - (_I, _MI, _MDOMB, _MDOMA, _MDOMSA, _SN), - ((STRING, 1), (STRING, 1), (STRING, 1), (STRING, 0), (STRING, 0), (STRING, 0)), -) - -SEND_MESSAGE_BATCH_RESULT_ENTRY_LIST: StaticSchema = ( - 16, - n0, - _SMBRELe, - 0, - (_m,), - ((SEND_MESSAGE_BATCH_RESULT_ENTRY, 0),), -) - -SEND_MESSAGE_BATCH_OUTPUT: StaticSchema = ( - 18, - n0, - _SMBO, - {_sSI: _cSMBRo, _smi: None}, - (_Su, _F), - ( - (SEND_MESSAGE_BATCH_RESULT_ENTRY_LIST, {_sN: _SMBREe, _sF: None, _sm: None}), - (BATCH_RESULT_ERROR_ENTRY_LIST, {_sN: _BREE, _sF: None, _sm: None}), - ), -) - -SEND_MESSAGE_BATCH: StaticOperationSchema = ( - 23, - n0, - _SMB, - 0, - SEND_MESSAGE_BATCH_INPUT, - SEND_MESSAGE_BATCH_OUTPUT, - ( - BATCH_ENTRY_IDS_NOT_DISTINCT, - BATCH_REQUEST_TOO_LONG, - EMPTY_BATCH_REQUEST, - INVALID_ADDRESS, - INVALID_BATCH_ENTRY_ID, - INVALID_SECURITY, - KMS_ACCESS_DENIED, - KMS_DISABLED, - KMS_INVALID_KEY_USAGE, - KMS_INVALID_STATE, - KMS_NOT_FOUND, - KMS_OPT_IN_REQUIRED, - KMS_THROTTLED, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - TOO_MANY_ENTRIES_IN_BATCH_REQUEST, - UNSUPPORTED_OPERATION, - ), -) - -SET_QUEUE_ATTRIBUTES_INPUT: StaticSchema = ( - 18, - n0, - _SQAI, - {_sSI: _cSQAR, _s: None}, - (_QU, _At), - ((STRING, 1), (QUEUE_ATTRIBUTE_MAP, {_sN: _Att, _sF: None, _sm: None})), -) - -SET_QUEUE_ATTRIBUTES_OUTPUT: StaticSchema = (18, n0, _SQAO, {_sSI: _sU, _smi: None}) - -SET_QUEUE_ATTRIBUTES: StaticOperationSchema = ( - 23, - n0, - _SQA, - 0, - SET_QUEUE_ATTRIBUTES_INPUT, - SET_QUEUE_ATTRIBUTES_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_ATTRIBUTE_NAME, - INVALID_ATTRIBUTE_VALUE, - INVALID_SECURITY, - OVER_LIMIT, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -START_MESSAGE_MOVE_TASK_INPUT: StaticSchema = ( - 18, - n0, - _SMMTI, - {_sSI: _cSMMTR, _s: None}, - (_SA, _DA, _MNOMPS), - ((STRING, 1), (STRING, 0), (NULLABLE_INTEGER, 0)), -) - -START_MESSAGE_MOVE_TASK_OUTPUT: StaticSchema = ( - 18, - n0, - _SMMTO, - {_sSI: _cSMMTRo, _smi: None}, - (_TH,), - ((STRING, 0),), -) - -START_MESSAGE_MOVE_TASK: StaticOperationSchema = ( - 23, - n0, - _SMMT, - 0, - START_MESSAGE_MOVE_TASK_INPUT, - START_MESSAGE_MOVE_TASK_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - REQUEST_THROTTLED, - RESOURCE_NOT_FOUND_EXCEPTION, - UNSUPPORTED_OPERATION, - ), -) - -TAG_QUEUE_INPUT: StaticSchema = ( - 18, - n0, - _TQI, - {_sSI: _cTQR, _s: None}, - (_QU, _Ta), - ((STRING, 1), (TAG_MAP, {_sN: _T, _sF: None, _sm: None})), -) - -TAG_QUEUE_OUTPUT: StaticSchema = (18, n0, _TQO, {_sSI: _sU, _smi: None}) - -TAG_QUEUE: StaticOperationSchema = ( - 23, - n0, - _TQ, - 0, - TAG_QUEUE_INPUT, - TAG_QUEUE_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_m,), ((TAG_KEY, 0),)) - -UNTAG_QUEUE_INPUT: StaticSchema = ( - 18, - n0, - _UQI, - {_sSI: _cUQR, _s: None}, - (_QU, _TKa), - ((STRING, 1), (TAG_KEY_LIST, {_sN: _TK, _sF: None, _sm: None})), -) - -UNTAG_QUEUE_OUTPUT: StaticSchema = (18, n0, _UQO, {_sSI: _sU, _smi: None}) - -UNTAG_QUEUE: StaticOperationSchema = ( - 23, - n0, - _UQ, - 0, - UNTAG_QUEUE_INPUT, - UNTAG_QUEUE_OUTPUT, - ( - INVALID_ADDRESS, - INVALID_SECURITY, - QUEUE_DOES_NOT_EXIST, - REQUEST_THROTTLED, - UNSUPPORTED_OPERATION, - ), -) - -AMAZON_SQS: StaticSchema = ( - 21, - n0, - _ASQS, - { - _a: MappingProxyType({"name": "sqs"}), - _a_: None, - _aw: MappingProxyType( - { - "sdkId": "SQS", - "arnNamespace": "sqs", - "cloudFormationName": "SQS", - "cloudTrailEventSource": "sqs.amazonaws.com", - "endpointPrefix": "sqs", - } - ), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "STRING", + "ACTION_NAME_LIST", + "AWS_ACCOUNT_ID_LIST", + "ADD_PERMISSION_INPUT", + "ADD_PERMISSION_OUTPUT", + "ADD_PERMISSION", + "EXCEPTION_MESSAGE", + "INVALID_ADDRESS", + "INVALID_SECURITY", + "OVER_LIMIT", + "QUEUE_DOES_NOT_EXIST", + "REQUEST_THROTTLED", + "UNSUPPORTED_OPERATION", + "CANCEL_MESSAGE_MOVE_TASK_INPUT", + "CANCEL_MESSAGE_MOVE_TASK_OUTPUT", + "CANCEL_MESSAGE_MOVE_TASK", + "LONG", + "RESOURCE_NOT_FOUND_EXCEPTION", + "NULLABLE_INTEGER", + "CHANGE_MESSAGE_VISIBILITY_INPUT", + "CHANGE_MESSAGE_VISIBILITY_OUTPUT", + "CHANGE_MESSAGE_VISIBILITY", + "MESSAGE_NOT_INFLIGHT", + "RECEIPT_HANDLE_IS_INVALID", + "BATCH_ENTRY_IDS_NOT_DISTINCT", + "CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY", + "CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY_LIST", + "CHANGE_MESSAGE_VISIBILITY_BATCH_INPUT", + "CHANGE_MESSAGE_VISIBILITY_BATCH_OUTPUT", + "CHANGE_MESSAGE_VISIBILITY_BATCH", + "BOOLEAN", + "BATCH_RESULT_ERROR_ENTRY", + "BATCH_RESULT_ERROR_ENTRY_LIST", + "CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY", + "CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY_LIST", + "EMPTY_BATCH_REQUEST", + "INVALID_BATCH_ENTRY_ID", + "TOO_MANY_ENTRIES_IN_BATCH_REQUEST", + "QUEUE_ATTRIBUTE_NAME", + "QUEUE_ATTRIBUTE_MAP", + "TAG_KEY", + "TAG_VALUE", + "TAG_MAP", + "CREATE_QUEUE_INPUT", + "CREATE_QUEUE_OUTPUT", + "CREATE_QUEUE", + "INVALID_ATTRIBUTE_NAME", + "INVALID_ATTRIBUTE_VALUE", + "QUEUE_DELETED_RECENTLY", + "QUEUE_NAME_EXISTS", + "DELETE_MESSAGE_INPUT", + "DELETE_MESSAGE_OUTPUT", + "DELETE_MESSAGE", + "INVALID_ID_FORMAT", + "DELETE_MESSAGE_BATCH_REQUEST_ENTRY", + "DELETE_MESSAGE_BATCH_REQUEST_ENTRY_LIST", + "DELETE_MESSAGE_BATCH_INPUT", + "DELETE_MESSAGE_BATCH_OUTPUT", + "DELETE_MESSAGE_BATCH", + "DELETE_MESSAGE_BATCH_RESULT_ENTRY", + "DELETE_MESSAGE_BATCH_RESULT_ENTRY_LIST", + "DELETE_QUEUE_INPUT", + "DELETE_QUEUE_OUTPUT", + "DELETE_QUEUE", + "ATTRIBUTE_NAME_LIST", + "GET_QUEUE_ATTRIBUTES_INPUT", + "GET_QUEUE_ATTRIBUTES_OUTPUT", + "GET_QUEUE_ATTRIBUTES", + "GET_QUEUE_URL_INPUT", + "GET_QUEUE_URL_OUTPUT", + "GET_QUEUE_URL", + "BOXED_INTEGER", + "TOKEN", + "LIST_DEAD_LETTER_SOURCE_QUEUES_INPUT", + "LIST_DEAD_LETTER_SOURCE_QUEUES_OUTPUT", + "LIST_DEAD_LETTER_SOURCE_QUEUES", + "QUEUE_URL_LIST", + "LIST_MESSAGE_MOVE_TASKS_INPUT", + "LIST_MESSAGE_MOVE_TASKS_OUTPUT", + "LIST_MESSAGE_MOVE_TASKS", + ), + ( + "NULLABLE_LONG", + "LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY", + "LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY_LIST", + "LIST_QUEUES_INPUT", + "LIST_QUEUES_OUTPUT", + "LIST_QUEUES", + "LIST_QUEUE_TAGS_INPUT", + "LIST_QUEUE_TAGS_OUTPUT", + "LIST_QUEUE_TAGS", + "PURGE_QUEUE_IN_PROGRESS", + "PURGE_QUEUE_INPUT", + "PURGE_QUEUE_OUTPUT", + "PURGE_QUEUE", + "KMS_ACCESS_DENIED", + "KMS_DISABLED", + "KMS_INVALID_KEY_USAGE", + "KMS_INVALID_STATE", + "KMS_NOT_FOUND", + "KMS_OPT_IN_REQUIRED", + "KMS_THROTTLED", + "MESSAGE_ATTRIBUTE_NAME", + "MESSAGE_ATTRIBUTE_NAME_LIST", + "MESSAGE_SYSTEM_ATTRIBUTE_NAME", + "MESSAGE_SYSTEM_ATTRIBUTE_LIST", + "RECEIVE_MESSAGE_INPUT", + "RECEIVE_MESSAGE_OUTPUT", + "RECEIVE_MESSAGE", + "MESSAGE_SYSTEM_ATTRIBUTE_MAP", + "BINARY", + "BINARY_LIST", + "STRING_LIST", + "MESSAGE_ATTRIBUTE_VALUE", + "MESSAGE_BODY_ATTRIBUTE_MAP", + "MESSAGE", + "MESSAGE_LIST", + "REMOVE_PERMISSION_INPUT", + "REMOVE_PERMISSION_OUTPUT", + "REMOVE_PERMISSION", + "INVALID_MESSAGE_CONTENTS", + "MESSAGE_SYSTEM_ATTRIBUTE_NAME_FOR_SENDS", + "MESSAGE_SYSTEM_ATTRIBUTE_VALUE", + "MESSAGE_BODY_SYSTEM_ATTRIBUTE_MAP", + "SEND_MESSAGE_INPUT", + "SEND_MESSAGE_OUTPUT", + "SEND_MESSAGE", + "BATCH_REQUEST_TOO_LONG", + "SEND_MESSAGE_BATCH_REQUEST_ENTRY", + "SEND_MESSAGE_BATCH_REQUEST_ENTRY_LIST", + "SEND_MESSAGE_BATCH_INPUT", + "SEND_MESSAGE_BATCH_OUTPUT", + "SEND_MESSAGE_BATCH", + "SEND_MESSAGE_BATCH_RESULT_ENTRY", + "SEND_MESSAGE_BATCH_RESULT_ENTRY_LIST", + "SET_QUEUE_ATTRIBUTES_INPUT", + "SET_QUEUE_ATTRIBUTES_OUTPUT", + "SET_QUEUE_ATTRIBUTES", + "START_MESSAGE_MOVE_TASK_INPUT", + "START_MESSAGE_MOVE_TASK_OUTPUT", + "START_MESSAGE_MOVE_TASK", + "TAG_QUEUE_INPUT", + "TAG_QUEUE_OUTPUT", + "TAG_QUEUE", + "TAG_KEY_LIST", + "UNTAG_QUEUE_INPUT", + "UNTAG_QUEUE_OUTPUT", + "UNTAG_QUEUE", + "AMAZON_SQS", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas_0.py b/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas_0.py new file mode 100644 index 000000000..df49cd497 --- /dev/null +++ b/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas_0.py @@ -0,0 +1,1070 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.sqs" +_S = "String" +_ANL = "ActionNameList" +_m = "member" +_AWSAIL = "AWSAccountIdList" +_API = "AddPermissionInput" +_sSI = "smithy.synthetic#originalShapeId" +_cAPR = "com.amazonaws.sqs#AddPermissionRequest" +_s = "smithy.api#input" +_QU = "QueueUrl" +_sm = "smithy.api#required" +_L = "Label" +_AWSAI = "AWSAccountIds" +_sN = "smithy.api#xmlName" +_AWSAIc = "AWSAccountId" +_sF = "smithy.api#xmlFlattened" +_A = "Actions" +_AN = "ActionName" +_APO = "AddPermissionOutput" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_EM = "ExceptionMessage" +_IA = "InvalidAddress" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_IS = "InvalidSecurity" +_OL = "OverLimit" +_QDNE = "QueueDoesNotExist" +_RT = "RequestThrottled" +_UO = "UnsupportedOperation" +_AP = "AddPermission" +_CMMTI = "CancelMessageMoveTaskInput" +_cCMMTR = "com.amazonaws.sqs#CancelMessageMoveTaskRequest" +_TH = "TaskHandle" +_Lo = "Long" +_smith = "smithy.api#default" +_CMMTO = "CancelMessageMoveTaskOutput" +_cCMMTRo = "com.amazonaws.sqs#CancelMessageMoveTaskResult" +_ANOMM = "ApproximateNumberOfMessagesMoved" +_RNFE = "ResourceNotFoundException" +_CMMT = "CancelMessageMoveTask" +_NI = "NullableInteger" +_CMVI = "ChangeMessageVisibilityInput" +_cCMVR = "com.amazonaws.sqs#ChangeMessageVisibilityRequest" +_RH = "ReceiptHandle" +_VT = "VisibilityTimeout" +_CMVO = "ChangeMessageVisibilityOutput" +_MNI = "MessageNotInflight" +_RHII = "ReceiptHandleIsInvalid" +_CMV = "ChangeMessageVisibility" +_BEIND = "BatchEntryIdsNotDistinct" +_CMVBRE = "ChangeMessageVisibilityBatchRequestEntry" +_I = "Id" +_CMVBREL = "ChangeMessageVisibilityBatchRequestEntryList" +_CMVBI = "ChangeMessageVisibilityBatchInput" +_cCMVBR = "com.amazonaws.sqs#ChangeMessageVisibilityBatchRequest" +_E = "Entries" +_B = "Boolean" +_BREE = "BatchResultErrorEntry" +_SF = "SenderFault" +_C = "Code" +_M = "Message" +_BREEL = "BatchResultErrorEntryList" +_CMVBREh = "ChangeMessageVisibilityBatchResultEntry" +_CMVBRELh = "ChangeMessageVisibilityBatchResultEntryList" +_CMVBO = "ChangeMessageVisibilityBatchOutput" +_cCMVBRo = "com.amazonaws.sqs#ChangeMessageVisibilityBatchResult" +_Su = "Successful" +_F = "Failed" +_EBR = "EmptyBatchRequest" +_IBEI = "InvalidBatchEntryId" +_TMEIBR = "TooManyEntriesInBatchRequest" +_CMVB = "ChangeMessageVisibilityBatch" +_QAN = "QueueAttributeName" +_Al = "All" +_sV = "smithy.api#enumValue" +_P = "Policy" +_MMS = "MaximumMessageSize" +_MRP = "MessageRetentionPeriod" +_ANOM = "ApproximateNumberOfMessages" +_ANOMNV = "ApproximateNumberOfMessagesNotVisible" +_CT = "CreatedTimestamp" +_LMT = "LastModifiedTimestamp" +_QA = "QueueArn" +_ANOMD = "ApproximateNumberOfMessagesDelayed" +_DS = "DelaySeconds" +_RMWTS = "ReceiveMessageWaitTimeSeconds" +_RP = "RedrivePolicy" +_FQ = "FifoQueue" +_CBD = "ContentBasedDeduplication" +_KMKI = "KmsMasterKeyId" +_KDKRPS = "KmsDataKeyReusePeriodSeconds" +_DSe = "DeduplicationScope" +_FTL = "FifoThroughputLimit" +_RAP = "RedriveAllowPolicy" +_SMSE = "SqsManagedSseEnabled" +_QAM = "QueueAttributeMap" +_k = "key" +_N = "Name" +_v = "value" +_V = "Value" +_TK = "TagKey" +_TV = "TagValue" +_TM = "TagMap" +_K = "Key" +_CQI = "CreateQueueInput" +_cCQR = "com.amazonaws.sqs#CreateQueueRequest" +_QN = "QueueName" +_At = "Attributes" +_Att = "Attribute" +_t = "tags" +_T = "Tag" +_CQO = "CreateQueueOutput" +_cCQRo = "com.amazonaws.sqs#CreateQueueResult" +_IAN = "InvalidAttributeName" +_IAV = "InvalidAttributeValue" +_QDR = "QueueDeletedRecently" +_QNE = "QueueNameExists" +_CQ = "CreateQueue" +_DMI = "DeleteMessageInput" +_cDMR = "com.amazonaws.sqs#DeleteMessageRequest" +_DMO = "DeleteMessageOutput" +_IIF = "InvalidIdFormat" +_DM = "DeleteMessage" +_DMBRE = "DeleteMessageBatchRequestEntry" +_DMBREL = "DeleteMessageBatchRequestEntryList" +_DMBI = "DeleteMessageBatchInput" +_cDMBR = "com.amazonaws.sqs#DeleteMessageBatchRequest" +_DMBREe = "DeleteMessageBatchResultEntry" +_DMBRELe = "DeleteMessageBatchResultEntryList" +_DMBO = "DeleteMessageBatchOutput" +_cDMBRo = "com.amazonaws.sqs#DeleteMessageBatchResult" +_DMB = "DeleteMessageBatch" +_DQI = "DeleteQueueInput" +_cDQR = "com.amazonaws.sqs#DeleteQueueRequest" +_DQO = "DeleteQueueOutput" +_DQ = "DeleteQueue" +_ANLt = "AttributeNameList" +_GQAI = "GetQueueAttributesInput" +_cGQAR = "com.amazonaws.sqs#GetQueueAttributesRequest" +_ANt = "AttributeNames" +_ANtt = "AttributeName" +_GQAO = "GetQueueAttributesOutput" +_cGQARo = "com.amazonaws.sqs#GetQueueAttributesResult" +_GQA = "GetQueueAttributes" +_GQUI = "GetQueueUrlInput" +_cGQUR = "com.amazonaws.sqs#GetQueueUrlRequest" +_QOAWSAI = "QueueOwnerAWSAccountId" +_GQUO = "GetQueueUrlOutput" +_cGQURo = "com.amazonaws.sqs#GetQueueUrlResult" +_GQU = "GetQueueUrl" +_BI = "BoxedInteger" +_To = "Token" +_LDLSQI = "ListDeadLetterSourceQueuesInput" +_cLDLSQR = "com.amazonaws.sqs#ListDeadLetterSourceQueuesRequest" +_NT = "NextToken" +_MR = "MaxResults" +_QUL = "QueueUrlList" +_LDLSQO = "ListDeadLetterSourceQueuesOutput" +_cLDLSQRo = "com.amazonaws.sqs#ListDeadLetterSourceQueuesResult" +_qU = "queueUrls" +_LDLSQ = "ListDeadLetterSourceQueues" +_LMMTI = "ListMessageMoveTasksInput" +_cLMMTR = "com.amazonaws.sqs#ListMessageMoveTasksRequest" +_SA = "SourceArn" +_LMMTRE = "ListMessageMoveTasksResultEntry" +_LMMTO = "ListMessageMoveTasksOutput" +_LMMTR = "ListMessageMoveTasksResult" +_cLMMTRo = "com.amazonaws.sqs#ListMessageMoveTasksResult" +_R = "Results" +_LMMT = "ListMessageMoveTasks" + +STRING: StaticSchema = (3, n0, _S, 0) + +ACTION_NAME_LIST: StaticSchema = (16, n0, _ANL, 0, (_m,), ((STRING, 0),)) + +AWS_ACCOUNT_ID_LIST: StaticSchema = (16, n0, _AWSAIL, 0, (_m,), ((STRING, 0),)) + +ADD_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _API, + {_sSI: _cAPR, _s: None}, + (_QU, _L, _AWSAI, _A), + ( + (STRING, 1), + (STRING, 1), + (AWS_ACCOUNT_ID_LIST, {_sN: _AWSAIc, _sF: None, _sm: None}), + (ACTION_NAME_LIST, {_sN: _AN, _sF: None, _sm: None}), + ), +) + +ADD_PERMISSION_OUTPUT: StaticSchema = (18, n0, _APO, {_sSI: _sU, _smi: None}) + +ADD_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _AP, + 0, + ADD_PERMISSION_INPUT, + ADD_PERMISSION_OUTPUT, + ( + lambda: INVALID_ADDRESS, + lambda: INVALID_SECURITY, + lambda: OVER_LIMIT, + lambda: QUEUE_DOES_NOT_EXIST, + lambda: REQUEST_THROTTLED, + lambda: UNSUPPORTED_OPERATION, + ), +) + +EXCEPTION_MESSAGE: StaticSchema = (3, n0, _EM, 0) + +INVALID_ADDRESS: StaticSchema = ( + 18, + n0, + _IA, + { + _smit: _c, + _sE: 404, + _aQE: MappingProxyType({"code": "InvalidAddress", "httpResponseCode": 404}), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_SECURITY: StaticSchema = ( + 18, + n0, + _IS, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "InvalidSecurity", "httpResponseCode": 403}), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +OVER_LIMIT: StaticSchema = ( + 18, + n0, + _OL, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "OverLimit", "httpResponseCode": 403}), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +QUEUE_DOES_NOT_EXIST: StaticSchema = ( + 18, + n0, + _QDNE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "AWS.SimpleQueueService.NonExistentQueue", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +REQUEST_THROTTLED: StaticSchema = ( + 18, + n0, + _RT, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "RequestThrottled", "httpResponseCode": 403}), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +UNSUPPORTED_OPERATION: StaticSchema = ( + 18, + n0, + _UO, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "AWS.SimpleQueueService.UnsupportedOperation", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +CANCEL_MESSAGE_MOVE_TASK_INPUT: StaticSchema = ( + 18, + n0, + _CMMTI, + {_sSI: _cCMMTR, _s: None}, + (_TH,), + ((STRING, 1),), +) + +CANCEL_MESSAGE_MOVE_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _CMMTO, + {_sSI: _cCMMTRo, _smi: None}, + (_ANOMM,), + ((lambda: LONG, {_smith: 0}),), +) + +CANCEL_MESSAGE_MOVE_TASK: StaticOperationSchema = ( + 23, + n0, + _CMMT, + 0, + CANCEL_MESSAGE_MOVE_TASK_INPUT, + CANCEL_MESSAGE_MOVE_TASK_OUTPUT, + ( + INVALID_ADDRESS, + INVALID_SECURITY, + REQUEST_THROTTLED, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + UNSUPPORTED_OPERATION, + ), +) + +LONG: StaticSchema = (8, n0, _Lo, {_smith: 0}) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + { + _smit: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "ResourceNotFoundException", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +NULLABLE_INTEGER: StaticSchema = (7, n0, _NI, 0) + +CHANGE_MESSAGE_VISIBILITY_INPUT: StaticSchema = ( + 18, + n0, + _CMVI, + {_sSI: _cCMVR, _s: None}, + (_QU, _RH, _VT), + ((STRING, 1), (STRING, 1), (NULLABLE_INTEGER, 1)), +) + +CHANGE_MESSAGE_VISIBILITY_OUTPUT: StaticSchema = ( + 18, + n0, + _CMVO, + {_sSI: _sU, _smi: None}, +) + +CHANGE_MESSAGE_VISIBILITY: StaticOperationSchema = ( + 23, + n0, + _CMV, + 0, + CHANGE_MESSAGE_VISIBILITY_INPUT, + CHANGE_MESSAGE_VISIBILITY_OUTPUT, + ( + INVALID_ADDRESS, + INVALID_SECURITY, + lambda: MESSAGE_NOT_INFLIGHT, + QUEUE_DOES_NOT_EXIST, + lambda: RECEIPT_HANDLE_IS_INVALID, + REQUEST_THROTTLED, + UNSUPPORTED_OPERATION, + ), +) + +MESSAGE_NOT_INFLIGHT: StaticSchema = ( + 18, + n0, + _MNI, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "AWS.SimpleQueueService.MessageNotInflight", + "httpResponseCode": 400, + } + ), + }, +) + +RECEIPT_HANDLE_IS_INVALID: StaticSchema = ( + 18, + n0, + _RHII, + { + _smit: _c, + _sE: 404, + _aQE: MappingProxyType( + {"code": "ReceiptHandleIsInvalid", "httpResponseCode": 404} + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +BATCH_ENTRY_IDS_NOT_DISTINCT: StaticSchema = ( + 18, + n0, + _BEIND, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "AWS.SimpleQueueService.BatchEntryIdsNotDistinct", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY: StaticSchema = ( + 18, + n0, + _CMVBRE, + 0, + (_I, _RH, _VT), + ((STRING, 1), (STRING, 1), (NULLABLE_INTEGER, 0)), +) + +CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _CMVBREL, + 0, + (_m,), + ((CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY, 0),), +) + +CHANGE_MESSAGE_VISIBILITY_BATCH_INPUT: StaticSchema = ( + 18, + n0, + _CMVBI, + {_sSI: _cCMVBR, _s: None}, + (_QU, _E), + ( + (STRING, 1), + ( + CHANGE_MESSAGE_VISIBILITY_BATCH_REQUEST_ENTRY_LIST, + {_sN: _CMVBRE, _sF: None, _sm: None}, + ), + ), +) + +CHANGE_MESSAGE_VISIBILITY_BATCH_OUTPUT: StaticSchema = ( + 18, + n0, + _CMVBO, + {_sSI: _cCMVBRo, _smi: None}, + (_Su, _F), + ( + ( + lambda: CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY_LIST, + {_sN: _CMVBREh, _sF: None, _sm: None}, + ), + (lambda: BATCH_RESULT_ERROR_ENTRY_LIST, {_sN: _BREE, _sF: None, _sm: None}), + ), +) + +CHANGE_MESSAGE_VISIBILITY_BATCH: StaticOperationSchema = ( + 23, + n0, + _CMVB, + 0, + CHANGE_MESSAGE_VISIBILITY_BATCH_INPUT, + CHANGE_MESSAGE_VISIBILITY_BATCH_OUTPUT, + ( + BATCH_ENTRY_IDS_NOT_DISTINCT, + lambda: EMPTY_BATCH_REQUEST, + INVALID_ADDRESS, + lambda: INVALID_BATCH_ENTRY_ID, + INVALID_SECURITY, + QUEUE_DOES_NOT_EXIST, + REQUEST_THROTTLED, + lambda: TOO_MANY_ENTRIES_IN_BATCH_REQUEST, + UNSUPPORTED_OPERATION, + ), +) + +BOOLEAN: StaticSchema = (2, n0, _B, {_smith: False}) + +BATCH_RESULT_ERROR_ENTRY: StaticSchema = ( + 18, + n0, + _BREE, + 0, + (_I, _SF, _C, _M), + ((STRING, 1), (BOOLEAN, {_smith: False, _sm: None}), (STRING, 1), (STRING, 0)), +) + +BATCH_RESULT_ERROR_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _BREEL, + 0, + (_m,), + ((BATCH_RESULT_ERROR_ENTRY, 0),), +) + +CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY: StaticSchema = ( + 18, + n0, + _CMVBREh, + 0, + (_I,), + ((STRING, 1),), +) + +CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _CMVBRELh, + 0, + (_m,), + ((CHANGE_MESSAGE_VISIBILITY_BATCH_RESULT_ENTRY, 0),), +) + +EMPTY_BATCH_REQUEST: StaticSchema = ( + 18, + n0, + _EBR, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "AWS.SimpleQueueService.EmptyBatchRequest", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_BATCH_ENTRY_ID: StaticSchema = ( + 18, + n0, + _IBEI, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "AWS.SimpleQueueService.InvalidBatchEntryId", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +TOO_MANY_ENTRIES_IN_BATCH_REQUEST: StaticSchema = ( + 18, + n0, + _TMEIBR, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "AWS.SimpleQueueService.TooManyEntriesInBatchRequest", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +QUEUE_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _QAN, + 0, + ( + _Al, + _P, + _VT, + _MMS, + _MRP, + _ANOM, + _ANOMNV, + _CT, + _LMT, + _QA, + _ANOMD, + _DS, + _RMWTS, + _RP, + _FQ, + _CBD, + _KMKI, + _KDKRPS, + _DSe, + _FTL, + _RAP, + _SMSE, + ), + ( + (-1, {_sV: _Al}), + (-1, {_sV: _P}), + (-1, {_sV: _VT}), + (-1, {_sV: _MMS}), + (-1, {_sV: _MRP}), + (-1, {_sV: _ANOM}), + (-1, {_sV: _ANOMNV}), + (-1, {_sV: _CT}), + (-1, {_sV: _LMT}), + (-1, {_sV: _QA}), + (-1, {_sV: _ANOMD}), + (-1, {_sV: _DS}), + (-1, {_sV: _RMWTS}), + (-1, {_sV: _RP}), + (-1, {_sV: _FQ}), + (-1, {_sV: _CBD}), + (-1, {_sV: _KMKI}), + (-1, {_sV: _KDKRPS}), + (-1, {_sV: _DSe}), + (-1, {_sV: _FTL}), + (-1, {_sV: _RAP}), + (-1, {_sV: _SMSE}), + ), +) + +QUEUE_ATTRIBUTE_MAP: StaticSchema = ( + 17, + n0, + _QAM, + 0, + (_k, _v), + ((QUEUE_ATTRIBUTE_NAME, {_sN: _N}), (STRING, {_sN: _V})), +) + +TAG_KEY: StaticSchema = (3, n0, _TK, 0) + +TAG_VALUE: StaticSchema = (3, n0, _TV, 0) + +TAG_MAP: StaticSchema = ( + 17, + n0, + _TM, + 0, + (_k, _v), + ((TAG_KEY, {_sN: _K}), (TAG_VALUE, {_sN: _V})), +) + +CREATE_QUEUE_INPUT: StaticSchema = ( + 18, + n0, + _CQI, + {_sSI: _cCQR, _s: None}, + (_QN, _At, _t), + ( + (STRING, 1), + (QUEUE_ATTRIBUTE_MAP, {_sN: _Att, _sF: None}), + (TAG_MAP, {_sN: _T, _sF: None}), + ), +) + +CREATE_QUEUE_OUTPUT: StaticSchema = ( + 18, + n0, + _CQO, + {_sSI: _cCQRo, _smi: None}, + (_QU,), + ((STRING, 0),), +) + +CREATE_QUEUE: StaticOperationSchema = ( + 23, + n0, + _CQ, + 0, + CREATE_QUEUE_INPUT, + CREATE_QUEUE_OUTPUT, + ( + INVALID_ADDRESS, + lambda: INVALID_ATTRIBUTE_NAME, + lambda: INVALID_ATTRIBUTE_VALUE, + INVALID_SECURITY, + lambda: QUEUE_DELETED_RECENTLY, + lambda: QUEUE_NAME_EXISTS, + REQUEST_THROTTLED, + UNSUPPORTED_OPERATION, + ), +) + +INVALID_ATTRIBUTE_NAME: StaticSchema = ( + 18, + n0, + _IAN, + {_smit: _c}, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +INVALID_ATTRIBUTE_VALUE: StaticSchema = ( + 18, + n0, + _IAV, + {_smit: _c}, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +QUEUE_DELETED_RECENTLY: StaticSchema = ( + 18, + n0, + _QDR, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "AWS.SimpleQueueService.QueueDeletedRecently", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +QUEUE_NAME_EXISTS: StaticSchema = ( + 18, + n0, + _QNE, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType({"code": "QueueAlreadyExists", "httpResponseCode": 400}), + }, + (_me,), + ((EXCEPTION_MESSAGE, 0),), +) + +DELETE_MESSAGE_INPUT: StaticSchema = ( + 18, + n0, + _DMI, + {_sSI: _cDMR, _s: None}, + (_QU, _RH), + ((STRING, 1), (STRING, 1)), +) + +DELETE_MESSAGE_OUTPUT: StaticSchema = (18, n0, _DMO, {_sSI: _sU, _smi: None}) + +DELETE_MESSAGE: StaticOperationSchema = ( + 23, + n0, + _DM, + 0, + DELETE_MESSAGE_INPUT, + DELETE_MESSAGE_OUTPUT, + ( + INVALID_ADDRESS, + lambda: INVALID_ID_FORMAT, + INVALID_SECURITY, + QUEUE_DOES_NOT_EXIST, + RECEIPT_HANDLE_IS_INVALID, + REQUEST_THROTTLED, + UNSUPPORTED_OPERATION, + ), +) + +INVALID_ID_FORMAT: StaticSchema = (18, n0, _IIF, {_smit: _c}) + +DELETE_MESSAGE_BATCH_REQUEST_ENTRY: StaticSchema = ( + 18, + n0, + _DMBRE, + 0, + (_I, _RH), + ((STRING, 1), (STRING, 1)), +) + +DELETE_MESSAGE_BATCH_REQUEST_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _DMBREL, + 0, + (_m,), + ((DELETE_MESSAGE_BATCH_REQUEST_ENTRY, 0),), +) + +DELETE_MESSAGE_BATCH_INPUT: StaticSchema = ( + 18, + n0, + _DMBI, + {_sSI: _cDMBR, _s: None}, + (_QU, _E), + ( + (STRING, 1), + (DELETE_MESSAGE_BATCH_REQUEST_ENTRY_LIST, {_sN: _DMBRE, _sF: None, _sm: None}), + ), +) + +DELETE_MESSAGE_BATCH_OUTPUT: StaticSchema = ( + 18, + n0, + _DMBO, + {_sSI: _cDMBRo, _smi: None}, + (_Su, _F), + ( + ( + lambda: DELETE_MESSAGE_BATCH_RESULT_ENTRY_LIST, + {_sN: _DMBREe, _sF: None, _sm: None}, + ), + (BATCH_RESULT_ERROR_ENTRY_LIST, {_sN: _BREE, _sF: None, _sm: None}), + ), +) + +DELETE_MESSAGE_BATCH: StaticOperationSchema = ( + 23, + n0, + _DMB, + 0, + DELETE_MESSAGE_BATCH_INPUT, + DELETE_MESSAGE_BATCH_OUTPUT, + ( + BATCH_ENTRY_IDS_NOT_DISTINCT, + EMPTY_BATCH_REQUEST, + INVALID_ADDRESS, + INVALID_BATCH_ENTRY_ID, + INVALID_SECURITY, + QUEUE_DOES_NOT_EXIST, + REQUEST_THROTTLED, + TOO_MANY_ENTRIES_IN_BATCH_REQUEST, + UNSUPPORTED_OPERATION, + ), +) + +DELETE_MESSAGE_BATCH_RESULT_ENTRY: StaticSchema = ( + 18, + n0, + _DMBREe, + 0, + (_I,), + ((STRING, 1),), +) + +DELETE_MESSAGE_BATCH_RESULT_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _DMBRELe, + 0, + (_m,), + ((DELETE_MESSAGE_BATCH_RESULT_ENTRY, 0),), +) + +DELETE_QUEUE_INPUT: StaticSchema = ( + 18, + n0, + _DQI, + {_sSI: _cDQR, _s: None}, + (_QU,), + ((STRING, 1),), +) + +DELETE_QUEUE_OUTPUT: StaticSchema = (18, n0, _DQO, {_sSI: _sU, _smi: None}) + +DELETE_QUEUE: StaticOperationSchema = ( + 23, + n0, + _DQ, + 0, + DELETE_QUEUE_INPUT, + DELETE_QUEUE_OUTPUT, + ( + INVALID_ADDRESS, + INVALID_SECURITY, + QUEUE_DOES_NOT_EXIST, + REQUEST_THROTTLED, + UNSUPPORTED_OPERATION, + ), +) + +ATTRIBUTE_NAME_LIST: StaticSchema = ( + 16, + n0, + _ANLt, + 0, + (_m,), + ((QUEUE_ATTRIBUTE_NAME, 0),), +) + +GET_QUEUE_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _GQAI, + {_sSI: _cGQAR, _s: None}, + (_QU, _ANt), + ((STRING, 1), (ATTRIBUTE_NAME_LIST, {_sN: _ANtt, _sF: None})), +) + +GET_QUEUE_ATTRIBUTES_OUTPUT: StaticSchema = ( + 18, + n0, + _GQAO, + {_sSI: _cGQARo, _smi: None}, + (_At,), + ((QUEUE_ATTRIBUTE_MAP, {_sN: _Att, _sF: None}),), +) + +GET_QUEUE_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _GQA, + 0, + GET_QUEUE_ATTRIBUTES_INPUT, + GET_QUEUE_ATTRIBUTES_OUTPUT, + ( + INVALID_ADDRESS, + INVALID_ATTRIBUTE_NAME, + INVALID_SECURITY, + QUEUE_DOES_NOT_EXIST, + REQUEST_THROTTLED, + UNSUPPORTED_OPERATION, + ), +) + +GET_QUEUE_URL_INPUT: StaticSchema = ( + 18, + n0, + _GQUI, + {_sSI: _cGQUR, _s: None}, + (_QN, _QOAWSAI), + ((STRING, 1), (STRING, 0)), +) + +GET_QUEUE_URL_OUTPUT: StaticSchema = ( + 18, + n0, + _GQUO, + {_sSI: _cGQURo, _smi: None}, + (_QU,), + ((STRING, 0),), +) + +GET_QUEUE_URL: StaticOperationSchema = ( + 23, + n0, + _GQU, + 0, + GET_QUEUE_URL_INPUT, + GET_QUEUE_URL_OUTPUT, + ( + INVALID_ADDRESS, + INVALID_SECURITY, + QUEUE_DOES_NOT_EXIST, + REQUEST_THROTTLED, + UNSUPPORTED_OPERATION, + ), +) + +BOXED_INTEGER: StaticSchema = (7, n0, _BI, 0) + +TOKEN: StaticSchema = (3, n0, _To, 0) + +LIST_DEAD_LETTER_SOURCE_QUEUES_INPUT: StaticSchema = ( + 18, + n0, + _LDLSQI, + {_sSI: _cLDLSQR, _s: None}, + (_QU, _NT, _MR), + ((STRING, 1), (TOKEN, 0), (BOXED_INTEGER, 0)), +) + +LIST_DEAD_LETTER_SOURCE_QUEUES_OUTPUT: StaticSchema = ( + 18, + n0, + _LDLSQO, + {_sSI: _cLDLSQRo, _smi: None}, + (_qU, _NT), + ((lambda: QUEUE_URL_LIST, {_sN: _QU, _sF: None, _sm: None}), (TOKEN, 0)), +) + +LIST_DEAD_LETTER_SOURCE_QUEUES: StaticOperationSchema = ( + 23, + n0, + _LDLSQ, + 0, + LIST_DEAD_LETTER_SOURCE_QUEUES_INPUT, + LIST_DEAD_LETTER_SOURCE_QUEUES_OUTPUT, + ( + INVALID_ADDRESS, + INVALID_SECURITY, + QUEUE_DOES_NOT_EXIST, + REQUEST_THROTTLED, + UNSUPPORTED_OPERATION, + ), +) + +QUEUE_URL_LIST: StaticSchema = (16, n0, _QUL, 0, (_m,), ((STRING, 0),)) + +LIST_MESSAGE_MOVE_TASKS_INPUT: StaticSchema = ( + 18, + n0, + _LMMTI, + {_sSI: _cLMMTR, _s: None}, + (_SA, _MR), + ((STRING, 1), (NULLABLE_INTEGER, 0)), +) + +LIST_MESSAGE_MOVE_TASKS_OUTPUT: StaticSchema = ( + 18, + n0, + _LMMTO, + {_sN: _LMMTR, _sSI: _cLMMTRo, _smi: None}, + (_R,), + ( + ( + lambda: schemas.LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY_LIST, + {_sN: _LMMTRE, _sF: None}, + ), + ), +) + +LIST_MESSAGE_MOVE_TASKS: StaticOperationSchema = ( + 23, + n0, + _LMMT, + 0, + LIST_MESSAGE_MOVE_TASKS_INPUT, + LIST_MESSAGE_MOVE_TASKS_OUTPUT, + ( + INVALID_ADDRESS, + INVALID_SECURITY, + REQUEST_THROTTLED, + RESOURCE_NOT_FOUND_EXCEPTION, + UNSUPPORTED_OPERATION, + ), +) diff --git a/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas_1.py b/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas_1.py new file mode 100644 index 000000000..8b2999219 --- /dev/null +++ b/clients/aws-sdk-sqs/src/aws_sdk_sqs/_private/schemas_1.py @@ -0,0 +1,996 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.sqs" +_m = "member" +_sSI = "smithy.synthetic#originalShapeId" +_s = "smithy.api#input" +_QU = "QueueUrl" +_sm = "smithy.api#required" +_L = "Label" +_sN = "smithy.api#xmlName" +_sF = "smithy.api#xmlFlattened" +_sU = "smithy.api#Unit" +_smi = "smithy.api#output" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_TH = "TaskHandle" +_smith = "smithy.api#default" +_ANOMM = "ApproximateNumberOfMessagesMoved" +_RH = "ReceiptHandle" +_VT = "VisibilityTimeout" +_I = "Id" +_E = "Entries" +_BREE = "BatchResultErrorEntry" +_M = "Message" +_Su = "Successful" +_F = "Failed" +_Al = "All" +_sV = "smithy.api#enumValue" +_DS = "DelaySeconds" +_k = "key" +_N = "Name" +_v = "value" +_V = "Value" +_TK = "TagKey" +_At = "Attributes" +_Att = "Attribute" +_T = "Tag" +_ANt = "AttributeNames" +_ANtt = "AttributeName" +_NT = "NextToken" +_MR = "MaxResults" +_SA = "SourceArn" +_NL = "NullableLong" +_LMMTRE = "ListMessageMoveTasksResultEntry" +_St = "Status" +_DA = "DestinationArn" +_MNOMPS = "MaxNumberOfMessagesPerSecond" +_ANOMTM = "ApproximateNumberOfMessagesToMove" +_FR = "FailureReason" +_ST = "StartedTimestamp" +_LMMTREL = "ListMessageMoveTasksResultEntryList" +_LQI = "ListQueuesInput" +_cLQR = "com.amazonaws.sqs#ListQueuesRequest" +_QNP = "QueueNamePrefix" +_LQO = "ListQueuesOutput" +_cLQRo = "com.amazonaws.sqs#ListQueuesResult" +_QUu = "QueueUrls" +_LQ = "ListQueues" +_LQTI = "ListQueueTagsInput" +_cLQTR = "com.amazonaws.sqs#ListQueueTagsRequest" +_LQTO = "ListQueueTagsOutput" +_cLQTRo = "com.amazonaws.sqs#ListQueueTagsResult" +_Ta = "Tags" +_LQT = "ListQueueTags" +_PQIP = "PurgeQueueInProgress" +_PQI = "PurgeQueueInput" +_cPQR = "com.amazonaws.sqs#PurgeQueueRequest" +_PQO = "PurgeQueueOutput" +_PQ = "PurgeQueue" +_KAD = "KmsAccessDenied" +_KD = "KmsDisabled" +_KIKU = "KmsInvalidKeyUsage" +_KIS = "KmsInvalidState" +_KNF = "KmsNotFound" +_KOIR = "KmsOptInRequired" +_KT = "KmsThrottled" +_MAN = "MessageAttributeName" +_MANL = "MessageAttributeNameList" +_MSAN = "MessageSystemAttributeName" +_SI = "SenderId" +_STe = "SentTimestamp" +_ARC = "ApproximateReceiveCount" +_AFRT = "ApproximateFirstReceiveTimestamp" +_SN = "SequenceNumber" +_MDI = "MessageDeduplicationId" +_MGI = "MessageGroupId" +_AWSTH = "AWSTraceHeader" +_DLQSA = "DeadLetterQueueSourceArn" +_MSAL = "MessageSystemAttributeList" +_RMI = "ReceiveMessageInput" +_cRMR = "com.amazonaws.sqs#ReceiveMessageRequest" +_MSANe = "MessageSystemAttributeNames" +_MANe = "MessageAttributeNames" +_MNOM = "MaxNumberOfMessages" +_WTS = "WaitTimeSeconds" +_RRAI = "ReceiveRequestAttemptId" +_MSAM = "MessageSystemAttributeMap" +_Bi = "Binary" +_BL = "BinaryList" +_BLV = "BinaryListValue" +_SL = "StringList" +_SLV = "StringListValue" +_MAV = "MessageAttributeValue" +_SV = "StringValue" +_BV = "BinaryValue" +_SLVt = "StringListValues" +_BLVi = "BinaryListValues" +_DT = "DataType" +_MBAM = "MessageBodyAttributeMap" +_MI = "MessageId" +_MDOB = "MD5OfBody" +_Bo = "Body" +_MDOMA = "MD5OfMessageAttributes" +_MA = "MessageAttributes" +_MAe = "MessageAttribute" +_ML = "MessageList" +_RMO = "ReceiveMessageOutput" +_cRMRo = "com.amazonaws.sqs#ReceiveMessageResult" +_Me = "Messages" +_RM = "ReceiveMessage" +_RPI = "RemovePermissionInput" +_cRPR = "com.amazonaws.sqs#RemovePermissionRequest" +_RPO = "RemovePermissionOutput" +_RPe = "RemovePermission" +_IMC = "InvalidMessageContents" +_MSANFS = "MessageSystemAttributeNameForSends" +_MSAV = "MessageSystemAttributeValue" +_MBSAM = "MessageBodySystemAttributeMap" +_SMI = "SendMessageInput" +_cSMR = "com.amazonaws.sqs#SendMessageRequest" +_MB = "MessageBody" +_MSA = "MessageSystemAttributes" +_MSAe = "MessageSystemAttribute" +_SMO = "SendMessageOutput" +_cSMRo = "com.amazonaws.sqs#SendMessageResult" +_MDOMB = "MD5OfMessageBody" +_MDOMSA = "MD5OfMessageSystemAttributes" +_SM = "SendMessage" +_BRTL = "BatchRequestTooLong" +_SMBRE = "SendMessageBatchRequestEntry" +_SMBREL = "SendMessageBatchRequestEntryList" +_SMBI = "SendMessageBatchInput" +_cSMBR = "com.amazonaws.sqs#SendMessageBatchRequest" +_SMBREe = "SendMessageBatchResultEntry" +_SMBRELe = "SendMessageBatchResultEntryList" +_SMBO = "SendMessageBatchOutput" +_cSMBRo = "com.amazonaws.sqs#SendMessageBatchResult" +_SMB = "SendMessageBatch" +_SQAI = "SetQueueAttributesInput" +_cSQAR = "com.amazonaws.sqs#SetQueueAttributesRequest" +_SQAO = "SetQueueAttributesOutput" +_SQA = "SetQueueAttributes" +_SMMTI = "StartMessageMoveTaskInput" +_cSMMTR = "com.amazonaws.sqs#StartMessageMoveTaskRequest" +_SMMTO = "StartMessageMoveTaskOutput" +_cSMMTRo = "com.amazonaws.sqs#StartMessageMoveTaskResult" +_SMMT = "StartMessageMoveTask" +_TQI = "TagQueueInput" +_cTQR = "com.amazonaws.sqs#TagQueueRequest" +_TQO = "TagQueueOutput" +_TQ = "TagQueue" +_TKL = "TagKeyList" +_UQI = "UntagQueueInput" +_cUQR = "com.amazonaws.sqs#UntagQueueRequest" +_TKa = "TagKeys" +_UQO = "UntagQueueOutput" +_UQ = "UntagQueue" +_ASQS = "AmazonSQS" +_a = "aws.auth#sigv4" +_a_ = "aws.protocols#awsJson1_0" +_aw = "aws.api#service" +_aQC = "aws.protocols#awsQueryCompatible" + +NULLABLE_LONG: StaticSchema = (8, n0, _NL, 0) + +LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY: StaticSchema = ( + 18, + n0, + _LMMTRE, + 0, + (_TH, _St, _SA, _DA, _MNOMPS, _ANOMM, _ANOMTM, _FR, _ST), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.LONG, {_smith: 0}), + (NULLABLE_LONG, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LONG, {_smith: 0}), + ), +) + +LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _LMMTREL, + 0, + (_m,), + ((LIST_MESSAGE_MOVE_TASKS_RESULT_ENTRY, 0),), +) + +LIST_QUEUES_INPUT: StaticSchema = ( + 18, + n0, + _LQI, + {_sSI: _cLQR, _s: None}, + (_QNP, _NT, _MR), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.TOKEN, 0), + (lambda: schemas.BOXED_INTEGER, 0), + ), +) + +LIST_QUEUES_OUTPUT: StaticSchema = ( + 18, + n0, + _LQO, + {_sSI: _cLQRo, _smi: None}, + (_QUu, _NT), + ( + (lambda: schemas.QUEUE_URL_LIST, {_sN: _QU, _sF: None}), + (lambda: schemas.TOKEN, 0), + ), +) + +LIST_QUEUES: StaticOperationSchema = ( + 23, + n0, + _LQ, + 0, + LIST_QUEUES_INPUT, + LIST_QUEUES_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_SECURITY, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +LIST_QUEUE_TAGS_INPUT: StaticSchema = ( + 18, + n0, + _LQTI, + {_sSI: _cLQTR, _s: None}, + (_QU,), + ((lambda: schemas.STRING, 1),), +) + +LIST_QUEUE_TAGS_OUTPUT: StaticSchema = ( + 18, + n0, + _LQTO, + {_sSI: _cLQTRo, _smi: None}, + (_Ta,), + ((lambda: schemas.TAG_MAP, {_sN: _T, _sF: None}),), +) + +LIST_QUEUE_TAGS: StaticOperationSchema = ( + 23, + n0, + _LQT, + 0, + LIST_QUEUE_TAGS_INPUT, + LIST_QUEUE_TAGS_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_SECURITY, + lambda: schemas.QUEUE_DOES_NOT_EXIST, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +PURGE_QUEUE_IN_PROGRESS: StaticSchema = ( + 18, + n0, + _PQIP, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType( + { + "code": "AWS.SimpleQueueService.PurgeQueueInProgress", + "httpResponseCode": 403, + } + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +PURGE_QUEUE_INPUT: StaticSchema = ( + 18, + n0, + _PQI, + {_sSI: _cPQR, _s: None}, + (_QU,), + ((lambda: schemas.STRING, 1),), +) + +PURGE_QUEUE_OUTPUT: StaticSchema = (18, n0, _PQO, {_sSI: _sU, _smi: None}) + +PURGE_QUEUE: StaticOperationSchema = ( + 23, + n0, + _PQ, + 0, + PURGE_QUEUE_INPUT, + PURGE_QUEUE_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_SECURITY, + PURGE_QUEUE_IN_PROGRESS, + lambda: schemas.QUEUE_DOES_NOT_EXIST, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +KMS_ACCESS_DENIED: StaticSchema = ( + 18, + n0, + _KAD, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "KMS.AccessDeniedException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +KMS_DISABLED: StaticSchema = ( + 18, + n0, + _KD, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "KMS.DisabledException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +KMS_INVALID_KEY_USAGE: StaticSchema = ( + 18, + n0, + _KIKU, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "KMS.InvalidKeyUsageException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +KMS_INVALID_STATE: StaticSchema = ( + 18, + n0, + _KIS, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "KMS.InvalidStateException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +KMS_NOT_FOUND: StaticSchema = ( + 18, + n0, + _KNF, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "KMS.NotFoundException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +KMS_OPT_IN_REQUIRED: StaticSchema = ( + 18, + n0, + _KOIR, + { + _smit: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "KMS.OptInRequired", "httpResponseCode": 403}), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +KMS_THROTTLED: StaticSchema = ( + 18, + n0, + _KT, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "KMS.ThrottlingException", "httpResponseCode": 400} + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +MESSAGE_ATTRIBUTE_NAME: StaticSchema = (3, n0, _MAN, 0) + +MESSAGE_ATTRIBUTE_NAME_LIST: StaticSchema = ( + 16, + n0, + _MANL, + 0, + (_m,), + ((MESSAGE_ATTRIBUTE_NAME, 0),), +) + +MESSAGE_SYSTEM_ATTRIBUTE_NAME: StaticSchema = ( + 14, + n0, + _MSAN, + 0, + (_Al, _SI, _STe, _ARC, _AFRT, _SN, _MDI, _MGI, _AWSTH, _DLQSA), + ( + (-1, {_sV: _Al}), + (-1, {_sV: _SI}), + (-1, {_sV: _STe}), + (-1, {_sV: _ARC}), + (-1, {_sV: _AFRT}), + (-1, {_sV: _SN}), + (-1, {_sV: _MDI}), + (-1, {_sV: _MGI}), + (-1, {_sV: _AWSTH}), + (-1, {_sV: _DLQSA}), + ), +) + +MESSAGE_SYSTEM_ATTRIBUTE_LIST: StaticSchema = ( + 16, + n0, + _MSAL, + 0, + (_m,), + ((MESSAGE_SYSTEM_ATTRIBUTE_NAME, 0),), +) + +RECEIVE_MESSAGE_INPUT: StaticSchema = ( + 18, + n0, + _RMI, + {_sSI: _cRMR, _s: None}, + (_QU, _ANt, _MSANe, _MANe, _MNOM, _VT, _WTS, _RRAI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.ATTRIBUTE_NAME_LIST, {_sN: _ANtt, _sF: None}), + (MESSAGE_SYSTEM_ATTRIBUTE_LIST, {_sN: _ANtt, _sF: None}), + (MESSAGE_ATTRIBUTE_NAME_LIST, {_sN: _MAN, _sF: None}), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + (lambda: schemas.STRING, 0), + ), +) + +RECEIVE_MESSAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _RMO, + {_sSI: _cRMRo, _smi: None}, + (_Me,), + ((lambda: MESSAGE_LIST, {_sN: _M, _sF: None}),), +) + +RECEIVE_MESSAGE: StaticOperationSchema = ( + 23, + n0, + _RM, + 0, + RECEIVE_MESSAGE_INPUT, + RECEIVE_MESSAGE_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_SECURITY, + KMS_ACCESS_DENIED, + KMS_DISABLED, + KMS_INVALID_KEY_USAGE, + KMS_INVALID_STATE, + KMS_NOT_FOUND, + KMS_OPT_IN_REQUIRED, + KMS_THROTTLED, + lambda: schemas.OVER_LIMIT, + lambda: schemas.QUEUE_DOES_NOT_EXIST, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +MESSAGE_SYSTEM_ATTRIBUTE_MAP: StaticSchema = ( + 17, + n0, + _MSAM, + 0, + (_k, _v), + ((MESSAGE_SYSTEM_ATTRIBUTE_NAME, {_sN: _N}), (lambda: schemas.STRING, {_sN: _V})), +) + +BINARY: StaticSchema = (1, n0, _Bi, 0) + +BINARY_LIST: StaticSchema = (16, n0, _BL, 0, (_m,), ((BINARY, {_sN: _BLV}),)) + +STRING_LIST: StaticSchema = ( + 16, + n0, + _SL, + 0, + (_m,), + ((lambda: schemas.STRING, {_sN: _SLV}),), +) + +MESSAGE_ATTRIBUTE_VALUE: StaticSchema = ( + 18, + n0, + _MAV, + 0, + (_SV, _BV, _SLVt, _BLVi, _DT), + ( + (lambda: schemas.STRING, 0), + (BINARY, 0), + (STRING_LIST, {_sN: _SLV, _sF: None}), + (BINARY_LIST, {_sN: _BLV, _sF: None}), + (lambda: schemas.STRING, 1), + ), +) + +MESSAGE_BODY_ATTRIBUTE_MAP: StaticSchema = ( + 17, + n0, + _MBAM, + 0, + (_k, _v), + ((lambda: schemas.STRING, {_sN: _N}), (MESSAGE_ATTRIBUTE_VALUE, {_sN: _V})), +) + +MESSAGE: StaticSchema = ( + 18, + n0, + _M, + 0, + (_MI, _RH, _MDOB, _Bo, _At, _MDOMA, _MA), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (MESSAGE_SYSTEM_ATTRIBUTE_MAP, {_sN: _Att, _sF: None}), + (lambda: schemas.STRING, 0), + (MESSAGE_BODY_ATTRIBUTE_MAP, {_sN: _MAe, _sF: None}), + ), +) + +MESSAGE_LIST: StaticSchema = (16, n0, _ML, 0, (_m,), ((MESSAGE, 0),)) + +REMOVE_PERMISSION_INPUT: StaticSchema = ( + 18, + n0, + _RPI, + {_sSI: _cRPR, _s: None}, + (_QU, _L), + ((lambda: schemas.STRING, 1), (lambda: schemas.STRING, 1)), +) + +REMOVE_PERMISSION_OUTPUT: StaticSchema = (18, n0, _RPO, {_sSI: _sU, _smi: None}) + +REMOVE_PERMISSION: StaticOperationSchema = ( + 23, + n0, + _RPe, + 0, + REMOVE_PERMISSION_INPUT, + REMOVE_PERMISSION_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_SECURITY, + lambda: schemas.QUEUE_DOES_NOT_EXIST, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +INVALID_MESSAGE_CONTENTS: StaticSchema = ( + 18, + n0, + _IMC, + {_smit: _c}, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +MESSAGE_SYSTEM_ATTRIBUTE_NAME_FOR_SENDS: StaticSchema = ( + 14, + n0, + _MSANFS, + 0, + (_AWSTH,), + ((-1, {_sV: _AWSTH}),), +) + +MESSAGE_SYSTEM_ATTRIBUTE_VALUE: StaticSchema = ( + 18, + n0, + _MSAV, + 0, + (_SV, _BV, _SLVt, _BLVi, _DT), + ( + (lambda: schemas.STRING, 0), + (BINARY, 0), + (STRING_LIST, {_sN: _SLV, _sF: None}), + (BINARY_LIST, {_sN: _BLV, _sF: None}), + (lambda: schemas.STRING, 1), + ), +) + +MESSAGE_BODY_SYSTEM_ATTRIBUTE_MAP: StaticSchema = ( + 17, + n0, + _MBSAM, + 0, + (_k, _v), + ( + (MESSAGE_SYSTEM_ATTRIBUTE_NAME_FOR_SENDS, {_sN: _N}), + (MESSAGE_SYSTEM_ATTRIBUTE_VALUE, {_sN: _V}), + ), +) + +SEND_MESSAGE_INPUT: StaticSchema = ( + 18, + n0, + _SMI, + {_sSI: _cSMR, _s: None}, + (_QU, _MB, _DS, _MA, _MSA, _MDI, _MGI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.NULLABLE_INTEGER, 0), + (MESSAGE_BODY_ATTRIBUTE_MAP, {_sN: _MAe, _sF: None}), + (MESSAGE_BODY_SYSTEM_ATTRIBUTE_MAP, {_sN: _MSAe, _sF: None}), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +SEND_MESSAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _SMO, + {_sSI: _cSMRo, _smi: None}, + (_MDOMB, _MDOMA, _MDOMSA, _MI, _SN), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +SEND_MESSAGE: StaticOperationSchema = ( + 23, + n0, + _SM, + 0, + SEND_MESSAGE_INPUT, + SEND_MESSAGE_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + INVALID_MESSAGE_CONTENTS, + lambda: schemas.INVALID_SECURITY, + KMS_ACCESS_DENIED, + KMS_DISABLED, + KMS_INVALID_KEY_USAGE, + KMS_INVALID_STATE, + KMS_NOT_FOUND, + KMS_OPT_IN_REQUIRED, + KMS_THROTTLED, + lambda: schemas.QUEUE_DOES_NOT_EXIST, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +BATCH_REQUEST_TOO_LONG: StaticSchema = ( + 18, + n0, + _BRTL, + { + _smit: _c, + _sE: 400, + _aQE: MappingProxyType( + { + "code": "AWS.SimpleQueueService.BatchRequestTooLong", + "httpResponseCode": 400, + } + ), + }, + (_me,), + ((lambda: schemas.EXCEPTION_MESSAGE, 0),), +) + +SEND_MESSAGE_BATCH_REQUEST_ENTRY: StaticSchema = ( + 18, + n0, + _SMBRE, + 0, + (_I, _MB, _DS, _MA, _MSA, _MDI, _MGI), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.NULLABLE_INTEGER, 0), + (MESSAGE_BODY_ATTRIBUTE_MAP, {_sN: _MAe, _sF: None}), + (MESSAGE_BODY_SYSTEM_ATTRIBUTE_MAP, {_sN: _MSAe, _sF: None}), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +SEND_MESSAGE_BATCH_REQUEST_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _SMBREL, + 0, + (_m,), + ((SEND_MESSAGE_BATCH_REQUEST_ENTRY, 0),), +) + +SEND_MESSAGE_BATCH_INPUT: StaticSchema = ( + 18, + n0, + _SMBI, + {_sSI: _cSMBR, _s: None}, + (_QU, _E), + ( + (lambda: schemas.STRING, 1), + (SEND_MESSAGE_BATCH_REQUEST_ENTRY_LIST, {_sN: _SMBRE, _sF: None, _sm: None}), + ), +) + +SEND_MESSAGE_BATCH_OUTPUT: StaticSchema = ( + 18, + n0, + _SMBO, + {_sSI: _cSMBRo, _smi: None}, + (_Su, _F), + ( + ( + lambda: SEND_MESSAGE_BATCH_RESULT_ENTRY_LIST, + {_sN: _SMBREe, _sF: None, _sm: None}, + ), + ( + lambda: schemas.BATCH_RESULT_ERROR_ENTRY_LIST, + {_sN: _BREE, _sF: None, _sm: None}, + ), + ), +) + +SEND_MESSAGE_BATCH: StaticOperationSchema = ( + 23, + n0, + _SMB, + 0, + SEND_MESSAGE_BATCH_INPUT, + SEND_MESSAGE_BATCH_OUTPUT, + ( + lambda: schemas.BATCH_ENTRY_IDS_NOT_DISTINCT, + BATCH_REQUEST_TOO_LONG, + lambda: schemas.EMPTY_BATCH_REQUEST, + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_BATCH_ENTRY_ID, + lambda: schemas.INVALID_SECURITY, + KMS_ACCESS_DENIED, + KMS_DISABLED, + KMS_INVALID_KEY_USAGE, + KMS_INVALID_STATE, + KMS_NOT_FOUND, + KMS_OPT_IN_REQUIRED, + KMS_THROTTLED, + lambda: schemas.QUEUE_DOES_NOT_EXIST, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.TOO_MANY_ENTRIES_IN_BATCH_REQUEST, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +SEND_MESSAGE_BATCH_RESULT_ENTRY: StaticSchema = ( + 18, + n0, + _SMBREe, + 0, + (_I, _MI, _MDOMB, _MDOMA, _MDOMSA, _SN), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + ), +) + +SEND_MESSAGE_BATCH_RESULT_ENTRY_LIST: StaticSchema = ( + 16, + n0, + _SMBRELe, + 0, + (_m,), + ((SEND_MESSAGE_BATCH_RESULT_ENTRY, 0),), +) + +SET_QUEUE_ATTRIBUTES_INPUT: StaticSchema = ( + 18, + n0, + _SQAI, + {_sSI: _cSQAR, _s: None}, + (_QU, _At), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.QUEUE_ATTRIBUTE_MAP, {_sN: _Att, _sF: None, _sm: None}), + ), +) + +SET_QUEUE_ATTRIBUTES_OUTPUT: StaticSchema = (18, n0, _SQAO, {_sSI: _sU, _smi: None}) + +SET_QUEUE_ATTRIBUTES: StaticOperationSchema = ( + 23, + n0, + _SQA, + 0, + SET_QUEUE_ATTRIBUTES_INPUT, + SET_QUEUE_ATTRIBUTES_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_ATTRIBUTE_NAME, + lambda: schemas.INVALID_ATTRIBUTE_VALUE, + lambda: schemas.INVALID_SECURITY, + lambda: schemas.OVER_LIMIT, + lambda: schemas.QUEUE_DOES_NOT_EXIST, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +START_MESSAGE_MOVE_TASK_INPUT: StaticSchema = ( + 18, + n0, + _SMMTI, + {_sSI: _cSMMTR, _s: None}, + (_SA, _DA, _MNOMPS), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.STRING, 0), + (lambda: schemas.NULLABLE_INTEGER, 0), + ), +) + +START_MESSAGE_MOVE_TASK_OUTPUT: StaticSchema = ( + 18, + n0, + _SMMTO, + {_sSI: _cSMMTRo, _smi: None}, + (_TH,), + ((lambda: schemas.STRING, 0),), +) + +START_MESSAGE_MOVE_TASK: StaticOperationSchema = ( + 23, + n0, + _SMMT, + 0, + START_MESSAGE_MOVE_TASK_INPUT, + START_MESSAGE_MOVE_TASK_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_SECURITY, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.RESOURCE_NOT_FOUND_EXCEPTION, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +TAG_QUEUE_INPUT: StaticSchema = ( + 18, + n0, + _TQI, + {_sSI: _cTQR, _s: None}, + (_QU, _Ta), + ( + (lambda: schemas.STRING, 1), + (lambda: schemas.TAG_MAP, {_sN: _T, _sF: None, _sm: None}), + ), +) + +TAG_QUEUE_OUTPUT: StaticSchema = (18, n0, _TQO, {_sSI: _sU, _smi: None}) + +TAG_QUEUE: StaticOperationSchema = ( + 23, + n0, + _TQ, + 0, + TAG_QUEUE_INPUT, + TAG_QUEUE_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_SECURITY, + lambda: schemas.QUEUE_DOES_NOT_EXIST, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +TAG_KEY_LIST: StaticSchema = (16, n0, _TKL, 0, (_m,), ((lambda: schemas.TAG_KEY, 0),)) + +UNTAG_QUEUE_INPUT: StaticSchema = ( + 18, + n0, + _UQI, + {_sSI: _cUQR, _s: None}, + (_QU, _TKa), + ((lambda: schemas.STRING, 1), (TAG_KEY_LIST, {_sN: _TK, _sF: None, _sm: None})), +) + +UNTAG_QUEUE_OUTPUT: StaticSchema = (18, n0, _UQO, {_sSI: _sU, _smi: None}) + +UNTAG_QUEUE: StaticOperationSchema = ( + 23, + n0, + _UQ, + 0, + UNTAG_QUEUE_INPUT, + UNTAG_QUEUE_OUTPUT, + ( + lambda: schemas.INVALID_ADDRESS, + lambda: schemas.INVALID_SECURITY, + lambda: schemas.QUEUE_DOES_NOT_EXIST, + lambda: schemas.REQUEST_THROTTLED, + lambda: schemas.UNSUPPORTED_OPERATION, + ), +) + +AMAZON_SQS: StaticSchema = ( + 21, + n0, + _ASQS, + { + _a: MappingProxyType({"name": "sqs"}), + _a_: None, + _aw: MappingProxyType( + { + "sdkId": "SQS", + "arnNamespace": "sqs", + "cloudFormationName": "SQS", + "cloudTrailEventSource": "sqs.amazonaws.com", + "endpointPrefix": "sqs", + } + ), + _aQC: None, + }, +) diff --git a/clients/aws-sdk-sqs/src/aws_sdk_sqs/aio/client.py b/clients/aws-sdk-sqs/src/aws_sdk_sqs/aio/client.py index 5ccd3b4ee..ec689e735 100644 --- a/clients/aws-sdk-sqs/src/aws_sdk_sqs/aio/client.py +++ b/clients/aws-sdk-sqs/src/aws_sdk_sqs/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-sqs/src/aws_sdk_sqs/aio/config.py b/clients/aws-sdk-sqs/src/aws_sdk_sqs/aio/config.py index 9992f7216..d8c9a232d 100644 --- a/clients/aws-sdk-sqs/src/aws_sdk_sqs/aio/config.py +++ b/clients/aws-sdk-sqs/src/aws_sdk_sqs/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncAwsJson10ClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-sqs/src/aws_sdk_sqs/client.py b/clients/aws-sdk-sqs/src/aws_sdk_sqs/client.py index 61be558d8..ab60b6bd8 100644 --- a/clients/aws-sdk-sqs/src/aws_sdk_sqs/client.py +++ b/clients/aws-sdk-sqs/src/aws_sdk_sqs/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-sqs/src/aws_sdk_sqs/config.py b/clients/aws-sdk-sqs/src/aws_sdk_sqs/config.py index 2e4156566..c3c2b7042 100644 --- a/clients/aws-sdk-sqs/src/aws_sdk_sqs/config.py +++ b/clients/aws-sdk-sqs/src/aws_sdk_sqs/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsJson10ClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-sqs/tests/test_endpoints.py b/clients/aws-sdk-sqs/tests/test_endpoints.py index 77af1705a..3859f7cf0 100644 --- a/clients/aws-sdk-sqs/tests/test_endpoints.py +++ b/clients/aws-sdk-sqs/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-sts/pyproject.toml b/clients/aws-sdk-sts/pyproject.toml index 0a48c6fdb..63c462f29 100644 --- a/clients/aws-sdk-sts/pyproject.toml +++ b/clients/aws-sdk-sts/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_sts" version = "0.12.0" -description = "aws_sdk_sts client" +description = "Python client for AWS Security Token Service" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_sts"] @@ -24,21 +24,21 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[xml]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[xml]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0" + "smithy_test~=0.3.0" ] [build-system] diff --git a/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas.py b/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas.py index 1234ad488..4a53d786c 100644 --- a/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas.py +++ b/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas.py @@ -1,1023 +1,144 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.sts" -_aKIT = "accessKeyIdType" -_aKST = "accessKeySecretType" -_s = "smithy.api#sensitive" -_aT = "accountType" -_aTr = "arnType" -_aRIT = "assumedRoleIdType" -_ARU = "AssumedRoleUser" -_ARI = "AssumedRoleId" -_sm = "smithy.api#required" -_A = "Arn" -_rDST = "roleDurationSecondsType" -_eIT = "externalIdType" -_mSTST = "minimumSessionTokenSizeType" -_uSPDT = "unrestrictedSessionPolicyDocumentType" -_PDT = "PolicyDescriptorType" -_a = "arn" -_pDLT = "policyDescriptorListType" -_m = "member" -_cAT = "contextAssertionType" -_PC = "ProvidedContext" -_PA = "ProviderArn" -_CA = "ContextAssertion" -_PCLT = "ProvidedContextsListType" -_rSNT = "roleSessionNameType" -_sNT = "serialNumberType" -_sIT = "sourceIdentityType" -_tKT = "tagKeyType" -_tVT = "tagValueType" -_T = "Tag" -_K = "Key" -_V = "Value" -_tLT = "tagListType" -_tCT = "tokenCodeType" -_tKLT = "tagKeyListType" -_ARIs = "AssumeRoleInput" -_sSI = "smithy.synthetic#originalShapeId" -_cARR = "com.amazonaws.sts#AssumeRoleRequest" -_smi = "smithy.api#input" -_RA = "RoleArn" -_RSN = "RoleSessionName" -_PAo = "PolicyArns" -_P = "Policy" -_DS = "DurationSeconds" -_Ta = "Tags" -_TTK = "TransitiveTagKeys" -_EI = "ExternalId" -_SN = "SerialNumber" -_TC = "TokenCode" -_SI = "SourceIdentity" -_PCr = "ProvidedContexts" -_MSTS = "MinimumSessionTokenSize" -_dT = "dateType" -_tT = "tokenType" -_C = "Credentials" -_AKI = "AccessKeyId" -_SAK = "SecretAccessKey" -_ST = "SessionToken" -_E = "Expiration" -_nNIT = "nonNegativeIntegerType" -_sTST = "sessionTokenSizeType" -_sTUT = "sessionTokenUtilizationType" -_ARO = "AssumeRoleOutput" -_cARRo = "com.amazonaws.sts#AssumeRoleResponse" -_smit = "smithy.api#output" -_PPS = "PackedPolicySize" -_STU = "SessionTokenUtilization" -_STS = "SessionTokenSize" -_eITM = "expiredIdentityTokenMessage" -_ETE = "ExpiredTokenException" -_smith = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_aQE = "aws.protocols#awsQueryError" -_me = "message" -_mPDM = "malformedPolicyDocumentMessage" -_MPDE = "MalformedPolicyDocumentException" -_pPTLM = "packedPolicyTooLargeMessage" -_PPTLE = "PackedPolicyTooLargeException" -_rDM = "regionDisabledMessage" -_RDE = "RegionDisabledException" -_AR = "AssumeRole" -_sPDT = "sessionPolicyDocumentType" -_SAMLAT = "SAMLAssertionType" -_ARWSAMLI = "AssumeRoleWithSAMLInput" -_cARWSAMLR = "com.amazonaws.sts#AssumeRoleWithSAMLRequest" -_PAr = "PrincipalArn" -_SAMLA = "SAMLAssertion" -_Au = "Audience" -_I = "Issuer" -_NQ = "NameQualifier" -_S = "Subject" -_STu = "SubjectType" -_ARWSAMLO = "AssumeRoleWithSAMLOutput" -_cARWSAMLRo = "com.amazonaws.sts#AssumeRoleWithSAMLResponse" -_iRCM = "idpRejectedClaimMessage" -_IDPRCE = "IDPRejectedClaimException" -_iITM = "invalidIdentityTokenMessage" -_IITE = "InvalidIdentityTokenException" -_ARWSAML = "AssumeRoleWithSAML" -_uT = "urlType" -_cTT = "clientTokenType" -_ARWWII = "AssumeRoleWithWebIdentityInput" -_cARWWIR = "com.amazonaws.sts#AssumeRoleWithWebIdentityRequest" -_WIT = "WebIdentityToken" -_PI = "ProviderId" -_wIST = "webIdentitySubjectType" -_ARWWIO = "AssumeRoleWithWebIdentityOutput" -_cARWWIRo = "com.amazonaws.sts#AssumeRoleWithWebIdentityResponse" -_SFWIT = "SubjectFromWebIdentityToken" -_Pr = "Provider" -_iCEM = "idpCommunicationErrorMessage" -_IDPCEE = "IDPCommunicationErrorException" -_ARWWI = "AssumeRoleWithWebIdentity" -_RDST = "RootDurationSecondsType" -_TPT = "TargetPrincipalType" -_ARIss = "AssumeRootInput" -_cARRom = "com.amazonaws.sts#AssumeRootRequest" -_TP = "TargetPrincipal" -_TPA = "TaskPolicyArn" -_AROs = "AssumeRootOutput" -_cARRoma = "com.amazonaws.sts#AssumeRootResponse" -_ARs = "AssumeRoot" -_eMT = "encodedMessageType" -_DAMI = "DecodeAuthorizationMessageInput" -_cDAMR = "com.amazonaws.sts#DecodeAuthorizationMessageRequest" -_EM = "EncodedMessage" -_dMT = "decodedMessageType" -_DAMO = "DecodeAuthorizationMessageOutput" -_cDAMRo = "com.amazonaws.sts#DecodeAuthorizationMessageResponse" -_DM = "DecodedMessage" -_iAM = "invalidAuthorizationMessage" -_IAME = "InvalidAuthorizationMessageException" -_DAM = "DecodeAuthorizationMessage" -_GAKII = "GetAccessKeyInfoInput" -_cGAKIR = "com.amazonaws.sts#GetAccessKeyInfoRequest" -_GAKIO = "GetAccessKeyInfoOutput" -_cGAKIRo = "com.amazonaws.sts#GetAccessKeyInfoResponse" -_Ac = "Account" -_GAKI = "GetAccessKeyInfo" -_GCII = "GetCallerIdentityInput" -_cGCIR = "com.amazonaws.sts#GetCallerIdentityRequest" -_uIT = "userIdType" -_GCIO = "GetCallerIdentityOutput" -_cGCIRo = "com.amazonaws.sts#GetCallerIdentityResponse" -_UI = "UserId" -_GCI = "GetCallerIdentity" -_eTITEM = "expiredTradeInTokenExceptionMessage" -_ETITE = "ExpiredTradeInTokenException" -_tITT = "tradeInTokenType" -_GDATI = "GetDelegatedAccessTokenInput" -_cGDATR = "com.amazonaws.sts#GetDelegatedAccessTokenRequest" -_TIT = "TradeInToken" -_GDATO = "GetDelegatedAccessTokenOutput" -_cGDATRo = "com.amazonaws.sts#GetDelegatedAccessTokenResponse" -_AP = "AssumedPrincipal" -_GDAT = "GetDelegatedAccessToken" -_dST = "durationSecondsType" -_uNT = "userNameType" -_GFTI = "GetFederationTokenInput" -_cGFTR = "com.amazonaws.sts#GetFederationTokenRequest" -_N = "Name" -_fIT = "federatedIdType" -_FU = "FederatedUser" -_FUI = "FederatedUserId" -_GFTO = "GetFederationTokenOutput" -_cGFTRo = "com.amazonaws.sts#GetFederationTokenResponse" -_GFT = "GetFederationToken" -_GSTI = "GetSessionTokenInput" -_cGSTR = "com.amazonaws.sts#GetSessionTokenRequest" -_GSTO = "GetSessionTokenOutput" -_cGSTRo = "com.amazonaws.sts#GetSessionTokenResponse" -_GST = "GetSessionToken" -_wITAST = "webIdentityTokenAudienceStringType" -_wITALT = "webIdentityTokenAudienceListType" -_wITDST = "webIdentityTokenDurationSecondsType" -_jAT = "jwtAlgorithmType" -_GWITI = "GetWebIdentityTokenInput" -_cGWITR = "com.amazonaws.sts#GetWebIdentityTokenRequest" -_SA = "SigningAlgorithm" -_wITT = "webIdentityTokenType" -_GWITO = "GetWebIdentityTokenOutput" -_cGWITRo = "com.amazonaws.sts#GetWebIdentityTokenResponse" -_JWTPSEE = "JWTPayloadSizeExceededException2" -_JWTPSEEa = "JWTPayloadSizeExceededException" -_OWIFDE = "OutboundWebIdentityFederationDisabledException2" -_OWIFDEu = "OutboundWebIdentityFederationDisabledException" -_SDEE = "SessionDurationEscalationException2" -_SDEEe = "SessionDurationEscalationException" -_GWIT = "GetWebIdentityToken" -_AWSSTSV = "AWSSecurityTokenServiceV20110615" -_aw = "aws.auth#sigv4" -_aws = "aws.auth#sigv4a" -_aQ = "aws.protocols#awsQuery" -_awsa = "aws.api#service" -_sN = "smithy.api#xmlNamespace" - -ACCESS_KEY_ID_TYPE: StaticSchema = (3, n0, _aKIT, 0) - -ACCESS_KEY_SECRET_TYPE: StaticSchema = (3, n0, _aKST, 4) - -ACCOUNT_TYPE: StaticSchema = (3, n0, _aT, 0) - -ARN_TYPE: StaticSchema = (3, n0, _aTr, 0) - -ASSUMED_ROLE_ID_TYPE: StaticSchema = (3, n0, _aRIT, 0) - -ASSUMED_ROLE_USER: StaticSchema = ( - 18, - n0, - _ARU, - 0, - (_ARI, _A), - ((ASSUMED_ROLE_ID_TYPE, 1), (ARN_TYPE, 1)), -) - -ROLE_DURATION_SECONDS_TYPE: StaticSchema = (7, n0, _rDST, 0) - -EXTERNAL_ID_TYPE: StaticSchema = (3, n0, _eIT, 0) - -MINIMUM_SESSION_TOKEN_SIZE_TYPE: StaticSchema = (7, n0, _mSTST, 0) - -UNRESTRICTED_SESSION_POLICY_DOCUMENT_TYPE: StaticSchema = (3, n0, _uSPDT, 0) - -POLICY_DESCRIPTOR_TYPE: StaticSchema = (18, n0, _PDT, 0, (_a,), ((ARN_TYPE, 0),)) - -POLICY_DESCRIPTOR_LIST_TYPE: StaticSchema = ( - 16, - n0, - _pDLT, - 0, - (_m,), - ((POLICY_DESCRIPTOR_TYPE, 0),), -) - -CONTEXT_ASSERTION_TYPE: StaticSchema = (3, n0, _cAT, 0) - -PROVIDED_CONTEXT: StaticSchema = ( - 18, - n0, - _PC, - 0, - (_PA, _CA), - ((ARN_TYPE, 0), (CONTEXT_ASSERTION_TYPE, 0)), -) - -PROVIDED_CONTEXTS_LIST_TYPE: StaticSchema = ( - 16, - n0, - _PCLT, - 0, - (_m,), - ((PROVIDED_CONTEXT, 0),), -) - -ROLE_SESSION_NAME_TYPE: StaticSchema = (3, n0, _rSNT, 0) - -SERIAL_NUMBER_TYPE: StaticSchema = (3, n0, _sNT, 0) - -SOURCE_IDENTITY_TYPE: StaticSchema = (3, n0, _sIT, 0) - -TAG_KEY_TYPE: StaticSchema = (3, n0, _tKT, 0) - -TAG_VALUE_TYPE: StaticSchema = (3, n0, _tVT, 0) - -TAG: StaticSchema = (18, n0, _T, 0, (_K, _V), ((TAG_KEY_TYPE, 1), (TAG_VALUE_TYPE, 1))) - -TAG_LIST_TYPE: StaticSchema = (16, n0, _tLT, 0, (_m,), ((TAG, 0),)) - -TOKEN_CODE_TYPE: StaticSchema = (3, n0, _tCT, 0) - -TAG_KEY_LIST_TYPE: StaticSchema = (16, n0, _tKLT, 0, (_m,), ((TAG_KEY_TYPE, 0),)) - -ASSUME_ROLE_INPUT: StaticSchema = ( - 18, - n0, - _ARIs, - {_sSI: _cARR, _smi: None}, - (_RA, _RSN, _PAo, _P, _DS, _Ta, _TTK, _EI, _SN, _TC, _SI, _PCr, _MSTS), - ( - (ARN_TYPE, 1), - (ROLE_SESSION_NAME_TYPE, 1), - (POLICY_DESCRIPTOR_LIST_TYPE, 0), - (UNRESTRICTED_SESSION_POLICY_DOCUMENT_TYPE, 0), - (ROLE_DURATION_SECONDS_TYPE, 0), - (TAG_LIST_TYPE, 0), - (TAG_KEY_LIST_TYPE, 0), - (EXTERNAL_ID_TYPE, 0), - (SERIAL_NUMBER_TYPE, 0), - (TOKEN_CODE_TYPE, 0), - (SOURCE_IDENTITY_TYPE, 0), - (PROVIDED_CONTEXTS_LIST_TYPE, 0), - (MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -DATE_TYPE: StaticSchema = (4, n0, _dT, 0) - -TOKEN_TYPE: StaticSchema = (3, n0, _tT, 0) - -CREDENTIALS: StaticSchema = ( - 18, - n0, - _C, - 0, - (_AKI, _SAK, _ST, _E), - ( - (ACCESS_KEY_ID_TYPE, 1), - (ACCESS_KEY_SECRET_TYPE, 1), - (TOKEN_TYPE, 1), - (DATE_TYPE, 1), - ), -) - -NON_NEGATIVE_INTEGER_TYPE: StaticSchema = (7, n0, _nNIT, 0) - -SESSION_TOKEN_SIZE_TYPE: StaticSchema = (7, n0, _sTST, 0) - -SESSION_TOKEN_UTILIZATION_TYPE: StaticSchema = (7, n0, _sTUT, 0) - -ASSUME_ROLE_OUTPUT: StaticSchema = ( - 18, - n0, - _ARO, - {_sSI: _cARRo, _smit: None}, - (_C, _ARU, _PPS, _SI, _STU, _STS), - ( - (CREDENTIALS, 0), - (ASSUMED_ROLE_USER, 0), - (NON_NEGATIVE_INTEGER_TYPE, 0), - (SOURCE_IDENTITY_TYPE, 0), - (SESSION_TOKEN_UTILIZATION_TYPE, 0), - (SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -EXPIRED_IDENTITY_TOKEN_MESSAGE: StaticSchema = (3, n0, _eITM, 0) - -EXPIRED_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _ETE, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ExpiredTokenException", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXPIRED_IDENTITY_TOKEN_MESSAGE, 0),), -) - -MALFORMED_POLICY_DOCUMENT_MESSAGE: StaticSchema = (3, n0, _mPDM, 0) - -MALFORMED_POLICY_DOCUMENT_EXCEPTION: StaticSchema = ( - 18, - n0, - _MPDE, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "MalformedPolicyDocument", "httpResponseCode": 400} - ), - }, - (_me,), - ((MALFORMED_POLICY_DOCUMENT_MESSAGE, 0),), -) - -PACKED_POLICY_TOO_LARGE_MESSAGE: StaticSchema = (3, n0, _pPTLM, 0) - -PACKED_POLICY_TOO_LARGE_EXCEPTION: StaticSchema = ( - 18, - n0, - _PPTLE, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "PackedPolicyTooLarge", "httpResponseCode": 400} - ), - }, - (_me,), - ((PACKED_POLICY_TOO_LARGE_MESSAGE, 0),), -) - -REGION_DISABLED_MESSAGE: StaticSchema = (3, n0, _rDM, 0) - -REGION_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _RDE, - { - _smith: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "RegionDisabledException", "httpResponseCode": 403} - ), - }, - (_me,), - ((REGION_DISABLED_MESSAGE, 0),), -) - -ASSUME_ROLE: StaticOperationSchema = ( - 23, - n0, - _AR, - 0, - ASSUME_ROLE_INPUT, - ASSUME_ROLE_OUTPUT, - ( - EXPIRED_TOKEN_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - PACKED_POLICY_TOO_LARGE_EXCEPTION, - REGION_DISABLED_EXCEPTION, - ), -) - -SESSION_POLICY_DOCUMENT_TYPE: StaticSchema = (3, n0, _sPDT, 0) - -SAML_ASSERTION_TYPE: StaticSchema = (3, n0, _SAMLAT, 4) - -ASSUME_ROLE_WITH_SAML_INPUT: StaticSchema = ( - 18, - n0, - _ARWSAMLI, - {_sSI: _cARWSAMLR, _smi: None}, - (_RA, _PAr, _SAMLA, _PAo, _P, _DS, _MSTS), - ( - (ARN_TYPE, 1), - (ARN_TYPE, 1), - (SAML_ASSERTION_TYPE, 1), - (POLICY_DESCRIPTOR_LIST_TYPE, 0), - (SESSION_POLICY_DOCUMENT_TYPE, 0), - (ROLE_DURATION_SECONDS_TYPE, 0), - (MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -AUDIENCE: StaticSchema = (3, n0, _Au, 0) - -ISSUER: StaticSchema = (3, n0, _I, 0) - -NAME_QUALIFIER: StaticSchema = (3, n0, _NQ, 0) - -SUBJECT: StaticSchema = (3, n0, _S, 0) - -SUBJECT_TYPE: StaticSchema = (3, n0, _STu, 0) - -ASSUME_ROLE_WITH_SAML_OUTPUT: StaticSchema = ( - 18, - n0, - _ARWSAMLO, - {_sSI: _cARWSAMLRo, _smit: None}, - (_C, _ARU, _PPS, _S, _STu, _I, _Au, _NQ, _SI, _STU, _STS), - ( - (CREDENTIALS, 0), - (ASSUMED_ROLE_USER, 0), - (NON_NEGATIVE_INTEGER_TYPE, 0), - (SUBJECT, 0), - (SUBJECT_TYPE, 0), - (ISSUER, 0), - (AUDIENCE, 0), - (NAME_QUALIFIER, 0), - (SOURCE_IDENTITY_TYPE, 0), - (SESSION_TOKEN_UTILIZATION_TYPE, 0), - (SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -IDP_REJECTED_CLAIM_MESSAGE: StaticSchema = (3, n0, _iRCM, 0) - -IDP_REJECTED_CLAIM_EXCEPTION: StaticSchema = ( - 18, - n0, - _IDPRCE, - { - _smith: _c, - _sE: 403, - _aQE: MappingProxyType({"code": "IDPRejectedClaim", "httpResponseCode": 403}), - }, - (_me,), - ((IDP_REJECTED_CLAIM_MESSAGE, 0),), -) - -INVALID_IDENTITY_TOKEN_MESSAGE: StaticSchema = (3, n0, _iITM, 0) - -INVALID_IDENTITY_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _IITE, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidIdentityToken", "httpResponseCode": 400} - ), - }, - (_me,), - ((INVALID_IDENTITY_TOKEN_MESSAGE, 0),), -) - -ASSUME_ROLE_WITH_SAML: StaticOperationSchema = ( - 23, - n0, - _ARWSAML, - 0, - ASSUME_ROLE_WITH_SAML_INPUT, - ASSUME_ROLE_WITH_SAML_OUTPUT, - ( - EXPIRED_TOKEN_EXCEPTION, - IDP_REJECTED_CLAIM_EXCEPTION, - INVALID_IDENTITY_TOKEN_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - PACKED_POLICY_TOO_LARGE_EXCEPTION, - REGION_DISABLED_EXCEPTION, - ), -) - -URL_TYPE: StaticSchema = (3, n0, _uT, 0) - -CLIENT_TOKEN_TYPE: StaticSchema = (3, n0, _cTT, 4) - -ASSUME_ROLE_WITH_WEB_IDENTITY_INPUT: StaticSchema = ( - 18, - n0, - _ARWWII, - {_sSI: _cARWWIR, _smi: None}, - (_RA, _RSN, _WIT, _PI, _PAo, _P, _DS, _MSTS), - ( - (ARN_TYPE, 1), - (ROLE_SESSION_NAME_TYPE, 1), - (CLIENT_TOKEN_TYPE, 1), - (URL_TYPE, 0), - (POLICY_DESCRIPTOR_LIST_TYPE, 0), - (SESSION_POLICY_DOCUMENT_TYPE, 0), - (ROLE_DURATION_SECONDS_TYPE, 0), - (MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -WEB_IDENTITY_SUBJECT_TYPE: StaticSchema = (3, n0, _wIST, 0) - -ASSUME_ROLE_WITH_WEB_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _ARWWIO, - {_sSI: _cARWWIRo, _smit: None}, - (_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI, _STU, _STS), - ( - (CREDENTIALS, 0), - (WEB_IDENTITY_SUBJECT_TYPE, 0), - (ASSUMED_ROLE_USER, 0), - (NON_NEGATIVE_INTEGER_TYPE, 0), - (ISSUER, 0), - (AUDIENCE, 0), - (SOURCE_IDENTITY_TYPE, 0), - (SESSION_TOKEN_UTILIZATION_TYPE, 0), - (SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -IDP_COMMUNICATION_ERROR_MESSAGE: StaticSchema = (3, n0, _iCEM, 0) - -IDP_COMMUNICATION_ERROR_EXCEPTION: StaticSchema = ( - 18, - n0, - _IDPCEE, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "IDPCommunicationError", "httpResponseCode": 400} - ), - }, - (_me,), - ((IDP_COMMUNICATION_ERROR_MESSAGE, 0),), -) - -ASSUME_ROLE_WITH_WEB_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _ARWWI, - 0, - ASSUME_ROLE_WITH_WEB_IDENTITY_INPUT, - ASSUME_ROLE_WITH_WEB_IDENTITY_OUTPUT, - ( - EXPIRED_TOKEN_EXCEPTION, - IDP_COMMUNICATION_ERROR_EXCEPTION, - IDP_REJECTED_CLAIM_EXCEPTION, - INVALID_IDENTITY_TOKEN_EXCEPTION, - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - PACKED_POLICY_TOO_LARGE_EXCEPTION, - REGION_DISABLED_EXCEPTION, - ), -) - -ROOT_DURATION_SECONDS_TYPE: StaticSchema = (7, n0, _RDST, 0) - -TARGET_PRINCIPAL_TYPE: StaticSchema = (3, n0, _TPT, 0) - -ASSUME_ROOT_INPUT: StaticSchema = ( - 18, - n0, - _ARIss, - {_sSI: _cARRom, _smi: None}, - (_TP, _TPA, _DS, _MSTS), - ( - (TARGET_PRINCIPAL_TYPE, 1), - (POLICY_DESCRIPTOR_TYPE, 1), - (ROOT_DURATION_SECONDS_TYPE, 0), - (MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -ASSUME_ROOT_OUTPUT: StaticSchema = ( - 18, - n0, - _AROs, - {_sSI: _cARRoma, _smit: None}, - (_C, _SI, _STU, _STS), - ( - (CREDENTIALS, 0), - (SOURCE_IDENTITY_TYPE, 0), - (SESSION_TOKEN_UTILIZATION_TYPE, 0), - (SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -ASSUME_ROOT: StaticOperationSchema = ( - 23, - n0, - _ARs, - 0, - ASSUME_ROOT_INPUT, - ASSUME_ROOT_OUTPUT, - (EXPIRED_TOKEN_EXCEPTION, REGION_DISABLED_EXCEPTION), -) - -ENCODED_MESSAGE_TYPE: StaticSchema = (3, n0, _eMT, 0) - -DECODE_AUTHORIZATION_MESSAGE_INPUT: StaticSchema = ( - 18, - n0, - _DAMI, - {_sSI: _cDAMR, _smi: None}, - (_EM,), - ((ENCODED_MESSAGE_TYPE, 1),), -) - -DECODED_MESSAGE_TYPE: StaticSchema = (3, n0, _dMT, 0) - -DECODE_AUTHORIZATION_MESSAGE_OUTPUT: StaticSchema = ( - 18, - n0, - _DAMO, - {_sSI: _cDAMRo, _smit: None}, - (_DM,), - ((DECODED_MESSAGE_TYPE, 0),), -) - -INVALID_AUTHORIZATION_MESSAGE: StaticSchema = (3, n0, _iAM, 0) - -INVALID_AUTHORIZATION_MESSAGE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IAME, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "InvalidAuthorizationMessageException", "httpResponseCode": 400} - ), - }, - (_me,), - ((INVALID_AUTHORIZATION_MESSAGE, 0),), -) - -DECODE_AUTHORIZATION_MESSAGE: StaticOperationSchema = ( - 23, - n0, - _DAM, - 0, - DECODE_AUTHORIZATION_MESSAGE_INPUT, - DECODE_AUTHORIZATION_MESSAGE_OUTPUT, - (INVALID_AUTHORIZATION_MESSAGE_EXCEPTION,), -) - -GET_ACCESS_KEY_INFO_INPUT: StaticSchema = ( - 18, - n0, - _GAKII, - {_sSI: _cGAKIR, _smi: None}, - (_AKI,), - ((ACCESS_KEY_ID_TYPE, 1),), -) - -GET_ACCESS_KEY_INFO_OUTPUT: StaticSchema = ( - 18, - n0, - _GAKIO, - {_sSI: _cGAKIRo, _smit: None}, - (_Ac,), - ((ACCOUNT_TYPE, 0),), -) - -GET_ACCESS_KEY_INFO: StaticOperationSchema = ( - 23, - n0, - _GAKI, - 0, - GET_ACCESS_KEY_INFO_INPUT, - GET_ACCESS_KEY_INFO_OUTPUT, - (), -) - -GET_CALLER_IDENTITY_INPUT: StaticSchema = (18, n0, _GCII, {_sSI: _cGCIR, _smi: None}) - -USER_ID_TYPE: StaticSchema = (3, n0, _uIT, 0) - -GET_CALLER_IDENTITY_OUTPUT: StaticSchema = ( - 18, - n0, - _GCIO, - {_sSI: _cGCIRo, _smit: None}, - (_UI, _Ac, _A), - ((USER_ID_TYPE, 0), (ACCOUNT_TYPE, 0), (ARN_TYPE, 0)), -) - -GET_CALLER_IDENTITY: StaticOperationSchema = ( - 23, - n0, - _GCI, - 0, - GET_CALLER_IDENTITY_INPUT, - GET_CALLER_IDENTITY_OUTPUT, - (), -) - -EXPIRED_TRADE_IN_TOKEN_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _eTITEM, 0) - -EXPIRED_TRADE_IN_TOKEN_EXCEPTION: StaticSchema = ( - 18, - n0, - _ETITE, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "ExpiredTradeInTokenException", "httpResponseCode": 400} - ), - }, - (_me,), - ((EXPIRED_TRADE_IN_TOKEN_EXCEPTION_MESSAGE, 0),), -) - -TRADE_IN_TOKEN_TYPE: StaticSchema = (3, n0, _tITT, 4) - -GET_DELEGATED_ACCESS_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _GDATI, - {_sSI: _cGDATR, _smi: None}, - (_TIT,), - ((TRADE_IN_TOKEN_TYPE, 1),), -) - -GET_DELEGATED_ACCESS_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _GDATO, - {_sSI: _cGDATRo, _smit: None}, - (_C, _PPS, _AP), - ((CREDENTIALS, 0), (NON_NEGATIVE_INTEGER_TYPE, 0), (ARN_TYPE, 0)), -) - -GET_DELEGATED_ACCESS_TOKEN: StaticOperationSchema = ( - 23, - n0, - _GDAT, - 0, - GET_DELEGATED_ACCESS_TOKEN_INPUT, - GET_DELEGATED_ACCESS_TOKEN_OUTPUT, - ( - EXPIRED_TRADE_IN_TOKEN_EXCEPTION, - PACKED_POLICY_TOO_LARGE_EXCEPTION, - REGION_DISABLED_EXCEPTION, - ), -) - -DURATION_SECONDS_TYPE: StaticSchema = (7, n0, _dST, 0) - -USER_NAME_TYPE: StaticSchema = (3, n0, _uNT, 0) - -GET_FEDERATION_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _GFTI, - {_sSI: _cGFTR, _smi: None}, - (_N, _P, _PAo, _DS, _Ta, _MSTS), - ( - (USER_NAME_TYPE, 1), - (SESSION_POLICY_DOCUMENT_TYPE, 0), - (POLICY_DESCRIPTOR_LIST_TYPE, 0), - (DURATION_SECONDS_TYPE, 0), - (TAG_LIST_TYPE, 0), - (MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -FEDERATED_ID_TYPE: StaticSchema = (3, n0, _fIT, 0) - -FEDERATED_USER: StaticSchema = ( - 18, - n0, - _FU, - 0, - (_FUI, _A), - ((FEDERATED_ID_TYPE, 1), (ARN_TYPE, 1)), -) - -GET_FEDERATION_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _GFTO, - {_sSI: _cGFTRo, _smit: None}, - (_C, _FU, _PPS, _STU, _STS), - ( - (CREDENTIALS, 0), - (FEDERATED_USER, 0), - (NON_NEGATIVE_INTEGER_TYPE, 0), - (SESSION_TOKEN_UTILIZATION_TYPE, 0), - (SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -GET_FEDERATION_TOKEN: StaticOperationSchema = ( - 23, - n0, - _GFT, - 0, - GET_FEDERATION_TOKEN_INPUT, - GET_FEDERATION_TOKEN_OUTPUT, - ( - MALFORMED_POLICY_DOCUMENT_EXCEPTION, - PACKED_POLICY_TOO_LARGE_EXCEPTION, - REGION_DISABLED_EXCEPTION, - ), -) - -GET_SESSION_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _GSTI, - {_sSI: _cGSTR, _smi: None}, - (_DS, _SN, _TC, _MSTS), - ( - (DURATION_SECONDS_TYPE, 0), - (SERIAL_NUMBER_TYPE, 0), - (TOKEN_CODE_TYPE, 0), - (MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -GET_SESSION_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _GSTO, - {_sSI: _cGSTRo, _smit: None}, - (_C, _STU, _STS), - ( - (CREDENTIALS, 0), - (SESSION_TOKEN_UTILIZATION_TYPE, 0), - (SESSION_TOKEN_SIZE_TYPE, 0), - ), -) - -GET_SESSION_TOKEN: StaticOperationSchema = ( - 23, - n0, - _GST, - 0, - GET_SESSION_TOKEN_INPUT, - GET_SESSION_TOKEN_OUTPUT, - (REGION_DISABLED_EXCEPTION,), -) - -WEB_IDENTITY_TOKEN_AUDIENCE_STRING_TYPE: StaticSchema = (3, n0, _wITAST, 0) - -WEB_IDENTITY_TOKEN_AUDIENCE_LIST_TYPE: StaticSchema = ( - 16, - n0, - _wITALT, - 0, - (_m,), - ((WEB_IDENTITY_TOKEN_AUDIENCE_STRING_TYPE, 0),), -) - -WEB_IDENTITY_TOKEN_DURATION_SECONDS_TYPE: StaticSchema = (7, n0, _wITDST, 0) - -JWT_ALGORITHM_TYPE: StaticSchema = (3, n0, _jAT, 0) - -GET_WEB_IDENTITY_TOKEN_INPUT: StaticSchema = ( - 18, - n0, - _GWITI, - {_sSI: _cGWITR, _smi: None}, - (_Au, _DS, _SA, _Ta), - ( - (WEB_IDENTITY_TOKEN_AUDIENCE_LIST_TYPE, 1), - (WEB_IDENTITY_TOKEN_DURATION_SECONDS_TYPE, 0), - (JWT_ALGORITHM_TYPE, 1), - (TAG_LIST_TYPE, 0), - ), -) - -WEB_IDENTITY_TOKEN_TYPE: StaticSchema = (3, n0, _wITT, 4) - -GET_WEB_IDENTITY_TOKEN_OUTPUT: StaticSchema = ( - 18, - n0, - _GWITO, - {_sSI: _cGWITRo, _smit: None}, - (_WIT, _E), - ((WEB_IDENTITY_TOKEN_TYPE, 0), (DATE_TYPE, 0)), -) - -JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION2: StaticSchema = (3, n0, _JWTPSEE, 0) - -JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _JWTPSEEa, - { - _smith: _c, - _sE: 400, - _aQE: MappingProxyType( - {"code": "JWTPayloadSizeExceededException", "httpResponseCode": 400} - ), - }, - (_me,), - ((JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION2, 0),), -) - -OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION2: StaticSchema = (3, n0, _OWIFDE, 0) - -OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION: StaticSchema = ( - 18, - n0, - _OWIFDEu, - { - _smith: _c, - _sE: 403, - _aQE: MappingProxyType( - { - "code": "OutboundWebIdentityFederationDisabledException", - "httpResponseCode": 403, - } - ), - }, - (_me,), - ((OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION2, 0),), -) - -SESSION_DURATION_ESCALATION_EXCEPTION2: StaticSchema = (3, n0, _SDEE, 0) - -SESSION_DURATION_ESCALATION_EXCEPTION: StaticSchema = ( - 18, - n0, - _SDEEe, - { - _smith: _c, - _sE: 403, - _aQE: MappingProxyType( - {"code": "SessionDurationEscalationException", "httpResponseCode": 403} - ), - }, - (_me,), - ((SESSION_DURATION_ESCALATION_EXCEPTION2, 0),), -) - -GET_WEB_IDENTITY_TOKEN: StaticOperationSchema = ( - 23, - n0, - _GWIT, - 0, - GET_WEB_IDENTITY_TOKEN_INPUT, - GET_WEB_IDENTITY_TOKEN_OUTPUT, - ( - JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION, - OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION, - SESSION_DURATION_ESCALATION_EXCEPTION, - ), -) - -AWS_SECURITY_TOKEN_SERVICE_V20110615: StaticSchema = ( - 21, - n0, - _AWSSTSV, - { - _aw: MappingProxyType({"name": "sts"}), - _aws: MappingProxyType({"name": "sts"}), - _aQ: None, - _awsa: MappingProxyType( - { - "sdkId": "STS", - "arnNamespace": "sts", - "cloudFormationName": "STS", - "cloudTrailEventSource": "sts.amazonaws.com", - "endpointPrefix": "sts", - } - ), - _sN: MappingProxyType({"uri": "https://sts.amazonaws.com/doc/2011-06-15/"}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "ACCESS_KEY_ID_TYPE", + "ACCESS_KEY_SECRET_TYPE", + "ACCOUNT_TYPE", + "ARN_TYPE", + "ASSUMED_ROLE_ID_TYPE", + "ASSUMED_ROLE_USER", + "ROLE_DURATION_SECONDS_TYPE", + "EXTERNAL_ID_TYPE", + "MINIMUM_SESSION_TOKEN_SIZE_TYPE", + "UNRESTRICTED_SESSION_POLICY_DOCUMENT_TYPE", + "POLICY_DESCRIPTOR_TYPE", + "POLICY_DESCRIPTOR_LIST_TYPE", + "CONTEXT_ASSERTION_TYPE", + "PROVIDED_CONTEXT", + "PROVIDED_CONTEXTS_LIST_TYPE", + "ROLE_SESSION_NAME_TYPE", + "SERIAL_NUMBER_TYPE", + "SOURCE_IDENTITY_TYPE", + "TAG_KEY_TYPE", + "TAG_VALUE_TYPE", + "TAG", + "TAG_LIST_TYPE", + "TOKEN_CODE_TYPE", + "TAG_KEY_LIST_TYPE", + "ASSUME_ROLE_INPUT", + "ASSUME_ROLE_OUTPUT", + "ASSUME_ROLE", + "DATE_TYPE", + "TOKEN_TYPE", + "CREDENTIALS", + "NON_NEGATIVE_INTEGER_TYPE", + "SESSION_TOKEN_SIZE_TYPE", + "SESSION_TOKEN_UTILIZATION_TYPE", + "EXPIRED_IDENTITY_TOKEN_MESSAGE", + "EXPIRED_TOKEN_EXCEPTION", + "MALFORMED_POLICY_DOCUMENT_MESSAGE", + "MALFORMED_POLICY_DOCUMENT_EXCEPTION", + "PACKED_POLICY_TOO_LARGE_MESSAGE", + "PACKED_POLICY_TOO_LARGE_EXCEPTION", + "REGION_DISABLED_MESSAGE", + "REGION_DISABLED_EXCEPTION", + "SESSION_POLICY_DOCUMENT_TYPE", + "SAML_ASSERTION_TYPE", + "ASSUME_ROLE_WITH_SAML_INPUT", + "ASSUME_ROLE_WITH_SAML_OUTPUT", + "ASSUME_ROLE_WITH_SAML", + "AUDIENCE", + "ISSUER", + "NAME_QUALIFIER", + "SUBJECT", + "SUBJECT_TYPE", + "IDP_REJECTED_CLAIM_MESSAGE", + "IDP_REJECTED_CLAIM_EXCEPTION", + "INVALID_IDENTITY_TOKEN_MESSAGE", + "INVALID_IDENTITY_TOKEN_EXCEPTION", + "URL_TYPE", + "CLIENT_TOKEN_TYPE", + "ASSUME_ROLE_WITH_WEB_IDENTITY_INPUT", + "ASSUME_ROLE_WITH_WEB_IDENTITY_OUTPUT", + "ASSUME_ROLE_WITH_WEB_IDENTITY", + ), + ( + "WEB_IDENTITY_SUBJECT_TYPE", + "IDP_COMMUNICATION_ERROR_MESSAGE", + "IDP_COMMUNICATION_ERROR_EXCEPTION", + "ROOT_DURATION_SECONDS_TYPE", + "TARGET_PRINCIPAL_TYPE", + "ASSUME_ROOT_INPUT", + "ASSUME_ROOT_OUTPUT", + "ASSUME_ROOT", + "ENCODED_MESSAGE_TYPE", + "DECODE_AUTHORIZATION_MESSAGE_INPUT", + "DECODE_AUTHORIZATION_MESSAGE_OUTPUT", + "DECODE_AUTHORIZATION_MESSAGE", + "DECODED_MESSAGE_TYPE", + "INVALID_AUTHORIZATION_MESSAGE", + "INVALID_AUTHORIZATION_MESSAGE_EXCEPTION", + "GET_ACCESS_KEY_INFO_INPUT", + "GET_ACCESS_KEY_INFO_OUTPUT", + "GET_ACCESS_KEY_INFO", + "GET_CALLER_IDENTITY_INPUT", + "GET_CALLER_IDENTITY_OUTPUT", + "GET_CALLER_IDENTITY", + "USER_ID_TYPE", + "EXPIRED_TRADE_IN_TOKEN_EXCEPTION_MESSAGE", + "EXPIRED_TRADE_IN_TOKEN_EXCEPTION", + "TRADE_IN_TOKEN_TYPE", + "GET_DELEGATED_ACCESS_TOKEN_INPUT", + "GET_DELEGATED_ACCESS_TOKEN_OUTPUT", + "GET_DELEGATED_ACCESS_TOKEN", + "DURATION_SECONDS_TYPE", + "USER_NAME_TYPE", + "GET_FEDERATION_TOKEN_INPUT", + "GET_FEDERATION_TOKEN_OUTPUT", + "GET_FEDERATION_TOKEN", + "FEDERATED_ID_TYPE", + "FEDERATED_USER", + "GET_SESSION_TOKEN_INPUT", + "GET_SESSION_TOKEN_OUTPUT", + "GET_SESSION_TOKEN", + "WEB_IDENTITY_TOKEN_AUDIENCE_STRING_TYPE", + "WEB_IDENTITY_TOKEN_AUDIENCE_LIST_TYPE", + "WEB_IDENTITY_TOKEN_DURATION_SECONDS_TYPE", + "JWT_ALGORITHM_TYPE", + "GET_WEB_IDENTITY_TOKEN_INPUT", + "GET_WEB_IDENTITY_TOKEN_OUTPUT", + "GET_WEB_IDENTITY_TOKEN", + "WEB_IDENTITY_TOKEN_TYPE", + "JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION2", + "JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION", + "OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION2", + "OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION", + "SESSION_DURATION_ESCALATION_EXCEPTION2", + "SESSION_DURATION_ESCALATION_EXCEPTION", + "AWS_SECURITY_TOKEN_SERVICE_V20110615", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas_0.py b/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas_0.py new file mode 100644 index 000000000..3e24e3801 --- /dev/null +++ b/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas_0.py @@ -0,0 +1,502 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.sts" +_aKIT = "accessKeyIdType" +_aKST = "accessKeySecretType" +_s = "smithy.api#sensitive" +_aT = "accountType" +_aTr = "arnType" +_aRIT = "assumedRoleIdType" +_ARU = "AssumedRoleUser" +_ARI = "AssumedRoleId" +_sm = "smithy.api#required" +_A = "Arn" +_rDST = "roleDurationSecondsType" +_eIT = "externalIdType" +_mSTST = "minimumSessionTokenSizeType" +_uSPDT = "unrestrictedSessionPolicyDocumentType" +_PDT = "PolicyDescriptorType" +_a = "arn" +_pDLT = "policyDescriptorListType" +_m = "member" +_cAT = "contextAssertionType" +_PC = "ProvidedContext" +_PA = "ProviderArn" +_CA = "ContextAssertion" +_PCLT = "ProvidedContextsListType" +_rSNT = "roleSessionNameType" +_sNT = "serialNumberType" +_sIT = "sourceIdentityType" +_tKT = "tagKeyType" +_tVT = "tagValueType" +_T = "Tag" +_K = "Key" +_V = "Value" +_tLT = "tagListType" +_tCT = "tokenCodeType" +_tKLT = "tagKeyListType" +_ARIs = "AssumeRoleInput" +_sSI = "smithy.synthetic#originalShapeId" +_cARR = "com.amazonaws.sts#AssumeRoleRequest" +_smi = "smithy.api#input" +_RA = "RoleArn" +_RSN = "RoleSessionName" +_PAo = "PolicyArns" +_P = "Policy" +_DS = "DurationSeconds" +_Ta = "Tags" +_TTK = "TransitiveTagKeys" +_EI = "ExternalId" +_SN = "SerialNumber" +_TC = "TokenCode" +_SI = "SourceIdentity" +_PCr = "ProvidedContexts" +_MSTS = "MinimumSessionTokenSize" +_dT = "dateType" +_tT = "tokenType" +_C = "Credentials" +_AKI = "AccessKeyId" +_SAK = "SecretAccessKey" +_ST = "SessionToken" +_E = "Expiration" +_nNIT = "nonNegativeIntegerType" +_sTST = "sessionTokenSizeType" +_sTUT = "sessionTokenUtilizationType" +_ARO = "AssumeRoleOutput" +_cARRo = "com.amazonaws.sts#AssumeRoleResponse" +_smit = "smithy.api#output" +_PPS = "PackedPolicySize" +_STU = "SessionTokenUtilization" +_STS = "SessionTokenSize" +_eITM = "expiredIdentityTokenMessage" +_ETE = "ExpiredTokenException" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_mPDM = "malformedPolicyDocumentMessage" +_MPDE = "MalformedPolicyDocumentException" +_pPTLM = "packedPolicyTooLargeMessage" +_PPTLE = "PackedPolicyTooLargeException" +_rDM = "regionDisabledMessage" +_RDE = "RegionDisabledException" +_AR = "AssumeRole" +_sPDT = "sessionPolicyDocumentType" +_SAMLAT = "SAMLAssertionType" +_ARWSAMLI = "AssumeRoleWithSAMLInput" +_cARWSAMLR = "com.amazonaws.sts#AssumeRoleWithSAMLRequest" +_PAr = "PrincipalArn" +_SAMLA = "SAMLAssertion" +_Au = "Audience" +_I = "Issuer" +_NQ = "NameQualifier" +_S = "Subject" +_STu = "SubjectType" +_ARWSAMLO = "AssumeRoleWithSAMLOutput" +_cARWSAMLRo = "com.amazonaws.sts#AssumeRoleWithSAMLResponse" +_iRCM = "idpRejectedClaimMessage" +_IDPRCE = "IDPRejectedClaimException" +_iITM = "invalidIdentityTokenMessage" +_IITE = "InvalidIdentityTokenException" +_ARWSAML = "AssumeRoleWithSAML" +_uT = "urlType" +_cTT = "clientTokenType" +_ARWWII = "AssumeRoleWithWebIdentityInput" +_cARWWIR = "com.amazonaws.sts#AssumeRoleWithWebIdentityRequest" +_WIT = "WebIdentityToken" +_PI = "ProviderId" +_ARWWIO = "AssumeRoleWithWebIdentityOutput" +_cARWWIRo = "com.amazonaws.sts#AssumeRoleWithWebIdentityResponse" +_SFWIT = "SubjectFromWebIdentityToken" +_Pr = "Provider" +_ARWWI = "AssumeRoleWithWebIdentity" + +ACCESS_KEY_ID_TYPE: StaticSchema = (3, n0, _aKIT, 0) + +ACCESS_KEY_SECRET_TYPE: StaticSchema = (3, n0, _aKST, 4) + +ACCOUNT_TYPE: StaticSchema = (3, n0, _aT, 0) + +ARN_TYPE: StaticSchema = (3, n0, _aTr, 0) + +ASSUMED_ROLE_ID_TYPE: StaticSchema = (3, n0, _aRIT, 0) + +ASSUMED_ROLE_USER: StaticSchema = ( + 18, + n0, + _ARU, + 0, + (_ARI, _A), + ((ASSUMED_ROLE_ID_TYPE, 1), (ARN_TYPE, 1)), +) + +ROLE_DURATION_SECONDS_TYPE: StaticSchema = (7, n0, _rDST, 0) + +EXTERNAL_ID_TYPE: StaticSchema = (3, n0, _eIT, 0) + +MINIMUM_SESSION_TOKEN_SIZE_TYPE: StaticSchema = (7, n0, _mSTST, 0) + +UNRESTRICTED_SESSION_POLICY_DOCUMENT_TYPE: StaticSchema = (3, n0, _uSPDT, 0) + +POLICY_DESCRIPTOR_TYPE: StaticSchema = (18, n0, _PDT, 0, (_a,), ((ARN_TYPE, 0),)) + +POLICY_DESCRIPTOR_LIST_TYPE: StaticSchema = ( + 16, + n0, + _pDLT, + 0, + (_m,), + ((POLICY_DESCRIPTOR_TYPE, 0),), +) + +CONTEXT_ASSERTION_TYPE: StaticSchema = (3, n0, _cAT, 0) + +PROVIDED_CONTEXT: StaticSchema = ( + 18, + n0, + _PC, + 0, + (_PA, _CA), + ((ARN_TYPE, 0), (CONTEXT_ASSERTION_TYPE, 0)), +) + +PROVIDED_CONTEXTS_LIST_TYPE: StaticSchema = ( + 16, + n0, + _PCLT, + 0, + (_m,), + ((PROVIDED_CONTEXT, 0),), +) + +ROLE_SESSION_NAME_TYPE: StaticSchema = (3, n0, _rSNT, 0) + +SERIAL_NUMBER_TYPE: StaticSchema = (3, n0, _sNT, 0) + +SOURCE_IDENTITY_TYPE: StaticSchema = (3, n0, _sIT, 0) + +TAG_KEY_TYPE: StaticSchema = (3, n0, _tKT, 0) + +TAG_VALUE_TYPE: StaticSchema = (3, n0, _tVT, 0) + +TAG: StaticSchema = (18, n0, _T, 0, (_K, _V), ((TAG_KEY_TYPE, 1), (TAG_VALUE_TYPE, 1))) + +TAG_LIST_TYPE: StaticSchema = (16, n0, _tLT, 0, (_m,), ((TAG, 0),)) + +TOKEN_CODE_TYPE: StaticSchema = (3, n0, _tCT, 0) + +TAG_KEY_LIST_TYPE: StaticSchema = (16, n0, _tKLT, 0, (_m,), ((TAG_KEY_TYPE, 0),)) + +ASSUME_ROLE_INPUT: StaticSchema = ( + 18, + n0, + _ARIs, + {_sSI: _cARR, _smi: None}, + (_RA, _RSN, _PAo, _P, _DS, _Ta, _TTK, _EI, _SN, _TC, _SI, _PCr, _MSTS), + ( + (ARN_TYPE, 1), + (ROLE_SESSION_NAME_TYPE, 1), + (POLICY_DESCRIPTOR_LIST_TYPE, 0), + (UNRESTRICTED_SESSION_POLICY_DOCUMENT_TYPE, 0), + (ROLE_DURATION_SECONDS_TYPE, 0), + (TAG_LIST_TYPE, 0), + (TAG_KEY_LIST_TYPE, 0), + (EXTERNAL_ID_TYPE, 0), + (SERIAL_NUMBER_TYPE, 0), + (TOKEN_CODE_TYPE, 0), + (SOURCE_IDENTITY_TYPE, 0), + (PROVIDED_CONTEXTS_LIST_TYPE, 0), + (MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +ASSUME_ROLE_OUTPUT: StaticSchema = ( + 18, + n0, + _ARO, + {_sSI: _cARRo, _smit: None}, + (_C, _ARU, _PPS, _SI, _STU, _STS), + ( + (lambda: CREDENTIALS, 0), + (ASSUMED_ROLE_USER, 0), + (lambda: NON_NEGATIVE_INTEGER_TYPE, 0), + (SOURCE_IDENTITY_TYPE, 0), + (lambda: SESSION_TOKEN_UTILIZATION_TYPE, 0), + (lambda: SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +ASSUME_ROLE: StaticOperationSchema = ( + 23, + n0, + _AR, + 0, + ASSUME_ROLE_INPUT, + ASSUME_ROLE_OUTPUT, + ( + lambda: EXPIRED_TOKEN_EXCEPTION, + lambda: MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: PACKED_POLICY_TOO_LARGE_EXCEPTION, + lambda: REGION_DISABLED_EXCEPTION, + ), +) + +DATE_TYPE: StaticSchema = (4, n0, _dT, 0) + +TOKEN_TYPE: StaticSchema = (3, n0, _tT, 0) + +CREDENTIALS: StaticSchema = ( + 18, + n0, + _C, + 0, + (_AKI, _SAK, _ST, _E), + ( + (ACCESS_KEY_ID_TYPE, 1), + (ACCESS_KEY_SECRET_TYPE, 1), + (TOKEN_TYPE, 1), + (DATE_TYPE, 1), + ), +) + +NON_NEGATIVE_INTEGER_TYPE: StaticSchema = (7, n0, _nNIT, 0) + +SESSION_TOKEN_SIZE_TYPE: StaticSchema = (7, n0, _sTST, 0) + +SESSION_TOKEN_UTILIZATION_TYPE: StaticSchema = (7, n0, _sTUT, 0) + +EXPIRED_IDENTITY_TOKEN_MESSAGE: StaticSchema = (3, n0, _eITM, 0) + +EXPIRED_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _ETE, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ExpiredTokenException", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXPIRED_IDENTITY_TOKEN_MESSAGE, 0),), +) + +MALFORMED_POLICY_DOCUMENT_MESSAGE: StaticSchema = (3, n0, _mPDM, 0) + +MALFORMED_POLICY_DOCUMENT_EXCEPTION: StaticSchema = ( + 18, + n0, + _MPDE, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "MalformedPolicyDocument", "httpResponseCode": 400} + ), + }, + (_me,), + ((MALFORMED_POLICY_DOCUMENT_MESSAGE, 0),), +) + +PACKED_POLICY_TOO_LARGE_MESSAGE: StaticSchema = (3, n0, _pPTLM, 0) + +PACKED_POLICY_TOO_LARGE_EXCEPTION: StaticSchema = ( + 18, + n0, + _PPTLE, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "PackedPolicyTooLarge", "httpResponseCode": 400} + ), + }, + (_me,), + ((PACKED_POLICY_TOO_LARGE_MESSAGE, 0),), +) + +REGION_DISABLED_MESSAGE: StaticSchema = (3, n0, _rDM, 0) + +REGION_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _RDE, + { + _smith: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "RegionDisabledException", "httpResponseCode": 403} + ), + }, + (_me,), + ((REGION_DISABLED_MESSAGE, 0),), +) + +SESSION_POLICY_DOCUMENT_TYPE: StaticSchema = (3, n0, _sPDT, 0) + +SAML_ASSERTION_TYPE: StaticSchema = (3, n0, _SAMLAT, 4) + +ASSUME_ROLE_WITH_SAML_INPUT: StaticSchema = ( + 18, + n0, + _ARWSAMLI, + {_sSI: _cARWSAMLR, _smi: None}, + (_RA, _PAr, _SAMLA, _PAo, _P, _DS, _MSTS), + ( + (ARN_TYPE, 1), + (ARN_TYPE, 1), + (SAML_ASSERTION_TYPE, 1), + (POLICY_DESCRIPTOR_LIST_TYPE, 0), + (SESSION_POLICY_DOCUMENT_TYPE, 0), + (ROLE_DURATION_SECONDS_TYPE, 0), + (MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +ASSUME_ROLE_WITH_SAML_OUTPUT: StaticSchema = ( + 18, + n0, + _ARWSAMLO, + {_sSI: _cARWSAMLRo, _smit: None}, + (_C, _ARU, _PPS, _S, _STu, _I, _Au, _NQ, _SI, _STU, _STS), + ( + (CREDENTIALS, 0), + (ASSUMED_ROLE_USER, 0), + (NON_NEGATIVE_INTEGER_TYPE, 0), + (lambda: SUBJECT, 0), + (lambda: SUBJECT_TYPE, 0), + (lambda: ISSUER, 0), + (lambda: AUDIENCE, 0), + (lambda: NAME_QUALIFIER, 0), + (SOURCE_IDENTITY_TYPE, 0), + (SESSION_TOKEN_UTILIZATION_TYPE, 0), + (SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +ASSUME_ROLE_WITH_SAML: StaticOperationSchema = ( + 23, + n0, + _ARWSAML, + 0, + ASSUME_ROLE_WITH_SAML_INPUT, + ASSUME_ROLE_WITH_SAML_OUTPUT, + ( + EXPIRED_TOKEN_EXCEPTION, + lambda: IDP_REJECTED_CLAIM_EXCEPTION, + lambda: INVALID_IDENTITY_TOKEN_EXCEPTION, + MALFORMED_POLICY_DOCUMENT_EXCEPTION, + PACKED_POLICY_TOO_LARGE_EXCEPTION, + REGION_DISABLED_EXCEPTION, + ), +) + +AUDIENCE: StaticSchema = (3, n0, _Au, 0) + +ISSUER: StaticSchema = (3, n0, _I, 0) + +NAME_QUALIFIER: StaticSchema = (3, n0, _NQ, 0) + +SUBJECT: StaticSchema = (3, n0, _S, 0) + +SUBJECT_TYPE: StaticSchema = (3, n0, _STu, 0) + +IDP_REJECTED_CLAIM_MESSAGE: StaticSchema = (3, n0, _iRCM, 0) + +IDP_REJECTED_CLAIM_EXCEPTION: StaticSchema = ( + 18, + n0, + _IDPRCE, + { + _smith: _c, + _sE: 403, + _aQE: MappingProxyType({"code": "IDPRejectedClaim", "httpResponseCode": 403}), + }, + (_me,), + ((IDP_REJECTED_CLAIM_MESSAGE, 0),), +) + +INVALID_IDENTITY_TOKEN_MESSAGE: StaticSchema = (3, n0, _iITM, 0) + +INVALID_IDENTITY_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _IITE, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidIdentityToken", "httpResponseCode": 400} + ), + }, + (_me,), + ((INVALID_IDENTITY_TOKEN_MESSAGE, 0),), +) + +URL_TYPE: StaticSchema = (3, n0, _uT, 0) + +CLIENT_TOKEN_TYPE: StaticSchema = (3, n0, _cTT, 4) + +ASSUME_ROLE_WITH_WEB_IDENTITY_INPUT: StaticSchema = ( + 18, + n0, + _ARWWII, + {_sSI: _cARWWIR, _smi: None}, + (_RA, _RSN, _WIT, _PI, _PAo, _P, _DS, _MSTS), + ( + (ARN_TYPE, 1), + (ROLE_SESSION_NAME_TYPE, 1), + (CLIENT_TOKEN_TYPE, 1), + (URL_TYPE, 0), + (POLICY_DESCRIPTOR_LIST_TYPE, 0), + (SESSION_POLICY_DOCUMENT_TYPE, 0), + (ROLE_DURATION_SECONDS_TYPE, 0), + (MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +ASSUME_ROLE_WITH_WEB_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _ARWWIO, + {_sSI: _cARWWIRo, _smit: None}, + (_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI, _STU, _STS), + ( + (CREDENTIALS, 0), + (lambda: schemas.WEB_IDENTITY_SUBJECT_TYPE, 0), + (ASSUMED_ROLE_USER, 0), + (NON_NEGATIVE_INTEGER_TYPE, 0), + (ISSUER, 0), + (AUDIENCE, 0), + (SOURCE_IDENTITY_TYPE, 0), + (SESSION_TOKEN_UTILIZATION_TYPE, 0), + (SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +ASSUME_ROLE_WITH_WEB_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _ARWWI, + 0, + ASSUME_ROLE_WITH_WEB_IDENTITY_INPUT, + ASSUME_ROLE_WITH_WEB_IDENTITY_OUTPUT, + ( + EXPIRED_TOKEN_EXCEPTION, + lambda: schemas.IDP_COMMUNICATION_ERROR_EXCEPTION, + IDP_REJECTED_CLAIM_EXCEPTION, + INVALID_IDENTITY_TOKEN_EXCEPTION, + MALFORMED_POLICY_DOCUMENT_EXCEPTION, + PACKED_POLICY_TOO_LARGE_EXCEPTION, + REGION_DISABLED_EXCEPTION, + ), +) diff --git a/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas_1.py b/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas_1.py new file mode 100644 index 000000000..c59e7df74 --- /dev/null +++ b/clients/aws-sdk-sts/src/aws_sdk_sts/_private/schemas_1.py @@ -0,0 +1,572 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.sts" +_s = "smithy.api#sensitive" +_sm = "smithy.api#required" +_A = "Arn" +_m = "member" +_sSI = "smithy.synthetic#originalShapeId" +_smi = "smithy.api#input" +_PAo = "PolicyArns" +_P = "Policy" +_DS = "DurationSeconds" +_Ta = "Tags" +_SN = "SerialNumber" +_TC = "TokenCode" +_SI = "SourceIdentity" +_MSTS = "MinimumSessionTokenSize" +_C = "Credentials" +_AKI = "AccessKeyId" +_E = "Expiration" +_smit = "smithy.api#output" +_PPS = "PackedPolicySize" +_STU = "SessionTokenUtilization" +_STS = "SessionTokenSize" +_smith = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_aQE = "aws.protocols#awsQueryError" +_me = "message" +_Au = "Audience" +_WIT = "WebIdentityToken" +_wIST = "webIdentitySubjectType" +_iCEM = "idpCommunicationErrorMessage" +_IDPCEE = "IDPCommunicationErrorException" +_RDST = "RootDurationSecondsType" +_TPT = "TargetPrincipalType" +_ARIss = "AssumeRootInput" +_cARRom = "com.amazonaws.sts#AssumeRootRequest" +_TP = "TargetPrincipal" +_TPA = "TaskPolicyArn" +_AROs = "AssumeRootOutput" +_cARRoma = "com.amazonaws.sts#AssumeRootResponse" +_ARs = "AssumeRoot" +_eMT = "encodedMessageType" +_DAMI = "DecodeAuthorizationMessageInput" +_cDAMR = "com.amazonaws.sts#DecodeAuthorizationMessageRequest" +_EM = "EncodedMessage" +_dMT = "decodedMessageType" +_DAMO = "DecodeAuthorizationMessageOutput" +_cDAMRo = "com.amazonaws.sts#DecodeAuthorizationMessageResponse" +_DM = "DecodedMessage" +_iAM = "invalidAuthorizationMessage" +_IAME = "InvalidAuthorizationMessageException" +_DAM = "DecodeAuthorizationMessage" +_GAKII = "GetAccessKeyInfoInput" +_cGAKIR = "com.amazonaws.sts#GetAccessKeyInfoRequest" +_GAKIO = "GetAccessKeyInfoOutput" +_cGAKIRo = "com.amazonaws.sts#GetAccessKeyInfoResponse" +_Ac = "Account" +_GAKI = "GetAccessKeyInfo" +_GCII = "GetCallerIdentityInput" +_cGCIR = "com.amazonaws.sts#GetCallerIdentityRequest" +_uIT = "userIdType" +_GCIO = "GetCallerIdentityOutput" +_cGCIRo = "com.amazonaws.sts#GetCallerIdentityResponse" +_UI = "UserId" +_GCI = "GetCallerIdentity" +_eTITEM = "expiredTradeInTokenExceptionMessage" +_ETITE = "ExpiredTradeInTokenException" +_tITT = "tradeInTokenType" +_GDATI = "GetDelegatedAccessTokenInput" +_cGDATR = "com.amazonaws.sts#GetDelegatedAccessTokenRequest" +_TIT = "TradeInToken" +_GDATO = "GetDelegatedAccessTokenOutput" +_cGDATRo = "com.amazonaws.sts#GetDelegatedAccessTokenResponse" +_AP = "AssumedPrincipal" +_GDAT = "GetDelegatedAccessToken" +_dST = "durationSecondsType" +_uNT = "userNameType" +_GFTI = "GetFederationTokenInput" +_cGFTR = "com.amazonaws.sts#GetFederationTokenRequest" +_N = "Name" +_fIT = "federatedIdType" +_FU = "FederatedUser" +_FUI = "FederatedUserId" +_GFTO = "GetFederationTokenOutput" +_cGFTRo = "com.amazonaws.sts#GetFederationTokenResponse" +_GFT = "GetFederationToken" +_GSTI = "GetSessionTokenInput" +_cGSTR = "com.amazonaws.sts#GetSessionTokenRequest" +_GSTO = "GetSessionTokenOutput" +_cGSTRo = "com.amazonaws.sts#GetSessionTokenResponse" +_GST = "GetSessionToken" +_wITAST = "webIdentityTokenAudienceStringType" +_wITALT = "webIdentityTokenAudienceListType" +_wITDST = "webIdentityTokenDurationSecondsType" +_jAT = "jwtAlgorithmType" +_GWITI = "GetWebIdentityTokenInput" +_cGWITR = "com.amazonaws.sts#GetWebIdentityTokenRequest" +_SA = "SigningAlgorithm" +_wITT = "webIdentityTokenType" +_GWITO = "GetWebIdentityTokenOutput" +_cGWITRo = "com.amazonaws.sts#GetWebIdentityTokenResponse" +_JWTPSEE = "JWTPayloadSizeExceededException2" +_JWTPSEEa = "JWTPayloadSizeExceededException" +_OWIFDE = "OutboundWebIdentityFederationDisabledException2" +_OWIFDEu = "OutboundWebIdentityFederationDisabledException" +_SDEE = "SessionDurationEscalationException2" +_SDEEe = "SessionDurationEscalationException" +_GWIT = "GetWebIdentityToken" +_AWSSTSV = "AWSSecurityTokenServiceV20110615" +_aw = "aws.auth#sigv4" +_aws = "aws.auth#sigv4a" +_aQ = "aws.protocols#awsQuery" +_awsa = "aws.api#service" +_sN = "smithy.api#xmlNamespace" + +WEB_IDENTITY_SUBJECT_TYPE: StaticSchema = (3, n0, _wIST, 0) + +IDP_COMMUNICATION_ERROR_MESSAGE: StaticSchema = (3, n0, _iCEM, 0) + +IDP_COMMUNICATION_ERROR_EXCEPTION: StaticSchema = ( + 18, + n0, + _IDPCEE, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "IDPCommunicationError", "httpResponseCode": 400} + ), + }, + (_me,), + ((IDP_COMMUNICATION_ERROR_MESSAGE, 0),), +) + +ROOT_DURATION_SECONDS_TYPE: StaticSchema = (7, n0, _RDST, 0) + +TARGET_PRINCIPAL_TYPE: StaticSchema = (3, n0, _TPT, 0) + +ASSUME_ROOT_INPUT: StaticSchema = ( + 18, + n0, + _ARIss, + {_sSI: _cARRom, _smi: None}, + (_TP, _TPA, _DS, _MSTS), + ( + (TARGET_PRINCIPAL_TYPE, 1), + (lambda: schemas.POLICY_DESCRIPTOR_TYPE, 1), + (ROOT_DURATION_SECONDS_TYPE, 0), + (lambda: schemas.MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +ASSUME_ROOT_OUTPUT: StaticSchema = ( + 18, + n0, + _AROs, + {_sSI: _cARRoma, _smit: None}, + (_C, _SI, _STU, _STS), + ( + (lambda: schemas.CREDENTIALS, 0), + (lambda: schemas.SOURCE_IDENTITY_TYPE, 0), + (lambda: schemas.SESSION_TOKEN_UTILIZATION_TYPE, 0), + (lambda: schemas.SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +ASSUME_ROOT: StaticOperationSchema = ( + 23, + n0, + _ARs, + 0, + ASSUME_ROOT_INPUT, + ASSUME_ROOT_OUTPUT, + ( + lambda: schemas.EXPIRED_TOKEN_EXCEPTION, + lambda: schemas.REGION_DISABLED_EXCEPTION, + ), +) + +ENCODED_MESSAGE_TYPE: StaticSchema = (3, n0, _eMT, 0) + +DECODE_AUTHORIZATION_MESSAGE_INPUT: StaticSchema = ( + 18, + n0, + _DAMI, + {_sSI: _cDAMR, _smi: None}, + (_EM,), + ((ENCODED_MESSAGE_TYPE, 1),), +) + +DECODE_AUTHORIZATION_MESSAGE_OUTPUT: StaticSchema = ( + 18, + n0, + _DAMO, + {_sSI: _cDAMRo, _smit: None}, + (_DM,), + ((lambda: DECODED_MESSAGE_TYPE, 0),), +) + +DECODE_AUTHORIZATION_MESSAGE: StaticOperationSchema = ( + 23, + n0, + _DAM, + 0, + DECODE_AUTHORIZATION_MESSAGE_INPUT, + DECODE_AUTHORIZATION_MESSAGE_OUTPUT, + (lambda: INVALID_AUTHORIZATION_MESSAGE_EXCEPTION,), +) + +DECODED_MESSAGE_TYPE: StaticSchema = (3, n0, _dMT, 0) + +INVALID_AUTHORIZATION_MESSAGE: StaticSchema = (3, n0, _iAM, 0) + +INVALID_AUTHORIZATION_MESSAGE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IAME, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "InvalidAuthorizationMessageException", "httpResponseCode": 400} + ), + }, + (_me,), + ((INVALID_AUTHORIZATION_MESSAGE, 0),), +) + +GET_ACCESS_KEY_INFO_INPUT: StaticSchema = ( + 18, + n0, + _GAKII, + {_sSI: _cGAKIR, _smi: None}, + (_AKI,), + ((lambda: schemas.ACCESS_KEY_ID_TYPE, 1),), +) + +GET_ACCESS_KEY_INFO_OUTPUT: StaticSchema = ( + 18, + n0, + _GAKIO, + {_sSI: _cGAKIRo, _smit: None}, + (_Ac,), + ((lambda: schemas.ACCOUNT_TYPE, 0),), +) + +GET_ACCESS_KEY_INFO: StaticOperationSchema = ( + 23, + n0, + _GAKI, + 0, + GET_ACCESS_KEY_INFO_INPUT, + GET_ACCESS_KEY_INFO_OUTPUT, + (), +) + +GET_CALLER_IDENTITY_INPUT: StaticSchema = (18, n0, _GCII, {_sSI: _cGCIR, _smi: None}) + +GET_CALLER_IDENTITY_OUTPUT: StaticSchema = ( + 18, + n0, + _GCIO, + {_sSI: _cGCIRo, _smit: None}, + (_UI, _Ac, _A), + ( + (lambda: USER_ID_TYPE, 0), + (lambda: schemas.ACCOUNT_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + ), +) + +GET_CALLER_IDENTITY: StaticOperationSchema = ( + 23, + n0, + _GCI, + 0, + GET_CALLER_IDENTITY_INPUT, + GET_CALLER_IDENTITY_OUTPUT, + (), +) + +USER_ID_TYPE: StaticSchema = (3, n0, _uIT, 0) + +EXPIRED_TRADE_IN_TOKEN_EXCEPTION_MESSAGE: StaticSchema = (3, n0, _eTITEM, 0) + +EXPIRED_TRADE_IN_TOKEN_EXCEPTION: StaticSchema = ( + 18, + n0, + _ETITE, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "ExpiredTradeInTokenException", "httpResponseCode": 400} + ), + }, + (_me,), + ((EXPIRED_TRADE_IN_TOKEN_EXCEPTION_MESSAGE, 0),), +) + +TRADE_IN_TOKEN_TYPE: StaticSchema = (3, n0, _tITT, 4) + +GET_DELEGATED_ACCESS_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _GDATI, + {_sSI: _cGDATR, _smi: None}, + (_TIT,), + ((TRADE_IN_TOKEN_TYPE, 1),), +) + +GET_DELEGATED_ACCESS_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _GDATO, + {_sSI: _cGDATRo, _smit: None}, + (_C, _PPS, _AP), + ( + (lambda: schemas.CREDENTIALS, 0), + (lambda: schemas.NON_NEGATIVE_INTEGER_TYPE, 0), + (lambda: schemas.ARN_TYPE, 0), + ), +) + +GET_DELEGATED_ACCESS_TOKEN: StaticOperationSchema = ( + 23, + n0, + _GDAT, + 0, + GET_DELEGATED_ACCESS_TOKEN_INPUT, + GET_DELEGATED_ACCESS_TOKEN_OUTPUT, + ( + EXPIRED_TRADE_IN_TOKEN_EXCEPTION, + lambda: schemas.PACKED_POLICY_TOO_LARGE_EXCEPTION, + lambda: schemas.REGION_DISABLED_EXCEPTION, + ), +) + +DURATION_SECONDS_TYPE: StaticSchema = (7, n0, _dST, 0) + +USER_NAME_TYPE: StaticSchema = (3, n0, _uNT, 0) + +GET_FEDERATION_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _GFTI, + {_sSI: _cGFTR, _smi: None}, + (_N, _P, _PAo, _DS, _Ta, _MSTS), + ( + (USER_NAME_TYPE, 1), + (lambda: schemas.SESSION_POLICY_DOCUMENT_TYPE, 0), + (lambda: schemas.POLICY_DESCRIPTOR_LIST_TYPE, 0), + (DURATION_SECONDS_TYPE, 0), + (lambda: schemas.TAG_LIST_TYPE, 0), + (lambda: schemas.MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +GET_FEDERATION_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _GFTO, + {_sSI: _cGFTRo, _smit: None}, + (_C, _FU, _PPS, _STU, _STS), + ( + (lambda: schemas.CREDENTIALS, 0), + (lambda: FEDERATED_USER, 0), + (lambda: schemas.NON_NEGATIVE_INTEGER_TYPE, 0), + (lambda: schemas.SESSION_TOKEN_UTILIZATION_TYPE, 0), + (lambda: schemas.SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +GET_FEDERATION_TOKEN: StaticOperationSchema = ( + 23, + n0, + _GFT, + 0, + GET_FEDERATION_TOKEN_INPUT, + GET_FEDERATION_TOKEN_OUTPUT, + ( + lambda: schemas.MALFORMED_POLICY_DOCUMENT_EXCEPTION, + lambda: schemas.PACKED_POLICY_TOO_LARGE_EXCEPTION, + lambda: schemas.REGION_DISABLED_EXCEPTION, + ), +) + +FEDERATED_ID_TYPE: StaticSchema = (3, n0, _fIT, 0) + +FEDERATED_USER: StaticSchema = ( + 18, + n0, + _FU, + 0, + (_FUI, _A), + ((FEDERATED_ID_TYPE, 1), (lambda: schemas.ARN_TYPE, 1)), +) + +GET_SESSION_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _GSTI, + {_sSI: _cGSTR, _smi: None}, + (_DS, _SN, _TC, _MSTS), + ( + (DURATION_SECONDS_TYPE, 0), + (lambda: schemas.SERIAL_NUMBER_TYPE, 0), + (lambda: schemas.TOKEN_CODE_TYPE, 0), + (lambda: schemas.MINIMUM_SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +GET_SESSION_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _GSTO, + {_sSI: _cGSTRo, _smit: None}, + (_C, _STU, _STS), + ( + (lambda: schemas.CREDENTIALS, 0), + (lambda: schemas.SESSION_TOKEN_UTILIZATION_TYPE, 0), + (lambda: schemas.SESSION_TOKEN_SIZE_TYPE, 0), + ), +) + +GET_SESSION_TOKEN: StaticOperationSchema = ( + 23, + n0, + _GST, + 0, + GET_SESSION_TOKEN_INPUT, + GET_SESSION_TOKEN_OUTPUT, + (lambda: schemas.REGION_DISABLED_EXCEPTION,), +) + +WEB_IDENTITY_TOKEN_AUDIENCE_STRING_TYPE: StaticSchema = (3, n0, _wITAST, 0) + +WEB_IDENTITY_TOKEN_AUDIENCE_LIST_TYPE: StaticSchema = ( + 16, + n0, + _wITALT, + 0, + (_m,), + ((WEB_IDENTITY_TOKEN_AUDIENCE_STRING_TYPE, 0),), +) + +WEB_IDENTITY_TOKEN_DURATION_SECONDS_TYPE: StaticSchema = (7, n0, _wITDST, 0) + +JWT_ALGORITHM_TYPE: StaticSchema = (3, n0, _jAT, 0) + +GET_WEB_IDENTITY_TOKEN_INPUT: StaticSchema = ( + 18, + n0, + _GWITI, + {_sSI: _cGWITR, _smi: None}, + (_Au, _DS, _SA, _Ta), + ( + (WEB_IDENTITY_TOKEN_AUDIENCE_LIST_TYPE, 1), + (WEB_IDENTITY_TOKEN_DURATION_SECONDS_TYPE, 0), + (JWT_ALGORITHM_TYPE, 1), + (lambda: schemas.TAG_LIST_TYPE, 0), + ), +) + +GET_WEB_IDENTITY_TOKEN_OUTPUT: StaticSchema = ( + 18, + n0, + _GWITO, + {_sSI: _cGWITRo, _smit: None}, + (_WIT, _E), + ((lambda: WEB_IDENTITY_TOKEN_TYPE, 0), (lambda: schemas.DATE_TYPE, 0)), +) + +GET_WEB_IDENTITY_TOKEN: StaticOperationSchema = ( + 23, + n0, + _GWIT, + 0, + GET_WEB_IDENTITY_TOKEN_INPUT, + GET_WEB_IDENTITY_TOKEN_OUTPUT, + ( + lambda: JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION, + lambda: OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION, + lambda: SESSION_DURATION_ESCALATION_EXCEPTION, + ), +) + +WEB_IDENTITY_TOKEN_TYPE: StaticSchema = (3, n0, _wITT, 4) + +JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION2: StaticSchema = (3, n0, _JWTPSEE, 0) + +JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _JWTPSEEa, + { + _smith: _c, + _sE: 400, + _aQE: MappingProxyType( + {"code": "JWTPayloadSizeExceededException", "httpResponseCode": 400} + ), + }, + (_me,), + ((JWT_PAYLOAD_SIZE_EXCEEDED_EXCEPTION2, 0),), +) + +OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION2: StaticSchema = (3, n0, _OWIFDE, 0) + +OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION: StaticSchema = ( + 18, + n0, + _OWIFDEu, + { + _smith: _c, + _sE: 403, + _aQE: MappingProxyType( + { + "code": "OutboundWebIdentityFederationDisabledException", + "httpResponseCode": 403, + } + ), + }, + (_me,), + ((OUTBOUND_WEB_IDENTITY_FEDERATION_DISABLED_EXCEPTION2, 0),), +) + +SESSION_DURATION_ESCALATION_EXCEPTION2: StaticSchema = (3, n0, _SDEE, 0) + +SESSION_DURATION_ESCALATION_EXCEPTION: StaticSchema = ( + 18, + n0, + _SDEEe, + { + _smith: _c, + _sE: 403, + _aQE: MappingProxyType( + {"code": "SessionDurationEscalationException", "httpResponseCode": 403} + ), + }, + (_me,), + ((SESSION_DURATION_ESCALATION_EXCEPTION2, 0),), +) + +AWS_SECURITY_TOKEN_SERVICE_V20110615: StaticSchema = ( + 21, + n0, + _AWSSTSV, + { + _aw: MappingProxyType({"name": "sts"}), + _aws: MappingProxyType({"name": "sts"}), + _aQ: None, + _awsa: MappingProxyType( + { + "sdkId": "STS", + "arnNamespace": "sts", + "cloudFormationName": "STS", + "cloudTrailEventSource": "sts.amazonaws.com", + "endpointPrefix": "sts", + } + ), + _sN: MappingProxyType({"uri": "https://sts.amazonaws.com/doc/2011-06-15/"}), + }, +) diff --git a/clients/aws-sdk-sts/src/aws_sdk_sts/aio/client.py b/clients/aws-sdk-sts/src/aws_sdk_sts/aio/client.py index 2a2a595d1..1a0fe3452 100644 --- a/clients/aws-sdk-sts/src/aws_sdk_sts/aio/client.py +++ b/clients/aws-sdk-sts/src/aws_sdk_sts/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_http.aio.interfaces import AsyncHTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-sts/src/aws_sdk_sts/aio/config.py b/clients/aws-sdk-sts/src/aws_sdk_sts/aio/config.py index 3b5a9bfd0..e822f6d5c 100644 --- a/clients/aws-sdk-sts/src/aws_sdk_sts/aio/config.py +++ b/clients/aws-sdk-sts/src/aws_sdk_sts/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -25,7 +25,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme diff --git a/clients/aws-sdk-sts/src/aws_sdk_sts/client.py b/clients/aws-sdk-sts/src/aws_sdk_sts/client.py index ecb354eac..734c56d53 100644 --- a/clients/aws-sdk-sts/src/aws_sdk_sts/client.py +++ b/clients/aws-sdk-sts/src/aws_sdk_sts/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-sts/src/aws_sdk_sts/config.py b/clients/aws-sdk-sts/src/aws_sdk_sts/config.py index 84a1374a1..395274b25 100644 --- a/clients/aws-sdk-sts/src/aws_sdk_sts/config.py +++ b/clients/aws-sdk-sts/src/aws_sdk_sts/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import AwsQueryClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-sts/tests/test_endpoints.py b/clients/aws-sdk-sts/tests/test_endpoints.py index ba2959979..66e24418c 100644 --- a/clients/aws-sdk-sts/tests/test_endpoints.py +++ b/clients/aws-sdk-sts/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/clients/aws-sdk-transcribe-streaming/pyproject.toml b/clients/aws-sdk-transcribe-streaming/pyproject.toml index ed8b3cfee..72dc243fc 100644 --- a/clients/aws-sdk-transcribe-streaming/pyproject.toml +++ b/clients/aws-sdk-transcribe-streaming/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "aws_sdk_transcribe_streaming" version = "0.12.0" -description = "aws_sdk_transcribe_streaming client" +description = "Python client for Amazon Transcribe Streaming Service" readme = "README.md" requires-python = ">=3.12" keywords = ["smithy", "aws_sdk_transcribe_streaming"] @@ -24,22 +24,22 @@ classifiers = [ ] dependencies = [ - "smithy_aws_core[eventstream, json]~=0.13.0", - "smithy_core~=0.10.0", - "smithy_http[aiohttp, urllib3]~=0.7.0" + "smithy_aws_core[eventstream, json]~=0.14.0", + "smithy_core~=0.11.0", + "smithy_http[aiohttp, urllib3]~=0.8.0" ] [project.optional-dependencies] awscrt = [ - "smithy_http[awscrt]~=0.7.0" + "smithy_http[awscrt]~=0.8.0" ] [dependency-groups] test = [ "boto3", - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", - "smithy_test~=0.2.0", + "smithy_test~=0.3.0", "types-boto3-lite[iam,s3,sts]", ] diff --git a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas.py b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas.py index 813722507..4ac2465ef 100644 --- a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas.py +++ b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas.py @@ -1,2183 +1,175 @@ # Code generated by smithy-python-codegen DO NOT EDIT. -from types import MappingProxyType - -from smithy_core._schema_compact import StaticOperationSchema, StaticSchema - - -n0 = "com.amazonaws.transcribestreaming" -_S = "String" -_C = "Confidence" -_D = "Double" -_s = "smithy.api#default" -_E = "Entity" -_ST = "StartTime" -_ET = "EndTime" -_Ca = "Category" -_T = "Type" -_Co = "Content" -_EL = "EntityList" -_m = "member" -_St = "Stable" -_IT = "ItemType" -_PRONUNCIATION = "PRONUNCIATION" -_sV = "smithy.api#enumValue" -_p = "pronunciation" -_PUNCTUATION = "PUNCTUATION" -_pu = "punctuation" -_B = "Boolean" -_I = "Item" -_VFM = "VocabularyFilterMatch" -_Sp = "Speaker" -_IL = "ItemList" -_A = "Alternative" -_Tr = "Transcript" -_It = "Items" -_En = "Entities" -_AL = "AlternativeList" -_AC = "AudioChunk" -_AE = "AudioEvent" -_sP = "smithy.api#eventPayload" -_CI = "ChannelId" -_PR = "ParticipantRole" -_AGENT = "AGENT" -_CUSTOMER = "CUSTOMER" -_CD = "ChannelDefinition" -_sm = "smithy.api#required" -_CDh = "ChannelDefinitions" -_CRO = "ContentRedactionOutput" -_REDACTED = "REDACTED" -_r = "redacted" -_RAU = "REDACTED_AND_UNREDACTED" -_rau = "redacted_and_unredacted" -_PCAS = "PostCallAnalyticsSettings" -_OL = "OutputLocation" -_DARA = "DataAccessRoleArn" -_OEKMSKI = "OutputEncryptionKMSKeyId" -_CE = "ConfigurationEvent" -_AS = "AudioStream" -_smi = "smithy.api#streaming" -_BRE = "BadRequestException" -_smit = "smithy.api#error" -_c = "client" -_sE = "smithy.api#httpError" -_M = "Message" -_BN = "BucketName" -_L = "Long" -_CAE = "CallAnalyticsEntity" -_BOM = "BeginOffsetMillis" -_EOM = "EndOffsetMillis" -_CAEL = "CallAnalyticsEntityList" -_CAI = "CallAnalyticsItem" -_CAIL = "CallAnalyticsItemList" -_CALC = "CallAnalyticsLanguageCode" -_EU = "EN_US" -_eU = "en-US" -_EG = "EN_GB" -_eG = "en-GB" -_EU_ = "ES_US" -_eU_ = "es-US" -_FC = "FR_CA" -_fC = "fr-CA" -_FF = "FR_FR" -_fF = "fr-FR" -_EA = "EN_AU" -_eA = "en-AU" -_II = "IT_IT" -_iI = "it-IT" -_DD = "DE_DE" -_dD = "de-DE" -_PB = "PT_BR" -_pB = "pt-BR" -_CALWS = "CallAnalyticsLanguageWithScore" -_LC = "LanguageCode" -_Sc = "Score" -_CALI = "CallAnalyticsLanguageIdentification" -_SL = "StringList" -_TR = "TimestampRange" -_TRi = "TimestampRanges" -_POI = "PointsOfInterest" -_MCD = "MatchedCategoryDetails" -_k = "key" -_v = "value" -_CEa = "CategoryEvent" -_MC = "MatchedCategories" -_MD = "MatchedDetails" -_CEo = "ConflictException" -_IFE = "InternalFailureException" -_se = "server" -_LEE = "LimitExceededException" -_SUE = "ServiceUnavailableException" -_In = "Integer" -_CO = "CharacterOffsets" -_Be = "Begin" -_End = "End" -_ID = "IssueDetected" -_IDs = "IssuesDetected" -_Se = "Sentiment" -_POSITIVE = "POSITIVE" -_NEGATIVE = "NEGATIVE" -_MIXED = "MIXED" -_NEUTRAL = "NEUTRAL" -_UE = "UtteranceEvent" -_UI = "UtteranceId" -_IP = "IsPartial" -_LI = "LanguageIdentification" -_CATRS = "CallAnalyticsTranscriptResultStream" -_U = "Uri" -_CNGS = "ClinicalNoteGenerationStatus" -_IP_ = "IN_PROGRESS" -_FAILED = "FAILED" -_COMPLETED = "COMPLETED" -_CNGR = "ClinicalNoteGenerationResult" -_CNOL = "ClinicalNoteOutputLocation" -_TOL = "TranscriptOutputLocation" -_Sta = "Status" -_FR = "FailureReason" -_MSNT = "MedicalScribeNoteTemplate" -_HAP = "HISTORY_AND_PHYSICAL" -_GIRPP = "GIRPP" -_DAP = "DAP" -_SIRP = "SIRP" -_BIRP = "BIRP" -_BS = "BEHAVIORAL_SOAP" -_PS = "PHYSICAL_SOAP" -_CNGSl = "ClinicalNoteGenerationSettings" -_OBN = "OutputBucketName" -_NT = "NoteTemplate" -_CIT = "ContentIdentificationType" -_PII = "PII" -_CRT = "ContentRedactionType" -_DT = "DateTime" -_SI = "SessionId" -_GMSSI = "GetMedicalScribeStreamInput" -_sSI = "smithy.synthetic#originalShapeId" -_cGMSSR = "com.amazonaws.transcribestreaming#GetMedicalScribeStreamRequest" -_smith = "smithy.api#input" -_sL = "smithy.api#httpLabel" -_MSCI = "MedicalScribeChannelId" -_MSPR = "MedicalScribeParticipantRole" -_PATIENT = "PATIENT" -_CLINICIAN = "CLINICIAN" -_MSCD = "MedicalScribeChannelDefinition" -_MSCDe = "MedicalScribeChannelDefinitions" -_NES = "NonEmptyString" -_KMSECM = "KMSEncryptionContextMap" -_KMSKI = "KMSKeyId" -_MSES = "MedicalScribeEncryptionSettings" -_KEC = "KmsEncryptionContext" -_KKI = "KmsKeyId" -_MSLC = "MedicalScribeLanguageCode" -_MSME = "MedicalScribeMediaEncoding" -_PCM = "PCM" -_pc = "pcm" -_OO = "OGG_OPUS" -_oo = "ogg-opus" -_FLAC = "FLAC" -_f = "flac" -_MSMSRH = "MedicalScribeMediaSampleRateHertz" -_NB = "NullableBoolean" -_MSPSAR = "MedicalScribePostStreamAnalyticsResult" -_MSPSAS = "MedicalScribePostStreamAnalyticsSettings" -_IRA = "IamRoleArn" -_MSSS = "MedicalScribeStreamStatus" -_PAUSED = "PAUSED" -_MSVFM = "MedicalScribeVocabularyFilterMethod" -_REMOVE = "REMOVE" -_re = "remove" -_MASK = "MASK" -_ma = "mask" -_TAG = "TAG" -_t = "tag" -_VFN = "VocabularyFilterName" -_VN = "VocabularyName" -_MSSD = "MedicalScribeStreamDetails" -_SCA = "StreamCreatedAt" -_SEA = "StreamEndedAt" -_MSRH = "MediaSampleRateHertz" -_ME = "MediaEncoding" -_VFMo = "VocabularyFilterMethod" -_RARA = "ResourceAccessRoleArn" -_ES = "EncryptionSettings" -_SS = "StreamStatus" -_PSAS = "PostStreamAnalyticsSettings" -_PSAR = "PostStreamAnalyticsResult" -_MSCP = "MedicalScribeContextProvided" -_GMSSO = "GetMedicalScribeStreamOutput" -_cGMSSRo = "com.amazonaws.transcribestreaming#GetMedicalScribeStreamResponse" -_smithy = "smithy.api#output" -_RNFE = "ResourceNotFoundException" -_GMSS = "GetMedicalScribeStream" -_smithya = "smithy.api#http" -_JJ = "JA_JP" -_jJ = "ja-JP" -_KK = "KO_KR" -_kK = "ko-KR" -_ZC = "ZH_CN" -_zC = "zh-CN" -_TT = "TH_TH" -_tT = "th-TH" -_EE = "ES_ES" -_eE = "es-ES" -_AS_ = "AR_SA" -_aS = "ar-SA" -_PP = "PT_PT" -_pP = "pt-PT" -_CE_ = "CA_ES" -_cE = "ca-ES" -_AA = "AR_AE" -_aA = "ar-AE" -_HI = "HI_IN" -_hI = "hi-IN" -_ZH = "ZH_HK" -_zH = "zh-HK" -_NN = "NL_NL" -_nN = "nl-NL" -_NN_ = "NO_NO" -_nN_ = "no-NO" -_SS_ = "SV_SE" -_sS = "sv-SE" -_PP_ = "PL_PL" -_pP_ = "pl-PL" -_FF_ = "FI_FI" -_fF_ = "fi-FI" -_ZT = "ZH_TW" -_zT = "zh-TW" -_EI = "EN_IN" -_eI = "en-IN" -_EI_ = "EN_IE" -_eI_ = "en-IE" -_EN = "EN_NZ" -_eN = "en-NZ" -_EA_ = "EN_AB" -_eA_ = "en-AB" -_EZ = "EN_ZA" -_eZ = "en-ZA" -_EW = "EN_WL" -_eW = "en-WL" -_DC = "DE_CH" -_dC = "de-CH" -_AZ = "AF_ZA" -_aZ = "af-ZA" -_EE_ = "EU_ES" -_eE_ = "eu-ES" -_HH = "HR_HR" -_hH = "hr-HR" -_CC = "CS_CZ" -_cC = "cs-CZ" -_DD_ = "DA_DK" -_dD_ = "da-DK" -_FI = "FA_IR" -_fI = "fa-IR" -_GE = "GL_ES" -_gE = "gl-ES" -_EG_ = "EL_GR" -_eG_ = "el-GR" -_HI_ = "HE_IL" -_hI_ = "he-IL" -_II_ = "ID_ID" -_iI_ = "id-ID" -_LL = "LV_LV" -_lL = "lv-LV" -_MM = "MS_MY" -_mM = "ms-MY" -_RR = "RO_RO" -_rR = "ro-RO" -_RR_ = "RU_RU" -_rR_ = "ru-RU" -_SR = "SR_RS" -_sR = "sr-RS" -_SS__ = "SK_SK" -_sS_ = "sk-SK" -_SS___ = "SO_SO" -_sS__ = "so-SO" -_TP = "TL_PH" -_tP = "tl-PH" -_UU = "UK_UA" -_uU = "uk-UA" -_VV = "VI_VN" -_vV = "vi-VN" -_ZZ = "ZU_ZA" -_zZ = "zu-ZA" -_AE_ = "AM_ET" -_aE = "am-ET" -_BB = "BE_BY" -_bB = "be-BY" -_BB_ = "BG_BG" -_bB_ = "bg-BG" -_BI = "BN_IN" -_bI = "bn-IN" -_BB__ = "BS_BA" -_bB__ = "bs-BA" -_CI_ = "CKB_IQ" -_cI = "ckb-IQ" -_CI__ = "CKB_IR" -_cI_ = "ckb-IR" -_CW = "CY_WL" -_cW = "cy-WL" -_EM = "ES_MX" -_eM = "es-MX" -_EE__ = "ET_ET" -_eE__ = "et-ET" -_FA = "FA_AF" -_fA = "fa-AF" -_GI = "GU_IN" -_gI = "gu-IN" -_HH_ = "HT_HT" -_hH_ = "ht-HT" -_HH__ = "HU_HU" -_hH__ = "hu-HU" -_HA = "HY_AM" -_hA = "hy-AM" -_II__ = "IS_IS" -_iI__ = "is-IS" -_JI = "JV_ID" -_jI = "jv-ID" -_KG = "KA_GE" -_kG = "ka-GE" -_KD = "KAB_DZ" -_kD = "kab-DZ" -_KK_ = "KK_KZ" -_kK_ = "kk-KZ" -_KK__ = "KM_KH" -_kK__ = "km-KH" -_KI = "KN_IN" -_kI = "kn-IN" -_LI_ = "LG_IN" -_lI = "lg-IN" -_LL_ = "LT_LT" -_lL_ = "lt-LT" -_MM_ = "MK_MK" -_mM_ = "mk-MK" -_MI = "ML_IN" -_mI = "ml-IN" -_MI_ = "MR_IN" -_mI_ = "mr-IN" -_MM__ = "MY_MM" -_mM__ = "my-MM" -_NN__ = "NE_NP" -_nN__ = "ne-NP" -_OI = "OR_IN" -_oI = "or-IN" -_PI = "PA_IN" -_pI = "pa-IN" -_PA = "PS_AF" -_pA = "ps-AF" -_SL_ = "SI_LK" -_sL_ = "si-LK" -_SS____ = "SL_SI" -_sS___ = "sl-SI" -_SA = "SQ_AL" -_sA = "sq-AL" -_SI_ = "SU_ID" -_sI = "su-ID" -_SB = "SW_BI" -_sB = "sw-BI" -_SK = "SW_KE" -_sK = "sw-KE" -_SR_ = "SW_RW" -_sR_ = "sw-RW" -_ST_ = "SW_TZ" -_sT = "sw-TZ" -_SU = "SW_UG" -_sU = "sw-UG" -_TI = "TA_IN" -_tI = "ta-IN" -_TI_ = "TE_IN" -_tI_ = "te-IN" -_TT_ = "TR_TR" -_tT_ = "tr-TR" -_UU_ = "UZ_UZ" -_uU_ = "uz-UZ" -_LWS = "LanguageWithScore" -_LO = "LanguageOptions" -_GA = "G711_ALAW" -_ga = "g711-alaw" -_GU = "G711_ULAW" -_gu = "g711-ulaw" -_G = "G729" -_g = "g729" -_MEe = "MedicalEntity" -_MEL = "MedicalEntityList" -_MIe = "MedicalItem" -_MIL = "MedicalItemList" -_MA = "MedicalAlternative" -_MAL = "MedicalAlternativeList" -_MCIT = "MedicalContentIdentificationType" -_PHI = "PHI" -_MR = "MedicalResult" -_RI = "ResultId" -_Al = "Alternatives" -_MRL = "MedicalResultList" -_MSAE = "MedicalScribeAudioEvent" -_P = "Pronouns" -_smithyap = "smithy.api#sensitive" -_HH___ = "HE_HIM" -_SH = "SHE_HER" -_TT__ = "THEY_THEM" -_MSPC = "MedicalScribePatientContext" -_MSC = "MedicalScribeContext" -_PC = "PatientContext" -_MSCE = "MedicalScribeConfigurationEvent" -_MSSCET = "MedicalScribeSessionControlEventType" -_EOS = "END_OF_SESSION" -_MSSCE = "MedicalScribeSessionControlEvent" -_MSIS = "MedicalScribeInputStream" -_SCE = "SessionControlEvent" -_MSTIT = "MedicalScribeTranscriptItemType" -_MSTI = "MedicalScribeTranscriptItem" -_BAT = "BeginAudioTime" -_EAT = "EndAudioTime" -_MSTIL = "MedicalScribeTranscriptItemList" -_MSTS = "MedicalScribeTranscriptSegment" -_SIe = "SegmentId" -_MSTE = "MedicalScribeTranscriptEvent" -_TS = "TranscriptSegment" -_MSRS = "MedicalScribeResultStream" -_TE = "TranscriptEvent" -_MT = "MedicalTranscript" -_R = "Results" -_MTE = "MedicalTranscriptEvent" -_MTRS = "MedicalTranscriptResultStream" -_MN = "ModelName" -_NOC = "NumberOfChannels" -_PRS = "PartialResultsStability" -_HIGH = "HIGH" -_h = "high" -_MEDIUM = "MEDIUM" -_me = "medium" -_LOW = "LOW" -_l = "low" -_PET = "PiiEntityTypes" -_RIe = "RequestId" -_Re = "Result" -_RL = "ResultList" -_SRW = "SessionResumeWindow" -_Spe = "Specialty" -_PRIMARYCARE = "PRIMARYCARE" -_CARDIOLOGY = "CARDIOLOGY" -_NEUROLOGY = "NEUROLOGY" -_ONCOLOGY = "ONCOLOGY" -_RADIOLOGY = "RADIOLOGY" -_UROLOGY = "UROLOGY" -_VFNo = "VocabularyFilterNames" -_VNo = "VocabularyNames" -_SCASTI = "StartCallAnalyticsStreamTranscriptionInput" -_cSCASTR = ( - "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscriptionRequest" -) -_sH = "smithy.api#httpHeader" -_xatlc = "x-amzn-transcribe-language-code" -_xatsr = "x-amzn-transcribe-sample-rate" -_xatme = "x-amzn-transcribe-media-encoding" -_xatvn = "x-amzn-transcribe-vocabulary-name" -_xatsi = "x-amzn-transcribe-session-id" -_sPm = "smithy.api#httpPayload" -_xatvfn = "x-amzn-transcribe-vocabulary-filter-name" -_xatvfm = "x-amzn-transcribe-vocabulary-filter-method" -_LMN = "LanguageModelName" -_xatlmn = "x-amzn-transcribe-language-model-name" -_ILd = "IdentifyLanguage" -_xatil = "x-amzn-transcribe-identify-language" -_xatlo = "x-amzn-transcribe-language-options" -_PL = "PreferredLanguage" -_xatpl = "x-amzn-transcribe-preferred-language" -_xatvn_ = "x-amzn-transcribe-vocabulary-names" -_xatvfn_ = "x-amzn-transcribe-vocabulary-filter-names" -_EPRS = "EnablePartialResultsStabilization" -_xateprs = "x-amzn-transcribe-enable-partial-results-stabilization" -_xatprs = "x-amzn-transcribe-partial-results-stability" -_xatcit = "x-amzn-transcribe-content-identification-type" -_xatcrt = "x-amzn-transcribe-content-redaction-type" -_xatpet = "x-amzn-transcribe-pii-entity-types" -_SCASTO = "StartCallAnalyticsStreamTranscriptionOutput" -_cSCASTRo = ( - "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscriptionResponse" -) -_xari = "x-amzn-request-id" -_SCAST = "StartCallAnalyticsStreamTranscription" -_SMSSI = "StartMedicalScribeStreamInput" -_cSMSSR = "com.amazonaws.transcribestreaming#StartMedicalScribeStreamRequest" -_IS = "InputStream" -_SMSSO = "StartMedicalScribeStreamOutput" -_cSMSSRo = "com.amazonaws.transcribestreaming#StartMedicalScribeStreamResponse" -_RS = "ResultStream" -_SMSS = "StartMedicalScribeStream" -_CONVERSATION = "CONVERSATION" -_DICTATION = "DICTATION" -_SMSTI = "StartMedicalStreamTranscriptionInput" -_cSMSTR = "com.amazonaws.transcribestreaming#StartMedicalStreamTranscriptionRequest" -_xats = "x-amzn-transcribe-specialty" -_xatt = "x-amzn-transcribe-type" -_SSL = "ShowSpeakerLabel" -_xatssl = "x-amzn-transcribe-show-speaker-label" -_ECI = "EnableChannelIdentification" -_xateci = "x-amzn-transcribe-enable-channel-identification" -_xatnoc = "x-amzn-transcribe-number-of-channels" -_SMSTO = "StartMedicalStreamTranscriptionOutput" -_cSMSTRo = "com.amazonaws.transcribestreaming#StartMedicalStreamTranscriptionResponse" -_TRS = "TranscriptResultStream" -_SMST = "StartMedicalStreamTranscription" -_TF = "TranscriptFormat" -_SPOKEN = "SPOKEN" -_sp = "spoken" -_WRITTEN = "WRITTEN" -_w = "written" -_SSTI = "StartStreamTranscriptionInput" -_cSSTR = "com.amazonaws.transcribestreaming#StartStreamTranscriptionRequest" -_IML = "IdentifyMultipleLanguages" -_xatiml = "x-amzn-transcribe-identify-multiple-languages" -_xatsrw = "x-amzn-transcribe-session-resume-window" -_xattf = "x-amzn-transcribe-transcript-format" -_SSTO = "StartStreamTranscriptionOutput" -_cSSTRo = "com.amazonaws.transcribestreaming#StartStreamTranscriptionResponse" -_SST = "StartStreamTranscription" -_Tra = "Transcribe" -_a = "aws.auth#sigv4" -_aw = "aws.api#service" -_aJ = "aws.protocols#restJson1" - -STRING: StaticSchema = (3, n0, _S, 0) - -CONFIDENCE: StaticSchema = (10, n0, _C, 0) - -DOUBLE: StaticSchema = (10, n0, _D, {_s: 0}) - -ENTITY: StaticSchema = ( - 18, - n0, - _E, - 0, - (_ST, _ET, _Ca, _T, _Co, _C), - ( - (DOUBLE, {_s: 0}), - (DOUBLE, {_s: 0}), - (STRING, 0), - (STRING, 0), - (STRING, 0), - (CONFIDENCE, 0), - ), -) - -ENTITY_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((ENTITY, 0),)) - -STABLE: StaticSchema = (2, n0, _St, 0) - -ITEM_TYPE: StaticSchema = ( - 14, - n0, - _IT, - 0, - (_PRONUNCIATION, _PUNCTUATION), - ((-1, {_sV: _p}), (-1, {_sV: _pu})), -) - -BOOLEAN: StaticSchema = (2, n0, _B, {_s: False}) - -ITEM: StaticSchema = ( - 18, - n0, - _I, - 0, - (_ST, _ET, _T, _Co, _VFM, _Sp, _C, _St), - ( - (DOUBLE, {_s: 0}), - (DOUBLE, {_s: 0}), - (ITEM_TYPE, 0), - (STRING, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - (CONFIDENCE, 0), - (STABLE, 0), - ), -) - -ITEM_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((ITEM, 0),)) - -ALTERNATIVE: StaticSchema = ( - 18, - n0, - _A, - 0, - (_Tr, _It, _En), - ((STRING, 0), (ITEM_LIST, 0), (ENTITY_LIST, 0)), -) - -ALTERNATIVE_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((ALTERNATIVE, 0),)) - -AUDIO_CHUNK: StaticSchema = (1, n0, _AC, 0) - -AUDIO_EVENT: StaticSchema = (18, n0, _AE, 0, (_AC,), ((AUDIO_CHUNK, {_sP: None}),)) - -CHANNEL_ID: StaticSchema = (7, n0, _CI, {_s: 0}) - -PARTICIPANT_ROLE: StaticSchema = ( - 14, - n0, - _PR, - 0, - (_AGENT, _CUSTOMER), - ((-1, {_sV: _AGENT}), (-1, {_sV: _CUSTOMER})), -) - -CHANNEL_DEFINITION: StaticSchema = ( - 18, - n0, - _CD, - 0, - (_CI, _PR), - ((CHANNEL_ID, {_s: 0, _sm: None}), (PARTICIPANT_ROLE, 1)), -) - -CHANNEL_DEFINITIONS: StaticSchema = (16, n0, _CDh, 0, (_m,), ((CHANNEL_DEFINITION, 0),)) - -CONTENT_REDACTION_OUTPUT: StaticSchema = ( - 14, - n0, - _CRO, - 0, - (_REDACTED, _RAU), - ((-1, {_sV: _r}), (-1, {_sV: _rau})), -) - -POST_CALL_ANALYTICS_SETTINGS: StaticSchema = ( - 18, - n0, - _PCAS, - 0, - (_OL, _DARA, _CRO, _OEKMSKI), - ((STRING, 1), (STRING, 1), (CONTENT_REDACTION_OUTPUT, 0), (STRING, 0)), -) - -CONFIGURATION_EVENT: StaticSchema = ( - 18, - n0, - _CE, - 0, - (_CDh, _PCAS), - ((CHANNEL_DEFINITIONS, 0), (POST_CALL_ANALYTICS_SETTINGS, 0)), -) - -AUDIO_STREAM: StaticSchema = ( - 19, - n0, - _AS, - {_smi: None}, - (_AE, _CE), - ((AUDIO_EVENT, 0), (CONFIGURATION_EVENT, 0)), -) - -BAD_REQUEST_EXCEPTION: StaticSchema = ( - 18, - n0, - _BRE, - {_smit: _c, _sE: 400}, - (_M,), - ((STRING, 0),), -) - -BUCKET_NAME: StaticSchema = (3, n0, _BN, 0) - -LONG: StaticSchema = (8, n0, _L, 0) - -CALL_ANALYTICS_ENTITY: StaticSchema = ( - 18, - n0, - _CAE, - 0, - (_BOM, _EOM, _Ca, _T, _Co, _C), - ((LONG, 0), (LONG, 0), (STRING, 0), (STRING, 0), (STRING, 0), (CONFIDENCE, 0)), -) - -CALL_ANALYTICS_ENTITY_LIST: StaticSchema = ( - 16, - n0, - _CAEL, - 0, - (_m,), - ((CALL_ANALYTICS_ENTITY, 0),), -) - -CALL_ANALYTICS_ITEM: StaticSchema = ( - 18, - n0, - _CAI, - 0, - (_BOM, _EOM, _T, _Co, _C, _VFM, _St), - ( - (LONG, 0), - (LONG, 0), - (ITEM_TYPE, 0), - (STRING, 0), - (CONFIDENCE, 0), - (BOOLEAN, {_s: False}), - (STABLE, 0), - ), -) - -CALL_ANALYTICS_ITEM_LIST: StaticSchema = ( - 16, - n0, - _CAIL, - 0, - (_m,), - ((CALL_ANALYTICS_ITEM, 0),), -) - -CALL_ANALYTICS_LANGUAGE_CODE: StaticSchema = ( - 14, - n0, - _CALC, - 0, - (_EU, _EG, _EU_, _FC, _FF, _EA, _II, _DD, _PB), - ( - (-1, {_sV: _eU}), - (-1, {_sV: _eG}), - (-1, {_sV: _eU_}), - (-1, {_sV: _fC}), - (-1, {_sV: _fF}), - (-1, {_sV: _eA}), - (-1, {_sV: _iI}), - (-1, {_sV: _dD}), - (-1, {_sV: _pB}), - ), -) - -CALL_ANALYTICS_LANGUAGE_WITH_SCORE: StaticSchema = ( - 18, - n0, - _CALWS, - 0, - (_LC, _Sc), - ((CALL_ANALYTICS_LANGUAGE_CODE, 0), (DOUBLE, {_s: 0})), -) - -CALL_ANALYTICS_LANGUAGE_IDENTIFICATION: StaticSchema = ( - 16, - n0, - _CALI, - 0, - (_m,), - ((CALL_ANALYTICS_LANGUAGE_WITH_SCORE, 0),), -) - -STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_m,), ((STRING, 0),)) - -TIMESTAMP_RANGE: StaticSchema = (18, n0, _TR, 0, (_BOM, _EOM), ((LONG, 0), (LONG, 0))) - -TIMESTAMP_RANGES: StaticSchema = (16, n0, _TRi, 0, (_m,), ((TIMESTAMP_RANGE, 0),)) - -POINTS_OF_INTEREST: StaticSchema = (18, n0, _POI, 0, (_TRi,), ((TIMESTAMP_RANGES, 0),)) - -MATCHED_CATEGORY_DETAILS: StaticSchema = ( - 17, - n0, - _MCD, - 0, - (_k, _v), - ((STRING, 0), (POINTS_OF_INTEREST, 0)), -) - -CATEGORY_EVENT: StaticSchema = ( - 18, - n0, - _CEa, - 0, - (_MC, _MD), - ((STRING_LIST, 0), (MATCHED_CATEGORY_DETAILS, 0)), -) - -CONFLICT_EXCEPTION: StaticSchema = ( - 18, - n0, - _CEo, - {_smit: _c, _sE: 409}, - (_M,), - ((STRING, 0),), -) - -INTERNAL_FAILURE_EXCEPTION: StaticSchema = ( - 18, - n0, - _IFE, - {_smit: _se, _sE: 500}, - (_M,), - ((STRING, 0),), -) - -LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( - 18, - n0, - _LEE, - {_smit: _c, _sE: 429}, - (_M,), - ((STRING, 0),), -) - -SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( - 18, - n0, - _SUE, - {_smit: _se, _sE: 503}, - (_M,), - ((STRING, 0),), -) - -INTEGER: StaticSchema = (7, n0, _In, 0) - -CHARACTER_OFFSETS: StaticSchema = ( - 18, - n0, - _CO, - 0, - (_Be, _End), - ((INTEGER, 0), (INTEGER, 0)), -) - -ISSUE_DETECTED: StaticSchema = (18, n0, _ID, 0, (_CO,), ((CHARACTER_OFFSETS, 0),)) - -ISSUES_DETECTED: StaticSchema = (16, n0, _IDs, 0, (_m,), ((ISSUE_DETECTED, 0),)) - -SENTIMENT: StaticSchema = ( - 14, - n0, - _Se, - 0, - (_POSITIVE, _NEGATIVE, _MIXED, _NEUTRAL), - ( - (-1, {_sV: _POSITIVE}), - (-1, {_sV: _NEGATIVE}), - (-1, {_sV: _MIXED}), - (-1, {_sV: _NEUTRAL}), - ), -) - -UTTERANCE_EVENT: StaticSchema = ( - 18, - n0, - _UE, - 0, - (_UI, _IP, _PR, _BOM, _EOM, _Tr, _It, _En, _Se, _IDs, _LC, _LI), - ( - (STRING, 0), - (BOOLEAN, {_s: False}), - (PARTICIPANT_ROLE, 0), - (LONG, 0), - (LONG, 0), - (STRING, 0), - (CALL_ANALYTICS_ITEM_LIST, 0), - (CALL_ANALYTICS_ENTITY_LIST, 0), - (SENTIMENT, 0), - (ISSUES_DETECTED, 0), - (CALL_ANALYTICS_LANGUAGE_CODE, 0), - (CALL_ANALYTICS_LANGUAGE_IDENTIFICATION, 0), - ), -) - -CALL_ANALYTICS_TRANSCRIPT_RESULT_STREAM: StaticSchema = ( - 19, - n0, - _CATRS, - {_smi: None}, - (_UE, _CEa, _BRE, _LEE, _IFE, _CEo, _SUE), - ( - (UTTERANCE_EVENT, 0), - (CATEGORY_EVENT, 0), - (BAD_REQUEST_EXCEPTION, 0), - (LIMIT_EXCEEDED_EXCEPTION, 0), - (INTERNAL_FAILURE_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (SERVICE_UNAVAILABLE_EXCEPTION, 0), - ), -) - -URI: StaticSchema = (3, n0, _U, 0) - -CLINICAL_NOTE_GENERATION_STATUS: StaticSchema = ( - 14, - n0, - _CNGS, - 0, - (_IP_, _FAILED, _COMPLETED), - ((-1, {_sV: _IP_}), (-1, {_sV: _FAILED}), (-1, {_sV: _COMPLETED})), -) - -CLINICAL_NOTE_GENERATION_RESULT: StaticSchema = ( - 18, - n0, - _CNGR, - 0, - (_CNOL, _TOL, _Sta, _FR), - ((URI, 0), (URI, 0), (CLINICAL_NOTE_GENERATION_STATUS, 0), (STRING, 0)), -) - -MEDICAL_SCRIBE_NOTE_TEMPLATE: StaticSchema = ( - 14, - n0, - _MSNT, - 0, - (_HAP, _GIRPP, _DAP, _SIRP, _BIRP, _BS, _PS), - ( - (-1, {_sV: _HAP}), - (-1, {_sV: _GIRPP}), - (-1, {_sV: _DAP}), - (-1, {_sV: _SIRP}), - (-1, {_sV: _BIRP}), - (-1, {_sV: _BS}), - (-1, {_sV: _PS}), - ), -) - -CLINICAL_NOTE_GENERATION_SETTINGS: StaticSchema = ( - 18, - n0, - _CNGSl, - 0, - (_OBN, _NT), - ((BUCKET_NAME, 1), (MEDICAL_SCRIBE_NOTE_TEMPLATE, 0)), -) - -CONTENT_IDENTIFICATION_TYPE: StaticSchema = ( - 14, - n0, - _CIT, - 0, - (_PII,), - ((-1, {_sV: _PII}),), -) - -CONTENT_REDACTION_TYPE: StaticSchema = (14, n0, _CRT, 0, (_PII,), ((-1, {_sV: _PII}),)) - -DATE_TIME: StaticSchema = (4, n0, _DT, 0) - -SESSION_ID: StaticSchema = (3, n0, _SI, 0) - -GET_MEDICAL_SCRIBE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _GMSSI, - {_sSI: _cGMSSR, _smith: None}, - (_SI,), - ((SESSION_ID, 9),), -) - -MEDICAL_SCRIBE_CHANNEL_ID: StaticSchema = (7, n0, _MSCI, {_s: 0}) - -MEDICAL_SCRIBE_PARTICIPANT_ROLE: StaticSchema = ( - 14, - n0, - _MSPR, - 0, - (_PATIENT, _CLINICIAN), - ((-1, {_sV: _PATIENT}), (-1, {_sV: _CLINICIAN})), -) - -MEDICAL_SCRIBE_CHANNEL_DEFINITION: StaticSchema = ( - 18, - n0, - _MSCD, - 0, - (_CI, _PR), - ( - (MEDICAL_SCRIBE_CHANNEL_ID, {_s: 0, _sm: None}), - (MEDICAL_SCRIBE_PARTICIPANT_ROLE, 1), - ), -) - -MEDICAL_SCRIBE_CHANNEL_DEFINITIONS: StaticSchema = ( - 16, - n0, - _MSCDe, - 0, - (_m,), - ((MEDICAL_SCRIBE_CHANNEL_DEFINITION, 0),), -) - -NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) - -KMS_ENCRYPTION_CONTEXT_MAP: StaticSchema = ( - 17, - n0, - _KMSECM, - 0, - (_k, _v), - ((NON_EMPTY_STRING, 0), (NON_EMPTY_STRING, 0)), -) - -KMS_KEY_ID: StaticSchema = (3, n0, _KMSKI, 0) - -MEDICAL_SCRIBE_ENCRYPTION_SETTINGS: StaticSchema = ( - 18, - n0, - _MSES, - 0, - (_KEC, _KKI), - ((KMS_ENCRYPTION_CONTEXT_MAP, 0), (KMS_KEY_ID, 1)), -) - -MEDICAL_SCRIBE_LANGUAGE_CODE: StaticSchema = ( - 14, - n0, - _MSLC, - 0, - (_EU,), - ((-1, {_sV: _eU}),), -) - -MEDICAL_SCRIBE_MEDIA_ENCODING: StaticSchema = ( - 14, - n0, - _MSME, - 0, - (_PCM, _OO, _FLAC), - ((-1, {_sV: _pc}), (-1, {_sV: _oo}), (-1, {_sV: _f})), -) - -MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ: StaticSchema = (7, n0, _MSMSRH, 0) - -NULLABLE_BOOLEAN: StaticSchema = (2, n0, _NB, 0) - -MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_RESULT: StaticSchema = ( - 18, - n0, - _MSPSAR, - 0, - (_CNGR,), - ((CLINICAL_NOTE_GENERATION_RESULT, 0),), -) - -MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_SETTINGS: StaticSchema = ( - 18, - n0, - _MSPSAS, - 0, - (_CNGSl,), - ((CLINICAL_NOTE_GENERATION_SETTINGS, 1),), -) - -IAM_ROLE_ARN: StaticSchema = (3, n0, _IRA, 0) - -MEDICAL_SCRIBE_STREAM_STATUS: StaticSchema = ( - 14, - n0, - _MSSS, - 0, - (_IP_, _PAUSED, _FAILED, _COMPLETED), - ( - (-1, {_sV: _IP_}), - (-1, {_sV: _PAUSED}), - (-1, {_sV: _FAILED}), - (-1, {_sV: _COMPLETED}), - ), -) - -MEDICAL_SCRIBE_VOCABULARY_FILTER_METHOD: StaticSchema = ( - 14, - n0, - _MSVFM, - 0, - (_REMOVE, _MASK, _TAG), - ((-1, {_sV: _re}), (-1, {_sV: _ma}), (-1, {_sV: _t})), -) - -VOCABULARY_FILTER_NAME: StaticSchema = (3, n0, _VFN, 0) - -VOCABULARY_NAME: StaticSchema = (3, n0, _VN, 0) - -MEDICAL_SCRIBE_STREAM_DETAILS: StaticSchema = ( - 18, - n0, - _MSSD, - 0, - ( - _SI, - _SCA, - _SEA, - _LC, - _MSRH, - _ME, - _VN, - _VFN, - _VFMo, - _RARA, - _CDh, - _ES, - _SS, - _PSAS, - _PSAR, - _MSCP, - ), - ( - (SESSION_ID, 0), - (DATE_TIME, 0), - (DATE_TIME, 0), - (MEDICAL_SCRIBE_LANGUAGE_CODE, 0), - (MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, 0), - (MEDICAL_SCRIBE_MEDIA_ENCODING, 0), - (VOCABULARY_NAME, 0), - (VOCABULARY_FILTER_NAME, 0), - (MEDICAL_SCRIBE_VOCABULARY_FILTER_METHOD, 0), - (IAM_ROLE_ARN, 0), - (MEDICAL_SCRIBE_CHANNEL_DEFINITIONS, 0), - (MEDICAL_SCRIBE_ENCRYPTION_SETTINGS, 0), - (MEDICAL_SCRIBE_STREAM_STATUS, 0), - (MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_SETTINGS, 0), - (MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_RESULT, 0), - (NULLABLE_BOOLEAN, 0), - ), -) - -GET_MEDICAL_SCRIBE_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _GMSSO, - {_sSI: _cGMSSRo, _smithy: None}, - (_MSSD,), - ((MEDICAL_SCRIBE_STREAM_DETAILS, 0),), -) - -RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( - 18, - n0, - _RNFE, - {_smit: _c, _sE: 404}, - (_M,), - ((STRING, 0),), -) - -GET_MEDICAL_SCRIBE_STREAM: StaticOperationSchema = ( - 23, - n0, - _GMSS, - { - _smithya: MappingProxyType( - {"method": "GET", "uri": "/medical-scribe-stream/{SessionId}", "code": 200} - ) - }, - GET_MEDICAL_SCRIBE_STREAM_INPUT, - GET_MEDICAL_SCRIBE_STREAM_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - INTERNAL_FAILURE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - RESOURCE_NOT_FOUND_EXCEPTION, - ), -) - -LANGUAGE_CODE: StaticSchema = ( - 14, - n0, - _LC, - 0, - ( - _EU, - _EG, - _EU_, - _FC, - _FF, - _EA, - _II, - _DD, - _PB, - _JJ, - _KK, - _ZC, - _TT, - _EE, - _AS_, - _PP, - _CE_, - _AA, - _HI, - _ZH, - _NN, - _NN_, - _SS_, - _PP_, - _FF_, - _ZT, - _EI, - _EI_, - _EN, - _EA_, - _EZ, - _EW, - _DC, - _AZ, - _EE_, - _HH, - _CC, - _DD_, - _FI, - _GE, - _EG_, - _HI_, - _II_, - _LL, - _MM, - _RR, - _RR_, - _SR, - _SS__, - _SS___, - _TP, - _UU, - _VV, - _ZZ, - _AE_, - _BB, - _BB_, - _BI, - _BB__, - _CI_, - _CI__, - _CW, - _EM, - _EE__, - _FA, - _GI, - _HH_, - _HH__, - _HA, - _II__, - _JI, - _KG, - _KD, - _KK_, - _KK__, - _KI, - _LI_, - _LL_, - _MM_, - _MI, - _MI_, - _MM__, - _NN__, - _OI, - _PI, - _PA, - _SL_, - _SS____, - _SA, - _SI_, - _SB, - _SK, - _SR_, - _ST_, - _SU, - _TI, - _TI_, - _TT_, - _UU_, - ), - ( - (-1, {_sV: _eU}), - (-1, {_sV: _eG}), - (-1, {_sV: _eU_}), - (-1, {_sV: _fC}), - (-1, {_sV: _fF}), - (-1, {_sV: _eA}), - (-1, {_sV: _iI}), - (-1, {_sV: _dD}), - (-1, {_sV: _pB}), - (-1, {_sV: _jJ}), - (-1, {_sV: _kK}), - (-1, {_sV: _zC}), - (-1, {_sV: _tT}), - (-1, {_sV: _eE}), - (-1, {_sV: _aS}), - (-1, {_sV: _pP}), - (-1, {_sV: _cE}), - (-1, {_sV: _aA}), - (-1, {_sV: _hI}), - (-1, {_sV: _zH}), - (-1, {_sV: _nN}), - (-1, {_sV: _nN_}), - (-1, {_sV: _sS}), - (-1, {_sV: _pP_}), - (-1, {_sV: _fF_}), - (-1, {_sV: _zT}), - (-1, {_sV: _eI}), - (-1, {_sV: _eI_}), - (-1, {_sV: _eN}), - (-1, {_sV: _eA_}), - (-1, {_sV: _eZ}), - (-1, {_sV: _eW}), - (-1, {_sV: _dC}), - (-1, {_sV: _aZ}), - (-1, {_sV: _eE_}), - (-1, {_sV: _hH}), - (-1, {_sV: _cC}), - (-1, {_sV: _dD_}), - (-1, {_sV: _fI}), - (-1, {_sV: _gE}), - (-1, {_sV: _eG_}), - (-1, {_sV: _hI_}), - (-1, {_sV: _iI_}), - (-1, {_sV: _lL}), - (-1, {_sV: _mM}), - (-1, {_sV: _rR}), - (-1, {_sV: _rR_}), - (-1, {_sV: _sR}), - (-1, {_sV: _sS_}), - (-1, {_sV: _sS__}), - (-1, {_sV: _tP}), - (-1, {_sV: _uU}), - (-1, {_sV: _vV}), - (-1, {_sV: _zZ}), - (-1, {_sV: _aE}), - (-1, {_sV: _bB}), - (-1, {_sV: _bB_}), - (-1, {_sV: _bI}), - (-1, {_sV: _bB__}), - (-1, {_sV: _cI}), - (-1, {_sV: _cI_}), - (-1, {_sV: _cW}), - (-1, {_sV: _eM}), - (-1, {_sV: _eE__}), - (-1, {_sV: _fA}), - (-1, {_sV: _gI}), - (-1, {_sV: _hH_}), - (-1, {_sV: _hH__}), - (-1, {_sV: _hA}), - (-1, {_sV: _iI__}), - (-1, {_sV: _jI}), - (-1, {_sV: _kG}), - (-1, {_sV: _kD}), - (-1, {_sV: _kK_}), - (-1, {_sV: _kK__}), - (-1, {_sV: _kI}), - (-1, {_sV: _lI}), - (-1, {_sV: _lL_}), - (-1, {_sV: _mM_}), - (-1, {_sV: _mI}), - (-1, {_sV: _mI_}), - (-1, {_sV: _mM__}), - (-1, {_sV: _nN__}), - (-1, {_sV: _oI}), - (-1, {_sV: _pI}), - (-1, {_sV: _pA}), - (-1, {_sV: _sL_}), - (-1, {_sV: _sS___}), - (-1, {_sV: _sA}), - (-1, {_sV: _sI}), - (-1, {_sV: _sB}), - (-1, {_sV: _sK}), - (-1, {_sV: _sR_}), - (-1, {_sV: _sT}), - (-1, {_sV: _sU}), - (-1, {_sV: _tI}), - (-1, {_sV: _tI_}), - (-1, {_sV: _tT_}), - (-1, {_sV: _uU_}), - ), -) - -LANGUAGE_WITH_SCORE: StaticSchema = ( - 18, - n0, - _LWS, - 0, - (_LC, _Sc), - ((LANGUAGE_CODE, 0), (DOUBLE, {_s: 0})), -) - -LANGUAGE_IDENTIFICATION: StaticSchema = ( - 16, - n0, - _LI, - 0, - (_m,), - ((LANGUAGE_WITH_SCORE, 0),), -) - -LANGUAGE_OPTIONS: StaticSchema = (3, n0, _LO, 0) - -MEDIA_ENCODING: StaticSchema = ( - 14, - n0, - _ME, - 0, - (_PCM, _OO, _FLAC, _GA, _GU, _G), - ( - (-1, {_sV: _pc}), - (-1, {_sV: _oo}), - (-1, {_sV: _f}), - (-1, {_sV: _ga}), - (-1, {_sV: _gu}), - (-1, {_sV: _g}), - ), -) - -MEDIA_SAMPLE_RATE_HERTZ: StaticSchema = (7, n0, _MSRH, 0) - -MEDICAL_ENTITY: StaticSchema = ( - 18, - n0, - _MEe, - 0, - (_ST, _ET, _Ca, _Co, _C), - ((DOUBLE, {_s: 0}), (DOUBLE, {_s: 0}), (STRING, 0), (STRING, 0), (CONFIDENCE, 0)), -) - -MEDICAL_ENTITY_LIST: StaticSchema = (16, n0, _MEL, 0, (_m,), ((MEDICAL_ENTITY, 0),)) - -MEDICAL_ITEM: StaticSchema = ( - 18, - n0, - _MIe, - 0, - (_ST, _ET, _T, _Co, _C, _Sp), - ( - (DOUBLE, {_s: 0}), - (DOUBLE, {_s: 0}), - (ITEM_TYPE, 0), - (STRING, 0), - (CONFIDENCE, 0), - (STRING, 0), - ), -) - -MEDICAL_ITEM_LIST: StaticSchema = (16, n0, _MIL, 0, (_m,), ((MEDICAL_ITEM, 0),)) - -MEDICAL_ALTERNATIVE: StaticSchema = ( - 18, - n0, - _MA, - 0, - (_Tr, _It, _En), - ((STRING, 0), (MEDICAL_ITEM_LIST, 0), (MEDICAL_ENTITY_LIST, 0)), -) - -MEDICAL_ALTERNATIVE_LIST: StaticSchema = ( - 16, - n0, - _MAL, - 0, - (_m,), - ((MEDICAL_ALTERNATIVE, 0),), -) - -MEDICAL_CONTENT_IDENTIFICATION_TYPE: StaticSchema = ( - 14, - n0, - _MCIT, - 0, - (_PHI,), - ((-1, {_sV: _PHI}),), -) - -MEDICAL_RESULT: StaticSchema = ( - 18, - n0, - _MR, - 0, - (_RI, _ST, _ET, _IP, _Al, _CI), - ( - (STRING, 0), - (DOUBLE, {_s: 0}), - (DOUBLE, {_s: 0}), - (BOOLEAN, {_s: False}), - (MEDICAL_ALTERNATIVE_LIST, 0), - (STRING, 0), - ), -) - -MEDICAL_RESULT_LIST: StaticSchema = (16, n0, _MRL, 0, (_m,), ((MEDICAL_RESULT, 0),)) - -MEDICAL_SCRIBE_AUDIO_EVENT: StaticSchema = ( - 18, - n0, - _MSAE, - 0, - (_AC,), - ((AUDIO_CHUNK, {_sP: None, _sm: None}),), -) - -PRONOUNS: StaticSchema = ( - 14, - n0, - _P, - 4, - (_HH___, _SH, _TT__), - ((-1, {_sV: _HH___}), (-1, {_sV: _SH}), (-1, {_sV: _TT__})), -) - -MEDICAL_SCRIBE_PATIENT_CONTEXT: StaticSchema = ( - 18, - n0, - _MSPC, - 0, - (_P,), - ((PRONOUNS, 0),), -) - -MEDICAL_SCRIBE_CONTEXT: StaticSchema = ( - 18, - n0, - _MSC, - 0, - (_PC,), - ((MEDICAL_SCRIBE_PATIENT_CONTEXT, 0),), -) - -MEDICAL_SCRIBE_CONFIGURATION_EVENT: StaticSchema = ( - 18, - n0, - _MSCE, - 0, - (_VN, _VFN, _VFMo, _RARA, _CDh, _ES, _PSAS, _MSC), - ( - (VOCABULARY_NAME, 0), - (VOCABULARY_FILTER_NAME, 0), - (MEDICAL_SCRIBE_VOCABULARY_FILTER_METHOD, 0), - (IAM_ROLE_ARN, 1), - (MEDICAL_SCRIBE_CHANNEL_DEFINITIONS, 0), - (MEDICAL_SCRIBE_ENCRYPTION_SETTINGS, 0), - (MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_SETTINGS, 1), - (MEDICAL_SCRIBE_CONTEXT, 0), - ), -) - -MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE: StaticSchema = ( - 14, - n0, - _MSSCET, - 0, - (_EOS,), - ((-1, {_sV: _EOS}),), -) - -MEDICAL_SCRIBE_SESSION_CONTROL_EVENT: StaticSchema = ( - 18, - n0, - _MSSCE, - 0, - (_T,), - ((MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE, 1),), -) - -MEDICAL_SCRIBE_INPUT_STREAM: StaticSchema = ( - 19, - n0, - _MSIS, - {_smi: None}, - (_AE, _SCE, _CE), - ( - (MEDICAL_SCRIBE_AUDIO_EVENT, 0), - (MEDICAL_SCRIBE_SESSION_CONTROL_EVENT, 0), - (MEDICAL_SCRIBE_CONFIGURATION_EVENT, 0), - ), -) - -MEDICAL_SCRIBE_TRANSCRIPT_ITEM_TYPE: StaticSchema = ( - 14, - n0, - _MSTIT, - 0, - (_PRONUNCIATION, _PUNCTUATION), - ((-1, {_sV: _p}), (-1, {_sV: _pu})), -) - -MEDICAL_SCRIBE_TRANSCRIPT_ITEM: StaticSchema = ( - 18, - n0, - _MSTI, - 0, - (_BAT, _EAT, _T, _C, _Co, _VFM), - ( - (DOUBLE, {_s: 0}), - (DOUBLE, {_s: 0}), - (MEDICAL_SCRIBE_TRANSCRIPT_ITEM_TYPE, 0), - (CONFIDENCE, 0), - (STRING, 0), - (NULLABLE_BOOLEAN, 0), - ), -) - -MEDICAL_SCRIBE_TRANSCRIPT_ITEM_LIST: StaticSchema = ( - 16, - n0, - _MSTIL, - 0, - (_m,), - ((MEDICAL_SCRIBE_TRANSCRIPT_ITEM, 0),), -) - -MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT: StaticSchema = ( - 18, - n0, - _MSTS, - 0, - (_SIe, _BAT, _EAT, _Co, _It, _IP, _CI), - ( - (STRING, 0), - (DOUBLE, {_s: 0}), - (DOUBLE, {_s: 0}), - (STRING, 0), - (MEDICAL_SCRIBE_TRANSCRIPT_ITEM_LIST, 0), - (BOOLEAN, {_s: False}), - (STRING, 0), - ), -) - -MEDICAL_SCRIBE_TRANSCRIPT_EVENT: StaticSchema = ( - 18, - n0, - _MSTE, - 0, - (_TS,), - ((MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT, 0),), -) - -MEDICAL_SCRIBE_RESULT_STREAM: StaticSchema = ( - 19, - n0, - _MSRS, - {_smi: None}, - (_TE, _BRE, _LEE, _IFE, _CEo, _SUE), - ( - (MEDICAL_SCRIBE_TRANSCRIPT_EVENT, 0), - (BAD_REQUEST_EXCEPTION, 0), - (LIMIT_EXCEEDED_EXCEPTION, 0), - (INTERNAL_FAILURE_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (SERVICE_UNAVAILABLE_EXCEPTION, 0), - ), -) - -MEDICAL_TRANSCRIPT: StaticSchema = (18, n0, _MT, 0, (_R,), ((MEDICAL_RESULT_LIST, 0),)) - -MEDICAL_TRANSCRIPT_EVENT: StaticSchema = ( - 18, - n0, - _MTE, - 0, - (_Tr,), - ((MEDICAL_TRANSCRIPT, 0),), -) - -MEDICAL_TRANSCRIPT_RESULT_STREAM: StaticSchema = ( - 19, - n0, - _MTRS, - {_smi: None}, - (_TE, _BRE, _LEE, _IFE, _CEo, _SUE), - ( - (MEDICAL_TRANSCRIPT_EVENT, 0), - (BAD_REQUEST_EXCEPTION, 0), - (LIMIT_EXCEEDED_EXCEPTION, 0), - (INTERNAL_FAILURE_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (SERVICE_UNAVAILABLE_EXCEPTION, 0), - ), -) - -MODEL_NAME: StaticSchema = (3, n0, _MN, 0) - -NUMBER_OF_CHANNELS: StaticSchema = (7, n0, _NOC, 0) - -PARTIAL_RESULTS_STABILITY: StaticSchema = ( - 14, - n0, - _PRS, - 0, - (_HIGH, _MEDIUM, _LOW), - ((-1, {_sV: _h}), (-1, {_sV: _me}), (-1, {_sV: _l})), -) - -PII_ENTITY_TYPES: StaticSchema = (3, n0, _PET, 0) - -REQUEST_ID: StaticSchema = (3, n0, _RIe, 0) - -RESULT: StaticSchema = ( - 18, - n0, - _Re, - 0, - (_RI, _ST, _ET, _IP, _Al, _CI, _LC, _LI), - ( - (STRING, 0), - (DOUBLE, {_s: 0}), - (DOUBLE, {_s: 0}), - (BOOLEAN, {_s: False}), - (ALTERNATIVE_LIST, 0), - (STRING, 0), - (LANGUAGE_CODE, 0), - (LANGUAGE_IDENTIFICATION, 0), - ), -) - -RESULT_LIST: StaticSchema = (16, n0, _RL, 0, (_m,), ((RESULT, 0),)) - -SESSION_RESUME_WINDOW: StaticSchema = (7, n0, _SRW, 0) - -SPECIALTY: StaticSchema = ( - 14, - n0, - _Spe, - 0, - (_PRIMARYCARE, _CARDIOLOGY, _NEUROLOGY, _ONCOLOGY, _RADIOLOGY, _UROLOGY), - ( - (-1, {_sV: _PRIMARYCARE}), - (-1, {_sV: _CARDIOLOGY}), - (-1, {_sV: _NEUROLOGY}), - (-1, {_sV: _ONCOLOGY}), - (-1, {_sV: _RADIOLOGY}), - (-1, {_sV: _UROLOGY}), - ), -) - -VOCABULARY_FILTER_METHOD: StaticSchema = ( - 14, - n0, - _VFMo, - 0, - (_REMOVE, _MASK, _TAG), - ((-1, {_sV: _re}), (-1, {_sV: _ma}), (-1, {_sV: _t})), -) - -VOCABULARY_FILTER_NAMES: StaticSchema = (3, n0, _VFNo, 0) - -VOCABULARY_NAMES: StaticSchema = (3, n0, _VNo, 0) - -START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _SCASTI, - {_sSI: _cSCASTR, _smith: None}, - ( - _LC, - _MSRH, - _ME, - _VN, - _SI, - _AS, - _VFN, - _VFMo, - _LMN, - _ILd, - _LO, - _PL, - _VNo, - _VFNo, - _EPRS, - _PRS, - _CIT, - _CRT, - _PET, - ), - ( - (CALL_ANALYTICS_LANGUAGE_CODE, {_sH: _xatlc}), - (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr, _sm: None}), - (MEDIA_ENCODING, {_sH: _xatme, _sm: None}), - (VOCABULARY_NAME, {_sH: _xatvn}), - (SESSION_ID, {_sH: _xatsi}), - (AUDIO_STREAM, 17), - (VOCABULARY_FILTER_NAME, {_sH: _xatvfn}), - (VOCABULARY_FILTER_METHOD, {_sH: _xatvfm}), - (MODEL_NAME, {_sH: _xatlmn}), - (BOOLEAN, {_s: False, _sH: _xatil}), - (LANGUAGE_OPTIONS, {_sH: _xatlo}), - (CALL_ANALYTICS_LANGUAGE_CODE, {_sH: _xatpl}), - (VOCABULARY_NAMES, {_sH: _xatvn_}), - (VOCABULARY_FILTER_NAMES, {_sH: _xatvfn_}), - (BOOLEAN, {_s: False, _sH: _xateprs}), - (PARTIAL_RESULTS_STABILITY, {_sH: _xatprs}), - (CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), - (CONTENT_REDACTION_TYPE, {_sH: _xatcrt}), - (PII_ENTITY_TYPES, {_sH: _xatpet}), - ), -) - -START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _SCASTO, - {_sSI: _cSCASTRo, _smithy: None}, - ( - _RIe, - _LC, - _MSRH, - _ME, - _VN, - _SI, - _CATRS, - _VFN, - _VFMo, - _LMN, - _ILd, - _LO, - _PL, - _VNo, - _VFNo, - _EPRS, - _PRS, - _CIT, - _CRT, - _PET, - ), - ( - (REQUEST_ID, {_sH: _xari}), - (CALL_ANALYTICS_LANGUAGE_CODE, {_sH: _xatlc}), - (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr}), - (MEDIA_ENCODING, {_sH: _xatme}), - (VOCABULARY_NAME, {_sH: _xatvn}), - (SESSION_ID, {_sH: _xatsi}), - (CALL_ANALYTICS_TRANSCRIPT_RESULT_STREAM, 16), - (VOCABULARY_FILTER_NAME, {_sH: _xatvfn}), - (VOCABULARY_FILTER_METHOD, {_sH: _xatvfm}), - (MODEL_NAME, {_sH: _xatlmn}), - (BOOLEAN, {_s: False, _sH: _xatil}), - (LANGUAGE_OPTIONS, {_sH: _xatlo}), - (CALL_ANALYTICS_LANGUAGE_CODE, {_sH: _xatpl}), - (VOCABULARY_NAMES, {_sH: _xatvn_}), - (VOCABULARY_FILTER_NAMES, {_sH: _xatvfn_}), - (BOOLEAN, {_s: False, _sH: _xateprs}), - (PARTIAL_RESULTS_STABILITY, {_sH: _xatprs}), - (CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), - (CONTENT_REDACTION_TYPE, {_sH: _xatcrt}), - (PII_ENTITY_TYPES, {_sH: _xatpet}), - ), -) - -START_CALL_ANALYTICS_STREAM_TRANSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _SCAST, - { - _smithya: MappingProxyType( - { - "method": "POST", - "uri": "/call-analytics-stream-transcription", - "code": 200, - } - ) - }, - START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_INPUT, - START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_FAILURE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - ), -) - -START_MEDICAL_SCRIBE_STREAM_INPUT: StaticSchema = ( - 18, - n0, - _SMSSI, - {_sSI: _cSMSSR, _smith: None}, - (_SI, _LC, _MSRH, _ME, _IS), - ( - (SESSION_ID, {_sH: _xatsi}), - (MEDICAL_SCRIBE_LANGUAGE_CODE, {_sH: _xatlc, _sm: None}), - (MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr, _sm: None}), - (MEDICAL_SCRIBE_MEDIA_ENCODING, {_sH: _xatme, _sm: None}), - (MEDICAL_SCRIBE_INPUT_STREAM, 17), - ), -) - -START_MEDICAL_SCRIBE_STREAM_OUTPUT: StaticSchema = ( - 18, - n0, - _SMSSO, - {_sSI: _cSMSSRo, _smithy: None}, - (_SI, _RIe, _LC, _MSRH, _ME, _RS), - ( - (SESSION_ID, {_sH: _xatsi}), - (REQUEST_ID, {_sH: _xari}), - (MEDICAL_SCRIBE_LANGUAGE_CODE, {_sH: _xatlc}), - (MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr}), - (MEDICAL_SCRIBE_MEDIA_ENCODING, {_sH: _xatme}), - (MEDICAL_SCRIBE_RESULT_STREAM, 16), - ), -) - -START_MEDICAL_SCRIBE_STREAM: StaticOperationSchema = ( - 23, - n0, - _SMSS, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/medical-scribe-stream", "code": 200} - ) - }, - START_MEDICAL_SCRIBE_STREAM_INPUT, - START_MEDICAL_SCRIBE_STREAM_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_FAILURE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - ), -) - -TYPE: StaticSchema = ( - 14, - n0, - _T, - 0, - (_CONVERSATION, _DICTATION), - ((-1, {_sV: _CONVERSATION}), (-1, {_sV: _DICTATION})), -) - -START_MEDICAL_STREAM_TRANSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _SMSTI, - {_sSI: _cSMSTR, _smith: None}, - (_LC, _MSRH, _ME, _VN, _Spe, _T, _SSL, _SI, _AS, _ECI, _NOC, _CIT), - ( - (LANGUAGE_CODE, {_sH: _xatlc, _sm: None}), - (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr, _sm: None}), - (MEDIA_ENCODING, {_sH: _xatme, _sm: None}), - (VOCABULARY_NAME, {_sH: _xatvn}), - (SPECIALTY, {_sH: _xats, _sm: None}), - (TYPE, {_sH: _xatt, _sm: None}), - (BOOLEAN, {_s: False, _sH: _xatssl}), - (SESSION_ID, {_sH: _xatsi}), - (AUDIO_STREAM, 17), - (BOOLEAN, {_s: False, _sH: _xateci}), - (NUMBER_OF_CHANNELS, {_sH: _xatnoc}), - (MEDICAL_CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), - ), -) - -START_MEDICAL_STREAM_TRANSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _SMSTO, - {_sSI: _cSMSTRo, _smithy: None}, - (_RIe, _LC, _MSRH, _ME, _VN, _Spe, _T, _SSL, _SI, _TRS, _ECI, _NOC, _CIT), - ( - (REQUEST_ID, {_sH: _xari}), - (LANGUAGE_CODE, {_sH: _xatlc}), - (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr}), - (MEDIA_ENCODING, {_sH: _xatme}), - (VOCABULARY_NAME, {_sH: _xatvn}), - (SPECIALTY, {_sH: _xats}), - (TYPE, {_sH: _xatt}), - (BOOLEAN, {_s: False, _sH: _xatssl}), - (SESSION_ID, {_sH: _xatsi}), - (MEDICAL_TRANSCRIPT_RESULT_STREAM, 16), - (BOOLEAN, {_s: False, _sH: _xateci}), - (NUMBER_OF_CHANNELS, {_sH: _xatnoc}), - (MEDICAL_CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), - ), -) - -START_MEDICAL_STREAM_TRANSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _SMST, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/medical-stream-transcription", "code": 200} - ) - }, - START_MEDICAL_STREAM_TRANSCRIPTION_INPUT, - START_MEDICAL_STREAM_TRANSCRIPTION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_FAILURE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - ), -) - -TRANSCRIPT_FORMAT: StaticSchema = ( - 14, - n0, - _TF, - 0, - (_SPOKEN, _WRITTEN), - ((-1, {_sV: _sp}), (-1, {_sV: _w})), -) - -START_STREAM_TRANSCRIPTION_INPUT: StaticSchema = ( - 18, - n0, - _SSTI, - {_sSI: _cSSTR, _smith: None}, - ( - _LC, - _MSRH, - _ME, - _VN, - _SI, - _AS, - _VFN, - _VFMo, - _SSL, - _ECI, - _NOC, - _EPRS, - _PRS, - _CIT, - _CRT, - _PET, - _LMN, - _ILd, - _LO, - _PL, - _IML, - _VNo, - _VFNo, - _SRW, - _TF, - ), - ( - (LANGUAGE_CODE, {_sH: _xatlc}), - (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr, _sm: None}), - (MEDIA_ENCODING, {_sH: _xatme, _sm: None}), - (VOCABULARY_NAME, {_sH: _xatvn}), - (SESSION_ID, {_sH: _xatsi}), - (AUDIO_STREAM, 17), - (VOCABULARY_FILTER_NAME, {_sH: _xatvfn}), - (VOCABULARY_FILTER_METHOD, {_sH: _xatvfm}), - (BOOLEAN, {_s: False, _sH: _xatssl}), - (BOOLEAN, {_s: False, _sH: _xateci}), - (NUMBER_OF_CHANNELS, {_sH: _xatnoc}), - (BOOLEAN, {_s: False, _sH: _xateprs}), - (PARTIAL_RESULTS_STABILITY, {_sH: _xatprs}), - (CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), - (CONTENT_REDACTION_TYPE, {_sH: _xatcrt}), - (PII_ENTITY_TYPES, {_sH: _xatpet}), - (MODEL_NAME, {_sH: _xatlmn}), - (BOOLEAN, {_s: False, _sH: _xatil}), - (LANGUAGE_OPTIONS, {_sH: _xatlo}), - (LANGUAGE_CODE, {_sH: _xatpl}), - (BOOLEAN, {_s: False, _sH: _xatiml}), - (VOCABULARY_NAMES, {_sH: _xatvn_}), - (VOCABULARY_FILTER_NAMES, {_sH: _xatvfn_}), - (SESSION_RESUME_WINDOW, {_sH: _xatsrw}), - (TRANSCRIPT_FORMAT, {_sH: _xattf}), - ), -) - -TRANSCRIPT: StaticSchema = (18, n0, _Tr, 0, (_R,), ((RESULT_LIST, 0),)) - -TRANSCRIPT_EVENT: StaticSchema = (18, n0, _TE, 0, (_Tr,), ((TRANSCRIPT, 0),)) - -TRANSCRIPT_RESULT_STREAM: StaticSchema = ( - 19, - n0, - _TRS, - {_smi: None}, - (_TE, _BRE, _LEE, _IFE, _CEo, _SUE), - ( - (TRANSCRIPT_EVENT, 0), - (BAD_REQUEST_EXCEPTION, 0), - (LIMIT_EXCEEDED_EXCEPTION, 0), - (INTERNAL_FAILURE_EXCEPTION, 0), - (CONFLICT_EXCEPTION, 0), - (SERVICE_UNAVAILABLE_EXCEPTION, 0), - ), -) - -START_STREAM_TRANSCRIPTION_OUTPUT: StaticSchema = ( - 18, - n0, - _SSTO, - {_sSI: _cSSTRo, _smithy: None}, - ( - _RIe, - _LC, - _MSRH, - _ME, - _VN, - _SI, - _TRS, - _VFN, - _VFMo, - _SSL, - _ECI, - _NOC, - _EPRS, - _PRS, - _CIT, - _CRT, - _PET, - _LMN, - _ILd, - _LO, - _PL, - _IML, - _VNo, - _VFNo, - _SRW, - _TF, - ), - ( - (REQUEST_ID, {_sH: _xari}), - (LANGUAGE_CODE, {_sH: _xatlc}), - (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr}), - (MEDIA_ENCODING, {_sH: _xatme}), - (VOCABULARY_NAME, {_sH: _xatvn}), - (SESSION_ID, {_sH: _xatsi}), - (TRANSCRIPT_RESULT_STREAM, 16), - (VOCABULARY_FILTER_NAME, {_sH: _xatvfn}), - (VOCABULARY_FILTER_METHOD, {_sH: _xatvfm}), - (BOOLEAN, {_s: False, _sH: _xatssl}), - (BOOLEAN, {_s: False, _sH: _xateci}), - (NUMBER_OF_CHANNELS, {_sH: _xatnoc}), - (BOOLEAN, {_s: False, _sH: _xateprs}), - (PARTIAL_RESULTS_STABILITY, {_sH: _xatprs}), - (CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), - (CONTENT_REDACTION_TYPE, {_sH: _xatcrt}), - (PII_ENTITY_TYPES, {_sH: _xatpet}), - (MODEL_NAME, {_sH: _xatlmn}), - (BOOLEAN, {_s: False, _sH: _xatil}), - (LANGUAGE_OPTIONS, {_sH: _xatlo}), - (LANGUAGE_CODE, {_sH: _xatpl}), - (BOOLEAN, {_s: False, _sH: _xatiml}), - (VOCABULARY_NAMES, {_sH: _xatvn_}), - (VOCABULARY_FILTER_NAMES, {_sH: _xatvfn_}), - (SESSION_RESUME_WINDOW, {_sH: _xatsrw}), - (TRANSCRIPT_FORMAT, {_sH: _xattf}), - ), -) - -START_STREAM_TRANSCRIPTION: StaticOperationSchema = ( - 23, - n0, - _SST, - { - _smithya: MappingProxyType( - {"method": "POST", "uri": "/stream-transcription", "code": 200} - ) - }, - START_STREAM_TRANSCRIPTION_INPUT, - START_STREAM_TRANSCRIPTION_OUTPUT, - ( - BAD_REQUEST_EXCEPTION, - CONFLICT_EXCEPTION, - INTERNAL_FAILURE_EXCEPTION, - LIMIT_EXCEEDED_EXCEPTION, - SERVICE_UNAVAILABLE_EXCEPTION, - ), -) - -TRANSCRIBE: StaticSchema = ( - 21, - n0, - _Tra, - { - _a: MappingProxyType({"name": "transcribe"}), - _aw: MappingProxyType( - { - "sdkId": "Transcribe Streaming", - "arnNamespace": "transcribe", - "cloudFormationName": "TranscribeStreaming", - "cloudTrailEventSource": "transcribestreaming.amazonaws.com", - "endpointPrefix": "transcribestreaming", - } - ), - _aJ: MappingProxyType({"http": ("http/1.1", "h2"), "eventStreamHttp": ("h2",)}), - }, -) +from importlib import import_module + + +_PARTITION_NAMES: tuple[tuple[str, ...], ...] = ( + ( + "STRING", + "CONFIDENCE", + "DOUBLE", + "ENTITY", + "ENTITY_LIST", + "STABLE", + "ITEM_TYPE", + "BOOLEAN", + "ITEM", + "ITEM_LIST", + "ALTERNATIVE", + "ALTERNATIVE_LIST", + "AUDIO_CHUNK", + "AUDIO_EVENT", + "CHANNEL_ID", + "PARTICIPANT_ROLE", + "CHANNEL_DEFINITION", + "CHANNEL_DEFINITIONS", + "CONTENT_REDACTION_OUTPUT", + "POST_CALL_ANALYTICS_SETTINGS", + "CONFIGURATION_EVENT", + "AUDIO_STREAM", + "BAD_REQUEST_EXCEPTION", + "BUCKET_NAME", + "LONG", + "CALL_ANALYTICS_ENTITY", + "CALL_ANALYTICS_ENTITY_LIST", + "CALL_ANALYTICS_ITEM", + "CALL_ANALYTICS_ITEM_LIST", + "CALL_ANALYTICS_LANGUAGE_CODE", + "CALL_ANALYTICS_LANGUAGE_WITH_SCORE", + "CALL_ANALYTICS_LANGUAGE_IDENTIFICATION", + "STRING_LIST", + "TIMESTAMP_RANGE", + "TIMESTAMP_RANGES", + "POINTS_OF_INTEREST", + "MATCHED_CATEGORY_DETAILS", + "CATEGORY_EVENT", + "CONFLICT_EXCEPTION", + "INTERNAL_FAILURE_EXCEPTION", + "LIMIT_EXCEEDED_EXCEPTION", + "SERVICE_UNAVAILABLE_EXCEPTION", + "INTEGER", + "CHARACTER_OFFSETS", + "ISSUE_DETECTED", + "ISSUES_DETECTED", + "SENTIMENT", + "UTTERANCE_EVENT", + "CALL_ANALYTICS_TRANSCRIPT_RESULT_STREAM", + "URI", + "CLINICAL_NOTE_GENERATION_STATUS", + "CLINICAL_NOTE_GENERATION_RESULT", + "MEDICAL_SCRIBE_NOTE_TEMPLATE", + "CLINICAL_NOTE_GENERATION_SETTINGS", + "CONTENT_IDENTIFICATION_TYPE", + "CONTENT_REDACTION_TYPE", + "DATE_TIME", + "SESSION_ID", + "GET_MEDICAL_SCRIBE_STREAM_INPUT", + "GET_MEDICAL_SCRIBE_STREAM_OUTPUT", + "GET_MEDICAL_SCRIBE_STREAM", + "MEDICAL_SCRIBE_CHANNEL_ID", + "MEDICAL_SCRIBE_PARTICIPANT_ROLE", + "MEDICAL_SCRIBE_CHANNEL_DEFINITION", + "MEDICAL_SCRIBE_CHANNEL_DEFINITIONS", + "NON_EMPTY_STRING", + "KMS_ENCRYPTION_CONTEXT_MAP", + "KMS_KEY_ID", + "MEDICAL_SCRIBE_ENCRYPTION_SETTINGS", + "MEDICAL_SCRIBE_LANGUAGE_CODE", + "MEDICAL_SCRIBE_MEDIA_ENCODING", + "MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ", + "NULLABLE_BOOLEAN", + "MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_RESULT", + "MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_SETTINGS", + "IAM_ROLE_ARN", + "MEDICAL_SCRIBE_STREAM_STATUS", + "MEDICAL_SCRIBE_VOCABULARY_FILTER_METHOD", + "VOCABULARY_FILTER_NAME", + "VOCABULARY_NAME", + "MEDICAL_SCRIBE_STREAM_DETAILS", + "RESOURCE_NOT_FOUND_EXCEPTION", + "LANGUAGE_CODE", + "LANGUAGE_WITH_SCORE", + "LANGUAGE_IDENTIFICATION", + "LANGUAGE_OPTIONS", + ), + ( + "MEDIA_ENCODING", + "MEDIA_SAMPLE_RATE_HERTZ", + "MEDICAL_ENTITY", + "MEDICAL_ENTITY_LIST", + "MEDICAL_ITEM", + "MEDICAL_ITEM_LIST", + "MEDICAL_ALTERNATIVE", + "MEDICAL_ALTERNATIVE_LIST", + "MEDICAL_CONTENT_IDENTIFICATION_TYPE", + "MEDICAL_RESULT", + "MEDICAL_RESULT_LIST", + "MEDICAL_SCRIBE_AUDIO_EVENT", + "PRONOUNS", + "MEDICAL_SCRIBE_PATIENT_CONTEXT", + "MEDICAL_SCRIBE_CONTEXT", + "MEDICAL_SCRIBE_CONFIGURATION_EVENT", + "MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE", + "MEDICAL_SCRIBE_SESSION_CONTROL_EVENT", + "MEDICAL_SCRIBE_INPUT_STREAM", + "MEDICAL_SCRIBE_TRANSCRIPT_ITEM_TYPE", + "MEDICAL_SCRIBE_TRANSCRIPT_ITEM", + "MEDICAL_SCRIBE_TRANSCRIPT_ITEM_LIST", + "MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT", + "MEDICAL_SCRIBE_TRANSCRIPT_EVENT", + "MEDICAL_SCRIBE_RESULT_STREAM", + "MEDICAL_TRANSCRIPT", + "MEDICAL_TRANSCRIPT_EVENT", + "MEDICAL_TRANSCRIPT_RESULT_STREAM", + "MODEL_NAME", + "NUMBER_OF_CHANNELS", + "PARTIAL_RESULTS_STABILITY", + "PII_ENTITY_TYPES", + "REQUEST_ID", + "RESULT", + "RESULT_LIST", + "SESSION_RESUME_WINDOW", + "SPECIALTY", + "VOCABULARY_FILTER_METHOD", + "VOCABULARY_FILTER_NAMES", + "VOCABULARY_NAMES", + "START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_INPUT", + "START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_OUTPUT", + "START_CALL_ANALYTICS_STREAM_TRANSCRIPTION", + "START_MEDICAL_SCRIBE_STREAM_INPUT", + "START_MEDICAL_SCRIBE_STREAM_OUTPUT", + "START_MEDICAL_SCRIBE_STREAM", + "TYPE", + "START_MEDICAL_STREAM_TRANSCRIPTION_INPUT", + "START_MEDICAL_STREAM_TRANSCRIPTION_OUTPUT", + "START_MEDICAL_STREAM_TRANSCRIPTION", + "TRANSCRIPT_FORMAT", + "START_STREAM_TRANSCRIPTION_INPUT", + "START_STREAM_TRANSCRIPTION_OUTPUT", + "START_STREAM_TRANSCRIPTION", + "TRANSCRIPT", + "TRANSCRIPT_EVENT", + "TRANSCRIPT_RESULT_STREAM", + "TRANSCRIBE", + ), +) +_PARTITIONS = { + name: index for index, names in enumerate(_PARTITION_NAMES) for name in names +} +__all__ = list(_PARTITIONS) # pyright: ignore[reportUnsupportedDunderAll] +del _PARTITION_NAMES + + +def __getattr__(name: str): + try: + partition = _PARTITIONS[name] + except KeyError as error: + raise AttributeError(name) from error + module = import_module(f".schemas_{partition}", __package__) + value = getattr(module, name) + globals()[name] = value + return value + + +def __dir__() -> list[str]: + return sorted({*globals(), *__all__}) diff --git a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas_0.py b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas_0.py new file mode 100644 index 000000000..6edb0b7d7 --- /dev/null +++ b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas_0.py @@ -0,0 +1,1249 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + + +n0 = "com.amazonaws.transcribestreaming" +_S = "String" +_C = "Confidence" +_D = "Double" +_s = "smithy.api#default" +_E = "Entity" +_ST = "StartTime" +_ET = "EndTime" +_Ca = "Category" +_T = "Type" +_Co = "Content" +_EL = "EntityList" +_m = "member" +_St = "Stable" +_IT = "ItemType" +_PRONUNCIATION = "PRONUNCIATION" +_sV = "smithy.api#enumValue" +_p = "pronunciation" +_PUNCTUATION = "PUNCTUATION" +_pu = "punctuation" +_B = "Boolean" +_I = "Item" +_VFM = "VocabularyFilterMatch" +_Sp = "Speaker" +_IL = "ItemList" +_A = "Alternative" +_Tr = "Transcript" +_It = "Items" +_En = "Entities" +_AL = "AlternativeList" +_AC = "AudioChunk" +_AE = "AudioEvent" +_sP = "smithy.api#eventPayload" +_CI = "ChannelId" +_PR = "ParticipantRole" +_AGENT = "AGENT" +_CUSTOMER = "CUSTOMER" +_CD = "ChannelDefinition" +_sm = "smithy.api#required" +_CDh = "ChannelDefinitions" +_CRO = "ContentRedactionOutput" +_REDACTED = "REDACTED" +_r = "redacted" +_RAU = "REDACTED_AND_UNREDACTED" +_rau = "redacted_and_unredacted" +_PCAS = "PostCallAnalyticsSettings" +_OL = "OutputLocation" +_DARA = "DataAccessRoleArn" +_OEKMSKI = "OutputEncryptionKMSKeyId" +_CE = "ConfigurationEvent" +_AS = "AudioStream" +_smi = "smithy.api#streaming" +_BRE = "BadRequestException" +_smit = "smithy.api#error" +_c = "client" +_sE = "smithy.api#httpError" +_M = "Message" +_BN = "BucketName" +_L = "Long" +_CAE = "CallAnalyticsEntity" +_BOM = "BeginOffsetMillis" +_EOM = "EndOffsetMillis" +_CAEL = "CallAnalyticsEntityList" +_CAI = "CallAnalyticsItem" +_CAIL = "CallAnalyticsItemList" +_CALC = "CallAnalyticsLanguageCode" +_EU = "EN_US" +_eU = "en-US" +_EG = "EN_GB" +_eG = "en-GB" +_EU_ = "ES_US" +_eU_ = "es-US" +_FC = "FR_CA" +_fC = "fr-CA" +_FF = "FR_FR" +_fF = "fr-FR" +_EA = "EN_AU" +_eA = "en-AU" +_II = "IT_IT" +_iI = "it-IT" +_DD = "DE_DE" +_dD = "de-DE" +_PB = "PT_BR" +_pB = "pt-BR" +_CALWS = "CallAnalyticsLanguageWithScore" +_LC = "LanguageCode" +_Sc = "Score" +_CALI = "CallAnalyticsLanguageIdentification" +_SL = "StringList" +_TR = "TimestampRange" +_TRi = "TimestampRanges" +_POI = "PointsOfInterest" +_MCD = "MatchedCategoryDetails" +_k = "key" +_v = "value" +_CEa = "CategoryEvent" +_MC = "MatchedCategories" +_MD = "MatchedDetails" +_CEo = "ConflictException" +_IFE = "InternalFailureException" +_se = "server" +_LEE = "LimitExceededException" +_SUE = "ServiceUnavailableException" +_In = "Integer" +_CO = "CharacterOffsets" +_Be = "Begin" +_End = "End" +_ID = "IssueDetected" +_IDs = "IssuesDetected" +_Se = "Sentiment" +_POSITIVE = "POSITIVE" +_NEGATIVE = "NEGATIVE" +_MIXED = "MIXED" +_NEUTRAL = "NEUTRAL" +_UE = "UtteranceEvent" +_UI = "UtteranceId" +_IP = "IsPartial" +_LI = "LanguageIdentification" +_CATRS = "CallAnalyticsTranscriptResultStream" +_U = "Uri" +_CNGS = "ClinicalNoteGenerationStatus" +_IP_ = "IN_PROGRESS" +_FAILED = "FAILED" +_COMPLETED = "COMPLETED" +_CNGR = "ClinicalNoteGenerationResult" +_CNOL = "ClinicalNoteOutputLocation" +_TOL = "TranscriptOutputLocation" +_Sta = "Status" +_FR = "FailureReason" +_MSNT = "MedicalScribeNoteTemplate" +_HAP = "HISTORY_AND_PHYSICAL" +_GIRPP = "GIRPP" +_DAP = "DAP" +_SIRP = "SIRP" +_BIRP = "BIRP" +_BS = "BEHAVIORAL_SOAP" +_PS = "PHYSICAL_SOAP" +_CNGSl = "ClinicalNoteGenerationSettings" +_OBN = "OutputBucketName" +_NT = "NoteTemplate" +_CIT = "ContentIdentificationType" +_PII = "PII" +_CRT = "ContentRedactionType" +_DT = "DateTime" +_SI = "SessionId" +_GMSSI = "GetMedicalScribeStreamInput" +_sSI = "smithy.synthetic#originalShapeId" +_cGMSSR = "com.amazonaws.transcribestreaming#GetMedicalScribeStreamRequest" +_smith = "smithy.api#input" +_sL = "smithy.api#httpLabel" +_MSCI = "MedicalScribeChannelId" +_MSPR = "MedicalScribeParticipantRole" +_PATIENT = "PATIENT" +_CLINICIAN = "CLINICIAN" +_MSCD = "MedicalScribeChannelDefinition" +_MSCDe = "MedicalScribeChannelDefinitions" +_NES = "NonEmptyString" +_KMSECM = "KMSEncryptionContextMap" +_KMSKI = "KMSKeyId" +_MSES = "MedicalScribeEncryptionSettings" +_KEC = "KmsEncryptionContext" +_KKI = "KmsKeyId" +_MSLC = "MedicalScribeLanguageCode" +_MSME = "MedicalScribeMediaEncoding" +_PCM = "PCM" +_pc = "pcm" +_OO = "OGG_OPUS" +_oo = "ogg-opus" +_FLAC = "FLAC" +_f = "flac" +_MSMSRH = "MedicalScribeMediaSampleRateHertz" +_NB = "NullableBoolean" +_MSPSAR = "MedicalScribePostStreamAnalyticsResult" +_MSPSAS = "MedicalScribePostStreamAnalyticsSettings" +_IRA = "IamRoleArn" +_MSSS = "MedicalScribeStreamStatus" +_PAUSED = "PAUSED" +_MSVFM = "MedicalScribeVocabularyFilterMethod" +_REMOVE = "REMOVE" +_re = "remove" +_MASK = "MASK" +_ma = "mask" +_TAG = "TAG" +_t = "tag" +_VFN = "VocabularyFilterName" +_VN = "VocabularyName" +_MSSD = "MedicalScribeStreamDetails" +_SCA = "StreamCreatedAt" +_SEA = "StreamEndedAt" +_MSRH = "MediaSampleRateHertz" +_ME = "MediaEncoding" +_VFMo = "VocabularyFilterMethod" +_RARA = "ResourceAccessRoleArn" +_ES = "EncryptionSettings" +_SS = "StreamStatus" +_PSAS = "PostStreamAnalyticsSettings" +_PSAR = "PostStreamAnalyticsResult" +_MSCP = "MedicalScribeContextProvided" +_GMSSO = "GetMedicalScribeStreamOutput" +_cGMSSRo = "com.amazonaws.transcribestreaming#GetMedicalScribeStreamResponse" +_smithy = "smithy.api#output" +_RNFE = "ResourceNotFoundException" +_GMSS = "GetMedicalScribeStream" +_smithya = "smithy.api#http" +_JJ = "JA_JP" +_jJ = "ja-JP" +_KK = "KO_KR" +_kK = "ko-KR" +_ZC = "ZH_CN" +_zC = "zh-CN" +_TT = "TH_TH" +_tT = "th-TH" +_EE = "ES_ES" +_eE = "es-ES" +_AS_ = "AR_SA" +_aS = "ar-SA" +_PP = "PT_PT" +_pP = "pt-PT" +_CE_ = "CA_ES" +_cE = "ca-ES" +_AA = "AR_AE" +_aA = "ar-AE" +_HI = "HI_IN" +_hI = "hi-IN" +_ZH = "ZH_HK" +_zH = "zh-HK" +_NN = "NL_NL" +_nN = "nl-NL" +_NN_ = "NO_NO" +_nN_ = "no-NO" +_SS_ = "SV_SE" +_sS = "sv-SE" +_PP_ = "PL_PL" +_pP_ = "pl-PL" +_FF_ = "FI_FI" +_fF_ = "fi-FI" +_ZT = "ZH_TW" +_zT = "zh-TW" +_EI = "EN_IN" +_eI = "en-IN" +_EI_ = "EN_IE" +_eI_ = "en-IE" +_EN = "EN_NZ" +_eN = "en-NZ" +_EA_ = "EN_AB" +_eA_ = "en-AB" +_EZ = "EN_ZA" +_eZ = "en-ZA" +_EW = "EN_WL" +_eW = "en-WL" +_DC = "DE_CH" +_dC = "de-CH" +_AZ = "AF_ZA" +_aZ = "af-ZA" +_EE_ = "EU_ES" +_eE_ = "eu-ES" +_HH = "HR_HR" +_hH = "hr-HR" +_CC = "CS_CZ" +_cC = "cs-CZ" +_DD_ = "DA_DK" +_dD_ = "da-DK" +_FI = "FA_IR" +_fI = "fa-IR" +_GE = "GL_ES" +_gE = "gl-ES" +_EG_ = "EL_GR" +_eG_ = "el-GR" +_HI_ = "HE_IL" +_hI_ = "he-IL" +_II_ = "ID_ID" +_iI_ = "id-ID" +_LL = "LV_LV" +_lL = "lv-LV" +_MM = "MS_MY" +_mM = "ms-MY" +_RR = "RO_RO" +_rR = "ro-RO" +_RR_ = "RU_RU" +_rR_ = "ru-RU" +_SR = "SR_RS" +_sR = "sr-RS" +_SS__ = "SK_SK" +_sS_ = "sk-SK" +_SS___ = "SO_SO" +_sS__ = "so-SO" +_TP = "TL_PH" +_tP = "tl-PH" +_UU = "UK_UA" +_uU = "uk-UA" +_VV = "VI_VN" +_vV = "vi-VN" +_ZZ = "ZU_ZA" +_zZ = "zu-ZA" +_AE_ = "AM_ET" +_aE = "am-ET" +_BB = "BE_BY" +_bB = "be-BY" +_BB_ = "BG_BG" +_bB_ = "bg-BG" +_BI = "BN_IN" +_bI = "bn-IN" +_BB__ = "BS_BA" +_bB__ = "bs-BA" +_CI_ = "CKB_IQ" +_cI = "ckb-IQ" +_CI__ = "CKB_IR" +_cI_ = "ckb-IR" +_CW = "CY_WL" +_cW = "cy-WL" +_EM = "ES_MX" +_eM = "es-MX" +_EE__ = "ET_ET" +_eE__ = "et-ET" +_FA = "FA_AF" +_fA = "fa-AF" +_GI = "GU_IN" +_gI = "gu-IN" +_HH_ = "HT_HT" +_hH_ = "ht-HT" +_HH__ = "HU_HU" +_hH__ = "hu-HU" +_HA = "HY_AM" +_hA = "hy-AM" +_II__ = "IS_IS" +_iI__ = "is-IS" +_JI = "JV_ID" +_jI = "jv-ID" +_KG = "KA_GE" +_kG = "ka-GE" +_KD = "KAB_DZ" +_kD = "kab-DZ" +_KK_ = "KK_KZ" +_kK_ = "kk-KZ" +_KK__ = "KM_KH" +_kK__ = "km-KH" +_KI = "KN_IN" +_kI = "kn-IN" +_LI_ = "LG_IN" +_lI = "lg-IN" +_LL_ = "LT_LT" +_lL_ = "lt-LT" +_MM_ = "MK_MK" +_mM_ = "mk-MK" +_MI = "ML_IN" +_mI = "ml-IN" +_MI_ = "MR_IN" +_mI_ = "mr-IN" +_MM__ = "MY_MM" +_mM__ = "my-MM" +_NN__ = "NE_NP" +_nN__ = "ne-NP" +_OI = "OR_IN" +_oI = "or-IN" +_PI = "PA_IN" +_pI = "pa-IN" +_PA = "PS_AF" +_pA = "ps-AF" +_SL_ = "SI_LK" +_sL_ = "si-LK" +_SS____ = "SL_SI" +_sS___ = "sl-SI" +_SA = "SQ_AL" +_sA = "sq-AL" +_SI_ = "SU_ID" +_sI = "su-ID" +_SB = "SW_BI" +_sB = "sw-BI" +_SK = "SW_KE" +_sK = "sw-KE" +_SR_ = "SW_RW" +_sR_ = "sw-RW" +_ST_ = "SW_TZ" +_sT = "sw-TZ" +_SU = "SW_UG" +_sU = "sw-UG" +_TI = "TA_IN" +_tI = "ta-IN" +_TI_ = "TE_IN" +_tI_ = "te-IN" +_TT_ = "TR_TR" +_tT_ = "tr-TR" +_UU_ = "UZ_UZ" +_uU_ = "uz-UZ" +_LWS = "LanguageWithScore" +_LO = "LanguageOptions" + +STRING: StaticSchema = (3, n0, _S, 0) + +CONFIDENCE: StaticSchema = (10, n0, _C, 0) + +DOUBLE: StaticSchema = (10, n0, _D, {_s: 0}) + +ENTITY: StaticSchema = ( + 18, + n0, + _E, + 0, + (_ST, _ET, _Ca, _T, _Co, _C), + ( + (DOUBLE, {_s: 0}), + (DOUBLE, {_s: 0}), + (STRING, 0), + (STRING, 0), + (STRING, 0), + (CONFIDENCE, 0), + ), +) + +ENTITY_LIST: StaticSchema = (16, n0, _EL, 0, (_m,), ((ENTITY, 0),)) + +STABLE: StaticSchema = (2, n0, _St, 0) + +ITEM_TYPE: StaticSchema = ( + 14, + n0, + _IT, + 0, + (_PRONUNCIATION, _PUNCTUATION), + ((-1, {_sV: _p}), (-1, {_sV: _pu})), +) + +BOOLEAN: StaticSchema = (2, n0, _B, {_s: False}) + +ITEM: StaticSchema = ( + 18, + n0, + _I, + 0, + (_ST, _ET, _T, _Co, _VFM, _Sp, _C, _St), + ( + (DOUBLE, {_s: 0}), + (DOUBLE, {_s: 0}), + (ITEM_TYPE, 0), + (STRING, 0), + (BOOLEAN, {_s: False}), + (STRING, 0), + (CONFIDENCE, 0), + (STABLE, 0), + ), +) + +ITEM_LIST: StaticSchema = (16, n0, _IL, 0, (_m,), ((ITEM, 0),)) + +ALTERNATIVE: StaticSchema = ( + 18, + n0, + _A, + 0, + (_Tr, _It, _En), + ((STRING, 0), (ITEM_LIST, 0), (ENTITY_LIST, 0)), +) + +ALTERNATIVE_LIST: StaticSchema = (16, n0, _AL, 0, (_m,), ((ALTERNATIVE, 0),)) + +AUDIO_CHUNK: StaticSchema = (1, n0, _AC, 0) + +AUDIO_EVENT: StaticSchema = (18, n0, _AE, 0, (_AC,), ((AUDIO_CHUNK, {_sP: None}),)) + +CHANNEL_ID: StaticSchema = (7, n0, _CI, {_s: 0}) + +PARTICIPANT_ROLE: StaticSchema = ( + 14, + n0, + _PR, + 0, + (_AGENT, _CUSTOMER), + ((-1, {_sV: _AGENT}), (-1, {_sV: _CUSTOMER})), +) + +CHANNEL_DEFINITION: StaticSchema = ( + 18, + n0, + _CD, + 0, + (_CI, _PR), + ((CHANNEL_ID, {_s: 0, _sm: None}), (PARTICIPANT_ROLE, 1)), +) + +CHANNEL_DEFINITIONS: StaticSchema = (16, n0, _CDh, 0, (_m,), ((CHANNEL_DEFINITION, 0),)) + +CONTENT_REDACTION_OUTPUT: StaticSchema = ( + 14, + n0, + _CRO, + 0, + (_REDACTED, _RAU), + ((-1, {_sV: _r}), (-1, {_sV: _rau})), +) + +POST_CALL_ANALYTICS_SETTINGS: StaticSchema = ( + 18, + n0, + _PCAS, + 0, + (_OL, _DARA, _CRO, _OEKMSKI), + ((STRING, 1), (STRING, 1), (CONTENT_REDACTION_OUTPUT, 0), (STRING, 0)), +) + +CONFIGURATION_EVENT: StaticSchema = ( + 18, + n0, + _CE, + 0, + (_CDh, _PCAS), + ((CHANNEL_DEFINITIONS, 0), (POST_CALL_ANALYTICS_SETTINGS, 0)), +) + +AUDIO_STREAM: StaticSchema = ( + 19, + n0, + _AS, + {_smi: None}, + (_AE, _CE), + ((AUDIO_EVENT, 0), (CONFIGURATION_EVENT, 0)), +) + +BAD_REQUEST_EXCEPTION: StaticSchema = ( + 18, + n0, + _BRE, + {_smit: _c, _sE: 400}, + (_M,), + ((STRING, 0),), +) + +BUCKET_NAME: StaticSchema = (3, n0, _BN, 0) + +LONG: StaticSchema = (8, n0, _L, 0) + +CALL_ANALYTICS_ENTITY: StaticSchema = ( + 18, + n0, + _CAE, + 0, + (_BOM, _EOM, _Ca, _T, _Co, _C), + ((LONG, 0), (LONG, 0), (STRING, 0), (STRING, 0), (STRING, 0), (CONFIDENCE, 0)), +) + +CALL_ANALYTICS_ENTITY_LIST: StaticSchema = ( + 16, + n0, + _CAEL, + 0, + (_m,), + ((CALL_ANALYTICS_ENTITY, 0),), +) + +CALL_ANALYTICS_ITEM: StaticSchema = ( + 18, + n0, + _CAI, + 0, + (_BOM, _EOM, _T, _Co, _C, _VFM, _St), + ( + (LONG, 0), + (LONG, 0), + (ITEM_TYPE, 0), + (STRING, 0), + (CONFIDENCE, 0), + (BOOLEAN, {_s: False}), + (STABLE, 0), + ), +) + +CALL_ANALYTICS_ITEM_LIST: StaticSchema = ( + 16, + n0, + _CAIL, + 0, + (_m,), + ((CALL_ANALYTICS_ITEM, 0),), +) + +CALL_ANALYTICS_LANGUAGE_CODE: StaticSchema = ( + 14, + n0, + _CALC, + 0, + (_EU, _EG, _EU_, _FC, _FF, _EA, _II, _DD, _PB), + ( + (-1, {_sV: _eU}), + (-1, {_sV: _eG}), + (-1, {_sV: _eU_}), + (-1, {_sV: _fC}), + (-1, {_sV: _fF}), + (-1, {_sV: _eA}), + (-1, {_sV: _iI}), + (-1, {_sV: _dD}), + (-1, {_sV: _pB}), + ), +) + +CALL_ANALYTICS_LANGUAGE_WITH_SCORE: StaticSchema = ( + 18, + n0, + _CALWS, + 0, + (_LC, _Sc), + ((CALL_ANALYTICS_LANGUAGE_CODE, 0), (DOUBLE, {_s: 0})), +) + +CALL_ANALYTICS_LANGUAGE_IDENTIFICATION: StaticSchema = ( + 16, + n0, + _CALI, + 0, + (_m,), + ((CALL_ANALYTICS_LANGUAGE_WITH_SCORE, 0),), +) + +STRING_LIST: StaticSchema = (16, n0, _SL, 0, (_m,), ((STRING, 0),)) + +TIMESTAMP_RANGE: StaticSchema = (18, n0, _TR, 0, (_BOM, _EOM), ((LONG, 0), (LONG, 0))) + +TIMESTAMP_RANGES: StaticSchema = (16, n0, _TRi, 0, (_m,), ((TIMESTAMP_RANGE, 0),)) + +POINTS_OF_INTEREST: StaticSchema = (18, n0, _POI, 0, (_TRi,), ((TIMESTAMP_RANGES, 0),)) + +MATCHED_CATEGORY_DETAILS: StaticSchema = ( + 17, + n0, + _MCD, + 0, + (_k, _v), + ((STRING, 0), (POINTS_OF_INTEREST, 0)), +) + +CATEGORY_EVENT: StaticSchema = ( + 18, + n0, + _CEa, + 0, + (_MC, _MD), + ((STRING_LIST, 0), (MATCHED_CATEGORY_DETAILS, 0)), +) + +CONFLICT_EXCEPTION: StaticSchema = ( + 18, + n0, + _CEo, + {_smit: _c, _sE: 409}, + (_M,), + ((STRING, 0),), +) + +INTERNAL_FAILURE_EXCEPTION: StaticSchema = ( + 18, + n0, + _IFE, + {_smit: _se, _sE: 500}, + (_M,), + ((STRING, 0),), +) + +LIMIT_EXCEEDED_EXCEPTION: StaticSchema = ( + 18, + n0, + _LEE, + {_smit: _c, _sE: 429}, + (_M,), + ((STRING, 0),), +) + +SERVICE_UNAVAILABLE_EXCEPTION: StaticSchema = ( + 18, + n0, + _SUE, + {_smit: _se, _sE: 503}, + (_M,), + ((STRING, 0),), +) + +INTEGER: StaticSchema = (7, n0, _In, 0) + +CHARACTER_OFFSETS: StaticSchema = ( + 18, + n0, + _CO, + 0, + (_Be, _End), + ((INTEGER, 0), (INTEGER, 0)), +) + +ISSUE_DETECTED: StaticSchema = (18, n0, _ID, 0, (_CO,), ((CHARACTER_OFFSETS, 0),)) + +ISSUES_DETECTED: StaticSchema = (16, n0, _IDs, 0, (_m,), ((ISSUE_DETECTED, 0),)) + +SENTIMENT: StaticSchema = ( + 14, + n0, + _Se, + 0, + (_POSITIVE, _NEGATIVE, _MIXED, _NEUTRAL), + ( + (-1, {_sV: _POSITIVE}), + (-1, {_sV: _NEGATIVE}), + (-1, {_sV: _MIXED}), + (-1, {_sV: _NEUTRAL}), + ), +) + +UTTERANCE_EVENT: StaticSchema = ( + 18, + n0, + _UE, + 0, + (_UI, _IP, _PR, _BOM, _EOM, _Tr, _It, _En, _Se, _IDs, _LC, _LI), + ( + (STRING, 0), + (BOOLEAN, {_s: False}), + (PARTICIPANT_ROLE, 0), + (LONG, 0), + (LONG, 0), + (STRING, 0), + (CALL_ANALYTICS_ITEM_LIST, 0), + (CALL_ANALYTICS_ENTITY_LIST, 0), + (SENTIMENT, 0), + (ISSUES_DETECTED, 0), + (CALL_ANALYTICS_LANGUAGE_CODE, 0), + (CALL_ANALYTICS_LANGUAGE_IDENTIFICATION, 0), + ), +) + +CALL_ANALYTICS_TRANSCRIPT_RESULT_STREAM: StaticSchema = ( + 19, + n0, + _CATRS, + {_smi: None}, + (_UE, _CEa, _BRE, _LEE, _IFE, _CEo, _SUE), + ( + (UTTERANCE_EVENT, 0), + (CATEGORY_EVENT, 0), + (BAD_REQUEST_EXCEPTION, 0), + (LIMIT_EXCEEDED_EXCEPTION, 0), + (INTERNAL_FAILURE_EXCEPTION, 0), + (CONFLICT_EXCEPTION, 0), + (SERVICE_UNAVAILABLE_EXCEPTION, 0), + ), +) + +URI: StaticSchema = (3, n0, _U, 0) + +CLINICAL_NOTE_GENERATION_STATUS: StaticSchema = ( + 14, + n0, + _CNGS, + 0, + (_IP_, _FAILED, _COMPLETED), + ((-1, {_sV: _IP_}), (-1, {_sV: _FAILED}), (-1, {_sV: _COMPLETED})), +) + +CLINICAL_NOTE_GENERATION_RESULT: StaticSchema = ( + 18, + n0, + _CNGR, + 0, + (_CNOL, _TOL, _Sta, _FR), + ((URI, 0), (URI, 0), (CLINICAL_NOTE_GENERATION_STATUS, 0), (STRING, 0)), +) + +MEDICAL_SCRIBE_NOTE_TEMPLATE: StaticSchema = ( + 14, + n0, + _MSNT, + 0, + (_HAP, _GIRPP, _DAP, _SIRP, _BIRP, _BS, _PS), + ( + (-1, {_sV: _HAP}), + (-1, {_sV: _GIRPP}), + (-1, {_sV: _DAP}), + (-1, {_sV: _SIRP}), + (-1, {_sV: _BIRP}), + (-1, {_sV: _BS}), + (-1, {_sV: _PS}), + ), +) + +CLINICAL_NOTE_GENERATION_SETTINGS: StaticSchema = ( + 18, + n0, + _CNGSl, + 0, + (_OBN, _NT), + ((BUCKET_NAME, 1), (MEDICAL_SCRIBE_NOTE_TEMPLATE, 0)), +) + +CONTENT_IDENTIFICATION_TYPE: StaticSchema = ( + 14, + n0, + _CIT, + 0, + (_PII,), + ((-1, {_sV: _PII}),), +) + +CONTENT_REDACTION_TYPE: StaticSchema = (14, n0, _CRT, 0, (_PII,), ((-1, {_sV: _PII}),)) + +DATE_TIME: StaticSchema = (4, n0, _DT, 0) + +SESSION_ID: StaticSchema = (3, n0, _SI, 0) + +GET_MEDICAL_SCRIBE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _GMSSI, + {_sSI: _cGMSSR, _smith: None}, + (_SI,), + ((SESSION_ID, 9),), +) + +GET_MEDICAL_SCRIBE_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _GMSSO, + {_sSI: _cGMSSRo, _smithy: None}, + (_MSSD,), + ((lambda: MEDICAL_SCRIBE_STREAM_DETAILS, 0),), +) + +GET_MEDICAL_SCRIBE_STREAM: StaticOperationSchema = ( + 23, + n0, + _GMSS, + { + _smithya: MappingProxyType( + {"method": "GET", "uri": "/medical-scribe-stream/{SessionId}", "code": 200} + ) + }, + GET_MEDICAL_SCRIBE_STREAM_INPUT, + GET_MEDICAL_SCRIBE_STREAM_OUTPUT, + ( + BAD_REQUEST_EXCEPTION, + INTERNAL_FAILURE_EXCEPTION, + LIMIT_EXCEEDED_EXCEPTION, + lambda: RESOURCE_NOT_FOUND_EXCEPTION, + ), +) + +MEDICAL_SCRIBE_CHANNEL_ID: StaticSchema = (7, n0, _MSCI, {_s: 0}) + +MEDICAL_SCRIBE_PARTICIPANT_ROLE: StaticSchema = ( + 14, + n0, + _MSPR, + 0, + (_PATIENT, _CLINICIAN), + ((-1, {_sV: _PATIENT}), (-1, {_sV: _CLINICIAN})), +) + +MEDICAL_SCRIBE_CHANNEL_DEFINITION: StaticSchema = ( + 18, + n0, + _MSCD, + 0, + (_CI, _PR), + ( + (MEDICAL_SCRIBE_CHANNEL_ID, {_s: 0, _sm: None}), + (MEDICAL_SCRIBE_PARTICIPANT_ROLE, 1), + ), +) + +MEDICAL_SCRIBE_CHANNEL_DEFINITIONS: StaticSchema = ( + 16, + n0, + _MSCDe, + 0, + (_m,), + ((MEDICAL_SCRIBE_CHANNEL_DEFINITION, 0),), +) + +NON_EMPTY_STRING: StaticSchema = (3, n0, _NES, 0) + +KMS_ENCRYPTION_CONTEXT_MAP: StaticSchema = ( + 17, + n0, + _KMSECM, + 0, + (_k, _v), + ((NON_EMPTY_STRING, 0), (NON_EMPTY_STRING, 0)), +) + +KMS_KEY_ID: StaticSchema = (3, n0, _KMSKI, 0) + +MEDICAL_SCRIBE_ENCRYPTION_SETTINGS: StaticSchema = ( + 18, + n0, + _MSES, + 0, + (_KEC, _KKI), + ((KMS_ENCRYPTION_CONTEXT_MAP, 0), (KMS_KEY_ID, 1)), +) + +MEDICAL_SCRIBE_LANGUAGE_CODE: StaticSchema = ( + 14, + n0, + _MSLC, + 0, + (_EU,), + ((-1, {_sV: _eU}),), +) + +MEDICAL_SCRIBE_MEDIA_ENCODING: StaticSchema = ( + 14, + n0, + _MSME, + 0, + (_PCM, _OO, _FLAC), + ((-1, {_sV: _pc}), (-1, {_sV: _oo}), (-1, {_sV: _f})), +) + +MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ: StaticSchema = (7, n0, _MSMSRH, 0) + +NULLABLE_BOOLEAN: StaticSchema = (2, n0, _NB, 0) + +MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_RESULT: StaticSchema = ( + 18, + n0, + _MSPSAR, + 0, + (_CNGR,), + ((CLINICAL_NOTE_GENERATION_RESULT, 0),), +) + +MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_SETTINGS: StaticSchema = ( + 18, + n0, + _MSPSAS, + 0, + (_CNGSl,), + ((CLINICAL_NOTE_GENERATION_SETTINGS, 1),), +) + +IAM_ROLE_ARN: StaticSchema = (3, n0, _IRA, 0) + +MEDICAL_SCRIBE_STREAM_STATUS: StaticSchema = ( + 14, + n0, + _MSSS, + 0, + (_IP_, _PAUSED, _FAILED, _COMPLETED), + ( + (-1, {_sV: _IP_}), + (-1, {_sV: _PAUSED}), + (-1, {_sV: _FAILED}), + (-1, {_sV: _COMPLETED}), + ), +) + +MEDICAL_SCRIBE_VOCABULARY_FILTER_METHOD: StaticSchema = ( + 14, + n0, + _MSVFM, + 0, + (_REMOVE, _MASK, _TAG), + ((-1, {_sV: _re}), (-1, {_sV: _ma}), (-1, {_sV: _t})), +) + +VOCABULARY_FILTER_NAME: StaticSchema = (3, n0, _VFN, 0) + +VOCABULARY_NAME: StaticSchema = (3, n0, _VN, 0) + +MEDICAL_SCRIBE_STREAM_DETAILS: StaticSchema = ( + 18, + n0, + _MSSD, + 0, + ( + _SI, + _SCA, + _SEA, + _LC, + _MSRH, + _ME, + _VN, + _VFN, + _VFMo, + _RARA, + _CDh, + _ES, + _SS, + _PSAS, + _PSAR, + _MSCP, + ), + ( + (SESSION_ID, 0), + (DATE_TIME, 0), + (DATE_TIME, 0), + (MEDICAL_SCRIBE_LANGUAGE_CODE, 0), + (MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, 0), + (MEDICAL_SCRIBE_MEDIA_ENCODING, 0), + (VOCABULARY_NAME, 0), + (VOCABULARY_FILTER_NAME, 0), + (MEDICAL_SCRIBE_VOCABULARY_FILTER_METHOD, 0), + (IAM_ROLE_ARN, 0), + (MEDICAL_SCRIBE_CHANNEL_DEFINITIONS, 0), + (MEDICAL_SCRIBE_ENCRYPTION_SETTINGS, 0), + (MEDICAL_SCRIBE_STREAM_STATUS, 0), + (MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_SETTINGS, 0), + (MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_RESULT, 0), + (NULLABLE_BOOLEAN, 0), + ), +) + +RESOURCE_NOT_FOUND_EXCEPTION: StaticSchema = ( + 18, + n0, + _RNFE, + {_smit: _c, _sE: 404}, + (_M,), + ((STRING, 0),), +) + +LANGUAGE_CODE: StaticSchema = ( + 14, + n0, + _LC, + 0, + ( + _EU, + _EG, + _EU_, + _FC, + _FF, + _EA, + _II, + _DD, + _PB, + _JJ, + _KK, + _ZC, + _TT, + _EE, + _AS_, + _PP, + _CE_, + _AA, + _HI, + _ZH, + _NN, + _NN_, + _SS_, + _PP_, + _FF_, + _ZT, + _EI, + _EI_, + _EN, + _EA_, + _EZ, + _EW, + _DC, + _AZ, + _EE_, + _HH, + _CC, + _DD_, + _FI, + _GE, + _EG_, + _HI_, + _II_, + _LL, + _MM, + _RR, + _RR_, + _SR, + _SS__, + _SS___, + _TP, + _UU, + _VV, + _ZZ, + _AE_, + _BB, + _BB_, + _BI, + _BB__, + _CI_, + _CI__, + _CW, + _EM, + _EE__, + _FA, + _GI, + _HH_, + _HH__, + _HA, + _II__, + _JI, + _KG, + _KD, + _KK_, + _KK__, + _KI, + _LI_, + _LL_, + _MM_, + _MI, + _MI_, + _MM__, + _NN__, + _OI, + _PI, + _PA, + _SL_, + _SS____, + _SA, + _SI_, + _SB, + _SK, + _SR_, + _ST_, + _SU, + _TI, + _TI_, + _TT_, + _UU_, + ), + ( + (-1, {_sV: _eU}), + (-1, {_sV: _eG}), + (-1, {_sV: _eU_}), + (-1, {_sV: _fC}), + (-1, {_sV: _fF}), + (-1, {_sV: _eA}), + (-1, {_sV: _iI}), + (-1, {_sV: _dD}), + (-1, {_sV: _pB}), + (-1, {_sV: _jJ}), + (-1, {_sV: _kK}), + (-1, {_sV: _zC}), + (-1, {_sV: _tT}), + (-1, {_sV: _eE}), + (-1, {_sV: _aS}), + (-1, {_sV: _pP}), + (-1, {_sV: _cE}), + (-1, {_sV: _aA}), + (-1, {_sV: _hI}), + (-1, {_sV: _zH}), + (-1, {_sV: _nN}), + (-1, {_sV: _nN_}), + (-1, {_sV: _sS}), + (-1, {_sV: _pP_}), + (-1, {_sV: _fF_}), + (-1, {_sV: _zT}), + (-1, {_sV: _eI}), + (-1, {_sV: _eI_}), + (-1, {_sV: _eN}), + (-1, {_sV: _eA_}), + (-1, {_sV: _eZ}), + (-1, {_sV: _eW}), + (-1, {_sV: _dC}), + (-1, {_sV: _aZ}), + (-1, {_sV: _eE_}), + (-1, {_sV: _hH}), + (-1, {_sV: _cC}), + (-1, {_sV: _dD_}), + (-1, {_sV: _fI}), + (-1, {_sV: _gE}), + (-1, {_sV: _eG_}), + (-1, {_sV: _hI_}), + (-1, {_sV: _iI_}), + (-1, {_sV: _lL}), + (-1, {_sV: _mM}), + (-1, {_sV: _rR}), + (-1, {_sV: _rR_}), + (-1, {_sV: _sR}), + (-1, {_sV: _sS_}), + (-1, {_sV: _sS__}), + (-1, {_sV: _tP}), + (-1, {_sV: _uU}), + (-1, {_sV: _vV}), + (-1, {_sV: _zZ}), + (-1, {_sV: _aE}), + (-1, {_sV: _bB}), + (-1, {_sV: _bB_}), + (-1, {_sV: _bI}), + (-1, {_sV: _bB__}), + (-1, {_sV: _cI}), + (-1, {_sV: _cI_}), + (-1, {_sV: _cW}), + (-1, {_sV: _eM}), + (-1, {_sV: _eE__}), + (-1, {_sV: _fA}), + (-1, {_sV: _gI}), + (-1, {_sV: _hH_}), + (-1, {_sV: _hH__}), + (-1, {_sV: _hA}), + (-1, {_sV: _iI__}), + (-1, {_sV: _jI}), + (-1, {_sV: _kG}), + (-1, {_sV: _kD}), + (-1, {_sV: _kK_}), + (-1, {_sV: _kK__}), + (-1, {_sV: _kI}), + (-1, {_sV: _lI}), + (-1, {_sV: _lL_}), + (-1, {_sV: _mM_}), + (-1, {_sV: _mI}), + (-1, {_sV: _mI_}), + (-1, {_sV: _mM__}), + (-1, {_sV: _nN__}), + (-1, {_sV: _oI}), + (-1, {_sV: _pI}), + (-1, {_sV: _pA}), + (-1, {_sV: _sL_}), + (-1, {_sV: _sS___}), + (-1, {_sV: _sA}), + (-1, {_sV: _sI}), + (-1, {_sV: _sB}), + (-1, {_sV: _sK}), + (-1, {_sV: _sR_}), + (-1, {_sV: _sT}), + (-1, {_sV: _sU}), + (-1, {_sV: _tI}), + (-1, {_sV: _tI_}), + (-1, {_sV: _tT_}), + (-1, {_sV: _uU_}), + ), +) + +LANGUAGE_WITH_SCORE: StaticSchema = ( + 18, + n0, + _LWS, + 0, + (_LC, _Sc), + ((LANGUAGE_CODE, 0), (DOUBLE, {_s: 0})), +) + +LANGUAGE_IDENTIFICATION: StaticSchema = ( + 16, + n0, + _LI, + 0, + (_m,), + ((LANGUAGE_WITH_SCORE, 0),), +) + +LANGUAGE_OPTIONS: StaticSchema = (3, n0, _LO, 0) diff --git a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas_1.py b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas_1.py new file mode 100644 index 000000000..0b358fc1d --- /dev/null +++ b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/_private/schemas_1.py @@ -0,0 +1,1017 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +from types import MappingProxyType + +from smithy_core._schema_compact import StaticOperationSchema, StaticSchema + +from . import schemas + + +n0 = "com.amazonaws.transcribestreaming" +_C = "Confidence" +_s = "smithy.api#default" +_ST = "StartTime" +_ET = "EndTime" +_Ca = "Category" +_T = "Type" +_Co = "Content" +_m = "member" +_PRONUNCIATION = "PRONUNCIATION" +_sV = "smithy.api#enumValue" +_p = "pronunciation" +_PUNCTUATION = "PUNCTUATION" +_pu = "punctuation" +_VFM = "VocabularyFilterMatch" +_Sp = "Speaker" +_Tr = "Transcript" +_It = "Items" +_En = "Entities" +_AC = "AudioChunk" +_AE = "AudioEvent" +_sP = "smithy.api#eventPayload" +_CI = "ChannelId" +_sm = "smithy.api#required" +_CDh = "ChannelDefinitions" +_CE = "ConfigurationEvent" +_AS = "AudioStream" +_smi = "smithy.api#streaming" +_BRE = "BadRequestException" +_LC = "LanguageCode" +_CEo = "ConflictException" +_IFE = "InternalFailureException" +_LEE = "LimitExceededException" +_SUE = "ServiceUnavailableException" +_IP = "IsPartial" +_LI = "LanguageIdentification" +_CATRS = "CallAnalyticsTranscriptResultStream" +_CIT = "ContentIdentificationType" +_CRT = "ContentRedactionType" +_SI = "SessionId" +_sSI = "smithy.synthetic#originalShapeId" +_smith = "smithy.api#input" +_PCM = "PCM" +_pc = "pcm" +_OO = "OGG_OPUS" +_oo = "ogg-opus" +_FLAC = "FLAC" +_f = "flac" +_REMOVE = "REMOVE" +_re = "remove" +_MASK = "MASK" +_ma = "mask" +_TAG = "TAG" +_t = "tag" +_VFN = "VocabularyFilterName" +_VN = "VocabularyName" +_MSRH = "MediaSampleRateHertz" +_ME = "MediaEncoding" +_VFMo = "VocabularyFilterMethod" +_RARA = "ResourceAccessRoleArn" +_ES = "EncryptionSettings" +_PSAS = "PostStreamAnalyticsSettings" +_smithy = "smithy.api#output" +_smithya = "smithy.api#http" +_LO = "LanguageOptions" +_GA = "G711_ALAW" +_ga = "g711-alaw" +_GU = "G711_ULAW" +_gu = "g711-ulaw" +_G = "G729" +_g = "g729" +_MEe = "MedicalEntity" +_MEL = "MedicalEntityList" +_MIe = "MedicalItem" +_MIL = "MedicalItemList" +_MA = "MedicalAlternative" +_MAL = "MedicalAlternativeList" +_MCIT = "MedicalContentIdentificationType" +_PHI = "PHI" +_MR = "MedicalResult" +_RI = "ResultId" +_Al = "Alternatives" +_MRL = "MedicalResultList" +_MSAE = "MedicalScribeAudioEvent" +_P = "Pronouns" +_smithyap = "smithy.api#sensitive" +_HH___ = "HE_HIM" +_SH = "SHE_HER" +_TT__ = "THEY_THEM" +_MSPC = "MedicalScribePatientContext" +_MSC = "MedicalScribeContext" +_PC = "PatientContext" +_MSCE = "MedicalScribeConfigurationEvent" +_MSSCET = "MedicalScribeSessionControlEventType" +_EOS = "END_OF_SESSION" +_MSSCE = "MedicalScribeSessionControlEvent" +_MSIS = "MedicalScribeInputStream" +_SCE = "SessionControlEvent" +_MSTIT = "MedicalScribeTranscriptItemType" +_MSTI = "MedicalScribeTranscriptItem" +_BAT = "BeginAudioTime" +_EAT = "EndAudioTime" +_MSTIL = "MedicalScribeTranscriptItemList" +_MSTS = "MedicalScribeTranscriptSegment" +_SIe = "SegmentId" +_MSTE = "MedicalScribeTranscriptEvent" +_TS = "TranscriptSegment" +_MSRS = "MedicalScribeResultStream" +_TE = "TranscriptEvent" +_MT = "MedicalTranscript" +_R = "Results" +_MTE = "MedicalTranscriptEvent" +_MTRS = "MedicalTranscriptResultStream" +_MN = "ModelName" +_NOC = "NumberOfChannels" +_PRS = "PartialResultsStability" +_HIGH = "HIGH" +_h = "high" +_MEDIUM = "MEDIUM" +_me = "medium" +_LOW = "LOW" +_l = "low" +_PET = "PiiEntityTypes" +_RIe = "RequestId" +_Re = "Result" +_RL = "ResultList" +_SRW = "SessionResumeWindow" +_Spe = "Specialty" +_PRIMARYCARE = "PRIMARYCARE" +_CARDIOLOGY = "CARDIOLOGY" +_NEUROLOGY = "NEUROLOGY" +_ONCOLOGY = "ONCOLOGY" +_RADIOLOGY = "RADIOLOGY" +_UROLOGY = "UROLOGY" +_VFNo = "VocabularyFilterNames" +_VNo = "VocabularyNames" +_SCASTI = "StartCallAnalyticsStreamTranscriptionInput" +_cSCASTR = ( + "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscriptionRequest" +) +_sH = "smithy.api#httpHeader" +_xatlc = "x-amzn-transcribe-language-code" +_xatsr = "x-amzn-transcribe-sample-rate" +_xatme = "x-amzn-transcribe-media-encoding" +_xatvn = "x-amzn-transcribe-vocabulary-name" +_xatsi = "x-amzn-transcribe-session-id" +_sPm = "smithy.api#httpPayload" +_xatvfn = "x-amzn-transcribe-vocabulary-filter-name" +_xatvfm = "x-amzn-transcribe-vocabulary-filter-method" +_LMN = "LanguageModelName" +_xatlmn = "x-amzn-transcribe-language-model-name" +_ILd = "IdentifyLanguage" +_xatil = "x-amzn-transcribe-identify-language" +_xatlo = "x-amzn-transcribe-language-options" +_PL = "PreferredLanguage" +_xatpl = "x-amzn-transcribe-preferred-language" +_xatvn_ = "x-amzn-transcribe-vocabulary-names" +_xatvfn_ = "x-amzn-transcribe-vocabulary-filter-names" +_EPRS = "EnablePartialResultsStabilization" +_xateprs = "x-amzn-transcribe-enable-partial-results-stabilization" +_xatprs = "x-amzn-transcribe-partial-results-stability" +_xatcit = "x-amzn-transcribe-content-identification-type" +_xatcrt = "x-amzn-transcribe-content-redaction-type" +_xatpet = "x-amzn-transcribe-pii-entity-types" +_SCASTO = "StartCallAnalyticsStreamTranscriptionOutput" +_cSCASTRo = ( + "com.amazonaws.transcribestreaming#StartCallAnalyticsStreamTranscriptionResponse" +) +_xari = "x-amzn-request-id" +_SCAST = "StartCallAnalyticsStreamTranscription" +_SMSSI = "StartMedicalScribeStreamInput" +_cSMSSR = "com.amazonaws.transcribestreaming#StartMedicalScribeStreamRequest" +_IS = "InputStream" +_SMSSO = "StartMedicalScribeStreamOutput" +_cSMSSRo = "com.amazonaws.transcribestreaming#StartMedicalScribeStreamResponse" +_RS = "ResultStream" +_SMSS = "StartMedicalScribeStream" +_CONVERSATION = "CONVERSATION" +_DICTATION = "DICTATION" +_SMSTI = "StartMedicalStreamTranscriptionInput" +_cSMSTR = "com.amazonaws.transcribestreaming#StartMedicalStreamTranscriptionRequest" +_xats = "x-amzn-transcribe-specialty" +_xatt = "x-amzn-transcribe-type" +_SSL = "ShowSpeakerLabel" +_xatssl = "x-amzn-transcribe-show-speaker-label" +_ECI = "EnableChannelIdentification" +_xateci = "x-amzn-transcribe-enable-channel-identification" +_xatnoc = "x-amzn-transcribe-number-of-channels" +_SMSTO = "StartMedicalStreamTranscriptionOutput" +_cSMSTRo = "com.amazonaws.transcribestreaming#StartMedicalStreamTranscriptionResponse" +_TRS = "TranscriptResultStream" +_SMST = "StartMedicalStreamTranscription" +_TF = "TranscriptFormat" +_SPOKEN = "SPOKEN" +_sp = "spoken" +_WRITTEN = "WRITTEN" +_w = "written" +_SSTI = "StartStreamTranscriptionInput" +_cSSTR = "com.amazonaws.transcribestreaming#StartStreamTranscriptionRequest" +_IML = "IdentifyMultipleLanguages" +_xatiml = "x-amzn-transcribe-identify-multiple-languages" +_xatsrw = "x-amzn-transcribe-session-resume-window" +_xattf = "x-amzn-transcribe-transcript-format" +_SSTO = "StartStreamTranscriptionOutput" +_cSSTRo = "com.amazonaws.transcribestreaming#StartStreamTranscriptionResponse" +_SST = "StartStreamTranscription" +_Tra = "Transcribe" +_a = "aws.auth#sigv4" +_aw = "aws.api#service" +_aJ = "aws.protocols#restJson1" + +MEDIA_ENCODING: StaticSchema = ( + 14, + n0, + _ME, + 0, + (_PCM, _OO, _FLAC, _GA, _GU, _G), + ( + (-1, {_sV: _pc}), + (-1, {_sV: _oo}), + (-1, {_sV: _f}), + (-1, {_sV: _ga}), + (-1, {_sV: _gu}), + (-1, {_sV: _g}), + ), +) + +MEDIA_SAMPLE_RATE_HERTZ: StaticSchema = (7, n0, _MSRH, 0) + +MEDICAL_ENTITY: StaticSchema = ( + 18, + n0, + _MEe, + 0, + (_ST, _ET, _Ca, _Co, _C), + ( + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.STRING, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONFIDENCE, 0), + ), +) + +MEDICAL_ENTITY_LIST: StaticSchema = (16, n0, _MEL, 0, (_m,), ((MEDICAL_ENTITY, 0),)) + +MEDICAL_ITEM: StaticSchema = ( + 18, + n0, + _MIe, + 0, + (_ST, _ET, _T, _Co, _C, _Sp), + ( + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.ITEM_TYPE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.CONFIDENCE, 0), + (lambda: schemas.STRING, 0), + ), +) + +MEDICAL_ITEM_LIST: StaticSchema = (16, n0, _MIL, 0, (_m,), ((MEDICAL_ITEM, 0),)) + +MEDICAL_ALTERNATIVE: StaticSchema = ( + 18, + n0, + _MA, + 0, + (_Tr, _It, _En), + ((lambda: schemas.STRING, 0), (MEDICAL_ITEM_LIST, 0), (MEDICAL_ENTITY_LIST, 0)), +) + +MEDICAL_ALTERNATIVE_LIST: StaticSchema = ( + 16, + n0, + _MAL, + 0, + (_m,), + ((MEDICAL_ALTERNATIVE, 0),), +) + +MEDICAL_CONTENT_IDENTIFICATION_TYPE: StaticSchema = ( + 14, + n0, + _MCIT, + 0, + (_PHI,), + ((-1, {_sV: _PHI}),), +) + +MEDICAL_RESULT: StaticSchema = ( + 18, + n0, + _MR, + 0, + (_RI, _ST, _ET, _IP, _Al, _CI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.BOOLEAN, {_s: False}), + (MEDICAL_ALTERNATIVE_LIST, 0), + (lambda: schemas.STRING, 0), + ), +) + +MEDICAL_RESULT_LIST: StaticSchema = (16, n0, _MRL, 0, (_m,), ((MEDICAL_RESULT, 0),)) + +MEDICAL_SCRIBE_AUDIO_EVENT: StaticSchema = ( + 18, + n0, + _MSAE, + 0, + (_AC,), + ((lambda: schemas.AUDIO_CHUNK, {_sP: None, _sm: None}),), +) + +PRONOUNS: StaticSchema = ( + 14, + n0, + _P, + 4, + (_HH___, _SH, _TT__), + ((-1, {_sV: _HH___}), (-1, {_sV: _SH}), (-1, {_sV: _TT__})), +) + +MEDICAL_SCRIBE_PATIENT_CONTEXT: StaticSchema = ( + 18, + n0, + _MSPC, + 0, + (_P,), + ((PRONOUNS, 0),), +) + +MEDICAL_SCRIBE_CONTEXT: StaticSchema = ( + 18, + n0, + _MSC, + 0, + (_PC,), + ((MEDICAL_SCRIBE_PATIENT_CONTEXT, 0),), +) + +MEDICAL_SCRIBE_CONFIGURATION_EVENT: StaticSchema = ( + 18, + n0, + _MSCE, + 0, + (_VN, _VFN, _VFMo, _RARA, _CDh, _ES, _PSAS, _MSC), + ( + (lambda: schemas.VOCABULARY_NAME, 0), + (lambda: schemas.VOCABULARY_FILTER_NAME, 0), + (lambda: schemas.MEDICAL_SCRIBE_VOCABULARY_FILTER_METHOD, 0), + (lambda: schemas.IAM_ROLE_ARN, 1), + (lambda: schemas.MEDICAL_SCRIBE_CHANNEL_DEFINITIONS, 0), + (lambda: schemas.MEDICAL_SCRIBE_ENCRYPTION_SETTINGS, 0), + (lambda: schemas.MEDICAL_SCRIBE_POST_STREAM_ANALYTICS_SETTINGS, 1), + (MEDICAL_SCRIBE_CONTEXT, 0), + ), +) + +MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE: StaticSchema = ( + 14, + n0, + _MSSCET, + 0, + (_EOS,), + ((-1, {_sV: _EOS}),), +) + +MEDICAL_SCRIBE_SESSION_CONTROL_EVENT: StaticSchema = ( + 18, + n0, + _MSSCE, + 0, + (_T,), + ((MEDICAL_SCRIBE_SESSION_CONTROL_EVENT_TYPE, 1),), +) + +MEDICAL_SCRIBE_INPUT_STREAM: StaticSchema = ( + 19, + n0, + _MSIS, + {_smi: None}, + (_AE, _SCE, _CE), + ( + (MEDICAL_SCRIBE_AUDIO_EVENT, 0), + (MEDICAL_SCRIBE_SESSION_CONTROL_EVENT, 0), + (MEDICAL_SCRIBE_CONFIGURATION_EVENT, 0), + ), +) + +MEDICAL_SCRIBE_TRANSCRIPT_ITEM_TYPE: StaticSchema = ( + 14, + n0, + _MSTIT, + 0, + (_PRONUNCIATION, _PUNCTUATION), + ((-1, {_sV: _p}), (-1, {_sV: _pu})), +) + +MEDICAL_SCRIBE_TRANSCRIPT_ITEM: StaticSchema = ( + 18, + n0, + _MSTI, + 0, + (_BAT, _EAT, _T, _C, _Co, _VFM), + ( + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.DOUBLE, {_s: 0}), + (MEDICAL_SCRIBE_TRANSCRIPT_ITEM_TYPE, 0), + (lambda: schemas.CONFIDENCE, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.NULLABLE_BOOLEAN, 0), + ), +) + +MEDICAL_SCRIBE_TRANSCRIPT_ITEM_LIST: StaticSchema = ( + 16, + n0, + _MSTIL, + 0, + (_m,), + ((MEDICAL_SCRIBE_TRANSCRIPT_ITEM, 0),), +) + +MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT: StaticSchema = ( + 18, + n0, + _MSTS, + 0, + (_SIe, _BAT, _EAT, _Co, _It, _IP, _CI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.STRING, 0), + (MEDICAL_SCRIBE_TRANSCRIPT_ITEM_LIST, 0), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.STRING, 0), + ), +) + +MEDICAL_SCRIBE_TRANSCRIPT_EVENT: StaticSchema = ( + 18, + n0, + _MSTE, + 0, + (_TS,), + ((MEDICAL_SCRIBE_TRANSCRIPT_SEGMENT, 0),), +) + +MEDICAL_SCRIBE_RESULT_STREAM: StaticSchema = ( + 19, + n0, + _MSRS, + {_smi: None}, + (_TE, _BRE, _LEE, _IFE, _CEo, _SUE), + ( + (MEDICAL_SCRIBE_TRANSCRIPT_EVENT, 0), + (lambda: schemas.BAD_REQUEST_EXCEPTION, 0), + (lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, 0), + (lambda: schemas.INTERNAL_FAILURE_EXCEPTION, 0), + (lambda: schemas.CONFLICT_EXCEPTION, 0), + (lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, 0), + ), +) + +MEDICAL_TRANSCRIPT: StaticSchema = (18, n0, _MT, 0, (_R,), ((MEDICAL_RESULT_LIST, 0),)) + +MEDICAL_TRANSCRIPT_EVENT: StaticSchema = ( + 18, + n0, + _MTE, + 0, + (_Tr,), + ((MEDICAL_TRANSCRIPT, 0),), +) + +MEDICAL_TRANSCRIPT_RESULT_STREAM: StaticSchema = ( + 19, + n0, + _MTRS, + {_smi: None}, + (_TE, _BRE, _LEE, _IFE, _CEo, _SUE), + ( + (MEDICAL_TRANSCRIPT_EVENT, 0), + (lambda: schemas.BAD_REQUEST_EXCEPTION, 0), + (lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, 0), + (lambda: schemas.INTERNAL_FAILURE_EXCEPTION, 0), + (lambda: schemas.CONFLICT_EXCEPTION, 0), + (lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, 0), + ), +) + +MODEL_NAME: StaticSchema = (3, n0, _MN, 0) + +NUMBER_OF_CHANNELS: StaticSchema = (7, n0, _NOC, 0) + +PARTIAL_RESULTS_STABILITY: StaticSchema = ( + 14, + n0, + _PRS, + 0, + (_HIGH, _MEDIUM, _LOW), + ((-1, {_sV: _h}), (-1, {_sV: _me}), (-1, {_sV: _l})), +) + +PII_ENTITY_TYPES: StaticSchema = (3, n0, _PET, 0) + +REQUEST_ID: StaticSchema = (3, n0, _RIe, 0) + +RESULT: StaticSchema = ( + 18, + n0, + _Re, + 0, + (_RI, _ST, _ET, _IP, _Al, _CI, _LC, _LI), + ( + (lambda: schemas.STRING, 0), + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.DOUBLE, {_s: 0}), + (lambda: schemas.BOOLEAN, {_s: False}), + (lambda: schemas.ALTERNATIVE_LIST, 0), + (lambda: schemas.STRING, 0), + (lambda: schemas.LANGUAGE_CODE, 0), + (lambda: schemas.LANGUAGE_IDENTIFICATION, 0), + ), +) + +RESULT_LIST: StaticSchema = (16, n0, _RL, 0, (_m,), ((RESULT, 0),)) + +SESSION_RESUME_WINDOW: StaticSchema = (7, n0, _SRW, 0) + +SPECIALTY: StaticSchema = ( + 14, + n0, + _Spe, + 0, + (_PRIMARYCARE, _CARDIOLOGY, _NEUROLOGY, _ONCOLOGY, _RADIOLOGY, _UROLOGY), + ( + (-1, {_sV: _PRIMARYCARE}), + (-1, {_sV: _CARDIOLOGY}), + (-1, {_sV: _NEUROLOGY}), + (-1, {_sV: _ONCOLOGY}), + (-1, {_sV: _RADIOLOGY}), + (-1, {_sV: _UROLOGY}), + ), +) + +VOCABULARY_FILTER_METHOD: StaticSchema = ( + 14, + n0, + _VFMo, + 0, + (_REMOVE, _MASK, _TAG), + ((-1, {_sV: _re}), (-1, {_sV: _ma}), (-1, {_sV: _t})), +) + +VOCABULARY_FILTER_NAMES: StaticSchema = (3, n0, _VFNo, 0) + +VOCABULARY_NAMES: StaticSchema = (3, n0, _VNo, 0) + +START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _SCASTI, + {_sSI: _cSCASTR, _smith: None}, + ( + _LC, + _MSRH, + _ME, + _VN, + _SI, + _AS, + _VFN, + _VFMo, + _LMN, + _ILd, + _LO, + _PL, + _VNo, + _VFNo, + _EPRS, + _PRS, + _CIT, + _CRT, + _PET, + ), + ( + (lambda: schemas.CALL_ANALYTICS_LANGUAGE_CODE, {_sH: _xatlc}), + (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr, _sm: None}), + (MEDIA_ENCODING, {_sH: _xatme, _sm: None}), + (lambda: schemas.VOCABULARY_NAME, {_sH: _xatvn}), + (lambda: schemas.SESSION_ID, {_sH: _xatsi}), + (lambda: schemas.AUDIO_STREAM, 17), + (lambda: schemas.VOCABULARY_FILTER_NAME, {_sH: _xatvfn}), + (VOCABULARY_FILTER_METHOD, {_sH: _xatvfm}), + (MODEL_NAME, {_sH: _xatlmn}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatil}), + (lambda: schemas.LANGUAGE_OPTIONS, {_sH: _xatlo}), + (lambda: schemas.CALL_ANALYTICS_LANGUAGE_CODE, {_sH: _xatpl}), + (VOCABULARY_NAMES, {_sH: _xatvn_}), + (VOCABULARY_FILTER_NAMES, {_sH: _xatvfn_}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xateprs}), + (PARTIAL_RESULTS_STABILITY, {_sH: _xatprs}), + (lambda: schemas.CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), + (lambda: schemas.CONTENT_REDACTION_TYPE, {_sH: _xatcrt}), + (PII_ENTITY_TYPES, {_sH: _xatpet}), + ), +) + +START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _SCASTO, + {_sSI: _cSCASTRo, _smithy: None}, + ( + _RIe, + _LC, + _MSRH, + _ME, + _VN, + _SI, + _CATRS, + _VFN, + _VFMo, + _LMN, + _ILd, + _LO, + _PL, + _VNo, + _VFNo, + _EPRS, + _PRS, + _CIT, + _CRT, + _PET, + ), + ( + (REQUEST_ID, {_sH: _xari}), + (lambda: schemas.CALL_ANALYTICS_LANGUAGE_CODE, {_sH: _xatlc}), + (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr}), + (MEDIA_ENCODING, {_sH: _xatme}), + (lambda: schemas.VOCABULARY_NAME, {_sH: _xatvn}), + (lambda: schemas.SESSION_ID, {_sH: _xatsi}), + (lambda: schemas.CALL_ANALYTICS_TRANSCRIPT_RESULT_STREAM, 16), + (lambda: schemas.VOCABULARY_FILTER_NAME, {_sH: _xatvfn}), + (VOCABULARY_FILTER_METHOD, {_sH: _xatvfm}), + (MODEL_NAME, {_sH: _xatlmn}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatil}), + (lambda: schemas.LANGUAGE_OPTIONS, {_sH: _xatlo}), + (lambda: schemas.CALL_ANALYTICS_LANGUAGE_CODE, {_sH: _xatpl}), + (VOCABULARY_NAMES, {_sH: _xatvn_}), + (VOCABULARY_FILTER_NAMES, {_sH: _xatvfn_}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xateprs}), + (PARTIAL_RESULTS_STABILITY, {_sH: _xatprs}), + (lambda: schemas.CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), + (lambda: schemas.CONTENT_REDACTION_TYPE, {_sH: _xatcrt}), + (PII_ENTITY_TYPES, {_sH: _xatpet}), + ), +) + +START_CALL_ANALYTICS_STREAM_TRANSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _SCAST, + { + _smithya: MappingProxyType( + { + "method": "POST", + "uri": "/call-analytics-stream-transcription", + "code": 200, + } + ) + }, + START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_INPUT, + START_CALL_ANALYTICS_STREAM_TRANSCRIPTION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_FAILURE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + ), +) + +START_MEDICAL_SCRIBE_STREAM_INPUT: StaticSchema = ( + 18, + n0, + _SMSSI, + {_sSI: _cSMSSR, _smith: None}, + (_SI, _LC, _MSRH, _ME, _IS), + ( + (lambda: schemas.SESSION_ID, {_sH: _xatsi}), + (lambda: schemas.MEDICAL_SCRIBE_LANGUAGE_CODE, {_sH: _xatlc, _sm: None}), + ( + lambda: schemas.MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, + {_sH: _xatsr, _sm: None}, + ), + (lambda: schemas.MEDICAL_SCRIBE_MEDIA_ENCODING, {_sH: _xatme, _sm: None}), + (MEDICAL_SCRIBE_INPUT_STREAM, 17), + ), +) + +START_MEDICAL_SCRIBE_STREAM_OUTPUT: StaticSchema = ( + 18, + n0, + _SMSSO, + {_sSI: _cSMSSRo, _smithy: None}, + (_SI, _RIe, _LC, _MSRH, _ME, _RS), + ( + (lambda: schemas.SESSION_ID, {_sH: _xatsi}), + (REQUEST_ID, {_sH: _xari}), + (lambda: schemas.MEDICAL_SCRIBE_LANGUAGE_CODE, {_sH: _xatlc}), + (lambda: schemas.MEDICAL_SCRIBE_MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr}), + (lambda: schemas.MEDICAL_SCRIBE_MEDIA_ENCODING, {_sH: _xatme}), + (MEDICAL_SCRIBE_RESULT_STREAM, 16), + ), +) + +START_MEDICAL_SCRIBE_STREAM: StaticOperationSchema = ( + 23, + n0, + _SMSS, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/medical-scribe-stream", "code": 200} + ) + }, + START_MEDICAL_SCRIBE_STREAM_INPUT, + START_MEDICAL_SCRIBE_STREAM_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_FAILURE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + ), +) + +TYPE: StaticSchema = ( + 14, + n0, + _T, + 0, + (_CONVERSATION, _DICTATION), + ((-1, {_sV: _CONVERSATION}), (-1, {_sV: _DICTATION})), +) + +START_MEDICAL_STREAM_TRANSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _SMSTI, + {_sSI: _cSMSTR, _smith: None}, + (_LC, _MSRH, _ME, _VN, _Spe, _T, _SSL, _SI, _AS, _ECI, _NOC, _CIT), + ( + (lambda: schemas.LANGUAGE_CODE, {_sH: _xatlc, _sm: None}), + (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr, _sm: None}), + (MEDIA_ENCODING, {_sH: _xatme, _sm: None}), + (lambda: schemas.VOCABULARY_NAME, {_sH: _xatvn}), + (SPECIALTY, {_sH: _xats, _sm: None}), + (TYPE, {_sH: _xatt, _sm: None}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatssl}), + (lambda: schemas.SESSION_ID, {_sH: _xatsi}), + (lambda: schemas.AUDIO_STREAM, 17), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xateci}), + (NUMBER_OF_CHANNELS, {_sH: _xatnoc}), + (MEDICAL_CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), + ), +) + +START_MEDICAL_STREAM_TRANSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _SMSTO, + {_sSI: _cSMSTRo, _smithy: None}, + (_RIe, _LC, _MSRH, _ME, _VN, _Spe, _T, _SSL, _SI, _TRS, _ECI, _NOC, _CIT), + ( + (REQUEST_ID, {_sH: _xari}), + (lambda: schemas.LANGUAGE_CODE, {_sH: _xatlc}), + (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr}), + (MEDIA_ENCODING, {_sH: _xatme}), + (lambda: schemas.VOCABULARY_NAME, {_sH: _xatvn}), + (SPECIALTY, {_sH: _xats}), + (TYPE, {_sH: _xatt}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatssl}), + (lambda: schemas.SESSION_ID, {_sH: _xatsi}), + (MEDICAL_TRANSCRIPT_RESULT_STREAM, 16), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xateci}), + (NUMBER_OF_CHANNELS, {_sH: _xatnoc}), + (MEDICAL_CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), + ), +) + +START_MEDICAL_STREAM_TRANSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _SMST, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/medical-stream-transcription", "code": 200} + ) + }, + START_MEDICAL_STREAM_TRANSCRIPTION_INPUT, + START_MEDICAL_STREAM_TRANSCRIPTION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_FAILURE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + ), +) + +TRANSCRIPT_FORMAT: StaticSchema = ( + 14, + n0, + _TF, + 0, + (_SPOKEN, _WRITTEN), + ((-1, {_sV: _sp}), (-1, {_sV: _w})), +) + +START_STREAM_TRANSCRIPTION_INPUT: StaticSchema = ( + 18, + n0, + _SSTI, + {_sSI: _cSSTR, _smith: None}, + ( + _LC, + _MSRH, + _ME, + _VN, + _SI, + _AS, + _VFN, + _VFMo, + _SSL, + _ECI, + _NOC, + _EPRS, + _PRS, + _CIT, + _CRT, + _PET, + _LMN, + _ILd, + _LO, + _PL, + _IML, + _VNo, + _VFNo, + _SRW, + _TF, + ), + ( + (lambda: schemas.LANGUAGE_CODE, {_sH: _xatlc}), + (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr, _sm: None}), + (MEDIA_ENCODING, {_sH: _xatme, _sm: None}), + (lambda: schemas.VOCABULARY_NAME, {_sH: _xatvn}), + (lambda: schemas.SESSION_ID, {_sH: _xatsi}), + (lambda: schemas.AUDIO_STREAM, 17), + (lambda: schemas.VOCABULARY_FILTER_NAME, {_sH: _xatvfn}), + (VOCABULARY_FILTER_METHOD, {_sH: _xatvfm}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatssl}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xateci}), + (NUMBER_OF_CHANNELS, {_sH: _xatnoc}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xateprs}), + (PARTIAL_RESULTS_STABILITY, {_sH: _xatprs}), + (lambda: schemas.CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), + (lambda: schemas.CONTENT_REDACTION_TYPE, {_sH: _xatcrt}), + (PII_ENTITY_TYPES, {_sH: _xatpet}), + (MODEL_NAME, {_sH: _xatlmn}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatil}), + (lambda: schemas.LANGUAGE_OPTIONS, {_sH: _xatlo}), + (lambda: schemas.LANGUAGE_CODE, {_sH: _xatpl}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatiml}), + (VOCABULARY_NAMES, {_sH: _xatvn_}), + (VOCABULARY_FILTER_NAMES, {_sH: _xatvfn_}), + (SESSION_RESUME_WINDOW, {_sH: _xatsrw}), + (TRANSCRIPT_FORMAT, {_sH: _xattf}), + ), +) + +START_STREAM_TRANSCRIPTION_OUTPUT: StaticSchema = ( + 18, + n0, + _SSTO, + {_sSI: _cSSTRo, _smithy: None}, + ( + _RIe, + _LC, + _MSRH, + _ME, + _VN, + _SI, + _TRS, + _VFN, + _VFMo, + _SSL, + _ECI, + _NOC, + _EPRS, + _PRS, + _CIT, + _CRT, + _PET, + _LMN, + _ILd, + _LO, + _PL, + _IML, + _VNo, + _VFNo, + _SRW, + _TF, + ), + ( + (REQUEST_ID, {_sH: _xari}), + (lambda: schemas.LANGUAGE_CODE, {_sH: _xatlc}), + (MEDIA_SAMPLE_RATE_HERTZ, {_sH: _xatsr}), + (MEDIA_ENCODING, {_sH: _xatme}), + (lambda: schemas.VOCABULARY_NAME, {_sH: _xatvn}), + (lambda: schemas.SESSION_ID, {_sH: _xatsi}), + (lambda: TRANSCRIPT_RESULT_STREAM, 16), + (lambda: schemas.VOCABULARY_FILTER_NAME, {_sH: _xatvfn}), + (VOCABULARY_FILTER_METHOD, {_sH: _xatvfm}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatssl}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xateci}), + (NUMBER_OF_CHANNELS, {_sH: _xatnoc}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xateprs}), + (PARTIAL_RESULTS_STABILITY, {_sH: _xatprs}), + (lambda: schemas.CONTENT_IDENTIFICATION_TYPE, {_sH: _xatcit}), + (lambda: schemas.CONTENT_REDACTION_TYPE, {_sH: _xatcrt}), + (PII_ENTITY_TYPES, {_sH: _xatpet}), + (MODEL_NAME, {_sH: _xatlmn}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatil}), + (lambda: schemas.LANGUAGE_OPTIONS, {_sH: _xatlo}), + (lambda: schemas.LANGUAGE_CODE, {_sH: _xatpl}), + (lambda: schemas.BOOLEAN, {_s: False, _sH: _xatiml}), + (VOCABULARY_NAMES, {_sH: _xatvn_}), + (VOCABULARY_FILTER_NAMES, {_sH: _xatvfn_}), + (SESSION_RESUME_WINDOW, {_sH: _xatsrw}), + (TRANSCRIPT_FORMAT, {_sH: _xattf}), + ), +) + +START_STREAM_TRANSCRIPTION: StaticOperationSchema = ( + 23, + n0, + _SST, + { + _smithya: MappingProxyType( + {"method": "POST", "uri": "/stream-transcription", "code": 200} + ) + }, + START_STREAM_TRANSCRIPTION_INPUT, + START_STREAM_TRANSCRIPTION_OUTPUT, + ( + lambda: schemas.BAD_REQUEST_EXCEPTION, + lambda: schemas.CONFLICT_EXCEPTION, + lambda: schemas.INTERNAL_FAILURE_EXCEPTION, + lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, + lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, + ), +) + +TRANSCRIPT: StaticSchema = (18, n0, _Tr, 0, (_R,), ((RESULT_LIST, 0),)) + +TRANSCRIPT_EVENT: StaticSchema = (18, n0, _TE, 0, (_Tr,), ((TRANSCRIPT, 0),)) + +TRANSCRIPT_RESULT_STREAM: StaticSchema = ( + 19, + n0, + _TRS, + {_smi: None}, + (_TE, _BRE, _LEE, _IFE, _CEo, _SUE), + ( + (TRANSCRIPT_EVENT, 0), + (lambda: schemas.BAD_REQUEST_EXCEPTION, 0), + (lambda: schemas.LIMIT_EXCEEDED_EXCEPTION, 0), + (lambda: schemas.INTERNAL_FAILURE_EXCEPTION, 0), + (lambda: schemas.CONFLICT_EXCEPTION, 0), + (lambda: schemas.SERVICE_UNAVAILABLE_EXCEPTION, 0), + ), +) + +TRANSCRIBE: StaticSchema = ( + 21, + n0, + _Tra, + { + _a: MappingProxyType({"name": "transcribe"}), + _aw: MappingProxyType( + { + "sdkId": "Transcribe Streaming", + "arnNamespace": "transcribe", + "cloudFormationName": "TranscribeStreaming", + "cloudTrailEventSource": "transcribestreaming.amazonaws.com", + "endpointPrefix": "transcribestreaming", + } + ), + _aJ: MappingProxyType({"http": ("http/1.1", "h2"), "eventStreamHttp": ("h2",)}), + }, +) diff --git a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/aio/client.py b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/aio/client.py index 9bd4ae1fb..bdbe9c415 100644 --- a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/aio/client.py +++ b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/aio/client.py @@ -6,8 +6,8 @@ from typing import cast from smithy_aws_core.aio.identity.chain import AsyncIdentityChain -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.client import AsyncClient from smithy_core.aio.eventstream import AsyncDuplexEventStream from smithy_http.aio.interfaces import AsyncHTTPClient diff --git a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/aio/config.py b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/aio/config.py index 7fdb14966..1eca1dc94 100644 --- a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/aio/config.py +++ b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/aio/config.py @@ -13,11 +13,11 @@ ) from smithy_aws_core.aio.auth.sigv4 import AsyncSigV4AuthScheme -from smithy_aws_core.aio.config import AsyncFileSystem from smithy_aws_core.aio.config.aws_config import ( AsyncAwsConfig, AsyncAwsConfigOverrides, ) +from smithy_aws_core.aio.config.filesystem import AsyncFileSystem from smithy_aws_core.aio.protocols import AsyncRestJsonClientProtocol from smithy_aws_core.config.resolvers import ( EndpointUriResolver, @@ -26,7 +26,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_core.aio.interfaces import AsyncEndpointResolver from smithy_core.aio.interfaces.auth import AsyncAuthScheme from smithy_core.aio.interfaces.identity import AsyncIdentityResolver diff --git a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/client.py b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/client.py index b29e3adcf..3db8cf1bf 100644 --- a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/client.py +++ b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/client.py @@ -5,9 +5,9 @@ import logging from typing import cast -from smithy_aws_core.config import ConfigSource -from smithy_aws_core.identity import AWSCredentialsIdentity -from smithy_aws_core.identity.chain import IdentityChain +from smithy_aws_core.config.types import ConfigSource +from smithy_aws_core.identity.chain.resolver import IdentityChain +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.client import Client from smithy_http.interfaces import HTTPClient from smithy_http.plugins import user_agent_plugin diff --git a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/config.py b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/config.py index 1e9071f9b..4adb6ee77 100644 --- a/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/config.py +++ b/clients/aws-sdk-transcribe-streaming/src/aws_sdk_transcribe_streaming/config.py @@ -13,8 +13,8 @@ ) from smithy_aws_core.auth.sigv4 import SigV4AuthScheme -from smithy_aws_core.config import FileSystem from smithy_aws_core.config.aws_config import AwsConfig, AwsConfigOverrides +from smithy_aws_core.config.filesystem import FileSystem from smithy_aws_core.config.resolvers import ( EndpointUriResolver, resolve_use_dualstack_endpoint_program, @@ -22,7 +22,10 @@ ) from smithy_aws_core.config.types import FieldSpec from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity, AWSIdentityProperties +from smithy_aws_core.identity.components import ( + AWSCredentialsIdentity, + AWSIdentityProperties, +) from smithy_aws_core.protocols import RestJsonClientProtocol from smithy_core.endpoints import BddEndpointResolver from smithy_core.interfaces import ( diff --git a/clients/aws-sdk-transcribe-streaming/tests/test_endpoints.py b/clients/aws-sdk-transcribe-streaming/tests/test_endpoints.py index 9146b1e80..c2dcaf7ad 100644 --- a/clients/aws-sdk-transcribe-streaming/tests/test_endpoints.py +++ b/clients/aws-sdk-transcribe-streaming/tests/test_endpoints.py @@ -6,7 +6,7 @@ from pytest import mark, param from smithy_aws_core.aio.identity.static import AsyncStaticCredentialsResolver from smithy_aws_core.endpoints import AWS_RULES_EXTENSION -from smithy_aws_core.identity import AWSCredentialsIdentity +from smithy_aws_core.identity.components import AWSCredentialsIdentity from smithy_core.aio.utils import close_async from smithy_core.endpoints import BddEndpointResolver from smithy_core.interceptors import Interceptor diff --git a/codegen/smithy-python.toml b/codegen/smithy-python.toml index 6ce8e9045..3f32a97d4 100644 --- a/codegen/smithy-python.toml +++ b/codegen/smithy-python.toml @@ -1,6 +1,6 @@ # The smithy-python commit `make clients` builds codegen from. May be any commit # reachable from the colocated smithy-python checkout, including a local one. -commit = "daf94021b97c3078eef0707a2e320d4344d50fc6" +commit = "481e1334cf29b683928f57c4bcb292f7e323b6c4" # The commit this pointer moved from; with `commit` it bounds the range linked # in codegen sync changelog entries. -previous_commit = "b8eceadb0573bd0c757def9a2b26fe7bf938b239" +previous_commit = "daf94021b97c3078eef0707a2e320d4344d50fc6" diff --git a/packages/aws-credentials-http/pyproject.toml b/packages/aws-credentials-http/pyproject.toml index f5c673aa1..e31e4be52 100644 --- a/packages/aws-credentials-http/pyproject.toml +++ b/packages/aws-credentials-http/pyproject.toml @@ -28,9 +28,9 @@ classifiers = [ "Topic :: Software Development :: Libraries", ] dependencies = [ - "smithy-aws-core~=0.13.0", - "smithy-core~=0.10.0", - "smithy-http[aiohttp,urllib3]~=0.7.0", + "smithy-aws-core~=0.14.0", + "smithy-core~=0.11.0", + "smithy-http[aiohttp,urllib3]~=0.8.0", ] [project.urls] @@ -45,7 +45,7 @@ EcsContainer = "aws_credentials_http.aio.providers:AsyncEcsContainerProvider" [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", ] diff --git a/packages/aws-credentials-imds/pyproject.toml b/packages/aws-credentials-imds/pyproject.toml index 5af8ad2dd..f3c37b4e9 100644 --- a/packages/aws-credentials-imds/pyproject.toml +++ b/packages/aws-credentials-imds/pyproject.toml @@ -28,9 +28,9 @@ classifiers = [ "Topic :: Software Development :: Libraries", ] dependencies = [ - "smithy-aws-core~=0.13.0", - "smithy-core~=0.10.0", - "smithy-http[aiohttp,urllib3]~=0.7.0", + "smithy-aws-core~=0.14.0", + "smithy-core~=0.11.0", + "smithy-http[aiohttp,urllib3]~=0.8.0", ] [project.urls] @@ -45,7 +45,7 @@ Ec2InstanceMetadata = "aws_credentials_imds.aio.providers:AsyncEc2InstanceMetada [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", ] diff --git a/packages/aws-credentials-sts/pyproject.toml b/packages/aws-credentials-sts/pyproject.toml index bebe26edd..c8bffa1e5 100644 --- a/packages/aws-credentials-sts/pyproject.toml +++ b/packages/aws-credentials-sts/pyproject.toml @@ -29,9 +29,9 @@ classifiers = [ ] dependencies = [ "aws-sdk-sts~=0.12.0", - "smithy-aws-core~=0.13.0", - "smithy-core~=0.10.0", - "smithy-http~=0.7.0", + "smithy-aws-core~=0.14.0", + "smithy-core~=0.11.0", + "smithy-http~=0.8.0", ] [project.urls] @@ -50,7 +50,7 @@ WebIdentityTokenEnv = "aws_credentials_sts.aio.providers:AsyncWebIdentityTokenEn [dependency-groups] test = [ - "pytest>=9.0.1,<10.0.0", + "pytest>=9.0.3,<10.0.0", "pytest-asyncio>=1.3.0,<1.4.0", ] diff --git a/scripts/verifications/import-cost.json b/scripts/verifications/import-cost.json index def685435..e0058c5ee 100644 --- a/scripts/verifications/import-cost.json +++ b/scripts/verifications/import-cost.json @@ -12,79 +12,79 @@ "aws_credentials_sts": 5, "aws_credentials_sts (all public modules)": 8, "aws_sdk_acm": 1, - "aws_sdk_acm (all public modules)": 13, + "aws_sdk_acm (all public modules)": 14, "aws_sdk_api_gateway": 1, - "aws_sdk_api_gateway (all public modules)": 15, + "aws_sdk_api_gateway (all public modules)": 16, "aws_sdk_appconfigdata": 1, "aws_sdk_appconfigdata (all public modules)": 13, "aws_sdk_bedrock": 1, - "aws_sdk_bedrock (all public modules)": 13, + "aws_sdk_bedrock (all public modules)": 14, "aws_sdk_bedrock_agent": 1, - "aws_sdk_bedrock_agent (all public modules)": 13, + "aws_sdk_bedrock_agent (all public modules)": 14, "aws_sdk_bedrock_agent_runtime": 1, - "aws_sdk_bedrock_agent_runtime (all public modules)": 13, + "aws_sdk_bedrock_agent_runtime (all public modules)": 21, "aws_sdk_bedrock_agentcore": 1, - "aws_sdk_bedrock_agentcore (all public modules)": 13, + "aws_sdk_bedrock_agentcore (all public modules)": 17, "aws_sdk_bedrock_agentcore_control": 1, - "aws_sdk_bedrock_agentcore_control (all public modules)": 13, + "aws_sdk_bedrock_agentcore_control (all public modules)": 14, "aws_sdk_bedrock_data_automation": 1, - "aws_sdk_bedrock_data_automation (all public modules)": 13, + "aws_sdk_bedrock_data_automation (all public modules)": 14, "aws_sdk_bedrock_data_automation_runtime": 1, "aws_sdk_bedrock_data_automation_runtime (all public modules)": 13, "aws_sdk_bedrock_runtime": 1, - "aws_sdk_bedrock_runtime (all public modules)": 13, + "aws_sdk_bedrock_runtime (all public modules)": 17, "aws_sdk_cloudformation": 1, - "aws_sdk_cloudformation (all public modules)": 13, + "aws_sdk_cloudformation (all public modules)": 14, "aws_sdk_cloudfront": 1, - "aws_sdk_cloudfront (all public modules)": 13, + "aws_sdk_cloudfront (all public modules)": 14, "aws_sdk_cloudfront_keyvaluestore": 1, "aws_sdk_cloudfront_keyvaluestore (all public modules)": 13, "aws_sdk_cloudtrail": 1, - "aws_sdk_cloudtrail (all public modules)": 13, + "aws_sdk_cloudtrail (all public modules)": 14, "aws_sdk_cognito_identity": 1, - "aws_sdk_cognito_identity (all public modules)": 13, + "aws_sdk_cognito_identity (all public modules)": 14, "aws_sdk_connecthealth": 1, - "aws_sdk_connecthealth (all public modules)": 13, + "aws_sdk_connecthealth (all public modules)": 15, "aws_sdk_dynamodb": 1, - "aws_sdk_dynamodb (all public modules)": 15, + "aws_sdk_dynamodb (all public modules)": 16, "aws_sdk_ec2": 1, - "aws_sdk_ec2 (all public modules)": 13, + "aws_sdk_ec2 (all public modules)": 14, "aws_sdk_ecs": 1, - "aws_sdk_ecs (all public modules)": 13, + "aws_sdk_ecs (all public modules)": 14, "aws_sdk_guardduty": 1, - "aws_sdk_guardduty (all public modules)": 13, + "aws_sdk_guardduty (all public modules)": 14, "aws_sdk_iam": 1, - "aws_sdk_iam (all public modules)": 13, + "aws_sdk_iam (all public modules)": 14, "aws_sdk_kinesis": 1, - "aws_sdk_kinesis (all public modules)": 13, + "aws_sdk_kinesis (all public modules)": 16, "aws_sdk_kms": 1, - "aws_sdk_kms (all public modules)": 13, + "aws_sdk_kms (all public modules)": 14, "aws_sdk_lambda": 1, - "aws_sdk_lambda (all public modules)": 13, + "aws_sdk_lambda (all public modules)": 17, "aws_sdk_lex_runtime_v2": 1, - "aws_sdk_lex_runtime_v2 (all public modules)": 13, + "aws_sdk_lex_runtime_v2 (all public modules)": 15, "aws_sdk_polly": 1, - "aws_sdk_polly (all public modules)": 13, + "aws_sdk_polly (all public modules)": 15, "aws_sdk_python": 1, "aws_sdk_python (all public modules)": 1, "aws_sdk_qbusiness": 1, - "aws_sdk_qbusiness (all public modules)": 13, + "aws_sdk_qbusiness (all public modules)": 18, "aws_sdk_rds": 1, - "aws_sdk_rds (all public modules)": 13, + "aws_sdk_rds (all public modules)": 14, "aws_sdk_s3": 1, - "aws_sdk_s3 (all public modules)": 15, + "aws_sdk_s3 (all public modules)": 18, "aws_sdk_sagemaker_runtime_http2": 1, "aws_sdk_sagemaker_runtime_http2 (all public modules)": 13, "aws_sdk_secrets_manager": 1, - "aws_sdk_secrets_manager (all public modules)": 13, + "aws_sdk_secrets_manager (all public modules)": 14, "aws_sdk_signin": 1, - "aws_sdk_signin (all public modules)": 13, + "aws_sdk_signin (all public modules)": 14, "aws_sdk_sns": 1, - "aws_sdk_sns (all public modules)": 13, + "aws_sdk_sns (all public modules)": 14, "aws_sdk_sqs": 1, - "aws_sdk_sqs (all public modules)": 13, + "aws_sdk_sqs (all public modules)": 14, "aws_sdk_sts": 1, - "aws_sdk_sts (all public modules)": 13, + "aws_sdk_sts (all public modules)": 14, "aws_sdk_transcribe_streaming": 1, - "aws_sdk_transcribe_streaming (all public modules)": 13 + "aws_sdk_transcribe_streaming (all public modules)": 15 }